@minimalstuff/ui 0.0.30 → 0.0.31

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.es.js CHANGED
@@ -1,10 +1,10 @@
1
1
  import D from "@emotion/styled";
2
2
  import * as te from "react";
3
- import ne, { useEffect as Er, createContext as ct, useContext as xr, useState as he, useRef as lt, Fragment as ut, forwardRef as cn } from "react";
4
- import { keyframes as wr, useTheme as ft, ThemeProvider as ln, css as Ye, Global as un } from "@emotion/react";
3
+ import ne, { useEffect as Er, createContext as ct, useContext as xr, useState as me, useRef as lt, Fragment as sn, forwardRef as cn } from "react";
4
+ import { keyframes as wr, useTheme as ut, ThemeProvider as ln, css as Ye, Global as un } from "@emotion/react";
5
5
  import { useHotkeys as fn } from "react-hotkeys-hook";
6
6
  import dn from "hex-rgb";
7
- import dt from "tinycolor2";
7
+ import ft from "tinycolor2";
8
8
  import { createPortal as pn } from "react-dom";
9
9
  import mn from "react-toggle";
10
10
  import hn from "react-select";
@@ -34,7 +34,7 @@ const wa = D.button(
34
34
  };
35
35
  }
36
36
  );
37
- var mr = { exports: {} }, Ce = {};
37
+ var mr = { exports: {} }, Se = {};
38
38
  /**
39
39
  * @license React
40
40
  * react-jsx-runtime.production.min.js
@@ -46,7 +46,7 @@ var mr = { exports: {} }, Ce = {};
46
46
  */
47
47
  var Br;
