@nurtjahjo/swaraksara-ui-theme 0.3.12 → 0.3.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +1 -2
- package/dist/swaraksara-ui.js +439 -445
- package/dist/swaraksara-ui.umd.cjs +6 -6
- package/package.json +1 -1
package/dist/swaraksara-ui.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { jsx as _, jsxs as B, Fragment as
|
|
2
|
-
import
|
|
1
|
+
import { jsx as _, jsxs as B, Fragment as kn } from "react/jsx-runtime";
|
|
2
|
+
import Cn, { createContext as _n, useState as Re, useEffect as Pt, useMemo as In, useContext as Nn } from "react";
|
|
3
3
|
const Er = ".swaraksara.id", Sr = () => {
|
|
4
4
|
const e = window.location.hostname;
|
|
5
5
|
return e === "localhost" || e === "127.0.0.1" || e.match(/^\d{1,3}\./) ? "" : e.endsWith("swaraksara.id") ? `; domain=${Er}` : "";
|
|
@@ -19,44 +19,41 @@ const Er = ".swaraksara.id", Sr = () => {
|
|
|
19
19
|
if (a.indexOf(t) === 0) return a.substring(t.length, a.length);
|
|
20
20
|
}
|
|
21
21
|
return null;
|
|
22
|
-
}, Fn =
|
|
23
|
-
const [n, r] =
|
|
24
|
-
const
|
|
25
|
-
return
|
|
26
|
-
}),
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
}, [
|
|
40
|
-
|
|
41
|
-
r(l);
|
|
42
|
-
}, u = st(() => ({ mode: n, resolvedTheme: i, setMode: s }), [n, i]);
|
|
43
|
-
return /* @__PURE__ */ _(Fn.Provider, { value: u, children: e });
|
|
22
|
+
}, Fn = _n(void 0), fi = ({ children: e, defaultMode: t = "light" }) => {
|
|
23
|
+
const [n, r] = Re(() => {
|
|
24
|
+
const s = Mn("sa_theme");
|
|
25
|
+
return s === "light" || s === "dark" ? s : t;
|
|
26
|
+
}), a = n;
|
|
27
|
+
Pt(() => {
|
|
28
|
+
const s = window.document.documentElement;
|
|
29
|
+
s.classList.remove("light", "dark"), s.classList.add(a), Rn("sa_theme", n);
|
|
30
|
+
}, [n, a]);
|
|
31
|
+
const o = (s) => {
|
|
32
|
+
r(s);
|
|
33
|
+
}, i = In(() => ({
|
|
34
|
+
mode: a,
|
|
35
|
+
// Kirimkan tema yang sudah final
|
|
36
|
+
resolvedTheme: a,
|
|
37
|
+
// Tetap sediakan untuk kompatibilitas jika diperlukan
|
|
38
|
+
setMode: o
|
|
39
|
+
}), [a]);
|
|
40
|
+
return /* @__PURE__ */ _(Fn.Provider, { value: i, children: e });
|
|
44
41
|
}, Or = () => {
|
|
45
42
|
const e = Nn(Fn);
|
|
46
43
|
if (e === void 0)
|
|
47
44
|
throw new Error("useTheme must be used within a ThemeProvider");
|
|
48
45
|
return e;
|
|
49
|
-
}, Ln =
|
|
50
|
-
const [t, n] =
|
|
46
|
+
}, Ln = _n(void 0), ui = ({ children: e }) => {
|
|
47
|
+
const [t, n] = Re(() => {
|
|
51
48
|
const i = Mn("sa_locale");
|
|
52
49
|
return i === "id" || i === "en" ? i : navigator.language.startsWith("en") ? "en" : "id";
|
|
53
50
|
});
|
|
54
|
-
|
|
51
|
+
Pt(() => {
|
|
55
52
|
Rn("sa_locale", t), document.documentElement.lang = t;
|
|
56
53
|
}, [t]);
|
|
57
54
|
const r = (i) => {
|
|
58
55
|
n(i);
|
|
59
|
-
}, a = (i) => i, o =
|
|
56
|
+
}, a = (i) => i, o = In(() => ({ locale: t, setLocale: r, t: a }), [t]);
|
|
60
57
|
return /* @__PURE__ */ _(Ln.Provider, { value: o, children: e });
|
|
61
58
|
}, di = () => {
|
|
62
59
|
const e = Nn(Ln);
|
|
@@ -72,7 +69,7 @@ function Pr(e, t, n) {
|
|
|
72
69
|
writable: !0
|
|
73
70
|
}) : e[t] = n, e;
|
|
74
71
|
}
|
|
75
|
-
function
|
|
72
|
+
function $t(e, t) {
|
|
76
73
|
var n = Object.keys(e);
|
|
77
74
|
if (Object.getOwnPropertySymbols) {
|
|
78
75
|
var r = Object.getOwnPropertySymbols(e);
|
|
@@ -82,12 +79,12 @@ function Yt(e, t) {
|
|
|
82
79
|
}
|
|
83
80
|
return n;
|
|
84
81
|
}
|
|
85
|
-
function
|
|
82
|
+
function c(e) {
|
|
86
83
|
for (var t = 1; t < arguments.length; t++) {
|
|
87
84
|
var n = arguments[t] != null ? arguments[t] : {};
|
|
88
|
-
t % 2 ?
|
|
85
|
+
t % 2 ? $t(Object(n), !0).forEach(function(r) {
|
|
89
86
|
Pr(e, r, n[r]);
|
|
90
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) :
|
|
87
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : $t(Object(n)).forEach(function(r) {
|
|
91
88
|
Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(n, r));
|
|
92
89
|
});
|
|
93
90
|
}
|
|
@@ -107,21 +104,21 @@ function kr(e) {
|
|
|
107
104
|
var t = Tr(e, "string");
|
|
108
105
|
return typeof t == "symbol" ? t : t + "";
|
|
109
106
|
}
|
|
110
|
-
const
|
|
107
|
+
const Yt = () => {
|
|
111
108
|
};
|
|
112
|
-
let
|
|
113
|
-
mark:
|
|
114
|
-
measure:
|
|
109
|
+
let Tt = {}, jn = {}, Dn = null, zn = {
|
|
110
|
+
mark: Yt,
|
|
111
|
+
measure: Yt
|
|
115
112
|
};
|
|
116
113
|
try {
|
|
117
|
-
typeof window < "u" && (
|
|
114
|
+
typeof window < "u" && (Tt = window), typeof document < "u" && (jn = document), typeof MutationObserver < "u" && (Dn = MutationObserver), typeof performance < "u" && (zn = performance);
|
|
118
115
|
} catch {
|
|
119
116
|
}
|
|
120
117
|
const {
|
|
121
|
-
userAgent:
|
|
122
|
-
} =
|
|
118
|
+
userAgent: Wt = ""
|
|
119
|
+
} = Tt.navigator || {}, ae = Tt, $ = jn, Ut = Dn, Te = zn;
|
|
123
120
|
ae.document;
|
|
124
|
-
const te = !!$.documentElement && !!$.head && typeof $.addEventListener == "function" && typeof $.createElement == "function", $n = ~
|
|
121
|
+
const te = !!$.documentElement && !!$.head && typeof $.addEventListener == "function" && typeof $.createElement == "function", $n = ~Wt.indexOf("MSIE") || ~Wt.indexOf("Trident/");
|
|
125
122
|
var Cr = /fa(s|r|l|t|d|dr|dl|dt|b|k|kd|ss|sr|sl|st|sds|sdr|sdl|sdt)?[\-\ ]/, _r = /Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp Duotone|Sharp|Kit)?.*/i, Yn = {
|
|
126
123
|
classic: {
|
|
127
124
|
fa: "solid",
|
|
@@ -174,7 +171,7 @@ var Cr = /fa(s|r|l|t|d|dr|dl|dt|b|k|kd|ss|sr|sl|st|sds|sdr|sdl|sdt)?[\-\ ]/, _r
|
|
|
174
171
|
GROUP: "duotone-group",
|
|
175
172
|
PRIMARY: "primary",
|
|
176
173
|
SECONDARY: "secondary"
|
|
177
|
-
}, Wn = ["fa-classic", "fa-duotone", "fa-sharp", "fa-sharp-duotone"], Y = "classic",
|
|
174
|
+
}, Wn = ["fa-classic", "fa-duotone", "fa-sharp", "fa-sharp-duotone"], Y = "classic", je = "duotone", Nr = "sharp", Rr = "sharp-duotone", Un = [Y, je, Nr, Rr], Mr = {
|
|
178
175
|
classic: {
|
|
179
176
|
900: "fas",
|
|
180
177
|
400: "far",
|
|
@@ -287,7 +284,7 @@ var Cr = /fa(s|r|l|t|d|dr|dl|dt|b|k|kd|ss|sr|sl|st|sds|sdr|sdl|sdt)?[\-\ ]/, _r
|
|
|
287
284
|
light: "fasdl",
|
|
288
285
|
thin: "fasdt"
|
|
289
286
|
}
|
|
290
|
-
}, Dr = ["fak", "fa-kit", "fakd", "fa-kit-duotone"],
|
|
287
|
+
}, Dr = ["fak", "fa-kit", "fakd", "fa-kit-duotone"], qt = {
|
|
291
288
|
kit: {
|
|
292
289
|
fak: "kit",
|
|
293
290
|
"fa-kit": "kit"
|
|
@@ -304,14 +301,14 @@ var Cr = /fa(s|r|l|t|d|dr|dl|dt|b|k|kd|ss|sr|sl|st|sds|sdr|sdl|sdt)?[\-\ ]/, _r
|
|
|
304
301
|
kit: {
|
|
305
302
|
fak: "fa-kit"
|
|
306
303
|
}
|
|
307
|
-
},
|
|
304
|
+
}, Bt = {
|
|
308
305
|
kit: {
|
|
309
306
|
kit: "fak"
|
|
310
307
|
},
|
|
311
308
|
"kit-duotone": {
|
|
312
309
|
"kit-duotone": "fakd"
|
|
313
310
|
}
|
|
314
|
-
},
|
|
311
|
+
}, ke = {
|
|
315
312
|
GROUP: "duotone-group",
|
|
316
313
|
SWAP_OPACITY: "swap-opacity",
|
|
317
314
|
PRIMARY: "primary",
|
|
@@ -356,7 +353,7 @@ var Cr = /fa(s|r|l|t|d|dr|dl|dt|b|k|kd|ss|sr|sl|st|sds|sdr|sdl|sdt)?[\-\ ]/, _r
|
|
|
356
353
|
duotone: ["fadr", "fadl", "fadt"],
|
|
357
354
|
sharp: ["fass", "fasr", "fasl", "fast"],
|
|
358
355
|
"sharp-duotone": ["fasds", "fasdr", "fasdl", "fasdt"]
|
|
359
|
-
},
|
|
356
|
+
}, it = {
|
|
360
357
|
classic: {
|
|
361
358
|
fab: "fa-brands",
|
|
362
359
|
fad: "fa-duotone",
|
|
@@ -382,7 +379,7 @@ var Cr = /fa(s|r|l|t|d|dr|dl|dt|b|k|kd|ss|sr|sl|st|sds|sdr|sdl|sdt)?[\-\ ]/, _r
|
|
|
382
379
|
fasdl: "fa-light",
|
|
383
380
|
fasdt: "fa-thin"
|
|
384
381
|
}
|
|
385
|
-
}, Gr = ["fa-solid", "fa-regular", "fa-light", "fa-thin", "fa-duotone", "fa-brands"],
|
|
382
|
+
}, Gr = ["fa-solid", "fa-regular", "fa-light", "fa-thin", "fa-duotone", "fa-brands"], st = ["fa", "fas", "far", "fal", "fat", "fad", "fadr", "fadl", "fadt", "fab", "fass", "fasr", "fasl", "fast", "fasds", "fasdr", "fasdl", "fasdt", ...Ur, ...Gr], Xr = ["solid", "regular", "light", "thin", "duotone", "brands"], qn = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], Kr = qn.concat([11, 12, 13, 14, 15, 16, 17, 18, 19, 20]), Jr = [...Object.keys(Vr), ...Xr, "2xs", "xs", "sm", "lg", "xl", "2xl", "beat", "border", "fade", "beat-fade", "bounce", "flip-both", "flip-horizontal", "flip-vertical", "flip", "fw", "inverse", "layers-counter", "layers-text", "layers", "li", "pull-left", "pull-right", "pulse", "rotate-180", "rotate-270", "rotate-90", "rotate-by", "shake", "spin-pulse", "spin-reverse", "spin", "stack-1x", "stack-2x", "stack", "ul", ke.GROUP, ke.SWAP_OPACITY, ke.PRIMARY, ke.SECONDARY].concat(qn.map((e) => "".concat(e, "x"))).concat(Kr.map((e) => "w-".concat(e))), Qr = {
|
|
386
383
|
"Font Awesome 5 Free": {
|
|
387
384
|
900: "fas",
|
|
388
385
|
400: "far"
|
|
@@ -401,36 +398,36 @@ var Cr = /fa(s|r|l|t|d|dr|dl|dt|b|k|kd|ss|sr|sl|st|sds|sdr|sdl|sdt)?[\-\ ]/, _r
|
|
|
401
398
|
900: "fad"
|
|
402
399
|
}
|
|
403
400
|
};
|
|
404
|
-
const Z = "___FONT_AWESOME___",
|
|
401
|
+
const Z = "___FONT_AWESOME___", lt = 16, Bn = "fa", Hn = "svg-inline--fa", ce = "data-fa-i2svg", ct = "data-fa-pseudo-element", Zr = "data-fa-pseudo-element-pending", kt = "data-prefix", Ct = "data-icon", Ht = "fontawesome-i2svg", ea = "async", ta = ["HTML", "HEAD", "STYLE", "SCRIPT"], Vn = (() => {
|
|
405
402
|
try {
|
|
406
403
|
return process.env.NODE_ENV === "production";
|
|
407
404
|
} catch {
|
|
408
405
|
return !1;
|
|
409
406
|
}
|
|
410
407
|
})();
|
|
411
|
-
function
|
|
408
|
+
function Ae(e) {
|
|
412
409
|
return new Proxy(e, {
|
|
413
410
|
get(t, n) {
|
|
414
411
|
return n in t ? t[n] : t[Y];
|
|
415
412
|
}
|
|
416
413
|
});
|
|
417
414
|
}
|
|
418
|
-
const Gn =
|
|
419
|
-
Gn[Y] =
|
|
415
|
+
const Gn = c({}, Yn);
|
|
416
|
+
Gn[Y] = c(c(c(c({}, {
|
|
420
417
|
"fa-duotone": "duotone"
|
|
421
|
-
}), Yn[Y]),
|
|
422
|
-
const na =
|
|
423
|
-
|
|
418
|
+
}), Yn[Y]), qt.kit), qt["kit-duotone"]);
|
|
419
|
+
const na = Ae(Gn), ft = c({}, jr);
|
|
420
|
+
ft[Y] = c(c(c(c({}, {
|
|
424
421
|
duotone: "fad"
|
|
425
|
-
}),
|
|
426
|
-
const
|
|
427
|
-
|
|
428
|
-
const
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
const ra = Cr, Xn = "fa-layers-text", aa = _r, oa =
|
|
432
|
-
|
|
433
|
-
const ia = ["class", "data-prefix", "data-icon", "data-fa-transform", "data-fa-mask"],
|
|
422
|
+
}), ft[Y]), Bt.kit), Bt["kit-duotone"]);
|
|
423
|
+
const Vt = Ae(ft), ut = c({}, it);
|
|
424
|
+
ut[Y] = c(c({}, ut[Y]), Wr.kit);
|
|
425
|
+
const _t = Ae(ut), dt = c({}, Hr);
|
|
426
|
+
dt[Y] = c(c({}, dt[Y]), $r.kit);
|
|
427
|
+
Ae(dt);
|
|
428
|
+
const ra = Cr, Xn = "fa-layers-text", aa = _r, oa = c({}, Mr);
|
|
429
|
+
Ae(oa);
|
|
430
|
+
const ia = ["class", "data-prefix", "data-icon", "data-fa-transform", "data-fa-mask"], Ge = Ir, sa = [...zr, ...Jr], ve = ae.FontAwesomeConfig || {};
|
|
434
431
|
function la(e) {
|
|
435
432
|
var t = $.querySelector("script[" + e + "]");
|
|
436
433
|
if (t)
|
|
@@ -460,7 +457,7 @@ const Kn = {
|
|
|
460
457
|
showMissingIcons: !0
|
|
461
458
|
};
|
|
462
459
|
ve.familyPrefix && (ve.cssPrefix = ve.familyPrefix);
|
|
463
|
-
const pe =
|
|
460
|
+
const pe = c(c({}, Kn), ve);
|
|
464
461
|
pe.autoReplaceSvg || (pe.observeMutations = !1);
|
|
465
462
|
const v = {};
|
|
466
463
|
Object.keys(Kn).forEach((e) => {
|
|
@@ -490,7 +487,7 @@ function fa(e) {
|
|
|
490
487
|
be.splice(be.indexOf(e), 1);
|
|
491
488
|
};
|
|
492
489
|
}
|
|
493
|
-
const ne =
|
|
490
|
+
const ne = lt, J = {
|
|
494
491
|
size: 16,
|
|
495
492
|
x: 0,
|
|
496
493
|
y: 0,
|
|
@@ -512,7 +509,7 @@ function ua(e) {
|
|
|
512
509
|
return $.head.insertBefore(t, r), e;
|
|
513
510
|
}
|
|
514
511
|
const da = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";
|
|
515
|
-
function
|
|
512
|
+
function xe() {
|
|
516
513
|
let e = 12, t = "";
|
|
517
514
|
for (; e-- > 0; )
|
|
518
515
|
t += da[Math.random() * 62 | 0];
|
|
@@ -524,7 +521,7 @@ function he(e) {
|
|
|
524
521
|
t[n] = e[n];
|
|
525
522
|
return t;
|
|
526
523
|
}
|
|
527
|
-
function
|
|
524
|
+
function It(e) {
|
|
528
525
|
return e.classList ? he(e.classList) : (e.getAttribute("class") || "").split(" ").filter((t) => t);
|
|
529
526
|
}
|
|
530
527
|
function Jn(e) {
|
|
@@ -533,10 +530,10 @@ function Jn(e) {
|
|
|
533
530
|
function ma(e) {
|
|
534
531
|
return Object.keys(e || {}).reduce((t, n) => t + "".concat(n, '="').concat(Jn(e[n]), '" '), "").trim();
|
|
535
532
|
}
|
|
536
|
-
function
|
|
533
|
+
function De(e) {
|
|
537
534
|
return Object.keys(e || {}).reduce((t, n) => t + "".concat(n, ": ").concat(e[n].trim(), ";"), "");
|
|
538
535
|
}
|
|
539
|
-
function
|
|
536
|
+
function Nt(e) {
|
|
540
537
|
return e.size !== J.size || e.x !== J.x || e.y !== J.y || e.rotate !== J.rotate || e.flipX || e.flipY;
|
|
541
538
|
}
|
|
542
539
|
function pa(e) {
|
|
@@ -561,8 +558,8 @@ function pa(e) {
|
|
|
561
558
|
function ha(e) {
|
|
562
559
|
let {
|
|
563
560
|
transform: t,
|
|
564
|
-
width: n =
|
|
565
|
-
height: r =
|
|
561
|
+
width: n = lt,
|
|
562
|
+
height: r = lt,
|
|
566
563
|
startCentered: a = !1
|
|
567
564
|
} = e, o = "";
|
|
568
565
|
return a && $n ? o += "translate(".concat(t.x / ne - n / 2, "em, ").concat(t.y / ne - r / 2, "em) ") : a ? o += "translate(calc(-50% + ".concat(t.x / ne, "em), calc(-50% + ").concat(t.y / ne, "em)) ") : o += "translate(".concat(t.x / ne, "em, ").concat(t.y / ne, "em) "), o += "scale(".concat(t.size / ne * (t.flipX ? -1 : 1), ", ").concat(t.size / ne * (t.flipY ? -1 : 1), ") "), o += "rotate(".concat(t.rotate, "deg) "), o;
|
|
@@ -1130,26 +1127,26 @@ function Qn() {
|
|
|
1130
1127
|
}
|
|
1131
1128
|
return a;
|
|
1132
1129
|
}
|
|
1133
|
-
let
|
|
1134
|
-
function
|
|
1135
|
-
v.autoAddCss && !
|
|
1130
|
+
let Gt = !1;
|
|
1131
|
+
function Xe() {
|
|
1132
|
+
v.autoAddCss && !Gt && (ua(Qn()), Gt = !0);
|
|
1136
1133
|
}
|
|
1137
1134
|
var ya = {
|
|
1138
1135
|
mixout() {
|
|
1139
1136
|
return {
|
|
1140
1137
|
dom: {
|
|
1141
1138
|
css: Qn,
|
|
1142
|
-
insertCss:
|
|
1139
|
+
insertCss: Xe
|
|
1143
1140
|
}
|
|
1144
1141
|
};
|
|
1145
1142
|
},
|
|
1146
1143
|
hooks() {
|
|
1147
1144
|
return {
|
|
1148
1145
|
beforeDOMElementCreation() {
|
|
1149
|
-
|
|
1146
|
+
Xe();
|
|
1150
1147
|
},
|
|
1151
1148
|
beforeI2svg() {
|
|
1152
|
-
|
|
1149
|
+
Xe();
|
|
1153
1150
|
}
|
|
1154
1151
|
};
|
|
1155
1152
|
}
|
|
@@ -1161,22 +1158,22 @@ ee[Z].hooks || (ee[Z].hooks = {});
|
|
|
1161
1158
|
ee[Z].shims || (ee[Z].shims = []);
|
|
1162
1159
|
var Q = ee[Z];
|
|
1163
1160
|
const Zn = [], er = function() {
|
|
1164
|
-
$.removeEventListener("DOMContentLoaded", er),
|
|
1161
|
+
$.removeEventListener("DOMContentLoaded", er), Me = 1, Zn.map((e) => e());
|
|
1165
1162
|
};
|
|
1166
|
-
let
|
|
1167
|
-
te && (
|
|
1163
|
+
let Me = !1;
|
|
1164
|
+
te && (Me = ($.documentElement.doScroll ? /^loaded|^c/ : /^loaded|^i|^c/).test($.readyState), Me || $.addEventListener("DOMContentLoaded", er));
|
|
1168
1165
|
function va(e) {
|
|
1169
|
-
te && (
|
|
1166
|
+
te && (Me ? setTimeout(e, 0) : Zn.push(e));
|
|
1170
1167
|
}
|
|
1171
|
-
function
|
|
1168
|
+
function Ee(e) {
|
|
1172
1169
|
const {
|
|
1173
1170
|
tag: t,
|
|
1174
1171
|
attributes: n = {},
|
|
1175
1172
|
children: r = []
|
|
1176
1173
|
} = e;
|
|
1177
|
-
return typeof e == "string" ? Jn(e) : "<".concat(t, " ").concat(ma(n), ">").concat(r.map(
|
|
1174
|
+
return typeof e == "string" ? Jn(e) : "<".concat(t, " ").concat(ma(n), ">").concat(r.map(Ee).join(""), "</").concat(t, ">");
|
|
1178
1175
|
}
|
|
1179
|
-
function
|
|
1176
|
+
function Xt(e, t, n) {
|
|
1180
1177
|
if (e && e[t] && e[t][n])
|
|
1181
1178
|
return {
|
|
1182
1179
|
prefix: t,
|
|
@@ -1184,11 +1181,11 @@ function Kt(e, t, n) {
|
|
|
1184
1181
|
icon: e[t][n]
|
|
1185
1182
|
};
|
|
1186
1183
|
}
|
|
1187
|
-
var
|
|
1188
|
-
var o = Object.keys(t), i = o.length, s = n, u, l,
|
|
1189
|
-
for (r === void 0 ? (u = 1,
|
|
1190
|
-
l = o[u],
|
|
1191
|
-
return
|
|
1184
|
+
var Ke = function(t, n, r, a) {
|
|
1185
|
+
var o = Object.keys(t), i = o.length, s = n, u, l, f;
|
|
1186
|
+
for (r === void 0 ? (u = 1, f = t[o[0]]) : (u = 0, f = r); u < i; u++)
|
|
1187
|
+
l = o[u], f = s(f, t[l], l, t);
|
|
1188
|
+
return f;
|
|
1192
1189
|
};
|
|
1193
1190
|
function ba(e) {
|
|
1194
1191
|
const t = [];
|
|
@@ -1204,7 +1201,7 @@ function ba(e) {
|
|
|
1204
1201
|
}
|
|
1205
1202
|
return t;
|
|
1206
1203
|
}
|
|
1207
|
-
function
|
|
1204
|
+
function mt(e) {
|
|
1208
1205
|
const t = ba(e);
|
|
1209
1206
|
return t.length === 1 ? t[0].toString(16) : null;
|
|
1210
1207
|
}
|
|
@@ -1213,24 +1210,24 @@ function xa(e, t) {
|
|
|
1213
1210
|
let r = e.charCodeAt(t), a;
|
|
1214
1211
|
return r >= 55296 && r <= 56319 && n > t + 1 && (a = e.charCodeAt(t + 1), a >= 56320 && a <= 57343) ? (r - 55296) * 1024 + a - 56320 + 65536 : r;
|
|
1215
1212
|
}
|
|
1216
|
-
function
|
|
1213
|
+
function Kt(e) {
|
|
1217
1214
|
return Object.keys(e).reduce((t, n) => {
|
|
1218
1215
|
const r = e[n];
|
|
1219
1216
|
return !!r.icon ? t[r.iconName] = r.icon : t[n] = r, t;
|
|
1220
1217
|
}, {});
|
|
1221
1218
|
}
|
|
1222
|
-
function
|
|
1219
|
+
function pt(e, t) {
|
|
1223
1220
|
let n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
1224
1221
|
const {
|
|
1225
1222
|
skipHooks: r = !1
|
|
1226
|
-
} = n, a =
|
|
1227
|
-
typeof Q.hooks.addPack == "function" && !r ? Q.hooks.addPack(e,
|
|
1223
|
+
} = n, a = Kt(t);
|
|
1224
|
+
typeof Q.hooks.addPack == "function" && !r ? Q.hooks.addPack(e, Kt(t)) : Q.styles[e] = c(c({}, Q.styles[e] || {}), a), e === "fas" && pt("fa", t);
|
|
1228
1225
|
}
|
|
1229
1226
|
const {
|
|
1230
|
-
styles:
|
|
1227
|
+
styles: we,
|
|
1231
1228
|
shims: wa
|
|
1232
|
-
} = Q, tr = Object.keys(
|
|
1233
|
-
let
|
|
1229
|
+
} = Q, tr = Object.keys(_t), Aa = tr.reduce((e, t) => (e[t] = Object.keys(_t[t]), e), {});
|
|
1230
|
+
let Rt = null, nr = {}, rr = {}, ar = {}, or = {}, ir = {};
|
|
1234
1231
|
function Ea(e) {
|
|
1235
1232
|
return ~sa.indexOf(e);
|
|
1236
1233
|
}
|
|
@@ -1239,7 +1236,7 @@ function Sa(e, t) {
|
|
|
1239
1236
|
return r === e && a !== "" && !Ea(a) ? a : null;
|
|
1240
1237
|
}
|
|
1241
1238
|
const sr = () => {
|
|
1242
|
-
const e = (r) =>
|
|
1239
|
+
const e = (r) => Ke(we, (a, o, i) => (a[i] = Ke(o, r, {}), a), {});
|
|
1243
1240
|
nr = e((r, a, o) => (a[3] && (r[a[3]] = o), a[2] && a[2].filter((s) => typeof s == "number").forEach((s) => {
|
|
1244
1241
|
r[s.toString(16)] = o;
|
|
1245
1242
|
}), r)), rr = e((r, a, o) => (r[o] = o, a[2] && a[2].filter((s) => typeof s == "string").forEach((s) => {
|
|
@@ -1250,7 +1247,7 @@ const sr = () => {
|
|
|
1250
1247
|
r[s] = o;
|
|
1251
1248
|
}), r;
|
|
1252
1249
|
});
|
|
1253
|
-
const t = "far" in
|
|
1250
|
+
const t = "far" in we || v.autoFetchSvg, n = Ke(wa, (r, a) => {
|
|
1254
1251
|
const o = a[0];
|
|
1255
1252
|
let i = a[1];
|
|
1256
1253
|
const s = a[2];
|
|
@@ -1265,17 +1262,17 @@ const sr = () => {
|
|
|
1265
1262
|
names: {},
|
|
1266
1263
|
unicodes: {}
|
|
1267
1264
|
});
|
|
1268
|
-
ar = n.names, or = n.unicodes,
|
|
1265
|
+
ar = n.names, or = n.unicodes, Rt = ze(v.styleDefault, {
|
|
1269
1266
|
family: v.familyDefault
|
|
1270
1267
|
});
|
|
1271
1268
|
};
|
|
1272
1269
|
fa((e) => {
|
|
1273
|
-
|
|
1270
|
+
Rt = ze(e.styleDefault, {
|
|
1274
1271
|
family: v.familyDefault
|
|
1275
1272
|
});
|
|
1276
1273
|
});
|
|
1277
1274
|
sr();
|
|
1278
|
-
function
|
|
1275
|
+
function Mt(e, t) {
|
|
1279
1276
|
return (nr[e] || {})[t];
|
|
1280
1277
|
}
|
|
1281
1278
|
function Oa(e, t) {
|
|
@@ -1291,7 +1288,7 @@ function lr(e) {
|
|
|
1291
1288
|
};
|
|
1292
1289
|
}
|
|
1293
1290
|
function Pa(e) {
|
|
1294
|
-
const t = or[e], n =
|
|
1291
|
+
const t = or[e], n = Mt("fas", e);
|
|
1295
1292
|
return t || (n ? {
|
|
1296
1293
|
prefix: "fas",
|
|
1297
1294
|
iconName: n
|
|
@@ -1301,7 +1298,7 @@ function Pa(e) {
|
|
|
1301
1298
|
};
|
|
1302
1299
|
}
|
|
1303
1300
|
function oe() {
|
|
1304
|
-
return
|
|
1301
|
+
return Rt;
|
|
1305
1302
|
}
|
|
1306
1303
|
const cr = () => ({
|
|
1307
1304
|
prefix: null,
|
|
@@ -1315,14 +1312,14 @@ function Ta(e) {
|
|
|
1315
1312
|
(e.includes(n[r]) || e.some((a) => Aa[r].includes(a))) && (t = r);
|
|
1316
1313
|
}), t;
|
|
1317
1314
|
}
|
|
1318
|
-
function
|
|
1315
|
+
function ze(e) {
|
|
1319
1316
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
1320
1317
|
const {
|
|
1321
1318
|
family: n = Y
|
|
1322
1319
|
} = t, r = na[n][e];
|
|
1323
|
-
if (n ===
|
|
1320
|
+
if (n === je && !e)
|
|
1324
1321
|
return "fad";
|
|
1325
|
-
const a =
|
|
1322
|
+
const a = Vt[n][e] || Vt[n][r], o = e in Q.styles ? e : null;
|
|
1326
1323
|
return a || o || null;
|
|
1327
1324
|
}
|
|
1328
1325
|
function ka(e) {
|
|
@@ -1335,28 +1332,28 @@ function ka(e) {
|
|
|
1335
1332
|
rest: t
|
|
1336
1333
|
};
|
|
1337
1334
|
}
|
|
1338
|
-
function
|
|
1335
|
+
function Jt(e) {
|
|
1339
1336
|
return e.sort().filter((t, n, r) => r.indexOf(t) === n);
|
|
1340
1337
|
}
|
|
1341
|
-
function
|
|
1338
|
+
function $e(e) {
|
|
1342
1339
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
1343
1340
|
const {
|
|
1344
1341
|
skipLookups: n = !1
|
|
1345
1342
|
} = t;
|
|
1346
1343
|
let r = null;
|
|
1347
|
-
const a =
|
|
1348
|
-
prefix:
|
|
1344
|
+
const a = st.concat(qr), o = Jt(e.filter((h) => a.includes(h))), i = Jt(e.filter((h) => !st.includes(h))), s = o.filter((h) => (r = h, !Wn.includes(h))), [u = null] = s, l = Ta(o), f = c(c({}, ka(i)), {}, {
|
|
1345
|
+
prefix: ze(u, {
|
|
1349
1346
|
family: l
|
|
1350
1347
|
})
|
|
1351
1348
|
});
|
|
1352
|
-
return
|
|
1349
|
+
return c(c(c({}, f), Na({
|
|
1353
1350
|
values: e,
|
|
1354
1351
|
family: l,
|
|
1355
|
-
styles:
|
|
1352
|
+
styles: we,
|
|
1356
1353
|
config: v,
|
|
1357
|
-
canonical:
|
|
1354
|
+
canonical: f,
|
|
1358
1355
|
givenPrefix: r
|
|
1359
|
-
})), Ca(n, r,
|
|
1356
|
+
})), Ca(n, r, f));
|
|
1360
1357
|
}
|
|
1361
1358
|
function Ca(e, t, n) {
|
|
1362
1359
|
let {
|
|
@@ -1369,12 +1366,12 @@ function Ca(e, t, n) {
|
|
|
1369
1366
|
iconName: a
|
|
1370
1367
|
};
|
|
1371
1368
|
const o = t === "fa" ? lr(a) : {}, i = le(r, a);
|
|
1372
|
-
return a = o.iconName || i || a, r = o.prefix || r, r === "far" && !
|
|
1369
|
+
return a = o.iconName || i || a, r = o.prefix || r, r === "far" && !we.far && we.fas && !v.autoFetchSvg && (r = "fas"), {
|
|
1373
1370
|
prefix: r,
|
|
1374
1371
|
iconName: a
|
|
1375
1372
|
};
|
|
1376
1373
|
}
|
|
1377
|
-
const _a = Un.filter((e) => e !== Y || e !==
|
|
1374
|
+
const _a = Un.filter((e) => e !== Y || e !== je), Ia = Object.keys(it).filter((e) => e !== Y).map((e) => Object.keys(it[e])).flat();
|
|
1378
1375
|
function Na(e) {
|
|
1379
1376
|
const {
|
|
1380
1377
|
values: t,
|
|
@@ -1383,8 +1380,8 @@ function Na(e) {
|
|
|
1383
1380
|
givenPrefix: a = "",
|
|
1384
1381
|
styles: o = {},
|
|
1385
1382
|
config: i = {}
|
|
1386
|
-
} = e, s = n ===
|
|
1387
|
-
if (!s && (u || l ||
|
|
1383
|
+
} = e, s = n === je, u = t.includes("fa-duotone") || t.includes("fad"), l = i.familyDefault === "duotone", f = r.prefix === "fad" || r.prefix === "fa-duotone";
|
|
1384
|
+
if (!s && (u || l || f) && (r.prefix = "fad"), (t.includes("fa-brands") || t.includes("fab")) && (r.prefix = "fab"), !r.prefix && _a.includes(n) && (Object.keys(o).find((y) => Ia.includes(y)) || i.autoFetchSvg)) {
|
|
1388
1385
|
const y = Lr.get(n).defaultShortPrefixId;
|
|
1389
1386
|
r.prefix = y, r.iconName = le(r.prefix, r.iconName) || r.iconName;
|
|
1390
1387
|
}
|
|
@@ -1399,9 +1396,9 @@ class Ra {
|
|
|
1399
1396
|
n[r] = arguments[r];
|
|
1400
1397
|
const a = n.reduce(this._pullDefinitions, {});
|
|
1401
1398
|
Object.keys(a).forEach((o) => {
|
|
1402
|
-
this.definitions[o] =
|
|
1403
|
-
const i =
|
|
1404
|
-
i &&
|
|
1399
|
+
this.definitions[o] = c(c({}, this.definitions[o] || {}), a[o]), pt(o, a[o]);
|
|
1400
|
+
const i = _t[Y][o];
|
|
1401
|
+
i && pt(i, a[o]), sr();
|
|
1405
1402
|
});
|
|
1406
1403
|
}
|
|
1407
1404
|
reset() {
|
|
@@ -1423,15 +1420,15 @@ class Ra {
|
|
|
1423
1420
|
}), t;
|
|
1424
1421
|
}
|
|
1425
1422
|
}
|
|
1426
|
-
let
|
|
1423
|
+
let Qt = [], de = {};
|
|
1427
1424
|
const me = {}, Ma = Object.keys(me);
|
|
1428
1425
|
function Fa(e, t) {
|
|
1429
1426
|
let {
|
|
1430
1427
|
mixoutsTo: n
|
|
1431
1428
|
} = t;
|
|
1432
|
-
return
|
|
1429
|
+
return Qt = e, de = {}, Object.keys(me).forEach((r) => {
|
|
1433
1430
|
Ma.indexOf(r) === -1 && delete me[r];
|
|
1434
|
-
}),
|
|
1431
|
+
}), Qt.forEach((r) => {
|
|
1435
1432
|
const a = r.mixout ? r.mixout() : {};
|
|
1436
1433
|
if (Object.keys(a).forEach((o) => {
|
|
1437
1434
|
typeof a[o] == "function" && (n[o] = a[o]), typeof a[o] == "object" && Object.keys(a[o]).forEach((i) => {
|
|
@@ -1446,7 +1443,7 @@ function Fa(e, t) {
|
|
|
1446
1443
|
r.provides && r.provides(me);
|
|
1447
1444
|
}), n;
|
|
1448
1445
|
}
|
|
1449
|
-
function
|
|
1446
|
+
function ht(e, t) {
|
|
1450
1447
|
for (var n = arguments.length, r = new Array(n > 2 ? n - 2 : 0), a = 2; a < n; a++)
|
|
1451
1448
|
r[a - 2] = arguments[a];
|
|
1452
1449
|
return (de[e] || []).forEach((i) => {
|
|
@@ -1464,14 +1461,14 @@ function ie() {
|
|
|
1464
1461
|
const e = arguments[0], t = Array.prototype.slice.call(arguments, 1);
|
|
1465
1462
|
return me[e] ? me[e].apply(null, t) : void 0;
|
|
1466
1463
|
}
|
|
1467
|
-
function
|
|
1464
|
+
function gt(e) {
|
|
1468
1465
|
e.prefix === "fa" && (e.prefix = "fas");
|
|
1469
1466
|
let {
|
|
1470
1467
|
iconName: t
|
|
1471
1468
|
} = e;
|
|
1472
1469
|
const n = e.prefix || oe();
|
|
1473
1470
|
if (t)
|
|
1474
|
-
return t = le(n, t) || t,
|
|
1471
|
+
return t = le(n, t) || t, Xt(fr.definitions, n, t) || Xt(Q.styles, n, t);
|
|
1475
1472
|
}
|
|
1476
1473
|
const fr = new Ra(), La = () => {
|
|
1477
1474
|
v.autoReplaceSvg = !1, v.observeMutations = !1, fe("noAuto");
|
|
@@ -1501,14 +1498,14 @@ const fr = new Ra(), La = () => {
|
|
|
1501
1498
|
iconName: le(e.prefix, e.iconName) || e.iconName
|
|
1502
1499
|
};
|
|
1503
1500
|
if (Array.isArray(e) && e.length === 2) {
|
|
1504
|
-
const t = e[1].indexOf("fa-") === 0 ? e[1].slice(3) : e[1], n =
|
|
1501
|
+
const t = e[1].indexOf("fa-") === 0 ? e[1].slice(3) : e[1], n = ze(e[0]);
|
|
1505
1502
|
return {
|
|
1506
1503
|
prefix: n,
|
|
1507
1504
|
iconName: le(n, t) || t
|
|
1508
1505
|
};
|
|
1509
1506
|
}
|
|
1510
1507
|
if (typeof e == "string" && (e.indexOf("".concat(v.cssPrefix, "-")) > -1 || e.match(ra))) {
|
|
1511
|
-
const t =
|
|
1508
|
+
const t = $e(e.split(" "), {
|
|
1512
1509
|
skipLookups: !0
|
|
1513
1510
|
});
|
|
1514
1511
|
return {
|
|
@@ -1530,8 +1527,8 @@ const fr = new Ra(), La = () => {
|
|
|
1530
1527
|
dom: ja,
|
|
1531
1528
|
parse: Da,
|
|
1532
1529
|
library: fr,
|
|
1533
|
-
findIconDefinition:
|
|
1534
|
-
toHtml:
|
|
1530
|
+
findIconDefinition: gt,
|
|
1531
|
+
toHtml: Ee
|
|
1535
1532
|
}, za = function() {
|
|
1536
1533
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
1537
1534
|
const {
|
|
@@ -1541,12 +1538,12 @@ const fr = new Ra(), La = () => {
|
|
|
1541
1538
|
node: t
|
|
1542
1539
|
});
|
|
1543
1540
|
};
|
|
1544
|
-
function
|
|
1541
|
+
function Ye(e, t) {
|
|
1545
1542
|
return Object.defineProperty(e, "abstract", {
|
|
1546
1543
|
get: t
|
|
1547
1544
|
}), Object.defineProperty(e, "html", {
|
|
1548
1545
|
get: function() {
|
|
1549
|
-
return e.abstract.map((n) =>
|
|
1546
|
+
return e.abstract.map((n) => Ee(n));
|
|
1550
1547
|
}
|
|
1551
1548
|
}), Object.defineProperty(e, "node", {
|
|
1552
1549
|
get: function() {
|
|
@@ -1565,7 +1562,7 @@ function $a(e) {
|
|
|
1565
1562
|
styles: o,
|
|
1566
1563
|
transform: i
|
|
1567
1564
|
} = e;
|
|
1568
|
-
if (
|
|
1565
|
+
if (Nt(i) && n.found && !r.found) {
|
|
1569
1566
|
const {
|
|
1570
1567
|
width: s,
|
|
1571
1568
|
height: u
|
|
@@ -1573,7 +1570,7 @@ function $a(e) {
|
|
|
1573
1570
|
x: s / u / 2,
|
|
1574
1571
|
y: 0.5
|
|
1575
1572
|
};
|
|
1576
|
-
a.style =
|
|
1573
|
+
a.style = De(c(c({}, o), {}, {
|
|
1577
1574
|
"transform-origin": "".concat(l.x + i.x / 16, "em ").concat(l.y + i.y / 16, "em")
|
|
1578
1575
|
}));
|
|
1579
1576
|
}
|
|
@@ -1599,14 +1596,14 @@ function Ya(e) {
|
|
|
1599
1596
|
},
|
|
1600
1597
|
children: [{
|
|
1601
1598
|
tag: "symbol",
|
|
1602
|
-
attributes:
|
|
1599
|
+
attributes: c(c({}, a), {}, {
|
|
1603
1600
|
id: i
|
|
1604
1601
|
}),
|
|
1605
1602
|
children: r
|
|
1606
1603
|
}]
|
|
1607
1604
|
}];
|
|
1608
1605
|
}
|
|
1609
|
-
function
|
|
1606
|
+
function Ft(e) {
|
|
1610
1607
|
const {
|
|
1611
1608
|
icons: {
|
|
1612
1609
|
main: t,
|
|
@@ -1619,34 +1616,34 @@ function Lt(e) {
|
|
|
1619
1616
|
title: s,
|
|
1620
1617
|
maskId: u,
|
|
1621
1618
|
titleId: l,
|
|
1622
|
-
extra:
|
|
1619
|
+
extra: f,
|
|
1623
1620
|
watchable: h = !1
|
|
1624
1621
|
} = e, {
|
|
1625
1622
|
width: y,
|
|
1626
1623
|
height: w
|
|
1627
|
-
} = n.found ? n : t, L = Yr.includes(r), b = [v.replacementClass, a ? "".concat(v.cssPrefix, "-").concat(a) : ""].filter((m) =>
|
|
1624
|
+
} = n.found ? n : t, L = Yr.includes(r), b = [v.replacementClass, a ? "".concat(v.cssPrefix, "-").concat(a) : ""].filter((m) => f.classes.indexOf(m) === -1).filter((m) => m !== "" || !!m).concat(f.classes).join(" ");
|
|
1628
1625
|
let E = {
|
|
1629
1626
|
children: [],
|
|
1630
|
-
attributes:
|
|
1627
|
+
attributes: c(c({}, f.attributes), {}, {
|
|
1631
1628
|
"data-prefix": r,
|
|
1632
1629
|
"data-icon": a,
|
|
1633
1630
|
class: b,
|
|
1634
|
-
role:
|
|
1631
|
+
role: f.attributes.role || "img",
|
|
1635
1632
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1636
1633
|
viewBox: "0 0 ".concat(y, " ").concat(w)
|
|
1637
1634
|
})
|
|
1638
1635
|
};
|
|
1639
|
-
const O = L && !~
|
|
1636
|
+
const O = L && !~f.classes.indexOf("fa-fw") ? {
|
|
1640
1637
|
width: "".concat(y / w * 16 * 0.0625, "em")
|
|
1641
1638
|
} : {};
|
|
1642
1639
|
h && (E.attributes[ce] = ""), s && (E.children.push({
|
|
1643
1640
|
tag: "title",
|
|
1644
1641
|
attributes: {
|
|
1645
|
-
id: E.attributes["aria-labelledby"] || "title-".concat(l ||
|
|
1642
|
+
id: E.attributes["aria-labelledby"] || "title-".concat(l || xe())
|
|
1646
1643
|
},
|
|
1647
1644
|
children: [s]
|
|
1648
1645
|
}), delete E.attributes.title);
|
|
1649
|
-
const D =
|
|
1646
|
+
const D = c(c({}, E), {}, {
|
|
1650
1647
|
prefix: r,
|
|
1651
1648
|
iconName: a,
|
|
1652
1649
|
main: t,
|
|
@@ -1654,7 +1651,7 @@ function Lt(e) {
|
|
|
1654
1651
|
maskId: u,
|
|
1655
1652
|
transform: o,
|
|
1656
1653
|
symbol: i,
|
|
1657
|
-
styles:
|
|
1654
|
+
styles: c(c({}, O), f.styles)
|
|
1658
1655
|
}), {
|
|
1659
1656
|
children: k,
|
|
1660
1657
|
attributes: z
|
|
@@ -1667,7 +1664,7 @@ function Lt(e) {
|
|
|
1667
1664
|
};
|
|
1668
1665
|
return D.children = k, D.attributes = z, i ? Ya(D) : $a(D);
|
|
1669
1666
|
}
|
|
1670
|
-
function
|
|
1667
|
+
function Zt(e) {
|
|
1671
1668
|
const {
|
|
1672
1669
|
content: t,
|
|
1673
1670
|
width: n,
|
|
@@ -1676,21 +1673,21 @@ function en(e) {
|
|
|
1676
1673
|
title: o,
|
|
1677
1674
|
extra: i,
|
|
1678
1675
|
watchable: s = !1
|
|
1679
|
-
} = e, u =
|
|
1676
|
+
} = e, u = c(c(c({}, i.attributes), o ? {
|
|
1680
1677
|
title: o
|
|
1681
1678
|
} : {}), {}, {
|
|
1682
1679
|
class: i.classes.join(" ")
|
|
1683
1680
|
});
|
|
1684
1681
|
s && (u[ce] = "");
|
|
1685
|
-
const l =
|
|
1686
|
-
|
|
1682
|
+
const l = c({}, i.styles);
|
|
1683
|
+
Nt(a) && (l.transform = ha({
|
|
1687
1684
|
transform: a,
|
|
1688
1685
|
startCentered: !0,
|
|
1689
1686
|
width: n,
|
|
1690
1687
|
height: r
|
|
1691
1688
|
}), l["-webkit-transform"] = l.transform);
|
|
1692
|
-
const
|
|
1693
|
-
|
|
1689
|
+
const f = De(l);
|
|
1690
|
+
f.length > 0 && (u.style = f);
|
|
1694
1691
|
const h = [];
|
|
1695
1692
|
return h.push({
|
|
1696
1693
|
tag: "span",
|
|
@@ -1709,11 +1706,11 @@ function Wa(e) {
|
|
|
1709
1706
|
content: t,
|
|
1710
1707
|
title: n,
|
|
1711
1708
|
extra: r
|
|
1712
|
-
} = e, a =
|
|
1709
|
+
} = e, a = c(c(c({}, r.attributes), n ? {
|
|
1713
1710
|
title: n
|
|
1714
1711
|
} : {}), {}, {
|
|
1715
1712
|
class: r.classes.join(" ")
|
|
1716
|
-
}), o =
|
|
1713
|
+
}), o = De(r.styles);
|
|
1717
1714
|
o.length > 0 && (a.style = o);
|
|
1718
1715
|
const i = [];
|
|
1719
1716
|
return i.push({
|
|
@@ -1729,27 +1726,27 @@ function Wa(e) {
|
|
|
1729
1726
|
}), i;
|
|
1730
1727
|
}
|
|
1731
1728
|
const {
|
|
1732
|
-
styles:
|
|
1729
|
+
styles: Je
|
|
1733
1730
|
} = Q;
|
|
1734
|
-
function
|
|
1731
|
+
function yt(e) {
|
|
1735
1732
|
const t = e[0], n = e[1], [r] = e.slice(4);
|
|
1736
1733
|
let a = null;
|
|
1737
1734
|
return Array.isArray(r) ? a = {
|
|
1738
1735
|
tag: "g",
|
|
1739
1736
|
attributes: {
|
|
1740
|
-
class: "".concat(v.cssPrefix, "-").concat(
|
|
1737
|
+
class: "".concat(v.cssPrefix, "-").concat(Ge.GROUP)
|
|
1741
1738
|
},
|
|
1742
1739
|
children: [{
|
|
1743
1740
|
tag: "path",
|
|
1744
1741
|
attributes: {
|
|
1745
|
-
class: "".concat(v.cssPrefix, "-").concat(
|
|
1742
|
+
class: "".concat(v.cssPrefix, "-").concat(Ge.SECONDARY),
|
|
1746
1743
|
fill: "currentColor",
|
|
1747
1744
|
d: r[0]
|
|
1748
1745
|
}
|
|
1749
1746
|
}, {
|
|
1750
1747
|
tag: "path",
|
|
1751
1748
|
attributes: {
|
|
1752
|
-
class: "".concat(v.cssPrefix, "-").concat(
|
|
1749
|
+
class: "".concat(v.cssPrefix, "-").concat(Ge.PRIMARY),
|
|
1753
1750
|
fill: "currentColor",
|
|
1754
1751
|
d: r[1]
|
|
1755
1752
|
}
|
|
@@ -1775,47 +1772,47 @@ const Ua = {
|
|
|
1775
1772
|
function qa(e, t) {
|
|
1776
1773
|
!Vn && !v.showMissingIcons && e && console.error('Icon with name "'.concat(e, '" and prefix "').concat(t, '" is missing.'));
|
|
1777
1774
|
}
|
|
1778
|
-
function
|
|
1775
|
+
function vt(e, t) {
|
|
1779
1776
|
let n = t;
|
|
1780
1777
|
return t === "fa" && v.styleDefault !== null && (t = oe()), new Promise((r, a) => {
|
|
1781
1778
|
if (n === "fa") {
|
|
1782
1779
|
const o = lr(e) || {};
|
|
1783
1780
|
e = o.iconName || e, t = o.prefix || t;
|
|
1784
1781
|
}
|
|
1785
|
-
if (e && t &&
|
|
1786
|
-
const o =
|
|
1787
|
-
return r(
|
|
1782
|
+
if (e && t && Je[t] && Je[t][e]) {
|
|
1783
|
+
const o = Je[t][e];
|
|
1784
|
+
return r(yt(o));
|
|
1788
1785
|
}
|
|
1789
|
-
qa(e, t), r(
|
|
1786
|
+
qa(e, t), r(c(c({}, Ua), {}, {
|
|
1790
1787
|
icon: v.showMissingIcons && e ? ie("missingIconAbstract") || {} : {}
|
|
1791
1788
|
}));
|
|
1792
1789
|
});
|
|
1793
1790
|
}
|
|
1794
|
-
const
|
|
1795
|
-
},
|
|
1796
|
-
mark:
|
|
1797
|
-
measure:
|
|
1798
|
-
}, ye = 'FA "6.7.2"', Ba = (e) => (
|
|
1799
|
-
|
|
1791
|
+
const en = () => {
|
|
1792
|
+
}, bt = v.measurePerformance && Te && Te.mark && Te.measure ? Te : {
|
|
1793
|
+
mark: en,
|
|
1794
|
+
measure: en
|
|
1795
|
+
}, ye = 'FA "6.7.2"', Ba = (e) => (bt.mark("".concat(ye, " ").concat(e, " begins")), () => ur(e)), ur = (e) => {
|
|
1796
|
+
bt.mark("".concat(ye, " ").concat(e, " ends")), bt.measure("".concat(ye, " ").concat(e), "".concat(ye, " ").concat(e, " begins"), "".concat(ye, " ").concat(e, " ends"));
|
|
1800
1797
|
};
|
|
1801
|
-
var
|
|
1798
|
+
var Lt = {
|
|
1802
1799
|
begin: Ba,
|
|
1803
1800
|
end: ur
|
|
1804
1801
|
};
|
|
1805
|
-
const
|
|
1802
|
+
const Ie = () => {
|
|
1806
1803
|
};
|
|
1807
|
-
function
|
|
1804
|
+
function tn(e) {
|
|
1808
1805
|
return typeof (e.getAttribute ? e.getAttribute(ce) : null) == "string";
|
|
1809
1806
|
}
|
|
1810
1807
|
function Ha(e) {
|
|
1811
|
-
const t = e.getAttribute ? e.getAttribute(
|
|
1808
|
+
const t = e.getAttribute ? e.getAttribute(kt) : null, n = e.getAttribute ? e.getAttribute(Ct) : null;
|
|
1812
1809
|
return t && n;
|
|
1813
1810
|
}
|
|
1814
1811
|
function Va(e) {
|
|
1815
1812
|
return e && e.classList && e.classList.contains && e.classList.contains(v.replacementClass);
|
|
1816
1813
|
}
|
|
1817
1814
|
function Ga() {
|
|
1818
|
-
return v.autoReplaceSvg === !0 ?
|
|
1815
|
+
return v.autoReplaceSvg === !0 ? Ne.replace : Ne[v.autoReplaceSvg] || Ne.replace;
|
|
1819
1816
|
}
|
|
1820
1817
|
function Xa(e) {
|
|
1821
1818
|
return $.createElementNS("http://www.w3.org/2000/svg", e);
|
|
@@ -1843,7 +1840,7 @@ function Ja(e) {
|
|
|
1843
1840
|
let t = " ".concat(e.outerHTML, " ");
|
|
1844
1841
|
return t = "".concat(t, "Font Awesome fontawesome.com "), t;
|
|
1845
1842
|
}
|
|
1846
|
-
const
|
|
1843
|
+
const Ne = {
|
|
1847
1844
|
replace: function(e) {
|
|
1848
1845
|
const t = e[0];
|
|
1849
1846
|
if (t.parentNode)
|
|
@@ -1857,8 +1854,8 @@ const Re = {
|
|
|
1857
1854
|
},
|
|
1858
1855
|
nest: function(e) {
|
|
1859
1856
|
const t = e[0], n = e[1];
|
|
1860
|
-
if (~
|
|
1861
|
-
return
|
|
1857
|
+
if (~It(t).indexOf(v.replacementClass))
|
|
1858
|
+
return Ne.replace(e);
|
|
1862
1859
|
const r = new RegExp("".concat(v.cssPrefix, "-.*"));
|
|
1863
1860
|
if (delete n[0].attributes.id, n[0].attributes.class) {
|
|
1864
1861
|
const o = n[0].attributes.class.split(" ").reduce((i, s) => (s === v.replacementClass || s.match(r) ? i.toSvg.push(s) : i.toNode.push(s), i), {
|
|
@@ -1867,57 +1864,57 @@ const Re = {
|
|
|
1867
1864
|
});
|
|
1868
1865
|
n[0].attributes.class = o.toSvg.join(" "), o.toNode.length === 0 ? t.removeAttribute("class") : t.setAttribute("class", o.toNode.join(" "));
|
|
1869
1866
|
}
|
|
1870
|
-
const a = n.map((o) =>
|
|
1867
|
+
const a = n.map((o) => Ee(o)).join(`
|
|
1871
1868
|
`);
|
|
1872
1869
|
t.setAttribute(ce, ""), t.innerHTML = a;
|
|
1873
1870
|
}
|
|
1874
1871
|
};
|
|
1875
|
-
function
|
|
1872
|
+
function nn(e) {
|
|
1876
1873
|
e();
|
|
1877
1874
|
}
|
|
1878
1875
|
function mr(e, t) {
|
|
1879
|
-
const n = typeof t == "function" ? t :
|
|
1876
|
+
const n = typeof t == "function" ? t : Ie;
|
|
1880
1877
|
if (e.length === 0)
|
|
1881
1878
|
n();
|
|
1882
1879
|
else {
|
|
1883
|
-
let r =
|
|
1884
|
-
v.mutateApproach === ea && (r = ae.requestAnimationFrame ||
|
|
1885
|
-
const a = Ga(), o =
|
|
1880
|
+
let r = nn;
|
|
1881
|
+
v.mutateApproach === ea && (r = ae.requestAnimationFrame || nn), r(() => {
|
|
1882
|
+
const a = Ga(), o = Lt.begin("mutate");
|
|
1886
1883
|
e.map(a), o(), n();
|
|
1887
1884
|
});
|
|
1888
1885
|
}
|
|
1889
1886
|
}
|
|
1890
|
-
let
|
|
1887
|
+
let jt = !1;
|
|
1891
1888
|
function pr() {
|
|
1892
|
-
|
|
1889
|
+
jt = !0;
|
|
1893
1890
|
}
|
|
1894
|
-
function
|
|
1895
|
-
|
|
1891
|
+
function xt() {
|
|
1892
|
+
jt = !1;
|
|
1896
1893
|
}
|
|
1897
|
-
let
|
|
1898
|
-
function
|
|
1899
|
-
if (!
|
|
1894
|
+
let Fe = null;
|
|
1895
|
+
function rn(e) {
|
|
1896
|
+
if (!Ut || !v.observeMutations)
|
|
1900
1897
|
return;
|
|
1901
1898
|
const {
|
|
1902
|
-
treeCallback: t =
|
|
1903
|
-
nodeCallback: n =
|
|
1904
|
-
pseudoElementsCallback: r =
|
|
1899
|
+
treeCallback: t = Ie,
|
|
1900
|
+
nodeCallback: n = Ie,
|
|
1901
|
+
pseudoElementsCallback: r = Ie,
|
|
1905
1902
|
observeMutationsRoot: a = $
|
|
1906
1903
|
} = e;
|
|
1907
|
-
|
|
1908
|
-
if (
|
|
1904
|
+
Fe = new Ut((o) => {
|
|
1905
|
+
if (jt) return;
|
|
1909
1906
|
const i = oe();
|
|
1910
1907
|
he(o).forEach((s) => {
|
|
1911
|
-
if (s.type === "childList" && s.addedNodes.length > 0 && !
|
|
1908
|
+
if (s.type === "childList" && s.addedNodes.length > 0 && !tn(s.addedNodes[0]) && (v.searchPseudoElements && r(s.target), t(s.target)), s.type === "attributes" && s.target.parentNode && v.searchPseudoElements && r(s.target.parentNode), s.type === "attributes" && tn(s.target) && ~ia.indexOf(s.attributeName))
|
|
1912
1909
|
if (s.attributeName === "class" && Ha(s.target)) {
|
|
1913
1910
|
const {
|
|
1914
1911
|
prefix: u,
|
|
1915
1912
|
iconName: l
|
|
1916
|
-
} =
|
|
1917
|
-
s.target.setAttribute(
|
|
1913
|
+
} = $e(It(s.target));
|
|
1914
|
+
s.target.setAttribute(kt, u || i), l && s.target.setAttribute(Ct, l);
|
|
1918
1915
|
} else Va(s.target) && n(s.target);
|
|
1919
1916
|
});
|
|
1920
|
-
}), te &&
|
|
1917
|
+
}), te && Fe.observe(a, {
|
|
1921
1918
|
childList: !0,
|
|
1922
1919
|
attributes: !0,
|
|
1923
1920
|
characterData: !0,
|
|
@@ -1925,7 +1922,7 @@ function an(e) {
|
|
|
1925
1922
|
});
|
|
1926
1923
|
}
|
|
1927
1924
|
function Qa() {
|
|
1928
|
-
|
|
1925
|
+
Fe && Fe.disconnect();
|
|
1929
1926
|
}
|
|
1930
1927
|
function Za(e) {
|
|
1931
1928
|
const t = e.getAttribute("style");
|
|
@@ -1937,12 +1934,12 @@ function Za(e) {
|
|
|
1937
1934
|
}
|
|
1938
1935
|
function eo(e) {
|
|
1939
1936
|
const t = e.getAttribute("data-prefix"), n = e.getAttribute("data-icon"), r = e.innerText !== void 0 ? e.innerText.trim() : "";
|
|
1940
|
-
let a =
|
|
1941
|
-
return a.prefix || (a.prefix = oe()), t && n && (a.prefix = t, a.iconName = n), a.iconName && a.prefix || (a.prefix && r.length > 0 && (a.iconName = Oa(a.prefix, e.innerText) ||
|
|
1937
|
+
let a = $e(It(e));
|
|
1938
|
+
return a.prefix || (a.prefix = oe()), t && n && (a.prefix = t, a.iconName = n), a.iconName && a.prefix || (a.prefix && r.length > 0 && (a.iconName = Oa(a.prefix, e.innerText) || Mt(a.prefix, mt(e.innerText))), !a.iconName && v.autoFetchSvg && e.firstChild && e.firstChild.nodeType === Node.TEXT_NODE && (a.iconName = e.firstChild.data)), a;
|
|
1942
1939
|
}
|
|
1943
1940
|
function to(e) {
|
|
1944
1941
|
const t = he(e.attributes).reduce((a, o) => (a.name !== "class" && a.name !== "style" && (a[o.name] = o.value), a), {}), n = e.getAttribute("title"), r = e.getAttribute("data-fa-title-id");
|
|
1945
|
-
return v.autoA11y && (n ? t["aria-labelledby"] = "".concat(v.replacementClass, "-title-").concat(r ||
|
|
1942
|
+
return v.autoA11y && (n ? t["aria-labelledby"] = "".concat(v.replacementClass, "-title-").concat(r || xe()) : (t["aria-hidden"] = "true", t.focusable = "false")), t;
|
|
1946
1943
|
}
|
|
1947
1944
|
function no() {
|
|
1948
1945
|
return {
|
|
@@ -1965,7 +1962,7 @@ function no() {
|
|
|
1965
1962
|
}
|
|
1966
1963
|
};
|
|
1967
1964
|
}
|
|
1968
|
-
function
|
|
1965
|
+
function an(e) {
|
|
1969
1966
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {
|
|
1970
1967
|
styleParser: !0
|
|
1971
1968
|
};
|
|
@@ -1973,9 +1970,9 @@ function on(e) {
|
|
|
1973
1970
|
iconName: n,
|
|
1974
1971
|
prefix: r,
|
|
1975
1972
|
rest: a
|
|
1976
|
-
} = eo(e), o = to(e), i =
|
|
1973
|
+
} = eo(e), o = to(e), i = ht("parseNodeAttributes", {}, e);
|
|
1977
1974
|
let s = t.styleParser ? Za(e) : [];
|
|
1978
|
-
return
|
|
1975
|
+
return c({
|
|
1979
1976
|
iconName: n,
|
|
1980
1977
|
title: e.getAttribute("title"),
|
|
1981
1978
|
titleId: e.getAttribute("data-fa-title-id"),
|
|
@@ -1999,20 +1996,20 @@ const {
|
|
|
1999
1996
|
styles: ro
|
|
2000
1997
|
} = Q;
|
|
2001
1998
|
function hr(e) {
|
|
2002
|
-
const t = v.autoReplaceSvg === "nest" ?
|
|
1999
|
+
const t = v.autoReplaceSvg === "nest" ? an(e, {
|
|
2003
2000
|
styleParser: !1
|
|
2004
|
-
}) :
|
|
2001
|
+
}) : an(e);
|
|
2005
2002
|
return ~t.extra.classes.indexOf(Xn) ? ie("generateLayersText", e, t) : ie("generateSvgReplacementMutation", e, t);
|
|
2006
2003
|
}
|
|
2007
2004
|
function ao() {
|
|
2008
|
-
return [...Dr, ...
|
|
2005
|
+
return [...Dr, ...st];
|
|
2009
2006
|
}
|
|
2010
|
-
function
|
|
2007
|
+
function on(e) {
|
|
2011
2008
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null;
|
|
2012
2009
|
if (!te) return Promise.resolve();
|
|
2013
|
-
const n = $.documentElement.classList, r = (
|
|
2010
|
+
const n = $.documentElement.classList, r = (f) => n.add("".concat(Ht, "-").concat(f)), a = (f) => n.remove("".concat(Ht, "-").concat(f)), o = v.autoFetchSvg ? ao() : Wn.concat(Object.keys(ro));
|
|
2014
2011
|
o.includes("fa") || o.push("fa");
|
|
2015
|
-
const i = [".".concat(Xn, ":not([").concat(ce, "])")].concat(o.map((
|
|
2012
|
+
const i = [".".concat(Xn, ":not([").concat(ce, "])")].concat(o.map((f) => ".".concat(f, ":not([").concat(ce, "])"))).join(", ");
|
|
2016
2013
|
if (i.length === 0)
|
|
2017
2014
|
return Promise.resolve();
|
|
2018
2015
|
let s = [];
|
|
@@ -2024,19 +2021,19 @@ function sn(e) {
|
|
|
2024
2021
|
r("pending"), a("complete");
|
|
2025
2022
|
else
|
|
2026
2023
|
return Promise.resolve();
|
|
2027
|
-
const u =
|
|
2024
|
+
const u = Lt.begin("onTree"), l = s.reduce((f, h) => {
|
|
2028
2025
|
try {
|
|
2029
2026
|
const y = hr(h);
|
|
2030
|
-
y &&
|
|
2027
|
+
y && f.push(y);
|
|
2031
2028
|
} catch (y) {
|
|
2032
2029
|
Vn || y.name === "MissingIcon" && console.error(y);
|
|
2033
2030
|
}
|
|
2034
|
-
return
|
|
2031
|
+
return f;
|
|
2035
2032
|
}, []);
|
|
2036
|
-
return new Promise((
|
|
2033
|
+
return new Promise((f, h) => {
|
|
2037
2034
|
Promise.all(l).then((y) => {
|
|
2038
2035
|
mr(y, () => {
|
|
2039
|
-
r("active"), r("complete"), a("pending"), typeof t == "function" && t(), u(),
|
|
2036
|
+
r("active"), r("complete"), a("pending"), typeof t == "function" && t(), u(), f();
|
|
2040
2037
|
});
|
|
2041
2038
|
}).catch((y) => {
|
|
2042
2039
|
u(), h(y);
|
|
@@ -2052,11 +2049,11 @@ function oo(e) {
|
|
|
2052
2049
|
function io(e) {
|
|
2053
2050
|
return function(t) {
|
|
2054
2051
|
let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
2055
|
-
const r = (t || {}).icon ? t :
|
|
2052
|
+
const r = (t || {}).icon ? t : gt(t || {});
|
|
2056
2053
|
let {
|
|
2057
2054
|
mask: a
|
|
2058
2055
|
} = n;
|
|
2059
|
-
return a && (a = (a || {}).icon ? a :
|
|
2056
|
+
return a && (a = (a || {}).icon ? a : gt(a || {})), e(r, c(c({}, n), {}, {
|
|
2060
2057
|
mask: a
|
|
2061
2058
|
}));
|
|
2062
2059
|
};
|
|
@@ -2072,7 +2069,7 @@ const so = function(e) {
|
|
|
2072
2069
|
titleId: s = null,
|
|
2073
2070
|
classes: u = [],
|
|
2074
2071
|
attributes: l = {},
|
|
2075
|
-
styles:
|
|
2072
|
+
styles: f = {}
|
|
2076
2073
|
} = t;
|
|
2077
2074
|
if (!e) return;
|
|
2078
2075
|
const {
|
|
@@ -2080,15 +2077,15 @@ const so = function(e) {
|
|
|
2080
2077
|
iconName: y,
|
|
2081
2078
|
icon: w
|
|
2082
2079
|
} = e;
|
|
2083
|
-
return
|
|
2080
|
+
return Ye(c({
|
|
2084
2081
|
type: "icon"
|
|
2085
2082
|
}, e), () => (fe("beforeDOMElementCreation", {
|
|
2086
2083
|
iconDefinition: e,
|
|
2087
2084
|
params: t
|
|
2088
|
-
}), v.autoA11y && (i ? l["aria-labelledby"] = "".concat(v.replacementClass, "-title-").concat(s ||
|
|
2085
|
+
}), v.autoA11y && (i ? l["aria-labelledby"] = "".concat(v.replacementClass, "-title-").concat(s || xe()) : (l["aria-hidden"] = "true", l.focusable = "false")), Ft({
|
|
2089
2086
|
icons: {
|
|
2090
|
-
main:
|
|
2091
|
-
mask: a ?
|
|
2087
|
+
main: yt(w),
|
|
2088
|
+
mask: a ? yt(a.icon) : {
|
|
2092
2089
|
found: !1,
|
|
2093
2090
|
width: null,
|
|
2094
2091
|
height: null,
|
|
@@ -2097,14 +2094,14 @@ const so = function(e) {
|
|
|
2097
2094
|
},
|
|
2098
2095
|
prefix: h,
|
|
2099
2096
|
iconName: y,
|
|
2100
|
-
transform:
|
|
2097
|
+
transform: c(c({}, J), n),
|
|
2101
2098
|
symbol: r,
|
|
2102
2099
|
title: i,
|
|
2103
2100
|
maskId: o,
|
|
2104
2101
|
titleId: s,
|
|
2105
2102
|
extra: {
|
|
2106
2103
|
attributes: l,
|
|
2107
|
-
styles:
|
|
2104
|
+
styles: f,
|
|
2108
2105
|
classes: u
|
|
2109
2106
|
}
|
|
2110
2107
|
})));
|
|
@@ -2118,7 +2115,7 @@ var lo = {
|
|
|
2118
2115
|
hooks() {
|
|
2119
2116
|
return {
|
|
2120
2117
|
mutationObserverCallbacks(e) {
|
|
2121
|
-
return e.treeCallback =
|
|
2118
|
+
return e.treeCallback = on, e.nodeCallback = oo, e;
|
|
2122
2119
|
}
|
|
2123
2120
|
};
|
|
2124
2121
|
},
|
|
@@ -2129,7 +2126,7 @@ var lo = {
|
|
|
2129
2126
|
callback: r = () => {
|
|
2130
2127
|
}
|
|
2131
2128
|
} = t;
|
|
2132
|
-
return
|
|
2129
|
+
return on(n, r);
|
|
2133
2130
|
}, e.generateSvgReplacementMutation = function(t, n) {
|
|
2134
2131
|
const {
|
|
2135
2132
|
iconName: r,
|
|
@@ -2139,18 +2136,18 @@ var lo = {
|
|
|
2139
2136
|
transform: s,
|
|
2140
2137
|
symbol: u,
|
|
2141
2138
|
mask: l,
|
|
2142
|
-
maskId:
|
|
2139
|
+
maskId: f,
|
|
2143
2140
|
extra: h
|
|
2144
2141
|
} = n;
|
|
2145
2142
|
return new Promise((y, w) => {
|
|
2146
|
-
Promise.all([
|
|
2143
|
+
Promise.all([vt(r, i), l.iconName ? vt(l.iconName, l.prefix) : Promise.resolve({
|
|
2147
2144
|
found: !1,
|
|
2148
2145
|
width: 512,
|
|
2149
2146
|
height: 512,
|
|
2150
2147
|
icon: {}
|
|
2151
2148
|
})]).then((L) => {
|
|
2152
2149
|
let [b, E] = L;
|
|
2153
|
-
y([t,
|
|
2150
|
+
y([t, Ft({
|
|
2154
2151
|
icons: {
|
|
2155
2152
|
main: b,
|
|
2156
2153
|
mask: E
|
|
@@ -2159,7 +2156,7 @@ var lo = {
|
|
|
2159
2156
|
iconName: r,
|
|
2160
2157
|
transform: s,
|
|
2161
2158
|
symbol: u,
|
|
2162
|
-
maskId:
|
|
2159
|
+
maskId: f,
|
|
2163
2160
|
title: a,
|
|
2164
2161
|
titleId: o,
|
|
2165
2162
|
extra: h,
|
|
@@ -2175,10 +2172,10 @@ var lo = {
|
|
|
2175
2172
|
transform: o,
|
|
2176
2173
|
styles: i
|
|
2177
2174
|
} = t;
|
|
2178
|
-
const s =
|
|
2175
|
+
const s = De(i);
|
|
2179
2176
|
s.length > 0 && (r.style = s);
|
|
2180
2177
|
let u;
|
|
2181
|
-
return
|
|
2178
|
+
return Nt(o) && (u = ie("generateAbstractTransformGrouping", {
|
|
2182
2179
|
main: a,
|
|
2183
2180
|
transform: o,
|
|
2184
2181
|
containerWidth: a.width,
|
|
@@ -2197,7 +2194,7 @@ var lo = {
|
|
|
2197
2194
|
const {
|
|
2198
2195
|
classes: n = []
|
|
2199
2196
|
} = t;
|
|
2200
|
-
return
|
|
2197
|
+
return Ye({
|
|
2201
2198
|
type: "layer"
|
|
2202
2199
|
}, () => {
|
|
2203
2200
|
fe("beforeDOMElementCreation", {
|
|
@@ -2231,7 +2228,7 @@ var lo = {
|
|
|
2231
2228
|
attributes: a = {},
|
|
2232
2229
|
styles: o = {}
|
|
2233
2230
|
} = t;
|
|
2234
|
-
return
|
|
2231
|
+
return Ye({
|
|
2235
2232
|
type: "counter",
|
|
2236
2233
|
content: e
|
|
2237
2234
|
}, () => (fe("beforeDOMElementCreation", {
|
|
@@ -2261,15 +2258,15 @@ var lo = {
|
|
|
2261
2258
|
attributes: o = {},
|
|
2262
2259
|
styles: i = {}
|
|
2263
2260
|
} = t;
|
|
2264
|
-
return
|
|
2261
|
+
return Ye({
|
|
2265
2262
|
type: "text",
|
|
2266
2263
|
content: e
|
|
2267
2264
|
}, () => (fe("beforeDOMElementCreation", {
|
|
2268
2265
|
content: e,
|
|
2269
2266
|
params: t
|
|
2270
|
-
}),
|
|
2267
|
+
}), Zt({
|
|
2271
2268
|
content: e,
|
|
2272
|
-
transform:
|
|
2269
|
+
transform: c(c({}, J), n),
|
|
2273
2270
|
title: r,
|
|
2274
2271
|
extra: {
|
|
2275
2272
|
attributes: o,
|
|
@@ -2292,7 +2289,7 @@ var lo = {
|
|
|
2292
2289
|
const u = parseInt(getComputedStyle(t).fontSize, 10), l = t.getBoundingClientRect();
|
|
2293
2290
|
i = l.width / u, s = l.height / u;
|
|
2294
2291
|
}
|
|
2295
|
-
return v.autoA11y && !r && (o.attributes["aria-hidden"] = "true"), Promise.resolve([t,
|
|
2292
|
+
return v.autoA11y && !r && (o.attributes["aria-hidden"] = "true"), Promise.resolve([t, Zt({
|
|
2296
2293
|
content: t.innerHTML,
|
|
2297
2294
|
width: i,
|
|
2298
2295
|
height: s,
|
|
@@ -2304,53 +2301,53 @@ var lo = {
|
|
|
2304
2301
|
};
|
|
2305
2302
|
}
|
|
2306
2303
|
};
|
|
2307
|
-
const mo = new RegExp('"', "ug"),
|
|
2304
|
+
const mo = new RegExp('"', "ug"), sn = [1105920, 1112319], ln = c(c(c(c({}, {
|
|
2308
2305
|
FontAwesome: {
|
|
2309
2306
|
normal: "fas",
|
|
2310
2307
|
400: "fas"
|
|
2311
2308
|
}
|
|
2312
|
-
}), Fr), Qr), Br),
|
|
2313
|
-
const n =
|
|
2309
|
+
}), Fr), Qr), Br), wt = Object.keys(ln).reduce((e, t) => (e[t.toLowerCase()] = ln[t], e), {}), po = Object.keys(wt).reduce((e, t) => {
|
|
2310
|
+
const n = wt[t];
|
|
2314
2311
|
return e[t] = n[900] || [...Object.entries(n)][0][1], e;
|
|
2315
2312
|
}, {});
|
|
2316
2313
|
function ho(e) {
|
|
2317
|
-
const t = e.replace(mo, ""), n = xa(t, 0), r = n >=
|
|
2314
|
+
const t = e.replace(mo, ""), n = xa(t, 0), r = n >= sn[0] && n <= sn[1], a = t.length === 2 ? t[0] === t[1] : !1;
|
|
2318
2315
|
return {
|
|
2319
|
-
value:
|
|
2316
|
+
value: mt(a ? t[0] : t),
|
|
2320
2317
|
isSecondary: r || a
|
|
2321
2318
|
};
|
|
2322
2319
|
}
|
|
2323
2320
|
function go(e, t) {
|
|
2324
2321
|
const n = e.replace(/^['"]|['"]$/g, "").toLowerCase(), r = parseInt(t), a = isNaN(r) ? "normal" : r;
|
|
2325
|
-
return (
|
|
2322
|
+
return (wt[n] || {})[a] || po[n];
|
|
2326
2323
|
}
|
|
2327
|
-
function
|
|
2324
|
+
function cn(e, t) {
|
|
2328
2325
|
const n = "".concat(Zr).concat(t.replace(":", "-"));
|
|
2329
2326
|
return new Promise((r, a) => {
|
|
2330
2327
|
if (e.getAttribute(n) !== null)
|
|
2331
2328
|
return r();
|
|
2332
|
-
const i = he(e.children).filter((y) => y.getAttribute(
|
|
2329
|
+
const i = he(e.children).filter((y) => y.getAttribute(ct) === t)[0], s = ae.getComputedStyle(e, t), u = s.getPropertyValue("font-family"), l = u.match(aa), f = s.getPropertyValue("font-weight"), h = s.getPropertyValue("content");
|
|
2333
2330
|
if (i && !l)
|
|
2334
2331
|
return e.removeChild(i), r();
|
|
2335
2332
|
if (l && h !== "none" && h !== "") {
|
|
2336
2333
|
const y = s.getPropertyValue("content");
|
|
2337
|
-
let w = go(u,
|
|
2334
|
+
let w = go(u, f);
|
|
2338
2335
|
const {
|
|
2339
2336
|
value: L,
|
|
2340
2337
|
isSecondary: b
|
|
2341
2338
|
} = ho(y), E = l[0].startsWith("FontAwesome");
|
|
2342
|
-
let O =
|
|
2339
|
+
let O = Mt(w, L), D = O;
|
|
2343
2340
|
if (E) {
|
|
2344
2341
|
const k = Pa(L);
|
|
2345
2342
|
k.iconName && k.prefix && (O = k.iconName, w = k.prefix);
|
|
2346
2343
|
}
|
|
2347
|
-
if (O && !b && (!i || i.getAttribute(
|
|
2344
|
+
if (O && !b && (!i || i.getAttribute(kt) !== w || i.getAttribute(Ct) !== D)) {
|
|
2348
2345
|
e.setAttribute(n, D), i && e.removeChild(i);
|
|
2349
2346
|
const k = no(), {
|
|
2350
2347
|
extra: z
|
|
2351
2348
|
} = k;
|
|
2352
|
-
z.attributes[
|
|
2353
|
-
const q =
|
|
2349
|
+
z.attributes[ct] = t, vt(O, w).then((m) => {
|
|
2350
|
+
const q = Ft(c(c({}, k), {}, {
|
|
2354
2351
|
icons: {
|
|
2355
2352
|
main: m,
|
|
2356
2353
|
mask: cr()
|
|
@@ -2360,7 +2357,7 @@ function fn(e, t) {
|
|
|
2360
2357
|
extra: z,
|
|
2361
2358
|
watchable: !0
|
|
2362
2359
|
})), H = $.createElementNS("http://www.w3.org/2000/svg", "svg");
|
|
2363
|
-
t === "::before" ? e.insertBefore(H, e.firstChild) : e.appendChild(H), H.outerHTML = q.map((V) =>
|
|
2360
|
+
t === "::before" ? e.insertBefore(H, e.firstChild) : e.appendChild(H), H.outerHTML = q.map((V) => Ee(V)).join(`
|
|
2364
2361
|
`), e.removeAttribute(n), r();
|
|
2365
2362
|
}).catch(a);
|
|
2366
2363
|
} else
|
|
@@ -2370,19 +2367,19 @@ function fn(e, t) {
|
|
|
2370
2367
|
});
|
|
2371
2368
|
}
|
|
2372
2369
|
function yo(e) {
|
|
2373
|
-
return Promise.all([
|
|
2370
|
+
return Promise.all([cn(e, "::before"), cn(e, "::after")]);
|
|
2374
2371
|
}
|
|
2375
2372
|
function vo(e) {
|
|
2376
|
-
return e.parentNode !== document.head && !~ta.indexOf(e.tagName.toUpperCase()) && !e.getAttribute(
|
|
2373
|
+
return e.parentNode !== document.head && !~ta.indexOf(e.tagName.toUpperCase()) && !e.getAttribute(ct) && (!e.parentNode || e.parentNode.tagName !== "svg");
|
|
2377
2374
|
}
|
|
2378
|
-
function
|
|
2375
|
+
function fn(e) {
|
|
2379
2376
|
if (te)
|
|
2380
2377
|
return new Promise((t, n) => {
|
|
2381
|
-
const r = he(e.querySelectorAll("*")).filter(vo).map(yo), a =
|
|
2378
|
+
const r = he(e.querySelectorAll("*")).filter(vo).map(yo), a = Lt.begin("searchPseudoElements");
|
|
2382
2379
|
pr(), Promise.all(r).then(() => {
|
|
2383
|
-
a(),
|
|
2380
|
+
a(), xt(), t();
|
|
2384
2381
|
}).catch(() => {
|
|
2385
|
-
a(),
|
|
2382
|
+
a(), xt(), n();
|
|
2386
2383
|
});
|
|
2387
2384
|
});
|
|
2388
2385
|
}
|
|
@@ -2390,7 +2387,7 @@ var bo = {
|
|
|
2390
2387
|
hooks() {
|
|
2391
2388
|
return {
|
|
2392
2389
|
mutationObserverCallbacks(e) {
|
|
2393
|
-
return e.pseudoElementsCallback =
|
|
2390
|
+
return e.pseudoElementsCallback = fn, e;
|
|
2394
2391
|
}
|
|
2395
2392
|
};
|
|
2396
2393
|
},
|
|
@@ -2399,17 +2396,17 @@ var bo = {
|
|
|
2399
2396
|
const {
|
|
2400
2397
|
node: n = $
|
|
2401
2398
|
} = t;
|
|
2402
|
-
v.searchPseudoElements &&
|
|
2399
|
+
v.searchPseudoElements && fn(n);
|
|
2403
2400
|
};
|
|
2404
2401
|
}
|
|
2405
2402
|
};
|
|
2406
|
-
let
|
|
2403
|
+
let un = !1;
|
|
2407
2404
|
var xo = {
|
|
2408
2405
|
mixout() {
|
|
2409
2406
|
return {
|
|
2410
2407
|
dom: {
|
|
2411
2408
|
unwatch() {
|
|
2412
|
-
pr(),
|
|
2409
|
+
pr(), un = !0;
|
|
2413
2410
|
}
|
|
2414
2411
|
}
|
|
2415
2412
|
};
|
|
@@ -2417,7 +2414,7 @@ var xo = {
|
|
|
2417
2414
|
hooks() {
|
|
2418
2415
|
return {
|
|
2419
2416
|
bootstrap() {
|
|
2420
|
-
|
|
2417
|
+
rn(ht("mutationObserverCallbacks", {}));
|
|
2421
2418
|
},
|
|
2422
2419
|
noAuto() {
|
|
2423
2420
|
Qa();
|
|
@@ -2426,14 +2423,14 @@ var xo = {
|
|
|
2426
2423
|
const {
|
|
2427
2424
|
observeMutationsRoot: t
|
|
2428
2425
|
} = e;
|
|
2429
|
-
|
|
2426
|
+
un ? xt() : rn(ht("mutationObserverCallbacks", {
|
|
2430
2427
|
observeMutationsRoot: t
|
|
2431
2428
|
}));
|
|
2432
2429
|
}
|
|
2433
2430
|
};
|
|
2434
2431
|
}
|
|
2435
2432
|
};
|
|
2436
|
-
const
|
|
2433
|
+
const dn = (e) => {
|
|
2437
2434
|
let t = {
|
|
2438
2435
|
size: 16,
|
|
2439
2436
|
x: 0,
|
|
@@ -2481,7 +2478,7 @@ var wo = {
|
|
|
2481
2478
|
mixout() {
|
|
2482
2479
|
return {
|
|
2483
2480
|
parse: {
|
|
2484
|
-
transform: (e) =>
|
|
2481
|
+
transform: (e) => dn(e)
|
|
2485
2482
|
}
|
|
2486
2483
|
};
|
|
2487
2484
|
},
|
|
@@ -2489,7 +2486,7 @@ var wo = {
|
|
|
2489
2486
|
return {
|
|
2490
2487
|
parseNodeAttributes(e, t) {
|
|
2491
2488
|
const n = t.getAttribute("data-fa-transform");
|
|
2492
|
-
return n && (e.transform =
|
|
2489
|
+
return n && (e.transform = dn(n)), e;
|
|
2493
2490
|
}
|
|
2494
2491
|
};
|
|
2495
2492
|
},
|
|
@@ -2503,38 +2500,38 @@ var wo = {
|
|
|
2503
2500
|
} = t;
|
|
2504
2501
|
const i = {
|
|
2505
2502
|
transform: "translate(".concat(a / 2, " 256)")
|
|
2506
|
-
}, s = "translate(".concat(r.x * 32, ", ").concat(r.y * 32, ") "), u = "scale(".concat(r.size / 16 * (r.flipX ? -1 : 1), ", ").concat(r.size / 16 * (r.flipY ? -1 : 1), ") "), l = "rotate(".concat(r.rotate, " 0 0)"),
|
|
2503
|
+
}, s = "translate(".concat(r.x * 32, ", ").concat(r.y * 32, ") "), u = "scale(".concat(r.size / 16 * (r.flipX ? -1 : 1), ", ").concat(r.size / 16 * (r.flipY ? -1 : 1), ") "), l = "rotate(".concat(r.rotate, " 0 0)"), f = {
|
|
2507
2504
|
transform: "".concat(s, " ").concat(u, " ").concat(l)
|
|
2508
2505
|
}, h = {
|
|
2509
2506
|
transform: "translate(".concat(o / 2 * -1, " -256)")
|
|
2510
2507
|
}, y = {
|
|
2511
2508
|
outer: i,
|
|
2512
|
-
inner:
|
|
2509
|
+
inner: f,
|
|
2513
2510
|
path: h
|
|
2514
2511
|
};
|
|
2515
2512
|
return {
|
|
2516
2513
|
tag: "g",
|
|
2517
|
-
attributes:
|
|
2514
|
+
attributes: c({}, y.outer),
|
|
2518
2515
|
children: [{
|
|
2519
2516
|
tag: "g",
|
|
2520
|
-
attributes:
|
|
2517
|
+
attributes: c({}, y.inner),
|
|
2521
2518
|
children: [{
|
|
2522
2519
|
tag: n.icon.tag,
|
|
2523
2520
|
children: n.icon.children,
|
|
2524
|
-
attributes:
|
|
2521
|
+
attributes: c(c({}, n.icon.attributes), y.path)
|
|
2525
2522
|
}]
|
|
2526
2523
|
}]
|
|
2527
2524
|
};
|
|
2528
2525
|
};
|
|
2529
2526
|
}
|
|
2530
2527
|
};
|
|
2531
|
-
const
|
|
2528
|
+
const Qe = {
|
|
2532
2529
|
x: 0,
|
|
2533
2530
|
y: 0,
|
|
2534
2531
|
width: "100%",
|
|
2535
2532
|
height: "100%"
|
|
2536
2533
|
};
|
|
2537
|
-
function
|
|
2534
|
+
function mn(e) {
|
|
2538
2535
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0;
|
|
2539
2536
|
return e.attributes && (e.attributes.fill || t) && (e.attributes.fill = "black"), e;
|
|
2540
2537
|
}
|
|
@@ -2545,7 +2542,7 @@ var Eo = {
|
|
|
2545
2542
|
hooks() {
|
|
2546
2543
|
return {
|
|
2547
2544
|
parseNodeAttributes(e, t) {
|
|
2548
|
-
const n = t.getAttribute("data-fa-mask"), r = n ?
|
|
2545
|
+
const n = t.getAttribute("data-fa-mask"), r = n ? $e(n.split(" ").map((a) => a.trim())) : cr();
|
|
2549
2546
|
return r.prefix || (r.prefix = oe()), e.mask = r, e.maskId = t.getAttribute("data-fa-mask-id"), e;
|
|
2550
2547
|
}
|
|
2551
2548
|
};
|
|
@@ -2564,33 +2561,33 @@ var Eo = {
|
|
|
2564
2561
|
width: u,
|
|
2565
2562
|
icon: l
|
|
2566
2563
|
} = a, {
|
|
2567
|
-
width:
|
|
2564
|
+
width: f,
|
|
2568
2565
|
icon: h
|
|
2569
2566
|
} = o, y = pa({
|
|
2570
2567
|
transform: s,
|
|
2571
|
-
containerWidth:
|
|
2568
|
+
containerWidth: f,
|
|
2572
2569
|
iconWidth: u
|
|
2573
2570
|
}), w = {
|
|
2574
2571
|
tag: "rect",
|
|
2575
|
-
attributes:
|
|
2572
|
+
attributes: c(c({}, Qe), {}, {
|
|
2576
2573
|
fill: "white"
|
|
2577
2574
|
})
|
|
2578
2575
|
}, L = l.children ? {
|
|
2579
|
-
children: l.children.map(
|
|
2576
|
+
children: l.children.map(mn)
|
|
2580
2577
|
} : {}, b = {
|
|
2581
2578
|
tag: "g",
|
|
2582
|
-
attributes:
|
|
2583
|
-
children: [
|
|
2579
|
+
attributes: c({}, y.inner),
|
|
2580
|
+
children: [mn(c({
|
|
2584
2581
|
tag: l.tag,
|
|
2585
|
-
attributes:
|
|
2582
|
+
attributes: c(c({}, l.attributes), y.path)
|
|
2586
2583
|
}, L))]
|
|
2587
2584
|
}, E = {
|
|
2588
2585
|
tag: "g",
|
|
2589
|
-
attributes:
|
|
2586
|
+
attributes: c({}, y.outer),
|
|
2590
2587
|
children: [b]
|
|
2591
|
-
}, O = "mask-".concat(i ||
|
|
2588
|
+
}, O = "mask-".concat(i || xe()), D = "clip-".concat(i || xe()), k = {
|
|
2592
2589
|
tag: "mask",
|
|
2593
|
-
attributes:
|
|
2590
|
+
attributes: c(c({}, Qe), {}, {
|
|
2594
2591
|
id: O,
|
|
2595
2592
|
maskUnits: "userSpaceOnUse",
|
|
2596
2593
|
maskContentUnits: "userSpaceOnUse"
|
|
@@ -2608,11 +2605,11 @@ var Eo = {
|
|
|
2608
2605
|
};
|
|
2609
2606
|
return n.push(z, {
|
|
2610
2607
|
tag: "rect",
|
|
2611
|
-
attributes:
|
|
2608
|
+
attributes: c({
|
|
2612
2609
|
fill: "currentColor",
|
|
2613
2610
|
"clip-path": "url(#".concat(D, ")"),
|
|
2614
2611
|
mask: "url(#".concat(O, ")")
|
|
2615
|
-
},
|
|
2612
|
+
}, Qe)
|
|
2616
2613
|
}), {
|
|
2617
2614
|
children: n,
|
|
2618
2615
|
attributes: r
|
|
@@ -2632,15 +2629,15 @@ var Eo = {
|
|
|
2632
2629
|
};
|
|
2633
2630
|
n.push({
|
|
2634
2631
|
tag: "path",
|
|
2635
|
-
attributes:
|
|
2632
|
+
attributes: c(c({}, r), {}, {
|
|
2636
2633
|
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"
|
|
2637
2634
|
})
|
|
2638
2635
|
});
|
|
2639
|
-
const o =
|
|
2636
|
+
const o = c(c({}, a), {}, {
|
|
2640
2637
|
attributeName: "opacity"
|
|
2641
2638
|
}), i = {
|
|
2642
2639
|
tag: "circle",
|
|
2643
|
-
attributes:
|
|
2640
|
+
attributes: c(c({}, r), {}, {
|
|
2644
2641
|
cx: "256",
|
|
2645
2642
|
cy: "364",
|
|
2646
2643
|
r: "28"
|
|
@@ -2649,36 +2646,36 @@ var Eo = {
|
|
|
2649
2646
|
};
|
|
2650
2647
|
return t || i.children.push({
|
|
2651
2648
|
tag: "animate",
|
|
2652
|
-
attributes:
|
|
2649
|
+
attributes: c(c({}, a), {}, {
|
|
2653
2650
|
attributeName: "r",
|
|
2654
2651
|
values: "28;14;28;28;14;28;"
|
|
2655
2652
|
})
|
|
2656
2653
|
}, {
|
|
2657
2654
|
tag: "animate",
|
|
2658
|
-
attributes:
|
|
2655
|
+
attributes: c(c({}, o), {}, {
|
|
2659
2656
|
values: "1;0;1;1;0;1;"
|
|
2660
2657
|
})
|
|
2661
2658
|
}), n.push(i), n.push({
|
|
2662
2659
|
tag: "path",
|
|
2663
|
-
attributes:
|
|
2660
|
+
attributes: c(c({}, r), {}, {
|
|
2664
2661
|
opacity: "1",
|
|
2665
2662
|
d: "M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"
|
|
2666
2663
|
}),
|
|
2667
2664
|
children: t ? [] : [{
|
|
2668
2665
|
tag: "animate",
|
|
2669
|
-
attributes:
|
|
2666
|
+
attributes: c(c({}, o), {}, {
|
|
2670
2667
|
values: "1;0;0;0;0;1;"
|
|
2671
2668
|
})
|
|
2672
2669
|
}]
|
|
2673
2670
|
}), t || n.push({
|
|
2674
2671
|
tag: "path",
|
|
2675
|
-
attributes:
|
|
2672
|
+
attributes: c(c({}, r), {}, {
|
|
2676
2673
|
opacity: "0",
|
|
2677
2674
|
d: "M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"
|
|
2678
2675
|
}),
|
|
2679
2676
|
children: [{
|
|
2680
2677
|
tag: "animate",
|
|
2681
|
-
attributes:
|
|
2678
|
+
attributes: c(c({}, o), {}, {
|
|
2682
2679
|
values: "0;0;1;1;0;0;"
|
|
2683
2680
|
})
|
|
2684
2681
|
}]
|
|
@@ -2708,7 +2705,7 @@ U.noAuto;
|
|
|
2708
2705
|
U.config;
|
|
2709
2706
|
U.library;
|
|
2710
2707
|
U.dom;
|
|
2711
|
-
const
|
|
2708
|
+
const At = U.parse;
|
|
2712
2709
|
U.findIconDefinition;
|
|
2713
2710
|
U.toHtml;
|
|
2714
2711
|
const To = U.icon;
|
|
@@ -2718,12 +2715,12 @@ U.counter;
|
|
|
2718
2715
|
function ko(e) {
|
|
2719
2716
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
2720
2717
|
}
|
|
2721
|
-
var
|
|
2722
|
-
var
|
|
2718
|
+
var Ce = { exports: {} }, _e = { exports: {} }, M = {};
|
|
2719
|
+
var pn;
|
|
2723
2720
|
function Co() {
|
|
2724
|
-
if (
|
|
2725
|
-
|
|
2726
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, o = e ? Symbol.for("react.profiler") : 60114, i = e ? Symbol.for("react.provider") : 60109, s = e ? Symbol.for("react.context") : 60110, u = e ? Symbol.for("react.async_mode") : 60111, l = e ? Symbol.for("react.concurrent_mode") : 60111,
|
|
2721
|
+
if (pn) return M;
|
|
2722
|
+
pn = 1;
|
|
2723
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, o = e ? Symbol.for("react.profiler") : 60114, i = e ? Symbol.for("react.provider") : 60109, s = e ? Symbol.for("react.context") : 60110, u = e ? Symbol.for("react.async_mode") : 60111, l = e ? Symbol.for("react.concurrent_mode") : 60111, f = e ? Symbol.for("react.forward_ref") : 60112, h = e ? Symbol.for("react.suspense") : 60113, y = e ? Symbol.for("react.suspense_list") : 60120, w = e ? Symbol.for("react.memo") : 60115, L = e ? Symbol.for("react.lazy") : 60116, b = e ? Symbol.for("react.block") : 60121, E = e ? Symbol.for("react.fundamental") : 60117, O = e ? Symbol.for("react.responder") : 60118, D = e ? Symbol.for("react.scope") : 60119;
|
|
2727
2724
|
function k(m) {
|
|
2728
2725
|
if (typeof m == "object" && m !== null) {
|
|
2729
2726
|
var q = m.$$typeof;
|
|
@@ -2740,7 +2737,7 @@ function Co() {
|
|
|
2740
2737
|
default:
|
|
2741
2738
|
switch (m = m && m.$$typeof, m) {
|
|
2742
2739
|
case s:
|
|
2743
|
-
case
|
|
2740
|
+
case f:
|
|
2744
2741
|
case L:
|
|
2745
2742
|
case w:
|
|
2746
2743
|
case i:
|
|
@@ -2757,7 +2754,7 @@ function Co() {
|
|
|
2757
2754
|
function z(m) {
|
|
2758
2755
|
return k(m) === l;
|
|
2759
2756
|
}
|
|
2760
|
-
return M.AsyncMode = u, M.ConcurrentMode = l, M.ContextConsumer = s, M.ContextProvider = i, M.Element = t, M.ForwardRef =
|
|
2757
|
+
return M.AsyncMode = u, M.ConcurrentMode = l, M.ContextConsumer = s, M.ContextProvider = i, M.Element = t, M.ForwardRef = f, M.Fragment = r, M.Lazy = L, M.Memo = w, M.Portal = n, M.Profiler = o, M.StrictMode = a, M.Suspense = h, M.isAsyncMode = function(m) {
|
|
2761
2758
|
return z(m) || k(m) === u;
|
|
2762
2759
|
}, M.isConcurrentMode = z, M.isContextConsumer = function(m) {
|
|
2763
2760
|
return k(m) === s;
|
|
@@ -2766,7 +2763,7 @@ function Co() {
|
|
|
2766
2763
|
}, M.isElement = function(m) {
|
|
2767
2764
|
return typeof m == "object" && m !== null && m.$$typeof === t;
|
|
2768
2765
|
}, M.isForwardRef = function(m) {
|
|
2769
|
-
return k(m) ===
|
|
2766
|
+
return k(m) === f;
|
|
2770
2767
|
}, M.isFragment = function(m) {
|
|
2771
2768
|
return k(m) === r;
|
|
2772
2769
|
}, M.isLazy = function(m) {
|
|
@@ -2782,41 +2779,41 @@ function Co() {
|
|
|
2782
2779
|
}, M.isSuspense = function(m) {
|
|
2783
2780
|
return k(m) === h;
|
|
2784
2781
|
}, M.isValidElementType = function(m) {
|
|
2785
|
-
return typeof m == "string" || typeof m == "function" || m === r || m === l || m === o || m === a || m === h || m === y || typeof m == "object" && m !== null && (m.$$typeof === L || m.$$typeof === w || m.$$typeof === i || m.$$typeof === s || m.$$typeof ===
|
|
2782
|
+
return typeof m == "string" || typeof m == "function" || m === r || m === l || m === o || m === a || m === h || m === y || typeof m == "object" && m !== null && (m.$$typeof === L || m.$$typeof === w || m.$$typeof === i || m.$$typeof === s || m.$$typeof === f || m.$$typeof === E || m.$$typeof === O || m.$$typeof === D || m.$$typeof === b);
|
|
2786
2783
|
}, M.typeOf = k, M;
|
|
2787
2784
|
}
|
|
2788
2785
|
var F = {};
|
|
2789
|
-
var
|
|
2786
|
+
var hn;
|
|
2790
2787
|
function _o() {
|
|
2791
|
-
return
|
|
2792
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, o = e ? Symbol.for("react.profiler") : 60114, i = e ? Symbol.for("react.provider") : 60109, s = e ? Symbol.for("react.context") : 60110, u = e ? Symbol.for("react.async_mode") : 60111, l = e ? Symbol.for("react.concurrent_mode") : 60111,
|
|
2788
|
+
return hn || (hn = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
2789
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, o = e ? Symbol.for("react.profiler") : 60114, i = e ? Symbol.for("react.provider") : 60109, s = e ? Symbol.for("react.context") : 60110, u = e ? Symbol.for("react.async_mode") : 60111, l = e ? Symbol.for("react.concurrent_mode") : 60111, f = e ? Symbol.for("react.forward_ref") : 60112, h = e ? Symbol.for("react.suspense") : 60113, y = e ? Symbol.for("react.suspense_list") : 60120, w = e ? Symbol.for("react.memo") : 60115, L = e ? Symbol.for("react.lazy") : 60116, b = e ? Symbol.for("react.block") : 60121, E = e ? Symbol.for("react.fundamental") : 60117, O = e ? Symbol.for("react.responder") : 60118, D = e ? Symbol.for("react.scope") : 60119;
|
|
2793
2790
|
function k(p) {
|
|
2794
2791
|
return typeof p == "string" || typeof p == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
2795
|
-
p === r || p === l || p === o || p === a || p === h || p === y || typeof p == "object" && p !== null && (p.$$typeof === L || p.$$typeof === w || p.$$typeof === i || p.$$typeof === s || p.$$typeof ===
|
|
2792
|
+
p === r || p === l || p === o || p === a || p === h || p === y || typeof p == "object" && p !== null && (p.$$typeof === L || p.$$typeof === w || p.$$typeof === i || p.$$typeof === s || p.$$typeof === f || p.$$typeof === E || p.$$typeof === O || p.$$typeof === D || p.$$typeof === b);
|
|
2796
2793
|
}
|
|
2797
2794
|
function z(p) {
|
|
2798
2795
|
if (typeof p == "object" && p !== null) {
|
|
2799
2796
|
var X = p.$$typeof;
|
|
2800
2797
|
switch (X) {
|
|
2801
2798
|
case t:
|
|
2802
|
-
var
|
|
2803
|
-
switch (
|
|
2799
|
+
var Pe = p.type;
|
|
2800
|
+
switch (Pe) {
|
|
2804
2801
|
case u:
|
|
2805
2802
|
case l:
|
|
2806
2803
|
case r:
|
|
2807
2804
|
case o:
|
|
2808
2805
|
case a:
|
|
2809
2806
|
case h:
|
|
2810
|
-
return
|
|
2807
|
+
return Pe;
|
|
2811
2808
|
default:
|
|
2812
|
-
var
|
|
2813
|
-
switch (
|
|
2809
|
+
var zt = Pe && Pe.$$typeof;
|
|
2810
|
+
switch (zt) {
|
|
2814
2811
|
case s:
|
|
2815
|
-
case
|
|
2812
|
+
case f:
|
|
2816
2813
|
case L:
|
|
2817
2814
|
case w:
|
|
2818
2815
|
case i:
|
|
2819
|
-
return
|
|
2816
|
+
return zt;
|
|
2820
2817
|
default:
|
|
2821
2818
|
return X;
|
|
2822
2819
|
}
|
|
@@ -2826,9 +2823,9 @@ function _o() {
|
|
|
2826
2823
|
}
|
|
2827
2824
|
}
|
|
2828
2825
|
}
|
|
2829
|
-
var m = u, q = l, H = s, V = i,
|
|
2830
|
-
function
|
|
2831
|
-
return
|
|
2826
|
+
var m = u, q = l, H = s, V = i, We = t, Ue = f, Se = r, qe = L, Be = w, ue = n, He = o, G = a, se = h, Oe = !1;
|
|
2827
|
+
function Ve(p) {
|
|
2828
|
+
return Oe || (Oe = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), d(p) || z(p) === u;
|
|
2832
2829
|
}
|
|
2833
2830
|
function d(p) {
|
|
2834
2831
|
return z(p) === l;
|
|
@@ -2843,7 +2840,7 @@ function _o() {
|
|
|
2843
2840
|
return typeof p == "object" && p !== null && p.$$typeof === t;
|
|
2844
2841
|
}
|
|
2845
2842
|
function x(p) {
|
|
2846
|
-
return z(p) ===
|
|
2843
|
+
return z(p) === f;
|
|
2847
2844
|
}
|
|
2848
2845
|
function I(p) {
|
|
2849
2846
|
return z(p) === r;
|
|
@@ -2866,17 +2863,17 @@ function _o() {
|
|
|
2866
2863
|
function W(p) {
|
|
2867
2864
|
return z(p) === h;
|
|
2868
2865
|
}
|
|
2869
|
-
F.AsyncMode = m, F.ConcurrentMode = q, F.ContextConsumer = H, F.ContextProvider = V, F.Element =
|
|
2866
|
+
F.AsyncMode = m, F.ConcurrentMode = q, F.ContextConsumer = H, F.ContextProvider = V, F.Element = We, F.ForwardRef = Ue, F.Fragment = Se, F.Lazy = qe, F.Memo = Be, F.Portal = ue, F.Profiler = He, F.StrictMode = G, F.Suspense = se, F.isAsyncMode = Ve, F.isConcurrentMode = d, F.isContextConsumer = g, F.isContextProvider = C, F.isElement = P, F.isForwardRef = x, F.isFragment = I, F.isLazy = S, F.isMemo = T, F.isPortal = N, F.isProfiler = j, F.isStrictMode = R, F.isSuspense = W, F.isValidElementType = k, F.typeOf = z;
|
|
2870
2867
|
})()), F;
|
|
2871
2868
|
}
|
|
2872
|
-
var
|
|
2869
|
+
var gn;
|
|
2873
2870
|
function gr() {
|
|
2874
|
-
return
|
|
2871
|
+
return gn || (gn = 1, process.env.NODE_ENV === "production" ? _e.exports = Co() : _e.exports = _o()), _e.exports;
|
|
2875
2872
|
}
|
|
2876
|
-
var
|
|
2873
|
+
var Ze, yn;
|
|
2877
2874
|
function Io() {
|
|
2878
|
-
if (
|
|
2879
|
-
|
|
2875
|
+
if (yn) return Ze;
|
|
2876
|
+
yn = 1;
|
|
2880
2877
|
var e = Object.getOwnPropertySymbols, t = Object.prototype.hasOwnProperty, n = Object.prototype.propertyIsEnumerable;
|
|
2881
2878
|
function r(o) {
|
|
2882
2879
|
if (o == null)
|
|
@@ -2892,22 +2889,22 @@ function Io() {
|
|
|
2892
2889
|
return !1;
|
|
2893
2890
|
for (var i = {}, s = 0; s < 10; s++)
|
|
2894
2891
|
i["_" + String.fromCharCode(s)] = s;
|
|
2895
|
-
var u = Object.getOwnPropertyNames(i).map(function(
|
|
2896
|
-
return i[
|
|
2892
|
+
var u = Object.getOwnPropertyNames(i).map(function(f) {
|
|
2893
|
+
return i[f];
|
|
2897
2894
|
});
|
|
2898
2895
|
if (u.join("") !== "0123456789")
|
|
2899
2896
|
return !1;
|
|
2900
2897
|
var l = {};
|
|
2901
|
-
return "abcdefghijklmnopqrst".split("").forEach(function(
|
|
2902
|
-
l[
|
|
2898
|
+
return "abcdefghijklmnopqrst".split("").forEach(function(f) {
|
|
2899
|
+
l[f] = f;
|
|
2903
2900
|
}), Object.keys(Object.assign({}, l)).join("") === "abcdefghijklmnopqrst";
|
|
2904
2901
|
} catch {
|
|
2905
2902
|
return !1;
|
|
2906
2903
|
}
|
|
2907
2904
|
}
|
|
2908
|
-
return
|
|
2909
|
-
for (var s, u = r(o), l,
|
|
2910
|
-
s = Object(arguments[
|
|
2905
|
+
return Ze = a() ? Object.assign : function(o, i) {
|
|
2906
|
+
for (var s, u = r(o), l, f = 1; f < arguments.length; f++) {
|
|
2907
|
+
s = Object(arguments[f]);
|
|
2911
2908
|
for (var h in s)
|
|
2912
2909
|
t.call(s, h) && (u[h] = s[h]);
|
|
2913
2910
|
if (e) {
|
|
@@ -2917,27 +2914,27 @@ function Io() {
|
|
|
2917
2914
|
}
|
|
2918
2915
|
}
|
|
2919
2916
|
return u;
|
|
2920
|
-
},
|
|
2917
|
+
}, Ze;
|
|
2921
2918
|
}
|
|
2922
|
-
var
|
|
2923
|
-
function
|
|
2924
|
-
if (
|
|
2925
|
-
|
|
2919
|
+
var et, vn;
|
|
2920
|
+
function Dt() {
|
|
2921
|
+
if (vn) return et;
|
|
2922
|
+
vn = 1;
|
|
2926
2923
|
var e = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
|
|
2927
|
-
return
|
|
2924
|
+
return et = e, et;
|
|
2928
2925
|
}
|
|
2929
|
-
var
|
|
2926
|
+
var tt, bn;
|
|
2930
2927
|
function yr() {
|
|
2931
|
-
return
|
|
2928
|
+
return bn || (bn = 1, tt = Function.call.bind(Object.prototype.hasOwnProperty)), tt;
|
|
2932
2929
|
}
|
|
2933
|
-
var
|
|
2930
|
+
var nt, xn;
|
|
2934
2931
|
function No() {
|
|
2935
|
-
if (
|
|
2936
|
-
|
|
2932
|
+
if (xn) return nt;
|
|
2933
|
+
xn = 1;
|
|
2937
2934
|
var e = function() {
|
|
2938
2935
|
};
|
|
2939
2936
|
if (process.env.NODE_ENV !== "production") {
|
|
2940
|
-
var t = /* @__PURE__ */
|
|
2937
|
+
var t = /* @__PURE__ */ Dt(), n = {}, r = /* @__PURE__ */ yr();
|
|
2941
2938
|
e = function(o) {
|
|
2942
2939
|
var i = "Warning: " + o;
|
|
2943
2940
|
typeof console < "u" && console.error(i);
|
|
@@ -2949,22 +2946,22 @@ function No() {
|
|
|
2949
2946
|
}
|
|
2950
2947
|
function a(o, i, s, u, l) {
|
|
2951
2948
|
if (process.env.NODE_ENV !== "production") {
|
|
2952
|
-
for (var
|
|
2953
|
-
if (r(o,
|
|
2949
|
+
for (var f in o)
|
|
2950
|
+
if (r(o, f)) {
|
|
2954
2951
|
var h;
|
|
2955
2952
|
try {
|
|
2956
|
-
if (typeof o[
|
|
2953
|
+
if (typeof o[f] != "function") {
|
|
2957
2954
|
var y = Error(
|
|
2958
|
-
(u || "React class") + ": " + s + " type `" +
|
|
2955
|
+
(u || "React class") + ": " + s + " type `" + f + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof o[f] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
|
|
2959
2956
|
);
|
|
2960
2957
|
throw y.name = "Invariant Violation", y;
|
|
2961
2958
|
}
|
|
2962
|
-
h = o[
|
|
2959
|
+
h = o[f](i, f, u, s, null, t);
|
|
2963
2960
|
} catch (L) {
|
|
2964
2961
|
h = L;
|
|
2965
2962
|
}
|
|
2966
2963
|
if (h && !(h instanceof Error) && e(
|
|
2967
|
-
(u || "React class") + ": type specification of " + s + " `" +
|
|
2964
|
+
(u || "React class") + ": type specification of " + s + " `" + f + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof h + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
|
|
2968
2965
|
), h instanceof Error && !(h.message in n)) {
|
|
2969
2966
|
n[h.message] = !0;
|
|
2970
2967
|
var w = l ? l() : "";
|
|
@@ -2977,13 +2974,13 @@ function No() {
|
|
|
2977
2974
|
}
|
|
2978
2975
|
return a.resetWarningCache = function() {
|
|
2979
2976
|
process.env.NODE_ENV !== "production" && (n = {});
|
|
2980
|
-
},
|
|
2977
|
+
}, nt = a, nt;
|
|
2981
2978
|
}
|
|
2982
|
-
var
|
|
2979
|
+
var rt, wn;
|
|
2983
2980
|
function Ro() {
|
|
2984
|
-
if (
|
|
2985
|
-
|
|
2986
|
-
var e = gr(), t = Io(), n = /* @__PURE__ */
|
|
2981
|
+
if (wn) return rt;
|
|
2982
|
+
wn = 1;
|
|
2983
|
+
var e = gr(), t = Io(), n = /* @__PURE__ */ Dt(), r = /* @__PURE__ */ yr(), a = /* @__PURE__ */ No(), o = function() {
|
|
2987
2984
|
};
|
|
2988
2985
|
process.env.NODE_ENV !== "production" && (o = function(s) {
|
|
2989
2986
|
var u = "Warning: " + s;
|
|
@@ -2996,10 +2993,10 @@ function Ro() {
|
|
|
2996
2993
|
function i() {
|
|
2997
2994
|
return null;
|
|
2998
2995
|
}
|
|
2999
|
-
return
|
|
3000
|
-
var l = typeof Symbol == "function" && Symbol.iterator,
|
|
2996
|
+
return rt = function(s, u) {
|
|
2997
|
+
var l = typeof Symbol == "function" && Symbol.iterator, f = "@@iterator";
|
|
3001
2998
|
function h(d) {
|
|
3002
|
-
var g = d && (l && d[l] || d[
|
|
2999
|
+
var g = d && (l && d[l] || d[f]);
|
|
3003
3000
|
if (typeof g == "function")
|
|
3004
3001
|
return g;
|
|
3005
3002
|
}
|
|
@@ -3017,12 +3014,12 @@ function Ro() {
|
|
|
3017
3014
|
element: z(),
|
|
3018
3015
|
elementType: m(),
|
|
3019
3016
|
instanceOf: q,
|
|
3020
|
-
node:
|
|
3017
|
+
node: Ue(),
|
|
3021
3018
|
objectOf: V,
|
|
3022
3019
|
oneOf: H,
|
|
3023
|
-
oneOfType:
|
|
3024
|
-
shape:
|
|
3025
|
-
exact:
|
|
3020
|
+
oneOfType: We,
|
|
3021
|
+
shape: qe,
|
|
3022
|
+
exact: Be
|
|
3026
3023
|
};
|
|
3027
3024
|
function L(d, g) {
|
|
3028
3025
|
return d === g ? d !== 0 || 1 / d === 1 / g : d !== d && g !== g;
|
|
@@ -3114,7 +3111,7 @@ function Ro() {
|
|
|
3114
3111
|
function q(d) {
|
|
3115
3112
|
function g(C, P, x, I, S) {
|
|
3116
3113
|
if (!(C[P] instanceof d)) {
|
|
3117
|
-
var T = d.name || y, N =
|
|
3114
|
+
var T = d.name || y, N = Ve(C[P]);
|
|
3118
3115
|
return new b("Invalid " + I + " `" + S + "` of type " + ("`" + N + "` supplied to `" + x + "`, expected ") + ("instance of `" + T + "`."));
|
|
3119
3116
|
}
|
|
3120
3117
|
return null;
|
|
@@ -3155,14 +3152,14 @@ function Ro() {
|
|
|
3155
3152
|
}
|
|
3156
3153
|
return E(g);
|
|
3157
3154
|
}
|
|
3158
|
-
function
|
|
3155
|
+
function We(d) {
|
|
3159
3156
|
if (!Array.isArray(d))
|
|
3160
3157
|
return process.env.NODE_ENV !== "production" && o("Invalid argument supplied to oneOfType, expected an instance of array."), i;
|
|
3161
3158
|
for (var g = 0; g < d.length; g++) {
|
|
3162
3159
|
var C = d[g];
|
|
3163
3160
|
if (typeof C != "function")
|
|
3164
3161
|
return o(
|
|
3165
|
-
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " +
|
|
3162
|
+
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + Oe(C) + " at index " + g + "."
|
|
3166
3163
|
), i;
|
|
3167
3164
|
}
|
|
3168
3165
|
function P(x, I, S, T, N) {
|
|
@@ -3177,18 +3174,18 @@ function Ro() {
|
|
|
3177
3174
|
}
|
|
3178
3175
|
return E(P);
|
|
3179
3176
|
}
|
|
3180
|
-
function
|
|
3177
|
+
function Ue() {
|
|
3181
3178
|
function d(g, C, P, x, I) {
|
|
3182
3179
|
return ue(g[C]) ? null : new b("Invalid " + x + " `" + I + "` supplied to " + ("`" + P + "`, expected a ReactNode."));
|
|
3183
3180
|
}
|
|
3184
3181
|
return E(d);
|
|
3185
3182
|
}
|
|
3186
|
-
function
|
|
3183
|
+
function Se(d, g, C, P, x) {
|
|
3187
3184
|
return new b(
|
|
3188
3185
|
(d || "React class") + ": " + g + " type `" + C + "." + P + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + x + "`."
|
|
3189
3186
|
);
|
|
3190
3187
|
}
|
|
3191
|
-
function
|
|
3188
|
+
function qe(d) {
|
|
3192
3189
|
function g(C, P, x, I, S) {
|
|
3193
3190
|
var T = C[P], N = G(T);
|
|
3194
3191
|
if (N !== "object")
|
|
@@ -3196,7 +3193,7 @@ function Ro() {
|
|
|
3196
3193
|
for (var j in d) {
|
|
3197
3194
|
var R = d[j];
|
|
3198
3195
|
if (typeof R != "function")
|
|
3199
|
-
return
|
|
3196
|
+
return Se(x, I, S, j, se(R));
|
|
3200
3197
|
var W = R(T, j, x, I, S + "." + j, n);
|
|
3201
3198
|
if (W)
|
|
3202
3199
|
return W;
|
|
@@ -3205,7 +3202,7 @@ function Ro() {
|
|
|
3205
3202
|
}
|
|
3206
3203
|
return E(g);
|
|
3207
3204
|
}
|
|
3208
|
-
function
|
|
3205
|
+
function Be(d) {
|
|
3209
3206
|
function g(C, P, x, I, S) {
|
|
3210
3207
|
var T = C[P], N = G(T);
|
|
3211
3208
|
if (N !== "object")
|
|
@@ -3214,7 +3211,7 @@ function Ro() {
|
|
|
3214
3211
|
for (var R in j) {
|
|
3215
3212
|
var W = d[R];
|
|
3216
3213
|
if (r(d, R) && typeof W != "function")
|
|
3217
|
-
return
|
|
3214
|
+
return Se(x, I, S, R, se(W));
|
|
3218
3215
|
if (!W)
|
|
3219
3216
|
return new b(
|
|
3220
3217
|
"Invalid " + I + " `" + S + "` key `" + R + "` supplied to `" + x + "`.\nBad object: " + JSON.stringify(C[P], null, " ") + `
|
|
@@ -3261,12 +3258,12 @@ Valid keys: ` + JSON.stringify(Object.keys(d), null, " ")
|
|
|
3261
3258
|
return !1;
|
|
3262
3259
|
}
|
|
3263
3260
|
}
|
|
3264
|
-
function
|
|
3261
|
+
function He(d, g) {
|
|
3265
3262
|
return d === "symbol" ? !0 : g ? g["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && g instanceof Symbol : !1;
|
|
3266
3263
|
}
|
|
3267
3264
|
function G(d) {
|
|
3268
3265
|
var g = typeof d;
|
|
3269
|
-
return Array.isArray(d) ? "array" : d instanceof RegExp ? "object" :
|
|
3266
|
+
return Array.isArray(d) ? "array" : d instanceof RegExp ? "object" : He(g, d) ? "symbol" : g;
|
|
3270
3267
|
}
|
|
3271
3268
|
function se(d) {
|
|
3272
3269
|
if (typeof d > "u" || d === null)
|
|
@@ -3280,7 +3277,7 @@ Valid keys: ` + JSON.stringify(Object.keys(d), null, " ")
|
|
|
3280
3277
|
}
|
|
3281
3278
|
return g;
|
|
3282
3279
|
}
|
|
3283
|
-
function
|
|
3280
|
+
function Oe(d) {
|
|
3284
3281
|
var g = se(d);
|
|
3285
3282
|
switch (g) {
|
|
3286
3283
|
case "array":
|
|
@@ -3294,23 +3291,23 @@ Valid keys: ` + JSON.stringify(Object.keys(d), null, " ")
|
|
|
3294
3291
|
return g;
|
|
3295
3292
|
}
|
|
3296
3293
|
}
|
|
3297
|
-
function
|
|
3294
|
+
function Ve(d) {
|
|
3298
3295
|
return !d.constructor || !d.constructor.name ? y : d.constructor.name;
|
|
3299
3296
|
}
|
|
3300
3297
|
return w.checkPropTypes = a, w.resetWarningCache = a.resetWarningCache, w.PropTypes = w, w;
|
|
3301
|
-
},
|
|
3298
|
+
}, rt;
|
|
3302
3299
|
}
|
|
3303
|
-
var
|
|
3300
|
+
var at, An;
|
|
3304
3301
|
function Mo() {
|
|
3305
|
-
if (
|
|
3306
|
-
|
|
3307
|
-
var e = /* @__PURE__ */
|
|
3302
|
+
if (An) return at;
|
|
3303
|
+
An = 1;
|
|
3304
|
+
var e = /* @__PURE__ */ Dt();
|
|
3308
3305
|
function t() {
|
|
3309
3306
|
}
|
|
3310
3307
|
function n() {
|
|
3311
3308
|
}
|
|
3312
|
-
return n.resetWarningCache = t,
|
|
3313
|
-
function r(i, s, u, l,
|
|
3309
|
+
return n.resetWarningCache = t, at = function() {
|
|
3310
|
+
function r(i, s, u, l, f, h) {
|
|
3314
3311
|
if (h !== e) {
|
|
3315
3312
|
var y = new Error(
|
|
3316
3313
|
"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types"
|
|
@@ -3346,21 +3343,21 @@ function Mo() {
|
|
|
3346
3343
|
resetWarningCache: t
|
|
3347
3344
|
};
|
|
3348
3345
|
return o.PropTypes = o, o;
|
|
3349
|
-
},
|
|
3346
|
+
}, at;
|
|
3350
3347
|
}
|
|
3351
|
-
var
|
|
3348
|
+
var En;
|
|
3352
3349
|
function Fo() {
|
|
3353
|
-
if (
|
|
3354
|
-
if (
|
|
3350
|
+
if (En) return Ce.exports;
|
|
3351
|
+
if (En = 1, process.env.NODE_ENV !== "production") {
|
|
3355
3352
|
var e = gr(), t = !0;
|
|
3356
|
-
|
|
3353
|
+
Ce.exports = /* @__PURE__ */ Ro()(e.isElement, t);
|
|
3357
3354
|
} else
|
|
3358
|
-
|
|
3359
|
-
return
|
|
3355
|
+
Ce.exports = /* @__PURE__ */ Mo()();
|
|
3356
|
+
return Ce.exports;
|
|
3360
3357
|
}
|
|
3361
3358
|
var Lo = /* @__PURE__ */ Fo();
|
|
3362
3359
|
const A = /* @__PURE__ */ ko(Lo);
|
|
3363
|
-
function
|
|
3360
|
+
function Et(e, t) {
|
|
3364
3361
|
(t == null || t > e.length) && (t = e.length);
|
|
3365
3362
|
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
|
|
3366
3363
|
return r;
|
|
@@ -3369,7 +3366,7 @@ function jo(e) {
|
|
|
3369
3366
|
if (Array.isArray(e)) return e;
|
|
3370
3367
|
}
|
|
3371
3368
|
function Do(e) {
|
|
3372
|
-
if (Array.isArray(e)) return
|
|
3369
|
+
if (Array.isArray(e)) return Et(e);
|
|
3373
3370
|
}
|
|
3374
3371
|
function re(e, t, n) {
|
|
3375
3372
|
return (t = Ho(t)) in e ? Object.defineProperty(e, t, {
|
|
@@ -3388,8 +3385,8 @@ function $o(e, t) {
|
|
|
3388
3385
|
var r, a, o, i, s = [], u = !0, l = !1;
|
|
3389
3386
|
try {
|
|
3390
3387
|
if (o = (n = n.call(e)).next, t !== 0) for (; !(u = (r = o.call(n)).done) && (s.push(r.value), s.length !== t); u = !0) ;
|
|
3391
|
-
} catch (
|
|
3392
|
-
l = !0, a =
|
|
3388
|
+
} catch (f) {
|
|
3389
|
+
l = !0, a = f;
|
|
3393
3390
|
} finally {
|
|
3394
3391
|
try {
|
|
3395
3392
|
if (!u && n.return != null && (i = n.return(), Object(i) !== i)) return;
|
|
@@ -3408,7 +3405,7 @@ function Wo() {
|
|
|
3408
3405
|
throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
3409
3406
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
3410
3407
|
}
|
|
3411
|
-
function
|
|
3408
|
+
function Sn(e, t) {
|
|
3412
3409
|
var n = Object.keys(e);
|
|
3413
3410
|
if (Object.getOwnPropertySymbols) {
|
|
3414
3411
|
var r = Object.getOwnPropertySymbols(e);
|
|
@@ -3421,9 +3418,9 @@ function On(e, t) {
|
|
|
3421
3418
|
function K(e) {
|
|
3422
3419
|
for (var t = 1; t < arguments.length; t++) {
|
|
3423
3420
|
var n = arguments[t] != null ? arguments[t] : {};
|
|
3424
|
-
t % 2 ?
|
|
3421
|
+
t % 2 ? Sn(Object(n), !0).forEach(function(r) {
|
|
3425
3422
|
re(e, r, n[r]);
|
|
3426
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) :
|
|
3423
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Sn(Object(n)).forEach(function(r) {
|
|
3427
3424
|
Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(n, r));
|
|
3428
3425
|
});
|
|
3429
3426
|
}
|
|
@@ -3447,10 +3444,10 @@ function qo(e, t) {
|
|
|
3447
3444
|
}
|
|
3448
3445
|
return n;
|
|
3449
3446
|
}
|
|
3450
|
-
function
|
|
3447
|
+
function On(e, t) {
|
|
3451
3448
|
return jo(e) || $o(e, t) || vr(e, t) || Yo();
|
|
3452
3449
|
}
|
|
3453
|
-
function
|
|
3450
|
+
function St(e) {
|
|
3454
3451
|
return Do(e) || zo(e) || vr(e) || Wo();
|
|
3455
3452
|
}
|
|
3456
3453
|
function Bo(e, t) {
|
|
@@ -3467,30 +3464,30 @@ function Ho(e) {
|
|
|
3467
3464
|
var t = Bo(e, "string");
|
|
3468
3465
|
return typeof t == "symbol" ? t : t + "";
|
|
3469
3466
|
}
|
|
3470
|
-
function
|
|
3467
|
+
function Le(e) {
|
|
3471
3468
|
"@babel/helpers - typeof";
|
|
3472
|
-
return
|
|
3469
|
+
return Le = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
|
|
3473
3470
|
return typeof t;
|
|
3474
3471
|
} : function(t) {
|
|
3475
3472
|
return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
|
|
3476
|
-
},
|
|
3473
|
+
}, Le(e);
|
|
3477
3474
|
}
|
|
3478
3475
|
function vr(e, t) {
|
|
3479
3476
|
if (e) {
|
|
3480
|
-
if (typeof e == "string") return
|
|
3477
|
+
if (typeof e == "string") return Et(e, t);
|
|
3481
3478
|
var n = {}.toString.call(e).slice(8, -1);
|
|
3482
|
-
return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ?
|
|
3479
|
+
return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? Et(e, t) : void 0;
|
|
3483
3480
|
}
|
|
3484
3481
|
}
|
|
3485
|
-
var Vo = "7.0.0",
|
|
3482
|
+
var Vo = "7.0.0", Ot;
|
|
3486
3483
|
try {
|
|
3487
3484
|
var Go = require("@fortawesome/fontawesome-svg-core/package.json");
|
|
3488
|
-
|
|
3485
|
+
Ot = Go.version;
|
|
3489
3486
|
} catch {
|
|
3490
|
-
|
|
3487
|
+
Ot = typeof process < "u" && process.env.FA_VERSION || "7.0.0";
|
|
3491
3488
|
}
|
|
3492
3489
|
function Xo(e) {
|
|
3493
|
-
var t = e.beat, n = e.fade, r = e.beatFade, a = e.bounce, o = e.shake, i = e.flash, s = e.spin, u = e.spinPulse, l = e.spinReverse,
|
|
3490
|
+
var t = e.beat, n = e.fade, r = e.beatFade, a = e.bounce, o = e.shake, i = e.flash, s = e.spin, u = e.spinPulse, l = e.spinReverse, f = e.pulse, h = e.fixedWidth, y = e.inverse, w = e.border, L = e.listItem, b = e.flip, E = e.size, O = e.rotation, D = e.pull, k = e.swapOpacity, z = e.rotateBy, m = e.widthAuto, q = Ko(Ot, Vo), H = re(re(re(re(re(re({
|
|
3494
3491
|
"fa-beat": t,
|
|
3495
3492
|
"fa-fade": n,
|
|
3496
3493
|
"fa-beat-fade": r,
|
|
@@ -3500,7 +3497,7 @@ function Xo(e) {
|
|
|
3500
3497
|
"fa-spin": s,
|
|
3501
3498
|
"fa-spin-reverse": l,
|
|
3502
3499
|
"fa-spin-pulse": u,
|
|
3503
|
-
"fa-pulse":
|
|
3500
|
+
"fa-pulse": f,
|
|
3504
3501
|
"fa-fw": h,
|
|
3505
3502
|
"fa-inverse": y,
|
|
3506
3503
|
"fa-border": w,
|
|
@@ -3516,13 +3513,13 @@ function Xo(e) {
|
|
|
3516
3513
|
});
|
|
3517
3514
|
}
|
|
3518
3515
|
function Ko(e, t) {
|
|
3519
|
-
for (var n = e.split("-"), r =
|
|
3520
|
-
var w =
|
|
3516
|
+
for (var n = e.split("-"), r = On(n, 2), a = r[0], o = r[1], i = t.split("-"), s = On(i, 2), u = s[0], l = s[1], f = a.split("."), h = u.split("."), y = 0; y < Math.max(f.length, h.length); y++) {
|
|
3517
|
+
var w = f[y] || "0", L = h[y] || "0", b = parseInt(w, 10), E = parseInt(L, 10);
|
|
3521
3518
|
if (b !== E)
|
|
3522
3519
|
return b > E;
|
|
3523
3520
|
}
|
|
3524
|
-
for (var O = 0; O < Math.max(
|
|
3525
|
-
var D =
|
|
3521
|
+
for (var O = 0; O < Math.max(f.length, h.length); O++) {
|
|
3522
|
+
var D = f[O] || "0", k = h[O] || "0";
|
|
3526
3523
|
if (D !== k && D.length !== k.length)
|
|
3527
3524
|
return D.length < k.length;
|
|
3528
3525
|
}
|
|
@@ -3557,22 +3554,22 @@ function xr(e, t) {
|
|
|
3557
3554
|
var r = (t.children || []).map(function(u) {
|
|
3558
3555
|
return xr(e, u);
|
|
3559
3556
|
}), a = Object.keys(t.attributes || {}).reduce(function(u, l) {
|
|
3560
|
-
var
|
|
3557
|
+
var f = t.attributes[l];
|
|
3561
3558
|
switch (l) {
|
|
3562
3559
|
case "class":
|
|
3563
|
-
u.attrs.className =
|
|
3560
|
+
u.attrs.className = f, delete t.attributes.class;
|
|
3564
3561
|
break;
|
|
3565
3562
|
case "style":
|
|
3566
|
-
u.attrs.style = ei(
|
|
3563
|
+
u.attrs.style = ei(f);
|
|
3567
3564
|
break;
|
|
3568
3565
|
default:
|
|
3569
|
-
l.indexOf("aria-") === 0 || l.indexOf("data-") === 0 ? u.attrs[l.toLowerCase()] =
|
|
3566
|
+
l.indexOf("aria-") === 0 || l.indexOf("data-") === 0 ? u.attrs[l.toLowerCase()] = f : u.attrs[br(l)] = f;
|
|
3570
3567
|
}
|
|
3571
3568
|
return u;
|
|
3572
3569
|
}, {
|
|
3573
3570
|
attrs: {}
|
|
3574
3571
|
}), o = n.style, i = o === void 0 ? {} : o, s = Uo(n, Qo);
|
|
3575
|
-
return a.attrs.style = K(K({}, a.attrs.style), i), e.apply(void 0, [t.tag, K(K({}, a.attrs), s)].concat(
|
|
3572
|
+
return a.attrs.style = K(K({}, a.attrs.style), i), e.apply(void 0, [t.tag, K(K({}, a.attrs), s)].concat(St(r)));
|
|
3576
3573
|
}
|
|
3577
3574
|
var wr = !1;
|
|
3578
3575
|
try {
|
|
@@ -3585,14 +3582,14 @@ function ti() {
|
|
|
3585
3582
|
(e = console).error.apply(e, arguments);
|
|
3586
3583
|
}
|
|
3587
3584
|
}
|
|
3588
|
-
function
|
|
3589
|
-
if (e &&
|
|
3585
|
+
function Pn(e) {
|
|
3586
|
+
if (e && Le(e) === "object" && e.prefix && e.iconName && e.icon)
|
|
3590
3587
|
return e;
|
|
3591
|
-
if (
|
|
3592
|
-
return
|
|
3588
|
+
if (At.icon)
|
|
3589
|
+
return At.icon(e);
|
|
3593
3590
|
if (e === null)
|
|
3594
3591
|
return null;
|
|
3595
|
-
if (e &&
|
|
3592
|
+
if (e && Le(e) === "object" && e.prefix && e.iconName)
|
|
3596
3593
|
return e;
|
|
3597
3594
|
if (Array.isArray(e) && e.length === 2)
|
|
3598
3595
|
return {
|
|
@@ -3605,10 +3602,10 @@ function Tn(e) {
|
|
|
3605
3602
|
iconName: e
|
|
3606
3603
|
};
|
|
3607
3604
|
}
|
|
3608
|
-
function
|
|
3605
|
+
function ot(e, t) {
|
|
3609
3606
|
return Array.isArray(t) && t.length > 0 || !Array.isArray(t) && t ? re({}, e, t) : {};
|
|
3610
3607
|
}
|
|
3611
|
-
var
|
|
3608
|
+
var Tn = {
|
|
3612
3609
|
border: !1,
|
|
3613
3610
|
className: "",
|
|
3614
3611
|
mask: null,
|
|
@@ -3638,20 +3635,20 @@ var kn = {
|
|
|
3638
3635
|
transform: null,
|
|
3639
3636
|
swapOpacity: !1,
|
|
3640
3637
|
widthAuto: !1
|
|
3641
|
-
}, ge = /* @__PURE__ */
|
|
3642
|
-
var n = K(K({},
|
|
3638
|
+
}, ge = /* @__PURE__ */ Cn.forwardRef(function(e, t) {
|
|
3639
|
+
var n = K(K({}, Tn), e), r = n.icon, a = n.mask, o = n.symbol, i = n.className, s = n.title, u = n.titleId, l = n.maskId, f = Pn(r), h = ot("classes", [].concat(St(Xo(n)), St((i || "").split(" ")))), y = ot("transform", typeof n.transform == "string" ? At.transform(n.transform) : n.transform), w = ot("mask", Pn(a)), L = To(f, K(K(K(K({}, h), y), w), {}, {
|
|
3643
3640
|
symbol: o,
|
|
3644
3641
|
title: s,
|
|
3645
3642
|
titleId: u,
|
|
3646
3643
|
maskId: l
|
|
3647
3644
|
}));
|
|
3648
3645
|
if (!L)
|
|
3649
|
-
return ti("Could not find icon",
|
|
3646
|
+
return ti("Could not find icon", f), null;
|
|
3650
3647
|
var b = L.abstract, E = {
|
|
3651
3648
|
ref: t
|
|
3652
3649
|
};
|
|
3653
3650
|
return Object.keys(n).forEach(function(O) {
|
|
3654
|
-
|
|
3651
|
+
Tn.hasOwnProperty(O) || (E[O] = n[O]);
|
|
3655
3652
|
}), ni(b[0], E);
|
|
3656
3653
|
});
|
|
3657
3654
|
ge.displayName = "FontAwesomeIcon";
|
|
@@ -3687,7 +3684,7 @@ ge.propTypes = {
|
|
|
3687
3684
|
swapOpacity: A.bool,
|
|
3688
3685
|
widthAuto: A.bool
|
|
3689
3686
|
};
|
|
3690
|
-
var ni = xr.bind(null,
|
|
3687
|
+
var ni = xr.bind(null, Cn.createElement);
|
|
3691
3688
|
const ri = {
|
|
3692
3689
|
prefix: "fas",
|
|
3693
3690
|
iconName: "bars",
|
|
@@ -3696,7 +3693,7 @@ const ri = {
|
|
|
3696
3693
|
prefix: "fas",
|
|
3697
3694
|
iconName: "xmark",
|
|
3698
3695
|
icon: [384, 512, [128473, 10005, 10006, 10060, 215, "close", "multiply", "remove", "times"], "f00d", "M342.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 210.7 86.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256 41.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3 297.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 256 342.6 150.6z"]
|
|
3699
|
-
}, Ar = ai, oi = ({ isOpen: e, onClose: t, position: n }) => /* @__PURE__ */ B(
|
|
3696
|
+
}, Ar = ai, oi = ({ isOpen: e, onClose: t, position: n }) => /* @__PURE__ */ B(kn, { children: [
|
|
3700
3697
|
/* @__PURE__ */ _("div", { className: `sidebar-backdrop ${e ? "open" : ""}`, onClick: t }),
|
|
3701
3698
|
/* @__PURE__ */ B("nav", { className: `sidebar-menu ${e ? "open" : ""} position-${n}`, children: [
|
|
3702
3699
|
/* @__PURE__ */ _(
|
|
@@ -3718,15 +3715,15 @@ const ri = {
|
|
|
3718
3715
|
] })
|
|
3719
3716
|
] })
|
|
3720
3717
|
] }), mi = ({ hamburgerPosition: e }) => {
|
|
3721
|
-
const [t, n] =
|
|
3722
|
-
return
|
|
3718
|
+
const [t, n] = Re(!1), [r, a] = Re(!1);
|
|
3719
|
+
return Pt(() => {
|
|
3723
3720
|
const o = () => {
|
|
3724
3721
|
a(window.scrollY > 10);
|
|
3725
3722
|
};
|
|
3726
3723
|
return window.addEventListener("scroll", o), o(), () => {
|
|
3727
3724
|
window.removeEventListener("scroll", o);
|
|
3728
3725
|
};
|
|
3729
|
-
}, []), /* @__PURE__ */ B(
|
|
3726
|
+
}, []), /* @__PURE__ */ B(kn, { children: [
|
|
3730
3727
|
/* @__PURE__ */ B("header", { className: `navbar ${r ? "scrolled" : ""} hamburger-${e}`, children: [
|
|
3731
3728
|
/* @__PURE__ */ _("div", { className: "navbar-overlay" }),
|
|
3732
3729
|
/* @__PURE__ */ _("a", { href: "#", className: "navbar-logo", children: "SwarAksara" }),
|
|
@@ -3777,21 +3774,18 @@ const ii = {
|
|
|
3777
3774
|
] })
|
|
3778
3775
|
] });
|
|
3779
3776
|
}, hi = () => {
|
|
3780
|
-
const { mode: e, setMode: t
|
|
3781
|
-
return /* @__PURE__ */
|
|
3777
|
+
const { mode: e, setMode: t } = Or();
|
|
3778
|
+
return /* @__PURE__ */ _(
|
|
3782
3779
|
"button",
|
|
3783
3780
|
{
|
|
3784
3781
|
type: "button",
|
|
3785
3782
|
className: "trigger-button",
|
|
3786
3783
|
onClick: () => {
|
|
3787
|
-
t(
|
|
3784
|
+
t(e === "light" ? "dark" : "light");
|
|
3788
3785
|
},
|
|
3789
|
-
"aria-label": `Switch to ${
|
|
3786
|
+
"aria-label": `Switch to ${e === "light" ? "dark" : "light"} mode`,
|
|
3790
3787
|
style: { padding: "0.5rem 1rem", fontSize: "0.9rem" },
|
|
3791
|
-
children:
|
|
3792
|
-
n === "light" ? "🌙 Dark Mode" : "☀️ Light Mode",
|
|
3793
|
-
e === "auto" && /* @__PURE__ */ _("span", { style: { fontSize: "0.7em", marginLeft: "6px" }, children: "(Auto)" })
|
|
3794
|
-
]
|
|
3788
|
+
children: e === "light" ? "🌙 Dark Mode" : "☀️ Light Mode"
|
|
3795
3789
|
}
|
|
3796
3790
|
);
|
|
3797
3791
|
}, gi = ({ isOpen: e, onClose: t, title: n, children: r }) => e ? /* @__PURE__ */ _("div", { className: "modal-backdrop", onClick: t, children: /* @__PURE__ */ B("div", { className: "modal-content", onClick: (a) => a.stopPropagation(), children: [
|