fiboui 2.8.4 → 2.9.0
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/README.md +89 -0
- package/dist/{client-DOrZXJAN.js → client-3NdKI2xE.js} +9527 -6843
- package/dist/content.d.ts +1535 -1
- package/dist/content.js +3 -3
- package/dist/core.d.ts +1897 -2
- package/dist/core.js +52 -46
- package/dist/{icons-DujcjAOD.js → icons-DS8J4SFk.js} +83 -75
- package/dist/{index-rNMzRy8Y.js → index-B6F3yf3H.js} +8 -8
- package/dist/{index-C0qI47Zw.js → index-BLEG6Nql.js} +5 -5
- package/dist/{index-uks8jtfK.js → index-BaTO66yA.js} +561 -492
- package/dist/index-FuD1J3Qo.js +785 -0
- package/dist/{index-19mPjg_D.js → index-I-MXiId0.js} +10 -10
- package/dist/index.d.ts +2218 -117983
- package/dist/index.js +1155 -1070
- package/dist/interactive.d.ts +1702 -2
- package/dist/interactive.js +15 -15
- package/dist/layout.d.ts +1680 -1
- package/dist/layout.js +20 -16
- package/dist/{metadata-9Bpw89m2.js → metadata-B2MRlDTz.js} +19 -19
- package/dist/navigation.d.ts +88 -1
- package/dist/navigation.js +6 -6
- package/dist/page-xwU8SnoZ.js +263 -0
- package/dist/server.d.ts +1729 -2
- package/dist/server.js +3795 -2401
- package/dist/structure.d.ts +1697 -1
- package/dist/structure.js +8 -8
- package/dist/style.css +1 -1
- package/dist/theme.d.ts +149 -2
- package/dist/theme.js +3 -3
- package/package.json +5 -3
- package/dist/index-CYMoWJMX.js +0 -839
- package/dist/page-BOQJIKa5.js +0 -184
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 { a as
|
|
7
|
-
import { C as
|
|
8
|
-
import { C as
|
|
9
|
-
import u, { useRef as N, useState as R, useLayoutEffect as
|
|
10
|
-
import { A as
|
|
11
|
-
import { A as
|
|
12
|
-
import { B as
|
|
13
|
-
import { A as
|
|
14
|
-
import { L as
|
|
15
|
-
function
|
|
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
|
+
import u, { useRef as N, useState as R, useLayoutEffect as U, useEffect as X } from "react";
|
|
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,13 +276,13 @@ 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
284
|
for (const m of t)
|
|
265
|
-
r[
|
|
285
|
+
r[je(m)].push(m);
|
|
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
288
|
alignItems: "flex-end",
|
|
@@ -270,7 +290,7 @@ class Oe extends y {
|
|
|
270
290
|
gap: 16,
|
|
271
291
|
...this.getStyle(),
|
|
272
292
|
...n && typeof n == "object" ? n : {}
|
|
273
|
-
},
|
|
293
|
+
}, d = De.filter((m) => r[m].length > 0).map((m) => u.createElement(
|
|
274
294
|
"div",
|
|
275
295
|
{
|
|
276
296
|
key: m,
|
|
@@ -279,66 +299,66 @@ class Oe extends y {
|
|
|
279
299
|
},
|
|
280
300
|
...r[m]
|
|
281
301
|
));
|
|
282
|
-
return u.createElement("header", { ...a, className: l, style: h }, ...
|
|
302
|
+
return u.createElement("header", { ...a, className: l, style: h }, ...d);
|
|
283
303
|
}
|
|
284
304
|
}
|
|
285
|
-
const
|
|
305
|
+
const Gi = _(He), zi = _(We), ae = ["top", "bottom", "left", "right"], Ve = {
|
|
286
306
|
top: "paddingTop",
|
|
287
307
|
bottom: "paddingBottom",
|
|
288
308
|
left: "paddingLeft",
|
|
289
309
|
right: "paddingRight"
|
|
290
310
|
};
|
|
291
|
-
function
|
|
311
|
+
function Ge(e, s) {
|
|
292
312
|
if (!(typeof s != "string" || !P(s)))
|
|
293
313
|
for (const t of W(s))
|
|
294
314
|
e.bindSignal(t);
|
|
295
315
|
}
|
|
296
|
-
function
|
|
316
|
+
function J(e, s) {
|
|
297
317
|
if (typeof s == "function") {
|
|
298
318
|
try {
|
|
299
|
-
|
|
319
|
+
J(e, s());
|
|
300
320
|
} catch {
|
|
301
321
|
}
|
|
302
322
|
return;
|
|
303
323
|
}
|
|
304
324
|
if (typeof s == "string") {
|
|
305
|
-
|
|
325
|
+
Ge(e, s);
|
|
306
326
|
return;
|
|
307
327
|
}
|
|
308
328
|
if (Array.isArray(s))
|
|
309
|
-
for (const t of s)
|
|
329
|
+
for (const t of s) J(e, t);
|
|
310
330
|
}
|
|
311
|
-
function
|
|
331
|
+
function ze(e) {
|
|
312
332
|
return typeof e == "string" && P(e) ? H(e) : e;
|
|
313
333
|
}
|
|
314
|
-
function
|
|
334
|
+
function Ue(e) {
|
|
315
335
|
const s = Array.isArray(e) ? e : [e];
|
|
316
|
-
return s.includes("all") ?
|
|
336
|
+
return s.includes("all") ? ae : s.filter((t) => t !== "all");
|
|
317
337
|
}
|
|
318
|
-
class
|
|
338
|
+
class Xe extends y {
|
|
319
339
|
constructor() {
|
|
320
340
|
super(...arguments);
|
|
321
|
-
c(this, "_edges",
|
|
341
|
+
c(this, "_edges", ae);
|
|
322
342
|
}
|
|
323
343
|
edges(t) {
|
|
324
|
-
return this._edges =
|
|
344
|
+
return this._edges = Ue(t), this;
|
|
325
345
|
}
|
|
326
346
|
/** SwiftUI `ignoresSafeArea`. Drops every inset. */
|
|
327
347
|
ignoresSafeArea() {
|
|
328
348
|
return this._edges = [], this;
|
|
329
349
|
}
|
|
330
350
|
children(t) {
|
|
331
|
-
return
|
|
351
|
+
return J(this, t), super.children(t);
|
|
332
352
|
}
|
|
333
353
|
props(t) {
|
|
334
|
-
return t && "children" in t &&
|
|
354
|
+
return t && "children" in t && J(this, t.children), super.props(t);
|
|
335
355
|
}
|
|
336
356
|
build() {
|
|
337
357
|
const t = this.getStyle();
|
|
338
358
|
for (const h of this._edges)
|
|
339
|
-
t[
|
|
359
|
+
t[Ve[h]] = `env(safe-area-inset-${h})`;
|
|
340
360
|
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
|
-
|
|
361
|
+
ze
|
|
342
362
|
), l = ["fibo-safe-area", this.getClassName(), i].filter(Boolean).join(" ");
|
|
343
363
|
return u.createElement(
|
|
344
364
|
"div",
|
|
@@ -351,31 +371,31 @@ class ze extends y {
|
|
|
351
371
|
);
|
|
352
372
|
}
|
|
353
373
|
}
|
|
354
|
-
const
|
|
355
|
-
function
|
|
374
|
+
const Ui = _(Xe);
|
|
375
|
+
function Ke(e, s) {
|
|
356
376
|
if (!(typeof s != "string" || !P(s)))
|
|
357
377
|
for (const t of W(s))
|
|
358
378
|
e.bindSignal(t);
|
|
359
379
|
}
|
|
360
|
-
function
|
|
380
|
+
function tt(e, s) {
|
|
361
381
|
if (typeof s == "function") {
|
|
362
382
|
try {
|
|
363
|
-
|
|
383
|
+
tt(e, s());
|
|
364
384
|
} catch {
|
|
365
385
|
}
|
|
366
386
|
return;
|
|
367
387
|
}
|
|
368
388
|
if (typeof s == "string") {
|
|
369
|
-
|
|
389
|
+
Ke(e, s);
|
|
370
390
|
return;
|
|
371
391
|
}
|
|
372
392
|
if (Array.isArray(s))
|
|
373
|
-
for (const t of s)
|
|
393
|
+
for (const t of s) tt(e, t);
|
|
374
394
|
}
|
|
375
|
-
function
|
|
395
|
+
function Ye(e) {
|
|
376
396
|
return typeof e == "string" && P(e) ? H(e) : e;
|
|
377
397
|
}
|
|
378
|
-
function
|
|
398
|
+
function qe(e, s) {
|
|
379
399
|
const t = e.clientWidth, r = Math.max(0, s.length - 1);
|
|
380
400
|
for (let i = 0; i < s.length; i++) {
|
|
381
401
|
const n = s[i];
|
|
@@ -383,23 +403,23 @@ function Ue(e, s) {
|
|
|
383
403
|
}
|
|
384
404
|
return r;
|
|
385
405
|
}
|
|
386
|
-
function
|
|
406
|
+
function Ze({
|
|
387
407
|
nodes: e,
|
|
388
408
|
style: s,
|
|
389
409
|
className: t,
|
|
390
410
|
...r
|
|
391
411
|
}) {
|
|
392
412
|
const i = N(null), n = N([]), [o, a] = R(() => Math.max(0, e.length - 1));
|
|
393
|
-
return
|
|
413
|
+
return U(() => {
|
|
394
414
|
const l = i.current;
|
|
395
415
|
if (!l || e.length === 0) return;
|
|
396
416
|
const h = () => {
|
|
397
|
-
const m =
|
|
398
|
-
a((
|
|
417
|
+
const m = qe(l, n.current);
|
|
418
|
+
a((f) => f === m ? f : m);
|
|
399
419
|
};
|
|
400
420
|
if (h(), typeof ResizeObserver > "u") return;
|
|
401
|
-
const
|
|
402
|
-
return
|
|
421
|
+
const d = new ResizeObserver(h);
|
|
422
|
+
return d.observe(l), () => d.disconnect();
|
|
403
423
|
}, [e]), u.createElement(
|
|
404
424
|
"div",
|
|
405
425
|
{
|
|
@@ -413,8 +433,8 @@ function Ye({
|
|
|
413
433
|
"div",
|
|
414
434
|
{
|
|
415
435
|
key: h,
|
|
416
|
-
ref: (
|
|
417
|
-
n.current[h] =
|
|
436
|
+
ref: (d) => {
|
|
437
|
+
n.current[h] = d;
|
|
418
438
|
},
|
|
419
439
|
"data-view-that-fits": h === o ? "shown" : "probe",
|
|
420
440
|
style: h === o ? { minWidth: 0 } : {
|
|
@@ -431,18 +451,18 @@ function Ye({
|
|
|
431
451
|
)
|
|
432
452
|
);
|
|
433
453
|
}
|
|
434
|
-
class
|
|
454
|
+
class Qe extends y {
|
|
435
455
|
children(s) {
|
|
436
|
-
return
|
|
456
|
+
return tt(this, s), super.children(s);
|
|
437
457
|
}
|
|
438
458
|
props(s) {
|
|
439
|
-
return s && "children" in s &&
|
|
459
|
+
return s && "children" in s && tt(this, s.children), super.props(s);
|
|
440
460
|
}
|
|
441
461
|
build() {
|
|
442
462
|
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
|
-
|
|
463
|
+
Ye
|
|
444
464
|
), a = ["fibo-view-that-fits", this.getClassName(), r].filter(Boolean).join(" ");
|
|
445
|
-
return u.createElement(
|
|
465
|
+
return u.createElement(Ze, {
|
|
446
466
|
nodes: o,
|
|
447
467
|
style: s,
|
|
448
468
|
className: a,
|
|
@@ -450,31 +470,31 @@ class Ke extends y {
|
|
|
450
470
|
});
|
|
451
471
|
}
|
|
452
472
|
}
|
|
453
|
-
const
|
|
454
|
-
function
|
|
473
|
+
const Xi = _(Qe);
|
|
474
|
+
function Je(e, s) {
|
|
455
475
|
if (!(typeof s != "string" || !P(s)))
|
|
456
476
|
for (const t of W(s))
|
|
457
477
|
e.bindSignal(t);
|
|
458
478
|
}
|
|
459
|
-
function
|
|
479
|
+
function et(e, s) {
|
|
460
480
|
if (typeof s == "function") {
|
|
461
481
|
try {
|
|
462
|
-
|
|
482
|
+
et(e, s());
|
|
463
483
|
} catch {
|
|
464
484
|
}
|
|
465
485
|
return;
|
|
466
486
|
}
|
|
467
487
|
if (typeof s == "string") {
|
|
468
|
-
|
|
488
|
+
Je(e, s);
|
|
469
489
|
return;
|
|
470
490
|
}
|
|
471
491
|
if (Array.isArray(s))
|
|
472
|
-
for (const t of s)
|
|
492
|
+
for (const t of s) et(e, t);
|
|
473
493
|
}
|
|
474
|
-
function
|
|
494
|
+
function ts(e) {
|
|
475
495
|
return typeof e == "string" && P(e) ? H(e) : e;
|
|
476
496
|
}
|
|
477
|
-
class
|
|
497
|
+
class es extends y {
|
|
478
498
|
constructor(t = 1) {
|
|
479
499
|
super();
|
|
480
500
|
c(this, "_ratio");
|
|
@@ -488,16 +508,16 @@ class Qe extends y {
|
|
|
488
508
|
return this._widthSet = !0, super.width(t);
|
|
489
509
|
}
|
|
490
510
|
children(t) {
|
|
491
|
-
return
|
|
511
|
+
return et(this, t), super.children(t);
|
|
492
512
|
}
|
|
493
513
|
props(t) {
|
|
494
|
-
return t && "children" in t &&
|
|
514
|
+
return t && "children" in t && et(this, t.children), super.props(t);
|
|
495
515
|
}
|
|
496
516
|
build() {
|
|
497
517
|
const t = this.getStyle();
|
|
498
518
|
t.aspectRatio = String(this._ratio), !this._widthSet && t.width == null && (t.width = "100%");
|
|
499
519
|
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
|
-
|
|
520
|
+
ts
|
|
501
521
|
), l = ["fibo-aspect-ratio", this.getClassName(), i].filter(Boolean).join(" ");
|
|
502
522
|
return u.createElement(
|
|
503
523
|
"div",
|
|
@@ -510,8 +530,8 @@ class Qe extends y {
|
|
|
510
530
|
);
|
|
511
531
|
}
|
|
512
532
|
}
|
|
513
|
-
const
|
|
514
|
-
function
|
|
533
|
+
const Ki = _(es);
|
|
534
|
+
function ss(e, s) {
|
|
515
535
|
if (!(typeof s != "string" || !P(s)))
|
|
516
536
|
for (const t of W(s))
|
|
517
537
|
e.bindSignal(t);
|
|
@@ -525,16 +545,16 @@ function j(e, s) {
|
|
|
525
545
|
return;
|
|
526
546
|
}
|
|
527
547
|
if (typeof s == "string") {
|
|
528
|
-
|
|
548
|
+
ss(e, s);
|
|
529
549
|
return;
|
|
530
550
|
}
|
|
531
551
|
if (Array.isArray(s))
|
|
532
552
|
for (const t of s) j(e, t);
|
|
533
553
|
}
|
|
534
|
-
function
|
|
554
|
+
function rs(e) {
|
|
535
555
|
return typeof e == "string" && P(e) ? H(e) : e;
|
|
536
556
|
}
|
|
537
|
-
class
|
|
557
|
+
class is extends y {
|
|
538
558
|
constructor() {
|
|
539
559
|
super(...arguments);
|
|
540
560
|
c(this, "_back");
|
|
@@ -564,8 +584,8 @@ class es extends y {
|
|
|
564
584
|
const h = r !== void 0 ? r : this.processChildren();
|
|
565
585
|
o = h == null ? [] : Array.isArray(h) ? h : [h];
|
|
566
586
|
}
|
|
567
|
-
o = o.map(
|
|
568
|
-
const a = ["fibo-overlay", this.getClassName(), i].filter(Boolean).join(" "), l = o.map((h,
|
|
587
|
+
o = o.map(rs);
|
|
588
|
+
const a = ["fibo-overlay", this.getClassName(), i].filter(Boolean).join(" "), l = o.map((h, d) => d !== 1 ? h : u.createElement(
|
|
569
589
|
"div",
|
|
570
590
|
{
|
|
571
591
|
key: "fibo-overlay-front",
|
|
@@ -574,8 +594,12 @@ class es extends y {
|
|
|
574
594
|
position: "absolute",
|
|
575
595
|
inset: 0,
|
|
576
596
|
display: "flex",
|
|
577
|
-
alignItems: t.alignItems,
|
|
578
|
-
justifyContent: t.justifyContent
|
|
597
|
+
alignItems: t.alignItems ?? "center",
|
|
598
|
+
justifyContent: t.justifyContent ?? "center",
|
|
599
|
+
overflow: "hidden",
|
|
600
|
+
minWidth: 0,
|
|
601
|
+
minHeight: 0,
|
|
602
|
+
boxSizing: "border-box"
|
|
579
603
|
}
|
|
580
604
|
},
|
|
581
605
|
h
|
|
@@ -591,34 +615,34 @@ class es extends y {
|
|
|
591
615
|
);
|
|
592
616
|
}
|
|
593
617
|
}
|
|
594
|
-
const
|
|
595
|
-
function
|
|
618
|
+
const Yi = _(is);
|
|
619
|
+
function Tt(e) {
|
|
596
620
|
return typeof e == "number" ? `${e}px` : e;
|
|
597
621
|
}
|
|
598
|
-
function
|
|
622
|
+
function ns(e, s) {
|
|
599
623
|
if (!(typeof s != "string" || !P(s)))
|
|
600
624
|
for (const t of W(s))
|
|
601
625
|
e.bindSignal(t);
|
|
602
626
|
}
|
|
603
|
-
function
|
|
627
|
+
function st(e, s) {
|
|
604
628
|
if (typeof s == "function") {
|
|
605
629
|
try {
|
|
606
|
-
|
|
630
|
+
st(e, s());
|
|
607
631
|
} catch {
|
|
608
632
|
}
|
|
609
633
|
return;
|
|
610
634
|
}
|
|
611
635
|
if (typeof s == "string") {
|
|
612
|
-
|
|
636
|
+
ns(e, s);
|
|
613
637
|
return;
|
|
614
638
|
}
|
|
615
639
|
if (Array.isArray(s))
|
|
616
|
-
for (const t of s)
|
|
640
|
+
for (const t of s) st(e, t);
|
|
617
641
|
}
|
|
618
|
-
function
|
|
642
|
+
function as(e) {
|
|
619
643
|
return typeof e == "string" && P(e) ? H(e) : e;
|
|
620
644
|
}
|
|
621
|
-
class
|
|
645
|
+
class os extends y {
|
|
622
646
|
constructor() {
|
|
623
647
|
super(...arguments);
|
|
624
648
|
c(this, "_direction", "horizontal");
|
|
@@ -635,16 +659,16 @@ class is extends y {
|
|
|
635
659
|
return this._runSpacing = t, this;
|
|
636
660
|
}
|
|
637
661
|
children(t) {
|
|
638
|
-
return
|
|
662
|
+
return st(this, t), super.children(t);
|
|
639
663
|
}
|
|
640
664
|
props(t) {
|
|
641
|
-
return t && "children" in t &&
|
|
665
|
+
return t && "children" in t && st(this, t.children), super.props(t);
|
|
642
666
|
}
|
|
643
667
|
build() {
|
|
644
668
|
const t = this.getStyle();
|
|
645
|
-
t.display = "flex", t.flexWrap = "wrap", t.flexDirection = this._direction === "vertical" ? "column" : "row", this._spacing != null && (t.gap =
|
|
669
|
+
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
670
|
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
|
-
|
|
671
|
+
as
|
|
648
672
|
), l = ["fibo-wrap", this.getClassName(), i].filter(Boolean).join(" ");
|
|
649
673
|
return u.createElement(
|
|
650
674
|
"div",
|
|
@@ -657,42 +681,42 @@ class is extends y {
|
|
|
657
681
|
);
|
|
658
682
|
}
|
|
659
683
|
}
|
|
660
|
-
const
|
|
661
|
-
function
|
|
684
|
+
const qi = _(os);
|
|
685
|
+
function ls(e, s) {
|
|
662
686
|
if (!(typeof s != "string" || !P(s)))
|
|
663
687
|
for (const t of W(s))
|
|
664
688
|
e.bindSignal(t);
|
|
665
689
|
}
|
|
666
|
-
function
|
|
690
|
+
function rt(e, s) {
|
|
667
691
|
if (typeof s == "function") {
|
|
668
692
|
try {
|
|
669
|
-
|
|
693
|
+
rt(e, s());
|
|
670
694
|
} catch {
|
|
671
695
|
}
|
|
672
696
|
return;
|
|
673
697
|
}
|
|
674
698
|
if (typeof s == "string") {
|
|
675
|
-
|
|
699
|
+
ls(e, s);
|
|
676
700
|
return;
|
|
677
701
|
}
|
|
678
702
|
if (Array.isArray(s))
|
|
679
|
-
for (const t of s)
|
|
703
|
+
for (const t of s) rt(e, t);
|
|
680
704
|
}
|
|
681
|
-
function
|
|
705
|
+
function cs(e) {
|
|
682
706
|
return typeof e == "string" && P(e) ? H(e) : e;
|
|
683
707
|
}
|
|
684
|
-
class
|
|
708
|
+
class us extends y {
|
|
685
709
|
children(s) {
|
|
686
|
-
return
|
|
710
|
+
return rt(this, s), super.children(s);
|
|
687
711
|
}
|
|
688
712
|
props(s) {
|
|
689
|
-
return s && "children" in s &&
|
|
713
|
+
return s && "children" in s && rt(this, s.children), super.props(s);
|
|
690
714
|
}
|
|
691
715
|
build() {
|
|
692
716
|
const s = this.getStyle();
|
|
693
717
|
s.display = "flex", s.alignItems = "baseline";
|
|
694
718
|
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
|
-
|
|
719
|
+
cs
|
|
696
720
|
), a = ["fibo-baseline", this.getClassName(), r].filter(Boolean).join(" ");
|
|
697
721
|
return u.createElement(
|
|
698
722
|
"div",
|
|
@@ -705,8 +729,8 @@ class os extends y {
|
|
|
705
729
|
);
|
|
706
730
|
}
|
|
707
731
|
}
|
|
708
|
-
const
|
|
709
|
-
class
|
|
732
|
+
const Zi = _(us);
|
|
733
|
+
class hs extends y {
|
|
710
734
|
constructor() {
|
|
711
735
|
super(...arguments);
|
|
712
736
|
c(this, "_title", "");
|
|
@@ -736,8 +760,8 @@ class ls extends y {
|
|
|
736
760
|
);
|
|
737
761
|
}
|
|
738
762
|
}
|
|
739
|
-
const
|
|
740
|
-
class
|
|
763
|
+
const Qi = _(hs);
|
|
764
|
+
class ds extends y {
|
|
741
765
|
build() {
|
|
742
766
|
const { className: s, style: t, ...r } = this._props, i = {
|
|
743
767
|
display: "flex",
|
|
@@ -756,8 +780,8 @@ class cs extends y {
|
|
|
756
780
|
);
|
|
757
781
|
}
|
|
758
782
|
}
|
|
759
|
-
const
|
|
760
|
-
class
|
|
783
|
+
const Ji = _(ds);
|
|
784
|
+
class fs extends y {
|
|
761
785
|
constructor() {
|
|
762
786
|
super(...arguments);
|
|
763
787
|
c(this, "_slivers", []);
|
|
@@ -773,8 +797,8 @@ class us extends y {
|
|
|
773
797
|
...this.getStyle(),
|
|
774
798
|
...r && typeof r == "object" ? r : {}
|
|
775
799
|
}, o = ["fibo-custom-scroll-view", this.getClassName(), t].filter(Boolean).join(" "), a = this._slivers.map((l, h) => {
|
|
776
|
-
const
|
|
777
|
-
return u.isValidElement(
|
|
800
|
+
const d = $e(l) ? l.build() : l;
|
|
801
|
+
return u.isValidElement(d) && (d.key == null || d.key === "") ? u.cloneElement(d, { key: h }) : d;
|
|
778
802
|
});
|
|
779
803
|
return u.createElement(
|
|
780
804
|
"div",
|
|
@@ -787,12 +811,12 @@ class us extends y {
|
|
|
787
811
|
);
|
|
788
812
|
}
|
|
789
813
|
}
|
|
790
|
-
const
|
|
791
|
-
function
|
|
814
|
+
const tn = _(fs);
|
|
815
|
+
function $t(e, s, t) {
|
|
792
816
|
return Math.min(t, Math.max(s, e));
|
|
793
817
|
}
|
|
794
|
-
const
|
|
795
|
-
const { value: s, min: t, max: r, label: i, color: n, className: o, style: a } = e, l = 100, h = 100,
|
|
818
|
+
const ms = u.memo((e) => {
|
|
819
|
+
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
820
|
return u.createElement(
|
|
797
821
|
"div",
|
|
798
822
|
{
|
|
@@ -809,7 +833,7 @@ const hs = u.memo((e) => {
|
|
|
809
833
|
role: "meter",
|
|
810
834
|
"aria-valuemin": t,
|
|
811
835
|
"aria-valuemax": r,
|
|
812
|
-
"aria-valuenow":
|
|
836
|
+
"aria-valuenow": $t(s, t, r),
|
|
813
837
|
"aria-label": i || "Gauge"
|
|
814
838
|
},
|
|
815
839
|
u.createElement("path", {
|
|
@@ -833,7 +857,7 @@ const hs = u.memo((e) => {
|
|
|
833
857
|
i ? u.createElement("span", { className: "fibo-gauge-label text-sm font-medium" }, i) : null
|
|
834
858
|
);
|
|
835
859
|
});
|
|
836
|
-
class
|
|
860
|
+
class ps extends y {
|
|
837
861
|
constructor() {
|
|
838
862
|
super(...arguments);
|
|
839
863
|
c(this, "_value", 0);
|
|
@@ -859,7 +883,7 @@ class fs extends y {
|
|
|
859
883
|
}
|
|
860
884
|
build() {
|
|
861
885
|
const { className: t, style: r, ...i } = this._props;
|
|
862
|
-
return u.createElement(
|
|
886
|
+
return u.createElement(ms, {
|
|
863
887
|
value: this._value,
|
|
864
888
|
min: this._min,
|
|
865
889
|
max: this._max,
|
|
@@ -871,12 +895,12 @@ class fs extends y {
|
|
|
871
895
|
});
|
|
872
896
|
}
|
|
873
897
|
}
|
|
874
|
-
const
|
|
875
|
-
function
|
|
898
|
+
const en = _(ps);
|
|
899
|
+
function gs(e) {
|
|
876
900
|
const s = {};
|
|
877
901
|
return e.bold && (s.fontWeight = 700), e.italic && (s.fontStyle = "italic"), e.color && (s.color = e.color), s;
|
|
878
902
|
}
|
|
879
|
-
class
|
|
903
|
+
class _s extends y {
|
|
880
904
|
constructor() {
|
|
881
905
|
super(...arguments);
|
|
882
906
|
c(this, "_spans", []);
|
|
@@ -888,7 +912,7 @@ class ms extends y {
|
|
|
888
912
|
const t = this._spans.map(
|
|
889
913
|
(r, i) => u.createElement(
|
|
890
914
|
"span",
|
|
891
|
-
{ key: i, style:
|
|
915
|
+
{ key: i, style: gs(r) },
|
|
892
916
|
typeof r.text == "string" ? r.text : ""
|
|
893
917
|
)
|
|
894
918
|
);
|
|
@@ -902,8 +926,8 @@ class ms extends y {
|
|
|
902
926
|
);
|
|
903
927
|
}
|
|
904
928
|
}
|
|
905
|
-
const
|
|
906
|
-
class
|
|
929
|
+
const sn = _(_s);
|
|
930
|
+
class ys extends y {
|
|
907
931
|
constructor(t = "") {
|
|
908
932
|
super();
|
|
909
933
|
c(this, "_text", "");
|
|
@@ -927,8 +951,8 @@ class ps extends y {
|
|
|
927
951
|
);
|
|
928
952
|
}
|
|
929
953
|
}
|
|
930
|
-
const
|
|
931
|
-
function
|
|
954
|
+
const rn = _(ys), ot = /* @__PURE__ */ new Map();
|
|
955
|
+
function bs({
|
|
932
956
|
src: e,
|
|
933
957
|
alt: s,
|
|
934
958
|
placeholder: t,
|
|
@@ -936,26 +960,26 @@ function gs({
|
|
|
936
960
|
className: i,
|
|
937
961
|
style: n
|
|
938
962
|
}) {
|
|
939
|
-
const o = e && !F(e) ? e : void 0, a = r && o ?
|
|
963
|
+
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
964
|
return l ? u.createElement(u.Fragment, null, t ?? null) : u.createElement(
|
|
941
965
|
u.Fragment,
|
|
942
966
|
null,
|
|
943
|
-
!
|
|
967
|
+
!d && t != null ? t : null,
|
|
944
968
|
u.createElement("img", {
|
|
945
969
|
src: o,
|
|
946
970
|
alt: s,
|
|
947
971
|
className: i,
|
|
948
972
|
style: n,
|
|
949
973
|
onLoad: () => {
|
|
950
|
-
r && o &&
|
|
974
|
+
r && o && ot.set(o, "ok"), m(!0);
|
|
951
975
|
},
|
|
952
976
|
onError: () => {
|
|
953
|
-
r && o &&
|
|
977
|
+
r && o && ot.set(o, "error"), h(!0);
|
|
954
978
|
}
|
|
955
979
|
})
|
|
956
980
|
);
|
|
957
981
|
}
|
|
958
|
-
class
|
|
982
|
+
class Ss extends y {
|
|
959
983
|
constructor(t = "") {
|
|
960
984
|
super();
|
|
961
985
|
c(this, "_src", "");
|
|
@@ -977,7 +1001,7 @@ class _s extends y {
|
|
|
977
1001
|
return this._cache = t !== !1, this;
|
|
978
1002
|
}
|
|
979
1003
|
build() {
|
|
980
|
-
return u.createElement(
|
|
1004
|
+
return u.createElement(bs, {
|
|
981
1005
|
src: this._src,
|
|
982
1006
|
alt: this._alt,
|
|
983
1007
|
placeholder: this._placeholder,
|
|
@@ -987,8 +1011,8 @@ class _s extends y {
|
|
|
987
1011
|
});
|
|
988
1012
|
}
|
|
989
1013
|
}
|
|
990
|
-
const
|
|
991
|
-
class
|
|
1014
|
+
const nn = _(Ss);
|
|
1015
|
+
class vs extends y {
|
|
992
1016
|
constructor() {
|
|
993
1017
|
super(...arguments);
|
|
994
1018
|
c(this, "_src", "");
|
|
@@ -1015,8 +1039,8 @@ class ys extends y {
|
|
|
1015
1039
|
});
|
|
1016
1040
|
}
|
|
1017
1041
|
}
|
|
1018
|
-
const
|
|
1019
|
-
class
|
|
1042
|
+
const an = _(vs), Cs = "allow-scripts allow-same-origin allow-popups";
|
|
1043
|
+
class ks extends y {
|
|
1020
1044
|
constructor() {
|
|
1021
1045
|
super(...arguments);
|
|
1022
1046
|
c(this, "_src", "");
|
|
@@ -1035,12 +1059,12 @@ class Ss extends y {
|
|
|
1035
1059
|
style: this.getStyle(),
|
|
1036
1060
|
src: t,
|
|
1037
1061
|
title: this._title || void 0,
|
|
1038
|
-
sandbox: r ?
|
|
1062
|
+
sandbox: r ? Cs : void 0
|
|
1039
1063
|
});
|
|
1040
1064
|
}
|
|
1041
1065
|
}
|
|
1042
|
-
const
|
|
1043
|
-
function
|
|
1066
|
+
const on = _(ks), ws = /^(#{1,6})[ \t]+(.*)$/;
|
|
1067
|
+
function Es(e) {
|
|
1044
1068
|
const s = e.trim();
|
|
1045
1069
|
if (!s || /[\u0000-\u001F\s]/.test(s)) return null;
|
|
1046
1070
|
try {
|
|
@@ -1051,7 +1075,7 @@ function ks(e) {
|
|
|
1051
1075
|
}
|
|
1052
1076
|
return null;
|
|
1053
1077
|
}
|
|
1054
|
-
function
|
|
1078
|
+
function Bt(e, s) {
|
|
1055
1079
|
const t = [];
|
|
1056
1080
|
let r = 0, i = 0, n = 0;
|
|
1057
1081
|
const o = (a) => {
|
|
@@ -1090,13 +1114,13 @@ function Tt(e, s) {
|
|
|
1090
1114
|
if (a !== -1 && e[a + 1] === "(") {
|
|
1091
1115
|
const l = e.indexOf(")", a + 2);
|
|
1092
1116
|
if (l !== -1) {
|
|
1093
|
-
const h = e.slice(r + 1, a),
|
|
1094
|
-
o(r),
|
|
1117
|
+
const h = e.slice(r + 1, a), d = Es(e.slice(a + 2, l));
|
|
1118
|
+
o(r), d ? t.push(
|
|
1095
1119
|
u.createElement(
|
|
1096
1120
|
"a",
|
|
1097
1121
|
{
|
|
1098
1122
|
key: `${s}-a${n++}`,
|
|
1099
|
-
href:
|
|
1123
|
+
href: d,
|
|
1100
1124
|
rel: "noopener noreferrer"
|
|
1101
1125
|
},
|
|
1102
1126
|
h
|
|
@@ -1110,25 +1134,25 @@ function Tt(e, s) {
|
|
|
1110
1134
|
}
|
|
1111
1135
|
return o(e.length), t;
|
|
1112
1136
|
}
|
|
1113
|
-
function
|
|
1137
|
+
function Ns(e) {
|
|
1114
1138
|
const s = e.replace(/\r\n/g, `
|
|
1115
1139
|
`).split(`
|
|
1116
1140
|
`), t = [];
|
|
1117
1141
|
return s.forEach((r, i) => {
|
|
1118
|
-
const n =
|
|
1142
|
+
const n = ws.exec(r);
|
|
1119
1143
|
if (n) {
|
|
1120
1144
|
const a = `h${n[1].length}`;
|
|
1121
1145
|
t.push(
|
|
1122
|
-
u.createElement(a, { key: `md-${i}` },
|
|
1146
|
+
u.createElement(a, { key: `md-${i}` }, Bt(n[2], `md-${i}`))
|
|
1123
1147
|
);
|
|
1124
1148
|
return;
|
|
1125
1149
|
}
|
|
1126
1150
|
r.trim() !== "" && t.push(
|
|
1127
|
-
u.createElement("p", { key: `md-${i}` },
|
|
1151
|
+
u.createElement("p", { key: `md-${i}` }, Bt(r, `md-${i}`))
|
|
1128
1152
|
);
|
|
1129
1153
|
}), t;
|
|
1130
1154
|
}
|
|
1131
|
-
class
|
|
1155
|
+
class xs extends y {
|
|
1132
1156
|
constructor() {
|
|
1133
1157
|
super(...arguments);
|
|
1134
1158
|
c(this, "_text", "");
|
|
@@ -1143,12 +1167,12 @@ class ws extends y {
|
|
|
1143
1167
|
className: `fibo-markdown ${this.getClassName()}`.trim(),
|
|
1144
1168
|
style: this.getStyle()
|
|
1145
1169
|
},
|
|
1146
|
-
|
|
1170
|
+
Ns(this._text)
|
|
1147
1171
|
);
|
|
1148
1172
|
}
|
|
1149
1173
|
}
|
|
1150
|
-
const
|
|
1151
|
-
function
|
|
1174
|
+
const ln = _(xs);
|
|
1175
|
+
function Ts(e, s) {
|
|
1152
1176
|
const t = typeof e == "number" && Number.isFinite(e) ? e : 0;
|
|
1153
1177
|
if (typeof s == "function") {
|
|
1154
1178
|
const r = s(t);
|
|
@@ -1156,7 +1180,7 @@ function Es(e, s) {
|
|
|
1156
1180
|
}
|
|
1157
1181
|
return String(t);
|
|
1158
1182
|
}
|
|
1159
|
-
const
|
|
1183
|
+
const $s = (e) => {
|
|
1160
1184
|
const { value: s, format: t, className: r, style: i } = e;
|
|
1161
1185
|
return u.createElement(
|
|
1162
1186
|
"span",
|
|
@@ -1164,10 +1188,10 @@ const Ns = (e) => {
|
|
|
1164
1188
|
className: ["fibo-numeric-text", r].filter(Boolean).join(" "),
|
|
1165
1189
|
style: i
|
|
1166
1190
|
},
|
|
1167
|
-
|
|
1191
|
+
Ts(s, t)
|
|
1168
1192
|
);
|
|
1169
1193
|
};
|
|
1170
|
-
class
|
|
1194
|
+
class Bs extends y {
|
|
1171
1195
|
constructor() {
|
|
1172
1196
|
super(...arguments);
|
|
1173
1197
|
c(this, "_value", 0);
|
|
@@ -1182,7 +1206,7 @@ class xs extends y {
|
|
|
1182
1206
|
}
|
|
1183
1207
|
build() {
|
|
1184
1208
|
const { className: t, style: r, ...i } = this._props;
|
|
1185
|
-
return u.createElement(
|
|
1209
|
+
return u.createElement($s, {
|
|
1186
1210
|
value: this._value,
|
|
1187
1211
|
format: this._format,
|
|
1188
1212
|
className: [this.getClassName(), t].filter(Boolean).join(" ") || void 0,
|
|
@@ -1191,8 +1215,8 @@ class xs extends y {
|
|
|
1191
1215
|
});
|
|
1192
1216
|
}
|
|
1193
1217
|
}
|
|
1194
|
-
const
|
|
1195
|
-
class
|
|
1218
|
+
const cn = _(Bs);
|
|
1219
|
+
class Ls extends y {
|
|
1196
1220
|
constructor() {
|
|
1197
1221
|
super(...arguments);
|
|
1198
1222
|
c(this, "_src", "");
|
|
@@ -1215,30 +1239,30 @@ class Ts extends y {
|
|
|
1215
1239
|
});
|
|
1216
1240
|
}
|
|
1217
1241
|
}
|
|
1218
|
-
const
|
|
1219
|
-
function
|
|
1242
|
+
const un = _(Ls);
|
|
1243
|
+
function pt(e) {
|
|
1220
1244
|
return typeof e != "string" || e.length === 0 ? "" : e.replace(/<script\b[^>]*>[\s\S]*?<\/script\s*>/gi, "").replace(/<script\b[^>]*>/gi, "");
|
|
1221
1245
|
}
|
|
1222
|
-
function
|
|
1246
|
+
function Ps(e) {
|
|
1223
1247
|
const s = document.execCommand;
|
|
1224
1248
|
typeof s == "function" && s.call(document, e);
|
|
1225
1249
|
}
|
|
1226
|
-
function
|
|
1250
|
+
function Rs({ html: e, onChange: s, className: t, style: r }) {
|
|
1227
1251
|
const i = N(null);
|
|
1228
|
-
|
|
1252
|
+
U(() => {
|
|
1229
1253
|
const a = i.current;
|
|
1230
1254
|
if (!a) return;
|
|
1231
|
-
const l =
|
|
1255
|
+
const l = pt(e);
|
|
1232
1256
|
a.innerHTML !== l && (a.innerHTML = l);
|
|
1233
1257
|
}, [e]);
|
|
1234
1258
|
const n = () => {
|
|
1235
1259
|
const a = i.current;
|
|
1236
1260
|
if (!a) return;
|
|
1237
|
-
const l =
|
|
1261
|
+
const l = pt(a.innerHTML);
|
|
1238
1262
|
a.innerHTML !== l && (a.innerHTML = l), s == null || s(l);
|
|
1239
1263
|
}, o = (a) => {
|
|
1240
1264
|
var l;
|
|
1241
|
-
(l = i.current) == null || l.focus(),
|
|
1265
|
+
(l = i.current) == null || l.focus(), Ps(a), n();
|
|
1242
1266
|
};
|
|
1243
1267
|
return u.createElement(
|
|
1244
1268
|
"div",
|
|
@@ -1268,7 +1292,7 @@ function Bs({ html: e, onChange: s, className: t, style: r }) {
|
|
|
1268
1292
|
})
|
|
1269
1293
|
);
|
|
1270
1294
|
}
|
|
1271
|
-
class
|
|
1295
|
+
class As extends y {
|
|
1272
1296
|
constructor() {
|
|
1273
1297
|
super(...arguments);
|
|
1274
1298
|
c(this, "_html", "");
|
|
@@ -1276,14 +1300,14 @@ class Ls extends y {
|
|
|
1276
1300
|
}
|
|
1277
1301
|
/** HTML shown in the editor. Script tags are removed before they are stored. */
|
|
1278
1302
|
value(t) {
|
|
1279
|
-
return this._html =
|
|
1303
|
+
return this._html = pt(t), this;
|
|
1280
1304
|
}
|
|
1281
1305
|
/** Called with the editor HTML after each edit. The argument never contains script tags. */
|
|
1282
1306
|
onChange(t) {
|
|
1283
1307
|
return this._onChange = t, this;
|
|
1284
1308
|
}
|
|
1285
1309
|
build() {
|
|
1286
|
-
return u.createElement(
|
|
1310
|
+
return u.createElement(Rs, {
|
|
1287
1311
|
html: this._html,
|
|
1288
1312
|
onChange: this._onChange,
|
|
1289
1313
|
className: `fibo-rich-editor ${this.getClassName()}`.trim(),
|
|
@@ -1291,7 +1315,7 @@ class Ls extends y {
|
|
|
1291
1315
|
});
|
|
1292
1316
|
}
|
|
1293
1317
|
}
|
|
1294
|
-
const
|
|
1318
|
+
const hn = _(As), Ms = u.memo((e) => {
|
|
1295
1319
|
const { title: s, message: t, actionLabel: r, onAction: i, className: n, style: o, ...a } = e, l = [
|
|
1296
1320
|
u.createElement(
|
|
1297
1321
|
"h2",
|
|
@@ -1327,7 +1351,7 @@ const an = _(Ls), Ps = u.memo((e) => {
|
|
|
1327
1351
|
l
|
|
1328
1352
|
);
|
|
1329
1353
|
});
|
|
1330
|
-
class
|
|
1354
|
+
class Fs extends y {
|
|
1331
1355
|
constructor() {
|
|
1332
1356
|
super(...arguments);
|
|
1333
1357
|
c(this, "_title", "");
|
|
@@ -1346,7 +1370,7 @@ class Rs extends y {
|
|
|
1346
1370
|
}
|
|
1347
1371
|
build() {
|
|
1348
1372
|
const { className: t, style: r, ...i } = this._props;
|
|
1349
|
-
return u.createElement(
|
|
1373
|
+
return u.createElement(Ms, {
|
|
1350
1374
|
title: this._title,
|
|
1351
1375
|
message: this._message,
|
|
1352
1376
|
actionLabel: this._actionLabel,
|
|
@@ -1357,7 +1381,7 @@ class Rs extends y {
|
|
|
1357
1381
|
});
|
|
1358
1382
|
}
|
|
1359
1383
|
}
|
|
1360
|
-
const
|
|
1384
|
+
const dn = _(Fs), Lt = [
|
|
1361
1385
|
"#3B82F6",
|
|
1362
1386
|
"#22C55E",
|
|
1363
1387
|
"#F59E0B",
|
|
@@ -1370,16 +1394,16 @@ const on = _(Rs), $t = [
|
|
|
1370
1394
|
function I(e, s) {
|
|
1371
1395
|
var r;
|
|
1372
1396
|
const t = (r = e.colors) == null ? void 0 : r[s];
|
|
1373
|
-
return t || (e.color ? e.color :
|
|
1397
|
+
return t || (e.color ? e.color : Lt[s % Lt.length]);
|
|
1374
1398
|
}
|
|
1375
|
-
function
|
|
1399
|
+
function gt(e) {
|
|
1376
1400
|
let s = 0;
|
|
1377
1401
|
for (const t of e)
|
|
1378
1402
|
for (const r of t.data)
|
|
1379
1403
|
Number.isFinite(r) && r > s && (s = r);
|
|
1380
1404
|
return s || 1;
|
|
1381
1405
|
}
|
|
1382
|
-
function
|
|
1406
|
+
function Is(e) {
|
|
1383
1407
|
const s = e.map((i) => Number.isFinite(i) && i > 0 ? i : 0), t = s.reduce((i, n) => i + n, 0) || 1;
|
|
1384
1408
|
let r = -Math.PI / 2;
|
|
1385
1409
|
return s.map((i) => {
|
|
@@ -1387,7 +1411,7 @@ function As(e) {
|
|
|
1387
1411
|
return r += n, o;
|
|
1388
1412
|
});
|
|
1389
1413
|
}
|
|
1390
|
-
function
|
|
1414
|
+
function Ds(e) {
|
|
1391
1415
|
const s = e.map((n) => ({
|
|
1392
1416
|
color: n.color,
|
|
1393
1417
|
value: Number.isFinite(n.value) && n.value > 0 ? n.value : 0
|
|
@@ -1398,17 +1422,17 @@ function Ms(e) {
|
|
|
1398
1422
|
return r += n.value / t * 100, `${n.color} ${o}% ${r}%`;
|
|
1399
1423
|
}).join(", ")})`;
|
|
1400
1424
|
}
|
|
1401
|
-
function
|
|
1425
|
+
function Os(e, s) {
|
|
1402
1426
|
return !Number.isFinite(e) || e <= 0 || s <= 0 ? 0 : Math.min(100, e / s * 100);
|
|
1403
1427
|
}
|
|
1404
|
-
function
|
|
1428
|
+
function js(e, s, t) {
|
|
1405
1429
|
const r = t.maxLat - t.minLat || 1, i = t.maxLng - t.minLng || 1;
|
|
1406
1430
|
return {
|
|
1407
1431
|
x: (s - t.minLng) / i,
|
|
1408
1432
|
y: (t.maxLat - e) / r
|
|
1409
1433
|
};
|
|
1410
1434
|
}
|
|
1411
|
-
function
|
|
1435
|
+
function oe(e, s, t) {
|
|
1412
1436
|
const r = Math.max(t, 0.01) / 2;
|
|
1413
1437
|
return {
|
|
1414
1438
|
minLat: e - r,
|
|
@@ -1417,8 +1441,8 @@ function ne(e, s, t) {
|
|
|
1417
1441
|
maxLng: s + r
|
|
1418
1442
|
};
|
|
1419
1443
|
}
|
|
1420
|
-
function
|
|
1421
|
-
if (e.length === 0) return
|
|
1444
|
+
function Hs(e, s = 0.15) {
|
|
1445
|
+
if (e.length === 0) return oe(0, 0, 40);
|
|
1422
1446
|
let t = e[0].lat, r = e[0].lat, i = e[0].lng, n = e[0].lng;
|
|
1423
1447
|
for (const l of e)
|
|
1424
1448
|
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 +1455,7 @@ function Ds(e, s = 0.15) {
|
|
|
1431
1455
|
};
|
|
1432
1456
|
}
|
|
1433
1457
|
const O = { left: 36, right: 12, top: 12, bottom: 28 };
|
|
1434
|
-
function
|
|
1458
|
+
function Ws(e, s) {
|
|
1435
1459
|
return {
|
|
1436
1460
|
x: O.left,
|
|
1437
1461
|
y: O.top,
|
|
@@ -1439,10 +1463,10 @@ function Os(e, s) {
|
|
|
1439
1463
|
h: Math.max(1, s - O.top - O.bottom)
|
|
1440
1464
|
};
|
|
1441
1465
|
}
|
|
1442
|
-
function
|
|
1466
|
+
function le(e) {
|
|
1443
1467
|
return e.reduce((s, t) => Math.max(s, t.data.length), 0);
|
|
1444
1468
|
}
|
|
1445
|
-
function
|
|
1469
|
+
function Vs(e, s, t) {
|
|
1446
1470
|
e.save(), e.strokeStyle = "#334155", e.fillStyle = "#94A3B8", e.font = "11px sans-serif", e.lineWidth = 1;
|
|
1447
1471
|
for (let r = 0; r <= 4; r += 1) {
|
|
1448
1472
|
const i = s.y + s.h * r / 4;
|
|
@@ -1452,92 +1476,92 @@ function js(e, s, t) {
|
|
|
1452
1476
|
}
|
|
1453
1477
|
e.restore();
|
|
1454
1478
|
}
|
|
1455
|
-
function
|
|
1479
|
+
function Z(e, s, t, r, i) {
|
|
1456
1480
|
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
1481
|
return { x: n, y: o };
|
|
1458
1482
|
}
|
|
1459
|
-
function
|
|
1483
|
+
function Gs(e, s, t, r, i, n, o) {
|
|
1460
1484
|
const a = I(s, t);
|
|
1461
1485
|
if (e.beginPath(), s.data.forEach((l, h) => {
|
|
1462
1486
|
if (!Number.isFinite(l)) return;
|
|
1463
|
-
const
|
|
1464
|
-
h === 0 ? e.moveTo(
|
|
1487
|
+
const d = Z(h, l, r, i, n);
|
|
1488
|
+
h === 0 ? e.moveTo(d.x, d.y) : e.lineTo(d.x, d.y);
|
|
1465
1489
|
}), o && s.data.length > 0) {
|
|
1466
|
-
const l =
|
|
1490
|
+
const l = Z(s.data.length - 1, 0, r, i, n), h = Z(0, 0, r, i, n);
|
|
1467
1491
|
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
1492
|
}
|
|
1469
1493
|
e.strokeStyle = a, e.lineWidth = 2, e.stroke();
|
|
1470
1494
|
}
|
|
1471
|
-
function
|
|
1495
|
+
function zs(e, s, t, r, i) {
|
|
1472
1496
|
const n = i.w / Math.max(t, 1), o = Math.max(2, n * 0.7 / Math.max(s.length, 1));
|
|
1473
1497
|
s.forEach((a, l) => {
|
|
1474
|
-
e.fillStyle = I(a, l), a.data.forEach((h,
|
|
1498
|
+
e.fillStyle = I(a, l), a.data.forEach((h, d) => {
|
|
1475
1499
|
if (!Number.isFinite(h) || h <= 0) return;
|
|
1476
|
-
const m = h / r * i.h,
|
|
1477
|
-
e.fillRect(
|
|
1500
|
+
const m = h / r * i.h, f = i.x + d * n + (n - o * s.length) / 2 + l * o;
|
|
1501
|
+
e.fillRect(f, i.y + i.h - m, o - 1, m);
|
|
1478
1502
|
});
|
|
1479
1503
|
});
|
|
1480
1504
|
}
|
|
1481
|
-
function
|
|
1482
|
-
var
|
|
1483
|
-
const n = ((
|
|
1484
|
-
o.forEach((m,
|
|
1485
|
-
e.beginPath(), e.moveTo(a, l), e.fillStyle = I({},
|
|
1505
|
+
function Us(e, s, t, r, i) {
|
|
1506
|
+
var d;
|
|
1507
|
+
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;
|
|
1508
|
+
o.forEach((m, f) => {
|
|
1509
|
+
e.beginPath(), e.moveTo(a, l), e.fillStyle = I({}, f), e.arc(a, l, h, m.start, m.end), e.closePath(), e.fill();
|
|
1486
1510
|
}), i && (e.beginPath(), e.fillStyle = "#0F172A", e.arc(a, l, h * 0.58, 0, Math.PI * 2), e.fill());
|
|
1487
1511
|
}
|
|
1488
|
-
function
|
|
1489
|
-
const n =
|
|
1512
|
+
function Xs(e, s, t, r, i) {
|
|
1513
|
+
const n = le(s), o = t / 2, a = r / 2, l = Math.min(t, r) / 2 - 16;
|
|
1490
1514
|
e.strokeStyle = "#334155";
|
|
1491
1515
|
for (let h = 1; h <= 4; h += 1) {
|
|
1492
1516
|
e.beginPath();
|
|
1493
|
-
for (let
|
|
1494
|
-
const m = -Math.PI / 2 +
|
|
1495
|
-
|
|
1517
|
+
for (let d = 0; d < n; d += 1) {
|
|
1518
|
+
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;
|
|
1519
|
+
d === 0 ? e.moveTo(p, b) : e.lineTo(p, b);
|
|
1496
1520
|
}
|
|
1497
1521
|
e.closePath(), e.stroke();
|
|
1498
1522
|
}
|
|
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,
|
|
1523
|
+
s.forEach((h, d) => {
|
|
1524
|
+
e.beginPath(), h.data.forEach((m, f) => {
|
|
1525
|
+
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;
|
|
1526
|
+
f === 0 ? e.moveTo(g, S) : e.lineTo(g, S);
|
|
1527
|
+
}), e.closePath(), e.strokeStyle = I(h, d), e.lineWidth = 2, e.stroke();
|
|
1504
1528
|
});
|
|
1505
1529
|
}
|
|
1506
|
-
function
|
|
1530
|
+
function Ks(e, s) {
|
|
1507
1531
|
const { type: t, series: r, width: i, height: n } = s;
|
|
1508
1532
|
if (e.clearRect(0, 0, i, n), e.fillStyle = "#0F172A", e.fillRect(0, 0, i, n), t === "pie" || t === "donut") {
|
|
1509
|
-
|
|
1533
|
+
Us(e, r, i, n, t === "donut");
|
|
1510
1534
|
return;
|
|
1511
1535
|
}
|
|
1512
1536
|
if (t === "radar") {
|
|
1513
|
-
|
|
1537
|
+
Xs(e, r, i, n, gt(r));
|
|
1514
1538
|
return;
|
|
1515
1539
|
}
|
|
1516
|
-
const o =
|
|
1517
|
-
if (
|
|
1518
|
-
|
|
1540
|
+
const o = Ws(i, n), a = gt(r), l = le(r);
|
|
1541
|
+
if (Vs(e, o, a), t === "bar") {
|
|
1542
|
+
zs(e, r, l, a, o);
|
|
1519
1543
|
return;
|
|
1520
1544
|
}
|
|
1521
|
-
r.forEach((h,
|
|
1545
|
+
r.forEach((h, d) => {
|
|
1522
1546
|
if (t === "scatter") {
|
|
1523
|
-
e.fillStyle = I(h,
|
|
1547
|
+
e.fillStyle = I(h, d), h.data.forEach((m, f) => {
|
|
1524
1548
|
if (!Number.isFinite(m)) return;
|
|
1525
|
-
const p =
|
|
1549
|
+
const p = Z(f, m, l, a, o);
|
|
1526
1550
|
e.beginPath(), e.arc(p.x, p.y, 3.5, 0, Math.PI * 2), e.fill();
|
|
1527
1551
|
});
|
|
1528
1552
|
return;
|
|
1529
1553
|
}
|
|
1530
|
-
|
|
1554
|
+
Gs(e, h, d, l, a, o, t === "area");
|
|
1531
1555
|
});
|
|
1532
1556
|
}
|
|
1533
|
-
const
|
|
1534
|
-
function
|
|
1557
|
+
const Ys = /* @__PURE__ */ new Set(["bar", "pie", "donut"]);
|
|
1558
|
+
function qs(e) {
|
|
1535
1559
|
const s = N(null);
|
|
1536
|
-
return
|
|
1560
|
+
return U(() => {
|
|
1537
1561
|
const t = s.current, r = t == null ? void 0 : t.getContext("2d");
|
|
1538
1562
|
if (!t || !r) return;
|
|
1539
1563
|
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),
|
|
1564
|
+
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
1565
|
}, [e]), u.createElement("canvas", {
|
|
1542
1566
|
ref: s,
|
|
1543
1567
|
className: "fibo-chart-canvas",
|
|
@@ -1546,8 +1570,8 @@ function Us(e) {
|
|
|
1546
1570
|
style: { width: e.width, height: e.height, display: "block" }
|
|
1547
1571
|
});
|
|
1548
1572
|
}
|
|
1549
|
-
function
|
|
1550
|
-
const s =
|
|
1573
|
+
function Zs(e) {
|
|
1574
|
+
const s = gt(e.series), t = e.series.reduce((i, n) => Math.max(i, n.data.length), 0), r = [];
|
|
1551
1575
|
for (let i = 0; i < t; i += 1) {
|
|
1552
1576
|
const n = e.series.map(
|
|
1553
1577
|
(o, a) => u.createElement("div", {
|
|
@@ -1555,7 +1579,7 @@ function Ys(e) {
|
|
|
1555
1579
|
className: "fibo-css-bar",
|
|
1556
1580
|
style: {
|
|
1557
1581
|
flex: 1,
|
|
1558
|
-
height: `${
|
|
1582
|
+
height: `${Os(o.data[i] ?? 0, s)}%`,
|
|
1559
1583
|
background: I(o, i),
|
|
1560
1584
|
borderRadius: 0,
|
|
1561
1585
|
minHeight: 0
|
|
@@ -1593,9 +1617,9 @@ function Ys(e) {
|
|
|
1593
1617
|
...r
|
|
1594
1618
|
);
|
|
1595
1619
|
}
|
|
1596
|
-
function
|
|
1620
|
+
function Qs(e) {
|
|
1597
1621
|
var i;
|
|
1598
|
-
const s = ((i = e.series[0]) == null ? void 0 : i.data) ?? [], t =
|
|
1622
|
+
const s = ((i = e.series[0]) == null ? void 0 : i.data) ?? [], t = Ds(
|
|
1599
1623
|
s.map((n, o) => ({ value: n, color: I(e.series[0] ?? {}, o) }))
|
|
1600
1624
|
), r = e.type === "donut";
|
|
1601
1625
|
return u.createElement("div", {
|
|
@@ -1612,8 +1636,8 @@ function Ks(e) {
|
|
|
1612
1636
|
}
|
|
1613
1637
|
});
|
|
1614
1638
|
}
|
|
1615
|
-
const
|
|
1616
|
-
const r = s.renderer === "css" &&
|
|
1639
|
+
const Js = u.memo(function(s) {
|
|
1640
|
+
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
1641
|
return u.createElement(
|
|
1618
1642
|
"figure",
|
|
1619
1643
|
{
|
|
@@ -1623,7 +1647,7 @@ const qs = u.memo(function(s) {
|
|
|
1623
1647
|
r
|
|
1624
1648
|
);
|
|
1625
1649
|
});
|
|
1626
|
-
class
|
|
1650
|
+
class tr extends y {
|
|
1627
1651
|
constructor() {
|
|
1628
1652
|
super(...arguments);
|
|
1629
1653
|
c(this, "_type", "line");
|
|
@@ -1654,7 +1678,7 @@ class Zs extends y {
|
|
|
1654
1678
|
}
|
|
1655
1679
|
build() {
|
|
1656
1680
|
const { className: t, style: r, ...i } = this._props;
|
|
1657
|
-
return u.createElement(
|
|
1681
|
+
return u.createElement(Js, {
|
|
1658
1682
|
type: this._type,
|
|
1659
1683
|
renderer: this._renderer,
|
|
1660
1684
|
series: this._series,
|
|
@@ -1667,24 +1691,24 @@ class Zs extends y {
|
|
|
1667
1691
|
});
|
|
1668
1692
|
}
|
|
1669
1693
|
}
|
|
1670
|
-
const
|
|
1671
|
-
function
|
|
1694
|
+
const fn = _(tr);
|
|
1695
|
+
function _t(e) {
|
|
1672
1696
|
return {
|
|
1673
1697
|
background: e.colors.background,
|
|
1674
1698
|
onBackground: e.colors.onBackground,
|
|
1675
1699
|
primary: e.colors.primary,
|
|
1676
1700
|
secondary: e.colors.secondary,
|
|
1677
1701
|
surface: e.colors.surface,
|
|
1678
|
-
dark:
|
|
1702
|
+
dark: er(e.colors.background)
|
|
1679
1703
|
};
|
|
1680
1704
|
}
|
|
1681
|
-
function
|
|
1705
|
+
function er(e) {
|
|
1682
1706
|
const s = e.trim().match(/^#([0-9a-f]{3}|[0-9a-f]{6})$/i);
|
|
1683
1707
|
if (!s) return !1;
|
|
1684
1708
|
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
1709
|
return (r * 299 + i * 587 + n * 114) / 1e3 < 150;
|
|
1686
1710
|
}
|
|
1687
|
-
function
|
|
1711
|
+
function sr(e) {
|
|
1688
1712
|
const s = e.trim().match(/^#([0-9a-f]{6})$/i);
|
|
1689
1713
|
if (!s) return 0;
|
|
1690
1714
|
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 +1716,29 @@ function Js(e) {
|
|
|
1692
1716
|
let l = 0;
|
|
1693
1717
|
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
1718
|
}
|
|
1695
|
-
function
|
|
1696
|
-
const s = `sepia(0.7) saturate(2.6) hue-rotate(${
|
|
1719
|
+
function rr(e) {
|
|
1720
|
+
const s = `sepia(0.7) saturate(2.6) hue-rotate(${sr(e.primary)}deg)`;
|
|
1697
1721
|
return e.dark ? `invert(1) hue-rotate(180deg) ${s}` : s;
|
|
1698
1722
|
}
|
|
1699
|
-
const
|
|
1723
|
+
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
1724
|
light: {
|
|
1701
|
-
url:
|
|
1702
|
-
attribution:
|
|
1725
|
+
url: Q,
|
|
1726
|
+
attribution: G,
|
|
1703
1727
|
filter: "grayscale(0.85) brightness(1.12)"
|
|
1704
1728
|
},
|
|
1705
1729
|
dark: {
|
|
1706
|
-
url:
|
|
1707
|
-
attribution:
|
|
1730
|
+
url: Q,
|
|
1731
|
+
attribution: G,
|
|
1708
1732
|
filter: "invert(1) hue-rotate(180deg) brightness(0.95) contrast(0.9)"
|
|
1709
1733
|
},
|
|
1710
|
-
streets: { url:
|
|
1734
|
+
streets: { url: Q, attribution: G, filter: "" },
|
|
1711
1735
|
satellite: {
|
|
1712
|
-
url:
|
|
1736
|
+
url: ir,
|
|
1713
1737
|
attribution: "Tiles © Esri",
|
|
1714
1738
|
filter: ""
|
|
1715
1739
|
}
|
|
1716
1740
|
};
|
|
1717
|
-
function
|
|
1741
|
+
function ar(e) {
|
|
1718
1742
|
let s = e;
|
|
1719
1743
|
for (; s; ) {
|
|
1720
1744
|
const t = s.getAttribute("data-fibo-theme"), r = typeof s.className == "string" ? s.className : "";
|
|
@@ -1724,7 +1748,7 @@ function rr(e) {
|
|
|
1724
1748
|
}
|
|
1725
1749
|
return "streets";
|
|
1726
1750
|
}
|
|
1727
|
-
function
|
|
1751
|
+
function or(e, s, t, r) {
|
|
1728
1752
|
e.clearRect(0, 0, s, t);
|
|
1729
1753
|
const i = e.createLinearGradient(0, 0, 0, t);
|
|
1730
1754
|
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 +1757,14 @@ function ir(e, s, t, r) {
|
|
|
1733
1757
|
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
1758
|
}
|
|
1735
1759
|
}
|
|
1736
|
-
function
|
|
1760
|
+
function ce(e) {
|
|
1737
1761
|
return [(e.minLat + e.maxLat) / 2, (e.minLng + e.maxLng) / 2];
|
|
1738
1762
|
}
|
|
1739
|
-
function
|
|
1763
|
+
function ue(e) {
|
|
1740
1764
|
const s = Math.max(e.maxLat - e.minLat, e.maxLng - e.minLng, 0.01);
|
|
1741
1765
|
return Math.max(1, Math.min(18, Math.round(Math.log2(360 / s))));
|
|
1742
1766
|
}
|
|
1743
|
-
const
|
|
1767
|
+
const lr = {
|
|
1744
1768
|
name: "canvas",
|
|
1745
1769
|
mount(e) {
|
|
1746
1770
|
const s = document.createElement("canvas");
|
|
@@ -1751,11 +1775,11 @@ const nr = {
|
|
|
1751
1775
|
const l = s.getContext("2d");
|
|
1752
1776
|
if (!l || n <= 0 || o <= 0) return;
|
|
1753
1777
|
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),
|
|
1778
|
+
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
1779
|
}, i = (n) => {
|
|
1756
1780
|
r(n.width, n.height, n.basemap), t.replaceChildren();
|
|
1757
1781
|
for (const [o, a] of n.markers.entries()) {
|
|
1758
|
-
const l =
|
|
1782
|
+
const l = js(a.lat, a.lng, n.bounds), h = document.createElement("button");
|
|
1759
1783
|
h.type = "button", h.className = "fibo-map-pin", h.setAttribute("aria-label", a.label || `${a.lat}, ${a.lng}`), h.style.cssText = [
|
|
1760
1784
|
"position:absolute",
|
|
1761
1785
|
`left:${l.x * 100}%`,
|
|
@@ -1770,8 +1794,8 @@ const nr = {
|
|
|
1770
1794
|
"rotate:-45deg",
|
|
1771
1795
|
"cursor:pointer"
|
|
1772
1796
|
].join(";"), h.addEventListener("click", () => {
|
|
1773
|
-
var
|
|
1774
|
-
return (
|
|
1797
|
+
var d;
|
|
1798
|
+
return (d = n.onSelect) == null ? void 0 : d.call(n, a);
|
|
1775
1799
|
}), t.append(h);
|
|
1776
1800
|
}
|
|
1777
1801
|
};
|
|
@@ -1783,36 +1807,36 @@ const nr = {
|
|
|
1783
1807
|
};
|
|
1784
1808
|
}
|
|
1785
1809
|
};
|
|
1786
|
-
let
|
|
1787
|
-
function
|
|
1788
|
-
return
|
|
1810
|
+
let lt = null;
|
|
1811
|
+
function cr() {
|
|
1812
|
+
return lt || (lt = import("leaflet").then((e) => e.default ?? e).catch(() => null)), lt;
|
|
1789
1813
|
}
|
|
1790
|
-
function
|
|
1814
|
+
function mn(e = {}) {
|
|
1791
1815
|
return {
|
|
1792
1816
|
name: "leaflet",
|
|
1793
1817
|
mount(s) {
|
|
1794
1818
|
const t = e.leaflet ?? globalThis.L;
|
|
1795
|
-
return t ?
|
|
1819
|
+
return t ? Pt(t, e, s) : typeof window > "u" ? { update() {
|
|
1796
1820
|
}, destroy() {
|
|
1797
|
-
} } :
|
|
1821
|
+
} } : cr().then((r) => r ? Pt(r, e, s) : (s.host.dataset.mapEngine = "leaflet", s.host.textContent = "Leaflet is not loaded.", { update() {
|
|
1798
1822
|
}, destroy() {
|
|
1799
1823
|
} }));
|
|
1800
1824
|
}
|
|
1801
1825
|
};
|
|
1802
1826
|
}
|
|
1803
|
-
function
|
|
1827
|
+
function Pt(e, s, t) {
|
|
1804
1828
|
const r = e.map(t.host, { zoomControl: !0 });
|
|
1805
1829
|
let i = null, n = "";
|
|
1806
1830
|
const o = (g, S) => {
|
|
1807
1831
|
var $, x;
|
|
1808
|
-
const v = s.tiles ? { url: s.tiles, attribution: s.attribution ??
|
|
1832
|
+
const v = s.tiles ? { url: s.tiles, attribution: s.attribution ?? G, filter: "" } : S ? { url: Q, attribution: G, filter: rr(S) } : nr[g];
|
|
1809
1833
|
if (t.host.dataset.basemap = S ? S.dark ? "dark" : "light" : g, S && (t.host.dataset.mapPrimary = S.primary), v.url !== n) {
|
|
1810
1834
|
($ = i == null ? void 0 : i.remove) == null || $.call(i), n = v.url;
|
|
1811
|
-
const
|
|
1835
|
+
const k = e.tileLayer(v.url, {
|
|
1812
1836
|
attribution: v.attribution,
|
|
1813
1837
|
maxZoom: 19
|
|
1814
1838
|
});
|
|
1815
|
-
|
|
1839
|
+
k.addTo(r), i = k;
|
|
1816
1840
|
}
|
|
1817
1841
|
const T = (x = r.getPane) == null ? void 0 : x.call(r, "tilePane");
|
|
1818
1842
|
T && (T.style.filter = v.filter);
|
|
@@ -1820,9 +1844,9 @@ function Bt(e, s, t) {
|
|
|
1820
1844
|
o(t.basemap, t.palette);
|
|
1821
1845
|
let a = "";
|
|
1822
1846
|
const l = [], h = /* @__PURE__ */ new Map();
|
|
1823
|
-
let
|
|
1847
|
+
let d = () => {
|
|
1824
1848
|
}, m = null;
|
|
1825
|
-
const
|
|
1849
|
+
const f = (g) => {
|
|
1826
1850
|
var T, $, x;
|
|
1827
1851
|
if (!g) return;
|
|
1828
1852
|
const S = h.get(g);
|
|
@@ -1831,54 +1855,54 @@ function Bt(e, s, t) {
|
|
|
1831
1855
|
v && (($ = r.panTo) == null || $.call(r, [v.lat, v.lng])), (x = S.openPopup) == null || x.call(S);
|
|
1832
1856
|
}, p = (g) => {
|
|
1833
1857
|
const S = g ?? null;
|
|
1834
|
-
S !== m && (
|
|
1858
|
+
S !== m && (d(), m = S, d = S ? S.subscribe((v) => f(v)) : () => {
|
|
1835
1859
|
});
|
|
1836
1860
|
}, b = (g) => {
|
|
1837
1861
|
var v, T, $, x;
|
|
1838
1862
|
o(g.basemap, g.palette);
|
|
1839
|
-
for (const
|
|
1863
|
+
for (const k of l) k.remove();
|
|
1840
1864
|
l.length = 0, h.clear();
|
|
1841
|
-
for (const
|
|
1842
|
-
const
|
|
1865
|
+
for (const k of g.markers) {
|
|
1866
|
+
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
1867
|
className: "",
|
|
1844
1868
|
iconSize: [16, 16],
|
|
1845
1869
|
iconAnchor: [8, 16],
|
|
1846
|
-
html: `<span style="display:block;width:14px;height:14px;background:${
|
|
1847
|
-
}), M = e.marker([
|
|
1848
|
-
|
|
1849
|
-
var
|
|
1850
|
-
return (
|
|
1870
|
+
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>`
|
|
1871
|
+
}), M = e.marker([k.lat, k.lng], kt ? { icon: kt } : void 0).addTo(r), wt = k.popup || k.label;
|
|
1872
|
+
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", () => {
|
|
1873
|
+
var Et;
|
|
1874
|
+
return (Et = g.onSelect) == null ? void 0 : Et.call(g, k);
|
|
1851
1875
|
})), l.push(M);
|
|
1852
1876
|
}
|
|
1853
1877
|
const S = `${g.bounds.minLat}:${g.bounds.maxLat}:${g.bounds.minLng}:${g.bounds.maxLng}:${g.markers.length}`;
|
|
1854
1878
|
S !== a && (a = S, r.fitBounds ? r.fitBounds([
|
|
1855
1879
|
[g.bounds.minLat, g.bounds.minLng],
|
|
1856
1880
|
[g.bounds.maxLat, g.bounds.maxLng]
|
|
1857
|
-
]) : r.setView(
|
|
1881
|
+
]) : r.setView(ce(g.bounds), ue(g.bounds))), p(g.opened), f((m == null ? void 0 : m.value) ?? null);
|
|
1858
1882
|
};
|
|
1859
1883
|
return b(t), {
|
|
1860
1884
|
update: b,
|
|
1861
1885
|
destroy() {
|
|
1862
|
-
|
|
1886
|
+
d();
|
|
1863
1887
|
for (const g of l) g.remove();
|
|
1864
1888
|
r.remove();
|
|
1865
1889
|
}
|
|
1866
1890
|
};
|
|
1867
1891
|
}
|
|
1868
|
-
let
|
|
1869
|
-
function
|
|
1892
|
+
let Y = null;
|
|
1893
|
+
function ur(e) {
|
|
1870
1894
|
var t;
|
|
1871
1895
|
const s = (t = globalThis.google) == null ? void 0 : t.maps;
|
|
1872
|
-
return s ? Promise.resolve(s) :
|
|
1896
|
+
return s ? Promise.resolve(s) : Y || (Y = new Promise((r, i) => {
|
|
1873
1897
|
const n = document.createElement("script");
|
|
1874
1898
|
n.src = `https://maps.googleapis.com/maps/api/js?key=${encodeURIComponent(e)}&v=weekly`, n.async = !0, n.onload = () => {
|
|
1875
1899
|
var a;
|
|
1876
1900
|
const o = (a = globalThis.google) == null ? void 0 : a.maps;
|
|
1877
1901
|
o ? r(o) : i(new Error("Google Maps did not load."));
|
|
1878
1902
|
}, n.onerror = () => i(new Error("Google Maps failed to load.")), document.head.append(n);
|
|
1879
|
-
}),
|
|
1903
|
+
}), Y);
|
|
1880
1904
|
}
|
|
1881
|
-
function
|
|
1905
|
+
function hr(e) {
|
|
1882
1906
|
return [
|
|
1883
1907
|
{ elementType: "geometry", stylers: [{ color: e.background }] },
|
|
1884
1908
|
{ elementType: "labels.text.fill", stylers: [{ color: e.onBackground }] },
|
|
@@ -1887,35 +1911,35 @@ function lr(e) {
|
|
|
1887
1911
|
{ featureType: "poi", elementType: "geometry", stylers: [{ color: e.surface }] }
|
|
1888
1912
|
];
|
|
1889
1913
|
}
|
|
1890
|
-
const
|
|
1914
|
+
const Rt = [
|
|
1891
1915
|
{ elementType: "geometry", stylers: [{ color: "#1d2c4d" }] },
|
|
1892
1916
|
{ elementType: "labels.text.fill", stylers: [{ color: "#8ec3b9" }] },
|
|
1893
1917
|
{ elementType: "labels.text.stroke", stylers: [{ color: "#1a3646" }] },
|
|
1894
1918
|
{ featureType: "water", elementType: "geometry", stylers: [{ color: "#0e1626" }] },
|
|
1895
1919
|
{ featureType: "road", elementType: "geometry", stylers: [{ color: "#304a7d" }] }
|
|
1896
1920
|
];
|
|
1897
|
-
function
|
|
1898
|
-
const [t, r] =
|
|
1921
|
+
function At(e, s) {
|
|
1922
|
+
const [t, r] = ce(e.bounds), i = new s.Map(e.host, {
|
|
1899
1923
|
center: { lat: t, lng: r },
|
|
1900
|
-
zoom:
|
|
1924
|
+
zoom: ue(e.bounds),
|
|
1901
1925
|
mapTypeControl: !1,
|
|
1902
1926
|
streetViewControl: !1,
|
|
1903
1927
|
mapTypeId: e.basemap === "satellite" ? "satellite" : "roadmap",
|
|
1904
|
-
styles: e.basemap === "dark" ?
|
|
1928
|
+
styles: e.basemap === "dark" ? Rt : void 0
|
|
1905
1929
|
}), n = [], o = (a) => {
|
|
1906
|
-
var h,
|
|
1907
|
-
for (const
|
|
1930
|
+
var h, d, m;
|
|
1931
|
+
for (const f of n) f.setMap(null);
|
|
1908
1932
|
n.length = 0;
|
|
1909
1933
|
const l = new s.LatLngBounds();
|
|
1910
|
-
for (const
|
|
1911
|
-
const p = { lat:
|
|
1934
|
+
for (const f of a.markers) {
|
|
1935
|
+
const p = { lat: f.lat, lng: f.lng }, b = new s.Marker({ position: p, map: i, title: f.label });
|
|
1912
1936
|
a.onSelect && ((h = b.addListener) == null || h.call(b, "click", () => {
|
|
1913
1937
|
var g;
|
|
1914
|
-
return (g = a.onSelect) == null ? void 0 : g.call(a,
|
|
1938
|
+
return (g = a.onSelect) == null ? void 0 : g.call(a, f);
|
|
1915
1939
|
})), n.push(b), l.extend(p);
|
|
1916
1940
|
}
|
|
1917
|
-
a.markers.length > 0 && i.fitBounds(l), (
|
|
1918
|
-
styles: a.palette ?
|
|
1941
|
+
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, {
|
|
1942
|
+
styles: a.palette ? hr(a.palette) : a.basemap === "dark" ? Rt : []
|
|
1919
1943
|
});
|
|
1920
1944
|
};
|
|
1921
1945
|
return o(e), {
|
|
@@ -1925,77 +1949,77 @@ function Pt(e, s) {
|
|
|
1925
1949
|
}
|
|
1926
1950
|
};
|
|
1927
1951
|
}
|
|
1928
|
-
function
|
|
1952
|
+
function pn(e = {}) {
|
|
1929
1953
|
return {
|
|
1930
1954
|
name: "google",
|
|
1931
1955
|
mount(s) {
|
|
1932
|
-
return e.maps ?
|
|
1956
|
+
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
1957
|
}, destroy() {
|
|
1934
1958
|
} });
|
|
1935
1959
|
}
|
|
1936
1960
|
};
|
|
1937
1961
|
}
|
|
1938
|
-
function
|
|
1962
|
+
function it(e) {
|
|
1939
1963
|
return e === "light" || e === "dark" || e === "streets" || e === "satellite";
|
|
1940
1964
|
}
|
|
1941
|
-
function
|
|
1965
|
+
function dr(e) {
|
|
1942
1966
|
if (!e || typeof e != "object") return !1;
|
|
1943
1967
|
const s = e;
|
|
1944
1968
|
return typeof s.subscribe == "function" && !!s.value && typeof s.value == "object" && "colors" in s.value;
|
|
1945
1969
|
}
|
|
1946
|
-
function
|
|
1970
|
+
function he(e) {
|
|
1947
1971
|
return !!e && typeof e == "object" && typeof e.subscribe == "function" && "value" in e;
|
|
1948
1972
|
}
|
|
1949
|
-
function
|
|
1950
|
-
return
|
|
1973
|
+
function Mt(e, s) {
|
|
1974
|
+
return it(e) ? e : he(e) && it(e.value) ? e.value : s ? ar(s) : "streets";
|
|
1951
1975
|
}
|
|
1952
|
-
const
|
|
1976
|
+
const fr = u.memo(function(s) {
|
|
1953
1977
|
const t = N(null), r = N(null), i = N(s);
|
|
1954
1978
|
i.current = s;
|
|
1955
1979
|
const [n, o] = R(null), [a, l] = R(s.palette);
|
|
1956
|
-
return
|
|
1957
|
-
if (!
|
|
1980
|
+
return X(() => {
|
|
1981
|
+
if (!he(s.basemap)) return;
|
|
1958
1982
|
const h = s.basemap;
|
|
1959
|
-
return
|
|
1960
|
-
|
|
1983
|
+
return it(h.value) && o(h.value), h.subscribe((d) => {
|
|
1984
|
+
it(d) && o(d);
|
|
1961
1985
|
});
|
|
1962
|
-
}, [s.basemap]),
|
|
1986
|
+
}, [s.basemap]), X(() => {
|
|
1963
1987
|
if (!s.themeSignal) return;
|
|
1964
1988
|
const h = s.themeSignal;
|
|
1965
|
-
return l(
|
|
1966
|
-
}, [s.themeSignal]),
|
|
1989
|
+
return l(_t(h.value)), h.subscribe((d) => l(_t(d)));
|
|
1990
|
+
}, [s.themeSignal]), U(() => {
|
|
1967
1991
|
const h = t.current;
|
|
1968
1992
|
if (!h) return;
|
|
1969
|
-
let
|
|
1970
|
-
const
|
|
1993
|
+
let d = !1, m = null;
|
|
1994
|
+
const f = () => ({
|
|
1971
1995
|
markers: i.current.markers,
|
|
1972
1996
|
bounds: i.current.bounds,
|
|
1973
1997
|
width: i.current.width,
|
|
1974
1998
|
height: i.current.height,
|
|
1975
|
-
basemap: n ??
|
|
1999
|
+
basemap: n ?? Mt(i.current.basemap, h),
|
|
1976
2000
|
palette: a,
|
|
1977
2001
|
onSelect: i.current.onSelect,
|
|
1978
2002
|
opened: i.current.opened ?? null
|
|
1979
|
-
}), p = s.engine.mount({ host: h, ...
|
|
1980
|
-
if (
|
|
2003
|
+
}), p = s.engine.mount({ host: h, ...f() }), b = (g) => {
|
|
2004
|
+
if (d) {
|
|
1981
2005
|
g.destroy();
|
|
1982
2006
|
return;
|
|
1983
2007
|
}
|
|
1984
|
-
m = g, r.current = g, g.update(
|
|
2008
|
+
m = g, r.current = g, g.update(f());
|
|
1985
2009
|
};
|
|
1986
2010
|
return p instanceof Promise ? p.then(b).catch((g) => {
|
|
1987
|
-
|
|
2011
|
+
d || (h.textContent = g instanceof Error ? g.message : "Map failed to load.");
|
|
1988
2012
|
}) : b(p), () => {
|
|
1989
|
-
|
|
2013
|
+
d = !0, m == null || m.destroy(), r.current = null;
|
|
1990
2014
|
};
|
|
1991
|
-
}, [s.engine]),
|
|
2015
|
+
}, [s.engine]), U(() => {
|
|
1992
2016
|
var h;
|
|
1993
2017
|
(h = r.current) == null || h.update({
|
|
1994
2018
|
markers: s.markers,
|
|
1995
2019
|
bounds: s.bounds,
|
|
1996
2020
|
width: s.width,
|
|
1997
2021
|
height: s.height,
|
|
1998
|
-
basemap: n ??
|
|
2022
|
+
basemap: n ?? Mt(s.basemap, t.current),
|
|
1999
2023
|
palette: a,
|
|
2000
2024
|
onSelect: s.onSelect,
|
|
2001
2025
|
opened: s.opened ?? null
|
|
@@ -2015,7 +2039,7 @@ const ur = u.memo(function(s) {
|
|
|
2015
2039
|
}
|
|
2016
2040
|
});
|
|
2017
2041
|
});
|
|
2018
|
-
class
|
|
2042
|
+
class mr extends y {
|
|
2019
2043
|
constructor() {
|
|
2020
2044
|
super(...arguments);
|
|
2021
2045
|
c(this, "_markers", []);
|
|
@@ -2026,7 +2050,7 @@ class hr extends y {
|
|
|
2026
2050
|
c(this, "_height", 240);
|
|
2027
2051
|
c(this, "_onSelect");
|
|
2028
2052
|
c(this, "_opened", null);
|
|
2029
|
-
c(this, "_engine",
|
|
2053
|
+
c(this, "_engine", lr);
|
|
2030
2054
|
c(this, "_basemap", null);
|
|
2031
2055
|
c(this, "_themeSignal", null);
|
|
2032
2056
|
}
|
|
@@ -2036,7 +2060,7 @@ class hr extends y {
|
|
|
2036
2060
|
* Leaflet tints the free OpenStreetMap tiles. Google Maps uses the same colors.
|
|
2037
2061
|
*/
|
|
2038
2062
|
theme(t) {
|
|
2039
|
-
return
|
|
2063
|
+
return dr(t) ? (this._themeSignal = t, super.theme(t.value), this) : (this._themeSignal = null, super.theme(t));
|
|
2040
2064
|
}
|
|
2041
2065
|
markers(t) {
|
|
2042
2066
|
return this._markers = t, this;
|
|
@@ -2077,15 +2101,15 @@ class hr extends y {
|
|
|
2077
2101
|
return this._engine = t, this;
|
|
2078
2102
|
}
|
|
2079
2103
|
build() {
|
|
2080
|
-
const t = this._bounds ?? (this._center ?
|
|
2081
|
-
return u.createElement(
|
|
2104
|
+
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;
|
|
2105
|
+
return u.createElement(fr, {
|
|
2082
2106
|
engine: this._engine,
|
|
2083
2107
|
markers: this._markers,
|
|
2084
2108
|
bounds: t,
|
|
2085
2109
|
width: this._width,
|
|
2086
2110
|
height: this._height,
|
|
2087
2111
|
basemap: this._basemap,
|
|
2088
|
-
palette: this._theme ?
|
|
2112
|
+
palette: this._theme ? _t(this._theme) : null,
|
|
2089
2113
|
themeSignal: this._themeSignal,
|
|
2090
2114
|
onSelect: this._onSelect,
|
|
2091
2115
|
opened: this._opened,
|
|
@@ -2095,14 +2119,14 @@ class hr extends y {
|
|
|
2095
2119
|
});
|
|
2096
2120
|
}
|
|
2097
2121
|
}
|
|
2098
|
-
const
|
|
2099
|
-
function
|
|
2122
|
+
const gn = _(mr);
|
|
2123
|
+
function pr(e) {
|
|
2100
2124
|
if (e && typeof e == "object" && "id" in e) {
|
|
2101
2125
|
const s = e.id;
|
|
2102
2126
|
if (s != null && s !== "") return String(s);
|
|
2103
2127
|
}
|
|
2104
2128
|
}
|
|
2105
|
-
class
|
|
2129
|
+
class gr extends y {
|
|
2106
2130
|
constructor() {
|
|
2107
2131
|
super(...arguments);
|
|
2108
2132
|
c(this, "_data");
|
|
@@ -2118,7 +2142,7 @@ class dr extends y {
|
|
|
2118
2142
|
return this._onDragStart = t, this;
|
|
2119
2143
|
}
|
|
2120
2144
|
build() {
|
|
2121
|
-
const { className: t, ...r } = this._props, i = ["fibo-draggable", this.getClassName(), t].filter(Boolean).join(" "), n =
|
|
2145
|
+
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
2146
|
return u.createElement(
|
|
2123
2147
|
"div",
|
|
2124
2148
|
{
|
|
@@ -2139,8 +2163,8 @@ class dr extends y {
|
|
|
2139
2163
|
);
|
|
2140
2164
|
}
|
|
2141
2165
|
}
|
|
2142
|
-
const
|
|
2143
|
-
function
|
|
2166
|
+
const _n = _(gr);
|
|
2167
|
+
function _r(e) {
|
|
2144
2168
|
const s = e.dataTransfer;
|
|
2145
2169
|
if (!s) return;
|
|
2146
2170
|
const t = s.getData("text") || s.getData("text/plain");
|
|
@@ -2151,7 +2175,7 @@ function mr(e) {
|
|
|
2151
2175
|
return t;
|
|
2152
2176
|
}
|
|
2153
2177
|
}
|
|
2154
|
-
class
|
|
2178
|
+
class yr extends y {
|
|
2155
2179
|
constructor() {
|
|
2156
2180
|
super(...arguments);
|
|
2157
2181
|
c(this, "_onAccept");
|
|
@@ -2175,19 +2199,19 @@ class pr extends y {
|
|
|
2175
2199
|
o.preventDefault();
|
|
2176
2200
|
},
|
|
2177
2201
|
onDrop: (o) => {
|
|
2178
|
-
o.preventDefault(), n && n(
|
|
2202
|
+
o.preventDefault(), n && n(_r(o));
|
|
2179
2203
|
}
|
|
2180
2204
|
},
|
|
2181
2205
|
...this._children.map((o) => w(o))
|
|
2182
2206
|
);
|
|
2183
2207
|
}
|
|
2184
2208
|
}
|
|
2185
|
-
const
|
|
2186
|
-
function
|
|
2209
|
+
const yn = _(yr);
|
|
2210
|
+
function br(e) {
|
|
2187
2211
|
const t = e.trim().replace(/[^a-zA-Z0-9_-]+/g, "-").replace(/-+/g, "-").replace(/^-|-$/g, "") || "hero";
|
|
2188
2212
|
return /^[0-9-]/.test(t) ? `h-${t.replace(/^-/, "")}` : t;
|
|
2189
2213
|
}
|
|
2190
|
-
class
|
|
2214
|
+
class Sr extends y {
|
|
2191
2215
|
constructor() {
|
|
2192
2216
|
super(...arguments);
|
|
2193
2217
|
c(this, "_tag", "hero");
|
|
@@ -2203,7 +2227,7 @@ class _r extends y {
|
|
|
2203
2227
|
return this._onFlight = t, this;
|
|
2204
2228
|
}
|
|
2205
2229
|
build() {
|
|
2206
|
-
const t =
|
|
2230
|
+
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
2231
|
...this.getStyle(),
|
|
2208
2232
|
...i ?? {},
|
|
2209
2233
|
viewTransitionName: t
|
|
@@ -2215,33 +2239,33 @@ class _r extends y {
|
|
|
2215
2239
|
className: a,
|
|
2216
2240
|
style: l,
|
|
2217
2241
|
"data-hero": t,
|
|
2218
|
-
onClick: (
|
|
2242
|
+
onClick: (d) => {
|
|
2219
2243
|
if (h) {
|
|
2220
2244
|
let m = !1;
|
|
2221
|
-
const
|
|
2245
|
+
const f = () => {
|
|
2222
2246
|
m || (m = !0, h());
|
|
2223
2247
|
};
|
|
2224
2248
|
try {
|
|
2225
2249
|
const p = typeof document < "u" ? document.startViewTransition : void 0;
|
|
2226
|
-
typeof p == "function" && p.call(document,
|
|
2250
|
+
typeof p == "function" && p.call(document, f);
|
|
2227
2251
|
} catch {
|
|
2228
2252
|
}
|
|
2229
|
-
m ||
|
|
2253
|
+
m || f();
|
|
2230
2254
|
}
|
|
2231
|
-
typeof n == "function" && n(
|
|
2255
|
+
typeof n == "function" && n(d);
|
|
2232
2256
|
}
|
|
2233
2257
|
},
|
|
2234
|
-
...this._children.map((
|
|
2258
|
+
...this._children.map((d) => w(d))
|
|
2235
2259
|
);
|
|
2236
2260
|
}
|
|
2237
2261
|
}
|
|
2238
|
-
const
|
|
2239
|
-
function
|
|
2262
|
+
const bn = _(Sr);
|
|
2263
|
+
function Ft(e, s, t) {
|
|
2240
2264
|
return Math.min(t, Math.max(s, e));
|
|
2241
2265
|
}
|
|
2242
|
-
function
|
|
2243
|
-
const { minScale: s, maxScale: t, className: r, style: i, children: n } = e, [o, a] = R(() =>
|
|
2244
|
-
a((
|
|
2266
|
+
function vr(e) {
|
|
2267
|
+
const { minScale: s, maxScale: t, className: r, style: i, children: n } = e, [o, a] = R(() => Ft(1, s, t)), l = (h) => {
|
|
2268
|
+
a((d) => Ft(d + h, s, t));
|
|
2245
2269
|
};
|
|
2246
2270
|
return u.createElement(
|
|
2247
2271
|
"div",
|
|
@@ -2276,7 +2300,7 @@ function yr(e) {
|
|
|
2276
2300
|
)
|
|
2277
2301
|
);
|
|
2278
2302
|
}
|
|
2279
|
-
class
|
|
2303
|
+
class Cr extends y {
|
|
2280
2304
|
constructor() {
|
|
2281
2305
|
super(...arguments);
|
|
2282
2306
|
c(this, "_minScale", 1);
|
|
@@ -2293,7 +2317,7 @@ class br extends y {
|
|
|
2293
2317
|
}
|
|
2294
2318
|
build() {
|
|
2295
2319
|
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(
|
|
2320
|
+
return u.createElement(vr, {
|
|
2297
2321
|
...r,
|
|
2298
2322
|
className: i,
|
|
2299
2323
|
style: this.getStyle(),
|
|
@@ -2303,9 +2327,9 @@ class br extends y {
|
|
|
2303
2327
|
});
|
|
2304
2328
|
}
|
|
2305
2329
|
}
|
|
2306
|
-
const
|
|
2330
|
+
const Sn = _(Cr), kr = u.memo(function(s) {
|
|
2307
2331
|
const t = N(null), [r, i] = R([]);
|
|
2308
|
-
|
|
2332
|
+
X(() => () => {
|
|
2309
2333
|
for (const o of r)
|
|
2310
2334
|
typeof URL.revokeObjectURL == "function" && URL.revokeObjectURL(o.url);
|
|
2311
2335
|
}, [r]);
|
|
@@ -2313,9 +2337,9 @@ const pn = _(br), Sr = u.memo(function(s) {
|
|
|
2313
2337
|
var l;
|
|
2314
2338
|
const a = Array.from(o ?? []).filter((h) => h.type.startsWith("image/")).slice(0, s.limit);
|
|
2315
2339
|
i((h) => {
|
|
2316
|
-
for (const
|
|
2317
|
-
typeof URL.revokeObjectURL == "function" && URL.revokeObjectURL(
|
|
2318
|
-
return a.map((
|
|
2340
|
+
for (const d of h)
|
|
2341
|
+
typeof URL.revokeObjectURL == "function" && URL.revokeObjectURL(d.url);
|
|
2342
|
+
return a.map((d) => ({ url: URL.createObjectURL(d), name: d.name }));
|
|
2319
2343
|
}), (l = s.onChange) == null || l.call(s, a);
|
|
2320
2344
|
}
|
|
2321
2345
|
return u.createElement(
|
|
@@ -2376,7 +2400,7 @@ const pn = _(br), Sr = u.memo(function(s) {
|
|
|
2376
2400
|
) : null
|
|
2377
2401
|
);
|
|
2378
2402
|
});
|
|
2379
|
-
class
|
|
2403
|
+
class wr extends y {
|
|
2380
2404
|
constructor() {
|
|
2381
2405
|
super(...arguments);
|
|
2382
2406
|
c(this, "_label", "Choose photos");
|
|
@@ -2398,7 +2422,7 @@ class vr extends y {
|
|
|
2398
2422
|
}
|
|
2399
2423
|
build() {
|
|
2400
2424
|
const { className: t, style: r, ...i } = this._props;
|
|
2401
|
-
return u.createElement(
|
|
2425
|
+
return u.createElement(kr, {
|
|
2402
2426
|
label: this._label,
|
|
2403
2427
|
multiple: this._multiple,
|
|
2404
2428
|
limit: this._limit,
|
|
@@ -2409,7 +2433,7 @@ class vr extends y {
|
|
|
2409
2433
|
});
|
|
2410
2434
|
}
|
|
2411
2435
|
}
|
|
2412
|
-
const
|
|
2436
|
+
const vn = _(wr), Er = u.memo(function(s) {
|
|
2413
2437
|
const t = N(null);
|
|
2414
2438
|
function r(i) {
|
|
2415
2439
|
var n;
|
|
@@ -2453,7 +2477,7 @@ const gn = _(vr), kr = u.memo(function(s) {
|
|
|
2453
2477
|
)
|
|
2454
2478
|
);
|
|
2455
2479
|
});
|
|
2456
|
-
class
|
|
2480
|
+
class Nr extends y {
|
|
2457
2481
|
constructor() {
|
|
2458
2482
|
super(...arguments);
|
|
2459
2483
|
c(this, "_label", "Choose files");
|
|
@@ -2475,7 +2499,7 @@ class Cr extends y {
|
|
|
2475
2499
|
}
|
|
2476
2500
|
build() {
|
|
2477
2501
|
const { className: t, style: r, ...i } = this._props;
|
|
2478
|
-
return u.createElement(
|
|
2502
|
+
return u.createElement(Er, {
|
|
2479
2503
|
label: this._label,
|
|
2480
2504
|
accept: this._accept,
|
|
2481
2505
|
multiple: this._multiple,
|
|
@@ -2486,40 +2510,40 @@ class Cr extends y {
|
|
|
2486
2510
|
});
|
|
2487
2511
|
}
|
|
2488
2512
|
}
|
|
2489
|
-
const
|
|
2490
|
-
function
|
|
2513
|
+
const Cn = _(Nr), xr = ["qr_code", "ean_13", "ean_8", "code_128", "code_39", "upc_a", "upc_e"];
|
|
2514
|
+
function Tr() {
|
|
2491
2515
|
const e = globalThis.BarcodeDetector;
|
|
2492
2516
|
return typeof e == "function" ? e : void 0;
|
|
2493
2517
|
}
|
|
2494
|
-
function
|
|
2518
|
+
function It() {
|
|
2495
2519
|
if (typeof navigator > "u") return;
|
|
2496
2520
|
const e = navigator.mediaDevices, s = e == null ? void 0 : e.getUserMedia;
|
|
2497
2521
|
return typeof s == "function" ? s.bind(e) : void 0;
|
|
2498
2522
|
}
|
|
2499
|
-
const
|
|
2523
|
+
const $r = u.memo(function(s) {
|
|
2500
2524
|
const t = N(null), r = N(null), i = N(!1), n = N(s.onScan);
|
|
2501
2525
|
n.current = s.onScan;
|
|
2502
2526
|
const [o, a] = R(null);
|
|
2503
2527
|
function l() {
|
|
2504
2528
|
i.current = !0;
|
|
2505
|
-
const
|
|
2506
|
-
if (r.current = null, !!
|
|
2507
|
-
for (const m of
|
|
2529
|
+
const d = r.current;
|
|
2530
|
+
if (r.current = null, !!d)
|
|
2531
|
+
for (const m of d.getTracks()) m.stop();
|
|
2508
2532
|
}
|
|
2509
|
-
|
|
2533
|
+
X(() => () => l(), []);
|
|
2510
2534
|
async function h() {
|
|
2511
2535
|
var S;
|
|
2512
|
-
const
|
|
2513
|
-
if (!
|
|
2536
|
+
const d = It();
|
|
2537
|
+
if (!d) {
|
|
2514
2538
|
a("Camera unavailable");
|
|
2515
2539
|
return;
|
|
2516
2540
|
}
|
|
2517
2541
|
i.current = !1, a(null);
|
|
2518
2542
|
let m;
|
|
2519
2543
|
try {
|
|
2520
|
-
m = await
|
|
2544
|
+
m = await d({ video: { facingMode: "environment" } });
|
|
2521
2545
|
} catch {
|
|
2522
|
-
|
|
2546
|
+
It() || a("Camera unavailable");
|
|
2523
2547
|
return;
|
|
2524
2548
|
}
|
|
2525
2549
|
if (i.current) {
|
|
@@ -2527,23 +2551,23 @@ const Nr = u.memo(function(s) {
|
|
|
2527
2551
|
return;
|
|
2528
2552
|
}
|
|
2529
2553
|
r.current = m;
|
|
2530
|
-
const
|
|
2531
|
-
if (
|
|
2554
|
+
const f = t.current;
|
|
2555
|
+
if (f)
|
|
2532
2556
|
try {
|
|
2533
|
-
|
|
2534
|
-
const v = (S =
|
|
2557
|
+
f.srcObject = m;
|
|
2558
|
+
const v = (S = f.play) == null ? void 0 : S.call(f);
|
|
2535
2559
|
v && typeof v.catch == "function" && v.catch(() => {
|
|
2536
2560
|
});
|
|
2537
2561
|
} catch {
|
|
2538
2562
|
}
|
|
2539
|
-
if (i.current || !
|
|
2540
|
-
const p =
|
|
2563
|
+
if (i.current || !f) return;
|
|
2564
|
+
const p = Tr();
|
|
2541
2565
|
if (!p) return;
|
|
2542
|
-
const b = new p({ formats:
|
|
2566
|
+
const b = new p({ formats: xr }), g = async () => {
|
|
2543
2567
|
var v, T;
|
|
2544
2568
|
if (!i.current) {
|
|
2545
2569
|
try {
|
|
2546
|
-
const x = (v = (await b.detect(
|
|
2570
|
+
const x = (v = (await b.detect(f)).find((k) => !!k.rawValue)) == null ? void 0 : v.rawValue;
|
|
2547
2571
|
if (x) {
|
|
2548
2572
|
(T = n.current) == null || T.call(n, x), l();
|
|
2549
2573
|
return;
|
|
@@ -2584,7 +2608,7 @@ const Nr = u.memo(function(s) {
|
|
|
2584
2608
|
o ? u.createElement("p", { className: "fibo-code-scanner-status" }, o) : null
|
|
2585
2609
|
);
|
|
2586
2610
|
});
|
|
2587
|
-
class
|
|
2611
|
+
class Br extends y {
|
|
2588
2612
|
constructor() {
|
|
2589
2613
|
super(...arguments);
|
|
2590
2614
|
c(this, "_label", "Scan");
|
|
@@ -2598,7 +2622,7 @@ class xr extends y {
|
|
|
2598
2622
|
}
|
|
2599
2623
|
build() {
|
|
2600
2624
|
const { className: t, style: r, ...i } = this._props;
|
|
2601
|
-
return u.createElement(
|
|
2625
|
+
return u.createElement($r, {
|
|
2602
2626
|
label: this._label,
|
|
2603
2627
|
onScan: this._onScan,
|
|
2604
2628
|
className: [this.getClassName(), t].filter(Boolean).join(" ") || void 0,
|
|
@@ -2607,11 +2631,11 @@ class xr extends y {
|
|
|
2607
2631
|
});
|
|
2608
2632
|
}
|
|
2609
2633
|
}
|
|
2610
|
-
const
|
|
2611
|
-
function
|
|
2634
|
+
const kn = _(Br);
|
|
2635
|
+
function de(e) {
|
|
2612
2636
|
return F(e);
|
|
2613
2637
|
}
|
|
2614
|
-
async function
|
|
2638
|
+
async function Lr(e, s) {
|
|
2615
2639
|
const t = navigator.share;
|
|
2616
2640
|
if (typeof t == "function") {
|
|
2617
2641
|
await t.call(navigator, { url: e, title: s });
|
|
@@ -2619,7 +2643,7 @@ async function Tr(e, s) {
|
|
|
2619
2643
|
}
|
|
2620
2644
|
await navigator.clipboard.writeText(e);
|
|
2621
2645
|
}
|
|
2622
|
-
function
|
|
2646
|
+
function Pr(e) {
|
|
2623
2647
|
return u.createElement(
|
|
2624
2648
|
"button",
|
|
2625
2649
|
{
|
|
@@ -2628,13 +2652,13 @@ function $r(e) {
|
|
|
2628
2652
|
style: e.style,
|
|
2629
2653
|
disabled: e.disabled,
|
|
2630
2654
|
onClick: () => {
|
|
2631
|
-
e.disabled ||
|
|
2655
|
+
e.disabled || de(e.url) || Lr(e.url, e.title);
|
|
2632
2656
|
}
|
|
2633
2657
|
},
|
|
2634
2658
|
e.label
|
|
2635
2659
|
);
|
|
2636
2660
|
}
|
|
2637
|
-
class
|
|
2661
|
+
class Rr extends y {
|
|
2638
2662
|
constructor() {
|
|
2639
2663
|
super(...arguments);
|
|
2640
2664
|
c(this, "_url", "");
|
|
@@ -2652,18 +2676,18 @@ class Br extends y {
|
|
|
2652
2676
|
}
|
|
2653
2677
|
build() {
|
|
2654
2678
|
const { className: t, style: r } = this._props;
|
|
2655
|
-
return u.createElement(
|
|
2679
|
+
return u.createElement(Pr, {
|
|
2656
2680
|
url: this._url,
|
|
2657
2681
|
title: this._title,
|
|
2658
2682
|
label: this._label,
|
|
2659
|
-
disabled:
|
|
2683
|
+
disabled: de(this._url),
|
|
2660
2684
|
className: [this.getClassName(), t].filter(Boolean).join(" ") || void 0,
|
|
2661
2685
|
style: { ...this.getStyle(), ...r }
|
|
2662
2686
|
});
|
|
2663
2687
|
}
|
|
2664
2688
|
}
|
|
2665
|
-
const
|
|
2666
|
-
class
|
|
2689
|
+
const wn = _(Rr);
|
|
2690
|
+
class Ar extends y {
|
|
2667
2691
|
constructor() {
|
|
2668
2692
|
super(...arguments);
|
|
2669
2693
|
c(this, "_header");
|
|
@@ -2690,14 +2714,14 @@ class Lr extends y {
|
|
|
2690
2714
|
);
|
|
2691
2715
|
}
|
|
2692
2716
|
}
|
|
2693
|
-
const
|
|
2694
|
-
function
|
|
2717
|
+
const En = _(Ar), Mr = -48;
|
|
2718
|
+
function Dt(e) {
|
|
2695
2719
|
return Math.min(0, e);
|
|
2696
2720
|
}
|
|
2697
|
-
function
|
|
2721
|
+
function ct(e) {
|
|
2698
2722
|
return typeof e.clientX == "number" && Number.isFinite(e.clientX) ? e.clientX : null;
|
|
2699
2723
|
}
|
|
2700
|
-
function
|
|
2724
|
+
function Fr({
|
|
2701
2725
|
rowChild: e,
|
|
2702
2726
|
actions: s,
|
|
2703
2727
|
className: t,
|
|
@@ -2705,34 +2729,34 @@ function Rr({
|
|
|
2705
2729
|
...i
|
|
2706
2730
|
}) {
|
|
2707
2731
|
const [n, o] = R(0), a = N(null), l = N(null);
|
|
2708
|
-
|
|
2709
|
-
var
|
|
2710
|
-
return (
|
|
2732
|
+
X(() => () => {
|
|
2733
|
+
var d;
|
|
2734
|
+
return (d = l.current) == null ? void 0 : d.call(l);
|
|
2711
2735
|
}, []);
|
|
2712
|
-
const h = (
|
|
2736
|
+
const h = (d) => {
|
|
2713
2737
|
var v, T, $;
|
|
2714
|
-
if ((T = (v =
|
|
2715
|
-
const m =
|
|
2738
|
+
if ((T = (v = d.target).closest) != null && T.call(v, "button") || d.button != null && d.button !== 0) return;
|
|
2739
|
+
const m = ct(d);
|
|
2716
2740
|
if (m == null) return;
|
|
2717
|
-
const
|
|
2718
|
-
a.current =
|
|
2741
|
+
const f = { startX: m, startOffset: n };
|
|
2742
|
+
a.current = f, ($ = l.current) == null || $.call(l);
|
|
2719
2743
|
const p = (x) => {
|
|
2720
|
-
if (a.current !==
|
|
2721
|
-
const
|
|
2722
|
-
|
|
2744
|
+
if (a.current !== f) return;
|
|
2745
|
+
const k = ct(x);
|
|
2746
|
+
k != null && o(Dt(f.startOffset + (k - f.startX)));
|
|
2723
2747
|
}, b = () => {
|
|
2724
2748
|
window.removeEventListener("pointermove", p), window.removeEventListener("pointerup", g), window.removeEventListener("pointercancel", S), l.current === b && (l.current = null);
|
|
2725
2749
|
}, g = (x) => {
|
|
2726
|
-
if (a.current !==
|
|
2727
|
-
const
|
|
2728
|
-
if (b(), a.current = null,
|
|
2750
|
+
if (a.current !== f) return;
|
|
2751
|
+
const k = ct(x);
|
|
2752
|
+
if (b(), a.current = null, k == null) {
|
|
2729
2753
|
o(0);
|
|
2730
2754
|
return;
|
|
2731
2755
|
}
|
|
2732
|
-
const
|
|
2733
|
-
o(
|
|
2756
|
+
const K = Dt(f.startOffset + (k - f.startX));
|
|
2757
|
+
o(K <= Mr ? K : 0);
|
|
2734
2758
|
}, S = () => {
|
|
2735
|
-
a.current ===
|
|
2759
|
+
a.current === f && (b(), a.current = null, o(0));
|
|
2736
2760
|
};
|
|
2737
2761
|
l.current = b, window.addEventListener("pointermove", p), window.addEventListener("pointerup", g), window.addEventListener("pointercancel", S);
|
|
2738
2762
|
};
|
|
@@ -2748,14 +2772,14 @@ function Rr({
|
|
|
2748
2772
|
"div",
|
|
2749
2773
|
{ key: "actions", className: "fibo-swipe-row-actions" },
|
|
2750
2774
|
s.map(
|
|
2751
|
-
(
|
|
2775
|
+
(d, m) => u.createElement(
|
|
2752
2776
|
"button",
|
|
2753
2777
|
{
|
|
2754
|
-
key: `${
|
|
2778
|
+
key: `${d.label}-${m}`,
|
|
2755
2779
|
type: "button",
|
|
2756
|
-
onClick: () =>
|
|
2780
|
+
onClick: () => d.onPress()
|
|
2757
2781
|
},
|
|
2758
|
-
|
|
2782
|
+
d.label
|
|
2759
2783
|
)
|
|
2760
2784
|
)
|
|
2761
2785
|
),
|
|
@@ -2770,7 +2794,7 @@ function Rr({
|
|
|
2770
2794
|
)
|
|
2771
2795
|
);
|
|
2772
2796
|
}
|
|
2773
|
-
class
|
|
2797
|
+
class Ir extends y {
|
|
2774
2798
|
constructor() {
|
|
2775
2799
|
super(...arguments);
|
|
2776
2800
|
c(this, "_child", null);
|
|
@@ -2784,7 +2808,7 @@ class Ar extends y {
|
|
|
2784
2808
|
}
|
|
2785
2809
|
build() {
|
|
2786
2810
|
const { className: t, children: r, ...i } = this._props, n = ["fibo-swipe-row", this.getClassName(), t].filter(Boolean).join(" ");
|
|
2787
|
-
return u.createElement(
|
|
2811
|
+
return u.createElement(Fr, {
|
|
2788
2812
|
...i,
|
|
2789
2813
|
role: "group",
|
|
2790
2814
|
className: n,
|
|
@@ -2794,8 +2818,8 @@ class Ar extends y {
|
|
|
2794
2818
|
});
|
|
2795
2819
|
}
|
|
2796
2820
|
}
|
|
2797
|
-
const
|
|
2798
|
-
function
|
|
2821
|
+
const Nn = _(Ir), Ot = 48;
|
|
2822
|
+
function Dr({
|
|
2799
2823
|
className: e,
|
|
2800
2824
|
style: s,
|
|
2801
2825
|
refreshing: t,
|
|
@@ -2803,24 +2827,24 @@ function Mr({
|
|
|
2803
2827
|
child: i,
|
|
2804
2828
|
domProps: n
|
|
2805
2829
|
}) {
|
|
2806
|
-
const [o, a] = u.useState("Pull"), l = u.useRef(null), h = (
|
|
2807
|
-
if (
|
|
2830
|
+
const [o, a] = u.useState("Pull"), l = u.useRef(null), h = (f) => {
|
|
2831
|
+
if (f.currentTarget.scrollTop !== 0) {
|
|
2808
2832
|
l.current = null;
|
|
2809
2833
|
return;
|
|
2810
2834
|
}
|
|
2811
|
-
l.current =
|
|
2812
|
-
},
|
|
2835
|
+
l.current = f.clientY, a("Pull");
|
|
2836
|
+
}, d = (f) => {
|
|
2813
2837
|
if (l.current != null) {
|
|
2814
|
-
if (
|
|
2838
|
+
if (f.currentTarget.scrollTop !== 0) {
|
|
2815
2839
|
l.current = null, a("Pull");
|
|
2816
2840
|
return;
|
|
2817
2841
|
}
|
|
2818
|
-
a(
|
|
2842
|
+
a(f.clientY - l.current > Ot ? "Release" : "Pull");
|
|
2819
2843
|
}
|
|
2820
|
-
}, m = (
|
|
2844
|
+
}, m = (f) => {
|
|
2821
2845
|
if (l.current == null) return;
|
|
2822
|
-
const p =
|
|
2823
|
-
l.current = null, a("Pull"), b && p >
|
|
2846
|
+
const p = f.clientY - l.current, b = f.currentTarget.scrollTop === 0;
|
|
2847
|
+
l.current = null, a("Pull"), b && p > Ot && (r == null || r());
|
|
2824
2848
|
};
|
|
2825
2849
|
return u.createElement(
|
|
2826
2850
|
"div",
|
|
@@ -2830,7 +2854,7 @@ function Mr({
|
|
|
2830
2854
|
style: s,
|
|
2831
2855
|
"aria-busy": t ? !0 : void 0,
|
|
2832
2856
|
onPointerDown: h,
|
|
2833
|
-
onPointerMove:
|
|
2857
|
+
onPointerMove: d,
|
|
2834
2858
|
onPointerUp: m,
|
|
2835
2859
|
onPointerCancel: () => {
|
|
2836
2860
|
l.current = null, a("Pull");
|
|
@@ -2849,7 +2873,7 @@ function Mr({
|
|
|
2849
2873
|
u.createElement("div", { key: "child" }, i)
|
|
2850
2874
|
);
|
|
2851
2875
|
}
|
|
2852
|
-
class
|
|
2876
|
+
class Or extends y {
|
|
2853
2877
|
constructor() {
|
|
2854
2878
|
super(...arguments);
|
|
2855
2879
|
c(this, "_refreshing", !1);
|
|
@@ -2867,7 +2891,7 @@ class Fr extends y {
|
|
|
2867
2891
|
}
|
|
2868
2892
|
build() {
|
|
2869
2893
|
const { className: t, children: r, ...i } = this._props, n = ["fibo-refresh", this.getClassName(), t].filter(Boolean).join(" ");
|
|
2870
|
-
return u.createElement(
|
|
2894
|
+
return u.createElement(Dr, {
|
|
2871
2895
|
className: n,
|
|
2872
2896
|
style: this.getStyle(),
|
|
2873
2897
|
refreshing: this._refreshing,
|
|
@@ -2877,19 +2901,19 @@ class Fr extends y {
|
|
|
2877
2901
|
});
|
|
2878
2902
|
}
|
|
2879
2903
|
}
|
|
2880
|
-
const
|
|
2881
|
-
function
|
|
2904
|
+
const xn = _(Or);
|
|
2905
|
+
function jr(e, s, t) {
|
|
2882
2906
|
const r = s + t;
|
|
2883
2907
|
if (r < 0 || r >= e.length) return null;
|
|
2884
2908
|
const i = e.slice(), [n] = i.splice(s, 1);
|
|
2885
2909
|
return i.splice(r, 0, n), i;
|
|
2886
2910
|
}
|
|
2887
|
-
function
|
|
2911
|
+
function Hr(e, s, t) {
|
|
2888
2912
|
if (s === t || s < 0 || t < 0 || s >= e.length || t >= e.length) return null;
|
|
2889
2913
|
const r = e.slice(), [i] = r.splice(s, 1);
|
|
2890
2914
|
return r.splice(t, 0, i), r;
|
|
2891
2915
|
}
|
|
2892
|
-
class
|
|
2916
|
+
class Wr extends y {
|
|
2893
2917
|
constructor() {
|
|
2894
2918
|
super(...arguments);
|
|
2895
2919
|
c(this, "_items", []);
|
|
@@ -2904,22 +2928,22 @@ class Or extends y {
|
|
|
2904
2928
|
build() {
|
|
2905
2929
|
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
2930
|
let l = null;
|
|
2907
|
-
const h = (m,
|
|
2908
|
-
const p =
|
|
2931
|
+
const h = (m, f) => {
|
|
2932
|
+
const p = jr(o, m, f);
|
|
2909
2933
|
p && a && a(p);
|
|
2910
|
-
},
|
|
2934
|
+
}, d = (m, f) => {
|
|
2911
2935
|
var S;
|
|
2912
|
-
|
|
2913
|
-
const p = (S =
|
|
2936
|
+
f.preventDefault();
|
|
2937
|
+
const p = (S = f.dataTransfer) == null ? void 0 : S.getData("text/plain"), b = l ?? (p === "" || p == null ? NaN : Number(p));
|
|
2914
2938
|
l = null;
|
|
2915
|
-
const g =
|
|
2939
|
+
const g = Hr(o, b, m);
|
|
2916
2940
|
g && a && a(g);
|
|
2917
2941
|
};
|
|
2918
2942
|
return u.createElement(
|
|
2919
2943
|
"div",
|
|
2920
2944
|
{ ...i, role: "list", className: n, style: this.getStyle() },
|
|
2921
2945
|
this._items.map(
|
|
2922
|
-
(m,
|
|
2946
|
+
(m, f) => u.createElement(
|
|
2923
2947
|
"div",
|
|
2924
2948
|
{
|
|
2925
2949
|
key: m.id,
|
|
@@ -2927,12 +2951,12 @@ class Or extends y {
|
|
|
2927
2951
|
className: "fibo-reorderable-row",
|
|
2928
2952
|
draggable: !0,
|
|
2929
2953
|
onDragStart: (p) => {
|
|
2930
|
-
l =
|
|
2954
|
+
l = f, p.dataTransfer && (p.dataTransfer.effectAllowed = "move", p.dataTransfer.setData("text/plain", String(f)));
|
|
2931
2955
|
},
|
|
2932
2956
|
onDragOver: (p) => {
|
|
2933
2957
|
p.preventDefault(), p.dataTransfer && (p.dataTransfer.dropEffect = "move");
|
|
2934
2958
|
},
|
|
2935
|
-
onDrop: (p) => f
|
|
2959
|
+
onDrop: (p) => d(f, p),
|
|
2936
2960
|
onDragEnd: () => {
|
|
2937
2961
|
l = null;
|
|
2938
2962
|
}
|
|
@@ -2940,12 +2964,12 @@ class Or extends y {
|
|
|
2940
2964
|
u.createElement("span", { key: "label" }, m.label),
|
|
2941
2965
|
u.createElement(
|
|
2942
2966
|
"button",
|
|
2943
|
-
{ key: "up", type: "button", onClick: () => h(
|
|
2967
|
+
{ key: "up", type: "button", onClick: () => h(f, -1) },
|
|
2944
2968
|
"Move up"
|
|
2945
2969
|
),
|
|
2946
2970
|
u.createElement(
|
|
2947
2971
|
"button",
|
|
2948
|
-
{ key: "down", type: "button", onClick: () => h(
|
|
2972
|
+
{ key: "down", type: "button", onClick: () => h(f, 1) },
|
|
2949
2973
|
"Move down"
|
|
2950
2974
|
)
|
|
2951
2975
|
)
|
|
@@ -2953,21 +2977,21 @@ class Or extends y {
|
|
|
2953
2977
|
);
|
|
2954
2978
|
}
|
|
2955
2979
|
}
|
|
2956
|
-
const
|
|
2957
|
-
function
|
|
2980
|
+
const Tn = _(Wr), Vr = 80;
|
|
2981
|
+
function Gr({
|
|
2958
2982
|
child: e,
|
|
2959
2983
|
onDismiss: s,
|
|
2960
2984
|
className: t,
|
|
2961
2985
|
style: r,
|
|
2962
2986
|
domProps: i
|
|
2963
2987
|
}) {
|
|
2964
|
-
const [n, o] = R(0), [a, l] = R(!1), h = N(null),
|
|
2988
|
+
const [n, o] = R(0), [a, l] = R(!1), h = N(null), d = N(!1);
|
|
2965
2989
|
if (a) return null;
|
|
2966
|
-
const m = (
|
|
2990
|
+
const m = (f) => {
|
|
2967
2991
|
if (h.current == null) return;
|
|
2968
|
-
const p =
|
|
2969
|
-
if (h.current = null, Math.abs(p) >
|
|
2970
|
-
|
|
2992
|
+
const p = f - h.current;
|
|
2993
|
+
if (h.current = null, Math.abs(p) > Vr) {
|
|
2994
|
+
d.current || (d.current = !0, s == null || s()), l(!0);
|
|
2971
2995
|
return;
|
|
2972
2996
|
}
|
|
2973
2997
|
o(0);
|
|
@@ -2978,20 +3002,20 @@ function Hr({
|
|
|
2978
3002
|
...i,
|
|
2979
3003
|
className: t,
|
|
2980
3004
|
style: { ...r, transform: `translateX(${n}px)`, touchAction: "pan-y" },
|
|
2981
|
-
onPointerDown: (
|
|
2982
|
-
if (!(
|
|
2983
|
-
h.current =
|
|
3005
|
+
onPointerDown: (f) => {
|
|
3006
|
+
if (!(f.button != null && f.button !== 0)) {
|
|
3007
|
+
h.current = f.clientX;
|
|
2984
3008
|
try {
|
|
2985
|
-
|
|
3009
|
+
f.currentTarget.setPointerCapture(f.pointerId);
|
|
2986
3010
|
} catch {
|
|
2987
3011
|
}
|
|
2988
3012
|
}
|
|
2989
3013
|
},
|
|
2990
|
-
onPointerMove: (
|
|
2991
|
-
h.current != null && o(
|
|
3014
|
+
onPointerMove: (f) => {
|
|
3015
|
+
h.current != null && o(f.clientX - h.current);
|
|
2992
3016
|
},
|
|
2993
|
-
onPointerUp: (
|
|
2994
|
-
m(
|
|
3017
|
+
onPointerUp: (f) => {
|
|
3018
|
+
m(f.clientX);
|
|
2995
3019
|
},
|
|
2996
3020
|
onPointerCancel: () => {
|
|
2997
3021
|
h.current = null, o(0);
|
|
@@ -3004,14 +3028,14 @@ function Hr({
|
|
|
3004
3028
|
key: "dismiss",
|
|
3005
3029
|
type: "button",
|
|
3006
3030
|
onClick: () => {
|
|
3007
|
-
|
|
3031
|
+
d.current || (d.current = !0, s == null || s());
|
|
3008
3032
|
}
|
|
3009
3033
|
},
|
|
3010
3034
|
"Dismiss"
|
|
3011
3035
|
)
|
|
3012
3036
|
);
|
|
3013
3037
|
}
|
|
3014
|
-
class
|
|
3038
|
+
class zr extends y {
|
|
3015
3039
|
constructor() {
|
|
3016
3040
|
super(...arguments);
|
|
3017
3041
|
c(this, "_child", null);
|
|
@@ -3025,7 +3049,7 @@ class Wr extends y {
|
|
|
3025
3049
|
}
|
|
3026
3050
|
build() {
|
|
3027
3051
|
const { className: t, children: r, ...i } = this._props, n = ["fibo-dismissible", this.getClassName(), t].filter(Boolean).join(" ");
|
|
3028
|
-
return u.createElement(
|
|
3052
|
+
return u.createElement(Gr, {
|
|
3029
3053
|
child: w(this._child),
|
|
3030
3054
|
onDismiss: this._onDismiss,
|
|
3031
3055
|
className: n,
|
|
@@ -3034,11 +3058,11 @@ class Wr extends y {
|
|
|
3034
3058
|
});
|
|
3035
3059
|
}
|
|
3036
3060
|
}
|
|
3037
|
-
const
|
|
3038
|
-
function
|
|
3061
|
+
const $n = _(zr);
|
|
3062
|
+
function Ur(e) {
|
|
3039
3063
|
return `repeat(${e}, minmax(0, 1fr))`;
|
|
3040
3064
|
}
|
|
3041
|
-
class
|
|
3065
|
+
class Xr extends y {
|
|
3042
3066
|
constructor() {
|
|
3043
3067
|
super(...arguments);
|
|
3044
3068
|
c(this, "_direction", "vertical");
|
|
@@ -3056,7 +3080,7 @@ class zr extends y {
|
|
|
3056
3080
|
return this._spacing = t, this;
|
|
3057
3081
|
}
|
|
3058
3082
|
build() {
|
|
3059
|
-
const { className: t, children: r, style: i, ...n } = this._props, o =
|
|
3083
|
+
const { className: t, children: r, style: i, ...n } = this._props, o = Ur(this._columns), a = `${this._spacing}px`, l = this._direction === "horizontal" ? {
|
|
3060
3084
|
gridAutoFlow: "column",
|
|
3061
3085
|
gridTemplateRows: o,
|
|
3062
3086
|
overflowX: "auto"
|
|
@@ -3081,11 +3105,11 @@ class zr extends y {
|
|
|
3081
3105
|
);
|
|
3082
3106
|
}
|
|
3083
3107
|
}
|
|
3084
|
-
const
|
|
3085
|
-
function
|
|
3108
|
+
const Bn = _(Xr);
|
|
3109
|
+
function jt(e, s) {
|
|
3086
3110
|
return typeof e == "number" && Number.isFinite(e) ? e : s;
|
|
3087
3111
|
}
|
|
3088
|
-
const
|
|
3112
|
+
const Kr = u.memo((e) => {
|
|
3089
3113
|
const {
|
|
3090
3114
|
width: s,
|
|
3091
3115
|
height: t,
|
|
@@ -3095,23 +3119,23 @@ const Gr = u.memo((e) => {
|
|
|
3095
3119
|
style: o,
|
|
3096
3120
|
dangerouslySetInnerHTML: a,
|
|
3097
3121
|
...l
|
|
3098
|
-
} = e, { key: h, ...
|
|
3122
|
+
} = 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
3123
|
return u.createElement(
|
|
3100
3124
|
"svg",
|
|
3101
3125
|
{
|
|
3102
3126
|
width: m,
|
|
3103
|
-
height:
|
|
3127
|
+
height: f,
|
|
3104
3128
|
viewBox: p,
|
|
3105
3129
|
className: `fibo-canvas ${n || ""}`.trim(),
|
|
3106
3130
|
style: o,
|
|
3107
3131
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3108
3132
|
overflow: "visible",
|
|
3109
|
-
...
|
|
3133
|
+
...d
|
|
3110
3134
|
},
|
|
3111
3135
|
...Array.isArray(i) ? i : i != null ? [i] : []
|
|
3112
3136
|
);
|
|
3113
3137
|
});
|
|
3114
|
-
class
|
|
3138
|
+
class Yr extends y {
|
|
3115
3139
|
constructor() {
|
|
3116
3140
|
super(...arguments);
|
|
3117
3141
|
c(this, "_width", 100);
|
|
@@ -3150,10 +3174,10 @@ class Xr extends y {
|
|
|
3150
3174
|
overflow: this._overflow ?? "visible",
|
|
3151
3175
|
...n
|
|
3152
3176
|
};
|
|
3153
|
-
return u.createElement(
|
|
3177
|
+
return u.createElement(Kr, o);
|
|
3154
3178
|
}
|
|
3155
3179
|
}
|
|
3156
|
-
const
|
|
3180
|
+
const qr = _(Yr), Zr = /* @__PURE__ */ new Set([
|
|
3157
3181
|
"$$typeof",
|
|
3158
3182
|
"type",
|
|
3159
3183
|
"props",
|
|
@@ -3164,7 +3188,7 @@ const Ur = _(Xr), Yr = /* @__PURE__ */ new Set([
|
|
|
3164
3188
|
"_self",
|
|
3165
3189
|
"_source"
|
|
3166
3190
|
]);
|
|
3167
|
-
class
|
|
3191
|
+
class bt {
|
|
3168
3192
|
constructor() {
|
|
3169
3193
|
c(this, "_className");
|
|
3170
3194
|
c(this, "_style");
|
|
@@ -3189,7 +3213,7 @@ class yt {
|
|
|
3189
3213
|
return this._className = s, this;
|
|
3190
3214
|
}
|
|
3191
3215
|
style(s) {
|
|
3192
|
-
if (this._style =
|
|
3216
|
+
if (this._style = Qr(this._style, s), s && typeof s == "object") {
|
|
3193
3217
|
const t = Object.keys(s).map((r) => r.includes("-") ? ft(r) : r);
|
|
3194
3218
|
this.lastWritePresentation(t);
|
|
3195
3219
|
}
|
|
@@ -3199,9 +3223,9 @@ class yt {
|
|
|
3199
3223
|
css(s, t) {
|
|
3200
3224
|
if (s !== null && typeof s == "object")
|
|
3201
3225
|
return this.style(s);
|
|
3202
|
-
const r = String(s), i = r.includes("-") ? ft(r) : r, n =
|
|
3226
|
+
const r = String(s), i = r.includes("-") ? ft(r) : r, n = Zt(i) ?? [i], o = { ...this._style };
|
|
3203
3227
|
for (const a of n)
|
|
3204
|
-
o[a] =
|
|
3228
|
+
o[a] = me(a, t);
|
|
3205
3229
|
return this._style = o, this.lastWritePresentation(n), this;
|
|
3206
3230
|
}
|
|
3207
3231
|
/** CSS `transform`/`filter` win over the SVG presentation attribute (same last-write as rotateX). */
|
|
@@ -3218,7 +3242,7 @@ class yt {
|
|
|
3218
3242
|
fill(s) {
|
|
3219
3243
|
if (typeof s == "string")
|
|
3220
3244
|
return this._fill = s, this;
|
|
3221
|
-
const t =
|
|
3245
|
+
const t = ei(s);
|
|
3222
3246
|
return t ? (this._fill = t.fill, t.def != null && this._paintDefs.push(t.def), this) : this;
|
|
3223
3247
|
}
|
|
3224
3248
|
fillColor(s) {
|
|
@@ -3339,7 +3363,7 @@ class yt {
|
|
|
3339
3363
|
return this.setCssTransform(`perspective(${s}px)`);
|
|
3340
3364
|
}
|
|
3341
3365
|
filter(s) {
|
|
3342
|
-
return this._filter = typeof s == "string" ?
|
|
3366
|
+
return this._filter = typeof s == "string" ? pe(s) : s, this.clearStyleProp("filter");
|
|
3343
3367
|
}
|
|
3344
3368
|
/** SVG 1.1 transform list. Clears a prior CSS 3D `style.transform`. */
|
|
3345
3369
|
setSvgTransform(s) {
|
|
@@ -3363,10 +3387,10 @@ class yt {
|
|
|
3363
3387
|
return this.applyDropShadow(s, t, r, i);
|
|
3364
3388
|
}
|
|
3365
3389
|
applyDropShadow(s, t, r, i) {
|
|
3366
|
-
return
|
|
3390
|
+
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
3391
|
}
|
|
3368
3392
|
glow(s, t = 10) {
|
|
3369
|
-
return this._filter = `drop-shadow(0 0 ${t}px ${
|
|
3393
|
+
return this._filter = `drop-shadow(0 0 ${t}px ${fe(s)})`, this.clearStyleProp("filter");
|
|
3370
3394
|
}
|
|
3371
3395
|
brightness(s) {
|
|
3372
3396
|
return this._filter = `brightness(${s})`, this.clearStyleProp("filter");
|
|
@@ -3440,18 +3464,18 @@ class yt {
|
|
|
3440
3464
|
throw new Error("build() must be implemented by subclass");
|
|
3441
3465
|
}
|
|
3442
3466
|
}
|
|
3443
|
-
function
|
|
3467
|
+
function Qr(e, s) {
|
|
3444
3468
|
const t = { ...e };
|
|
3445
3469
|
if (!s || typeof s != "object") return t;
|
|
3446
3470
|
for (const [r, i] of Object.entries(s)) {
|
|
3447
3471
|
if (i == null) continue;
|
|
3448
|
-
const n = r.includes("-") ? ft(r) : r, o =
|
|
3472
|
+
const n = r.includes("-") ? ft(r) : r, o = Zt(n);
|
|
3449
3473
|
if (o) {
|
|
3450
|
-
const l =
|
|
3474
|
+
const l = Qt(o[0], i);
|
|
3451
3475
|
for (const h of o) t[h] = l;
|
|
3452
3476
|
continue;
|
|
3453
3477
|
}
|
|
3454
|
-
const a =
|
|
3478
|
+
const a = me(n, i);
|
|
3455
3479
|
if (a === "none" || n === "filter" || n === "backdropFilter") {
|
|
3456
3480
|
t[n] = a;
|
|
3457
3481
|
continue;
|
|
@@ -3460,26 +3484,26 @@ function Kr(e, s) {
|
|
|
3460
3484
|
}
|
|
3461
3485
|
return t;
|
|
3462
3486
|
}
|
|
3463
|
-
function
|
|
3487
|
+
function fe(e) {
|
|
3464
3488
|
return typeof e != "string" ? "" : e.replace(/\binset\b/gi, " ").replace(/\s+/g, " ").trim();
|
|
3465
3489
|
}
|
|
3466
|
-
function
|
|
3490
|
+
function Jr(e, s, t, r) {
|
|
3467
3491
|
return s !== void 0 || t !== void 0 || r !== void 0 ? !1 : e === 0 || e === "0" || e === "none" || e == null || e === !1;
|
|
3468
3492
|
}
|
|
3469
|
-
function
|
|
3470
|
-
const t =
|
|
3471
|
-
return e === "filter" || e === "backdropFilter" ?
|
|
3493
|
+
function me(e, s) {
|
|
3494
|
+
const t = Qt(e, s);
|
|
3495
|
+
return e === "filter" || e === "backdropFilter" ? pe(t) : t;
|
|
3472
3496
|
}
|
|
3473
|
-
function
|
|
3497
|
+
function pe(e) {
|
|
3474
3498
|
return /drop-shadow\s*\(/i.test(e) ? e.replace(/\binset\b/gi, (s, t, r) => {
|
|
3475
3499
|
const i = r.slice(0, t);
|
|
3476
3500
|
return /url\s*\([^)]*$/i.test(i) ? s : " ";
|
|
3477
3501
|
}).replace(/[ \t]{2,}/g, " ").replace(/\(\s+/g, "(").replace(/\s+\)/g, ")").trim() : e;
|
|
3478
3502
|
}
|
|
3479
|
-
function
|
|
3480
|
-
return `drop-shadow(${e}px ${s}px ${t}px ${
|
|
3503
|
+
function ti(e, s, t, r) {
|
|
3504
|
+
return `drop-shadow(${e}px ${s}px ${t}px ${fe(r)})`;
|
|
3481
3505
|
}
|
|
3482
|
-
function
|
|
3506
|
+
function ei(e) {
|
|
3483
3507
|
var i;
|
|
3484
3508
|
if (!e || typeof e != "object") return;
|
|
3485
3509
|
const s = e;
|
|
@@ -3489,14 +3513,14 @@ function Qr(e) {
|
|
|
3489
3513
|
typeof n == "string" && n && (t = n);
|
|
3490
3514
|
}
|
|
3491
3515
|
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 =
|
|
3516
|
+
let r = Ht(s.element);
|
|
3517
|
+
return r == null && typeof s.build == "function" && (r = Ht(s.build())), { fill: `url(#${t})`, def: r };
|
|
3494
3518
|
}
|
|
3495
|
-
function
|
|
3519
|
+
function Ht(e) {
|
|
3496
3520
|
if (!(e == null || typeof e == "function" || typeof e == "boolean") && u.isValidElement(e))
|
|
3497
3521
|
return e;
|
|
3498
3522
|
}
|
|
3499
|
-
function
|
|
3523
|
+
function St(e) {
|
|
3500
3524
|
return () => {
|
|
3501
3525
|
const s = new e(), t = () => s.build(), r = e.name.replace(/Builder$/, "") || "Shape", i = function() {
|
|
3502
3526
|
return t();
|
|
@@ -3515,16 +3539,16 @@ function bt(e) {
|
|
|
3515
3539
|
}), s.props = n.props ?? {}, s.ref = n.ref ?? null, s._store = { validated: 1 };
|
|
3516
3540
|
const o = new Proxy(s, {
|
|
3517
3541
|
get(a, l, h) {
|
|
3518
|
-
if (typeof l != "string" || l === "constructor" || l === "then" ||
|
|
3542
|
+
if (typeof l != "string" || l === "constructor" || l === "then" || Zr.has(l))
|
|
3519
3543
|
return Reflect.get(a, l, h);
|
|
3520
3544
|
if (l in a) {
|
|
3521
|
-
const
|
|
3522
|
-
return typeof
|
|
3523
|
-
const
|
|
3524
|
-
return
|
|
3545
|
+
const d = Reflect.get(a, l, h);
|
|
3546
|
+
return typeof d != "function" ? d : (...m) => {
|
|
3547
|
+
const f = d.apply(a, m);
|
|
3548
|
+
return f === a ? o : f;
|
|
3525
3549
|
};
|
|
3526
3550
|
}
|
|
3527
|
-
return (
|
|
3551
|
+
return (d) => (a.css(l, d), o);
|
|
3528
3552
|
}
|
|
3529
3553
|
});
|
|
3530
3554
|
return o;
|
|
@@ -3533,7 +3557,7 @@ function bt(e) {
|
|
|
3533
3557
|
function E(e) {
|
|
3534
3558
|
return typeof e == "number" && Number.isFinite(e);
|
|
3535
3559
|
}
|
|
3536
|
-
class
|
|
3560
|
+
class si extends bt {
|
|
3537
3561
|
constructor() {
|
|
3538
3562
|
super(...arguments);
|
|
3539
3563
|
c(this, "_cx", 0);
|
|
@@ -3606,11 +3630,11 @@ class Jr extends yt {
|
|
|
3606
3630
|
return this.wrapShape(t, "circle-group");
|
|
3607
3631
|
}
|
|
3608
3632
|
}
|
|
3609
|
-
const A =
|
|
3610
|
-
function
|
|
3633
|
+
const A = St(si);
|
|
3634
|
+
function C(e) {
|
|
3611
3635
|
return typeof e == "number" && Number.isFinite(e);
|
|
3612
3636
|
}
|
|
3613
|
-
class
|
|
3637
|
+
class ri extends bt {
|
|
3614
3638
|
constructor() {
|
|
3615
3639
|
super(...arguments);
|
|
3616
3640
|
c(this, "_x", 0);
|
|
@@ -3625,13 +3649,13 @@ class ti extends yt {
|
|
|
3625
3649
|
c(this, "_radiusBottomRight");
|
|
3626
3650
|
}
|
|
3627
3651
|
position(t, r) {
|
|
3628
|
-
return !
|
|
3652
|
+
return !C(t) || !C(r) ? this : (this._x = t, this._y = r, this);
|
|
3629
3653
|
}
|
|
3630
3654
|
x(t) {
|
|
3631
|
-
return
|
|
3655
|
+
return C(t) ? (this._x = t, this) : this;
|
|
3632
3656
|
}
|
|
3633
3657
|
y(t) {
|
|
3634
|
-
return
|
|
3658
|
+
return C(t) ? (this._y = t, this) : this;
|
|
3635
3659
|
}
|
|
3636
3660
|
left(t) {
|
|
3637
3661
|
return this.x(t);
|
|
@@ -3640,73 +3664,73 @@ class ti extends yt {
|
|
|
3640
3664
|
return this.y(t);
|
|
3641
3665
|
}
|
|
3642
3666
|
right(t) {
|
|
3643
|
-
return
|
|
3667
|
+
return C(t) ? (this._x = t - this._width, this) : this;
|
|
3644
3668
|
}
|
|
3645
3669
|
bottom(t) {
|
|
3646
|
-
return
|
|
3670
|
+
return C(t) ? (this._y = t - this._height, this) : this;
|
|
3647
3671
|
}
|
|
3648
3672
|
centerX(t) {
|
|
3649
|
-
return
|
|
3673
|
+
return C(t) ? (this._x = t - this._width / 2, this) : this;
|
|
3650
3674
|
}
|
|
3651
3675
|
centerY(t) {
|
|
3652
|
-
return
|
|
3676
|
+
return C(t) ? (this._y = t - this._height / 2, this) : this;
|
|
3653
3677
|
}
|
|
3654
3678
|
center(t, r) {
|
|
3655
|
-
return !
|
|
3679
|
+
return !C(t) || !C(r) ? this : (this._x = t - this._width / 2, this._y = r - this._height / 2, this);
|
|
3656
3680
|
}
|
|
3657
3681
|
size(t, r) {
|
|
3658
|
-
return !
|
|
3682
|
+
return !C(t) || !C(r) ? this : (this._width = t, this._height = r, this);
|
|
3659
3683
|
}
|
|
3660
3684
|
width(t) {
|
|
3661
|
-
return
|
|
3685
|
+
return C(t) ? (this._width = t, this) : this;
|
|
3662
3686
|
}
|
|
3663
3687
|
height(t) {
|
|
3664
|
-
return
|
|
3688
|
+
return C(t) ? (this._height = t, this) : this;
|
|
3665
3689
|
}
|
|
3666
3690
|
cornerRadius(t) {
|
|
3667
|
-
return
|
|
3691
|
+
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
3692
|
}
|
|
3669
3693
|
cornerRadii(t, r) {
|
|
3670
|
-
return !
|
|
3694
|
+
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
3695
|
}
|
|
3672
3696
|
cornerRadiusTopLeft(t) {
|
|
3673
|
-
return
|
|
3697
|
+
return C(t) ? (this._radiusTopLeft = t, this) : this;
|
|
3674
3698
|
}
|
|
3675
3699
|
cornerRadiusTopRight(t) {
|
|
3676
|
-
return
|
|
3700
|
+
return C(t) ? (this._radiusTopRight = t, this) : this;
|
|
3677
3701
|
}
|
|
3678
3702
|
cornerRadiusBottomLeft(t) {
|
|
3679
|
-
return
|
|
3703
|
+
return C(t) ? (this._radiusBottomLeft = t, this) : this;
|
|
3680
3704
|
}
|
|
3681
3705
|
cornerRadiusBottomRight(t) {
|
|
3682
|
-
return
|
|
3706
|
+
return C(t) ? (this._radiusBottomRight = t, this) : this;
|
|
3683
3707
|
}
|
|
3684
3708
|
cornerRadiusTop(t) {
|
|
3685
|
-
return
|
|
3709
|
+
return C(t) ? (this._radiusTopLeft = t, this._radiusTopRight = t, this) : this;
|
|
3686
3710
|
}
|
|
3687
3711
|
cornerRadiusBottom(t) {
|
|
3688
|
-
return
|
|
3712
|
+
return C(t) ? (this._radiusBottomLeft = t, this._radiusBottomRight = t, this) : this;
|
|
3689
3713
|
}
|
|
3690
3714
|
cornerRadiusLeft(t) {
|
|
3691
|
-
return
|
|
3715
|
+
return C(t) ? (this._radiusTopLeft = t, this._radiusBottomLeft = t, this) : this;
|
|
3692
3716
|
}
|
|
3693
3717
|
cornerRadiusRight(t) {
|
|
3694
|
-
return
|
|
3718
|
+
return C(t) ? (this._radiusTopRight = t, this._radiusBottomRight = t, this) : this;
|
|
3695
3719
|
}
|
|
3696
3720
|
rotateSelf(t) {
|
|
3697
3721
|
const r = this._x + this._width / 2, i = this._y + this._height / 2;
|
|
3698
3722
|
return this.rotate(t, r, i);
|
|
3699
3723
|
}
|
|
3700
3724
|
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,
|
|
3725
|
+
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
3726
|
return `
|
|
3703
3727
|
M ${t + a} ${r}
|
|
3704
3728
|
L ${t + i - l} ${r}
|
|
3705
3729
|
Q ${t + i} ${r} ${t + i} ${r + l}
|
|
3706
3730
|
L ${t + i} ${r + n - h}
|
|
3707
3731
|
Q ${t + i} ${r + n} ${t + i - h} ${r + n}
|
|
3708
|
-
L ${t +
|
|
3709
|
-
Q ${t} ${r + n} ${t} ${r + n -
|
|
3732
|
+
L ${t + d} ${r + n}
|
|
3733
|
+
Q ${t} ${r + n} ${t} ${r + n - d}
|
|
3710
3734
|
L ${t} ${r + a}
|
|
3711
3735
|
Q ${t} ${r} ${t + a} ${r}
|
|
3712
3736
|
Z
|
|
@@ -3728,11 +3752,11 @@ class ti extends yt {
|
|
|
3728
3752
|
return this.wrapShape(i, "rect-group");
|
|
3729
3753
|
}
|
|
3730
3754
|
}
|
|
3731
|
-
const
|
|
3732
|
-
function
|
|
3755
|
+
const Wt = St(ri);
|
|
3756
|
+
function Vt(e) {
|
|
3733
3757
|
return typeof e == "string" ? e : "";
|
|
3734
3758
|
}
|
|
3735
|
-
class
|
|
3759
|
+
class ii extends bt {
|
|
3736
3760
|
constructor() {
|
|
3737
3761
|
super(...arguments);
|
|
3738
3762
|
c(this, "_d", "");
|
|
@@ -3740,7 +3764,7 @@ class ei extends yt {
|
|
|
3740
3764
|
c(this, "_pullY");
|
|
3741
3765
|
}
|
|
3742
3766
|
d(t) {
|
|
3743
|
-
return this._d =
|
|
3767
|
+
return this._d = Vt(t), this;
|
|
3744
3768
|
}
|
|
3745
3769
|
/** Append a command; skip if any coordinate is non-finite (invalid SVG). */
|
|
3746
3770
|
push(t, r) {
|
|
@@ -3798,28 +3822,28 @@ class ei extends yt {
|
|
|
3798
3822
|
return this.close();
|
|
3799
3823
|
}
|
|
3800
3824
|
build() {
|
|
3801
|
-
const t =
|
|
3825
|
+
const t = Vt(this._d).trim() || void 0, r = u.createElement("path", {
|
|
3802
3826
|
d: t,
|
|
3803
3827
|
...this.shapePaintProps()
|
|
3804
3828
|
});
|
|
3805
3829
|
return this.wrapShape(r, "path-group");
|
|
3806
3830
|
}
|
|
3807
3831
|
}
|
|
3808
|
-
const L =
|
|
3809
|
-
let
|
|
3810
|
-
function
|
|
3811
|
-
return
|
|
3832
|
+
const L = St(ii);
|
|
3833
|
+
let yt = 0;
|
|
3834
|
+
function ni(e) {
|
|
3835
|
+
return yt += 1, `${e}-${yt}`;
|
|
3812
3836
|
}
|
|
3813
|
-
const
|
|
3814
|
-
|
|
3815
|
-
return (typeof globalThis.window > "u" || globalThis.window == null) && (
|
|
3837
|
+
const ai = Jt.prototype.reset;
|
|
3838
|
+
Jt.prototype.reset = function() {
|
|
3839
|
+
return (typeof globalThis.window > "u" || globalThis.window == null) && (yt = 0), ai.call(this);
|
|
3816
3840
|
};
|
|
3817
|
-
class
|
|
3841
|
+
class oi extends y {
|
|
3818
3842
|
constructor() {
|
|
3819
3843
|
super(...arguments);
|
|
3820
3844
|
c(this, "_id");
|
|
3821
3845
|
/** Per-instance auto id — content hashes collided for identical paints (invalid SVG). */
|
|
3822
|
-
c(this, "_uid",
|
|
3846
|
+
c(this, "_uid", ni("gradient"));
|
|
3823
3847
|
c(this, "_colors", ["#000", "#fff"]);
|
|
3824
3848
|
c(this, "_stops");
|
|
3825
3849
|
c(this, "_angle", 0);
|
|
@@ -3883,27 +3907,27 @@ class ii extends y {
|
|
|
3883
3907
|
return u.createElement("defs", { key: i }, n);
|
|
3884
3908
|
}
|
|
3885
3909
|
}
|
|
3886
|
-
const
|
|
3887
|
-
function
|
|
3910
|
+
const Ln = _(oi), Gt = ["12% 18%", "88% 16%", "78% 82%", "18% 78%", "50% 46%", "36% 62%"];
|
|
3911
|
+
function ge(e) {
|
|
3888
3912
|
const s = Array.isArray(e) ? e.filter((r) => typeof r == "string" && r.length > 0) : [];
|
|
3889
3913
|
if (s.length >= 2) return s;
|
|
3890
3914
|
const t = s[0];
|
|
3891
3915
|
return [t ?? "#000000", t ?? "#ffffff"];
|
|
3892
3916
|
}
|
|
3893
|
-
function
|
|
3894
|
-
const s =
|
|
3895
|
-
return { image: s.map((r, i) => `radial-gradient(circle at ${
|
|
3917
|
+
function li(e) {
|
|
3918
|
+
const s = ge(e);
|
|
3919
|
+
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
3920
|
}
|
|
3897
|
-
class
|
|
3921
|
+
class ci extends y {
|
|
3898
3922
|
constructor() {
|
|
3899
3923
|
super(...arguments);
|
|
3900
3924
|
c(this, "_colors", ["#ff6a2a", "#0b6e99"]);
|
|
3901
3925
|
}
|
|
3902
3926
|
colors(t) {
|
|
3903
|
-
return this._colors =
|
|
3927
|
+
return this._colors = ge(t), this;
|
|
3904
3928
|
}
|
|
3905
3929
|
build() {
|
|
3906
|
-
const t =
|
|
3930
|
+
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
3931
|
...this.getStyle(),
|
|
3908
3932
|
backgroundColor: t.color,
|
|
3909
3933
|
backgroundImage: t.image,
|
|
@@ -3920,8 +3944,8 @@ class ai extends y {
|
|
|
3920
3944
|
});
|
|
3921
3945
|
}
|
|
3922
3946
|
}
|
|
3923
|
-
const
|
|
3924
|
-
class
|
|
3947
|
+
const Pn = _(ci);
|
|
3948
|
+
class ui extends y {
|
|
3925
3949
|
constructor() {
|
|
3926
3950
|
super(...arguments);
|
|
3927
3951
|
c(this, "_iconSize", 100);
|
|
@@ -3931,18 +3955,18 @@ class oi extends y {
|
|
|
3931
3955
|
}
|
|
3932
3956
|
build() {
|
|
3933
3957
|
const t = this._iconSize;
|
|
3934
|
-
return
|
|
3958
|
+
return qr().width(t).height(t).viewBox("0 0 100 100").children([
|
|
3935
3959
|
A().center(50, 92).radius(35).fillHex("#000000").opacity(0.15).blur(4).scale(1, 0.2).build(),
|
|
3936
3960
|
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
3961
|
L().startAt(25, 88).pull(50, 90).to(75, 88).strokeHex("#F5CBA7").strokeWidth(2).opacity(0.4).fill("none").build(),
|
|
3938
|
-
|
|
3962
|
+
Wt().position(12, 65).size(76, 12).cornerRadius(4).fillHex("#5D4037").strokeHex("#3E2723").strokeWidth(0.5).children([
|
|
3939
3963
|
L().startAt(20, 65).to(20, 77).strokeHex("#3E2723").strokeWidth(1).opacity(0.3).build(),
|
|
3940
3964
|
L().startAt(35, 65).to(35, 77).strokeHex("#3E2723").strokeWidth(1).opacity(0.3).build(),
|
|
3941
3965
|
L().startAt(50, 65).to(50, 77).strokeHex("#3E2723").strokeWidth(1).opacity(0.3).build(),
|
|
3942
3966
|
L().startAt(65, 65).to(65, 77).strokeHex("#3E2723").strokeWidth(1).opacity(0.3).build()
|
|
3943
3967
|
]).shadow(0, 2, 2, "rgba(0,0,0,0.2)").build(),
|
|
3944
3968
|
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
|
-
|
|
3969
|
+
Wt().position(14, 58).size(72, 8).cornerRadius(3).fillHex("#F44336").strokeHex("#D32F2F").strokeWidth(0.5).children([
|
|
3946
3970
|
L().startAt(18, 60).to(84, 60).strokeHex("#FFCDD2").strokeWidth(2).opacity(0.6).build()
|
|
3947
3971
|
]).build(),
|
|
3948
3972
|
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 +3985,11 @@ class oi extends y {
|
|
|
3961
3985
|
]).build();
|
|
3962
3986
|
}
|
|
3963
3987
|
}
|
|
3964
|
-
const
|
|
3965
|
-
function
|
|
3988
|
+
const Rn = _(ui);
|
|
3989
|
+
function hi(e) {
|
|
3966
3990
|
return e == null || e === !1 ? null : w(e);
|
|
3967
3991
|
}
|
|
3968
|
-
class
|
|
3992
|
+
class di extends y {
|
|
3969
3993
|
constructor() {
|
|
3970
3994
|
super(...arguments);
|
|
3971
3995
|
c(this, "_open", !1);
|
|
@@ -4025,19 +4049,19 @@ class ci extends y {
|
|
|
4025
4049
|
}
|
|
4026
4050
|
},
|
|
4027
4051
|
this._title ? u.createElement("h2", { key: "title" }, this._title) : null,
|
|
4028
|
-
|
|
4052
|
+
hi(this._child)
|
|
4029
4053
|
)
|
|
4030
4054
|
);
|
|
4031
4055
|
}
|
|
4032
4056
|
}
|
|
4033
|
-
const
|
|
4057
|
+
const An = _(di), zt = {
|
|
4034
4058
|
medium: "50vh",
|
|
4035
4059
|
large: "90vh"
|
|
4036
4060
|
};
|
|
4037
|
-
function
|
|
4061
|
+
function fi(e) {
|
|
4038
4062
|
return e == null || e === !1 ? null : w(e);
|
|
4039
4063
|
}
|
|
4040
|
-
class
|
|
4064
|
+
class mi extends y {
|
|
4041
4065
|
constructor() {
|
|
4042
4066
|
super(...arguments);
|
|
4043
4067
|
c(this, "_open", !1);
|
|
@@ -4067,9 +4091,9 @@ class hi extends y {
|
|
|
4067
4091
|
}
|
|
4068
4092
|
build() {
|
|
4069
4093
|
if (!this._open) return null;
|
|
4070
|
-
const t = this._detents.includes(this._detent) ? this._detent : this._detents[0] ?? "medium", r =
|
|
4071
|
-
var
|
|
4072
|
-
(
|
|
4094
|
+
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 = () => {
|
|
4095
|
+
var d;
|
|
4096
|
+
(d = this._onClose) == null || d.call(this);
|
|
4073
4097
|
};
|
|
4074
4098
|
return u.createElement(
|
|
4075
4099
|
"div",
|
|
@@ -4100,13 +4124,13 @@ class hi extends y {
|
|
|
4100
4124
|
}
|
|
4101
4125
|
},
|
|
4102
4126
|
this._title ? u.createElement("h2", { key: "title" }, this._title) : null,
|
|
4103
|
-
|
|
4127
|
+
fi(this._child)
|
|
4104
4128
|
)
|
|
4105
4129
|
);
|
|
4106
4130
|
}
|
|
4107
4131
|
}
|
|
4108
|
-
const
|
|
4109
|
-
class
|
|
4132
|
+
const Mn = _(mi);
|
|
4133
|
+
class pi extends y {
|
|
4110
4134
|
constructor() {
|
|
4111
4135
|
super(...arguments);
|
|
4112
4136
|
c(this, "_open", !1);
|
|
@@ -4185,11 +4209,11 @@ class fi extends y {
|
|
|
4185
4209
|
);
|
|
4186
4210
|
}
|
|
4187
4211
|
}
|
|
4188
|
-
const
|
|
4189
|
-
function
|
|
4212
|
+
const Fn = _(pi);
|
|
4213
|
+
function gi(e) {
|
|
4190
4214
|
return e == null || e === !1 ? null : w(e);
|
|
4191
4215
|
}
|
|
4192
|
-
class
|
|
4216
|
+
class _i extends y {
|
|
4193
4217
|
constructor() {
|
|
4194
4218
|
super(...arguments);
|
|
4195
4219
|
c(this, "_open", !1);
|
|
@@ -4225,13 +4249,13 @@ class mi extends y {
|
|
|
4225
4249
|
return u.createElement(
|
|
4226
4250
|
u.Fragment,
|
|
4227
4251
|
null,
|
|
4228
|
-
|
|
4252
|
+
gi(this._anchor),
|
|
4229
4253
|
a
|
|
4230
4254
|
);
|
|
4231
4255
|
}
|
|
4232
4256
|
}
|
|
4233
|
-
const
|
|
4234
|
-
class
|
|
4257
|
+
const In = _(_i);
|
|
4258
|
+
class yi extends y {
|
|
4235
4259
|
constructor() {
|
|
4236
4260
|
super(...arguments);
|
|
4237
4261
|
c(this, "_open", !1);
|
|
@@ -4295,11 +4319,11 @@ class pi extends y {
|
|
|
4295
4319
|
);
|
|
4296
4320
|
}
|
|
4297
4321
|
}
|
|
4298
|
-
const
|
|
4299
|
-
function
|
|
4322
|
+
const Dn = _(yi);
|
|
4323
|
+
function bi(e) {
|
|
4300
4324
|
return e == null || e === !1 ? null : w(e);
|
|
4301
4325
|
}
|
|
4302
|
-
class
|
|
4326
|
+
class Si extends y {
|
|
4303
4327
|
constructor() {
|
|
4304
4328
|
super(...arguments);
|
|
4305
4329
|
c(this, "_open", !1);
|
|
@@ -4351,15 +4375,15 @@ class _i extends y {
|
|
|
4351
4375
|
},
|
|
4352
4376
|
"×"
|
|
4353
4377
|
) : null,
|
|
4354
|
-
|
|
4378
|
+
bi(this._child)
|
|
4355
4379
|
);
|
|
4356
4380
|
}
|
|
4357
4381
|
}
|
|
4358
|
-
const
|
|
4359
|
-
function
|
|
4382
|
+
const On = _(Si);
|
|
4383
|
+
function vi(e) {
|
|
4360
4384
|
return e == null || e === !1 ? null : w(e);
|
|
4361
4385
|
}
|
|
4362
|
-
class
|
|
4386
|
+
class Ci extends y {
|
|
4363
4387
|
constructor(t = null) {
|
|
4364
4388
|
super();
|
|
4365
4389
|
c(this, "_href");
|
|
@@ -4377,26 +4401,26 @@ class bi extends y {
|
|
|
4377
4401
|
return this._rel = t, this;
|
|
4378
4402
|
}
|
|
4379
4403
|
build() {
|
|
4380
|
-
const { className: t, style: r, key: i, children: n, rel: o, href: a, target: l, ...h } = this._props,
|
|
4404
|
+
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
4405
|
return u.createElement(
|
|
4382
4406
|
"a",
|
|
4383
4407
|
{
|
|
4384
4408
|
...h,
|
|
4385
|
-
className:
|
|
4409
|
+
className: d,
|
|
4386
4410
|
style: m,
|
|
4387
|
-
href:
|
|
4411
|
+
href: f,
|
|
4388
4412
|
target: p,
|
|
4389
4413
|
rel: g
|
|
4390
4414
|
},
|
|
4391
|
-
|
|
4415
|
+
vi(this._label)
|
|
4392
4416
|
);
|
|
4393
4417
|
}
|
|
4394
4418
|
}
|
|
4395
|
-
const
|
|
4396
|
-
function
|
|
4419
|
+
const jn = _(Ci);
|
|
4420
|
+
function Ut(e) {
|
|
4397
4421
|
return e == null || e === !1 ? null : w(e);
|
|
4398
4422
|
}
|
|
4399
|
-
class
|
|
4423
|
+
class ki extends y {
|
|
4400
4424
|
constructor() {
|
|
4401
4425
|
super(...arguments);
|
|
4402
4426
|
c(this, "_tabs", []);
|
|
@@ -4414,7 +4438,7 @@ class Si extends y {
|
|
|
4414
4438
|
}
|
|
4415
4439
|
build() {
|
|
4416
4440
|
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),
|
|
4441
|
+
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
4442
|
"div",
|
|
4419
4443
|
{ role: "tablist", className: "fibo-tabview-list" },
|
|
4420
4444
|
...this._tabs.map(
|
|
@@ -4430,22 +4454,22 @@ class Si extends y {
|
|
|
4430
4454
|
return (g = this._onChange) == null ? void 0 : g.call(this, b.value);
|
|
4431
4455
|
}
|
|
4432
4456
|
},
|
|
4433
|
-
|
|
4457
|
+
Ut(b.label)
|
|
4434
4458
|
)
|
|
4435
4459
|
)
|
|
4436
|
-
),
|
|
4460
|
+
), f = u.createElement(
|
|
4437
4461
|
"div",
|
|
4438
4462
|
{ role: "tabpanel", className: "fibo-tabview-panel" },
|
|
4439
|
-
|
|
4463
|
+
Ut(d == null ? void 0 : d.child)
|
|
4440
4464
|
);
|
|
4441
|
-
return u.createElement("div", { ...o, className: a, style: l }, m,
|
|
4465
|
+
return u.createElement("div", { ...o, className: a, style: l }, m, f);
|
|
4442
4466
|
}
|
|
4443
4467
|
}
|
|
4444
|
-
const
|
|
4445
|
-
function
|
|
4468
|
+
const Hn = _(ki);
|
|
4469
|
+
function wi(e) {
|
|
4446
4470
|
return e == null || e === !1 ? null : w(e);
|
|
4447
4471
|
}
|
|
4448
|
-
class
|
|
4472
|
+
class Ei extends y {
|
|
4449
4473
|
constructor() {
|
|
4450
4474
|
super(...arguments);
|
|
4451
4475
|
c(this, "_items", []);
|
|
@@ -4481,17 +4505,17 @@ class ki extends y {
|
|
|
4481
4505
|
"aria-current": h.value === this._value ? "page" : void 0,
|
|
4482
4506
|
onClick: h.onPress
|
|
4483
4507
|
},
|
|
4484
|
-
|
|
4508
|
+
wi(h.label)
|
|
4485
4509
|
)
|
|
4486
4510
|
)
|
|
4487
4511
|
);
|
|
4488
4512
|
}
|
|
4489
4513
|
}
|
|
4490
|
-
const
|
|
4491
|
-
function
|
|
4514
|
+
const Wn = _(Ei);
|
|
4515
|
+
function ut(e) {
|
|
4492
4516
|
return e == null || e === !1 ? null : w(e);
|
|
4493
4517
|
}
|
|
4494
|
-
class
|
|
4518
|
+
class Ni extends y {
|
|
4495
4519
|
constructor() {
|
|
4496
4520
|
super(...arguments);
|
|
4497
4521
|
c(this, "_title");
|
|
@@ -4517,17 +4541,17 @@ class Ci extends y {
|
|
|
4517
4541
|
return u.createElement(
|
|
4518
4542
|
"header",
|
|
4519
4543
|
{ ...o, role: "banner", className: a, style: l },
|
|
4520
|
-
|
|
4521
|
-
this._title != null ? u.createElement("div", { className: "fibo-navigation-bar-title" },
|
|
4522
|
-
|
|
4544
|
+
ut(this._leading),
|
|
4545
|
+
this._title != null ? u.createElement("div", { className: "fibo-navigation-bar-title" }, ut(this._title)) : null,
|
|
4546
|
+
ut(this._trailing)
|
|
4523
4547
|
);
|
|
4524
4548
|
}
|
|
4525
4549
|
}
|
|
4526
|
-
const
|
|
4527
|
-
function
|
|
4550
|
+
const Vn = _(Ni);
|
|
4551
|
+
function xi(e) {
|
|
4528
4552
|
return e == null || e === !1 ? null : w(e);
|
|
4529
4553
|
}
|
|
4530
|
-
class
|
|
4554
|
+
class Ti extends y {
|
|
4531
4555
|
constructor() {
|
|
4532
4556
|
super(...arguments);
|
|
4533
4557
|
c(this, "_items", []);
|
|
@@ -4563,17 +4587,17 @@ class Ei extends y {
|
|
|
4563
4587
|
"aria-current": h.value === this._value ? "page" : void 0,
|
|
4564
4588
|
onClick: h.onPress
|
|
4565
4589
|
},
|
|
4566
|
-
|
|
4590
|
+
xi(h.label)
|
|
4567
4591
|
)
|
|
4568
4592
|
)
|
|
4569
4593
|
);
|
|
4570
4594
|
}
|
|
4571
4595
|
}
|
|
4572
|
-
const
|
|
4573
|
-
function
|
|
4596
|
+
const Gn = _(Ti);
|
|
4597
|
+
function Xt(e) {
|
|
4574
4598
|
return e == null || e === !1 ? null : w(e);
|
|
4575
4599
|
}
|
|
4576
|
-
class
|
|
4600
|
+
class $i extends y {
|
|
4577
4601
|
constructor() {
|
|
4578
4602
|
super(...arguments);
|
|
4579
4603
|
c(this, "_items", []);
|
|
@@ -4582,15 +4606,15 @@ class Ni extends y {
|
|
|
4582
4606
|
return this._items = t, this;
|
|
4583
4607
|
}
|
|
4584
4608
|
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,
|
|
4609
|
+
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
4610
|
"ol",
|
|
4587
4611
|
null,
|
|
4588
|
-
...this._items.map((m,
|
|
4589
|
-
const p =
|
|
4612
|
+
...this._items.map((m, f) => {
|
|
4613
|
+
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
4614
|
return u.createElement(
|
|
4591
4615
|
"li",
|
|
4592
4616
|
{
|
|
4593
|
-
key:
|
|
4617
|
+
key: f,
|
|
4594
4618
|
"aria-current": p ? "page" : void 0
|
|
4595
4619
|
},
|
|
4596
4620
|
g
|
|
@@ -4600,15 +4624,15 @@ class Ni extends y {
|
|
|
4600
4624
|
return u.createElement(
|
|
4601
4625
|
"nav",
|
|
4602
4626
|
{ ...o, className: a, style: l, "aria-label": "Breadcrumb" },
|
|
4603
|
-
|
|
4627
|
+
d
|
|
4604
4628
|
);
|
|
4605
4629
|
}
|
|
4606
4630
|
}
|
|
4607
|
-
const
|
|
4608
|
-
function
|
|
4631
|
+
const zn = _($i);
|
|
4632
|
+
function ht(e) {
|
|
4609
4633
|
return e == null || e === !1 ? null : w(e);
|
|
4610
4634
|
}
|
|
4611
|
-
class
|
|
4635
|
+
class Bi extends y {
|
|
4612
4636
|
constructor() {
|
|
4613
4637
|
super(...arguments);
|
|
4614
4638
|
c(this, "_title");
|
|
@@ -4634,88 +4658,88 @@ class xi extends y {
|
|
|
4634
4658
|
return u.createElement(
|
|
4635
4659
|
"div",
|
|
4636
4660
|
{ ...o, role: "toolbar", className: a, style: l },
|
|
4637
|
-
|
|
4638
|
-
this._title != null ? u.createElement("div", { className: "fibo-toolbar-title" },
|
|
4639
|
-
|
|
4661
|
+
ht(this._leading),
|
|
4662
|
+
this._title != null ? u.createElement("div", { className: "fibo-toolbar-title" }, ht(this._title)) : null,
|
|
4663
|
+
ht(this._trailing)
|
|
4640
4664
|
);
|
|
4641
4665
|
}
|
|
4642
4666
|
}
|
|
4643
|
-
const
|
|
4644
|
-
function
|
|
4667
|
+
const Un = _(Bi);
|
|
4668
|
+
function Kt(e, s) {
|
|
4645
4669
|
if (typeof Reflect.getOwnMetadataKeys == "function")
|
|
4646
4670
|
for (const t of Reflect.getOwnMetadataKeys(e))
|
|
4647
4671
|
Reflect.defineMetadata(t, Reflect.getOwnMetadata(t, e), s);
|
|
4648
4672
|
}
|
|
4649
|
-
function
|
|
4673
|
+
function Xn(e = {}) {
|
|
4650
4674
|
return function(s) {
|
|
4651
|
-
const t = e.memo === !1 ? !1 : typeof e.memo == "function" ? e.memo : void 0, r =
|
|
4675
|
+
const t = e.memo === !1 ? !1 : typeof e.memo == "function" ? e.memo : void 0, r = Le(s, t), i = e.displayName || s.name;
|
|
4652
4676
|
Object.defineProperty(r, "name", {
|
|
4653
4677
|
value: i,
|
|
4654
4678
|
writable: !1,
|
|
4655
4679
|
configurable: !0
|
|
4656
|
-
}), r.displayName = i, Object.setPrototypeOf(r, s),
|
|
4680
|
+
}), r.displayName = i, Object.setPrototypeOf(r, s), Kt(s, r);
|
|
4657
4681
|
const n = s.prototype;
|
|
4658
|
-
return Object.prototype.hasOwnProperty.call(r, "prototype") && r.prototype && n && (Object.setPrototypeOf(r.prototype, n),
|
|
4682
|
+
return Object.prototype.hasOwnProperty.call(r, "prototype") && r.prototype && n && (Object.setPrototypeOf(r.prototype, n), Kt(n, r.prototype)), r;
|
|
4659
4683
|
};
|
|
4660
4684
|
}
|
|
4661
|
-
const
|
|
4662
|
-
function
|
|
4685
|
+
const vt = [];
|
|
4686
|
+
function _e(e) {
|
|
4663
4687
|
if (typeof e != "string" || e.length === 0)
|
|
4664
4688
|
throw new Error('Page(path) requires a non-empty path string — use @Page("/route")');
|
|
4665
4689
|
}
|
|
4666
|
-
function
|
|
4690
|
+
function ye(e) {
|
|
4667
4691
|
if (typeof e != "function")
|
|
4668
4692
|
throw new Error("@Page() must decorate a component function or class");
|
|
4669
4693
|
}
|
|
4670
|
-
function
|
|
4671
|
-
|
|
4694
|
+
function be(e, s, t) {
|
|
4695
|
+
vt.push({
|
|
4672
4696
|
path: e,
|
|
4673
4697
|
component: s,
|
|
4674
4698
|
exact: t.exact,
|
|
4675
4699
|
meta: t.meta
|
|
4676
4700
|
});
|
|
4677
4701
|
}
|
|
4678
|
-
function
|
|
4679
|
-
|
|
4702
|
+
function Kn(e, s = {}) {
|
|
4703
|
+
_e(e);
|
|
4680
4704
|
const t = s ?? {};
|
|
4681
4705
|
return function(r) {
|
|
4682
|
-
return
|
|
4706
|
+
return ye(r), be(e, r, t), r;
|
|
4683
4707
|
};
|
|
4684
4708
|
}
|
|
4685
|
-
function
|
|
4686
|
-
return [...
|
|
4709
|
+
function Yn() {
|
|
4710
|
+
return [...vt];
|
|
4687
4711
|
}
|
|
4688
|
-
function
|
|
4689
|
-
|
|
4712
|
+
function qn() {
|
|
4713
|
+
vt.length = 0;
|
|
4690
4714
|
}
|
|
4691
|
-
function
|
|
4692
|
-
|
|
4715
|
+
function Zn(e, s, t = {}) {
|
|
4716
|
+
_e(e), ye(s), be(e, s, t ?? {});
|
|
4693
4717
|
}
|
|
4694
|
-
const
|
|
4695
|
-
function
|
|
4718
|
+
const z = /* @__PURE__ */ new Map(), Se = Symbol("store");
|
|
4719
|
+
function Qn() {
|
|
4696
4720
|
return function(e) {
|
|
4697
|
-
Reflect.defineMetadata(
|
|
4721
|
+
Reflect.defineMetadata(Se, !0, e);
|
|
4698
4722
|
const s = new e();
|
|
4699
|
-
return
|
|
4723
|
+
return z.set(e, s), e;
|
|
4700
4724
|
};
|
|
4701
4725
|
}
|
|
4702
|
-
function
|
|
4703
|
-
if (!
|
|
4726
|
+
function Li(e) {
|
|
4727
|
+
if (!z.has(e)) {
|
|
4704
4728
|
const s = new e();
|
|
4705
|
-
|
|
4729
|
+
z.set(e, s);
|
|
4706
4730
|
}
|
|
4707
|
-
return
|
|
4731
|
+
return z.get(e);
|
|
4708
4732
|
}
|
|
4709
|
-
function
|
|
4710
|
-
return
|
|
4733
|
+
function Jn(e) {
|
|
4734
|
+
return Li(e);
|
|
4711
4735
|
}
|
|
4712
|
-
function
|
|
4713
|
-
|
|
4736
|
+
function ta() {
|
|
4737
|
+
z.clear();
|
|
4714
4738
|
}
|
|
4715
|
-
function
|
|
4716
|
-
return Reflect.getMetadata(
|
|
4739
|
+
function ea(e) {
|
|
4740
|
+
return Reflect.getMetadata(Se, e) === !0;
|
|
4717
4741
|
}
|
|
4718
|
-
function
|
|
4742
|
+
function dt(e = "localStorage") {
|
|
4719
4743
|
var s;
|
|
4720
4744
|
try {
|
|
4721
4745
|
const t = globalThis, r = t[e] ?? ((s = t.window) == null ? void 0 : s[e]);
|
|
@@ -4724,53 +4748,53 @@ function ht(e = "localStorage") {
|
|
|
4724
4748
|
return null;
|
|
4725
4749
|
}
|
|
4726
4750
|
}
|
|
4727
|
-
function
|
|
4751
|
+
function Yt(e) {
|
|
4728
4752
|
return {
|
|
4729
4753
|
getItem(s) {
|
|
4730
4754
|
var t;
|
|
4731
4755
|
try {
|
|
4732
|
-
return ((t =
|
|
4756
|
+
return ((t = dt(e)) == null ? void 0 : t.getItem(s)) ?? null;
|
|
4733
4757
|
} catch {
|
|
4734
4758
|
return null;
|
|
4735
4759
|
}
|
|
4736
4760
|
},
|
|
4737
4761
|
setItem(s, t) {
|
|
4738
4762
|
var r;
|
|
4739
|
-
(r =
|
|
4763
|
+
(r = dt(e)) == null || r.setItem(s, t);
|
|
4740
4764
|
},
|
|
4741
4765
|
removeItem(s) {
|
|
4742
4766
|
var t;
|
|
4743
4767
|
try {
|
|
4744
|
-
(t =
|
|
4768
|
+
(t = dt(e)) == null || t.removeItem(s);
|
|
4745
4769
|
} catch {
|
|
4746
4770
|
}
|
|
4747
4771
|
}
|
|
4748
4772
|
};
|
|
4749
4773
|
}
|
|
4750
|
-
const
|
|
4751
|
-
localStorage:
|
|
4752
|
-
sessionStorage:
|
|
4774
|
+
const Ct = {
|
|
4775
|
+
localStorage: Yt("localStorage"),
|
|
4776
|
+
sessionStorage: Yt("sessionStorage")
|
|
4753
4777
|
};
|
|
4754
|
-
function
|
|
4778
|
+
function qt(e) {
|
|
4755
4779
|
return e != null && typeof e == "object" && !Array.isArray(e);
|
|
4756
4780
|
}
|
|
4757
|
-
function
|
|
4781
|
+
function Pi(e, s, t) {
|
|
4758
4782
|
const r = JSON.parse(e);
|
|
4759
4783
|
if (r == null || typeof r != "object" || Array.isArray(r))
|
|
4760
4784
|
throw new Error("invalid persisted payload");
|
|
4761
4785
|
const i = r, n = typeof i._version == "number" ? i._version : 0;
|
|
4762
4786
|
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
4787
|
}
|
|
4764
|
-
function
|
|
4765
|
-
if (!(t || r) || !
|
|
4788
|
+
function Ri(e, s, t, r) {
|
|
4789
|
+
if (!(t || r) || !qt(s))
|
|
4766
4790
|
return s;
|
|
4767
|
-
const i =
|
|
4768
|
-
return
|
|
4791
|
+
const i = ve(s, t, r);
|
|
4792
|
+
return qt(e) ? { ...e, ...i } : i;
|
|
4769
4793
|
}
|
|
4770
|
-
function
|
|
4794
|
+
function sa(e, s) {
|
|
4771
4795
|
const {
|
|
4772
4796
|
key: t,
|
|
4773
|
-
storage: r =
|
|
4797
|
+
storage: r = Ct.localStorage,
|
|
4774
4798
|
include: i,
|
|
4775
4799
|
exclude: n,
|
|
4776
4800
|
debounce: o = 300,
|
|
@@ -4780,17 +4804,17 @@ function Zn(e, s) {
|
|
|
4780
4804
|
try {
|
|
4781
4805
|
const p = r.getItem(t);
|
|
4782
4806
|
if (p) {
|
|
4783
|
-
const b =
|
|
4784
|
-
b.ok && (e.value =
|
|
4807
|
+
const b = Pi(p, a, l);
|
|
4808
|
+
b.ok && (e.value = Ri(e.value, b.data, i, n));
|
|
4785
4809
|
}
|
|
4786
4810
|
} catch (p) {
|
|
4787
4811
|
console.error(`Failed to load persisted state for key "${t}":`, p);
|
|
4788
4812
|
}
|
|
4789
4813
|
let h = null;
|
|
4790
|
-
const
|
|
4814
|
+
const d = () => {
|
|
4791
4815
|
try {
|
|
4792
4816
|
let p = e.value;
|
|
4793
|
-
(i || n) && (p =
|
|
4817
|
+
(i || n) && (p = ve(e.value, i, n));
|
|
4794
4818
|
const b = {
|
|
4795
4819
|
_version: a,
|
|
4796
4820
|
data: p
|
|
@@ -4801,14 +4825,14 @@ function Zn(e, s) {
|
|
|
4801
4825
|
}
|
|
4802
4826
|
}, m = () => {
|
|
4803
4827
|
h && clearTimeout(h), h = setTimeout(() => {
|
|
4804
|
-
h = null,
|
|
4828
|
+
h = null, d();
|
|
4805
4829
|
}, o);
|
|
4806
|
-
},
|
|
4830
|
+
}, f = e.subscribe(m);
|
|
4807
4831
|
return () => {
|
|
4808
|
-
|
|
4832
|
+
f(), h && (clearTimeout(h), h = null, d());
|
|
4809
4833
|
};
|
|
4810
4834
|
}
|
|
4811
|
-
function
|
|
4835
|
+
function ve(e, s, t) {
|
|
4812
4836
|
if (!e || typeof e != "object")
|
|
4813
4837
|
return e;
|
|
4814
4838
|
const r = {}, i = Object.keys(e), n = s, o = t;
|
|
@@ -4816,14 +4840,14 @@ function be(e, s, t) {
|
|
|
4816
4840
|
n && !n.includes(a) || o && o.includes(a) || (r[a] = e[a]);
|
|
4817
4841
|
return r;
|
|
4818
4842
|
}
|
|
4819
|
-
function
|
|
4843
|
+
function ra(e, s = Ct.localStorage) {
|
|
4820
4844
|
try {
|
|
4821
4845
|
s.removeItem(e);
|
|
4822
4846
|
} catch (t) {
|
|
4823
4847
|
console.error(`Failed to clear persisted state for key "${e}":`, t);
|
|
4824
4848
|
}
|
|
4825
4849
|
}
|
|
4826
|
-
function
|
|
4850
|
+
function ia(e, s = Ct.localStorage) {
|
|
4827
4851
|
try {
|
|
4828
4852
|
const t = s.getItem(e);
|
|
4829
4853
|
if (!t)
|
|
@@ -4835,337 +4859,398 @@ function Jn(e, s = vt.localStorage) {
|
|
|
4835
4859
|
}
|
|
4836
4860
|
}
|
|
4837
4861
|
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
|
-
|
|
4862
|
+
Eh as Alert,
|
|
4863
|
+
oa as Align,
|
|
4864
|
+
jn as Anchor,
|
|
4865
|
+
zi as AppBar,
|
|
4866
|
+
Ki as AspectRatio,
|
|
4867
|
+
Ah as AssetCard,
|
|
4868
|
+
nn as AsyncImage,
|
|
4869
|
+
vh as Avatar,
|
|
4870
|
+
la as Axis,
|
|
4871
|
+
ca as AxisSize,
|
|
4872
|
+
Ch as Badge,
|
|
4873
|
+
ua as BadgeVariant,
|
|
4874
|
+
Mh as Banner,
|
|
4875
|
+
ha as Bar,
|
|
4876
|
+
Zi as Baseline,
|
|
4877
|
+
da as Behavior,
|
|
4878
|
+
Wn as BottomBar,
|
|
4879
|
+
Mn as BottomSheet,
|
|
4880
|
+
fa as Box,
|
|
4881
|
+
zn as Breadcrumbs,
|
|
4882
|
+
Rn as BurgerIcon,
|
|
4883
|
+
Ph as Button,
|
|
4884
|
+
ma as ButtonShape,
|
|
4885
|
+
pa as ButtonSize,
|
|
4886
|
+
ga as ButtonTone,
|
|
4887
|
+
_a as ButtonType,
|
|
4888
|
+
ya as ButtonVariant,
|
|
4889
|
+
ba as Calendar,
|
|
4890
|
+
qr as Canvas,
|
|
4891
|
+
Fh as Card,
|
|
4892
|
+
Sa as Carousel,
|
|
4893
|
+
hh as Center,
|
|
4894
|
+
fn as Chart,
|
|
4895
|
+
va as Checkbox,
|
|
4896
|
+
Ca as CheckboxTile,
|
|
4873
4897
|
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
|
-
|
|
4898
|
+
ka as Clip,
|
|
4899
|
+
wa as ClipShape,
|
|
4900
|
+
kn as CodeScanner,
|
|
4901
|
+
Ea as Collapse,
|
|
4902
|
+
Ih as CollectionCard,
|
|
4903
|
+
Na as Color,
|
|
4904
|
+
xa as ColorPicker,
|
|
4905
|
+
yh as Column,
|
|
4906
|
+
Ta as Combobox,
|
|
4907
|
+
Xn as Component,
|
|
4908
|
+
$a as ComputedSignal,
|
|
4909
|
+
dh as Container,
|
|
4910
|
+
Ba as ContainerRelativeAxis,
|
|
4911
|
+
Dh as ContentCard,
|
|
4912
|
+
La as ContentShape,
|
|
4913
|
+
dn as ContentUnavailable,
|
|
4914
|
+
Pa as ContextMenu,
|
|
4915
|
+
Ra as CoordinateSpace,
|
|
4916
|
+
Aa as Curve,
|
|
4917
|
+
tn as CustomScrollView,
|
|
4918
|
+
Ma as DashboardLayout,
|
|
4919
|
+
Fa as DatePicker,
|
|
4920
|
+
Ia as DateRangePicker,
|
|
4921
|
+
Da as DefaultErrorPage,
|
|
4922
|
+
Oa as DefaultLoader,
|
|
4923
|
+
ja as Density,
|
|
4924
|
+
Fn as Dialog,
|
|
4925
|
+
$n as Dismissible,
|
|
4926
|
+
Ha as DragAxisEnum,
|
|
4927
|
+
Wa as DragGesture,
|
|
4928
|
+
yn as DragTarget,
|
|
4929
|
+
_n as Draggable,
|
|
4930
|
+
Va as Ease,
|
|
4931
|
+
Ga as Easing,
|
|
4932
|
+
za as Edge,
|
|
4933
|
+
Ua as EdgeSet,
|
|
4934
|
+
Xa as Effect,
|
|
4935
|
+
Ka as ExclusiveGesture,
|
|
4936
|
+
Ya as FIBO_BREAKPOINTS,
|
|
4937
|
+
qa as FIBO_INTERACTION_FX_CSS,
|
|
4938
|
+
Za as FIBO_MOTION_CSS,
|
|
4939
|
+
Qa as FIBO_THEMES,
|
|
4940
|
+
Ja as Fibo,
|
|
4941
|
+
to as FiboApp,
|
|
4942
|
+
eo as FiboAppBuilder,
|
|
4943
|
+
so as FiboStyles,
|
|
4944
|
+
ro as FiboThemeProvider,
|
|
4945
|
+
io as FieldType,
|
|
4946
|
+
no as FieldVariant,
|
|
4947
|
+
Cn as FilePicker,
|
|
4948
|
+
ao as FineGrainText,
|
|
4949
|
+
oo as Fit,
|
|
4950
|
+
lo as FlexDirection,
|
|
4951
|
+
co as Form,
|
|
4952
|
+
uo as FormMethod,
|
|
4953
|
+
sh as Format,
|
|
4954
|
+
On as FullScreenCover,
|
|
4955
|
+
en as Gauge,
|
|
4956
|
+
ho as GeometryReader,
|
|
4957
|
+
fo as GestureBuilder,
|
|
4958
|
+
mo as GestureMaskEnum,
|
|
4959
|
+
Oh as Grid,
|
|
4960
|
+
jh as GridItem,
|
|
4961
|
+
po as GridVariant,
|
|
4962
|
+
go as HIT_FILM_STYLE,
|
|
4963
|
+
_o as Header,
|
|
4964
|
+
bn as Hero,
|
|
4965
|
+
yo as HitFilm,
|
|
4966
|
+
bo as INTERACTION_EFFECTS,
|
|
4967
|
+
So as Icon,
|
|
4968
|
+
kh as Image,
|
|
4969
|
+
vo as Inspector,
|
|
4970
|
+
Nh as Integration,
|
|
4971
|
+
Co as Intent,
|
|
4972
|
+
Sn as InteractiveViewer,
|
|
4973
|
+
ko as Join,
|
|
4974
|
+
wo as KeyboardInset,
|
|
4975
|
+
xh as Label,
|
|
4976
|
+
Eo as LayoutBuilder,
|
|
4977
|
+
Bn as LazyGrid,
|
|
4978
|
+
fh as Line,
|
|
4979
|
+
Ln as LinearGradient,
|
|
4980
|
+
Uh as Link,
|
|
4981
|
+
No as List,
|
|
4982
|
+
xo as ListSignal,
|
|
4983
|
+
Hh as ListTile,
|
|
4984
|
+
To as ListVariant,
|
|
4985
|
+
$o as LongPressGesture,
|
|
4986
|
+
Bo as MOTION_PRESETS,
|
|
4987
|
+
Lo as MagnificationGesture,
|
|
4988
|
+
Po as MagnifyGesture,
|
|
4989
|
+
gn as MapView,
|
|
4990
|
+
ln as Markdown,
|
|
4991
|
+
Ro as Menu,
|
|
4992
|
+
Pn as MeshGradient,
|
|
4993
|
+
Ao as Mode,
|
|
4994
|
+
Mo as Motion,
|
|
4995
|
+
Fo as MotionStyles,
|
|
4996
|
+
Xh as NavLink,
|
|
4997
|
+
Vn as NavigationBar,
|
|
4998
|
+
Gn as NavigationRail,
|
|
4999
|
+
Io as NavigationSplitView,
|
|
5000
|
+
cn as NumericText,
|
|
5001
|
+
Do as Observable,
|
|
5002
|
+
Oo as Observer,
|
|
5003
|
+
jo as OrientationBuilder,
|
|
5004
|
+
Ho as OtpField,
|
|
5005
|
+
Kh as Outlet,
|
|
5006
|
+
Wo as OutlineGroup,
|
|
5007
|
+
Yi as Overlay,
|
|
5008
|
+
Kn as Page,
|
|
5009
|
+
Vo as PageView,
|
|
4968
5010
|
L as Path,
|
|
4969
|
-
|
|
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
|
-
|
|
5011
|
+
un as PdfView,
|
|
5012
|
+
vn as PhotosPicker,
|
|
5013
|
+
Go as Place,
|
|
5014
|
+
zo as PluginManager,
|
|
5015
|
+
rh as Plural,
|
|
5016
|
+
Uo as PopScope,
|
|
5017
|
+
In as Popover,
|
|
5018
|
+
Xo as Position,
|
|
5019
|
+
Ko as PreferenceKey,
|
|
5020
|
+
Yo as Presence,
|
|
5021
|
+
Wh as ProfileCard,
|
|
5022
|
+
Th as Progress,
|
|
5023
|
+
qo as ProviderWrapper,
|
|
5024
|
+
Zo as RadioGroup,
|
|
5025
|
+
Qo as RadioTile,
|
|
5026
|
+
Jo as Radius,
|
|
5027
|
+
tl as RangeSlider,
|
|
5028
|
+
el as ReactivityRoot,
|
|
5029
|
+
Wt as Rect,
|
|
5030
|
+
sl as ReducedMotion,
|
|
5031
|
+
xn as RefreshIndicator,
|
|
5032
|
+
Tn as ReorderableList,
|
|
5033
|
+
rl as Resize,
|
|
5034
|
+
il as Reveal,
|
|
5035
|
+
hn as RichEditor,
|
|
5036
|
+
sn as RichText,
|
|
5037
|
+
nl as RotateGesture,
|
|
5038
|
+
al as Router,
|
|
5039
|
+
ol as Row,
|
|
5040
|
+
Ui as SafeArea,
|
|
5041
|
+
ll as Scaffold,
|
|
5042
|
+
cl as Scale,
|
|
5043
|
+
ul as Scheme,
|
|
5044
|
+
hl as ScrollAnchor,
|
|
5045
|
+
mh as ScrollController,
|
|
5046
|
+
dl as ScrollProgress,
|
|
5047
|
+
ph as ScrollView,
|
|
5048
|
+
fl as ScrollViewReader,
|
|
5049
|
+
ml as SearchBar,
|
|
5050
|
+
pl as Searchable,
|
|
5051
|
+
En as Section,
|
|
5052
|
+
gl as SecureField,
|
|
5053
|
+
_l as SegmentedButton,
|
|
5054
|
+
yl as Select,
|
|
5055
|
+
rn as SelectableText,
|
|
5056
|
+
bl as SensoryFeedback,
|
|
5057
|
+
Sl as SequenceGesture,
|
|
5058
|
+
vl as Shadow,
|
|
5059
|
+
Cl as Shake,
|
|
5060
|
+
wn as ShareLink,
|
|
5061
|
+
An as Sheet,
|
|
5062
|
+
kl as Shortcuts,
|
|
5063
|
+
wl as Side,
|
|
5064
|
+
El as Sidebar,
|
|
5065
|
+
Nl as Signal,
|
|
5066
|
+
xl as SimultaneousGesture,
|
|
5067
|
+
Tl as Size,
|
|
5068
|
+
$h as Skeleton,
|
|
5069
|
+
$l as Slider,
|
|
5070
|
+
Qi as SliverAppBar,
|
|
5071
|
+
Ji as SliverList,
|
|
5072
|
+
Dn as SnackBar,
|
|
5073
|
+
Bl as Snap,
|
|
5074
|
+
Ll as SnapAxis,
|
|
5075
|
+
Pl as Space,
|
|
5076
|
+
bh as Spacer,
|
|
5077
|
+
Rl as SpatialTapGesture,
|
|
5078
|
+
Bh as Spinner,
|
|
5079
|
+
Al as StackAlign,
|
|
5080
|
+
Ml as Stepper,
|
|
5081
|
+
Qn as Store,
|
|
5082
|
+
Fl as Stroke,
|
|
5083
|
+
Nn as SwipeRow,
|
|
5084
|
+
Il as Switch,
|
|
5085
|
+
Dl as SwitchTile,
|
|
5086
|
+
Ae as TONE_LEVELS,
|
|
5087
|
+
Hn as TabView,
|
|
5088
|
+
Vh as Table,
|
|
5089
|
+
Ol as TableVariant,
|
|
5090
|
+
Gh as Tags,
|
|
5091
|
+
jl as TapGesture,
|
|
5092
|
+
Hl as Text,
|
|
5093
|
+
Wl as TextAlign,
|
|
5094
|
+
Vl as TextDirection,
|
|
5095
|
+
Gl as TextField,
|
|
5096
|
+
zl as TextRole,
|
|
5097
|
+
Ul as Textarea,
|
|
5098
|
+
Xl as Theme,
|
|
5099
|
+
Kl as TimePicker,
|
|
5100
|
+
Yl as Timeline,
|
|
5101
|
+
Un as Toolbar,
|
|
5102
|
+
Gi as ToolbarItem,
|
|
5103
|
+
ql as Tooltip,
|
|
5104
|
+
ih as Transform,
|
|
5105
|
+
Zl as Trend,
|
|
5106
|
+
nh as Unit,
|
|
5107
|
+
Ql as ValueBuilder,
|
|
5108
|
+
an as VideoPlayer,
|
|
5109
|
+
Xi as ViewThatFits,
|
|
5110
|
+
Jl as VirtualColumn,
|
|
5111
|
+
tc as VirtualRow,
|
|
5112
|
+
on as WebView,
|
|
5113
|
+
ec as Weight,
|
|
5114
|
+
sc as WheelPicker,
|
|
5115
|
+
rc as When,
|
|
5116
|
+
ic as Wizard,
|
|
5117
|
+
qi as Wrap,
|
|
5118
|
+
gh as ZStack,
|
|
5119
|
+
nc as applyEdgeSet,
|
|
5120
|
+
ac as applyResponsiveStyles,
|
|
5121
|
+
ji as bindHotkeys,
|
|
5122
|
+
oc as bindText,
|
|
5123
|
+
lr as canvasEngine,
|
|
5124
|
+
ra as clearPersistedState,
|
|
5125
|
+
qn as clearRoutes,
|
|
5126
|
+
ta as clearStores,
|
|
5127
|
+
lc as collection,
|
|
5128
|
+
cc as computed,
|
|
5129
|
+
uc as copyWithTheme,
|
|
5130
|
+
ah as createPage,
|
|
5131
|
+
hc as createReactivityRoot,
|
|
5132
|
+
dc as createStore,
|
|
5133
|
+
oh as cssCurve,
|
|
5134
|
+
fc as cupertinoTheme,
|
|
5135
|
+
mc as email,
|
|
5136
|
+
pc as endSsrRequest,
|
|
5137
|
+
gc as ensureInteractionFxCss,
|
|
5138
|
+
_c as ensureListId,
|
|
5139
|
+
yc as ensureMotionCss,
|
|
5140
|
+
bc as equalTo,
|
|
5141
|
+
Sc as extendTheme,
|
|
5142
|
+
vc as fiboDevStats,
|
|
5143
|
+
Cc as formDataToValues,
|
|
5144
|
+
kc as getCss,
|
|
5145
|
+
wc as getCurrentScope,
|
|
5146
|
+
Ec as getMotionCss,
|
|
5147
|
+
ia as getPersistedState,
|
|
5148
|
+
Yn as getRegisteredRoutes,
|
|
5149
|
+
Jn as getStore,
|
|
5150
|
+
Nc as getStyleTag,
|
|
5151
|
+
Oi as goHash,
|
|
5152
|
+
pn as googleEngine,
|
|
5153
|
+
xc as infinity,
|
|
5154
|
+
Tc as integer,
|
|
5155
|
+
$c as interactionEffectClass,
|
|
5156
|
+
Bc as interactionEffectKebab,
|
|
5157
|
+
Lc as interp,
|
|
5158
|
+
Pc as isFixedNumericFrame,
|
|
5159
|
+
Rc as isSizeWord,
|
|
5160
|
+
ea as isStore,
|
|
5161
|
+
Yh as lazyRoute,
|
|
5162
|
+
mn as leafletEngine,
|
|
5163
|
+
Ac as listSignal,
|
|
5164
|
+
Mc as matchedGeometryKeys,
|
|
5165
|
+
Fc as matchedGeometryRect,
|
|
5166
|
+
Ic as materialTheme,
|
|
5167
|
+
Dc as max,
|
|
5168
|
+
Oc as maxLength,
|
|
5169
|
+
jc as min,
|
|
5170
|
+
Hc as minLength,
|
|
5171
|
+
Wc as mount,
|
|
5172
|
+
Vc as noirTheme,
|
|
5173
|
+
Gc as normalizeInteractionEffect,
|
|
5174
|
+
zc as normalizePreset,
|
|
5175
|
+
Uc as observable,
|
|
5176
|
+
Pe as open,
|
|
5177
|
+
Di as openExternal,
|
|
5178
|
+
lh as page,
|
|
5179
|
+
Xc as pattern,
|
|
5180
|
+
sa as persist,
|
|
5181
|
+
qh as preloadRoute,
|
|
5182
|
+
Kc as reducePreferences,
|
|
5183
|
+
Zn as registerRoute,
|
|
5184
|
+
Yc as required,
|
|
5185
|
+
qc as resetFiboDevStats,
|
|
5186
|
+
Zc as resolveCssEase,
|
|
5187
|
+
Qc as resolveEdgeInsets,
|
|
5188
|
+
Jc as resolveFrameSize,
|
|
5189
|
+
tu as resolveTheme,
|
|
5190
|
+
eu as rule,
|
|
5191
|
+
su as runInScope,
|
|
5192
|
+
Ne as scrollTo,
|
|
5193
|
+
ru as signal,
|
|
5194
|
+
iu as sizeWordCss,
|
|
5195
|
+
nu as springEase,
|
|
5196
|
+
au as stackAlignFlex,
|
|
5197
|
+
xe as startViewTransition,
|
|
5198
|
+
Ct as storageAdapters,
|
|
5199
|
+
ou as supportsScrollTimeline,
|
|
5200
|
+
lu as supportsViewTimeline,
|
|
5201
|
+
cu as themeClassName,
|
|
5202
|
+
uu as themeToCssRule,
|
|
5203
|
+
hu as themeToCssVars,
|
|
5204
|
+
du as themeToInlineStyle,
|
|
5205
|
+
fu as toCrossAxis,
|
|
5206
|
+
mu as toElement,
|
|
5207
|
+
pu as toMainAxis,
|
|
5208
|
+
gu as toMediaQuery,
|
|
5209
|
+
Vi as tone,
|
|
5210
|
+
re as toneScale,
|
|
5211
|
+
Hi as transaction,
|
|
5212
|
+
_u as url,
|
|
5213
|
+
yu as useBuilderState,
|
|
5214
|
+
bu as useFiboTheme,
|
|
5215
|
+
Su as useLocation,
|
|
5216
|
+
vu as useMountTransition,
|
|
5217
|
+
Cu as useNavigate,
|
|
5218
|
+
ku as useObservable,
|
|
5219
|
+
wu as useParams,
|
|
5220
|
+
Eu as usePrefersReducedMotion,
|
|
5221
|
+
Nu as useProvider,
|
|
5222
|
+
xu as useQuery,
|
|
5223
|
+
Tu as useReactiveStore,
|
|
5224
|
+
Zh as useRouteMeta,
|
|
5225
|
+
$u as useRouter,
|
|
5226
|
+
Bu as useScaffold,
|
|
5227
|
+
Lu as useScrollProgress,
|
|
5228
|
+
Pu as useSignal,
|
|
5229
|
+
Ru as useSpring,
|
|
5230
|
+
Au as useStagger,
|
|
5231
|
+
Li as useStore,
|
|
5232
|
+
Mu as useTransition,
|
|
5233
|
+
Fu as useViewportWidth,
|
|
5234
|
+
Iu as webTheme,
|
|
5235
|
+
Wi as withAnimation,
|
|
5236
|
+
ch as withFiboStyles,
|
|
5237
|
+
Nt as withTransaction,
|
|
5238
|
+
Du as wrapAlignmentGuide,
|
|
5239
|
+
Ou as wrapClipShape,
|
|
5240
|
+
ju as wrapClipped,
|
|
5241
|
+
Hu as wrapCompositingGroup,
|
|
5242
|
+
Wu as wrapContainerRelativeFrame,
|
|
5243
|
+
Vu as wrapContentShape,
|
|
5244
|
+
Gu as wrapFixedSize,
|
|
5245
|
+
zu as wrapFrame,
|
|
5246
|
+
Uu as wrapLayer,
|
|
5247
|
+
Xu as wrapLayoutPriority,
|
|
5248
|
+
Ku as wrapMask,
|
|
5249
|
+
Yu as wrapMatchedGeometry,
|
|
5250
|
+
qu as wrapOffset,
|
|
5251
|
+
Zu as wrapOnGeometryChange,
|
|
5252
|
+
Qu as wrapOnPreferenceChange,
|
|
5253
|
+
Ju as wrapPreference,
|
|
5254
|
+
th as wrapSafeAreaInset,
|
|
5255
|
+
Ii as writeClipboard
|
|
5171
5256
|
};
|