@functionalui/functionalui 0.1.3 → 0.1.4

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/main.js CHANGED
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import { jsx as d, jsxs as X, Fragment as Ce } from "react/jsx-runtime";
3
3
  import * as fn from "react";
4
- import le, { useEffect as q, useLayoutEffect as Ks, useState as Z, useRef as te, forwardRef as me, useCallback as Le, useMemo as Ne, useContext as An, Children as Aa, isValidElement as Oa, cloneElement as Ma, createContext as vi, createElement as za, useReducer as La } from "react";
5
- import { unstable_batchedUpdates as Pa, createPortal as Zs } from "react-dom";
6
- import { M as ft, a as dt, b as ht, c as pt, d as mt, P as gt, e as yt, f as vt, g as bt, h as _t, B as wt, i as St, j as Et, k as xt, l as Ct, m as kt, n as It, o as Tt, p as At, q as Ot, r as Mt, s as zt, t as Lt, C as Q, u as Pt, O as Dt, v as Rt, w as Nt, x as $t, y as Ft, z as jt, A as Ve, D as Xs, F as Qs, E as Js, G as eo, H as to, I as no, J as ro, K as io, L as so, N as oo, Q as ao, R as co, S as uo, T as W, U as se, V as oe, W as ae, X as ce, Y as ue, Z as lo, _ as Da, $ as ze, a0 as ut, a1 as P, a2 as cr, a3 as k, a4 as vn, a5 as ee, a6 as J, a7 as ke, a8 as pe, a9 as kr, aa as K, ab as ur, ac as fe, ad as Ra, ae as qt, af as Rn, ag as bi, ah as ge, ai as Na, aj as $a, ak as Fa, al as lr, am as Jn, an as fo, ao as fr, ap as ho, aq as Ke, ar as Xt, as as ja, at as ye, au as De, av as Te, aw as Nn, ax as $n, ay as bn, az as po, aA as Ba, aB as Ua, aC as at, aD as rt, aE as nt, aF as mo, aG as He, aH as it, aI as Yt, aJ as Ha, aK as er, aL as Ga, aM as Va, aN as dr, aO as Vi, aP as Be, aQ as Qr, aR as Fn, aS as sn, aT as jn, aU as qa, aV as Ya, aW as Bn, aX as Ze, aY as Wa, aZ as qi, a_ as on, a$ as Ka, b0 as Za, b1 as Xa, b2 as Un, b3 as lt, b4 as Jr, b5 as Ut, b6 as ei, b7 as tr, b8 as go, b9 as Kn, ba as Je, bb as Yi, bc as Qa, bd as Ja } from "./types-hPYnu-T4.js";
4
+ import le, { useEffect as q, useLayoutEffect as Ks, useState as Z, useRef as te, forwardRef as me, useCallback as Le, useMemo as Ne, useContext as An, Children as Oa, isValidElement as Ma, cloneElement as za, createContext as vi, createElement as La, useReducer as Pa } from "react";
5
+ import { unstable_batchedUpdates as Da, createPortal as Zs } from "react-dom";
6
+ import { M as ft, a as dt, b as ht, c as pt, d as mt, P as gt, e as yt, f as vt, g as bt, h as _t, B as wt, i as St, j as Et, k as xt, l as Ct, m as kt, n as It, o as Tt, p as At, q as Ot, r as Mt, s as zt, t as Lt, C as Q, u as Pt, O as Dt, v as Rt, w as Nt, x as $t, y as Ft, z as jt, A as Ve, D as Xs, F as Qs, E as Js, G as eo, H as to, I as no, J as ro, K as io, L as so, N as oo, Q as ao, R as co, S as uo, T as W, U as se, V as oe, W as ae, X as ce, Y as ue, Z as lo, _ as fo, $ as ze, a0 as ut, a1 as P, a2 as cr, a3 as k, a4 as vn, a5 as ee, a6 as J, a7 as ke, a8 as pe, a9 as kr, aa as K, ab as ur, ac as fe, ad as Ra, ae as qt, af as Rn, ag as bi, ah as ge, ai as Na, aj as $a, ak as Fa, al as lr, am as Jn, an as ho, ao as fr, ap as po, aq as Ke, ar as Xt, as as ja, at as ye, au as De, av as Te, aw as Nn, ax as $n, ay as bn, az as mo, aA as Ba, aB as Ua, aC as at, aD as rt, aE as nt, aF as go, aG as He, aH as it, aI as Yt, aJ as Ha, aK as er, aL as Ga, aM as Va, aN as dr, aO as Vi, aP as Be, aQ as Qr, aR as Fn, aS as sn, aT as jn, aU as qa, aV as Ya, aW as Bn, aX as Ze, aY as Wa, aZ as qi, a_ as on, a$ as Ka, b0 as Za, b1 as Xa, b2 as Un, b3 as lt, b4 as Jr, b5 as Ut, b6 as ei, b7 as tr, b8 as yo, b9 as Kn, ba as Je, bb as Yi, bc as Qa, bd as Ja } from "./types-hPYnu-T4.js";
7
7
  var _i = Mn(), j = (e) => On(e, _i), wi = Mn();
8
8
  j.write = (e) => On(e, wi);
9
9
  var hr = Mn();
@@ -18,9 +18,9 @@ j.setTimeout = (e, t) => {
18
18
  const s = Qt.findIndex((o) => o.cancel == r);
19
19
  ~s && Qt.splice(s, 1), ot -= ~s ? 1 : 0;
20
20
  }, i = { time: n, handler: e, cancel: r };
21
- return Qt.splice(yo(n), 0, i), ot += 1, vo(), i;
21
+ return Qt.splice(vo(n), 0, i), ot += 1, bo(), i;
22
22
  };
23
- var yo = (e) => ~(~Qt.findIndex((t) => t.time > e) || ~Qt.length);
23
+ var vo = (e) => ~(~Qt.findIndex((t) => t.time > e) || ~Qt.length);
24
24
  j.cancel = (e) => {
25
25
  hr.delete(e), Si.delete(e), Ei.delete(e), _i.delete(e), wi.delete(e);
26
26
  };
@@ -56,26 +56,26 @@ j.frameLoop = "always";
56
56
  j.advance = () => {
57
57
  j.frameLoop !== "demand" ? console.warn(
58
58
  "Cannot call the manual advancement of rafz whilst frameLoop is not set as demand"
59
- ) : _o();
59
+ ) : wo();
60
60
  };
61
61
  var st = -1, ot = 0, ti = !1;
62
62
  function On(e, t) {
63
- ti ? (t.delete(e), e(0)) : (t.add(e), vo());
63
+ ti ? (t.delete(e), e(0)) : (t.add(e), bo());
64
64
  }
