@prozilla-os/file-explorer 1.1.22 → 1.2.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 +3 -3
- package/dist/main.d.ts +5 -1029
- package/dist/main.js +3644 -194
- package/dist/main.js.map +1 -1
- package/package.json +16 -15
package/dist/main.js
CHANGED
|
@@ -1,322 +1,3772 @@
|
|
|
1
1
|
(function(){"use strict";try{if(typeof document<"u"){var r=document.createElement("style");r.appendChild(document.createTextNode('._FileExplorer_lr5mr_1{--header-height: 3.5rem;--sidebar-width: 10rem;--footer-height: 1.75rem;--scale: 1.15rem;display:flex;flex-direction:column;width:100%;height:100%}._Header_lr5mr_13{display:flex;gap:1rem;align-items:center;width:100%;height:var(--header-height);padding:1rem;background-color:var(--background-color-0)}._IconButton_lr5mr_23{--color: var(--foreground-color-0);position:relative;height:1.25rem;width:auto;padding:0;background:none;border:none;outline:none;aspect-ratio:1;cursor:pointer}._IconButton_lr5mr_23:after{content:"";position:absolute;top:0;left:0;width:100%;height:100%;background-color:#fff0;border-radius:var(--border-radius-99);transform:scale(1);transform-origin:center;transition:all var(--transition-duration-1) var(--ease-in-out-default)}._IconButton_lr5mr_23:hover:after,._IconButton_lr5mr_23:focus-visible:after{background-color:#ffffff1a;transform:scale(1.5)}._IconButton_lr5mr_23:disabled{--color: var(--background-color-1)}._IconButton_lr5mr_23 svg{height:100%}._IconButton_lr5mr_23 svg path{fill:var(--color);transition:fill var(--transition-duration-0) var(--ease-in-out-default)}._PathInput_lr5mr_69{flex:1;padding:.25rem .5rem;background-color:var(--background-color-2);border:none;border-radius:var(--border-radius-1);outline:none;font-family:inherit;font-size:inherit}._Body_lr5mr_80{flex:1;display:flex;width:100%;height:calc(100% - var(--header-height));background-color:var(--background-color-2)}._Sidebar_lr5mr_88{display:flex;gap:.25rem;flex-direction:column;min-width:calc(var(--sidebar-width) / 2);width:var(--sidebar-width);height:100%;max-width:50%;padding:.5rem;background-color:var(--background-color-1);resize:horizontal;overflow:hidden}._NavButton_lr5mr_102{display:flex;gap:.5rem;align-items:center;width:100%;padding:.5rem;background:none;border:none;border-radius:var(--border-radius-1);outline:none;cursor:pointer;transition:background-color var(--transition-duration-0) var(--ease-in-out-default)}._NavButton_lr5mr_102:hover,._NavButton_lr5mr_102:focus-visible{background-color:color-mix(in srgb,var(--background-color-0) 75%,transparent)}._NavButton_lr5mr_102 svg{height:1.35rem;aspect-ratio:1}._Main_lr5mr_125{--scale: inherit !important;position:relative;flex:1;display:flex;flex-wrap:wrap;align-content:flex-start;height:100%;padding:.5rem;padding-bottom:calc(.5rem + var(--footer-height));overflow:auto}._Footer_lr5mr_139{position:absolute;display:flex;justify-content:flex-start;align-items:center;bottom:0;left:0;width:100%;height:var(--footer-height);padding:0 .75rem;border-top:.25rem solid var(--background-color-0);background-color:var(--background-color-2)}._Footer_lr5mr_139 p{margin:0;font-size:.875em}._Selector_lr5mr_158{--footer-height: 4rem}._FileProperties_xi8b6_1{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;padding:1rem}._Icon_xi8b6_9{width:3rem;height:3rem}._Icon_xi8b6_9 div{width:inherit;height:inherit;object-fit:contain}._Icon_xi8b6_9 svg{max-width:100%;max-height:100%}._Section_xi8b6_25{--divider-width: .25rem;position:relative;display:flex;gap:.25rem;justify-content:flex-start;align-items:flex-start;flex-direction:column;width:100%;padding:1rem 0;padding-bottom:calc(1rem + var(--divider-width))}._Section_xi8b6_25:first-child{gap:.5rem;align-items:center;flex-direction:row;padding-top:0}._Section_xi8b6_25:first-child ._Line_xi8b6_46{font-size:1.25rem}._Section_xi8b6_25:not(:last-child):after{content:"";position:absolute;bottom:0;left:0;width:100%;height:var(--divider-width);border-radius:var(--border-radius-0);background-color:var(--background-color-0)}._Line_xi8b6_46{margin:0;text-align:left;padding-left:2rem;text-indent:-2rem}._AppIcon_xi8b6_68{display:inline-block;width:2rem;height:2rem;vertical-align:middle;margin-left:.5rem;margin-right:.25rem}._AppIcon_xi8b6_68 div{position:relative;width:inherit;height:inherit;object-fit:contain}._AppIcon_xi8b6_68 svg{position:absolute;top:0;left:0;max-width:100%;max-height:100%}')),document.head.appendChild(r)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
|
|
2
|
-
import { utilStyles as
|
|
3
|
-
import { jsxs as
|
|
4
|
-
import { useState as
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
Selector: Oe
|
|
2
|
+
import { utilStyles as rt, VirtualFile as gn, useSystemManager as sa, WindowedModal as bn, ImagePreview as bt, StorageManager as yt, useVirtualRoot as yn, useWindowsManager as xn, useHistory as Sn, useAlert as wn, useWindowedModal as An, useContextMenu as xt, Actions as St, ClickAction as Q, Divider as kn, VirtualRoot as wt, DialogBox as At, ModalsConfig as kt, DirectoryList as In, CODE_EXTENSIONS as En, App as Pn, AppsConfig as Nn } from "@prozilla-os/core";
|
|
3
|
+
import { jsxs as N, jsx as g } from "react/jsx-runtime";
|
|
4
|
+
import it, { useId as Fn, useState as Me, useCallback as Cn, useEffect as It } from "react";
|
|
5
|
+
import { Vector2 as ve } from "@prozilla-os/shared";
|
|
6
|
+
import { MacOsSkin as _n, Skin as ge, Windows95Skin as On, MinimalSkin as Ln, PixelSkin as Tn } from "@prozilla-os/skins";
|
|
7
|
+
const Mn = "_FileExplorer_lr5mr_1", jn = "_Header_lr5mr_13", Dn = "_IconButton_lr5mr_23", zn = "_PathInput_lr5mr_69", $n = "_Body_lr5mr_80", Rn = "_Sidebar_lr5mr_88", Un = "_NavButton_lr5mr_102", Wn = "_Main_lr5mr_125", Bn = "_Footer_lr5mr_139", Yn = "_Selector_lr5mr_158", C = {
|
|
8
|
+
FileExplorer: Mn,
|
|
9
|
+
Header: jn,
|
|
10
|
+
IconButton: Dn,
|
|
11
|
+
PathInput: zn,
|
|
12
|
+
Body: $n,
|
|
13
|
+
Sidebar: Rn,
|
|
14
|
+
NavButton: Un,
|
|
15
|
+
Main: Wn,
|
|
16
|
+
Footer: Bn,
|
|
17
|
+
Selector: Yn
|
|
19
18
|
};
|
|
20
|
-
function
|
|
21
|
-
|
|
19
|
+
function Be(e, t) {
|
|
20
|
+
(t == null || t > e.length) && (t = e.length);
|
|
21
|
+
for (var a = 0, n = Array(t); a < t; a++) n[a] = e[a];
|
|
22
|
+
return n;
|
|
23
|
+
}
|
|
24
|
+
function Hn(e) {
|
|
25
|
+
if (Array.isArray(e)) return e;
|
|
26
|
+
}
|
|
27
|
+
function Gn(e) {
|
|
28
|
+
if (Array.isArray(e)) return Be(e);
|
|
29
|
+
}
|
|
30
|
+
function Vn(e, t) {
|
|
31
|
+
if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
|
|
32
|
+
}
|
|
33
|
+
function Xn(e, t) {
|
|
34
|
+
for (var a = 0; a < t.length; a++) {
|
|
35
|
+
var n = t[a];
|
|
36
|
+
n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, la(n.key), n);
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
function Kn(e, t, a) {
|
|
40
|
+
return t && Xn(e.prototype, t), Object.defineProperty(e, "prototype", {
|
|
41
|
+
writable: !1
|
|
42
|
+
}), e;
|
|
43
|
+
}
|
|
44
|
+
function Se(e, t) {
|
|
45
|
+
var a = typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
|
|
46
|
+
if (!a) {
|
|
47
|
+
if (Array.isArray(e) || (a = ot(e)) || t) {
|
|
48
|
+
a && (e = a);
|
|
49
|
+
var n = 0, r = function() {
|
|
50
|
+
};
|
|
51
|
+
return {
|
|
52
|
+
s: r,
|
|
53
|
+
n: function() {
|
|
54
|
+
return n >= e.length ? {
|
|
55
|
+
done: !0
|
|
56
|
+
} : {
|
|
57
|
+
done: !1,
|
|
58
|
+
value: e[n++]
|
|
59
|
+
};
|
|
60
|
+
},
|
|
61
|
+
e: function(l) {
|
|
62
|
+
throw l;
|
|
63
|
+
},
|
|
64
|
+
f: r
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
68
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
69
|
+
}
|
|
70
|
+
var i, o = !0, s = !1;
|
|
71
|
+
return {
|
|
72
|
+
s: function() {
|
|
73
|
+
a = a.call(e);
|
|
74
|
+
},
|
|
75
|
+
n: function() {
|
|
76
|
+
var l = a.next();
|
|
77
|
+
return o = l.done, l;
|
|
78
|
+
},
|
|
79
|
+
e: function(l) {
|
|
80
|
+
s = !0, i = l;
|
|
81
|
+
},
|
|
82
|
+
f: function() {
|
|
83
|
+
try {
|
|
84
|
+
o || a.return == null || a.return();
|
|
85
|
+
} finally {
|
|
86
|
+
if (s) throw i;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
};
|
|
90
|
+
}
|
|
91
|
+
function v(e, t, a) {
|
|
92
|
+
return (t = la(t)) in e ? Object.defineProperty(e, t, {
|
|
93
|
+
value: a,
|
|
94
|
+
enumerable: !0,
|
|
95
|
+
configurable: !0,
|
|
96
|
+
writable: !0
|
|
97
|
+
}) : e[t] = a, e;
|
|
98
|
+
}
|
|
99
|
+
function Jn(e) {
|
|
100
|
+
if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null) return Array.from(e);
|
|
101
|
+
}
|
|
102
|
+
function qn(e, t) {
|
|
103
|
+
var a = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
|
|
104
|
+
if (a != null) {
|
|
105
|
+
var n, r, i, o, s = [], l = !0, c = !1;
|
|
106
|
+
try {
|
|
107
|
+
if (i = (a = a.call(e)).next, t === 0) {
|
|
108
|
+
if (Object(a) !== a) return;
|
|
109
|
+
l = !1;
|
|
110
|
+
} else for (; !(l = (n = i.call(a)).done) && (s.push(n.value), s.length !== t); l = !0) ;
|
|
111
|
+
} catch (d) {
|
|
112
|
+
c = !0, r = d;
|
|
113
|
+
} finally {
|
|
114
|
+
try {
|
|
115
|
+
if (!l && a.return != null && (o = a.return(), Object(o) !== o)) return;
|
|
116
|
+
} finally {
|
|
117
|
+
if (c) throw r;
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
return s;
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
function Qn() {
|
|
124
|
+
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
125
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
126
|
+
}
|
|
127
|
+
function Zn() {
|
|
128
|
+
throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
129
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
130
|
+
}
|
|
131
|
+
function Et(e, t) {
|
|
132
|
+
var a = Object.keys(e);
|
|
133
|
+
if (Object.getOwnPropertySymbols) {
|
|
134
|
+
var n = Object.getOwnPropertySymbols(e);
|
|
135
|
+
t && (n = n.filter(function(r) {
|
|
136
|
+
return Object.getOwnPropertyDescriptor(e, r).enumerable;
|
|
137
|
+
})), a.push.apply(a, n);
|
|
138
|
+
}
|
|
139
|
+
return a;
|
|
140
|
+
}
|
|
141
|
+
function f(e) {
|
|
142
|
+
for (var t = 1; t < arguments.length; t++) {
|
|
143
|
+
var a = arguments[t] != null ? arguments[t] : {};
|
|
144
|
+
t % 2 ? Et(Object(a), !0).forEach(function(n) {
|
|
145
|
+
v(e, n, a[n]);
|
|
146
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(a)) : Et(Object(a)).forEach(function(n) {
|
|
147
|
+
Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(a, n));
|
|
148
|
+
});
|
|
149
|
+
}
|
|
150
|
+
return e;
|
|
151
|
+
}
|
|
152
|
+
function Pe(e, t) {
|
|
153
|
+
return Hn(e) || qn(e, t) || ot(e, t) || Qn();
|
|
154
|
+
}
|
|
155
|
+
function j(e) {
|
|
156
|
+
return Gn(e) || Jn(e) || ot(e) || Zn();
|
|
157
|
+
}
|
|
158
|
+
function er(e, t) {
|
|
159
|
+
if (typeof e != "object" || !e) return e;
|
|
160
|
+
var a = e[Symbol.toPrimitive];
|
|
161
|
+
if (a !== void 0) {
|
|
162
|
+
var n = a.call(e, t);
|
|
163
|
+
if (typeof n != "object") return n;
|
|
164
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
165
|
+
}
|
|
166
|
+
return (t === "string" ? String : Number)(e);
|
|
167
|
+
}
|
|
168
|
+
function la(e) {
|
|
169
|
+
var t = er(e, "string");
|
|
170
|
+
return typeof t == "symbol" ? t : t + "";
|
|
171
|
+
}
|
|
172
|
+
function ke(e) {
|
|
173
|
+
"@babel/helpers - typeof";
|
|
174
|
+
return ke = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
|
|
175
|
+
return typeof t;
|
|
176
|
+
} : function(t) {
|
|
177
|
+
return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
|
|
178
|
+
}, ke(e);
|
|
179
|
+
}
|
|
180
|
+
function ot(e, t) {
|
|
181
|
+
if (e) {
|
|
182
|
+
if (typeof e == "string") return Be(e, t);
|
|
183
|
+
var a = {}.toString.call(e).slice(8, -1);
|
|
184
|
+
return a === "Object" && e.constructor && (a = e.constructor.name), a === "Map" || a === "Set" ? Array.from(e) : a === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a) ? Be(e, t) : void 0;
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
var Pt = function() {
|
|
188
|
+
}, st = {}, fa = {}, ca = null, ua = {
|
|
189
|
+
mark: Pt,
|
|
190
|
+
measure: Pt
|
|
191
|
+
};
|
|
192
|
+
try {
|
|
193
|
+
typeof window < "u" && (st = window), typeof document < "u" && (fa = document), typeof MutationObserver < "u" && (ca = MutationObserver), typeof performance < "u" && (ua = performance);
|
|
194
|
+
} catch {
|
|
195
|
+
}
|
|
196
|
+
var tr = st.navigator || {}, Nt = tr.userAgent, Ft = Nt === void 0 ? "" : Nt, Y = st, k = fa, Ct = ca, be = ua;
|
|
197
|
+
Y.document;
|
|
198
|
+
var B = !!k.documentElement && !!k.head && typeof k.addEventListener == "function" && typeof k.createElement == "function", da = ~Ft.indexOf("MSIE") || ~Ft.indexOf("Trident/"), je, ar = /fa(k|kd|s|r|l|t|d|dr|dl|dt|b|slr|slpr|wsb|tl|ns|nds|es|gt|jr|jfr|jdr|usb|ufsb|udsb|cr|ss|sr|sl|st|sds|sdr|sdl|sdt)?[\-\ ]/, nr = /Font ?Awesome ?([567 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp Duotone|Sharp|Kit|Notdog Duo|Notdog|Chisel|Etch|Graphite|Thumbprint|Jelly Fill|Jelly Duo|Jelly|Utility|Utility Fill|Utility Duo|Slab Press|Slab|Whiteboard)?.*/i, ma = {
|
|
199
|
+
classic: {
|
|
200
|
+
fa: "solid",
|
|
201
|
+
fas: "solid",
|
|
202
|
+
"fa-solid": "solid",
|
|
203
|
+
far: "regular",
|
|
204
|
+
"fa-regular": "regular",
|
|
205
|
+
fal: "light",
|
|
206
|
+
"fa-light": "light",
|
|
207
|
+
fat: "thin",
|
|
208
|
+
"fa-thin": "thin",
|
|
209
|
+
fab: "brands",
|
|
210
|
+
"fa-brands": "brands"
|
|
211
|
+
},
|
|
212
|
+
duotone: {
|
|
213
|
+
fa: "solid",
|
|
214
|
+
fad: "solid",
|
|
215
|
+
"fa-solid": "solid",
|
|
216
|
+
"fa-duotone": "solid",
|
|
217
|
+
fadr: "regular",
|
|
218
|
+
"fa-regular": "regular",
|
|
219
|
+
fadl: "light",
|
|
220
|
+
"fa-light": "light",
|
|
221
|
+
fadt: "thin",
|
|
222
|
+
"fa-thin": "thin"
|
|
223
|
+
},
|
|
224
|
+
sharp: {
|
|
225
|
+
fa: "solid",
|
|
226
|
+
fass: "solid",
|
|
227
|
+
"fa-solid": "solid",
|
|
228
|
+
fasr: "regular",
|
|
229
|
+
"fa-regular": "regular",
|
|
230
|
+
fasl: "light",
|
|
231
|
+
"fa-light": "light",
|
|
232
|
+
fast: "thin",
|
|
233
|
+
"fa-thin": "thin"
|
|
234
|
+
},
|
|
235
|
+
"sharp-duotone": {
|
|
236
|
+
fa: "solid",
|
|
237
|
+
fasds: "solid",
|
|
238
|
+
"fa-solid": "solid",
|
|
239
|
+
fasdr: "regular",
|
|
240
|
+
"fa-regular": "regular",
|
|
241
|
+
fasdl: "light",
|
|
242
|
+
"fa-light": "light",
|
|
243
|
+
fasdt: "thin",
|
|
244
|
+
"fa-thin": "thin"
|
|
245
|
+
},
|
|
246
|
+
slab: {
|
|
247
|
+
"fa-regular": "regular",
|
|
248
|
+
faslr: "regular"
|
|
249
|
+
},
|
|
250
|
+
"slab-press": {
|
|
251
|
+
"fa-regular": "regular",
|
|
252
|
+
faslpr: "regular"
|
|
253
|
+
},
|
|
254
|
+
thumbprint: {
|
|
255
|
+
"fa-light": "light",
|
|
256
|
+
fatl: "light"
|
|
257
|
+
},
|
|
258
|
+
whiteboard: {
|
|
259
|
+
"fa-semibold": "semibold",
|
|
260
|
+
fawsb: "semibold"
|
|
261
|
+
},
|
|
262
|
+
notdog: {
|
|
263
|
+
"fa-solid": "solid",
|
|
264
|
+
fans: "solid"
|
|
265
|
+
},
|
|
266
|
+
"notdog-duo": {
|
|
267
|
+
"fa-solid": "solid",
|
|
268
|
+
fands: "solid"
|
|
269
|
+
},
|
|
270
|
+
etch: {
|
|
271
|
+
"fa-solid": "solid",
|
|
272
|
+
faes: "solid"
|
|
273
|
+
},
|
|
274
|
+
graphite: {
|
|
275
|
+
"fa-thin": "thin",
|
|
276
|
+
fagt: "thin"
|
|
277
|
+
},
|
|
278
|
+
jelly: {
|
|
279
|
+
"fa-regular": "regular",
|
|
280
|
+
fajr: "regular"
|
|
281
|
+
},
|
|
282
|
+
"jelly-fill": {
|
|
283
|
+
"fa-regular": "regular",
|
|
284
|
+
fajfr: "regular"
|
|
285
|
+
},
|
|
286
|
+
"jelly-duo": {
|
|
287
|
+
"fa-regular": "regular",
|
|
288
|
+
fajdr: "regular"
|
|
289
|
+
},
|
|
290
|
+
chisel: {
|
|
291
|
+
"fa-regular": "regular",
|
|
292
|
+
facr: "regular"
|
|
293
|
+
},
|
|
294
|
+
utility: {
|
|
295
|
+
"fa-semibold": "semibold",
|
|
296
|
+
fausb: "semibold"
|
|
297
|
+
},
|
|
298
|
+
"utility-duo": {
|
|
299
|
+
"fa-semibold": "semibold",
|
|
300
|
+
faudsb: "semibold"
|
|
301
|
+
},
|
|
302
|
+
"utility-fill": {
|
|
303
|
+
"fa-semibold": "semibold",
|
|
304
|
+
faufsb: "semibold"
|
|
305
|
+
}
|
|
306
|
+
}, rr = {
|
|
307
|
+
GROUP: "duotone-group",
|
|
308
|
+
PRIMARY: "primary",
|
|
309
|
+
SECONDARY: "secondary"
|
|
310
|
+
}, pa = ["fa-classic", "fa-duotone", "fa-sharp", "fa-sharp-duotone", "fa-thumbprint", "fa-whiteboard", "fa-notdog", "fa-notdog-duo", "fa-chisel", "fa-etch", "fa-graphite", "fa-jelly", "fa-jelly-fill", "fa-jelly-duo", "fa-slab", "fa-slab-press", "fa-utility", "fa-utility-duo", "fa-utility-fill"], _ = "classic", me = "duotone", ha = "sharp", va = "sharp-duotone", ga = "chisel", ba = "etch", ya = "graphite", xa = "jelly", Sa = "jelly-duo", wa = "jelly-fill", Aa = "notdog", ka = "notdog-duo", Ia = "slab", Ea = "slab-press", Pa = "thumbprint", Na = "utility", Fa = "utility-duo", Ca = "utility-fill", _a = "whiteboard", ir = "Classic", or = "Duotone", sr = "Sharp", lr = "Sharp Duotone", fr = "Chisel", cr = "Etch", ur = "Graphite", dr = "Jelly", mr = "Jelly Duo", pr = "Jelly Fill", hr = "Notdog", vr = "Notdog Duo", gr = "Slab", br = "Slab Press", yr = "Thumbprint", xr = "Utility", Sr = "Utility Duo", wr = "Utility Fill", Ar = "Whiteboard", Oa = [_, me, ha, va, ga, ba, ya, xa, Sa, wa, Aa, ka, Ia, Ea, Pa, Na, Fa, Ca, _a];
|
|
311
|
+
je = {}, v(v(v(v(v(v(v(v(v(v(je, _, ir), me, or), ha, sr), va, lr), ga, fr), ba, cr), ya, ur), xa, dr), Sa, mr), wa, pr), v(v(v(v(v(v(v(v(v(je, Aa, hr), ka, vr), Ia, gr), Ea, br), Pa, yr), Na, xr), Fa, Sr), Ca, wr), _a, Ar);
|
|
312
|
+
var kr = {
|
|
313
|
+
classic: {
|
|
314
|
+
900: "fas",
|
|
315
|
+
400: "far",
|
|
316
|
+
normal: "far",
|
|
317
|
+
300: "fal",
|
|
318
|
+
100: "fat"
|
|
319
|
+
},
|
|
320
|
+
duotone: {
|
|
321
|
+
900: "fad",
|
|
322
|
+
400: "fadr",
|
|
323
|
+
300: "fadl",
|
|
324
|
+
100: "fadt"
|
|
325
|
+
},
|
|
326
|
+
sharp: {
|
|
327
|
+
900: "fass",
|
|
328
|
+
400: "fasr",
|
|
329
|
+
300: "fasl",
|
|
330
|
+
100: "fast"
|
|
331
|
+
},
|
|
332
|
+
"sharp-duotone": {
|
|
333
|
+
900: "fasds",
|
|
334
|
+
400: "fasdr",
|
|
335
|
+
300: "fasdl",
|
|
336
|
+
100: "fasdt"
|
|
337
|
+
},
|
|
338
|
+
slab: {
|
|
339
|
+
400: "faslr"
|
|
340
|
+
},
|
|
341
|
+
"slab-press": {
|
|
342
|
+
400: "faslpr"
|
|
343
|
+
},
|
|
344
|
+
whiteboard: {
|
|
345
|
+
600: "fawsb"
|
|
346
|
+
},
|
|
347
|
+
thumbprint: {
|
|
348
|
+
300: "fatl"
|
|
349
|
+
},
|
|
350
|
+
notdog: {
|
|
351
|
+
900: "fans"
|
|
352
|
+
},
|
|
353
|
+
"notdog-duo": {
|
|
354
|
+
900: "fands"
|
|
355
|
+
},
|
|
356
|
+
etch: {
|
|
357
|
+
900: "faes"
|
|
358
|
+
},
|
|
359
|
+
graphite: {
|
|
360
|
+
100: "fagt"
|
|
361
|
+
},
|
|
362
|
+
chisel: {
|
|
363
|
+
400: "facr"
|
|
364
|
+
},
|
|
365
|
+
jelly: {
|
|
366
|
+
400: "fajr"
|
|
367
|
+
},
|
|
368
|
+
"jelly-fill": {
|
|
369
|
+
400: "fajfr"
|
|
370
|
+
},
|
|
371
|
+
"jelly-duo": {
|
|
372
|
+
400: "fajdr"
|
|
373
|
+
},
|
|
374
|
+
utility: {
|
|
375
|
+
600: "fausb"
|
|
376
|
+
},
|
|
377
|
+
"utility-duo": {
|
|
378
|
+
600: "faudsb"
|
|
379
|
+
},
|
|
380
|
+
"utility-fill": {
|
|
381
|
+
600: "faufsb"
|
|
382
|
+
}
|
|
383
|
+
}, Ir = {
|
|
384
|
+
"Font Awesome 7 Free": {
|
|
385
|
+
900: "fas",
|
|
386
|
+
400: "far"
|
|
387
|
+
},
|
|
388
|
+
"Font Awesome 7 Pro": {
|
|
389
|
+
900: "fas",
|
|
390
|
+
400: "far",
|
|
391
|
+
normal: "far",
|
|
392
|
+
300: "fal",
|
|
393
|
+
100: "fat"
|
|
394
|
+
},
|
|
395
|
+
"Font Awesome 7 Brands": {
|
|
396
|
+
400: "fab",
|
|
397
|
+
normal: "fab"
|
|
398
|
+
},
|
|
399
|
+
"Font Awesome 7 Duotone": {
|
|
400
|
+
900: "fad",
|
|
401
|
+
400: "fadr",
|
|
402
|
+
normal: "fadr",
|
|
403
|
+
300: "fadl",
|
|
404
|
+
100: "fadt"
|
|
405
|
+
},
|
|
406
|
+
"Font Awesome 7 Sharp": {
|
|
407
|
+
900: "fass",
|
|
408
|
+
400: "fasr",
|
|
409
|
+
normal: "fasr",
|
|
410
|
+
300: "fasl",
|
|
411
|
+
100: "fast"
|
|
412
|
+
},
|
|
413
|
+
"Font Awesome 7 Sharp Duotone": {
|
|
414
|
+
900: "fasds",
|
|
415
|
+
400: "fasdr",
|
|
416
|
+
normal: "fasdr",
|
|
417
|
+
300: "fasdl",
|
|
418
|
+
100: "fasdt"
|
|
419
|
+
},
|
|
420
|
+
"Font Awesome 7 Jelly": {
|
|
421
|
+
400: "fajr",
|
|
422
|
+
normal: "fajr"
|
|
423
|
+
},
|
|
424
|
+
"Font Awesome 7 Jelly Fill": {
|
|
425
|
+
400: "fajfr",
|
|
426
|
+
normal: "fajfr"
|
|
427
|
+
},
|
|
428
|
+
"Font Awesome 7 Jelly Duo": {
|
|
429
|
+
400: "fajdr",
|
|
430
|
+
normal: "fajdr"
|
|
431
|
+
},
|
|
432
|
+
"Font Awesome 7 Slab": {
|
|
433
|
+
400: "faslr",
|
|
434
|
+
normal: "faslr"
|
|
435
|
+
},
|
|
436
|
+
"Font Awesome 7 Slab Press": {
|
|
437
|
+
400: "faslpr",
|
|
438
|
+
normal: "faslpr"
|
|
439
|
+
},
|
|
440
|
+
"Font Awesome 7 Thumbprint": {
|
|
441
|
+
300: "fatl",
|
|
442
|
+
normal: "fatl"
|
|
443
|
+
},
|
|
444
|
+
"Font Awesome 7 Notdog": {
|
|
445
|
+
900: "fans",
|
|
446
|
+
normal: "fans"
|
|
447
|
+
},
|
|
448
|
+
"Font Awesome 7 Notdog Duo": {
|
|
449
|
+
900: "fands",
|
|
450
|
+
normal: "fands"
|
|
451
|
+
},
|
|
452
|
+
"Font Awesome 7 Etch": {
|
|
453
|
+
900: "faes",
|
|
454
|
+
normal: "faes"
|
|
455
|
+
},
|
|
456
|
+
"Font Awesome 7 Graphite": {
|
|
457
|
+
100: "fagt",
|
|
458
|
+
normal: "fagt"
|
|
459
|
+
},
|
|
460
|
+
"Font Awesome 7 Chisel": {
|
|
461
|
+
400: "facr",
|
|
462
|
+
normal: "facr"
|
|
463
|
+
},
|
|
464
|
+
"Font Awesome 7 Whiteboard": {
|
|
465
|
+
600: "fawsb",
|
|
466
|
+
normal: "fawsb"
|
|
467
|
+
},
|
|
468
|
+
"Font Awesome 7 Utility": {
|
|
469
|
+
600: "fausb",
|
|
470
|
+
normal: "fausb"
|
|
471
|
+
},
|
|
472
|
+
"Font Awesome 7 Utility Duo": {
|
|
473
|
+
600: "faudsb",
|
|
474
|
+
normal: "faudsb"
|
|
475
|
+
},
|
|
476
|
+
"Font Awesome 7 Utility Fill": {
|
|
477
|
+
600: "faufsb",
|
|
478
|
+
normal: "faufsb"
|
|
479
|
+
}
|
|
480
|
+
}, Er = /* @__PURE__ */ new Map([["classic", {
|
|
481
|
+
defaultShortPrefixId: "fas",
|
|
482
|
+
defaultStyleId: "solid",
|
|
483
|
+
styleIds: ["solid", "regular", "light", "thin", "brands"],
|
|
484
|
+
futureStyleIds: [],
|
|
485
|
+
defaultFontWeight: 900
|
|
486
|
+
}], ["duotone", {
|
|
487
|
+
defaultShortPrefixId: "fad",
|
|
488
|
+
defaultStyleId: "solid",
|
|
489
|
+
styleIds: ["solid", "regular", "light", "thin"],
|
|
490
|
+
futureStyleIds: [],
|
|
491
|
+
defaultFontWeight: 900
|
|
492
|
+
}], ["sharp", {
|
|
493
|
+
defaultShortPrefixId: "fass",
|
|
494
|
+
defaultStyleId: "solid",
|
|
495
|
+
styleIds: ["solid", "regular", "light", "thin"],
|
|
496
|
+
futureStyleIds: [],
|
|
497
|
+
defaultFontWeight: 900
|
|
498
|
+
}], ["sharp-duotone", {
|
|
499
|
+
defaultShortPrefixId: "fasds",
|
|
500
|
+
defaultStyleId: "solid",
|
|
501
|
+
styleIds: ["solid", "regular", "light", "thin"],
|
|
502
|
+
futureStyleIds: [],
|
|
503
|
+
defaultFontWeight: 900
|
|
504
|
+
}], ["chisel", {
|
|
505
|
+
defaultShortPrefixId: "facr",
|
|
506
|
+
defaultStyleId: "regular",
|
|
507
|
+
styleIds: ["regular"],
|
|
508
|
+
futureStyleIds: [],
|
|
509
|
+
defaultFontWeight: 400
|
|
510
|
+
}], ["etch", {
|
|
511
|
+
defaultShortPrefixId: "faes",
|
|
512
|
+
defaultStyleId: "solid",
|
|
513
|
+
styleIds: ["solid"],
|
|
514
|
+
futureStyleIds: [],
|
|
515
|
+
defaultFontWeight: 900
|
|
516
|
+
}], ["graphite", {
|
|
517
|
+
defaultShortPrefixId: "fagt",
|
|
518
|
+
defaultStyleId: "thin",
|
|
519
|
+
styleIds: ["thin"],
|
|
520
|
+
futureStyleIds: [],
|
|
521
|
+
defaultFontWeight: 100
|
|
522
|
+
}], ["jelly", {
|
|
523
|
+
defaultShortPrefixId: "fajr",
|
|
524
|
+
defaultStyleId: "regular",
|
|
525
|
+
styleIds: ["regular"],
|
|
526
|
+
futureStyleIds: [],
|
|
527
|
+
defaultFontWeight: 400
|
|
528
|
+
}], ["jelly-duo", {
|
|
529
|
+
defaultShortPrefixId: "fajdr",
|
|
530
|
+
defaultStyleId: "regular",
|
|
531
|
+
styleIds: ["regular"],
|
|
532
|
+
futureStyleIds: [],
|
|
533
|
+
defaultFontWeight: 400
|
|
534
|
+
}], ["jelly-fill", {
|
|
535
|
+
defaultShortPrefixId: "fajfr",
|
|
536
|
+
defaultStyleId: "regular",
|
|
537
|
+
styleIds: ["regular"],
|
|
538
|
+
futureStyleIds: [],
|
|
539
|
+
defaultFontWeight: 400
|
|
540
|
+
}], ["notdog", {
|
|
541
|
+
defaultShortPrefixId: "fans",
|
|
542
|
+
defaultStyleId: "solid",
|
|
543
|
+
styleIds: ["solid"],
|
|
544
|
+
futureStyleIds: [],
|
|
545
|
+
defaultFontWeight: 900
|
|
546
|
+
}], ["notdog-duo", {
|
|
547
|
+
defaultShortPrefixId: "fands",
|
|
548
|
+
defaultStyleId: "solid",
|
|
549
|
+
styleIds: ["solid"],
|
|
550
|
+
futureStyleIds: [],
|
|
551
|
+
defaultFontWeight: 900
|
|
552
|
+
}], ["slab", {
|
|
553
|
+
defaultShortPrefixId: "faslr",
|
|
554
|
+
defaultStyleId: "regular",
|
|
555
|
+
styleIds: ["regular"],
|
|
556
|
+
futureStyleIds: [],
|
|
557
|
+
defaultFontWeight: 400
|
|
558
|
+
}], ["slab-press", {
|
|
559
|
+
defaultShortPrefixId: "faslpr",
|
|
560
|
+
defaultStyleId: "regular",
|
|
561
|
+
styleIds: ["regular"],
|
|
562
|
+
futureStyleIds: [],
|
|
563
|
+
defaultFontWeight: 400
|
|
564
|
+
}], ["thumbprint", {
|
|
565
|
+
defaultShortPrefixId: "fatl",
|
|
566
|
+
defaultStyleId: "light",
|
|
567
|
+
styleIds: ["light"],
|
|
568
|
+
futureStyleIds: [],
|
|
569
|
+
defaultFontWeight: 300
|
|
570
|
+
}], ["utility", {
|
|
571
|
+
defaultShortPrefixId: "fausb",
|
|
572
|
+
defaultStyleId: "semibold",
|
|
573
|
+
styleIds: ["semibold"],
|
|
574
|
+
futureStyleIds: [],
|
|
575
|
+
defaultFontWeight: 600
|
|
576
|
+
}], ["utility-duo", {
|
|
577
|
+
defaultShortPrefixId: "faudsb",
|
|
578
|
+
defaultStyleId: "semibold",
|
|
579
|
+
styleIds: ["semibold"],
|
|
580
|
+
futureStyleIds: [],
|
|
581
|
+
defaultFontWeight: 600
|
|
582
|
+
}], ["utility-fill", {
|
|
583
|
+
defaultShortPrefixId: "faufsb",
|
|
584
|
+
defaultStyleId: "semibold",
|
|
585
|
+
styleIds: ["semibold"],
|
|
586
|
+
futureStyleIds: [],
|
|
587
|
+
defaultFontWeight: 600
|
|
588
|
+
}], ["whiteboard", {
|
|
589
|
+
defaultShortPrefixId: "fawsb",
|
|
590
|
+
defaultStyleId: "semibold",
|
|
591
|
+
styleIds: ["semibold"],
|
|
592
|
+
futureStyleIds: [],
|
|
593
|
+
defaultFontWeight: 600
|
|
594
|
+
}]]), Pr = {
|
|
595
|
+
chisel: {
|
|
596
|
+
regular: "facr"
|
|
597
|
+
},
|
|
598
|
+
classic: {
|
|
599
|
+
brands: "fab",
|
|
600
|
+
light: "fal",
|
|
601
|
+
regular: "far",
|
|
602
|
+
solid: "fas",
|
|
603
|
+
thin: "fat"
|
|
604
|
+
},
|
|
605
|
+
duotone: {
|
|
606
|
+
light: "fadl",
|
|
607
|
+
regular: "fadr",
|
|
608
|
+
solid: "fad",
|
|
609
|
+
thin: "fadt"
|
|
610
|
+
},
|
|
611
|
+
etch: {
|
|
612
|
+
solid: "faes"
|
|
613
|
+
},
|
|
614
|
+
graphite: {
|
|
615
|
+
thin: "fagt"
|
|
616
|
+
},
|
|
617
|
+
jelly: {
|
|
618
|
+
regular: "fajr"
|
|
619
|
+
},
|
|
620
|
+
"jelly-duo": {
|
|
621
|
+
regular: "fajdr"
|
|
622
|
+
},
|
|
623
|
+
"jelly-fill": {
|
|
624
|
+
regular: "fajfr"
|
|
625
|
+
},
|
|
626
|
+
notdog: {
|
|
627
|
+
solid: "fans"
|
|
628
|
+
},
|
|
629
|
+
"notdog-duo": {
|
|
630
|
+
solid: "fands"
|
|
631
|
+
},
|
|
632
|
+
sharp: {
|
|
633
|
+
light: "fasl",
|
|
634
|
+
regular: "fasr",
|
|
635
|
+
solid: "fass",
|
|
636
|
+
thin: "fast"
|
|
637
|
+
},
|
|
638
|
+
"sharp-duotone": {
|
|
639
|
+
light: "fasdl",
|
|
640
|
+
regular: "fasdr",
|
|
641
|
+
solid: "fasds",
|
|
642
|
+
thin: "fasdt"
|
|
643
|
+
},
|
|
644
|
+
slab: {
|
|
645
|
+
regular: "faslr"
|
|
646
|
+
},
|
|
647
|
+
"slab-press": {
|
|
648
|
+
regular: "faslpr"
|
|
649
|
+
},
|
|
650
|
+
thumbprint: {
|
|
651
|
+
light: "fatl"
|
|
652
|
+
},
|
|
653
|
+
utility: {
|
|
654
|
+
semibold: "fausb"
|
|
655
|
+
},
|
|
656
|
+
"utility-duo": {
|
|
657
|
+
semibold: "faudsb"
|
|
658
|
+
},
|
|
659
|
+
"utility-fill": {
|
|
660
|
+
semibold: "faufsb"
|
|
661
|
+
},
|
|
662
|
+
whiteboard: {
|
|
663
|
+
semibold: "fawsb"
|
|
664
|
+
}
|
|
665
|
+
}, La = ["fak", "fa-kit", "fakd", "fa-kit-duotone"], _t = {
|
|
666
|
+
kit: {
|
|
667
|
+
fak: "kit",
|
|
668
|
+
"fa-kit": "kit"
|
|
669
|
+
},
|
|
670
|
+
"kit-duotone": {
|
|
671
|
+
fakd: "kit-duotone",
|
|
672
|
+
"fa-kit-duotone": "kit-duotone"
|
|
673
|
+
}
|
|
674
|
+
}, Nr = ["kit"], Fr = "kit", Cr = "kit-duotone", _r = "Kit", Or = "Kit Duotone";
|
|
675
|
+
v(v({}, Fr, _r), Cr, Or);
|
|
676
|
+
var Lr = {
|
|
677
|
+
kit: {
|
|
678
|
+
"fa-kit": "fak"
|
|
679
|
+
}
|
|
680
|
+
}, Tr = {
|
|
681
|
+
"Font Awesome Kit": {
|
|
682
|
+
400: "fak",
|
|
683
|
+
normal: "fak"
|
|
684
|
+
},
|
|
685
|
+
"Font Awesome Kit Duotone": {
|
|
686
|
+
400: "fakd",
|
|
687
|
+
normal: "fakd"
|
|
688
|
+
}
|
|
689
|
+
}, Mr = {
|
|
690
|
+
kit: {
|
|
691
|
+
fak: "fa-kit"
|
|
692
|
+
}
|
|
693
|
+
}, Ot = {
|
|
694
|
+
kit: {
|
|
695
|
+
kit: "fak"
|
|
696
|
+
},
|
|
697
|
+
"kit-duotone": {
|
|
698
|
+
"kit-duotone": "fakd"
|
|
699
|
+
}
|
|
700
|
+
}, De, ye = {
|
|
701
|
+
GROUP: "duotone-group",
|
|
702
|
+
SWAP_OPACITY: "swap-opacity",
|
|
703
|
+
PRIMARY: "primary",
|
|
704
|
+
SECONDARY: "secondary"
|
|
705
|
+
}, jr = ["fa-classic", "fa-duotone", "fa-sharp", "fa-sharp-duotone", "fa-thumbprint", "fa-whiteboard", "fa-notdog", "fa-notdog-duo", "fa-chisel", "fa-etch", "fa-graphite", "fa-jelly", "fa-jelly-fill", "fa-jelly-duo", "fa-slab", "fa-slab-press", "fa-utility", "fa-utility-duo", "fa-utility-fill"], Dr = "classic", zr = "duotone", $r = "sharp", Rr = "sharp-duotone", Ur = "chisel", Wr = "etch", Br = "graphite", Yr = "jelly", Hr = "jelly-duo", Gr = "jelly-fill", Vr = "notdog", Xr = "notdog-duo", Kr = "slab", Jr = "slab-press", qr = "thumbprint", Qr = "utility", Zr = "utility-duo", ei = "utility-fill", ti = "whiteboard", ai = "Classic", ni = "Duotone", ri = "Sharp", ii = "Sharp Duotone", oi = "Chisel", si = "Etch", li = "Graphite", fi = "Jelly", ci = "Jelly Duo", ui = "Jelly Fill", di = "Notdog", mi = "Notdog Duo", pi = "Slab", hi = "Slab Press", vi = "Thumbprint", gi = "Utility", bi = "Utility Duo", yi = "Utility Fill", xi = "Whiteboard";
|
|
706
|
+
De = {}, v(v(v(v(v(v(v(v(v(v(De, Dr, ai), zr, ni), $r, ri), Rr, ii), Ur, oi), Wr, si), Br, li), Yr, fi), Hr, ci), Gr, ui), v(v(v(v(v(v(v(v(v(De, Vr, di), Xr, mi), Kr, pi), Jr, hi), qr, vi), Qr, gi), Zr, bi), ei, yi), ti, xi);
|
|
707
|
+
var Si = "kit", wi = "kit-duotone", Ai = "Kit", ki = "Kit Duotone";
|
|
708
|
+
v(v({}, Si, Ai), wi, ki);
|
|
709
|
+
var Ii = {
|
|
710
|
+
classic: {
|
|
711
|
+
"fa-brands": "fab",
|
|
712
|
+
"fa-duotone": "fad",
|
|
713
|
+
"fa-light": "fal",
|
|
714
|
+
"fa-regular": "far",
|
|
715
|
+
"fa-solid": "fas",
|
|
716
|
+
"fa-thin": "fat"
|
|
717
|
+
},
|
|
718
|
+
duotone: {
|
|
719
|
+
"fa-regular": "fadr",
|
|
720
|
+
"fa-light": "fadl",
|
|
721
|
+
"fa-thin": "fadt"
|
|
722
|
+
},
|
|
723
|
+
sharp: {
|
|
724
|
+
"fa-solid": "fass",
|
|
725
|
+
"fa-regular": "fasr",
|
|
726
|
+
"fa-light": "fasl",
|
|
727
|
+
"fa-thin": "fast"
|
|
728
|
+
},
|
|
729
|
+
"sharp-duotone": {
|
|
730
|
+
"fa-solid": "fasds",
|
|
731
|
+
"fa-regular": "fasdr",
|
|
732
|
+
"fa-light": "fasdl",
|
|
733
|
+
"fa-thin": "fasdt"
|
|
734
|
+
},
|
|
735
|
+
slab: {
|
|
736
|
+
"fa-regular": "faslr"
|
|
737
|
+
},
|
|
738
|
+
"slab-press": {
|
|
739
|
+
"fa-regular": "faslpr"
|
|
740
|
+
},
|
|
741
|
+
whiteboard: {
|
|
742
|
+
"fa-semibold": "fawsb"
|
|
743
|
+
},
|
|
744
|
+
thumbprint: {
|
|
745
|
+
"fa-light": "fatl"
|
|
746
|
+
},
|
|
747
|
+
notdog: {
|
|
748
|
+
"fa-solid": "fans"
|
|
749
|
+
},
|
|
750
|
+
"notdog-duo": {
|
|
751
|
+
"fa-solid": "fands"
|
|
752
|
+
},
|
|
753
|
+
etch: {
|
|
754
|
+
"fa-solid": "faes"
|
|
755
|
+
},
|
|
756
|
+
graphite: {
|
|
757
|
+
"fa-thin": "fagt"
|
|
758
|
+
},
|
|
759
|
+
jelly: {
|
|
760
|
+
"fa-regular": "fajr"
|
|
761
|
+
},
|
|
762
|
+
"jelly-fill": {
|
|
763
|
+
"fa-regular": "fajfr"
|
|
764
|
+
},
|
|
765
|
+
"jelly-duo": {
|
|
766
|
+
"fa-regular": "fajdr"
|
|
767
|
+
},
|
|
768
|
+
chisel: {
|
|
769
|
+
"fa-regular": "facr"
|
|
770
|
+
},
|
|
771
|
+
utility: {
|
|
772
|
+
"fa-semibold": "fausb"
|
|
773
|
+
},
|
|
774
|
+
"utility-duo": {
|
|
775
|
+
"fa-semibold": "faudsb"
|
|
776
|
+
},
|
|
777
|
+
"utility-fill": {
|
|
778
|
+
"fa-semibold": "faufsb"
|
|
779
|
+
}
|
|
780
|
+
}, Ei = {
|
|
781
|
+
classic: ["fas", "far", "fal", "fat", "fad"],
|
|
782
|
+
duotone: ["fadr", "fadl", "fadt"],
|
|
783
|
+
sharp: ["fass", "fasr", "fasl", "fast"],
|
|
784
|
+
"sharp-duotone": ["fasds", "fasdr", "fasdl", "fasdt"],
|
|
785
|
+
slab: ["faslr"],
|
|
786
|
+
"slab-press": ["faslpr"],
|
|
787
|
+
whiteboard: ["fawsb"],
|
|
788
|
+
thumbprint: ["fatl"],
|
|
789
|
+
notdog: ["fans"],
|
|
790
|
+
"notdog-duo": ["fands"],
|
|
791
|
+
etch: ["faes"],
|
|
792
|
+
graphite: ["fagt"],
|
|
793
|
+
jelly: ["fajr"],
|
|
794
|
+
"jelly-fill": ["fajfr"],
|
|
795
|
+
"jelly-duo": ["fajdr"],
|
|
796
|
+
chisel: ["facr"],
|
|
797
|
+
utility: ["fausb"],
|
|
798
|
+
"utility-duo": ["faudsb"],
|
|
799
|
+
"utility-fill": ["faufsb"]
|
|
800
|
+
}, Ye = {
|
|
801
|
+
classic: {
|
|
802
|
+
fab: "fa-brands",
|
|
803
|
+
fad: "fa-duotone",
|
|
804
|
+
fal: "fa-light",
|
|
805
|
+
far: "fa-regular",
|
|
806
|
+
fas: "fa-solid",
|
|
807
|
+
fat: "fa-thin"
|
|
808
|
+
},
|
|
809
|
+
duotone: {
|
|
810
|
+
fadr: "fa-regular",
|
|
811
|
+
fadl: "fa-light",
|
|
812
|
+
fadt: "fa-thin"
|
|
813
|
+
},
|
|
814
|
+
sharp: {
|
|
815
|
+
fass: "fa-solid",
|
|
816
|
+
fasr: "fa-regular",
|
|
817
|
+
fasl: "fa-light",
|
|
818
|
+
fast: "fa-thin"
|
|
819
|
+
},
|
|
820
|
+
"sharp-duotone": {
|
|
821
|
+
fasds: "fa-solid",
|
|
822
|
+
fasdr: "fa-regular",
|
|
823
|
+
fasdl: "fa-light",
|
|
824
|
+
fasdt: "fa-thin"
|
|
825
|
+
},
|
|
826
|
+
slab: {
|
|
827
|
+
faslr: "fa-regular"
|
|
828
|
+
},
|
|
829
|
+
"slab-press": {
|
|
830
|
+
faslpr: "fa-regular"
|
|
831
|
+
},
|
|
832
|
+
whiteboard: {
|
|
833
|
+
fawsb: "fa-semibold"
|
|
834
|
+
},
|
|
835
|
+
thumbprint: {
|
|
836
|
+
fatl: "fa-light"
|
|
837
|
+
},
|
|
838
|
+
notdog: {
|
|
839
|
+
fans: "fa-solid"
|
|
840
|
+
},
|
|
841
|
+
"notdog-duo": {
|
|
842
|
+
fands: "fa-solid"
|
|
843
|
+
},
|
|
844
|
+
etch: {
|
|
845
|
+
faes: "fa-solid"
|
|
846
|
+
},
|
|
847
|
+
graphite: {
|
|
848
|
+
fagt: "fa-thin"
|
|
849
|
+
},
|
|
850
|
+
jelly: {
|
|
851
|
+
fajr: "fa-regular"
|
|
852
|
+
},
|
|
853
|
+
"jelly-fill": {
|
|
854
|
+
fajfr: "fa-regular"
|
|
855
|
+
},
|
|
856
|
+
"jelly-duo": {
|
|
857
|
+
fajdr: "fa-regular"
|
|
858
|
+
},
|
|
859
|
+
chisel: {
|
|
860
|
+
facr: "fa-regular"
|
|
861
|
+
},
|
|
862
|
+
utility: {
|
|
863
|
+
fausb: "fa-semibold"
|
|
864
|
+
},
|
|
865
|
+
"utility-duo": {
|
|
866
|
+
faudsb: "fa-semibold"
|
|
867
|
+
},
|
|
868
|
+
"utility-fill": {
|
|
869
|
+
faufsb: "fa-semibold"
|
|
870
|
+
}
|
|
871
|
+
}, Pi = ["fa-solid", "fa-regular", "fa-light", "fa-thin", "fa-duotone", "fa-brands", "fa-semibold"], Ta = ["fa", "fas", "far", "fal", "fat", "fad", "fadr", "fadl", "fadt", "fab", "fass", "fasr", "fasl", "fast", "fasds", "fasdr", "fasdl", "fasdt", "faslr", "faslpr", "fawsb", "fatl", "fans", "fands", "faes", "fagt", "fajr", "fajfr", "fajdr", "facr", "fausb", "faudsb", "faufsb"].concat(jr, Pi), Ni = ["solid", "regular", "light", "thin", "duotone", "brands", "semibold"], Ma = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], Fi = Ma.concat([11, 12, 13, 14, 15, 16, 17, 18, 19, 20]), Ci = ["aw", "fw", "pull-left", "pull-right"], _i = [].concat(j(Object.keys(Ei)), Ni, Ci, ["2xs", "xs", "sm", "lg", "xl", "2xl", "beat", "border", "fade", "beat-fade", "bounce", "flip-both", "flip-horizontal", "flip-vertical", "flip", "inverse", "layers", "layers-bottom-left", "layers-bottom-right", "layers-counter", "layers-text", "layers-top-left", "layers-top-right", "li", "pull-end", "pull-start", "pulse", "rotate-180", "rotate-270", "rotate-90", "rotate-by", "shake", "spin-pulse", "spin-reverse", "spin", "stack-1x", "stack-2x", "stack", "ul", "width-auto", "width-fixed", ye.GROUP, ye.SWAP_OPACITY, ye.PRIMARY, ye.SECONDARY]).concat(Ma.map(function(e) {
|
|
872
|
+
return "".concat(e, "x");
|
|
873
|
+
})).concat(Fi.map(function(e) {
|
|
874
|
+
return "w-".concat(e);
|
|
875
|
+
})), Oi = {
|
|
876
|
+
"Font Awesome 5 Free": {
|
|
877
|
+
900: "fas",
|
|
878
|
+
400: "far"
|
|
879
|
+
},
|
|
880
|
+
"Font Awesome 5 Pro": {
|
|
881
|
+
900: "fas",
|
|
882
|
+
400: "far",
|
|
883
|
+
normal: "far",
|
|
884
|
+
300: "fal"
|
|
885
|
+
},
|
|
886
|
+
"Font Awesome 5 Brands": {
|
|
887
|
+
400: "fab",
|
|
888
|
+
normal: "fab"
|
|
889
|
+
},
|
|
890
|
+
"Font Awesome 5 Duotone": {
|
|
891
|
+
900: "fad"
|
|
892
|
+
}
|
|
893
|
+
}, U = "___FONT_AWESOME___", He = 16, ja = "fa", Da = "svg-inline--fa", K = "data-fa-i2svg", Ge = "data-fa-pseudo-element", Li = "data-fa-pseudo-element-pending", lt = "data-prefix", ft = "data-icon", Lt = "fontawesome-i2svg", Ti = "async", Mi = ["HTML", "HEAD", "STYLE", "SCRIPT"], za = ["::before", "::after", ":before", ":after"], $a = (function() {
|
|
894
|
+
try {
|
|
895
|
+
return process.env.NODE_ENV === "production";
|
|
896
|
+
} catch {
|
|
897
|
+
return !1;
|
|
898
|
+
}
|
|
899
|
+
})();
|
|
900
|
+
function pe(e) {
|
|
901
|
+
return new Proxy(e, {
|
|
902
|
+
get: function(a, n) {
|
|
903
|
+
return n in a ? a[n] : a[_];
|
|
904
|
+
}
|
|
905
|
+
});
|
|
906
|
+
}
|
|
907
|
+
var Ra = f({}, ma);
|
|
908
|
+
Ra[_] = f(f(f(f({}, {
|
|
909
|
+
"fa-duotone": "duotone"
|
|
910
|
+
}), ma[_]), _t.kit), _t["kit-duotone"]);
|
|
911
|
+
var ji = pe(Ra), Ve = f({}, Pr);
|
|
912
|
+
Ve[_] = f(f(f(f({}, {
|
|
913
|
+
duotone: "fad"
|
|
914
|
+
}), Ve[_]), Ot.kit), Ot["kit-duotone"]);
|
|
915
|
+
var Tt = pe(Ve), Xe = f({}, Ye);
|
|
916
|
+
Xe[_] = f(f({}, Xe[_]), Mr.kit);
|
|
917
|
+
var ct = pe(Xe), Ke = f({}, Ii);
|
|
918
|
+
Ke[_] = f(f({}, Ke[_]), Lr.kit);
|
|
919
|
+
pe(Ke);
|
|
920
|
+
var Di = ar, Ua = "fa-layers-text", zi = nr, $i = f({}, kr);
|
|
921
|
+
pe($i);
|
|
922
|
+
var Ri = ["class", "data-prefix", "data-icon", "data-fa-transform", "data-fa-mask"], ze = rr, Ui = [].concat(j(Nr), j(_i)), fe = Y.FontAwesomeConfig || {};
|
|
923
|
+
function Wi(e) {
|
|
924
|
+
var t = k.querySelector("script[" + e + "]");
|
|
925
|
+
if (t)
|
|
926
|
+
return t.getAttribute(e);
|
|
927
|
+
}
|
|
928
|
+
function Bi(e) {
|
|
929
|
+
return e === "" ? !0 : e === "false" ? !1 : e === "true" ? !0 : e;
|
|
930
|
+
}
|
|
931
|
+
if (k && typeof k.querySelector == "function") {
|
|
932
|
+
var Yi = [["data-family-prefix", "familyPrefix"], ["data-css-prefix", "cssPrefix"], ["data-family-default", "familyDefault"], ["data-style-default", "styleDefault"], ["data-replacement-class", "replacementClass"], ["data-auto-replace-svg", "autoReplaceSvg"], ["data-auto-add-css", "autoAddCss"], ["data-search-pseudo-elements", "searchPseudoElements"], ["data-search-pseudo-elements-warnings", "searchPseudoElementsWarnings"], ["data-search-pseudo-elements-full-scan", "searchPseudoElementsFullScan"], ["data-observe-mutations", "observeMutations"], ["data-mutate-approach", "mutateApproach"], ["data-keep-original-source", "keepOriginalSource"], ["data-measure-performance", "measurePerformance"], ["data-show-missing-icons", "showMissingIcons"]];
|
|
933
|
+
Yi.forEach(function(e) {
|
|
934
|
+
var t = Pe(e, 2), a = t[0], n = t[1], r = Bi(Wi(a));
|
|
935
|
+
r != null && (fe[n] = r);
|
|
936
|
+
});
|
|
937
|
+
}
|
|
938
|
+
var Wa = {
|
|
939
|
+
styleDefault: "solid",
|
|
940
|
+
familyDefault: _,
|
|
941
|
+
cssPrefix: ja,
|
|
942
|
+
replacementClass: Da,
|
|
943
|
+
autoReplaceSvg: !0,
|
|
944
|
+
autoAddCss: !0,
|
|
945
|
+
searchPseudoElements: !1,
|
|
946
|
+
searchPseudoElementsWarnings: !0,
|
|
947
|
+
searchPseudoElementsFullScan: !1,
|
|
948
|
+
observeMutations: !0,
|
|
949
|
+
mutateApproach: "async",
|
|
950
|
+
keepOriginalSource: !0,
|
|
951
|
+
measurePerformance: !1,
|
|
952
|
+
showMissingIcons: !0
|
|
953
|
+
};
|
|
954
|
+
fe.familyPrefix && (fe.cssPrefix = fe.familyPrefix);
|
|
955
|
+
var ne = f(f({}, Wa), fe);
|
|
956
|
+
ne.autoReplaceSvg || (ne.observeMutations = !1);
|
|
957
|
+
var m = {};
|
|
958
|
+
Object.keys(Wa).forEach(function(e) {
|
|
959
|
+
Object.defineProperty(m, e, {
|
|
960
|
+
enumerable: !0,
|
|
961
|
+
set: function(a) {
|
|
962
|
+
ne[e] = a, ce.forEach(function(n) {
|
|
963
|
+
return n(m);
|
|
964
|
+
});
|
|
965
|
+
},
|
|
966
|
+
get: function() {
|
|
967
|
+
return ne[e];
|
|
968
|
+
}
|
|
969
|
+
});
|
|
970
|
+
});
|
|
971
|
+
Object.defineProperty(m, "familyPrefix", {
|
|
972
|
+
enumerable: !0,
|
|
973
|
+
set: function(t) {
|
|
974
|
+
ne.cssPrefix = t, ce.forEach(function(a) {
|
|
975
|
+
return a(m);
|
|
976
|
+
});
|
|
977
|
+
},
|
|
978
|
+
get: function() {
|
|
979
|
+
return ne.cssPrefix;
|
|
980
|
+
}
|
|
981
|
+
});
|
|
982
|
+
Y.FontAwesomeConfig = m;
|
|
983
|
+
var ce = [];
|
|
984
|
+
function Hi(e) {
|
|
985
|
+
return ce.push(e), function() {
|
|
986
|
+
ce.splice(ce.indexOf(e), 1);
|
|
987
|
+
};
|
|
988
|
+
}
|
|
989
|
+
var Z = He, D = {
|
|
990
|
+
size: 16,
|
|
991
|
+
x: 0,
|
|
992
|
+
y: 0,
|
|
993
|
+
rotate: 0,
|
|
994
|
+
flipX: !1,
|
|
995
|
+
flipY: !1
|
|
996
|
+
};
|
|
997
|
+
function Gi(e) {
|
|
998
|
+
if (!(!e || !B)) {
|
|
999
|
+
var t = k.createElement("style");
|
|
1000
|
+
t.setAttribute("type", "text/css"), t.innerHTML = e;
|
|
1001
|
+
for (var a = k.head.childNodes, n = null, r = a.length - 1; r > -1; r--) {
|
|
1002
|
+
var i = a[r], o = (i.tagName || "").toUpperCase();
|
|
1003
|
+
["STYLE", "LINK"].indexOf(o) > -1 && (n = i);
|
|
1004
|
+
}
|
|
1005
|
+
return k.head.insertBefore(t, n), e;
|
|
1006
|
+
}
|
|
1007
|
+
}
|
|
1008
|
+
var Vi = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";
|
|
1009
|
+
function Mt() {
|
|
1010
|
+
for (var e = 12, t = ""; e-- > 0; )
|
|
1011
|
+
t += Vi[Math.random() * 62 | 0];
|
|
1012
|
+
return t;
|
|
1013
|
+
}
|
|
1014
|
+
function ie(e) {
|
|
1015
|
+
for (var t = [], a = (e || []).length >>> 0; a--; )
|
|
1016
|
+
t[a] = e[a];
|
|
1017
|
+
return t;
|
|
1018
|
+
}
|
|
1019
|
+
function ut(e) {
|
|
1020
|
+
return e.classList ? ie(e.classList) : (e.getAttribute("class") || "").split(" ").filter(function(t) {
|
|
1021
|
+
return t;
|
|
1022
|
+
});
|
|
1023
|
+
}
|
|
1024
|
+
function Ba(e) {
|
|
1025
|
+
return "".concat(e).replace(/&/g, "&").replace(/"/g, """).replace(/'/g, "'").replace(/</g, "<").replace(/>/g, ">");
|
|
1026
|
+
}
|
|
1027
|
+
function Xi(e) {
|
|
1028
|
+
return Object.keys(e || {}).reduce(function(t, a) {
|
|
1029
|
+
return t + "".concat(a, '="').concat(Ba(e[a]), '" ');
|
|
1030
|
+
}, "").trim();
|
|
1031
|
+
}
|
|
1032
|
+
function Ne(e) {
|
|
1033
|
+
return Object.keys(e || {}).reduce(function(t, a) {
|
|
1034
|
+
return t + "".concat(a, ": ").concat(e[a].trim(), ";");
|
|
1035
|
+
}, "");
|
|
1036
|
+
}
|
|
1037
|
+
function dt(e) {
|
|
1038
|
+
return e.size !== D.size || e.x !== D.x || e.y !== D.y || e.rotate !== D.rotate || e.flipX || e.flipY;
|
|
1039
|
+
}
|
|
1040
|
+
function Ki(e) {
|
|
1041
|
+
var t = e.transform, a = e.containerWidth, n = e.iconWidth, r = {
|
|
1042
|
+
transform: "translate(".concat(a / 2, " 256)")
|
|
1043
|
+
}, i = "translate(".concat(t.x * 32, ", ").concat(t.y * 32, ") "), o = "scale(".concat(t.size / 16 * (t.flipX ? -1 : 1), ", ").concat(t.size / 16 * (t.flipY ? -1 : 1), ") "), s = "rotate(".concat(t.rotate, " 0 0)"), l = {
|
|
1044
|
+
transform: "".concat(i, " ").concat(o, " ").concat(s)
|
|
1045
|
+
}, c = {
|
|
1046
|
+
transform: "translate(".concat(n / 2 * -1, " -256)")
|
|
1047
|
+
};
|
|
1048
|
+
return {
|
|
1049
|
+
outer: r,
|
|
1050
|
+
inner: l,
|
|
1051
|
+
path: c
|
|
1052
|
+
};
|
|
1053
|
+
}
|
|
1054
|
+
function Ji(e) {
|
|
1055
|
+
var t = e.transform, a = e.width, n = a === void 0 ? He : a, r = e.height, i = r === void 0 ? He : r, o = "";
|
|
1056
|
+
return da ? o += "translate(".concat(t.x / Z - n / 2, "em, ").concat(t.y / Z - i / 2, "em) ") : o += "translate(calc(-50% + ".concat(t.x / Z, "em), calc(-50% + ").concat(t.y / Z, "em)) "), o += "scale(".concat(t.size / Z * (t.flipX ? -1 : 1), ", ").concat(t.size / Z * (t.flipY ? -1 : 1), ") "), o += "rotate(".concat(t.rotate, "deg) "), o;
|
|
1057
|
+
}
|
|
1058
|
+
var qi = `:root, :host {
|
|
1059
|
+
--fa-font-solid: normal 900 1em/1 'Font Awesome 7 Free';
|
|
1060
|
+
--fa-font-regular: normal 400 1em/1 'Font Awesome 7 Free';
|
|
1061
|
+
--fa-font-light: normal 300 1em/1 'Font Awesome 7 Pro';
|
|
1062
|
+
--fa-font-thin: normal 100 1em/1 'Font Awesome 7 Pro';
|
|
1063
|
+
--fa-font-duotone: normal 900 1em/1 'Font Awesome 7 Duotone';
|
|
1064
|
+
--fa-font-duotone-regular: normal 400 1em/1 'Font Awesome 7 Duotone';
|
|
1065
|
+
--fa-font-duotone-light: normal 300 1em/1 'Font Awesome 7 Duotone';
|
|
1066
|
+
--fa-font-duotone-thin: normal 100 1em/1 'Font Awesome 7 Duotone';
|
|
1067
|
+
--fa-font-brands: normal 400 1em/1 'Font Awesome 7 Brands';
|
|
1068
|
+
--fa-font-sharp-solid: normal 900 1em/1 'Font Awesome 7 Sharp';
|
|
1069
|
+
--fa-font-sharp-regular: normal 400 1em/1 'Font Awesome 7 Sharp';
|
|
1070
|
+
--fa-font-sharp-light: normal 300 1em/1 'Font Awesome 7 Sharp';
|
|
1071
|
+
--fa-font-sharp-thin: normal 100 1em/1 'Font Awesome 7 Sharp';
|
|
1072
|
+
--fa-font-sharp-duotone-solid: normal 900 1em/1 'Font Awesome 7 Sharp Duotone';
|
|
1073
|
+
--fa-font-sharp-duotone-regular: normal 400 1em/1 'Font Awesome 7 Sharp Duotone';
|
|
1074
|
+
--fa-font-sharp-duotone-light: normal 300 1em/1 'Font Awesome 7 Sharp Duotone';
|
|
1075
|
+
--fa-font-sharp-duotone-thin: normal 100 1em/1 'Font Awesome 7 Sharp Duotone';
|
|
1076
|
+
--fa-font-slab-regular: normal 400 1em/1 'Font Awesome 7 Slab';
|
|
1077
|
+
--fa-font-slab-press-regular: normal 400 1em/1 'Font Awesome 7 Slab Press';
|
|
1078
|
+
--fa-font-whiteboard-semibold: normal 600 1em/1 'Font Awesome 7 Whiteboard';
|
|
1079
|
+
--fa-font-thumbprint-light: normal 300 1em/1 'Font Awesome 7 Thumbprint';
|
|
1080
|
+
--fa-font-notdog-solid: normal 900 1em/1 'Font Awesome 7 Notdog';
|
|
1081
|
+
--fa-font-notdog-duo-solid: normal 900 1em/1 'Font Awesome 7 Notdog Duo';
|
|
1082
|
+
--fa-font-etch-solid: normal 900 1em/1 'Font Awesome 7 Etch';
|
|
1083
|
+
--fa-font-graphite-thin: normal 100 1em/1 'Font Awesome 7 Graphite';
|
|
1084
|
+
--fa-font-jelly-regular: normal 400 1em/1 'Font Awesome 7 Jelly';
|
|
1085
|
+
--fa-font-jelly-fill-regular: normal 400 1em/1 'Font Awesome 7 Jelly Fill';
|
|
1086
|
+
--fa-font-jelly-duo-regular: normal 400 1em/1 'Font Awesome 7 Jelly Duo';
|
|
1087
|
+
--fa-font-chisel-regular: normal 400 1em/1 'Font Awesome 7 Chisel';
|
|
1088
|
+
--fa-font-utility-semibold: normal 600 1em/1 'Font Awesome 7 Utility';
|
|
1089
|
+
--fa-font-utility-duo-semibold: normal 600 1em/1 'Font Awesome 7 Utility Duo';
|
|
1090
|
+
--fa-font-utility-fill-semibold: normal 600 1em/1 'Font Awesome 7 Utility Fill';
|
|
1091
|
+
}
|
|
1092
|
+
|
|
1093
|
+
.svg-inline--fa {
|
|
1094
|
+
box-sizing: content-box;
|
|
1095
|
+
display: var(--fa-display, inline-block);
|
|
1096
|
+
height: 1em;
|
|
1097
|
+
overflow: visible;
|
|
1098
|
+
vertical-align: -0.125em;
|
|
1099
|
+
width: var(--fa-width, 1.25em);
|
|
1100
|
+
}
|
|
1101
|
+
.svg-inline--fa.fa-2xs {
|
|
1102
|
+
vertical-align: 0.1em;
|
|
1103
|
+
}
|
|
1104
|
+
.svg-inline--fa.fa-xs {
|
|
1105
|
+
vertical-align: 0em;
|
|
1106
|
+
}
|
|
1107
|
+
.svg-inline--fa.fa-sm {
|
|
1108
|
+
vertical-align: -0.0714285714em;
|
|
1109
|
+
}
|
|
1110
|
+
.svg-inline--fa.fa-lg {
|
|
1111
|
+
vertical-align: -0.2em;
|
|
1112
|
+
}
|
|
1113
|
+
.svg-inline--fa.fa-xl {
|
|
1114
|
+
vertical-align: -0.25em;
|
|
1115
|
+
}
|
|
1116
|
+
.svg-inline--fa.fa-2xl {
|
|
1117
|
+
vertical-align: -0.3125em;
|
|
1118
|
+
}
|
|
1119
|
+
.svg-inline--fa.fa-pull-left,
|
|
1120
|
+
.svg-inline--fa .fa-pull-start {
|
|
1121
|
+
float: inline-start;
|
|
1122
|
+
margin-inline-end: var(--fa-pull-margin, 0.3em);
|
|
1123
|
+
}
|
|
1124
|
+
.svg-inline--fa.fa-pull-right,
|
|
1125
|
+
.svg-inline--fa .fa-pull-end {
|
|
1126
|
+
float: inline-end;
|
|
1127
|
+
margin-inline-start: var(--fa-pull-margin, 0.3em);
|
|
1128
|
+
}
|
|
1129
|
+
.svg-inline--fa.fa-li {
|
|
1130
|
+
width: var(--fa-li-width, 2em);
|
|
1131
|
+
inset-inline-start: calc(-1 * var(--fa-li-width, 2em));
|
|
1132
|
+
inset-block-start: 0.25em; /* syncing vertical alignment with Web Font rendering */
|
|
1133
|
+
}
|
|
1134
|
+
|
|
1135
|
+
.fa-layers-counter, .fa-layers-text {
|
|
1136
|
+
display: inline-block;
|
|
1137
|
+
position: absolute;
|
|
1138
|
+
text-align: center;
|
|
1139
|
+
}
|
|
1140
|
+
|
|
1141
|
+
.fa-layers {
|
|
1142
|
+
display: inline-block;
|
|
1143
|
+
height: 1em;
|
|
1144
|
+
position: relative;
|
|
1145
|
+
text-align: center;
|
|
1146
|
+
vertical-align: -0.125em;
|
|
1147
|
+
width: var(--fa-width, 1.25em);
|
|
1148
|
+
}
|
|
1149
|
+
.fa-layers .svg-inline--fa {
|
|
1150
|
+
inset: 0;
|
|
1151
|
+
margin: auto;
|
|
1152
|
+
position: absolute;
|
|
1153
|
+
transform-origin: center center;
|
|
1154
|
+
}
|
|
1155
|
+
|
|
1156
|
+
.fa-layers-text {
|
|
1157
|
+
left: 50%;
|
|
1158
|
+
top: 50%;
|
|
1159
|
+
transform: translate(-50%, -50%);
|
|
1160
|
+
transform-origin: center center;
|
|
1161
|
+
}
|
|
1162
|
+
|
|
1163
|
+
.fa-layers-counter {
|
|
1164
|
+
background-color: var(--fa-counter-background-color, #ff253a);
|
|
1165
|
+
border-radius: var(--fa-counter-border-radius, 1em);
|
|
1166
|
+
box-sizing: border-box;
|
|
1167
|
+
color: var(--fa-inverse, #fff);
|
|
1168
|
+
line-height: var(--fa-counter-line-height, 1);
|
|
1169
|
+
max-width: var(--fa-counter-max-width, 5em);
|
|
1170
|
+
min-width: var(--fa-counter-min-width, 1.5em);
|
|
1171
|
+
overflow: hidden;
|
|
1172
|
+
padding: var(--fa-counter-padding, 0.25em 0.5em);
|
|
1173
|
+
right: var(--fa-right, 0);
|
|
1174
|
+
text-overflow: ellipsis;
|
|
1175
|
+
top: var(--fa-top, 0);
|
|
1176
|
+
transform: scale(var(--fa-counter-scale, 0.25));
|
|
1177
|
+
transform-origin: top right;
|
|
1178
|
+
}
|
|
1179
|
+
|
|
1180
|
+
.fa-layers-bottom-right {
|
|
1181
|
+
bottom: var(--fa-bottom, 0);
|
|
1182
|
+
right: var(--fa-right, 0);
|
|
1183
|
+
top: auto;
|
|
1184
|
+
transform: scale(var(--fa-layers-scale, 0.25));
|
|
1185
|
+
transform-origin: bottom right;
|
|
1186
|
+
}
|
|
1187
|
+
|
|
1188
|
+
.fa-layers-bottom-left {
|
|
1189
|
+
bottom: var(--fa-bottom, 0);
|
|
1190
|
+
left: var(--fa-left, 0);
|
|
1191
|
+
right: auto;
|
|
1192
|
+
top: auto;
|
|
1193
|
+
transform: scale(var(--fa-layers-scale, 0.25));
|
|
1194
|
+
transform-origin: bottom left;
|
|
1195
|
+
}
|
|
1196
|
+
|
|
1197
|
+
.fa-layers-top-right {
|
|
1198
|
+
top: var(--fa-top, 0);
|
|
1199
|
+
right: var(--fa-right, 0);
|
|
1200
|
+
transform: scale(var(--fa-layers-scale, 0.25));
|
|
1201
|
+
transform-origin: top right;
|
|
1202
|
+
}
|
|
1203
|
+
|
|
1204
|
+
.fa-layers-top-left {
|
|
1205
|
+
left: var(--fa-left, 0);
|
|
1206
|
+
right: auto;
|
|
1207
|
+
top: var(--fa-top, 0);
|
|
1208
|
+
transform: scale(var(--fa-layers-scale, 0.25));
|
|
1209
|
+
transform-origin: top left;
|
|
1210
|
+
}
|
|
1211
|
+
|
|
1212
|
+
.fa-1x {
|
|
1213
|
+
font-size: 1em;
|
|
1214
|
+
}
|
|
1215
|
+
|
|
1216
|
+
.fa-2x {
|
|
1217
|
+
font-size: 2em;
|
|
1218
|
+
}
|
|
1219
|
+
|
|
1220
|
+
.fa-3x {
|
|
1221
|
+
font-size: 3em;
|
|
1222
|
+
}
|
|
1223
|
+
|
|
1224
|
+
.fa-4x {
|
|
1225
|
+
font-size: 4em;
|
|
1226
|
+
}
|
|
1227
|
+
|
|
1228
|
+
.fa-5x {
|
|
1229
|
+
font-size: 5em;
|
|
1230
|
+
}
|
|
1231
|
+
|
|
1232
|
+
.fa-6x {
|
|
1233
|
+
font-size: 6em;
|
|
1234
|
+
}
|
|
1235
|
+
|
|
1236
|
+
.fa-7x {
|
|
1237
|
+
font-size: 7em;
|
|
1238
|
+
}
|
|
1239
|
+
|
|
1240
|
+
.fa-8x {
|
|
1241
|
+
font-size: 8em;
|
|
1242
|
+
}
|
|
1243
|
+
|
|
1244
|
+
.fa-9x {
|
|
1245
|
+
font-size: 9em;
|
|
1246
|
+
}
|
|
1247
|
+
|
|
1248
|
+
.fa-10x {
|
|
1249
|
+
font-size: 10em;
|
|
1250
|
+
}
|
|
1251
|
+
|
|
1252
|
+
.fa-2xs {
|
|
1253
|
+
font-size: calc(10 / 16 * 1em); /* converts a 10px size into an em-based value that's relative to the scale's 16px base */
|
|
1254
|
+
line-height: calc(1 / 10 * 1em); /* sets the line-height of the icon back to that of it's parent */
|
|
1255
|
+
vertical-align: calc((6 / 10 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text's descender */
|
|
1256
|
+
}
|
|
1257
|
+
|
|
1258
|
+
.fa-xs {
|
|
1259
|
+
font-size: calc(12 / 16 * 1em); /* converts a 12px size into an em-based value that's relative to the scale's 16px base */
|
|
1260
|
+
line-height: calc(1 / 12 * 1em); /* sets the line-height of the icon back to that of it's parent */
|
|
1261
|
+
vertical-align: calc((6 / 12 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text's descender */
|
|
1262
|
+
}
|
|
1263
|
+
|
|
1264
|
+
.fa-sm {
|
|
1265
|
+
font-size: calc(14 / 16 * 1em); /* converts a 14px size into an em-based value that's relative to the scale's 16px base */
|
|
1266
|
+
line-height: calc(1 / 14 * 1em); /* sets the line-height of the icon back to that of it's parent */
|
|
1267
|
+
vertical-align: calc((6 / 14 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text's descender */
|
|
1268
|
+
}
|
|
1269
|
+
|
|
1270
|
+
.fa-lg {
|
|
1271
|
+
font-size: calc(20 / 16 * 1em); /* converts a 20px size into an em-based value that's relative to the scale's 16px base */
|
|
1272
|
+
line-height: calc(1 / 20 * 1em); /* sets the line-height of the icon back to that of it's parent */
|
|
1273
|
+
vertical-align: calc((6 / 20 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text's descender */
|
|
1274
|
+
}
|
|
1275
|
+
|
|
1276
|
+
.fa-xl {
|
|
1277
|
+
font-size: calc(24 / 16 * 1em); /* converts a 24px size into an em-based value that's relative to the scale's 16px base */
|
|
1278
|
+
line-height: calc(1 / 24 * 1em); /* sets the line-height of the icon back to that of it's parent */
|
|
1279
|
+
vertical-align: calc((6 / 24 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text's descender */
|
|
1280
|
+
}
|
|
1281
|
+
|
|
1282
|
+
.fa-2xl {
|
|
1283
|
+
font-size: calc(32 / 16 * 1em); /* converts a 32px size into an em-based value that's relative to the scale's 16px base */
|
|
1284
|
+
line-height: calc(1 / 32 * 1em); /* sets the line-height of the icon back to that of it's parent */
|
|
1285
|
+
vertical-align: calc((6 / 32 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text's descender */
|
|
1286
|
+
}
|
|
1287
|
+
|
|
1288
|
+
.fa-width-auto {
|
|
1289
|
+
--fa-width: auto;
|
|
1290
|
+
}
|
|
1291
|
+
|
|
1292
|
+
.fa-fw,
|
|
1293
|
+
.fa-width-fixed {
|
|
1294
|
+
--fa-width: 1.25em;
|
|
1295
|
+
}
|
|
1296
|
+
|
|
1297
|
+
.fa-ul {
|
|
1298
|
+
list-style-type: none;
|
|
1299
|
+
margin-inline-start: var(--fa-li-margin, 2.5em);
|
|
1300
|
+
padding-inline-start: 0;
|
|
1301
|
+
}
|
|
1302
|
+
.fa-ul > li {
|
|
1303
|
+
position: relative;
|
|
1304
|
+
}
|
|
1305
|
+
|
|
1306
|
+
.fa-li {
|
|
1307
|
+
inset-inline-start: calc(-1 * var(--fa-li-width, 2em));
|
|
1308
|
+
position: absolute;
|
|
1309
|
+
text-align: center;
|
|
1310
|
+
width: var(--fa-li-width, 2em);
|
|
1311
|
+
line-height: inherit;
|
|
1312
|
+
}
|
|
1313
|
+
|
|
1314
|
+
/* Heads Up: Bordered Icons will not be supported in the future!
|
|
1315
|
+
- This feature will be deprecated in the next major release of Font Awesome (v8)!
|
|
1316
|
+
- You may continue to use it in this version *v7), but it will not be supported in Font Awesome v8.
|
|
1317
|
+
*/
|
|
1318
|
+
/* Notes:
|
|
1319
|
+
* --@{v.$css-prefix}-border-width = 1/16 by default (to render as ~1px based on a 16px default font-size)
|
|
1320
|
+
* --@{v.$css-prefix}-border-padding =
|
|
1321
|
+
** 3/16 for vertical padding (to give ~2px of vertical whitespace around an icon considering it's vertical alignment)
|
|
1322
|
+
** 4/16 for horizontal padding (to give ~4px of horizontal whitespace around an icon)
|
|
1323
|
+
*/
|
|
1324
|
+
.fa-border {
|
|
1325
|
+
border-color: var(--fa-border-color, #eee);
|
|
1326
|
+
border-radius: var(--fa-border-radius, 0.1em);
|
|
1327
|
+
border-style: var(--fa-border-style, solid);
|
|
1328
|
+
border-width: var(--fa-border-width, 0.0625em);
|
|
1329
|
+
box-sizing: var(--fa-border-box-sizing, content-box);
|
|
1330
|
+
padding: var(--fa-border-padding, 0.1875em 0.25em);
|
|
1331
|
+
}
|
|
1332
|
+
|
|
1333
|
+
.fa-pull-left,
|
|
1334
|
+
.fa-pull-start {
|
|
1335
|
+
float: inline-start;
|
|
1336
|
+
margin-inline-end: var(--fa-pull-margin, 0.3em);
|
|
1337
|
+
}
|
|
1338
|
+
|
|
1339
|
+
.fa-pull-right,
|
|
1340
|
+
.fa-pull-end {
|
|
1341
|
+
float: inline-end;
|
|
1342
|
+
margin-inline-start: var(--fa-pull-margin, 0.3em);
|
|
1343
|
+
}
|
|
1344
|
+
|
|
1345
|
+
.fa-beat {
|
|
1346
|
+
animation-name: fa-beat;
|
|
1347
|
+
animation-delay: var(--fa-animation-delay, 0s);
|
|
1348
|
+
animation-direction: var(--fa-animation-direction, normal);
|
|
1349
|
+
animation-duration: var(--fa-animation-duration, 1s);
|
|
1350
|
+
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|
1351
|
+
animation-timing-function: var(--fa-animation-timing, ease-in-out);
|
|
1352
|
+
}
|
|
1353
|
+
|
|
1354
|
+
.fa-bounce {
|
|
1355
|
+
animation-name: fa-bounce;
|
|
1356
|
+
animation-delay: var(--fa-animation-delay, 0s);
|
|
1357
|
+
animation-direction: var(--fa-animation-direction, normal);
|
|
1358
|
+
animation-duration: var(--fa-animation-duration, 1s);
|
|
1359
|
+
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|
1360
|
+
animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));
|
|
1361
|
+
}
|
|
1362
|
+
|
|
1363
|
+
.fa-fade {
|
|
1364
|
+
animation-name: fa-fade;
|
|
1365
|
+
animation-delay: var(--fa-animation-delay, 0s);
|
|
1366
|
+
animation-direction: var(--fa-animation-direction, normal);
|
|
1367
|
+
animation-duration: var(--fa-animation-duration, 1s);
|
|
1368
|
+
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|
1369
|
+
animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));
|
|
1370
|
+
}
|
|
1371
|
+
|
|
1372
|
+
.fa-beat-fade {
|
|
1373
|
+
animation-name: fa-beat-fade;
|
|
1374
|
+
animation-delay: var(--fa-animation-delay, 0s);
|
|
1375
|
+
animation-direction: var(--fa-animation-direction, normal);
|
|
1376
|
+
animation-duration: var(--fa-animation-duration, 1s);
|
|
1377
|
+
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|
1378
|
+
animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));
|
|
1379
|
+
}
|
|
1380
|
+
|
|
1381
|
+
.fa-flip {
|
|
1382
|
+
animation-name: fa-flip;
|
|
1383
|
+
animation-delay: var(--fa-animation-delay, 0s);
|
|
1384
|
+
animation-direction: var(--fa-animation-direction, normal);
|
|
1385
|
+
animation-duration: var(--fa-animation-duration, 1s);
|
|
1386
|
+
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|
1387
|
+
animation-timing-function: var(--fa-animation-timing, ease-in-out);
|
|
1388
|
+
}
|
|
1389
|
+
|
|
1390
|
+
.fa-shake {
|
|
1391
|
+
animation-name: fa-shake;
|
|
1392
|
+
animation-delay: var(--fa-animation-delay, 0s);
|
|
1393
|
+
animation-direction: var(--fa-animation-direction, normal);
|
|
1394
|
+
animation-duration: var(--fa-animation-duration, 1s);
|
|
1395
|
+
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|
1396
|
+
animation-timing-function: var(--fa-animation-timing, linear);
|
|
1397
|
+
}
|
|
1398
|
+
|
|
1399
|
+
.fa-spin {
|
|
1400
|
+
animation-name: fa-spin;
|
|
1401
|
+
animation-delay: var(--fa-animation-delay, 0s);
|
|
1402
|
+
animation-direction: var(--fa-animation-direction, normal);
|
|
1403
|
+
animation-duration: var(--fa-animation-duration, 2s);
|
|
1404
|
+
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|
1405
|
+
animation-timing-function: var(--fa-animation-timing, linear);
|
|
1406
|
+
}
|
|
1407
|
+
|
|
1408
|
+
.fa-spin-reverse {
|
|
1409
|
+
--fa-animation-direction: reverse;
|
|
1410
|
+
}
|
|
1411
|
+
|
|
1412
|
+
.fa-pulse,
|
|
1413
|
+
.fa-spin-pulse {
|
|
1414
|
+
animation-name: fa-spin;
|
|
1415
|
+
animation-direction: var(--fa-animation-direction, normal);
|
|
1416
|
+
animation-duration: var(--fa-animation-duration, 1s);
|
|
1417
|
+
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|
1418
|
+
animation-timing-function: var(--fa-animation-timing, steps(8));
|
|
1419
|
+
}
|
|
1420
|
+
|
|
1421
|
+
@media (prefers-reduced-motion: reduce) {
|
|
1422
|
+
.fa-beat,
|
|
1423
|
+
.fa-bounce,
|
|
1424
|
+
.fa-fade,
|
|
1425
|
+
.fa-beat-fade,
|
|
1426
|
+
.fa-flip,
|
|
1427
|
+
.fa-pulse,
|
|
1428
|
+
.fa-shake,
|
|
1429
|
+
.fa-spin,
|
|
1430
|
+
.fa-spin-pulse {
|
|
1431
|
+
animation: none !important;
|
|
1432
|
+
transition: none !important;
|
|
1433
|
+
}
|
|
1434
|
+
}
|
|
1435
|
+
@keyframes fa-beat {
|
|
1436
|
+
0%, 90% {
|
|
1437
|
+
transform: scale(1);
|
|
1438
|
+
}
|
|
1439
|
+
45% {
|
|
1440
|
+
transform: scale(var(--fa-beat-scale, 1.25));
|
|
1441
|
+
}
|
|
1442
|
+
}
|
|
1443
|
+
@keyframes fa-bounce {
|
|
1444
|
+
0% {
|
|
1445
|
+
transform: scale(1, 1) translateY(0);
|
|
1446
|
+
}
|
|
1447
|
+
10% {
|
|
1448
|
+
transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);
|
|
1449
|
+
}
|
|
1450
|
+
30% {
|
|
1451
|
+
transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));
|
|
1452
|
+
}
|
|
1453
|
+
50% {
|
|
1454
|
+
transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);
|
|
1455
|
+
}
|
|
1456
|
+
57% {
|
|
1457
|
+
transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));
|
|
1458
|
+
}
|
|
1459
|
+
64% {
|
|
1460
|
+
transform: scale(1, 1) translateY(0);
|
|
1461
|
+
}
|
|
1462
|
+
100% {
|
|
1463
|
+
transform: scale(1, 1) translateY(0);
|
|
1464
|
+
}
|
|
1465
|
+
}
|
|
1466
|
+
@keyframes fa-fade {
|
|
1467
|
+
50% {
|
|
1468
|
+
opacity: var(--fa-fade-opacity, 0.4);
|
|
1469
|
+
}
|
|
1470
|
+
}
|
|
1471
|
+
@keyframes fa-beat-fade {
|
|
1472
|
+
0%, 100% {
|
|
1473
|
+
opacity: var(--fa-beat-fade-opacity, 0.4);
|
|
1474
|
+
transform: scale(1);
|
|
1475
|
+
}
|
|
1476
|
+
50% {
|
|
1477
|
+
opacity: 1;
|
|
1478
|
+
transform: scale(var(--fa-beat-fade-scale, 1.125));
|
|
1479
|
+
}
|
|
1480
|
+
}
|
|
1481
|
+
@keyframes fa-flip {
|
|
1482
|
+
50% {
|
|
1483
|
+
transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));
|
|
1484
|
+
}
|
|
1485
|
+
}
|
|
1486
|
+
@keyframes fa-shake {
|
|
1487
|
+
0% {
|
|
1488
|
+
transform: rotate(-15deg);
|
|
1489
|
+
}
|
|
1490
|
+
4% {
|
|
1491
|
+
transform: rotate(15deg);
|
|
1492
|
+
}
|
|
1493
|
+
8%, 24% {
|
|
1494
|
+
transform: rotate(-18deg);
|
|
1495
|
+
}
|
|
1496
|
+
12%, 28% {
|
|
1497
|
+
transform: rotate(18deg);
|
|
1498
|
+
}
|
|
1499
|
+
16% {
|
|
1500
|
+
transform: rotate(-22deg);
|
|
1501
|
+
}
|
|
1502
|
+
20% {
|
|
1503
|
+
transform: rotate(22deg);
|
|
1504
|
+
}
|
|
1505
|
+
32% {
|
|
1506
|
+
transform: rotate(-12deg);
|
|
1507
|
+
}
|
|
1508
|
+
36% {
|
|
1509
|
+
transform: rotate(12deg);
|
|
1510
|
+
}
|
|
1511
|
+
40%, 100% {
|
|
1512
|
+
transform: rotate(0deg);
|
|
1513
|
+
}
|
|
1514
|
+
}
|
|
1515
|
+
@keyframes fa-spin {
|
|
1516
|
+
0% {
|
|
1517
|
+
transform: rotate(0deg);
|
|
1518
|
+
}
|
|
1519
|
+
100% {
|
|
1520
|
+
transform: rotate(360deg);
|
|
1521
|
+
}
|
|
1522
|
+
}
|
|
1523
|
+
.fa-rotate-90 {
|
|
1524
|
+
transform: rotate(90deg);
|
|
1525
|
+
}
|
|
1526
|
+
|
|
1527
|
+
.fa-rotate-180 {
|
|
1528
|
+
transform: rotate(180deg);
|
|
1529
|
+
}
|
|
1530
|
+
|
|
1531
|
+
.fa-rotate-270 {
|
|
1532
|
+
transform: rotate(270deg);
|
|
1533
|
+
}
|
|
1534
|
+
|
|
1535
|
+
.fa-flip-horizontal {
|
|
1536
|
+
transform: scale(-1, 1);
|
|
1537
|
+
}
|
|
1538
|
+
|
|
1539
|
+
.fa-flip-vertical {
|
|
1540
|
+
transform: scale(1, -1);
|
|
1541
|
+
}
|
|
1542
|
+
|
|
1543
|
+
.fa-flip-both,
|
|
1544
|
+
.fa-flip-horizontal.fa-flip-vertical {
|
|
1545
|
+
transform: scale(-1, -1);
|
|
1546
|
+
}
|
|
1547
|
+
|
|
1548
|
+
.fa-rotate-by {
|
|
1549
|
+
transform: rotate(var(--fa-rotate-angle, 0));
|
|
1550
|
+
}
|
|
1551
|
+
|
|
1552
|
+
.svg-inline--fa .fa-primary {
|
|
1553
|
+
fill: var(--fa-primary-color, currentColor);
|
|
1554
|
+
opacity: var(--fa-primary-opacity, 1);
|
|
1555
|
+
}
|
|
1556
|
+
|
|
1557
|
+
.svg-inline--fa .fa-secondary {
|
|
1558
|
+
fill: var(--fa-secondary-color, currentColor);
|
|
1559
|
+
opacity: var(--fa-secondary-opacity, 0.4);
|
|
1560
|
+
}
|
|
1561
|
+
|
|
1562
|
+
.svg-inline--fa.fa-swap-opacity .fa-primary {
|
|
1563
|
+
opacity: var(--fa-secondary-opacity, 0.4);
|
|
1564
|
+
}
|
|
1565
|
+
|
|
1566
|
+
.svg-inline--fa.fa-swap-opacity .fa-secondary {
|
|
1567
|
+
opacity: var(--fa-primary-opacity, 1);
|
|
1568
|
+
}
|
|
1569
|
+
|
|
1570
|
+
.svg-inline--fa mask .fa-primary,
|
|
1571
|
+
.svg-inline--fa mask .fa-secondary {
|
|
1572
|
+
fill: black;
|
|
1573
|
+
}
|
|
1574
|
+
|
|
1575
|
+
.svg-inline--fa.fa-inverse {
|
|
1576
|
+
fill: var(--fa-inverse, #fff);
|
|
1577
|
+
}
|
|
1578
|
+
|
|
1579
|
+
.fa-stack {
|
|
1580
|
+
display: inline-block;
|
|
1581
|
+
height: 2em;
|
|
1582
|
+
line-height: 2em;
|
|
1583
|
+
position: relative;
|
|
1584
|
+
vertical-align: middle;
|
|
1585
|
+
width: 2.5em;
|
|
1586
|
+
}
|
|
1587
|
+
|
|
1588
|
+
.fa-inverse {
|
|
1589
|
+
color: var(--fa-inverse, #fff);
|
|
1590
|
+
}
|
|
1591
|
+
|
|
1592
|
+
.svg-inline--fa.fa-stack-1x {
|
|
1593
|
+
--fa-width: 1.25em;
|
|
1594
|
+
height: 1em;
|
|
1595
|
+
width: var(--fa-width);
|
|
1596
|
+
}
|
|
1597
|
+
.svg-inline--fa.fa-stack-2x {
|
|
1598
|
+
--fa-width: 2.5em;
|
|
1599
|
+
height: 2em;
|
|
1600
|
+
width: var(--fa-width);
|
|
1601
|
+
}
|
|
1602
|
+
|
|
1603
|
+
.fa-stack-1x,
|
|
1604
|
+
.fa-stack-2x {
|
|
1605
|
+
inset: 0;
|
|
1606
|
+
margin: auto;
|
|
1607
|
+
position: absolute;
|
|
1608
|
+
z-index: var(--fa-stack-z-index, auto);
|
|
1609
|
+
}`;
|
|
1610
|
+
function Ya() {
|
|
1611
|
+
var e = ja, t = Da, a = m.cssPrefix, n = m.replacementClass, r = qi;
|
|
1612
|
+
if (a !== e || n !== t) {
|
|
1613
|
+
var i = new RegExp("\\.".concat(e, "\\-"), "g"), o = new RegExp("\\--".concat(e, "\\-"), "g"), s = new RegExp("\\.".concat(t), "g");
|
|
1614
|
+
r = r.replace(i, ".".concat(a, "-")).replace(o, "--".concat(a, "-")).replace(s, ".".concat(n));
|
|
1615
|
+
}
|
|
1616
|
+
return r;
|
|
1617
|
+
}
|
|
1618
|
+
var jt = !1;
|
|
1619
|
+
function $e() {
|
|
1620
|
+
m.autoAddCss && !jt && (Gi(Ya()), jt = !0);
|
|
1621
|
+
}
|
|
1622
|
+
var Qi = {
|
|
1623
|
+
mixout: function() {
|
|
1624
|
+
return {
|
|
1625
|
+
dom: {
|
|
1626
|
+
css: Ya,
|
|
1627
|
+
insertCss: $e
|
|
1628
|
+
}
|
|
1629
|
+
};
|
|
1630
|
+
},
|
|
1631
|
+
hooks: function() {
|
|
1632
|
+
return {
|
|
1633
|
+
beforeDOMElementCreation: function() {
|
|
1634
|
+
$e();
|
|
1635
|
+
},
|
|
1636
|
+
beforeI2svg: function() {
|
|
1637
|
+
$e();
|
|
1638
|
+
}
|
|
1639
|
+
};
|
|
1640
|
+
}
|
|
1641
|
+
}, W = Y || {};
|
|
1642
|
+
W[U] || (W[U] = {});
|
|
1643
|
+
W[U].styles || (W[U].styles = {});
|
|
1644
|
+
W[U].hooks || (W[U].hooks = {});
|
|
1645
|
+
W[U].shims || (W[U].shims = []);
|
|
1646
|
+
var M = W[U], Ha = [], Ga = function() {
|
|
1647
|
+
k.removeEventListener("DOMContentLoaded", Ga), Ie = 1, Ha.map(function(t) {
|
|
1648
|
+
return t();
|
|
1649
|
+
});
|
|
1650
|
+
}, Ie = !1;
|
|
1651
|
+
B && (Ie = (k.documentElement.doScroll ? /^loaded|^c/ : /^loaded|^i|^c/).test(k.readyState), Ie || k.addEventListener("DOMContentLoaded", Ga));
|
|
1652
|
+
function Zi(e) {
|
|
1653
|
+
B && (Ie ? setTimeout(e, 0) : Ha.push(e));
|
|
1654
|
+
}
|
|
1655
|
+
function he(e) {
|
|
1656
|
+
var t = e.tag, a = e.attributes, n = a === void 0 ? {} : a, r = e.children, i = r === void 0 ? [] : r;
|
|
1657
|
+
return typeof e == "string" ? Ba(e) : "<".concat(t, " ").concat(Xi(n), ">").concat(i.map(he).join(""), "</").concat(t, ">");
|
|
1658
|
+
}
|
|
1659
|
+
function Dt(e, t, a) {
|
|
1660
|
+
if (e && e[t] && e[t][a])
|
|
1661
|
+
return {
|
|
1662
|
+
prefix: t,
|
|
1663
|
+
iconName: a,
|
|
1664
|
+
icon: e[t][a]
|
|
1665
|
+
};
|
|
1666
|
+
}
|
|
1667
|
+
var Re = function(t, a, n, r) {
|
|
1668
|
+
var i = Object.keys(t), o = i.length, s = a, l, c, d;
|
|
1669
|
+
for (n === void 0 ? (l = 1, d = t[i[0]]) : (l = 0, d = n); l < o; l++)
|
|
1670
|
+
c = i[l], d = s(d, t[c], c, t);
|
|
1671
|
+
return d;
|
|
1672
|
+
};
|
|
1673
|
+
function Va(e) {
|
|
1674
|
+
return j(e).length !== 1 ? null : e.codePointAt(0).toString(16);
|
|
1675
|
+
}
|
|
1676
|
+
function zt(e) {
|
|
1677
|
+
return Object.keys(e).reduce(function(t, a) {
|
|
1678
|
+
var n = e[a], r = !!n.icon;
|
|
1679
|
+
return r ? t[n.iconName] = n.icon : t[a] = n, t;
|
|
1680
|
+
}, {});
|
|
1681
|
+
}
|
|
1682
|
+
function Je(e, t) {
|
|
1683
|
+
var a = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, n = a.skipHooks, r = n === void 0 ? !1 : n, i = zt(t);
|
|
1684
|
+
typeof M.hooks.addPack == "function" && !r ? M.hooks.addPack(e, zt(t)) : M.styles[e] = f(f({}, M.styles[e] || {}), i), e === "fas" && Je("fa", t);
|
|
1685
|
+
}
|
|
1686
|
+
var de = M.styles, eo = M.shims, Xa = Object.keys(ct), to = Xa.reduce(function(e, t) {
|
|
1687
|
+
return e[t] = Object.keys(ct[t]), e;
|
|
1688
|
+
}, {}), mt = null, Ka = {}, Ja = {}, qa = {}, Qa = {}, Za = {};
|
|
1689
|
+
function ao(e) {
|
|
1690
|
+
return ~Ui.indexOf(e);
|
|
1691
|
+
}
|
|
1692
|
+
function no(e, t) {
|
|
1693
|
+
var a = t.split("-"), n = a[0], r = a.slice(1).join("-");
|
|
1694
|
+
return n === e && r !== "" && !ao(r) ? r : null;
|
|
1695
|
+
}
|
|
1696
|
+
var en = function() {
|
|
1697
|
+
var t = function(i) {
|
|
1698
|
+
return Re(de, function(o, s, l) {
|
|
1699
|
+
return o[l] = Re(s, i, {}), o;
|
|
1700
|
+
}, {});
|
|
1701
|
+
};
|
|
1702
|
+
Ka = t(function(r, i, o) {
|
|
1703
|
+
if (i[3] && (r[i[3]] = o), i[2]) {
|
|
1704
|
+
var s = i[2].filter(function(l) {
|
|
1705
|
+
return typeof l == "number";
|
|
1706
|
+
});
|
|
1707
|
+
s.forEach(function(l) {
|
|
1708
|
+
r[l.toString(16)] = o;
|
|
1709
|
+
});
|
|
1710
|
+
}
|
|
1711
|
+
return r;
|
|
1712
|
+
}), Ja = t(function(r, i, o) {
|
|
1713
|
+
if (r[o] = o, i[2]) {
|
|
1714
|
+
var s = i[2].filter(function(l) {
|
|
1715
|
+
return typeof l == "string";
|
|
1716
|
+
});
|
|
1717
|
+
s.forEach(function(l) {
|
|
1718
|
+
r[l] = o;
|
|
1719
|
+
});
|
|
1720
|
+
}
|
|
1721
|
+
return r;
|
|
1722
|
+
}), Za = t(function(r, i, o) {
|
|
1723
|
+
var s = i[2];
|
|
1724
|
+
return r[o] = o, s.forEach(function(l) {
|
|
1725
|
+
r[l] = o;
|
|
1726
|
+
}), r;
|
|
1727
|
+
});
|
|
1728
|
+
var a = "far" in de || m.autoFetchSvg, n = Re(eo, function(r, i) {
|
|
1729
|
+
var o = i[0], s = i[1], l = i[2];
|
|
1730
|
+
return s === "far" && !a && (s = "fas"), typeof o == "string" && (r.names[o] = {
|
|
1731
|
+
prefix: s,
|
|
1732
|
+
iconName: l
|
|
1733
|
+
}), typeof o == "number" && (r.unicodes[o.toString(16)] = {
|
|
1734
|
+
prefix: s,
|
|
1735
|
+
iconName: l
|
|
1736
|
+
}), r;
|
|
1737
|
+
}, {
|
|
1738
|
+
names: {},
|
|
1739
|
+
unicodes: {}
|
|
1740
|
+
});
|
|
1741
|
+
qa = n.names, Qa = n.unicodes, mt = Fe(m.styleDefault, {
|
|
1742
|
+
family: m.familyDefault
|
|
1743
|
+
});
|
|
1744
|
+
};
|
|
1745
|
+
Hi(function(e) {
|
|
1746
|
+
mt = Fe(e.styleDefault, {
|
|
1747
|
+
family: m.familyDefault
|
|
1748
|
+
});
|
|
1749
|
+
});
|
|
1750
|
+
en();
|
|
1751
|
+
function pt(e, t) {
|
|
1752
|
+
return (Ka[e] || {})[t];
|
|
1753
|
+
}
|
|
1754
|
+
function ro(e, t) {
|
|
1755
|
+
return (Ja[e] || {})[t];
|
|
1756
|
+
}
|
|
1757
|
+
function X(e, t) {
|
|
1758
|
+
return (Za[e] || {})[t];
|
|
1759
|
+
}
|
|
1760
|
+
function tn(e) {
|
|
1761
|
+
return qa[e] || {
|
|
1762
|
+
prefix: null,
|
|
1763
|
+
iconName: null
|
|
1764
|
+
};
|
|
1765
|
+
}
|
|
1766
|
+
function io(e) {
|
|
1767
|
+
var t = Qa[e], a = pt("fas", e);
|
|
1768
|
+
return t || (a ? {
|
|
1769
|
+
prefix: "fas",
|
|
1770
|
+
iconName: a
|
|
1771
|
+
} : null) || {
|
|
1772
|
+
prefix: null,
|
|
1773
|
+
iconName: null
|
|
1774
|
+
};
|
|
1775
|
+
}
|
|
1776
|
+
function H() {
|
|
1777
|
+
return mt;
|
|
1778
|
+
}
|
|
1779
|
+
var an = function() {
|
|
1780
|
+
return {
|
|
1781
|
+
prefix: null,
|
|
1782
|
+
iconName: null,
|
|
1783
|
+
rest: []
|
|
1784
|
+
};
|
|
1785
|
+
};
|
|
1786
|
+
function oo(e) {
|
|
1787
|
+
var t = _, a = Xa.reduce(function(n, r) {
|
|
1788
|
+
return n[r] = "".concat(m.cssPrefix, "-").concat(r), n;
|
|
1789
|
+
}, {});
|
|
1790
|
+
return Oa.forEach(function(n) {
|
|
1791
|
+
(e.includes(a[n]) || e.some(function(r) {
|
|
1792
|
+
return to[n].includes(r);
|
|
1793
|
+
})) && (t = n);
|
|
1794
|
+
}), t;
|
|
1795
|
+
}
|
|
1796
|
+
function Fe(e) {
|
|
1797
|
+
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, a = t.family, n = a === void 0 ? _ : a, r = ji[n][e];
|
|
1798
|
+
if (n === me && !e)
|
|
1799
|
+
return "fad";
|
|
1800
|
+
var i = Tt[n][e] || Tt[n][r], o = e in M.styles ? e : null, s = i || o || null;
|
|
1801
|
+
return s;
|
|
1802
|
+
}
|
|
1803
|
+
function so(e) {
|
|
1804
|
+
var t = [], a = null;
|
|
1805
|
+
return e.forEach(function(n) {
|
|
1806
|
+
var r = no(m.cssPrefix, n);
|
|
1807
|
+
r ? a = r : n && t.push(n);
|
|
1808
|
+
}), {
|
|
1809
|
+
iconName: a,
|
|
1810
|
+
rest: t
|
|
1811
|
+
};
|
|
1812
|
+
}
|
|
1813
|
+
function $t(e) {
|
|
1814
|
+
return e.sort().filter(function(t, a, n) {
|
|
1815
|
+
return n.indexOf(t) === a;
|
|
1816
|
+
});
|
|
1817
|
+
}
|
|
1818
|
+
var Rt = Ta.concat(La);
|
|
1819
|
+
function Ce(e) {
|
|
1820
|
+
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, a = t.skipLookups, n = a === void 0 ? !1 : a, r = null, i = $t(e.filter(function(p) {
|
|
1821
|
+
return Rt.includes(p);
|
|
1822
|
+
})), o = $t(e.filter(function(p) {
|
|
1823
|
+
return !Rt.includes(p);
|
|
1824
|
+
})), s = i.filter(function(p) {
|
|
1825
|
+
return r = p, !pa.includes(p);
|
|
1826
|
+
}), l = Pe(s, 1), c = l[0], d = c === void 0 ? null : c, u = oo(i), h = f(f({}, so(o)), {}, {
|
|
1827
|
+
prefix: Fe(d, {
|
|
1828
|
+
family: u
|
|
1829
|
+
})
|
|
1830
|
+
});
|
|
1831
|
+
return f(f(f({}, h), uo({
|
|
1832
|
+
values: e,
|
|
1833
|
+
family: u,
|
|
1834
|
+
styles: de,
|
|
1835
|
+
config: m,
|
|
1836
|
+
canonical: h,
|
|
1837
|
+
givenPrefix: r
|
|
1838
|
+
})), lo(n, r, h));
|
|
1839
|
+
}
|
|
1840
|
+
function lo(e, t, a) {
|
|
1841
|
+
var n = a.prefix, r = a.iconName;
|
|
1842
|
+
if (e || !n || !r)
|
|
1843
|
+
return {
|
|
1844
|
+
prefix: n,
|
|
1845
|
+
iconName: r
|
|
1846
|
+
};
|
|
1847
|
+
var i = t === "fa" ? tn(r) : {}, o = X(n, r);
|
|
1848
|
+
return r = i.iconName || o || r, n = i.prefix || n, n === "far" && !de.far && de.fas && !m.autoFetchSvg && (n = "fas"), {
|
|
1849
|
+
prefix: n,
|
|
1850
|
+
iconName: r
|
|
1851
|
+
};
|
|
1852
|
+
}
|
|
1853
|
+
var fo = Oa.filter(function(e) {
|
|
1854
|
+
return e !== _ || e !== me;
|
|
1855
|
+
}), co = Object.keys(Ye).filter(function(e) {
|
|
1856
|
+
return e !== _;
|
|
1857
|
+
}).map(function(e) {
|
|
1858
|
+
return Object.keys(Ye[e]);
|
|
1859
|
+
}).flat();
|
|
1860
|
+
function uo(e) {
|
|
1861
|
+
var t = e.values, a = e.family, n = e.canonical, r = e.givenPrefix, i = r === void 0 ? "" : r, o = e.styles, s = o === void 0 ? {} : o, l = e.config, c = l === void 0 ? {} : l, d = a === me, u = t.includes("fa-duotone") || t.includes("fad"), h = c.familyDefault === "duotone", p = n.prefix === "fad" || n.prefix === "fa-duotone";
|
|
1862
|
+
if (!d && (u || h || p) && (n.prefix = "fad"), (t.includes("fa-brands") || t.includes("fab")) && (n.prefix = "fab"), !n.prefix && fo.includes(a)) {
|
|
1863
|
+
var w = Object.keys(s).find(function(A) {
|
|
1864
|
+
return co.includes(A);
|
|
1865
|
+
});
|
|
1866
|
+
if (w || c.autoFetchSvg) {
|
|
1867
|
+
var y = Er.get(a).defaultShortPrefixId;
|
|
1868
|
+
n.prefix = y, n.iconName = X(n.prefix, n.iconName) || n.iconName;
|
|
1869
|
+
}
|
|
1870
|
+
}
|
|
1871
|
+
return (n.prefix === "fa" || i === "fa") && (n.prefix = H() || "fas"), n;
|
|
1872
|
+
}
|
|
1873
|
+
var mo = /* @__PURE__ */ (function() {
|
|
1874
|
+
function e() {
|
|
1875
|
+
Vn(this, e), this.definitions = {};
|
|
1876
|
+
}
|
|
1877
|
+
return Kn(e, [{
|
|
1878
|
+
key: "add",
|
|
1879
|
+
value: function() {
|
|
1880
|
+
for (var a = this, n = arguments.length, r = new Array(n), i = 0; i < n; i++)
|
|
1881
|
+
r[i] = arguments[i];
|
|
1882
|
+
var o = r.reduce(this._pullDefinitions, {});
|
|
1883
|
+
Object.keys(o).forEach(function(s) {
|
|
1884
|
+
a.definitions[s] = f(f({}, a.definitions[s] || {}), o[s]), Je(s, o[s]);
|
|
1885
|
+
var l = ct[_][s];
|
|
1886
|
+
l && Je(l, o[s]), en();
|
|
1887
|
+
});
|
|
1888
|
+
}
|
|
1889
|
+
}, {
|
|
1890
|
+
key: "reset",
|
|
1891
|
+
value: function() {
|
|
1892
|
+
this.definitions = {};
|
|
1893
|
+
}
|
|
1894
|
+
}, {
|
|
1895
|
+
key: "_pullDefinitions",
|
|
1896
|
+
value: function(a, n) {
|
|
1897
|
+
var r = n.prefix && n.iconName && n.icon ? {
|
|
1898
|
+
0: n
|
|
1899
|
+
} : n;
|
|
1900
|
+
return Object.keys(r).map(function(i) {
|
|
1901
|
+
var o = r[i], s = o.prefix, l = o.iconName, c = o.icon, d = c[2];
|
|
1902
|
+
a[s] || (a[s] = {}), d.length > 0 && d.forEach(function(u) {
|
|
1903
|
+
typeof u == "string" && (a[s][u] = c);
|
|
1904
|
+
}), a[s][l] = c;
|
|
1905
|
+
}), a;
|
|
1906
|
+
}
|
|
1907
|
+
}]);
|
|
1908
|
+
})(), Ut = [], te = {}, ae = {}, po = Object.keys(ae);
|
|
1909
|
+
function ho(e, t) {
|
|
1910
|
+
var a = t.mixoutsTo;
|
|
1911
|
+
return Ut = e, te = {}, Object.keys(ae).forEach(function(n) {
|
|
1912
|
+
po.indexOf(n) === -1 && delete ae[n];
|
|
1913
|
+
}), Ut.forEach(function(n) {
|
|
1914
|
+
var r = n.mixout ? n.mixout() : {};
|
|
1915
|
+
if (Object.keys(r).forEach(function(o) {
|
|
1916
|
+
typeof r[o] == "function" && (a[o] = r[o]), ke(r[o]) === "object" && Object.keys(r[o]).forEach(function(s) {
|
|
1917
|
+
a[o] || (a[o] = {}), a[o][s] = r[o][s];
|
|
1918
|
+
});
|
|
1919
|
+
}), n.hooks) {
|
|
1920
|
+
var i = n.hooks();
|
|
1921
|
+
Object.keys(i).forEach(function(o) {
|
|
1922
|
+
te[o] || (te[o] = []), te[o].push(i[o]);
|
|
1923
|
+
});
|
|
1924
|
+
}
|
|
1925
|
+
n.provides && n.provides(ae);
|
|
1926
|
+
}), a;
|
|
1927
|
+
}
|
|
1928
|
+
function qe(e, t) {
|
|
1929
|
+
for (var a = arguments.length, n = new Array(a > 2 ? a - 2 : 0), r = 2; r < a; r++)
|
|
1930
|
+
n[r - 2] = arguments[r];
|
|
1931
|
+
var i = te[e] || [];
|
|
1932
|
+
return i.forEach(function(o) {
|
|
1933
|
+
t = o.apply(null, [t].concat(n));
|
|
1934
|
+
}), t;
|
|
1935
|
+
}
|
|
1936
|
+
function J(e) {
|
|
1937
|
+
for (var t = arguments.length, a = new Array(t > 1 ? t - 1 : 0), n = 1; n < t; n++)
|
|
1938
|
+
a[n - 1] = arguments[n];
|
|
1939
|
+
var r = te[e] || [];
|
|
1940
|
+
r.forEach(function(i) {
|
|
1941
|
+
i.apply(null, a);
|
|
1942
|
+
});
|
|
1943
|
+
}
|
|
1944
|
+
function G() {
|
|
1945
|
+
var e = arguments[0], t = Array.prototype.slice.call(arguments, 1);
|
|
1946
|
+
return ae[e] ? ae[e].apply(null, t) : void 0;
|
|
1947
|
+
}
|
|
1948
|
+
function Qe(e) {
|
|
1949
|
+
e.prefix === "fa" && (e.prefix = "fas");
|
|
1950
|
+
var t = e.iconName, a = e.prefix || H();
|
|
1951
|
+
if (t)
|
|
1952
|
+
return t = X(a, t) || t, Dt(nn.definitions, a, t) || Dt(M.styles, a, t);
|
|
1953
|
+
}
|
|
1954
|
+
var nn = new mo(), vo = function() {
|
|
1955
|
+
m.autoReplaceSvg = !1, m.observeMutations = !1, J("noAuto");
|
|
1956
|
+
}, go = {
|
|
1957
|
+
i2svg: function() {
|
|
1958
|
+
var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
1959
|
+
return B ? (J("beforeI2svg", t), G("pseudoElements2svg", t), G("i2svg", t)) : Promise.reject(new Error("Operation requires a DOM of some kind."));
|
|
1960
|
+
},
|
|
1961
|
+
watch: function() {
|
|
1962
|
+
var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, a = t.autoReplaceSvgRoot;
|
|
1963
|
+
m.autoReplaceSvg === !1 && (m.autoReplaceSvg = !0), m.observeMutations = !0, Zi(function() {
|
|
1964
|
+
yo({
|
|
1965
|
+
autoReplaceSvgRoot: a
|
|
1966
|
+
}), J("watch", t);
|
|
1967
|
+
});
|
|
1968
|
+
}
|
|
1969
|
+
}, bo = {
|
|
1970
|
+
icon: function(t) {
|
|
1971
|
+
if (t === null)
|
|
1972
|
+
return null;
|
|
1973
|
+
if (ke(t) === "object" && t.prefix && t.iconName)
|
|
1974
|
+
return {
|
|
1975
|
+
prefix: t.prefix,
|
|
1976
|
+
iconName: X(t.prefix, t.iconName) || t.iconName
|
|
1977
|
+
};
|
|
1978
|
+
if (Array.isArray(t) && t.length === 2) {
|
|
1979
|
+
var a = t[1].indexOf("fa-") === 0 ? t[1].slice(3) : t[1], n = Fe(t[0]);
|
|
1980
|
+
return {
|
|
1981
|
+
prefix: n,
|
|
1982
|
+
iconName: X(n, a) || a
|
|
1983
|
+
};
|
|
1984
|
+
}
|
|
1985
|
+
if (typeof t == "string" && (t.indexOf("".concat(m.cssPrefix, "-")) > -1 || t.match(Di))) {
|
|
1986
|
+
var r = Ce(t.split(" "), {
|
|
1987
|
+
skipLookups: !0
|
|
1988
|
+
});
|
|
1989
|
+
return {
|
|
1990
|
+
prefix: r.prefix || H(),
|
|
1991
|
+
iconName: X(r.prefix, r.iconName) || r.iconName
|
|
1992
|
+
};
|
|
1993
|
+
}
|
|
1994
|
+
if (typeof t == "string") {
|
|
1995
|
+
var i = H();
|
|
1996
|
+
return {
|
|
1997
|
+
prefix: i,
|
|
1998
|
+
iconName: X(i, t) || t
|
|
1999
|
+
};
|
|
2000
|
+
}
|
|
2001
|
+
}
|
|
2002
|
+
}, L = {
|
|
2003
|
+
noAuto: vo,
|
|
2004
|
+
config: m,
|
|
2005
|
+
dom: go,
|
|
2006
|
+
parse: bo,
|
|
2007
|
+
library: nn,
|
|
2008
|
+
findIconDefinition: Qe,
|
|
2009
|
+
toHtml: he
|
|
2010
|
+
}, yo = function() {
|
|
2011
|
+
var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, a = t.autoReplaceSvgRoot, n = a === void 0 ? k : a;
|
|
2012
|
+
(Object.keys(M.styles).length > 0 || m.autoFetchSvg) && B && m.autoReplaceSvg && L.dom.i2svg({
|
|
2013
|
+
node: n
|
|
2014
|
+
});
|
|
2015
|
+
};
|
|
2016
|
+
function _e(e, t) {
|
|
2017
|
+
return Object.defineProperty(e, "abstract", {
|
|
2018
|
+
get: t
|
|
2019
|
+
}), Object.defineProperty(e, "html", {
|
|
2020
|
+
get: function() {
|
|
2021
|
+
return e.abstract.map(function(n) {
|
|
2022
|
+
return he(n);
|
|
2023
|
+
});
|
|
2024
|
+
}
|
|
2025
|
+
}), Object.defineProperty(e, "node", {
|
|
2026
|
+
get: function() {
|
|
2027
|
+
if (B) {
|
|
2028
|
+
var n = k.createElement("div");
|
|
2029
|
+
return n.innerHTML = e.html, n.children;
|
|
2030
|
+
}
|
|
2031
|
+
}
|
|
2032
|
+
}), e;
|
|
2033
|
+
}
|
|
2034
|
+
function xo(e) {
|
|
2035
|
+
var t = e.children, a = e.main, n = e.mask, r = e.attributes, i = e.styles, o = e.transform;
|
|
2036
|
+
if (dt(o) && a.found && !n.found) {
|
|
2037
|
+
var s = a.width, l = a.height, c = {
|
|
2038
|
+
x: s / l / 2,
|
|
2039
|
+
y: 0.5
|
|
2040
|
+
};
|
|
2041
|
+
r.style = Ne(f(f({}, i), {}, {
|
|
2042
|
+
"transform-origin": "".concat(c.x + o.x / 16, "em ").concat(c.y + o.y / 16, "em")
|
|
2043
|
+
}));
|
|
2044
|
+
}
|
|
2045
|
+
return [{
|
|
2046
|
+
tag: "svg",
|
|
2047
|
+
attributes: r,
|
|
2048
|
+
children: t
|
|
2049
|
+
}];
|
|
2050
|
+
}
|
|
2051
|
+
function So(e) {
|
|
2052
|
+
var t = e.prefix, a = e.iconName, n = e.children, r = e.attributes, i = e.symbol, o = i === !0 ? "".concat(t, "-").concat(m.cssPrefix, "-").concat(a) : i;
|
|
2053
|
+
return [{
|
|
2054
|
+
tag: "svg",
|
|
2055
|
+
attributes: {
|
|
2056
|
+
style: "display: none;"
|
|
2057
|
+
},
|
|
2058
|
+
children: [{
|
|
2059
|
+
tag: "symbol",
|
|
2060
|
+
attributes: f(f({}, r), {}, {
|
|
2061
|
+
id: o
|
|
2062
|
+
}),
|
|
2063
|
+
children: n
|
|
2064
|
+
}]
|
|
2065
|
+
}];
|
|
2066
|
+
}
|
|
2067
|
+
function wo(e) {
|
|
2068
|
+
var t = ["aria-label", "aria-labelledby", "title", "role"];
|
|
2069
|
+
return t.some(function(a) {
|
|
2070
|
+
return a in e;
|
|
2071
|
+
});
|
|
2072
|
+
}
|
|
2073
|
+
function ht(e) {
|
|
2074
|
+
var t = e.icons, a = t.main, n = t.mask, r = e.prefix, i = e.iconName, o = e.transform, s = e.symbol, l = e.maskId, c = e.extra, d = e.watchable, u = d === void 0 ? !1 : d, h = n.found ? n : a, p = h.width, w = h.height, y = [m.replacementClass, i ? "".concat(m.cssPrefix, "-").concat(i) : ""].filter(function(b) {
|
|
2075
|
+
return c.classes.indexOf(b) === -1;
|
|
2076
|
+
}).filter(function(b) {
|
|
2077
|
+
return b !== "" || !!b;
|
|
2078
|
+
}).concat(c.classes).join(" "), A = {
|
|
2079
|
+
children: [],
|
|
2080
|
+
attributes: f(f({}, c.attributes), {}, {
|
|
2081
|
+
"data-prefix": r,
|
|
2082
|
+
"data-icon": i,
|
|
2083
|
+
class: y,
|
|
2084
|
+
role: c.attributes.role || "img",
|
|
2085
|
+
viewBox: "0 0 ".concat(p, " ").concat(w)
|
|
2086
|
+
})
|
|
2087
|
+
};
|
|
2088
|
+
!wo(c.attributes) && !c.attributes["aria-hidden"] && (A.attributes["aria-hidden"] = "true"), u && (A.attributes[K] = "");
|
|
2089
|
+
var I = f(f({}, A), {}, {
|
|
2090
|
+
prefix: r,
|
|
2091
|
+
iconName: i,
|
|
2092
|
+
main: a,
|
|
2093
|
+
mask: n,
|
|
2094
|
+
maskId: l,
|
|
2095
|
+
transform: o,
|
|
2096
|
+
symbol: s,
|
|
2097
|
+
styles: f({}, c.styles)
|
|
2098
|
+
}), P = n.found && a.found ? G("generateAbstractMask", I) || {
|
|
2099
|
+
children: [],
|
|
2100
|
+
attributes: {}
|
|
2101
|
+
} : G("generateAbstractIcon", I) || {
|
|
2102
|
+
children: [],
|
|
2103
|
+
attributes: {}
|
|
2104
|
+
}, F = P.children, T = P.attributes;
|
|
2105
|
+
return I.children = F, I.attributes = T, s ? So(I) : xo(I);
|
|
2106
|
+
}
|
|
2107
|
+
function Wt(e) {
|
|
2108
|
+
var t = e.content, a = e.width, n = e.height, r = e.transform, i = e.extra, o = e.watchable, s = o === void 0 ? !1 : o, l = f(f({}, i.attributes), {}, {
|
|
2109
|
+
class: i.classes.join(" ")
|
|
2110
|
+
});
|
|
2111
|
+
s && (l[K] = "");
|
|
2112
|
+
var c = f({}, i.styles);
|
|
2113
|
+
dt(r) && (c.transform = Ji({
|
|
2114
|
+
transform: r,
|
|
2115
|
+
width: a,
|
|
2116
|
+
height: n
|
|
2117
|
+
}), c["-webkit-transform"] = c.transform);
|
|
2118
|
+
var d = Ne(c);
|
|
2119
|
+
d.length > 0 && (l.style = d);
|
|
2120
|
+
var u = [];
|
|
2121
|
+
return u.push({
|
|
2122
|
+
tag: "span",
|
|
2123
|
+
attributes: l,
|
|
2124
|
+
children: [t]
|
|
2125
|
+
}), u;
|
|
2126
|
+
}
|
|
2127
|
+
function Ao(e) {
|
|
2128
|
+
var t = e.content, a = e.extra, n = f(f({}, a.attributes), {}, {
|
|
2129
|
+
class: a.classes.join(" ")
|
|
2130
|
+
}), r = Ne(a.styles);
|
|
2131
|
+
r.length > 0 && (n.style = r);
|
|
2132
|
+
var i = [];
|
|
2133
|
+
return i.push({
|
|
2134
|
+
tag: "span",
|
|
2135
|
+
attributes: n,
|
|
2136
|
+
children: [t]
|
|
2137
|
+
}), i;
|
|
2138
|
+
}
|
|
2139
|
+
var Ue = M.styles;
|
|
2140
|
+
function Ze(e) {
|
|
2141
|
+
var t = e[0], a = e[1], n = e.slice(4), r = Pe(n, 1), i = r[0], o = null;
|
|
2142
|
+
return Array.isArray(i) ? o = {
|
|
2143
|
+
tag: "g",
|
|
2144
|
+
attributes: {
|
|
2145
|
+
class: "".concat(m.cssPrefix, "-").concat(ze.GROUP)
|
|
2146
|
+
},
|
|
2147
|
+
children: [{
|
|
2148
|
+
tag: "path",
|
|
2149
|
+
attributes: {
|
|
2150
|
+
class: "".concat(m.cssPrefix, "-").concat(ze.SECONDARY),
|
|
2151
|
+
fill: "currentColor",
|
|
2152
|
+
d: i[0]
|
|
2153
|
+
}
|
|
2154
|
+
}, {
|
|
2155
|
+
tag: "path",
|
|
2156
|
+
attributes: {
|
|
2157
|
+
class: "".concat(m.cssPrefix, "-").concat(ze.PRIMARY),
|
|
2158
|
+
fill: "currentColor",
|
|
2159
|
+
d: i[1]
|
|
2160
|
+
}
|
|
2161
|
+
}]
|
|
2162
|
+
} : o = {
|
|
2163
|
+
tag: "path",
|
|
2164
|
+
attributes: {
|
|
2165
|
+
fill: "currentColor",
|
|
2166
|
+
d: i
|
|
2167
|
+
}
|
|
2168
|
+
}, {
|
|
2169
|
+
found: !0,
|
|
2170
|
+
width: t,
|
|
2171
|
+
height: a,
|
|
2172
|
+
icon: o
|
|
2173
|
+
};
|
|
2174
|
+
}
|
|
2175
|
+
var ko = {
|
|
2176
|
+
found: !1,
|
|
2177
|
+
width: 512,
|
|
2178
|
+
height: 512
|
|
2179
|
+
};
|
|
2180
|
+
function Io(e, t) {
|
|
2181
|
+
!$a && !m.showMissingIcons && e && console.error('Icon with name "'.concat(e, '" and prefix "').concat(t, '" is missing.'));
|
|
2182
|
+
}
|
|
2183
|
+
function et(e, t) {
|
|
2184
|
+
var a = t;
|
|
2185
|
+
return t === "fa" && m.styleDefault !== null && (t = H()), new Promise(function(n, r) {
|
|
2186
|
+
if (a === "fa") {
|
|
2187
|
+
var i = tn(e) || {};
|
|
2188
|
+
e = i.iconName || e, t = i.prefix || t;
|
|
2189
|
+
}
|
|
2190
|
+
if (e && t && Ue[t] && Ue[t][e]) {
|
|
2191
|
+
var o = Ue[t][e];
|
|
2192
|
+
return n(Ze(o));
|
|
2193
|
+
}
|
|
2194
|
+
Io(e, t), n(f(f({}, ko), {}, {
|
|
2195
|
+
icon: m.showMissingIcons && e ? G("missingIconAbstract") || {} : {}
|
|
2196
|
+
}));
|
|
2197
|
+
});
|
|
2198
|
+
}
|
|
2199
|
+
var Bt = function() {
|
|
2200
|
+
}, tt = m.measurePerformance && be && be.mark && be.measure ? be : {
|
|
2201
|
+
mark: Bt,
|
|
2202
|
+
measure: Bt
|
|
2203
|
+
}, le = 'FA "7.2.0"', Eo = function(t) {
|
|
2204
|
+
return tt.mark("".concat(le, " ").concat(t, " begins")), function() {
|
|
2205
|
+
return rn(t);
|
|
2206
|
+
};
|
|
2207
|
+
}, rn = function(t) {
|
|
2208
|
+
tt.mark("".concat(le, " ").concat(t, " ends")), tt.measure("".concat(le, " ").concat(t), "".concat(le, " ").concat(t, " begins"), "".concat(le, " ").concat(t, " ends"));
|
|
2209
|
+
}, vt = {
|
|
2210
|
+
begin: Eo,
|
|
2211
|
+
end: rn
|
|
2212
|
+
}, we = function() {
|
|
2213
|
+
};
|
|
2214
|
+
function Yt(e) {
|
|
2215
|
+
var t = e.getAttribute ? e.getAttribute(K) : null;
|
|
2216
|
+
return typeof t == "string";
|
|
2217
|
+
}
|
|
2218
|
+
function Po(e) {
|
|
2219
|
+
var t = e.getAttribute ? e.getAttribute(lt) : null, a = e.getAttribute ? e.getAttribute(ft) : null;
|
|
2220
|
+
return t && a;
|
|
2221
|
+
}
|
|
2222
|
+
function No(e) {
|
|
2223
|
+
return e && e.classList && e.classList.contains && e.classList.contains(m.replacementClass);
|
|
2224
|
+
}
|
|
2225
|
+
function Fo() {
|
|
2226
|
+
if (m.autoReplaceSvg === !0)
|
|
2227
|
+
return Ae.replace;
|
|
2228
|
+
var e = Ae[m.autoReplaceSvg];
|
|
2229
|
+
return e || Ae.replace;
|
|
2230
|
+
}
|
|
2231
|
+
function Co(e) {
|
|
2232
|
+
return k.createElementNS("http://www.w3.org/2000/svg", e);
|
|
2233
|
+
}
|
|
2234
|
+
function _o(e) {
|
|
2235
|
+
return k.createElement(e);
|
|
2236
|
+
}
|
|
2237
|
+
function on(e) {
|
|
2238
|
+
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, a = t.ceFn, n = a === void 0 ? e.tag === "svg" ? Co : _o : a;
|
|
2239
|
+
if (typeof e == "string")
|
|
2240
|
+
return k.createTextNode(e);
|
|
2241
|
+
var r = n(e.tag);
|
|
2242
|
+
Object.keys(e.attributes || []).forEach(function(o) {
|
|
2243
|
+
r.setAttribute(o, e.attributes[o]);
|
|
2244
|
+
});
|
|
2245
|
+
var i = e.children || [];
|
|
2246
|
+
return i.forEach(function(o) {
|
|
2247
|
+
r.appendChild(on(o, {
|
|
2248
|
+
ceFn: n
|
|
2249
|
+
}));
|
|
2250
|
+
}), r;
|
|
2251
|
+
}
|
|
2252
|
+
function Oo(e) {
|
|
2253
|
+
var t = " ".concat(e.outerHTML, " ");
|
|
2254
|
+
return t = "".concat(t, "Font Awesome fontawesome.com "), t;
|
|
2255
|
+
}
|
|
2256
|
+
var Ae = {
|
|
2257
|
+
replace: function(t) {
|
|
2258
|
+
var a = t[0];
|
|
2259
|
+
if (a.parentNode)
|
|
2260
|
+
if (t[1].forEach(function(r) {
|
|
2261
|
+
a.parentNode.insertBefore(on(r), a);
|
|
2262
|
+
}), a.getAttribute(K) === null && m.keepOriginalSource) {
|
|
2263
|
+
var n = k.createComment(Oo(a));
|
|
2264
|
+
a.parentNode.replaceChild(n, a);
|
|
2265
|
+
} else
|
|
2266
|
+
a.remove();
|
|
2267
|
+
},
|
|
2268
|
+
nest: function(t) {
|
|
2269
|
+
var a = t[0], n = t[1];
|
|
2270
|
+
if (~ut(a).indexOf(m.replacementClass))
|
|
2271
|
+
return Ae.replace(t);
|
|
2272
|
+
var r = new RegExp("".concat(m.cssPrefix, "-.*"));
|
|
2273
|
+
if (delete n[0].attributes.id, n[0].attributes.class) {
|
|
2274
|
+
var i = n[0].attributes.class.split(" ").reduce(function(s, l) {
|
|
2275
|
+
return l === m.replacementClass || l.match(r) ? s.toSvg.push(l) : s.toNode.push(l), s;
|
|
2276
|
+
}, {
|
|
2277
|
+
toNode: [],
|
|
2278
|
+
toSvg: []
|
|
2279
|
+
});
|
|
2280
|
+
n[0].attributes.class = i.toSvg.join(" "), i.toNode.length === 0 ? a.removeAttribute("class") : a.setAttribute("class", i.toNode.join(" "));
|
|
2281
|
+
}
|
|
2282
|
+
var o = n.map(function(s) {
|
|
2283
|
+
return he(s);
|
|
2284
|
+
}).join(`
|
|
2285
|
+
`);
|
|
2286
|
+
a.setAttribute(K, ""), a.innerHTML = o;
|
|
2287
|
+
}
|
|
2288
|
+
};
|
|
2289
|
+
function Ht(e) {
|
|
2290
|
+
e();
|
|
2291
|
+
}
|
|
2292
|
+
function sn(e, t) {
|
|
2293
|
+
var a = typeof t == "function" ? t : we;
|
|
2294
|
+
if (e.length === 0)
|
|
2295
|
+
a();
|
|
2296
|
+
else {
|
|
2297
|
+
var n = Ht;
|
|
2298
|
+
m.mutateApproach === Ti && (n = Y.requestAnimationFrame || Ht), n(function() {
|
|
2299
|
+
var r = Fo(), i = vt.begin("mutate");
|
|
2300
|
+
e.map(r), i(), a();
|
|
2301
|
+
});
|
|
2302
|
+
}
|
|
2303
|
+
}
|
|
2304
|
+
var gt = !1;
|
|
2305
|
+
function ln() {
|
|
2306
|
+
gt = !0;
|
|
2307
|
+
}
|
|
2308
|
+
function at() {
|
|
2309
|
+
gt = !1;
|
|
2310
|
+
}
|
|
2311
|
+
var Ee = null;
|
|
2312
|
+
function Gt(e) {
|
|
2313
|
+
if (Ct && m.observeMutations) {
|
|
2314
|
+
var t = e.treeCallback, a = t === void 0 ? we : t, n = e.nodeCallback, r = n === void 0 ? we : n, i = e.pseudoElementsCallback, o = i === void 0 ? we : i, s = e.observeMutationsRoot, l = s === void 0 ? k : s;
|
|
2315
|
+
Ee = new Ct(function(c) {
|
|
2316
|
+
if (!gt) {
|
|
2317
|
+
var d = H();
|
|
2318
|
+
ie(c).forEach(function(u) {
|
|
2319
|
+
if (u.type === "childList" && u.addedNodes.length > 0 && !Yt(u.addedNodes[0]) && (m.searchPseudoElements && o(u.target), a(u.target)), u.type === "attributes" && u.target.parentNode && m.searchPseudoElements && o([u.target], !0), u.type === "attributes" && Yt(u.target) && ~Ri.indexOf(u.attributeName))
|
|
2320
|
+
if (u.attributeName === "class" && Po(u.target)) {
|
|
2321
|
+
var h = Ce(ut(u.target)), p = h.prefix, w = h.iconName;
|
|
2322
|
+
u.target.setAttribute(lt, p || d), w && u.target.setAttribute(ft, w);
|
|
2323
|
+
} else No(u.target) && r(u.target);
|
|
2324
|
+
});
|
|
2325
|
+
}
|
|
2326
|
+
}), B && Ee.observe(l, {
|
|
2327
|
+
childList: !0,
|
|
2328
|
+
attributes: !0,
|
|
2329
|
+
characterData: !0,
|
|
2330
|
+
subtree: !0
|
|
2331
|
+
});
|
|
2332
|
+
}
|
|
2333
|
+
}
|
|
2334
|
+
function Lo() {
|
|
2335
|
+
Ee && Ee.disconnect();
|
|
2336
|
+
}
|
|
2337
|
+
function To(e) {
|
|
2338
|
+
var t = e.getAttribute("style"), a = [];
|
|
2339
|
+
return t && (a = t.split(";").reduce(function(n, r) {
|
|
2340
|
+
var i = r.split(":"), o = i[0], s = i.slice(1);
|
|
2341
|
+
return o && s.length > 0 && (n[o] = s.join(":").trim()), n;
|
|
2342
|
+
}, {})), a;
|
|
2343
|
+
}
|
|
2344
|
+
function Mo(e) {
|
|
2345
|
+
var t = e.getAttribute("data-prefix"), a = e.getAttribute("data-icon"), n = e.innerText !== void 0 ? e.innerText.trim() : "", r = Ce(ut(e));
|
|
2346
|
+
return r.prefix || (r.prefix = H()), t && a && (r.prefix = t, r.iconName = a), r.iconName && r.prefix || (r.prefix && n.length > 0 && (r.iconName = ro(r.prefix, e.innerText) || pt(r.prefix, Va(e.innerText))), !r.iconName && m.autoFetchSvg && e.firstChild && e.firstChild.nodeType === Node.TEXT_NODE && (r.iconName = e.firstChild.data)), r;
|
|
2347
|
+
}
|
|
2348
|
+
function jo(e) {
|
|
2349
|
+
var t = ie(e.attributes).reduce(function(a, n) {
|
|
2350
|
+
return a.name !== "class" && a.name !== "style" && (a[n.name] = n.value), a;
|
|
2351
|
+
}, {});
|
|
2352
|
+
return t;
|
|
2353
|
+
}
|
|
2354
|
+
function Do() {
|
|
2355
|
+
return {
|
|
2356
|
+
iconName: null,
|
|
2357
|
+
prefix: null,
|
|
2358
|
+
transform: D,
|
|
2359
|
+
symbol: !1,
|
|
2360
|
+
mask: {
|
|
2361
|
+
iconName: null,
|
|
2362
|
+
prefix: null,
|
|
2363
|
+
rest: []
|
|
2364
|
+
},
|
|
2365
|
+
maskId: null,
|
|
2366
|
+
extra: {
|
|
2367
|
+
classes: [],
|
|
2368
|
+
styles: {},
|
|
2369
|
+
attributes: {}
|
|
2370
|
+
}
|
|
2371
|
+
};
|
|
2372
|
+
}
|
|
2373
|
+
function Vt(e) {
|
|
2374
|
+
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {
|
|
2375
|
+
styleParser: !0
|
|
2376
|
+
}, a = Mo(e), n = a.iconName, r = a.prefix, i = a.rest, o = jo(e), s = qe("parseNodeAttributes", {}, e), l = t.styleParser ? To(e) : [];
|
|
2377
|
+
return f({
|
|
2378
|
+
iconName: n,
|
|
2379
|
+
prefix: r,
|
|
2380
|
+
transform: D,
|
|
2381
|
+
mask: {
|
|
2382
|
+
iconName: null,
|
|
2383
|
+
prefix: null,
|
|
2384
|
+
rest: []
|
|
2385
|
+
},
|
|
2386
|
+
maskId: null,
|
|
2387
|
+
symbol: !1,
|
|
2388
|
+
extra: {
|
|
2389
|
+
classes: i,
|
|
2390
|
+
styles: l,
|
|
2391
|
+
attributes: o
|
|
2392
|
+
}
|
|
2393
|
+
}, s);
|
|
2394
|
+
}
|
|
2395
|
+
var zo = M.styles;
|
|
2396
|
+
function fn(e) {
|
|
2397
|
+
var t = m.autoReplaceSvg === "nest" ? Vt(e, {
|
|
2398
|
+
styleParser: !1
|
|
2399
|
+
}) : Vt(e);
|
|
2400
|
+
return ~t.extra.classes.indexOf(Ua) ? G("generateLayersText", e, t) : G("generateSvgReplacementMutation", e, t);
|
|
2401
|
+
}
|
|
2402
|
+
function $o() {
|
|
2403
|
+
return [].concat(j(La), j(Ta));
|
|
2404
|
+
}
|
|
2405
|
+
function Xt(e) {
|
|
2406
|
+
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null;
|
|
2407
|
+
if (!B) return Promise.resolve();
|
|
2408
|
+
var a = k.documentElement.classList, n = function(u) {
|
|
2409
|
+
return a.add("".concat(Lt, "-").concat(u));
|
|
2410
|
+
}, r = function(u) {
|
|
2411
|
+
return a.remove("".concat(Lt, "-").concat(u));
|
|
2412
|
+
}, i = m.autoFetchSvg ? $o() : pa.concat(Object.keys(zo));
|
|
2413
|
+
i.includes("fa") || i.push("fa");
|
|
2414
|
+
var o = [".".concat(Ua, ":not([").concat(K, "])")].concat(i.map(function(d) {
|
|
2415
|
+
return ".".concat(d, ":not([").concat(K, "])");
|
|
2416
|
+
})).join(", ");
|
|
2417
|
+
if (o.length === 0)
|
|
2418
|
+
return Promise.resolve();
|
|
2419
|
+
var s = [];
|
|
2420
|
+
try {
|
|
2421
|
+
s = ie(e.querySelectorAll(o));
|
|
2422
|
+
} catch {
|
|
2423
|
+
}
|
|
2424
|
+
if (s.length > 0)
|
|
2425
|
+
n("pending"), r("complete");
|
|
2426
|
+
else
|
|
2427
|
+
return Promise.resolve();
|
|
2428
|
+
var l = vt.begin("onTree"), c = s.reduce(function(d, u) {
|
|
2429
|
+
try {
|
|
2430
|
+
var h = fn(u);
|
|
2431
|
+
h && d.push(h);
|
|
2432
|
+
} catch (p) {
|
|
2433
|
+
$a || p.name === "MissingIcon" && console.error(p);
|
|
2434
|
+
}
|
|
2435
|
+
return d;
|
|
2436
|
+
}, []);
|
|
2437
|
+
return new Promise(function(d, u) {
|
|
2438
|
+
Promise.all(c).then(function(h) {
|
|
2439
|
+
sn(h, function() {
|
|
2440
|
+
n("active"), n("complete"), r("pending"), typeof t == "function" && t(), l(), d();
|
|
2441
|
+
});
|
|
2442
|
+
}).catch(function(h) {
|
|
2443
|
+
l(), u(h);
|
|
2444
|
+
});
|
|
2445
|
+
});
|
|
2446
|
+
}
|
|
2447
|
+
function Ro(e) {
|
|
2448
|
+
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null;
|
|
2449
|
+
fn(e).then(function(a) {
|
|
2450
|
+
a && sn([a], t);
|
|
2451
|
+
});
|
|
2452
|
+
}
|
|
2453
|
+
function Uo(e) {
|
|
2454
|
+
return function(t) {
|
|
2455
|
+
var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = (t || {}).icon ? t : Qe(t || {}), r = a.mask;
|
|
2456
|
+
return r && (r = (r || {}).icon ? r : Qe(r || {})), e(n, f(f({}, a), {}, {
|
|
2457
|
+
mask: r
|
|
2458
|
+
}));
|
|
2459
|
+
};
|
|
2460
|
+
}
|
|
2461
|
+
var Wo = function(t) {
|
|
2462
|
+
var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = a.transform, r = n === void 0 ? D : n, i = a.symbol, o = i === void 0 ? !1 : i, s = a.mask, l = s === void 0 ? null : s, c = a.maskId, d = c === void 0 ? null : c, u = a.classes, h = u === void 0 ? [] : u, p = a.attributes, w = p === void 0 ? {} : p, y = a.styles, A = y === void 0 ? {} : y;
|
|
2463
|
+
if (t) {
|
|
2464
|
+
var I = t.prefix, P = t.iconName, F = t.icon;
|
|
2465
|
+
return _e(f({
|
|
2466
|
+
type: "icon"
|
|
2467
|
+
}, t), function() {
|
|
2468
|
+
return J("beforeDOMElementCreation", {
|
|
2469
|
+
iconDefinition: t,
|
|
2470
|
+
params: a
|
|
2471
|
+
}), ht({
|
|
2472
|
+
icons: {
|
|
2473
|
+
main: Ze(F),
|
|
2474
|
+
mask: l ? Ze(l.icon) : {
|
|
2475
|
+
found: !1,
|
|
2476
|
+
width: null,
|
|
2477
|
+
height: null,
|
|
2478
|
+
icon: {}
|
|
2479
|
+
}
|
|
2480
|
+
},
|
|
2481
|
+
prefix: I,
|
|
2482
|
+
iconName: P,
|
|
2483
|
+
transform: f(f({}, D), r),
|
|
2484
|
+
symbol: o,
|
|
2485
|
+
maskId: d,
|
|
2486
|
+
extra: {
|
|
2487
|
+
attributes: w,
|
|
2488
|
+
styles: A,
|
|
2489
|
+
classes: h
|
|
2490
|
+
}
|
|
2491
|
+
});
|
|
2492
|
+
});
|
|
2493
|
+
}
|
|
2494
|
+
}, Bo = {
|
|
2495
|
+
mixout: function() {
|
|
2496
|
+
return {
|
|
2497
|
+
icon: Uo(Wo)
|
|
2498
|
+
};
|
|
2499
|
+
},
|
|
2500
|
+
hooks: function() {
|
|
2501
|
+
return {
|
|
2502
|
+
mutationObserverCallbacks: function(a) {
|
|
2503
|
+
return a.treeCallback = Xt, a.nodeCallback = Ro, a;
|
|
2504
|
+
}
|
|
2505
|
+
};
|
|
2506
|
+
},
|
|
2507
|
+
provides: function(t) {
|
|
2508
|
+
t.i2svg = function(a) {
|
|
2509
|
+
var n = a.node, r = n === void 0 ? k : n, i = a.callback, o = i === void 0 ? function() {
|
|
2510
|
+
} : i;
|
|
2511
|
+
return Xt(r, o);
|
|
2512
|
+
}, t.generateSvgReplacementMutation = function(a, n) {
|
|
2513
|
+
var r = n.iconName, i = n.prefix, o = n.transform, s = n.symbol, l = n.mask, c = n.maskId, d = n.extra;
|
|
2514
|
+
return new Promise(function(u, h) {
|
|
2515
|
+
Promise.all([et(r, i), l.iconName ? et(l.iconName, l.prefix) : Promise.resolve({
|
|
2516
|
+
found: !1,
|
|
2517
|
+
width: 512,
|
|
2518
|
+
height: 512,
|
|
2519
|
+
icon: {}
|
|
2520
|
+
})]).then(function(p) {
|
|
2521
|
+
var w = Pe(p, 2), y = w[0], A = w[1];
|
|
2522
|
+
u([a, ht({
|
|
2523
|
+
icons: {
|
|
2524
|
+
main: y,
|
|
2525
|
+
mask: A
|
|
2526
|
+
},
|
|
2527
|
+
prefix: i,
|
|
2528
|
+
iconName: r,
|
|
2529
|
+
transform: o,
|
|
2530
|
+
symbol: s,
|
|
2531
|
+
maskId: c,
|
|
2532
|
+
extra: d,
|
|
2533
|
+
watchable: !0
|
|
2534
|
+
})]);
|
|
2535
|
+
}).catch(h);
|
|
2536
|
+
});
|
|
2537
|
+
}, t.generateAbstractIcon = function(a) {
|
|
2538
|
+
var n = a.children, r = a.attributes, i = a.main, o = a.transform, s = a.styles, l = Ne(s);
|
|
2539
|
+
l.length > 0 && (r.style = l);
|
|
2540
|
+
var c;
|
|
2541
|
+
return dt(o) && (c = G("generateAbstractTransformGrouping", {
|
|
2542
|
+
main: i,
|
|
2543
|
+
transform: o,
|
|
2544
|
+
containerWidth: i.width,
|
|
2545
|
+
iconWidth: i.width
|
|
2546
|
+
})), n.push(c || i.icon), {
|
|
2547
|
+
children: n,
|
|
2548
|
+
attributes: r
|
|
2549
|
+
};
|
|
2550
|
+
};
|
|
2551
|
+
}
|
|
2552
|
+
}, Yo = {
|
|
2553
|
+
mixout: function() {
|
|
2554
|
+
return {
|
|
2555
|
+
layer: function(a) {
|
|
2556
|
+
var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = n.classes, i = r === void 0 ? [] : r;
|
|
2557
|
+
return _e({
|
|
2558
|
+
type: "layer"
|
|
2559
|
+
}, function() {
|
|
2560
|
+
J("beforeDOMElementCreation", {
|
|
2561
|
+
assembler: a,
|
|
2562
|
+
params: n
|
|
2563
|
+
});
|
|
2564
|
+
var o = [];
|
|
2565
|
+
return a(function(s) {
|
|
2566
|
+
Array.isArray(s) ? s.map(function(l) {
|
|
2567
|
+
o = o.concat(l.abstract);
|
|
2568
|
+
}) : o = o.concat(s.abstract);
|
|
2569
|
+
}), [{
|
|
2570
|
+
tag: "span",
|
|
2571
|
+
attributes: {
|
|
2572
|
+
class: ["".concat(m.cssPrefix, "-layers")].concat(j(i)).join(" ")
|
|
2573
|
+
},
|
|
2574
|
+
children: o
|
|
2575
|
+
}];
|
|
2576
|
+
});
|
|
2577
|
+
}
|
|
2578
|
+
};
|
|
2579
|
+
}
|
|
2580
|
+
}, Ho = {
|
|
2581
|
+
mixout: function() {
|
|
2582
|
+
return {
|
|
2583
|
+
counter: function(a) {
|
|
2584
|
+
var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
2585
|
+
n.title;
|
|
2586
|
+
var r = n.classes, i = r === void 0 ? [] : r, o = n.attributes, s = o === void 0 ? {} : o, l = n.styles, c = l === void 0 ? {} : l;
|
|
2587
|
+
return _e({
|
|
2588
|
+
type: "counter",
|
|
2589
|
+
content: a
|
|
2590
|
+
}, function() {
|
|
2591
|
+
return J("beforeDOMElementCreation", {
|
|
2592
|
+
content: a,
|
|
2593
|
+
params: n
|
|
2594
|
+
}), Ao({
|
|
2595
|
+
content: a.toString(),
|
|
2596
|
+
extra: {
|
|
2597
|
+
attributes: s,
|
|
2598
|
+
styles: c,
|
|
2599
|
+
classes: ["".concat(m.cssPrefix, "-layers-counter")].concat(j(i))
|
|
2600
|
+
}
|
|
2601
|
+
});
|
|
2602
|
+
});
|
|
2603
|
+
}
|
|
2604
|
+
};
|
|
2605
|
+
}
|
|
2606
|
+
}, Go = {
|
|
2607
|
+
mixout: function() {
|
|
2608
|
+
return {
|
|
2609
|
+
text: function(a) {
|
|
2610
|
+
var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = n.transform, i = r === void 0 ? D : r, o = n.classes, s = o === void 0 ? [] : o, l = n.attributes, c = l === void 0 ? {} : l, d = n.styles, u = d === void 0 ? {} : d;
|
|
2611
|
+
return _e({
|
|
2612
|
+
type: "text",
|
|
2613
|
+
content: a
|
|
2614
|
+
}, function() {
|
|
2615
|
+
return J("beforeDOMElementCreation", {
|
|
2616
|
+
content: a,
|
|
2617
|
+
params: n
|
|
2618
|
+
}), Wt({
|
|
2619
|
+
content: a,
|
|
2620
|
+
transform: f(f({}, D), i),
|
|
2621
|
+
extra: {
|
|
2622
|
+
attributes: c,
|
|
2623
|
+
styles: u,
|
|
2624
|
+
classes: ["".concat(m.cssPrefix, "-layers-text")].concat(j(s))
|
|
2625
|
+
}
|
|
2626
|
+
});
|
|
2627
|
+
});
|
|
2628
|
+
}
|
|
2629
|
+
};
|
|
2630
|
+
},
|
|
2631
|
+
provides: function(t) {
|
|
2632
|
+
t.generateLayersText = function(a, n) {
|
|
2633
|
+
var r = n.transform, i = n.extra, o = null, s = null;
|
|
2634
|
+
if (da) {
|
|
2635
|
+
var l = parseInt(getComputedStyle(a).fontSize, 10), c = a.getBoundingClientRect();
|
|
2636
|
+
o = c.width / l, s = c.height / l;
|
|
2637
|
+
}
|
|
2638
|
+
return Promise.resolve([a, Wt({
|
|
2639
|
+
content: a.innerHTML,
|
|
2640
|
+
width: o,
|
|
2641
|
+
height: s,
|
|
2642
|
+
transform: r,
|
|
2643
|
+
extra: i,
|
|
2644
|
+
watchable: !0
|
|
2645
|
+
})]);
|
|
2646
|
+
};
|
|
2647
|
+
}
|
|
2648
|
+
}, cn = new RegExp('"', "ug"), Kt = [1105920, 1112319], Jt = f(f(f(f({}, {
|
|
2649
|
+
FontAwesome: {
|
|
2650
|
+
normal: "fas",
|
|
2651
|
+
400: "fas"
|
|
2652
|
+
}
|
|
2653
|
+
}), Ir), Oi), Tr), nt = Object.keys(Jt).reduce(function(e, t) {
|
|
2654
|
+
return e[t.toLowerCase()] = Jt[t], e;
|
|
2655
|
+
}, {}), Vo = Object.keys(nt).reduce(function(e, t) {
|
|
2656
|
+
var a = nt[t];
|
|
2657
|
+
return e[t] = a[900] || j(Object.entries(a))[0][1], e;
|
|
2658
|
+
}, {});
|
|
2659
|
+
function Xo(e) {
|
|
2660
|
+
var t = e.replace(cn, "");
|
|
2661
|
+
return Va(j(t)[0] || "");
|
|
2662
|
+
}
|
|
2663
|
+
function Ko(e) {
|
|
2664
|
+
var t = e.getPropertyValue("font-feature-settings").includes("ss01"), a = e.getPropertyValue("content"), n = a.replace(cn, ""), r = n.codePointAt(0), i = r >= Kt[0] && r <= Kt[1], o = n.length === 2 ? n[0] === n[1] : !1;
|
|
2665
|
+
return i || o || t;
|
|
2666
|
+
}
|
|
2667
|
+
function Jo(e, t) {
|
|
2668
|
+
var a = e.replace(/^['"]|['"]$/g, "").toLowerCase(), n = parseInt(t), r = isNaN(n) ? "normal" : n;
|
|
2669
|
+
return (nt[a] || {})[r] || Vo[a];
|
|
2670
|
+
}
|
|
2671
|
+
function qt(e, t) {
|
|
2672
|
+
var a = "".concat(Li).concat(t.replace(":", "-"));
|
|
2673
|
+
return new Promise(function(n, r) {
|
|
2674
|
+
if (e.getAttribute(a) !== null)
|
|
2675
|
+
return n();
|
|
2676
|
+
var i = ie(e.children), o = i.filter(function(q) {
|
|
2677
|
+
return q.getAttribute(Ge) === t;
|
|
2678
|
+
})[0], s = Y.getComputedStyle(e, t), l = s.getPropertyValue("font-family"), c = l.match(zi), d = s.getPropertyValue("font-weight"), u = s.getPropertyValue("content");
|
|
2679
|
+
if (o && !c)
|
|
2680
|
+
return e.removeChild(o), n();
|
|
2681
|
+
if (c && u !== "none" && u !== "") {
|
|
2682
|
+
var h = s.getPropertyValue("content"), p = Jo(l, d), w = Xo(h), y = c[0].startsWith("FontAwesome"), A = Ko(s), I = pt(p, w), P = I;
|
|
2683
|
+
if (y) {
|
|
2684
|
+
var F = io(w);
|
|
2685
|
+
F.iconName && F.prefix && (I = F.iconName, p = F.prefix);
|
|
2686
|
+
}
|
|
2687
|
+
if (I && !A && (!o || o.getAttribute(lt) !== p || o.getAttribute(ft) !== P)) {
|
|
2688
|
+
e.setAttribute(a, P), o && e.removeChild(o);
|
|
2689
|
+
var T = Do(), b = T.extra;
|
|
2690
|
+
b.attributes[Ge] = t, et(I, p).then(function(q) {
|
|
2691
|
+
var oe = ht(f(f({}, T), {}, {
|
|
2692
|
+
icons: {
|
|
2693
|
+
main: q,
|
|
2694
|
+
mask: an()
|
|
2695
|
+
},
|
|
2696
|
+
prefix: p,
|
|
2697
|
+
iconName: P,
|
|
2698
|
+
extra: b,
|
|
2699
|
+
watchable: !0
|
|
2700
|
+
})), se = k.createElementNS("http://www.w3.org/2000/svg", "svg");
|
|
2701
|
+
t === "::before" ? e.insertBefore(se, e.firstChild) : e.appendChild(se), se.outerHTML = oe.map(function(Oe) {
|
|
2702
|
+
return he(Oe);
|
|
2703
|
+
}).join(`
|
|
2704
|
+
`), e.removeAttribute(a), n();
|
|
2705
|
+
}).catch(r);
|
|
2706
|
+
} else
|
|
2707
|
+
n();
|
|
2708
|
+
} else
|
|
2709
|
+
n();
|
|
2710
|
+
});
|
|
2711
|
+
}
|
|
2712
|
+
function qo(e) {
|
|
2713
|
+
return Promise.all([qt(e, "::before"), qt(e, "::after")]);
|
|
2714
|
+
}
|
|
2715
|
+
function Qo(e) {
|
|
2716
|
+
return e.parentNode !== document.head && !~Mi.indexOf(e.tagName.toUpperCase()) && !e.getAttribute(Ge) && (!e.parentNode || e.parentNode.tagName !== "svg");
|
|
2717
|
+
}
|
|
2718
|
+
var Zo = function(t) {
|
|
2719
|
+
return !!t && za.some(function(a) {
|
|
2720
|
+
return t.includes(a);
|
|
2721
|
+
});
|
|
2722
|
+
}, es = function(t) {
|
|
2723
|
+
if (!t) return [];
|
|
2724
|
+
var a = /* @__PURE__ */ new Set(), n = t.split(/,(?![^()]*\))/).map(function(l) {
|
|
2725
|
+
return l.trim();
|
|
2726
|
+
});
|
|
2727
|
+
n = n.flatMap(function(l) {
|
|
2728
|
+
return l.includes("(") ? l : l.split(",").map(function(c) {
|
|
2729
|
+
return c.trim();
|
|
2730
|
+
});
|
|
2731
|
+
});
|
|
2732
|
+
var r = Se(n), i;
|
|
2733
|
+
try {
|
|
2734
|
+
for (r.s(); !(i = r.n()).done; ) {
|
|
2735
|
+
var o = i.value;
|
|
2736
|
+
if (Zo(o)) {
|
|
2737
|
+
var s = za.reduce(function(l, c) {
|
|
2738
|
+
return l.replace(c, "");
|
|
2739
|
+
}, o);
|
|
2740
|
+
s !== "" && s !== "*" && a.add(s);
|
|
2741
|
+
}
|
|
2742
|
+
}
|
|
2743
|
+
} catch (l) {
|
|
2744
|
+
r.e(l);
|
|
2745
|
+
} finally {
|
|
2746
|
+
r.f();
|
|
2747
|
+
}
|
|
2748
|
+
return a;
|
|
2749
|
+
};
|
|
2750
|
+
function Qt(e) {
|
|
2751
|
+
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
|
|
2752
|
+
if (B) {
|
|
2753
|
+
var a;
|
|
2754
|
+
if (t)
|
|
2755
|
+
a = e;
|
|
2756
|
+
else if (m.searchPseudoElementsFullScan)
|
|
2757
|
+
a = e.querySelectorAll("*");
|
|
2758
|
+
else {
|
|
2759
|
+
var n = /* @__PURE__ */ new Set(), r = Se(document.styleSheets), i;
|
|
2760
|
+
try {
|
|
2761
|
+
for (r.s(); !(i = r.n()).done; ) {
|
|
2762
|
+
var o = i.value;
|
|
2763
|
+
try {
|
|
2764
|
+
var s = Se(o.cssRules), l;
|
|
2765
|
+
try {
|
|
2766
|
+
for (s.s(); !(l = s.n()).done; ) {
|
|
2767
|
+
var c = l.value, d = es(c.selectorText), u = Se(d), h;
|
|
2768
|
+
try {
|
|
2769
|
+
for (u.s(); !(h = u.n()).done; ) {
|
|
2770
|
+
var p = h.value;
|
|
2771
|
+
n.add(p);
|
|
2772
|
+
}
|
|
2773
|
+
} catch (y) {
|
|
2774
|
+
u.e(y);
|
|
2775
|
+
} finally {
|
|
2776
|
+
u.f();
|
|
2777
|
+
}
|
|
2778
|
+
}
|
|
2779
|
+
} catch (y) {
|
|
2780
|
+
s.e(y);
|
|
2781
|
+
} finally {
|
|
2782
|
+
s.f();
|
|
2783
|
+
}
|
|
2784
|
+
} catch (y) {
|
|
2785
|
+
m.searchPseudoElementsWarnings && console.warn("Font Awesome: cannot parse stylesheet: ".concat(o.href, " (").concat(y.message, `)
|
|
2786
|
+
If it declares any Font Awesome CSS pseudo-elements, they will not be rendered as SVG icons. Add crossorigin="anonymous" to the <link>, enable searchPseudoElementsFullScan for slower but more thorough DOM parsing, or suppress this warning by setting searchPseudoElementsWarnings to false.`));
|
|
2787
|
+
}
|
|
2788
|
+
}
|
|
2789
|
+
} catch (y) {
|
|
2790
|
+
r.e(y);
|
|
2791
|
+
} finally {
|
|
2792
|
+
r.f();
|
|
2793
|
+
}
|
|
2794
|
+
if (!n.size) return;
|
|
2795
|
+
var w = Array.from(n).join(", ");
|
|
2796
|
+
try {
|
|
2797
|
+
a = e.querySelectorAll(w);
|
|
2798
|
+
} catch {
|
|
2799
|
+
}
|
|
2800
|
+
}
|
|
2801
|
+
return new Promise(function(y, A) {
|
|
2802
|
+
var I = ie(a).filter(Qo).map(qo), P = vt.begin("searchPseudoElements");
|
|
2803
|
+
ln(), Promise.all(I).then(function() {
|
|
2804
|
+
P(), at(), y();
|
|
2805
|
+
}).catch(function() {
|
|
2806
|
+
P(), at(), A();
|
|
2807
|
+
});
|
|
2808
|
+
});
|
|
2809
|
+
}
|
|
2810
|
+
}
|
|
2811
|
+
var ts = {
|
|
2812
|
+
hooks: function() {
|
|
2813
|
+
return {
|
|
2814
|
+
mutationObserverCallbacks: function(a) {
|
|
2815
|
+
return a.pseudoElementsCallback = Qt, a;
|
|
2816
|
+
}
|
|
2817
|
+
};
|
|
2818
|
+
},
|
|
2819
|
+
provides: function(t) {
|
|
2820
|
+
t.pseudoElements2svg = function(a) {
|
|
2821
|
+
var n = a.node, r = n === void 0 ? k : n;
|
|
2822
|
+
m.searchPseudoElements && Qt(r);
|
|
2823
|
+
};
|
|
2824
|
+
}
|
|
2825
|
+
}, Zt = !1, as = {
|
|
2826
|
+
mixout: function() {
|
|
2827
|
+
return {
|
|
2828
|
+
dom: {
|
|
2829
|
+
unwatch: function() {
|
|
2830
|
+
ln(), Zt = !0;
|
|
2831
|
+
}
|
|
2832
|
+
}
|
|
2833
|
+
};
|
|
2834
|
+
},
|
|
2835
|
+
hooks: function() {
|
|
2836
|
+
return {
|
|
2837
|
+
bootstrap: function() {
|
|
2838
|
+
Gt(qe("mutationObserverCallbacks", {}));
|
|
2839
|
+
},
|
|
2840
|
+
noAuto: function() {
|
|
2841
|
+
Lo();
|
|
2842
|
+
},
|
|
2843
|
+
watch: function(a) {
|
|
2844
|
+
var n = a.observeMutationsRoot;
|
|
2845
|
+
Zt ? at() : Gt(qe("mutationObserverCallbacks", {
|
|
2846
|
+
observeMutationsRoot: n
|
|
2847
|
+
}));
|
|
2848
|
+
}
|
|
2849
|
+
};
|
|
2850
|
+
}
|
|
2851
|
+
}, ea = function(t) {
|
|
2852
|
+
var a = {
|
|
2853
|
+
size: 16,
|
|
2854
|
+
x: 0,
|
|
2855
|
+
y: 0,
|
|
2856
|
+
flipX: !1,
|
|
2857
|
+
flipY: !1,
|
|
2858
|
+
rotate: 0
|
|
2859
|
+
};
|
|
2860
|
+
return t.toLowerCase().split(" ").reduce(function(n, r) {
|
|
2861
|
+
var i = r.toLowerCase().split("-"), o = i[0], s = i.slice(1).join("-");
|
|
2862
|
+
if (o && s === "h")
|
|
2863
|
+
return n.flipX = !0, n;
|
|
2864
|
+
if (o && s === "v")
|
|
2865
|
+
return n.flipY = !0, n;
|
|
2866
|
+
if (s = parseFloat(s), isNaN(s))
|
|
2867
|
+
return n;
|
|
2868
|
+
switch (o) {
|
|
2869
|
+
case "grow":
|
|
2870
|
+
n.size = n.size + s;
|
|
2871
|
+
break;
|
|
2872
|
+
case "shrink":
|
|
2873
|
+
n.size = n.size - s;
|
|
2874
|
+
break;
|
|
2875
|
+
case "left":
|
|
2876
|
+
n.x = n.x - s;
|
|
2877
|
+
break;
|
|
2878
|
+
case "right":
|
|
2879
|
+
n.x = n.x + s;
|
|
2880
|
+
break;
|
|
2881
|
+
case "up":
|
|
2882
|
+
n.y = n.y - s;
|
|
2883
|
+
break;
|
|
2884
|
+
case "down":
|
|
2885
|
+
n.y = n.y + s;
|
|
2886
|
+
break;
|
|
2887
|
+
case "rotate":
|
|
2888
|
+
n.rotate = n.rotate + s;
|
|
2889
|
+
break;
|
|
2890
|
+
}
|
|
2891
|
+
return n;
|
|
2892
|
+
}, a);
|
|
2893
|
+
}, ns = {
|
|
2894
|
+
mixout: function() {
|
|
2895
|
+
return {
|
|
2896
|
+
parse: {
|
|
2897
|
+
transform: function(a) {
|
|
2898
|
+
return ea(a);
|
|
2899
|
+
}
|
|
2900
|
+
}
|
|
2901
|
+
};
|
|
2902
|
+
},
|
|
2903
|
+
hooks: function() {
|
|
2904
|
+
return {
|
|
2905
|
+
parseNodeAttributes: function(a, n) {
|
|
2906
|
+
var r = n.getAttribute("data-fa-transform");
|
|
2907
|
+
return r && (a.transform = ea(r)), a;
|
|
2908
|
+
}
|
|
2909
|
+
};
|
|
2910
|
+
},
|
|
2911
|
+
provides: function(t) {
|
|
2912
|
+
t.generateAbstractTransformGrouping = function(a) {
|
|
2913
|
+
var n = a.main, r = a.transform, i = a.containerWidth, o = a.iconWidth, s = {
|
|
2914
|
+
transform: "translate(".concat(i / 2, " 256)")
|
|
2915
|
+
}, l = "translate(".concat(r.x * 32, ", ").concat(r.y * 32, ") "), c = "scale(".concat(r.size / 16 * (r.flipX ? -1 : 1), ", ").concat(r.size / 16 * (r.flipY ? -1 : 1), ") "), d = "rotate(".concat(r.rotate, " 0 0)"), u = {
|
|
2916
|
+
transform: "".concat(l, " ").concat(c, " ").concat(d)
|
|
2917
|
+
}, h = {
|
|
2918
|
+
transform: "translate(".concat(o / 2 * -1, " -256)")
|
|
2919
|
+
}, p = {
|
|
2920
|
+
outer: s,
|
|
2921
|
+
inner: u,
|
|
2922
|
+
path: h
|
|
2923
|
+
};
|
|
2924
|
+
return {
|
|
2925
|
+
tag: "g",
|
|
2926
|
+
attributes: f({}, p.outer),
|
|
2927
|
+
children: [{
|
|
2928
|
+
tag: "g",
|
|
2929
|
+
attributes: f({}, p.inner),
|
|
2930
|
+
children: [{
|
|
2931
|
+
tag: n.icon.tag,
|
|
2932
|
+
children: n.icon.children,
|
|
2933
|
+
attributes: f(f({}, n.icon.attributes), p.path)
|
|
2934
|
+
}]
|
|
2935
|
+
}]
|
|
2936
|
+
};
|
|
2937
|
+
};
|
|
2938
|
+
}
|
|
2939
|
+
}, We = {
|
|
2940
|
+
x: 0,
|
|
2941
|
+
y: 0,
|
|
2942
|
+
width: "100%",
|
|
2943
|
+
height: "100%"
|
|
2944
|
+
};
|
|
2945
|
+
function ta(e) {
|
|
2946
|
+
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0;
|
|
2947
|
+
return e.attributes && (e.attributes.fill || t) && (e.attributes.fill = "black"), e;
|
|
2948
|
+
}
|
|
2949
|
+
function rs(e) {
|
|
2950
|
+
return e.tag === "g" ? e.children : [e];
|
|
2951
|
+
}
|
|
2952
|
+
var is = {
|
|
2953
|
+
hooks: function() {
|
|
2954
|
+
return {
|
|
2955
|
+
parseNodeAttributes: function(a, n) {
|
|
2956
|
+
var r = n.getAttribute("data-fa-mask"), i = r ? Ce(r.split(" ").map(function(o) {
|
|
2957
|
+
return o.trim();
|
|
2958
|
+
})) : an();
|
|
2959
|
+
return i.prefix || (i.prefix = H()), a.mask = i, a.maskId = n.getAttribute("data-fa-mask-id"), a;
|
|
2960
|
+
}
|
|
2961
|
+
};
|
|
2962
|
+
},
|
|
2963
|
+
provides: function(t) {
|
|
2964
|
+
t.generateAbstractMask = function(a) {
|
|
2965
|
+
var n = a.children, r = a.attributes, i = a.main, o = a.mask, s = a.maskId, l = a.transform, c = i.width, d = i.icon, u = o.width, h = o.icon, p = Ki({
|
|
2966
|
+
transform: l,
|
|
2967
|
+
containerWidth: u,
|
|
2968
|
+
iconWidth: c
|
|
2969
|
+
}), w = {
|
|
2970
|
+
tag: "rect",
|
|
2971
|
+
attributes: f(f({}, We), {}, {
|
|
2972
|
+
fill: "white"
|
|
2973
|
+
})
|
|
2974
|
+
}, y = d.children ? {
|
|
2975
|
+
children: d.children.map(ta)
|
|
2976
|
+
} : {}, A = {
|
|
2977
|
+
tag: "g",
|
|
2978
|
+
attributes: f({}, p.inner),
|
|
2979
|
+
children: [ta(f({
|
|
2980
|
+
tag: d.tag,
|
|
2981
|
+
attributes: f(f({}, d.attributes), p.path)
|
|
2982
|
+
}, y))]
|
|
2983
|
+
}, I = {
|
|
2984
|
+
tag: "g",
|
|
2985
|
+
attributes: f({}, p.outer),
|
|
2986
|
+
children: [A]
|
|
2987
|
+
}, P = "mask-".concat(s || Mt()), F = "clip-".concat(s || Mt()), T = {
|
|
2988
|
+
tag: "mask",
|
|
2989
|
+
attributes: f(f({}, We), {}, {
|
|
2990
|
+
id: P,
|
|
2991
|
+
maskUnits: "userSpaceOnUse",
|
|
2992
|
+
maskContentUnits: "userSpaceOnUse"
|
|
2993
|
+
}),
|
|
2994
|
+
children: [w, I]
|
|
2995
|
+
}, b = {
|
|
2996
|
+
tag: "defs",
|
|
2997
|
+
children: [{
|
|
2998
|
+
tag: "clipPath",
|
|
2999
|
+
attributes: {
|
|
3000
|
+
id: F
|
|
3001
|
+
},
|
|
3002
|
+
children: rs(h)
|
|
3003
|
+
}, T]
|
|
3004
|
+
};
|
|
3005
|
+
return n.push(b, {
|
|
3006
|
+
tag: "rect",
|
|
3007
|
+
attributes: f({
|
|
3008
|
+
fill: "currentColor",
|
|
3009
|
+
"clip-path": "url(#".concat(F, ")"),
|
|
3010
|
+
mask: "url(#".concat(P, ")")
|
|
3011
|
+
}, We)
|
|
3012
|
+
}), {
|
|
3013
|
+
children: n,
|
|
3014
|
+
attributes: r
|
|
3015
|
+
};
|
|
3016
|
+
};
|
|
3017
|
+
}
|
|
3018
|
+
}, os = {
|
|
3019
|
+
provides: function(t) {
|
|
3020
|
+
var a = !1;
|
|
3021
|
+
Y.matchMedia && (a = Y.matchMedia("(prefers-reduced-motion: reduce)").matches), t.missingIconAbstract = function() {
|
|
3022
|
+
var n = [], r = {
|
|
3023
|
+
fill: "currentColor"
|
|
3024
|
+
}, i = {
|
|
3025
|
+
attributeType: "XML",
|
|
3026
|
+
repeatCount: "indefinite",
|
|
3027
|
+
dur: "2s"
|
|
3028
|
+
};
|
|
3029
|
+
n.push({
|
|
3030
|
+
tag: "path",
|
|
3031
|
+
attributes: f(f({}, r), {}, {
|
|
3032
|
+
d: "M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"
|
|
3033
|
+
})
|
|
3034
|
+
});
|
|
3035
|
+
var o = f(f({}, i), {}, {
|
|
3036
|
+
attributeName: "opacity"
|
|
3037
|
+
}), s = {
|
|
3038
|
+
tag: "circle",
|
|
3039
|
+
attributes: f(f({}, r), {}, {
|
|
3040
|
+
cx: "256",
|
|
3041
|
+
cy: "364",
|
|
3042
|
+
r: "28"
|
|
3043
|
+
}),
|
|
3044
|
+
children: []
|
|
3045
|
+
};
|
|
3046
|
+
return a || s.children.push({
|
|
3047
|
+
tag: "animate",
|
|
3048
|
+
attributes: f(f({}, i), {}, {
|
|
3049
|
+
attributeName: "r",
|
|
3050
|
+
values: "28;14;28;28;14;28;"
|
|
3051
|
+
})
|
|
3052
|
+
}, {
|
|
3053
|
+
tag: "animate",
|
|
3054
|
+
attributes: f(f({}, o), {}, {
|
|
3055
|
+
values: "1;0;1;1;0;1;"
|
|
3056
|
+
})
|
|
3057
|
+
}), n.push(s), n.push({
|
|
3058
|
+
tag: "path",
|
|
3059
|
+
attributes: f(f({}, r), {}, {
|
|
3060
|
+
opacity: "1",
|
|
3061
|
+
d: "M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"
|
|
3062
|
+
}),
|
|
3063
|
+
children: a ? [] : [{
|
|
3064
|
+
tag: "animate",
|
|
3065
|
+
attributes: f(f({}, o), {}, {
|
|
3066
|
+
values: "1;0;0;0;0;1;"
|
|
3067
|
+
})
|
|
3068
|
+
}]
|
|
3069
|
+
}), a || n.push({
|
|
3070
|
+
tag: "path",
|
|
3071
|
+
attributes: f(f({}, r), {}, {
|
|
3072
|
+
opacity: "0",
|
|
3073
|
+
d: "M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"
|
|
3074
|
+
}),
|
|
3075
|
+
children: [{
|
|
3076
|
+
tag: "animate",
|
|
3077
|
+
attributes: f(f({}, o), {}, {
|
|
3078
|
+
values: "0;0;1;1;0;0;"
|
|
3079
|
+
})
|
|
3080
|
+
}]
|
|
3081
|
+
}), {
|
|
3082
|
+
tag: "g",
|
|
3083
|
+
attributes: {
|
|
3084
|
+
class: "missing"
|
|
3085
|
+
},
|
|
3086
|
+
children: n
|
|
3087
|
+
};
|
|
3088
|
+
};
|
|
3089
|
+
}
|
|
3090
|
+
}, ss = {
|
|
3091
|
+
hooks: function() {
|
|
3092
|
+
return {
|
|
3093
|
+
parseNodeAttributes: function(a, n) {
|
|
3094
|
+
var r = n.getAttribute("data-fa-symbol"), i = r === null ? !1 : r === "" ? !0 : r;
|
|
3095
|
+
return a.symbol = i, a;
|
|
3096
|
+
}
|
|
3097
|
+
};
|
|
3098
|
+
}
|
|
3099
|
+
}, ls = [Qi, Bo, Yo, Ho, Go, ts, as, ns, is, os, ss];
|
|
3100
|
+
ho(ls, {
|
|
3101
|
+
mixoutsTo: L
|
|
3102
|
+
});
|
|
3103
|
+
L.noAuto;
|
|
3104
|
+
var re = L.config;
|
|
3105
|
+
L.library;
|
|
3106
|
+
L.dom;
|
|
3107
|
+
var un = L.parse;
|
|
3108
|
+
L.findIconDefinition;
|
|
3109
|
+
L.toHtml;
|
|
3110
|
+
var fs = L.icon;
|
|
3111
|
+
L.layer;
|
|
3112
|
+
L.text;
|
|
3113
|
+
L.counter;
|
|
3114
|
+
function cs(e) {
|
|
3115
|
+
return e = e - 0, e === e;
|
|
3116
|
+
}
|
|
3117
|
+
function dn(e) {
|
|
3118
|
+
return cs(e) ? e : (e = e.replace(/[_-]+(.)?/g, (t, a) => a ? a.toUpperCase() : ""), e.charAt(0).toLowerCase() + e.slice(1));
|
|
3119
|
+
}
|
|
3120
|
+
var us = (e, t) => it.createElement("stop", {
|
|
3121
|
+
key: `${t}-${e.offset}`,
|
|
3122
|
+
offset: e.offset,
|
|
3123
|
+
stopColor: e.color,
|
|
3124
|
+
...e.opacity !== void 0 && { stopOpacity: e.opacity }
|
|
3125
|
+
});
|
|
3126
|
+
function ds(e) {
|
|
3127
|
+
return e.charAt(0).toUpperCase() + e.slice(1);
|
|
3128
|
+
}
|
|
3129
|
+
var ee = /* @__PURE__ */ new Map(), ms = 1e3;
|
|
3130
|
+
function ps(e) {
|
|
3131
|
+
if (ee.has(e))
|
|
3132
|
+
return ee.get(e);
|
|
3133
|
+
const t = {};
|
|
3134
|
+
let a = 0;
|
|
3135
|
+
const n = e.length;
|
|
3136
|
+
for (; a < n; ) {
|
|
3137
|
+
const r = e.indexOf(";", a), i = r === -1 ? n : r, o = e.slice(a, i).trim();
|
|
3138
|
+
if (o) {
|
|
3139
|
+
const s = o.indexOf(":");
|
|
3140
|
+
if (s > 0) {
|
|
3141
|
+
const l = o.slice(0, s).trim(), c = o.slice(s + 1).trim();
|
|
3142
|
+
if (l && c) {
|
|
3143
|
+
const d = dn(l);
|
|
3144
|
+
t[d.startsWith("webkit") ? ds(d) : d] = c;
|
|
3145
|
+
}
|
|
3146
|
+
}
|
|
3147
|
+
}
|
|
3148
|
+
a = i + 1;
|
|
3149
|
+
}
|
|
3150
|
+
if (ee.size === ms) {
|
|
3151
|
+
const r = ee.keys().next().value;
|
|
3152
|
+
r && ee.delete(r);
|
|
3153
|
+
}
|
|
3154
|
+
return ee.set(e, t), t;
|
|
3155
|
+
}
|
|
3156
|
+
function mn(e, t, a = {}) {
|
|
3157
|
+
if (typeof t == "string")
|
|
3158
|
+
return t;
|
|
3159
|
+
const n = (t.children || []).map((u) => {
|
|
3160
|
+
let h = u;
|
|
3161
|
+
return ("fill" in a || a.gradientFill) && u.tag === "path" && "fill" in u.attributes && (h = {
|
|
3162
|
+
...u,
|
|
3163
|
+
attributes: {
|
|
3164
|
+
...u.attributes,
|
|
3165
|
+
fill: void 0
|
|
3166
|
+
}
|
|
3167
|
+
}), mn(e, h);
|
|
3168
|
+
}), r = t.attributes || {}, i = {};
|
|
3169
|
+
for (const [u, h] of Object.entries(r))
|
|
3170
|
+
switch (!0) {
|
|
3171
|
+
case u === "class": {
|
|
3172
|
+
i.className = h;
|
|
3173
|
+
break;
|
|
3174
|
+
}
|
|
3175
|
+
case u === "style": {
|
|
3176
|
+
i.style = ps(String(h));
|
|
3177
|
+
break;
|
|
3178
|
+
}
|
|
3179
|
+
case u.startsWith("aria-"):
|
|
3180
|
+
case u.startsWith("data-"): {
|
|
3181
|
+
i[u.toLowerCase()] = h;
|
|
3182
|
+
break;
|
|
3183
|
+
}
|
|
3184
|
+
default:
|
|
3185
|
+
i[dn(u)] = h;
|
|
3186
|
+
}
|
|
3187
|
+
const {
|
|
3188
|
+
style: o,
|
|
3189
|
+
role: s,
|
|
3190
|
+
"aria-label": l,
|
|
3191
|
+
gradientFill: c,
|
|
3192
|
+
...d
|
|
3193
|
+
} = a;
|
|
3194
|
+
if (o && (i.style = i.style ? { ...i.style, ...o } : o), s && (i.role = s), l && (i["aria-label"] = l, i["aria-hidden"] = "false"), c) {
|
|
3195
|
+
i.fill = `url(#${c.id})`;
|
|
3196
|
+
const {
|
|
3197
|
+
type: u,
|
|
3198
|
+
stops: h = [],
|
|
3199
|
+
...p
|
|
3200
|
+
} = c;
|
|
3201
|
+
n.unshift(
|
|
3202
|
+
e(
|
|
3203
|
+
u === "linear" ? "linearGradient" : "radialGradient",
|
|
3204
|
+
{
|
|
3205
|
+
...p,
|
|
3206
|
+
id: c.id
|
|
3207
|
+
},
|
|
3208
|
+
h.map(us)
|
|
3209
|
+
)
|
|
3210
|
+
);
|
|
3211
|
+
}
|
|
3212
|
+
return e(t.tag, { ...i, ...d }, ...n);
|
|
3213
|
+
}
|
|
3214
|
+
var hs = mn.bind(null, it.createElement), aa = (e, t) => {
|
|
3215
|
+
const a = Fn();
|
|
3216
|
+
return e || (t ? a : void 0);
|
|
3217
|
+
}, vs = class {
|
|
3218
|
+
constructor(e = "react-fontawesome") {
|
|
3219
|
+
this.enabled = !1;
|
|
3220
|
+
let t = !1;
|
|
3221
|
+
try {
|
|
3222
|
+
t = typeof process < "u" && process.env?.NODE_ENV === "development";
|
|
3223
|
+
} catch {
|
|
3224
|
+
}
|
|
3225
|
+
this.scope = e, this.enabled = t;
|
|
3226
|
+
}
|
|
3227
|
+
/**
|
|
3228
|
+
* Logs messages to the console if not in production.
|
|
3229
|
+
* @param args - The message and/or data to log.
|
|
3230
|
+
*/
|
|
3231
|
+
log(...e) {
|
|
3232
|
+
this.enabled && console.log(`[${this.scope}]`, ...e);
|
|
3233
|
+
}
|
|
3234
|
+
/**
|
|
3235
|
+
* Logs warnings to the console if not in production.
|
|
3236
|
+
* @param args - The warning message and/or data to log.
|
|
3237
|
+
*/
|
|
3238
|
+
warn(...e) {
|
|
3239
|
+
this.enabled && console.warn(`[${this.scope}]`, ...e);
|
|
3240
|
+
}
|
|
3241
|
+
/**
|
|
3242
|
+
* Logs errors to the console if not in production.
|
|
3243
|
+
* @param args - The error message and/or data to log.
|
|
3244
|
+
*/
|
|
3245
|
+
error(...e) {
|
|
3246
|
+
this.enabled && console.error(`[${this.scope}]`, ...e);
|
|
3247
|
+
}
|
|
3248
|
+
};
|
|
3249
|
+
typeof process < "u" && process.env?.FA_VERSION;
|
|
3250
|
+
var gs = (
|
|
3251
|
+
// @ts-expect-error TS2872 - Expression is always truthy - This is true when v7 of SVGCore is used, but not when v6 is used.
|
|
3252
|
+
// This is the point of this check - if the property exists on config, we have v7, otherwise we have v6.
|
|
3253
|
+
// TS is checking this against the dev dependencies which uses v7, so it reports a false error here.
|
|
3254
|
+
"searchPseudoElementsFullScan" in re && typeof re.searchPseudoElementsFullScan == "boolean" ? "7.0.0" : "6.0.0"
|
|
3255
|
+
), bs = Number.parseInt(gs) >= 7, ys = () => bs, ue = "fa", z = {
|
|
3256
|
+
beat: "fa-beat",
|
|
3257
|
+
fade: "fa-fade",
|
|
3258
|
+
beatFade: "fa-beat-fade",
|
|
3259
|
+
bounce: "fa-bounce",
|
|
3260
|
+
shake: "fa-shake",
|
|
3261
|
+
spin: "fa-spin",
|
|
3262
|
+
spinPulse: "fa-spin-pulse",
|
|
3263
|
+
spinReverse: "fa-spin-reverse",
|
|
3264
|
+
pulse: "fa-pulse"
|
|
3265
|
+
}, xs = {
|
|
3266
|
+
left: "fa-pull-left",
|
|
3267
|
+
right: "fa-pull-right"
|
|
3268
|
+
}, Ss = {
|
|
3269
|
+
90: "fa-rotate-90",
|
|
3270
|
+
180: "fa-rotate-180",
|
|
3271
|
+
270: "fa-rotate-270"
|
|
3272
|
+
}, ws = {
|
|
3273
|
+
"2xs": "fa-2xs",
|
|
3274
|
+
xs: "fa-xs",
|
|
3275
|
+
sm: "fa-sm",
|
|
3276
|
+
lg: "fa-lg",
|
|
3277
|
+
xl: "fa-xl",
|
|
3278
|
+
"2xl": "fa-2xl",
|
|
3279
|
+
"1x": "fa-1x",
|
|
3280
|
+
"2x": "fa-2x",
|
|
3281
|
+
"3x": "fa-3x",
|
|
3282
|
+
"4x": "fa-4x",
|
|
3283
|
+
"5x": "fa-5x",
|
|
3284
|
+
"6x": "fa-6x",
|
|
3285
|
+
"7x": "fa-7x",
|
|
3286
|
+
"8x": "fa-8x",
|
|
3287
|
+
"9x": "fa-9x",
|
|
3288
|
+
"10x": "fa-10x"
|
|
3289
|
+
}, $ = {
|
|
3290
|
+
border: "fa-border",
|
|
3291
|
+
/** @deprecated */
|
|
3292
|
+
fixedWidth: "fa-fw",
|
|
3293
|
+
flip: "fa-flip",
|
|
3294
|
+
flipHorizontal: "fa-flip-horizontal",
|
|
3295
|
+
flipVertical: "fa-flip-vertical",
|
|
3296
|
+
inverse: "fa-inverse",
|
|
3297
|
+
rotateBy: "fa-rotate-by",
|
|
3298
|
+
swapOpacity: "fa-swap-opacity",
|
|
3299
|
+
widthAuto: "fa-width-auto"
|
|
3300
|
+
};
|
|
3301
|
+
function As(e) {
|
|
3302
|
+
const t = re.cssPrefix || re.familyPrefix || ue;
|
|
3303
|
+
return t === ue ? e : e.replace(
|
|
3304
|
+
new RegExp(String.raw`(?<=^|\s)${ue}-`, "g"),
|
|
3305
|
+
`${t}-`
|
|
3306
|
+
);
|
|
3307
|
+
}
|
|
3308
|
+
function ks(e) {
|
|
3309
|
+
const {
|
|
3310
|
+
beat: t,
|
|
3311
|
+
fade: a,
|
|
3312
|
+
beatFade: n,
|
|
3313
|
+
bounce: r,
|
|
3314
|
+
shake: i,
|
|
3315
|
+
spin: o,
|
|
3316
|
+
spinPulse: s,
|
|
3317
|
+
spinReverse: l,
|
|
3318
|
+
pulse: c,
|
|
3319
|
+
fixedWidth: d,
|
|
3320
|
+
inverse: u,
|
|
3321
|
+
border: h,
|
|
3322
|
+
flip: p,
|
|
3323
|
+
size: w,
|
|
3324
|
+
rotation: y,
|
|
3325
|
+
pull: A,
|
|
3326
|
+
swapOpacity: I,
|
|
3327
|
+
rotateBy: P,
|
|
3328
|
+
widthAuto: F,
|
|
3329
|
+
className: T
|
|
3330
|
+
} = e, b = [];
|
|
3331
|
+
return T && b.push(...T.split(" ")), t && b.push(z.beat), a && b.push(z.fade), n && b.push(z.beatFade), r && b.push(z.bounce), i && b.push(z.shake), o && b.push(z.spin), l && b.push(z.spinReverse), s && b.push(z.spinPulse), c && b.push(z.pulse), d && b.push($.fixedWidth), u && b.push($.inverse), h && b.push($.border), p === !0 && b.push($.flip), (p === "horizontal" || p === "both") && b.push($.flipHorizontal), (p === "vertical" || p === "both") && b.push($.flipVertical), w != null && b.push(ws[w]), y != null && y !== 0 && b.push(Ss[y]), A != null && b.push(xs[A]), I && b.push($.swapOpacity), ys() ? (P && b.push($.rotateBy), F && b.push($.widthAuto), (re.cssPrefix || re.familyPrefix || ue) === ue ? b : (
|
|
3332
|
+
// TODO: see if we can achieve custom prefix support without iterating
|
|
3333
|
+
// eslint-disable-next-line unicorn/no-array-callback-reference
|
|
3334
|
+
b.map(As)
|
|
3335
|
+
)) : b;
|
|
3336
|
+
}
|
|
3337
|
+
var Is = (e) => typeof e == "object" && "icon" in e && !!e.icon;
|
|
3338
|
+
function na(e) {
|
|
3339
|
+
if (e)
|
|
3340
|
+
return Is(e) ? e : un.icon(e);
|
|
3341
|
+
}
|
|
3342
|
+
function Es(e) {
|
|
3343
|
+
return Object.keys(e);
|
|
3344
|
+
}
|
|
3345
|
+
var ra = new vs("FontAwesomeIcon"), pn = {
|
|
3346
|
+
border: !1,
|
|
3347
|
+
className: "",
|
|
3348
|
+
mask: void 0,
|
|
3349
|
+
maskId: void 0,
|
|
3350
|
+
fixedWidth: !1,
|
|
3351
|
+
inverse: !1,
|
|
3352
|
+
flip: !1,
|
|
3353
|
+
icon: void 0,
|
|
3354
|
+
listItem: !1,
|
|
3355
|
+
pull: void 0,
|
|
3356
|
+
pulse: !1,
|
|
3357
|
+
rotation: void 0,
|
|
3358
|
+
rotateBy: !1,
|
|
3359
|
+
size: void 0,
|
|
3360
|
+
spin: !1,
|
|
3361
|
+
spinPulse: !1,
|
|
3362
|
+
spinReverse: !1,
|
|
3363
|
+
beat: !1,
|
|
3364
|
+
fade: !1,
|
|
3365
|
+
beatFade: !1,
|
|
3366
|
+
bounce: !1,
|
|
3367
|
+
shake: !1,
|
|
3368
|
+
symbol: !1,
|
|
3369
|
+
title: "",
|
|
3370
|
+
titleId: void 0,
|
|
3371
|
+
transform: void 0,
|
|
3372
|
+
swapOpacity: !1,
|
|
3373
|
+
widthAuto: !1
|
|
3374
|
+
}, Ps = new Set(Object.keys(pn)), R = it.forwardRef((e, t) => {
|
|
3375
|
+
const a = { ...pn, ...e }, {
|
|
3376
|
+
icon: n,
|
|
3377
|
+
mask: r,
|
|
3378
|
+
symbol: i,
|
|
3379
|
+
title: o,
|
|
3380
|
+
titleId: s,
|
|
3381
|
+
maskId: l,
|
|
3382
|
+
transform: c
|
|
3383
|
+
} = a, d = aa(l, !!r), u = aa(s, !!o), h = na(n);
|
|
3384
|
+
if (!h)
|
|
3385
|
+
return ra.error("Icon lookup is undefined", n), null;
|
|
3386
|
+
const p = ks(a), w = typeof c == "string" ? un.transform(c) : c, y = na(r), A = fs(h, {
|
|
3387
|
+
...p.length > 0 && { classes: p },
|
|
3388
|
+
...w && { transform: w },
|
|
3389
|
+
...y && { mask: y },
|
|
3390
|
+
symbol: i,
|
|
3391
|
+
title: o,
|
|
3392
|
+
titleId: u,
|
|
3393
|
+
maskId: d
|
|
3394
|
+
});
|
|
3395
|
+
if (!A)
|
|
3396
|
+
return ra.error("Could not find icon", h), null;
|
|
3397
|
+
const { abstract: I } = A, P = { ref: t };
|
|
3398
|
+
for (const F of Es(a))
|
|
3399
|
+
Ps.has(F) || (P[F] = a[F]);
|
|
3400
|
+
return hs(I[0], P);
|
|
3401
|
+
});
|
|
3402
|
+
R.displayName = "FontAwesomeIcon";
|
|
3403
|
+
var Ns = {
|
|
3404
|
+
prefix: "fas",
|
|
3405
|
+
iconName: "caret-right",
|
|
3406
|
+
icon: [256, 512, [], "f0da", "M249.3 235.8c10.2 12.6 9.5 31.1-2.2 42.8l-128 128c-9.2 9.2-22.9 11.9-34.9 6.9S64.5 396.9 64.5 384l0-256c0-12.9 7.8-24.6 19.8-29.6s25.7-2.2 34.9 6.9l128 128 2.2 2.4z"]
|
|
3407
|
+
}, Fs = {
|
|
3408
|
+
prefix: "fas",
|
|
3409
|
+
iconName: "magnifying-glass",
|
|
3410
|
+
icon: [512, 512, [128269, "search"], "f002", "M416 208c0 45.9-14.9 88.3-40 122.7L502.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376C296.3 401.1 253.9 416 208 416 93.1 416 0 322.9 0 208S93.1 0 208 0 416 93.1 416 208zM208 352a144 144 0 1 0 0-288 144 144 0 1 0 0 288z"]
|
|
3411
|
+
}, Cs = Fs, _s = {
|
|
3412
|
+
prefix: "fas",
|
|
3413
|
+
iconName: "caret-left",
|
|
3414
|
+
icon: [256, 512, [], "f0d9", "M7.7 235.8c-10.3 12.6-9.5 31.1 2.2 42.8l128 128c9.2 9.2 22.9 11.9 34.9 6.9s19.8-16.6 19.8-29.6l0-256c0-12.9-7.8-24.6-19.8-29.6s-25.7-2.2-34.9 6.9l-128 128-2.2 2.4z"]
|
|
3415
|
+
}, ia = {
|
|
3416
|
+
prefix: "fas",
|
|
3417
|
+
iconName: "trash",
|
|
3418
|
+
icon: [448, 512, [], "f1f8", "M136.7 5.9L128 32 32 32C14.3 32 0 46.3 0 64S14.3 96 32 96l384 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-96 0-8.7-26.1C306.9-7.2 294.7-16 280.9-16L167.1-16c-13.8 0-26 8.8-30.4 21.9zM416 144L32 144 53.1 467.1C54.7 492.4 75.7 512 101 512L347 512c25.3 0 46.3-19.6 47.9-44.9L416 144z"]
|
|
3419
|
+
}, Os = {
|
|
3420
|
+
prefix: "fas",
|
|
3421
|
+
iconName: "image",
|
|
3422
|
+
icon: [448, 512, [], "f03e", "M64 32C28.7 32 0 60.7 0 96L0 416c0 35.3 28.7 64 64 64l320 0c35.3 0 64-28.7 64-64l0-320c0-35.3-28.7-64-64-64L64 32zm64 80a48 48 0 1 1 0 96 48 48 0 1 1 0-96zM272 224c8.4 0 16.1 4.4 20.5 11.5l88 144c4.5 7.4 4.7 16.7 .5 24.3S368.7 416 360 416L88 416c-8.9 0-17.2-5-21.3-12.9s-3.5-17.5 1.6-24.8l56-80c4.5-6.4 11.8-10.2 19.7-10.2s15.2 3.8 19.7 10.2l26.4 37.8 61.4-100.5c4.4-7.1 12.1-11.5 20.5-11.5z"]
|
|
3423
|
+
}, Ls = {
|
|
3424
|
+
prefix: "fas",
|
|
3425
|
+
iconName: "gear",
|
|
3426
|
+
icon: [512, 512, [9881, "cog"], "f013", "M195.1 9.5C198.1-5.3 211.2-16 226.4-16l59.8 0c15.2 0 28.3 10.7 31.3 25.5L332 79.5c14.1 6 27.3 13.7 39.3 22.8l67.8-22.5c14.4-4.8 30.2 1.2 37.8 14.4l29.9 51.8c7.6 13.2 4.9 29.8-6.5 39.9L447 233.3c.9 7.4 1.3 15 1.3 22.7s-.5 15.3-1.3 22.7l53.4 47.5c11.4 10.1 14 26.8 6.5 39.9l-29.9 51.8c-7.6 13.1-23.4 19.2-37.8 14.4l-67.8-22.5c-12.1 9.1-25.3 16.7-39.3 22.8l-14.4 69.9c-3.1 14.9-16.2 25.5-31.3 25.5l-59.8 0c-15.2 0-28.3-10.7-31.3-25.5l-14.4-69.9c-14.1-6-27.2-13.7-39.3-22.8L73.5 432.3c-14.4 4.8-30.2-1.2-37.8-14.4L5.8 366.1c-7.6-13.2-4.9-29.8 6.5-39.9l53.4-47.5c-.9-7.4-1.3-15-1.3-22.7s.5-15.3 1.3-22.7L12.3 185.8c-11.4-10.1-14-26.8-6.5-39.9L35.7 94.1c7.6-13.2 23.4-19.2 37.8-14.4l67.8 22.5c12.1-9.1 25.3-16.7 39.3-22.8L195.1 9.5zM256.3 336a80 80 0 1 0 -.6-160 80 80 0 1 0 .6 160z"]
|
|
3427
|
+
}, Ts = Ls, Ms = {
|
|
3428
|
+
prefix: "fas",
|
|
3429
|
+
iconName: "arrow-up",
|
|
3430
|
+
icon: [384, 512, [8593], "f062", "M214.6 9.4c-12.5-12.5-32.8-12.5-45.3 0l-160 160c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L160 109.3 160 480c0 17.7 14.3 32 32 32s32-14.3 32-32l0-370.7 105.4 105.4c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-160-160z"]
|
|
3431
|
+
}, js = {
|
|
3432
|
+
prefix: "fas",
|
|
3433
|
+
iconName: "house",
|
|
3434
|
+
icon: [512, 512, [127968, 63498, 63500, "home", "home-alt", "home-lg-alt"], "f015", "M277.8 8.6c-12.3-11.4-31.3-11.4-43.5 0l-224 208c-9.6 9-12.8 22.9-8 35.1S18.8 272 32 272l16 0 0 176c0 35.3 28.7 64 64 64l288 0c35.3 0 64-28.7 64-64l0-176 16 0c13.2 0 25-8.1 29.8-20.3s1.6-26.2-8-35.1l-224-208zM240 320l32 0c26.5 0 48 21.5 48 48l0 96-128 0 0-96c0-26.5 21.5-48 48-48z"]
|
|
3435
|
+
}, Ds = {
|
|
3436
|
+
prefix: "fas",
|
|
3437
|
+
iconName: "file-lines",
|
|
3438
|
+
icon: [384, 512, [128441, 128462, 61686, "file-alt", "file-text"], "f15c", "M0 64C0 28.7 28.7 0 64 0L213.5 0c17 0 33.3 6.7 45.3 18.7L365.3 125.3c12 12 18.7 28.3 18.7 45.3L384 448c0 35.3-28.7 64-64 64L64 512c-35.3 0-64-28.7-64-64L0 64zm208-5.5l0 93.5c0 13.3 10.7 24 24 24L325.5 176 208 58.5zM120 256c-13.3 0-24 10.7-24 24s10.7 24 24 24l144 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-144 0zm0 96c-13.3 0-24 10.7-24 24s10.7 24 24 24l144 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-144 0z"]
|
|
3439
|
+
}, zs = {
|
|
3440
|
+
prefix: "fas",
|
|
3441
|
+
iconName: "download",
|
|
3442
|
+
icon: [448, 512, [], "f019", "M256 32c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 210.7-41.4-41.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l96 96c12.5 12.5 32.8 12.5 45.3 0l96-96c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L256 242.7 256 32zM64 320c-35.3 0-64 28.7-64 64l0 32c0 35.3 28.7 64 64 64l320 0c35.3 0 64-28.7 64-64l0-32c0-35.3-28.7-64-64-64l-46.9 0-56.6 56.6c-31.2 31.2-81.9 31.2-113.1 0L110.9 320 64 320zm304 56a24 24 0 1 1 0 48 24 24 0 1 1 0-48z"]
|
|
3443
|
+
}, $s = {
|
|
3444
|
+
prefix: "fas",
|
|
3445
|
+
iconName: "upload",
|
|
3446
|
+
icon: [448, 512, [], "f093", "M256 109.3L256 320c0 17.7-14.3 32-32 32s-32-14.3-32-32l0-210.7-41.4 41.4c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3l96-96c12.5-12.5 32.8-12.5 45.3 0l96 96c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L256 109.3zM224 400c44.2 0 80-35.8 80-80l80 0c35.3 0 64 28.7 64 64l0 32c0 35.3-28.7 64-64 64L64 480c-35.3 0-64-28.7-64-64l0-32c0-35.3 28.7-64 64-64l80 0c0 44.2 35.8 80 80 80zm144 24a24 24 0 1 0 0-48 24 24 0 1 0 0 48z"]
|
|
3447
|
+
}, Rs = {
|
|
3448
|
+
prefix: "fas",
|
|
3449
|
+
iconName: "plus",
|
|
3450
|
+
icon: [448, 512, [10133, 61543, "add"], "2b", "M256 64c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 160-160 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l160 0 0 160c0 17.7 14.3 32 32 32s32-14.3 32-32l0-160 160 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-160 0 0-160z"]
|
|
3451
|
+
}, Us = {
|
|
3452
|
+
prefix: "fas",
|
|
3453
|
+
iconName: "desktop",
|
|
3454
|
+
icon: [512, 512, [128421, 61704, "desktop-alt"], "f390", "M64 32C28.7 32 0 60.7 0 96L0 352c0 35.3 28.7 64 64 64l144 0-16 48-72 0c-13.3 0-24 10.7-24 24s10.7 24 24 24l272 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-72 0-16-48 144 0c35.3 0 64-28.7 64-64l0-256c0-35.3-28.7-64-64-64L64 32zM96 96l320 0c17.7 0 32 14.3 32 32l0 160c0 17.7-14.3 32-32 32L96 320c-17.7 0-32-14.3-32-32l0-160c0-17.7 14.3-32 32-32z"]
|
|
3455
|
+
}, Ws = {
|
|
3456
|
+
prefix: "fas",
|
|
3457
|
+
iconName: "circle-info",
|
|
3458
|
+
icon: [512, 512, ["info-circle"], "f05a", "M256 512a256 256 0 1 0 0-512 256 256 0 1 0 0 512zM224 160a32 32 0 1 1 64 0 32 32 0 1 1 -64 0zm-8 64l48 0c13.3 0 24 10.7 24 24l0 88 8 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-80 0c-13.3 0-24-10.7-24-24s10.7-24 24-24l24 0 0-64-24 0c-13.3 0-24-10.7-24-24s10.7-24 24-24z"]
|
|
3459
|
+
};
|
|
3460
|
+
function xe({ onClick: e, icon: t, name: a }) {
|
|
3461
|
+
return /* @__PURE__ */ N(
|
|
22
3462
|
"button",
|
|
23
3463
|
{
|
|
24
3464
|
tabIndex: 0,
|
|
25
|
-
className: `${
|
|
26
|
-
onClick:
|
|
3465
|
+
className: `${C.NavButton} ${rt.TextSemibold}`,
|
|
3466
|
+
onClick: e,
|
|
27
3467
|
children: [
|
|
28
|
-
/* @__PURE__ */
|
|
29
|
-
|
|
3468
|
+
/* @__PURE__ */ g(R, { icon: t }),
|
|
3469
|
+
a
|
|
30
3470
|
]
|
|
31
3471
|
}
|
|
32
3472
|
);
|
|
33
3473
|
}
|
|
34
|
-
function
|
|
35
|
-
const
|
|
36
|
-
const
|
|
37
|
-
|
|
38
|
-
const { name:
|
|
39
|
-
|
|
40
|
-
const { result:
|
|
41
|
-
|
|
42
|
-
|
|
3474
|
+
function Bs({ directory: e }) {
|
|
3475
|
+
const t = (a) => {
|
|
3476
|
+
const n = a.target.files;
|
|
3477
|
+
n != null && Array.from(n).forEach((r) => {
|
|
3478
|
+
const { name: i, extension: o } = gn.splitId(r.name), s = new FileReader();
|
|
3479
|
+
s.onload = (l) => {
|
|
3480
|
+
const { result: c } = l.target;
|
|
3481
|
+
e.createFile(i, o, (d) => {
|
|
3482
|
+
d.setSource(c);
|
|
43
3483
|
});
|
|
44
|
-
},
|
|
3484
|
+
}, s.readAsDataURL(r);
|
|
45
3485
|
});
|
|
46
3486
|
};
|
|
47
|
-
return /* @__PURE__ */
|
|
48
|
-
/* @__PURE__ */
|
|
3487
|
+
return /* @__PURE__ */ N("label", { title: "Import", tabIndex: 0, className: C.IconButton, children: [
|
|
3488
|
+
/* @__PURE__ */ g(
|
|
49
3489
|
"input",
|
|
50
3490
|
{
|
|
51
3491
|
type: "file",
|
|
52
3492
|
id: "import",
|
|
53
3493
|
multiple: !0,
|
|
54
3494
|
style: { display: "none" },
|
|
55
|
-
onChange:
|
|
3495
|
+
onChange: t
|
|
56
3496
|
}
|
|
57
3497
|
),
|
|
58
|
-
/* @__PURE__ */
|
|
3498
|
+
/* @__PURE__ */ g(R, { icon: zs })
|
|
59
3499
|
] });
|
|
60
3500
|
}
|
|
61
|
-
const
|
|
3501
|
+
const oa = {
|
|
62
3502
|
NONE: 0,
|
|
63
3503
|
SINGLE: 1
|
|
64
|
-
},
|
|
65
|
-
FileProperties:
|
|
66
|
-
Icon:
|
|
67
|
-
Section:
|
|
68
|
-
Line:
|
|
69
|
-
AppIcon:
|
|
3504
|
+
}, Ys = "_FileProperties_xi8b6_1", Hs = "_Icon_xi8b6_9", Gs = "_Section_xi8b6_25", Vs = "_Line_xi8b6_46", Xs = "_AppIcon_xi8b6_68", O = {
|
|
3505
|
+
FileProperties: Ys,
|
|
3506
|
+
Icon: Hs,
|
|
3507
|
+
Section: Gs,
|
|
3508
|
+
Line: Vs,
|
|
3509
|
+
AppIcon: Xs
|
|
70
3510
|
};
|
|
71
|
-
function
|
|
72
|
-
const { appsConfig:
|
|
73
|
-
return /* @__PURE__ */
|
|
74
|
-
/* @__PURE__ */
|
|
75
|
-
/* @__PURE__ */
|
|
76
|
-
/* @__PURE__ */
|
|
3511
|
+
function Ks({ modal: e, params: t, file: a, ...n }) {
|
|
3512
|
+
const { appsConfig: r } = sa(), i = a.extension != null ? r.getAppByFileExtension(a.extension) : null;
|
|
3513
|
+
return /* @__PURE__ */ N(bn, { className: O.FileProperties, modal: e, params: t, ...n, children: [
|
|
3514
|
+
/* @__PURE__ */ N("span", { className: O.Section, children: [
|
|
3515
|
+
/* @__PURE__ */ g(bt, { className: O.Icon, source: a.getIconUrl() }),
|
|
3516
|
+
/* @__PURE__ */ g("p", { className: `${O.Line} ${rt.TextBold}`, children: a.id })
|
|
77
3517
|
] }),
|
|
78
|
-
/* @__PURE__ */
|
|
79
|
-
/* @__PURE__ */
|
|
3518
|
+
/* @__PURE__ */ N("span", { className: O.Section, children: [
|
|
3519
|
+
/* @__PURE__ */ N("p", { className: O.Line, children: [
|
|
80
3520
|
"Type: ",
|
|
81
|
-
|
|
3521
|
+
a.getType()
|
|
82
3522
|
] }),
|
|
83
|
-
|
|
3523
|
+
i != null && /* @__PURE__ */ N("span", { className: O.Line, children: [
|
|
84
3524
|
"Opens with:",
|
|
85
|
-
/* @__PURE__ */
|
|
86
|
-
|
|
3525
|
+
/* @__PURE__ */ g(bt, { className: O.AppIcon, source: i.iconUrl ?? "" }),
|
|
3526
|
+
i.name
|
|
87
3527
|
] })
|
|
88
3528
|
] }),
|
|
89
|
-
/* @__PURE__ */
|
|
90
|
-
/* @__PURE__ */
|
|
3529
|
+
/* @__PURE__ */ N("span", { className: O.Section, children: [
|
|
3530
|
+
/* @__PURE__ */ N("p", { className: O.Line, children: [
|
|
91
3531
|
"Location: ",
|
|
92
|
-
|
|
3532
|
+
a.path
|
|
93
3533
|
] }),
|
|
94
|
-
/* @__PURE__ */
|
|
3534
|
+
/* @__PURE__ */ N("p", { className: O.Line, children: [
|
|
95
3535
|
"Size: ",
|
|
96
|
-
|
|
3536
|
+
yt.getByteSize(a.source ?? a.content),
|
|
97
3537
|
" bytes"
|
|
98
3538
|
] }),
|
|
99
|
-
/* @__PURE__ */
|
|
3539
|
+
/* @__PURE__ */ N("p", { className: O.Line, children: [
|
|
100
3540
|
"Size on drive: ",
|
|
101
|
-
|
|
3541
|
+
yt.getByteSize(a.toString()),
|
|
102
3542
|
" bytes"
|
|
103
3543
|
] })
|
|
104
3544
|
] }),
|
|
105
|
-
/* @__PURE__ */
|
|
3545
|
+
/* @__PURE__ */ g("span", { className: O.Section, children: /* @__PURE__ */ N("p", { className: O.Line, children: [
|
|
106
3546
|
"Attributes: ",
|
|
107
|
-
|
|
3547
|
+
a.isProtected ? "Protected" : "N/A"
|
|
108
3548
|
] }) })
|
|
109
3549
|
] });
|
|
110
3550
|
}
|
|
111
|
-
function
|
|
112
|
-
const
|
|
113
|
-
Actions: (
|
|
114
|
-
/* @__PURE__ */
|
|
115
|
-
if (
|
|
116
|
-
|
|
3551
|
+
function Js({ app: e, path: t, selectorMode: a, Footer: n, onSelectionChange: r, onSelectionFinish: i }) {
|
|
3552
|
+
const o = a != null && a !== oa.NONE, s = yn(), l = xn(), { windowsConfig: c } = sa(), [d, u] = Me(s ? s.navigateToFolder(t ?? "~") : null), [h, p] = Me(d?.path ?? ""), [w] = Me(!0), { history: y, stateIndex: A, pushState: I, undo: P, redo: F, undoAvailable: T, redoAvailable: b } = Sn(d?.path ?? ""), { alert: q } = wn(), { openWindowedModal: oe } = An(), { onContextMenu: se } = xt({
|
|
3553
|
+
Actions: (E) => /* @__PURE__ */ N(St, { ...E, children: [
|
|
3554
|
+
/* @__PURE__ */ g(Q, { label: o ? "Select" : "Open", onTrigger: (S, x) => {
|
|
3555
|
+
if (o) {
|
|
3556
|
+
r?.({ files: [x.id], directory: d }), i?.({ files: [x.id], directory: d });
|
|
117
3557
|
return;
|
|
118
3558
|
}
|
|
119
|
-
|
|
3559
|
+
l != null && x.open(l);
|
|
120
3560
|
} }),
|
|
121
|
-
|
|
122
|
-
|
|
3561
|
+
E.triggerParams.isDownloadable() && /* @__PURE__ */ g(Q, { label: "Export", icon: $s, onTrigger: (S, x) => {
|
|
3562
|
+
x.download();
|
|
123
3563
|
} }),
|
|
124
|
-
/* @__PURE__ */
|
|
125
|
-
|
|
3564
|
+
/* @__PURE__ */ g(Q, { label: "Delete", icon: ia, onTrigger: (S, x) => {
|
|
3565
|
+
x.delete();
|
|
126
3566
|
} }),
|
|
127
|
-
/* @__PURE__ */
|
|
128
|
-
|
|
129
|
-
title: `${
|
|
130
|
-
iconUrl:
|
|
131
|
-
size: new
|
|
132
|
-
Modal: (
|
|
3567
|
+
/* @__PURE__ */ g(Q, { label: "Properties", icon: Ws, onTrigger: (S, x) => {
|
|
3568
|
+
oe({
|
|
3569
|
+
title: `${x.id} ${c.titleSeparator} Properties`,
|
|
3570
|
+
iconUrl: x.getIconUrl(),
|
|
3571
|
+
size: new ve(400, 500),
|
|
3572
|
+
Modal: (Te) => /* @__PURE__ */ g(Ks, { file: x, ...Te })
|
|
133
3573
|
});
|
|
134
3574
|
} })
|
|
135
3575
|
] })
|
|
136
|
-
}), { onContextMenu:
|
|
137
|
-
Actions: (
|
|
138
|
-
/* @__PURE__ */
|
|
139
|
-
|
|
3576
|
+
}), { onContextMenu: Oe } = xt({
|
|
3577
|
+
Actions: (E) => /* @__PURE__ */ N(St, { ...E, children: [
|
|
3578
|
+
/* @__PURE__ */ g(Q, { label: "Open", onTrigger: (S, x) => {
|
|
3579
|
+
V(x.linkedPath ?? x.name);
|
|
140
3580
|
} }),
|
|
141
|
-
/* @__PURE__ */
|
|
142
|
-
/* @__PURE__ */
|
|
143
|
-
|
|
3581
|
+
/* @__PURE__ */ g(kn, {}),
|
|
3582
|
+
/* @__PURE__ */ g(Q, { label: "Delete", icon: ia, onTrigger: (S, x) => {
|
|
3583
|
+
x.delete();
|
|
144
3584
|
} })
|
|
145
3585
|
] })
|
|
146
|
-
}),
|
|
147
|
-
|
|
148
|
-
const
|
|
149
|
-
|
|
150
|
-
}, [
|
|
151
|
-
|
|
152
|
-
if (
|
|
3586
|
+
}), V = Cn((E, S = !1) => {
|
|
3587
|
+
d == null && (S = !0);
|
|
3588
|
+
const x = S ? s?.navigate(E) : d?.navigate(E);
|
|
3589
|
+
x != null && (u(x), p(x.root ? "/" : x.path), I(x.path));
|
|
3590
|
+
}, [d, I, s]);
|
|
3591
|
+
It(() => {
|
|
3592
|
+
if (y.length === 0)
|
|
153
3593
|
return;
|
|
154
|
-
const
|
|
155
|
-
|
|
156
|
-
}, [
|
|
157
|
-
const
|
|
158
|
-
|
|
159
|
-
title:
|
|
3594
|
+
const E = y[A], S = s?.navigate(E);
|
|
3595
|
+
S != null && (u(S), p(S.root ? "/" : S.path));
|
|
3596
|
+
}, [y, A, s]), It(() => {
|
|
3597
|
+
const E = (S) => {
|
|
3598
|
+
q({
|
|
3599
|
+
title: S.message,
|
|
160
3600
|
text: "You have exceeded the virtual drive capacity. Files and folders will not be saved until more storage is freed.",
|
|
161
|
-
iconUrl:
|
|
162
|
-
size: new
|
|
3601
|
+
iconUrl: e?.iconUrl,
|
|
3602
|
+
size: new ve(300, 200),
|
|
163
3603
|
single: !0
|
|
164
3604
|
});
|
|
165
3605
|
};
|
|
166
|
-
return
|
|
167
|
-
|
|
3606
|
+
return s?.on(wt.ERROR_EVENT, E), () => {
|
|
3607
|
+
s?.off(wt.ERROR_EVENT, E);
|
|
168
3608
|
};
|
|
169
3609
|
}, []);
|
|
170
|
-
const
|
|
171
|
-
|
|
172
|
-
},
|
|
173
|
-
let
|
|
174
|
-
if (
|
|
175
|
-
|
|
176
|
-
const
|
|
177
|
-
if (
|
|
178
|
-
|
|
3610
|
+
const hn = (E) => {
|
|
3611
|
+
p(E.target.value);
|
|
3612
|
+
}, vn = (E) => {
|
|
3613
|
+
let S = E.target.value;
|
|
3614
|
+
if (E.key === "Enter") {
|
|
3615
|
+
S === "" && (S = "~");
|
|
3616
|
+
const x = s?.navigate(S);
|
|
3617
|
+
if (x == null) {
|
|
3618
|
+
oe({
|
|
179
3619
|
title: "Error",
|
|
180
|
-
iconUrl:
|
|
181
|
-
size: new
|
|
182
|
-
Modal: (
|
|
183
|
-
/* @__PURE__ */
|
|
3620
|
+
iconUrl: e?.iconUrl,
|
|
3621
|
+
size: new ve(300, 150),
|
|
3622
|
+
Modal: (Te) => /* @__PURE__ */ N(At, { ...Te, children: [
|
|
3623
|
+
/* @__PURE__ */ N("p", { children: [
|
|
184
3624
|
'Invalid path: "',
|
|
185
|
-
|
|
3625
|
+
S,
|
|
186
3626
|
'"'
|
|
187
3627
|
] }),
|
|
188
|
-
/* @__PURE__ */
|
|
3628
|
+
/* @__PURE__ */ g("button", { "data-type": kt.DIALOG_CONTENT_TYPES.closeButton, children: "Ok" })
|
|
189
3629
|
] })
|
|
190
3630
|
});
|
|
191
3631
|
return;
|
|
192
|
-
} else
|
|
3632
|
+
} else x.isFolder() && (u(x), p(x.root ? "/" : x.path));
|
|
193
3633
|
}
|
|
194
|
-
},
|
|
195
|
-
return /* @__PURE__ */
|
|
196
|
-
/* @__PURE__ */
|
|
197
|
-
/* @__PURE__ */
|
|
3634
|
+
}, Le = d?.getItemCount(w) ?? 0;
|
|
3635
|
+
return /* @__PURE__ */ N("div", { className: o ? `${C.FileExplorer} ${C.Selector}` : C.FileExplorer, children: [
|
|
3636
|
+
/* @__PURE__ */ N("div", { className: C.Header, children: [
|
|
3637
|
+
/* @__PURE__ */ g(
|
|
198
3638
|
"button",
|
|
199
3639
|
{
|
|
200
3640
|
title: "Back",
|
|
201
3641
|
tabIndex: 0,
|
|
202
|
-
className:
|
|
3642
|
+
className: C.IconButton,
|
|
203
3643
|
onClick: () => {
|
|
204
|
-
|
|
3644
|
+
P();
|
|
205
3645
|
},
|
|
206
|
-
disabled: !
|
|
207
|
-
children: /* @__PURE__ */
|
|
3646
|
+
disabled: !T,
|
|
3647
|
+
children: /* @__PURE__ */ g(R, { icon: _s })
|
|
208
3648
|
}
|
|
209
3649
|
),
|
|
210
|
-
/* @__PURE__ */
|
|
3650
|
+
/* @__PURE__ */ g(
|
|
211
3651
|
"button",
|
|
212
3652
|
{
|
|
213
3653
|
title: "Forward",
|
|
214
3654
|
tabIndex: 0,
|
|
215
|
-
className:
|
|
3655
|
+
className: C.IconButton,
|
|
216
3656
|
onClick: () => {
|
|
217
|
-
|
|
3657
|
+
F();
|
|
218
3658
|
},
|
|
219
|
-
disabled: !
|
|
220
|
-
children: /* @__PURE__ */
|
|
3659
|
+
disabled: !b,
|
|
3660
|
+
children: /* @__PURE__ */ g(R, { icon: Ns })
|
|
221
3661
|
}
|
|
222
3662
|
),
|
|
223
|
-
/* @__PURE__ */
|
|
3663
|
+
/* @__PURE__ */ g(
|
|
224
3664
|
"button",
|
|
225
3665
|
{
|
|
226
3666
|
title: "Up",
|
|
227
3667
|
tabIndex: 0,
|
|
228
|
-
className:
|
|
3668
|
+
className: C.IconButton,
|
|
229
3669
|
onClick: () => {
|
|
230
|
-
|
|
3670
|
+
V("..");
|
|
231
3671
|
},
|
|
232
|
-
disabled:
|
|
233
|
-
children: /* @__PURE__ */
|
|
3672
|
+
disabled: d?.isRoot != null && d.isRoot,
|
|
3673
|
+
children: /* @__PURE__ */ g(R, { icon: Ms })
|
|
234
3674
|
}
|
|
235
3675
|
),
|
|
236
|
-
/* @__PURE__ */
|
|
3676
|
+
/* @__PURE__ */ g(
|
|
237
3677
|
"button",
|
|
238
3678
|
{
|
|
239
3679
|
title: "New",
|
|
240
3680
|
tabIndex: 0,
|
|
241
|
-
className:
|
|
3681
|
+
className: C.IconButton,
|
|
242
3682
|
onClick: () => {
|
|
243
|
-
|
|
3683
|
+
oe({
|
|
244
3684
|
title: "Error",
|
|
245
|
-
iconUrl:
|
|
246
|
-
size: new
|
|
247
|
-
Modal: (
|
|
248
|
-
/* @__PURE__ */
|
|
249
|
-
/* @__PURE__ */
|
|
3685
|
+
iconUrl: e?.iconUrl,
|
|
3686
|
+
size: new ve(300, 150),
|
|
3687
|
+
Modal: (E) => /* @__PURE__ */ N(At, { ...E, children: [
|
|
3688
|
+
/* @__PURE__ */ g("p", { children: "This folder is protected." }),
|
|
3689
|
+
/* @__PURE__ */ g("button", { "data-type": kt.DIALOG_CONTENT_TYPES.closeButton, children: "Ok" })
|
|
250
3690
|
] })
|
|
251
3691
|
});
|
|
252
3692
|
},
|
|
253
|
-
disabled: !
|
|
254
|
-
children: /* @__PURE__ */
|
|
3693
|
+
disabled: !d?.canBeEdited,
|
|
3694
|
+
children: /* @__PURE__ */ g(R, { icon: Rs })
|
|
255
3695
|
}
|
|
256
3696
|
),
|
|
257
|
-
/* @__PURE__ */
|
|
3697
|
+
/* @__PURE__ */ g(
|
|
258
3698
|
"input",
|
|
259
3699
|
{
|
|
260
|
-
value:
|
|
3700
|
+
value: h,
|
|
261
3701
|
type: "text",
|
|
262
3702
|
"aria-label": "Path",
|
|
263
|
-
className:
|
|
3703
|
+
className: C.PathInput,
|
|
264
3704
|
tabIndex: 0,
|
|
265
|
-
onChange:
|
|
266
|
-
onKeyDown:
|
|
3705
|
+
onChange: hn,
|
|
3706
|
+
onKeyDown: vn,
|
|
267
3707
|
placeholder: "Enter a path..."
|
|
268
3708
|
}
|
|
269
3709
|
),
|
|
270
|
-
/* @__PURE__ */
|
|
271
|
-
/* @__PURE__ */
|
|
272
|
-
/* @__PURE__ */
|
|
3710
|
+
/* @__PURE__ */ g(Bs, { directory: d }),
|
|
3711
|
+
/* @__PURE__ */ g("button", { title: "Search", tabIndex: 0, className: C.IconButton, children: /* @__PURE__ */ g(R, { icon: Cs }) }),
|
|
3712
|
+
/* @__PURE__ */ g("button", { title: "Settings", tabIndex: 0, className: C.IconButton, children: /* @__PURE__ */ g(R, { icon: Ts }) })
|
|
273
3713
|
] }),
|
|
274
|
-
/* @__PURE__ */
|
|
275
|
-
/* @__PURE__ */
|
|
276
|
-
/* @__PURE__ */
|
|
277
|
-
|
|
278
|
-
}, icon:
|
|
279
|
-
/* @__PURE__ */
|
|
280
|
-
|
|
281
|
-
}, icon:
|
|
282
|
-
/* @__PURE__ */
|
|
283
|
-
|
|
284
|
-
}, icon:
|
|
285
|
-
/* @__PURE__ */
|
|
286
|
-
|
|
287
|
-
}, icon:
|
|
3714
|
+
/* @__PURE__ */ N("div", { className: C.Body, children: [
|
|
3715
|
+
/* @__PURE__ */ N("div", { className: C.Sidebar, children: [
|
|
3716
|
+
/* @__PURE__ */ g(xe, { name: "Home", onClick: () => {
|
|
3717
|
+
V("~");
|
|
3718
|
+
}, icon: js }),
|
|
3719
|
+
/* @__PURE__ */ g(xe, { name: "Desktop", onClick: () => {
|
|
3720
|
+
V("~/Desktop");
|
|
3721
|
+
}, icon: Us }),
|
|
3722
|
+
/* @__PURE__ */ g(xe, { name: "Images", onClick: () => {
|
|
3723
|
+
V("~/Pictures");
|
|
3724
|
+
}, icon: Os }),
|
|
3725
|
+
/* @__PURE__ */ g(xe, { name: "Documents", onClick: () => {
|
|
3726
|
+
V("~/Documents");
|
|
3727
|
+
}, icon: Ds })
|
|
288
3728
|
] }),
|
|
289
|
-
/* @__PURE__ */
|
|
290
|
-
|
|
3729
|
+
/* @__PURE__ */ g(
|
|
3730
|
+
In,
|
|
291
3731
|
{
|
|
292
|
-
directory:
|
|
3732
|
+
directory: d,
|
|
293
3733
|
id: "main",
|
|
294
|
-
className:
|
|
295
|
-
showHidden:
|
|
296
|
-
onOpenFile: (
|
|
297
|
-
if (
|
|
298
|
-
return void
|
|
299
|
-
const
|
|
300
|
-
(
|
|
3734
|
+
className: C.Main,
|
|
3735
|
+
showHidden: w,
|
|
3736
|
+
onOpenFile: (E, S) => {
|
|
3737
|
+
if (E.preventDefault(), o)
|
|
3738
|
+
return void i?.({ files: [S.id], directory: d });
|
|
3739
|
+
const x = {};
|
|
3740
|
+
(S.extension === "md" || S.extension != null && En.includes(S.extension)) && (x.mode = "view"), l?.openFile(S, x);
|
|
301
3741
|
},
|
|
302
|
-
onOpenFolder: (
|
|
303
|
-
|
|
3742
|
+
onOpenFolder: (E, S) => {
|
|
3743
|
+
V(S.linkedPath ?? S.name);
|
|
304
3744
|
},
|
|
305
|
-
onContextMenuFile:
|
|
306
|
-
onContextMenuFolder:
|
|
307
|
-
allowMultiSelect:
|
|
308
|
-
onSelectionChange:
|
|
3745
|
+
onContextMenuFile: se,
|
|
3746
|
+
onContextMenuFolder: Oe,
|
|
3747
|
+
allowMultiSelect: a !== oa.SINGLE,
|
|
3748
|
+
onSelectionChange: r
|
|
309
3749
|
}
|
|
310
3750
|
)
|
|
311
3751
|
] }),
|
|
312
|
-
|
|
3752
|
+
o ? n && /* @__PURE__ */ g("div", { className: C.Footer, children: /* @__PURE__ */ g(n, {}) }) : /* @__PURE__ */ g("span", { className: C.Footer, children: /* @__PURE__ */ g("p", { className: rt.TextLight, children: Le === 1 ? Le + " item" : Le + " items" }) })
|
|
313
3753
|
] });
|
|
314
3754
|
}
|
|
315
|
-
var
|
|
316
|
-
const
|
|
317
|
-
|
|
3755
|
+
var qs = /* @__PURE__ */ ((e) => (e[e.None = 0] = "None", e[e.Single = 1] = "Single", e[e.Multi = 2] = "Multi", e))(qs || {});
|
|
3756
|
+
const Qs = new Pn("File Explorer", "file-explorer", Js).setIconUrl("https://os.prozilla.dev/assets/apps/icons/file-explorer.svg").setRole(Nn.APP_ROLES.fileExplorer).setCategory("Utilities & tools").addSkinOverride(_n, {
|
|
3757
|
+
name: "Finder",
|
|
3758
|
+
iconUrl: ge.assetUrl("/assets/skins/mac/apps/icons/file-explorer.svg")
|
|
3759
|
+
}).addSkinOverride(On, {
|
|
3760
|
+
name: "Windows Explorer",
|
|
3761
|
+
iconUrl: ge.assetUrl("/assets/skins/windows95/apps/icons/file-explorer.svg")
|
|
3762
|
+
}).addSkinOverride(Ln, {
|
|
3763
|
+
iconUrl: ge.assetUrl("/assets/skins/minimal/apps/icons/file-explorer.svg")
|
|
3764
|
+
}).addSkinOverride(Tn, {
|
|
3765
|
+
iconUrl: ge.assetUrl("/assets/skins/pixel/apps/icons/file-explorer.png")
|
|
3766
|
+
});
|
|
3767
|
+
Qs.setMetadata({ name: "@prozilla-os/file-explorer", version: "1.1.25", author: "Prozilla", website: "https://os.prozilla.dev/file-explorer" });
|
|
318
3768
|
export {
|
|
319
|
-
|
|
320
|
-
|
|
3769
|
+
qs as FileSelectorMode,
|
|
3770
|
+
Qs as fileExplorer
|
|
321
3771
|
};
|
|
322
3772
|
//# sourceMappingURL=main.js.map
|