fiboui 2.9.5 → 2.9.6
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/{client-Cc87LXic.js → client-DspTEDnT.js} +959 -934
- package/dist/content.d.ts +9 -0
- package/dist/content.js +3 -3
- package/dist/core.d.ts +9 -0
- package/dist/core.js +2 -2
- package/dist/{icons-By9BFp7V.js → icons-uTGNZEj2.js} +1 -1
- package/dist/{index-D5c1VXlN.js → index-B7vkEz57.js} +4 -4
- package/dist/{index-BJnYb_kw.js → index-BK9NhRgp.js} +1 -1
- package/dist/{index-T8F37_p4.js → index-CE3dybe8.js} +1 -1
- package/dist/{index-BxYsYMal.js → index-pxNM6-DO.js} +2 -2
- package/dist/{index-C-hvMzQd.js → index-vSLH4ZkD.js} +1 -1
- package/dist/index.d.ts +10 -0
- package/dist/index.js +10 -10
- package/dist/interactive.d.ts +9 -0
- package/dist/interactive.js +2 -2
- package/dist/layout.d.ts +9 -0
- package/dist/layout.js +3 -3
- package/dist/{metadata-BffL-8b9.js → metadata-BqVnmMLq.js} +1 -1
- package/dist/navigation.js +2 -2
- package/dist/{page-DbndR-7r.js → page-CQCVouvN.js} +1 -1
- package/dist/server.d.ts +9 -0
- package/dist/server.js +697 -672
- package/dist/structure.d.ts +9 -0
- package/dist/structure.js +2 -2
- package/dist/style.css +1 -1
- package/dist/theme.js +1 -1
- package/package.json +1 -1
package/dist/server.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var mr = Object.defineProperty;
|
|
2
2
|
var vr = (e, o, t) => o in e ? mr(e, o, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[o] = t;
|
|
3
3
|
var c = (e, o, t) => vr(e, typeof o != "symbol" ? o + "" : o, t);
|
|
4
|
-
import
|
|
4
|
+
import l, { cloneElement as wr, isValidElement as yr, createElement as kr, useRef as Bt, useState as me, useLayoutEffect as It, useContext as hi, createContext as _r, useMemo as Sr, useCallback as Cr } from "react";
|
|
5
5
|
import { jsx as Kt } from "react/jsx-runtime";
|
|
6
6
|
function Wt(e) {
|
|
7
7
|
if (typeof e == "number") return Number.isFinite(e) ? e : void 0;
|
|
@@ -19,8 +19,8 @@ function Tr({
|
|
|
19
19
|
}) {
|
|
20
20
|
if (!e || e.size === 0) return o;
|
|
21
21
|
const t = {};
|
|
22
|
-
e.forEach((
|
|
23
|
-
t[d] =
|
|
22
|
+
e.forEach((u, d) => {
|
|
23
|
+
t[d] = u.value;
|
|
24
24
|
});
|
|
25
25
|
const i = [], r = Wt(t.translateX), n = Wt(t.translateY), s = Wt(t.scale), f = Wt(t.rotate);
|
|
26
26
|
if (r !== void 0 && i.push(`translateX(${r}px)`), n !== void 0 && i.push(`translateY(${n}px)`), s !== void 0 && i.push(`scale(${s})`), f !== void 0 && i.push(`rotate(${f}deg)`), i.length === 0) return o;
|
|
@@ -41,10 +41,10 @@ function Er({
|
|
|
41
41
|
"min-w-0",
|
|
42
42
|
o ? "fibo-motion-force" : ""
|
|
43
43
|
].filter(Boolean).join(" ");
|
|
44
|
-
return
|
|
44
|
+
return l.createElement("div", { className: r, style: t, "data-fibo-reveal": e }, i);
|
|
45
45
|
}
|
|
46
46
|
function Ar({ children: e }) {
|
|
47
|
-
return
|
|
47
|
+
return l.createElement(
|
|
48
48
|
"div",
|
|
49
49
|
{ "data-fibo-scroll-progress": "1", style: { display: "contents" } },
|
|
50
50
|
e
|
|
@@ -57,9 +57,9 @@ function Br(e) {
|
|
|
57
57
|
return !e || typeof e != "object" || Array.isArray(e) || "value" in e && typeof e.subscribe == "function" ? !1 : Object.prototype.hasOwnProperty.call(e, "show");
|
|
58
58
|
}
|
|
59
59
|
function se(e, o) {
|
|
60
|
-
return Rr(e) ?
|
|
60
|
+
return Rr(e) ? l.createElement(l.Fragment, null, o) : null;
|
|
61
61
|
}
|
|
62
|
-
function
|
|
62
|
+
function _c(e) {
|
|
63
63
|
if (Br(e))
|
|
64
64
|
return se(e.show, e.children);
|
|
65
65
|
let o = e;
|
|
@@ -85,19 +85,19 @@ function Nr(e) {
|
|
|
85
85
|
return vo(e);
|
|
86
86
|
}
|
|
87
87
|
function vo(e) {
|
|
88
|
-
return e == null || typeof e == "boolean" ? null : di(e) ? e.build() : Fr(e) ?
|
|
88
|
+
return e == null || typeof e == "boolean" ? null : di(e) ? e.build() : Fr(e) ? l.createElement(Ir, {
|
|
89
89
|
signal: e,
|
|
90
90
|
builder: Nr
|
|
91
|
-
}) : (
|
|
91
|
+
}) : (l.isValidElement(e), e);
|
|
92
92
|
}
|
|
93
93
|
function Ie(e) {
|
|
94
94
|
return typeof e == "string" || typeof e == "number";
|
|
95
95
|
}
|
|
96
96
|
function ve(e, o) {
|
|
97
|
-
return
|
|
97
|
+
return l.isValidElement(e) && Ie(e.key) && e.key !== "" ? e.key : `.$fibo-${o}`;
|
|
98
98
|
}
|
|
99
99
|
function pi(e, o) {
|
|
100
|
-
return !
|
|
100
|
+
return !l.isValidElement(e) || Ie(e.key) && e.key !== "" ? e : l.cloneElement(e, { key: ve(e, o) });
|
|
101
101
|
}
|
|
102
102
|
const $r = 32;
|
|
103
103
|
function we(e, o, t = 0) {
|
|
@@ -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
|
|
149
|
+
const De = /* @__PURE__ */ new Set([
|
|
150
150
|
"opacity",
|
|
151
151
|
"zIndex",
|
|
152
152
|
"z-index",
|
|
@@ -164,13 +164,13 @@ const je = /* @__PURE__ */ new Set([
|
|
|
164
164
|
"scale",
|
|
165
165
|
"scaleX",
|
|
166
166
|
"scaleY"
|
|
167
|
-
]),
|
|
167
|
+
]), je = /* @__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) ?
|
|
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` : "";
|
|
174
174
|
const r = String(t);
|
|
175
175
|
return /[{};]/.test(r) ? "" : `${i}: ${r}`;
|
|
176
176
|
}).filter(Boolean).join("; ");
|
|
@@ -359,9 +359,9 @@ var Xe;
|
|
|
359
359
|
(function(o) {
|
|
360
360
|
var t = typeof globalThis == "object" ? globalThis : typeof He == "object" ? He : typeof self == "object" ? self : typeof this == "object" ? this : f(), i = r(e);
|
|
361
361
|
typeof t.Reflect < "u" && (i = r(t.Reflect, i)), o(i, t), typeof t.Reflect > "u" && (t.Reflect = e);
|
|
362
|
-
function r(a,
|
|
362
|
+
function r(a, u) {
|
|
363
363
|
return function(d, g) {
|
|
364
|
-
Object.defineProperty(a, d, { configurable: !0, writable: !0, value: g }),
|
|
364
|
+
Object.defineProperty(a, d, { configurable: !0, writable: !0, value: g }), u && u(d, g);
|
|
365
365
|
};
|
|
366
366
|
}
|
|
367
367
|
function n() {
|
|
@@ -380,7 +380,7 @@ var Xe;
|
|
|
380
380
|
return n() || s();
|
|
381
381
|
}
|
|
382
382
|
})(function(o, t) {
|
|
383
|
-
var i = Object.prototype.hasOwnProperty, r = typeof Symbol == "function", n = r && typeof Symbol.toPrimitive < "u" ? Symbol.toPrimitive : "@@toPrimitive", s = r && typeof Symbol.iterator < "u" ? Symbol.iterator : "@@iterator", f = typeof Object.create == "function", a = { __proto__: [] } instanceof Array,
|
|
383
|
+
var i = Object.prototype.hasOwnProperty, r = typeof Symbol == "function", n = r && typeof Symbol.toPrimitive < "u" ? Symbol.toPrimitive : "@@toPrimitive", s = r && typeof Symbol.iterator < "u" ? Symbol.iterator : "@@iterator", f = typeof Object.create == "function", a = { __proto__: [] } instanceof Array, u = !f && !a, d = {
|
|
384
384
|
// create an object in dictionary mode (a.k.a. "slow" mode in v8)
|
|
385
385
|
create: f ? function() {
|
|
386
386
|
return $o(/* @__PURE__ */ Object.create(null));
|
|
@@ -389,12 +389,12 @@ var Xe;
|
|
|
389
389
|
} : function() {
|
|
390
390
|
return $o({});
|
|
391
391
|
},
|
|
392
|
-
has:
|
|
392
|
+
has: u ? function(b, p) {
|
|
393
393
|
return i.call(b, p);
|
|
394
394
|
} : function(b, p) {
|
|
395
395
|
return p in b;
|
|
396
396
|
},
|
|
397
|
-
get:
|
|
397
|
+
get: u ? function(b, p) {
|
|
398
398
|
return i.call(b, p) ? b[p] : void 0;
|
|
399
399
|
} : function(b, p) {
|
|
400
400
|
return b[p];
|
|
@@ -560,8 +560,8 @@ var Xe;
|
|
|
560
560
|
return m;
|
|
561
561
|
if (m.length <= 0)
|
|
562
562
|
return L;
|
|
563
|
-
for (var eo = new w(), ao = [],
|
|
564
|
-
var E = z[
|
|
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
565
|
B || (eo.add(E), ao.push(E));
|
|
566
566
|
}
|
|
567
567
|
for (var F = 0, G = L; F < G.length; F++) {
|
|
@@ -579,7 +579,7 @@ var Xe;
|
|
|
579
579
|
);
|
|
580
580
|
return m ? m.OrdinaryOwnMetadataKeys(b, p) : [];
|
|
581
581
|
}
|
|
582
|
-
function
|
|
582
|
+
function jo(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 (
|
|
615
|
+
switch (jo(b)) {
|
|
616
616
|
case 0:
|
|
617
617
|
return b;
|
|
618
618
|
case 1:
|
|
@@ -673,7 +673,7 @@ var Xe;
|
|
|
673
673
|
return typeof b == "function";
|
|
674
674
|
}
|
|
675
675
|
function Ft(b) {
|
|
676
|
-
switch (
|
|
676
|
+
switch (jo(b)) {
|
|
677
677
|
case 3:
|
|
678
678
|
return !0;
|
|
679
679
|
case 4:
|
|
@@ -753,7 +753,7 @@ var Xe;
|
|
|
753
753
|
break;
|
|
754
754
|
}
|
|
755
755
|
}
|
|
756
|
-
function
|
|
756
|
+
function j(F, G) {
|
|
757
757
|
if (!N(p)) {
|
|
758
758
|
if (p.isProviderFor(F, G))
|
|
759
759
|
return p;
|
|
@@ -776,7 +776,7 @@ var Xe;
|
|
|
776
776
|
}
|
|
777
777
|
function z(F, G) {
|
|
778
778
|
var Z = L.get(F), io;
|
|
779
|
-
return N(Z) || (io = Z.get(G)), N(io) && (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;
|
|
780
780
|
}
|
|
781
781
|
function E(F) {
|
|
782
782
|
if (N(F))
|
|
@@ -814,7 +814,7 @@ var Xe;
|
|
|
814
814
|
OrdinaryDefineOwnMetadata: ao,
|
|
815
815
|
OrdinaryHasOwnMetadata: L,
|
|
816
816
|
OrdinaryGetOwnMetadata: eo,
|
|
817
|
-
OrdinaryOwnMetadataKeys:
|
|
817
|
+
OrdinaryOwnMetadataKeys: j,
|
|
818
818
|
OrdinaryDeleteMetadata: z
|
|
819
819
|
};
|
|
820
820
|
return x.registerProvider(m), m;
|
|
@@ -862,7 +862,7 @@ var Xe;
|
|
|
862
862
|
);
|
|
863
863
|
Z.set(E, B);
|
|
864
864
|
}
|
|
865
|
-
function
|
|
865
|
+
function j(E, B) {
|
|
866
866
|
var F = [], G = _(
|
|
867
867
|
E,
|
|
868
868
|
B,
|
|
@@ -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(),
|
|
908
|
+
var p = b.defineMetadata, m = b.hasOwnMetadata, _ = b.getOwnMetadata, L = b.getOwnMetadataKeys, eo = b.deleteMetadata, ao = new S(), j = {
|
|
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;
|
|
@@ -916,7 +916,7 @@ var Xe;
|
|
|
916
916
|
OrdinaryOwnMetadataKeys: L,
|
|
917
917
|
OrdinaryDeleteMetadata: eo
|
|
918
918
|
};
|
|
919
|
-
return
|
|
919
|
+
return j;
|
|
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
|
|
935
|
+
function j(z, E, B) {
|
|
936
936
|
this._index = 0, this._keys = z, this._values = E, this._selector = B;
|
|
937
937
|
}
|
|
938
|
-
return
|
|
938
|
+
return j.prototype["@@iterator"] = function() {
|
|
939
939
|
return this;
|
|
940
|
-
},
|
|
940
|
+
}, j.prototype[s] = function() {
|
|
941
941
|
return this;
|
|
942
|
-
},
|
|
942
|
+
}, j.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
|
-
},
|
|
949
|
+
}, j.prototype.throw = function(z) {
|
|
950
950
|
throw this._index >= 0 && (this._index = -1, this._keys = p, this._values = p), z;
|
|
951
|
-
},
|
|
951
|
+
}, j.prototype.return = function(z) {
|
|
952
952
|
return this._index >= 0 && (this._index = -1, this._keys = p, this._values = p), { value: z, done: !0 };
|
|
953
|
-
},
|
|
953
|
+
}, j;
|
|
954
954
|
}()
|
|
955
955
|
), _ = (
|
|
956
956
|
/** @class */
|
|
957
957
|
function() {
|
|
958
|
-
function
|
|
958
|
+
function j() {
|
|
959
959
|
this._keys = [], this._values = [], this._cacheKey = b, this._cacheIndex = -2;
|
|
960
960
|
}
|
|
961
|
-
return Object.defineProperty(
|
|
961
|
+
return Object.defineProperty(j.prototype, "size", {
|
|
962
962
|
get: function() {
|
|
963
963
|
return this._keys.length;
|
|
964
964
|
},
|
|
965
965
|
enumerable: !0,
|
|
966
966
|
configurable: !0
|
|
967
|
-
}),
|
|
967
|
+
}), j.prototype.has = function(z) {
|
|
968
968
|
return this._find(
|
|
969
969
|
z,
|
|
970
970
|
/*insert*/
|
|
971
971
|
!1
|
|
972
972
|
) >= 0;
|
|
973
|
-
},
|
|
973
|
+
}, j.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
|
-
},
|
|
980
|
+
}, j.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
|
-
},
|
|
987
|
+
}, j.prototype.delete = function(z) {
|
|
988
988
|
var E = this._find(
|
|
989
989
|
z,
|
|
990
990
|
/*insert*/
|
|
@@ -996,19 +996,19 @@ var Xe;
|
|
|
996
996
|
return this._keys.length--, this._values.length--, Uo(z, this._cacheKey) && (this._cacheKey = b, this._cacheIndex = -2), !0;
|
|
997
997
|
}
|
|
998
998
|
return !1;
|
|
999
|
-
},
|
|
999
|
+
}, j.prototype.clear = function() {
|
|
1000
1000
|
this._keys.length = 0, this._values.length = 0, this._cacheKey = b, this._cacheIndex = -2;
|
|
1001
|
-
},
|
|
1001
|
+
}, j.prototype.keys = function() {
|
|
1002
1002
|
return new m(this._keys, this._values, L);
|
|
1003
|
-
},
|
|
1003
|
+
}, j.prototype.values = function() {
|
|
1004
1004
|
return new m(this._keys, this._values, eo);
|
|
1005
|
-
},
|
|
1005
|
+
}, j.prototype.entries = function() {
|
|
1006
1006
|
return new m(this._keys, this._values, ao);
|
|
1007
|
-
},
|
|
1007
|
+
}, j.prototype["@@iterator"] = function() {
|
|
1008
1008
|
return this.entries();
|
|
1009
|
-
},
|
|
1009
|
+
}, j.prototype[s] = function() {
|
|
1010
1010
|
return this.entries();
|
|
1011
|
-
},
|
|
1011
|
+
}, j.prototype._find = function(z, E) {
|
|
1012
1012
|
if (!Uo(this._cacheKey, z)) {
|
|
1013
1013
|
this._cacheIndex = -1;
|
|
1014
1014
|
for (var B = 0; B < this._keys.length; B++)
|
|
@@ -1018,18 +1018,18 @@ var Xe;
|
|
|
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
|
-
},
|
|
1021
|
+
}, j;
|
|
1022
1022
|
}()
|
|
1023
1023
|
);
|
|
1024
1024
|
return _;
|
|
1025
|
-
function L(
|
|
1026
|
-
return
|
|
1025
|
+
function L(j, z) {
|
|
1026
|
+
return j;
|
|
1027
1027
|
}
|
|
1028
|
-
function eo(
|
|
1028
|
+
function eo(j, z) {
|
|
1029
1029
|
return z;
|
|
1030
1030
|
}
|
|
1031
|
-
function ao(
|
|
1032
|
-
return [
|
|
1031
|
+
function ao(j, z) {
|
|
1032
|
+
return [j, z];
|
|
1033
1033
|
}
|
|
1034
1034
|
}
|
|
1035
1035
|
function Ot() {
|
|
@@ -1112,7 +1112,7 @@ var Xe;
|
|
|
1112
1112
|
function _() {
|
|
1113
1113
|
var z;
|
|
1114
1114
|
do
|
|
1115
|
-
z = "@@WeakMap@@" +
|
|
1115
|
+
z = "@@WeakMap@@" + j();
|
|
1116
1116
|
while (d.has(p, z));
|
|
1117
1117
|
return p[z] = !0, z;
|
|
1118
1118
|
}
|
|
@@ -1136,7 +1136,7 @@ var Xe;
|
|
|
1136
1136
|
}
|
|
1137
1137
|
return eo(new Array(z), z);
|
|
1138
1138
|
}
|
|
1139
|
-
function
|
|
1139
|
+
function j() {
|
|
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
|
|
1154
|
+
const Dr = Symbol("inject"), jr = 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(
|
|
1158
|
+
const t = Reflect.getOwnMetadata(Dr, 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(
|
|
1165
|
+
return Reflect.getMetadata(jr, e) === !0;
|
|
1166
1166
|
}
|
|
1167
1167
|
function Hr(e) {
|
|
1168
1168
|
const o = Reflect.getMetadata(Gr, e);
|
|
@@ -1323,15 +1323,15 @@ const mt = Kr(), vt = [], Bo = class Bo {
|
|
|
1323
1323
|
}
|
|
1324
1324
|
const r = Math.max(o.length, t.length, i.length), n = [];
|
|
1325
1325
|
for (let s = 0; s < r; s++) {
|
|
1326
|
-
const f = i[s], a = f !== void 0 && !Yr(f) ? f : void 0,
|
|
1327
|
-
if (
|
|
1326
|
+
const f = i[s], a = f !== void 0 && !Yr(f) ? f : void 0, u = t[s] ?? a;
|
|
1327
|
+
if (u === void 0) {
|
|
1328
1328
|
if (s >= o.length) {
|
|
1329
1329
|
n.push(void 0);
|
|
1330
1330
|
continue;
|
|
1331
1331
|
}
|
|
1332
1332
|
throw new Error(`Cannot resolve parameter ${s} of ${o.name || "anonymous"}`);
|
|
1333
1333
|
}
|
|
1334
|
-
n.push(this.resolve(
|
|
1334
|
+
n.push(this.resolve(u));
|
|
1335
1335
|
}
|
|
1336
1336
|
return new o(...n);
|
|
1337
1337
|
}
|
|
@@ -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
|
|
1556
|
+
let Do = U;
|
|
1557
1557
|
const Zr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1558
1558
|
__proto__: null,
|
|
1559
|
-
PluginManager:
|
|
1559
|
+
PluginManager: Do
|
|
1560
1560
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
1561
1561
|
function ce(e) {
|
|
1562
1562
|
let o = 5381;
|
|
@@ -1713,8 +1713,8 @@ const wt = Qr(), bo = class bo {
|
|
|
1713
1713
|
const n = `${r ? "group:" : ""}${o}:${t}:${i}`;
|
|
1714
1714
|
if (this.cache.has(n))
|
|
1715
1715
|
return this.cache.get(n);
|
|
1716
|
-
const s = `fibo-ps-${ce(n)}`, f = t === "color" || t === "font-size" || t === "font-weight" || t === "font-family" || t === "font-style" || t === "line-height" || t === "letter-spacing" || t === "text-align" || t === "text-decoration" || t === "text-transform", a = `.${s}:${o}`,
|
|
1717
|
-
return this.insert(
|
|
1716
|
+
const s = `fibo-ps-${ce(n)}`, f = t === "color" || t === "font-size" || t === "font-weight" || t === "font-family" || t === "font-style" || t === "line-height" || t === "letter-spacing" || t === "text-align" || t === "text-decoration" || t === "text-transform", a = `.${s}:${o}`, u = r ? `.group:${o} .${s} { ${t}: ${i} !important; }` : f ? `${a}, ${a} * { ${t}: ${i} !important; }` : `${a} { ${t}: ${i} !important; }`;
|
|
1717
|
+
return this.insert(u), this.cache.set(n, s), s;
|
|
1718
1718
|
}
|
|
1719
1719
|
registerGroupPseudo(o, t, i, r) {
|
|
1720
1720
|
return this.registerPseudo(t, i, r, !0);
|
|
@@ -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 =
|
|
1731
|
-
|
|
1730
|
+
}), on = Do.run.bind(Do);
|
|
1731
|
+
Do.run = function(o) {
|
|
1732
1732
|
return Io.run(() => on(o));
|
|
1733
1733
|
};
|
|
1734
1734
|
function Ro() {
|
|
@@ -1740,17 +1740,17 @@ function mi() {
|
|
|
1740
1740
|
function Fe(e) {
|
|
1741
1741
|
return e.replace(/<\/style/gi, "<\\/style");
|
|
1742
1742
|
}
|
|
1743
|
-
function
|
|
1743
|
+
function Sc() {
|
|
1744
1744
|
const o = `<style id="fibo-dynamic-styles" data-fibo="1">${Fe(mi())}</style>`;
|
|
1745
1745
|
return typeof document > "u" && vi(), o;
|
|
1746
1746
|
}
|
|
1747
1747
|
function vi() {
|
|
1748
|
-
Io.resetForTests(), (typeof globalThis.window > "u" || !globalThis.window) &&
|
|
1748
|
+
Io.resetForTests(), (typeof globalThis.window > "u" || !globalThis.window) && Do.reset();
|
|
1749
1749
|
}
|
|
1750
1750
|
function wi() {
|
|
1751
1751
|
Ro();
|
|
1752
1752
|
const e = Fe(mi());
|
|
1753
|
-
return typeof document > "u" && vi(),
|
|
1753
|
+
return typeof document > "u" && vi(), l.createElement("style", {
|
|
1754
1754
|
id: "fibo-dynamic-styles",
|
|
1755
1755
|
"data-fibo": "1",
|
|
1756
1756
|
suppressHydrationWarning: !0,
|
|
@@ -1758,7 +1758,7 @@ function wi() {
|
|
|
1758
1758
|
});
|
|
1759
1759
|
}
|
|
1760
1760
|
function tn() {
|
|
1761
|
-
return Ro(),
|
|
1761
|
+
return Ro(), l.createElement("style", {
|
|
1762
1762
|
id: "fibo-motion-presets",
|
|
1763
1763
|
"data-fibo-motion": "1",
|
|
1764
1764
|
dangerouslySetInnerHTML: { __html: Fe(ke) }
|
|
@@ -1768,23 +1768,23 @@ function en(e, o = {}) {
|
|
|
1768
1768
|
const { styles: t = !0, meta: i } = o;
|
|
1769
1769
|
function r() {
|
|
1770
1770
|
const n = vo(e()), s = [];
|
|
1771
|
-
return typeof (i == null ? void 0 : i.title) == "string" && i.title.length > 0 && s.push(
|
|
1772
|
-
|
|
1771
|
+
return typeof (i == null ? void 0 : i.title) == "string" && i.title.length > 0 && s.push(l.createElement("title", { key: "fibo-title" }, i.title)), typeof (i == null ? void 0 : i.description) == "string" && i.description.length > 0 && s.push(
|
|
1772
|
+
l.createElement("meta", {
|
|
1773
1773
|
key: "fibo-description",
|
|
1774
1774
|
name: "description",
|
|
1775
1775
|
content: i.description
|
|
1776
1776
|
})
|
|
1777
|
-
), s.push(n), t && s.push(
|
|
1777
|
+
), s.push(n), t && s.push(l.createElement(wi)), l.createElement(l.Fragment, null, ...s);
|
|
1778
1778
|
}
|
|
1779
1779
|
return r.displayName = "FiboPage", i && (r.meta = i), r;
|
|
1780
1780
|
}
|
|
1781
|
-
const
|
|
1782
|
-
function
|
|
1783
|
-
return
|
|
1784
|
-
|
|
1781
|
+
const Cc = en;
|
|
1782
|
+
function zc(e) {
|
|
1783
|
+
return l.createElement(
|
|
1784
|
+
l.Fragment,
|
|
1785
1785
|
null,
|
|
1786
1786
|
vo(e),
|
|
1787
|
-
|
|
1787
|
+
l.createElement(wi)
|
|
1788
1788
|
);
|
|
1789
1789
|
}
|
|
1790
1790
|
const yi = {
|
|
@@ -1812,7 +1812,7 @@ function fn() {
|
|
|
1812
1812
|
function an() {
|
|
1813
1813
|
return fn().activeEffect;
|
|
1814
1814
|
}
|
|
1815
|
-
class
|
|
1815
|
+
class Dt {
|
|
1816
1816
|
constructor(o) {
|
|
1817
1817
|
c(this, "listeners", /* @__PURE__ */ new Set());
|
|
1818
1818
|
c(this, "effects", /* @__PURE__ */ new Set());
|
|
@@ -1929,7 +1929,7 @@ function gn(e) {
|
|
|
1929
1929
|
const o = e.match(/oklch\(\s*([\d.]+)\s+([\d.]+)\s+([\d.]+)\s*\)/);
|
|
1930
1930
|
if (!o)
|
|
1931
1931
|
return e;
|
|
1932
|
-
const [, t, i, r] = o, n = parseFloat(t), s = parseFloat(i), f = parseFloat(r), a = s * Math.cos(f * Math.PI / 180),
|
|
1932
|
+
const [, t, i, r] = o, n = parseFloat(t), s = parseFloat(i), f = parseFloat(r), a = s * Math.cos(f * Math.PI / 180), u = s * Math.sin(f * Math.PI / 180), d = n + 0.3963377774 * a + 0.2158037573 * u, g = n - 0.1055613458 * a - 0.0638541728 * u, h = n - 0.0894841775 * a - 1.291485548 * u, w = d * d * d, S = g * g * g, y = h * h * h, x = 4.0767416621 * w - 3.3077115913 * S + 0.2309699292 * y, v = -1.2684380046 * w + 2.6097574011 * S - 0.3413193965 * y, T = -0.0041960863 * w - 0.7034186147 * S + 1.707614701 * y, O = (k) => k >= 31308e-7 ? 1.055 * k ** (1 / 2.4) - 0.055 : 12.92 * k, I = Math.max(0, Math.min(1, O(x))), $ = Math.max(0, Math.min(1, O(v))), M = Math.max(0, Math.min(1, O(T))), W = (k) => {
|
|
1933
1933
|
var V;
|
|
1934
1934
|
const H = (V = Math.round(k * 255).toString(16)) == null ? void 0 : V.toUpperCase();
|
|
1935
1935
|
return H.length === 1 ? `0${H}` : H;
|
|
@@ -1945,11 +1945,11 @@ function mn(e) {
|
|
|
1945
1945
|
continue;
|
|
1946
1946
|
const s = n.match(/^--color-([a-z0-9\-]+): (oklch\([^)]+\));?$/), f = n.match(/^--color-([a-z0-9\-]+): (#[a-fA-F0-9]{3,6});?$/);
|
|
1947
1947
|
if (s) {
|
|
1948
|
-
const [, a,
|
|
1948
|
+
const [, a, u] = s, d = gn(u);
|
|
1949
1949
|
o[d.toLowerCase()] = `bg-${a}`, t[d.toLowerCase()] = `text-${a}`;
|
|
1950
1950
|
} else if (f) {
|
|
1951
|
-
const [, a,
|
|
1952
|
-
o[
|
|
1951
|
+
const [, a, u] = f;
|
|
1952
|
+
o[u.toLowerCase()] = `bg-${a}`, t[u.toLowerCase()] = `text-${a}`;
|
|
1953
1953
|
}
|
|
1954
1954
|
}
|
|
1955
1955
|
return { background: o, text: t };
|
|
@@ -2497,14 +2497,14 @@ const vn = (e) => {
|
|
|
2497
2497
|
return Object.keys(e).forEach((f) => {
|
|
2498
2498
|
const a = _n[f];
|
|
2499
2499
|
if (a && !s.has(a)) {
|
|
2500
|
-
const
|
|
2501
|
-
if (
|
|
2502
|
-
const d =
|
|
2500
|
+
const u = r[a];
|
|
2501
|
+
if (u) {
|
|
2502
|
+
const d = u(e);
|
|
2503
2503
|
n.push(...d), s.add(a);
|
|
2504
2504
|
}
|
|
2505
2505
|
}
|
|
2506
2506
|
}), n.filter(Boolean).join(" ");
|
|
2507
|
-
}, Ai =
|
|
2507
|
+
}, Ai = l.createContext(null);
|
|
2508
2508
|
function Ri(e, o) {
|
|
2509
2509
|
return e ? o === "all" || o === "gesture" : !1;
|
|
2510
2510
|
}
|
|
@@ -2593,7 +2593,7 @@ function st(e) {
|
|
|
2593
2593
|
y: typeof e.clientY == "number" && Number.isFinite(e.clientY) ? e.clientY : 0
|
|
2594
2594
|
};
|
|
2595
2595
|
}
|
|
2596
|
-
function
|
|
2596
|
+
function jt(e, o) {
|
|
2597
2597
|
const t = st(e);
|
|
2598
2598
|
if (!o) return t;
|
|
2599
2599
|
const i = o.getBoundingClientRect();
|
|
@@ -2624,7 +2624,7 @@ class An extends Ii {
|
|
|
2624
2624
|
wrap(t) {
|
|
2625
2625
|
if (!Ri(this._enabled, this._including)) return t;
|
|
2626
2626
|
const i = this;
|
|
2627
|
-
return
|
|
2627
|
+
return l.createElement(Rn, {
|
|
2628
2628
|
onStart: this._onStart,
|
|
2629
2629
|
onEnd: (r) => {
|
|
2630
2630
|
var n, s;
|
|
@@ -2638,7 +2638,7 @@ class An extends Ii {
|
|
|
2638
2638
|
});
|
|
2639
2639
|
}
|
|
2640
2640
|
}
|
|
2641
|
-
const Rn =
|
|
2641
|
+
const Rn = l.memo(
|
|
2642
2642
|
function({
|
|
2643
2643
|
onStart: o,
|
|
2644
2644
|
onEnd: t,
|
|
@@ -2648,11 +2648,11 @@ const Rn = u.memo(
|
|
|
2648
2648
|
blockSubviewHits: s,
|
|
2649
2649
|
children: f
|
|
2650
2650
|
}) {
|
|
2651
|
-
const a =
|
|
2651
|
+
const a = l.useRef({ onStart: o, onEnd: t, count: i, reportLocation: r, bubble: n });
|
|
2652
2652
|
a.current = { onStart: o, onEnd: t, count: i, reportLocation: r, bubble: n };
|
|
2653
|
-
const
|
|
2653
|
+
const u = l.useRef(null), d = l.useContext(Ai), g = l.useRef(d);
|
|
2654
2654
|
g.current = d;
|
|
2655
|
-
const h =
|
|
2655
|
+
const h = l.useRef({
|
|
2656
2656
|
pressed: !1,
|
|
2657
2657
|
pointerId: void 0,
|
|
2658
2658
|
x: 0,
|
|
@@ -2664,7 +2664,7 @@ const Rn = u.memo(
|
|
|
2664
2664
|
taps: 0,
|
|
2665
2665
|
tapTimer: void 0,
|
|
2666
2666
|
lastLoc: void 0
|
|
2667
|
-
}), w =
|
|
2667
|
+
}), w = l.useMemo(() => {
|
|
2668
2668
|
const S = (x) => {
|
|
2669
2669
|
const { onEnd: v, reportLocation: T } = a.current;
|
|
2670
2670
|
T ? v == null || v(x) : v == null || v();
|
|
@@ -2708,7 +2708,7 @@ const Rn = u.memo(
|
|
|
2708
2708
|
}
|
|
2709
2709
|
if (!$) return;
|
|
2710
2710
|
W && M != null && W.arena.tryClaim(M, W.slot), v.consumed = !0;
|
|
2711
|
-
const k =
|
|
2711
|
+
const k = jt(x, u.current);
|
|
2712
2712
|
y(k);
|
|
2713
2713
|
},
|
|
2714
2714
|
onPointerCancelCapture(x) {
|
|
@@ -2725,11 +2725,11 @@ const Rn = u.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(
|
|
2728
|
+
v.tapTimer !== void 0 && clearTimeout(v.tapTimer), v.taps = 0, v.dblHandled = !0, S(jt(x, u.current));
|
|
2729
2729
|
return;
|
|
2730
2730
|
}
|
|
2731
2731
|
}
|
|
2732
|
-
y(
|
|
2732
|
+
y(jt(x, u.current));
|
|
2733
2733
|
},
|
|
2734
2734
|
onDoubleClick(x) {
|
|
2735
2735
|
if (a.current.count < 2) return;
|
|
@@ -2739,7 +2739,7 @@ const Rn = u.memo(
|
|
|
2739
2739
|
T.dblHandled = !1;
|
|
2740
2740
|
return;
|
|
2741
2741
|
}
|
|
2742
|
-
T.tapTimer !== void 0 && clearTimeout(T.tapTimer), T.taps = 0, S(
|
|
2742
|
+
T.tapTimer !== void 0 && clearTimeout(T.tapTimer), T.taps = 0, S(jt(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 }));
|
|
@@ -2749,7 +2749,7 @@ const Rn = u.memo(
|
|
|
2749
2749
|
return /* @__PURE__ */ Kt(
|
|
2750
2750
|
"div",
|
|
2751
2751
|
{
|
|
2752
|
-
ref:
|
|
2752
|
+
ref: u,
|
|
2753
2753
|
role: "button",
|
|
2754
2754
|
tabIndex: 0,
|
|
2755
2755
|
className: "fibo-gesture fibo-gesture-tap",
|
|
@@ -2790,7 +2790,7 @@ class Bn extends Ii {
|
|
|
2790
2790
|
wrap(t) {
|
|
2791
2791
|
if (!Ri(this._enabled, this._including)) return t;
|
|
2792
2792
|
const i = this;
|
|
2793
|
-
return
|
|
2793
|
+
return l.createElement(In, {
|
|
2794
2794
|
duration: this._duration,
|
|
2795
2795
|
maximumDistance: this._maximumDistance,
|
|
2796
2796
|
onStart: this._onStart,
|
|
@@ -2805,7 +2805,7 @@ class Bn extends Ii {
|
|
|
2805
2805
|
});
|
|
2806
2806
|
}
|
|
2807
2807
|
}
|
|
2808
|
-
const In =
|
|
2808
|
+
const In = l.memo(
|
|
2809
2809
|
function({
|
|
2810
2810
|
duration: o,
|
|
2811
2811
|
maximumDistance: t,
|
|
@@ -2816,7 +2816,7 @@ const In = u.memo(
|
|
|
2816
2816
|
blockSubviewHits: f,
|
|
2817
2817
|
children: a
|
|
2818
2818
|
}) {
|
|
2819
|
-
const
|
|
2819
|
+
const u = l.useRef(void 0), d = l.useRef(void 0), g = l.useRef(null), h = l.useRef(!1), w = l.useRef({ x: 0, y: 0 }), S = l.useRef(!1), y = l.useRef({
|
|
2820
2820
|
onStart: i,
|
|
2821
2821
|
onEnd: r,
|
|
2822
2822
|
onPressingChanged: n,
|
|
@@ -2832,18 +2832,18 @@ const In = u.memo(
|
|
|
2832
2832
|
maximumDistance: t,
|
|
2833
2833
|
bubble: s
|
|
2834
2834
|
};
|
|
2835
|
-
const x =
|
|
2835
|
+
const x = l.useContext(Ai), v = l.useCallback(($ = !0) => {
|
|
2836
2836
|
var M, W;
|
|
2837
|
-
|
|
2837
|
+
u.current !== void 0 && (clearTimeout(u.current), u.current = void 0), Cn(g.current, d.current), h.current && $ && ((W = (M = y.current).onPressingChanged) == null || W.call(M, !1)), h.current = !1, d.current = void 0, g.current = null, S.current = !1;
|
|
2838
2838
|
}, []);
|
|
2839
|
-
|
|
2839
|
+
l.useEffect(() => () => v(!1), [v]);
|
|
2840
2840
|
const T = ($) => {
|
|
2841
2841
|
var k, H, V, K;
|
|
2842
2842
|
if (h.current && !nt(h.current, d.current, $.pointerId) || x && x.arena.isBlocked($.pointerId, x.slot)) return;
|
|
2843
2843
|
const M = $.currentTarget, W = st($);
|
|
2844
|
-
g.current = M, h.current = !0, S.current = !1, w.current = W, $.pointerId !== void 0 && (d.current = $.pointerId, Zt.delete($.pointerId)),
|
|
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
2847
|
const to = d.current;
|
|
2848
2848
|
to != null && Zt.add(to), x && to != null && x.arena.tryClaim(to, x.slot), (no = (po = y.current).onEnd) == null || no.call(po);
|
|
2849
2849
|
}, y.current.duration);
|
|
@@ -2896,11 +2896,11 @@ function Ni(e = {}) {
|
|
|
2896
2896
|
const o = qe(e.stiffness, 170), t = Nn(e.damping, 26), i = qe(e.mass, 1), r = `${o}:${t}:${i}`, n = Ke.get(r);
|
|
2897
2897
|
if (n) return n;
|
|
2898
2898
|
const s = 1 / 60, f = 1;
|
|
2899
|
-
let a = 0,
|
|
2899
|
+
let a = 0, u = 0;
|
|
2900
2900
|
const d = [0];
|
|
2901
2901
|
for (let y = 0; y < 180; y += 1) {
|
|
2902
|
-
const x = -o * (a - f) - t *
|
|
2903
|
-
if (
|
|
2902
|
+
const x = -o * (a - f) - t * u;
|
|
2903
|
+
if (u += x / i * s, a += u * s, d.push(a), y > 8 && Math.abs(a - f) < 2e-3 && Math.abs(u) < 2e-3) break;
|
|
2904
2904
|
}
|
|
2905
2905
|
d[d.length - 1] !== 1 && d.push(1);
|
|
2906
2906
|
const h = Math.max(1, Math.floor((d.length - 1) / 24)), w = [];
|
|
@@ -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 &&
|
|
4461
|
+
typeof i == "string" && i.trim() && o.backgroundColor == null && jn(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
|
|
4469
|
+
const Dn = "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:
|
|
4472
|
+
return o !== "" && o !== "none" ? e : { ...e, transform: Dn };
|
|
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
|
|
4478
|
+
function jn(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
|
}
|
|
@@ -4652,8 +4652,8 @@ function Kn(e, o) {
|
|
|
4652
4652
|
[`${o}Bottom`, n],
|
|
4653
4653
|
[`${o}Left`, s]
|
|
4654
4654
|
], a = e;
|
|
4655
|
-
for (const [
|
|
4656
|
-
a[
|
|
4655
|
+
for (const [u, d] of f)
|
|
4656
|
+
a[u] == null && (a[u] = d);
|
|
4657
4657
|
delete a[o];
|
|
4658
4658
|
}
|
|
4659
4659
|
function ii(e, o, t) {
|
|
@@ -4712,16 +4712,16 @@ class xo {
|
|
|
4712
4712
|
if (typeof f != "string" || f === "constructor")
|
|
4713
4713
|
return Reflect.get(s, f, a);
|
|
4714
4714
|
if (f in s) {
|
|
4715
|
-
const
|
|
4716
|
-
return typeof
|
|
4717
|
-
const g =
|
|
4715
|
+
const u = Reflect.get(s, f, a);
|
|
4716
|
+
return typeof u != "function" ? u : (...d) => {
|
|
4717
|
+
const g = u.apply(s, d);
|
|
4718
4718
|
return g === r ? n : g;
|
|
4719
4719
|
};
|
|
4720
4720
|
}
|
|
4721
|
-
return (
|
|
4721
|
+
return (u) => {
|
|
4722
4722
|
const g = Me(f) ?? [f];
|
|
4723
4723
|
for (const h of g)
|
|
4724
|
-
r.set(Rt(h), ro(h,
|
|
4724
|
+
r.set(Rt(h), ro(h, u));
|
|
4725
4725
|
return n;
|
|
4726
4726
|
};
|
|
4727
4727
|
}
|
|
@@ -4957,20 +4957,42 @@ function os(e) {
|
|
|
4957
4957
|
display: "flex",
|
|
4958
4958
|
minWidth: 0,
|
|
4959
4959
|
minHeight: 0,
|
|
4960
|
-
|
|
4961
|
-
|
|
4960
|
+
// `fill` stretches the child — host uses stretch instead of corner align.
|
|
4961
|
+
alignItems: e.fill ? "stretch" : o.alignItems,
|
|
4962
|
+
justifyContent: e.fill ? "flex-start" : o.justifyContent
|
|
4962
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");
|
|
4963
4964
|
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;
|
|
4964
4965
|
}
|
|
4965
|
-
|
|
4966
|
-
|
|
4966
|
+
const ts = {
|
|
4967
|
+
width: "100%",
|
|
4968
|
+
height: "100%",
|
|
4969
|
+
minWidth: 0,
|
|
4970
|
+
minHeight: 0,
|
|
4971
|
+
boxSizing: "border-box",
|
|
4972
|
+
flex: "1 1 auto",
|
|
4973
|
+
alignSelf: "stretch"
|
|
4974
|
+
};
|
|
4975
|
+
function es(e) {
|
|
4976
|
+
if (!l.isValidElement(e)) return e;
|
|
4977
|
+
const o = e.props;
|
|
4978
|
+
return l.cloneElement(e, {
|
|
4979
|
+
style: {
|
|
4980
|
+
...o.style,
|
|
4981
|
+
...ts
|
|
4982
|
+
}
|
|
4983
|
+
});
|
|
4984
|
+
}
|
|
4985
|
+
function is(e, o) {
|
|
4986
|
+
const t = o.fill ? es(e) : e;
|
|
4987
|
+
return l.createElement(
|
|
4967
4988
|
"div",
|
|
4968
4989
|
{
|
|
4969
4990
|
className: "fibo-frame",
|
|
4970
4991
|
"data-fibo-frame": Pi(o.alignment),
|
|
4992
|
+
"data-fibo-fill": o.fill ? "true" : void 0,
|
|
4971
4993
|
style: os(o)
|
|
4972
4994
|
},
|
|
4973
|
-
|
|
4995
|
+
t
|
|
4974
4996
|
);
|
|
4975
4997
|
}
|
|
4976
4998
|
function Oi(e) {
|
|
@@ -4980,7 +5002,7 @@ function Oi(e) {
|
|
|
4980
5002
|
function ri(e) {
|
|
4981
5003
|
return e == null ? zo.center : typeof e == "string" && e in zo ? zo[e] : e;
|
|
4982
5004
|
}
|
|
4983
|
-
function
|
|
5005
|
+
function rs(e) {
|
|
4984
5006
|
const o = typeof e == "function" ? e() : e;
|
|
4985
5007
|
return vo(o);
|
|
4986
5008
|
}
|
|
@@ -4989,9 +5011,9 @@ const at = {
|
|
|
4989
5011
|
rounded: "8px",
|
|
4990
5012
|
square: "0px"
|
|
4991
5013
|
};
|
|
4992
|
-
function
|
|
5014
|
+
function ns(e, o) {
|
|
4993
5015
|
const t = o.x ?? 0, i = o.y ?? 0;
|
|
4994
|
-
return t === 0 && i === 0 ? e :
|
|
5016
|
+
return t === 0 && i === 0 ? e : l.createElement(
|
|
4995
5017
|
"div",
|
|
4996
5018
|
{
|
|
4997
5019
|
className: "fibo-offset",
|
|
@@ -5006,8 +5028,8 @@ function is(e, o) {
|
|
|
5006
5028
|
e
|
|
5007
5029
|
);
|
|
5008
5030
|
}
|
|
5009
|
-
function
|
|
5010
|
-
return
|
|
5031
|
+
function ss(e) {
|
|
5032
|
+
return l.createElement(
|
|
5011
5033
|
"div",
|
|
5012
5034
|
{
|
|
5013
5035
|
className: "fibo-clipped",
|
|
@@ -5023,9 +5045,9 @@ function rs(e) {
|
|
|
5023
5045
|
e
|
|
5024
5046
|
);
|
|
5025
5047
|
}
|
|
5026
|
-
function
|
|
5048
|
+
function fs(e, o) {
|
|
5027
5049
|
const t = o in at ? at[o] : o === "rectangle" ? void 0 : String(o);
|
|
5028
|
-
return
|
|
5050
|
+
return l.createElement(
|
|
5029
5051
|
"div",
|
|
5030
5052
|
{
|
|
5031
5053
|
className: "fibo-clip-shape",
|
|
@@ -5042,7 +5064,7 @@ function ns(e, o) {
|
|
|
5042
5064
|
e
|
|
5043
5065
|
);
|
|
5044
5066
|
}
|
|
5045
|
-
const
|
|
5067
|
+
const as = {
|
|
5046
5068
|
position: "absolute",
|
|
5047
5069
|
inset: 0,
|
|
5048
5070
|
zIndex: 10,
|
|
@@ -5055,13 +5077,13 @@ const ss = {
|
|
|
5055
5077
|
userSelect: "none",
|
|
5056
5078
|
WebkitUserSelect: "none"
|
|
5057
5079
|
};
|
|
5058
|
-
function
|
|
5080
|
+
function cs(e, o = "rectangle") {
|
|
5059
5081
|
const t = o === "rectangle" ? void 0 : o in at ? at[o] : o === "circle" ? "50%" : String(o), i = Oi(o), r = {
|
|
5060
|
-
...
|
|
5082
|
+
...as,
|
|
5061
5083
|
...t != null ? { borderRadius: t } : null,
|
|
5062
5084
|
...i != null ? { clipPath: i, WebkitClipPath: i } : null
|
|
5063
5085
|
};
|
|
5064
|
-
return
|
|
5086
|
+
return l.createElement(
|
|
5065
5087
|
"div",
|
|
5066
5088
|
{
|
|
5067
5089
|
className: "fibo-content-shape",
|
|
@@ -5078,7 +5100,7 @@ function fs(e, o = "rectangle") {
|
|
|
5078
5100
|
...i != null ? { clipPath: i, WebkitClipPath: i } : null
|
|
5079
5101
|
}
|
|
5080
5102
|
},
|
|
5081
|
-
|
|
5103
|
+
l.createElement(
|
|
5082
5104
|
"div",
|
|
5083
5105
|
{
|
|
5084
5106
|
className: "fibo-content-shape-body",
|
|
@@ -5093,7 +5115,7 @@ function fs(e, o = "rectangle") {
|
|
|
5093
5115
|
},
|
|
5094
5116
|
e
|
|
5095
5117
|
),
|
|
5096
|
-
|
|
5118
|
+
l.createElement("div", {
|
|
5097
5119
|
className: "fibo-hit-film",
|
|
5098
5120
|
"data-fibo-hit-film": "1",
|
|
5099
5121
|
"data-fibo-hit-shape": o,
|
|
@@ -5102,9 +5124,9 @@ function fs(e, o = "rectangle") {
|
|
|
5102
5124
|
})
|
|
5103
5125
|
);
|
|
5104
5126
|
}
|
|
5105
|
-
function
|
|
5127
|
+
function ls(e, o) {
|
|
5106
5128
|
const t = o > 0 ? o : 0, i = o < 0 ? 1 + Math.abs(o) : o > 0 ? 0 : 1;
|
|
5107
|
-
return
|
|
5129
|
+
return l.createElement(
|
|
5108
5130
|
"div",
|
|
5109
5131
|
{
|
|
5110
5132
|
className: "fibo-layout-priority",
|
|
@@ -5124,19 +5146,19 @@ function as(e, o) {
|
|
|
5124
5146
|
e
|
|
5125
5147
|
);
|
|
5126
5148
|
}
|
|
5127
|
-
function
|
|
5149
|
+
function us(e, o) {
|
|
5128
5150
|
const t = {
|
|
5129
5151
|
display: "inline-flex",
|
|
5130
5152
|
flexDirection: "column"
|
|
5131
5153
|
};
|
|
5132
|
-
return o.horizontal !== !1 && (t.width = "fit-content", t.maxWidth = "100%"), o.vertical !== !1 && (t.height = "fit-content"),
|
|
5154
|
+
return o.horizontal !== !1 && (t.width = "fit-content", t.maxWidth = "100%"), o.vertical !== !1 && (t.height = "fit-content"), l.createElement(
|
|
5133
5155
|
"div",
|
|
5134
5156
|
{ className: "fibo-fixed-size", style: t },
|
|
5135
5157
|
e
|
|
5136
5158
|
);
|
|
5137
5159
|
}
|
|
5138
|
-
function
|
|
5139
|
-
const t = Li(ri(o.alignment)), i =
|
|
5160
|
+
function bs(e, o) {
|
|
5161
|
+
const t = Li(ri(o.alignment)), i = rs(o.child), r = {
|
|
5140
5162
|
position: "absolute",
|
|
5141
5163
|
inset: 0,
|
|
5142
5164
|
display: "flex",
|
|
@@ -5147,7 +5169,7 @@ function ls(e, o) {
|
|
|
5147
5169
|
minWidth: 0,
|
|
5148
5170
|
minHeight: 0,
|
|
5149
5171
|
overflow: "hidden"
|
|
5150
|
-
}, n =
|
|
5172
|
+
}, n = l.createElement(
|
|
5151
5173
|
"div",
|
|
5152
5174
|
{
|
|
5153
5175
|
className: `fibo-view-${o.kind}`,
|
|
@@ -5157,12 +5179,12 @@ function ls(e, o) {
|
|
|
5157
5179
|
pointerEvents: "none"
|
|
5158
5180
|
}
|
|
5159
5181
|
},
|
|
5160
|
-
|
|
5182
|
+
l.createElement(
|
|
5161
5183
|
"div",
|
|
5162
5184
|
{ style: { pointerEvents: "auto", maxWidth: "100%", maxHeight: "100%" } },
|
|
5163
5185
|
i
|
|
5164
5186
|
)
|
|
5165
|
-
), s =
|
|
5187
|
+
), s = l.createElement(
|
|
5166
5188
|
"div",
|
|
5167
5189
|
{
|
|
5168
5190
|
className: "fibo-view-layer-base",
|
|
@@ -5177,7 +5199,7 @@ function ls(e, o) {
|
|
|
5177
5199
|
},
|
|
5178
5200
|
e
|
|
5179
5201
|
);
|
|
5180
|
-
return
|
|
5202
|
+
return l.createElement(
|
|
5181
5203
|
"div",
|
|
5182
5204
|
{
|
|
5183
5205
|
className: "fibo-view-layer-host",
|
|
@@ -5195,15 +5217,15 @@ function ls(e, o) {
|
|
|
5195
5217
|
o.kind === "overlay" ? n : null
|
|
5196
5218
|
);
|
|
5197
5219
|
}
|
|
5198
|
-
function
|
|
5199
|
-
return
|
|
5220
|
+
function hs(e, o) {
|
|
5221
|
+
return l.createElement(ds, { onChange: o, children: e });
|
|
5200
5222
|
}
|
|
5201
|
-
function
|
|
5223
|
+
function ds({
|
|
5202
5224
|
onChange: e,
|
|
5203
5225
|
children: o
|
|
5204
5226
|
}) {
|
|
5205
|
-
const t =
|
|
5206
|
-
return i.current = e,
|
|
5227
|
+
const t = l.useRef(null), i = l.useRef(e);
|
|
5228
|
+
return i.current = e, l.useEffect(() => {
|
|
5207
5229
|
const r = t.current;
|
|
5208
5230
|
if (!r) return;
|
|
5209
5231
|
const n = () => {
|
|
@@ -5213,7 +5235,7 @@ function bs({
|
|
|
5213
5235
|
if (n(), typeof ResizeObserver != "function") return;
|
|
5214
5236
|
const s = new ResizeObserver(() => n());
|
|
5215
5237
|
return s.observe(r), () => s.disconnect();
|
|
5216
|
-
}, []),
|
|
5238
|
+
}, []), l.createElement(
|
|
5217
5239
|
"div",
|
|
5218
5240
|
{
|
|
5219
5241
|
ref: t,
|
|
@@ -5228,8 +5250,8 @@ function bs({
|
|
|
5228
5250
|
o
|
|
5229
5251
|
);
|
|
5230
5252
|
}
|
|
5231
|
-
function
|
|
5232
|
-
return
|
|
5253
|
+
function ps(e) {
|
|
5254
|
+
return l.createElement(
|
|
5233
5255
|
"div",
|
|
5234
5256
|
{
|
|
5235
5257
|
className: "fibo-compositing-group",
|
|
@@ -5243,19 +5265,19 @@ function hs(e) {
|
|
|
5243
5265
|
e
|
|
5244
5266
|
);
|
|
5245
5267
|
}
|
|
5246
|
-
function
|
|
5268
|
+
function xs(e, o) {
|
|
5247
5269
|
const t = Oi(o) ?? void 0, i = o in at ? at[o] : o === "circle" ? "50%" : void 0, r = {
|
|
5248
5270
|
display: "inline-flex",
|
|
5249
5271
|
flexDirection: "column",
|
|
5250
5272
|
maxWidth: "100%"
|
|
5251
5273
|
};
|
|
5252
|
-
return t ? (r.WebkitMaskImage = "linear-gradient(#000 0 0)", r.maskImage = "linear-gradient(#000 0 0)", r.clipPath = t, r.WebkitClipPath = t) : i != null ? (r.WebkitMaskImage = "linear-gradient(#000 0 0)", r.maskImage = "linear-gradient(#000 0 0)", r.borderRadius = i, r.overflow = "hidden") : (o.includes("(") || o.startsWith("url") || o.includes("gradient")) && (r.WebkitMaskImage = o, r.maskImage = o, r.WebkitMaskSize = "100% 100%", r.maskSize = "100% 100%"),
|
|
5274
|
+
return t ? (r.WebkitMaskImage = "linear-gradient(#000 0 0)", r.maskImage = "linear-gradient(#000 0 0)", r.clipPath = t, r.WebkitClipPath = t) : i != null ? (r.WebkitMaskImage = "linear-gradient(#000 0 0)", r.maskImage = "linear-gradient(#000 0 0)", r.borderRadius = i, r.overflow = "hidden") : (o.includes("(") || o.startsWith("url") || o.includes("gradient")) && (r.WebkitMaskImage = o, r.maskImage = o, r.WebkitMaskSize = "100% 100%", r.maskSize = "100% 100%"), l.createElement(
|
|
5253
5275
|
"div",
|
|
5254
5276
|
{ className: "fibo-mask", "data-fibo-mask": o, style: r },
|
|
5255
5277
|
e
|
|
5256
5278
|
);
|
|
5257
5279
|
}
|
|
5258
|
-
function
|
|
5280
|
+
function gs(e) {
|
|
5259
5281
|
let o = (e == null ? void 0 : e.parentElement) ?? null;
|
|
5260
5282
|
for (; o; ) {
|
|
5261
5283
|
const { width: t, height: i } = o.getBoundingClientRect();
|
|
@@ -5264,7 +5286,7 @@ function ps(e) {
|
|
|
5264
5286
|
}
|
|
5265
5287
|
return null;
|
|
5266
5288
|
}
|
|
5267
|
-
function
|
|
5289
|
+
function ms({
|
|
5268
5290
|
child: e,
|
|
5269
5291
|
spec: o
|
|
5270
5292
|
}) {
|
|
@@ -5272,7 +5294,7 @@ function xs({
|
|
|
5272
5294
|
It(() => {
|
|
5273
5295
|
const d = t.current;
|
|
5274
5296
|
if (!d) return;
|
|
5275
|
-
const g =
|
|
5297
|
+
const g = gs(d);
|
|
5276
5298
|
if (!g) return;
|
|
5277
5299
|
const h = () => {
|
|
5278
5300
|
const S = g.getBoundingClientRect();
|
|
@@ -5282,18 +5304,18 @@ function xs({
|
|
|
5282
5304
|
const w = new ResizeObserver(h);
|
|
5283
5305
|
return w.observe(g), () => w.disconnect();
|
|
5284
5306
|
}, []);
|
|
5285
|
-
const
|
|
5307
|
+
const u = {
|
|
5286
5308
|
display: "inline-flex",
|
|
5287
5309
|
flexDirection: "column",
|
|
5288
5310
|
boxSizing: "border-box"
|
|
5289
5311
|
};
|
|
5290
5312
|
if (i)
|
|
5291
|
-
(n === "horizontal" || n === "both") && (
|
|
5313
|
+
(n === "horizontal" || n === "both") && (u.width = i.w * a, u.maxWidth = i.w * a), (n === "vertical" || n === "both") && (u.height = i.h * a, u.maxHeight = i.h * a);
|
|
5292
5314
|
else {
|
|
5293
5315
|
const d = `${a * 100}%`;
|
|
5294
|
-
(n === "horizontal" || n === "both") && (
|
|
5316
|
+
(n === "horizontal" || n === "both") && (u.width = d, u.maxWidth = d), (n === "vertical" || n === "both") && (u.height = d, u.maxHeight = d);
|
|
5295
5317
|
}
|
|
5296
|
-
return
|
|
5318
|
+
return l.createElement(
|
|
5297
5319
|
"div",
|
|
5298
5320
|
{
|
|
5299
5321
|
ref: t,
|
|
@@ -5301,15 +5323,15 @@ function xs({
|
|
|
5301
5323
|
"data-fibo-crf-axis": n,
|
|
5302
5324
|
"data-fibo-crf-count": String(s),
|
|
5303
5325
|
"data-fibo-crf-span": String(f),
|
|
5304
|
-
style:
|
|
5326
|
+
style: u
|
|
5305
5327
|
},
|
|
5306
5328
|
e
|
|
5307
5329
|
);
|
|
5308
5330
|
}
|
|
5309
|
-
function
|
|
5310
|
-
return
|
|
5331
|
+
function vs(e, o = {}) {
|
|
5332
|
+
return l.createElement(ms, { child: e, spec: o });
|
|
5311
5333
|
}
|
|
5312
|
-
function
|
|
5334
|
+
function ws(e, o) {
|
|
5313
5335
|
switch (e) {
|
|
5314
5336
|
case "leading":
|
|
5315
5337
|
case "top":
|
|
@@ -5326,26 +5348,26 @@ function ms(e, o) {
|
|
|
5326
5348
|
return 0;
|
|
5327
5349
|
}
|
|
5328
5350
|
}
|
|
5329
|
-
function
|
|
5351
|
+
function ys({
|
|
5330
5352
|
child: e,
|
|
5331
5353
|
spec: o
|
|
5332
5354
|
}) {
|
|
5333
5355
|
const t = Bt(null), [i, r] = me({ x: 0, y: 0 }), [n, s] = me({ width: 0, height: 0 });
|
|
5334
5356
|
It(() => {
|
|
5335
|
-
const
|
|
5336
|
-
if (!
|
|
5357
|
+
const u = t.current;
|
|
5358
|
+
if (!u) return;
|
|
5337
5359
|
const d = () => {
|
|
5338
|
-
const h =
|
|
5360
|
+
const h = u.getBoundingClientRect(), w = { width: h.width, height: h.height };
|
|
5339
5361
|
s(w);
|
|
5340
|
-
const S = typeof o.compute == "function" ? o.compute(w) : Number(o.compute), y = Number.isFinite(S) ? S : 0, x =
|
|
5362
|
+
const S = typeof o.compute == "function" ? o.compute(w) : Number(o.compute), y = Number.isFinite(S) ? S : 0, x = ws(o.guide, w), v = y - x, T = o.guide === "leading" || o.guide === "trailing" || o.guide === "centerX" || String(o.guide).includes("x") || String(o.guide).includes("leading") || String(o.guide).includes("trailing");
|
|
5341
5363
|
r(T ? { x: v, y: 0 } : { x: 0, y: v });
|
|
5342
5364
|
};
|
|
5343
5365
|
if (d(), typeof ResizeObserver != "function") return;
|
|
5344
5366
|
const g = new ResizeObserver(d);
|
|
5345
|
-
return g.observe(
|
|
5367
|
+
return g.observe(u), () => g.disconnect();
|
|
5346
5368
|
}, [o.guide, o.compute]);
|
|
5347
5369
|
const f = `--fibo-align-${o.guide}`, a = typeof o.compute == "function" ? o.compute(n) : Number(o.compute);
|
|
5348
|
-
return
|
|
5370
|
+
return l.createElement(
|
|
5349
5371
|
"div",
|
|
5350
5372
|
{
|
|
5351
5373
|
ref: t,
|
|
@@ -5361,11 +5383,11 @@ function vs({
|
|
|
5361
5383
|
e
|
|
5362
5384
|
);
|
|
5363
5385
|
}
|
|
5364
|
-
function
|
|
5365
|
-
return
|
|
5386
|
+
function ks(e, o) {
|
|
5387
|
+
return l.createElement(ys, { child: e, spec: o });
|
|
5366
5388
|
}
|
|
5367
5389
|
const Qo = /* @__PURE__ */ new Map();
|
|
5368
|
-
function
|
|
5390
|
+
function _s({
|
|
5369
5391
|
child: e,
|
|
5370
5392
|
spec: o
|
|
5371
5393
|
}) {
|
|
@@ -5387,13 +5409,13 @@ function ys({
|
|
|
5387
5409
|
const d = Qo.get(n);
|
|
5388
5410
|
(d == null ? void 0 : d.isSource) === r && Qo.delete(n);
|
|
5389
5411
|
};
|
|
5390
|
-
const
|
|
5391
|
-
return
|
|
5392
|
-
|
|
5412
|
+
const u = new ResizeObserver(a);
|
|
5413
|
+
return u.observe(f), () => {
|
|
5414
|
+
u.disconnect();
|
|
5393
5415
|
const d = Qo.get(n);
|
|
5394
5416
|
d && d.isSource === r && Qo.delete(n);
|
|
5395
5417
|
};
|
|
5396
|
-
}, [n, i, o.id, r]),
|
|
5418
|
+
}, [n, i, o.id, r]), l.createElement(
|
|
5397
5419
|
"div",
|
|
5398
5420
|
{
|
|
5399
5421
|
ref: t,
|
|
@@ -5410,11 +5432,11 @@ function ys({
|
|
|
5410
5432
|
e
|
|
5411
5433
|
);
|
|
5412
5434
|
}
|
|
5413
|
-
function
|
|
5414
|
-
return
|
|
5435
|
+
function Ss(e, o) {
|
|
5436
|
+
return l.createElement(_s, { child: e, spec: o });
|
|
5415
5437
|
}
|
|
5416
5438
|
const ze = _r(null);
|
|
5417
|
-
function
|
|
5439
|
+
function Cs() {
|
|
5418
5440
|
const e = /* @__PURE__ */ new Map(), o = /* @__PURE__ */ new Map(), t = (i) => {
|
|
5419
5441
|
var r;
|
|
5420
5442
|
(r = o.get(i)) == null || r.forEach((n) => n());
|
|
@@ -5439,7 +5461,7 @@ function _s() {
|
|
|
5439
5461
|
}
|
|
5440
5462
|
};
|
|
5441
5463
|
}
|
|
5442
|
-
function
|
|
5464
|
+
function zs({
|
|
5443
5465
|
prefKey: e,
|
|
5444
5466
|
value: o,
|
|
5445
5467
|
children: t
|
|
@@ -5450,27 +5472,27 @@ function Ss({
|
|
|
5450
5472
|
return i.contribute(r.current, { keyId: e.id, value: o });
|
|
5451
5473
|
}, [i, e, o]), t;
|
|
5452
5474
|
}
|
|
5453
|
-
function
|
|
5475
|
+
function Ts({
|
|
5454
5476
|
prefKey: e,
|
|
5455
5477
|
onChange: o,
|
|
5456
5478
|
children: t
|
|
5457
5479
|
}) {
|
|
5458
|
-
const i = hi(ze), r = Sr(() =>
|
|
5480
|
+
const i = hi(ze), r = Sr(() => Cs(), []), n = i ?? r, s = Bt(o);
|
|
5459
5481
|
s.current = o;
|
|
5460
5482
|
const f = Cr(() => {
|
|
5461
5483
|
s.current(n.read(e));
|
|
5462
5484
|
}, [n, e]);
|
|
5463
|
-
return It(() => (f(), n.subscribe(e.id, f)), [n, e, f]),
|
|
5485
|
+
return It(() => (f(), n.subscribe(e.id, f)), [n, e, f]), l.createElement(ze.Provider, { value: n }, t);
|
|
5464
5486
|
}
|
|
5465
|
-
function
|
|
5466
|
-
return
|
|
5487
|
+
function Es(e, o) {
|
|
5488
|
+
return l.createElement(zs, {
|
|
5467
5489
|
prefKey: o.key,
|
|
5468
5490
|
value: o.value,
|
|
5469
5491
|
children: e
|
|
5470
5492
|
});
|
|
5471
5493
|
}
|
|
5472
|
-
function
|
|
5473
|
-
return
|
|
5494
|
+
function As(e, o) {
|
|
5495
|
+
return l.createElement(Ts, {
|
|
5474
5496
|
prefKey: o.key,
|
|
5475
5497
|
onChange: o.onChange,
|
|
5476
5498
|
children: e
|
|
@@ -5489,7 +5511,7 @@ const be = {
|
|
|
5489
5511
|
vertical: "vertical",
|
|
5490
5512
|
all: "all"
|
|
5491
5513
|
};
|
|
5492
|
-
function
|
|
5514
|
+
function Rs(e) {
|
|
5493
5515
|
return {
|
|
5494
5516
|
top: e.top,
|
|
5495
5517
|
bottom: e.bottom,
|
|
@@ -5497,7 +5519,7 @@ function Es(e) {
|
|
|
5497
5519
|
right: e.trailing ?? e.right
|
|
5498
5520
|
};
|
|
5499
5521
|
}
|
|
5500
|
-
function
|
|
5522
|
+
function Bs(e, o) {
|
|
5501
5523
|
switch (e) {
|
|
5502
5524
|
case Ho.top:
|
|
5503
5525
|
return { top: o };
|
|
@@ -5516,7 +5538,7 @@ function As(e, o) {
|
|
|
5516
5538
|
return { top: o, right: o, bottom: o, left: o };
|
|
5517
5539
|
}
|
|
5518
5540
|
}
|
|
5519
|
-
const
|
|
5541
|
+
const Is = {
|
|
5520
5542
|
ultraThin: {
|
|
5521
5543
|
blur: 20,
|
|
5522
5544
|
background: "rgba(255, 255, 255, 0.35)"
|
|
@@ -5538,7 +5560,7 @@ const Rs = {
|
|
|
5538
5560
|
background: "rgba(255, 255, 255, 0.88)"
|
|
5539
5561
|
}
|
|
5540
5562
|
};
|
|
5541
|
-
function
|
|
5563
|
+
function Fs(e) {
|
|
5542
5564
|
switch (e) {
|
|
5543
5565
|
case be.leading:
|
|
5544
5566
|
case "leading":
|
|
@@ -5555,12 +5577,12 @@ function Bs(e) {
|
|
|
5555
5577
|
return "bottom";
|
|
5556
5578
|
}
|
|
5557
5579
|
}
|
|
5558
|
-
function
|
|
5580
|
+
function Ns(e) {
|
|
5559
5581
|
const o = typeof e == "function" ? e() : e;
|
|
5560
5582
|
return vo(o);
|
|
5561
5583
|
}
|
|
5562
|
-
function
|
|
5563
|
-
const t =
|
|
5584
|
+
function $s(e, o) {
|
|
5585
|
+
const t = Fs(o.edge), i = t === "top" || t === "bottom", r = Ns(o.content), n = o.spacing ?? 0, s = {
|
|
5564
5586
|
display: "flex",
|
|
5565
5587
|
flexDirection: i ? "column" : "row",
|
|
5566
5588
|
minWidth: 0,
|
|
@@ -5581,11 +5603,11 @@ function Fs(e, o) {
|
|
|
5581
5603
|
flexDirection: "column",
|
|
5582
5604
|
// Sit inside the physical safe area when on top/bottom.
|
|
5583
5605
|
...t === "top" ? { paddingTop: "env(safe-area-inset-top, 0px)" } : t === "bottom" ? { paddingBottom: "env(safe-area-inset-bottom, 0px)" } : t === "left" ? { paddingLeft: "env(safe-area-inset-left, 0px)" } : { paddingRight: "env(safe-area-inset-right, 0px)" }
|
|
5584
|
-
},
|
|
5606
|
+
}, u = l.createElement(
|
|
5585
5607
|
"div",
|
|
5586
5608
|
{ className: "fibo-safe-area-inset-body", style: f },
|
|
5587
5609
|
e
|
|
5588
|
-
), d =
|
|
5610
|
+
), d = l.createElement(
|
|
5589
5611
|
"div",
|
|
5590
5612
|
{
|
|
5591
5613
|
className: "fibo-safe-area-inset-bar",
|
|
@@ -5593,8 +5615,8 @@ function Fs(e, o) {
|
|
|
5593
5615
|
style: a
|
|
5594
5616
|
},
|
|
5595
5617
|
r
|
|
5596
|
-
), g = t === "top" || t === "left" ? [d,
|
|
5597
|
-
return
|
|
5618
|
+
), g = t === "top" || t === "left" ? [d, u] : [u, d];
|
|
5619
|
+
return l.createElement(
|
|
5598
5620
|
"div",
|
|
5599
5621
|
{
|
|
5600
5622
|
className: "fibo-safe-area-inset",
|
|
@@ -5604,7 +5626,7 @@ function Fs(e, o) {
|
|
|
5604
5626
|
...g
|
|
5605
5627
|
);
|
|
5606
5628
|
}
|
|
5607
|
-
const
|
|
5629
|
+
const Ms = {
|
|
5608
5630
|
name: "material",
|
|
5609
5631
|
colors: {
|
|
5610
5632
|
primary: "#6750A4",
|
|
@@ -5698,7 +5720,7 @@ const Ns = {
|
|
|
5698
5720
|
lg: "0px 4px 8px 3px rgba(0,0,0,0.15), 0px 1px 3px rgba(0,0,0,0.3)"
|
|
5699
5721
|
},
|
|
5700
5722
|
fontFamily: "'Roboto', sans-serif"
|
|
5701
|
-
},
|
|
5723
|
+
}, Ls = {
|
|
5702
5724
|
name: "cupertino",
|
|
5703
5725
|
colors: {
|
|
5704
5726
|
primary: "#007AFF",
|
|
@@ -5793,7 +5815,7 @@ const Ns = {
|
|
|
5793
5815
|
lg: "0 12px 32px rgba(0,0,0,0.15)"
|
|
5794
5816
|
},
|
|
5795
5817
|
fontFamily: '-apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif'
|
|
5796
|
-
},
|
|
5818
|
+
}, Ps = {
|
|
5797
5819
|
name: "web",
|
|
5798
5820
|
colors: {
|
|
5799
5821
|
primary: "#3B82F6",
|
|
@@ -5885,7 +5907,7 @@ const Ns = {
|
|
|
5885
5907
|
lg: "0 10px 15px -3px rgb(0 0 0 / 0.1)"
|
|
5886
5908
|
},
|
|
5887
5909
|
fontFamily: "'Inter', system-ui, sans-serif"
|
|
5888
|
-
},
|
|
5910
|
+
}, Os = {
|
|
5889
5911
|
name: "noir",
|
|
5890
5912
|
colors: {
|
|
5891
5913
|
primary: "#F4F4F6",
|
|
@@ -5989,24 +6011,24 @@ const Ns = {
|
|
|
5989
6011
|
lg: "0 30px 80px rgba(0, 0, 0, 0.75)"
|
|
5990
6012
|
},
|
|
5991
6013
|
fontFamily: 'var(--font-sans-loaded, "Plus Jakarta Sans"), system-ui, -apple-system, sans-serif'
|
|
5992
|
-
},
|
|
5993
|
-
material:
|
|
5994
|
-
cupertino:
|
|
5995
|
-
web:
|
|
5996
|
-
noir:
|
|
6014
|
+
}, Ws = {
|
|
6015
|
+
material: Ms,
|
|
6016
|
+
cupertino: Ls,
|
|
6017
|
+
web: Ps,
|
|
6018
|
+
noir: Os
|
|
5997
6019
|
};
|
|
5998
|
-
function
|
|
6020
|
+
function Ds(e) {
|
|
5999
6021
|
if (typeof e == "string") {
|
|
6000
|
-
const o =
|
|
6022
|
+
const o = Ws[e];
|
|
6001
6023
|
if (!o) throw new Error(`Unknown fiboui theme preset: ${e}`);
|
|
6002
6024
|
return o;
|
|
6003
6025
|
}
|
|
6004
6026
|
return e;
|
|
6005
6027
|
}
|
|
6006
|
-
function
|
|
6028
|
+
function js(e) {
|
|
6007
6029
|
return `--fibo-text-${e}`;
|
|
6008
6030
|
}
|
|
6009
|
-
function
|
|
6031
|
+
function Gs(e) {
|
|
6010
6032
|
var r, n;
|
|
6011
6033
|
const o = e.colors, t = {
|
|
6012
6034
|
"--fibo-primary": o.primary,
|
|
@@ -6041,23 +6063,23 @@ function js(e) {
|
|
|
6041
6063
|
return i && Object.keys(i).forEach((s) => {
|
|
6042
6064
|
const f = i[s];
|
|
6043
6065
|
if (!f) return;
|
|
6044
|
-
const a =
|
|
6066
|
+
const a = js(s);
|
|
6045
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));
|
|
6046
6068
|
}), t;
|
|
6047
6069
|
}
|
|
6048
|
-
function
|
|
6070
|
+
function Hs(e) {
|
|
6049
6071
|
return {
|
|
6050
|
-
...
|
|
6072
|
+
...Gs(e),
|
|
6051
6073
|
"--fibo-theme": e.name || "custom"
|
|
6052
6074
|
};
|
|
6053
6075
|
}
|
|
6054
|
-
function
|
|
6076
|
+
function Xs(e) {
|
|
6055
6077
|
return String(e ?? "").trim().toLowerCase().replace(/[^a-z0-9_-]+/g, "-").replace(/-+/g, "-").replace(/^-|-$/g, "") || "custom";
|
|
6056
6078
|
}
|
|
6057
|
-
function
|
|
6058
|
-
return `fibo-theme-${
|
|
6079
|
+
function Vs(e) {
|
|
6080
|
+
return `fibo-theme-${Xs(e.name)}`;
|
|
6059
6081
|
}
|
|
6060
|
-
const Wi = 64,
|
|
6082
|
+
const Wi = 64, Ys = [
|
|
6061
6083
|
"paddingTop",
|
|
6062
6084
|
"paddingRight",
|
|
6063
6085
|
"paddingBottom",
|
|
@@ -6066,7 +6088,7 @@ const Wi = 64, Xs = [
|
|
|
6066
6088
|
"marginRight",
|
|
6067
6089
|
"marginBottom",
|
|
6068
6090
|
"marginLeft"
|
|
6069
|
-
],
|
|
6091
|
+
], Us = /* @__PURE__ */ new Set([
|
|
6070
6092
|
"padding-top",
|
|
6071
6093
|
"padding-right",
|
|
6072
6094
|
"padding-bottom",
|
|
@@ -6075,7 +6097,7 @@ const Wi = 64, Xs = [
|
|
|
6075
6097
|
"margin-right",
|
|
6076
6098
|
"margin-bottom",
|
|
6077
6099
|
"margin-left"
|
|
6078
|
-
]),
|
|
6100
|
+
]), Ks = {
|
|
6079
6101
|
templateColumns: "gridTemplateColumns",
|
|
6080
6102
|
templateRows: "gridTemplateRows",
|
|
6081
6103
|
templateAreas: "gridTemplateAreas",
|
|
@@ -6084,12 +6106,12 @@ const Wi = 64, Xs = [
|
|
|
6084
6106
|
autoRows: "gridAutoRows",
|
|
6085
6107
|
cssFloat: "float"
|
|
6086
6108
|
};
|
|
6087
|
-
function
|
|
6109
|
+
function Di(e) {
|
|
6088
6110
|
if (e.startsWith("--")) return e;
|
|
6089
|
-
const o =
|
|
6111
|
+
const o = Ks[e] ?? e, t = Rt(o);
|
|
6090
6112
|
return t.startsWith("ms-") ? `-${t}` : t;
|
|
6091
6113
|
}
|
|
6092
|
-
const
|
|
6114
|
+
const qs = `${Wi}px`;
|
|
6093
6115
|
class go {
|
|
6094
6116
|
constructor() {
|
|
6095
6117
|
/** @internal Extra DOM props forwarded to the host element. */
|
|
@@ -6198,9 +6220,12 @@ class go {
|
|
|
6198
6220
|
* maxHeight: Size.infinity,
|
|
6199
6221
|
* alignment: StackAlign.topTrailing,
|
|
6200
6222
|
* })
|
|
6223
|
+
* // Child fills the slot (bg/border on the child cover the frame):
|
|
6224
|
+
* Box().bg('red').frame({ maxWidth: Size.infinity, fill: true })
|
|
6201
6225
|
* ```
|
|
6202
6226
|
*
|
|
6203
6227
|
* Chainable: each `.frame()` wraps the previous (same as SwiftUI).
|
|
6228
|
+
* Default: child hugs + `alignment`. Pass `fill: true` to stretch the child.
|
|
6204
6229
|
*/
|
|
6205
6230
|
frame(o) {
|
|
6206
6231
|
return this._frames.push({ ...o }), this;
|
|
@@ -6378,11 +6403,11 @@ class go {
|
|
|
6378
6403
|
}
|
|
6379
6404
|
padding(o, t) {
|
|
6380
6405
|
if (t !== void 0 && typeof o == "string") {
|
|
6381
|
-
const i =
|
|
6406
|
+
const i = Bs(o, t);
|
|
6382
6407
|
return i.top != null && this.setBoxLonghand("padding-top", i.top), i.right != null && this.setBoxLonghand("padding-right", i.right), i.bottom != null && this.setBoxLonghand("padding-bottom", i.bottom), i.left != null && this.setBoxLonghand("padding-left", i.left), this;
|
|
6383
6408
|
}
|
|
6384
6409
|
if (o != null && typeof o == "object") {
|
|
6385
|
-
const i =
|
|
6410
|
+
const i = Rs(o);
|
|
6386
6411
|
return i.top != null && this.setBoxLonghand("padding-top", i.top), i.right != null && this.setBoxLonghand("padding-right", i.right), i.bottom != null && this.setBoxLonghand("padding-bottom", i.bottom), i.left != null && this.setBoxLonghand("padding-left", i.left), this;
|
|
6387
6412
|
}
|
|
6388
6413
|
return this.setBoxShorthand("padding", o);
|
|
@@ -6413,7 +6438,7 @@ class go {
|
|
|
6413
6438
|
}
|
|
6414
6439
|
trackBoxLonghandsFrom(o) {
|
|
6415
6440
|
const t = o;
|
|
6416
|
-
for (const i of
|
|
6441
|
+
for (const i of Ys)
|
|
6417
6442
|
t[i] != null && this._boxLonghands.add(Rt(i));
|
|
6418
6443
|
}
|
|
6419
6444
|
flexDirection(o) {
|
|
@@ -6685,7 +6710,7 @@ class go {
|
|
|
6685
6710
|
* `Box().material(Material.ultraThin)` or `.material('regular')`.
|
|
6686
6711
|
*/
|
|
6687
6712
|
material(o) {
|
|
6688
|
-
const t = typeof o == "string" ?
|
|
6713
|
+
const t = typeof o == "string" ? Is[o] : o;
|
|
6689
6714
|
return t ? (this.backdropBlur(t.blur), this.bg(t.background), this) : this;
|
|
6690
6715
|
}
|
|
6691
6716
|
shadow(o) {
|
|
@@ -6755,12 +6780,12 @@ class go {
|
|
|
6755
6780
|
const g = r("all", "md", n, s), h = P.register("box-shadow", g);
|
|
6756
6781
|
return this._classNames.push(h), this;
|
|
6757
6782
|
}
|
|
6758
|
-
const
|
|
6783
|
+
const u = n;
|
|
6759
6784
|
if (typeof s == "string" && i(s)) {
|
|
6760
|
-
const g = r(
|
|
6785
|
+
const g = r(u, "md", s, f), h = P.register("box-shadow", g);
|
|
6761
6786
|
return this._classNames.push(h), this;
|
|
6762
6787
|
} else {
|
|
6763
|
-
const h = r(
|
|
6788
|
+
const h = r(u, s, f, a), w = P.register("box-shadow", h);
|
|
6764
6789
|
return this._classNames.push(w), this;
|
|
6765
6790
|
}
|
|
6766
6791
|
}
|
|
@@ -6786,7 +6811,7 @@ class go {
|
|
|
6786
6811
|
if (!t) return;
|
|
6787
6812
|
const i = Po(t);
|
|
6788
6813
|
for (const [r, n] of Object.entries(i))
|
|
6789
|
-
n == null || n === "" || this._classNames.push(P.registerMedia(o,
|
|
6814
|
+
n == null || n === "" || this._classNames.push(P.registerMedia(o, Di(r), String(n)));
|
|
6790
6815
|
}
|
|
6791
6816
|
sm(o) {
|
|
6792
6817
|
return this.media("sm", o);
|
|
@@ -6998,20 +7023,20 @@ class go {
|
|
|
6998
7023
|
o();
|
|
6999
7024
|
}
|
|
7000
7025
|
translateX(o) {
|
|
7001
|
-
return o instanceof
|
|
7026
|
+
return o instanceof Dt ? this._animatedProps.set("translateX", o) : this._transforms.push(`translateX(${o}px)`), this;
|
|
7002
7027
|
}
|
|
7003
7028
|
translateY(o) {
|
|
7004
|
-
return o instanceof
|
|
7029
|
+
return o instanceof Dt ? this._animatedProps.set("translateY", o) : this._transforms.push(`translateY(${o}px)`), this;
|
|
7005
7030
|
}
|
|
7006
7031
|
scale(o) {
|
|
7007
|
-
return o instanceof
|
|
7032
|
+
return o instanceof Dt ? this._animatedProps.set("scale", o) : this._transforms.push(`scale(${o})`), this;
|
|
7008
7033
|
}
|
|
7009
7034
|
/** SwiftUI `scaleEffect` — alias of {@link scale}. */
|
|
7010
7035
|
scaleEffect(o) {
|
|
7011
7036
|
return this.scale(o);
|
|
7012
7037
|
}
|
|
7013
7038
|
rotate(o) {
|
|
7014
|
-
return o instanceof
|
|
7039
|
+
return o instanceof Dt ? this._animatedProps.set("rotate", o) : this._transforms.push(`rotate(${o}deg)`), this;
|
|
7015
7040
|
}
|
|
7016
7041
|
/** SwiftUI `rotationEffect` — alias of {@link rotate} (degrees). */
|
|
7017
7042
|
rotationEffect(o) {
|
|
@@ -7197,8 +7222,8 @@ class go {
|
|
|
7197
7222
|
}
|
|
7198
7223
|
const a = et(s ?? "ease", f);
|
|
7199
7224
|
this._classNames.push(this._motionClass);
|
|
7200
|
-
const
|
|
7201
|
-
return
|
|
7225
|
+
const u = this._style;
|
|
7226
|
+
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;
|
|
7202
7227
|
}
|
|
7203
7228
|
/** CSS `linear()` spring. Works on `.animate()` and `.transition()` / `.hover()`. */
|
|
7204
7229
|
spring(o) {
|
|
@@ -7290,7 +7315,7 @@ class go {
|
|
|
7290
7315
|
this._classNames.push(P.register("position", "sticky"));
|
|
7291
7316
|
const t = o === !0 ? "0px" : typeof o == "number" ? `${o}px` : o;
|
|
7292
7317
|
this._classNames.push(P.register("top", t));
|
|
7293
|
-
const i = o === !0 || o === 0 ?
|
|
7318
|
+
const i = o === !0 || o === 0 ? qs : typeof o == "number" ? `${Math.max(o, Wi)}px` : o;
|
|
7294
7319
|
return this.publishStickyOffset(i), this;
|
|
7295
7320
|
}
|
|
7296
7321
|
/**
|
|
@@ -7361,8 +7386,8 @@ class go {
|
|
|
7361
7386
|
* SSR-safe: class + inline vars on first paint (no useEffect).
|
|
7362
7387
|
*/
|
|
7363
7388
|
theme(o) {
|
|
7364
|
-
const t =
|
|
7365
|
-
return this._theme = t, this.addClassName(
|
|
7389
|
+
const t = Ds(o);
|
|
7390
|
+
return this._theme = t, this.addClassName(Vs(t)), this;
|
|
7366
7391
|
}
|
|
7367
7392
|
/** Prefer dark/light system chrome for native controls under this subtree. */
|
|
7368
7393
|
colorScheme(o) {
|
|
@@ -7452,7 +7477,7 @@ class go {
|
|
|
7452
7477
|
getStyle() {
|
|
7453
7478
|
let o = Po({ ...this._style, ...this._cssStyles });
|
|
7454
7479
|
if (this._smoothSurface && (o = ue(o), this._smoothNeedsRestTransform && (o = Qe(o))), this._theme && (o = {
|
|
7455
|
-
...
|
|
7480
|
+
...Hs(this._theme),
|
|
7456
7481
|
...o,
|
|
7457
7482
|
backgroundColor: o.backgroundColor ?? this._theme.colors.background,
|
|
7458
7483
|
color: o.color ?? this._theme.colors.onBackground,
|
|
@@ -7470,10 +7495,10 @@ class go {
|
|
|
7470
7495
|
processChildren() {
|
|
7471
7496
|
const o = this._childFunction ? Ct(this._childFunction) : this._children;
|
|
7472
7497
|
return this._staggerMs == null ? o : o.map(
|
|
7473
|
-
(t, i) =>
|
|
7498
|
+
(t, i) => l.createElement(
|
|
7474
7499
|
"span",
|
|
7475
7500
|
{
|
|
7476
|
-
key:
|
|
7501
|
+
key: l.isValidElement(t) && Ie(t.key) ? t.key : `fibo-stagger-${i}`,
|
|
7477
7502
|
className: "fibo-stagger-item",
|
|
7478
7503
|
style: { "--fibo-i": String(i) }
|
|
7479
7504
|
},
|
|
@@ -7485,7 +7510,7 @@ class go {
|
|
|
7485
7510
|
return this._childFunction;
|
|
7486
7511
|
}
|
|
7487
7512
|
}
|
|
7488
|
-
const
|
|
7513
|
+
const Zs = /* @__PURE__ */ new Set([
|
|
7489
7514
|
"$$typeof",
|
|
7490
7515
|
"type",
|
|
7491
7516
|
"props",
|
|
@@ -7498,59 +7523,59 @@ const Ks = /* @__PURE__ */ new Set([
|
|
|
7498
7523
|
"_debugTask",
|
|
7499
7524
|
"_debugInfo"
|
|
7500
7525
|
]);
|
|
7501
|
-
function
|
|
7526
|
+
function Js(e) {
|
|
7502
7527
|
var t;
|
|
7503
7528
|
const o = (t = e._props) == null ? void 0 : t.key;
|
|
7504
7529
|
if (!(o == null || o === ""))
|
|
7505
7530
|
return o;
|
|
7506
7531
|
}
|
|
7507
|
-
function
|
|
7508
|
-
const o = e._isObserver, t = e._signals, i = e._observers, r = e._state, n = e._providers, s =
|
|
7532
|
+
function Qs(e) {
|
|
7533
|
+
const o = e._isObserver, t = e._signals, i = e._observers, r = e._state, n = e._providers, s = Js(e), f = () => {
|
|
7509
7534
|
e.runReplays();
|
|
7510
7535
|
let h = cn(e, () => e.build());
|
|
7511
7536
|
const w = e._frames;
|
|
7512
7537
|
if (w && w.length > 0)
|
|
7513
7538
|
for (const C of w)
|
|
7514
|
-
h =
|
|
7515
|
-
e._clipped && (h =
|
|
7539
|
+
h = is(h, C);
|
|
7540
|
+
e._clipped && (h = ss(h));
|
|
7516
7541
|
const S = e._clipShape;
|
|
7517
|
-
S && (h =
|
|
7542
|
+
S && (h = fs(h, S));
|
|
7518
7543
|
const y = e._viewMask;
|
|
7519
|
-
y && (h =
|
|
7544
|
+
y && (h = xs(h, y)), e._compositingGroup && (h = ps(h));
|
|
7520
7545
|
const x = e._layers;
|
|
7521
7546
|
if (x && x.length > 0)
|
|
7522
7547
|
for (const C of x)
|
|
7523
|
-
h =
|
|
7548
|
+
h = bs(h, C);
|
|
7524
7549
|
const v = e._offset;
|
|
7525
|
-
v && (h =
|
|
7550
|
+
v && (h = ns(h, v));
|
|
7526
7551
|
const T = e._fixedSize;
|
|
7527
|
-
T && (h =
|
|
7552
|
+
T && (h = us(h, T));
|
|
7528
7553
|
const O = e._layoutPriority;
|
|
7529
|
-
O != null && O !== 0 && (h =
|
|
7554
|
+
O != null && O !== 0 && (h = ls(h, O));
|
|
7530
7555
|
const I = e._containerRelativeFrame;
|
|
7531
|
-
I && (h =
|
|
7556
|
+
I && (h = vs(h, I));
|
|
7532
7557
|
const $ = e._alignmentGuide;
|
|
7533
|
-
$ && (h =
|
|
7558
|
+
$ && (h = ks(h, $));
|
|
7534
7559
|
const M = e._matchedGeometry;
|
|
7535
|
-
M && (h =
|
|
7560
|
+
M && (h = Ss(h, M));
|
|
7536
7561
|
const W = e._preferences;
|
|
7537
7562
|
if (W && W.length > 0)
|
|
7538
7563
|
for (const C of W)
|
|
7539
|
-
h =
|
|
7564
|
+
h = Es(h, C);
|
|
7540
7565
|
const k = e._preferenceReaders;
|
|
7541
7566
|
if (k && k.length > 0)
|
|
7542
7567
|
for (const C of k)
|
|
7543
|
-
h =
|
|
7568
|
+
h = As(h, C);
|
|
7544
7569
|
const H = e._safeAreaInsets;
|
|
7545
7570
|
if (H && H.length > 0)
|
|
7546
7571
|
for (const C of H)
|
|
7547
|
-
h =
|
|
7572
|
+
h = $s(h, C);
|
|
7548
7573
|
const V = e._contentShape;
|
|
7549
|
-
V && (h =
|
|
7574
|
+
V && (h = cs(h, V));
|
|
7550
7575
|
const K = e._onGeometryChange;
|
|
7551
|
-
K && (h =
|
|
7576
|
+
K && (h = hs(h, K));
|
|
7552
7577
|
const to = e._animatedProps, po = e._animationConfig;
|
|
7553
|
-
to && to.size > 0 && (h =
|
|
7578
|
+
to && to.size > 0 && (h = l.createElement(Tr, {
|
|
7554
7579
|
key: s,
|
|
7555
7580
|
animatedProps: to,
|
|
7556
7581
|
animationConfig: po,
|
|
@@ -7561,7 +7586,7 @@ function Zs(e) {
|
|
|
7561
7586
|
const C = e._style || {}, So = {};
|
|
7562
7587
|
for (const yo of ["--fibo-dur", "--fibo-ease", "--fibo-delay", "--fibo-stagger", "--fibo-from"])
|
|
7563
7588
|
C[yo] != null && (So[yo] = C[yo]);
|
|
7564
|
-
h =
|
|
7589
|
+
h = l.createElement(Er, {
|
|
7565
7590
|
key: s,
|
|
7566
7591
|
preset: no.preset,
|
|
7567
7592
|
once: no.once,
|
|
@@ -7572,10 +7597,10 @@ function Zs(e) {
|
|
|
7572
7597
|
children: h
|
|
7573
7598
|
});
|
|
7574
7599
|
}
|
|
7575
|
-
e._scrollProgress && (h =
|
|
7576
|
-
|
|
7600
|
+
e._scrollProgress && (h = l.createElement(Ar, { key: s, children: h })), e._usesCssMotion && (h = l.createElement(
|
|
7601
|
+
l.Fragment,
|
|
7577
7602
|
{ key: s },
|
|
7578
|
-
|
|
7603
|
+
l.createElement(tn),
|
|
7579
7604
|
h
|
|
7580
7605
|
));
|
|
7581
7606
|
const fo = e._simultaneousGestures;
|
|
@@ -7591,35 +7616,35 @@ function Zs(e) {
|
|
|
7591
7616
|
for (const C of oo)
|
|
7592
7617
|
h = C.wrap(h);
|
|
7593
7618
|
return h;
|
|
7594
|
-
}, a = typeof e.hasStateManagement == "function" ? e.hasStateManagement() : !!(o || t && t.size || i && i.size || r && r.size || n && n.size),
|
|
7619
|
+
}, a = typeof e.hasStateManagement == "function" ? e.hasStateManagement() : !!(o || t && t.size || i && i.size || r && r.size || n && n.size), u = o ? l.createElement(un, {
|
|
7595
7620
|
key: s,
|
|
7596
7621
|
children: f
|
|
7597
|
-
}) : null, d = () =>
|
|
7622
|
+
}) : null, d = () => u ?? f();
|
|
7598
7623
|
let g = d();
|
|
7599
|
-
return a && t && t.size > 0 ? g =
|
|
7624
|
+
return a && t && t.size > 0 ? g = l.createElement(bn, {
|
|
7600
7625
|
key: s,
|
|
7601
7626
|
signals: t,
|
|
7602
7627
|
children: d
|
|
7603
|
-
}) : a && i && i.size > 0 && (g =
|
|
7628
|
+
}) : a && i && i.size > 0 && (g = l.createElement(hn, {
|
|
7604
7629
|
key: s,
|
|
7605
7630
|
observables: i,
|
|
7606
7631
|
children: d
|
|
7607
|
-
})), a && r && r.size > 0 && (g =
|
|
7632
|
+
})), a && r && r.size > 0 && (g = l.createElement(dn, {
|
|
7608
7633
|
key: s,
|
|
7609
7634
|
stateMap: r,
|
|
7610
7635
|
children: g
|
|
7611
|
-
})), a && n && n.size > 0 && (g =
|
|
7636
|
+
})), a && n && n.size > 0 && (g = l.createElement(zi, {
|
|
7612
7637
|
key: s,
|
|
7613
7638
|
providers: n,
|
|
7614
7639
|
children: g
|
|
7615
7640
|
})), g;
|
|
7616
7641
|
}
|
|
7617
|
-
function
|
|
7642
|
+
function of(e, o, t) {
|
|
7618
7643
|
const i = function() {
|
|
7619
7644
|
return o();
|
|
7620
7645
|
};
|
|
7621
7646
|
i.displayName = t;
|
|
7622
|
-
const r =
|
|
7647
|
+
const r = l.createElement(i);
|
|
7623
7648
|
Object.defineProperty(e, "$$typeof", {
|
|
7624
7649
|
value: r.$$typeof,
|
|
7625
7650
|
enumerable: !0,
|
|
@@ -7633,10 +7658,10 @@ function Js(e, o, t) {
|
|
|
7633
7658
|
}
|
|
7634
7659
|
function mo(e) {
|
|
7635
7660
|
return (...o) => {
|
|
7636
|
-
const t = new e(...o), i = e.name.replace(/Builder$/, "") || "Fibo", r = () =>
|
|
7637
|
-
return
|
|
7661
|
+
const t = new e(...o), i = e.name.replace(/Builder$/, "") || "Fibo", r = () => Qs(t);
|
|
7662
|
+
return of(t, r, i), new Proxy(t, {
|
|
7638
7663
|
get(n, s, f) {
|
|
7639
|
-
var a,
|
|
7664
|
+
var a, u;
|
|
7640
7665
|
if (s === "build")
|
|
7641
7666
|
return r;
|
|
7642
7667
|
if (s === "key") {
|
|
@@ -7650,7 +7675,7 @@ function mo(e) {
|
|
|
7650
7675
|
return n.__fiboKeyFn;
|
|
7651
7676
|
}
|
|
7652
7677
|
if (s === "props") {
|
|
7653
|
-
const d = (
|
|
7678
|
+
const d = (u = n._props) == null ? void 0 : u.key, g = {
|
|
7654
7679
|
...n.__fiboElementProps ?? {},
|
|
7655
7680
|
...d != null && d !== "" ? { key: String(d) } : {}
|
|
7656
7681
|
}, h = Object.getPrototypeOf(n).props;
|
|
@@ -7660,11 +7685,11 @@ function mo(e) {
|
|
|
7660
7685
|
const d = Reflect.get(n, s), g = Object.getPrototypeOf(n), h = g != null ? g.type : void 0;
|
|
7661
7686
|
return typeof h != "function" || typeof d != "function" ? d : (n.__fiboType || (n.__fiboType = (w, S) => typeof w == "string" || typeof w == "number" ? (h.call(n, w), f) : d(w, S)), n.__fiboType);
|
|
7662
7687
|
}
|
|
7663
|
-
return
|
|
7688
|
+
return Zs.has(s) || Reflect.has(n, s) ? Reflect.get(n, s, f) : (d) => (((h) => {
|
|
7664
7689
|
const S = Me(s) ?? [s];
|
|
7665
7690
|
for (const y of S) {
|
|
7666
|
-
const x =
|
|
7667
|
-
if (
|
|
7691
|
+
const x = Di(y);
|
|
7692
|
+
if (Us.has(x)) {
|
|
7668
7693
|
n.setBoxLonghand(x, h);
|
|
7669
7694
|
continue;
|
|
7670
7695
|
}
|
|
@@ -7676,39 +7701,39 @@ function mo(e) {
|
|
|
7676
7701
|
});
|
|
7677
7702
|
};
|
|
7678
7703
|
}
|
|
7679
|
-
const
|
|
7704
|
+
const ji = "FIBO:", tf = /\uE000FIBO:(\d+)\uE001/g, Gi = [];
|
|
7680
7705
|
function Pe(e) {
|
|
7681
7706
|
return typeof e == "string" ? e : e == null ? "" : String(e);
|
|
7682
7707
|
}
|
|
7683
|
-
function
|
|
7708
|
+
function ef(e) {
|
|
7684
7709
|
return e.replace(/\uE000FIBO:(\d+)\uE001/g, (o, t) => {
|
|
7685
7710
|
const i = Gi[Number(t)];
|
|
7686
7711
|
return i == null ? "" : String(i.value);
|
|
7687
7712
|
});
|
|
7688
7713
|
}
|
|
7689
7714
|
function J(e) {
|
|
7690
|
-
return Pe(e).includes(
|
|
7715
|
+
return Pe(e).includes(ji);
|
|
7691
7716
|
}
|
|
7692
7717
|
function _o(e) {
|
|
7693
7718
|
const o = [];
|
|
7694
|
-
for (const t of Pe(e).matchAll(
|
|
7719
|
+
for (const t of Pe(e).matchAll(tf)) {
|
|
7695
7720
|
const i = Gi[Number(t[1])];
|
|
7696
7721
|
i && o.push(i);
|
|
7697
7722
|
}
|
|
7698
7723
|
return o;
|
|
7699
7724
|
}
|
|
7700
|
-
const
|
|
7725
|
+
const rf = 16;
|
|
7701
7726
|
function ho(e) {
|
|
7702
7727
|
let o = Pe(e);
|
|
7703
|
-
for (let t = 0; t <
|
|
7704
|
-
if (!o.includes(
|
|
7705
|
-
const i =
|
|
7728
|
+
for (let t = 0; t < rf; t++) {
|
|
7729
|
+
if (!o.includes(ji)) return o;
|
|
7730
|
+
const i = ef(o);
|
|
7706
7731
|
if (i === o) return o;
|
|
7707
7732
|
o = i;
|
|
7708
7733
|
}
|
|
7709
7734
|
return o;
|
|
7710
7735
|
}
|
|
7711
|
-
function
|
|
7736
|
+
function nf(e, o) {
|
|
7712
7737
|
if (!(typeof o != "string" || !J(o)))
|
|
7713
7738
|
for (const t of _o(o))
|
|
7714
7739
|
e.bindSignal(t);
|
|
@@ -7722,26 +7747,26 @@ function Jt(e, o) {
|
|
|
7722
7747
|
return;
|
|
7723
7748
|
}
|
|
7724
7749
|
if (typeof o == "string") {
|
|
7725
|
-
|
|
7750
|
+
nf(e, o);
|
|
7726
7751
|
return;
|
|
7727
7752
|
}
|
|
7728
7753
|
if (Array.isArray(o))
|
|
7729
7754
|
for (const t of o) Jt(e, t);
|
|
7730
7755
|
}
|
|
7731
|
-
function
|
|
7756
|
+
function sf(e) {
|
|
7732
7757
|
return typeof e == "string" && J(e) ? ho(e) : e;
|
|
7733
7758
|
}
|
|
7734
|
-
function
|
|
7759
|
+
function ff(e) {
|
|
7735
7760
|
return e && typeof e == "object" && !Array.isArray(e) ? e : {};
|
|
7736
7761
|
}
|
|
7737
|
-
function
|
|
7762
|
+
function af(e) {
|
|
7738
7763
|
e.display !== "none" && (e.display = "flex", (e.alignItems == null || e.alignItems === "") && (e.alignItems = "center"), (e.justifyContent == null || e.justifyContent === "") && (e.justifyContent = "center")), e.margin == null && (e.marginLeft == null && (e.marginLeft = "auto"), e.marginRight == null && (e.marginRight = "auto"));
|
|
7739
7764
|
}
|
|
7740
|
-
function
|
|
7765
|
+
function cf(e, o) {
|
|
7741
7766
|
const { children: t, ...i } = o, r = t !== void 0 ? t : e;
|
|
7742
7767
|
return { nodes: r == null ? [] : Array.isArray(r) ? r : [r], rest: i };
|
|
7743
7768
|
}
|
|
7744
|
-
class
|
|
7769
|
+
class lf extends go {
|
|
7745
7770
|
children(o) {
|
|
7746
7771
|
return Jt(this, o), super.children(o);
|
|
7747
7772
|
}
|
|
@@ -7758,11 +7783,11 @@ class af extends go {
|
|
|
7758
7783
|
// instead of clipping overflowing children.
|
|
7759
7784
|
this.isHug() ? "w-auto self-auto" : "w-full min-w-0 min-h-0 self-stretch",
|
|
7760
7785
|
...this._classNames
|
|
7761
|
-
], { nodes: t, rest: i } =
|
|
7762
|
-
return
|
|
7786
|
+
], { nodes: t, rest: i } = cf(this.processChildren(), this._props), { className: r, style: n, ...s } = i, f = [...o, r].filter(Boolean).join(" "), a = t.map(sf), u = { ...this.getStyle(), ...ff(n) };
|
|
7787
|
+
return af(u), l.createElement(
|
|
7763
7788
|
"div",
|
|
7764
7789
|
{
|
|
7765
|
-
style:
|
|
7790
|
+
style: u,
|
|
7766
7791
|
...s,
|
|
7767
7792
|
className: f
|
|
7768
7793
|
},
|
|
@@ -7770,27 +7795,27 @@ class af extends go {
|
|
|
7770
7795
|
);
|
|
7771
7796
|
}
|
|
7772
7797
|
}
|
|
7773
|
-
const
|
|
7798
|
+
const Tc = mo(lf);
|
|
7774
7799
|
function Hi(e) {
|
|
7775
7800
|
return e === "start" || e === "center" || e === "end" ? e : e === "between" || e === "space-between" || e === "spaceBetween" ? "spaceBetween" : e === "around" || e === "space-around" || e === "spaceAround" ? "spaceAround" : e === "evenly" || e === "space-evenly" || e === "spaceEvenly" ? "spaceEvenly" : "start";
|
|
7776
7801
|
}
|
|
7777
7802
|
function Xi(e) {
|
|
7778
7803
|
return e === "start" || e === "center" || e === "end" || e === "stretch" ? e : "start";
|
|
7779
7804
|
}
|
|
7780
|
-
function
|
|
7805
|
+
function uf(e) {
|
|
7781
7806
|
return e != null && typeof e == "object" && !Array.isArray(e) && typeof e.subscribe == "function" && "value" in e;
|
|
7782
7807
|
}
|
|
7783
|
-
function
|
|
7784
|
-
return e == null ? [] : typeof e == "function" ? [...e() ?? []] :
|
|
7808
|
+
function bf(e) {
|
|
7809
|
+
return e == null ? [] : typeof e == "function" ? [...e() ?? []] : uf(e) ? [...e.value ?? []] : [...e];
|
|
7785
7810
|
}
|
|
7786
|
-
function
|
|
7811
|
+
function hf(e, o) {
|
|
7787
7812
|
if (e != null && typeof e == "object") {
|
|
7788
7813
|
const t = e, i = t.id ?? t._id ?? t.key;
|
|
7789
7814
|
if (typeof i == "string" || typeof i == "number") return i;
|
|
7790
7815
|
}
|
|
7791
7816
|
return typeof e == "string" || typeof e == "number" ? e : o;
|
|
7792
7817
|
}
|
|
7793
|
-
class
|
|
7818
|
+
class df extends go {
|
|
7794
7819
|
constructor(t, i) {
|
|
7795
7820
|
super();
|
|
7796
7821
|
c(this, "_source");
|
|
@@ -7815,15 +7840,15 @@ class bf extends go {
|
|
|
7815
7840
|
return this._keyBy = t, this;
|
|
7816
7841
|
}
|
|
7817
7842
|
build() {
|
|
7818
|
-
const t =
|
|
7819
|
-
const a = i ? i(s, f) : s,
|
|
7820
|
-
return
|
|
7843
|
+
const t = bf(this._source), i = this._renderItem, r = this._keyBy, n = t.map((s, f) => {
|
|
7844
|
+
const a = i ? i(s, f) : s, u = vo(a), d = r ? r(s, f) : hf(s, f);
|
|
7845
|
+
return l.isValidElement(u) ? l.cloneElement(u, { key: d }) : pi(u, f);
|
|
7821
7846
|
});
|
|
7822
|
-
return
|
|
7847
|
+
return l.createElement(l.Fragment, null, ...n);
|
|
7823
7848
|
}
|
|
7824
7849
|
}
|
|
7825
|
-
const Vi = mo(
|
|
7826
|
-
function
|
|
7850
|
+
const Vi = mo(df);
|
|
7851
|
+
function pf(e, o) {
|
|
7827
7852
|
if (!(typeof o != "string" || !J(o)))
|
|
7828
7853
|
for (const t of _o(o))
|
|
7829
7854
|
e.bindSignal(t);
|
|
@@ -7837,20 +7862,20 @@ function Qt(e, o) {
|
|
|
7837
7862
|
return;
|
|
7838
7863
|
}
|
|
7839
7864
|
if (typeof o == "string") {
|
|
7840
|
-
|
|
7865
|
+
pf(e, o);
|
|
7841
7866
|
return;
|
|
7842
7867
|
}
|
|
7843
7868
|
if (Array.isArray(o))
|
|
7844
7869
|
for (const t of o) Qt(e, t);
|
|
7845
7870
|
}
|
|
7846
|
-
function
|
|
7871
|
+
function xf(e) {
|
|
7847
7872
|
return typeof e == "string" && J(e) ? ho(e) : e;
|
|
7848
7873
|
}
|
|
7849
|
-
function
|
|
7874
|
+
function gf(e, o) {
|
|
7850
7875
|
const { children: t, ...i } = o, r = t !== void 0 ? t : e;
|
|
7851
7876
|
return { nodes: r == null ? [] : Array.isArray(r) ? r : [r], rest: i };
|
|
7852
7877
|
}
|
|
7853
|
-
class
|
|
7878
|
+
class mf extends go {
|
|
7854
7879
|
constructor() {
|
|
7855
7880
|
super(...arguments);
|
|
7856
7881
|
c(this, "_mainAxisAlignment", "start");
|
|
@@ -7919,11 +7944,11 @@ class xf extends go {
|
|
|
7919
7944
|
i[this._crossAxisAlignment],
|
|
7920
7945
|
this._size ? r[this._size] : "",
|
|
7921
7946
|
...this._classNames
|
|
7922
|
-
], s = this.getStyle(), { nodes: f, rest: a } =
|
|
7947
|
+
], s = this.getStyle(), { nodes: f, rest: a } = gf(this.processChildren(), this._props), { className: u, style: d, ...g } = a, h = [...n, u].filter(Boolean).join(" "), w = f.map(xf), S = {
|
|
7923
7948
|
...s,
|
|
7924
7949
|
...d && typeof d == "object" ? d : {}
|
|
7925
7950
|
};
|
|
7926
|
-
return this._spacing != null && this._spacing !== "" && (typeof this._spacing == "number" ? S.gap = `${this._spacing}px` : isNaN(Number(this._spacing)) ? S.gap = this._spacing : S.gap = `${Number(this._spacing) * 4}px`),
|
|
7951
|
+
return this._spacing != null && this._spacing !== "" && (typeof this._spacing == "number" ? S.gap = `${this._spacing}px` : isNaN(Number(this._spacing)) ? S.gap = this._spacing : S.gap = `${Number(this._spacing) * 4}px`), l.createElement(
|
|
7927
7952
|
"div",
|
|
7928
7953
|
{
|
|
7929
7954
|
style: S,
|
|
@@ -7934,8 +7959,8 @@ class xf extends go {
|
|
|
7934
7959
|
);
|
|
7935
7960
|
}
|
|
7936
7961
|
}
|
|
7937
|
-
const
|
|
7938
|
-
function
|
|
7962
|
+
const Ec = mo(mf);
|
|
7963
|
+
function vf(e, o) {
|
|
7939
7964
|
if (!(typeof o != "string" || !J(o)))
|
|
7940
7965
|
for (const t of _o(o))
|
|
7941
7966
|
e.bindSignal(t);
|
|
@@ -7949,20 +7974,20 @@ function oe(e, o) {
|
|
|
7949
7974
|
return;
|
|
7950
7975
|
}
|
|
7951
7976
|
if (typeof o == "string") {
|
|
7952
|
-
|
|
7977
|
+
vf(e, o);
|
|
7953
7978
|
return;
|
|
7954
7979
|
}
|
|
7955
7980
|
if (Array.isArray(o))
|
|
7956
7981
|
for (const t of o) oe(e, t);
|
|
7957
7982
|
}
|
|
7958
|
-
function
|
|
7983
|
+
function wf(e) {
|
|
7959
7984
|
return typeof e == "string" && J(e) ? ho(e) : e;
|
|
7960
7985
|
}
|
|
7961
|
-
function
|
|
7986
|
+
function yf(e, o) {
|
|
7962
7987
|
const t = o !== void 0 ? o : e;
|
|
7963
7988
|
return t == null ? [] : Array.isArray(t) ? t : [t];
|
|
7964
7989
|
}
|
|
7965
|
-
const
|
|
7990
|
+
const kf = /* @__PURE__ */ new Set([
|
|
7966
7991
|
"script",
|
|
7967
7992
|
"iframe",
|
|
7968
7993
|
"object",
|
|
@@ -7990,38 +8015,38 @@ const wf = /* @__PURE__ */ new Set([
|
|
|
7990
8015
|
"source",
|
|
7991
8016
|
"track",
|
|
7992
8017
|
"wbr"
|
|
7993
|
-
]),
|
|
7994
|
-
function
|
|
8018
|
+
]), _f = /^[a-z][a-z0-9]*$/;
|
|
8019
|
+
function Sf(e) {
|
|
7995
8020
|
if (typeof e != "string") return "div";
|
|
7996
8021
|
const o = e.trim().toLowerCase();
|
|
7997
|
-
return !
|
|
8022
|
+
return !_f.test(o) || kf.has(o) ? "div" : o;
|
|
7998
8023
|
}
|
|
7999
8024
|
function Yt(e, o) {
|
|
8000
8025
|
const t = `fibo-${o}-`;
|
|
8001
8026
|
return e.some((i) => i.startsWith(t));
|
|
8002
8027
|
}
|
|
8003
|
-
function
|
|
8028
|
+
function Cf(e) {
|
|
8004
8029
|
return typeof e == "number" ? `${e}px` : String(e);
|
|
8005
8030
|
}
|
|
8006
8031
|
function it(e, o) {
|
|
8007
8032
|
const t = `env(safe-area-inset-${o}, 0px)`;
|
|
8008
8033
|
if (e == null || e === "") return t;
|
|
8009
|
-
const i =
|
|
8034
|
+
const i = Cf(e);
|
|
8010
8035
|
return i.includes("safe-area-inset") ? i : `max(${i}, ${t})`;
|
|
8011
8036
|
}
|
|
8012
|
-
function
|
|
8037
|
+
function zf(e, o) {
|
|
8013
8038
|
const t = { ...e }, i = t;
|
|
8014
8039
|
for (const r of ["padding", "margin"]) {
|
|
8015
8040
|
const n = i[r];
|
|
8016
8041
|
if (n == null || n === "") continue;
|
|
8017
|
-
const s = `${r}Top`, f = `${r}Right`, a = `${r}Bottom`,
|
|
8018
|
-
if (!(i[s] != null || i[f] != null || i[a] != null || i[
|
|
8042
|
+
const s = `${r}Top`, f = `${r}Right`, a = `${r}Bottom`, u = `${r}Left`;
|
|
8043
|
+
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;
|
|
8019
8044
|
const [g, h, w, S] = ct(String(n));
|
|
8020
|
-
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[
|
|
8045
|
+
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];
|
|
8021
8046
|
}
|
|
8022
8047
|
return t;
|
|
8023
8048
|
}
|
|
8024
|
-
function
|
|
8049
|
+
function Tf(e, o) {
|
|
8025
8050
|
const t = e;
|
|
8026
8051
|
if (t.padding != null && t.padding !== "") {
|
|
8027
8052
|
const [n, s, f, a] = ct(String(t.padding));
|
|
@@ -8031,7 +8056,7 @@ function Cf(e, o) {
|
|
|
8031
8056
|
const i = t.paddingTop != null && t.paddingTop !== "", r = t.paddingBottom != null && t.paddingBottom !== "";
|
|
8032
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"));
|
|
8033
8058
|
}
|
|
8034
|
-
function
|
|
8059
|
+
function Ef(e, o, t, i) {
|
|
8035
8060
|
const r = e, n = r.width != null || i.has("width") || Yt(t, "width");
|
|
8036
8061
|
if (o) {
|
|
8037
8062
|
n || (r.width = "auto");
|
|
@@ -8041,11 +8066,11 @@ function zf(e, o, t, i) {
|
|
|
8041
8066
|
const s = r.margin != null && r.margin !== "", f = s || r.marginLeft != null || r.marginInlineStart != null || i.has("margin-left") || Yt(t, "margin-left"), a = s || r.marginRight != null || r.marginInlineEnd != null || i.has("margin-right") || Yt(t, "margin-right");
|
|
8042
8067
|
f || (r.marginLeft = "auto"), a || (r.marginRight = "auto");
|
|
8043
8068
|
}
|
|
8044
|
-
function
|
|
8045
|
-
const f = o ? Po({ ...e, ...o }) : { ...e }, a =
|
|
8046
|
-
return !(a.maxWidth != null || Yt(r, "max-width") || n.has("max-width")) && t != null && t !== "" && (a.maxWidth = ro("maxWidth", t)),
|
|
8069
|
+
function Af(e, o, t, i, r, n, s) {
|
|
8070
|
+
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;
|
|
8047
8072
|
}
|
|
8048
|
-
class
|
|
8073
|
+
class Rf extends go {
|
|
8049
8074
|
constructor() {
|
|
8050
8075
|
super(...arguments);
|
|
8051
8076
|
c(this, "_userPad", {});
|
|
@@ -8059,8 +8084,8 @@ class Ef extends go {
|
|
|
8059
8084
|
padding(t, i) {
|
|
8060
8085
|
if (i !== void 0 || t != null && typeof t == "object")
|
|
8061
8086
|
return super.padding(t, i);
|
|
8062
|
-
const r = t, n = ro("padding", r), [s, f, a,
|
|
8063
|
-
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 =
|
|
8087
|
+
const r = t, n = ro("padding", r), [s, f, a, u] = ct(n);
|
|
8088
|
+
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);
|
|
8064
8089
|
}
|
|
8065
8090
|
paddingHorizontal(t) {
|
|
8066
8091
|
const i = ro("paddingLeft", t);
|
|
@@ -8095,8 +8120,8 @@ class Ef extends go {
|
|
|
8095
8120
|
tag: s,
|
|
8096
8121
|
dangerouslySetInnerHTML: f,
|
|
8097
8122
|
maxWidth: a,
|
|
8098
|
-
...
|
|
8099
|
-
} = this._props, d = this.isHug(), g =
|
|
8123
|
+
...u
|
|
8124
|
+
} = this._props, d = this.isHug(), g = yf(this.processChildren(), t).map(wf), h = Af(
|
|
8100
8125
|
this.getStyle(),
|
|
8101
8126
|
r,
|
|
8102
8127
|
a,
|
|
@@ -8115,11 +8140,11 @@ class Ef extends go {
|
|
|
8115
8140
|
this.getClassName(),
|
|
8116
8141
|
i,
|
|
8117
8142
|
...w
|
|
8118
|
-
].filter(Boolean).join(" ").replace(/\s+/g, " ").trim(), y =
|
|
8119
|
-
return
|
|
8143
|
+
].filter(Boolean).join(" ").replace(/\s+/g, " ").trim(), y = Sf(n ?? s);
|
|
8144
|
+
return l.createElement(
|
|
8120
8145
|
y,
|
|
8121
8146
|
{
|
|
8122
|
-
...
|
|
8147
|
+
...u,
|
|
8123
8148
|
className: S,
|
|
8124
8149
|
style: h
|
|
8125
8150
|
},
|
|
@@ -8127,8 +8152,8 @@ class Ef extends go {
|
|
|
8127
8152
|
);
|
|
8128
8153
|
}
|
|
8129
8154
|
}
|
|
8130
|
-
const
|
|
8131
|
-
function
|
|
8155
|
+
const Ac = mo(Rf);
|
|
8156
|
+
function Bf(e, o) {
|
|
8132
8157
|
if (!(typeof o != "string" || !J(o)))
|
|
8133
8158
|
for (const t of _o(o))
|
|
8134
8159
|
e.bindSignal(t);
|
|
@@ -8142,29 +8167,29 @@ function te(e, o) {
|
|
|
8142
8167
|
return;
|
|
8143
8168
|
}
|
|
8144
8169
|
if (typeof o == "string") {
|
|
8145
|
-
|
|
8170
|
+
Bf(e, o);
|
|
8146
8171
|
return;
|
|
8147
8172
|
}
|
|
8148
8173
|
if (Array.isArray(o))
|
|
8149
8174
|
for (const t of o) te(e, t);
|
|
8150
8175
|
}
|
|
8151
|
-
function
|
|
8176
|
+
function If(e) {
|
|
8152
8177
|
return typeof e == "string" && J(e) ? ho(e) : e;
|
|
8153
8178
|
}
|
|
8154
|
-
function
|
|
8179
|
+
function Ff(e, o) {
|
|
8155
8180
|
const { children: t, ...i } = o, r = t !== void 0 ? t : e;
|
|
8156
|
-
return { nodes: (r == null ? [] : Array.isArray(r) ? r : [r]).map(
|
|
8181
|
+
return { nodes: (r == null ? [] : Array.isArray(r) ? r : [r]).map(If), rest: i };
|
|
8157
8182
|
}
|
|
8158
|
-
function
|
|
8183
|
+
function Nf(e, o) {
|
|
8159
8184
|
return !o || typeof o != "object" || Array.isArray(o) ? { ...e } : { ...e, ...o };
|
|
8160
8185
|
}
|
|
8161
|
-
function
|
|
8186
|
+
function $f(e) {
|
|
8162
8187
|
return e === "row-reverse" ? "flex-row-reverse" : e === "column" ? "flex-col" : e === "column-reverse" ? "flex-col-reverse" : "flex-row";
|
|
8163
8188
|
}
|
|
8164
|
-
function
|
|
8189
|
+
function Mf(e) {
|
|
8165
8190
|
return e === "wrap" ? "flex-wrap" : e === "wrap-reverse" ? "flex-wrap-reverse" : "";
|
|
8166
8191
|
}
|
|
8167
|
-
class
|
|
8192
|
+
class Lf extends go {
|
|
8168
8193
|
constructor() {
|
|
8169
8194
|
super(...arguments);
|
|
8170
8195
|
c(this, "_mainAxisAlignment", "start");
|
|
@@ -8216,41 +8241,41 @@ class $f extends go {
|
|
|
8216
8241
|
center: "items-center",
|
|
8217
8242
|
end: "items-end",
|
|
8218
8243
|
stretch: "items-stretch"
|
|
8219
|
-
}, { nodes: r, rest: n } =
|
|
8244
|
+
}, { nodes: r, rest: n } = Ff(this.processChildren(), this._props), {
|
|
8220
8245
|
className: s,
|
|
8221
8246
|
style: f,
|
|
8222
8247
|
dangerouslySetInnerHTML: a,
|
|
8223
|
-
...
|
|
8224
|
-
} = n, d =
|
|
8248
|
+
...u
|
|
8249
|
+
} = n, d = Nf(this.getStyle(), f), h = [...[
|
|
8225
8250
|
"fibo-row",
|
|
8226
8251
|
"flex",
|
|
8227
|
-
|
|
8228
|
-
|
|
8252
|
+
$f(d.flexDirection),
|
|
8253
|
+
Mf(d.flexWrap),
|
|
8229
8254
|
// min-w-0: flex item can shrink below content intrinsic width (grid/flex overflow)
|
|
8230
8255
|
this.isHug() ? "w-auto self-auto shrink-0" : "w-full min-w-0 self-stretch",
|
|
8231
8256
|
t[this._mainAxisAlignment],
|
|
8232
8257
|
i[this._crossAxisAlignment],
|
|
8233
8258
|
...this._classNames
|
|
8234
8259
|
], s].filter(Boolean).join(" ");
|
|
8235
|
-
return
|
|
8260
|
+
return l.createElement(
|
|
8236
8261
|
"div",
|
|
8237
8262
|
{
|
|
8238
8263
|
style: d,
|
|
8239
|
-
...
|
|
8264
|
+
...u,
|
|
8240
8265
|
className: h
|
|
8241
8266
|
},
|
|
8242
8267
|
...r
|
|
8243
8268
|
);
|
|
8244
8269
|
}
|
|
8245
8270
|
}
|
|
8246
|
-
const
|
|
8271
|
+
const Rc = mo(Lf);
|
|
8247
8272
|
function ni(e) {
|
|
8248
8273
|
return typeof e == "number" ? `${e}px` : e;
|
|
8249
8274
|
}
|
|
8250
|
-
function
|
|
8275
|
+
function Pf(e) {
|
|
8251
8276
|
return e && typeof e == "object" && !Array.isArray(e) ? e : {};
|
|
8252
8277
|
}
|
|
8253
|
-
class
|
|
8278
|
+
class Of extends go {
|
|
8254
8279
|
constructor() {
|
|
8255
8280
|
super(...arguments);
|
|
8256
8281
|
c(this, "_height");
|
|
@@ -8276,10 +8301,10 @@ class Lf extends go {
|
|
|
8276
8301
|
return this._grow = Number.isFinite(i) ? i : 1, this._expand = !0, this;
|
|
8277
8302
|
}
|
|
8278
8303
|
build() {
|
|
8279
|
-
const { className: t, style: i, ...r } = this._props, n = { ...this.getStyle(), ...
|
|
8304
|
+
const { className: t, style: i, ...r } = this._props, n = { ...this.getStyle(), ...Pf(i) }, s = this._height != null || this._width != null, f = this._expand ?? !s;
|
|
8280
8305
|
this._height != null && (n.height = ni(this._height)), this._width != null && (n.width = ni(this._width)), f ? (n.flex = `${this._grow ?? 1} 1 0%`, n.alignSelf = n.alignSelf ?? "stretch", n.minWidth = n.minWidth ?? 0, n.minHeight = n.minHeight ?? 0) : n.flex = "0 0 auto";
|
|
8281
8306
|
const a = ["fibo-spacer", this.getClassName(), t].filter(Boolean).join(" ");
|
|
8282
|
-
return
|
|
8307
|
+
return l.createElement("div", {
|
|
8283
8308
|
...r,
|
|
8284
8309
|
style: n,
|
|
8285
8310
|
className: a,
|
|
@@ -8287,8 +8312,8 @@ class Lf extends go {
|
|
|
8287
8312
|
});
|
|
8288
8313
|
}
|
|
8289
8314
|
}
|
|
8290
|
-
const
|
|
8291
|
-
function
|
|
8315
|
+
const Bc = mo(Of);
|
|
8316
|
+
function Wf(e, o) {
|
|
8292
8317
|
if (!(typeof o != "string" || !J(o)))
|
|
8293
8318
|
for (const t of _o(o))
|
|
8294
8319
|
e.bindSignal(t);
|
|
@@ -8302,23 +8327,23 @@ function Co(e, o) {
|
|
|
8302
8327
|
return;
|
|
8303
8328
|
}
|
|
8304
8329
|
if (typeof o == "string") {
|
|
8305
|
-
|
|
8330
|
+
Wf(e, o);
|
|
8306
8331
|
return;
|
|
8307
8332
|
}
|
|
8308
8333
|
if (Array.isArray(o))
|
|
8309
8334
|
for (const t of o) Co(e, t);
|
|
8310
8335
|
}
|
|
8311
|
-
function
|
|
8336
|
+
function Df(e) {
|
|
8312
8337
|
return typeof e == "string" && J(e) ? ho(e) : e;
|
|
8313
8338
|
}
|
|
8314
8339
|
function he(e) {
|
|
8315
8340
|
return e == null || e === !1 ? null : typeof e == "string" ? J(e) ? ho(e) : e : vo(e);
|
|
8316
8341
|
}
|
|
8317
|
-
function
|
|
8342
|
+
function jf(e, o) {
|
|
8318
8343
|
const t = o !== void 0 ? o : e;
|
|
8319
|
-
return (t == null ? [] : Array.isArray(t) ? t : [t]).map(
|
|
8344
|
+
return (t == null ? [] : Array.isArray(t) ? t : [t]).map(Df);
|
|
8320
8345
|
}
|
|
8321
|
-
const
|
|
8346
|
+
const Gf = l.memo((e) => {
|
|
8322
8347
|
const {
|
|
8323
8348
|
height: o = 64,
|
|
8324
8349
|
sticky: t,
|
|
@@ -8328,10 +8353,10 @@ const jf = u.memo((e) => {
|
|
|
8328
8353
|
leading: s,
|
|
8329
8354
|
trailing: f,
|
|
8330
8355
|
title: a,
|
|
8331
|
-
role:
|
|
8356
|
+
role: u,
|
|
8332
8357
|
...d
|
|
8333
8358
|
} = e, g = Array.isArray(n) ? n : n == null ? [] : [n], h = s == null || s === !1 ? null : s, w = f == null || f === !1 ? null : f, S = a == null || a === !1 ? null : a;
|
|
8334
|
-
return
|
|
8359
|
+
return l.createElement(
|
|
8335
8360
|
"header",
|
|
8336
8361
|
{
|
|
8337
8362
|
...d,
|
|
@@ -8341,20 +8366,20 @@ const jf = u.memo((e) => {
|
|
|
8341
8366
|
i || ""
|
|
8342
8367
|
].filter(Boolean).join(" "),
|
|
8343
8368
|
style: { height: o, minHeight: o, ...r },
|
|
8344
|
-
role:
|
|
8369
|
+
role: u ?? "banner"
|
|
8345
8370
|
},
|
|
8346
|
-
h != null ?
|
|
8371
|
+
h != null ? l.createElement(
|
|
8347
8372
|
"div",
|
|
8348
8373
|
{ key: "leading", className: "fibo-header-leading shrink-0 flex items-center" },
|
|
8349
8374
|
h
|
|
8350
8375
|
) : null,
|
|
8351
|
-
S != null ?
|
|
8376
|
+
S != null ? l.createElement(
|
|
8352
8377
|
"span",
|
|
8353
8378
|
{ key: "title", className: "fibo-header-title flex-1 min-w-0" },
|
|
8354
8379
|
S
|
|
8355
8380
|
) : null,
|
|
8356
8381
|
...g,
|
|
8357
|
-
w != null ?
|
|
8382
|
+
w != null ? l.createElement(
|
|
8358
8383
|
"div",
|
|
8359
8384
|
{ key: "trailing", className: "fibo-header-trailing shrink-0 flex items-center" },
|
|
8360
8385
|
w
|
|
@@ -8423,24 +8448,24 @@ const jf = u.memo((e) => {
|
|
|
8423
8448
|
trailing: s,
|
|
8424
8449
|
title: f,
|
|
8425
8450
|
...a
|
|
8426
|
-
} = this._props,
|
|
8427
|
-
return
|
|
8451
|
+
} = this._props, u = [this.getClassName(), t].filter(Boolean).join(" "), d = r ? { ...this.getStyle(), ...r } : this.getStyle();
|
|
8452
|
+
return l.createElement(Gf, {
|
|
8428
8453
|
...a,
|
|
8429
8454
|
height: this._height,
|
|
8430
8455
|
sticky: this._sticky,
|
|
8431
|
-
className:
|
|
8456
|
+
className: u,
|
|
8432
8457
|
style: d,
|
|
8433
8458
|
leading: he(this._leading ?? n),
|
|
8434
8459
|
trailing: he(this._trailing ?? s),
|
|
8435
8460
|
title: he(this._title ?? f),
|
|
8436
|
-
children:
|
|
8461
|
+
children: jf(this.processChildren(), i)
|
|
8437
8462
|
});
|
|
8438
8463
|
}
|
|
8439
8464
|
};
|
|
8440
8465
|
c(At, "unstickSeq", 0);
|
|
8441
8466
|
let Te = At;
|
|
8442
|
-
const
|
|
8443
|
-
function
|
|
8467
|
+
const Hf = mo(Te);
|
|
8468
|
+
function Xf(e, o) {
|
|
8444
8469
|
const {
|
|
8445
8470
|
theme: t,
|
|
8446
8471
|
locale: i,
|
|
@@ -8449,7 +8474,7 @@ function Gf(e, o) {
|
|
|
8449
8474
|
style: s,
|
|
8450
8475
|
children: f,
|
|
8451
8476
|
overlays: a = [],
|
|
8452
|
-
rootRef:
|
|
8477
|
+
rootRef: u,
|
|
8453
8478
|
extendBody: d,
|
|
8454
8479
|
extendBehindHeader: g,
|
|
8455
8480
|
avoidKeyboard: h,
|
|
@@ -8459,7 +8484,7 @@ function Gf(e, o) {
|
|
|
8459
8484
|
t && y.set("theme", t), i && y.set("locale", i), Object.entries(r).forEach(([I, $]) => {
|
|
8460
8485
|
y.set(I, $);
|
|
8461
8486
|
});
|
|
8462
|
-
const x = a.length > 0 ?
|
|
8487
|
+
const x = a.length > 0 ? l.createElement(
|
|
8463
8488
|
"div",
|
|
8464
8489
|
{
|
|
8465
8490
|
key: "fibo-overlays",
|
|
@@ -8472,10 +8497,10 @@ function Gf(e, o) {
|
|
|
8472
8497
|
}
|
|
8473
8498
|
},
|
|
8474
8499
|
a.map(
|
|
8475
|
-
(I, $) =>
|
|
8500
|
+
(I, $) => l.createElement(
|
|
8476
8501
|
"div",
|
|
8477
8502
|
{
|
|
8478
|
-
key:
|
|
8503
|
+
key: l.isValidElement(I) && I.key != null && I.key !== "" ? String(I.key) : `fibo-overlay-slot-${$}`,
|
|
8479
8504
|
style: { pointerEvents: "auto" }
|
|
8480
8505
|
},
|
|
8481
8506
|
I
|
|
@@ -8508,12 +8533,12 @@ function Gf(e, o) {
|
|
|
8508
8533
|
paddingBottom: "var(--fibo-safe-bottom)",
|
|
8509
8534
|
paddingLeft: "var(--fibo-safe-left)"
|
|
8510
8535
|
});
|
|
8511
|
-
const O =
|
|
8536
|
+
const O = l.createElement(
|
|
8512
8537
|
"div",
|
|
8513
8538
|
{
|
|
8514
8539
|
className: ["fibo-scaffold", n].filter(Boolean).join(" "),
|
|
8515
8540
|
style: v,
|
|
8516
|
-
ref:
|
|
8541
|
+
ref: u,
|
|
8517
8542
|
"data-extend-body": d ? "true" : void 0,
|
|
8518
8543
|
"data-extend-header": g ? "true" : void 0,
|
|
8519
8544
|
"data-keyboard": h === !1 ? void 0 : "on",
|
|
@@ -8522,15 +8547,15 @@ function Gf(e, o) {
|
|
|
8522
8547
|
},
|
|
8523
8548
|
x ? [f, x] : f
|
|
8524
8549
|
);
|
|
8525
|
-
return y.size > 0 ?
|
|
8550
|
+
return y.size > 0 ? l.createElement(zi, {
|
|
8526
8551
|
providers: y,
|
|
8527
8552
|
children: O
|
|
8528
8553
|
}) : O;
|
|
8529
8554
|
}
|
|
8530
|
-
function
|
|
8531
|
-
return
|
|
8555
|
+
function Vf(e) {
|
|
8556
|
+
return Xf(e, pn());
|
|
8532
8557
|
}
|
|
8533
|
-
function
|
|
8558
|
+
function Yf(e, o) {
|
|
8534
8559
|
if (!(typeof o != "string" || !J(o)))
|
|
8535
8560
|
for (const t of _o(o))
|
|
8536
8561
|
e.bindSignal(t);
|
|
@@ -8544,7 +8569,7 @@ function rt(e, o) {
|
|
|
8544
8569
|
return;
|
|
8545
8570
|
}
|
|
8546
8571
|
if (typeof o == "string") {
|
|
8547
|
-
|
|
8572
|
+
Yf(e, o);
|
|
8548
8573
|
return;
|
|
8549
8574
|
}
|
|
8550
8575
|
if (Array.isArray(o))
|
|
@@ -8554,7 +8579,7 @@ function Xo(e) {
|
|
|
8554
8579
|
return typeof e == "string" && J(e) ? ho(e) : e;
|
|
8555
8580
|
}
|
|
8556
8581
|
const ot = { flexShrink: 0 };
|
|
8557
|
-
class
|
|
8582
|
+
class Uf extends go {
|
|
8558
8583
|
constructor() {
|
|
8559
8584
|
super(...arguments);
|
|
8560
8585
|
c(this, "_locale");
|
|
@@ -8607,7 +8632,7 @@ class Vf extends go {
|
|
|
8607
8632
|
* set, this is a no-op (explicit chrome wins).
|
|
8608
8633
|
*/
|
|
8609
8634
|
navigationTitle(t) {
|
|
8610
|
-
return this._headerBar ? this : this.headerBar(
|
|
8635
|
+
return this._headerBar ? this : this.headerBar(Hf().title(t).sticky());
|
|
8611
8636
|
}
|
|
8612
8637
|
/**
|
|
8613
8638
|
* Flutter `Scaffold.bottomNavigationBar` — typically a {@link BottomAppBar}
|
|
@@ -8677,8 +8702,8 @@ class Vf extends go {
|
|
|
8677
8702
|
}
|
|
8678
8703
|
_normalizeBar(t) {
|
|
8679
8704
|
return this._isLayoutBarConfig(t) ? {
|
|
8680
|
-
content:
|
|
8681
|
-
|
|
8705
|
+
content: l.createElement(
|
|
8706
|
+
l.Fragment,
|
|
8682
8707
|
null,
|
|
8683
8708
|
...Ct(t.children).map(Xo)
|
|
8684
8709
|
),
|
|
@@ -8689,7 +8714,7 @@ class Vf extends go {
|
|
|
8689
8714
|
};
|
|
8690
8715
|
}
|
|
8691
8716
|
_isLayoutBarConfig(t) {
|
|
8692
|
-
return !t || typeof t != "object" ||
|
|
8717
|
+
return !t || typeof t != "object" || l.isValidElement(t) || "build" in t && typeof t.build == "function" ? !1 : "children" in t && !("type" in t);
|
|
8693
8718
|
}
|
|
8694
8719
|
build() {
|
|
8695
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;
|
|
@@ -8701,8 +8726,8 @@ class Vf extends go {
|
|
|
8701
8726
|
theme: s,
|
|
8702
8727
|
locale: f,
|
|
8703
8728
|
providers: a,
|
|
8704
|
-
...
|
|
8705
|
-
} = 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 =
|
|
8729
|
+
...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(
|
|
8706
8731
|
"div",
|
|
8707
8732
|
{
|
|
8708
8733
|
key: "scaffold-middle",
|
|
@@ -8717,7 +8742,7 @@ class Vf extends go {
|
|
|
8717
8742
|
}
|
|
8718
8743
|
},
|
|
8719
8744
|
[
|
|
8720
|
-
I && !M &&
|
|
8745
|
+
I && !M && l.createElement("div", {
|
|
8721
8746
|
key: "sidebar-left",
|
|
8722
8747
|
className: "z-20",
|
|
8723
8748
|
style: {
|
|
@@ -8733,7 +8758,7 @@ class Vf extends go {
|
|
|
8733
8758
|
...ot
|
|
8734
8759
|
}
|
|
8735
8760
|
}, S.content),
|
|
8736
|
-
|
|
8761
|
+
l.createElement("main", {
|
|
8737
8762
|
key: "scaffold-body",
|
|
8738
8763
|
className: "fibo-scaffold-body",
|
|
8739
8764
|
style: {
|
|
@@ -8747,7 +8772,7 @@ class Vf extends go {
|
|
|
8747
8772
|
minHeight: "0px"
|
|
8748
8773
|
}
|
|
8749
8774
|
}, g),
|
|
8750
|
-
$ && !W &&
|
|
8775
|
+
$ && !W && l.createElement("div", {
|
|
8751
8776
|
key: "sidebar-right",
|
|
8752
8777
|
className: "z-20",
|
|
8753
8778
|
style: {
|
|
@@ -8764,7 +8789,7 @@ class Vf extends go {
|
|
|
8764
8789
|
}
|
|
8765
8790
|
}, y.content)
|
|
8766
8791
|
].filter(Boolean)
|
|
8767
|
-
), H = T &&
|
|
8792
|
+
), H = T && l.createElement("div", {
|
|
8768
8793
|
key: "header-bar",
|
|
8769
8794
|
className: "z-30 fibo-scaffold-header",
|
|
8770
8795
|
style: {
|
|
@@ -8776,7 +8801,7 @@ class Vf extends go {
|
|
|
8776
8801
|
zIndex: 30,
|
|
8777
8802
|
...ot
|
|
8778
8803
|
}
|
|
8779
|
-
}, h.content), V = O &&
|
|
8804
|
+
}, h.content), V = O && l.createElement("div", {
|
|
8780
8805
|
key: "bottom-app-bar",
|
|
8781
8806
|
className: "z-30 fibo-scaffold-bottom-app-bar",
|
|
8782
8807
|
style: {
|
|
@@ -8785,7 +8810,7 @@ class Vf extends go {
|
|
|
8785
8810
|
zIndex: 30,
|
|
8786
8811
|
...ot
|
|
8787
8812
|
}
|
|
8788
|
-
}, w.content), K = this._fabAt === "startDock" || this._fabAt === "centerDock" || this._fabAt === "endDock", to = this._fab ?
|
|
8813
|
+
}, w.content), K = this._fabAt === "startDock" || this._fabAt === "centerDock" || this._fabAt === "endDock", to = this._fab ? l.createElement(
|
|
8789
8814
|
"div",
|
|
8790
8815
|
{
|
|
8791
8816
|
key: "scaffold-fab",
|
|
@@ -8793,7 +8818,7 @@ class Vf extends go {
|
|
|
8793
8818
|
"data-scaffold-fab": this._fabAt
|
|
8794
8819
|
},
|
|
8795
8820
|
Xo(vo(this._fab))
|
|
8796
|
-
) : null, po = this._bottomSheet ?
|
|
8821
|
+
) : null, po = this._bottomSheet ? l.createElement(
|
|
8797
8822
|
"div",
|
|
8798
8823
|
{
|
|
8799
8824
|
key: "scaffold-sheet",
|
|
@@ -8802,11 +8827,11 @@ class Vf extends go {
|
|
|
8802
8827
|
hidden: !0
|
|
8803
8828
|
},
|
|
8804
8829
|
Xo(vo(this._bottomSheet))
|
|
8805
|
-
) : null, no = this._footerButtons ?
|
|
8830
|
+
) : null, no = this._footerButtons ? l.createElement(
|
|
8806
8831
|
"div",
|
|
8807
8832
|
{ key: "footer-buttons", className: "fibo-scaffold-footer-buttons" },
|
|
8808
8833
|
...Ct(this._footerButtons).map(Xo)
|
|
8809
|
-
) : null, fo = (qo, $o) => $o ?
|
|
8834
|
+
) : null, fo = (qo, $o) => $o ? l.createElement(
|
|
8810
8835
|
"div",
|
|
8811
8836
|
{
|
|
8812
8837
|
key: `drawer-${qo}`,
|
|
@@ -8819,15 +8844,15 @@ class Vf extends go {
|
|
|
8819
8844
|
style: { width: this._drawerWidth }
|
|
8820
8845
|
},
|
|
8821
8846
|
Xo(vo($o))
|
|
8822
|
-
) : null, so = po || no || V || K && to ?
|
|
8847
|
+
) : null, so = po || no || V || K && to ? l.createElement(
|
|
8823
8848
|
"div",
|
|
8824
8849
|
{ key: "scaffold-bottom", className: "fibo-scaffold-bottom" },
|
|
8825
8850
|
[po, no, V, K ? to : null].filter(Boolean)
|
|
8826
|
-
) : null, oo =
|
|
8851
|
+
) : null, oo = l.createElement(l.Fragment, null, [
|
|
8827
8852
|
H,
|
|
8828
8853
|
k,
|
|
8829
8854
|
so,
|
|
8830
|
-
(this._drawer || this._endDrawer) &&
|
|
8855
|
+
(this._drawer || this._endDrawer) && l.createElement("div", {
|
|
8831
8856
|
key: "scaffold-scrim",
|
|
8832
8857
|
className: "fibo-scaffold-scrim",
|
|
8833
8858
|
"data-scaffold-scrim": "true",
|
|
@@ -8835,18 +8860,18 @@ class Vf extends go {
|
|
|
8835
8860
|
}),
|
|
8836
8861
|
fo("start", this._drawer),
|
|
8837
8862
|
fo("end", this._endDrawer),
|
|
8838
|
-
this._drawer &&
|
|
8863
|
+
this._drawer && l.createElement("div", {
|
|
8839
8864
|
key: "edge-start",
|
|
8840
8865
|
className: "fibo-scaffold-edge fibo-scaffold-edge-start",
|
|
8841
8866
|
"data-scaffold-edge": "start"
|
|
8842
8867
|
}),
|
|
8843
|
-
this._endDrawer &&
|
|
8868
|
+
this._endDrawer && l.createElement("div", {
|
|
8844
8869
|
key: "edge-end",
|
|
8845
8870
|
className: "fibo-scaffold-edge fibo-scaffold-edge-end",
|
|
8846
8871
|
"data-scaffold-edge": "end"
|
|
8847
8872
|
}),
|
|
8848
8873
|
K ? null : to,
|
|
8849
|
-
|
|
8874
|
+
l.createElement("div", {
|
|
8850
8875
|
key: "scaffold-snack",
|
|
8851
8876
|
className: "fibo-scaffold-snack",
|
|
8852
8877
|
"data-scaffold-snack": "true",
|
|
@@ -8854,7 +8879,7 @@ class Vf extends go {
|
|
|
8854
8879
|
"aria-live": "polite"
|
|
8855
8880
|
})
|
|
8856
8881
|
].filter(Boolean));
|
|
8857
|
-
let C =
|
|
8882
|
+
let C = l.createElement("div", {
|
|
8858
8883
|
key: "vertical-stack",
|
|
8859
8884
|
className: "fibo-scaffold-stack",
|
|
8860
8885
|
style: {
|
|
@@ -8867,11 +8892,11 @@ class Vf extends go {
|
|
|
8867
8892
|
position: "relative"
|
|
8868
8893
|
}
|
|
8869
8894
|
}, oo);
|
|
8870
|
-
M && (C =
|
|
8895
|
+
M && (C = l.createElement("div", {
|
|
8871
8896
|
key: "full-height-left-wrapper",
|
|
8872
8897
|
style: { display: "flex", flexDirection: "row", flex: 1, height: "100%", overflow: "hidden" }
|
|
8873
8898
|
}, [
|
|
8874
|
-
|
|
8899
|
+
l.createElement("div", {
|
|
8875
8900
|
key: "sidebar-left-full",
|
|
8876
8901
|
style: {
|
|
8877
8902
|
width: (Pt = x.sidebarLeft) == null ? void 0 : Pt.width,
|
|
@@ -8883,12 +8908,12 @@ class Vf extends go {
|
|
|
8883
8908
|
}
|
|
8884
8909
|
}, S.content),
|
|
8885
8910
|
C
|
|
8886
|
-
])), W && (C =
|
|
8911
|
+
])), W && (C = l.createElement("div", {
|
|
8887
8912
|
key: "full-height-right-wrapper",
|
|
8888
8913
|
style: { display: "flex", flexDirection: "row", flex: 1, height: "100%", overflow: "hidden" }
|
|
8889
8914
|
}, [
|
|
8890
8915
|
C,
|
|
8891
|
-
|
|
8916
|
+
l.createElement("div", {
|
|
8892
8917
|
key: "sidebar-right-full",
|
|
8893
8918
|
style: {
|
|
8894
8919
|
width: (Ot = x.sidebarRight) == null ? void 0 : Ot.width,
|
|
@@ -8900,10 +8925,10 @@ class Vf extends go {
|
|
|
8900
8925
|
}
|
|
8901
8926
|
}, y.content)
|
|
8902
8927
|
]));
|
|
8903
|
-
const yo =
|
|
8928
|
+
const yo = Do.getInstance().getOverlays().map((qo, $o) => {
|
|
8904
8929
|
const b = qo().build();
|
|
8905
|
-
return
|
|
8906
|
-
}),
|
|
8930
|
+
return l.isValidElement(b) && b.key != null && b.key !== "" ? b : l.createElement(l.Fragment, { key: `fibo-overlay-${$o}` }, b);
|
|
8931
|
+
}), jo = {
|
|
8907
8932
|
theme: this._theme,
|
|
8908
8933
|
locale: this._locale,
|
|
8909
8934
|
providers: this._customProviders,
|
|
@@ -8915,13 +8940,13 @@ class Vf extends go {
|
|
|
8915
8940
|
extendBehindHeader: this._extendBehindHeader,
|
|
8916
8941
|
avoidKeyboard: this._avoidKeyboard,
|
|
8917
8942
|
onDrawerChanged: this._onDrawer,
|
|
8918
|
-
...
|
|
8943
|
+
...u
|
|
8919
8944
|
};
|
|
8920
|
-
return
|
|
8945
|
+
return l.createElement(Vf, jo);
|
|
8921
8946
|
}
|
|
8922
8947
|
}
|
|
8923
|
-
const
|
|
8924
|
-
function
|
|
8948
|
+
const Ic = mo(Uf);
|
|
8949
|
+
function Kf(e, o) {
|
|
8925
8950
|
if (!(typeof o != "string" || !J(o)))
|
|
8926
8951
|
for (const t of _o(o))
|
|
8927
8952
|
e.bindSignal(t);
|
|
@@ -8935,7 +8960,7 @@ function ee(e, o) {
|
|
|
8935
8960
|
return;
|
|
8936
8961
|
}
|
|
8937
8962
|
if (typeof o == "string") {
|
|
8938
|
-
|
|
8963
|
+
Kf(e, o);
|
|
8939
8964
|
return;
|
|
8940
8965
|
}
|
|
8941
8966
|
if (Array.isArray(o))
|
|
@@ -8947,7 +8972,7 @@ function Yi(e) {
|
|
|
8947
8972
|
function Ui(e) {
|
|
8948
8973
|
return e == null ? [] : Array.isArray(e) ? e : [e];
|
|
8949
8974
|
}
|
|
8950
|
-
const
|
|
8975
|
+
const qf = /* @__PURE__ */ new Set([
|
|
8951
8976
|
"script",
|
|
8952
8977
|
"iframe",
|
|
8953
8978
|
"object",
|
|
@@ -8975,13 +9000,13 @@ const Uf = /* @__PURE__ */ new Set([
|
|
|
8975
9000
|
"source",
|
|
8976
9001
|
"track",
|
|
8977
9002
|
"wbr"
|
|
8978
|
-
]),
|
|
8979
|
-
function
|
|
9003
|
+
]), Zf = /^[a-z][a-z0-9]*$/;
|
|
9004
|
+
function Jf(e) {
|
|
8980
9005
|
if (typeof e != "string") return "div";
|
|
8981
9006
|
const o = e.trim().toLowerCase();
|
|
8982
|
-
return !
|
|
9007
|
+
return !Zf.test(o) || qf.has(o) ? "div" : o;
|
|
8983
9008
|
}
|
|
8984
|
-
function
|
|
9009
|
+
function Qf(e) {
|
|
8985
9010
|
const o = e, t = o.overflow;
|
|
8986
9011
|
if (t == null || t === "") return;
|
|
8987
9012
|
const i = String(t).trim().split(/\s+/).filter(Boolean);
|
|
@@ -9002,13 +9027,13 @@ function Ki(e) {
|
|
|
9002
9027
|
const [d, g, h, w] = ct(String(r));
|
|
9003
9028
|
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];
|
|
9004
9029
|
}
|
|
9005
|
-
return
|
|
9030
|
+
return Qf(o), o;
|
|
9006
9031
|
}
|
|
9007
|
-
function
|
|
9032
|
+
function oa(e, o) {
|
|
9008
9033
|
const t = o ? Po({ ...e, ...o }) : { ...e };
|
|
9009
9034
|
return Ki(t);
|
|
9010
9035
|
}
|
|
9011
|
-
const
|
|
9036
|
+
const ta = l.memo((e) => {
|
|
9012
9037
|
const {
|
|
9013
9038
|
className: o,
|
|
9014
9039
|
style: t,
|
|
@@ -9018,10 +9043,10 @@ const Qf = u.memo((e) => {
|
|
|
9018
9043
|
dangerouslySetInnerHTML: s,
|
|
9019
9044
|
onClick: f,
|
|
9020
9045
|
role: a,
|
|
9021
|
-
tabIndex:
|
|
9046
|
+
tabIndex: u,
|
|
9022
9047
|
...d
|
|
9023
|
-
} = e, g = Ui(i).map(Yi), h =
|
|
9024
|
-
return
|
|
9048
|
+
} = e, g = Ui(i).map(Yi), h = Jf(r ?? n), w = typeof f == "function";
|
|
9049
|
+
return l.createElement(
|
|
9025
9050
|
h,
|
|
9026
9051
|
{
|
|
9027
9052
|
style: Ki(t || {}),
|
|
@@ -9029,12 +9054,12 @@ const Qf = u.memo((e) => {
|
|
|
9029
9054
|
className: o,
|
|
9030
9055
|
onClick: f,
|
|
9031
9056
|
role: a ?? (w ? "button" : void 0),
|
|
9032
|
-
tabIndex:
|
|
9057
|
+
tabIndex: u ?? (w ? 0 : void 0)
|
|
9033
9058
|
},
|
|
9034
9059
|
...g
|
|
9035
9060
|
);
|
|
9036
9061
|
});
|
|
9037
|
-
class
|
|
9062
|
+
class ea extends go {
|
|
9038
9063
|
children(o) {
|
|
9039
9064
|
return ee(this, o), super.children(o);
|
|
9040
9065
|
}
|
|
@@ -9050,8 +9075,8 @@ class oa extends go {
|
|
|
9050
9075
|
tag: s,
|
|
9051
9076
|
dangerouslySetInnerHTML: f,
|
|
9052
9077
|
...a
|
|
9053
|
-
} = this._props,
|
|
9054
|
-
return
|
|
9078
|
+
} = this._props, u = this.processChildren(), g = Ui(r !== void 0 ? r : u).map(Yi), h = [...o, t].filter(Boolean).join(" "), w = oa(this.getStyle(), i);
|
|
9079
|
+
return l.createElement(ta, {
|
|
9055
9080
|
style: w,
|
|
9056
9081
|
children: g,
|
|
9057
9082
|
as: n,
|
|
@@ -9061,7 +9086,7 @@ class oa extends go {
|
|
|
9061
9086
|
});
|
|
9062
9087
|
}
|
|
9063
9088
|
}
|
|
9064
|
-
const
|
|
9089
|
+
const Fc = mo(ea);
|
|
9065
9090
|
function Lo(e, o) {
|
|
9066
9091
|
if (!(typeof o != "string" || !J(o)))
|
|
9067
9092
|
for (const t of _o(o))
|
|
@@ -9085,25 +9110,25 @@ function Wo(e, o) {
|
|
|
9085
9110
|
if (Array.isArray(o))
|
|
9086
9111
|
for (const t of o) Wo(e, t);
|
|
9087
9112
|
}
|
|
9088
|
-
function
|
|
9113
|
+
function ia(e) {
|
|
9089
9114
|
return typeof e == "string" && J(e) ? ho(e) : e;
|
|
9090
9115
|
}
|
|
9091
9116
|
function ie(e) {
|
|
9092
9117
|
return e == null || e === !1 ? null : typeof e == "string" ? Ut(e) ?? e : vo(e);
|
|
9093
9118
|
}
|
|
9094
|
-
const
|
|
9119
|
+
const ra = {
|
|
9095
9120
|
green: "var(--fibo-success, #22c55e)",
|
|
9096
9121
|
orange: "var(--fibo-warning, #f97316)",
|
|
9097
9122
|
red: "var(--fibo-error, #ef4444)",
|
|
9098
9123
|
blue: "var(--fibo-info, #3b82f6)",
|
|
9099
9124
|
purple: "var(--fibo-tertiary, #a855f7)"
|
|
9100
|
-
},
|
|
9101
|
-
function
|
|
9125
|
+
}, na = /* @__PURE__ */ new Set(["script", "iframe", "object", "embed", "link", "style"]);
|
|
9126
|
+
function sa(e) {
|
|
9102
9127
|
if (typeof e != "string") return "article";
|
|
9103
9128
|
const o = e.trim().toLowerCase();
|
|
9104
|
-
return !o || !/^[a-z][a-z0-9]*$/.test(o) ||
|
|
9129
|
+
return !o || !/^[a-z][a-z0-9]*$/.test(o) || na.has(o) ? "article" : o;
|
|
9105
9130
|
}
|
|
9106
|
-
const
|
|
9131
|
+
const fa = l.memo((e) => {
|
|
9107
9132
|
const {
|
|
9108
9133
|
text: o,
|
|
9109
9134
|
subtitle: t,
|
|
@@ -9113,7 +9138,7 @@ const na = u.memo((e) => {
|
|
|
9113
9138
|
style: s,
|
|
9114
9139
|
children: f,
|
|
9115
9140
|
header: a,
|
|
9116
|
-
footer:
|
|
9141
|
+
footer: u,
|
|
9117
9142
|
as: d,
|
|
9118
9143
|
...g
|
|
9119
9144
|
} = e;
|
|
@@ -9133,9 +9158,9 @@ const na = u.memo((e) => {
|
|
|
9133
9158
|
borderLeftColor: r
|
|
9134
9159
|
} : {},
|
|
9135
9160
|
...s
|
|
9136
|
-
}, T = ie(a), O = ie(
|
|
9137
|
-
return
|
|
9138
|
-
|
|
9161
|
+
}, T = ie(a), O = ie(u);
|
|
9162
|
+
return l.createElement(
|
|
9163
|
+
sa(d),
|
|
9139
9164
|
{
|
|
9140
9165
|
...g,
|
|
9141
9166
|
className: x,
|
|
@@ -9149,25 +9174,25 @@ const na = u.memo((e) => {
|
|
|
9149
9174
|
}
|
|
9150
9175
|
} : null
|
|
9151
9176
|
},
|
|
9152
|
-
T ?
|
|
9153
|
-
|
|
9177
|
+
T ? l.createElement("header", { className: "fibo-card-header" }, T) : null,
|
|
9178
|
+
l.createElement(
|
|
9154
9179
|
"div",
|
|
9155
9180
|
{ className: "flex flex-col gap-2" },
|
|
9156
|
-
o &&
|
|
9181
|
+
o && l.createElement(
|
|
9157
9182
|
"h3",
|
|
9158
9183
|
{
|
|
9159
9184
|
className: "font-semibold text-[var(--fibo-on-surface-variant)] text-sm uppercase tracking-wide"
|
|
9160
9185
|
},
|
|
9161
9186
|
o
|
|
9162
9187
|
),
|
|
9163
|
-
i &&
|
|
9188
|
+
i && l.createElement(
|
|
9164
9189
|
"p",
|
|
9165
9190
|
{
|
|
9166
9191
|
className: "font-bold text-[var(--fibo-on-surface)] text-3xl"
|
|
9167
9192
|
},
|
|
9168
9193
|
i
|
|
9169
9194
|
),
|
|
9170
|
-
t &&
|
|
9195
|
+
t && l.createElement(
|
|
9171
9196
|
"p",
|
|
9172
9197
|
{
|
|
9173
9198
|
className: "text-[var(--fibo-on-surface-variant)] text-xs"
|
|
@@ -9176,10 +9201,10 @@ const na = u.memo((e) => {
|
|
|
9176
9201
|
),
|
|
9177
9202
|
...h
|
|
9178
9203
|
),
|
|
9179
|
-
O ?
|
|
9204
|
+
O ? l.createElement("footer", { className: "fibo-card-footer" }, O) : null
|
|
9180
9205
|
);
|
|
9181
9206
|
});
|
|
9182
|
-
class
|
|
9207
|
+
class aa extends go {
|
|
9183
9208
|
constructor() {
|
|
9184
9209
|
super(...arguments);
|
|
9185
9210
|
c(this, "_text", "");
|
|
@@ -9222,14 +9247,14 @@ class sa extends go {
|
|
|
9222
9247
|
return this._color = t, this;
|
|
9223
9248
|
}
|
|
9224
9249
|
build() {
|
|
9225
|
-
const t = this._color ?
|
|
9250
|
+
const t = this._color ? ra[this._color] : void 0, {
|
|
9226
9251
|
className: i,
|
|
9227
9252
|
text: r,
|
|
9228
9253
|
title: n,
|
|
9229
9254
|
subtitle: s,
|
|
9230
9255
|
number: f,
|
|
9231
9256
|
header: a,
|
|
9232
|
-
footer:
|
|
9257
|
+
footer: u,
|
|
9233
9258
|
as: d,
|
|
9234
9259
|
...g
|
|
9235
9260
|
} = this._props, h = [...this._classNames, i].filter(Boolean).join(" "), w = {
|
|
@@ -9237,18 +9262,18 @@ class sa extends go {
|
|
|
9237
9262
|
subtitle: Ut(s ?? this._subtitle),
|
|
9238
9263
|
number: Ut(f ?? this._number),
|
|
9239
9264
|
header: ie(this._header ?? a),
|
|
9240
|
-
footer: ie(this._footer ??
|
|
9265
|
+
footer: ie(this._footer ?? u),
|
|
9241
9266
|
as: this._as ?? d,
|
|
9242
9267
|
accentColor: t,
|
|
9243
9268
|
style: this.getStyle(),
|
|
9244
|
-
children: this.processChildren().map(
|
|
9269
|
+
children: this.processChildren().map(ia),
|
|
9245
9270
|
...g,
|
|
9246
9271
|
className: h
|
|
9247
9272
|
};
|
|
9248
|
-
return
|
|
9273
|
+
return l.createElement(fa, w);
|
|
9249
9274
|
}
|
|
9250
9275
|
}
|
|
9251
|
-
const
|
|
9276
|
+
const Nc = mo(aa), ca = {
|
|
9252
9277
|
none: "0px",
|
|
9253
9278
|
sm: "8px",
|
|
9254
9279
|
md: "16px",
|
|
@@ -9258,20 +9283,20 @@ const Ic = mo(sa), fa = {
|
|
|
9258
9283
|
function Ee(e) {
|
|
9259
9284
|
return `repeat(${e}, minmax(0, 1fr))`;
|
|
9260
9285
|
}
|
|
9261
|
-
function
|
|
9286
|
+
function la(e) {
|
|
9262
9287
|
return `repeat(${e}, minmax(0, auto))`;
|
|
9263
9288
|
}
|
|
9264
|
-
function
|
|
9289
|
+
function ua(e, o) {
|
|
9265
9290
|
return o || Ee(typeof e == "number" ? e : 1);
|
|
9266
9291
|
}
|
|
9267
|
-
function
|
|
9292
|
+
function ba(e, o) {
|
|
9268
9293
|
if (o) return o;
|
|
9269
|
-
if (typeof e == "number") return
|
|
9294
|
+
if (typeof e == "number") return la(e);
|
|
9270
9295
|
}
|
|
9271
9296
|
function Tt(e) {
|
|
9272
|
-
return typeof e == "number" ? `${e}px` :
|
|
9297
|
+
return typeof e == "number" ? `${e}px` : ca[e] ?? (e || "16px");
|
|
9273
9298
|
}
|
|
9274
|
-
function
|
|
9299
|
+
function ha(e, o, t) {
|
|
9275
9300
|
return o == null && t == null ? { gap: e } : {
|
|
9276
9301
|
...o != null ? { rowGap: Tt(o) } : { rowGap: e },
|
|
9277
9302
|
...t != null ? { columnGap: Tt(t) } : { columnGap: e }
|
|
@@ -9291,12 +9316,12 @@ function de(e, o) {
|
|
|
9291
9316
|
}
|
|
9292
9317
|
return r;
|
|
9293
9318
|
}
|
|
9294
|
-
function
|
|
9295
|
-
if (!
|
|
9319
|
+
function da(e) {
|
|
9320
|
+
if (!l.isValidElement(e)) return !1;
|
|
9296
9321
|
const o = e.props;
|
|
9297
9322
|
return !!(o && typeof o == "object" && (o.colSpan || o.rowSpan || o.colStart != null || o.colEnd != null || o.rowStart != null || o.rowEnd != null || typeof o.className == "string" && /(col|row)-span/.test(o.className)));
|
|
9298
9323
|
}
|
|
9299
|
-
const
|
|
9324
|
+
const pa = l.memo((e) => {
|
|
9300
9325
|
const {
|
|
9301
9326
|
children: o,
|
|
9302
9327
|
variant: t = "standard",
|
|
@@ -9306,12 +9331,12 @@ const ha = u.memo((e) => {
|
|
|
9306
9331
|
templateColumns: s,
|
|
9307
9332
|
templateRows: f,
|
|
9308
9333
|
autoFlow: a,
|
|
9309
|
-
rowGap:
|
|
9334
|
+
rowGap: u,
|
|
9310
9335
|
columnGap: d,
|
|
9311
9336
|
className: g,
|
|
9312
9337
|
style: h,
|
|
9313
9338
|
...w
|
|
9314
|
-
} = e, S = qi(o), y = Tt(r), x =
|
|
9339
|
+
} = e, S = qi(o), y = Tt(r), x = ha(y, u, d), v = ua(i, s), T = ba(n, f);
|
|
9315
9340
|
if (t === "bento") {
|
|
9316
9341
|
const I = [
|
|
9317
9342
|
{ col: 2, row: 2 },
|
|
@@ -9327,33 +9352,33 @@ const ha = u.memo((e) => {
|
|
|
9327
9352
|
gridAutoFlow: a ?? "dense",
|
|
9328
9353
|
...h
|
|
9329
9354
|
};
|
|
9330
|
-
return
|
|
9355
|
+
return l.createElement("div", {
|
|
9331
9356
|
className: ["fibo-grid", "grid", ...de(i, "grid"), g].filter(Boolean).join(" "),
|
|
9332
9357
|
style: $,
|
|
9333
9358
|
...w
|
|
9334
|
-
},
|
|
9335
|
-
if (
|
|
9359
|
+
}, l.Children.map(S, (M, W) => {
|
|
9360
|
+
if (da(M))
|
|
9336
9361
|
return M;
|
|
9337
9362
|
const k = I[W % I.length];
|
|
9338
|
-
return
|
|
9363
|
+
return l.createElement("div", {
|
|
9339
9364
|
key: ve(M, W),
|
|
9340
9365
|
style: { gridColumn: `span ${k.col}`, gridRow: `span ${k.row}` }
|
|
9341
9366
|
}, M);
|
|
9342
9367
|
}));
|
|
9343
9368
|
}
|
|
9344
9369
|
if (t === "masonry") {
|
|
9345
|
-
const I = d != null ? Tt(d) : y, $ =
|
|
9370
|
+
const I = d != null ? Tt(d) : y, $ = u != null ? Tt(u) : y, M = {
|
|
9346
9371
|
columnCount: typeof i == "number" ? i : 1,
|
|
9347
9372
|
columnGap: I,
|
|
9348
9373
|
...h
|
|
9349
9374
|
};
|
|
9350
|
-
return
|
|
9375
|
+
return l.createElement("div", {
|
|
9351
9376
|
className: ["fibo-grid", ...de(i, "masonry"), g].filter(Boolean).join(" "),
|
|
9352
9377
|
style: M,
|
|
9353
9378
|
...w
|
|
9354
|
-
},
|
|
9379
|
+
}, l.Children.map(
|
|
9355
9380
|
S,
|
|
9356
|
-
(W, k) =>
|
|
9381
|
+
(W, k) => l.createElement("div", {
|
|
9357
9382
|
key: ve(W, k),
|
|
9358
9383
|
style: { breakInside: "avoid", marginBottom: $ }
|
|
9359
9384
|
}, W)
|
|
@@ -9367,12 +9392,12 @@ const ha = u.memo((e) => {
|
|
|
9367
9392
|
...x,
|
|
9368
9393
|
...h
|
|
9369
9394
|
};
|
|
9370
|
-
return
|
|
9395
|
+
return l.createElement("div", {
|
|
9371
9396
|
className: ["fibo-grid", "grid", ...de(i, "grid"), g].filter(Boolean).join(" "),
|
|
9372
9397
|
style: O,
|
|
9373
9398
|
...w
|
|
9374
9399
|
}, ...S);
|
|
9375
|
-
}),
|
|
9400
|
+
}), xa = l.memo((e) => {
|
|
9376
9401
|
const {
|
|
9377
9402
|
children: o,
|
|
9378
9403
|
colSpan: t,
|
|
@@ -9382,7 +9407,7 @@ const ha = u.memo((e) => {
|
|
|
9382
9407
|
rowStart: s,
|
|
9383
9408
|
rowEnd: f,
|
|
9384
9409
|
className: a,
|
|
9385
|
-
style:
|
|
9410
|
+
style: u,
|
|
9386
9411
|
...d
|
|
9387
9412
|
} = e, g = qi(o), h = [
|
|
9388
9413
|
t ? `col-span-${t}` : "",
|
|
@@ -9394,15 +9419,15 @@ const ha = u.memo((e) => {
|
|
|
9394
9419
|
...n != null ? { gridColumnEnd: n } : {},
|
|
9395
9420
|
...s != null ? { gridRowStart: s } : {},
|
|
9396
9421
|
...f != null ? { gridRowEnd: f } : {},
|
|
9397
|
-
...
|
|
9422
|
+
...u
|
|
9398
9423
|
};
|
|
9399
|
-
return
|
|
9424
|
+
return l.createElement("div", {
|
|
9400
9425
|
className: ["fibo-grid-item", h, a].filter(Boolean).join(" "),
|
|
9401
9426
|
style: w,
|
|
9402
9427
|
...d
|
|
9403
9428
|
}, ...g);
|
|
9404
9429
|
});
|
|
9405
|
-
class
|
|
9430
|
+
class ga extends go {
|
|
9406
9431
|
constructor() {
|
|
9407
9432
|
super(...arguments);
|
|
9408
9433
|
c(this, "_variant", "standard");
|
|
@@ -9462,10 +9487,10 @@ class pa extends go {
|
|
|
9462
9487
|
style: this.getStyle(),
|
|
9463
9488
|
...this._props
|
|
9464
9489
|
};
|
|
9465
|
-
return
|
|
9490
|
+
return l.createElement(pa, t);
|
|
9466
9491
|
}
|
|
9467
9492
|
}
|
|
9468
|
-
class
|
|
9493
|
+
class ma extends go {
|
|
9469
9494
|
constructor() {
|
|
9470
9495
|
super(...arguments);
|
|
9471
9496
|
c(this, "_colSpan");
|
|
@@ -9506,14 +9531,14 @@ class xa extends go {
|
|
|
9506
9531
|
style: this.getStyle(),
|
|
9507
9532
|
...this._props
|
|
9508
9533
|
};
|
|
9509
|
-
return
|
|
9534
|
+
return l.createElement(xa, t);
|
|
9510
9535
|
}
|
|
9511
9536
|
}
|
|
9512
|
-
const
|
|
9513
|
-
function
|
|
9537
|
+
const $c = mo(ga), Mc = mo(ma);
|
|
9538
|
+
function va(e) {
|
|
9514
9539
|
return e == null ? "" : String(e);
|
|
9515
9540
|
}
|
|
9516
|
-
function
|
|
9541
|
+
function wa({
|
|
9517
9542
|
compute: e,
|
|
9518
9543
|
as: o = "span",
|
|
9519
9544
|
className: t,
|
|
@@ -9521,10 +9546,10 @@ function ma({
|
|
|
9521
9546
|
children: r,
|
|
9522
9547
|
...n
|
|
9523
9548
|
}) {
|
|
9524
|
-
const { dangerouslySetInnerHTML: s, ref: f, ...a } = n,
|
|
9525
|
-
return
|
|
9549
|
+
const { dangerouslySetInnerHTML: s, ref: f, ...a } = n, u = typeof e == "function" ? va(e()) : r;
|
|
9550
|
+
return l.createElement(o, { className: t, style: i, ...a }, u);
|
|
9526
9551
|
}
|
|
9527
|
-
const
|
|
9552
|
+
const ya = /* @__PURE__ */ new Set([
|
|
9528
9553
|
"block",
|
|
9529
9554
|
"inline",
|
|
9530
9555
|
"inline-block",
|
|
@@ -9628,7 +9653,7 @@ function or(e, o) {
|
|
|
9628
9653
|
...o
|
|
9629
9654
|
};
|
|
9630
9655
|
}
|
|
9631
|
-
function
|
|
9656
|
+
function ka(e, o) {
|
|
9632
9657
|
if (!(typeof o != "string" || !J(o)))
|
|
9633
9658
|
for (const t of _o(o))
|
|
9634
9659
|
e.bindSignal(t);
|
|
@@ -9642,7 +9667,7 @@ function re(e, o) {
|
|
|
9642
9667
|
return;
|
|
9643
9668
|
}
|
|
9644
9669
|
if (typeof o == "string") {
|
|
9645
|
-
|
|
9670
|
+
ka(e, o);
|
|
9646
9671
|
return;
|
|
9647
9672
|
}
|
|
9648
9673
|
if (Array.isArray(o))
|
|
@@ -9657,8 +9682,8 @@ function tr(e) {
|
|
|
9657
9682
|
const { dangerouslySetInnerHTML: o, ...t } = e;
|
|
9658
9683
|
return t;
|
|
9659
9684
|
}
|
|
9660
|
-
function
|
|
9661
|
-
if (e == null || typeof e != "object" || Array.isArray(e) ||
|
|
9685
|
+
function _a(e) {
|
|
9686
|
+
if (e == null || typeof e != "object" || Array.isArray(e) || l.isValidElement(e)) return !1;
|
|
9662
9687
|
const o = e;
|
|
9663
9688
|
return "children" in o || "text" in o || "className" in o || "variant" in o || "type" in o;
|
|
9664
9689
|
}
|
|
@@ -9673,7 +9698,7 @@ function Et(e) {
|
|
|
9673
9698
|
} catch {
|
|
9674
9699
|
return null;
|
|
9675
9700
|
}
|
|
9676
|
-
if (
|
|
9701
|
+
if (l.isValidElement(e)) return e;
|
|
9677
9702
|
if (Array.isArray(e)) return e.map((o) => Et(o));
|
|
9678
9703
|
if (typeof e == "object" && e && "children" in e && !("$$typeof" in e))
|
|
9679
9704
|
return Et(e.children);
|
|
@@ -9683,24 +9708,24 @@ function Et(e) {
|
|
|
9683
9708
|
}
|
|
9684
9709
|
return null;
|
|
9685
9710
|
}
|
|
9686
|
-
function
|
|
9711
|
+
function Sa(e, o) {
|
|
9687
9712
|
const t = Et(e);
|
|
9688
9713
|
return t != null && t !== "" ? t : Et(o);
|
|
9689
9714
|
}
|
|
9690
|
-
const
|
|
9691
|
-
const { text: o, type: t, className: i, style: r, children: n, liveRef: s, ...f } = e, a = Qi(t),
|
|
9692
|
-
return
|
|
9693
|
-
|
|
9715
|
+
const Ca = l.memo((e) => {
|
|
9716
|
+
const { text: o, type: t, className: i, style: r, children: n, liveRef: s, ...f } = e, a = Qi(t), u = Ji[a] || "p";
|
|
9717
|
+
return l.createElement(
|
|
9718
|
+
u,
|
|
9694
9719
|
{
|
|
9695
9720
|
className: `fibo-text fibo-text-${a} min-w-0 ${i || ""}`,
|
|
9696
9721
|
style: or(a, r),
|
|
9697
9722
|
...tr(f),
|
|
9698
9723
|
...s ? { ref: s } : null
|
|
9699
9724
|
},
|
|
9700
|
-
|
|
9725
|
+
Sa(o, n)
|
|
9701
9726
|
);
|
|
9702
9727
|
});
|
|
9703
|
-
class
|
|
9728
|
+
class za extends go {
|
|
9704
9729
|
constructor(t = "") {
|
|
9705
9730
|
super();
|
|
9706
9731
|
c(this, "_text", "");
|
|
@@ -9735,19 +9760,19 @@ class Sa extends go {
|
|
|
9735
9760
|
return this._text = "", this._nodes = void 0, this;
|
|
9736
9761
|
if (typeof t == "number" || typeof t == "bigint")
|
|
9737
9762
|
return this._text = String(t), this._nodes = void 0, this;
|
|
9738
|
-
if (
|
|
9763
|
+
if (l.isValidElement(t) || Array.isArray(t))
|
|
9739
9764
|
return this._nodes = t, this._text = "", this;
|
|
9740
|
-
if (
|
|
9765
|
+
if (_a(t)) {
|
|
9741
9766
|
const i = t, {
|
|
9742
9767
|
children: r,
|
|
9743
9768
|
text: n,
|
|
9744
9769
|
variant: s,
|
|
9745
9770
|
type: f,
|
|
9746
9771
|
className: a,
|
|
9747
|
-
style:
|
|
9772
|
+
style: u,
|
|
9748
9773
|
...d
|
|
9749
9774
|
} = i;
|
|
9750
|
-
return Object.keys(d).length > 0 && this.props(d), typeof a == "string" && this.className(a),
|
|
9775
|
+
return Object.keys(d).length > 0 && this.props(d), typeof a == "string" && this.className(a), u && typeof u == "object" && this.style(u), typeof s == "string" && this.variant(s), typeof f == "string" && this.type(f), n != null ? this.text(n) : r != null ? this.text(r) : (this._text = "", this._nodes = void 0, this);
|
|
9751
9776
|
}
|
|
9752
9777
|
if (typeof t.toString == "function") {
|
|
9753
9778
|
const i = String(t);
|
|
@@ -9760,7 +9785,7 @@ class Sa extends go {
|
|
|
9760
9785
|
* CSS display (`block` / `flex` / …) sets `display` and leaves the tag alone.
|
|
9761
9786
|
*/
|
|
9762
9787
|
type(t) {
|
|
9763
|
-
return Ae(t) ? (this._type = t, this) : typeof t == "string" &&
|
|
9788
|
+
return Ae(t) ? (this._type = t, this) : typeof t == "string" && ya.has(t) ? (this.layoutStyle({ display: t }), this) : this;
|
|
9764
9789
|
}
|
|
9765
9790
|
variant(t) {
|
|
9766
9791
|
return Ae(t) && (this._type = t), this;
|
|
@@ -9828,7 +9853,7 @@ class Sa extends go {
|
|
|
9828
9853
|
className: s,
|
|
9829
9854
|
style: f,
|
|
9830
9855
|
as: a,
|
|
9831
|
-
compute:
|
|
9856
|
+
compute: u,
|
|
9832
9857
|
type: d,
|
|
9833
9858
|
text: g,
|
|
9834
9859
|
children: h,
|
|
@@ -9841,7 +9866,7 @@ class Sa extends go {
|
|
|
9841
9866
|
}, T = or(t, v), O = tr(S);
|
|
9842
9867
|
if (typeof this._text == "function") {
|
|
9843
9868
|
const $ = this._text;
|
|
9844
|
-
return
|
|
9869
|
+
return l.createElement(wa, {
|
|
9845
9870
|
...O,
|
|
9846
9871
|
...x.attrs,
|
|
9847
9872
|
compute: () => {
|
|
@@ -9872,39 +9897,39 @@ class Sa extends go {
|
|
|
9872
9897
|
$.node = M;
|
|
9873
9898
|
};
|
|
9874
9899
|
}
|
|
9875
|
-
return
|
|
9900
|
+
return l.createElement(Ca, I);
|
|
9876
9901
|
}
|
|
9877
9902
|
}
|
|
9878
|
-
const
|
|
9903
|
+
const Lc = mo(za), Ta = (e, o) => {
|
|
9879
9904
|
const t = new Array(e.length + o.length);
|
|
9880
9905
|
for (let i = 0; i < e.length; i++)
|
|
9881
9906
|
t[i] = e[i];
|
|
9882
9907
|
for (let i = 0; i < o.length; i++)
|
|
9883
9908
|
t[e.length + i] = o[i];
|
|
9884
9909
|
return t;
|
|
9885
|
-
},
|
|
9910
|
+
}, Ea = (e, o) => ({
|
|
9886
9911
|
classGroupId: e,
|
|
9887
9912
|
validator: o
|
|
9888
9913
|
}), er = (e = /* @__PURE__ */ new Map(), o = null, t) => ({
|
|
9889
9914
|
nextPart: e,
|
|
9890
9915
|
validators: o,
|
|
9891
9916
|
classGroupId: t
|
|
9892
|
-
}), ne = "-", si = [],
|
|
9893
|
-
const o =
|
|
9917
|
+
}), ne = "-", si = [], Aa = "arbitrary..", Ra = (e) => {
|
|
9918
|
+
const o = Ia(e), {
|
|
9894
9919
|
conflictingClassGroups: t,
|
|
9895
9920
|
conflictingClassGroupModifiers: i
|
|
9896
9921
|
} = e;
|
|
9897
9922
|
return {
|
|
9898
9923
|
getClassGroupId: (s) => {
|
|
9899
9924
|
if (s.startsWith("[") && s.endsWith("]"))
|
|
9900
|
-
return
|
|
9925
|
+
return Ba(s);
|
|
9901
9926
|
const f = s.split(ne), a = f[0] === "" && f.length > 1 ? 1 : 0;
|
|
9902
9927
|
return ir(f, a, o);
|
|
9903
9928
|
},
|
|
9904
9929
|
getConflictingClassGroupIds: (s, f) => {
|
|
9905
9930
|
if (f) {
|
|
9906
|
-
const a = i[s],
|
|
9907
|
-
return a ?
|
|
9931
|
+
const a = i[s], u = t[s];
|
|
9932
|
+
return a ? u ? Ta(u, a) : a : u || si;
|
|
9908
9933
|
}
|
|
9909
9934
|
return t[s] || si;
|
|
9910
9935
|
}
|
|
@@ -9914,28 +9939,28 @@ const $c = mo(Sa), Ca = (e, o) => {
|
|
|
9914
9939
|
return t.classGroupId;
|
|
9915
9940
|
const r = e[o], n = t.nextPart.get(r);
|
|
9916
9941
|
if (n) {
|
|
9917
|
-
const
|
|
9918
|
-
if (
|
|
9942
|
+
const u = ir(e, o + 1, n);
|
|
9943
|
+
if (u) return u;
|
|
9919
9944
|
}
|
|
9920
9945
|
const s = t.validators;
|
|
9921
9946
|
if (s === null)
|
|
9922
9947
|
return;
|
|
9923
9948
|
const f = o === 0 ? e.join(ne) : e.slice(o).join(ne), a = s.length;
|
|
9924
|
-
for (let
|
|
9925
|
-
const d = s[
|
|
9949
|
+
for (let u = 0; u < a; u++) {
|
|
9950
|
+
const d = s[u];
|
|
9926
9951
|
if (d.validator(f))
|
|
9927
9952
|
return d.classGroupId;
|
|
9928
9953
|
}
|
|
9929
|
-
},
|
|
9954
|
+
}, Ba = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
|
|
9930
9955
|
const o = e.slice(1, -1), t = o.indexOf(":"), i = o.slice(0, t);
|
|
9931
|
-
return i ?
|
|
9932
|
-
})(),
|
|
9956
|
+
return i ? Aa + i : void 0;
|
|
9957
|
+
})(), Ia = (e) => {
|
|
9933
9958
|
const {
|
|
9934
9959
|
theme: o,
|
|
9935
9960
|
classGroups: t
|
|
9936
9961
|
} = e;
|
|
9937
|
-
return
|
|
9938
|
-
},
|
|
9962
|
+
return Fa(t, o);
|
|
9963
|
+
}, Fa = (e, o) => {
|
|
9939
9964
|
const t = er();
|
|
9940
9965
|
for (const i in e) {
|
|
9941
9966
|
const r = e[i];
|
|
@@ -9946,28 +9971,28 @@ const $c = mo(Sa), Ca = (e, o) => {
|
|
|
9946
9971
|
const r = e.length;
|
|
9947
9972
|
for (let n = 0; n < r; n++) {
|
|
9948
9973
|
const s = e[n];
|
|
9949
|
-
|
|
9974
|
+
Na(s, o, t, i);
|
|
9950
9975
|
}
|
|
9951
|
-
},
|
|
9976
|
+
}, Na = (e, o, t, i) => {
|
|
9952
9977
|
if (typeof e == "string") {
|
|
9953
|
-
|
|
9978
|
+
$a(e, o, t);
|
|
9954
9979
|
return;
|
|
9955
9980
|
}
|
|
9956
9981
|
if (typeof e == "function") {
|
|
9957
|
-
|
|
9982
|
+
Ma(e, o, t, i);
|
|
9958
9983
|
return;
|
|
9959
9984
|
}
|
|
9960
|
-
|
|
9961
|
-
},
|
|
9985
|
+
La(e, o, t, i);
|
|
9986
|
+
}, $a = (e, o, t) => {
|
|
9962
9987
|
const i = e === "" ? o : rr(o, e);
|
|
9963
9988
|
i.classGroupId = t;
|
|
9964
|
-
},
|
|
9965
|
-
if (
|
|
9989
|
+
}, Ma = (e, o, t, i) => {
|
|
9990
|
+
if (Pa(e)) {
|
|
9966
9991
|
Oe(e(i), o, t, i);
|
|
9967
9992
|
return;
|
|
9968
9993
|
}
|
|
9969
|
-
o.validators === null && (o.validators = []), o.validators.push(
|
|
9970
|
-
},
|
|
9994
|
+
o.validators === null && (o.validators = []), o.validators.push(Ea(t, e));
|
|
9995
|
+
}, La = (e, o, t, i) => {
|
|
9971
9996
|
const r = Object.entries(e), n = r.length;
|
|
9972
9997
|
for (let s = 0; s < n; s++) {
|
|
9973
9998
|
const [f, a] = r[s];
|
|
@@ -9982,7 +10007,7 @@ const $c = mo(Sa), Ca = (e, o) => {
|
|
|
9982
10007
|
f || (f = er(), t.nextPart.set(s, f)), t = f;
|
|
9983
10008
|
}
|
|
9984
10009
|
return t;
|
|
9985
|
-
},
|
|
10010
|
+
}, Pa = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, Oa = (e) => {
|
|
9986
10011
|
if (e < 1)
|
|
9987
10012
|
return {
|
|
9988
10013
|
get: () => {
|
|
@@ -10006,20 +10031,20 @@ const $c = mo(Sa), Ca = (e, o) => {
|
|
|
10006
10031
|
n in t ? t[n] = s : r(n, s);
|
|
10007
10032
|
}
|
|
10008
10033
|
};
|
|
10009
|
-
}, Re = "!", fi = ":",
|
|
10034
|
+
}, Re = "!", fi = ":", Wa = [], ai = (e, o, t, i, r) => ({
|
|
10010
10035
|
modifiers: e,
|
|
10011
10036
|
hasImportantModifier: o,
|
|
10012
10037
|
baseClassName: t,
|
|
10013
10038
|
maybePostfixModifierPosition: i,
|
|
10014
10039
|
isExternal: r
|
|
10015
|
-
}),
|
|
10040
|
+
}), Da = (e) => {
|
|
10016
10041
|
const {
|
|
10017
10042
|
prefix: o,
|
|
10018
10043
|
experimentalParseClassName: t
|
|
10019
10044
|
} = e;
|
|
10020
10045
|
let i = (r) => {
|
|
10021
10046
|
const n = [];
|
|
10022
|
-
let s = 0, f = 0, a = 0,
|
|
10047
|
+
let s = 0, f = 0, a = 0, u;
|
|
10023
10048
|
const d = r.length;
|
|
10024
10049
|
for (let y = 0; y < d; y++) {
|
|
10025
10050
|
const x = r[y];
|
|
@@ -10029,7 +10054,7 @@ const $c = mo(Sa), Ca = (e, o) => {
|
|
|
10029
10054
|
continue;
|
|
10030
10055
|
}
|
|
10031
10056
|
if (x === "/") {
|
|
10032
|
-
|
|
10057
|
+
u = y;
|
|
10033
10058
|
continue;
|
|
10034
10059
|
}
|
|
10035
10060
|
}
|
|
@@ -10044,12 +10069,12 @@ const $c = mo(Sa), Ca = (e, o) => {
|
|
|
10044
10069
|
*/
|
|
10045
10070
|
g.startsWith(Re) && (h = g.slice(1), w = !0)
|
|
10046
10071
|
);
|
|
10047
|
-
const S =
|
|
10072
|
+
const S = u && u > a ? u - a : void 0;
|
|
10048
10073
|
return ai(n, w, h, S);
|
|
10049
10074
|
};
|
|
10050
10075
|
if (o) {
|
|
10051
10076
|
const r = o + fi, n = i;
|
|
10052
|
-
i = (s) => s.startsWith(r) ? n(s.slice(r.length)) : ai(
|
|
10077
|
+
i = (s) => s.startsWith(r) ? n(s.slice(r.length)) : ai(Wa, !1, s, void 0, !0);
|
|
10053
10078
|
}
|
|
10054
10079
|
if (t) {
|
|
10055
10080
|
const r = i;
|
|
@@ -10059,7 +10084,7 @@ const $c = mo(Sa), Ca = (e, o) => {
|
|
|
10059
10084
|
});
|
|
10060
10085
|
}
|
|
10061
10086
|
return i;
|
|
10062
|
-
},
|
|
10087
|
+
}, ja = (e) => {
|
|
10063
10088
|
const o = /* @__PURE__ */ new Map();
|
|
10064
10089
|
return e.orderSensitiveModifiers.forEach((t, i) => {
|
|
10065
10090
|
o.set(t, 1e6 + i);
|
|
@@ -10072,21 +10097,21 @@ const $c = mo(Sa), Ca = (e, o) => {
|
|
|
10072
10097
|
}
|
|
10073
10098
|
return r.length > 0 && (r.sort(), i.push(...r)), i;
|
|
10074
10099
|
};
|
|
10075
|
-
},
|
|
10076
|
-
cache:
|
|
10077
|
-
parseClassName:
|
|
10078
|
-
sortModifiers:
|
|
10079
|
-
...
|
|
10080
|
-
}),
|
|
10100
|
+
}, Ga = (e) => ({
|
|
10101
|
+
cache: Oa(e.cacheSize),
|
|
10102
|
+
parseClassName: Da(e),
|
|
10103
|
+
sortModifiers: ja(e),
|
|
10104
|
+
...Ra(e)
|
|
10105
|
+
}), Ha = /\s+/, Xa = (e, o) => {
|
|
10081
10106
|
const {
|
|
10082
10107
|
parseClassName: t,
|
|
10083
10108
|
getClassGroupId: i,
|
|
10084
10109
|
getConflictingClassGroupIds: r,
|
|
10085
10110
|
sortModifiers: n
|
|
10086
|
-
} = o, s = [], f = e.trim().split(
|
|
10111
|
+
} = o, s = [], f = e.trim().split(Ha);
|
|
10087
10112
|
let a = "";
|
|
10088
|
-
for (let
|
|
10089
|
-
const d = f[
|
|
10113
|
+
for (let u = f.length - 1; u >= 0; u -= 1) {
|
|
10114
|
+
const d = f[u], {
|
|
10090
10115
|
isExternal: g,
|
|
10091
10116
|
modifiers: h,
|
|
10092
10117
|
hasImportantModifier: w,
|
|
@@ -10121,7 +10146,7 @@ const $c = mo(Sa), Ca = (e, o) => {
|
|
|
10121
10146
|
a = d + (a.length > 0 ? " " + a : a);
|
|
10122
10147
|
}
|
|
10123
10148
|
return a;
|
|
10124
|
-
},
|
|
10149
|
+
}, Va = (...e) => {
|
|
10125
10150
|
let o = 0, t, i, r = "";
|
|
10126
10151
|
for (; o < e.length; )
|
|
10127
10152
|
(t = e[o++]) && (i = nr(t)) && (r && (r += " "), r += i);
|
|
@@ -10136,32 +10161,32 @@ const $c = mo(Sa), Ca = (e, o) => {
|
|
|
10136
10161
|
}, ci = (e, ...o) => {
|
|
10137
10162
|
let t, i, r, n;
|
|
10138
10163
|
const s = (a) => {
|
|
10139
|
-
const
|
|
10140
|
-
return t =
|
|
10164
|
+
const u = o.reduce((d, g) => g(d), e());
|
|
10165
|
+
return t = Ga(u), i = t.cache.get, r = t.cache.set, n = f, f(a);
|
|
10141
10166
|
}, f = (a) => {
|
|
10142
|
-
const
|
|
10143
|
-
if (
|
|
10144
|
-
return
|
|
10145
|
-
const d =
|
|
10167
|
+
const u = i(a);
|
|
10168
|
+
if (u)
|
|
10169
|
+
return u;
|
|
10170
|
+
const d = Xa(a, t);
|
|
10146
10171
|
return r(a, d), d;
|
|
10147
10172
|
};
|
|
10148
|
-
return n = s, (...a) => n(
|
|
10149
|
-
},
|
|
10150
|
-
const o = (t) => t[e] ||
|
|
10173
|
+
return n = s, (...a) => n(Va(...a));
|
|
10174
|
+
}, Ya = [], co = (e) => {
|
|
10175
|
+
const o = (t) => t[e] || Ya;
|
|
10151
10176
|
return o.isThemeGetter = !0, o;
|
|
10152
|
-
}, sr = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, fr = /^\((?:(\w[\w-]*):)?(.+)\)$/i,
|
|
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) => (
|
|
10153
10178
|
// `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
|
|
10154
10179
|
// For example, `hsl(0 0% 0%)` would be classified as a length without this check.
|
|
10155
10180
|
// I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
|
|
10156
|
-
|
|
10157
|
-
), ar = () => !1,
|
|
10181
|
+
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) => {
|
|
10158
10183
|
const i = sr.exec(e);
|
|
10159
10184
|
return i ? i[1] ? o(i[1]) : t(i[2]) : !1;
|
|
10160
10185
|
}, ut = (e, o, t = !1) => {
|
|
10161
10186
|
const i = fr.exec(e);
|
|
10162
10187
|
return i ? i[1] ? o(i[1]) : t : !1;
|
|
10163
|
-
}, 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",
|
|
10164
|
-
const e = co("color"), o = co("font"), t = co("text"), i = co("font-weight"), r = co("tracking"), n = co("leading"), s = co("breakpoint"), f = co("container"), a = co("spacing"),
|
|
10188
|
+
}, 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 = () => {
|
|
10189
|
+
const e = co("color"), o = co("font"), t = co("text"), i = co("font-weight"), r = co("tracking"), n = co("leading"), s = co("breakpoint"), f = co("container"), a = co("spacing"), u = co("radius"), d = co("shadow"), g = co("inset-shadow"), h = co("text-shadow"), w = co("drop-shadow"), S = co("blur"), y = co("perspective"), x = co("aspect"), v = co("ease"), T = co("animate"), O = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], I = () => [
|
|
10165
10190
|
"center",
|
|
10166
10191
|
"top",
|
|
10167
10192
|
"bottom",
|
|
@@ -10185,24 +10210,24 @@ const $c = mo(Sa), Ca = (e, o) => {
|
|
|
10185
10210
|
position: [R, A]
|
|
10186
10211
|
}], yo = () => ["no-repeat", {
|
|
10187
10212
|
repeat: ["", "x", "y", "space", "round"]
|
|
10188
|
-
}],
|
|
10213
|
+
}], jo = () => ["auto", "cover", "contain", ac, nc, {
|
|
10189
10214
|
size: [R, A]
|
|
10190
10215
|
}], N = () => [xe, yt, Vo], q = () => [
|
|
10191
10216
|
// Deprecated since Tailwind CSS v4.0.0
|
|
10192
10217
|
"",
|
|
10193
10218
|
"none",
|
|
10194
10219
|
"full",
|
|
10195
|
-
|
|
10220
|
+
u,
|
|
10196
10221
|
R,
|
|
10197
10222
|
A
|
|
10198
|
-
], lo = () => ["",
|
|
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 = () => [
|
|
10199
10224
|
// Deprecated since Tailwind CSS v4.0.0
|
|
10200
10225
|
"",
|
|
10201
10226
|
"none",
|
|
10202
10227
|
S,
|
|
10203
10228
|
R,
|
|
10204
10229
|
A
|
|
10205
|
-
], To = () => ["none",
|
|
10230
|
+
], To = () => ["none", D, R, A], uo = () => ["none", D, R, A], Eo = () => [D, R, A], wo = () => [tt, "full", ...k()];
|
|
10206
10231
|
return {
|
|
10207
10232
|
cacheSize: 500,
|
|
10208
10233
|
theme: {
|
|
@@ -10210,18 +10235,18 @@ const $c = mo(Sa), Ca = (e, o) => {
|
|
|
10210
10235
|
aspect: ["video"],
|
|
10211
10236
|
blur: [Ao],
|
|
10212
10237
|
breakpoint: [Ao],
|
|
10213
|
-
color: [
|
|
10238
|
+
color: [oc],
|
|
10214
10239
|
container: [Ao],
|
|
10215
10240
|
"drop-shadow": [Ao],
|
|
10216
10241
|
ease: ["in", "out", "in-out"],
|
|
10217
|
-
font: [
|
|
10242
|
+
font: [rc],
|
|
10218
10243
|
"font-weight": ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black"],
|
|
10219
10244
|
"inset-shadow": [Ao],
|
|
10220
10245
|
leading: ["none", "tight", "snug", "normal", "relaxed", "loose"],
|
|
10221
10246
|
perspective: ["dramatic", "near", "normal", "midrange", "distant", "none"],
|
|
10222
10247
|
radius: [Ao],
|
|
10223
10248
|
shadow: [Ao],
|
|
10224
|
-
spacing: ["px",
|
|
10249
|
+
spacing: ["px", D],
|
|
10225
10250
|
text: [Ao],
|
|
10226
10251
|
"text-shadow": [Ao],
|
|
10227
10252
|
tracking: ["tighter", "tight", "normal", "wide", "wider", "widest"]
|
|
@@ -10248,7 +10273,7 @@ const $c = mo(Sa), Ca = (e, o) => {
|
|
|
10248
10273
|
* @see https://tailwindcss.com/docs/columns
|
|
10249
10274
|
*/
|
|
10250
10275
|
columns: [{
|
|
10251
|
-
columns: [
|
|
10276
|
+
columns: [D, A, R, f]
|
|
10252
10277
|
}],
|
|
10253
10278
|
/**
|
|
10254
10279
|
* Break After
|
|
@@ -10479,21 +10504,21 @@ const $c = mo(Sa), Ca = (e, o) => {
|
|
|
10479
10504
|
* @see https://tailwindcss.com/docs/flex
|
|
10480
10505
|
*/
|
|
10481
10506
|
flex: [{
|
|
10482
|
-
flex: [
|
|
10507
|
+
flex: [D, tt, "auto", "initial", "none", A]
|
|
10483
10508
|
}],
|
|
10484
10509
|
/**
|
|
10485
10510
|
* Flex Grow
|
|
10486
10511
|
* @see https://tailwindcss.com/docs/flex-grow
|
|
10487
10512
|
*/
|
|
10488
10513
|
grow: [{
|
|
10489
|
-
grow: ["",
|
|
10514
|
+
grow: ["", D, R, A]
|
|
10490
10515
|
}],
|
|
10491
10516
|
/**
|
|
10492
10517
|
* Flex Shrink
|
|
10493
10518
|
* @see https://tailwindcss.com/docs/flex-shrink
|
|
10494
10519
|
*/
|
|
10495
10520
|
shrink: [{
|
|
10496
|
-
shrink: ["",
|
|
10521
|
+
shrink: ["", D, R, A]
|
|
10497
10522
|
}],
|
|
10498
10523
|
/**
|
|
10499
10524
|
* Order
|
|
@@ -10926,7 +10951,7 @@ const $c = mo(Sa), Ca = (e, o) => {
|
|
|
10926
10951
|
* @see https://tailwindcss.com/docs/font-family
|
|
10927
10952
|
*/
|
|
10928
10953
|
"font-family": [{
|
|
10929
|
-
font: [
|
|
10954
|
+
font: [fc, A, o]
|
|
10930
10955
|
}],
|
|
10931
10956
|
/**
|
|
10932
10957
|
* Font Variant Numeric
|
|
@@ -10970,7 +10995,7 @@ const $c = mo(Sa), Ca = (e, o) => {
|
|
|
10970
10995
|
* @see https://tailwindcss.com/docs/line-clamp
|
|
10971
10996
|
*/
|
|
10972
10997
|
"line-clamp": [{
|
|
10973
|
-
"line-clamp": [
|
|
10998
|
+
"line-clamp": [D, "none", R, ge]
|
|
10974
10999
|
}],
|
|
10975
11000
|
/**
|
|
10976
11001
|
* Line Height
|
|
@@ -11043,7 +11068,7 @@ const $c = mo(Sa), Ca = (e, o) => {
|
|
|
11043
11068
|
* @see https://tailwindcss.com/docs/text-decoration-thickness
|
|
11044
11069
|
*/
|
|
11045
11070
|
"text-decoration-thickness": [{
|
|
11046
|
-
decoration: [
|
|
11071
|
+
decoration: [D, "from-font", "auto", R, Vo]
|
|
11047
11072
|
}],
|
|
11048
11073
|
/**
|
|
11049
11074
|
* Text Decoration Color
|
|
@@ -11057,7 +11082,7 @@ const $c = mo(Sa), Ca = (e, o) => {
|
|
|
11057
11082
|
* @see https://tailwindcss.com/docs/text-underline-offset
|
|
11058
11083
|
*/
|
|
11059
11084
|
"underline-offset": [{
|
|
11060
|
-
"underline-offset": [
|
|
11085
|
+
"underline-offset": [D, "auto", R, A]
|
|
11061
11086
|
}],
|
|
11062
11087
|
/**
|
|
11063
11088
|
* Text Transform
|
|
@@ -11168,7 +11193,7 @@ const $c = mo(Sa), Ca = (e, o) => {
|
|
|
11168
11193
|
* @see https://tailwindcss.com/docs/background-size
|
|
11169
11194
|
*/
|
|
11170
11195
|
"bg-size": [{
|
|
11171
|
-
bg:
|
|
11196
|
+
bg: jo()
|
|
11172
11197
|
}],
|
|
11173
11198
|
/**
|
|
11174
11199
|
* Background Image
|
|
@@ -11181,7 +11206,7 @@ const $c = mo(Sa), Ca = (e, o) => {
|
|
|
11181
11206
|
}, Mo, R, A],
|
|
11182
11207
|
radial: ["", R, A],
|
|
11183
11208
|
conic: [Mo, R, A]
|
|
11184
|
-
},
|
|
11209
|
+
}, cc, sc]
|
|
11185
11210
|
}],
|
|
11186
11211
|
/**
|
|
11187
11212
|
* Background Color
|
|
@@ -11523,14 +11548,14 @@ const $c = mo(Sa), Ca = (e, o) => {
|
|
|
11523
11548
|
* @see https://tailwindcss.com/docs/outline-offset
|
|
11524
11549
|
*/
|
|
11525
11550
|
"outline-offset": [{
|
|
11526
|
-
"outline-offset": [
|
|
11551
|
+
"outline-offset": [D, R, A]
|
|
11527
11552
|
}],
|
|
11528
11553
|
/**
|
|
11529
11554
|
* Outline Width
|
|
11530
11555
|
* @see https://tailwindcss.com/docs/outline-width
|
|
11531
11556
|
*/
|
|
11532
11557
|
"outline-w": [{
|
|
11533
|
-
outline: ["",
|
|
11558
|
+
outline: ["", D, yt, Vo]
|
|
11534
11559
|
}],
|
|
11535
11560
|
/**
|
|
11536
11561
|
* Outline Color
|
|
@@ -11605,7 +11630,7 @@ const $c = mo(Sa), Ca = (e, o) => {
|
|
|
11605
11630
|
* @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
|
|
11606
11631
|
*/
|
|
11607
11632
|
"ring-offset-w": [{
|
|
11608
|
-
"ring-offset": [
|
|
11633
|
+
"ring-offset": [D, Vo]
|
|
11609
11634
|
}],
|
|
11610
11635
|
/**
|
|
11611
11636
|
* Ring Offset Color
|
|
@@ -11649,7 +11674,7 @@ const $c = mo(Sa), Ca = (e, o) => {
|
|
|
11649
11674
|
* @see https://tailwindcss.com/docs/opacity
|
|
11650
11675
|
*/
|
|
11651
11676
|
opacity: [{
|
|
11652
|
-
opacity: [
|
|
11677
|
+
opacity: [D, R, A]
|
|
11653
11678
|
}],
|
|
11654
11679
|
/**
|
|
11655
11680
|
* Mix Blend Mode
|
|
@@ -11684,7 +11709,7 @@ const $c = mo(Sa), Ca = (e, o) => {
|
|
|
11684
11709
|
* @see https://tailwindcss.com/docs/mask-image
|
|
11685
11710
|
*/
|
|
11686
11711
|
"mask-image-linear-pos": [{
|
|
11687
|
-
"mask-linear": [
|
|
11712
|
+
"mask-linear": [D]
|
|
11688
11713
|
}],
|
|
11689
11714
|
"mask-image-linear-from-pos": [{
|
|
11690
11715
|
"mask-linear-from": Q()
|
|
@@ -11798,7 +11823,7 @@ const $c = mo(Sa), Ca = (e, o) => {
|
|
|
11798
11823
|
"mask-radial-at": I()
|
|
11799
11824
|
}],
|
|
11800
11825
|
"mask-image-conic-pos": [{
|
|
11801
|
-
"mask-conic": [
|
|
11826
|
+
"mask-conic": [D]
|
|
11802
11827
|
}],
|
|
11803
11828
|
"mask-image-conic-from-pos": [{
|
|
11804
11829
|
"mask-conic-from": Q()
|
|
@@ -11845,7 +11870,7 @@ const $c = mo(Sa), Ca = (e, o) => {
|
|
|
11845
11870
|
* @see https://tailwindcss.com/docs/mask-size
|
|
11846
11871
|
*/
|
|
11847
11872
|
"mask-size": [{
|
|
11848
|
-
mask:
|
|
11873
|
+
mask: jo()
|
|
11849
11874
|
}],
|
|
11850
11875
|
/**
|
|
11851
11876
|
* Mask Type
|
|
@@ -11889,14 +11914,14 @@ const $c = mo(Sa), Ca = (e, o) => {
|
|
|
11889
11914
|
* @see https://tailwindcss.com/docs/brightness
|
|
11890
11915
|
*/
|
|
11891
11916
|
brightness: [{
|
|
11892
|
-
brightness: [
|
|
11917
|
+
brightness: [D, R, A]
|
|
11893
11918
|
}],
|
|
11894
11919
|
/**
|
|
11895
11920
|
* Contrast
|
|
11896
11921
|
* @see https://tailwindcss.com/docs/contrast
|
|
11897
11922
|
*/
|
|
11898
11923
|
contrast: [{
|
|
11899
|
-
contrast: [
|
|
11924
|
+
contrast: [D, R, A]
|
|
11900
11925
|
}],
|
|
11901
11926
|
/**
|
|
11902
11927
|
* Drop Shadow
|
|
@@ -11924,35 +11949,35 @@ const $c = mo(Sa), Ca = (e, o) => {
|
|
|
11924
11949
|
* @see https://tailwindcss.com/docs/grayscale
|
|
11925
11950
|
*/
|
|
11926
11951
|
grayscale: [{
|
|
11927
|
-
grayscale: ["",
|
|
11952
|
+
grayscale: ["", D, R, A]
|
|
11928
11953
|
}],
|
|
11929
11954
|
/**
|
|
11930
11955
|
* Hue Rotate
|
|
11931
11956
|
* @see https://tailwindcss.com/docs/hue-rotate
|
|
11932
11957
|
*/
|
|
11933
11958
|
"hue-rotate": [{
|
|
11934
|
-
"hue-rotate": [
|
|
11959
|
+
"hue-rotate": [D, R, A]
|
|
11935
11960
|
}],
|
|
11936
11961
|
/**
|
|
11937
11962
|
* Invert
|
|
11938
11963
|
* @see https://tailwindcss.com/docs/invert
|
|
11939
11964
|
*/
|
|
11940
11965
|
invert: [{
|
|
11941
|
-
invert: ["",
|
|
11966
|
+
invert: ["", D, R, A]
|
|
11942
11967
|
}],
|
|
11943
11968
|
/**
|
|
11944
11969
|
* Saturate
|
|
11945
11970
|
* @see https://tailwindcss.com/docs/saturate
|
|
11946
11971
|
*/
|
|
11947
11972
|
saturate: [{
|
|
11948
|
-
saturate: [
|
|
11973
|
+
saturate: [D, R, A]
|
|
11949
11974
|
}],
|
|
11950
11975
|
/**
|
|
11951
11976
|
* Sepia
|
|
11952
11977
|
* @see https://tailwindcss.com/docs/sepia
|
|
11953
11978
|
*/
|
|
11954
11979
|
sepia: [{
|
|
11955
|
-
sepia: ["",
|
|
11980
|
+
sepia: ["", D, R, A]
|
|
11956
11981
|
}],
|
|
11957
11982
|
/**
|
|
11958
11983
|
* Backdrop Filter
|
|
@@ -11979,56 +12004,56 @@ const $c = mo(Sa), Ca = (e, o) => {
|
|
|
11979
12004
|
* @see https://tailwindcss.com/docs/backdrop-brightness
|
|
11980
12005
|
*/
|
|
11981
12006
|
"backdrop-brightness": [{
|
|
11982
|
-
"backdrop-brightness": [
|
|
12007
|
+
"backdrop-brightness": [D, R, A]
|
|
11983
12008
|
}],
|
|
11984
12009
|
/**
|
|
11985
12010
|
* Backdrop Contrast
|
|
11986
12011
|
* @see https://tailwindcss.com/docs/backdrop-contrast
|
|
11987
12012
|
*/
|
|
11988
12013
|
"backdrop-contrast": [{
|
|
11989
|
-
"backdrop-contrast": [
|
|
12014
|
+
"backdrop-contrast": [D, R, A]
|
|
11990
12015
|
}],
|
|
11991
12016
|
/**
|
|
11992
12017
|
* Backdrop Grayscale
|
|
11993
12018
|
* @see https://tailwindcss.com/docs/backdrop-grayscale
|
|
11994
12019
|
*/
|
|
11995
12020
|
"backdrop-grayscale": [{
|
|
11996
|
-
"backdrop-grayscale": ["",
|
|
12021
|
+
"backdrop-grayscale": ["", D, R, A]
|
|
11997
12022
|
}],
|
|
11998
12023
|
/**
|
|
11999
12024
|
* Backdrop Hue Rotate
|
|
12000
12025
|
* @see https://tailwindcss.com/docs/backdrop-hue-rotate
|
|
12001
12026
|
*/
|
|
12002
12027
|
"backdrop-hue-rotate": [{
|
|
12003
|
-
"backdrop-hue-rotate": [
|
|
12028
|
+
"backdrop-hue-rotate": [D, R, A]
|
|
12004
12029
|
}],
|
|
12005
12030
|
/**
|
|
12006
12031
|
* Backdrop Invert
|
|
12007
12032
|
* @see https://tailwindcss.com/docs/backdrop-invert
|
|
12008
12033
|
*/
|
|
12009
12034
|
"backdrop-invert": [{
|
|
12010
|
-
"backdrop-invert": ["",
|
|
12035
|
+
"backdrop-invert": ["", D, R, A]
|
|
12011
12036
|
}],
|
|
12012
12037
|
/**
|
|
12013
12038
|
* Backdrop Opacity
|
|
12014
12039
|
* @see https://tailwindcss.com/docs/backdrop-opacity
|
|
12015
12040
|
*/
|
|
12016
12041
|
"backdrop-opacity": [{
|
|
12017
|
-
"backdrop-opacity": [
|
|
12042
|
+
"backdrop-opacity": [D, R, A]
|
|
12018
12043
|
}],
|
|
12019
12044
|
/**
|
|
12020
12045
|
* Backdrop Saturate
|
|
12021
12046
|
* @see https://tailwindcss.com/docs/backdrop-saturate
|
|
12022
12047
|
*/
|
|
12023
12048
|
"backdrop-saturate": [{
|
|
12024
|
-
"backdrop-saturate": [
|
|
12049
|
+
"backdrop-saturate": [D, R, A]
|
|
12025
12050
|
}],
|
|
12026
12051
|
/**
|
|
12027
12052
|
* Backdrop Sepia
|
|
12028
12053
|
* @see https://tailwindcss.com/docs/backdrop-sepia
|
|
12029
12054
|
*/
|
|
12030
12055
|
"backdrop-sepia": [{
|
|
12031
|
-
"backdrop-sepia": ["",
|
|
12056
|
+
"backdrop-sepia": ["", D, R, A]
|
|
12032
12057
|
}],
|
|
12033
12058
|
// --------------
|
|
12034
12059
|
// --- Tables ---
|
|
@@ -12097,7 +12122,7 @@ const $c = mo(Sa), Ca = (e, o) => {
|
|
|
12097
12122
|
* @see https://tailwindcss.com/docs/transition-duration
|
|
12098
12123
|
*/
|
|
12099
12124
|
duration: [{
|
|
12100
|
-
duration: [
|
|
12125
|
+
duration: [D, "initial", R, A]
|
|
12101
12126
|
}],
|
|
12102
12127
|
/**
|
|
12103
12128
|
* Transition Timing Function
|
|
@@ -12111,7 +12136,7 @@ const $c = mo(Sa), Ca = (e, o) => {
|
|
|
12111
12136
|
* @see https://tailwindcss.com/docs/transition-delay
|
|
12112
12137
|
*/
|
|
12113
12138
|
delay: [{
|
|
12114
|
-
delay: [
|
|
12139
|
+
delay: [D, R, A]
|
|
12115
12140
|
}],
|
|
12116
12141
|
/**
|
|
12117
12142
|
* Animation
|
|
@@ -12555,7 +12580,7 @@ const $c = mo(Sa), Ca = (e, o) => {
|
|
|
12555
12580
|
* @see https://tailwindcss.com/docs/stroke-width
|
|
12556
12581
|
*/
|
|
12557
12582
|
"stroke-w": [{
|
|
12558
|
-
stroke: [
|
|
12583
|
+
stroke: [D, yt, Vo, ge]
|
|
12559
12584
|
}],
|
|
12560
12585
|
/**
|
|
12561
12586
|
* Stroke
|
|
@@ -12630,7 +12655,7 @@ const $c = mo(Sa), Ca = (e, o) => {
|
|
|
12630
12655
|
},
|
|
12631
12656
|
orderSensitiveModifiers: ["*", "**", "after", "backdrop", "before", "details-content", "file", "first-letter", "first-line", "marker", "placeholder", "selection"]
|
|
12632
12657
|
};
|
|
12633
|
-
},
|
|
12658
|
+
}, bc = (e, {
|
|
12634
12659
|
cacheSize: o,
|
|
12635
12660
|
prefix: t,
|
|
12636
12661
|
experimentalParseClassName: i,
|
|
@@ -12649,7 +12674,7 @@ const $c = mo(Sa), Ca = (e, o) => {
|
|
|
12649
12674
|
}, dr = (e, o, t) => {
|
|
12650
12675
|
const i = o[t];
|
|
12651
12676
|
i !== void 0 && (e[t] = e[t] ? e[t].concat(i) : i);
|
|
12652
|
-
},
|
|
12677
|
+
}, hc = (e, ...o) => typeof e == "function" ? ci(bi, e, ...o) : ci(() => bc(bi(), e), ...o), X = [() => !0], dc = hc({
|
|
12653
12678
|
extend: {
|
|
12654
12679
|
classGroups: {
|
|
12655
12680
|
h: [{ "fibo-height": X }],
|
|
@@ -12688,13 +12713,13 @@ const $c = mo(Sa), Ca = (e, o) => {
|
|
|
12688
12713
|
function St(e) {
|
|
12689
12714
|
return e === "submit" || e === "reset" || e === "button" ? e : "button";
|
|
12690
12715
|
}
|
|
12691
|
-
function
|
|
12716
|
+
function pc(e) {
|
|
12692
12717
|
const o = { ...e };
|
|
12693
12718
|
for (const t of Object.keys(o))
|
|
12694
12719
|
t.startsWith("on") && typeof o[t] == "function" && delete o[t];
|
|
12695
12720
|
return o;
|
|
12696
12721
|
}
|
|
12697
|
-
function
|
|
12722
|
+
function xc(e, o) {
|
|
12698
12723
|
const {
|
|
12699
12724
|
text: t,
|
|
12700
12725
|
variant: i,
|
|
@@ -12703,7 +12728,7 @@ function dc(e, o) {
|
|
|
12703
12728
|
onHover: s,
|
|
12704
12729
|
disabled: f,
|
|
12705
12730
|
icon: a,
|
|
12706
|
-
shape:
|
|
12731
|
+
shape: u,
|
|
12707
12732
|
shadow: d,
|
|
12708
12733
|
tone: g,
|
|
12709
12734
|
motion: h,
|
|
@@ -12723,13 +12748,13 @@ function dc(e, o) {
|
|
|
12723
12748
|
lg: "px-[32px] py-[16px] text-[17px] gap-[10px] h-[56px]"
|
|
12724
12749
|
};
|
|
12725
12750
|
let k = "rounded-[14px]";
|
|
12726
|
-
|
|
12751
|
+
u === "pill" ? k = "rounded-full" : u === "square" ? k = "rounded-[12px]" : u === "rect" ? k = "rounded-[2px]" : u === "rounded" ? k = "rounded-[8px]" : u === "sharp" && (k = "rounded-none");
|
|
12727
12752
|
const H = g === "inverse";
|
|
12728
12753
|
let V = "";
|
|
12729
12754
|
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)]");
|
|
12730
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;
|
|
12731
12756
|
v ? (V = "", k = "") : f && (V = V.replace(/\s*(hover|active):\S+/g, "").trim());
|
|
12732
|
-
const so =
|
|
12757
|
+
const so = dc(
|
|
12733
12758
|
"fibo-button",
|
|
12734
12759
|
v ? "" : "relative overflow-hidden",
|
|
12735
12760
|
"inline-flex items-center justify-center whitespace-nowrap",
|
|
@@ -12748,14 +12773,14 @@ function dc(e, o) {
|
|
|
12748
12773
|
className: so,
|
|
12749
12774
|
ref: T,
|
|
12750
12775
|
disabled: f,
|
|
12751
|
-
...
|
|
12776
|
+
...pc($),
|
|
12752
12777
|
type: M,
|
|
12753
12778
|
style: K
|
|
12754
12779
|
};
|
|
12755
|
-
return
|
|
12780
|
+
return l.createElement("button", C, ...oo);
|
|
12756
12781
|
}
|
|
12757
|
-
function
|
|
12758
|
-
return
|
|
12782
|
+
function gc(e) {
|
|
12783
|
+
return xc(e);
|
|
12759
12784
|
}
|
|
12760
12785
|
function pr(e, o) {
|
|
12761
12786
|
if (!(typeof o != "string" || !J(o)))
|
|
@@ -12777,10 +12802,10 @@ function Be(e, o) {
|
|
|
12777
12802
|
if (Array.isArray(o))
|
|
12778
12803
|
for (const t of o) Be(e, t);
|
|
12779
12804
|
}
|
|
12780
|
-
function
|
|
12805
|
+
function mc(e) {
|
|
12781
12806
|
return typeof e == "string" && J(e) ? ho(e) : e;
|
|
12782
12807
|
}
|
|
12783
|
-
class
|
|
12808
|
+
class vc extends go {
|
|
12784
12809
|
constructor(t = "") {
|
|
12785
12810
|
super();
|
|
12786
12811
|
c(this, "_text", "");
|
|
@@ -12881,7 +12906,7 @@ class gc extends go {
|
|
|
12881
12906
|
expand: this._expand,
|
|
12882
12907
|
className: t,
|
|
12883
12908
|
style: this.getStyle(),
|
|
12884
|
-
children: this.processChildren().map(
|
|
12909
|
+
children: this.processChildren().map(mc),
|
|
12885
12910
|
...this._props,
|
|
12886
12911
|
type: this.resolvedHtmlType(),
|
|
12887
12912
|
bare: this.isReset()
|
|
@@ -12892,31 +12917,31 @@ class gc extends go {
|
|
|
12892
12917
|
s.node = f;
|
|
12893
12918
|
};
|
|
12894
12919
|
}
|
|
12895
|
-
return
|
|
12920
|
+
return l.createElement(gc, n);
|
|
12896
12921
|
}
|
|
12897
12922
|
}
|
|
12898
|
-
const
|
|
12923
|
+
const Pc = mo(vc);
|
|
12899
12924
|
export {
|
|
12900
|
-
|
|
12901
|
-
|
|
12902
|
-
|
|
12903
|
-
|
|
12904
|
-
|
|
12905
|
-
|
|
12925
|
+
Fc as Box,
|
|
12926
|
+
Pc as Button,
|
|
12927
|
+
Nc as Card,
|
|
12928
|
+
Tc as Center,
|
|
12929
|
+
Ec as Column,
|
|
12930
|
+
Ac as Container,
|
|
12906
12931
|
wi as FiboStyles,
|
|
12907
|
-
|
|
12908
|
-
|
|
12909
|
-
|
|
12932
|
+
$c as Grid,
|
|
12933
|
+
Mc as GridItem,
|
|
12934
|
+
Hf as Header,
|
|
12910
12935
|
tn as MotionStyles,
|
|
12911
|
-
|
|
12912
|
-
|
|
12913
|
-
|
|
12914
|
-
|
|
12915
|
-
|
|
12916
|
-
|
|
12936
|
+
_c as Presence,
|
|
12937
|
+
Rc as Row,
|
|
12938
|
+
Ic as Scaffold,
|
|
12939
|
+
Bc as Spacer,
|
|
12940
|
+
Lc as Text,
|
|
12941
|
+
Cc as createPage,
|
|
12917
12942
|
vi as endSsrRequest,
|
|
12918
12943
|
mi as getCss,
|
|
12919
|
-
|
|
12944
|
+
Sc as getStyleTag,
|
|
12920
12945
|
en as page,
|
|
12921
|
-
|
|
12946
|
+
zc as withFiboStyles
|
|
12922
12947
|
};
|