font-controls 1.1.0 → 1.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
- import Ie, { useState as me, useEffect as Xe } from "react";
1
+ import Ie, { useState as me, useRef as St, useEffect as Xe } from "react";
2
2
  import st from "react-dom";
3
- function St(e) {
3
+ function xt(e) {
4
4
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
5
5
  }
6
6
  var Me = { exports: {} }, de = {};
@@ -14,7 +14,7 @@ var Me = { exports: {} }, de = {};
14
14
  * LICENSE file in the root directory of this source tree.
15
15
  */
16
16
  var qe;
17
- function xt() {
17
+ function Tt() {
18
18
  if (qe) return de;
19
19
  qe = 1;
20
20
  var e = Symbol.for("react.transitional.element"), t = Symbol.for("react.fragment");
@@ -22,8 +22,8 @@ function xt() {
22
22
  var d = null;
23
23
  if (i !== void 0 && (d = "" + i), a.key !== void 0 && (d = "" + a.key), "key" in a) {
24
24
  i = {};
25
- for (var u in a)
26
- u !== "key" && (i[u] = a[u]);
25
+ for (var c in a)
26
+ c !== "key" && (i[c] = a[c]);
27
27
  } else i = a;
28
28
  return a = i.ref, {
29
29
  $$typeof: e,
@@ -46,7 +46,7 @@ var pe = {};
46
46
  * LICENSE file in the root directory of this source tree.
47
47
  */
48
48
  var Be;
49
- function Tt() {
49
+ function Et() {
50
50
  return Be || (Be = 1, process.env.NODE_ENV !== "production" && function() {
51
51
  function e(n) {
52
52
  if (n == null) return null;
@@ -136,7 +136,7 @@ function Tt() {
136
136
  }
137
137
  return n.key !== void 0;
138
138
  }
139
- function u(n, f) {
139
+ function c(n, f) {
140
140
  function y() {
141
141
  X || (X = !0, console.error(
142
142
  "%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://react.dev/link/special-props)",
@@ -223,7 +223,7 @@ React keys must be passed directly to JSX without using spread:
223
223
  for (var D in f)
224
224
  D !== "key" && (y[D] = f[D]);
225
225
  } else y = f;
226
- return b && u(
226
+ return b && c(
227
227
  y,
228
228
  typeof n == "function" ? n.displayName || n.name || "Unknown" : n
229
229
  ), g(
@@ -276,8 +276,8 @@ React keys must be passed directly to JSX without using spread:
276
276
  };
277
277
  }()), pe;
278
278
  }
279
- process.env.NODE_ENV === "production" ? Me.exports = xt() : Me.exports = Tt();
280
- var c = Me.exports, be = { exports: {} }, it = {}, ke = { exports: {} }, ye = { exports: {} }, M = {};
279
+ process.env.NODE_ENV === "production" ? Me.exports = Tt() : Me.exports = Et();
280
+ var u = Me.exports, be = { exports: {} }, it = {}, ke = { exports: {} }, ye = { exports: {} }, M = {};
281
281
  /** @license React v16.13.1
282
282
  * react-is.production.min.js
283
283
  *
@@ -287,10 +287,10 @@ var c = Me.exports, be = { exports: {} }, it = {}, ke = { exports: {} }, ye = {
287
287
  * LICENSE file in the root directory of this source tree.
288
288
  */
289
289
  var He;
290
- function Et() {
290
+ function _t() {
291
291
  if (He) return M;
292
292
  He = 1;
293
- var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, o = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, d = e ? Symbol.for("react.provider") : 60109, u = e ? Symbol.for("react.context") : 60110, h = e ? Symbol.for("react.async_mode") : 60111, g = e ? Symbol.for("react.concurrent_mode") : 60111, v = e ? Symbol.for("react.forward_ref") : 60112, P = e ? Symbol.for("react.suspense") : 60113, A = e ? Symbol.for("react.suspense_list") : 60120, N = e ? Symbol.for("react.memo") : 60115, I = e ? Symbol.for("react.lazy") : 60116, $ = e ? Symbol.for("react.block") : 60121, T = e ? Symbol.for("react.fundamental") : 60117, _ = e ? Symbol.for("react.responder") : 60118, x = e ? Symbol.for("react.scope") : 60119;
293
+ var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, o = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, d = e ? Symbol.for("react.provider") : 60109, c = e ? Symbol.for("react.context") : 60110, h = e ? Symbol.for("react.async_mode") : 60111, g = e ? Symbol.for("react.concurrent_mode") : 60111, v = e ? Symbol.for("react.forward_ref") : 60112, P = e ? Symbol.for("react.suspense") : 60113, A = e ? Symbol.for("react.suspense_list") : 60120, N = e ? Symbol.for("react.memo") : 60115, I = e ? Symbol.for("react.lazy") : 60116, $ = e ? Symbol.for("react.block") : 60121, T = e ? Symbol.for("react.fundamental") : 60117, _ = e ? Symbol.for("react.responder") : 60118, x = e ? Symbol.for("react.scope") : 60119;
294
294
  function E(s) {
295
295
  if (typeof s == "object" && s !== null) {
296
296
  var R = s.$$typeof;
@@ -306,7 +306,7 @@ function Et() {
306
306
  return s;
307
307
  default:
308
308
  switch (s = s && s.$$typeof, s) {
309
- case u:
309
+ case c:
310
310
  case v:
311
311
  case I:
312
312
  case N:
@@ -324,10 +324,10 @@ function Et() {
324
324
  function S(s) {
325
325
  return E(s) === g;
326
326
  }
327
- return M.AsyncMode = h, M.ConcurrentMode = g, M.ContextConsumer = u, M.ContextProvider = d, M.Element = t, M.ForwardRef = v, M.Fragment = o, M.Lazy = I, M.Memo = N, M.Portal = r, M.Profiler = i, M.StrictMode = a, M.Suspense = P, M.isAsyncMode = function(s) {
327
+ return M.AsyncMode = h, M.ConcurrentMode = g, M.ContextConsumer = c, M.ContextProvider = d, M.Element = t, M.ForwardRef = v, M.Fragment = o, M.Lazy = I, M.Memo = N, M.Portal = r, M.Profiler = i, M.StrictMode = a, M.Suspense = P, M.isAsyncMode = function(s) {
328
328
  return S(s) || E(s) === h;
329
329
  }, M.isConcurrentMode = S, M.isContextConsumer = function(s) {
330
- return E(s) === u;
330
+ return E(s) === c;
331
331
  }, M.isContextProvider = function(s) {
332
332
  return E(s) === d;
333
333
  }, M.isElement = function(s) {
@@ -349,7 +349,7 @@ function Et() {
349
349
  }, M.isSuspense = function(s) {
350
350
  return E(s) === P;
351
351
  }, M.isValidElementType = function(s) {
352
- return typeof s == "string" || typeof s == "function" || s === o || s === g || s === i || s === a || s === P || s === A || typeof s == "object" && s !== null && (s.$$typeof === I || s.$$typeof === N || s.$$typeof === d || s.$$typeof === u || s.$$typeof === v || s.$$typeof === T || s.$$typeof === _ || s.$$typeof === x || s.$$typeof === $);
352
+ return typeof s == "string" || typeof s == "function" || s === o || s === g || s === i || s === a || s === P || s === A || typeof s == "object" && s !== null && (s.$$typeof === I || s.$$typeof === N || s.$$typeof === d || s.$$typeof === c || s.$$typeof === v || s.$$typeof === T || s.$$typeof === _ || s.$$typeof === x || s.$$typeof === $);
353
353
  }, M.typeOf = E, M;
354
354
  }
355
355
  var k = {};
@@ -362,12 +362,12 @@ var k = {};
362
362
  * LICENSE file in the root directory of this source tree.
363
363
  */
364
364
  var ze;
365
- function _t() {
365
+ function wt() {
366
366
  return ze || (ze = 1, process.env.NODE_ENV !== "production" && function() {
367
- var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, o = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, d = e ? Symbol.for("react.provider") : 60109, u = e ? Symbol.for("react.context") : 60110, h = e ? Symbol.for("react.async_mode") : 60111, g = e ? Symbol.for("react.concurrent_mode") : 60111, v = e ? Symbol.for("react.forward_ref") : 60112, P = e ? Symbol.for("react.suspense") : 60113, A = e ? Symbol.for("react.suspense_list") : 60120, N = e ? Symbol.for("react.memo") : 60115, I = e ? Symbol.for("react.lazy") : 60116, $ = e ? Symbol.for("react.block") : 60121, T = e ? Symbol.for("react.fundamental") : 60117, _ = e ? Symbol.for("react.responder") : 60118, x = e ? Symbol.for("react.scope") : 60119;
367
+ var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, o = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, d = e ? Symbol.for("react.provider") : 60109, c = e ? Symbol.for("react.context") : 60110, h = e ? Symbol.for("react.async_mode") : 60111, g = e ? Symbol.for("react.concurrent_mode") : 60111, v = e ? Symbol.for("react.forward_ref") : 60112, P = e ? Symbol.for("react.suspense") : 60113, A = e ? Symbol.for("react.suspense_list") : 60120, N = e ? Symbol.for("react.memo") : 60115, I = e ? Symbol.for("react.lazy") : 60116, $ = e ? Symbol.for("react.block") : 60121, T = e ? Symbol.for("react.fundamental") : 60117, _ = e ? Symbol.for("react.responder") : 60118, x = e ? Symbol.for("react.scope") : 60119;
368
368
  function E(p) {
369
369
  return typeof p == "string" || typeof p == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
370
- p === o || p === g || p === i || p === a || p === P || p === A || typeof p == "object" && p !== null && (p.$$typeof === I || p.$$typeof === N || p.$$typeof === d || p.$$typeof === u || p.$$typeof === v || p.$$typeof === T || p.$$typeof === _ || p.$$typeof === x || p.$$typeof === $);
370
+ p === o || p === g || p === i || p === a || p === P || p === A || typeof p == "object" && p !== null && (p.$$typeof === I || p.$$typeof === N || p.$$typeof === d || p.$$typeof === c || p.$$typeof === v || p.$$typeof === T || p.$$typeof === _ || p.$$typeof === x || p.$$typeof === $);
371
371
  }
372
372
  function S(p) {
373
373
  if (typeof p == "object" && p !== null) {
@@ -386,7 +386,7 @@ function _t() {
386
386
  default:
387
387
  var Ue = ge && ge.$$typeof;
388
388
  switch (Ue) {
389
- case u:
389
+ case c:
390
390
  case v:
391
391
  case I:
392
392
  case N:
@@ -401,7 +401,7 @@ function _t() {
401
401
  }
402
402
  }
403
403
  }
404
- var s = h, R = g, L = u, U = d, Y = t, W = v, ne = o, oe = I, ae = N, K = r, se = i, X = a, V = P, Q = !1;
404
+ var s = h, R = g, L = c, U = d, Y = t, W = v, ne = o, oe = I, ae = N, K = r, se = i, X = a, V = P, Q = !1;
405
405
  function ie(p) {
406
406
  return Q || (Q = !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.")), l(p) || S(p) === h;
407
407
  }
@@ -409,7 +409,7 @@ function _t() {
409
409
  return S(p) === g;
410
410
  }
411
411
  function n(p) {
412
- return S(p) === u;
412
+ return S(p) === c;
413
413
  }
414
414
  function f(p) {
415
415
  return S(p) === d;
@@ -446,7 +446,7 @@ function _t() {
446
446
  }
447
447
  var Ve;
448
448
  function lt() {
449
- return Ve || (Ve = 1, process.env.NODE_ENV === "production" ? ye.exports = Et() : ye.exports = _t()), ye.exports;
449
+ return Ve || (Ve = 1, process.env.NODE_ENV === "production" ? ye.exports = _t() : ye.exports = wt()), ye.exports;
450
450
  }
451
451
  /*
452
452
  object-assign
@@ -454,7 +454,7 @@ object-assign
454
454
  @license MIT
455
455
  */
456
456
  var Ee, Ge;
457
- function wt() {
457
+ function Ct() {
458
458
  if (Ge) return Ee;
459
459
  Ge = 1;
460
460
  var e = Object.getOwnPropertySymbols, t = Object.prototype.hasOwnProperty, r = Object.prototype.propertyIsEnumerable;
@@ -470,8 +470,8 @@ function wt() {
470
470
  var i = new String("abc");
471
471
  if (i[5] = "de", Object.getOwnPropertyNames(i)[0] === "5")
472
472
  return !1;
473
- for (var d = {}, u = 0; u < 10; u++)
474
- d["_" + String.fromCharCode(u)] = u;
473
+ for (var d = {}, c = 0; c < 10; c++)
474
+ d["_" + String.fromCharCode(c)] = c;
475
475
  var h = Object.getOwnPropertyNames(d).map(function(v) {
476
476
  return d[v];
477
477
  });
@@ -486,14 +486,14 @@ function wt() {
486
486
  }
487
487
  }
488
488
  return Ee = a() ? Object.assign : function(i, d) {
489
- for (var u, h = o(i), g, v = 1; v < arguments.length; v++) {
490
- u = Object(arguments[v]);
491
- for (var P in u)
492
- t.call(u, P) && (h[P] = u[P]);
489
+ for (var c, h = o(i), g, v = 1; v < arguments.length; v++) {
490
+ c = Object(arguments[v]);
491
+ for (var P in c)
492
+ t.call(c, P) && (h[P] = c[P]);
493
493
  if (e) {
494
- g = e(u);
494
+ g = e(c);
495
495
  for (var A = 0; A < g.length; A++)
496
- r.call(u, g[A]) && (h[g[A]] = u[g[A]]);
496
+ r.call(c, g[A]) && (h[g[A]] = c[g[A]]);
497
497
  }
498
498
  }
499
499
  return h;
@@ -511,7 +511,7 @@ function ct() {
511
511
  return Ke || (Ke = 1, we = Function.call.bind(Object.prototype.hasOwnProperty)), we;
512
512
  }
513
513
  var Ce, Ze;
514
- function Ct() {
514
+ function Pt() {
515
515
  if (Ze) return Ce;
516
516
  Ze = 1;
517
517
  var e = function() {
@@ -527,7 +527,7 @@ function Ct() {
527
527
  }
528
528
  };
529
529
  }
530
- function a(i, d, u, h, g) {
530
+ function a(i, d, c, h, g) {
531
531
  if (process.env.NODE_ENV !== "production") {
532
532
  for (var v in i)
533
533
  if (o(i, v)) {
@@ -535,21 +535,21 @@ function Ct() {
535
535
  try {
536
536
  if (typeof i[v] != "function") {
537
537
  var A = Error(
538
- (h || "React class") + ": " + u + " type `" + v + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof i[v] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
538
+ (h || "React class") + ": " + c + " type `" + v + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof i[v] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
539
539
  );
540
540
  throw A.name = "Invariant Violation", A;
541
541
  }
542
- P = i[v](d, v, h, u, null, t);
542
+ P = i[v](d, v, h, c, null, t);
543
543
  } catch (I) {
544
544
  P = I;
545
545
  }
546
546
  if (P && !(P instanceof Error) && e(
547
- (h || "React class") + ": type specification of " + u + " `" + v + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof P + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
547
+ (h || "React class") + ": type specification of " + c + " `" + v + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof P + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
548
548
  ), P instanceof Error && !(P.message in r)) {
549
549
  r[P.message] = !0;
550
550
  var N = g ? g() : "";
551
551
  e(
552
- "Failed " + u + " type: " + P.message + (N ?? "")
552
+ "Failed " + c + " type: " + P.message + (N ?? "")
553
553
  );
554
554
  }
555
555
  }
@@ -560,13 +560,13 @@ function Ct() {
560
560
  }, Ce = a, Ce;
561
561
  }
562
562
  var Pe, Qe;
563
- function Pt() {
563
+ function jt() {
564
564
  if (Qe) return Pe;
565
565
  Qe = 1;
566
- var e = lt(), t = wt(), r = Fe(), o = ct(), a = Ct(), i = function() {
566
+ var e = lt(), t = Ct(), r = Fe(), o = ct(), a = Pt(), i = function() {
567
567
  };
568
- process.env.NODE_ENV !== "production" && (i = function(u) {
569
- var h = "Warning: " + u;
568
+ process.env.NODE_ENV !== "production" && (i = function(c) {
569
+ var h = "Warning: " + c;
570
570
  typeof console < "u" && console.error(h);
571
571
  try {
572
572
  throw new Error(h);
@@ -576,7 +576,7 @@ function Pt() {
576
576
  function d() {
577
577
  return null;
578
578
  }
579
- return Pe = function(u, h) {
579
+ return Pe = function(c, h) {
580
580
  var g = typeof Symbol == "function" && Symbol.iterator, v = "@@iterator";
581
581
  function P(l) {
582
582
  var n = l && (g && l[g] || l[v]);
@@ -672,7 +672,7 @@ function Pt() {
672
672
  function S() {
673
673
  function l(n, f, y, m, j) {
674
674
  var w = n[f];
675
- if (!u(w)) {
675
+ if (!c(w)) {
676
676
  var b = X(w);
677
677
  return new $("Invalid " + m + " `" + j + "` of type " + ("`" + b + "` supplied to `" + y + "`, expected a single ReactElement."));
678
678
  }
@@ -819,7 +819,7 @@ Valid keys: ` + JSON.stringify(Object.keys(l), null, " ")
819
819
  case "object":
820
820
  if (Array.isArray(l))
821
821
  return l.every(K);
822
- if (l === null || u(l))
822
+ if (l === null || c(l))
823
823
  return !0;
824
824
  var n = P(l);
825
825
  if (n) {
@@ -881,7 +881,7 @@ Valid keys: ` + JSON.stringify(Object.keys(l), null, " ")
881
881
  }, Pe;
882
882
  }
883
883
  var je, et;
884
- function jt() {
884
+ function Rt() {
885
885
  if (et) return je;
886
886
  et = 1;
887
887
  var e = Fe();
@@ -890,7 +890,7 @@ function jt() {
890
890
  function r() {
891
891
  }
892
892
  return r.resetWarningCache = t, je = function() {
893
- function o(d, u, h, g, v, P) {
893
+ function o(d, c, h, g, v, P) {
894
894
  if (P !== e) {
895
895
  var A = new Error(
896
896
  "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"
@@ -929,10 +929,10 @@ function jt() {
929
929
  }, je;
930
930
  }
931
931
  if (process.env.NODE_ENV !== "production") {
932
- var Rt = lt(), Ot = !0;
933
- ke.exports = Pt()(Rt.isElement, Ot);
932
+ var Ot = lt(), Dt = !0;
933
+ ke.exports = jt()(Ot.isElement, Dt);
934
934
  } else
935
- ke.exports = jt()();
935
+ ke.exports = Rt()();
936
936
  var ut = ke.exports, $e = { exports: {} };
937
937
  function ft(e) {
938
938
  var t, r, o = "";
@@ -948,29 +948,29 @@ function tt() {
948
948
  return o;
949
949
  }
950
950
  $e.exports = tt, $e.exports.clsx = tt;
951
- var Dt = $e.exports, F = {}, te = {};
951
+ var Nt = $e.exports, F = {}, te = {};
952
952
  Object.defineProperty(te, "__esModule", {
953
953
  value: !0
954
954
  });
955
- te.dontSetMe = $t;
956
- te.findInArray = Nt;
957
- te.int = kt;
958
- te.isFunction = At;
959
- te.isNum = Mt;
960
- function Nt(e, t) {
955
+ te.dontSetMe = It;
956
+ te.findInArray = At;
957
+ te.int = $t;
958
+ te.isFunction = Mt;
959
+ te.isNum = kt;
960
+ function At(e, t) {
961
961
  for (let r = 0, o = e.length; r < o; r++)
962
962
  if (t.apply(t, [e[r], r, e])) return e[r];
963
963
  }
964
- function At(e) {
964
+ function Mt(e) {
965
965
  return typeof e == "function" || Object.prototype.toString.call(e) === "[object Function]";
966
966
  }
967
- function Mt(e) {
967
+ function kt(e) {
968
968
  return typeof e == "number" && !isNaN(e);
969
969
  }
970
- function kt(e) {
970
+ function $t(e) {
971
971
  return parseInt(e, 10);
972
972
  }
973
- function $t(e, t, r) {
973
+ function It(e, t, r) {
974
974
  if (e[t])
975
975
  return new Error(`Invalid prop ${t} passed to ${r} - do not set this, set it on the child.`);
976
976
  }
@@ -979,7 +979,7 @@ Object.defineProperty(ue, "__esModule", {
979
979
  value: !0
980
980
  });
981
981
  ue.browserPrefixToKey = pt;
982
- ue.browserPrefixToStyle = It;
982
+ ue.browserPrefixToStyle = Ft;
983
983
  ue.default = void 0;
984
984
  ue.getPrefix = dt;
985
985
  const Re = ["Moz", "Webkit", "O", "ms"];
@@ -994,12 +994,12 @@ function dt() {
994
994
  return "";
995
995
  }
996
996
  function pt(e, t) {
997
- return t ? `${t}${Ft(e)}` : e;
997
+ return t ? `${t}${Yt(e)}` : e;
998
998
  }
999
- function It(e, t) {
999
+ function Ft(e, t) {
1000
1000
  return t ? `-${t.toLowerCase()}-${e}` : e;
1001
1001
  }
1002
- function Ft(e) {
1002
+ function Yt(e) {
1003
1003
  let t = "", r = !0;
1004
1004
  for (let o = 0; o < e.length; o++)
1005
1005
  r ? (t += e[o].toUpperCase(), r = !1) : e[o] === "-" ? r = !0 : t += e[o];
@@ -1010,35 +1010,35 @@ Object.defineProperty(F, "__esModule", {
1010
1010
  value: !0
1011
1011
  });
1012
1012
  F.addClassName = gt;
1013
- F.addEvent = Wt;
1014
- F.addUserSelectStyles = Kt;
1015
- F.createCSSTransform = zt;
1016
- F.createSVGTransform = Vt;
1017
- F.getTouch = Gt;
1018
- F.getTouchIdentifier = Jt;
1013
+ F.addEvent = Lt;
1014
+ F.addUserSelectStyles = Zt;
1015
+ F.createCSSTransform = Vt;
1016
+ F.createSVGTransform = Gt;
1017
+ F.getTouch = Jt;
1018
+ F.getTouchIdentifier = Kt;
1019
1019
  F.getTranslation = Ye;
1020
- F.innerHeight = qt;
1021
- F.innerWidth = Bt;
1020
+ F.innerHeight = Bt;
1021
+ F.innerWidth = Ht;
1022
1022
  F.matchesSelector = mt;
1023
- F.matchesSelectorAndParentsTo = Yt;
1024
- F.offsetXYFromParent = Ht;
1025
- F.outerHeight = Ut;
1026
- F.outerWidth = Xt;
1023
+ F.matchesSelectorAndParentsTo = Wt;
1024
+ F.offsetXYFromParent = zt;
1025
+ F.outerHeight = Xt;
1026
+ F.outerWidth = qt;
1027
1027
  F.removeClassName = yt;
1028
- F.removeEvent = Lt;
1029
- F.scheduleRemoveUserSelectStyles = Zt;
1028
+ F.removeEvent = Ut;
1029
+ F.scheduleRemoveUserSelectStyles = Qt;
1030
1030
  var J = te, rt = ht(ue);
1031
1031
  function ht(e, t) {
1032
1032
  if (typeof WeakMap == "function") var r = /* @__PURE__ */ new WeakMap(), o = /* @__PURE__ */ new WeakMap();
1033
1033
  return (ht = function(a, i) {
1034
1034
  if (!i && a && a.__esModule) return a;
1035
- var d, u, h = { __proto__: null, default: a };
1035
+ var d, c, h = { __proto__: null, default: a };
1036
1036
  if (a === null || typeof a != "object" && typeof a != "function") return h;
1037
1037
  if (d = i ? o : r) {
1038
1038
  if (d.has(a)) return d.get(a);
1039
1039
  d.set(a, h);
1040
1040
  }
1041
- for (const g in a) g !== "default" && {}.hasOwnProperty.call(a, g) && ((u = (d = Object.defineProperty) && Object.getOwnPropertyDescriptor(a, g)) && (u.get || u.set) ? d(h, g, u) : h[g] = a[g]);
1041
+ for (const g in a) g !== "default" && {}.hasOwnProperty.call(a, g) && ((c = (d = Object.defineProperty) && Object.getOwnPropertyDescriptor(a, g)) && (c.get || c.set) ? d(h, g, c) : h[g] = a[g]);
1042
1042
  return h;
1043
1043
  })(e, t);
1044
1044
  }
@@ -1048,7 +1048,7 @@ function mt(e, t) {
1048
1048
  return (0, J.isFunction)(e[r]);
1049
1049
  })), (0, J.isFunction)(e[ve]) ? e[ve](t) : !1;
1050
1050
  }
1051
- function Yt(e, t, r) {
1051
+ function Wt(e, t, r) {
1052
1052
  let o = e;
1053
1053
  do {
1054
1054
  if (mt(o, t)) return !0;
@@ -1057,7 +1057,7 @@ function Yt(e, t, r) {
1057
1057
  } while (o);
1058
1058
  return !1;
1059
1059
  }
1060
- function Wt(e, t, r, o) {
1060
+ function Lt(e, t, r, o) {
1061
1061
  if (!e) return;
1062
1062
  const a = {
1063
1063
  capture: !0,
@@ -1065,7 +1065,7 @@ function Wt(e, t, r, o) {
1065
1065
  };
1066
1066
  e.addEventListener ? e.addEventListener(t, r, a) : e.attachEvent ? e.attachEvent("on" + t, r) : e["on" + t] = r;
1067
1067
  }
1068
- function Lt(e, t, r, o) {
1068
+ function Ut(e, t, r, o) {
1069
1069
  if (!e) return;
1070
1070
  const a = {
1071
1071
  capture: !0,
@@ -1073,27 +1073,27 @@ function Lt(e, t, r, o) {
1073
1073
  };
1074
1074
  e.removeEventListener ? e.removeEventListener(t, r, a) : e.detachEvent ? e.detachEvent("on" + t, r) : e["on" + t] = null;
1075
1075
  }
1076
- function Ut(e) {
1076
+ function Xt(e) {
1077
1077
  let t = e.clientHeight;
1078
1078
  const r = e.ownerDocument.defaultView.getComputedStyle(e);
1079
1079
  return t += (0, J.int)(r.borderTopWidth), t += (0, J.int)(r.borderBottomWidth), t;
1080
1080
  }
1081
- function Xt(e) {
1081
+ function qt(e) {
1082
1082
  let t = e.clientWidth;
1083
1083
  const r = e.ownerDocument.defaultView.getComputedStyle(e);
1084
1084
  return t += (0, J.int)(r.borderLeftWidth), t += (0, J.int)(r.borderRightWidth), t;
1085
1085
  }
1086
- function qt(e) {
1086
+ function Bt(e) {
1087
1087
  let t = e.clientHeight;
1088
1088
  const r = e.ownerDocument.defaultView.getComputedStyle(e);
1089
1089
  return t -= (0, J.int)(r.paddingTop), t -= (0, J.int)(r.paddingBottom), t;
1090
1090
  }
1091
- function Bt(e) {
1091
+ function Ht(e) {
1092
1092
  let t = e.clientWidth;
1093
1093
  const r = e.ownerDocument.defaultView.getComputedStyle(e);
1094
1094
  return t -= (0, J.int)(r.paddingLeft), t -= (0, J.int)(r.paddingRight), t;
1095
1095
  }
1096
- function Ht(e, t, r) {
1096
+ function zt(e, t, r) {
1097
1097
  const a = t === t.ownerDocument.body ? {
1098
1098
  left: 0,
1099
1099
  top: 0
@@ -1103,13 +1103,13 @@ function Ht(e, t, r) {
1103
1103
  y: d
1104
1104
  };
1105
1105
  }
1106
- function zt(e, t) {
1106
+ function Vt(e, t) {
1107
1107
  const r = Ye(e, t, "px");
1108
1108
  return {
1109
1109
  [(0, rt.browserPrefixToKey)("transform", rt.default)]: r
1110
1110
  };
1111
1111
  }
1112
- function Vt(e, t) {
1112
+ function Gt(e, t) {
1113
1113
  return Ye(e, t, "");
1114
1114
  }
1115
1115
  function Ye(e, t, r) {
@@ -1118,26 +1118,26 @@ function Ye(e, t, r) {
1118
1118
  y: a
1119
1119
  } = e, i = `translate(${o}${r},${a}${r})`;
1120
1120
  if (t) {
1121
- const d = `${typeof t.x == "string" ? t.x : t.x + r}`, u = `${typeof t.y == "string" ? t.y : t.y + r}`;
1122
- i = `translate(${d}, ${u})` + i;
1121
+ const d = `${typeof t.x == "string" ? t.x : t.x + r}`, c = `${typeof t.y == "string" ? t.y : t.y + r}`;
1122
+ i = `translate(${d}, ${c})` + i;
1123
1123
  }
1124
1124
  return i;
1125
1125
  }
1126
- function Gt(e, t) {
1126
+ function Jt(e, t) {
1127
1127
  return e.targetTouches && (0, J.findInArray)(e.targetTouches, (r) => t === r.identifier) || e.changedTouches && (0, J.findInArray)(e.changedTouches, (r) => t === r.identifier);
1128
1128
  }
1129
- function Jt(e) {
1129
+ function Kt(e) {
1130
1130
  if (e.targetTouches && e.targetTouches[0]) return e.targetTouches[0].identifier;
1131
1131
  if (e.changedTouches && e.changedTouches[0]) return e.changedTouches[0].identifier;
1132
1132
  }
1133
- function Kt(e) {
1133
+ function Zt(e) {
1134
1134
  if (!e) return;
1135
1135
  let t = e.getElementById("react-draggable-style-el");
1136
1136
  t || (t = e.createElement("style"), t.type = "text/css", t.id = "react-draggable-style-el", t.innerHTML = `.react-draggable-transparent-selection *::-moz-selection {all: inherit;}
1137
1137
  `, t.innerHTML += `.react-draggable-transparent-selection *::selection {all: inherit;}
1138
1138
  `, e.getElementsByTagName("head")[0].appendChild(t)), e.body && gt(e.body, "react-draggable-transparent-selection");
1139
1139
  }
1140
- function Zt(e) {
1140
+ function Qt(e) {
1141
1141
  window.requestAnimationFrame ? window.requestAnimationFrame(() => {
1142
1142
  nt(e);
1143
1143
  }) : nt(e);
@@ -1164,29 +1164,29 @@ var re = {};
1164
1164
  Object.defineProperty(re, "__esModule", {
1165
1165
  value: !0
1166
1166
  });
1167
- re.canDragX = tr;
1168
- re.canDragY = rr;
1169
- re.createCoreData = or;
1170
- re.createDraggableData = ar;
1171
- re.getBoundPosition = Qt;
1172
- re.getControlPosition = nr;
1173
- re.snapToGrid = er;
1167
+ re.canDragX = rr;
1168
+ re.canDragY = nr;
1169
+ re.createCoreData = ar;
1170
+ re.createDraggableData = sr;
1171
+ re.getBoundPosition = er;
1172
+ re.getControlPosition = or;
1173
+ re.snapToGrid = tr;
1174
1174
  var G = te, fe = F;
1175
- function Qt(e, t, r) {
1175
+ function er(e, t, r) {
1176
1176
  if (!e.props.bounds) return [t, r];
1177
1177
  let {
1178
1178
  bounds: o
1179
1179
  } = e.props;
1180
- o = typeof o == "string" ? o : sr(o);
1180
+ o = typeof o == "string" ? o : ir(o);
1181
1181
  const a = We(e);
1182
1182
  if (typeof o == "string") {
1183
1183
  const {
1184
1184
  ownerDocument: i
1185
1185
  } = a, d = i.defaultView;
1186
- let u;
1187
- if (o === "parent" ? u = a.parentNode : u = a.getRootNode().querySelector(o), !(u instanceof d.HTMLElement))
1186
+ let c;
1187
+ if (o === "parent" ? c = a.parentNode : c = a.getRootNode().querySelector(o), !(c instanceof d.HTMLElement))
1188
1188
  throw new Error('Bounds selector "' + o + '" could not find an element.');
1189
- const h = u, g = d.getComputedStyle(a), v = d.getComputedStyle(h);
1189
+ const h = c, g = d.getComputedStyle(a), v = d.getComputedStyle(h);
1190
1190
  o = {
1191
1191
  left: -a.offsetLeft + (0, G.int)(v.paddingLeft) + (0, G.int)(g.marginLeft),
1192
1192
  top: -a.offsetTop + (0, G.int)(v.paddingTop) + (0, G.int)(g.marginTop),
@@ -1196,23 +1196,23 @@ function Qt(e, t, r) {
1196
1196
  }
1197
1197
  return (0, G.isNum)(o.right) && (t = Math.min(t, o.right)), (0, G.isNum)(o.bottom) && (r = Math.min(r, o.bottom)), (0, G.isNum)(o.left) && (t = Math.max(t, o.left)), (0, G.isNum)(o.top) && (r = Math.max(r, o.top)), [t, r];
1198
1198
  }
1199
- function er(e, t, r) {
1199
+ function tr(e, t, r) {
1200
1200
  const o = Math.round(t / e[0]) * e[0], a = Math.round(r / e[1]) * e[1];
1201
1201
  return [o, a];
1202
1202
  }
1203
- function tr(e) {
1203
+ function rr(e) {
1204
1204
  return e.props.axis === "both" || e.props.axis === "x";
1205
1205
  }
1206
- function rr(e) {
1206
+ function nr(e) {
1207
1207
  return e.props.axis === "both" || e.props.axis === "y";
1208
1208
  }
1209
- function nr(e, t, r) {
1209
+ function or(e, t, r) {
1210
1210
  const o = typeof t == "number" ? (0, fe.getTouch)(e, t) : null;
1211
1211
  if (typeof t == "number" && !o) return null;
1212
1212
  const a = We(r), i = r.props.offsetParent || a.offsetParent || a.ownerDocument.body;
1213
1213
  return (0, fe.offsetXYFromParent)(o || e, i, r.props.scale);
1214
1214
  }
1215
- function or(e, t, r) {
1215
+ function ar(e, t, r) {
1216
1216
  const o = !(0, G.isNum)(e.lastX), a = We(e);
1217
1217
  return o ? {
1218
1218
  node: a,
@@ -1232,7 +1232,7 @@ function or(e, t, r) {
1232
1232
  y: r
1233
1233
  };
1234
1234
  }
1235
- function ar(e, t) {
1235
+ function sr(e, t) {
1236
1236
  const r = e.props.scale;
1237
1237
  return {
1238
1238
  node: t.node,
@@ -1244,7 +1244,7 @@ function ar(e, t) {
1244
1244
  lastY: e.state.y
1245
1245
  };
1246
1246
  }
1247
- function sr(e) {
1247
+ function ir(e) {
1248
1248
  return {
1249
1249
  left: e.left,
1250
1250
  top: e.top,
@@ -1262,14 +1262,14 @@ var Se = {}, xe = {};
1262
1262
  Object.defineProperty(xe, "__esModule", {
1263
1263
  value: !0
1264
1264
  });
1265
- xe.default = ir;
1266
- function ir() {
1265
+ xe.default = lr;
1266
+ function lr() {
1267
1267
  }
1268
1268
  Object.defineProperty(Se, "__esModule", {
1269
1269
  value: !0
1270
1270
  });
1271
1271
  Se.default = void 0;
1272
- var Oe = vt(Ie), B = Le(ut), lr = Le(st), q = F, le = re, De = te, he = Le(xe);
1272
+ var Oe = vt(Ie), B = Le(ut), cr = Le(st), q = F, le = re, De = te, he = Le(xe);
1273
1273
  function Le(e) {
1274
1274
  return e && e.__esModule ? e : { default: e };
1275
1275
  }
@@ -1277,24 +1277,24 @@ function vt(e, t) {
1277
1277
  if (typeof WeakMap == "function") var r = /* @__PURE__ */ new WeakMap(), o = /* @__PURE__ */ new WeakMap();
1278
1278
  return (vt = function(a, i) {
1279
1279
  if (!i && a && a.__esModule) return a;
1280
- var d, u, h = { __proto__: null, default: a };
1280
+ var d, c, h = { __proto__: null, default: a };
1281
1281
  if (a === null || typeof a != "object" && typeof a != "function") return h;
1282
1282
  if (d = i ? o : r) {
1283
1283
  if (d.has(a)) return d.get(a);
1284
1284
  d.set(a, h);
1285
1285
  }
1286
- for (const g in a) g !== "default" && {}.hasOwnProperty.call(a, g) && ((u = (d = Object.defineProperty) && Object.getOwnPropertyDescriptor(a, g)) && (u.get || u.set) ? d(h, g, u) : h[g] = a[g]);
1286
+ for (const g in a) g !== "default" && {}.hasOwnProperty.call(a, g) && ((c = (d = Object.defineProperty) && Object.getOwnPropertyDescriptor(a, g)) && (c.get || c.set) ? d(h, g, c) : h[g] = a[g]);
1287
1287
  return h;
1288
1288
  })(e, t);
1289
1289
  }
1290
1290
  function H(e, t, r) {
1291
- return (t = cr(t)) in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e;
1291
+ return (t = ur(t)) in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e;
1292
1292
  }
1293
- function cr(e) {
1294
- var t = ur(e, "string");
1293
+ function ur(e) {
1294
+ var t = fr(e, "string");
1295
1295
  return typeof t == "symbol" ? t : t + "";
1296
1296
  }
1297
- function ur(e, t) {
1297
+ function fr(e, t) {
1298
1298
  if (typeof e != "object" || !e) return e;
1299
1299
  var r = e[Symbol.toPrimitive];
1300
1300
  if (r !== void 0) {
@@ -1335,9 +1335,9 @@ let ce = Z.mouse, Te = class extends Oe.Component {
1335
1335
  if (i == null) return;
1336
1336
  const {
1337
1337
  x: d,
1338
- y: u
1339
- } = i, h = (0, le.createCoreData)(this, d, u);
1340
- (0, he.default)("DraggableCore: handleDragStart: %j", h), (0, he.default)("calling", this.props.onStart), !(this.props.onStart(t, h) === !1 || this.mounted === !1) && (this.props.enableUserSelectHack && (0, q.addUserSelectStyles)(o), this.dragging = !0, this.lastX = d, this.lastY = u, (0, q.addEvent)(o, ce.move, this.handleDrag), (0, q.addEvent)(o, ce.stop, this.handleDragStop));
1338
+ y: c
1339
+ } = i, h = (0, le.createCoreData)(this, d, c);
1340
+ (0, he.default)("DraggableCore: handleDragStart: %j", h), (0, he.default)("calling", this.props.onStart), !(this.props.onStart(t, h) === !1 || this.mounted === !1) && (this.props.enableUserSelectHack && (0, q.addUserSelectStyles)(o), this.dragging = !0, this.lastX = d, this.lastY = c, (0, q.addEvent)(o, ce.move, this.handleDrag), (0, q.addEvent)(o, ce.stop, this.handleDragStop));
1341
1341
  }), H(this, "handleDrag", (t) => {
1342
1342
  const r = (0, le.getControlPosition)(t, this.touchIdentifier, this);
1343
1343
  if (r == null) return;
@@ -1346,9 +1346,9 @@ let ce = Z.mouse, Te = class extends Oe.Component {
1346
1346
  y: a
1347
1347
  } = r;
1348
1348
  if (Array.isArray(this.props.grid)) {
1349
- let u = o - this.lastX, h = a - this.lastY;
1350
- if ([u, h] = (0, le.snapToGrid)(this.props.grid, u, h), !u && !h) return;
1351
- o = this.lastX + u, a = this.lastY + h;
1349
+ let c = o - this.lastX, h = a - this.lastY;
1350
+ if ([c, h] = (0, le.snapToGrid)(this.props.grid, c, h), !c && !h) return;
1351
+ o = this.lastX + c, a = this.lastY + h;
1352
1352
  }
1353
1353
  const i = (0, le.createCoreData)(this, o, a);
1354
1354
  if ((0, he.default)("DraggableCore: handleDrag: %j", i), this.props.onDrag(t, i) === !1 || this.mounted === !1) {
@@ -1375,8 +1375,8 @@ let ce = Z.mouse, Te = class extends Oe.Component {
1375
1375
  }
1376
1376
  const i = (0, le.createCoreData)(this, o, a);
1377
1377
  if (this.props.onStop(t, i) === !1 || this.mounted === !1) return !1;
1378
- const u = this.findDOMNode();
1379
- u && this.props.enableUserSelectHack && (0, q.scheduleRemoveUserSelectStyles)(u.ownerDocument), (0, he.default)("DraggableCore: handleDragStop: %j", i), this.dragging = !1, this.lastX = NaN, this.lastY = NaN, u && ((0, he.default)("DraggableCore: Removing handlers"), (0, q.removeEvent)(u.ownerDocument, ce.move, this.handleDrag), (0, q.removeEvent)(u.ownerDocument, ce.stop, this.handleDragStop));
1378
+ const c = this.findDOMNode();
1379
+ c && this.props.enableUserSelectHack && (0, q.scheduleRemoveUserSelectStyles)(c.ownerDocument), (0, he.default)("DraggableCore: handleDragStop: %j", i), this.dragging = !1, this.lastX = NaN, this.lastY = NaN, c && ((0, he.default)("DraggableCore: Removing handlers"), (0, q.removeEvent)(c.ownerDocument, ce.move, this.handleDrag), (0, q.removeEvent)(c.ownerDocument, ce.stop, this.handleDragStop));
1380
1380
  }), H(this, "onMouseDown", (t) => (ce = Z.mouse, this.handleDragStart(t))), H(this, "onMouseUp", (t) => (ce = Z.mouse, this.handleDragStop(t))), H(this, "onTouchStart", (t) => (ce = Z.touch, this.handleDragStart(t))), H(this, "onTouchEnd", (t) => (ce = Z.touch, this.handleDragStop(t)));
1381
1381
  }
1382
1382
  componentDidMount() {
@@ -1402,7 +1402,7 @@ let ce = Z.mouse, Te = class extends Oe.Component {
1402
1402
  // the underlying DOM node ourselves. See the README for more information.
1403
1403
  findDOMNode() {
1404
1404
  var t, r, o;
1405
- return (t = this.props) != null && t.nodeRef ? (o = (r = this.props) == null ? void 0 : r.nodeRef) == null ? void 0 : o.current : lr.default.findDOMNode(this);
1405
+ return (t = this.props) != null && t.nodeRef ? (o = (r = this.props) == null ? void 0 : r.nodeRef) == null ? void 0 : o.current : cr.default.findDOMNode(this);
1406
1406
  }
1407
1407
  render() {
1408
1408
  return /* @__PURE__ */ Oe.cloneElement(Oe.Children.only(this.props.children), {
@@ -1575,7 +1575,7 @@ H(Te, "defaultProps", {
1575
1575
  return h.default;
1576
1576
  }
1577
1577
  }), e.default = void 0;
1578
- var t = P(Ie), r = v(ut), o = v(st), a = Dt, i = F, d = re, u = te, h = v(Se), g = v(xe);
1578
+ var t = P(Ie), r = v(ut), o = v(st), a = Nt, i = F, d = re, c = te, h = v(Se), g = v(xe);
1579
1579
  function v(_) {
1580
1580
  return _ && _.__esModule ? _ : { default: _ };
1581
1581
  }
@@ -1860,9 +1860,9 @@ H(Te, "defaultProps", {
1860
1860
  /**
1861
1861
  * These properties should be defined on the child, not here.
1862
1862
  */
1863
- className: u.dontSetMe,
1864
- style: u.dontSetMe,
1865
- transform: u.dontSetMe
1863
+ className: c.dontSetMe,
1864
+ style: c.dontSetMe,
1865
+ transform: c.dontSetMe
1866
1866
  }), N(T, "defaultProps", {
1867
1867
  ...h.default.defaultProps,
1868
1868
  axis: "both",
@@ -1879,38 +1879,39 @@ H(Te, "defaultProps", {
1879
1879
  })(it);
1880
1880
  const {
1881
1881
  default: bt,
1882
- DraggableCore: fr
1882
+ DraggableCore: dr
1883
1883
  } = it;
1884
1884
  be.exports = bt;
1885
1885
  be.exports.default = bt;
1886
- be.exports.DraggableCore = fr;
1887
- var dr = be.exports;
1888
- const pr = /* @__PURE__ */ St(dr), hr = ({
1886
+ be.exports.DraggableCore = dr;
1887
+ var pr = be.exports;
1888
+ const hr = /* @__PURE__ */ xt(pr), mr = ({
1889
1889
  title: e,
1890
1890
  collapsed: t = !1,
1891
1891
  draggable: r = !0,
1892
1892
  position: o = { x: 20, y: 20 },
1893
1893
  children: a
1894
1894
  }) => {
1895
- const [i, d] = me(t);
1896
- return /* @__PURE__ */ c.jsx(
1897
- pr,
1895
+ const [i, d] = me(t), c = St(null);
1896
+ return /* @__PURE__ */ u.jsx(
1897
+ hr,
1898
1898
  {
1899
+ nodeRef: c,
1899
1900
  handle: ".font-controls-header",
1900
1901
  disabled: !r,
1901
1902
  defaultPosition: o,
1902
1903
  bounds: "parent",
1903
- children: /* @__PURE__ */ c.jsxs("div", { className: "font-controls-panel", children: [
1904
- /* @__PURE__ */ c.jsxs("div", { className: "font-controls-header", children: [
1905
- /* @__PURE__ */ c.jsx("h3", { className: "font-controls-title", children: e }),
1906
- /* @__PURE__ */ c.jsx(
1904
+ children: /* @__PURE__ */ u.jsxs("div", { ref: c, className: "font-controls-panel", children: [
1905
+ /* @__PURE__ */ u.jsxs("div", { className: "font-controls-header", children: [
1906
+ /* @__PURE__ */ u.jsx("h3", { className: "font-controls-title", children: e }),
1907
+ /* @__PURE__ */ u.jsx(
1907
1908
  "button",
1908
1909
  {
1909
1910
  className: `font-controls-toggle ${i ? "collapsed" : ""}`,
1910
1911
  onClick: () => d(!i),
1911
1912
  type: "button",
1912
1913
  "aria-label": i ? "Expand" : "Collapse",
1913
- children: /* @__PURE__ */ c.jsx(
1914
+ children: /* @__PURE__ */ u.jsx(
1914
1915
  "svg",
1915
1916
  {
1916
1917
  viewBox: "0 0 24 24",
@@ -1919,42 +1920,42 @@ const pr = /* @__PURE__ */ St(dr), hr = ({
1919
1920
  strokeWidth: "2",
1920
1921
  strokeLinecap: "round",
1921
1922
  strokeLinejoin: "round",
1922
- children: /* @__PURE__ */ c.jsx("polyline", { points: "6 9 12 15 18 9" })
1923
+ children: /* @__PURE__ */ u.jsx("polyline", { points: "6 9 12 15 18 9" })
1923
1924
  }
1924
1925
  )
1925
1926
  }
1926
1927
  )
1927
1928
  ] }),
1928
- !i && /* @__PURE__ */ c.jsx("div", { className: "font-controls-content", children: a })
1929
+ !i && /* @__PURE__ */ u.jsx("div", { className: "font-controls-content", children: a })
1929
1930
  ] })
1930
1931
  }
1931
1932
  );
1932
- }, mr = ({
1933
+ }, gr = ({
1933
1934
  value: e,
1934
1935
  onChange: t,
1935
1936
  fontFamilies: r
1936
- }) => /* @__PURE__ */ c.jsxs("div", { className: "font-control-group", children: [
1937
- /* @__PURE__ */ c.jsx("label", { className: "font-control-label", children: "Font Family" }),
1938
- /* @__PURE__ */ c.jsx(
1937
+ }) => /* @__PURE__ */ u.jsxs("div", { className: "font-control-group", children: [
1938
+ /* @__PURE__ */ u.jsx("label", { className: "font-control-label", children: "Font Family" }),
1939
+ /* @__PURE__ */ u.jsx(
1939
1940
  "select",
1940
1941
  {
1941
1942
  className: "font-control-input font-control-select",
1942
1943
  value: e,
1943
1944
  onChange: (o) => t(o.target.value),
1944
1945
  style: { fontFamily: e },
1945
- children: r.map((o) => /* @__PURE__ */ c.jsx("option", { value: o, style: { fontFamily: o }, children: o }, o))
1946
+ children: r.map((o) => /* @__PURE__ */ u.jsx("option", { value: o, style: { fontFamily: o }, children: o }, o))
1946
1947
  }
1947
1948
  )
1948
- ] }), gr = ({
1949
+ ] }), yr = ({
1949
1950
  value: e,
1950
1951
  onChange: t,
1951
1952
  min: r,
1952
1953
  max: o,
1953
1954
  step: a
1954
- }) => /* @__PURE__ */ c.jsxs("div", { className: "font-control-group", children: [
1955
- /* @__PURE__ */ c.jsx("label", { className: "font-control-label", children: "Font Size" }),
1956
- /* @__PURE__ */ c.jsxs("div", { className: "font-control-slider-container", children: [
1957
- /* @__PURE__ */ c.jsx(
1955
+ }) => /* @__PURE__ */ u.jsxs("div", { className: "font-control-group", children: [
1956
+ /* @__PURE__ */ u.jsx("label", { className: "font-control-label", children: "Font Size" }),
1957
+ /* @__PURE__ */ u.jsxs("div", { className: "font-control-slider-container", children: [
1958
+ /* @__PURE__ */ u.jsx(
1958
1959
  "input",
1959
1960
  {
1960
1961
  type: "range",
@@ -1966,7 +1967,7 @@ const pr = /* @__PURE__ */ St(dr), hr = ({
1966
1967
  onChange: (i) => t(Number(i.target.value))
1967
1968
  }
1968
1969
  ),
1969
- /* @__PURE__ */ c.jsx(
1970
+ /* @__PURE__ */ u.jsx(
1970
1971
  "input",
1971
1972
  {
1972
1973
  type: "number",
@@ -1979,7 +1980,7 @@ const pr = /* @__PURE__ */ St(dr), hr = ({
1979
1980
  }
1980
1981
  )
1981
1982
  ] })
1982
- ] }), yr = [
1983
+ ] }), vr = [
1983
1984
  { value: 100, label: "Thin" },
1984
1985
  { value: 200, label: "Extra Light" },
1985
1986
  { value: 300, label: "Light" },
@@ -1989,18 +1990,18 @@ const pr = /* @__PURE__ */ St(dr), hr = ({
1989
1990
  { value: 700, label: "Bold" },
1990
1991
  { value: 800, label: "Extra Bold" },
1991
1992
  { value: 900, label: "Black" }
1992
- ], vr = ({
1993
+ ], br = ({
1993
1994
  value: e,
1994
1995
  onChange: t
1995
- }) => /* @__PURE__ */ c.jsxs("div", { className: "font-control-group", children: [
1996
- /* @__PURE__ */ c.jsx("label", { className: "font-control-label", children: "Font Weight" }),
1997
- /* @__PURE__ */ c.jsx(
1996
+ }) => /* @__PURE__ */ u.jsxs("div", { className: "font-control-group", children: [
1997
+ /* @__PURE__ */ u.jsx("label", { className: "font-control-label", children: "Font Weight" }),
1998
+ /* @__PURE__ */ u.jsx(
1998
1999
  "select",
1999
2000
  {
2000
2001
  className: "font-control-input font-control-select",
2001
2002
  value: e,
2002
2003
  onChange: (r) => t(Number(r.target.value)),
2003
- children: yr.map((r) => /* @__PURE__ */ c.jsxs("option", { value: r.value, children: [
2004
+ children: vr.map((r) => /* @__PURE__ */ u.jsxs("option", { value: r.value, children: [
2004
2005
  r.label,
2005
2006
  " (",
2006
2007
  r.value,
@@ -2008,13 +2009,13 @@ const pr = /* @__PURE__ */ St(dr), hr = ({
2008
2009
  ] }, r.value))
2009
2010
  }
2010
2011
  )
2011
- ] }), br = ({
2012
+ ] }), Sr = ({
2012
2013
  value: e,
2013
2014
  onChange: t
2014
- }) => /* @__PURE__ */ c.jsxs("div", { className: "font-control-group", children: [
2015
- /* @__PURE__ */ c.jsx("label", { className: "font-control-label", children: "Line Height" }),
2016
- /* @__PURE__ */ c.jsxs("div", { className: "font-control-slider-container", children: [
2017
- /* @__PURE__ */ c.jsx(
2015
+ }) => /* @__PURE__ */ u.jsxs("div", { className: "font-control-group", children: [
2016
+ /* @__PURE__ */ u.jsx("label", { className: "font-control-label", children: "Line Height" }),
2017
+ /* @__PURE__ */ u.jsxs("div", { className: "font-control-slider-container", children: [
2018
+ /* @__PURE__ */ u.jsx(
2018
2019
  "input",
2019
2020
  {
2020
2021
  type: "range",
@@ -2026,7 +2027,7 @@ const pr = /* @__PURE__ */ St(dr), hr = ({
2026
2027
  onChange: (r) => t(Number(r.target.value))
2027
2028
  }
2028
2029
  ),
2029
- /* @__PURE__ */ c.jsx(
2030
+ /* @__PURE__ */ u.jsx(
2030
2031
  "input",
2031
2032
  {
2032
2033
  type: "number",
@@ -2039,13 +2040,13 @@ const pr = /* @__PURE__ */ St(dr), hr = ({
2039
2040
  }
2040
2041
  )
2041
2042
  ] })
2042
- ] }), Sr = ({
2043
+ ] }), xr = ({
2043
2044
  value: e,
2044
2045
  onChange: t
2045
- }) => /* @__PURE__ */ c.jsxs("div", { className: "font-control-group", children: [
2046
- /* @__PURE__ */ c.jsx("label", { className: "font-control-label", children: "Letter Spacing" }),
2047
- /* @__PURE__ */ c.jsxs("div", { className: "font-control-slider-container", children: [
2048
- /* @__PURE__ */ c.jsx(
2046
+ }) => /* @__PURE__ */ u.jsxs("div", { className: "font-control-group", children: [
2047
+ /* @__PURE__ */ u.jsx("label", { className: "font-control-label", children: "Letter Spacing" }),
2048
+ /* @__PURE__ */ u.jsxs("div", { className: "font-control-slider-container", children: [
2049
+ /* @__PURE__ */ u.jsx(
2049
2050
  "input",
2050
2051
  {
2051
2052
  type: "range",
@@ -2057,7 +2058,7 @@ const pr = /* @__PURE__ */ St(dr), hr = ({
2057
2058
  onChange: (r) => t(Number(r.target.value))
2058
2059
  }
2059
2060
  ),
2060
- /* @__PURE__ */ c.jsx(
2061
+ /* @__PURE__ */ u.jsx(
2061
2062
  "input",
2062
2063
  {
2063
2064
  type: "number",
@@ -2070,32 +2071,32 @@ const pr = /* @__PURE__ */ St(dr), hr = ({
2070
2071
  }
2071
2072
  )
2072
2073
  ] })
2073
- ] }), xr = [
2074
+ ] }), Tr = [
2074
2075
  { value: "none", label: "None" },
2075
2076
  { value: "uppercase", label: "UPPERCASE" },
2076
2077
  { value: "lowercase", label: "lowercase" },
2077
2078
  { value: "capitalize", label: "Capitalize" }
2078
- ], Tr = ({
2079
+ ], Er = ({
2079
2080
  value: e,
2080
2081
  onChange: t
2081
- }) => /* @__PURE__ */ c.jsxs("div", { className: "font-control-group", children: [
2082
- /* @__PURE__ */ c.jsx("label", { className: "font-control-label", children: "Text Transform" }),
2083
- /* @__PURE__ */ c.jsx(
2082
+ }) => /* @__PURE__ */ u.jsxs("div", { className: "font-control-group", children: [
2083
+ /* @__PURE__ */ u.jsx("label", { className: "font-control-label", children: "Text Transform" }),
2084
+ /* @__PURE__ */ u.jsx(
2084
2085
  "select",
2085
2086
  {
2086
2087
  className: "font-control-input font-control-select",
2087
2088
  value: e,
2088
2089
  onChange: (r) => t(r.target.value),
2089
- children: xr.map((r) => /* @__PURE__ */ c.jsx("option", { value: r.value, children: r.label }, r.value))
2090
+ children: Tr.map((r) => /* @__PURE__ */ u.jsx("option", { value: r.value, children: r.label }, r.value))
2090
2091
  }
2091
2092
  )
2092
- ] }), Er = ({
2093
+ ] }), _r = ({
2093
2094
  value: e,
2094
2095
  onChange: t
2095
- }) => /* @__PURE__ */ c.jsxs("div", { className: "font-control-group", children: [
2096
- /* @__PURE__ */ c.jsx("label", { className: "font-control-label", children: "Text Color" }),
2097
- /* @__PURE__ */ c.jsxs("div", { className: "font-control-color-input", children: [
2098
- /* @__PURE__ */ c.jsx("div", { className: "font-control-color-preview", children: /* @__PURE__ */ c.jsx(
2096
+ }) => /* @__PURE__ */ u.jsxs("div", { className: "font-control-group", children: [
2097
+ /* @__PURE__ */ u.jsx("label", { className: "font-control-label", children: "Text Color" }),
2098
+ /* @__PURE__ */ u.jsxs("div", { className: "font-control-color-input", children: [
2099
+ /* @__PURE__ */ u.jsx("div", { className: "font-control-color-preview", children: /* @__PURE__ */ u.jsx(
2099
2100
  "input",
2100
2101
  {
2101
2102
  type: "color",
@@ -2103,7 +2104,7 @@ const pr = /* @__PURE__ */ St(dr), hr = ({
2103
2104
  onChange: (r) => t(r.target.value)
2104
2105
  }
2105
2106
  ) }),
2106
- /* @__PURE__ */ c.jsx(
2107
+ /* @__PURE__ */ u.jsx(
2107
2108
  "input",
2108
2109
  {
2109
2110
  type: "text",
@@ -2114,17 +2115,17 @@ const pr = /* @__PURE__ */ St(dr), hr = ({
2114
2115
  }
2115
2116
  )
2116
2117
  ] })
2117
- ] }), _r = [
2118
+ ] }), wr = [
2118
2119
  { value: "left", icon: "⬅" },
2119
2120
  { value: "center", icon: "↔" },
2120
2121
  { value: "right", icon: "➡" },
2121
2122
  { value: "justify", icon: "⬌" }
2122
- ], wr = ({
2123
+ ], Cr = ({
2123
2124
  value: e,
2124
2125
  onChange: t
2125
- }) => /* @__PURE__ */ c.jsxs("div", { className: "font-control-group", children: [
2126
- /* @__PURE__ */ c.jsx("label", { className: "font-control-label", children: "Text Align" }),
2127
- /* @__PURE__ */ c.jsx("div", { className: "font-control-button-group", children: _r.map((r) => /* @__PURE__ */ c.jsx(
2126
+ }) => /* @__PURE__ */ u.jsxs("div", { className: "font-control-group", children: [
2127
+ /* @__PURE__ */ u.jsx("label", { className: "font-control-label", children: "Text Align" }),
2128
+ /* @__PURE__ */ u.jsx("div", { className: "font-control-button-group", children: wr.map((r) => /* @__PURE__ */ u.jsx(
2128
2129
  "button",
2129
2130
  {
2130
2131
  className: `font-control-button ${e === r.value ? "active" : ""}`,
@@ -2146,29 +2147,29 @@ const pr = /* @__PURE__ */ St(dr), hr = ({
2146
2147
  console.error("Failed to copy:", d);
2147
2148
  }
2148
2149
  };
2149
- return /* @__PURE__ */ c.jsxs("div", { className: "font-control-code-block", children: [
2150
- /* @__PURE__ */ c.jsxs("div", { className: "font-control-code-header", children: [
2151
- /* @__PURE__ */ c.jsx("span", { className: "font-control-code-title", children: e }),
2152
- /* @__PURE__ */ c.jsx(
2150
+ return /* @__PURE__ */ u.jsxs("div", { className: "font-control-code-block", children: [
2151
+ /* @__PURE__ */ u.jsxs("div", { className: "font-control-code-header", children: [
2152
+ /* @__PURE__ */ u.jsx("span", { className: "font-control-code-title", children: e }),
2153
+ /* @__PURE__ */ u.jsx(
2153
2154
  "button",
2154
2155
  {
2155
2156
  className: "font-control-copy-button",
2156
2157
  onClick: i,
2157
2158
  type: "button",
2158
- children: o ? /* @__PURE__ */ c.jsxs(c.Fragment, { children: [
2159
- /* @__PURE__ */ c.jsx(
2159
+ children: o ? /* @__PURE__ */ u.jsxs(u.Fragment, { children: [
2160
+ /* @__PURE__ */ u.jsx(
2160
2161
  "svg",
2161
2162
  {
2162
2163
  viewBox: "0 0 24 24",
2163
2164
  fill: "none",
2164
2165
  stroke: "currentColor",
2165
2166
  strokeWidth: "2",
2166
- children: /* @__PURE__ */ c.jsx("polyline", { points: "20 6 9 17 4 12" })
2167
+ children: /* @__PURE__ */ u.jsx("polyline", { points: "20 6 9 17 4 12" })
2167
2168
  }
2168
2169
  ),
2169
2170
  "Copied!"
2170
- ] }) : /* @__PURE__ */ c.jsxs(c.Fragment, { children: [
2171
- /* @__PURE__ */ c.jsxs(
2171
+ ] }) : /* @__PURE__ */ u.jsxs(u.Fragment, { children: [
2172
+ /* @__PURE__ */ u.jsxs(
2172
2173
  "svg",
2173
2174
  {
2174
2175
  viewBox: "0 0 24 24",
@@ -2176,8 +2177,8 @@ const pr = /* @__PURE__ */ St(dr), hr = ({
2176
2177
  stroke: "currentColor",
2177
2178
  strokeWidth: "2",
2178
2179
  children: [
2179
- /* @__PURE__ */ c.jsx("rect", { x: "9", y: "9", width: "13", height: "13", rx: "2", ry: "2" }),
2180
- /* @__PURE__ */ c.jsx("path", { d: "M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1" })
2180
+ /* @__PURE__ */ u.jsx("rect", { x: "9", y: "9", width: "13", height: "13", rx: "2", ry: "2" }),
2181
+ /* @__PURE__ */ u.jsx("path", { d: "M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1" })
2181
2182
  ]
2182
2183
  }
2183
2184
  ),
@@ -2186,25 +2187,25 @@ const pr = /* @__PURE__ */ St(dr), hr = ({
2186
2187
  }
2187
2188
  )
2188
2189
  ] }),
2189
- /* @__PURE__ */ c.jsx("pre", { className: "font-control-code-content", children: /* @__PURE__ */ c.jsx("code", { className: `language-${r}`, children: t }) })
2190
+ /* @__PURE__ */ u.jsx("pre", { className: "font-control-code-content", children: /* @__PURE__ */ u.jsx("code", { className: `language-${r}`, children: t }) })
2190
2191
  ] });
2191
2192
  }, ot = /* @__PURE__ */ new Set();
2192
- function Cr(e) {
2193
+ function Pr(e) {
2193
2194
  if (ot.has(e))
2194
2195
  return;
2195
2196
  const t = document.createElement("link");
2196
2197
  t.rel = "stylesheet", t.href = `https://fonts.googleapis.com/css2?family=${e.replace(/ /g, "+")}:wght@100;200;300;400;500;600;700;800;900&display=swap`, document.head.appendChild(t), ot.add(e);
2197
2198
  }
2198
- function Pr(e) {
2199
+ function jr(e) {
2199
2200
  if (!document.querySelector('link[href*="fonts.googleapis.com"]')) {
2200
2201
  const t = document.createElement("link");
2201
2202
  t.rel = "preconnect", t.href = "https://fonts.googleapis.com";
2202
2203
  const r = document.createElement("link");
2203
2204
  r.rel = "preconnect", r.href = "https://fonts.gstatic.com", r.crossOrigin = "anonymous", document.head.appendChild(t), document.head.appendChild(r);
2204
2205
  }
2205
- e.forEach(Cr);
2206
+ e.forEach(Pr);
2206
2207
  }
2207
- function jr(e) {
2208
+ function Rr(e) {
2208
2209
  return [
2209
2210
  "Arial",
2210
2211
  "Helvetica",
@@ -2216,7 +2217,7 @@ function jr(e) {
2216
2217
  <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
2217
2218
  <link href="${`https://fonts.googleapis.com/css2?family=${e.replace(/ /g, "+")}:wght@100;200;300;400;500;600;700;800;900&display=swap`}" rel="stylesheet">`;
2218
2219
  }
2219
- function Rr(e) {
2220
+ function Or(e) {
2220
2221
  return `<h1 style={{
2221
2222
  fontFamily: '${e.fontFamily}',
2222
2223
  fontSize: '${e.fontSize}px',
@@ -2230,7 +2231,7 @@ function Rr(e) {
2230
2231
  Your Text Here
2231
2232
  </h1>`;
2232
2233
  }
2233
- function Or(e) {
2234
+ function Dr(e) {
2234
2235
  return `.my-text {
2235
2236
  font-family: '${e.fontFamily}', sans-serif;
2236
2237
  font-size: ${e.fontSize}px;
@@ -2242,7 +2243,7 @@ function Or(e) {
2242
2243
  text-align: ${e.textAlign};
2243
2244
  }`;
2244
2245
  }
2245
- const Dr = [
2246
+ const Nr = [
2246
2247
  // Sans-serif - Modern & Clean
2247
2248
  "Inter",
2248
2249
  "Roboto",
@@ -2281,15 +2282,15 @@ const Dr = [
2281
2282
  textTransform: "none",
2282
2283
  color: "#000000",
2283
2284
  textAlign: "left"
2284
- }, kr = ({
2285
+ }, $r = ({
2285
2286
  value: e,
2286
2287
  onChange: t,
2287
- fontFamilies: r = Dr,
2288
+ fontFamilies: r = Nr,
2288
2289
  minFontSize: o = 8,
2289
2290
  maxFontSize: a = 120,
2290
2291
  fontSizeStep: i = 1,
2291
2292
  title: d = "Font Controls",
2292
- collapsed: u = !1,
2293
+ collapsed: c = !1,
2293
2294
  draggable: h = !0,
2294
2295
  position: g
2295
2296
  }) => {
@@ -2300,7 +2301,7 @@ const Dr = [
2300
2301
  Xe(() => {
2301
2302
  e && P((T) => ({ ...T, ...e }));
2302
2303
  }, [e]), Xe(() => {
2303
- Pr(r);
2304
+ jr(r);
2304
2305
  }, [r]);
2305
2306
  const I = (T, _) => {
2306
2307
  const x = { ...v, [T]: _ };
@@ -2308,24 +2309,24 @@ const Dr = [
2308
2309
  }, $ = () => {
2309
2310
  P(Ae), t == null || t(Ae);
2310
2311
  };
2311
- return /* @__PURE__ */ c.jsxs(
2312
- hr,
2312
+ return /* @__PURE__ */ u.jsxs(
2313
+ mr,
2313
2314
  {
2314
2315
  title: d,
2315
- collapsed: u,
2316
+ collapsed: c,
2316
2317
  draggable: h,
2317
2318
  position: g,
2318
2319
  children: [
2319
- /* @__PURE__ */ c.jsx(
2320
- mr,
2320
+ /* @__PURE__ */ u.jsx(
2321
+ gr,
2321
2322
  {
2322
2323
  value: v.fontFamily,
2323
2324
  onChange: (T) => I("fontFamily", T),
2324
2325
  fontFamilies: r
2325
2326
  }
2326
2327
  ),
2327
- /* @__PURE__ */ c.jsx(
2328
- gr,
2328
+ /* @__PURE__ */ u.jsx(
2329
+ yr,
2329
2330
  {
2330
2331
  value: v.fontSize,
2331
2332
  onChange: (T) => I("fontSize", T),
@@ -2334,56 +2335,56 @@ const Dr = [
2334
2335
  step: i
2335
2336
  }
2336
2337
  ),
2337
- /* @__PURE__ */ c.jsx(
2338
- vr,
2338
+ /* @__PURE__ */ u.jsx(
2339
+ br,
2339
2340
  {
2340
2341
  value: v.fontWeight,
2341
2342
  onChange: (T) => I("fontWeight", T)
2342
2343
  }
2343
2344
  ),
2344
- /* @__PURE__ */ c.jsx(
2345
- br,
2345
+ /* @__PURE__ */ u.jsx(
2346
+ Sr,
2346
2347
  {
2347
2348
  value: v.lineHeight,
2348
2349
  onChange: (T) => I("lineHeight", T)
2349
2350
  }
2350
2351
  ),
2351
- /* @__PURE__ */ c.jsx(
2352
- Sr,
2352
+ /* @__PURE__ */ u.jsx(
2353
+ xr,
2353
2354
  {
2354
2355
  value: v.letterSpacing,
2355
2356
  onChange: (T) => I("letterSpacing", T)
2356
2357
  }
2357
2358
  ),
2358
- /* @__PURE__ */ c.jsx(
2359
- Tr,
2359
+ /* @__PURE__ */ u.jsx(
2360
+ Er,
2360
2361
  {
2361
2362
  value: v.textTransform,
2362
2363
  onChange: (T) => I("textTransform", T)
2363
2364
  }
2364
2365
  ),
2365
- /* @__PURE__ */ c.jsx(
2366
- Er,
2366
+ /* @__PURE__ */ u.jsx(
2367
+ _r,
2367
2368
  {
2368
2369
  value: v.color,
2369
2370
  onChange: (T) => I("color", T)
2370
2371
  }
2371
2372
  ),
2372
- /* @__PURE__ */ c.jsx(
2373
- wr,
2373
+ /* @__PURE__ */ u.jsx(
2374
+ Cr,
2374
2375
  {
2375
2376
  value: v.textAlign,
2376
2377
  onChange: (T) => I("textAlign", T)
2377
2378
  }
2378
2379
  ),
2379
- /* @__PURE__ */ c.jsxs(
2380
+ /* @__PURE__ */ u.jsxs(
2380
2381
  "button",
2381
2382
  {
2382
2383
  className: "font-control-reset-button",
2383
2384
  onClick: $,
2384
2385
  type: "button",
2385
2386
  children: [
2386
- /* @__PURE__ */ c.jsxs(
2387
+ /* @__PURE__ */ u.jsxs(
2387
2388
  "svg",
2388
2389
  {
2389
2390
  viewBox: "0 0 24 24",
@@ -2393,9 +2394,9 @@ const Dr = [
2393
2394
  strokeLinecap: "round",
2394
2395
  strokeLinejoin: "round",
2395
2396
  children: [
2396
- /* @__PURE__ */ c.jsx("polyline", { points: "1 4 1 10 7 10" }),
2397
- /* @__PURE__ */ c.jsx("polyline", { points: "23 20 23 14 17 14" }),
2398
- /* @__PURE__ */ c.jsx("path", { d: "M20.49 9A9 9 0 0 0 5.64 5.64L1 10m22 4l-4.64 4.36A9 9 0 0 1 3.51 15" })
2397
+ /* @__PURE__ */ u.jsx("polyline", { points: "1 4 1 10 7 10" }),
2398
+ /* @__PURE__ */ u.jsx("polyline", { points: "23 20 23 14 17 14" }),
2399
+ /* @__PURE__ */ u.jsx("path", { d: "M20.49 9A9 9 0 0 0 5.64 5.64L1 10m22 4l-4.64 4.36A9 9 0 0 1 3.51 15" })
2399
2400
  ]
2400
2401
  }
2401
2402
  ),
@@ -2403,15 +2404,15 @@ const Dr = [
2403
2404
  ]
2404
2405
  }
2405
2406
  ),
2406
- /* @__PURE__ */ c.jsxs("div", { className: "font-control-export-section", children: [
2407
- /* @__PURE__ */ c.jsxs(
2407
+ /* @__PURE__ */ u.jsxs("div", { className: "font-control-export-section", children: [
2408
+ /* @__PURE__ */ u.jsxs(
2408
2409
  "button",
2409
2410
  {
2410
2411
  className: "font-control-export-toggle",
2411
2412
  onClick: () => N(!A),
2412
2413
  type: "button",
2413
2414
  children: [
2414
- /* @__PURE__ */ c.jsx(
2415
+ /* @__PURE__ */ u.jsx(
2415
2416
  "svg",
2416
2417
  {
2417
2418
  viewBox: "0 0 24 24",
@@ -2419,35 +2420,35 @@ const Dr = [
2419
2420
  stroke: "currentColor",
2420
2421
  strokeWidth: "2",
2421
2422
  className: A ? "rotated" : "",
2422
- children: /* @__PURE__ */ c.jsx("polyline", { points: "9 18 15 12 9 6" })
2423
+ children: /* @__PURE__ */ u.jsx("polyline", { points: "9 18 15 12 9 6" })
2423
2424
  }
2424
2425
  ),
2425
2426
  "Export Configuration"
2426
2427
  ]
2427
2428
  }
2428
2429
  ),
2429
- A && /* @__PURE__ */ c.jsxs("div", { className: "font-control-export-content", children: [
2430
- /* @__PURE__ */ c.jsx(
2430
+ A && /* @__PURE__ */ u.jsxs("div", { className: "font-control-export-content", children: [
2431
+ /* @__PURE__ */ u.jsx(
2431
2432
  Ne,
2432
2433
  {
2433
2434
  title: "1. Google Fonts Import (HTML)",
2434
- code: jr(v.fontFamily),
2435
+ code: Rr(v.fontFamily),
2435
2436
  language: "html"
2436
2437
  }
2437
2438
  ),
2438
- /* @__PURE__ */ c.jsx(
2439
+ /* @__PURE__ */ u.jsx(
2439
2440
  Ne,
2440
2441
  {
2441
2442
  title: "2. React/JSX Inline Styles",
2442
- code: Rr(v),
2443
+ code: Or(v),
2443
2444
  language: "tsx"
2444
2445
  }
2445
2446
  ),
2446
- /* @__PURE__ */ c.jsx(
2447
+ /* @__PURE__ */ u.jsx(
2447
2448
  Ne,
2448
2449
  {
2449
2450
  title: "3. CSS Class",
2450
- code: Or(v),
2451
+ code: Dr(v),
2451
2452
  language: "css"
2452
2453
  }
2453
2454
  )
@@ -2465,7 +2466,7 @@ const Dr = [
2465
2466
  textTransform: "none",
2466
2467
  color: "#000000",
2467
2468
  textAlign: "left"
2468
- }, $r = (e) => {
2469
+ }, Ir = (e) => {
2469
2470
  const [t, r] = me({
2470
2471
  ...at,
2471
2472
  ...e
@@ -2474,7 +2475,7 @@ const Dr = [
2474
2475
  config: t,
2475
2476
  setConfig: r,
2476
2477
  updateConfig: (i, d) => {
2477
- r((u) => ({ ...u, [i]: d }));
2478
+ r((c) => ({ ...c, [i]: d }));
2478
2479
  },
2479
2480
  resetConfig: () => {
2480
2481
  r({ ...at, ...e });
@@ -2482,8 +2483,8 @@ const Dr = [
2482
2483
  };
2483
2484
  };
2484
2485
  export {
2485
- kr as FontControls,
2486
- Pr as loadAllDefaultFonts,
2487
- Cr as loadGoogleFont,
2488
- $r as useFontControls
2486
+ $r as FontControls,
2487
+ jr as loadAllDefaultFonts,
2488
+ Pr as loadGoogleFont,
2489
+ Ir as useFontControls
2489
2490
  };