@cyberskill/cyber-editor 2.0.3 → 3.0.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.
@@ -1,25 +1,25 @@
1
- import ke, { forwardRef as hr, createElement as yt, useState as he, useRef as yr, useEffect as vr } from "react";
2
- import { useCurrentEditor as Ct, NodeViewWrapper as gr, NodeViewContent as cn, ReactNodeViewRenderer as xr, EditorProvider as un } from "@tiptap/react";
3
- import { ColorPicker as dn, Tooltip as vt, Dropdown as kt, Menu as Ft, Modal as fn } from "antd";
4
- import mn from "@tiptap/extension-list-item";
5
- import { Color as pn } from "@tiptap/extension-color";
6
- import Bt from "@tiptap/extension-text-style";
7
- import bn from "@tiptap/starter-kit";
8
- import hn from "@tiptap/extension-highlight";
9
- import yn from "@tiptap/extension-underline";
10
- import vn from "@tiptap/extension-subscript";
11
- import gn from "@tiptap/extension-superscript";
12
- import xn from "@tiptap/extension-text-align";
13
- import Nn from "@tiptap/extension-task-list";
14
- import En from "@tiptap/extension-task-item";
15
- import Sn from "@tiptap/extension-table";
16
- import wn from "@tiptap/extension-table-row";
17
- import Cn from "@tiptap/extension-table-header";
18
- import kn from "@tiptap/extension-table-cell";
19
- import { Node as Nr, mergeAttributes as Er } from "@tiptap/core";
20
- import Dn from "@tiptap/extension-image";
21
- import Sr from "react-dom";
22
- function _n(e) {
1
+ import _e, { forwardRef as br, createElement as yt, useState as he, useRef as sn, useEffect as hr } from "react";
2
+ import { NodeViewWrapper as yr, NodeViewContent as ln, ReactNodeViewRenderer as vr, useCurrentEditor as cn, useEditor as un, EditorContent as dn } from "@tiptap/react";
3
+ import { ColorPicker as fn, Tooltip as vt, Dropdown as Ct, Menu as Ft, Modal as mn } from "antd";
4
+ import pn from "@tiptap/extension-list-item";
5
+ import { Color as bn } from "@tiptap/extension-color";
6
+ import Ut from "@tiptap/extension-text-style";
7
+ import hn from "@tiptap/starter-kit";
8
+ import yn from "@tiptap/extension-highlight";
9
+ import vn from "@tiptap/extension-underline";
10
+ import gn from "@tiptap/extension-subscript";
11
+ import xn from "@tiptap/extension-superscript";
12
+ import Nn from "@tiptap/extension-text-align";
13
+ import En from "@tiptap/extension-task-list";
14
+ import Sn from "@tiptap/extension-task-item";
15
+ import wn from "@tiptap/extension-table";
16
+ import Cn from "@tiptap/extension-table-row";
17
+ import kn from "@tiptap/extension-table-header";
18
+ import Dn from "@tiptap/extension-table-cell";
19
+ import { Node as gr, mergeAttributes as xr } from "@tiptap/core";
20
+ import _n from "@tiptap/extension-image";
21
+ import Nr from "react-dom";
22
+ function On(e) {
23
23
  if (e.__esModule) return e;
24
24
  var t = e.default;
25
25
  if (typeof t == "function") {
@@ -48,10 +48,10 @@ var gt = { exports: {} }, Le = {};
48
48
  * This source code is licensed under the MIT license found in the
49
49
  * LICENSE file in the root directory of this source tree.
50
50
  */
51
- var Xt;
52
- function On() {
53
- if (Xt) return Le;
54
- Xt = 1;
51
+ var Bt;
52
+ function Rn() {
53
+ if (Bt) return Le;
54
+ Bt = 1;
55
55
  var e = Symbol.for("react.fragment");
56
56
  return Le.Fragment = e, Le.jsxDEV = void 0, Le;
57
57
  }
@@ -65,10 +65,10 @@ var We = {};
65
65
  * This source code is licensed under the MIT license found in the
66
66
  * LICENSE file in the root directory of this source tree.
67
67
  */
68
- var Kt;
69
- function Rn() {
70
- return Kt || (Kt = 1, process.env.NODE_ENV !== "production" && function() {
71
- var e = ke, t = Symbol.for("react.element"), r = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), a = Symbol.for("react.profiler"), s = Symbol.for("react.provider"), u = Symbol.for("react.context"), m = Symbol.for("react.forward_ref"), p = Symbol.for("react.suspense"), b = Symbol.for("react.suspense_list"), N = Symbol.for("react.memo"), O = Symbol.for("react.lazy"), S = Symbol.for("react.offscreen"), A = Symbol.iterator, $ = "@@iterator";
68
+ var Xt;
69
+ function Tn() {
70
+ return Xt || (Xt = 1, process.env.NODE_ENV !== "production" && function() {
71
+ var e = _e, t = Symbol.for("react.element"), r = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), a = Symbol.for("react.profiler"), s = Symbol.for("react.provider"), u = Symbol.for("react.context"), m = Symbol.for("react.forward_ref"), p = Symbol.for("react.suspense"), y = Symbol.for("react.suspense_list"), v = Symbol.for("react.memo"), O = Symbol.for("react.lazy"), S = Symbol.for("react.offscreen"), A = Symbol.iterator, $ = "@@iterator";
72
72
  function B(i) {
73
73
  if (i === null || typeof i != "object")
74
74
  return null;
@@ -76,38 +76,38 @@ function Rn() {
76
76
  return typeof d == "function" ? d : null;
77
77
  }
78
78
  var W = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
79
- function v(i) {
79
+ function g(i) {
80
80
  {
81
- for (var d = arguments.length, y = new Array(d > 1 ? d - 1 : 0), w = 1; w < d; w++)
82
- y[w - 1] = arguments[w];
83
- x("error", i, y);
81
+ for (var d = arguments.length, h = new Array(d > 1 ? d - 1 : 0), w = 1; w < d; w++)
82
+ h[w - 1] = arguments[w];
83
+ N("error", i, h);
84
84
  }
85
85
  }
86
- function x(i, d, y) {
86
+ function N(i, d, h) {
87
87
  {
88
88
  var w = W.ReactDebugCurrentFrame, q = w.getStackAddendum();
89
- q !== "" && (d += "%s", y = y.concat([q]));
90
- var X = y.map(function(I) {
89
+ q !== "" && (d += "%s", h = h.concat([q]));
90
+ var X = h.map(function(I) {
91
91
  return String(I);
92
92
  });
93
93
  X.unshift("Warning: " + d), Function.prototype.apply.call(console[i], console, X);
94
94
  }
95
95
  }
96
- var E = !1, c = !1, Y = !1, P = !1, Q = !1, de;
96
+ var E = !1, c = !1, Y = !1, T = !1, Q = !1, de;
97
97
  de = Symbol.for("react.module.reference");
98
98
  function fe(i) {
99
- return !!(typeof i == "string" || typeof i == "function" || i === n || i === a || Q || i === o || i === p || i === b || P || i === S || E || c || Y || typeof i == "object" && i !== null && (i.$$typeof === O || i.$$typeof === N || i.$$typeof === s || i.$$typeof === u || i.$$typeof === m || // This needs to include all possible module reference object
99
+ return !!(typeof i == "string" || typeof i == "function" || i === n || i === a || Q || i === o || i === p || i === y || T || i === S || E || c || Y || typeof i == "object" && i !== null && (i.$$typeof === O || i.$$typeof === v || i.$$typeof === s || i.$$typeof === u || i.$$typeof === m || // This needs to include all possible module reference object
100
100
  // types supported by any Flight configuration anywhere since
101
101
  // we don't know which Flight build this will end up being used
102
102
  // with.
103
103
  i.$$typeof === de || i.getModuleId !== void 0));
104
104
  }
105
- function ye(i, d, y) {
105
+ function ye(i, d, h) {
106
106
  var w = i.displayName;
107
107
  if (w)
108
108
  return w;
109
109
  var q = d.displayName || d.name || "";
110
- return q !== "" ? y + "(" + q + ")" : y;
110
+ return q !== "" ? h + "(" + q + ")" : h;
111
111
  }
112
112
  function Ee(i) {
113
113
  return i.displayName || "Context";
@@ -115,7 +115,7 @@ function Rn() {
115
115
  function ee(i) {
116
116
  if (i == null)
117
117
  return null;
118
- if (typeof i.tag == "number" && v("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof i == "function")
118
+ if (typeof i.tag == "number" && g("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof i == "function")
119
119
  return i.displayName || i.name || null;
120
120
  if (typeof i == "string")
121
121
  return i;
@@ -130,7 +130,7 @@ function Rn() {
130
130
  return "StrictMode";
131
131
  case p:
132
132
  return "Suspense";
133
- case b:
133
+ case y:
134
134
  return "SuspenseList";
135
135
  }
136
136
  if (typeof i == "object")
@@ -139,11 +139,11 @@ function Rn() {
139
139
  var d = i;
140
140
  return Ee(d) + ".Consumer";
141
141
  case s:
142
- var y = i;
143
- return Ee(y._context) + ".Provider";
142
+ var h = i;
143
+ return Ee(h._context) + ".Provider";
144
144
  case m:
145
145
  return ye(i, i.render, "ForwardRef");
146
- case N:
146
+ case v:
147
147
  var w = i.displayName || null;
148
148
  return w !== null ? w : ee(i.type) || "Memo";
149
149
  case O: {
@@ -157,14 +157,14 @@ function Rn() {
157
157
  }
158
158
  return null;
159
159
  }
160
- var Z = Object.assign, me = 0, oe, le, ge, Se, f, g, T;
160
+ var Z = Object.assign, me = 0, oe, le, ge, Se, f, x, P;
161
161
  function R() {
162
162
  }
163
163
  R.__reactDisabledLog = !0;
164
164
  function C() {
165
165
  {
166
166
  if (me === 0) {
167
- oe = console.log, le = console.info, ge = console.warn, Se = console.error, f = console.group, g = console.groupCollapsed, T = console.groupEnd;
167
+ oe = console.log, le = console.info, ge = console.warn, Se = console.error, f = console.group, x = console.groupCollapsed, P = console.groupEnd;
168
168
  var i = {
169
169
  configurable: !0,
170
170
  enumerable: !0,
@@ -209,18 +209,18 @@ function Rn() {
209
209
  value: f
210
210
  }),
211
211
  groupCollapsed: Z({}, i, {
212
- value: g
212
+ value: x
213
213
  }),
214
214
  groupEnd: Z({}, i, {
215
- value: T
215
+ value: P
216
216
  })
217
217
  });
218
218
  }
219
- me < 0 && v("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
219
+ me < 0 && g("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
220
220
  }
221
221
  }
222
222
  var k = W.ReactCurrentDispatcher, _;
223
- function j(i, d, y) {
223
+ function j(i, d, h) {
224
224
  {
225
225
  if (_ === void 0)
226
226
  try {
@@ -238,13 +238,13 @@ function Rn() {
238
238
  var te = typeof WeakMap == "function" ? WeakMap : Map;
239
239
  M = new te();
240
240
  }
241
- function h(i, d) {
241
+ function b(i, d) {
242
242
  if (!i || H)
243
243
  return "";
244
244
  {
245
- var y = M.get(i);
246
- if (y !== void 0)
247
- return y;
245
+ var h = M.get(i);
246
+ if (h !== void 0)
247
+ return h;
248
248
  }
249
249
  var w;
250
250
  H = !0;
@@ -306,54 +306,54 @@ function Rn() {
306
306
  } finally {
307
307
  H = !1, k.current = X, z(), Error.prepareStackTrace = q;
308
308
  }
309
- var Te = i ? i.displayName || i.name : "", _e = Te ? j(Te) : "";
310
- return typeof i == "function" && M.set(i, _e), _e;
309
+ var Pe = i ? i.displayName || i.name : "", De = Pe ? j(Pe) : "";
310
+ return typeof i == "function" && M.set(i, De), De;
311
311
  }
312
- function pe(i, d, y) {
313
- return h(i, !1);
312
+ function pe(i, d, h) {
313
+ return b(i, !1);
314
314
  }
315
315
  function Re(i) {
316
316
  var d = i.prototype;
317
317
  return !!(d && d.isReactComponent);
318
318
  }
319
- function De(i, d, y) {
319
+ function ke(i, d, h) {
320
320
  if (i == null)
321
321
  return "";
322
322
  if (typeof i == "function")
323
- return h(i, Re(i));
323
+ return b(i, Re(i));
324
324
  if (typeof i == "string")
325
325
  return j(i);
326
326
  switch (i) {
327
327
  case p:
328
328
  return j("Suspense");
329
- case b:
329
+ case y:
330
330
  return j("SuspenseList");
331
331
  }
332
332
  if (typeof i == "object")
333
333
  switch (i.$$typeof) {
334
334
  case m:
335
335
  return pe(i.render);
336
- case N:
337
- return De(i.type, d, y);
336
+ case v:
337
+ return ke(i.type, d, h);
338
338
  case O: {
339
339
  var w = i, q = w._payload, X = w._init;
340
340
  try {
341
- return De(X(q), d, y);
341
+ return ke(X(q), d, h);
342
342
  } catch {
343
343
  }
344
344
  }
345
345
  }
346
346
  return "";
347
347
  }
348
- var Me = Object.prototype.hasOwnProperty, Mt = {}, Vt = W.ReactDebugCurrentFrame;
348
+ var Me = Object.prototype.hasOwnProperty, jt = {}, Mt = W.ReactDebugCurrentFrame;
349
349
  function He(i) {
350
350
  if (i) {
351
- var d = i._owner, y = De(i.type, i._source, d ? d.type : null);
352
- Vt.setExtraStackFrame(y);
351
+ var d = i._owner, h = ke(i.type, i._source, d ? d.type : null);
352
+ Mt.setExtraStackFrame(h);
353
353
  } else
354
- Vt.setExtraStackFrame(null);
354
+ Mt.setExtraStackFrame(null);
355
355
  }
356
- function Wr(i, d, y, w, q) {
356
+ function Hr(i, d, h, w, q) {
357
357
  {
358
358
  var X = Function.call.bind(Me);
359
359
  for (var I in i)
@@ -361,49 +361,49 @@ function Rn() {
361
361
  var V = void 0;
362
362
  try {
363
363
  if (typeof i[I] != "function") {
364
- var ne = Error((w || "React class") + ": " + y + " type `" + I + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof i[I] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
364
+ var ne = Error((w || "React class") + ": " + h + " type `" + I + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof i[I] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
365
365
  throw ne.name = "Invariant Violation", ne;
366
366
  }
367
- V = i[I](d, I, w, y, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
367
+ V = i[I](d, I, w, h, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
368
368
  } catch (G) {
369
369
  V = G;
370
370
  }
371
- V && !(V instanceof Error) && (He(q), v("%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).", w || "React class", y, I, typeof V), He(null)), V instanceof Error && !(V.message in Mt) && (Mt[V.message] = !0, He(q), v("Failed %s type: %s", y, V.message), He(null));
371
+ V && !(V instanceof Error) && (He(q), g("%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).", w || "React class", h, I, typeof V), He(null)), V instanceof Error && !(V.message in jt) && (jt[V.message] = !0, He(q), g("Failed %s type: %s", h, V.message), He(null));
372
372
  }
373
373
  }
374
374
  }
375
- var qr = Array.isArray;
375
+ var Lr = Array.isArray;
376
376
  function Qe(i) {
377
- return qr(i);
377
+ return Lr(i);
378
378
  }
379
- function Yr(i) {
379
+ function Wr(i) {
380
380
  {
381
- var d = typeof Symbol == "function" && Symbol.toStringTag, y = d && i[Symbol.toStringTag] || i.constructor.name || "Object";
382
- return y;
381
+ var d = typeof Symbol == "function" && Symbol.toStringTag, h = d && i[Symbol.toStringTag] || i.constructor.name || "Object";
382
+ return h;
383
383
  }
384
384
  }
385
- function Ur(i) {
385
+ function qr(i) {
386
386
  try {
387
- return At(i), !1;
387
+ return Vt(i), !1;
388
388
  } catch {
389
389
  return !0;
390
390
  }
391
391
  }
392
- function At(i) {
392
+ function Vt(i) {
393
393
  return "" + i;
394
394
  }
395
- function $t(i) {
396
- if (Ur(i))
397
- return v("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Yr(i)), At(i);
395
+ function At(i) {
396
+ if (qr(i))
397
+ return g("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Wr(i)), Vt(i);
398
398
  }
399
- var Ve = W.ReactCurrentOwner, Fr = {
399
+ var Ve = W.ReactCurrentOwner, Yr = {
400
400
  key: !0,
401
401
  ref: !0,
402
402
  __self: !0,
403
403
  __source: !0
404
- }, zt, It, et;
404
+ }, $t, zt, et;
405
405
  et = {};
406
- function Br(i) {
406
+ function Fr(i) {
407
407
  if (Me.call(i, "ref")) {
408
408
  var d = Object.getOwnPropertyDescriptor(i, "ref").get;
409
409
  if (d && d.isReactWarning)
@@ -411,7 +411,7 @@ function Rn() {
411
411
  }
412
412
  return i.ref !== void 0;
413
413
  }
414
- function Xr(i) {
414
+ function Ur(i) {
415
415
  if (Me.call(i, "key")) {
416
416
  var d = Object.getOwnPropertyDescriptor(i, "key").get;
417
417
  if (d && d.isReactWarning)
@@ -419,42 +419,42 @@ function Rn() {
419
419
  }
420
420
  return i.key !== void 0;
421
421
  }
422
- function Kr(i, d) {
422
+ function Br(i, d) {
423
423
  if (typeof i.ref == "string" && Ve.current && d && Ve.current.stateNode !== d) {
424
- var y = ee(Ve.current.type);
425
- et[y] || (v('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', ee(Ve.current.type), i.ref), et[y] = !0);
424
+ var h = ee(Ve.current.type);
425
+ et[h] || (g('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', ee(Ve.current.type), i.ref), et[h] = !0);
426
426
  }
427
427
  }
428
- function Gr(i, d) {
428
+ function Xr(i, d) {
429
429
  {
430
- var y = function() {
431
- zt || (zt = !0, v("%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)", d));
430
+ var h = function() {
431
+ $t || ($t = !0, g("%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)", d));
432
432
  };
433
- y.isReactWarning = !0, Object.defineProperty(i, "key", {
434
- get: y,
433
+ h.isReactWarning = !0, Object.defineProperty(i, "key", {
434
+ get: h,
435
435
  configurable: !0
436
436
  });
437
437
  }
438
438
  }
439
- function Jr(i, d) {
439
+ function Kr(i, d) {
440
440
  {
441
- var y = function() {
442
- It || (It = !0, v("%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)", d));
441
+ var h = function() {
442
+ zt || (zt = !0, g("%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)", d));
443
443
  };
444
- y.isReactWarning = !0, Object.defineProperty(i, "ref", {
445
- get: y,
444
+ h.isReactWarning = !0, Object.defineProperty(i, "ref", {
445
+ get: h,
446
446
  configurable: !0
447
447
  });
448
448
  }
449
449
  }
450
- var Zr = function(i, d, y, w, q, X, I) {
450
+ var Gr = function(i, d, h, w, q, X, I) {
451
451
  var V = {
452
452
  // This tag allows us to uniquely identify this as a React Element
453
453
  $$typeof: t,
454
454
  // Built-in properties that belong on the element
455
455
  type: i,
456
456
  key: d,
457
- ref: y,
457
+ ref: h,
458
458
  props: I,
459
459
  // Record the component responsible for creating this element.
460
460
  _owner: X
@@ -476,12 +476,12 @@ function Rn() {
476
476
  value: q
477
477
  }), Object.freeze && (Object.freeze(V.props), Object.freeze(V)), V;
478
478
  };
479
- function Qr(i, d, y, w, q) {
479
+ function Jr(i, d, h, w, q) {
480
480
  {
481
481
  var X, I = {}, V = null, ne = null;
482
- y !== void 0 && ($t(y), V = "" + y), Xr(d) && ($t(d.key), V = "" + d.key), Br(d) && (ne = d.ref, Kr(d, q));
482
+ h !== void 0 && (At(h), V = "" + h), Ur(d) && (At(d.key), V = "" + d.key), Fr(d) && (ne = d.ref, Br(d, q));
483
483
  for (X in d)
484
- Me.call(d, X) && !Fr.hasOwnProperty(X) && (I[X] = d[X]);
484
+ Me.call(d, X) && !Yr.hasOwnProperty(X) && (I[X] = d[X]);
485
485
  if (i && i.defaultProps) {
486
486
  var G = i.defaultProps;
487
487
  for (X in G)
@@ -489,25 +489,25 @@ function Rn() {
489
489
  }
490
490
  if (V || ne) {
491
491
  var J = typeof i == "function" ? i.displayName || i.name || "Unknown" : i;
492
- V && Gr(I, J), ne && Jr(I, J);
492
+ V && Xr(I, J), ne && Kr(I, J);
493
493
  }
494
- return Zr(i, V, ne, q, w, Ve.current, I);
494
+ return Gr(i, V, ne, q, w, Ve.current, I);
495
495
  }
496
496
  }
497
- var tt = W.ReactCurrentOwner, Ht = W.ReactDebugCurrentFrame;
498
- function Pe(i) {
497
+ var tt = W.ReactCurrentOwner, It = W.ReactDebugCurrentFrame;
498
+ function Te(i) {
499
499
  if (i) {
500
- var d = i._owner, y = De(i.type, i._source, d ? d.type : null);
501
- Ht.setExtraStackFrame(y);
500
+ var d = i._owner, h = ke(i.type, i._source, d ? d.type : null);
501
+ It.setExtraStackFrame(h);
502
502
  } else
503
- Ht.setExtraStackFrame(null);
503
+ It.setExtraStackFrame(null);
504
504
  }
505
505
  var rt;
506
506
  rt = !1;
507
507
  function nt(i) {
508
508
  return typeof i == "object" && i !== null && i.$$typeof === t;
509
509
  }
510
- function Lt() {
510
+ function Ht() {
511
511
  {
512
512
  if (tt.current) {
513
513
  var i = ee(tt.current.type);
@@ -519,51 +519,51 @@ Check the render method of \`` + i + "`.";
519
519
  return "";
520
520
  }
521
521
  }
522
- function en(i) {
522
+ function Zr(i) {
523
523
  {
524
524
  if (i !== void 0) {
525
- var d = i.fileName.replace(/^.*[\\\/]/, ""), y = i.lineNumber;
525
+ var d = i.fileName.replace(/^.*[\\\/]/, ""), h = i.lineNumber;
526
526
  return `
527
527
 
528
- Check your code at ` + d + ":" + y + ".";
528
+ Check your code at ` + d + ":" + h + ".";
529
529
  }
530
530
  return "";
531
531
  }
532
532
  }
533
- var Wt = {};
534
- function tn(i) {
533
+ var Lt = {};
534
+ function Qr(i) {
535
535
  {
536
- var d = Lt();
536
+ var d = Ht();
537
537
  if (!d) {
538
- var y = typeof i == "string" ? i : i.displayName || i.name;
539
- y && (d = `
538
+ var h = typeof i == "string" ? i : i.displayName || i.name;
539
+ h && (d = `
540
540
 
541
- Check the top-level render call using <` + y + ">.");
541
+ Check the top-level render call using <` + h + ">.");
542
542
  }
543
543
  return d;
544
544
  }
545
545
  }
546
- function qt(i, d) {
546
+ function Wt(i, d) {
547
547
  {
548
548
  if (!i._store || i._store.validated || i.key != null)
549
549
  return;
550
550
  i._store.validated = !0;
551
- var y = tn(d);
552
- if (Wt[y])
551
+ var h = Qr(d);
552
+ if (Lt[h])
553
553
  return;
554
- Wt[y] = !0;
554
+ Lt[h] = !0;
555
555
  var w = "";
556
- i && i._owner && i._owner !== tt.current && (w = " It was passed a child from " + ee(i._owner.type) + "."), Pe(i), v('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', y, w), Pe(null);
556
+ i && i._owner && i._owner !== tt.current && (w = " It was passed a child from " + ee(i._owner.type) + "."), Te(i), g('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', h, w), Te(null);
557
557
  }
558
558
  }
559
- function Yt(i, d) {
559
+ function qt(i, d) {
560
560
  {
561
561
  if (typeof i != "object")
562
562
  return;
563
563
  if (Qe(i))
564
- for (var y = 0; y < i.length; y++) {
565
- var w = i[y];
566
- nt(w) && qt(w, d);
564
+ for (var h = 0; h < i.length; h++) {
565
+ var w = i[h];
566
+ nt(w) && Wt(w, d);
567
567
  }
568
568
  else if (nt(i))
569
569
  i._store && (i._store.validated = !0);
@@ -571,60 +571,60 @@ Check the top-level render call using <` + y + ">.");
571
571
  var q = B(i);
572
572
  if (typeof q == "function" && q !== i.entries)
573
573
  for (var X = q.call(i), I; !(I = X.next()).done; )
574
- nt(I.value) && qt(I.value, d);
574
+ nt(I.value) && Wt(I.value, d);
575
575
  }
576
576
  }
577
577
  }
578
- function rn(i) {
578
+ function en(i) {
579
579
  {
580
580
  var d = i.type;
581
581
  if (d == null || typeof d == "string")
582
582
  return;
583
- var y;
583
+ var h;
584
584
  if (typeof d == "function")
585
- y = d.propTypes;
585
+ h = d.propTypes;
586
586
  else if (typeof d == "object" && (d.$$typeof === m || // Note: Memo only checks outer props here.
587
587
  // Inner props are checked in the reconciler.
588
- d.$$typeof === N))
589
- y = d.propTypes;
588
+ d.$$typeof === v))
589
+ h = d.propTypes;
590
590
  else
591
591
  return;
592
- if (y) {
592
+ if (h) {
593
593
  var w = ee(d);
594
- Wr(y, i.props, "prop", w, i);
594
+ Hr(h, i.props, "prop", w, i);
595
595
  } else if (d.PropTypes !== void 0 && !rt) {
596
596
  rt = !0;
597
597
  var q = ee(d);
598
- v("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", q || "Unknown");
598
+ g("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", q || "Unknown");
599
599
  }
600
- typeof d.getDefaultProps == "function" && !d.getDefaultProps.isReactClassApproved && v("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
600
+ typeof d.getDefaultProps == "function" && !d.getDefaultProps.isReactClassApproved && g("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
601
601
  }
602
602
  }
603
- function nn(i) {
603
+ function tn(i) {
604
604
  {
605
- for (var d = Object.keys(i.props), y = 0; y < d.length; y++) {
606
- var w = d[y];
605
+ for (var d = Object.keys(i.props), h = 0; h < d.length; h++) {
606
+ var w = d[h];
607
607
  if (w !== "children" && w !== "key") {
608
- Pe(i), v("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", w), Pe(null);
608
+ Te(i), g("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", w), Te(null);
609
609
  break;
610
610
  }
611
611
  }
612
- i.ref !== null && (Pe(i), v("Invalid attribute `ref` supplied to `React.Fragment`."), Pe(null));
612
+ i.ref !== null && (Te(i), g("Invalid attribute `ref` supplied to `React.Fragment`."), Te(null));
613
613
  }
614
614
  }
615
- var Ut = {};
616
- function on(i, d, y, w, q, X) {
615
+ var Yt = {};
616
+ function rn(i, d, h, w, q, X) {
617
617
  {
618
618
  var I = fe(i);
619
619
  if (!I) {
620
620
  var V = "";
621
621
  (i === void 0 || typeof i == "object" && i !== null && Object.keys(i).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.");
622
- var ne = en(q);
623
- ne ? V += ne : V += Lt();
622
+ var ne = Zr(q);
623
+ ne ? V += ne : V += Ht();
624
624
  var G;
625
- i === null ? G = "null" : Qe(i) ? G = "array" : i !== void 0 && i.$$typeof === t ? (G = "<" + (ee(i.type) || "Unknown") + " />", V = " Did you accidentally export a JSX literal instead of a component?") : G = typeof i, v("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", G, V);
625
+ i === null ? G = "null" : Qe(i) ? G = "array" : i !== void 0 && i.$$typeof === t ? (G = "<" + (ee(i.type) || "Unknown") + " />", V = " Did you accidentally export a JSX literal instead of a component?") : G = typeof i, g("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", G, V);
626
626
  }
627
- var J = Qr(i, d, y, q, X);
627
+ var J = Jr(i, d, h, q, X);
628
628
  if (J == null)
629
629
  return J;
630
630
  if (I) {
@@ -632,36 +632,36 @@ Check the top-level render call using <` + y + ">.");
632
632
  if (be !== void 0)
633
633
  if (w)
634
634
  if (Qe(be)) {
635
- for (var Te = 0; Te < be.length; Te++)
636
- Yt(be[Te], i);
635
+ for (var Pe = 0; Pe < be.length; Pe++)
636
+ qt(be[Pe], i);
637
637
  Object.freeze && Object.freeze(be);
638
638
  } else
639
- v("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
639
+ g("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
640
640
  else
641
- Yt(be, i);
641
+ qt(be, i);
642
642
  }
643
643
  if (Me.call(d, "key")) {
644
- var _e = ee(i), ae = Object.keys(d).filter(function(ln) {
645
- return ln !== "key";
644
+ var De = ee(i), ae = Object.keys(d).filter(function(an) {
645
+ return an !== "key";
646
646
  }), it = ae.length > 0 ? "{key: someKey, " + ae.join(": ..., ") + ": ...}" : "{key: someKey}";
647
- if (!Ut[_e + it]) {
648
- var sn = ae.length > 0 ? "{" + ae.join(": ..., ") + ": ...}" : "{}";
649
- v(`A props object containing a "key" prop is being spread into JSX:
647
+ if (!Yt[De + it]) {
648
+ var on = ae.length > 0 ? "{" + ae.join(": ..., ") + ": ...}" : "{}";
649
+ g(`A props object containing a "key" prop is being spread into JSX:
650
650
  let props = %s;
651
651
  <%s {...props} />
652
652
  React keys must be passed directly to JSX without using spread:
653
653
  let props = %s;
654
- <%s key={someKey} {...props} />`, it, _e, sn, _e), Ut[_e + it] = !0;
654
+ <%s key={someKey} {...props} />`, it, De, on, De), Yt[De + it] = !0;
655
655
  }
656
656
  }
657
- return i === n ? nn(J) : rn(J), J;
657
+ return i === n ? tn(J) : en(J), J;
658
658
  }
659
659
  }
660
- var an = on;
661
- We.Fragment = n, We.jsxDEV = an;
660
+ var nn = rn;
661
+ We.Fragment = n, We.jsxDEV = nn;
662
662
  }()), We;
663
663
  }
664
- process.env.NODE_ENV === "production" ? gt.exports = On() : gt.exports = Rn();
664
+ process.env.NODE_ENV === "production" ? gt.exports = Rn() : gt.exports = Tn();
665
665
  var l = gt.exports;
666
666
  /**
667
667
  * @license lucide-react v0.474.0 - ISC
@@ -669,14 +669,14 @@ var l = gt.exports;
669
669
  * This source code is licensed under the ISC license.
670
670
  * See the LICENSE file in the root directory of this source tree.
671
671
  */
672
- const Pn = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), wr = (...e) => e.filter((t, r, n) => !!t && t.trim() !== "" && n.indexOf(t) === r).join(" ").trim();
672
+ const Pn = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), Er = (...e) => e.filter((t, r, n) => !!t && t.trim() !== "" && n.indexOf(t) === r).join(" ").trim();
673
673
  /**
674
674
  * @license lucide-react v0.474.0 - ISC
675
675
  *
676
676
  * This source code is licensed under the ISC license.
677
677
  * See the LICENSE file in the root directory of this source tree.
678
678
  */
679
- var Tn = {
679
+ var jn = {
680
680
  xmlns: "http://www.w3.org/2000/svg",
681
681
  width: 24,
682
682
  height: 24,
@@ -693,7 +693,7 @@ var Tn = {
693
693
  * This source code is licensed under the ISC license.
694
694
  * See the LICENSE file in the root directory of this source tree.
695
695
  */
696
- const jn = hr(
696
+ const Mn = br(
697
697
  ({
698
698
  color: e = "currentColor",
699
699
  size: t = 24,
@@ -707,16 +707,16 @@ const jn = hr(
707
707
  "svg",
708
708
  {
709
709
  ref: m,
710
- ...Tn,
710
+ ...jn,
711
711
  width: t,
712
712
  height: t,
713
713
  stroke: e,
714
714
  strokeWidth: n ? Number(r) * 24 / Number(t) : r,
715
- className: wr("lucide", o),
715
+ className: Er("lucide", o),
716
716
  ...u
717
717
  },
718
718
  [
719
- ...s.map(([p, b]) => yt(p, b)),
719
+ ...s.map(([p, y]) => yt(p, y)),
720
720
  ...Array.isArray(a) ? a : [a]
721
721
  ]
722
722
  )
@@ -728,11 +728,11 @@ const jn = hr(
728
728
  * See the LICENSE file in the root directory of this source tree.
729
729
  */
730
730
  const L = (e, t) => {
731
- const r = hr(
732
- ({ className: n, ...o }, a) => yt(jn, {
731
+ const r = br(
732
+ ({ className: n, ...o }, a) => yt(Mn, {
733
733
  ref: a,
734
734
  iconNode: t,
735
- className: wr(`lucide-${Pn(e)}`, n),
735
+ className: Er(`lucide-${Pn(e)}`, n),
736
736
  ...o
737
737
  })
738
738
  );
@@ -744,140 +744,140 @@ const L = (e, t) => {
744
744
  * This source code is licensed under the ISC license.
745
745
  * See the LICENSE file in the root directory of this source tree.
746
746
  */
747
- const Mn = [
747
+ const Vn = [
748
748
  ["path", { d: "M17 12H7", key: "16if0g" }],
749
749
  ["path", { d: "M19 18H5", key: "18s9l3" }],
750
750
  ["path", { d: "M21 6H3", key: "1jwq7v" }]
751
- ], Vn = L("AlignCenter", Mn);
751
+ ], An = L("AlignCenter", Vn);
752
752
  /**
753
753
  * @license lucide-react v0.474.0 - ISC
754
754
  *
755
755
  * This source code is licensed under the ISC license.
756
756
  * See the LICENSE file in the root directory of this source tree.
757
757
  */
758
- const An = [
758
+ const $n = [
759
759
  ["path", { d: "M3 12h18", key: "1i2n21" }],
760
760
  ["path", { d: "M3 18h18", key: "1h113x" }],
761
761
  ["path", { d: "M3 6h18", key: "d0wm0j" }]
762
- ], $n = L("AlignJustify", An);
762
+ ], zn = L("AlignJustify", $n);
763
763
  /**
764
764
  * @license lucide-react v0.474.0 - ISC
765
765
  *
766
766
  * This source code is licensed under the ISC license.
767
767
  * See the LICENSE file in the root directory of this source tree.
768
768
  */
769
- const zn = [
769
+ const In = [
770
770
  ["path", { d: "M15 12H3", key: "6jk70r" }],
771
771
  ["path", { d: "M17 18H3", key: "1amg6g" }],
772
772
  ["path", { d: "M21 6H3", key: "1jwq7v" }]
773
- ], In = L("AlignLeft", zn);
773
+ ], Hn = L("AlignLeft", In);
774
774
  /**
775
775
  * @license lucide-react v0.474.0 - ISC
776
776
  *
777
777
  * This source code is licensed under the ISC license.
778
778
  * See the LICENSE file in the root directory of this source tree.
779
779
  */
780
- const Hn = [
780
+ const Ln = [
781
781
  ["path", { d: "M21 12H9", key: "dn1m92" }],
782
782
  ["path", { d: "M21 18H7", key: "1ygte8" }],
783
783
  ["path", { d: "M21 6H3", key: "1jwq7v" }]
784
- ], Ln = L("AlignRight", Hn);
784
+ ], Wn = L("AlignRight", Ln);
785
785
  /**
786
786
  * @license lucide-react v0.474.0 - ISC
787
787
  *
788
788
  * This source code is licensed under the ISC license.
789
789
  * See the LICENSE file in the root directory of this source tree.
790
790
  */
791
- const Wn = [
791
+ const qn = [
792
792
  [
793
793
  "path",
794
794
  { d: "M6 12h9a4 4 0 0 1 0 8H7a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h7a4 4 0 0 1 0 8", key: "mg9rjx" }
795
795
  ]
796
- ], qn = L("Bold", Wn);
796
+ ], Yn = L("Bold", qn);
797
797
  /**
798
798
  * @license lucide-react v0.474.0 - ISC
799
799
  *
800
800
  * This source code is licensed under the ISC license.
801
801
  * See the LICENSE file in the root directory of this source tree.
802
802
  */
803
- const Yn = [["path", { d: "m6 9 6 6 6-6", key: "qrunsl" }]], Un = L("ChevronDown", Yn);
803
+ const Fn = [["path", { d: "m6 9 6 6 6-6", key: "qrunsl" }]], Un = L("ChevronDown", Fn);
804
804
  /**
805
805
  * @license lucide-react v0.474.0 - ISC
806
806
  *
807
807
  * This source code is licensed under the ISC license.
808
808
  * See the LICENSE file in the root directory of this source tree.
809
809
  */
810
- const Fn = [
810
+ const Bn = [
811
811
  ["polyline", { points: "16 18 22 12 16 6", key: "z7tu5w" }],
812
812
  ["polyline", { points: "8 6 2 12 8 18", key: "1eg1df" }]
813
- ], Bn = L("Code", Fn);
813
+ ], Xn = L("Code", Bn);
814
814
  /**
815
815
  * @license lucide-react v0.474.0 - ISC
816
816
  *
817
817
  * This source code is licensed under the ISC license.
818
818
  * See the LICENSE file in the root directory of this source tree.
819
819
  */
820
- const Xn = [
820
+ const Kn = [
821
821
  ["polyline", { points: "15 10 20 15 15 20", key: "1q7qjw" }],
822
822
  ["path", { d: "M4 4v7a4 4 0 0 0 4 4h12", key: "z08zvw" }]
823
- ], Kn = L("CornerDownRight", Xn);
823
+ ], Gn = L("CornerDownRight", Kn);
824
824
  /**
825
825
  * @license lucide-react v0.474.0 - ISC
826
826
  *
827
827
  * This source code is licensed under the ISC license.
828
828
  * See the LICENSE file in the root directory of this source tree.
829
829
  */
830
- const Gn = [
830
+ const Jn = [
831
831
  ["path", { d: "M4 12h8", key: "17cfdx" }],
832
832
  ["path", { d: "M4 18V6", key: "1rz3zl" }],
833
833
  ["path", { d: "M12 18V6", key: "zqpxq5" }],
834
834
  ["path", { d: "m17 12 3-2v8", key: "1hhhft" }]
835
- ], ot = L("Heading1", Gn);
835
+ ], ot = L("Heading1", Jn);
836
836
  /**
837
837
  * @license lucide-react v0.474.0 - ISC
838
838
  *
839
839
  * This source code is licensed under the ISC license.
840
840
  * See the LICENSE file in the root directory of this source tree.
841
841
  */
842
- const Jn = [
842
+ const Zn = [
843
843
  ["path", { d: "M4 12h8", key: "17cfdx" }],
844
844
  ["path", { d: "M4 18V6", key: "1rz3zl" }],
845
845
  ["path", { d: "M12 18V6", key: "zqpxq5" }],
846
846
  ["path", { d: "M21 18h-4c0-4 4-3 4-6 0-1.5-2-2.5-4-1", key: "9jr5yi" }]
847
- ], Gt = L("Heading2", Jn);
847
+ ], Kt = L("Heading2", Zn);
848
848
  /**
849
849
  * @license lucide-react v0.474.0 - ISC
850
850
  *
851
851
  * This source code is licensed under the ISC license.
852
852
  * See the LICENSE file in the root directory of this source tree.
853
853
  */
854
- const Zn = [
854
+ const Qn = [
855
855
  ["path", { d: "M4 12h8", key: "17cfdx" }],
856
856
  ["path", { d: "M4 18V6", key: "1rz3zl" }],
857
857
  ["path", { d: "M12 18V6", key: "zqpxq5" }],
858
858
  ["path", { d: "M17.5 10.5c1.7-1 3.5 0 3.5 1.5a2 2 0 0 1-2 2", key: "68ncm8" }],
859
859
  ["path", { d: "M17 17.5c2 1.5 4 .3 4-1.5a2 2 0 0 0-2-2", key: "1ejuhz" }]
860
- ], Jt = L("Heading3", Zn);
860
+ ], Gt = L("Heading3", Qn);
861
861
  /**
862
862
  * @license lucide-react v0.474.0 - ISC
863
863
  *
864
864
  * This source code is licensed under the ISC license.
865
865
  * See the LICENSE file in the root directory of this source tree.
866
866
  */
867
- const Qn = [
867
+ const ei = [
868
868
  ["path", { d: "M12 18V6", key: "zqpxq5" }],
869
869
  ["path", { d: "M17 10v3a1 1 0 0 0 1 1h3", key: "tj5zdr" }],
870
870
  ["path", { d: "M21 10v8", key: "1kdml4" }],
871
871
  ["path", { d: "M4 12h8", key: "17cfdx" }],
872
872
  ["path", { d: "M4 18V6", key: "1rz3zl" }]
873
- ], Zt = L("Heading4", Qn);
873
+ ], Jt = L("Heading4", ei);
874
874
  /**
875
875
  * @license lucide-react v0.474.0 - ISC
876
876
  *
877
877
  * This source code is licensed under the ISC license.
878
878
  * See the LICENSE file in the root directory of this source tree.
879
879
  */
880
- const ei = [
880
+ const ti = [
881
881
  ["path", { d: "M4 12h8", key: "17cfdx" }],
882
882
  ["path", { d: "M4 18V6", key: "1rz3zl" }],
883
883
  ["path", { d: "M12 18V6", key: "zqpxq5" }],
@@ -886,49 +886,49 @@ const ei = [
886
886
  "path",
887
887
  { d: "M17 17.7c.4.2.8.3 1.3.3 1.5 0 2.7-1.1 2.7-2.5S19.8 13 18.3 13H17", key: "2nebdn" }
888
888
  ]
889
- ], Qt = L("Heading5", ei);
889
+ ], Zt = L("Heading5", ti);
890
890
  /**
891
891
  * @license lucide-react v0.474.0 - ISC
892
892
  *
893
893
  * This source code is licensed under the ISC license.
894
894
  * See the LICENSE file in the root directory of this source tree.
895
895
  */
896
- const ti = [
896
+ const ri = [
897
897
  ["path", { d: "M4 12h8", key: "17cfdx" }],
898
898
  ["path", { d: "M4 18V6", key: "1rz3zl" }],
899
899
  ["path", { d: "M12 18V6", key: "zqpxq5" }],
900
900
  ["circle", { cx: "19", cy: "16", r: "2", key: "15mx69" }],
901
901
  ["path", { d: "M20 10c-2 2-3 3.5-3 6", key: "f35dl0" }]
902
- ], er = L("Heading6", ti);
902
+ ], Qt = L("Heading6", ri);
903
903
  /**
904
904
  * @license lucide-react v0.474.0 - ISC
905
905
  *
906
906
  * This source code is licensed under the ISC license.
907
907
  * See the LICENSE file in the root directory of this source tree.
908
908
  */
909
- const ri = [
909
+ const ni = [
910
910
  ["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2", ry: "2", key: "1m3agn" }],
911
911
  ["circle", { cx: "9", cy: "9", r: "2", key: "af1f0g" }],
912
912
  ["path", { d: "m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21", key: "1xmnt7" }]
913
- ], ni = L("Image", ri);
913
+ ], ii = L("Image", ni);
914
914
  /**
915
915
  * @license lucide-react v0.474.0 - ISC
916
916
  *
917
917
  * This source code is licensed under the ISC license.
918
918
  * See the LICENSE file in the root directory of this source tree.
919
919
  */
920
- const ii = [
920
+ const oi = [
921
921
  ["line", { x1: "19", x2: "10", y1: "4", y2: "4", key: "15jd3p" }],
922
922
  ["line", { x1: "14", x2: "5", y1: "20", y2: "20", key: "bu0au3" }],
923
923
  ["line", { x1: "15", x2: "9", y1: "4", y2: "20", key: "uljnxc" }]
924
- ], oi = L("Italic", ii);
924
+ ], ai = L("Italic", oi);
925
925
  /**
926
926
  * @license lucide-react v0.474.0 - ISC
927
927
  *
928
928
  * This source code is licensed under the ISC license.
929
929
  * See the LICENSE file in the root directory of this source tree.
930
930
  */
931
- const ai = [
931
+ const si = [
932
932
  [
933
933
  "path",
934
934
  {
@@ -950,49 +950,49 @@ const ai = [
950
950
  key: "kqbvx6"
951
951
  }
952
952
  ]
953
- ], si = L("Layers", ai);
953
+ ], li = L("Layers", si);
954
954
  /**
955
955
  * @license lucide-react v0.474.0 - ISC
956
956
  *
957
957
  * This source code is licensed under the ISC license.
958
958
  * See the LICENSE file in the root directory of this source tree.
959
959
  */
960
- const li = [
960
+ const ci = [
961
961
  ["path", { d: "M10 12h11", key: "6m4ad9" }],
962
962
  ["path", { d: "M10 18h11", key: "11hvi2" }],
963
963
  ["path", { d: "M10 6h11", key: "c7qv1k" }],
964
964
  ["path", { d: "M4 10h2", key: "16xx2s" }],
965
965
  ["path", { d: "M4 6h1v4", key: "cnovpq" }],
966
966
  ["path", { d: "M6 18H4c0-1 2-2 2-3s-1-1.5-2-1", key: "m9a95d" }]
967
- ], ci = L("ListOrdered", li);
967
+ ], ui = L("ListOrdered", ci);
968
968
  /**
969
969
  * @license lucide-react v0.474.0 - ISC
970
970
  *
971
971
  * This source code is licensed under the ISC license.
972
972
  * See the LICENSE file in the root directory of this source tree.
973
973
  */
974
- const ui = [
974
+ const di = [
975
975
  ["path", { d: "M3 12h.01", key: "nlz23k" }],
976
976
  ["path", { d: "M3 18h.01", key: "1tta3j" }],
977
977
  ["path", { d: "M3 6h.01", key: "1rqtza" }],
978
978
  ["path", { d: "M8 12h13", key: "1za7za" }],
979
979
  ["path", { d: "M8 18h13", key: "1lx6n3" }],
980
980
  ["path", { d: "M8 6h13", key: "ik3vkj" }]
981
- ], di = L("List", ui);
981
+ ], fi = L("List", di);
982
982
  /**
983
983
  * @license lucide-react v0.474.0 - ISC
984
984
  *
985
985
  * This source code is licensed under the ISC license.
986
986
  * See the LICENSE file in the root directory of this source tree.
987
987
  */
988
- const fi = [["path", { d: "M5 12h14", key: "1ays0h" }]], mi = L("Minus", fi);
988
+ const mi = [["path", { d: "M5 12h14", key: "1ays0h" }]], pi = L("Minus", mi);
989
989
  /**
990
990
  * @license lucide-react v0.474.0 - ISC
991
991
  *
992
992
  * This source code is licensed under the ISC license.
993
993
  * See the LICENSE file in the root directory of this source tree.
994
994
  */
995
- const pi = [
995
+ const bi = [
996
996
  [
997
997
  "path",
998
998
  { d: "m19 11-8-8-8.6 8.6a2 2 0 0 0 0 2.8l5.2 5.2c.8.8 2 .8 2.8 0L19 11Z", key: "irua1i" }
@@ -1000,24 +1000,24 @@ const pi = [
1000
1000
  ["path", { d: "m5 2 5 5", key: "1lls2c" }],
1001
1001
  ["path", { d: "M2 13h15", key: "1hkzvu" }],
1002
1002
  ["path", { d: "M22 20a2 2 0 1 1-4 0c0-1.6 1.7-2.4 2-4 .3 1.6 2 2.4 2 4Z", key: "xk76lq" }]
1003
- ], bi = L("PaintBucket", pi);
1003
+ ], hi = L("PaintBucket", bi);
1004
1004
  /**
1005
1005
  * @license lucide-react v0.474.0 - ISC
1006
1006
  *
1007
1007
  * This source code is licensed under the ISC license.
1008
1008
  * See the LICENSE file in the root directory of this source tree.
1009
1009
  */
1010
- const hi = [
1010
+ const yi = [
1011
1011
  ["path", { d: "M5 12h14", key: "1ays0h" }],
1012
1012
  ["path", { d: "M12 5v14", key: "s699le" }]
1013
- ], yi = L("Plus", hi);
1013
+ ], vi = L("Plus", yi);
1014
1014
  /**
1015
1015
  * @license lucide-react v0.474.0 - ISC
1016
1016
  *
1017
1017
  * This source code is licensed under the ISC license.
1018
1018
  * See the LICENSE file in the root directory of this source tree.
1019
1019
  */
1020
- const vi = [
1020
+ const gi = [
1021
1021
  [
1022
1022
  "path",
1023
1023
  {
@@ -1032,45 +1032,45 @@ const vi = [
1032
1032
  key: "1ymkrd"
1033
1033
  }
1034
1034
  ]
1035
- ], gi = L("Quote", vi);
1035
+ ], xi = L("Quote", gi);
1036
1036
  /**
1037
1037
  * @license lucide-react v0.474.0 - ISC
1038
1038
  *
1039
1039
  * This source code is licensed under the ISC license.
1040
1040
  * See the LICENSE file in the root directory of this source tree.
1041
1041
  */
1042
- const xi = [
1042
+ const Ni = [
1043
1043
  ["path", { d: "M21 7v6h-6", key: "3ptur4" }],
1044
1044
  ["path", { d: "M3 17a9 9 0 0 1 9-9 9 9 0 0 1 6 2.3l3 2.7", key: "1kgawr" }]
1045
- ], Ni = L("Redo", xi);
1045
+ ], Ei = L("Redo", Ni);
1046
1046
  /**
1047
1047
  * @license lucide-react v0.474.0 - ISC
1048
1048
  *
1049
1049
  * This source code is licensed under the ISC license.
1050
1050
  * See the LICENSE file in the root directory of this source tree.
1051
1051
  */
1052
- const Ei = [
1052
+ const Si = [
1053
1053
  ["path", { d: "M21 10.5V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h12.5", key: "1uzm8b" }],
1054
1054
  ["path", { d: "m9 11 3 3L22 4", key: "1pflzl" }]
1055
- ], Si = L("SquareCheckBig", Ei);
1055
+ ], wi = L("SquareCheckBig", Si);
1056
1056
  /**
1057
1057
  * @license lucide-react v0.474.0 - ISC
1058
1058
  *
1059
1059
  * This source code is licensed under the ISC license.
1060
1060
  * See the LICENSE file in the root directory of this source tree.
1061
1061
  */
1062
- const wi = [
1062
+ const Ci = [
1063
1063
  ["path", { d: "M16 4H9a3 3 0 0 0-2.83 4", key: "43sutm" }],
1064
1064
  ["path", { d: "M14 12a4 4 0 0 1 0 8H6", key: "nlfj13" }],
1065
1065
  ["line", { x1: "4", x2: "20", y1: "12", y2: "12", key: "1e0a9i" }]
1066
- ], Ci = L("Strikethrough", wi);
1066
+ ], ki = L("Strikethrough", Ci);
1067
1067
  /**
1068
1068
  * @license lucide-react v0.474.0 - ISC
1069
1069
  *
1070
1070
  * This source code is licensed under the ISC license.
1071
1071
  * See the LICENSE file in the root directory of this source tree.
1072
1072
  */
1073
- const ki = [
1073
+ const Di = [
1074
1074
  ["path", { d: "m4 5 8 8", key: "1eunvl" }],
1075
1075
  ["path", { d: "m12 5-8 8", key: "1ah0jp" }],
1076
1076
  [
@@ -1080,14 +1080,14 @@ const ki = [
1080
1080
  key: "e8ta8j"
1081
1081
  }
1082
1082
  ]
1083
- ], Di = L("Subscript", ki);
1083
+ ], _i = L("Subscript", Di);
1084
1084
  /**
1085
1085
  * @license lucide-react v0.474.0 - ISC
1086
1086
  *
1087
1087
  * This source code is licensed under the ISC license.
1088
1088
  * See the LICENSE file in the root directory of this source tree.
1089
1089
  */
1090
- const _i = [
1090
+ const Oi = [
1091
1091
  ["path", { d: "m4 19 8-8", key: "hr47gm" }],
1092
1092
  ["path", { d: "m12 19-8-8", key: "1dhhmo" }],
1093
1093
  [
@@ -1097,61 +1097,61 @@ const _i = [
1097
1097
  key: "1dfcux"
1098
1098
  }
1099
1099
  ]
1100
- ], Oi = L("Superscript", _i);
1100
+ ], Ri = L("Superscript", Oi);
1101
1101
  /**
1102
1102
  * @license lucide-react v0.474.0 - ISC
1103
1103
  *
1104
1104
  * This source code is licensed under the ISC license.
1105
1105
  * See the LICENSE file in the root directory of this source tree.
1106
1106
  */
1107
- const Ri = [
1107
+ const Ti = [
1108
1108
  ["path", { d: "M12 3v18", key: "108xh3" }],
1109
1109
  ["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2", key: "afitv7" }],
1110
1110
  ["path", { d: "M3 9h18", key: "1pudct" }],
1111
1111
  ["path", { d: "M3 15h18", key: "5xshup" }]
1112
- ], Pi = L("Table", Ri);
1112
+ ], Pi = L("Table", Ti);
1113
1113
  /**
1114
1114
  * @license lucide-react v0.474.0 - ISC
1115
1115
  *
1116
1116
  * This source code is licensed under the ISC license.
1117
1117
  * See the LICENSE file in the root directory of this source tree.
1118
1118
  */
1119
- const Ti = [
1119
+ const ji = [
1120
1120
  ["path", { d: "M17 22h-1a4 4 0 0 1-4-4V6a4 4 0 0 1 4-4h1", key: "uvaxm9" }],
1121
1121
  ["path", { d: "M7 22h1a4 4 0 0 0 4-4v-1", key: "11xy8d" }],
1122
1122
  ["path", { d: "M7 2h1a4 4 0 0 1 4 4v1", key: "1uw06m" }]
1123
- ], ji = L("TextCursor", Ti);
1123
+ ], Mi = L("TextCursor", ji);
1124
1124
  /**
1125
1125
  * @license lucide-react v0.474.0 - ISC
1126
1126
  *
1127
1127
  * This source code is licensed under the ISC license.
1128
1128
  * See the LICENSE file in the root directory of this source tree.
1129
1129
  */
1130
- const Mi = [
1130
+ const Vi = [
1131
1131
  ["path", { d: "M6 4v6a6 6 0 0 0 12 0V4", key: "9kb039" }],
1132
1132
  ["line", { x1: "4", x2: "20", y1: "20", y2: "20", key: "nun2al" }]
1133
- ], Vi = L("Underline", Mi);
1133
+ ], Ai = L("Underline", Vi);
1134
1134
  /**
1135
1135
  * @license lucide-react v0.474.0 - ISC
1136
1136
  *
1137
1137
  * This source code is licensed under the ISC license.
1138
1138
  * See the LICENSE file in the root directory of this source tree.
1139
1139
  */
1140
- const Ai = [
1140
+ const $i = [
1141
1141
  ["path", { d: "M3 7v6h6", key: "1v2h90" }],
1142
1142
  ["path", { d: "M21 17a9 9 0 0 0-9-9 9 9 0 0 0-6 2.3L3 13", key: "1r6uu6" }]
1143
- ], $i = L("Undo", Ai);
1143
+ ], zi = L("Undo", $i);
1144
1144
  /**
1145
1145
  * @license lucide-react v0.474.0 - ISC
1146
1146
  *
1147
1147
  * This source code is licensed under the ISC license.
1148
1148
  * See the LICENSE file in the root directory of this source tree.
1149
1149
  */
1150
- const zi = [
1150
+ const Ii = [
1151
1151
  ["path", { d: "M18 6 6 18", key: "1bl5f8" }],
1152
1152
  ["path", { d: "m6 6 12 12", key: "d8bk6v" }]
1153
- ], Ii = L("X", zi);
1154
- function Hi({ editor: e }) {
1153
+ ], Hi = L("X", Ii);
1154
+ function Li({ editor: e }) {
1155
1155
  const [t, r] = he(!1);
1156
1156
  return /* @__PURE__ */ l.jsxDEV("div", { className: "relative", children: [
1157
1157
  /* @__PURE__ */ l.jsxDEV(
@@ -1159,11 +1159,11 @@ function Hi({ editor: e }) {
1159
1159
  {
1160
1160
  className: `p-1 text-black transition-all duration-300 rounded-md shadow-lg hover:bg-blue-100 hover:text-blue-600 ${t ? "bg-blue-100 text-blue-600" : ""}`,
1161
1161
  onClick: () => r(!t),
1162
- children: t ? /* @__PURE__ */ l.jsxDEV(Ii, { size: 24 }, void 0, !1, {
1162
+ children: t ? /* @__PURE__ */ l.jsxDEV(Hi, { size: 24 }, void 0, !1, {
1163
1163
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/tool-bar/cyber-extensions.tsx",
1164
1164
  lineNumber: 13,
1165
1165
  columnNumber: 25
1166
- }, this) : /* @__PURE__ */ l.jsxDEV(si, { size: 24 }, void 0, !1, {
1166
+ }, this) : /* @__PURE__ */ l.jsxDEV(li, { size: 24 }, void 0, !1, {
1167
1167
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/tool-bar/cyber-extensions.tsx",
1168
1168
  lineNumber: 13,
1169
1169
  columnNumber: 43
@@ -1200,7 +1200,7 @@ function Hi({ editor: e }) {
1200
1200
  },
1201
1201
  className: "flex items-center justify-center w-full gap-2 px-3 py-1 text-blue-600 duration-300 rounded-md bg-blue-50 hover:bg-blue-100 hover:text-blue-700",
1202
1202
  children: [
1203
- /* @__PURE__ */ l.jsxDEV(yi, { size: 16 }, void 0, !1, {
1203
+ /* @__PURE__ */ l.jsxDEV(vi, { size: 16 }, void 0, !1, {
1204
1204
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/tool-bar/cyber-extensions.tsx",
1205
1205
  lineNumber: 33,
1206
1206
  columnNumber: 29
@@ -1238,8 +1238,8 @@ function Hi({ editor: e }) {
1238
1238
  columnNumber: 9
1239
1239
  }, this);
1240
1240
  }
1241
- const Ue = ({ value: e, onChange: t }) => /* @__PURE__ */ l.jsxDEV(
1242
- dn,
1241
+ const Fe = ({ value: e, onChange: t }) => /* @__PURE__ */ l.jsxDEV(
1242
+ fn,
1243
1243
  {
1244
1244
  value: e,
1245
1245
  onChange: t,
@@ -1267,7 +1267,7 @@ const Ue = ({ value: e, onChange: t }) => /* @__PURE__ */ l.jsxDEV(
1267
1267
  columnNumber: 9
1268
1268
  },
1269
1269
  void 0
1270
- ), Li = ({ editor: e }) => {
1270
+ ), Wi = ({ editor: e }) => {
1271
1271
  const [t, r] = he("#1677ff"), [n, o] = he("#ffffff"), a = (m) => {
1272
1272
  const p = m.toHexString();
1273
1273
  r(p), e.chain().focus().setColor(p).run();
@@ -1279,12 +1279,12 @@ const Ue = ({ value: e, onChange: t }) => /* @__PURE__ */ l.jsxDEV(
1279
1279
  };
1280
1280
  return /* @__PURE__ */ l.jsxDEV("div", { className: "flex items-center gap-4", children: [
1281
1281
  /* @__PURE__ */ l.jsxDEV(vt, { title: "Text Color", children: /* @__PURE__ */ l.jsxDEV("div", { className: "flex items-center gap-2", onMouseDown: u, children: [
1282
- /* @__PURE__ */ l.jsxDEV(ji, { size: 20, color: "black" }, void 0, !1, {
1282
+ /* @__PURE__ */ l.jsxDEV(Mi, { size: 20, color: "black" }, void 0, !1, {
1283
1283
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/color/color-picker.tsx",
1284
1284
  lineNumber: 33,
1285
1285
  columnNumber: 21
1286
1286
  }, void 0),
1287
- /* @__PURE__ */ l.jsxDEV(Ue, { value: t, onChange: a }, void 0, !1, {
1287
+ /* @__PURE__ */ l.jsxDEV(Fe, { value: t, onChange: a }, void 0, !1, {
1288
1288
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/color/color-picker.tsx",
1289
1289
  lineNumber: 34,
1290
1290
  columnNumber: 21
@@ -1299,12 +1299,12 @@ const Ue = ({ value: e, onChange: t }) => /* @__PURE__ */ l.jsxDEV(
1299
1299
  columnNumber: 13
1300
1300
  }, void 0),
1301
1301
  /* @__PURE__ */ l.jsxDEV(vt, { title: "Highlight Color", children: /* @__PURE__ */ l.jsxDEV("div", { className: "flex items-center gap-2", onMouseDown: u, children: [
1302
- /* @__PURE__ */ l.jsxDEV(bi, { size: 20, color: "black" }, void 0, !1, {
1302
+ /* @__PURE__ */ l.jsxDEV(hi, { size: 20, color: "black" }, void 0, !1, {
1303
1303
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/color/color-picker.tsx",
1304
1304
  lineNumber: 41,
1305
1305
  columnNumber: 21
1306
1306
  }, void 0),
1307
- /* @__PURE__ */ l.jsxDEV(Ue, { value: n, onChange: s }, void 0, !1, {
1307
+ /* @__PURE__ */ l.jsxDEV(Fe, { value: n, onChange: s }, void 0, !1, {
1308
1308
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/color/color-picker.tsx",
1309
1309
  lineNumber: 42,
1310
1310
  columnNumber: 21
@@ -1323,7 +1323,7 @@ const Ue = ({ value: e, onChange: t }) => /* @__PURE__ */ l.jsxDEV(
1323
1323
  lineNumber: 29,
1324
1324
  columnNumber: 9
1325
1325
  }, void 0);
1326
- }, Wi = ({ editor: e }) => {
1326
+ }, qi = ({ editor: e }) => {
1327
1327
  if (!e) return null;
1328
1328
  const t = () => {
1329
1329
  for (let n = 1; n <= 6; n++)
@@ -1336,31 +1336,31 @@ const Ue = ({ value: e, onChange: t }) => /* @__PURE__ */ l.jsxDEV(
1336
1336
  columnNumber: 36
1337
1337
  }, void 0);
1338
1338
  case 2:
1339
- return /* @__PURE__ */ l.jsxDEV(Gt, { size: 16 }, void 0, !1, {
1339
+ return /* @__PURE__ */ l.jsxDEV(Kt, { size: 16 }, void 0, !1, {
1340
1340
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/heading/heading-dropdown.tsx",
1341
1341
  lineNumber: 16,
1342
1342
  columnNumber: 36
1343
1343
  }, void 0);
1344
1344
  case 3:
1345
- return /* @__PURE__ */ l.jsxDEV(Jt, { size: 16 }, void 0, !1, {
1345
+ return /* @__PURE__ */ l.jsxDEV(Gt, { size: 16 }, void 0, !1, {
1346
1346
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/heading/heading-dropdown.tsx",
1347
1347
  lineNumber: 17,
1348
1348
  columnNumber: 36
1349
1349
  }, void 0);
1350
1350
  case 4:
1351
- return /* @__PURE__ */ l.jsxDEV(Zt, { size: 16 }, void 0, !1, {
1351
+ return /* @__PURE__ */ l.jsxDEV(Jt, { size: 16 }, void 0, !1, {
1352
1352
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/heading/heading-dropdown.tsx",
1353
1353
  lineNumber: 18,
1354
1354
  columnNumber: 36
1355
1355
  }, void 0);
1356
1356
  case 5:
1357
- return /* @__PURE__ */ l.jsxDEV(Qt, { size: 16 }, void 0, !1, {
1357
+ return /* @__PURE__ */ l.jsxDEV(Zt, { size: 16 }, void 0, !1, {
1358
1358
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/heading/heading-dropdown.tsx",
1359
1359
  lineNumber: 19,
1360
1360
  columnNumber: 36
1361
1361
  }, void 0);
1362
1362
  case 6:
1363
- return /* @__PURE__ */ l.jsxDEV(er, { size: 16 }, void 0, !1, {
1363
+ return /* @__PURE__ */ l.jsxDEV(Qt, { size: 16 }, void 0, !1, {
1364
1364
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/heading/heading-dropdown.tsx",
1365
1365
  lineNumber: 20,
1366
1366
  columnNumber: 36
@@ -1375,7 +1375,7 @@ const Ue = ({ value: e, onChange: t }) => /* @__PURE__ */ l.jsxDEV(
1375
1375
  ...Array.from({ length: 6 }, (n, o) => ({
1376
1376
  key: `${o + 1}`,
1377
1377
  label: /* @__PURE__ */ l.jsxDEV("div", { className: "flex items-center gap-2", onClick: () => e.chain().focus().toggleHeading({ level: o + 1 }).run(), children: [
1378
- ke.createElement([ot, Gt, Jt, Zt, Qt, er][o], { size: 16 }),
1378
+ _e.createElement([ot, Kt, Gt, Jt, Zt, Qt][o], { size: 16 }),
1379
1379
  /* @__PURE__ */ l.jsxDEV("span", { children: [
1380
1380
  "Heading ",
1381
1381
  o + 1
@@ -1392,7 +1392,7 @@ const Ue = ({ value: e, onChange: t }) => /* @__PURE__ */ l.jsxDEV(
1392
1392
  className: e.isActive("heading", { level: o + 1 }) ? "ant-dropdown-menu-item-active" : ""
1393
1393
  }))
1394
1394
  ];
1395
- return /* @__PURE__ */ l.jsxDEV(kt, { menu: { items: r }, trigger: ["hover"], placement: "bottomLeft", children: /* @__PURE__ */ l.jsxDEV("button", { className: "flex items-center gap-1 p-2 rounded-md hover:bg-blue-100 hover:text-blue-600", children: t() }, void 0, !1, {
1395
+ return /* @__PURE__ */ l.jsxDEV(Ct, { menu: { items: r }, trigger: ["hover"], placement: "bottomLeft", children: /* @__PURE__ */ l.jsxDEV("button", { className: "flex items-center gap-1 p-2 rounded-md hover:bg-blue-100 hover:text-blue-600", children: t() }, void 0, !1, {
1396
1396
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/heading/heading-dropdown.tsx",
1397
1397
  lineNumber: 42,
1398
1398
  columnNumber: 13
@@ -1401,7 +1401,7 @@ const Ue = ({ value: e, onChange: t }) => /* @__PURE__ */ l.jsxDEV(
1401
1401
  lineNumber: 41,
1402
1402
  columnNumber: 9
1403
1403
  }, void 0);
1404
- }, qi = 8, Yi = 8, Ui = ({
1404
+ }, Yi = 8, Fi = 8, Ui = ({
1405
1405
  editor: e,
1406
1406
  buttonClass: t,
1407
1407
  activeClass: r
@@ -1410,23 +1410,23 @@ const Ue = ({ value: e, onChange: t }) => /* @__PURE__ */ l.jsxDEV(
1410
1410
  e.chain().focus().insertTable({ rows: m, cols: p, withHeaderRow: !0 }).run(), s(!1);
1411
1411
  };
1412
1412
  return /* @__PURE__ */ l.jsxDEV(
1413
- kt,
1413
+ Ct,
1414
1414
  {
1415
1415
  open: a,
1416
1416
  onOpenChange: s,
1417
1417
  trigger: ["hover"],
1418
1418
  overlay: /* @__PURE__ */ l.jsxDEV("div", { className: "w-56 p-4 bg-white border border-gray-300 rounded-lg shadow-xl", children: [
1419
- /* @__PURE__ */ l.jsxDEV("div", { className: "grid grid-cols-8 gap-1", children: Array.from({ length: qi }).map(
1420
- (m, p) => Array.from({ length: Yi }).map((b, N) => {
1421
- const O = p < n.rows && N < n.cols;
1419
+ /* @__PURE__ */ l.jsxDEV("div", { className: "grid grid-cols-8 gap-1", children: Array.from({ length: Yi }).map(
1420
+ (m, p) => Array.from({ length: Fi }).map((y, v) => {
1421
+ const O = p < n.rows && v < n.cols;
1422
1422
  return /* @__PURE__ */ l.jsxDEV(
1423
1423
  "div",
1424
1424
  {
1425
1425
  className: `w-5 h-5 border rounded-sm cursor-pointer transition-all duration-200 ${O ? "bg-blue-400 border-white scale-110" : "bg-gray-200 hover:bg-gray-300"}`,
1426
- onMouseEnter: () => o({ rows: p + 1, cols: N + 1 }),
1427
- onClick: () => u(p + 1, N + 1)
1426
+ onMouseEnter: () => o({ rows: p + 1, cols: v + 1 }),
1427
+ onClick: () => u(p + 1, v + 1)
1428
1428
  },
1429
- `${p}-${N}`,
1429
+ `${p}-${v}`,
1430
1430
  !1,
1431
1431
  {
1432
1432
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/table/table-selector.tsx",
@@ -1481,8 +1481,7 @@ const Ue = ({ value: e, onChange: t }) => /* @__PURE__ */ l.jsxDEV(
1481
1481
  void 0
1482
1482
  );
1483
1483
  };
1484
- function Fi() {
1485
- const { editor: e } = Ct();
1484
+ function Bi({ editor: e }) {
1486
1485
  if (!e) return null;
1487
1486
  const t = "p-2 rounded-md transition-all duration-200 hover:bg-blue-100 hover:text-blue-600", r = "bg-blue-100 text-blue-600", n = (o, a, s, u, m) => /* @__PURE__ */ l.jsxDEV(vt, { title: m, children: /* @__PURE__ */ l.jsxDEV(
1488
1487
  "button",
@@ -1501,21 +1500,21 @@ function Fi() {
1501
1500
  !1,
1502
1501
  {
1503
1502
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/tool-bar/tool-bar-tiptap.tsx",
1504
- lineNumber: 34,
1503
+ lineNumber: 32,
1505
1504
  columnNumber: 13
1506
1505
  },
1507
1506
  this
1508
1507
  ) }, void 0, !1, {
1509
1508
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/tool-bar/tool-bar-tiptap.tsx",
1510
- lineNumber: 33,
1509
+ lineNumber: 31,
1511
1510
  columnNumber: 9
1512
1511
  }, this);
1513
1512
  return /* @__PURE__ */ l.jsxDEV("div", { className: "flex flex-wrap items-center gap-2 p-2 border-b border-gray-200 rounded-t-lg bg-gray-50", children: [
1514
1513
  /* @__PURE__ */ l.jsxDEV("div", { className: "flex items-center gap-1", children: [
1515
1514
  n(
1516
- /* @__PURE__ */ l.jsxDEV(qn, { size: 16 }, void 0, !1, {
1515
+ /* @__PURE__ */ l.jsxDEV(Yn, { size: 16 }, void 0, !1, {
1517
1516
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/tool-bar/tool-bar-tiptap.tsx",
1518
- lineNumber: 54,
1517
+ lineNumber: 52,
1519
1518
  columnNumber: 21
1520
1519
  }, this),
1521
1520
  () => e.chain().focus().toggleBold().run(),
@@ -1524,9 +1523,9 @@ function Fi() {
1524
1523
  "Bold"
1525
1524
  ),
1526
1525
  n(
1527
- /* @__PURE__ */ l.jsxDEV(oi, { size: 16 }, void 0, !1, {
1526
+ /* @__PURE__ */ l.jsxDEV(ai, { size: 16 }, void 0, !1, {
1528
1527
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/tool-bar/tool-bar-tiptap.tsx",
1529
- lineNumber: 61,
1528
+ lineNumber: 59,
1530
1529
  columnNumber: 21
1531
1530
  }, this),
1532
1531
  () => e.chain().focus().toggleItalic().run(),
@@ -1535,9 +1534,9 @@ function Fi() {
1535
1534
  "Italic"
1536
1535
  ),
1537
1536
  n(
1538
- /* @__PURE__ */ l.jsxDEV(Vi, { size: 16 }, void 0, !1, {
1537
+ /* @__PURE__ */ l.jsxDEV(Ai, { size: 16 }, void 0, !1, {
1539
1538
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/tool-bar/tool-bar-tiptap.tsx",
1540
- lineNumber: 68,
1539
+ lineNumber: 66,
1541
1540
  columnNumber: 21
1542
1541
  }, this),
1543
1542
  () => e.chain().focus().toggleUnderline().run(),
@@ -1546,9 +1545,9 @@ function Fi() {
1546
1545
  "Underline"
1547
1546
  ),
1548
1547
  n(
1549
- /* @__PURE__ */ l.jsxDEV(Ci, { size: 16 }, void 0, !1, {
1548
+ /* @__PURE__ */ l.jsxDEV(ki, { size: 16 }, void 0, !1, {
1550
1549
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/tool-bar/tool-bar-tiptap.tsx",
1551
- lineNumber: 75,
1550
+ lineNumber: 73,
1552
1551
  columnNumber: 21
1553
1552
  }, this),
1554
1553
  () => e.chain().focus().toggleStrike().run(),
@@ -1557,9 +1556,9 @@ function Fi() {
1557
1556
  "Strikethrough"
1558
1557
  ),
1559
1558
  n(
1560
- /* @__PURE__ */ l.jsxDEV(Bn, { size: 16 }, void 0, !1, {
1559
+ /* @__PURE__ */ l.jsxDEV(Xn, { size: 16 }, void 0, !1, {
1561
1560
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/tool-bar/tool-bar-tiptap.tsx",
1562
- lineNumber: 82,
1561
+ lineNumber: 80,
1563
1562
  columnNumber: 21
1564
1563
  }, this),
1565
1564
  () => e.chain().focus().toggleCode().run(),
@@ -1568,9 +1567,9 @@ function Fi() {
1568
1567
  "Code"
1569
1568
  ),
1570
1569
  n(
1571
- /* @__PURE__ */ l.jsxDEV(Di, { size: 16 }, void 0, !1, {
1570
+ /* @__PURE__ */ l.jsxDEV(_i, { size: 16 }, void 0, !1, {
1572
1571
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/tool-bar/tool-bar-tiptap.tsx",
1573
- lineNumber: 89,
1572
+ lineNumber: 87,
1574
1573
  columnNumber: 21
1575
1574
  }, this),
1576
1575
  () => e.chain().focus().toggleSubscript().run(),
@@ -1579,9 +1578,9 @@ function Fi() {
1579
1578
  "Subscript"
1580
1579
  ),
1581
1580
  n(
1582
- /* @__PURE__ */ l.jsxDEV(Oi, { size: 16 }, void 0, !1, {
1581
+ /* @__PURE__ */ l.jsxDEV(Ri, { size: 16 }, void 0, !1, {
1583
1582
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/tool-bar/tool-bar-tiptap.tsx",
1584
- lineNumber: 96,
1583
+ lineNumber: 94,
1585
1584
  columnNumber: 21
1586
1585
  }, this),
1587
1586
  () => e.chain().focus().toggleSuperscript().run(),
@@ -1591,29 +1590,29 @@ function Fi() {
1591
1590
  )
1592
1591
  ] }, void 0, !0, {
1593
1592
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/tool-bar/tool-bar-tiptap.tsx",
1594
- lineNumber: 52,
1593
+ lineNumber: 50,
1595
1594
  columnNumber: 13
1596
1595
  }, this),
1597
1596
  /* @__PURE__ */ l.jsxDEV("div", { className: "h-5 w-[1px] bg-gray-300 mx-2" }, void 0, !1, {
1598
1597
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/tool-bar/tool-bar-tiptap.tsx",
1599
- lineNumber: 104,
1598
+ lineNumber: 102,
1600
1599
  columnNumber: 13
1601
1600
  }, this),
1602
- /* @__PURE__ */ l.jsxDEV(Wi, { editor: e }, void 0, !1, {
1601
+ /* @__PURE__ */ l.jsxDEV(qi, { editor: e }, void 0, !1, {
1603
1602
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/tool-bar/tool-bar-tiptap.tsx",
1604
- lineNumber: 107,
1603
+ lineNumber: 105,
1605
1604
  columnNumber: 13
1606
1605
  }, this),
1607
1606
  /* @__PURE__ */ l.jsxDEV("div", { className: "h-5 w-[1px] bg-gray-300 mx-2" }, void 0, !1, {
1608
1607
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/tool-bar/tool-bar-tiptap.tsx",
1609
- lineNumber: 109,
1608
+ lineNumber: 107,
1610
1609
  columnNumber: 13
1611
1610
  }, this),
1612
1611
  /* @__PURE__ */ l.jsxDEV("div", { className: "flex items-center gap-1", children: [
1613
1612
  n(
1614
- /* @__PURE__ */ l.jsxDEV(In, { size: 16 }, void 0, !1, {
1613
+ /* @__PURE__ */ l.jsxDEV(Hn, { size: 16 }, void 0, !1, {
1615
1614
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/tool-bar/tool-bar-tiptap.tsx",
1616
- lineNumber: 114,
1615
+ lineNumber: 112,
1617
1616
  columnNumber: 21
1618
1617
  }, this),
1619
1618
  () => e.chain().focus().setTextAlign("left").run(),
@@ -1622,9 +1621,9 @@ function Fi() {
1622
1621
  "Align Left"
1623
1622
  ),
1624
1623
  n(
1625
- /* @__PURE__ */ l.jsxDEV(Vn, { size: 16 }, void 0, !1, {
1624
+ /* @__PURE__ */ l.jsxDEV(An, { size: 16 }, void 0, !1, {
1626
1625
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/tool-bar/tool-bar-tiptap.tsx",
1627
- lineNumber: 121,
1626
+ lineNumber: 119,
1628
1627
  columnNumber: 21
1629
1628
  }, this),
1630
1629
  () => e.chain().focus().setTextAlign("center").run(),
@@ -1633,9 +1632,9 @@ function Fi() {
1633
1632
  "Align Center"
1634
1633
  ),
1635
1634
  n(
1636
- /* @__PURE__ */ l.jsxDEV(Ln, { size: 16 }, void 0, !1, {
1635
+ /* @__PURE__ */ l.jsxDEV(Wn, { size: 16 }, void 0, !1, {
1637
1636
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/tool-bar/tool-bar-tiptap.tsx",
1638
- lineNumber: 126,
1637
+ lineNumber: 124,
1639
1638
  columnNumber: 21
1640
1639
  }, this),
1641
1640
  () => e.chain().focus().setTextAlign("right").run(),
@@ -1644,9 +1643,9 @@ function Fi() {
1644
1643
  "Align Right"
1645
1644
  ),
1646
1645
  n(
1647
- /* @__PURE__ */ l.jsxDEV($n, { size: 16 }, void 0, !1, {
1646
+ /* @__PURE__ */ l.jsxDEV(zn, { size: 16 }, void 0, !1, {
1648
1647
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/tool-bar/tool-bar-tiptap.tsx",
1649
- lineNumber: 131,
1648
+ lineNumber: 129,
1650
1649
  columnNumber: 21
1651
1650
  }, this),
1652
1651
  () => e.chain().focus().setTextAlign("justify").run(),
@@ -1656,19 +1655,19 @@ function Fi() {
1656
1655
  )
1657
1656
  ] }, void 0, !0, {
1658
1657
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/tool-bar/tool-bar-tiptap.tsx",
1659
- lineNumber: 112,
1658
+ lineNumber: 110,
1660
1659
  columnNumber: 13
1661
1660
  }, this),
1662
1661
  /* @__PURE__ */ l.jsxDEV("div", { className: "h-5 w-[1px] bg-gray-300 mx-2" }, void 0, !1, {
1663
1662
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/tool-bar/tool-bar-tiptap.tsx",
1664
- lineNumber: 137,
1663
+ lineNumber: 135,
1665
1664
  columnNumber: 13
1666
1665
  }, this),
1667
1666
  /* @__PURE__ */ l.jsxDEV("div", { className: "flex items-center gap-1", children: [
1668
1667
  n(
1669
- /* @__PURE__ */ l.jsxDEV(di, { size: 16 }, void 0, !1, {
1668
+ /* @__PURE__ */ l.jsxDEV(fi, { size: 16 }, void 0, !1, {
1670
1669
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/tool-bar/tool-bar-tiptap.tsx",
1671
- lineNumber: 142,
1670
+ lineNumber: 140,
1672
1671
  columnNumber: 21
1673
1672
  }, this),
1674
1673
  () => e.chain().focus().toggleBulletList().run(),
@@ -1677,9 +1676,9 @@ function Fi() {
1677
1676
  "Bullet List"
1678
1677
  ),
1679
1678
  n(
1680
- /* @__PURE__ */ l.jsxDEV(ci, { size: 16 }, void 0, !1, {
1679
+ /* @__PURE__ */ l.jsxDEV(ui, { size: 16 }, void 0, !1, {
1681
1680
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/tool-bar/tool-bar-tiptap.tsx",
1682
- lineNumber: 147,
1681
+ lineNumber: 145,
1683
1682
  columnNumber: 21
1684
1683
  }, this),
1685
1684
  () => e.chain().focus().toggleOrderedList().run(),
@@ -1688,9 +1687,9 @@ function Fi() {
1688
1687
  "Ordered List"
1689
1688
  ),
1690
1689
  n(
1691
- /* @__PURE__ */ l.jsxDEV(Si, { size: 16 }, void 0, !1, {
1690
+ /* @__PURE__ */ l.jsxDEV(wi, { size: 16 }, void 0, !1, {
1692
1691
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/tool-bar/tool-bar-tiptap.tsx",
1693
- lineNumber: 152,
1692
+ lineNumber: 150,
1694
1693
  columnNumber: 21
1695
1694
  }, this),
1696
1695
  () => e.chain().focus().toggleTaskList().run(),
@@ -1700,19 +1699,19 @@ function Fi() {
1700
1699
  )
1701
1700
  ] }, void 0, !0, {
1702
1701
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/tool-bar/tool-bar-tiptap.tsx",
1703
- lineNumber: 140,
1702
+ lineNumber: 138,
1704
1703
  columnNumber: 13
1705
1704
  }, this),
1706
1705
  /* @__PURE__ */ l.jsxDEV("div", { className: "h-5 w-[1px] bg-gray-300 mx-2" }, void 0, !1, {
1707
1706
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/tool-bar/tool-bar-tiptap.tsx",
1708
- lineNumber: 158,
1707
+ lineNumber: 156,
1709
1708
  columnNumber: 13
1710
1709
  }, this),
1711
1710
  /* @__PURE__ */ l.jsxDEV("div", { className: "flex items-center gap-1", children: [
1712
1711
  n(
1713
- /* @__PURE__ */ l.jsxDEV(gi, { size: 16 }, void 0, !1, {
1712
+ /* @__PURE__ */ l.jsxDEV(xi, { size: 16 }, void 0, !1, {
1714
1713
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/tool-bar/tool-bar-tiptap.tsx",
1715
- lineNumber: 163,
1714
+ lineNumber: 161,
1716
1715
  columnNumber: 21
1717
1716
  }, this),
1718
1717
  () => e.chain().focus().toggleBlockquote().run(),
@@ -1722,13 +1721,13 @@ function Fi() {
1722
1721
  ),
1723
1722
  /* @__PURE__ */ l.jsxDEV(Ui, { editor: e, buttonClass: t, activeClass: r }, void 0, !1, {
1724
1723
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/tool-bar/tool-bar-tiptap.tsx",
1725
- lineNumber: 167,
1724
+ lineNumber: 165,
1726
1725
  columnNumber: 17
1727
1726
  }, this),
1728
1727
  n(
1729
- /* @__PURE__ */ l.jsxDEV(mi, { size: 16 }, void 0, !1, {
1728
+ /* @__PURE__ */ l.jsxDEV(pi, { size: 16 }, void 0, !1, {
1730
1729
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/tool-bar/tool-bar-tiptap.tsx",
1731
- lineNumber: 169,
1730
+ lineNumber: 167,
1732
1731
  columnNumber: 21
1733
1732
  }, this),
1734
1733
  () => e.chain().focus().setHorizontalRule().run(),
@@ -1737,9 +1736,9 @@ function Fi() {
1737
1736
  "Horizontal Rule"
1738
1737
  ),
1739
1738
  n(
1740
- /* @__PURE__ */ l.jsxDEV(Kn, { size: 16 }, void 0, !1, {
1739
+ /* @__PURE__ */ l.jsxDEV(Gn, { size: 16 }, void 0, !1, {
1741
1740
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/tool-bar/tool-bar-tiptap.tsx",
1742
- lineNumber: 173,
1741
+ lineNumber: 171,
1743
1742
  columnNumber: 21
1744
1743
  }, this),
1745
1744
  () => e.chain().focus().setHardBreak().run(),
@@ -1749,19 +1748,19 @@ function Fi() {
1749
1748
  )
1750
1749
  ] }, void 0, !0, {
1751
1750
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/tool-bar/tool-bar-tiptap.tsx",
1752
- lineNumber: 161,
1751
+ lineNumber: 159,
1753
1752
  columnNumber: 13
1754
1753
  }, this),
1755
1754
  /* @__PURE__ */ l.jsxDEV("div", { className: "h-5 w-[1px] bg-gray-300 mx-2" }, void 0, !1, {
1756
1755
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/tool-bar/tool-bar-tiptap.tsx",
1757
- lineNumber: 178,
1756
+ lineNumber: 176,
1758
1757
  columnNumber: 13
1759
1758
  }, this),
1760
1759
  /* @__PURE__ */ l.jsxDEV("div", { className: "flex items-center gap-1", children: [
1761
1760
  n(
1762
- /* @__PURE__ */ l.jsxDEV($i, { size: 16 }, void 0, !1, {
1761
+ /* @__PURE__ */ l.jsxDEV(zi, { size: 16 }, void 0, !1, {
1763
1762
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/tool-bar/tool-bar-tiptap.tsx",
1764
- lineNumber: 183,
1763
+ lineNumber: 181,
1765
1764
  columnNumber: 21
1766
1765
  }, this),
1767
1766
  () => e.chain().focus().undo().run(),
@@ -1769,9 +1768,9 @@ function Fi() {
1769
1768
  !e.can().chain().focus().undo().run()
1770
1769
  ),
1771
1770
  n(
1772
- /* @__PURE__ */ l.jsxDEV(Ni, { size: 16 }, void 0, !1, {
1771
+ /* @__PURE__ */ l.jsxDEV(Ei, { size: 16 }, void 0, !1, {
1773
1772
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/tool-bar/tool-bar-tiptap.tsx",
1774
- lineNumber: 189,
1773
+ lineNumber: 187,
1775
1774
  columnNumber: 21
1776
1775
  }, this),
1777
1776
  () => e.chain().focus().redo().run(),
@@ -1780,18 +1779,18 @@ function Fi() {
1780
1779
  )
1781
1780
  ] }, void 0, !0, {
1782
1781
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/tool-bar/tool-bar-tiptap.tsx",
1783
- lineNumber: 181,
1782
+ lineNumber: 179,
1784
1783
  columnNumber: 13
1785
1784
  }, this),
1786
1785
  /* @__PURE__ */ l.jsxDEV("div", { className: "h-5 w-[1px] bg-gray-300 mx-2" }, void 0, !1, {
1787
1786
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/tool-bar/tool-bar-tiptap.tsx",
1788
- lineNumber: 196,
1787
+ lineNumber: 194,
1789
1788
  columnNumber: 13
1790
1789
  }, this),
1791
1790
  n(
1792
- /* @__PURE__ */ l.jsxDEV(ni, { size: 16 }, void 0, !1, {
1791
+ /* @__PURE__ */ l.jsxDEV(ii, { size: 16 }, void 0, !1, {
1793
1792
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/tool-bar/tool-bar-tiptap.tsx",
1794
- lineNumber: 199,
1793
+ lineNumber: 197,
1795
1794
  columnNumber: 17
1796
1795
  }, this),
1797
1796
  () => {
@@ -1811,31 +1810,31 @@ function Fi() {
1811
1810
  ),
1812
1811
  /* @__PURE__ */ l.jsxDEV("div", { className: "h-5 w-[1px] bg-gray-300 mx-2" }, void 0, !1, {
1813
1812
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/tool-bar/tool-bar-tiptap.tsx",
1814
- lineNumber: 217,
1813
+ lineNumber: 215,
1815
1814
  columnNumber: 13
1816
1815
  }, this),
1817
- /* @__PURE__ */ l.jsxDEV(Li, { editor: e }, void 0, !1, {
1816
+ /* @__PURE__ */ l.jsxDEV(Wi, { editor: e }, void 0, !1, {
1818
1817
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/tool-bar/tool-bar-tiptap.tsx",
1819
- lineNumber: 220,
1818
+ lineNumber: 218,
1820
1819
  columnNumber: 13
1821
1820
  }, this),
1822
1821
  /* @__PURE__ */ l.jsxDEV("div", { className: "h-5 w-[1px] bg-gray-300 mx-2" }, void 0, !1, {
1823
1822
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/tool-bar/tool-bar-tiptap.tsx",
1824
- lineNumber: 222,
1823
+ lineNumber: 220,
1825
1824
  columnNumber: 13
1826
1825
  }, this),
1827
- /* @__PURE__ */ l.jsxDEV(Hi, { editor: e }, void 0, !1, {
1826
+ /* @__PURE__ */ l.jsxDEV(Li, { editor: e }, void 0, !1, {
1828
1827
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/tool-bar/tool-bar-tiptap.tsx",
1829
- lineNumber: 223,
1828
+ lineNumber: 221,
1830
1829
  columnNumber: 13
1831
1830
  }, this)
1832
1831
  ] }, void 0, !0, {
1833
1832
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/tool-bar/tool-bar-tiptap.tsx",
1834
- lineNumber: 50,
1833
+ lineNumber: 48,
1835
1834
  columnNumber: 9
1836
1835
  }, this);
1837
1836
  }
1838
- const Cr = ({
1837
+ const Sr = ({
1839
1838
  title: e,
1840
1839
  childrenContent: t,
1841
1840
  editable: r,
@@ -1851,13 +1850,13 @@ const Cr = ({
1851
1850
  columnNumber: 9
1852
1851
  }, void 0) : null;
1853
1852
  return /* @__PURE__ */ l.jsxDEV("div", { children: [
1854
- r && s ? /* @__PURE__ */ l.jsxDEV(kt, { overlay: s, trigger: ["contextMenu"], children: t }, void 0, !1, {
1853
+ r && s ? /* @__PURE__ */ l.jsxDEV(Ct, { overlay: s, trigger: ["contextMenu"], children: t }, void 0, !1, {
1855
1854
  fileName: "E:/CyberSkill/cyber-editor/src/components/modal-edit.tsx",
1856
1855
  lineNumber: 28,
1857
1856
  columnNumber: 17
1858
1857
  }, void 0) : t,
1859
1858
  /* @__PURE__ */ l.jsxDEV(
1860
- fn,
1859
+ mn,
1861
1860
  {
1862
1861
  title: `Edit ${e}`,
1863
1862
  open: o,
@@ -1879,39 +1878,38 @@ const Cr = ({
1879
1878
  lineNumber: 26,
1880
1879
  columnNumber: 9
1881
1880
  }, void 0);
1882
- }, Bi = () => {
1883
- const [e, t] = he(!1), { editor: r } = Ct();
1884
- if (!r) return null;
1885
- const n = (b) => {
1886
- b.preventDefault();
1887
- }, [o, a] = he("#f3f4f6"), [s, u] = he("#f3f4f6"), m = (b) => {
1888
- a(b.toHexString());
1889
- }, p = (b) => {
1890
- u(b.toHexString());
1881
+ }, Xi = ({ node: e, editor: t }) => {
1882
+ const [r, n] = he(!1), [o, a] = he(e.attrs.bgColor || "#f3f4f6"), [s, u] = he(e.attrs.titleColor || "#000000"), m = (v) => {
1883
+ v.preventDefault();
1884
+ }, p = (v) => {
1885
+ a(v.toHexString());
1886
+ }, y = (v) => {
1887
+ u(v.toHexString());
1891
1888
  };
1892
- return /* @__PURE__ */ l.jsxDEV(gr, { className: "accordion-wrapper", children: /* @__PURE__ */ l.jsxDEV(
1893
- Cr,
1889
+ return /* @__PURE__ */ l.jsxDEV(yr, { className: "accordion-wrapper", children: /* @__PURE__ */ l.jsxDEV(
1890
+ Sr,
1894
1891
  {
1895
1892
  title: "Accordion",
1896
1893
  childrenContent: /* @__PURE__ */ l.jsxDEV(
1897
1894
  "div",
1898
1895
  {
1899
1896
  className: "my-4 transition-all duration-300 border rounded-lg shadow-sm",
1900
- onContextMenu: n,
1897
+ onContextMenu: m,
1901
1898
  children: [
1902
1899
  /* @__PURE__ */ l.jsxDEV(
1903
1900
  "div",
1904
1901
  {
1905
1902
  className: "flex items-center justify-between p-4 transition-colors accordion-header",
1906
1903
  style: { backgroundColor: o },
1907
- onClick: () => t(!e),
1904
+ onClick: () => n(!r),
1908
1905
  children: [
1909
1906
  /* @__PURE__ */ l.jsxDEV(
1910
1907
  "input",
1911
1908
  {
1912
1909
  className: "w-full text-lg font-medium bg-transparent border-none outline-none",
1913
1910
  style: { color: s },
1914
- disabled: !r.isEditable,
1911
+ defaultValue: e.attrs.title || "Accordion Title",
1912
+ disabled: !t.isEditable,
1915
1913
  suppressContentEditableWarning: !0,
1916
1914
  contentEditable: !0,
1917
1915
  placeholder: "Accordion title"
@@ -1920,7 +1918,7 @@ const Cr = ({
1920
1918
  !1,
1921
1919
  {
1922
1920
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/accordion/accordion-view.tsx",
1923
- lineNumber: 45,
1921
+ lineNumber: 38,
1924
1922
  columnNumber: 29
1925
1923
  },
1926
1924
  void 0
@@ -1928,14 +1926,14 @@ const Cr = ({
1928
1926
  /* @__PURE__ */ l.jsxDEV(
1929
1927
  Un,
1930
1928
  {
1931
- className: `transition-transform duration-300 ${e ? "rotate-180" : ""}`,
1929
+ className: `transition-transform duration-300 ${r ? "rotate-180" : ""}`,
1932
1930
  size: 20
1933
1931
  },
1934
1932
  void 0,
1935
1933
  !1,
1936
1934
  {
1937
1935
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/accordion/accordion-view.tsx",
1938
- lineNumber: 53,
1936
+ lineNumber: 47,
1939
1937
  columnNumber: 29
1940
1938
  },
1941
1939
  void 0
@@ -1946,7 +1944,7 @@ const Cr = ({
1946
1944
  !0,
1947
1945
  {
1948
1946
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/accordion/accordion-view.tsx",
1949
- lineNumber: 40,
1947
+ lineNumber: 33,
1950
1948
  columnNumber: 25
1951
1949
  },
1952
1950
  void 0
@@ -1954,23 +1952,23 @@ const Cr = ({
1954
1952
  /* @__PURE__ */ l.jsxDEV(
1955
1953
  "div",
1956
1954
  {
1957
- className: `overflow-hidden duration-300 ease-in-out ${e ? "max-h-96 opacity-100" : "max-h-0 opacity-0"} `,
1955
+ className: `overflow-hidden duration-300 ease-in-out ${r ? "max-h-96 opacity-100" : "max-h-0 opacity-0"} `,
1958
1956
  children: /* @__PURE__ */ l.jsxDEV("div", { className: "p-4 border-t", children: /* @__PURE__ */ l.jsxDEV(
1959
- cn,
1957
+ ln,
1960
1958
  {
1961
- contentEditable: !0
1959
+ contentEditable: t.isEditable
1962
1960
  },
1963
1961
  void 0,
1964
1962
  !1,
1965
1963
  {
1966
1964
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/accordion/accordion-view.tsx",
1967
- lineNumber: 63,
1965
+ lineNumber: 57,
1968
1966
  columnNumber: 33
1969
1967
  },
1970
1968
  void 0
1971
1969
  ) }, void 0, !1, {
1972
1970
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/accordion/accordion-view.tsx",
1973
- lineNumber: 62,
1971
+ lineNumber: 56,
1974
1972
  columnNumber: 29
1975
1973
  }, void 0)
1976
1974
  },
@@ -1978,7 +1976,7 @@ const Cr = ({
1978
1976
  !1,
1979
1977
  {
1980
1978
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/accordion/accordion-view.tsx",
1981
- lineNumber: 59,
1979
+ lineNumber: 53,
1982
1980
  columnNumber: 25
1983
1981
  },
1984
1982
  void 0
@@ -1989,18 +1987,18 @@ const Cr = ({
1989
1987
  !0,
1990
1988
  {
1991
1989
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/accordion/accordion-view.tsx",
1992
- lineNumber: 36,
1990
+ lineNumber: 29,
1993
1991
  columnNumber: 21
1994
1992
  },
1995
1993
  void 0
1996
1994
  ),
1997
- editable: r.isEditable,
1995
+ editable: t.isEditable,
1998
1996
  childrenEdit: /* @__PURE__ */ l.jsxDEV("div", { className: "px-6 py-4 space-y-6 rounded-lg bg-gray-50", children: [
1999
1997
  /* @__PURE__ */ l.jsxDEV("div", { className: "grid grid-cols-1 gap-6", children: [
2000
1998
  /* @__PURE__ */ l.jsxDEV("div", { className: "flex flex-col space-y-2", children: [
2001
1999
  /* @__PURE__ */ l.jsxDEV("label", { className: "font-medium text-gray-700", children: "Background Color" }, void 0, !1, {
2002
2000
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/accordion/accordion-view.tsx",
2003
- lineNumber: 75,
2001
+ lineNumber: 69,
2004
2002
  columnNumber: 33
2005
2003
  }, void 0),
2006
2004
  /* @__PURE__ */ l.jsxDEV("div", { className: "flex items-center space-x-3", children: [
@@ -2014,30 +2012,30 @@ const Cr = ({
2014
2012
  !1,
2015
2013
  {
2016
2014
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/accordion/accordion-view.tsx",
2017
- lineNumber: 77,
2015
+ lineNumber: 71,
2018
2016
  columnNumber: 37
2019
2017
  },
2020
2018
  void 0
2021
2019
  ),
2022
- /* @__PURE__ */ l.jsxDEV(Ue, { value: o, onChange: m }, void 0, !1, {
2020
+ /* @__PURE__ */ l.jsxDEV(Fe, { value: o, onChange: p }, void 0, !1, {
2023
2021
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/accordion/accordion-view.tsx",
2024
- lineNumber: 81,
2022
+ lineNumber: 75,
2025
2023
  columnNumber: 37
2026
2024
  }, void 0)
2027
2025
  ] }, void 0, !0, {
2028
2026
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/accordion/accordion-view.tsx",
2029
- lineNumber: 76,
2027
+ lineNumber: 70,
2030
2028
  columnNumber: 33
2031
2029
  }, void 0)
2032
2030
  ] }, void 0, !0, {
2033
2031
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/accordion/accordion-view.tsx",
2034
- lineNumber: 74,
2032
+ lineNumber: 68,
2035
2033
  columnNumber: 29
2036
2034
  }, void 0),
2037
2035
  /* @__PURE__ */ l.jsxDEV("div", { className: "flex flex-col space-y-2", children: [
2038
2036
  /* @__PURE__ */ l.jsxDEV("label", { className: "font-medium text-gray-700", children: "Title Color" }, void 0, !1, {
2039
2037
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/accordion/accordion-view.tsx",
2040
- lineNumber: 86,
2038
+ lineNumber: 80,
2041
2039
  columnNumber: 33
2042
2040
  }, void 0),
2043
2041
  /* @__PURE__ */ l.jsxDEV("div", { className: "flex items-center space-x-3", children: [
@@ -2051,58 +2049,58 @@ const Cr = ({
2051
2049
  !1,
2052
2050
  {
2053
2051
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/accordion/accordion-view.tsx",
2054
- lineNumber: 88,
2052
+ lineNumber: 82,
2055
2053
  columnNumber: 37
2056
2054
  },
2057
2055
  void 0
2058
2056
  ),
2059
- /* @__PURE__ */ l.jsxDEV(Ue, { value: s, onChange: p }, void 0, !1, {
2057
+ /* @__PURE__ */ l.jsxDEV(Fe, { value: s, onChange: y }, void 0, !1, {
2060
2058
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/accordion/accordion-view.tsx",
2061
- lineNumber: 92,
2059
+ lineNumber: 86,
2062
2060
  columnNumber: 37
2063
2061
  }, void 0)
2064
2062
  ] }, void 0, !0, {
2065
2063
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/accordion/accordion-view.tsx",
2066
- lineNumber: 87,
2064
+ lineNumber: 81,
2067
2065
  columnNumber: 33
2068
2066
  }, void 0)
2069
2067
  ] }, void 0, !0, {
2070
2068
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/accordion/accordion-view.tsx",
2071
- lineNumber: 85,
2069
+ lineNumber: 79,
2072
2070
  columnNumber: 29
2073
2071
  }, void 0)
2074
2072
  ] }, void 0, !0, {
2075
2073
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/accordion/accordion-view.tsx",
2076
- lineNumber: 73,
2074
+ lineNumber: 67,
2077
2075
  columnNumber: 25
2078
2076
  }, void 0),
2079
2077
  /* @__PURE__ */ l.jsxDEV("div", { className: "pt-4 border-t border-gray-200", children: /* @__PURE__ */ l.jsxDEV("div", { className: "p-3 bg-white border rounded-md", children: [
2080
2078
  /* @__PURE__ */ l.jsxDEV("div", { className: "text-sm text-gray-600", children: "Preview" }, void 0, !1, {
2081
2079
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/accordion/accordion-view.tsx",
2082
- lineNumber: 99,
2080
+ lineNumber: 93,
2083
2081
  columnNumber: 33
2084
2082
  }, void 0),
2085
2083
  /* @__PURE__ */ l.jsxDEV("div", { className: "p-2 mt-2 rounded", style: { backgroundColor: o }, children: /* @__PURE__ */ l.jsxDEV("span", { style: { color: s, fontWeight: 500 }, children: "Accordion Title" }, void 0, !1, {
2086
2084
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/accordion/accordion-view.tsx",
2087
- lineNumber: 101,
2085
+ lineNumber: 95,
2088
2086
  columnNumber: 37
2089
2087
  }, void 0) }, void 0, !1, {
2090
2088
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/accordion/accordion-view.tsx",
2091
- lineNumber: 100,
2089
+ lineNumber: 94,
2092
2090
  columnNumber: 33
2093
2091
  }, void 0)
2094
2092
  ] }, void 0, !0, {
2095
2093
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/accordion/accordion-view.tsx",
2096
- lineNumber: 98,
2094
+ lineNumber: 92,
2097
2095
  columnNumber: 29
2098
2096
  }, void 0) }, void 0, !1, {
2099
2097
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/accordion/accordion-view.tsx",
2100
- lineNumber: 97,
2098
+ lineNumber: 91,
2101
2099
  columnNumber: 25
2102
2100
  }, void 0)
2103
2101
  ] }, void 0, !0, {
2104
2102
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/accordion/accordion-view.tsx",
2105
- lineNumber: 72,
2103
+ lineNumber: 66,
2106
2104
  columnNumber: 21
2107
2105
  }, void 0)
2108
2106
  },
@@ -2110,16 +2108,16 @@ const Cr = ({
2110
2108
  !1,
2111
2109
  {
2112
2110
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/accordion/accordion-view.tsx",
2113
- lineNumber: 33,
2111
+ lineNumber: 26,
2114
2112
  columnNumber: 13
2115
2113
  },
2116
2114
  void 0
2117
2115
  ) }, void 0, !1, {
2118
2116
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/accordion/accordion-view.tsx",
2119
- lineNumber: 32,
2117
+ lineNumber: 25,
2120
2118
  columnNumber: 9
2121
2119
  }, void 0);
2122
- }, Xi = Nr.create({
2120
+ }, Ki = gr.create({
2123
2121
  name: "accordion",
2124
2122
  group: "block",
2125
2123
  content: "block+",
@@ -2128,6 +2126,19 @@ const Cr = ({
2128
2126
  selectable: !0,
2129
2127
  inline: !1,
2130
2128
  defining: !0,
2129
+ addAttributes() {
2130
+ return {
2131
+ title: {
2132
+ default: "Accordion Title"
2133
+ },
2134
+ bgColor: {
2135
+ default: "#f3f4f6"
2136
+ },
2137
+ titleColor: {
2138
+ default: "#000000"
2139
+ }
2140
+ };
2141
+ },
2131
2142
  parseHTML() {
2132
2143
  return [
2133
2144
  {
@@ -2136,21 +2147,27 @@ const Cr = ({
2136
2147
  ];
2137
2148
  },
2138
2149
  renderHTML({ HTMLAttributes: e }) {
2139
- return ["accordion", Er(e)];
2150
+ return ["accordion", xr(e)];
2140
2151
  },
2141
2152
  addNodeView() {
2142
- return xr(Bi);
2153
+ return vr(Xi);
2143
2154
  },
2144
2155
  addCommands() {
2145
2156
  return {
2146
2157
  setAccordion: (e) => ({ chain: t }) => t().insertContent({
2147
2158
  type: "accordion",
2148
- attrs: e
2159
+ attrs: e,
2160
+ content: [
2161
+ {
2162
+ type: "paragraph",
2163
+ content: [{ type: "text", text: "Accordion content" }]
2164
+ }
2165
+ ]
2149
2166
  }).run()
2150
2167
  };
2151
2168
  }
2152
2169
  });
2153
- var Dt = { exports: {} }, ze = {}, Be = { exports: {} }, kr = {}, xt = { exports: {} }, qe = { exports: {} }, U = {};
2170
+ var kt = { exports: {} }, ze = {}, Be = { exports: {} }, wr = {}, xt = { exports: {} }, qe = { exports: {} }, F = {};
2154
2171
  /** @license React v16.13.1
2155
2172
  * react-is.production.min.js
2156
2173
  *
@@ -2159,12 +2176,12 @@ var Dt = { exports: {} }, ze = {}, Be = { exports: {} }, kr = {}, xt = { exports
2159
2176
  * This source code is licensed under the MIT license found in the
2160
2177
  * LICENSE file in the root directory of this source tree.
2161
2178
  */
2162
- var tr;
2163
- function Ki() {
2164
- if (tr) return U;
2165
- tr = 1;
2166
- var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, a = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, u = e ? Symbol.for("react.context") : 60110, m = e ? Symbol.for("react.async_mode") : 60111, p = e ? Symbol.for("react.concurrent_mode") : 60111, b = e ? Symbol.for("react.forward_ref") : 60112, N = e ? Symbol.for("react.suspense") : 60113, O = e ? Symbol.for("react.suspense_list") : 60120, S = e ? Symbol.for("react.memo") : 60115, A = e ? Symbol.for("react.lazy") : 60116, $ = e ? Symbol.for("react.block") : 60121, B = e ? Symbol.for("react.fundamental") : 60117, W = e ? Symbol.for("react.responder") : 60118, v = e ? Symbol.for("react.scope") : 60119;
2167
- function x(c) {
2179
+ var er;
2180
+ function Gi() {
2181
+ if (er) return F;
2182
+ er = 1;
2183
+ var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, a = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, u = e ? Symbol.for("react.context") : 60110, m = e ? Symbol.for("react.async_mode") : 60111, p = e ? Symbol.for("react.concurrent_mode") : 60111, y = e ? Symbol.for("react.forward_ref") : 60112, v = e ? Symbol.for("react.suspense") : 60113, O = e ? Symbol.for("react.suspense_list") : 60120, S = e ? Symbol.for("react.memo") : 60115, A = e ? Symbol.for("react.lazy") : 60116, $ = e ? Symbol.for("react.block") : 60121, B = e ? Symbol.for("react.fundamental") : 60117, W = e ? Symbol.for("react.responder") : 60118, g = e ? Symbol.for("react.scope") : 60119;
2184
+ function N(c) {
2168
2185
  if (typeof c == "object" && c !== null) {
2169
2186
  var Y = c.$$typeof;
2170
2187
  switch (Y) {
@@ -2175,12 +2192,12 @@ function Ki() {
2175
2192
  case n:
2176
2193
  case a:
2177
2194
  case o:
2178
- case N:
2195
+ case v:
2179
2196
  return c;
2180
2197
  default:
2181
2198
  switch (c = c && c.$$typeof, c) {
2182
2199
  case u:
2183
- case b:
2200
+ case y:
2184
2201
  case A:
2185
2202
  case S:
2186
2203
  case s:
@@ -2195,37 +2212,37 @@ function Ki() {
2195
2212
  }
2196
2213
  }
2197
2214
  function E(c) {
2198
- return x(c) === p;
2215
+ return N(c) === p;
2199
2216
  }
2200
- return U.AsyncMode = m, U.ConcurrentMode = p, U.ContextConsumer = u, U.ContextProvider = s, U.Element = t, U.ForwardRef = b, U.Fragment = n, U.Lazy = A, U.Memo = S, U.Portal = r, U.Profiler = a, U.StrictMode = o, U.Suspense = N, U.isAsyncMode = function(c) {
2201
- return E(c) || x(c) === m;
2202
- }, U.isConcurrentMode = E, U.isContextConsumer = function(c) {
2203
- return x(c) === u;
2204
- }, U.isContextProvider = function(c) {
2205
- return x(c) === s;
2206
- }, U.isElement = function(c) {
2217
+ return F.AsyncMode = m, F.ConcurrentMode = p, F.ContextConsumer = u, F.ContextProvider = s, F.Element = t, F.ForwardRef = y, F.Fragment = n, F.Lazy = A, F.Memo = S, F.Portal = r, F.Profiler = a, F.StrictMode = o, F.Suspense = v, F.isAsyncMode = function(c) {
2218
+ return E(c) || N(c) === m;
2219
+ }, F.isConcurrentMode = E, F.isContextConsumer = function(c) {
2220
+ return N(c) === u;
2221
+ }, F.isContextProvider = function(c) {
2222
+ return N(c) === s;
2223
+ }, F.isElement = function(c) {
2207
2224
  return typeof c == "object" && c !== null && c.$$typeof === t;
2208
- }, U.isForwardRef = function(c) {
2209
- return x(c) === b;
2210
- }, U.isFragment = function(c) {
2211
- return x(c) === n;
2212
- }, U.isLazy = function(c) {
2213
- return x(c) === A;
2214
- }, U.isMemo = function(c) {
2215
- return x(c) === S;
2216
- }, U.isPortal = function(c) {
2217
- return x(c) === r;
2218
- }, U.isProfiler = function(c) {
2219
- return x(c) === a;
2220
- }, U.isStrictMode = function(c) {
2221
- return x(c) === o;
2222
- }, U.isSuspense = function(c) {
2223
- return x(c) === N;
2224
- }, U.isValidElementType = function(c) {
2225
- return typeof c == "string" || typeof c == "function" || c === n || c === p || c === a || c === o || c === N || c === O || typeof c == "object" && c !== null && (c.$$typeof === A || c.$$typeof === S || c.$$typeof === s || c.$$typeof === u || c.$$typeof === b || c.$$typeof === B || c.$$typeof === W || c.$$typeof === v || c.$$typeof === $);
2226
- }, U.typeOf = x, U;
2225
+ }, F.isForwardRef = function(c) {
2226
+ return N(c) === y;
2227
+ }, F.isFragment = function(c) {
2228
+ return N(c) === n;
2229
+ }, F.isLazy = function(c) {
2230
+ return N(c) === A;
2231
+ }, F.isMemo = function(c) {
2232
+ return N(c) === S;
2233
+ }, F.isPortal = function(c) {
2234
+ return N(c) === r;
2235
+ }, F.isProfiler = function(c) {
2236
+ return N(c) === a;
2237
+ }, F.isStrictMode = function(c) {
2238
+ return N(c) === o;
2239
+ }, F.isSuspense = function(c) {
2240
+ return N(c) === v;
2241
+ }, F.isValidElementType = function(c) {
2242
+ return typeof c == "string" || typeof c == "function" || c === n || c === p || c === a || c === o || c === v || c === O || typeof c == "object" && c !== null && (c.$$typeof === A || c.$$typeof === S || c.$$typeof === s || c.$$typeof === u || c.$$typeof === y || c.$$typeof === B || c.$$typeof === W || c.$$typeof === g || c.$$typeof === $);
2243
+ }, F.typeOf = N, F;
2227
2244
  }
2228
- var F = {};
2245
+ var U = {};
2229
2246
  /** @license React v16.13.1
2230
2247
  * react-is.development.js
2231
2248
  *
@@ -2234,37 +2251,37 @@ var F = {};
2234
2251
  * This source code is licensed under the MIT license found in the
2235
2252
  * LICENSE file in the root directory of this source tree.
2236
2253
  */
2237
- var rr;
2238
- function Gi() {
2239
- return rr || (rr = 1, process.env.NODE_ENV !== "production" && function() {
2240
- var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, a = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, u = e ? Symbol.for("react.context") : 60110, m = e ? Symbol.for("react.async_mode") : 60111, p = e ? Symbol.for("react.concurrent_mode") : 60111, b = e ? Symbol.for("react.forward_ref") : 60112, N = e ? Symbol.for("react.suspense") : 60113, O = e ? Symbol.for("react.suspense_list") : 60120, S = e ? Symbol.for("react.memo") : 60115, A = e ? Symbol.for("react.lazy") : 60116, $ = e ? Symbol.for("react.block") : 60121, B = e ? Symbol.for("react.fundamental") : 60117, W = e ? Symbol.for("react.responder") : 60118, v = e ? Symbol.for("react.scope") : 60119;
2241
- function x(h) {
2242
- return typeof h == "string" || typeof h == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
2243
- h === n || h === p || h === a || h === o || h === N || h === O || typeof h == "object" && h !== null && (h.$$typeof === A || h.$$typeof === S || h.$$typeof === s || h.$$typeof === u || h.$$typeof === b || h.$$typeof === B || h.$$typeof === W || h.$$typeof === v || h.$$typeof === $);
2254
+ var tr;
2255
+ function Ji() {
2256
+ return tr || (tr = 1, process.env.NODE_ENV !== "production" && function() {
2257
+ var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, a = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, u = e ? Symbol.for("react.context") : 60110, m = e ? Symbol.for("react.async_mode") : 60111, p = e ? Symbol.for("react.concurrent_mode") : 60111, y = e ? Symbol.for("react.forward_ref") : 60112, v = e ? Symbol.for("react.suspense") : 60113, O = e ? Symbol.for("react.suspense_list") : 60120, S = e ? Symbol.for("react.memo") : 60115, A = e ? Symbol.for("react.lazy") : 60116, $ = e ? Symbol.for("react.block") : 60121, B = e ? Symbol.for("react.fundamental") : 60117, W = e ? Symbol.for("react.responder") : 60118, g = e ? Symbol.for("react.scope") : 60119;
2258
+ function N(b) {
2259
+ return typeof b == "string" || typeof b == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
2260
+ b === n || b === p || b === a || b === o || b === v || b === O || typeof b == "object" && b !== null && (b.$$typeof === A || b.$$typeof === S || b.$$typeof === s || b.$$typeof === u || b.$$typeof === y || b.$$typeof === B || b.$$typeof === W || b.$$typeof === g || b.$$typeof === $);
2244
2261
  }
2245
- function E(h) {
2246
- if (typeof h == "object" && h !== null) {
2247
- var pe = h.$$typeof;
2262
+ function E(b) {
2263
+ if (typeof b == "object" && b !== null) {
2264
+ var pe = b.$$typeof;
2248
2265
  switch (pe) {
2249
2266
  case t:
2250
- var Re = h.type;
2267
+ var Re = b.type;
2251
2268
  switch (Re) {
2252
2269
  case m:
2253
2270
  case p:
2254
2271
  case n:
2255
2272
  case a:
2256
2273
  case o:
2257
- case N:
2274
+ case v:
2258
2275
  return Re;
2259
2276
  default:
2260
- var De = Re && Re.$$typeof;
2261
- switch (De) {
2277
+ var ke = Re && Re.$$typeof;
2278
+ switch (ke) {
2262
2279
  case u:
2263
- case b:
2280
+ case y:
2264
2281
  case A:
2265
2282
  case S:
2266
2283
  case s:
2267
- return De;
2284
+ return ke;
2268
2285
  default:
2269
2286
  return pe;
2270
2287
  }
@@ -2274,62 +2291,62 @@ function Gi() {
2274
2291
  }
2275
2292
  }
2276
2293
  }
2277
- var c = m, Y = p, P = u, Q = s, de = t, fe = b, ye = n, Ee = A, ee = S, Z = r, me = a, oe = o, le = N, ge = !1;
2278
- function Se(h) {
2279
- return ge || (ge = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), f(h) || E(h) === m;
2294
+ var c = m, Y = p, T = u, Q = s, de = t, fe = y, ye = n, Ee = A, ee = S, Z = r, me = a, oe = o, le = v, ge = !1;
2295
+ function Se(b) {
2296
+ return ge || (ge = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), f(b) || E(b) === m;
2280
2297
  }
2281
- function f(h) {
2282
- return E(h) === p;
2298
+ function f(b) {
2299
+ return E(b) === p;
2283
2300
  }
2284
- function g(h) {
2285
- return E(h) === u;
2301
+ function x(b) {
2302
+ return E(b) === u;
2286
2303
  }
2287
- function T(h) {
2288
- return E(h) === s;
2304
+ function P(b) {
2305
+ return E(b) === s;
2289
2306
  }
2290
- function R(h) {
2291
- return typeof h == "object" && h !== null && h.$$typeof === t;
2307
+ function R(b) {
2308
+ return typeof b == "object" && b !== null && b.$$typeof === t;
2292
2309
  }
2293
- function C(h) {
2294
- return E(h) === b;
2310
+ function C(b) {
2311
+ return E(b) === y;
2295
2312
  }
2296
- function z(h) {
2297
- return E(h) === n;
2313
+ function z(b) {
2314
+ return E(b) === n;
2298
2315
  }
2299
- function k(h) {
2300
- return E(h) === A;
2316
+ function k(b) {
2317
+ return E(b) === A;
2301
2318
  }
2302
- function _(h) {
2303
- return E(h) === S;
2319
+ function _(b) {
2320
+ return E(b) === S;
2304
2321
  }
2305
- function j(h) {
2306
- return E(h) === r;
2322
+ function j(b) {
2323
+ return E(b) === r;
2307
2324
  }
2308
- function H(h) {
2309
- return E(h) === a;
2325
+ function H(b) {
2326
+ return E(b) === a;
2310
2327
  }
2311
- function M(h) {
2312
- return E(h) === o;
2328
+ function M(b) {
2329
+ return E(b) === o;
2313
2330
  }
2314
- function te(h) {
2315
- return E(h) === N;
2331
+ function te(b) {
2332
+ return E(b) === v;
2316
2333
  }
2317
- F.AsyncMode = c, F.ConcurrentMode = Y, F.ContextConsumer = P, F.ContextProvider = Q, F.Element = de, F.ForwardRef = fe, F.Fragment = ye, F.Lazy = Ee, F.Memo = ee, F.Portal = Z, F.Profiler = me, F.StrictMode = oe, F.Suspense = le, F.isAsyncMode = Se, F.isConcurrentMode = f, F.isContextConsumer = g, F.isContextProvider = T, F.isElement = R, F.isForwardRef = C, F.isFragment = z, F.isLazy = k, F.isMemo = _, F.isPortal = j, F.isProfiler = H, F.isStrictMode = M, F.isSuspense = te, F.isValidElementType = x, F.typeOf = E;
2318
- }()), F;
2334
+ U.AsyncMode = c, U.ConcurrentMode = Y, U.ContextConsumer = T, U.ContextProvider = Q, U.Element = de, U.ForwardRef = fe, U.Fragment = ye, U.Lazy = Ee, U.Memo = ee, U.Portal = Z, U.Profiler = me, U.StrictMode = oe, U.Suspense = le, U.isAsyncMode = Se, U.isConcurrentMode = f, U.isContextConsumer = x, U.isContextProvider = P, U.isElement = R, U.isForwardRef = C, U.isFragment = z, U.isLazy = k, U.isMemo = _, U.isPortal = j, U.isProfiler = H, U.isStrictMode = M, U.isSuspense = te, U.isValidElementType = N, U.typeOf = E;
2335
+ }()), U;
2319
2336
  }
2320
- var nr;
2321
- function Dr() {
2322
- return nr || (nr = 1, process.env.NODE_ENV === "production" ? qe.exports = Ki() : qe.exports = Gi()), qe.exports;
2337
+ var rr;
2338
+ function Cr() {
2339
+ return rr || (rr = 1, process.env.NODE_ENV === "production" ? qe.exports = Gi() : qe.exports = Ji()), qe.exports;
2323
2340
  }
2324
2341
  /*
2325
2342
  object-assign
2326
2343
  (c) Sindre Sorhus
2327
2344
  @license MIT
2328
2345
  */
2329
- var at, ir;
2330
- function Ji() {
2331
- if (ir) return at;
2332
- ir = 1;
2346
+ var at, nr;
2347
+ function Zi() {
2348
+ if (nr) return at;
2349
+ nr = 1;
2333
2350
  var e = Object.getOwnPropertySymbols, t = Object.prototype.hasOwnProperty, r = Object.prototype.propertyIsEnumerable;
2334
2351
  function n(a) {
2335
2352
  if (a == null)
@@ -2345,24 +2362,24 @@ function Ji() {
2345
2362
  return !1;
2346
2363
  for (var s = {}, u = 0; u < 10; u++)
2347
2364
  s["_" + String.fromCharCode(u)] = u;
2348
- var m = Object.getOwnPropertyNames(s).map(function(b) {
2349
- return s[b];
2365
+ var m = Object.getOwnPropertyNames(s).map(function(y) {
2366
+ return s[y];
2350
2367
  });
2351
2368
  if (m.join("") !== "0123456789")
2352
2369
  return !1;
2353
2370
  var p = {};
2354
- return "abcdefghijklmnopqrst".split("").forEach(function(b) {
2355
- p[b] = b;
2371
+ return "abcdefghijklmnopqrst".split("").forEach(function(y) {
2372
+ p[y] = y;
2356
2373
  }), Object.keys(Object.assign({}, p)).join("") === "abcdefghijklmnopqrst";
2357
2374
  } catch {
2358
2375
  return !1;
2359
2376
  }
2360
2377
  }
2361
2378
  return at = o() ? Object.assign : function(a, s) {
2362
- for (var u, m = n(a), p, b = 1; b < arguments.length; b++) {
2363
- u = Object(arguments[b]);
2364
- for (var N in u)
2365
- t.call(u, N) && (m[N] = u[N]);
2379
+ for (var u, m = n(a), p, y = 1; y < arguments.length; y++) {
2380
+ u = Object(arguments[y]);
2381
+ for (var v in u)
2382
+ t.call(u, v) && (m[v] = u[v]);
2366
2383
  if (e) {
2367
2384
  p = e(u);
2368
2385
  for (var O = 0; O < p.length; O++)
@@ -2372,25 +2389,25 @@ function Ji() {
2372
2389
  return m;
2373
2390
  }, at;
2374
2391
  }
2375
- var st, or;
2376
- function _t() {
2377
- if (or) return st;
2378
- or = 1;
2392
+ var st, ir;
2393
+ function Dt() {
2394
+ if (ir) return st;
2395
+ ir = 1;
2379
2396
  var e = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
2380
2397
  return st = e, st;
2381
2398
  }
2382
- var lt, ar;
2383
- function _r() {
2384
- return ar || (ar = 1, lt = Function.call.bind(Object.prototype.hasOwnProperty)), lt;
2399
+ var lt, or;
2400
+ function kr() {
2401
+ return or || (or = 1, lt = Function.call.bind(Object.prototype.hasOwnProperty)), lt;
2385
2402
  }
2386
- var ct, sr;
2387
- function Zi() {
2388
- if (sr) return ct;
2389
- sr = 1;
2403
+ var ct, ar;
2404
+ function Qi() {
2405
+ if (ar) return ct;
2406
+ ar = 1;
2390
2407
  var e = function() {
2391
2408
  };
2392
2409
  if (process.env.NODE_ENV !== "production") {
2393
- var t = _t(), r = {}, n = _r();
2410
+ var t = Dt(), r = {}, n = kr();
2394
2411
  e = function(a) {
2395
2412
  var s = "Warning: " + a;
2396
2413
  typeof console < "u" && console.error(s);
@@ -2402,27 +2419,27 @@ function Zi() {
2402
2419
  }
2403
2420
  function o(a, s, u, m, p) {
2404
2421
  if (process.env.NODE_ENV !== "production") {
2405
- for (var b in a)
2406
- if (n(a, b)) {
2407
- var N;
2422
+ for (var y in a)
2423
+ if (n(a, y)) {
2424
+ var v;
2408
2425
  try {
2409
- if (typeof a[b] != "function") {
2426
+ if (typeof a[y] != "function") {
2410
2427
  var O = Error(
2411
- (m || "React class") + ": " + u + " type `" + b + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof a[b] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
2428
+ (m || "React class") + ": " + u + " type `" + y + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof a[y] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
2412
2429
  );
2413
2430
  throw O.name = "Invariant Violation", O;
2414
2431
  }
2415
- N = a[b](s, b, m, u, null, t);
2432
+ v = a[y](s, y, m, u, null, t);
2416
2433
  } catch (A) {
2417
- N = A;
2434
+ v = A;
2418
2435
  }
2419
- if (N && !(N instanceof Error) && e(
2420
- (m || "React class") + ": type specification of " + u + " `" + b + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof N + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
2421
- ), N instanceof Error && !(N.message in r)) {
2422
- r[N.message] = !0;
2436
+ if (v && !(v instanceof Error) && e(
2437
+ (m || "React class") + ": type specification of " + u + " `" + y + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof v + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
2438
+ ), v instanceof Error && !(v.message in r)) {
2439
+ r[v.message] = !0;
2423
2440
  var S = p ? p() : "";
2424
2441
  e(
2425
- "Failed " + u + " type: " + N.message + (S ?? "")
2442
+ "Failed " + u + " type: " + v.message + (S ?? "")
2426
2443
  );
2427
2444
  }
2428
2445
  }
@@ -2432,11 +2449,11 @@ function Zi() {
2432
2449
  process.env.NODE_ENV !== "production" && (r = {});
2433
2450
  }, ct = o, ct;
2434
2451
  }
2435
- var ut, lr;
2436
- function Qi() {
2437
- if (lr) return ut;
2438
- lr = 1;
2439
- var e = Dr(), t = Ji(), r = _t(), n = _r(), o = Zi(), a = function() {
2452
+ var ut, sr;
2453
+ function eo() {
2454
+ if (sr) return ut;
2455
+ sr = 1;
2456
+ var e = Cr(), t = Zi(), r = Dt(), n = kr(), o = Qi(), a = function() {
2440
2457
  };
2441
2458
  process.env.NODE_ENV !== "production" && (a = function(u) {
2442
2459
  var m = "Warning: " + u;
@@ -2450,11 +2467,11 @@ function Qi() {
2450
2467
  return null;
2451
2468
  }
2452
2469
  return ut = function(u, m) {
2453
- var p = typeof Symbol == "function" && Symbol.iterator, b = "@@iterator";
2454
- function N(f) {
2455
- var g = f && (p && f[p] || f[b]);
2456
- if (typeof g == "function")
2457
- return g;
2470
+ var p = typeof Symbol == "function" && Symbol.iterator, y = "@@iterator";
2471
+ function v(f) {
2472
+ var x = f && (p && f[p] || f[y]);
2473
+ if (typeof x == "function")
2474
+ return x;
2458
2475
  }
2459
2476
  var O = "<<anonymous>>", S = {
2460
2477
  array: W("array"),
@@ -2465,41 +2482,41 @@ function Qi() {
2465
2482
  object: W("object"),
2466
2483
  string: W("string"),
2467
2484
  symbol: W("symbol"),
2468
- any: v(),
2469
- arrayOf: x,
2485
+ any: g(),
2486
+ arrayOf: N,
2470
2487
  element: E(),
2471
2488
  elementType: c(),
2472
2489
  instanceOf: Y,
2473
2490
  node: fe(),
2474
2491
  objectOf: Q,
2475
- oneOf: P,
2492
+ oneOf: T,
2476
2493
  oneOfType: de,
2477
2494
  shape: Ee,
2478
2495
  exact: ee
2479
2496
  };
2480
- function A(f, g) {
2481
- return f === g ? f !== 0 || 1 / f === 1 / g : f !== f && g !== g;
2497
+ function A(f, x) {
2498
+ return f === x ? f !== 0 || 1 / f === 1 / x : f !== f && x !== x;
2482
2499
  }
2483
- function $(f, g) {
2484
- this.message = f, this.data = g && typeof g == "object" ? g : {}, this.stack = "";
2500
+ function $(f, x) {
2501
+ this.message = f, this.data = x && typeof x == "object" ? x : {}, this.stack = "";
2485
2502
  }
2486
2503
  $.prototype = Error.prototype;
2487
2504
  function B(f) {
2488
2505
  if (process.env.NODE_ENV !== "production")
2489
- var g = {}, T = 0;
2506
+ var x = {}, P = 0;
2490
2507
  function R(z, k, _, j, H, M, te) {
2491
2508
  if (j = j || O, M = M || _, te !== r) {
2492
2509
  if (m) {
2493
- var h = new Error(
2510
+ var b = new Error(
2494
2511
  "Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
2495
2512
  );
2496
- throw h.name = "Invariant Violation", h;
2513
+ throw b.name = "Invariant Violation", b;
2497
2514
  } else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
2498
2515
  var pe = j + ":" + _;
2499
- !g[pe] && // Avoid spamming the console because they are often not actionable except for lib authors
2500
- T < 3 && (a(
2516
+ !x[pe] && // Avoid spamming the console because they are often not actionable except for lib authors
2517
+ P < 3 && (a(
2501
2518
  "You are manually calling a React.PropTypes validation function for the `" + M + "` prop on `" + j + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
2502
- ), g[pe] = !0, T++);
2519
+ ), x[pe] = !0, P++);
2503
2520
  }
2504
2521
  }
2505
2522
  return k[_] == null ? z ? k[_] === null ? new $("The " + H + " `" + M + "` is marked as required " + ("in `" + j + "`, but its value is `null`.")) : new $("The " + H + " `" + M + "` is marked as required in " + ("`" + j + "`, but its value is `undefined`.")) : null : f(k, _, j, H, M);
@@ -2508,8 +2525,8 @@ function Qi() {
2508
2525
  return C.isRequired = R.bind(null, !0), C;
2509
2526
  }
2510
2527
  function W(f) {
2511
- function g(T, R, C, z, k, _) {
2512
- var j = T[R], H = oe(j);
2528
+ function x(P, R, C, z, k, _) {
2529
+ var j = P[R], H = oe(j);
2513
2530
  if (H !== f) {
2514
2531
  var M = le(j);
2515
2532
  return new $(
@@ -2519,16 +2536,16 @@ function Qi() {
2519
2536
  }
2520
2537
  return null;
2521
2538
  }
2522
- return B(g);
2539
+ return B(x);
2523
2540
  }
2524
- function v() {
2541
+ function g() {
2525
2542
  return B(s);
2526
2543
  }
2527
- function x(f) {
2528
- function g(T, R, C, z, k) {
2544
+ function N(f) {
2545
+ function x(P, R, C, z, k) {
2529
2546
  if (typeof f != "function")
2530
2547
  return new $("Property `" + k + "` of component `" + C + "` has invalid PropType notation inside arrayOf.");
2531
- var _ = T[R];
2548
+ var _ = P[R];
2532
2549
  if (!Array.isArray(_)) {
2533
2550
  var j = oe(_);
2534
2551
  return new $("Invalid " + z + " `" + k + "` of type " + ("`" + j + "` supplied to `" + C + "`, expected an array."));
@@ -2540,11 +2557,11 @@ function Qi() {
2540
2557
  }
2541
2558
  return null;
2542
2559
  }
2543
- return B(g);
2560
+ return B(x);
2544
2561
  }
2545
2562
  function E() {
2546
- function f(g, T, R, C, z) {
2547
- var k = g[T];
2563
+ function f(x, P, R, C, z) {
2564
+ var k = x[P];
2548
2565
  if (!u(k)) {
2549
2566
  var _ = oe(k);
2550
2567
  return new $("Invalid " + C + " `" + z + "` of type " + ("`" + _ + "` supplied to `" + R + "`, expected a single ReactElement."));
@@ -2554,8 +2571,8 @@ function Qi() {
2554
2571
  return B(f);
2555
2572
  }
2556
2573
  function c() {
2557
- function f(g, T, R, C, z) {
2558
- var k = g[T];
2574
+ function f(x, P, R, C, z) {
2575
+ var k = x[P];
2559
2576
  if (!e.isValidElementType(k)) {
2560
2577
  var _ = oe(k);
2561
2578
  return new $("Invalid " + C + " `" + z + "` of type " + ("`" + _ + "` supplied to `" + R + "`, expected a single ReactElement type."));
@@ -2565,37 +2582,37 @@ function Qi() {
2565
2582
  return B(f);
2566
2583
  }
2567
2584
  function Y(f) {
2568
- function g(T, R, C, z, k) {
2569
- if (!(T[R] instanceof f)) {
2570
- var _ = f.name || O, j = Se(T[R]);
2585
+ function x(P, R, C, z, k) {
2586
+ if (!(P[R] instanceof f)) {
2587
+ var _ = f.name || O, j = Se(P[R]);
2571
2588
  return new $("Invalid " + z + " `" + k + "` of type " + ("`" + j + "` supplied to `" + C + "`, expected ") + ("instance of `" + _ + "`."));
2572
2589
  }
2573
2590
  return null;
2574
2591
  }
2575
- return B(g);
2592
+ return B(x);
2576
2593
  }
2577
- function P(f) {
2594
+ function T(f) {
2578
2595
  if (!Array.isArray(f))
2579
2596
  return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? a(
2580
2597
  "Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
2581
2598
  ) : a("Invalid argument supplied to oneOf, expected an array.")), s;
2582
- function g(T, R, C, z, k) {
2583
- for (var _ = T[R], j = 0; j < f.length; j++)
2599
+ function x(P, R, C, z, k) {
2600
+ for (var _ = P[R], j = 0; j < f.length; j++)
2584
2601
  if (A(_, f[j]))
2585
2602
  return null;
2586
- var H = JSON.stringify(f, function(te, h) {
2587
- var pe = le(h);
2588
- return pe === "symbol" ? String(h) : h;
2603
+ var H = JSON.stringify(f, function(te, b) {
2604
+ var pe = le(b);
2605
+ return pe === "symbol" ? String(b) : b;
2589
2606
  });
2590
2607
  return new $("Invalid " + z + " `" + k + "` of value `" + String(_) + "` " + ("supplied to `" + C + "`, expected one of " + H + "."));
2591
2608
  }
2592
- return B(g);
2609
+ return B(x);
2593
2610
  }
2594
2611
  function Q(f) {
2595
- function g(T, R, C, z, k) {
2612
+ function x(P, R, C, z, k) {
2596
2613
  if (typeof f != "function")
2597
2614
  return new $("Property `" + k + "` of component `" + C + "` has invalid PropType notation inside objectOf.");
2598
- var _ = T[R], j = oe(_);
2615
+ var _ = P[R], j = oe(_);
2599
2616
  if (j !== "object")
2600
2617
  return new $("Invalid " + z + " `" + k + "` of type " + ("`" + j + "` supplied to `" + C + "`, expected an object."));
2601
2618
  for (var H in _)
@@ -2606,24 +2623,24 @@ function Qi() {
2606
2623
  }
2607
2624
  return null;
2608
2625
  }
2609
- return B(g);
2626
+ return B(x);
2610
2627
  }
2611
2628
  function de(f) {
2612
2629
  if (!Array.isArray(f))
2613
2630
  return process.env.NODE_ENV !== "production" && a("Invalid argument supplied to oneOfType, expected an instance of array."), s;
2614
- for (var g = 0; g < f.length; g++) {
2615
- var T = f[g];
2616
- if (typeof T != "function")
2631
+ for (var x = 0; x < f.length; x++) {
2632
+ var P = f[x];
2633
+ if (typeof P != "function")
2617
2634
  return a(
2618
- "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + ge(T) + " at index " + g + "."
2635
+ "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + ge(P) + " at index " + x + "."
2619
2636
  ), s;
2620
2637
  }
2621
2638
  function R(C, z, k, _, j) {
2622
2639
  for (var H = [], M = 0; M < f.length; M++) {
2623
- var te = f[M], h = te(C, z, k, _, j, r);
2624
- if (h == null)
2640
+ var te = f[M], b = te(C, z, k, _, j, r);
2641
+ if (b == null)
2625
2642
  return null;
2626
- h.data && n(h.data, "expectedType") && H.push(h.data.expectedType);
2643
+ b.data && n(b.data, "expectedType") && H.push(b.data.expectedType);
2627
2644
  }
2628
2645
  var pe = H.length > 0 ? ", expected one of type [" + H.join(", ") + "]" : "";
2629
2646
  return new $("Invalid " + _ + " `" + j + "` supplied to " + ("`" + k + "`" + pe + "."));
@@ -2631,19 +2648,19 @@ function Qi() {
2631
2648
  return B(R);
2632
2649
  }
2633
2650
  function fe() {
2634
- function f(g, T, R, C, z) {
2635
- return Z(g[T]) ? null : new $("Invalid " + C + " `" + z + "` supplied to " + ("`" + R + "`, expected a ReactNode."));
2651
+ function f(x, P, R, C, z) {
2652
+ return Z(x[P]) ? null : new $("Invalid " + C + " `" + z + "` supplied to " + ("`" + R + "`, expected a ReactNode."));
2636
2653
  }
2637
2654
  return B(f);
2638
2655
  }
2639
- function ye(f, g, T, R, C) {
2656
+ function ye(f, x, P, R, C) {
2640
2657
  return new $(
2641
- (f || "React class") + ": " + g + " type `" + T + "." + R + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + C + "`."
2658
+ (f || "React class") + ": " + x + " type `" + P + "." + R + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + C + "`."
2642
2659
  );
2643
2660
  }
2644
2661
  function Ee(f) {
2645
- function g(T, R, C, z, k) {
2646
- var _ = T[R], j = oe(_);
2662
+ function x(P, R, C, z, k) {
2663
+ var _ = P[R], j = oe(_);
2647
2664
  if (j !== "object")
2648
2665
  return new $("Invalid " + z + " `" + k + "` of type `" + j + "` " + ("supplied to `" + C + "`, expected `object`."));
2649
2666
  for (var H in f) {
@@ -2656,30 +2673,30 @@ function Qi() {
2656
2673
  }
2657
2674
  return null;
2658
2675
  }
2659
- return B(g);
2676
+ return B(x);
2660
2677
  }
2661
2678
  function ee(f) {
2662
- function g(T, R, C, z, k) {
2663
- var _ = T[R], j = oe(_);
2679
+ function x(P, R, C, z, k) {
2680
+ var _ = P[R], j = oe(_);
2664
2681
  if (j !== "object")
2665
2682
  return new $("Invalid " + z + " `" + k + "` of type `" + j + "` " + ("supplied to `" + C + "`, expected `object`."));
2666
- var H = t({}, T[R], f);
2683
+ var H = t({}, P[R], f);
2667
2684
  for (var M in H) {
2668
2685
  var te = f[M];
2669
2686
  if (n(f, M) && typeof te != "function")
2670
2687
  return ye(C, z, k, M, le(te));
2671
2688
  if (!te)
2672
2689
  return new $(
2673
- "Invalid " + z + " `" + k + "` key `" + M + "` supplied to `" + C + "`.\nBad object: " + JSON.stringify(T[R], null, " ") + `
2690
+ "Invalid " + z + " `" + k + "` key `" + M + "` supplied to `" + C + "`.\nBad object: " + JSON.stringify(P[R], null, " ") + `
2674
2691
  Valid keys: ` + JSON.stringify(Object.keys(f), null, " ")
2675
2692
  );
2676
- var h = te(_, M, C, z, k + "." + M, r);
2677
- if (h)
2678
- return h;
2693
+ var b = te(_, M, C, z, k + "." + M, r);
2694
+ if (b)
2695
+ return b;
2679
2696
  }
2680
2697
  return null;
2681
2698
  }
2682
- return B(g);
2699
+ return B(x);
2683
2700
  }
2684
2701
  function Z(f) {
2685
2702
  switch (typeof f) {
@@ -2694,15 +2711,15 @@ Valid keys: ` + JSON.stringify(Object.keys(f), null, " ")
2694
2711
  return f.every(Z);
2695
2712
  if (f === null || u(f))
2696
2713
  return !0;
2697
- var g = N(f);
2698
- if (g) {
2699
- var T = g.call(f), R;
2700
- if (g !== f.entries) {
2701
- for (; !(R = T.next()).done; )
2714
+ var x = v(f);
2715
+ if (x) {
2716
+ var P = x.call(f), R;
2717
+ if (x !== f.entries) {
2718
+ for (; !(R = P.next()).done; )
2702
2719
  if (!Z(R.value))
2703
2720
  return !1;
2704
2721
  } else
2705
- for (; !(R = T.next()).done; ) {
2722
+ for (; !(R = P.next()).done; ) {
2706
2723
  var C = R.value;
2707
2724
  if (C && !Z(C[1]))
2708
2725
  return !1;
@@ -2714,37 +2731,37 @@ Valid keys: ` + JSON.stringify(Object.keys(f), null, " ")
2714
2731
  return !1;
2715
2732
  }
2716
2733
  }
2717
- function me(f, g) {
2718
- return f === "symbol" ? !0 : g ? g["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && g instanceof Symbol : !1;
2734
+ function me(f, x) {
2735
+ return f === "symbol" ? !0 : x ? x["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && x instanceof Symbol : !1;
2719
2736
  }
2720
2737
  function oe(f) {
2721
- var g = typeof f;
2722
- return Array.isArray(f) ? "array" : f instanceof RegExp ? "object" : me(g, f) ? "symbol" : g;
2738
+ var x = typeof f;
2739
+ return Array.isArray(f) ? "array" : f instanceof RegExp ? "object" : me(x, f) ? "symbol" : x;
2723
2740
  }
2724
2741
  function le(f) {
2725
2742
  if (typeof f > "u" || f === null)
2726
2743
  return "" + f;
2727
- var g = oe(f);
2728
- if (g === "object") {
2744
+ var x = oe(f);
2745
+ if (x === "object") {
2729
2746
  if (f instanceof Date)
2730
2747
  return "date";
2731
2748
  if (f instanceof RegExp)
2732
2749
  return "regexp";
2733
2750
  }
2734
- return g;
2751
+ return x;
2735
2752
  }
2736
2753
  function ge(f) {
2737
- var g = le(f);
2738
- switch (g) {
2754
+ var x = le(f);
2755
+ switch (x) {
2739
2756
  case "array":
2740
2757
  case "object":
2741
- return "an " + g;
2758
+ return "an " + x;
2742
2759
  case "boolean":
2743
2760
  case "date":
2744
2761
  case "regexp":
2745
- return "a " + g;
2762
+ return "a " + x;
2746
2763
  default:
2747
- return g;
2764
+ return x;
2748
2765
  }
2749
2766
  }
2750
2767
  function Se(f) {
@@ -2753,18 +2770,18 @@ Valid keys: ` + JSON.stringify(Object.keys(f), null, " ")
2753
2770
  return S.checkPropTypes = o, S.resetWarningCache = o.resetWarningCache, S.PropTypes = S, S;
2754
2771
  }, ut;
2755
2772
  }
2756
- var dt, cr;
2757
- function eo() {
2758
- if (cr) return dt;
2759
- cr = 1;
2760
- var e = _t();
2773
+ var dt, lr;
2774
+ function to() {
2775
+ if (lr) return dt;
2776
+ lr = 1;
2777
+ var e = Dt();
2761
2778
  function t() {
2762
2779
  }
2763
2780
  function r() {
2764
2781
  }
2765
2782
  return r.resetWarningCache = t, dt = function() {
2766
- function n(s, u, m, p, b, N) {
2767
- if (N !== e) {
2783
+ function n(s, u, m, p, y, v) {
2784
+ if (v !== e) {
2768
2785
  var O = new Error(
2769
2786
  "Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types"
2770
2787
  );
@@ -2802,50 +2819,50 @@ function eo() {
2802
2819
  }, dt;
2803
2820
  }
2804
2821
  if (process.env.NODE_ENV !== "production") {
2805
- var to = Dr(), ro = !0;
2806
- xt.exports = Qi()(to.isElement, ro);
2822
+ var ro = Cr(), no = !0;
2823
+ xt.exports = eo()(ro.isElement, no);
2807
2824
  } else
2808
- xt.exports = eo()();
2825
+ xt.exports = to()();
2809
2826
  var Xe = xt.exports;
2810
- function Or(e) {
2827
+ function Dr(e) {
2811
2828
  var t, r, n = "";
2812
2829
  if (typeof e == "string" || typeof e == "number") n += e;
2813
- else if (typeof e == "object") if (Array.isArray(e)) for (t = 0; t < e.length; t++) e[t] && (r = Or(e[t])) && (n && (n += " "), n += r);
2830
+ else if (typeof e == "object") if (Array.isArray(e)) for (t = 0; t < e.length; t++) e[t] && (r = Dr(e[t])) && (n && (n += " "), n += r);
2814
2831
  else for (t in e) e[t] && (n && (n += " "), n += t);
2815
2832
  return n;
2816
2833
  }
2817
- function ur() {
2818
- for (var e, t, r = 0, n = ""; r < arguments.length; ) (e = arguments[r++]) && (t = Or(e)) && (n && (n += " "), n += t);
2834
+ function cr() {
2835
+ for (var e, t, r = 0, n = ""; r < arguments.length; ) (e = arguments[r++]) && (t = Dr(e)) && (n && (n += " "), n += t);
2819
2836
  return n;
2820
2837
  }
2821
- const no = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2838
+ const io = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2822
2839
  __proto__: null,
2823
- clsx: ur,
2824
- default: ur
2825
- }, Symbol.toStringTag, { value: "Module" })), io = /* @__PURE__ */ _n(no);
2840
+ clsx: cr,
2841
+ default: cr
2842
+ }, Symbol.toStringTag, { value: "Module" })), oo = /* @__PURE__ */ On(io);
2826
2843
  var K = {}, xe = {};
2827
2844
  Object.defineProperty(xe, "__esModule", {
2828
2845
  value: !0
2829
2846
  });
2830
- xe.dontSetMe = co;
2831
- xe.findInArray = oo;
2832
- xe.int = lo;
2833
- xe.isFunction = ao;
2834
- xe.isNum = so;
2835
- function oo(e, t) {
2847
+ xe.dontSetMe = uo;
2848
+ xe.findInArray = ao;
2849
+ xe.int = co;
2850
+ xe.isFunction = so;
2851
+ xe.isNum = lo;
2852
+ function ao(e, t) {
2836
2853
  for (let r = 0, n = e.length; r < n; r++)
2837
2854
  if (t.apply(t, [e[r], r, e])) return e[r];
2838
2855
  }
2839
- function ao(e) {
2856
+ function so(e) {
2840
2857
  return typeof e == "function" || Object.prototype.toString.call(e) === "[object Function]";
2841
2858
  }
2842
- function so(e) {
2859
+ function lo(e) {
2843
2860
  return typeof e == "number" && !isNaN(e);
2844
2861
  }
2845
- function lo(e) {
2862
+ function co(e) {
2846
2863
  return parseInt(e, 10);
2847
2864
  }
2848
- function co(e, t, r) {
2865
+ function uo(e, t, r) {
2849
2866
  if (e[t])
2850
2867
  return new Error("Invalid prop ".concat(t, " passed to ").concat(r, " - do not set this, set it on the child."));
2851
2868
  }
@@ -2853,69 +2870,69 @@ var Oe = {};
2853
2870
  Object.defineProperty(Oe, "__esModule", {
2854
2871
  value: !0
2855
2872
  });
2856
- Oe.browserPrefixToKey = Pr;
2857
- Oe.browserPrefixToStyle = uo;
2873
+ Oe.browserPrefixToKey = Or;
2874
+ Oe.browserPrefixToStyle = fo;
2858
2875
  Oe.default = void 0;
2859
- Oe.getPrefix = Rr;
2876
+ Oe.getPrefix = _r;
2860
2877
  const ft = ["Moz", "Webkit", "O", "ms"];
2861
- function Rr() {
2878
+ function _r() {
2862
2879
  var e;
2863
2880
  let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "transform";
2864
2881
  if (typeof window > "u") return "";
2865
2882
  const r = (e = window.document) === null || e === void 0 || (e = e.documentElement) === null || e === void 0 ? void 0 : e.style;
2866
2883
  if (!r || t in r) return "";
2867
2884
  for (let n = 0; n < ft.length; n++)
2868
- if (Pr(t, ft[n]) in r) return ft[n];
2885
+ if (Or(t, ft[n]) in r) return ft[n];
2869
2886
  return "";
2870
2887
  }
2871
- function Pr(e, t) {
2872
- return t ? "".concat(t).concat(fo(e)) : e;
2888
+ function Or(e, t) {
2889
+ return t ? "".concat(t).concat(mo(e)) : e;
2873
2890
  }
2874
- function uo(e, t) {
2891
+ function fo(e, t) {
2875
2892
  return t ? "-".concat(t.toLowerCase(), "-").concat(e) : e;
2876
2893
  }
2877
- function fo(e) {
2894
+ function mo(e) {
2878
2895
  let t = "", r = !0;
2879
2896
  for (let n = 0; n < e.length; n++)
2880
2897
  r ? (t += e[n].toUpperCase(), r = !1) : e[n] === "-" ? r = !0 : t += e[n];
2881
2898
  return t;
2882
2899
  }
2883
- Oe.default = Rr();
2900
+ Oe.default = _r();
2884
2901
  Object.defineProperty(K, "__esModule", {
2885
2902
  value: !0
2886
2903
  });
2887
- K.addClassName = Mr;
2888
- K.addEvent = bo;
2889
- K.addUserSelectStyles = ko;
2890
- K.createCSSTransform = Eo;
2891
- K.createSVGTransform = So;
2892
- K.getTouch = wo;
2893
- K.getTouchIdentifier = Co;
2894
- K.getTranslation = Ot;
2895
- K.innerHeight = go;
2896
- K.innerWidth = xo;
2897
- K.matchesSelector = jr;
2898
- K.matchesSelectorAndParentsTo = po;
2899
- K.offsetXYFromParent = No;
2900
- K.outerHeight = yo;
2901
- K.outerWidth = vo;
2902
- K.removeClassName = Vr;
2903
- K.removeEvent = ho;
2904
- K.removeUserSelectStyles = Do;
2905
- var ue = xe, dr = mo(Oe);
2906
- function Tr(e) {
2904
+ K.addClassName = Pr;
2905
+ K.addEvent = ho;
2906
+ K.addUserSelectStyles = Do;
2907
+ K.createCSSTransform = So;
2908
+ K.createSVGTransform = wo;
2909
+ K.getTouch = Co;
2910
+ K.getTouchIdentifier = ko;
2911
+ K.getTranslation = _t;
2912
+ K.innerHeight = xo;
2913
+ K.innerWidth = No;
2914
+ K.matchesSelector = Tr;
2915
+ K.matchesSelectorAndParentsTo = bo;
2916
+ K.offsetXYFromParent = Eo;
2917
+ K.outerHeight = vo;
2918
+ K.outerWidth = go;
2919
+ K.removeClassName = jr;
2920
+ K.removeEvent = yo;
2921
+ K.removeUserSelectStyles = _o;
2922
+ var ue = xe, ur = po(Oe);
2923
+ function Rr(e) {
2907
2924
  if (typeof WeakMap != "function") return null;
2908
2925
  var t = /* @__PURE__ */ new WeakMap(), r = /* @__PURE__ */ new WeakMap();
2909
- return (Tr = function(n) {
2926
+ return (Rr = function(n) {
2910
2927
  return n ? r : t;
2911
2928
  })(e);
2912
2929
  }
2913
- function mo(e, t) {
2930
+ function po(e, t) {
2914
2931
  if (e && e.__esModule)
2915
2932
  return e;
2916
2933
  if (e === null || typeof e != "object" && typeof e != "function")
2917
2934
  return { default: e };
2918
- var r = Tr(t);
2935
+ var r = Rr(t);
2919
2936
  if (r && r.has(e))
2920
2937
  return r.get(e);
2921
2938
  var n = {}, o = Object.defineProperty && Object.getOwnPropertyDescriptor;
@@ -2927,21 +2944,21 @@ function mo(e, t) {
2927
2944
  return n.default = e, r && r.set(e, n), n;
2928
2945
  }
2929
2946
  let Ye = "";
2930
- function jr(e, t) {
2947
+ function Tr(e, t) {
2931
2948
  return Ye || (Ye = (0, ue.findInArray)(["matches", "webkitMatchesSelector", "mozMatchesSelector", "msMatchesSelector", "oMatchesSelector"], function(r) {
2932
2949
  return (0, ue.isFunction)(e[r]);
2933
2950
  })), (0, ue.isFunction)(e[Ye]) ? e[Ye](t) : !1;
2934
2951
  }
2935
- function po(e, t, r) {
2952
+ function bo(e, t, r) {
2936
2953
  let n = e;
2937
2954
  do {
2938
- if (jr(n, t)) return !0;
2955
+ if (Tr(n, t)) return !0;
2939
2956
  if (n === r) return !1;
2940
2957
  n = n.parentNode;
2941
2958
  } while (n);
2942
2959
  return !1;
2943
2960
  }
2944
- function bo(e, t, r, n) {
2961
+ function ho(e, t, r, n) {
2945
2962
  if (!e) return;
2946
2963
  const o = {
2947
2964
  capture: !0,
@@ -2949,7 +2966,7 @@ function bo(e, t, r, n) {
2949
2966
  };
2950
2967
  e.addEventListener ? e.addEventListener(t, r, o) : e.attachEvent ? e.attachEvent("on" + t, r) : e["on" + t] = r;
2951
2968
  }
2952
- function ho(e, t, r, n) {
2969
+ function yo(e, t, r, n) {
2953
2970
  if (!e) return;
2954
2971
  const o = {
2955
2972
  capture: !0,
@@ -2957,27 +2974,27 @@ function ho(e, t, r, n) {
2957
2974
  };
2958
2975
  e.removeEventListener ? e.removeEventListener(t, r, o) : e.detachEvent ? e.detachEvent("on" + t, r) : e["on" + t] = null;
2959
2976
  }
2960
- function yo(e) {
2977
+ function vo(e) {
2961
2978
  let t = e.clientHeight;
2962
2979
  const r = e.ownerDocument.defaultView.getComputedStyle(e);
2963
2980
  return t += (0, ue.int)(r.borderTopWidth), t += (0, ue.int)(r.borderBottomWidth), t;
2964
2981
  }
2965
- function vo(e) {
2982
+ function go(e) {
2966
2983
  let t = e.clientWidth;
2967
2984
  const r = e.ownerDocument.defaultView.getComputedStyle(e);
2968
2985
  return t += (0, ue.int)(r.borderLeftWidth), t += (0, ue.int)(r.borderRightWidth), t;
2969
2986
  }
2970
- function go(e) {
2987
+ function xo(e) {
2971
2988
  let t = e.clientHeight;
2972
2989
  const r = e.ownerDocument.defaultView.getComputedStyle(e);
2973
2990
  return t -= (0, ue.int)(r.paddingTop), t -= (0, ue.int)(r.paddingBottom), t;
2974
2991
  }
2975
- function xo(e) {
2992
+ function No(e) {
2976
2993
  let t = e.clientWidth;
2977
2994
  const r = e.ownerDocument.defaultView.getComputedStyle(e);
2978
2995
  return t -= (0, ue.int)(r.paddingLeft), t -= (0, ue.int)(r.paddingRight), t;
2979
2996
  }
2980
- function No(e, t, r) {
2997
+ function Eo(e, t, r) {
2981
2998
  const o = t === t.ownerDocument.body ? {
2982
2999
  left: 0,
2983
3000
  top: 0
@@ -2987,16 +3004,16 @@ function No(e, t, r) {
2987
3004
  y: s
2988
3005
  };
2989
3006
  }
2990
- function Eo(e, t) {
2991
- const r = Ot(e, t, "px");
3007
+ function So(e, t) {
3008
+ const r = _t(e, t, "px");
2992
3009
  return {
2993
- [(0, dr.browserPrefixToKey)("transform", dr.default)]: r
3010
+ [(0, ur.browserPrefixToKey)("transform", ur.default)]: r
2994
3011
  };
2995
3012
  }
2996
- function So(e, t) {
2997
- return Ot(e, t, "");
3013
+ function wo(e, t) {
3014
+ return _t(e, t, "");
2998
3015
  }
2999
- function Ot(e, t, r) {
3016
+ function _t(e, t, r) {
3000
3017
  let {
3001
3018
  x: n,
3002
3019
  y: o
@@ -3007,24 +3024,24 @@ function Ot(e, t, r) {
3007
3024
  }
3008
3025
  return a;
3009
3026
  }
3010
- function wo(e, t) {
3027
+ function Co(e, t) {
3011
3028
  return e.targetTouches && (0, ue.findInArray)(e.targetTouches, (r) => t === r.identifier) || e.changedTouches && (0, ue.findInArray)(e.changedTouches, (r) => t === r.identifier);
3012
3029
  }
3013
- function Co(e) {
3030
+ function ko(e) {
3014
3031
  if (e.targetTouches && e.targetTouches[0]) return e.targetTouches[0].identifier;
3015
3032
  if (e.changedTouches && e.changedTouches[0]) return e.changedTouches[0].identifier;
3016
3033
  }
3017
- function ko(e) {
3034
+ function Do(e) {
3018
3035
  if (!e) return;
3019
3036
  let t = e.getElementById("react-draggable-style-el");
3020
3037
  t || (t = e.createElement("style"), t.type = "text/css", t.id = "react-draggable-style-el", t.innerHTML = `.react-draggable-transparent-selection *::-moz-selection {all: inherit;}
3021
3038
  `, t.innerHTML += `.react-draggable-transparent-selection *::selection {all: inherit;}
3022
- `, e.getElementsByTagName("head")[0].appendChild(t)), e.body && Mr(e.body, "react-draggable-transparent-selection");
3039
+ `, e.getElementsByTagName("head")[0].appendChild(t)), e.body && Pr(e.body, "react-draggable-transparent-selection");
3023
3040
  }
3024
- function Do(e) {
3041
+ function _o(e) {
3025
3042
  if (e)
3026
3043
  try {
3027
- if (e.body && Vr(e.body, "react-draggable-transparent-selection"), e.selection)
3044
+ if (e.body && jr(e.body, "react-draggable-transparent-selection"), e.selection)
3028
3045
  e.selection.empty();
3029
3046
  else {
3030
3047
  const t = (e.defaultView || window).getSelection();
@@ -3033,31 +3050,31 @@ function Do(e) {
3033
3050
  } catch {
3034
3051
  }
3035
3052
  }
3036
- function Mr(e, t) {
3053
+ function Pr(e, t) {
3037
3054
  e.classList ? e.classList.add(t) : e.className.match(new RegExp("(?:^|\\s)".concat(t, "(?!\\S)"))) || (e.className += " ".concat(t));
3038
3055
  }
3039
- function Vr(e, t) {
3056
+ function jr(e, t) {
3040
3057
  e.classList ? e.classList.remove(t) : e.className = e.className.replace(new RegExp("(?:^|\\s)".concat(t, "(?!\\S)"), "g"), "");
3041
3058
  }
3042
3059
  var Ne = {};
3043
3060
  Object.defineProperty(Ne, "__esModule", {
3044
3061
  value: !0
3045
3062
  });
3046
- Ne.canDragX = Ro;
3063
+ Ne.canDragX = To;
3047
3064
  Ne.canDragY = Po;
3048
- Ne.createCoreData = jo;
3049
- Ne.createDraggableData = Mo;
3050
- Ne.getBoundPosition = _o;
3051
- Ne.getControlPosition = To;
3052
- Ne.snapToGrid = Oo;
3065
+ Ne.createCoreData = Mo;
3066
+ Ne.createDraggableData = Vo;
3067
+ Ne.getBoundPosition = Oo;
3068
+ Ne.getControlPosition = jo;
3069
+ Ne.snapToGrid = Ro;
3053
3070
  var ce = xe, je = K;
3054
- function _o(e, t, r) {
3071
+ function Oo(e, t, r) {
3055
3072
  if (!e.props.bounds) return [t, r];
3056
3073
  let {
3057
3074
  bounds: n
3058
3075
  } = e.props;
3059
- n = typeof n == "string" ? n : Vo(n);
3060
- const o = Rt(e);
3076
+ n = typeof n == "string" ? n : Ao(n);
3077
+ const o = Ot(e);
3061
3078
  if (typeof n == "string") {
3062
3079
  const {
3063
3080
  ownerDocument: a
@@ -3065,34 +3082,34 @@ function _o(e, t, r) {
3065
3082
  let u;
3066
3083
  if (n === "parent" ? u = o.parentNode : u = a.querySelector(n), !(u instanceof s.HTMLElement))
3067
3084
  throw new Error('Bounds selector "' + n + '" could not find an element.');
3068
- const m = u, p = s.getComputedStyle(o), b = s.getComputedStyle(m);
3085
+ const m = u, p = s.getComputedStyle(o), y = s.getComputedStyle(m);
3069
3086
  n = {
3070
- left: -o.offsetLeft + (0, ce.int)(b.paddingLeft) + (0, ce.int)(p.marginLeft),
3071
- top: -o.offsetTop + (0, ce.int)(b.paddingTop) + (0, ce.int)(p.marginTop),
3072
- right: (0, je.innerWidth)(m) - (0, je.outerWidth)(o) - o.offsetLeft + (0, ce.int)(b.paddingRight) - (0, ce.int)(p.marginRight),
3073
- bottom: (0, je.innerHeight)(m) - (0, je.outerHeight)(o) - o.offsetTop + (0, ce.int)(b.paddingBottom) - (0, ce.int)(p.marginBottom)
3087
+ left: -o.offsetLeft + (0, ce.int)(y.paddingLeft) + (0, ce.int)(p.marginLeft),
3088
+ top: -o.offsetTop + (0, ce.int)(y.paddingTop) + (0, ce.int)(p.marginTop),
3089
+ right: (0, je.innerWidth)(m) - (0, je.outerWidth)(o) - o.offsetLeft + (0, ce.int)(y.paddingRight) - (0, ce.int)(p.marginRight),
3090
+ bottom: (0, je.innerHeight)(m) - (0, je.outerHeight)(o) - o.offsetTop + (0, ce.int)(y.paddingBottom) - (0, ce.int)(p.marginBottom)
3074
3091
  };
3075
3092
  }
3076
3093
  return (0, ce.isNum)(n.right) && (t = Math.min(t, n.right)), (0, ce.isNum)(n.bottom) && (r = Math.min(r, n.bottom)), (0, ce.isNum)(n.left) && (t = Math.max(t, n.left)), (0, ce.isNum)(n.top) && (r = Math.max(r, n.top)), [t, r];
3077
3094
  }
3078
- function Oo(e, t, r) {
3095
+ function Ro(e, t, r) {
3079
3096
  const n = Math.round(t / e[0]) * e[0], o = Math.round(r / e[1]) * e[1];
3080
3097
  return [n, o];
3081
3098
  }
3082
- function Ro(e) {
3099
+ function To(e) {
3083
3100
  return e.props.axis === "both" || e.props.axis === "x";
3084
3101
  }
3085
3102
  function Po(e) {
3086
3103
  return e.props.axis === "both" || e.props.axis === "y";
3087
3104
  }
3088
- function To(e, t, r) {
3105
+ function jo(e, t, r) {
3089
3106
  const n = typeof t == "number" ? (0, je.getTouch)(e, t) : null;
3090
3107
  if (typeof t == "number" && !n) return null;
3091
- const o = Rt(r), a = r.props.offsetParent || o.offsetParent || o.ownerDocument.body;
3108
+ const o = Ot(r), a = r.props.offsetParent || o.offsetParent || o.ownerDocument.body;
3092
3109
  return (0, je.offsetXYFromParent)(n || e, a, r.props.scale);
3093
3110
  }
3094
- function jo(e, t, r) {
3095
- const n = !(0, ce.isNum)(e.lastX), o = Rt(e);
3111
+ function Mo(e, t, r) {
3112
+ const n = !(0, ce.isNum)(e.lastX), o = Ot(e);
3096
3113
  return n ? {
3097
3114
  node: o,
3098
3115
  deltaX: 0,
@@ -3111,7 +3128,7 @@ function jo(e, t, r) {
3111
3128
  y: r
3112
3129
  };
3113
3130
  }
3114
- function Mo(e, t) {
3131
+ function Vo(e, t) {
3115
3132
  const r = e.props.scale;
3116
3133
  return {
3117
3134
  node: t.node,
@@ -3123,7 +3140,7 @@ function Mo(e, t) {
3123
3140
  lastY: e.state.y
3124
3141
  };
3125
3142
  }
3126
- function Vo(e) {
3143
+ function Ao(e) {
3127
3144
  return {
3128
3145
  left: e.left,
3129
3146
  top: e.top,
@@ -3131,7 +3148,7 @@ function Vo(e) {
3131
3148
  bottom: e.bottom
3132
3149
  };
3133
3150
  }
3134
- function Rt(e) {
3151
+ function Ot(e) {
3135
3152
  const t = e.findDOMNode();
3136
3153
  if (!t)
3137
3154
  throw new Error("<DraggableCore>: Unmounted during event!");
@@ -3141,30 +3158,30 @@ var Ke = {}, Ge = {};
3141
3158
  Object.defineProperty(Ge, "__esModule", {
3142
3159
  value: !0
3143
3160
  });
3144
- Ge.default = Ao;
3145
- function Ao() {
3161
+ Ge.default = $o;
3162
+ function $o() {
3146
3163
  }
3147
3164
  Object.defineProperty(Ke, "__esModule", {
3148
3165
  value: !0
3149
3166
  });
3150
3167
  Ke.default = void 0;
3151
- var mt = zo(ke), se = Pt(Xe), $o = Pt(Sr), re = K, we = Ne, pt = xe, Ae = Pt(Ge);
3152
- function Pt(e) {
3168
+ var mt = Io(_e), se = Rt(Xe), zo = Rt(Nr), re = K, we = Ne, pt = xe, Ae = Rt(Ge);
3169
+ function Rt(e) {
3153
3170
  return e && e.__esModule ? e : { default: e };
3154
3171
  }
3155
- function Ar(e) {
3172
+ function Mr(e) {
3156
3173
  if (typeof WeakMap != "function") return null;
3157
3174
  var t = /* @__PURE__ */ new WeakMap(), r = /* @__PURE__ */ new WeakMap();
3158
- return (Ar = function(n) {
3175
+ return (Mr = function(n) {
3159
3176
  return n ? r : t;
3160
3177
  })(e);
3161
3178
  }
3162
- function zo(e, t) {
3179
+ function Io(e, t) {
3163
3180
  if (e && e.__esModule)
3164
3181
  return e;
3165
3182
  if (e === null || typeof e != "object" && typeof e != "function")
3166
3183
  return { default: e };
3167
- var r = Ar(t);
3184
+ var r = Mr(t);
3168
3185
  if (r && r.has(e))
3169
3186
  return r.get(e);
3170
3187
  var n = {}, o = Object.defineProperty && Object.getOwnPropertyDescriptor;
@@ -3176,13 +3193,13 @@ function zo(e, t) {
3176
3193
  return n.default = e, r && r.set(e, n), n;
3177
3194
  }
3178
3195
  function ie(e, t, r) {
3179
- return t = Io(t), t in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e;
3196
+ return t = Ho(t), t in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e;
3180
3197
  }
3181
- function Io(e) {
3182
- var t = Ho(e, "string");
3198
+ function Ho(e) {
3199
+ var t = Lo(e, "string");
3183
3200
  return typeof t == "symbol" ? t : String(t);
3184
3201
  }
3185
- function Ho(e, t) {
3202
+ function Lo(e, t) {
3186
3203
  if (typeof e != "object" || e === null) return e;
3187
3204
  var r = e[Symbol.toPrimitive];
3188
3205
  if (r !== void 0) {
@@ -3290,7 +3307,7 @@ let Ce = ve.mouse, Je = class extends mt.Component {
3290
3307
  // the underlying DOM node ourselves. See the README for more information.
3291
3308
  findDOMNode() {
3292
3309
  var t, r;
3293
- return (t = this.props) !== null && t !== void 0 && t.nodeRef ? (r = this.props) === null || r === void 0 || (r = r.nodeRef) === null || r === void 0 ? void 0 : r.current : $o.default.findDOMNode(this);
3310
+ return (t = this.props) !== null && t !== void 0 && t.nodeRef ? (r = this.props) === null || r === void 0 || (r = r.nodeRef) === null || r === void 0 ? void 0 : r.current : zo.default.findDOMNode(this);
3294
3311
  }
3295
3312
  render() {
3296
3313
  return /* @__PURE__ */ mt.cloneElement(mt.Children.only(this.props.children), {
@@ -3454,67 +3471,67 @@ ie(Je, "defaultProps", {
3454
3471
  return m.default;
3455
3472
  }
3456
3473
  }), e.default = void 0;
3457
- var t = O(ke), r = b(Xe), n = b(Sr), o = b(io), a = K, s = Ne, u = xe, m = b(Ke), p = b(Ge);
3458
- function b(v) {
3459
- return v && v.__esModule ? v : { default: v };
3474
+ var t = O(_e), r = y(Xe), n = y(Nr), o = y(oo), a = K, s = Ne, u = xe, m = y(Ke), p = y(Ge);
3475
+ function y(g) {
3476
+ return g && g.__esModule ? g : { default: g };
3460
3477
  }
3461
- function N(v) {
3478
+ function v(g) {
3462
3479
  if (typeof WeakMap != "function") return null;
3463
- var x = /* @__PURE__ */ new WeakMap(), E = /* @__PURE__ */ new WeakMap();
3464
- return (N = function(c) {
3465
- return c ? E : x;
3466
- })(v);
3480
+ var N = /* @__PURE__ */ new WeakMap(), E = /* @__PURE__ */ new WeakMap();
3481
+ return (v = function(c) {
3482
+ return c ? E : N;
3483
+ })(g);
3467
3484
  }
3468
- function O(v, x) {
3469
- if (v && v.__esModule)
3470
- return v;
3471
- if (v === null || typeof v != "object" && typeof v != "function")
3472
- return { default: v };
3473
- var E = N(x);
3474
- if (E && E.has(v))
3475
- return E.get(v);
3485
+ function O(g, N) {
3486
+ if (g && g.__esModule)
3487
+ return g;
3488
+ if (g === null || typeof g != "object" && typeof g != "function")
3489
+ return { default: g };
3490
+ var E = v(N);
3491
+ if (E && E.has(g))
3492
+ return E.get(g);
3476
3493
  var c = {}, Y = Object.defineProperty && Object.getOwnPropertyDescriptor;
3477
- for (var P in v)
3478
- if (P !== "default" && Object.prototype.hasOwnProperty.call(v, P)) {
3479
- var Q = Y ? Object.getOwnPropertyDescriptor(v, P) : null;
3480
- Q && (Q.get || Q.set) ? Object.defineProperty(c, P, Q) : c[P] = v[P];
3494
+ for (var T in g)
3495
+ if (T !== "default" && Object.prototype.hasOwnProperty.call(g, T)) {
3496
+ var Q = Y ? Object.getOwnPropertyDescriptor(g, T) : null;
3497
+ Q && (Q.get || Q.set) ? Object.defineProperty(c, T, Q) : c[T] = g[T];
3481
3498
  }
3482
- return c.default = v, E && E.set(v, c), c;
3499
+ return c.default = g, E && E.set(g, c), c;
3483
3500
  }
3484
3501
  function S() {
3485
- return S = Object.assign ? Object.assign.bind() : function(v) {
3486
- for (var x = 1; x < arguments.length; x++) {
3487
- var E = arguments[x];
3502
+ return S = Object.assign ? Object.assign.bind() : function(g) {
3503
+ for (var N = 1; N < arguments.length; N++) {
3504
+ var E = arguments[N];
3488
3505
  for (var c in E)
3489
- Object.prototype.hasOwnProperty.call(E, c) && (v[c] = E[c]);
3506
+ Object.prototype.hasOwnProperty.call(E, c) && (g[c] = E[c]);
3490
3507
  }
3491
- return v;
3508
+ return g;
3492
3509
  }, S.apply(this, arguments);
3493
3510
  }
3494
- function A(v, x, E) {
3495
- return x = $(x), x in v ? Object.defineProperty(v, x, { value: E, enumerable: !0, configurable: !0, writable: !0 }) : v[x] = E, v;
3511
+ function A(g, N, E) {
3512
+ return N = $(N), N in g ? Object.defineProperty(g, N, { value: E, enumerable: !0, configurable: !0, writable: !0 }) : g[N] = E, g;
3496
3513
  }
3497
- function $(v) {
3498
- var x = B(v, "string");
3499
- return typeof x == "symbol" ? x : String(x);
3514
+ function $(g) {
3515
+ var N = B(g, "string");
3516
+ return typeof N == "symbol" ? N : String(N);
3500
3517
  }
3501
- function B(v, x) {
3502
- if (typeof v != "object" || v === null) return v;
3503
- var E = v[Symbol.toPrimitive];
3518
+ function B(g, N) {
3519
+ if (typeof g != "object" || g === null) return g;
3520
+ var E = g[Symbol.toPrimitive];
3504
3521
  if (E !== void 0) {
3505
- var c = E.call(v, x || "default");
3522
+ var c = E.call(g, N || "default");
3506
3523
  if (typeof c != "object") return c;
3507
3524
  throw new TypeError("@@toPrimitive must return a primitive value.");
3508
3525
  }
3509
- return (x === "string" ? String : Number)(v);
3526
+ return (N === "string" ? String : Number)(g);
3510
3527
  }
3511
3528
  class W extends t.Component {
3512
3529
  // React 16.3+
3513
3530
  // Arity (props, state)
3514
- static getDerivedStateFromProps(x, E) {
3531
+ static getDerivedStateFromProps(N, E) {
3515
3532
  let {
3516
3533
  position: c
3517
- } = x, {
3534
+ } = N, {
3518
3535
  prevPropsPosition: Y
3519
3536
  } = E;
3520
3537
  return c && (!Y || c.x !== Y.x || c.y !== Y.y) ? ((0, p.default)("Draggable: getDerivedStateFromProps %j", {
@@ -3528,8 +3545,8 @@ ie(Je, "defaultProps", {
3528
3545
  }
3529
3546
  }) : null;
3530
3547
  }
3531
- constructor(x) {
3532
- super(x), A(this, "onDragStart", (E, c) => {
3548
+ constructor(N) {
3549
+ super(N), A(this, "onDragStart", (E, c) => {
3533
3550
  if ((0, p.default)("Draggable: onDragStart: %j", c), this.props.onStart(E, (0, s.createDraggableData)(this, c)) === !1) return !1;
3534
3551
  this.setState({
3535
3552
  dragging: !0,
@@ -3538,7 +3555,7 @@ ie(Je, "defaultProps", {
3538
3555
  }), A(this, "onDrag", (E, c) => {
3539
3556
  if (!this.state.dragging) return !1;
3540
3557
  (0, p.default)("Draggable: onDrag: %j", c);
3541
- const Y = (0, s.createDraggableData)(this, c), P = {
3558
+ const Y = (0, s.createDraggableData)(this, c), T = {
3542
3559
  x: Y.x,
3543
3560
  y: Y.y,
3544
3561
  slackX: 0,
@@ -3548,17 +3565,17 @@ ie(Je, "defaultProps", {
3548
3565
  const {
3549
3566
  x: de,
3550
3567
  y: fe
3551
- } = P;
3552
- P.x += this.state.slackX, P.y += this.state.slackY;
3553
- const [ye, Ee] = (0, s.getBoundPosition)(this, P.x, P.y);
3554
- P.x = ye, P.y = Ee, P.slackX = this.state.slackX + (de - P.x), P.slackY = this.state.slackY + (fe - P.y), Y.x = P.x, Y.y = P.y, Y.deltaX = P.x - this.state.x, Y.deltaY = P.y - this.state.y;
3568
+ } = T;
3569
+ T.x += this.state.slackX, T.y += this.state.slackY;
3570
+ const [ye, Ee] = (0, s.getBoundPosition)(this, T.x, T.y);
3571
+ T.x = ye, T.y = Ee, T.slackX = this.state.slackX + (de - T.x), T.slackY = this.state.slackY + (fe - T.y), Y.x = T.x, Y.y = T.y, Y.deltaX = T.x - this.state.x, Y.deltaY = T.y - this.state.y;
3555
3572
  }
3556
3573
  if (this.props.onDrag(E, Y) === !1) return !1;
3557
- this.setState(P);
3574
+ this.setState(T);
3558
3575
  }), A(this, "onDragStop", (E, c) => {
3559
3576
  if (!this.state.dragging || this.props.onStop(E, (0, s.createDraggableData)(this, c)) === !1) return !1;
3560
3577
  (0, p.default)("Draggable: onDragStop: %j", c);
3561
- const P = {
3578
+ const T = {
3562
3579
  dragging: !1,
3563
3580
  slackX: 0,
3564
3581
  slackY: 0
@@ -3568,26 +3585,26 @@ ie(Je, "defaultProps", {
3568
3585
  x: de,
3569
3586
  y: fe
3570
3587
  } = this.props.position;
3571
- P.x = de, P.y = fe;
3588
+ T.x = de, T.y = fe;
3572
3589
  }
3573
- this.setState(P);
3590
+ this.setState(T);
3574
3591
  }), this.state = {
3575
3592
  // Whether or not we are currently dragging.
3576
3593
  dragging: !1,
3577
3594
  // Whether or not we have been dragged before.
3578
3595
  dragged: !1,
3579
3596
  // Current transform x and y.
3580
- x: x.position ? x.position.x : x.defaultPosition.x,
3581
- y: x.position ? x.position.y : x.defaultPosition.y,
3597
+ x: N.position ? N.position.x : N.defaultPosition.x,
3598
+ y: N.position ? N.position.y : N.defaultPosition.y,
3582
3599
  prevPropsPosition: {
3583
- ...x.position
3600
+ ...N.position
3584
3601
  },
3585
3602
  // Used for compensating for out-of-bounds drags
3586
3603
  slackX: 0,
3587
3604
  slackY: 0,
3588
3605
  // Can only determine if SVG after mounting
3589
3606
  isElementSVG: !1
3590
- }, x.position && !(x.onDrag || x.onStop) && console.warn("A `position` was applied to this <Draggable>, without drag handlers. This will make this component effectively undraggable. Please attach `onDrag` or `onStop` handlers so you can adjust the `position` of this element.");
3607
+ }, N.position && !(N.onDrag || N.onStop) && console.warn("A `position` was applied to this <Draggable>, without drag handlers. This will make this component effectively undraggable. Please attach `onDrag` or `onStop` handlers so you can adjust the `position` of this element.");
3591
3608
  }
3592
3609
  componentDidMount() {
3593
3610
  typeof window.SVGElement < "u" && this.findDOMNode() instanceof window.SVGElement && this.setState({
@@ -3602,16 +3619,16 @@ ie(Je, "defaultProps", {
3602
3619
  // React Strict Mode compatibility: if `nodeRef` is passed, we will use it instead of trying to find
3603
3620
  // the underlying DOM node ourselves. See the README for more information.
3604
3621
  findDOMNode() {
3605
- var x, E;
3606
- return (x = (E = this.props) === null || E === void 0 || (E = E.nodeRef) === null || E === void 0 ? void 0 : E.current) !== null && x !== void 0 ? x : n.default.findDOMNode(this);
3622
+ var N, E;
3623
+ return (N = (E = this.props) === null || E === void 0 || (E = E.nodeRef) === null || E === void 0 ? void 0 : E.current) !== null && N !== void 0 ? N : n.default.findDOMNode(this);
3607
3624
  }
3608
3625
  render() {
3609
3626
  const {
3610
- axis: x,
3627
+ axis: N,
3611
3628
  bounds: E,
3612
3629
  children: c,
3613
3630
  defaultPosition: Y,
3614
- defaultClassName: P,
3631
+ defaultClassName: T,
3615
3632
  defaultClassNameDragging: Q,
3616
3633
  defaultClassNameDragged: de,
3617
3634
  position: fe,
@@ -3627,7 +3644,7 @@ ie(Je, "defaultProps", {
3627
3644
  y: (0, s.canDragY)(this) && le ? this.state.y : ge.y
3628
3645
  };
3629
3646
  this.state.isElementSVG ? me = (0, a.createSVGTransform)(Se, ye) : Z = (0, a.createCSSTransform)(Se, ye);
3630
- const f = (0, o.default)(c.props.className || "", P, {
3647
+ const f = (0, o.default)(c.props.className || "", T, {
3631
3648
  [Q]: this.state.dragging,
3632
3649
  [de]: this.state.dragged
3633
3650
  });
@@ -3765,22 +3782,22 @@ ie(Je, "defaultProps", {
3765
3782
  },
3766
3783
  scale: 1
3767
3784
  });
3768
- })(kr);
3785
+ })(wr);
3769
3786
  const {
3770
- default: $r,
3771
- DraggableCore: Lo
3772
- } = kr;
3773
- Be.exports = $r;
3774
- Be.exports.default = $r;
3775
- Be.exports.DraggableCore = Lo;
3776
- var Wo = Be.exports, Tt = {};
3787
+ default: Vr,
3788
+ DraggableCore: Wo
3789
+ } = wr;
3790
+ Be.exports = Vr;
3791
+ Be.exports.default = Vr;
3792
+ Be.exports.DraggableCore = Wo;
3793
+ var qo = Be.exports, Tt = {};
3777
3794
  Tt.__esModule = !0;
3778
- Tt.cloneElement = Xo;
3779
- var qo = Yo(ke);
3780
- function Yo(e) {
3795
+ Tt.cloneElement = Ko;
3796
+ var Yo = Fo(_e);
3797
+ function Fo(e) {
3781
3798
  return e && e.__esModule ? e : { default: e };
3782
3799
  }
3783
- function fr(e, t) {
3800
+ function dr(e, t) {
3784
3801
  var r = Object.keys(e);
3785
3802
  if (Object.getOwnPropertySymbols) {
3786
3803
  var n = Object.getOwnPropertySymbols(e);
@@ -3790,25 +3807,25 @@ function fr(e, t) {
3790
3807
  }
3791
3808
  return r;
3792
3809
  }
3793
- function mr(e) {
3810
+ function fr(e) {
3794
3811
  for (var t = 1; t < arguments.length; t++) {
3795
3812
  var r = arguments[t] != null ? arguments[t] : {};
3796
- t % 2 ? fr(Object(r), !0).forEach(function(n) {
3813
+ t % 2 ? dr(Object(r), !0).forEach(function(n) {
3797
3814
  Uo(e, n, r[n]);
3798
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : fr(Object(r)).forEach(function(n) {
3815
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : dr(Object(r)).forEach(function(n) {
3799
3816
  Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(r, n));
3800
3817
  });
3801
3818
  }
3802
3819
  return e;
3803
3820
  }
3804
3821
  function Uo(e, t, r) {
3805
- return t = Fo(t), t in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e;
3822
+ return t = Bo(t), t in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e;
3806
3823
  }
3807
- function Fo(e) {
3808
- var t = Bo(e, "string");
3824
+ function Bo(e) {
3825
+ var t = Xo(e, "string");
3809
3826
  return typeof t == "symbol" ? t : String(t);
3810
3827
  }
3811
- function Bo(e, t) {
3828
+ function Xo(e, t) {
3812
3829
  if (typeof e != "object" || e === null) return e;
3813
3830
  var r = e[Symbol.toPrimitive];
3814
3831
  if (r !== void 0) {
@@ -3818,17 +3835,17 @@ function Bo(e, t) {
3818
3835
  }
3819
3836
  return (t === "string" ? String : Number)(e);
3820
3837
  }
3821
- function Xo(e, t) {
3822
- return t.style && e.props.style && (t.style = mr(mr({}, e.props.style), t.style)), t.className && e.props.className && (t.className = e.props.className + " " + t.className), /* @__PURE__ */ qo.default.cloneElement(e, t);
3838
+ function Ko(e, t) {
3839
+ return t.style && e.props.style && (t.style = fr(fr({}, e.props.style), t.style)), t.className && e.props.className && (t.className = e.props.className + " " + t.className), /* @__PURE__ */ Yo.default.cloneElement(e, t);
3823
3840
  }
3824
3841
  var Ie = {};
3825
3842
  Ie.__esModule = !0;
3826
3843
  Ie.resizableProps = void 0;
3827
- var D = Ko(Xe);
3828
- function Ko(e) {
3844
+ var D = Go(Xe);
3845
+ function Go(e) {
3829
3846
  return e && e.__esModule ? e : { default: e };
3830
3847
  }
3831
- var Go = {
3848
+ var Jo = {
3832
3849
  /*
3833
3850
  * Restricts resizing to a particular axis (default: 'both')
3834
3851
  * 'both' - allows resizing by width or height
@@ -3933,23 +3950,23 @@ var Go = {
3933
3950
  return D.default.number.apply(D.default, r);
3934
3951
  }
3935
3952
  };
3936
- Ie.resizableProps = Go;
3953
+ Ie.resizableProps = Jo;
3937
3954
  ze.__esModule = !0;
3938
3955
  ze.default = void 0;
3939
- var $e = ta(ke), Jo = Wo, Zo = Tt, Qo = Ie, ea = ["children", "className", "draggableOpts", "width", "height", "handle", "handleSize", "lockAspectRatio", "axis", "minConstraints", "maxConstraints", "onResize", "onResizeStop", "onResizeStart", "resizeHandles", "transformScale"];
3940
- function zr(e) {
3956
+ var $e = ra(_e), Zo = qo, Qo = Tt, ea = Ie, ta = ["children", "className", "draggableOpts", "width", "height", "handle", "handleSize", "lockAspectRatio", "axis", "minConstraints", "maxConstraints", "onResize", "onResizeStop", "onResizeStart", "resizeHandles", "transformScale"];
3957
+ function Ar(e) {
3941
3958
  if (typeof WeakMap != "function") return null;
3942
3959
  var t = /* @__PURE__ */ new WeakMap(), r = /* @__PURE__ */ new WeakMap();
3943
- return (zr = function(o) {
3960
+ return (Ar = function(o) {
3944
3961
  return o ? r : t;
3945
3962
  })(e);
3946
3963
  }
3947
- function ta(e, t) {
3964
+ function ra(e, t) {
3948
3965
  if (e && e.__esModule)
3949
3966
  return e;
3950
3967
  if (e === null || typeof e != "object" && typeof e != "function")
3951
3968
  return { default: e };
3952
- var r = zr(t);
3969
+ var r = Ar(t);
3953
3970
  if (r && r.has(e))
3954
3971
  return r.get(e);
3955
3972
  var n = {}, o = Object.defineProperty && Object.getOwnPropertyDescriptor;
@@ -3970,14 +3987,14 @@ function Nt() {
3970
3987
  return e;
3971
3988
  }, Nt.apply(this, arguments);
3972
3989
  }
3973
- function ra(e, t) {
3990
+ function na(e, t) {
3974
3991
  if (e == null) return {};
3975
3992
  var r = {}, n = Object.keys(e), o, a;
3976
3993
  for (a = 0; a < n.length; a++)
3977
3994
  o = n[a], !(t.indexOf(o) >= 0) && (r[o] = e[o]);
3978
3995
  return r;
3979
3996
  }
3980
- function pr(e, t) {
3997
+ function mr(e, t) {
3981
3998
  var r = Object.keys(e);
3982
3999
  if (Object.getOwnPropertySymbols) {
3983
4000
  var n = Object.getOwnPropertySymbols(e);
@@ -3990,22 +4007,22 @@ function pr(e, t) {
3990
4007
  function bt(e) {
3991
4008
  for (var t = 1; t < arguments.length; t++) {
3992
4009
  var r = arguments[t] != null ? arguments[t] : {};
3993
- t % 2 ? pr(Object(r), !0).forEach(function(n) {
3994
- na(e, n, r[n]);
3995
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : pr(Object(r)).forEach(function(n) {
4010
+ t % 2 ? mr(Object(r), !0).forEach(function(n) {
4011
+ ia(e, n, r[n]);
4012
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : mr(Object(r)).forEach(function(n) {
3996
4013
  Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(r, n));
3997
4014
  });
3998
4015
  }
3999
4016
  return e;
4000
4017
  }
4001
- function na(e, t, r) {
4002
- return t = ia(t), t in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e;
4018
+ function ia(e, t, r) {
4019
+ return t = oa(t), t in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e;
4003
4020
  }
4004
- function ia(e) {
4005
- var t = oa(e, "string");
4021
+ function oa(e) {
4022
+ var t = aa(e, "string");
4006
4023
  return typeof t == "symbol" ? t : String(t);
4007
4024
  }
4008
- function oa(e, t) {
4025
+ function aa(e, t) {
4009
4026
  if (typeof e != "object" || e === null) return e;
4010
4027
  var r = e[Symbol.toPrimitive];
4011
4028
  if (r !== void 0) {
@@ -4015,7 +4032,7 @@ function oa(e, t) {
4015
4032
  }
4016
4033
  return (t === "string" ? String : Number)(e);
4017
4034
  }
4018
- function aa(e, t) {
4035
+ function sa(e, t) {
4019
4036
  e.prototype = Object.create(t.prototype), e.prototype.constructor = e, Et(e, t);
4020
4037
  }
4021
4038
  function Et(e, t) {
@@ -4023,8 +4040,8 @@ function Et(e, t) {
4023
4040
  return n.__proto__ = o, n;
4024
4041
  }, Et(e, t);
4025
4042
  }
4026
- var jt = /* @__PURE__ */ function(e) {
4027
- aa(t, e);
4043
+ var Pt = /* @__PURE__ */ function(e) {
4044
+ sa(t, e);
4028
4045
  function t() {
4029
4046
  for (var n, o = arguments.length, a = new Array(o), s = 0; s < o; s++)
4030
4047
  a[s] = arguments[s];
@@ -4039,15 +4056,15 @@ var jt = /* @__PURE__ */ function(e) {
4039
4056
  var s = this.props, u = s.minConstraints, m = s.maxConstraints, p = s.lockAspectRatio;
4040
4057
  if (!u && !m && !p) return [o, a];
4041
4058
  if (p) {
4042
- var b = this.props.width / this.props.height, N = o - this.props.width, O = a - this.props.height;
4043
- Math.abs(N) > Math.abs(O * b) ? a = o / b : o = a * b;
4059
+ var y = this.props.width / this.props.height, v = o - this.props.width, O = a - this.props.height;
4060
+ Math.abs(v) > Math.abs(O * y) ? a = o / y : o = a * y;
4044
4061
  }
4045
4062
  var S = o, A = a, $ = this.slack || [0, 0], B = $[0], W = $[1];
4046
4063
  return o += B, a += W, u && (o = Math.max(u[0], o), a = Math.max(u[1], a)), m && (o = Math.min(m[0], o), a = Math.min(m[1], a)), this.slack = [B + (S - o), W + (A - a)], [o, a];
4047
4064
  }, r.resizeHandler = function(o, a) {
4048
4065
  var s = this;
4049
4066
  return function(u, m) {
4050
- var p = m.node, b = m.deltaX, N = m.deltaY;
4067
+ var p = m.node, y = m.deltaX, v = m.deltaY;
4051
4068
  o === "onResizeStart" && s.resetData();
4052
4069
  var O = (s.props.axis === "both" || s.props.axis === "x") && a !== "n" && a !== "s", S = (s.props.axis === "both" || s.props.axis === "y") && a !== "e" && a !== "w";
4053
4070
  if (!(!O && !S)) {
@@ -4055,21 +4072,21 @@ var jt = /* @__PURE__ */ function(e) {
4055
4072
  if (s.lastHandleRect != null) {
4056
4073
  if ($ === "w") {
4057
4074
  var W = B.left - s.lastHandleRect.left;
4058
- b += W;
4075
+ y += W;
4059
4076
  }
4060
4077
  if (A === "n") {
4061
- var v = B.top - s.lastHandleRect.top;
4062
- N += v;
4078
+ var g = B.top - s.lastHandleRect.top;
4079
+ v += g;
4063
4080
  }
4064
4081
  }
4065
- s.lastHandleRect = B, $ === "w" && (b = -b), A === "n" && (N = -N);
4066
- var x = s.props.width + (O ? b / s.props.transformScale : 0), E = s.props.height + (S ? N / s.props.transformScale : 0), c = s.runConstraints(x, E);
4067
- x = c[0], E = c[1];
4068
- var Y = x !== s.props.width || E !== s.props.height, P = typeof s.props[o] == "function" ? s.props[o] : null, Q = o === "onResize" && !Y;
4069
- P && !Q && (u.persist == null || u.persist(), P(u, {
4082
+ s.lastHandleRect = B, $ === "w" && (y = -y), A === "n" && (v = -v);
4083
+ var N = s.props.width + (O ? y / s.props.transformScale : 0), E = s.props.height + (S ? v / s.props.transformScale : 0), c = s.runConstraints(N, E);
4084
+ N = c[0], E = c[1];
4085
+ var Y = N !== s.props.width || E !== s.props.height, T = typeof s.props[o] == "function" ? s.props[o] : null, Q = o === "onResize" && !Y;
4086
+ T && !Q && (u.persist == null || u.persist(), T(u, {
4070
4087
  node: p,
4071
4088
  size: {
4072
- width: x,
4089
+ width: N,
4073
4090
  height: E
4074
4091
  },
4075
4092
  handle: a
@@ -4096,25 +4113,25 @@ var jt = /* @__PURE__ */ function(e) {
4096
4113
  a.width, a.height, a.handle, a.handleSize, a.lockAspectRatio, a.axis, a.minConstraints, a.maxConstraints, a.onResize, a.onResizeStop, a.onResizeStart;
4097
4114
  var p = a.resizeHandles;
4098
4115
  a.transformScale;
4099
- var b = ra(a, ea);
4100
- return (0, Zo.cloneElement)(s, bt(bt({}, b), {}, {
4116
+ var y = na(a, ta);
4117
+ return (0, Qo.cloneElement)(s, bt(bt({}, y), {}, {
4101
4118
  className: (u ? u + " " : "") + "react-resizable",
4102
- children: [].concat(s.props.children, p.map(function(N) {
4103
- var O, S = (O = o.handleRefs[N]) != null ? O : o.handleRefs[N] = /* @__PURE__ */ $e.createRef();
4104
- return /* @__PURE__ */ $e.createElement(Jo.DraggableCore, Nt({}, m, {
4119
+ children: [].concat(s.props.children, p.map(function(v) {
4120
+ var O, S = (O = o.handleRefs[v]) != null ? O : o.handleRefs[v] = /* @__PURE__ */ $e.createRef();
4121
+ return /* @__PURE__ */ $e.createElement(Zo.DraggableCore, Nt({}, m, {
4105
4122
  nodeRef: S,
4106
- key: "resizableHandle-" + N,
4107
- onStop: o.resizeHandler("onResizeStop", N),
4108
- onStart: o.resizeHandler("onResizeStart", N),
4109
- onDrag: o.resizeHandler("onResize", N)
4110
- }), o.renderResizeHandle(N, S));
4123
+ key: "resizableHandle-" + v,
4124
+ onStop: o.resizeHandler("onResizeStop", v),
4125
+ onStart: o.resizeHandler("onResizeStart", v),
4126
+ onDrag: o.resizeHandler("onResize", v)
4127
+ }), o.renderResizeHandle(v, S));
4111
4128
  }))
4112
4129
  }));
4113
4130
  }, t;
4114
4131
  }($e.Component);
4115
- ze.default = jt;
4116
- jt.propTypes = Qo.resizableProps;
4117
- jt.defaultProps = {
4132
+ ze.default = Pt;
4133
+ Pt.propTypes = ea.resizableProps;
4134
+ Pt.defaultProps = {
4118
4135
  axis: "both",
4119
4136
  handleSize: [20, 20],
4120
4137
  lockAspectRatio: !1,
@@ -4126,23 +4143,23 @@ jt.defaultProps = {
4126
4143
  var Ze = {};
4127
4144
  Ze.__esModule = !0;
4128
4145
  Ze.default = void 0;
4129
- var ht = da(ke), sa = Ir(Xe), la = Ir(ze), ca = Ie, ua = ["handle", "handleSize", "onResize", "onResizeStart", "onResizeStop", "draggableOpts", "minConstraints", "maxConstraints", "lockAspectRatio", "axis", "width", "height", "resizeHandles", "style", "transformScale"];
4130
- function Ir(e) {
4146
+ var ht = fa(_e), la = $r(Xe), ca = $r(ze), ua = Ie, da = ["handle", "handleSize", "onResize", "onResizeStart", "onResizeStop", "draggableOpts", "minConstraints", "maxConstraints", "lockAspectRatio", "axis", "width", "height", "resizeHandles", "style", "transformScale"];
4147
+ function $r(e) {
4131
4148
  return e && e.__esModule ? e : { default: e };
4132
4149
  }
4133
- function Hr(e) {
4150
+ function zr(e) {
4134
4151
  if (typeof WeakMap != "function") return null;
4135
4152
  var t = /* @__PURE__ */ new WeakMap(), r = /* @__PURE__ */ new WeakMap();
4136
- return (Hr = function(o) {
4153
+ return (zr = function(o) {
4137
4154
  return o ? r : t;
4138
4155
  })(e);
4139
4156
  }
4140
- function da(e, t) {
4157
+ function fa(e, t) {
4141
4158
  if (e && e.__esModule)
4142
4159
  return e;
4143
4160
  if (e === null || typeof e != "object" && typeof e != "function")
4144
4161
  return { default: e };
4145
- var r = Hr(t);
4162
+ var r = zr(t);
4146
4163
  if (r && r.has(e))
4147
4164
  return r.get(e);
4148
4165
  var n = {}, o = Object.defineProperty && Object.getOwnPropertyDescriptor;
@@ -4163,7 +4180,7 @@ function St() {
4163
4180
  return e;
4164
4181
  }, St.apply(this, arguments);
4165
4182
  }
4166
- function br(e, t) {
4183
+ function pr(e, t) {
4167
4184
  var r = Object.keys(e);
4168
4185
  if (Object.getOwnPropertySymbols) {
4169
4186
  var n = Object.getOwnPropertySymbols(e);
@@ -4173,25 +4190,25 @@ function br(e, t) {
4173
4190
  }
4174
4191
  return r;
4175
4192
  }
4176
- function Fe(e) {
4193
+ function Ue(e) {
4177
4194
  for (var t = 1; t < arguments.length; t++) {
4178
4195
  var r = arguments[t] != null ? arguments[t] : {};
4179
- t % 2 ? br(Object(r), !0).forEach(function(n) {
4180
- fa(e, n, r[n]);
4181
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : br(Object(r)).forEach(function(n) {
4196
+ t % 2 ? pr(Object(r), !0).forEach(function(n) {
4197
+ ma(e, n, r[n]);
4198
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : pr(Object(r)).forEach(function(n) {
4182
4199
  Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(r, n));
4183
4200
  });
4184
4201
  }
4185
4202
  return e;
4186
4203
  }
4187
- function fa(e, t, r) {
4188
- return t = ma(t), t in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e;
4204
+ function ma(e, t, r) {
4205
+ return t = pa(t), t in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e;
4189
4206
  }
4190
- function ma(e) {
4191
- var t = pa(e, "string");
4207
+ function pa(e) {
4208
+ var t = ba(e, "string");
4192
4209
  return typeof t == "symbol" ? t : String(t);
4193
4210
  }
4194
- function pa(e, t) {
4211
+ function ba(e, t) {
4195
4212
  if (typeof e != "object" || e === null) return e;
4196
4213
  var r = e[Symbol.toPrimitive];
4197
4214
  if (r !== void 0) {
@@ -4201,14 +4218,14 @@ function pa(e, t) {
4201
4218
  }
4202
4219
  return (t === "string" ? String : Number)(e);
4203
4220
  }
4204
- function ba(e, t) {
4221
+ function ha(e, t) {
4205
4222
  if (e == null) return {};
4206
4223
  var r = {}, n = Object.keys(e), o, a;
4207
4224
  for (a = 0; a < n.length; a++)
4208
4225
  o = n[a], !(t.indexOf(o) >= 0) && (r[o] = e[o]);
4209
4226
  return r;
4210
4227
  }
4211
- function ha(e, t) {
4228
+ function ya(e, t) {
4212
4229
  e.prototype = Object.create(t.prototype), e.prototype.constructor = e, wt(e, t);
4213
4230
  }
4214
4231
  function wt(e, t) {
@@ -4216,8 +4233,8 @@ function wt(e, t) {
4216
4233
  return n.__proto__ = o, n;
4217
4234
  }, wt(e, t);
4218
4235
  }
4219
- var Lr = /* @__PURE__ */ function(e) {
4220
- ha(t, e);
4236
+ var Ir = /* @__PURE__ */ function(e) {
4237
+ ya(t, e);
4221
4238
  function t() {
4222
4239
  for (var n, o = arguments.length, a = new Array(o), s = 0; s < o; s++)
4223
4240
  a[s] = arguments[s];
@@ -4245,18 +4262,18 @@ var Lr = /* @__PURE__ */ function(e) {
4245
4262
  return r.render = function() {
4246
4263
  var o = this.props, a = o.handle, s = o.handleSize;
4247
4264
  o.onResize;
4248
- var u = o.onResizeStart, m = o.onResizeStop, p = o.draggableOpts, b = o.minConstraints, N = o.maxConstraints, O = o.lockAspectRatio, S = o.axis;
4265
+ var u = o.onResizeStart, m = o.onResizeStop, p = o.draggableOpts, y = o.minConstraints, v = o.maxConstraints, O = o.lockAspectRatio, S = o.axis;
4249
4266
  o.width, o.height;
4250
- var A = o.resizeHandles, $ = o.style, B = o.transformScale, W = ba(o, ua);
4251
- return /* @__PURE__ */ ht.createElement(la.default, {
4267
+ var A = o.resizeHandles, $ = o.style, B = o.transformScale, W = ha(o, da);
4268
+ return /* @__PURE__ */ ht.createElement(ca.default, {
4252
4269
  axis: S,
4253
4270
  draggableOpts: p,
4254
4271
  handle: a,
4255
4272
  handleSize: s,
4256
4273
  height: this.state.height,
4257
4274
  lockAspectRatio: O,
4258
- maxConstraints: N,
4259
- minConstraints: b,
4275
+ maxConstraints: v,
4276
+ minConstraints: y,
4260
4277
  onResizeStart: u,
4261
4278
  onResize: this.onResize,
4262
4279
  onResizeStop: m,
@@ -4264,24 +4281,24 @@ var Lr = /* @__PURE__ */ function(e) {
4264
4281
  transformScale: B,
4265
4282
  width: this.state.width
4266
4283
  }, /* @__PURE__ */ ht.createElement("div", St({}, W, {
4267
- style: Fe(Fe({}, $), {}, {
4284
+ style: Ue(Ue({}, $), {}, {
4268
4285
  width: this.state.width + "px",
4269
4286
  height: this.state.height + "px"
4270
4287
  })
4271
4288
  })));
4272
4289
  }, t;
4273
4290
  }(ht.Component);
4274
- Ze.default = Lr;
4275
- Lr.propTypes = Fe(Fe({}, ca.resizableProps), {}, {
4276
- children: sa.default.element
4291
+ Ze.default = Ir;
4292
+ Ir.propTypes = Ue(Ue({}, ua.resizableProps), {}, {
4293
+ children: la.default.element
4277
4294
  });
4278
- Dt.exports = function() {
4295
+ kt.exports = function() {
4279
4296
  throw new Error("Don't instantiate Resizable directly! Use require('react-resizable').Resizable");
4280
4297
  };
4281
- Dt.exports.Resizable = ze.default;
4282
- var ya = Dt.exports.ResizableBox = Ze.default;
4283
- const va = (e) => {
4284
- const { editor: t } = Ct();
4298
+ kt.exports.Resizable = ze.default;
4299
+ var va = kt.exports.ResizableBox = Ze.default;
4300
+ const ga = (e) => {
4301
+ const { editor: t } = cn();
4285
4302
  if (!t) return null;
4286
4303
  const { node: r, updateAttributes: n } = e, [o, a] = he({
4287
4304
  width: r.attrs.width || 300,
@@ -4289,9 +4306,9 @@ const va = (e) => {
4289
4306
  }), [s, u] = he({
4290
4307
  left: r.attrs.marginLeft || 0,
4291
4308
  right: r.attrs.marginRight || 0
4292
- }), [m, p] = he(r.attrs.src || ""), b = yr(null);
4293
- vr(() => {
4294
- if (r.attrs.src && b.current) {
4309
+ }), [m, p] = he(r.attrs.src || ""), y = sn(null);
4310
+ hr(() => {
4311
+ if (r.attrs.src && y.current) {
4295
4312
  const S = new Image();
4296
4313
  S.onload = () => {
4297
4314
  (!r.attrs.width || !r.attrs.height) && a({
@@ -4301,7 +4318,7 @@ const va = (e) => {
4301
4318
  }, S.src = r.attrs.src;
4302
4319
  }
4303
4320
  }, [r.attrs.src]);
4304
- const N = (S, { size: A }) => {
4321
+ const v = (S, { size: A }) => {
4305
4322
  a({
4306
4323
  width: A.width,
4307
4324
  height: A.height
@@ -4318,8 +4335,8 @@ const va = (e) => {
4318
4335
  marginRight: s.right
4319
4336
  });
4320
4337
  };
4321
- return /* @__PURE__ */ l.jsxDEV(gr, { className: "image-wrapper", children: /* @__PURE__ */ l.jsxDEV(
4322
- Cr,
4338
+ return /* @__PURE__ */ l.jsxDEV(yr, { className: "image-wrapper", children: /* @__PURE__ */ l.jsxDEV(
4339
+ Sr,
4323
4340
  {
4324
4341
  title: "Image",
4325
4342
  childrenContent: /* @__PURE__ */ l.jsxDEV(
@@ -4331,11 +4348,11 @@ const va = (e) => {
4331
4348
  marginRight: s.right
4332
4349
  },
4333
4350
  children: t.isEditable ? /* @__PURE__ */ l.jsxDEV(
4334
- ya,
4351
+ va,
4335
4352
  {
4336
4353
  width: o.width,
4337
4354
  height: o.height,
4338
- onResize: N,
4355
+ onResize: v,
4339
4356
  minConstraints: [100, 100],
4340
4357
  maxConstraints: [800, 800],
4341
4358
  lockAspectRatio: !0,
@@ -4343,7 +4360,7 @@ const va = (e) => {
4343
4360
  children: /* @__PURE__ */ l.jsxDEV(
4344
4361
  "img",
4345
4362
  {
4346
- ref: b,
4363
+ ref: y,
4347
4364
  src: r.attrs.src,
4348
4365
  alt: "Uploaded",
4349
4366
  className: "object-contain w-full h-full",
@@ -4370,7 +4387,7 @@ const va = (e) => {
4370
4387
  ) : /* @__PURE__ */ l.jsxDEV(
4371
4388
  "img",
4372
4389
  {
4373
- ref: b,
4390
+ ref: y,
4374
4391
  src: r.attrs.src,
4375
4392
  alt: "Uploaded",
4376
4393
  style: {
@@ -4588,7 +4605,7 @@ const va = (e) => {
4588
4605
  lineNumber: 66,
4589
4606
  columnNumber: 9
4590
4607
  }, void 0);
4591
- }, ga = Nr.create({
4608
+ }, xa = gr.create({
4592
4609
  name: "image",
4593
4610
  group: "block",
4594
4611
  content: "inline*",
@@ -4606,10 +4623,10 @@ const va = (e) => {
4606
4623
  return [{ tag: "image" }];
4607
4624
  },
4608
4625
  renderHTML({ HTMLAttributes: e }) {
4609
- return ["image", Er(e)];
4626
+ return ["image", xr(e)];
4610
4627
  },
4611
4628
  addNodeView() {
4612
- return xr(va);
4629
+ return vr(ga);
4613
4630
  },
4614
4631
  addCommands() {
4615
4632
  return {
@@ -4619,13 +4636,13 @@ const va = (e) => {
4619
4636
  }).run()
4620
4637
  };
4621
4638
  }
4622
- }), xa = [
4623
- pn.configure({
4624
- types: [Bt.name, mn.name]
4625
- }),
4626
- Bt,
4627
- hn.configure({ multicolor: !0 }),
4639
+ }), Na = [
4628
4640
  bn.configure({
4641
+ types: [Ut.name, pn.name]
4642
+ }),
4643
+ Ut,
4644
+ yn.configure({ multicolor: !0 }),
4645
+ hn.configure({
4629
4646
  bulletList: {
4630
4647
  keepMarks: !0,
4631
4648
  keepAttributes: !1
@@ -4635,16 +4652,16 @@ const va = (e) => {
4635
4652
  keepAttributes: !1
4636
4653
  }
4637
4654
  }),
4638
- Xi,
4639
- yn,
4655
+ Ki,
4640
4656
  vn,
4641
4657
  gn,
4642
- xn.configure({
4658
+ xn,
4659
+ Nn.configure({
4643
4660
  types: ["heading", "paragraph"]
4644
4661
  }),
4645
- Nn,
4646
4662
  En,
4647
- Sn.configure({
4663
+ Sn,
4664
+ wn.configure({
4648
4665
  resizable: !0,
4649
4666
  lastColumnResizable: !0,
4650
4667
  allowTableNodeSelection: !0,
@@ -4652,16 +4669,16 @@ const va = (e) => {
4652
4669
  class: "table-wrapper"
4653
4670
  }
4654
4671
  }),
4655
- wn,
4656
4672
  Cn,
4657
- kn.configure({
4673
+ kn,
4674
+ Dn.configure({
4658
4675
  HTMLAttributes: {
4659
4676
  class: "table-cell"
4660
4677
  }
4661
4678
  }),
4662
- Dn,
4663
- ga
4664
- ], qa = ({
4679
+ _n,
4680
+ xa
4681
+ ], Ya = ({
4665
4682
  content: e = "",
4666
4683
  slotBefore: t = !1,
4667
4684
  className: r = "",
@@ -4669,42 +4686,33 @@ const va = (e) => {
4669
4686
  editable: o = !0,
4670
4687
  onChange: a
4671
4688
  }) => {
4672
- const s = yr(null), u = ke.useMemo(() => xa, []), m = ({ editor: b }) => {
4673
- a && a(b.getHTML());
4674
- }, p = ({ editor: b }) => {
4675
- s.current = b;
4676
- };
4677
- return vr(() => {
4678
- s.current && e !== s.current.getHTML() && s.current.commands.setContent(e);
4679
- }, [e]), /* @__PURE__ */ l.jsxDEV("div", { className: `cyber-editor-container ${r}`, children: /* @__PURE__ */ l.jsxDEV(
4680
- un,
4681
- {
4682
- slotBefore: t ? /* @__PURE__ */ l.jsxDEV(Fi, {}, void 0, !1, {
4683
- fileName: "E:/CyberSkill/cyber-editor/src/extensions/editor-provider.tsx",
4684
- lineNumber: 38,
4685
- columnNumber: 42
4686
- }, void 0) : null,
4687
- extensions: u,
4688
- content: e,
4689
- editable: o,
4690
- onUpdate: m,
4691
- onCreate: p,
4692
- editorContainerProps: { className: `${n}` }
4693
- },
4694
- void 0,
4695
- !1,
4696
- {
4689
+ const s = un({
4690
+ extensions: Na,
4691
+ content: e,
4692
+ editable: o,
4693
+ onUpdate: ({ editor: u }) => {
4694
+ a && a(u.getHTML());
4695
+ }
4696
+ });
4697
+ return hr(() => {
4698
+ s && e !== s.getHTML() && s.commands.setContent(e, !1);
4699
+ }, [s, e]), s ? /* @__PURE__ */ l.jsxDEV("div", { className: `cyber-editor-container ${r}`, children: [
4700
+ t && /* @__PURE__ */ l.jsxDEV(Bi, { editor: s }, void 0, !1, {
4701
+ fileName: "E:/CyberSkill/cyber-editor/src/extensions/editor-provider.tsx",
4702
+ lineNumber: 36,
4703
+ columnNumber: 28
4704
+ }, void 0),
4705
+ /* @__PURE__ */ l.jsxDEV(dn, { editor: s, className: n }, void 0, !1, {
4697
4706
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/editor-provider.tsx",
4698
4707
  lineNumber: 37,
4699
4708
  columnNumber: 13
4700
- },
4701
- void 0
4702
- ) }, void 0, !1, {
4709
+ }, void 0)
4710
+ ] }, void 0, !0, {
4703
4711
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/editor-provider.tsx",
4704
- lineNumber: 36,
4712
+ lineNumber: 35,
4705
4713
  columnNumber: 9
4706
- }, void 0);
4714
+ }, void 0) : null;
4707
4715
  };
4708
4716
  export {
4709
- qa as CyberEditorProvider
4717
+ Ya as CyberEditorProvider
4710
4718
  };