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.
Files changed (4) hide show
  1. package/README.md +107 -113
  2. package/dist/main.js +1215 -1131
  3. package/dist/main.js.map +1 -1
  4. package/package.json +17 -17
package/dist/main.js CHANGED
@@ -1,66 +1,90 @@
1
- import { App as Gt, AppsConfig as Xt, CommandsManager as sn, useShell as ln, USERNAME as fn, HOSTNAME as un, useHistory as cn, WebView as dn, isValidUrl as mn } from "@prozilla-os/core";
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 Jt } from "@prozilla-os/shared";
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 Y, Fragment as gn } from "react/jsx-runtime";
7
- import * as be from "react";
8
- import Zt, { forwardRef as hn, useRef as oe, useState as we, useEffect as Z, useLayoutEffect as pn, useId as vn } from "react";
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('._Terminal_cqg7e_1{--char-width: .585rem;display:flex;flex-direction:column;align-items:flex-start;padding:.5rem;overflow:auto;height:100%;cursor:text}._Terminal_cqg7e_1 *{font-family:var(--mono-font-family);letter-spacing:-.03em}._Terminal_cqg7e_1 p,._Terminal_cqg7e_1 pre{margin:0;height:1.25rem;line-height:inherit;font-size:inherit;letter-spacing:inherit}._Prefix_cqg7e_26{display:flex;width:max-content;white-space:nowrap}._Input_cqg7e_32,._Output_cqg7e_32{display:flex;flex-direction:row;align-items:center;width:100%;line-height:1.25rem;font-size:1rem;text-align:start;white-space:pre}._Input_cqg7e_32{height:1.25rem}._Input-container_cqg7e_47{--cursor-width: var(--char-width);--cursor-offset: 0;position:relative;height:100%;width:fit-content}._Input-container_cqg7e_47:after{content:"";position:absolute;top:0;left:calc(var(--cursor-offset) * var(--char-width) * .9746124950079872);width:var(--cursor-width);height:100%;background-color:var(--foreground-color-0);animation:_blink_cqg7e_1 1s step-end infinite}._Input-container_cqg7e_47 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_cqg7e_1{0%,to{background-color:transparent}50%{background-color:var(--foreground-color-0)}}._Input_cqg7e_32 label{position:absolute;width:100%;height:100%;top:0;left:0;cursor:text}._ansi-black-fg_cqg7e_99{color:var(--black-2)}._ansi-red-fg_cqg7e_100{color:var(--red-0)}._ansi-green-fg_cqg7e_101{color:var(--green-0)}._ansi-yellow-fg_cqg7e_102{color:var(--yellow-0)}._ansi-blue-fg_cqg7e_103{color:var(--blue-0)}._ansi-magenta-fg_cqg7e_104{color:var(--purple-0)}._ansi-cyan-fg_cqg7e_105{color:var(--cyan-0)}._ansi-white-fg_cqg7e_106{color:var(--foreground-color-0)}._ansi-bright-black-fg_cqg7e_108{color:var(--black-2)}._ansi-bright-red-fg_cqg7e_109{color:var(--red-0)}._ansi-bright-green-fg_cqg7e_110{color:var(--green-0)}._ansi-bright-yellow-fg_cqg7e_111{color:var(--yellow-0)}._ansi-bright-blue-fg_cqg7e_112{color:var(--blue-0)}._ansi-bright-magenta-fg_cqg7e_113{color:var(--purple-0)}._ansi-bright-cyan-fg_cqg7e_114{color:var(--cyan-0)}._ansi-bright-white-fg_cqg7e_115{color:var(--foreground-color-0)}._ansi-black-bg_cqg7e_117{background-color:var(--black-2)}._ansi-red-bg_cqg7e_118{background-color:var(--red-0)}._ansi-green-bg_cqg7e_119{background-color:var(--green-0)}._ansi-yellow-bg_cqg7e_120{background-color:var(--yellow-0)}._ansi-blue-bg_cqg7e_121{background-color:var(--blue-0)}._ansi-magenta-bg_cqg7e_122{background-color:var(--purple-0)}._ansi-cyan-bg_cqg7e_123{background-color:var(--cyan-0)}._ansi-white-bg_cqg7e_124{background-color:var(--foreground-color-0)}._ansi-dim_cqg7e_126{opacity:.65}')), document.head.appendChild(e);
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 bn = "_Terminal_cqg7e_1", yn = "_Prefix_cqg7e_26", _n = "_Input_cqg7e_32", xn = "_Output_cqg7e_32", wn = "_blink_cqg7e_1", D = {
25
- Terminal: bn,
26
- Prefix: yn,
27
- Input: _n,
28
- Output: xn,
29
- "Input-container": "_Input-container_cqg7e_47",
30
- blink: wn,
31
- "ansi-black-fg": "_ansi-black-fg_cqg7e_99",
32
- "ansi-red-fg": "_ansi-red-fg_cqg7e_100",
33
- "ansi-green-fg": "_ansi-green-fg_cqg7e_101",
34
- "ansi-yellow-fg": "_ansi-yellow-fg_cqg7e_102",
35
- "ansi-blue-fg": "_ansi-blue-fg_cqg7e_103",
36
- "ansi-magenta-fg": "_ansi-magenta-fg_cqg7e_104",
37
- "ansi-cyan-fg": "_ansi-cyan-fg_cqg7e_105",
38
- "ansi-white-fg": "_ansi-white-fg_cqg7e_106",
39
- "ansi-bright-black-fg": "_ansi-bright-black-fg_cqg7e_108",
40
- "ansi-bright-red-fg": "_ansi-bright-red-fg_cqg7e_109",
41
- "ansi-bright-green-fg": "_ansi-bright-green-fg_cqg7e_110",
42
- "ansi-bright-yellow-fg": "_ansi-bright-yellow-fg_cqg7e_111",
43
- "ansi-bright-blue-fg": "_ansi-bright-blue-fg_cqg7e_112",
44
- "ansi-bright-magenta-fg": "_ansi-bright-magenta-fg_cqg7e_113",
45
- "ansi-bright-cyan-fg": "_ansi-bright-cyan-fg_cqg7e_114",
46
- "ansi-bright-white-fg": "_ansi-bright-white-fg_cqg7e_115",
47
- "ansi-black-bg": "_ansi-black-bg_cqg7e_117",
48
- "ansi-red-bg": "_ansi-red-bg_cqg7e_118",
49
- "ansi-green-bg": "_ansi-green-bg_cqg7e_119",
50
- "ansi-yellow-bg": "_ansi-yellow-bg_cqg7e_120",
51
- "ansi-blue-bg": "_ansi-blue-bg_cqg7e_121",
52
- "ansi-magenta-bg": "_ansi-magenta-bg_cqg7e_122",
53
- "ansi-cyan-bg": "_ansi-cyan-bg_cqg7e_123",
54
- "ansi-white-bg": "_ansi-white-bg_cqg7e_124",
55
- "ansi-dim": "_ansi-dim_cqg7e_126"
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 kn(e) {
81
+ function Hn(e) {
58
82
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
59
83
  }
60
- var Fe, mt;
61
- function Sn() {
62
- if (mt) return Fe;
63
- mt = 1;
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 o = 0; o < 2; ++o)
214
+ for (let s = 0; s < 2; ++s)
191
215
  for (let l = 0; l < 8; ++l)
192
- this.PALETTE_COLORS.push(e[o][l].color);
193
- let r = [0, 95, 135, 175, 215, 255], i = (o, l, f) => r[o] + ", " + r[l] + ", " + r[f];
194
- for (let o = 0; o < 6; ++o)
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(o, l, f));
198
- let s = 8;
199
- for (let o = 0; o < 24; ++o, s += 10)
200
- this.PALETTE_COLORS.push(s + ", " + s + ", " + s);
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, s) {
282
- let o = this, l = r.split(/\033\[/), f = l.shift();
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 u = l.map((d) => this.processChunk(d, i, s));
308
+ let d = l.map((u) => this.processChunk(u, i, o));
285
309
  if (i && i.json) {
286
- let d = o.processChunkJson("");
287
- return d.content = f, d.clearLine = i.clearLine, u.unshift(d), i.remove_empty && (u = u.filter((c) => !c.isEmpty())), u;
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
- u.unshift(f);
290
- return u.join("");
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, s) {
341
+ processChunkJson(r, i, o) {
318
342
  i = typeof i > "u" ? {} : i;
319
- let o = i.use_classes = typeof i.use_classes < "u" && i.use_classes, l = i.key = o ? "class" : "color", f = {
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
- }, u = r.match(/^([!\x3c-\x3f]*)([\d;]*)([\x20-\x2c]*[\x40-\x7e])([\s\S]*)/m);
332
- if (!u) return f;
333
- f.content = u[4];
334
- let d = u[2].split(";");
335
- if (u[1] !== "" || u[3] !== "m" || !s)
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 (; d.length > 0; ) {
339
- let g = d.shift(), h = parseInt(g);
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 (d.length >= 1) {
389
- let k = d.shift();
390
- if (k === "5" && d.length >= 1) {
391
- let x = parseInt(d.shift());
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 (!o)
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 w = x >= 16 ? "ansi-palette-" + x : e[x > 7 ? 1 : 0][x % 8].class;
397
- b ? c.fg = w : c.bg = w;
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 (k === "2" && d.length >= 3) {
400
- let x = parseInt(d.shift()), w = parseInt(d.shift()), S = parseInt(d.shift());
401
- if (x >= 0 && x <= 255 && w >= 0 && w <= 255 && S >= 0 && S <= 255) {
402
- let y = x + ", " + w + ", " + S;
403
- o ? b ? (c.fg = "ansi-truecolor", c.fg_truecolor = y) : (c.bg = "ansi-truecolor", c.bg_truecolor = y) : b ? c.fg = y : c.bg = y;
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, s) {
450
+ processChunk(r, i, o) {
427
451
  i = i || {};
428
- let o = this.processChunkJson(r, i, s), l = i.use_classes;
429
- if (o.decorations = o.decorations.filter((h) => {
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
- o.fg || (o.fg = e[0][7][l ? "class" : "color"]), o.bg || (o.bg = e[0][0][l ? "class" : "color"]);
432
- let b = o.fg;
433
- o.fg = o.bg, o.bg = b;
434
- let k = o.fg_truecolor;
435
- return o.fg_truecolor = o.bg_truecolor, o.bg_truecolor = k, o.isInverted = !0, !1;
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 o;
440
- if (o.isEmpty())
463
+ return s;
464
+ if (s.isEmpty())
441
465
  return "";
442
- if (!o.was_processed)
443
- return o.content;
444
- let f = [], u = [], d = [], c = {}, g = (h) => {
445
- let b = [], k;
446
- for (k in h)
447
- h.hasOwnProperty(k) && b.push("data-" + k + '="' + this.escapeForHtml(h[k]) + '"');
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 o.isInverted && (c["ansi-is-inverted"] = "true"), o.fg && (l ? (f.push(o.fg + "-fg"), o.fg_truecolor !== null && (c["ansi-truecolor-fg"] = o.fg_truecolor, o.fg_truecolor = null)) : f.push("color:rgb(" + o.fg + ")")), o.bg && (l ? (f.push(o.bg + "-bg"), o.bg_truecolor !== null && (c["ansi-truecolor-bg"] = o.bg_truecolor, o.bg_truecolor = null)) : f.push("background-color:rgb(" + o.bg + ")")), o.decorations.forEach((h) => {
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
- u.push("ansi-" + h);
476
+ d.push("ansi-" + h);
453
477
  return;
454
478
  }
455
- h === "bold" ? u.push("font-weight:bold") : h === "dim" ? u.push("opacity:0.5") : h === "italic" ? u.push("font-style:italic") : h === "hidden" ? u.push("visibility:hidden") : h === "strikethrough" ? d.push("line-through") : d.push(h);
456
- }), d.length && u.push("text-decoration:" + d.join(" ")), l ? '<span class="' + f.concat(u).join(" ") + '"' + g(c) + ">" + o.content + "</span>" : '<span style="' + f.concat(u).join(";") + '"' + g(c) + ">" + o.content + "</span>";
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 Fe = a, Fe;
464
- }
465
- var An = Sn();
466
- const In = /* @__PURE__ */ kn(An);
467
- var ne = { exports: {} }, gt;
468
- function En() {
469
- if (gt) return ne.exports;
470
- gt = 1;
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, s, o) {
477
- return o + s.slice(o.length);
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, s = 0; s < r.length; s++)
483
- r[i].length <= r[s].length && (i = s);
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"), s = []; i.length > 0; ) {
489
- var o = t(i);
490
- s.push(i[o]), i = i.slice(o + 1);
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 s.join("\r");
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 ne.exports = e, ne.exports.escapeCarriageReturn = e, ne.exports.escapeCarriageReturnSafe = n, ne.exports;
529
+ return ie.exports = e, ie.exports.escapeCarriageReturn = e, ie.exports.escapeCarriageReturnSafe = n, ie.exports;
506
530
  }
507
- var Pn = En();
508
- function Cn(e, t) {
509
- return e = Pn.escapeCarriageReturn(Tn(e)), In.ansiToJson(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 On(e) {
541
+ function qn(e) {
518
542
  const t = [];
519
- return e.bg && t.push(D[`${e.bg}-bg`]), e.fg && t.push(D[`${e.fg}-fg`]), e.decoration && t.push(D[`ansi-${e.decoration}`]), t.length === 0 ? null : t.join(" ");
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 Fn(e) {
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 Nn(e, t, a, n) {
549
- const r = t ? null : Fn(a), i = t ? On(a) : 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 be.createElement(
575
+ return _e.createElement(
552
576
  "pre",
553
577
  { style: r, key: n, className: i },
554
578
  a.content
555
579
  );
556
- const s = [], o = /(\s|^)(https?:\/\/(?:www\.|(?!www))[^\s.]+\.[^\s]{2,}|www\.[^\s]+\.[^\s]{2,})/g;
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 = o.exec(a.content)) !== null; ) {
559
- const [, u, d] = f, c = f.index + u.length;
560
- c > l && s.push(a.content.substring(l, c));
561
- const g = d.startsWith("www.") ? `http://${d}` : d;
562
- s.push(
563
- be.createElement(
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: g,
591
+ href: p,
568
592
  target: "_blank"
569
593
  },
570
- `${d}`
594
+ `${u}`
571
595
  )
572
- ), l = o.lastIndex;
596
+ ), l = s.lastIndex;
573
597
  }
574
- return l < a.content.length && s.push(a.content.substring(l)), be.createElement("span", { style: r, key: n, className: i }, s);
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 Qt(e) {
600
+ function ia(e) {
577
601
  const { className: t, useClasses: a, children: n, linkify: r } = e;
578
- return be.createElement(
602
+ return _e.createElement(
579
603
  "code",
580
604
  { className: t },
581
- Cn(n ?? "", a ?? !1).map(
582
- Nn.bind(null, r ?? !1, a ?? !1)
605
+ Jn(n ?? "", a ?? !1).map(
606
+ Qn.bind(null, r ?? !1, a ?? !1)
583
607
  )
584
608
  );
585
609
  }
586
- function Tn(e) {
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 Ne = hn(({ text: e }, t) => {
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(Qt, { className: D.Output, useClasses: !0, children: n === "" ? " " : n }, r)
621
+ (n, r) => /* @__PURE__ */ I(ia, { className: O.Output, useClasses: !0, children: n === "" ? " " : n }, r)
598
622
  ) });
599
- });
600
- function jn({ value: e, prefix: t, onChange: a, onKeyUp: n, onKeyDown: r, inputRef: i }) {
601
- const [s, o] = we(0), l = oe(null);
602
- pn(() => {
603
- const u = i.current;
604
- u && l.current !== null ? (u.setSelectionRange(l.current, l.current), o(l.current), l.current = null) : u && u.selectionStart !== null && o(u.selectionStart);
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 u = i.current?.selectionStart;
608
- u != null && o(u);
631
+ const d = i.current?.selectionStart;
632
+ d != null && s(d);
609
633
  };
610
- return /* @__PURE__ */ Y("span", { className: D.Input, children: [
611
- t && /* @__PURE__ */ I(Qt, { className: D.Prefix, useClasses: !0, children: t }),
612
- /* @__PURE__ */ Y("span", { className: D["Input-container"], style: { "--cursor-offset": s }, children: [
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: (u) => {
621
- l.current = u.target.selectionStart, a(u);
644
+ onChange: (d) => {
645
+ l.current = d.target.selectionStart, a(d);
622
646
  },
623
647
  ref: i,
624
648
  onKeyUp: n,
625
- onKeyDown: (u) => {
626
- r?.(u), f();
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 $n({ app: e, path: t, input: a, setTitle: n, close: r, active: i, focus: s }) {
639
- const o = oe(null), l = oe(null), f = oe(Jt.ZERO), [u, d] = we(0), [c, g] = ln({
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: f
668
+ sizeRef: d
645
669
  });
646
- Z(() => {
647
- n?.(`${fn}@${un}: ${g.workingDirectory.root ? "/" : g.workingDirectory.path}`);
648
- }, [g.workingDirectory.path, g.workingDirectory.root, n]), Z(() => {
649
- i && (g.stream ? o.current?.focus() : l.current?.focus());
650
- }, [i, g.stream]), Z(() => {
651
- if (l.current && !g.stream) {
652
- const y = g.line.length;
653
- l.current.setSelectionRange(y, y);
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 h = () => {
657
- o.current && (o.current.scrollTop = o.current.scrollHeight);
684
+ const P = () => {
685
+ l.current && (l.current.scrollTop = l.current.scrollHeight);
658
686
  };
659
- Z(() => {
660
- h();
661
- }, [g.history.length, g.line, g.ttyBuffer]), Z(() => {
662
- if (!o.current) return;
663
- const y = () => {
664
- if (!o.current) return;
665
- const P = getComputedStyle(o.current), T = parseFloat(P.fontSize), B = 0.585 * T, G = 1.25 * T, { width: he, height: on } = o.current.getBoundingClientRect();
666
- f.current.set(
667
- Math.ceil(he / B),
668
- Math.ceil(on / G)
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(Ne, { text: g.ttyBuffer }) : null;
691
- let y = 0;
692
- for (let p = g.history.length - 1; p >= 0; p--)
693
- if (g.history[p].clear) {
694
- y = p + 1;
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 /* @__PURE__ */ Y(gn, { children: [
698
- g.history.slice(y).map(
699
- (p, P) => /* @__PURE__ */ I(Ne, { text: p.text }, P)
700
- ),
701
- g.ttyBuffer && /* @__PURE__ */ I(Ne, { text: g.ttyBuffer })
702
- ] });
703
- }, w = (y) => {
704
- s?.(y), y.button === 2 && (y.preventDefault(), navigator.clipboard.readText().then((p) => {
705
- const P = l.current;
706
- if (!P) return;
707
- const T = P.selectionStart ?? g.line.length, B = P.selectionEnd ?? g.line.length;
708
- c.setLine((he) => he.substring(0, T) + p + he.substring(B));
709
- const G = T + p.length;
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
- P.focus(), P.setSelectionRange(G, G);
728
+ H.focus(), H.setSelectionRange(yt, yt);
712
729
  }, 0);
713
- }).catch((p) => {
714
- console.error(p);
730
+ }).catch((C) => {
731
+ console.error(C);
715
732
  }));
716
- }, S = (y) => {
717
- y.preventDefault();
718
- };
719
- return /* @__PURE__ */ Y(
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: o,
745
+ ref: l,
723
746
  tabIndex: 0,
724
- className: D.Terminal,
725
- onKeyDown: b,
726
- onMouseDown: w,
727
- onContextMenu: S,
728
- onClick: (y) => {
729
- window.getSelection()?.toString() === "" && (y.preventDefault(), g.stream ? o.current?.focus() : l.current?.focus());
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
- /* @__PURE__ */ I("div", { className: D.History, children: x() }),
733
- !g.isUsingAltScreen && (g.stream ? null : /* @__PURE__ */ I(
734
- jn,
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: k,
739
- inputRef: l
765
+ prefix: (g.ttyBuffer ?? "") + g.prompt,
766
+ onChange: J,
767
+ inputRef: f
740
768
  },
741
- u
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 Ln extends Gt {
786
+ class nr extends aa {
748
787
  constructor() {
749
- super("Terminal", "terminal", $n), this.setIconUrl("https://os.prozilla.dev/assets/apps/icons/terminal.svg"), this.setRole(Xt.APP_ROLES.terminal), this.setCategory("Utilities & tools");
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 sn.addCommand(t), this;
794
+ return pn.builtins.push(t), this;
756
795
  }
757
796
  }
758
- const Dn = new Ln();
759
- Dn.setMetadata({ name: "@prozilla-os/terminal", version: "2.0.0", author: "Prozilla" });
760
- function ze(e, t) {
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 Rn(e) {
804
+ function ir(e) {
766
805
  if (Array.isArray(e)) return e;
767
806
  }
768
- function Mn(e) {
769
- if (Array.isArray(e)) return ze(e);
807
+ function or(e) {
808
+ if (Array.isArray(e)) return He(e);
770
809
  }
771
- function zn(e, t) {
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 qn(e, t) {
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, ea(n.key), n);
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 Un(e, t, a) {
781
- return t && qn(e.prototype, t), Object.defineProperty(e, "prototype", {
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 ye(e, t) {
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 = tt(e)) || t) {
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, s = !0, o = !1;
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 s = l.done, l;
857
+ return o = l.done, l;
819
858
  },
820
859
  e: function(l) {
821
- o = !0, i = l;
860
+ s = !0, i = l;
822
861
  },
823
862
  f: function() {
824
863
  try {
825
- s || a.return == null || a.return();
864
+ o || a.return == null || a.return();
826
865
  } finally {
827
- if (o) throw i;
866
+ if (s) throw i;
828
867
  }
829
868
  }
830
869
  };
831
870
  }
832
871
  function _(e, t, a) {
833
- return (t = ea(t)) in e ? Object.defineProperty(e, 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 Wn(e) {
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 Bn(e, t) {
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, s, o = [], l = !0, f = !1;
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) && (o.push(n.value), o.length !== t); l = !0) ;
852
- } catch (u) {
853
- f = !0, r = u;
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 && (s = a.return(), Object(s) !== s)) return;
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 o;
900
+ return s;
862
901
  }
863
902
  }
864
- function Hn() {
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 Yn() {
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 ht(e, t) {
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 ? ht(Object(a), !0).forEach(function(n) {
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)) : ht(Object(a)).forEach(function(n) {
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 Ie(e, t) {
894
- return Rn(e) || Bn(e, t) || tt(e, t) || Hn();
932
+ function Ee(e, t) {
933
+ return ir(e) || cr(e, t) || ot(e, t) || dr();
895
934
  }
896
- function F(e) {
897
- return Mn(e) || Wn(e) || tt(e) || Yn();
935
+ function T(e) {
936
+ return or(e) || ur(e) || ot(e) || mr();
898
937
  }
899
- function Vn(e, t) {
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 ea(e) {
910
- var t = Vn(e, "string");
948
+ function oa(e) {
949
+ var t = hr(e, "string");
911
950
  return typeof t == "symbol" ? t : t + "";
912
951
  }
913
- function ke(e) {
952
+ function Se(e) {
914
953
  "@babel/helpers - typeof";
915
- return ke = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
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
- }, ke(e);
958
+ }, Se(e);
920
959
  }
921
- function tt(e, t) {
960
+ function ot(e, t) {
922
961
  if (e) {
923
- if (typeof e == "string") return ze(e, t);
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) ? ze(e, t) : void 0;
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 pt = function() {
929
- }, at = {}, ta = {}, aa = null, na = {
930
- mark: pt,
931
- measure: pt
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" && (at = window), typeof document < "u" && (ta = document), typeof MutationObserver < "u" && (aa = MutationObserver), typeof performance < "u" && (na = performance);
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 Kn = at.navigator || {}, vt = Kn.userAgent, bt = vt === void 0 ? "" : vt, q = at, A = ta, yt = aa, pe = na;
938
- q.document;
939
- var z = !!A.documentElement && !!A.head && typeof A.addEventListener == "function" && typeof A.createElement == "function", ra = ~bt.indexOf("MSIE") || ~bt.indexOf("Trident/"), Te, Gn = /fa(k|kd|s|r|l|t|d|dr|dl|dt|b|slr|slpr|wsb|tl|ns|nds|es|jr|jfr|jdr|usb|ufsb|udsb|cr|ss|sr|sl|st|sds|sdr|sdl|sdt)?[\-\ ]/, Xn = /Font ?Awesome ?([567 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp Duotone|Sharp|Kit|Notdog Duo|Notdog|Chisel|Etch|Thumbprint|Jelly Fill|Jelly Duo|Jelly|Utility|Utility Fill|Utility Duo|Slab Press|Slab|Whiteboard)?.*/i, ia = {
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
- }, Jn = {
1086
+ }, br = {
1044
1087
  GROUP: "duotone-group",
1045
1088
  PRIMARY: "primary",
1046
1089
  SECONDARY: "secondary"
1047
- }, oa = ["fa-classic", "fa-duotone", "fa-sharp", "fa-sharp-duotone", "fa-thumbprint", "fa-whiteboard", "fa-notdog", "fa-notdog-duo", "fa-chisel", "fa-etch", "fa-jelly", "fa-jelly-fill", "fa-jelly-duo", "fa-slab", "fa-slab-press", "fa-utility", "fa-utility-duo", "fa-utility-fill"], E = "classic", de = "duotone", sa = "sharp", la = "sharp-duotone", fa = "chisel", ua = "etch", ca = "jelly", da = "jelly-duo", ma = "jelly-fill", ga = "notdog", ha = "notdog-duo", pa = "slab", va = "slab-press", ba = "thumbprint", ya = "utility", _a = "utility-duo", xa = "utility-fill", wa = "whiteboard", Zn = "Classic", Qn = "Duotone", er = "Sharp", tr = "Sharp Duotone", ar = "Chisel", nr = "Etch", rr = "Jelly", ir = "Jelly Duo", or = "Jelly Fill", sr = "Notdog", lr = "Notdog Duo", fr = "Slab", ur = "Slab Press", cr = "Thumbprint", dr = "Utility", mr = "Utility Duo", gr = "Utility Fill", hr = "Whiteboard", ka = [E, de, sa, la, fa, ua, ca, da, ma, ga, ha, pa, va, ba, ya, _a, xa, wa];
1048
- Te = {}, _(_(_(_(_(_(_(_(_(_(Te, E, Zn), de, Qn), sa, er), la, tr), fa, ar), ua, nr), ca, rr), da, ir), ma, or), ga, sr), _(_(_(_(_(_(_(_(Te, ha, lr), pa, fr), va, ur), ba, cr), ya, dr), _a, mr), xa, gr), wa, hr);
1049
- var pr = {
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
- }, vr = {
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
- }, br = /* @__PURE__ */ new Map([["classic", {
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
- }]]), yr = {
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
- }, Sa = ["fak", "fa-kit", "fakd", "fa-kit-duotone"], _t = {
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
- }, _r = ["kit"], xr = "kit", wr = "kit-duotone", kr = "Kit", Sr = "Kit Duotone";
1396
- _(_({}, xr, kr), wr, Sr);
1397
- var Ar = {
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
- }, Ir = {
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
- }, Er = {
1469
+ }, Xr = {
1411
1470
  kit: {
1412
1471
  fak: "fa-kit"
1413
1472
  }
1414
- }, xt = {
1473
+ }, Pt = {
1415
1474
  kit: {
1416
1475
  kit: "fak"
1417
1476
  },
1418
1477
  "kit-duotone": {
1419
1478
  "kit-duotone": "fakd"
1420
1479
  }
1421
- }, je, ve = {
1480
+ }, De, ye = {
1422
1481
  GROUP: "duotone-group",
1423
1482
  SWAP_OPACITY: "swap-opacity",
1424
1483
  PRIMARY: "primary",
1425
1484
  SECONDARY: "secondary"
1426
- }, Pr = ["fa-classic", "fa-duotone", "fa-sharp", "fa-sharp-duotone", "fa-thumbprint", "fa-whiteboard", "fa-notdog", "fa-notdog-duo", "fa-chisel", "fa-etch", "fa-jelly", "fa-jelly-fill", "fa-jelly-duo", "fa-slab", "fa-slab-press", "fa-utility", "fa-utility-duo", "fa-utility-fill"], Cr = "classic", Or = "duotone", Fr = "sharp", Nr = "sharp-duotone", Tr = "chisel", jr = "etch", $r = "jelly", Lr = "jelly-duo", Dr = "jelly-fill", Rr = "notdog", Mr = "notdog-duo", zr = "slab", qr = "slab-press", Ur = "thumbprint", Wr = "utility", Br = "utility-duo", Hr = "utility-fill", Yr = "whiteboard", Vr = "Classic", Kr = "Duotone", Gr = "Sharp", Xr = "Sharp Duotone", Jr = "Chisel", Zr = "Etch", Qr = "Jelly", ei = "Jelly Duo", ti = "Jelly Fill", ai = "Notdog", ni = "Notdog Duo", ri = "Slab", ii = "Slab Press", oi = "Thumbprint", si = "Utility", li = "Utility Duo", fi = "Utility Fill", ui = "Whiteboard";
1427
- je = {}, _(_(_(_(_(_(_(_(_(_(je, Cr, Vr), Or, Kr), Fr, Gr), Nr, Xr), Tr, Jr), jr, Zr), $r, Qr), Lr, ei), Dr, ti), Rr, ai), _(_(_(_(_(_(_(_(je, Mr, ni), zr, ri), qr, ii), Ur, oi), Wr, si), Br, li), Hr, fi), Yr, ui);
1428
- var ci = "kit", di = "kit-duotone", mi = "Kit", gi = "Kit Duotone";
1429
- _(_({}, ci, mi), di, gi);
1430
- var hi = {
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
- }, pi = {
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
- }, qe = {
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
- }, vi = ["fa-solid", "fa-regular", "fa-light", "fa-thin", "fa-duotone", "fa-brands", "fa-semibold"], Aa = ["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", "fajr", "fajfr", "fajdr", "facr", "fausb", "faudsb", "faufsb"].concat(Pr, vi), bi = ["solid", "regular", "light", "thin", "duotone", "brands", "semibold"], Ia = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], yi = Ia.concat([11, 12, 13, 14, 15, 16, 17, 18, 19, 20]), _i = ["aw", "fw", "pull-left", "pull-right"], xi = [].concat(F(Object.keys(pi)), bi, _i, ["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", ve.GROUP, ve.SWAP_OPACITY, ve.PRIMARY, ve.SECONDARY]).concat(Ia.map(function(e) {
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(yi.map(function(e) {
1653
+ })).concat(Wi.map(function(e) {
1588
1654
  return "w-".concat(e);
1589
- })), wi = {
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
- }, R = "___FONT_AWESOME___", Ue = 16, Ea = "fa", Pa = "svg-inline--fa", V = "data-fa-i2svg", We = "data-fa-pseudo-element", ki = "data-fa-pseudo-element-pending", nt = "data-prefix", rt = "data-icon", wt = "fontawesome-i2svg", Si = "async", Ai = ["HTML", "HEAD", "STYLE", "SCRIPT"], Ca = ["::before", "::after", ":before", ":after"], Oa = (function() {
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 me(e) {
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 Fa = m({}, ia);
1622
- Fa[E] = m(m(m(m({}, {
1687
+ var Da = m({}, ca);
1688
+ Da[E] = m(m(m(m({}, {
1623
1689
  "fa-duotone": "duotone"
1624
- }), ia[E]), _t.kit), _t["kit-duotone"]);
1625
- var Ii = me(Fa), Be = m({}, yr);
1626
- Be[E] = m(m(m(m({}, {
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
- }), Be[E]), xt.kit), xt["kit-duotone"]);
1629
- var kt = me(Be), He = m({}, qe);
1630
- He[E] = m(m({}, He[E]), Er.kit);
1631
- var it = me(He), Ye = m({}, hi);
1632
- Ye[E] = m(m({}, Ye[E]), Ar.kit);
1633
- me(Ye);
1634
- var Ei = Gn, Na = "fa-layers-text", Pi = Xn, Ci = m({}, pr);
1635
- me(Ci);
1636
- var Oi = ["class", "data-prefix", "data-icon", "data-fa-transform", "data-fa-mask"], $e = Jn, Fi = [].concat(F(_r), F(xi)), se = q.FontAwesomeConfig || {};
1637
- function Ni(e) {
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 Ti(e) {
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 ji = [["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"]];
1647
- ji.forEach(function(e) {
1648
- var t = Ie(e, 2), a = t[0], n = t[1], r = Ti(Ni(a));
1649
- r != null && (se[n] = r);
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 Ta = {
1718
+ var za = {
1653
1719
  styleDefault: "solid",
1654
1720
  familyDefault: E,
1655
- cssPrefix: Ea,
1656
- replacementClass: Pa,
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
- se.familyPrefix && (se.cssPrefix = se.familyPrefix);
1669
- var te = m(m({}, Ta), se);
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(Ta).forEach(function(e) {
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, le.forEach(function(n) {
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, le.forEach(function(a) {
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
- q.FontAwesomeConfig = v;
1697
- var le = [];
1698
- function $i(e) {
1699
- return le.push(e), function() {
1700
- le.splice(le.indexOf(e), 1);
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 X = Ue, N = {
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 Li(e) {
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], s = (i.tagName || "").toUpperCase();
1717
- ["STYLE", "LINK"].indexOf(s) > -1 && (n = i);
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 Di = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";
1723
- function St() {
1788
+ var so = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";
1789
+ function Ot() {
1724
1790
  for (var e = 12, t = ""; e-- > 0; )
1725
- t += Di[Math.random() * 62 | 0];
1791
+ t += so[Math.random() * 62 | 0];
1726
1792
  return t;
1727
1793
  }
1728
- function ae(e) {
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 ot(e) {
1734
- return e.classList ? ae(e.classList) : (e.getAttribute("class") || "").split(" ").filter(function(t) {
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 ja(e) {
1804
+ function Ua(e) {
1739
1805
  return "".concat(e).replace(/&/g, "&amp;").replace(/"/g, "&quot;").replace(/'/g, "&#39;").replace(/</g, "&lt;").replace(/>/g, "&gt;");
1740
1806
  }
1741
- function Ri(e) {
1807
+ function lo(e) {
1742
1808
  return Object.keys(e || {}).reduce(function(t, a) {
1743
- return t + "".concat(a, '="').concat(ja(e[a]), '" ');
1809
+ return t + "".concat(a, '="').concat(Ua(e[a]), '" ');
1744
1810
  }, "").trim();
1745
1811
  }
1746
- function Ee(e) {
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 st(e) {
1752
- return e.size !== N.size || e.x !== N.x || e.y !== N.y || e.rotate !== N.rotate || e.flipX || e.flipY;
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 Mi(e) {
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, ") "), s = "scale(".concat(t.size / 16 * (t.flipX ? -1 : 1), ", ").concat(t.size / 16 * (t.flipY ? -1 : 1), ") "), o = "rotate(".concat(t.rotate, " 0 0)"), l = {
1758
- transform: "".concat(i, " ").concat(s, " ").concat(o)
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 zi(e) {
1769
- var t = e.transform, a = e.width, n = a === void 0 ? Ue : a, r = e.height, i = r === void 0 ? Ue : r, s = "";
1770
- return ra ? s += "translate(".concat(t.x / X - n / 2, "em, ").concat(t.y / X - i / 2, "em) ") : s += "translate(calc(-50% + ".concat(t.x / X, "em), calc(-50% + ").concat(t.y / X, "em)) "), s += "scale(".concat(t.size / X * (t.flipX ? -1 : 1), ", ").concat(t.size / X * (t.flipY ? -1 : 1), ") "), s += "rotate(".concat(t.rotate, "deg) "), s;
1771
- }
1772
- var qi = `:root, :host {
1773
- --fa-font-solid: normal 900 1em/1 "Font Awesome 7 Free";
1774
- --fa-font-regular: normal 400 1em/1 "Font Awesome 7 Free";
1775
- --fa-font-light: normal 300 1em/1 "Font Awesome 7 Pro";
1776
- --fa-font-thin: normal 100 1em/1 "Font Awesome 7 Pro";
1777
- --fa-font-duotone: normal 900 1em/1 "Font Awesome 7 Duotone";
1778
- --fa-font-duotone-regular: normal 400 1em/1 "Font Awesome 7 Duotone";
1779
- --fa-font-duotone-light: normal 300 1em/1 "Font Awesome 7 Duotone";
1780
- --fa-font-duotone-thin: normal 100 1em/1 "Font Awesome 7 Duotone";
1781
- --fa-font-brands: normal 400 1em/1 "Font Awesome 7 Brands";
1782
- --fa-font-sharp-solid: normal 900 1em/1 "Font Awesome 7 Sharp";
1783
- --fa-font-sharp-regular: normal 400 1em/1 "Font Awesome 7 Sharp";
1784
- --fa-font-sharp-light: normal 300 1em/1 "Font Awesome 7 Sharp";
1785
- --fa-font-sharp-thin: normal 100 1em/1 "Font Awesome 7 Sharp";
1786
- --fa-font-sharp-duotone-solid: normal 900 1em/1 "Font Awesome 7 Sharp Duotone";
1787
- --fa-font-sharp-duotone-regular: normal 400 1em/1 "Font Awesome 7 Sharp Duotone";
1788
- --fa-font-sharp-duotone-light: normal 300 1em/1 "Font Awesome 7 Sharp Duotone";
1789
- --fa-font-sharp-duotone-thin: normal 100 1em/1 "Font Awesome 7 Sharp Duotone";
1790
- --fa-font-slab-regular: normal 400 1em/1 "Font Awesome 7 Slab";
1791
- --fa-font-slab-press-regular: normal 400 1em/1 "Font Awesome 7 Slab Press";
1792
- --fa-font-whiteboard-semibold: normal 600 1em/1 "Font Awesome 7 Whiteboard";
1793
- --fa-font-thumbprint-light: normal 300 1em/1 "Font Awesome 7 Thumbprint";
1794
- --fa-font-notdog-solid: normal 900 1em/1 "Font Awesome 7 Notdog";
1795
- --fa-font-notdog-duo-solid: normal 900 1em/1 "Font Awesome 7 Notdog Duo";
1796
- --fa-font-etch-solid: normal 900 1em/1 "Font Awesome 7 Etch";
1797
- --fa-font-jelly-regular: normal 400 1em/1 "Font Awesome 7 Jelly";
1798
- --fa-font-jelly-fill-regular: normal 400 1em/1 "Font Awesome 7 Jelly Fill";
1799
- --fa-font-jelly-duo-regular: normal 400 1em/1 "Font Awesome 7 Jelly Duo";
1800
- --fa-font-chisel-regular: normal 400 1em/1 "Font Awesome 7 Chisel";
1801
- --fa-font-utility-semibold: normal 600 1em/1 "Font Awesome 7 Utility";
1802
- --fa-font-utility-duo-semibold: normal 600 1em/1 "Font Awesome 7 Utility Duo";
1803
- --fa-font-utility-fill-semibold: normal 600 1em/1 "Font Awesome 7 Utility Fill";
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 $a() {
2324
- var e = Ea, t = Pa, a = v.cssPrefix, n = v.replacementClass, r = qi;
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"), s = new RegExp("\\--".concat(e, "\\-"), "g"), o = new RegExp("\\.".concat(t), "g");
2327
- r = r.replace(i, ".".concat(a, "-")).replace(s, "--".concat(a, "-")).replace(o, ".".concat(n));
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 At = !1;
2332
- function Le() {
2333
- v.autoAddCss && !At && (Li($a()), At = !0);
2398
+ var Nt = !1;
2399
+ function ze() {
2400
+ v.autoAddCss && !Nt && (oo(Ba()), Nt = !0);
2334
2401
  }
2335
- var Ui = {
2402
+ var mo = {
2336
2403
  mixout: function() {
2337
2404
  return {
2338
2405
  dom: {
2339
- css: $a,
2340
- insertCss: Le
2406
+ css: Ba,
2407
+ insertCss: ze
2341
2408
  }
2342
2409
  };
2343
2410
  },
2344
2411
  hooks: function() {
2345
2412
  return {
2346
2413
  beforeDOMElementCreation: function() {
2347
- Le();
2414
+ ze();
2348
2415
  },
2349
2416
  beforeI2svg: function() {
2350
- Le();
2417
+ ze();
2351
2418
  }
2352
2419
  };
2353
2420
  }
2354
- }, M = q || {};
2355
- M[R] || (M[R] = {});
2356
- M[R].styles || (M[R].styles = {});
2357
- M[R].hooks || (M[R].hooks = {});
2358
- M[R].shims || (M[R].shims = []);
2359
- var O = M[R], La = [], Da = function() {
2360
- A.removeEventListener("DOMContentLoaded", Da), Se = 1, La.map(function(t) {
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
- }, Se = !1;
2364
- z && (Se = (A.documentElement.doScroll ? /^loaded|^c/ : /^loaded|^i|^c/).test(A.readyState), Se || A.addEventListener("DOMContentLoaded", Da));
2365
- function Wi(e) {
2366
- z && (Se ? setTimeout(e, 0) : La.push(e));
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 ge(e) {
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" ? ja(e) : "<".concat(t, " ").concat(Ri(n), ">").concat(i.map(ge).join(""), "</").concat(t, ">");
2437
+ return typeof e == "string" ? Ua(e) : "<".concat(t, " ").concat(lo(n), ">").concat(i.map(pe).join(""), "</").concat(t, ">");
2371
2438
  }
2372
- function It(e, t, a) {
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 De = function(t, a, n, r) {
2381
- var i = Object.keys(t), s = i.length, o = a, l, f, u;
2382
- for (n === void 0 ? (l = 1, u = t[i[0]]) : (l = 0, u = n); l < s; l++)
2383
- f = i[l], u = o(u, t[f], f, t);
2384
- return u;
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 Ra(e) {
2387
- return F(e).length !== 1 ? null : e.codePointAt(0).toString(16);
2453
+ function Ya(e) {
2454
+ return T(e).length !== 1 ? null : e.codePointAt(0).toString(16);
2388
2455
  }
2389
- function Et(e) {
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 Ve(e, t) {
2396
- var a = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, n = a.skipHooks, r = n === void 0 ? !1 : n, i = Et(t);
2397
- typeof O.hooks.addPack == "function" && !r ? O.hooks.addPack(e, Et(t)) : O.styles[e] = m(m({}, O.styles[e] || {}), i), e === "fas" && Ve("fa", t);
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 ue = O.styles, Bi = O.shims, Ma = Object.keys(it), Hi = Ma.reduce(function(e, t) {
2400
- return e[t] = Object.keys(it[t]), e;
2401
- }, {}), lt = null, za = {}, qa = {}, Ua = {}, Wa = {}, Ba = {};
2402
- function Yi(e) {
2403
- return ~Fi.indexOf(e);
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 Vi(e, t) {
2472
+ function bo(e, t) {
2406
2473
  var a = t.split("-"), n = a[0], r = a.slice(1).join("-");
2407
- return n === e && r !== "" && !Yi(r) ? r : null;
2474
+ return n === e && r !== "" && !vo(r) ? r : null;
2408
2475
  }
2409
- var Ha = function() {
2476
+ var Za = function() {
2410
2477
  var t = function(i) {
2411
- return De(ue, function(s, o, l) {
2412
- return s[l] = De(o, i, {}), s;
2478
+ return Ue(me, function(o, s, l) {
2479
+ return o[l] = Ue(s, i, {}), o;
2413
2480
  }, {});
2414
2481
  };
2415
- za = t(function(r, i, s) {
2416
- if (i[3] && (r[i[3]] = s), i[2]) {
2417
- var o = i[2].filter(function(l) {
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
- o.forEach(function(l) {
2421
- r[l.toString(16)] = s;
2487
+ s.forEach(function(l) {
2488
+ r[l.toString(16)] = o;
2422
2489
  });
2423
2490
  }
2424
2491
  return r;
2425
- }), qa = t(function(r, i, s) {
2426
- if (r[s] = s, i[2]) {
2427
- var o = i[2].filter(function(l) {
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
- o.forEach(function(l) {
2431
- r[l] = s;
2497
+ s.forEach(function(l) {
2498
+ r[l] = o;
2432
2499
  });
2433
2500
  }
2434
2501
  return r;
2435
- }), Ba = t(function(r, i, s) {
2436
- var o = i[2];
2437
- return r[s] = s, o.forEach(function(l) {
2438
- r[l] = s;
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 ue || v.autoFetchSvg, n = De(Bi, function(r, i) {
2442
- var s = i[0], o = i[1], l = i[2];
2443
- return o === "far" && !a && (o = "fas"), typeof s == "string" && (r.names[s] = {
2444
- prefix: o,
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 s == "number" && (r.unicodes[s.toString(16)] = {
2447
- prefix: o,
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
- Ua = n.names, Wa = n.unicodes, lt = Pe(v.styleDefault, {
2521
+ Xa = n.names, Ja = n.unicodes, mt = Ce(v.styleDefault, {
2455
2522
  family: v.familyDefault
2456
2523
  });
2457
2524
  };
2458
- $i(function(e) {
2459
- lt = Pe(e.styleDefault, {
2525
+ io(function(e) {
2526
+ mt = Ce(e.styleDefault, {
2460
2527
  family: v.familyDefault
2461
2528
  });
2462
2529
  });
2463
- Ha();
2464
- function ft(e, t) {
2465
- return (za[e] || {})[t];
2530
+ Za();
2531
+ function ht(e, t) {
2532
+ return (Ga[e] || {})[t];
2466
2533
  }
2467
- function Ki(e, t) {
2468
- return (qa[e] || {})[t];
2534
+ function yo(e, t) {
2535
+ return (Ka[e] || {})[t];
2469
2536
  }
2470
- function H(e, t) {
2471
- return (Ba[e] || {})[t];
2537
+ function V(e, t) {
2538
+ return (qa[e] || {})[t];
2472
2539
  }
2473
- function Ya(e) {
2474
- return Ua[e] || {
2540
+ function Qa(e) {
2541
+ return Xa[e] || {
2475
2542
  prefix: null,
2476
2543
  iconName: null
2477
2544
  };
2478
2545
  }
2479
- function Gi(e) {
2480
- var t = Wa[e], a = ft("fas", e);
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 U() {
2490
- return lt;
2556
+ function B() {
2557
+ return mt;
2491
2558
  }
2492
- var Va = function() {
2559
+ var en = function() {
2493
2560
  return {
2494
2561
  prefix: null,
2495
2562
  iconName: null,
2496
2563
  rest: []
2497
2564
  };
2498
2565
  };
2499
- function Xi(e) {
2500
- var t = E, a = Ma.reduce(function(n, r) {
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 ka.forEach(function(n) {
2570
+ return Fa.forEach(function(n) {
2504
2571
  (e.includes(a[n]) || e.some(function(r) {
2505
- return Hi[n].includes(r);
2572
+ return po[n].includes(r);
2506
2573
  })) && (t = n);
2507
2574
  }), t;
2508
2575
  }
2509
- function Pe(e) {
2510
- var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, a = t.family, n = a === void 0 ? E : a, r = Ii[n][e];
2511
- if (n === de && !e)
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 = kt[n][e] || kt[n][r], s = e in O.styles ? e : null, o = i || s || null;
2514
- return o;
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 Ji(e) {
2583
+ function wo(e) {
2517
2584
  var t = [], a = null;
2518
2585
  return e.forEach(function(n) {
2519
- var r = Vi(v.cssPrefix, n);
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 Pt(e) {
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 Ct = Aa.concat(Sa);
2532
- function Ce(e) {
2533
- var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, a = t.skipLookups, n = a === void 0 ? !1 : a, r = null, i = Pt(e.filter(function(g) {
2534
- return Ct.includes(g);
2535
- })), s = Pt(e.filter(function(g) {
2536
- return !Ct.includes(g);
2537
- })), o = i.filter(function(g) {
2538
- return r = g, !oa.includes(g);
2539
- }), l = Ie(o, 1), f = l[0], u = f === void 0 ? null : f, d = Xi(i), c = m(m({}, Ji(s)), {}, {
2540
- prefix: Pe(u, {
2541
- family: d
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), to({
2611
+ return m(m(m({}, c), Io({
2545
2612
  values: e,
2546
- family: d,
2547
- styles: ue,
2613
+ family: u,
2614
+ styles: me,
2548
2615
  config: v,
2549
2616
  canonical: c,
2550
2617
  givenPrefix: r
2551
- })), Zi(n, r, c));
2618
+ })), ko(n, r, c));
2552
2619
  }
2553
- function Zi(e, t, a) {
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" ? Ya(r) : {}, s = H(n, r);
2561
- return r = i.iconName || s || r, n = i.prefix || n, n === "far" && !ue.far && ue.fas && !v.autoFetchSvg && (n = "fas"), {
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 Qi = ka.filter(function(e) {
2567
- return e !== E || e !== de;
2568
- }), eo = Object.keys(qe).filter(function(e) {
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(qe[e]);
2638
+ return Object.keys(Ye[e]);
2572
2639
  }).flat();
2573
- function to(e) {
2574
- var t = e.values, a = e.family, n = e.canonical, r = e.givenPrefix, i = r === void 0 ? "" : r, s = e.styles, o = s === void 0 ? {} : s, l = e.config, f = l === void 0 ? {} : l, u = a === de, d = t.includes("fa-duotone") || t.includes("fad"), c = f.familyDefault === "duotone", g = n.prefix === "fad" || n.prefix === "fa-duotone";
2575
- if (!u && (d || c || g) && (n.prefix = "fad"), (t.includes("fa-brands") || t.includes("fab")) && (n.prefix = "fab"), !n.prefix && Qi.includes(a)) {
2576
- var h = Object.keys(o).find(function(k) {
2577
- return eo.includes(k);
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 = br.get(a).defaultShortPrefixId;
2581
- n.prefix = b, n.iconName = H(n.prefix, n.iconName) || 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 = U() || "fas"), n;
2651
+ return (n.prefix === "fa" || i === "fa") && (n.prefix = B() || "fas"), n;
2585
2652
  }
2586
- var ao = /* @__PURE__ */ (function() {
2653
+ var Eo = /* @__PURE__ */ (function() {
2587
2654
  function e() {
2588
- zn(this, e), this.definitions = {};
2655
+ sr(this, e), this.definitions = {};
2589
2656
  }
2590
- return Un(e, [{
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 s = r.reduce(this._pullDefinitions, {});
2596
- Object.keys(s).forEach(function(o) {
2597
- a.definitions[o] = m(m({}, a.definitions[o] || {}), s[o]), Ve(o, s[o]);
2598
- var l = it[E][o];
2599
- l && Ve(l, s[o]), Ha();
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 s = r[i], o = s.prefix, l = s.iconName, f = s.icon, u = f[2];
2615
- a[o] || (a[o] = {}), u.length > 0 && u.forEach(function(d) {
2616
- typeof d == "string" && (a[o][d] = f);
2617
- }), a[o][l] = f;
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
- })(), Ot = [], Q = {}, ee = {}, no = Object.keys(ee);
2622
- function ro(e, t) {
2688
+ })(), Rt = [], Q = {}, ee = {}, Po = Object.keys(ee);
2689
+ function Co(e, t) {
2623
2690
  var a = t.mixoutsTo;
2624
- return Ot = e, Q = {}, Object.keys(ee).forEach(function(n) {
2625
- no.indexOf(n) === -1 && delete ee[n];
2626
- }), Ot.forEach(function(n) {
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(s) {
2629
- typeof r[s] == "function" && (a[s] = r[s]), ke(r[s]) === "object" && Object.keys(r[s]).forEach(function(o) {
2630
- a[s] || (a[s] = {}), a[s][o] = r[s][o];
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(s) {
2635
- Q[s] || (Q[s] = []), Q[s].push(i[s]);
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 Ke(e, t) {
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(s) {
2646
- t = s.apply(null, [t].concat(n));
2712
+ return i.forEach(function(o) {
2713
+ t = o.apply(null, [t].concat(n));
2647
2714
  }), t;
2648
2715
  }
2649
- function K(e) {
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 Ge(e) {
2728
+ function Qe(e) {
2662
2729
  e.prefix === "fa" && (e.prefix = "fas");
2663
- var t = e.iconName, a = e.prefix || U();
2730
+ var t = e.iconName, a = e.prefix || B();
2664
2731
  if (t)
2665
- return t = H(a, t) || t, It(Ka.definitions, a, t) || It(O.styles, a, t);
2732
+ return t = V(a, t) || t, Tt(tn.definitions, a, t) || Tt(N.styles, a, t);
2666
2733
  }
2667
- var Ka = new ao(), io = function() {
2668
- v.autoReplaceSvg = !1, v.observeMutations = !1, K("noAuto");
2669
- }, oo = {
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 ? (K("beforeI2svg", t), W("pseudoElements2svg", t), W("i2svg", t)) : Promise.reject(new Error("Operation requires a DOM of some kind."));
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, Wi(function() {
2677
- lo({
2743
+ v.autoReplaceSvg === !1 && (v.autoReplaceSvg = !0), v.observeMutations = !0, ho(function() {
2744
+ To({
2678
2745
  autoReplaceSvgRoot: a
2679
- }), K("watch", t);
2746
+ }), X("watch", t);
2680
2747
  });
2681
2748
  }
2682
- }, so = {
2749
+ }, No = {
2683
2750
  icon: function(t) {
2684
2751
  if (t === null)
2685
2752
  return null;
2686
- if (ke(t) === "object" && t.prefix && t.iconName)
2753
+ if (Se(t) === "object" && t.prefix && t.iconName)
2687
2754
  return {
2688
2755
  prefix: t.prefix,
2689
- iconName: H(t.prefix, t.iconName) || t.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 = Pe(t[0]);
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: H(n, a) || a
2762
+ iconName: V(n, a) || a
2696
2763
  };
2697
2764
  }
2698
- if (typeof t == "string" && (t.indexOf("".concat(v.cssPrefix, "-")) > -1 || t.match(Ei))) {
2699
- var r = Ce(t.split(" "), {
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 || U(),
2704
- iconName: H(r.prefix, r.iconName) || r.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 = U();
2775
+ var i = B();
2709
2776
  return {
2710
2777
  prefix: i,
2711
- iconName: H(i, t) || t
2778
+ iconName: V(i, t) || t
2712
2779
  };
2713
2780
  }
2714
2781
  }
2715
- }, C = {
2716
- noAuto: io,
2782
+ }, F = {
2783
+ noAuto: Fo,
2717
2784
  config: v,
2718
- dom: oo,
2719
- parse: so,
2720
- library: Ka,
2721
- findIconDefinition: Ge,
2722
- toHtml: ge
2723
- }, lo = function() {
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(O.styles).length > 0 || v.autoFetchSvg) && z && v.autoReplaceSvg && C.dom.i2svg({
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 ge(n);
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 fo(e) {
2748
- var t = e.children, a = e.main, n = e.mask, r = e.attributes, i = e.styles, s = e.transform;
2749
- if (st(s) && a.found && !n.found) {
2750
- var o = a.width, l = a.height, f = {
2751
- x: o / l / 2,
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 = Ee(m(m({}, i), {}, {
2755
- "transform-origin": "".concat(f.x + s.x / 16, "em ").concat(f.y + s.y / 16, "em")
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 uo(e) {
2765
- var t = e.prefix, a = e.iconName, n = e.children, r = e.attributes, i = e.symbol, s = i === !0 ? "".concat(t, "-").concat(v.cssPrefix, "-").concat(a) : i;
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: s
2841
+ id: o
2775
2842
  }),
2776
2843
  children: n
2777
2844
  }]
2778
2845
  }];
2779
2846
  }
2780
- function co(e) {
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 ut(e) {
2787
- var t = e.icons, a = t.main, n = t.mask, r = e.prefix, i = e.iconName, s = e.transform, o = e.symbol, l = e.maskId, f = e.extra, u = e.watchable, d = u === void 0 ? !1 : u, c = n.found ? n : a, g = c.width, h = c.height, b = [v.replacementClass, i ? "".concat(v.cssPrefix, "-").concat(i) : ""].filter(function(p) {
2788
- return f.classes.indexOf(p) === -1;
2789
- }).filter(function(p) {
2790
- return p !== "" || !!p;
2791
- }).concat(f.classes).join(" "), k = {
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(g, " ").concat(h)
2865
+ viewBox: "0 0 ".concat(p, " ").concat(h)
2799
2866
  })
2800
2867
  };
2801
- !co(f.attributes) && !f.attributes["aria-hidden"] && (k.attributes["aria-hidden"] = "true"), d && (k.attributes[V] = "");
2802
- var x = m(m({}, k), {}, {
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: s,
2809
- symbol: o,
2875
+ transform: o,
2876
+ symbol: s,
2810
2877
  styles: m({}, f.styles)
2811
- }), w = n.found && a.found ? W("generateAbstractMask", x) || {
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
- }, S = w.children, y = w.attributes;
2818
- return x.children = S, x.attributes = y, o ? uo(x) : fo(x);
2884
+ }, g = y.children, P = y.attributes;
2885
+ return x.children = g, x.attributes = P, s ? $o(x) : jo(x);
2819
2886
  }
2820
- function Ft(e) {
2821
- var t = e.content, a = e.width, n = e.height, r = e.transform, i = e.extra, s = e.watchable, o = s === void 0 ? !1 : s, l = m(m({}, i.attributes), {}, {
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
- o && (l[V] = "");
2891
+ s && (l[K] = "");
2825
2892
  var f = m({}, i.styles);
2826
- st(r) && (f.transform = zi({
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 u = Ee(f);
2832
- u.length > 0 && (l.style = u);
2833
- var d = [];
2834
- return d.push({
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
- }), d;
2905
+ }), u;
2839
2906
  }
2840
- function mo(e) {
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 = Ee(a.styles);
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 Re = O.styles;
2853
- function Xe(e) {
2854
- var t = e[0], a = e[1], n = e.slice(4), r = Ie(n, 1), i = r[0], s = null;
2855
- return Array.isArray(i) ? s = {
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($e.GROUP)
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($e.SECONDARY),
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($e.PRIMARY),
2937
+ class: "".concat(v.cssPrefix, "-").concat(Me.PRIMARY),
2871
2938
  fill: "currentColor",
2872
2939
  d: i[1]
2873
2940
  }
2874
2941
  }]
2875
- } : s = {
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: s
2952
+ icon: o
2886
2953
  };
2887
2954
  }
2888
- var go = {
2955
+ var Do = {
2889
2956
  found: !1,
2890
2957
  width: 512,
2891
2958
  height: 512
2892
2959
  };
2893
- function ho(e, t) {
2894
- !Oa && !v.showMissingIcons && e && console.error('Icon with name "'.concat(e, '" and prefix "').concat(t, '" is missing.'));
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 Je(e, t) {
2963
+ function tt(e, t) {
2897
2964
  var a = t;
2898
- return t === "fa" && v.styleDefault !== null && (t = U()), new Promise(function(n, r) {
2965
+ return t === "fa" && v.styleDefault !== null && (t = B()), new Promise(function(n, r) {
2899
2966
  if (a === "fa") {
2900
- var i = Ya(e) || {};
2967
+ var i = Qa(e) || {};
2901
2968
  e = i.iconName || e, t = i.prefix || t;
2902
2969
  }
2903
- if (e && t && Re[t] && Re[t][e]) {
2904
- var s = Re[t][e];
2905
- return n(Xe(s));
2970
+ if (e && t && Be[t] && Be[t][e]) {
2971
+ var o = Be[t][e];
2972
+ return n(et(o));
2906
2973
  }
2907
- ho(e, t), n(m(m({}, go), {}, {
2974
+ Mo(e, t), n(m(m({}, Do), {}, {
2908
2975
  icon: v.showMissingIcons && e ? W("missingIconAbstract") || {} : {}
2909
2976
  }));
2910
2977
  });
2911
2978
  }
2912
- var Nt = function() {
2913
- }, Ze = v.measurePerformance && pe && pe.mark && pe.measure ? pe : {
2914
- mark: Nt,
2915
- measure: Nt
2916
- }, re = 'FA "7.1.0"', po = function(t) {
2917
- return Ze.mark("".concat(re, " ").concat(t, " begins")), function() {
2918
- return Ga(t);
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
- }, Ga = function(t) {
2921
- Ze.mark("".concat(re, " ").concat(t, " ends")), Ze.measure("".concat(re, " ").concat(t), "".concat(re, " ").concat(t, " begins"), "".concat(re, " ").concat(t, " ends"));
2922
- }, ct = {
2923
- begin: po,
2924
- end: Ga
2925
- }, _e = function() {
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 Tt(e) {
2928
- var t = e.getAttribute ? e.getAttribute(V) : null;
2994
+ function zt(e) {
2995
+ var t = e.getAttribute ? e.getAttribute(K) : null;
2929
2996
  return typeof t == "string";
2930
2997
  }
2931
- function vo(e) {
2932
- var t = e.getAttribute ? e.getAttribute(nt) : null, a = e.getAttribute ? e.getAttribute(rt) : null;
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 bo(e) {
3002
+ function Bo(e) {
2936
3003
  return e && e.classList && e.classList.contains && e.classList.contains(v.replacementClass);
2937
3004
  }
2938
- function yo() {
3005
+ function Wo() {
2939
3006
  if (v.autoReplaceSvg === !0)
2940
- return xe.replace;
2941
- var e = xe[v.autoReplaceSvg];
2942
- return e || xe.replace;
3007
+ return ke.replace;
3008
+ var e = ke[v.autoReplaceSvg];
3009
+ return e || ke.replace;
2943
3010
  }
2944
- function _o(e) {
3011
+ function Ho(e) {
2945
3012
  return A.createElementNS("http://www.w3.org/2000/svg", e);
2946
3013
  }
2947
- function xo(e) {
3014
+ function Yo(e) {
2948
3015
  return A.createElement(e);
2949
3016
  }
2950
- function Xa(e) {
2951
- var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, a = t.ceFn, n = a === void 0 ? e.tag === "svg" ? _o : xo : a;
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(s) {
2956
- r.setAttribute(s, e.attributes[s]);
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(s) {
2960
- r.appendChild(Xa(s, {
3026
+ return i.forEach(function(o) {
3027
+ r.appendChild(nn(o, {
2961
3028
  ceFn: n
2962
3029
  }));
2963
3030
  }), r;
2964
3031
  }
2965
- function wo(e) {
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 xe = {
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(Xa(r), a);
2975
- }), a.getAttribute(V) === null && v.keepOriginalSource) {
2976
- var n = A.createComment(wo(a));
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 (~ot(a).indexOf(v.replacementClass))
2984
- return xe.replace(t);
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(o, l) {
2988
- return l === v.replacementClass || l.match(r) ? o.toSvg.push(l) : o.toNode.push(l), o;
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 s = n.map(function(o) {
2996
- return ge(o);
3062
+ var o = n.map(function(s) {
3063
+ return pe(s);
2997
3064
  }).join(`
2998
3065
  `);
2999
- a.setAttribute(V, ""), a.innerHTML = s;
3066
+ a.setAttribute(K, ""), a.innerHTML = o;
3000
3067
  }
3001
3068
  };
3002
- function jt(e) {
3069
+ function Ut(e) {
3003
3070
  e();
3004
3071
  }
3005
- function Ja(e, t) {
3006
- var a = typeof t == "function" ? t : _e;
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 = jt;
3011
- v.mutateApproach === Si && (n = q.requestAnimationFrame || jt), n(function() {
3012
- var r = yo(), i = ct.begin("mutate");
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 dt = !1;
3018
- function Za() {
3019
- dt = !0;
3084
+ var vt = !1;
3085
+ function on() {
3086
+ vt = !0;
3020
3087
  }
3021
- function Qe() {
3022
- dt = !1;
3088
+ function nt() {
3089
+ vt = !1;
3023
3090
  }
3024
- var Ae = null;
3025
- function $t(e) {
3026
- if (yt && v.observeMutations) {
3027
- var t = e.treeCallback, a = t === void 0 ? _e : t, n = e.nodeCallback, r = n === void 0 ? _e : n, i = e.pseudoElementsCallback, s = i === void 0 ? _e : i, o = e.observeMutationsRoot, l = o === void 0 ? A : o;
3028
- Ae = new yt(function(f) {
3029
- if (!dt) {
3030
- var u = U();
3031
- ae(f).forEach(function(d) {
3032
- if (d.type === "childList" && d.addedNodes.length > 0 && !Tt(d.addedNodes[0]) && (v.searchPseudoElements && s(d.target), a(d.target)), d.type === "attributes" && d.target.parentNode && v.searchPseudoElements && s([d.target], !0), d.type === "attributes" && Tt(d.target) && ~Oi.indexOf(d.attributeName))
3033
- if (d.attributeName === "class" && vo(d.target)) {
3034
- var c = Ce(ot(d.target)), g = c.prefix, h = c.iconName;
3035
- d.target.setAttribute(nt, g || u), h && d.target.setAttribute(rt, h);
3036
- } else bo(d.target) && r(d.target);
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 && Ae.observe(l, {
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 ko() {
3048
- Ae && Ae.disconnect();
3114
+ function Go() {
3115
+ Ie && Ie.disconnect();
3049
3116
  }
3050
- function So(e) {
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(":"), s = i[0], o = i.slice(1);
3054
- return s && o.length > 0 && (n[s] = o.join(":").trim()), n;
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 Ao(e) {
3058
- var t = e.getAttribute("data-prefix"), a = e.getAttribute("data-icon"), n = e.innerText !== void 0 ? e.innerText.trim() : "", r = Ce(ot(e));
3059
- return r.prefix || (r.prefix = U()), t && a && (r.prefix = t, r.iconName = a), r.iconName && r.prefix || (r.prefix && n.length > 0 && (r.iconName = Ki(r.prefix, e.innerText) || ft(r.prefix, Ra(e.innerText))), !r.iconName && v.autoFetchSvg && e.firstChild && e.firstChild.nodeType === Node.TEXT_NODE && (r.iconName = e.firstChild.data)), r;
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 Io(e) {
3062
- var t = ae(e.attributes).reduce(function(a, n) {
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 Eo() {
3134
+ function qo() {
3068
3135
  return {
3069
3136
  iconName: null,
3070
3137
  prefix: null,
3071
- transform: N,
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 Lt(e) {
3153
+ function Wt(e) {
3087
3154
  var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {
3088
3155
  styleParser: !0
3089
- }, a = Ao(e), n = a.iconName, r = a.prefix, i = a.rest, s = Io(e), o = Ke("parseNodeAttributes", {}, e), l = t.styleParser ? So(e) : [];
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: N,
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: s
3171
+ attributes: o
3105
3172
  }
3106
- }, o);
3173
+ }, s);
3107
3174
  }
3108
- var Po = O.styles;
3109
- function Qa(e) {
3110
- var t = v.autoReplaceSvg === "nest" ? Lt(e, {
3175
+ var Zo = N.styles;
3176
+ function sn(e) {
3177
+ var t = v.autoReplaceSvg === "nest" ? Wt(e, {
3111
3178
  styleParser: !1
3112
- }) : Lt(e);
3113
- return ~t.extra.classes.indexOf(Na) ? W("generateLayersText", e, t) : W("generateSvgReplacementMutation", e, t);
3179
+ }) : Wt(e);
3180
+ return ~t.extra.classes.indexOf(Ma) ? W("generateLayersText", e, t) : W("generateSvgReplacementMutation", e, t);
3114
3181
  }
3115
- function Co() {
3116
- return [].concat(F(Sa), F(Aa));
3182
+ function Qo() {
3183
+ return [].concat(T(Oa), T(Na));
3117
3184
  }
3118
- function Dt(e) {
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(d) {
3122
- return a.add("".concat(wt, "-").concat(d));
3123
- }, r = function(d) {
3124
- return a.remove("".concat(wt, "-").concat(d));
3125
- }, i = v.autoFetchSvg ? Co() : oa.concat(Object.keys(Po));
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 s = [".".concat(Na, ":not([").concat(V, "])")].concat(i.map(function(u) {
3128
- return ".".concat(u, ":not([").concat(V, "])");
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 (s.length === 0)
3197
+ if (o.length === 0)
3131
3198
  return Promise.resolve();
3132
- var o = [];
3199
+ var s = [];
3133
3200
  try {
3134
- o = ae(e.querySelectorAll(s));
3201
+ s = ne(e.querySelectorAll(o));
3135
3202
  } catch {
3136
3203
  }
3137
- if (o.length > 0)
3204
+ if (s.length > 0)
3138
3205
  n("pending"), r("complete");
3139
3206
  else
3140
3207
  return Promise.resolve();
3141
- var l = ct.begin("onTree"), f = o.reduce(function(u, d) {
3208
+ var l = pt.begin("onTree"), f = s.reduce(function(d, u) {
3142
3209
  try {
3143
- var c = Qa(d);
3144
- c && u.push(c);
3145
- } catch (g) {
3146
- Oa || g.name === "MissingIcon" && console.error(g);
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 u;
3215
+ return d;
3149
3216
  }, []);
3150
- return new Promise(function(u, d) {
3217
+ return new Promise(function(d, u) {
3151
3218
  Promise.all(f).then(function(c) {
3152
- Ja(c, function() {
3153
- n("active"), n("complete"), r("pending"), typeof t == "function" && t(), l(), u();
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(), d(c);
3223
+ l(), u(c);
3157
3224
  });
3158
3225
  });
3159
3226
  }
3160
- function Oo(e) {
3227
+ function es(e) {
3161
3228
  var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null;
3162
- Qa(e).then(function(a) {
3163
- a && Ja([a], t);
3229
+ sn(e).then(function(a) {
3230
+ a && rn([a], t);
3164
3231
  });
3165
3232
  }
3166
- function Fo(e) {
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 : Ge(t || {}), r = a.mask;
3169
- return r && (r = (r || {}).icon ? r : Ge(r || {})), e(n, m(m({}, a), {}, {
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 No = function(t) {
3175
- var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = a.transform, r = n === void 0 ? N : n, i = a.symbol, s = i === void 0 ? !1 : i, o = a.mask, l = o === void 0 ? null : o, f = a.maskId, u = f === void 0 ? null : f, d = a.classes, c = d === void 0 ? [] : d, g = a.attributes, h = g === void 0 ? {} : g, b = a.styles, k = b === void 0 ? {} : b;
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, w = t.iconName, S = t.icon;
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 K("beforeDOMElementCreation", {
3248
+ return X("beforeDOMElementCreation", {
3182
3249
  iconDefinition: t,
3183
3250
  params: a
3184
- }), ut({
3251
+ }), gt({
3185
3252
  icons: {
3186
- main: Xe(S),
3187
- mask: l ? Xe(l.icon) : {
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: w,
3196
- transform: m(m({}, N), r),
3197
- symbol: s,
3198
- maskId: u,
3262
+ iconName: y,
3263
+ transform: m(m({}, j), r),
3264
+ symbol: o,
3265
+ maskId: d,
3199
3266
  extra: {
3200
3267
  attributes: h,
3201
- styles: k,
3268
+ styles: w,
3202
3269
  classes: c
3203
3270
  }
3204
3271
  });
3205
3272
  });
3206
3273
  }
3207
- }, To = {
3274
+ }, ns = {
3208
3275
  mixout: function() {
3209
3276
  return {
3210
- icon: Fo(No)
3277
+ icon: ts(as)
3211
3278
  };
3212
3279
  },
3213
3280
  hooks: function() {
3214
3281
  return {
3215
3282
  mutationObserverCallbacks: function(a) {
3216
- return a.treeCallback = Dt, a.nodeCallback = Oo, a;
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, s = i === void 0 ? function() {
3289
+ var n = a.node, r = n === void 0 ? A : n, i = a.callback, o = i === void 0 ? function() {
3223
3290
  } : i;
3224
- return Dt(r, s);
3291
+ return Ht(r, o);
3225
3292
  }, t.generateSvgReplacementMutation = function(a, n) {
3226
- var r = n.iconName, i = n.prefix, s = n.transform, o = n.symbol, l = n.mask, f = n.maskId, u = n.extra;
3227
- return new Promise(function(d, c) {
3228
- Promise.all([Je(r, i), l.iconName ? Je(l.iconName, l.prefix) : Promise.resolve({
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(g) {
3234
- var h = Ie(g, 2), b = h[0], k = h[1];
3235
- d([a, ut({
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: k
3305
+ mask: w
3239
3306
  },
3240
3307
  prefix: i,
3241
3308
  iconName: r,
3242
- transform: s,
3243
- symbol: o,
3309
+ transform: o,
3310
+ symbol: s,
3244
3311
  maskId: f,
3245
- extra: u,
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, s = a.transform, o = a.styles, l = Ee(o);
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 st(s) && (f = W("generateAbstractTransformGrouping", {
3321
+ return dt(o) && (f = W("generateAbstractTransformGrouping", {
3255
3322
  main: i,
3256
- transform: s,
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
- }, jo = {
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
- K("beforeDOMElementCreation", {
3340
+ X("beforeDOMElementCreation", {
3274
3341
  assembler: a,
3275
3342
  params: n
3276
3343
  });
3277
- var s = [];
3278
- return a(function(o) {
3279
- Array.isArray(o) ? o.map(function(l) {
3280
- s = s.concat(l.abstract);
3281
- }) : s = s.concat(o.abstract);
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(F(i)).join(" ")
3352
+ class: ["".concat(v.cssPrefix, "-layers")].concat(T(i)).join(" ")
3286
3353
  },
3287
- children: s
3354
+ children: o
3288
3355
  }];
3289
3356
  });
3290
3357
  }
3291
3358
  };
3292
3359
  }
3293
- }, $o = {
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, s = n.attributes, o = s === void 0 ? {} : s, l = n.styles, f = l === void 0 ? {} : l;
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 K("beforeDOMElementCreation", {
3371
+ return X("beforeDOMElementCreation", {
3305
3372
  content: a,
3306
3373
  params: n
3307
- }), mo({
3374
+ }), Ro({
3308
3375
  content: a.toString(),
3309
3376
  extra: {
3310
- attributes: o,
3377
+ attributes: s,
3311
3378
  styles: f,
3312
- classes: ["".concat(v.cssPrefix, "-layers-counter")].concat(F(i))
3379
+ classes: ["".concat(v.cssPrefix, "-layers-counter")].concat(T(i))
3313
3380
  }
3314
3381
  });
3315
3382
  });
3316
3383
  }
3317
3384
  };
3318
3385
  }
3319
- }, Lo = {
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 ? N : r, s = n.classes, o = s === void 0 ? [] : s, l = n.attributes, f = l === void 0 ? {} : l, u = n.styles, d = u === void 0 ? {} : u;
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 K("beforeDOMElementCreation", {
3395
+ return X("beforeDOMElementCreation", {
3329
3396
  content: a,
3330
3397
  params: n
3331
- }), Ft({
3398
+ }), Dt({
3332
3399
  content: a,
3333
- transform: m(m({}, N), i),
3400
+ transform: m(m({}, j), i),
3334
3401
  extra: {
3335
3402
  attributes: f,
3336
- styles: d,
3337
- classes: ["".concat(v.cssPrefix, "-layers-text")].concat(F(o))
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, s = null, o = null;
3347
- if (ra) {
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
- s = f.width / l, o = f.height / l;
3416
+ o = f.width / l, s = f.height / l;
3350
3417
  }
3351
- return Promise.resolve([a, Ft({
3418
+ return Promise.resolve([a, Dt({
3352
3419
  content: a.innerHTML,
3353
- width: s,
3354
- height: o,
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
- }, en = new RegExp('"', "ug"), Rt = [1105920, 1112319], Mt = m(m(m(m({}, {
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
- }), vr), wi), Ir), et = Object.keys(Mt).reduce(function(e, t) {
3367
- return e[t.toLowerCase()] = Mt[t], e;
3368
- }, {}), Do = Object.keys(et).reduce(function(e, t) {
3369
- var a = et[t];
3370
- return e[t] = a[900] || F(Object.entries(a))[0][1], e;
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 Ro(e) {
3373
- var t = e.replace(en, "");
3374
- return Ra(F(t)[0] || "");
3439
+ function ls(e) {
3440
+ var t = e.replace(ln, "");
3441
+ return Ya(T(t)[0] || "");
3375
3442
  }
3376
- function Mo(e) {
3377
- var t = e.getPropertyValue("font-feature-settings").includes("ss01"), a = e.getPropertyValue("content"), n = a.replace(en, ""), r = n.codePointAt(0), i = r >= Rt[0] && r <= Rt[1], s = n.length === 2 ? n[0] === n[1] : !1;
3378
- return i || s || t;
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 zo(e, t) {
3447
+ function us(e, t) {
3381
3448
  var a = e.replace(/^['"]|['"]$/g, "").toLowerCase(), n = parseInt(t), r = isNaN(n) ? "normal" : n;
3382
- return (et[a] || {})[r] || Do[a];
3449
+ return (rt[a] || {})[r] || ss[a];
3383
3450
  }
3384
- function zt(e, t) {
3385
- var a = "".concat(ki).concat(t.replace(":", "-"));
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 = ae(e.children), s = i.filter(function(P) {
3390
- return P.getAttribute(We) === t;
3391
- })[0], o = q.getComputedStyle(e, t), l = o.getPropertyValue("font-family"), f = l.match(Pi), u = o.getPropertyValue("font-weight"), d = o.getPropertyValue("content");
3392
- if (s && !f)
3393
- return e.removeChild(s), n();
3394
- if (f && d !== "none" && d !== "") {
3395
- var c = o.getPropertyValue("content"), g = zo(l, u), h = Ro(c), b = f[0].startsWith("FontAwesome"), k = Mo(o), x = ft(g, h), w = x;
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 S = Gi(h);
3398
- S.iconName && S.prefix && (x = S.iconName, g = S.prefix);
3464
+ var g = _o(h);
3465
+ g.iconName && g.prefix && (x = g.iconName, p = g.prefix);
3399
3466
  }
3400
- if (x && !k && (!s || s.getAttribute(nt) !== g || s.getAttribute(rt) !== w)) {
3401
- e.setAttribute(a, w), s && e.removeChild(s);
3402
- var y = Eo(), p = y.extra;
3403
- p.attributes[We] = t, Je(x, g).then(function(P) {
3404
- var T = ut(m(m({}, y), {}, {
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: P,
3407
- mask: Va()
3473
+ main: J,
3474
+ mask: en()
3408
3475
  },
3409
- prefix: g,
3410
- iconName: w,
3411
- extra: p,
3476
+ prefix: p,
3477
+ iconName: y,
3478
+ extra: k,
3412
3479
  watchable: !0
3413
- })), B = A.createElementNS("http://www.w3.org/2000/svg", "svg");
3414
- t === "::before" ? e.insertBefore(B, e.firstChild) : e.appendChild(B), B.outerHTML = T.map(function(G) {
3415
- return ge(G);
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 qo(e) {
3426
- return Promise.all([zt(e, "::before"), zt(e, "::after")]);
3492
+ function cs(e) {
3493
+ return Promise.all([Gt(e, "::before"), Gt(e, "::after")]);
3427
3494
  }
3428
- function Uo(e) {
3429
- return e.parentNode !== document.head && !~Ai.indexOf(e.tagName.toUpperCase()) && !e.getAttribute(We) && (!e.parentNode || e.parentNode.tagName !== "svg");
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 Wo = function(t) {
3432
- return !!t && Ca.some(function(a) {
3498
+ var ms = function(t) {
3499
+ return !!t && La.some(function(a) {
3433
3500
  return t.includes(a);
3434
3501
  });
3435
- }, Bo = function(t) {
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 = ye(n), i;
3512
+ var r = xe(n), i;
3446
3513
  try {
3447
3514
  for (r.s(); !(i = r.n()).done; ) {
3448
- var s = i.value;
3449
- if (Wo(s)) {
3450
- var o = Ca.reduce(function(l, f) {
3515
+ var o = i.value;
3516
+ if (ms(o)) {
3517
+ var s = La.reduce(function(l, f) {
3451
3518
  return l.replace(f, "");
3452
- }, s);
3453
- o !== "" && o !== "*" && a.add(o);
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 qt(e) {
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 = ye(document.styleSheets), i;
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 s = i.value;
3542
+ var o = i.value;
3476
3543
  try {
3477
- var o = ye(s.cssRules), l;
3544
+ var s = xe(o.cssRules), l;
3478
3545
  try {
3479
- for (o.s(); !(l = o.n()).done; ) {
3480
- var f = l.value, u = Bo(f.selectorText), d = ye(u), c;
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 (d.s(); !(c = d.n()).done; ) {
3483
- var g = c.value;
3484
- n.add(g);
3549
+ for (u.s(); !(c = u.n()).done; ) {
3550
+ var p = c.value;
3551
+ n.add(p);
3485
3552
  }
3486
3553
  } catch (b) {
3487
- d.e(b);
3554
+ u.e(b);
3488
3555
  } finally {
3489
- d.f();
3556
+ u.f();
3490
3557
  }
3491
3558
  }
3492
3559
  } catch (b) {
3493
- o.e(b);
3560
+ s.e(b);
3494
3561
  } finally {
3495
- o.f();
3562
+ s.f();
3496
3563
  }
3497
3564
  } catch (b) {
3498
- v.searchPseudoElementsWarnings && console.warn("Font Awesome: cannot parse stylesheet: ".concat(s.href, " (").concat(b.message, `)
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, k) {
3515
- var x = ae(a).filter(Uo).map(qo), w = ct.begin("searchPseudoElements");
3516
- Za(), Promise.all(x).then(function() {
3517
- w(), Qe(), b();
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
- w(), Qe(), k();
3586
+ y(), nt(), w();
3520
3587
  });
3521
3588
  });
3522
3589
  }
3523
3590
  }
3524
- var Ho = {
3591
+ var gs = {
3525
3592
  hooks: function() {
3526
3593
  return {
3527
3594
  mutationObserverCallbacks: function(a) {
3528
- return a.pseudoElementsCallback = qt, a;
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 && qt(r);
3602
+ v.searchPseudoElements && Kt(r);
3536
3603
  };
3537
3604
  }
3538
- }, Ut = !1, Yo = {
3605
+ }, Xt = !1, ps = {
3539
3606
  mixout: function() {
3540
3607
  return {
3541
3608
  dom: {
3542
3609
  unwatch: function() {
3543
- Za(), Ut = !0;
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
- $t(Ke("mutationObserverCallbacks", {}));
3618
+ Bt(Ze("mutationObserverCallbacks", {}));
3552
3619
  },
3553
3620
  noAuto: function() {
3554
- ko();
3621
+ Go();
3555
3622
  },
3556
3623
  watch: function(a) {
3557
3624
  var n = a.observeMutationsRoot;
3558
- Ut ? Qe() : $t(Ke("mutationObserverCallbacks", {
3625
+ Xt ? nt() : Bt(Ze("mutationObserverCallbacks", {
3559
3626
  observeMutationsRoot: n
3560
3627
  }));
3561
3628
  }
3562
3629
  };
3563
3630
  }
3564
- }, Wt = function(t) {
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("-"), s = i[0], o = i.slice(1).join("-");
3575
- if (s && o === "h")
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 (s && o === "v")
3644
+ if (o && s === "v")
3578
3645
  return n.flipY = !0, n;
3579
- if (o = parseFloat(o), isNaN(o))
3646
+ if (s = parseFloat(s), isNaN(s))
3580
3647
  return n;
3581
- switch (s) {
3648
+ switch (o) {
3582
3649
  case "grow":
3583
- n.size = n.size + o;
3650
+ n.size = n.size + s;
3584
3651
  break;
3585
3652
  case "shrink":
3586
- n.size = n.size - o;
3653
+ n.size = n.size - s;
3587
3654
  break;
3588
3655
  case "left":
3589
- n.x = n.x - o;
3656
+ n.x = n.x - s;
3590
3657
  break;
3591
3658
  case "right":
3592
- n.x = n.x + o;
3659
+ n.x = n.x + s;
3593
3660
  break;
3594
3661
  case "up":
3595
- n.y = n.y - o;
3662
+ n.y = n.y - s;
3596
3663
  break;
3597
3664
  case "down":
3598
- n.y = n.y + o;
3665
+ n.y = n.y + s;
3599
3666
  break;
3600
3667
  case "rotate":
3601
- n.rotate = n.rotate + o;
3668
+ n.rotate = n.rotate + s;
3602
3669
  break;
3603
3670
  }
3604
3671
  return n;
3605
3672
  }, a);
3606
- }, Vo = {
3673
+ }, vs = {
3607
3674
  mixout: function() {
3608
3675
  return {
3609
3676
  parse: {
3610
3677
  transform: function(a) {
3611
- return Wt(a);
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 = Wt(r)), a;
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, s = a.iconWidth, o = {
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), ") "), u = "rotate(".concat(r.rotate, " 0 0)"), d = {
3629
- transform: "".concat(l, " ").concat(f, " ").concat(u)
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(s / 2 * -1, " -256)")
3632
- }, g = {
3633
- outer: o,
3634
- inner: d,
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({}, g.outer),
3706
+ attributes: m({}, p.outer),
3640
3707
  children: [{
3641
3708
  tag: "g",
3642
- attributes: m({}, g.inner),
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), g.path)
3713
+ attributes: m(m({}, n.icon.attributes), p.path)
3647
3714
  }]
3648
3715
  }]
3649
3716
  };
3650
3717
  };
3651
3718
  }
3652
- }, Me = {
3719
+ }, We = {
3653
3720
  x: 0,
3654
3721
  y: 0,
3655
3722
  width: "100%",
3656
3723
  height: "100%"
3657
3724
  };
3658
- function Bt(e) {
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 Ko(e) {
3729
+ function bs(e) {
3663
3730
  return e.tag === "g" ? e.children : [e];
3664
3731
  }
3665
- var Go = {
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 ? Ce(r.split(" ").map(function(s) {
3670
- return s.trim();
3671
- })) : Va();
3672
- return i.prefix || (i.prefix = U()), a.mask = i, a.maskId = n.getAttribute("data-fa-mask-id"), a;
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, s = a.mask, o = a.maskId, l = a.transform, f = i.width, u = i.icon, d = s.width, c = s.icon, g = Mi({
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: d,
3747
+ containerWidth: u,
3681
3748
  iconWidth: f
3682
3749
  }), h = {
3683
3750
  tag: "rect",
3684
- attributes: m(m({}, Me), {}, {
3751
+ attributes: m(m({}, We), {}, {
3685
3752
  fill: "white"
3686
3753
  })
3687
- }, b = u.children ? {
3688
- children: u.children.map(Bt)
3689
- } : {}, k = {
3754
+ }, b = d.children ? {
3755
+ children: d.children.map(qt)
3756
+ } : {}, w = {
3690
3757
  tag: "g",
3691
- attributes: m({}, g.inner),
3692
- children: [Bt(m({
3693
- tag: u.tag,
3694
- attributes: m(m({}, u.attributes), g.path)
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({}, g.outer),
3699
- children: [k]
3700
- }, w = "mask-".concat(o || St()), S = "clip-".concat(o || St()), y = {
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({}, Me), {}, {
3703
- id: w,
3769
+ attributes: m(m({}, We), {}, {
3770
+ id: y,
3704
3771
  maskUnits: "userSpaceOnUse",
3705
3772
  maskContentUnits: "userSpaceOnUse"
3706
3773
  }),
3707
3774
  children: [h, x]
3708
- }, p = {
3775
+ }, k = {
3709
3776
  tag: "defs",
3710
3777
  children: [{
3711
3778
  tag: "clipPath",
3712
3779
  attributes: {
3713
- id: S
3780
+ id: g
3714
3781
  },
3715
- children: Ko(c)
3716
- }, y]
3782
+ children: bs(c)
3783
+ }, P]
3717
3784
  };
3718
- return n.push(p, {
3785
+ return n.push(k, {
3719
3786
  tag: "rect",
3720
3787
  attributes: m({
3721
3788
  fill: "currentColor",
3722
- "clip-path": "url(#".concat(S, ")"),
3723
- mask: "url(#".concat(w, ")")
3724
- }, Me)
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
- }, Xo = {
3798
+ }, _s = {
3732
3799
  provides: function(t) {
3733
3800
  var a = !1;
3734
- q.matchMedia && (a = q.matchMedia("(prefers-reduced-motion: reduce)").matches), t.missingIconAbstract = function() {
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 s = m(m({}, i), {}, {
3815
+ var o = m(m({}, i), {}, {
3749
3816
  attributeName: "opacity"
3750
- }), o = {
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 || o.children.push({
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({}, s), {}, {
3834
+ attributes: m(m({}, o), {}, {
3768
3835
  values: "1;0;1;1;0;1;"
3769
3836
  })
3770
- }), n.push(o), 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({}, s), {}, {
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({}, s), {}, {
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
- }, Jo = {
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
- }, Zo = [Ui, To, jo, $o, Lo, Ho, Yo, Vo, Go, Xo, Jo];
3813
- ro(Zo, {
3814
- mixoutsTo: C
3879
+ }, ws = [mo, ns, rs, is, os, gs, ps, vs, ys, _s, xs];
3880
+ Co(ws, {
3881
+ mixoutsTo: F
3815
3882
  });
3816
- C.noAuto;
3817
- var ce = C.config;
3818
- C.library;
3819
- C.dom;
3820
- var tn = C.parse;
3821
- C.findIconDefinition;
3822
- C.toHtml;
3823
- var Qo = C.icon;
3824
- C.layer;
3825
- C.text;
3826
- C.counter;
3827
- function es(e) {
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 an(e) {
3831
- return es(e) ? e : (e = e.replace(/[_-]+(.)?/g, (t, a) => a ? a.toUpperCase() : ""), e.charAt(0).toLowerCase() + e.slice(1));
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
- function ts(e) {
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 J = /* @__PURE__ */ new Map(), as = 1e3;
3837
- function ns(e) {
3838
- if (J.has(e))
3839
- return J.get(e);
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, s = e.slice(a, i).trim();
3845
- if (s) {
3846
- const o = s.indexOf(":");
3847
- if (o > 0) {
3848
- const l = s.slice(0, o).trim(), f = s.slice(o + 1).trim();
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 u = an(l);
3851
- t[u.startsWith("webkit") ? ts(u) : u] = f;
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 (J.size === as) {
3858
- const r = J.keys().next().value;
3859
- r && J.delete(r);
3930
+ if (Z.size === Es) {
3931
+ const r = Z.keys().next().value;
3932
+ r && Z.delete(r);
3860
3933
  }
3861
- return J.set(e, t), t;
3934
+ return Z.set(e, t), t;
3862
3935
  }
3863
- function nn(e, t, a = {}) {
3936
+ function cn(e, t, a = {}) {
3864
3937
  if (typeof t == "string")
3865
3938
  return t;
3866
- const n = (t.children || []).map((u) => nn(e, u)), r = t.attributes || {}, i = {};
3867
- for (const [u, d] of Object.entries(r))
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 = d;
3952
+ i.className = c;
3871
3953
  break;
3872
3954
  }
3873
3955
  case u === "style": {
3874
- i.style = ns(String(d));
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()] = d;
3961
+ i[u.toLowerCase()] = c;
3880
3962
  break;
3881
3963
  }
3882
3964
  default:
3883
- i[an(u)] = d;
3965
+ i[un(u)] = c;
3884
3966
  }
3885
3967
  const {
3886
- style: s,
3887
- role: o,
3968
+ style: o,
3969
+ role: s,
3888
3970
  "aria-label": l,
3889
- ...f
3971
+ gradientFill: f,
3972
+ ...d
3890
3973
  } = a;
3891
- return s && (i.style = i.style ? { ...i.style, ...s } : s), o && (i.role = o), l && (i["aria-label"] = l, i["aria-hidden"] = "false"), e(t.tag, { ...f, ...i }, ...n);
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 rs = nn.bind(null, Zt.createElement), Ht = (e, t) => {
3894
- const a = vn();
3994
+ var Cs = cn.bind(null, it.createElement), Zt = (e, t) => {
3995
+ const a = Cn();
3895
3996
  return e || (t ? a : void 0);
3896
- }, is = class {
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.NODE_ENV === "development";
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.FA_VERSION;
3929
- var os = (
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 ce ? "7.0.0" : "6.0.0"
3934
- ), ss = Number.parseInt(os) >= 7, fe = "fa", j = {
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
- }, ls = {
4045
+ }, js = {
3945
4046
  left: "fa-pull-left",
3946
4047
  right: "fa-pull-right"
3947
- }, fs = {
4048
+ }, $s = {
3948
4049
  90: "fa-rotate-90",
3949
4050
  180: "fa-rotate-180",
3950
4051
  270: "fa-rotate-270"
3951
- }, us = {
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 cs(e) {
3981
- const t = ce.cssPrefix || ce.familyPrefix || fe;
3982
- return t === fe ? e : e.replace(
3983
- new RegExp(String.raw`(?<=^|\s)${fe}-`, "g"),
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 ds(e) {
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: s,
3995
- spinPulse: o,
4095
+ spin: o,
4096
+ spinPulse: s,
3996
4097
  spinReverse: l,
3997
4098
  pulse: f,
3998
- fixedWidth: u,
3999
- inverse: d,
4099
+ fixedWidth: d,
4100
+ inverse: u,
4000
4101
  border: c,
4001
- flip: g,
4102
+ flip: p,
4002
4103
  size: h,
4003
4104
  rotation: b,
4004
- pull: k,
4105
+ pull: w,
4005
4106
  swapOpacity: x,
4006
- rotateBy: w,
4007
- widthAuto: S,
4008
- className: y
4009
- } = e, p = [];
4010
- return y && p.push(...y.split(" ")), t && p.push(j.beat), a && p.push(j.fade), n && p.push(j.beatFade), r && p.push(j.bounce), i && p.push(j.shake), s && p.push(j.spin), l && p.push(j.spinReverse), o && p.push(j.spinPulse), f && p.push(j.pulse), u && p.push($.fixedWidth), d && p.push($.inverse), c && p.push($.border), g === !0 && p.push($.flip), (g === "horizontal" || g === "both") && p.push($.flipHorizontal), (g === "vertical" || g === "both") && p.push($.flipVertical), h != null && p.push(us[h]), b != null && b !== 0 && p.push(fs[b]), k != null && p.push(ls[k]), x && p.push($.swapOpacity), ss ? (w && p.push($.rotateBy), S && p.push($.widthAuto), (ce.cssPrefix || ce.familyPrefix || fe) === fe ? p : (
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
- p.map(cs)
4014
- )) : p;
4114
+ k.map(Rs)
4115
+ )) : k;
4015
4116
  }
4016
- var ms = (e) => typeof e == "object" && "icon" in e && !!e.icon;
4017
- function Yt(e) {
4117
+ var Ms = (e) => typeof e == "object" && "icon" in e && !!e.icon;
4118
+ function Qt(e) {
4018
4119
  if (e)
4019
- return ms(e) ? e : tn.icon(e);
4120
+ return Ms(e) ? e : fn.icon(e);
4020
4121
  }
4021
- function gs(e) {
4122
+ function zs(e) {
4022
4123
  return Object.keys(e);
4023
4124
  }
4024
- var Vt = new is("FontAwesomeIcon"), rn = {
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
- }, hs = new Set(Object.keys(rn)), ie = Zt.forwardRef((e, t) => {
4054
- const a = { ...rn, ...e }, {
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: s,
4059
- titleId: o,
4159
+ title: o,
4160
+ titleId: s,
4060
4161
  maskId: l,
4061
4162
  transform: f
4062
- } = a, u = Ht(l, !!r), d = Ht(o, !!s), c = Yt(n);
4163
+ } = a, d = Zt(l, !!r), u = Zt(s, !!o), c = Qt(n);
4063
4164
  if (!c)
4064
- return Vt.error("Icon lookup is undefined", n), null;
4065
- const g = ds(a), h = typeof f == "string" ? tn.transform(f) : f, b = Yt(r), k = Qo(c, {
4066
- ...g.length > 0 && { classes: g },
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: s,
4071
- titleId: d,
4072
- maskId: u
4171
+ title: o,
4172
+ titleId: u,
4173
+ maskId: d
4073
4174
  });
4074
- if (!k)
4075
- return Vt.error("Could not find icon", c), null;
4076
- const { abstract: x } = k, w = { ref: t };
4077
- for (const S of gs(a))
4078
- hs.has(S) || (w[S] = a[S]);
4079
- return rs(x[0], w);
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
- ie.displayName = "FontAwesomeIcon";
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 xs = "_Browser_rk8bv_1", ws = "_Header_rk8bv_11", ks = "_NavBar_rk8bv_19", Ss = "_IconButton_rk8bv_29", As = "_SearchBar_rk8bv_79", Is = "_Bookmarks_rk8bv_90", L = {
4110
- Browser: xs,
4111
- Header: ws,
4112
- NavBar: ks,
4113
- IconButton: Ss,
4114
- SearchBar: As,
4115
- Bookmarks: Is
4116
- }, Kt = "https://prozilla.dev/", Es = "https://www.google.com/search?igu=1";
4117
- function Ps({ url: e = Kt, focus: t }) {
4118
- const [a, n] = we(e), [r, i] = we(e), { history: s, pushState: o, stateIndex: l, undo: f, redo: u, undoAvailable: d, redoAvailable: c } = cn(e), g = oe(null);
4119
- Z(() => {
4120
- s.length !== 0 && n(s[l]);
4121
- }, [s, l]);
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
- g.current == null || g.current.contentWindow == null || (g.current.contentWindow.location.href = a);
4124
- }, b = (w) => {
4125
- if (a === w)
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(w), i(w), o(w);
4128
- }, k = (w) => {
4129
- i(w.target.value);
4130
- }, x = (w) => {
4131
- const S = w.target.value;
4132
- w.key === "Enter" && S !== "" && (mn(S) ? b(S) : b(`${Es}&q=${S}`));
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__ */ Y("div", { className: L.Browser, children: [
4135
- /* @__PURE__ */ Y("div", { className: L.Header, children: [
4136
- /* @__PURE__ */ Y("div", { className: L.NavBar, children: [
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: L.IconButton,
4226
+ className: R.IconButton,
4143
4227
  onClick: () => {
4144
4228
  f();
4145
4229
  },
4146
- disabled: !d,
4147
- children: /* @__PURE__ */ I(ie, { icon: vs })
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: L.IconButton,
4239
+ className: R.IconButton,
4156
4240
  onClick: () => {
4157
- u();
4241
+ d();
4158
4242
  },
4159
4243
  disabled: !c,
4160
- children: /* @__PURE__ */ I(ie, { icon: ps })
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: L.IconButton,
4252
+ className: R.IconButton,
4169
4253
  onClick: h,
4170
- children: /* @__PURE__ */ I(ie, { icon: _s })
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: L.IconButton,
4262
+ className: R.IconButton,
4179
4263
  onClick: () => {
4180
- b(Kt);
4264
+ b(ta);
4181
4265
  },
4182
- children: /* @__PURE__ */ I(ie, { icon: ys })
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: L.SearchBar,
4275
+ className: R.SearchBar,
4192
4276
  tabIndex: 0,
4193
- onChange: k,
4277
+ onChange: w,
4194
4278
  onKeyDown: x
4195
4279
  }
4196
4280
  )
4197
4281
  ] }),
4198
- /* @__PURE__ */ I("div", { className: L.Bookmarks })
4282
+ /* @__PURE__ */ I("div", { className: R.Bookmarks })
4199
4283
  ] }),
4200
- /* @__PURE__ */ I(dn, { ref: g, source: a, title: "Browser", focus: t })
4284
+ /* @__PURE__ */ I(kn, { ref: p, source: a, title: "Browser", focus: t })
4201
4285
  ] });
4202
4286
  }
4203
- const Cs = new Gt("Browser", "browser", Ps, { size: new Jt(700, 500) }).setIconUrl("https://os.prozilla.dev/assets/apps/icons/browser.svg").setRole(Xt.APP_ROLES.browser).setCategory("Utilities & tools");
4204
- Cs.setMetadata({ name: "@prozilla-os/browser", version: "1.1.21", author: "Prozilla" });
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
- Ln as TerminalApp,
4207
- Cs as browser,
4208
- Dn as terminal
4290
+ nr as TerminalApp,
4291
+ Js as browser,
4292
+ rr as terminal
4209
4293
  };
4210
4294
  //# sourceMappingURL=main.js.map