fiboui 2.8.5 → 2.9.1
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-BzMPiV64.js → client-3NdKI2xE.js} +7296 -4714
- package/dist/content.d.ts +364 -7
- package/dist/content.js +8 -8
- package/dist/core.d.ts +353 -1
- package/dist/core.js +2 -2
- package/dist/{icons-aP7ZHyqh.js → icons-DS8J4SFk.js} +83 -75
- package/dist/{index-Dd48Ov9N.js → index-B6F3yf3H.js} +10 -10
- package/dist/{index-DU4n9axe.js → index-BLEG6Nql.js} +1 -1
- package/dist/{index-B9YuBkEv.js → index-BaTO66yA.js} +22 -22
- package/dist/index-FuD1J3Qo.js +785 -0
- package/dist/{index-DWBoYvko.js → index-I-MXiId0.js} +7 -7
- package/dist/index.d.ts +1978 -1163
- package/dist/index.js +1163 -1072
- package/dist/interactive.d.ts +353 -1
- package/dist/interactive.js +15 -15
- package/dist/layout.d.ts +464 -2
- package/dist/layout.js +21 -17
- package/dist/{metadata-B5v6sx60.js → metadata-B2MRlDTz.js} +23 -23
- package/dist/navigation.js +6 -6
- package/dist/{page-CHjFSSAF.js → page-xwU8SnoZ.js} +36 -36
- package/dist/server.d.ts +361 -1
- package/dist/server.js +3793 -2400
- package/dist/structure.d.ts +353 -1
- package/dist/structure.js +4 -4
- package/dist/style.css +1 -1
- package/dist/theme.js +3 -3
- package/package.json +1 -1
- package/dist/index-Bgt9DiVJ.js +0 -839
package/dist/index.js
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var c = (e, s, t) =>
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { F as
|
|
7
|
-
import { C as
|
|
8
|
-
import { C as
|
|
1
|
+
var ke = Object.defineProperty;
|
|
2
|
+
var we = (e, s, t) => s in e ? ke(e, s, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[s] = t;
|
|
3
|
+
var c = (e, s, t) => we(e, typeof s != "symbol" ? s + "" : s, t);
|
|
4
|
+
import { bA as Ee, H as Ne, I as xe, b2 as _, b3 as y, bF as Te, b7 as H, b6 as P, b9 as W, bG as $e, bc as F, bq as w, bH as ft, bI as Zt, bu as Qt, bD as Jt, bg as Be, bJ as Le } from "./client-3NdKI2xE.js";
|
|
5
|
+
import { d6 as oa, dc as la, dg as ca, dA as ua, dd as ha, dM as da, aF as fa, dr as ma, dq as pa, ds as ga, dt as _a, dp as ya, cW as ba, c_ as Sa, aA as va, d1 as Ca, dh as ka, cq as wa, aH as Ea, db as Na, cH as xa, aE as Ta, C as $a, cv as Ba, cp as La, cP as Pa, cr as Ra, dE as Aa, ad as Ma, cF as Fa, cS as Ia, aP as Da, aO as Oa, dU as ja, cs as Ha, bV as Wa, dD as Va, E as Ga, cn as za, co as Ua, d5 as Xa, b_ as Ka, bN as Ya, X as qa, bL as Za, aW as Qa, a6 as Ja, a3 as to, a4 as eo, _ as so, aQ as ro, du as io, dv as no, F as ao, dC as oo, de as lo, am as co, dP as uo, ai as ho, c0 as fo, ct as mo, dy as po, ch as go, ab as _o, cg as yo, T as bo, ak as So, cE as vo, dB as Co, dS as ko, cB as wo, ah as Eo, aG as No, L as xo, dx as To, bU as $o, Q as Bo, bX as Lo, bW as Po, cO as Ro, dL as Ao, d4 as Mo, Z as Fo, cD as Io, O as Do, n as Oo, cA as jo, cU as Ho, cZ as Wo, cY as Vo, dO as Go, bP as zo, cC as Uo, dK as Xo, ci as Ko, B as Yo, P as qo, aB as Zo, d3 as Qo, da as Jo, cL as tl, R as el, dI as sl, dw as rl, D as il, bY as nl, aI as al, a9 as ol, aa as ll, dT as cl, dk as ul, cu as hl, G as dl, ae as fl, cN as ml, c$ as pl, cJ as gl, cI as _l, aD as yl, cV as bl, b$ as Sl, dJ as vl, cX as Cl, cT as kl, dN as wl, ac as El, S as Nl, bZ as xl, d7 as Tl, cK as $l, dF as Bl, dG as Ll, d9 as Pl, bT as Rl, di as Al, cM as Ml, dR as Fl, az as Il, d2 as Dl, dz as Ol, bS as jl, aj as Hl, dm as Wl, df as Vl, al as Gl, dl as zl, aC as Ul, dj as Xl, cG as Kl, dH as Yl, cQ as ql, dQ as Zl, a8 as Ql, af as Jl, ag as tc, dn as ec, cR as sc, cy as rc, d0 as ic, cw as nc, t as ac, q as oc, d as lc, c as cc, aY as uc, b as hc, a as dc, aT as fc, ar as mc, a2 as pc, Y as gc, e as _c, bM as yc, ay as bc, aZ as Sc, f as vc, an as Cc, a0 as kc, g as wc, $ as Ec, a1 as Nc, d8 as xc, ax as Tc, V as $c, W as Bc, i as Lc, bd as Pc, dV as Rc, l as Ac, ce as Mc, cf as Fc, aS as Ic, au as Dc, aq as Oc, at as jc, ap as Hc, a5 as Wc, aV as Vc, U as Gc, bK as zc, o as Uc, as as Xc, cl as Kc, ao as Yc, h as qc, N as Zc, cx as Qc, bR as Jc, aX as tu, av as eu, r as su, s as ru, dW as iu, M as nu, by as au, K as ou, J as lu, b1 as cu, b0 as uu, a_ as hu, a$ as du, ba as fu, a7 as mu, bb as pu, bE as gu, aw as _u, m as yu, aR as bu, aM as Su, y as vu, aK as Cu, k as ku, aL as wu, z as Eu, p as Nu, aN as xu, j as Tu, aJ as $u, cz as Bu, A as Lu, u as Pu, w as Ru, x as Au, v as Mu, bO as Fu, aU as Iu, cc as Du, c3 as Ou, c2 as ju, ca as Hu, cb as Wu, c4 as Vu, c5 as Gu, bQ as zu, c7 as Uu, c6 as Xu, c9 as Ku, cd as Yu, c1 as qu, c8 as Zu, ck as Qu, cj as Ju, cm as th } from "./client-3NdKI2xE.js";
|
|
6
|
+
import { F as sh, P as rh, T as ih, U as nh, a as ah, c as oh, p as lh, w as ch } from "./page-xwU8SnoZ.js";
|
|
7
|
+
import { C as hh, a as dh, L as fh, b as mh, S as ph, Z as gh } from "./index-FuD1J3Qo.js";
|
|
8
|
+
import { C as yh, S as bh } from "./index-BLEG6Nql.js";
|
|
9
9
|
import u, { useRef as N, useState as R, useLayoutEffect as U, useEffect as X } from "react";
|
|
10
|
-
import { A as
|
|
11
|
-
import { A as
|
|
12
|
-
import { B as
|
|
13
|
-
import { A as
|
|
14
|
-
import { L as
|
|
15
|
-
function
|
|
10
|
+
import { A as vh, B as Ch, I as kh } from "./icons-DS8J4SFk.js";
|
|
11
|
+
import { A as Eh, I as Nh, L as xh, P as Th, a as $h, S as Bh } from "./index-B6F3yf3H.js";
|
|
12
|
+
import { B as Ph } from "./index-I-MXiId0.js";
|
|
13
|
+
import { A as Ah, B as Mh, C as Fh, c as Ih, d as Dh, G as Oh, b as jh, L as Hh, P as Wh, T as Vh, a as Gh } from "./index-BaTO66yA.js";
|
|
14
|
+
import { L as Uh, N as Xh, O as Kh, l as Yh, p as qh, u as Zh } from "./metadata-B2MRlDTz.js";
|
|
15
|
+
function te() {
|
|
16
16
|
const e = globalThis.window;
|
|
17
17
|
return typeof e > "u" || e == null ? void 0 : e;
|
|
18
18
|
}
|
|
19
|
-
async function
|
|
19
|
+
async function Ii(e) {
|
|
20
20
|
var t;
|
|
21
21
|
const s = globalThis.navigator;
|
|
22
22
|
if (typeof s > "u" || !((t = s == null ? void 0 : s.clipboard) != null && t.writeText)) return !1;
|
|
@@ -26,60 +26,80 @@ async function Ai(e) {
|
|
|
26
26
|
return !1;
|
|
27
27
|
}
|
|
28
28
|
}
|
|
29
|
-
function
|
|
30
|
-
const t =
|
|
31
|
-
if (!t || typeof t.open != "function" || !
|
|
29
|
+
function Pe(e, s) {
|
|
30
|
+
const t = te();
|
|
31
|
+
if (!t || typeof t.open != "function" || !Ee(e)) return;
|
|
32
32
|
const r = (s == null ? void 0 : s.target) ?? "_blank", i = (s == null ? void 0 : s.features) ?? (r === "_blank" ? "noopener,noreferrer" : void 0);
|
|
33
33
|
t.open(e, r, i);
|
|
34
34
|
}
|
|
35
|
-
const
|
|
36
|
-
function
|
|
37
|
-
|
|
35
|
+
const Di = Pe;
|
|
36
|
+
function Oi(e, s) {
|
|
37
|
+
Ne(e, {
|
|
38
38
|
behavior: (s == null ? void 0 : s.behavior) ?? "smooth",
|
|
39
39
|
block: (s == null ? void 0 : s.block) ?? "start",
|
|
40
40
|
hash: !0
|
|
41
41
|
});
|
|
42
42
|
}
|
|
43
|
-
function
|
|
43
|
+
function Re(e, s) {
|
|
44
44
|
if (e.key.toLowerCase() !== s.key.toLowerCase()) return !1;
|
|
45
45
|
if (s.metaOrCtrl) {
|
|
46
46
|
if (!(e.metaKey || e.ctrlKey)) return !1;
|
|
47
47
|
} else if (s.meta !== void 0 && e.metaKey !== s.meta || s.ctrl !== void 0 && e.ctrlKey !== s.ctrl) return !1;
|
|
48
48
|
return !(s.alt !== void 0 && e.altKey !== s.alt || s.shift !== void 0 && e.shiftKey !== s.shift);
|
|
49
49
|
}
|
|
50
|
-
function
|
|
51
|
-
const s =
|
|
50
|
+
function ji(e) {
|
|
51
|
+
const s = te();
|
|
52
52
|
if (!(s != null && s.addEventListener)) return () => {
|
|
53
53
|
};
|
|
54
54
|
const t = (r) => {
|
|
55
55
|
for (const i of e)
|
|
56
|
-
if (!(i.when && !i.when()) &&
|
|
56
|
+
if (!(i.when && !i.when()) && Re(r, i)) {
|
|
57
57
|
i.preventDefault !== !1 && r.preventDefault(), i.run();
|
|
58
58
|
return;
|
|
59
59
|
}
|
|
60
60
|
};
|
|
61
61
|
return s.addEventListener("keydown", t), () => s.removeEventListener("keydown", t);
|
|
62
62
|
}
|
|
63
|
-
|
|
64
|
-
function
|
|
65
|
-
return
|
|
63
|
+
let q = null;
|
|
64
|
+
function Hi() {
|
|
65
|
+
return q;
|
|
66
|
+
}
|
|
67
|
+
function Nt(e, s) {
|
|
68
|
+
const t = q;
|
|
69
|
+
q = e;
|
|
70
|
+
try {
|
|
71
|
+
if (e.animation === !1) return s();
|
|
72
|
+
let r;
|
|
73
|
+
return xe(() => {
|
|
74
|
+
r = s();
|
|
75
|
+
}), r;
|
|
76
|
+
} finally {
|
|
77
|
+
q = t;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
function Wi(e, s) {
|
|
81
|
+
return typeof e == "function" ? Nt({ animation: !0 }, e) : Nt({ animation: e }, s);
|
|
82
|
+
}
|
|
83
|
+
const Ae = [-8, -7, -6, -5, -4, -3, -2, -1, 0, 1, 2, 3, 4, 5, 6, 7, 8], ee = 12, xt = 8;
|
|
84
|
+
function se(e) {
|
|
85
|
+
return Math.max(-xt, Math.min(xt, Math.round(e)));
|
|
66
86
|
}
|
|
67
|
-
function
|
|
68
|
-
const t =
|
|
87
|
+
function nt(e, s = 0) {
|
|
88
|
+
const t = se(s);
|
|
69
89
|
if (t === 0 || !e) return e;
|
|
70
|
-
const r = 100 - Math.abs(t) *
|
|
90
|
+
const r = 100 - Math.abs(t) * ee, i = t > 0 ? "#fff" : "#000";
|
|
71
91
|
return `color-mix(in srgb, ${e} ${r}%, ${i})`;
|
|
72
92
|
}
|
|
73
|
-
function
|
|
93
|
+
function re(e) {
|
|
74
94
|
const s = {};
|
|
75
|
-
for (const t of
|
|
95
|
+
for (const t of Ae) s[t] = nt(e, t);
|
|
76
96
|
return s;
|
|
77
97
|
}
|
|
78
98
|
function B(e, s) {
|
|
79
99
|
const t = (s % 360 + 360) % 360;
|
|
80
100
|
return `hsl(from ${e} calc(h + ${t}) s l)`;
|
|
81
101
|
}
|
|
82
|
-
function
|
|
102
|
+
function ie(e) {
|
|
83
103
|
const s = e.trim(), t = /^#([0-9a-f]{3}|[0-9a-f]{6})$/i.exec(s);
|
|
84
104
|
if (t) {
|
|
85
105
|
let i = t[1];
|
|
@@ -88,37 +108,37 @@ function se(e) {
|
|
|
88
108
|
const r = /^rgba?\(\s*([\d.]+)\s*,\s*([\d.]+)\s*,\s*([\d.]+)/i.exec(s);
|
|
89
109
|
return r ? [Number(r[1]), Number(r[2]), Number(r[3])] : null;
|
|
90
110
|
}
|
|
91
|
-
function
|
|
111
|
+
function at(e) {
|
|
92
112
|
const s = e / 255;
|
|
93
113
|
return s <= 0.04045 ? s / 12.92 : ((s + 0.055) / 1.055) ** 2.4;
|
|
94
114
|
}
|
|
95
|
-
function
|
|
96
|
-
const s =
|
|
97
|
-
return s ? 0.2126 *
|
|
115
|
+
function mt(e) {
|
|
116
|
+
const s = ie(e);
|
|
117
|
+
return s ? 0.2126 * at(s[0]) + 0.7152 * at(s[1]) + 0.0722 * at(s[2]) > 0.45 ? "#000000" : "#ffffff" : `contrast-color(${e})`;
|
|
98
118
|
}
|
|
99
|
-
function
|
|
119
|
+
function Me(e, s = 1) {
|
|
100
120
|
const t = Math.max(0, Math.min(1, s));
|
|
101
121
|
return t === 1 ? e : `color-mix(in srgb, ${e} ${Math.round(t * 100)}%, transparent)`;
|
|
102
122
|
}
|
|
103
|
-
function
|
|
123
|
+
function ne(e, s = 0.45) {
|
|
104
124
|
const t = Math.max(0, Math.min(1, s));
|
|
105
125
|
return t === 0 ? e : `color-mix(in srgb, ${e} ${Math.round((1 - t) * 100)}%, #8a8a8a)`;
|
|
106
126
|
}
|
|
107
|
-
function
|
|
108
|
-
const t =
|
|
109
|
-
if (!t || r === 0) return
|
|
110
|
-
const i = Math.abs(r) *
|
|
127
|
+
function Fe(e, s) {
|
|
128
|
+
const t = ie(e), r = se(s);
|
|
129
|
+
if (!t || r === 0) return nt(e, s);
|
|
130
|
+
const i = Math.abs(r) * ee / 100, n = r > 0 ? 255 : 0, o = (l) => Math.round(l + (n - l) * i), a = (l) => l.toString(16).padStart(2, "0");
|
|
111
131
|
return `#${a(o(t[0]))}${a(o(t[1]))}${a(o(t[2]))}`;
|
|
112
132
|
}
|
|
113
|
-
const V = /* @__PURE__ */ new Map(),
|
|
133
|
+
const V = /* @__PURE__ */ new Map(), Ie = 32;
|
|
114
134
|
function D(e) {
|
|
115
135
|
const s = V.get(e);
|
|
116
136
|
if (s) return s;
|
|
117
|
-
const t =
|
|
137
|
+
const t = nt(e, 5), r = {
|
|
118
138
|
color: e,
|
|
119
|
-
on:
|
|
139
|
+
on: mt(e),
|
|
120
140
|
container: t,
|
|
121
|
-
onContainer:
|
|
141
|
+
onContainer: mt(Fe(e, 5)),
|
|
122
142
|
secondary: B(e, 30),
|
|
123
143
|
tertiary: B(e, 330),
|
|
124
144
|
opposite: B(e, 180),
|
|
@@ -126,36 +146,36 @@ function D(e) {
|
|
|
126
146
|
sides: [B(e, 150), B(e, 210)],
|
|
127
147
|
three: [e, B(e, 120), B(e, 240)],
|
|
128
148
|
four: [e, B(e, 90), B(e, 180), B(e, 270)],
|
|
129
|
-
mute:
|
|
130
|
-
scale:
|
|
149
|
+
mute: ne(e),
|
|
150
|
+
scale: re(e)
|
|
131
151
|
};
|
|
132
|
-
if (V.size >=
|
|
152
|
+
if (V.size >= Ie) {
|
|
133
153
|
const i = V.keys().next().value;
|
|
134
154
|
i !== void 0 && V.delete(i);
|
|
135
155
|
}
|
|
136
156
|
return V.set(e, r), r;
|
|
137
157
|
}
|
|
138
|
-
const
|
|
158
|
+
const Vi = Object.assign(nt, {
|
|
139
159
|
sheet: D,
|
|
140
|
-
on:
|
|
141
|
-
fade:
|
|
142
|
-
mute:
|
|
143
|
-
scale:
|
|
160
|
+
on: mt,
|
|
161
|
+
fade: Me,
|
|
162
|
+
mute: ne,
|
|
163
|
+
scale: re,
|
|
144
164
|
near: (e) => D(e).near,
|
|
145
165
|
opposite: (e) => D(e).opposite,
|
|
146
166
|
sides: (e) => D(e).sides,
|
|
147
167
|
three: (e) => D(e).three,
|
|
148
168
|
four: (e) => D(e).four
|
|
149
|
-
}),
|
|
150
|
-
function
|
|
169
|
+
}), De = ["leading", "principal", "trailing"];
|
|
170
|
+
function Oe(e) {
|
|
151
171
|
return e === "leading" || e === "principal" || e === "trailing";
|
|
152
172
|
}
|
|
153
|
-
function
|
|
173
|
+
function je(e) {
|
|
154
174
|
if (!u.isValidElement(e)) return "trailing";
|
|
155
175
|
const s = e.props;
|
|
156
|
-
return
|
|
176
|
+
return Oe(s["data-toolbar-place"]) ? s["data-toolbar-place"] : "trailing";
|
|
157
177
|
}
|
|
158
|
-
class
|
|
178
|
+
class He extends y {
|
|
159
179
|
constructor() {
|
|
160
180
|
super(...arguments);
|
|
161
181
|
c(this, "_place", "trailing");
|
|
@@ -222,7 +242,7 @@ class De extends y {
|
|
|
222
242
|
} : {},
|
|
223
243
|
...this.getStyle(),
|
|
224
244
|
...n && typeof n == "object" ? n : {}
|
|
225
|
-
},
|
|
245
|
+
}, d = {
|
|
226
246
|
...a,
|
|
227
247
|
className: l,
|
|
228
248
|
style: h,
|
|
@@ -231,12 +251,12 @@ class De extends y {
|
|
|
231
251
|
"aria-label": this._tooltip
|
|
232
252
|
};
|
|
233
253
|
if (!t)
|
|
234
|
-
return u.createElement("div",
|
|
254
|
+
return u.createElement("div", d, ...r);
|
|
235
255
|
const m = this._drawer === "start" ? "open-drawer" : this._drawer === "end" ? "open-end-drawer" : void 0;
|
|
236
256
|
return u.createElement(
|
|
237
257
|
"button",
|
|
238
258
|
{
|
|
239
|
-
...
|
|
259
|
+
...d,
|
|
240
260
|
type: "button",
|
|
241
261
|
disabled: this._disabled || void 0,
|
|
242
262
|
"data-scaffold-action": m,
|
|
@@ -246,7 +266,7 @@ class De extends y {
|
|
|
246
266
|
);
|
|
247
267
|
}
|
|
248
268
|
}
|
|
249
|
-
class
|
|
269
|
+
class We extends y {
|
|
250
270
|
constructor() {
|
|
251
271
|
super(...arguments);
|
|
252
272
|
c(this, "_items", []);
|
|
@@ -256,89 +276,101 @@ class Oe extends y {
|
|
|
256
276
|
return this._items = t, this;
|
|
257
277
|
}
|
|
258
278
|
build() {
|
|
259
|
-
const t =
|
|
279
|
+
const t = Te(this._items), r = {
|
|
260
280
|
leading: [],
|
|
261
281
|
principal: [],
|
|
262
282
|
trailing: []
|
|
263
283
|
};
|
|
264
|
-
for (const
|
|
265
|
-
r[
|
|
284
|
+
for (const f of t)
|
|
285
|
+
r[je(f)].push(f);
|
|
266
286
|
const { className: i, style: n, children: o, ...a } = this._props, l = ["fibo-app-bar", this.getClassName(), i].filter(Boolean).join(" "), h = {
|
|
267
287
|
display: "flex",
|
|
268
|
-
alignItems: "
|
|
288
|
+
alignItems: "center",
|
|
269
289
|
width: "100%",
|
|
270
|
-
gap: 16,
|
|
271
290
|
...this.getStyle(),
|
|
272
291
|
...n && typeof n == "object" ? n : {}
|
|
273
|
-
},
|
|
292
|
+
}, d = {
|
|
293
|
+
leading: "flex-start",
|
|
294
|
+
principal: "center",
|
|
295
|
+
trailing: "flex-end"
|
|
296
|
+
}, m = De.map((f) => u.createElement(
|
|
274
297
|
"div",
|
|
275
298
|
{
|
|
276
|
-
key:
|
|
277
|
-
className: `fibo-app-bar-${
|
|
278
|
-
|
|
299
|
+
key: f,
|
|
300
|
+
className: `fibo-app-bar-${f}`,
|
|
301
|
+
"data-toolbar-slot": f,
|
|
302
|
+
"data-empty": r[f].length === 0 ? "true" : void 0,
|
|
303
|
+
style: {
|
|
304
|
+
flex: "1 1 0",
|
|
305
|
+
minWidth: 0,
|
|
306
|
+
display: "flex",
|
|
307
|
+
alignItems: "center",
|
|
308
|
+
justifyContent: d[f],
|
|
309
|
+
gap: 12
|
|
310
|
+
}
|
|
279
311
|
},
|
|
280
|
-
...r[
|
|
312
|
+
...r[f]
|
|
281
313
|
));
|
|
282
|
-
return u.createElement("header", { ...a, className: l, style: h }, ...
|
|
314
|
+
return u.createElement("header", { ...a, className: l, style: h }, ...m);
|
|
283
315
|
}
|
|
284
316
|
}
|
|
285
|
-
const
|
|
317
|
+
const Gi = _(He), zi = _(We), ae = ["top", "bottom", "left", "right"], Ve = {
|
|
286
318
|
top: "paddingTop",
|
|
287
319
|
bottom: "paddingBottom",
|
|
288
320
|
left: "paddingLeft",
|
|
289
321
|
right: "paddingRight"
|
|
290
322
|
};
|
|
291
|
-
function
|
|
323
|
+
function Ge(e, s) {
|
|
292
324
|
if (!(typeof s != "string" || !P(s)))
|
|
293
325
|
for (const t of W(s))
|
|
294
326
|
e.bindSignal(t);
|
|
295
327
|
}
|
|
296
|
-
function
|
|
328
|
+
function J(e, s) {
|
|
297
329
|
if (typeof s == "function") {
|
|
298
330
|
try {
|
|
299
|
-
|
|
331
|
+
J(e, s());
|
|
300
332
|
} catch {
|
|
301
333
|
}
|
|
302
334
|
return;
|
|
303
335
|
}
|
|
304
336
|
if (typeof s == "string") {
|
|
305
|
-
|
|
337
|
+
Ge(e, s);
|
|
306
338
|
return;
|
|
307
339
|
}
|
|
308
340
|
if (Array.isArray(s))
|
|
309
|
-
for (const t of s)
|
|
341
|
+
for (const t of s) J(e, t);
|
|
310
342
|
}
|
|
311
|
-
function
|
|
343
|
+
function ze(e) {
|
|
312
344
|
return typeof e == "string" && P(e) ? H(e) : e;
|
|
313
345
|
}
|
|
314
|
-
function
|
|
346
|
+
function Ue(e) {
|
|
315
347
|
const s = Array.isArray(e) ? e : [e];
|
|
316
|
-
return s.includes("all") ?
|
|
348
|
+
return s.includes("all") ? ae : s.filter((t) => t !== "all");
|
|
317
349
|
}
|
|
318
|
-
class
|
|
350
|
+
class Xe extends y {
|
|
319
351
|
constructor() {
|
|
320
352
|
super(...arguments);
|
|
321
|
-
c(this, "_edges",
|
|
353
|
+
c(this, "_edges", ae);
|
|
322
354
|
}
|
|
323
355
|
edges(t) {
|
|
324
|
-
return this._edges =
|
|
356
|
+
return this._edges = Ue(t), this;
|
|
325
357
|
}
|
|
326
358
|
/** SwiftUI `ignoresSafeArea`. Drops every inset. */
|
|
327
359
|
ignoresSafeArea() {
|
|
328
360
|
return this._edges = [], this;
|
|
329
361
|
}
|
|
330
362
|
children(t) {
|
|
331
|
-
return
|
|
363
|
+
return J(this, t), super.children(t);
|
|
332
364
|
}
|
|
333
365
|
props(t) {
|
|
334
|
-
return t && "children" in t &&
|
|
366
|
+
return t && "children" in t && J(this, t.children), super.props(t);
|
|
335
367
|
}
|
|
336
368
|
build() {
|
|
337
369
|
const t = this.getStyle();
|
|
338
370
|
for (const h of this._edges)
|
|
339
|
-
t[
|
|
371
|
+
t[Ve[h]] = `env(safe-area-inset-${h})`;
|
|
340
372
|
const { children: r, className: i, ...n } = this._props, o = r !== void 0 ? r : this.processChildren(), a = (o == null ? [] : Array.isArray(o) ? o : [o]).map(
|
|
341
|
-
|
|
373
|
+
ze
|
|
342
374
|
), l = ["fibo-safe-area", this.getClassName(), i].filter(Boolean).join(" ");
|
|
343
375
|
return u.createElement(
|
|
344
376
|
"div",
|
|
@@ -351,31 +383,31 @@ class ze extends y {
|
|
|
351
383
|
);
|
|
352
384
|
}
|
|
353
385
|
}
|
|
354
|
-
const
|
|
355
|
-
function
|
|
386
|
+
const Ui = _(Xe);
|
|
387
|
+
function Ke(e, s) {
|
|
356
388
|
if (!(typeof s != "string" || !P(s)))
|
|
357
389
|
for (const t of W(s))
|
|
358
390
|
e.bindSignal(t);
|
|
359
391
|
}
|
|
360
|
-
function
|
|
392
|
+
function tt(e, s) {
|
|
361
393
|
if (typeof s == "function") {
|
|
362
394
|
try {
|
|
363
|
-
|
|
395
|
+
tt(e, s());
|
|
364
396
|
} catch {
|
|
365
397
|
}
|
|
366
398
|
return;
|
|
367
399
|
}
|
|
368
400
|
if (typeof s == "string") {
|
|
369
|
-
|
|
401
|
+
Ke(e, s);
|
|
370
402
|
return;
|
|
371
403
|
}
|
|
372
404
|
if (Array.isArray(s))
|
|
373
|
-
for (const t of s)
|
|
405
|
+
for (const t of s) tt(e, t);
|
|
374
406
|
}
|
|
375
|
-
function
|
|
407
|
+
function Ye(e) {
|
|
376
408
|
return typeof e == "string" && P(e) ? H(e) : e;
|
|
377
409
|
}
|
|
378
|
-
function
|
|
410
|
+
function qe(e, s) {
|
|
379
411
|
const t = e.clientWidth, r = Math.max(0, s.length - 1);
|
|
380
412
|
for (let i = 0; i < s.length; i++) {
|
|
381
413
|
const n = s[i];
|
|
@@ -383,7 +415,7 @@ function Xe(e, s) {
|
|
|
383
415
|
}
|
|
384
416
|
return r;
|
|
385
417
|
}
|
|
386
|
-
function
|
|
418
|
+
function Ze({
|
|
387
419
|
nodes: e,
|
|
388
420
|
style: s,
|
|
389
421
|
className: t,
|
|
@@ -394,12 +426,12 @@ function Ye({
|
|
|
394
426
|
const l = i.current;
|
|
395
427
|
if (!l || e.length === 0) return;
|
|
396
428
|
const h = () => {
|
|
397
|
-
const m =
|
|
398
|
-
a((
|
|
429
|
+
const m = qe(l, n.current);
|
|
430
|
+
a((f) => f === m ? f : m);
|
|
399
431
|
};
|
|
400
432
|
if (h(), typeof ResizeObserver > "u") return;
|
|
401
|
-
const
|
|
402
|
-
return
|
|
433
|
+
const d = new ResizeObserver(h);
|
|
434
|
+
return d.observe(l), () => d.disconnect();
|
|
403
435
|
}, [e]), u.createElement(
|
|
404
436
|
"div",
|
|
405
437
|
{
|
|
@@ -413,8 +445,8 @@ function Ye({
|
|
|
413
445
|
"div",
|
|
414
446
|
{
|
|
415
447
|
key: h,
|
|
416
|
-
ref: (
|
|
417
|
-
n.current[h] =
|
|
448
|
+
ref: (d) => {
|
|
449
|
+
n.current[h] = d;
|
|
418
450
|
},
|
|
419
451
|
"data-view-that-fits": h === o ? "shown" : "probe",
|
|
420
452
|
style: h === o ? { minWidth: 0 } : {
|
|
@@ -431,18 +463,18 @@ function Ye({
|
|
|
431
463
|
)
|
|
432
464
|
);
|
|
433
465
|
}
|
|
434
|
-
class
|
|
466
|
+
class Qe extends y {
|
|
435
467
|
children(s) {
|
|
436
|
-
return
|
|
468
|
+
return tt(this, s), super.children(s);
|
|
437
469
|
}
|
|
438
470
|
props(s) {
|
|
439
|
-
return s && "children" in s &&
|
|
471
|
+
return s && "children" in s && tt(this, s.children), super.props(s);
|
|
440
472
|
}
|
|
441
473
|
build() {
|
|
442
474
|
const s = this.getStyle(), { children: t, className: r, ...i } = this._props, n = t !== void 0 ? t : this.processChildren(), o = (n == null ? [] : Array.isArray(n) ? n : [n]).map(
|
|
443
|
-
|
|
475
|
+
Ye
|
|
444
476
|
), a = ["fibo-view-that-fits", this.getClassName(), r].filter(Boolean).join(" ");
|
|
445
|
-
return u.createElement(
|
|
477
|
+
return u.createElement(Ze, {
|
|
446
478
|
nodes: o,
|
|
447
479
|
style: s,
|
|
448
480
|
className: a,
|
|
@@ -450,31 +482,31 @@ class Ke extends y {
|
|
|
450
482
|
});
|
|
451
483
|
}
|
|
452
484
|
}
|
|
453
|
-
const
|
|
454
|
-
function
|
|
485
|
+
const Xi = _(Qe);
|
|
486
|
+
function Je(e, s) {
|
|
455
487
|
if (!(typeof s != "string" || !P(s)))
|
|
456
488
|
for (const t of W(s))
|
|
457
489
|
e.bindSignal(t);
|
|
458
490
|
}
|
|
459
|
-
function
|
|
491
|
+
function et(e, s) {
|
|
460
492
|
if (typeof s == "function") {
|
|
461
493
|
try {
|
|
462
|
-
|
|
494
|
+
et(e, s());
|
|
463
495
|
} catch {
|
|
464
496
|
}
|
|
465
497
|
return;
|
|
466
498
|
}
|
|
467
499
|
if (typeof s == "string") {
|
|
468
|
-
|
|
500
|
+
Je(e, s);
|
|
469
501
|
return;
|
|
470
502
|
}
|
|
471
503
|
if (Array.isArray(s))
|
|
472
|
-
for (const t of s)
|
|
504
|
+
for (const t of s) et(e, t);
|
|
473
505
|
}
|
|
474
|
-
function
|
|
506
|
+
function ts(e) {
|
|
475
507
|
return typeof e == "string" && P(e) ? H(e) : e;
|
|
476
508
|
}
|
|
477
|
-
class
|
|
509
|
+
class es extends y {
|
|
478
510
|
constructor(t = 1) {
|
|
479
511
|
super();
|
|
480
512
|
c(this, "_ratio");
|
|
@@ -488,16 +520,16 @@ class Qe extends y {
|
|
|
488
520
|
return this._widthSet = !0, super.width(t);
|
|
489
521
|
}
|
|
490
522
|
children(t) {
|
|
491
|
-
return
|
|
523
|
+
return et(this, t), super.children(t);
|
|
492
524
|
}
|
|
493
525
|
props(t) {
|
|
494
|
-
return t && "children" in t &&
|
|
526
|
+
return t && "children" in t && et(this, t.children), super.props(t);
|
|
495
527
|
}
|
|
496
528
|
build() {
|
|
497
529
|
const t = this.getStyle();
|
|
498
530
|
t.aspectRatio = String(this._ratio), !this._widthSet && t.width == null && (t.width = "100%");
|
|
499
531
|
const { children: r, className: i, ...n } = this._props, o = r !== void 0 ? r : this.processChildren(), a = (o == null ? [] : Array.isArray(o) ? o : [o]).map(
|
|
500
|
-
|
|
532
|
+
ts
|
|
501
533
|
), l = ["fibo-aspect-ratio", this.getClassName(), i].filter(Boolean).join(" ");
|
|
502
534
|
return u.createElement(
|
|
503
535
|
"div",
|
|
@@ -510,8 +542,8 @@ class Qe extends y {
|
|
|
510
542
|
);
|
|
511
543
|
}
|
|
512
544
|
}
|
|
513
|
-
const
|
|
514
|
-
function
|
|
545
|
+
const Ki = _(es);
|
|
546
|
+
function ss(e, s) {
|
|
515
547
|
if (!(typeof s != "string" || !P(s)))
|
|
516
548
|
for (const t of W(s))
|
|
517
549
|
e.bindSignal(t);
|
|
@@ -525,16 +557,16 @@ function j(e, s) {
|
|
|
525
557
|
return;
|
|
526
558
|
}
|
|
527
559
|
if (typeof s == "string") {
|
|
528
|
-
|
|
560
|
+
ss(e, s);
|
|
529
561
|
return;
|
|
530
562
|
}
|
|
531
563
|
if (Array.isArray(s))
|
|
532
564
|
for (const t of s) j(e, t);
|
|
533
565
|
}
|
|
534
|
-
function
|
|
566
|
+
function rs(e) {
|
|
535
567
|
return typeof e == "string" && P(e) ? H(e) : e;
|
|
536
568
|
}
|
|
537
|
-
class
|
|
569
|
+
class is extends y {
|
|
538
570
|
constructor() {
|
|
539
571
|
super(...arguments);
|
|
540
572
|
c(this, "_back");
|
|
@@ -564,8 +596,8 @@ class es extends y {
|
|
|
564
596
|
const h = r !== void 0 ? r : this.processChildren();
|
|
565
597
|
o = h == null ? [] : Array.isArray(h) ? h : [h];
|
|
566
598
|
}
|
|
567
|
-
o = o.map(
|
|
568
|
-
const a = ["fibo-overlay", this.getClassName(), i].filter(Boolean).join(" "), l = o.map((h,
|
|
599
|
+
o = o.map(rs);
|
|
600
|
+
const a = ["fibo-overlay", this.getClassName(), i].filter(Boolean).join(" "), l = o.map((h, d) => d !== 1 ? h : u.createElement(
|
|
569
601
|
"div",
|
|
570
602
|
{
|
|
571
603
|
key: "fibo-overlay-front",
|
|
@@ -574,8 +606,12 @@ class es extends y {
|
|
|
574
606
|
position: "absolute",
|
|
575
607
|
inset: 0,
|
|
576
608
|
display: "flex",
|
|
577
|
-
alignItems: t.alignItems,
|
|
578
|
-
justifyContent: t.justifyContent
|
|
609
|
+
alignItems: t.alignItems ?? "center",
|
|
610
|
+
justifyContent: t.justifyContent ?? "center",
|
|
611
|
+
overflow: "hidden",
|
|
612
|
+
minWidth: 0,
|
|
613
|
+
minHeight: 0,
|
|
614
|
+
boxSizing: "border-box"
|
|
579
615
|
}
|
|
580
616
|
},
|
|
581
617
|
h
|
|
@@ -591,34 +627,34 @@ class es extends y {
|
|
|
591
627
|
);
|
|
592
628
|
}
|
|
593
629
|
}
|
|
594
|
-
const
|
|
595
|
-
function
|
|
630
|
+
const Yi = _(is);
|
|
631
|
+
function Tt(e) {
|
|
596
632
|
return typeof e == "number" ? `${e}px` : e;
|
|
597
633
|
}
|
|
598
|
-
function
|
|
634
|
+
function ns(e, s) {
|
|
599
635
|
if (!(typeof s != "string" || !P(s)))
|
|
600
636
|
for (const t of W(s))
|
|
601
637
|
e.bindSignal(t);
|
|
602
638
|
}
|
|
603
|
-
function
|
|
639
|
+
function st(e, s) {
|
|
604
640
|
if (typeof s == "function") {
|
|
605
641
|
try {
|
|
606
|
-
|
|
642
|
+
st(e, s());
|
|
607
643
|
} catch {
|
|
608
644
|
}
|
|
609
645
|
return;
|
|
610
646
|
}
|
|
611
647
|
if (typeof s == "string") {
|
|
612
|
-
|
|
648
|
+
ns(e, s);
|
|
613
649
|
return;
|
|
614
650
|
}
|
|
615
651
|
if (Array.isArray(s))
|
|
616
|
-
for (const t of s)
|
|
652
|
+
for (const t of s) st(e, t);
|
|
617
653
|
}
|
|
618
|
-
function
|
|
654
|
+
function as(e) {
|
|
619
655
|
return typeof e == "string" && P(e) ? H(e) : e;
|
|
620
656
|
}
|
|
621
|
-
class
|
|
657
|
+
class os extends y {
|
|
622
658
|
constructor() {
|
|
623
659
|
super(...arguments);
|
|
624
660
|
c(this, "_direction", "horizontal");
|
|
@@ -635,16 +671,16 @@ class is extends y {
|
|
|
635
671
|
return this._runSpacing = t, this;
|
|
636
672
|
}
|
|
637
673
|
children(t) {
|
|
638
|
-
return
|
|
674
|
+
return st(this, t), super.children(t);
|
|
639
675
|
}
|
|
640
676
|
props(t) {
|
|
641
|
-
return t && "children" in t &&
|
|
677
|
+
return t && "children" in t && st(this, t.children), super.props(t);
|
|
642
678
|
}
|
|
643
679
|
build() {
|
|
644
680
|
const t = this.getStyle();
|
|
645
|
-
t.display = "flex", t.flexWrap = "wrap", t.flexDirection = this._direction === "vertical" ? "column" : "row", this._spacing != null && (t.gap =
|
|
681
|
+
t.display = "flex", t.flexWrap = "wrap", t.flexDirection = this._direction === "vertical" ? "column" : "row", this._spacing != null && (t.gap = Tt(this._spacing)), this._runSpacing != null && (t.rowGap = Tt(this._runSpacing));
|
|
646
682
|
const { children: r, className: i, ...n } = this._props, o = r !== void 0 ? r : this.processChildren(), a = (o == null ? [] : Array.isArray(o) ? o : [o]).map(
|
|
647
|
-
|
|
683
|
+
as
|
|
648
684
|
), l = ["fibo-wrap", this.getClassName(), i].filter(Boolean).join(" ");
|
|
649
685
|
return u.createElement(
|
|
650
686
|
"div",
|
|
@@ -657,42 +693,42 @@ class is extends y {
|
|
|
657
693
|
);
|
|
658
694
|
}
|
|
659
695
|
}
|
|
660
|
-
const
|
|
661
|
-
function
|
|
696
|
+
const qi = _(os);
|
|
697
|
+
function ls(e, s) {
|
|
662
698
|
if (!(typeof s != "string" || !P(s)))
|
|
663
699
|
for (const t of W(s))
|
|
664
700
|
e.bindSignal(t);
|
|
665
701
|
}
|
|
666
|
-
function
|
|
702
|
+
function rt(e, s) {
|
|
667
703
|
if (typeof s == "function") {
|
|
668
704
|
try {
|
|
669
|
-
|
|
705
|
+
rt(e, s());
|
|
670
706
|
} catch {
|
|
671
707
|
}
|
|
672
708
|
return;
|
|
673
709
|
}
|
|
674
710
|
if (typeof s == "string") {
|
|
675
|
-
|
|
711
|
+
ls(e, s);
|
|
676
712
|
return;
|
|
677
713
|
}
|
|
678
714
|
if (Array.isArray(s))
|
|
679
|
-
for (const t of s)
|
|
715
|
+
for (const t of s) rt(e, t);
|
|
680
716
|
}
|
|
681
|
-
function
|
|
717
|
+
function cs(e) {
|
|
682
718
|
return typeof e == "string" && P(e) ? H(e) : e;
|
|
683
719
|
}
|
|
684
|
-
class
|
|
720
|
+
class us extends y {
|
|
685
721
|
children(s) {
|
|
686
|
-
return
|
|
722
|
+
return rt(this, s), super.children(s);
|
|
687
723
|
}
|
|
688
724
|
props(s) {
|
|
689
|
-
return s && "children" in s &&
|
|
725
|
+
return s && "children" in s && rt(this, s.children), super.props(s);
|
|
690
726
|
}
|
|
691
727
|
build() {
|
|
692
728
|
const s = this.getStyle();
|
|
693
729
|
s.display = "flex", s.alignItems = "baseline";
|
|
694
730
|
const { children: t, className: r, ...i } = this._props, n = t !== void 0 ? t : this.processChildren(), o = (n == null ? [] : Array.isArray(n) ? n : [n]).map(
|
|
695
|
-
|
|
731
|
+
cs
|
|
696
732
|
), a = ["fibo-baseline", this.getClassName(), r].filter(Boolean).join(" ");
|
|
697
733
|
return u.createElement(
|
|
698
734
|
"div",
|
|
@@ -705,8 +741,8 @@ class os extends y {
|
|
|
705
741
|
);
|
|
706
742
|
}
|
|
707
743
|
}
|
|
708
|
-
const
|
|
709
|
-
class
|
|
744
|
+
const Zi = _(us);
|
|
745
|
+
class hs extends y {
|
|
710
746
|
constructor() {
|
|
711
747
|
super(...arguments);
|
|
712
748
|
c(this, "_title", "");
|
|
@@ -736,8 +772,8 @@ class ls extends y {
|
|
|
736
772
|
);
|
|
737
773
|
}
|
|
738
774
|
}
|
|
739
|
-
const
|
|
740
|
-
class
|
|
775
|
+
const Qi = _(hs);
|
|
776
|
+
class ds extends y {
|
|
741
777
|
build() {
|
|
742
778
|
const { className: s, style: t, ...r } = this._props, i = {
|
|
743
779
|
display: "flex",
|
|
@@ -756,8 +792,8 @@ class cs extends y {
|
|
|
756
792
|
);
|
|
757
793
|
}
|
|
758
794
|
}
|
|
759
|
-
const
|
|
760
|
-
class
|
|
795
|
+
const Ji = _(ds);
|
|
796
|
+
class fs extends y {
|
|
761
797
|
constructor() {
|
|
762
798
|
super(...arguments);
|
|
763
799
|
c(this, "_slivers", []);
|
|
@@ -773,8 +809,8 @@ class us extends y {
|
|
|
773
809
|
...this.getStyle(),
|
|
774
810
|
...r && typeof r == "object" ? r : {}
|
|
775
811
|
}, o = ["fibo-custom-scroll-view", this.getClassName(), t].filter(Boolean).join(" "), a = this._slivers.map((l, h) => {
|
|
776
|
-
const
|
|
777
|
-
return u.isValidElement(
|
|
812
|
+
const d = $e(l) ? l.build() : l;
|
|
813
|
+
return u.isValidElement(d) && (d.key == null || d.key === "") ? u.cloneElement(d, { key: h }) : d;
|
|
778
814
|
});
|
|
779
815
|
return u.createElement(
|
|
780
816
|
"div",
|
|
@@ -787,12 +823,12 @@ class us extends y {
|
|
|
787
823
|
);
|
|
788
824
|
}
|
|
789
825
|
}
|
|
790
|
-
const
|
|
791
|
-
function
|
|
826
|
+
const tn = _(fs);
|
|
827
|
+
function $t(e, s, t) {
|
|
792
828
|
return Math.min(t, Math.max(s, e));
|
|
793
829
|
}
|
|
794
|
-
const
|
|
795
|
-
const { value: s, min: t, max: r, label: i, color: n, className: o, style: a } = e, l = 100, h = 100,
|
|
830
|
+
const ms = u.memo((e) => {
|
|
831
|
+
const { value: s, min: t, max: r, label: i, color: n, className: o, style: a } = e, l = 100, h = 100, d = 80, m = Math.PI * d, f = r - t, b = (f === 0 ? 0 : ($t(s, t, r) - t) / f) * m, g = `M ${l - d} ${h} A ${d} ${d} 0 0 1 ${l + d} ${h}`;
|
|
796
832
|
return u.createElement(
|
|
797
833
|
"div",
|
|
798
834
|
{
|
|
@@ -809,7 +845,7 @@ const hs = u.memo((e) => {
|
|
|
809
845
|
role: "meter",
|
|
810
846
|
"aria-valuemin": t,
|
|
811
847
|
"aria-valuemax": r,
|
|
812
|
-
"aria-valuenow":
|
|
848
|
+
"aria-valuenow": $t(s, t, r),
|
|
813
849
|
"aria-label": i || "Gauge"
|
|
814
850
|
},
|
|
815
851
|
u.createElement("path", {
|
|
@@ -833,7 +869,7 @@ const hs = u.memo((e) => {
|
|
|
833
869
|
i ? u.createElement("span", { className: "fibo-gauge-label text-sm font-medium" }, i) : null
|
|
834
870
|
);
|
|
835
871
|
});
|
|
836
|
-
class
|
|
872
|
+
class ps extends y {
|
|
837
873
|
constructor() {
|
|
838
874
|
super(...arguments);
|
|
839
875
|
c(this, "_value", 0);
|
|
@@ -859,7 +895,7 @@ class fs extends y {
|
|
|
859
895
|
}
|
|
860
896
|
build() {
|
|
861
897
|
const { className: t, style: r, ...i } = this._props;
|
|
862
|
-
return u.createElement(
|
|
898
|
+
return u.createElement(ms, {
|
|
863
899
|
value: this._value,
|
|
864
900
|
min: this._min,
|
|
865
901
|
max: this._max,
|
|
@@ -871,12 +907,12 @@ class fs extends y {
|
|
|
871
907
|
});
|
|
872
908
|
}
|
|
873
909
|
}
|
|
874
|
-
const
|
|
875
|
-
function
|
|
910
|
+
const en = _(ps);
|
|
911
|
+
function gs(e) {
|
|
876
912
|
const s = {};
|
|
877
913
|
return e.bold && (s.fontWeight = 700), e.italic && (s.fontStyle = "italic"), e.color && (s.color = e.color), s;
|
|
878
914
|
}
|
|
879
|
-
class
|
|
915
|
+
class _s extends y {
|
|
880
916
|
constructor() {
|
|
881
917
|
super(...arguments);
|
|
882
918
|
c(this, "_spans", []);
|
|
@@ -888,7 +924,7 @@ class ms extends y {
|
|
|
888
924
|
const t = this._spans.map(
|
|
889
925
|
(r, i) => u.createElement(
|
|
890
926
|
"span",
|
|
891
|
-
{ key: i, style:
|
|
927
|
+
{ key: i, style: gs(r) },
|
|
892
928
|
typeof r.text == "string" ? r.text : ""
|
|
893
929
|
)
|
|
894
930
|
);
|
|
@@ -902,8 +938,8 @@ class ms extends y {
|
|
|
902
938
|
);
|
|
903
939
|
}
|
|
904
940
|
}
|
|
905
|
-
const
|
|
906
|
-
class
|
|
941
|
+
const sn = _(_s);
|
|
942
|
+
class ys extends y {
|
|
907
943
|
constructor(t = "") {
|
|
908
944
|
super();
|
|
909
945
|
c(this, "_text", "");
|
|
@@ -927,8 +963,8 @@ class ps extends y {
|
|
|
927
963
|
);
|
|
928
964
|
}
|
|
929
965
|
}
|
|
930
|
-
const
|
|
931
|
-
function
|
|
966
|
+
const rn = _(ys), ot = /* @__PURE__ */ new Map();
|
|
967
|
+
function bs({
|
|
932
968
|
src: e,
|
|
933
969
|
alt: s,
|
|
934
970
|
placeholder: t,
|
|
@@ -936,26 +972,26 @@ function gs({
|
|
|
936
972
|
className: i,
|
|
937
973
|
style: n
|
|
938
974
|
}) {
|
|
939
|
-
const o = e && !F(e) ? e : void 0, a = r && o ?
|
|
975
|
+
const o = e && !F(e) ? e : void 0, a = r && o ? ot.get(o) : void 0, [l, h] = R(a === "error"), [d, m] = R(a === "ok");
|
|
940
976
|
return l ? u.createElement(u.Fragment, null, t ?? null) : u.createElement(
|
|
941
977
|
u.Fragment,
|
|
942
978
|
null,
|
|
943
|
-
!
|
|
979
|
+
!d && t != null ? t : null,
|
|
944
980
|
u.createElement("img", {
|
|
945
981
|
src: o,
|
|
946
982
|
alt: s,
|
|
947
983
|
className: i,
|
|
948
984
|
style: n,
|
|
949
985
|
onLoad: () => {
|
|
950
|
-
r && o &&
|
|
986
|
+
r && o && ot.set(o, "ok"), m(!0);
|
|
951
987
|
},
|
|
952
988
|
onError: () => {
|
|
953
|
-
r && o &&
|
|
989
|
+
r && o && ot.set(o, "error"), h(!0);
|
|
954
990
|
}
|
|
955
991
|
})
|
|
956
992
|
);
|
|
957
993
|
}
|
|
958
|
-
class
|
|
994
|
+
class Ss extends y {
|
|
959
995
|
constructor(t = "") {
|
|
960
996
|
super();
|
|
961
997
|
c(this, "_src", "");
|
|
@@ -977,7 +1013,7 @@ class _s extends y {
|
|
|
977
1013
|
return this._cache = t !== !1, this;
|
|
978
1014
|
}
|
|
979
1015
|
build() {
|
|
980
|
-
return u.createElement(
|
|
1016
|
+
return u.createElement(bs, {
|
|
981
1017
|
src: this._src,
|
|
982
1018
|
alt: this._alt,
|
|
983
1019
|
placeholder: this._placeholder,
|
|
@@ -987,8 +1023,8 @@ class _s extends y {
|
|
|
987
1023
|
});
|
|
988
1024
|
}
|
|
989
1025
|
}
|
|
990
|
-
const
|
|
991
|
-
class
|
|
1026
|
+
const nn = _(Ss);
|
|
1027
|
+
class vs extends y {
|
|
992
1028
|
constructor() {
|
|
993
1029
|
super(...arguments);
|
|
994
1030
|
c(this, "_src", "");
|
|
@@ -1015,8 +1051,8 @@ class ys extends y {
|
|
|
1015
1051
|
});
|
|
1016
1052
|
}
|
|
1017
1053
|
}
|
|
1018
|
-
const
|
|
1019
|
-
class
|
|
1054
|
+
const an = _(vs), Cs = "allow-scripts allow-same-origin allow-popups";
|
|
1055
|
+
class ks extends y {
|
|
1020
1056
|
constructor() {
|
|
1021
1057
|
super(...arguments);
|
|
1022
1058
|
c(this, "_src", "");
|
|
@@ -1035,12 +1071,12 @@ class Ss extends y {
|
|
|
1035
1071
|
style: this.getStyle(),
|
|
1036
1072
|
src: t,
|
|
1037
1073
|
title: this._title || void 0,
|
|
1038
|
-
sandbox: r ?
|
|
1074
|
+
sandbox: r ? Cs : void 0
|
|
1039
1075
|
});
|
|
1040
1076
|
}
|
|
1041
1077
|
}
|
|
1042
|
-
const
|
|
1043
|
-
function
|
|
1078
|
+
const on = _(ks), ws = /^(#{1,6})[ \t]+(.*)$/;
|
|
1079
|
+
function Es(e) {
|
|
1044
1080
|
const s = e.trim();
|
|
1045
1081
|
if (!s || /[\u0000-\u001F\s]/.test(s)) return null;
|
|
1046
1082
|
try {
|
|
@@ -1051,7 +1087,7 @@ function ks(e) {
|
|
|
1051
1087
|
}
|
|
1052
1088
|
return null;
|
|
1053
1089
|
}
|
|
1054
|
-
function
|
|
1090
|
+
function Bt(e, s) {
|
|
1055
1091
|
const t = [];
|
|
1056
1092
|
let r = 0, i = 0, n = 0;
|
|
1057
1093
|
const o = (a) => {
|
|
@@ -1090,13 +1126,13 @@ function Tt(e, s) {
|
|
|
1090
1126
|
if (a !== -1 && e[a + 1] === "(") {
|
|
1091
1127
|
const l = e.indexOf(")", a + 2);
|
|
1092
1128
|
if (l !== -1) {
|
|
1093
|
-
const h = e.slice(r + 1, a),
|
|
1094
|
-
o(r),
|
|
1129
|
+
const h = e.slice(r + 1, a), d = Es(e.slice(a + 2, l));
|
|
1130
|
+
o(r), d ? t.push(
|
|
1095
1131
|
u.createElement(
|
|
1096
1132
|
"a",
|
|
1097
1133
|
{
|
|
1098
1134
|
key: `${s}-a${n++}`,
|
|
1099
|
-
href:
|
|
1135
|
+
href: d,
|
|
1100
1136
|
rel: "noopener noreferrer"
|
|
1101
1137
|
},
|
|
1102
1138
|
h
|
|
@@ -1110,25 +1146,25 @@ function Tt(e, s) {
|
|
|
1110
1146
|
}
|
|
1111
1147
|
return o(e.length), t;
|
|
1112
1148
|
}
|
|
1113
|
-
function
|
|
1149
|
+
function Ns(e) {
|
|
1114
1150
|
const s = e.replace(/\r\n/g, `
|
|
1115
1151
|
`).split(`
|
|
1116
1152
|
`), t = [];
|
|
1117
1153
|
return s.forEach((r, i) => {
|
|
1118
|
-
const n =
|
|
1154
|
+
const n = ws.exec(r);
|
|
1119
1155
|
if (n) {
|
|
1120
1156
|
const a = `h${n[1].length}`;
|
|
1121
1157
|
t.push(
|
|
1122
|
-
u.createElement(a, { key: `md-${i}` },
|
|
1158
|
+
u.createElement(a, { key: `md-${i}` }, Bt(n[2], `md-${i}`))
|
|
1123
1159
|
);
|
|
1124
1160
|
return;
|
|
1125
1161
|
}
|
|
1126
1162
|
r.trim() !== "" && t.push(
|
|
1127
|
-
u.createElement("p", { key: `md-${i}` },
|
|
1163
|
+
u.createElement("p", { key: `md-${i}` }, Bt(r, `md-${i}`))
|
|
1128
1164
|
);
|
|
1129
1165
|
}), t;
|
|
1130
1166
|
}
|
|
1131
|
-
class
|
|
1167
|
+
class xs extends y {
|
|
1132
1168
|
constructor() {
|
|
1133
1169
|
super(...arguments);
|
|
1134
1170
|
c(this, "_text", "");
|
|
@@ -1143,12 +1179,12 @@ class ws extends y {
|
|
|
1143
1179
|
className: `fibo-markdown ${this.getClassName()}`.trim(),
|
|
1144
1180
|
style: this.getStyle()
|
|
1145
1181
|
},
|
|
1146
|
-
|
|
1182
|
+
Ns(this._text)
|
|
1147
1183
|
);
|
|
1148
1184
|
}
|
|
1149
1185
|
}
|
|
1150
|
-
const
|
|
1151
|
-
function
|
|
1186
|
+
const ln = _(xs);
|
|
1187
|
+
function Ts(e, s) {
|
|
1152
1188
|
const t = typeof e == "number" && Number.isFinite(e) ? e : 0;
|
|
1153
1189
|
if (typeof s == "function") {
|
|
1154
1190
|
const r = s(t);
|
|
@@ -1156,7 +1192,7 @@ function Es(e, s) {
|
|
|
1156
1192
|
}
|
|
1157
1193
|
return String(t);
|
|
1158
1194
|
}
|
|
1159
|
-
const
|
|
1195
|
+
const $s = (e) => {
|
|
1160
1196
|
const { value: s, format: t, className: r, style: i } = e;
|
|
1161
1197
|
return u.createElement(
|
|
1162
1198
|
"span",
|
|
@@ -1164,10 +1200,10 @@ const Ns = (e) => {
|
|
|
1164
1200
|
className: ["fibo-numeric-text", r].filter(Boolean).join(" "),
|
|
1165
1201
|
style: i
|
|
1166
1202
|
},
|
|
1167
|
-
|
|
1203
|
+
Ts(s, t)
|
|
1168
1204
|
);
|
|
1169
1205
|
};
|
|
1170
|
-
class
|
|
1206
|
+
class Bs extends y {
|
|
1171
1207
|
constructor() {
|
|
1172
1208
|
super(...arguments);
|
|
1173
1209
|
c(this, "_value", 0);
|
|
@@ -1182,7 +1218,7 @@ class xs extends y {
|
|
|
1182
1218
|
}
|
|
1183
1219
|
build() {
|
|
1184
1220
|
const { className: t, style: r, ...i } = this._props;
|
|
1185
|
-
return u.createElement(
|
|
1221
|
+
return u.createElement($s, {
|
|
1186
1222
|
value: this._value,
|
|
1187
1223
|
format: this._format,
|
|
1188
1224
|
className: [this.getClassName(), t].filter(Boolean).join(" ") || void 0,
|
|
@@ -1191,8 +1227,8 @@ class xs extends y {
|
|
|
1191
1227
|
});
|
|
1192
1228
|
}
|
|
1193
1229
|
}
|
|
1194
|
-
const
|
|
1195
|
-
class
|
|
1230
|
+
const cn = _(Bs);
|
|
1231
|
+
class Ls extends y {
|
|
1196
1232
|
constructor() {
|
|
1197
1233
|
super(...arguments);
|
|
1198
1234
|
c(this, "_src", "");
|
|
@@ -1215,30 +1251,30 @@ class Ts extends y {
|
|
|
1215
1251
|
});
|
|
1216
1252
|
}
|
|
1217
1253
|
}
|
|
1218
|
-
const
|
|
1219
|
-
function
|
|
1254
|
+
const un = _(Ls);
|
|
1255
|
+
function pt(e) {
|
|
1220
1256
|
return typeof e != "string" || e.length === 0 ? "" : e.replace(/<script\b[^>]*>[\s\S]*?<\/script\s*>/gi, "").replace(/<script\b[^>]*>/gi, "");
|
|
1221
1257
|
}
|
|
1222
|
-
function
|
|
1258
|
+
function Ps(e) {
|
|
1223
1259
|
const s = document.execCommand;
|
|
1224
1260
|
typeof s == "function" && s.call(document, e);
|
|
1225
1261
|
}
|
|
1226
|
-
function
|
|
1262
|
+
function Rs({ html: e, onChange: s, className: t, style: r }) {
|
|
1227
1263
|
const i = N(null);
|
|
1228
1264
|
U(() => {
|
|
1229
1265
|
const a = i.current;
|
|
1230
1266
|
if (!a) return;
|
|
1231
|
-
const l =
|
|
1267
|
+
const l = pt(e);
|
|
1232
1268
|
a.innerHTML !== l && (a.innerHTML = l);
|
|
1233
1269
|
}, [e]);
|
|
1234
1270
|
const n = () => {
|
|
1235
1271
|
const a = i.current;
|
|
1236
1272
|
if (!a) return;
|
|
1237
|
-
const l =
|
|
1273
|
+
const l = pt(a.innerHTML);
|
|
1238
1274
|
a.innerHTML !== l && (a.innerHTML = l), s == null || s(l);
|
|
1239
1275
|
}, o = (a) => {
|
|
1240
1276
|
var l;
|
|
1241
|
-
(l = i.current) == null || l.focus(),
|
|
1277
|
+
(l = i.current) == null || l.focus(), Ps(a), n();
|
|
1242
1278
|
};
|
|
1243
1279
|
return u.createElement(
|
|
1244
1280
|
"div",
|
|
@@ -1268,7 +1304,7 @@ function Bs({ html: e, onChange: s, className: t, style: r }) {
|
|
|
1268
1304
|
})
|
|
1269
1305
|
);
|
|
1270
1306
|
}
|
|
1271
|
-
class
|
|
1307
|
+
class As extends y {
|
|
1272
1308
|
constructor() {
|
|
1273
1309
|
super(...arguments);
|
|
1274
1310
|
c(this, "_html", "");
|
|
@@ -1276,14 +1312,14 @@ class Ls extends y {
|
|
|
1276
1312
|
}
|
|
1277
1313
|
/** HTML shown in the editor. Script tags are removed before they are stored. */
|
|
1278
1314
|
value(t) {
|
|
1279
|
-
return this._html =
|
|
1315
|
+
return this._html = pt(t), this;
|
|
1280
1316
|
}
|
|
1281
1317
|
/** Called with the editor HTML after each edit. The argument never contains script tags. */
|
|
1282
1318
|
onChange(t) {
|
|
1283
1319
|
return this._onChange = t, this;
|
|
1284
1320
|
}
|
|
1285
1321
|
build() {
|
|
1286
|
-
return u.createElement(
|
|
1322
|
+
return u.createElement(Rs, {
|
|
1287
1323
|
html: this._html,
|
|
1288
1324
|
onChange: this._onChange,
|
|
1289
1325
|
className: `fibo-rich-editor ${this.getClassName()}`.trim(),
|
|
@@ -1291,7 +1327,7 @@ class Ls extends y {
|
|
|
1291
1327
|
});
|
|
1292
1328
|
}
|
|
1293
1329
|
}
|
|
1294
|
-
const
|
|
1330
|
+
const hn = _(As), Ms = u.memo((e) => {
|
|
1295
1331
|
const { title: s, message: t, actionLabel: r, onAction: i, className: n, style: o, ...a } = e, l = [
|
|
1296
1332
|
u.createElement(
|
|
1297
1333
|
"h2",
|
|
@@ -1327,7 +1363,7 @@ const an = _(Ls), Ps = u.memo((e) => {
|
|
|
1327
1363
|
l
|
|
1328
1364
|
);
|
|
1329
1365
|
});
|
|
1330
|
-
class
|
|
1366
|
+
class Fs extends y {
|
|
1331
1367
|
constructor() {
|
|
1332
1368
|
super(...arguments);
|
|
1333
1369
|
c(this, "_title", "");
|
|
@@ -1346,7 +1382,7 @@ class Rs extends y {
|
|
|
1346
1382
|
}
|
|
1347
1383
|
build() {
|
|
1348
1384
|
const { className: t, style: r, ...i } = this._props;
|
|
1349
|
-
return u.createElement(
|
|
1385
|
+
return u.createElement(Ms, {
|
|
1350
1386
|
title: this._title,
|
|
1351
1387
|
message: this._message,
|
|
1352
1388
|
actionLabel: this._actionLabel,
|
|
@@ -1357,7 +1393,7 @@ class Rs extends y {
|
|
|
1357
1393
|
});
|
|
1358
1394
|
}
|
|
1359
1395
|
}
|
|
1360
|
-
const
|
|
1396
|
+
const dn = _(Fs), Lt = [
|
|
1361
1397
|
"#3B82F6",
|
|
1362
1398
|
"#22C55E",
|
|
1363
1399
|
"#F59E0B",
|
|
@@ -1370,16 +1406,16 @@ const on = _(Rs), $t = [
|
|
|
1370
1406
|
function I(e, s) {
|
|
1371
1407
|
var r;
|
|
1372
1408
|
const t = (r = e.colors) == null ? void 0 : r[s];
|
|
1373
|
-
return t || (e.color ? e.color :
|
|
1409
|
+
return t || (e.color ? e.color : Lt[s % Lt.length]);
|
|
1374
1410
|
}
|
|
1375
|
-
function
|
|
1411
|
+
function gt(e) {
|
|
1376
1412
|
let s = 0;
|
|
1377
1413
|
for (const t of e)
|
|
1378
1414
|
for (const r of t.data)
|
|
1379
1415
|
Number.isFinite(r) && r > s && (s = r);
|
|
1380
1416
|
return s || 1;
|
|
1381
1417
|
}
|
|
1382
|
-
function
|
|
1418
|
+
function Is(e) {
|
|
1383
1419
|
const s = e.map((i) => Number.isFinite(i) && i > 0 ? i : 0), t = s.reduce((i, n) => i + n, 0) || 1;
|
|
1384
1420
|
let r = -Math.PI / 2;
|
|
1385
1421
|
return s.map((i) => {
|
|
@@ -1387,7 +1423,7 @@ function As(e) {
|
|
|
1387
1423
|
return r += n, o;
|
|
1388
1424
|
});
|
|
1389
1425
|
}
|
|
1390
|
-
function
|
|
1426
|
+
function Ds(e) {
|
|
1391
1427
|
const s = e.map((n) => ({
|
|
1392
1428
|
color: n.color,
|
|
1393
1429
|
value: Number.isFinite(n.value) && n.value > 0 ? n.value : 0
|
|
@@ -1398,17 +1434,17 @@ function Ms(e) {
|
|
|
1398
1434
|
return r += n.value / t * 100, `${n.color} ${o}% ${r}%`;
|
|
1399
1435
|
}).join(", ")})`;
|
|
1400
1436
|
}
|
|
1401
|
-
function
|
|
1437
|
+
function Os(e, s) {
|
|
1402
1438
|
return !Number.isFinite(e) || e <= 0 || s <= 0 ? 0 : Math.min(100, e / s * 100);
|
|
1403
1439
|
}
|
|
1404
|
-
function
|
|
1440
|
+
function js(e, s, t) {
|
|
1405
1441
|
const r = t.maxLat - t.minLat || 1, i = t.maxLng - t.minLng || 1;
|
|
1406
1442
|
return {
|
|
1407
1443
|
x: (s - t.minLng) / i,
|
|
1408
1444
|
y: (t.maxLat - e) / r
|
|
1409
1445
|
};
|
|
1410
1446
|
}
|
|
1411
|
-
function
|
|
1447
|
+
function oe(e, s, t) {
|
|
1412
1448
|
const r = Math.max(t, 0.01) / 2;
|
|
1413
1449
|
return {
|
|
1414
1450
|
minLat: e - r,
|
|
@@ -1417,8 +1453,8 @@ function ne(e, s, t) {
|
|
|
1417
1453
|
maxLng: s + r
|
|
1418
1454
|
};
|
|
1419
1455
|
}
|
|
1420
|
-
function
|
|
1421
|
-
if (e.length === 0) return
|
|
1456
|
+
function Hs(e, s = 0.15) {
|
|
1457
|
+
if (e.length === 0) return oe(0, 0, 40);
|
|
1422
1458
|
let t = e[0].lat, r = e[0].lat, i = e[0].lng, n = e[0].lng;
|
|
1423
1459
|
for (const l of e)
|
|
1424
1460
|
l.lat < t && (t = l.lat), l.lat > r && (r = l.lat), l.lng < i && (i = l.lng), l.lng > n && (n = l.lng);
|
|
@@ -1431,7 +1467,7 @@ function Ds(e, s = 0.15) {
|
|
|
1431
1467
|
};
|
|
1432
1468
|
}
|
|
1433
1469
|
const O = { left: 36, right: 12, top: 12, bottom: 28 };
|
|
1434
|
-
function
|
|
1470
|
+
function Ws(e, s) {
|
|
1435
1471
|
return {
|
|
1436
1472
|
x: O.left,
|
|
1437
1473
|
y: O.top,
|
|
@@ -1439,10 +1475,10 @@ function Os(e, s) {
|
|
|
1439
1475
|
h: Math.max(1, s - O.top - O.bottom)
|
|
1440
1476
|
};
|
|
1441
1477
|
}
|
|
1442
|
-
function
|
|
1478
|
+
function le(e) {
|
|
1443
1479
|
return e.reduce((s, t) => Math.max(s, t.data.length), 0);
|
|
1444
1480
|
}
|
|
1445
|
-
function
|
|
1481
|
+
function Vs(e, s, t) {
|
|
1446
1482
|
e.save(), e.strokeStyle = "#334155", e.fillStyle = "#94A3B8", e.font = "11px sans-serif", e.lineWidth = 1;
|
|
1447
1483
|
for (let r = 0; r <= 4; r += 1) {
|
|
1448
1484
|
const i = s.y + s.h * r / 4;
|
|
@@ -1452,92 +1488,92 @@ function js(e, s, t) {
|
|
|
1452
1488
|
}
|
|
1453
1489
|
e.restore();
|
|
1454
1490
|
}
|
|
1455
|
-
function
|
|
1491
|
+
function Z(e, s, t, r, i) {
|
|
1456
1492
|
const n = t <= 1 ? i.x + i.w / 2 : i.x + e / (t - 1) * i.w, o = i.y + i.h - Math.max(0, s) / r * i.h;
|
|
1457
1493
|
return { x: n, y: o };
|
|
1458
1494
|
}
|
|
1459
|
-
function
|
|
1495
|
+
function Gs(e, s, t, r, i, n, o) {
|
|
1460
1496
|
const a = I(s, t);
|
|
1461
1497
|
if (e.beginPath(), s.data.forEach((l, h) => {
|
|
1462
1498
|
if (!Number.isFinite(l)) return;
|
|
1463
|
-
const
|
|
1464
|
-
h === 0 ? e.moveTo(
|
|
1499
|
+
const d = Z(h, l, r, i, n);
|
|
1500
|
+
h === 0 ? e.moveTo(d.x, d.y) : e.lineTo(d.x, d.y);
|
|
1465
1501
|
}), o && s.data.length > 0) {
|
|
1466
|
-
const l =
|
|
1502
|
+
const l = Z(s.data.length - 1, 0, r, i, n), h = Z(0, 0, r, i, n);
|
|
1467
1503
|
e.lineTo(l.x, n.y + n.h), e.lineTo(h.x, n.y + n.h), e.closePath(), e.fillStyle = a, e.globalAlpha = 0.25, e.fill(), e.globalAlpha = 1;
|
|
1468
1504
|
}
|
|
1469
1505
|
e.strokeStyle = a, e.lineWidth = 2, e.stroke();
|
|
1470
1506
|
}
|
|
1471
|
-
function
|
|
1507
|
+
function zs(e, s, t, r, i) {
|
|
1472
1508
|
const n = i.w / Math.max(t, 1), o = Math.max(2, n * 0.7 / Math.max(s.length, 1));
|
|
1473
1509
|
s.forEach((a, l) => {
|
|
1474
|
-
e.fillStyle = I(a, l), a.data.forEach((h,
|
|
1510
|
+
e.fillStyle = I(a, l), a.data.forEach((h, d) => {
|
|
1475
1511
|
if (!Number.isFinite(h) || h <= 0) return;
|
|
1476
|
-
const m = h / r * i.h,
|
|
1477
|
-
e.fillRect(
|
|
1512
|
+
const m = h / r * i.h, f = i.x + d * n + (n - o * s.length) / 2 + l * o;
|
|
1513
|
+
e.fillRect(f, i.y + i.h - m, o - 1, m);
|
|
1478
1514
|
});
|
|
1479
1515
|
});
|
|
1480
1516
|
}
|
|
1481
|
-
function
|
|
1482
|
-
var
|
|
1483
|
-
const n = ((
|
|
1484
|
-
o.forEach((m,
|
|
1485
|
-
e.beginPath(), e.moveTo(a, l), e.fillStyle = I({},
|
|
1517
|
+
function Us(e, s, t, r, i) {
|
|
1518
|
+
var d;
|
|
1519
|
+
const n = ((d = s[0]) == null ? void 0 : d.data) ?? [], o = Is(n), a = t / 2, l = r / 2, h = Math.min(t, r) / 2 - 8;
|
|
1520
|
+
o.forEach((m, f) => {
|
|
1521
|
+
e.beginPath(), e.moveTo(a, l), e.fillStyle = I({}, f), e.arc(a, l, h, m.start, m.end), e.closePath(), e.fill();
|
|
1486
1522
|
}), i && (e.beginPath(), e.fillStyle = "#0F172A", e.arc(a, l, h * 0.58, 0, Math.PI * 2), e.fill());
|
|
1487
1523
|
}
|
|
1488
|
-
function
|
|
1489
|
-
const n =
|
|
1524
|
+
function Xs(e, s, t, r, i) {
|
|
1525
|
+
const n = le(s), o = t / 2, a = r / 2, l = Math.min(t, r) / 2 - 16;
|
|
1490
1526
|
e.strokeStyle = "#334155";
|
|
1491
1527
|
for (let h = 1; h <= 4; h += 1) {
|
|
1492
1528
|
e.beginPath();
|
|
1493
|
-
for (let
|
|
1494
|
-
const m = -Math.PI / 2 +
|
|
1495
|
-
|
|
1529
|
+
for (let d = 0; d < n; d += 1) {
|
|
1530
|
+
const m = -Math.PI / 2 + d / n * Math.PI * 2, f = l * h / 4, p = o + Math.cos(m) * f, b = a + Math.sin(m) * f;
|
|
1531
|
+
d === 0 ? e.moveTo(p, b) : e.lineTo(p, b);
|
|
1496
1532
|
}
|
|
1497
1533
|
e.closePath(), e.stroke();
|
|
1498
1534
|
}
|
|
1499
|
-
s.forEach((h,
|
|
1500
|
-
e.beginPath(), h.data.forEach((m,
|
|
1501
|
-
const p = -Math.PI / 2 +
|
|
1502
|
-
|
|
1503
|
-
}), e.closePath(), e.strokeStyle = I(h,
|
|
1535
|
+
s.forEach((h, d) => {
|
|
1536
|
+
e.beginPath(), h.data.forEach((m, f) => {
|
|
1537
|
+
const p = -Math.PI / 2 + f / Math.max(n, 1) * Math.PI * 2, b = Math.max(0, m) / i * l, g = o + Math.cos(p) * b, S = a + Math.sin(p) * b;
|
|
1538
|
+
f === 0 ? e.moveTo(g, S) : e.lineTo(g, S);
|
|
1539
|
+
}), e.closePath(), e.strokeStyle = I(h, d), e.lineWidth = 2, e.stroke();
|
|
1504
1540
|
});
|
|
1505
1541
|
}
|
|
1506
|
-
function
|
|
1542
|
+
function Ks(e, s) {
|
|
1507
1543
|
const { type: t, series: r, width: i, height: n } = s;
|
|
1508
1544
|
if (e.clearRect(0, 0, i, n), e.fillStyle = "#0F172A", e.fillRect(0, 0, i, n), t === "pie" || t === "donut") {
|
|
1509
|
-
|
|
1545
|
+
Us(e, r, i, n, t === "donut");
|
|
1510
1546
|
return;
|
|
1511
1547
|
}
|
|
1512
1548
|
if (t === "radar") {
|
|
1513
|
-
|
|
1549
|
+
Xs(e, r, i, n, gt(r));
|
|
1514
1550
|
return;
|
|
1515
1551
|
}
|
|
1516
|
-
const o =
|
|
1517
|
-
if (
|
|
1518
|
-
|
|
1552
|
+
const o = Ws(i, n), a = gt(r), l = le(r);
|
|
1553
|
+
if (Vs(e, o, a), t === "bar") {
|
|
1554
|
+
zs(e, r, l, a, o);
|
|
1519
1555
|
return;
|
|
1520
1556
|
}
|
|
1521
|
-
r.forEach((h,
|
|
1557
|
+
r.forEach((h, d) => {
|
|
1522
1558
|
if (t === "scatter") {
|
|
1523
|
-
e.fillStyle = I(h,
|
|
1559
|
+
e.fillStyle = I(h, d), h.data.forEach((m, f) => {
|
|
1524
1560
|
if (!Number.isFinite(m)) return;
|
|
1525
|
-
const p =
|
|
1561
|
+
const p = Z(f, m, l, a, o);
|
|
1526
1562
|
e.beginPath(), e.arc(p.x, p.y, 3.5, 0, Math.PI * 2), e.fill();
|
|
1527
1563
|
});
|
|
1528
1564
|
return;
|
|
1529
1565
|
}
|
|
1530
|
-
|
|
1566
|
+
Gs(e, h, d, l, a, o, t === "area");
|
|
1531
1567
|
});
|
|
1532
1568
|
}
|
|
1533
|
-
const
|
|
1534
|
-
function
|
|
1569
|
+
const Ys = /* @__PURE__ */ new Set(["bar", "pie", "donut"]);
|
|
1570
|
+
function qs(e) {
|
|
1535
1571
|
const s = N(null);
|
|
1536
1572
|
return U(() => {
|
|
1537
1573
|
const t = s.current, r = t == null ? void 0 : t.getContext("2d");
|
|
1538
1574
|
if (!t || !r) return;
|
|
1539
1575
|
const i = window.devicePixelRatio || 1;
|
|
1540
|
-
t.width = Math.round(e.width * i), t.height = Math.round(e.height * i), r.setTransform(i, 0, 0, i, 0, 0),
|
|
1576
|
+
t.width = Math.round(e.width * i), t.height = Math.round(e.height * i), r.setTransform(i, 0, 0, i, 0, 0), Ks(r, e);
|
|
1541
1577
|
}, [e]), u.createElement("canvas", {
|
|
1542
1578
|
ref: s,
|
|
1543
1579
|
className: "fibo-chart-canvas",
|
|
@@ -1546,8 +1582,8 @@ function Xs(e) {
|
|
|
1546
1582
|
style: { width: e.width, height: e.height, display: "block" }
|
|
1547
1583
|
});
|
|
1548
1584
|
}
|
|
1549
|
-
function
|
|
1550
|
-
const s =
|
|
1585
|
+
function Zs(e) {
|
|
1586
|
+
const s = gt(e.series), t = e.series.reduce((i, n) => Math.max(i, n.data.length), 0), r = [];
|
|
1551
1587
|
for (let i = 0; i < t; i += 1) {
|
|
1552
1588
|
const n = e.series.map(
|
|
1553
1589
|
(o, a) => u.createElement("div", {
|
|
@@ -1555,7 +1591,7 @@ function Ys(e) {
|
|
|
1555
1591
|
className: "fibo-css-bar",
|
|
1556
1592
|
style: {
|
|
1557
1593
|
flex: 1,
|
|
1558
|
-
height: `${
|
|
1594
|
+
height: `${Os(o.data[i] ?? 0, s)}%`,
|
|
1559
1595
|
background: I(o, i),
|
|
1560
1596
|
borderRadius: 0,
|
|
1561
1597
|
minHeight: 0
|
|
@@ -1593,9 +1629,9 @@ function Ys(e) {
|
|
|
1593
1629
|
...r
|
|
1594
1630
|
);
|
|
1595
1631
|
}
|
|
1596
|
-
function
|
|
1632
|
+
function Qs(e) {
|
|
1597
1633
|
var i;
|
|
1598
|
-
const s = ((i = e.series[0]) == null ? void 0 : i.data) ?? [], t =
|
|
1634
|
+
const s = ((i = e.series[0]) == null ? void 0 : i.data) ?? [], t = Ds(
|
|
1599
1635
|
s.map((n, o) => ({ value: n, color: I(e.series[0] ?? {}, o) }))
|
|
1600
1636
|
), r = e.type === "donut";
|
|
1601
1637
|
return u.createElement("div", {
|
|
@@ -1612,8 +1648,8 @@ function Ks(e) {
|
|
|
1612
1648
|
}
|
|
1613
1649
|
});
|
|
1614
1650
|
}
|
|
1615
|
-
const
|
|
1616
|
-
const r = s.renderer === "css" &&
|
|
1651
|
+
const Js = u.memo(function(s) {
|
|
1652
|
+
const r = s.renderer === "css" && Ys.has(s.type) ? s.type === "bar" ? u.createElement(Zs, s) : u.createElement(Qs, s) : u.createElement(qs, s);
|
|
1617
1653
|
return u.createElement(
|
|
1618
1654
|
"figure",
|
|
1619
1655
|
{
|
|
@@ -1623,7 +1659,7 @@ const qs = u.memo(function(s) {
|
|
|
1623
1659
|
r
|
|
1624
1660
|
);
|
|
1625
1661
|
});
|
|
1626
|
-
class
|
|
1662
|
+
class tr extends y {
|
|
1627
1663
|
constructor() {
|
|
1628
1664
|
super(...arguments);
|
|
1629
1665
|
c(this, "_type", "line");
|
|
@@ -1654,7 +1690,7 @@ class Zs extends y {
|
|
|
1654
1690
|
}
|
|
1655
1691
|
build() {
|
|
1656
1692
|
const { className: t, style: r, ...i } = this._props;
|
|
1657
|
-
return u.createElement(
|
|
1693
|
+
return u.createElement(Js, {
|
|
1658
1694
|
type: this._type,
|
|
1659
1695
|
renderer: this._renderer,
|
|
1660
1696
|
series: this._series,
|
|
@@ -1667,24 +1703,24 @@ class Zs extends y {
|
|
|
1667
1703
|
});
|
|
1668
1704
|
}
|
|
1669
1705
|
}
|
|
1670
|
-
const
|
|
1671
|
-
function
|
|
1706
|
+
const fn = _(tr);
|
|
1707
|
+
function _t(e) {
|
|
1672
1708
|
return {
|
|
1673
1709
|
background: e.colors.background,
|
|
1674
1710
|
onBackground: e.colors.onBackground,
|
|
1675
1711
|
primary: e.colors.primary,
|
|
1676
1712
|
secondary: e.colors.secondary,
|
|
1677
1713
|
surface: e.colors.surface,
|
|
1678
|
-
dark:
|
|
1714
|
+
dark: er(e.colors.background)
|
|
1679
1715
|
};
|
|
1680
1716
|
}
|
|
1681
|
-
function
|
|
1717
|
+
function er(e) {
|
|
1682
1718
|
const s = e.trim().match(/^#([0-9a-f]{3}|[0-9a-f]{6})$/i);
|
|
1683
1719
|
if (!s) return !1;
|
|
1684
1720
|
const t = s[1].length === 3 ? s[1].split("").map((o) => o + o).join("") : s[1], r = parseInt(t.slice(0, 2), 16), i = parseInt(t.slice(2, 4), 16), n = parseInt(t.slice(4, 6), 16);
|
|
1685
1721
|
return (r * 299 + i * 587 + n * 114) / 1e3 < 150;
|
|
1686
1722
|
}
|
|
1687
|
-
function
|
|
1723
|
+
function sr(e) {
|
|
1688
1724
|
const s = e.trim().match(/^#([0-9a-f]{6})$/i);
|
|
1689
1725
|
if (!s) return 0;
|
|
1690
1726
|
const t = parseInt(s[1].slice(0, 2), 16) / 255, r = parseInt(s[1].slice(2, 4), 16) / 255, i = parseInt(s[1].slice(4, 6), 16) / 255, n = Math.max(t, r, i), o = Math.min(t, r, i), a = n - o;
|
|
@@ -1692,29 +1728,29 @@ function Js(e) {
|
|
|
1692
1728
|
let l = 0;
|
|
1693
1729
|
return n === t ? l = (r - i) / a % 6 : n === r ? l = (i - t) / a + 2 : l = (t - r) / a + 4, Math.round(l * 60);
|
|
1694
1730
|
}
|
|
1695
|
-
function
|
|
1696
|
-
const s = `sepia(0.7) saturate(2.6) hue-rotate(${
|
|
1731
|
+
function rr(e) {
|
|
1732
|
+
const s = `sepia(0.7) saturate(2.6) hue-rotate(${sr(e.primary)}deg)`;
|
|
1697
1733
|
return e.dark ? `invert(1) hue-rotate(180deg) ${s}` : s;
|
|
1698
1734
|
}
|
|
1699
|
-
const
|
|
1735
|
+
const Q = "https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png", G = "© OpenStreetMap contributors", ir = "https://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}", nr = {
|
|
1700
1736
|
light: {
|
|
1701
|
-
url:
|
|
1702
|
-
attribution:
|
|
1737
|
+
url: Q,
|
|
1738
|
+
attribution: G,
|
|
1703
1739
|
filter: "grayscale(0.85) brightness(1.12)"
|
|
1704
1740
|
},
|
|
1705
1741
|
dark: {
|
|
1706
|
-
url:
|
|
1707
|
-
attribution:
|
|
1742
|
+
url: Q,
|
|
1743
|
+
attribution: G,
|
|
1708
1744
|
filter: "invert(1) hue-rotate(180deg) brightness(0.95) contrast(0.9)"
|
|
1709
1745
|
},
|
|
1710
|
-
streets: { url:
|
|
1746
|
+
streets: { url: Q, attribution: G, filter: "" },
|
|
1711
1747
|
satellite: {
|
|
1712
|
-
url:
|
|
1748
|
+
url: ir,
|
|
1713
1749
|
attribution: "Tiles © Esri",
|
|
1714
1750
|
filter: ""
|
|
1715
1751
|
}
|
|
1716
1752
|
};
|
|
1717
|
-
function
|
|
1753
|
+
function ar(e) {
|
|
1718
1754
|
let s = e;
|
|
1719
1755
|
for (; s; ) {
|
|
1720
1756
|
const t = s.getAttribute("data-fibo-theme"), r = typeof s.className == "string" ? s.className : "";
|
|
@@ -1724,7 +1760,7 @@ function rr(e) {
|
|
|
1724
1760
|
}
|
|
1725
1761
|
return "streets";
|
|
1726
1762
|
}
|
|
1727
|
-
function
|
|
1763
|
+
function or(e, s, t, r) {
|
|
1728
1764
|
e.clearRect(0, 0, s, t);
|
|
1729
1765
|
const i = e.createLinearGradient(0, 0, 0, t);
|
|
1730
1766
|
r === "light" ? (i.addColorStop(0, "#E8EEF6"), i.addColorStop(1, "#F8FAFC")) : (i.addColorStop(0, "#0B1D36"), i.addColorStop(1, "#12304F")), e.fillStyle = i, e.fillRect(0, 0, s, t), e.strokeStyle = "rgba(148, 163, 184, 0.25)", e.lineWidth = 1;
|
|
@@ -1733,14 +1769,14 @@ function ir(e, s, t, r) {
|
|
|
1733
1769
|
e.beginPath(), e.moveTo(o, 0), e.lineTo(o, t), e.stroke(), e.beginPath(), e.moveTo(0, a), e.lineTo(s, a), e.stroke();
|
|
1734
1770
|
}
|
|
1735
1771
|
}
|
|
1736
|
-
function
|
|
1772
|
+
function ce(e) {
|
|
1737
1773
|
return [(e.minLat + e.maxLat) / 2, (e.minLng + e.maxLng) / 2];
|
|
1738
1774
|
}
|
|
1739
|
-
function
|
|
1775
|
+
function ue(e) {
|
|
1740
1776
|
const s = Math.max(e.maxLat - e.minLat, e.maxLng - e.minLng, 0.01);
|
|
1741
1777
|
return Math.max(1, Math.min(18, Math.round(Math.log2(360 / s))));
|
|
1742
1778
|
}
|
|
1743
|
-
const
|
|
1779
|
+
const lr = {
|
|
1744
1780
|
name: "canvas",
|
|
1745
1781
|
mount(e) {
|
|
1746
1782
|
const s = document.createElement("canvas");
|
|
@@ -1751,11 +1787,11 @@ const nr = {
|
|
|
1751
1787
|
const l = s.getContext("2d");
|
|
1752
1788
|
if (!l || n <= 0 || o <= 0) return;
|
|
1753
1789
|
const h = window.devicePixelRatio || 1;
|
|
1754
|
-
s.width = Math.round(n * h), s.height = Math.round(o * h), l.setTransform(h, 0, 0, h, 0, 0),
|
|
1790
|
+
s.width = Math.round(n * h), s.height = Math.round(o * h), l.setTransform(h, 0, 0, h, 0, 0), or(l, n, o, a);
|
|
1755
1791
|
}, i = (n) => {
|
|
1756
1792
|
r(n.width, n.height, n.basemap), t.replaceChildren();
|
|
1757
1793
|
for (const [o, a] of n.markers.entries()) {
|
|
1758
|
-
const l =
|
|
1794
|
+
const l = js(a.lat, a.lng, n.bounds), h = document.createElement("button");
|
|
1759
1795
|
h.type = "button", h.className = "fibo-map-pin", h.setAttribute("aria-label", a.label || `${a.lat}, ${a.lng}`), h.style.cssText = [
|
|
1760
1796
|
"position:absolute",
|
|
1761
1797
|
`left:${l.x * 100}%`,
|
|
@@ -1770,8 +1806,8 @@ const nr = {
|
|
|
1770
1806
|
"rotate:-45deg",
|
|
1771
1807
|
"cursor:pointer"
|
|
1772
1808
|
].join(";"), h.addEventListener("click", () => {
|
|
1773
|
-
var
|
|
1774
|
-
return (
|
|
1809
|
+
var d;
|
|
1810
|
+
return (d = n.onSelect) == null ? void 0 : d.call(n, a);
|
|
1775
1811
|
}), t.append(h);
|
|
1776
1812
|
}
|
|
1777
1813
|
};
|
|
@@ -1783,36 +1819,36 @@ const nr = {
|
|
|
1783
1819
|
};
|
|
1784
1820
|
}
|
|
1785
1821
|
};
|
|
1786
|
-
let
|
|
1787
|
-
function
|
|
1788
|
-
return
|
|
1822
|
+
let lt = null;
|
|
1823
|
+
function cr() {
|
|
1824
|
+
return lt || (lt = import("leaflet").then((e) => e.default ?? e).catch(() => null)), lt;
|
|
1789
1825
|
}
|
|
1790
|
-
function
|
|
1826
|
+
function mn(e = {}) {
|
|
1791
1827
|
return {
|
|
1792
1828
|
name: "leaflet",
|
|
1793
1829
|
mount(s) {
|
|
1794
1830
|
const t = e.leaflet ?? globalThis.L;
|
|
1795
|
-
return t ?
|
|
1831
|
+
return t ? Pt(t, e, s) : typeof window > "u" ? { update() {
|
|
1796
1832
|
}, destroy() {
|
|
1797
|
-
} } :
|
|
1833
|
+
} } : cr().then((r) => r ? Pt(r, e, s) : (s.host.dataset.mapEngine = "leaflet", s.host.textContent = "Leaflet is not loaded.", { update() {
|
|
1798
1834
|
}, destroy() {
|
|
1799
1835
|
} }));
|
|
1800
1836
|
}
|
|
1801
1837
|
};
|
|
1802
1838
|
}
|
|
1803
|
-
function
|
|
1839
|
+
function Pt(e, s, t) {
|
|
1804
1840
|
const r = e.map(t.host, { zoomControl: !0 });
|
|
1805
1841
|
let i = null, n = "";
|
|
1806
1842
|
const o = (g, S) => {
|
|
1807
1843
|
var $, x;
|
|
1808
|
-
const v = s.tiles ? { url: s.tiles, attribution: s.attribution ??
|
|
1844
|
+
const v = s.tiles ? { url: s.tiles, attribution: s.attribution ?? G, filter: "" } : S ? { url: Q, attribution: G, filter: rr(S) } : nr[g];
|
|
1809
1845
|
if (t.host.dataset.basemap = S ? S.dark ? "dark" : "light" : g, S && (t.host.dataset.mapPrimary = S.primary), v.url !== n) {
|
|
1810
1846
|
($ = i == null ? void 0 : i.remove) == null || $.call(i), n = v.url;
|
|
1811
|
-
const
|
|
1847
|
+
const k = e.tileLayer(v.url, {
|
|
1812
1848
|
attribution: v.attribution,
|
|
1813
1849
|
maxZoom: 19
|
|
1814
1850
|
});
|
|
1815
|
-
|
|
1851
|
+
k.addTo(r), i = k;
|
|
1816
1852
|
}
|
|
1817
1853
|
const T = (x = r.getPane) == null ? void 0 : x.call(r, "tilePane");
|
|
1818
1854
|
T && (T.style.filter = v.filter);
|
|
@@ -1820,9 +1856,9 @@ function Bt(e, s, t) {
|
|
|
1820
1856
|
o(t.basemap, t.palette);
|
|
1821
1857
|
let a = "";
|
|
1822
1858
|
const l = [], h = /* @__PURE__ */ new Map();
|
|
1823
|
-
let
|
|
1859
|
+
let d = () => {
|
|
1824
1860
|
}, m = null;
|
|
1825
|
-
const
|
|
1861
|
+
const f = (g) => {
|
|
1826
1862
|
var T, $, x;
|
|
1827
1863
|
if (!g) return;
|
|
1828
1864
|
const S = h.get(g);
|
|
@@ -1831,54 +1867,54 @@ function Bt(e, s, t) {
|
|
|
1831
1867
|
v && (($ = r.panTo) == null || $.call(r, [v.lat, v.lng])), (x = S.openPopup) == null || x.call(S);
|
|
1832
1868
|
}, p = (g) => {
|
|
1833
1869
|
const S = g ?? null;
|
|
1834
|
-
S !== m && (
|
|
1870
|
+
S !== m && (d(), m = S, d = S ? S.subscribe((v) => f(v)) : () => {
|
|
1835
1871
|
});
|
|
1836
1872
|
}, b = (g) => {
|
|
1837
1873
|
var v, T, $, x;
|
|
1838
1874
|
o(g.basemap, g.palette);
|
|
1839
|
-
for (const
|
|
1875
|
+
for (const k of l) k.remove();
|
|
1840
1876
|
l.length = 0, h.clear();
|
|
1841
|
-
for (const
|
|
1842
|
-
const
|
|
1877
|
+
for (const k of g.markers) {
|
|
1878
|
+
const K = ((v = g.palette) == null ? void 0 : v.primary) || "#F59E0B", Ce = /^#[0-9A-Fa-f]{3,8}$/.test(k.color ?? "") ? k.color : K, kt = (T = e.divIcon) == null ? void 0 : T.call(e, {
|
|
1843
1879
|
className: "",
|
|
1844
1880
|
iconSize: [16, 16],
|
|
1845
1881
|
iconAnchor: [8, 16],
|
|
1846
|
-
html: `<span style="display:block;width:14px;height:14px;background:${
|
|
1847
|
-
}), M = e.marker([
|
|
1848
|
-
|
|
1849
|
-
var
|
|
1850
|
-
return (
|
|
1882
|
+
html: `<span style="display:block;width:14px;height:14px;background:${Ce};border:2px solid #fff;border-radius:50% 50% 50% 0;transform:rotate(-45deg)"></span>`
|
|
1883
|
+
}), M = e.marker([k.lat, k.lng], kt ? { icon: kt } : void 0).addTo(r), wt = k.popup || k.label;
|
|
1884
|
+
wt && (($ = M.bindPopup) == null || $.call(M, wt, { maxWidth: 280, minWidth: 220, autoPan: !0 })), k.id && h.set(k.id, M), g.onSelect && ((x = M.on) == null || x.call(M, "click", () => {
|
|
1885
|
+
var Et;
|
|
1886
|
+
return (Et = g.onSelect) == null ? void 0 : Et.call(g, k);
|
|
1851
1887
|
})), l.push(M);
|
|
1852
1888
|
}
|
|
1853
1889
|
const S = `${g.bounds.minLat}:${g.bounds.maxLat}:${g.bounds.minLng}:${g.bounds.maxLng}:${g.markers.length}`;
|
|
1854
1890
|
S !== a && (a = S, r.fitBounds ? r.fitBounds([
|
|
1855
1891
|
[g.bounds.minLat, g.bounds.minLng],
|
|
1856
1892
|
[g.bounds.maxLat, g.bounds.maxLng]
|
|
1857
|
-
]) : r.setView(
|
|
1893
|
+
]) : r.setView(ce(g.bounds), ue(g.bounds))), p(g.opened), f((m == null ? void 0 : m.value) ?? null);
|
|
1858
1894
|
};
|
|
1859
1895
|
return b(t), {
|
|
1860
1896
|
update: b,
|
|
1861
1897
|
destroy() {
|
|
1862
|
-
|
|
1898
|
+
d();
|
|
1863
1899
|
for (const g of l) g.remove();
|
|
1864
1900
|
r.remove();
|
|
1865
1901
|
}
|
|
1866
1902
|
};
|
|
1867
1903
|
}
|
|
1868
|
-
let
|
|
1869
|
-
function
|
|
1904
|
+
let Y = null;
|
|
1905
|
+
function ur(e) {
|
|
1870
1906
|
var t;
|
|
1871
1907
|
const s = (t = globalThis.google) == null ? void 0 : t.maps;
|
|
1872
|
-
return s ? Promise.resolve(s) :
|
|
1908
|
+
return s ? Promise.resolve(s) : Y || (Y = new Promise((r, i) => {
|
|
1873
1909
|
const n = document.createElement("script");
|
|
1874
1910
|
n.src = `https://maps.googleapis.com/maps/api/js?key=${encodeURIComponent(e)}&v=weekly`, n.async = !0, n.onload = () => {
|
|
1875
1911
|
var a;
|
|
1876
1912
|
const o = (a = globalThis.google) == null ? void 0 : a.maps;
|
|
1877
1913
|
o ? r(o) : i(new Error("Google Maps did not load."));
|
|
1878
1914
|
}, n.onerror = () => i(new Error("Google Maps failed to load.")), document.head.append(n);
|
|
1879
|
-
}),
|
|
1915
|
+
}), Y);
|
|
1880
1916
|
}
|
|
1881
|
-
function
|
|
1917
|
+
function hr(e) {
|
|
1882
1918
|
return [
|
|
1883
1919
|
{ elementType: "geometry", stylers: [{ color: e.background }] },
|
|
1884
1920
|
{ elementType: "labels.text.fill", stylers: [{ color: e.onBackground }] },
|
|
@@ -1887,35 +1923,35 @@ function lr(e) {
|
|
|
1887
1923
|
{ featureType: "poi", elementType: "geometry", stylers: [{ color: e.surface }] }
|
|
1888
1924
|
];
|
|
1889
1925
|
}
|
|
1890
|
-
const
|
|
1926
|
+
const Rt = [
|
|
1891
1927
|
{ elementType: "geometry", stylers: [{ color: "#1d2c4d" }] },
|
|
1892
1928
|
{ elementType: "labels.text.fill", stylers: [{ color: "#8ec3b9" }] },
|
|
1893
1929
|
{ elementType: "labels.text.stroke", stylers: [{ color: "#1a3646" }] },
|
|
1894
1930
|
{ featureType: "water", elementType: "geometry", stylers: [{ color: "#0e1626" }] },
|
|
1895
1931
|
{ featureType: "road", elementType: "geometry", stylers: [{ color: "#304a7d" }] }
|
|
1896
1932
|
];
|
|
1897
|
-
function
|
|
1898
|
-
const [t, r] =
|
|
1933
|
+
function At(e, s) {
|
|
1934
|
+
const [t, r] = ce(e.bounds), i = new s.Map(e.host, {
|
|
1899
1935
|
center: { lat: t, lng: r },
|
|
1900
|
-
zoom:
|
|
1936
|
+
zoom: ue(e.bounds),
|
|
1901
1937
|
mapTypeControl: !1,
|
|
1902
1938
|
streetViewControl: !1,
|
|
1903
1939
|
mapTypeId: e.basemap === "satellite" ? "satellite" : "roadmap",
|
|
1904
|
-
styles: e.basemap === "dark" ?
|
|
1940
|
+
styles: e.basemap === "dark" ? Rt : void 0
|
|
1905
1941
|
}), n = [], o = (a) => {
|
|
1906
|
-
var h,
|
|
1907
|
-
for (const
|
|
1942
|
+
var h, d, m;
|
|
1943
|
+
for (const f of n) f.setMap(null);
|
|
1908
1944
|
n.length = 0;
|
|
1909
1945
|
const l = new s.LatLngBounds();
|
|
1910
|
-
for (const
|
|
1911
|
-
const p = { lat:
|
|
1946
|
+
for (const f of a.markers) {
|
|
1947
|
+
const p = { lat: f.lat, lng: f.lng }, b = new s.Marker({ position: p, map: i, title: f.label });
|
|
1912
1948
|
a.onSelect && ((h = b.addListener) == null || h.call(b, "click", () => {
|
|
1913
1949
|
var g;
|
|
1914
|
-
return (g = a.onSelect) == null ? void 0 : g.call(a,
|
|
1950
|
+
return (g = a.onSelect) == null ? void 0 : g.call(a, f);
|
|
1915
1951
|
})), n.push(b), l.extend(p);
|
|
1916
1952
|
}
|
|
1917
|
-
a.markers.length > 0 && i.fitBounds(l), (
|
|
1918
|
-
styles: a.palette ?
|
|
1953
|
+
a.markers.length > 0 && i.fitBounds(l), (d = i.setMapTypeId) == null || d.call(i, a.basemap === "satellite" ? "satellite" : "roadmap"), (m = i.setOptions) == null || m.call(i, {
|
|
1954
|
+
styles: a.palette ? hr(a.palette) : a.basemap === "dark" ? Rt : []
|
|
1919
1955
|
});
|
|
1920
1956
|
};
|
|
1921
1957
|
return o(e), {
|
|
@@ -1925,68 +1961,68 @@ function Pt(e, s) {
|
|
|
1925
1961
|
}
|
|
1926
1962
|
};
|
|
1927
1963
|
}
|
|
1928
|
-
function
|
|
1964
|
+
function pn(e = {}) {
|
|
1929
1965
|
return {
|
|
1930
1966
|
name: "google",
|
|
1931
1967
|
mount(s) {
|
|
1932
|
-
return e.maps ?
|
|
1968
|
+
return e.maps ? At(s, e.maps) : e.apiKey ? ur(e.apiKey).then((t) => At(s, t)) : (s.host.dataset.mapEngine = "google", s.host.textContent = "Google Maps needs an apiKey or a loaded maps namespace.", { update() {
|
|
1933
1969
|
}, destroy() {
|
|
1934
1970
|
} });
|
|
1935
1971
|
}
|
|
1936
1972
|
};
|
|
1937
1973
|
}
|
|
1938
|
-
function
|
|
1974
|
+
function it(e) {
|
|
1939
1975
|
return e === "light" || e === "dark" || e === "streets" || e === "satellite";
|
|
1940
1976
|
}
|
|
1941
|
-
function
|
|
1977
|
+
function dr(e) {
|
|
1942
1978
|
if (!e || typeof e != "object") return !1;
|
|
1943
1979
|
const s = e;
|
|
1944
1980
|
return typeof s.subscribe == "function" && !!s.value && typeof s.value == "object" && "colors" in s.value;
|
|
1945
1981
|
}
|
|
1946
|
-
function
|
|
1982
|
+
function he(e) {
|
|
1947
1983
|
return !!e && typeof e == "object" && typeof e.subscribe == "function" && "value" in e;
|
|
1948
1984
|
}
|
|
1949
|
-
function
|
|
1950
|
-
return
|
|
1985
|
+
function Mt(e, s) {
|
|
1986
|
+
return it(e) ? e : he(e) && it(e.value) ? e.value : s ? ar(s) : "streets";
|
|
1951
1987
|
}
|
|
1952
|
-
const
|
|
1988
|
+
const fr = u.memo(function(s) {
|
|
1953
1989
|
const t = N(null), r = N(null), i = N(s);
|
|
1954
1990
|
i.current = s;
|
|
1955
1991
|
const [n, o] = R(null), [a, l] = R(s.palette);
|
|
1956
1992
|
return X(() => {
|
|
1957
|
-
if (!
|
|
1993
|
+
if (!he(s.basemap)) return;
|
|
1958
1994
|
const h = s.basemap;
|
|
1959
|
-
return
|
|
1960
|
-
|
|
1995
|
+
return it(h.value) && o(h.value), h.subscribe((d) => {
|
|
1996
|
+
it(d) && o(d);
|
|
1961
1997
|
});
|
|
1962
1998
|
}, [s.basemap]), X(() => {
|
|
1963
1999
|
if (!s.themeSignal) return;
|
|
1964
2000
|
const h = s.themeSignal;
|
|
1965
|
-
return l(
|
|
2001
|
+
return l(_t(h.value)), h.subscribe((d) => l(_t(d)));
|
|
1966
2002
|
}, [s.themeSignal]), U(() => {
|
|
1967
2003
|
const h = t.current;
|
|
1968
2004
|
if (!h) return;
|
|
1969
|
-
let
|
|
1970
|
-
const
|
|
2005
|
+
let d = !1, m = null;
|
|
2006
|
+
const f = () => ({
|
|
1971
2007
|
markers: i.current.markers,
|
|
1972
2008
|
bounds: i.current.bounds,
|
|
1973
2009
|
width: i.current.width,
|
|
1974
2010
|
height: i.current.height,
|
|
1975
|
-
basemap: n ??
|
|
2011
|
+
basemap: n ?? Mt(i.current.basemap, h),
|
|
1976
2012
|
palette: a,
|
|
1977
2013
|
onSelect: i.current.onSelect,
|
|
1978
2014
|
opened: i.current.opened ?? null
|
|
1979
|
-
}), p = s.engine.mount({ host: h, ...
|
|
1980
|
-
if (
|
|
2015
|
+
}), p = s.engine.mount({ host: h, ...f() }), b = (g) => {
|
|
2016
|
+
if (d) {
|
|
1981
2017
|
g.destroy();
|
|
1982
2018
|
return;
|
|
1983
2019
|
}
|
|
1984
|
-
m = g, r.current = g, g.update(
|
|
2020
|
+
m = g, r.current = g, g.update(f());
|
|
1985
2021
|
};
|
|
1986
2022
|
return p instanceof Promise ? p.then(b).catch((g) => {
|
|
1987
|
-
|
|
2023
|
+
d || (h.textContent = g instanceof Error ? g.message : "Map failed to load.");
|
|
1988
2024
|
}) : b(p), () => {
|
|
1989
|
-
|
|
2025
|
+
d = !0, m == null || m.destroy(), r.current = null;
|
|
1990
2026
|
};
|
|
1991
2027
|
}, [s.engine]), U(() => {
|
|
1992
2028
|
var h;
|
|
@@ -1995,7 +2031,7 @@ const ur = u.memo(function(s) {
|
|
|
1995
2031
|
bounds: s.bounds,
|
|
1996
2032
|
width: s.width,
|
|
1997
2033
|
height: s.height,
|
|
1998
|
-
basemap: n ??
|
|
2034
|
+
basemap: n ?? Mt(s.basemap, t.current),
|
|
1999
2035
|
palette: a,
|
|
2000
2036
|
onSelect: s.onSelect,
|
|
2001
2037
|
opened: s.opened ?? null
|
|
@@ -2015,7 +2051,7 @@ const ur = u.memo(function(s) {
|
|
|
2015
2051
|
}
|
|
2016
2052
|
});
|
|
2017
2053
|
});
|
|
2018
|
-
class
|
|
2054
|
+
class mr extends y {
|
|
2019
2055
|
constructor() {
|
|
2020
2056
|
super(...arguments);
|
|
2021
2057
|
c(this, "_markers", []);
|
|
@@ -2026,7 +2062,7 @@ class hr extends y {
|
|
|
2026
2062
|
c(this, "_height", 240);
|
|
2027
2063
|
c(this, "_onSelect");
|
|
2028
2064
|
c(this, "_opened", null);
|
|
2029
|
-
c(this, "_engine",
|
|
2065
|
+
c(this, "_engine", lr);
|
|
2030
2066
|
c(this, "_basemap", null);
|
|
2031
2067
|
c(this, "_themeSignal", null);
|
|
2032
2068
|
}
|
|
@@ -2036,7 +2072,7 @@ class hr extends y {
|
|
|
2036
2072
|
* Leaflet tints the free OpenStreetMap tiles. Google Maps uses the same colors.
|
|
2037
2073
|
*/
|
|
2038
2074
|
theme(t) {
|
|
2039
|
-
return
|
|
2075
|
+
return dr(t) ? (this._themeSignal = t, super.theme(t.value), this) : (this._themeSignal = null, super.theme(t));
|
|
2040
2076
|
}
|
|
2041
2077
|
markers(t) {
|
|
2042
2078
|
return this._markers = t, this;
|
|
@@ -2077,15 +2113,15 @@ class hr extends y {
|
|
|
2077
2113
|
return this._engine = t, this;
|
|
2078
2114
|
}
|
|
2079
2115
|
build() {
|
|
2080
|
-
const t = this._bounds ?? (this._center ?
|
|
2081
|
-
return u.createElement(
|
|
2116
|
+
const t = this._bounds ?? (this._center ? oe(this._center.lat, this._center.lng, this._span) : Hs(this._markers)), { className: r, style: i, ...n } = this._props;
|
|
2117
|
+
return u.createElement(fr, {
|
|
2082
2118
|
engine: this._engine,
|
|
2083
2119
|
markers: this._markers,
|
|
2084
2120
|
bounds: t,
|
|
2085
2121
|
width: this._width,
|
|
2086
2122
|
height: this._height,
|
|
2087
2123
|
basemap: this._basemap,
|
|
2088
|
-
palette: this._theme ?
|
|
2124
|
+
palette: this._theme ? _t(this._theme) : null,
|
|
2089
2125
|
themeSignal: this._themeSignal,
|
|
2090
2126
|
onSelect: this._onSelect,
|
|
2091
2127
|
opened: this._opened,
|
|
@@ -2095,14 +2131,14 @@ class hr extends y {
|
|
|
2095
2131
|
});
|
|
2096
2132
|
}
|
|
2097
2133
|
}
|
|
2098
|
-
const
|
|
2099
|
-
function
|
|
2134
|
+
const gn = _(mr);
|
|
2135
|
+
function pr(e) {
|
|
2100
2136
|
if (e && typeof e == "object" && "id" in e) {
|
|
2101
2137
|
const s = e.id;
|
|
2102
2138
|
if (s != null && s !== "") return String(s);
|
|
2103
2139
|
}
|
|
2104
2140
|
}
|
|
2105
|
-
class
|
|
2141
|
+
class gr extends y {
|
|
2106
2142
|
constructor() {
|
|
2107
2143
|
super(...arguments);
|
|
2108
2144
|
c(this, "_data");
|
|
@@ -2118,7 +2154,7 @@ class dr extends y {
|
|
|
2118
2154
|
return this._onDragStart = t, this;
|
|
2119
2155
|
}
|
|
2120
2156
|
build() {
|
|
2121
|
-
const { className: t, ...r } = this._props, i = ["fibo-draggable", this.getClassName(), t].filter(Boolean).join(" "), n =
|
|
2157
|
+
const { className: t, ...r } = this._props, i = ["fibo-draggable", this.getClassName(), t].filter(Boolean).join(" "), n = pr(this._data), o = this._data, a = this._onDragStart;
|
|
2122
2158
|
return u.createElement(
|
|
2123
2159
|
"div",
|
|
2124
2160
|
{
|
|
@@ -2139,8 +2175,8 @@ class dr extends y {
|
|
|
2139
2175
|
);
|
|
2140
2176
|
}
|
|
2141
2177
|
}
|
|
2142
|
-
const
|
|
2143
|
-
function
|
|
2178
|
+
const _n = _(gr);
|
|
2179
|
+
function _r(e) {
|
|
2144
2180
|
const s = e.dataTransfer;
|
|
2145
2181
|
if (!s) return;
|
|
2146
2182
|
const t = s.getData("text") || s.getData("text/plain");
|
|
@@ -2151,7 +2187,7 @@ function mr(e) {
|
|
|
2151
2187
|
return t;
|
|
2152
2188
|
}
|
|
2153
2189
|
}
|
|
2154
|
-
class
|
|
2190
|
+
class yr extends y {
|
|
2155
2191
|
constructor() {
|
|
2156
2192
|
super(...arguments);
|
|
2157
2193
|
c(this, "_onAccept");
|
|
@@ -2175,19 +2211,19 @@ class pr extends y {
|
|
|
2175
2211
|
o.preventDefault();
|
|
2176
2212
|
},
|
|
2177
2213
|
onDrop: (o) => {
|
|
2178
|
-
o.preventDefault(), n && n(
|
|
2214
|
+
o.preventDefault(), n && n(_r(o));
|
|
2179
2215
|
}
|
|
2180
2216
|
},
|
|
2181
2217
|
...this._children.map((o) => w(o))
|
|
2182
2218
|
);
|
|
2183
2219
|
}
|
|
2184
2220
|
}
|
|
2185
|
-
const
|
|
2186
|
-
function
|
|
2221
|
+
const yn = _(yr);
|
|
2222
|
+
function br(e) {
|
|
2187
2223
|
const t = e.trim().replace(/[^a-zA-Z0-9_-]+/g, "-").replace(/-+/g, "-").replace(/^-|-$/g, "") || "hero";
|
|
2188
2224
|
return /^[0-9-]/.test(t) ? `h-${t.replace(/^-/, "")}` : t;
|
|
2189
2225
|
}
|
|
2190
|
-
class
|
|
2226
|
+
class Sr extends y {
|
|
2191
2227
|
constructor() {
|
|
2192
2228
|
super(...arguments);
|
|
2193
2229
|
c(this, "_tag", "hero");
|
|
@@ -2203,7 +2239,7 @@ class _r extends y {
|
|
|
2203
2239
|
return this._onFlight = t, this;
|
|
2204
2240
|
}
|
|
2205
2241
|
build() {
|
|
2206
|
-
const t =
|
|
2242
|
+
const t = br(this._tag), { className: r, style: i, onClick: n, ...o } = this._props, a = ["fibo-hero", this.getClassName(), r].filter(Boolean).join(" "), l = {
|
|
2207
2243
|
...this.getStyle(),
|
|
2208
2244
|
...i ?? {},
|
|
2209
2245
|
viewTransitionName: t
|
|
@@ -2215,33 +2251,33 @@ class _r extends y {
|
|
|
2215
2251
|
className: a,
|
|
2216
2252
|
style: l,
|
|
2217
2253
|
"data-hero": t,
|
|
2218
|
-
onClick: (
|
|
2254
|
+
onClick: (d) => {
|
|
2219
2255
|
if (h) {
|
|
2220
2256
|
let m = !1;
|
|
2221
|
-
const
|
|
2257
|
+
const f = () => {
|
|
2222
2258
|
m || (m = !0, h());
|
|
2223
2259
|
};
|
|
2224
2260
|
try {
|
|
2225
2261
|
const p = typeof document < "u" ? document.startViewTransition : void 0;
|
|
2226
|
-
typeof p == "function" && p.call(document,
|
|
2262
|
+
typeof p == "function" && p.call(document, f);
|
|
2227
2263
|
} catch {
|
|
2228
2264
|
}
|
|
2229
|
-
m ||
|
|
2265
|
+
m || f();
|
|
2230
2266
|
}
|
|
2231
|
-
typeof n == "function" && n(
|
|
2267
|
+
typeof n == "function" && n(d);
|
|
2232
2268
|
}
|
|
2233
2269
|
},
|
|
2234
|
-
...this._children.map((
|
|
2270
|
+
...this._children.map((d) => w(d))
|
|
2235
2271
|
);
|
|
2236
2272
|
}
|
|
2237
2273
|
}
|
|
2238
|
-
const
|
|
2239
|
-
function
|
|
2274
|
+
const bn = _(Sr);
|
|
2275
|
+
function Ft(e, s, t) {
|
|
2240
2276
|
return Math.min(t, Math.max(s, e));
|
|
2241
2277
|
}
|
|
2242
|
-
function
|
|
2243
|
-
const { minScale: s, maxScale: t, className: r, style: i, children: n } = e, [o, a] = R(() =>
|
|
2244
|
-
a((
|
|
2278
|
+
function vr(e) {
|
|
2279
|
+
const { minScale: s, maxScale: t, className: r, style: i, children: n } = e, [o, a] = R(() => Ft(1, s, t)), l = (h) => {
|
|
2280
|
+
a((d) => Ft(d + h, s, t));
|
|
2245
2281
|
};
|
|
2246
2282
|
return u.createElement(
|
|
2247
2283
|
"div",
|
|
@@ -2276,7 +2312,7 @@ function yr(e) {
|
|
|
2276
2312
|
)
|
|
2277
2313
|
);
|
|
2278
2314
|
}
|
|
2279
|
-
class
|
|
2315
|
+
class Cr extends y {
|
|
2280
2316
|
constructor() {
|
|
2281
2317
|
super(...arguments);
|
|
2282
2318
|
c(this, "_minScale", 1);
|
|
@@ -2293,7 +2329,7 @@ class br extends y {
|
|
|
2293
2329
|
}
|
|
2294
2330
|
build() {
|
|
2295
2331
|
const { className: t, ...r } = this._props, i = ["fibo-interactive-viewer", this.getClassName(), t].filter(Boolean).join(" "), n = Number.isFinite(this._minScale) ? this._minScale : 1, o = Number.isFinite(this._maxScale) ? this._maxScale : 4;
|
|
2296
|
-
return u.createElement(
|
|
2332
|
+
return u.createElement(vr, {
|
|
2297
2333
|
...r,
|
|
2298
2334
|
className: i,
|
|
2299
2335
|
style: this.getStyle(),
|
|
@@ -2303,7 +2339,7 @@ class br extends y {
|
|
|
2303
2339
|
});
|
|
2304
2340
|
}
|
|
2305
2341
|
}
|
|
2306
|
-
const
|
|
2342
|
+
const Sn = _(Cr), kr = u.memo(function(s) {
|
|
2307
2343
|
const t = N(null), [r, i] = R([]);
|
|
2308
2344
|
X(() => () => {
|
|
2309
2345
|
for (const o of r)
|
|
@@ -2313,9 +2349,9 @@ const pn = _(br), Sr = u.memo(function(s) {
|
|
|
2313
2349
|
var l;
|
|
2314
2350
|
const a = Array.from(o ?? []).filter((h) => h.type.startsWith("image/")).slice(0, s.limit);
|
|
2315
2351
|
i((h) => {
|
|
2316
|
-
for (const
|
|
2317
|
-
typeof URL.revokeObjectURL == "function" && URL.revokeObjectURL(
|
|
2318
|
-
return a.map((
|
|
2352
|
+
for (const d of h)
|
|
2353
|
+
typeof URL.revokeObjectURL == "function" && URL.revokeObjectURL(d.url);
|
|
2354
|
+
return a.map((d) => ({ url: URL.createObjectURL(d), name: d.name }));
|
|
2319
2355
|
}), (l = s.onChange) == null || l.call(s, a);
|
|
2320
2356
|
}
|
|
2321
2357
|
return u.createElement(
|
|
@@ -2376,7 +2412,7 @@ const pn = _(br), Sr = u.memo(function(s) {
|
|
|
2376
2412
|
) : null
|
|
2377
2413
|
);
|
|
2378
2414
|
});
|
|
2379
|
-
class
|
|
2415
|
+
class wr extends y {
|
|
2380
2416
|
constructor() {
|
|
2381
2417
|
super(...arguments);
|
|
2382
2418
|
c(this, "_label", "Choose photos");
|
|
@@ -2398,7 +2434,7 @@ class vr extends y {
|
|
|
2398
2434
|
}
|
|
2399
2435
|
build() {
|
|
2400
2436
|
const { className: t, style: r, ...i } = this._props;
|
|
2401
|
-
return u.createElement(
|
|
2437
|
+
return u.createElement(kr, {
|
|
2402
2438
|
label: this._label,
|
|
2403
2439
|
multiple: this._multiple,
|
|
2404
2440
|
limit: this._limit,
|
|
@@ -2409,7 +2445,7 @@ class vr extends y {
|
|
|
2409
2445
|
});
|
|
2410
2446
|
}
|
|
2411
2447
|
}
|
|
2412
|
-
const
|
|
2448
|
+
const vn = _(wr), Er = u.memo(function(s) {
|
|
2413
2449
|
const t = N(null);
|
|
2414
2450
|
function r(i) {
|
|
2415
2451
|
var n;
|
|
@@ -2453,7 +2489,7 @@ const gn = _(vr), kr = u.memo(function(s) {
|
|
|
2453
2489
|
)
|
|
2454
2490
|
);
|
|
2455
2491
|
});
|
|
2456
|
-
class
|
|
2492
|
+
class Nr extends y {
|
|
2457
2493
|
constructor() {
|
|
2458
2494
|
super(...arguments);
|
|
2459
2495
|
c(this, "_label", "Choose files");
|
|
@@ -2475,7 +2511,7 @@ class Cr extends y {
|
|
|
2475
2511
|
}
|
|
2476
2512
|
build() {
|
|
2477
2513
|
const { className: t, style: r, ...i } = this._props;
|
|
2478
|
-
return u.createElement(
|
|
2514
|
+
return u.createElement(Er, {
|
|
2479
2515
|
label: this._label,
|
|
2480
2516
|
accept: this._accept,
|
|
2481
2517
|
multiple: this._multiple,
|
|
@@ -2486,40 +2522,40 @@ class Cr extends y {
|
|
|
2486
2522
|
});
|
|
2487
2523
|
}
|
|
2488
2524
|
}
|
|
2489
|
-
const
|
|
2490
|
-
function
|
|
2525
|
+
const Cn = _(Nr), xr = ["qr_code", "ean_13", "ean_8", "code_128", "code_39", "upc_a", "upc_e"];
|
|
2526
|
+
function Tr() {
|
|
2491
2527
|
const e = globalThis.BarcodeDetector;
|
|
2492
2528
|
return typeof e == "function" ? e : void 0;
|
|
2493
2529
|
}
|
|
2494
|
-
function
|
|
2530
|
+
function It() {
|
|
2495
2531
|
if (typeof navigator > "u") return;
|
|
2496
2532
|
const e = navigator.mediaDevices, s = e == null ? void 0 : e.getUserMedia;
|
|
2497
2533
|
return typeof s == "function" ? s.bind(e) : void 0;
|
|
2498
2534
|
}
|
|
2499
|
-
const
|
|
2535
|
+
const $r = u.memo(function(s) {
|
|
2500
2536
|
const t = N(null), r = N(null), i = N(!1), n = N(s.onScan);
|
|
2501
2537
|
n.current = s.onScan;
|
|
2502
2538
|
const [o, a] = R(null);
|
|
2503
2539
|
function l() {
|
|
2504
2540
|
i.current = !0;
|
|
2505
|
-
const
|
|
2506
|
-
if (r.current = null, !!
|
|
2507
|
-
for (const m of
|
|
2541
|
+
const d = r.current;
|
|
2542
|
+
if (r.current = null, !!d)
|
|
2543
|
+
for (const m of d.getTracks()) m.stop();
|
|
2508
2544
|
}
|
|
2509
2545
|
X(() => () => l(), []);
|
|
2510
2546
|
async function h() {
|
|
2511
2547
|
var S;
|
|
2512
|
-
const
|
|
2513
|
-
if (!
|
|
2548
|
+
const d = It();
|
|
2549
|
+
if (!d) {
|
|
2514
2550
|
a("Camera unavailable");
|
|
2515
2551
|
return;
|
|
2516
2552
|
}
|
|
2517
2553
|
i.current = !1, a(null);
|
|
2518
2554
|
let m;
|
|
2519
2555
|
try {
|
|
2520
|
-
m = await
|
|
2556
|
+
m = await d({ video: { facingMode: "environment" } });
|
|
2521
2557
|
} catch {
|
|
2522
|
-
|
|
2558
|
+
It() || a("Camera unavailable");
|
|
2523
2559
|
return;
|
|
2524
2560
|
}
|
|
2525
2561
|
if (i.current) {
|
|
@@ -2527,23 +2563,23 @@ const Nr = u.memo(function(s) {
|
|
|
2527
2563
|
return;
|
|
2528
2564
|
}
|
|
2529
2565
|
r.current = m;
|
|
2530
|
-
const
|
|
2531
|
-
if (
|
|
2566
|
+
const f = t.current;
|
|
2567
|
+
if (f)
|
|
2532
2568
|
try {
|
|
2533
|
-
|
|
2534
|
-
const v = (S =
|
|
2569
|
+
f.srcObject = m;
|
|
2570
|
+
const v = (S = f.play) == null ? void 0 : S.call(f);
|
|
2535
2571
|
v && typeof v.catch == "function" && v.catch(() => {
|
|
2536
2572
|
});
|
|
2537
2573
|
} catch {
|
|
2538
2574
|
}
|
|
2539
|
-
if (i.current || !
|
|
2540
|
-
const p =
|
|
2575
|
+
if (i.current || !f) return;
|
|
2576
|
+
const p = Tr();
|
|
2541
2577
|
if (!p) return;
|
|
2542
|
-
const b = new p({ formats:
|
|
2578
|
+
const b = new p({ formats: xr }), g = async () => {
|
|
2543
2579
|
var v, T;
|
|
2544
2580
|
if (!i.current) {
|
|
2545
2581
|
try {
|
|
2546
|
-
const x = (v = (await b.detect(
|
|
2582
|
+
const x = (v = (await b.detect(f)).find((k) => !!k.rawValue)) == null ? void 0 : v.rawValue;
|
|
2547
2583
|
if (x) {
|
|
2548
2584
|
(T = n.current) == null || T.call(n, x), l();
|
|
2549
2585
|
return;
|
|
@@ -2584,7 +2620,7 @@ const Nr = u.memo(function(s) {
|
|
|
2584
2620
|
o ? u.createElement("p", { className: "fibo-code-scanner-status" }, o) : null
|
|
2585
2621
|
);
|
|
2586
2622
|
});
|
|
2587
|
-
class
|
|
2623
|
+
class Br extends y {
|
|
2588
2624
|
constructor() {
|
|
2589
2625
|
super(...arguments);
|
|
2590
2626
|
c(this, "_label", "Scan");
|
|
@@ -2598,7 +2634,7 @@ class xr extends y {
|
|
|
2598
2634
|
}
|
|
2599
2635
|
build() {
|
|
2600
2636
|
const { className: t, style: r, ...i } = this._props;
|
|
2601
|
-
return u.createElement(
|
|
2637
|
+
return u.createElement($r, {
|
|
2602
2638
|
label: this._label,
|
|
2603
2639
|
onScan: this._onScan,
|
|
2604
2640
|
className: [this.getClassName(), t].filter(Boolean).join(" ") || void 0,
|
|
@@ -2607,11 +2643,11 @@ class xr extends y {
|
|
|
2607
2643
|
});
|
|
2608
2644
|
}
|
|
2609
2645
|
}
|
|
2610
|
-
const
|
|
2611
|
-
function
|
|
2646
|
+
const kn = _(Br);
|
|
2647
|
+
function de(e) {
|
|
2612
2648
|
return F(e);
|
|
2613
2649
|
}
|
|
2614
|
-
async function
|
|
2650
|
+
async function Lr(e, s) {
|
|
2615
2651
|
const t = navigator.share;
|
|
2616
2652
|
if (typeof t == "function") {
|
|
2617
2653
|
await t.call(navigator, { url: e, title: s });
|
|
@@ -2619,7 +2655,7 @@ async function Tr(e, s) {
|
|
|
2619
2655
|
}
|
|
2620
2656
|
await navigator.clipboard.writeText(e);
|
|
2621
2657
|
}
|
|
2622
|
-
function
|
|
2658
|
+
function Pr(e) {
|
|
2623
2659
|
return u.createElement(
|
|
2624
2660
|
"button",
|
|
2625
2661
|
{
|
|
@@ -2628,13 +2664,13 @@ function $r(e) {
|
|
|
2628
2664
|
style: e.style,
|
|
2629
2665
|
disabled: e.disabled,
|
|
2630
2666
|
onClick: () => {
|
|
2631
|
-
e.disabled ||
|
|
2667
|
+
e.disabled || de(e.url) || Lr(e.url, e.title);
|
|
2632
2668
|
}
|
|
2633
2669
|
},
|
|
2634
2670
|
e.label
|
|
2635
2671
|
);
|
|
2636
2672
|
}
|
|
2637
|
-
class
|
|
2673
|
+
class Rr extends y {
|
|
2638
2674
|
constructor() {
|
|
2639
2675
|
super(...arguments);
|
|
2640
2676
|
c(this, "_url", "");
|
|
@@ -2652,18 +2688,18 @@ class Br extends y {
|
|
|
2652
2688
|
}
|
|
2653
2689
|
build() {
|
|
2654
2690
|
const { className: t, style: r } = this._props;
|
|
2655
|
-
return u.createElement(
|
|
2691
|
+
return u.createElement(Pr, {
|
|
2656
2692
|
url: this._url,
|
|
2657
2693
|
title: this._title,
|
|
2658
2694
|
label: this._label,
|
|
2659
|
-
disabled:
|
|
2695
|
+
disabled: de(this._url),
|
|
2660
2696
|
className: [this.getClassName(), t].filter(Boolean).join(" ") || void 0,
|
|
2661
2697
|
style: { ...this.getStyle(), ...r }
|
|
2662
2698
|
});
|
|
2663
2699
|
}
|
|
2664
2700
|
}
|
|
2665
|
-
const
|
|
2666
|
-
class
|
|
2701
|
+
const wn = _(Rr);
|
|
2702
|
+
class Ar extends y {
|
|
2667
2703
|
constructor() {
|
|
2668
2704
|
super(...arguments);
|
|
2669
2705
|
c(this, "_header");
|
|
@@ -2690,14 +2726,14 @@ class Lr extends y {
|
|
|
2690
2726
|
);
|
|
2691
2727
|
}
|
|
2692
2728
|
}
|
|
2693
|
-
const
|
|
2694
|
-
function
|
|
2729
|
+
const En = _(Ar), Mr = -48;
|
|
2730
|
+
function Dt(e) {
|
|
2695
2731
|
return Math.min(0, e);
|
|
2696
2732
|
}
|
|
2697
|
-
function
|
|
2733
|
+
function ct(e) {
|
|
2698
2734
|
return typeof e.clientX == "number" && Number.isFinite(e.clientX) ? e.clientX : null;
|
|
2699
2735
|
}
|
|
2700
|
-
function
|
|
2736
|
+
function Fr({
|
|
2701
2737
|
rowChild: e,
|
|
2702
2738
|
actions: s,
|
|
2703
2739
|
className: t,
|
|
@@ -2706,33 +2742,33 @@ function Rr({
|
|
|
2706
2742
|
}) {
|
|
2707
2743
|
const [n, o] = R(0), a = N(null), l = N(null);
|
|
2708
2744
|
X(() => () => {
|
|
2709
|
-
var
|
|
2710
|
-
return (
|
|
2745
|
+
var d;
|
|
2746
|
+
return (d = l.current) == null ? void 0 : d.call(l);
|
|
2711
2747
|
}, []);
|
|
2712
|
-
const h = (
|
|
2748
|
+
const h = (d) => {
|
|
2713
2749
|
var v, T, $;
|
|
2714
|
-
if ((T = (v =
|
|
2715
|
-
const m =
|
|
2750
|
+
if ((T = (v = d.target).closest) != null && T.call(v, "button") || d.button != null && d.button !== 0) return;
|
|
2751
|
+
const m = ct(d);
|
|
2716
2752
|
if (m == null) return;
|
|
2717
|
-
const
|
|
2718
|
-
a.current =
|
|
2753
|
+
const f = { startX: m, startOffset: n };
|
|
2754
|
+
a.current = f, ($ = l.current) == null || $.call(l);
|
|
2719
2755
|
const p = (x) => {
|
|
2720
|
-
if (a.current !==
|
|
2721
|
-
const
|
|
2722
|
-
|
|
2756
|
+
if (a.current !== f) return;
|
|
2757
|
+
const k = ct(x);
|
|
2758
|
+
k != null && o(Dt(f.startOffset + (k - f.startX)));
|
|
2723
2759
|
}, b = () => {
|
|
2724
2760
|
window.removeEventListener("pointermove", p), window.removeEventListener("pointerup", g), window.removeEventListener("pointercancel", S), l.current === b && (l.current = null);
|
|
2725
2761
|
}, g = (x) => {
|
|
2726
|
-
if (a.current !==
|
|
2727
|
-
const
|
|
2728
|
-
if (b(), a.current = null,
|
|
2762
|
+
if (a.current !== f) return;
|
|
2763
|
+
const k = ct(x);
|
|
2764
|
+
if (b(), a.current = null, k == null) {
|
|
2729
2765
|
o(0);
|
|
2730
2766
|
return;
|
|
2731
2767
|
}
|
|
2732
|
-
const
|
|
2733
|
-
o(
|
|
2768
|
+
const K = Dt(f.startOffset + (k - f.startX));
|
|
2769
|
+
o(K <= Mr ? K : 0);
|
|
2734
2770
|
}, S = () => {
|
|
2735
|
-
a.current ===
|
|
2771
|
+
a.current === f && (b(), a.current = null, o(0));
|
|
2736
2772
|
};
|
|
2737
2773
|
l.current = b, window.addEventListener("pointermove", p), window.addEventListener("pointerup", g), window.addEventListener("pointercancel", S);
|
|
2738
2774
|
};
|
|
@@ -2748,14 +2784,14 @@ function Rr({
|
|
|
2748
2784
|
"div",
|
|
2749
2785
|
{ key: "actions", className: "fibo-swipe-row-actions" },
|
|
2750
2786
|
s.map(
|
|
2751
|
-
(
|
|
2787
|
+
(d, m) => u.createElement(
|
|
2752
2788
|
"button",
|
|
2753
2789
|
{
|
|
2754
|
-
key: `${
|
|
2790
|
+
key: `${d.label}-${m}`,
|
|
2755
2791
|
type: "button",
|
|
2756
|
-
onClick: () =>
|
|
2792
|
+
onClick: () => d.onPress()
|
|
2757
2793
|
},
|
|
2758
|
-
|
|
2794
|
+
d.label
|
|
2759
2795
|
)
|
|
2760
2796
|
)
|
|
2761
2797
|
),
|
|
@@ -2770,7 +2806,7 @@ function Rr({
|
|
|
2770
2806
|
)
|
|
2771
2807
|
);
|
|
2772
2808
|
}
|
|
2773
|
-
class
|
|
2809
|
+
class Ir extends y {
|
|
2774
2810
|
constructor() {
|
|
2775
2811
|
super(...arguments);
|
|
2776
2812
|
c(this, "_child", null);
|
|
@@ -2784,7 +2820,7 @@ class Ar extends y {
|
|
|
2784
2820
|
}
|
|
2785
2821
|
build() {
|
|
2786
2822
|
const { className: t, children: r, ...i } = this._props, n = ["fibo-swipe-row", this.getClassName(), t].filter(Boolean).join(" ");
|
|
2787
|
-
return u.createElement(
|
|
2823
|
+
return u.createElement(Fr, {
|
|
2788
2824
|
...i,
|
|
2789
2825
|
role: "group",
|
|
2790
2826
|
className: n,
|
|
@@ -2794,8 +2830,8 @@ class Ar extends y {
|
|
|
2794
2830
|
});
|
|
2795
2831
|
}
|
|
2796
2832
|
}
|
|
2797
|
-
const
|
|
2798
|
-
function
|
|
2833
|
+
const Nn = _(Ir), Ot = 48;
|
|
2834
|
+
function Dr({
|
|
2799
2835
|
className: e,
|
|
2800
2836
|
style: s,
|
|
2801
2837
|
refreshing: t,
|
|
@@ -2803,24 +2839,24 @@ function Mr({
|
|
|
2803
2839
|
child: i,
|
|
2804
2840
|
domProps: n
|
|
2805
2841
|
}) {
|
|
2806
|
-
const [o, a] = u.useState("Pull"), l = u.useRef(null), h = (
|
|
2807
|
-
if (
|
|
2842
|
+
const [o, a] = u.useState("Pull"), l = u.useRef(null), h = (f) => {
|
|
2843
|
+
if (f.currentTarget.scrollTop !== 0) {
|
|
2808
2844
|
l.current = null;
|
|
2809
2845
|
return;
|
|
2810
2846
|
}
|
|
2811
|
-
l.current =
|
|
2812
|
-
},
|
|
2847
|
+
l.current = f.clientY, a("Pull");
|
|
2848
|
+
}, d = (f) => {
|
|
2813
2849
|
if (l.current != null) {
|
|
2814
|
-
if (
|
|
2850
|
+
if (f.currentTarget.scrollTop !== 0) {
|
|
2815
2851
|
l.current = null, a("Pull");
|
|
2816
2852
|
return;
|
|
2817
2853
|
}
|
|
2818
|
-
a(
|
|
2854
|
+
a(f.clientY - l.current > Ot ? "Release" : "Pull");
|
|
2819
2855
|
}
|
|
2820
|
-
}, m = (
|
|
2856
|
+
}, m = (f) => {
|
|
2821
2857
|
if (l.current == null) return;
|
|
2822
|
-
const p =
|
|
2823
|
-
l.current = null, a("Pull"), b && p >
|
|
2858
|
+
const p = f.clientY - l.current, b = f.currentTarget.scrollTop === 0;
|
|
2859
|
+
l.current = null, a("Pull"), b && p > Ot && (r == null || r());
|
|
2824
2860
|
};
|
|
2825
2861
|
return u.createElement(
|
|
2826
2862
|
"div",
|
|
@@ -2830,7 +2866,7 @@ function Mr({
|
|
|
2830
2866
|
style: s,
|
|
2831
2867
|
"aria-busy": t ? !0 : void 0,
|
|
2832
2868
|
onPointerDown: h,
|
|
2833
|
-
onPointerMove:
|
|
2869
|
+
onPointerMove: d,
|
|
2834
2870
|
onPointerUp: m,
|
|
2835
2871
|
onPointerCancel: () => {
|
|
2836
2872
|
l.current = null, a("Pull");
|
|
@@ -2849,7 +2885,7 @@ function Mr({
|
|
|
2849
2885
|
u.createElement("div", { key: "child" }, i)
|
|
2850
2886
|
);
|
|
2851
2887
|
}
|
|
2852
|
-
class
|
|
2888
|
+
class Or extends y {
|
|
2853
2889
|
constructor() {
|
|
2854
2890
|
super(...arguments);
|
|
2855
2891
|
c(this, "_refreshing", !1);
|
|
@@ -2867,7 +2903,7 @@ class Fr extends y {
|
|
|
2867
2903
|
}
|
|
2868
2904
|
build() {
|
|
2869
2905
|
const { className: t, children: r, ...i } = this._props, n = ["fibo-refresh", this.getClassName(), t].filter(Boolean).join(" ");
|
|
2870
|
-
return u.createElement(
|
|
2906
|
+
return u.createElement(Dr, {
|
|
2871
2907
|
className: n,
|
|
2872
2908
|
style: this.getStyle(),
|
|
2873
2909
|
refreshing: this._refreshing,
|
|
@@ -2877,19 +2913,19 @@ class Fr extends y {
|
|
|
2877
2913
|
});
|
|
2878
2914
|
}
|
|
2879
2915
|
}
|
|
2880
|
-
const
|
|
2881
|
-
function
|
|
2916
|
+
const xn = _(Or);
|
|
2917
|
+
function jr(e, s, t) {
|
|
2882
2918
|
const r = s + t;
|
|
2883
2919
|
if (r < 0 || r >= e.length) return null;
|
|
2884
2920
|
const i = e.slice(), [n] = i.splice(s, 1);
|
|
2885
2921
|
return i.splice(r, 0, n), i;
|
|
2886
2922
|
}
|
|
2887
|
-
function
|
|
2923
|
+
function Hr(e, s, t) {
|
|
2888
2924
|
if (s === t || s < 0 || t < 0 || s >= e.length || t >= e.length) return null;
|
|
2889
2925
|
const r = e.slice(), [i] = r.splice(s, 1);
|
|
2890
2926
|
return r.splice(t, 0, i), r;
|
|
2891
2927
|
}
|
|
2892
|
-
class
|
|
2928
|
+
class Wr extends y {
|
|
2893
2929
|
constructor() {
|
|
2894
2930
|
super(...arguments);
|
|
2895
2931
|
c(this, "_items", []);
|
|
@@ -2904,22 +2940,22 @@ class Or extends y {
|
|
|
2904
2940
|
build() {
|
|
2905
2941
|
const { className: t, children: r, ...i } = this._props, n = ["fibo-reorderable-list", this.getClassName(), t].filter(Boolean).join(" "), o = this._items.map((m) => m.id), a = this._onReorder;
|
|
2906
2942
|
let l = null;
|
|
2907
|
-
const h = (m,
|
|
2908
|
-
const p =
|
|
2943
|
+
const h = (m, f) => {
|
|
2944
|
+
const p = jr(o, m, f);
|
|
2909
2945
|
p && a && a(p);
|
|
2910
|
-
},
|
|
2946
|
+
}, d = (m, f) => {
|
|
2911
2947
|
var S;
|
|
2912
|
-
|
|
2913
|
-
const p = (S =
|
|
2948
|
+
f.preventDefault();
|
|
2949
|
+
const p = (S = f.dataTransfer) == null ? void 0 : S.getData("text/plain"), b = l ?? (p === "" || p == null ? NaN : Number(p));
|
|
2914
2950
|
l = null;
|
|
2915
|
-
const g =
|
|
2951
|
+
const g = Hr(o, b, m);
|
|
2916
2952
|
g && a && a(g);
|
|
2917
2953
|
};
|
|
2918
2954
|
return u.createElement(
|
|
2919
2955
|
"div",
|
|
2920
2956
|
{ ...i, role: "list", className: n, style: this.getStyle() },
|
|
2921
2957
|
this._items.map(
|
|
2922
|
-
(m,
|
|
2958
|
+
(m, f) => u.createElement(
|
|
2923
2959
|
"div",
|
|
2924
2960
|
{
|
|
2925
2961
|
key: m.id,
|
|
@@ -2927,12 +2963,12 @@ class Or extends y {
|
|
|
2927
2963
|
className: "fibo-reorderable-row",
|
|
2928
2964
|
draggable: !0,
|
|
2929
2965
|
onDragStart: (p) => {
|
|
2930
|
-
l =
|
|
2966
|
+
l = f, p.dataTransfer && (p.dataTransfer.effectAllowed = "move", p.dataTransfer.setData("text/plain", String(f)));
|
|
2931
2967
|
},
|
|
2932
2968
|
onDragOver: (p) => {
|
|
2933
2969
|
p.preventDefault(), p.dataTransfer && (p.dataTransfer.dropEffect = "move");
|
|
2934
2970
|
},
|
|
2935
|
-
onDrop: (p) => f
|
|
2971
|
+
onDrop: (p) => d(f, p),
|
|
2936
2972
|
onDragEnd: () => {
|
|
2937
2973
|
l = null;
|
|
2938
2974
|
}
|
|
@@ -2940,12 +2976,12 @@ class Or extends y {
|
|
|
2940
2976
|
u.createElement("span", { key: "label" }, m.label),
|
|
2941
2977
|
u.createElement(
|
|
2942
2978
|
"button",
|
|
2943
|
-
{ key: "up", type: "button", onClick: () => h(
|
|
2979
|
+
{ key: "up", type: "button", onClick: () => h(f, -1) },
|
|
2944
2980
|
"Move up"
|
|
2945
2981
|
),
|
|
2946
2982
|
u.createElement(
|
|
2947
2983
|
"button",
|
|
2948
|
-
{ key: "down", type: "button", onClick: () => h(
|
|
2984
|
+
{ key: "down", type: "button", onClick: () => h(f, 1) },
|
|
2949
2985
|
"Move down"
|
|
2950
2986
|
)
|
|
2951
2987
|
)
|
|
@@ -2953,21 +2989,21 @@ class Or extends y {
|
|
|
2953
2989
|
);
|
|
2954
2990
|
}
|
|
2955
2991
|
}
|
|
2956
|
-
const
|
|
2957
|
-
function
|
|
2992
|
+
const Tn = _(Wr), Vr = 80;
|
|
2993
|
+
function Gr({
|
|
2958
2994
|
child: e,
|
|
2959
2995
|
onDismiss: s,
|
|
2960
2996
|
className: t,
|
|
2961
2997
|
style: r,
|
|
2962
2998
|
domProps: i
|
|
2963
2999
|
}) {
|
|
2964
|
-
const [n, o] = R(0), [a, l] = R(!1), h = N(null),
|
|
3000
|
+
const [n, o] = R(0), [a, l] = R(!1), h = N(null), d = N(!1);
|
|
2965
3001
|
if (a) return null;
|
|
2966
|
-
const m = (
|
|
3002
|
+
const m = (f) => {
|
|
2967
3003
|
if (h.current == null) return;
|
|
2968
|
-
const p =
|
|
2969
|
-
if (h.current = null, Math.abs(p) >
|
|
2970
|
-
|
|
3004
|
+
const p = f - h.current;
|
|
3005
|
+
if (h.current = null, Math.abs(p) > Vr) {
|
|
3006
|
+
d.current || (d.current = !0, s == null || s()), l(!0);
|
|
2971
3007
|
return;
|
|
2972
3008
|
}
|
|
2973
3009
|
o(0);
|
|
@@ -2978,20 +3014,20 @@ function Hr({
|
|
|
2978
3014
|
...i,
|
|
2979
3015
|
className: t,
|
|
2980
3016
|
style: { ...r, transform: `translateX(${n}px)`, touchAction: "pan-y" },
|
|
2981
|
-
onPointerDown: (
|
|
2982
|
-
if (!(
|
|
2983
|
-
h.current =
|
|
3017
|
+
onPointerDown: (f) => {
|
|
3018
|
+
if (!(f.button != null && f.button !== 0)) {
|
|
3019
|
+
h.current = f.clientX;
|
|
2984
3020
|
try {
|
|
2985
|
-
|
|
3021
|
+
f.currentTarget.setPointerCapture(f.pointerId);
|
|
2986
3022
|
} catch {
|
|
2987
3023
|
}
|
|
2988
3024
|
}
|
|
2989
3025
|
},
|
|
2990
|
-
onPointerMove: (
|
|
2991
|
-
h.current != null && o(
|
|
3026
|
+
onPointerMove: (f) => {
|
|
3027
|
+
h.current != null && o(f.clientX - h.current);
|
|
2992
3028
|
},
|
|
2993
|
-
onPointerUp: (
|
|
2994
|
-
m(
|
|
3029
|
+
onPointerUp: (f) => {
|
|
3030
|
+
m(f.clientX);
|
|
2995
3031
|
},
|
|
2996
3032
|
onPointerCancel: () => {
|
|
2997
3033
|
h.current = null, o(0);
|
|
@@ -3004,14 +3040,14 @@ function Hr({
|
|
|
3004
3040
|
key: "dismiss",
|
|
3005
3041
|
type: "button",
|
|
3006
3042
|
onClick: () => {
|
|
3007
|
-
|
|
3043
|
+
d.current || (d.current = !0, s == null || s());
|
|
3008
3044
|
}
|
|
3009
3045
|
},
|
|
3010
3046
|
"Dismiss"
|
|
3011
3047
|
)
|
|
3012
3048
|
);
|
|
3013
3049
|
}
|
|
3014
|
-
class
|
|
3050
|
+
class zr extends y {
|
|
3015
3051
|
constructor() {
|
|
3016
3052
|
super(...arguments);
|
|
3017
3053
|
c(this, "_child", null);
|
|
@@ -3025,7 +3061,7 @@ class Wr extends y {
|
|
|
3025
3061
|
}
|
|
3026
3062
|
build() {
|
|
3027
3063
|
const { className: t, children: r, ...i } = this._props, n = ["fibo-dismissible", this.getClassName(), t].filter(Boolean).join(" ");
|
|
3028
|
-
return u.createElement(
|
|
3064
|
+
return u.createElement(Gr, {
|
|
3029
3065
|
child: w(this._child),
|
|
3030
3066
|
onDismiss: this._onDismiss,
|
|
3031
3067
|
className: n,
|
|
@@ -3034,11 +3070,11 @@ class Wr extends y {
|
|
|
3034
3070
|
});
|
|
3035
3071
|
}
|
|
3036
3072
|
}
|
|
3037
|
-
const
|
|
3038
|
-
function
|
|
3073
|
+
const $n = _(zr);
|
|
3074
|
+
function Ur(e) {
|
|
3039
3075
|
return `repeat(${e}, minmax(0, 1fr))`;
|
|
3040
3076
|
}
|
|
3041
|
-
class
|
|
3077
|
+
class Xr extends y {
|
|
3042
3078
|
constructor() {
|
|
3043
3079
|
super(...arguments);
|
|
3044
3080
|
c(this, "_direction", "vertical");
|
|
@@ -3056,7 +3092,7 @@ class zr extends y {
|
|
|
3056
3092
|
return this._spacing = t, this;
|
|
3057
3093
|
}
|
|
3058
3094
|
build() {
|
|
3059
|
-
const { className: t, children: r, style: i, ...n } = this._props, o =
|
|
3095
|
+
const { className: t, children: r, style: i, ...n } = this._props, o = Ur(this._columns), a = `${this._spacing}px`, l = this._direction === "horizontal" ? {
|
|
3060
3096
|
gridAutoFlow: "column",
|
|
3061
3097
|
gridTemplateRows: o,
|
|
3062
3098
|
overflowX: "auto"
|
|
@@ -3081,11 +3117,11 @@ class zr extends y {
|
|
|
3081
3117
|
);
|
|
3082
3118
|
}
|
|
3083
3119
|
}
|
|
3084
|
-
const
|
|
3085
|
-
function
|
|
3120
|
+
const Bn = _(Xr);
|
|
3121
|
+
function jt(e, s) {
|
|
3086
3122
|
return typeof e == "number" && Number.isFinite(e) ? e : s;
|
|
3087
3123
|
}
|
|
3088
|
-
const
|
|
3124
|
+
const Kr = u.memo((e) => {
|
|
3089
3125
|
const {
|
|
3090
3126
|
width: s,
|
|
3091
3127
|
height: t,
|
|
@@ -3095,23 +3131,23 @@ const Gr = u.memo((e) => {
|
|
|
3095
3131
|
style: o,
|
|
3096
3132
|
dangerouslySetInnerHTML: a,
|
|
3097
3133
|
...l
|
|
3098
|
-
} = e, { key: h, ...
|
|
3134
|
+
} = e, { key: h, ...d } = l, m = jt(s, 100), f = jt(t, 100), p = typeof r == "string" && r.trim() && !/NaN|Infinity/i.test(r) ? r : `0 0 ${m} ${f}`;
|
|
3099
3135
|
return u.createElement(
|
|
3100
3136
|
"svg",
|
|
3101
3137
|
{
|
|
3102
3138
|
width: m,
|
|
3103
|
-
height:
|
|
3139
|
+
height: f,
|
|
3104
3140
|
viewBox: p,
|
|
3105
3141
|
className: `fibo-canvas ${n || ""}`.trim(),
|
|
3106
3142
|
style: o,
|
|
3107
3143
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3108
3144
|
overflow: "visible",
|
|
3109
|
-
...
|
|
3145
|
+
...d
|
|
3110
3146
|
},
|
|
3111
3147
|
...Array.isArray(i) ? i : i != null ? [i] : []
|
|
3112
3148
|
);
|
|
3113
3149
|
});
|
|
3114
|
-
class
|
|
3150
|
+
class Yr extends y {
|
|
3115
3151
|
constructor() {
|
|
3116
3152
|
super(...arguments);
|
|
3117
3153
|
c(this, "_width", 100);
|
|
@@ -3150,10 +3186,10 @@ class Ur extends y {
|
|
|
3150
3186
|
overflow: this._overflow ?? "visible",
|
|
3151
3187
|
...n
|
|
3152
3188
|
};
|
|
3153
|
-
return u.createElement(
|
|
3189
|
+
return u.createElement(Kr, o);
|
|
3154
3190
|
}
|
|
3155
3191
|
}
|
|
3156
|
-
const
|
|
3192
|
+
const qr = _(Yr), Zr = /* @__PURE__ */ new Set([
|
|
3157
3193
|
"$$typeof",
|
|
3158
3194
|
"type",
|
|
3159
3195
|
"props",
|
|
@@ -3164,7 +3200,7 @@ const Xr = _(Ur), Yr = /* @__PURE__ */ new Set([
|
|
|
3164
3200
|
"_self",
|
|
3165
3201
|
"_source"
|
|
3166
3202
|
]);
|
|
3167
|
-
class
|
|
3203
|
+
class bt {
|
|
3168
3204
|
constructor() {
|
|
3169
3205
|
c(this, "_className");
|
|
3170
3206
|
c(this, "_style");
|
|
@@ -3189,7 +3225,7 @@ class yt {
|
|
|
3189
3225
|
return this._className = s, this;
|
|
3190
3226
|
}
|
|
3191
3227
|
style(s) {
|
|
3192
|
-
if (this._style =
|
|
3228
|
+
if (this._style = Qr(this._style, s), s && typeof s == "object") {
|
|
3193
3229
|
const t = Object.keys(s).map((r) => r.includes("-") ? ft(r) : r);
|
|
3194
3230
|
this.lastWritePresentation(t);
|
|
3195
3231
|
}
|
|
@@ -3199,9 +3235,9 @@ class yt {
|
|
|
3199
3235
|
css(s, t) {
|
|
3200
3236
|
if (s !== null && typeof s == "object")
|
|
3201
3237
|
return this.style(s);
|
|
3202
|
-
const r = String(s), i = r.includes("-") ? ft(r) : r, n =
|
|
3238
|
+
const r = String(s), i = r.includes("-") ? ft(r) : r, n = Zt(i) ?? [i], o = { ...this._style };
|
|
3203
3239
|
for (const a of n)
|
|
3204
|
-
o[a] =
|
|
3240
|
+
o[a] = me(a, t);
|
|
3205
3241
|
return this._style = o, this.lastWritePresentation(n), this;
|
|
3206
3242
|
}
|
|
3207
3243
|
/** CSS `transform`/`filter` win over the SVG presentation attribute (same last-write as rotateX). */
|
|
@@ -3218,7 +3254,7 @@ class yt {
|
|
|
3218
3254
|
fill(s) {
|
|
3219
3255
|
if (typeof s == "string")
|
|
3220
3256
|
return this._fill = s, this;
|
|
3221
|
-
const t =
|
|
3257
|
+
const t = ei(s);
|
|
3222
3258
|
return t ? (this._fill = t.fill, t.def != null && this._paintDefs.push(t.def), this) : this;
|
|
3223
3259
|
}
|
|
3224
3260
|
fillColor(s) {
|
|
@@ -3339,7 +3375,7 @@ class yt {
|
|
|
3339
3375
|
return this.setCssTransform(`perspective(${s}px)`);
|
|
3340
3376
|
}
|
|
3341
3377
|
filter(s) {
|
|
3342
|
-
return this._filter = typeof s == "string" ?
|
|
3378
|
+
return this._filter = typeof s == "string" ? pe(s) : s, this.clearStyleProp("filter");
|
|
3343
3379
|
}
|
|
3344
3380
|
/** SVG 1.1 transform list. Clears a prior CSS 3D `style.transform`. */
|
|
3345
3381
|
setSvgTransform(s) {
|
|
@@ -3363,10 +3399,10 @@ class yt {
|
|
|
3363
3399
|
return this.applyDropShadow(s, t, r, i);
|
|
3364
3400
|
}
|
|
3365
3401
|
applyDropShadow(s, t, r, i) {
|
|
3366
|
-
return
|
|
3402
|
+
return Jr(s, t, r, i) ? (this._filter = void 0, this.clearStyleProp("filter")) : (this._filter = ti(s, t ?? 0, r ?? 0, i), this.clearStyleProp("filter"));
|
|
3367
3403
|
}
|
|
3368
3404
|
glow(s, t = 10) {
|
|
3369
|
-
return this._filter = `drop-shadow(0 0 ${t}px ${
|
|
3405
|
+
return this._filter = `drop-shadow(0 0 ${t}px ${fe(s)})`, this.clearStyleProp("filter");
|
|
3370
3406
|
}
|
|
3371
3407
|
brightness(s) {
|
|
3372
3408
|
return this._filter = `brightness(${s})`, this.clearStyleProp("filter");
|
|
@@ -3440,18 +3476,18 @@ class yt {
|
|
|
3440
3476
|
throw new Error("build() must be implemented by subclass");
|
|
3441
3477
|
}
|
|
3442
3478
|
}
|
|
3443
|
-
function
|
|
3479
|
+
function Qr(e, s) {
|
|
3444
3480
|
const t = { ...e };
|
|
3445
3481
|
if (!s || typeof s != "object") return t;
|
|
3446
3482
|
for (const [r, i] of Object.entries(s)) {
|
|
3447
3483
|
if (i == null) continue;
|
|
3448
|
-
const n = r.includes("-") ? ft(r) : r, o =
|
|
3484
|
+
const n = r.includes("-") ? ft(r) : r, o = Zt(n);
|
|
3449
3485
|
if (o) {
|
|
3450
|
-
const l =
|
|
3486
|
+
const l = Qt(o[0], i);
|
|
3451
3487
|
for (const h of o) t[h] = l;
|
|
3452
3488
|
continue;
|
|
3453
3489
|
}
|
|
3454
|
-
const a =
|
|
3490
|
+
const a = me(n, i);
|
|
3455
3491
|
if (a === "none" || n === "filter" || n === "backdropFilter") {
|
|
3456
3492
|
t[n] = a;
|
|
3457
3493
|
continue;
|
|
@@ -3460,26 +3496,26 @@ function Kr(e, s) {
|
|
|
3460
3496
|
}
|
|
3461
3497
|
return t;
|
|
3462
3498
|
}
|
|
3463
|
-
function
|
|
3499
|
+
function fe(e) {
|
|
3464
3500
|
return typeof e != "string" ? "" : e.replace(/\binset\b/gi, " ").replace(/\s+/g, " ").trim();
|
|
3465
3501
|
}
|
|
3466
|
-
function
|
|
3502
|
+
function Jr(e, s, t, r) {
|
|
3467
3503
|
return s !== void 0 || t !== void 0 || r !== void 0 ? !1 : e === 0 || e === "0" || e === "none" || e == null || e === !1;
|
|
3468
3504
|
}
|
|
3469
|
-
function
|
|
3470
|
-
const t =
|
|
3471
|
-
return e === "filter" || e === "backdropFilter" ?
|
|
3505
|
+
function me(e, s) {
|
|
3506
|
+
const t = Qt(e, s);
|
|
3507
|
+
return e === "filter" || e === "backdropFilter" ? pe(t) : t;
|
|
3472
3508
|
}
|
|
3473
|
-
function
|
|
3509
|
+
function pe(e) {
|
|
3474
3510
|
return /drop-shadow\s*\(/i.test(e) ? e.replace(/\binset\b/gi, (s, t, r) => {
|
|
3475
3511
|
const i = r.slice(0, t);
|
|
3476
3512
|
return /url\s*\([^)]*$/i.test(i) ? s : " ";
|
|
3477
3513
|
}).replace(/[ \t]{2,}/g, " ").replace(/\(\s+/g, "(").replace(/\s+\)/g, ")").trim() : e;
|
|
3478
3514
|
}
|
|
3479
|
-
function
|
|
3480
|
-
return `drop-shadow(${e}px ${s}px ${t}px ${
|
|
3515
|
+
function ti(e, s, t, r) {
|
|
3516
|
+
return `drop-shadow(${e}px ${s}px ${t}px ${fe(r)})`;
|
|
3481
3517
|
}
|
|
3482
|
-
function
|
|
3518
|
+
function ei(e) {
|
|
3483
3519
|
var i;
|
|
3484
3520
|
if (!e || typeof e != "object") return;
|
|
3485
3521
|
const s = e;
|
|
@@ -3489,14 +3525,14 @@ function Qr(e) {
|
|
|
3489
3525
|
typeof n == "string" && n && (t = n);
|
|
3490
3526
|
}
|
|
3491
3527
|
if (!t && typeof s.id == "string" && s.id && (t = s.id), !t && typeof ((i = s.props) == null ? void 0 : i.id) == "string" && s.props.id && (t = s.props.id), !t) return;
|
|
3492
|
-
let r =
|
|
3493
|
-
return r == null && typeof s.build == "function" && (r =
|
|
3528
|
+
let r = Ht(s.element);
|
|
3529
|
+
return r == null && typeof s.build == "function" && (r = Ht(s.build())), { fill: `url(#${t})`, def: r };
|
|
3494
3530
|
}
|
|
3495
|
-
function
|
|
3531
|
+
function Ht(e) {
|
|
3496
3532
|
if (!(e == null || typeof e == "function" || typeof e == "boolean") && u.isValidElement(e))
|
|
3497
3533
|
return e;
|
|
3498
3534
|
}
|
|
3499
|
-
function
|
|
3535
|
+
function St(e) {
|
|
3500
3536
|
return () => {
|
|
3501
3537
|
const s = new e(), t = () => s.build(), r = e.name.replace(/Builder$/, "") || "Shape", i = function() {
|
|
3502
3538
|
return t();
|
|
@@ -3515,16 +3551,16 @@ function bt(e) {
|
|
|
3515
3551
|
}), s.props = n.props ?? {}, s.ref = n.ref ?? null, s._store = { validated: 1 };
|
|
3516
3552
|
const o = new Proxy(s, {
|
|
3517
3553
|
get(a, l, h) {
|
|
3518
|
-
if (typeof l != "string" || l === "constructor" || l === "then" ||
|
|
3554
|
+
if (typeof l != "string" || l === "constructor" || l === "then" || Zr.has(l))
|
|
3519
3555
|
return Reflect.get(a, l, h);
|
|
3520
3556
|
if (l in a) {
|
|
3521
|
-
const
|
|
3522
|
-
return typeof
|
|
3523
|
-
const
|
|
3524
|
-
return
|
|
3557
|
+
const d = Reflect.get(a, l, h);
|
|
3558
|
+
return typeof d != "function" ? d : (...m) => {
|
|
3559
|
+
const f = d.apply(a, m);
|
|
3560
|
+
return f === a ? o : f;
|
|
3525
3561
|
};
|
|
3526
3562
|
}
|
|
3527
|
-
return (
|
|
3563
|
+
return (d) => (a.css(l, d), o);
|
|
3528
3564
|
}
|
|
3529
3565
|
});
|
|
3530
3566
|
return o;
|
|
@@ -3533,7 +3569,7 @@ function bt(e) {
|
|
|
3533
3569
|
function E(e) {
|
|
3534
3570
|
return typeof e == "number" && Number.isFinite(e);
|
|
3535
3571
|
}
|
|
3536
|
-
class
|
|
3572
|
+
class si extends bt {
|
|
3537
3573
|
constructor() {
|
|
3538
3574
|
super(...arguments);
|
|
3539
3575
|
c(this, "_cx", 0);
|
|
@@ -3606,11 +3642,11 @@ class Jr extends yt {
|
|
|
3606
3642
|
return this.wrapShape(t, "circle-group");
|
|
3607
3643
|
}
|
|
3608
3644
|
}
|
|
3609
|
-
const A =
|
|
3610
|
-
function
|
|
3645
|
+
const A = St(si);
|
|
3646
|
+
function C(e) {
|
|
3611
3647
|
return typeof e == "number" && Number.isFinite(e);
|
|
3612
3648
|
}
|
|
3613
|
-
class
|
|
3649
|
+
class ri extends bt {
|
|
3614
3650
|
constructor() {
|
|
3615
3651
|
super(...arguments);
|
|
3616
3652
|
c(this, "_x", 0);
|
|
@@ -3625,13 +3661,13 @@ class ti extends yt {
|
|
|
3625
3661
|
c(this, "_radiusBottomRight");
|
|
3626
3662
|
}
|
|
3627
3663
|
position(t, r) {
|
|
3628
|
-
return !
|
|
3664
|
+
return !C(t) || !C(r) ? this : (this._x = t, this._y = r, this);
|
|
3629
3665
|
}
|
|
3630
3666
|
x(t) {
|
|
3631
|
-
return
|
|
3667
|
+
return C(t) ? (this._x = t, this) : this;
|
|
3632
3668
|
}
|
|
3633
3669
|
y(t) {
|
|
3634
|
-
return
|
|
3670
|
+
return C(t) ? (this._y = t, this) : this;
|
|
3635
3671
|
}
|
|
3636
3672
|
left(t) {
|
|
3637
3673
|
return this.x(t);
|
|
@@ -3640,73 +3676,73 @@ class ti extends yt {
|
|
|
3640
3676
|
return this.y(t);
|
|
3641
3677
|
}
|
|
3642
3678
|
right(t) {
|
|
3643
|
-
return
|
|
3679
|
+
return C(t) ? (this._x = t - this._width, this) : this;
|
|
3644
3680
|
}
|
|
3645
3681
|
bottom(t) {
|
|
3646
|
-
return
|
|
3682
|
+
return C(t) ? (this._y = t - this._height, this) : this;
|
|
3647
3683
|
}
|
|
3648
3684
|
centerX(t) {
|
|
3649
|
-
return
|
|
3685
|
+
return C(t) ? (this._x = t - this._width / 2, this) : this;
|
|
3650
3686
|
}
|
|
3651
3687
|
centerY(t) {
|
|
3652
|
-
return
|
|
3688
|
+
return C(t) ? (this._y = t - this._height / 2, this) : this;
|
|
3653
3689
|
}
|
|
3654
3690
|
center(t, r) {
|
|
3655
|
-
return !
|
|
3691
|
+
return !C(t) || !C(r) ? this : (this._x = t - this._width / 2, this._y = r - this._height / 2, this);
|
|
3656
3692
|
}
|
|
3657
3693
|
size(t, r) {
|
|
3658
|
-
return !
|
|
3694
|
+
return !C(t) || !C(r) ? this : (this._width = t, this._height = r, this);
|
|
3659
3695
|
}
|
|
3660
3696
|
width(t) {
|
|
3661
|
-
return
|
|
3697
|
+
return C(t) ? (this._width = t, this) : this;
|
|
3662
3698
|
}
|
|
3663
3699
|
height(t) {
|
|
3664
|
-
return
|
|
3700
|
+
return C(t) ? (this._height = t, this) : this;
|
|
3665
3701
|
}
|
|
3666
3702
|
cornerRadius(t) {
|
|
3667
|
-
return
|
|
3703
|
+
return C(t) ? (this._rx = t, this._ry = t, this._radiusTopLeft = void 0, this._radiusTopRight = void 0, this._radiusBottomLeft = void 0, this._radiusBottomRight = void 0, this) : this;
|
|
3668
3704
|
}
|
|
3669
3705
|
cornerRadii(t, r) {
|
|
3670
|
-
return !
|
|
3706
|
+
return !C(t) || !C(r) ? this : (this._rx = t, this._ry = r, this._radiusTopLeft = void 0, this._radiusTopRight = void 0, this._radiusBottomLeft = void 0, this._radiusBottomRight = void 0, this);
|
|
3671
3707
|
}
|
|
3672
3708
|
cornerRadiusTopLeft(t) {
|
|
3673
|
-
return
|
|
3709
|
+
return C(t) ? (this._radiusTopLeft = t, this) : this;
|
|
3674
3710
|
}
|
|
3675
3711
|
cornerRadiusTopRight(t) {
|
|
3676
|
-
return
|
|
3712
|
+
return C(t) ? (this._radiusTopRight = t, this) : this;
|
|
3677
3713
|
}
|
|
3678
3714
|
cornerRadiusBottomLeft(t) {
|
|
3679
|
-
return
|
|
3715
|
+
return C(t) ? (this._radiusBottomLeft = t, this) : this;
|
|
3680
3716
|
}
|
|
3681
3717
|
cornerRadiusBottomRight(t) {
|
|
3682
|
-
return
|
|
3718
|
+
return C(t) ? (this._radiusBottomRight = t, this) : this;
|
|
3683
3719
|
}
|
|
3684
3720
|
cornerRadiusTop(t) {
|
|
3685
|
-
return
|
|
3721
|
+
return C(t) ? (this._radiusTopLeft = t, this._radiusTopRight = t, this) : this;
|
|
3686
3722
|
}
|
|
3687
3723
|
cornerRadiusBottom(t) {
|
|
3688
|
-
return
|
|
3724
|
+
return C(t) ? (this._radiusBottomLeft = t, this._radiusBottomRight = t, this) : this;
|
|
3689
3725
|
}
|
|
3690
3726
|
cornerRadiusLeft(t) {
|
|
3691
|
-
return
|
|
3727
|
+
return C(t) ? (this._radiusTopLeft = t, this._radiusBottomLeft = t, this) : this;
|
|
3692
3728
|
}
|
|
3693
3729
|
cornerRadiusRight(t) {
|
|
3694
|
-
return
|
|
3730
|
+
return C(t) ? (this._radiusTopRight = t, this._radiusBottomRight = t, this) : this;
|
|
3695
3731
|
}
|
|
3696
3732
|
rotateSelf(t) {
|
|
3697
3733
|
const r = this._x + this._width / 2, i = this._y + this._height / 2;
|
|
3698
3734
|
return this.rotate(t, r, i);
|
|
3699
3735
|
}
|
|
3700
3736
|
generateRoundedRectPath() {
|
|
3701
|
-
const t = this._x, r = this._y, i = this._width, n = this._height, o = this._rx, a = this._radiusTopLeft ?? o ?? 0, l = this._radiusTopRight ?? o ?? 0, h = this._radiusBottomRight ?? o ?? 0,
|
|
3737
|
+
const t = this._x, r = this._y, i = this._width, n = this._height, o = this._rx, a = this._radiusTopLeft ?? o ?? 0, l = this._radiusTopRight ?? o ?? 0, h = this._radiusBottomRight ?? o ?? 0, d = this._radiusBottomLeft ?? o ?? 0;
|
|
3702
3738
|
return `
|
|
3703
3739
|
M ${t + a} ${r}
|
|
3704
3740
|
L ${t + i - l} ${r}
|
|
3705
3741
|
Q ${t + i} ${r} ${t + i} ${r + l}
|
|
3706
3742
|
L ${t + i} ${r + n - h}
|
|
3707
3743
|
Q ${t + i} ${r + n} ${t + i - h} ${r + n}
|
|
3708
|
-
L ${t +
|
|
3709
|
-
Q ${t} ${r + n} ${t} ${r + n -
|
|
3744
|
+
L ${t + d} ${r + n}
|
|
3745
|
+
Q ${t} ${r + n} ${t} ${r + n - d}
|
|
3710
3746
|
L ${t} ${r + a}
|
|
3711
3747
|
Q ${t} ${r} ${t + a} ${r}
|
|
3712
3748
|
Z
|
|
@@ -3728,11 +3764,11 @@ class ti extends yt {
|
|
|
3728
3764
|
return this.wrapShape(i, "rect-group");
|
|
3729
3765
|
}
|
|
3730
3766
|
}
|
|
3731
|
-
const
|
|
3732
|
-
function
|
|
3767
|
+
const Wt = St(ri);
|
|
3768
|
+
function Vt(e) {
|
|
3733
3769
|
return typeof e == "string" ? e : "";
|
|
3734
3770
|
}
|
|
3735
|
-
class
|
|
3771
|
+
class ii extends bt {
|
|
3736
3772
|
constructor() {
|
|
3737
3773
|
super(...arguments);
|
|
3738
3774
|
c(this, "_d", "");
|
|
@@ -3740,7 +3776,7 @@ class ei extends yt {
|
|
|
3740
3776
|
c(this, "_pullY");
|
|
3741
3777
|
}
|
|
3742
3778
|
d(t) {
|
|
3743
|
-
return this._d =
|
|
3779
|
+
return this._d = Vt(t), this;
|
|
3744
3780
|
}
|
|
3745
3781
|
/** Append a command; skip if any coordinate is non-finite (invalid SVG). */
|
|
3746
3782
|
push(t, r) {
|
|
@@ -3798,28 +3834,28 @@ class ei extends yt {
|
|
|
3798
3834
|
return this.close();
|
|
3799
3835
|
}
|
|
3800
3836
|
build() {
|
|
3801
|
-
const t =
|
|
3837
|
+
const t = Vt(this._d).trim() || void 0, r = u.createElement("path", {
|
|
3802
3838
|
d: t,
|
|
3803
3839
|
...this.shapePaintProps()
|
|
3804
3840
|
});
|
|
3805
3841
|
return this.wrapShape(r, "path-group");
|
|
3806
3842
|
}
|
|
3807
3843
|
}
|
|
3808
|
-
const L =
|
|
3809
|
-
let
|
|
3810
|
-
function
|
|
3811
|
-
return
|
|
3844
|
+
const L = St(ii);
|
|
3845
|
+
let yt = 0;
|
|
3846
|
+
function ni(e) {
|
|
3847
|
+
return yt += 1, `${e}-${yt}`;
|
|
3812
3848
|
}
|
|
3813
|
-
const
|
|
3814
|
-
|
|
3815
|
-
return (typeof globalThis.window > "u" || globalThis.window == null) && (
|
|
3849
|
+
const ai = Jt.prototype.reset;
|
|
3850
|
+
Jt.prototype.reset = function() {
|
|
3851
|
+
return (typeof globalThis.window > "u" || globalThis.window == null) && (yt = 0), ai.call(this);
|
|
3816
3852
|
};
|
|
3817
|
-
class
|
|
3853
|
+
class oi extends y {
|
|
3818
3854
|
constructor() {
|
|
3819
3855
|
super(...arguments);
|
|
3820
3856
|
c(this, "_id");
|
|
3821
3857
|
/** Per-instance auto id — content hashes collided for identical paints (invalid SVG). */
|
|
3822
|
-
c(this, "_uid",
|
|
3858
|
+
c(this, "_uid", ni("gradient"));
|
|
3823
3859
|
c(this, "_colors", ["#000", "#fff"]);
|
|
3824
3860
|
c(this, "_stops");
|
|
3825
3861
|
c(this, "_angle", 0);
|
|
@@ -3883,27 +3919,27 @@ class ii extends y {
|
|
|
3883
3919
|
return u.createElement("defs", { key: i }, n);
|
|
3884
3920
|
}
|
|
3885
3921
|
}
|
|
3886
|
-
const
|
|
3887
|
-
function
|
|
3922
|
+
const Ln = _(oi), Gt = ["12% 18%", "88% 16%", "78% 82%", "18% 78%", "50% 46%", "36% 62%"];
|
|
3923
|
+
function ge(e) {
|
|
3888
3924
|
const s = Array.isArray(e) ? e.filter((r) => typeof r == "string" && r.length > 0) : [];
|
|
3889
3925
|
if (s.length >= 2) return s;
|
|
3890
3926
|
const t = s[0];
|
|
3891
3927
|
return [t ?? "#000000", t ?? "#ffffff"];
|
|
3892
3928
|
}
|
|
3893
|
-
function
|
|
3894
|
-
const s =
|
|
3895
|
-
return { image: s.map((r, i) => `radial-gradient(circle at ${
|
|
3929
|
+
function li(e) {
|
|
3930
|
+
const s = ge(e);
|
|
3931
|
+
return { image: s.map((r, i) => `radial-gradient(circle at ${Gt[i % Gt.length]}, ${r} 0%, transparent 62%)`).join(", "), color: s[s.length - 1] };
|
|
3896
3932
|
}
|
|
3897
|
-
class
|
|
3933
|
+
class ci extends y {
|
|
3898
3934
|
constructor() {
|
|
3899
3935
|
super(...arguments);
|
|
3900
3936
|
c(this, "_colors", ["#ff6a2a", "#0b6e99"]);
|
|
3901
3937
|
}
|
|
3902
3938
|
colors(t) {
|
|
3903
|
-
return this._colors =
|
|
3939
|
+
return this._colors = ge(t), this;
|
|
3904
3940
|
}
|
|
3905
3941
|
build() {
|
|
3906
|
-
const t =
|
|
3942
|
+
const t = li(this._colors), { className: r, style: i, dangerouslySetInnerHTML: n, ...o } = this._props, a = i && typeof i == "object" && !Array.isArray(i) ? i : {}, l = {
|
|
3907
3943
|
...this.getStyle(),
|
|
3908
3944
|
backgroundColor: t.color,
|
|
3909
3945
|
backgroundImage: t.image,
|
|
@@ -3920,8 +3956,8 @@ class ai extends y {
|
|
|
3920
3956
|
});
|
|
3921
3957
|
}
|
|
3922
3958
|
}
|
|
3923
|
-
const
|
|
3924
|
-
class
|
|
3959
|
+
const Pn = _(ci);
|
|
3960
|
+
class ui extends y {
|
|
3925
3961
|
constructor() {
|
|
3926
3962
|
super(...arguments);
|
|
3927
3963
|
c(this, "_iconSize", 100);
|
|
@@ -3931,18 +3967,18 @@ class oi extends y {
|
|
|
3931
3967
|
}
|
|
3932
3968
|
build() {
|
|
3933
3969
|
const t = this._iconSize;
|
|
3934
|
-
return
|
|
3970
|
+
return qr().width(t).height(t).viewBox("0 0 100 100").children([
|
|
3935
3971
|
A().center(50, 92).radius(35).fillHex("#000000").opacity(0.15).blur(4).scale(1, 0.2).build(),
|
|
3936
3972
|
L().startAt(15, 80).pull(15, 92).to(30, 92).to(70, 92).pull(85, 92).to(85, 80).to(85, 75).to(15, 75).done().fillHex("#E6A15C").strokeHex("#CC8E51").strokeWidth(0.5).shadow(0, 2, 3, "rgba(0,0,0,0.1)").build(),
|
|
3937
3973
|
L().startAt(25, 88).pull(50, 90).to(75, 88).strokeHex("#F5CBA7").strokeWidth(2).opacity(0.4).fill("none").build(),
|
|
3938
|
-
|
|
3974
|
+
Wt().position(12, 65).size(76, 12).cornerRadius(4).fillHex("#5D4037").strokeHex("#3E2723").strokeWidth(0.5).children([
|
|
3939
3975
|
L().startAt(20, 65).to(20, 77).strokeHex("#3E2723").strokeWidth(1).opacity(0.3).build(),
|
|
3940
3976
|
L().startAt(35, 65).to(35, 77).strokeHex("#3E2723").strokeWidth(1).opacity(0.3).build(),
|
|
3941
3977
|
L().startAt(50, 65).to(50, 77).strokeHex("#3E2723").strokeWidth(1).opacity(0.3).build(),
|
|
3942
3978
|
L().startAt(65, 65).to(65, 77).strokeHex("#3E2723").strokeWidth(1).opacity(0.3).build()
|
|
3943
3979
|
]).shadow(0, 2, 2, "rgba(0,0,0,0.2)").build(),
|
|
3944
3980
|
L().startAt(12, 66).to(88, 66).to(88, 70).pull(82, 70).to(78, 74).pull(74, 78).to(70, 72).pull(65, 70).to(60, 75).pull(55, 80).to(50, 72).pull(45, 70).to(40, 76).pull(35, 82).to(30, 72).pull(25, 70).to(20, 74).to(12, 70).done().fillHex("#FFC107").strokeHex("#FFA000").strokeWidth(0.5).opacity(0.95).shadow(0, 1, 1, "rgba(0,0,0,0.1)").build(),
|
|
3945
|
-
|
|
3981
|
+
Wt().position(14, 58).size(72, 8).cornerRadius(3).fillHex("#F44336").strokeHex("#D32F2F").strokeWidth(0.5).children([
|
|
3946
3982
|
L().startAt(18, 60).to(84, 60).strokeHex("#FFCDD2").strokeWidth(2).opacity(0.6).build()
|
|
3947
3983
|
]).build(),
|
|
3948
3984
|
L().startAt(10, 52).pull(17.5, 58).to(25, 52).pull(32.5, 58).to(40, 52).pull(47.5, 58).to(55, 52).pull(62.5, 58).to(70, 52).pull(77.5, 58).to(85, 52).pull(92, 55).to(90, 58).to(12, 58).pull(8, 55).to(10, 52).done().fillHex("#7CB342").strokeHex("#558B2F").strokeWidth(0.5).shadow(0, 1, 2, "rgba(0,0,0,0.15)").build(),
|
|
@@ -3961,11 +3997,11 @@ class oi extends y {
|
|
|
3961
3997
|
]).build();
|
|
3962
3998
|
}
|
|
3963
3999
|
}
|
|
3964
|
-
const
|
|
3965
|
-
function
|
|
4000
|
+
const Rn = _(ui);
|
|
4001
|
+
function hi(e) {
|
|
3966
4002
|
return e == null || e === !1 ? null : w(e);
|
|
3967
4003
|
}
|
|
3968
|
-
class
|
|
4004
|
+
class di extends y {
|
|
3969
4005
|
constructor() {
|
|
3970
4006
|
super(...arguments);
|
|
3971
4007
|
c(this, "_open", !1);
|
|
@@ -4025,19 +4061,19 @@ class ci extends y {
|
|
|
4025
4061
|
}
|
|
4026
4062
|
},
|
|
4027
4063
|
this._title ? u.createElement("h2", { key: "title" }, this._title) : null,
|
|
4028
|
-
|
|
4064
|
+
hi(this._child)
|
|
4029
4065
|
)
|
|
4030
4066
|
);
|
|
4031
4067
|
}
|
|
4032
4068
|
}
|
|
4033
|
-
const
|
|
4069
|
+
const An = _(di), zt = {
|
|
4034
4070
|
medium: "50vh",
|
|
4035
4071
|
large: "90vh"
|
|
4036
4072
|
};
|
|
4037
|
-
function
|
|
4073
|
+
function fi(e) {
|
|
4038
4074
|
return e == null || e === !1 ? null : w(e);
|
|
4039
4075
|
}
|
|
4040
|
-
class
|
|
4076
|
+
class mi extends y {
|
|
4041
4077
|
constructor() {
|
|
4042
4078
|
super(...arguments);
|
|
4043
4079
|
c(this, "_open", !1);
|
|
@@ -4067,9 +4103,9 @@ class hi extends y {
|
|
|
4067
4103
|
}
|
|
4068
4104
|
build() {
|
|
4069
4105
|
if (!this._open) return null;
|
|
4070
|
-
const t = this._detents.includes(this._detent) ? this._detent : this._detents[0] ?? "medium", r =
|
|
4071
|
-
var
|
|
4072
|
-
(
|
|
4106
|
+
const t = this._detents.includes(this._detent) ? this._detent : this._detents[0] ?? "medium", r = zt[t] ?? zt.medium, { className: i, style: n, children: o, ...a } = this._props, l = ["fibo-bottom-sheet", this.getClassName(), i].filter(Boolean).join(" "), h = () => {
|
|
4107
|
+
var d;
|
|
4108
|
+
(d = this._onClose) == null || d.call(this);
|
|
4073
4109
|
};
|
|
4074
4110
|
return u.createElement(
|
|
4075
4111
|
"div",
|
|
@@ -4100,13 +4136,13 @@ class hi extends y {
|
|
|
4100
4136
|
}
|
|
4101
4137
|
},
|
|
4102
4138
|
this._title ? u.createElement("h2", { key: "title" }, this._title) : null,
|
|
4103
|
-
|
|
4139
|
+
fi(this._child)
|
|
4104
4140
|
)
|
|
4105
4141
|
);
|
|
4106
4142
|
}
|
|
4107
4143
|
}
|
|
4108
|
-
const
|
|
4109
|
-
class
|
|
4144
|
+
const Mn = _(mi);
|
|
4145
|
+
class pi extends y {
|
|
4110
4146
|
constructor() {
|
|
4111
4147
|
super(...arguments);
|
|
4112
4148
|
c(this, "_open", !1);
|
|
@@ -4185,11 +4221,11 @@ class fi extends y {
|
|
|
4185
4221
|
);
|
|
4186
4222
|
}
|
|
4187
4223
|
}
|
|
4188
|
-
const
|
|
4189
|
-
function
|
|
4224
|
+
const Fn = _(pi);
|
|
4225
|
+
function gi(e) {
|
|
4190
4226
|
return e == null || e === !1 ? null : w(e);
|
|
4191
4227
|
}
|
|
4192
|
-
class
|
|
4228
|
+
class _i extends y {
|
|
4193
4229
|
constructor() {
|
|
4194
4230
|
super(...arguments);
|
|
4195
4231
|
c(this, "_open", !1);
|
|
@@ -4225,13 +4261,13 @@ class mi extends y {
|
|
|
4225
4261
|
return u.createElement(
|
|
4226
4262
|
u.Fragment,
|
|
4227
4263
|
null,
|
|
4228
|
-
|
|
4264
|
+
gi(this._anchor),
|
|
4229
4265
|
a
|
|
4230
4266
|
);
|
|
4231
4267
|
}
|
|
4232
4268
|
}
|
|
4233
|
-
const
|
|
4234
|
-
class
|
|
4269
|
+
const In = _(_i);
|
|
4270
|
+
class yi extends y {
|
|
4235
4271
|
constructor() {
|
|
4236
4272
|
super(...arguments);
|
|
4237
4273
|
c(this, "_open", !1);
|
|
@@ -4295,11 +4331,11 @@ class pi extends y {
|
|
|
4295
4331
|
);
|
|
4296
4332
|
}
|
|
4297
4333
|
}
|
|
4298
|
-
const
|
|
4299
|
-
function
|
|
4334
|
+
const Dn = _(yi);
|
|
4335
|
+
function bi(e) {
|
|
4300
4336
|
return e == null || e === !1 ? null : w(e);
|
|
4301
4337
|
}
|
|
4302
|
-
class
|
|
4338
|
+
class Si extends y {
|
|
4303
4339
|
constructor() {
|
|
4304
4340
|
super(...arguments);
|
|
4305
4341
|
c(this, "_open", !1);
|
|
@@ -4351,15 +4387,15 @@ class _i extends y {
|
|
|
4351
4387
|
},
|
|
4352
4388
|
"×"
|
|
4353
4389
|
) : null,
|
|
4354
|
-
|
|
4390
|
+
bi(this._child)
|
|
4355
4391
|
);
|
|
4356
4392
|
}
|
|
4357
4393
|
}
|
|
4358
|
-
const
|
|
4359
|
-
function
|
|
4394
|
+
const On = _(Si);
|
|
4395
|
+
function vi(e) {
|
|
4360
4396
|
return e == null || e === !1 ? null : w(e);
|
|
4361
4397
|
}
|
|
4362
|
-
class
|
|
4398
|
+
class Ci extends y {
|
|
4363
4399
|
constructor(t = null) {
|
|
4364
4400
|
super();
|
|
4365
4401
|
c(this, "_href");
|
|
@@ -4377,26 +4413,26 @@ class bi extends y {
|
|
|
4377
4413
|
return this._rel = t, this;
|
|
4378
4414
|
}
|
|
4379
4415
|
build() {
|
|
4380
|
-
const { className: t, style: r, key: i, children: n, rel: o, href: a, target: l, ...h } = this._props,
|
|
4416
|
+
const { className: t, style: r, key: i, children: n, rel: o, href: a, target: l, ...h } = this._props, d = ["fibo-anchor", this.getClassName(), t].filter(Boolean).join(" "), m = r ? { ...this.getStyle(), ...r } : this.getStyle(), f = this._href != null && F(this._href) ? void 0 : this._href, p = this._target, g = p != null && String(p).toLowerCase() === "_blank" ? Be(this._rel ?? o, "noopener noreferrer") : this._rel ?? o;
|
|
4381
4417
|
return u.createElement(
|
|
4382
4418
|
"a",
|
|
4383
4419
|
{
|
|
4384
4420
|
...h,
|
|
4385
|
-
className:
|
|
4421
|
+
className: d,
|
|
4386
4422
|
style: m,
|
|
4387
|
-
href:
|
|
4423
|
+
href: f,
|
|
4388
4424
|
target: p,
|
|
4389
4425
|
rel: g
|
|
4390
4426
|
},
|
|
4391
|
-
|
|
4427
|
+
vi(this._label)
|
|
4392
4428
|
);
|
|
4393
4429
|
}
|
|
4394
4430
|
}
|
|
4395
|
-
const
|
|
4396
|
-
function
|
|
4431
|
+
const jn = _(Ci);
|
|
4432
|
+
function Ut(e) {
|
|
4397
4433
|
return e == null || e === !1 ? null : w(e);
|
|
4398
4434
|
}
|
|
4399
|
-
class
|
|
4435
|
+
class ki extends y {
|
|
4400
4436
|
constructor() {
|
|
4401
4437
|
super(...arguments);
|
|
4402
4438
|
c(this, "_tabs", []);
|
|
@@ -4414,7 +4450,7 @@ class Si extends y {
|
|
|
4414
4450
|
}
|
|
4415
4451
|
build() {
|
|
4416
4452
|
var p;
|
|
4417
|
-
const { className: t, style: r, key: i, children: n, ...o } = this._props, a = ["fibo-tabview", this.getClassName(), t].filter(Boolean).join(" "), l = r ? { ...this.getStyle(), ...r } : this.getStyle(), h = this._value ?? ((p = this._tabs[0]) == null ? void 0 : p.value),
|
|
4453
|
+
const { className: t, style: r, key: i, children: n, ...o } = this._props, a = ["fibo-tabview", this.getClassName(), t].filter(Boolean).join(" "), l = r ? { ...this.getStyle(), ...r } : this.getStyle(), h = this._value ?? ((p = this._tabs[0]) == null ? void 0 : p.value), d = this._tabs.find((b) => b.value === h) ?? this._tabs[0], m = u.createElement(
|
|
4418
4454
|
"div",
|
|
4419
4455
|
{ role: "tablist", className: "fibo-tabview-list" },
|
|
4420
4456
|
...this._tabs.map(
|
|
@@ -4430,22 +4466,22 @@ class Si extends y {
|
|
|
4430
4466
|
return (g = this._onChange) == null ? void 0 : g.call(this, b.value);
|
|
4431
4467
|
}
|
|
4432
4468
|
},
|
|
4433
|
-
|
|
4469
|
+
Ut(b.label)
|
|
4434
4470
|
)
|
|
4435
4471
|
)
|
|
4436
|
-
),
|
|
4472
|
+
), f = u.createElement(
|
|
4437
4473
|
"div",
|
|
4438
4474
|
{ role: "tabpanel", className: "fibo-tabview-panel" },
|
|
4439
|
-
|
|
4475
|
+
Ut(d == null ? void 0 : d.child)
|
|
4440
4476
|
);
|
|
4441
|
-
return u.createElement("div", { ...o, className: a, style: l }, m,
|
|
4477
|
+
return u.createElement("div", { ...o, className: a, style: l }, m, f);
|
|
4442
4478
|
}
|
|
4443
4479
|
}
|
|
4444
|
-
const
|
|
4445
|
-
function
|
|
4480
|
+
const Hn = _(ki);
|
|
4481
|
+
function wi(e) {
|
|
4446
4482
|
return e == null || e === !1 ? null : w(e);
|
|
4447
4483
|
}
|
|
4448
|
-
class
|
|
4484
|
+
class Ei extends y {
|
|
4449
4485
|
constructor() {
|
|
4450
4486
|
super(...arguments);
|
|
4451
4487
|
c(this, "_items", []);
|
|
@@ -4481,17 +4517,17 @@ class ki extends y {
|
|
|
4481
4517
|
"aria-current": h.value === this._value ? "page" : void 0,
|
|
4482
4518
|
onClick: h.onPress
|
|
4483
4519
|
},
|
|
4484
|
-
|
|
4520
|
+
wi(h.label)
|
|
4485
4521
|
)
|
|
4486
4522
|
)
|
|
4487
4523
|
);
|
|
4488
4524
|
}
|
|
4489
4525
|
}
|
|
4490
|
-
const
|
|
4491
|
-
function
|
|
4526
|
+
const Wn = _(Ei);
|
|
4527
|
+
function ut(e) {
|
|
4492
4528
|
return e == null || e === !1 ? null : w(e);
|
|
4493
4529
|
}
|
|
4494
|
-
class
|
|
4530
|
+
class Ni extends y {
|
|
4495
4531
|
constructor() {
|
|
4496
4532
|
super(...arguments);
|
|
4497
4533
|
c(this, "_title");
|
|
@@ -4517,17 +4553,17 @@ class Ci extends y {
|
|
|
4517
4553
|
return u.createElement(
|
|
4518
4554
|
"header",
|
|
4519
4555
|
{ ...o, role: "banner", className: a, style: l },
|
|
4520
|
-
|
|
4521
|
-
this._title != null ? u.createElement("div", { className: "fibo-navigation-bar-title" },
|
|
4522
|
-
|
|
4556
|
+
ut(this._leading),
|
|
4557
|
+
this._title != null ? u.createElement("div", { className: "fibo-navigation-bar-title" }, ut(this._title)) : null,
|
|
4558
|
+
ut(this._trailing)
|
|
4523
4559
|
);
|
|
4524
4560
|
}
|
|
4525
4561
|
}
|
|
4526
|
-
const
|
|
4527
|
-
function
|
|
4562
|
+
const Vn = _(Ni);
|
|
4563
|
+
function xi(e) {
|
|
4528
4564
|
return e == null || e === !1 ? null : w(e);
|
|
4529
4565
|
}
|
|
4530
|
-
class
|
|
4566
|
+
class Ti extends y {
|
|
4531
4567
|
constructor() {
|
|
4532
4568
|
super(...arguments);
|
|
4533
4569
|
c(this, "_items", []);
|
|
@@ -4563,17 +4599,17 @@ class Ei extends y {
|
|
|
4563
4599
|
"aria-current": h.value === this._value ? "page" : void 0,
|
|
4564
4600
|
onClick: h.onPress
|
|
4565
4601
|
},
|
|
4566
|
-
|
|
4602
|
+
xi(h.label)
|
|
4567
4603
|
)
|
|
4568
4604
|
)
|
|
4569
4605
|
);
|
|
4570
4606
|
}
|
|
4571
4607
|
}
|
|
4572
|
-
const
|
|
4573
|
-
function
|
|
4608
|
+
const Gn = _(Ti);
|
|
4609
|
+
function Xt(e) {
|
|
4574
4610
|
return e == null || e === !1 ? null : w(e);
|
|
4575
4611
|
}
|
|
4576
|
-
class
|
|
4612
|
+
class $i extends y {
|
|
4577
4613
|
constructor() {
|
|
4578
4614
|
super(...arguments);
|
|
4579
4615
|
c(this, "_items", []);
|
|
@@ -4582,15 +4618,15 @@ class Ni extends y {
|
|
|
4582
4618
|
return this._items = t, this;
|
|
4583
4619
|
}
|
|
4584
4620
|
build() {
|
|
4585
|
-
const { className: t, style: r, key: i, children: n, ...o } = this._props, a = ["fibo-breadcrumbs", this.getClassName(), t].filter(Boolean).join(" "), l = r ? { ...this.getStyle(), ...r } : this.getStyle(), h = this._items.length - 1,
|
|
4621
|
+
const { className: t, style: r, key: i, children: n, ...o } = this._props, a = ["fibo-breadcrumbs", this.getClassName(), t].filter(Boolean).join(" "), l = r ? { ...this.getStyle(), ...r } : this.getStyle(), h = this._items.length - 1, d = u.createElement(
|
|
4586
4622
|
"ol",
|
|
4587
4623
|
null,
|
|
4588
|
-
...this._items.map((m,
|
|
4589
|
-
const p =
|
|
4624
|
+
...this._items.map((m, f) => {
|
|
4625
|
+
const p = f === h, b = !p && m.href && !F(m.href) ? m.href : void 0, g = b ? u.createElement("a", { href: b }, Xt(m.label)) : Xt(m.label);
|
|
4590
4626
|
return u.createElement(
|
|
4591
4627
|
"li",
|
|
4592
4628
|
{
|
|
4593
|
-
key:
|
|
4629
|
+
key: f,
|
|
4594
4630
|
"aria-current": p ? "page" : void 0
|
|
4595
4631
|
},
|
|
4596
4632
|
g
|
|
@@ -4600,15 +4636,15 @@ class Ni extends y {
|
|
|
4600
4636
|
return u.createElement(
|
|
4601
4637
|
"nav",
|
|
4602
4638
|
{ ...o, className: a, style: l, "aria-label": "Breadcrumb" },
|
|
4603
|
-
|
|
4639
|
+
d
|
|
4604
4640
|
);
|
|
4605
4641
|
}
|
|
4606
4642
|
}
|
|
4607
|
-
const
|
|
4608
|
-
function
|
|
4643
|
+
const zn = _($i);
|
|
4644
|
+
function ht(e) {
|
|
4609
4645
|
return e == null || e === !1 ? null : w(e);
|
|
4610
4646
|
}
|
|
4611
|
-
class
|
|
4647
|
+
class Bi extends y {
|
|
4612
4648
|
constructor() {
|
|
4613
4649
|
super(...arguments);
|
|
4614
4650
|
c(this, "_title");
|
|
@@ -4634,88 +4670,88 @@ class xi extends y {
|
|
|
4634
4670
|
return u.createElement(
|
|
4635
4671
|
"div",
|
|
4636
4672
|
{ ...o, role: "toolbar", className: a, style: l },
|
|
4637
|
-
|
|
4638
|
-
this._title != null ? u.createElement("div", { className: "fibo-toolbar-title" },
|
|
4639
|
-
|
|
4673
|
+
ht(this._leading),
|
|
4674
|
+
this._title != null ? u.createElement("div", { className: "fibo-toolbar-title" }, ht(this._title)) : null,
|
|
4675
|
+
ht(this._trailing)
|
|
4640
4676
|
);
|
|
4641
4677
|
}
|
|
4642
4678
|
}
|
|
4643
|
-
const
|
|
4644
|
-
function
|
|
4679
|
+
const Un = _(Bi);
|
|
4680
|
+
function Kt(e, s) {
|
|
4645
4681
|
if (typeof Reflect.getOwnMetadataKeys == "function")
|
|
4646
4682
|
for (const t of Reflect.getOwnMetadataKeys(e))
|
|
4647
4683
|
Reflect.defineMetadata(t, Reflect.getOwnMetadata(t, e), s);
|
|
4648
4684
|
}
|
|
4649
|
-
function
|
|
4685
|
+
function Xn(e = {}) {
|
|
4650
4686
|
return function(s) {
|
|
4651
|
-
const t = e.memo === !1 ? !1 : typeof e.memo == "function" ? e.memo : void 0, r =
|
|
4687
|
+
const t = e.memo === !1 ? !1 : typeof e.memo == "function" ? e.memo : void 0, r = Le(s, t), i = e.displayName || s.name;
|
|
4652
4688
|
Object.defineProperty(r, "name", {
|
|
4653
4689
|
value: i,
|
|
4654
4690
|
writable: !1,
|
|
4655
4691
|
configurable: !0
|
|
4656
|
-
}), r.displayName = i, Object.setPrototypeOf(r, s),
|
|
4692
|
+
}), r.displayName = i, Object.setPrototypeOf(r, s), Kt(s, r);
|
|
4657
4693
|
const n = s.prototype;
|
|
4658
|
-
return Object.prototype.hasOwnProperty.call(r, "prototype") && r.prototype && n && (Object.setPrototypeOf(r.prototype, n),
|
|
4694
|
+
return Object.prototype.hasOwnProperty.call(r, "prototype") && r.prototype && n && (Object.setPrototypeOf(r.prototype, n), Kt(n, r.prototype)), r;
|
|
4659
4695
|
};
|
|
4660
4696
|
}
|
|
4661
|
-
const
|
|
4662
|
-
function
|
|
4697
|
+
const vt = [];
|
|
4698
|
+
function _e(e) {
|
|
4663
4699
|
if (typeof e != "string" || e.length === 0)
|
|
4664
4700
|
throw new Error('Page(path) requires a non-empty path string — use @Page("/route")');
|
|
4665
4701
|
}
|
|
4666
|
-
function
|
|
4702
|
+
function ye(e) {
|
|
4667
4703
|
if (typeof e != "function")
|
|
4668
4704
|
throw new Error("@Page() must decorate a component function or class");
|
|
4669
4705
|
}
|
|
4670
|
-
function
|
|
4671
|
-
|
|
4706
|
+
function be(e, s, t) {
|
|
4707
|
+
vt.push({
|
|
4672
4708
|
path: e,
|
|
4673
4709
|
component: s,
|
|
4674
4710
|
exact: t.exact,
|
|
4675
4711
|
meta: t.meta
|
|
4676
4712
|
});
|
|
4677
4713
|
}
|
|
4678
|
-
function
|
|
4679
|
-
|
|
4714
|
+
function Kn(e, s = {}) {
|
|
4715
|
+
_e(e);
|
|
4680
4716
|
const t = s ?? {};
|
|
4681
4717
|
return function(r) {
|
|
4682
|
-
return
|
|
4718
|
+
return ye(r), be(e, r, t), r;
|
|
4683
4719
|
};
|
|
4684
4720
|
}
|
|
4685
|
-
function
|
|
4686
|
-
return [...
|
|
4721
|
+
function Yn() {
|
|
4722
|
+
return [...vt];
|
|
4687
4723
|
}
|
|
4688
|
-
function
|
|
4689
|
-
|
|
4724
|
+
function qn() {
|
|
4725
|
+
vt.length = 0;
|
|
4690
4726
|
}
|
|
4691
|
-
function
|
|
4692
|
-
|
|
4727
|
+
function Zn(e, s, t = {}) {
|
|
4728
|
+
_e(e), ye(s), be(e, s, t ?? {});
|
|
4693
4729
|
}
|
|
4694
|
-
const
|
|
4695
|
-
function
|
|
4730
|
+
const z = /* @__PURE__ */ new Map(), Se = Symbol("store");
|
|
4731
|
+
function Qn() {
|
|
4696
4732
|
return function(e) {
|
|
4697
|
-
Reflect.defineMetadata(
|
|
4733
|
+
Reflect.defineMetadata(Se, !0, e);
|
|
4698
4734
|
const s = new e();
|
|
4699
|
-
return
|
|
4735
|
+
return z.set(e, s), e;
|
|
4700
4736
|
};
|
|
4701
4737
|
}
|
|
4702
|
-
function
|
|
4703
|
-
if (!
|
|
4738
|
+
function Li(e) {
|
|
4739
|
+
if (!z.has(e)) {
|
|
4704
4740
|
const s = new e();
|
|
4705
|
-
|
|
4741
|
+
z.set(e, s);
|
|
4706
4742
|
}
|
|
4707
|
-
return
|
|
4743
|
+
return z.get(e);
|
|
4708
4744
|
}
|
|
4709
|
-
function
|
|
4710
|
-
return
|
|
4745
|
+
function Jn(e) {
|
|
4746
|
+
return Li(e);
|
|
4711
4747
|
}
|
|
4712
|
-
function
|
|
4713
|
-
|
|
4748
|
+
function ta() {
|
|
4749
|
+
z.clear();
|
|
4714
4750
|
}
|
|
4715
|
-
function
|
|
4716
|
-
return Reflect.getMetadata(
|
|
4751
|
+
function ea(e) {
|
|
4752
|
+
return Reflect.getMetadata(Se, e) === !0;
|
|
4717
4753
|
}
|
|
4718
|
-
function
|
|
4754
|
+
function dt(e = "localStorage") {
|
|
4719
4755
|
var s;
|
|
4720
4756
|
try {
|
|
4721
4757
|
const t = globalThis, r = t[e] ?? ((s = t.window) == null ? void 0 : s[e]);
|
|
@@ -4724,53 +4760,53 @@ function ht(e = "localStorage") {
|
|
|
4724
4760
|
return null;
|
|
4725
4761
|
}
|
|
4726
4762
|
}
|
|
4727
|
-
function
|
|
4763
|
+
function Yt(e) {
|
|
4728
4764
|
return {
|
|
4729
4765
|
getItem(s) {
|
|
4730
4766
|
var t;
|
|
4731
4767
|
try {
|
|
4732
|
-
return ((t =
|
|
4768
|
+
return ((t = dt(e)) == null ? void 0 : t.getItem(s)) ?? null;
|
|
4733
4769
|
} catch {
|
|
4734
4770
|
return null;
|
|
4735
4771
|
}
|
|
4736
4772
|
},
|
|
4737
4773
|
setItem(s, t) {
|
|
4738
4774
|
var r;
|
|
4739
|
-
(r =
|
|
4775
|
+
(r = dt(e)) == null || r.setItem(s, t);
|
|
4740
4776
|
},
|
|
4741
4777
|
removeItem(s) {
|
|
4742
4778
|
var t;
|
|
4743
4779
|
try {
|
|
4744
|
-
(t =
|
|
4780
|
+
(t = dt(e)) == null || t.removeItem(s);
|
|
4745
4781
|
} catch {
|
|
4746
4782
|
}
|
|
4747
4783
|
}
|
|
4748
4784
|
};
|
|
4749
4785
|
}
|
|
4750
|
-
const
|
|
4751
|
-
localStorage:
|
|
4752
|
-
sessionStorage:
|
|
4786
|
+
const Ct = {
|
|
4787
|
+
localStorage: Yt("localStorage"),
|
|
4788
|
+
sessionStorage: Yt("sessionStorage")
|
|
4753
4789
|
};
|
|
4754
|
-
function
|
|
4790
|
+
function qt(e) {
|
|
4755
4791
|
return e != null && typeof e == "object" && !Array.isArray(e);
|
|
4756
4792
|
}
|
|
4757
|
-
function
|
|
4793
|
+
function Pi(e, s, t) {
|
|
4758
4794
|
const r = JSON.parse(e);
|
|
4759
4795
|
if (r == null || typeof r != "object" || Array.isArray(r))
|
|
4760
4796
|
throw new Error("invalid persisted payload");
|
|
4761
4797
|
const i = r, n = typeof i._version == "number" ? i._version : 0;
|
|
4762
4798
|
return n !== s ? t ? { ok: !0, data: t(i.data, n) } : { ok: !1 } : Object.prototype.hasOwnProperty.call(i, "data") ? { ok: !0, data: i.data } : { ok: !1 };
|
|
4763
4799
|
}
|
|
4764
|
-
function
|
|
4765
|
-
if (!(t || r) || !
|
|
4800
|
+
function Ri(e, s, t, r) {
|
|
4801
|
+
if (!(t || r) || !qt(s))
|
|
4766
4802
|
return s;
|
|
4767
|
-
const i =
|
|
4768
|
-
return
|
|
4803
|
+
const i = ve(s, t, r);
|
|
4804
|
+
return qt(e) ? { ...e, ...i } : i;
|
|
4769
4805
|
}
|
|
4770
|
-
function
|
|
4806
|
+
function sa(e, s) {
|
|
4771
4807
|
const {
|
|
4772
4808
|
key: t,
|
|
4773
|
-
storage: r =
|
|
4809
|
+
storage: r = Ct.localStorage,
|
|
4774
4810
|
include: i,
|
|
4775
4811
|
exclude: n,
|
|
4776
4812
|
debounce: o = 300,
|
|
@@ -4780,17 +4816,17 @@ function Zn(e, s) {
|
|
|
4780
4816
|
try {
|
|
4781
4817
|
const p = r.getItem(t);
|
|
4782
4818
|
if (p) {
|
|
4783
|
-
const b =
|
|
4784
|
-
b.ok && (e.value =
|
|
4819
|
+
const b = Pi(p, a, l);
|
|
4820
|
+
b.ok && (e.value = Ri(e.value, b.data, i, n));
|
|
4785
4821
|
}
|
|
4786
4822
|
} catch (p) {
|
|
4787
4823
|
console.error(`Failed to load persisted state for key "${t}":`, p);
|
|
4788
4824
|
}
|
|
4789
4825
|
let h = null;
|
|
4790
|
-
const
|
|
4826
|
+
const d = () => {
|
|
4791
4827
|
try {
|
|
4792
4828
|
let p = e.value;
|
|
4793
|
-
(i || n) && (p =
|
|
4829
|
+
(i || n) && (p = ve(e.value, i, n));
|
|
4794
4830
|
const b = {
|
|
4795
4831
|
_version: a,
|
|
4796
4832
|
data: p
|
|
@@ -4801,14 +4837,14 @@ function Zn(e, s) {
|
|
|
4801
4837
|
}
|
|
4802
4838
|
}, m = () => {
|
|
4803
4839
|
h && clearTimeout(h), h = setTimeout(() => {
|
|
4804
|
-
h = null,
|
|
4840
|
+
h = null, d();
|
|
4805
4841
|
}, o);
|
|
4806
|
-
},
|
|
4842
|
+
}, f = e.subscribe(m);
|
|
4807
4843
|
return () => {
|
|
4808
|
-
|
|
4844
|
+
f(), h && (clearTimeout(h), h = null, d());
|
|
4809
4845
|
};
|
|
4810
4846
|
}
|
|
4811
|
-
function
|
|
4847
|
+
function ve(e, s, t) {
|
|
4812
4848
|
if (!e || typeof e != "object")
|
|
4813
4849
|
return e;
|
|
4814
4850
|
const r = {}, i = Object.keys(e), n = s, o = t;
|
|
@@ -4816,14 +4852,14 @@ function be(e, s, t) {
|
|
|
4816
4852
|
n && !n.includes(a) || o && o.includes(a) || (r[a] = e[a]);
|
|
4817
4853
|
return r;
|
|
4818
4854
|
}
|
|
4819
|
-
function
|
|
4855
|
+
function ra(e, s = Ct.localStorage) {
|
|
4820
4856
|
try {
|
|
4821
4857
|
s.removeItem(e);
|
|
4822
4858
|
} catch (t) {
|
|
4823
4859
|
console.error(`Failed to clear persisted state for key "${e}":`, t);
|
|
4824
4860
|
}
|
|
4825
4861
|
}
|
|
4826
|
-
function
|
|
4862
|
+
function ia(e, s = Ct.localStorage) {
|
|
4827
4863
|
try {
|
|
4828
4864
|
const t = s.getItem(e);
|
|
4829
4865
|
if (!t)
|
|
@@ -4835,343 +4871,398 @@ function Jn(e, s = vt.localStorage) {
|
|
|
4835
4871
|
}
|
|
4836
4872
|
}
|
|
4837
4873
|
export {
|
|
4838
|
-
|
|
4839
|
-
|
|
4840
|
-
|
|
4841
|
-
|
|
4842
|
-
|
|
4843
|
-
|
|
4844
|
-
|
|
4845
|
-
|
|
4846
|
-
|
|
4847
|
-
|
|
4848
|
-
|
|
4849
|
-
|
|
4850
|
-
|
|
4851
|
-
|
|
4852
|
-
|
|
4853
|
-
|
|
4854
|
-
|
|
4855
|
-
|
|
4856
|
-
|
|
4857
|
-
|
|
4858
|
-
|
|
4859
|
-
|
|
4860
|
-
|
|
4861
|
-
|
|
4862
|
-
|
|
4863
|
-
|
|
4864
|
-
|
|
4865
|
-
|
|
4866
|
-
|
|
4867
|
-
|
|
4868
|
-
|
|
4869
|
-
|
|
4870
|
-
|
|
4871
|
-
|
|
4872
|
-
|
|
4874
|
+
Eh as Alert,
|
|
4875
|
+
oa as Align,
|
|
4876
|
+
jn as Anchor,
|
|
4877
|
+
zi as AppBar,
|
|
4878
|
+
Ki as AspectRatio,
|
|
4879
|
+
Ah as AssetCard,
|
|
4880
|
+
nn as AsyncImage,
|
|
4881
|
+
vh as Avatar,
|
|
4882
|
+
la as Axis,
|
|
4883
|
+
ca as AxisSize,
|
|
4884
|
+
Ch as Badge,
|
|
4885
|
+
ua as BadgeVariant,
|
|
4886
|
+
Mh as Banner,
|
|
4887
|
+
ha as Bar,
|
|
4888
|
+
Zi as Baseline,
|
|
4889
|
+
da as Behavior,
|
|
4890
|
+
Wn as BottomBar,
|
|
4891
|
+
Mn as BottomSheet,
|
|
4892
|
+
fa as Box,
|
|
4893
|
+
zn as Breadcrumbs,
|
|
4894
|
+
Rn as BurgerIcon,
|
|
4895
|
+
Ph as Button,
|
|
4896
|
+
ma as ButtonShape,
|
|
4897
|
+
pa as ButtonSize,
|
|
4898
|
+
ga as ButtonTone,
|
|
4899
|
+
_a as ButtonType,
|
|
4900
|
+
ya as ButtonVariant,
|
|
4901
|
+
ba as Calendar,
|
|
4902
|
+
qr as Canvas,
|
|
4903
|
+
Fh as Card,
|
|
4904
|
+
Sa as Carousel,
|
|
4905
|
+
hh as Center,
|
|
4906
|
+
fn as Chart,
|
|
4907
|
+
va as Checkbox,
|
|
4908
|
+
Ca as CheckboxTile,
|
|
4873
4909
|
A as Circle,
|
|
4874
|
-
|
|
4875
|
-
|
|
4876
|
-
|
|
4877
|
-
|
|
4878
|
-
|
|
4879
|
-
|
|
4880
|
-
|
|
4881
|
-
|
|
4882
|
-
|
|
4883
|
-
|
|
4884
|
-
|
|
4885
|
-
|
|
4886
|
-
|
|
4887
|
-
|
|
4888
|
-
|
|
4889
|
-
|
|
4890
|
-
|
|
4891
|
-
|
|
4892
|
-
|
|
4893
|
-
|
|
4894
|
-
|
|
4895
|
-
|
|
4896
|
-
|
|
4897
|
-
|
|
4898
|
-
|
|
4899
|
-
|
|
4900
|
-
|
|
4901
|
-
|
|
4902
|
-
|
|
4903
|
-
|
|
4904
|
-
|
|
4905
|
-
|
|
4906
|
-
|
|
4907
|
-
|
|
4908
|
-
|
|
4909
|
-
|
|
4910
|
-
|
|
4911
|
-
|
|
4912
|
-
|
|
4913
|
-
|
|
4914
|
-
|
|
4915
|
-
|
|
4916
|
-
|
|
4917
|
-
|
|
4918
|
-
|
|
4919
|
-
|
|
4920
|
-
|
|
4921
|
-
|
|
4922
|
-
|
|
4923
|
-
|
|
4924
|
-
|
|
4925
|
-
|
|
4926
|
-
|
|
4927
|
-
|
|
4928
|
-
|
|
4929
|
-
|
|
4930
|
-
|
|
4931
|
-
|
|
4932
|
-
|
|
4933
|
-
|
|
4934
|
-
|
|
4935
|
-
|
|
4936
|
-
|
|
4937
|
-
|
|
4938
|
-
|
|
4939
|
-
|
|
4940
|
-
|
|
4941
|
-
|
|
4942
|
-
|
|
4943
|
-
|
|
4944
|
-
|
|
4945
|
-
|
|
4946
|
-
|
|
4947
|
-
|
|
4948
|
-
|
|
4949
|
-
|
|
4950
|
-
|
|
4951
|
-
|
|
4952
|
-
|
|
4953
|
-
|
|
4954
|
-
|
|
4955
|
-
|
|
4956
|
-
|
|
4957
|
-
|
|
4958
|
-
|
|
4959
|
-
|
|
4960
|
-
|
|
4961
|
-
|
|
4962
|
-
|
|
4963
|
-
|
|
4964
|
-
|
|
4965
|
-
|
|
4966
|
-
|
|
4967
|
-
|
|
4968
|
-
|
|
4910
|
+
ka as Clip,
|
|
4911
|
+
wa as ClipShape,
|
|
4912
|
+
kn as CodeScanner,
|
|
4913
|
+
Ea as Collapse,
|
|
4914
|
+
Ih as CollectionCard,
|
|
4915
|
+
Na as Color,
|
|
4916
|
+
xa as ColorPicker,
|
|
4917
|
+
yh as Column,
|
|
4918
|
+
Ta as Combobox,
|
|
4919
|
+
Xn as Component,
|
|
4920
|
+
$a as ComputedSignal,
|
|
4921
|
+
dh as Container,
|
|
4922
|
+
Ba as ContainerRelativeAxis,
|
|
4923
|
+
Dh as ContentCard,
|
|
4924
|
+
La as ContentShape,
|
|
4925
|
+
dn as ContentUnavailable,
|
|
4926
|
+
Pa as ContextMenu,
|
|
4927
|
+
Ra as CoordinateSpace,
|
|
4928
|
+
Aa as Curve,
|
|
4929
|
+
tn as CustomScrollView,
|
|
4930
|
+
Ma as DashboardLayout,
|
|
4931
|
+
Fa as DatePicker,
|
|
4932
|
+
Ia as DateRangePicker,
|
|
4933
|
+
Da as DefaultErrorPage,
|
|
4934
|
+
Oa as DefaultLoader,
|
|
4935
|
+
ja as Density,
|
|
4936
|
+
Fn as Dialog,
|
|
4937
|
+
$n as Dismissible,
|
|
4938
|
+
Ha as DragAxisEnum,
|
|
4939
|
+
Wa as DragGesture,
|
|
4940
|
+
yn as DragTarget,
|
|
4941
|
+
_n as Draggable,
|
|
4942
|
+
Va as Ease,
|
|
4943
|
+
Ga as Easing,
|
|
4944
|
+
za as Edge,
|
|
4945
|
+
Ua as EdgeSet,
|
|
4946
|
+
Xa as Effect,
|
|
4947
|
+
Ka as ExclusiveGesture,
|
|
4948
|
+
Ya as FIBO_BREAKPOINTS,
|
|
4949
|
+
qa as FIBO_INTERACTION_FX_CSS,
|
|
4950
|
+
Za as FIBO_MOTION_CSS,
|
|
4951
|
+
Qa as FIBO_THEMES,
|
|
4952
|
+
Ja as Fibo,
|
|
4953
|
+
to as FiboApp,
|
|
4954
|
+
eo as FiboAppBuilder,
|
|
4955
|
+
so as FiboStyles,
|
|
4956
|
+
ro as FiboThemeProvider,
|
|
4957
|
+
io as FieldType,
|
|
4958
|
+
no as FieldVariant,
|
|
4959
|
+
Cn as FilePicker,
|
|
4960
|
+
ao as FineGrainText,
|
|
4961
|
+
oo as Fit,
|
|
4962
|
+
lo as FlexDirection,
|
|
4963
|
+
co as Form,
|
|
4964
|
+
uo as FormMethod,
|
|
4965
|
+
sh as Format,
|
|
4966
|
+
On as FullScreenCover,
|
|
4967
|
+
en as Gauge,
|
|
4968
|
+
ho as GeometryReader,
|
|
4969
|
+
fo as GestureBuilder,
|
|
4970
|
+
mo as GestureMaskEnum,
|
|
4971
|
+
Oh as Grid,
|
|
4972
|
+
jh as GridItem,
|
|
4973
|
+
po as GridVariant,
|
|
4974
|
+
go as HIT_FILM_STYLE,
|
|
4975
|
+
_o as Header,
|
|
4976
|
+
bn as Hero,
|
|
4977
|
+
yo as HitFilm,
|
|
4978
|
+
bo as INTERACTION_EFFECTS,
|
|
4979
|
+
So as Icon,
|
|
4980
|
+
kh as Image,
|
|
4981
|
+
vo as Inspector,
|
|
4982
|
+
Nh as Integration,
|
|
4983
|
+
Co as Intent,
|
|
4984
|
+
Sn as InteractiveViewer,
|
|
4985
|
+
ko as Join,
|
|
4986
|
+
wo as KeyboardInset,
|
|
4987
|
+
xh as Label,
|
|
4988
|
+
Eo as LayoutBuilder,
|
|
4989
|
+
Bn as LazyGrid,
|
|
4990
|
+
fh as Line,
|
|
4991
|
+
Ln as LinearGradient,
|
|
4992
|
+
Uh as Link,
|
|
4993
|
+
No as List,
|
|
4994
|
+
xo as ListSignal,
|
|
4995
|
+
Hh as ListTile,
|
|
4996
|
+
To as ListVariant,
|
|
4997
|
+
$o as LongPressGesture,
|
|
4998
|
+
Bo as MOTION_PRESETS,
|
|
4999
|
+
Lo as MagnificationGesture,
|
|
5000
|
+
Po as MagnifyGesture,
|
|
5001
|
+
gn as MapView,
|
|
5002
|
+
ln as Markdown,
|
|
5003
|
+
Ro as Menu,
|
|
5004
|
+
Pn as MeshGradient,
|
|
5005
|
+
Ao as Mode,
|
|
5006
|
+
Mo as Motion,
|
|
5007
|
+
Fo as MotionStyles,
|
|
5008
|
+
Xh as NavLink,
|
|
5009
|
+
Vn as NavigationBar,
|
|
5010
|
+
Gn as NavigationRail,
|
|
5011
|
+
Io as NavigationSplitView,
|
|
5012
|
+
cn as NumericText,
|
|
5013
|
+
Do as Observable,
|
|
5014
|
+
Oo as Observer,
|
|
5015
|
+
jo as OrientationBuilder,
|
|
5016
|
+
Ho as OtpField,
|
|
5017
|
+
Kh as Outlet,
|
|
5018
|
+
Wo as OutlineGroup,
|
|
5019
|
+
Yi as Overlay,
|
|
5020
|
+
Kn as Page,
|
|
5021
|
+
Vo as PageView,
|
|
4969
5022
|
L as Path,
|
|
4970
|
-
|
|
4971
|
-
|
|
4972
|
-
|
|
4973
|
-
|
|
4974
|
-
|
|
4975
|
-
|
|
4976
|
-
|
|
4977
|
-
|
|
4978
|
-
|
|
4979
|
-
|
|
4980
|
-
|
|
4981
|
-
|
|
4982
|
-
|
|
4983
|
-
|
|
4984
|
-
|
|
4985
|
-
|
|
4986
|
-
|
|
4987
|
-
|
|
4988
|
-
|
|
4989
|
-
|
|
4990
|
-
|
|
4991
|
-
|
|
4992
|
-
|
|
4993
|
-
|
|
4994
|
-
|
|
4995
|
-
|
|
4996
|
-
|
|
4997
|
-
|
|
4998
|
-
|
|
4999
|
-
|
|
5000
|
-
|
|
5001
|
-
|
|
5002
|
-
|
|
5003
|
-
|
|
5004
|
-
|
|
5005
|
-
|
|
5006
|
-
|
|
5007
|
-
|
|
5008
|
-
|
|
5009
|
-
|
|
5010
|
-
|
|
5011
|
-
|
|
5012
|
-
|
|
5013
|
-
|
|
5014
|
-
|
|
5015
|
-
|
|
5016
|
-
|
|
5017
|
-
|
|
5018
|
-
|
|
5019
|
-
|
|
5020
|
-
|
|
5021
|
-
|
|
5022
|
-
|
|
5023
|
-
|
|
5024
|
-
|
|
5025
|
-
|
|
5026
|
-
|
|
5027
|
-
|
|
5028
|
-
|
|
5029
|
-
|
|
5030
|
-
|
|
5031
|
-
|
|
5032
|
-
|
|
5033
|
-
|
|
5034
|
-
|
|
5035
|
-
|
|
5036
|
-
|
|
5037
|
-
|
|
5038
|
-
|
|
5039
|
-
|
|
5040
|
-
|
|
5041
|
-
|
|
5042
|
-
|
|
5043
|
-
|
|
5044
|
-
|
|
5045
|
-
|
|
5046
|
-
|
|
5047
|
-
|
|
5048
|
-
|
|
5049
|
-
|
|
5050
|
-
|
|
5051
|
-
|
|
5052
|
-
|
|
5053
|
-
|
|
5054
|
-
|
|
5055
|
-
|
|
5056
|
-
|
|
5057
|
-
|
|
5058
|
-
|
|
5059
|
-
|
|
5060
|
-
|
|
5061
|
-
|
|
5062
|
-
|
|
5063
|
-
|
|
5064
|
-
|
|
5065
|
-
|
|
5066
|
-
|
|
5067
|
-
|
|
5068
|
-
|
|
5069
|
-
|
|
5070
|
-
|
|
5071
|
-
|
|
5072
|
-
|
|
5073
|
-
|
|
5074
|
-
|
|
5075
|
-
|
|
5076
|
-
|
|
5077
|
-
|
|
5078
|
-
|
|
5079
|
-
|
|
5080
|
-
|
|
5081
|
-
|
|
5082
|
-
|
|
5083
|
-
|
|
5084
|
-
|
|
5085
|
-
|
|
5086
|
-
|
|
5087
|
-
|
|
5088
|
-
|
|
5089
|
-
|
|
5090
|
-
|
|
5091
|
-
|
|
5092
|
-
|
|
5093
|
-
|
|
5094
|
-
|
|
5095
|
-
|
|
5096
|
-
|
|
5097
|
-
|
|
5098
|
-
|
|
5099
|
-
|
|
5100
|
-
|
|
5101
|
-
|
|
5102
|
-
|
|
5103
|
-
|
|
5104
|
-
|
|
5105
|
-
|
|
5106
|
-
|
|
5107
|
-
|
|
5108
|
-
|
|
5109
|
-
|
|
5110
|
-
|
|
5111
|
-
|
|
5112
|
-
|
|
5113
|
-
|
|
5114
|
-
|
|
5115
|
-
|
|
5116
|
-
|
|
5117
|
-
|
|
5118
|
-
|
|
5119
|
-
|
|
5120
|
-
|
|
5121
|
-
|
|
5122
|
-
|
|
5123
|
-
|
|
5124
|
-
|
|
5125
|
-
|
|
5126
|
-
|
|
5127
|
-
|
|
5128
|
-
|
|
5129
|
-
|
|
5130
|
-
|
|
5131
|
-
|
|
5132
|
-
|
|
5133
|
-
|
|
5134
|
-
|
|
5135
|
-
|
|
5136
|
-
|
|
5137
|
-
|
|
5138
|
-
|
|
5139
|
-
|
|
5140
|
-
|
|
5141
|
-
|
|
5142
|
-
|
|
5143
|
-
|
|
5144
|
-
|
|
5145
|
-
|
|
5146
|
-
|
|
5147
|
-
|
|
5148
|
-
|
|
5149
|
-
|
|
5150
|
-
|
|
5151
|
-
|
|
5152
|
-
|
|
5153
|
-
|
|
5154
|
-
|
|
5155
|
-
|
|
5156
|
-
|
|
5157
|
-
|
|
5158
|
-
|
|
5159
|
-
|
|
5160
|
-
|
|
5161
|
-
|
|
5162
|
-
|
|
5163
|
-
|
|
5164
|
-
|
|
5165
|
-
|
|
5166
|
-
|
|
5167
|
-
|
|
5168
|
-
|
|
5169
|
-
|
|
5170
|
-
|
|
5171
|
-
|
|
5172
|
-
|
|
5173
|
-
|
|
5174
|
-
|
|
5175
|
-
|
|
5176
|
-
|
|
5023
|
+
un as PdfView,
|
|
5024
|
+
vn as PhotosPicker,
|
|
5025
|
+
Go as Place,
|
|
5026
|
+
zo as PluginManager,
|
|
5027
|
+
rh as Plural,
|
|
5028
|
+
Uo as PopScope,
|
|
5029
|
+
In as Popover,
|
|
5030
|
+
Xo as Position,
|
|
5031
|
+
Ko as PreferenceKey,
|
|
5032
|
+
Yo as Presence,
|
|
5033
|
+
Wh as ProfileCard,
|
|
5034
|
+
Th as Progress,
|
|
5035
|
+
qo as ProviderWrapper,
|
|
5036
|
+
Zo as RadioGroup,
|
|
5037
|
+
Qo as RadioTile,
|
|
5038
|
+
Jo as Radius,
|
|
5039
|
+
tl as RangeSlider,
|
|
5040
|
+
el as ReactivityRoot,
|
|
5041
|
+
Wt as Rect,
|
|
5042
|
+
sl as ReducedMotion,
|
|
5043
|
+
xn as RefreshIndicator,
|
|
5044
|
+
Tn as ReorderableList,
|
|
5045
|
+
rl as Resize,
|
|
5046
|
+
il as Reveal,
|
|
5047
|
+
hn as RichEditor,
|
|
5048
|
+
sn as RichText,
|
|
5049
|
+
nl as RotateGesture,
|
|
5050
|
+
al as Router,
|
|
5051
|
+
ol as Row,
|
|
5052
|
+
Ui as SafeArea,
|
|
5053
|
+
ll as Scaffold,
|
|
5054
|
+
cl as Scale,
|
|
5055
|
+
ul as Scheme,
|
|
5056
|
+
hl as ScrollAnchor,
|
|
5057
|
+
mh as ScrollController,
|
|
5058
|
+
dl as ScrollProgress,
|
|
5059
|
+
ph as ScrollView,
|
|
5060
|
+
fl as ScrollViewReader,
|
|
5061
|
+
ml as SearchBar,
|
|
5062
|
+
pl as Searchable,
|
|
5063
|
+
En as Section,
|
|
5064
|
+
gl as SecureField,
|
|
5065
|
+
_l as SegmentedButton,
|
|
5066
|
+
yl as Select,
|
|
5067
|
+
rn as SelectableText,
|
|
5068
|
+
bl as SensoryFeedback,
|
|
5069
|
+
Sl as SequenceGesture,
|
|
5070
|
+
vl as Shadow,
|
|
5071
|
+
Cl as Shake,
|
|
5072
|
+
wn as ShareLink,
|
|
5073
|
+
An as Sheet,
|
|
5074
|
+
kl as Shortcuts,
|
|
5075
|
+
wl as Side,
|
|
5076
|
+
El as Sidebar,
|
|
5077
|
+
Nl as Signal,
|
|
5078
|
+
xl as SimultaneousGesture,
|
|
5079
|
+
Tl as Size,
|
|
5080
|
+
$h as Skeleton,
|
|
5081
|
+
$l as Slider,
|
|
5082
|
+
Qi as SliverAppBar,
|
|
5083
|
+
Ji as SliverList,
|
|
5084
|
+
Dn as SnackBar,
|
|
5085
|
+
Bl as Snap,
|
|
5086
|
+
Ll as SnapAxis,
|
|
5087
|
+
Pl as Space,
|
|
5088
|
+
bh as Spacer,
|
|
5089
|
+
Rl as SpatialTapGesture,
|
|
5090
|
+
Bh as Spinner,
|
|
5091
|
+
Al as StackAlign,
|
|
5092
|
+
Ml as Stepper,
|
|
5093
|
+
Qn as Store,
|
|
5094
|
+
Fl as Stroke,
|
|
5095
|
+
Nn as SwipeRow,
|
|
5096
|
+
Il as Switch,
|
|
5097
|
+
Dl as SwitchTile,
|
|
5098
|
+
Ae as TONE_LEVELS,
|
|
5099
|
+
Hn as TabView,
|
|
5100
|
+
Vh as Table,
|
|
5101
|
+
Ol as TableVariant,
|
|
5102
|
+
Gh as Tags,
|
|
5103
|
+
jl as TapGesture,
|
|
5104
|
+
Hl as Text,
|
|
5105
|
+
Wl as TextAlign,
|
|
5106
|
+
Vl as TextDirection,
|
|
5107
|
+
Gl as TextField,
|
|
5108
|
+
zl as TextRole,
|
|
5109
|
+
Ul as Textarea,
|
|
5110
|
+
Xl as Theme,
|
|
5111
|
+
Kl as TimePicker,
|
|
5112
|
+
Yl as Timeline,
|
|
5113
|
+
Un as Toolbar,
|
|
5114
|
+
Gi as ToolbarItem,
|
|
5115
|
+
ql as Tooltip,
|
|
5116
|
+
ih as Transform,
|
|
5117
|
+
Zl as Trend,
|
|
5118
|
+
nh as Unit,
|
|
5119
|
+
Ql as ValueBuilder,
|
|
5120
|
+
an as VideoPlayer,
|
|
5121
|
+
Xi as ViewThatFits,
|
|
5122
|
+
Jl as VirtualColumn,
|
|
5123
|
+
tc as VirtualRow,
|
|
5124
|
+
on as WebView,
|
|
5125
|
+
ec as Weight,
|
|
5126
|
+
sc as WheelPicker,
|
|
5127
|
+
rc as When,
|
|
5128
|
+
ic as Wizard,
|
|
5129
|
+
qi as Wrap,
|
|
5130
|
+
gh as ZStack,
|
|
5131
|
+
nc as applyEdgeSet,
|
|
5132
|
+
ac as applyResponsiveStyles,
|
|
5133
|
+
ji as bindHotkeys,
|
|
5134
|
+
oc as bindText,
|
|
5135
|
+
lr as canvasEngine,
|
|
5136
|
+
ra as clearPersistedState,
|
|
5137
|
+
qn as clearRoutes,
|
|
5138
|
+
ta as clearStores,
|
|
5139
|
+
lc as collection,
|
|
5140
|
+
cc as computed,
|
|
5141
|
+
uc as copyWithTheme,
|
|
5142
|
+
ah as createPage,
|
|
5143
|
+
hc as createReactivityRoot,
|
|
5144
|
+
dc as createStore,
|
|
5145
|
+
oh as cssCurve,
|
|
5146
|
+
fc as cupertinoTheme,
|
|
5147
|
+
mc as email,
|
|
5148
|
+
pc as endSsrRequest,
|
|
5149
|
+
gc as ensureInteractionFxCss,
|
|
5150
|
+
_c as ensureListId,
|
|
5151
|
+
yc as ensureMotionCss,
|
|
5152
|
+
bc as equalTo,
|
|
5153
|
+
Sc as extendTheme,
|
|
5154
|
+
vc as fiboDevStats,
|
|
5155
|
+
Cc as formDataToValues,
|
|
5156
|
+
kc as getCss,
|
|
5157
|
+
wc as getCurrentScope,
|
|
5158
|
+
Ec as getMotionCss,
|
|
5159
|
+
ia as getPersistedState,
|
|
5160
|
+
Yn as getRegisteredRoutes,
|
|
5161
|
+
Jn as getStore,
|
|
5162
|
+
Nc as getStyleTag,
|
|
5163
|
+
Oi as goHash,
|
|
5164
|
+
pn as googleEngine,
|
|
5165
|
+
xc as infinity,
|
|
5166
|
+
Tc as integer,
|
|
5167
|
+
$c as interactionEffectClass,
|
|
5168
|
+
Bc as interactionEffectKebab,
|
|
5169
|
+
Lc as interp,
|
|
5170
|
+
Pc as isFixedNumericFrame,
|
|
5171
|
+
Rc as isSizeWord,
|
|
5172
|
+
ea as isStore,
|
|
5173
|
+
Yh as lazyRoute,
|
|
5174
|
+
mn as leafletEngine,
|
|
5175
|
+
Ac as listSignal,
|
|
5176
|
+
Mc as matchedGeometryKeys,
|
|
5177
|
+
Fc as matchedGeometryRect,
|
|
5178
|
+
Ic as materialTheme,
|
|
5179
|
+
Dc as max,
|
|
5180
|
+
Oc as maxLength,
|
|
5181
|
+
jc as min,
|
|
5182
|
+
Hc as minLength,
|
|
5183
|
+
Wc as mount,
|
|
5184
|
+
Vc as noirTheme,
|
|
5185
|
+
Gc as normalizeInteractionEffect,
|
|
5186
|
+
zc as normalizePreset,
|
|
5187
|
+
Uc as observable,
|
|
5188
|
+
Pe as open,
|
|
5189
|
+
Di as openExternal,
|
|
5190
|
+
lh as page,
|
|
5191
|
+
Xc as pattern,
|
|
5192
|
+
sa as persist,
|
|
5193
|
+
qh as preloadRoute,
|
|
5194
|
+
Kc as reducePreferences,
|
|
5195
|
+
Zn as registerRoute,
|
|
5196
|
+
Yc as required,
|
|
5197
|
+
qc as resetFiboDevStats,
|
|
5198
|
+
Zc as resolveCssEase,
|
|
5199
|
+
Qc as resolveEdgeInsets,
|
|
5200
|
+
Jc as resolveFrameSize,
|
|
5201
|
+
tu as resolveTheme,
|
|
5202
|
+
eu as rule,
|
|
5203
|
+
su as runInScope,
|
|
5204
|
+
Ne as scrollTo,
|
|
5205
|
+
ru as signal,
|
|
5206
|
+
iu as sizeWordCss,
|
|
5207
|
+
nu as springEase,
|
|
5208
|
+
au as stackAlignFlex,
|
|
5209
|
+
xe as startViewTransition,
|
|
5210
|
+
Ct as storageAdapters,
|
|
5211
|
+
ou as supportsScrollTimeline,
|
|
5212
|
+
lu as supportsViewTimeline,
|
|
5213
|
+
cu as themeClassName,
|
|
5214
|
+
uu as themeToCssRule,
|
|
5215
|
+
hu as themeToCssVars,
|
|
5216
|
+
du as themeToInlineStyle,
|
|
5217
|
+
fu as toCrossAxis,
|
|
5218
|
+
mu as toElement,
|
|
5219
|
+
pu as toMainAxis,
|
|
5220
|
+
gu as toMediaQuery,
|
|
5221
|
+
Vi as tone,
|
|
5222
|
+
re as toneScale,
|
|
5223
|
+
Hi as transaction,
|
|
5224
|
+
_u as url,
|
|
5225
|
+
yu as useBuilderState,
|
|
5226
|
+
bu as useFiboTheme,
|
|
5227
|
+
Su as useLocation,
|
|
5228
|
+
vu as useMountTransition,
|
|
5229
|
+
Cu as useNavigate,
|
|
5230
|
+
ku as useObservable,
|
|
5231
|
+
wu as useParams,
|
|
5232
|
+
Eu as usePrefersReducedMotion,
|
|
5233
|
+
Nu as useProvider,
|
|
5234
|
+
xu as useQuery,
|
|
5235
|
+
Tu as useReactiveStore,
|
|
5236
|
+
Zh as useRouteMeta,
|
|
5237
|
+
$u as useRouter,
|
|
5238
|
+
Bu as useScaffold,
|
|
5239
|
+
Lu as useScrollProgress,
|
|
5240
|
+
Pu as useSignal,
|
|
5241
|
+
Ru as useSpring,
|
|
5242
|
+
Au as useStagger,
|
|
5243
|
+
Li as useStore,
|
|
5244
|
+
Mu as useTransition,
|
|
5245
|
+
Fu as useViewportWidth,
|
|
5246
|
+
Iu as webTheme,
|
|
5247
|
+
Wi as withAnimation,
|
|
5248
|
+
ch as withFiboStyles,
|
|
5249
|
+
Nt as withTransaction,
|
|
5250
|
+
Du as wrapAlignmentGuide,
|
|
5251
|
+
Ou as wrapClipShape,
|
|
5252
|
+
ju as wrapClipped,
|
|
5253
|
+
Hu as wrapCompositingGroup,
|
|
5254
|
+
Wu as wrapContainerRelativeFrame,
|
|
5255
|
+
Vu as wrapContentShape,
|
|
5256
|
+
Gu as wrapFixedSize,
|
|
5257
|
+
zu as wrapFrame,
|
|
5258
|
+
Uu as wrapLayer,
|
|
5259
|
+
Xu as wrapLayoutPriority,
|
|
5260
|
+
Ku as wrapMask,
|
|
5261
|
+
Yu as wrapMatchedGeometry,
|
|
5262
|
+
qu as wrapOffset,
|
|
5263
|
+
Zu as wrapOnGeometryChange,
|
|
5264
|
+
Qu as wrapOnPreferenceChange,
|
|
5265
|
+
Ju as wrapPreference,
|
|
5266
|
+
th as wrapSafeAreaInset,
|
|
5267
|
+
Ii as writeClipboard
|
|
5177
5268
|
};
|