fiboui 1.0.2 → 2.0.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 +138 -92
- package/dist/FineGrain-kBxv0WeR.js +29 -0
- package/dist/Link-DDzSPY1Q.js +88 -0
- package/dist/PluginManager-D5-ApsSN.js +111 -0
- package/dist/Router-i6Nc6qVs.js +386 -0
- package/dist/builder-DjLYXkXu.js +1842 -0
- package/dist/bundle-mjs-wppB-TKB.js +2760 -0
- package/dist/cli/bin.js +20 -0
- package/dist/cli/commands/generate/component.js +67 -0
- package/dist/cli/commands/generate/index.js +10 -0
- package/dist/cli/commands/generate/module.js +58 -0
- package/dist/cli/commands/generate/plugin.js +67 -0
- package/dist/cli/commands/init.js +58 -0
- package/dist/content.js +17 -0
- package/dist/core.js +33 -0
- package/dist/{effects-D16XdB_d.mjs → effects-CnevV566.js} +1 -0
- package/dist/index-B1av7e36.js +1102 -0
- package/dist/index-BQGRpkzR.js +1024 -0
- package/dist/index-CTRZRn9S.js +90 -0
- package/dist/index-DKFr-sai.js +33 -0
- package/dist/index-Dm4j2mMM.js +1031 -0
- package/dist/index-RbfIZuAo.js +119 -0
- package/dist/index-yeYkDTAx.js +778 -0
- package/dist/index.d.ts +43753 -6
- package/dist/index.js +2054 -0
- package/dist/interactive.js +12 -0
- package/dist/layout.js +18 -0
- package/dist/mount-sAVX_FBU.js +95 -0
- package/dist/navigation.js +13 -0
- package/dist/provider-B0eB-Wy7.js +286 -0
- package/dist/structure.js +15 -0
- package/dist/style.css +1 -1
- package/dist/style.js +1 -0
- package/dist/theme.js +9 -0
- package/package.json +88 -13
- package/dist/content/Alert/index.d.ts +0 -878
- package/dist/content/Avatar/index.d.ts +0 -886
- package/dist/content/Badge/index.d.ts +0 -887
- package/dist/content/Image/index.d.ts +0 -893
- package/dist/content/Label/index.d.ts +0 -879
- package/dist/content/Progress/index.d.ts +0 -898
- package/dist/content/Skeleton/index.d.ts +0 -879
- package/dist/content/Spinner/index.d.ts +0 -880
- package/dist/content/Text/index.d.ts +0 -878
- package/dist/content/index.d.ts +0 -9
- package/dist/core/StateWrapper.d.ts +0 -31
- package/dist/core/builder.d.ts +0 -58
- package/dist/core/component.d.ts +0 -7
- package/dist/core/effects.d.ts +0 -4
- package/dist/core/hooks.d.ts +0 -5
- package/dist/core/icons.d.ts +0 -11
- package/dist/core/index.d.ts +0 -6
- package/dist/core/state.d.ts +0 -86
- package/dist/core/types.d.ts +0 -51
- package/dist/demo.d.ts +0 -7
- package/dist/index.esm.js +0 -4777
- package/dist/index.umd.js +0 -251
- package/dist/interactive/Button/index.d.ts +0 -897
- package/dist/interactive/Checkbox/index.d.ts +0 -884
- package/dist/interactive/Combobox/index.d.ts +0 -898
- package/dist/interactive/RadioGroup/index.d.ts +0 -888
- package/dist/interactive/Select/index.d.ts +0 -895
- package/dist/interactive/Switch/index.d.ts +0 -881
- package/dist/interactive/TextField/index.d.ts +0 -893
- package/dist/interactive/Textarea/index.d.ts +0 -890
- package/dist/interactive/index.d.ts +0 -8
- package/dist/layout/Center/index.d.ts +0 -869
- package/dist/layout/Column/index.d.ts +0 -881
- package/dist/layout/Container/index.d.ts +0 -870
- package/dist/layout/DashboardLayout/index.d.ts +0 -870
- package/dist/layout/Header/index.d.ts +0 -870
- package/dist/layout/Line/index.d.ts +0 -872
- package/dist/layout/Row/index.d.ts +0 -879
- package/dist/layout/Scaffold/index.d.ts +0 -878
- package/dist/layout/ScrollView/index.d.ts +0 -879
- package/dist/layout/Sidebar/index.d.ts +0 -870
- package/dist/layout/Spacer/index.d.ts +0 -875
- package/dist/layout/StakentComponents.d.ts +0 -4
- package/dist/layout/index.d.ts +0 -11
- package/dist/structure/Banner/index.d.ts +0 -879
- package/dist/structure/Box/index.d.ts +0 -869
- package/dist/structure/Card/index.d.ts +0 -881
- package/dist/structure/Collapse/index.d.ts +0 -884
- package/dist/structure/Grid/index.d.ts +0 -1757
- package/dist/structure/List/index.d.ts +0 -888
- package/dist/structure/Table/index.d.ts +0 -895
- package/dist/structure/Tags/index.d.ts +0 -876
- package/dist/structure/cards/AssetCard/index.d.ts +0 -884
- package/dist/structure/cards/CollectionCard/index.d.ts +0 -880
- package/dist/structure/cards/ContentCard/index.d.ts +0 -884
- package/dist/structure/cards/ProfileCard/index.d.ts +0 -892
- package/dist/structure/cards/index.d.ts +0 -5
- package/dist/structure/cards/variants/index.d.ts +0 -3490
- package/dist/structure/index.d.ts +0 -9
- package/dist/theme/cupertino.d.ts +0 -3
- package/dist/theme/index.d.ts +0 -5
- package/dist/theme/material.d.ts +0 -3
- package/dist/theme/provider.d.ts +0 -16
- package/dist/theme/types.d.ts +0 -57
- package/dist/theme/web.d.ts +0 -3
- package/src/content/Alert/index.ts +0 -110
- package/src/content/Avatar/index.ts +0 -116
- package/src/content/Badge/index.ts +0 -162
- package/src/content/Image/index.ts +0 -137
- package/src/content/Label/index.ts +0 -66
- package/src/content/Progress/index.ts +0 -378
- package/src/content/Skeleton/index.ts +0 -71
- package/src/content/Spinner/index.ts +0 -139
- package/src/content/Text/index.ts +0 -74
- package/src/content/index.ts +0 -9
- package/src/core/StateWrapper.tsx +0 -131
- package/src/core/builder.ts +0 -301
- package/src/core/component.ts +0 -49
- package/src/core/effects.ts +0 -27
- package/src/core/hooks.ts +0 -48
- package/src/core/icons.tsx +0 -57
- package/src/core/index.ts +0 -6
- package/src/core/state.ts +0 -297
- package/src/core/types.ts +0 -62
- package/src/demo.tsx +0 -1050
- package/src/index.ts +0 -8
- package/src/interactive/Button/index.ts +0 -219
- package/src/interactive/Checkbox/index.ts +0 -145
- package/src/interactive/Combobox/index.ts +0 -278
- package/src/interactive/RadioGroup/index.ts +0 -124
- package/src/interactive/Select/index.ts +0 -227
- package/src/interactive/Switch/index.ts +0 -123
- package/src/interactive/TextField/index.ts +0 -223
- package/src/interactive/Textarea/index.ts +0 -129
- package/src/interactive/index.ts +0 -8
- package/src/layout/Center/index.ts +0 -34
- package/src/layout/Column/index.ts +0 -101
- package/src/layout/Container/index.ts +0 -28
- package/src/layout/DashboardLayout/index.ts +0 -106
- package/src/layout/Header/index.ts +0 -50
- package/src/layout/Line/index.ts +0 -41
- package/src/layout/Row/index.ts +0 -93
- package/src/layout/Scaffold/index.ts +0 -133
- package/src/layout/ScrollView/index.ts +0 -67
- package/src/layout/Sidebar/index.ts +0 -56
- package/src/layout/Spacer/index.ts +0 -46
- package/src/layout/StakentComponents.tsx +0 -57
- package/src/layout/index.ts +0 -11
- package/src/structure/Banner/index.ts +0 -92
- package/src/structure/Box/index.ts +0 -46
- package/src/structure/Card/index.ts +0 -113
- package/src/structure/Collapse/index.ts +0 -122
- package/src/structure/Grid/index.ts +0 -197
- package/src/structure/List/index.ts +0 -185
- package/src/structure/Table/index.ts +0 -165
- package/src/structure/Tags/index.ts +0 -69
- package/src/structure/cards/AssetCard/index.ts +0 -158
- package/src/structure/cards/CollectionCard/index.ts +0 -95
- package/src/structure/cards/ContentCard/index.ts +0 -127
- package/src/structure/cards/ProfileCard/index.ts +0 -152
- package/src/structure/cards/index.ts +0 -5
- package/src/structure/cards/variants/index.ts +0 -301
- package/src/structure/index.ts +0 -10
- package/src/styles/base.css +0 -186
- package/src/styles/core.css +0 -52
- package/src/styles/themes/cupertino.css +0 -197
- package/src/styles/themes/material.css +0 -322
- package/src/styles/themes/web.css +0 -196
- package/src/theme/cupertino.ts +0 -85
- package/src/theme/index.ts +0 -5
- package/src/theme/material.ts +0 -86
- package/src/theme/provider.tsx +0 -76
- package/src/theme/types.ts +0 -62
- package/src/theme/web.ts +0 -82
package/dist/index.js
ADDED
|
@@ -0,0 +1,2054 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
var re = Object.defineProperty;
|
|
3
|
+
var ie = (a, e, t) => e in a ? re(a, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : a[e] = t;
|
|
4
|
+
var d = (a, e, t) => ie(a, typeof e != "symbol" ? e + "" : e, t);
|
|
5
|
+
import { h as D, F as G, m as se, p as ne } from "./builder-DjLYXkXu.js";
|
|
6
|
+
import { C as rr, O as ir, d as sr, P as nr, R as ar, S as or, V as lr, f as hr, c as ur, b as cr, a as dr, g as fr, o as _r, r as pr, s as mr, u as yr, e as gr } from "./builder-DjLYXkXu.js";
|
|
7
|
+
import { d as br, F as wr, c as kr, m as xr, t as $r, b as Sr, a as Or, u as Tr } from "./mount-sAVX_FBU.js";
|
|
8
|
+
import { F as Cr, b as Rr } from "./FineGrain-kBxv0WeR.js";
|
|
9
|
+
import { P as Ir } from "./PluginManager-D5-ApsSN.js";
|
|
10
|
+
import { F as Lr, c as Fr, m as Pr, u as Nr, w as Ar } from "./provider-B0eB-Wy7.js";
|
|
11
|
+
import { S as X, a as H } from "./index-yeYkDTAx.js";
|
|
12
|
+
import { C as Hr, b as jr, D as zr, H as Dr, L as Gr, c as Yr, e as Vr, d as Xr, V as Ur, Z as Zr } from "./index-yeYkDTAx.js";
|
|
13
|
+
import { R as z } from "./index-RbfIZuAo.js";
|
|
14
|
+
import { I as Qr } from "./index-RbfIZuAo.js";
|
|
15
|
+
import { B as st, d as j, A as ae, I as oe } from "./index-Dm4j2mMM.js";
|
|
16
|
+
import { b as Kr, c as ti, L as ei, P as ri, a as ii, S as si } from "./index-Dm4j2mMM.js";
|
|
17
|
+
import { T as M } from "./index-CTRZRn9S.js";
|
|
18
|
+
import { B as Mt } from "./index-B1av7e36.js";
|
|
19
|
+
import { C as ai, c as oi, R as li, b as hi, S as ui, T as ci, a as di } from "./index-B1av7e36.js";
|
|
20
|
+
import { B as E } from "./index-DKFr-sai.js";
|
|
21
|
+
import { C as J } from "./index-BQGRpkzR.js";
|
|
22
|
+
import { B as _i, c as pi, G as mi, d as yi, L as gi, a as vi, T as bi, b as wi } from "./index-BQGRpkzR.js";
|
|
23
|
+
import $ from "react";
|
|
24
|
+
import { R as xi } from "./Router-i6Nc6qVs.js";
|
|
25
|
+
import { L as Si, N as Oi, c as Ti, a as Mi, b as Ci, d as Ri, u as Ei } from "./Link-DDzSPY1Q.js";
|
|
26
|
+
const le = $.memo((a) => {
|
|
27
|
+
const { image: e, title: t, price: s, likes: h, timeLeft: _, className: v, style: w, ...T } = a;
|
|
28
|
+
return J().classNames(["group", "transition-all", "duration-300", "hover:-translate-y-1"]).style({
|
|
29
|
+
width: "100%",
|
|
30
|
+
borderRadius: "24px",
|
|
31
|
+
border: "none",
|
|
32
|
+
boxShadow: "0 10px 40px -10px rgba(0,0,0,0.05)",
|
|
33
|
+
padding: "16px",
|
|
34
|
+
background: "#fff",
|
|
35
|
+
...w
|
|
36
|
+
}).className(v).props(T).children([
|
|
37
|
+
E().classNames(["relative", "aspect-square", "overflow-hidden", "rounded-[20px]"]).children([
|
|
38
|
+
E().classNames(["w-full", "h-full", "bg-gray-200", "bg-cover", "bg-center"]).style({ backgroundImage: `url(${e})` }).build(),
|
|
39
|
+
E().classNames(["absolute", "top-3", "right-3"]).children(
|
|
40
|
+
st().variant("glass").shape("pill").icon(E().classNames(["text-gray-400", "hover:text-red-500"]).children(j.Heart).build()).text(`${h}`).build()
|
|
41
|
+
).build()
|
|
42
|
+
]).build(),
|
|
43
|
+
X().height(16).build(),
|
|
44
|
+
z().justifyContent("between").alignItems("start").children([
|
|
45
|
+
H().gap(4).children([
|
|
46
|
+
M(t).fontWeight(700).fontSize(18).color("#111827").build(),
|
|
47
|
+
st().variant("neutral").text("Not for sale x1").build()
|
|
48
|
+
]).build(),
|
|
49
|
+
E().classNames(["text-gray-300"]).children(j.More).build()
|
|
50
|
+
]).build(),
|
|
51
|
+
X().height(16).build(),
|
|
52
|
+
z().justifyContent("between").alignItems("center").children([
|
|
53
|
+
H().gap(4).children([
|
|
54
|
+
M("Current Bid").fontSize(11).fontWeight(600).color("#6B7280").build(),
|
|
55
|
+
z().gap(4).alignItems("center").children([
|
|
56
|
+
E().classNames(["text-blue-500"]).children(j.Eth).build(),
|
|
57
|
+
M(`${s} ETH`).fontSize(15).fontWeight(700).color("#111827").build()
|
|
58
|
+
]).build()
|
|
59
|
+
]).build(),
|
|
60
|
+
Mt("Place a bid").variant("filled").shape("pill").shadow("soft").style({
|
|
61
|
+
backgroundColor: "#111827",
|
|
62
|
+
color: "#fff",
|
|
63
|
+
padding: "10px 20px",
|
|
64
|
+
fontSize: "13px",
|
|
65
|
+
fontWeight: 600
|
|
66
|
+
}).build()
|
|
67
|
+
]).build(),
|
|
68
|
+
X().height(12).build(),
|
|
69
|
+
_ ? st().variant("accent").shape("rounded").icon(E().children(j.Clock).build()).text(_).style({ width: "100%" }).build() : null
|
|
70
|
+
]).build();
|
|
71
|
+
});
|
|
72
|
+
class he extends G {
|
|
73
|
+
constructor() {
|
|
74
|
+
super(...arguments);
|
|
75
|
+
d(this, "_image", "");
|
|
76
|
+
d(this, "_title", "");
|
|
77
|
+
d(this, "_price", "");
|
|
78
|
+
d(this, "_likes", "");
|
|
79
|
+
d(this, "_timeLeft");
|
|
80
|
+
}
|
|
81
|
+
image(t) {
|
|
82
|
+
return this._image = t, this;
|
|
83
|
+
}
|
|
84
|
+
title(t) {
|
|
85
|
+
return this._title = t, this;
|
|
86
|
+
}
|
|
87
|
+
price(t) {
|
|
88
|
+
return this._price = t, this;
|
|
89
|
+
}
|
|
90
|
+
likes(t) {
|
|
91
|
+
return this._likes = t, this;
|
|
92
|
+
}
|
|
93
|
+
timeLeft(t) {
|
|
94
|
+
return this._timeLeft = t, this;
|
|
95
|
+
}
|
|
96
|
+
build() {
|
|
97
|
+
const t = {
|
|
98
|
+
image: this._image,
|
|
99
|
+
title: this._title,
|
|
100
|
+
price: this._price,
|
|
101
|
+
likes: this._likes,
|
|
102
|
+
timeLeft: this._timeLeft,
|
|
103
|
+
className: this.getClassName(),
|
|
104
|
+
style: this.getStyle(),
|
|
105
|
+
...this._props
|
|
106
|
+
};
|
|
107
|
+
return $.createElement(le, t);
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
const Pe = D(he), ue = $.memo((a) => {
|
|
111
|
+
const { banner: e, avatar: t, name: s, handle: h, stats: _, className: v, style: w, ...T } = a;
|
|
112
|
+
return J().style({
|
|
113
|
+
width: "100%",
|
|
114
|
+
borderRadius: "24px",
|
|
115
|
+
border: "none",
|
|
116
|
+
boxShadow: "0 10px 40px -10px rgba(0,0,0,0.05)",
|
|
117
|
+
padding: "0",
|
|
118
|
+
overflow: "hidden",
|
|
119
|
+
background: "#fff",
|
|
120
|
+
...w
|
|
121
|
+
}).className(v).props(T).children([
|
|
122
|
+
E().style({ height: "100px", backgroundImage: `url(${e})`, backgroundSize: "cover", backgroundPosition: "center" }).build(),
|
|
123
|
+
H().padding(20).alignItems("center").style({ marginTop: "-50px" }).children([
|
|
124
|
+
ae().image(t).size(80).border("4px solid #fff").build(),
|
|
125
|
+
X().height(12).build(),
|
|
126
|
+
z().gap(6).alignItems("center").children([
|
|
127
|
+
M(s).fontWeight(700).fontSize(18).color("#111827").build(),
|
|
128
|
+
j.Verify
|
|
129
|
+
]).build(),
|
|
130
|
+
M(h).fontSize(13).color("#6B7280").style({ marginTop: "4px" }).build(),
|
|
131
|
+
X().height(16).build(),
|
|
132
|
+
Mt("+ Follow").variant("filled").shape("pill").shadow("soft").style({
|
|
133
|
+
backgroundColor: "#3B82F6",
|
|
134
|
+
color: "#fff",
|
|
135
|
+
padding: "8px 24px",
|
|
136
|
+
fontSize: "13px",
|
|
137
|
+
fontWeight: 600
|
|
138
|
+
}).build(),
|
|
139
|
+
X().height(24).build(),
|
|
140
|
+
z().classNames(["w-full", "border-t", "border-gray-100", "pt-4"]).justifyContent("between").children([
|
|
141
|
+
H().alignItems("center").gap(4).children([
|
|
142
|
+
M(_.items).fontWeight(700).fontSize(14).build(),
|
|
143
|
+
M("Items").fontSize(11).color("#9CA3AF").build()
|
|
144
|
+
]).build(),
|
|
145
|
+
H().alignItems("center").gap(4).children([
|
|
146
|
+
M(_.owners).fontWeight(700).fontSize(14).build(),
|
|
147
|
+
M("Owners").fontSize(11).color("#9CA3AF").build()
|
|
148
|
+
]).build(),
|
|
149
|
+
H().alignItems("center").gap(4).children([
|
|
150
|
+
z().alignItems("center").gap(2).children([
|
|
151
|
+
E().width(8).children(j.Eth).build(),
|
|
152
|
+
M(_.floor).fontWeight(700).fontSize(14).build()
|
|
153
|
+
]).build(),
|
|
154
|
+
M("Floor").fontSize(11).color("#9CA3AF").build()
|
|
155
|
+
]).build()
|
|
156
|
+
]).build()
|
|
157
|
+
]).build()
|
|
158
|
+
]).build();
|
|
159
|
+
});
|
|
160
|
+
class ce extends G {
|
|
161
|
+
constructor() {
|
|
162
|
+
super(...arguments);
|
|
163
|
+
d(this, "_banner", "");
|
|
164
|
+
d(this, "_avatar", "");
|
|
165
|
+
d(this, "_name", "");
|
|
166
|
+
d(this, "_handle", "");
|
|
167
|
+
d(this, "_stats", { items: "0", owners: "0", floor: "0" });
|
|
168
|
+
}
|
|
169
|
+
banner(t) {
|
|
170
|
+
return this._banner = t, this;
|
|
171
|
+
}
|
|
172
|
+
avatar(t) {
|
|
173
|
+
return this._avatar = t, this;
|
|
174
|
+
}
|
|
175
|
+
name(t) {
|
|
176
|
+
return this._name = t, this;
|
|
177
|
+
}
|
|
178
|
+
handle(t) {
|
|
179
|
+
return this._handle = t, this;
|
|
180
|
+
}
|
|
181
|
+
stats(t) {
|
|
182
|
+
return this._stats = t, this;
|
|
183
|
+
}
|
|
184
|
+
build() {
|
|
185
|
+
const t = {
|
|
186
|
+
banner: this._banner,
|
|
187
|
+
avatar: this._avatar,
|
|
188
|
+
name: this._name,
|
|
189
|
+
handle: this._handle,
|
|
190
|
+
stats: this._stats,
|
|
191
|
+
className: this.getClassName(),
|
|
192
|
+
style: this.getStyle(),
|
|
193
|
+
...this._props
|
|
194
|
+
};
|
|
195
|
+
return $.createElement(ue, t);
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
const Ne = D(ce), de = $.memo((a) => {
|
|
199
|
+
const { image: e, title: t, author: s, items: h, className: _, style: v, ...w } = a;
|
|
200
|
+
return J().classNames(["group", "cursor-pointer"]).style({
|
|
201
|
+
width: "100%",
|
|
202
|
+
borderRadius: "24px",
|
|
203
|
+
height: "320px",
|
|
204
|
+
position: "relative",
|
|
205
|
+
overflow: "hidden",
|
|
206
|
+
border: "none",
|
|
207
|
+
...v
|
|
208
|
+
}).className(_).props(w).children([
|
|
209
|
+
E().classNames(["absolute", "inset-0", "bg-cover", "bg-center", "transition-transform", "duration-500"]).style({ backgroundImage: `url(${e})` }).build(),
|
|
210
|
+
E().classNames(["absolute", "inset-0", "bg-gradient-to-t", "from-black/80", "via-black/20", "to-transparent"]).build(),
|
|
211
|
+
H().classNames(["absolute", "bottom-0", "left-0", "p-6"]).gap(4).children([
|
|
212
|
+
M(h).color("white").fontSize(12).classNames(["opacity-90", "mb-1", "uppercase", "tracking-wider"]).fontWeight(600).build(),
|
|
213
|
+
M(t).color("white").fontSize(22).fontWeight(700).build(),
|
|
214
|
+
z().gap(6).alignItems("center").children([
|
|
215
|
+
M("Created by").color("white").fontSize(13).classNames(["opacity-80"]).build(),
|
|
216
|
+
M(s).color("white").fontSize(13).fontWeight(600).build(),
|
|
217
|
+
j.Verify
|
|
218
|
+
]).build()
|
|
219
|
+
]).build()
|
|
220
|
+
]).build();
|
|
221
|
+
});
|
|
222
|
+
class fe extends G {
|
|
223
|
+
constructor() {
|
|
224
|
+
super(...arguments);
|
|
225
|
+
d(this, "_image", "");
|
|
226
|
+
d(this, "_title", "");
|
|
227
|
+
d(this, "_author", "");
|
|
228
|
+
d(this, "_items", "");
|
|
229
|
+
}
|
|
230
|
+
image(t) {
|
|
231
|
+
return this._image = t, this;
|
|
232
|
+
}
|
|
233
|
+
title(t) {
|
|
234
|
+
return this._title = t, this;
|
|
235
|
+
}
|
|
236
|
+
author(t) {
|
|
237
|
+
return this._author = t, this;
|
|
238
|
+
}
|
|
239
|
+
items(t) {
|
|
240
|
+
return this._items = t, this;
|
|
241
|
+
}
|
|
242
|
+
build() {
|
|
243
|
+
const t = {
|
|
244
|
+
image: this._image,
|
|
245
|
+
title: this._title,
|
|
246
|
+
author: this._author,
|
|
247
|
+
items: this._items,
|
|
248
|
+
className: this.getClassName(),
|
|
249
|
+
style: this.getStyle(),
|
|
250
|
+
...this._props
|
|
251
|
+
};
|
|
252
|
+
return $.createElement(de, t);
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
const Ae = D(fe), _e = $.memo((a) => {
|
|
256
|
+
const {
|
|
257
|
+
image: e,
|
|
258
|
+
title: t,
|
|
259
|
+
description: s,
|
|
260
|
+
date: h,
|
|
261
|
+
source: _,
|
|
262
|
+
className: v,
|
|
263
|
+
style: w
|
|
264
|
+
} = a;
|
|
265
|
+
return J().className(`overflow-hidden hover:shadow-lg transition-shadow duration-300 ${v}`).style(w).children([
|
|
266
|
+
e ? oe().src(e).className("w-full object-cover rounded-[20px] mb-4").style({ height: "200px" }).build() : null,
|
|
267
|
+
E().className("flex flex-col gap-2").children([
|
|
268
|
+
t ? M(t).fontSize(18).fontWeight(700).color("#111827").lineHeight(1.25).build() : null,
|
|
269
|
+
s ? M(s).fontSize(14).color("#4B5563").lineHeight(1.5).className("line-clamp-2").build() : null,
|
|
270
|
+
_ || h ? E().className("flex items-center gap-2 mt-2").children([
|
|
271
|
+
M(`${_ || ""}${_ && h ? " • " : ""}${h || ""}`).fontSize(11).fontWeight(600).color("#9CA3AF").textTransform("uppercase").letterSpacing("0.05em").build()
|
|
272
|
+
]).build() : null
|
|
273
|
+
]).build()
|
|
274
|
+
]).build();
|
|
275
|
+
});
|
|
276
|
+
class pe extends G {
|
|
277
|
+
constructor() {
|
|
278
|
+
super(...arguments);
|
|
279
|
+
d(this, "_image");
|
|
280
|
+
d(this, "_title");
|
|
281
|
+
d(this, "_description");
|
|
282
|
+
d(this, "_date");
|
|
283
|
+
d(this, "_source");
|
|
284
|
+
}
|
|
285
|
+
image(t) {
|
|
286
|
+
return this._image = t, this;
|
|
287
|
+
}
|
|
288
|
+
title(t) {
|
|
289
|
+
return this._title = t, this;
|
|
290
|
+
}
|
|
291
|
+
description(t) {
|
|
292
|
+
return this._description = t, this;
|
|
293
|
+
}
|
|
294
|
+
date(t) {
|
|
295
|
+
return this._date = t, this;
|
|
296
|
+
}
|
|
297
|
+
source(t) {
|
|
298
|
+
return this._source = t, this;
|
|
299
|
+
}
|
|
300
|
+
build() {
|
|
301
|
+
const t = {
|
|
302
|
+
image: this._image,
|
|
303
|
+
title: this._title,
|
|
304
|
+
description: this._description,
|
|
305
|
+
date: this._date,
|
|
306
|
+
source: this._source,
|
|
307
|
+
className: this.getClassName(),
|
|
308
|
+
style: this.getStyle(),
|
|
309
|
+
...this._props
|
|
310
|
+
};
|
|
311
|
+
return $.createElement(_e, t);
|
|
312
|
+
}
|
|
313
|
+
}
|
|
314
|
+
const We = D(pe), me = $.memo((a) => {
|
|
315
|
+
const { width: e, height: t, viewBox: s, children: h, className: _, style: v } = a;
|
|
316
|
+
return $.createElement(
|
|
317
|
+
"svg",
|
|
318
|
+
{
|
|
319
|
+
width: e,
|
|
320
|
+
height: t,
|
|
321
|
+
viewBox: s || `0 0 ${e} ${t}`,
|
|
322
|
+
className: `fibo-canvas ${_ || ""}`,
|
|
323
|
+
style: v,
|
|
324
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
325
|
+
},
|
|
326
|
+
...h
|
|
327
|
+
);
|
|
328
|
+
});
|
|
329
|
+
class ye extends G {
|
|
330
|
+
constructor() {
|
|
331
|
+
super(...arguments);
|
|
332
|
+
d(this, "_width", 100);
|
|
333
|
+
d(this, "_height", 100);
|
|
334
|
+
d(this, "_viewBox");
|
|
335
|
+
}
|
|
336
|
+
width(t) {
|
|
337
|
+
return this._width = t, this;
|
|
338
|
+
}
|
|
339
|
+
height(t) {
|
|
340
|
+
return this._height = t, this;
|
|
341
|
+
}
|
|
342
|
+
size(t, s) {
|
|
343
|
+
return this._width = t, this._height = s, this;
|
|
344
|
+
}
|
|
345
|
+
viewBox(t) {
|
|
346
|
+
return this._viewBox = t, this;
|
|
347
|
+
}
|
|
348
|
+
build() {
|
|
349
|
+
const t = this.processChildren(), s = {
|
|
350
|
+
width: this._width,
|
|
351
|
+
height: this._height,
|
|
352
|
+
viewBox: this._viewBox,
|
|
353
|
+
children: t,
|
|
354
|
+
className: this.getClassName(),
|
|
355
|
+
style: this.getStyle()
|
|
356
|
+
};
|
|
357
|
+
return $.createElement(me, s);
|
|
358
|
+
}
|
|
359
|
+
}
|
|
360
|
+
const ge = D(ye);
|
|
361
|
+
class nt {
|
|
362
|
+
constructor() {
|
|
363
|
+
d(this, "_className");
|
|
364
|
+
d(this, "_style");
|
|
365
|
+
d(this, "_fill", "#000");
|
|
366
|
+
d(this, "_stroke");
|
|
367
|
+
d(this, "_strokeWidth");
|
|
368
|
+
d(this, "_strokeDasharray");
|
|
369
|
+
d(this, "_strokeLinecap");
|
|
370
|
+
d(this, "_strokeLinejoin");
|
|
371
|
+
d(this, "_opacity");
|
|
372
|
+
d(this, "_fillOpacity");
|
|
373
|
+
d(this, "_strokeOpacity");
|
|
374
|
+
d(this, "_transform");
|
|
375
|
+
d(this, "_filter");
|
|
376
|
+
d(this, "_clipPath");
|
|
377
|
+
d(this, "_children", []);
|
|
378
|
+
d(this, "_over", []);
|
|
379
|
+
d(this, "_below", []);
|
|
380
|
+
}
|
|
381
|
+
className(e) {
|
|
382
|
+
return this._className = e, this;
|
|
383
|
+
}
|
|
384
|
+
style(e) {
|
|
385
|
+
return this._style = e, this;
|
|
386
|
+
}
|
|
387
|
+
fill(e) {
|
|
388
|
+
return typeof e == "string" ? this._fill = e : this._fill = `url(#${e.id})`, this;
|
|
389
|
+
}
|
|
390
|
+
fillColor(e) {
|
|
391
|
+
return this._fill = e, this;
|
|
392
|
+
}
|
|
393
|
+
fillRGB(e, t, s) {
|
|
394
|
+
return this._fill = `rgb(${e}, ${t}, ${s})`, this;
|
|
395
|
+
}
|
|
396
|
+
fillRGBA(e, t, s, h) {
|
|
397
|
+
return this._fill = `rgba(${e}, ${t}, ${s}, ${h})`, this;
|
|
398
|
+
}
|
|
399
|
+
fillHex(e) {
|
|
400
|
+
return this._fill = e.startsWith("#") ? e : `#${e}`, this;
|
|
401
|
+
}
|
|
402
|
+
fillOpacity(e) {
|
|
403
|
+
return this._fillOpacity = e, this;
|
|
404
|
+
}
|
|
405
|
+
stroke(e) {
|
|
406
|
+
return this._stroke = e, this;
|
|
407
|
+
}
|
|
408
|
+
strokeColor(e) {
|
|
409
|
+
return this._stroke = e, this;
|
|
410
|
+
}
|
|
411
|
+
strokeRGB(e, t, s) {
|
|
412
|
+
return this._stroke = `rgb(${e}, ${t}, ${s})`, this;
|
|
413
|
+
}
|
|
414
|
+
strokeRGBA(e, t, s, h) {
|
|
415
|
+
return this._stroke = `rgba(${e}, ${t}, ${s}, ${h})`, this;
|
|
416
|
+
}
|
|
417
|
+
strokeHex(e) {
|
|
418
|
+
return this._stroke = e.startsWith("#") ? e : `#${e}`, this;
|
|
419
|
+
}
|
|
420
|
+
strokeWidth(e) {
|
|
421
|
+
return this._strokeWidth = e, this;
|
|
422
|
+
}
|
|
423
|
+
strokeW(e) {
|
|
424
|
+
return this._strokeWidth = e, this;
|
|
425
|
+
}
|
|
426
|
+
strokeOpacity(e) {
|
|
427
|
+
return this._strokeOpacity = e, this;
|
|
428
|
+
}
|
|
429
|
+
strokeDasharray(e) {
|
|
430
|
+
return this._strokeDasharray = e, this;
|
|
431
|
+
}
|
|
432
|
+
strokeLinecap(e) {
|
|
433
|
+
return this._strokeLinecap = e, this;
|
|
434
|
+
}
|
|
435
|
+
strokeLinejoin(e) {
|
|
436
|
+
return this._strokeLinejoin = e, this;
|
|
437
|
+
}
|
|
438
|
+
dashed(e = 5, t = 5) {
|
|
439
|
+
return this._strokeDasharray = `${e} ${t}`, this;
|
|
440
|
+
}
|
|
441
|
+
dotted(e = 2, t = 2) {
|
|
442
|
+
return this._strokeDasharray = `${e} ${t}`, this._strokeLinecap = "round", this;
|
|
443
|
+
}
|
|
444
|
+
opacity(e) {
|
|
445
|
+
return this._opacity = e, this;
|
|
446
|
+
}
|
|
447
|
+
alpha(e) {
|
|
448
|
+
return this._opacity = e, this;
|
|
449
|
+
}
|
|
450
|
+
transparent(e) {
|
|
451
|
+
return this._opacity = 1 - e / 100, this;
|
|
452
|
+
}
|
|
453
|
+
opaque() {
|
|
454
|
+
return this._opacity = 1, this;
|
|
455
|
+
}
|
|
456
|
+
transform(e) {
|
|
457
|
+
return this._transform = e, this;
|
|
458
|
+
}
|
|
459
|
+
rotate(e, t, s) {
|
|
460
|
+
const h = t !== void 0 && s !== void 0 ? ` ${t} ${s}` : "";
|
|
461
|
+
return this._transform = `rotate(${e}${h})`, this;
|
|
462
|
+
}
|
|
463
|
+
scale(e, t) {
|
|
464
|
+
const s = t !== void 0 ? ` ${t}` : "";
|
|
465
|
+
return this._transform = `scale(${e}${s})`, this;
|
|
466
|
+
}
|
|
467
|
+
scaleX(e) {
|
|
468
|
+
return this._transform = `scale(${e} 1)`, this;
|
|
469
|
+
}
|
|
470
|
+
scaleY(e) {
|
|
471
|
+
return this._transform = `scale(1 ${e})`, this;
|
|
472
|
+
}
|
|
473
|
+
scaleUniform(e) {
|
|
474
|
+
return this._transform = `scale(${e})`, this;
|
|
475
|
+
}
|
|
476
|
+
translate(e, t) {
|
|
477
|
+
return this._transform = `translate(${e} ${t})`, this;
|
|
478
|
+
}
|
|
479
|
+
translateX(e) {
|
|
480
|
+
return this._transform = `translate(${e} 0)`, this;
|
|
481
|
+
}
|
|
482
|
+
translateY(e) {
|
|
483
|
+
return this._transform = `translate(0 ${e})`, this;
|
|
484
|
+
}
|
|
485
|
+
skewX(e) {
|
|
486
|
+
return this._transform = `skewX(${e})`, this;
|
|
487
|
+
}
|
|
488
|
+
skewY(e) {
|
|
489
|
+
return this._transform = `skewY(${e})`, this;
|
|
490
|
+
}
|
|
491
|
+
rotateX(e) {
|
|
492
|
+
return this._transform = `rotateX(${e}deg)`, this;
|
|
493
|
+
}
|
|
494
|
+
rotateY(e) {
|
|
495
|
+
return this._transform = `rotateY(${e}deg)`, this;
|
|
496
|
+
}
|
|
497
|
+
rotateZ(e) {
|
|
498
|
+
return this._transform = `rotateZ(${e}deg)`, this;
|
|
499
|
+
}
|
|
500
|
+
rotate3d(e, t, s, h) {
|
|
501
|
+
return this._transform = `rotate3d(${e}, ${t}, ${s}, ${h}deg)`, this;
|
|
502
|
+
}
|
|
503
|
+
perspective(e) {
|
|
504
|
+
return this._transform = `perspective(${e}px)`, this;
|
|
505
|
+
}
|
|
506
|
+
filter(e) {
|
|
507
|
+
return this._filter = e, this;
|
|
508
|
+
}
|
|
509
|
+
blur(e) {
|
|
510
|
+
return this._filter = `blur(${e}px)`, this;
|
|
511
|
+
}
|
|
512
|
+
blurPx(e) {
|
|
513
|
+
return this._filter = `blur(${e}px)`, this;
|
|
514
|
+
}
|
|
515
|
+
dropShadow(e, t, s, h) {
|
|
516
|
+
return this._filter = `drop-shadow(${e}px ${t}px ${s}px ${h})`, this;
|
|
517
|
+
}
|
|
518
|
+
shadow(e, t, s, h) {
|
|
519
|
+
return this._filter = `drop-shadow(${e}px ${t}px ${s}px ${h})`, this;
|
|
520
|
+
}
|
|
521
|
+
glow(e, t = 10) {
|
|
522
|
+
return this._filter = `drop-shadow(0 0 ${t}px ${e})`, this;
|
|
523
|
+
}
|
|
524
|
+
brightness(e) {
|
|
525
|
+
return this._filter = `brightness(${e})`, this;
|
|
526
|
+
}
|
|
527
|
+
contrast(e) {
|
|
528
|
+
return this._filter = `contrast(${e})`, this;
|
|
529
|
+
}
|
|
530
|
+
grayscale(e = 1) {
|
|
531
|
+
return this._filter = `grayscale(${e})`, this;
|
|
532
|
+
}
|
|
533
|
+
sepia(e = 1) {
|
|
534
|
+
return this._filter = `sepia(${e})`, this;
|
|
535
|
+
}
|
|
536
|
+
saturate(e) {
|
|
537
|
+
return this._filter = `saturate(${e})`, this;
|
|
538
|
+
}
|
|
539
|
+
hueRotate(e) {
|
|
540
|
+
return this._filter = `hue-rotate(${e}deg)`, this;
|
|
541
|
+
}
|
|
542
|
+
invert(e = 1) {
|
|
543
|
+
return this._filter = `invert(${e})`, this;
|
|
544
|
+
}
|
|
545
|
+
clipPath(e) {
|
|
546
|
+
return this._clipPath = e, this;
|
|
547
|
+
}
|
|
548
|
+
children(e) {
|
|
549
|
+
return this._children = e, this;
|
|
550
|
+
}
|
|
551
|
+
child(e) {
|
|
552
|
+
return this._children.push(e), this;
|
|
553
|
+
}
|
|
554
|
+
over(e) {
|
|
555
|
+
return this._over = e, this;
|
|
556
|
+
}
|
|
557
|
+
below(e) {
|
|
558
|
+
return this._below = e, this;
|
|
559
|
+
}
|
|
560
|
+
build() {
|
|
561
|
+
throw new Error("build() must be implemented by subclass");
|
|
562
|
+
}
|
|
563
|
+
}
|
|
564
|
+
function at(a) {
|
|
565
|
+
return () => new a();
|
|
566
|
+
}
|
|
567
|
+
class ve extends nt {
|
|
568
|
+
constructor() {
|
|
569
|
+
super(...arguments);
|
|
570
|
+
d(this, "_cx", 0);
|
|
571
|
+
d(this, "_cy", 0);
|
|
572
|
+
d(this, "_r", 10);
|
|
573
|
+
}
|
|
574
|
+
center(t, s) {
|
|
575
|
+
return this._cx = t, this._cy = s, this;
|
|
576
|
+
}
|
|
577
|
+
cx(t) {
|
|
578
|
+
return this._cx = t, this;
|
|
579
|
+
}
|
|
580
|
+
cy(t) {
|
|
581
|
+
return this._cy = t, this;
|
|
582
|
+
}
|
|
583
|
+
left(t) {
|
|
584
|
+
return this._cx = t + this._r, this;
|
|
585
|
+
}
|
|
586
|
+
top(t) {
|
|
587
|
+
return this._cy = t + this._r, this;
|
|
588
|
+
}
|
|
589
|
+
right(t) {
|
|
590
|
+
return this._cx = t - this._r, this;
|
|
591
|
+
}
|
|
592
|
+
bottom(t) {
|
|
593
|
+
return this._cy = t - this._r, this;
|
|
594
|
+
}
|
|
595
|
+
centerX(t) {
|
|
596
|
+
return this._cx = t, this;
|
|
597
|
+
}
|
|
598
|
+
centerY(t) {
|
|
599
|
+
return this._cy = t, this;
|
|
600
|
+
}
|
|
601
|
+
position(t, s) {
|
|
602
|
+
return this._cx = t + this._r, this._cy = s + this._r, this;
|
|
603
|
+
}
|
|
604
|
+
size(t, s) {
|
|
605
|
+
const h = (t + s) / 2;
|
|
606
|
+
return this._r = h / 2, this;
|
|
607
|
+
}
|
|
608
|
+
radius(t) {
|
|
609
|
+
return this._r = t, this;
|
|
610
|
+
}
|
|
611
|
+
r(t) {
|
|
612
|
+
return this._r = t, this;
|
|
613
|
+
}
|
|
614
|
+
diameter(t) {
|
|
615
|
+
return this._r = t / 2, this;
|
|
616
|
+
}
|
|
617
|
+
circumference(t) {
|
|
618
|
+
return this._r = t / (2 * Math.PI), this;
|
|
619
|
+
}
|
|
620
|
+
area(t) {
|
|
621
|
+
return this._r = Math.sqrt(t / Math.PI), this;
|
|
622
|
+
}
|
|
623
|
+
rotateSelf(t) {
|
|
624
|
+
return this._transform = `rotate(${t} ${this._cx} ${this._cy})`, this;
|
|
625
|
+
}
|
|
626
|
+
rotateAround(t, s, h) {
|
|
627
|
+
return this._transform = `rotate(${t} ${s} ${h})`, this;
|
|
628
|
+
}
|
|
629
|
+
build() {
|
|
630
|
+
const t = this._below.length > 0 || this._children.length > 0 || this._over.length > 0, s = $.createElement("circle", {
|
|
631
|
+
cx: this._cx,
|
|
632
|
+
cy: this._cy,
|
|
633
|
+
r: this._r,
|
|
634
|
+
fill: this._fill,
|
|
635
|
+
fillOpacity: this._fillOpacity,
|
|
636
|
+
stroke: this._stroke,
|
|
637
|
+
strokeWidth: this._strokeWidth,
|
|
638
|
+
strokeOpacity: this._strokeOpacity,
|
|
639
|
+
strokeDasharray: this._strokeDasharray,
|
|
640
|
+
strokeLinecap: this._strokeLinecap,
|
|
641
|
+
opacity: this._opacity,
|
|
642
|
+
transform: this._transform,
|
|
643
|
+
filter: this._filter,
|
|
644
|
+
className: this._className,
|
|
645
|
+
style: this._style
|
|
646
|
+
});
|
|
647
|
+
if (!t)
|
|
648
|
+
return s;
|
|
649
|
+
const h = [
|
|
650
|
+
...this._below,
|
|
651
|
+
s,
|
|
652
|
+
...this._children,
|
|
653
|
+
...this._over
|
|
654
|
+
];
|
|
655
|
+
return $.createElement(
|
|
656
|
+
"g",
|
|
657
|
+
{ key: this._className || "circle-group" },
|
|
658
|
+
h
|
|
659
|
+
);
|
|
660
|
+
}
|
|
661
|
+
}
|
|
662
|
+
const P = at(ve);
|
|
663
|
+
class be extends nt {
|
|
664
|
+
constructor() {
|
|
665
|
+
super(...arguments);
|
|
666
|
+
d(this, "_x", 0);
|
|
667
|
+
d(this, "_y", 0);
|
|
668
|
+
d(this, "_width", 100);
|
|
669
|
+
d(this, "_height", 100);
|
|
670
|
+
d(this, "_rx");
|
|
671
|
+
d(this, "_ry");
|
|
672
|
+
d(this, "_radiusTopLeft");
|
|
673
|
+
d(this, "_radiusTopRight");
|
|
674
|
+
d(this, "_radiusBottomLeft");
|
|
675
|
+
d(this, "_radiusBottomRight");
|
|
676
|
+
}
|
|
677
|
+
position(t, s) {
|
|
678
|
+
return this._x = t, this._y = s, this;
|
|
679
|
+
}
|
|
680
|
+
x(t) {
|
|
681
|
+
return this._x = t, this;
|
|
682
|
+
}
|
|
683
|
+
y(t) {
|
|
684
|
+
return this._y = t, this;
|
|
685
|
+
}
|
|
686
|
+
left(t) {
|
|
687
|
+
return this._x = t, this;
|
|
688
|
+
}
|
|
689
|
+
top(t) {
|
|
690
|
+
return this._y = t, this;
|
|
691
|
+
}
|
|
692
|
+
right(t) {
|
|
693
|
+
return this._x = t - this._width, this;
|
|
694
|
+
}
|
|
695
|
+
bottom(t) {
|
|
696
|
+
return this._y = t - this._height, this;
|
|
697
|
+
}
|
|
698
|
+
centerX(t) {
|
|
699
|
+
return this._x = t - this._width / 2, this;
|
|
700
|
+
}
|
|
701
|
+
centerY(t) {
|
|
702
|
+
return this._y = t - this._height / 2, this;
|
|
703
|
+
}
|
|
704
|
+
center(t, s) {
|
|
705
|
+
return this._x = t - this._width / 2, this._y = s - this._height / 2, this;
|
|
706
|
+
}
|
|
707
|
+
size(t, s) {
|
|
708
|
+
return this._width = t, this._height = s, this;
|
|
709
|
+
}
|
|
710
|
+
width(t) {
|
|
711
|
+
return this._width = t, this;
|
|
712
|
+
}
|
|
713
|
+
height(t) {
|
|
714
|
+
return this._height = t, this;
|
|
715
|
+
}
|
|
716
|
+
cornerRadius(t) {
|
|
717
|
+
return this._rx = t, this._ry = t, this._radiusTopLeft = void 0, this._radiusTopRight = void 0, this._radiusBottomLeft = void 0, this._radiusBottomRight = void 0, this;
|
|
718
|
+
}
|
|
719
|
+
cornerRadii(t, s) {
|
|
720
|
+
return this._rx = t, this._ry = s, this;
|
|
721
|
+
}
|
|
722
|
+
cornerRadiusTopLeft(t) {
|
|
723
|
+
return this._radiusTopLeft = t, this;
|
|
724
|
+
}
|
|
725
|
+
cornerRadiusTopRight(t) {
|
|
726
|
+
return this._radiusTopRight = t, this;
|
|
727
|
+
}
|
|
728
|
+
cornerRadiusBottomLeft(t) {
|
|
729
|
+
return this._radiusBottomLeft = t, this;
|
|
730
|
+
}
|
|
731
|
+
cornerRadiusBottomRight(t) {
|
|
732
|
+
return this._radiusBottomRight = t, this;
|
|
733
|
+
}
|
|
734
|
+
cornerRadiusTop(t) {
|
|
735
|
+
return this._radiusTopLeft = t, this._radiusTopRight = t, this;
|
|
736
|
+
}
|
|
737
|
+
cornerRadiusBottom(t) {
|
|
738
|
+
return this._radiusBottomLeft = t, this._radiusBottomRight = t, this;
|
|
739
|
+
}
|
|
740
|
+
cornerRadiusLeft(t) {
|
|
741
|
+
return this._radiusTopLeft = t, this._radiusBottomLeft = t, this;
|
|
742
|
+
}
|
|
743
|
+
cornerRadiusRight(t) {
|
|
744
|
+
return this._radiusTopRight = t, this._radiusBottomRight = t, this;
|
|
745
|
+
}
|
|
746
|
+
rotateSelf(t) {
|
|
747
|
+
const s = this._x + this._width / 2, h = this._y + this._height / 2;
|
|
748
|
+
return this._transform = `rotate(${t} ${s} ${h})`, this;
|
|
749
|
+
}
|
|
750
|
+
generateRoundedRectPath() {
|
|
751
|
+
const t = this._x, s = this._y, h = this._width, _ = this._height, v = this._radiusTopLeft || 0, w = this._radiusTopRight || 0, T = this._radiusBottomRight || 0, B = this._radiusBottomLeft || 0;
|
|
752
|
+
return `
|
|
753
|
+
M ${t + v} ${s}
|
|
754
|
+
L ${t + h - w} ${s}
|
|
755
|
+
Q ${t + h} ${s} ${t + h} ${s + w}
|
|
756
|
+
L ${t + h} ${s + _ - T}
|
|
757
|
+
Q ${t + h} ${s + _} ${t + h - T} ${s + _}
|
|
758
|
+
L ${t + B} ${s + _}
|
|
759
|
+
Q ${t} ${s + _} ${t} ${s + _ - B}
|
|
760
|
+
L ${t} ${s + v}
|
|
761
|
+
Q ${t} ${s} ${t + v} ${s}
|
|
762
|
+
Z
|
|
763
|
+
`.trim().replace(/\s+/g, " ");
|
|
764
|
+
}
|
|
765
|
+
build() {
|
|
766
|
+
const t = this._radiusTopLeft !== void 0 || this._radiusTopRight !== void 0 || this._radiusBottomLeft !== void 0 || this._radiusBottomRight !== void 0, s = this._below.length > 0 || this._children.length > 0 || this._over.length > 0, h = t ? $.createElement("path", {
|
|
767
|
+
d: this.generateRoundedRectPath(),
|
|
768
|
+
fill: this._fill,
|
|
769
|
+
fillOpacity: this._fillOpacity,
|
|
770
|
+
stroke: this._stroke,
|
|
771
|
+
strokeWidth: this._strokeWidth,
|
|
772
|
+
strokeOpacity: this._strokeOpacity,
|
|
773
|
+
strokeDasharray: this._strokeDasharray,
|
|
774
|
+
strokeLinecap: this._strokeLinecap,
|
|
775
|
+
strokeLinejoin: this._strokeLinejoin,
|
|
776
|
+
opacity: this._opacity,
|
|
777
|
+
transform: this._transform,
|
|
778
|
+
filter: this._filter,
|
|
779
|
+
clipPath: this._clipPath,
|
|
780
|
+
className: this._className,
|
|
781
|
+
style: this._style
|
|
782
|
+
}) : $.createElement("rect", {
|
|
783
|
+
x: this._x,
|
|
784
|
+
y: this._y,
|
|
785
|
+
width: this._width,
|
|
786
|
+
height: this._height,
|
|
787
|
+
rx: this._rx,
|
|
788
|
+
ry: this._ry,
|
|
789
|
+
fill: this._fill,
|
|
790
|
+
fillOpacity: this._fillOpacity,
|
|
791
|
+
stroke: this._stroke,
|
|
792
|
+
strokeWidth: this._strokeWidth,
|
|
793
|
+
strokeOpacity: this._strokeOpacity,
|
|
794
|
+
strokeDasharray: this._strokeDasharray,
|
|
795
|
+
strokeLinecap: this._strokeLinecap,
|
|
796
|
+
strokeLinejoin: this._strokeLinejoin,
|
|
797
|
+
opacity: this._opacity,
|
|
798
|
+
transform: this._transform,
|
|
799
|
+
filter: this._filter,
|
|
800
|
+
clipPath: this._clipPath,
|
|
801
|
+
className: this._className,
|
|
802
|
+
style: this._style
|
|
803
|
+
});
|
|
804
|
+
if (!s)
|
|
805
|
+
return h;
|
|
806
|
+
const _ = [
|
|
807
|
+
...this._below,
|
|
808
|
+
h,
|
|
809
|
+
...this._children,
|
|
810
|
+
...this._over
|
|
811
|
+
];
|
|
812
|
+
return $.createElement(
|
|
813
|
+
"g",
|
|
814
|
+
{ key: this._className || "rect-group" },
|
|
815
|
+
_
|
|
816
|
+
);
|
|
817
|
+
}
|
|
818
|
+
}
|
|
819
|
+
const St = at(be);
|
|
820
|
+
class we extends nt {
|
|
821
|
+
constructor() {
|
|
822
|
+
super(...arguments);
|
|
823
|
+
d(this, "_d", "");
|
|
824
|
+
d(this, "_pullX");
|
|
825
|
+
d(this, "_pullY");
|
|
826
|
+
}
|
|
827
|
+
d(t) {
|
|
828
|
+
return this._d = t, this;
|
|
829
|
+
}
|
|
830
|
+
moveTo(t, s) {
|
|
831
|
+
return this._d += `M ${t} ${s} `, this;
|
|
832
|
+
}
|
|
833
|
+
lineTo(t, s) {
|
|
834
|
+
return this._d += `L ${t} ${s} `, this;
|
|
835
|
+
}
|
|
836
|
+
horizontalLineTo(t) {
|
|
837
|
+
return this._d += `H ${t} `, this;
|
|
838
|
+
}
|
|
839
|
+
verticalLineTo(t) {
|
|
840
|
+
return this._d += `V ${t} `, this;
|
|
841
|
+
}
|
|
842
|
+
curveTo(t, s, h, _, v, w) {
|
|
843
|
+
return this._d += `C ${t} ${s}, ${h} ${_}, ${v} ${w} `, this;
|
|
844
|
+
}
|
|
845
|
+
smoothCurveTo(t, s, h, _) {
|
|
846
|
+
return this._d += `S ${t} ${s}, ${h} ${_} `, this;
|
|
847
|
+
}
|
|
848
|
+
quadraticCurveTo(t, s, h, _) {
|
|
849
|
+
return this._d += `Q ${t} ${s}, ${h} ${_} `, this;
|
|
850
|
+
}
|
|
851
|
+
smoothQuadraticCurveTo(t, s) {
|
|
852
|
+
return this._d += `T ${t} ${s} `, this;
|
|
853
|
+
}
|
|
854
|
+
arc(t, s, h, _, v, w, T) {
|
|
855
|
+
return this._d += `A ${t} ${s} ${h} ${_} ${v} ${w} ${T} `, this;
|
|
856
|
+
}
|
|
857
|
+
close() {
|
|
858
|
+
return this._d += "Z ", this;
|
|
859
|
+
}
|
|
860
|
+
startAt(t, s) {
|
|
861
|
+
return this.moveTo(t, s);
|
|
862
|
+
}
|
|
863
|
+
lineUntil(t, s) {
|
|
864
|
+
return this.lineTo(t, s);
|
|
865
|
+
}
|
|
866
|
+
curveUntil(t, s, h, _) {
|
|
867
|
+
return this.quadraticCurveTo(h, _, t, s);
|
|
868
|
+
}
|
|
869
|
+
pull(t, s) {
|
|
870
|
+
return this._pullX = t, this._pullY = s, this;
|
|
871
|
+
}
|
|
872
|
+
to(t, s) {
|
|
873
|
+
return this._pullX !== void 0 && this._pullY !== void 0 ? (this.quadraticCurveTo(this._pullX, this._pullY, t, s), this._pullX = void 0, this._pullY = void 0) : this.lineTo(t, s), this;
|
|
874
|
+
}
|
|
875
|
+
done() {
|
|
876
|
+
return this.close();
|
|
877
|
+
}
|
|
878
|
+
build() {
|
|
879
|
+
const t = this._below.length > 0 || this._children.length > 0 || this._over.length > 0, s = $.createElement("path", {
|
|
880
|
+
d: this._d.trim(),
|
|
881
|
+
fill: this._fill,
|
|
882
|
+
fillOpacity: this._fillOpacity,
|
|
883
|
+
stroke: this._stroke,
|
|
884
|
+
strokeWidth: this._strokeWidth,
|
|
885
|
+
strokeOpacity: this._strokeOpacity,
|
|
886
|
+
strokeDasharray: this._strokeDasharray,
|
|
887
|
+
strokeLinecap: this._strokeLinecap,
|
|
888
|
+
strokeLinejoin: this._strokeLinejoin,
|
|
889
|
+
opacity: this._opacity,
|
|
890
|
+
transform: this._transform,
|
|
891
|
+
filter: this._filter,
|
|
892
|
+
className: this._className,
|
|
893
|
+
style: this._style
|
|
894
|
+
});
|
|
895
|
+
if (!t)
|
|
896
|
+
return s;
|
|
897
|
+
const h = [
|
|
898
|
+
...this._below,
|
|
899
|
+
s,
|
|
900
|
+
...this._children,
|
|
901
|
+
...this._over
|
|
902
|
+
];
|
|
903
|
+
return $.createElement(
|
|
904
|
+
"g",
|
|
905
|
+
{ key: this._className || "path-group" },
|
|
906
|
+
h
|
|
907
|
+
);
|
|
908
|
+
}
|
|
909
|
+
}
|
|
910
|
+
const I = at(we);
|
|
911
|
+
class ke extends G {
|
|
912
|
+
constructor() {
|
|
913
|
+
super(...arguments);
|
|
914
|
+
d(this, "_id", se("gradient"));
|
|
915
|
+
d(this, "_colors", ["#000", "#fff"]);
|
|
916
|
+
d(this, "_stops");
|
|
917
|
+
d(this, "_angle", 0);
|
|
918
|
+
}
|
|
919
|
+
id(t) {
|
|
920
|
+
return this._id = t, this;
|
|
921
|
+
}
|
|
922
|
+
colors(t) {
|
|
923
|
+
return this._colors = t, this;
|
|
924
|
+
}
|
|
925
|
+
stops(t) {
|
|
926
|
+
return this._stops = t, this;
|
|
927
|
+
}
|
|
928
|
+
angle(t) {
|
|
929
|
+
return this._angle = t, this;
|
|
930
|
+
}
|
|
931
|
+
angleToCoords() {
|
|
932
|
+
const t = (this._angle - 90) * (Math.PI / 180), s = 50 - Math.cos(t) * 50, h = 50 - Math.sin(t) * 50, _ = 50 + Math.cos(t) * 50, v = 50 + Math.sin(t) * 50;
|
|
933
|
+
return {
|
|
934
|
+
x1: `${s}%`,
|
|
935
|
+
y1: `${h}%`,
|
|
936
|
+
x2: `${_}%`,
|
|
937
|
+
y2: `${v}%`
|
|
938
|
+
};
|
|
939
|
+
}
|
|
940
|
+
build() {
|
|
941
|
+
const t = this.angleToCoords(), s = this._stops || this._colors.map((_, v) => v / (this._colors.length - 1));
|
|
942
|
+
return { element: $.createElement(
|
|
943
|
+
"linearGradient",
|
|
944
|
+
{
|
|
945
|
+
id: this._id,
|
|
946
|
+
...t
|
|
947
|
+
},
|
|
948
|
+
this._colors.map(
|
|
949
|
+
(_, v) => $.createElement("stop", {
|
|
950
|
+
key: v,
|
|
951
|
+
offset: `${s[v] * 100}%`,
|
|
952
|
+
stopColor: _
|
|
953
|
+
})
|
|
954
|
+
)
|
|
955
|
+
), id: this._id };
|
|
956
|
+
}
|
|
957
|
+
}
|
|
958
|
+
const He = D(ke);
|
|
959
|
+
class xe extends G {
|
|
960
|
+
constructor() {
|
|
961
|
+
super(...arguments);
|
|
962
|
+
d(this, "_iconSize", 100);
|
|
963
|
+
}
|
|
964
|
+
size(t) {
|
|
965
|
+
return this._iconSize = t, this;
|
|
966
|
+
}
|
|
967
|
+
build() {
|
|
968
|
+
const t = this._iconSize;
|
|
969
|
+
return ge().width(t).height(t).viewBox("0 0 100 100").children([
|
|
970
|
+
P().center(50, 92).radius(35).fillHex("#000000").opacity(0.15).blur(4).scale(1, 0.2).build(),
|
|
971
|
+
I().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(),
|
|
972
|
+
I().startAt(25, 88).pull(50, 90).to(75, 88).strokeHex("#F5CBA7").strokeWidth(2).opacity(0.4).fill("none").build(),
|
|
973
|
+
St().position(12, 65).size(76, 12).cornerRadius(4).fillHex("#5D4037").strokeHex("#3E2723").strokeWidth(0.5).children([
|
|
974
|
+
I().startAt(20, 65).to(20, 77).strokeHex("#3E2723").strokeWidth(1).opacity(0.3).build(),
|
|
975
|
+
I().startAt(35, 65).to(35, 77).strokeHex("#3E2723").strokeWidth(1).opacity(0.3).build(),
|
|
976
|
+
I().startAt(50, 65).to(50, 77).strokeHex("#3E2723").strokeWidth(1).opacity(0.3).build(),
|
|
977
|
+
I().startAt(65, 65).to(65, 77).strokeHex("#3E2723").strokeWidth(1).opacity(0.3).build()
|
|
978
|
+
]).shadow(0, 2, 2, "rgba(0,0,0,0.2)").build(),
|
|
979
|
+
I().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(),
|
|
980
|
+
St().position(14, 58).size(72, 8).cornerRadius(3).fillHex("#F44336").strokeHex("#D32F2F").strokeWidth(0.5).children([
|
|
981
|
+
I().startAt(18, 60).to(84, 60).strokeHex("#FFCDD2").strokeWidth(2).opacity(0.6).build()
|
|
982
|
+
]).build(),
|
|
983
|
+
I().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(),
|
|
984
|
+
I().startAt(10, 50).pull(10, 20).to(50, 20).pull(90, 20).to(90, 50).to(90, 52).pull(90, 55).to(85, 56).to(15, 56).pull(10, 55).to(10, 52).done().fillHex("#E6A15C").strokeHex("#CC8E51").strokeWidth(0.5).children([
|
|
985
|
+
P().center(30, 35).radius(10).fillHex("#FFFFFF").opacity(0.15).blur(5).scale(1.5, 0.8).build()
|
|
986
|
+
]).shadow(0, -2, 4, "rgba(0,0,0,0.05) inset").build(),
|
|
987
|
+
P().center(30, 32).radius(1.5).fillHex("#FFE0B2").build(),
|
|
988
|
+
P().center(45, 28).radius(1.5).fillHex("#FFE0B2").build(),
|
|
989
|
+
P().center(60, 30).radius(1.5).fillHex("#FFE0B2").build(),
|
|
990
|
+
P().center(75, 35).radius(1.5).fillHex("#FFE0B2").build(),
|
|
991
|
+
P().center(40, 42).radius(1.5).fillHex("#FFE0B2").build(),
|
|
992
|
+
P().center(55, 40).radius(1.5).fillHex("#FFE0B2").build(),
|
|
993
|
+
P().center(20, 40).radius(1.5).fillHex("#FFE0B2").build(),
|
|
994
|
+
I().startAt(68, 24).pull(70, 24).to(70, 26).pull(70, 28).to(68, 28).pull(66, 28).to(66, 26).pull(66, 24).to(68, 24).done().fillHex("#FFE0B2").rotate(45, 68, 26).build(),
|
|
995
|
+
I().startAt(52, 22).pull(54, 22).to(54, 24).pull(54, 26).to(52, 26).pull(50, 26).to(50, 24).pull(50, 22).to(52, 22).done().fillHex("#FFE0B2").rotate(-30, 52, 24).build()
|
|
996
|
+
]).build();
|
|
997
|
+
}
|
|
998
|
+
}
|
|
999
|
+
const je = D(xe);
|
|
1000
|
+
function ze(a = {}) {
|
|
1001
|
+
return function(e) {
|
|
1002
|
+
const t = typeof a.memo == "function" ? a.memo : void 0, s = ne(e, t);
|
|
1003
|
+
return Object.defineProperty(s, "name", {
|
|
1004
|
+
value: a.displayName || e.name,
|
|
1005
|
+
writable: !1
|
|
1006
|
+
}), Object.setPrototypeOf(s, e), s;
|
|
1007
|
+
};
|
|
1008
|
+
}
|
|
1009
|
+
const K = [];
|
|
1010
|
+
function De(a, e = {}) {
|
|
1011
|
+
return function(t) {
|
|
1012
|
+
const s = {
|
|
1013
|
+
path: a,
|
|
1014
|
+
component: t,
|
|
1015
|
+
exact: e.exact,
|
|
1016
|
+
meta: e.meta
|
|
1017
|
+
};
|
|
1018
|
+
return K.push(s), t;
|
|
1019
|
+
};
|
|
1020
|
+
}
|
|
1021
|
+
function Ge() {
|
|
1022
|
+
return [...K];
|
|
1023
|
+
}
|
|
1024
|
+
function Ye() {
|
|
1025
|
+
K.length = 0;
|
|
1026
|
+
}
|
|
1027
|
+
function Ve(a, e, t = {}) {
|
|
1028
|
+
const s = {
|
|
1029
|
+
path: a,
|
|
1030
|
+
component: e,
|
|
1031
|
+
exact: t.exact,
|
|
1032
|
+
meta: t.meta
|
|
1033
|
+
};
|
|
1034
|
+
K.push(s);
|
|
1035
|
+
}
|
|
1036
|
+
var Ot = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
1037
|
+
/*! *****************************************************************************
|
|
1038
|
+
Copyright (C) Microsoft. All rights reserved.
|
|
1039
|
+
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
|
1040
|
+
this file except in compliance with the License. You may obtain a copy of the
|
|
1041
|
+
License at http://www.apache.org/licenses/LICENSE-2.0
|
|
1042
|
+
|
|
1043
|
+
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
1044
|
+
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
|
1045
|
+
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
|
1046
|
+
MERCHANTABLITY OR NON-INFRINGEMENT.
|
|
1047
|
+
|
|
1048
|
+
See the Apache Version 2.0 License for specific language governing permissions
|
|
1049
|
+
and limitations under the License.
|
|
1050
|
+
***************************************************************************** */
|
|
1051
|
+
var Tt;
|
|
1052
|
+
(function(a) {
|
|
1053
|
+
(function(e) {
|
|
1054
|
+
var t = typeof globalThis == "object" ? globalThis : typeof Ot == "object" ? Ot : typeof self == "object" ? self : typeof this == "object" ? this : w(), s = h(a);
|
|
1055
|
+
typeof t.Reflect < "u" && (s = h(t.Reflect, s)), e(s, t), typeof t.Reflect > "u" && (t.Reflect = a);
|
|
1056
|
+
function h(T, B) {
|
|
1057
|
+
return function(R, N) {
|
|
1058
|
+
Object.defineProperty(T, R, { configurable: !0, writable: !0, value: N }), B && B(R, N);
|
|
1059
|
+
};
|
|
1060
|
+
}
|
|
1061
|
+
function _() {
|
|
1062
|
+
try {
|
|
1063
|
+
return Function("return this;")();
|
|
1064
|
+
} catch {
|
|
1065
|
+
}
|
|
1066
|
+
}
|
|
1067
|
+
function v() {
|
|
1068
|
+
try {
|
|
1069
|
+
return (0, eval)("(function() { return this; })()");
|
|
1070
|
+
} catch {
|
|
1071
|
+
}
|
|
1072
|
+
}
|
|
1073
|
+
function w() {
|
|
1074
|
+
return _() || v();
|
|
1075
|
+
}
|
|
1076
|
+
})(function(e, t) {
|
|
1077
|
+
var s = Object.prototype.hasOwnProperty, h = typeof Symbol == "function", _ = h && typeof Symbol.toPrimitive < "u" ? Symbol.toPrimitive : "@@toPrimitive", v = h && typeof Symbol.iterator < "u" ? Symbol.iterator : "@@iterator", w = typeof Object.create == "function", T = { __proto__: [] } instanceof Array, B = !w && !T, R = {
|
|
1078
|
+
// create an object in dictionary mode (a.k.a. "slow" mode in v8)
|
|
1079
|
+
create: w ? function() {
|
|
1080
|
+
return it(/* @__PURE__ */ Object.create(null));
|
|
1081
|
+
} : T ? function() {
|
|
1082
|
+
return it({ __proto__: null });
|
|
1083
|
+
} : function() {
|
|
1084
|
+
return it({});
|
|
1085
|
+
},
|
|
1086
|
+
has: B ? function(r, i) {
|
|
1087
|
+
return s.call(r, i);
|
|
1088
|
+
} : function(r, i) {
|
|
1089
|
+
return i in r;
|
|
1090
|
+
},
|
|
1091
|
+
get: B ? function(r, i) {
|
|
1092
|
+
return s.call(r, i) ? r[i] : void 0;
|
|
1093
|
+
} : function(r, i) {
|
|
1094
|
+
return r[i];
|
|
1095
|
+
}
|
|
1096
|
+
}, N = Object.getPrototypeOf(Function), A = typeof Map == "function" && typeof Map.prototype.entries == "function" ? Map : Qt(), C = typeof Set == "function" && typeof Set.prototype.entries == "function" ? Set : Jt(), W = typeof WeakMap == "function" ? WeakMap : Kt(), Y = h ? Symbol.for("@reflect-metadata:registry") : void 0, q = Ut(), lt = Zt(q);
|
|
1097
|
+
function Rt(r, i, n, o) {
|
|
1098
|
+
if (m(n)) {
|
|
1099
|
+
if (!yt(r))
|
|
1100
|
+
throw new TypeError();
|
|
1101
|
+
if (!gt(i))
|
|
1102
|
+
throw new TypeError();
|
|
1103
|
+
return Ht(r, i);
|
|
1104
|
+
} else {
|
|
1105
|
+
if (!yt(r))
|
|
1106
|
+
throw new TypeError();
|
|
1107
|
+
if (!S(i))
|
|
1108
|
+
throw new TypeError();
|
|
1109
|
+
if (!S(o) && !m(o) && !V(o))
|
|
1110
|
+
throw new TypeError();
|
|
1111
|
+
return V(o) && (o = void 0), n = F(n), jt(r, i, n, o);
|
|
1112
|
+
}
|
|
1113
|
+
}
|
|
1114
|
+
e("decorate", Rt);
|
|
1115
|
+
function Et(r, i) {
|
|
1116
|
+
function n(o, p) {
|
|
1117
|
+
if (!S(o))
|
|
1118
|
+
throw new TypeError();
|
|
1119
|
+
if (!m(p) && !Vt(p))
|
|
1120
|
+
throw new TypeError();
|
|
1121
|
+
dt(r, i, o, p);
|
|
1122
|
+
}
|
|
1123
|
+
return n;
|
|
1124
|
+
}
|
|
1125
|
+
e("metadata", Et);
|
|
1126
|
+
function It(r, i, n, o) {
|
|
1127
|
+
if (!S(n))
|
|
1128
|
+
throw new TypeError();
|
|
1129
|
+
return m(o) || (o = F(o)), dt(r, i, n, o);
|
|
1130
|
+
}
|
|
1131
|
+
e("defineMetadata", It);
|
|
1132
|
+
function Bt(r, i, n) {
|
|
1133
|
+
if (!S(i))
|
|
1134
|
+
throw new TypeError();
|
|
1135
|
+
return m(n) || (n = F(n)), ht(r, i, n);
|
|
1136
|
+
}
|
|
1137
|
+
e("hasMetadata", Bt);
|
|
1138
|
+
function Lt(r, i, n) {
|
|
1139
|
+
if (!S(i))
|
|
1140
|
+
throw new TypeError();
|
|
1141
|
+
return m(n) || (n = F(n)), tt(r, i, n);
|
|
1142
|
+
}
|
|
1143
|
+
e("hasOwnMetadata", Lt);
|
|
1144
|
+
function Ft(r, i, n) {
|
|
1145
|
+
if (!S(i))
|
|
1146
|
+
throw new TypeError();
|
|
1147
|
+
return m(n) || (n = F(n)), ut(r, i, n);
|
|
1148
|
+
}
|
|
1149
|
+
e("getMetadata", Ft);
|
|
1150
|
+
function Pt(r, i, n) {
|
|
1151
|
+
if (!S(i))
|
|
1152
|
+
throw new TypeError();
|
|
1153
|
+
return m(n) || (n = F(n)), ct(r, i, n);
|
|
1154
|
+
}
|
|
1155
|
+
e("getOwnMetadata", Pt);
|
|
1156
|
+
function Nt(r, i) {
|
|
1157
|
+
if (!S(r))
|
|
1158
|
+
throw new TypeError();
|
|
1159
|
+
return m(i) || (i = F(i)), ft(r, i);
|
|
1160
|
+
}
|
|
1161
|
+
e("getMetadataKeys", Nt);
|
|
1162
|
+
function At(r, i) {
|
|
1163
|
+
if (!S(r))
|
|
1164
|
+
throw new TypeError();
|
|
1165
|
+
return m(i) || (i = F(i)), _t(r, i);
|
|
1166
|
+
}
|
|
1167
|
+
e("getOwnMetadataKeys", At);
|
|
1168
|
+
function Wt(r, i, n) {
|
|
1169
|
+
if (!S(i))
|
|
1170
|
+
throw new TypeError();
|
|
1171
|
+
if (m(n) || (n = F(n)), !S(i))
|
|
1172
|
+
throw new TypeError();
|
|
1173
|
+
m(n) || (n = F(n));
|
|
1174
|
+
var o = U(
|
|
1175
|
+
i,
|
|
1176
|
+
n,
|
|
1177
|
+
/*Create*/
|
|
1178
|
+
!1
|
|
1179
|
+
);
|
|
1180
|
+
return m(o) ? !1 : o.OrdinaryDeleteMetadata(r, i, n);
|
|
1181
|
+
}
|
|
1182
|
+
e("deleteMetadata", Wt);
|
|
1183
|
+
function Ht(r, i) {
|
|
1184
|
+
for (var n = r.length - 1; n >= 0; --n) {
|
|
1185
|
+
var o = r[n], p = o(i);
|
|
1186
|
+
if (!m(p) && !V(p)) {
|
|
1187
|
+
if (!gt(p))
|
|
1188
|
+
throw new TypeError();
|
|
1189
|
+
i = p;
|
|
1190
|
+
}
|
|
1191
|
+
}
|
|
1192
|
+
return i;
|
|
1193
|
+
}
|
|
1194
|
+
function jt(r, i, n, o) {
|
|
1195
|
+
for (var p = r.length - 1; p >= 0; --p) {
|
|
1196
|
+
var k = r[p], O = k(i, n, o);
|
|
1197
|
+
if (!m(O) && !V(O)) {
|
|
1198
|
+
if (!S(O))
|
|
1199
|
+
throw new TypeError();
|
|
1200
|
+
o = O;
|
|
1201
|
+
}
|
|
1202
|
+
}
|
|
1203
|
+
return o;
|
|
1204
|
+
}
|
|
1205
|
+
function ht(r, i, n) {
|
|
1206
|
+
var o = tt(r, i, n);
|
|
1207
|
+
if (o)
|
|
1208
|
+
return !0;
|
|
1209
|
+
var p = rt(i);
|
|
1210
|
+
return V(p) ? !1 : ht(r, p, n);
|
|
1211
|
+
}
|
|
1212
|
+
function tt(r, i, n) {
|
|
1213
|
+
var o = U(
|
|
1214
|
+
i,
|
|
1215
|
+
n,
|
|
1216
|
+
/*Create*/
|
|
1217
|
+
!1
|
|
1218
|
+
);
|
|
1219
|
+
return m(o) ? !1 : mt(o.OrdinaryHasOwnMetadata(r, i, n));
|
|
1220
|
+
}
|
|
1221
|
+
function ut(r, i, n) {
|
|
1222
|
+
var o = tt(r, i, n);
|
|
1223
|
+
if (o)
|
|
1224
|
+
return ct(r, i, n);
|
|
1225
|
+
var p = rt(i);
|
|
1226
|
+
if (!V(p))
|
|
1227
|
+
return ut(r, p, n);
|
|
1228
|
+
}
|
|
1229
|
+
function ct(r, i, n) {
|
|
1230
|
+
var o = U(
|
|
1231
|
+
i,
|
|
1232
|
+
n,
|
|
1233
|
+
/*Create*/
|
|
1234
|
+
!1
|
|
1235
|
+
);
|
|
1236
|
+
if (!m(o))
|
|
1237
|
+
return o.OrdinaryGetOwnMetadata(r, i, n);
|
|
1238
|
+
}
|
|
1239
|
+
function dt(r, i, n, o) {
|
|
1240
|
+
var p = U(
|
|
1241
|
+
n,
|
|
1242
|
+
o,
|
|
1243
|
+
/*Create*/
|
|
1244
|
+
!0
|
|
1245
|
+
);
|
|
1246
|
+
p.OrdinaryDefineOwnMetadata(r, i, n, o);
|
|
1247
|
+
}
|
|
1248
|
+
function ft(r, i) {
|
|
1249
|
+
var n = _t(r, i), o = rt(r);
|
|
1250
|
+
if (o === null)
|
|
1251
|
+
return n;
|
|
1252
|
+
var p = ft(o, i);
|
|
1253
|
+
if (p.length <= 0)
|
|
1254
|
+
return n;
|
|
1255
|
+
if (n.length <= 0)
|
|
1256
|
+
return p;
|
|
1257
|
+
for (var k = new C(), O = [], y = 0, l = n; y < l.length; y++) {
|
|
1258
|
+
var u = l[y], c = k.has(u);
|
|
1259
|
+
c || (k.add(u), O.push(u));
|
|
1260
|
+
}
|
|
1261
|
+
for (var f = 0, g = p; f < g.length; f++) {
|
|
1262
|
+
var u = g[f], c = k.has(u);
|
|
1263
|
+
c || (k.add(u), O.push(u));
|
|
1264
|
+
}
|
|
1265
|
+
return O;
|
|
1266
|
+
}
|
|
1267
|
+
function _t(r, i) {
|
|
1268
|
+
var n = U(
|
|
1269
|
+
r,
|
|
1270
|
+
i,
|
|
1271
|
+
/*create*/
|
|
1272
|
+
!1
|
|
1273
|
+
);
|
|
1274
|
+
return n ? n.OrdinaryOwnMetadataKeys(r, i) : [];
|
|
1275
|
+
}
|
|
1276
|
+
function pt(r) {
|
|
1277
|
+
if (r === null)
|
|
1278
|
+
return 1;
|
|
1279
|
+
switch (typeof r) {
|
|
1280
|
+
case "undefined":
|
|
1281
|
+
return 0;
|
|
1282
|
+
case "boolean":
|
|
1283
|
+
return 2;
|
|
1284
|
+
case "string":
|
|
1285
|
+
return 3;
|
|
1286
|
+
case "symbol":
|
|
1287
|
+
return 4;
|
|
1288
|
+
case "number":
|
|
1289
|
+
return 5;
|
|
1290
|
+
case "object":
|
|
1291
|
+
return r === null ? 1 : 6;
|
|
1292
|
+
default:
|
|
1293
|
+
return 6;
|
|
1294
|
+
}
|
|
1295
|
+
}
|
|
1296
|
+
function m(r) {
|
|
1297
|
+
return r === void 0;
|
|
1298
|
+
}
|
|
1299
|
+
function V(r) {
|
|
1300
|
+
return r === null;
|
|
1301
|
+
}
|
|
1302
|
+
function zt(r) {
|
|
1303
|
+
return typeof r == "symbol";
|
|
1304
|
+
}
|
|
1305
|
+
function S(r) {
|
|
1306
|
+
return typeof r == "object" ? r !== null : typeof r == "function";
|
|
1307
|
+
}
|
|
1308
|
+
function Dt(r, i) {
|
|
1309
|
+
switch (pt(r)) {
|
|
1310
|
+
case 0:
|
|
1311
|
+
return r;
|
|
1312
|
+
case 1:
|
|
1313
|
+
return r;
|
|
1314
|
+
case 2:
|
|
1315
|
+
return r;
|
|
1316
|
+
case 3:
|
|
1317
|
+
return r;
|
|
1318
|
+
case 4:
|
|
1319
|
+
return r;
|
|
1320
|
+
case 5:
|
|
1321
|
+
return r;
|
|
1322
|
+
}
|
|
1323
|
+
var n = "string", o = vt(r, _);
|
|
1324
|
+
if (o !== void 0) {
|
|
1325
|
+
var p = o.call(r, n);
|
|
1326
|
+
if (S(p))
|
|
1327
|
+
throw new TypeError();
|
|
1328
|
+
return p;
|
|
1329
|
+
}
|
|
1330
|
+
return Gt(r);
|
|
1331
|
+
}
|
|
1332
|
+
function Gt(r, i) {
|
|
1333
|
+
var n, o, p;
|
|
1334
|
+
{
|
|
1335
|
+
var k = r.toString;
|
|
1336
|
+
if (Q(k)) {
|
|
1337
|
+
var o = k.call(r);
|
|
1338
|
+
if (!S(o))
|
|
1339
|
+
return o;
|
|
1340
|
+
}
|
|
1341
|
+
var n = r.valueOf;
|
|
1342
|
+
if (Q(n)) {
|
|
1343
|
+
var o = n.call(r);
|
|
1344
|
+
if (!S(o))
|
|
1345
|
+
return o;
|
|
1346
|
+
}
|
|
1347
|
+
}
|
|
1348
|
+
throw new TypeError();
|
|
1349
|
+
}
|
|
1350
|
+
function mt(r) {
|
|
1351
|
+
return !!r;
|
|
1352
|
+
}
|
|
1353
|
+
function Yt(r) {
|
|
1354
|
+
return "" + r;
|
|
1355
|
+
}
|
|
1356
|
+
function F(r) {
|
|
1357
|
+
var i = Dt(r);
|
|
1358
|
+
return zt(i) ? i : Yt(i);
|
|
1359
|
+
}
|
|
1360
|
+
function yt(r) {
|
|
1361
|
+
return Array.isArray ? Array.isArray(r) : r instanceof Object ? r instanceof Array : Object.prototype.toString.call(r) === "[object Array]";
|
|
1362
|
+
}
|
|
1363
|
+
function Q(r) {
|
|
1364
|
+
return typeof r == "function";
|
|
1365
|
+
}
|
|
1366
|
+
function gt(r) {
|
|
1367
|
+
return typeof r == "function";
|
|
1368
|
+
}
|
|
1369
|
+
function Vt(r) {
|
|
1370
|
+
switch (pt(r)) {
|
|
1371
|
+
case 3:
|
|
1372
|
+
return !0;
|
|
1373
|
+
case 4:
|
|
1374
|
+
return !0;
|
|
1375
|
+
default:
|
|
1376
|
+
return !1;
|
|
1377
|
+
}
|
|
1378
|
+
}
|
|
1379
|
+
function et(r, i) {
|
|
1380
|
+
return r === i || r !== r && i !== i;
|
|
1381
|
+
}
|
|
1382
|
+
function vt(r, i) {
|
|
1383
|
+
var n = r[i];
|
|
1384
|
+
if (n != null) {
|
|
1385
|
+
if (!Q(n))
|
|
1386
|
+
throw new TypeError();
|
|
1387
|
+
return n;
|
|
1388
|
+
}
|
|
1389
|
+
}
|
|
1390
|
+
function bt(r) {
|
|
1391
|
+
var i = vt(r, v);
|
|
1392
|
+
if (!Q(i))
|
|
1393
|
+
throw new TypeError();
|
|
1394
|
+
var n = i.call(r);
|
|
1395
|
+
if (!S(n))
|
|
1396
|
+
throw new TypeError();
|
|
1397
|
+
return n;
|
|
1398
|
+
}
|
|
1399
|
+
function wt(r) {
|
|
1400
|
+
return r.value;
|
|
1401
|
+
}
|
|
1402
|
+
function kt(r) {
|
|
1403
|
+
var i = r.next();
|
|
1404
|
+
return i.done ? !1 : i;
|
|
1405
|
+
}
|
|
1406
|
+
function xt(r) {
|
|
1407
|
+
var i = r.return;
|
|
1408
|
+
i && i.call(r);
|
|
1409
|
+
}
|
|
1410
|
+
function rt(r) {
|
|
1411
|
+
var i = Object.getPrototypeOf(r);
|
|
1412
|
+
if (typeof r != "function" || r === N || i !== N)
|
|
1413
|
+
return i;
|
|
1414
|
+
var n = r.prototype, o = n && Object.getPrototypeOf(n);
|
|
1415
|
+
if (o == null || o === Object.prototype)
|
|
1416
|
+
return i;
|
|
1417
|
+
var p = o.constructor;
|
|
1418
|
+
return typeof p != "function" || p === r ? i : p;
|
|
1419
|
+
}
|
|
1420
|
+
function Xt() {
|
|
1421
|
+
var r;
|
|
1422
|
+
!m(Y) && typeof t.Reflect < "u" && !(Y in t.Reflect) && typeof t.Reflect.defineMetadata == "function" && (r = qt(t.Reflect));
|
|
1423
|
+
var i, n, o, p = new W(), k = {
|
|
1424
|
+
registerProvider: O,
|
|
1425
|
+
getProvider: l,
|
|
1426
|
+
setProvider: c
|
|
1427
|
+
};
|
|
1428
|
+
return k;
|
|
1429
|
+
function O(f) {
|
|
1430
|
+
if (!Object.isExtensible(k))
|
|
1431
|
+
throw new Error("Cannot add provider to a frozen registry.");
|
|
1432
|
+
switch (!0) {
|
|
1433
|
+
case r === f:
|
|
1434
|
+
break;
|
|
1435
|
+
case m(i):
|
|
1436
|
+
i = f;
|
|
1437
|
+
break;
|
|
1438
|
+
case i === f:
|
|
1439
|
+
break;
|
|
1440
|
+
case m(n):
|
|
1441
|
+
n = f;
|
|
1442
|
+
break;
|
|
1443
|
+
case n === f:
|
|
1444
|
+
break;
|
|
1445
|
+
default:
|
|
1446
|
+
o === void 0 && (o = new C()), o.add(f);
|
|
1447
|
+
break;
|
|
1448
|
+
}
|
|
1449
|
+
}
|
|
1450
|
+
function y(f, g) {
|
|
1451
|
+
if (!m(i)) {
|
|
1452
|
+
if (i.isProviderFor(f, g))
|
|
1453
|
+
return i;
|
|
1454
|
+
if (!m(n)) {
|
|
1455
|
+
if (n.isProviderFor(f, g))
|
|
1456
|
+
return i;
|
|
1457
|
+
if (!m(o))
|
|
1458
|
+
for (var b = bt(o); ; ) {
|
|
1459
|
+
var x = kt(b);
|
|
1460
|
+
if (!x)
|
|
1461
|
+
return;
|
|
1462
|
+
var L = wt(x);
|
|
1463
|
+
if (L.isProviderFor(f, g))
|
|
1464
|
+
return xt(b), L;
|
|
1465
|
+
}
|
|
1466
|
+
}
|
|
1467
|
+
}
|
|
1468
|
+
if (!m(r) && r.isProviderFor(f, g))
|
|
1469
|
+
return r;
|
|
1470
|
+
}
|
|
1471
|
+
function l(f, g) {
|
|
1472
|
+
var b = p.get(f), x;
|
|
1473
|
+
return m(b) || (x = b.get(g)), m(x) && (x = y(f, g), m(x) || (m(b) && (b = new A(), p.set(f, b)), b.set(g, x))), x;
|
|
1474
|
+
}
|
|
1475
|
+
function u(f) {
|
|
1476
|
+
if (m(f))
|
|
1477
|
+
throw new TypeError();
|
|
1478
|
+
return i === f || n === f || !m(o) && o.has(f);
|
|
1479
|
+
}
|
|
1480
|
+
function c(f, g, b) {
|
|
1481
|
+
if (!u(b))
|
|
1482
|
+
throw new Error("Metadata provider not registered.");
|
|
1483
|
+
var x = l(f, g);
|
|
1484
|
+
if (x !== b) {
|
|
1485
|
+
if (!m(x))
|
|
1486
|
+
return !1;
|
|
1487
|
+
var L = p.get(f);
|
|
1488
|
+
m(L) && (L = new A(), p.set(f, L)), L.set(g, b);
|
|
1489
|
+
}
|
|
1490
|
+
return !0;
|
|
1491
|
+
}
|
|
1492
|
+
}
|
|
1493
|
+
function Ut() {
|
|
1494
|
+
var r;
|
|
1495
|
+
return !m(Y) && S(t.Reflect) && Object.isExtensible(t.Reflect) && (r = t.Reflect[Y]), m(r) && (r = Xt()), !m(Y) && S(t.Reflect) && Object.isExtensible(t.Reflect) && Object.defineProperty(t.Reflect, Y, {
|
|
1496
|
+
enumerable: !1,
|
|
1497
|
+
configurable: !1,
|
|
1498
|
+
writable: !1,
|
|
1499
|
+
value: r
|
|
1500
|
+
}), r;
|
|
1501
|
+
}
|
|
1502
|
+
function Zt(r) {
|
|
1503
|
+
var i = new W(), n = {
|
|
1504
|
+
isProviderFor: function(u, c) {
|
|
1505
|
+
var f = i.get(u);
|
|
1506
|
+
return m(f) ? !1 : f.has(c);
|
|
1507
|
+
},
|
|
1508
|
+
OrdinaryDefineOwnMetadata: O,
|
|
1509
|
+
OrdinaryHasOwnMetadata: p,
|
|
1510
|
+
OrdinaryGetOwnMetadata: k,
|
|
1511
|
+
OrdinaryOwnMetadataKeys: y,
|
|
1512
|
+
OrdinaryDeleteMetadata: l
|
|
1513
|
+
};
|
|
1514
|
+
return q.registerProvider(n), n;
|
|
1515
|
+
function o(u, c, f) {
|
|
1516
|
+
var g = i.get(u), b = !1;
|
|
1517
|
+
if (m(g)) {
|
|
1518
|
+
if (!f)
|
|
1519
|
+
return;
|
|
1520
|
+
g = new A(), i.set(u, g), b = !0;
|
|
1521
|
+
}
|
|
1522
|
+
var x = g.get(c);
|
|
1523
|
+
if (m(x)) {
|
|
1524
|
+
if (!f)
|
|
1525
|
+
return;
|
|
1526
|
+
if (x = new A(), g.set(c, x), !r.setProvider(u, c, n))
|
|
1527
|
+
throw g.delete(c), b && i.delete(u), new Error("Wrong provider for target.");
|
|
1528
|
+
}
|
|
1529
|
+
return x;
|
|
1530
|
+
}
|
|
1531
|
+
function p(u, c, f) {
|
|
1532
|
+
var g = o(
|
|
1533
|
+
c,
|
|
1534
|
+
f,
|
|
1535
|
+
/*Create*/
|
|
1536
|
+
!1
|
|
1537
|
+
);
|
|
1538
|
+
return m(g) ? !1 : mt(g.has(u));
|
|
1539
|
+
}
|
|
1540
|
+
function k(u, c, f) {
|
|
1541
|
+
var g = o(
|
|
1542
|
+
c,
|
|
1543
|
+
f,
|
|
1544
|
+
/*Create*/
|
|
1545
|
+
!1
|
|
1546
|
+
);
|
|
1547
|
+
if (!m(g))
|
|
1548
|
+
return g.get(u);
|
|
1549
|
+
}
|
|
1550
|
+
function O(u, c, f, g) {
|
|
1551
|
+
var b = o(
|
|
1552
|
+
f,
|
|
1553
|
+
g,
|
|
1554
|
+
/*Create*/
|
|
1555
|
+
!0
|
|
1556
|
+
);
|
|
1557
|
+
b.set(u, c);
|
|
1558
|
+
}
|
|
1559
|
+
function y(u, c) {
|
|
1560
|
+
var f = [], g = o(
|
|
1561
|
+
u,
|
|
1562
|
+
c,
|
|
1563
|
+
/*Create*/
|
|
1564
|
+
!1
|
|
1565
|
+
);
|
|
1566
|
+
if (m(g))
|
|
1567
|
+
return f;
|
|
1568
|
+
for (var b = g.keys(), x = bt(b), L = 0; ; ) {
|
|
1569
|
+
var $t = kt(x);
|
|
1570
|
+
if (!$t)
|
|
1571
|
+
return f.length = L, f;
|
|
1572
|
+
var te = wt($t);
|
|
1573
|
+
try {
|
|
1574
|
+
f[L] = te;
|
|
1575
|
+
} catch (ee) {
|
|
1576
|
+
try {
|
|
1577
|
+
xt(x);
|
|
1578
|
+
} finally {
|
|
1579
|
+
throw ee;
|
|
1580
|
+
}
|
|
1581
|
+
}
|
|
1582
|
+
L++;
|
|
1583
|
+
}
|
|
1584
|
+
}
|
|
1585
|
+
function l(u, c, f) {
|
|
1586
|
+
var g = o(
|
|
1587
|
+
c,
|
|
1588
|
+
f,
|
|
1589
|
+
/*Create*/
|
|
1590
|
+
!1
|
|
1591
|
+
);
|
|
1592
|
+
if (m(g) || !g.delete(u))
|
|
1593
|
+
return !1;
|
|
1594
|
+
if (g.size === 0) {
|
|
1595
|
+
var b = i.get(c);
|
|
1596
|
+
m(b) || (b.delete(f), b.size === 0 && i.delete(b));
|
|
1597
|
+
}
|
|
1598
|
+
return !0;
|
|
1599
|
+
}
|
|
1600
|
+
}
|
|
1601
|
+
function qt(r) {
|
|
1602
|
+
var i = r.defineMetadata, n = r.hasOwnMetadata, o = r.getOwnMetadata, p = r.getOwnMetadataKeys, k = r.deleteMetadata, O = new W(), y = {
|
|
1603
|
+
isProviderFor: function(l, u) {
|
|
1604
|
+
var c = O.get(l);
|
|
1605
|
+
return !m(c) && c.has(u) ? !0 : p(l, u).length ? (m(c) && (c = new C(), O.set(l, c)), c.add(u), !0) : !1;
|
|
1606
|
+
},
|
|
1607
|
+
OrdinaryDefineOwnMetadata: i,
|
|
1608
|
+
OrdinaryHasOwnMetadata: n,
|
|
1609
|
+
OrdinaryGetOwnMetadata: o,
|
|
1610
|
+
OrdinaryOwnMetadataKeys: p,
|
|
1611
|
+
OrdinaryDeleteMetadata: k
|
|
1612
|
+
};
|
|
1613
|
+
return y;
|
|
1614
|
+
}
|
|
1615
|
+
function U(r, i, n) {
|
|
1616
|
+
var o = q.getProvider(r, i);
|
|
1617
|
+
if (!m(o))
|
|
1618
|
+
return o;
|
|
1619
|
+
if (n) {
|
|
1620
|
+
if (q.setProvider(r, i, lt))
|
|
1621
|
+
return lt;
|
|
1622
|
+
throw new Error("Illegal state.");
|
|
1623
|
+
}
|
|
1624
|
+
}
|
|
1625
|
+
function Qt() {
|
|
1626
|
+
var r = {}, i = [], n = (
|
|
1627
|
+
/** @class */
|
|
1628
|
+
function() {
|
|
1629
|
+
function y(l, u, c) {
|
|
1630
|
+
this._index = 0, this._keys = l, this._values = u, this._selector = c;
|
|
1631
|
+
}
|
|
1632
|
+
return y.prototype["@@iterator"] = function() {
|
|
1633
|
+
return this;
|
|
1634
|
+
}, y.prototype[v] = function() {
|
|
1635
|
+
return this;
|
|
1636
|
+
}, y.prototype.next = function() {
|
|
1637
|
+
var l = this._index;
|
|
1638
|
+
if (l >= 0 && l < this._keys.length) {
|
|
1639
|
+
var u = this._selector(this._keys[l], this._values[l]);
|
|
1640
|
+
return l + 1 >= this._keys.length ? (this._index = -1, this._keys = i, this._values = i) : this._index++, { value: u, done: !1 };
|
|
1641
|
+
}
|
|
1642
|
+
return { value: void 0, done: !0 };
|
|
1643
|
+
}, y.prototype.throw = function(l) {
|
|
1644
|
+
throw this._index >= 0 && (this._index = -1, this._keys = i, this._values = i), l;
|
|
1645
|
+
}, y.prototype.return = function(l) {
|
|
1646
|
+
return this._index >= 0 && (this._index = -1, this._keys = i, this._values = i), { value: l, done: !0 };
|
|
1647
|
+
}, y;
|
|
1648
|
+
}()
|
|
1649
|
+
), o = (
|
|
1650
|
+
/** @class */
|
|
1651
|
+
function() {
|
|
1652
|
+
function y() {
|
|
1653
|
+
this._keys = [], this._values = [], this._cacheKey = r, this._cacheIndex = -2;
|
|
1654
|
+
}
|
|
1655
|
+
return Object.defineProperty(y.prototype, "size", {
|
|
1656
|
+
get: function() {
|
|
1657
|
+
return this._keys.length;
|
|
1658
|
+
},
|
|
1659
|
+
enumerable: !0,
|
|
1660
|
+
configurable: !0
|
|
1661
|
+
}), y.prototype.has = function(l) {
|
|
1662
|
+
return this._find(
|
|
1663
|
+
l,
|
|
1664
|
+
/*insert*/
|
|
1665
|
+
!1
|
|
1666
|
+
) >= 0;
|
|
1667
|
+
}, y.prototype.get = function(l) {
|
|
1668
|
+
var u = this._find(
|
|
1669
|
+
l,
|
|
1670
|
+
/*insert*/
|
|
1671
|
+
!1
|
|
1672
|
+
);
|
|
1673
|
+
return u >= 0 ? this._values[u] : void 0;
|
|
1674
|
+
}, y.prototype.set = function(l, u) {
|
|
1675
|
+
var c = this._find(
|
|
1676
|
+
l,
|
|
1677
|
+
/*insert*/
|
|
1678
|
+
!0
|
|
1679
|
+
);
|
|
1680
|
+
return this._values[c] = u, this;
|
|
1681
|
+
}, y.prototype.delete = function(l) {
|
|
1682
|
+
var u = this._find(
|
|
1683
|
+
l,
|
|
1684
|
+
/*insert*/
|
|
1685
|
+
!1
|
|
1686
|
+
);
|
|
1687
|
+
if (u >= 0) {
|
|
1688
|
+
for (var c = this._keys.length, f = u + 1; f < c; f++)
|
|
1689
|
+
this._keys[f - 1] = this._keys[f], this._values[f - 1] = this._values[f];
|
|
1690
|
+
return this._keys.length--, this._values.length--, et(l, this._cacheKey) && (this._cacheKey = r, this._cacheIndex = -2), !0;
|
|
1691
|
+
}
|
|
1692
|
+
return !1;
|
|
1693
|
+
}, y.prototype.clear = function() {
|
|
1694
|
+
this._keys.length = 0, this._values.length = 0, this._cacheKey = r, this._cacheIndex = -2;
|
|
1695
|
+
}, y.prototype.keys = function() {
|
|
1696
|
+
return new n(this._keys, this._values, p);
|
|
1697
|
+
}, y.prototype.values = function() {
|
|
1698
|
+
return new n(this._keys, this._values, k);
|
|
1699
|
+
}, y.prototype.entries = function() {
|
|
1700
|
+
return new n(this._keys, this._values, O);
|
|
1701
|
+
}, y.prototype["@@iterator"] = function() {
|
|
1702
|
+
return this.entries();
|
|
1703
|
+
}, y.prototype[v] = function() {
|
|
1704
|
+
return this.entries();
|
|
1705
|
+
}, y.prototype._find = function(l, u) {
|
|
1706
|
+
if (!et(this._cacheKey, l)) {
|
|
1707
|
+
this._cacheIndex = -1;
|
|
1708
|
+
for (var c = 0; c < this._keys.length; c++)
|
|
1709
|
+
if (et(this._keys[c], l)) {
|
|
1710
|
+
this._cacheIndex = c;
|
|
1711
|
+
break;
|
|
1712
|
+
}
|
|
1713
|
+
}
|
|
1714
|
+
return this._cacheIndex < 0 && u && (this._cacheIndex = this._keys.length, this._keys.push(l), this._values.push(void 0)), this._cacheIndex;
|
|
1715
|
+
}, y;
|
|
1716
|
+
}()
|
|
1717
|
+
);
|
|
1718
|
+
return o;
|
|
1719
|
+
function p(y, l) {
|
|
1720
|
+
return y;
|
|
1721
|
+
}
|
|
1722
|
+
function k(y, l) {
|
|
1723
|
+
return l;
|
|
1724
|
+
}
|
|
1725
|
+
function O(y, l) {
|
|
1726
|
+
return [y, l];
|
|
1727
|
+
}
|
|
1728
|
+
}
|
|
1729
|
+
function Jt() {
|
|
1730
|
+
var r = (
|
|
1731
|
+
/** @class */
|
|
1732
|
+
function() {
|
|
1733
|
+
function i() {
|
|
1734
|
+
this._map = new A();
|
|
1735
|
+
}
|
|
1736
|
+
return Object.defineProperty(i.prototype, "size", {
|
|
1737
|
+
get: function() {
|
|
1738
|
+
return this._map.size;
|
|
1739
|
+
},
|
|
1740
|
+
enumerable: !0,
|
|
1741
|
+
configurable: !0
|
|
1742
|
+
}), i.prototype.has = function(n) {
|
|
1743
|
+
return this._map.has(n);
|
|
1744
|
+
}, i.prototype.add = function(n) {
|
|
1745
|
+
return this._map.set(n, n), this;
|
|
1746
|
+
}, i.prototype.delete = function(n) {
|
|
1747
|
+
return this._map.delete(n);
|
|
1748
|
+
}, i.prototype.clear = function() {
|
|
1749
|
+
this._map.clear();
|
|
1750
|
+
}, i.prototype.keys = function() {
|
|
1751
|
+
return this._map.keys();
|
|
1752
|
+
}, i.prototype.values = function() {
|
|
1753
|
+
return this._map.keys();
|
|
1754
|
+
}, i.prototype.entries = function() {
|
|
1755
|
+
return this._map.entries();
|
|
1756
|
+
}, i.prototype["@@iterator"] = function() {
|
|
1757
|
+
return this.keys();
|
|
1758
|
+
}, i.prototype[v] = function() {
|
|
1759
|
+
return this.keys();
|
|
1760
|
+
}, i;
|
|
1761
|
+
}()
|
|
1762
|
+
);
|
|
1763
|
+
return r;
|
|
1764
|
+
}
|
|
1765
|
+
function Kt() {
|
|
1766
|
+
var r = 16, i = R.create(), n = o();
|
|
1767
|
+
return (
|
|
1768
|
+
/** @class */
|
|
1769
|
+
function() {
|
|
1770
|
+
function l() {
|
|
1771
|
+
this._key = o();
|
|
1772
|
+
}
|
|
1773
|
+
return l.prototype.has = function(u) {
|
|
1774
|
+
var c = p(
|
|
1775
|
+
u,
|
|
1776
|
+
/*create*/
|
|
1777
|
+
!1
|
|
1778
|
+
);
|
|
1779
|
+
return c !== void 0 ? R.has(c, this._key) : !1;
|
|
1780
|
+
}, l.prototype.get = function(u) {
|
|
1781
|
+
var c = p(
|
|
1782
|
+
u,
|
|
1783
|
+
/*create*/
|
|
1784
|
+
!1
|
|
1785
|
+
);
|
|
1786
|
+
return c !== void 0 ? R.get(c, this._key) : void 0;
|
|
1787
|
+
}, l.prototype.set = function(u, c) {
|
|
1788
|
+
var f = p(
|
|
1789
|
+
u,
|
|
1790
|
+
/*create*/
|
|
1791
|
+
!0
|
|
1792
|
+
);
|
|
1793
|
+
return f[this._key] = c, this;
|
|
1794
|
+
}, l.prototype.delete = function(u) {
|
|
1795
|
+
var c = p(
|
|
1796
|
+
u,
|
|
1797
|
+
/*create*/
|
|
1798
|
+
!1
|
|
1799
|
+
);
|
|
1800
|
+
return c !== void 0 ? delete c[this._key] : !1;
|
|
1801
|
+
}, l.prototype.clear = function() {
|
|
1802
|
+
this._key = o();
|
|
1803
|
+
}, l;
|
|
1804
|
+
}()
|
|
1805
|
+
);
|
|
1806
|
+
function o() {
|
|
1807
|
+
var l;
|
|
1808
|
+
do
|
|
1809
|
+
l = "@@WeakMap@@" + y();
|
|
1810
|
+
while (R.has(i, l));
|
|
1811
|
+
return i[l] = !0, l;
|
|
1812
|
+
}
|
|
1813
|
+
function p(l, u) {
|
|
1814
|
+
if (!s.call(l, n)) {
|
|
1815
|
+
if (!u)
|
|
1816
|
+
return;
|
|
1817
|
+
Object.defineProperty(l, n, { value: R.create() });
|
|
1818
|
+
}
|
|
1819
|
+
return l[n];
|
|
1820
|
+
}
|
|
1821
|
+
function k(l, u) {
|
|
1822
|
+
for (var c = 0; c < u; ++c)
|
|
1823
|
+
l[c] = Math.random() * 255 | 0;
|
|
1824
|
+
return l;
|
|
1825
|
+
}
|
|
1826
|
+
function O(l) {
|
|
1827
|
+
if (typeof Uint8Array == "function") {
|
|
1828
|
+
var u = new Uint8Array(l);
|
|
1829
|
+
return typeof crypto < "u" ? crypto.getRandomValues(u) : typeof msCrypto < "u" ? msCrypto.getRandomValues(u) : k(u, l), u;
|
|
1830
|
+
}
|
|
1831
|
+
return k(new Array(l), l);
|
|
1832
|
+
}
|
|
1833
|
+
function y() {
|
|
1834
|
+
var l = O(r);
|
|
1835
|
+
l[6] = l[6] & 79 | 64, l[8] = l[8] & 191 | 128;
|
|
1836
|
+
for (var u = "", c = 0; c < r; ++c) {
|
|
1837
|
+
var f = l[c];
|
|
1838
|
+
(c === 4 || c === 6 || c === 8) && (u += "-"), f < 16 && (u += "0"), u += f.toString(16).toLowerCase();
|
|
1839
|
+
}
|
|
1840
|
+
return u;
|
|
1841
|
+
}
|
|
1842
|
+
}
|
|
1843
|
+
function it(r) {
|
|
1844
|
+
return r.__ = void 0, delete r.__, r;
|
|
1845
|
+
}
|
|
1846
|
+
});
|
|
1847
|
+
})(Tt || (Tt = {}));
|
|
1848
|
+
const Z = /* @__PURE__ */ new Map(), Ct = Symbol("store");
|
|
1849
|
+
function Xe() {
|
|
1850
|
+
return function(a) {
|
|
1851
|
+
Reflect.defineMetadata(Ct, !0, a);
|
|
1852
|
+
const e = new a();
|
|
1853
|
+
return Z.set(a, e), a;
|
|
1854
|
+
};
|
|
1855
|
+
}
|
|
1856
|
+
function $e(a) {
|
|
1857
|
+
if (!Z.has(a)) {
|
|
1858
|
+
const e = new a();
|
|
1859
|
+
Z.set(a, e);
|
|
1860
|
+
}
|
|
1861
|
+
return Z.get(a);
|
|
1862
|
+
}
|
|
1863
|
+
function Ue(a) {
|
|
1864
|
+
return $e(a);
|
|
1865
|
+
}
|
|
1866
|
+
function Ze() {
|
|
1867
|
+
Z.clear();
|
|
1868
|
+
}
|
|
1869
|
+
function qe(a) {
|
|
1870
|
+
return Reflect.getMetadata(Ct, a) === !0;
|
|
1871
|
+
}
|
|
1872
|
+
const ot = {
|
|
1873
|
+
localStorage: {
|
|
1874
|
+
getItem: (a) => localStorage.getItem(a),
|
|
1875
|
+
setItem: (a, e) => localStorage.setItem(a, e),
|
|
1876
|
+
removeItem: (a) => localStorage.removeItem(a)
|
|
1877
|
+
},
|
|
1878
|
+
sessionStorage: {
|
|
1879
|
+
getItem: (a) => sessionStorage.getItem(a),
|
|
1880
|
+
setItem: (a, e) => sessionStorage.setItem(a, e),
|
|
1881
|
+
removeItem: (a) => sessionStorage.removeItem(a)
|
|
1882
|
+
}
|
|
1883
|
+
};
|
|
1884
|
+
function Qe(a, e) {
|
|
1885
|
+
const {
|
|
1886
|
+
key: t,
|
|
1887
|
+
storage: s = ot.localStorage,
|
|
1888
|
+
include: h,
|
|
1889
|
+
exclude: _,
|
|
1890
|
+
debounce: v = 300,
|
|
1891
|
+
version: w = 1,
|
|
1892
|
+
migrate: T
|
|
1893
|
+
} = e, B = s.getItem(t);
|
|
1894
|
+
if (B)
|
|
1895
|
+
try {
|
|
1896
|
+
const C = JSON.parse(B);
|
|
1897
|
+
if (C._version !== w && T) {
|
|
1898
|
+
const W = T(C.data, C._version || 0);
|
|
1899
|
+
a.value = W;
|
|
1900
|
+
} else
|
|
1901
|
+
a.value = C.data;
|
|
1902
|
+
} catch (C) {
|
|
1903
|
+
console.error(`Failed to load persisted state for key "${t}":`, C);
|
|
1904
|
+
}
|
|
1905
|
+
let R = null;
|
|
1906
|
+
const N = () => {
|
|
1907
|
+
R && clearTimeout(R), R = setTimeout(() => {
|
|
1908
|
+
try {
|
|
1909
|
+
let C = a.value;
|
|
1910
|
+
(h || _) && (C = Se(a.value, h, _));
|
|
1911
|
+
const W = {
|
|
1912
|
+
_version: w,
|
|
1913
|
+
data: C
|
|
1914
|
+
};
|
|
1915
|
+
s.setItem(t, JSON.stringify(W));
|
|
1916
|
+
} catch (C) {
|
|
1917
|
+
console.error(`Failed to persist state for key "${t}":`, C);
|
|
1918
|
+
}
|
|
1919
|
+
}, v);
|
|
1920
|
+
}, A = a.subscribe(N);
|
|
1921
|
+
return () => {
|
|
1922
|
+
A(), R && clearTimeout(R);
|
|
1923
|
+
};
|
|
1924
|
+
}
|
|
1925
|
+
function Se(a, e, t) {
|
|
1926
|
+
if (!a || typeof a != "object")
|
|
1927
|
+
return a;
|
|
1928
|
+
const s = {}, h = Object.keys(a);
|
|
1929
|
+
for (const _ of h)
|
|
1930
|
+
e && !e.includes(_) || t && t.includes(_) || (s[_] = a[_]);
|
|
1931
|
+
return s;
|
|
1932
|
+
}
|
|
1933
|
+
function Je(a, e = ot.localStorage) {
|
|
1934
|
+
e.removeItem(a);
|
|
1935
|
+
}
|
|
1936
|
+
function Ke(a, e = ot.localStorage) {
|
|
1937
|
+
const t = e.getItem(a);
|
|
1938
|
+
if (!t)
|
|
1939
|
+
return null;
|
|
1940
|
+
try {
|
|
1941
|
+
return JSON.parse(t).data;
|
|
1942
|
+
} catch (s) {
|
|
1943
|
+
return console.error(`Failed to parse persisted state for key "${a}":`, s), null;
|
|
1944
|
+
}
|
|
1945
|
+
}
|
|
1946
|
+
export {
|
|
1947
|
+
Kr as Alert,
|
|
1948
|
+
Pe as AssetCard,
|
|
1949
|
+
ae as Avatar,
|
|
1950
|
+
st as Badge,
|
|
1951
|
+
_i as Banner,
|
|
1952
|
+
E as Box,
|
|
1953
|
+
je as BurgerIcon,
|
|
1954
|
+
Mt as Button,
|
|
1955
|
+
ge as Canvas,
|
|
1956
|
+
J as Card,
|
|
1957
|
+
Hr as Center,
|
|
1958
|
+
ai as Checkbox,
|
|
1959
|
+
P as Circle,
|
|
1960
|
+
pi as Collapse,
|
|
1961
|
+
Ae as CollectionCard,
|
|
1962
|
+
H as Column,
|
|
1963
|
+
oi as Combobox,
|
|
1964
|
+
ze as Component,
|
|
1965
|
+
rr as ComputedSignal,
|
|
1966
|
+
jr as Container,
|
|
1967
|
+
We as ContentCard,
|
|
1968
|
+
zr as DashboardLayout,
|
|
1969
|
+
br as Fibo,
|
|
1970
|
+
wr as FiboApp,
|
|
1971
|
+
kr as FiboAppBuilder,
|
|
1972
|
+
Lr as FiboThemeProvider,
|
|
1973
|
+
Cr as FineGrainText,
|
|
1974
|
+
mi as Grid,
|
|
1975
|
+
yi as GridItem,
|
|
1976
|
+
Dr as Header,
|
|
1977
|
+
Qr as Icon,
|
|
1978
|
+
oe as Image,
|
|
1979
|
+
ti as Integration,
|
|
1980
|
+
ei as Label,
|
|
1981
|
+
Gr as Line,
|
|
1982
|
+
He as LinearGradient,
|
|
1983
|
+
Si as Link,
|
|
1984
|
+
gi as List,
|
|
1985
|
+
vi as ListTile,
|
|
1986
|
+
Oi as NavLink,
|
|
1987
|
+
ir as Observable,
|
|
1988
|
+
sr as Observer,
|
|
1989
|
+
De as Page,
|
|
1990
|
+
I as Path,
|
|
1991
|
+
Ir as PluginManager,
|
|
1992
|
+
Ne as ProfileCard,
|
|
1993
|
+
ri as Progress,
|
|
1994
|
+
nr as ProviderWrapper,
|
|
1995
|
+
li as RadioGroup,
|
|
1996
|
+
ar as ReactivityRoot,
|
|
1997
|
+
St as Rect,
|
|
1998
|
+
xi as Router,
|
|
1999
|
+
z as Row,
|
|
2000
|
+
Yr as Scaffold,
|
|
2001
|
+
Vr as ScrollView,
|
|
2002
|
+
hi as Select,
|
|
2003
|
+
Xr as Sidebar,
|
|
2004
|
+
or as Signal,
|
|
2005
|
+
ii as Skeleton,
|
|
2006
|
+
X as Spacer,
|
|
2007
|
+
si as Spinner,
|
|
2008
|
+
Xe as Store,
|
|
2009
|
+
ui as Switch,
|
|
2010
|
+
bi as Table,
|
|
2011
|
+
wi as Tags,
|
|
2012
|
+
M as Text,
|
|
2013
|
+
ci as TextField,
|
|
2014
|
+
di as Textarea,
|
|
2015
|
+
lr as ValueBuilder,
|
|
2016
|
+
Ur as VirtualColumn,
|
|
2017
|
+
Zr as ZStack,
|
|
2018
|
+
hr as applyResponsiveStyles,
|
|
2019
|
+
Rr as bindText,
|
|
2020
|
+
Je as clearPersistedState,
|
|
2021
|
+
Ye as clearRoutes,
|
|
2022
|
+
Ze as clearStores,
|
|
2023
|
+
ur as computed,
|
|
2024
|
+
cr as createReactivityRoot,
|
|
2025
|
+
dr as createStore,
|
|
2026
|
+
Fr as cupertinoTheme,
|
|
2027
|
+
fr as getCurrentScope,
|
|
2028
|
+
Ke as getPersistedState,
|
|
2029
|
+
Ge as getRegisteredRoutes,
|
|
2030
|
+
Ue as getStore,
|
|
2031
|
+
qe as isStore,
|
|
2032
|
+
Pr as materialTheme,
|
|
2033
|
+
xr as mount,
|
|
2034
|
+
_r as observable,
|
|
2035
|
+
Qe as persist,
|
|
2036
|
+
Ve as registerRoute,
|
|
2037
|
+
pr as runInScope,
|
|
2038
|
+
mr as signal,
|
|
2039
|
+
ot as storageAdapters,
|
|
2040
|
+
$r as toElement,
|
|
2041
|
+
yr as useBuilderState,
|
|
2042
|
+
Nr as useFiboTheme,
|
|
2043
|
+
Ti as useLocation,
|
|
2044
|
+
Mi as useNavigate,
|
|
2045
|
+
Sr as useObservable,
|
|
2046
|
+
Ci as useParams,
|
|
2047
|
+
gr as useProvider,
|
|
2048
|
+
Ri as useQuery,
|
|
2049
|
+
Or as useReactiveStore,
|
|
2050
|
+
Ei as useRouter,
|
|
2051
|
+
Tr as useSignal,
|
|
2052
|
+
$e as useStore,
|
|
2053
|
+
Ar as webTheme
|
|
2054
|
+
};
|