@tenorlab/react-dashboard 1.0.4 → 1.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- import se, { useState as le, useCallback as ue, useMemo as at, forwardRef as ce, useRef as wt, Suspense as xt, useEffect as Ct } from "react";
1
+ import se, { useState as ce, useCallback as ue, useMemo as at, forwardRef as le, useRef as xt, Suspense as wt, useEffect as Ct } from "react";
2
2
  import { jsxs as W, jsx as a } from "react/jsx-runtime";
3
3
  import st from "react-dom";
4
4
  const St = [
@@ -87,7 +87,7 @@ const St = [
87
87
  value: y
88
88
  };
89
89
  }
90
- }, xe = {
90
+ }, we = {
91
91
  userID: 0,
92
92
  clientAppKey: "",
93
93
  dashboardId: "default",
@@ -97,12 +97,12 @@ const St = [
97
97
  widgets: [],
98
98
  childWidgetsConfig: [],
99
99
  cssSettings: [...St]
100
- }, Ae = 0.7, Fe = 1, Et = 0.05, ct = (e) => {
100
+ }, Ae = 0.7, Le = 1, Et = 0.05, lt = (e) => {
101
101
  let n = Number(e || 0);
102
- return n < Ae && (n = Ae), n > Fe && (n = Fe), n;
102
+ return n < Ae && (n = Ae), n > Le && (n = Le), n;
103
103
  }, Nn = (e, n) => {
104
104
  let t = Number(Number((Et * n).toFixed(2)).toFixed(2)), r = Number((Number(e) + t).toFixed(2));
105
- return ct(r);
105
+ return lt(r);
106
106
  }, En = (e) => {
107
107
  let n = {
108
108
  ...e
@@ -208,7 +208,7 @@ const St = [
208
208
  details: typeof i == "object" ? JSON.stringify(i) : i
209
209
  });
210
210
  }
211
- }), Le = (e) => {
211
+ }), Fe = (e) => {
212
212
  let n;
213
213
  const t = /* @__PURE__ */ new Set(), r = (m, h) => {
214
214
  const u = typeof m == "function" ? m(n) : m;
@@ -218,7 +218,7 @@ const St = [
218
218
  }
219
219
  }, i = () => n, d = { setState: r, getState: i, getInitialState: () => y, subscribe: (m) => (t.add(m), () => t.delete(m)) }, y = n = e(r, i, d);
220
220
  return d;
221
- }, $t = ((e) => e ? Le(e) : Le), Wt = (e) => e;
221
+ }, $t = ((e) => e ? Fe(e) : Fe), Wt = (e) => e;
222
222
  function It(e, n = Wt) {
223
223
  const t = se.useSyncExternalStore(
224
224
  e.subscribe,
@@ -230,11 +230,11 @@ function It(e, n = Wt) {
230
230
  const Ot = (e) => {
231
231
  const n = $t(e), t = (r) => It(n, r);
232
232
  return Object.assign(t, n), t;
233
- }, Rt = ((e) => Ot), kt = (e) => {
233
+ }, Rt = ((e) => Ot), jt = (e) => {
234
234
  const n = e.widgets.filter((r) => r.includes("WidgetContainer")).map((r) => Number(r.split("_")[1].replace("container", "")));
235
235
  return `container${n.length > 0 ? Math.max(...n) + 1 : 1}`;
236
- }, jt = (e, n) => {
237
- const t = kt(e);
236
+ }, kt = (e, n) => {
237
+ const t = jt(e);
238
238
  return `${n}_${t}`;
239
239
  }, At = (e) => {
240
240
  const { dashboardConfig: n, widgetKey: t, parentWidgetKey: r, noDuplicatedWidgets: i } = e;
@@ -275,7 +275,7 @@ const Ot = (e) => {
275
275
  }
276
276
  };
277
277
  }
278
- }, Ft = (e, n, t) => {
278
+ }, Lt = (e, n, t) => {
279
279
  if ((t || "").trim().length > 0) {
280
280
  const r = e.childWidgetsConfig.filter(
281
281
  (y) => y.parentWidgetKey !== t
@@ -303,7 +303,7 @@ const Ot = (e) => {
303
303
  }
304
304
  };
305
305
  }
306
- }, Lt = (e, n, t, r) => {
306
+ }, Ft = (e, n, t, r) => {
307
307
  if ((r || "").trim().length > 0) {
308
308
  const i = e.childWidgetsConfig.filter(
309
309
  (h) => h.parentWidgetKey !== r
@@ -348,10 +348,10 @@ const Ot = (e) => {
348
348
  }, Ut = (e, n) => ({
349
349
  isLoading: !1,
350
350
  isEditing: !1,
351
- allDashboardConfigs: [xe],
352
- currentDashboardConfig: xe,
351
+ allDashboardConfigs: [we],
352
+ currentDashboardConfig: we,
353
353
  targetContainerKey: void 0,
354
- getNextContainerKey: (t) => jt(n().currentDashboardConfig, t),
354
+ getNextContainerKey: (t) => kt(n().currentDashboardConfig, t),
355
355
  setIsLoading: (t) => (e(() => ({ isLoading: t })), t),
356
356
  setIsEditing: (t) => {
357
357
  let r = n().targetContainerKey;
@@ -386,7 +386,7 @@ const Ot = (e) => {
386
386
  return e(() => ({
387
387
  ...r,
388
388
  allDashboardConfigs: i,
389
- currentDashboardConfig: i[0] || xe
389
+ currentDashboardConfig: i[0] || we
390
390
  })), i;
391
391
  },
392
392
  selectDashboardById: (t) => (e(() => {
@@ -416,7 +416,7 @@ const Ot = (e) => {
416
416
  };
417
417
  },
418
418
  removeWidget: (t, r) => {
419
- const i = n(), o = Ft(i.currentDashboardConfig, t, r), s = [
419
+ const i = n(), o = Lt(i.currentDashboardConfig, t, r), s = [
420
420
  ...i.allDashboardConfigs.filter(
421
421
  (d) => d.dashboardId !== o.updatedDashboardConfig.dashboardId
422
422
  ),
@@ -431,7 +431,7 @@ const Ot = (e) => {
431
431
  };
432
432
  },
433
433
  moveWidget: (t, r, i) => {
434
- const o = n(), s = Lt(o.currentDashboardConfig, t, r, i), d = [
434
+ const o = n(), s = Ft(o.currentDashboardConfig, t, r, i), d = [
435
435
  ...o.allDashboardConfigs.filter(
436
436
  (y) => y.dashboardId !== s.updatedDashboardConfig.dashboardId
437
437
  ),
@@ -447,8 +447,8 @@ const Ot = (e) => {
447
447
  }
448
448
  }), Wn = Rt()((...e) => ({
449
449
  ...Ut(...e)
450
- })), lt = (e, n) => `dashboards_${n}_${e}`, Vt = async (e, n, t, r) => {
451
- const i = localStorage.getItem(lt(e, n));
450
+ })), ct = (e, n) => `dashboards_${n}_${e}`, Vt = async (e, n, t, r) => {
451
+ const i = localStorage.getItem(ct(e, n));
452
452
  if (i)
453
453
  try {
454
454
  const o = JSON.parse(i);
@@ -495,20 +495,20 @@ const Ot = (e) => {
495
495
  ), o.zoomScale ? o.zoomScale < 0.7 && (o.zoomScale = 0.7) : o.zoomScale = 1;
496
496
  });
497
497
  const i = JSON.stringify(t);
498
- return localStorage.setItem(lt(e, n), i), !0;
498
+ return localStorage.setItem(ct(e, n), i), !0;
499
499
  }, qt = {
500
500
  getSavedDashboards: Vt,
501
501
  saveDashboards: Yt
502
502
  }, In = () => qt, On = () => {
503
- const [e, n] = le({}), [t, r] = le({}), i = ue((h) => {
503
+ const [e, n] = ce({}), [t, r] = ce({}), i = ue((h) => {
504
504
  const u = h.dashboardId;
505
505
  n((g) => {
506
506
  const p = {
507
507
  undoIndex: 0,
508
508
  config: h
509
509
  };
510
- return r((x) => ({
511
- ...x,
510
+ return r((w) => ({
511
+ ...w,
512
512
  [u]: 0
513
513
  })), {
514
514
  ...g,
@@ -519,11 +519,11 @@ const Ot = (e) => {
519
519
  }, []), o = ue(
520
520
  (h) => {
521
521
  n((u) => {
522
- const g = h.dashboardId, p = u[g] || [], x = t[g] ?? -1, b = p.slice(0, x + 1), v = {
523
- undoIndex: b.length,
522
+ const g = h.dashboardId, p = u[g] || [], w = t[g] ?? -1, v = p.slice(0, w + 1), b = {
523
+ undoIndex: v.length,
524
524
  // New index based on trimmed length
525
525
  config: h
526
- }, C = [...b, v];
526
+ }, C = [...v, b];
527
527
  return r((T) => ({
528
528
  ...T,
529
529
  [g]: C.length - 1
@@ -558,8 +558,8 @@ const Ot = (e) => {
558
558
  ), y = ue(
559
559
  (h) => {
560
560
  r((u) => {
561
- const g = e[h]?.length || 0, p = u[h] ?? -1, x = Math.min(g - 1, p + 1);
562
- return x !== p ? { ...u, [h]: x } : u;
561
+ const g = e[h]?.length || 0, p = u[h] ?? -1, w = Math.min(g - 1, p + 1);
562
+ return w !== p ? { ...u, [h]: w } : u;
563
563
  });
564
564
  },
565
565
  [
@@ -575,8 +575,8 @@ const Ot = (e) => {
575
575
  undo: d,
576
576
  redo: y,
577
577
  getUndoStatus: (h) => {
578
- const u = t[h] ?? -1, g = e[h]?.length || 0, p = u <= 0, x = u >= g - 1;
579
- return { isUndoDisabled: p, isRedoDisabled: x };
578
+ const u = t[h] ?? -1, g = e[h]?.length || 0, p = u <= 0, w = u >= g - 1;
579
+ return { isUndoDisabled: p, isRedoDisabled: w };
580
580
  },
581
581
  undoHistory: e,
582
582
  historyIndex: t
@@ -611,7 +611,7 @@ function Rn({ className: e }) {
611
611
  /* @__PURE__ */ a("path", { d: "M12 8v8" })
612
612
  ] });
613
613
  }
614
- function kn({ className: e }) {
614
+ function jn({ className: e }) {
615
615
  return /* @__PURE__ */ W(K, { className: `lucide lucide-trash2-icon lucide-trash-2 ${e}`, children: [
616
616
  /* @__PURE__ */ a("path", { d: "M10 11v6" }),
617
617
  /* @__PURE__ */ a("path", { d: "M14 11v6" }),
@@ -620,7 +620,7 @@ function kn({ className: e }) {
620
620
  /* @__PURE__ */ a("path", { d: "M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2" })
621
621
  ] });
622
622
  }
623
- function jn({ className: e }) {
623
+ function kn({ className: e }) {
624
624
  return /* @__PURE__ */ W(K, { className: `lucide lucide-square-pen-icon lucide-square-pen ${e}`, children: [
625
625
  /* @__PURE__ */ a("path", { d: "M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7" }),
626
626
  /* @__PURE__ */ a("path", { d: "M18.375 2.625a1 1 0 0 1 3 3l-9.013 9.014a2 2 0 0 1-.853.505l-2.873.84a.5.5 0 0 1-.62-.62l.84-2.873a2 2 0 0 1 .506-.852z" })
@@ -635,14 +635,14 @@ function An({ className: e }) {
635
635
  /* @__PURE__ */ a("path", { d: "M15 3v18" })
636
636
  ] });
637
637
  }
638
- function Fn({ className: e }) {
638
+ function Ln({ className: e }) {
639
639
  return /* @__PURE__ */ W(K, { className: `lucide lucide-monitor-icon lucide-monitor ${e}`, children: [
640
640
  /* @__PURE__ */ a("rect", { width: "20", height: "14", x: "2", y: "3", rx: "2" }),
641
641
  /* @__PURE__ */ a("line", { x1: "8", x2: "16", y1: "21", y2: "21" }),
642
642
  /* @__PURE__ */ a("line", { x1: "12", x2: "12", y1: "17", y2: "21" })
643
643
  ] });
644
644
  }
645
- function Ln({ className: e }) {
645
+ function Fn({ className: e }) {
646
646
  return /* @__PURE__ */ W(
647
647
  K,
648
648
  {
@@ -880,14 +880,14 @@ function J(e) {
880
880
  children: m,
881
881
  ...h
882
882
  } = e, u = () => {
883
- const p = e.isIconButton || !1, x = e.category || "primary", b = e.buttonType || "normal", v = e.disabled || !1, C = e.className || "", T = e.font || "semibold", S = Number((e.border || 0) > 0 ? e.border : 0);
883
+ const p = e.isIconButton || !1, w = e.category || "primary", v = e.buttonType || "normal", b = e.disabled || !1, C = e.className || "", T = e.font || "semibold", S = Number((e.border || 0) > 0 ? e.border : 0);
884
884
  let D = (e.borderColor || "").trim();
885
885
  D = D.length > 0 ? D : "";
886
- const l = Number((e.borderHover || 0) > 0 ? e.borderHover : 0), N = e.shadow || "sm", c = e.shadowHover || "md", f = (e.addCss || "").trim(), P = e.justifyCss || "justify-center";
886
+ const c = Number((e.borderHover || 0) > 0 ? e.borderHover : 0), N = e.shadow || "sm", l = e.shadowHover || "md", f = (e.addCss || "").trim(), P = e.justifyCss || "justify-center";
887
887
  if (p)
888
888
  return Z(
889
889
  "flex flex-row items-center",
890
- v ? "text-disabled" : `text-${x} hover:brightness-110 cursor-pointer`,
890
+ b ? "text-disabled" : `text-${w} hover:brightness-110 cursor-pointer`,
891
891
  C || ""
892
892
  );
893
893
  const $ = [
@@ -897,20 +897,20 @@ function J(e) {
897
897
  "text-sm",
898
898
  `font-${T}`
899
899
  ];
900
- if (v)
901
- b === "ghost" ? $.push("text-disabled border-disabled cursor-not-allowed") : $.push("bg-disabled content-disabled border-disabled cursor-not-allowed");
900
+ if (b)
901
+ v === "ghost" ? $.push("text-disabled border-disabled cursor-not-allowed") : $.push("bg-disabled content-disabled border-disabled cursor-not-allowed");
902
902
  else {
903
903
  $.push("cursor-pointer");
904
904
  let O = "";
905
- Ce.has(b) ? O = `${Ce.get(b)}` : O = `${Ce.get("normal")}`, S < 1 && (O = O.replace("border-[category]", ""));
906
- const E = O.replace(/\[category\]/g, x).trim();
905
+ Ce.has(v) ? O = `${Ce.get(v)}` : O = `${Ce.get("normal")}`, S < 1 && (O = O.replace("border-[category]", ""));
906
+ const E = O.replace(/\[category\]/g, w).trim();
907
907
  $.push(E);
908
908
  }
909
- return S > 0 ? ($.push(`border-[${S}px]`), $.push(`border-${D}`)) : ($.push("border-[1px]"), $.push("border-transparent")), l > 0 ? ($.push(`hover:border-[${l}px] group-hover:border-[${l}px]`), $.push(`hover:border-${D} group-hover:border-${D}`)) : $.push("hover:border-[1px] group-hover:border-[1px]"), $.push(`shadow-${N}`), $.push(`hover:shadow-${c} group-hover:shadow-${c}`), f.length > 0 && $.push(f), f.indexOf("hidden") === -1 && $.push("inline-flex"), $.push(P), $.join(" ").trim();
909
+ return S > 0 ? ($.push(`border-[${S}px]`), $.push(`border-${D}`)) : ($.push("border-[1px]"), $.push("border-transparent")), c > 0 ? ($.push(`hover:border-[${c}px] group-hover:border-[${c}px]`), $.push(`hover:border-${D} group-hover:border-${D}`)) : $.push("hover:border-[1px] group-hover:border-[1px]"), $.push(`shadow-${N}`), $.push(`hover:shadow-${l} group-hover:shadow-${l}`), f.length > 0 && $.push(f), f.indexOf("hidden") === -1 && $.push("inline-flex"), $.push(P), $.join(" ").trim();
910
910
  }, g = () => {
911
- const p = e.px || 0.7, x = e.py || 0.25;
911
+ const p = e.px || 0.7, w = e.py || 0.25;
912
912
  return {
913
- padding: r ? 0 : `${x}rem ${p}rem `
913
+ padding: r ? 0 : `${w}rem ${p}rem `
914
914
  };
915
915
  };
916
916
  return /* @__PURE__ */ a("button", { type: "button", disabled: t, className: u(), style: g(), ...h, children: m });
@@ -920,7 +920,7 @@ function en(e) {
920
920
  const { children: n, testId: t, classNames: r, direction: i, ...o } = e, s = Qt(e);
921
921
  return /* @__PURE__ */ a("div", { "data-testid": t || "not-set", className: s, ...o, children: n });
922
922
  }
923
- const Kn = ce(
923
+ const Kn = le(
924
924
  (e, n) => {
925
925
  const { classNames: t, innerClass: r, ...i } = e, o = Z(t || "", "w-full"), s = Z(
926
926
  `w-full flex overflow-hidden justify-between items-center gap-0
@@ -929,7 +929,7 @@ const Kn = ce(
929
929
  );
930
930
  return /* @__PURE__ */ a(en, { direction: "row", classNames: o, ...i, children: /* @__PURE__ */ a("div", { className: s, children: e.children }) });
931
931
  }
932
- ), Hn = ce((e, n) => /* @__PURE__ */ a(
932
+ ), Hn = le((e, n) => /* @__PURE__ */ a(
933
933
  "div",
934
934
  {
935
935
  "data-testid": e.testId || "not-set",
@@ -940,7 +940,7 @@ const Kn = ce(
940
940
  },
941
941
  children: e.children
942
942
  }
943
- )), Xn = ce(
943
+ )), Xn = le(
944
944
  (e, n) => /* @__PURE__ */ a(
945
945
  "div",
946
946
  {
@@ -949,7 +949,7 @@ const Kn = ce(
949
949
  children: e.children
950
950
  }
951
951
  )
952
- ), Gn = ce((e, n) => /* @__PURE__ */ a(
952
+ ), Gn = le((e, n) => /* @__PURE__ */ a(
953
953
  "div",
954
954
  {
955
955
  "data-testid": e.testId || "not-set",
@@ -969,28 +969,28 @@ var Ue;
969
969
  function nn() {
970
970
  if (Ue) return V;
971
971
  Ue = 1;
972
- var e = typeof Symbol == "function" && Symbol.for, n = e ? /* @__PURE__ */ Symbol.for("react.element") : 60103, t = e ? /* @__PURE__ */ Symbol.for("react.portal") : 60106, r = e ? /* @__PURE__ */ Symbol.for("react.fragment") : 60107, i = e ? /* @__PURE__ */ Symbol.for("react.strict_mode") : 60108, o = e ? /* @__PURE__ */ Symbol.for("react.profiler") : 60114, s = e ? /* @__PURE__ */ Symbol.for("react.provider") : 60109, d = e ? /* @__PURE__ */ Symbol.for("react.context") : 60110, y = e ? /* @__PURE__ */ Symbol.for("react.async_mode") : 60111, m = e ? /* @__PURE__ */ Symbol.for("react.concurrent_mode") : 60111, h = e ? /* @__PURE__ */ Symbol.for("react.forward_ref") : 60112, u = e ? /* @__PURE__ */ Symbol.for("react.suspense") : 60113, g = e ? /* @__PURE__ */ Symbol.for("react.suspense_list") : 60120, p = e ? /* @__PURE__ */ Symbol.for("react.memo") : 60115, x = e ? /* @__PURE__ */ Symbol.for("react.lazy") : 60116, b = e ? /* @__PURE__ */ Symbol.for("react.block") : 60121, v = e ? /* @__PURE__ */ Symbol.for("react.fundamental") : 60117, C = e ? /* @__PURE__ */ Symbol.for("react.responder") : 60118, T = e ? /* @__PURE__ */ Symbol.for("react.scope") : 60119;
973
- function S(l) {
974
- if (typeof l == "object" && l !== null) {
975
- var N = l.$$typeof;
972
+ var e = typeof Symbol == "function" && Symbol.for, n = e ? /* @__PURE__ */ Symbol.for("react.element") : 60103, t = e ? /* @__PURE__ */ Symbol.for("react.portal") : 60106, r = e ? /* @__PURE__ */ Symbol.for("react.fragment") : 60107, i = e ? /* @__PURE__ */ Symbol.for("react.strict_mode") : 60108, o = e ? /* @__PURE__ */ Symbol.for("react.profiler") : 60114, s = e ? /* @__PURE__ */ Symbol.for("react.provider") : 60109, d = e ? /* @__PURE__ */ Symbol.for("react.context") : 60110, y = e ? /* @__PURE__ */ Symbol.for("react.async_mode") : 60111, m = e ? /* @__PURE__ */ Symbol.for("react.concurrent_mode") : 60111, h = e ? /* @__PURE__ */ Symbol.for("react.forward_ref") : 60112, u = e ? /* @__PURE__ */ Symbol.for("react.suspense") : 60113, g = e ? /* @__PURE__ */ Symbol.for("react.suspense_list") : 60120, p = e ? /* @__PURE__ */ Symbol.for("react.memo") : 60115, w = e ? /* @__PURE__ */ Symbol.for("react.lazy") : 60116, v = e ? /* @__PURE__ */ Symbol.for("react.block") : 60121, b = e ? /* @__PURE__ */ Symbol.for("react.fundamental") : 60117, C = e ? /* @__PURE__ */ Symbol.for("react.responder") : 60118, T = e ? /* @__PURE__ */ Symbol.for("react.scope") : 60119;
973
+ function S(c) {
974
+ if (typeof c == "object" && c !== null) {
975
+ var N = c.$$typeof;
976
976
  switch (N) {
977
977
  case n:
978
- switch (l = l.type, l) {
978
+ switch (c = c.type, c) {
979
979
  case y:
980
980
  case m:
981
981
  case r:
982
982
  case o:
983
983
  case i:
984
984
  case u:
985
- return l;
985
+ return c;
986
986
  default:
987
- switch (l = l && l.$$typeof, l) {
987
+ switch (c = c && c.$$typeof, c) {
988
988
  case d:
989
989
  case h:
990
- case x:
990
+ case w:
991
991
  case p:
992
992
  case s:
993
- return l;
993
+ return c;
994
994
  default:
995
995
  return N;
996
996
  }
@@ -1000,45 +1000,45 @@ function nn() {
1000
1000
  }
1001
1001
  }
1002
1002
  }
1003
- function D(l) {
1004
- return S(l) === m;
1005
- }
1006
- return V.AsyncMode = y, V.ConcurrentMode = m, V.ContextConsumer = d, V.ContextProvider = s, V.Element = n, V.ForwardRef = h, V.Fragment = r, V.Lazy = x, V.Memo = p, V.Portal = t, V.Profiler = o, V.StrictMode = i, V.Suspense = u, V.isAsyncMode = function(l) {
1007
- return D(l) || S(l) === y;
1008
- }, V.isConcurrentMode = D, V.isContextConsumer = function(l) {
1009
- return S(l) === d;
1010
- }, V.isContextProvider = function(l) {
1011
- return S(l) === s;
1012
- }, V.isElement = function(l) {
1013
- return typeof l == "object" && l !== null && l.$$typeof === n;
1014
- }, V.isForwardRef = function(l) {
1015
- return S(l) === h;
1016
- }, V.isFragment = function(l) {
1017
- return S(l) === r;
1018
- }, V.isLazy = function(l) {
1019
- return S(l) === x;
1020
- }, V.isMemo = function(l) {
1021
- return S(l) === p;
1022
- }, V.isPortal = function(l) {
1023
- return S(l) === t;
1024
- }, V.isProfiler = function(l) {
1025
- return S(l) === o;
1026
- }, V.isStrictMode = function(l) {
1027
- return S(l) === i;
1028
- }, V.isSuspense = function(l) {
1029
- return S(l) === u;
1030
- }, V.isValidElementType = function(l) {
1031
- return typeof l == "string" || typeof l == "function" || l === r || l === m || l === o || l === i || l === u || l === g || typeof l == "object" && l !== null && (l.$$typeof === x || l.$$typeof === p || l.$$typeof === s || l.$$typeof === d || l.$$typeof === h || l.$$typeof === v || l.$$typeof === C || l.$$typeof === T || l.$$typeof === b);
1003
+ function D(c) {
1004
+ return S(c) === m;
1005
+ }
1006
+ return V.AsyncMode = y, V.ConcurrentMode = m, V.ContextConsumer = d, V.ContextProvider = s, V.Element = n, V.ForwardRef = h, V.Fragment = r, V.Lazy = w, V.Memo = p, V.Portal = t, V.Profiler = o, V.StrictMode = i, V.Suspense = u, V.isAsyncMode = function(c) {
1007
+ return D(c) || S(c) === y;
1008
+ }, V.isConcurrentMode = D, V.isContextConsumer = function(c) {
1009
+ return S(c) === d;
1010
+ }, V.isContextProvider = function(c) {
1011
+ return S(c) === s;
1012
+ }, V.isElement = function(c) {
1013
+ return typeof c == "object" && c !== null && c.$$typeof === n;
1014
+ }, V.isForwardRef = function(c) {
1015
+ return S(c) === h;
1016
+ }, V.isFragment = function(c) {
1017
+ return S(c) === r;
1018
+ }, V.isLazy = function(c) {
1019
+ return S(c) === w;
1020
+ }, V.isMemo = function(c) {
1021
+ return S(c) === p;
1022
+ }, V.isPortal = function(c) {
1023
+ return S(c) === t;
1024
+ }, V.isProfiler = function(c) {
1025
+ return S(c) === o;
1026
+ }, V.isStrictMode = function(c) {
1027
+ return S(c) === i;
1028
+ }, V.isSuspense = function(c) {
1029
+ return S(c) === u;
1030
+ }, V.isValidElementType = function(c) {
1031
+ return typeof c == "string" || typeof c == "function" || c === r || c === m || c === o || c === i || c === u || c === g || typeof c == "object" && c !== null && (c.$$typeof === w || c.$$typeof === p || c.$$typeof === s || c.$$typeof === d || c.$$typeof === h || c.$$typeof === b || c.$$typeof === C || c.$$typeof === T || c.$$typeof === v);
1032
1032
  }, V.typeOf = S, V;
1033
1033
  }
1034
1034
  var Y = {};
1035
1035
  var Ve;
1036
1036
  function rn() {
1037
1037
  return Ve || (Ve = 1, process.env.NODE_ENV !== "production" && (function() {
1038
- var e = typeof Symbol == "function" && Symbol.for, n = e ? /* @__PURE__ */ Symbol.for("react.element") : 60103, t = e ? /* @__PURE__ */ Symbol.for("react.portal") : 60106, r = e ? /* @__PURE__ */ Symbol.for("react.fragment") : 60107, i = e ? /* @__PURE__ */ Symbol.for("react.strict_mode") : 60108, o = e ? /* @__PURE__ */ Symbol.for("react.profiler") : 60114, s = e ? /* @__PURE__ */ Symbol.for("react.provider") : 60109, d = e ? /* @__PURE__ */ Symbol.for("react.context") : 60110, y = e ? /* @__PURE__ */ Symbol.for("react.async_mode") : 60111, m = e ? /* @__PURE__ */ Symbol.for("react.concurrent_mode") : 60111, h = e ? /* @__PURE__ */ Symbol.for("react.forward_ref") : 60112, u = e ? /* @__PURE__ */ Symbol.for("react.suspense") : 60113, g = e ? /* @__PURE__ */ Symbol.for("react.suspense_list") : 60120, p = e ? /* @__PURE__ */ Symbol.for("react.memo") : 60115, x = e ? /* @__PURE__ */ Symbol.for("react.lazy") : 60116, b = e ? /* @__PURE__ */ Symbol.for("react.block") : 60121, v = e ? /* @__PURE__ */ Symbol.for("react.fundamental") : 60117, C = e ? /* @__PURE__ */ Symbol.for("react.responder") : 60118, T = e ? /* @__PURE__ */ Symbol.for("react.scope") : 60119;
1038
+ var e = typeof Symbol == "function" && Symbol.for, n = e ? /* @__PURE__ */ Symbol.for("react.element") : 60103, t = e ? /* @__PURE__ */ Symbol.for("react.portal") : 60106, r = e ? /* @__PURE__ */ Symbol.for("react.fragment") : 60107, i = e ? /* @__PURE__ */ Symbol.for("react.strict_mode") : 60108, o = e ? /* @__PURE__ */ Symbol.for("react.profiler") : 60114, s = e ? /* @__PURE__ */ Symbol.for("react.provider") : 60109, d = e ? /* @__PURE__ */ Symbol.for("react.context") : 60110, y = e ? /* @__PURE__ */ Symbol.for("react.async_mode") : 60111, m = e ? /* @__PURE__ */ Symbol.for("react.concurrent_mode") : 60111, h = e ? /* @__PURE__ */ Symbol.for("react.forward_ref") : 60112, u = e ? /* @__PURE__ */ Symbol.for("react.suspense") : 60113, g = e ? /* @__PURE__ */ Symbol.for("react.suspense_list") : 60120, p = e ? /* @__PURE__ */ Symbol.for("react.memo") : 60115, w = e ? /* @__PURE__ */ Symbol.for("react.lazy") : 60116, v = e ? /* @__PURE__ */ Symbol.for("react.block") : 60121, b = e ? /* @__PURE__ */ Symbol.for("react.fundamental") : 60117, C = e ? /* @__PURE__ */ Symbol.for("react.responder") : 60118, T = e ? /* @__PURE__ */ Symbol.for("react.scope") : 60119;
1039
1039
  function S(_) {
1040
1040
  return typeof _ == "string" || typeof _ == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
1041
- _ === r || _ === m || _ === o || _ === i || _ === u || _ === g || typeof _ == "object" && _ !== null && (_.$$typeof === x || _.$$typeof === p || _.$$typeof === s || _.$$typeof === d || _.$$typeof === h || _.$$typeof === v || _.$$typeof === C || _.$$typeof === T || _.$$typeof === b);
1041
+ _ === r || _ === m || _ === o || _ === i || _ === u || _ === g || typeof _ == "object" && _ !== null && (_.$$typeof === w || _.$$typeof === p || _.$$typeof === s || _.$$typeof === d || _.$$typeof === h || _.$$typeof === b || _.$$typeof === C || _.$$typeof === T || _.$$typeof === v);
1042
1042
  }
1043
1043
  function D(_) {
1044
1044
  if (typeof _ == "object" && _ !== null) {
@@ -1055,14 +1055,14 @@ function rn() {
1055
1055
  case u:
1056
1056
  return ge;
1057
1057
  default:
1058
- var je = ge && ge.$$typeof;
1059
- switch (je) {
1058
+ var ke = ge && ge.$$typeof;
1059
+ switch (ke) {
1060
1060
  case d:
1061
1061
  case h:
1062
- case x:
1062
+ case w:
1063
1063
  case p:
1064
1064
  case s:
1065
- return je;
1065
+ return ke;
1066
1066
  default:
1067
1067
  return te;
1068
1068
  }
@@ -1072,11 +1072,11 @@ function rn() {
1072
1072
  }
1073
1073
  }
1074
1074
  }
1075
- var l = y, N = m, c = d, f = s, P = n, $ = h, O = r, E = x, z = p, X = t, Q = o, H = i, ee = u, ae = !1;
1075
+ var c = y, N = m, l = d, f = s, P = n, $ = h, O = r, E = w, z = p, X = t, Q = o, H = i, ee = u, ae = !1;
1076
1076
  function de(_) {
1077
- return ae || (ae = !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.")), w(_) || D(_) === y;
1077
+ return ae || (ae = !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.")), x(_) || D(_) === y;
1078
1078
  }
1079
- function w(_) {
1079
+ function x(_) {
1080
1080
  return D(_) === m;
1081
1081
  }
1082
1082
  function M(_) {
@@ -1085,22 +1085,22 @@ function rn() {
1085
1085
  function A(_) {
1086
1086
  return D(_) === s;
1087
1087
  }
1088
- function k(_) {
1088
+ function j(_) {
1089
1089
  return typeof _ == "object" && _ !== null && _.$$typeof === n;
1090
1090
  }
1091
1091
  function I(_) {
1092
1092
  return D(_) === h;
1093
1093
  }
1094
- function F(_) {
1094
+ function L(_) {
1095
1095
  return D(_) === r;
1096
1096
  }
1097
1097
  function R(_) {
1098
- return D(_) === x;
1098
+ return D(_) === w;
1099
1099
  }
1100
- function j(_) {
1100
+ function k(_) {
1101
1101
  return D(_) === p;
1102
1102
  }
1103
- function L(_) {
1103
+ function F(_) {
1104
1104
  return D(_) === t;
1105
1105
  }
1106
1106
  function q(_) {
@@ -1112,7 +1112,7 @@ function rn() {
1112
1112
  function G(_) {
1113
1113
  return D(_) === u;
1114
1114
  }
1115
- Y.AsyncMode = l, Y.ConcurrentMode = N, Y.ContextConsumer = c, Y.ContextProvider = f, Y.Element = P, Y.ForwardRef = $, Y.Fragment = O, Y.Lazy = E, Y.Memo = z, Y.Portal = X, Y.Profiler = Q, Y.StrictMode = H, Y.Suspense = ee, Y.isAsyncMode = de, Y.isConcurrentMode = w, Y.isContextConsumer = M, Y.isContextProvider = A, Y.isElement = k, Y.isForwardRef = I, Y.isFragment = F, Y.isLazy = R, Y.isMemo = j, Y.isPortal = L, Y.isProfiler = q, Y.isStrictMode = U, Y.isSuspense = G, Y.isValidElementType = S, Y.typeOf = D;
1115
+ Y.AsyncMode = c, Y.ConcurrentMode = N, Y.ContextConsumer = l, Y.ContextProvider = f, Y.Element = P, Y.ForwardRef = $, Y.Fragment = O, Y.Lazy = E, Y.Memo = z, Y.Portal = X, Y.Profiler = Q, Y.StrictMode = H, Y.Suspense = ee, Y.isAsyncMode = de, Y.isConcurrentMode = x, Y.isContextConsumer = M, Y.isContextProvider = A, Y.isElement = j, Y.isForwardRef = I, Y.isFragment = L, Y.isLazy = R, Y.isMemo = k, Y.isPortal = F, Y.isProfiler = q, Y.isStrictMode = U, Y.isSuspense = G, Y.isValidElementType = S, Y.typeOf = D;
1116
1116
  })()), Y;
1117
1117
  }
1118
1118
  var Ye;
@@ -1206,8 +1206,8 @@ function an() {
1206
1206
  throw g.name = "Invariant Violation", g;
1207
1207
  }
1208
1208
  u = o[h](s, h, y, d, null, n);
1209
- } catch (x) {
1210
- u = x;
1209
+ } catch (w) {
1210
+ u = w;
1211
1211
  }
1212
1212
  if (u && !(u instanceof Error) && e(
1213
1213
  (y || "React class") + ": type specification of " + d + " `" + h + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof u + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
@@ -1244,8 +1244,8 @@ function sn() {
1244
1244
  }
1245
1245
  return _e = function(d, y) {
1246
1246
  var m = typeof Symbol == "function" && Symbol.iterator, h = "@@iterator";
1247
- function u(w) {
1248
- var M = w && (m && w[m] || w[h]);
1247
+ function u(x) {
1248
+ var M = x && (m && x[m] || x[h]);
1249
1249
  if (typeof M == "function")
1250
1250
  return M;
1251
1251
  }
@@ -1261,242 +1261,242 @@ function sn() {
1261
1261
  any: T(),
1262
1262
  arrayOf: S,
1263
1263
  element: D(),
1264
- elementType: l(),
1264
+ elementType: c(),
1265
1265
  instanceOf: N,
1266
1266
  node: $(),
1267
1267
  objectOf: f,
1268
- oneOf: c,
1268
+ oneOf: l,
1269
1269
  oneOfType: P,
1270
1270
  shape: E,
1271
1271
  exact: z
1272
1272
  };
1273
- function x(w, M) {
1274
- return w === M ? w !== 0 || 1 / w === 1 / M : w !== w && M !== M;
1273
+ function w(x, M) {
1274
+ return x === M ? x !== 0 || 1 / x === 1 / M : x !== x && M !== M;
1275
1275
  }
1276
- function b(w, M) {
1277
- this.message = w, this.data = M && typeof M == "object" ? M : {}, this.stack = "";
1276
+ function v(x, M) {
1277
+ this.message = x, this.data = M && typeof M == "object" ? M : {}, this.stack = "";
1278
1278
  }
1279
- b.prototype = Error.prototype;
1280
- function v(w) {
1279
+ v.prototype = Error.prototype;
1280
+ function b(x) {
1281
1281
  if (process.env.NODE_ENV !== "production")
1282
1282
  var M = {}, A = 0;
1283
- function k(F, R, j, L, q, U, G) {
1284
- if (L = L || g, U = U || j, G !== t) {
1283
+ function j(L, R, k, F, q, U, G) {
1284
+ if (F = F || g, U = U || k, G !== t) {
1285
1285
  if (y) {
1286
1286
  var _ = new Error(
1287
1287
  "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"
1288
1288
  );
1289
1289
  throw _.name = "Invariant Violation", _;
1290
1290
  } else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
1291
- var te = L + ":" + j;
1291
+ var te = F + ":" + k;
1292
1292
  !M[te] && // Avoid spamming the console because they are often not actionable except for lib authors
1293
1293
  A < 3 && (o(
1294
- "You are manually calling a React.PropTypes validation function for the `" + U + "` prop on `" + L + "`. 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."
1294
+ "You are manually calling a React.PropTypes validation function for the `" + U + "` prop on `" + F + "`. 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."
1295
1295
  ), M[te] = !0, A++);
1296
1296
  }
1297
1297
  }
1298
- return R[j] == null ? F ? R[j] === null ? new b("The " + q + " `" + U + "` is marked as required " + ("in `" + L + "`, but its value is `null`.")) : new b("The " + q + " `" + U + "` is marked as required in " + ("`" + L + "`, but its value is `undefined`.")) : null : w(R, j, L, q, U);
1298
+ return R[k] == null ? L ? R[k] === null ? new v("The " + q + " `" + U + "` is marked as required " + ("in `" + F + "`, but its value is `null`.")) : new v("The " + q + " `" + U + "` is marked as required in " + ("`" + F + "`, but its value is `undefined`.")) : null : x(R, k, F, q, U);
1299
1299
  }
1300
- var I = k.bind(null, !1);
1301
- return I.isRequired = k.bind(null, !0), I;
1302
- }
1303
- function C(w) {
1304
- function M(A, k, I, F, R, j) {
1305
- var L = A[k], q = H(L);
1306
- if (q !== w) {
1307
- var U = ee(L);
1308
- return new b(
1309
- "Invalid " + F + " `" + R + "` of type " + ("`" + U + "` supplied to `" + I + "`, expected ") + ("`" + w + "`."),
1310
- { expectedType: w }
1300
+ var I = j.bind(null, !1);
1301
+ return I.isRequired = j.bind(null, !0), I;
1302
+ }
1303
+ function C(x) {
1304
+ function M(A, j, I, L, R, k) {
1305
+ var F = A[j], q = H(F);
1306
+ if (q !== x) {
1307
+ var U = ee(F);
1308
+ return new v(
1309
+ "Invalid " + L + " `" + R + "` of type " + ("`" + U + "` supplied to `" + I + "`, expected ") + ("`" + x + "`."),
1310
+ { expectedType: x }
1311
1311
  );
1312
1312
  }
1313
1313
  return null;
1314
1314
  }
1315
- return v(M);
1315
+ return b(M);
1316
1316
  }
1317
1317
  function T() {
1318
- return v(s);
1319
- }
1320
- function S(w) {
1321
- function M(A, k, I, F, R) {
1322
- if (typeof w != "function")
1323
- return new b("Property `" + R + "` of component `" + I + "` has invalid PropType notation inside arrayOf.");
1324
- var j = A[k];
1325
- if (!Array.isArray(j)) {
1326
- var L = H(j);
1327
- return new b("Invalid " + F + " `" + R + "` of type " + ("`" + L + "` supplied to `" + I + "`, expected an array."));
1318
+ return b(s);
1319
+ }
1320
+ function S(x) {
1321
+ function M(A, j, I, L, R) {
1322
+ if (typeof x != "function")
1323
+ return new v("Property `" + R + "` of component `" + I + "` has invalid PropType notation inside arrayOf.");
1324
+ var k = A[j];
1325
+ if (!Array.isArray(k)) {
1326
+ var F = H(k);
1327
+ return new v("Invalid " + L + " `" + R + "` of type " + ("`" + F + "` supplied to `" + I + "`, expected an array."));
1328
1328
  }
1329
- for (var q = 0; q < j.length; q++) {
1330
- var U = w(j, q, I, F, R + "[" + q + "]", t);
1329
+ for (var q = 0; q < k.length; q++) {
1330
+ var U = x(k, q, I, L, R + "[" + q + "]", t);
1331
1331
  if (U instanceof Error)
1332
1332
  return U;
1333
1333
  }
1334
1334
  return null;
1335
1335
  }
1336
- return v(M);
1336
+ return b(M);
1337
1337
  }
1338
1338
  function D() {
1339
- function w(M, A, k, I, F) {
1339
+ function x(M, A, j, I, L) {
1340
1340
  var R = M[A];
1341
1341
  if (!d(R)) {
1342
- var j = H(R);
1343
- return new b("Invalid " + I + " `" + F + "` of type " + ("`" + j + "` supplied to `" + k + "`, expected a single ReactElement."));
1342
+ var k = H(R);
1343
+ return new v("Invalid " + I + " `" + L + "` of type " + ("`" + k + "` supplied to `" + j + "`, expected a single ReactElement."));
1344
1344
  }
1345
1345
  return null;
1346
1346
  }
1347
- return v(w);
1347
+ return b(x);
1348
1348
  }
1349
- function l() {
1350
- function w(M, A, k, I, F) {
1349
+ function c() {
1350
+ function x(M, A, j, I, L) {
1351
1351
  var R = M[A];
1352
1352
  if (!e.isValidElementType(R)) {
1353
- var j = H(R);
1354
- return new b("Invalid " + I + " `" + F + "` of type " + ("`" + j + "` supplied to `" + k + "`, expected a single ReactElement type."));
1353
+ var k = H(R);
1354
+ return new v("Invalid " + I + " `" + L + "` of type " + ("`" + k + "` supplied to `" + j + "`, expected a single ReactElement type."));
1355
1355
  }
1356
1356
  return null;
1357
1357
  }
1358
- return v(w);
1358
+ return b(x);
1359
1359
  }
1360
- function N(w) {
1361
- function M(A, k, I, F, R) {
1362
- if (!(A[k] instanceof w)) {
1363
- var j = w.name || g, L = de(A[k]);
1364
- return new b("Invalid " + F + " `" + R + "` of type " + ("`" + L + "` supplied to `" + I + "`, expected ") + ("instance of `" + j + "`."));
1360
+ function N(x) {
1361
+ function M(A, j, I, L, R) {
1362
+ if (!(A[j] instanceof x)) {
1363
+ var k = x.name || g, F = de(A[j]);
1364
+ return new v("Invalid " + L + " `" + R + "` of type " + ("`" + F + "` supplied to `" + I + "`, expected ") + ("instance of `" + k + "`."));
1365
1365
  }
1366
1366
  return null;
1367
1367
  }
1368
- return v(M);
1368
+ return b(M);
1369
1369
  }
1370
- function c(w) {
1371
- if (!Array.isArray(w))
1370
+ function l(x) {
1371
+ if (!Array.isArray(x))
1372
1372
  return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? o(
1373
1373
  "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])."
1374
1374
  ) : o("Invalid argument supplied to oneOf, expected an array.")), s;
1375
- function M(A, k, I, F, R) {
1376
- for (var j = A[k], L = 0; L < w.length; L++)
1377
- if (x(j, w[L]))
1375
+ function M(A, j, I, L, R) {
1376
+ for (var k = A[j], F = 0; F < x.length; F++)
1377
+ if (w(k, x[F]))
1378
1378
  return null;
1379
- var q = JSON.stringify(w, function(G, _) {
1379
+ var q = JSON.stringify(x, function(G, _) {
1380
1380
  var te = ee(_);
1381
1381
  return te === "symbol" ? String(_) : _;
1382
1382
  });
1383
- return new b("Invalid " + F + " `" + R + "` of value `" + String(j) + "` " + ("supplied to `" + I + "`, expected one of " + q + "."));
1383
+ return new v("Invalid " + L + " `" + R + "` of value `" + String(k) + "` " + ("supplied to `" + I + "`, expected one of " + q + "."));
1384
1384
  }
1385
- return v(M);
1386
- }
1387
- function f(w) {
1388
- function M(A, k, I, F, R) {
1389
- if (typeof w != "function")
1390
- return new b("Property `" + R + "` of component `" + I + "` has invalid PropType notation inside objectOf.");
1391
- var j = A[k], L = H(j);
1392
- if (L !== "object")
1393
- return new b("Invalid " + F + " `" + R + "` of type " + ("`" + L + "` supplied to `" + I + "`, expected an object."));
1394
- for (var q in j)
1395
- if (r(j, q)) {
1396
- var U = w(j, q, I, F, R + "." + q, t);
1385
+ return b(M);
1386
+ }
1387
+ function f(x) {
1388
+ function M(A, j, I, L, R) {
1389
+ if (typeof x != "function")
1390
+ return new v("Property `" + R + "` of component `" + I + "` has invalid PropType notation inside objectOf.");
1391
+ var k = A[j], F = H(k);
1392
+ if (F !== "object")
1393
+ return new v("Invalid " + L + " `" + R + "` of type " + ("`" + F + "` supplied to `" + I + "`, expected an object."));
1394
+ for (var q in k)
1395
+ if (r(k, q)) {
1396
+ var U = x(k, q, I, L, R + "." + q, t);
1397
1397
  if (U instanceof Error)
1398
1398
  return U;
1399
1399
  }
1400
1400
  return null;
1401
1401
  }
1402
- return v(M);
1402
+ return b(M);
1403
1403
  }
1404
- function P(w) {
1405
- if (!Array.isArray(w))
1404
+ function P(x) {
1405
+ if (!Array.isArray(x))
1406
1406
  return process.env.NODE_ENV !== "production" && o("Invalid argument supplied to oneOfType, expected an instance of array."), s;
1407
- for (var M = 0; M < w.length; M++) {
1408
- var A = w[M];
1407
+ for (var M = 0; M < x.length; M++) {
1408
+ var A = x[M];
1409
1409
  if (typeof A != "function")
1410
1410
  return o(
1411
1411
  "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + ae(A) + " at index " + M + "."
1412
1412
  ), s;
1413
1413
  }
1414
- function k(I, F, R, j, L) {
1415
- for (var q = [], U = 0; U < w.length; U++) {
1416
- var G = w[U], _ = G(I, F, R, j, L, t);
1414
+ function j(I, L, R, k, F) {
1415
+ for (var q = [], U = 0; U < x.length; U++) {
1416
+ var G = x[U], _ = G(I, L, R, k, F, t);
1417
1417
  if (_ == null)
1418
1418
  return null;
1419
1419
  _.data && r(_.data, "expectedType") && q.push(_.data.expectedType);
1420
1420
  }
1421
1421
  var te = q.length > 0 ? ", expected one of type [" + q.join(", ") + "]" : "";
1422
- return new b("Invalid " + j + " `" + L + "` supplied to " + ("`" + R + "`" + te + "."));
1422
+ return new v("Invalid " + k + " `" + F + "` supplied to " + ("`" + R + "`" + te + "."));
1423
1423
  }
1424
- return v(k);
1424
+ return b(j);
1425
1425
  }
1426
1426
  function $() {
1427
- function w(M, A, k, I, F) {
1428
- return X(M[A]) ? null : new b("Invalid " + I + " `" + F + "` supplied to " + ("`" + k + "`, expected a ReactNode."));
1427
+ function x(M, A, j, I, L) {
1428
+ return X(M[A]) ? null : new v("Invalid " + I + " `" + L + "` supplied to " + ("`" + j + "`, expected a ReactNode."));
1429
1429
  }
1430
- return v(w);
1430
+ return b(x);
1431
1431
  }
1432
- function O(w, M, A, k, I) {
1433
- return new b(
1434
- (w || "React class") + ": " + M + " type `" + A + "." + k + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + I + "`."
1432
+ function O(x, M, A, j, I) {
1433
+ return new v(
1434
+ (x || "React class") + ": " + M + " type `" + A + "." + j + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + I + "`."
1435
1435
  );
1436
1436
  }
1437
- function E(w) {
1438
- function M(A, k, I, F, R) {
1439
- var j = A[k], L = H(j);
1440
- if (L !== "object")
1441
- return new b("Invalid " + F + " `" + R + "` of type `" + L + "` " + ("supplied to `" + I + "`, expected `object`."));
1442
- for (var q in w) {
1443
- var U = w[q];
1437
+ function E(x) {
1438
+ function M(A, j, I, L, R) {
1439
+ var k = A[j], F = H(k);
1440
+ if (F !== "object")
1441
+ return new v("Invalid " + L + " `" + R + "` of type `" + F + "` " + ("supplied to `" + I + "`, expected `object`."));
1442
+ for (var q in x) {
1443
+ var U = x[q];
1444
1444
  if (typeof U != "function")
1445
- return O(I, F, R, q, ee(U));
1446
- var G = U(j, q, I, F, R + "." + q, t);
1445
+ return O(I, L, R, q, ee(U));
1446
+ var G = U(k, q, I, L, R + "." + q, t);
1447
1447
  if (G)
1448
1448
  return G;
1449
1449
  }
1450
1450
  return null;
1451
1451
  }
1452
- return v(M);
1453
- }
1454
- function z(w) {
1455
- function M(A, k, I, F, R) {
1456
- var j = A[k], L = H(j);
1457
- if (L !== "object")
1458
- return new b("Invalid " + F + " `" + R + "` of type `" + L + "` " + ("supplied to `" + I + "`, expected `object`."));
1459
- var q = n({}, A[k], w);
1452
+ return b(M);
1453
+ }
1454
+ function z(x) {
1455
+ function M(A, j, I, L, R) {
1456
+ var k = A[j], F = H(k);
1457
+ if (F !== "object")
1458
+ return new v("Invalid " + L + " `" + R + "` of type `" + F + "` " + ("supplied to `" + I + "`, expected `object`."));
1459
+ var q = n({}, A[j], x);
1460
1460
  for (var U in q) {
1461
- var G = w[U];
1462
- if (r(w, U) && typeof G != "function")
1463
- return O(I, F, R, U, ee(G));
1461
+ var G = x[U];
1462
+ if (r(x, U) && typeof G != "function")
1463
+ return O(I, L, R, U, ee(G));
1464
1464
  if (!G)
1465
- return new b(
1466
- "Invalid " + F + " `" + R + "` key `" + U + "` supplied to `" + I + "`.\nBad object: " + JSON.stringify(A[k], null, " ") + `
1467
- Valid keys: ` + JSON.stringify(Object.keys(w), null, " ")
1465
+ return new v(
1466
+ "Invalid " + L + " `" + R + "` key `" + U + "` supplied to `" + I + "`.\nBad object: " + JSON.stringify(A[j], null, " ") + `
1467
+ Valid keys: ` + JSON.stringify(Object.keys(x), null, " ")
1468
1468
  );
1469
- var _ = G(j, U, I, F, R + "." + U, t);
1469
+ var _ = G(k, U, I, L, R + "." + U, t);
1470
1470
  if (_)
1471
1471
  return _;
1472
1472
  }
1473
1473
  return null;
1474
1474
  }
1475
- return v(M);
1475
+ return b(M);
1476
1476
  }
1477
- function X(w) {
1478
- switch (typeof w) {
1477
+ function X(x) {
1478
+ switch (typeof x) {
1479
1479
  case "number":
1480
1480
  case "string":
1481
1481
  case "undefined":
1482
1482
  return !0;
1483
1483
  case "boolean":
1484
- return !w;
1484
+ return !x;
1485
1485
  case "object":
1486
- if (Array.isArray(w))
1487
- return w.every(X);
1488
- if (w === null || d(w))
1486
+ if (Array.isArray(x))
1487
+ return x.every(X);
1488
+ if (x === null || d(x))
1489
1489
  return !0;
1490
- var M = u(w);
1490
+ var M = u(x);
1491
1491
  if (M) {
1492
- var A = M.call(w), k;
1493
- if (M !== w.entries) {
1494
- for (; !(k = A.next()).done; )
1495
- if (!X(k.value))
1492
+ var A = M.call(x), j;
1493
+ if (M !== x.entries) {
1494
+ for (; !(j = A.next()).done; )
1495
+ if (!X(j.value))
1496
1496
  return !1;
1497
1497
  } else
1498
- for (; !(k = A.next()).done; ) {
1499
- var I = k.value;
1498
+ for (; !(j = A.next()).done; ) {
1499
+ var I = j.value;
1500
1500
  if (I && !X(I[1]))
1501
1501
  return !1;
1502
1502
  }
@@ -1507,27 +1507,27 @@ Valid keys: ` + JSON.stringify(Object.keys(w), null, " ")
1507
1507
  return !1;
1508
1508
  }
1509
1509
  }
1510
- function Q(w, M) {
1511
- return w === "symbol" ? !0 : M ? M["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && M instanceof Symbol : !1;
1510
+ function Q(x, M) {
1511
+ return x === "symbol" ? !0 : M ? M["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && M instanceof Symbol : !1;
1512
1512
  }
1513
- function H(w) {
1514
- var M = typeof w;
1515
- return Array.isArray(w) ? "array" : w instanceof RegExp ? "object" : Q(M, w) ? "symbol" : M;
1513
+ function H(x) {
1514
+ var M = typeof x;
1515
+ return Array.isArray(x) ? "array" : x instanceof RegExp ? "object" : Q(M, x) ? "symbol" : M;
1516
1516
  }
1517
- function ee(w) {
1518
- if (typeof w > "u" || w === null)
1519
- return "" + w;
1520
- var M = H(w);
1517
+ function ee(x) {
1518
+ if (typeof x > "u" || x === null)
1519
+ return "" + x;
1520
+ var M = H(x);
1521
1521
  if (M === "object") {
1522
- if (w instanceof Date)
1522
+ if (x instanceof Date)
1523
1523
  return "date";
1524
- if (w instanceof RegExp)
1524
+ if (x instanceof RegExp)
1525
1525
  return "regexp";
1526
1526
  }
1527
1527
  return M;
1528
1528
  }
1529
- function ae(w) {
1530
- var M = ee(w);
1529
+ function ae(x) {
1530
+ var M = ee(x);
1531
1531
  switch (M) {
1532
1532
  case "array":
1533
1533
  case "object":
@@ -1540,14 +1540,14 @@ Valid keys: ` + JSON.stringify(Object.keys(w), null, " ")
1540
1540
  return M;
1541
1541
  }
1542
1542
  }
1543
- function de(w) {
1544
- return !w.constructor || !w.constructor.name ? g : w.constructor.name;
1543
+ function de(x) {
1544
+ return !x.constructor || !x.constructor.name ? g : x.constructor.name;
1545
1545
  }
1546
1546
  return p.checkPropTypes = i, p.resetWarningCache = i.resetWarningCache, p.PropTypes = p, p;
1547
1547
  }, _e;
1548
1548
  }
1549
1549
  var Me, Xe;
1550
- function cn() {
1550
+ function ln() {
1551
1551
  if (Xe) return Me;
1552
1552
  Xe = 1;
1553
1553
  var e = /* @__PURE__ */ Oe();
@@ -1601,11 +1601,11 @@ function yt() {
1601
1601
  var e = mt(), n = !0;
1602
1602
  me.exports = /* @__PURE__ */ sn()(e.isElement, n);
1603
1603
  } else
1604
- me.exports = /* @__PURE__ */ cn()();
1604
+ me.exports = /* @__PURE__ */ ln()();
1605
1605
  return me.exports;
1606
1606
  }
1607
1607
  var ye = { exports: {} }, Ze;
1608
- function ln() {
1608
+ function cn() {
1609
1609
  if (Ze) return ye.exports;
1610
1610
  Ze = 1;
1611
1611
  function e(t) {
@@ -1624,7 +1624,7 @@ function ln() {
1624
1624
  return ye.exports = n, ye.exports.clsx = n, ye.exports;
1625
1625
  }
1626
1626
  var B = {}, oe = {}, Je;
1627
- function we() {
1627
+ function xe() {
1628
1628
  if (Je) return oe;
1629
1629
  Je = 1, Object.defineProperty(oe, "__esModule", {
1630
1630
  value: !0
@@ -1683,9 +1683,9 @@ function Re() {
1683
1683
  if (et) return B;
1684
1684
  et = 1, Object.defineProperty(B, "__esModule", {
1685
1685
  value: !0
1686
- }), B.addClassName = l, B.addEvent = s, B.addUserSelectStyles = T, B.createCSSTransform = p, B.createSVGTransform = x, B.getTouch = v, B.getTouchIdentifier = C, B.getTranslation = b, B.innerHeight = h, B.innerWidth = u, B.matchesSelector = i, B.matchesSelectorAndParentsTo = o, B.offsetXYFromParent = g, B.outerHeight = y, B.outerWidth = m, B.removeClassName = N, B.removeEvent = d, B.scheduleRemoveUserSelectStyles = S;
1687
- var e = we(), n = t(dn());
1688
- function t(c, f) {
1686
+ }), B.addClassName = c, B.addEvent = s, B.addUserSelectStyles = T, B.createCSSTransform = p, B.createSVGTransform = w, B.getTouch = b, B.getTouchIdentifier = C, B.getTranslation = v, B.innerHeight = h, B.innerWidth = u, B.matchesSelector = i, B.matchesSelectorAndParentsTo = o, B.offsetXYFromParent = g, B.outerHeight = y, B.outerWidth = m, B.removeClassName = N, B.removeEvent = d, B.scheduleRemoveUserSelectStyles = S;
1687
+ var e = xe(), n = t(dn());
1688
+ function t(l, f) {
1689
1689
  if (typeof WeakMap == "function") var P = /* @__PURE__ */ new WeakMap(), $ = /* @__PURE__ */ new WeakMap();
1690
1690
  return (t = function(O, E) {
1691
1691
  if (!E && O && O.__esModule) return O;
@@ -1697,16 +1697,16 @@ function Re() {
1697
1697
  }
1698
1698
  for (const H in O) H !== "default" && {}.hasOwnProperty.call(O, H) && ((X = (z = Object.defineProperty) && Object.getOwnPropertyDescriptor(O, H)) && (X.get || X.set) ? z(Q, H, X) : Q[H] = O[H]);
1699
1699
  return Q;
1700
- })(c, f);
1700
+ })(l, f);
1701
1701
  }
1702
1702
  let r = "";
1703
- function i(c, f) {
1703
+ function i(l, f) {
1704
1704
  return r || (r = (0, e.findInArray)(["matches", "webkitMatchesSelector", "mozMatchesSelector", "msMatchesSelector", "oMatchesSelector"], function(P) {
1705
- return (0, e.isFunction)(c[P]);
1706
- })), (0, e.isFunction)(c[r]) ? c[r](f) : !1;
1705
+ return (0, e.isFunction)(l[P]);
1706
+ })), (0, e.isFunction)(l[r]) ? l[r](f) : !1;
1707
1707
  }
1708
- function o(c, f, P) {
1709
- let $ = c;
1708
+ function o(l, f, P) {
1709
+ let $ = l;
1710
1710
  do {
1711
1711
  if (i($, f)) return !0;
1712
1712
  if ($ === P) return !1;
@@ -1714,145 +1714,145 @@ function Re() {
1714
1714
  } while ($);
1715
1715
  return !1;
1716
1716
  }
1717
- function s(c, f, P, $) {
1718
- if (!c) return;
1717
+ function s(l, f, P, $) {
1718
+ if (!l) return;
1719
1719
  const O = {
1720
1720
  capture: !0,
1721
1721
  ...$
1722
1722
  };
1723
- c.addEventListener ? c.addEventListener(f, P, O) : c.attachEvent ? c.attachEvent("on" + f, P) : c["on" + f] = P;
1723
+ l.addEventListener ? l.addEventListener(f, P, O) : l.attachEvent ? l.attachEvent("on" + f, P) : l["on" + f] = P;
1724
1724
  }
1725
- function d(c, f, P, $) {
1726
- if (!c) return;
1725
+ function d(l, f, P, $) {
1726
+ if (!l) return;
1727
1727
  const O = {
1728
1728
  capture: !0,
1729
1729
  ...$
1730
1730
  };
1731
- c.removeEventListener ? c.removeEventListener(f, P, O) : c.detachEvent ? c.detachEvent("on" + f, P) : c["on" + f] = null;
1731
+ l.removeEventListener ? l.removeEventListener(f, P, O) : l.detachEvent ? l.detachEvent("on" + f, P) : l["on" + f] = null;
1732
1732
  }
1733
- function y(c) {
1734
- let f = c.clientHeight;
1735
- const P = c.ownerDocument.defaultView.getComputedStyle(c);
1733
+ function y(l) {
1734
+ let f = l.clientHeight;
1735
+ const P = l.ownerDocument.defaultView.getComputedStyle(l);
1736
1736
  return f += (0, e.int)(P.borderTopWidth), f += (0, e.int)(P.borderBottomWidth), f;
1737
1737
  }
1738
- function m(c) {
1739
- let f = c.clientWidth;
1740
- const P = c.ownerDocument.defaultView.getComputedStyle(c);
1738
+ function m(l) {
1739
+ let f = l.clientWidth;
1740
+ const P = l.ownerDocument.defaultView.getComputedStyle(l);
1741
1741
  return f += (0, e.int)(P.borderLeftWidth), f += (0, e.int)(P.borderRightWidth), f;
1742
1742
  }
1743
- function h(c) {
1744
- let f = c.clientHeight;
1745
- const P = c.ownerDocument.defaultView.getComputedStyle(c);
1743
+ function h(l) {
1744
+ let f = l.clientHeight;
1745
+ const P = l.ownerDocument.defaultView.getComputedStyle(l);
1746
1746
  return f -= (0, e.int)(P.paddingTop), f -= (0, e.int)(P.paddingBottom), f;
1747
1747
  }
1748
- function u(c) {
1749
- let f = c.clientWidth;
1750
- const P = c.ownerDocument.defaultView.getComputedStyle(c);
1748
+ function u(l) {
1749
+ let f = l.clientWidth;
1750
+ const P = l.ownerDocument.defaultView.getComputedStyle(l);
1751
1751
  return f -= (0, e.int)(P.paddingLeft), f -= (0, e.int)(P.paddingRight), f;
1752
1752
  }
1753
- function g(c, f, P) {
1753
+ function g(l, f, P) {
1754
1754
  const O = f === f.ownerDocument.body ? {
1755
1755
  left: 0,
1756
1756
  top: 0
1757
- } : f.getBoundingClientRect(), E = (c.clientX + f.scrollLeft - O.left) / P, z = (c.clientY + f.scrollTop - O.top) / P;
1757
+ } : f.getBoundingClientRect(), E = (l.clientX + f.scrollLeft - O.left) / P, z = (l.clientY + f.scrollTop - O.top) / P;
1758
1758
  return {
1759
1759
  x: E,
1760
1760
  y: z
1761
1761
  };
1762
1762
  }
1763
- function p(c, f) {
1764
- const P = b(c, f, "px");
1763
+ function p(l, f) {
1764
+ const P = v(l, f, "px");
1765
1765
  return {
1766
1766
  [(0, n.browserPrefixToKey)("transform", n.default)]: P
1767
1767
  };
1768
1768
  }
1769
- function x(c, f) {
1770
- return b(c, f, "");
1769
+ function w(l, f) {
1770
+ return v(l, f, "");
1771
1771
  }
1772
- function b(c, f, P) {
1772
+ function v(l, f, P) {
1773
1773
  let {
1774
1774
  x: $,
1775
1775
  y: O
1776
- } = c, E = `translate(${$}${P},${O}${P})`;
1776
+ } = l, E = `translate(${$}${P},${O}${P})`;
1777
1777
  if (f) {
1778
1778
  const z = `${typeof f.x == "string" ? f.x : f.x + P}`, X = `${typeof f.y == "string" ? f.y : f.y + P}`;
1779
1779
  E = `translate(${z}, ${X})` + E;
1780
1780
  }
1781
1781
  return E;
1782
1782
  }
1783
- function v(c, f) {
1784
- return c.targetTouches && (0, e.findInArray)(c.targetTouches, (P) => f === P.identifier) || c.changedTouches && (0, e.findInArray)(c.changedTouches, (P) => f === P.identifier);
1783
+ function b(l, f) {
1784
+ return l.targetTouches && (0, e.findInArray)(l.targetTouches, (P) => f === P.identifier) || l.changedTouches && (0, e.findInArray)(l.changedTouches, (P) => f === P.identifier);
1785
1785
  }
1786
- function C(c) {
1787
- if (c.targetTouches && c.targetTouches[0]) return c.targetTouches[0].identifier;
1788
- if (c.changedTouches && c.changedTouches[0]) return c.changedTouches[0].identifier;
1786
+ function C(l) {
1787
+ if (l.targetTouches && l.targetTouches[0]) return l.targetTouches[0].identifier;
1788
+ if (l.changedTouches && l.changedTouches[0]) return l.changedTouches[0].identifier;
1789
1789
  }
1790
- function T(c) {
1791
- if (!c) return;
1792
- let f = c.getElementById("react-draggable-style-el");
1793
- f || (f = c.createElement("style"), f.type = "text/css", f.id = "react-draggable-style-el", f.innerHTML = `.react-draggable-transparent-selection *::-moz-selection {all: inherit;}
1790
+ function T(l) {
1791
+ if (!l) return;
1792
+ let f = l.getElementById("react-draggable-style-el");
1793
+ f || (f = l.createElement("style"), f.type = "text/css", f.id = "react-draggable-style-el", f.innerHTML = `.react-draggable-transparent-selection *::-moz-selection {all: inherit;}
1794
1794
  `, f.innerHTML += `.react-draggable-transparent-selection *::selection {all: inherit;}
1795
- `, c.getElementsByTagName("head")[0].appendChild(f)), c.body && l(c.body, "react-draggable-transparent-selection");
1795
+ `, l.getElementsByTagName("head")[0].appendChild(f)), l.body && c(l.body, "react-draggable-transparent-selection");
1796
1796
  }
1797
- function S(c) {
1797
+ function S(l) {
1798
1798
  window.requestAnimationFrame ? window.requestAnimationFrame(() => {
1799
- D(c);
1800
- }) : D(c);
1799
+ D(l);
1800
+ }) : D(l);
1801
1801
  }
1802
- function D(c) {
1803
- if (c)
1802
+ function D(l) {
1803
+ if (l)
1804
1804
  try {
1805
- if (c.body && N(c.body, "react-draggable-transparent-selection"), c.selection)
1806
- c.selection.empty();
1805
+ if (l.body && N(l.body, "react-draggable-transparent-selection"), l.selection)
1806
+ l.selection.empty();
1807
1807
  else {
1808
- const f = (c.defaultView || window).getSelection();
1808
+ const f = (l.defaultView || window).getSelection();
1809
1809
  f && f.type !== "Caret" && f.removeAllRanges();
1810
1810
  }
1811
1811
  } catch {
1812
1812
  }
1813
1813
  }
1814
- function l(c, f) {
1815
- c.classList ? c.classList.add(f) : c.className.match(new RegExp(`(?:^|\\s)${f}(?!\\S)`)) || (c.className += ` ${f}`);
1814
+ function c(l, f) {
1815
+ l.classList ? l.classList.add(f) : l.className.match(new RegExp(`(?:^|\\s)${f}(?!\\S)`)) || (l.className += ` ${f}`);
1816
1816
  }
1817
- function N(c, f) {
1818
- c.classList ? c.classList.remove(f) : c.className = c.className.replace(new RegExp(`(?:^|\\s)${f}(?!\\S)`, "g"), "");
1817
+ function N(l, f) {
1818
+ l.classList ? l.classList.remove(f) : l.className = l.className.replace(new RegExp(`(?:^|\\s)${f}(?!\\S)`, "g"), "");
1819
1819
  }
1820
1820
  return B;
1821
1821
  }
1822
1822
  var ne = {}, tt;
1823
- function bt() {
1823
+ function vt() {
1824
1824
  if (tt) return ne;
1825
1825
  tt = 1, Object.defineProperty(ne, "__esModule", {
1826
1826
  value: !0
1827
1827
  }), ne.canDragX = i, ne.canDragY = o, ne.createCoreData = d, ne.createDraggableData = y, ne.getBoundPosition = t, ne.getControlPosition = s, ne.snapToGrid = r;
1828
- var e = we(), n = Re();
1828
+ var e = xe(), n = Re();
1829
1829
  function t(u, g, p) {
1830
1830
  if (!u.props.bounds) return [g, p];
1831
1831
  let {
1832
- bounds: x
1832
+ bounds: w
1833
1833
  } = u.props;
1834
- x = typeof x == "string" ? x : m(x);
1835
- const b = h(u);
1836
- if (typeof x == "string") {
1834
+ w = typeof w == "string" ? w : m(w);
1835
+ const v = h(u);
1836
+ if (typeof w == "string") {
1837
1837
  const {
1838
- ownerDocument: v
1839
- } = b, C = v.defaultView;
1838
+ ownerDocument: b
1839
+ } = v, C = b.defaultView;
1840
1840
  let T;
1841
- if (x === "parent" ? T = b.parentNode : T = b.getRootNode().querySelector(x), !(T instanceof C.HTMLElement))
1842
- throw new Error('Bounds selector "' + x + '" could not find an element.');
1843
- const S = T, D = C.getComputedStyle(b), l = C.getComputedStyle(S);
1844
- x = {
1845
- left: -b.offsetLeft + (0, e.int)(l.paddingLeft) + (0, e.int)(D.marginLeft),
1846
- top: -b.offsetTop + (0, e.int)(l.paddingTop) + (0, e.int)(D.marginTop),
1847
- right: (0, n.innerWidth)(S) - (0, n.outerWidth)(b) - b.offsetLeft + (0, e.int)(l.paddingRight) - (0, e.int)(D.marginRight),
1848
- bottom: (0, n.innerHeight)(S) - (0, n.outerHeight)(b) - b.offsetTop + (0, e.int)(l.paddingBottom) - (0, e.int)(D.marginBottom)
1841
+ if (w === "parent" ? T = v.parentNode : T = v.getRootNode().querySelector(w), !(T instanceof C.HTMLElement))
1842
+ throw new Error('Bounds selector "' + w + '" could not find an element.');
1843
+ const S = T, D = C.getComputedStyle(v), c = C.getComputedStyle(S);
1844
+ w = {
1845
+ left: -v.offsetLeft + (0, e.int)(c.paddingLeft) + (0, e.int)(D.marginLeft),
1846
+ top: -v.offsetTop + (0, e.int)(c.paddingTop) + (0, e.int)(D.marginTop),
1847
+ right: (0, n.innerWidth)(S) - (0, n.outerWidth)(v) - v.offsetLeft + (0, e.int)(c.paddingRight) - (0, e.int)(D.marginRight),
1848
+ bottom: (0, n.innerHeight)(S) - (0, n.outerHeight)(v) - v.offsetTop + (0, e.int)(c.paddingBottom) - (0, e.int)(D.marginBottom)
1849
1849
  };
1850
1850
  }
1851
- return (0, e.isNum)(x.right) && (g = Math.min(g, x.right)), (0, e.isNum)(x.bottom) && (p = Math.min(p, x.bottom)), (0, e.isNum)(x.left) && (g = Math.max(g, x.left)), (0, e.isNum)(x.top) && (p = Math.max(p, x.top)), [g, p];
1851
+ return (0, e.isNum)(w.right) && (g = Math.min(g, w.right)), (0, e.isNum)(w.bottom) && (p = Math.min(p, w.bottom)), (0, e.isNum)(w.left) && (g = Math.max(g, w.left)), (0, e.isNum)(w.top) && (p = Math.max(p, w.top)), [g, p];
1852
1852
  }
1853
1853
  function r(u, g, p) {
1854
- const x = Math.round(g / u[0]) * u[0], b = Math.round(p / u[1]) * u[1];
1855
- return [x, b];
1854
+ const w = Math.round(g / u[0]) * u[0], v = Math.round(p / u[1]) * u[1];
1855
+ return [w, v];
1856
1856
  }
1857
1857
  function i(u) {
1858
1858
  return u.props.axis === "both" || u.props.axis === "x";
@@ -1861,15 +1861,15 @@ function bt() {
1861
1861
  return u.props.axis === "both" || u.props.axis === "y";
1862
1862
  }
1863
1863
  function s(u, g, p) {
1864
- const x = typeof g == "number" ? (0, n.getTouch)(u, g) : null;
1865
- if (typeof g == "number" && !x) return null;
1866
- const b = h(p), v = p.props.offsetParent || b.offsetParent || b.ownerDocument.body;
1867
- return (0, n.offsetXYFromParent)(x || u, v, p.props.scale);
1864
+ const w = typeof g == "number" ? (0, n.getTouch)(u, g) : null;
1865
+ if (typeof g == "number" && !w) return null;
1866
+ const v = h(p), b = p.props.offsetParent || v.offsetParent || v.ownerDocument.body;
1867
+ return (0, n.offsetXYFromParent)(w || u, b, p.props.scale);
1868
1868
  }
1869
1869
  function d(u, g, p) {
1870
- const x = !(0, e.isNum)(u.lastX), b = h(u);
1871
- return x ? {
1872
- node: b,
1870
+ const w = !(0, e.isNum)(u.lastX), v = h(u);
1871
+ return w ? {
1872
+ node: v,
1873
1873
  deltaX: 0,
1874
1874
  deltaY: 0,
1875
1875
  lastX: g,
@@ -1877,7 +1877,7 @@ function bt() {
1877
1877
  x: g,
1878
1878
  y: p
1879
1879
  } : {
1880
- node: b,
1880
+ node: v,
1881
1881
  deltaX: g - u.lastX,
1882
1882
  deltaY: p - u.lastY,
1883
1883
  lastX: u.lastX,
@@ -1914,15 +1914,15 @@ function bt() {
1914
1914
  }
1915
1915
  return ne;
1916
1916
  }
1917
- var he = {}, be = {}, nt;
1918
- function vt() {
1919
- if (nt) return be;
1920
- nt = 1, Object.defineProperty(be, "__esModule", {
1917
+ var he = {}, ve = {}, nt;
1918
+ function bt() {
1919
+ if (nt) return ve;
1920
+ nt = 1, Object.defineProperty(ve, "__esModule", {
1921
1921
  value: !0
1922
- }), be.default = e;
1922
+ }), ve.default = e;
1923
1923
  function e() {
1924
1924
  }
1925
- return be;
1925
+ return ve;
1926
1926
  }
1927
1927
  var rt;
1928
1928
  function un() {
@@ -1930,40 +1930,40 @@ function un() {
1930
1930
  rt = 1, Object.defineProperty(he, "__esModule", {
1931
1931
  value: !0
1932
1932
  }), he.default = void 0;
1933
- var e = y(se), n = d(/* @__PURE__ */ yt()), t = d(st), r = Re(), i = bt(), o = we(), s = d(vt());
1934
- function d(b) {
1935
- return b && b.__esModule ? b : { default: b };
1933
+ var e = y(se), n = d(/* @__PURE__ */ yt()), t = d(st), r = Re(), i = vt(), o = xe(), s = d(bt());
1934
+ function d(v) {
1935
+ return v && v.__esModule ? v : { default: v };
1936
1936
  }
1937
- function y(b, v) {
1937
+ function y(v, b) {
1938
1938
  if (typeof WeakMap == "function") var C = /* @__PURE__ */ new WeakMap(), T = /* @__PURE__ */ new WeakMap();
1939
1939
  return (y = function(S, D) {
1940
1940
  if (!D && S && S.__esModule) return S;
1941
- var l, N, c = { __proto__: null, default: S };
1942
- if (S === null || typeof S != "object" && typeof S != "function") return c;
1943
- if (l = D ? T : C) {
1944
- if (l.has(S)) return l.get(S);
1945
- l.set(S, c);
1941
+ var c, N, l = { __proto__: null, default: S };
1942
+ if (S === null || typeof S != "object" && typeof S != "function") return l;
1943
+ if (c = D ? T : C) {
1944
+ if (c.has(S)) return c.get(S);
1945
+ c.set(S, l);
1946
1946
  }
1947
- for (const f in S) f !== "default" && {}.hasOwnProperty.call(S, f) && ((N = (l = Object.defineProperty) && Object.getOwnPropertyDescriptor(S, f)) && (N.get || N.set) ? l(c, f, N) : c[f] = S[f]);
1948
- return c;
1949
- })(b, v);
1947
+ for (const f in S) f !== "default" && {}.hasOwnProperty.call(S, f) && ((N = (c = Object.defineProperty) && Object.getOwnPropertyDescriptor(S, f)) && (N.get || N.set) ? c(l, f, N) : l[f] = S[f]);
1948
+ return l;
1949
+ })(v, b);
1950
1950
  }
1951
- function m(b, v, C) {
1952
- return (v = h(v)) in b ? Object.defineProperty(b, v, { value: C, enumerable: !0, configurable: !0, writable: !0 }) : b[v] = C, b;
1951
+ function m(v, b, C) {
1952
+ return (b = h(b)) in v ? Object.defineProperty(v, b, { value: C, enumerable: !0, configurable: !0, writable: !0 }) : v[b] = C, v;
1953
1953
  }
1954
- function h(b) {
1955
- var v = u(b, "string");
1956
- return typeof v == "symbol" ? v : v + "";
1954
+ function h(v) {
1955
+ var b = u(v, "string");
1956
+ return typeof b == "symbol" ? b : b + "";
1957
1957
  }
1958
- function u(b, v) {
1959
- if (typeof b != "object" || !b) return b;
1960
- var C = b[Symbol.toPrimitive];
1958
+ function u(v, b) {
1959
+ if (typeof v != "object" || !v) return v;
1960
+ var C = v[Symbol.toPrimitive];
1961
1961
  if (C !== void 0) {
1962
- var T = C.call(b, v);
1962
+ var T = C.call(v, b);
1963
1963
  if (typeof T != "object") return T;
1964
1964
  throw new TypeError("@@toPrimitive must return a primitive value.");
1965
1965
  }
1966
- return (v === "string" ? String : Number)(b);
1966
+ return (b === "string" ? String : Number)(v);
1967
1967
  }
1968
1968
  const g = {
1969
1969
  touch: {
@@ -1977,84 +1977,84 @@ function un() {
1977
1977
  stop: "mouseup"
1978
1978
  }
1979
1979
  };
1980
- let p = g.mouse, x = class extends e.Component {
1980
+ let p = g.mouse, w = class extends e.Component {
1981
1981
  constructor() {
1982
- super(...arguments), m(this, "dragging", !1), m(this, "lastX", NaN), m(this, "lastY", NaN), m(this, "touchIdentifier", null), m(this, "mounted", !1), m(this, "handleDragStart", (v) => {
1983
- if (this.props.onMouseDown(v), !this.props.allowAnyClick && typeof v.button == "number" && v.button !== 0) return !1;
1982
+ super(...arguments), m(this, "dragging", !1), m(this, "lastX", NaN), m(this, "lastY", NaN), m(this, "touchIdentifier", null), m(this, "mounted", !1), m(this, "handleDragStart", (b) => {
1983
+ if (this.props.onMouseDown(b), !this.props.allowAnyClick && typeof b.button == "number" && b.button !== 0) return !1;
1984
1984
  const C = this.findDOMNode();
1985
1985
  if (!C || !C.ownerDocument || !C.ownerDocument.body)
1986
1986
  throw new Error("<DraggableCore> not mounted on DragStart!");
1987
1987
  const {
1988
1988
  ownerDocument: T
1989
1989
  } = C;
1990
- if (this.props.disabled || !(v.target instanceof T.defaultView.Node) || this.props.handle && !(0, r.matchesSelectorAndParentsTo)(v.target, this.props.handle, C) || this.props.cancel && (0, r.matchesSelectorAndParentsTo)(v.target, this.props.cancel, C))
1990
+ if (this.props.disabled || !(b.target instanceof T.defaultView.Node) || this.props.handle && !(0, r.matchesSelectorAndParentsTo)(b.target, this.props.handle, C) || this.props.cancel && (0, r.matchesSelectorAndParentsTo)(b.target, this.props.cancel, C))
1991
1991
  return;
1992
- v.type === "touchstart" && !this.props.allowMobileScroll && v.preventDefault();
1993
- const S = (0, r.getTouchIdentifier)(v);
1992
+ b.type === "touchstart" && !this.props.allowMobileScroll && b.preventDefault();
1993
+ const S = (0, r.getTouchIdentifier)(b);
1994
1994
  this.touchIdentifier = S;
1995
- const D = (0, i.getControlPosition)(v, S, this);
1995
+ const D = (0, i.getControlPosition)(b, S, this);
1996
1996
  if (D == null) return;
1997
1997
  const {
1998
- x: l,
1998
+ x: c,
1999
1999
  y: N
2000
- } = D, c = (0, i.createCoreData)(this, l, N);
2001
- (0, s.default)("DraggableCore: handleDragStart: %j", c), (0, s.default)("calling", this.props.onStart), !(this.props.onStart(v, c) === !1 || this.mounted === !1) && (this.props.enableUserSelectHack && (0, r.addUserSelectStyles)(T), this.dragging = !0, this.lastX = l, this.lastY = N, (0, r.addEvent)(T, p.move, this.handleDrag), (0, r.addEvent)(T, p.stop, this.handleDragStop));
2002
- }), m(this, "handleDrag", (v) => {
2003
- const C = (0, i.getControlPosition)(v, this.touchIdentifier, this);
2000
+ } = D, l = (0, i.createCoreData)(this, c, N);
2001
+ (0, s.default)("DraggableCore: handleDragStart: %j", l), (0, s.default)("calling", this.props.onStart), !(this.props.onStart(b, l) === !1 || this.mounted === !1) && (this.props.enableUserSelectHack && (0, r.addUserSelectStyles)(T), this.dragging = !0, this.lastX = c, this.lastY = N, (0, r.addEvent)(T, p.move, this.handleDrag), (0, r.addEvent)(T, p.stop, this.handleDragStop));
2002
+ }), m(this, "handleDrag", (b) => {
2003
+ const C = (0, i.getControlPosition)(b, this.touchIdentifier, this);
2004
2004
  if (C == null) return;
2005
2005
  let {
2006
2006
  x: T,
2007
2007
  y: S
2008
2008
  } = C;
2009
2009
  if (Array.isArray(this.props.grid)) {
2010
- let N = T - this.lastX, c = S - this.lastY;
2011
- if ([N, c] = (0, i.snapToGrid)(this.props.grid, N, c), !N && !c) return;
2012
- T = this.lastX + N, S = this.lastY + c;
2010
+ let N = T - this.lastX, l = S - this.lastY;
2011
+ if ([N, l] = (0, i.snapToGrid)(this.props.grid, N, l), !N && !l) return;
2012
+ T = this.lastX + N, S = this.lastY + l;
2013
2013
  }
2014
2014
  const D = (0, i.createCoreData)(this, T, S);
2015
- if ((0, s.default)("DraggableCore: handleDrag: %j", D), this.props.onDrag(v, D) === !1 || this.mounted === !1) {
2015
+ if ((0, s.default)("DraggableCore: handleDrag: %j", D), this.props.onDrag(b, D) === !1 || this.mounted === !1) {
2016
2016
  try {
2017
2017
  this.handleDragStop(new MouseEvent("mouseup"));
2018
2018
  } catch {
2019
- const c = document.createEvent("MouseEvents");
2020
- c.initMouseEvent("mouseup", !0, !0, window, 0, 0, 0, 0, 0, !1, !1, !1, !1, 0, null), this.handleDragStop(c);
2019
+ const l = document.createEvent("MouseEvents");
2020
+ l.initMouseEvent("mouseup", !0, !0, window, 0, 0, 0, 0, 0, !1, !1, !1, !1, 0, null), this.handleDragStop(l);
2021
2021
  }
2022
2022
  return;
2023
2023
  }
2024
2024
  this.lastX = T, this.lastY = S;
2025
- }), m(this, "handleDragStop", (v) => {
2025
+ }), m(this, "handleDragStop", (b) => {
2026
2026
  if (!this.dragging) return;
2027
- const C = (0, i.getControlPosition)(v, this.touchIdentifier, this);
2027
+ const C = (0, i.getControlPosition)(b, this.touchIdentifier, this);
2028
2028
  if (C == null) return;
2029
2029
  let {
2030
2030
  x: T,
2031
2031
  y: S
2032
2032
  } = C;
2033
2033
  if (Array.isArray(this.props.grid)) {
2034
- let c = T - this.lastX || 0, f = S - this.lastY || 0;
2035
- [c, f] = (0, i.snapToGrid)(this.props.grid, c, f), T = this.lastX + c, S = this.lastY + f;
2034
+ let l = T - this.lastX || 0, f = S - this.lastY || 0;
2035
+ [l, f] = (0, i.snapToGrid)(this.props.grid, l, f), T = this.lastX + l, S = this.lastY + f;
2036
2036
  }
2037
2037
  const D = (0, i.createCoreData)(this, T, S);
2038
- if (this.props.onStop(v, D) === !1 || this.mounted === !1) return !1;
2038
+ if (this.props.onStop(b, D) === !1 || this.mounted === !1) return !1;
2039
2039
  const N = this.findDOMNode();
2040
2040
  N && this.props.enableUserSelectHack && (0, r.scheduleRemoveUserSelectStyles)(N.ownerDocument), (0, s.default)("DraggableCore: handleDragStop: %j", D), this.dragging = !1, this.lastX = NaN, this.lastY = NaN, N && ((0, s.default)("DraggableCore: Removing handlers"), (0, r.removeEvent)(N.ownerDocument, p.move, this.handleDrag), (0, r.removeEvent)(N.ownerDocument, p.stop, this.handleDragStop));
2041
- }), m(this, "onMouseDown", (v) => (p = g.mouse, this.handleDragStart(v))), m(this, "onMouseUp", (v) => (p = g.mouse, this.handleDragStop(v))), m(this, "onTouchStart", (v) => (p = g.touch, this.handleDragStart(v))), m(this, "onTouchEnd", (v) => (p = g.touch, this.handleDragStop(v)));
2041
+ }), m(this, "onMouseDown", (b) => (p = g.mouse, this.handleDragStart(b))), m(this, "onMouseUp", (b) => (p = g.mouse, this.handleDragStop(b))), m(this, "onTouchStart", (b) => (p = g.touch, this.handleDragStart(b))), m(this, "onTouchEnd", (b) => (p = g.touch, this.handleDragStop(b)));
2042
2042
  }
2043
2043
  componentDidMount() {
2044
2044
  this.mounted = !0;
2045
- const v = this.findDOMNode();
2046
- v && (0, r.addEvent)(v, g.touch.start, this.onTouchStart, {
2045
+ const b = this.findDOMNode();
2046
+ b && (0, r.addEvent)(b, g.touch.start, this.onTouchStart, {
2047
2047
  passive: !1
2048
2048
  });
2049
2049
  }
2050
2050
  componentWillUnmount() {
2051
2051
  this.mounted = !1;
2052
- const v = this.findDOMNode();
2053
- if (v) {
2052
+ const b = this.findDOMNode();
2053
+ if (b) {
2054
2054
  const {
2055
2055
  ownerDocument: C
2056
- } = v;
2057
- (0, r.removeEvent)(C, g.mouse.move, this.handleDrag), (0, r.removeEvent)(C, g.touch.move, this.handleDrag), (0, r.removeEvent)(C, g.mouse.stop, this.handleDragStop), (0, r.removeEvent)(C, g.touch.stop, this.handleDragStop), (0, r.removeEvent)(v, g.touch.start, this.onTouchStart, {
2056
+ } = b;
2057
+ (0, r.removeEvent)(C, g.mouse.move, this.handleDrag), (0, r.removeEvent)(C, g.touch.move, this.handleDrag), (0, r.removeEvent)(C, g.mouse.stop, this.handleDragStop), (0, r.removeEvent)(C, g.touch.stop, this.handleDragStop), (0, r.removeEvent)(b, g.touch.start, this.onTouchStart, {
2058
2058
  passive: !1
2059
2059
  }), this.props.enableUserSelectHack && (0, r.scheduleRemoveUserSelectStyles)(C);
2060
2060
  }
@@ -2077,7 +2077,7 @@ function un() {
2077
2077
  });
2078
2078
  }
2079
2079
  };
2080
- return he.default = x, m(x, "displayName", "DraggableCore"), m(x, "propTypes", {
2080
+ return he.default = w, m(w, "displayName", "DraggableCore"), m(w, "propTypes", {
2081
2081
  /**
2082
2082
  * `allowAnyClick` allows dragging using any mouse button.
2083
2083
  * By default, we only accept the left button.
@@ -2109,8 +2109,8 @@ function un() {
2109
2109
  * `offsetParent`, if set, uses the passed DOM node to compute drag offsets
2110
2110
  * instead of using the parent node.
2111
2111
  */
2112
- offsetParent: function(b, v) {
2113
- if (b[v] && b[v].nodeType !== 1)
2112
+ offsetParent: function(v, b) {
2113
+ if (v[b] && v[b].nodeType !== 1)
2114
2114
  throw new Error("Draggable's offsetParent must be a DOM Node.");
2115
2115
  },
2116
2116
  /**
@@ -2207,7 +2207,7 @@ function un() {
2207
2207
  className: o.dontSetMe,
2208
2208
  style: o.dontSetMe,
2209
2209
  transform: o.dontSetMe
2210
- }), m(x, "defaultProps", {
2210
+ }), m(w, "defaultProps", {
2211
2211
  allowAnyClick: !1,
2212
2212
  // by default only accept left click
2213
2213
  allowMobileScroll: !1,
@@ -2235,21 +2235,21 @@ function fn() {
2235
2235
  return y.default;
2236
2236
  }
2237
2237
  }), e.default = void 0;
2238
- var n = u(se), t = h(/* @__PURE__ */ yt()), r = h(st), i = ln(), o = Re(), s = bt(), d = we(), y = h(un()), m = h(vt());
2238
+ var n = u(se), t = h(/* @__PURE__ */ yt()), r = h(st), i = cn(), o = Re(), s = vt(), d = xe(), y = h(un()), m = h(bt());
2239
2239
  function h(C) {
2240
2240
  return C && C.__esModule ? C : { default: C };
2241
2241
  }
2242
2242
  function u(C, T) {
2243
2243
  if (typeof WeakMap == "function") var S = /* @__PURE__ */ new WeakMap(), D = /* @__PURE__ */ new WeakMap();
2244
- return (u = function(l, N) {
2245
- if (!N && l && l.__esModule) return l;
2246
- var c, f, P = { __proto__: null, default: l };
2247
- if (l === null || typeof l != "object" && typeof l != "function") return P;
2248
- if (c = N ? D : S) {
2249
- if (c.has(l)) return c.get(l);
2250
- c.set(l, P);
2244
+ return (u = function(c, N) {
2245
+ if (!N && c && c.__esModule) return c;
2246
+ var l, f, P = { __proto__: null, default: c };
2247
+ if (c === null || typeof c != "object" && typeof c != "function") return P;
2248
+ if (l = N ? D : S) {
2249
+ if (l.has(c)) return l.get(c);
2250
+ l.set(c, P);
2251
2251
  }
2252
- for (const $ in l) $ !== "default" && {}.hasOwnProperty.call(l, $) && ((f = (c = Object.defineProperty) && Object.getOwnPropertyDescriptor(l, $)) && (f.get || f.set) ? c(P, $, f) : P[$] = l[$]);
2252
+ for (const $ in c) $ !== "default" && {}.hasOwnProperty.call(c, $) && ((f = (l = Object.defineProperty) && Object.getOwnPropertyDescriptor(c, $)) && (f.get || f.set) ? l(P, $, f) : P[$] = c[$]);
2253
2253
  return P;
2254
2254
  })(C, T);
2255
2255
  }
@@ -2263,13 +2263,13 @@ function fn() {
2263
2263
  }, g.apply(null, arguments);
2264
2264
  }
2265
2265
  function p(C, T, S) {
2266
- return (T = x(T)) in C ? Object.defineProperty(C, T, { value: S, enumerable: !0, configurable: !0, writable: !0 }) : C[T] = S, C;
2266
+ return (T = w(T)) in C ? Object.defineProperty(C, T, { value: S, enumerable: !0, configurable: !0, writable: !0 }) : C[T] = S, C;
2267
2267
  }
2268
- function x(C) {
2269
- var T = b(C, "string");
2268
+ function w(C) {
2269
+ var T = v(C, "string");
2270
2270
  return typeof T == "symbol" ? T : T + "";
2271
2271
  }
2272
- function b(C, T) {
2272
+ function v(C, T) {
2273
2273
  if (typeof C != "object" || !C) return C;
2274
2274
  var S = C[Symbol.toPrimitive];
2275
2275
  if (S !== void 0) {
@@ -2279,18 +2279,18 @@ function fn() {
2279
2279
  }
2280
2280
  return (T === "string" ? String : Number)(C);
2281
2281
  }
2282
- class v extends n.Component {
2282
+ class b extends n.Component {
2283
2283
  // React 16.3+
2284
2284
  // Arity (props, state)
2285
2285
  static getDerivedStateFromProps(T, S) {
2286
2286
  let {
2287
2287
  position: D
2288
2288
  } = T, {
2289
- prevPropsPosition: l
2289
+ prevPropsPosition: c
2290
2290
  } = S;
2291
- return D && (!l || D.x !== l.x || D.y !== l.y) ? ((0, m.default)("Draggable: getDerivedStateFromProps %j", {
2291
+ return D && (!c || D.x !== c.x || D.y !== c.y) ? ((0, m.default)("Draggable: getDerivedStateFromProps %j", {
2292
2292
  position: D,
2293
- prevPropsPosition: l
2293
+ prevPropsPosition: c
2294
2294
  }), {
2295
2295
  x: D.x,
2296
2296
  y: D.y,
@@ -2309,9 +2309,9 @@ function fn() {
2309
2309
  }), p(this, "onDrag", (S, D) => {
2310
2310
  if (!this.state.dragging) return !1;
2311
2311
  (0, m.default)("Draggable: onDrag: %j", D);
2312
- const l = (0, s.createDraggableData)(this, D), N = {
2313
- x: l.x,
2314
- y: l.y,
2312
+ const c = (0, s.createDraggableData)(this, D), N = {
2313
+ x: c.x,
2314
+ y: c.y,
2315
2315
  slackX: 0,
2316
2316
  slackY: 0
2317
2317
  };
@@ -2322,9 +2322,9 @@ function fn() {
2322
2322
  } = N;
2323
2323
  N.x += this.state.slackX, N.y += this.state.slackY;
2324
2324
  const [$, O] = (0, s.getBoundPosition)(this, N.x, N.y);
2325
- N.x = $, N.y = O, N.slackX = this.state.slackX + (f - N.x), N.slackY = this.state.slackY + (P - N.y), l.x = N.x, l.y = N.y, l.deltaX = N.x - this.state.x, l.deltaY = N.y - this.state.y;
2325
+ N.x = $, N.y = O, N.slackX = this.state.slackX + (f - N.x), N.slackY = this.state.slackY + (P - N.y), c.x = N.x, c.y = N.y, c.deltaX = N.x - this.state.x, c.deltaY = N.y - this.state.y;
2326
2326
  }
2327
- if (this.props.onDrag(S, l) === !1) return !1;
2327
+ if (this.props.onDrag(S, c) === !1) return !1;
2328
2328
  this.setState(N);
2329
2329
  }), p(this, "onDragStop", (S, D) => {
2330
2330
  if (!this.state.dragging || this.props.onStop(S, (0, s.createDraggableData)(this, D)) === !1) return !1;
@@ -2380,9 +2380,9 @@ function fn() {
2380
2380
  axis: T,
2381
2381
  bounds: S,
2382
2382
  children: D,
2383
- defaultPosition: l,
2383
+ defaultPosition: c,
2384
2384
  defaultClassName: N,
2385
- defaultClassNameDragging: c,
2385
+ defaultClassNameDragging: l,
2386
2386
  defaultClassNameDragged: f,
2387
2387
  position: P,
2388
2388
  positionOffset: $,
@@ -2390,7 +2390,7 @@ function fn() {
2390
2390
  ...E
2391
2391
  } = this.props;
2392
2392
  let z = {}, X = null;
2393
- const H = !!!P || this.state.dragging, ee = P || l, ae = {
2393
+ const H = !!!P || this.state.dragging, ee = P || c, ae = {
2394
2394
  // Set left if horizontal drag is enabled
2395
2395
  x: (0, s.canDragX)(this) && H ? this.state.x : ee.x,
2396
2396
  // Set top if vertical drag is enabled
@@ -2398,7 +2398,7 @@ function fn() {
2398
2398
  };
2399
2399
  this.state.isElementSVG ? X = (0, o.createSVGTransform)(ae, $) : z = (0, o.createCSSTransform)(ae, $);
2400
2400
  const de = (0, i.clsx)(D.props.className || "", N, {
2401
- [c]: this.state.dragging,
2401
+ [l]: this.state.dragging,
2402
2402
  [f]: this.state.dragged
2403
2403
  });
2404
2404
  return /* @__PURE__ */ n.createElement(y.default, g({}, E, {
@@ -2415,7 +2415,7 @@ function fn() {
2415
2415
  }));
2416
2416
  }
2417
2417
  }
2418
- e.default = v, p(v, "displayName", "Draggable"), p(v, "propTypes", {
2418
+ e.default = b, p(b, "displayName", "Draggable"), p(b, "propTypes", {
2419
2419
  // Accepts all props <DraggableCore> accepts.
2420
2420
  ...y.default.propTypes,
2421
2421
  /**
@@ -2522,7 +2522,7 @@ function fn() {
2522
2522
  className: d.dontSetMe,
2523
2523
  style: d.dontSetMe,
2524
2524
  transform: d.dontSetMe
2525
- }), p(v, "defaultProps", {
2525
+ }), p(b, "defaultProps", {
2526
2526
  ...y.default.defaultProps,
2527
2527
  axis: "both",
2528
2528
  bounds: !1,
@@ -2548,7 +2548,7 @@ function hn() {
2548
2548
  return fe.exports = e, fe.exports.default = e, fe.exports.DraggableCore = n, fe.exports;
2549
2549
  }
2550
2550
  var gn = hn();
2551
- const mn = /* @__PURE__ */ tn(gn), pn = ce((e, n) => {
2551
+ const mn = /* @__PURE__ */ tn(gn), pn = le((e, n) => {
2552
2552
  const r = {
2553
2553
  ...{
2554
2554
  // 1. Take it out of the document flow
@@ -2566,7 +2566,7 @@ const mn = /* @__PURE__ */ tn(gn), pn = ce((e, n) => {
2566
2566
  boxShadow: "rgba(0, 0, 0, 0.5) 7px 7px 10px 0px"
2567
2567
  },
2568
2568
  ...e.style || {}
2569
- }, i = e.testId || "not-set", o = e.className || "panel", s = wt(null);
2569
+ }, i = e.testId || "not-set", o = e.className || "panel", s = xt(null);
2570
2570
  return (
2571
2571
  // 3. Pass the internal ref to the Draggable component via 'nodeRef'
2572
2572
  /* @__PURE__ */ a(
@@ -2588,10 +2588,26 @@ const mn = /* @__PURE__ */ tn(gn), pn = ce((e, n) => {
2588
2588
  }
2589
2589
  )
2590
2590
  );
2591
- }), Jn = (e) => {
2591
+ });
2592
+ function Jn({ children: e }) {
2593
+ return /* @__PURE__ */ a(
2594
+ "div",
2595
+ {
2596
+ className: "w-full h-full flex-1 flex flex-col gap-2 items-end justify-end content-end",
2597
+ style: {
2598
+ minHeight: "140px"
2599
+ },
2600
+ children: e
2601
+ }
2602
+ );
2603
+ }
2604
+ function Qn({ children: e }) {
2605
+ return /* @__PURE__ */ a("div", { className: "w-full flex flex-col items-end", children: e });
2606
+ }
2607
+ const er = (e) => {
2592
2608
  console.warn("showToast TODO", e);
2593
- }, yn = (e) => e < 0.8 ? 1 : e <= 1 ? 0 : e > 1 ? -1 : 0, Qn = ce((e, n) => {
2594
- let t = ct(Number(e.zoomScale || 0));
2609
+ }, yn = (e) => e < 0.8 ? 1 : e <= 1 ? 0 : e > 1 ? -1 : 0, tr = le((e, n) => {
2610
+ let t = lt(Number(e.zoomScale || 0));
2595
2611
  const r = e.responsiveGrid || !1, i = e.isEditing || !1, o = {
2596
2612
  "--bwj-dashboard-transform-scale": t,
2597
2613
  "--bwj-dashboard-add-cols": yn(t)
@@ -2603,7 +2619,7 @@ const mn = /* @__PURE__ */ tn(gn), pn = ce((e, n) => {
2603
2619
  "border border-solid border-primary"
2604
2620
  );
2605
2621
  return /* @__PURE__ */ a("div", { className: s, style: o, children: e.children });
2606
- }), Pe = "size-5", bn = (e, n) => {
2622
+ }), Pe = "size-5", vn = (e, n) => {
2607
2623
  const t = e.hideTitle && !e.isEditing, r = e.noBorder;
2608
2624
  let i = `dashboard-widget ${e.isEditing ? "editing" : ""} border border-solid`;
2609
2625
  r ? i = `${i} border-transparent border-opacity-0` : (e.borderCssClasses || "").trim().length > 0 ? i = `${i} ${e.borderCssClasses}` : i = `${i} border-card-invert border-opacity-20`, e.noShadow && (i = `${i} no-shadow`), e.noPadding && (i = `${i} no-padding p-0`), (e.backgroundCssClasses || "").trim().length > 0 ? i = `${i} ${e.backgroundCssClasses}` : i = `${i} bg-card content-card`, ["large", "xlarge"].indexOf(e.size || "") > -1 && (i = `${i} ${e.size}-widget`);
@@ -2674,14 +2690,14 @@ const mn = /* @__PURE__ */ tn(gn), pn = ce((e, n) => {
2674
2690
  ] }),
2675
2691
  /* @__PURE__ */ a("div", { className: "widget-inner", children: e.children })
2676
2692
  ] });
2677
- }, vn = ce(bn);
2678
- function wn(e) {
2693
+ }, bn = le(vn);
2694
+ function xn(e) {
2679
2695
  return /* @__PURE__ */ a("div", { className: "dashboard-widget", children: /* @__PURE__ */ W("div", { className: "absolute inset-0 bg-black flex flex-col items-center justify-center text-center", children: [
2680
2696
  /* @__PURE__ */ a("div", { className: "w-full absolute opacity-100 text-primary", children: e.title }),
2681
2697
  /* @__PURE__ */ a("div", { className: "animate-ping rounded-full h-32 w-32 border-8 border-white" })
2682
2698
  ] }) });
2683
2699
  }
2684
- function xn({
2700
+ function wn({
2685
2701
  index: e,
2686
2702
  maxIndex: n,
2687
2703
  widgetKey: t,
@@ -2694,75 +2710,75 @@ function xn({
2694
2710
  onMoveClick: m,
2695
2711
  selectContainer: h
2696
2712
  }) {
2697
- const u = `${t}`.split("_"), g = u.length > 1, p = g ? u[0] : t, x = s.get(p);
2698
- if (!x)
2713
+ const u = `${t}`.split("_"), g = u.length > 1, p = g ? u[0] : t, w = s.get(p);
2714
+ if (!w)
2699
2715
  return /* @__PURE__ */ a("div", { className: "flex", children: /* @__PURE__ */ W("p", { children: [
2700
2716
  "Widget not found in catalog: ",
2701
2717
  p
2702
2718
  ] }) });
2703
- let b = null, v = !1;
2704
- if (x.component ? (b = x.component, v = !1) : x.loader && (v = !0, b = at(() => {
2705
- if (!x) return null;
2706
- if (x.component)
2707
- return x.component;
2708
- if (x.loader) {
2709
- const c = async () => {
2719
+ let v = null, b = !1;
2720
+ if (w.component ? (v = w.component, b = !1) : w.loader && (b = !0, v = at(() => {
2721
+ if (!w) return null;
2722
+ if (w.component)
2723
+ return w.component;
2724
+ if (w.loader) {
2725
+ const l = async () => {
2710
2726
  try {
2711
- return await x.loader();
2727
+ return await w.loader();
2712
2728
  } catch (f) {
2713
2729
  return console.error(`CDN Load Failure for ${t}:`, f), {
2714
- default: () => /* @__PURE__ */ a(vn, { ...D, children: /* @__PURE__ */ W("div", { className: "p-4 border border-dashed border-danger", children: [
2730
+ default: () => /* @__PURE__ */ a(bn, { ...D, children: /* @__PURE__ */ W("div", { className: "p-4 border border-dashed border-danger", children: [
2715
2731
  /* @__PURE__ */ W("p", { className: "font-bold", children: [
2716
2732
  'Failed to load "',
2717
2733
  t,
2718
2734
  '"'
2719
2735
  ] }),
2720
2736
  /* @__PURE__ */ a("p", { className: "text-xs italic", children: "The remote plugin is unavailable or incompatible." }),
2721
- /* @__PURE__ */ a("pre", { className: "text-xs overflow-hidden", children: JSON.stringify(x.meta || {}, null, 2) })
2737
+ /* @__PURE__ */ a("pre", { className: "text-xs overflow-hidden", children: JSON.stringify(w.meta || {}, null, 2) })
2722
2738
  ] }) })
2723
2739
  };
2724
2740
  }
2725
2741
  };
2726
- return se.lazy(c);
2742
+ return se.lazy(l);
2727
2743
  }
2728
2744
  return null;
2729
- }, [x, t])), !b)
2745
+ }, [w, t])), !v)
2730
2746
  return /* @__PURE__ */ a("div", { className: "flex", children: /* @__PURE__ */ W("p", { children: [
2731
2747
  "Widget definition incomplete: ",
2732
2748
  p
2733
2749
  ] }) });
2734
- const C = !!x.isContainer, T = g ? ht(t) : "", S = C ? (o || []).filter((c) => c.parentWidgetKey === t) : [], D = {
2750
+ const C = !!w.isContainer, T = g ? ht(t) : "", S = C ? (o || []).filter((l) => l.parentWidgetKey === t) : [], D = {
2735
2751
  index: e,
2736
2752
  maxIndex: n,
2737
2753
  widgetKey: t,
2738
2754
  parentWidgetKey: r,
2739
2755
  isEditing: d,
2740
- title: g ? T : x.title,
2756
+ title: g ? T : w.title,
2741
2757
  onRemoveClick: y,
2742
2758
  onMoveClick: m
2743
- }, l = C ? {
2759
+ }, c = C ? {
2744
2760
  highlight: i === t,
2745
2761
  selectContainer: h,
2746
2762
  // The children prop is the recursive call back to DynamicWidgetLoader
2747
- children: S.map((c, f) => /* @__PURE__ */ a(
2748
- xn,
2763
+ children: S.map((l, f) => /* @__PURE__ */ a(
2764
+ wn,
2749
2765
  {
2750
2766
  index: f,
2751
2767
  maxIndex: S.length - 1,
2752
- widgetKey: c.widgetKey,
2753
- parentWidgetKey: c.parentWidgetKey,
2768
+ widgetKey: l.widgetKey,
2769
+ parentWidgetKey: l.parentWidgetKey,
2754
2770
  widgetCatalog: s,
2755
2771
  isEditing: d,
2756
2772
  onRemoveClick: y,
2757
2773
  onMoveClick: m
2758
2774
  },
2759
- `${c.widgetKey}_${f}`
2775
+ `${l.widgetKey}_${f}`
2760
2776
  ))
2761
- } : {}, N = () => /* @__PURE__ */ a(b, { ...D, ...l });
2762
- return v ? /* @__PURE__ */ a(xt, { fallback: /* @__PURE__ */ a(wn, { title: `Loading ${x.title}` }), children: /* @__PURE__ */ a(N, {}) }) : /* @__PURE__ */ a(N, {});
2777
+ } : {}, N = () => /* @__PURE__ */ a(v, { ...D, ...c });
2778
+ return b ? /* @__PURE__ */ a(wt, { fallback: /* @__PURE__ */ a(xn, { title: `Loading ${w.title}` }), children: /* @__PURE__ */ a(N, {}) }) : /* @__PURE__ */ a(N, {});
2763
2779
  }
2764
- const ve = "size-5";
2765
- function ke(e) {
2780
+ const be = "size-5";
2781
+ function je(e) {
2766
2782
  const n = e.highlight || !1, t = e.direction || "column", r = e.children.length > 0, i = e.isEditing || !1;
2767
2783
  let d = n ? "border-transparent" : i && !r ? "border-card-invert" : "border-transparent";
2768
2784
  const y = ["large", "xlarge"].includes(e.size || "");
@@ -2783,9 +2799,9 @@ function ke(e) {
2783
2799
  ), g = `widget-container-header direction-${t} flex items-center border-1 ${d}`;
2784
2800
  const p = () => {
2785
2801
  e.onRemoveClick && e.widgetKey && e.onRemoveClick(e.widgetKey);
2786
- }, x = (v) => {
2787
- e.onMoveClick && e.widgetKey && e.onMoveClick(v, e.widgetKey, e.parentWidgetKey);
2788
- }, b = () => {
2802
+ }, w = (b) => {
2803
+ e.onMoveClick && e.widgetKey && e.onMoveClick(b, e.widgetKey, e.parentWidgetKey);
2804
+ }, v = () => {
2789
2805
  e.selectContainer && e.widgetKey && e.selectContainer(e.widgetKey);
2790
2806
  };
2791
2807
  return /* @__PURE__ */ W("div", { "data-testid": `container_${e.widgetKey}`, className: u, children: [
@@ -2794,7 +2810,7 @@ function ke(e) {
2794
2810
  "div",
2795
2811
  {
2796
2812
  className: "widget-title-wrapper w-full flex whitespace-nowrap",
2797
- onClick: b,
2813
+ onClick: v,
2798
2814
  children: /* @__PURE__ */ a("span", { className: "text-sm font-semibold capitalize", children: e.title })
2799
2815
  }
2800
2816
  ),
@@ -2809,11 +2825,11 @@ function ke(e) {
2809
2825
  placement: "top",
2810
2826
  title: "Target this Container"
2811
2827
  },
2812
- onClick: b,
2828
+ onClick: v,
2813
2829
  children: /* @__PURE__ */ a(
2814
2830
  Zt,
2815
2831
  {
2816
- className: `${ve} ${n ? "text-success" : "text-disabled"}`
2832
+ className: `${be} ${n ? "text-success" : "text-disabled"}`
2817
2833
  }
2818
2834
  )
2819
2835
  }
@@ -2828,8 +2844,8 @@ function ke(e) {
2828
2844
  placement: "top",
2829
2845
  title: `${e.index < 1 ? "Already at min position" : "Move Container to the left/up"}`
2830
2846
  },
2831
- onClick: () => x(-1),
2832
- children: /* @__PURE__ */ a(dt, { className: ve })
2847
+ onClick: () => w(-1),
2848
+ children: /* @__PURE__ */ a(dt, { className: be })
2833
2849
  }
2834
2850
  ),
2835
2851
  /* @__PURE__ */ a(
@@ -2842,8 +2858,8 @@ function ke(e) {
2842
2858
  placement: "top",
2843
2859
  title: `${e.index >= e.maxIndex ? "Already at max position" : "Move Container to the right/down"}`
2844
2860
  },
2845
- onClick: () => x(1),
2846
- children: /* @__PURE__ */ a(ut, { className: ve })
2861
+ onClick: () => w(1),
2862
+ children: /* @__PURE__ */ a(ut, { className: be })
2847
2863
  }
2848
2864
  ),
2849
2865
  /* @__PURE__ */ a(
@@ -2856,7 +2872,7 @@ function ke(e) {
2856
2872
  title: "Remove Container"
2857
2873
  },
2858
2874
  onClick: () => p(),
2859
- children: /* @__PURE__ */ a(ft, { className: ve })
2875
+ children: /* @__PURE__ */ a(ft, { className: be })
2860
2876
  }
2861
2877
  )
2862
2878
  ] }) }) })
@@ -2864,17 +2880,17 @@ function ke(e) {
2864
2880
  /* @__PURE__ */ a("div", { "data-testid": `childrenwrapper_${e.widgetKey}`, className: "widget-container-inner", children: e.children })
2865
2881
  ] });
2866
2882
  }
2867
- function er(e) {
2883
+ function nr(e) {
2868
2884
  const { direction: n, ...t } = e;
2869
- return /* @__PURE__ */ a(ke, { direction: "column", ...t });
2885
+ return /* @__PURE__ */ a(je, { direction: "column", ...t });
2870
2886
  }
2871
- function tr(e) {
2887
+ function rr(e) {
2872
2888
  const { size: n, ...t } = e;
2873
- return /* @__PURE__ */ a(ke, { size: "large", ...t });
2889
+ return /* @__PURE__ */ a(je, { size: "large", ...t });
2874
2890
  }
2875
- function nr(e) {
2891
+ function or(e) {
2876
2892
  const { direction: n, ...t } = e;
2877
- return /* @__PURE__ */ a(ke, { direction: "row", ...t });
2893
+ return /* @__PURE__ */ a(je, { direction: "row", ...t });
2878
2894
  }
2879
2895
  function $e({
2880
2896
  // widgetKey,
@@ -2944,7 +2960,7 @@ const We = (e, n) => [
2944
2960
  ...n.widgets.filter((r) => r.indexOf("Container") === -1),
2945
2961
  ...n.childWidgetsConfig.map((r) => r.widgetKey)
2946
2962
  ].includes(e);
2947
- function rr({
2963
+ function ir({
2948
2964
  targetContainerKey: e,
2949
2965
  widgetsCatalog: n,
2950
2966
  currentDashboardConfig: t,
@@ -2956,18 +2972,18 @@ function rr({
2956
2972
  onUndoOrRedo: y,
2957
2973
  onDoneClick: m
2958
2974
  }) {
2959
- const [h, u] = le("Editing"), [g, p] = le(0), [x, b] = le(""), C = Array.from(n.keys()).map((E) => ({
2975
+ const [h, u] = ce("Editing"), [g, p] = ce(0), [w, v] = ce(""), C = Array.from(n.keys()).map((E) => ({
2960
2976
  widgetKey: E,
2961
2977
  metaData: Mt(E, n)
2962
2978
  })), T = (E) => {
2963
- b(E.target.value);
2979
+ v(E.target.value);
2964
2980
  }, S = (E) => {
2965
- const z = x.trim().toLowerCase();
2981
+ const z = w.trim().toLowerCase();
2966
2982
  return z.length < 1 ? !0 : E.displayName.trim().toLowerCase().includes(z) || E.description.toLowerCase().includes(z);
2967
2983
  }, D = (E) => {
2968
- const z = x.trim().toLowerCase();
2984
+ const z = w.trim().toLowerCase();
2969
2985
  return z.length < 1 ? !0 : E.displayName.trim().toLowerCase().includes(z) || E.description.toLowerCase().includes(z);
2970
- }, l = (E) => Z(
2986
+ }, c = (E) => Z(
2971
2987
  "px-4 py-2 font-medium cursor-pointer border-b-2 border-transparent hover:border-primary focus:outline-none",
2972
2988
  E === g ? "text-primary border-primary" : ""
2973
2989
  ), N = !!e;
@@ -2979,12 +2995,12 @@ function rr({
2979
2995
  } else
2980
2996
  u("Editing Dashboard");
2981
2997
  }, [e]);
2982
- const c = (E) => {
2998
+ const l = (E) => {
2983
2999
  N ? i(E, e) : i(E);
2984
3000
  }, f = (E) => {
2985
3001
  const z = (t.cssSettings || []).map((X) => X.key === E.key ? E : X);
2986
3002
  s(z);
2987
- }, [P, $] = le(!1);
3003
+ }, [P, $] = ce(!1);
2988
3004
  return /* @__PURE__ */ a(
2989
3005
  pn,
2990
3006
  {
@@ -3058,10 +3074,10 @@ function rr({
3058
3074
  ] })
3059
3075
  ] }),
3060
3076
  /* @__PURE__ */ W("div", { className: "flex border-b border-gray-200", children: [
3061
- /* @__PURE__ */ a("button", { onClick: () => p(0), className: l(0), children: "Widgets" }),
3062
- /* @__PURE__ */ a("button", { onClick: () => p(1), className: l(1), children: "Charts" }),
3063
- !N && /* @__PURE__ */ a("button", { onClick: () => p(2), className: l(2), children: "Containers" }),
3064
- !N && /* @__PURE__ */ a("button", { onClick: () => p(3), className: l(3), children: /* @__PURE__ */ a(zt, {}) })
3077
+ /* @__PURE__ */ a("button", { onClick: () => p(0), className: c(0), children: "Widgets" }),
3078
+ /* @__PURE__ */ a("button", { onClick: () => p(1), className: c(1), children: "Charts" }),
3079
+ !N && /* @__PURE__ */ a("button", { onClick: () => p(2), className: c(2), children: "Containers" }),
3080
+ !N && /* @__PURE__ */ a("button", { onClick: () => p(3), className: c(3), children: /* @__PURE__ */ a(zt, {}) })
3065
3081
  ] }),
3066
3082
  /* @__PURE__ */ a("div", { className: "flex items-center justify-between gap-1 w-full", children: /* @__PURE__ */ a(
3067
3083
  gt,
@@ -3069,7 +3085,7 @@ function rr({
3069
3085
  label: "Filter...",
3070
3086
  size: "small",
3071
3087
  className: "w-full",
3072
- value: x,
3088
+ value: w,
3073
3089
  onChange: T
3074
3090
  }
3075
3091
  ) }),
@@ -3089,7 +3105,7 @@ function rr({
3089
3105
  widgetKey: E.widgetKey,
3090
3106
  metaData: E.metaData,
3091
3107
  alreadyAdded: We(E.widgetKey, t),
3092
- addWidget: () => c(E.widgetKey)
3108
+ addWidget: () => l(E.widgetKey)
3093
3109
  },
3094
3110
  E.widgetKey
3095
3111
  )),
@@ -3101,7 +3117,7 @@ function rr({
3101
3117
  widgetKey: E.widgetKey,
3102
3118
  metaData: E.metaData,
3103
3119
  alreadyAdded: We(E.widgetKey, t),
3104
- addWidget: () => c(E.widgetKey)
3120
+ addWidget: () => l(E.widgetKey)
3105
3121
  },
3106
3122
  E.widgetKey
3107
3123
  )),
@@ -3147,15 +3163,15 @@ export {
3147
3163
  J as Button,
3148
3164
  Jt as CircleQuestionMark,
3149
3165
  Zt as CrosshairIcon,
3150
- Qn as DashboardGrid,
3151
- Fe as DashboardMaxZoomScale,
3166
+ tr as DashboardGrid,
3167
+ Le as DashboardMaxZoomScale,
3152
3168
  Ae as DashboardMinZoomScale,
3153
- vn as DashboardWidgetBase,
3169
+ bn as DashboardWidgetBase,
3154
3170
  Et as DashboardZoomStep,
3155
- kn as DeleteIcon,
3171
+ jn as DeleteIcon,
3156
3172
  pn as DraggablePanel,
3157
- xn as DynamicWidgetLoader,
3158
- jn as EditIcon,
3173
+ wn as DynamicWidgetLoader,
3174
+ kn as EditIcon,
3159
3175
  An as GridIcon,
3160
3176
  Gt as HandGrabIcon,
3161
3177
  Xt as HandIcon,
@@ -3163,8 +3179,8 @@ export {
3163
3179
  Hn as ListItemLeftChild,
3164
3180
  Xn as ListItemMiddleChild,
3165
3181
  Gn as ListItemRightChild,
3166
- Fn as MonitorIcon,
3167
- Ln as MonitorSmartphoneIcon,
3182
+ Ln as MonitorIcon,
3183
+ Fn as MonitorSmartphoneIcon,
3168
3184
  dt as MoveLeftIcon,
3169
3185
  ut as MoveRightIcon,
3170
3186
  Ht as RedoIcon,
@@ -3176,21 +3192,23 @@ export {
3176
3192
  gt as TextField,
3177
3193
  Bt as TimerResetIcon,
3178
3194
  Kt as UndoIcon,
3179
- er as WidgetContainerColumn,
3180
- tr as WidgetContainerLarge,
3181
- nr as WidgetContainerRow,
3182
- rr as WidgetsCatalogFlyout,
3195
+ nr as WidgetContainerColumn,
3196
+ rr as WidgetContainerLarge,
3197
+ or as WidgetContainerRow,
3198
+ ir as WidgetsCatalogFlyout,
3199
+ Jn as WrapperColumnContent,
3200
+ Qn as WrapperColumnContentListItem,
3183
3201
  ft as XCircleIcon,
3184
3202
  Vn as ZoomInIcon,
3185
3203
  Yn as ZoomOutIcon,
3186
- xe as blankDashboardConfig,
3204
+ we as blankDashboardConfig,
3187
3205
  Pt as createDynamicEntry,
3188
3206
  Mn as createStaticEntry,
3189
3207
  St as cssSettingsCatalog,
3190
3208
  Bn as cssVarsUtils,
3191
3209
  Nt as dashboardSettingsUtils,
3192
3210
  _t as ensureContainersSequence,
3193
- ct as ensureZoomScaleIsWithinRange,
3211
+ lt as ensureZoomScaleIsWithinRange,
3194
3212
  Ie as getDefaultWidgetMetaFromKey,
3195
3213
  _n as getDefaultWidgetMetaFromMap,
3196
3214
  Z as getDistinctCssClasses,
@@ -3202,7 +3220,7 @@ export {
3202
3220
  En as removeEmptyContainers,
3203
3221
  re as resolveColorFromClass,
3204
3222
  zn as resolvedColors,
3205
- Jn as showToast,
3223
+ er as showToast,
3206
3224
  In as useDashboardStorageService,
3207
3225
  Wn as useDashboardStore,
3208
3226
  On as useDashboardUndoService