65
- function vo() {
66
- st < 0 && (st = 0, j.frameLoop !== "demand" && xi(bo));
65
+ function bo() {
66
+ st < 0 && (st = 0, j.frameLoop !== "demand" && xi(_o));
67
67
  }
68
68
  function ec() {
69
69
  st = -1;
70
70
  }
71
- function bo() {
72
- ~st && (xi(bo), j.batchedUpdates(_o));
73
- }
74
71
  function _o() {
72
+ ~st && (xi(_o), j.batchedUpdates(wo));
73
+ }
74
+ function wo() {
75
75
  const e = st;
76
76
  st = j.now();
77
- const t = yo(st);
78
- if (t && (wo(Qt.splice(0, t), (n) => n.handler()), ot -= t), !ot) {
77
+ const t = vo(st);
78
+ if (t && (So(Qt.splice(0, t), (n) => n.handler()), ot -= t), !ot) {
79
79
  ec();
80
80
  return;
81
81
  }
@@ -91,11 +91,11 @@ function Mn() {
91
91
  return ot -= t == e && e.has(n) ? 1 : 0, e.delete(n);
92
92
  },
93
93
  flush(n) {
94
- t.size && (e = /* @__PURE__ */ new Set(), ot -= t.size, wo(t, (r) => r(n) && e.add(r)), ot += e.size, t = e);
94
+ t.size && (e = /* @__PURE__ */ new Set(), ot -= t.size, So(t, (r) => r(n) && e.add(r)), ot += e.size, t = e);
95
95
  }
96
96
  };
97
97
  }
98
- function wo(e, t) {
98
+ function So(e, t) {
99
99
  e.forEach((n) => {
100
100
  try {
101
101
  t(n);
@@ -112,8 +112,8 @@ nc(Fe, {
112
112
  assign: () => ic,
113
113
  colors: () => ct,
114
114
  createStringInterpolator: () => ki,
115
- skipAnimation: () => Eo,
116
- to: () => So,
115
+ skipAnimation: () => xo,
116
+ to: () => Eo,
117
117
  willAdvance: () => Ii
118
118
  });
119
119
  function ni() {
@@ -152,15 +152,15 @@ function dn(e, t) {
152
152
  e.clear(), N(n, t);
153
153
  }
154
154
  }
155
- var ln = (e, ...t) => dn(e, (n) => n(...t)), Ci = () => typeof window > "u" || !window.navigator || /ServerSideRendering|^Deno\//.test(window.navigator.userAgent), ki, So, ct = null, Eo = !1, Ii = ni, ic = (e) => {
156
- e.to && (So = e.to), e.now && (j.now = e.now), e.colors !== void 0 && (ct = e.colors), e.skipAnimation != null && (Eo = e.skipAnimation), e.createStringInterpolator && (ki = e.createStringInterpolator), e.requestAnimationFrame && j.use(e.requestAnimationFrame), e.batchedUpdates && (j.batchedUpdates = e.batchedUpdates), e.willAdvance && (Ii = e.willAdvance), e.frameLoop && (j.frameLoop = e.frameLoop);
155
+ var ln = (e, ...t) => dn(e, (n) => n(...t)), Ci = () => typeof window > "u" || !window.navigator || /ServerSideRendering|^Deno\//.test(window.navigator.userAgent), ki, Eo, ct = null, xo = !1, Ii = ni, ic = (e) => {
156
+ e.to && (Eo = e.to), e.now && (j.now = e.now), e.colors !== void 0 && (ct = e.colors), e.skipAnimation != null && (xo = e.skipAnimation), e.createStringInterpolator && (ki = e.createStringInterpolator), e.requestAnimationFrame && j.use(e.requestAnimationFrame), e.batchedUpdates && (j.batchedUpdates = e.batchedUpdates), e.willAdvance && (Ii = e.willAdvance), e.frameLoop && (j.frameLoop = e.frameLoop);
157
157
  }, hn = /* @__PURE__ */ new Set(), Me = [], Ir = [], nr = 0, pr = {
158
158
  get idle() {
159
159
  return !hn.size && !Me.length;
160
160
  },
161
161
  /** Advance the given animation on every frame until idle. */
162
162
  start(e) {
163
- nr > e.priority ? (hn.add(e), j.onStart(sc)) : (xo(e), j(ri));
163
+ nr > e.priority ? (hn.add(e), j.onStart(sc)) : (Co(e), j(ri));
164
164
  },
165
165
  /** Advance all animations by the given time. */
166
166
  advance: ri,
@@ -170,7 +170,7 @@ var ln = (e, ...t) => dn(e, (n) => n(...t)), Ci = () => typeof window > "u" || !
170
170
  j.onFrame(() => pr.sort(e));
171
171
  else {
172
172
  const t = Me.indexOf(e);
173
- ~t && (Me.splice(t, 1), Co(e));
173
+ ~t && (Me.splice(t, 1), ko(e));
174
174
  }
175
175
  },
176
176
  /**
@@ -183,12 +183,12 @@ var ln = (e, ...t) => dn(e, (n) => n(...t)), Ci = () => typeof window > "u" || !
183
183
  }
184
184
  };
185
185
  function sc() {
186
- hn.forEach(xo), hn.clear(), j(ri);
187
- }
188
- function xo(e) {
189
- Me.includes(e) || Co(e);
186
+ hn.forEach(Co), hn.clear(), j(ri);
190
187
  }
191
188
  function Co(e) {
189
+ Me.includes(e) || ko(e);
190
+ }
191
+ function ko(e) {
192
192
  Me.splice(
193
193
  oc(Me, (t) => t.priority > e.priority),
194
194
  0,
@@ -527,17 +527,17 @@ function Sn(e, t) {
527
527
  Sc(r, t);
528
528
  });
529
529
  }
530
- var ko = class {
530
+ var Io = class {
531
531
  constructor(e) {
532
532
  if (!e && !(e = this.get))
533
533
  throw Error("Unknown getter");
534
534
  Ec(this, e);
535
535
  }
536
- }, Ec = (e, t) => Io(e, wn, t);
536
+ }, Ec = (e, t) => To(e, wn, t);
537
537
  function tn(e, t) {
538
538
  if (e[wn]) {
539
539
  let n = e[en];
540
- n || Io(e, en, n = /* @__PURE__ */ new Set()), n.has(t) || (n.add(t), e.observerAdded && e.observerAdded(n.size, t));
540
+ n || To(e, en, n = /* @__PURE__ */ new Set()), n.has(t) || (n.add(t), e.observerAdded && e.observerAdded(n.size, t));
541
541
  }
542
542
  return t;
543
543
  }
@@ -548,11 +548,11 @@ function En(e, t) {
548
548
  r ? n.delete(t) : e[en] = null, e.observerRemoved && e.observerRemoved(r, t);
549
549
  }
550
550
  }
551
- var Io = (e, t, n) => Object.defineProperty(e, t, {
551
+ var To = (e, t, n) => Object.defineProperty(e, t, {
552
552
  value: n,
553
553
  writable: !0,
554
554
  configurable: !0
555
- }), Zn = /[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g, xc = /(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi, ns = new RegExp(`(${Zn.source})(%|[a-z]+)`, "i"), Cc = /rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi, gr = /var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/, To = (e) => {
555
+ }), Zn = /[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g, xc = /(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi, ns = new RegExp(`(${Zn.source})(%|[a-z]+)`, "i"), Cc = /rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi, gr = /var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/, Ao = (e) => {
556
556
  const [t, n] = kc(e);
557
557
  if (!t || Ci())
558
558
  return e;
@@ -564,7 +564,7 @@ var Io = (e, t, n) => Object.defineProperty(e, t, {
564
564
  return i || e;
565
565
  } else {
566
566
  if (n && gr.test(n))
567
- return To(n);
567
+ return Ao(n);
568
568
  if (n)
569
569
  return n;
570
570
  }
@@ -574,7 +574,7 @@ var Io = (e, t, n) => Object.defineProperty(e, t, {
574
574
  if (!t) return [,];
575
575
  const [, n, r] = t;
576
576
  return [n, r];
577
- }, Ar, Ic = (e, t, n, r, i) => `rgba(${Math.round(t)}, ${Math.round(n)}, ${Math.round(r)}, ${i})`, Ao = (e) => {
577
+ }, Ar, Ic = (e, t, n, r, i) => `rgba(${Math.round(t)}, ${Math.round(n)}, ${Math.round(r)}, ${i})`, Oo = (e) => {
578
578
  Ar || (Ar = ct ? (
579
579
  // match color names, ignore partial matches
580
580
  new RegExp(`(${Object.keys(ct).join("|")})(?!\\w)`, "g")
@@ -582,7 +582,7 @@ var Io = (e, t, n) => Object.defineProperty(e, t, {
582
582
  // never match
583
583
  /^\b$/
584
584
  ));
585
- const t = e.output.map((s) => Ee(s).replace(gr, To).replace(xc, Xi).replace(Ar, Xi)), n = t.map((s) => s.match(Zn).map(Number)), i = n[0].map(
585
+ const t = e.output.map((s) => Ee(s).replace(gr, Ao).replace(xc, Xi).replace(Ar, Xi)), n = t.map((s) => s.match(Zn).map(Number)), i = n[0].map(
586
586
  (s, o) => n.map((u) => {
587
587
  if (!(o in u))
588
588
  throw Error('The arity of each "output" value must be equal');
@@ -600,7 +600,7 @@ var Io = (e, t, n) => Object.defineProperty(e, t, {
600
600
  () => `${i[u++](s)}${o || ""}`
601
601
  ).replace(Cc, Ic);
602
602
  };
603
- }, Ti = "react-spring: ", Oo = (e) => {
603
+ }, Ti = "react-spring: ", Mo = (e) => {
604
604
  const t = e;
605
605
  let n = !1;
606
606
  if (typeof t != "function")
@@ -608,13 +608,13 @@ var Io = (e, t, n) => Object.defineProperty(e, t, {
608
608
  return (...r) => {
609
609
  n || (t(...r), n = !0);
610
610
  };
611
- }, Tc = Oo(console.warn);
611
+ }, Tc = Mo(console.warn);
612
612
  function Ac() {
613
613
  Tc(
614
614
  `${Ti}The "interpolate" function is deprecated in v9 (use "to" instead)`
615
615
  );
616
616
  }
617
- var Oc = Oo(console.warn);
617
+ var Oc = Mo(console.warn);
618
618
  function Mc() {
619
619
  Oc(
620
620
  `${Ti}Directly calling start instead of using the api object is deprecated in v9 (use ".start" instead), this will be removed in later 0.X.0 versions`
@@ -643,7 +643,7 @@ function ii(e) {
643
643
  t.current = e;
644
644
  }), t.current;
645
645
  }
646
- var xn = Symbol.for("Animated:node"), Pc = (e) => !!e && e[xn] === e, Ue = (e) => e && e[xn], Mi = (e, t) => rc(e, xn, t), vr = (e) => e && e[xn] && e[xn].getPayload(), Mo = class {
646
+ var xn = Symbol.for("Animated:node"), Pc = (e) => !!e && e[xn] === e, Ue = (e) => e && e[xn], Mi = (e, t) => rc(e, xn, t), vr = (e) => e && e[xn] && e[xn].getPayload(), zo = class {
647
647
  constructor() {
648
648
  Mi(this, this);
649
649
  }
@@ -651,13 +651,13 @@ var xn = Symbol.for("Animated:node"), Pc = (e) => !!e && e[xn] === e, Ue = (e) =
651
651
  getPayload() {
652
652
  return this.payload || [];
653
653
  }
654
- }, br = class zo extends Mo {
654
+ }, br = class Lo extends zo {
655
655
  constructor(t) {
656
656
  super(), this._value = t, this.done = !0, this.durationProgress = 0, E.num(this._value) && (this.lastPosition = this._value);
657
657
  }
658
658
  /** @internal */
659
659
  static create(t) {
660
- return new zo(t);
660
+ return new Lo(t);
661
661
  }
662
662
  getPayload() {
663
663
  return [this];
@@ -672,7 +672,7 @@ var xn = Symbol.for("Animated:node"), Pc = (e) => !!e && e[xn] === e, Ue = (e) =
672
672
  const { done: t } = this;
673
673
  this.done = !1, E.num(this._value) && (this.elapsedTime = 0, this.durationProgress = 0, this.lastPosition = this._value, t && (this.lastVelocity = null), this.v0 = null);
674
674
  }
675
- }, sr = class Lo extends br {
675
+ }, sr = class Po extends br {
676
676
  constructor(t) {
677
677
  super(0), this._string = null, this._toString = _n({
678
678
  output: [t, t]
@@ -680,7 +680,7 @@ var xn = Symbol.for("Animated:node"), Pc = (e) => !!e && e[xn] === e, Ue = (e) =
680
680
  }
681
681
  /** @internal */
682
682
  static create(t) {
683
- return new Lo(t);
683
+ return new Po(t);
684
684
  }
685
685
  getValue() {
686
686
  const t = this._string;
@@ -702,7 +702,7 @@ var xn = Symbol.for("Animated:node"), Pc = (e) => !!e && e[xn] === e, Ue = (e) =
702
702
  output: [this.getValue(), t]
703
703
  })), this._value = 0, super.reset();
704
704
  }
705
- }, or = { dependencies: null }, _r = class extends Mo {
705
+ }, or = { dependencies: null }, _r = class extends zo {
706
706
  constructor(e) {
707
707
  super(), this.source = e, this.setValue(e);
708
708
  }
@@ -732,13 +732,13 @@ var xn = Symbol.for("Animated:node"), Pc = (e) => !!e && e[xn] === e, Ue = (e) =
732
732
  const t = vr(e);
733
733
  t && N(t, (n) => this.add(n));
734
734
  }
735
- }, Dc = class Po extends _r {
735
+ }, Dc = class Do extends _r {
736
736
  constructor(t) {
737
737
  super(t);
738
738
  }
739
739
  /** @internal */
740
740
  static create(t) {
741
- return new Po(t);
741
+ return new Do(t);
742
742
  }
743
743
  getValue() {
744
744
  return this.source.map((t) => t.getValue());
@@ -826,7 +826,7 @@ var is = Symbol.for("AnimatedComponent"), jc = (e, {
826
826
  function xe(e, ...t) {
827
827
  return E.fun(e) ? e(...t) : e;
828
828
  }
829
- var pn = (e, t) => e === !0 || !!(t && e && (E.fun(e) ? e(t) : _e(e).includes(t))), Do = (e, t) => E.obj(e) ? t && e[t] : e, Ro = (e, t) => e.default === !0 ? e[t] : e.default ? e.default[t] : void 0, Bc = (e) => e, wr = (e, t = Bc) => {
829
+ var pn = (e, t) => e === !0 || !!(t && e && (E.fun(e) ? e(t) : _e(e).includes(t))), Ro = (e, t) => E.obj(e) ? t && e[t] : e, No = (e, t) => e.default === !0 ? e[t] : e.default ? e.default[t] : void 0, Bc = (e) => e, wr = (e, t = Bc) => {
830
830
  let n = Uc;
831
831
  e.default && e.default !== !0 && (e = e.default, n = Object.keys(e));
832
832
  const r = {};
@@ -901,7 +901,7 @@ function Cn(e) {
901
901
  output: [e, e]
902
902
  })(1) : e;
903
903
  }
904
- function No(e) {
904
+ function $o(e) {
905
905
  for (const t in e) return !0;
906
906
  return !1;
907
907
  }
@@ -912,7 +912,7 @@ function ai(e, t) {
912
912
  var n;
913
913
  (n = e.ref) == null || n.delete(e), t == null || t.delete(e);
914
914
  }
915
- function $o(e, t) {
915
+ function Fo(e, t) {
916
916
  var n;
917
917
  t && e.ref !== t && ((n = e.ref) == null || n.delete(e), t.add(e), e.ref = t);
918
918
  }
@@ -955,7 +955,7 @@ var as = [], Yc = class {
955
955
  this.changed = !1, this.values = as, this.toValues = null, this.fromValues = as, this.config = new Vc(), this.immediate = !1;
956
956
  }
957
957
  };
958
- function Fo(e, { key: t, props: n, defaultProps: r, state: i, actions: s }) {
958
+ function jo(e, { key: t, props: n, defaultProps: r, state: i, actions: s }) {
959
959
  return new Promise((o, u) => {
960
960
  let a, c, l = pn(n.cancel ?? (r == null ? void 0 : r.cancel), t);
961
961
  if (l)
@@ -981,10 +981,10 @@ function Fo(e, { key: t, props: n, defaultProps: r, state: i, actions: s }) {
981
981
  }
982
982
  });
983
983
  }
984
- var Pi = (e, t) => t.length == 1 ? t[0] : t.some((n) => n.cancelled) ? Jt(e.get()) : t.every((n) => n.noop) ? jo(e.get()) : Re(
984
+ var Pi = (e, t) => t.length == 1 ? t[0] : t.some((n) => n.cancelled) ? Jt(e.get()) : t.every((n) => n.noop) ? Bo(e.get()) : Re(
985
985
  e.get(),
986
986
  t.every((n) => n.finished)
987
- ), jo = (e) => ({
987
+ ), Bo = (e) => ({
988
988
  value: e,
989
989
  noop: !0,
990
990
  finished: !0,
@@ -998,7 +998,7 @@ var Pi = (e, t) => t.length == 1 ? t[0] : t.some((n) => n.cancelled) ? Jt(e.get(
998
998
  cancelled: !0,
999
999
  finished: !1
1000
1000
  });
1001
- function Bo(e, t, n, r) {
1001
+ function Uo(e, t, n, r) {
1002
1002
  const { callId: i, parentId: s, onRest: o } = t, { asyncTo: u, promise: a } = n;
1003
1003
  return !s && e === u && !t.reset ? a : n.promise = (async () => {
1004
1004
  n.asyncId = i, n.asyncTo = e;
@@ -1073,7 +1073,7 @@ var cs = class extends Error {
1073
1073
  constructor() {
1074
1074
  super("SkipAnimationSignal");
1075
1075
  }
1076
- }, ui = (e) => e instanceof Di, Wc = 1, Di = class extends ko {
1076
+ }, ui = (e) => e instanceof Di, Wc = 1, Di = class extends Io {
1077
1077
  constructor() {
1078
1078
  super(...arguments), this.id = Wc++, this._priority = 0;
1079
1079
  }
@@ -1128,7 +1128,7 @@ var cs = class extends Error {
1128
1128
  priority: e
1129
1129
  });
1130
1130
  }
1131
- }, Gt = Symbol.for("SpringPhase"), Uo = 1, Ho = 2, Go = 4, Or = (e) => (e[Gt] & Uo) > 0, et = (e) => (e[Gt] & Ho) > 0, an = (e) => (e[Gt] & Go) > 0, ls = (e, t) => t ? e[Gt] |= Ho | Uo : e[Gt] &= -3, fs = (e, t) => t ? e[Gt] |= Go : e[Gt] &= -5, Kc = class extends Di {
1131
+ }, Gt = Symbol.for("SpringPhase"), Ho = 1, Go = 2, Vo = 4, Or = (e) => (e[Gt] & Ho) > 0, et = (e) => (e[Gt] & Go) > 0, an = (e) => (e[Gt] & Vo) > 0, ls = (e, t) => t ? e[Gt] |= Go | Ho : e[Gt] &= -3, fs = (e, t) => t ? e[Gt] |= Vo : e[Gt] &= -5, Kc = class extends Di {
1132
1132
  constructor(e, t) {
1133
1133
  if (super(), this.animation = new Yc(), this.defaultProps = {}, this._state = {
1134
1134
  paused: !1,
@@ -1303,7 +1303,7 @@ var cs = class extends Error {
1303
1303
  r,
1304
1304
  wr(
1305
1305
  e,
1306
- (o, u) => /^on/.test(u) ? Do(o, n) : o
1306
+ (o, u) => /^on/.test(u) ? Ro(o, n) : o
1307
1307
  )
1308
1308
  ), hs(this, e, "onProps"), un(this, "onProps", e, this);
1309
1309
  const i = this._prepareNode(e);
@@ -1312,7 +1312,7 @@ var cs = class extends Error {
1312
1312
  "Cannot animate a `SpringValue` object that is frozen. Did you forget to pass your component to `animated(...)` before animating its props?"
1313
1313
  );
1314
1314
  const s = this._state;
1315
- return Fo(++this._lastCallId, {
1315
+ return jo(++this._lastCallId, {
1316
1316
  key: n,
1317
1317
  props: e,
1318
1318
  defaultProps: r,
@@ -1338,7 +1338,7 @@ var cs = class extends Error {
1338
1338
  }
1339
1339
  }).then((o) => {
1340
1340
  if (e.loop && o.finished && !(t && o.noop)) {
1341
- const u = Vo(e);
1341
+ const u = qo(e);
1342
1342
  if (u)
1343
1343
  return this._update(u, !0);
1344
1344
  }
@@ -1403,7 +1403,7 @@ var cs = class extends Error {
1403
1403
  u.changed = !w, z == null || z(F, this), w ? xe(o.onRest, F) : (B = u.onStart) == null || B.call(u, F, this);
1404
1404
  });
1405
1405
  }
1406
- w && this._set(x), g ? n(Bo(t.to, t, this._state, this)) : A ? this._start() : et(this) && !p ? this._pendingCalls.add(n) : n(jo(x));
1406
+ w && this._set(x), g ? n(Uo(t.to, t, this._state, this)) : A ? this._start() : et(this) && !p ? this._pendingCalls.add(n) : n(Bo(x));
1407
1407
  }
1408
1408
  /** Update the `animation.to` value, which might be a `FluidValue` */
1409
1409
  _focus(e) {
@@ -1482,7 +1482,7 @@ function cn(e, t) {
1482
1482
  const n = Cn(t), r = Cn(e.get());
1483
1483
  return We(r, n);
1484
1484
  }
1485
- function Vo(e, t = e.loop, n = e.to) {
1485
+ function qo(e, t = e.loop, n = e.to) {
1486
1486
  const r = xe(t);
1487
1487
  if (r) {
1488
1488
  const i = r !== !0 && zi(r), s = (i || e).reverse, o = !i || i.reset;
@@ -1525,13 +1525,13 @@ var Xc = [
1525
1525
  "onResume"
1526
1526
  ];
1527
1527
  function hs(e, t, n) {
1528
- e.animation[n] = t[n] !== Ro(t, n) ? Do(t[n], e.key) : void 0;
1528
+ e.animation[n] = t[n] !== No(t, n) ? Ro(t[n], e.key) : void 0;
1529
1529
  }
1530
1530
  function un(e, t, ...n) {
1531
1531
  var r, i, s, o;
1532
1532
  (i = (r = e.animation)[t]) == null || i.call(r, ...n), (o = (s = e.defaultProps)[t]) == null || o.call(s, ...n);
1533
1533
  }
1534
- var Qc = ["onStart", "onChange", "onRest"], Jc = 1, qo = class {
1534
+ var Qc = ["onStart", "onChange", "onRest"], Jc = 1, Yo = class {
1535
1535
  constructor(t, n) {
1536
1536
  this.id = Jc++, this.springs = {}, this.queue = [], this._lastAsyncId = 0, this._active = /* @__PURE__ */ new Set(), this._changed = /* @__PURE__ */ new Set(), this._started = !1, this._state = {
1537
1537
  paused: !1,
@@ -1582,7 +1582,7 @@ var Qc = ["onStart", "onChange", "onRest"], Jc = 1, qo = class {
1582
1582
  */
1583
1583
  start(t) {
1584
1584
  let { queue: n } = this;
1585
- return t ? n = _e(t).map(In) : this.queue = [], this._flush ? this._flush(this, n) : (Xo(this, n), li(this, n));
1585
+ return t ? n = _e(t).map(In) : this.queue = [], this._flush ? this._flush(this, n) : (Qo(this, n), li(this, n));
1586
1586
  }
1587
1587
  /** @internal */
1588
1588
  stop(t, n) {
@@ -1641,11 +1641,11 @@ var Qc = ["onStart", "onChange", "onRest"], Jc = 1, qo = class {
1641
1641
  }
1642
1642
  };
1643
1643
  function li(e, t) {
1644
- return Promise.all(t.map((n) => Yo(e, n))).then(
1644
+ return Promise.all(t.map((n) => Wo(e, n))).then(
1645
1645
  (n) => Pi(e, n)
1646
1646
  );
1647
1647
  }
1648
- async function Yo(e, t, n) {
1648
+ async function Wo(e, t, n) {
1649
1649
  const { keys: r, to: i, from: s, loop: o, onRest: u, onResolve: a } = t, c = E.obj(t.default) && t.default;
1650
1650
  o && (t.loop = !1), i === !1 && (t.to = null), s === !1 && (t.from = null);
1651
1651
  const l = E.arr(i) || E.fun(i) ? i : void 0;
@@ -1667,9 +1667,9 @@ async function Yo(e, t, n) {
1667
1667
  t.pause === !h.paused ? (h.paused = t.pause, ln(t.pause ? h.pauseQueue : h.resumeQueue)) : h.paused && (t.pause = !0);
1668
1668
  const f = (r || Object.keys(e.springs)).map(
1669
1669
  (y) => e.springs[y].start(t)
1670
- ), p = t.cancel === !0 || Ro(t, "cancel") === !0;
1670
+ ), p = t.cancel === !0 || No(t, "cancel") === !0;
1671
1671
  (l || p && h.asyncId) && f.push(
1672
- Fo(++e._lastAsyncId, {
1672
+ jo(++e._lastAsyncId, {
1673
1673
  props: t,
1674
1674
  state: h,
1675
1675
  actions: {
@@ -1677,7 +1677,7 @@ async function Yo(e, t, n) {
1677
1677
  resume: ni,
1678
1678
  start(y, v) {
1679
1679
  p ? (kn(h, e._lastAsyncId), v(Jt(e))) : (y.onRest = u, v(
1680
- Bo(
1680
+ Uo(
1681
1681
  l,
1682
1682
  y,
1683
1683
  h,
@@ -1692,41 +1692,41 @@ async function Yo(e, t, n) {
1692
1692
  });
1693
1693
  const g = Pi(e, await Promise.all(f));
1694
1694
  if (o && g.finished && !(n && g.noop)) {
1695
- const y = Vo(t, o, i);
1695
+ const y = qo(t, o, i);
1696
1696
  if (y)
1697
- return Xo(e, [y]), Yo(e, y, !0);
1697
+ return Qo(e, [y]), Wo(e, y, !0);
1698
1698
  }
1699
1699
  return a && j.batchedUpdates(() => a(g, e, e.item)), g;
1700
1700
  }
1701
1701
  function fi(e, t) {
1702
1702
  const n = { ...e.springs };
1703
1703
  return t && N(_e(t), (r) => {
1704
- E.und(r.keys) && (r = In(r)), E.obj(r.to) || (r = { ...r, to: void 0 }), Zo(n, r, (i) => Ko(i));
1705
- }), Wo(e, n), n;
1704
+ E.und(r.keys) && (r = In(r)), E.obj(r.to) || (r = { ...r, to: void 0 }), Xo(n, r, (i) => Zo(i));
1705
+ }), Ko(e, n), n;
1706
1706
  }
1707
- function Wo(e, t) {
1707
+ function Ko(e, t) {
1708
1708
  Ge(t, (n, r) => {
1709
1709
  e.springs[r] || (e.springs[r] = n, tn(n, e));
1710
1710
  });
1711
1711
  }
1712
- function Ko(e, t) {
1712
+ function Zo(e, t) {
1713
1713
  const n = new Kc();
1714
1714
  return n.key = e, t && tn(n, t), n;
1715
1715
  }
1716
- function Zo(e, t, n) {
1716
+ function Xo(e, t, n) {
1717
1717
  t.keys && N(t.keys, (r) => {
1718
1718
  (e[r] || (e[r] = n(r)))._prepareNode(t);
1719
1719
  });
1720
1720
  }
1721
- function Xo(e, t) {
1721
+ function Qo(e, t) {
1722
1722
  N(t, (n) => {
1723
- Zo(e.springs, n, (r) => Ko(r, e));
1723
+ Xo(e.springs, n, (r) => Zo(r, e));
1724
1724
  });
1725
1725
  }
1726
- var Qo = fn.createContext({
1726
+ var Jo = fn.createContext({
1727
1727
  pause: !1,
1728
1728
  immediate: !1
1729
- }), Jo = () => {
1729
+ }), ea = () => {
1730
1730
  const e = [], t = function(r) {
1731
1731
  Mc();
1732
1732
  const i = [];
@@ -1777,7 +1777,7 @@ function Ri(e, t, n) {
1777
1777
  const r = E.fun(t) && t;
1778
1778
  r && !n && (n = []);
1779
1779
  const i = Ne(
1780
- () => r || arguments.length == 3 ? Jo() : void 0,
1780
+ () => r || arguments.length == 3 ? ea() : void 0,
1781
1781
  []
1782
1782
  ), s = te(0), o = Ai(), u = Ne(
1783
1783
  () => ({
@@ -1786,7 +1786,7 @@ function Ri(e, t, n) {
1786
1786
  flush(b, _) {
1787
1787
  const w = fi(b, _);
1788
1788
  return s.current > 0 && !u.queue.length && !Object.keys(w).some((S) => !b.springs[S]) ? li(b, _) : new Promise((S) => {
1789
- Wo(b, w), u.queue.push(() => {
1789
+ Ko(b, w), u.queue.push(() => {
1790
1790
  S(li(b, _));
1791
1791
  }), o();
1792
1792
  });
@@ -1803,20 +1803,20 @@ function Ri(e, t, n) {
1803
1803
  }, n);
1804
1804
  function h(b, _) {
1805
1805
  for (let w = b; w < _; w++) {
1806
- const x = a.current[w] || (a.current[w] = new qo(null, u.flush)), S = r ? r(w, x) : t[w];
1806
+ const x = a.current[w] || (a.current[w] = new Yo(null, u.flush)), S = r ? r(w, x) : t[w];
1807
1807
  S && (c.current[w] = Zc(S));
1808
1808
  }
1809
1809
  }
1810
1810
  const f = a.current.map(
1811
1811
  (b, _) => fi(b, c.current[_])
1812
- ), p = An(Qo), g = ii(p), y = p !== g && No(p);
1812
+ ), p = An(Jo), g = ii(p), y = p !== g && $o(p);
1813
1813
  Ht(() => {
1814
1814
  s.current++, u.ctrls = a.current;
1815
1815
  const { queue: b } = u;
1816
1816
  b.length && (u.queue = [], N(b, (_) => _())), N(a.current, (_, w) => {
1817
1817
  i == null || i.add(_), y && _.start({ default: p });
1818
1818
  const x = c.current[w];
1819
- x && ($o(_, x.ref), _.ref ? _.queue.push(x) : _.start(x));
1819
+ x && (Fo(_, x.ref), _.ref ? _.queue.push(x) : _.start(x));
1820
1820
  });
1821
1821
  }), Oi(() => () => {
1822
1822
  N(u.ctrls, (b) => b.stop(!0));
@@ -1843,7 +1843,7 @@ function Pe(e, t, n) {
1843
1843
  ref: l,
1844
1844
  config: h
1845
1845
  } = r ? r() : t, f = Ne(
1846
- () => r || arguments.length == 3 ? Jo() : void 0,
1846
+ () => r || arguments.length == 3 ? ea() : void 0,
1847
1847
  []
1848
1848
  ), p = _e(e), g = [], y = te(null), v = i ? null : y.current;
1849
1849
  Ht(() => {
@@ -1869,7 +1869,7 @@ function Pe(e, t, n) {
1869
1869
  key: b[O],
1870
1870
  item: I,
1871
1871
  phase: "mount",
1872
- ctrl: new qo()
1872
+ ctrl: new Yo()
1873
1873
  }, g[O].ctrl.item = I);
1874
1874
  }), w.length) {
1875
1875
  let I = -1;
@@ -1942,7 +1942,7 @@ function Pe(e, t, n) {
1942
1942
  const rn = fi(I.ctrl, $);
1943
1943
  m === "leave" && a ? D.current.set(I, { phase: m, springs: rn, payload: $ }) : M.set(I, { phase: m, springs: rn, payload: $ });
1944
1944
  });
1945
- const L = An(Qo), z = ii(L), F = L !== z && No(L);
1945
+ const L = An(Jo), z = ii(L), F = L !== z && $o(L);
1946
1946
  Ht(() => {
1947
1947
  F && N(g, (I) => {
1948
1948
  I.ctrl.start({ default: L });
@@ -1958,7 +1958,7 @@ function Pe(e, t, n) {
1958
1958
  D.current.size ? D.current : M,
1959
1959
  ({ phase: I, payload: O }, U) => {
1960
1960
  const { ctrl: G } = U;
1961
- U.phase = I, f == null || f.add(G), F && I == "enter" && G.start({ default: L }), O && ($o(G, O.ref), (G.ref || f) && !A.current ? G.update(O) : (G.start(O), A.current && (A.current = !1)));
1961
+ U.phase = I, f == null || f.add(G), F && I == "enter" && G.start({ default: L }), O && (Fo(G, O.ref), (G.ref || f) && !A.current ? G.update(O) : (G.start(O), A.current && (A.current = !1)));
1962
1962
  }
1963
1963
  );
1964
1964
  },
@@ -2045,12 +2045,12 @@ function Mr(e) {
2045
2045
  }));
2046
2046
  }
2047
2047
  Fe.assign({
2048
- createStringInterpolator: Ao,
2048
+ createStringInterpolator: Oo,
2049
2049
  to: (e, t) => new nu(e, t)
2050
2050
  });
2051
- var ea = /^--/;
2051
+ var ta = /^--/;
2052
2052
  function iu(e, t) {
2053
- return t == null || typeof t == "boolean" || t === "" ? "" : typeof t == "number" && t !== 0 && !ea.test(e) && !(mn.hasOwnProperty(e) && mn[e]) ? t + "px" : ("" + t).trim();
2053
+ return t == null || typeof t == "boolean" || t === "" ? "" : typeof t == "number" && t !== 0 && !ta.test(e) && !(mn.hasOwnProperty(e) && mn[e]) ? t + "px" : ("" + t).trim();
2054
2054
  }
2055
2055
  var ms = {};
2056
2056
  function su(e, t) {
@@ -2075,7 +2075,7 @@ function su(e, t) {
2075
2075
  for (const f in i)
2076
2076
  if (i.hasOwnProperty(f)) {
2077
2077
  const p = iu(f, i[f]);
2078
- ea.test(f) ? e.style.setProperty(f, p) : e.style[f] = p;
2078
+ ta.test(f) ? e.style.setProperty(f, p) : e.style[f] = p;
2079
2079
  }
2080
2080
  h.forEach((f, p) => {
2081
2081
  e.setAttribute(f, l[p]);
@@ -2151,7 +2151,7 @@ var cu = /^(matrix|translate|scale|rotate|skew)/, uu = /^(translate)/, lu = /^(r
2151
2151
  }
2152
2152
  }), i.length && (r.transform = new du(i, s)), super(r);
2153
2153
  }
2154
- }, du = class extends ko {
2154
+ }, du = class extends Io {
2155
2155
  constructor(e, t) {
2156
2156
  super(), this.inputs = e, this.transforms = t, this._value = null;
2157
2157
  }
@@ -2327,8 +2327,8 @@ var cu = /^(matrix|translate|scale|rotate|skew)/, uu = /^(translate)/, lu = /^(r
2327
2327
  "tspan"
2328
2328
  ];
2329
2329
  Fe.assign({
2330
- batchedUpdates: Pa,
2331
- createStringInterpolator: Ao,
2330
+ batchedUpdates: Da,
2331
+ createStringInterpolator: Oo,
2332
2332
  colors: cc
2333
2333
  });
2334
2334
  var pu = jc(hu, {
@@ -2647,19 +2647,20 @@ const C = ({
2647
2647
  fontStyle: i,
2648
2648
  textAlign: s,
2649
2649
  resize: o,
2650
- className: u,
2651
- children: a,
2652
- ref: c,
2653
- ...l
2650
+ textOutlineStyle: u,
2651
+ className: a,
2652
+ children: c,
2653
+ ref: l,
2654
+ ...h
2654
2655
  }) => {
2655
- const h = {}, { theme: f } = re();
2656
- return e && (h[Q[e]] = !0), t && (h[W[t]] = !0), n && (h[se[n]] = !0), r && (h[oe[r]] = !0), i && (h[ae[i]] = !0), s && (h[ce[s]] = !0), o && (h[lo[o]] = !0), /* @__PURE__ */ d(
2656
+ const f = {}, { theme: p } = re();
2657
+ return e && (f[Q[e]] = !0), t && (f[W[t]] = !0), n && (f[se[n]] = !0), r && (f[oe[r]] = !0), i && (f[ae[i]] = !0), s && (f[ce[s]] = !0), o && (f[lo[o]] = !0), u && (f[fo[u]] = !0), /* @__PURE__ */ d(
2657
2658
  R.textarea,
2658
2659
  {
2659
- ref: c,
2660
- className: `${ue[f]} ${Object.keys(h).join(" ")} ${u || ""}`,
2661
- ...l,
2662
- children: a
2660
+ ref: l,
2661
+ className: `${ue[p]} ${Object.keys(f).join(" ")} ${a || ""}`,
2662
+ ...h,
2663
+ children: c
2663
2664
  }
2664
2665
  );
2665
2666
  }, Sh = me(
@@ -2671,13 +2672,13 @@ const C = ({
2671
2672
  fontStyle: i,
2672
2673
  textAlign: s,
2673
2674
  resize: o,
2674
- outlineStyle: u,
2675
+ textOutlineStyle: u,
2675
2676
  className: a,
2676
2677
  children: c,
2677
2678
  ...l
2678
2679
  }, h) => {
2679
2680
  const f = {}, { theme: p } = re();
2680
- return e && (f[Q[e]] = !0), t && (f[W[t]] = !0), n && (f[se[n]] = !0), r && (f[oe[r]] = !0), i && (f[ae[i]] = !0), s && (f[ce[s]] = !0), o && (f[lo[o]] = !0), u && (f[Da[u]] = !0), /* @__PURE__ */ d(
2681
+ return e && (f[Q[e]] = !0), t && (f[W[t]] = !0), n && (f[se[n]] = !0), r && (f[oe[r]] = !0), i && (f[ae[i]] = !0), s && (f[ce[s]] = !0), o && (f[lo[o]] = !0), u && (f[fo[u]] = !0), /* @__PURE__ */ d(
2681
2682
  R.textarea,
2682
2683
  {
2683
2684
  ref: h,
@@ -2784,7 +2785,7 @@ const C = ({
2784
2785
  }
2785
2786
  );
2786
2787
  }
2787
- ), ta = ({
2788
+ ), na = ({
2788
2789
  margin: e,
2789
2790
  marginTop: t,
2790
2791
  marginBottom: n,
@@ -3317,7 +3318,7 @@ const Ni = ({
3317
3318
  );
3318
3319
  }
3319
3320
  );
3320
- function na(e) {
3321
+ function ra(e) {
3321
3322
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
3322
3323
  }
3323
3324
  var Lr, gs;
@@ -3345,7 +3346,7 @@ function Su() {
3345
3346
  return e.debounce = e, Lr = e, Lr;
3346
3347
  }
3347
3348
  var Eu = Su();
3348
- const ys = /* @__PURE__ */ na(Eu);
3349
+ const ys = /* @__PURE__ */ ra(Eu);
3349
3350
  function qe(e) {
3350
3351
  let {
3351
3352
  debounce: t,
@@ -3413,7 +3414,7 @@ function qe(e) {
3413
3414
  })));
3414
3415
  }
3415
3416
  const b = (_) => {
3416
- !_ || _ === a.current.element || (y(), a.current.element = _, a.current.scrollContainers = ra(_), v());
3417
+ !_ || _ === a.current.element || (y(), a.current.element = _, a.current.scrollContainers = ia(_), v());
3417
3418
  };
3418
3419
  return Cu(g, !!n), xu(p), q(() => {
3419
3420
  y(), v();
@@ -3436,7 +3437,7 @@ function Cu(e, t) {
3436
3437
  }
3437
3438
  }, [e, t]);
3438
3439
  }
3439
- function ra(e) {
3440
+ function ia(e) {
3440
3441
  const t = [];
3441
3442
  if (!e || e === document.body) return t;
3442
3443
  const {
@@ -3444,7 +3445,7 @@ function ra(e) {
3444
3445
  overflowX: r,
3445
3446
  overflowY: i
3446
3447
  } = window.getComputedStyle(e);
3447
- return [n, r, i].some((s) => s === "auto" || s === "scroll") && t.push(e), [...t, ...ra(e.parentElement)];
3448
+ return [n, r, i].some((s) => s === "auto" || s === "scroll") && t.push(e), [...t, ...ia(e.parentElement)];
3448
3449
  }
3449
3450
  const ku = ["x", "y", "top", "bottom", "left", "right", "width", "height"], Iu = (e, t) => ku.every((n) => e[n] === t[n]), Uh = ({
3450
3451
  children: e,
@@ -3452,7 +3453,7 @@ const ku = ["x", "y", "top", "bottom", "left", "right", "width", "height"], Iu =
3452
3453
  width: n = "auto",
3453
3454
  height: r = "auto"
3454
3455
  }) => {
3455
- const [i, s] = qe(), o = Ne(() => s.height, [s.height]), u = Ne(() => s.width, [s.width]), a = Aa.map(e, (c) => Oa(c) ? Ma(c, { width: u, height: o }) : c);
3456
+ const [i, s] = qe(), o = Ne(() => s.height, [s.height]), u = Ne(() => s.width, [s.width]), a = Oa.map(e, (c) => Ma(c) ? za(c, { width: u, height: o }) : c);
3456
3457
  return /* @__PURE__ */ d(
3457
3458
  "div",
3458
3459
  {
@@ -3900,7 +3901,7 @@ const Ie = ({
3900
3901
  function Rr(e) {
3901
3902
  return typeof e == "number" && Object.values(fe).includes(e);
3902
3903
  }
3903
- const ia = vi({
3904
+ const sa = vi({
3904
3905
  theme: vn.Default,
3905
3906
  baseFontSize: ze.Size2 || 2,
3906
3907
  handleSetTheme: () => {
@@ -3910,9 +3911,9 @@ const ia = vi({
3910
3911
  });
3911
3912
  function Yh({ children: e }) {
3912
3913
  const t = Mu();
3913
- return /* @__PURE__ */ d(ia.Provider, { value: t, children: e });
3914
+ return /* @__PURE__ */ d(sa.Provider, { value: t, children: e });
3914
3915
  }
3915
- const re = () => An(ia);
3916
+ const re = () => An(sa);
3916
3917
  function Mu() {
3917
3918
  const [e, t] = Z(vn.Default), n = (o) => {
3918
3919
  t(o);
@@ -3926,7 +3927,7 @@ function Mu() {
3926
3927
  }
3927
3928
  };
3928
3929
  }
3929
- const sa = vi({
3930
+ const oa = vi({
3930
3931
  globalEventRef: null,
3931
3932
  handleGlobalEventRef: () => {
3932
3933
  },
@@ -3937,9 +3938,9 @@ function Wh({
3937
3938
  children: e
3938
3939
  }) {
3939
3940
  const t = Lu();
3940
- return /* @__PURE__ */ d(sa.Provider, { value: t, children: e });
3941
+ return /* @__PURE__ */ d(oa.Provider, { value: t, children: e });
3941
3942
  }
3942
- const zu = () => An(sa);
3943
+ const zu = () => An(oa);
3943
3944
  function Lu() {
3944
3945
  const e = te(null), t = Le(
3945
3946
  (i, s) => {
@@ -4044,7 +4045,7 @@ const Kh = ({
4044
4045
  }
4045
4046
  ), Pu = ({
4046
4047
  hoverAnimation: e,
4047
- size: t = fo.Size3,
4048
+ size: t = ho.Size3,
4048
4049
  avatarName: n,
4049
4050
  withHover: r
4050
4051
  }) => r ? n ? /* @__PURE__ */ d(
@@ -4080,7 +4081,7 @@ function Ru() {
4080
4081
  }
4081
4082
  const Nu = ({
4082
4083
  avatarName: e,
4083
- size: t = fo.Size2,
4084
+ size: t = ho.Size2,
4084
4085
  withHover: n = !0,
4085
4086
  onClick: r,
4086
4087
  border: i = !0,
@@ -4112,7 +4113,7 @@ const Nu = ({
4112
4113
  C,
4113
4114
  {
4114
4115
  borderColor: i ? s || K.Grey3 : void 0,
4115
- borderStyle: i ? ho.Solid : void 0,
4116
+ borderStyle: i ? po.Solid : void 0,
4116
4117
  borderWidth: i ? bi.Size2 : void 0,
4117
4118
  style: {
4118
4119
  overflow: "hidden",
@@ -4282,7 +4283,7 @@ const Nu = ({
4282
4283
  );
4283
4284
  }, $u = ({
4284
4285
  name: e,
4285
- buttonSize: t = po.Medium,
4286
+ buttonSize: t = mo.Medium,
4286
4287
  buttonColor: n = Ba.Primary5,
4287
4288
  buttonState: r = Ke.Icon,
4288
4289
  buttonType: i = Ua.Button,
@@ -4439,7 +4440,7 @@ const Nu = ({
4439
4440
  }, Bu = ({
4440
4441
  isChecked: e,
4441
4442
  checkboxColor: t = at.Grey5,
4442
- size: n = mo.Size3,
4443
+ size: n = go.Size3,
4443
4444
  children: r,
4444
4445
  onClick: i
4445
4446
  }) => {
@@ -4467,7 +4468,7 @@ const Nu = ({
4467
4468
  }, Uu = ({
4468
4469
  isChecked: e,
4469
4470
  checkboxColor: t = at.Grey5,
4470
- size: n = mo.Size3
4471
+ size: n = go.Size3
4471
4472
  }) => {
4472
4473
  const [r, i] = ie(() => ({
4473
4474
  backgroundColor: e ? rt[t].checkedColor : rt[at.Grey5].checkedColor,
@@ -4567,7 +4568,7 @@ const Nu = ({
4567
4568
  )
4568
4569
  }
4569
4570
  );
4570
- var oa = /* @__PURE__ */ ((e) => (e[e.Tiny = 1] = "Tiny", e[e.Small = 2] = "Small", e[e.Medium = 3] = "Medium", e[e.Big = 4] = "Big", e))(oa || {});
4571
+ var aa = /* @__PURE__ */ ((e) => (e[e.Tiny = 1] = "Tiny", e[e.Small = 2] = "Small", e[e.Medium = 3] = "Medium", e[e.Big = 4] = "Big", e))(aa || {});
4571
4572
  const je = {
4572
4573
  1: {
4573
4574
  fontSize: ze.Size1,
@@ -4602,7 +4603,7 @@ const je = {
4602
4603
  borderRadius: fe.Size7
4603
4604
  }
4604
4605
  };
4605
- var aa = /* @__PURE__ */ ((e) => (e[e.Filled = 1] = "Filled", e[e.Outlined = 2] = "Outlined", e))(aa || {});
4606
+ var ca = /* @__PURE__ */ ((e) => (e[e.Filled = 1] = "Filled", e[e.Outlined = 2] = "Outlined", e))(ca || {});
4606
4607
  const Ye = {
4607
4608
  1: {
4608
4609
  bgColor: K.Primary5,
@@ -4613,7 +4614,7 @@ const Ye = {
4613
4614
  2: {
4614
4615
  border: {
4615
4616
  borderColor: K.Primary5,
4616
- borderStyle: ho.Solid,
4617
+ borderStyle: po.Solid,
4617
4618
  borderWidth: bi.Size2
4618
4619
  },
4619
4620
  font: {
@@ -4631,8 +4632,8 @@ const Ye = {
4631
4632
  marginRight: u,
4632
4633
  fontSize: a,
4633
4634
  // style,
4634
- chipStyle: c = aa.Filled,
4635
- size: l = oa.Medium
4635
+ chipStyle: c = ca.Filled,
4636
+ size: l = aa.Medium
4636
4637
  }) => {
4637
4638
  var p, g, y, v, b, _, w, x, S, T, M, D, A;
4638
4639
  const { theme: h } = re(), f = ie({
@@ -4699,7 +4700,7 @@ const Ye = {
4699
4700
  }
4700
4701
  };
4701
4702
  var Nr = { exports: {} }, $r, _s;
4702
- function ca() {
4703
+ function ua() {
4703
4704
  return _s || (_s = 1, $r = {
4704
4705
  aliceblue: [240, 248, 255],
4705
4706
  antiquewhite: [250, 235, 215],
@@ -4878,7 +4879,7 @@ var Es;
4878
4879
  function Yu() {
4879
4880
  if (Es) return Nr.exports;
4880
4881
  Es = 1;
4881
- var e = ca(), t = qu(), n = Object.hasOwnProperty, r = /* @__PURE__ */ Object.create(null);
4882
+ var e = ua(), t = qu(), n = Object.hasOwnProperty, r = /* @__PURE__ */ Object.create(null);
4882
4883
  for (var i in e)
4883
4884
  n.call(e, i) && (r[e[i]] = i);
4884
4885
  var s = Nr.exports = {
@@ -4971,10 +4972,10 @@ function Yu() {
4971
4972
  return Nr.exports;
4972
4973
  }
4973
4974
  var Br, xs;
4974
- function ua() {
4975
+ function la() {
4975
4976
  if (xs) return Br;
4976
4977
  xs = 1;
4977
- const e = ca(), t = {};
4978
+ const e = ua(), t = {};
4978
4979
  for (const i of Object.keys(e))
4979
4980
  t[e[i]] = i;
4980
4981
  const n = {
@@ -5277,7 +5278,7 @@ var Ur, Cs;
5277
5278
  function Wu() {
5278
5279
  if (Cs) return Ur;
5279
5280
  Cs = 1;
5280
- const e = ua();
5281
+ const e = la();
5281
5282
  function t() {
5282
5283
  const s = {}, o = Object.keys(e);
5283
5284
  for (let u = o.length, a = 0; a < u; a++)
@@ -5325,7 +5326,7 @@ var Hr, ks;
5325
5326
  function Ku() {
5326
5327
  if (ks) return Hr;
5327
5328
  ks = 1;
5328
- const e = ua(), t = Wu(), n = {}, r = Object.keys(e);
5329
+ const e = la(), t = Wu(), n = {}, r = Object.keys(e);
5329
5330
  function i(o) {
5330
5331
  const u = function(...a) {
5331
5332
  const c = a[0];
@@ -5620,7 +5621,7 @@ function Zu() {
5620
5621
  return Gr = s, Gr;
5621
5622
  }
5622
5623
  var Xu = /* @__PURE__ */ Zu();
5623
- const Qu = /* @__PURE__ */ na(Xu), Ju = ({ size: e, color: t = K.Primary5, text: n }) => {
5624
+ const Qu = /* @__PURE__ */ ra(Xu), Ju = ({ size: e, color: t = K.Primary5, text: n }) => {
5624
5625
  let r = ee[K.Grey10];
5625
5626
  if (n && n !== "" && typeof t == "string") {
5626
5627
  const i = Qu(t);
@@ -5663,7 +5664,7 @@ function Er() {
5663
5664
  return e;
5664
5665
  }).apply(this, arguments);
5665
5666
  }
5666
- function la(e, t) {
5667
+ function fa(e, t) {
5667
5668
  if (e == null) return {};
5668
5669
  var n, r, i = {}, s = Object.keys(e);
5669
5670
  for (r = 0; r < s.length; r++) t.indexOf(n = s[r]) >= 0 || (i[n] = e[n]);
@@ -5689,8 +5690,8 @@ var Tn = function(e, t, n) {
5689
5690
  return { left: Tn((i.pageX - (r.left + hi(e).pageXOffset)) / r.width), top: Tn((i.pageY - (r.top + hi(e).pageYOffset)) / r.height) };
5690
5691
  }, As = function(e) {
5691
5692
  !gn(e) && e.preventDefault();
5692
- }, fa = le.memo(function(e) {
5693
- var t = e.onMove, n = e.onKey, r = la(e, ["onMove", "onKey"]), i = te(null), s = di(t), o = di(n), u = te(null), a = te(!1), c = Ne(function() {
5693
+ }, da = le.memo(function(e) {
5694
+ var t = e.onMove, n = e.onKey, r = fa(e, ["onMove", "onKey"]), i = te(null), s = di(t), o = di(n), u = te(null), a = te(!1), c = Ne(function() {
5694
5695
  var p = function(v) {
5695
5696
  As(v), (gn(v) ? v.touches.length > 0 : v.buttons > 0) && i.current ? s(Ts(i.current, v, u.current)) : y(!1);
5696
5697
  }, g = function() {
@@ -5722,7 +5723,7 @@ var Tn = function(e, t, n) {
5722
5723
  }, [f]), le.createElement("div", Er({}, r, { onTouchStart: l, onMouseDown: l, className: "react-colorful__interactive", ref: i, onKeyDown: h, tabIndex: 0, role: "slider" }));
5723
5724
  }), Fi = function(e) {
5724
5725
  return e.filter(Boolean).join(" ");
5725
- }, da = function(e) {
5726
+ }, ha = function(e) {
5726
5727
  var t = e.color, n = e.left, r = e.top, i = r === void 0 ? 0.5 : r, s = Fi(["react-colorful__pointer", e.className]);
5727
5728
  return le.createElement("div", { className: s, style: { top: 100 * i + "%", left: 100 * n + "%" } }, le.createElement("div", { className: "react-colorful__pointer-fill", style: { backgroundColor: t } }));
5728
5729
  }, ve = function(e, t, n) {
@@ -5755,24 +5756,24 @@ var Tn = function(e, t, n) {
5755
5756
  return { h: ve(60 * (u < 0 ? u + 6 : u)), s: ve(s ? o / s * 100 : 0), v: ve(s / 255 * 100), a: i };
5756
5757
  }, al = le.memo(function(e) {
5757
5758
  var t = e.hue, n = e.onChange, r = Fi(["react-colorful__hue", e.className]);
5758
- return le.createElement("div", { className: r }, le.createElement(fa, { onMove: function(i) {
5759
+ return le.createElement("div", { className: r }, le.createElement(da, { onMove: function(i) {
5759
5760
  n({ h: 360 * i.left });
5760
5761
  }, onKey: function(i) {
5761
5762
  n({ h: Tn(t + 360 * i.left, 0, 360) });
5762
- }, "aria-label": "Hue", "aria-valuenow": ve(t), "aria-valuemax": "360", "aria-valuemin": "0" }, le.createElement(da, { className: "react-colorful__hue-pointer", left: t / 360, color: mi({ h: t, s: 100, v: 100, a: 1 }) })));
5763
+ }, "aria-label": "Hue", "aria-valuenow": ve(t), "aria-valuemax": "360", "aria-valuemin": "0" }, le.createElement(ha, { className: "react-colorful__hue-pointer", left: t / 360, color: mi({ h: t, s: 100, v: 100, a: 1 }) })));
5763
5764
  }), cl = le.memo(function(e) {
5764
5765
  var t = e.hsva, n = e.onChange, r = { backgroundColor: mi({ h: t.h, s: 100, v: 100, a: 1 }) };
5765
- return le.createElement("div", { className: "react-colorful__saturation", style: r }, le.createElement(fa, { onMove: function(i) {
5766
+ return le.createElement("div", { className: "react-colorful__saturation", style: r }, le.createElement(da, { onMove: function(i) {
5766
5767
  n({ s: 100 * i.left, v: 100 - 100 * i.top });
5767
5768
  }, onKey: function(i) {
5768
5769
  n({ s: Tn(t.s + 100 * i.left, 0, 100), v: Tn(t.v - 100 * i.top, 0, 100) });
5769
- }, "aria-label": "Color", "aria-valuetext": "Saturation " + ve(t.s) + "%, Brightness " + ve(t.v) + "%" }, le.createElement(da, { className: "react-colorful__saturation-pointer", top: 1 - t.v / 100, left: t.s / 100, color: mi(t) })));
5770
- }), ha = function(e, t) {
5770
+ }, "aria-label": "Color", "aria-valuetext": "Saturation " + ve(t.s) + "%, Brightness " + ve(t.v) + "%" }, le.createElement(ha, { className: "react-colorful__saturation-pointer", top: 1 - t.v / 100, left: t.s / 100, color: mi(t) })));
5771
+ }), pa = function(e, t) {
5771
5772
  if (e === t) return !0;
5772
5773
  for (var n in e) if (e[n] !== t[n]) return !1;
5773
5774
  return !0;
5774
5775
  }, ul = function(e, t) {
5775
- return e.toLowerCase() === t.toLowerCase() || ha(pi(e), pi(t));
5776
+ return e.toLowerCase() === t.toLowerCase() || pa(pi(e), pi(t));
5776
5777
  };
5777
5778
  function ll(e, t, n) {
5778
5779
  var r = di(n), i = Z(function() {
@@ -5785,7 +5786,7 @@ function ll(e, t, n) {
5785
5786
  }
5786
5787
  }, [t, e]), q(function() {
5787
5788
  var c;
5788
- ha(s, u.current.hsva) || e.equal(c = e.fromHsva(s), u.current.color) || (u.current = { hsva: s, color: c }, r(c));
5789
+ pa(s, u.current.hsva) || e.equal(c = e.fromHsva(s), u.current.color) || (u.current = { hsva: s, color: c }, r(c));
5789
5790
  }, [s, e, r]);
5790
5791
  var a = Le(function(c) {
5791
5792
  o(function(l) {
@@ -5807,7 +5808,7 @@ var fl = typeof window < "u" ? Ks : q, dl = function() {
5807
5808
  }
5808
5809
  }, []);
5809
5810
  }, pl = function(e) {
5810
- var t = e.className, n = e.colorModel, r = e.color, i = r === void 0 ? n.defaultColor : r, s = e.onChange, o = la(e, ["className", "colorModel", "color", "onChange"]), u = te(null);
5811
+ var t = e.className, n = e.colorModel, r = e.color, i = r === void 0 ? n.defaultColor : r, s = e.onChange, o = fa(e, ["className", "colorModel", "color", "onChange"]), u = te(null);
5811
5812
  hl(u);
5812
5813
  var a = ll(n, i, s), c = a[0], l = a[1], h = Fi(["react-colorful", t]);
5813
5814
  return le.createElement("div", Er({}, o, { ref: u, className: h }), le.createElement(cl, { hsva: c, onChange: l }), le.createElement(al, { hue: c.h, onChange: l, className: "react-colorful__last-control" }));
@@ -5890,7 +5891,7 @@ function wl(e, t = () => {
5890
5891
  document && document.removeEventListener(n, r, !1);
5891
5892
  }), [n]);
5892
5893
  }
5893
- const pa = {
5894
+ const ma = {
5894
5895
  // [Portals.GlobalEventNotification]: { id: "#papnot", html: <div id="p-ap-not" ></div> },
5895
5896
  // [Portals.Modals]: {id: "#pmodmodify", html: <div id="p-mod-modify" ></div>}
5896
5897
  [er.GlobalEventNotification]: {
@@ -5904,7 +5905,7 @@ const pa = {
5904
5905
  n(!1);
5905
5906
  }), []), t ? Zs(
5906
5907
  e,
5907
- document.querySelector(pa[er.Modals].id) || document.body
5908
+ document.querySelector(ma[er.Modals].id) || document.body
5908
5909
  ) : null;
5909
5910
  }, El = "_modalBgAnimated_o2uzj_11", xl = "_modalCardCopyOriAnimated_o2uzj_18", Cl = "_wrapperContainer_o2uzj_49", yn = {
5910
5911
  modalBgAnimated: El,
@@ -6000,7 +6001,7 @@ function ne(e) {
6000
6001
  }
6001
6002
  return e;
6002
6003
  }
6003
- const ma = {
6004
+ const ga = {
6004
6005
  pointer: {
6005
6006
  start: "down",
6006
6007
  change: "move",
@@ -6030,7 +6031,7 @@ function zl(e = !1, t) {
6030
6031
  return e && !Ml.includes(t);
6031
6032
  }
6032
6033
  function Ll(e, t = "", n = !1) {
6033
- const r = ma[e], i = r && r[t] || t;
6034
+ const r = ga[e], i = r && r[t] || t;
6034
6035
  return "on" + Ps(e) + Ps(i) + (zl(n, i) ? "Capture" : "");
6035
6036
  }
6036
6037
  const Pl = ["gotpointercapture", "lostpointercapture"];
@@ -6046,13 +6047,13 @@ function Dl(e) {
6046
6047
  };
6047
6048
  }
6048
6049
  function Rl(e, t = "") {
6049
- const n = ma[e], r = n && n[t] || t;
6050
+ const n = ga[e], r = n && n[t] || t;
6050
6051
  return e + r;
6051
6052
  }
6052
6053
  function xr(e) {
6053
6054
  return "touches" in e;
6054
6055
  }
6055
- function ga(e) {
6056
+ function ya(e) {
6056
6057
  return xr(e) ? "touch" : "pointerType" in e ? e.pointerType : "mouse";
6057
6058
  }
6058
6059
  function Nl(e) {
@@ -6064,7 +6065,7 @@ function Nl(e) {
6064
6065
  function $l(e) {
6065
6066
  return e.type === "touchend" || e.type === "touchcancel" ? e.changedTouches : e.targetTouches;
6066
6067
  }
6067
- function ya(e) {
6068
+ function va(e) {
6068
6069
  return xr(e) ? $l(e)[0] : e;
6069
6070
  }
6070
6071
  function gi(e, t) {
@@ -6087,11 +6088,11 @@ function Ds(e, t) {
6087
6088
  return gi(n, r);
6088
6089
  }
6089
6090
  function Vr(e) {
6090
- const t = ya(e);
6091
+ const t = va(e);
6091
6092
  return xr(e) ? t.identifier : t.pointerId;
6092
6093
  }
6093
6094
  function Rs(e) {
6094
- const t = ya(e);
6095
+ const t = va(e);
6095
6096
  return [t.clientX, t.clientY];
6096
6097
  }
6097
6098
  const Ns = 40, $s = 800;
@@ -6138,7 +6139,7 @@ function Fs(e, t) {
6138
6139
  return Object.assign({}, t, e || {});
6139
6140
  }
6140
6141
  const Gl = 32;
6141
- class va {
6142
+ class ba {
6142
6143
  constructor(t, n, r) {
6143
6144
  this.ctrl = t, this.args = n, this.key = r, this.state || (this.state = {}, this.computeValues([0, 0]), this.computeInitial(), this.init && this.init(), this.reset());
6144
6145
  }
@@ -6242,7 +6243,7 @@ function Vl([e, t], n) {
6242
6243
  if (i > r && i > n)
6243
6244
  return "y";
6244
6245
  }
6245
- class ql extends va {
6246
+ class ql extends ba {
6246
6247
  constructor(...t) {
6247
6248
  super(...t), be(this, "aliasKey", "xy");
6248
6249
  }
@@ -6261,7 +6262,7 @@ class ql extends va {
6261
6262
  axisIntent(t) {
6262
6263
  const n = this.state, r = this.config;
6263
6264
  if (!n.axis && t) {
6264
- const i = typeof r.axisThreshold == "object" ? r.axisThreshold[ga(t)] : r.axisThreshold;
6265
+ const i = typeof r.axisThreshold == "object" ? r.axisThreshold[ya(t)] : r.axisThreshold;
6265
6266
  n.axis = Vl(n._movement, i);
6266
6267
  }
6267
6268
  n._blocked = (r.lockDirection || !!r.axis) && !n.axis || !!r.axis && r.axis !== n.axis;
@@ -6404,7 +6405,7 @@ class Wl extends ql {
6404
6405
  const n = this.config, r = this.state;
6405
6406
  if (t.buttons != null && (Array.isArray(n.pointerButtons) ? !n.pointerButtons.includes(t.buttons) : n.pointerButtons !== -1 && n.pointerButtons !== t.buttons)) return;
6406
6407
  const i = this.ctrl.setEventIds(t);
6407
- n.pointerCapture && t.target.setPointerCapture(t.pointerId), !(i && i.size > 1 && r._pointerActive) && (this.start(t), this.setupPointer(t), r._pointerId = Vr(t), r._pointerActive = !0, this.computeValues(Rs(t)), this.computeInitial(), n.preventScrollAxis && ga(t) !== "mouse" ? (r._active = !1, this.setupScrollPrevention(t)) : n.delay > 0 ? (this.setupDelayTrigger(t), n.triggerAllEvents && (this.compute(t), this.emit())) : this.startPointerDrag(t));
6408
+ n.pointerCapture && t.target.setPointerCapture(t.pointerId), !(i && i.size > 1 && r._pointerActive) && (this.start(t), this.setupPointer(t), r._pointerId = Vr(t), r._pointerActive = !0, this.computeValues(Rs(t)), this.computeInitial(), n.preventScrollAxis && ya(t) !== "mouse" ? (r._active = !1, this.setupScrollPrevention(t)) : n.delay > 0 ? (this.setupDelayTrigger(t), n.triggerAllEvents && (this.compute(t), this.emit())) : this.startPointerDrag(t));
6408
6409
  }
6409
6410
  startPointerDrag(t) {
6410
6411
  const n = this.state;
@@ -6512,11 +6513,11 @@ function Kl(e) {
6512
6513
  "persist" in e && typeof e.persist == "function" && e.persist();
6513
6514
  }
6514
6515
  const Ln = typeof window < "u" && window.document && window.document.createElement;
6515
- function ba() {
6516
+ function _a() {
6516
6517
  return Ln && "ontouchstart" in window;
6517
6518
  }
6518
6519
  function Zl() {
6519
- return ba() || Ln && window.navigator.maxTouchPoints > 1;
6520
+ return _a() || Ln && window.navigator.maxTouchPoints > 1;
6520
6521
  }
6521
6522
  function Xl() {
6522
6523
  return Ln && "onpointerdown" in window;
@@ -6534,7 +6535,7 @@ function Jl() {
6534
6535
  const Oe = {
6535
6536
  isBrowser: Ln,
6536
6537
  gesture: Jl(),
6537
- touch: ba(),
6538
+ touch: _a(),
6538
6539
  touchscreen: Zl(),
6539
6540
  pointer: Xl(),
6540
6541
  pointerLock: Ql()
@@ -6542,7 +6543,7 @@ const Oe = {
6542
6543
  mouse: 0,
6543
6544
  touch: 0,
6544
6545
  pen: 8
6545
- }, _a = ne(ne({}, zn), {}, {
6546
+ }, wa = ne(ne({}, zn), {}, {
6546
6547
  device(e, t, {
6547
6548
  pointer: {
6548
6549
  touch: n = !1,
@@ -6603,7 +6604,7 @@ const Oe = {
6603
6604
  return e;
6604
6605
  }
6605
6606
  });
6606
- process.env.NODE_ENV === "development" && Object.assign(_a, {
6607
+ process.env.NODE_ENV === "development" && Object.assign(wa, {
6607
6608
  useTouch(e) {
6608
6609
  if (e !== void 0)
6609
6610
  throw Error("[@use-gesture]: `useTouch` option has been renamed to `pointer.touch`. Use it as in `{ pointer: { touch: true } }`.");
@@ -6635,7 +6636,7 @@ function af(e) {
6635
6636
  (t < 0 && r > 0 && s < 0 || t > 0 && r < 0 && s > 0) && (e._movement[0] = e._movementBound[0]), (n < 0 && i > 0 && o < 0 || n > 0 && i < 0 && o > 0) && (e._movement[1] = e._movementBound[1]);
6636
6637
  }
6637
6638
  const cf = 30, uf = 100;
6638
- class lf extends va {
6639
+ class lf extends ba {
6639
6640
  constructor(...t) {
6640
6641
  super(...t), be(this, "ingKey", "pinching"), be(this, "aliasKey", "da");
6641
6642
  }
@@ -6814,13 +6815,13 @@ ne(ne({}, zn), {}, {
6814
6815
  mouseOnly: (e = !0) => e
6815
6816
  });
6816
6817
  const Ui = /* @__PURE__ */ new Map(), yi = /* @__PURE__ */ new Map();
6817
- function wa(e) {
6818
+ function Sa(e) {
6818
6819
  Ui.set(e.key, e.engine), yi.set(e.key, e.resolver);
6819
6820
  }
6820
- const Sa = {
6821
+ const Ea = {
6821
6822
  key: "drag",
6822
6823
  engine: Wl,
6823
- resolver: _a
6824
+ resolver: wa
6824
6825
  }, df = {
6825
6826
  key: "pinch",
6826
6827
  engine: lf,
@@ -6921,7 +6922,7 @@ function yf(e, t, n = {}) {
6921
6922
  }
6922
6923
  return n;
6923
6924
  }
6924
- class Ea {
6925
+ class xa {
6925
6926
  constructor(t, n) {
6926
6927
  be(this, "_listeners", /* @__PURE__ */ new Set()), this._ctrl = t, this._gestureKey = n;
6927
6928
  }
@@ -6954,7 +6955,7 @@ class vf {
6954
6955
  }
6955
6956
  class bf {
6956
6957
  constructor(t) {
6957
- be(this, "gestures", /* @__PURE__ */ new Set()), be(this, "_targetEventStore", new Ea(this)), be(this, "gestureEventStores", {}), be(this, "gestureTimeoutStores", {}), be(this, "handlers", {}), be(this, "config", {}), be(this, "pointerIds", /* @__PURE__ */ new Set()), be(this, "touchIds", /* @__PURE__ */ new Set()), be(this, "state", {
6958
+ be(this, "gestures", /* @__PURE__ */ new Set()), be(this, "_targetEventStore", new xa(this)), be(this, "gestureEventStores", {}), be(this, "gestureTimeoutStores", {}), be(this, "handlers", {}), be(this, "config", {}), be(this, "pointerIds", /* @__PURE__ */ new Set()), be(this, "touchIds", /* @__PURE__ */ new Set()), be(this, "state", {
6958
6959
  shared: {
6959
6960
  shiftKey: !1,
6960
6961
  metaKey: !1,
@@ -7020,7 +7021,7 @@ class bf {
7020
7021
  }
7021
7022
  }
7022
7023
  function Kt(e, t) {
7023
- e.gestures.add(t), e.gestureEventStores[t] = new Ea(e, t), e.gestureTimeoutStores[t] = new vf();
7024
+ e.gestures.add(t), e.gestureEventStores[t] = new xa(e, t), e.gestureTimeoutStores[t] = new vf();
7024
7025
  }
7025
7026
  function _f(e, t) {
7026
7027
  t.drag && Kt(e, "drag"), t.wheel && Kt(e, "wheel"), t.scroll && Kt(e, "scroll"), t.move && Kt(e, "move"), t.pinch && Kt(e, "pinch"), t.hover && Kt(e, "hover");
@@ -7059,28 +7060,28 @@ function Ef(e, t) {
7059
7060
  nativeHandlers: r
7060
7061
  };
7061
7062
  }
7062
- function xa(e, t = {}, n, r) {
7063
+ function Ca(e, t = {}, n, r) {
7063
7064
  const i = le.useMemo(() => new bf(e), []);
7064
7065
  if (i.applyHandlers(e, r), i.applyConfig(t, n), le.useEffect(i.effect.bind(i)), le.useEffect(() => i.clean.bind(i), []), t.target === void 0)
7065
7066
  return i.bind.bind(i);
7066
7067
  }
7067
- function Ca(e, t) {
7068
- return wa(Sa), xa({
7068
+ function ka(e, t) {
7069
+ return Sa(Ea), Ca({
7069
7070
  drag: e
7070
7071
  }, t || {}, "drag");
7071
7072
  }
7072
7073
  function xf(e) {
7073
- return e.forEach(wa), function(n, r) {
7074
+ return e.forEach(Sa), function(n, r) {
7074
7075
  const {
7075
7076
  handlers: i,
7076
7077
  nativeHandlers: s,
7077
7078
  config: o
7078
7079
  } = Ef(n, r || {});
7079
- return xa(i, o, void 0, s);
7080
+ return Ca(i, o, void 0, s);
7080
7081
  };
7081
7082
  }
7082
7083
  const Cf = ({ closeModal: e, modalStyles: t, children: n }) => {
7083
- const r = ji(() => e()), [i, s] = ie(() => ({ y: 0 })), o = Ca(
7084
+ const r = ji(() => e()), [i, s] = ie(() => ({ y: 0 })), o = ka(
7084
7085
  ({ velocity: [, u], last: a, down: c, movement: [, l], cancel: h, type: f }) => {
7085
7086
  typeof f == "string" && (f.includes("pointer") || f.includes("mouse")) || (a && u < 0.3 ? h() : a && u > 0.3 && e(), l < -1e-3 ? h() : l > 450 && e(), s.start({ y: c ? l : 0, immediate: c }));
7086
7087
  },
@@ -7216,7 +7217,7 @@ function Bf(e, t, n) {
7216
7217
  return n === void 0 && (n = t, t = void 0), n !== void 0 && (n = qr(n), n = n === n ? n : 0), t !== void 0 && (t = qr(t), t = t === t ? t : 0), $f(qr(e), t, n);
7217
7218
  }
7218
7219
  var Se;
7219
- const ka = vi({
7220
+ const Ia = vi({
7220
7221
  galleryImages: Se,
7221
7222
  imgIndex: 0,
7222
7223
  props: Se,
@@ -7234,8 +7235,8 @@ const ka = vi({
7234
7235
  handleZoomReset: Se
7235
7236
  }), Uf = ({ children: e }) => {
7236
7237
  const t = Hf();
7237
- return /* @__PURE__ */ d(ka.Provider, { value: t, children: e });
7238
- }, Hi = () => An(ka);
7238
+ return /* @__PURE__ */ d(Ia.Provider, { value: t, children: e });
7239
+ }, Hi = () => An(Ia);
7239
7240
  function Hf() {
7240
7241
  const [e, t] = Z([]), [n, r] = Z(0), [i, { width: s }] = qe(), [o, u] = Z(!1), [a, c] = Ri(
7241
7242
  e.length,
@@ -7245,7 +7246,7 @@ function Hf() {
7245
7246
  display: "block"
7246
7247
  }),
7247
7248
  [s]
7248
- ), l = Ca(
7249
+ ), l = ka(
7249
7250
  ({
7250
7251
  active: S,
7251
7252
  movement: [T],
@@ -7400,12 +7401,12 @@ const Gf = ({ openMenu: e = !0 }) => {
7400
7401
  {
7401
7402
  name: "",
7402
7403
  icon: e,
7403
- buttonSize: po.Big,
7404
+ buttonSize: mo.Big,
7404
7405
  clickAction: t
7405
7406
  }
7406
7407
  ) }), Vf = "_ZAnimated_10d05_1", qf = {
7407
7408
  ZAnimated: Vf
7408
- }, Yf = xf([Sa, df]), Wf = ({ children: e }) => {
7409
+ }, Yf = xf([Ea, df]), Wf = ({ children: e }) => {
7409
7410
  const { imgIndex: t, isZooming: n, handleSetIsZooming: r, manualZoomScale: i } = Hi();
7410
7411
  q(() => {
7411
7412
  const a = (c) => c.preventDefault();
@@ -7545,7 +7546,7 @@ const Gf = ({ openMenu: e = !0 }) => {
7545
7546
  position: "relative"
7546
7547
  },
7547
7548
  children: i.map(
7548
- ({ x: c, display: l, scale: h }, f) => /* @__PURE__ */ za(
7549
+ ({ x: c, display: l, scale: h }, f) => /* @__PURE__ */ La(
7549
7550
  C,
7550
7551
  {
7551
7552
  ...r(),
@@ -7608,7 +7609,7 @@ const Gf = ({ openMenu: e = !0 }) => {
7608
7609
  n(!1);
7609
7610
  }), []), t ? Zs(
7610
7611
  e,
7611
- document.querySelector(pa[er.GlobalEventNotification].id) || document.body
7612
+ document.querySelector(ma[er.GlobalEventNotification].id) || document.body
7612
7613
  ) : null;
7613
7614
  }, nd = "_iconContainer_1wxn3_12", rd = "_desktop_1wxn3_13", id = "_mobile_1wxn3_18", sd = "_iconContainerDesktop_1wxn3_25", od = "_iconContainerMobile_1wxn3_34", Ys = {
7614
7615
  iconContainer: nd,
@@ -7816,7 +7817,7 @@ const Gf = ({ openMenu: e = !0 }) => {
7816
7817
  function Wr(e, t) {
7817
7818
  e && (typeof e == "function" ? e(t) : e.current = t);
7818
7819
  }
7819
- function Ia(e, t) {
7820
+ function Ta(e, t) {
7820
7821
  return q(() => (Wr(t, e.current), () => {
7821
7822
  Wr(t, null);
7822
7823
  }), [t]), (r) => {
@@ -7850,14 +7851,14 @@ const ud = ({ inputHelper: e }) => {
7850
7851
  ]
7851
7852
  }
7852
7853
  );
7853
- }, ld = "_inputtext_rg89u_1", fd = "_inputLabel_rg89u_9", dd = "_showHidePassword_rg89u_41", Ta = {
7854
+ }, ld = "_inputtext_rg89u_1", fd = "_inputLabel_rg89u_9", dd = "_showHidePassword_rg89u_41", Aa = {
7854
7855
  inputtext: ld,
7855
7856
  inputLabel: fd,
7856
7857
  showHidePassword: dd
7857
7858
  }, hd = ({ isShow: e, handleShowHideText: t }) => /* @__PURE__ */ d(
7858
7859
  C,
7859
7860
  {
7860
- className: Ta.showHidePassword,
7861
+ className: Aa.showHidePassword,
7861
7862
  style: {
7862
7863
  position: "absolute",
7863
7864
  bottom: ".75rem",
@@ -7931,7 +7932,7 @@ const ud = ({ inputHelper: e }) => {
7931
7932
  ref: M,
7932
7933
  ...D
7933
7934
  }) => {
7934
- const A = te(null), L = Ia(A, M);
7935
+ const A = te(null), L = Ta(A, M);
7935
7936
  q(() => {
7936
7937
  if (i !== Fn.Disabled) {
7937
7938
  if (o) {
@@ -8022,7 +8023,7 @@ const ud = ({ inputHelper: e }) => {
8022
8023
  onChange: g ? U : void 0,
8023
8024
  onFocus: V,
8024
8025
  onBlur: G,
8025
- className: Ta.inputtext,
8026
+ className: Aa.inputtext,
8026
8027
  ...D
8027
8028
  }
8028
8029
  ),
@@ -8114,7 +8115,7 @@ const yd = ({
8114
8115
  ref: w,
8115
8116
  ...x
8116
8117
  }) => {
8117
- const S = te(null), T = Ia(S, w);
8118
+ const S = te(null), T = Ta(S, w);
8118
8119
  gd(S, n);
8119
8120
  const M = Le(
8120
8121
  async (A) => {
@@ -8172,7 +8173,7 @@ const yd = ({
8172
8173
  name: t,
8173
8174
  value: n,
8174
8175
  required: s,
8175
- outlineStyle: Ka.None,
8176
+ textOutlineStyle: Ka.None,
8176
8177
  resize: Za.None,
8177
8178
  onChange: l,
8178
8179
  onFocus: D,
@@ -8512,7 +8513,7 @@ const zd = ({
8512
8513
  }
8513
8514
  })(
8514
8515
  (s, o) => o && /* @__PURE__ */ d(
8515
- ta,
8516
+ na,
8516
8517
  {
8517
8518
  style: {
8518
8519
  ...s,
@@ -8547,7 +8548,7 @@ const zd = ({
8547
8548
  }
8548
8549
  })(
8549
8550
  (s, o) => o && /* @__PURE__ */ d(
8550
- ta,
8551
+ na,
8551
8552
  {
8552
8553
  style: {
8553
8554
  ...s,
@@ -8682,7 +8683,7 @@ const zd = ({
8682
8683
  doubleZero: t,
8683
8684
  title: n,
8684
8685
  selectedValueStyles: r = ei.Text,
8685
- sizes: i = go.Medium
8686
+ sizes: i = yo.Medium
8686
8687
  }) => (e.length === 1 && e[0].text, e.length < 1 ? /* @__PURE__ */ d(Bd, { sizes: i, title: n }) : r === ei.Text ? /* @__PURE__ */ d(Ce, { children: e.map((s, o) => /* @__PURE__ */ d(he, { fontSize: tr[i].font.size, children: s.text }, o)) }) : (
8687
8688
  // @todo_20240503_1350("chip")
8688
8689
  /* @__PURE__ */ d(Ce, { children: e.map((s, o) => /* @__PURE__ */ d(he, { fontSize: tr[i].font.size, children: s.text }, o)) })
@@ -8696,7 +8697,7 @@ const zd = ({
8696
8697
  // selectedItemIdx,
8697
8698
  selectedValues: s,
8698
8699
  selectedValueStyles: o,
8699
- sizes: u = go.Medium
8700
+ sizes: u = yo.Medium
8700
8701
  }) => /* @__PURE__ */ d(
8701
8702
  C,
8702
8703
  {
@@ -8807,7 +8808,7 @@ const a0 = ({
8807
8808
  setSelectedIdx: f,
8808
8809
  setInput: p
8809
8810
  }) => {
8810
- const [g, y] = Z(!1), [v, b] = La(Gd, {
8811
+ const [g, y] = Z(!1), [v, b] = Pa(Gd, {
8811
8812
  selectState: a,
8812
8813
  openDropdown: !1,
8813
8814
  selectedItemIdx: r,
@@ -9325,9 +9326,9 @@ export {
9325
9326
  Sh as F__TextAreaRef,
9326
9327
  yu as F__TextInput,
9327
9328
  wh as F__TextInputRef,
9328
- ta as F__Ul,
9329
+ na as F__Ul,
9329
9330
  xh as F__UlRef,
9330
- pa as FunctionalUiPortals,
9331
+ ma as FunctionalUiPortals,
9331
9332
  e0 as GalleryModal,
9332
9333
  ed as GlobalEventPortal,
9333
9334
  t0 as InputImage,