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