drizzle-cube 0.1.14 → 0.1.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/adapters/compiler-CQNna-Ig.js +19982 -0
- package/dist/adapters/express/index.js +29 -29
- package/dist/adapters/fastify/index.js +31 -31
- package/dist/adapters/hono/index.js +38 -38
- package/dist/adapters/nextjs/index.js +43 -43
- package/dist/adapters/utils.d.ts +4 -0
- package/dist/client/charts.d.ts +10 -0
- package/dist/client/charts.js +18 -0
- package/dist/client/charts.js.map +1 -0
- package/dist/client/chunks/charts-CM4y1xw4.js +2285 -0
- package/dist/client/chunks/charts-CM4y1xw4.js.map +1 -0
- package/dist/client/chunks/icons-D95augkg.js +1916 -0
- package/dist/client/chunks/icons-D95augkg.js.map +1 -0
- package/dist/client/chunks/providers-DdBep5JR.js +208 -0
- package/dist/client/chunks/providers-DdBep5JR.js.map +1 -0
- package/dist/client/components/AIAssistant/AIAssistantModal.d.ts +9 -0
- package/dist/client/components/AIAssistant/constants.d.ts +11 -0
- package/dist/client/components/AIAssistant/index.d.ts +7 -0
- package/dist/client/components/AIAssistant/types.d.ts +47 -0
- package/dist/client/components/AIAssistant/utils.d.ts +17 -0
- package/dist/client/components/QueryBuilder/DateRangeFilter.d.ts +4 -0
- package/dist/client/components/QueryBuilder/DateRangeSelector.d.ts +11 -0
- package/dist/client/components/QueryBuilder/types.d.ts +32 -0
- package/dist/client/components/QueryBuilder/utils.d.ts +70 -1
- package/dist/client/components.d.ts +16 -0
- package/dist/client/components.js +6290 -0
- package/dist/client/components.js.map +1 -0
- package/dist/client/hooks.d.ts +11 -0
- package/dist/client/hooks.js +132 -0
- package/dist/client/hooks.js.map +1 -0
- package/dist/client/index.d.ts +1 -1
- package/dist/client/index.js +29 -30132
- package/dist/client/index.js.map +1 -0
- package/dist/client/providers.d.ts +9 -0
- package/dist/client/providers.js +7 -0
- package/dist/client/providers.js.map +1 -0
- package/dist/client/styles.css +1 -1
- package/dist/client/utils.d.ts +8 -0
- package/dist/client/utils.js +2 -0
- package/dist/client/utils.js.map +1 -0
- package/dist/client-bundle-stats.html +4949 -0
- package/dist/server/index.d.ts +226 -365
- package/dist/server/index.js +18880 -1555
- package/package.json +26 -2
- package/dist/adapters/utils-C3A4JGFs.js +0 -3779
|
@@ -0,0 +1,1916 @@
|
|
|
1
|
+
import * as s from "react";
|
|
2
|
+
import { forwardRef as ae, useState as B, useEffect as G, createElement as W } from "react";
|
|
3
|
+
function ye({
|
|
4
|
+
title: e,
|
|
5
|
+
titleId: t,
|
|
6
|
+
...n
|
|
7
|
+
}, r) {
|
|
8
|
+
return /* @__PURE__ */ s.createElement("svg", Object.assign({
|
|
9
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
10
|
+
fill: "none",
|
|
11
|
+
viewBox: "0 0 24 24",
|
|
12
|
+
strokeWidth: 1.5,
|
|
13
|
+
stroke: "currentColor",
|
|
14
|
+
"aria-hidden": "true",
|
|
15
|
+
"data-slot": "icon",
|
|
16
|
+
ref: r,
|
|
17
|
+
"aria-labelledby": t
|
|
18
|
+
}, n), e ? /* @__PURE__ */ s.createElement("title", {
|
|
19
|
+
id: t
|
|
20
|
+
}, e) : null, /* @__PURE__ */ s.createElement("path", {
|
|
21
|
+
strokeLinecap: "round",
|
|
22
|
+
strokeLinejoin: "round",
|
|
23
|
+
d: "M16.023 9.348h4.992v-.001M2.985 19.644v-4.992m0 0h4.992m-4.993 0 3.181 3.183a8.25 8.25 0 0 0 13.803-3.7M4.031 9.865a8.25 8.25 0 0 1 13.803-3.7l3.181 3.182m0-4.991v4.99"
|
|
24
|
+
}));
|
|
25
|
+
}
|
|
26
|
+
const Jt = /* @__PURE__ */ s.forwardRef(ye);
|
|
27
|
+
function xe({
|
|
28
|
+
title: e,
|
|
29
|
+
titleId: t,
|
|
30
|
+
...n
|
|
31
|
+
}, r) {
|
|
32
|
+
return /* @__PURE__ */ s.createElement("svg", Object.assign({
|
|
33
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
34
|
+
fill: "none",
|
|
35
|
+
viewBox: "0 0 24 24",
|
|
36
|
+
strokeWidth: 1.5,
|
|
37
|
+
stroke: "currentColor",
|
|
38
|
+
"aria-hidden": "true",
|
|
39
|
+
"data-slot": "icon",
|
|
40
|
+
ref: r,
|
|
41
|
+
"aria-labelledby": t
|
|
42
|
+
}, n), e ? /* @__PURE__ */ s.createElement("title", {
|
|
43
|
+
id: t
|
|
44
|
+
}, e) : null, /* @__PURE__ */ s.createElement("path", {
|
|
45
|
+
strokeLinecap: "round",
|
|
46
|
+
strokeLinejoin: "round",
|
|
47
|
+
d: "M3.75 6.75h16.5M3.75 12h16.5m-16.5 5.25h16.5"
|
|
48
|
+
}));
|
|
49
|
+
}
|
|
50
|
+
const Kt = /* @__PURE__ */ s.forwardRef(xe);
|
|
51
|
+
function Ee({
|
|
52
|
+
title: e,
|
|
53
|
+
titleId: t,
|
|
54
|
+
...n
|
|
55
|
+
}, r) {
|
|
56
|
+
return /* @__PURE__ */ s.createElement("svg", Object.assign({
|
|
57
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
58
|
+
fill: "none",
|
|
59
|
+
viewBox: "0 0 24 24",
|
|
60
|
+
strokeWidth: 1.5,
|
|
61
|
+
stroke: "currentColor",
|
|
62
|
+
"aria-hidden": "true",
|
|
63
|
+
"data-slot": "icon",
|
|
64
|
+
ref: r,
|
|
65
|
+
"aria-labelledby": t
|
|
66
|
+
}, n), e ? /* @__PURE__ */ s.createElement("title", {
|
|
67
|
+
id: t
|
|
68
|
+
}, e) : null, /* @__PURE__ */ s.createElement("path", {
|
|
69
|
+
strokeLinecap: "round",
|
|
70
|
+
strokeLinejoin: "round",
|
|
71
|
+
d: "M6.75 3v2.25M17.25 3v2.25M3 18.75V7.5a2.25 2.25 0 0 1 2.25-2.25h13.5A2.25 2.25 0 0 1 21 7.5v11.25m-18 0A2.25 2.25 0 0 0 5.25 21h13.5A2.25 2.25 0 0 0 21 18.75m-18 0v-7.5A2.25 2.25 0 0 1 5.25 9h13.5A2.25 2.25 0 0 1 21 11.25v7.5"
|
|
72
|
+
}));
|
|
73
|
+
}
|
|
74
|
+
const Xt = /* @__PURE__ */ s.forwardRef(Ee);
|
|
75
|
+
function Le({
|
|
76
|
+
title: e,
|
|
77
|
+
titleId: t,
|
|
78
|
+
...n
|
|
79
|
+
}, r) {
|
|
80
|
+
return /* @__PURE__ */ s.createElement("svg", Object.assign({
|
|
81
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
82
|
+
fill: "none",
|
|
83
|
+
viewBox: "0 0 24 24",
|
|
84
|
+
strokeWidth: 1.5,
|
|
85
|
+
stroke: "currentColor",
|
|
86
|
+
"aria-hidden": "true",
|
|
87
|
+
"data-slot": "icon",
|
|
88
|
+
ref: r,
|
|
89
|
+
"aria-labelledby": t
|
|
90
|
+
}, n), e ? /* @__PURE__ */ s.createElement("title", {
|
|
91
|
+
id: t
|
|
92
|
+
}, e) : null, /* @__PURE__ */ s.createElement("path", {
|
|
93
|
+
strokeLinecap: "round",
|
|
94
|
+
strokeLinejoin: "round",
|
|
95
|
+
d: "M3 13.125C3 12.504 3.504 12 4.125 12h2.25c.621 0 1.125.504 1.125 1.125v6.75C7.5 20.496 6.996 21 6.375 21h-2.25A1.125 1.125 0 0 1 3 19.875v-6.75ZM9.75 8.625c0-.621.504-1.125 1.125-1.125h2.25c.621 0 1.125.504 1.125 1.125v11.25c0 .621-.504 1.125-1.125 1.125h-2.25a1.125 1.125 0 0 1-1.125-1.125V8.625ZM16.5 4.125c0-.621.504-1.125 1.125-1.125h2.25C20.496 3 21 3.504 21 4.125v15.75c0 .621-.504 1.125-1.125 1.125h-2.25a1.125 1.125 0 0 1-1.125-1.125V4.125Z"
|
|
96
|
+
}));
|
|
97
|
+
}
|
|
98
|
+
const Yt = /* @__PURE__ */ s.forwardRef(Le);
|
|
99
|
+
function je({
|
|
100
|
+
title: e,
|
|
101
|
+
titleId: t,
|
|
102
|
+
...n
|
|
103
|
+
}, r) {
|
|
104
|
+
return /* @__PURE__ */ s.createElement("svg", Object.assign({
|
|
105
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
106
|
+
fill: "none",
|
|
107
|
+
viewBox: "0 0 24 24",
|
|
108
|
+
strokeWidth: 1.5,
|
|
109
|
+
stroke: "currentColor",
|
|
110
|
+
"aria-hidden": "true",
|
|
111
|
+
"data-slot": "icon",
|
|
112
|
+
ref: r,
|
|
113
|
+
"aria-labelledby": t
|
|
114
|
+
}, n), e ? /* @__PURE__ */ s.createElement("title", {
|
|
115
|
+
id: t
|
|
116
|
+
}, e) : null, /* @__PURE__ */ s.createElement("path", {
|
|
117
|
+
strokeLinecap: "round",
|
|
118
|
+
strokeLinejoin: "round",
|
|
119
|
+
d: "M9 12.75 11.25 15 15 9.75M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"
|
|
120
|
+
}));
|
|
121
|
+
}
|
|
122
|
+
const en = /* @__PURE__ */ s.forwardRef(je);
|
|
123
|
+
function Ce({
|
|
124
|
+
title: e,
|
|
125
|
+
titleId: t,
|
|
126
|
+
...n
|
|
127
|
+
}, r) {
|
|
128
|
+
return /* @__PURE__ */ s.createElement("svg", Object.assign({
|
|
129
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
130
|
+
fill: "none",
|
|
131
|
+
viewBox: "0 0 24 24",
|
|
132
|
+
strokeWidth: 1.5,
|
|
133
|
+
stroke: "currentColor",
|
|
134
|
+
"aria-hidden": "true",
|
|
135
|
+
"data-slot": "icon",
|
|
136
|
+
ref: r,
|
|
137
|
+
"aria-labelledby": t
|
|
138
|
+
}, n), e ? /* @__PURE__ */ s.createElement("title", {
|
|
139
|
+
id: t
|
|
140
|
+
}, e) : null, /* @__PURE__ */ s.createElement("path", {
|
|
141
|
+
strokeLinecap: "round",
|
|
142
|
+
strokeLinejoin: "round",
|
|
143
|
+
d: "m19.5 8.25-7.5 7.5-7.5-7.5"
|
|
144
|
+
}));
|
|
145
|
+
}
|
|
146
|
+
const tn = /* @__PURE__ */ s.forwardRef(Ce);
|
|
147
|
+
function Me({
|
|
148
|
+
title: e,
|
|
149
|
+
titleId: t,
|
|
150
|
+
...n
|
|
151
|
+
}, r) {
|
|
152
|
+
return /* @__PURE__ */ s.createElement("svg", Object.assign({
|
|
153
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
154
|
+
fill: "none",
|
|
155
|
+
viewBox: "0 0 24 24",
|
|
156
|
+
strokeWidth: 1.5,
|
|
157
|
+
stroke: "currentColor",
|
|
158
|
+
"aria-hidden": "true",
|
|
159
|
+
"data-slot": "icon",
|
|
160
|
+
ref: r,
|
|
161
|
+
"aria-labelledby": t
|
|
162
|
+
}, n), e ? /* @__PURE__ */ s.createElement("title", {
|
|
163
|
+
id: t
|
|
164
|
+
}, e) : null, /* @__PURE__ */ s.createElement("path", {
|
|
165
|
+
strokeLinecap: "round",
|
|
166
|
+
strokeLinejoin: "round",
|
|
167
|
+
d: "m8.25 4.5 7.5 7.5-7.5 7.5"
|
|
168
|
+
}));
|
|
169
|
+
}
|
|
170
|
+
const nn = /* @__PURE__ */ s.forwardRef(Me);
|
|
171
|
+
function Re({
|
|
172
|
+
title: e,
|
|
173
|
+
titleId: t,
|
|
174
|
+
...n
|
|
175
|
+
}, r) {
|
|
176
|
+
return /* @__PURE__ */ s.createElement("svg", Object.assign({
|
|
177
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
178
|
+
fill: "none",
|
|
179
|
+
viewBox: "0 0 24 24",
|
|
180
|
+
strokeWidth: 1.5,
|
|
181
|
+
stroke: "currentColor",
|
|
182
|
+
"aria-hidden": "true",
|
|
183
|
+
"data-slot": "icon",
|
|
184
|
+
ref: r,
|
|
185
|
+
"aria-labelledby": t
|
|
186
|
+
}, n), e ? /* @__PURE__ */ s.createElement("title", {
|
|
187
|
+
id: t
|
|
188
|
+
}, e) : null, /* @__PURE__ */ s.createElement("path", {
|
|
189
|
+
strokeLinecap: "round",
|
|
190
|
+
strokeLinejoin: "round",
|
|
191
|
+
d: "M8.25 15 12 18.75 15.75 15m-7.5-6L12 5.25 15.75 9"
|
|
192
|
+
}));
|
|
193
|
+
}
|
|
194
|
+
const rn = /* @__PURE__ */ s.forwardRef(Re);
|
|
195
|
+
function Ie({
|
|
196
|
+
title: e,
|
|
197
|
+
titleId: t,
|
|
198
|
+
...n
|
|
199
|
+
}, r) {
|
|
200
|
+
return /* @__PURE__ */ s.createElement("svg", Object.assign({
|
|
201
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
202
|
+
fill: "none",
|
|
203
|
+
viewBox: "0 0 24 24",
|
|
204
|
+
strokeWidth: 1.5,
|
|
205
|
+
stroke: "currentColor",
|
|
206
|
+
"aria-hidden": "true",
|
|
207
|
+
"data-slot": "icon",
|
|
208
|
+
ref: r,
|
|
209
|
+
"aria-labelledby": t
|
|
210
|
+
}, n), e ? /* @__PURE__ */ s.createElement("title", {
|
|
211
|
+
id: t
|
|
212
|
+
}, e) : null, /* @__PURE__ */ s.createElement("path", {
|
|
213
|
+
strokeLinecap: "round",
|
|
214
|
+
strokeLinejoin: "round",
|
|
215
|
+
d: "m4.5 15.75 7.5-7.5 7.5 7.5"
|
|
216
|
+
}));
|
|
217
|
+
}
|
|
218
|
+
const on = /* @__PURE__ */ s.forwardRef(Ie);
|
|
219
|
+
function Fe({
|
|
220
|
+
title: e,
|
|
221
|
+
titleId: t,
|
|
222
|
+
...n
|
|
223
|
+
}, r) {
|
|
224
|
+
return /* @__PURE__ */ s.createElement("svg", Object.assign({
|
|
225
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
226
|
+
fill: "none",
|
|
227
|
+
viewBox: "0 0 24 24",
|
|
228
|
+
strokeWidth: 1.5,
|
|
229
|
+
stroke: "currentColor",
|
|
230
|
+
"aria-hidden": "true",
|
|
231
|
+
"data-slot": "icon",
|
|
232
|
+
ref: r,
|
|
233
|
+
"aria-labelledby": t
|
|
234
|
+
}, n), e ? /* @__PURE__ */ s.createElement("title", {
|
|
235
|
+
id: t
|
|
236
|
+
}, e) : null, /* @__PURE__ */ s.createElement("path", {
|
|
237
|
+
strokeLinecap: "round",
|
|
238
|
+
strokeLinejoin: "round",
|
|
239
|
+
d: "M8.25 7.5V6.108c0-1.135.845-2.098 1.976-2.192.373-.03.748-.057 1.123-.08M15.75 18H18a2.25 2.25 0 0 0 2.25-2.25V6.108c0-1.135-.845-2.098-1.976-2.192a48.424 48.424 0 0 0-1.123-.08M15.75 18.75v-1.875a3.375 3.375 0 0 0-3.375-3.375h-1.5a1.125 1.125 0 0 1-1.125-1.125v-1.5A3.375 3.375 0 0 0 6.375 7.5H5.25m11.9-3.664A2.251 2.251 0 0 0 15 2.25h-1.5a2.251 2.251 0 0 0-2.15 1.586m5.8 0c.065.21.1.433.1.664v.75h-6V4.5c0-.231.035-.454.1-.664M6.75 7.5H4.875c-.621 0-1.125.504-1.125 1.125v12c0 .621.504 1.125 1.125 1.125h9.75c.621 0 1.125-.504 1.125-1.125V16.5a9 9 0 0 0-9-9Z"
|
|
240
|
+
}));
|
|
241
|
+
}
|
|
242
|
+
const sn = /* @__PURE__ */ s.forwardRef(Fe);
|
|
243
|
+
function Oe({
|
|
244
|
+
title: e,
|
|
245
|
+
titleId: t,
|
|
246
|
+
...n
|
|
247
|
+
}, r) {
|
|
248
|
+
return /* @__PURE__ */ s.createElement("svg", Object.assign({
|
|
249
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
250
|
+
fill: "none",
|
|
251
|
+
viewBox: "0 0 24 24",
|
|
252
|
+
strokeWidth: 1.5,
|
|
253
|
+
stroke: "currentColor",
|
|
254
|
+
"aria-hidden": "true",
|
|
255
|
+
"data-slot": "icon",
|
|
256
|
+
ref: r,
|
|
257
|
+
"aria-labelledby": t
|
|
258
|
+
}, n), e ? /* @__PURE__ */ s.createElement("title", {
|
|
259
|
+
id: t
|
|
260
|
+
}, e) : null, /* @__PURE__ */ s.createElement("path", {
|
|
261
|
+
strokeLinecap: "round",
|
|
262
|
+
strokeLinejoin: "round",
|
|
263
|
+
d: "M12 6v6h4.5m4.5 0a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"
|
|
264
|
+
}));
|
|
265
|
+
}
|
|
266
|
+
const an = /* @__PURE__ */ s.forwardRef(Oe);
|
|
267
|
+
function Se({
|
|
268
|
+
title: e,
|
|
269
|
+
titleId: t,
|
|
270
|
+
...n
|
|
271
|
+
}, r) {
|
|
272
|
+
return /* @__PURE__ */ s.createElement("svg", Object.assign({
|
|
273
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
274
|
+
fill: "none",
|
|
275
|
+
viewBox: "0 0 24 24",
|
|
276
|
+
strokeWidth: 1.5,
|
|
277
|
+
stroke: "currentColor",
|
|
278
|
+
"aria-hidden": "true",
|
|
279
|
+
"data-slot": "icon",
|
|
280
|
+
ref: r,
|
|
281
|
+
"aria-labelledby": t
|
|
282
|
+
}, n), e ? /* @__PURE__ */ s.createElement("title", {
|
|
283
|
+
id: t
|
|
284
|
+
}, e) : null, /* @__PURE__ */ s.createElement("path", {
|
|
285
|
+
strokeLinecap: "round",
|
|
286
|
+
strokeLinejoin: "round",
|
|
287
|
+
d: "M4.5 12a7.5 7.5 0 0 0 15 0m-15 0a7.5 7.5 0 1 1 15 0m-15 0H3m16.5 0H21m-1.5 0H12m-8.457 3.077 1.41-.513m14.095-5.13 1.41-.513M5.106 17.785l1.15-.964m11.49-9.642 1.149-.964M7.501 19.795l.75-1.3m7.5-12.99.75-1.3m-6.063 16.658.26-1.477m2.605-14.772.26-1.477m0 17.726-.26-1.477M10.698 4.614l-.26-1.477M16.5 19.794l-.75-1.299M7.5 4.205 12 12m6.894 5.785-1.149-.964M6.256 7.178l-1.15-.964m15.352 8.864-1.41-.513M4.954 9.435l-1.41-.514M12.002 12l-3.75 6.495"
|
|
288
|
+
}));
|
|
289
|
+
}
|
|
290
|
+
const cn = /* @__PURE__ */ s.forwardRef(Se);
|
|
291
|
+
function Ae({
|
|
292
|
+
title: e,
|
|
293
|
+
titleId: t,
|
|
294
|
+
...n
|
|
295
|
+
}, r) {
|
|
296
|
+
return /* @__PURE__ */ s.createElement("svg", Object.assign({
|
|
297
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
298
|
+
fill: "none",
|
|
299
|
+
viewBox: "0 0 24 24",
|
|
300
|
+
strokeWidth: 1.5,
|
|
301
|
+
stroke: "currentColor",
|
|
302
|
+
"aria-hidden": "true",
|
|
303
|
+
"data-slot": "icon",
|
|
304
|
+
ref: r,
|
|
305
|
+
"aria-labelledby": t
|
|
306
|
+
}, n), e ? /* @__PURE__ */ s.createElement("title", {
|
|
307
|
+
id: t
|
|
308
|
+
}, e) : null, /* @__PURE__ */ s.createElement("path", {
|
|
309
|
+
strokeLinecap: "round",
|
|
310
|
+
strokeLinejoin: "round",
|
|
311
|
+
d: "M12 9v3.75m9-.75a9 9 0 1 1-18 0 9 9 0 0 1 18 0Zm-9 3.75h.008v.008H12v-.008Z"
|
|
312
|
+
}));
|
|
313
|
+
}
|
|
314
|
+
const ln = /* @__PURE__ */ s.forwardRef(Ae);
|
|
315
|
+
function Te({
|
|
316
|
+
title: e,
|
|
317
|
+
titleId: t,
|
|
318
|
+
...n
|
|
319
|
+
}, r) {
|
|
320
|
+
return /* @__PURE__ */ s.createElement("svg", Object.assign({
|
|
321
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
322
|
+
fill: "none",
|
|
323
|
+
viewBox: "0 0 24 24",
|
|
324
|
+
strokeWidth: 1.5,
|
|
325
|
+
stroke: "currentColor",
|
|
326
|
+
"aria-hidden": "true",
|
|
327
|
+
"data-slot": "icon",
|
|
328
|
+
ref: r,
|
|
329
|
+
"aria-labelledby": t
|
|
330
|
+
}, n), e ? /* @__PURE__ */ s.createElement("title", {
|
|
331
|
+
id: t
|
|
332
|
+
}, e) : null, /* @__PURE__ */ s.createElement("path", {
|
|
333
|
+
strokeLinecap: "round",
|
|
334
|
+
strokeLinejoin: "round",
|
|
335
|
+
d: "M12 9v3.75m-9.303 3.376c-.866 1.5.217 3.374 1.948 3.374h14.71c1.73 0 2.813-1.874 1.948-3.374L13.949 3.378c-.866-1.5-3.032-1.5-3.898 0L2.697 16.126ZM12 15.75h.007v.008H12v-.008Z"
|
|
336
|
+
}));
|
|
337
|
+
}
|
|
338
|
+
const un = /* @__PURE__ */ s.forwardRef(Te);
|
|
339
|
+
function $e({
|
|
340
|
+
title: e,
|
|
341
|
+
titleId: t,
|
|
342
|
+
...n
|
|
343
|
+
}, r) {
|
|
344
|
+
return /* @__PURE__ */ s.createElement("svg", Object.assign({
|
|
345
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
346
|
+
fill: "none",
|
|
347
|
+
viewBox: "0 0 24 24",
|
|
348
|
+
strokeWidth: 1.5,
|
|
349
|
+
stroke: "currentColor",
|
|
350
|
+
"aria-hidden": "true",
|
|
351
|
+
"data-slot": "icon",
|
|
352
|
+
ref: r,
|
|
353
|
+
"aria-labelledby": t
|
|
354
|
+
}, n), e ? /* @__PURE__ */ s.createElement("title", {
|
|
355
|
+
id: t
|
|
356
|
+
}, e) : null, /* @__PURE__ */ s.createElement("path", {
|
|
357
|
+
strokeLinecap: "round",
|
|
358
|
+
strokeLinejoin: "round",
|
|
359
|
+
d: "M12 3c2.755 0 5.455.232 8.083.678.533.09.917.556.917 1.096v1.044a2.25 2.25 0 0 1-.659 1.591l-5.432 5.432a2.25 2.25 0 0 0-.659 1.591v2.927a2.25 2.25 0 0 1-1.244 2.013L9.75 21v-6.568a2.25 2.25 0 0 0-.659-1.591L3.659 7.409A2.25 2.25 0 0 1 3 5.818V4.774c0-.54.384-1.006.917-1.096A48.32 48.32 0 0 1 12 3Z"
|
|
360
|
+
}));
|
|
361
|
+
}
|
|
362
|
+
const fn = /* @__PURE__ */ s.forwardRef($e);
|
|
363
|
+
function Pe({
|
|
364
|
+
title: e,
|
|
365
|
+
titleId: t,
|
|
366
|
+
...n
|
|
367
|
+
}, r) {
|
|
368
|
+
return /* @__PURE__ */ s.createElement("svg", Object.assign({
|
|
369
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
370
|
+
fill: "none",
|
|
371
|
+
viewBox: "0 0 24 24",
|
|
372
|
+
strokeWidth: 1.5,
|
|
373
|
+
stroke: "currentColor",
|
|
374
|
+
"aria-hidden": "true",
|
|
375
|
+
"data-slot": "icon",
|
|
376
|
+
ref: r,
|
|
377
|
+
"aria-labelledby": t
|
|
378
|
+
}, n), e ? /* @__PURE__ */ s.createElement("title", {
|
|
379
|
+
id: t
|
|
380
|
+
}, e) : null, /* @__PURE__ */ s.createElement("path", {
|
|
381
|
+
strokeLinecap: "round",
|
|
382
|
+
strokeLinejoin: "round",
|
|
383
|
+
d: "m21 21-5.197-5.197m0 0A7.5 7.5 0 1 0 5.196 5.196a7.5 7.5 0 0 0 10.607 10.607Z"
|
|
384
|
+
}));
|
|
385
|
+
}
|
|
386
|
+
const dn = /* @__PURE__ */ s.forwardRef(Pe);
|
|
387
|
+
function Be({
|
|
388
|
+
title: e,
|
|
389
|
+
titleId: t,
|
|
390
|
+
...n
|
|
391
|
+
}, r) {
|
|
392
|
+
return /* @__PURE__ */ s.createElement("svg", Object.assign({
|
|
393
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
394
|
+
fill: "none",
|
|
395
|
+
viewBox: "0 0 24 24",
|
|
396
|
+
strokeWidth: 1.5,
|
|
397
|
+
stroke: "currentColor",
|
|
398
|
+
"aria-hidden": "true",
|
|
399
|
+
"data-slot": "icon",
|
|
400
|
+
ref: r,
|
|
401
|
+
"aria-labelledby": t
|
|
402
|
+
}, n), e ? /* @__PURE__ */ s.createElement("title", {
|
|
403
|
+
id: t
|
|
404
|
+
}, e) : null, /* @__PURE__ */ s.createElement("path", {
|
|
405
|
+
strokeLinecap: "round",
|
|
406
|
+
strokeLinejoin: "round",
|
|
407
|
+
d: "m16.862 4.487 1.687-1.688a1.875 1.875 0 1 1 2.652 2.652L6.832 19.82a4.5 4.5 0 0 1-1.897 1.13l-2.685.8.8-2.685a4.5 4.5 0 0 1 1.13-1.897L16.863 4.487Zm0 0L19.5 7.125"
|
|
408
|
+
}));
|
|
409
|
+
}
|
|
410
|
+
const hn = /* @__PURE__ */ s.forwardRef(Be);
|
|
411
|
+
function He({
|
|
412
|
+
title: e,
|
|
413
|
+
titleId: t,
|
|
414
|
+
...n
|
|
415
|
+
}, r) {
|
|
416
|
+
return /* @__PURE__ */ s.createElement("svg", Object.assign({
|
|
417
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
418
|
+
fill: "none",
|
|
419
|
+
viewBox: "0 0 24 24",
|
|
420
|
+
strokeWidth: 1.5,
|
|
421
|
+
stroke: "currentColor",
|
|
422
|
+
"aria-hidden": "true",
|
|
423
|
+
"data-slot": "icon",
|
|
424
|
+
ref: r,
|
|
425
|
+
"aria-labelledby": t
|
|
426
|
+
}, n), e ? /* @__PURE__ */ s.createElement("title", {
|
|
427
|
+
id: t
|
|
428
|
+
}, e) : null, /* @__PURE__ */ s.createElement("path", {
|
|
429
|
+
strokeLinecap: "round",
|
|
430
|
+
strokeLinejoin: "round",
|
|
431
|
+
d: "M12 4.5v15m7.5-7.5h-15"
|
|
432
|
+
}));
|
|
433
|
+
}
|
|
434
|
+
const pn = /* @__PURE__ */ s.forwardRef(He);
|
|
435
|
+
function Ze({
|
|
436
|
+
title: e,
|
|
437
|
+
titleId: t,
|
|
438
|
+
...n
|
|
439
|
+
}, r) {
|
|
440
|
+
return /* @__PURE__ */ s.createElement("svg", Object.assign({
|
|
441
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
442
|
+
fill: "none",
|
|
443
|
+
viewBox: "0 0 24 24",
|
|
444
|
+
strokeWidth: 1.5,
|
|
445
|
+
stroke: "currentColor",
|
|
446
|
+
"aria-hidden": "true",
|
|
447
|
+
"data-slot": "icon",
|
|
448
|
+
ref: r,
|
|
449
|
+
"aria-labelledby": t
|
|
450
|
+
}, n), e ? /* @__PURE__ */ s.createElement("title", {
|
|
451
|
+
id: t
|
|
452
|
+
}, e) : null, /* @__PURE__ */ s.createElement("path", {
|
|
453
|
+
strokeLinecap: "round",
|
|
454
|
+
strokeLinejoin: "round",
|
|
455
|
+
d: "M9.813 15.904 9 18.75l-.813-2.846a4.5 4.5 0 0 0-3.09-3.09L2.25 12l2.846-.813a4.5 4.5 0 0 0 3.09-3.09L9 5.25l.813 2.846a4.5 4.5 0 0 0 3.09 3.09L15.75 12l-2.846.813a4.5 4.5 0 0 0-3.09 3.09ZM18.259 8.715 18 9.75l-.259-1.035a3.375 3.375 0 0 0-2.455-2.456L14.25 6l1.036-.259a3.375 3.375 0 0 0 2.455-2.456L18 2.25l.259 1.035a3.375 3.375 0 0 0 2.456 2.456L21.75 6l-1.035.259a3.375 3.375 0 0 0-2.456 2.456ZM16.894 20.567 16.5 21.75l-.394-1.183a2.25 2.25 0 0 0-1.423-1.423L13.5 18.75l1.183-.394a2.25 2.25 0 0 0 1.423-1.423l.394-1.183.394 1.183a2.25 2.25 0 0 0 1.423 1.423l1.183.394-1.183.394a2.25 2.25 0 0 0-1.423 1.423Z"
|
|
456
|
+
}));
|
|
457
|
+
}
|
|
458
|
+
const mn = /* @__PURE__ */ s.forwardRef(Ze);
|
|
459
|
+
function We({
|
|
460
|
+
title: e,
|
|
461
|
+
titleId: t,
|
|
462
|
+
...n
|
|
463
|
+
}, r) {
|
|
464
|
+
return /* @__PURE__ */ s.createElement("svg", Object.assign({
|
|
465
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
466
|
+
fill: "none",
|
|
467
|
+
viewBox: "0 0 24 24",
|
|
468
|
+
strokeWidth: 1.5,
|
|
469
|
+
stroke: "currentColor",
|
|
470
|
+
"aria-hidden": "true",
|
|
471
|
+
"data-slot": "icon",
|
|
472
|
+
ref: r,
|
|
473
|
+
"aria-labelledby": t
|
|
474
|
+
}, n), e ? /* @__PURE__ */ s.createElement("title", {
|
|
475
|
+
id: t
|
|
476
|
+
}, e) : null, /* @__PURE__ */ s.createElement("path", {
|
|
477
|
+
strokeLinecap: "round",
|
|
478
|
+
strokeLinejoin: "round",
|
|
479
|
+
d: "M9.568 3H5.25A2.25 2.25 0 0 0 3 5.25v4.318c0 .597.237 1.17.659 1.591l9.581 9.581c.699.699 1.78.872 2.607.33a18.095 18.095 0 0 0 5.223-5.223c.542-.827.369-1.908-.33-2.607L11.16 3.66A2.25 2.25 0 0 0 9.568 3Z"
|
|
480
|
+
}), /* @__PURE__ */ s.createElement("path", {
|
|
481
|
+
strokeLinecap: "round",
|
|
482
|
+
strokeLinejoin: "round",
|
|
483
|
+
d: "M6 6h.008v.008H6V6Z"
|
|
484
|
+
}));
|
|
485
|
+
}
|
|
486
|
+
const gn = /* @__PURE__ */ s.forwardRef(We);
|
|
487
|
+
function Ve({
|
|
488
|
+
title: e,
|
|
489
|
+
titleId: t,
|
|
490
|
+
...n
|
|
491
|
+
}, r) {
|
|
492
|
+
return /* @__PURE__ */ s.createElement("svg", Object.assign({
|
|
493
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
494
|
+
fill: "none",
|
|
495
|
+
viewBox: "0 0 24 24",
|
|
496
|
+
strokeWidth: 1.5,
|
|
497
|
+
stroke: "currentColor",
|
|
498
|
+
"aria-hidden": "true",
|
|
499
|
+
"data-slot": "icon",
|
|
500
|
+
ref: r,
|
|
501
|
+
"aria-labelledby": t
|
|
502
|
+
}, n), e ? /* @__PURE__ */ s.createElement("title", {
|
|
503
|
+
id: t
|
|
504
|
+
}, e) : null, /* @__PURE__ */ s.createElement("path", {
|
|
505
|
+
strokeLinecap: "round",
|
|
506
|
+
strokeLinejoin: "round",
|
|
507
|
+
d: "m14.74 9-.346 9m-4.788 0L9.26 9m9.968-3.21c.342.052.682.107 1.022.166m-1.022-.165L18.16 19.673a2.25 2.25 0 0 1-2.244 2.077H8.084a2.25 2.25 0 0 1-2.244-2.077L4.772 5.79m14.456 0a48.108 48.108 0 0 0-3.478-.397m-12 .562c.34-.059.68-.114 1.022-.165m0 0a48.11 48.11 0 0 1 3.478-.397m7.5 0v-.916c0-1.18-.91-2.164-2.09-2.201a51.964 51.964 0 0 0-3.32 0c-1.18.037-2.09 1.022-2.09 2.201v.916m7.5 0a48.667 48.667 0 0 0-7.5 0"
|
|
508
|
+
}));
|
|
509
|
+
}
|
|
510
|
+
const wn = /* @__PURE__ */ s.forwardRef(Ve);
|
|
511
|
+
function Ne({
|
|
512
|
+
title: e,
|
|
513
|
+
titleId: t,
|
|
514
|
+
...n
|
|
515
|
+
}, r) {
|
|
516
|
+
return /* @__PURE__ */ s.createElement("svg", Object.assign({
|
|
517
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
518
|
+
fill: "none",
|
|
519
|
+
viewBox: "0 0 24 24",
|
|
520
|
+
strokeWidth: 1.5,
|
|
521
|
+
stroke: "currentColor",
|
|
522
|
+
"aria-hidden": "true",
|
|
523
|
+
"data-slot": "icon",
|
|
524
|
+
ref: r,
|
|
525
|
+
"aria-labelledby": t
|
|
526
|
+
}, n), e ? /* @__PURE__ */ s.createElement("title", {
|
|
527
|
+
id: t
|
|
528
|
+
}, e) : null, /* @__PURE__ */ s.createElement("path", {
|
|
529
|
+
strokeLinecap: "round",
|
|
530
|
+
strokeLinejoin: "round",
|
|
531
|
+
d: "M6 18 18 6M6 6l12 12"
|
|
532
|
+
}));
|
|
533
|
+
}
|
|
534
|
+
const vn = /* @__PURE__ */ s.forwardRef(Ne);
|
|
535
|
+
function De({
|
|
536
|
+
title: e,
|
|
537
|
+
titleId: t,
|
|
538
|
+
...n
|
|
539
|
+
}, r) {
|
|
540
|
+
return /* @__PURE__ */ s.createElement("svg", Object.assign({
|
|
541
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
542
|
+
viewBox: "0 0 24 24",
|
|
543
|
+
fill: "currentColor",
|
|
544
|
+
"aria-hidden": "true",
|
|
545
|
+
"data-slot": "icon",
|
|
546
|
+
ref: r,
|
|
547
|
+
"aria-labelledby": t
|
|
548
|
+
}, n), e ? /* @__PURE__ */ s.createElement("title", {
|
|
549
|
+
id: t
|
|
550
|
+
}, e) : null, /* @__PURE__ */ s.createElement("path", {
|
|
551
|
+
fillRule: "evenodd",
|
|
552
|
+
d: "M6.75 2.25A.75.75 0 0 1 7.5 3v1.5h9V3A.75.75 0 0 1 18 3v1.5h.75a3 3 0 0 1 3 3v11.25a3 3 0 0 1-3 3H5.25a3 3 0 0 1-3-3V7.5a3 3 0 0 1 3-3H6V3a.75.75 0 0 1 .75-.75Zm13.5 9a1.5 1.5 0 0 0-1.5-1.5H5.25a1.5 1.5 0 0 0-1.5 1.5v7.5a1.5 1.5 0 0 0 1.5 1.5h13.5a1.5 1.5 0 0 0 1.5-1.5v-7.5Z",
|
|
553
|
+
clipRule: "evenodd"
|
|
554
|
+
}));
|
|
555
|
+
}
|
|
556
|
+
const kn = /* @__PURE__ */ s.forwardRef(De);
|
|
557
|
+
function ze({
|
|
558
|
+
title: e,
|
|
559
|
+
titleId: t,
|
|
560
|
+
...n
|
|
561
|
+
}, r) {
|
|
562
|
+
return /* @__PURE__ */ s.createElement("svg", Object.assign({
|
|
563
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
564
|
+
viewBox: "0 0 24 24",
|
|
565
|
+
fill: "currentColor",
|
|
566
|
+
"aria-hidden": "true",
|
|
567
|
+
"data-slot": "icon",
|
|
568
|
+
ref: r,
|
|
569
|
+
"aria-labelledby": t
|
|
570
|
+
}, n), e ? /* @__PURE__ */ s.createElement("title", {
|
|
571
|
+
id: t
|
|
572
|
+
}, e) : null, /* @__PURE__ */ s.createElement("path", {
|
|
573
|
+
d: "M18.375 2.25c-1.035 0-1.875.84-1.875 1.875v15.75c0 1.035.84 1.875 1.875 1.875h.75c1.035 0 1.875-.84 1.875-1.875V4.125c0-1.036-.84-1.875-1.875-1.875h-.75ZM9.75 8.625c0-1.036.84-1.875 1.875-1.875h.75c1.036 0 1.875.84 1.875 1.875v11.25c0 1.035-.84 1.875-1.875 1.875h-.75a1.875 1.875 0 0 1-1.875-1.875V8.625ZM3 13.125c0-1.036.84-1.875 1.875-1.875h.75c1.036 0 1.875.84 1.875 1.875v6.75c0 1.035-.84 1.875-1.875 1.875h-.75A1.875 1.875 0 0 1 3 19.875v-6.75Z"
|
|
574
|
+
}));
|
|
575
|
+
}
|
|
576
|
+
const bn = /* @__PURE__ */ s.forwardRef(ze);
|
|
577
|
+
function Ue({
|
|
578
|
+
title: e,
|
|
579
|
+
titleId: t,
|
|
580
|
+
...n
|
|
581
|
+
}, r) {
|
|
582
|
+
return /* @__PURE__ */ s.createElement("svg", Object.assign({
|
|
583
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
584
|
+
viewBox: "0 0 24 24",
|
|
585
|
+
fill: "currentColor",
|
|
586
|
+
"aria-hidden": "true",
|
|
587
|
+
"data-slot": "icon",
|
|
588
|
+
ref: r,
|
|
589
|
+
"aria-labelledby": t
|
|
590
|
+
}, n), e ? /* @__PURE__ */ s.createElement("title", {
|
|
591
|
+
id: t
|
|
592
|
+
}, e) : null, /* @__PURE__ */ s.createElement("path", {
|
|
593
|
+
fillRule: "evenodd",
|
|
594
|
+
d: "M19.916 4.626a.75.75 0 0 1 .208 1.04l-9 13.5a.75.75 0 0 1-1.154.114l-6-6a.75.75 0 0 1 1.06-1.06l5.353 5.353 8.493-12.74a.75.75 0 0 1 1.04-.207Z",
|
|
595
|
+
clipRule: "evenodd"
|
|
596
|
+
}));
|
|
597
|
+
}
|
|
598
|
+
const yn = /* @__PURE__ */ s.forwardRef(Ue);
|
|
599
|
+
function _e({
|
|
600
|
+
title: e,
|
|
601
|
+
titleId: t,
|
|
602
|
+
...n
|
|
603
|
+
}, r) {
|
|
604
|
+
return /* @__PURE__ */ s.createElement("svg", Object.assign({
|
|
605
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
606
|
+
viewBox: "0 0 24 24",
|
|
607
|
+
fill: "currentColor",
|
|
608
|
+
"aria-hidden": "true",
|
|
609
|
+
"data-slot": "icon",
|
|
610
|
+
ref: r,
|
|
611
|
+
"aria-labelledby": t
|
|
612
|
+
}, n), e ? /* @__PURE__ */ s.createElement("title", {
|
|
613
|
+
id: t
|
|
614
|
+
}, e) : null, /* @__PURE__ */ s.createElement("path", {
|
|
615
|
+
fillRule: "evenodd",
|
|
616
|
+
d: "M4.5 5.653c0-1.427 1.529-2.33 2.779-1.643l11.54 6.347c1.295.712 1.295 2.573 0 3.286L7.28 19.99c-1.25.687-2.779-.217-2.779-1.643V5.653Z",
|
|
617
|
+
clipRule: "evenodd"
|
|
618
|
+
}));
|
|
619
|
+
}
|
|
620
|
+
const xn = /* @__PURE__ */ s.forwardRef(_e);
|
|
621
|
+
function qe({
|
|
622
|
+
title: e,
|
|
623
|
+
titleId: t,
|
|
624
|
+
...n
|
|
625
|
+
}, r) {
|
|
626
|
+
return /* @__PURE__ */ s.createElement("svg", Object.assign({
|
|
627
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
628
|
+
viewBox: "0 0 24 24",
|
|
629
|
+
fill: "currentColor",
|
|
630
|
+
"aria-hidden": "true",
|
|
631
|
+
"data-slot": "icon",
|
|
632
|
+
ref: r,
|
|
633
|
+
"aria-labelledby": t
|
|
634
|
+
}, n), e ? /* @__PURE__ */ s.createElement("title", {
|
|
635
|
+
id: t
|
|
636
|
+
}, e) : null, /* @__PURE__ */ s.createElement("path", {
|
|
637
|
+
fillRule: "evenodd",
|
|
638
|
+
d: "M5.25 2.25a3 3 0 0 0-3 3v4.318a3 3 0 0 0 .879 2.121l9.58 9.581c.92.92 2.39 1.186 3.548.428a18.849 18.849 0 0 0 5.441-5.44c.758-1.16.492-2.629-.428-3.548l-9.58-9.581a3 3 0 0 0-2.122-.879H5.25ZM6.375 7.5a1.125 1.125 0 1 0 0-2.25 1.125 1.125 0 0 0 0 2.25Z",
|
|
639
|
+
clipRule: "evenodd"
|
|
640
|
+
}));
|
|
641
|
+
}
|
|
642
|
+
const En = /* @__PURE__ */ s.forwardRef(qe), ce = Object.freeze(
|
|
643
|
+
{
|
|
644
|
+
left: 0,
|
|
645
|
+
top: 0,
|
|
646
|
+
width: 16,
|
|
647
|
+
height: 16
|
|
648
|
+
}
|
|
649
|
+
), T = Object.freeze({
|
|
650
|
+
rotate: 0,
|
|
651
|
+
vFlip: !1,
|
|
652
|
+
hFlip: !1
|
|
653
|
+
}), U = Object.freeze({
|
|
654
|
+
...ce,
|
|
655
|
+
...T
|
|
656
|
+
}), V = Object.freeze({
|
|
657
|
+
...U,
|
|
658
|
+
body: "",
|
|
659
|
+
hidden: !1
|
|
660
|
+
});
|
|
661
|
+
function Qe(e, t) {
|
|
662
|
+
const n = {};
|
|
663
|
+
!e.hFlip != !t.hFlip && (n.hFlip = !0), !e.vFlip != !t.vFlip && (n.vFlip = !0);
|
|
664
|
+
const r = ((e.rotate || 0) + (t.rotate || 0)) % 4;
|
|
665
|
+
return r && (n.rotate = r), n;
|
|
666
|
+
}
|
|
667
|
+
function J(e, t) {
|
|
668
|
+
const n = Qe(e, t);
|
|
669
|
+
for (const r in V)
|
|
670
|
+
r in T ? r in e && !(r in n) && (n[r] = T[r]) : r in t ? n[r] = t[r] : r in e && (n[r] = e[r]);
|
|
671
|
+
return n;
|
|
672
|
+
}
|
|
673
|
+
function Ge(e, t) {
|
|
674
|
+
const n = e.icons, r = e.aliases || /* @__PURE__ */ Object.create(null), o = /* @__PURE__ */ Object.create(null);
|
|
675
|
+
function i(a) {
|
|
676
|
+
if (n[a])
|
|
677
|
+
return o[a] = [];
|
|
678
|
+
if (!(a in o)) {
|
|
679
|
+
o[a] = null;
|
|
680
|
+
const l = r[a] && r[a].parent, c = l && i(l);
|
|
681
|
+
c && (o[a] = [l].concat(c));
|
|
682
|
+
}
|
|
683
|
+
return o[a];
|
|
684
|
+
}
|
|
685
|
+
return Object.keys(n).concat(Object.keys(r)).forEach(i), o;
|
|
686
|
+
}
|
|
687
|
+
function Je(e, t, n) {
|
|
688
|
+
const r = e.icons, o = e.aliases || /* @__PURE__ */ Object.create(null);
|
|
689
|
+
let i = {};
|
|
690
|
+
function a(l) {
|
|
691
|
+
i = J(
|
|
692
|
+
r[l] || o[l],
|
|
693
|
+
i
|
|
694
|
+
);
|
|
695
|
+
}
|
|
696
|
+
return a(t), n.forEach(a), J(e, i);
|
|
697
|
+
}
|
|
698
|
+
function le(e, t) {
|
|
699
|
+
const n = [];
|
|
700
|
+
if (typeof e != "object" || typeof e.icons != "object")
|
|
701
|
+
return n;
|
|
702
|
+
e.not_found instanceof Array && e.not_found.forEach((o) => {
|
|
703
|
+
t(o, null), n.push(o);
|
|
704
|
+
});
|
|
705
|
+
const r = Ge(e);
|
|
706
|
+
for (const o in r) {
|
|
707
|
+
const i = r[o];
|
|
708
|
+
i && (t(o, Je(e, o, i)), n.push(o));
|
|
709
|
+
}
|
|
710
|
+
return n;
|
|
711
|
+
}
|
|
712
|
+
const Ke = {
|
|
713
|
+
provider: "",
|
|
714
|
+
aliases: {},
|
|
715
|
+
not_found: {},
|
|
716
|
+
...ce
|
|
717
|
+
};
|
|
718
|
+
function H(e, t) {
|
|
719
|
+
for (const n in t)
|
|
720
|
+
if (n in e && typeof e[n] != typeof t[n])
|
|
721
|
+
return !1;
|
|
722
|
+
return !0;
|
|
723
|
+
}
|
|
724
|
+
function ue(e) {
|
|
725
|
+
if (typeof e != "object" || e === null)
|
|
726
|
+
return null;
|
|
727
|
+
const t = e;
|
|
728
|
+
if (typeof t.prefix != "string" || !e.icons || typeof e.icons != "object" || !H(e, Ke))
|
|
729
|
+
return null;
|
|
730
|
+
const n = t.icons;
|
|
731
|
+
for (const o in n) {
|
|
732
|
+
const i = n[o];
|
|
733
|
+
if (
|
|
734
|
+
// Name cannot be empty
|
|
735
|
+
!o || // Must have body
|
|
736
|
+
typeof i.body != "string" || // Check other props
|
|
737
|
+
!H(
|
|
738
|
+
i,
|
|
739
|
+
V
|
|
740
|
+
)
|
|
741
|
+
)
|
|
742
|
+
return null;
|
|
743
|
+
}
|
|
744
|
+
const r = t.aliases || /* @__PURE__ */ Object.create(null);
|
|
745
|
+
for (const o in r) {
|
|
746
|
+
const i = r[o], a = i.parent;
|
|
747
|
+
if (
|
|
748
|
+
// Name cannot be empty
|
|
749
|
+
!o || // Parent must be set and point to existing icon
|
|
750
|
+
typeof a != "string" || !n[a] && !r[a] || // Check other props
|
|
751
|
+
!H(
|
|
752
|
+
i,
|
|
753
|
+
V
|
|
754
|
+
)
|
|
755
|
+
)
|
|
756
|
+
return null;
|
|
757
|
+
}
|
|
758
|
+
return t;
|
|
759
|
+
}
|
|
760
|
+
const fe = /^[a-z0-9]+(-[a-z0-9]+)*$/, $ = (e, t, n, r = "") => {
|
|
761
|
+
const o = e.split(":");
|
|
762
|
+
if (e.slice(0, 1) === "@") {
|
|
763
|
+
if (o.length < 2 || o.length > 3)
|
|
764
|
+
return null;
|
|
765
|
+
r = o.shift().slice(1);
|
|
766
|
+
}
|
|
767
|
+
if (o.length > 3 || !o.length)
|
|
768
|
+
return null;
|
|
769
|
+
if (o.length > 1) {
|
|
770
|
+
const l = o.pop(), c = o.pop(), u = {
|
|
771
|
+
// Allow provider without '@': "provider:prefix:name"
|
|
772
|
+
provider: o.length > 0 ? o[0] : r,
|
|
773
|
+
prefix: c,
|
|
774
|
+
name: l
|
|
775
|
+
};
|
|
776
|
+
return t && !S(u) ? null : u;
|
|
777
|
+
}
|
|
778
|
+
const i = o[0], a = i.split("-");
|
|
779
|
+
if (a.length > 1) {
|
|
780
|
+
const l = {
|
|
781
|
+
provider: r,
|
|
782
|
+
prefix: a.shift(),
|
|
783
|
+
name: a.join("-")
|
|
784
|
+
};
|
|
785
|
+
return t && !S(l) ? null : l;
|
|
786
|
+
}
|
|
787
|
+
if (n && r === "") {
|
|
788
|
+
const l = {
|
|
789
|
+
provider: r,
|
|
790
|
+
prefix: "",
|
|
791
|
+
name: i
|
|
792
|
+
};
|
|
793
|
+
return t && !S(l, n) ? null : l;
|
|
794
|
+
}
|
|
795
|
+
return null;
|
|
796
|
+
}, S = (e, t) => e ? !!// Check prefix: cannot be empty, unless allowSimpleName is enabled
|
|
797
|
+
// Check name: cannot be empty
|
|
798
|
+
((t && e.prefix === "" || e.prefix) && e.name) : !1, K = /* @__PURE__ */ Object.create(null);
|
|
799
|
+
function Xe(e, t) {
|
|
800
|
+
return {
|
|
801
|
+
provider: e,
|
|
802
|
+
prefix: t,
|
|
803
|
+
icons: /* @__PURE__ */ Object.create(null),
|
|
804
|
+
missing: /* @__PURE__ */ new Set()
|
|
805
|
+
};
|
|
806
|
+
}
|
|
807
|
+
function j(e, t) {
|
|
808
|
+
const n = K[e] || (K[e] = /* @__PURE__ */ Object.create(null));
|
|
809
|
+
return n[t] || (n[t] = Xe(e, t));
|
|
810
|
+
}
|
|
811
|
+
function de(e, t) {
|
|
812
|
+
return ue(t) ? le(t, (n, r) => {
|
|
813
|
+
r ? e.icons[n] = r : e.missing.add(n);
|
|
814
|
+
}) : [];
|
|
815
|
+
}
|
|
816
|
+
function Ye(e, t, n) {
|
|
817
|
+
try {
|
|
818
|
+
if (typeof n.body == "string")
|
|
819
|
+
return e.icons[t] = { ...n }, !0;
|
|
820
|
+
} catch {
|
|
821
|
+
}
|
|
822
|
+
return !1;
|
|
823
|
+
}
|
|
824
|
+
let F = !1;
|
|
825
|
+
function he(e) {
|
|
826
|
+
return typeof e == "boolean" && (F = e), F;
|
|
827
|
+
}
|
|
828
|
+
function X(e) {
|
|
829
|
+
const t = typeof e == "string" ? $(e, !0, F) : e;
|
|
830
|
+
if (t) {
|
|
831
|
+
const n = j(t.provider, t.prefix), r = t.name;
|
|
832
|
+
return n.icons[r] || (n.missing.has(r) ? null : void 0);
|
|
833
|
+
}
|
|
834
|
+
}
|
|
835
|
+
function et(e, t) {
|
|
836
|
+
const n = $(e, !0, F);
|
|
837
|
+
if (!n)
|
|
838
|
+
return !1;
|
|
839
|
+
const r = j(n.provider, n.prefix);
|
|
840
|
+
return t ? Ye(r, n.name, t) : (r.missing.add(n.name), !0);
|
|
841
|
+
}
|
|
842
|
+
function tt(e, t) {
|
|
843
|
+
if (typeof e != "object")
|
|
844
|
+
return !1;
|
|
845
|
+
if (typeof t != "string" && (t = e.provider || ""), F && !t && !e.prefix) {
|
|
846
|
+
let o = !1;
|
|
847
|
+
return ue(e) && (e.prefix = "", le(e, (i, a) => {
|
|
848
|
+
et(i, a) && (o = !0);
|
|
849
|
+
})), o;
|
|
850
|
+
}
|
|
851
|
+
const n = e.prefix;
|
|
852
|
+
if (!S({
|
|
853
|
+
prefix: n,
|
|
854
|
+
name: "a"
|
|
855
|
+
}))
|
|
856
|
+
return !1;
|
|
857
|
+
const r = j(t, n);
|
|
858
|
+
return !!de(r, e);
|
|
859
|
+
}
|
|
860
|
+
const pe = Object.freeze({
|
|
861
|
+
width: null,
|
|
862
|
+
height: null
|
|
863
|
+
}), me = Object.freeze({
|
|
864
|
+
// Dimensions
|
|
865
|
+
...pe,
|
|
866
|
+
// Transformations
|
|
867
|
+
...T
|
|
868
|
+
}), nt = /(-?[0-9.]*[0-9]+[0-9.]*)/g, rt = /^-?[0-9.]*[0-9]+[0-9.]*$/g;
|
|
869
|
+
function Y(e, t, n) {
|
|
870
|
+
if (t === 1)
|
|
871
|
+
return e;
|
|
872
|
+
if (n = n || 100, typeof e == "number")
|
|
873
|
+
return Math.ceil(e * t * n) / n;
|
|
874
|
+
if (typeof e != "string")
|
|
875
|
+
return e;
|
|
876
|
+
const r = e.split(nt);
|
|
877
|
+
if (r === null || !r.length)
|
|
878
|
+
return e;
|
|
879
|
+
const o = [];
|
|
880
|
+
let i = r.shift(), a = rt.test(i);
|
|
881
|
+
for (; ; ) {
|
|
882
|
+
if (a) {
|
|
883
|
+
const l = parseFloat(i);
|
|
884
|
+
isNaN(l) ? o.push(i) : o.push(Math.ceil(l * t * n) / n);
|
|
885
|
+
} else
|
|
886
|
+
o.push(i);
|
|
887
|
+
if (i = r.shift(), i === void 0)
|
|
888
|
+
return o.join("");
|
|
889
|
+
a = !a;
|
|
890
|
+
}
|
|
891
|
+
}
|
|
892
|
+
function ot(e, t = "defs") {
|
|
893
|
+
let n = "";
|
|
894
|
+
const r = e.indexOf("<" + t);
|
|
895
|
+
for (; r >= 0; ) {
|
|
896
|
+
const o = e.indexOf(">", r), i = e.indexOf("</" + t);
|
|
897
|
+
if (o === -1 || i === -1)
|
|
898
|
+
break;
|
|
899
|
+
const a = e.indexOf(">", i);
|
|
900
|
+
if (a === -1)
|
|
901
|
+
break;
|
|
902
|
+
n += e.slice(o + 1, i).trim(), e = e.slice(0, r).trim() + e.slice(a + 1);
|
|
903
|
+
}
|
|
904
|
+
return {
|
|
905
|
+
defs: n,
|
|
906
|
+
content: e
|
|
907
|
+
};
|
|
908
|
+
}
|
|
909
|
+
function it(e, t) {
|
|
910
|
+
return e ? "<defs>" + e + "</defs>" + t : t;
|
|
911
|
+
}
|
|
912
|
+
function st(e, t, n) {
|
|
913
|
+
const r = ot(e);
|
|
914
|
+
return it(r.defs, t + r.content + n);
|
|
915
|
+
}
|
|
916
|
+
const at = (e) => e === "unset" || e === "undefined" || e === "none";
|
|
917
|
+
function ct(e, t) {
|
|
918
|
+
const n = {
|
|
919
|
+
...U,
|
|
920
|
+
...e
|
|
921
|
+
}, r = {
|
|
922
|
+
...me,
|
|
923
|
+
...t
|
|
924
|
+
}, o = {
|
|
925
|
+
left: n.left,
|
|
926
|
+
top: n.top,
|
|
927
|
+
width: n.width,
|
|
928
|
+
height: n.height
|
|
929
|
+
};
|
|
930
|
+
let i = n.body;
|
|
931
|
+
[n, r].forEach((k) => {
|
|
932
|
+
const d = [], p = k.hFlip, E = k.vFlip;
|
|
933
|
+
let b = k.rotate;
|
|
934
|
+
p ? E ? b += 2 : (d.push(
|
|
935
|
+
"translate(" + (o.width + o.left).toString() + " " + (0 - o.top).toString() + ")"
|
|
936
|
+
), d.push("scale(-1 1)"), o.top = o.left = 0) : E && (d.push(
|
|
937
|
+
"translate(" + (0 - o.left).toString() + " " + (o.height + o.top).toString() + ")"
|
|
938
|
+
), d.push("scale(1 -1)"), o.top = o.left = 0);
|
|
939
|
+
let y;
|
|
940
|
+
switch (b < 0 && (b -= Math.floor(b / 4) * 4), b = b % 4, b) {
|
|
941
|
+
case 1:
|
|
942
|
+
y = o.height / 2 + o.top, d.unshift(
|
|
943
|
+
"rotate(90 " + y.toString() + " " + y.toString() + ")"
|
|
944
|
+
);
|
|
945
|
+
break;
|
|
946
|
+
case 2:
|
|
947
|
+
d.unshift(
|
|
948
|
+
"rotate(180 " + (o.width / 2 + o.left).toString() + " " + (o.height / 2 + o.top).toString() + ")"
|
|
949
|
+
);
|
|
950
|
+
break;
|
|
951
|
+
case 3:
|
|
952
|
+
y = o.width / 2 + o.left, d.unshift(
|
|
953
|
+
"rotate(-90 " + y.toString() + " " + y.toString() + ")"
|
|
954
|
+
);
|
|
955
|
+
break;
|
|
956
|
+
}
|
|
957
|
+
b % 2 === 1 && (o.left !== o.top && (y = o.left, o.left = o.top, o.top = y), o.width !== o.height && (y = o.width, o.width = o.height, o.height = y)), d.length && (i = st(
|
|
958
|
+
i,
|
|
959
|
+
'<g transform="' + d.join(" ") + '">',
|
|
960
|
+
"</g>"
|
|
961
|
+
));
|
|
962
|
+
});
|
|
963
|
+
const a = r.width, l = r.height, c = o.width, u = o.height;
|
|
964
|
+
let f, h;
|
|
965
|
+
a === null ? (h = l === null ? "1em" : l === "auto" ? u : l, f = Y(h, c / u)) : (f = a === "auto" ? c : a, h = l === null ? Y(f, u / c) : l === "auto" ? u : l);
|
|
966
|
+
const m = {}, g = (k, d) => {
|
|
967
|
+
at(d) || (m[k] = d.toString());
|
|
968
|
+
};
|
|
969
|
+
g("width", f), g("height", h);
|
|
970
|
+
const v = [o.left, o.top, c, u];
|
|
971
|
+
return m.viewBox = v.join(" "), {
|
|
972
|
+
attributes: m,
|
|
973
|
+
viewBox: v,
|
|
974
|
+
body: i
|
|
975
|
+
};
|
|
976
|
+
}
|
|
977
|
+
const lt = /\sid="(\S+)"/g, ut = "IconifyId" + Date.now().toString(16) + (Math.random() * 16777216 | 0).toString(16);
|
|
978
|
+
let ft = 0;
|
|
979
|
+
function dt(e, t = ut) {
|
|
980
|
+
const n = [];
|
|
981
|
+
let r;
|
|
982
|
+
for (; r = lt.exec(e); )
|
|
983
|
+
n.push(r[1]);
|
|
984
|
+
if (!n.length)
|
|
985
|
+
return e;
|
|
986
|
+
const o = "suffix" + (Math.random() * 16777216 | Date.now()).toString(16);
|
|
987
|
+
return n.forEach((i) => {
|
|
988
|
+
const a = typeof t == "function" ? t(i) : t + (ft++).toString(), l = i.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
|
989
|
+
e = e.replace(
|
|
990
|
+
// Allowed characters before id: [#;"]
|
|
991
|
+
// Allowed characters after id: [)"], .[a-z]
|
|
992
|
+
new RegExp('([#;"])(' + l + ')([")]|\\.[a-z])', "g"),
|
|
993
|
+
"$1" + a + o + "$3"
|
|
994
|
+
);
|
|
995
|
+
}), e = e.replace(new RegExp(o, "g"), ""), e;
|
|
996
|
+
}
|
|
997
|
+
const N = /* @__PURE__ */ Object.create(null);
|
|
998
|
+
function ht(e, t) {
|
|
999
|
+
N[e] = t;
|
|
1000
|
+
}
|
|
1001
|
+
function D(e) {
|
|
1002
|
+
return N[e] || N[""];
|
|
1003
|
+
}
|
|
1004
|
+
function _(e) {
|
|
1005
|
+
let t;
|
|
1006
|
+
if (typeof e.resources == "string")
|
|
1007
|
+
t = [e.resources];
|
|
1008
|
+
else if (t = e.resources, !(t instanceof Array) || !t.length)
|
|
1009
|
+
return null;
|
|
1010
|
+
return {
|
|
1011
|
+
// API hosts
|
|
1012
|
+
resources: t,
|
|
1013
|
+
// Root path
|
|
1014
|
+
path: e.path || "/",
|
|
1015
|
+
// URL length limit
|
|
1016
|
+
maxURL: e.maxURL || 500,
|
|
1017
|
+
// Timeout before next host is used.
|
|
1018
|
+
rotate: e.rotate || 750,
|
|
1019
|
+
// Timeout before failing query.
|
|
1020
|
+
timeout: e.timeout || 5e3,
|
|
1021
|
+
// Randomise default API end point.
|
|
1022
|
+
random: e.random === !0,
|
|
1023
|
+
// Start index
|
|
1024
|
+
index: e.index || 0,
|
|
1025
|
+
// Receive data after time out (used if time out kicks in first, then API module sends data anyway).
|
|
1026
|
+
dataAfterTimeout: e.dataAfterTimeout !== !1
|
|
1027
|
+
};
|
|
1028
|
+
}
|
|
1029
|
+
const q = /* @__PURE__ */ Object.create(null), M = [
|
|
1030
|
+
"https://api.simplesvg.com",
|
|
1031
|
+
"https://api.unisvg.com"
|
|
1032
|
+
], A = [];
|
|
1033
|
+
for (; M.length > 0; )
|
|
1034
|
+
M.length === 1 || Math.random() > 0.5 ? A.push(M.shift()) : A.push(M.pop());
|
|
1035
|
+
q[""] = _({
|
|
1036
|
+
resources: ["https://api.iconify.design"].concat(A)
|
|
1037
|
+
});
|
|
1038
|
+
function pt(e, t) {
|
|
1039
|
+
const n = _(t);
|
|
1040
|
+
return n === null ? !1 : (q[e] = n, !0);
|
|
1041
|
+
}
|
|
1042
|
+
function Q(e) {
|
|
1043
|
+
return q[e];
|
|
1044
|
+
}
|
|
1045
|
+
const mt = () => {
|
|
1046
|
+
let e;
|
|
1047
|
+
try {
|
|
1048
|
+
if (e = fetch, typeof e == "function")
|
|
1049
|
+
return e;
|
|
1050
|
+
} catch {
|
|
1051
|
+
}
|
|
1052
|
+
};
|
|
1053
|
+
let ee = mt();
|
|
1054
|
+
function gt(e, t) {
|
|
1055
|
+
const n = Q(e);
|
|
1056
|
+
if (!n)
|
|
1057
|
+
return 0;
|
|
1058
|
+
let r;
|
|
1059
|
+
if (!n.maxURL)
|
|
1060
|
+
r = 0;
|
|
1061
|
+
else {
|
|
1062
|
+
let o = 0;
|
|
1063
|
+
n.resources.forEach((a) => {
|
|
1064
|
+
o = Math.max(o, a.length);
|
|
1065
|
+
});
|
|
1066
|
+
const i = t + ".json?icons=";
|
|
1067
|
+
r = n.maxURL - o - n.path.length - i.length;
|
|
1068
|
+
}
|
|
1069
|
+
return r;
|
|
1070
|
+
}
|
|
1071
|
+
function wt(e) {
|
|
1072
|
+
return e === 404;
|
|
1073
|
+
}
|
|
1074
|
+
const vt = (e, t, n) => {
|
|
1075
|
+
const r = [], o = gt(e, t), i = "icons";
|
|
1076
|
+
let a = {
|
|
1077
|
+
type: i,
|
|
1078
|
+
provider: e,
|
|
1079
|
+
prefix: t,
|
|
1080
|
+
icons: []
|
|
1081
|
+
}, l = 0;
|
|
1082
|
+
return n.forEach((c, u) => {
|
|
1083
|
+
l += c.length + 1, l >= o && u > 0 && (r.push(a), a = {
|
|
1084
|
+
type: i,
|
|
1085
|
+
provider: e,
|
|
1086
|
+
prefix: t,
|
|
1087
|
+
icons: []
|
|
1088
|
+
}, l = c.length), a.icons.push(c);
|
|
1089
|
+
}), r.push(a), r;
|
|
1090
|
+
};
|
|
1091
|
+
function kt(e) {
|
|
1092
|
+
if (typeof e == "string") {
|
|
1093
|
+
const t = Q(e);
|
|
1094
|
+
if (t)
|
|
1095
|
+
return t.path;
|
|
1096
|
+
}
|
|
1097
|
+
return "/";
|
|
1098
|
+
}
|
|
1099
|
+
const bt = (e, t, n) => {
|
|
1100
|
+
if (!ee) {
|
|
1101
|
+
n("abort", 424);
|
|
1102
|
+
return;
|
|
1103
|
+
}
|
|
1104
|
+
let r = kt(t.provider);
|
|
1105
|
+
switch (t.type) {
|
|
1106
|
+
case "icons": {
|
|
1107
|
+
const i = t.prefix, l = t.icons.join(","), c = new URLSearchParams({
|
|
1108
|
+
icons: l
|
|
1109
|
+
});
|
|
1110
|
+
r += i + ".json?" + c.toString();
|
|
1111
|
+
break;
|
|
1112
|
+
}
|
|
1113
|
+
case "custom": {
|
|
1114
|
+
const i = t.uri;
|
|
1115
|
+
r += i.slice(0, 1) === "/" ? i.slice(1) : i;
|
|
1116
|
+
break;
|
|
1117
|
+
}
|
|
1118
|
+
default:
|
|
1119
|
+
n("abort", 400);
|
|
1120
|
+
return;
|
|
1121
|
+
}
|
|
1122
|
+
let o = 503;
|
|
1123
|
+
ee(e + r).then((i) => {
|
|
1124
|
+
const a = i.status;
|
|
1125
|
+
if (a !== 200) {
|
|
1126
|
+
setTimeout(() => {
|
|
1127
|
+
n(wt(a) ? "abort" : "next", a);
|
|
1128
|
+
});
|
|
1129
|
+
return;
|
|
1130
|
+
}
|
|
1131
|
+
return o = 501, i.json();
|
|
1132
|
+
}).then((i) => {
|
|
1133
|
+
if (typeof i != "object" || i === null) {
|
|
1134
|
+
setTimeout(() => {
|
|
1135
|
+
i === 404 ? n("abort", i) : n("next", o);
|
|
1136
|
+
});
|
|
1137
|
+
return;
|
|
1138
|
+
}
|
|
1139
|
+
setTimeout(() => {
|
|
1140
|
+
n("success", i);
|
|
1141
|
+
});
|
|
1142
|
+
}).catch(() => {
|
|
1143
|
+
n("next", o);
|
|
1144
|
+
});
|
|
1145
|
+
}, yt = {
|
|
1146
|
+
prepare: vt,
|
|
1147
|
+
send: bt
|
|
1148
|
+
};
|
|
1149
|
+
function xt(e) {
|
|
1150
|
+
const t = {
|
|
1151
|
+
loaded: [],
|
|
1152
|
+
missing: [],
|
|
1153
|
+
pending: []
|
|
1154
|
+
}, n = /* @__PURE__ */ Object.create(null);
|
|
1155
|
+
e.sort((o, i) => o.provider !== i.provider ? o.provider.localeCompare(i.provider) : o.prefix !== i.prefix ? o.prefix.localeCompare(i.prefix) : o.name.localeCompare(i.name));
|
|
1156
|
+
let r = {
|
|
1157
|
+
provider: "",
|
|
1158
|
+
prefix: "",
|
|
1159
|
+
name: ""
|
|
1160
|
+
};
|
|
1161
|
+
return e.forEach((o) => {
|
|
1162
|
+
if (r.name === o.name && r.prefix === o.prefix && r.provider === o.provider)
|
|
1163
|
+
return;
|
|
1164
|
+
r = o;
|
|
1165
|
+
const i = o.provider, a = o.prefix, l = o.name, c = n[i] || (n[i] = /* @__PURE__ */ Object.create(null)), u = c[a] || (c[a] = j(i, a));
|
|
1166
|
+
let f;
|
|
1167
|
+
l in u.icons ? f = t.loaded : a === "" || u.missing.has(l) ? f = t.missing : f = t.pending;
|
|
1168
|
+
const h = {
|
|
1169
|
+
provider: i,
|
|
1170
|
+
prefix: a,
|
|
1171
|
+
name: l
|
|
1172
|
+
};
|
|
1173
|
+
f.push(h);
|
|
1174
|
+
}), t;
|
|
1175
|
+
}
|
|
1176
|
+
function ge(e, t) {
|
|
1177
|
+
e.forEach((n) => {
|
|
1178
|
+
const r = n.loaderCallbacks;
|
|
1179
|
+
r && (n.loaderCallbacks = r.filter((o) => o.id !== t));
|
|
1180
|
+
});
|
|
1181
|
+
}
|
|
1182
|
+
function Et(e) {
|
|
1183
|
+
e.pendingCallbacksFlag || (e.pendingCallbacksFlag = !0, setTimeout(() => {
|
|
1184
|
+
e.pendingCallbacksFlag = !1;
|
|
1185
|
+
const t = e.loaderCallbacks ? e.loaderCallbacks.slice(0) : [];
|
|
1186
|
+
if (!t.length)
|
|
1187
|
+
return;
|
|
1188
|
+
let n = !1;
|
|
1189
|
+
const r = e.provider, o = e.prefix;
|
|
1190
|
+
t.forEach((i) => {
|
|
1191
|
+
const a = i.icons, l = a.pending.length;
|
|
1192
|
+
a.pending = a.pending.filter((c) => {
|
|
1193
|
+
if (c.prefix !== o)
|
|
1194
|
+
return !0;
|
|
1195
|
+
const u = c.name;
|
|
1196
|
+
if (e.icons[u])
|
|
1197
|
+
a.loaded.push({
|
|
1198
|
+
provider: r,
|
|
1199
|
+
prefix: o,
|
|
1200
|
+
name: u
|
|
1201
|
+
});
|
|
1202
|
+
else if (e.missing.has(u))
|
|
1203
|
+
a.missing.push({
|
|
1204
|
+
provider: r,
|
|
1205
|
+
prefix: o,
|
|
1206
|
+
name: u
|
|
1207
|
+
});
|
|
1208
|
+
else
|
|
1209
|
+
return n = !0, !0;
|
|
1210
|
+
return !1;
|
|
1211
|
+
}), a.pending.length !== l && (n || ge([e], i.id), i.callback(
|
|
1212
|
+
a.loaded.slice(0),
|
|
1213
|
+
a.missing.slice(0),
|
|
1214
|
+
a.pending.slice(0),
|
|
1215
|
+
i.abort
|
|
1216
|
+
));
|
|
1217
|
+
});
|
|
1218
|
+
}));
|
|
1219
|
+
}
|
|
1220
|
+
let Lt = 0;
|
|
1221
|
+
function jt(e, t, n) {
|
|
1222
|
+
const r = Lt++, o = ge.bind(null, n, r);
|
|
1223
|
+
if (!t.pending.length)
|
|
1224
|
+
return o;
|
|
1225
|
+
const i = {
|
|
1226
|
+
id: r,
|
|
1227
|
+
icons: t,
|
|
1228
|
+
callback: e,
|
|
1229
|
+
abort: o
|
|
1230
|
+
};
|
|
1231
|
+
return n.forEach((a) => {
|
|
1232
|
+
(a.loaderCallbacks || (a.loaderCallbacks = [])).push(i);
|
|
1233
|
+
}), o;
|
|
1234
|
+
}
|
|
1235
|
+
function Ct(e, t = !0, n = !1) {
|
|
1236
|
+
const r = [];
|
|
1237
|
+
return e.forEach((o) => {
|
|
1238
|
+
const i = typeof o == "string" ? $(o, t, n) : o;
|
|
1239
|
+
i && r.push(i);
|
|
1240
|
+
}), r;
|
|
1241
|
+
}
|
|
1242
|
+
var Mt = {
|
|
1243
|
+
resources: [],
|
|
1244
|
+
index: 0,
|
|
1245
|
+
timeout: 2e3,
|
|
1246
|
+
rotate: 750,
|
|
1247
|
+
random: !1,
|
|
1248
|
+
dataAfterTimeout: !1
|
|
1249
|
+
};
|
|
1250
|
+
function Rt(e, t, n, r) {
|
|
1251
|
+
const o = e.resources.length, i = e.random ? Math.floor(Math.random() * o) : e.index;
|
|
1252
|
+
let a;
|
|
1253
|
+
if (e.random) {
|
|
1254
|
+
let w = e.resources.slice(0);
|
|
1255
|
+
for (a = []; w.length > 1; ) {
|
|
1256
|
+
const x = Math.floor(Math.random() * w.length);
|
|
1257
|
+
a.push(w[x]), w = w.slice(0, x).concat(w.slice(x + 1));
|
|
1258
|
+
}
|
|
1259
|
+
a = a.concat(w);
|
|
1260
|
+
} else
|
|
1261
|
+
a = e.resources.slice(i).concat(e.resources.slice(0, i));
|
|
1262
|
+
const l = Date.now();
|
|
1263
|
+
let c = "pending", u = 0, f, h = null, m = [], g = [];
|
|
1264
|
+
typeof r == "function" && g.push(r);
|
|
1265
|
+
function v() {
|
|
1266
|
+
h && (clearTimeout(h), h = null);
|
|
1267
|
+
}
|
|
1268
|
+
function k() {
|
|
1269
|
+
c === "pending" && (c = "aborted"), v(), m.forEach((w) => {
|
|
1270
|
+
w.status === "pending" && (w.status = "aborted");
|
|
1271
|
+
}), m = [];
|
|
1272
|
+
}
|
|
1273
|
+
function d(w, x) {
|
|
1274
|
+
x && (g = []), typeof w == "function" && g.push(w);
|
|
1275
|
+
}
|
|
1276
|
+
function p() {
|
|
1277
|
+
return {
|
|
1278
|
+
startTime: l,
|
|
1279
|
+
payload: t,
|
|
1280
|
+
status: c,
|
|
1281
|
+
queriesSent: u,
|
|
1282
|
+
queriesPending: m.length,
|
|
1283
|
+
subscribe: d,
|
|
1284
|
+
abort: k
|
|
1285
|
+
};
|
|
1286
|
+
}
|
|
1287
|
+
function E() {
|
|
1288
|
+
c = "failed", g.forEach((w) => {
|
|
1289
|
+
w(void 0, f);
|
|
1290
|
+
});
|
|
1291
|
+
}
|
|
1292
|
+
function b() {
|
|
1293
|
+
m.forEach((w) => {
|
|
1294
|
+
w.status === "pending" && (w.status = "aborted");
|
|
1295
|
+
}), m = [];
|
|
1296
|
+
}
|
|
1297
|
+
function y(w, x, C) {
|
|
1298
|
+
const O = x !== "success";
|
|
1299
|
+
switch (m = m.filter((L) => L !== w), c) {
|
|
1300
|
+
case "pending":
|
|
1301
|
+
break;
|
|
1302
|
+
case "failed":
|
|
1303
|
+
if (O || !e.dataAfterTimeout)
|
|
1304
|
+
return;
|
|
1305
|
+
break;
|
|
1306
|
+
default:
|
|
1307
|
+
return;
|
|
1308
|
+
}
|
|
1309
|
+
if (x === "abort") {
|
|
1310
|
+
f = C, E();
|
|
1311
|
+
return;
|
|
1312
|
+
}
|
|
1313
|
+
if (O) {
|
|
1314
|
+
f = C, m.length || (a.length ? P() : E());
|
|
1315
|
+
return;
|
|
1316
|
+
}
|
|
1317
|
+
if (v(), b(), !e.random) {
|
|
1318
|
+
const L = e.resources.indexOf(w.resource);
|
|
1319
|
+
L !== -1 && L !== e.index && (e.index = L);
|
|
1320
|
+
}
|
|
1321
|
+
c = "completed", g.forEach((L) => {
|
|
1322
|
+
L(C);
|
|
1323
|
+
});
|
|
1324
|
+
}
|
|
1325
|
+
function P() {
|
|
1326
|
+
if (c !== "pending")
|
|
1327
|
+
return;
|
|
1328
|
+
v();
|
|
1329
|
+
const w = a.shift();
|
|
1330
|
+
if (w === void 0) {
|
|
1331
|
+
if (m.length) {
|
|
1332
|
+
h = setTimeout(() => {
|
|
1333
|
+
v(), c === "pending" && (b(), E());
|
|
1334
|
+
}, e.timeout);
|
|
1335
|
+
return;
|
|
1336
|
+
}
|
|
1337
|
+
E();
|
|
1338
|
+
return;
|
|
1339
|
+
}
|
|
1340
|
+
const x = {
|
|
1341
|
+
status: "pending",
|
|
1342
|
+
resource: w,
|
|
1343
|
+
callback: (C, O) => {
|
|
1344
|
+
y(x, C, O);
|
|
1345
|
+
}
|
|
1346
|
+
};
|
|
1347
|
+
m.push(x), u++, h = setTimeout(P, e.rotate), n(w, t, x.callback);
|
|
1348
|
+
}
|
|
1349
|
+
return setTimeout(P), p;
|
|
1350
|
+
}
|
|
1351
|
+
function we(e) {
|
|
1352
|
+
const t = {
|
|
1353
|
+
...Mt,
|
|
1354
|
+
...e
|
|
1355
|
+
};
|
|
1356
|
+
let n = [];
|
|
1357
|
+
function r() {
|
|
1358
|
+
n = n.filter((l) => l().status === "pending");
|
|
1359
|
+
}
|
|
1360
|
+
function o(l, c, u) {
|
|
1361
|
+
const f = Rt(
|
|
1362
|
+
t,
|
|
1363
|
+
l,
|
|
1364
|
+
c,
|
|
1365
|
+
(h, m) => {
|
|
1366
|
+
r(), u && u(h, m);
|
|
1367
|
+
}
|
|
1368
|
+
);
|
|
1369
|
+
return n.push(f), f;
|
|
1370
|
+
}
|
|
1371
|
+
function i(l) {
|
|
1372
|
+
return n.find((c) => l(c)) || null;
|
|
1373
|
+
}
|
|
1374
|
+
return {
|
|
1375
|
+
query: o,
|
|
1376
|
+
find: i,
|
|
1377
|
+
setIndex: (l) => {
|
|
1378
|
+
t.index = l;
|
|
1379
|
+
},
|
|
1380
|
+
getIndex: () => t.index,
|
|
1381
|
+
cleanup: r
|
|
1382
|
+
};
|
|
1383
|
+
}
|
|
1384
|
+
function te() {
|
|
1385
|
+
}
|
|
1386
|
+
const Z = /* @__PURE__ */ Object.create(null);
|
|
1387
|
+
function It(e) {
|
|
1388
|
+
if (!Z[e]) {
|
|
1389
|
+
const t = Q(e);
|
|
1390
|
+
if (!t)
|
|
1391
|
+
return;
|
|
1392
|
+
const n = we(t), r = {
|
|
1393
|
+
config: t,
|
|
1394
|
+
redundancy: n
|
|
1395
|
+
};
|
|
1396
|
+
Z[e] = r;
|
|
1397
|
+
}
|
|
1398
|
+
return Z[e];
|
|
1399
|
+
}
|
|
1400
|
+
function Ft(e, t, n) {
|
|
1401
|
+
let r, o;
|
|
1402
|
+
if (typeof e == "string") {
|
|
1403
|
+
const i = D(e);
|
|
1404
|
+
if (!i)
|
|
1405
|
+
return n(void 0, 424), te;
|
|
1406
|
+
o = i.send;
|
|
1407
|
+
const a = It(e);
|
|
1408
|
+
a && (r = a.redundancy);
|
|
1409
|
+
} else {
|
|
1410
|
+
const i = _(e);
|
|
1411
|
+
if (i) {
|
|
1412
|
+
r = we(i);
|
|
1413
|
+
const a = e.resources ? e.resources[0] : "", l = D(a);
|
|
1414
|
+
l && (o = l.send);
|
|
1415
|
+
}
|
|
1416
|
+
}
|
|
1417
|
+
return !r || !o ? (n(void 0, 424), te) : r.query(t, o, n)().abort;
|
|
1418
|
+
}
|
|
1419
|
+
function ne() {
|
|
1420
|
+
}
|
|
1421
|
+
function Ot(e) {
|
|
1422
|
+
e.iconsLoaderFlag || (e.iconsLoaderFlag = !0, setTimeout(() => {
|
|
1423
|
+
e.iconsLoaderFlag = !1, Et(e);
|
|
1424
|
+
}));
|
|
1425
|
+
}
|
|
1426
|
+
function St(e) {
|
|
1427
|
+
const t = [], n = [];
|
|
1428
|
+
return e.forEach((r) => {
|
|
1429
|
+
(r.match(fe) ? t : n).push(r);
|
|
1430
|
+
}), {
|
|
1431
|
+
valid: t,
|
|
1432
|
+
invalid: n
|
|
1433
|
+
};
|
|
1434
|
+
}
|
|
1435
|
+
function R(e, t, n) {
|
|
1436
|
+
function r() {
|
|
1437
|
+
const o = e.pendingIcons;
|
|
1438
|
+
t.forEach((i) => {
|
|
1439
|
+
o && o.delete(i), e.icons[i] || e.missing.add(i);
|
|
1440
|
+
});
|
|
1441
|
+
}
|
|
1442
|
+
if (n && typeof n == "object")
|
|
1443
|
+
try {
|
|
1444
|
+
if (!de(e, n).length) {
|
|
1445
|
+
r();
|
|
1446
|
+
return;
|
|
1447
|
+
}
|
|
1448
|
+
} catch (o) {
|
|
1449
|
+
console.error(o);
|
|
1450
|
+
}
|
|
1451
|
+
r(), Ot(e);
|
|
1452
|
+
}
|
|
1453
|
+
function re(e, t) {
|
|
1454
|
+
e instanceof Promise ? e.then((n) => {
|
|
1455
|
+
t(n);
|
|
1456
|
+
}).catch(() => {
|
|
1457
|
+
t(null);
|
|
1458
|
+
}) : t(e);
|
|
1459
|
+
}
|
|
1460
|
+
function At(e, t) {
|
|
1461
|
+
e.iconsToLoad ? e.iconsToLoad = e.iconsToLoad.concat(t).sort() : e.iconsToLoad = t, e.iconsQueueFlag || (e.iconsQueueFlag = !0, setTimeout(() => {
|
|
1462
|
+
e.iconsQueueFlag = !1;
|
|
1463
|
+
const { provider: n, prefix: r } = e, o = e.iconsToLoad;
|
|
1464
|
+
if (delete e.iconsToLoad, !o || !o.length)
|
|
1465
|
+
return;
|
|
1466
|
+
const i = e.loadIcon;
|
|
1467
|
+
if (e.loadIcons && (o.length > 1 || !i)) {
|
|
1468
|
+
re(
|
|
1469
|
+
e.loadIcons(o, r, n),
|
|
1470
|
+
(f) => {
|
|
1471
|
+
R(e, o, f);
|
|
1472
|
+
}
|
|
1473
|
+
);
|
|
1474
|
+
return;
|
|
1475
|
+
}
|
|
1476
|
+
if (i) {
|
|
1477
|
+
o.forEach((f) => {
|
|
1478
|
+
const h = i(f, r, n);
|
|
1479
|
+
re(h, (m) => {
|
|
1480
|
+
const g = m ? {
|
|
1481
|
+
prefix: r,
|
|
1482
|
+
icons: {
|
|
1483
|
+
[f]: m
|
|
1484
|
+
}
|
|
1485
|
+
} : null;
|
|
1486
|
+
R(e, [f], g);
|
|
1487
|
+
});
|
|
1488
|
+
});
|
|
1489
|
+
return;
|
|
1490
|
+
}
|
|
1491
|
+
const { valid: a, invalid: l } = St(o);
|
|
1492
|
+
if (l.length && R(e, l, null), !a.length)
|
|
1493
|
+
return;
|
|
1494
|
+
const c = r.match(fe) ? D(n) : null;
|
|
1495
|
+
if (!c) {
|
|
1496
|
+
R(e, a, null);
|
|
1497
|
+
return;
|
|
1498
|
+
}
|
|
1499
|
+
c.prepare(n, r, a).forEach((f) => {
|
|
1500
|
+
Ft(n, f, (h) => {
|
|
1501
|
+
R(e, f.icons, h);
|
|
1502
|
+
});
|
|
1503
|
+
});
|
|
1504
|
+
}));
|
|
1505
|
+
}
|
|
1506
|
+
const Tt = (e, t) => {
|
|
1507
|
+
const n = Ct(e, !0, he()), r = xt(n);
|
|
1508
|
+
if (!r.pending.length) {
|
|
1509
|
+
let c = !0;
|
|
1510
|
+
return t && setTimeout(() => {
|
|
1511
|
+
c && t(
|
|
1512
|
+
r.loaded,
|
|
1513
|
+
r.missing,
|
|
1514
|
+
r.pending,
|
|
1515
|
+
ne
|
|
1516
|
+
);
|
|
1517
|
+
}), () => {
|
|
1518
|
+
c = !1;
|
|
1519
|
+
};
|
|
1520
|
+
}
|
|
1521
|
+
const o = /* @__PURE__ */ Object.create(null), i = [];
|
|
1522
|
+
let a, l;
|
|
1523
|
+
return r.pending.forEach((c) => {
|
|
1524
|
+
const { provider: u, prefix: f } = c;
|
|
1525
|
+
if (f === l && u === a)
|
|
1526
|
+
return;
|
|
1527
|
+
a = u, l = f, i.push(j(u, f));
|
|
1528
|
+
const h = o[u] || (o[u] = /* @__PURE__ */ Object.create(null));
|
|
1529
|
+
h[f] || (h[f] = []);
|
|
1530
|
+
}), r.pending.forEach((c) => {
|
|
1531
|
+
const { provider: u, prefix: f, name: h } = c, m = j(u, f), g = m.pendingIcons || (m.pendingIcons = /* @__PURE__ */ new Set());
|
|
1532
|
+
g.has(h) || (g.add(h), o[u][f].push(h));
|
|
1533
|
+
}), i.forEach((c) => {
|
|
1534
|
+
const u = o[c.provider][c.prefix];
|
|
1535
|
+
u.length && At(c, u);
|
|
1536
|
+
}), t ? jt(t, r, i) : ne;
|
|
1537
|
+
};
|
|
1538
|
+
function $t(e, t) {
|
|
1539
|
+
const n = {
|
|
1540
|
+
...e
|
|
1541
|
+
};
|
|
1542
|
+
for (const r in t) {
|
|
1543
|
+
const o = t[r], i = typeof o;
|
|
1544
|
+
r in pe ? (o === null || o && (i === "string" || i === "number")) && (n[r] = o) : i === typeof n[r] && (n[r] = r === "rotate" ? o % 4 : o);
|
|
1545
|
+
}
|
|
1546
|
+
return n;
|
|
1547
|
+
}
|
|
1548
|
+
const Pt = /[\s,]+/;
|
|
1549
|
+
function Bt(e, t) {
|
|
1550
|
+
t.split(Pt).forEach((n) => {
|
|
1551
|
+
switch (n.trim()) {
|
|
1552
|
+
case "horizontal":
|
|
1553
|
+
e.hFlip = !0;
|
|
1554
|
+
break;
|
|
1555
|
+
case "vertical":
|
|
1556
|
+
e.vFlip = !0;
|
|
1557
|
+
break;
|
|
1558
|
+
}
|
|
1559
|
+
});
|
|
1560
|
+
}
|
|
1561
|
+
function Ht(e, t = 0) {
|
|
1562
|
+
const n = e.replace(/^-?[0-9.]*/, "");
|
|
1563
|
+
function r(o) {
|
|
1564
|
+
for (; o < 0; )
|
|
1565
|
+
o += 4;
|
|
1566
|
+
return o % 4;
|
|
1567
|
+
}
|
|
1568
|
+
if (n === "") {
|
|
1569
|
+
const o = parseInt(e);
|
|
1570
|
+
return isNaN(o) ? 0 : r(o);
|
|
1571
|
+
} else if (n !== e) {
|
|
1572
|
+
let o = 0;
|
|
1573
|
+
switch (n) {
|
|
1574
|
+
case "%":
|
|
1575
|
+
o = 25;
|
|
1576
|
+
break;
|
|
1577
|
+
case "deg":
|
|
1578
|
+
o = 90;
|
|
1579
|
+
}
|
|
1580
|
+
if (o) {
|
|
1581
|
+
let i = parseFloat(e.slice(0, e.length - n.length));
|
|
1582
|
+
return isNaN(i) ? 0 : (i = i / o, i % 1 === 0 ? r(i) : 0);
|
|
1583
|
+
}
|
|
1584
|
+
}
|
|
1585
|
+
return t;
|
|
1586
|
+
}
|
|
1587
|
+
function Zt(e, t) {
|
|
1588
|
+
let n = e.indexOf("xlink:") === -1 ? "" : ' xmlns:xlink="http://www.w3.org/1999/xlink"';
|
|
1589
|
+
for (const r in t)
|
|
1590
|
+
n += " " + r + '="' + t[r] + '"';
|
|
1591
|
+
return '<svg xmlns="http://www.w3.org/2000/svg"' + n + ">" + e + "</svg>";
|
|
1592
|
+
}
|
|
1593
|
+
function Wt(e) {
|
|
1594
|
+
return e.replace(/"/g, "'").replace(/%/g, "%25").replace(/#/g, "%23").replace(/</g, "%3C").replace(/>/g, "%3E").replace(/\s+/g, " ");
|
|
1595
|
+
}
|
|
1596
|
+
function Vt(e) {
|
|
1597
|
+
return "data:image/svg+xml," + Wt(e);
|
|
1598
|
+
}
|
|
1599
|
+
function Nt(e) {
|
|
1600
|
+
return 'url("' + Vt(e) + '")';
|
|
1601
|
+
}
|
|
1602
|
+
let I;
|
|
1603
|
+
function Dt() {
|
|
1604
|
+
try {
|
|
1605
|
+
I = window.trustedTypes.createPolicy("iconify", {
|
|
1606
|
+
// eslint-disable-next-line @typescript-eslint/no-unsafe-return
|
|
1607
|
+
createHTML: (e) => e
|
|
1608
|
+
});
|
|
1609
|
+
} catch {
|
|
1610
|
+
I = null;
|
|
1611
|
+
}
|
|
1612
|
+
}
|
|
1613
|
+
function zt(e) {
|
|
1614
|
+
return I === void 0 && Dt(), I ? I.createHTML(e) : e;
|
|
1615
|
+
}
|
|
1616
|
+
const ve = {
|
|
1617
|
+
...me,
|
|
1618
|
+
inline: !1
|
|
1619
|
+
}, Ut = {
|
|
1620
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1621
|
+
xmlnsXlink: "http://www.w3.org/1999/xlink",
|
|
1622
|
+
"aria-hidden": !0,
|
|
1623
|
+
role: "img"
|
|
1624
|
+
}, _t = {
|
|
1625
|
+
display: "inline-block"
|
|
1626
|
+
}, z = {
|
|
1627
|
+
backgroundColor: "currentColor"
|
|
1628
|
+
}, ke = {
|
|
1629
|
+
backgroundColor: "transparent"
|
|
1630
|
+
}, oe = {
|
|
1631
|
+
Image: "var(--svg)",
|
|
1632
|
+
Repeat: "no-repeat",
|
|
1633
|
+
Size: "100% 100%"
|
|
1634
|
+
}, ie = {
|
|
1635
|
+
WebkitMask: z,
|
|
1636
|
+
mask: z,
|
|
1637
|
+
background: ke
|
|
1638
|
+
};
|
|
1639
|
+
for (const e in ie) {
|
|
1640
|
+
const t = ie[e];
|
|
1641
|
+
for (const n in oe)
|
|
1642
|
+
t[e + n] = oe[n];
|
|
1643
|
+
}
|
|
1644
|
+
const qt = {
|
|
1645
|
+
...ve,
|
|
1646
|
+
inline: !0
|
|
1647
|
+
};
|
|
1648
|
+
function se(e) {
|
|
1649
|
+
return e + (e.match(/^[-0-9.]+$/) ? "px" : "");
|
|
1650
|
+
}
|
|
1651
|
+
const Qt = (e, t, n) => {
|
|
1652
|
+
const r = t.inline ? qt : ve, o = $t(r, t), i = t.mode || "svg", a = {}, l = t.style || {}, c = {
|
|
1653
|
+
...i === "svg" ? Ut : {}
|
|
1654
|
+
};
|
|
1655
|
+
if (n) {
|
|
1656
|
+
const d = $(n, !1, !0);
|
|
1657
|
+
if (d) {
|
|
1658
|
+
const p = ["iconify"], E = [
|
|
1659
|
+
"provider",
|
|
1660
|
+
"prefix"
|
|
1661
|
+
];
|
|
1662
|
+
for (const b of E)
|
|
1663
|
+
d[b] && p.push("iconify--" + d[b]);
|
|
1664
|
+
c.className = p.join(" ");
|
|
1665
|
+
}
|
|
1666
|
+
}
|
|
1667
|
+
for (let d in t) {
|
|
1668
|
+
const p = t[d];
|
|
1669
|
+
if (p !== void 0)
|
|
1670
|
+
switch (d) {
|
|
1671
|
+
case "icon":
|
|
1672
|
+
case "style":
|
|
1673
|
+
case "children":
|
|
1674
|
+
case "onLoad":
|
|
1675
|
+
case "mode":
|
|
1676
|
+
case "ssr":
|
|
1677
|
+
break;
|
|
1678
|
+
case "_ref":
|
|
1679
|
+
c.ref = p;
|
|
1680
|
+
break;
|
|
1681
|
+
case "className":
|
|
1682
|
+
c[d] = (c[d] ? c[d] + " " : "") + p;
|
|
1683
|
+
break;
|
|
1684
|
+
case "inline":
|
|
1685
|
+
case "hFlip":
|
|
1686
|
+
case "vFlip":
|
|
1687
|
+
o[d] = p === !0 || p === "true" || p === 1;
|
|
1688
|
+
break;
|
|
1689
|
+
case "flip":
|
|
1690
|
+
typeof p == "string" && Bt(o, p);
|
|
1691
|
+
break;
|
|
1692
|
+
case "color":
|
|
1693
|
+
a.color = p;
|
|
1694
|
+
break;
|
|
1695
|
+
case "rotate":
|
|
1696
|
+
typeof p == "string" ? o[d] = Ht(p) : typeof p == "number" && (o[d] = p);
|
|
1697
|
+
break;
|
|
1698
|
+
case "ariaHidden":
|
|
1699
|
+
case "aria-hidden":
|
|
1700
|
+
p !== !0 && p !== "true" && delete c["aria-hidden"];
|
|
1701
|
+
break;
|
|
1702
|
+
default:
|
|
1703
|
+
r[d] === void 0 && (c[d] = p);
|
|
1704
|
+
}
|
|
1705
|
+
}
|
|
1706
|
+
const u = ct(e, o), f = u.attributes;
|
|
1707
|
+
if (o.inline && (a.verticalAlign = "-0.125em"), i === "svg") {
|
|
1708
|
+
c.style = {
|
|
1709
|
+
...a,
|
|
1710
|
+
...l
|
|
1711
|
+
}, Object.assign(c, f);
|
|
1712
|
+
let d = 0, p = t.id;
|
|
1713
|
+
return typeof p == "string" && (p = p.replace(/-/g, "_")), c.dangerouslySetInnerHTML = {
|
|
1714
|
+
__html: zt(dt(u.body, p ? () => p + "ID" + d++ : "iconifyReact"))
|
|
1715
|
+
}, W("svg", c);
|
|
1716
|
+
}
|
|
1717
|
+
const { body: h, width: m, height: g } = e, v = i === "mask" || (i === "bg" ? !1 : h.indexOf("currentColor") !== -1), k = Zt(h, {
|
|
1718
|
+
...f,
|
|
1719
|
+
width: m + "",
|
|
1720
|
+
height: g + ""
|
|
1721
|
+
});
|
|
1722
|
+
return c.style = {
|
|
1723
|
+
...a,
|
|
1724
|
+
"--svg": Nt(k),
|
|
1725
|
+
width: se(f.width),
|
|
1726
|
+
height: se(f.height),
|
|
1727
|
+
..._t,
|
|
1728
|
+
...v ? z : ke,
|
|
1729
|
+
...l
|
|
1730
|
+
}, W("span", c);
|
|
1731
|
+
};
|
|
1732
|
+
he(!0);
|
|
1733
|
+
ht("", yt);
|
|
1734
|
+
if (typeof document < "u" && typeof window < "u") {
|
|
1735
|
+
const e = window;
|
|
1736
|
+
if (e.IconifyPreload !== void 0) {
|
|
1737
|
+
const t = e.IconifyPreload, n = "Invalid IconifyPreload syntax.";
|
|
1738
|
+
typeof t == "object" && t !== null && (t instanceof Array ? t : [t]).forEach((r) => {
|
|
1739
|
+
try {
|
|
1740
|
+
// Check if item is an object and not null/array
|
|
1741
|
+
(typeof r != "object" || r === null || r instanceof Array || // Check for 'icons' and 'prefix'
|
|
1742
|
+
typeof r.icons != "object" || typeof r.prefix != "string" || // Add icon set
|
|
1743
|
+
!tt(r)) && console.error(n);
|
|
1744
|
+
} catch {
|
|
1745
|
+
console.error(n);
|
|
1746
|
+
}
|
|
1747
|
+
});
|
|
1748
|
+
}
|
|
1749
|
+
if (e.IconifyProviders !== void 0) {
|
|
1750
|
+
const t = e.IconifyProviders;
|
|
1751
|
+
if (typeof t == "object" && t !== null)
|
|
1752
|
+
for (let n in t) {
|
|
1753
|
+
const r = "IconifyProviders[" + n + "] is invalid.";
|
|
1754
|
+
try {
|
|
1755
|
+
const o = t[n];
|
|
1756
|
+
if (typeof o != "object" || !o || o.resources === void 0)
|
|
1757
|
+
continue;
|
|
1758
|
+
pt(n, o) || console.error(r);
|
|
1759
|
+
} catch {
|
|
1760
|
+
console.error(r);
|
|
1761
|
+
}
|
|
1762
|
+
}
|
|
1763
|
+
}
|
|
1764
|
+
}
|
|
1765
|
+
function be(e) {
|
|
1766
|
+
const [t, n] = B(!!e.ssr), [r, o] = B({});
|
|
1767
|
+
function i(g) {
|
|
1768
|
+
if (g) {
|
|
1769
|
+
const v = e.icon;
|
|
1770
|
+
if (typeof v == "object")
|
|
1771
|
+
return {
|
|
1772
|
+
name: "",
|
|
1773
|
+
data: v
|
|
1774
|
+
};
|
|
1775
|
+
const k = X(v);
|
|
1776
|
+
if (k)
|
|
1777
|
+
return {
|
|
1778
|
+
name: v,
|
|
1779
|
+
data: k
|
|
1780
|
+
};
|
|
1781
|
+
}
|
|
1782
|
+
return {
|
|
1783
|
+
name: ""
|
|
1784
|
+
};
|
|
1785
|
+
}
|
|
1786
|
+
const [a, l] = B(i(!!e.ssr));
|
|
1787
|
+
function c() {
|
|
1788
|
+
const g = r.callback;
|
|
1789
|
+
g && (g(), o({}));
|
|
1790
|
+
}
|
|
1791
|
+
function u(g) {
|
|
1792
|
+
if (JSON.stringify(a) !== JSON.stringify(g))
|
|
1793
|
+
return c(), l(g), !0;
|
|
1794
|
+
}
|
|
1795
|
+
function f() {
|
|
1796
|
+
var g;
|
|
1797
|
+
const v = e.icon;
|
|
1798
|
+
if (typeof v == "object") {
|
|
1799
|
+
u({
|
|
1800
|
+
name: "",
|
|
1801
|
+
data: v
|
|
1802
|
+
});
|
|
1803
|
+
return;
|
|
1804
|
+
}
|
|
1805
|
+
const k = X(v);
|
|
1806
|
+
if (u({
|
|
1807
|
+
name: v,
|
|
1808
|
+
data: k
|
|
1809
|
+
}))
|
|
1810
|
+
if (k === void 0) {
|
|
1811
|
+
const d = Tt([v], f);
|
|
1812
|
+
o({
|
|
1813
|
+
callback: d
|
|
1814
|
+
});
|
|
1815
|
+
} else k && ((g = e.onLoad) === null || g === void 0 || g.call(e, v));
|
|
1816
|
+
}
|
|
1817
|
+
G(() => (n(!0), c), []), G(() => {
|
|
1818
|
+
t && f();
|
|
1819
|
+
}, [e.icon, t]);
|
|
1820
|
+
const { name: h, data: m } = a;
|
|
1821
|
+
return m ? Qt({
|
|
1822
|
+
...U,
|
|
1823
|
+
...m
|
|
1824
|
+
}, e, h) : e.children ? e.children : e.fallback ? e.fallback : W("span", {});
|
|
1825
|
+
}
|
|
1826
|
+
const Ln = ae((e, t) => be({
|
|
1827
|
+
...e,
|
|
1828
|
+
_ref: t
|
|
1829
|
+
}));
|
|
1830
|
+
ae((e, t) => be({
|
|
1831
|
+
inline: !0,
|
|
1832
|
+
...e,
|
|
1833
|
+
_ref: t
|
|
1834
|
+
}));
|
|
1835
|
+
const jn = {
|
|
1836
|
+
width: 24,
|
|
1837
|
+
height: 24,
|
|
1838
|
+
body: '<path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M3 13a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v6a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1zm6-4a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1h-4a1 1 0 0 1-1-1zm6-4a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v14a1 1 0 0 1-1 1h-4a1 1 0 0 1-1-1zM4 20h14"/>'
|
|
1839
|
+
}, Cn = {
|
|
1840
|
+
width: 24,
|
|
1841
|
+
height: 24,
|
|
1842
|
+
body: '<path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 19h16M4 15l4-6l4 2l4-5l4 4"/>'
|
|
1843
|
+
}, Mn = {
|
|
1844
|
+
width: 24,
|
|
1845
|
+
height: 24,
|
|
1846
|
+
body: '<path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="m4 19l4-6l4 2l4-5l4 4v5H4m0-7l3-4l4 2l5-6l4 4"/>'
|
|
1847
|
+
}, Rn = {
|
|
1848
|
+
width: 24,
|
|
1849
|
+
height: 24,
|
|
1850
|
+
body: '<g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"><path d="M10 3.2A9 9 0 1 0 20.8 14a1 1 0 0 0-1-1H13a2 2 0 0 1-2-2V4a.9.9 0 0 0-1-.8"/><path d="M15 3.5A9 9 0 0 1 20.5 9H16a1 1 0 0 1-1-1V3.5"/></g>'
|
|
1851
|
+
}, In = {
|
|
1852
|
+
width: 24,
|
|
1853
|
+
height: 24,
|
|
1854
|
+
body: '<g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"><path d="M3 3v18h18"/><path d="M7 15a2 2 0 1 0 4 0a2 2 0 1 0-4 0m4-10a2 2 0 1 0 4 0a2 2 0 1 0-4 0m5 7a2 2 0 1 0 4 0a2 2 0 1 0-4 0m5-9l-6 1.5m-.887 2.15l2.771 3.695M16 12.5l-5 2"/></g>'
|
|
1855
|
+
}, Fn = {
|
|
1856
|
+
width: 24,
|
|
1857
|
+
height: 24,
|
|
1858
|
+
body: '<path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M3 16a3 3 0 1 0 6 0a3 3 0 1 0-6 0m11 3a2 2 0 1 0 4 0a2 2 0 1 0-4 0M10 7.5a4.5 4.5 0 1 0 9 0a4.5 4.5 0 1 0-9 0"/>'
|
|
1859
|
+
}, On = {
|
|
1860
|
+
width: 24,
|
|
1861
|
+
height: 24,
|
|
1862
|
+
body: '<g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"><path d="m12 3l9.5 7L18 21H6L2.5 10z"/><path d="m12 7.5l5.5 4L15 17H8.5l-2-5.5z"/><path d="m2.5 10l9.5 3l9.5-3"/><path d="M12 3v10l6 8M6 21l6-8"/></g>'
|
|
1863
|
+
}, Sn = {
|
|
1864
|
+
width: 24,
|
|
1865
|
+
height: 24,
|
|
1866
|
+
body: '<g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"><path d="M11 12a1 1 0 1 0 2 0a1 1 0 1 0-2 0"/><path d="M15.51 15.56A5 5 0 1 0 12 17"/><path d="M18.832 17.86A9 9 0 1 0 12 21m0-9v9"/></g>'
|
|
1867
|
+
}, An = {
|
|
1868
|
+
width: 24,
|
|
1869
|
+
height: 24,
|
|
1870
|
+
body: '<path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 6a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2zm8-2v16m-8-5h8m0-3h8m-4 0v8m0-4h4"/>'
|
|
1871
|
+
}, Tn = {
|
|
1872
|
+
width: 24,
|
|
1873
|
+
height: 24,
|
|
1874
|
+
body: '<path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M3 5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5zm0 5h18M10 3v18"/>'
|
|
1875
|
+
};
|
|
1876
|
+
export {
|
|
1877
|
+
Rn as A,
|
|
1878
|
+
In as B,
|
|
1879
|
+
Fn as C,
|
|
1880
|
+
On as D,
|
|
1881
|
+
Sn as E,
|
|
1882
|
+
Jt as F,
|
|
1883
|
+
An as G,
|
|
1884
|
+
Tn as H,
|
|
1885
|
+
Ln as I,
|
|
1886
|
+
gn as J,
|
|
1887
|
+
Yt as K,
|
|
1888
|
+
hn as L,
|
|
1889
|
+
un as a,
|
|
1890
|
+
cn as b,
|
|
1891
|
+
tn as c,
|
|
1892
|
+
nn as d,
|
|
1893
|
+
bn as e,
|
|
1894
|
+
En as f,
|
|
1895
|
+
kn as g,
|
|
1896
|
+
vn as h,
|
|
1897
|
+
fn as i,
|
|
1898
|
+
dn as j,
|
|
1899
|
+
pn as k,
|
|
1900
|
+
Xt as l,
|
|
1901
|
+
mn as m,
|
|
1902
|
+
sn as n,
|
|
1903
|
+
wn as o,
|
|
1904
|
+
ln as p,
|
|
1905
|
+
yn as q,
|
|
1906
|
+
xn as r,
|
|
1907
|
+
en as s,
|
|
1908
|
+
rn as t,
|
|
1909
|
+
on as u,
|
|
1910
|
+
an as v,
|
|
1911
|
+
Kt as w,
|
|
1912
|
+
jn as x,
|
|
1913
|
+
Cn as y,
|
|
1914
|
+
Mn as z
|
|
1915
|
+
};
|
|
1916
|
+
//# sourceMappingURL=icons-D95augkg.js.map
|