prozilla-os 2.0.1 → 2.0.5
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 +107 -113
- package/dist/main.js +1215 -1131
- package/dist/main.js.map +1 -1
- package/package.json +17 -17
package/dist/main.js
CHANGED
|
@@ -1,66 +1,90 @@
|
|
|
1
|
-
import { App as
|
|
1
|
+
import { App as aa, AppsConfig as na, ExecutableResolver as pn, useFontMetrics as vn, useShell as bn, HistoryFlags as yn, Button as _n, utilStyles as xn, useHistory as wn, WebView as kn, isValidUrl as Sn } from "@prozilla-os/core";
|
|
2
2
|
export * from "@prozilla-os/core";
|
|
3
|
-
import { Vector2 as
|
|
3
|
+
import { Vector2 as ra, Ansi as An } from "@prozilla-os/shared";
|
|
4
4
|
export * from "@prozilla-os/shared";
|
|
5
5
|
export * from "@prozilla-os/file-explorer";
|
|
6
|
-
import { jsx as I, jsxs as
|
|
7
|
-
import * as
|
|
8
|
-
import
|
|
6
|
+
import { jsx as I, jsxs as G } from "react/jsx-runtime";
|
|
7
|
+
import * as _e from "react";
|
|
8
|
+
import it, { memo as In, forwardRef as En, useRef as le, useState as de, useEffect as Y, useMemo as je, useLayoutEffect as Pn, useId as Cn } from "react";
|
|
9
9
|
export * from "@prozilla-os/text-editor";
|
|
10
10
|
export * from "@prozilla-os/settings";
|
|
11
11
|
export * from "@prozilla-os/media-viewer";
|
|
12
12
|
export * from "@prozilla-os/calculator";
|
|
13
13
|
export * from "@prozilla-os/app-center";
|
|
14
|
+
var Fn = {
|
|
15
|
+
prefix: "fas",
|
|
16
|
+
iconName: "caret-right",
|
|
17
|
+
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"]
|
|
18
|
+
}, On = {
|
|
19
|
+
prefix: "fas",
|
|
20
|
+
iconName: "caret-left",
|
|
21
|
+
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"]
|
|
22
|
+
}, Nn = {
|
|
23
|
+
prefix: "fas",
|
|
24
|
+
iconName: "stop",
|
|
25
|
+
icon: [448, 512, [9209], "f04d", "M64 32l320 0c35.3 0 64 28.7 64 64l0 320c0 35.3-28.7 64-64 64L64 480c-35.3 0-64-28.7-64-64L0 96C0 60.7 28.7 32 64 32z"]
|
|
26
|
+
}, Tn = {
|
|
27
|
+
prefix: "fas",
|
|
28
|
+
iconName: "house",
|
|
29
|
+
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"]
|
|
30
|
+
}, jn = Tn, $n = {
|
|
31
|
+
prefix: "fas",
|
|
32
|
+
iconName: "rotate-right",
|
|
33
|
+
icon: [512, 512, ["redo-alt", "rotate-forward"], "f2f9", "M488 192l-144 0c-9.7 0-18.5-5.8-22.2-14.8s-1.7-19.3 5.2-26.2l46.7-46.7c-75.3-58.6-184.3-53.3-253.5 15.9-75 75-75 196.5 0 271.5s196.5 75 271.5 0c8.2-8.2 15.5-16.9 21.9-26.1 10.1-14.5 30.1-18 44.6-7.9s18 30.1 7.9 44.6c-8.5 12.2-18.2 23.8-29.1 34.7-100 100-262.1 100-362 0S-25 175 75 75c94.3-94.3 243.7-99.6 344.3-16.2L471 7c6.9-6.9 17.2-8.9 26.2-5.2S512 14.3 512 24l0 144c0 13.3-10.7 24-24 24z"]
|
|
34
|
+
};
|
|
14
35
|
(function() {
|
|
15
36
|
try {
|
|
16
37
|
if (typeof document < "u") {
|
|
17
38
|
var e = document.createElement("style");
|
|
18
|
-
e.appendChild(document.createTextNode('.
|
|
39
|
+
e.appendChild(document.createTextNode('._Terminal_1y9ey_1{--char-width: .585rem;--char-height: 1.25rem;position:relative;display:flex;flex-direction:column;align-items:flex-start;padding:.5rem;overflow:auto;height:100%;cursor:text;box-sizing:border-box}._Terminal_1y9ey_1 *{font-family:var(--mono-font-family);letter-spacing:-.03em}._Terminal_1y9ey_1 p,._Terminal_1y9ey_1 pre{margin:0;height:var(--char-height);line-height:var(--char-height);font-size:1rem;letter-spacing:inherit}._VirtualCursor_1y9ey_29{position:absolute;margin-left:.5rem;margin-top:.5rem;width:var(--char-width);height:var(--char-height);background-color:var(--foreground-color-0);mix-blend-mode:difference;pointer-events:none;z-index:10;animation:_blink_1y9ey_1 1s step-end infinite}._History_1y9ey_44{width:100%}._Prefix_1y9ey_48{display:flex;width:max-content;white-space:nowrap}._Input_1y9ey_54,._Output_1y9ey_54{display:flex;flex-direction:row;align-items:center;width:100%;line-height:var(--char-height);font-size:1rem;text-align:start;white-space:pre}._Input_1y9ey_54{height:var(--char-height)}._Input-container_1y9ey_69{--cursor-width: var(--char-width);--cursor-offset: 0;position:relative;height:100%;width:fit-content}._Input-container_1y9ey_69:after{content:"";position:absolute;top:0;left:calc(var(--cursor-offset) * var(--char-width));width:var(--cursor-width);height:100%;background-color:var(--foreground-color-0);animation:_blink_1y9ey_1 1s step-end infinite}._Input-container_1y9ey_69 input{color:transparent;position:absolute;left:0;width:100%;padding:0;background:none;border:none;outline:none;font-size:inherit;caret-color:transparent}@keyframes _blink_1y9ey_1{0%,to{opacity:0}50%{opacity:1}}._Input_1y9ey_54 label{position:absolute;width:100%;height:100%;top:0;left:0;cursor:text}._InterruptButton_1y9ey_120{display:none;gap:.5rem;flex-direction:row-reverse;justify-content:center;align-items:center;position:absolute;bottom:1rem;right:1rem;padding:.5rem 1rem;border-radius:var(--border-radius-1)}._InterruptButton_1y9ey_120>svg{margin:0!important;width:auto}._InterruptButton_1y9ey_120 *{color:inherit}@media(pointer:coarse){._InterruptButton_1y9ey_120{display:flex}}._ansi-black-fg_1y9ey_148{color:var(--black-2)}._ansi-red-fg_1y9ey_149{color:var(--red-0)}._ansi-green-fg_1y9ey_150{color:var(--green-0)}._ansi-yellow-fg_1y9ey_151{color:var(--yellow-0)}._ansi-blue-fg_1y9ey_152{color:var(--blue-0)}._ansi-magenta-fg_1y9ey_153{color:var(--purple-0)}._ansi-cyan-fg_1y9ey_154{color:var(--cyan-0)}._ansi-white-fg_1y9ey_155{color:var(--foreground-color-0)}._ansi-bright-black-fg_1y9ey_157{color:var(--black-2)}._ansi-bright-red-fg_1y9ey_158{color:var(--red-0)}._ansi-bright-green-fg_1y9ey_159{color:var(--green-0)}._ansi-bright-yellow-fg_1y9ey_160{color:var(--yellow-0)}._ansi-bright-blue-fg_1y9ey_161{color:var(--blue-0)}._ansi-bright-magenta-fg_1y9ey_162{color:var(--purple-0)}._ansi-bright-cyan-fg_1y9ey_163{color:var(--cyan-0)}._ansi-bright-white-fg_1y9ey_164{color:var(--foreground-color-0)}._ansi-black-bg_1y9ey_166{background-color:var(--black-2)}._ansi-red-bg_1y9ey_167{background-color:var(--red-0)}._ansi-green-bg_1y9ey_168{background-color:var(--green-0)}._ansi-yellow-bg_1y9ey_169{background-color:var(--yellow-0)}._ansi-blue-bg_1y9ey_170{background-color:var(--blue-0)}._ansi-magenta-bg_1y9ey_171{background-color:var(--purple-0)}._ansi-cyan-bg_1y9ey_172{background-color:var(--cyan-0)}._ansi-white-bg_1y9ey_173{background-color:var(--foreground-color-0)}._ansi-dim_1y9ey_175{opacity:.65}')), document.head.appendChild(e);
|
|
19
40
|
}
|
|
20
41
|
} catch (t) {
|
|
21
42
|
console.error("vite-plugin-css-injected-by-js", t);
|
|
22
43
|
}
|
|
23
44
|
})();
|
|
24
|
-
const
|
|
25
|
-
Terminal:
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
"
|
|
33
|
-
|
|
34
|
-
"ansi-
|
|
35
|
-
"ansi-
|
|
36
|
-
"ansi-
|
|
37
|
-
"ansi-
|
|
38
|
-
"ansi-
|
|
39
|
-
"ansi-
|
|
40
|
-
"ansi-
|
|
41
|
-
"ansi-
|
|
42
|
-
"ansi-bright-
|
|
43
|
-
"ansi-bright-
|
|
44
|
-
"ansi-bright-
|
|
45
|
-
"ansi-bright-
|
|
46
|
-
"ansi-bright-
|
|
47
|
-
"ansi-
|
|
48
|
-
"ansi-
|
|
49
|
-
"ansi-
|
|
50
|
-
"ansi-
|
|
51
|
-
"ansi-
|
|
52
|
-
"ansi-
|
|
53
|
-
"ansi-
|
|
54
|
-
"ansi-
|
|
55
|
-
"ansi-
|
|
45
|
+
const Ln = "_Terminal_1y9ey_1", Rn = "_VirtualCursor_1y9ey_29", Dn = "_blink_1y9ey_1", Mn = "_History_1y9ey_44", zn = "_Prefix_1y9ey_48", Un = "_Input_1y9ey_54", Bn = "_Output_1y9ey_54", Wn = "_InterruptButton_1y9ey_120", O = {
|
|
46
|
+
Terminal: Ln,
|
|
47
|
+
VirtualCursor: Rn,
|
|
48
|
+
blink: Dn,
|
|
49
|
+
History: Mn,
|
|
50
|
+
Prefix: zn,
|
|
51
|
+
Input: Un,
|
|
52
|
+
Output: Bn,
|
|
53
|
+
"Input-container": "_Input-container_1y9ey_69",
|
|
54
|
+
InterruptButton: Wn,
|
|
55
|
+
"ansi-black-fg": "_ansi-black-fg_1y9ey_148",
|
|
56
|
+
"ansi-red-fg": "_ansi-red-fg_1y9ey_149",
|
|
57
|
+
"ansi-green-fg": "_ansi-green-fg_1y9ey_150",
|
|
58
|
+
"ansi-yellow-fg": "_ansi-yellow-fg_1y9ey_151",
|
|
59
|
+
"ansi-blue-fg": "_ansi-blue-fg_1y9ey_152",
|
|
60
|
+
"ansi-magenta-fg": "_ansi-magenta-fg_1y9ey_153",
|
|
61
|
+
"ansi-cyan-fg": "_ansi-cyan-fg_1y9ey_154",
|
|
62
|
+
"ansi-white-fg": "_ansi-white-fg_1y9ey_155",
|
|
63
|
+
"ansi-bright-black-fg": "_ansi-bright-black-fg_1y9ey_157",
|
|
64
|
+
"ansi-bright-red-fg": "_ansi-bright-red-fg_1y9ey_158",
|
|
65
|
+
"ansi-bright-green-fg": "_ansi-bright-green-fg_1y9ey_159",
|
|
66
|
+
"ansi-bright-yellow-fg": "_ansi-bright-yellow-fg_1y9ey_160",
|
|
67
|
+
"ansi-bright-blue-fg": "_ansi-bright-blue-fg_1y9ey_161",
|
|
68
|
+
"ansi-bright-magenta-fg": "_ansi-bright-magenta-fg_1y9ey_162",
|
|
69
|
+
"ansi-bright-cyan-fg": "_ansi-bright-cyan-fg_1y9ey_163",
|
|
70
|
+
"ansi-bright-white-fg": "_ansi-bright-white-fg_1y9ey_164",
|
|
71
|
+
"ansi-black-bg": "_ansi-black-bg_1y9ey_166",
|
|
72
|
+
"ansi-red-bg": "_ansi-red-bg_1y9ey_167",
|
|
73
|
+
"ansi-green-bg": "_ansi-green-bg_1y9ey_168",
|
|
74
|
+
"ansi-yellow-bg": "_ansi-yellow-bg_1y9ey_169",
|
|
75
|
+
"ansi-blue-bg": "_ansi-blue-bg_1y9ey_170",
|
|
76
|
+
"ansi-magenta-bg": "_ansi-magenta-bg_1y9ey_171",
|
|
77
|
+
"ansi-cyan-bg": "_ansi-cyan-bg_1y9ey_172",
|
|
78
|
+
"ansi-white-bg": "_ansi-white-bg_1y9ey_173",
|
|
79
|
+
"ansi-dim": "_ansi-dim_1y9ey_175"
|
|
56
80
|
};
|
|
57
|
-
function
|
|
81
|
+
function Hn(e) {
|
|
58
82
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
59
83
|
}
|
|
60
|
-
var
|
|
61
|
-
function
|
|
62
|
-
if (
|
|
63
|
-
|
|
84
|
+
var $e, _t;
|
|
85
|
+
function Yn() {
|
|
86
|
+
if (_t) return $e;
|
|
87
|
+
_t = 1;
|
|
64
88
|
const e = [
|
|
65
89
|
[
|
|
66
90
|
{ color: "0, 0, 0", class: "ansi-black" },
|
|
@@ -187,17 +211,17 @@ function Sn() {
|
|
|
187
211
|
*/
|
|
188
212
|
setupPalette() {
|
|
189
213
|
this.PALETTE_COLORS = [];
|
|
190
|
-
for (let
|
|
214
|
+
for (let s = 0; s < 2; ++s)
|
|
191
215
|
for (let l = 0; l < 8; ++l)
|
|
192
|
-
this.PALETTE_COLORS.push(e[
|
|
193
|
-
let r = [0, 95, 135, 175, 215, 255], i = (
|
|
194
|
-
for (let
|
|
216
|
+
this.PALETTE_COLORS.push(e[s][l].color);
|
|
217
|
+
let r = [0, 95, 135, 175, 215, 255], i = (s, l, f) => r[s] + ", " + r[l] + ", " + r[f];
|
|
218
|
+
for (let s = 0; s < 6; ++s)
|
|
195
219
|
for (let l = 0; l < 6; ++l)
|
|
196
220
|
for (let f = 0; f < 6; ++f)
|
|
197
|
-
this.PALETTE_COLORS.push(i(
|
|
198
|
-
let
|
|
199
|
-
for (let
|
|
200
|
-
this.PALETTE_COLORS.push(
|
|
221
|
+
this.PALETTE_COLORS.push(i(s, l, f));
|
|
222
|
+
let o = 8;
|
|
223
|
+
for (let s = 0; s < 24; ++s, o += 10)
|
|
224
|
+
this.PALETTE_COLORS.push(o + ", " + o + ", " + o);
|
|
201
225
|
}
|
|
202
226
|
/**
|
|
203
227
|
* escapeForHtml
|
|
@@ -278,16 +302,16 @@ function Sn() {
|
|
|
278
302
|
*
|
|
279
303
|
* @param {Boolean} markup
|
|
280
304
|
*/
|
|
281
|
-
process(r, i,
|
|
282
|
-
let
|
|
305
|
+
process(r, i, o) {
|
|
306
|
+
let s = this, l = r.split(/\033\[/), f = l.shift();
|
|
283
307
|
i == null && (i = {}), i.clearLine = /\r/.test(r);
|
|
284
|
-
let
|
|
308
|
+
let d = l.map((u) => this.processChunk(u, i, o));
|
|
285
309
|
if (i && i.json) {
|
|
286
|
-
let
|
|
287
|
-
return
|
|
310
|
+
let u = s.processChunkJson("");
|
|
311
|
+
return u.content = f, u.clearLine = i.clearLine, d.unshift(u), i.remove_empty && (d = d.filter((c) => !c.isEmpty())), d;
|
|
288
312
|
} else
|
|
289
|
-
|
|
290
|
-
return
|
|
313
|
+
d.unshift(f);
|
|
314
|
+
return d.join("");
|
|
291
315
|
}
|
|
292
316
|
/**
|
|
293
317
|
* processChunkJson
|
|
@@ -314,9 +338,9 @@ function Sn() {
|
|
|
314
338
|
* - `isEmpty` (Function): A function returning `true` if the content is empty, or `false` otherwise.
|
|
315
339
|
*
|
|
316
340
|
*/
|
|
317
|
-
processChunkJson(r, i,
|
|
341
|
+
processChunkJson(r, i, o) {
|
|
318
342
|
i = typeof i > "u" ? {} : i;
|
|
319
|
-
let
|
|
343
|
+
let s = i.use_classes = typeof i.use_classes < "u" && i.use_classes, l = i.key = s ? "class" : "color", f = {
|
|
320
344
|
content: r,
|
|
321
345
|
fg: null,
|
|
322
346
|
bg: null,
|
|
@@ -328,15 +352,15 @@ function Sn() {
|
|
|
328
352
|
decorations: [],
|
|
329
353
|
was_processed: !1,
|
|
330
354
|
isEmpty: () => !f.content
|
|
331
|
-
},
|
|
332
|
-
if (!
|
|
333
|
-
f.content =
|
|
334
|
-
let
|
|
335
|
-
if (
|
|
355
|
+
}, d = r.match(/^([!\x3c-\x3f]*)([\d;]*)([\x20-\x2c]*[\x40-\x7e])([\s\S]*)/m);
|
|
356
|
+
if (!d) return f;
|
|
357
|
+
f.content = d[4];
|
|
358
|
+
let u = d[2].split(";");
|
|
359
|
+
if (d[1] !== "" || d[3] !== "m" || !o)
|
|
336
360
|
return f;
|
|
337
361
|
let c = this;
|
|
338
|
-
for (;
|
|
339
|
-
let
|
|
362
|
+
for (; u.length > 0; ) {
|
|
363
|
+
let p = u.shift(), h = parseInt(p);
|
|
340
364
|
if (isNaN(h) || h === 0)
|
|
341
365
|
c.fg = c.bg = null, c.decorations = [];
|
|
342
366
|
else if (h === 1)
|
|
@@ -385,22 +409,22 @@ function Sn() {
|
|
|
385
409
|
c.bg = e[1][h % 10][l];
|
|
386
410
|
else if (h === 38 || h === 48) {
|
|
387
411
|
let b = h === 38;
|
|
388
|
-
if (
|
|
389
|
-
let
|
|
390
|
-
if (
|
|
391
|
-
let x = parseInt(
|
|
412
|
+
if (u.length >= 1) {
|
|
413
|
+
let w = u.shift();
|
|
414
|
+
if (w === "5" && u.length >= 1) {
|
|
415
|
+
let x = parseInt(u.shift());
|
|
392
416
|
if (x >= 0 && x <= 255)
|
|
393
|
-
if (!
|
|
417
|
+
if (!s)
|
|
394
418
|
this.PALETTE_COLORS || c.setupPalette(), b ? c.fg = this.PALETTE_COLORS[x] : c.bg = this.PALETTE_COLORS[x];
|
|
395
419
|
else {
|
|
396
|
-
let
|
|
397
|
-
b ? c.fg =
|
|
420
|
+
let y = x >= 16 ? "ansi-palette-" + x : e[x > 7 ? 1 : 0][x % 8].class;
|
|
421
|
+
b ? c.fg = y : c.bg = y;
|
|
398
422
|
}
|
|
399
|
-
} else if (
|
|
400
|
-
let x = parseInt(
|
|
401
|
-
if (x >= 0 && x <= 255 &&
|
|
402
|
-
let
|
|
403
|
-
|
|
423
|
+
} else if (w === "2" && u.length >= 3) {
|
|
424
|
+
let x = parseInt(u.shift()), y = parseInt(u.shift()), g = parseInt(u.shift());
|
|
425
|
+
if (x >= 0 && x <= 255 && y >= 0 && y <= 255 && g >= 0 && g <= 255) {
|
|
426
|
+
let P = x + ", " + y + ", " + g;
|
|
427
|
+
s ? b ? (c.fg = "ansi-truecolor", c.fg_truecolor = P) : (c.bg = "ansi-truecolor", c.bg_truecolor = P) : b ? c.fg = P : c.bg = P;
|
|
404
428
|
}
|
|
405
429
|
}
|
|
406
430
|
}
|
|
@@ -423,73 +447,73 @@ function Sn() {
|
|
|
423
447
|
* @param {Boolean} markup If false, the colors will not be parsed.
|
|
424
448
|
* @return {Object|String} The result (object if `json` is wanted back or string otherwise).
|
|
425
449
|
*/
|
|
426
|
-
processChunk(r, i,
|
|
450
|
+
processChunk(r, i, o) {
|
|
427
451
|
i = i || {};
|
|
428
|
-
let
|
|
429
|
-
if (
|
|
452
|
+
let s = this.processChunkJson(r, i, o), l = i.use_classes;
|
|
453
|
+
if (s.decorations = s.decorations.filter((h) => {
|
|
430
454
|
if (h === "reverse") {
|
|
431
|
-
|
|
432
|
-
let b =
|
|
433
|
-
|
|
434
|
-
let
|
|
435
|
-
return
|
|
455
|
+
s.fg || (s.fg = e[0][7][l ? "class" : "color"]), s.bg || (s.bg = e[0][0][l ? "class" : "color"]);
|
|
456
|
+
let b = s.fg;
|
|
457
|
+
s.fg = s.bg, s.bg = b;
|
|
458
|
+
let w = s.fg_truecolor;
|
|
459
|
+
return s.fg_truecolor = s.bg_truecolor, s.bg_truecolor = w, s.isInverted = !0, !1;
|
|
436
460
|
}
|
|
437
461
|
return !0;
|
|
438
462
|
}), i.json)
|
|
439
|
-
return
|
|
440
|
-
if (
|
|
463
|
+
return s;
|
|
464
|
+
if (s.isEmpty())
|
|
441
465
|
return "";
|
|
442
|
-
if (!
|
|
443
|
-
return
|
|
444
|
-
let f = [],
|
|
445
|
-
let b = [],
|
|
446
|
-
for (
|
|
447
|
-
h.hasOwnProperty(
|
|
466
|
+
if (!s.was_processed)
|
|
467
|
+
return s.content;
|
|
468
|
+
let f = [], d = [], u = [], c = {}, p = (h) => {
|
|
469
|
+
let b = [], w;
|
|
470
|
+
for (w in h)
|
|
471
|
+
h.hasOwnProperty(w) && b.push("data-" + w + '="' + this.escapeForHtml(h[w]) + '"');
|
|
448
472
|
return b.length > 0 ? " " + b.join(" ") : "";
|
|
449
473
|
};
|
|
450
|
-
return
|
|
474
|
+
return s.isInverted && (c["ansi-is-inverted"] = "true"), s.fg && (l ? (f.push(s.fg + "-fg"), s.fg_truecolor !== null && (c["ansi-truecolor-fg"] = s.fg_truecolor, s.fg_truecolor = null)) : f.push("color:rgb(" + s.fg + ")")), s.bg && (l ? (f.push(s.bg + "-bg"), s.bg_truecolor !== null && (c["ansi-truecolor-bg"] = s.bg_truecolor, s.bg_truecolor = null)) : f.push("background-color:rgb(" + s.bg + ")")), s.decorations.forEach((h) => {
|
|
451
475
|
if (l) {
|
|
452
|
-
|
|
476
|
+
d.push("ansi-" + h);
|
|
453
477
|
return;
|
|
454
478
|
}
|
|
455
|
-
h === "bold" ?
|
|
456
|
-
}),
|
|
479
|
+
h === "bold" ? d.push("font-weight:bold") : h === "dim" ? d.push("opacity:0.5") : h === "italic" ? d.push("font-style:italic") : h === "hidden" ? d.push("visibility:hidden") : h === "strikethrough" ? u.push("line-through") : u.push(h);
|
|
480
|
+
}), u.length && d.push("text-decoration:" + u.join(" ")), l ? '<span class="' + f.concat(d).join(" ") + '"' + p(c) + ">" + s.content + "</span>" : '<span style="' + f.concat(d).join(";") + '"' + p(c) + ">" + s.content + "</span>";
|
|
457
481
|
}
|
|
458
482
|
removeDecoration(r) {
|
|
459
483
|
const i = this.decorations.indexOf(r);
|
|
460
484
|
i >= 0 && this.decorations.splice(i, 1);
|
|
461
485
|
}
|
|
462
486
|
}
|
|
463
|
-
return
|
|
464
|
-
}
|
|
465
|
-
var
|
|
466
|
-
const
|
|
467
|
-
var
|
|
468
|
-
function
|
|
469
|
-
if (
|
|
470
|
-
|
|
487
|
+
return $e = a, $e;
|
|
488
|
+
}
|
|
489
|
+
var Vn = Yn();
|
|
490
|
+
const Gn = /* @__PURE__ */ Hn(Vn);
|
|
491
|
+
var ie = { exports: {} }, xt;
|
|
492
|
+
function Kn() {
|
|
493
|
+
if (xt) return ie.exports;
|
|
494
|
+
xt = 1;
|
|
471
495
|
function e(r) {
|
|
472
496
|
if (!r) return "";
|
|
473
497
|
if (!/\r/.test(r)) return r;
|
|
474
498
|
for (r = r.replace(/\r+\n/gm, `
|
|
475
499
|
`); /\r./.test(r); )
|
|
476
|
-
r = r.replace(/^([^\r\n]*)\r+([^\r\n]+)/gm, function(i,
|
|
477
|
-
return
|
|
500
|
+
r = r.replace(/^([^\r\n]*)\r+([^\r\n]+)/gm, function(i, o, s) {
|
|
501
|
+
return s + o.slice(s.length);
|
|
478
502
|
});
|
|
479
503
|
return r;
|
|
480
504
|
}
|
|
481
505
|
function t(r) {
|
|
482
|
-
for (var i = 0,
|
|
483
|
-
r[i].length <= r[
|
|
506
|
+
for (var i = 0, o = 0; o < r.length; o++)
|
|
507
|
+
r[i].length <= r[o].length && (i = o);
|
|
484
508
|
return i;
|
|
485
509
|
}
|
|
486
510
|
function a(r) {
|
|
487
511
|
if (!/\r/.test(r)) return r;
|
|
488
|
-
for (var i = r.split("\r"),
|
|
489
|
-
var
|
|
490
|
-
|
|
512
|
+
for (var i = r.split("\r"), o = []; i.length > 0; ) {
|
|
513
|
+
var s = t(i);
|
|
514
|
+
o.push(i[s]), i = i.slice(s + 1);
|
|
491
515
|
}
|
|
492
|
-
return
|
|
516
|
+
return o.join("\r");
|
|
493
517
|
}
|
|
494
518
|
function n(r) {
|
|
495
519
|
if (!r) return "";
|
|
@@ -502,11 +526,11 @@ function En() {
|
|
|
502
526
|
return e(r.slice(0, i)) + `
|
|
503
527
|
` + a(r.slice(i + 1));
|
|
504
528
|
}
|
|
505
|
-
return
|
|
529
|
+
return ie.exports = e, ie.exports.escapeCarriageReturn = e, ie.exports.escapeCarriageReturnSafe = n, ie.exports;
|
|
506
530
|
}
|
|
507
|
-
var
|
|
508
|
-
function
|
|
509
|
-
return e =
|
|
531
|
+
var Xn = Kn();
|
|
532
|
+
function Jn(e, t) {
|
|
533
|
+
return e = Xn.escapeCarriageReturn(er(e)), Gn.ansiToJson(e, {
|
|
510
534
|
json: !0,
|
|
511
535
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
512
536
|
remove_empty: !0,
|
|
@@ -514,11 +538,11 @@ function Cn(e, t) {
|
|
|
514
538
|
use_classes: t
|
|
515
539
|
});
|
|
516
540
|
}
|
|
517
|
-
function
|
|
541
|
+
function qn(e) {
|
|
518
542
|
const t = [];
|
|
519
|
-
return e.bg && t.push(
|
|
543
|
+
return e.bg && t.push(O[`${e.bg}-bg`]), e.fg && t.push(O[`${e.fg}-fg`]), e.decoration && t.push(O[`ansi-${e.decoration}`]), t.length === 0 ? null : t.join(" ");
|
|
520
544
|
}
|
|
521
|
-
function
|
|
545
|
+
function Zn(e) {
|
|
522
546
|
const t = {};
|
|
523
547
|
switch (e.bg && (t.backgroundColor = `rgb(${e.bg})`), e.fg && (t.color = `rgb(${e.fg})`), e.decoration) {
|
|
524
548
|
case "bold":
|
|
@@ -545,71 +569,71 @@ function Fn(e) {
|
|
|
545
569
|
}
|
|
546
570
|
return t;
|
|
547
571
|
}
|
|
548
|
-
function
|
|
549
|
-
const r = t ? null :
|
|
572
|
+
function Qn(e, t, a, n) {
|
|
573
|
+
const r = t ? null : Zn(a), i = t ? qn(a) : null;
|
|
550
574
|
if (!e)
|
|
551
|
-
return
|
|
575
|
+
return _e.createElement(
|
|
552
576
|
"pre",
|
|
553
577
|
{ style: r, key: n, className: i },
|
|
554
578
|
a.content
|
|
555
579
|
);
|
|
556
|
-
const
|
|
580
|
+
const o = [], s = /(\s|^)(https?:\/\/(?:www\.|(?!www))[^\s.]+\.[^\s]{2,}|www\.[^\s]+\.[^\s]{2,})/g;
|
|
557
581
|
let l = 0, f;
|
|
558
|
-
for (; (f =
|
|
559
|
-
const [,
|
|
560
|
-
c > l &&
|
|
561
|
-
const
|
|
562
|
-
|
|
563
|
-
|
|
582
|
+
for (; (f = s.exec(a.content)) !== null; ) {
|
|
583
|
+
const [, d, u] = f, c = f.index + d.length;
|
|
584
|
+
c > l && o.push(a.content.substring(l, c));
|
|
585
|
+
const p = u.startsWith("www.") ? `http://${u}` : u;
|
|
586
|
+
o.push(
|
|
587
|
+
_e.createElement(
|
|
564
588
|
"a",
|
|
565
589
|
{
|
|
566
590
|
key: l,
|
|
567
|
-
href:
|
|
591
|
+
href: p,
|
|
568
592
|
target: "_blank"
|
|
569
593
|
},
|
|
570
|
-
`${
|
|
594
|
+
`${u}`
|
|
571
595
|
)
|
|
572
|
-
), l =
|
|
596
|
+
), l = s.lastIndex;
|
|
573
597
|
}
|
|
574
|
-
return l < a.content.length &&
|
|
598
|
+
return l < a.content.length && o.push(a.content.substring(l)), _e.createElement("span", { style: r, key: n, className: i }, o);
|
|
575
599
|
}
|
|
576
|
-
function
|
|
600
|
+
function ia(e) {
|
|
577
601
|
const { className: t, useClasses: a, children: n, linkify: r } = e;
|
|
578
|
-
return
|
|
602
|
+
return _e.createElement(
|
|
579
603
|
"code",
|
|
580
604
|
{ className: t },
|
|
581
|
-
|
|
582
|
-
|
|
605
|
+
Jn(n ?? "", a ?? !1).map(
|
|
606
|
+
Qn.bind(null, r ?? !1, a ?? !1)
|
|
583
607
|
)
|
|
584
608
|
);
|
|
585
609
|
}
|
|
586
|
-
function
|
|
610
|
+
function er(e) {
|
|
587
611
|
let t = e;
|
|
588
612
|
do
|
|
589
613
|
e = t, t = e.replace(/[^\n]\x08/gm, "");
|
|
590
614
|
while (t.length < e.length);
|
|
591
615
|
return e;
|
|
592
616
|
}
|
|
593
|
-
const
|
|
617
|
+
const Le = In(En(({ text: e }, t) => {
|
|
594
618
|
const a = e?.split(`
|
|
595
619
|
`);
|
|
596
620
|
return /* @__PURE__ */ I("div", { ref: t, children: a?.map(
|
|
597
|
-
(n, r) => /* @__PURE__ */ I(
|
|
621
|
+
(n, r) => /* @__PURE__ */ I(ia, { className: O.Output, useClasses: !0, children: n === "" ? " " : n }, r)
|
|
598
622
|
) });
|
|
599
|
-
});
|
|
600
|
-
function
|
|
601
|
-
const [
|
|
602
|
-
|
|
603
|
-
const
|
|
604
|
-
|
|
623
|
+
}));
|
|
624
|
+
function tr({ value: e, prefix: t, onChange: a, onKeyUp: n, onKeyDown: r, inputRef: i }) {
|
|
625
|
+
const [o, s] = de(0), l = le(null);
|
|
626
|
+
Pn(() => {
|
|
627
|
+
const d = i.current;
|
|
628
|
+
d && l.current !== null ? (d.setSelectionRange(l.current, l.current), s(l.current), l.current = null) : d && d.selectionStart !== null && s(d.selectionStart);
|
|
605
629
|
}, [e, i]);
|
|
606
630
|
const f = () => {
|
|
607
|
-
const
|
|
608
|
-
|
|
631
|
+
const d = i.current?.selectionStart;
|
|
632
|
+
d != null && s(d);
|
|
609
633
|
};
|
|
610
|
-
return /* @__PURE__ */
|
|
611
|
-
t && /* @__PURE__ */ I(
|
|
612
|
-
/* @__PURE__ */
|
|
634
|
+
return /* @__PURE__ */ G("span", { className: O.Input, children: [
|
|
635
|
+
t && /* @__PURE__ */ I(ia, { className: O.Prefix, useClasses: !0, children: t }),
|
|
636
|
+
/* @__PURE__ */ G("span", { className: O["Input-container"], style: { "--cursor-offset": o }, children: [
|
|
613
637
|
/* @__PURE__ */ I("span", { "aria-hidden": "true", children: e }),
|
|
614
638
|
/* @__PURE__ */ I(
|
|
615
639
|
"input",
|
|
@@ -617,13 +641,13 @@ function jn({ value: e, prefix: t, onChange: a, onKeyUp: n, onKeyDown: r, inputR
|
|
|
617
641
|
id: "input",
|
|
618
642
|
value: e,
|
|
619
643
|
"aria-label": "Command input",
|
|
620
|
-
onChange: (
|
|
621
|
-
l.current =
|
|
644
|
+
onChange: (d) => {
|
|
645
|
+
l.current = d.target.selectionStart, a(d);
|
|
622
646
|
},
|
|
623
647
|
ref: i,
|
|
624
648
|
onKeyUp: n,
|
|
625
|
-
onKeyDown: (
|
|
626
|
-
r?.(
|
|
649
|
+
onKeyDown: (d) => {
|
|
650
|
+
r?.(d), f();
|
|
627
651
|
},
|
|
628
652
|
onClick: f,
|
|
629
653
|
onSelect: f,
|
|
@@ -635,157 +659,172 @@ function jn({ value: e, prefix: t, onChange: a, onKeyUp: n, onKeyDown: r, inputR
|
|
|
635
659
|
] })
|
|
636
660
|
] });
|
|
637
661
|
}
|
|
638
|
-
function
|
|
639
|
-
const
|
|
662
|
+
function ar({ app: e, path: t, input: a, setTitle: n, close: r, active: i, focus: o, autoSubmit: s }) {
|
|
663
|
+
const l = le(null), f = le(null), d = le(ra.ZERO), { charSize: u, containerSize: c, sentinel: p } = vn({ containerRef: l }), [h, b] = de(0), [w, x] = de(!1), [y, g] = bn({
|
|
640
664
|
app: e,
|
|
641
665
|
path: t,
|
|
642
666
|
input: a,
|
|
643
667
|
exit: r,
|
|
644
|
-
sizeRef:
|
|
668
|
+
sizeRef: d
|
|
645
669
|
});
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
}, [
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
670
|
+
Y(() => {
|
|
671
|
+
s && a && g.prompt && !w && (x(!0), window.confirm(`Do you want to run the following command?
|
|
672
|
+
|
|
673
|
+
${a}`) && (y.run(a), b((S) => S + 1)));
|
|
674
|
+
}, [s, a, w, g.prompt, y]), Y(() => {
|
|
675
|
+
n?.(An.strip(g.prompt).trim());
|
|
676
|
+
}, [g.prompt, n]), Y(() => {
|
|
677
|
+
i && (g.stream ? l.current?.focus() : f.current?.focus());
|
|
678
|
+
}, [i, g.stream]), Y(() => {
|
|
679
|
+
if (f.current && !g.stream) {
|
|
680
|
+
const S = g.line.length;
|
|
681
|
+
f.current.setSelectionRange(S, S);
|
|
654
682
|
}
|
|
655
683
|
}, [g.historyOffset]);
|
|
656
|
-
const
|
|
657
|
-
|
|
684
|
+
const P = () => {
|
|
685
|
+
l.current && (l.current.scrollTop = l.current.scrollHeight);
|
|
658
686
|
};
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
}, [g.history.length, g.line, g.ttyBuffer]),
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
);
|
|
670
|
-
}, p = new ResizeObserver(y);
|
|
671
|
-
return p.observe(o.current), y(), () => p.disconnect();
|
|
672
|
-
}, []);
|
|
673
|
-
const b = (y) => {
|
|
674
|
-
const { key: p } = y;
|
|
675
|
-
if ((y.ctrlKey || y.metaKey) && p === "c" && !y.shiftKey) {
|
|
676
|
-
y.preventDefault(), c.interrupt();
|
|
677
|
-
return;
|
|
678
|
-
}
|
|
679
|
-
if (!g.stream)
|
|
680
|
-
if (p === "Tab")
|
|
681
|
-
y.preventDefault(), c.autoComplete();
|
|
682
|
-
else if (p === "Enter") {
|
|
683
|
-
const P = y.target.value;
|
|
684
|
-
c.run(P), d((T) => T + 1);
|
|
685
|
-
} else p === "ArrowUp" ? (y.preventDefault(), c.historySearch(1)) : p === "ArrowDown" && (y.preventDefault(), c.historySearch(-1));
|
|
686
|
-
}, k = (y) => {
|
|
687
|
-
c.setLine(y.target.value);
|
|
688
|
-
}, x = () => {
|
|
687
|
+
Y(() => {
|
|
688
|
+
P();
|
|
689
|
+
}, [g.history.length, g.line, g.ttyBuffer]), Y(() => {
|
|
690
|
+
d.current.set(c.x, c.y);
|
|
691
|
+
}, [c]);
|
|
692
|
+
const k = (S) => {
|
|
693
|
+
y.handleKeyDown(S), S.key === "Enter" && !g.stream && b((C) => C + 1);
|
|
694
|
+
}, J = (S) => {
|
|
695
|
+
y.setLine(S.target.value);
|
|
696
|
+
}, Ne = je(() => {
|
|
689
697
|
if (g.isUsingAltScreen)
|
|
690
|
-
return g.ttyBuffer ? /* @__PURE__ */ I(
|
|
691
|
-
let
|
|
692
|
-
for (let
|
|
693
|
-
if (g.history[
|
|
694
|
-
|
|
698
|
+
return g.ttyBuffer ? /* @__PURE__ */ I(Le, { text: g.ttyBuffer }) : null;
|
|
699
|
+
let S = 0;
|
|
700
|
+
for (let C = g.history.length - 1; C >= 0; C--)
|
|
701
|
+
if ((g.history[C].flags & yn.Clear) !== 0) {
|
|
702
|
+
S = C + 1;
|
|
695
703
|
break;
|
|
696
704
|
}
|
|
697
|
-
return
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
705
|
+
return g.history.slice(S).map(
|
|
706
|
+
(C, H) => /* @__PURE__ */ I(Le, { text: C.displayText }, H)
|
|
707
|
+
);
|
|
708
|
+
}, [g.history, g.isUsingAltScreen, g.ttyBuffer]), re = (S) => {
|
|
709
|
+
o?.(S), S.button === 2 && (S.preventDefault(), navigator.clipboard.readText().then((C) => {
|
|
710
|
+
if (g.isRawMode) {
|
|
711
|
+
for (const ve of C)
|
|
712
|
+
y.handleKeyDown({
|
|
713
|
+
key: ve,
|
|
714
|
+
ctrlKey: S.ctrlKey,
|
|
715
|
+
metaKey: S.metaKey,
|
|
716
|
+
shiftKey: S.shiftKey,
|
|
717
|
+
preventDefault: S.preventDefault.bind(S)
|
|
718
|
+
});
|
|
719
|
+
return;
|
|
720
|
+
}
|
|
721
|
+
const H = f.current;
|
|
722
|
+
if (!H)
|
|
723
|
+
return;
|
|
724
|
+
const bt = H.selectionStart ?? g.line.length, gn = H.selectionEnd ?? g.line.length;
|
|
725
|
+
y.setLine((ve) => ve.substring(0, bt) + C + ve.substring(gn));
|
|
726
|
+
const yt = bt + C.length;
|
|
710
727
|
setTimeout(() => {
|
|
711
|
-
|
|
728
|
+
H.focus(), H.setSelectionRange(yt, yt);
|
|
712
729
|
}, 0);
|
|
713
|
-
}).catch((
|
|
714
|
-
console.error(
|
|
730
|
+
}).catch((C) => {
|
|
731
|
+
console.error(C);
|
|
715
732
|
}));
|
|
716
|
-
},
|
|
717
|
-
|
|
718
|
-
}
|
|
719
|
-
|
|
733
|
+
}, Te = (S) => {
|
|
734
|
+
S.preventDefault();
|
|
735
|
+
}, mn = je(() => u.x === 0 || u.y === 0 ? {} : {
|
|
736
|
+
"--char-width": `${u.x}px`,
|
|
737
|
+
"--char-height": `${u.y}px`
|
|
738
|
+
}, [u]), hn = je(() => !g.isRawMode || u.x === 0 || u.y === 0 ? {} : {
|
|
739
|
+
left: g.cursorPosition.x * u.x,
|
|
740
|
+
top: g.cursorPosition.y * u.y
|
|
741
|
+
}, [g.cursorPosition, g.isRawMode, u]);
|
|
742
|
+
return /* @__PURE__ */ G(
|
|
720
743
|
"div",
|
|
721
744
|
{
|
|
722
|
-
ref:
|
|
745
|
+
ref: l,
|
|
723
746
|
tabIndex: 0,
|
|
724
|
-
className:
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
747
|
+
className: O.Terminal,
|
|
748
|
+
style: mn,
|
|
749
|
+
onKeyDown: k,
|
|
750
|
+
onMouseDown: re,
|
|
751
|
+
onContextMenu: Te,
|
|
752
|
+
onClick: (S) => {
|
|
753
|
+
window.getSelection()?.toString().length || (S.preventDefault(), g.stream ? l.current?.focus() : f.current?.focus());
|
|
730
754
|
},
|
|
731
755
|
children: [
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
756
|
+
p,
|
|
757
|
+
/* @__PURE__ */ G("div", { className: O.History, children: [
|
|
758
|
+
Ne,
|
|
759
|
+
g.isRawMode && /* @__PURE__ */ I("div", { className: O.VirtualCursor, style: hn })
|
|
760
|
+
] }),
|
|
761
|
+
!g.isUsingAltScreen && !g.stream && /* @__PURE__ */ I(
|
|
762
|
+
tr,
|
|
735
763
|
{
|
|
736
764
|
value: g.line,
|
|
737
|
-
prefix: g.prompt,
|
|
738
|
-
onChange:
|
|
739
|
-
inputRef:
|
|
765
|
+
prefix: (g.ttyBuffer ?? "") + g.prompt,
|
|
766
|
+
onChange: J,
|
|
767
|
+
inputRef: f
|
|
740
768
|
},
|
|
741
|
-
|
|
742
|
-
)
|
|
769
|
+
h
|
|
770
|
+
),
|
|
771
|
+
!g.isUsingAltScreen && g.stream && g.ttyBuffer && /* @__PURE__ */ I(Le, { text: g.ttyBuffer }),
|
|
772
|
+
g.stream && /* @__PURE__ */ I(
|
|
773
|
+
_n,
|
|
774
|
+
{
|
|
775
|
+
className: `${O.InterruptButton} ${xn.TextBold}`,
|
|
776
|
+
onClick: () => y.interrupt(),
|
|
777
|
+
title: "Interrupt (Ctrl+C)",
|
|
778
|
+
icon: Nn,
|
|
779
|
+
children: "Stop"
|
|
780
|
+
}
|
|
781
|
+
)
|
|
743
782
|
]
|
|
744
783
|
}
|
|
745
784
|
);
|
|
746
785
|
}
|
|
747
|
-
class
|
|
786
|
+
class nr extends aa {
|
|
748
787
|
constructor() {
|
|
749
|
-
super("Terminal", "terminal",
|
|
788
|
+
super("Terminal", "terminal", ar), this.setIconUrl("https://os.prozilla.dev/assets/apps/icons/terminal.svg"), this.setRole(na.APP_ROLES.terminal), this.setCategory("Utilities & tools");
|
|
750
789
|
}
|
|
751
790
|
addCommands(t) {
|
|
752
791
|
return t.forEach((a) => this.addCommand(a)), this;
|
|
753
792
|
}
|
|
754
793
|
addCommand(t) {
|
|
755
|
-
return
|
|
794
|
+
return pn.builtins.push(t), this;
|
|
756
795
|
}
|
|
757
796
|
}
|
|
758
|
-
const
|
|
759
|
-
|
|
760
|
-
function
|
|
797
|
+
const rr = new nr();
|
|
798
|
+
rr.setMetadata({ name: "@prozilla-os/terminal", version: "2.0.1", author: "Prozilla", website: "https://os.prozilla.dev/terminal" });
|
|
799
|
+
function He(e, t) {
|
|
761
800
|
(t == null || t > e.length) && (t = e.length);
|
|
762
801
|
for (var a = 0, n = Array(t); a < t; a++) n[a] = e[a];
|
|
763
802
|
return n;
|
|
764
803
|
}
|
|
765
|
-
function
|
|
804
|
+
function ir(e) {
|
|
766
805
|
if (Array.isArray(e)) return e;
|
|
767
806
|
}
|
|
768
|
-
function
|
|
769
|
-
if (Array.isArray(e)) return
|
|
807
|
+
function or(e) {
|
|
808
|
+
if (Array.isArray(e)) return He(e);
|
|
770
809
|
}
|
|
771
|
-
function
|
|
810
|
+
function sr(e, t) {
|
|
772
811
|
if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
|
|
773
812
|
}
|
|
774
|
-
function
|
|
813
|
+
function lr(e, t) {
|
|
775
814
|
for (var a = 0; a < t.length; a++) {
|
|
776
815
|
var n = t[a];
|
|
777
|
-
n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e,
|
|
816
|
+
n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, oa(n.key), n);
|
|
778
817
|
}
|
|
779
818
|
}
|
|
780
|
-
function
|
|
781
|
-
return t &&
|
|
819
|
+
function fr(e, t, a) {
|
|
820
|
+
return t && lr(e.prototype, t), Object.defineProperty(e, "prototype", {
|
|
782
821
|
writable: !1
|
|
783
822
|
}), e;
|
|
784
823
|
}
|
|
785
|
-
function
|
|
824
|
+
function xe(e, t) {
|
|
786
825
|
var a = typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
|
|
787
826
|
if (!a) {
|
|
788
|
-
if (Array.isArray(e) || (a =
|
|
827
|
+
if (Array.isArray(e) || (a = ot(e)) || t) {
|
|
789
828
|
a && (e = a);
|
|
790
829
|
var n = 0, r = function() {
|
|
791
830
|
};
|
|
@@ -808,68 +847,68 @@ function ye(e, t) {
|
|
|
808
847
|
throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
809
848
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
810
849
|
}
|
|
811
|
-
var i,
|
|
850
|
+
var i, o = !0, s = !1;
|
|
812
851
|
return {
|
|
813
852
|
s: function() {
|
|
814
853
|
a = a.call(e);
|
|
815
854
|
},
|
|
816
855
|
n: function() {
|
|
817
856
|
var l = a.next();
|
|
818
|
-
return
|
|
857
|
+
return o = l.done, l;
|
|
819
858
|
},
|
|
820
859
|
e: function(l) {
|
|
821
|
-
|
|
860
|
+
s = !0, i = l;
|
|
822
861
|
},
|
|
823
862
|
f: function() {
|
|
824
863
|
try {
|
|
825
|
-
|
|
864
|
+
o || a.return == null || a.return();
|
|
826
865
|
} finally {
|
|
827
|
-
if (
|
|
866
|
+
if (s) throw i;
|
|
828
867
|
}
|
|
829
868
|
}
|
|
830
869
|
};
|
|
831
870
|
}
|
|
832
871
|
function _(e, t, a) {
|
|
833
|
-
return (t =
|
|
872
|
+
return (t = oa(t)) in e ? Object.defineProperty(e, t, {
|
|
834
873
|
value: a,
|
|
835
874
|
enumerable: !0,
|
|
836
875
|
configurable: !0,
|
|
837
876
|
writable: !0
|
|
838
877
|
}) : e[t] = a, e;
|
|
839
878
|
}
|
|
840
|
-
function
|
|
879
|
+
function ur(e) {
|
|
841
880
|
if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null) return Array.from(e);
|
|
842
881
|
}
|
|
843
|
-
function
|
|
882
|
+
function cr(e, t) {
|
|
844
883
|
var a = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
|
|
845
884
|
if (a != null) {
|
|
846
|
-
var n, r, i,
|
|
885
|
+
var n, r, i, o, s = [], l = !0, f = !1;
|
|
847
886
|
try {
|
|
848
887
|
if (i = (a = a.call(e)).next, t === 0) {
|
|
849
888
|
if (Object(a) !== a) return;
|
|
850
889
|
l = !1;
|
|
851
|
-
} else for (; !(l = (n = i.call(a)).done) && (
|
|
852
|
-
} catch (
|
|
853
|
-
f = !0, r =
|
|
890
|
+
} else for (; !(l = (n = i.call(a)).done) && (s.push(n.value), s.length !== t); l = !0) ;
|
|
891
|
+
} catch (d) {
|
|
892
|
+
f = !0, r = d;
|
|
854
893
|
} finally {
|
|
855
894
|
try {
|
|
856
|
-
if (!l && a.return != null && (
|
|
895
|
+
if (!l && a.return != null && (o = a.return(), Object(o) !== o)) return;
|
|
857
896
|
} finally {
|
|
858
897
|
if (f) throw r;
|
|
859
898
|
}
|
|
860
899
|
}
|
|
861
|
-
return
|
|
900
|
+
return s;
|
|
862
901
|
}
|
|
863
902
|
}
|
|
864
|
-
function
|
|
903
|
+
function dr() {
|
|
865
904
|
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
866
905
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
867
906
|
}
|
|
868
|
-
function
|
|
907
|
+
function mr() {
|
|
869
908
|
throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
870
909
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
871
910
|
}
|
|
872
|
-
function
|
|
911
|
+
function wt(e, t) {
|
|
873
912
|
var a = Object.keys(e);
|
|
874
913
|
if (Object.getOwnPropertySymbols) {
|
|
875
914
|
var n = Object.getOwnPropertySymbols(e);
|
|
@@ -882,21 +921,21 @@ function ht(e, t) {
|
|
|
882
921
|
function m(e) {
|
|
883
922
|
for (var t = 1; t < arguments.length; t++) {
|
|
884
923
|
var a = arguments[t] != null ? arguments[t] : {};
|
|
885
|
-
t % 2 ?
|
|
924
|
+
t % 2 ? wt(Object(a), !0).forEach(function(n) {
|
|
886
925
|
_(e, n, a[n]);
|
|
887
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(a)) :
|
|
926
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(a)) : wt(Object(a)).forEach(function(n) {
|
|
888
927
|
Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(a, n));
|
|
889
928
|
});
|
|
890
929
|
}
|
|
891
930
|
return e;
|
|
892
931
|
}
|
|
893
|
-
function
|
|
894
|
-
return
|
|
932
|
+
function Ee(e, t) {
|
|
933
|
+
return ir(e) || cr(e, t) || ot(e, t) || dr();
|
|
895
934
|
}
|
|
896
|
-
function
|
|
897
|
-
return
|
|
935
|
+
function T(e) {
|
|
936
|
+
return or(e) || ur(e) || ot(e) || mr();
|
|
898
937
|
}
|
|
899
|
-
function
|
|
938
|
+
function hr(e, t) {
|
|
900
939
|
if (typeof e != "object" || !e) return e;
|
|
901
940
|
var a = e[Symbol.toPrimitive];
|
|
902
941
|
if (a !== void 0) {
|
|
@@ -906,37 +945,37 @@ function Vn(e, t) {
|
|
|
906
945
|
}
|
|
907
946
|
return (t === "string" ? String : Number)(e);
|
|
908
947
|
}
|
|
909
|
-
function
|
|
910
|
-
var t =
|
|
948
|
+
function oa(e) {
|
|
949
|
+
var t = hr(e, "string");
|
|
911
950
|
return typeof t == "symbol" ? t : t + "";
|
|
912
951
|
}
|
|
913
|
-
function
|
|
952
|
+
function Se(e) {
|
|
914
953
|
"@babel/helpers - typeof";
|
|
915
|
-
return
|
|
954
|
+
return Se = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
|
|
916
955
|
return typeof t;
|
|
917
956
|
} : function(t) {
|
|
918
957
|
return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
|
|
919
|
-
},
|
|
958
|
+
}, Se(e);
|
|
920
959
|
}
|
|
921
|
-
function
|
|
960
|
+
function ot(e, t) {
|
|
922
961
|
if (e) {
|
|
923
|
-
if (typeof e == "string") return
|
|
962
|
+
if (typeof e == "string") return He(e, t);
|
|
924
963
|
var a = {}.toString.call(e).slice(8, -1);
|
|
925
|
-
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) ?
|
|
964
|
+
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) ? He(e, t) : void 0;
|
|
926
965
|
}
|
|
927
966
|
}
|
|
928
|
-
var
|
|
929
|
-
},
|
|
930
|
-
mark:
|
|
931
|
-
measure:
|
|
967
|
+
var kt = function() {
|
|
968
|
+
}, st = {}, sa = {}, la = null, fa = {
|
|
969
|
+
mark: kt,
|
|
970
|
+
measure: kt
|
|
932
971
|
};
|
|
933
972
|
try {
|
|
934
|
-
typeof window < "u" && (
|
|
973
|
+
typeof window < "u" && (st = window), typeof document < "u" && (sa = document), typeof MutationObserver < "u" && (la = MutationObserver), typeof performance < "u" && (fa = performance);
|
|
935
974
|
} catch {
|
|
936
975
|
}
|
|
937
|
-
var
|
|
938
|
-
|
|
939
|
-
var z = !!A.documentElement && !!A.head && typeof A.addEventListener == "function" && typeof A.createElement == "function",
|
|
976
|
+
var gr = st.navigator || {}, St = gr.userAgent, At = St === void 0 ? "" : St, U = st, A = sa, It = la, be = fa;
|
|
977
|
+
U.document;
|
|
978
|
+
var z = !!A.documentElement && !!A.head && typeof A.addEventListener == "function" && typeof A.createElement == "function", ua = ~At.indexOf("MSIE") || ~At.indexOf("Trident/"), Re, pr = /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)?[\-\ ]/, vr = /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, ca = {
|
|
940
979
|
classic: {
|
|
941
980
|
fa: "solid",
|
|
942
981
|
fas: "solid",
|
|
@@ -1012,6 +1051,10 @@ var z = !!A.documentElement && !!A.head && typeof A.addEventListener == "functio
|
|
|
1012
1051
|
"fa-solid": "solid",
|
|
1013
1052
|
faes: "solid"
|
|
1014
1053
|
},
|
|
1054
|
+
graphite: {
|
|
1055
|
+
"fa-thin": "thin",
|
|
1056
|
+
fagt: "thin"
|
|
1057
|
+
},
|
|
1015
1058
|
jelly: {
|
|
1016
1059
|
"fa-regular": "regular",
|
|
1017
1060
|
fajr: "regular"
|
|
@@ -1040,13 +1083,13 @@ var z = !!A.documentElement && !!A.head && typeof A.addEventListener == "functio
|
|
|
1040
1083
|
"fa-semibold": "semibold",
|
|
1041
1084
|
faufsb: "semibold"
|
|
1042
1085
|
}
|
|
1043
|
-
},
|
|
1086
|
+
}, br = {
|
|
1044
1087
|
GROUP: "duotone-group",
|
|
1045
1088
|
PRIMARY: "primary",
|
|
1046
1089
|
SECONDARY: "secondary"
|
|
1047
|
-
},
|
|
1048
|
-
|
|
1049
|
-
var
|
|
1090
|
+
}, da = ["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"], E = "classic", he = "duotone", ma = "sharp", ha = "sharp-duotone", ga = "chisel", pa = "etch", va = "graphite", ba = "jelly", ya = "jelly-duo", _a = "jelly-fill", xa = "notdog", wa = "notdog-duo", ka = "slab", Sa = "slab-press", Aa = "thumbprint", Ia = "utility", Ea = "utility-duo", Pa = "utility-fill", Ca = "whiteboard", yr = "Classic", _r = "Duotone", xr = "Sharp", wr = "Sharp Duotone", kr = "Chisel", Sr = "Etch", Ar = "Graphite", Ir = "Jelly", Er = "Jelly Duo", Pr = "Jelly Fill", Cr = "Notdog", Fr = "Notdog Duo", Or = "Slab", Nr = "Slab Press", Tr = "Thumbprint", jr = "Utility", $r = "Utility Duo", Lr = "Utility Fill", Rr = "Whiteboard", Fa = [E, he, ma, ha, ga, pa, va, ba, ya, _a, xa, wa, ka, Sa, Aa, Ia, Ea, Pa, Ca];
|
|
1091
|
+
Re = {}, _(_(_(_(_(_(_(_(_(_(Re, E, yr), he, _r), ma, xr), ha, wr), ga, kr), pa, Sr), va, Ar), ba, Ir), ya, Er), _a, Pr), _(_(_(_(_(_(_(_(_(Re, xa, Cr), wa, Fr), ka, Or), Sa, Nr), Aa, Tr), Ia, jr), Ea, $r), Pa, Lr), Ca, Rr);
|
|
1092
|
+
var Dr = {
|
|
1050
1093
|
classic: {
|
|
1051
1094
|
900: "fas",
|
|
1052
1095
|
400: "far",
|
|
@@ -1093,6 +1136,9 @@ var pr = {
|
|
|
1093
1136
|
etch: {
|
|
1094
1137
|
900: "faes"
|
|
1095
1138
|
},
|
|
1139
|
+
graphite: {
|
|
1140
|
+
100: "fagt"
|
|
1141
|
+
},
|
|
1096
1142
|
chisel: {
|
|
1097
1143
|
400: "facr"
|
|
1098
1144
|
},
|
|
@@ -1114,7 +1160,7 @@ var pr = {
|
|
|
1114
1160
|
"utility-fill": {
|
|
1115
1161
|
600: "faufsb"
|
|
1116
1162
|
}
|
|
1117
|
-
},
|
|
1163
|
+
}, Mr = {
|
|
1118
1164
|
"Font Awesome 7 Free": {
|
|
1119
1165
|
900: "fas",
|
|
1120
1166
|
400: "far"
|
|
@@ -1187,6 +1233,10 @@ var pr = {
|
|
|
1187
1233
|
900: "faes",
|
|
1188
1234
|
normal: "faes"
|
|
1189
1235
|
},
|
|
1236
|
+
"Font Awesome 7 Graphite": {
|
|
1237
|
+
100: "fagt",
|
|
1238
|
+
normal: "fagt"
|
|
1239
|
+
},
|
|
1190
1240
|
"Font Awesome 7 Chisel": {
|
|
1191
1241
|
400: "facr",
|
|
1192
1242
|
normal: "facr"
|
|
@@ -1207,7 +1257,7 @@ var pr = {
|
|
|
1207
1257
|
600: "faufsb",
|
|
1208
1258
|
normal: "faufsb"
|
|
1209
1259
|
}
|
|
1210
|
-
},
|
|
1260
|
+
}, zr = /* @__PURE__ */ new Map([["classic", {
|
|
1211
1261
|
defaultShortPrefixId: "fas",
|
|
1212
1262
|
defaultStyleId: "solid",
|
|
1213
1263
|
styleIds: ["solid", "regular", "light", "thin", "brands"],
|
|
@@ -1243,6 +1293,12 @@ var pr = {
|
|
|
1243
1293
|
styleIds: ["solid"],
|
|
1244
1294
|
futureStyleIds: [],
|
|
1245
1295
|
defaultFontWeight: 900
|
|
1296
|
+
}], ["graphite", {
|
|
1297
|
+
defaultShortPrefixId: "fagt",
|
|
1298
|
+
defaultStyleId: "thin",
|
|
1299
|
+
styleIds: ["thin"],
|
|
1300
|
+
futureStyleIds: [],
|
|
1301
|
+
defaultFontWeight: 100
|
|
1246
1302
|
}], ["jelly", {
|
|
1247
1303
|
defaultShortPrefixId: "fajr",
|
|
1248
1304
|
defaultStyleId: "regular",
|
|
@@ -1315,7 +1371,7 @@ var pr = {
|
|
|
1315
1371
|
styleIds: ["semibold"],
|
|
1316
1372
|
futureStyleIds: [],
|
|
1317
1373
|
defaultFontWeight: 600
|
|
1318
|
-
}]]),
|
|
1374
|
+
}]]), Ur = {
|
|
1319
1375
|
chisel: {
|
|
1320
1376
|
regular: "facr"
|
|
1321
1377
|
},
|
|
@@ -1335,6 +1391,9 @@ var pr = {
|
|
|
1335
1391
|
etch: {
|
|
1336
1392
|
solid: "faes"
|
|
1337
1393
|
},
|
|
1394
|
+
graphite: {
|
|
1395
|
+
thin: "fagt"
|
|
1396
|
+
},
|
|
1338
1397
|
jelly: {
|
|
1339
1398
|
regular: "fajr"
|
|
1340
1399
|
},
|
|
@@ -1383,7 +1442,7 @@ var pr = {
|
|
|
1383
1442
|
whiteboard: {
|
|
1384
1443
|
semibold: "fawsb"
|
|
1385
1444
|
}
|
|
1386
|
-
},
|
|
1445
|
+
}, Oa = ["fak", "fa-kit", "fakd", "fa-kit-duotone"], Et = {
|
|
1387
1446
|
kit: {
|
|
1388
1447
|
fak: "kit",
|
|
1389
1448
|
"fa-kit": "kit"
|
|
@@ -1392,13 +1451,13 @@ var pr = {
|
|
|
1392
1451
|
fakd: "kit-duotone",
|
|
1393
1452
|
"fa-kit-duotone": "kit-duotone"
|
|
1394
1453
|
}
|
|
1395
|
-
},
|
|
1396
|
-
_(_({},
|
|
1397
|
-
var
|
|
1454
|
+
}, Br = ["kit"], Wr = "kit", Hr = "kit-duotone", Yr = "Kit", Vr = "Kit Duotone";
|
|
1455
|
+
_(_({}, Wr, Yr), Hr, Vr);
|
|
1456
|
+
var Gr = {
|
|
1398
1457
|
kit: {
|
|
1399
1458
|
"fa-kit": "fak"
|
|
1400
1459
|
}
|
|
1401
|
-
},
|
|
1460
|
+
}, Kr = {
|
|
1402
1461
|
"Font Awesome Kit": {
|
|
1403
1462
|
400: "fak",
|
|
1404
1463
|
normal: "fak"
|
|
@@ -1407,27 +1466,27 @@ var Ar = {
|
|
|
1407
1466
|
400: "fakd",
|
|
1408
1467
|
normal: "fakd"
|
|
1409
1468
|
}
|
|
1410
|
-
},
|
|
1469
|
+
}, Xr = {
|
|
1411
1470
|
kit: {
|
|
1412
1471
|
fak: "fa-kit"
|
|
1413
1472
|
}
|
|
1414
|
-
},
|
|
1473
|
+
}, Pt = {
|
|
1415
1474
|
kit: {
|
|
1416
1475
|
kit: "fak"
|
|
1417
1476
|
},
|
|
1418
1477
|
"kit-duotone": {
|
|
1419
1478
|
"kit-duotone": "fakd"
|
|
1420
1479
|
}
|
|
1421
|
-
},
|
|
1480
|
+
}, De, ye = {
|
|
1422
1481
|
GROUP: "duotone-group",
|
|
1423
1482
|
SWAP_OPACITY: "swap-opacity",
|
|
1424
1483
|
PRIMARY: "primary",
|
|
1425
1484
|
SECONDARY: "secondary"
|
|
1426
|
-
},
|
|
1427
|
-
|
|
1428
|
-
var
|
|
1429
|
-
_(_({},
|
|
1430
|
-
var
|
|
1485
|
+
}, 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"], qr = "classic", Zr = "duotone", Qr = "sharp", ei = "sharp-duotone", ti = "chisel", ai = "etch", ni = "graphite", ri = "jelly", ii = "jelly-duo", oi = "jelly-fill", si = "notdog", li = "notdog-duo", fi = "slab", ui = "slab-press", ci = "thumbprint", di = "utility", mi = "utility-duo", hi = "utility-fill", gi = "whiteboard", pi = "Classic", vi = "Duotone", bi = "Sharp", yi = "Sharp Duotone", _i = "Chisel", xi = "Etch", wi = "Graphite", ki = "Jelly", Si = "Jelly Duo", Ai = "Jelly Fill", Ii = "Notdog", Ei = "Notdog Duo", Pi = "Slab", Ci = "Slab Press", Fi = "Thumbprint", Oi = "Utility", Ni = "Utility Duo", Ti = "Utility Fill", ji = "Whiteboard";
|
|
1486
|
+
De = {}, _(_(_(_(_(_(_(_(_(_(De, qr, pi), Zr, vi), Qr, bi), ei, yi), ti, _i), ai, xi), ni, wi), ri, ki), ii, Si), oi, Ai), _(_(_(_(_(_(_(_(_(De, si, Ii), li, Ei), fi, Pi), ui, Ci), ci, Fi), di, Oi), mi, Ni), hi, Ti), gi, ji);
|
|
1487
|
+
var $i = "kit", Li = "kit-duotone", Ri = "Kit", Di = "Kit Duotone";
|
|
1488
|
+
_(_({}, $i, Ri), Li, Di);
|
|
1489
|
+
var Mi = {
|
|
1431
1490
|
classic: {
|
|
1432
1491
|
"fa-brands": "fab",
|
|
1433
1492
|
"fa-duotone": "fad",
|
|
@@ -1474,6 +1533,9 @@ var hi = {
|
|
|
1474
1533
|
etch: {
|
|
1475
1534
|
"fa-solid": "faes"
|
|
1476
1535
|
},
|
|
1536
|
+
graphite: {
|
|
1537
|
+
"fa-thin": "fagt"
|
|
1538
|
+
},
|
|
1477
1539
|
jelly: {
|
|
1478
1540
|
"fa-regular": "fajr"
|
|
1479
1541
|
},
|
|
@@ -1495,7 +1557,7 @@ var hi = {
|
|
|
1495
1557
|
"utility-fill": {
|
|
1496
1558
|
"fa-semibold": "faufsb"
|
|
1497
1559
|
}
|
|
1498
|
-
},
|
|
1560
|
+
}, zi = {
|
|
1499
1561
|
classic: ["fas", "far", "fal", "fat", "fad"],
|
|
1500
1562
|
duotone: ["fadr", "fadl", "fadt"],
|
|
1501
1563
|
sharp: ["fass", "fasr", "fasl", "fast"],
|
|
@@ -1507,6 +1569,7 @@ var hi = {
|
|
|
1507
1569
|
notdog: ["fans"],
|
|
1508
1570
|
"notdog-duo": ["fands"],
|
|
1509
1571
|
etch: ["faes"],
|
|
1572
|
+
graphite: ["fagt"],
|
|
1510
1573
|
jelly: ["fajr"],
|
|
1511
1574
|
"jelly-fill": ["fajfr"],
|
|
1512
1575
|
"jelly-duo": ["fajdr"],
|
|
@@ -1514,7 +1577,7 @@ var hi = {
|
|
|
1514
1577
|
utility: ["fausb"],
|
|
1515
1578
|
"utility-duo": ["faudsb"],
|
|
1516
1579
|
"utility-fill": ["faufsb"]
|
|
1517
|
-
},
|
|
1580
|
+
}, Ye = {
|
|
1518
1581
|
classic: {
|
|
1519
1582
|
fab: "fa-brands",
|
|
1520
1583
|
fad: "fa-duotone",
|
|
@@ -1561,6 +1624,9 @@ var hi = {
|
|
|
1561
1624
|
etch: {
|
|
1562
1625
|
faes: "fa-solid"
|
|
1563
1626
|
},
|
|
1627
|
+
graphite: {
|
|
1628
|
+
fagt: "fa-thin"
|
|
1629
|
+
},
|
|
1564
1630
|
jelly: {
|
|
1565
1631
|
fajr: "fa-regular"
|
|
1566
1632
|
},
|
|
@@ -1582,11 +1648,11 @@ var hi = {
|
|
|
1582
1648
|
"utility-fill": {
|
|
1583
1649
|
faufsb: "fa-semibold"
|
|
1584
1650
|
}
|
|
1585
|
-
},
|
|
1651
|
+
}, Ui = ["fa-solid", "fa-regular", "fa-light", "fa-thin", "fa-duotone", "fa-brands", "fa-semibold"], Na = ["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, Ui), Bi = ["solid", "regular", "light", "thin", "duotone", "brands", "semibold"], Ta = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], Wi = Ta.concat([11, 12, 13, 14, 15, 16, 17, 18, 19, 20]), Hi = ["aw", "fw", "pull-left", "pull-right"], Yi = [].concat(T(Object.keys(zi)), Bi, Hi, ["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(Ta.map(function(e) {
|
|
1586
1652
|
return "".concat(e, "x");
|
|
1587
|
-
})).concat(
|
|
1653
|
+
})).concat(Wi.map(function(e) {
|
|
1588
1654
|
return "w-".concat(e);
|
|
1589
|
-
})),
|
|
1655
|
+
})), Vi = {
|
|
1590
1656
|
"Font Awesome 5 Free": {
|
|
1591
1657
|
900: "fas",
|
|
1592
1658
|
400: "far"
|
|
@@ -1604,56 +1670,56 @@ var hi = {
|
|
|
1604
1670
|
"Font Awesome 5 Duotone": {
|
|
1605
1671
|
900: "fad"
|
|
1606
1672
|
}
|
|
1607
|
-
},
|
|
1673
|
+
}, D = "___FONT_AWESOME___", Ve = 16, ja = "fa", $a = "svg-inline--fa", K = "data-fa-i2svg", Ge = "data-fa-pseudo-element", Gi = "data-fa-pseudo-element-pending", lt = "data-prefix", ft = "data-icon", Ct = "fontawesome-i2svg", Ki = "async", Xi = ["HTML", "HEAD", "STYLE", "SCRIPT"], La = ["::before", "::after", ":before", ":after"], Ra = (function() {
|
|
1608
1674
|
try {
|
|
1609
1675
|
return process.env.NODE_ENV === "production";
|
|
1610
1676
|
} catch {
|
|
1611
1677
|
return !1;
|
|
1612
1678
|
}
|
|
1613
1679
|
})();
|
|
1614
|
-
function
|
|
1680
|
+
function ge(e) {
|
|
1615
1681
|
return new Proxy(e, {
|
|
1616
1682
|
get: function(a, n) {
|
|
1617
1683
|
return n in a ? a[n] : a[E];
|
|
1618
1684
|
}
|
|
1619
1685
|
});
|
|
1620
1686
|
}
|
|
1621
|
-
var
|
|
1622
|
-
|
|
1687
|
+
var Da = m({}, ca);
|
|
1688
|
+
Da[E] = m(m(m(m({}, {
|
|
1623
1689
|
"fa-duotone": "duotone"
|
|
1624
|
-
}),
|
|
1625
|
-
var
|
|
1626
|
-
|
|
1690
|
+
}), ca[E]), Et.kit), Et["kit-duotone"]);
|
|
1691
|
+
var Ji = ge(Da), Ke = m({}, Ur);
|
|
1692
|
+
Ke[E] = m(m(m(m({}, {
|
|
1627
1693
|
duotone: "fad"
|
|
1628
|
-
}),
|
|
1629
|
-
var
|
|
1630
|
-
|
|
1631
|
-
var
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
var
|
|
1635
|
-
|
|
1636
|
-
var
|
|
1637
|
-
function
|
|
1694
|
+
}), Ke[E]), Pt.kit), Pt["kit-duotone"]);
|
|
1695
|
+
var Ft = ge(Ke), Xe = m({}, Ye);
|
|
1696
|
+
Xe[E] = m(m({}, Xe[E]), Xr.kit);
|
|
1697
|
+
var ut = ge(Xe), Je = m({}, Mi);
|
|
1698
|
+
Je[E] = m(m({}, Je[E]), Gr.kit);
|
|
1699
|
+
ge(Je);
|
|
1700
|
+
var qi = pr, Ma = "fa-layers-text", Zi = vr, Qi = m({}, Dr);
|
|
1701
|
+
ge(Qi);
|
|
1702
|
+
var eo = ["class", "data-prefix", "data-icon", "data-fa-transform", "data-fa-mask"], Me = br, to = [].concat(T(Br), T(Yi)), fe = U.FontAwesomeConfig || {};
|
|
1703
|
+
function ao(e) {
|
|
1638
1704
|
var t = A.querySelector("script[" + e + "]");
|
|
1639
1705
|
if (t)
|
|
1640
1706
|
return t.getAttribute(e);
|
|
1641
1707
|
}
|
|
1642
|
-
function
|
|
1708
|
+
function no(e) {
|
|
1643
1709
|
return e === "" ? !0 : e === "false" ? !1 : e === "true" ? !0 : e;
|
|
1644
1710
|
}
|
|
1645
1711
|
if (A && typeof A.querySelector == "function") {
|
|
1646
|
-
var
|
|
1647
|
-
|
|
1648
|
-
var t =
|
|
1649
|
-
r != null && (
|
|
1712
|
+
var ro = [["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"]];
|
|
1713
|
+
ro.forEach(function(e) {
|
|
1714
|
+
var t = Ee(e, 2), a = t[0], n = t[1], r = no(ao(a));
|
|
1715
|
+
r != null && (fe[n] = r);
|
|
1650
1716
|
});
|
|
1651
1717
|
}
|
|
1652
|
-
var
|
|
1718
|
+
var za = {
|
|
1653
1719
|
styleDefault: "solid",
|
|
1654
1720
|
familyDefault: E,
|
|
1655
|
-
cssPrefix:
|
|
1656
|
-
replacementClass:
|
|
1721
|
+
cssPrefix: ja,
|
|
1722
|
+
replacementClass: $a,
|
|
1657
1723
|
autoReplaceSvg: !0,
|
|
1658
1724
|
autoAddCss: !0,
|
|
1659
1725
|
searchPseudoElements: !1,
|
|
@@ -1665,15 +1731,15 @@ var Ta = {
|
|
|
1665
1731
|
measurePerformance: !1,
|
|
1666
1732
|
showMissingIcons: !0
|
|
1667
1733
|
};
|
|
1668
|
-
|
|
1669
|
-
var te = m(m({},
|
|
1734
|
+
fe.familyPrefix && (fe.cssPrefix = fe.familyPrefix);
|
|
1735
|
+
var te = m(m({}, za), fe);
|
|
1670
1736
|
te.autoReplaceSvg || (te.observeMutations = !1);
|
|
1671
1737
|
var v = {};
|
|
1672
|
-
Object.keys(
|
|
1738
|
+
Object.keys(za).forEach(function(e) {
|
|
1673
1739
|
Object.defineProperty(v, e, {
|
|
1674
1740
|
enumerable: !0,
|
|
1675
1741
|
set: function(a) {
|
|
1676
|
-
te[e] = a,
|
|
1742
|
+
te[e] = a, ue.forEach(function(n) {
|
|
1677
1743
|
return n(v);
|
|
1678
1744
|
});
|
|
1679
1745
|
},
|
|
@@ -1685,7 +1751,7 @@ Object.keys(Ta).forEach(function(e) {
|
|
|
1685
1751
|
Object.defineProperty(v, "familyPrefix", {
|
|
1686
1752
|
enumerable: !0,
|
|
1687
1753
|
set: function(t) {
|
|
1688
|
-
te.cssPrefix = t,
|
|
1754
|
+
te.cssPrefix = t, ue.forEach(function(a) {
|
|
1689
1755
|
return a(v);
|
|
1690
1756
|
});
|
|
1691
1757
|
},
|
|
@@ -1693,14 +1759,14 @@ Object.defineProperty(v, "familyPrefix", {
|
|
|
1693
1759
|
return te.cssPrefix;
|
|
1694
1760
|
}
|
|
1695
1761
|
});
|
|
1696
|
-
|
|
1697
|
-
var
|
|
1698
|
-
function
|
|
1699
|
-
return
|
|
1700
|
-
|
|
1762
|
+
U.FontAwesomeConfig = v;
|
|
1763
|
+
var ue = [];
|
|
1764
|
+
function io(e) {
|
|
1765
|
+
return ue.push(e), function() {
|
|
1766
|
+
ue.splice(ue.indexOf(e), 1);
|
|
1701
1767
|
};
|
|
1702
1768
|
}
|
|
1703
|
-
var
|
|
1769
|
+
var q = Ve, j = {
|
|
1704
1770
|
size: 16,
|
|
1705
1771
|
x: 0,
|
|
1706
1772
|
y: 0,
|
|
@@ -1708,54 +1774,54 @@ var X = Ue, N = {
|
|
|
1708
1774
|
flipX: !1,
|
|
1709
1775
|
flipY: !1
|
|
1710
1776
|
};
|
|
1711
|
-
function
|
|
1777
|
+
function oo(e) {
|
|
1712
1778
|
if (!(!e || !z)) {
|
|
1713
1779
|
var t = A.createElement("style");
|
|
1714
1780
|
t.setAttribute("type", "text/css"), t.innerHTML = e;
|
|
1715
1781
|
for (var a = A.head.childNodes, n = null, r = a.length - 1; r > -1; r--) {
|
|
1716
|
-
var i = a[r],
|
|
1717
|
-
["STYLE", "LINK"].indexOf(
|
|
1782
|
+
var i = a[r], o = (i.tagName || "").toUpperCase();
|
|
1783
|
+
["STYLE", "LINK"].indexOf(o) > -1 && (n = i);
|
|
1718
1784
|
}
|
|
1719
1785
|
return A.head.insertBefore(t, n), e;
|
|
1720
1786
|
}
|
|
1721
1787
|
}
|
|
1722
|
-
var
|
|
1723
|
-
function
|
|
1788
|
+
var so = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";
|
|
1789
|
+
function Ot() {
|
|
1724
1790
|
for (var e = 12, t = ""; e-- > 0; )
|
|
1725
|
-
t +=
|
|
1791
|
+
t += so[Math.random() * 62 | 0];
|
|
1726
1792
|
return t;
|
|
1727
1793
|
}
|
|
1728
|
-
function
|
|
1794
|
+
function ne(e) {
|
|
1729
1795
|
for (var t = [], a = (e || []).length >>> 0; a--; )
|
|
1730
1796
|
t[a] = e[a];
|
|
1731
1797
|
return t;
|
|
1732
1798
|
}
|
|
1733
|
-
function
|
|
1734
|
-
return e.classList ?
|
|
1799
|
+
function ct(e) {
|
|
1800
|
+
return e.classList ? ne(e.classList) : (e.getAttribute("class") || "").split(" ").filter(function(t) {
|
|
1735
1801
|
return t;
|
|
1736
1802
|
});
|
|
1737
1803
|
}
|
|
1738
|
-
function
|
|
1804
|
+
function Ua(e) {
|
|
1739
1805
|
return "".concat(e).replace(/&/g, "&").replace(/"/g, """).replace(/'/g, "'").replace(/</g, "<").replace(/>/g, ">");
|
|
1740
1806
|
}
|
|
1741
|
-
function
|
|
1807
|
+
function lo(e) {
|
|
1742
1808
|
return Object.keys(e || {}).reduce(function(t, a) {
|
|
1743
|
-
return t + "".concat(a, '="').concat(
|
|
1809
|
+
return t + "".concat(a, '="').concat(Ua(e[a]), '" ');
|
|
1744
1810
|
}, "").trim();
|
|
1745
1811
|
}
|
|
1746
|
-
function
|
|
1812
|
+
function Pe(e) {
|
|
1747
1813
|
return Object.keys(e || {}).reduce(function(t, a) {
|
|
1748
1814
|
return t + "".concat(a, ": ").concat(e[a].trim(), ";");
|
|
1749
1815
|
}, "");
|
|
1750
1816
|
}
|
|
1751
|
-
function
|
|
1752
|
-
return e.size !==
|
|
1817
|
+
function dt(e) {
|
|
1818
|
+
return e.size !== j.size || e.x !== j.x || e.y !== j.y || e.rotate !== j.rotate || e.flipX || e.flipY;
|
|
1753
1819
|
}
|
|
1754
|
-
function
|
|
1820
|
+
function fo(e) {
|
|
1755
1821
|
var t = e.transform, a = e.containerWidth, n = e.iconWidth, r = {
|
|
1756
1822
|
transform: "translate(".concat(a / 2, " 256)")
|
|
1757
|
-
}, i = "translate(".concat(t.x * 32, ", ").concat(t.y * 32, ") "),
|
|
1758
|
-
transform: "".concat(i, " ").concat(
|
|
1823
|
+
}, 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 = {
|
|
1824
|
+
transform: "".concat(i, " ").concat(o, " ").concat(s)
|
|
1759
1825
|
}, f = {
|
|
1760
1826
|
transform: "translate(".concat(n / 2 * -1, " -256)")
|
|
1761
1827
|
};
|
|
@@ -1765,42 +1831,43 @@ function Mi(e) {
|
|
|
1765
1831
|
path: f
|
|
1766
1832
|
};
|
|
1767
1833
|
}
|
|
1768
|
-
function
|
|
1769
|
-
var t = e.transform, a = e.width, n = a === void 0 ?
|
|
1770
|
-
return
|
|
1771
|
-
}
|
|
1772
|
-
var
|
|
1773
|
-
--fa-font-solid: normal 900 1em/1
|
|
1774
|
-
--fa-font-regular: normal 400 1em/1
|
|
1775
|
-
--fa-font-light: normal 300 1em/1
|
|
1776
|
-
--fa-font-thin: normal 100 1em/1
|
|
1777
|
-
--fa-font-duotone: normal 900 1em/1
|
|
1778
|
-
--fa-font-duotone-regular: normal 400 1em/1
|
|
1779
|
-
--fa-font-duotone-light: normal 300 1em/1
|
|
1780
|
-
--fa-font-duotone-thin: normal 100 1em/1
|
|
1781
|
-
--fa-font-brands: normal 400 1em/1
|
|
1782
|
-
--fa-font-sharp-solid: normal 900 1em/1
|
|
1783
|
-
--fa-font-sharp-regular: normal 400 1em/1
|
|
1784
|
-
--fa-font-sharp-light: normal 300 1em/1
|
|
1785
|
-
--fa-font-sharp-thin: normal 100 1em/1
|
|
1786
|
-
--fa-font-sharp-duotone-solid: normal 900 1em/1
|
|
1787
|
-
--fa-font-sharp-duotone-regular: normal 400 1em/1
|
|
1788
|
-
--fa-font-sharp-duotone-light: normal 300 1em/1
|
|
1789
|
-
--fa-font-sharp-duotone-thin: normal 100 1em/1
|
|
1790
|
-
--fa-font-slab-regular: normal 400 1em/1
|
|
1791
|
-
--fa-font-slab-press-regular: normal 400 1em/1
|
|
1792
|
-
--fa-font-whiteboard-semibold: normal 600 1em/1
|
|
1793
|
-
--fa-font-thumbprint-light: normal 300 1em/1
|
|
1794
|
-
--fa-font-notdog-solid: normal 900 1em/1
|
|
1795
|
-
--fa-font-notdog-duo-solid: normal 900 1em/1
|
|
1796
|
-
--fa-font-etch-solid: normal 900 1em/1
|
|
1797
|
-
--fa-font-
|
|
1798
|
-
--fa-font-jelly-
|
|
1799
|
-
--fa-font-jelly-
|
|
1800
|
-
--fa-font-
|
|
1801
|
-
--fa-font-
|
|
1802
|
-
--fa-font-utility-
|
|
1803
|
-
--fa-font-utility-
|
|
1834
|
+
function uo(e) {
|
|
1835
|
+
var t = e.transform, a = e.width, n = a === void 0 ? Ve : a, r = e.height, i = r === void 0 ? Ve : r, o = "";
|
|
1836
|
+
return ua ? o += "translate(".concat(t.x / q - n / 2, "em, ").concat(t.y / q - i / 2, "em) ") : o += "translate(calc(-50% + ".concat(t.x / q, "em), calc(-50% + ").concat(t.y / q, "em)) "), o += "scale(".concat(t.size / q * (t.flipX ? -1 : 1), ", ").concat(t.size / q * (t.flipY ? -1 : 1), ") "), o += "rotate(".concat(t.rotate, "deg) "), o;
|
|
1837
|
+
}
|
|
1838
|
+
var co = `:root, :host {
|
|
1839
|
+
--fa-font-solid: normal 900 1em/1 'Font Awesome 7 Free';
|
|
1840
|
+
--fa-font-regular: normal 400 1em/1 'Font Awesome 7 Free';
|
|
1841
|
+
--fa-font-light: normal 300 1em/1 'Font Awesome 7 Pro';
|
|
1842
|
+
--fa-font-thin: normal 100 1em/1 'Font Awesome 7 Pro';
|
|
1843
|
+
--fa-font-duotone: normal 900 1em/1 'Font Awesome 7 Duotone';
|
|
1844
|
+
--fa-font-duotone-regular: normal 400 1em/1 'Font Awesome 7 Duotone';
|
|
1845
|
+
--fa-font-duotone-light: normal 300 1em/1 'Font Awesome 7 Duotone';
|
|
1846
|
+
--fa-font-duotone-thin: normal 100 1em/1 'Font Awesome 7 Duotone';
|
|
1847
|
+
--fa-font-brands: normal 400 1em/1 'Font Awesome 7 Brands';
|
|
1848
|
+
--fa-font-sharp-solid: normal 900 1em/1 'Font Awesome 7 Sharp';
|
|
1849
|
+
--fa-font-sharp-regular: normal 400 1em/1 'Font Awesome 7 Sharp';
|
|
1850
|
+
--fa-font-sharp-light: normal 300 1em/1 'Font Awesome 7 Sharp';
|
|
1851
|
+
--fa-font-sharp-thin: normal 100 1em/1 'Font Awesome 7 Sharp';
|
|
1852
|
+
--fa-font-sharp-duotone-solid: normal 900 1em/1 'Font Awesome 7 Sharp Duotone';
|
|
1853
|
+
--fa-font-sharp-duotone-regular: normal 400 1em/1 'Font Awesome 7 Sharp Duotone';
|
|
1854
|
+
--fa-font-sharp-duotone-light: normal 300 1em/1 'Font Awesome 7 Sharp Duotone';
|
|
1855
|
+
--fa-font-sharp-duotone-thin: normal 100 1em/1 'Font Awesome 7 Sharp Duotone';
|
|
1856
|
+
--fa-font-slab-regular: normal 400 1em/1 'Font Awesome 7 Slab';
|
|
1857
|
+
--fa-font-slab-press-regular: normal 400 1em/1 'Font Awesome 7 Slab Press';
|
|
1858
|
+
--fa-font-whiteboard-semibold: normal 600 1em/1 'Font Awesome 7 Whiteboard';
|
|
1859
|
+
--fa-font-thumbprint-light: normal 300 1em/1 'Font Awesome 7 Thumbprint';
|
|
1860
|
+
--fa-font-notdog-solid: normal 900 1em/1 'Font Awesome 7 Notdog';
|
|
1861
|
+
--fa-font-notdog-duo-solid: normal 900 1em/1 'Font Awesome 7 Notdog Duo';
|
|
1862
|
+
--fa-font-etch-solid: normal 900 1em/1 'Font Awesome 7 Etch';
|
|
1863
|
+
--fa-font-graphite-thin: normal 100 1em/1 'Font Awesome 7 Graphite';
|
|
1864
|
+
--fa-font-jelly-regular: normal 400 1em/1 'Font Awesome 7 Jelly';
|
|
1865
|
+
--fa-font-jelly-fill-regular: normal 400 1em/1 'Font Awesome 7 Jelly Fill';
|
|
1866
|
+
--fa-font-jelly-duo-regular: normal 400 1em/1 'Font Awesome 7 Jelly Duo';
|
|
1867
|
+
--fa-font-chisel-regular: normal 400 1em/1 'Font Awesome 7 Chisel';
|
|
1868
|
+
--fa-font-utility-semibold: normal 600 1em/1 'Font Awesome 7 Utility';
|
|
1869
|
+
--fa-font-utility-duo-semibold: normal 600 1em/1 'Font Awesome 7 Utility Duo';
|
|
1870
|
+
--fa-font-utility-fill-semibold: normal 600 1em/1 'Font Awesome 7 Utility Fill';
|
|
1804
1871
|
}
|
|
1805
1872
|
|
|
1806
1873
|
.svg-inline--fa {
|
|
@@ -2320,56 +2387,56 @@ var qi = `:root, :host {
|
|
|
2320
2387
|
position: absolute;
|
|
2321
2388
|
z-index: var(--fa-stack-z-index, auto);
|
|
2322
2389
|
}`;
|
|
2323
|
-
function
|
|
2324
|
-
var e =
|
|
2390
|
+
function Ba() {
|
|
2391
|
+
var e = ja, t = $a, a = v.cssPrefix, n = v.replacementClass, r = co;
|
|
2325
2392
|
if (a !== e || n !== t) {
|
|
2326
|
-
var i = new RegExp("\\.".concat(e, "\\-"), "g"),
|
|
2327
|
-
r = r.replace(i, ".".concat(a, "-")).replace(
|
|
2393
|
+
var i = new RegExp("\\.".concat(e, "\\-"), "g"), o = new RegExp("\\--".concat(e, "\\-"), "g"), s = new RegExp("\\.".concat(t), "g");
|
|
2394
|
+
r = r.replace(i, ".".concat(a, "-")).replace(o, "--".concat(a, "-")).replace(s, ".".concat(n));
|
|
2328
2395
|
}
|
|
2329
2396
|
return r;
|
|
2330
2397
|
}
|
|
2331
|
-
var
|
|
2332
|
-
function
|
|
2333
|
-
v.autoAddCss && !
|
|
2398
|
+
var Nt = !1;
|
|
2399
|
+
function ze() {
|
|
2400
|
+
v.autoAddCss && !Nt && (oo(Ba()), Nt = !0);
|
|
2334
2401
|
}
|
|
2335
|
-
var
|
|
2402
|
+
var mo = {
|
|
2336
2403
|
mixout: function() {
|
|
2337
2404
|
return {
|
|
2338
2405
|
dom: {
|
|
2339
|
-
css:
|
|
2340
|
-
insertCss:
|
|
2406
|
+
css: Ba,
|
|
2407
|
+
insertCss: ze
|
|
2341
2408
|
}
|
|
2342
2409
|
};
|
|
2343
2410
|
},
|
|
2344
2411
|
hooks: function() {
|
|
2345
2412
|
return {
|
|
2346
2413
|
beforeDOMElementCreation: function() {
|
|
2347
|
-
|
|
2414
|
+
ze();
|
|
2348
2415
|
},
|
|
2349
2416
|
beforeI2svg: function() {
|
|
2350
|
-
|
|
2417
|
+
ze();
|
|
2351
2418
|
}
|
|
2352
2419
|
};
|
|
2353
2420
|
}
|
|
2354
|
-
}, M =
|
|
2355
|
-
M[
|
|
2356
|
-
M[
|
|
2357
|
-
M[
|
|
2358
|
-
M[
|
|
2359
|
-
var
|
|
2360
|
-
A.removeEventListener("DOMContentLoaded",
|
|
2421
|
+
}, M = U || {};
|
|
2422
|
+
M[D] || (M[D] = {});
|
|
2423
|
+
M[D].styles || (M[D].styles = {});
|
|
2424
|
+
M[D].hooks || (M[D].hooks = {});
|
|
2425
|
+
M[D].shims || (M[D].shims = []);
|
|
2426
|
+
var N = M[D], Wa = [], Ha = function() {
|
|
2427
|
+
A.removeEventListener("DOMContentLoaded", Ha), Ae = 1, Wa.map(function(t) {
|
|
2361
2428
|
return t();
|
|
2362
2429
|
});
|
|
2363
|
-
},
|
|
2364
|
-
z && (
|
|
2365
|
-
function
|
|
2366
|
-
z && (
|
|
2430
|
+
}, Ae = !1;
|
|
2431
|
+
z && (Ae = (A.documentElement.doScroll ? /^loaded|^c/ : /^loaded|^i|^c/).test(A.readyState), Ae || A.addEventListener("DOMContentLoaded", Ha));
|
|
2432
|
+
function ho(e) {
|
|
2433
|
+
z && (Ae ? setTimeout(e, 0) : Wa.push(e));
|
|
2367
2434
|
}
|
|
2368
|
-
function
|
|
2435
|
+
function pe(e) {
|
|
2369
2436
|
var t = e.tag, a = e.attributes, n = a === void 0 ? {} : a, r = e.children, i = r === void 0 ? [] : r;
|
|
2370
|
-
return typeof e == "string" ?
|
|
2437
|
+
return typeof e == "string" ? Ua(e) : "<".concat(t, " ").concat(lo(n), ">").concat(i.map(pe).join(""), "</").concat(t, ">");
|
|
2371
2438
|
}
|
|
2372
|
-
function
|
|
2439
|
+
function Tt(e, t, a) {
|
|
2373
2440
|
if (e && e[t] && e[t][a])
|
|
2374
2441
|
return {
|
|
2375
2442
|
prefix: t,
|
|
@@ -2377,107 +2444,107 @@ function It(e, t, a) {
|
|
|
2377
2444
|
icon: e[t][a]
|
|
2378
2445
|
};
|
|
2379
2446
|
}
|
|
2380
|
-
var
|
|
2381
|
-
var i = Object.keys(t),
|
|
2382
|
-
for (n === void 0 ? (l = 1,
|
|
2383
|
-
f = i[l],
|
|
2384
|
-
return
|
|
2447
|
+
var Ue = function(t, a, n, r) {
|
|
2448
|
+
var i = Object.keys(t), o = i.length, s = a, l, f, d;
|
|
2449
|
+
for (n === void 0 ? (l = 1, d = t[i[0]]) : (l = 0, d = n); l < o; l++)
|
|
2450
|
+
f = i[l], d = s(d, t[f], f, t);
|
|
2451
|
+
return d;
|
|
2385
2452
|
};
|
|
2386
|
-
function
|
|
2387
|
-
return
|
|
2453
|
+
function Ya(e) {
|
|
2454
|
+
return T(e).length !== 1 ? null : e.codePointAt(0).toString(16);
|
|
2388
2455
|
}
|
|
2389
|
-
function
|
|
2456
|
+
function jt(e) {
|
|
2390
2457
|
return Object.keys(e).reduce(function(t, a) {
|
|
2391
2458
|
var n = e[a], r = !!n.icon;
|
|
2392
2459
|
return r ? t[n.iconName] = n.icon : t[a] = n, t;
|
|
2393
2460
|
}, {});
|
|
2394
2461
|
}
|
|
2395
|
-
function
|
|
2396
|
-
var a = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, n = a.skipHooks, r = n === void 0 ? !1 : n, i =
|
|
2397
|
-
typeof
|
|
2462
|
+
function qe(e, t) {
|
|
2463
|
+
var a = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, n = a.skipHooks, r = n === void 0 ? !1 : n, i = jt(t);
|
|
2464
|
+
typeof N.hooks.addPack == "function" && !r ? N.hooks.addPack(e, jt(t)) : N.styles[e] = m(m({}, N.styles[e] || {}), i), e === "fas" && qe("fa", t);
|
|
2398
2465
|
}
|
|
2399
|
-
var
|
|
2400
|
-
return e[t] = Object.keys(
|
|
2401
|
-
}, {}),
|
|
2402
|
-
function
|
|
2403
|
-
return ~
|
|
2466
|
+
var me = N.styles, go = N.shims, Va = Object.keys(ut), po = Va.reduce(function(e, t) {
|
|
2467
|
+
return e[t] = Object.keys(ut[t]), e;
|
|
2468
|
+
}, {}), mt = null, Ga = {}, Ka = {}, Xa = {}, Ja = {}, qa = {};
|
|
2469
|
+
function vo(e) {
|
|
2470
|
+
return ~to.indexOf(e);
|
|
2404
2471
|
}
|
|
2405
|
-
function
|
|
2472
|
+
function bo(e, t) {
|
|
2406
2473
|
var a = t.split("-"), n = a[0], r = a.slice(1).join("-");
|
|
2407
|
-
return n === e && r !== "" && !
|
|
2474
|
+
return n === e && r !== "" && !vo(r) ? r : null;
|
|
2408
2475
|
}
|
|
2409
|
-
var
|
|
2476
|
+
var Za = function() {
|
|
2410
2477
|
var t = function(i) {
|
|
2411
|
-
return
|
|
2412
|
-
return
|
|
2478
|
+
return Ue(me, function(o, s, l) {
|
|
2479
|
+
return o[l] = Ue(s, i, {}), o;
|
|
2413
2480
|
}, {});
|
|
2414
2481
|
};
|
|
2415
|
-
|
|
2416
|
-
if (i[3] && (r[i[3]] =
|
|
2417
|
-
var
|
|
2482
|
+
Ga = t(function(r, i, o) {
|
|
2483
|
+
if (i[3] && (r[i[3]] = o), i[2]) {
|
|
2484
|
+
var s = i[2].filter(function(l) {
|
|
2418
2485
|
return typeof l == "number";
|
|
2419
2486
|
});
|
|
2420
|
-
|
|
2421
|
-
r[l.toString(16)] =
|
|
2487
|
+
s.forEach(function(l) {
|
|
2488
|
+
r[l.toString(16)] = o;
|
|
2422
2489
|
});
|
|
2423
2490
|
}
|
|
2424
2491
|
return r;
|
|
2425
|
-
}),
|
|
2426
|
-
if (r[
|
|
2427
|
-
var
|
|
2492
|
+
}), Ka = t(function(r, i, o) {
|
|
2493
|
+
if (r[o] = o, i[2]) {
|
|
2494
|
+
var s = i[2].filter(function(l) {
|
|
2428
2495
|
return typeof l == "string";
|
|
2429
2496
|
});
|
|
2430
|
-
|
|
2431
|
-
r[l] =
|
|
2497
|
+
s.forEach(function(l) {
|
|
2498
|
+
r[l] = o;
|
|
2432
2499
|
});
|
|
2433
2500
|
}
|
|
2434
2501
|
return r;
|
|
2435
|
-
}),
|
|
2436
|
-
var
|
|
2437
|
-
return r[
|
|
2438
|
-
r[l] =
|
|
2502
|
+
}), qa = t(function(r, i, o) {
|
|
2503
|
+
var s = i[2];
|
|
2504
|
+
return r[o] = o, s.forEach(function(l) {
|
|
2505
|
+
r[l] = o;
|
|
2439
2506
|
}), r;
|
|
2440
2507
|
});
|
|
2441
|
-
var a = "far" in
|
|
2442
|
-
var
|
|
2443
|
-
return
|
|
2444
|
-
prefix:
|
|
2508
|
+
var a = "far" in me || v.autoFetchSvg, n = Ue(go, function(r, i) {
|
|
2509
|
+
var o = i[0], s = i[1], l = i[2];
|
|
2510
|
+
return s === "far" && !a && (s = "fas"), typeof o == "string" && (r.names[o] = {
|
|
2511
|
+
prefix: s,
|
|
2445
2512
|
iconName: l
|
|
2446
|
-
}), typeof
|
|
2447
|
-
prefix:
|
|
2513
|
+
}), typeof o == "number" && (r.unicodes[o.toString(16)] = {
|
|
2514
|
+
prefix: s,
|
|
2448
2515
|
iconName: l
|
|
2449
2516
|
}), r;
|
|
2450
2517
|
}, {
|
|
2451
2518
|
names: {},
|
|
2452
2519
|
unicodes: {}
|
|
2453
2520
|
});
|
|
2454
|
-
|
|
2521
|
+
Xa = n.names, Ja = n.unicodes, mt = Ce(v.styleDefault, {
|
|
2455
2522
|
family: v.familyDefault
|
|
2456
2523
|
});
|
|
2457
2524
|
};
|
|
2458
|
-
|
|
2459
|
-
|
|
2525
|
+
io(function(e) {
|
|
2526
|
+
mt = Ce(e.styleDefault, {
|
|
2460
2527
|
family: v.familyDefault
|
|
2461
2528
|
});
|
|
2462
2529
|
});
|
|
2463
|
-
|
|
2464
|
-
function
|
|
2465
|
-
return (
|
|
2530
|
+
Za();
|
|
2531
|
+
function ht(e, t) {
|
|
2532
|
+
return (Ga[e] || {})[t];
|
|
2466
2533
|
}
|
|
2467
|
-
function
|
|
2468
|
-
return (
|
|
2534
|
+
function yo(e, t) {
|
|
2535
|
+
return (Ka[e] || {})[t];
|
|
2469
2536
|
}
|
|
2470
|
-
function
|
|
2471
|
-
return (
|
|
2537
|
+
function V(e, t) {
|
|
2538
|
+
return (qa[e] || {})[t];
|
|
2472
2539
|
}
|
|
2473
|
-
function
|
|
2474
|
-
return
|
|
2540
|
+
function Qa(e) {
|
|
2541
|
+
return Xa[e] || {
|
|
2475
2542
|
prefix: null,
|
|
2476
2543
|
iconName: null
|
|
2477
2544
|
};
|
|
2478
2545
|
}
|
|
2479
|
-
function
|
|
2480
|
-
var t =
|
|
2546
|
+
function _o(e) {
|
|
2547
|
+
var t = Ja[e], a = ht("fas", e);
|
|
2481
2548
|
return t || (a ? {
|
|
2482
2549
|
prefix: "fas",
|
|
2483
2550
|
iconName: a
|
|
@@ -2486,117 +2553,117 @@ function Gi(e) {
|
|
|
2486
2553
|
iconName: null
|
|
2487
2554
|
};
|
|
2488
2555
|
}
|
|
2489
|
-
function
|
|
2490
|
-
return
|
|
2556
|
+
function B() {
|
|
2557
|
+
return mt;
|
|
2491
2558
|
}
|
|
2492
|
-
var
|
|
2559
|
+
var en = function() {
|
|
2493
2560
|
return {
|
|
2494
2561
|
prefix: null,
|
|
2495
2562
|
iconName: null,
|
|
2496
2563
|
rest: []
|
|
2497
2564
|
};
|
|
2498
2565
|
};
|
|
2499
|
-
function
|
|
2500
|
-
var t = E, a =
|
|
2566
|
+
function xo(e) {
|
|
2567
|
+
var t = E, a = Va.reduce(function(n, r) {
|
|
2501
2568
|
return n[r] = "".concat(v.cssPrefix, "-").concat(r), n;
|
|
2502
2569
|
}, {});
|
|
2503
|
-
return
|
|
2570
|
+
return Fa.forEach(function(n) {
|
|
2504
2571
|
(e.includes(a[n]) || e.some(function(r) {
|
|
2505
|
-
return
|
|
2572
|
+
return po[n].includes(r);
|
|
2506
2573
|
})) && (t = n);
|
|
2507
2574
|
}), t;
|
|
2508
2575
|
}
|
|
2509
|
-
function
|
|
2510
|
-
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, a = t.family, n = a === void 0 ? E : a, r =
|
|
2511
|
-
if (n ===
|
|
2576
|
+
function Ce(e) {
|
|
2577
|
+
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, a = t.family, n = a === void 0 ? E : a, r = Ji[n][e];
|
|
2578
|
+
if (n === he && !e)
|
|
2512
2579
|
return "fad";
|
|
2513
|
-
var i =
|
|
2514
|
-
return
|
|
2580
|
+
var i = Ft[n][e] || Ft[n][r], o = e in N.styles ? e : null, s = i || o || null;
|
|
2581
|
+
return s;
|
|
2515
2582
|
}
|
|
2516
|
-
function
|
|
2583
|
+
function wo(e) {
|
|
2517
2584
|
var t = [], a = null;
|
|
2518
2585
|
return e.forEach(function(n) {
|
|
2519
|
-
var r =
|
|
2586
|
+
var r = bo(v.cssPrefix, n);
|
|
2520
2587
|
r ? a = r : n && t.push(n);
|
|
2521
2588
|
}), {
|
|
2522
2589
|
iconName: a,
|
|
2523
2590
|
rest: t
|
|
2524
2591
|
};
|
|
2525
2592
|
}
|
|
2526
|
-
function
|
|
2593
|
+
function $t(e) {
|
|
2527
2594
|
return e.sort().filter(function(t, a, n) {
|
|
2528
2595
|
return n.indexOf(t) === a;
|
|
2529
2596
|
});
|
|
2530
2597
|
}
|
|
2531
|
-
var
|
|
2532
|
-
function
|
|
2533
|
-
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, a = t.skipLookups, n = a === void 0 ? !1 : a, r = null, i =
|
|
2534
|
-
return
|
|
2535
|
-
})),
|
|
2536
|
-
return !
|
|
2537
|
-
})),
|
|
2538
|
-
return r =
|
|
2539
|
-
}), l =
|
|
2540
|
-
prefix:
|
|
2541
|
-
family:
|
|
2598
|
+
var Lt = Na.concat(Oa);
|
|
2599
|
+
function Fe(e) {
|
|
2600
|
+
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) {
|
|
2601
|
+
return Lt.includes(p);
|
|
2602
|
+
})), o = $t(e.filter(function(p) {
|
|
2603
|
+
return !Lt.includes(p);
|
|
2604
|
+
})), s = i.filter(function(p) {
|
|
2605
|
+
return r = p, !da.includes(p);
|
|
2606
|
+
}), l = Ee(s, 1), f = l[0], d = f === void 0 ? null : f, u = xo(i), c = m(m({}, wo(o)), {}, {
|
|
2607
|
+
prefix: Ce(d, {
|
|
2608
|
+
family: u
|
|
2542
2609
|
})
|
|
2543
2610
|
});
|
|
2544
|
-
return m(m(m({}, c),
|
|
2611
|
+
return m(m(m({}, c), Io({
|
|
2545
2612
|
values: e,
|
|
2546
|
-
family:
|
|
2547
|
-
styles:
|
|
2613
|
+
family: u,
|
|
2614
|
+
styles: me,
|
|
2548
2615
|
config: v,
|
|
2549
2616
|
canonical: c,
|
|
2550
2617
|
givenPrefix: r
|
|
2551
|
-
})),
|
|
2618
|
+
})), ko(n, r, c));
|
|
2552
2619
|
}
|
|
2553
|
-
function
|
|
2620
|
+
function ko(e, t, a) {
|
|
2554
2621
|
var n = a.prefix, r = a.iconName;
|
|
2555
2622
|
if (e || !n || !r)
|
|
2556
2623
|
return {
|
|
2557
2624
|
prefix: n,
|
|
2558
2625
|
iconName: r
|
|
2559
2626
|
};
|
|
2560
|
-
var i = t === "fa" ?
|
|
2561
|
-
return r = i.iconName ||
|
|
2627
|
+
var i = t === "fa" ? Qa(r) : {}, o = V(n, r);
|
|
2628
|
+
return r = i.iconName || o || r, n = i.prefix || n, n === "far" && !me.far && me.fas && !v.autoFetchSvg && (n = "fas"), {
|
|
2562
2629
|
prefix: n,
|
|
2563
2630
|
iconName: r
|
|
2564
2631
|
};
|
|
2565
2632
|
}
|
|
2566
|
-
var
|
|
2567
|
-
return e !== E || e !==
|
|
2568
|
-
}),
|
|
2633
|
+
var So = Fa.filter(function(e) {
|
|
2634
|
+
return e !== E || e !== he;
|
|
2635
|
+
}), Ao = Object.keys(Ye).filter(function(e) {
|
|
2569
2636
|
return e !== E;
|
|
2570
2637
|
}).map(function(e) {
|
|
2571
|
-
return Object.keys(
|
|
2638
|
+
return Object.keys(Ye[e]);
|
|
2572
2639
|
}).flat();
|
|
2573
|
-
function
|
|
2574
|
-
var t = e.values, a = e.family, n = e.canonical, r = e.givenPrefix, i = r === void 0 ? "" : r,
|
|
2575
|
-
if (!
|
|
2576
|
-
var h = Object.keys(
|
|
2577
|
-
return
|
|
2640
|
+
function Io(e) {
|
|
2641
|
+
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, f = l === void 0 ? {} : l, d = a === he, u = t.includes("fa-duotone") || t.includes("fad"), c = f.familyDefault === "duotone", p = n.prefix === "fad" || n.prefix === "fa-duotone";
|
|
2642
|
+
if (!d && (u || c || p) && (n.prefix = "fad"), (t.includes("fa-brands") || t.includes("fab")) && (n.prefix = "fab"), !n.prefix && So.includes(a)) {
|
|
2643
|
+
var h = Object.keys(s).find(function(w) {
|
|
2644
|
+
return Ao.includes(w);
|
|
2578
2645
|
});
|
|
2579
2646
|
if (h || f.autoFetchSvg) {
|
|
2580
|
-
var b =
|
|
2581
|
-
n.prefix = b, n.iconName =
|
|
2647
|
+
var b = zr.get(a).defaultShortPrefixId;
|
|
2648
|
+
n.prefix = b, n.iconName = V(n.prefix, n.iconName) || n.iconName;
|
|
2582
2649
|
}
|
|
2583
2650
|
}
|
|
2584
|
-
return (n.prefix === "fa" || i === "fa") && (n.prefix =
|
|
2651
|
+
return (n.prefix === "fa" || i === "fa") && (n.prefix = B() || "fas"), n;
|
|
2585
2652
|
}
|
|
2586
|
-
var
|
|
2653
|
+
var Eo = /* @__PURE__ */ (function() {
|
|
2587
2654
|
function e() {
|
|
2588
|
-
|
|
2655
|
+
sr(this, e), this.definitions = {};
|
|
2589
2656
|
}
|
|
2590
|
-
return
|
|
2657
|
+
return fr(e, [{
|
|
2591
2658
|
key: "add",
|
|
2592
2659
|
value: function() {
|
|
2593
2660
|
for (var a = this, n = arguments.length, r = new Array(n), i = 0; i < n; i++)
|
|
2594
2661
|
r[i] = arguments[i];
|
|
2595
|
-
var
|
|
2596
|
-
Object.keys(
|
|
2597
|
-
a.definitions[
|
|
2598
|
-
var l =
|
|
2599
|
-
l &&
|
|
2662
|
+
var o = r.reduce(this._pullDefinitions, {});
|
|
2663
|
+
Object.keys(o).forEach(function(s) {
|
|
2664
|
+
a.definitions[s] = m(m({}, a.definitions[s] || {}), o[s]), qe(s, o[s]);
|
|
2665
|
+
var l = ut[E][s];
|
|
2666
|
+
l && qe(l, o[s]), Za();
|
|
2600
2667
|
});
|
|
2601
2668
|
}
|
|
2602
2669
|
}, {
|
|
@@ -2611,42 +2678,42 @@ var ao = /* @__PURE__ */ (function() {
|
|
|
2611
2678
|
0: n
|
|
2612
2679
|
} : n;
|
|
2613
2680
|
return Object.keys(r).map(function(i) {
|
|
2614
|
-
var
|
|
2615
|
-
a[
|
|
2616
|
-
typeof
|
|
2617
|
-
}), a[
|
|
2681
|
+
var o = r[i], s = o.prefix, l = o.iconName, f = o.icon, d = f[2];
|
|
2682
|
+
a[s] || (a[s] = {}), d.length > 0 && d.forEach(function(u) {
|
|
2683
|
+
typeof u == "string" && (a[s][u] = f);
|
|
2684
|
+
}), a[s][l] = f;
|
|
2618
2685
|
}), a;
|
|
2619
2686
|
}
|
|
2620
2687
|
}]);
|
|
2621
|
-
})(),
|
|
2622
|
-
function
|
|
2688
|
+
})(), Rt = [], Q = {}, ee = {}, Po = Object.keys(ee);
|
|
2689
|
+
function Co(e, t) {
|
|
2623
2690
|
var a = t.mixoutsTo;
|
|
2624
|
-
return
|
|
2625
|
-
|
|
2626
|
-
}),
|
|
2691
|
+
return Rt = e, Q = {}, Object.keys(ee).forEach(function(n) {
|
|
2692
|
+
Po.indexOf(n) === -1 && delete ee[n];
|
|
2693
|
+
}), Rt.forEach(function(n) {
|
|
2627
2694
|
var r = n.mixout ? n.mixout() : {};
|
|
2628
|
-
if (Object.keys(r).forEach(function(
|
|
2629
|
-
typeof r[
|
|
2630
|
-
a[
|
|
2695
|
+
if (Object.keys(r).forEach(function(o) {
|
|
2696
|
+
typeof r[o] == "function" && (a[o] = r[o]), Se(r[o]) === "object" && Object.keys(r[o]).forEach(function(s) {
|
|
2697
|
+
a[o] || (a[o] = {}), a[o][s] = r[o][s];
|
|
2631
2698
|
});
|
|
2632
2699
|
}), n.hooks) {
|
|
2633
2700
|
var i = n.hooks();
|
|
2634
|
-
Object.keys(i).forEach(function(
|
|
2635
|
-
Q[
|
|
2701
|
+
Object.keys(i).forEach(function(o) {
|
|
2702
|
+
Q[o] || (Q[o] = []), Q[o].push(i[o]);
|
|
2636
2703
|
});
|
|
2637
2704
|
}
|
|
2638
2705
|
n.provides && n.provides(ee);
|
|
2639
2706
|
}), a;
|
|
2640
2707
|
}
|
|
2641
|
-
function
|
|
2708
|
+
function Ze(e, t) {
|
|
2642
2709
|
for (var a = arguments.length, n = new Array(a > 2 ? a - 2 : 0), r = 2; r < a; r++)
|
|
2643
2710
|
n[r - 2] = arguments[r];
|
|
2644
2711
|
var i = Q[e] || [];
|
|
2645
|
-
return i.forEach(function(
|
|
2646
|
-
t =
|
|
2712
|
+
return i.forEach(function(o) {
|
|
2713
|
+
t = o.apply(null, [t].concat(n));
|
|
2647
2714
|
}), t;
|
|
2648
2715
|
}
|
|
2649
|
-
function
|
|
2716
|
+
function X(e) {
|
|
2650
2717
|
for (var t = arguments.length, a = new Array(t > 1 ? t - 1 : 0), n = 1; n < t; n++)
|
|
2651
2718
|
a[n - 1] = arguments[n];
|
|
2652
2719
|
var r = Q[e] || [];
|
|
@@ -2658,71 +2725,71 @@ function W() {
|
|
|
2658
2725
|
var e = arguments[0], t = Array.prototype.slice.call(arguments, 1);
|
|
2659
2726
|
return ee[e] ? ee[e].apply(null, t) : void 0;
|
|
2660
2727
|
}
|
|
2661
|
-
function
|
|
2728
|
+
function Qe(e) {
|
|
2662
2729
|
e.prefix === "fa" && (e.prefix = "fas");
|
|
2663
|
-
var t = e.iconName, a = e.prefix ||
|
|
2730
|
+
var t = e.iconName, a = e.prefix || B();
|
|
2664
2731
|
if (t)
|
|
2665
|
-
return t =
|
|
2732
|
+
return t = V(a, t) || t, Tt(tn.definitions, a, t) || Tt(N.styles, a, t);
|
|
2666
2733
|
}
|
|
2667
|
-
var
|
|
2668
|
-
v.autoReplaceSvg = !1, v.observeMutations = !1,
|
|
2669
|
-
},
|
|
2734
|
+
var tn = new Eo(), Fo = function() {
|
|
2735
|
+
v.autoReplaceSvg = !1, v.observeMutations = !1, X("noAuto");
|
|
2736
|
+
}, Oo = {
|
|
2670
2737
|
i2svg: function() {
|
|
2671
2738
|
var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
2672
|
-
return z ? (
|
|
2739
|
+
return z ? (X("beforeI2svg", t), W("pseudoElements2svg", t), W("i2svg", t)) : Promise.reject(new Error("Operation requires a DOM of some kind."));
|
|
2673
2740
|
},
|
|
2674
2741
|
watch: function() {
|
|
2675
2742
|
var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, a = t.autoReplaceSvgRoot;
|
|
2676
|
-
v.autoReplaceSvg === !1 && (v.autoReplaceSvg = !0), v.observeMutations = !0,
|
|
2677
|
-
|
|
2743
|
+
v.autoReplaceSvg === !1 && (v.autoReplaceSvg = !0), v.observeMutations = !0, ho(function() {
|
|
2744
|
+
To({
|
|
2678
2745
|
autoReplaceSvgRoot: a
|
|
2679
|
-
}),
|
|
2746
|
+
}), X("watch", t);
|
|
2680
2747
|
});
|
|
2681
2748
|
}
|
|
2682
|
-
},
|
|
2749
|
+
}, No = {
|
|
2683
2750
|
icon: function(t) {
|
|
2684
2751
|
if (t === null)
|
|
2685
2752
|
return null;
|
|
2686
|
-
if (
|
|
2753
|
+
if (Se(t) === "object" && t.prefix && t.iconName)
|
|
2687
2754
|
return {
|
|
2688
2755
|
prefix: t.prefix,
|
|
2689
|
-
iconName:
|
|
2756
|
+
iconName: V(t.prefix, t.iconName) || t.iconName
|
|
2690
2757
|
};
|
|
2691
2758
|
if (Array.isArray(t) && t.length === 2) {
|
|
2692
|
-
var a = t[1].indexOf("fa-") === 0 ? t[1].slice(3) : t[1], n =
|
|
2759
|
+
var a = t[1].indexOf("fa-") === 0 ? t[1].slice(3) : t[1], n = Ce(t[0]);
|
|
2693
2760
|
return {
|
|
2694
2761
|
prefix: n,
|
|
2695
|
-
iconName:
|
|
2762
|
+
iconName: V(n, a) || a
|
|
2696
2763
|
};
|
|
2697
2764
|
}
|
|
2698
|
-
if (typeof t == "string" && (t.indexOf("".concat(v.cssPrefix, "-")) > -1 || t.match(
|
|
2699
|
-
var r =
|
|
2765
|
+
if (typeof t == "string" && (t.indexOf("".concat(v.cssPrefix, "-")) > -1 || t.match(qi))) {
|
|
2766
|
+
var r = Fe(t.split(" "), {
|
|
2700
2767
|
skipLookups: !0
|
|
2701
2768
|
});
|
|
2702
2769
|
return {
|
|
2703
|
-
prefix: r.prefix ||
|
|
2704
|
-
iconName:
|
|
2770
|
+
prefix: r.prefix || B(),
|
|
2771
|
+
iconName: V(r.prefix, r.iconName) || r.iconName
|
|
2705
2772
|
};
|
|
2706
2773
|
}
|
|
2707
2774
|
if (typeof t == "string") {
|
|
2708
|
-
var i =
|
|
2775
|
+
var i = B();
|
|
2709
2776
|
return {
|
|
2710
2777
|
prefix: i,
|
|
2711
|
-
iconName:
|
|
2778
|
+
iconName: V(i, t) || t
|
|
2712
2779
|
};
|
|
2713
2780
|
}
|
|
2714
2781
|
}
|
|
2715
|
-
},
|
|
2716
|
-
noAuto:
|
|
2782
|
+
}, F = {
|
|
2783
|
+
noAuto: Fo,
|
|
2717
2784
|
config: v,
|
|
2718
|
-
dom:
|
|
2719
|
-
parse:
|
|
2720
|
-
library:
|
|
2721
|
-
findIconDefinition:
|
|
2722
|
-
toHtml:
|
|
2723
|
-
},
|
|
2785
|
+
dom: Oo,
|
|
2786
|
+
parse: No,
|
|
2787
|
+
library: tn,
|
|
2788
|
+
findIconDefinition: Qe,
|
|
2789
|
+
toHtml: pe
|
|
2790
|
+
}, To = function() {
|
|
2724
2791
|
var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, a = t.autoReplaceSvgRoot, n = a === void 0 ? A : a;
|
|
2725
|
-
(Object.keys(
|
|
2792
|
+
(Object.keys(N.styles).length > 0 || v.autoFetchSvg) && z && v.autoReplaceSvg && F.dom.i2svg({
|
|
2726
2793
|
node: n
|
|
2727
2794
|
});
|
|
2728
2795
|
};
|
|
@@ -2732,7 +2799,7 @@ function Oe(e, t) {
|
|
|
2732
2799
|
}), Object.defineProperty(e, "html", {
|
|
2733
2800
|
get: function() {
|
|
2734
2801
|
return e.abstract.map(function(n) {
|
|
2735
|
-
return
|
|
2802
|
+
return pe(n);
|
|
2736
2803
|
});
|
|
2737
2804
|
}
|
|
2738
2805
|
}), Object.defineProperty(e, "node", {
|
|
@@ -2744,15 +2811,15 @@ function Oe(e, t) {
|
|
|
2744
2811
|
}
|
|
2745
2812
|
}), e;
|
|
2746
2813
|
}
|
|
2747
|
-
function
|
|
2748
|
-
var t = e.children, a = e.main, n = e.mask, r = e.attributes, i = e.styles,
|
|
2749
|
-
if (
|
|
2750
|
-
var
|
|
2751
|
-
x:
|
|
2814
|
+
function jo(e) {
|
|
2815
|
+
var t = e.children, a = e.main, n = e.mask, r = e.attributes, i = e.styles, o = e.transform;
|
|
2816
|
+
if (dt(o) && a.found && !n.found) {
|
|
2817
|
+
var s = a.width, l = a.height, f = {
|
|
2818
|
+
x: s / l / 2,
|
|
2752
2819
|
y: 0.5
|
|
2753
2820
|
};
|
|
2754
|
-
r.style =
|
|
2755
|
-
"transform-origin": "".concat(f.x +
|
|
2821
|
+
r.style = Pe(m(m({}, i), {}, {
|
|
2822
|
+
"transform-origin": "".concat(f.x + o.x / 16, "em ").concat(f.y + o.y / 16, "em")
|
|
2756
2823
|
}));
|
|
2757
2824
|
}
|
|
2758
2825
|
return [{
|
|
@@ -2761,8 +2828,8 @@ function fo(e) {
|
|
|
2761
2828
|
children: t
|
|
2762
2829
|
}];
|
|
2763
2830
|
}
|
|
2764
|
-
function
|
|
2765
|
-
var t = e.prefix, a = e.iconName, n = e.children, r = e.attributes, i = e.symbol,
|
|
2831
|
+
function $o(e) {
|
|
2832
|
+
var t = e.prefix, a = e.iconName, n = e.children, r = e.attributes, i = e.symbol, o = i === !0 ? "".concat(t, "-").concat(v.cssPrefix, "-").concat(a) : i;
|
|
2766
2833
|
return [{
|
|
2767
2834
|
tag: "svg",
|
|
2768
2835
|
attributes: {
|
|
@@ -2771,76 +2838,76 @@ function uo(e) {
|
|
|
2771
2838
|
children: [{
|
|
2772
2839
|
tag: "symbol",
|
|
2773
2840
|
attributes: m(m({}, r), {}, {
|
|
2774
|
-
id:
|
|
2841
|
+
id: o
|
|
2775
2842
|
}),
|
|
2776
2843
|
children: n
|
|
2777
2844
|
}]
|
|
2778
2845
|
}];
|
|
2779
2846
|
}
|
|
2780
|
-
function
|
|
2847
|
+
function Lo(e) {
|
|
2781
2848
|
var t = ["aria-label", "aria-labelledby", "title", "role"];
|
|
2782
2849
|
return t.some(function(a) {
|
|
2783
2850
|
return a in e;
|
|
2784
2851
|
});
|
|
2785
2852
|
}
|
|
2786
|
-
function
|
|
2787
|
-
var t = e.icons, a = t.main, n = t.mask, r = e.prefix, i = e.iconName,
|
|
2788
|
-
return f.classes.indexOf(
|
|
2789
|
-
}).filter(function(
|
|
2790
|
-
return
|
|
2791
|
-
}).concat(f.classes).join(" "),
|
|
2853
|
+
function gt(e) {
|
|
2854
|
+
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, f = e.extra, d = e.watchable, u = d === void 0 ? !1 : d, c = n.found ? n : a, p = c.width, h = c.height, b = [v.replacementClass, i ? "".concat(v.cssPrefix, "-").concat(i) : ""].filter(function(k) {
|
|
2855
|
+
return f.classes.indexOf(k) === -1;
|
|
2856
|
+
}).filter(function(k) {
|
|
2857
|
+
return k !== "" || !!k;
|
|
2858
|
+
}).concat(f.classes).join(" "), w = {
|
|
2792
2859
|
children: [],
|
|
2793
2860
|
attributes: m(m({}, f.attributes), {}, {
|
|
2794
2861
|
"data-prefix": r,
|
|
2795
2862
|
"data-icon": i,
|
|
2796
2863
|
class: b,
|
|
2797
2864
|
role: f.attributes.role || "img",
|
|
2798
|
-
viewBox: "0 0 ".concat(
|
|
2865
|
+
viewBox: "0 0 ".concat(p, " ").concat(h)
|
|
2799
2866
|
})
|
|
2800
2867
|
};
|
|
2801
|
-
!
|
|
2802
|
-
var x = m(m({},
|
|
2868
|
+
!Lo(f.attributes) && !f.attributes["aria-hidden"] && (w.attributes["aria-hidden"] = "true"), u && (w.attributes[K] = "");
|
|
2869
|
+
var x = m(m({}, w), {}, {
|
|
2803
2870
|
prefix: r,
|
|
2804
2871
|
iconName: i,
|
|
2805
2872
|
main: a,
|
|
2806
2873
|
mask: n,
|
|
2807
2874
|
maskId: l,
|
|
2808
|
-
transform:
|
|
2809
|
-
symbol:
|
|
2875
|
+
transform: o,
|
|
2876
|
+
symbol: s,
|
|
2810
2877
|
styles: m({}, f.styles)
|
|
2811
|
-
}),
|
|
2878
|
+
}), y = n.found && a.found ? W("generateAbstractMask", x) || {
|
|
2812
2879
|
children: [],
|
|
2813
2880
|
attributes: {}
|
|
2814
2881
|
} : W("generateAbstractIcon", x) || {
|
|
2815
2882
|
children: [],
|
|
2816
2883
|
attributes: {}
|
|
2817
|
-
},
|
|
2818
|
-
return x.children =
|
|
2884
|
+
}, g = y.children, P = y.attributes;
|
|
2885
|
+
return x.children = g, x.attributes = P, s ? $o(x) : jo(x);
|
|
2819
2886
|
}
|
|
2820
|
-
function
|
|
2821
|
-
var t = e.content, a = e.width, n = e.height, r = e.transform, i = e.extra,
|
|
2887
|
+
function Dt(e) {
|
|
2888
|
+
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 = m(m({}, i.attributes), {}, {
|
|
2822
2889
|
class: i.classes.join(" ")
|
|
2823
2890
|
});
|
|
2824
|
-
|
|
2891
|
+
s && (l[K] = "");
|
|
2825
2892
|
var f = m({}, i.styles);
|
|
2826
|
-
|
|
2893
|
+
dt(r) && (f.transform = uo({
|
|
2827
2894
|
transform: r,
|
|
2828
2895
|
width: a,
|
|
2829
2896
|
height: n
|
|
2830
2897
|
}), f["-webkit-transform"] = f.transform);
|
|
2831
|
-
var
|
|
2832
|
-
|
|
2833
|
-
var
|
|
2834
|
-
return
|
|
2898
|
+
var d = Pe(f);
|
|
2899
|
+
d.length > 0 && (l.style = d);
|
|
2900
|
+
var u = [];
|
|
2901
|
+
return u.push({
|
|
2835
2902
|
tag: "span",
|
|
2836
2903
|
attributes: l,
|
|
2837
2904
|
children: [t]
|
|
2838
|
-
}),
|
|
2905
|
+
}), u;
|
|
2839
2906
|
}
|
|
2840
|
-
function
|
|
2907
|
+
function Ro(e) {
|
|
2841
2908
|
var t = e.content, a = e.extra, n = m(m({}, a.attributes), {}, {
|
|
2842
2909
|
class: a.classes.join(" ")
|
|
2843
|
-
}), r =
|
|
2910
|
+
}), r = Pe(a.styles);
|
|
2844
2911
|
r.length > 0 && (n.style = r);
|
|
2845
2912
|
var i = [];
|
|
2846
2913
|
return i.push({
|
|
@@ -2849,30 +2916,30 @@ function mo(e) {
|
|
|
2849
2916
|
children: [t]
|
|
2850
2917
|
}), i;
|
|
2851
2918
|
}
|
|
2852
|
-
var
|
|
2853
|
-
function
|
|
2854
|
-
var t = e[0], a = e[1], n = e.slice(4), r =
|
|
2855
|
-
return Array.isArray(i) ?
|
|
2919
|
+
var Be = N.styles;
|
|
2920
|
+
function et(e) {
|
|
2921
|
+
var t = e[0], a = e[1], n = e.slice(4), r = Ee(n, 1), i = r[0], o = null;
|
|
2922
|
+
return Array.isArray(i) ? o = {
|
|
2856
2923
|
tag: "g",
|
|
2857
2924
|
attributes: {
|
|
2858
|
-
class: "".concat(v.cssPrefix, "-").concat(
|
|
2925
|
+
class: "".concat(v.cssPrefix, "-").concat(Me.GROUP)
|
|
2859
2926
|
},
|
|
2860
2927
|
children: [{
|
|
2861
2928
|
tag: "path",
|
|
2862
2929
|
attributes: {
|
|
2863
|
-
class: "".concat(v.cssPrefix, "-").concat(
|
|
2930
|
+
class: "".concat(v.cssPrefix, "-").concat(Me.SECONDARY),
|
|
2864
2931
|
fill: "currentColor",
|
|
2865
2932
|
d: i[0]
|
|
2866
2933
|
}
|
|
2867
2934
|
}, {
|
|
2868
2935
|
tag: "path",
|
|
2869
2936
|
attributes: {
|
|
2870
|
-
class: "".concat(v.cssPrefix, "-").concat(
|
|
2937
|
+
class: "".concat(v.cssPrefix, "-").concat(Me.PRIMARY),
|
|
2871
2938
|
fill: "currentColor",
|
|
2872
2939
|
d: i[1]
|
|
2873
2940
|
}
|
|
2874
2941
|
}]
|
|
2875
|
-
} :
|
|
2942
|
+
} : o = {
|
|
2876
2943
|
tag: "path",
|
|
2877
2944
|
attributes: {
|
|
2878
2945
|
fill: "currentColor",
|
|
@@ -2882,161 +2949,161 @@ function Xe(e) {
|
|
|
2882
2949
|
found: !0,
|
|
2883
2950
|
width: t,
|
|
2884
2951
|
height: a,
|
|
2885
|
-
icon:
|
|
2952
|
+
icon: o
|
|
2886
2953
|
};
|
|
2887
2954
|
}
|
|
2888
|
-
var
|
|
2955
|
+
var Do = {
|
|
2889
2956
|
found: !1,
|
|
2890
2957
|
width: 512,
|
|
2891
2958
|
height: 512
|
|
2892
2959
|
};
|
|
2893
|
-
function
|
|
2894
|
-
!
|
|
2960
|
+
function Mo(e, t) {
|
|
2961
|
+
!Ra && !v.showMissingIcons && e && console.error('Icon with name "'.concat(e, '" and prefix "').concat(t, '" is missing.'));
|
|
2895
2962
|
}
|
|
2896
|
-
function
|
|
2963
|
+
function tt(e, t) {
|
|
2897
2964
|
var a = t;
|
|
2898
|
-
return t === "fa" && v.styleDefault !== null && (t =
|
|
2965
|
+
return t === "fa" && v.styleDefault !== null && (t = B()), new Promise(function(n, r) {
|
|
2899
2966
|
if (a === "fa") {
|
|
2900
|
-
var i =
|
|
2967
|
+
var i = Qa(e) || {};
|
|
2901
2968
|
e = i.iconName || e, t = i.prefix || t;
|
|
2902
2969
|
}
|
|
2903
|
-
if (e && t &&
|
|
2904
|
-
var
|
|
2905
|
-
return n(
|
|
2970
|
+
if (e && t && Be[t] && Be[t][e]) {
|
|
2971
|
+
var o = Be[t][e];
|
|
2972
|
+
return n(et(o));
|
|
2906
2973
|
}
|
|
2907
|
-
|
|
2974
|
+
Mo(e, t), n(m(m({}, Do), {}, {
|
|
2908
2975
|
icon: v.showMissingIcons && e ? W("missingIconAbstract") || {} : {}
|
|
2909
2976
|
}));
|
|
2910
2977
|
});
|
|
2911
2978
|
}
|
|
2912
|
-
var
|
|
2913
|
-
},
|
|
2914
|
-
mark:
|
|
2915
|
-
measure:
|
|
2916
|
-
},
|
|
2917
|
-
return
|
|
2918
|
-
return
|
|
2979
|
+
var Mt = function() {
|
|
2980
|
+
}, at = v.measurePerformance && be && be.mark && be.measure ? be : {
|
|
2981
|
+
mark: Mt,
|
|
2982
|
+
measure: Mt
|
|
2983
|
+
}, oe = 'FA "7.2.0"', zo = function(t) {
|
|
2984
|
+
return at.mark("".concat(oe, " ").concat(t, " begins")), function() {
|
|
2985
|
+
return an(t);
|
|
2919
2986
|
};
|
|
2920
|
-
},
|
|
2921
|
-
|
|
2922
|
-
},
|
|
2923
|
-
begin:
|
|
2924
|
-
end:
|
|
2925
|
-
},
|
|
2987
|
+
}, an = function(t) {
|
|
2988
|
+
at.mark("".concat(oe, " ").concat(t, " ends")), at.measure("".concat(oe, " ").concat(t), "".concat(oe, " ").concat(t, " begins"), "".concat(oe, " ").concat(t, " ends"));
|
|
2989
|
+
}, pt = {
|
|
2990
|
+
begin: zo,
|
|
2991
|
+
end: an
|
|
2992
|
+
}, we = function() {
|
|
2926
2993
|
};
|
|
2927
|
-
function
|
|
2928
|
-
var t = e.getAttribute ? e.getAttribute(
|
|
2994
|
+
function zt(e) {
|
|
2995
|
+
var t = e.getAttribute ? e.getAttribute(K) : null;
|
|
2929
2996
|
return typeof t == "string";
|
|
2930
2997
|
}
|
|
2931
|
-
function
|
|
2932
|
-
var t = e.getAttribute ? e.getAttribute(
|
|
2998
|
+
function Uo(e) {
|
|
2999
|
+
var t = e.getAttribute ? e.getAttribute(lt) : null, a = e.getAttribute ? e.getAttribute(ft) : null;
|
|
2933
3000
|
return t && a;
|
|
2934
3001
|
}
|
|
2935
|
-
function
|
|
3002
|
+
function Bo(e) {
|
|
2936
3003
|
return e && e.classList && e.classList.contains && e.classList.contains(v.replacementClass);
|
|
2937
3004
|
}
|
|
2938
|
-
function
|
|
3005
|
+
function Wo() {
|
|
2939
3006
|
if (v.autoReplaceSvg === !0)
|
|
2940
|
-
return
|
|
2941
|
-
var e =
|
|
2942
|
-
return e ||
|
|
3007
|
+
return ke.replace;
|
|
3008
|
+
var e = ke[v.autoReplaceSvg];
|
|
3009
|
+
return e || ke.replace;
|
|
2943
3010
|
}
|
|
2944
|
-
function
|
|
3011
|
+
function Ho(e) {
|
|
2945
3012
|
return A.createElementNS("http://www.w3.org/2000/svg", e);
|
|
2946
3013
|
}
|
|
2947
|
-
function
|
|
3014
|
+
function Yo(e) {
|
|
2948
3015
|
return A.createElement(e);
|
|
2949
3016
|
}
|
|
2950
|
-
function
|
|
2951
|
-
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, a = t.ceFn, n = a === void 0 ? e.tag === "svg" ?
|
|
3017
|
+
function nn(e) {
|
|
3018
|
+
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, a = t.ceFn, n = a === void 0 ? e.tag === "svg" ? Ho : Yo : a;
|
|
2952
3019
|
if (typeof e == "string")
|
|
2953
3020
|
return A.createTextNode(e);
|
|
2954
3021
|
var r = n(e.tag);
|
|
2955
|
-
Object.keys(e.attributes || []).forEach(function(
|
|
2956
|
-
r.setAttribute(
|
|
3022
|
+
Object.keys(e.attributes || []).forEach(function(o) {
|
|
3023
|
+
r.setAttribute(o, e.attributes[o]);
|
|
2957
3024
|
});
|
|
2958
3025
|
var i = e.children || [];
|
|
2959
|
-
return i.forEach(function(
|
|
2960
|
-
r.appendChild(
|
|
3026
|
+
return i.forEach(function(o) {
|
|
3027
|
+
r.appendChild(nn(o, {
|
|
2961
3028
|
ceFn: n
|
|
2962
3029
|
}));
|
|
2963
3030
|
}), r;
|
|
2964
3031
|
}
|
|
2965
|
-
function
|
|
3032
|
+
function Vo(e) {
|
|
2966
3033
|
var t = " ".concat(e.outerHTML, " ");
|
|
2967
3034
|
return t = "".concat(t, "Font Awesome fontawesome.com "), t;
|
|
2968
3035
|
}
|
|
2969
|
-
var
|
|
3036
|
+
var ke = {
|
|
2970
3037
|
replace: function(t) {
|
|
2971
3038
|
var a = t[0];
|
|
2972
3039
|
if (a.parentNode)
|
|
2973
3040
|
if (t[1].forEach(function(r) {
|
|
2974
|
-
a.parentNode.insertBefore(
|
|
2975
|
-
}), a.getAttribute(
|
|
2976
|
-
var n = A.createComment(
|
|
3041
|
+
a.parentNode.insertBefore(nn(r), a);
|
|
3042
|
+
}), a.getAttribute(K) === null && v.keepOriginalSource) {
|
|
3043
|
+
var n = A.createComment(Vo(a));
|
|
2977
3044
|
a.parentNode.replaceChild(n, a);
|
|
2978
3045
|
} else
|
|
2979
3046
|
a.remove();
|
|
2980
3047
|
},
|
|
2981
3048
|
nest: function(t) {
|
|
2982
3049
|
var a = t[0], n = t[1];
|
|
2983
|
-
if (~
|
|
2984
|
-
return
|
|
3050
|
+
if (~ct(a).indexOf(v.replacementClass))
|
|
3051
|
+
return ke.replace(t);
|
|
2985
3052
|
var r = new RegExp("".concat(v.cssPrefix, "-.*"));
|
|
2986
3053
|
if (delete n[0].attributes.id, n[0].attributes.class) {
|
|
2987
|
-
var i = n[0].attributes.class.split(" ").reduce(function(
|
|
2988
|
-
return l === v.replacementClass || l.match(r) ?
|
|
3054
|
+
var i = n[0].attributes.class.split(" ").reduce(function(s, l) {
|
|
3055
|
+
return l === v.replacementClass || l.match(r) ? s.toSvg.push(l) : s.toNode.push(l), s;
|
|
2989
3056
|
}, {
|
|
2990
3057
|
toNode: [],
|
|
2991
3058
|
toSvg: []
|
|
2992
3059
|
});
|
|
2993
3060
|
n[0].attributes.class = i.toSvg.join(" "), i.toNode.length === 0 ? a.removeAttribute("class") : a.setAttribute("class", i.toNode.join(" "));
|
|
2994
3061
|
}
|
|
2995
|
-
var
|
|
2996
|
-
return
|
|
3062
|
+
var o = n.map(function(s) {
|
|
3063
|
+
return pe(s);
|
|
2997
3064
|
}).join(`
|
|
2998
3065
|
`);
|
|
2999
|
-
a.setAttribute(
|
|
3066
|
+
a.setAttribute(K, ""), a.innerHTML = o;
|
|
3000
3067
|
}
|
|
3001
3068
|
};
|
|
3002
|
-
function
|
|
3069
|
+
function Ut(e) {
|
|
3003
3070
|
e();
|
|
3004
3071
|
}
|
|
3005
|
-
function
|
|
3006
|
-
var a = typeof t == "function" ? t :
|
|
3072
|
+
function rn(e, t) {
|
|
3073
|
+
var a = typeof t == "function" ? t : we;
|
|
3007
3074
|
if (e.length === 0)
|
|
3008
3075
|
a();
|
|
3009
3076
|
else {
|
|
3010
|
-
var n =
|
|
3011
|
-
v.mutateApproach ===
|
|
3012
|
-
var r =
|
|
3077
|
+
var n = Ut;
|
|
3078
|
+
v.mutateApproach === Ki && (n = U.requestAnimationFrame || Ut), n(function() {
|
|
3079
|
+
var r = Wo(), i = pt.begin("mutate");
|
|
3013
3080
|
e.map(r), i(), a();
|
|
3014
3081
|
});
|
|
3015
3082
|
}
|
|
3016
3083
|
}
|
|
3017
|
-
var
|
|
3018
|
-
function
|
|
3019
|
-
|
|
3084
|
+
var vt = !1;
|
|
3085
|
+
function on() {
|
|
3086
|
+
vt = !0;
|
|
3020
3087
|
}
|
|
3021
|
-
function
|
|
3022
|
-
|
|
3088
|
+
function nt() {
|
|
3089
|
+
vt = !1;
|
|
3023
3090
|
}
|
|
3024
|
-
var
|
|
3025
|
-
function
|
|
3026
|
-
if (
|
|
3027
|
-
var t = e.treeCallback, a = t === void 0 ?
|
|
3028
|
-
|
|
3029
|
-
if (!
|
|
3030
|
-
var
|
|
3031
|
-
|
|
3032
|
-
if (
|
|
3033
|
-
if (
|
|
3034
|
-
var c =
|
|
3035
|
-
|
|
3036
|
-
} else
|
|
3091
|
+
var Ie = null;
|
|
3092
|
+
function Bt(e) {
|
|
3093
|
+
if (It && v.observeMutations) {
|
|
3094
|
+
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 ? A : s;
|
|
3095
|
+
Ie = new It(function(f) {
|
|
3096
|
+
if (!vt) {
|
|
3097
|
+
var d = B();
|
|
3098
|
+
ne(f).forEach(function(u) {
|
|
3099
|
+
if (u.type === "childList" && u.addedNodes.length > 0 && !zt(u.addedNodes[0]) && (v.searchPseudoElements && o(u.target), a(u.target)), u.type === "attributes" && u.target.parentNode && v.searchPseudoElements && o([u.target], !0), u.type === "attributes" && zt(u.target) && ~eo.indexOf(u.attributeName))
|
|
3100
|
+
if (u.attributeName === "class" && Uo(u.target)) {
|
|
3101
|
+
var c = Fe(ct(u.target)), p = c.prefix, h = c.iconName;
|
|
3102
|
+
u.target.setAttribute(lt, p || d), h && u.target.setAttribute(ft, h);
|
|
3103
|
+
} else Bo(u.target) && r(u.target);
|
|
3037
3104
|
});
|
|
3038
3105
|
}
|
|
3039
|
-
}), z &&
|
|
3106
|
+
}), z && Ie.observe(l, {
|
|
3040
3107
|
childList: !0,
|
|
3041
3108
|
attributes: !0,
|
|
3042
3109
|
characterData: !0,
|
|
@@ -3044,31 +3111,31 @@ function $t(e) {
|
|
|
3044
3111
|
});
|
|
3045
3112
|
}
|
|
3046
3113
|
}
|
|
3047
|
-
function
|
|
3048
|
-
|
|
3114
|
+
function Go() {
|
|
3115
|
+
Ie && Ie.disconnect();
|
|
3049
3116
|
}
|
|
3050
|
-
function
|
|
3117
|
+
function Ko(e) {
|
|
3051
3118
|
var t = e.getAttribute("style"), a = [];
|
|
3052
3119
|
return t && (a = t.split(";").reduce(function(n, r) {
|
|
3053
|
-
var i = r.split(":"),
|
|
3054
|
-
return
|
|
3120
|
+
var i = r.split(":"), o = i[0], s = i.slice(1);
|
|
3121
|
+
return o && s.length > 0 && (n[o] = s.join(":").trim()), n;
|
|
3055
3122
|
}, {})), a;
|
|
3056
3123
|
}
|
|
3057
|
-
function
|
|
3058
|
-
var t = e.getAttribute("data-prefix"), a = e.getAttribute("data-icon"), n = e.innerText !== void 0 ? e.innerText.trim() : "", r =
|
|
3059
|
-
return r.prefix || (r.prefix =
|
|
3124
|
+
function Xo(e) {
|
|
3125
|
+
var t = e.getAttribute("data-prefix"), a = e.getAttribute("data-icon"), n = e.innerText !== void 0 ? e.innerText.trim() : "", r = Fe(ct(e));
|
|
3126
|
+
return r.prefix || (r.prefix = B()), t && a && (r.prefix = t, r.iconName = a), r.iconName && r.prefix || (r.prefix && n.length > 0 && (r.iconName = yo(r.prefix, e.innerText) || ht(r.prefix, Ya(e.innerText))), !r.iconName && v.autoFetchSvg && e.firstChild && e.firstChild.nodeType === Node.TEXT_NODE && (r.iconName = e.firstChild.data)), r;
|
|
3060
3127
|
}
|
|
3061
|
-
function
|
|
3062
|
-
var t =
|
|
3128
|
+
function Jo(e) {
|
|
3129
|
+
var t = ne(e.attributes).reduce(function(a, n) {
|
|
3063
3130
|
return a.name !== "class" && a.name !== "style" && (a[n.name] = n.value), a;
|
|
3064
3131
|
}, {});
|
|
3065
3132
|
return t;
|
|
3066
3133
|
}
|
|
3067
|
-
function
|
|
3134
|
+
function qo() {
|
|
3068
3135
|
return {
|
|
3069
3136
|
iconName: null,
|
|
3070
3137
|
prefix: null,
|
|
3071
|
-
transform:
|
|
3138
|
+
transform: j,
|
|
3072
3139
|
symbol: !1,
|
|
3073
3140
|
mask: {
|
|
3074
3141
|
iconName: null,
|
|
@@ -3083,14 +3150,14 @@ function Eo() {
|
|
|
3083
3150
|
}
|
|
3084
3151
|
};
|
|
3085
3152
|
}
|
|
3086
|
-
function
|
|
3153
|
+
function Wt(e) {
|
|
3087
3154
|
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {
|
|
3088
3155
|
styleParser: !0
|
|
3089
|
-
}, a =
|
|
3156
|
+
}, a = Xo(e), n = a.iconName, r = a.prefix, i = a.rest, o = Jo(e), s = Ze("parseNodeAttributes", {}, e), l = t.styleParser ? Ko(e) : [];
|
|
3090
3157
|
return m({
|
|
3091
3158
|
iconName: n,
|
|
3092
3159
|
prefix: r,
|
|
3093
|
-
transform:
|
|
3160
|
+
transform: j,
|
|
3094
3161
|
mask: {
|
|
3095
3162
|
iconName: null,
|
|
3096
3163
|
prefix: null,
|
|
@@ -3101,90 +3168,90 @@ function Lt(e) {
|
|
|
3101
3168
|
extra: {
|
|
3102
3169
|
classes: i,
|
|
3103
3170
|
styles: l,
|
|
3104
|
-
attributes:
|
|
3171
|
+
attributes: o
|
|
3105
3172
|
}
|
|
3106
|
-
},
|
|
3173
|
+
}, s);
|
|
3107
3174
|
}
|
|
3108
|
-
var
|
|
3109
|
-
function
|
|
3110
|
-
var t = v.autoReplaceSvg === "nest" ?
|
|
3175
|
+
var Zo = N.styles;
|
|
3176
|
+
function sn(e) {
|
|
3177
|
+
var t = v.autoReplaceSvg === "nest" ? Wt(e, {
|
|
3111
3178
|
styleParser: !1
|
|
3112
|
-
}) :
|
|
3113
|
-
return ~t.extra.classes.indexOf(
|
|
3179
|
+
}) : Wt(e);
|
|
3180
|
+
return ~t.extra.classes.indexOf(Ma) ? W("generateLayersText", e, t) : W("generateSvgReplacementMutation", e, t);
|
|
3114
3181
|
}
|
|
3115
|
-
function
|
|
3116
|
-
return [].concat(
|
|
3182
|
+
function Qo() {
|
|
3183
|
+
return [].concat(T(Oa), T(Na));
|
|
3117
3184
|
}
|
|
3118
|
-
function
|
|
3185
|
+
function Ht(e) {
|
|
3119
3186
|
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null;
|
|
3120
3187
|
if (!z) return Promise.resolve();
|
|
3121
|
-
var a = A.documentElement.classList, n = function(
|
|
3122
|
-
return a.add("".concat(
|
|
3123
|
-
}, r = function(
|
|
3124
|
-
return a.remove("".concat(
|
|
3125
|
-
}, i = v.autoFetchSvg ?
|
|
3188
|
+
var a = A.documentElement.classList, n = function(u) {
|
|
3189
|
+
return a.add("".concat(Ct, "-").concat(u));
|
|
3190
|
+
}, r = function(u) {
|
|
3191
|
+
return a.remove("".concat(Ct, "-").concat(u));
|
|
3192
|
+
}, i = v.autoFetchSvg ? Qo() : da.concat(Object.keys(Zo));
|
|
3126
3193
|
i.includes("fa") || i.push("fa");
|
|
3127
|
-
var
|
|
3128
|
-
return ".".concat(
|
|
3194
|
+
var o = [".".concat(Ma, ":not([").concat(K, "])")].concat(i.map(function(d) {
|
|
3195
|
+
return ".".concat(d, ":not([").concat(K, "])");
|
|
3129
3196
|
})).join(", ");
|
|
3130
|
-
if (
|
|
3197
|
+
if (o.length === 0)
|
|
3131
3198
|
return Promise.resolve();
|
|
3132
|
-
var
|
|
3199
|
+
var s = [];
|
|
3133
3200
|
try {
|
|
3134
|
-
|
|
3201
|
+
s = ne(e.querySelectorAll(o));
|
|
3135
3202
|
} catch {
|
|
3136
3203
|
}
|
|
3137
|
-
if (
|
|
3204
|
+
if (s.length > 0)
|
|
3138
3205
|
n("pending"), r("complete");
|
|
3139
3206
|
else
|
|
3140
3207
|
return Promise.resolve();
|
|
3141
|
-
var l =
|
|
3208
|
+
var l = pt.begin("onTree"), f = s.reduce(function(d, u) {
|
|
3142
3209
|
try {
|
|
3143
|
-
var c =
|
|
3144
|
-
c &&
|
|
3145
|
-
} catch (
|
|
3146
|
-
|
|
3210
|
+
var c = sn(u);
|
|
3211
|
+
c && d.push(c);
|
|
3212
|
+
} catch (p) {
|
|
3213
|
+
Ra || p.name === "MissingIcon" && console.error(p);
|
|
3147
3214
|
}
|
|
3148
|
-
return
|
|
3215
|
+
return d;
|
|
3149
3216
|
}, []);
|
|
3150
|
-
return new Promise(function(
|
|
3217
|
+
return new Promise(function(d, u) {
|
|
3151
3218
|
Promise.all(f).then(function(c) {
|
|
3152
|
-
|
|
3153
|
-
n("active"), n("complete"), r("pending"), typeof t == "function" && t(), l(),
|
|
3219
|
+
rn(c, function() {
|
|
3220
|
+
n("active"), n("complete"), r("pending"), typeof t == "function" && t(), l(), d();
|
|
3154
3221
|
});
|
|
3155
3222
|
}).catch(function(c) {
|
|
3156
|
-
l(),
|
|
3223
|
+
l(), u(c);
|
|
3157
3224
|
});
|
|
3158
3225
|
});
|
|
3159
3226
|
}
|
|
3160
|
-
function
|
|
3227
|
+
function es(e) {
|
|
3161
3228
|
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null;
|
|
3162
|
-
|
|
3163
|
-
a &&
|
|
3229
|
+
sn(e).then(function(a) {
|
|
3230
|
+
a && rn([a], t);
|
|
3164
3231
|
});
|
|
3165
3232
|
}
|
|
3166
|
-
function
|
|
3233
|
+
function ts(e) {
|
|
3167
3234
|
return function(t) {
|
|
3168
|
-
var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = (t || {}).icon ? t :
|
|
3169
|
-
return r && (r = (r || {}).icon ? r :
|
|
3235
|
+
var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = (t || {}).icon ? t : Qe(t || {}), r = a.mask;
|
|
3236
|
+
return r && (r = (r || {}).icon ? r : Qe(r || {})), e(n, m(m({}, a), {}, {
|
|
3170
3237
|
mask: r
|
|
3171
3238
|
}));
|
|
3172
3239
|
};
|
|
3173
3240
|
}
|
|
3174
|
-
var
|
|
3175
|
-
var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = a.transform, r = n === void 0 ?
|
|
3241
|
+
var as = function(t) {
|
|
3242
|
+
var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = a.transform, r = n === void 0 ? j : n, i = a.symbol, o = i === void 0 ? !1 : i, s = a.mask, l = s === void 0 ? null : s, f = a.maskId, d = f === void 0 ? null : f, u = a.classes, c = u === void 0 ? [] : u, p = a.attributes, h = p === void 0 ? {} : p, b = a.styles, w = b === void 0 ? {} : b;
|
|
3176
3243
|
if (t) {
|
|
3177
|
-
var x = t.prefix,
|
|
3244
|
+
var x = t.prefix, y = t.iconName, g = t.icon;
|
|
3178
3245
|
return Oe(m({
|
|
3179
3246
|
type: "icon"
|
|
3180
3247
|
}, t), function() {
|
|
3181
|
-
return
|
|
3248
|
+
return X("beforeDOMElementCreation", {
|
|
3182
3249
|
iconDefinition: t,
|
|
3183
3250
|
params: a
|
|
3184
|
-
}),
|
|
3251
|
+
}), gt({
|
|
3185
3252
|
icons: {
|
|
3186
|
-
main:
|
|
3187
|
-
mask: l ?
|
|
3253
|
+
main: et(g),
|
|
3254
|
+
mask: l ? et(l.icon) : {
|
|
3188
3255
|
found: !1,
|
|
3189
3256
|
width: null,
|
|
3190
3257
|
height: null,
|
|
@@ -3192,68 +3259,68 @@ var No = function(t) {
|
|
|
3192
3259
|
}
|
|
3193
3260
|
},
|
|
3194
3261
|
prefix: x,
|
|
3195
|
-
iconName:
|
|
3196
|
-
transform: m(m({},
|
|
3197
|
-
symbol:
|
|
3198
|
-
maskId:
|
|
3262
|
+
iconName: y,
|
|
3263
|
+
transform: m(m({}, j), r),
|
|
3264
|
+
symbol: o,
|
|
3265
|
+
maskId: d,
|
|
3199
3266
|
extra: {
|
|
3200
3267
|
attributes: h,
|
|
3201
|
-
styles:
|
|
3268
|
+
styles: w,
|
|
3202
3269
|
classes: c
|
|
3203
3270
|
}
|
|
3204
3271
|
});
|
|
3205
3272
|
});
|
|
3206
3273
|
}
|
|
3207
|
-
},
|
|
3274
|
+
}, ns = {
|
|
3208
3275
|
mixout: function() {
|
|
3209
3276
|
return {
|
|
3210
|
-
icon:
|
|
3277
|
+
icon: ts(as)
|
|
3211
3278
|
};
|
|
3212
3279
|
},
|
|
3213
3280
|
hooks: function() {
|
|
3214
3281
|
return {
|
|
3215
3282
|
mutationObserverCallbacks: function(a) {
|
|
3216
|
-
return a.treeCallback =
|
|
3283
|
+
return a.treeCallback = Ht, a.nodeCallback = es, a;
|
|
3217
3284
|
}
|
|
3218
3285
|
};
|
|
3219
3286
|
},
|
|
3220
3287
|
provides: function(t) {
|
|
3221
3288
|
t.i2svg = function(a) {
|
|
3222
|
-
var n = a.node, r = n === void 0 ? A : n, i = a.callback,
|
|
3289
|
+
var n = a.node, r = n === void 0 ? A : n, i = a.callback, o = i === void 0 ? function() {
|
|
3223
3290
|
} : i;
|
|
3224
|
-
return
|
|
3291
|
+
return Ht(r, o);
|
|
3225
3292
|
}, t.generateSvgReplacementMutation = function(a, n) {
|
|
3226
|
-
var r = n.iconName, i = n.prefix,
|
|
3227
|
-
return new Promise(function(
|
|
3228
|
-
Promise.all([
|
|
3293
|
+
var r = n.iconName, i = n.prefix, o = n.transform, s = n.symbol, l = n.mask, f = n.maskId, d = n.extra;
|
|
3294
|
+
return new Promise(function(u, c) {
|
|
3295
|
+
Promise.all([tt(r, i), l.iconName ? tt(l.iconName, l.prefix) : Promise.resolve({
|
|
3229
3296
|
found: !1,
|
|
3230
3297
|
width: 512,
|
|
3231
3298
|
height: 512,
|
|
3232
3299
|
icon: {}
|
|
3233
|
-
})]).then(function(
|
|
3234
|
-
var h =
|
|
3235
|
-
|
|
3300
|
+
})]).then(function(p) {
|
|
3301
|
+
var h = Ee(p, 2), b = h[0], w = h[1];
|
|
3302
|
+
u([a, gt({
|
|
3236
3303
|
icons: {
|
|
3237
3304
|
main: b,
|
|
3238
|
-
mask:
|
|
3305
|
+
mask: w
|
|
3239
3306
|
},
|
|
3240
3307
|
prefix: i,
|
|
3241
3308
|
iconName: r,
|
|
3242
|
-
transform:
|
|
3243
|
-
symbol:
|
|
3309
|
+
transform: o,
|
|
3310
|
+
symbol: s,
|
|
3244
3311
|
maskId: f,
|
|
3245
|
-
extra:
|
|
3312
|
+
extra: d,
|
|
3246
3313
|
watchable: !0
|
|
3247
3314
|
})]);
|
|
3248
3315
|
}).catch(c);
|
|
3249
3316
|
});
|
|
3250
3317
|
}, t.generateAbstractIcon = function(a) {
|
|
3251
|
-
var n = a.children, r = a.attributes, i = a.main,
|
|
3318
|
+
var n = a.children, r = a.attributes, i = a.main, o = a.transform, s = a.styles, l = Pe(s);
|
|
3252
3319
|
l.length > 0 && (r.style = l);
|
|
3253
3320
|
var f;
|
|
3254
|
-
return
|
|
3321
|
+
return dt(o) && (f = W("generateAbstractTransformGrouping", {
|
|
3255
3322
|
main: i,
|
|
3256
|
-
transform:
|
|
3323
|
+
transform: o,
|
|
3257
3324
|
containerWidth: i.width,
|
|
3258
3325
|
iconWidth: i.width
|
|
3259
3326
|
})), n.push(f || i.icon), {
|
|
@@ -3262,7 +3329,7 @@ var No = function(t) {
|
|
|
3262
3329
|
};
|
|
3263
3330
|
};
|
|
3264
3331
|
}
|
|
3265
|
-
},
|
|
3332
|
+
}, rs = {
|
|
3266
3333
|
mixout: function() {
|
|
3267
3334
|
return {
|
|
3268
3335
|
layer: function(a) {
|
|
@@ -3270,71 +3337,71 @@ var No = function(t) {
|
|
|
3270
3337
|
return Oe({
|
|
3271
3338
|
type: "layer"
|
|
3272
3339
|
}, function() {
|
|
3273
|
-
|
|
3340
|
+
X("beforeDOMElementCreation", {
|
|
3274
3341
|
assembler: a,
|
|
3275
3342
|
params: n
|
|
3276
3343
|
});
|
|
3277
|
-
var
|
|
3278
|
-
return a(function(
|
|
3279
|
-
Array.isArray(
|
|
3280
|
-
|
|
3281
|
-
}) :
|
|
3344
|
+
var o = [];
|
|
3345
|
+
return a(function(s) {
|
|
3346
|
+
Array.isArray(s) ? s.map(function(l) {
|
|
3347
|
+
o = o.concat(l.abstract);
|
|
3348
|
+
}) : o = o.concat(s.abstract);
|
|
3282
3349
|
}), [{
|
|
3283
3350
|
tag: "span",
|
|
3284
3351
|
attributes: {
|
|
3285
|
-
class: ["".concat(v.cssPrefix, "-layers")].concat(
|
|
3352
|
+
class: ["".concat(v.cssPrefix, "-layers")].concat(T(i)).join(" ")
|
|
3286
3353
|
},
|
|
3287
|
-
children:
|
|
3354
|
+
children: o
|
|
3288
3355
|
}];
|
|
3289
3356
|
});
|
|
3290
3357
|
}
|
|
3291
3358
|
};
|
|
3292
3359
|
}
|
|
3293
|
-
},
|
|
3360
|
+
}, is = {
|
|
3294
3361
|
mixout: function() {
|
|
3295
3362
|
return {
|
|
3296
3363
|
counter: function(a) {
|
|
3297
3364
|
var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
3298
3365
|
n.title;
|
|
3299
|
-
var r = n.classes, i = r === void 0 ? [] : r,
|
|
3366
|
+
var r = n.classes, i = r === void 0 ? [] : r, o = n.attributes, s = o === void 0 ? {} : o, l = n.styles, f = l === void 0 ? {} : l;
|
|
3300
3367
|
return Oe({
|
|
3301
3368
|
type: "counter",
|
|
3302
3369
|
content: a
|
|
3303
3370
|
}, function() {
|
|
3304
|
-
return
|
|
3371
|
+
return X("beforeDOMElementCreation", {
|
|
3305
3372
|
content: a,
|
|
3306
3373
|
params: n
|
|
3307
|
-
}),
|
|
3374
|
+
}), Ro({
|
|
3308
3375
|
content: a.toString(),
|
|
3309
3376
|
extra: {
|
|
3310
|
-
attributes:
|
|
3377
|
+
attributes: s,
|
|
3311
3378
|
styles: f,
|
|
3312
|
-
classes: ["".concat(v.cssPrefix, "-layers-counter")].concat(
|
|
3379
|
+
classes: ["".concat(v.cssPrefix, "-layers-counter")].concat(T(i))
|
|
3313
3380
|
}
|
|
3314
3381
|
});
|
|
3315
3382
|
});
|
|
3316
3383
|
}
|
|
3317
3384
|
};
|
|
3318
3385
|
}
|
|
3319
|
-
},
|
|
3386
|
+
}, os = {
|
|
3320
3387
|
mixout: function() {
|
|
3321
3388
|
return {
|
|
3322
3389
|
text: function(a) {
|
|
3323
|
-
var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = n.transform, i = r === void 0 ?
|
|
3390
|
+
var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = n.transform, i = r === void 0 ? j : r, o = n.classes, s = o === void 0 ? [] : o, l = n.attributes, f = l === void 0 ? {} : l, d = n.styles, u = d === void 0 ? {} : d;
|
|
3324
3391
|
return Oe({
|
|
3325
3392
|
type: "text",
|
|
3326
3393
|
content: a
|
|
3327
3394
|
}, function() {
|
|
3328
|
-
return
|
|
3395
|
+
return X("beforeDOMElementCreation", {
|
|
3329
3396
|
content: a,
|
|
3330
3397
|
params: n
|
|
3331
|
-
}),
|
|
3398
|
+
}), Dt({
|
|
3332
3399
|
content: a,
|
|
3333
|
-
transform: m(m({},
|
|
3400
|
+
transform: m(m({}, j), i),
|
|
3334
3401
|
extra: {
|
|
3335
3402
|
attributes: f,
|
|
3336
|
-
styles:
|
|
3337
|
-
classes: ["".concat(v.cssPrefix, "-layers-text")].concat(
|
|
3403
|
+
styles: u,
|
|
3404
|
+
classes: ["".concat(v.cssPrefix, "-layers-text")].concat(T(s))
|
|
3338
3405
|
}
|
|
3339
3406
|
});
|
|
3340
3407
|
});
|
|
@@ -3343,76 +3410,76 @@ var No = function(t) {
|
|
|
3343
3410
|
},
|
|
3344
3411
|
provides: function(t) {
|
|
3345
3412
|
t.generateLayersText = function(a, n) {
|
|
3346
|
-
var r = n.transform, i = n.extra,
|
|
3347
|
-
if (
|
|
3413
|
+
var r = n.transform, i = n.extra, o = null, s = null;
|
|
3414
|
+
if (ua) {
|
|
3348
3415
|
var l = parseInt(getComputedStyle(a).fontSize, 10), f = a.getBoundingClientRect();
|
|
3349
|
-
|
|
3416
|
+
o = f.width / l, s = f.height / l;
|
|
3350
3417
|
}
|
|
3351
|
-
return Promise.resolve([a,
|
|
3418
|
+
return Promise.resolve([a, Dt({
|
|
3352
3419
|
content: a.innerHTML,
|
|
3353
|
-
width:
|
|
3354
|
-
height:
|
|
3420
|
+
width: o,
|
|
3421
|
+
height: s,
|
|
3355
3422
|
transform: r,
|
|
3356
3423
|
extra: i,
|
|
3357
3424
|
watchable: !0
|
|
3358
3425
|
})]);
|
|
3359
3426
|
};
|
|
3360
3427
|
}
|
|
3361
|
-
},
|
|
3428
|
+
}, ln = new RegExp('"', "ug"), Yt = [1105920, 1112319], Vt = m(m(m(m({}, {
|
|
3362
3429
|
FontAwesome: {
|
|
3363
3430
|
normal: "fas",
|
|
3364
3431
|
400: "fas"
|
|
3365
3432
|
}
|
|
3366
|
-
}),
|
|
3367
|
-
return e[t.toLowerCase()] =
|
|
3368
|
-
}, {}),
|
|
3369
|
-
var a =
|
|
3370
|
-
return e[t] = a[900] ||
|
|
3433
|
+
}), Mr), Vi), Kr), rt = Object.keys(Vt).reduce(function(e, t) {
|
|
3434
|
+
return e[t.toLowerCase()] = Vt[t], e;
|
|
3435
|
+
}, {}), ss = Object.keys(rt).reduce(function(e, t) {
|
|
3436
|
+
var a = rt[t];
|
|
3437
|
+
return e[t] = a[900] || T(Object.entries(a))[0][1], e;
|
|
3371
3438
|
}, {});
|
|
3372
|
-
function
|
|
3373
|
-
var t = e.replace(
|
|
3374
|
-
return
|
|
3439
|
+
function ls(e) {
|
|
3440
|
+
var t = e.replace(ln, "");
|
|
3441
|
+
return Ya(T(t)[0] || "");
|
|
3375
3442
|
}
|
|
3376
|
-
function
|
|
3377
|
-
var t = e.getPropertyValue("font-feature-settings").includes("ss01"), a = e.getPropertyValue("content"), n = a.replace(
|
|
3378
|
-
return i ||
|
|
3443
|
+
function fs(e) {
|
|
3444
|
+
var t = e.getPropertyValue("font-feature-settings").includes("ss01"), a = e.getPropertyValue("content"), n = a.replace(ln, ""), r = n.codePointAt(0), i = r >= Yt[0] && r <= Yt[1], o = n.length === 2 ? n[0] === n[1] : !1;
|
|
3445
|
+
return i || o || t;
|
|
3379
3446
|
}
|
|
3380
|
-
function
|
|
3447
|
+
function us(e, t) {
|
|
3381
3448
|
var a = e.replace(/^['"]|['"]$/g, "").toLowerCase(), n = parseInt(t), r = isNaN(n) ? "normal" : n;
|
|
3382
|
-
return (
|
|
3449
|
+
return (rt[a] || {})[r] || ss[a];
|
|
3383
3450
|
}
|
|
3384
|
-
function
|
|
3385
|
-
var a = "".concat(
|
|
3451
|
+
function Gt(e, t) {
|
|
3452
|
+
var a = "".concat(Gi).concat(t.replace(":", "-"));
|
|
3386
3453
|
return new Promise(function(n, r) {
|
|
3387
3454
|
if (e.getAttribute(a) !== null)
|
|
3388
3455
|
return n();
|
|
3389
|
-
var i =
|
|
3390
|
-
return
|
|
3391
|
-
})[0],
|
|
3392
|
-
if (
|
|
3393
|
-
return e.removeChild(
|
|
3394
|
-
if (f &&
|
|
3395
|
-
var c =
|
|
3456
|
+
var i = ne(e.children), o = i.filter(function(J) {
|
|
3457
|
+
return J.getAttribute(Ge) === t;
|
|
3458
|
+
})[0], s = U.getComputedStyle(e, t), l = s.getPropertyValue("font-family"), f = l.match(Zi), d = s.getPropertyValue("font-weight"), u = s.getPropertyValue("content");
|
|
3459
|
+
if (o && !f)
|
|
3460
|
+
return e.removeChild(o), n();
|
|
3461
|
+
if (f && u !== "none" && u !== "") {
|
|
3462
|
+
var c = s.getPropertyValue("content"), p = us(l, d), h = ls(c), b = f[0].startsWith("FontAwesome"), w = fs(s), x = ht(p, h), y = x;
|
|
3396
3463
|
if (b) {
|
|
3397
|
-
var
|
|
3398
|
-
|
|
3464
|
+
var g = _o(h);
|
|
3465
|
+
g.iconName && g.prefix && (x = g.iconName, p = g.prefix);
|
|
3399
3466
|
}
|
|
3400
|
-
if (x && !
|
|
3401
|
-
e.setAttribute(a,
|
|
3402
|
-
var
|
|
3403
|
-
|
|
3404
|
-
var
|
|
3467
|
+
if (x && !w && (!o || o.getAttribute(lt) !== p || o.getAttribute(ft) !== y)) {
|
|
3468
|
+
e.setAttribute(a, y), o && e.removeChild(o);
|
|
3469
|
+
var P = qo(), k = P.extra;
|
|
3470
|
+
k.attributes[Ge] = t, tt(x, p).then(function(J) {
|
|
3471
|
+
var Ne = gt(m(m({}, P), {}, {
|
|
3405
3472
|
icons: {
|
|
3406
|
-
main:
|
|
3407
|
-
mask:
|
|
3473
|
+
main: J,
|
|
3474
|
+
mask: en()
|
|
3408
3475
|
},
|
|
3409
|
-
prefix:
|
|
3410
|
-
iconName:
|
|
3411
|
-
extra:
|
|
3476
|
+
prefix: p,
|
|
3477
|
+
iconName: y,
|
|
3478
|
+
extra: k,
|
|
3412
3479
|
watchable: !0
|
|
3413
|
-
})),
|
|
3414
|
-
t === "::before" ? e.insertBefore(
|
|
3415
|
-
return
|
|
3480
|
+
})), re = A.createElementNS("http://www.w3.org/2000/svg", "svg");
|
|
3481
|
+
t === "::before" ? e.insertBefore(re, e.firstChild) : e.appendChild(re), re.outerHTML = Ne.map(function(Te) {
|
|
3482
|
+
return pe(Te);
|
|
3416
3483
|
}).join(`
|
|
3417
3484
|
`), e.removeAttribute(a), n();
|
|
3418
3485
|
}).catch(r);
|
|
@@ -3422,17 +3489,17 @@ function zt(e, t) {
|
|
|
3422
3489
|
n();
|
|
3423
3490
|
});
|
|
3424
3491
|
}
|
|
3425
|
-
function
|
|
3426
|
-
return Promise.all([
|
|
3492
|
+
function cs(e) {
|
|
3493
|
+
return Promise.all([Gt(e, "::before"), Gt(e, "::after")]);
|
|
3427
3494
|
}
|
|
3428
|
-
function
|
|
3429
|
-
return e.parentNode !== document.head && !~
|
|
3495
|
+
function ds(e) {
|
|
3496
|
+
return e.parentNode !== document.head && !~Xi.indexOf(e.tagName.toUpperCase()) && !e.getAttribute(Ge) && (!e.parentNode || e.parentNode.tagName !== "svg");
|
|
3430
3497
|
}
|
|
3431
|
-
var
|
|
3432
|
-
return !!t &&
|
|
3498
|
+
var ms = function(t) {
|
|
3499
|
+
return !!t && La.some(function(a) {
|
|
3433
3500
|
return t.includes(a);
|
|
3434
3501
|
});
|
|
3435
|
-
},
|
|
3502
|
+
}, hs = function(t) {
|
|
3436
3503
|
if (!t) return [];
|
|
3437
3504
|
var a = /* @__PURE__ */ new Set(), n = t.split(/,(?![^()]*\))/).map(function(l) {
|
|
3438
3505
|
return l.trim();
|
|
@@ -3442,15 +3509,15 @@ var Wo = function(t) {
|
|
|
3442
3509
|
return f.trim();
|
|
3443
3510
|
});
|
|
3444
3511
|
});
|
|
3445
|
-
var r =
|
|
3512
|
+
var r = xe(n), i;
|
|
3446
3513
|
try {
|
|
3447
3514
|
for (r.s(); !(i = r.n()).done; ) {
|
|
3448
|
-
var
|
|
3449
|
-
if (
|
|
3450
|
-
var
|
|
3515
|
+
var o = i.value;
|
|
3516
|
+
if (ms(o)) {
|
|
3517
|
+
var s = La.reduce(function(l, f) {
|
|
3451
3518
|
return l.replace(f, "");
|
|
3452
|
-
},
|
|
3453
|
-
|
|
3519
|
+
}, o);
|
|
3520
|
+
s !== "" && s !== "*" && a.add(s);
|
|
3454
3521
|
}
|
|
3455
3522
|
}
|
|
3456
3523
|
} catch (l) {
|
|
@@ -3460,7 +3527,7 @@ var Wo = function(t) {
|
|
|
3460
3527
|
}
|
|
3461
3528
|
return a;
|
|
3462
3529
|
};
|
|
3463
|
-
function
|
|
3530
|
+
function Kt(e) {
|
|
3464
3531
|
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
|
|
3465
3532
|
if (z) {
|
|
3466
3533
|
var a;
|
|
@@ -3469,33 +3536,33 @@ function qt(e) {
|
|
|
3469
3536
|
else if (v.searchPseudoElementsFullScan)
|
|
3470
3537
|
a = e.querySelectorAll("*");
|
|
3471
3538
|
else {
|
|
3472
|
-
var n = /* @__PURE__ */ new Set(), r =
|
|
3539
|
+
var n = /* @__PURE__ */ new Set(), r = xe(document.styleSheets), i;
|
|
3473
3540
|
try {
|
|
3474
3541
|
for (r.s(); !(i = r.n()).done; ) {
|
|
3475
|
-
var
|
|
3542
|
+
var o = i.value;
|
|
3476
3543
|
try {
|
|
3477
|
-
var
|
|
3544
|
+
var s = xe(o.cssRules), l;
|
|
3478
3545
|
try {
|
|
3479
|
-
for (
|
|
3480
|
-
var f = l.value,
|
|
3546
|
+
for (s.s(); !(l = s.n()).done; ) {
|
|
3547
|
+
var f = l.value, d = hs(f.selectorText), u = xe(d), c;
|
|
3481
3548
|
try {
|
|
3482
|
-
for (
|
|
3483
|
-
var
|
|
3484
|
-
n.add(
|
|
3549
|
+
for (u.s(); !(c = u.n()).done; ) {
|
|
3550
|
+
var p = c.value;
|
|
3551
|
+
n.add(p);
|
|
3485
3552
|
}
|
|
3486
3553
|
} catch (b) {
|
|
3487
|
-
|
|
3554
|
+
u.e(b);
|
|
3488
3555
|
} finally {
|
|
3489
|
-
|
|
3556
|
+
u.f();
|
|
3490
3557
|
}
|
|
3491
3558
|
}
|
|
3492
3559
|
} catch (b) {
|
|
3493
|
-
|
|
3560
|
+
s.e(b);
|
|
3494
3561
|
} finally {
|
|
3495
|
-
|
|
3562
|
+
s.f();
|
|
3496
3563
|
}
|
|
3497
3564
|
} catch (b) {
|
|
3498
|
-
v.searchPseudoElementsWarnings && console.warn("Font Awesome: cannot parse stylesheet: ".concat(
|
|
3565
|
+
v.searchPseudoElementsWarnings && console.warn("Font Awesome: cannot parse stylesheet: ".concat(o.href, " (").concat(b.message, `)
|
|
3499
3566
|
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.`));
|
|
3500
3567
|
}
|
|
3501
3568
|
}
|
|
@@ -3511,36 +3578,36 @@ If it declares any Font Awesome CSS pseudo-elements, they will not be rendered a
|
|
|
3511
3578
|
} catch {
|
|
3512
3579
|
}
|
|
3513
3580
|
}
|
|
3514
|
-
return new Promise(function(b,
|
|
3515
|
-
var x =
|
|
3516
|
-
|
|
3517
|
-
|
|
3581
|
+
return new Promise(function(b, w) {
|
|
3582
|
+
var x = ne(a).filter(ds).map(cs), y = pt.begin("searchPseudoElements");
|
|
3583
|
+
on(), Promise.all(x).then(function() {
|
|
3584
|
+
y(), nt(), b();
|
|
3518
3585
|
}).catch(function() {
|
|
3519
|
-
|
|
3586
|
+
y(), nt(), w();
|
|
3520
3587
|
});
|
|
3521
3588
|
});
|
|
3522
3589
|
}
|
|
3523
3590
|
}
|
|
3524
|
-
var
|
|
3591
|
+
var gs = {
|
|
3525
3592
|
hooks: function() {
|
|
3526
3593
|
return {
|
|
3527
3594
|
mutationObserverCallbacks: function(a) {
|
|
3528
|
-
return a.pseudoElementsCallback =
|
|
3595
|
+
return a.pseudoElementsCallback = Kt, a;
|
|
3529
3596
|
}
|
|
3530
3597
|
};
|
|
3531
3598
|
},
|
|
3532
3599
|
provides: function(t) {
|
|
3533
3600
|
t.pseudoElements2svg = function(a) {
|
|
3534
3601
|
var n = a.node, r = n === void 0 ? A : n;
|
|
3535
|
-
v.searchPseudoElements &&
|
|
3602
|
+
v.searchPseudoElements && Kt(r);
|
|
3536
3603
|
};
|
|
3537
3604
|
}
|
|
3538
|
-
},
|
|
3605
|
+
}, Xt = !1, ps = {
|
|
3539
3606
|
mixout: function() {
|
|
3540
3607
|
return {
|
|
3541
3608
|
dom: {
|
|
3542
3609
|
unwatch: function() {
|
|
3543
|
-
|
|
3610
|
+
on(), Xt = !0;
|
|
3544
3611
|
}
|
|
3545
3612
|
}
|
|
3546
3613
|
};
|
|
@@ -3548,20 +3615,20 @@ var Ho = {
|
|
|
3548
3615
|
hooks: function() {
|
|
3549
3616
|
return {
|
|
3550
3617
|
bootstrap: function() {
|
|
3551
|
-
|
|
3618
|
+
Bt(Ze("mutationObserverCallbacks", {}));
|
|
3552
3619
|
},
|
|
3553
3620
|
noAuto: function() {
|
|
3554
|
-
|
|
3621
|
+
Go();
|
|
3555
3622
|
},
|
|
3556
3623
|
watch: function(a) {
|
|
3557
3624
|
var n = a.observeMutationsRoot;
|
|
3558
|
-
|
|
3625
|
+
Xt ? nt() : Bt(Ze("mutationObserverCallbacks", {
|
|
3559
3626
|
observeMutationsRoot: n
|
|
3560
3627
|
}));
|
|
3561
3628
|
}
|
|
3562
3629
|
};
|
|
3563
3630
|
}
|
|
3564
|
-
},
|
|
3631
|
+
}, Jt = function(t) {
|
|
3565
3632
|
var a = {
|
|
3566
3633
|
size: 16,
|
|
3567
3634
|
x: 0,
|
|
@@ -3571,44 +3638,44 @@ var Ho = {
|
|
|
3571
3638
|
rotate: 0
|
|
3572
3639
|
};
|
|
3573
3640
|
return t.toLowerCase().split(" ").reduce(function(n, r) {
|
|
3574
|
-
var i = r.toLowerCase().split("-"),
|
|
3575
|
-
if (
|
|
3641
|
+
var i = r.toLowerCase().split("-"), o = i[0], s = i.slice(1).join("-");
|
|
3642
|
+
if (o && s === "h")
|
|
3576
3643
|
return n.flipX = !0, n;
|
|
3577
|
-
if (
|
|
3644
|
+
if (o && s === "v")
|
|
3578
3645
|
return n.flipY = !0, n;
|
|
3579
|
-
if (
|
|
3646
|
+
if (s = parseFloat(s), isNaN(s))
|
|
3580
3647
|
return n;
|
|
3581
|
-
switch (
|
|
3648
|
+
switch (o) {
|
|
3582
3649
|
case "grow":
|
|
3583
|
-
n.size = n.size +
|
|
3650
|
+
n.size = n.size + s;
|
|
3584
3651
|
break;
|
|
3585
3652
|
case "shrink":
|
|
3586
|
-
n.size = n.size -
|
|
3653
|
+
n.size = n.size - s;
|
|
3587
3654
|
break;
|
|
3588
3655
|
case "left":
|
|
3589
|
-
n.x = n.x -
|
|
3656
|
+
n.x = n.x - s;
|
|
3590
3657
|
break;
|
|
3591
3658
|
case "right":
|
|
3592
|
-
n.x = n.x +
|
|
3659
|
+
n.x = n.x + s;
|
|
3593
3660
|
break;
|
|
3594
3661
|
case "up":
|
|
3595
|
-
n.y = n.y -
|
|
3662
|
+
n.y = n.y - s;
|
|
3596
3663
|
break;
|
|
3597
3664
|
case "down":
|
|
3598
|
-
n.y = n.y +
|
|
3665
|
+
n.y = n.y + s;
|
|
3599
3666
|
break;
|
|
3600
3667
|
case "rotate":
|
|
3601
|
-
n.rotate = n.rotate +
|
|
3668
|
+
n.rotate = n.rotate + s;
|
|
3602
3669
|
break;
|
|
3603
3670
|
}
|
|
3604
3671
|
return n;
|
|
3605
3672
|
}, a);
|
|
3606
|
-
},
|
|
3673
|
+
}, vs = {
|
|
3607
3674
|
mixout: function() {
|
|
3608
3675
|
return {
|
|
3609
3676
|
parse: {
|
|
3610
3677
|
transform: function(a) {
|
|
3611
|
-
return
|
|
3678
|
+
return Jt(a);
|
|
3612
3679
|
}
|
|
3613
3680
|
}
|
|
3614
3681
|
};
|
|
@@ -3617,121 +3684,121 @@ var Ho = {
|
|
|
3617
3684
|
return {
|
|
3618
3685
|
parseNodeAttributes: function(a, n) {
|
|
3619
3686
|
var r = n.getAttribute("data-fa-transform");
|
|
3620
|
-
return r && (a.transform =
|
|
3687
|
+
return r && (a.transform = Jt(r)), a;
|
|
3621
3688
|
}
|
|
3622
3689
|
};
|
|
3623
3690
|
},
|
|
3624
3691
|
provides: function(t) {
|
|
3625
3692
|
t.generateAbstractTransformGrouping = function(a) {
|
|
3626
|
-
var n = a.main, r = a.transform, i = a.containerWidth,
|
|
3693
|
+
var n = a.main, r = a.transform, i = a.containerWidth, o = a.iconWidth, s = {
|
|
3627
3694
|
transform: "translate(".concat(i / 2, " 256)")
|
|
3628
|
-
}, l = "translate(".concat(r.x * 32, ", ").concat(r.y * 32, ") "), f = "scale(".concat(r.size / 16 * (r.flipX ? -1 : 1), ", ").concat(r.size / 16 * (r.flipY ? -1 : 1), ") "),
|
|
3629
|
-
transform: "".concat(l, " ").concat(f, " ").concat(
|
|
3695
|
+
}, l = "translate(".concat(r.x * 32, ", ").concat(r.y * 32, ") "), f = "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 = {
|
|
3696
|
+
transform: "".concat(l, " ").concat(f, " ").concat(d)
|
|
3630
3697
|
}, c = {
|
|
3631
|
-
transform: "translate(".concat(
|
|
3632
|
-
},
|
|
3633
|
-
outer:
|
|
3634
|
-
inner:
|
|
3698
|
+
transform: "translate(".concat(o / 2 * -1, " -256)")
|
|
3699
|
+
}, p = {
|
|
3700
|
+
outer: s,
|
|
3701
|
+
inner: u,
|
|
3635
3702
|
path: c
|
|
3636
3703
|
};
|
|
3637
3704
|
return {
|
|
3638
3705
|
tag: "g",
|
|
3639
|
-
attributes: m({},
|
|
3706
|
+
attributes: m({}, p.outer),
|
|
3640
3707
|
children: [{
|
|
3641
3708
|
tag: "g",
|
|
3642
|
-
attributes: m({},
|
|
3709
|
+
attributes: m({}, p.inner),
|
|
3643
3710
|
children: [{
|
|
3644
3711
|
tag: n.icon.tag,
|
|
3645
3712
|
children: n.icon.children,
|
|
3646
|
-
attributes: m(m({}, n.icon.attributes),
|
|
3713
|
+
attributes: m(m({}, n.icon.attributes), p.path)
|
|
3647
3714
|
}]
|
|
3648
3715
|
}]
|
|
3649
3716
|
};
|
|
3650
3717
|
};
|
|
3651
3718
|
}
|
|
3652
|
-
},
|
|
3719
|
+
}, We = {
|
|
3653
3720
|
x: 0,
|
|
3654
3721
|
y: 0,
|
|
3655
3722
|
width: "100%",
|
|
3656
3723
|
height: "100%"
|
|
3657
3724
|
};
|
|
3658
|
-
function
|
|
3725
|
+
function qt(e) {
|
|
3659
3726
|
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0;
|
|
3660
3727
|
return e.attributes && (e.attributes.fill || t) && (e.attributes.fill = "black"), e;
|
|
3661
3728
|
}
|
|
3662
|
-
function
|
|
3729
|
+
function bs(e) {
|
|
3663
3730
|
return e.tag === "g" ? e.children : [e];
|
|
3664
3731
|
}
|
|
3665
|
-
var
|
|
3732
|
+
var ys = {
|
|
3666
3733
|
hooks: function() {
|
|
3667
3734
|
return {
|
|
3668
3735
|
parseNodeAttributes: function(a, n) {
|
|
3669
|
-
var r = n.getAttribute("data-fa-mask"), i = r ?
|
|
3670
|
-
return
|
|
3671
|
-
})) :
|
|
3672
|
-
return i.prefix || (i.prefix =
|
|
3736
|
+
var r = n.getAttribute("data-fa-mask"), i = r ? Fe(r.split(" ").map(function(o) {
|
|
3737
|
+
return o.trim();
|
|
3738
|
+
})) : en();
|
|
3739
|
+
return i.prefix || (i.prefix = B()), a.mask = i, a.maskId = n.getAttribute("data-fa-mask-id"), a;
|
|
3673
3740
|
}
|
|
3674
3741
|
};
|
|
3675
3742
|
},
|
|
3676
3743
|
provides: function(t) {
|
|
3677
3744
|
t.generateAbstractMask = function(a) {
|
|
3678
|
-
var n = a.children, r = a.attributes, i = a.main,
|
|
3745
|
+
var n = a.children, r = a.attributes, i = a.main, o = a.mask, s = a.maskId, l = a.transform, f = i.width, d = i.icon, u = o.width, c = o.icon, p = fo({
|
|
3679
3746
|
transform: l,
|
|
3680
|
-
containerWidth:
|
|
3747
|
+
containerWidth: u,
|
|
3681
3748
|
iconWidth: f
|
|
3682
3749
|
}), h = {
|
|
3683
3750
|
tag: "rect",
|
|
3684
|
-
attributes: m(m({},
|
|
3751
|
+
attributes: m(m({}, We), {}, {
|
|
3685
3752
|
fill: "white"
|
|
3686
3753
|
})
|
|
3687
|
-
}, b =
|
|
3688
|
-
children:
|
|
3689
|
-
} : {},
|
|
3754
|
+
}, b = d.children ? {
|
|
3755
|
+
children: d.children.map(qt)
|
|
3756
|
+
} : {}, w = {
|
|
3690
3757
|
tag: "g",
|
|
3691
|
-
attributes: m({},
|
|
3692
|
-
children: [
|
|
3693
|
-
tag:
|
|
3694
|
-
attributes: m(m({},
|
|
3758
|
+
attributes: m({}, p.inner),
|
|
3759
|
+
children: [qt(m({
|
|
3760
|
+
tag: d.tag,
|
|
3761
|
+
attributes: m(m({}, d.attributes), p.path)
|
|
3695
3762
|
}, b))]
|
|
3696
3763
|
}, x = {
|
|
3697
3764
|
tag: "g",
|
|
3698
|
-
attributes: m({},
|
|
3699
|
-
children: [
|
|
3700
|
-
},
|
|
3765
|
+
attributes: m({}, p.outer),
|
|
3766
|
+
children: [w]
|
|
3767
|
+
}, y = "mask-".concat(s || Ot()), g = "clip-".concat(s || Ot()), P = {
|
|
3701
3768
|
tag: "mask",
|
|
3702
|
-
attributes: m(m({},
|
|
3703
|
-
id:
|
|
3769
|
+
attributes: m(m({}, We), {}, {
|
|
3770
|
+
id: y,
|
|
3704
3771
|
maskUnits: "userSpaceOnUse",
|
|
3705
3772
|
maskContentUnits: "userSpaceOnUse"
|
|
3706
3773
|
}),
|
|
3707
3774
|
children: [h, x]
|
|
3708
|
-
},
|
|
3775
|
+
}, k = {
|
|
3709
3776
|
tag: "defs",
|
|
3710
3777
|
children: [{
|
|
3711
3778
|
tag: "clipPath",
|
|
3712
3779
|
attributes: {
|
|
3713
|
-
id:
|
|
3780
|
+
id: g
|
|
3714
3781
|
},
|
|
3715
|
-
children:
|
|
3716
|
-
},
|
|
3782
|
+
children: bs(c)
|
|
3783
|
+
}, P]
|
|
3717
3784
|
};
|
|
3718
|
-
return n.push(
|
|
3785
|
+
return n.push(k, {
|
|
3719
3786
|
tag: "rect",
|
|
3720
3787
|
attributes: m({
|
|
3721
3788
|
fill: "currentColor",
|
|
3722
|
-
"clip-path": "url(#".concat(
|
|
3723
|
-
mask: "url(#".concat(
|
|
3724
|
-
},
|
|
3789
|
+
"clip-path": "url(#".concat(g, ")"),
|
|
3790
|
+
mask: "url(#".concat(y, ")")
|
|
3791
|
+
}, We)
|
|
3725
3792
|
}), {
|
|
3726
3793
|
children: n,
|
|
3727
3794
|
attributes: r
|
|
3728
3795
|
};
|
|
3729
3796
|
};
|
|
3730
3797
|
}
|
|
3731
|
-
},
|
|
3798
|
+
}, _s = {
|
|
3732
3799
|
provides: function(t) {
|
|
3733
3800
|
var a = !1;
|
|
3734
|
-
|
|
3801
|
+
U.matchMedia && (a = U.matchMedia("(prefers-reduced-motion: reduce)").matches), t.missingIconAbstract = function() {
|
|
3735
3802
|
var n = [], r = {
|
|
3736
3803
|
fill: "currentColor"
|
|
3737
3804
|
}, i = {
|
|
@@ -3745,9 +3812,9 @@ var Go = {
|
|
|
3745
3812
|
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"
|
|
3746
3813
|
})
|
|
3747
3814
|
});
|
|
3748
|
-
var
|
|
3815
|
+
var o = m(m({}, i), {}, {
|
|
3749
3816
|
attributeName: "opacity"
|
|
3750
|
-
}),
|
|
3817
|
+
}), s = {
|
|
3751
3818
|
tag: "circle",
|
|
3752
3819
|
attributes: m(m({}, r), {}, {
|
|
3753
3820
|
cx: "256",
|
|
@@ -3756,7 +3823,7 @@ var Go = {
|
|
|
3756
3823
|
}),
|
|
3757
3824
|
children: []
|
|
3758
3825
|
};
|
|
3759
|
-
return a ||
|
|
3826
|
+
return a || s.children.push({
|
|
3760
3827
|
tag: "animate",
|
|
3761
3828
|
attributes: m(m({}, i), {}, {
|
|
3762
3829
|
attributeName: "r",
|
|
@@ -3764,10 +3831,10 @@ var Go = {
|
|
|
3764
3831
|
})
|
|
3765
3832
|
}, {
|
|
3766
3833
|
tag: "animate",
|
|
3767
|
-
attributes: m(m({},
|
|
3834
|
+
attributes: m(m({}, o), {}, {
|
|
3768
3835
|
values: "1;0;1;1;0;1;"
|
|
3769
3836
|
})
|
|
3770
|
-
}), n.push(
|
|
3837
|
+
}), n.push(s), n.push({
|
|
3771
3838
|
tag: "path",
|
|
3772
3839
|
attributes: m(m({}, r), {}, {
|
|
3773
3840
|
opacity: "1",
|
|
@@ -3775,7 +3842,7 @@ var Go = {
|
|
|
3775
3842
|
}),
|
|
3776
3843
|
children: a ? [] : [{
|
|
3777
3844
|
tag: "animate",
|
|
3778
|
-
attributes: m(m({},
|
|
3845
|
+
attributes: m(m({}, o), {}, {
|
|
3779
3846
|
values: "1;0;0;0;0;1;"
|
|
3780
3847
|
})
|
|
3781
3848
|
}]
|
|
@@ -3787,7 +3854,7 @@ var Go = {
|
|
|
3787
3854
|
}),
|
|
3788
3855
|
children: [{
|
|
3789
3856
|
tag: "animate",
|
|
3790
|
-
attributes: m(m({},
|
|
3857
|
+
attributes: m(m({}, o), {}, {
|
|
3791
3858
|
values: "0;0;1;1;0;0;"
|
|
3792
3859
|
})
|
|
3793
3860
|
}]
|
|
@@ -3800,7 +3867,7 @@ var Go = {
|
|
|
3800
3867
|
};
|
|
3801
3868
|
};
|
|
3802
3869
|
}
|
|
3803
|
-
},
|
|
3870
|
+
}, xs = {
|
|
3804
3871
|
hooks: function() {
|
|
3805
3872
|
return {
|
|
3806
3873
|
parseNodeAttributes: function(a, n) {
|
|
@@ -3809,96 +3876,130 @@ var Go = {
|
|
|
3809
3876
|
}
|
|
3810
3877
|
};
|
|
3811
3878
|
}
|
|
3812
|
-
},
|
|
3813
|
-
|
|
3814
|
-
mixoutsTo:
|
|
3879
|
+
}, ws = [mo, ns, rs, is, os, gs, ps, vs, ys, _s, xs];
|
|
3880
|
+
Co(ws, {
|
|
3881
|
+
mixoutsTo: F
|
|
3815
3882
|
});
|
|
3816
|
-
|
|
3817
|
-
var
|
|
3818
|
-
|
|
3819
|
-
|
|
3820
|
-
var
|
|
3821
|
-
|
|
3822
|
-
|
|
3823
|
-
var
|
|
3824
|
-
|
|
3825
|
-
|
|
3826
|
-
|
|
3827
|
-
function
|
|
3883
|
+
F.noAuto;
|
|
3884
|
+
var ae = F.config;
|
|
3885
|
+
F.library;
|
|
3886
|
+
F.dom;
|
|
3887
|
+
var fn = F.parse;
|
|
3888
|
+
F.findIconDefinition;
|
|
3889
|
+
F.toHtml;
|
|
3890
|
+
var ks = F.icon;
|
|
3891
|
+
F.layer;
|
|
3892
|
+
F.text;
|
|
3893
|
+
F.counter;
|
|
3894
|
+
function Ss(e) {
|
|
3828
3895
|
return e = e - 0, e === e;
|
|
3829
3896
|
}
|
|
3830
|
-
function
|
|
3831
|
-
return
|
|
3897
|
+
function un(e) {
|
|
3898
|
+
return Ss(e) ? e : (e = e.replace(/[_-]+(.)?/g, (t, a) => a ? a.toUpperCase() : ""), e.charAt(0).toLowerCase() + e.slice(1));
|
|
3832
3899
|
}
|
|
3833
|
-
|
|
3900
|
+
var As = (e, t) => it.createElement("stop", {
|
|
3901
|
+
key: `${t}-${e.offset}`,
|
|
3902
|
+
offset: e.offset,
|
|
3903
|
+
stopColor: e.color,
|
|
3904
|
+
...e.opacity !== void 0 && { stopOpacity: e.opacity }
|
|
3905
|
+
});
|
|
3906
|
+
function Is(e) {
|
|
3834
3907
|
return e.charAt(0).toUpperCase() + e.slice(1);
|
|
3835
3908
|
}
|
|
3836
|
-
var
|
|
3837
|
-
function
|
|
3838
|
-
if (
|
|
3839
|
-
return
|
|
3909
|
+
var Z = /* @__PURE__ */ new Map(), Es = 1e3;
|
|
3910
|
+
function Ps(e) {
|
|
3911
|
+
if (Z.has(e))
|
|
3912
|
+
return Z.get(e);
|
|
3840
3913
|
const t = {};
|
|
3841
3914
|
let a = 0;
|
|
3842
3915
|
const n = e.length;
|
|
3843
3916
|
for (; a < n; ) {
|
|
3844
|
-
const r = e.indexOf(";", a), i = r === -1 ? n : r,
|
|
3845
|
-
if (
|
|
3846
|
-
const
|
|
3847
|
-
if (
|
|
3848
|
-
const l =
|
|
3917
|
+
const r = e.indexOf(";", a), i = r === -1 ? n : r, o = e.slice(a, i).trim();
|
|
3918
|
+
if (o) {
|
|
3919
|
+
const s = o.indexOf(":");
|
|
3920
|
+
if (s > 0) {
|
|
3921
|
+
const l = o.slice(0, s).trim(), f = o.slice(s + 1).trim();
|
|
3849
3922
|
if (l && f) {
|
|
3850
|
-
const
|
|
3851
|
-
t[
|
|
3923
|
+
const d = un(l);
|
|
3924
|
+
t[d.startsWith("webkit") ? Is(d) : d] = f;
|
|
3852
3925
|
}
|
|
3853
3926
|
}
|
|
3854
3927
|
}
|
|
3855
3928
|
a = i + 1;
|
|
3856
3929
|
}
|
|
3857
|
-
if (
|
|
3858
|
-
const r =
|
|
3859
|
-
r &&
|
|
3930
|
+
if (Z.size === Es) {
|
|
3931
|
+
const r = Z.keys().next().value;
|
|
3932
|
+
r && Z.delete(r);
|
|
3860
3933
|
}
|
|
3861
|
-
return
|
|
3934
|
+
return Z.set(e, t), t;
|
|
3862
3935
|
}
|
|
3863
|
-
function
|
|
3936
|
+
function cn(e, t, a = {}) {
|
|
3864
3937
|
if (typeof t == "string")
|
|
3865
3938
|
return t;
|
|
3866
|
-
const n = (t.children || []).map((u) =>
|
|
3867
|
-
|
|
3939
|
+
const n = (t.children || []).map((u) => {
|
|
3940
|
+
let c = u;
|
|
3941
|
+
return ("fill" in a || a.gradientFill) && u.tag === "path" && "fill" in u.attributes && (c = {
|
|
3942
|
+
...u,
|
|
3943
|
+
attributes: {
|
|
3944
|
+
...u.attributes,
|
|
3945
|
+
fill: void 0
|
|
3946
|
+
}
|
|
3947
|
+
}), cn(e, c);
|
|
3948
|
+
}), r = t.attributes || {}, i = {};
|
|
3949
|
+
for (const [u, c] of Object.entries(r))
|
|
3868
3950
|
switch (!0) {
|
|
3869
3951
|
case u === "class": {
|
|
3870
|
-
i.className =
|
|
3952
|
+
i.className = c;
|
|
3871
3953
|
break;
|
|
3872
3954
|
}
|
|
3873
3955
|
case u === "style": {
|
|
3874
|
-
i.style =
|
|
3956
|
+
i.style = Ps(String(c));
|
|
3875
3957
|
break;
|
|
3876
3958
|
}
|
|
3877
3959
|
case u.startsWith("aria-"):
|
|
3878
3960
|
case u.startsWith("data-"): {
|
|
3879
|
-
i[u.toLowerCase()] =
|
|
3961
|
+
i[u.toLowerCase()] = c;
|
|
3880
3962
|
break;
|
|
3881
3963
|
}
|
|
3882
3964
|
default:
|
|
3883
|
-
i[
|
|
3965
|
+
i[un(u)] = c;
|
|
3884
3966
|
}
|
|
3885
3967
|
const {
|
|
3886
|
-
style:
|
|
3887
|
-
role:
|
|
3968
|
+
style: o,
|
|
3969
|
+
role: s,
|
|
3888
3970
|
"aria-label": l,
|
|
3889
|
-
|
|
3971
|
+
gradientFill: f,
|
|
3972
|
+
...d
|
|
3890
3973
|
} = a;
|
|
3891
|
-
|
|
3974
|
+
if (o && (i.style = i.style ? { ...i.style, ...o } : o), s && (i.role = s), l && (i["aria-label"] = l, i["aria-hidden"] = "false"), f) {
|
|
3975
|
+
i.fill = `url(#${f.id})`;
|
|
3976
|
+
const {
|
|
3977
|
+
type: u,
|
|
3978
|
+
stops: c = [],
|
|
3979
|
+
...p
|
|
3980
|
+
} = f;
|
|
3981
|
+
n.unshift(
|
|
3982
|
+
e(
|
|
3983
|
+
u === "linear" ? "linearGradient" : "radialGradient",
|
|
3984
|
+
{
|
|
3985
|
+
...p,
|
|
3986
|
+
id: f.id
|
|
3987
|
+
},
|
|
3988
|
+
c.map(As)
|
|
3989
|
+
)
|
|
3990
|
+
);
|
|
3991
|
+
}
|
|
3992
|
+
return e(t.tag, { ...i, ...d }, ...n);
|
|
3892
3993
|
}
|
|
3893
|
-
var
|
|
3894
|
-
const a =
|
|
3994
|
+
var Cs = cn.bind(null, it.createElement), Zt = (e, t) => {
|
|
3995
|
+
const a = Cn();
|
|
3895
3996
|
return e || (t ? a : void 0);
|
|
3896
|
-
},
|
|
3997
|
+
}, Fs = class {
|
|
3897
3998
|
constructor(e = "react-fontawesome") {
|
|
3898
3999
|
this.enabled = !1;
|
|
3899
4000
|
let t = !1;
|
|
3900
4001
|
try {
|
|
3901
|
-
t = typeof process < "u" && process.env
|
|
4002
|
+
t = typeof process < "u" && process.env?.NODE_ENV === "development";
|
|
3902
4003
|
} catch {
|
|
3903
4004
|
}
|
|
3904
4005
|
this.scope = e, this.enabled = t;
|
|
@@ -3925,13 +4026,13 @@ var rs = nn.bind(null, Zt.createElement), Ht = (e, t) => {
|
|
|
3925
4026
|
this.enabled && console.error(`[${this.scope}]`, ...e);
|
|
3926
4027
|
}
|
|
3927
4028
|
};
|
|
3928
|
-
typeof process < "u" && process.env
|
|
3929
|
-
var
|
|
4029
|
+
typeof process < "u" && process.env?.FA_VERSION;
|
|
4030
|
+
var Os = (
|
|
3930
4031
|
// @ts-expect-error TS2872 - Expression is always truthy - This is true when v7 of SVGCore is used, but not when v6 is used.
|
|
3931
4032
|
// This is the point of this check - if the property exists on config, we have v7, otherwise we have v6.
|
|
3932
4033
|
// TS is checking this against the dev dependencies which uses v7, so it reports a false error here.
|
|
3933
|
-
"searchPseudoElementsFullScan" in
|
|
3934
|
-
),
|
|
4034
|
+
"searchPseudoElementsFullScan" in ae && typeof ae.searchPseudoElementsFullScan == "boolean" ? "7.0.0" : "6.0.0"
|
|
4035
|
+
), Ns = Number.parseInt(Os) >= 7, Ts = () => Ns, ce = "fa", $ = {
|
|
3935
4036
|
beat: "fa-beat",
|
|
3936
4037
|
fade: "fa-fade",
|
|
3937
4038
|
beatFade: "fa-beat-fade",
|
|
@@ -3941,14 +4042,14 @@ var os = (
|
|
|
3941
4042
|
spinPulse: "fa-spin-pulse",
|
|
3942
4043
|
spinReverse: "fa-spin-reverse",
|
|
3943
4044
|
pulse: "fa-pulse"
|
|
3944
|
-
},
|
|
4045
|
+
}, js = {
|
|
3945
4046
|
left: "fa-pull-left",
|
|
3946
4047
|
right: "fa-pull-right"
|
|
3947
|
-
},
|
|
4048
|
+
}, $s = {
|
|
3948
4049
|
90: "fa-rotate-90",
|
|
3949
4050
|
180: "fa-rotate-180",
|
|
3950
4051
|
270: "fa-rotate-270"
|
|
3951
|
-
},
|
|
4052
|
+
}, Ls = {
|
|
3952
4053
|
"2xs": "fa-2xs",
|
|
3953
4054
|
xs: "fa-xs",
|
|
3954
4055
|
sm: "fa-sm",
|
|
@@ -3965,7 +4066,7 @@ var os = (
|
|
|
3965
4066
|
"8x": "fa-8x",
|
|
3966
4067
|
"9x": "fa-9x",
|
|
3967
4068
|
"10x": "fa-10x"
|
|
3968
|
-
},
|
|
4069
|
+
}, L = {
|
|
3969
4070
|
border: "fa-border",
|
|
3970
4071
|
/** @deprecated */
|
|
3971
4072
|
fixedWidth: "fa-fw",
|
|
@@ -3977,51 +4078,51 @@ var os = (
|
|
|
3977
4078
|
swapOpacity: "fa-swap-opacity",
|
|
3978
4079
|
widthAuto: "fa-width-auto"
|
|
3979
4080
|
};
|
|
3980
|
-
function
|
|
3981
|
-
const t =
|
|
3982
|
-
return t ===
|
|
3983
|
-
new RegExp(String.raw`(?<=^|\s)${
|
|
4081
|
+
function Rs(e) {
|
|
4082
|
+
const t = ae.cssPrefix || ae.familyPrefix || ce;
|
|
4083
|
+
return t === ce ? e : e.replace(
|
|
4084
|
+
new RegExp(String.raw`(?<=^|\s)${ce}-`, "g"),
|
|
3984
4085
|
`${t}-`
|
|
3985
4086
|
);
|
|
3986
4087
|
}
|
|
3987
|
-
function
|
|
4088
|
+
function Ds(e) {
|
|
3988
4089
|
const {
|
|
3989
4090
|
beat: t,
|
|
3990
4091
|
fade: a,
|
|
3991
4092
|
beatFade: n,
|
|
3992
4093
|
bounce: r,
|
|
3993
4094
|
shake: i,
|
|
3994
|
-
spin:
|
|
3995
|
-
spinPulse:
|
|
4095
|
+
spin: o,
|
|
4096
|
+
spinPulse: s,
|
|
3996
4097
|
spinReverse: l,
|
|
3997
4098
|
pulse: f,
|
|
3998
|
-
fixedWidth:
|
|
3999
|
-
inverse:
|
|
4099
|
+
fixedWidth: d,
|
|
4100
|
+
inverse: u,
|
|
4000
4101
|
border: c,
|
|
4001
|
-
flip:
|
|
4102
|
+
flip: p,
|
|
4002
4103
|
size: h,
|
|
4003
4104
|
rotation: b,
|
|
4004
|
-
pull:
|
|
4105
|
+
pull: w,
|
|
4005
4106
|
swapOpacity: x,
|
|
4006
|
-
rotateBy:
|
|
4007
|
-
widthAuto:
|
|
4008
|
-
className:
|
|
4009
|
-
} = e,
|
|
4010
|
-
return
|
|
4107
|
+
rotateBy: y,
|
|
4108
|
+
widthAuto: g,
|
|
4109
|
+
className: P
|
|
4110
|
+
} = e, k = [];
|
|
4111
|
+
return P && k.push(...P.split(" ")), t && k.push($.beat), a && k.push($.fade), n && k.push($.beatFade), r && k.push($.bounce), i && k.push($.shake), o && k.push($.spin), l && k.push($.spinReverse), s && k.push($.spinPulse), f && k.push($.pulse), d && k.push(L.fixedWidth), u && k.push(L.inverse), c && k.push(L.border), p === !0 && k.push(L.flip), (p === "horizontal" || p === "both") && k.push(L.flipHorizontal), (p === "vertical" || p === "both") && k.push(L.flipVertical), h != null && k.push(Ls[h]), b != null && b !== 0 && k.push($s[b]), w != null && k.push(js[w]), x && k.push(L.swapOpacity), Ts() ? (y && k.push(L.rotateBy), g && k.push(L.widthAuto), (ae.cssPrefix || ae.familyPrefix || ce) === ce ? k : (
|
|
4011
4112
|
// TODO: see if we can achieve custom prefix support without iterating
|
|
4012
4113
|
// eslint-disable-next-line unicorn/no-array-callback-reference
|
|
4013
|
-
|
|
4014
|
-
)) :
|
|
4114
|
+
k.map(Rs)
|
|
4115
|
+
)) : k;
|
|
4015
4116
|
}
|
|
4016
|
-
var
|
|
4017
|
-
function
|
|
4117
|
+
var Ms = (e) => typeof e == "object" && "icon" in e && !!e.icon;
|
|
4118
|
+
function Qt(e) {
|
|
4018
4119
|
if (e)
|
|
4019
|
-
return
|
|
4120
|
+
return Ms(e) ? e : fn.icon(e);
|
|
4020
4121
|
}
|
|
4021
|
-
function
|
|
4122
|
+
function zs(e) {
|
|
4022
4123
|
return Object.keys(e);
|
|
4023
4124
|
}
|
|
4024
|
-
var
|
|
4125
|
+
var ea = new Fs("FontAwesomeIcon"), dn = {
|
|
4025
4126
|
border: !1,
|
|
4026
4127
|
className: "",
|
|
4027
4128
|
mask: void 0,
|
|
@@ -4050,52 +4151,35 @@ var Vt = new is("FontAwesomeIcon"), rn = {
|
|
|
4050
4151
|
transform: void 0,
|
|
4051
4152
|
swapOpacity: !1,
|
|
4052
4153
|
widthAuto: !1
|
|
4053
|
-
},
|
|
4054
|
-
const a = { ...
|
|
4154
|
+
}, Us = new Set(Object.keys(dn)), se = it.forwardRef((e, t) => {
|
|
4155
|
+
const a = { ...dn, ...e }, {
|
|
4055
4156
|
icon: n,
|
|
4056
4157
|
mask: r,
|
|
4057
4158
|
symbol: i,
|
|
4058
|
-
title:
|
|
4059
|
-
titleId:
|
|
4159
|
+
title: o,
|
|
4160
|
+
titleId: s,
|
|
4060
4161
|
maskId: l,
|
|
4061
4162
|
transform: f
|
|
4062
|
-
} = a,
|
|
4163
|
+
} = a, d = Zt(l, !!r), u = Zt(s, !!o), c = Qt(n);
|
|
4063
4164
|
if (!c)
|
|
4064
|
-
return
|
|
4065
|
-
const
|
|
4066
|
-
...
|
|
4165
|
+
return ea.error("Icon lookup is undefined", n), null;
|
|
4166
|
+
const p = Ds(a), h = typeof f == "string" ? fn.transform(f) : f, b = Qt(r), w = ks(c, {
|
|
4167
|
+
...p.length > 0 && { classes: p },
|
|
4067
4168
|
...h && { transform: h },
|
|
4068
4169
|
...b && { mask: b },
|
|
4069
4170
|
symbol: i,
|
|
4070
|
-
title:
|
|
4071
|
-
titleId:
|
|
4072
|
-
maskId:
|
|
4171
|
+
title: o,
|
|
4172
|
+
titleId: u,
|
|
4173
|
+
maskId: d
|
|
4073
4174
|
});
|
|
4074
|
-
if (!
|
|
4075
|
-
return
|
|
4076
|
-
const { abstract: x } =
|
|
4077
|
-
for (const
|
|
4078
|
-
|
|
4079
|
-
return
|
|
4175
|
+
if (!w)
|
|
4176
|
+
return ea.error("Could not find icon", c), null;
|
|
4177
|
+
const { abstract: x } = w, y = { ref: t };
|
|
4178
|
+
for (const g of zs(a))
|
|
4179
|
+
Us.has(g) || (y[g] = a[g]);
|
|
4180
|
+
return Cs(x[0], y);
|
|
4080
4181
|
});
|
|
4081
|
-
|
|
4082
|
-
var ps = {
|
|
4083
|
-
prefix: "fas",
|
|
4084
|
-
iconName: "caret-right",
|
|
4085
|
-
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"]
|
|
4086
|
-
}, vs = {
|
|
4087
|
-
prefix: "fas",
|
|
4088
|
-
iconName: "caret-left",
|
|
4089
|
-
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"]
|
|
4090
|
-
}, bs = {
|
|
4091
|
-
prefix: "fas",
|
|
4092
|
-
iconName: "house",
|
|
4093
|
-
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"]
|
|
4094
|
-
}, ys = bs, _s = {
|
|
4095
|
-
prefix: "fas",
|
|
4096
|
-
iconName: "rotate-right",
|
|
4097
|
-
icon: [512, 512, ["redo-alt", "rotate-forward"], "f2f9", "M488 192l-144 0c-9.7 0-18.5-5.8-22.2-14.8s-1.7-19.3 5.2-26.2l46.7-46.7c-75.3-58.6-184.3-53.3-253.5 15.9-75 75-75 196.5 0 271.5s196.5 75 271.5 0c8.2-8.2 15.5-16.9 21.9-26.1 10.1-14.5 30.1-18 44.6-7.9s18 30.1 7.9 44.6c-8.5 12.2-18.2 23.8-29.1 34.7-100 100-262.1 100-362 0S-25 175 75 75c94.3-94.3 243.7-99.6 344.3-16.2L471 7c6.9-6.9 17.2-8.9 26.2-5.2S512 14.3 512 24l0 144c0 13.3-10.7 24-24 24z"]
|
|
4098
|
-
};
|
|
4182
|
+
se.displayName = "FontAwesomeIcon";
|
|
4099
4183
|
(function() {
|
|
4100
4184
|
try {
|
|
4101
4185
|
if (typeof document < "u") {
|
|
@@ -4106,45 +4190,45 @@ var ps = {
|
|
|
4106
4190
|
console.error("vite-plugin-css-injected-by-js", t);
|
|
4107
4191
|
}
|
|
4108
4192
|
})();
|
|
4109
|
-
const
|
|
4110
|
-
Browser:
|
|
4111
|
-
Header:
|
|
4112
|
-
NavBar:
|
|
4113
|
-
IconButton:
|
|
4114
|
-
SearchBar:
|
|
4115
|
-
Bookmarks:
|
|
4116
|
-
},
|
|
4117
|
-
function
|
|
4118
|
-
const [a, n] =
|
|
4119
|
-
|
|
4120
|
-
|
|
4121
|
-
}, [
|
|
4193
|
+
const Bs = "_Browser_rk8bv_1", Ws = "_Header_rk8bv_11", Hs = "_NavBar_rk8bv_19", Ys = "_IconButton_rk8bv_29", Vs = "_SearchBar_rk8bv_79", Gs = "_Bookmarks_rk8bv_90", R = {
|
|
4194
|
+
Browser: Bs,
|
|
4195
|
+
Header: Ws,
|
|
4196
|
+
NavBar: Hs,
|
|
4197
|
+
IconButton: Ys,
|
|
4198
|
+
SearchBar: Vs,
|
|
4199
|
+
Bookmarks: Gs
|
|
4200
|
+
}, ta = "https://prozilla.dev/", Ks = "https://www.google.com/search?igu=1";
|
|
4201
|
+
function Xs({ url: e = ta, focus: t }) {
|
|
4202
|
+
const [a, n] = de(e), [r, i] = de(e), { history: o, pushState: s, stateIndex: l, undo: f, redo: d, undoAvailable: u, redoAvailable: c } = wn(e), p = le(null);
|
|
4203
|
+
Y(() => {
|
|
4204
|
+
o.length !== 0 && n(o[l]);
|
|
4205
|
+
}, [o, l]);
|
|
4122
4206
|
const h = () => {
|
|
4123
|
-
|
|
4124
|
-
}, b = (
|
|
4125
|
-
if (a ===
|
|
4207
|
+
p.current == null || p.current.contentWindow == null || (p.current.contentWindow.location.href = a);
|
|
4208
|
+
}, b = (y) => {
|
|
4209
|
+
if (a === y)
|
|
4126
4210
|
return h();
|
|
4127
|
-
n(
|
|
4128
|
-
},
|
|
4129
|
-
i(
|
|
4130
|
-
}, x = (
|
|
4131
|
-
const
|
|
4132
|
-
|
|
4211
|
+
n(y), i(y), s(y);
|
|
4212
|
+
}, w = (y) => {
|
|
4213
|
+
i(y.target.value);
|
|
4214
|
+
}, x = (y) => {
|
|
4215
|
+
const g = y.target.value;
|
|
4216
|
+
y.key === "Enter" && g !== "" && (Sn(g) ? b(g) : b(`${Ks}&q=${g}`));
|
|
4133
4217
|
};
|
|
4134
|
-
return /* @__PURE__ */
|
|
4135
|
-
/* @__PURE__ */
|
|
4136
|
-
/* @__PURE__ */
|
|
4218
|
+
return /* @__PURE__ */ G("div", { className: R.Browser, children: [
|
|
4219
|
+
/* @__PURE__ */ G("div", { className: R.Header, children: [
|
|
4220
|
+
/* @__PURE__ */ G("div", { className: R.NavBar, children: [
|
|
4137
4221
|
/* @__PURE__ */ I(
|
|
4138
4222
|
"button",
|
|
4139
4223
|
{
|
|
4140
4224
|
title: "Back",
|
|
4141
4225
|
tabIndex: 0,
|
|
4142
|
-
className:
|
|
4226
|
+
className: R.IconButton,
|
|
4143
4227
|
onClick: () => {
|
|
4144
4228
|
f();
|
|
4145
4229
|
},
|
|
4146
|
-
disabled: !
|
|
4147
|
-
children: /* @__PURE__ */ I(
|
|
4230
|
+
disabled: !u,
|
|
4231
|
+
children: /* @__PURE__ */ I(se, { icon: On })
|
|
4148
4232
|
}
|
|
4149
4233
|
),
|
|
4150
4234
|
/* @__PURE__ */ I(
|
|
@@ -4152,12 +4236,12 @@ function Ps({ url: e = Kt, focus: t }) {
|
|
|
4152
4236
|
{
|
|
4153
4237
|
title: "Forward",
|
|
4154
4238
|
tabIndex: 0,
|
|
4155
|
-
className:
|
|
4239
|
+
className: R.IconButton,
|
|
4156
4240
|
onClick: () => {
|
|
4157
|
-
|
|
4241
|
+
d();
|
|
4158
4242
|
},
|
|
4159
4243
|
disabled: !c,
|
|
4160
|
-
children: /* @__PURE__ */ I(
|
|
4244
|
+
children: /* @__PURE__ */ I(se, { icon: Fn })
|
|
4161
4245
|
}
|
|
4162
4246
|
),
|
|
4163
4247
|
/* @__PURE__ */ I(
|
|
@@ -4165,9 +4249,9 @@ function Ps({ url: e = Kt, focus: t }) {
|
|
|
4165
4249
|
{
|
|
4166
4250
|
title: "Reload",
|
|
4167
4251
|
tabIndex: 0,
|
|
4168
|
-
className:
|
|
4252
|
+
className: R.IconButton,
|
|
4169
4253
|
onClick: h,
|
|
4170
|
-
children: /* @__PURE__ */ I(
|
|
4254
|
+
children: /* @__PURE__ */ I(se, { icon: $n })
|
|
4171
4255
|
}
|
|
4172
4256
|
),
|
|
4173
4257
|
/* @__PURE__ */ I(
|
|
@@ -4175,11 +4259,11 @@ function Ps({ url: e = Kt, focus: t }) {
|
|
|
4175
4259
|
{
|
|
4176
4260
|
title: "Home",
|
|
4177
4261
|
tabIndex: 0,
|
|
4178
|
-
className:
|
|
4262
|
+
className: R.IconButton,
|
|
4179
4263
|
onClick: () => {
|
|
4180
|
-
b(
|
|
4264
|
+
b(ta);
|
|
4181
4265
|
},
|
|
4182
|
-
children: /* @__PURE__ */ I(
|
|
4266
|
+
children: /* @__PURE__ */ I(se, { icon: jn })
|
|
4183
4267
|
}
|
|
4184
4268
|
),
|
|
4185
4269
|
/* @__PURE__ */ I(
|
|
@@ -4188,23 +4272,23 @@ function Ps({ url: e = Kt, focus: t }) {
|
|
|
4188
4272
|
value: r,
|
|
4189
4273
|
type: "text",
|
|
4190
4274
|
"aria-label": "Search bar",
|
|
4191
|
-
className:
|
|
4275
|
+
className: R.SearchBar,
|
|
4192
4276
|
tabIndex: 0,
|
|
4193
|
-
onChange:
|
|
4277
|
+
onChange: w,
|
|
4194
4278
|
onKeyDown: x
|
|
4195
4279
|
}
|
|
4196
4280
|
)
|
|
4197
4281
|
] }),
|
|
4198
|
-
/* @__PURE__ */ I("div", { className:
|
|
4282
|
+
/* @__PURE__ */ I("div", { className: R.Bookmarks })
|
|
4199
4283
|
] }),
|
|
4200
|
-
/* @__PURE__ */ I(
|
|
4284
|
+
/* @__PURE__ */ I(kn, { ref: p, source: a, title: "Browser", focus: t })
|
|
4201
4285
|
] });
|
|
4202
4286
|
}
|
|
4203
|
-
const
|
|
4204
|
-
|
|
4287
|
+
const Js = new aa("Browser", "browser", Xs, { size: new ra(700, 500) }).setIconUrl("https://os.prozilla.dev/assets/apps/icons/browser.svg").setRole(na.APP_ROLES.browser).setCategory("Utilities & tools");
|
|
4288
|
+
Js.setMetadata({ name: "@prozilla-os/browser", version: "1.1.22", author: "Prozilla", website: "https://os.prozilla.dev/browser" });
|
|
4205
4289
|
export {
|
|
4206
|
-
|
|
4207
|
-
|
|
4208
|
-
|
|
4290
|
+
nr as TerminalApp,
|
|
4291
|
+
Js as browser,
|
|
4292
|
+
rr as terminal
|
|
4209
4293
|
};
|
|
4210
4294
|
//# sourceMappingURL=main.js.map
|