@blockbite/ui 2.0.11 → 2.0.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -23,7 +23,7 @@ var kt;
23
23
  function Kn() {
24
24
  if (kt) return I;
25
25
  kt = 1;
26
- var o = Symbol.for("react.element"), a = Symbol.for("react.portal"), l = Symbol.for("react.fragment"), u = Symbol.for("react.strict_mode"), d = Symbol.for("react.profiler"), f = Symbol.for("react.provider"), v = Symbol.for("react.context"), h = Symbol.for("react.forward_ref"), b = Symbol.for("react.suspense"), p = Symbol.for("react.memo"), C = Symbol.for("react.lazy"), _ = Symbol.iterator;
26
+ var o = Symbol.for("react.element"), a = Symbol.for("react.portal"), l = Symbol.for("react.fragment"), u = Symbol.for("react.strict_mode"), d = Symbol.for("react.profiler"), f = Symbol.for("react.provider"), m = Symbol.for("react.context"), h = Symbol.for("react.forward_ref"), b = Symbol.for("react.suspense"), p = Symbol.for("react.memo"), C = Symbol.for("react.lazy"), _ = Symbol.iterator;
27
27
  function M(s) {
28
28
  return s === null || typeof s != "object" ? null : (s = _ && s[_] || s["@@iterator"], typeof s == "function" ? s : null);
29
29
  }
@@ -160,7 +160,7 @@ function Kn() {
160
160
  }
161
161
  return { $$typeof: o, type: s.type, key: $, ref: K, props: W, _owner: J };
162
162
  }, I.createContext = function(s) {
163
- return s = { $$typeof: v, _currentValue: s, _currentValue2: s, _threadCount: 0, Provider: null, Consumer: null, _defaultValue: null, _globalName: null }, s.Provider = { $$typeof: f, _context: s }, s.Consumer = s;
163
+ return s = { $$typeof: m, _currentValue: s, _currentValue2: s, _threadCount: 0, Provider: null, Consumer: null, _defaultValue: null, _globalName: null }, s.Provider = { $$typeof: f, _context: s }, s.Consumer = s;
164
164
  }, I.createElement = _e, I.createFactory = function(s) {
165
165
  var g = _e.bind(null, s);
166
166
  return g.type = s, g;
@@ -229,7 +229,7 @@ function Jn() {
229
229
  return Tt || (Tt = 1, function(o, a) {
230
230
  process.env.NODE_ENV !== "production" && function() {
231
231
  typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());
232
- var l = "18.2.0", u = Symbol.for("react.element"), d = Symbol.for("react.portal"), f = Symbol.for("react.fragment"), v = Symbol.for("react.strict_mode"), h = Symbol.for("react.profiler"), b = Symbol.for("react.provider"), p = Symbol.for("react.context"), C = Symbol.for("react.forward_ref"), _ = Symbol.for("react.suspense"), M = Symbol.for("react.suspense_list"), P = Symbol.for("react.memo"), j = Symbol.for("react.lazy"), ee = Symbol.for("react.offscreen"), U = Symbol.iterator, A = "@@iterator";
232
+ var l = "18.2.0", u = Symbol.for("react.element"), d = Symbol.for("react.portal"), f = Symbol.for("react.fragment"), m = Symbol.for("react.strict_mode"), h = Symbol.for("react.profiler"), b = Symbol.for("react.provider"), p = Symbol.for("react.context"), C = Symbol.for("react.forward_ref"), _ = Symbol.for("react.suspense"), M = Symbol.for("react.suspense_list"), P = Symbol.for("react.memo"), j = Symbol.for("react.lazy"), ee = Symbol.for("react.offscreen"), U = Symbol.iterator, A = "@@iterator";
233
233
  function q(e) {
234
234
  if (e === null || typeof e != "object")
235
235
  return null;
@@ -454,7 +454,7 @@ function Jn() {
454
454
  return "Portal";
455
455
  case h:
456
456
  return "Profiler";
457
- case v:
457
+ case m:
458
458
  return "StrictMode";
459
459
  case _:
460
460
  return "Suspense";
@@ -891,14 +891,14 @@ Your code should look like:
891
891
  }
892
892
  return r;
893
893
  }
894
- var m;
895
- m = Symbol.for("react.module.reference");
894
+ var v;
895
+ v = Symbol.for("react.module.reference");
896
896
  function x(e) {
897
- return !!(typeof e == "string" || typeof e == "function" || e === f || e === h || fe || e === v || e === _ || e === M || pe || e === ee || Te || Ke || Se || typeof e == "object" && e !== null && (e.$$typeof === j || e.$$typeof === P || e.$$typeof === b || e.$$typeof === p || e.$$typeof === C || // This needs to include all possible module reference object
897
+ return !!(typeof e == "string" || typeof e == "function" || e === f || e === h || fe || e === m || e === _ || e === M || pe || e === ee || Te || Ke || Se || typeof e == "object" && e !== null && (e.$$typeof === j || e.$$typeof === P || e.$$typeof === b || e.$$typeof === p || e.$$typeof === C || // This needs to include all possible module reference object
898
898
  // types supported by any Flight configuration anywhere since
899
899
  // we don't know which Flight build this will end up being used
900
900
  // with.
901
- e.$$typeof === m || e.getModuleId !== void 0));
901
+ e.$$typeof === v || e.getModuleId !== void 0));
902
902
  }
903
903
  function k(e, r) {
904
904
  x(e) || E("memo: The first argument must be a component. Instead received: %s", e === null ? "null" : typeof e);
@@ -1479,7 +1479,7 @@ Check the top-level render call using <` + i + ">.");
1479
1479
  toArray: pr,
1480
1480
  only: vr
1481
1481
  };
1482
- a.Children = cn, a.Component = $, a.Fragment = f, a.Profiler = h, a.PureComponent = se, a.StrictMode = v, a.Suspense = _, a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = ie, a.cloneElement = ln, a.createContext = Fr, a.createElement = sn, a.createFactory = un, a.createRef = Sr, a.forwardRef = t, a.isValidElement = je, a.lazy = Wr, a.memo = k, a.startTransition = nn, a.unstable_act = on, a.useCallback = Re, a.useContext = B, a.useDebugValue = Wt, a.useDeferredValue = Vt, a.useEffect = re, a.useId = Bt, a.useImperativeHandle = ye, a.useInsertionEffect = ne, a.useLayoutEffect = de, a.useMemo = hr, a.useReducer = N, a.useRef = le, a.useState = D, a.useSyncExternalStore = Yt, a.useTransition = Ut, a.version = l, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error());
1482
+ a.Children = cn, a.Component = $, a.Fragment = f, a.Profiler = h, a.PureComponent = se, a.StrictMode = m, a.Suspense = _, a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = ie, a.cloneElement = ln, a.createContext = Fr, a.createElement = sn, a.createFactory = un, a.createRef = Sr, a.forwardRef = t, a.isValidElement = je, a.lazy = Wr, a.memo = k, a.startTransition = nn, a.unstable_act = on, a.useCallback = Re, a.useContext = B, a.useDebugValue = Wt, a.useDeferredValue = Vt, a.useEffect = re, a.useId = Bt, a.useImperativeHandle = ye, a.useInsertionEffect = ne, a.useLayoutEffect = de, a.useMemo = hr, a.useReducer = N, a.useRef = le, a.useState = D, a.useSyncExternalStore = Yt, a.useTransition = Ut, a.version = l, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error());
1483
1483
  }();
1484
1484
  }(ar, ar.exports)), ar.exports;
1485
1485
  }
@@ -1501,14 +1501,14 @@ function Xn() {
1501
1501
  if (Ot) return tr;
1502
1502
  Ot = 1;
1503
1503
  var o = et(), a = Symbol.for("react.element"), l = Symbol.for("react.fragment"), u = Object.prototype.hasOwnProperty, d = o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, f = { key: !0, ref: !0, __self: !0, __source: !0 };
1504
- function v(h, b, p) {
1504
+ function m(h, b, p) {
1505
1505
  var C, _ = {}, M = null, P = null;
1506
1506
  p !== void 0 && (M = "" + p), b.key !== void 0 && (M = "" + b.key), b.ref !== void 0 && (P = b.ref);
1507
1507
  for (C in b) u.call(b, C) && !f.hasOwnProperty(C) && (_[C] = b[C]);
1508
1508
  if (h && h.defaultProps) for (C in b = h.defaultProps, b) _[C] === void 0 && (_[C] = b[C]);
1509
1509
  return { $$typeof: a, type: h, key: M, ref: P, props: _, _owner: d.current };
1510
1510
  }
1511
- return tr.Fragment = l, tr.jsx = v, tr.jsxs = v, tr;
1511
+ return tr.Fragment = l, tr.jsx = m, tr.jsxs = m, tr;
1512
1512
  }
1513
1513
  var nr = {};
1514
1514
  /**
@@ -1523,45 +1523,45 @@ var nr = {};
1523
1523
  var Pt;
1524
1524
  function Zn() {
1525
1525
  return Pt || (Pt = 1, process.env.NODE_ENV !== "production" && function() {
1526
- var o = et(), a = Symbol.for("react.element"), l = Symbol.for("react.portal"), u = Symbol.for("react.fragment"), d = Symbol.for("react.strict_mode"), f = Symbol.for("react.profiler"), v = Symbol.for("react.provider"), h = Symbol.for("react.context"), b = Symbol.for("react.forward_ref"), p = Symbol.for("react.suspense"), C = Symbol.for("react.suspense_list"), _ = Symbol.for("react.memo"), M = Symbol.for("react.lazy"), P = Symbol.for("react.offscreen"), j = Symbol.iterator, ee = "@@iterator";
1526
+ var o = et(), a = Symbol.for("react.element"), l = Symbol.for("react.portal"), u = Symbol.for("react.fragment"), d = Symbol.for("react.strict_mode"), f = Symbol.for("react.profiler"), m = Symbol.for("react.provider"), h = Symbol.for("react.context"), b = Symbol.for("react.forward_ref"), p = Symbol.for("react.suspense"), C = Symbol.for("react.suspense_list"), _ = Symbol.for("react.memo"), M = Symbol.for("react.lazy"), P = Symbol.for("react.offscreen"), j = Symbol.iterator, ee = "@@iterator";
1527
1527
  function U(t) {
1528
1528
  if (t === null || typeof t != "object")
1529
1529
  return null;
1530
- var m = j && t[j] || t[ee];
1531
- return typeof m == "function" ? m : null;
1530
+ var v = j && t[j] || t[ee];
1531
+ return typeof v == "function" ? v : null;
1532
1532
  }
1533
1533
  var A = o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
1534
1534
  function q(t) {
1535
1535
  {
1536
- for (var m = arguments.length, x = new Array(m > 1 ? m - 1 : 0), k = 1; k < m; k++)
1536
+ for (var v = arguments.length, x = new Array(v > 1 ? v - 1 : 0), k = 1; k < v; k++)
1537
1537
  x[k - 1] = arguments[k];
1538
1538
  Ce("error", t, x);
1539
1539
  }
1540
1540
  }
1541
- function Ce(t, m, x) {
1541
+ function Ce(t, v, x) {
1542
1542
  {
1543
1543
  var k = A.ReactDebugCurrentFrame, T = k.getStackAddendum();
1544
- T !== "" && (m += "%s", x = x.concat([T]));
1544
+ T !== "" && (v += "%s", x = x.concat([T]));
1545
1545
  var B = x.map(function(D) {
1546
1546
  return String(D);
1547
1547
  });
1548
- B.unshift("Warning: " + m), Function.prototype.apply.call(console[t], console, B);
1548
+ B.unshift("Warning: " + v), Function.prototype.apply.call(console[t], console, B);
1549
1549
  }
1550
1550
  }
1551
1551
  var me = !1, ae = !1, ce = !1, be = !1, _e = !1, ke;
1552
1552
  ke = Symbol.for("react.module.reference");
1553
1553
  function Te(t) {
1554
- return !!(typeof t == "string" || typeof t == "function" || t === u || t === f || _e || t === d || t === p || t === C || be || t === P || me || ae || ce || typeof t == "object" && t !== null && (t.$$typeof === M || t.$$typeof === _ || t.$$typeof === v || t.$$typeof === h || t.$$typeof === b || // This needs to include all possible module reference object
1554
+ return !!(typeof t == "string" || typeof t == "function" || t === u || t === f || _e || t === d || t === p || t === C || be || t === P || me || ae || ce || typeof t == "object" && t !== null && (t.$$typeof === M || t.$$typeof === _ || t.$$typeof === m || t.$$typeof === h || t.$$typeof === b || // This needs to include all possible module reference object
1555
1555
  // types supported by any Flight configuration anywhere since
1556
1556
  // we don't know which Flight build this will end up being used
1557
1557
  // with.
1558
1558
  t.$$typeof === ke || t.getModuleId !== void 0));
1559
1559
  }
1560
- function Ke(t, m, x) {
1560
+ function Ke(t, v, x) {
1561
1561
  var k = t.displayName;
1562
1562
  if (k)
1563
1563
  return k;
1564
- var T = m.displayName || m.name || "";
1564
+ var T = v.displayName || v.name || "";
1565
1565
  return T !== "" ? x + "(" + T + ")" : x;
1566
1566
  }
1567
1567
  function Se(t) {
@@ -1591,9 +1591,9 @@ function Zn() {
1591
1591
  if (typeof t == "object")
1592
1592
  switch (t.$$typeof) {
1593
1593
  case h:
1594
- var m = t;
1595
- return Se(m) + ".Consumer";
1596
- case v:
1594
+ var v = t;
1595
+ return Se(v) + ".Consumer";
1596
+ case m:
1597
1597
  var x = t;
1598
1598
  return Se(x._context) + ".Provider";
1599
1599
  case b:
@@ -1675,7 +1675,7 @@ function Zn() {
1675
1675
  }
1676
1676
  }
1677
1677
  var J = A.ReactCurrentDispatcher, Y;
1678
- function V(t, m, x) {
1678
+ function V(t, v, x) {
1679
1679
  {
1680
1680
  if (Y === void 0)
1681
1681
  try {
@@ -1693,7 +1693,7 @@ function Zn() {
1693
1693
  var Sr = typeof WeakMap == "function" ? WeakMap : Map;
1694
1694
  we = new Sr();
1695
1695
  }
1696
- function or(t, m) {
1696
+ function or(t, v) {
1697
1697
  if (!t || se)
1698
1698
  return "";
1699
1699
  {
@@ -1708,7 +1708,7 @@ function Zn() {
1708
1708
  var B;
1709
1709
  B = J.current, J.current = null, $();
1710
1710
  try {
1711
- if (m) {
1711
+ if (v) {
1712
1712
  var D = function() {
1713
1713
  throw Error();
1714
1714
  };
@@ -1764,14 +1764,14 @@ function Zn() {
1764
1764
  var Re = t ? t.displayName || t.name : "", hr = Re ? V(Re) : "";
1765
1765
  return typeof t == "function" && we.set(t, hr), hr;
1766
1766
  }
1767
- function Me(t, m, x) {
1767
+ function Me(t, v, x) {
1768
1768
  return or(t, !1);
1769
1769
  }
1770
1770
  function Or(t) {
1771
- var m = t.prototype;
1772
- return !!(m && m.isReactComponent);
1771
+ var v = t.prototype;
1772
+ return !!(v && v.isReactComponent);
1773
1773
  }
1774
- function We(t, m, x) {
1774
+ function We(t, v, x) {
1775
1775
  if (t == null)
1776
1776
  return "";
1777
1777
  if (typeof t == "function")
@@ -1789,11 +1789,11 @@ function Zn() {
1789
1789
  case b:
1790
1790
  return Me(t.render);
1791
1791
  case _:
1792
- return We(t.type, m, x);
1792
+ return We(t.type, v, x);
1793
1793
  case M: {
1794
1794
  var k = t, T = k._payload, B = k._init;
1795
1795
  try {
1796
- return We(B(T), m, x);
1796
+ return We(B(T), v, x);
1797
1797
  } catch {
1798
1798
  }
1799
1799
  }
@@ -1803,12 +1803,12 @@ function Zn() {
1803
1803
  var Pe = Object.prototype.hasOwnProperty, Ne = {}, sr = A.ReactDebugCurrentFrame;
1804
1804
  function Ae(t) {
1805
1805
  if (t) {
1806
- var m = t._owner, x = We(t.type, t._source, m ? m.type : null);
1806
+ var v = t._owner, x = We(t.type, t._source, v ? v.type : null);
1807
1807
  sr.setExtraStackFrame(x);
1808
1808
  } else
1809
1809
  sr.setExtraStackFrame(null);
1810
1810
  }
1811
- function xe(t, m, x, k, T) {
1811
+ function xe(t, v, x, k, T) {
1812
1812
  {
1813
1813
  var B = Function.call.bind(Pe);
1814
1814
  for (var D in t)
@@ -1819,7 +1819,7 @@ function Zn() {
1819
1819
  var le = Error((k || "React class") + ": " + x + " type `" + D + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof t[D] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
1820
1820
  throw le.name = "Invariant Violation", le;
1821
1821
  }
1822
- N = t[D](m, D, k, x, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
1822
+ N = t[D](v, D, k, x, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
1823
1823
  } catch (re) {
1824
1824
  N = re;
1825
1825
  }
@@ -1833,7 +1833,7 @@ function Zn() {
1833
1833
  }
1834
1834
  function ir(t) {
1835
1835
  {
1836
- var m = typeof Symbol == "function" && Symbol.toStringTag, x = m && t[Symbol.toStringTag] || t.constructor.name || "Object";
1836
+ var v = typeof Symbol == "function" && Symbol.toStringTag, x = v && t[Symbol.toStringTag] || t.constructor.name || "Object";
1837
1837
  return x;
1838
1838
  }
1839
1839
  }
@@ -1859,27 +1859,27 @@ function Zn() {
1859
1859
  }, ur, cr;
1860
1860
  function Ze(t) {
1861
1861
  if (Pe.call(t, "ref")) {
1862
- var m = Object.getOwnPropertyDescriptor(t, "ref").get;
1863
- if (m && m.isReactWarning)
1862
+ var v = Object.getOwnPropertyDescriptor(t, "ref").get;
1863
+ if (v && v.isReactWarning)
1864
1864
  return !1;
1865
1865
  }
1866
1866
  return t.ref !== void 0;
1867
1867
  }
1868
1868
  function Nr(t) {
1869
1869
  if (Pe.call(t, "key")) {
1870
- var m = Object.getOwnPropertyDescriptor(t, "key").get;
1871
- if (m && m.isReactWarning)
1870
+ var v = Object.getOwnPropertyDescriptor(t, "key").get;
1871
+ if (v && v.isReactWarning)
1872
1872
  return !1;
1873
1873
  }
1874
1874
  return t.key !== void 0;
1875
1875
  }
1876
- function Ar(t, m) {
1876
+ function Ar(t, v) {
1877
1877
  typeof t.ref == "string" && Xe.current;
1878
1878
  }
1879
- function Ir(t, m) {
1879
+ function Ir(t, v) {
1880
1880
  {
1881
1881
  var x = function() {
1882
- ur || (ur = !0, q("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", m));
1882
+ ur || (ur = !0, q("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", v));
1883
1883
  };
1884
1884
  x.isReactWarning = !0, Object.defineProperty(t, "key", {
1885
1885
  get: x,
@@ -1887,10 +1887,10 @@ function Zn() {
1887
1887
  });
1888
1888
  }
1889
1889
  }
1890
- function je(t, m) {
1890
+ function je(t, v) {
1891
1891
  {
1892
1892
  var x = function() {
1893
- cr || (cr = !0, q("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", m));
1893
+ cr || (cr = !0, q("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", v));
1894
1894
  };
1895
1895
  x.isReactWarning = !0, Object.defineProperty(t, "ref", {
1896
1896
  get: x,
@@ -1898,13 +1898,13 @@ function Zn() {
1898
1898
  });
1899
1899
  }
1900
1900
  }
1901
- var fr = function(t, m, x, k, T, B, D) {
1901
+ var fr = function(t, v, x, k, T, B, D) {
1902
1902
  var N = {
1903
1903
  // This tag allows us to uniquely identify this as a React Element
1904
1904
  $$typeof: a,
1905
1905
  // Built-in properties that belong on the element
1906
1906
  type: t,
1907
- key: m,
1907
+ key: v,
1908
1908
  ref: x,
1909
1909
  props: D,
1910
1910
  // Record the component responsible for creating this element.
@@ -1927,12 +1927,12 @@ function Zn() {
1927
1927
  value: T
1928
1928
  }), Object.freeze && (Object.freeze(N.props), Object.freeze(N)), N;
1929
1929
  };
1930
- function $r(t, m, x, k, T) {
1930
+ function $r(t, v, x, k, T) {
1931
1931
  {
1932
1932
  var B, D = {}, N = null, le = null;
1933
- x !== void 0 && (Je(x), N = "" + x), Nr(m) && (Je(m.key), N = "" + m.key), Ze(m) && (le = m.ref, Ar(m, T));
1934
- for (B in m)
1935
- Pe.call(m, B) && !Pr.hasOwnProperty(B) && (D[B] = m[B]);
1933
+ x !== void 0 && (Je(x), N = "" + x), Nr(v) && (Je(v.key), N = "" + v.key), Ze(v) && (le = v.ref, Ar(v, T));
1934
+ for (B in v)
1935
+ Pe.call(v, B) && !Pr.hasOwnProperty(B) && (D[B] = v[B]);
1936
1936
  if (t && t.defaultProps) {
1937
1937
  var re = t.defaultProps;
1938
1938
  for (B in re)
@@ -1948,7 +1948,7 @@ function Zn() {
1948
1948
  var Qe = A.ReactCurrentOwner, er = A.ReactDebugCurrentFrame;
1949
1949
  function Ee(t) {
1950
1950
  if (t) {
1951
- var m = t._owner, x = We(t.type, t._source, m ? m.type : null);
1951
+ var v = t._owner, x = We(t.type, t._source, v ? v.type : null);
1952
1952
  er.setExtraStackFrame(x);
1953
1953
  } else
1954
1954
  er.setExtraStackFrame(null);
@@ -1976,22 +1976,22 @@ Check the render method of \`` + t + "`.";
1976
1976
  var dr = {};
1977
1977
  function Dr(t) {
1978
1978
  {
1979
- var m = De();
1980
- if (!m) {
1979
+ var v = De();
1980
+ if (!v) {
1981
1981
  var x = typeof t == "string" ? t : t.displayName || t.name;
1982
- x && (m = `
1982
+ x && (v = `
1983
1983
 
1984
1984
  Check the top-level render call using <` + x + ">.");
1985
1985
  }
1986
- return m;
1986
+ return v;
1987
1987
  }
1988
1988
  }
1989
- function pr(t, m) {
1989
+ function pr(t, v) {
1990
1990
  {
1991
1991
  if (!t._store || t._store.validated || t.key != null)
1992
1992
  return;
1993
1993
  t._store.validated = !0;
1994
- var x = Dr(m);
1994
+ var x = Dr(v);
1995
1995
  if (dr[x])
1996
1996
  return;
1997
1997
  dr[x] = !0;
@@ -1999,14 +1999,14 @@ Check the top-level render call using <` + x + ">.");
1999
1999
  t && t._owner && t._owner !== Qe.current && (k = " It was passed a child from " + pe(t._owner.type) + "."), Ee(t), q('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', x, k), Ee(null);
2000
2000
  }
2001
2001
  }
2002
- function vr(t, m) {
2002
+ function vr(t, v) {
2003
2003
  {
2004
2004
  if (typeof t != "object")
2005
2005
  return;
2006
2006
  if (Ue(t))
2007
2007
  for (var x = 0; x < t.length; x++) {
2008
2008
  var k = t[x];
2009
- $e(k) && pr(k, m);
2009
+ $e(k) && pr(k, v);
2010
2010
  }
2011
2011
  else if ($e(t))
2012
2012
  t._store && (t._store.validated = !0);
@@ -2014,39 +2014,39 @@ Check the top-level render call using <` + x + ">.");
2014
2014
  var T = U(t);
2015
2015
  if (typeof T == "function" && T !== t.entries)
2016
2016
  for (var B = T.call(t), D; !(D = B.next()).done; )
2017
- $e(D.value) && pr(D.value, m);
2017
+ $e(D.value) && pr(D.value, v);
2018
2018
  }
2019
2019
  }
2020
2020
  }
2021
2021
  function Fr(t) {
2022
2022
  {
2023
- var m = t.type;
2024
- if (m == null || typeof m == "string")
2023
+ var v = t.type;
2024
+ if (v == null || typeof v == "string")
2025
2025
  return;
2026
2026
  var x;
2027
- if (typeof m == "function")
2028
- x = m.propTypes;
2029
- else if (typeof m == "object" && (m.$$typeof === b || // Note: Memo only checks outer props here.
2027
+ if (typeof v == "function")
2028
+ x = v.propTypes;
2029
+ else if (typeof v == "object" && (v.$$typeof === b || // Note: Memo only checks outer props here.
2030
2030
  // Inner props are checked in the reconciler.
2031
- m.$$typeof === _))
2032
- x = m.propTypes;
2031
+ v.$$typeof === _))
2032
+ x = v.propTypes;
2033
2033
  else
2034
2034
  return;
2035
2035
  if (x) {
2036
- var k = pe(m);
2036
+ var k = pe(v);
2037
2037
  xe(x, t.props, "prop", k, t);
2038
- } else if (m.PropTypes !== void 0 && !Be) {
2038
+ } else if (v.PropTypes !== void 0 && !Be) {
2039
2039
  Be = !0;
2040
- var T = pe(m);
2040
+ var T = pe(v);
2041
2041
  q("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", T || "Unknown");
2042
2042
  }
2043
- typeof m.getDefaultProps == "function" && !m.getDefaultProps.isReactClassApproved && q("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
2043
+ typeof v.getDefaultProps == "function" && !v.getDefaultProps.isReactClassApproved && q("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
2044
2044
  }
2045
2045
  }
2046
2046
  function Fe(t) {
2047
2047
  {
2048
- for (var m = Object.keys(t.props), x = 0; x < m.length; x++) {
2049
- var k = m[x];
2048
+ for (var v = Object.keys(t.props), x = 0; x < v.length; x++) {
2049
+ var k = v[x];
2050
2050
  if (k !== "children" && k !== "key") {
2051
2051
  Ee(t), q("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", k), Ee(null);
2052
2052
  break;
@@ -2055,7 +2055,7 @@ Check the top-level render call using <` + x + ">.");
2055
2055
  t.ref !== null && (Ee(t), q("Invalid attribute `ref` supplied to `React.Fragment`."), Ee(null));
2056
2056
  }
2057
2057
  }
2058
- function ze(t, m, x, k, T, B) {
2058
+ function ze(t, v, x, k, T, B) {
2059
2059
  {
2060
2060
  var D = Te(t);
2061
2061
  if (!D) {
@@ -2066,11 +2066,11 @@ Check the top-level render call using <` + x + ">.");
2066
2066
  var re;
2067
2067
  t === null ? re = "null" : Ue(t) ? re = "array" : t !== void 0 && t.$$typeof === a ? (re = "<" + (pe(t.type) || "Unknown") + " />", N = " Did you accidentally export a JSX literal instead of a component?") : re = typeof t, q("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", re, N);
2068
2068
  }
2069
- var ne = $r(t, m, x, T, B);
2069
+ var ne = $r(t, v, x, T, B);
2070
2070
  if (ne == null)
2071
2071
  return ne;
2072
2072
  if (D) {
2073
- var de = m.children;
2073
+ var de = v.children;
2074
2074
  if (de !== void 0)
2075
2075
  if (k)
2076
2076
  if (Ue(de)) {
@@ -2085,11 +2085,11 @@ Check the top-level render call using <` + x + ">.");
2085
2085
  return t === u ? Fe(ne) : Fr(ne), ne;
2086
2086
  }
2087
2087
  }
2088
- function mr(t, m, x) {
2089
- return ze(t, m, x, !0);
2088
+ function mr(t, v, x) {
2089
+ return ze(t, v, x, !0);
2090
2090
  }
2091
- function Lr(t, m, x) {
2092
- return ze(t, m, x, !1);
2091
+ function Lr(t, v, x) {
2092
+ return ze(t, v, x, !1);
2093
2093
  }
2094
2094
  var Mr = Lr, Wr = mr;
2095
2095
  nr.Fragment = u, nr.jsx = Mr, nr.jsxs = Wr;
@@ -2113,8 +2113,8 @@ function ea() {
2113
2113
  (function() {
2114
2114
  var a = {}.hasOwnProperty;
2115
2115
  function l() {
2116
- for (var f = "", v = 0; v < arguments.length; v++) {
2117
- var h = arguments[v];
2116
+ for (var f = "", m = 0; m < arguments.length; m++) {
2117
+ var h = arguments[m];
2118
2118
  h && (f = d(f, u(h)));
2119
2119
  }
2120
2120
  return f;
@@ -2128,13 +2128,13 @@ function ea() {
2128
2128
  return l.apply(null, f);
2129
2129
  if (f.toString !== Object.prototype.toString && !f.toString.toString().includes("[native code]"))
2130
2130
  return f.toString();
2131
- var v = "";
2131
+ var m = "";
2132
2132
  for (var h in f)
2133
- a.call(f, h) && f[h] && (v = d(v, h));
2134
- return v;
2133
+ a.call(f, h) && f[h] && (m = d(m, h));
2134
+ return m;
2135
2135
  }
2136
- function d(f, v) {
2137
- return v ? f ? f + " " + v : f + v : f;
2136
+ function d(f, m) {
2137
+ return m ? f ? f + " " + m : f + m : f;
2138
2138
  }
2139
2139
  o.exports ? (l.default = l, o.exports = l) : window.classNames = l;
2140
2140
  })();
@@ -2157,7 +2157,7 @@ const z = /* @__PURE__ */ Hn(ra), Q = ({
2157
2157
  variant: u = "secondary",
2158
2158
  defaultPressed: d,
2159
2159
  onPressedChange: f,
2160
- icon: v,
2160
+ icon: m,
2161
2161
  size: h = "compact",
2162
2162
  display: b = "auto",
2163
2163
  label: p
@@ -2182,7 +2182,7 @@ const z = /* @__PURE__ */ Hn(ra), Q = ({
2182
2182
  isPressed: C,
2183
2183
  onClick: M,
2184
2184
  children: [
2185
- v && /* @__PURE__ */ n.jsx(He, { icon: v }),
2185
+ m && /* @__PURE__ */ n.jsx(He, { icon: m }),
2186
2186
  b !== "icon" ? o : null,
2187
2187
  p && !o && b !== "icon" ? /* @__PURE__ */ n.jsx("span", { children: p }) : null
2188
2188
  ]
@@ -2197,7 +2197,7 @@ const z = /* @__PURE__ */ Hn(ra), Q = ({
2197
2197
  display: u = "auto",
2198
2198
  options: d,
2199
2199
  size: f = "compact",
2200
- tabs: v = !1,
2200
+ tabs: m = !1,
2201
2201
  variant: h = "secondary",
2202
2202
  stretch: b = !1,
2203
2203
  onPressedChange: p
@@ -2222,7 +2222,7 @@ const z = /* @__PURE__ */ Hn(ra), Q = ({
2222
2222
  className: z(
2223
2223
  "blockbite-ui__button-group flex flex-wrap gap-1",
2224
2224
  o,
2225
- v ? "blockbite-ui__button-group--tabs" : ""
2225
+ m ? "blockbite-ui__button-group--tabs" : ""
2226
2226
  ),
2227
2227
  children: d.map((j, ee) => /* @__PURE__ */ n.jsxs(
2228
2228
  ve,
@@ -2250,13 +2250,13 @@ const z = /* @__PURE__ */ Hn(ra), Q = ({
2250
2250
  );
2251
2251
  }
2252
2252
  );
2253
- function Ra({
2253
+ function ka({
2254
2254
  defaultValue: o,
2255
2255
  options: a,
2256
2256
  swatch: l,
2257
2257
  onPressedChange: u
2258
2258
  }) {
2259
- const [d, f] = L(""), [v, h] = L([]);
2259
+ const [d, f] = L(""), [m, h] = L([]);
2260
2260
  return H(() => {
2261
2261
  h(
2262
2262
  a.filter(
@@ -2303,8 +2303,8 @@ function Ra({
2303
2303
  }
2304
2304
  ),
2305
2305
  /* @__PURE__ */ n.jsxs("div", { className: "grid grid-cols-2 gap-1 !bg-transparent !p-0 !pt-2", children: [
2306
- v.length === 0 && /* @__PURE__ */ n.jsx("div", { className: "!text-gray-medium col-span-2 pb-2 text-center !text-[11px]", children: "No options found." }),
2307
- v.map((b, p) => /* @__PURE__ */ n.jsxs(
2306
+ m.length === 0 && /* @__PURE__ */ n.jsx("div", { className: "!text-gray-medium col-span-2 pb-2 text-center !text-[11px]", children: "No options found." }),
2307
+ m.map((b, p) => /* @__PURE__ */ n.jsxs(
2308
2308
  ta,
2309
2309
  {
2310
2310
  className: z({
@@ -2335,7 +2335,7 @@ function Ra({
2335
2335
  }
2336
2336
  );
2337
2337
  }
2338
- const ka = ({ children: o, className: a, onClick: l }) => /* @__PURE__ */ n.jsx(
2338
+ const aa = ({ children: o, className: a, onClick: l }) => /* @__PURE__ */ n.jsx(
2339
2339
  "div",
2340
2340
  {
2341
2341
  onClick: l,
@@ -2348,9 +2348,9 @@ const ka = ({ children: o, className: a, onClick: l }) => /* @__PURE__ */ n.jsx(
2348
2348
  ), Ta = ({ htmlContent: o, cssContent: a, frontendAssets: l }) => {
2349
2349
  const u = Tr(null), [d, f] = L(null);
2350
2350
  return H(() => {
2351
- const v = u.current;
2352
- return v && (v.onload = () => {
2353
- const h = v.contentDocument || v.contentWindow.document;
2351
+ const m = u.current;
2352
+ return m && (m.onload = () => {
2353
+ const h = m.contentDocument || m.contentWindow.document;
2354
2354
  if (h) {
2355
2355
  f(h.body);
2356
2356
  const b = h.createElement("style");
@@ -2370,7 +2370,7 @@ const ka = ({ children: o, className: a, onClick: l }) => /* @__PURE__ */ n.jsx(
2370
2370
  });
2371
2371
  }
2372
2372
  }), () => {
2373
- v && (v.onload = null);
2373
+ m && (m.onload = null);
2374
2374
  };
2375
2375
  }, [o, a, l]), /* @__PURE__ */ n.jsxs(
2376
2376
  "div",
@@ -2408,11 +2408,11 @@ const ka = ({ children: o, className: a, onClick: l }) => /* @__PURE__ */ n.jsx(
2408
2408
  className: u,
2409
2409
  onClick: d,
2410
2410
  variant: f = "primary",
2411
- display: v = "auto",
2411
+ display: m = "auto",
2412
2412
  icon: h,
2413
2413
  disabled: b = !1
2414
2414
  }) => {
2415
- const p = v === "icon" || v === "icon-lg";
2415
+ const p = m === "icon" || m === "icon-lg";
2416
2416
  return /* @__PURE__ */ n.jsxs(
2417
2417
  ve,
2418
2418
  {
@@ -2429,7 +2429,7 @@ const ka = ({ children: o, className: a, onClick: l }) => /* @__PURE__ */ n.jsx(
2429
2429
  { "is-secondary": f === "secondary" },
2430
2430
  { "is-link": f === "link" },
2431
2431
  { "is-tertiary": f === "tertiary" },
2432
- { "is-icon": v === "icon" }
2432
+ { "is-icon": m === "icon" }
2433
2433
  ),
2434
2434
  onClick: d,
2435
2435
  children: [
@@ -2437,7 +2437,7 @@ const ka = ({ children: o, className: a, onClick: l }) => /* @__PURE__ */ n.jsx(
2437
2437
  He,
2438
2438
  {
2439
2439
  icon: h,
2440
- className: z({ "h-4 w-4": v === "icon-lg" })
2440
+ className: z({ "h-4 w-4": m === "icon-lg" })
2441
2441
  }
2442
2442
  ),
2443
2443
  p ? null : o,
@@ -2461,10 +2461,12 @@ const ka = ({ children: o, className: a, onClick: l }) => /* @__PURE__ */ n.jsx(
2461
2461
  id: o = "",
2462
2462
  title: a,
2463
2463
  className: l,
2464
- help: u
2464
+ help: u,
2465
+ badge: d
2465
2466
  }) => /* @__PURE__ */ n.jsxs("div", { ...o ? { id: o } : null, className: z("mb-4", l), children: [
2466
- /* @__PURE__ */ n.jsxs("div", { className: "flex w-full flex-wrap items-center gap-2", children: [
2467
+ /* @__PURE__ */ n.jsxs("div", { className: "flex w-full flex-wrap items-center gap-2 justify-between", children: [
2467
2468
  /* @__PURE__ */ n.jsx("small", { className: "shrink-1 text-[12px]", children: a }),
2469
+ !!d && /* @__PURE__ */ n.jsx(aa, { className: "text-[.65rem] py-px px-1", children: d }),
2468
2470
  /* @__PURE__ */ n.jsx("span", { className: "h-[1px] w-full bg-easy" })
2469
2471
  ] }),
2470
2472
  u && /* @__PURE__ */ n.jsx("small", { className: "w-full shrink-0 text-[12px]", children: u })
@@ -2490,14 +2492,14 @@ const ka = ({ children: o, className: a, onClick: l }) => /* @__PURE__ */ n.jsx(
2490
2492
  return H(() => {
2491
2493
  f.current = !0;
2492
2494
  }, []), H(() => {
2493
- let v = null;
2494
- return l && !f.current ? (d(!0), v = setTimeout(() => {
2495
+ let m = null;
2496
+ return l && !f.current ? (d(!0), m = setTimeout(() => {
2495
2497
  d(!1);
2496
2498
  }, o)) : f.current = !1, () => {
2497
- clearTimeout(v);
2499
+ clearTimeout(m);
2498
2500
  };
2499
2501
  }, [l, o]), u && /* @__PURE__ */ n.jsx(n.Fragment, { children: a });
2500
- }, aa = ({
2502
+ }, oa = ({
2501
2503
  label: o,
2502
2504
  className: a,
2503
2505
  defaultValue: l,
@@ -2505,7 +2507,7 @@ const ka = ({ children: o, className: a, onClick: l }) => /* @__PURE__ */ n.jsx(
2505
2507
  onPressedChange: d,
2506
2508
  options: f
2507
2509
  }) => {
2508
- const [v, h] = L(null);
2510
+ const [m, h] = L(null);
2509
2511
  H(() => {
2510
2512
  h(l);
2511
2513
  }, [l]);
@@ -2536,7 +2538,7 @@ const ka = ({ children: o, className: a, onClick: l }) => /* @__PURE__ */ n.jsx(
2536
2538
  "blockbite-ui__dropdown-picker border-primary border",
2537
2539
  a
2538
2540
  ),
2539
- icon: f.find((p) => p.value === v)?.icon || /* @__PURE__ */ n.jsx(He, { icon: u }),
2541
+ icon: f.find((p) => p.value === m)?.icon || /* @__PURE__ */ n.jsx(He, { icon: u }),
2540
2542
  label: o || "Select"
2541
2543
  }
2542
2544
  );
@@ -2558,18 +2560,18 @@ function Ia({
2558
2560
  function $a({
2559
2561
  children: o
2560
2562
  }) {
2561
- const a = Tr(null), [l, u] = L({ x: 100, y: 100 }), [d, f] = L(!1), [v, h] = L({ x: 0, y: 0 });
2563
+ const a = Tr(null), [l, u] = L({ x: 100, y: 100 }), [d, f] = L(!1), [m, h] = L({ x: 0, y: 0 });
2562
2564
  H(() => {
2563
2565
  const p = (_) => {
2564
2566
  d && u({
2565
- x: _.clientX - v.x,
2566
- y: _.clientY - v.y
2567
+ x: _.clientX - m.x,
2568
+ y: _.clientY - m.y
2567
2569
  });
2568
2570
  }, C = () => f(!1);
2569
2571
  return window.addEventListener("mousemove", p), window.addEventListener("mouseup", C), () => {
2570
2572
  window.removeEventListener("mousemove", p), window.removeEventListener("mouseup", C);
2571
2573
  };
2572
- }, [d, v]);
2574
+ }, [d, m]);
2573
2575
  const b = (p) => {
2574
2576
  const C = a.current.getBoundingClientRect();
2575
2577
  h({ x: p.clientX - C.left, y: p.clientY - C.top }), f(!0);
@@ -2610,10 +2612,10 @@ const Da = ({
2610
2612
  );
2611
2613
  }, [u]), H(() => {
2612
2614
  if (o.includes("%")) {
2613
- const [f, v] = o.replace("[", "").replace("%]", "").split("_").map((h) => parseFloat(h) / 100);
2615
+ const [f, m] = o.replace("[", "").replace("%]", "").split("_").map((h) => parseFloat(h) / 100);
2614
2616
  d({
2615
2617
  x: f,
2616
- y: v
2618
+ y: m
2617
2619
  });
2618
2620
  }
2619
2621
  }, [o]), /* @__PURE__ */ n.jsx(Q, { className: "relative flex flex-col", children: /* @__PURE__ */ n.jsx(
@@ -2627,7 +2629,7 @@ const Da = ({
2627
2629
  ) });
2628
2630
  };
2629
2631
  function Fa(o) {
2630
- const [a, l] = L(""), [u, d] = L([]), [f, v] = L({
2632
+ const [a, l] = L(""), [u, d] = L([]), [f, m] = L({
2631
2633
  url: "",
2632
2634
  title: ""
2633
2635
  });
@@ -2653,18 +2655,18 @@ function Fa(o) {
2653
2655
  }
2654
2656
  ),
2655
2657
  a ? /* @__PURE__ */ n.jsx("div", { className: "blockbite--editor-linklist", children: /* @__PURE__ */ n.jsx(
2656
- oa,
2658
+ sa,
2657
2659
  {
2658
2660
  links: u,
2659
2661
  onActiveLink: (h) => [
2660
- v({ ...h }),
2662
+ m({ ...h }),
2661
2663
  l("")
2662
2664
  ]
2663
2665
  }
2664
2666
  ) }) : null
2665
2667
  ] });
2666
2668
  }
2667
- function oa({ links: o, onActiveLink: a }) {
2669
+ function sa({ links: o, onActiveLink: a }) {
2668
2670
  if (o === null)
2669
2671
  return /* @__PURE__ */ n.jsx("p", { children: "Loading..." });
2670
2672
  if (o.length === 0)
@@ -2708,7 +2710,7 @@ function La({ mediaProps: o, mediaCallback: a }) {
2708
2710
  mediaId: 0,
2709
2711
  mediaUrl: ""
2710
2712
  } });
2711
- }, v = (h) => {
2713
+ }, m = (h) => {
2712
2714
  const b = {
2713
2715
  thumbnail: null,
2714
2716
  medium: null,
@@ -2733,7 +2735,7 @@ function La({ mediaProps: o, mediaCallback: a }) {
2733
2735
  u.id !== null && /* @__PURE__ */ n.jsx(Kr, { children: /* @__PURE__ */ n.jsx(
2734
2736
  Rt,
2735
2737
  {
2736
- onSelect: v,
2738
+ onSelect: m,
2737
2739
  value: u.id,
2738
2740
  allowedTypes: l,
2739
2741
  render: ({ open: h }) => /* @__PURE__ */ n.jsxs(
@@ -2760,7 +2762,7 @@ function La({ mediaProps: o, mediaCallback: a }) {
2760
2762
  {
2761
2763
  title: Le("Replace media", "blockbite"),
2762
2764
  value: u.id,
2763
- onSelect: v,
2765
+ onSelect: m,
2764
2766
  allowedTypes: l,
2765
2767
  render: ({ open: h }) => /* @__PURE__ */ n.jsx(ve, { onClick: h, children: Le("Replace media", "blockbite") })
2766
2768
  }
@@ -2768,7 +2770,7 @@ function La({ mediaProps: o, mediaCallback: a }) {
2768
2770
  u.id !== 0 && /* @__PURE__ */ n.jsx(Kr, { children: /* @__PURE__ */ n.jsx(ve, { onClick: () => f(), isDestructive: !0, children: Le("Remove media", "blockbite") }) })
2769
2771
  ] });
2770
2772
  }
2771
- const sa = ({
2773
+ const ia = ({
2772
2774
  children: o,
2773
2775
  className: a,
2774
2776
  position: l,
@@ -2776,15 +2778,15 @@ const sa = ({
2776
2778
  onClick: d,
2777
2779
  onVisibleChange: f
2778
2780
  }) => {
2779
- const [v, h] = L(!!u);
2781
+ const [m, h] = L(!!u);
2780
2782
  H(() => {
2781
2783
  u !== void 0 && h(u);
2782
2784
  }, [u]);
2783
2785
  const b = () => {
2784
- const p = !v;
2786
+ const p = !m;
2785
2787
  h(p), f && f(p);
2786
2788
  };
2787
- return /* @__PURE__ */ n.jsx(n.Fragment, { children: v && /* @__PURE__ */ n.jsx(
2789
+ return /* @__PURE__ */ n.jsx(n.Fragment, { children: m && /* @__PURE__ */ n.jsx(
2788
2790
  Sn,
2789
2791
  {
2790
2792
  position: l,
@@ -2807,23 +2809,23 @@ const sa = ({
2807
2809
  ] }) })
2808
2810
  }
2809
2811
  ) });
2810
- }, ia = ({
2812
+ }, la = ({
2811
2813
  defaultValue: o,
2812
2814
  label: a,
2813
2815
  min: l = 0,
2814
2816
  max: u = 2e3,
2815
2817
  withInputField: d = !1,
2816
2818
  onValueChange: f,
2817
- gridMode: v = !1,
2819
+ gridMode: m = !1,
2818
2820
  showTooltip: h = !1,
2819
2821
  ...b
2820
2822
  }) => {
2821
2823
  const [p] = L(0), [C, _] = L(0);
2822
2824
  H(() => {
2823
- _(Math.round(parseInt(o) / (v ? 16 : 1)));
2825
+ _(Math.round(parseInt(o) / (m ? 16 : 1)));
2824
2826
  }, [o]);
2825
2827
  function M(P) {
2826
- const j = P * (v ? 16 : 1);
2828
+ const j = P * (m ? 16 : 1);
2827
2829
  f(j.toString());
2828
2830
  }
2829
2831
  return /* @__PURE__ */ n.jsxs(Q, { className: "flex min-w-[240px] flex-col", children: [
@@ -2844,7 +2846,7 @@ const sa = ({
2844
2846
  }
2845
2847
  ),
2846
2848
  /* @__PURE__ */ n.jsxs("span", { children: [
2847
- v ? `${C * 16}px` : null,
2849
+ m ? `${C * 16}px` : null,
2848
2850
  " "
2849
2851
  ] })
2850
2852
  ] });
@@ -2856,7 +2858,7 @@ const sa = ({
2856
2858
  defaultValue: u,
2857
2859
  children: d,
2858
2860
  inputClassName: f,
2859
- readOnly: v,
2861
+ readOnly: m,
2860
2862
  placeholder: h,
2861
2863
  onBlur: b,
2862
2864
  type: p = "text",
@@ -2882,7 +2884,7 @@ const sa = ({
2882
2884
  o && o(), b && b(j.target.value);
2883
2885
  },
2884
2886
  onChange: (j) => a && a(j.target.value),
2885
- readOnly: v,
2887
+ readOnly: m,
2886
2888
  ref: M
2887
2889
  }
2888
2890
  ),
@@ -2899,7 +2901,7 @@ const Ma = ({
2899
2901
  onUnitChange: u,
2900
2902
  inputClassName: d = "w-[75px]"
2901
2903
  }) => {
2902
- const [f, v] = L(!1), [h, b] = L([]), [p, C] = L(o), [_, M] = L(""), [P, j] = L(a);
2904
+ const [f, m] = L(!1), [h, b] = L([]), [p, C] = L(o), [_, M] = L(""), [P, j] = L(a);
2903
2905
  H(() => {
2904
2906
  o && C(o), a && M(a.toString());
2905
2907
  }, [o, a]), H(() => {
@@ -2913,7 +2915,7 @@ const Ma = ({
2913
2915
  );
2914
2916
  } else
2915
2917
  b([]);
2916
- v(!0);
2918
+ m(!0);
2917
2919
  }, U = [
2918
2920
  {
2919
2921
  icon: /* @__PURE__ */ n.jsx(hn, {}),
@@ -2941,14 +2943,14 @@ const Ma = ({
2941
2943
  readOnly: p !== "arbitrary",
2942
2944
  children: [
2943
2945
  /* @__PURE__ */ n.jsx(
2944
- sa,
2946
+ ia,
2945
2947
  {
2946
2948
  visible: f,
2947
2949
  position: "bottom left",
2948
2950
  className: "w-[300px] bg-white shadow-sm",
2949
- onVisibleChange: v,
2951
+ onVisibleChange: m,
2950
2952
  children: p === "arbitrary" ? /* @__PURE__ */ n.jsx(
2951
- ia,
2953
+ la,
2952
2954
  {
2953
2955
  defaultValue: _,
2954
2956
  label: "Pixel Value",
@@ -2983,13 +2985,13 @@ const Ma = ({
2983
2985
  }
2984
2986
  ),
2985
2987
  /* @__PURE__ */ n.jsx(
2986
- aa,
2988
+ oa,
2987
2989
  {
2988
2990
  className: "h-[32px]",
2989
2991
  defaultValue: p,
2990
2992
  options: U,
2991
2993
  onPressedChange: (A) => {
2992
- A === "reset" ? (M(""), l(""), v(!1)) : (C(A), u(A), ee(A));
2994
+ A === "reset" ? (M(""), l(""), m(!1)) : (C(A), u(A), ee(A));
2993
2995
  }
2994
2996
  }
2995
2997
  )
@@ -3008,15 +3010,15 @@ const Ma = ({
3008
3010
  title: u,
3009
3011
  className: d
3010
3012
  }) => {
3011
- const [f, v] = L(!1);
3013
+ const [f, m] = L(!1);
3012
3014
  H(() => {
3013
- v(a);
3015
+ m(a);
3014
3016
  }, [a]);
3015
- const h = () => v(!0), b = () => v(!1);
3017
+ const h = () => m(!0), b = () => m(!1);
3016
3018
  return H(() => {
3017
3019
  l(f);
3018
3020
  }, [f, l]), /* @__PURE__ */ n.jsxs(Lt.Provider, { value: { closeModal: b, openModal: h }, children: [
3019
- jr.map(o, (p) => Er(p) && p.type === fa ? p : null),
3021
+ jr.map(o, (p) => Er(p) && p.type === da ? p : null),
3020
3022
  f && /* @__PURE__ */ n.jsx(
3021
3023
  Pn,
3022
3024
  {
@@ -3024,14 +3026,14 @@ const Ma = ({
3024
3026
  onRequestClose: b,
3025
3027
  title: u,
3026
3028
  children: /* @__PURE__ */ n.jsxs("div", { className: "relative", children: [
3027
- jr.map(o, (p) => Er(p) && p.type === la ? p : null),
3028
- jr.map(o, (p) => Er(p) && p.type === ca ? p : null),
3029
- jr.map(o, (p) => Er(p) && p.type === ua ? p : null)
3029
+ jr.map(o, (p) => Er(p) && p.type === ua ? p : null),
3030
+ jr.map(o, (p) => Er(p) && p.type === fa ? p : null),
3031
+ jr.map(o, (p) => Er(p) && p.type === ca ? p : null)
3030
3032
  ] })
3031
3033
  }
3032
3034
  )
3033
3035
  ] });
3034
- }, la = ({ children: o, className: a = "", ...l }) => /* @__PURE__ */ n.jsx(
3036
+ }, ua = ({ children: o, className: a = "", ...l }) => /* @__PURE__ */ n.jsx(
3035
3037
  "div",
3036
3038
  {
3037
3039
  className: z(
@@ -3041,7 +3043,7 @@ const Ma = ({
3041
3043
  ...l,
3042
3044
  children: o
3043
3045
  }
3044
- ), ua = ({ children: o, className: a = "", ...l }) => /* @__PURE__ */ n.jsx(
3046
+ ), ca = ({ children: o, className: a = "", ...l }) => /* @__PURE__ */ n.jsx(
3045
3047
  "div",
3046
3048
  {
3047
3049
  className: z(
@@ -3051,7 +3053,7 @@ const Ma = ({
3051
3053
  ...l,
3052
3054
  children: o
3053
3055
  }
3054
- ), ca = ({ children: o, className: a = "", ...l }) => /* @__PURE__ */ n.jsx(
3056
+ ), fa = ({ children: o, className: a = "", ...l }) => /* @__PURE__ */ n.jsx(
3055
3057
  "div",
3056
3058
  {
3057
3059
  className: z("text-gray-medium px-4 pb-4 text-sm", a),
@@ -3061,11 +3063,11 @@ const Ma = ({
3061
3063
  ), Ua = ({ children: o }) => {
3062
3064
  const { closeModal: a } = Mt();
3063
3065
  return /* @__PURE__ */ n.jsx("div", { onClick: a, className: "cursor-pointer", children: o });
3064
- }, fa = ({ children: o }) => {
3066
+ }, da = ({ children: o }) => {
3065
3067
  const { openModal: a } = Mt();
3066
3068
  return /* @__PURE__ */ n.jsx("div", { onClick: a, className: "cursor-pointer", children: o });
3067
3069
  };
3068
- function da(o, a) {
3070
+ function pa(o, a) {
3069
3071
  Array.from(o.styleSheets).forEach((l) => {
3070
3072
  try {
3071
3073
  if (l.cssRules) {
@@ -3094,7 +3096,7 @@ const Va = ({
3094
3096
  const u = Bn(() => document.createElement("div"), []);
3095
3097
  return H(() => {
3096
3098
  const d = o;
3097
- d.document.body.innerHTML = "", d.document.body.appendChild(u), d.document.body.classList.add("bb_"), da(document, d.document), d.document.title = document.title || "Blockbite Editor";
3099
+ d.document.body.innerHTML = "", d.document.body.appendChild(u), d.document.body.classList.add("bb_"), pa(document, d.document), d.document.title = document.title || "Blockbite Editor";
3098
3100
  const f = () => {
3099
3101
  setTimeout(a, 100);
3100
3102
  };
@@ -3140,7 +3142,7 @@ const Va = ({
3140
3142
  }
3141
3143
  ) }),
3142
3144
  label: "Show password",
3143
- onClick: () => f((v) => !v),
3145
+ onClick: () => f((m) => !m),
3144
3146
  size: "small"
3145
3147
  }
3146
3148
  ) }),
@@ -3169,7 +3171,7 @@ function qa(o) {
3169
3171
  const { media: a, mediaClass: l } = o, { url: u, alt: d, sizes: f } = a;
3170
3172
  if (f === void 0)
3171
3173
  return /* @__PURE__ */ n.jsx("img", { src: u, alt: d, className: `bf_media ${l}` });
3172
- const { thumbnail: v, medium: h, large: b } = f, p = v || u, C = h || u, _ = b || u;
3174
+ const { thumbnail: m, medium: h, large: b } = f, p = m || u, C = h || u, _ = b || u;
3173
3175
  return /* @__PURE__ */ n.jsxs("picture", { className: "bf_responsive-media", children: [
3174
3176
  p ? /* @__PURE__ */ n.jsx(
3175
3177
  "source",
@@ -3235,7 +3237,7 @@ const Ha = ({
3235
3237
  setActiveSection: u,
3236
3238
  Update: d,
3237
3239
  newSection: f,
3238
- setCode: v,
3240
+ setCode: m,
3239
3241
  addons: h
3240
3242
  }) => {
3241
3243
  const [b, p] = L({
@@ -3257,7 +3259,7 @@ const Ha = ({
3257
3259
  const U = { ...f() };
3258
3260
  j.push(U), ee = U.id;
3259
3261
  }
3260
- a(j), u(ee), v(j.find((U) => U.id === ee)?.code || "");
3262
+ a(j), u(ee), m(j.find((U) => U.id === ee)?.code || "");
3261
3263
  }, P = (j) => {
3262
3264
  a(
3263
3265
  (ee) => ee.map(
@@ -3343,37 +3345,38 @@ const Ha = ({
3343
3345
  className: a,
3344
3346
  defaultValue: l,
3345
3347
  options: u,
3346
- label: d = ""
3348
+ label: d = "",
3349
+ emptyLabel: f = "No options available"
3347
3350
  }) => {
3348
- const [f, v] = L("");
3351
+ const [m, h] = L("");
3349
3352
  H(() => {
3350
- v(l);
3353
+ h(l);
3351
3354
  }, []);
3352
- const h = (b) => {
3353
- v(b), o && o(b);
3355
+ const b = (p) => {
3356
+ h(p), o && o(p);
3354
3357
  };
3355
3358
  return /* @__PURE__ */ n.jsxs("div", { className: a, children: [
3356
3359
  u && u.length > 0 && /* @__PURE__ */ n.jsx(
3357
3360
  $n,
3358
3361
  {
3359
3362
  label: d || "",
3360
- value: f || "",
3361
- onChange: h,
3363
+ value: m || "",
3364
+ onChange: b,
3362
3365
  options: [{ value: "", label: "Select an option" }, ...u]
3363
3366
  }
3364
3367
  ),
3365
- !u && /* @__PURE__ */ n.jsx("p", { children: "No options available" })
3368
+ (!u || u?.length === 0) && /* @__PURE__ */ n.jsx("p", { className: "mb-2", children: f })
3366
3369
  ] });
3367
- }, { select: pa, dispatch: va } = wp.data, Xa = ({
3370
+ }, { select: va, dispatch: ma } = wp.data, Xa = ({
3368
3371
  buttonText: o = "Add block"
3369
3372
  }) => {
3370
3373
  const a = () => {
3371
- const l = pa("core/block-editor").getSelectedBlock(), { clientId: u, innerBlocks: d } = l, f = d[d.length - 1], v = Gn(
3374
+ const l = va("core/block-editor").getSelectedBlock(), { clientId: u, innerBlocks: d } = l, f = d[d.length - 1], m = Gn(
3372
3375
  f.name,
3373
3376
  f.attributes,
3374
3377
  f.innerBlocks
3375
3378
  );
3376
- va("core/block-editor").insertBlocks(v, 0, u);
3379
+ ma("core/block-editor").insertBlocks(m, 0, u);
3377
3380
  };
3378
3381
  return /* @__PURE__ */ n.jsx(ve, { variant: "primary", onClick: () => a(), children: o });
3379
3382
  }, Za = ({ children: o, watch: a, className: l }) => {
@@ -3403,21 +3406,21 @@ const Ha = ({
3403
3406
  u(!1);
3404
3407
  }, 500), a && u(!0);
3405
3408
  }, [l, a]), l && /* @__PURE__ */ n.jsx(Dn, { className: z(o) });
3406
- }, tt = Ft(null), ma = ({
3409
+ }, tt = Ft(null), ha = ({
3407
3410
  children: o,
3408
3411
  defaultValue: a,
3409
3412
  value: l,
3410
3413
  onValueChange: u,
3411
3414
  ...d
3412
3415
  }) => {
3413
- const f = l !== void 0, [v, h] = L(a || ""), C = {
3414
- activeTab: f ? l : v,
3416
+ const f = l !== void 0, [m, h] = L(a || ""), C = {
3417
+ activeTab: f ? l : m,
3415
3418
  setActiveTab: (_) => {
3416
3419
  f || h(_), u && u(_);
3417
3420
  }
3418
3421
  };
3419
3422
  return /* @__PURE__ */ n.jsx(tt.Provider, { value: C, children: /* @__PURE__ */ n.jsx(Q, { important: !0, className: d.className, children: o }) });
3420
- }, ha = ({
3423
+ }, ya = ({
3421
3424
  options: o,
3422
3425
  children: a,
3423
3426
  className: l,
@@ -3429,20 +3432,20 @@ const Ha = ({
3429
3432
  {
3430
3433
  className: z("tabs-list", l),
3431
3434
  tabs: o,
3432
- onSelect: (v) => {
3433
- f(v);
3435
+ onSelect: (m) => {
3436
+ f(m);
3434
3437
  },
3435
3438
  children: () => a
3436
3439
  }
3437
3440
  );
3438
- }, ya = ({
3441
+ }, ba = ({
3439
3442
  value: o,
3440
3443
  children: a,
3441
3444
  className: l
3442
3445
  }) => Qr(tt)?.activeTab === o ? /* @__PURE__ */ n.jsx(Q, { className: l, children: a }) : null, eo = {
3443
- Wrapper: ma,
3444
- List: ha,
3445
- Content: ya
3446
+ Wrapper: ha,
3447
+ List: ya,
3448
+ Content: ba
3446
3449
  }, ro = ({
3447
3450
  children: o,
3448
3451
  onClick: a,
@@ -3468,7 +3471,7 @@ const Ha = ({
3468
3471
  label: d = !1,
3469
3472
  onPressedChange: f
3470
3473
  }) => {
3471
- const [v, h] = L(""), b = (p) => {
3474
+ const [m, h] = L(""), b = (p) => {
3472
3475
  f(p);
3473
3476
  };
3474
3477
  return H(() => {
@@ -3477,7 +3480,7 @@ const Ha = ({
3477
3480
  Ln,
3478
3481
  {
3479
3482
  isBlock: !0,
3480
- value: v,
3483
+ value: m,
3481
3484
  label: typeof d == "string" ? d : "",
3482
3485
  children: a.map(
3483
3486
  (p) => u === "icon" ? /* @__PURE__ */ n.jsx(
@@ -3517,15 +3520,15 @@ const Ha = ({
3517
3520
  {
3518
3521
  checked: d,
3519
3522
  label: o,
3520
- onChange: (v) => {
3521
- f(v), l && l(v);
3523
+ onChange: (m) => {
3524
+ f(m), l && l(m);
3522
3525
  }
3523
3526
  }
3524
3527
  ) });
3525
3528
  };
3526
3529
  export {
3527
- Ra as AutocompleteDropdown,
3528
- ka as Badge,
3530
+ ka as AutocompleteDropdown,
3531
+ aa as Badge,
3529
3532
  Ta as BitePreview,
3530
3533
  Sa as Button,
3531
3534
  ta as ButtonToggle,
@@ -3534,7 +3537,7 @@ export {
3534
3537
  Pa as ChapterDivider,
3535
3538
  Na as Checkbox,
3536
3539
  Aa as DisappearingMessage,
3537
- aa as DropdownPicker,
3540
+ oa as DropdownPicker,
3538
3541
  Ia as EmptyState,
3539
3542
  $a as FloatingPanel,
3540
3543
  Da as FocalPointControl,
@@ -3544,16 +3547,16 @@ export {
3544
3547
  Ma as MetricsControl,
3545
3548
  Wa as Modal,
3546
3549
  Ua as ModalClose,
3547
- ca as ModalContent,
3548
- ua as ModalFooter,
3549
- la as ModalHeader,
3550
- fa as ModalTrigger,
3550
+ fa as ModalContent,
3551
+ ca as ModalFooter,
3552
+ ua as ModalHeader,
3553
+ da as ModalTrigger,
3551
3554
  Va as NewWindowPortal,
3552
3555
  Ba as Notice,
3553
3556
  Ya as PasswordInput,
3554
- sa as Popover,
3557
+ ia as Popover,
3555
3558
  za as ProjectsNavigation,
3556
- ia as RangeSlider,
3559
+ la as RangeSlider,
3557
3560
  qa as ResponsiveImage,
3558
3561
  Ga as ResponsiveVideo,
3559
3562
  Ha as ScrollList,
@@ -3563,9 +3566,9 @@ export {
3563
3566
  Za as SlideIn,
3564
3567
  Qa as Spinner,
3565
3568
  eo as Tabs,
3566
- ya as TabsContent,
3567
- ha as TabsList,
3568
- ma as TabsWrapper,
3569
+ ba as TabsContent,
3570
+ ya as TabsList,
3571
+ ha as TabsWrapper,
3569
3572
  ro as Tag,
3570
3573
  rt as TextControl,
3571
3574
  to as TextControlLabel,