48
48
  function vn() {
49
- if (Br) return Ce;
49
+ if (Br) return Se;
50
50
  Br = 1;
51
51
  var e = ne, r = Symbol.for("react.element"), t = Symbol.for("react.fragment"), o = Object.prototype.hasOwnProperty, a = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, i = { key: !0, ref: !0, __self: !0, __source: !0 };
52
52
  function l(c, d, v) {
@@ -56,9 +56,9 @@ function vn() {
56
56
  if (c && c.defaultProps) for (p in d = c.defaultProps, d) h[p] === void 0 && (h[p] = d[p]);
57
57
  return { $$typeof: r, type: c, key: g, ref: j, props: h, _owner: a.current };
58
58
  }
59
- return Ce.Fragment = t, Ce.jsx = l, Ce.jsxs = l, Ce;
59
+ return Se.Fragment = t, Se.jsx = l, Se.jsxs = l, Se;
60
60
  }
61
- var Re = {};
61
+ var Ce = {};
62
62
  /**
63
63
  * @license React
64
64
  * react-jsx-runtime.development.js
@@ -160,14 +160,14 @@ function bn() {
160
160
  }
161
161
  return null;
162
162
  }
163
- var re = Object.assign, oe = 0, je, Ie, be, De, ge, Fe, Me;
163
+ var re = Object.assign, oe = 0, je, Ie, ve, De, be, Fe, Me;
164
164
  function Le() {
165
165
  }
166
166
  Le.__reactDisabledLog = !0;
167
167
  function or() {
168
168
  {
169
169
  if (oe === 0) {
170
- je = console.log, Ie = console.info, be = console.warn, De = console.error, ge = console.group, Fe = console.groupCollapsed, Me = console.groupEnd;
170
+ je = console.log, Ie = console.info, ve = console.warn, De = console.error, be = console.group, Fe = console.groupCollapsed, Me = console.groupEnd;
171
171
  var n = {
172
172
  configurable: !0,
173
173
  enumerable: !0,
@@ -203,13 +203,13 @@ function bn() {
203
203
  value: Ie
204
204
  }),
205
205
  warn: re({}, n, {
206
- value: be
206
+ value: ve
207
207
  }),
208
208
  error: re({}, n, {
209
209
  value: De
210
210
  }),
211
211
  group: re({}, n, {
212
- value: ge
212
+ value: be
213
213
  }),
214
214
  groupCollapsed: re({}, n, {
215
215
  value: Fe
@@ -222,27 +222,27 @@ function bn() {
222
222
  oe < 0 && y("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
223
223
  }
224
224
  }
225
- var ye = _.ReactCurrentDispatcher, Ee;
225
+ var ge = _.ReactCurrentDispatcher, ye;
226
226
  function se(n, s, f) {
227
227
  {
228
- if (Ee === void 0)
228
+ if (ye === void 0)
229
229
  try {
230
230
  throw Error();
231
231
  } catch (R) {
232
232
  var b = R.stack.trim().match(/\n( *(at )?)/);
233
- Ee = b && b[1] || "";
233
+ ye = b && b[1] || "";
234
234
  }
235
235
  return `
236
- ` + Ee + n;
236
+ ` + ye + n;
237
237
  }
238
238
  }
239
- var xe = !1, ce;
239
+ var Ee = !1, ce;
240
240
  {
241
241
  var ir = typeof WeakMap == "function" ? WeakMap : Map;
242
242
  ce = new ir();
243
243
  }
244
244
  function m(n, s) {
245
- if (!n || xe)
245
+ if (!n || Ee)
246
246
  return "";
247
247
  {
248
248
  var f = ce.get(n);
@@ -250,11 +250,11 @@ function bn() {
250
250
  return f;
251
251
  }
252
252
  var b;
253
- xe = !0;
253
+ Ee = !0;
254
254
  var R = Error.prepareStackTrace;
255
255
  Error.prepareStackTrace = void 0;
256
256
  var N;
257
- N = ye.current, ye.current = null, or();
257
+ N = ge.current, ge.current = null, or();
258
258
  try {
259
259
  if (s) {
260
260
  var w = function() {
@@ -307,12 +307,12 @@ function bn() {
307
307
  }
308
308
  }
309
309
  } finally {
310
- xe = !1, ye.current = N, ar(), Error.prepareStackTrace = R;
310
+ Ee = !1, ge.current = N, ar(), Error.prepareStackTrace = R;
311
311
  }
312
312
  var fe = n ? n.displayName || n.name : "", ie = fe ? se(fe) : "";
313
313
  return typeof n == "function" && ce.set(n, ie), ie;
314
314
  }
315
- function we(n, s, f) {
315
+ function xe(n, s, f) {
316
316
  return m(n, !1);
317
317
  }
318
318
  function le(n) {
@@ -335,7 +335,7 @@ function bn() {
335
335
  if (typeof n == "object")
336
336
  switch (n.$$typeof) {
337
337
  case d:
338
- return we(n.render);
338
+ return xe(n.render);
339
339
  case h:
340
340
  return ae(n.type, s, f);
341
341
  case g: {
@@ -348,7 +348,7 @@ function bn() {
348
348
  }
349
349
  return "";
350
350
  }
351
- var _e = Object.prototype.hasOwnProperty, Ar = {}, $r = _.ReactDebugCurrentFrame;
351
+ var we = Object.prototype.hasOwnProperty, Ar = {}, $r = _.ReactDebugCurrentFrame;
352
352
  function Ve(n) {
353
353
  if (n) {
354
354
  var s = n._owner, f = ae(n.type, n._source, s ? s.type : null);
@@ -356,9 +356,9 @@ function bn() {
356
356
  } else
357
357
  $r.setExtraStackFrame(null);
358
358
  }
359
- function Lt(n, s, f, b, R) {
359
+ function Mt(n, s, f, b, R) {
360
360
  {
361
- var N = Function.call.bind(_e);
361
+ var N = Function.call.bind(we);
362
362
  for (var w in n)
363
363
  if (N(n, w)) {
364
364
  var E = void 0;
@@ -375,17 +375,17 @@ function bn() {
375
375
  }
376
376
  }
377
377
  }
378
- var Vt = Array.isArray;
378
+ var Lt = Array.isArray;
379
379
  function sr(n) {
380
- return Vt(n);
380
+ return Lt(n);
381
381
  }
382
- function Yt(n) {
382
+ function Vt(n) {
383
383
  {
384
384
  var s = typeof Symbol == "function" && Symbol.toStringTag, f = s && n[Symbol.toStringTag] || n.constructor.name || "Object";
385
385
  return f;
386
386
  }
387
387
  }
388
- function Wt(n) {
388
+ function Yt(n) {
389
389
  try {
390
390
  return Nr(n), !1;
391
391
  } catch {
@@ -396,39 +396,39 @@ function bn() {
396
396
  return "" + n;
397
397
  }
398
398
  function jr(n) {
399
- if (Wt(n))
400
- return y("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Yt(n)), Nr(n);
399
+ if (Yt(n))
400
+ return y("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Vt(n)), Nr(n);
401
401
  }
402
- var Se = _.ReactCurrentOwner, zt = {
402
+ var _e = _.ReactCurrentOwner, Wt = {
403
403
  key: !0,
404
404
  ref: !0,
405
405
  __self: !0,
406
406
  __source: !0
407
407
  }, Ir, Dr, cr;
408
408
  cr = {};
409
- function Ut(n) {
410
- if (_e.call(n, "ref")) {
409
+ function zt(n) {
410
+ if (we.call(n, "ref")) {
411
411
  var s = Object.getOwnPropertyDescriptor(n, "ref").get;
412
412
  if (s && s.isReactWarning)
413
413
  return !1;
414
414
  }
415
415
  return n.ref !== void 0;
416
416
  }
417
- function Bt(n) {
418
- if (_e.call(n, "key")) {
417
+ function Ut(n) {
418
+ if (we.call(n, "key")) {
419
419
  var s = Object.getOwnPropertyDescriptor(n, "key").get;
420
420
  if (s && s.isReactWarning)
421
421
  return !1;
422
422
  }
423
423
  return n.key !== void 0;
424
424
  }
425
- function Gt(n, s) {
426
- if (typeof n.ref == "string" && Se.current && s && Se.current.stateNode !== s) {
427
- var f = H(Se.current.type);
428
- cr[f] || (y('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', H(Se.current.type), n.ref), cr[f] = !0);
425
+ function Bt(n, s) {
426
+ if (typeof n.ref == "string" && _e.current && s && _e.current.stateNode !== s) {
427
+ var f = H(_e.current.type);
428
+ cr[f] || (y('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', H(_e.current.type), n.ref), cr[f] = !0);
429
429
  }
430
430
  }
431
- function qt(n, s) {
431
+ function Gt(n, s) {
432
432
  {
433
433
  var f = function() {
434
434
  Ir || (Ir = !0, y("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", s));
@@ -439,7 +439,7 @@ function bn() {
439
439
  });
440
440
  }
441
441
  }
442
- function Ht(n, s) {
442
+ function qt(n, s) {
443
443
  {
444
444
  var f = function() {
445
445
  Dr || (Dr = !0, y("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", s));
@@ -450,7 +450,7 @@ function bn() {
450
450
  });
451
451
  }
452
452
  }
453
- var Kt = function(n, s, f, b, R, N, w) {
453
+ var Ht = function(n, s, f, b, R, N, w) {
454
454
  var E = {
455
455
  // This tag allows us to uniquely identify this as a React Element
456
456
  $$typeof: r,
@@ -479,12 +479,12 @@ function bn() {
479
479
  value: R
480
480
  }), Object.freeze && (Object.freeze(E.props), Object.freeze(E)), E;
481
481
  };
482
- function Jt(n, s, f, b, R) {
482
+ function Kt(n, s, f, b, R) {
483
483
  {
484
484
  var N, w = {}, E = null, U = null;
485
- f !== void 0 && (jr(f), E = "" + f), Bt(s) && (jr(s.key), E = "" + s.key), Ut(s) && (U = s.ref, Gt(s, R));
485
+ f !== void 0 && (jr(f), E = "" + f), Ut(s) && (jr(s.key), E = "" + s.key), zt(s) && (U = s.ref, Bt(s, R));
486
486
  for (N in s)
487
- _e.call(s, N) && !zt.hasOwnProperty(N) && (w[N] = s[N]);
487
+ we.call(s, N) && !Wt.hasOwnProperty(N) && (w[N] = s[N]);
488
488
  if (n && n.defaultProps) {
489
489
  var F = n.defaultProps;
490
490
  for (N in F)
@@ -492,9 +492,9 @@ function bn() {
492
492
  }
493
493
  if (E || U) {
494
494
  var L = typeof n == "function" ? n.displayName || n.name || "Unknown" : n;
495
- E && qt(w, L), U && Ht(w, L);
495
+ E && Gt(w, L), U && qt(w, L);
496
496
  }
497
- return Kt(n, E, U, R, b, Se.current, w);
497
+ return Ht(n, E, U, R, b, _e.current, w);
498
498
  }
499
499
  }
500
500
  var lr = _.ReactCurrentOwner, Fr = _.ReactDebugCurrentFrame;
@@ -522,11 +522,11 @@ Check the render method of \`` + n + "`.";
522
522
  return "";
523
523
  }
524
524
  }
525
- function Zt(n) {
525
+ function Jt(n) {
526
526
  return "";
527
527
  }
528
528
  var Lr = {};
529
- function Xt(n) {
529
+ function Zt(n) {
530
530
  {
531
531
  var s = Mr();
532
532
  if (!s) {
@@ -543,7 +543,7 @@ Check the top-level render call using <` + f + ">.");
543
543
  if (!n._store || n._store.validated || n.key != null)
544
544
  return;
545
545
  n._store.validated = !0;
546
- var f = Xt(s);
546
+ var f = Zt(s);
547
547
  if (Lr[f])
548
548
  return;
549
549
  Lr[f] = !0;
@@ -570,7 +570,7 @@ Check the top-level render call using <` + f + ">.");
570
570
  }
571
571
  }
572
572
  }
573
- function Qt(n) {
573
+ function Xt(n) {
574
574
  {
575
575
  var s = n.type;
576
576
  if (s == null || typeof s == "string")
@@ -586,7 +586,7 @@ Check the top-level render call using <` + f + ">.");
586
586
  return;
587
587
  if (f) {
588
588
  var b = H(s);
589
- Lt(f, n.props, "prop", b, n);
589
+ Mt(f, n.props, "prop", b, n);
590
590
  } else if (s.PropTypes !== void 0 && !ur) {
591
591
  ur = !0;
592
592
  var R = H(s);
@@ -595,7 +595,7 @@ Check the top-level render call using <` + f + ">.");
595
595
  typeof s.getDefaultProps == "function" && !s.getDefaultProps.isReactClassApproved && y("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
596
596
  }
597
597
  }
598
- function en(n) {
598
+ function Qt(n) {
599
599
  {
600
600
  for (var s = Object.keys(n.props), f = 0; f < s.length; f++) {
601
601
  var b = s[f];
@@ -614,12 +614,12 @@ Check the top-level render call using <` + f + ">.");
614
614
  if (!w) {
615
615
  var E = "";
616
616
  (n === void 0 || typeof n == "object" && n !== null && Object.keys(n).length === 0) && (E += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
617
- var U = Zt();
617
+ var U = Jt();
618
618
  U ? E += U : E += Mr();
619
619
  var F;
620
620
  n === null ? F = "null" : sr(n) ? F = "array" : n !== void 0 && n.$$typeof === r ? (F = "<" + (H(n.type) || "Unknown") + " />", E = " Did you accidentally export a JSX literal instead of a component?") : F = typeof n, y("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", F, E);
621
621
  }
622
- var L = Jt(n, s, f, R, N);
622
+ var L = Kt(n, s, f, R, N);
623
623
  if (L == null)
624
624
  return L;
625
625
  if (w) {
@@ -635,32 +635,32 @@ Check the top-level render call using <` + f + ">.");
635
635
  else
636
636
  Yr(K, n);
637
637
  }
638
- if (_e.call(s, "key")) {
639
- var ie = H(n), B = Object.keys(s).filter(function(sn) {
640
- return sn !== "key";
638
+ if (we.call(s, "key")) {
639
+ var ie = H(n), B = Object.keys(s).filter(function(an) {
640
+ return an !== "key";
641
641
  }), dr = B.length > 0 ? "{key: someKey, " + B.join(": ..., ") + ": ...}" : "{key: someKey}";
642
642
  if (!Wr[ie + dr]) {
643
- var an = B.length > 0 ? "{" + B.join(": ..., ") + ": ...}" : "{}";
643
+ var on = B.length > 0 ? "{" + B.join(": ..., ") + ": ...}" : "{}";
644
644
  y(`A props object containing a "key" prop is being spread into JSX:
645
645
  let props = %s;
646
646
  <%s {...props} />
647
647
  React keys must be passed directly to JSX without using spread:
648
648
  let props = %s;
649
- <%s key={someKey} {...props} />`, dr, ie, an, ie), Wr[ie + dr] = !0;
649
+ <%s key={someKey} {...props} />`, dr, ie, on, ie), Wr[ie + dr] = !0;
650
650
  }
651
651
  }
652
- return n === o ? en(L) : Qt(L), L;
652
+ return n === o ? Qt(L) : Xt(L), L;
653
653
  }
654
654
  }
655
- function rn(n, s, f) {
655
+ function en(n, s, f) {
656
656
  return zr(n, s, f, !0);
657
657
  }
658
- function tn(n, s, f) {
658
+ function rn(n, s, f) {
659
659
  return zr(n, s, f, !1);
660
660
  }
661
- var nn = tn, on = rn;
662
- Re.Fragment = o, Re.jsx = nn, Re.jsxs = on;
663
- }()), Re;
661
+ var tn = rn, nn = en;
662
+ Ce.Fragment = o, Ce.jsx = tn, Ce.jsxs = nn;
663
+ }()), Ce;
664
664
  }
665
665
  process.env.NODE_ENV === "production" ? mr.exports = vn() : mr.exports = bn();
666
666
  var k = mr.exports;
@@ -713,7 +713,7 @@ const gn = wr({
713
713
  display: "flex",
714
714
  gap: "0.35em"
715
715
  }));
716
- function pt(e, r) {
716
+ function dt(e, r) {
717
717
  Er(() => {
718
718
  function t(o) {
719
719
  var a;
@@ -733,12 +733,12 @@ const xn = "escape", wn = "ArrowUp", _n = "ArrowDown", Sn = {
733
733
  }
734
734
  }, Rn = ct(
735
735
  Cn
736
- ), mt = () => xr(Rn);
737
- function ht(e, r, { enabled: t, disableGlobalCheck: o } = {
736
+ ), pt = () => xr(Rn);
737
+ function mt(e, r, { enabled: t, disableGlobalCheck: o } = {
738
738
  enabled: !0,
739
739
  disableGlobalCheck: !1
740
740
  }) {
741
- const { globalHotkeysEnabled: a } = mt();
741
+ const { globalHotkeysEnabled: a } = pt();
742
742
  return fn(
743
743
  Sn[e],
744
744
  (i) => {
@@ -751,7 +751,7 @@ function ht(e, r, { enabled: t, disableGlobalCheck: o } = {
751
751
  );
752
752
  }
753
753
  const Tn = (e = !1) => {
754
- const [r, t] = he(e);
754
+ const [r, t] = me(e);
755
755
  return {
756
756
  isShowing: r,
757
757
  toggle: () => t((l) => !l),
@@ -785,7 +785,7 @@ function _a({
785
785
  svgSize: o
786
786
  }) {
787
787
  const a = lt(null), { isShowing: i, toggle: l, close: c } = Tn();
788
- return pt(a, c), ht("ESCAPE_KEY", c, { disableGlobalCheck: !0 }), /* @__PURE__ */ k.jsxs(
788
+ return dt(a, c), mt("ESCAPE_KEY", c, { disableGlobalCheck: !0 }), /* @__PURE__ */ k.jsxs(
789
789
  On,
790
790
  {
791
791
  opened: i,
@@ -800,7 +800,7 @@ function _a({
800
800
  }
801
801
  );
802
802
  }
803
- const vt = D("div", {
803
+ const ht = D("div", {
804
804
  shouldForwardProp: (e) => e !== "danger"
805
805
  })(({ theme: e, danger: r }) => ({
806
806
  fontSize: "14px",
@@ -811,11 +811,11 @@ const vt = D("div", {
811
811
  "&:hover": {
812
812
  backgroundColor: e.colors.background
813
813
  }
814
- })), Sa = D(vt)({
814
+ })), Sa = D(ht)({
815
815
  display: "flex",
816
816
  gap: "0.75em",
817
817
  alignItems: "center"
818
- }), Ca = D(vt.withComponent("a"))({
818
+ }), Ca = D(ht.withComponent("a"))({
819
819
  width: "100%",
820
820
  display: "flex",
821
821
  gap: "0.75em",
@@ -867,7 +867,7 @@ const kn = D.div({
867
867
  margin: 0
868
868
  })), Q = (e, r) => `rgba(${dn(e, { format: "array" }).slice(0, -1).join(",")},${r})`;
869
869
  function X(e) {
870
- const r = dt(e.color);
870
+ const r = ft(e.color);
871
871
  if (!r.isValid())
872
872
  throw new Error("Invalid color provided");
873
873
  return {
@@ -900,7 +900,7 @@ function We({
900
900
  multiplicator: t,
901
901
  type: o
902
902
  }) {
903
- return dt(e)[o](r * t).toString();
903
+ return ft(e)[o](r * t).toString();
904
904
  }
905
905
  const Nn = D.div(({ theme: e }) => ({
906
906
  zIndex: 9999,
@@ -916,13 +916,13 @@ const Nn = D.div(({ theme: e }) => ({
916
916
  flexDirection: "column",
917
917
  transition: e.transitions.delay.normal
918
918
  }));
919
- var bt = {
919
+ var vt = {
920
920
  color: void 0,
921
921
  size: void 0,
922
922
  className: void 0,
923
923
  style: void 0,
924
924
  attr: void 0
925
- }, qr = ne.createContext && /* @__PURE__ */ ne.createContext(bt), jn = ["attr", "size", "title"];
925
+ }, qr = ne.createContext && /* @__PURE__ */ ne.createContext(vt), jn = ["attr", "size", "title"];
926
926
  function In(e, r) {
927
927
  if (e == null) return {};
928
928
  var t = Dn(e, r), o, a;
@@ -991,15 +991,15 @@ function Ln(e, r) {
991
991
  }
992
992
  return (r === "string" ? String : Number)(e);
993
993
  }
994
- function gt(e) {
994
+ function bt(e) {
995
995
  return e && e.map((r, t) => /* @__PURE__ */ ne.createElement(r.tag, He({
996
996
  key: t
997
- }, r.attr), gt(r.child)));
997
+ }, r.attr), bt(r.child)));
998
998
  }
999
999
  function Vn(e) {
1000
1000
  return (r) => /* @__PURE__ */ ne.createElement(Yn, qe({
1001
1001
  attr: He({}, e.attr)
1002
- }, r), gt(e.child));
1002
+ }, r), bt(e.child));
1003
1003
  }
1004
1004
  function Yn(e) {
1005
1005
  var r = (t) => {
@@ -1022,7 +1022,7 @@ function Yn(e) {
1022
1022
  xmlns: "http://www.w3.org/2000/svg"
1023
1023
  }), i && /* @__PURE__ */ ne.createElement("title", null, i), e.children);
1024
1024
  };
1025
- return qr !== void 0 ? /* @__PURE__ */ ne.createElement(qr.Consumer, null, (t) => r(t)) : r(bt);
1025
+ return qr !== void 0 ? /* @__PURE__ */ ne.createElement(qr.Consumer, null, (t) => r(t)) : r(vt);
1026
1026
  }
1027
1027
  function Wn(e) {
1028
1028
  return Vn({ tag: "svg", attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "m289.94 256 95-95A24 24 0 0 0 351 127l-95 95-95-95a24 24 0 0 0-34 34l95 95-95 95a24 24 0 1 0 34 34l95-95 95 95a24 24 0 0 0 34-34z" }, child: [] }] })(e);
@@ -1045,11 +1045,11 @@ function Ta({
1045
1045
  className: a,
1046
1046
  close: i
1047
1047
  }) {
1048
- const l = lt(null), { setGlobalHotkeysEnabled: c } = mt();
1049
- return pt(l, i), ht("ESCAPE_KEY", i, { disableGlobalCheck: !0 }), Er(
1048
+ const l = lt(null), { setGlobalHotkeysEnabled: c } = pt();
1049
+ return dt(l, i), mt("ESCAPE_KEY", i, { disableGlobalCheck: !0 }), Er(
1050
1050
  () => c(!t),
1051
1051
  [t, c]
1052
- ), typeof window > "u" ? /* @__PURE__ */ k.jsx(ut, {}) : t && pn(
1052
+ ), typeof window > "u" ? /* @__PURE__ */ k.jsx(sn, {}) : t && pn(
1053
1053
  /* @__PURE__ */ k.jsx(Nn, { children: /* @__PURE__ */ k.jsxs(Pn, { className: a, ref: l, children: [
1054
1054
  (!o || e) && /* @__PURE__ */ k.jsxs(An, { children: [
1055
1055
  e && /* @__PURE__ */ k.jsx(zn, { children: e }),
@@ -1106,7 +1106,7 @@ const Oa = D.img(({ theme: e, size: r = 48 }) => {
1106
1106
  marginTop: "-1px"
1107
1107
  }));
1108
1108
  function ka({ tabs: e }) {
1109
- const [r, t] = he(0), o = (a) => {
1109
+ const [r, t] = me(0), o = (a) => {
1110
1110
  t(a);
1111
1111
  };
1112
1112
  return /* @__PURE__ */ k.jsxs("div", { children: [
@@ -1171,11 +1171,11 @@ var Kn = /* @__PURE__ */ function() {
1171
1171
  return o.parentNode && o.parentNode.removeChild(o);
1172
1172
  }), this.tags = [], this.ctr = 0, process.env.NODE_ENV !== "production" && (this._alreadyInsertedOrderInsensitiveRule = !1);
1173
1173
  }, e;
1174
- }(), z = "-ms-", Ke = "-moz-", S = "-webkit-", Sr = "comm", Cr = "rule", Rr = "decl", Jn = "@import", yt = "@keyframes", Zn = "@layer", Xn = Math.abs, Ze = String.fromCharCode, Qn = Object.assign;
1174
+ }(), z = "-ms-", Ke = "-moz-", S = "-webkit-", Sr = "comm", Cr = "rule", Rr = "decl", Jn = "@import", gt = "@keyframes", Zn = "@layer", Xn = Math.abs, Ze = String.fromCharCode, Qn = Object.assign;
1175
1175
  function eo(e, r) {
1176
1176
  return W(e, 0) ^ 45 ? (((r << 2 ^ W(e, 0)) << 2 ^ W(e, 1)) << 2 ^ W(e, 2)) << 2 ^ W(e, 3) : 0;
1177
1177
  }
1178
- function Et(e) {
1178
+ function yt(e) {
1179
1179
  return e.trim();
1180
1180
  }
1181
1181
  function ro(e, r) {
@@ -1205,30 +1205,30 @@ function ze(e, r) {
1205
1205
  function to(e, r) {
1206
1206
  return e.map(r).join("");
1207
1207
  }
1208
- var Xe = 1, me = 1, xt = 0, G = 0, V = 0, ve = "";
1208
+ var Xe = 1, pe = 1, Et = 0, G = 0, V = 0, he = "";
1209
1209
  function Qe(e, r, t, o, a, i, l) {
1210
- return { value: e, root: r, parent: t, type: o, props: a, children: i, line: Xe, column: me, length: l, return: "" };
1210
+ return { value: e, root: r, parent: t, type: o, props: a, children: i, line: Xe, column: pe, length: l, return: "" };
1211
1211
  }
1212
- function Te(e, r) {
1212
+ function Re(e, r) {
1213
1213
  return Qn(Qe("", null, null, "", null, null, 0), e, { length: -e.length }, r);
1214
1214
  }
1215
1215
  function no() {
1216
1216
  return V;
1217
1217
  }
1218
1218
  function oo() {
1219
- return V = G > 0 ? W(ve, --G) : 0, me--, V === 10 && (me = 1, Xe--), V;
1219
+ return V = G > 0 ? W(he, --G) : 0, pe--, V === 10 && (pe = 1, Xe--), V;
1220
1220
  }
1221
1221
  function q() {
1222
- return V = G < xt ? W(ve, G++) : 0, me++, V === 10 && (me = 1, Xe++), V;
1222
+ return V = G < Et ? W(he, G++) : 0, pe++, V === 10 && (pe = 1, Xe++), V;
1223
1223
  }
1224
1224
  function ee() {
1225
- return W(ve, G);
1225
+ return W(he, G);
1226
1226
  }
1227
1227
  function Ue() {
1228
1228
  return G;
1229
1229
  }
1230
1230
  function Ae(e, r) {
1231
- return Oe(ve, e, r);
1231
+ return Oe(he, e, r);
1232
1232
  }
1233
1233
  function ke(e) {
1234
1234
  switch (e) {
@@ -1262,14 +1262,14 @@ function ke(e) {
1262
1262
  }
1263
1263
  return 0;
1264
1264
  }
1265
- function wt(e) {
1266
- return Xe = me = 1, xt = Z(ve = e), G = 0, [];
1265
+ function xt(e) {
1266
+ return Xe = pe = 1, Et = Z(he = e), G = 0, [];
1267
1267
  }
1268
- function _t(e) {
1269
- return ve = "", e;
1268
+ function wt(e) {
1269
+ return he = "", e;
1270
1270
  }
1271
1271
  function Be(e) {
1272
- return Et(Ae(G - 1, vr(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
1272
+ return yt(Ae(G - 1, vr(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
1273
1273
  }
1274
1274
  function ao(e) {
1275
1275
  for (; (V = ee()) && V < 33; )
@@ -1311,7 +1311,7 @@ function co(e) {
1311
1311
  return Ae(e, G);
1312
1312
  }
1313
1313
  function lo(e) {
1314
- return _t(Ge("", null, null, null, [""], e = wt(e), 0, [0], e));
1314
+ return wt(Ge("", null, null, null, [""], e = xt(e), 0, [0], e));
1315
1315
  }
1316
1316
  function Ge(e, r, t, o, a, i, l, c, d) {
1317
1317
  for (var v = 0, p = 0, h = l, g = 0, j = 0, $ = 0, x = 1, M = 1, _ = 1, y = 0, A = "", I = a, u = i, Y = o, P = A; M; )
@@ -1405,7 +1405,7 @@ function Ge(e, r, t, o, a, i, l, c, d) {
1405
1405
  function Kr(e, r, t, o, a, i, l, c, d, v, p) {
1406
1406
  for (var h = a - 1, g = a === 0 ? i : [""], j = Tr(g), $ = 0, x = 0, M = 0; $ < o; ++$)
1407
1407
  for (var _ = 0, y = Oe(e, h + 1, h = Xn(x = l[$])), A = e; _ < j; ++_)
1408
- (A = Et(x > 0 ? g[_] + " " + y : C(y, /&\f/g, g[_]))) && (d[M++] = A);
1408
+ (A = yt(x > 0 ? g[_] + " " + y : C(y, /&\f/g, g[_]))) && (d[M++] = A);
1409
1409
  return Qe(e, r, t, a === 0 ? Cr : c, d, v, p);
1410
1410
  }
1411
1411
  function uo(e, r, t) {
@@ -1414,7 +1414,7 @@ function uo(e, r, t) {
1414
1414
  function Jr(e, r, t, o) {
1415
1415
  return Qe(e, r, t, Rr, Oe(e, 0, o), Oe(e, o + 1, -1), o);
1416
1416
  }
1417
- function pe(e, r) {
1417
+ function de(e, r) {
1418
1418
  for (var t = "", o = Tr(e), a = 0; a < o; a++)
1419
1419
  t += r(e[a], a, e, r) || "";
1420
1420
  return t;
@@ -1428,12 +1428,12 @@ function fo(e, r, t, o) {
1428
1428
  return e.return = e.return || e.value;
1429
1429
  case Sr:
1430
1430
  return "";
1431
- case yt:
1432
- return e.return = e.value + "{" + pe(e.children, o) + "}";
1431
+ case gt:
1432
+ return e.return = e.value + "{" + de(e.children, o) + "}";
1433
1433
  case Cr:
1434
1434
  e.value = e.props.join(",");
1435
1435
  }
1436
- return Z(t = pe(e.children, o)) ? e.return = e.value + "{" + t + "}" : "";
1436
+ return Z(t = de(e.children, o)) ? e.return = e.value + "{" + t + "}" : "";
1437
1437
  }
1438
1438
  function po(e) {
1439
1439
  var r = Tr(e);
@@ -1479,7 +1479,7 @@ var vo = function(r, t, o) {
1479
1479
  while (a = q());
1480
1480
  return r;
1481
1481
  }, go = function(r, t) {
1482
- return _t(bo(wt(r), t));
1482
+ return wt(bo(xt(r), t));
1483
1483
  }, Zr = /* @__PURE__ */ new WeakMap(), yo = function(r) {
1484
1484
  if (!(r.type !== "rule" || !r.parent || // positive .length indicates that this rule contains pseudo
1485
1485
  // negative .length indicates that this rule has been already prefixed
@@ -1526,19 +1526,19 @@ var vo = function(r, t, o) {
1526
1526
  }
1527
1527
  }
1528
1528
  };
1529
- }, St = function(r) {
1529
+ }, _t = function(r) {
1530
1530
  return r.type.charCodeAt(1) === 105 && r.type.charCodeAt(0) === 64;
1531
1531
  }, So = function(r, t) {
1532
1532
  for (var o = r - 1; o >= 0; o--)
1533
- if (!St(t[o]))
1533
+ if (!_t(t[o]))
1534
1534
  return !0;
1535
1535
  return !1;
1536
1536
  }, Xr = function(r) {
1537
1537
  r.type = "", r.value = "", r.return = "", r.children = "", r.props = "";
1538
1538
  }, Co = function(r, t, o) {
1539
- St(r) && (r.parent ? (console.error("`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles."), Xr(r)) : So(t, o) && (console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."), Xr(r)));
1539
+ _t(r) && (r.parent ? (console.error("`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles."), Xr(r)) : So(t, o) && (console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."), Xr(r)));
1540
1540
  };
1541
- function Ct(e, r) {
1541
+ function St(e, r) {
1542
1542
  switch (eo(e, r)) {
1543
1543
  case 5103:
1544
1544
  return S + "print-" + e + e;
@@ -1623,7 +1623,7 @@ function Ct(e, r) {
1623
1623
  case 102:
1624
1624
  return C(e, /(.+:)(.+)-([^]+)/, "$1" + S + "$2-$3$1" + Ke + (W(e, r + 3) == 108 ? "$3" : "$2-$3")) + e;
1625
1625
  case 115:
1626
- return ~hr(e, "stretch") ? Ct(C(e, "stretch", "fill-available"), r) + e : e;
1626
+ return ~hr(e, "stretch") ? St(C(e, "stretch", "fill-available"), r) + e : e;
1627
1627
  }
1628
1628
  break;
1629
1629
  case 4949:
@@ -1652,10 +1652,10 @@ function Ct(e, r) {
1652
1652
  var Ro = function(r, t, o, a) {
1653
1653
  if (r.length > -1 && !r.return) switch (r.type) {
1654
1654
  case Rr:
1655
- r.return = Ct(r.value, r.length);
1655
+ r.return = St(r.value, r.length);
1656
1656
  break;
1657
- case yt:
1658
- return pe([Te(r, {
1657
+ case gt:
1658
+ return de([Re(r, {
1659
1659
  value: C(r.value, "@", "@" + S)
1660
1660
  })], a);
1661
1661
  case Cr:
@@ -1663,15 +1663,15 @@ var Ro = function(r, t, o, a) {
1663
1663
  switch (ro(i, /(::plac\w+|:read-\w+)/)) {
1664
1664
  case ":read-only":
1665
1665
  case ":read-write":
1666
- return pe([Te(r, {
1666
+ return de([Re(r, {
1667
1667
  props: [C(i, /:(read-\w+)/, ":" + Ke + "$1")]
1668
1668
  })], a);
1669
1669
  case "::placeholder":
1670
- return pe([Te(r, {
1670
+ return de([Re(r, {
1671
1671
  props: [C(i, /:(plac\w+)/, ":" + S + "input-$1")]
1672
- }), Te(r, {
1672
+ }), Re(r, {
1673
1673
  props: [C(i, /:(plac\w+)/, ":" + Ke + "$1")]
1674
- }), Te(r, {
1674
+ }), Re(r, {
1675
1675
  props: [C(i, /:(plac\w+)/, z + "input-$1")]
1676
1676
  })], a);
1677
1677
  }
@@ -1716,7 +1716,7 @@ If multiple caches share the same key they might "fight" for each other's style
1716
1716
  } : mo(function(x) {
1717
1717
  p.insert(x);
1718
1718
  })], g = po(v.concat(a, h)), j = function(M) {
1719
- return pe(lo(M), g);
1719
+ return de(lo(M), g);
1720
1720
  };
1721
1721
  d = function(M, _, y, A) {
1722
1722
  p = y, process.env.NODE_ENV !== "production" && _.map !== void 0 && (p = {
@@ -1836,8 +1836,8 @@ function Po() {
1836
1836
  }
1837
1837
  function I(m) {
1838
1838
  if (typeof m == "object" && m !== null) {
1839
- var we = m.$$typeof;
1840
- switch (we) {
1839
+ var xe = m.$$typeof;
1840
+ switch (xe) {
1841
1841
  case r:
1842
1842
  var le = m.type;
1843
1843
  switch (le) {
@@ -1858,19 +1858,19 @@ function Po() {
1858
1858
  case l:
1859
1859
  return ae;
1860
1860
  default:
1861
- return we;
1861
+ return xe;
1862
1862
  }
1863
1863
  }
1864
1864
  case t:
1865
- return we;
1865
+ return xe;
1866
1866
  }
1867
1867
  }
1868
1868
  }
1869
- var u = d, Y = v, P = c, rr = l, $e = r, tr = p, nr = o, Ne = $, H = j, re = t, oe = i, je = a, Ie = h, be = !1;
1869
+ var u = d, Y = v, P = c, rr = l, $e = r, tr = p, nr = o, Ne = $, H = j, re = t, oe = i, je = a, Ie = h, ve = !1;
1870
1870
  function De(m) {
1871
- return be || (be = !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.")), ge(m) || I(m) === d;
1871
+ return ve || (ve = !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.")), be(m) || I(m) === d;
1872
1872
  }
1873
- function ge(m) {
1873
+ function be(m) {
1874
1874
  return I(m) === v;
1875
1875
  }
1876
1876
  function Fe(m) {
@@ -1888,16 +1888,16 @@ function Po() {
1888
1888
  function ar(m) {
1889
1889
  return I(m) === o;
1890
1890
  }
1891
- function ye(m) {
1891
+ function ge(m) {
1892
1892
  return I(m) === $;
1893
1893
  }
1894
- function Ee(m) {
1894
+ function ye(m) {
1895
1895
  return I(m) === j;
1896
1896
  }
1897
1897
  function se(m) {
1898
1898
  return I(m) === t;
1899
1899
  }
1900
- function xe(m) {
1900
+ function Ee(m) {
1901
1901
  return I(m) === i;
1902
1902
  }
1903
1903
  function ce(m) {
@@ -1906,11 +1906,11 @@ function Po() {
1906
1906
  function ir(m) {
1907
1907
  return I(m) === h;
1908
1908
  }
1909
- O.AsyncMode = u, O.ConcurrentMode = Y, O.ContextConsumer = P, O.ContextProvider = rr, O.Element = $e, O.ForwardRef = tr, O.Fragment = nr, O.Lazy = Ne, O.Memo = H, O.Portal = re, O.Profiler = oe, O.StrictMode = je, O.Suspense = Ie, O.isAsyncMode = De, O.isConcurrentMode = ge, O.isContextConsumer = Fe, O.isContextProvider = Me, O.isElement = Le, O.isForwardRef = or, O.isFragment = ar, O.isLazy = ye, O.isMemo = Ee, O.isPortal = se, O.isProfiler = xe, O.isStrictMode = ce, O.isSuspense = ir, O.isValidElementType = A, O.typeOf = I;
1909
+ O.AsyncMode = u, O.ConcurrentMode = Y, O.ContextConsumer = P, O.ContextProvider = rr, O.Element = $e, O.ForwardRef = tr, O.Fragment = nr, O.Lazy = Ne, O.Memo = H, O.Portal = re, O.Profiler = oe, O.StrictMode = je, O.Suspense = Ie, O.isAsyncMode = De, O.isConcurrentMode = be, O.isContextConsumer = Fe, O.isContextProvider = Me, O.isElement = Le, O.isForwardRef = or, O.isFragment = ar, O.isLazy = ge, O.isMemo = ye, O.isPortal = se, O.isProfiler = Ee, O.isStrictMode = ce, O.isSuspense = ir, O.isValidElementType = A, O.typeOf = I;
1910
1910
  }()), O;
1911
1911
  }
1912
1912
  process.env.NODE_ENV === "production" ? br.exports = ko() : br.exports = Po();
1913
- var Ao = br.exports, Rt = Ao, $o = {
1913
+ var Ao = br.exports, Ct = Ao, $o = {
1914
1914
  $$typeof: !0,
1915
1915
  render: !0,
1916
1916
  defaultProps: !0,
@@ -1923,9 +1923,9 @@ var Ao = br.exports, Rt = Ao, $o = {
1923
1923
  displayName: !0,
1924
1924
  propTypes: !0,
1925
1925
  type: !0
1926
- }, Tt = {};
1927
- Tt[Rt.ForwardRef] = $o;
1928
- Tt[Rt.Memo] = No;
1926
+ }, Rt = {};
1927
+ Rt[Ct.ForwardRef] = $o;
1928
+ Rt[Ct.Memo] = No;
1929
1929
  var jo = !0;
1930
1930
  function Io(e, r, t) {
1931
1931
  var o = "";
@@ -1933,7 +1933,7 @@ function Io(e, r, t) {
1933
1933
  e[a] !== void 0 ? r.push(e[a] + ";") : o += a + " ";
1934
1934
  }), o;
1935
1935
  }
1936
- var Ot = function(r, t, o) {
1936
+ var Tt = function(r, t, o) {
1937
1937
  var a = r.key + "-" + t.name;
1938
1938
  // we only need to add the styles to the registered cache if the
1939
1939
  // class name could be used further down
@@ -1946,7 +1946,7 @@ var Ot = function(r, t, o) {
1946
1946
  // also, note that this check will be dead code eliminated in the browser
1947
1947
  jo === !1) && r.registered[a] === void 0 && (r.registered[a] = t.styles);
1948
1948
  }, Do = function(r, t, o) {
1949
- Ot(r, t, o);
1949
+ Tt(r, t, o);
1950
1950
  var a = r.key + "-" + t.name;
1951
1951
  if (r.inserted[t.name] === void 0) {
1952
1952
  var i = t;
@@ -2025,7 +2025,7 @@ var Mo = {
2025
2025
  }, rt = `You have illegal escape sequence in your template literal, most likely inside content's property value.
2026
2026
  Because you write your CSS inside a JavaScript string you actually have to do double escaping, so for example "content: '\\00d7';" should become "content: '\\\\00d7';".
2027
2027
  You can read more about this here:
2028
- https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`, Lo = "You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).", Vo = /[A-Z]|^ms/g, kt = /_EMO_([^_]+?)_([^]*?)_EMO_/g, Or = function(r) {
2028
+ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`, Lo = "You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).", Vo = /[A-Z]|^ms/g, Ot = /_EMO_([^_]+?)_([^]*?)_EMO_/g, Or = function(r) {
2029
2029
  return r.charCodeAt(1) === 45;
2030
2030
  }, tt = function(r) {
2031
2031
  return r != null && typeof r != "boolean";
@@ -2036,7 +2036,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
2036
2036
  case "animation":
2037
2037
  case "animationName":
2038
2038
  if (typeof t == "string")
2039
- return t.replace(kt, function(o, a, i) {
2039
+ return t.replace(Ot, function(o, a, i) {
2040
2040
  return J = {
2041
2041
  name: a,
2042
2042
  styles: i,
@@ -2057,13 +2057,13 @@ if (process.env.NODE_ENV !== "production") {
2057
2057
  }) + "?")), o;
2058
2058
  };
2059
2059
  }
2060
- var Pt = "Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";
2060
+ var kt = "Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";
2061
2061
  function Pe(e, r, t) {
2062
2062
  if (t == null)
2063
2063
  return "";
2064
2064
  if (t.__emotion_styles !== void 0) {
2065
2065
  if (process.env.NODE_ENV !== "production" && t.toString() === "NO_COMPONENT_SELECTOR")
2066
- throw new Error(Pt);
2066
+ throw new Error(kt);
2067
2067
  return t;
2068
2068
  }
2069
2069
  switch (typeof t) {
@@ -2099,7 +2099,7 @@ function Pe(e, r, t) {
2099
2099
  }
2100
2100
  case "string":
2101
2101
  if (process.env.NODE_ENV !== "production") {
2102
- var c = [], d = t.replace(kt, function(v, p, h) {
2102
+ var c = [], d = t.replace(Ot, function(v, p, h) {
2103
2103
  var g = "animation" + c.length;
2104
2104
  return c.push("const " + g + " = keyframes`" + h.replace(/^@keyframes animation-\w+/, "") + "`"), "${" + g + "}";
2105
2105
  });
@@ -2126,7 +2126,7 @@ function Go(e, r, t) {
2126
2126
  tt(l) && (o += pr(i) + ":" + Je(i, l) + ";");
2127
2127
  else {
2128
2128
  if (i === "NO_COMPONENT_SELECTOR" && process.env.NODE_ENV !== "production")
2129
- throw new Error(Pt);
2129
+ throw new Error(kt);
2130
2130
  if (Array.isArray(l) && typeof l[0] == "string" && r == null)
2131
2131
  for (var c = 0; c < l.length; c++)
2132
2132
  tt(l[c]) && (o += pr(i) + ":" + Je(i, l[c]) + ";");
@@ -2146,8 +2146,8 @@ function Go(e, r, t) {
2146
2146
  }
2147
2147
  return o;
2148
2148
  }
2149
- var ot = /label:\s*([^\s;\n{]+)\s*(;|$)/g, At;
2150
- process.env.NODE_ENV !== "production" && (At = /\/\*#\ssourceMappingURL=data:application\/json;\S+\s+\*\//g);
2149
+ var ot = /label:\s*([^\s;\n{]+)\s*(;|$)/g, Pt;
2150
+ process.env.NODE_ENV !== "production" && (Pt = /\/\*#\ssourceMappingURL=data:application\/json;\S+\s+\*\//g);
2151
2151
  var J, at = function(r, t, o) {
2152
2152
  if (r.length === 1 && typeof r[0] == "object" && r[0] !== null && r[0].styles !== void 0)
2153
2153
  return r[0];
@@ -2158,7 +2158,7 @@ var J, at = function(r, t, o) {
2158
2158
  for (var c = 1; c < r.length; c++)
2159
2159
  i += Pe(o, t, r[c]), a && (process.env.NODE_ENV !== "production" && l[c] === void 0 && console.error(rt), i += l[c]);
2160
2160
  var d;
2161
- process.env.NODE_ENV !== "production" && (i = i.replace(At, function(g) {
2161
+ process.env.NODE_ENV !== "production" && (i = i.replace(Pt, function(g) {
2162
2162
  return d = g, "";
2163
2163
  })), ot.lastIndex = 0;
2164
2164
  for (var v = "", p; (p = ot.exec(i)) !== null; )
@@ -2198,8 +2198,8 @@ var Jo = function(r) {
2198
2198
  var a = xr(kr);
2199
2199
  return r(t, a, o);
2200
2200
  });
2201
- }, $t = /* @__PURE__ */ te.createContext({});
2202
- process.env.NODE_ENV !== "production" && ($t.displayName = "EmotionThemeContext");
2201
+ }, At = /* @__PURE__ */ te.createContext({});
2202
+ process.env.NODE_ENV !== "production" && (At.displayName = "EmotionThemeContext");
2203
2203
  var it = function(r) {
2204
2204
  var t = r.split(".");
2205
2205
  return t[t.length - 1];
@@ -2218,7 +2218,7 @@ var it = function(r) {
2218
2218
  if (/^[A-Z]/.test(a)) return Qo(a);
2219
2219
  }
2220
2220
  }
2221
- }, gr = "__EMOTION_TYPE_PLEASE_DO_NOT_USE__", yr = "__EMOTION_LABEL_PLEASE_DO_NOT_USE__", Nt = function(r, t) {
2221
+ }, gr = "__EMOTION_TYPE_PLEASE_DO_NOT_USE__", yr = "__EMOTION_LABEL_PLEASE_DO_NOT_USE__", $t = function(r, t) {
2222
2222
  if (process.env.NODE_ENV !== "production" && typeof t.css == "string" && // check if there is a css declaration
2223
2223
  t.css.indexOf(":") !== -1)
2224
2224
  throw new Error("Strings are not allowed as css prop values, please wrap it in a css template literal from '@emotion/react' like this: css`" + t.css + "`");
@@ -2232,15 +2232,15 @@ var it = function(r) {
2232
2232
  return o;
2233
2233
  }, ra = function(r) {
2234
2234
  var t = r.cache, o = r.serialized, a = r.isStringTag;
2235
- return Ot(t, o, a), Ko(function() {
2235
+ return Tt(t, o, a), Ko(function() {
2236
2236
  return Do(t, o, a);
2237
2237
  }), null;
2238
- }, jt = /* @__PURE__ */ Jo(function(e, r, t) {
2238
+ }, Nt = /* @__PURE__ */ Jo(function(e, r, t) {
2239
2239
  var o = e.css;
2240
2240
  typeof o == "string" && r.registered[o] !== void 0 && (o = r.registered[o]);
2241
2241
  var a = e[gr], i = [o], l = "";
2242
2242
  typeof e.className == "string" ? l = Io(r.registered, i, e.className) : e.className != null && (l = e.className + " ");
2243
- var c = at(i, void 0, te.useContext($t));
2243
+ var c = at(i, void 0, te.useContext(At));
2244
2244
  if (process.env.NODE_ENV !== "production" && c.name.indexOf("-") === -1) {
2245
2245
  var d = e[yr];
2246
2246
  d && (c = at([c, "label:" + d + ";"]));
@@ -2255,13 +2255,13 @@ var it = function(r) {
2255
2255
  isStringTag: typeof a == "string"
2256
2256
  }), /* @__PURE__ */ te.createElement(a, v));
2257
2257
  });
2258
- process.env.NODE_ENV !== "production" && (jt.displayName = "EmotionCssPropInternal");
2259
- var It = jt;
2260
- function de(e, r, t) {
2261
- return er.call(r, "css") ? k.jsx(It, Nt(e, r), t) : k.jsx(e, r, t);
2258
+ process.env.NODE_ENV !== "production" && (Nt.displayName = "EmotionCssPropInternal");
2259
+ var jt = Nt;
2260
+ function Te(e, r, t) {
2261
+ return er.call(r, "css") ? k.jsx(jt, $t(e, r), t) : k.jsx(e, r, t);
2262
2262
  }
2263
- function Dt(e, r, t) {
2264
- return er.call(r, "css") ? k.jsxs(It, Nt(e, r), t) : k.jsxs(e, r, t);
2263
+ function It(e, r, t) {
2264
+ return er.call(r, "css") ? k.jsxs(jt, $t(e, r), t) : k.jsxs(e, r, t);
2265
2265
  }
2266
2266
  const Pr = D("div", {
2267
2267
  shouldForwardProp: (e) => e !== "required" && e !== "inline" && e !== "reverse"
@@ -2282,7 +2282,7 @@ const Pr = D("div", {
2282
2282
  color: e.colors.red.default,
2283
2283
  content: r ? '"*"' : '""'
2284
2284
  }
2285
- })), Ft = D.p(({ theme: e }) => ({
2285
+ })), Dt = D.p(({ theme: e }) => ({
2286
2286
  fontSize: "12px",
2287
2287
  color: e.colors.red.default
2288
2288
  }));
@@ -2297,14 +2297,13 @@ function Pa({
2297
2297
  inline: c,
2298
2298
  ...d
2299
2299
  }) {
2300
- const [v, p] = he(t);
2301
- if (typeof window > "u") return /* @__PURE__ */ de(ut, {});
2300
+ const [v, p] = me(t);
2302
2301
  function h({ target: g }) {
2303
2302
  p(g.checked), a && a(g.name, g.checked);
2304
2303
  }
2305
- return /* @__PURE__ */ Dt(Pr, { inline: c, reverse: l, required: i, children: [
2306
- /* @__PURE__ */ de("label", { htmlFor: e, title: r, children: r }),
2307
- /* @__PURE__ */ de(
2304
+ return /* @__PURE__ */ It(Pr, { inline: c, reverse: l, required: i, children: [
2305
+ r && /* @__PURE__ */ Te("label", { htmlFor: e, title: r, children: r }),
2306
+ /* @__PURE__ */ Te(
2308
2307
  mn,
2309
2308
  {
2310
2309
  ...d,
@@ -2316,7 +2315,7 @@ function Pa({
2316
2315
  css: { width: "fit-content" }
2317
2316
  }
2318
2317
  ),
2319
- o.length > 0 && o.map((g) => /* @__PURE__ */ de(Ft, { children: g }, g))
2318
+ o.length > 0 && o.map((g) => /* @__PURE__ */ Te(Dt, { children: g }, g))
2320
2319
  ] });
2321
2320
  }
2322
2321
  const Aa = D.form({
@@ -2354,7 +2353,7 @@ function $a({
2354
2353
  formFieldClassname: l,
2355
2354
  ...c
2356
2355
  }) {
2357
- const [d, v] = he(t), p = ({ target: h }) => {
2356
+ const [d, v] = me(t), p = ({ target: h }) => {
2358
2357
  v(h.value), a && a(h.name, h.value);
2359
2358
  };
2360
2359
  return Er(() => {
@@ -2371,7 +2370,7 @@ function $a({
2371
2370
  placeholder: c.placeholder || r || "Type something..."
2372
2371
  }
2373
2372
  ),
2374
- o.length > 0 && o.map((h) => /* @__PURE__ */ k.jsx(Ft, { children: h }, h))
2373
+ o.length > 0 && o.map((h) => /* @__PURE__ */ k.jsx(Dt, { children: h }, h))
2375
2374
  ] });
2376
2375
  }
2377
2376
  function Na({
@@ -2384,14 +2383,14 @@ function Na({
2384
2383
  required: l = !1,
2385
2384
  ...c
2386
2385
  }) {
2387
- const d = ft(), [v, p] = he(
2386
+ const d = ut(), [v, p] = me(
2388
2387
  () => o.find((g) => g.value === t) ?? null
2389
2388
  ), h = (g) => {
2390
2389
  a == null || a(g.value), p(g);
2391
2390
  };
2392
- return /* @__PURE__ */ Dt(Pr, { required: l, children: [
2393
- r && /* @__PURE__ */ de("label", { htmlFor: e, title: `${e} field`, children: r }),
2394
- /* @__PURE__ */ de(
2391
+ return /* @__PURE__ */ It(Pr, { required: l, children: [
2392
+ r && /* @__PURE__ */ Te("label", { htmlFor: e, title: `${e} field`, children: r }),
2393
+ /* @__PURE__ */ Te(
2395
2394
  hn,
2396
2395
  {
2397
2396
  onChange: (g) => h(g),
@@ -2478,7 +2477,7 @@ const st = "__minimstuff_dark_theme__", na = !0, oa = {
2478
2477
  color: "#ffc107"
2479
2478
  }),
2480
2479
  boxShadow: `0 0 1em 0 ${Q("#aaa", 0.4)}`
2481
- }, Mt = ct({
2480
+ }, Ft = ct({
2482
2481
  isDarkTheme: !0,
2483
2482
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
2484
2483
  toggleDarkTheme: (e) => {
@@ -2488,7 +2487,7 @@ function ja({
2488
2487
  children: e,
2489
2488
  onPreferenceChange: r
2490
2489
  }) {
2491
- const [t, o] = he(() => {
2490
+ const [t, o] = me(() => {
2492
2491
  const i = Ur.get(st);
2493
2492
  return i ? i === "true" : na;
2494
2493
  }), a = (i) => {
@@ -2502,7 +2501,7 @@ function ja({
2502
2501
  colors: t ? la : ua
2503
2502
  },
2504
2503
  children: /* @__PURE__ */ k.jsxs(
2505
- Mt.Provider,
2504
+ Ft.Provider,
2506
2505
  {
2507
2506
  value: {
2508
2507
  isDarkTheme: t,
@@ -2518,7 +2517,7 @@ function ja({
2518
2517
  );
2519
2518
  }
2520
2519
  function fa() {
2521
- const e = ft(), r = Ye({
2520
+ const e = ut(), r = Ye({
2522
2521
  "*": {
2523
2522
  boxSizing: "border-box",
2524
2523
  outline: 0,
@@ -2619,7 +2618,7 @@ function fa() {
2619
2618
  });
2620
2619
  return /* @__PURE__ */ k.jsx(un, { styles: [r, t, o, a] });
2621
2620
  }
2622
- const Ia = () => xr(Mt);
2621
+ const Ia = () => xr(Ft);
2623
2622
  export {
2624
2623
  wa as Button,
2625
2624
  Pa as Checkbox,
@@ -2646,12 +2645,12 @@ export {
2646
2645
  zn as TextEllipsis,
2647
2646
  $a as Textbox,
2648
2647
  ja as ThemeContextProvider,
2649
- Mt as _ThemeContext,
2648
+ Ft as _ThemeContext,
2650
2649
  X as generateFadedColors,
2651
2650
  Q as rgba,
2652
- pt as useClickOutside,
2653
- mt as useGlobalHotkeys,
2654
- ht as useShortcut,
2651
+ dt as useClickOutside,
2652
+ pt as useGlobalHotkeys,
2653
+ mt as useShortcut,
2655
2654
  Ia as useThemeSwitcher,
2656
2655
  Tn as useToggle
2657
2656
  };