fiboui 2.9.6 → 2.9.14

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/server.js CHANGED
@@ -114,7 +114,7 @@ function we(e, o, t = 0) {
114
114
  o.push(vo(e));
115
115
  }
116
116
  }
117
- function Ct(e) {
117
+ function zt(e) {
118
118
  if (e == null)
119
119
  return [];
120
120
  const o = typeof e == "function" ? e() : e, t = [];
@@ -146,7 +146,7 @@ function Lr(e) {
146
146
  const o = e;
147
147
  return typeof o.from == "object" && o.from !== null && typeof o.to == "object" && o.to !== null;
148
148
  }
149
- const De = /* @__PURE__ */ new Set([
149
+ const je = /* @__PURE__ */ new Set([
150
150
  "opacity",
151
151
  "zIndex",
152
152
  "z-index",
@@ -164,13 +164,13 @@ const De = /* @__PURE__ */ new Set([
164
164
  "scale",
165
165
  "scaleX",
166
166
  "scaleY"
167
- ]), je = /* @__PURE__ */ new Set(["rotate", "rotateX", "rotateY", "rotateZ"]), Pr = /^-{0,2}[a-zA-Z_][\w-]*$/;
167
+ ]), De = /* @__PURE__ */ new Set(["rotate", "rotateX", "rotateY", "rotateZ"]), Pr = /^-{0,2}[a-zA-Z_][\w-]*$/;
168
168
  function Ge(e) {
169
169
  return Object.entries(e).map(([o, t]) => {
170
170
  const i = o.replace(/[A-Z]/g, (n) => `-${n.toLowerCase()}`);
171
171
  if (!Pr.test(i)) return "";
172
172
  if (typeof t == "number")
173
- return Number.isFinite(t) ? De.has(o) || De.has(i) ? `${i}: ${t}` : je.has(o) || je.has(i) ? `${i}: ${t}deg` : `${i}: ${t}px` : "";
173
+ return Number.isFinite(t) ? je.has(o) || je.has(i) ? `${i}: ${t}` : De.has(o) || De.has(i) ? `${i}: ${t}deg` : `${i}: ${t}px` : "";
174
174
  const r = String(t);
175
175
  return /[{};]/.test(r) ? "" : `${i}: ${r}`;
176
176
  }).filter(Boolean).join("; ");
@@ -399,14 +399,14 @@ var Xe;
399
399
  } : function(b, p) {
400
400
  return b[p];
401
401
  }
402
- }, g = Object.getPrototypeOf(Function), h = typeof Map == "function" && typeof Map.prototype.entries == "function" ? Map : Pt(), w = typeof Set == "function" && typeof Set.prototype.entries == "function" ? Set : Ot(), S = typeof WeakMap == "function" ? WeakMap : qo(), y = r ? Symbol.for("@reflect-metadata:registry") : void 0, x = $t(), v = Mt(x);
402
+ }, g = Object.getPrototypeOf(Function), h = typeof Map == "function" && typeof Map.prototype.entries == "function" ? Map : Pt(), w = typeof Set == "function" && typeof Set.prototype.entries == "function" ? Set : Ot(), S = typeof WeakMap == "function" ? WeakMap : Zo(), y = r ? Symbol.for("@reflect-metadata:registry") : void 0, x = $t(), v = Mt(x);
403
403
  function T(b, p, m, _) {
404
404
  if (N(m)) {
405
405
  if (!Eo(b))
406
406
  throw new TypeError();
407
- if (!bt(p))
407
+ if (!ht(p))
408
408
  throw new TypeError();
409
- return to(b, p);
409
+ return eo(b, p);
410
410
  } else {
411
411
  if (!Eo(b))
412
412
  throw new TypeError();
@@ -486,11 +486,11 @@ var Xe;
486
486
  return N(_) ? !1 : _.OrdinaryDeleteMetadata(b, p, m);
487
487
  }
488
488
  o("deleteMetadata", K);
489
- function to(b, p) {
489
+ function eo(b, p) {
490
490
  for (var m = b.length - 1; m >= 0; --m) {
491
491
  var _ = b[m], L = _(p);
492
492
  if (!N(L) && !q(L)) {
493
- if (!bt(L))
493
+ if (!ht(L))
494
494
  throw new TypeError();
495
495
  p = L;
496
496
  }
@@ -499,7 +499,7 @@ var Xe;
499
499
  }
500
500
  function po(b, p, m, _) {
501
501
  for (var L = b.length - 1; L >= 0; --L) {
502
- var eo = b[L], ao = eo(p, m, _);
502
+ var io = b[L], ao = io(p, m, _);
503
503
  if (!N(ao) && !q(ao)) {
504
504
  if (!Y(ao))
505
505
  throw new TypeError();
@@ -512,7 +512,7 @@ var Xe;
512
512
  var _ = fo(b, p, m);
513
513
  if (_)
514
514
  return !0;
515
- var L = Ko(p);
515
+ var L = qo(p);
516
516
  return q(L) ? !1 : no(b, L, m);
517
517
  }
518
518
  function fo(b, p, m) {
@@ -528,7 +528,7 @@ var Xe;
528
528
  var _ = fo(b, p, m);
529
529
  if (_)
530
530
  return oo(b, p, m);
531
- var L = Ko(p);
531
+ var L = qo(p);
532
532
  if (!q(L))
533
533
  return so(b, L, m);
534
534
  }
@@ -552,7 +552,7 @@ var Xe;
552
552
  L.OrdinaryDefineOwnMetadata(b, p, m, _);
553
553
  }
554
554
  function So(b, p) {
555
- var m = yo(b, p), _ = Ko(b);
555
+ var m = yo(b, p), _ = qo(b);
556
556
  if (_ === null)
557
557
  return m;
558
558
  var L = So(_, p);
@@ -560,13 +560,13 @@ var Xe;
560
560
  return m;
561
561
  if (m.length <= 0)
562
562
  return L;
563
- for (var eo = new w(), ao = [], j = 0, z = m; j < z.length; j++) {
564
- var E = z[j], B = eo.has(E);
565
- B || (eo.add(E), ao.push(E));
563
+ for (var io = new w(), ao = [], D = 0, z = m; D < z.length; D++) {
564
+ var E = z[D], B = io.has(E);
565
+ B || (io.add(E), ao.push(E));
566
566
  }
567
567
  for (var F = 0, G = L; F < G.length; F++) {
568
- var E = G[F], B = eo.has(E);
569
- B || (eo.add(E), ao.push(E));
568
+ var E = G[F], B = io.has(E);
569
+ B || (io.add(E), ao.push(E));
570
570
  }
571
571
  return ao;
572
572
  }
@@ -579,7 +579,7 @@ var Xe;
579
579
  );
580
580
  return m ? m.OrdinaryOwnMetadataKeys(b, p) : [];
581
581
  }
582
- function jo(b) {
582
+ function Do(b) {
583
583
  if (b === null)
584
584
  return 1;
585
585
  switch (typeof b) {
@@ -612,7 +612,7 @@ var Xe;
612
612
  return typeof b == "object" ? b !== null : typeof b == "function";
613
613
  }
614
614
  function Go(b, p) {
615
- switch (jo(b)) {
615
+ switch (Do(b)) {
616
616
  case 0:
617
617
  return b;
618
618
  case 1:
@@ -626,7 +626,7 @@ var Xe;
626
626
  case 5:
627
627
  return b;
628
628
  }
629
- var m = "string", _ = ht(b, n);
629
+ var m = "string", _ = dt(b, n);
630
630
  if (_ !== void 0) {
631
631
  var L = _.call(b, m);
632
632
  if (Y(L))
@@ -638,9 +638,9 @@ var Xe;
638
638
  function Q(b, p) {
639
639
  var m, _, L;
640
640
  {
641
- var eo = b.toString;
642
- if (wo(eo)) {
643
- var _ = eo.call(b);
641
+ var io = b.toString;
642
+ if (wo(io)) {
643
+ var _ = io.call(b);
644
644
  if (!Y(_))
645
645
  return _;
646
646
  }
@@ -669,11 +669,11 @@ var Xe;
669
669
  function wo(b) {
670
670
  return typeof b == "function";
671
671
  }
672
- function bt(b) {
672
+ function ht(b) {
673
673
  return typeof b == "function";
674
674
  }
675
675
  function Ft(b) {
676
- switch (jo(b)) {
676
+ switch (Do(b)) {
677
677
  case 3:
678
678
  return !0;
679
679
  case 4:
@@ -682,10 +682,10 @@ var Xe;
682
682
  return !1;
683
683
  }
684
684
  }
685
- function Uo(b, p) {
685
+ function Ko(b, p) {
686
686
  return b === p || b !== b && p !== p;
687
687
  }
688
- function ht(b, p) {
688
+ function dt(b, p) {
689
689
  var m = b[p];
690
690
  if (m != null) {
691
691
  if (!wo(m))
@@ -693,8 +693,8 @@ var Xe;
693
693
  return m;
694
694
  }
695
695
  }
696
- function dt(b) {
697
- var p = ht(b, s);
696
+ function pt(b) {
697
+ var p = dt(b, s);
698
698
  if (!wo(p))
699
699
  throw new TypeError();
700
700
  var m = p.call(b);
@@ -702,18 +702,18 @@ var Xe;
702
702
  throw new TypeError();
703
703
  return m;
704
704
  }
705
- function pt(b) {
705
+ function xt(b) {
706
706
  return b.value;
707
707
  }
708
- function xt(b) {
708
+ function gt(b) {
709
709
  var p = b.next();
710
710
  return p.done ? !1 : p;
711
711
  }
712
- function gt(b) {
712
+ function mt(b) {
713
713
  var p = b.return;
714
714
  p && p.call(b);
715
715
  }
716
- function Ko(b) {
716
+ function qo(b) {
717
717
  var p = Object.getPrototypeOf(b);
718
718
  if (typeof b != "function" || b === g || p !== g)
719
719
  return p;
@@ -726,14 +726,14 @@ var Xe;
726
726
  function Nt() {
727
727
  var b;
728
728
  !N(y) && typeof t.Reflect < "u" && !(y in t.Reflect) && typeof t.Reflect.defineMetadata == "function" && (b = Lt(t.Reflect));
729
- var p, m, _, L = new S(), eo = {
729
+ var p, m, _, L = new S(), io = {
730
730
  registerProvider: ao,
731
731
  getProvider: z,
732
732
  setProvider: B
733
733
  };
734
- return eo;
734
+ return io;
735
735
  function ao(F) {
736
- if (!Object.isExtensible(eo))
736
+ if (!Object.isExtensible(io))
737
737
  throw new Error("Cannot add provider to a frozen registry.");
738
738
  switch (!0) {
739
739
  case b === F:
@@ -753,7 +753,7 @@ var Xe;
753
753
  break;
754
754
  }
755
755
  }
756
- function j(F, G) {
756
+ function D(F, G) {
757
757
  if (!N(p)) {
758
758
  if (p.isProviderFor(F, G))
759
759
  return p;
@@ -761,13 +761,13 @@ var Xe;
761
761
  if (m.isProviderFor(F, G))
762
762
  return p;
763
763
  if (!N(_))
764
- for (var Z = dt(_); ; ) {
765
- var io = xt(Z);
766
- if (!io)
764
+ for (var Z = pt(_); ; ) {
765
+ var ro = gt(Z);
766
+ if (!ro)
767
767
  return;
768
- var ko = pt(io);
768
+ var ko = xt(ro);
769
769
  if (ko.isProviderFor(F, G))
770
- return gt(Z), ko;
770
+ return mt(Z), ko;
771
771
  }
772
772
  }
773
773
  }
@@ -775,8 +775,8 @@ var Xe;
775
775
  return b;
776
776
  }
777
777
  function z(F, G) {
778
- var Z = L.get(F), io;
779
- return N(Z) || (io = Z.get(G)), N(io) && (io = j(F, G), N(io) || (N(Z) && (Z = new h(), L.set(F, Z)), Z.set(G, io))), io;
778
+ var Z = L.get(F), ro;
779
+ return N(Z) || (ro = Z.get(G)), N(ro) && (ro = D(F, G), N(ro) || (N(Z) && (Z = new h(), L.set(F, Z)), Z.set(G, ro))), ro;
780
780
  }
781
781
  function E(F) {
782
782
  if (N(F))
@@ -786,9 +786,9 @@ var Xe;
786
786
  function B(F, G, Z) {
787
787
  if (!E(Z))
788
788
  throw new Error("Metadata provider not registered.");
789
- var io = z(F, G);
790
- if (io !== Z) {
791
- if (!N(io))
789
+ var ro = z(F, G);
790
+ if (ro !== Z) {
791
+ if (!N(ro))
792
792
  return !1;
793
793
  var ko = L.get(F);
794
794
  N(ko) && (ko = new h(), L.set(F, ko)), ko.set(G, Z);
@@ -813,8 +813,8 @@ var Xe;
813
813
  },
814
814
  OrdinaryDefineOwnMetadata: ao,
815
815
  OrdinaryHasOwnMetadata: L,
816
- OrdinaryGetOwnMetadata: eo,
817
- OrdinaryOwnMetadataKeys: j,
816
+ OrdinaryGetOwnMetadata: io,
817
+ OrdinaryOwnMetadataKeys: D,
818
818
  OrdinaryDeleteMetadata: z
819
819
  };
820
820
  return x.registerProvider(m), m;
@@ -825,14 +825,14 @@ var Xe;
825
825
  return;
826
826
  G = new h(), p.set(E, G), Z = !0;
827
827
  }
828
- var io = G.get(B);
829
- if (N(io)) {
828
+ var ro = G.get(B);
829
+ if (N(ro)) {
830
830
  if (!F)
831
831
  return;
832
- if (io = new h(), G.set(B, io), !b.setProvider(E, B, m))
832
+ if (ro = new h(), G.set(B, ro), !b.setProvider(E, B, m))
833
833
  throw G.delete(B), Z && p.delete(E), new Error("Wrong provider for target.");
834
834
  }
835
- return io;
835
+ return ro;
836
836
  }
837
837
  function L(E, B, F) {
838
838
  var G = _(
@@ -843,7 +843,7 @@ var Xe;
843
843
  );
844
844
  return N(G) ? !1 : Fo(G.has(E));
845
845
  }
846
- function eo(E, B, F) {
846
+ function io(E, B, F) {
847
847
  var G = _(
848
848
  B,
849
849
  F,
@@ -862,7 +862,7 @@ var Xe;
862
862
  );
863
863
  Z.set(E, B);
864
864
  }
865
- function j(E, B) {
865
+ function D(E, B) {
866
866
  var F = [], G = _(
867
867
  E,
868
868
  B,
@@ -871,16 +871,16 @@ var Xe;
871
871
  );
872
872
  if (N(G))
873
873
  return F;
874
- for (var Z = G.keys(), io = dt(Z), ko = 0; ; ) {
875
- var We = xt(io);
874
+ for (var Z = G.keys(), ro = pt(Z), ko = 0; ; ) {
875
+ var We = gt(ro);
876
876
  if (!We)
877
877
  return F.length = ko, F;
878
- var xr = pt(We);
878
+ var xr = xt(We);
879
879
  try {
880
880
  F[ko] = xr;
881
881
  } catch (gr) {
882
882
  try {
883
- gt(io);
883
+ mt(ro);
884
884
  } finally {
885
885
  throw gr;
886
886
  }
@@ -905,7 +905,7 @@ var Xe;
905
905
  }
906
906
  }
907
907
  function Lt(b) {
908
- var p = b.defineMetadata, m = b.hasOwnMetadata, _ = b.getOwnMetadata, L = b.getOwnMetadataKeys, eo = b.deleteMetadata, ao = new S(), j = {
908
+ var p = b.defineMetadata, m = b.hasOwnMetadata, _ = b.getOwnMetadata, L = b.getOwnMetadataKeys, io = b.deleteMetadata, ao = new S(), D = {
909
909
  isProviderFor: function(z, E) {
910
910
  var B = ao.get(z);
911
911
  return !N(B) && B.has(E) ? !0 : L(z, E).length ? (N(B) && (B = new w(), ao.set(z, B)), B.add(E), !0) : !1;
@@ -914,9 +914,9 @@ var Xe;
914
914
  OrdinaryHasOwnMetadata: m,
915
915
  OrdinaryGetOwnMetadata: _,
916
916
  OrdinaryOwnMetadataKeys: L,
917
- OrdinaryDeleteMetadata: eo
917
+ OrdinaryDeleteMetadata: io
918
918
  };
919
- return j;
919
+ return D;
920
920
  }
921
921
  function No(b, p, m) {
922
922
  var _ = x.getProvider(b, p);
@@ -932,59 +932,59 @@ var Xe;
932
932
  var b = {}, p = [], m = (
933
933
  /** @class */
934
934
  function() {
935
- function j(z, E, B) {
935
+ function D(z, E, B) {
936
936
  this._index = 0, this._keys = z, this._values = E, this._selector = B;
937
937
  }
938
- return j.prototype["@@iterator"] = function() {
938
+ return D.prototype["@@iterator"] = function() {
939
939
  return this;
940
- }, j.prototype[s] = function() {
940
+ }, D.prototype[s] = function() {
941
941
  return this;
942
- }, j.prototype.next = function() {
942
+ }, D.prototype.next = function() {
943
943
  var z = this._index;
944
944
  if (z >= 0 && z < this._keys.length) {
945
945
  var E = this._selector(this._keys[z], this._values[z]);
946
946
  return z + 1 >= this._keys.length ? (this._index = -1, this._keys = p, this._values = p) : this._index++, { value: E, done: !1 };
947
947
  }
948
948
  return { value: void 0, done: !0 };
949
- }, j.prototype.throw = function(z) {
949
+ }, D.prototype.throw = function(z) {
950
950
  throw this._index >= 0 && (this._index = -1, this._keys = p, this._values = p), z;
951
- }, j.prototype.return = function(z) {
951
+ }, D.prototype.return = function(z) {
952
952
  return this._index >= 0 && (this._index = -1, this._keys = p, this._values = p), { value: z, done: !0 };
953
- }, j;
953
+ }, D;
954
954
  }()
955
955
  ), _ = (
956
956
  /** @class */
957
957
  function() {
958
- function j() {
958
+ function D() {
959
959
  this._keys = [], this._values = [], this._cacheKey = b, this._cacheIndex = -2;
960
960
  }
961
- return Object.defineProperty(j.prototype, "size", {
961
+ return Object.defineProperty(D.prototype, "size", {
962
962
  get: function() {
963
963
  return this._keys.length;
964
964
  },
965
965
  enumerable: !0,
966
966
  configurable: !0
967
- }), j.prototype.has = function(z) {
967
+ }), D.prototype.has = function(z) {
968
968
  return this._find(
969
969
  z,
970
970
  /*insert*/
971
971
  !1
972
972
  ) >= 0;
973
- }, j.prototype.get = function(z) {
973
+ }, D.prototype.get = function(z) {
974
974
  var E = this._find(
975
975
  z,
976
976
  /*insert*/
977
977
  !1
978
978
  );
979
979
  return E >= 0 ? this._values[E] : void 0;
980
- }, j.prototype.set = function(z, E) {
980
+ }, D.prototype.set = function(z, E) {
981
981
  var B = this._find(
982
982
  z,
983
983
  /*insert*/
984
984
  !0
985
985
  );
986
986
  return this._values[B] = E, this;
987
- }, j.prototype.delete = function(z) {
987
+ }, D.prototype.delete = function(z) {
988
988
  var E = this._find(
989
989
  z,
990
990
  /*insert*/
@@ -993,43 +993,43 @@ var Xe;
993
993
  if (E >= 0) {
994
994
  for (var B = this._keys.length, F = E + 1; F < B; F++)
995
995
  this._keys[F - 1] = this._keys[F], this._values[F - 1] = this._values[F];
996
- return this._keys.length--, this._values.length--, Uo(z, this._cacheKey) && (this._cacheKey = b, this._cacheIndex = -2), !0;
996
+ return this._keys.length--, this._values.length--, Ko(z, this._cacheKey) && (this._cacheKey = b, this._cacheIndex = -2), !0;
997
997
  }
998
998
  return !1;
999
- }, j.prototype.clear = function() {
999
+ }, D.prototype.clear = function() {
1000
1000
  this._keys.length = 0, this._values.length = 0, this._cacheKey = b, this._cacheIndex = -2;
1001
- }, j.prototype.keys = function() {
1001
+ }, D.prototype.keys = function() {
1002
1002
  return new m(this._keys, this._values, L);
1003
- }, j.prototype.values = function() {
1004
- return new m(this._keys, this._values, eo);
1005
- }, j.prototype.entries = function() {
1003
+ }, D.prototype.values = function() {
1004
+ return new m(this._keys, this._values, io);
1005
+ }, D.prototype.entries = function() {
1006
1006
  return new m(this._keys, this._values, ao);
1007
- }, j.prototype["@@iterator"] = function() {
1007
+ }, D.prototype["@@iterator"] = function() {
1008
1008
  return this.entries();
1009
- }, j.prototype[s] = function() {
1009
+ }, D.prototype[s] = function() {
1010
1010
  return this.entries();
1011
- }, j.prototype._find = function(z, E) {
1012
- if (!Uo(this._cacheKey, z)) {
1011
+ }, D.prototype._find = function(z, E) {
1012
+ if (!Ko(this._cacheKey, z)) {
1013
1013
  this._cacheIndex = -1;
1014
1014
  for (var B = 0; B < this._keys.length; B++)
1015
- if (Uo(this._keys[B], z)) {
1015
+ if (Ko(this._keys[B], z)) {
1016
1016
  this._cacheIndex = B;
1017
1017
  break;
1018
1018
  }
1019
1019
  }
1020
1020
  return this._cacheIndex < 0 && E && (this._cacheIndex = this._keys.length, this._keys.push(z), this._values.push(void 0)), this._cacheIndex;
1021
- }, j;
1021
+ }, D;
1022
1022
  }()
1023
1023
  );
1024
1024
  return _;
1025
- function L(j, z) {
1026
- return j;
1025
+ function L(D, z) {
1026
+ return D;
1027
1027
  }
1028
- function eo(j, z) {
1028
+ function io(D, z) {
1029
1029
  return z;
1030
1030
  }
1031
- function ao(j, z) {
1032
- return [j, z];
1031
+ function ao(D, z) {
1032
+ return [D, z];
1033
1033
  }
1034
1034
  }
1035
1035
  function Ot() {
@@ -1068,7 +1068,7 @@ var Xe;
1068
1068
  );
1069
1069
  return b;
1070
1070
  }
1071
- function qo() {
1071
+ function Zo() {
1072
1072
  var b = 16, p = d.create(), m = _();
1073
1073
  return (
1074
1074
  /** @class */
@@ -1112,7 +1112,7 @@ var Xe;
1112
1112
  function _() {
1113
1113
  var z;
1114
1114
  do
1115
- z = "@@WeakMap@@" + j();
1115
+ z = "@@WeakMap@@" + D();
1116
1116
  while (d.has(p, z));
1117
1117
  return p[z] = !0, z;
1118
1118
  }
@@ -1124,7 +1124,7 @@ var Xe;
1124
1124
  }
1125
1125
  return z[m];
1126
1126
  }
1127
- function eo(z, E) {
1127
+ function io(z, E) {
1128
1128
  for (var B = 0; B < E; ++B)
1129
1129
  z[B] = Math.random() * 255 | 0;
1130
1130
  return z;
@@ -1132,11 +1132,11 @@ var Xe;
1132
1132
  function ao(z) {
1133
1133
  if (typeof Uint8Array == "function") {
1134
1134
  var E = new Uint8Array(z);
1135
- return typeof crypto < "u" ? crypto.getRandomValues(E) : typeof msCrypto < "u" ? msCrypto.getRandomValues(E) : eo(E, z), E;
1135
+ return typeof crypto < "u" ? crypto.getRandomValues(E) : typeof msCrypto < "u" ? msCrypto.getRandomValues(E) : io(E, z), E;
1136
1136
  }
1137
- return eo(new Array(z), z);
1137
+ return io(new Array(z), z);
1138
1138
  }
1139
- function j() {
1139
+ function D() {
1140
1140
  var z = ao(b);
1141
1141
  z[6] = z[6] & 79 | 64, z[8] = z[8] & 191 | 128;
1142
1142
  for (var E = "", B = 0; B < b; ++B) {
@@ -1151,18 +1151,18 @@ var Xe;
1151
1151
  }
1152
1152
  });
1153
1153
  })(Xe || (Xe = {}));
1154
- const Dr = Symbol("inject"), jr = Symbol("injectable"), Gr = Symbol("injectable:options");
1154
+ const jr = Symbol("inject"), Dr = Symbol("injectable"), Gr = Symbol("injectable:options");
1155
1155
  function xi(e) {
1156
1156
  let o = e;
1157
1157
  for (; o && o !== Function.prototype && o !== Object.prototype; ) {
1158
- const t = Reflect.getOwnMetadata(Dr, o);
1158
+ const t = Reflect.getOwnMetadata(jr, o);
1159
1159
  if (t && t.length > 0) return t;
1160
1160
  o = Object.getPrototypeOf(o);
1161
1161
  }
1162
1162
  return [];
1163
1163
  }
1164
1164
  function gi(e) {
1165
- return Reflect.getMetadata(jr, e) === !0;
1165
+ return Reflect.getMetadata(Dr, e) === !0;
1166
1166
  }
1167
1167
  function Hr(e) {
1168
1168
  const o = Reflect.getMetadata(Gr, e);
@@ -1208,15 +1208,15 @@ function Kr() {
1208
1208
  return null;
1209
1209
  }
1210
1210
  }
1211
- const mt = Kr(), vt = [], Bo = class Bo {
1211
+ const vt = Kr(), wt = [], Bo = class Bo {
1212
1212
  constructor() {
1213
1213
  c(this, "services", /* @__PURE__ */ new Map());
1214
1214
  c(this, "resolving", /* @__PURE__ */ new Set());
1215
1215
  }
1216
1216
  static getInstance() {
1217
- const o = mt == null ? void 0 : mt.getStore();
1217
+ const o = vt == null ? void 0 : vt.getStore();
1218
1218
  if (o) return o;
1219
- const t = vt[vt.length - 1];
1219
+ const t = wt[wt.length - 1];
1220
1220
  return t || (Bo.instance || (Bo.instance = new Bo()), Bo.instance);
1221
1221
  }
1222
1222
  /**
@@ -1226,11 +1226,11 @@ const mt = Kr(), vt = [], Bo = class Bo {
1226
1226
  */
1227
1227
  static run(o) {
1228
1228
  const t = Bo.getInstance().fork(), i = () => {
1229
- vt.push(t);
1229
+ wt.push(t);
1230
1230
  let r = !0;
1231
1231
  const n = () => {
1232
- const s = vt.lastIndexOf(t);
1233
- s >= 0 && vt.splice(s, 1);
1232
+ const s = wt.lastIndexOf(t);
1233
+ s >= 0 && wt.splice(s, 1);
1234
1234
  try {
1235
1235
  t.clear();
1236
1236
  } catch {
@@ -1248,7 +1248,7 @@ const mt = Kr(), vt = [], Bo = class Bo {
1248
1248
  r && n();
1249
1249
  }
1250
1250
  };
1251
- return mt ? mt.run(t, i) : i();
1251
+ return vt ? vt.run(t, i) : i();
1252
1252
  }
1253
1253
  fork() {
1254
1254
  const o = new Bo();
@@ -1553,10 +1553,10 @@ const U = class U {
1553
1553
  };
1554
1554
  c(U, "instance"), c(U, "scopeStack", []), /** Shared across `run()` scopes — the DI container is process-wide. */
1555
1555
  c(U, "serviceRefs", /* @__PURE__ */ new Map());
1556
- let Do = U;
1556
+ let jo = U;
1557
1557
  const Zr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1558
1558
  __proto__: null,
1559
- PluginManager: Do
1559
+ PluginManager: jo
1560
1560
  }, Symbol.toStringTag, { value: "Module" }));
1561
1561
  function ce(e) {
1562
1562
  let o = 5381;
@@ -1578,7 +1578,7 @@ function Qr() {
1578
1578
  return null;
1579
1579
  }
1580
1580
  }
1581
- const wt = Qr(), bo = class bo {
1581
+ const yt = Qr(), bo = class bo {
1582
1582
  constructor() {
1583
1583
  c(this, "sheet", null);
1584
1584
  c(this, "cache", /* @__PURE__ */ new Map());
@@ -1588,7 +1588,7 @@ const wt = Qr(), bo = class bo {
1588
1588
  }
1589
1589
  static getInstance() {
1590
1590
  if (typeof document > "u") {
1591
- const o = wt == null ? void 0 : wt.getStore();
1591
+ const o = yt == null ? void 0 : yt.getStore();
1592
1592
  if (o) return o;
1593
1593
  const t = bo.scopeStack[bo.scopeStack.length - 1];
1594
1594
  if (t) return t;
@@ -1604,8 +1604,8 @@ const wt = Qr(), bo = class bo {
1604
1604
  if (typeof document < "u")
1605
1605
  return o();
1606
1606
  const t = new bo();
1607
- if (wt)
1608
- return wt.run(t, o);
1607
+ if (yt)
1608
+ return yt.run(t, o);
1609
1609
  bo.scopeStack.push(t);
1610
1610
  let i = !0;
1611
1611
  const r = () => {
@@ -1727,8 +1727,8 @@ const P = new Proxy({}, {
1727
1727
  const t = Io.getInstance(), i = Reflect.get(t, o, t);
1728
1728
  return typeof i == "function" ? i.bind(t) : i;
1729
1729
  }
1730
- }), on = Do.run.bind(Do);
1731
- Do.run = function(o) {
1730
+ }), on = jo.run.bind(jo);
1731
+ jo.run = function(o) {
1732
1732
  return Io.run(() => on(o));
1733
1733
  };
1734
1734
  function Ro() {
@@ -1745,7 +1745,7 @@ function Sc() {
1745
1745
  return typeof document > "u" && vi(), o;
1746
1746
  }
1747
1747
  function vi() {
1748
- Io.resetForTests(), (typeof globalThis.window > "u" || !globalThis.window) && Do.reset();
1748
+ Io.resetForTests(), (typeof globalThis.window > "u" || !globalThis.window) && jo.reset();
1749
1749
  }
1750
1750
  function wi() {
1751
1751
  Ro();
@@ -1812,7 +1812,7 @@ function fn() {
1812
1812
  function an() {
1813
1813
  return fn().activeEffect;
1814
1814
  }
1815
- class Dt {
1815
+ class jt {
1816
1816
  constructor(o) {
1817
1817
  c(this, "listeners", /* @__PURE__ */ new Set());
1818
1818
  c(this, "effects", /* @__PURE__ */ new Set());
@@ -1957,7 +1957,7 @@ function mn(e) {
1957
1957
  const vn = (e) => {
1958
1958
  if (e !== void 0)
1959
1959
  return typeof e == "number" ? `${e}px` : e.toString();
1960
- }, Zo = (e, o) => {
1960
+ }, Jo = (e, o) => {
1961
1961
  const t = vn(o);
1962
1962
  return t === void 0 ? "" : `${e}-[${t}]`;
1963
1963
  }, wn = `
@@ -2311,14 +2311,14 @@ const vn = (e) => {
2311
2311
  borderRadius: (t) => {
2312
2312
  if (!t.borderRadius)
2313
2313
  return [];
2314
- const i = Ei.borderRadius[t.borderRadius] || Zo("rounded", t.borderRadius);
2314
+ const i = Ei.borderRadius[t.borderRadius] || Jo("rounded", t.borderRadius);
2315
2315
  return i ? [i] : [];
2316
2316
  },
2317
2317
  // 外边距
2318
2318
  margin: (t) => {
2319
2319
  const i = [];
2320
2320
  if (t.margin !== void 0) {
2321
- const n = Zo("m", t.margin);
2321
+ const n = Jo("m", t.margin);
2322
2322
  return n ? [n] : [];
2323
2323
  }
2324
2324
  return [
@@ -2330,7 +2330,7 @@ const vn = (e) => {
2330
2330
  { prop: t.marginY, dir: "my" }
2331
2331
  ].forEach(({ prop: n, dir: s }) => {
2332
2332
  if (n !== void 0) {
2333
- const f = Zo(s, n);
2333
+ const f = Jo(s, n);
2334
2334
  f && i.push(f);
2335
2335
  }
2336
2336
  }), i;
@@ -2339,7 +2339,7 @@ const vn = (e) => {
2339
2339
  padding: (t) => {
2340
2340
  const i = [];
2341
2341
  if (t.padding !== void 0) {
2342
- const n = Zo("p", t.padding);
2342
+ const n = Jo("p", t.padding);
2343
2343
  return n ? [n] : [];
2344
2344
  }
2345
2345
  return [
@@ -2351,7 +2351,7 @@ const vn = (e) => {
2351
2351
  { prop: t.paddingY, dir: "py" }
2352
2352
  ].forEach(({ prop: n, dir: s }) => {
2353
2353
  if (n !== void 0) {
2354
- const f = Zo(s, n);
2354
+ const f = Jo(s, n);
2355
2355
  f && i.push(f);
2356
2356
  }
2357
2357
  }), i;
@@ -2436,7 +2436,7 @@ const vn = (e) => {
2436
2436
  n && i.push(n);
2437
2437
  }
2438
2438
  if (t.gap) {
2439
- const r = Zo("gap", t.gap);
2439
+ const r = Jo("gap", t.gap);
2440
2440
  r && i.push(r);
2441
2441
  }
2442
2442
  return i;
@@ -2541,7 +2541,7 @@ class Ii {
2541
2541
  (o = this._onRecognized) == null || o.call(this);
2542
2542
  }
2543
2543
  }
2544
- function nt(e, o, t) {
2544
+ function st(e, o, t) {
2545
2545
  return e ? o === void 0 || t === void 0 ? !0 : t === o : !1;
2546
2546
  }
2547
2547
  function Cn(e, o) {
@@ -2552,7 +2552,7 @@ function Cn(e, o) {
2552
2552
  } catch {
2553
2553
  }
2554
2554
  }
2555
- const kt = 10, zn = 500, Ye = {
2555
+ const _t = 10, zn = 500, Ye = {
2556
2556
  display: "flex",
2557
2557
  flexDirection: "column",
2558
2558
  minWidth: 0,
@@ -2587,14 +2587,14 @@ const Zt = /* @__PURE__ */ new Set(), Tn = {
2587
2587
  WebkitUserSelect: "none",
2588
2588
  position: "relative"
2589
2589
  };
2590
- function st(e) {
2590
+ function ft(e) {
2591
2591
  return {
2592
2592
  x: typeof e.clientX == "number" && Number.isFinite(e.clientX) ? e.clientX : 0,
2593
2593
  y: typeof e.clientY == "number" && Number.isFinite(e.clientY) ? e.clientY : 0
2594
2594
  };
2595
2595
  }
2596
- function jt(e, o) {
2597
- const t = st(e);
2596
+ function Dt(e, o) {
2597
+ const t = ft(e);
2598
2598
  if (!o) return t;
2599
2599
  const i = o.getBoundingClientRect();
2600
2600
  return { x: t.x - i.left, y: t.y - i.top };
@@ -2684,19 +2684,19 @@ const Rn = l.memo(
2684
2684
  if (x.button != null && x.button !== 0) return;
2685
2685
  const v = g.current;
2686
2686
  if (v && v.arena.isBlocked(x.pointerId, v.slot)) return;
2687
- const T = h.current, O = st(x);
2687
+ const T = h.current, O = ft(x);
2688
2688
  T.pressed = !0, T.pointerId = x.pointerId, T.x = O.x, T.y = O.y, T.moved = !1, T.consumed = !1, ($ = (I = a.current).onStart) == null || $.call(I);
2689
2689
  },
2690
2690
  onPointerMoveCapture(x) {
2691
2691
  const v = h.current;
2692
- if (!nt(v.pressed, v.pointerId, x.pointerId)) return;
2693
- const T = st(x), O = T.x - v.x, I = T.y - v.y;
2694
- O * O + I * I > kt * kt * 4 && (v.moved = !0);
2692
+ if (!st(v.pressed, v.pointerId, x.pointerId)) return;
2693
+ const T = ft(x), O = T.x - v.x, I = T.y - v.y;
2694
+ O * O + I * I > _t * _t * 4 && (v.moved = !0);
2695
2695
  },
2696
2696
  onPointerUpCapture(x) {
2697
2697
  const v = h.current;
2698
- if (!nt(v.pressed, v.pointerId, x.pointerId)) return;
2699
- const T = st(x), O = T.x - v.x, I = T.y - v.y, $ = !v.moved && O * O + I * I <= kt * kt * 4, M = v.pointerId;
2698
+ if (!st(v.pressed, v.pointerId, x.pointerId)) return;
2699
+ const T = ft(x), O = T.x - v.x, I = T.y - v.y, $ = !v.moved && O * O + I * I <= _t * _t * 4, M = v.pointerId;
2700
2700
  if (v.pressed = !1, v.pointerId = void 0, M != null && Zt.has(M)) {
2701
2701
  Zt.delete(M), v.consumed = !0;
2702
2702
  return;
@@ -2708,12 +2708,12 @@ const Rn = l.memo(
2708
2708
  }
2709
2709
  if (!$) return;
2710
2710
  W && M != null && W.arena.tryClaim(M, W.slot), v.consumed = !0;
2711
- const k = jt(x, u.current);
2711
+ const k = Dt(x, u.current);
2712
2712
  y(k);
2713
2713
  },
2714
2714
  onPointerCancelCapture(x) {
2715
2715
  const v = h.current;
2716
- nt(v.pressed, v.pointerId, x.pointerId) && (v.pressed = !1, v.pointerId = void 0, v.moved = !0);
2716
+ st(v.pressed, v.pointerId, x.pointerId) && (v.pressed = !1, v.pointerId = void 0, v.moved = !0);
2717
2717
  },
2718
2718
  onClick(x) {
2719
2719
  const v = h.current;
@@ -2725,11 +2725,11 @@ const Rn = l.memo(
2725
2725
  if (T > 1 && a.current.count > 1) {
2726
2726
  const O = a.current.count;
2727
2727
  if (T >= O) {
2728
- v.tapTimer !== void 0 && clearTimeout(v.tapTimer), v.taps = 0, v.dblHandled = !0, S(jt(x, u.current));
2728
+ v.tapTimer !== void 0 && clearTimeout(v.tapTimer), v.taps = 0, v.dblHandled = !0, S(Dt(x, u.current));
2729
2729
  return;
2730
2730
  }
2731
2731
  }
2732
- y(jt(x, u.current));
2732
+ y(Dt(x, u.current));
2733
2733
  },
2734
2734
  onDoubleClick(x) {
2735
2735
  if (a.current.count < 2) return;
@@ -2739,7 +2739,7 @@ const Rn = l.memo(
2739
2739
  T.dblHandled = !1;
2740
2740
  return;
2741
2741
  }
2742
- T.tapTimer !== void 0 && clearTimeout(T.tapTimer), T.taps = 0, S(jt(x, u.current));
2742
+ T.tapTimer !== void 0 && clearTimeout(T.tapTimer), T.taps = 0, S(Dt(x, u.current));
2743
2743
  },
2744
2744
  onKeyDown(x) {
2745
2745
  x.key !== "Enter" && x.key !== " " || (x.preventDefault(), a.current.bubble || x.stopPropagation(), y({ x: 0, y: 0 }));
@@ -2765,7 +2765,7 @@ class Bn extends Ii {
2765
2765
  constructor() {
2766
2766
  super(...arguments);
2767
2767
  c(this, "_duration", 500);
2768
- c(this, "_maximumDistance", kt * 2);
2768
+ c(this, "_maximumDistance", _t * 2);
2769
2769
  c(this, "_onStart");
2770
2770
  c(this, "_onEnd");
2771
2771
  c(this, "_onPressingChanged");
@@ -2839,20 +2839,20 @@ const In = l.memo(
2839
2839
  l.useEffect(() => () => v(!1), [v]);
2840
2840
  const T = ($) => {
2841
2841
  var k, H, V, K;
2842
- if (h.current && !nt(h.current, d.current, $.pointerId) || x && x.arena.isBlocked($.pointerId, x.slot)) return;
2843
- const M = $.currentTarget, W = st($);
2842
+ if (h.current && !st(h.current, d.current, $.pointerId) || x && x.arena.isBlocked($.pointerId, x.slot)) return;
2843
+ const M = $.currentTarget, W = ft($);
2844
2844
  g.current = M, h.current = !0, S.current = !1, w.current = W, $.pointerId !== void 0 && (d.current = $.pointerId, Zt.delete($.pointerId)), u.current !== void 0 && clearTimeout(u.current), (H = (k = y.current).onStart) == null || H.call(k), (K = (V = y.current).onPressingChanged) == null || K.call(V, !0), u.current = setTimeout(() => {
2845
2845
  var po, no;
2846
2846
  u.current = void 0, S.current = !0;
2847
- const to = d.current;
2848
- to != null && Zt.add(to), x && to != null && x.arena.tryClaim(to, x.slot), (no = (po = y.current).onEnd) == null || no.call(po);
2847
+ const eo = d.current;
2848
+ eo != null && Zt.add(eo), x && eo != null && x.arena.tryClaim(eo, x.slot), (no = (po = y.current).onEnd) == null || no.call(po);
2849
2849
  }, y.current.duration);
2850
2850
  }, O = ($) => {
2851
- if (!nt(h.current, d.current, $.pointerId)) return;
2852
- const M = st($), W = M.x - w.current.x, k = M.y - w.current.y, H = y.current.maximumDistance;
2851
+ if (!st(h.current, d.current, $.pointerId)) return;
2852
+ const M = ft($), W = M.x - w.current.x, k = M.y - w.current.y, H = y.current.maximumDistance;
2853
2853
  W * W + k * k > H * H && v(!0);
2854
2854
  }, I = ($) => {
2855
- if (!nt(h.current, d.current, $.pointerId)) return;
2855
+ if (!st(h.current, d.current, $.pointerId)) return;
2856
2856
  const M = S.current;
2857
2857
  v(!0), M && !y.current.bubble && $.stopPropagation();
2858
2858
  };
@@ -2911,7 +2911,7 @@ function Ni(e = {}) {
2911
2911
  const S = `linear(${w.join(", ")})`;
2912
2912
  return Ke.set(r, S), S;
2913
2913
  }
2914
- function et(e, o) {
2914
+ function it(e, o) {
2915
2915
  return e === "spring" ? Ni(o) : Fn[e] ?? e;
2916
2916
  }
2917
2917
  const $e = [
@@ -4448,7 +4448,7 @@ function Wn() {
4448
4448
  const e = Io.getInstance();
4449
4449
  e.ensureDefaults(), e.injectExtra(On, "fibo-interaction-fx");
4450
4450
  }
4451
- function zt(e, o, t, i = 0) {
4451
+ function Tt(e, o, t, i = 0) {
4452
4452
  const r = (Array.isArray(e) ? e : [e]).flatMap((f) => String(f).split(",")).map((f) => f.trim()).filter(Boolean);
4453
4453
  r.length === 0 && r.push("all");
4454
4454
  const n = `${o}ms`, s = i > 0 ? ` ${i}ms` : "";
@@ -4458,7 +4458,7 @@ function ue(e) {
4458
4458
  const o = { ...e };
4459
4459
  let t = !1;
4460
4460
  const i = o.background;
4461
- typeof i == "string" && i.trim() && o.backgroundColor == null && jn(i) && (o.backgroundColor = i, delete o.background, t = !0);
4461
+ typeof i == "string" && i.trim() && o.backgroundColor == null && Dn(i) && (o.backgroundColor = i, delete o.background, t = !0);
4462
4462
  const r = o.border;
4463
4463
  if (typeof r == "string" && r.trim()) {
4464
4464
  const n = Hn(r);
@@ -4466,16 +4466,16 @@ function ue(e) {
4466
4466
  }
4467
4467
  return t ? o : e;
4468
4468
  }
4469
- const Dn = "translate3d(0, 0, 0)";
4469
+ const jn = "translate3d(0, 0, 0)";
4470
4470
  function Qe(e) {
4471
4471
  const o = e.transform == null ? "" : String(e.transform).trim();
4472
- return o !== "" && o !== "none" ? e : { ...e, transform: Dn };
4472
+ return o !== "" && o !== "none" ? e : { ...e, transform: jn };
4473
4473
  }
4474
4474
  function oi(e, o) {
4475
4475
  const t = typeof o == "number" ? `${o}px` : o;
4476
4476
  return e === "x" ? `translate3d(${t}, 0, 0)` : `translate3d(0, ${t}, 0)`;
4477
4477
  }
4478
- function jn(e) {
4478
+ function Dn(e) {
4479
4479
  const o = e.trim().toLowerCase();
4480
4480
  return !(!o || o === "none" || o.includes("gradient(") || o.includes("url(") || o.includes("image(") || o.includes("element(") || o.startsWith("repeat") || Gn(o));
4481
4481
  }
@@ -4542,10 +4542,10 @@ const ti = /* @__PURE__ */ new Set([
4542
4542
  "backdrop-filter",
4543
4543
  "outline"
4544
4544
  ]);
4545
- function Rt(e) {
4545
+ function at(e) {
4546
4546
  return e.startsWith("--") ? e : e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, "$1-$2").toLowerCase();
4547
4547
  }
4548
- function ft(e) {
4548
+ function Uo(e) {
4549
4549
  return e.startsWith("--") ? e : e.replace(/-([a-z])/g, (o, t) => t.toUpperCase());
4550
4550
  }
4551
4551
  const Xn = {
@@ -4617,15 +4617,15 @@ function Yn(e) {
4617
4617
  }
4618
4618
  return t && o.push(t), o;
4619
4619
  }
4620
- function ct(e) {
4620
+ function lt(e) {
4621
4621
  const o = Yn(String(e).trim()), t = o[0] ?? "", i = o[1] ?? t, r = o[2] ?? t, n = o[3] ?? i;
4622
4622
  return [t, i, r, n];
4623
4623
  }
4624
4624
  function Le(e, o, t) {
4625
- const i = ro(e, o), r = $i[e];
4625
+ const i = to(e, o), r = $i[e];
4626
4626
  if (!r.some((f) => t.has(f)))
4627
4627
  return { shorthand: i, longhands: [] };
4628
- const n = ct(i), s = [];
4628
+ const n = lt(i), s = [];
4629
4629
  return r.forEach((f, a) => {
4630
4630
  t.has(f) || s.push([f, n[a]]);
4631
4631
  }), { shorthand: null, longhands: s };
@@ -4633,20 +4633,20 @@ function Le(e, o, t) {
4633
4633
  function Un(e, o, t) {
4634
4634
  const i = e, r = /* @__PURE__ */ new Set();
4635
4635
  for (const s of $i[o])
4636
- i[ft(s)] != null && r.add(s);
4636
+ i[Uo(s)] != null && r.add(s);
4637
4637
  const n = Le(o, t, r);
4638
4638
  if (n.shorthand != null) {
4639
4639
  i[o] = n.shorthand;
4640
4640
  return;
4641
4641
  }
4642
4642
  for (const [s, f] of n.longhands)
4643
- i[ft(s)] = f;
4643
+ i[Uo(s)] = f;
4644
4644
  delete i[o];
4645
4645
  }
4646
4646
  function Kn(e, o) {
4647
4647
  const t = e[o];
4648
4648
  if (t == null || t === "") return;
4649
- const [i, r, n, s] = ct(String(t)), f = [
4649
+ const [i, r, n, s] = lt(String(t)), f = [
4650
4650
  [`${o}Top`, i],
4651
4651
  [`${o}Right`, r],
4652
4652
  [`${o}Bottom`, n],
@@ -4658,13 +4658,13 @@ function Kn(e, o) {
4658
4658
  }
4659
4659
  function ii(e, o, t) {
4660
4660
  const i = Vn[o];
4661
- i && Kn(e, i), e[o] = ro(o, t);
4661
+ i && Kn(e, i), e[o] = to(o, t);
4662
4662
  }
4663
4663
  function Po(e) {
4664
4664
  const o = {};
4665
4665
  for (const [t, i] of Object.entries(e)) {
4666
4666
  if (i == null) continue;
4667
- const r = t.startsWith("--") ? t : t.includes("-") ? ft(t) : t, n = Me(r);
4667
+ const r = t.startsWith("--") ? t : t.includes("-") ? Uo(t) : t, n = Me(r);
4668
4668
  if (n) {
4669
4669
  for (const s of n)
4670
4670
  ii(o, s, i);
@@ -4678,11 +4678,11 @@ function Po(e) {
4678
4678
  }
4679
4679
  return o;
4680
4680
  }
4681
- function ro(e, o) {
4681
+ function to(e, o) {
4682
4682
  if (o == null) return "";
4683
4683
  if (typeof o == "boolean") return o ? "true" : "false";
4684
4684
  if (typeof o == "number")
4685
- return e.startsWith("--") ? String(o) : o === 0 && ei.has(e) ? "none" : ti.has(e) || ti.has(Rt(e)) ? String(o) : `${o}px`;
4685
+ return e.startsWith("--") ? String(o) : o === 0 && ei.has(e) ? "none" : ti.has(e) || ti.has(at(e)) ? String(o) : `${o}px`;
4686
4686
  const t = String(o);
4687
4687
  return (t === "0" || t === "0px") && ei.has(e) ? "none" : t;
4688
4688
  }
@@ -4721,7 +4721,7 @@ class xo {
4721
4721
  return (u) => {
4722
4722
  const g = Me(f) ?? [f];
4723
4723
  for (const h of g)
4724
- r.set(Rt(h), ro(h, u));
4724
+ r.set(at(h), to(h, u));
4725
4725
  return n;
4726
4726
  };
4727
4727
  }
@@ -4781,35 +4781,43 @@ class xo {
4781
4781
  return this.transforms.set("rotate", `rotate(${o}deg)`), this.flushTransform();
4782
4782
  }
4783
4783
  shadow(o) {
4784
- return this.set("box-shadow", ro("boxShadow", o));
4784
+ return this.set("box-shadow", to("boxShadow", o));
4785
4785
  }
4786
4786
  css(o, t) {
4787
- const i = o.includes("-") ? ft(o) : o;
4788
- return this.set(Rt(i), ro(i, t));
4787
+ if (typeof o == "object" && o !== null) {
4788
+ for (const [n, s] of Object.entries(o)) {
4789
+ if (s == null) continue;
4790
+ const f = n.startsWith("--") ? n : n.includes("-") ? Uo(n) : n;
4791
+ this.set(at(f), to(f, s));
4792
+ }
4793
+ return this;
4794
+ }
4795
+ const i = o, r = i.includes("-") ? Uo(i) : i;
4796
+ return this.set(at(r), to(r, t));
4789
4797
  }
4790
4798
  padding(o) {
4791
- return this.set("padding", ro("padding", o));
4799
+ return this.set("padding", to("padding", o));
4792
4800
  }
4793
4801
  p(o) {
4794
4802
  return this.padding(o);
4795
4803
  }
4796
4804
  margin(o) {
4797
- return this.set("margin", ro("margin", o));
4805
+ return this.set("margin", to("margin", o));
4798
4806
  }
4799
4807
  transition(o, t, i, r) {
4800
4808
  if (typeof o == "string" && t === void 0)
4801
4809
  return this.set("transition", o);
4802
- const n = Array.isArray(o) ? o : [o], s = et(i || this.transitionEasing);
4810
+ const n = Array.isArray(o) ? o : [o], s = it(i || this.transitionEasing);
4803
4811
  return this.set(
4804
4812
  "transition",
4805
- zt(n, t || this.transitionDuration, s, r || 0)
4813
+ Tt(n, t || this.transitionDuration, s, r || 0)
4806
4814
  );
4807
4815
  }
4808
4816
  duration(o) {
4809
4817
  return this.transitionDuration = o, this.applyTransition(), this;
4810
4818
  }
4811
4819
  easing(o) {
4812
- return this.transitionEasing = et(o), this.applyTransition(), this;
4820
+ return this.transitionEasing = it(o), this.applyTransition(), this;
4813
4821
  }
4814
4822
  ease(o) {
4815
4823
  return this.easing(o);
@@ -4823,7 +4831,7 @@ class xo {
4823
4831
  applyTransition() {
4824
4832
  this.set(
4825
4833
  "transition",
4826
- zt(
4834
+ Tt(
4827
4835
  this.transitionProperties,
4828
4836
  this.transitionDuration,
4829
4837
  this.transitionEasing,
@@ -4939,7 +4947,7 @@ function Ce(e, o) {
4939
4947
  function Yo(e) {
4940
4948
  return e === Oo.infinity || e === "infinity";
4941
4949
  }
4942
- function Jo(e, o, t = "width") {
4950
+ function Qo(e, o, t = "width") {
4943
4951
  if (e == null) return;
4944
4952
  if (Yo(e))
4945
4953
  return o === "min" ? "0px" : "100%";
@@ -4960,7 +4968,7 @@ function os(e) {
4960
4968
  // `fill` stretches the child — host uses stretch instead of corner align.
4961
4969
  alignItems: e.fill ? "stretch" : o.alignItems,
4962
4970
  justifyContent: e.fill ? "flex-start" : o.justifyContent
4963
- }, i = Jo(e.maxWidth, "max", "width"), r = Jo(e.maxHeight, "max", "height"), n = Jo(e.minWidth, "min", "width"), s = Jo(e.minHeight, "min", "height"), f = Jo(e.idealWidth ?? e.width, "ideal", "width"), a = Jo(e.idealHeight ?? e.height, "ideal", "height");
4971
+ }, i = Qo(e.maxWidth, "max", "width"), r = Qo(e.maxHeight, "max", "height"), n = Qo(e.minWidth, "min", "width"), s = Qo(e.minHeight, "min", "height"), f = Qo(e.idealWidth ?? e.width, "ideal", "width"), a = Qo(e.idealHeight ?? e.height, "ideal", "height");
4964
4972
  return n != null && (t.minWidth = n), s != null && (t.minHeight = s), i != null && (t.maxWidth = i), r != null && (t.maxHeight = r), f != null ? t.width = f : Yo(e.maxWidth) && (t.width = "100%"), a != null ? t.height = a : Yo(e.maxHeight) && (t.height = "100%"), Yo(e.maxWidth) && (e.minWidth == null || Yo(e.minWidth) || e.minWidth === 0) && (t.minWidth = "0px", t.width = "100%"), Yo(e.maxHeight) && (e.minHeight == null || Yo(e.minHeight) || e.minHeight === 0) && (t.minHeight = "0px", t.height = "100%"), t;
4965
4973
  }
4966
4974
  const ts = {
@@ -5006,7 +5014,7 @@ function rs(e) {
5006
5014
  const o = typeof e == "function" ? e() : e;
5007
5015
  return vo(o);
5008
5016
  }
5009
- const at = {
5017
+ const ct = {
5010
5018
  circle: "50%",
5011
5019
  rounded: "8px",
5012
5020
  square: "0px"
@@ -5046,7 +5054,7 @@ function ss(e) {
5046
5054
  );
5047
5055
  }
5048
5056
  function fs(e, o) {
5049
- const t = o in at ? at[o] : o === "rectangle" ? void 0 : String(o);
5057
+ const t = o in ct ? ct[o] : o === "rectangle" ? void 0 : String(o);
5050
5058
  return l.createElement(
5051
5059
  "div",
5052
5060
  {
@@ -5078,7 +5086,7 @@ const as = {
5078
5086
  WebkitUserSelect: "none"
5079
5087
  };
5080
5088
  function cs(e, o = "rectangle") {
5081
- const t = o === "rectangle" ? void 0 : o in at ? at[o] : o === "circle" ? "50%" : String(o), i = Oi(o), r = {
5089
+ const t = o === "rectangle" ? void 0 : o in ct ? ct[o] : o === "circle" ? "50%" : String(o), i = Oi(o), r = {
5082
5090
  ...as,
5083
5091
  ...t != null ? { borderRadius: t } : null,
5084
5092
  ...i != null ? { clipPath: i, WebkitClipPath: i } : null
@@ -5266,7 +5274,7 @@ function ps(e) {
5266
5274
  );
5267
5275
  }
5268
5276
  function xs(e, o) {
5269
- const t = Oi(o) ?? void 0, i = o in at ? at[o] : o === "circle" ? "50%" : void 0, r = {
5277
+ const t = Oi(o) ?? void 0, i = o in ct ? ct[o] : o === "circle" ? "50%" : void 0, r = {
5270
5278
  display: "inline-flex",
5271
5279
  flexDirection: "column",
5272
5280
  maxWidth: "100%"
@@ -5386,7 +5394,7 @@ function ys({
5386
5394
  function ks(e, o) {
5387
5395
  return l.createElement(ys, { child: e, spec: o });
5388
5396
  }
5389
- const Qo = /* @__PURE__ */ new Map();
5397
+ const ot = /* @__PURE__ */ new Map();
5390
5398
  function _s({
5391
5399
  child: e,
5392
5400
  spec: o
@@ -5396,8 +5404,8 @@ function _s({
5396
5404
  const f = t.current;
5397
5405
  if (!f) return;
5398
5406
  const a = () => {
5399
- const d = f.getBoundingClientRect(), g = Qo.get(n);
5400
- Qo.set(n, {
5407
+ const d = f.getBoundingClientRect(), g = ot.get(n);
5408
+ ot.set(n, {
5401
5409
  id: o.id,
5402
5410
  namespace: i,
5403
5411
  isSource: r,
@@ -5406,14 +5414,14 @@ function _s({
5406
5414
  };
5407
5415
  if (a(), typeof ResizeObserver != "function")
5408
5416
  return () => {
5409
- const d = Qo.get(n);
5410
- (d == null ? void 0 : d.isSource) === r && Qo.delete(n);
5417
+ const d = ot.get(n);
5418
+ (d == null ? void 0 : d.isSource) === r && ot.delete(n);
5411
5419
  };
5412
5420
  const u = new ResizeObserver(a);
5413
5421
  return u.observe(f), () => {
5414
5422
  u.disconnect();
5415
- const d = Qo.get(n);
5416
- d && d.isSource === r && Qo.delete(n);
5423
+ const d = ot.get(n);
5424
+ d && d.isSource === r && ot.delete(n);
5417
5425
  };
5418
5426
  }, [n, i, o.id, r]), l.createElement(
5419
5427
  "div",
@@ -6017,7 +6025,7 @@ const Ms = {
6017
6025
  web: Ps,
6018
6026
  noir: Os
6019
6027
  };
6020
- function Ds(e) {
6028
+ function js(e) {
6021
6029
  if (typeof e == "string") {
6022
6030
  const o = Ws[e];
6023
6031
  if (!o) throw new Error(`Unknown fiboui theme preset: ${e}`);
@@ -6025,7 +6033,7 @@ function Ds(e) {
6025
6033
  }
6026
6034
  return e;
6027
6035
  }
6028
- function js(e) {
6036
+ function Ds(e) {
6029
6037
  return `--fibo-text-${e}`;
6030
6038
  }
6031
6039
  function Gs(e) {
@@ -6063,8 +6071,8 @@ function Gs(e) {
6063
6071
  return i && Object.keys(i).forEach((s) => {
6064
6072
  const f = i[s];
6065
6073
  if (!f) return;
6066
- const a = js(s);
6067
- f.fontSize != null && (t[`${a}-size`] = ro("fontSize", f.fontSize)), f.fontWeight != null && (t[`${a}-weight`] = ro("fontWeight", f.fontWeight)), f.letterSpacing != null && (t[`${a}-tracking`] = ro("letterSpacing", f.letterSpacing)), f.lineHeight != null && (t[`${a}-height`] = ro("lineHeight", f.lineHeight)), f.color != null && (t[`${a}-color`] = String(f.color));
6074
+ const a = Ds(s);
6075
+ f.fontSize != null && (t[`${a}-size`] = to("fontSize", f.fontSize)), f.fontWeight != null && (t[`${a}-weight`] = to("fontWeight", f.fontWeight)), f.letterSpacing != null && (t[`${a}-tracking`] = to("letterSpacing", f.letterSpacing)), f.lineHeight != null && (t[`${a}-height`] = to("lineHeight", f.lineHeight)), f.color != null && (t[`${a}-color`] = String(f.color));
6068
6076
  }), t;
6069
6077
  }
6070
6078
  function Hs(e) {
@@ -6106,9 +6114,9 @@ const Wi = 64, Ys = [
6106
6114
  autoRows: "gridAutoRows",
6107
6115
  cssFloat: "float"
6108
6116
  };
6109
- function Di(e) {
6117
+ function ji(e) {
6110
6118
  if (e.startsWith("--")) return e;
6111
- const o = Ks[e] ?? e, t = Rt(o);
6119
+ const o = Ks[e] ?? e, t = at(o);
6112
6120
  return t.startsWith("ms-") ? `-${t}` : t;
6113
6121
  }
6114
6122
  const qs = `${Wi}px`;
@@ -6384,7 +6392,7 @@ class go {
6384
6392
  return t && typeof t == "object" && (this.__fiboElementProps = { ...t, key: String(o) }), this;
6385
6393
  }
6386
6394
  setBoxLonghand(o, t) {
6387
- const i = ro(ft(o), t);
6395
+ const i = to(Uo(o), t);
6388
6396
  return this._boxLonghands.add(o), this.addClassName(P.register(o, i)), this;
6389
6397
  }
6390
6398
  setBoxShorthand(o, t) {
@@ -6439,7 +6447,7 @@ class go {
6439
6447
  trackBoxLonghandsFrom(o) {
6440
6448
  const t = o;
6441
6449
  for (const i of Ys)
6442
- t[i] != null && this._boxLonghands.add(Rt(i));
6450
+ t[i] != null && this._boxLonghands.add(at(i));
6443
6451
  }
6444
6452
  flexDirection(o) {
6445
6453
  return this.layoutStyle({ flexDirection: o });
@@ -6658,8 +6666,13 @@ class go {
6658
6666
  return this.marginVertical(o);
6659
6667
  }
6660
6668
  bg(o) {
6661
- const t = typeof o == "string" && !o.startsWith("#") && !o.startsWith("rgb") ? this.resolveSemanticColor(o) : o, i = P.register("background-color", t);
6662
- return this._classNames.push(i), this.layoutStyle({ backgroundColor: t }), this;
6669
+ const t = typeof o == "string" && !o.startsWith("#") && !o.startsWith("rgb") ? this.resolveSemanticColor(o) : o, i = String(t);
6670
+ if (/gradient\(|url\(/i.test(i)) {
6671
+ const n = P.register("background", i);
6672
+ return this._classNames.push(n), this.layoutStyle({ background: i, backgroundColor: "transparent" }), this;
6673
+ }
6674
+ const r = P.register("background-color", i);
6675
+ return this._classNames.push(r), this.layoutStyle({ backgroundColor: i }), this;
6663
6676
  }
6664
6677
  text(o) {
6665
6678
  const t = typeof o == "string" && !o.startsWith("#") && !o.startsWith("rgb") ? this.resolveSemanticColor(o) : o, i = P.register("color", t);
@@ -6811,7 +6824,7 @@ class go {
6811
6824
  if (!t) return;
6812
6825
  const i = Po(t);
6813
6826
  for (const [r, n] of Object.entries(i))
6814
- n == null || n === "" || this._classNames.push(P.registerMedia(o, Di(r), String(n)));
6827
+ n == null || n === "" || this._classNames.push(P.registerMedia(o, ji(r), String(n)));
6815
6828
  }
6816
6829
  sm(o) {
6817
6830
  return this.media("sm", o);
@@ -6884,7 +6897,7 @@ class go {
6884
6897
  return this.paint("width", o), this.lockAxis("width", o);
6885
6898
  }
6886
6899
  paint(o, t) {
6887
- return this.addClassName(P.register(o, t)), this.layoutStyle({ [ft(o)]: t }), this;
6900
+ return this.addClassName(P.register(o, t)), this.layoutStyle({ [Uo(o)]: t }), this;
6888
6901
  }
6889
6902
  height(o) {
6890
6903
  if (typeof o == "number")
@@ -7023,20 +7036,20 @@ class go {
7023
7036
  o();
7024
7037
  }
7025
7038
  translateX(o) {
7026
- return o instanceof Dt ? this._animatedProps.set("translateX", o) : this._transforms.push(`translateX(${o}px)`), this;
7039
+ return o instanceof jt ? this._animatedProps.set("translateX", o) : this._transforms.push(`translateX(${o}px)`), this;
7027
7040
  }
7028
7041
  translateY(o) {
7029
- return o instanceof Dt ? this._animatedProps.set("translateY", o) : this._transforms.push(`translateY(${o}px)`), this;
7042
+ return o instanceof jt ? this._animatedProps.set("translateY", o) : this._transforms.push(`translateY(${o}px)`), this;
7030
7043
  }
7031
7044
  scale(o) {
7032
- return o instanceof Dt ? this._animatedProps.set("scale", o) : this._transforms.push(`scale(${o})`), this;
7045
+ return o instanceof jt ? this._animatedProps.set("scale", o) : this._transforms.push(`scale(${o})`), this;
7033
7046
  }
7034
7047
  /** SwiftUI `scaleEffect` — alias of {@link scale}. */
7035
7048
  scaleEffect(o) {
7036
7049
  return this.scale(o);
7037
7050
  }
7038
7051
  rotate(o) {
7039
- return o instanceof Dt ? this._animatedProps.set("rotate", o) : this._transforms.push(`rotate(${o}deg)`), this;
7052
+ return o instanceof jt ? this._animatedProps.set("rotate", o) : this._transforms.push(`rotate(${o}deg)`), this;
7040
7053
  }
7041
7054
  /** SwiftUI `rotationEffect` — alias of {@link rotate} (degrees). */
7042
7055
  rotationEffect(o) {
@@ -7145,11 +7158,11 @@ class go {
7145
7158
  transition(o, t, i, r) {
7146
7159
  if (this._autoEffectTransition = !1, this._effectTransitionProps = [], typeof o == "string" && t === void 0)
7147
7160
  return this.replaceTransitionClass(P.register("transition", o)), this;
7148
- const n = Array.isArray(o) ? o : [o], s = et(i || this._transitionEasing);
7161
+ const n = Array.isArray(o) ? o : [o], s = it(i || this._transitionEasing);
7149
7162
  return this.replaceTransitionClass(
7150
7163
  P.register(
7151
7164
  "transition",
7152
- zt(n, t || this._transitionDuration, s, r || 0)
7165
+ Tt(n, t || this._transitionDuration, s, r || 0)
7153
7166
  )
7154
7167
  ), this;
7155
7168
  }
@@ -7165,7 +7178,7 @@ class go {
7165
7178
  * Example: .easing('ease-in-out')
7166
7179
  */
7167
7180
  easing(o) {
7168
- return this._transitionEasing = et(o), (this._motionClass || this._reveal || this._usesCssMotion) && (this._style["--fibo-ease"] = this._transitionEasing, this._motionClass) ? this : (this._applyTransition(), this);
7181
+ return this._transitionEasing = it(o), (this._motionClass || this._reveal || this._usesCssMotion) && (this._style["--fibo-ease"] = this._transitionEasing, this._motionClass) ? this : (this._applyTransition(), this);
7169
7182
  }
7170
7183
  /** Alias of `.easing()`. `'spring'` becomes CSS `linear()`. */
7171
7184
  ease(o) {
@@ -7192,7 +7205,7 @@ class go {
7192
7205
  this._autoEffectTransition = !1, this._effectTransitionProps = [], this.replaceTransitionClass(
7193
7206
  P.register(
7194
7207
  "transition",
7195
- zt(
7208
+ Tt(
7196
7209
  this._transitionProperties,
7197
7210
  this._transitionDuration,
7198
7211
  this._transitionEasing,
@@ -7220,7 +7233,7 @@ class go {
7220
7233
  const d = Wr(o);
7221
7234
  this._motionClass = `fibo-anim fibo-anim-${d}`, this._props["data-fibo-anim"] = d, (t == null ? void 0 : t.from) !== void 0 && (this._style["--fibo-from"] = typeof t.from == "number" ? `${t.from}px` : t.from), !s && d === "pop" && (s = "spring");
7222
7235
  }
7223
- const a = et(s ?? "ease", f);
7236
+ const a = it(s ?? "ease", f);
7224
7237
  this._classNames.push(this._motionClass);
7225
7238
  const u = this._style;
7226
7239
  return u["--fibo-dur"] = `${r}ms`, u["--fibo-ease"] = a, u["--fibo-delay"] = `${n}ms`, this._reducedMotion === "never" && !this._classNames.includes("fibo-motion-force") && this._classNames.push("fibo-motion-force"), this;
@@ -7376,7 +7389,7 @@ class go {
7376
7389
  this.replaceTransitionClass(
7377
7390
  P.register(
7378
7391
  "transition",
7379
- zt(this._effectTransitionProps, r, i)
7392
+ Tt(this._effectTransitionProps, r, i)
7380
7393
  )
7381
7394
  );
7382
7395
  }
@@ -7386,7 +7399,7 @@ class go {
7386
7399
  * SSR-safe: class + inline vars on first paint (no useEffect).
7387
7400
  */
7388
7401
  theme(o) {
7389
- const t = Ds(o);
7402
+ const t = js(o);
7390
7403
  return this._theme = t, this.addClassName(Vs(t)), this;
7391
7404
  }
7392
7405
  /** Prefer dark/light system chrome for native controls under this subtree. */
@@ -7468,7 +7481,7 @@ class go {
7468
7481
  return this._classNames.push("group"), this;
7469
7482
  }
7470
7483
  children(o) {
7471
- return typeof o == "function" ? (this._childFunction = o, this._children = []) : (this._children = Ct(o), this._childFunction = void 0), this;
7484
+ return typeof o == "function" ? (this._childFunction = o, this._children = []) : (this._children = zt(o), this._childFunction = void 0), this;
7472
7485
  }
7473
7486
  getClassName() {
7474
7487
  let o;
@@ -7487,13 +7500,13 @@ class go {
7487
7500
  o.transform = t ? `${t} ${this._transforms.join(" ")}` : this._transforms.join(" ");
7488
7501
  }
7489
7502
  if (this._animationConfig && this._animatedProps.size === 0) {
7490
- const { duration: t = 300, curve: i = "easeOut", stiffness: r, damping: n } = this._animationConfig, s = et(i, { stiffness: r, damping: n });
7503
+ const { duration: t = 300, curve: i = "easeOut", stiffness: r, damping: n } = this._animationConfig, s = it(i, { stiffness: r, damping: n });
7491
7504
  o.transition = `all ${t}ms ${s}`;
7492
7505
  }
7493
7506
  return o;
7494
7507
  }
7495
7508
  processChildren() {
7496
- const o = this._childFunction ? Ct(this._childFunction) : this._children;
7509
+ const o = this._childFunction ? zt(this._childFunction) : this._children;
7497
7510
  return this._staggerMs == null ? o : o.map(
7498
7511
  (t, i) => l.createElement(
7499
7512
  "span",
@@ -7574,10 +7587,10 @@ function Qs(e) {
7574
7587
  V && (h = cs(h, V));
7575
7588
  const K = e._onGeometryChange;
7576
7589
  K && (h = hs(h, K));
7577
- const to = e._animatedProps, po = e._animationConfig;
7578
- to && to.size > 0 && (h = l.createElement(Tr, {
7590
+ const eo = e._animatedProps, po = e._animationConfig;
7591
+ eo && eo.size > 0 && (h = l.createElement(Tr, {
7579
7592
  key: s,
7580
- animatedProps: to,
7593
+ animatedProps: eo,
7581
7594
  animationConfig: po,
7582
7595
  children: h
7583
7596
  }));
@@ -7688,12 +7701,12 @@ function mo(e) {
7688
7701
  return Zs.has(s) || Reflect.has(n, s) ? Reflect.get(n, s, f) : (d) => (((h) => {
7689
7702
  const S = Me(s) ?? [s];
7690
7703
  for (const y of S) {
7691
- const x = Di(y);
7704
+ const x = ji(y);
7692
7705
  if (Us.has(x)) {
7693
7706
  n.setBoxLonghand(x, h);
7694
7707
  continue;
7695
7708
  }
7696
- const v = ro(y, h);
7709
+ const v = to(y, h);
7697
7710
  n.paint(x, v);
7698
7711
  }
7699
7712
  })(d), f);
@@ -7701,7 +7714,7 @@ function mo(e) {
7701
7714
  });
7702
7715
  };
7703
7716
  }
7704
- const ji = "FIBO:", tf = /\uE000FIBO:(\d+)\uE001/g, Gi = [];
7717
+ const Di = "FIBO:", tf = /\uE000FIBO:(\d+)\uE001/g, Gi = [];
7705
7718
  function Pe(e) {
7706
7719
  return typeof e == "string" ? e : e == null ? "" : String(e);
7707
7720
  }
@@ -7712,7 +7725,7 @@ function ef(e) {
7712
7725
  });
7713
7726
  }
7714
7727
  function J(e) {
7715
- return Pe(e).includes(ji);
7728
+ return Pe(e).includes(Di);
7716
7729
  }
7717
7730
  function _o(e) {
7718
7731
  const o = [];
@@ -7726,7 +7739,7 @@ const rf = 16;
7726
7739
  function ho(e) {
7727
7740
  let o = Pe(e);
7728
7741
  for (let t = 0; t < rf; t++) {
7729
- if (!o.includes(ji)) return o;
7742
+ if (!o.includes(Di)) return o;
7730
7743
  const i = ef(o);
7731
7744
  if (i === o) return o;
7732
7745
  o = i;
@@ -8028,7 +8041,7 @@ function Yt(e, o) {
8028
8041
  function Cf(e) {
8029
8042
  return typeof e == "number" ? `${e}px` : String(e);
8030
8043
  }
8031
- function it(e, o) {
8044
+ function rt(e, o) {
8032
8045
  const t = `env(safe-area-inset-${o}, 0px)`;
8033
8046
  if (e == null || e === "") return t;
8034
8047
  const i = Cf(e);
@@ -8041,7 +8054,7 @@ function zf(e, o) {
8041
8054
  if (n == null || n === "") continue;
8042
8055
  const s = `${r}Top`, f = `${r}Right`, a = `${r}Bottom`, u = `${r}Left`;
8043
8056
  if (!(i[s] != null || i[f] != null || i[a] != null || i[u] != null || o.has(`${r}-top`) || o.has(`${r}-right`) || o.has(`${r}-bottom`) || o.has(`${r}-left`))) continue;
8044
- const [g, h, w, S] = ct(String(n));
8057
+ const [g, h, w, S] = lt(String(n));
8045
8058
  i[s] == null && !o.has(`${r}-top`) && (i[s] = g), i[f] == null && !o.has(`${r}-right`) && (i[f] = h), i[a] == null && !o.has(`${r}-bottom`) && (i[a] = w), i[u] == null && !o.has(`${r}-left`) && (i[u] = S), delete i[r];
8046
8059
  }
8047
8060
  return t;
@@ -8049,12 +8062,12 @@ function zf(e, o) {
8049
8062
  function Tf(e, o) {
8050
8063
  const t = e;
8051
8064
  if (t.padding != null && t.padding !== "") {
8052
- const [n, s, f, a] = ct(String(t.padding));
8065
+ const [n, s, f, a] = lt(String(t.padding));
8053
8066
  t.paddingTop == null && (t.paddingTop = n), t.paddingRight == null && (t.paddingRight = s), t.paddingBottom == null && (t.paddingBottom = f), t.paddingLeft == null && (t.paddingLeft = a), delete t.padding;
8054
8067
  }
8055
8068
  t.paddingLeft == null && o.left != null && (t.paddingLeft = o.left), t.paddingRight == null && o.right != null && (t.paddingRight = o.right), t.paddingTop == null && o.top != null && (t.paddingTop = o.top), t.paddingBottom == null && o.bottom != null && (t.paddingBottom = o.bottom);
8056
8069
  const i = t.paddingTop != null && t.paddingTop !== "", r = t.paddingBottom != null && t.paddingBottom !== "";
8057
- t.paddingLeft = it(t.paddingLeft, "left"), t.paddingRight = it(t.paddingRight, "right"), i && (t.paddingTop = it(t.paddingTop, "top")), r && (t.paddingBottom = it(t.paddingBottom, "bottom"));
8070
+ t.paddingLeft = rt(t.paddingLeft, "left"), t.paddingRight = rt(t.paddingRight, "right"), i && (t.paddingTop = rt(t.paddingTop, "top")), r && (t.paddingBottom = rt(t.paddingBottom, "bottom"));
8058
8071
  }
8059
8072
  function Ef(e, o, t, i) {
8060
8073
  const r = e, n = r.width != null || i.has("width") || Yt(t, "width");
@@ -8068,7 +8081,7 @@ function Ef(e, o, t, i) {
8068
8081
  }
8069
8082
  function Af(e, o, t, i, r, n, s) {
8070
8083
  const f = o ? Po({ ...e, ...o }) : { ...e }, a = zf(f, n);
8071
- return !(a.maxWidth != null || Yt(r, "max-width") || n.has("max-width")) && t != null && t !== "" && (a.maxWidth = ro("maxWidth", t)), Ef(a, i, r, n), Tf(a, s), a;
8084
+ return !(a.maxWidth != null || Yt(r, "max-width") || n.has("max-width")) && t != null && t !== "" && (a.maxWidth = to("maxWidth", t)), Ef(a, i, r, n), Tf(a, s), a;
8072
8085
  }
8073
8086
  class Rf extends go {
8074
8087
  constructor() {
@@ -8084,31 +8097,31 @@ class Rf extends go {
8084
8097
  padding(t, i) {
8085
8098
  if (i !== void 0 || t != null && typeof t == "object")
8086
8099
  return super.padding(t, i);
8087
- const r = t, n = ro("padding", r), [s, f, a, u] = ct(n);
8100
+ const r = t, n = to("padding", r), [s, f, a, u] = lt(n);
8088
8101
  return this._boxLonghands.has("padding-top") || (this._userPad.top = s), this._boxLonghands.has("padding-right") || (this._userPad.right = f), this._boxLonghands.has("padding-bottom") || (this._userPad.bottom = a), this._boxLonghands.has("padding-left") || (this._userPad.left = u), super.padding(r);
8089
8102
  }
8090
8103
  paddingHorizontal(t) {
8091
- const i = ro("paddingLeft", t);
8104
+ const i = to("paddingLeft", t);
8092
8105
  return this._userPad.left = i, this._userPad.right = i, super.paddingHorizontal(t);
8093
8106
  }
8094
8107
  paddingVertical(t) {
8095
- const i = ro("paddingTop", t);
8108
+ const i = to("paddingTop", t);
8096
8109
  return this._userPad.top = i, this._userPad.bottom = i, super.paddingVertical(t);
8097
8110
  }
8098
8111
  paddingLeft(t) {
8099
- const i = ro("paddingLeft", t);
8112
+ const i = to("paddingLeft", t);
8100
8113
  return this._userPad.left = i, this._boxLonghands.add("padding-left"), this.addClassName(P.register("padding-left", i)), this;
8101
8114
  }
8102
8115
  paddingRight(t) {
8103
- const i = ro("paddingRight", t);
8116
+ const i = to("paddingRight", t);
8104
8117
  return this._userPad.right = i, this._boxLonghands.add("padding-right"), this.addClassName(P.register("padding-right", i)), this;
8105
8118
  }
8106
8119
  paddingTop(t) {
8107
- const i = ro("paddingTop", t);
8120
+ const i = to("paddingTop", t);
8108
8121
  return this._userPad.top = i, this._boxLonghands.add("padding-top"), this.addClassName(P.register("padding-top", i)), this;
8109
8122
  }
8110
8123
  paddingBottom(t) {
8111
- const i = ro("paddingBottom", t);
8124
+ const i = to("paddingBottom", t);
8112
8125
  return this._userPad.bottom = i, this._boxLonghands.add("padding-bottom"), this.addClassName(P.register("padding-bottom", i)), this;
8113
8126
  }
8114
8127
  build() {
@@ -8130,8 +8143,8 @@ class Rf extends go {
8130
8143
  this._boxLonghands,
8131
8144
  this._userPad
8132
8145
  ), w = [
8133
- P.register("padding-left", String(h.paddingLeft ?? it(void 0, "left"))),
8134
- P.register("padding-right", String(h.paddingRight ?? it(void 0, "right")))
8146
+ P.register("padding-left", String(h.paddingLeft ?? rt(void 0, "left"))),
8147
+ P.register("padding-right", String(h.paddingRight ?? rt(void 0, "right")))
8135
8148
  ];
8136
8149
  h.paddingTop != null && String(h.paddingTop).includes("safe-area-inset") && w.push(P.register("padding-top", String(h.paddingTop))), h.paddingBottom != null && String(h.paddingBottom).includes("safe-area-inset") && w.push(P.register("padding-bottom", String(h.paddingBottom)));
8137
8150
  const S = [
@@ -8333,15 +8346,15 @@ function Co(e, o) {
8333
8346
  if (Array.isArray(o))
8334
8347
  for (const t of o) Co(e, t);
8335
8348
  }
8336
- function Df(e) {
8349
+ function jf(e) {
8337
8350
  return typeof e == "string" && J(e) ? ho(e) : e;
8338
8351
  }
8339
8352
  function he(e) {
8340
8353
  return e == null || e === !1 ? null : typeof e == "string" ? J(e) ? ho(e) : e : vo(e);
8341
8354
  }
8342
- function jf(e, o) {
8355
+ function Df(e, o) {
8343
8356
  const t = o !== void 0 ? o : e;
8344
- return (t == null ? [] : Array.isArray(t) ? t : [t]).map(Df);
8357
+ return (t == null ? [] : Array.isArray(t) ? t : [t]).map(jf);
8345
8358
  }
8346
8359
  const Gf = l.memo((e) => {
8347
8360
  const {
@@ -8385,7 +8398,7 @@ const Gf = l.memo((e) => {
8385
8398
  w
8386
8399
  ) : null
8387
8400
  );
8388
- }), At = class At extends go {
8401
+ }), Rt = class Rt extends go {
8389
8402
  constructor() {
8390
8403
  super(...arguments);
8391
8404
  c(this, "_height", 64);
@@ -8416,7 +8429,7 @@ const Gf = l.memo((e) => {
8416
8429
  }
8417
8430
  sticky(t = !0) {
8418
8431
  if (t === !1)
8419
- return this._sticky && (this.dropStickyStamp(), At.unstickSeq += 1, this.publishStickyOffset(`0px${" ".repeat(At.unstickSeq)}`)), this._sticky = !1, this;
8432
+ return this._sticky && (this.dropStickyStamp(), Rt.unstickSeq += 1, this.publishStickyOffset(`0px${" ".repeat(Rt.unstickSeq)}`)), this._sticky = !1, this;
8420
8433
  this._sticky = !0, this._stickyTop = t === !0 ? 0 : t, this.dropStickyStamp();
8421
8434
  const i = new Set(this._classNames);
8422
8435
  return super.sticky(this._stickyTop), this._stickyStamp = this._classNames.filter((r) => !i.has(r)), this.syncStickyOffset(), this;
@@ -8458,12 +8471,12 @@ const Gf = l.memo((e) => {
8458
8471
  leading: he(this._leading ?? n),
8459
8472
  trailing: he(this._trailing ?? s),
8460
8473
  title: he(this._title ?? f),
8461
- children: jf(this.processChildren(), i)
8474
+ children: Df(this.processChildren(), i)
8462
8475
  });
8463
8476
  }
8464
8477
  };
8465
- c(At, "unstickSeq", 0);
8466
- let Te = At;
8478
+ c(Rt, "unstickSeq", 0);
8479
+ let Te = Rt;
8467
8480
  const Hf = mo(Te);
8468
8481
  function Xf(e, o) {
8469
8482
  const {
@@ -8560,10 +8573,10 @@ function Yf(e, o) {
8560
8573
  for (const t of _o(o))
8561
8574
  e.bindSignal(t);
8562
8575
  }
8563
- function rt(e, o) {
8576
+ function nt(e, o) {
8564
8577
  if (typeof o == "function") {
8565
8578
  try {
8566
- rt(e, o());
8579
+ nt(e, o());
8567
8580
  } catch {
8568
8581
  }
8569
8582
  return;
@@ -8573,12 +8586,12 @@ function rt(e, o) {
8573
8586
  return;
8574
8587
  }
8575
8588
  if (Array.isArray(o))
8576
- for (const t of o) rt(e, t);
8589
+ for (const t of o) nt(e, t);
8577
8590
  }
8578
8591
  function Xo(e) {
8579
8592
  return typeof e == "string" && J(e) ? ho(e) : e;
8580
8593
  }
8581
- const ot = { flexShrink: 0 };
8594
+ const tt = { flexShrink: 0 };
8582
8595
  class Uf extends go {
8583
8596
  constructor() {
8584
8597
  super(...arguments);
@@ -8602,10 +8615,10 @@ class Uf extends go {
8602
8615
  c(this, "_onDrawer");
8603
8616
  }
8604
8617
  children(t) {
8605
- return rt(this, t), super.children(t);
8618
+ return nt(this, t), super.children(t);
8606
8619
  }
8607
8620
  props(t) {
8608
- return t && "children" in t && rt(this, t.children), super.props(t);
8621
+ return t && "children" in t && nt(this, t.children), super.props(t);
8609
8622
  }
8610
8623
  locale(t) {
8611
8624
  return this._locale = t, this;
@@ -8695,17 +8708,17 @@ class Uf extends go {
8695
8708
  }
8696
8709
  _bindBar(t) {
8697
8710
  if (this._isLayoutBarConfig(t)) {
8698
- rt(this, t.children);
8711
+ nt(this, t.children);
8699
8712
  return;
8700
8713
  }
8701
- rt(this, t);
8714
+ nt(this, t);
8702
8715
  }
8703
8716
  _normalizeBar(t) {
8704
8717
  return this._isLayoutBarConfig(t) ? {
8705
8718
  content: l.createElement(
8706
8719
  l.Fragment,
8707
8720
  null,
8708
- ...Ct(t.children).map(Xo)
8721
+ ...zt(t.children).map(Xo)
8709
8722
  ),
8710
8723
  fixed: t.fixed ?? !1
8711
8724
  } : {
@@ -8717,7 +8730,7 @@ class Uf extends go {
8717
8730
  return !t || typeof t != "object" || l.isValidElement(t) || "build" in t && typeof t.build == "function" ? !1 : "children" in t && !("type" in t);
8718
8731
  }
8719
8732
  build() {
8720
- var N, q, lo, Y, Go, Q, Fo, To, uo, Eo, wo, bt, Ft, Uo, ht, dt, pt, xt, gt, Ko, Nt, $t, Mt, Lt, No, Pt, Ot;
8733
+ var N, q, lo, Y, Go, Q, Fo, To, uo, Eo, wo, ht, Ft, Ko, dt, pt, xt, gt, mt, qo, Nt, $t, Mt, Lt, No, Pt, Ot;
8721
8734
  const {
8722
8735
  children: t,
8723
8736
  className: i,
@@ -8727,7 +8740,7 @@ class Uf extends go {
8727
8740
  locale: f,
8728
8741
  providers: a,
8729
8742
  ...u
8730
- } = this._props, g = (t !== void 0 ? Ct(t) : this.processChildren()).map(Xo), h = this._headerBar ? this._normalizeBar(this._headerBar) : void 0, w = this._bottomAppBar ? this._normalizeBar(this._bottomAppBar) : void 0, S = this._sideBarLeft ? this._normalizeBar(this._sideBarLeft) : void 0, y = this._sideBarRight ? this._normalizeBar(this._sideBarRight) : void 0, x = this._structure, v = x.bottomAppBar ?? x.footer, T = h && ((N = x.header) == null ? void 0 : N.visible) !== !1, O = w && (v == null ? void 0 : v.visible) !== !1, I = S && ((q = x.sidebarLeft) == null ? void 0 : q.visible) !== !1, $ = y && ((lo = x.sidebarRight) == null ? void 0 : lo.visible) !== !1, M = I && ((Y = x.sidebarLeft) == null ? void 0 : Y.fullHeight), W = $ && ((Go = x.sidebarRight) == null ? void 0 : Go.fullHeight), k = l.createElement(
8743
+ } = this._props, g = (t !== void 0 ? zt(t) : this.processChildren()).map(Xo), h = this._headerBar ? this._normalizeBar(this._headerBar) : void 0, w = this._bottomAppBar ? this._normalizeBar(this._bottomAppBar) : void 0, S = this._sideBarLeft ? this._normalizeBar(this._sideBarLeft) : void 0, y = this._sideBarRight ? this._normalizeBar(this._sideBarRight) : void 0, x = this._structure, v = x.bottomAppBar ?? x.footer, T = h && ((N = x.header) == null ? void 0 : N.visible) !== !1, O = w && (v == null ? void 0 : v.visible) !== !1, I = S && ((q = x.sidebarLeft) == null ? void 0 : q.visible) !== !1, $ = y && ((lo = x.sidebarRight) == null ? void 0 : lo.visible) !== !1, M = I && ((Y = x.sidebarLeft) == null ? void 0 : Y.fullHeight), W = $ && ((Go = x.sidebarRight) == null ? void 0 : Go.fullHeight), k = l.createElement(
8731
8744
  "div",
8732
8745
  {
8733
8746
  key: "scaffold-middle",
@@ -8750,12 +8763,12 @@ class Uf extends go {
8750
8763
  position: ((Fo = x.sidebarLeft) == null ? void 0 : Fo.mode) === "over" ? "absolute" : ((To = x.sidebarLeft) == null ? void 0 : To.behavior) === "fixed" || S.fixed ? "sticky" : void 0,
8751
8764
  top: ((uo = x.sidebarLeft) == null ? void 0 : uo.mode) === "over" || ((Eo = x.sidebarLeft) == null ? void 0 : Eo.behavior) === "fixed" || S.fixed ? 0 : void 0,
8752
8765
  left: ((wo = x.sidebarLeft) == null ? void 0 : wo.mode) === "over" ? "0px" : void 0,
8753
- height: ((bt = x.sidebarLeft) == null ? void 0 : bt.mode) === "over" || ((Ft = x.sidebarLeft) == null ? void 0 : Ft.behavior) === "fixed" || S.fixed ? "100%" : void 0,
8754
- zIndex: ((Uo = x.sidebarLeft) == null ? void 0 : Uo.mode) === "over" ? 20 : void 0,
8766
+ height: ((ht = x.sidebarLeft) == null ? void 0 : ht.mode) === "over" || ((Ft = x.sidebarLeft) == null ? void 0 : Ft.behavior) === "fixed" || S.fixed ? "100%" : void 0,
8767
+ zIndex: ((Ko = x.sidebarLeft) == null ? void 0 : Ko.mode) === "over" ? 20 : void 0,
8755
8768
  overflowY: "auto",
8756
8769
  borderRight: "1px solid var(--fibo-outline, #e0e0e0)",
8757
8770
  backgroundColor: "var(--fibo-surface, #ffffff)",
8758
- ...ot
8771
+ ...tt
8759
8772
  }
8760
8773
  }, S.content),
8761
8774
  l.createElement("main", {
@@ -8776,16 +8789,16 @@ class Uf extends go {
8776
8789
  key: "sidebar-right",
8777
8790
  className: "z-20",
8778
8791
  style: {
8779
- width: (ht = x.sidebarRight) == null ? void 0 : ht.width,
8780
- position: ((dt = x.sidebarRight) == null ? void 0 : dt.mode) === "over" ? "absolute" : ((pt = x.sidebarRight) == null ? void 0 : pt.behavior) === "fixed" || y.fixed ? "sticky" : void 0,
8781
- top: ((xt = x.sidebarRight) == null ? void 0 : xt.mode) === "over" || ((gt = x.sidebarRight) == null ? void 0 : gt.behavior) === "fixed" || y.fixed ? 0 : void 0,
8782
- right: ((Ko = x.sidebarRight) == null ? void 0 : Ko.mode) === "over" ? "0px" : void 0,
8792
+ width: (dt = x.sidebarRight) == null ? void 0 : dt.width,
8793
+ position: ((pt = x.sidebarRight) == null ? void 0 : pt.mode) === "over" ? "absolute" : ((xt = x.sidebarRight) == null ? void 0 : xt.behavior) === "fixed" || y.fixed ? "sticky" : void 0,
8794
+ top: ((gt = x.sidebarRight) == null ? void 0 : gt.mode) === "over" || ((mt = x.sidebarRight) == null ? void 0 : mt.behavior) === "fixed" || y.fixed ? 0 : void 0,
8795
+ right: ((qo = x.sidebarRight) == null ? void 0 : qo.mode) === "over" ? "0px" : void 0,
8783
8796
  height: ((Nt = x.sidebarRight) == null ? void 0 : Nt.mode) === "over" || (($t = x.sidebarRight) == null ? void 0 : $t.behavior) === "fixed" || y.fixed ? "100%" : void 0,
8784
8797
  zIndex: ((Mt = x.sidebarRight) == null ? void 0 : Mt.mode) === "over" ? 20 : void 0,
8785
8798
  overflowY: "auto",
8786
8799
  borderLeft: "1px solid var(--fibo-outline, #e0e0e0)",
8787
8800
  backgroundColor: "var(--fibo-surface, #ffffff)",
8788
- ...ot
8801
+ ...tt
8789
8802
  }
8790
8803
  }, y.content)
8791
8804
  ].filter(Boolean)
@@ -8799,7 +8812,7 @@ class Uf extends go {
8799
8812
  left: this._extendBehindHeader ? 0 : void 0,
8800
8813
  right: this._extendBehindHeader ? 0 : void 0,
8801
8814
  zIndex: 30,
8802
- ...ot
8815
+ ...tt
8803
8816
  }
8804
8817
  }, h.content), V = O && l.createElement("div", {
8805
8818
  key: "bottom-app-bar",
@@ -8808,9 +8821,9 @@ class Uf extends go {
8808
8821
  height: v == null ? void 0 : v.height,
8809
8822
  position: (v == null ? void 0 : v.position) || (w.fixed ? "sticky" : "static"),
8810
8823
  zIndex: 30,
8811
- ...ot
8824
+ ...tt
8812
8825
  }
8813
- }, w.content), K = this._fabAt === "startDock" || this._fabAt === "centerDock" || this._fabAt === "endDock", to = this._fab ? l.createElement(
8826
+ }, w.content), K = this._fabAt === "startDock" || this._fabAt === "centerDock" || this._fabAt === "endDock", eo = this._fab ? l.createElement(
8814
8827
  "div",
8815
8828
  {
8816
8829
  key: "scaffold-fab",
@@ -8830,13 +8843,13 @@ class Uf extends go {
8830
8843
  ) : null, no = this._footerButtons ? l.createElement(
8831
8844
  "div",
8832
8845
  { key: "footer-buttons", className: "fibo-scaffold-footer-buttons" },
8833
- ...Ct(this._footerButtons).map(Xo)
8834
- ) : null, fo = (qo, $o) => $o ? l.createElement(
8846
+ ...zt(this._footerButtons).map(Xo)
8847
+ ) : null, fo = (Zo, $o) => $o ? l.createElement(
8835
8848
  "div",
8836
8849
  {
8837
- key: `drawer-${qo}`,
8850
+ key: `drawer-${Zo}`,
8838
8851
  className: "fibo-scaffold-drawer",
8839
- "data-scaffold-drawer": qo,
8852
+ "data-scaffold-drawer": Zo,
8840
8853
  "data-open": "false",
8841
8854
  role: "dialog",
8842
8855
  "aria-hidden": !0,
@@ -8844,10 +8857,10 @@ class Uf extends go {
8844
8857
  style: { width: this._drawerWidth }
8845
8858
  },
8846
8859
  Xo(vo($o))
8847
- ) : null, so = po || no || V || K && to ? l.createElement(
8860
+ ) : null, so = po || no || V || K && eo ? l.createElement(
8848
8861
  "div",
8849
8862
  { key: "scaffold-bottom", className: "fibo-scaffold-bottom" },
8850
- [po, no, V, K ? to : null].filter(Boolean)
8863
+ [po, no, V, K ? eo : null].filter(Boolean)
8851
8864
  ) : null, oo = l.createElement(l.Fragment, null, [
8852
8865
  H,
8853
8866
  k,
@@ -8870,7 +8883,7 @@ class Uf extends go {
8870
8883
  className: "fibo-scaffold-edge fibo-scaffold-edge-end",
8871
8884
  "data-scaffold-edge": "end"
8872
8885
  }),
8873
- K ? null : to,
8886
+ K ? null : eo,
8874
8887
  l.createElement("div", {
8875
8888
  key: "scaffold-snack",
8876
8889
  className: "fibo-scaffold-snack",
@@ -8904,7 +8917,7 @@ class Uf extends go {
8904
8917
  borderRight: "1px solid var(--fibo-outline, #e0e0e0)",
8905
8918
  backgroundColor: "var(--fibo-surface, #ffffff)",
8906
8919
  zIndex: 40,
8907
- ...ot
8920
+ ...tt
8908
8921
  }
8909
8922
  }, S.content),
8910
8923
  C
@@ -8921,14 +8934,14 @@ class Uf extends go {
8921
8934
  borderLeft: "1px solid var(--fibo-outline, #e0e0e0)",
8922
8935
  backgroundColor: "var(--fibo-surface, #ffffff)",
8923
8936
  zIndex: 40,
8924
- ...ot
8937
+ ...tt
8925
8938
  }
8926
8939
  }, y.content)
8927
8940
  ]));
8928
- const yo = Do.getInstance().getOverlays().map((qo, $o) => {
8929
- const b = qo().build();
8941
+ const yo = jo.getInstance().getOverlays().map((Zo, $o) => {
8942
+ const b = Zo().build();
8930
8943
  return l.isValidElement(b) && b.key != null && b.key !== "" ? b : l.createElement(l.Fragment, { key: `fibo-overlay-${$o}` }, b);
8931
- }), jo = {
8944
+ }), Do = {
8932
8945
  theme: this._theme,
8933
8946
  locale: this._locale,
8934
8947
  providers: this._customProviders,
@@ -8942,7 +8955,7 @@ class Uf extends go {
8942
8955
  onDrawerChanged: this._onDrawer,
8943
8956
  ...u
8944
8957
  };
8945
- return l.createElement(Vf, jo);
8958
+ return l.createElement(Vf, Do);
8946
8959
  }
8947
8960
  }
8948
8961
  const Ic = mo(Uf);
@@ -9024,7 +9037,7 @@ function Ki(e) {
9024
9037
  if (r == null || r === "") continue;
9025
9038
  const n = `${i}Top`, s = `${i}Right`, f = `${i}Bottom`, a = `${i}Left`;
9026
9039
  if (!(t[n] != null || t[s] != null || t[f] != null || t[a] != null)) continue;
9027
- const [d, g, h, w] = ct(String(r));
9040
+ const [d, g, h, w] = lt(String(r));
9028
9041
  t[n] == null && (t[n] = d), t[s] == null && (t[s] = g), t[f] == null && (t[f] = h), t[a] == null && (t[a] = w), delete t[i];
9029
9042
  }
9030
9043
  return Qf(o), o;
@@ -9293,13 +9306,13 @@ function ba(e, o) {
9293
9306
  if (o) return o;
9294
9307
  if (typeof e == "number") return la(e);
9295
9308
  }
9296
- function Tt(e) {
9309
+ function Et(e) {
9297
9310
  return typeof e == "number" ? `${e}px` : ca[e] ?? (e || "16px");
9298
9311
  }
9299
9312
  function ha(e, o, t) {
9300
9313
  return o == null && t == null ? { gap: e } : {
9301
- ...o != null ? { rowGap: Tt(o) } : { rowGap: e },
9302
- ...t != null ? { columnGap: Tt(t) } : { columnGap: e }
9314
+ ...o != null ? { rowGap: Et(o) } : { rowGap: e },
9315
+ ...t != null ? { columnGap: Et(t) } : { columnGap: e }
9303
9316
  };
9304
9317
  }
9305
9318
  function qi(e) {
@@ -9336,7 +9349,7 @@ const pa = l.memo((e) => {
9336
9349
  className: g,
9337
9350
  style: h,
9338
9351
  ...w
9339
- } = e, S = qi(o), y = Tt(r), x = ha(y, u, d), v = ua(i, s), T = ba(n, f);
9352
+ } = e, S = qi(o), y = Et(r), x = ha(y, u, d), v = ua(i, s), T = ba(n, f);
9340
9353
  if (t === "bento") {
9341
9354
  const I = [
9342
9355
  { col: 2, row: 2 },
@@ -9367,7 +9380,7 @@ const pa = l.memo((e) => {
9367
9380
  }));
9368
9381
  }
9369
9382
  if (t === "masonry") {
9370
- const I = d != null ? Tt(d) : y, $ = u != null ? Tt(u) : y, M = {
9383
+ const I = d != null ? Et(d) : y, $ = u != null ? Et(u) : y, M = {
9371
9384
  columnCount: typeof i == "number" ? i : 1,
9372
9385
  columnGap: I,
9373
9386
  ...h
@@ -9687,21 +9700,21 @@ function _a(e) {
9687
9700
  const o = e;
9688
9701
  return "children" in o || "text" in o || "className" in o || "variant" in o || "type" in o;
9689
9702
  }
9690
- function Et(e) {
9703
+ function At(e) {
9691
9704
  if (e == null || typeof e == "boolean") return null;
9692
9705
  if (typeof e == "string")
9693
9706
  return J(e) ? ho(e) : e;
9694
9707
  if (typeof e == "number") return e;
9695
9708
  if (typeof e == "function")
9696
9709
  try {
9697
- return Et(e());
9710
+ return At(e());
9698
9711
  } catch {
9699
9712
  return null;
9700
9713
  }
9701
9714
  if (l.isValidElement(e)) return e;
9702
- if (Array.isArray(e)) return e.map((o) => Et(o));
9715
+ if (Array.isArray(e)) return e.map((o) => At(o));
9703
9716
  if (typeof e == "object" && e && "children" in e && !("$$typeof" in e))
9704
- return Et(e.children);
9717
+ return At(e.children);
9705
9718
  if (typeof e.toString == "function") {
9706
9719
  const o = String(e);
9707
9720
  if (o && o !== "[object Object]") return o;
@@ -9709,8 +9722,8 @@ function Et(e) {
9709
9722
  return null;
9710
9723
  }
9711
9724
  function Sa(e, o) {
9712
- const t = Et(e);
9713
- return t != null && t !== "" ? t : Et(o);
9725
+ const t = At(e);
9726
+ return t != null && t !== "" ? t : At(o);
9714
9727
  }
9715
9728
  const Ca = l.memo((e) => {
9716
9729
  const { text: o, type: t, className: i, style: r, children: n, liveRef: s, ...f } = e, a = Qi(t), u = Ji[a] || "p";
@@ -10037,7 +10050,7 @@ const Lc = mo(za), Ta = (e, o) => {
10037
10050
  baseClassName: t,
10038
10051
  maybePostfixModifierPosition: i,
10039
10052
  isExternal: r
10040
- }), Da = (e) => {
10053
+ }), ja = (e) => {
10041
10054
  const {
10042
10055
  prefix: o,
10043
10056
  experimentalParseClassName: t
@@ -10084,7 +10097,7 @@ const Lc = mo(za), Ta = (e, o) => {
10084
10097
  });
10085
10098
  }
10086
10099
  return i;
10087
- }, ja = (e) => {
10100
+ }, Da = (e) => {
10088
10101
  const o = /* @__PURE__ */ new Map();
10089
10102
  return e.orderSensitiveModifiers.forEach((t, i) => {
10090
10103
  o.set(t, 1e6 + i);
@@ -10099,8 +10112,8 @@ const Lc = mo(za), Ta = (e, o) => {
10099
10112
  };
10100
10113
  }, Ga = (e) => ({
10101
10114
  cache: Oa(e.cacheSize),
10102
- parseClassName: Da(e),
10103
- sortModifiers: ja(e),
10115
+ parseClassName: ja(e),
10116
+ sortModifiers: Da(e),
10104
10117
  ...Ra(e)
10105
10118
  }), Ha = /\s+/, Xa = (e, o) => {
10106
10119
  const {
@@ -10174,15 +10187,15 @@ const Lc = mo(za), Ta = (e, o) => {
10174
10187
  }, Ya = [], co = (e) => {
10175
10188
  const o = (t) => t[e] || Ya;
10176
10189
  return o.isThemeGetter = !0, o;
10177
- }, sr = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, fr = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Ua = /^\d+\/\d+$/, Ka = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, qa = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, Za = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, Ja = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Qa = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, tt = (e) => Ua.test(e), D = (e) => !!e && !Number.isNaN(Number(e)), Mo = (e) => !!e && Number.isInteger(Number(e)), xe = (e) => e.endsWith("%") && D(e.slice(0, -1)), Ao = (e) => Ka.test(e), oc = () => !0, tc = (e) => (
10190
+ }, sr = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, fr = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Ua = /^\d+\/\d+$/, Ka = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, qa = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, Za = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, Ja = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Qa = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, et = (e) => Ua.test(e), j = (e) => !!e && !Number.isNaN(Number(e)), Mo = (e) => !!e && Number.isInteger(Number(e)), xe = (e) => e.endsWith("%") && j(e.slice(0, -1)), Ao = (e) => Ka.test(e), oc = () => !0, tc = (e) => (
10178
10191
  // `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
10179
10192
  // For example, `hsl(0 0% 0%)` would be classified as a length without this check.
10180
10193
  // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
10181
10194
  qa.test(e) && !Za.test(e)
10182
- ), ar = () => !1, ec = (e) => Ja.test(e), ic = (e) => Qa.test(e), rc = (e) => !A(e) && !R(e), nc = (e) => lt(e, ur, ar), A = (e) => sr.test(e), Vo = (e) => lt(e, br, tc), ge = (e) => lt(e, lc, D), li = (e) => lt(e, cr, ar), sc = (e) => lt(e, lr, ic), Gt = (e) => lt(e, hr, ec), R = (e) => fr.test(e), yt = (e) => ut(e, br), fc = (e) => ut(e, uc), ui = (e) => ut(e, cr), ac = (e) => ut(e, ur), cc = (e) => ut(e, lr), Ht = (e) => ut(e, hr, !0), lt = (e, o, t) => {
10195
+ ), ar = () => !1, ec = (e) => Ja.test(e), ic = (e) => Qa.test(e), rc = (e) => !A(e) && !R(e), nc = (e) => ut(e, ur, ar), A = (e) => sr.test(e), Vo = (e) => ut(e, br, tc), ge = (e) => ut(e, lc, j), li = (e) => ut(e, cr, ar), sc = (e) => ut(e, lr, ic), Gt = (e) => ut(e, hr, ec), R = (e) => fr.test(e), kt = (e) => bt(e, br), fc = (e) => bt(e, uc), ui = (e) => bt(e, cr), ac = (e) => bt(e, ur), cc = (e) => bt(e, lr), Ht = (e) => bt(e, hr, !0), ut = (e, o, t) => {
10183
10196
  const i = sr.exec(e);
10184
10197
  return i ? i[1] ? o(i[1]) : t(i[2]) : !1;
10185
- }, ut = (e, o, t = !1) => {
10198
+ }, bt = (e, o, t = !1) => {
10186
10199
  const i = fr.exec(e);
10187
10200
  return i ? i[1] ? o(i[1]) : t : !1;
10188
10201
  }, cr = (e) => e === "position" || e === "percentage", lr = (e) => e === "image" || e === "url", ur = (e) => e === "length" || e === "size" || e === "bg-size", br = (e) => e === "length", lc = (e) => e === "number", uc = (e) => e === "family-name", hr = (e) => e === "shadow", bi = () => {
@@ -10204,15 +10217,15 @@ const Lc = mo(za), Ta = (e, o) => {
10204
10217
  "bottom-left",
10205
10218
  // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
10206
10219
  "left-bottom"
10207
- ], $ = () => [...I(), R, A], M = () => ["auto", "hidden", "clip", "visible", "scroll"], W = () => ["auto", "contain", "none"], k = () => [R, A, a], H = () => [tt, "full", "auto", ...k()], V = () => [Mo, "none", "subgrid", R, A], K = () => ["auto", {
10220
+ ], $ = () => [...I(), R, A], M = () => ["auto", "hidden", "clip", "visible", "scroll"], W = () => ["auto", "contain", "none"], k = () => [R, A, a], H = () => [et, "full", "auto", ...k()], V = () => [Mo, "none", "subgrid", R, A], K = () => ["auto", {
10208
10221
  span: ["full", Mo, R, A]
10209
- }, Mo, R, A], to = () => [Mo, "auto", R, A], po = () => ["auto", "min", "max", "fr", R, A], no = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], fo = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], so = () => ["auto", ...k()], oo = () => [tt, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...k()], C = () => [e, R, A], So = () => [...I(), ui, li, {
10222
+ }, Mo, R, A], eo = () => [Mo, "auto", R, A], po = () => ["auto", "min", "max", "fr", R, A], no = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], fo = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], so = () => ["auto", ...k()], oo = () => [et, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...k()], C = () => [e, R, A], So = () => [...I(), ui, li, {
10210
10223
  position: [R, A]
10211
10224
  }], yo = () => ["no-repeat", {
10212
10225
  repeat: ["", "x", "y", "space", "round"]
10213
- }], jo = () => ["auto", "cover", "contain", ac, nc, {
10226
+ }], Do = () => ["auto", "cover", "contain", ac, nc, {
10214
10227
  size: [R, A]
10215
- }], N = () => [xe, yt, Vo], q = () => [
10228
+ }], N = () => [xe, kt, Vo], q = () => [
10216
10229
  // Deprecated since Tailwind CSS v4.0.0
10217
10230
  "",
10218
10231
  "none",
@@ -10220,14 +10233,14 @@ const Lc = mo(za), Ta = (e, o) => {
10220
10233
  u,
10221
10234
  R,
10222
10235
  A
10223
- ], lo = () => ["", D, yt, Vo], Y = () => ["solid", "dashed", "dotted", "double"], Go = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], Q = () => [D, xe, ui, li], Fo = () => [
10236
+ ], lo = () => ["", j, kt, Vo], Y = () => ["solid", "dashed", "dotted", "double"], Go = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], Q = () => [j, xe, ui, li], Fo = () => [
10224
10237
  // Deprecated since Tailwind CSS v4.0.0
10225
10238
  "",
10226
10239
  "none",
10227
10240
  S,
10228
10241
  R,
10229
10242
  A
10230
- ], To = () => ["none", D, R, A], uo = () => ["none", D, R, A], Eo = () => [D, R, A], wo = () => [tt, "full", ...k()];
10243
+ ], To = () => ["none", j, R, A], uo = () => ["none", j, R, A], Eo = () => [j, R, A], wo = () => [et, "full", ...k()];
10231
10244
  return {
10232
10245
  cacheSize: 500,
10233
10246
  theme: {
@@ -10246,7 +10259,7 @@ const Lc = mo(za), Ta = (e, o) => {
10246
10259
  perspective: ["dramatic", "near", "normal", "midrange", "distant", "none"],
10247
10260
  radius: [Ao],
10248
10261
  shadow: [Ao],
10249
- spacing: ["px", D],
10262
+ spacing: ["px", j],
10250
10263
  text: [Ao],
10251
10264
  "text-shadow": [Ao],
10252
10265
  tracking: ["tighter", "tight", "normal", "wide", "wider", "widest"]
@@ -10260,7 +10273,7 @@ const Lc = mo(za), Ta = (e, o) => {
10260
10273
  * @see https://tailwindcss.com/docs/aspect-ratio
10261
10274
  */
10262
10275
  aspect: [{
10263
- aspect: ["auto", "square", tt, A, R, x]
10276
+ aspect: ["auto", "square", et, A, R, x]
10264
10277
  }],
10265
10278
  /**
10266
10279
  * Container
@@ -10273,7 +10286,7 @@ const Lc = mo(za), Ta = (e, o) => {
10273
10286
  * @see https://tailwindcss.com/docs/columns
10274
10287
  */
10275
10288
  columns: [{
10276
- columns: [D, A, R, f]
10289
+ columns: [j, A, R, f]
10277
10290
  }],
10278
10291
  /**
10279
10292
  * Break After
@@ -10483,7 +10496,7 @@ const Lc = mo(za), Ta = (e, o) => {
10483
10496
  * @see https://tailwindcss.com/docs/flex-basis
10484
10497
  */
10485
10498
  basis: [{
10486
- basis: [tt, "full", "auto", f, ...k()]
10499
+ basis: [et, "full", "auto", f, ...k()]
10487
10500
  }],
10488
10501
  /**
10489
10502
  * Flex Direction
@@ -10504,21 +10517,21 @@ const Lc = mo(za), Ta = (e, o) => {
10504
10517
  * @see https://tailwindcss.com/docs/flex
10505
10518
  */
10506
10519
  flex: [{
10507
- flex: [D, tt, "auto", "initial", "none", A]
10520
+ flex: [j, et, "auto", "initial", "none", A]
10508
10521
  }],
10509
10522
  /**
10510
10523
  * Flex Grow
10511
10524
  * @see https://tailwindcss.com/docs/flex-grow
10512
10525
  */
10513
10526
  grow: [{
10514
- grow: ["", D, R, A]
10527
+ grow: ["", j, R, A]
10515
10528
  }],
10516
10529
  /**
10517
10530
  * Flex Shrink
10518
10531
  * @see https://tailwindcss.com/docs/flex-shrink
10519
10532
  */
10520
10533
  shrink: [{
10521
- shrink: ["", D, R, A]
10534
+ shrink: ["", j, R, A]
10522
10535
  }],
10523
10536
  /**
10524
10537
  * Order
@@ -10546,14 +10559,14 @@ const Lc = mo(za), Ta = (e, o) => {
10546
10559
  * @see https://tailwindcss.com/docs/grid-column
10547
10560
  */
10548
10561
  "col-start": [{
10549
- "col-start": to()
10562
+ "col-start": eo()
10550
10563
  }],
10551
10564
  /**
10552
10565
  * Grid Column End
10553
10566
  * @see https://tailwindcss.com/docs/grid-column
10554
10567
  */
10555
10568
  "col-end": [{
10556
- "col-end": to()
10569
+ "col-end": eo()
10557
10570
  }],
10558
10571
  /**
10559
10572
  * Grid Template Rows
@@ -10574,14 +10587,14 @@ const Lc = mo(za), Ta = (e, o) => {
10574
10587
  * @see https://tailwindcss.com/docs/grid-row
10575
10588
  */
10576
10589
  "row-start": [{
10577
- "row-start": to()
10590
+ "row-start": eo()
10578
10591
  }],
10579
10592
  /**
10580
10593
  * Grid Row End
10581
10594
  * @see https://tailwindcss.com/docs/grid-row
10582
10595
  */
10583
10596
  "row-end": [{
10584
- "row-end": to()
10597
+ "row-end": eo()
10585
10598
  }],
10586
10599
  /**
10587
10600
  * Grid Auto Flow
@@ -10920,7 +10933,7 @@ const Lc = mo(za), Ta = (e, o) => {
10920
10933
  * @see https://tailwindcss.com/docs/font-size
10921
10934
  */
10922
10935
  "font-size": [{
10923
- text: ["base", t, yt, Vo]
10936
+ text: ["base", t, kt, Vo]
10924
10937
  }],
10925
10938
  /**
10926
10939
  * Font Smoothing
@@ -10995,7 +11008,7 @@ const Lc = mo(za), Ta = (e, o) => {
10995
11008
  * @see https://tailwindcss.com/docs/line-clamp
10996
11009
  */
10997
11010
  "line-clamp": [{
10998
- "line-clamp": [D, "none", R, ge]
11011
+ "line-clamp": [j, "none", R, ge]
10999
11012
  }],
11000
11013
  /**
11001
11014
  * Line Height
@@ -11068,7 +11081,7 @@ const Lc = mo(za), Ta = (e, o) => {
11068
11081
  * @see https://tailwindcss.com/docs/text-decoration-thickness
11069
11082
  */
11070
11083
  "text-decoration-thickness": [{
11071
- decoration: [D, "from-font", "auto", R, Vo]
11084
+ decoration: [j, "from-font", "auto", R, Vo]
11072
11085
  }],
11073
11086
  /**
11074
11087
  * Text Decoration Color
@@ -11082,7 +11095,7 @@ const Lc = mo(za), Ta = (e, o) => {
11082
11095
  * @see https://tailwindcss.com/docs/text-underline-offset
11083
11096
  */
11084
11097
  "underline-offset": [{
11085
- "underline-offset": [D, "auto", R, A]
11098
+ "underline-offset": [j, "auto", R, A]
11086
11099
  }],
11087
11100
  /**
11088
11101
  * Text Transform
@@ -11193,7 +11206,7 @@ const Lc = mo(za), Ta = (e, o) => {
11193
11206
  * @see https://tailwindcss.com/docs/background-size
11194
11207
  */
11195
11208
  "bg-size": [{
11196
- bg: jo()
11209
+ bg: Do()
11197
11210
  }],
11198
11211
  /**
11199
11212
  * Background Image
@@ -11548,14 +11561,14 @@ const Lc = mo(za), Ta = (e, o) => {
11548
11561
  * @see https://tailwindcss.com/docs/outline-offset
11549
11562
  */
11550
11563
  "outline-offset": [{
11551
- "outline-offset": [D, R, A]
11564
+ "outline-offset": [j, R, A]
11552
11565
  }],
11553
11566
  /**
11554
11567
  * Outline Width
11555
11568
  * @see https://tailwindcss.com/docs/outline-width
11556
11569
  */
11557
11570
  "outline-w": [{
11558
- outline: ["", D, yt, Vo]
11571
+ outline: ["", j, kt, Vo]
11559
11572
  }],
11560
11573
  /**
11561
11574
  * Outline Color
@@ -11630,7 +11643,7 @@ const Lc = mo(za), Ta = (e, o) => {
11630
11643
  * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
11631
11644
  */
11632
11645
  "ring-offset-w": [{
11633
- "ring-offset": [D, Vo]
11646
+ "ring-offset": [j, Vo]
11634
11647
  }],
11635
11648
  /**
11636
11649
  * Ring Offset Color
@@ -11674,7 +11687,7 @@ const Lc = mo(za), Ta = (e, o) => {
11674
11687
  * @see https://tailwindcss.com/docs/opacity
11675
11688
  */
11676
11689
  opacity: [{
11677
- opacity: [D, R, A]
11690
+ opacity: [j, R, A]
11678
11691
  }],
11679
11692
  /**
11680
11693
  * Mix Blend Mode
@@ -11709,7 +11722,7 @@ const Lc = mo(za), Ta = (e, o) => {
11709
11722
  * @see https://tailwindcss.com/docs/mask-image
11710
11723
  */
11711
11724
  "mask-image-linear-pos": [{
11712
- "mask-linear": [D]
11725
+ "mask-linear": [j]
11713
11726
  }],
11714
11727
  "mask-image-linear-from-pos": [{
11715
11728
  "mask-linear-from": Q()
@@ -11823,7 +11836,7 @@ const Lc = mo(za), Ta = (e, o) => {
11823
11836
  "mask-radial-at": I()
11824
11837
  }],
11825
11838
  "mask-image-conic-pos": [{
11826
- "mask-conic": [D]
11839
+ "mask-conic": [j]
11827
11840
  }],
11828
11841
  "mask-image-conic-from-pos": [{
11829
11842
  "mask-conic-from": Q()
@@ -11870,7 +11883,7 @@ const Lc = mo(za), Ta = (e, o) => {
11870
11883
  * @see https://tailwindcss.com/docs/mask-size
11871
11884
  */
11872
11885
  "mask-size": [{
11873
- mask: jo()
11886
+ mask: Do()
11874
11887
  }],
11875
11888
  /**
11876
11889
  * Mask Type
@@ -11914,14 +11927,14 @@ const Lc = mo(za), Ta = (e, o) => {
11914
11927
  * @see https://tailwindcss.com/docs/brightness
11915
11928
  */
11916
11929
  brightness: [{
11917
- brightness: [D, R, A]
11930
+ brightness: [j, R, A]
11918
11931
  }],
11919
11932
  /**
11920
11933
  * Contrast
11921
11934
  * @see https://tailwindcss.com/docs/contrast
11922
11935
  */
11923
11936
  contrast: [{
11924
- contrast: [D, R, A]
11937
+ contrast: [j, R, A]
11925
11938
  }],
11926
11939
  /**
11927
11940
  * Drop Shadow
@@ -11949,35 +11962,35 @@ const Lc = mo(za), Ta = (e, o) => {
11949
11962
  * @see https://tailwindcss.com/docs/grayscale
11950
11963
  */
11951
11964
  grayscale: [{
11952
- grayscale: ["", D, R, A]
11965
+ grayscale: ["", j, R, A]
11953
11966
  }],
11954
11967
  /**
11955
11968
  * Hue Rotate
11956
11969
  * @see https://tailwindcss.com/docs/hue-rotate
11957
11970
  */
11958
11971
  "hue-rotate": [{
11959
- "hue-rotate": [D, R, A]
11972
+ "hue-rotate": [j, R, A]
11960
11973
  }],
11961
11974
  /**
11962
11975
  * Invert
11963
11976
  * @see https://tailwindcss.com/docs/invert
11964
11977
  */
11965
11978
  invert: [{
11966
- invert: ["", D, R, A]
11979
+ invert: ["", j, R, A]
11967
11980
  }],
11968
11981
  /**
11969
11982
  * Saturate
11970
11983
  * @see https://tailwindcss.com/docs/saturate
11971
11984
  */
11972
11985
  saturate: [{
11973
- saturate: [D, R, A]
11986
+ saturate: [j, R, A]
11974
11987
  }],
11975
11988
  /**
11976
11989
  * Sepia
11977
11990
  * @see https://tailwindcss.com/docs/sepia
11978
11991
  */
11979
11992
  sepia: [{
11980
- sepia: ["", D, R, A]
11993
+ sepia: ["", j, R, A]
11981
11994
  }],
11982
11995
  /**
11983
11996
  * Backdrop Filter
@@ -12004,56 +12017,56 @@ const Lc = mo(za), Ta = (e, o) => {
12004
12017
  * @see https://tailwindcss.com/docs/backdrop-brightness
12005
12018
  */
12006
12019
  "backdrop-brightness": [{
12007
- "backdrop-brightness": [D, R, A]
12020
+ "backdrop-brightness": [j, R, A]
12008
12021
  }],
12009
12022
  /**
12010
12023
  * Backdrop Contrast
12011
12024
  * @see https://tailwindcss.com/docs/backdrop-contrast
12012
12025
  */
12013
12026
  "backdrop-contrast": [{
12014
- "backdrop-contrast": [D, R, A]
12027
+ "backdrop-contrast": [j, R, A]
12015
12028
  }],
12016
12029
  /**
12017
12030
  * Backdrop Grayscale
12018
12031
  * @see https://tailwindcss.com/docs/backdrop-grayscale
12019
12032
  */
12020
12033
  "backdrop-grayscale": [{
12021
- "backdrop-grayscale": ["", D, R, A]
12034
+ "backdrop-grayscale": ["", j, R, A]
12022
12035
  }],
12023
12036
  /**
12024
12037
  * Backdrop Hue Rotate
12025
12038
  * @see https://tailwindcss.com/docs/backdrop-hue-rotate
12026
12039
  */
12027
12040
  "backdrop-hue-rotate": [{
12028
- "backdrop-hue-rotate": [D, R, A]
12041
+ "backdrop-hue-rotate": [j, R, A]
12029
12042
  }],
12030
12043
  /**
12031
12044
  * Backdrop Invert
12032
12045
  * @see https://tailwindcss.com/docs/backdrop-invert
12033
12046
  */
12034
12047
  "backdrop-invert": [{
12035
- "backdrop-invert": ["", D, R, A]
12048
+ "backdrop-invert": ["", j, R, A]
12036
12049
  }],
12037
12050
  /**
12038
12051
  * Backdrop Opacity
12039
12052
  * @see https://tailwindcss.com/docs/backdrop-opacity
12040
12053
  */
12041
12054
  "backdrop-opacity": [{
12042
- "backdrop-opacity": [D, R, A]
12055
+ "backdrop-opacity": [j, R, A]
12043
12056
  }],
12044
12057
  /**
12045
12058
  * Backdrop Saturate
12046
12059
  * @see https://tailwindcss.com/docs/backdrop-saturate
12047
12060
  */
12048
12061
  "backdrop-saturate": [{
12049
- "backdrop-saturate": [D, R, A]
12062
+ "backdrop-saturate": [j, R, A]
12050
12063
  }],
12051
12064
  /**
12052
12065
  * Backdrop Sepia
12053
12066
  * @see https://tailwindcss.com/docs/backdrop-sepia
12054
12067
  */
12055
12068
  "backdrop-sepia": [{
12056
- "backdrop-sepia": ["", D, R, A]
12069
+ "backdrop-sepia": ["", j, R, A]
12057
12070
  }],
12058
12071
  // --------------
12059
12072
  // --- Tables ---
@@ -12122,7 +12135,7 @@ const Lc = mo(za), Ta = (e, o) => {
12122
12135
  * @see https://tailwindcss.com/docs/transition-duration
12123
12136
  */
12124
12137
  duration: [{
12125
- duration: [D, "initial", R, A]
12138
+ duration: [j, "initial", R, A]
12126
12139
  }],
12127
12140
  /**
12128
12141
  * Transition Timing Function
@@ -12136,7 +12149,7 @@ const Lc = mo(za), Ta = (e, o) => {
12136
12149
  * @see https://tailwindcss.com/docs/transition-delay
12137
12150
  */
12138
12151
  delay: [{
12139
- delay: [D, R, A]
12152
+ delay: [j, R, A]
12140
12153
  }],
12141
12154
  /**
12142
12155
  * Animation
@@ -12580,7 +12593,7 @@ const Lc = mo(za), Ta = (e, o) => {
12580
12593
  * @see https://tailwindcss.com/docs/stroke-width
12581
12594
  */
12582
12595
  "stroke-w": [{
12583
- stroke: [D, yt, Vo, ge]
12596
+ stroke: [j, kt, Vo, ge]
12584
12597
  }],
12585
12598
  /**
12586
12599
  * Stroke
@@ -12661,12 +12674,12 @@ const Lc = mo(za), Ta = (e, o) => {
12661
12674
  experimentalParseClassName: i,
12662
12675
  extend: r = {},
12663
12676
  override: n = {}
12664
- }) => (_t(e, "cacheSize", o), _t(e, "prefix", t), _t(e, "experimentalParseClassName", i), Xt(e.theme, n.theme), Xt(e.classGroups, n.classGroups), Xt(e.conflictingClassGroups, n.conflictingClassGroups), Xt(e.conflictingClassGroupModifiers, n.conflictingClassGroupModifiers), _t(e, "orderSensitiveModifiers", n.orderSensitiveModifiers), Vt(e.theme, r.theme), Vt(e.classGroups, r.classGroups), Vt(e.conflictingClassGroups, r.conflictingClassGroups), Vt(e.conflictingClassGroupModifiers, r.conflictingClassGroupModifiers), dr(e, r, "orderSensitiveModifiers"), e), _t = (e, o, t) => {
12677
+ }) => (St(e, "cacheSize", o), St(e, "prefix", t), St(e, "experimentalParseClassName", i), Xt(e.theme, n.theme), Xt(e.classGroups, n.classGroups), Xt(e.conflictingClassGroups, n.conflictingClassGroups), Xt(e.conflictingClassGroupModifiers, n.conflictingClassGroupModifiers), St(e, "orderSensitiveModifiers", n.orderSensitiveModifiers), Vt(e.theme, r.theme), Vt(e.classGroups, r.classGroups), Vt(e.conflictingClassGroups, r.conflictingClassGroups), Vt(e.conflictingClassGroupModifiers, r.conflictingClassGroupModifiers), dr(e, r, "orderSensitiveModifiers"), e), St = (e, o, t) => {
12665
12678
  t !== void 0 && (e[o] = t);
12666
12679
  }, Xt = (e, o) => {
12667
12680
  if (o)
12668
12681
  for (const t in o)
12669
- _t(e, t, o[t]);
12682
+ St(e, t, o[t]);
12670
12683
  }, Vt = (e, o) => {
12671
12684
  if (o)
12672
12685
  for (const t in o)
@@ -12710,7 +12723,7 @@ const Lc = mo(za), Ta = (e, o) => {
12710
12723
  }
12711
12724
  }
12712
12725
  });
12713
- function St(e) {
12726
+ function Ct(e) {
12714
12727
  return e === "submit" || e === "reset" || e === "button" ? e : "button";
12715
12728
  }
12716
12729
  function pc(e) {
@@ -12741,7 +12754,7 @@ function xc(e, o) {
12741
12754
  onClick: O,
12742
12755
  children: I,
12743
12756
  ...$
12744
- } = e, M = St(x), W = {
12757
+ } = e, M = Ct(x), W = {
12745
12758
  xs: "px-[21px] py-[8px] text-[10px] gap-[6px] h-auto tracking-[0.12em] font-normal",
12746
12759
  sm: "px-[14px] py-[6px] text-[13px] gap-[6px] h-[32px]",
12747
12760
  md: "px-[22px] py-[10px] text-[15px] gap-[8px] h-[44px]",
@@ -12752,7 +12765,7 @@ function xc(e, o) {
12752
12765
  const H = g === "inverse";
12753
12766
  let V = "";
12754
12767
  i === "ghost" ? V = H ? "bg-transparent text-white shadow-none border border-transparent" : "bg-transparent text-[var(--fibo-on-surface)] shadow-none border border-transparent hover:bg-[color-mix(in_srgb,var(--fibo-on-surface)_8%,transparent)]" : i === "text" ? V = H ? "bg-transparent text-white shadow-none border-none px-2" : "bg-transparent text-[var(--fibo-on-surface)] shadow-none border-none px-2 hover:bg-[color-mix(in_srgb,var(--fibo-on-surface)_8%,transparent)]" : i === "soft" ? V = "bg-[color-mix(in_srgb,var(--fibo-primary)_12%,transparent)] text-[var(--fibo-primary)] shadow-none border-none hover:bg-[color-mix(in_srgb,var(--fibo-primary)_18%,transparent)]" : i === "outline" || i === "outlined" ? V = H ? "bg-black text-white shadow-none border border-[#3b3b3b]" : "bg-transparent border-[1.5px] border-[var(--fibo-outline,rgba(0,0,0,0.12))] text-[var(--fibo-on-surface)] shadow-none hover:bg-[color-mix(in_srgb,var(--fibo-on-surface)_6%,transparent)]" : i === "solid" ? V = H ? "bg-[#f2f2f2] text-black shadow-none border border-[#f2f2f2]" : "bg-[var(--fibo-primary)] text-[var(--fibo-on-primary)] shadow-none border-none hover:opacity-90" : i === "filled" || i === "primary" ? V = "bg-[var(--fibo-primary)] text-[var(--fibo-on-primary)] shadow-sm border-none hover:opacity-90 active:opacity-100" : i === "elevated" ? V = "bg-[var(--fibo-surface)] text-[var(--fibo-primary)] shadow-md border-none hover:shadow-lg" : i === "tonal" ? V = "bg-[var(--fibo-secondary-container)] text-[var(--fibo-on-secondary-container)] shadow-sm border-none" : i === "raw" && (V = "bg-transparent border-none shadow-none p-0 h-auto gap-0 text-inherit font-inherit hover:bg-transparent items-stretch [&>*]:h-full [&>*]:self-stretch", k = ""), d === "soft" && i !== "raw" && (V += " shadow-[0_8px_20px_-6px_rgba(59,130,246,0.4)]");
12755
- const K = y || {}, to = K.padding !== void 0 || K.paddingTop !== void 0 || K.paddingBottom !== void 0 || K.paddingLeft !== void 0 || K.paddingRight !== void 0 || K.fontSize !== void 0 || K.height !== void 0, po = K.borderRadius !== void 0, no = K.fontWeight !== void 0 || r === "xs" || H, fo = i === "raw" || h === "none" || H || r === "xs" || v;
12768
+ const K = y || {}, eo = K.padding !== void 0 || K.paddingTop !== void 0 || K.paddingBottom !== void 0 || K.paddingLeft !== void 0 || K.paddingRight !== void 0 || K.fontSize !== void 0 || K.height !== void 0, po = K.borderRadius !== void 0, no = K.fontWeight !== void 0 || r === "xs" || H, fo = i === "raw" || h === "none" || H || r === "xs" || v;
12756
12769
  v ? (V = "", k = "") : f && (V = V.replace(/\s*(hover|active):\S+/g, "").trim());
12757
12770
  const so = dc(
12758
12771
  "fibo-button",
@@ -12761,7 +12774,7 @@ function xc(e, o) {
12761
12774
  no || v ? "" : "font-semibold",
12762
12775
  fo || f ? "" : "scale-100 active:scale-[0.96] transform transition-transform duration-200 ease-out",
12763
12776
  f ? "cursor-not-allowed opacity-60 pointer-events-none" : "cursor-pointer",
12764
- i === "raw" || v || to ? "" : W[r],
12777
+ i === "raw" || v || eo ? "" : W[r],
12765
12778
  i === "raw" || v || po ? "" : k,
12766
12779
  w ? "flex-1 w-full" : "",
12767
12780
  `fibo-button-${i}`,
@@ -12873,10 +12886,10 @@ class vc extends go {
12873
12886
  * a props object renders the button.
12874
12887
  */
12875
12888
  type(t) {
12876
- return this._htmlType = St(t), this._htmlTypeExplicit = !0, this;
12889
+ return this._htmlType = Ct(t), this._htmlTypeExplicit = !0, this;
12877
12890
  }
12878
12891
  htmlType(t) {
12879
- return this._htmlType = St(t), this._htmlTypeExplicit = !0, this;
12892
+ return this._htmlType = Ct(t), this._htmlTypeExplicit = !0, this;
12880
12893
  }
12881
12894
  /** Shortcut for `.htmlType('submit')` inside a `Form`. */
12882
12895
  submit() {
@@ -12888,7 +12901,7 @@ class vc extends go {
12888
12901
  }
12889
12902
  resolvedHtmlType() {
12890
12903
  var t;
12891
- return this._htmlTypeExplicit ? St(this._htmlType) : St(((t = this._props) == null ? void 0 : t.type) ?? this._htmlType);
12904
+ return this._htmlTypeExplicit ? Ct(this._htmlType) : Ct(((t = this._props) == null ? void 0 : t.type) ?? this._htmlType);
12892
12905
  }
12893
12906
  build() {
12894
12907
  const t = this.getClassName(), i = typeof this._text == "function" ? this._text() : this._text, n = {