prozilla-os 1.3.7 → 1.3.8
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/main.d.ts +6 -0
- package/dist/main.js +524 -524
- package/dist/main.js.map +1 -1
- package/package.json +10 -10
package/dist/main.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { App as
|
|
1
|
+
import { App as Un, AppsConfig as Rt, useVirtualRoot as Tr, useWindowsManager as Bn, useSystemManager as Lt, useHistory as kr, useAlert as Cr, useWindowedModal as Ir, useContextMenu as Kt, Actions as Jt, ClickAction as Ie, Vector2 as Ue, Divider as Nr, VirtualRoot as Qt, DialogBox as Zt, ModalsConfig as en, DirectoryList as Mr, CODE_EXTENSIONS as Rr, utilStyles as Ft, WindowedModal as Lr, ImagePreview as tn, StorageManager as nn, VirtualFile as Fr, IMAGE_EXTENSIONS as Wn } from "@prozilla-os/core";
|
|
2
2
|
export * from "@prozilla-os/core";
|
|
3
3
|
import { jsxs as W, jsx as b } from "react/jsx-runtime";
|
|
4
4
|
import Hn, { useState as nt, useCallback as jr, useEffect as ht } from "react";
|
|
@@ -20,9 +20,9 @@ try {
|
|
|
20
20
|
}
|
|
21
21
|
const {
|
|
22
22
|
userAgent: an = ""
|
|
23
|
-
} = jt.navigator || {}, de = jt,
|
|
23
|
+
} = jt.navigator || {}, de = jt, U = Vn, on = qn, Be = Gn;
|
|
24
24
|
de.document;
|
|
25
|
-
const le =
|
|
25
|
+
const le = !!U.documentElement && !!U.head && typeof U.addEventListener == "function" && typeof U.createElement == "function", Xn = ~an.indexOf("MSIE") || ~an.indexOf("Trident/");
|
|
26
26
|
var B = "classic", Kn = "duotone", G = "sharp", X = "sharp-duotone", zr = [B, Kn, G, X], Dr = {
|
|
27
27
|
classic: {
|
|
28
28
|
900: "fas",
|
|
@@ -49,7 +49,7 @@ var B = "classic", Kn = "duotone", G = "sharp", X = "sharp-duotone", zr = [B, Kn
|
|
|
49
49
|
fakd: "kit-duotone",
|
|
50
50
|
"fa-kit-duotone": "kit-duotone"
|
|
51
51
|
}
|
|
52
|
-
}, Yr = ["kit"],
|
|
52
|
+
}, Yr = ["kit"], $r = /fa(s|r|l|t|d|b|k|kd|ss|sr|sl|st|sds)?[\-\ ]/, Ur = /Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp Duotone|Sharp|Kit)?.*/i, Br = {
|
|
53
53
|
"Font Awesome 5 Free": {
|
|
54
54
|
900: "fas",
|
|
55
55
|
400: "far"
|
|
@@ -266,7 +266,7 @@ xt[B] = {
|
|
|
266
266
|
...xt[B],
|
|
267
267
|
...Zr.kit
|
|
268
268
|
};
|
|
269
|
-
const aa = ze(xt),
|
|
269
|
+
const aa = ze(xt), oa = $r, ar = "fa-layers-text", ia = Ur, sa = {
|
|
270
270
|
...Dr
|
|
271
271
|
};
|
|
272
272
|
ze(sa);
|
|
@@ -276,19 +276,19 @@ Object.keys(Fe[G]).map(Oe.add.bind(Oe));
|
|
|
276
276
|
Object.keys(Fe[X]).map(Oe.add.bind(Oe));
|
|
277
277
|
const la = [...Yr, ...Jr], Re = de.FontAwesomeConfig || {};
|
|
278
278
|
function fa(e) {
|
|
279
|
-
var t =
|
|
279
|
+
var t = U.querySelector("script[" + e + "]");
|
|
280
280
|
if (t)
|
|
281
281
|
return t.getAttribute(e);
|
|
282
282
|
}
|
|
283
283
|
function ua(e) {
|
|
284
284
|
return e === "" ? !0 : e === "false" ? !1 : e === "true" ? !0 : e;
|
|
285
285
|
}
|
|
286
|
-
|
|
286
|
+
U && typeof U.querySelector == "function" && [["data-family-prefix", "familyPrefix"], ["data-css-prefix", "cssPrefix"], ["data-family-default", "familyDefault"], ["data-style-default", "styleDefault"], ["data-replacement-class", "replacementClass"], ["data-auto-replace-svg", "autoReplaceSvg"], ["data-auto-add-css", "autoAddCss"], ["data-auto-a11y", "autoA11y"], ["data-search-pseudo-elements", "searchPseudoElements"], ["data-observe-mutations", "observeMutations"], ["data-mutate-approach", "mutateApproach"], ["data-keep-original-source", "keepOriginalSource"], ["data-measure-performance", "measurePerformance"], ["data-show-missing-icons", "showMissingIcons"]].forEach((t) => {
|
|
287
287
|
let [n, r] = t;
|
|
288
288
|
const a = ua(fa(n));
|
|
289
289
|
a != null && (Re[r] = a);
|
|
290
290
|
});
|
|
291
|
-
const
|
|
291
|
+
const or = {
|
|
292
292
|
styleDefault: "solid",
|
|
293
293
|
familyDefault: "classic",
|
|
294
294
|
cssPrefix: Zn,
|
|
@@ -305,12 +305,12 @@ const ir = {
|
|
|
305
305
|
};
|
|
306
306
|
Re.familyPrefix && (Re.cssPrefix = Re.familyPrefix);
|
|
307
307
|
const Pe = {
|
|
308
|
-
...
|
|
308
|
+
...or,
|
|
309
309
|
...Re
|
|
310
310
|
};
|
|
311
311
|
Pe.autoReplaceSvg || (Pe.observeMutations = !1);
|
|
312
312
|
const g = {};
|
|
313
|
-
Object.keys(
|
|
313
|
+
Object.keys(or).forEach((e) => {
|
|
314
314
|
Object.defineProperty(g, e, {
|
|
315
315
|
enumerable: !0,
|
|
316
316
|
set: function(t) {
|
|
@@ -348,15 +348,15 @@ const fe = gt, ae = {
|
|
|
348
348
|
function ma(e) {
|
|
349
349
|
if (!e || !le)
|
|
350
350
|
return;
|
|
351
|
-
const t =
|
|
351
|
+
const t = U.createElement("style");
|
|
352
352
|
t.setAttribute("type", "text/css"), t.innerHTML = e;
|
|
353
|
-
const n =
|
|
353
|
+
const n = U.head.childNodes;
|
|
354
354
|
let r = null;
|
|
355
355
|
for (let a = n.length - 1; a > -1; a--) {
|
|
356
|
-
const
|
|
357
|
-
["STYLE", "LINK"].indexOf(s) > -1 && (r =
|
|
356
|
+
const o = n[a], s = (o.tagName || "").toUpperCase();
|
|
357
|
+
["STYLE", "LINK"].indexOf(s) > -1 && (r = o);
|
|
358
358
|
}
|
|
359
|
-
return
|
|
359
|
+
return U.head.insertBefore(t, r), e;
|
|
360
360
|
}
|
|
361
361
|
const pa = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";
|
|
362
362
|
function je() {
|
|
@@ -374,16 +374,16 @@ function Te(e) {
|
|
|
374
374
|
function Yt(e) {
|
|
375
375
|
return e.classList ? Te(e.classList) : (e.getAttribute("class") || "").split(" ").filter((t) => t);
|
|
376
376
|
}
|
|
377
|
-
function
|
|
377
|
+
function ir(e) {
|
|
378
378
|
return "".concat(e).replace(/&/g, "&").replace(/"/g, """).replace(/'/g, "'").replace(/</g, "<").replace(/>/g, ">");
|
|
379
379
|
}
|
|
380
380
|
function ha(e) {
|
|
381
|
-
return Object.keys(e || {}).reduce((t, n) => t + "".concat(n, '="').concat(
|
|
381
|
+
return Object.keys(e || {}).reduce((t, n) => t + "".concat(n, '="').concat(ir(e[n]), '" '), "").trim();
|
|
382
382
|
}
|
|
383
383
|
function Je(e) {
|
|
384
384
|
return Object.keys(e || {}).reduce((t, n) => t + "".concat(n, ": ").concat(e[n].trim(), ";"), "");
|
|
385
385
|
}
|
|
386
|
-
function
|
|
386
|
+
function $t(e) {
|
|
387
387
|
return e.size !== ae.size || e.x !== ae.x || e.y !== ae.y || e.rotate !== ae.rotate || e.flipX || e.flipY;
|
|
388
388
|
}
|
|
389
389
|
function ga(e) {
|
|
@@ -394,8 +394,8 @@ function ga(e) {
|
|
|
394
394
|
} = e;
|
|
395
395
|
const a = {
|
|
396
396
|
transform: "translate(".concat(n / 2, " 256)")
|
|
397
|
-
},
|
|
398
|
-
transform: "".concat(
|
|
397
|
+
}, o = "translate(".concat(t.x * 32, ", ").concat(t.y * 32, ") "), s = "scale(".concat(t.size / 16 * (t.flipX ? -1 : 1), ", ").concat(t.size / 16 * (t.flipY ? -1 : 1), ") "), i = "rotate(".concat(t.rotate, " 0 0)"), c = {
|
|
398
|
+
transform: "".concat(o, " ").concat(s, " ").concat(i)
|
|
399
399
|
}, l = {
|
|
400
400
|
transform: "translate(".concat(r / 2 * -1, " -256)")
|
|
401
401
|
};
|
|
@@ -411,8 +411,8 @@ function ya(e) {
|
|
|
411
411
|
width: n = gt,
|
|
412
412
|
height: r = gt,
|
|
413
413
|
startCentered: a = !1
|
|
414
|
-
} = e,
|
|
415
|
-
return a && Xn ?
|
|
414
|
+
} = e, o = "";
|
|
415
|
+
return a && Xn ? o += "translate(".concat(t.x / fe - n / 2, "em, ").concat(t.y / fe - r / 2, "em) ") : a ? o += "translate(calc(-50% + ".concat(t.x / fe, "em), calc(-50% + ").concat(t.y / fe, "em)) ") : o += "translate(".concat(t.x / fe, "em, ").concat(t.y / fe, "em) "), o += "scale(".concat(t.size / fe * (t.flipX ? -1 : 1), ", ").concat(t.size / fe * (t.flipY ? -1 : 1), ") "), o += "rotate(".concat(t.rotate, "deg) "), o;
|
|
416
416
|
}
|
|
417
417
|
var ba = `:root, :host {
|
|
418
418
|
--fa-font-solid: normal 900 1em/1 "Font Awesome 6 Free";
|
|
@@ -971,8 +971,8 @@ function sr() {
|
|
|
971
971
|
const e = Zn, t = er, n = g.cssPrefix, r = g.replacementClass;
|
|
972
972
|
let a = ba;
|
|
973
973
|
if (n !== e || r !== t) {
|
|
974
|
-
const
|
|
975
|
-
a = a.replace(
|
|
974
|
+
const o = new RegExp("\\.".concat(e, "\\-"), "g"), s = new RegExp("\\--".concat(e, "\\-"), "g"), i = new RegExp("\\.".concat(t), "g");
|
|
975
|
+
a = a.replace(o, ".".concat(n, "-")).replace(s, "--".concat(n, "-")).replace(i, ".".concat(r));
|
|
976
976
|
}
|
|
977
977
|
return a;
|
|
978
978
|
}
|
|
@@ -1005,12 +1005,12 @@ ce[se] || (ce[se] = {});
|
|
|
1005
1005
|
ce[se].styles || (ce[se].styles = {});
|
|
1006
1006
|
ce[se].hooks || (ce[se].hooks = {});
|
|
1007
1007
|
ce[se].shims || (ce[se].shims = []);
|
|
1008
|
-
var
|
|
1008
|
+
var oe = ce[se];
|
|
1009
1009
|
const cr = [], lr = function() {
|
|
1010
|
-
|
|
1010
|
+
U.removeEventListener("DOMContentLoaded", lr), Ge = 1, cr.map((e) => e());
|
|
1011
1011
|
};
|
|
1012
1012
|
let Ge = !1;
|
|
1013
|
-
le && (Ge = (
|
|
1013
|
+
le && (Ge = (U.documentElement.doScroll ? /^loaded|^c/ : /^loaded|^i|^c/).test(U.readyState), Ge || U.addEventListener("DOMContentLoaded", lr));
|
|
1014
1014
|
function xa(e) {
|
|
1015
1015
|
le && (Ge ? setTimeout(e, 0) : cr.push(e));
|
|
1016
1016
|
}
|
|
@@ -1020,7 +1020,7 @@ function De(e) {
|
|
|
1020
1020
|
attributes: n = {},
|
|
1021
1021
|
children: r = []
|
|
1022
1022
|
} = e;
|
|
1023
|
-
return typeof e == "string" ?
|
|
1023
|
+
return typeof e == "string" ? ir(e) : "<".concat(t, " ").concat(ha(n), ">").concat(r.map(De).join(""), "</").concat(t, ">");
|
|
1024
1024
|
}
|
|
1025
1025
|
function un(e, t, n) {
|
|
1026
1026
|
if (e && e[t] && e[t][n])
|
|
@@ -1030,10 +1030,10 @@ function un(e, t, n) {
|
|
|
1030
1030
|
icon: e[t][n]
|
|
1031
1031
|
};
|
|
1032
1032
|
}
|
|
1033
|
-
var
|
|
1034
|
-
var
|
|
1035
|
-
for (r === void 0 ? (c = 1, f = t[
|
|
1036
|
-
l =
|
|
1033
|
+
var ot = function(t, n, r, a) {
|
|
1034
|
+
var o = Object.keys(t), s = o.length, i = n, c, l, f;
|
|
1035
|
+
for (r === void 0 ? (c = 1, f = t[o[0]]) : (c = 0, f = r); c < s; c++)
|
|
1036
|
+
l = o[c], f = i(f, t[l], l, t);
|
|
1037
1037
|
return f;
|
|
1038
1038
|
};
|
|
1039
1039
|
function _a(e) {
|
|
@@ -1043,8 +1043,8 @@ function _a(e) {
|
|
|
1043
1043
|
for (; n < r; ) {
|
|
1044
1044
|
const a = e.charCodeAt(n++);
|
|
1045
1045
|
if (a >= 55296 && a <= 56319 && n < r) {
|
|
1046
|
-
const
|
|
1047
|
-
(
|
|
1046
|
+
const o = e.charCodeAt(n++);
|
|
1047
|
+
(o & 64512) == 56320 ? t.push(((a & 1023) << 10) + (o & 1023) + 65536) : (t.push(a), n--);
|
|
1048
1048
|
} else
|
|
1049
1049
|
t.push(a);
|
|
1050
1050
|
}
|
|
@@ -1054,7 +1054,7 @@ function _t(e) {
|
|
|
1054
1054
|
const t = _a(e);
|
|
1055
1055
|
return t.length === 1 ? t[0].toString(16) : null;
|
|
1056
1056
|
}
|
|
1057
|
-
function
|
|
1057
|
+
function Ea(e, t) {
|
|
1058
1058
|
const n = e.length;
|
|
1059
1059
|
let r = e.charCodeAt(t), a;
|
|
1060
1060
|
return r >= 55296 && r <= 56319 && n > t + 1 && (a = e.charCodeAt(t + 1), a >= 56320 && a <= 57343) ? (r - 55296) * 1024 + a - 56320 + 65536 : r;
|
|
@@ -1065,25 +1065,25 @@ function dn(e) {
|
|
|
1065
1065
|
return !!r.icon ? t[r.iconName] = r.icon : t[n] = r, t;
|
|
1066
1066
|
}, {});
|
|
1067
1067
|
}
|
|
1068
|
-
function
|
|
1068
|
+
function Et(e, t) {
|
|
1069
1069
|
let n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
1070
1070
|
const {
|
|
1071
1071
|
skipHooks: r = !1
|
|
1072
1072
|
} = n, a = dn(t);
|
|
1073
|
-
typeof
|
|
1074
|
-
...
|
|
1073
|
+
typeof oe.hooks.addPack == "function" && !r ? oe.hooks.addPack(e, dn(t)) : oe.styles[e] = {
|
|
1074
|
+
...oe.styles[e] || {},
|
|
1075
1075
|
...a
|
|
1076
|
-
}, e === "fas" &&
|
|
1076
|
+
}, e === "fas" && Et("fa", t);
|
|
1077
1077
|
}
|
|
1078
1078
|
const {
|
|
1079
1079
|
styles: ye,
|
|
1080
|
-
shims:
|
|
1081
|
-
} =
|
|
1080
|
+
shims: wa
|
|
1081
|
+
} = oe, Aa = {
|
|
1082
1082
|
[B]: Object.values(ve[B]),
|
|
1083
1083
|
[G]: Object.values(ve[G]),
|
|
1084
1084
|
[X]: Object.values(ve[X])
|
|
1085
1085
|
};
|
|
1086
|
-
let
|
|
1086
|
+
let Ut = null, fr = {}, ur = {}, dr = {}, mr = {}, pr = {};
|
|
1087
1087
|
const Sa = {
|
|
1088
1088
|
[B]: Object.keys(be[B]),
|
|
1089
1089
|
[G]: Object.keys(be[G]),
|
|
@@ -1097,38 +1097,38 @@ function Pa(e, t) {
|
|
|
1097
1097
|
return r === e && a !== "" && !Oa(a) ? a : null;
|
|
1098
1098
|
}
|
|
1099
1099
|
const hr = () => {
|
|
1100
|
-
const e = (r) =>
|
|
1101
|
-
fr = e((r, a,
|
|
1102
|
-
r[
|
|
1103
|
-
}), r)), ur = e((r, a,
|
|
1104
|
-
r[
|
|
1105
|
-
}), r)), pr = e((r, a,
|
|
1100
|
+
const e = (r) => ot(ye, (a, o, s) => (a[s] = ot(o, r, {}), a), {});
|
|
1101
|
+
fr = e((r, a, o) => (a[3] && (r[a[3]] = o), a[2] && a[2].filter((i) => typeof i == "number").forEach((i) => {
|
|
1102
|
+
r[i.toString(16)] = o;
|
|
1103
|
+
}), r)), ur = e((r, a, o) => (r[o] = o, a[2] && a[2].filter((i) => typeof i == "string").forEach((i) => {
|
|
1104
|
+
r[i] = o;
|
|
1105
|
+
}), r)), pr = e((r, a, o) => {
|
|
1106
1106
|
const s = a[2];
|
|
1107
|
-
return r[
|
|
1108
|
-
r[
|
|
1107
|
+
return r[o] = o, s.forEach((i) => {
|
|
1108
|
+
r[i] = o;
|
|
1109
1109
|
}), r;
|
|
1110
1110
|
});
|
|
1111
|
-
const t = "far" in ye || g.autoFetchSvg, n =
|
|
1112
|
-
const
|
|
1111
|
+
const t = "far" in ye || g.autoFetchSvg, n = ot(wa, (r, a) => {
|
|
1112
|
+
const o = a[0];
|
|
1113
1113
|
let s = a[1];
|
|
1114
|
-
const
|
|
1115
|
-
return s === "far" && !t && (s = "fas"), typeof
|
|
1114
|
+
const i = a[2];
|
|
1115
|
+
return s === "far" && !t && (s = "fas"), typeof o == "string" && (r.names[o] = {
|
|
1116
1116
|
prefix: s,
|
|
1117
|
-
iconName:
|
|
1118
|
-
}), typeof
|
|
1117
|
+
iconName: i
|
|
1118
|
+
}), typeof o == "number" && (r.unicodes[o.toString(16)] = {
|
|
1119
1119
|
prefix: s,
|
|
1120
|
-
iconName:
|
|
1120
|
+
iconName: i
|
|
1121
1121
|
}), r;
|
|
1122
1122
|
}, {
|
|
1123
1123
|
names: {},
|
|
1124
1124
|
unicodes: {}
|
|
1125
1125
|
});
|
|
1126
|
-
dr = n.names, mr = n.unicodes,
|
|
1126
|
+
dr = n.names, mr = n.unicodes, Ut = Qe(g.styleDefault, {
|
|
1127
1127
|
family: g.familyDefault
|
|
1128
1128
|
});
|
|
1129
1129
|
};
|
|
1130
1130
|
da((e) => {
|
|
1131
|
-
|
|
1131
|
+
Ut = Qe(e.styleDefault, {
|
|
1132
1132
|
family: g.familyDefault
|
|
1133
1133
|
});
|
|
1134
1134
|
});
|
|
@@ -1159,7 +1159,7 @@ function ka(e) {
|
|
|
1159
1159
|
};
|
|
1160
1160
|
}
|
|
1161
1161
|
function me() {
|
|
1162
|
-
return
|
|
1162
|
+
return Ut;
|
|
1163
1163
|
}
|
|
1164
1164
|
const Wt = () => ({
|
|
1165
1165
|
prefix: null,
|
|
@@ -1170,8 +1170,8 @@ function Qe(e) {
|
|
|
1170
1170
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
1171
1171
|
const {
|
|
1172
1172
|
family: n = B
|
|
1173
|
-
} = t, r = be[n][e], a = Fe[n][e] || Fe[n][r],
|
|
1174
|
-
return a ||
|
|
1173
|
+
} = t, r = be[n][e], a = Fe[n][e] || Fe[n][r], o = e in oe.styles ? e : null;
|
|
1174
|
+
return a || o || null;
|
|
1175
1175
|
}
|
|
1176
1176
|
const Ca = {
|
|
1177
1177
|
[B]: Object.keys(ve[B]),
|
|
@@ -1187,22 +1187,22 @@ function Ze(e) {
|
|
|
1187
1187
|
[G]: "".concat(g.cssPrefix, "-").concat(G),
|
|
1188
1188
|
[X]: "".concat(g.cssPrefix, "-").concat(X)
|
|
1189
1189
|
};
|
|
1190
|
-
let a = null,
|
|
1190
|
+
let a = null, o = B;
|
|
1191
1191
|
const s = zr.filter((c) => c !== Kn);
|
|
1192
1192
|
s.forEach((c) => {
|
|
1193
|
-
(e.includes(r[c]) || e.some((l) => Ca[c].includes(l))) && (
|
|
1193
|
+
(e.includes(r[c]) || e.some((l) => Ca[c].includes(l))) && (o = c);
|
|
1194
1194
|
});
|
|
1195
|
-
const
|
|
1195
|
+
const i = e.reduce((c, l) => {
|
|
1196
1196
|
const f = Pa(g.cssPrefix, l);
|
|
1197
|
-
if (ye[l] ? (l = Aa[
|
|
1198
|
-
family:
|
|
1197
|
+
if (ye[l] ? (l = Aa[o].includes(l) ? aa[o][l] : l, a = l, c.prefix = l) : Sa[o].indexOf(l) > -1 ? (a = l, c.prefix = Qe(l, {
|
|
1198
|
+
family: o
|
|
1199
1199
|
})) : f ? c.iconName = f : l !== g.replacementClass && !s.some((p) => l === r[p]) && c.rest.push(l), !n && c.prefix && c.iconName) {
|
|
1200
1200
|
const p = a === "fa" ? gr(c.iconName) : {}, y = ue(c.prefix, c.iconName);
|
|
1201
1201
|
p.prefix && (a = null), c.iconName = p.iconName || y || c.iconName, c.prefix = p.prefix || c.prefix, c.prefix === "far" && !ye.far && ye.fas && !g.autoFetchSvg && (c.prefix = "fas");
|
|
1202
1202
|
}
|
|
1203
1203
|
return c;
|
|
1204
1204
|
}, Wt());
|
|
1205
|
-
return (e.includes("fa-brands") || e.includes("fab")) && (
|
|
1205
|
+
return (e.includes("fa-brands") || e.includes("fab")) && (i.prefix = "fab"), (e.includes("fa-duotone") || e.includes("fad")) && (i.prefix = "fad"), !i.prefix && o === G && (ye.fass || g.autoFetchSvg) && (i.prefix = "fass", i.iconName = ue(i.prefix, i.iconName) || i.iconName), !i.prefix && o === X && (ye.fasds || g.autoFetchSvg) && (i.prefix = "fasds", i.iconName = ue(i.prefix, i.iconName) || i.iconName), (i.prefix === "fa" || a === "fa") && (i.prefix = me() || "fas"), i;
|
|
1206
1206
|
}
|
|
1207
1207
|
class Ia {
|
|
1208
1208
|
constructor() {
|
|
@@ -1212,13 +1212,13 @@ class Ia {
|
|
|
1212
1212
|
for (var t = arguments.length, n = new Array(t), r = 0; r < t; r++)
|
|
1213
1213
|
n[r] = arguments[r];
|
|
1214
1214
|
const a = n.reduce(this._pullDefinitions, {});
|
|
1215
|
-
Object.keys(a).forEach((
|
|
1216
|
-
this.definitions[
|
|
1217
|
-
...this.definitions[
|
|
1218
|
-
...a[
|
|
1219
|
-
},
|
|
1220
|
-
const s = ve[B][
|
|
1221
|
-
s &&
|
|
1215
|
+
Object.keys(a).forEach((o) => {
|
|
1216
|
+
this.definitions[o] = {
|
|
1217
|
+
...this.definitions[o] || {},
|
|
1218
|
+
...a[o]
|
|
1219
|
+
}, Et(o, a[o]);
|
|
1220
|
+
const s = ve[B][o];
|
|
1221
|
+
s && Et(s, a[o]), hr();
|
|
1222
1222
|
});
|
|
1223
1223
|
}
|
|
1224
1224
|
reset() {
|
|
@@ -1230,51 +1230,51 @@ class Ia {
|
|
|
1230
1230
|
} : n;
|
|
1231
1231
|
return Object.keys(r).map((a) => {
|
|
1232
1232
|
const {
|
|
1233
|
-
prefix:
|
|
1233
|
+
prefix: o,
|
|
1234
1234
|
iconName: s,
|
|
1235
|
-
icon:
|
|
1236
|
-
} = r[a], c =
|
|
1237
|
-
t[
|
|
1238
|
-
typeof l == "string" && (t[
|
|
1239
|
-
}), t[
|
|
1235
|
+
icon: i
|
|
1236
|
+
} = r[a], c = i[2];
|
|
1237
|
+
t[o] || (t[o] = {}), c.length > 0 && c.forEach((l) => {
|
|
1238
|
+
typeof l == "string" && (t[o][l] = i);
|
|
1239
|
+
}), t[o][s] = i;
|
|
1240
1240
|
}), t;
|
|
1241
1241
|
}
|
|
1242
1242
|
}
|
|
1243
|
-
let mn = [],
|
|
1243
|
+
let mn = [], we = {};
|
|
1244
1244
|
const Se = {}, Na = Object.keys(Se);
|
|
1245
1245
|
function Ma(e, t) {
|
|
1246
1246
|
let {
|
|
1247
1247
|
mixoutsTo: n
|
|
1248
1248
|
} = t;
|
|
1249
|
-
return mn = e,
|
|
1249
|
+
return mn = e, we = {}, Object.keys(Se).forEach((r) => {
|
|
1250
1250
|
Na.indexOf(r) === -1 && delete Se[r];
|
|
1251
1251
|
}), mn.forEach((r) => {
|
|
1252
1252
|
const a = r.mixout ? r.mixout() : {};
|
|
1253
|
-
if (Object.keys(a).forEach((
|
|
1254
|
-
typeof a[
|
|
1255
|
-
n[
|
|
1253
|
+
if (Object.keys(a).forEach((o) => {
|
|
1254
|
+
typeof a[o] == "function" && (n[o] = a[o]), typeof a[o] == "object" && Object.keys(a[o]).forEach((s) => {
|
|
1255
|
+
n[o] || (n[o] = {}), n[o][s] = a[o][s];
|
|
1256
1256
|
});
|
|
1257
1257
|
}), r.hooks) {
|
|
1258
|
-
const
|
|
1259
|
-
Object.keys(
|
|
1260
|
-
|
|
1258
|
+
const o = r.hooks();
|
|
1259
|
+
Object.keys(o).forEach((s) => {
|
|
1260
|
+
we[s] || (we[s] = []), we[s].push(o[s]);
|
|
1261
1261
|
});
|
|
1262
1262
|
}
|
|
1263
1263
|
r.provides && r.provides(Se);
|
|
1264
1264
|
}), n;
|
|
1265
1265
|
}
|
|
1266
|
-
function
|
|
1266
|
+
function wt(e, t) {
|
|
1267
1267
|
for (var n = arguments.length, r = new Array(n > 2 ? n - 2 : 0), a = 2; a < n; a++)
|
|
1268
1268
|
r[a - 2] = arguments[a];
|
|
1269
|
-
return (
|
|
1269
|
+
return (we[e] || []).forEach((s) => {
|
|
1270
1270
|
t = s.apply(null, [t, ...r]);
|
|
1271
1271
|
}), t;
|
|
1272
1272
|
}
|
|
1273
1273
|
function _e(e) {
|
|
1274
1274
|
for (var t = arguments.length, n = new Array(t > 1 ? t - 1 : 0), r = 1; r < t; r++)
|
|
1275
1275
|
n[r - 1] = arguments[r];
|
|
1276
|
-
(
|
|
1277
|
-
|
|
1276
|
+
(we[e] || []).forEach((o) => {
|
|
1277
|
+
o.apply(null, n);
|
|
1278
1278
|
});
|
|
1279
1279
|
}
|
|
1280
1280
|
function pe() {
|
|
@@ -1288,7 +1288,7 @@ function At(e) {
|
|
|
1288
1288
|
} = e;
|
|
1289
1289
|
const n = e.prefix || me();
|
|
1290
1290
|
if (t)
|
|
1291
|
-
return t = ue(n, t) || t, un(yr.definitions, n, t) || un(
|
|
1291
|
+
return t = ue(n, t) || t, un(yr.definitions, n, t) || un(oe.styles, n, t);
|
|
1292
1292
|
}
|
|
1293
1293
|
const yr = new Ia(), Ra = () => {
|
|
1294
1294
|
g.autoReplaceSvg = !1, g.observeMutations = !1, _e("noAuto");
|
|
@@ -1324,7 +1324,7 @@ const yr = new Ia(), Ra = () => {
|
|
|
1324
1324
|
iconName: ue(n, t) || t
|
|
1325
1325
|
};
|
|
1326
1326
|
}
|
|
1327
|
-
if (typeof e == "string" && (e.indexOf("".concat(g.cssPrefix, "-")) > -1 || e.match(
|
|
1327
|
+
if (typeof e == "string" && (e.indexOf("".concat(g.cssPrefix, "-")) > -1 || e.match(oa))) {
|
|
1328
1328
|
const t = Ze(e.split(" "), {
|
|
1329
1329
|
skipLookups: !0
|
|
1330
1330
|
});
|
|
@@ -1352,9 +1352,9 @@ const yr = new Ia(), Ra = () => {
|
|
|
1352
1352
|
}, ja = function() {
|
|
1353
1353
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
1354
1354
|
const {
|
|
1355
|
-
autoReplaceSvgRoot: t =
|
|
1355
|
+
autoReplaceSvgRoot: t = U
|
|
1356
1356
|
} = e;
|
|
1357
|
-
(Object.keys(
|
|
1357
|
+
(Object.keys(oe.styles).length > 0 || g.autoFetchSvg) && le && g.autoReplaceSvg && K.dom.i2svg({
|
|
1358
1358
|
node: t
|
|
1359
1359
|
});
|
|
1360
1360
|
};
|
|
@@ -1368,7 +1368,7 @@ function et(e, t) {
|
|
|
1368
1368
|
}), Object.defineProperty(e, "node", {
|
|
1369
1369
|
get: function() {
|
|
1370
1370
|
if (!le) return;
|
|
1371
|
-
const n =
|
|
1371
|
+
const n = U.createElement("div");
|
|
1372
1372
|
return n.innerHTML = e.html, n.children;
|
|
1373
1373
|
}
|
|
1374
1374
|
}), e;
|
|
@@ -1379,19 +1379,19 @@ function za(e) {
|
|
|
1379
1379
|
main: n,
|
|
1380
1380
|
mask: r,
|
|
1381
1381
|
attributes: a,
|
|
1382
|
-
styles:
|
|
1382
|
+
styles: o,
|
|
1383
1383
|
transform: s
|
|
1384
1384
|
} = e;
|
|
1385
|
-
if (
|
|
1385
|
+
if ($t(s) && n.found && !r.found) {
|
|
1386
1386
|
const {
|
|
1387
|
-
width:
|
|
1387
|
+
width: i,
|
|
1388
1388
|
height: c
|
|
1389
1389
|
} = n, l = {
|
|
1390
|
-
x:
|
|
1390
|
+
x: i / c / 2,
|
|
1391
1391
|
y: 0.5
|
|
1392
1392
|
};
|
|
1393
1393
|
a.style = Je({
|
|
1394
|
-
...
|
|
1394
|
+
...o,
|
|
1395
1395
|
"transform-origin": "".concat(l.x + s.x / 16, "em ").concat(l.y + s.y / 16, "em")
|
|
1396
1396
|
});
|
|
1397
1397
|
}
|
|
@@ -1407,9 +1407,9 @@ function Da(e) {
|
|
|
1407
1407
|
iconName: n,
|
|
1408
1408
|
children: r,
|
|
1409
1409
|
attributes: a,
|
|
1410
|
-
symbol:
|
|
1410
|
+
symbol: o
|
|
1411
1411
|
} = e;
|
|
1412
|
-
const s =
|
|
1412
|
+
const s = o === !0 ? "".concat(t, "-").concat(g.cssPrefix, "-").concat(n) : o;
|
|
1413
1413
|
return [{
|
|
1414
1414
|
tag: "svg",
|
|
1415
1415
|
attributes: {
|
|
@@ -1433,9 +1433,9 @@ function Ht(e) {
|
|
|
1433
1433
|
},
|
|
1434
1434
|
prefix: r,
|
|
1435
1435
|
iconName: a,
|
|
1436
|
-
transform:
|
|
1436
|
+
transform: o,
|
|
1437
1437
|
symbol: s,
|
|
1438
|
-
title:
|
|
1438
|
+
title: i,
|
|
1439
1439
|
maskId: c,
|
|
1440
1440
|
titleId: l,
|
|
1441
1441
|
extra: f,
|
|
@@ -1443,14 +1443,14 @@ function Ht(e) {
|
|
|
1443
1443
|
} = e, {
|
|
1444
1444
|
width: y,
|
|
1445
1445
|
height: v
|
|
1446
|
-
} = n.found ? n : t, L = r === "fak",
|
|
1446
|
+
} = n.found ? n : t, L = r === "fak", E = [g.replacementClass, a ? "".concat(g.cssPrefix, "-").concat(a) : ""].filter((d) => f.classes.indexOf(d) === -1).filter((d) => d !== "" || !!d).concat(f.classes).join(" ");
|
|
1447
1447
|
let x = {
|
|
1448
1448
|
children: [],
|
|
1449
1449
|
attributes: {
|
|
1450
1450
|
...f.attributes,
|
|
1451
1451
|
"data-prefix": r,
|
|
1452
1452
|
"data-icon": a,
|
|
1453
|
-
class:
|
|
1453
|
+
class: E,
|
|
1454
1454
|
role: f.attributes.role || "img",
|
|
1455
1455
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1456
1456
|
viewBox: "0 0 ".concat(y, " ").concat(v)
|
|
@@ -1459,21 +1459,21 @@ function Ht(e) {
|
|
|
1459
1459
|
const C = L && !~f.classes.indexOf("fa-fw") ? {
|
|
1460
1460
|
width: "".concat(y / v * 16 * 0.0625, "em")
|
|
1461
1461
|
} : {};
|
|
1462
|
-
p && (x.attributes[xe] = ""),
|
|
1462
|
+
p && (x.attributes[xe] = ""), i && (x.children.push({
|
|
1463
1463
|
tag: "title",
|
|
1464
1464
|
attributes: {
|
|
1465
1465
|
id: x.attributes["aria-labelledby"] || "title-".concat(l || je())
|
|
1466
1466
|
},
|
|
1467
|
-
children: [
|
|
1467
|
+
children: [i]
|
|
1468
1468
|
}), delete x.attributes.title);
|
|
1469
|
-
const
|
|
1469
|
+
const $ = {
|
|
1470
1470
|
...x,
|
|
1471
1471
|
prefix: r,
|
|
1472
1472
|
iconName: a,
|
|
1473
1473
|
main: t,
|
|
1474
1474
|
mask: n,
|
|
1475
1475
|
maskId: c,
|
|
1476
|
-
transform:
|
|
1476
|
+
transform: o,
|
|
1477
1477
|
symbol: s,
|
|
1478
1478
|
styles: {
|
|
1479
1479
|
...C,
|
|
@@ -1482,14 +1482,14 @@ function Ht(e) {
|
|
|
1482
1482
|
}, {
|
|
1483
1483
|
children: T,
|
|
1484
1484
|
attributes: F
|
|
1485
|
-
} = n.found && t.found ? pe("generateAbstractMask",
|
|
1485
|
+
} = n.found && t.found ? pe("generateAbstractMask", $) || {
|
|
1486
1486
|
children: [],
|
|
1487
1487
|
attributes: {}
|
|
1488
|
-
} : pe("generateAbstractIcon",
|
|
1488
|
+
} : pe("generateAbstractIcon", $) || {
|
|
1489
1489
|
children: [],
|
|
1490
1490
|
attributes: {}
|
|
1491
1491
|
};
|
|
1492
|
-
return
|
|
1492
|
+
return $.children = T, $.attributes = F, s ? Da($) : za($);
|
|
1493
1493
|
}
|
|
1494
1494
|
function pn(e) {
|
|
1495
1495
|
const {
|
|
@@ -1497,21 +1497,21 @@ function pn(e) {
|
|
|
1497
1497
|
width: n,
|
|
1498
1498
|
height: r,
|
|
1499
1499
|
transform: a,
|
|
1500
|
-
title:
|
|
1500
|
+
title: o,
|
|
1501
1501
|
extra: s,
|
|
1502
|
-
watchable:
|
|
1502
|
+
watchable: i = !1
|
|
1503
1503
|
} = e, c = {
|
|
1504
1504
|
...s.attributes,
|
|
1505
|
-
...
|
|
1506
|
-
title:
|
|
1505
|
+
...o ? {
|
|
1506
|
+
title: o
|
|
1507
1507
|
} : {},
|
|
1508
1508
|
class: s.classes.join(" ")
|
|
1509
1509
|
};
|
|
1510
|
-
|
|
1510
|
+
i && (c[xe] = "");
|
|
1511
1511
|
const l = {
|
|
1512
1512
|
...s.styles
|
|
1513
1513
|
};
|
|
1514
|
-
|
|
1514
|
+
$t(a) && (l.transform = ya({
|
|
1515
1515
|
transform: a,
|
|
1516
1516
|
startCentered: !0,
|
|
1517
1517
|
width: n,
|
|
@@ -1524,12 +1524,12 @@ function pn(e) {
|
|
|
1524
1524
|
tag: "span",
|
|
1525
1525
|
attributes: c,
|
|
1526
1526
|
children: [t]
|
|
1527
|
-
}),
|
|
1527
|
+
}), o && p.push({
|
|
1528
1528
|
tag: "span",
|
|
1529
1529
|
attributes: {
|
|
1530
1530
|
class: "sr-only"
|
|
1531
1531
|
},
|
|
1532
|
-
children: [
|
|
1532
|
+
children: [o]
|
|
1533
1533
|
}), p;
|
|
1534
1534
|
}
|
|
1535
1535
|
function Ya(e) {
|
|
@@ -1543,8 +1543,8 @@ function Ya(e) {
|
|
|
1543
1543
|
title: n
|
|
1544
1544
|
} : {},
|
|
1545
1545
|
class: r.classes.join(" ")
|
|
1546
|
-
},
|
|
1547
|
-
|
|
1546
|
+
}, o = Je(r.styles);
|
|
1547
|
+
o.length > 0 && (a.style = o);
|
|
1548
1548
|
const s = [];
|
|
1549
1549
|
return s.push({
|
|
1550
1550
|
tag: "span",
|
|
@@ -1559,8 +1559,8 @@ function Ya(e) {
|
|
|
1559
1559
|
}), s;
|
|
1560
1560
|
}
|
|
1561
1561
|
const {
|
|
1562
|
-
styles:
|
|
1563
|
-
} =
|
|
1562
|
+
styles: it
|
|
1563
|
+
} = oe;
|
|
1564
1564
|
function St(e) {
|
|
1565
1565
|
const t = e[0], n = e[1], [r] = e.slice(4);
|
|
1566
1566
|
let a = null;
|
|
@@ -1597,27 +1597,27 @@ function St(e) {
|
|
|
1597
1597
|
icon: a
|
|
1598
1598
|
};
|
|
1599
1599
|
}
|
|
1600
|
-
const
|
|
1600
|
+
const $a = {
|
|
1601
1601
|
found: !1,
|
|
1602
1602
|
width: 512,
|
|
1603
1603
|
height: 512
|
|
1604
1604
|
};
|
|
1605
|
-
function
|
|
1605
|
+
function Ua(e, t) {
|
|
1606
1606
|
!tr && !g.showMissingIcons && e && console.error('Icon with name "'.concat(e, '" and prefix "').concat(t, '" is missing.'));
|
|
1607
1607
|
}
|
|
1608
1608
|
function Ot(e, t) {
|
|
1609
1609
|
let n = t;
|
|
1610
1610
|
return t === "fa" && g.styleDefault !== null && (t = me()), new Promise((r, a) => {
|
|
1611
1611
|
if (n === "fa") {
|
|
1612
|
-
const
|
|
1613
|
-
e =
|
|
1612
|
+
const o = gr(e) || {};
|
|
1613
|
+
e = o.iconName || e, t = o.prefix || t;
|
|
1614
1614
|
}
|
|
1615
|
-
if (e && t &&
|
|
1616
|
-
const
|
|
1617
|
-
return r(St(
|
|
1615
|
+
if (e && t && it[t] && it[t][e]) {
|
|
1616
|
+
const o = it[t][e];
|
|
1617
|
+
return r(St(o));
|
|
1618
1618
|
}
|
|
1619
|
-
|
|
1620
|
-
|
|
1619
|
+
Ua(e, t), r({
|
|
1620
|
+
...$a,
|
|
1621
1621
|
icon: g.showMissingIcons && e ? pe("missingIconAbstract") || {} : {}
|
|
1622
1622
|
});
|
|
1623
1623
|
});
|
|
@@ -1649,10 +1649,10 @@ function Va() {
|
|
|
1649
1649
|
return g.autoReplaceSvg === !0 ? qe.replace : qe[g.autoReplaceSvg] || qe.replace;
|
|
1650
1650
|
}
|
|
1651
1651
|
function qa(e) {
|
|
1652
|
-
return
|
|
1652
|
+
return U.createElementNS("http://www.w3.org/2000/svg", e);
|
|
1653
1653
|
}
|
|
1654
1654
|
function Ga(e) {
|
|
1655
|
-
return
|
|
1655
|
+
return U.createElement(e);
|
|
1656
1656
|
}
|
|
1657
1657
|
function vr(e) {
|
|
1658
1658
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
@@ -1660,12 +1660,12 @@ function vr(e) {
|
|
|
1660
1660
|
ceFn: n = e.tag === "svg" ? qa : Ga
|
|
1661
1661
|
} = t;
|
|
1662
1662
|
if (typeof e == "string")
|
|
1663
|
-
return
|
|
1663
|
+
return U.createTextNode(e);
|
|
1664
1664
|
const r = n(e.tag);
|
|
1665
|
-
return Object.keys(e.attributes || []).forEach(function(
|
|
1666
|
-
r.setAttribute(
|
|
1667
|
-
}), (e.children || []).forEach(function(
|
|
1668
|
-
r.appendChild(vr(
|
|
1665
|
+
return Object.keys(e.attributes || []).forEach(function(o) {
|
|
1666
|
+
r.setAttribute(o, e.attributes[o]);
|
|
1667
|
+
}), (e.children || []).forEach(function(o) {
|
|
1668
|
+
r.appendChild(vr(o, {
|
|
1669
1669
|
ceFn: n
|
|
1670
1670
|
}));
|
|
1671
1671
|
}), r;
|
|
@@ -1681,7 +1681,7 @@ const qe = {
|
|
|
1681
1681
|
if (e[1].forEach((n) => {
|
|
1682
1682
|
t.parentNode.insertBefore(vr(n), t);
|
|
1683
1683
|
}), t.getAttribute(xe) === null && g.keepOriginalSource) {
|
|
1684
|
-
let n =
|
|
1684
|
+
let n = U.createComment(Xa(t));
|
|
1685
1685
|
t.parentNode.replaceChild(n, t);
|
|
1686
1686
|
} else
|
|
1687
1687
|
t.remove();
|
|
@@ -1692,13 +1692,13 @@ const qe = {
|
|
|
1692
1692
|
return qe.replace(e);
|
|
1693
1693
|
const r = new RegExp("".concat(g.cssPrefix, "-.*"));
|
|
1694
1694
|
if (delete n[0].attributes.id, n[0].attributes.class) {
|
|
1695
|
-
const
|
|
1695
|
+
const o = n[0].attributes.class.split(" ").reduce((s, i) => (i === g.replacementClass || i.match(r) ? s.toSvg.push(i) : s.toNode.push(i), s), {
|
|
1696
1696
|
toNode: [],
|
|
1697
1697
|
toSvg: []
|
|
1698
1698
|
});
|
|
1699
|
-
n[0].attributes.class =
|
|
1699
|
+
n[0].attributes.class = o.toSvg.join(" "), o.toNode.length === 0 ? t.removeAttribute("class") : t.setAttribute("class", o.toNode.join(" "));
|
|
1700
1700
|
}
|
|
1701
|
-
const a = n.map((
|
|
1701
|
+
const a = n.map((o) => De(o)).join(`
|
|
1702
1702
|
`);
|
|
1703
1703
|
t.setAttribute(xe, ""), t.innerHTML = a;
|
|
1704
1704
|
}
|
|
@@ -1713,8 +1713,8 @@ function xr(e, t) {
|
|
|
1713
1713
|
else {
|
|
1714
1714
|
let r = yn;
|
|
1715
1715
|
g.mutateApproach === na && (r = de.requestAnimationFrame || yn), r(() => {
|
|
1716
|
-
const a = Va(),
|
|
1717
|
-
e.map(a),
|
|
1716
|
+
const a = Va(), o = Vt.begin("mutate");
|
|
1717
|
+
e.map(a), o(), n();
|
|
1718
1718
|
});
|
|
1719
1719
|
}
|
|
1720
1720
|
}
|
|
@@ -1733,20 +1733,20 @@ function bn(e) {
|
|
|
1733
1733
|
treeCallback: t = Ve,
|
|
1734
1734
|
nodeCallback: n = Ve,
|
|
1735
1735
|
pseudoElementsCallback: r = Ve,
|
|
1736
|
-
observeMutationsRoot: a =
|
|
1736
|
+
observeMutationsRoot: a = U
|
|
1737
1737
|
} = e;
|
|
1738
|
-
Xe = new on((
|
|
1738
|
+
Xe = new on((o) => {
|
|
1739
1739
|
if (qt) return;
|
|
1740
1740
|
const s = me();
|
|
1741
|
-
Te(
|
|
1742
|
-
if (
|
|
1743
|
-
if (
|
|
1741
|
+
Te(o).forEach((i) => {
|
|
1742
|
+
if (i.type === "childList" && i.addedNodes.length > 0 && !gn(i.addedNodes[0]) && (g.searchPseudoElements && r(i.target), t(i.target)), i.type === "attributes" && i.target.parentNode && g.searchPseudoElements && r(i.target.parentNode), i.type === "attributes" && gn(i.target) && ~ca.indexOf(i.attributeName))
|
|
1743
|
+
if (i.attributeName === "class" && Wa(i.target)) {
|
|
1744
1744
|
const {
|
|
1745
1745
|
prefix: c,
|
|
1746
1746
|
iconName: l
|
|
1747
|
-
} = Ze(Yt(
|
|
1748
|
-
|
|
1749
|
-
} else Ha(
|
|
1747
|
+
} = Ze(Yt(i.target));
|
|
1748
|
+
i.target.setAttribute(zt, c || s), l && i.target.setAttribute(Dt, l);
|
|
1749
|
+
} else Ha(i.target) && n(i.target);
|
|
1750
1750
|
});
|
|
1751
1751
|
}), le && Xe.observe(a, {
|
|
1752
1752
|
childList: !0,
|
|
@@ -1762,8 +1762,8 @@ function Ja(e) {
|
|
|
1762
1762
|
const t = e.getAttribute("style");
|
|
1763
1763
|
let n = [];
|
|
1764
1764
|
return t && (n = t.split(";").reduce((r, a) => {
|
|
1765
|
-
const
|
|
1766
|
-
return s &&
|
|
1765
|
+
const o = a.split(":"), s = o[0], i = o.slice(1);
|
|
1766
|
+
return s && i.length > 0 && (r[s] = i.join(":").trim()), r;
|
|
1767
1767
|
}, {})), n;
|
|
1768
1768
|
}
|
|
1769
1769
|
function Qa(e) {
|
|
@@ -1772,10 +1772,10 @@ function Qa(e) {
|
|
|
1772
1772
|
return a.prefix || (a.prefix = me()), t && n && (a.prefix = t, a.iconName = n), a.iconName && a.prefix || (a.prefix && r.length > 0 && (a.iconName = Ta(a.prefix, e.innerText) || Bt(a.prefix, _t(e.innerText))), !a.iconName && g.autoFetchSvg && e.firstChild && e.firstChild.nodeType === Node.TEXT_NODE && (a.iconName = e.firstChild.data)), a;
|
|
1773
1773
|
}
|
|
1774
1774
|
function Za(e) {
|
|
1775
|
-
const t = Te(e.attributes).reduce((a,
|
|
1775
|
+
const t = Te(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");
|
|
1776
1776
|
return g.autoA11y && (n ? t["aria-labelledby"] = "".concat(g.replacementClass, "-title-").concat(r || je()) : (t["aria-hidden"] = "true", t.focusable = "false")), t;
|
|
1777
1777
|
}
|
|
1778
|
-
function
|
|
1778
|
+
function eo() {
|
|
1779
1779
|
return {
|
|
1780
1780
|
iconName: null,
|
|
1781
1781
|
title: null,
|
|
@@ -1804,8 +1804,8 @@ function vn(e) {
|
|
|
1804
1804
|
iconName: n,
|
|
1805
1805
|
prefix: r,
|
|
1806
1806
|
rest: a
|
|
1807
|
-
} = Qa(e),
|
|
1808
|
-
let
|
|
1807
|
+
} = Qa(e), o = Za(e), s = wt("parseNodeAttributes", {}, e);
|
|
1808
|
+
let i = t.styleParser ? Ja(e) : [];
|
|
1809
1809
|
return {
|
|
1810
1810
|
iconName: n,
|
|
1811
1811
|
title: e.getAttribute("title"),
|
|
@@ -1821,49 +1821,49 @@ function vn(e) {
|
|
|
1821
1821
|
symbol: !1,
|
|
1822
1822
|
extra: {
|
|
1823
1823
|
classes: a,
|
|
1824
|
-
styles:
|
|
1825
|
-
attributes:
|
|
1824
|
+
styles: i,
|
|
1825
|
+
attributes: o
|
|
1826
1826
|
},
|
|
1827
1827
|
...s
|
|
1828
1828
|
};
|
|
1829
1829
|
}
|
|
1830
1830
|
const {
|
|
1831
|
-
styles:
|
|
1832
|
-
} =
|
|
1833
|
-
function
|
|
1831
|
+
styles: to
|
|
1832
|
+
} = oe;
|
|
1833
|
+
function Er(e) {
|
|
1834
1834
|
const t = g.autoReplaceSvg === "nest" ? vn(e, {
|
|
1835
1835
|
styleParser: !1
|
|
1836
1836
|
}) : vn(e);
|
|
1837
1837
|
return ~t.extra.classes.indexOf(ar) ? pe("generateLayersText", e, t) : pe("generateSvgReplacementMutation", e, t);
|
|
1838
1838
|
}
|
|
1839
|
-
let
|
|
1839
|
+
let ie = /* @__PURE__ */ new Set();
|
|
1840
1840
|
nr.map((e) => {
|
|
1841
|
-
|
|
1841
|
+
ie.add("fa-".concat(e));
|
|
1842
1842
|
});
|
|
1843
|
-
Object.keys(be[B]).map(
|
|
1844
|
-
Object.keys(be[G]).map(
|
|
1845
|
-
Object.keys(be[X]).map(
|
|
1846
|
-
|
|
1843
|
+
Object.keys(be[B]).map(ie.add.bind(ie));
|
|
1844
|
+
Object.keys(be[G]).map(ie.add.bind(ie));
|
|
1845
|
+
Object.keys(be[X]).map(ie.add.bind(ie));
|
|
1846
|
+
ie = [...ie];
|
|
1847
1847
|
function xn(e) {
|
|
1848
1848
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null;
|
|
1849
1849
|
if (!le) return Promise.resolve();
|
|
1850
|
-
const n =
|
|
1851
|
-
|
|
1852
|
-
const s = [".".concat(ar, ":not([").concat(xe, "])")].concat(
|
|
1850
|
+
const n = U.documentElement.classList, r = (f) => n.add("".concat(ln, "-").concat(f)), a = (f) => n.remove("".concat(ln, "-").concat(f)), o = g.autoFetchSvg ? ie : nr.map((f) => "fa-".concat(f)).concat(Object.keys(to));
|
|
1851
|
+
o.includes("fa") || o.push("fa");
|
|
1852
|
+
const s = [".".concat(ar, ":not([").concat(xe, "])")].concat(o.map((f) => ".".concat(f, ":not([").concat(xe, "])"))).join(", ");
|
|
1853
1853
|
if (s.length === 0)
|
|
1854
1854
|
return Promise.resolve();
|
|
1855
|
-
let
|
|
1855
|
+
let i = [];
|
|
1856
1856
|
try {
|
|
1857
|
-
|
|
1857
|
+
i = Te(e.querySelectorAll(s));
|
|
1858
1858
|
} catch {
|
|
1859
1859
|
}
|
|
1860
|
-
if (
|
|
1860
|
+
if (i.length > 0)
|
|
1861
1861
|
r("pending"), a("complete");
|
|
1862
1862
|
else
|
|
1863
1863
|
return Promise.resolve();
|
|
1864
|
-
const c = Vt.begin("onTree"), l =
|
|
1864
|
+
const c = Vt.begin("onTree"), l = i.reduce((f, p) => {
|
|
1865
1865
|
try {
|
|
1866
|
-
const y =
|
|
1866
|
+
const y = Er(p);
|
|
1867
1867
|
y && f.push(y);
|
|
1868
1868
|
} catch (y) {
|
|
1869
1869
|
tr || y.name === "MissingIcon" && console.error(y);
|
|
@@ -1880,13 +1880,13 @@ function xn(e) {
|
|
|
1880
1880
|
});
|
|
1881
1881
|
});
|
|
1882
1882
|
}
|
|
1883
|
-
function
|
|
1883
|
+
function no(e) {
|
|
1884
1884
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null;
|
|
1885
|
-
|
|
1885
|
+
Er(e).then((n) => {
|
|
1886
1886
|
n && xr([n], t);
|
|
1887
1887
|
});
|
|
1888
1888
|
}
|
|
1889
|
-
function
|
|
1889
|
+
function ro(e) {
|
|
1890
1890
|
return function(t) {
|
|
1891
1891
|
let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
1892
1892
|
const r = (t || {}).icon ? t : At(t || {});
|
|
@@ -1899,15 +1899,15 @@ function ri(e) {
|
|
|
1899
1899
|
});
|
|
1900
1900
|
};
|
|
1901
1901
|
}
|
|
1902
|
-
const
|
|
1902
|
+
const ao = function(e) {
|
|
1903
1903
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
1904
1904
|
const {
|
|
1905
1905
|
transform: n = ae,
|
|
1906
1906
|
symbol: r = !1,
|
|
1907
1907
|
mask: a = null,
|
|
1908
|
-
maskId:
|
|
1908
|
+
maskId: o = null,
|
|
1909
1909
|
title: s = null,
|
|
1910
|
-
titleId:
|
|
1910
|
+
titleId: i = null,
|
|
1911
1911
|
classes: c = [],
|
|
1912
1912
|
attributes: l = {},
|
|
1913
1913
|
styles: f = {}
|
|
@@ -1924,7 +1924,7 @@ const ai = function(e) {
|
|
|
1924
1924
|
}, () => (_e("beforeDOMElementCreation", {
|
|
1925
1925
|
iconDefinition: e,
|
|
1926
1926
|
params: t
|
|
1927
|
-
}), g.autoA11y && (s ? l["aria-labelledby"] = "".concat(g.replacementClass, "-title-").concat(
|
|
1927
|
+
}), g.autoA11y && (s ? l["aria-labelledby"] = "".concat(g.replacementClass, "-title-").concat(i || je()) : (l["aria-hidden"] = "true", l.focusable = "false")), Ht({
|
|
1928
1928
|
icons: {
|
|
1929
1929
|
main: St(v),
|
|
1930
1930
|
mask: a ? St(a.icon) : {
|
|
@@ -1942,8 +1942,8 @@ const ai = function(e) {
|
|
|
1942
1942
|
},
|
|
1943
1943
|
symbol: r,
|
|
1944
1944
|
title: s,
|
|
1945
|
-
maskId:
|
|
1946
|
-
titleId:
|
|
1945
|
+
maskId: o,
|
|
1946
|
+
titleId: i,
|
|
1947
1947
|
extra: {
|
|
1948
1948
|
attributes: l,
|
|
1949
1949
|
styles: f,
|
|
@@ -1951,23 +1951,23 @@ const ai = function(e) {
|
|
|
1951
1951
|
}
|
|
1952
1952
|
})));
|
|
1953
1953
|
};
|
|
1954
|
-
var
|
|
1954
|
+
var oo = {
|
|
1955
1955
|
mixout() {
|
|
1956
1956
|
return {
|
|
1957
|
-
icon:
|
|
1957
|
+
icon: ro(ao)
|
|
1958
1958
|
};
|
|
1959
1959
|
},
|
|
1960
1960
|
hooks() {
|
|
1961
1961
|
return {
|
|
1962
1962
|
mutationObserverCallbacks(e) {
|
|
1963
|
-
return e.treeCallback = xn, e.nodeCallback =
|
|
1963
|
+
return e.treeCallback = xn, e.nodeCallback = no, e;
|
|
1964
1964
|
}
|
|
1965
1965
|
};
|
|
1966
1966
|
},
|
|
1967
1967
|
provides(e) {
|
|
1968
1968
|
e.i2svg = function(t) {
|
|
1969
1969
|
const {
|
|
1970
|
-
node: n =
|
|
1970
|
+
node: n = U,
|
|
1971
1971
|
callback: r = () => {
|
|
1972
1972
|
}
|
|
1973
1973
|
} = t;
|
|
@@ -1976,9 +1976,9 @@ var ii = {
|
|
|
1976
1976
|
const {
|
|
1977
1977
|
iconName: r,
|
|
1978
1978
|
title: a,
|
|
1979
|
-
titleId:
|
|
1979
|
+
titleId: o,
|
|
1980
1980
|
prefix: s,
|
|
1981
|
-
transform:
|
|
1981
|
+
transform: i,
|
|
1982
1982
|
symbol: c,
|
|
1983
1983
|
mask: l,
|
|
1984
1984
|
maskId: f,
|
|
@@ -1991,19 +1991,19 @@ var ii = {
|
|
|
1991
1991
|
height: 512,
|
|
1992
1992
|
icon: {}
|
|
1993
1993
|
})]).then((L) => {
|
|
1994
|
-
let [
|
|
1994
|
+
let [E, x] = L;
|
|
1995
1995
|
y([t, Ht({
|
|
1996
1996
|
icons: {
|
|
1997
|
-
main:
|
|
1997
|
+
main: E,
|
|
1998
1998
|
mask: x
|
|
1999
1999
|
},
|
|
2000
2000
|
prefix: s,
|
|
2001
2001
|
iconName: r,
|
|
2002
|
-
transform:
|
|
2002
|
+
transform: i,
|
|
2003
2003
|
symbol: c,
|
|
2004
2004
|
maskId: f,
|
|
2005
2005
|
title: a,
|
|
2006
|
-
titleId:
|
|
2006
|
+
titleId: o,
|
|
2007
2007
|
extra: p,
|
|
2008
2008
|
watchable: !0
|
|
2009
2009
|
})]);
|
|
@@ -2014,15 +2014,15 @@ var ii = {
|
|
|
2014
2014
|
children: n,
|
|
2015
2015
|
attributes: r,
|
|
2016
2016
|
main: a,
|
|
2017
|
-
transform:
|
|
2017
|
+
transform: o,
|
|
2018
2018
|
styles: s
|
|
2019
2019
|
} = t;
|
|
2020
|
-
const
|
|
2021
|
-
|
|
2020
|
+
const i = Je(s);
|
|
2021
|
+
i.length > 0 && (r.style = i);
|
|
2022
2022
|
let c;
|
|
2023
|
-
return
|
|
2023
|
+
return $t(o) && (c = pe("generateAbstractTransformGrouping", {
|
|
2024
2024
|
main: a,
|
|
2025
|
-
transform:
|
|
2025
|
+
transform: o,
|
|
2026
2026
|
containerWidth: a.width,
|
|
2027
2027
|
iconWidth: a.width
|
|
2028
2028
|
})), n.push(c || a.icon), {
|
|
@@ -2031,7 +2031,7 @@ var ii = {
|
|
|
2031
2031
|
};
|
|
2032
2032
|
};
|
|
2033
2033
|
}
|
|
2034
|
-
},
|
|
2034
|
+
}, io = {
|
|
2035
2035
|
mixout() {
|
|
2036
2036
|
return {
|
|
2037
2037
|
layer(e) {
|
|
@@ -2048,8 +2048,8 @@ var ii = {
|
|
|
2048
2048
|
});
|
|
2049
2049
|
let r = [];
|
|
2050
2050
|
return e((a) => {
|
|
2051
|
-
Array.isArray(a) ? a.map((
|
|
2052
|
-
r = r.concat(
|
|
2051
|
+
Array.isArray(a) ? a.map((o) => {
|
|
2052
|
+
r = r.concat(o.abstract);
|
|
2053
2053
|
}) : r = r.concat(a.abstract);
|
|
2054
2054
|
}), [{
|
|
2055
2055
|
tag: "span",
|
|
@@ -2062,7 +2062,7 @@ var ii = {
|
|
|
2062
2062
|
}
|
|
2063
2063
|
};
|
|
2064
2064
|
}
|
|
2065
|
-
},
|
|
2065
|
+
}, so = {
|
|
2066
2066
|
mixout() {
|
|
2067
2067
|
return {
|
|
2068
2068
|
counter(e) {
|
|
@@ -2071,7 +2071,7 @@ var ii = {
|
|
|
2071
2071
|
title: n = null,
|
|
2072
2072
|
classes: r = [],
|
|
2073
2073
|
attributes: a = {},
|
|
2074
|
-
styles:
|
|
2074
|
+
styles: o = {}
|
|
2075
2075
|
} = t;
|
|
2076
2076
|
return et({
|
|
2077
2077
|
type: "counter",
|
|
@@ -2084,14 +2084,14 @@ var ii = {
|
|
|
2084
2084
|
title: n,
|
|
2085
2085
|
extra: {
|
|
2086
2086
|
attributes: a,
|
|
2087
|
-
styles:
|
|
2087
|
+
styles: o,
|
|
2088
2088
|
classes: ["".concat(g.cssPrefix, "-layers-counter"), ...r]
|
|
2089
2089
|
}
|
|
2090
2090
|
})));
|
|
2091
2091
|
}
|
|
2092
2092
|
};
|
|
2093
2093
|
}
|
|
2094
|
-
},
|
|
2094
|
+
}, co = {
|
|
2095
2095
|
mixout() {
|
|
2096
2096
|
return {
|
|
2097
2097
|
text(e) {
|
|
@@ -2100,7 +2100,7 @@ var ii = {
|
|
|
2100
2100
|
transform: n = ae,
|
|
2101
2101
|
title: r = null,
|
|
2102
2102
|
classes: a = [],
|
|
2103
|
-
attributes:
|
|
2103
|
+
attributes: o = {},
|
|
2104
2104
|
styles: s = {}
|
|
2105
2105
|
} = t;
|
|
2106
2106
|
return et({
|
|
@@ -2117,7 +2117,7 @@ var ii = {
|
|
|
2117
2117
|
},
|
|
2118
2118
|
title: r,
|
|
2119
2119
|
extra: {
|
|
2120
|
-
attributes:
|
|
2120
|
+
attributes: o,
|
|
2121
2121
|
styles: s,
|
|
2122
2122
|
classes: ["".concat(g.cssPrefix, "-layers-text"), ...a]
|
|
2123
2123
|
}
|
|
@@ -2130,26 +2130,26 @@ var ii = {
|
|
|
2130
2130
|
const {
|
|
2131
2131
|
title: r,
|
|
2132
2132
|
transform: a,
|
|
2133
|
-
extra:
|
|
2133
|
+
extra: o
|
|
2134
2134
|
} = n;
|
|
2135
|
-
let s = null,
|
|
2135
|
+
let s = null, i = null;
|
|
2136
2136
|
if (Xn) {
|
|
2137
2137
|
const c = parseInt(getComputedStyle(t).fontSize, 10), l = t.getBoundingClientRect();
|
|
2138
|
-
s = l.width / c,
|
|
2138
|
+
s = l.width / c, i = l.height / c;
|
|
2139
2139
|
}
|
|
2140
|
-
return g.autoA11y && !r && (
|
|
2140
|
+
return g.autoA11y && !r && (o.attributes["aria-hidden"] = "true"), Promise.resolve([t, pn({
|
|
2141
2141
|
content: t.innerHTML,
|
|
2142
2142
|
width: s,
|
|
2143
|
-
height:
|
|
2143
|
+
height: i,
|
|
2144
2144
|
transform: a,
|
|
2145
2145
|
title: r,
|
|
2146
|
-
extra:
|
|
2146
|
+
extra: o,
|
|
2147
2147
|
watchable: !0
|
|
2148
2148
|
})]);
|
|
2149
2149
|
};
|
|
2150
2150
|
}
|
|
2151
2151
|
};
|
|
2152
|
-
const
|
|
2152
|
+
const lo = new RegExp('"', "ug"), _n = [1105920, 1112319], En = {
|
|
2153
2153
|
FontAwesome: {
|
|
2154
2154
|
normal: "fas",
|
|
2155
2155
|
400: "fas"
|
|
@@ -2157,44 +2157,44 @@ const li = new RegExp('"', "ug"), _n = [1105920, 1112319], wn = {
|
|
|
2157
2157
|
...Wr,
|
|
2158
2158
|
...Br,
|
|
2159
2159
|
...Qr
|
|
2160
|
-
}, kt = Object.keys(
|
|
2160
|
+
}, kt = Object.keys(En).reduce((e, t) => (e[t.toLowerCase()] = En[t], e), {}), fo = Object.keys(kt).reduce((e, t) => {
|
|
2161
2161
|
const n = kt[t];
|
|
2162
2162
|
return e[t] = n[900] || [...Object.entries(n)][0][1], e;
|
|
2163
2163
|
}, {});
|
|
2164
|
-
function
|
|
2165
|
-
const t = e.replace(
|
|
2164
|
+
function uo(e) {
|
|
2165
|
+
const t = e.replace(lo, ""), n = Ea(t, 0), r = n >= _n[0] && n <= _n[1], a = t.length === 2 ? t[0] === t[1] : !1;
|
|
2166
2166
|
return {
|
|
2167
2167
|
value: _t(a ? t[0] : t),
|
|
2168
2168
|
isSecondary: r || a
|
|
2169
2169
|
};
|
|
2170
2170
|
}
|
|
2171
|
-
function
|
|
2171
|
+
function mo(e, t) {
|
|
2172
2172
|
const n = e.replace(/^['"]|['"]$/g, "").toLowerCase(), r = parseInt(t), a = isNaN(r) ? "normal" : r;
|
|
2173
|
-
return (kt[n] || {})[a] ||
|
|
2173
|
+
return (kt[n] || {})[a] || fo[n];
|
|
2174
2174
|
}
|
|
2175
|
-
function
|
|
2175
|
+
function wn(e, t) {
|
|
2176
2176
|
const n = "".concat(ta).concat(t.replace(":", "-"));
|
|
2177
2177
|
return new Promise((r, a) => {
|
|
2178
2178
|
if (e.getAttribute(n) !== null)
|
|
2179
2179
|
return r();
|
|
2180
|
-
const s = Te(e.children).filter((y) => y.getAttribute(yt) === t)[0],
|
|
2180
|
+
const s = Te(e.children).filter((y) => y.getAttribute(yt) === t)[0], i = de.getComputedStyle(e, t), c = i.getPropertyValue("font-family"), l = c.match(ia), f = i.getPropertyValue("font-weight"), p = i.getPropertyValue("content");
|
|
2181
2181
|
if (s && !l)
|
|
2182
2182
|
return e.removeChild(s), r();
|
|
2183
2183
|
if (l && p !== "none" && p !== "") {
|
|
2184
|
-
const y =
|
|
2185
|
-
let v =
|
|
2184
|
+
const y = i.getPropertyValue("content");
|
|
2185
|
+
let v = mo(c, f);
|
|
2186
2186
|
const {
|
|
2187
2187
|
value: L,
|
|
2188
|
-
isSecondary:
|
|
2189
|
-
} =
|
|
2190
|
-
let C = Bt(v, L),
|
|
2188
|
+
isSecondary: E
|
|
2189
|
+
} = uo(y), x = l[0].startsWith("FontAwesome");
|
|
2190
|
+
let C = Bt(v, L), $ = C;
|
|
2191
2191
|
if (x) {
|
|
2192
2192
|
const T = ka(L);
|
|
2193
2193
|
T.iconName && T.prefix && (C = T.iconName, v = T.prefix);
|
|
2194
2194
|
}
|
|
2195
|
-
if (C && !
|
|
2196
|
-
e.setAttribute(n,
|
|
2197
|
-
const T =
|
|
2195
|
+
if (C && !E && (!s || s.getAttribute(zt) !== v || s.getAttribute(Dt) !== $)) {
|
|
2196
|
+
e.setAttribute(n, $), s && e.removeChild(s);
|
|
2197
|
+
const T = eo(), {
|
|
2198
2198
|
extra: F
|
|
2199
2199
|
} = T;
|
|
2200
2200
|
F.attributes[yt] = t, Ot(C, v).then((d) => {
|
|
@@ -2205,10 +2205,10 @@ function En(e, t) {
|
|
|
2205
2205
|
mask: Wt()
|
|
2206
2206
|
},
|
|
2207
2207
|
prefix: v,
|
|
2208
|
-
iconName:
|
|
2208
|
+
iconName: $,
|
|
2209
2209
|
extra: F,
|
|
2210
2210
|
watchable: !0
|
|
2211
|
-
}), Q =
|
|
2211
|
+
}), Q = U.createElementNS("http://www.w3.org/2000/svg", "svg");
|
|
2212
2212
|
t === "::before" ? e.insertBefore(Q, e.firstChild) : e.appendChild(Q), Q.outerHTML = J.map((he) => De(he)).join(`
|
|
2213
2213
|
`), e.removeAttribute(n), r();
|
|
2214
2214
|
}).catch(a);
|
|
@@ -2218,16 +2218,16 @@ function En(e, t) {
|
|
|
2218
2218
|
r();
|
|
2219
2219
|
});
|
|
2220
2220
|
}
|
|
2221
|
-
function
|
|
2222
|
-
return Promise.all([
|
|
2221
|
+
function po(e) {
|
|
2222
|
+
return Promise.all([wn(e, "::before"), wn(e, "::after")]);
|
|
2223
2223
|
}
|
|
2224
|
-
function
|
|
2224
|
+
function ho(e) {
|
|
2225
2225
|
return e.parentNode !== document.head && !~ra.indexOf(e.tagName.toUpperCase()) && !e.getAttribute(yt) && (!e.parentNode || e.parentNode.tagName !== "svg");
|
|
2226
2226
|
}
|
|
2227
2227
|
function An(e) {
|
|
2228
2228
|
if (le)
|
|
2229
2229
|
return new Promise((t, n) => {
|
|
2230
|
-
const r = Te(e.querySelectorAll("*")).filter(
|
|
2230
|
+
const r = Te(e.querySelectorAll("*")).filter(ho).map(po), a = Vt.begin("searchPseudoElements");
|
|
2231
2231
|
_r(), Promise.all(r).then(() => {
|
|
2232
2232
|
a(), Tt(), t();
|
|
2233
2233
|
}).catch(() => {
|
|
@@ -2235,7 +2235,7 @@ function An(e) {
|
|
|
2235
2235
|
});
|
|
2236
2236
|
});
|
|
2237
2237
|
}
|
|
2238
|
-
var
|
|
2238
|
+
var go = {
|
|
2239
2239
|
hooks() {
|
|
2240
2240
|
return {
|
|
2241
2241
|
mutationObserverCallbacks(e) {
|
|
@@ -2246,14 +2246,14 @@ var hi = {
|
|
|
2246
2246
|
provides(e) {
|
|
2247
2247
|
e.pseudoElements2svg = function(t) {
|
|
2248
2248
|
const {
|
|
2249
|
-
node: n =
|
|
2249
|
+
node: n = U
|
|
2250
2250
|
} = t;
|
|
2251
2251
|
g.searchPseudoElements && An(n);
|
|
2252
2252
|
};
|
|
2253
2253
|
}
|
|
2254
2254
|
};
|
|
2255
2255
|
let Sn = !1;
|
|
2256
|
-
var
|
|
2256
|
+
var yo = {
|
|
2257
2257
|
mixout() {
|
|
2258
2258
|
return {
|
|
2259
2259
|
dom: {
|
|
@@ -2266,7 +2266,7 @@ var gi = {
|
|
|
2266
2266
|
hooks() {
|
|
2267
2267
|
return {
|
|
2268
2268
|
bootstrap() {
|
|
2269
|
-
bn(
|
|
2269
|
+
bn(wt("mutationObserverCallbacks", {}));
|
|
2270
2270
|
},
|
|
2271
2271
|
noAuto() {
|
|
2272
2272
|
Ka();
|
|
@@ -2275,7 +2275,7 @@ var gi = {
|
|
|
2275
2275
|
const {
|
|
2276
2276
|
observeMutationsRoot: t
|
|
2277
2277
|
} = e;
|
|
2278
|
-
Sn ? Tt() : bn(
|
|
2278
|
+
Sn ? Tt() : bn(wt("mutationObserverCallbacks", {
|
|
2279
2279
|
observeMutationsRoot: t
|
|
2280
2280
|
}));
|
|
2281
2281
|
}
|
|
@@ -2292,15 +2292,15 @@ const On = (e) => {
|
|
|
2292
2292
|
rotate: 0
|
|
2293
2293
|
};
|
|
2294
2294
|
return e.toLowerCase().split(" ").reduce((n, r) => {
|
|
2295
|
-
const a = r.toLowerCase().split("-"),
|
|
2295
|
+
const a = r.toLowerCase().split("-"), o = a[0];
|
|
2296
2296
|
let s = a.slice(1).join("-");
|
|
2297
|
-
if (
|
|
2297
|
+
if (o && s === "h")
|
|
2298
2298
|
return n.flipX = !0, n;
|
|
2299
|
-
if (
|
|
2299
|
+
if (o && s === "v")
|
|
2300
2300
|
return n.flipY = !0, n;
|
|
2301
2301
|
if (s = parseFloat(s), isNaN(s))
|
|
2302
2302
|
return n;
|
|
2303
|
-
switch (
|
|
2303
|
+
switch (o) {
|
|
2304
2304
|
case "grow":
|
|
2305
2305
|
n.size = n.size + s;
|
|
2306
2306
|
break;
|
|
@@ -2326,7 +2326,7 @@ const On = (e) => {
|
|
|
2326
2326
|
return n;
|
|
2327
2327
|
}, t);
|
|
2328
2328
|
};
|
|
2329
|
-
var
|
|
2329
|
+
var bo = {
|
|
2330
2330
|
mixout() {
|
|
2331
2331
|
return {
|
|
2332
2332
|
parse: {
|
|
@@ -2348,14 +2348,14 @@ var yi = {
|
|
|
2348
2348
|
main: n,
|
|
2349
2349
|
transform: r,
|
|
2350
2350
|
containerWidth: a,
|
|
2351
|
-
iconWidth:
|
|
2351
|
+
iconWidth: o
|
|
2352
2352
|
} = t;
|
|
2353
2353
|
const s = {
|
|
2354
2354
|
transform: "translate(".concat(a / 2, " 256)")
|
|
2355
|
-
},
|
|
2356
|
-
transform: "".concat(
|
|
2355
|
+
}, i = "translate(".concat(r.x * 32, ", ").concat(r.y * 32, ") "), c = "scale(".concat(r.size / 16 * (r.flipX ? -1 : 1), ", ").concat(r.size / 16 * (r.flipY ? -1 : 1), ") "), l = "rotate(".concat(r.rotate, " 0 0)"), f = {
|
|
2356
|
+
transform: "".concat(i, " ").concat(c, " ").concat(l)
|
|
2357
2357
|
}, p = {
|
|
2358
|
-
transform: "translate(".concat(
|
|
2358
|
+
transform: "translate(".concat(o / 2 * -1, " -256)")
|
|
2359
2359
|
}, y = {
|
|
2360
2360
|
outer: s,
|
|
2361
2361
|
inner: f,
|
|
@@ -2394,10 +2394,10 @@ function Pn(e) {
|
|
|
2394
2394
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0;
|
|
2395
2395
|
return e.attributes && (e.attributes.fill || t) && (e.attributes.fill = "black"), e;
|
|
2396
2396
|
}
|
|
2397
|
-
function
|
|
2397
|
+
function vo(e) {
|
|
2398
2398
|
return e.tag === "g" ? e.children : [e];
|
|
2399
2399
|
}
|
|
2400
|
-
var
|
|
2400
|
+
var xo = {
|
|
2401
2401
|
hooks() {
|
|
2402
2402
|
return {
|
|
2403
2403
|
parseNodeAttributes(e, t) {
|
|
@@ -2412,9 +2412,9 @@ var vi = {
|
|
|
2412
2412
|
children: n,
|
|
2413
2413
|
attributes: r,
|
|
2414
2414
|
main: a,
|
|
2415
|
-
mask:
|
|
2415
|
+
mask: o,
|
|
2416
2416
|
maskId: s,
|
|
2417
|
-
transform:
|
|
2417
|
+
transform: i
|
|
2418
2418
|
} = t;
|
|
2419
2419
|
const {
|
|
2420
2420
|
width: c,
|
|
@@ -2422,8 +2422,8 @@ var vi = {
|
|
|
2422
2422
|
} = a, {
|
|
2423
2423
|
width: f,
|
|
2424
2424
|
icon: p
|
|
2425
|
-
} =
|
|
2426
|
-
transform:
|
|
2425
|
+
} = o, y = ga({
|
|
2426
|
+
transform: i,
|
|
2427
2427
|
containerWidth: f,
|
|
2428
2428
|
iconWidth: c
|
|
2429
2429
|
}), v = {
|
|
@@ -2434,7 +2434,7 @@ var vi = {
|
|
|
2434
2434
|
}
|
|
2435
2435
|
}, L = l.children ? {
|
|
2436
2436
|
children: l.children.map(Pn)
|
|
2437
|
-
} : {},
|
|
2437
|
+
} : {}, E = {
|
|
2438
2438
|
tag: "g",
|
|
2439
2439
|
attributes: {
|
|
2440
2440
|
...y.inner
|
|
@@ -2452,8 +2452,8 @@ var vi = {
|
|
|
2452
2452
|
attributes: {
|
|
2453
2453
|
...y.outer
|
|
2454
2454
|
},
|
|
2455
|
-
children: [
|
|
2456
|
-
}, C = "mask-".concat(s || je()),
|
|
2455
|
+
children: [E]
|
|
2456
|
+
}, C = "mask-".concat(s || je()), $ = "clip-".concat(s || je()), T = {
|
|
2457
2457
|
tag: "mask",
|
|
2458
2458
|
attributes: {
|
|
2459
2459
|
...st,
|
|
@@ -2467,16 +2467,16 @@ var vi = {
|
|
|
2467
2467
|
children: [{
|
|
2468
2468
|
tag: "clipPath",
|
|
2469
2469
|
attributes: {
|
|
2470
|
-
id:
|
|
2470
|
+
id: $
|
|
2471
2471
|
},
|
|
2472
|
-
children:
|
|
2472
|
+
children: vo(p)
|
|
2473
2473
|
}, T]
|
|
2474
2474
|
};
|
|
2475
2475
|
return n.push(F, {
|
|
2476
2476
|
tag: "rect",
|
|
2477
2477
|
attributes: {
|
|
2478
2478
|
fill: "currentColor",
|
|
2479
|
-
"clip-path": "url(#".concat(
|
|
2479
|
+
"clip-path": "url(#".concat($, ")"),
|
|
2480
2480
|
mask: "url(#".concat(C, ")"),
|
|
2481
2481
|
...st
|
|
2482
2482
|
}
|
|
@@ -2486,7 +2486,7 @@ var vi = {
|
|
|
2486
2486
|
};
|
|
2487
2487
|
};
|
|
2488
2488
|
}
|
|
2489
|
-
},
|
|
2489
|
+
}, _o = {
|
|
2490
2490
|
provides(e) {
|
|
2491
2491
|
let t = !1;
|
|
2492
2492
|
de.matchMedia && (t = de.matchMedia("(prefers-reduced-motion: reduce)").matches), e.missingIconAbstract = function() {
|
|
@@ -2504,7 +2504,7 @@ var vi = {
|
|
|
2504
2504
|
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"
|
|
2505
2505
|
}
|
|
2506
2506
|
});
|
|
2507
|
-
const
|
|
2507
|
+
const o = {
|
|
2508
2508
|
...a,
|
|
2509
2509
|
attributeName: "opacity"
|
|
2510
2510
|
}, s = {
|
|
@@ -2527,7 +2527,7 @@ var vi = {
|
|
|
2527
2527
|
}, {
|
|
2528
2528
|
tag: "animate",
|
|
2529
2529
|
attributes: {
|
|
2530
|
-
...
|
|
2530
|
+
...o,
|
|
2531
2531
|
values: "1;0;1;1;0;1;"
|
|
2532
2532
|
}
|
|
2533
2533
|
}), n.push(s), n.push({
|
|
@@ -2540,7 +2540,7 @@ var vi = {
|
|
|
2540
2540
|
children: t ? [] : [{
|
|
2541
2541
|
tag: "animate",
|
|
2542
2542
|
attributes: {
|
|
2543
|
-
...
|
|
2543
|
+
...o,
|
|
2544
2544
|
values: "1;0;0;0;0;1;"
|
|
2545
2545
|
}
|
|
2546
2546
|
}]
|
|
@@ -2554,7 +2554,7 @@ var vi = {
|
|
|
2554
2554
|
children: [{
|
|
2555
2555
|
tag: "animate",
|
|
2556
2556
|
attributes: {
|
|
2557
|
-
...
|
|
2557
|
+
...o,
|
|
2558
2558
|
values: "0;0;1;1;0;0;"
|
|
2559
2559
|
}
|
|
2560
2560
|
}]
|
|
@@ -2567,7 +2567,7 @@ var vi = {
|
|
|
2567
2567
|
};
|
|
2568
2568
|
};
|
|
2569
2569
|
}
|
|
2570
|
-
},
|
|
2570
|
+
}, Eo = {
|
|
2571
2571
|
hooks() {
|
|
2572
2572
|
return {
|
|
2573
2573
|
parseNodeAttributes(e, t) {
|
|
@@ -2576,8 +2576,8 @@ var vi = {
|
|
|
2576
2576
|
}
|
|
2577
2577
|
};
|
|
2578
2578
|
}
|
|
2579
|
-
},
|
|
2580
|
-
Ma(
|
|
2579
|
+
}, wo = [va, oo, io, so, co, go, yo, bo, xo, _o, Eo];
|
|
2580
|
+
Ma(wo, {
|
|
2581
2581
|
mixoutsTo: K
|
|
2582
2582
|
});
|
|
2583
2583
|
K.noAuto;
|
|
@@ -2587,11 +2587,11 @@ K.dom;
|
|
|
2587
2587
|
const Ct = K.parse;
|
|
2588
2588
|
K.findIconDefinition;
|
|
2589
2589
|
K.toHtml;
|
|
2590
|
-
const
|
|
2590
|
+
const Ao = K.icon;
|
|
2591
2591
|
K.layer;
|
|
2592
2592
|
K.text;
|
|
2593
2593
|
K.counter;
|
|
2594
|
-
function
|
|
2594
|
+
function So(e) {
|
|
2595
2595
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
2596
2596
|
}
|
|
2597
2597
|
var It = { exports: {} }, We = { exports: {} }, j = {};
|
|
@@ -2604,10 +2604,10 @@ var It = { exports: {} }, We = { exports: {} }, j = {};
|
|
|
2604
2604
|
* LICENSE file in the root directory of this source tree.
|
|
2605
2605
|
*/
|
|
2606
2606
|
var Tn;
|
|
2607
|
-
function
|
|
2607
|
+
function Oo() {
|
|
2608
2608
|
if (Tn) return j;
|
|
2609
2609
|
Tn = 1;
|
|
2610
|
-
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,
|
|
2610
|
+
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, s = e ? Symbol.for("react.provider") : 60109, i = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, l = e ? Symbol.for("react.concurrent_mode") : 60111, f = e ? Symbol.for("react.forward_ref") : 60112, p = e ? Symbol.for("react.suspense") : 60113, y = e ? Symbol.for("react.suspense_list") : 60120, v = e ? Symbol.for("react.memo") : 60115, L = e ? Symbol.for("react.lazy") : 60116, E = e ? Symbol.for("react.block") : 60121, x = e ? Symbol.for("react.fundamental") : 60117, C = e ? Symbol.for("react.responder") : 60118, $ = e ? Symbol.for("react.scope") : 60119;
|
|
2611
2611
|
function T(d) {
|
|
2612
2612
|
if (typeof d == "object" && d !== null) {
|
|
2613
2613
|
var J = d.$$typeof;
|
|
@@ -2617,13 +2617,13 @@ function Si() {
|
|
|
2617
2617
|
case c:
|
|
2618
2618
|
case l:
|
|
2619
2619
|
case r:
|
|
2620
|
-
case
|
|
2620
|
+
case o:
|
|
2621
2621
|
case a:
|
|
2622
2622
|
case p:
|
|
2623
2623
|
return d;
|
|
2624
2624
|
default:
|
|
2625
2625
|
switch (d = d && d.$$typeof, d) {
|
|
2626
|
-
case
|
|
2626
|
+
case i:
|
|
2627
2627
|
case f:
|
|
2628
2628
|
case L:
|
|
2629
2629
|
case v:
|
|
@@ -2641,10 +2641,10 @@ function Si() {
|
|
|
2641
2641
|
function F(d) {
|
|
2642
2642
|
return T(d) === l;
|
|
2643
2643
|
}
|
|
2644
|
-
return j.AsyncMode = c, j.ConcurrentMode = l, j.ContextConsumer =
|
|
2644
|
+
return j.AsyncMode = c, j.ConcurrentMode = l, j.ContextConsumer = i, j.ContextProvider = s, j.Element = t, j.ForwardRef = f, j.Fragment = r, j.Lazy = L, j.Memo = v, j.Portal = n, j.Profiler = o, j.StrictMode = a, j.Suspense = p, j.isAsyncMode = function(d) {
|
|
2645
2645
|
return F(d) || T(d) === c;
|
|
2646
2646
|
}, j.isConcurrentMode = F, j.isContextConsumer = function(d) {
|
|
2647
|
-
return T(d) ===
|
|
2647
|
+
return T(d) === i;
|
|
2648
2648
|
}, j.isContextProvider = function(d) {
|
|
2649
2649
|
return T(d) === s;
|
|
2650
2650
|
}, j.isElement = function(d) {
|
|
@@ -2660,13 +2660,13 @@ function Si() {
|
|
|
2660
2660
|
}, j.isPortal = function(d) {
|
|
2661
2661
|
return T(d) === n;
|
|
2662
2662
|
}, j.isProfiler = function(d) {
|
|
2663
|
-
return T(d) ===
|
|
2663
|
+
return T(d) === o;
|
|
2664
2664
|
}, j.isStrictMode = function(d) {
|
|
2665
2665
|
return T(d) === a;
|
|
2666
2666
|
}, j.isSuspense = function(d) {
|
|
2667
2667
|
return T(d) === p;
|
|
2668
2668
|
}, j.isValidElementType = function(d) {
|
|
2669
|
-
return typeof d == "string" || typeof d == "function" || d === r || d === l || d ===
|
|
2669
|
+
return typeof d == "string" || typeof d == "function" || d === r || d === l || d === o || d === a || d === p || d === y || typeof d == "object" && d !== null && (d.$$typeof === L || d.$$typeof === v || d.$$typeof === s || d.$$typeof === i || d.$$typeof === f || d.$$typeof === x || d.$$typeof === C || d.$$typeof === $ || d.$$typeof === E);
|
|
2670
2670
|
}, j.typeOf = T, j;
|
|
2671
2671
|
}
|
|
2672
2672
|
var z = {};
|
|
@@ -2679,31 +2679,31 @@ var z = {};
|
|
|
2679
2679
|
* LICENSE file in the root directory of this source tree.
|
|
2680
2680
|
*/
|
|
2681
2681
|
var kn;
|
|
2682
|
-
function
|
|
2682
|
+
function Po() {
|
|
2683
2683
|
return kn || (kn = 1, process.env.NODE_ENV !== "production" && function() {
|
|
2684
|
-
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,
|
|
2684
|
+
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, s = e ? Symbol.for("react.provider") : 60109, i = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, l = e ? Symbol.for("react.concurrent_mode") : 60111, f = e ? Symbol.for("react.forward_ref") : 60112, p = e ? Symbol.for("react.suspense") : 60113, y = e ? Symbol.for("react.suspense_list") : 60120, v = e ? Symbol.for("react.memo") : 60115, L = e ? Symbol.for("react.lazy") : 60116, E = e ? Symbol.for("react.block") : 60121, x = e ? Symbol.for("react.fundamental") : 60117, C = e ? Symbol.for("react.responder") : 60118, $ = e ? Symbol.for("react.scope") : 60119;
|
|
2685
2685
|
function T(m) {
|
|
2686
2686
|
return typeof m == "string" || typeof m == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
2687
|
-
m === r || m === l || m ===
|
|
2687
|
+
m === r || m === l || m === o || m === a || m === p || m === y || typeof m == "object" && m !== null && (m.$$typeof === L || m.$$typeof === v || m.$$typeof === s || m.$$typeof === i || m.$$typeof === f || m.$$typeof === x || m.$$typeof === C || m.$$typeof === $ || m.$$typeof === E);
|
|
2688
2688
|
}
|
|
2689
2689
|
function F(m) {
|
|
2690
2690
|
if (typeof m == "object" && m !== null) {
|
|
2691
2691
|
var te = m.$$typeof;
|
|
2692
2692
|
switch (te) {
|
|
2693
2693
|
case t:
|
|
2694
|
-
var
|
|
2695
|
-
switch (
|
|
2694
|
+
var $e = m.type;
|
|
2695
|
+
switch ($e) {
|
|
2696
2696
|
case c:
|
|
2697
2697
|
case l:
|
|
2698
2698
|
case r:
|
|
2699
|
-
case
|
|
2699
|
+
case o:
|
|
2700
2700
|
case a:
|
|
2701
2701
|
case p:
|
|
2702
|
-
return
|
|
2702
|
+
return $e;
|
|
2703
2703
|
default:
|
|
2704
|
-
var Xt =
|
|
2704
|
+
var Xt = $e && $e.$$typeof;
|
|
2705
2705
|
switch (Xt) {
|
|
2706
|
-
case
|
|
2706
|
+
case i:
|
|
2707
2707
|
case f:
|
|
2708
2708
|
case L:
|
|
2709
2709
|
case v:
|
|
@@ -2718,7 +2718,7 @@ function Oi() {
|
|
|
2718
2718
|
}
|
|
2719
2719
|
}
|
|
2720
2720
|
}
|
|
2721
|
-
var d = c, J = l, Q =
|
|
2721
|
+
var d = c, J = l, Q = i, he = s, ke = t, Z = f, Ee = r, Ce = L, ge = v, D = n, R = o, w = a, ee = p, Ye = !1;
|
|
2722
2722
|
function tt(m) {
|
|
2723
2723
|
return Ye || (Ye = !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.")), u(m) || F(m) === c;
|
|
2724
2724
|
}
|
|
@@ -2726,7 +2726,7 @@ function Oi() {
|
|
|
2726
2726
|
return F(m) === l;
|
|
2727
2727
|
}
|
|
2728
2728
|
function h(m) {
|
|
2729
|
-
return F(m) ===
|
|
2729
|
+
return F(m) === i;
|
|
2730
2730
|
}
|
|
2731
2731
|
function k(m) {
|
|
2732
2732
|
return F(m) === s;
|
|
@@ -2750,7 +2750,7 @@ function Oi() {
|
|
|
2750
2750
|
return F(m) === n;
|
|
2751
2751
|
}
|
|
2752
2752
|
function Y(m) {
|
|
2753
|
-
return F(m) ===
|
|
2753
|
+
return F(m) === o;
|
|
2754
2754
|
}
|
|
2755
2755
|
function M(m) {
|
|
2756
2756
|
return F(m) === a;
|
|
@@ -2758,12 +2758,12 @@ function Oi() {
|
|
|
2758
2758
|
function V(m) {
|
|
2759
2759
|
return F(m) === p;
|
|
2760
2760
|
}
|
|
2761
|
-
z.AsyncMode = d, z.ConcurrentMode = J, z.ContextConsumer = Q, z.ContextProvider = he, z.Element = ke, z.ForwardRef = Z, z.Fragment =
|
|
2761
|
+
z.AsyncMode = d, z.ConcurrentMode = J, z.ContextConsumer = Q, z.ContextProvider = he, z.Element = ke, z.ForwardRef = Z, z.Fragment = Ee, z.Lazy = Ce, z.Memo = ge, z.Portal = D, z.Profiler = R, z.StrictMode = w, z.Suspense = ee, z.isAsyncMode = tt, z.isConcurrentMode = u, z.isContextConsumer = h, z.isContextProvider = k, z.isElement = O, z.isForwardRef = _, z.isFragment = I, z.isLazy = A, z.isMemo = P, z.isPortal = N, z.isProfiler = Y, z.isStrictMode = M, z.isSuspense = V, z.isValidElementType = T, z.typeOf = F;
|
|
2762
2762
|
}()), z;
|
|
2763
2763
|
}
|
|
2764
2764
|
var Cn;
|
|
2765
|
-
function
|
|
2766
|
-
return Cn || (Cn = 1, process.env.NODE_ENV === "production" ? We.exports =
|
|
2765
|
+
function wr() {
|
|
2766
|
+
return Cn || (Cn = 1, process.env.NODE_ENV === "production" ? We.exports = Oo() : We.exports = Po()), We.exports;
|
|
2767
2767
|
}
|
|
2768
2768
|
/*
|
|
2769
2769
|
object-assign
|
|
@@ -2771,24 +2771,24 @@ object-assign
|
|
|
2771
2771
|
@license MIT
|
|
2772
2772
|
*/
|
|
2773
2773
|
var ct, In;
|
|
2774
|
-
function
|
|
2774
|
+
function To() {
|
|
2775
2775
|
if (In) return ct;
|
|
2776
2776
|
In = 1;
|
|
2777
2777
|
var e = Object.getOwnPropertySymbols, t = Object.prototype.hasOwnProperty, n = Object.prototype.propertyIsEnumerable;
|
|
2778
|
-
function r(
|
|
2779
|
-
if (
|
|
2778
|
+
function r(o) {
|
|
2779
|
+
if (o == null)
|
|
2780
2780
|
throw new TypeError("Object.assign cannot be called with null or undefined");
|
|
2781
|
-
return Object(
|
|
2781
|
+
return Object(o);
|
|
2782
2782
|
}
|
|
2783
2783
|
function a() {
|
|
2784
2784
|
try {
|
|
2785
2785
|
if (!Object.assign)
|
|
2786
2786
|
return !1;
|
|
2787
|
-
var
|
|
2788
|
-
if (
|
|
2787
|
+
var o = new String("abc");
|
|
2788
|
+
if (o[5] = "de", Object.getOwnPropertyNames(o)[0] === "5")
|
|
2789
2789
|
return !1;
|
|
2790
|
-
for (var s = {},
|
|
2791
|
-
s["_" + String.fromCharCode(
|
|
2790
|
+
for (var s = {}, i = 0; i < 10; i++)
|
|
2791
|
+
s["_" + String.fromCharCode(i)] = i;
|
|
2792
2792
|
var c = Object.getOwnPropertyNames(s).map(function(f) {
|
|
2793
2793
|
return s[f];
|
|
2794
2794
|
});
|
|
@@ -2802,15 +2802,15 @@ function Pi() {
|
|
|
2802
2802
|
return !1;
|
|
2803
2803
|
}
|
|
2804
2804
|
}
|
|
2805
|
-
return ct = a() ? Object.assign : function(
|
|
2806
|
-
for (var
|
|
2807
|
-
|
|
2808
|
-
for (var p in
|
|
2809
|
-
t.call(
|
|
2805
|
+
return ct = a() ? Object.assign : function(o, s) {
|
|
2806
|
+
for (var i, c = r(o), l, f = 1; f < arguments.length; f++) {
|
|
2807
|
+
i = Object(arguments[f]);
|
|
2808
|
+
for (var p in i)
|
|
2809
|
+
t.call(i, p) && (c[p] = i[p]);
|
|
2810
2810
|
if (e) {
|
|
2811
|
-
l = e(
|
|
2811
|
+
l = e(i);
|
|
2812
2812
|
for (var y = 0; y < l.length; y++)
|
|
2813
|
-
n.call(
|
|
2813
|
+
n.call(i, l[y]) && (c[l[y]] = i[l[y]]);
|
|
2814
2814
|
}
|
|
2815
2815
|
}
|
|
2816
2816
|
return c;
|
|
@@ -2828,15 +2828,15 @@ function Ar() {
|
|
|
2828
2828
|
return Mn || (Mn = 1, ft = Function.call.bind(Object.prototype.hasOwnProperty)), ft;
|
|
2829
2829
|
}
|
|
2830
2830
|
var ut, Rn;
|
|
2831
|
-
function
|
|
2831
|
+
function ko() {
|
|
2832
2832
|
if (Rn) return ut;
|
|
2833
2833
|
Rn = 1;
|
|
2834
2834
|
var e = function() {
|
|
2835
2835
|
};
|
|
2836
2836
|
if (process.env.NODE_ENV !== "production") {
|
|
2837
2837
|
var t = Gt(), n = {}, r = Ar();
|
|
2838
|
-
e = function(
|
|
2839
|
-
var s = "Warning: " +
|
|
2838
|
+
e = function(o) {
|
|
2839
|
+
var s = "Warning: " + o;
|
|
2840
2840
|
typeof console < "u" && console.error(s);
|
|
2841
2841
|
try {
|
|
2842
2842
|
throw new Error(s);
|
|
@@ -2844,29 +2844,29 @@ function Ti() {
|
|
|
2844
2844
|
}
|
|
2845
2845
|
};
|
|
2846
2846
|
}
|
|
2847
|
-
function a(
|
|
2847
|
+
function a(o, s, i, c, l) {
|
|
2848
2848
|
if (process.env.NODE_ENV !== "production") {
|
|
2849
|
-
for (var f in
|
|
2850
|
-
if (r(
|
|
2849
|
+
for (var f in o)
|
|
2850
|
+
if (r(o, f)) {
|
|
2851
2851
|
var p;
|
|
2852
2852
|
try {
|
|
2853
|
-
if (typeof
|
|
2853
|
+
if (typeof o[f] != "function") {
|
|
2854
2854
|
var y = Error(
|
|
2855
|
-
(c || "React class") + ": " +
|
|
2855
|
+
(c || "React class") + ": " + i + " 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`."
|
|
2856
2856
|
);
|
|
2857
2857
|
throw y.name = "Invariant Violation", y;
|
|
2858
2858
|
}
|
|
2859
|
-
p =
|
|
2859
|
+
p = o[f](s, f, c, i, null, t);
|
|
2860
2860
|
} catch (L) {
|
|
2861
2861
|
p = L;
|
|
2862
2862
|
}
|
|
2863
2863
|
if (p && !(p instanceof Error) && e(
|
|
2864
|
-
(c || "React class") + ": type specification of " +
|
|
2864
|
+
(c || "React class") + ": type specification of " + i + " `" + f + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof p + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
|
|
2865
2865
|
), p instanceof Error && !(p.message in n)) {
|
|
2866
2866
|
n[p.message] = !0;
|
|
2867
2867
|
var v = l ? l() : "";
|
|
2868
2868
|
e(
|
|
2869
|
-
"Failed " +
|
|
2869
|
+
"Failed " + i + " type: " + p.message + (v ?? "")
|
|
2870
2870
|
);
|
|
2871
2871
|
}
|
|
2872
2872
|
}
|
|
@@ -2877,13 +2877,13 @@ function Ti() {
|
|
|
2877
2877
|
}, ut = a, ut;
|
|
2878
2878
|
}
|
|
2879
2879
|
var dt, Ln;
|
|
2880
|
-
function
|
|
2880
|
+
function Co() {
|
|
2881
2881
|
if (Ln) return dt;
|
|
2882
2882
|
Ln = 1;
|
|
2883
|
-
var e =
|
|
2883
|
+
var e = wr(), t = To(), n = Gt(), r = Ar(), a = ko(), o = function() {
|
|
2884
2884
|
};
|
|
2885
|
-
process.env.NODE_ENV !== "production" && (
|
|
2886
|
-
var c = "Warning: " +
|
|
2885
|
+
process.env.NODE_ENV !== "production" && (o = function(i) {
|
|
2886
|
+
var c = "Warning: " + i;
|
|
2887
2887
|
typeof console < "u" && console.error(c);
|
|
2888
2888
|
try {
|
|
2889
2889
|
throw new Error(c);
|
|
@@ -2893,7 +2893,7 @@ function ki() {
|
|
|
2893
2893
|
function s() {
|
|
2894
2894
|
return null;
|
|
2895
2895
|
}
|
|
2896
|
-
return dt = function(
|
|
2896
|
+
return dt = function(i, c) {
|
|
2897
2897
|
var l = typeof Symbol == "function" && Symbol.iterator, f = "@@iterator";
|
|
2898
2898
|
function p(u) {
|
|
2899
2899
|
var h = u && (l && u[l] || u[f]);
|
|
@@ -2909,7 +2909,7 @@ function ki() {
|
|
|
2909
2909
|
object: C("object"),
|
|
2910
2910
|
string: C("string"),
|
|
2911
2911
|
symbol: C("symbol"),
|
|
2912
|
-
any:
|
|
2912
|
+
any: $(),
|
|
2913
2913
|
arrayOf: T,
|
|
2914
2914
|
element: F(),
|
|
2915
2915
|
elementType: d(),
|
|
@@ -2924,10 +2924,10 @@ function ki() {
|
|
|
2924
2924
|
function L(u, h) {
|
|
2925
2925
|
return u === h ? u !== 0 || 1 / u === 1 / h : u !== u && h !== h;
|
|
2926
2926
|
}
|
|
2927
|
-
function
|
|
2927
|
+
function E(u, h) {
|
|
2928
2928
|
this.message = u, this.data = h && typeof h == "object" ? h : {}, this.stack = "";
|
|
2929
2929
|
}
|
|
2930
|
-
|
|
2930
|
+
E.prototype = Error.prototype;
|
|
2931
2931
|
function x(u) {
|
|
2932
2932
|
if (process.env.NODE_ENV !== "production")
|
|
2933
2933
|
var h = {}, k = 0;
|
|
@@ -2941,22 +2941,22 @@ function ki() {
|
|
|
2941
2941
|
} else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
|
|
2942
2942
|
var te = N + ":" + P;
|
|
2943
2943
|
!h[te] && // Avoid spamming the console because they are often not actionable except for lib authors
|
|
2944
|
-
k < 3 && (
|
|
2944
|
+
k < 3 && (o(
|
|
2945
2945
|
"You are manually calling a React.PropTypes validation function for the `" + M + "` prop on `" + N + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
|
|
2946
2946
|
), h[te] = !0, k++);
|
|
2947
2947
|
}
|
|
2948
2948
|
}
|
|
2949
|
-
return A[P] == null ? I ? A[P] === null ? new
|
|
2949
|
+
return A[P] == null ? I ? A[P] === null ? new E("The " + Y + " `" + M + "` is marked as required " + ("in `" + N + "`, but its value is `null`.")) : new E("The " + Y + " `" + M + "` is marked as required in " + ("`" + N + "`, but its value is `undefined`.")) : null : u(A, P, N, Y, M);
|
|
2950
2950
|
}
|
|
2951
2951
|
var _ = O.bind(null, !1);
|
|
2952
2952
|
return _.isRequired = O.bind(null, !0), _;
|
|
2953
2953
|
}
|
|
2954
2954
|
function C(u) {
|
|
2955
2955
|
function h(k, O, _, I, A, P) {
|
|
2956
|
-
var N = k[O], Y =
|
|
2956
|
+
var N = k[O], Y = w(N);
|
|
2957
2957
|
if (Y !== u) {
|
|
2958
2958
|
var M = ee(N);
|
|
2959
|
-
return new
|
|
2959
|
+
return new E(
|
|
2960
2960
|
"Invalid " + I + " `" + A + "` of type " + ("`" + M + "` supplied to `" + _ + "`, expected ") + ("`" + u + "`."),
|
|
2961
2961
|
{ expectedType: u }
|
|
2962
2962
|
);
|
|
@@ -2965,17 +2965,17 @@ function ki() {
|
|
|
2965
2965
|
}
|
|
2966
2966
|
return x(h);
|
|
2967
2967
|
}
|
|
2968
|
-
function
|
|
2968
|
+
function $() {
|
|
2969
2969
|
return x(s);
|
|
2970
2970
|
}
|
|
2971
2971
|
function T(u) {
|
|
2972
2972
|
function h(k, O, _, I, A) {
|
|
2973
2973
|
if (typeof u != "function")
|
|
2974
|
-
return new
|
|
2974
|
+
return new E("Property `" + A + "` of component `" + _ + "` has invalid PropType notation inside arrayOf.");
|
|
2975
2975
|
var P = k[O];
|
|
2976
2976
|
if (!Array.isArray(P)) {
|
|
2977
|
-
var N =
|
|
2978
|
-
return new
|
|
2977
|
+
var N = w(P);
|
|
2978
|
+
return new E("Invalid " + I + " `" + A + "` of type " + ("`" + N + "` supplied to `" + _ + "`, expected an array."));
|
|
2979
2979
|
}
|
|
2980
2980
|
for (var Y = 0; Y < P.length; Y++) {
|
|
2981
2981
|
var M = u(P, Y, _, I, A + "[" + Y + "]", n);
|
|
@@ -2989,9 +2989,9 @@ function ki() {
|
|
|
2989
2989
|
function F() {
|
|
2990
2990
|
function u(h, k, O, _, I) {
|
|
2991
2991
|
var A = h[k];
|
|
2992
|
-
if (!
|
|
2993
|
-
var P =
|
|
2994
|
-
return new
|
|
2992
|
+
if (!i(A)) {
|
|
2993
|
+
var P = w(A);
|
|
2994
|
+
return new E("Invalid " + _ + " `" + I + "` of type " + ("`" + P + "` supplied to `" + O + "`, expected a single ReactElement."));
|
|
2995
2995
|
}
|
|
2996
2996
|
return null;
|
|
2997
2997
|
}
|
|
@@ -3001,8 +3001,8 @@ function ki() {
|
|
|
3001
3001
|
function u(h, k, O, _, I) {
|
|
3002
3002
|
var A = h[k];
|
|
3003
3003
|
if (!e.isValidElementType(A)) {
|
|
3004
|
-
var P =
|
|
3005
|
-
return new
|
|
3004
|
+
var P = w(A);
|
|
3005
|
+
return new E("Invalid " + _ + " `" + I + "` of type " + ("`" + P + "` supplied to `" + O + "`, expected a single ReactElement type."));
|
|
3006
3006
|
}
|
|
3007
3007
|
return null;
|
|
3008
3008
|
}
|
|
@@ -3012,7 +3012,7 @@ function ki() {
|
|
|
3012
3012
|
function h(k, O, _, I, A) {
|
|
3013
3013
|
if (!(k[O] instanceof u)) {
|
|
3014
3014
|
var P = u.name || y, N = tt(k[O]);
|
|
3015
|
-
return new
|
|
3015
|
+
return new E("Invalid " + I + " `" + A + "` of type " + ("`" + N + "` supplied to `" + _ + "`, expected ") + ("instance of `" + P + "`."));
|
|
3016
3016
|
}
|
|
3017
3017
|
return null;
|
|
3018
3018
|
}
|
|
@@ -3020,9 +3020,9 @@ function ki() {
|
|
|
3020
3020
|
}
|
|
3021
3021
|
function Q(u) {
|
|
3022
3022
|
if (!Array.isArray(u))
|
|
3023
|
-
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ?
|
|
3023
|
+
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? o(
|
|
3024
3024
|
"Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
|
|
3025
|
-
) :
|
|
3025
|
+
) : o("Invalid argument supplied to oneOf, expected an array.")), s;
|
|
3026
3026
|
function h(k, O, _, I, A) {
|
|
3027
3027
|
for (var P = k[O], N = 0; N < u.length; N++)
|
|
3028
3028
|
if (L(P, u[N]))
|
|
@@ -3031,17 +3031,17 @@ function ki() {
|
|
|
3031
3031
|
var te = ee(m);
|
|
3032
3032
|
return te === "symbol" ? String(m) : m;
|
|
3033
3033
|
});
|
|
3034
|
-
return new
|
|
3034
|
+
return new E("Invalid " + I + " `" + A + "` of value `" + String(P) + "` " + ("supplied to `" + _ + "`, expected one of " + Y + "."));
|
|
3035
3035
|
}
|
|
3036
3036
|
return x(h);
|
|
3037
3037
|
}
|
|
3038
3038
|
function he(u) {
|
|
3039
3039
|
function h(k, O, _, I, A) {
|
|
3040
3040
|
if (typeof u != "function")
|
|
3041
|
-
return new
|
|
3042
|
-
var P = k[O], N =
|
|
3041
|
+
return new E("Property `" + A + "` of component `" + _ + "` has invalid PropType notation inside objectOf.");
|
|
3042
|
+
var P = k[O], N = w(P);
|
|
3043
3043
|
if (N !== "object")
|
|
3044
|
-
return new
|
|
3044
|
+
return new E("Invalid " + I + " `" + A + "` of type " + ("`" + N + "` supplied to `" + _ + "`, expected an object."));
|
|
3045
3045
|
for (var Y in P)
|
|
3046
3046
|
if (r(P, Y)) {
|
|
3047
3047
|
var M = u(P, Y, _, I, A + "." + Y, n);
|
|
@@ -3054,11 +3054,11 @@ function ki() {
|
|
|
3054
3054
|
}
|
|
3055
3055
|
function ke(u) {
|
|
3056
3056
|
if (!Array.isArray(u))
|
|
3057
|
-
return process.env.NODE_ENV !== "production" &&
|
|
3057
|
+
return process.env.NODE_ENV !== "production" && o("Invalid argument supplied to oneOfType, expected an instance of array."), s;
|
|
3058
3058
|
for (var h = 0; h < u.length; h++) {
|
|
3059
3059
|
var k = u[h];
|
|
3060
3060
|
if (typeof k != "function")
|
|
3061
|
-
return
|
|
3061
|
+
return o(
|
|
3062
3062
|
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + Ye(k) + " at index " + h + "."
|
|
3063
3063
|
), s;
|
|
3064
3064
|
}
|
|
@@ -3070,30 +3070,30 @@ function ki() {
|
|
|
3070
3070
|
m.data && r(m.data, "expectedType") && Y.push(m.data.expectedType);
|
|
3071
3071
|
}
|
|
3072
3072
|
var te = Y.length > 0 ? ", expected one of type [" + Y.join(", ") + "]" : "";
|
|
3073
|
-
return new
|
|
3073
|
+
return new E("Invalid " + P + " `" + N + "` supplied to " + ("`" + A + "`" + te + "."));
|
|
3074
3074
|
}
|
|
3075
3075
|
return x(O);
|
|
3076
3076
|
}
|
|
3077
3077
|
function Z() {
|
|
3078
3078
|
function u(h, k, O, _, I) {
|
|
3079
|
-
return D(h[k]) ? null : new
|
|
3079
|
+
return D(h[k]) ? null : new E("Invalid " + _ + " `" + I + "` supplied to " + ("`" + O + "`, expected a ReactNode."));
|
|
3080
3080
|
}
|
|
3081
3081
|
return x(u);
|
|
3082
3082
|
}
|
|
3083
|
-
function
|
|
3084
|
-
return new
|
|
3083
|
+
function Ee(u, h, k, O, _) {
|
|
3084
|
+
return new E(
|
|
3085
3085
|
(u || "React class") + ": " + h + " type `" + k + "." + O + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + _ + "`."
|
|
3086
3086
|
);
|
|
3087
3087
|
}
|
|
3088
3088
|
function Ce(u) {
|
|
3089
3089
|
function h(k, O, _, I, A) {
|
|
3090
|
-
var P = k[O], N =
|
|
3090
|
+
var P = k[O], N = w(P);
|
|
3091
3091
|
if (N !== "object")
|
|
3092
|
-
return new
|
|
3092
|
+
return new E("Invalid " + I + " `" + A + "` of type `" + N + "` " + ("supplied to `" + _ + "`, expected `object`."));
|
|
3093
3093
|
for (var Y in u) {
|
|
3094
3094
|
var M = u[Y];
|
|
3095
3095
|
if (typeof M != "function")
|
|
3096
|
-
return
|
|
3096
|
+
return Ee(_, I, A, Y, ee(M));
|
|
3097
3097
|
var V = M(P, Y, _, I, A + "." + Y, n);
|
|
3098
3098
|
if (V)
|
|
3099
3099
|
return V;
|
|
@@ -3104,16 +3104,16 @@ function ki() {
|
|
|
3104
3104
|
}
|
|
3105
3105
|
function ge(u) {
|
|
3106
3106
|
function h(k, O, _, I, A) {
|
|
3107
|
-
var P = k[O], N =
|
|
3107
|
+
var P = k[O], N = w(P);
|
|
3108
3108
|
if (N !== "object")
|
|
3109
|
-
return new
|
|
3109
|
+
return new E("Invalid " + I + " `" + A + "` of type `" + N + "` " + ("supplied to `" + _ + "`, expected `object`."));
|
|
3110
3110
|
var Y = t({}, k[O], u);
|
|
3111
3111
|
for (var M in Y) {
|
|
3112
3112
|
var V = u[M];
|
|
3113
3113
|
if (r(u, M) && typeof V != "function")
|
|
3114
|
-
return
|
|
3114
|
+
return Ee(_, I, A, M, ee(V));
|
|
3115
3115
|
if (!V)
|
|
3116
|
-
return new
|
|
3116
|
+
return new E(
|
|
3117
3117
|
"Invalid " + I + " `" + A + "` key `" + M + "` supplied to `" + _ + "`.\nBad object: " + JSON.stringify(k[O], null, " ") + `
|
|
3118
3118
|
Valid keys: ` + JSON.stringify(Object.keys(u), null, " ")
|
|
3119
3119
|
);
|
|
@@ -3136,7 +3136,7 @@ Valid keys: ` + JSON.stringify(Object.keys(u), null, " ")
|
|
|
3136
3136
|
case "object":
|
|
3137
3137
|
if (Array.isArray(u))
|
|
3138
3138
|
return u.every(D);
|
|
3139
|
-
if (u === null ||
|
|
3139
|
+
if (u === null || i(u))
|
|
3140
3140
|
return !0;
|
|
3141
3141
|
var h = p(u);
|
|
3142
3142
|
if (h) {
|
|
@@ -3161,14 +3161,14 @@ Valid keys: ` + JSON.stringify(Object.keys(u), null, " ")
|
|
|
3161
3161
|
function R(u, h) {
|
|
3162
3162
|
return u === "symbol" ? !0 : h ? h["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && h instanceof Symbol : !1;
|
|
3163
3163
|
}
|
|
3164
|
-
function
|
|
3164
|
+
function w(u) {
|
|
3165
3165
|
var h = typeof u;
|
|
3166
3166
|
return Array.isArray(u) ? "array" : u instanceof RegExp ? "object" : R(h, u) ? "symbol" : h;
|
|
3167
3167
|
}
|
|
3168
3168
|
function ee(u) {
|
|
3169
3169
|
if (typeof u > "u" || u === null)
|
|
3170
3170
|
return "" + u;
|
|
3171
|
-
var h =
|
|
3171
|
+
var h = w(u);
|
|
3172
3172
|
if (h === "object") {
|
|
3173
3173
|
if (u instanceof Date)
|
|
3174
3174
|
return "date";
|
|
@@ -3198,7 +3198,7 @@ Valid keys: ` + JSON.stringify(Object.keys(u), null, " ")
|
|
|
3198
3198
|
}, dt;
|
|
3199
3199
|
}
|
|
3200
3200
|
var mt, Fn;
|
|
3201
|
-
function
|
|
3201
|
+
function Io() {
|
|
3202
3202
|
if (Fn) return mt;
|
|
3203
3203
|
Fn = 1;
|
|
3204
3204
|
var e = Gt();
|
|
@@ -3207,7 +3207,7 @@ function Ci() {
|
|
|
3207
3207
|
function n() {
|
|
3208
3208
|
}
|
|
3209
3209
|
return n.resetWarningCache = t, mt = function() {
|
|
3210
|
-
function r(s,
|
|
3210
|
+
function r(s, i, c, l, f, p) {
|
|
3211
3211
|
if (p !== e) {
|
|
3212
3212
|
var y = new Error(
|
|
3213
3213
|
"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"
|
|
@@ -3219,7 +3219,7 @@ function Ci() {
|
|
|
3219
3219
|
function a() {
|
|
3220
3220
|
return r;
|
|
3221
3221
|
}
|
|
3222
|
-
var
|
|
3222
|
+
var o = {
|
|
3223
3223
|
array: r,
|
|
3224
3224
|
bigint: r,
|
|
3225
3225
|
bool: r,
|
|
@@ -3242,16 +3242,16 @@ function Ci() {
|
|
|
3242
3242
|
checkPropTypes: n,
|
|
3243
3243
|
resetWarningCache: t
|
|
3244
3244
|
};
|
|
3245
|
-
return
|
|
3245
|
+
return o.PropTypes = o, o;
|
|
3246
3246
|
}, mt;
|
|
3247
3247
|
}
|
|
3248
3248
|
if (process.env.NODE_ENV !== "production") {
|
|
3249
|
-
var
|
|
3250
|
-
It.exports =
|
|
3249
|
+
var No = wr(), Mo = !0;
|
|
3250
|
+
It.exports = Co()(No.isElement, Mo);
|
|
3251
3251
|
} else
|
|
3252
|
-
It.exports =
|
|
3253
|
-
var
|
|
3254
|
-
const S = /* @__PURE__ */
|
|
3252
|
+
It.exports = Io()();
|
|
3253
|
+
var Ro = It.exports;
|
|
3254
|
+
const S = /* @__PURE__ */ So(Ro);
|
|
3255
3255
|
function jn(e, t) {
|
|
3256
3256
|
var n = Object.keys(e);
|
|
3257
3257
|
if (Object.getOwnPropertySymbols) {
|
|
@@ -3289,33 +3289,33 @@ function Ae(e, t, n) {
|
|
|
3289
3289
|
writable: !0
|
|
3290
3290
|
}) : e[t] = n, e;
|
|
3291
3291
|
}
|
|
3292
|
-
function
|
|
3292
|
+
function Lo(e, t) {
|
|
3293
3293
|
if (e == null) return {};
|
|
3294
|
-
var n = {}, r = Object.keys(e), a,
|
|
3295
|
-
for (
|
|
3296
|
-
a = r[
|
|
3294
|
+
var n = {}, r = Object.keys(e), a, o;
|
|
3295
|
+
for (o = 0; o < r.length; o++)
|
|
3296
|
+
a = r[o], !(t.indexOf(a) >= 0) && (n[a] = e[a]);
|
|
3297
3297
|
return n;
|
|
3298
3298
|
}
|
|
3299
|
-
function
|
|
3299
|
+
function Fo(e, t) {
|
|
3300
3300
|
if (e == null) return {};
|
|
3301
|
-
var n =
|
|
3301
|
+
var n = Lo(e, t), r, a;
|
|
3302
3302
|
if (Object.getOwnPropertySymbols) {
|
|
3303
|
-
var
|
|
3304
|
-
for (a = 0; a <
|
|
3305
|
-
r =
|
|
3303
|
+
var o = Object.getOwnPropertySymbols(e);
|
|
3304
|
+
for (a = 0; a < o.length; a++)
|
|
3305
|
+
r = o[a], !(t.indexOf(r) >= 0) && Object.prototype.propertyIsEnumerable.call(e, r) && (n[r] = e[r]);
|
|
3306
3306
|
}
|
|
3307
3307
|
return n;
|
|
3308
3308
|
}
|
|
3309
3309
|
function Nt(e) {
|
|
3310
|
-
return
|
|
3310
|
+
return jo(e) || zo(e) || Do(e) || Yo();
|
|
3311
3311
|
}
|
|
3312
|
-
function
|
|
3312
|
+
function jo(e) {
|
|
3313
3313
|
if (Array.isArray(e)) return Mt(e);
|
|
3314
3314
|
}
|
|
3315
|
-
function
|
|
3315
|
+
function zo(e) {
|
|
3316
3316
|
if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null) return Array.from(e);
|
|
3317
3317
|
}
|
|
3318
|
-
function
|
|
3318
|
+
function Do(e, t) {
|
|
3319
3319
|
if (e) {
|
|
3320
3320
|
if (typeof e == "string") return Mt(e, t);
|
|
3321
3321
|
var n = Object.prototype.toString.call(e).slice(8, -1);
|
|
@@ -3328,18 +3328,18 @@ function Mt(e, t) {
|
|
|
3328
3328
|
for (var n = 0, r = new Array(t); n < t; n++) r[n] = e[n];
|
|
3329
3329
|
return r;
|
|
3330
3330
|
}
|
|
3331
|
-
function
|
|
3331
|
+
function Yo() {
|
|
3332
3332
|
throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
3333
3333
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
3334
3334
|
}
|
|
3335
|
-
function
|
|
3336
|
-
var t, n = e.beat, r = e.fade, a = e.beatFade,
|
|
3335
|
+
function $o(e) {
|
|
3336
|
+
var t, n = e.beat, r = e.fade, a = e.beatFade, o = e.bounce, s = e.shake, i = e.flash, c = e.spin, l = e.spinPulse, f = e.spinReverse, p = e.pulse, y = e.fixedWidth, v = e.inverse, L = e.border, E = e.listItem, x = e.flip, C = e.size, $ = e.rotation, T = e.pull, F = (t = {
|
|
3337
3337
|
"fa-beat": n,
|
|
3338
3338
|
"fa-fade": r,
|
|
3339
3339
|
"fa-beat-fade": a,
|
|
3340
|
-
"fa-bounce":
|
|
3340
|
+
"fa-bounce": o,
|
|
3341
3341
|
"fa-shake": s,
|
|
3342
|
-
"fa-flash":
|
|
3342
|
+
"fa-flash": i,
|
|
3343
3343
|
"fa-spin": c,
|
|
3344
3344
|
"fa-spin-reverse": f,
|
|
3345
3345
|
"fa-spin-pulse": l,
|
|
@@ -3347,37 +3347,37 @@ function Yi(e) {
|
|
|
3347
3347
|
"fa-fw": y,
|
|
3348
3348
|
"fa-inverse": v,
|
|
3349
3349
|
"fa-border": L,
|
|
3350
|
-
"fa-li":
|
|
3350
|
+
"fa-li": E,
|
|
3351
3351
|
"fa-flip": x === !0,
|
|
3352
3352
|
"fa-flip-horizontal": x === "horizontal" || x === "both",
|
|
3353
3353
|
"fa-flip-vertical": x === "vertical" || x === "both"
|
|
3354
|
-
}, Ae(t, "fa-".concat(C), typeof C < "u" && C !== null), Ae(t, "fa-rotate-".concat(
|
|
3354
|
+
}, Ae(t, "fa-".concat(C), typeof C < "u" && C !== null), Ae(t, "fa-rotate-".concat($), typeof $ < "u" && $ !== null && $ !== 0), Ae(t, "fa-pull-".concat(T), typeof T < "u" && T !== null), Ae(t, "fa-swap-opacity", e.swapOpacity), t);
|
|
3355
3355
|
return Object.keys(F).map(function(d) {
|
|
3356
3356
|
return F[d] ? d : null;
|
|
3357
3357
|
}).filter(function(d) {
|
|
3358
3358
|
return d;
|
|
3359
3359
|
});
|
|
3360
3360
|
}
|
|
3361
|
-
function
|
|
3361
|
+
function Uo(e) {
|
|
3362
3362
|
return e = e - 0, e === e;
|
|
3363
3363
|
}
|
|
3364
3364
|
function Sr(e) {
|
|
3365
|
-
return
|
|
3365
|
+
return Uo(e) ? e : (e = e.replace(/[\-_\s]+(.)?/g, function(t, n) {
|
|
3366
3366
|
return n ? n.toUpperCase() : "";
|
|
3367
3367
|
}), e.substr(0, 1).toLowerCase() + e.substr(1));
|
|
3368
3368
|
}
|
|
3369
|
-
var
|
|
3370
|
-
function
|
|
3369
|
+
var Bo = ["style"];
|
|
3370
|
+
function Wo(e) {
|
|
3371
3371
|
return e.charAt(0).toUpperCase() + e.slice(1);
|
|
3372
3372
|
}
|
|
3373
|
-
function
|
|
3373
|
+
function Ho(e) {
|
|
3374
3374
|
return e.split(";").map(function(t) {
|
|
3375
3375
|
return t.trim();
|
|
3376
3376
|
}).filter(function(t) {
|
|
3377
3377
|
return t;
|
|
3378
3378
|
}).reduce(function(t, n) {
|
|
3379
|
-
var r = n.indexOf(":"), a = Sr(n.slice(0, r)),
|
|
3380
|
-
return a.startsWith("webkit") ? t[
|
|
3379
|
+
var r = n.indexOf(":"), a = Sr(n.slice(0, r)), o = n.slice(r + 1).trim();
|
|
3380
|
+
return a.startsWith("webkit") ? t[Wo(a)] = o : t[a] = o, t;
|
|
3381
3381
|
}, {});
|
|
3382
3382
|
}
|
|
3383
3383
|
function Or(e, t) {
|
|
@@ -3393,7 +3393,7 @@ function Or(e, t) {
|
|
|
3393
3393
|
c.attrs.className = f, delete t.attributes.class;
|
|
3394
3394
|
break;
|
|
3395
3395
|
case "style":
|
|
3396
|
-
c.attrs.style =
|
|
3396
|
+
c.attrs.style = Ho(f);
|
|
3397
3397
|
break;
|
|
3398
3398
|
default:
|
|
3399
3399
|
l.indexOf("aria-") === 0 || l.indexOf("data-") === 0 ? c.attrs[l.toLowerCase()] = f : c.attrs[Sr(l)] = f;
|
|
@@ -3401,15 +3401,15 @@ function Or(e, t) {
|
|
|
3401
3401
|
return c;
|
|
3402
3402
|
}, {
|
|
3403
3403
|
attrs: {}
|
|
3404
|
-
}),
|
|
3405
|
-
return a.attrs.style = ne(ne({}, a.attrs.style), s), e.apply(void 0, [t.tag, ne(ne({}, a.attrs),
|
|
3404
|
+
}), o = n.style, s = o === void 0 ? {} : o, i = Fo(n, Bo);
|
|
3405
|
+
return a.attrs.style = ne(ne({}, a.attrs.style), s), e.apply(void 0, [t.tag, ne(ne({}, a.attrs), i)].concat(Nt(r)));
|
|
3406
3406
|
}
|
|
3407
3407
|
var Pr = !1;
|
|
3408
3408
|
try {
|
|
3409
3409
|
Pr = process.env.NODE_ENV === "production";
|
|
3410
3410
|
} catch {
|
|
3411
3411
|
}
|
|
3412
|
-
function
|
|
3412
|
+
function Vo() {
|
|
3413
3413
|
if (!Pr && console && typeof console.error == "function") {
|
|
3414
3414
|
var e;
|
|
3415
3415
|
(e = console).error.apply(e, arguments);
|
|
@@ -3466,20 +3466,20 @@ var Dn = {
|
|
|
3466
3466
|
transform: null,
|
|
3467
3467
|
swapOpacity: !1
|
|
3468
3468
|
}, re = /* @__PURE__ */ Hn.forwardRef(function(e, t) {
|
|
3469
|
-
var n = ne(ne({}, Dn), e), r = n.icon, a = n.mask,
|
|
3470
|
-
symbol:
|
|
3471
|
-
title:
|
|
3469
|
+
var n = ne(ne({}, Dn), e), r = n.icon, a = n.mask, o = n.symbol, s = n.className, i = n.title, c = n.titleId, l = n.maskId, f = zn(r), p = pt("classes", [].concat(Nt($o(n)), Nt((s || "").split(" ")))), y = pt("transform", typeof n.transform == "string" ? Ct.transform(n.transform) : n.transform), v = pt("mask", zn(a)), L = Ao(f, ne(ne(ne(ne({}, p), y), v), {}, {
|
|
3470
|
+
symbol: o,
|
|
3471
|
+
title: i,
|
|
3472
3472
|
titleId: c,
|
|
3473
3473
|
maskId: l
|
|
3474
3474
|
}));
|
|
3475
3475
|
if (!L)
|
|
3476
|
-
return
|
|
3477
|
-
var
|
|
3476
|
+
return Vo("Could not find icon", f), null;
|
|
3477
|
+
var E = L.abstract, x = {
|
|
3478
3478
|
ref: t
|
|
3479
3479
|
};
|
|
3480
3480
|
return Object.keys(n).forEach(function(C) {
|
|
3481
3481
|
Dn.hasOwnProperty(C) || (x[C] = n[C]);
|
|
3482
|
-
}),
|
|
3482
|
+
}), qo(E[0], x);
|
|
3483
3483
|
});
|
|
3484
3484
|
re.displayName = "FontAwesomeIcon";
|
|
3485
3485
|
re.propTypes = {
|
|
@@ -3511,20 +3511,20 @@ re.propTypes = {
|
|
|
3511
3511
|
transform: S.oneOfType([S.string, S.object]),
|
|
3512
3512
|
swapOpacity: S.bool
|
|
3513
3513
|
};
|
|
3514
|
-
var
|
|
3515
|
-
const
|
|
3514
|
+
var qo = Or.bind(null, Hn.createElement);
|
|
3515
|
+
const Go = {
|
|
3516
3516
|
prefix: "fas",
|
|
3517
3517
|
iconName: "file-lines",
|
|
3518
3518
|
icon: [384, 512, [128441, 128462, 61686, "file-alt", "file-text"], "f15c", "M64 0C28.7 0 0 28.7 0 64L0 448c0 35.3 28.7 64 64 64l256 0c35.3 0 64-28.7 64-64l0-288-128 0c-17.7 0-32-14.3-32-32L224 0 64 0zM256 0l0 128 128 0L256 0zM112 256l160 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-160 0c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 64l160 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-160 0c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 64l160 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-160 0c-8.8 0-16-7.2-16-16s7.2-16 16-16z"]
|
|
3519
|
-
},
|
|
3519
|
+
}, Xo = {
|
|
3520
3520
|
prefix: "fas",
|
|
3521
3521
|
iconName: "caret-right",
|
|
3522
3522
|
icon: [256, 512, [], "f0da", "M246.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-128-128c-9.2-9.2-22.9-11.9-34.9-6.9s-19.8 16.6-19.8 29.6l0 256c0 12.9 7.8 24.6 19.8 29.6s25.7 2.2 34.9-6.9l128-128z"]
|
|
3523
|
-
},
|
|
3523
|
+
}, Ko = {
|
|
3524
3524
|
prefix: "fas",
|
|
3525
3525
|
iconName: "caret-left",
|
|
3526
3526
|
icon: [256, 512, [], "f0d9", "M9.4 278.6c-12.5-12.5-12.5-32.8 0-45.3l128-128c9.2-9.2 22.9-11.9 34.9-6.9s19.8 16.6 19.8 29.6l0 256c0 12.9-7.8 24.6-19.8 29.6s-25.7 2.2-34.9-6.9l-128-128z"]
|
|
3527
|
-
},
|
|
3527
|
+
}, Jo = {
|
|
3528
3528
|
prefix: "fas",
|
|
3529
3529
|
iconName: "image",
|
|
3530
3530
|
icon: [512, 512, [], "f03e", "M0 96C0 60.7 28.7 32 64 32l384 0c35.3 0 64 28.7 64 64l0 320c0 35.3-28.7 64-64 64L64 480c-35.3 0-64-28.7-64-64L0 96zM323.8 202.5c-4.5-6.6-11.9-10.5-19.8-10.5s-15.4 3.9-19.8 10.5l-87 127.6L170.7 297c-4.6-5.7-11.5-9-18.7-9s-14.2 3.3-18.7 9l-64 80c-5.8 7.2-6.9 17.1-2.9 25.4s12.4 13.6 21.6 13.6l96 0 32 0 208 0c8.9 0 17.1-4.9 21.2-12.8s3.6-17.4-1.4-24.7l-120-176zM112 192a48 48 0 1 0 0-96 48 48 0 1 0 0 96z"]
|
|
@@ -3532,35 +3532,35 @@ const qi = {
|
|
|
3532
3532
|
prefix: "fas",
|
|
3533
3533
|
iconName: "trash",
|
|
3534
3534
|
icon: [448, 512, [], "f1f8", "M135.2 17.7L128 32 32 32C14.3 32 0 46.3 0 64S14.3 96 32 96l384 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-96 0-7.2-14.3C307.4 6.8 296.3 0 284.2 0L163.8 0c-12.1 0-23.2 6.8-28.6 17.7zM416 128L32 128 53.2 467c1.6 25.3 22.6 45 47.9 45l245.8 0c25.3 0 46.3-19.7 47.9-45L416 128z"]
|
|
3535
|
-
},
|
|
3535
|
+
}, Qo = {
|
|
3536
3536
|
prefix: "fas",
|
|
3537
3537
|
iconName: "circle-info",
|
|
3538
3538
|
icon: [512, 512, ["info-circle"], "f05a", "M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM216 336l24 0 0-64-24 0c-13.3 0-24-10.7-24-24s10.7-24 24-24l48 0c13.3 0 24 10.7 24 24l0 88 8 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-80 0c-13.3 0-24-10.7-24-24s10.7-24 24-24zm40-208a32 32 0 1 1 0 64 32 32 0 1 1 0-64z"]
|
|
3539
|
-
},
|
|
3539
|
+
}, Zo = {
|
|
3540
3540
|
prefix: "fas",
|
|
3541
3541
|
iconName: "gear",
|
|
3542
3542
|
icon: [512, 512, [9881, "cog"], "f013", "M495.9 166.6c3.2 8.7 .5 18.4-6.4 24.6l-43.3 39.4c1.1 8.3 1.7 16.8 1.7 25.4s-.6 17.1-1.7 25.4l43.3 39.4c6.9 6.2 9.6 15.9 6.4 24.6c-4.4 11.9-9.7 23.3-15.8 34.3l-4.7 8.1c-6.6 11-14 21.4-22.1 31.2c-5.9 7.2-15.7 9.6-24.5 6.8l-55.7-17.7c-13.4 10.3-28.2 18.9-44 25.4l-12.5 57.1c-2 9.1-9 16.3-18.2 17.8c-13.8 2.3-28 3.5-42.5 3.5s-28.7-1.2-42.5-3.5c-9.2-1.5-16.2-8.7-18.2-17.8l-12.5-57.1c-15.8-6.5-30.6-15.1-44-25.4L83.1 425.9c-8.8 2.8-18.6 .3-24.5-6.8c-8.1-9.8-15.5-20.2-22.1-31.2l-4.7-8.1c-6.1-11-11.4-22.4-15.8-34.3c-3.2-8.7-.5-18.4 6.4-24.6l43.3-39.4C64.6 273.1 64 264.6 64 256s.6-17.1 1.7-25.4L22.4 191.2c-6.9-6.2-9.6-15.9-6.4-24.6c4.4-11.9 9.7-23.3 15.8-34.3l4.7-8.1c6.6-11 14-21.4 22.1-31.2c5.9-7.2 15.7-9.6 24.5-6.8l55.7 17.7c13.4-10.3 28.2-18.9 44-25.4l12.5-57.1c2-9.1 9-16.3 18.2-17.8C227.3 1.2 241.5 0 256 0s28.7 1.2 42.5 3.5c9.2 1.5 16.2 8.7 18.2 17.8l12.5 57.1c15.8 6.5 30.6 15.1 44 25.4l55.7-17.7c8.8-2.8 18.6-.3 24.5 6.8c8.1 9.8 15.5 20.2 22.1 31.2l4.7 8.1c6.1 11 11.4 22.4 15.8 34.3zM256 336a80 80 0 1 0 0-160 80 80 0 1 0 0 160z"]
|
|
3543
|
-
},
|
|
3543
|
+
}, ei = Zo, ti = {
|
|
3544
3544
|
prefix: "fas",
|
|
3545
3545
|
iconName: "download",
|
|
3546
3546
|
icon: [512, 512, [], "f019", "M288 32c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 242.7-73.4-73.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l128 128c12.5 12.5 32.8 12.5 45.3 0l128-128c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L288 274.7 288 32zM64 352c-35.3 0-64 28.7-64 64l0 32c0 35.3 28.7 64 64 64l384 0c35.3 0 64-28.7 64-64l0-32c0-35.3-28.7-64-64-64l-101.5 0-45.3 45.3c-25 25-65.5 25-90.5 0L165.5 352 64 352zm368 56a24 24 0 1 1 0 48 24 24 0 1 1 0-48z"]
|
|
3547
|
-
},
|
|
3547
|
+
}, ni = {
|
|
3548
3548
|
prefix: "fas",
|
|
3549
3549
|
iconName: "house",
|
|
3550
3550
|
icon: [576, 512, [127968, 63498, 63500, "home", "home-alt", "home-lg-alt"], "f015", "M575.8 255.5c0 18-15 32.1-32 32.1l-32 0 .7 160.2c0 2.7-.2 5.4-.5 8.1l0 16.2c0 22.1-17.9 40-40 40l-16 0c-1.1 0-2.2 0-3.3-.1c-1.4 .1-2.8 .1-4.2 .1L416 512l-24 0c-22.1 0-40-17.9-40-40l0-24 0-64c0-17.7-14.3-32-32-32l-64 0c-17.7 0-32 14.3-32 32l0 64 0 24c0 22.1-17.9 40-40 40l-24 0-31.9 0c-1.5 0-3-.1-4.5-.2c-1.2 .1-2.4 .2-3.6 .2l-16 0c-22.1 0-40-17.9-40-40l0-112c0-.9 0-1.9 .1-2.8l0-69.7-32 0c-18 0-32-14-32-32.1c0-9 3-17 10-24L266.4 8c7-7 15-8 22-8s15 2 21 7L564.8 231.5c8 7 12 15 11 24z"]
|
|
3551
|
-
},
|
|
3551
|
+
}, ri = {
|
|
3552
3552
|
prefix: "fas",
|
|
3553
3553
|
iconName: "magnifying-glass",
|
|
3554
3554
|
icon: [512, 512, [128269, "search"], "f002", "M416 208c0 45.9-14.9 88.3-40 122.7L502.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376c-34.4 25.2-76.8 40-122.7 40C93.1 416 0 322.9 0 208S93.1 0 208 0S416 93.1 416 208zM208 352a144 144 0 1 0 0-288 144 144 0 1 0 0 288z"]
|
|
3555
|
-
},
|
|
3555
|
+
}, ai = ri, oi = {
|
|
3556
3556
|
prefix: "fas",
|
|
3557
3557
|
iconName: "arrow-up",
|
|
3558
3558
|
icon: [384, 512, [8593], "f062", "M214.6 41.4c-12.5-12.5-32.8-12.5-45.3 0l-160 160c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L160 141.2 160 448c0 17.7 14.3 32 32 32s32-14.3 32-32l0-306.7L329.4 246.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-160-160z"]
|
|
3559
|
-
},
|
|
3559
|
+
}, ii = {
|
|
3560
3560
|
prefix: "fas",
|
|
3561
3561
|
iconName: "plus",
|
|
3562
3562
|
icon: [448, 512, [10133, 61543, "add"], "2b", "M256 80c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 144L48 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l144 0 0 144c0 17.7 14.3 32 32 32s32-14.3 32-32l0-144 144 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-144 0 0-144z"]
|
|
3563
|
-
},
|
|
3563
|
+
}, si = {
|
|
3564
3564
|
prefix: "fas",
|
|
3565
3565
|
iconName: "desktop",
|
|
3566
3566
|
icon: [576, 512, [128421, 61704, "desktop-alt"], "f390", "M64 0C28.7 0 0 28.7 0 64L0 352c0 35.3 28.7 64 64 64l176 0-10.7 32L160 448c-17.7 0-32 14.3-32 32s14.3 32 32 32l256 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-69.3 0L336 416l176 0c35.3 0 64-28.7 64-64l0-288c0-35.3-28.7-64-64-64L64 0zM512 64l0 224L64 288 64 64l448 0z"]
|
|
@@ -3569,23 +3569,23 @@ const qi = {
|
|
|
3569
3569
|
try {
|
|
3570
3570
|
if (typeof document < "u") {
|
|
3571
3571
|
var e = document.createElement("style");
|
|
3572
|
-
e.appendChild(document.createTextNode('.
|
|
3572
|
+
e.appendChild(document.createTextNode('._FileExplorer_18occ_1{--header-height: 3.5rem;--sidebar-width: 10rem;--footer-height: 1.75rem;--scale: 1.15rem;display:flex;flex-direction:column;width:100%;height:100%}._Header_18occ_25{display:flex;gap:1rem;align-items:center;width:100%;height:var(--header-height);padding:1rem;background-color:var(--background-color-0)}._IconButton_18occ_45{--color: var(--foreground-color-0);position:relative;height:1.25rem;width:auto;padding:0;background:none;border:none;outline:none;aspect-ratio:1;cursor:pointer}._IconButton_18occ_45:after{content:"";position:absolute;top:0;left:0;width:100%;height:100%;background-color:#fff0;border-radius:var(--border-radius-99);transform:scale(1);transform-origin:center;transition:all var(--transition-duration-1) var(--ease-in-out-default)}._IconButton_18occ_45:hover:after,._IconButton_18occ_45:focus-visible:after{background-color:#ffffff1a;transform:scale(1.5)}._IconButton_18occ_45:disabled{--color: var(--background-color-1)}._IconButton_18occ_45 svg{height:100%}._IconButton_18occ_45 svg path{fill:var(--color);transition:fill var(--transition-duration-0) var(--ease-in-out-default)}._PathInput_18occ_137{flex:1;padding:.25rem .5rem;background-color:var(--background-color-2);border:none;border-radius:var(--border-radius-1);outline:none;font-family:inherit;font-size:inherit}._Body_18occ_159{flex:1;display:flex;width:100%;height:calc(100% - var(--header-height));background-color:var(--background-color-2)}._Sidebar_18occ_175{display:flex;gap:.25rem;flex-direction:column;min-width:calc(var(--sidebar-width) / 2);width:var(--sidebar-width);height:100%;max-width:50%;padding:.5rem;background-color:var(--background-color-1);resize:horizontal;overflow:hidden}._NavButton_18occ_203{display:flex;gap:.5rem;align-items:center;width:100%;padding:.5rem;background:none;border:none;border-radius:var(--border-radius-1);outline:none;cursor:pointer;transition:background-color var(--transition-duration-0) var(--ease-in-out-default)}._NavButton_18occ_203:hover,._NavButton_18occ_203:focus-visible{background-color:color-mix(in srgb,var(--background-color-0) 75%,transparent)}._NavButton_18occ_203 svg{height:1.35rem;aspect-ratio:1}._Main_18occ_249{--scale: inherit !important;position:relative;flex:1;display:flex;flex-wrap:wrap;align-content:flex-start;height:100%;padding:.5rem;padding-bottom:calc(.5rem + var(--footer-height));overflow:auto}._Footer_18occ_277{position:absolute;display:flex;justify-content:flex-start;align-items:center;bottom:0;left:0;width:100%;height:var(--footer-height);padding:0 .75rem;border-top:.25rem solid var(--background-color-0);background-color:var(--background-color-2)}._Footer_18occ_277 p{margin:0;font-size:.875em}._Selector_18occ_315{--footer-height: 4rem}._FileProperties_s5har_1{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;padding:1rem}._Icon_s5har_17{width:3rem;height:3rem}._Icon_s5har_17 div{width:inherit;height:inherit;object-fit:contain}._Icon_s5har_17 svg{max-width:100%;max-height:100%}._Section_s5har_49{--divider-width: .25rem;position:relative;display:flex;gap:.25rem;justify-content:flex-start;align-items:flex-start;flex-direction:column;width:100%;padding:1rem 0;padding-bottom:calc(1rem + var(--divider-width))}._Section_s5har_49:first-child{gap:.5rem;align-items:center;flex-direction:row;padding-top:0}._Section_s5har_49:first-child ._Line_s5har_91{font-size:1.25rem}._Section_s5har_49:not(:last-child):after{content:"";position:absolute;bottom:0;left:0;width:100%;height:var(--divider-width);border-radius:var(--border-radius-0);background-color:var(--background-color-0)}._Line_s5har_91{margin:0;text-align:left;padding-left:2rem;text-indent:-2rem}._AppIcon_s5har_135{display:inline-block;width:2rem;height:2rem;vertical-align:middle;margin-left:.5rem;margin-right:.25rem}._AppIcon_s5har_135 div{position:relative;width:inherit;height:inherit;object-fit:contain}._AppIcon_s5har_135 svg{position:absolute;top:0;left:0;max-width:100%;max-height:100%}')), document.head.appendChild(e);
|
|
3573
3573
|
}
|
|
3574
3574
|
} catch (t) {
|
|
3575
3575
|
console.error("vite-plugin-css-injected-by-js", t);
|
|
3576
3576
|
}
|
|
3577
3577
|
})();
|
|
3578
|
-
const
|
|
3579
|
-
FileExplorer:
|
|
3580
|
-
Header:
|
|
3581
|
-
IconButton:
|
|
3582
|
-
PathInput:
|
|
3583
|
-
Body:
|
|
3584
|
-
Sidebar:
|
|
3585
|
-
NavButton:
|
|
3586
|
-
Main:
|
|
3587
|
-
Footer:
|
|
3588
|
-
Selector:
|
|
3578
|
+
const ci = "_FileExplorer_18occ_1", li = "_Header_18occ_25", fi = "_IconButton_18occ_45", ui = "_PathInput_18occ_137", di = "_Body_18occ_159", mi = "_Sidebar_18occ_175", pi = "_NavButton_18occ_203", hi = "_Main_18occ_249", gi = "_Footer_18occ_277", yi = "_Selector_18occ_315", H = {
|
|
3579
|
+
FileExplorer: ci,
|
|
3580
|
+
Header: li,
|
|
3581
|
+
IconButton: fi,
|
|
3582
|
+
PathInput: ui,
|
|
3583
|
+
Body: di,
|
|
3584
|
+
Sidebar: mi,
|
|
3585
|
+
NavButton: pi,
|
|
3586
|
+
Main: hi,
|
|
3587
|
+
Footer: gi,
|
|
3588
|
+
Selector: yi
|
|
3589
3589
|
};
|
|
3590
3590
|
function He({ onClick: e, icon: t, name: n }) {
|
|
3591
3591
|
return /* @__PURE__ */ W(
|
|
@@ -3601,17 +3601,17 @@ function He({ onClick: e, icon: t, name: n }) {
|
|
|
3601
3601
|
}
|
|
3602
3602
|
);
|
|
3603
3603
|
}
|
|
3604
|
-
function
|
|
3604
|
+
function bi({ directory: e }) {
|
|
3605
3605
|
const t = (n) => {
|
|
3606
3606
|
const r = n.target.files;
|
|
3607
3607
|
r != null && Array.from(r).forEach((a) => {
|
|
3608
|
-
const { name:
|
|
3609
|
-
|
|
3608
|
+
const { name: o, extension: s } = Fr.splitId(a.name), i = new FileReader();
|
|
3609
|
+
i.onload = (c) => {
|
|
3610
3610
|
const { result: l } = c.target;
|
|
3611
|
-
e.createFile(
|
|
3611
|
+
e.createFile(o, s, (f) => {
|
|
3612
3612
|
f.setSource(l);
|
|
3613
3613
|
});
|
|
3614
|
-
},
|
|
3614
|
+
}, i.readAsDataURL(a);
|
|
3615
3615
|
});
|
|
3616
3616
|
};
|
|
3617
3617
|
return /* @__PURE__ */ W("label", { title: "Import", tabIndex: 0, className: H.IconButton, children: [
|
|
@@ -3625,22 +3625,22 @@ function bo({ directory: e }) {
|
|
|
3625
3625
|
onChange: t
|
|
3626
3626
|
}
|
|
3627
3627
|
),
|
|
3628
|
-
/* @__PURE__ */ b(re, { icon:
|
|
3628
|
+
/* @__PURE__ */ b(re, { icon: ti })
|
|
3629
3629
|
] });
|
|
3630
3630
|
}
|
|
3631
|
-
const
|
|
3631
|
+
const $n = {
|
|
3632
3632
|
NONE: 0,
|
|
3633
3633
|
SINGLE: 1,
|
|
3634
3634
|
MULTIPLE: 2
|
|
3635
|
-
},
|
|
3636
|
-
FileProperties:
|
|
3637
|
-
Icon:
|
|
3638
|
-
Section:
|
|
3639
|
-
Line:
|
|
3640
|
-
AppIcon:
|
|
3635
|
+
}, vi = "_FileProperties_s5har_1", xi = "_Icon_s5har_17", _i = "_Section_s5har_49", Ei = "_Line_s5har_91", wi = "_AppIcon_s5har_135", q = {
|
|
3636
|
+
FileProperties: vi,
|
|
3637
|
+
Icon: xi,
|
|
3638
|
+
Section: _i,
|
|
3639
|
+
Line: Ei,
|
|
3640
|
+
AppIcon: wi
|
|
3641
3641
|
};
|
|
3642
|
-
function
|
|
3643
|
-
const { appsConfig: a } = Lt(),
|
|
3642
|
+
function Ai({ modal: e, params: t, file: n, ...r }) {
|
|
3643
|
+
const { appsConfig: a } = Lt(), o = n.extension != null ? a.getAppByFileExtension(n.extension) : null;
|
|
3644
3644
|
return /* @__PURE__ */ W(Lr, { className: q.FileProperties, modal: e, params: t, ...r, children: [
|
|
3645
3645
|
/* @__PURE__ */ W("span", { className: q.Section, children: [
|
|
3646
3646
|
/* @__PURE__ */ b(tn, { className: q.Icon, source: n.getIconUrl() }),
|
|
@@ -3651,10 +3651,10 @@ function Ao({ modal: e, params: t, file: n, ...r }) {
|
|
|
3651
3651
|
"Type: ",
|
|
3652
3652
|
n.getType()
|
|
3653
3653
|
] }),
|
|
3654
|
-
|
|
3654
|
+
o != null && /* @__PURE__ */ W("span", { className: q.Line, children: [
|
|
3655
3655
|
"Opens with:",
|
|
3656
|
-
/* @__PURE__ */ b(tn, { className: q.AppIcon, source:
|
|
3657
|
-
|
|
3656
|
+
/* @__PURE__ */ b(tn, { className: q.AppIcon, source: o.iconUrl ?? "" }),
|
|
3657
|
+
o.name
|
|
3658
3658
|
] })
|
|
3659
3659
|
] }),
|
|
3660
3660
|
/* @__PURE__ */ W("span", { className: q.Section, children: [
|
|
@@ -3679,76 +3679,76 @@ function Ao({ modal: e, params: t, file: n, ...r }) {
|
|
|
3679
3679
|
] }) })
|
|
3680
3680
|
] });
|
|
3681
3681
|
}
|
|
3682
|
-
function
|
|
3683
|
-
const s = r != null && n != null && n !==
|
|
3682
|
+
function Si({ app: e, path: t, selectorMode: n, Footer: r, onSelectionChange: a, onSelectionFinish: o }) {
|
|
3683
|
+
const s = r != null && n != null && n !== $n.NONE, i = Tr(), c = Bn(), { windowsConfig: l } = Lt(), [f, p] = nt(i == null ? void 0 : i.navigate(t ?? "~")), [y, v] = nt((f == null ? void 0 : f.path) ?? ""), [L] = nt(!0), { history: E, stateIndex: x, pushState: C, undo: $, redo: T, undoAvailable: F, redoAvailable: d } = kr(f.path), { alert: J } = Cr(), { openWindowedModal: Q } = Ir(), { onContextMenu: he } = Kt({
|
|
3684
3684
|
Actions: (D) => /* @__PURE__ */ W(Jt, { ...D, children: [
|
|
3685
|
-
/* @__PURE__ */ b(Ie, { label: s ? "Select" : "Open", onTrigger: (R,
|
|
3685
|
+
/* @__PURE__ */ b(Ie, { label: s ? "Select" : "Open", onTrigger: (R, w) => {
|
|
3686
3686
|
if (s) {
|
|
3687
|
-
a == null || a({ files: [
|
|
3687
|
+
a == null || a({ files: [w.id], directory: f }), o == null || o();
|
|
3688
3688
|
return;
|
|
3689
3689
|
}
|
|
3690
|
-
c != null &&
|
|
3690
|
+
c != null && w.open(c);
|
|
3691
3691
|
} }),
|
|
3692
|
-
/* @__PURE__ */ b(Ie, { label: "Delete", icon: Yn, onTrigger: (R,
|
|
3693
|
-
|
|
3692
|
+
/* @__PURE__ */ b(Ie, { label: "Delete", icon: Yn, onTrigger: (R, w) => {
|
|
3693
|
+
w.delete();
|
|
3694
3694
|
} }),
|
|
3695
|
-
/* @__PURE__ */ b(Ie, { label: "Properties", icon:
|
|
3695
|
+
/* @__PURE__ */ b(Ie, { label: "Properties", icon: Qo, onTrigger: (R, w) => {
|
|
3696
3696
|
Q({
|
|
3697
|
-
title: `${
|
|
3698
|
-
iconUrl:
|
|
3699
|
-
size: new
|
|
3700
|
-
Modal: (ee) => /* @__PURE__ */ b(
|
|
3697
|
+
title: `${w.id} ${l.titleSeparator} Properties`,
|
|
3698
|
+
iconUrl: w.getIconUrl(),
|
|
3699
|
+
size: new Ue(400, 500),
|
|
3700
|
+
Modal: (ee) => /* @__PURE__ */ b(Ai, { file: w, ...ee })
|
|
3701
3701
|
});
|
|
3702
3702
|
} })
|
|
3703
3703
|
] })
|
|
3704
3704
|
}), { onContextMenu: ke } = Kt({
|
|
3705
3705
|
Actions: (D) => /* @__PURE__ */ W(Jt, { ...D, children: [
|
|
3706
|
-
/* @__PURE__ */ b(Ie, { label: "Open", onTrigger: (R,
|
|
3707
|
-
Z(
|
|
3706
|
+
/* @__PURE__ */ b(Ie, { label: "Open", onTrigger: (R, w) => {
|
|
3707
|
+
Z(w.linkedPath ?? w.name);
|
|
3708
3708
|
} }),
|
|
3709
3709
|
/* @__PURE__ */ b(Nr, {}),
|
|
3710
|
-
/* @__PURE__ */ b(Ie, { label: "Delete", icon: Yn, onTrigger: (R,
|
|
3711
|
-
|
|
3710
|
+
/* @__PURE__ */ b(Ie, { label: "Delete", icon: Yn, onTrigger: (R, w) => {
|
|
3711
|
+
w.delete();
|
|
3712
3712
|
} })
|
|
3713
3713
|
] })
|
|
3714
3714
|
}), Z = jr((D, R = !1) => {
|
|
3715
3715
|
if (D == null)
|
|
3716
3716
|
return;
|
|
3717
3717
|
f == null && (R = !0);
|
|
3718
|
-
const
|
|
3719
|
-
|
|
3720
|
-
}, [f, C,
|
|
3718
|
+
const w = R ? i == null ? void 0 : i.navigate(D) : f.navigate(D);
|
|
3719
|
+
w != null && (p(w), v(w.root ? "/" : w.path), C(w.path));
|
|
3720
|
+
}, [f, C, i]);
|
|
3721
3721
|
ht(() => {
|
|
3722
|
-
if (
|
|
3722
|
+
if (E.length === 0)
|
|
3723
3723
|
return;
|
|
3724
|
-
const D =
|
|
3724
|
+
const D = E[x], R = i == null ? void 0 : i.navigate(D);
|
|
3725
3725
|
R != null && (p(R), v(R.root ? "/" : R.path));
|
|
3726
|
-
}, [
|
|
3726
|
+
}, [E, x, i]), ht(() => {
|
|
3727
3727
|
const D = (R) => {
|
|
3728
3728
|
J({
|
|
3729
3729
|
title: R.message,
|
|
3730
3730
|
text: "You have exceeded the virtual drive capacity. Files and folders will not be saved until more storage is freed.",
|
|
3731
3731
|
iconUrl: e == null ? void 0 : e.iconUrl,
|
|
3732
|
-
size: new
|
|
3732
|
+
size: new Ue(300, 200),
|
|
3733
3733
|
single: !0
|
|
3734
3734
|
});
|
|
3735
3735
|
};
|
|
3736
|
-
return
|
|
3737
|
-
|
|
3736
|
+
return i == null || i.on(Qt.EVENT_NAMES.error, D), () => {
|
|
3737
|
+
i == null || i.off(Qt.EVENT_NAMES.error, D);
|
|
3738
3738
|
};
|
|
3739
3739
|
}, []);
|
|
3740
|
-
const
|
|
3740
|
+
const Ee = (D) => {
|
|
3741
3741
|
v(D.target.value);
|
|
3742
3742
|
}, Ce = (D) => {
|
|
3743
3743
|
let R = D.target.value;
|
|
3744
3744
|
if (D.key === "Enter") {
|
|
3745
3745
|
R === "" && (R = "~");
|
|
3746
|
-
const
|
|
3747
|
-
if (
|
|
3746
|
+
const w = i == null ? void 0 : i.navigate(R);
|
|
3747
|
+
if (w == null) {
|
|
3748
3748
|
Q({
|
|
3749
3749
|
title: "Error",
|
|
3750
3750
|
iconUrl: e == null ? void 0 : e.iconUrl,
|
|
3751
|
-
size: new
|
|
3751
|
+
size: new Ue(300, 150),
|
|
3752
3752
|
Modal: (ee) => /* @__PURE__ */ W(Zt, { ...ee, children: [
|
|
3753
3753
|
/* @__PURE__ */ W("p", { children: [
|
|
3754
3754
|
'Invalid path: "',
|
|
@@ -3760,7 +3760,7 @@ function So({ app: e, path: t, selectorMode: n, Footer: r, onSelectionChange: a,
|
|
|
3760
3760
|
});
|
|
3761
3761
|
return;
|
|
3762
3762
|
}
|
|
3763
|
-
p(
|
|
3763
|
+
p(w), v(w.root ? "/" : w.path);
|
|
3764
3764
|
}
|
|
3765
3765
|
}, ge = f.getItemCount(L);
|
|
3766
3766
|
return /* @__PURE__ */ W("div", { className: s ? `${H.FileExplorer} ${H.Selector}` : H.FileExplorer, children: [
|
|
@@ -3772,10 +3772,10 @@ function So({ app: e, path: t, selectorMode: n, Footer: r, onSelectionChange: a,
|
|
|
3772
3772
|
tabIndex: 0,
|
|
3773
3773
|
className: H.IconButton,
|
|
3774
3774
|
onClick: () => {
|
|
3775
|
-
|
|
3775
|
+
$();
|
|
3776
3776
|
},
|
|
3777
3777
|
disabled: !F,
|
|
3778
|
-
children: /* @__PURE__ */ b(re, { icon:
|
|
3778
|
+
children: /* @__PURE__ */ b(re, { icon: Ko })
|
|
3779
3779
|
}
|
|
3780
3780
|
),
|
|
3781
3781
|
/* @__PURE__ */ b(
|
|
@@ -3788,7 +3788,7 @@ function So({ app: e, path: t, selectorMode: n, Footer: r, onSelectionChange: a,
|
|
|
3788
3788
|
T();
|
|
3789
3789
|
},
|
|
3790
3790
|
disabled: !d,
|
|
3791
|
-
children: /* @__PURE__ */ b(re, { icon:
|
|
3791
|
+
children: /* @__PURE__ */ b(re, { icon: Xo })
|
|
3792
3792
|
}
|
|
3793
3793
|
),
|
|
3794
3794
|
/* @__PURE__ */ b(
|
|
@@ -3801,7 +3801,7 @@ function So({ app: e, path: t, selectorMode: n, Footer: r, onSelectionChange: a,
|
|
|
3801
3801
|
Z("..");
|
|
3802
3802
|
},
|
|
3803
3803
|
disabled: f.isRoot != null && f.isRoot,
|
|
3804
|
-
children: /* @__PURE__ */ b(re, { icon:
|
|
3804
|
+
children: /* @__PURE__ */ b(re, { icon: oi })
|
|
3805
3805
|
}
|
|
3806
3806
|
),
|
|
3807
3807
|
/* @__PURE__ */ b(
|
|
@@ -3814,7 +3814,7 @@ function So({ app: e, path: t, selectorMode: n, Footer: r, onSelectionChange: a,
|
|
|
3814
3814
|
Q({
|
|
3815
3815
|
title: "Error",
|
|
3816
3816
|
iconUrl: e == null ? void 0 : e.iconUrl,
|
|
3817
|
-
size: new
|
|
3817
|
+
size: new Ue(300, 150),
|
|
3818
3818
|
Modal: (D) => /* @__PURE__ */ W(Zt, { ...D, children: [
|
|
3819
3819
|
/* @__PURE__ */ b("p", { children: "This folder is protected." }),
|
|
3820
3820
|
/* @__PURE__ */ b("button", { "data-type": en.DIALOG_CONTENT_TYPES.closeButton, children: "Ok" })
|
|
@@ -3822,7 +3822,7 @@ function So({ app: e, path: t, selectorMode: n, Footer: r, onSelectionChange: a,
|
|
|
3822
3822
|
});
|
|
3823
3823
|
},
|
|
3824
3824
|
disabled: !f.canBeEdited,
|
|
3825
|
-
children: /* @__PURE__ */ b(re, { icon:
|
|
3825
|
+
children: /* @__PURE__ */ b(re, { icon: ii })
|
|
3826
3826
|
}
|
|
3827
3827
|
),
|
|
3828
3828
|
/* @__PURE__ */ b(
|
|
@@ -3833,29 +3833,29 @@ function So({ app: e, path: t, selectorMode: n, Footer: r, onSelectionChange: a,
|
|
|
3833
3833
|
"aria-label": "Path",
|
|
3834
3834
|
className: H.PathInput,
|
|
3835
3835
|
tabIndex: 0,
|
|
3836
|
-
onChange:
|
|
3836
|
+
onChange: Ee,
|
|
3837
3837
|
onKeyDown: Ce,
|
|
3838
3838
|
placeholder: "Enter a path..."
|
|
3839
3839
|
}
|
|
3840
3840
|
),
|
|
3841
|
-
/* @__PURE__ */ b(
|
|
3842
|
-
/* @__PURE__ */ b("button", { title: "Search", tabIndex: 0, className: H.IconButton, children: /* @__PURE__ */ b(re, { icon:
|
|
3843
|
-
/* @__PURE__ */ b("button", { title: "Settings", tabIndex: 0, className: H.IconButton, children: /* @__PURE__ */ b(re, { icon:
|
|
3841
|
+
/* @__PURE__ */ b(bi, { directory: f }),
|
|
3842
|
+
/* @__PURE__ */ b("button", { title: "Search", tabIndex: 0, className: H.IconButton, children: /* @__PURE__ */ b(re, { icon: ai }) }),
|
|
3843
|
+
/* @__PURE__ */ b("button", { title: "Settings", tabIndex: 0, className: H.IconButton, children: /* @__PURE__ */ b(re, { icon: ei }) })
|
|
3844
3844
|
] }),
|
|
3845
3845
|
/* @__PURE__ */ W("div", { className: H.Body, children: [
|
|
3846
3846
|
/* @__PURE__ */ W("div", { className: H.Sidebar, children: [
|
|
3847
3847
|
/* @__PURE__ */ b(He, { name: "Home", onClick: () => {
|
|
3848
3848
|
Z("~");
|
|
3849
|
-
}, icon:
|
|
3849
|
+
}, icon: ni }),
|
|
3850
3850
|
/* @__PURE__ */ b(He, { name: "Desktop", onClick: () => {
|
|
3851
3851
|
Z("~/Desktop");
|
|
3852
|
-
}, icon:
|
|
3852
|
+
}, icon: si }),
|
|
3853
3853
|
/* @__PURE__ */ b(He, { name: "Images", onClick: () => {
|
|
3854
3854
|
Z("~/Pictures");
|
|
3855
|
-
}, icon:
|
|
3855
|
+
}, icon: Jo }),
|
|
3856
3856
|
/* @__PURE__ */ b(He, { name: "Documents", onClick: () => {
|
|
3857
3857
|
Z("~/Documents");
|
|
3858
|
-
}, icon:
|
|
3858
|
+
}, icon: Go })
|
|
3859
3859
|
] }),
|
|
3860
3860
|
/* @__PURE__ */ b(
|
|
3861
3861
|
Mr,
|
|
@@ -3866,16 +3866,16 @@ function So({ app: e, path: t, selectorMode: n, Footer: r, onSelectionChange: a,
|
|
|
3866
3866
|
showHidden: L,
|
|
3867
3867
|
onOpenFile: (D, R) => {
|
|
3868
3868
|
if (D.preventDefault(), s)
|
|
3869
|
-
return void (
|
|
3870
|
-
const
|
|
3871
|
-
(R.extension === "md" || R.extension != null && Rr.includes(R.extension)) && (
|
|
3869
|
+
return void (o == null ? void 0 : o());
|
|
3870
|
+
const w = {};
|
|
3871
|
+
(R.extension === "md" || R.extension != null && Rr.includes(R.extension)) && (w.mode = "view"), c == null || c.openFile(R, w);
|
|
3872
3872
|
},
|
|
3873
3873
|
onOpenFolder: (D, R) => {
|
|
3874
3874
|
Z(R.linkedPath ?? R.name);
|
|
3875
3875
|
},
|
|
3876
3876
|
onContextMenuFile: he,
|
|
3877
3877
|
onContextMenuFolder: ke,
|
|
3878
|
-
allowMultiSelect: n !==
|
|
3878
|
+
allowMultiSelect: n !== $n.SINGLE,
|
|
3879
3879
|
onSelectionChange: a
|
|
3880
3880
|
}
|
|
3881
3881
|
)
|
|
@@ -3883,9 +3883,9 @@ function So({ app: e, path: t, selectorMode: n, Footer: r, onSelectionChange: a,
|
|
|
3883
3883
|
s ? /* @__PURE__ */ b("div", { className: H.Footer, children: /* @__PURE__ */ b(r, {}) }) : /* @__PURE__ */ b("span", { className: H.Footer, children: /* @__PURE__ */ b("p", { className: Ft.TextLight, children: ge === 1 ? ge + " item" : ge + " items" }) })
|
|
3884
3884
|
] });
|
|
3885
3885
|
}
|
|
3886
|
-
var
|
|
3887
|
-
const
|
|
3888
|
-
|
|
3886
|
+
var Oi = /* @__PURE__ */ ((e) => (e[e.None = 0] = "None", e[e.Single = 1] = "Single", e[e.Multi = 2] = "Multi", e))(Oi || {});
|
|
3887
|
+
const Pi = new Un("File Explorer", "file-explorer", Si).setIconUrl("https://os.prozilla.dev/assets/apps/icons/file-explorer.svg").setRole(Rt.APP_ROLES.fileExplorer).setCategory("Utilities & tools");
|
|
3888
|
+
Pi.setMetadata({ name: "@prozilla-os/file-explorer", version: "1.1.12", author: "Prozilla" });
|
|
3889
3889
|
(function() {
|
|
3890
3890
|
try {
|
|
3891
3891
|
if (typeof document < "u") {
|
|
@@ -3896,27 +3896,27 @@ Po.setMetadata({ name: "@prozilla-os/file-explorer", version: "1.1.11", author:
|
|
|
3896
3896
|
console.error("vite-plugin-css-injected-by-js", t);
|
|
3897
3897
|
}
|
|
3898
3898
|
})();
|
|
3899
|
-
const
|
|
3900
|
-
MediaViewer:
|
|
3899
|
+
const Ti = "_MediaViewer_1u5j4_1", ki = {
|
|
3900
|
+
MediaViewer: Ti
|
|
3901
3901
|
};
|
|
3902
|
-
function
|
|
3902
|
+
function Ci({ file: e, close: t, setTitle: n }) {
|
|
3903
3903
|
const { appsConfig: r } = Lt(), a = Bn();
|
|
3904
3904
|
if (ht(() => {
|
|
3905
3905
|
e != null && (n == null || n(e.id));
|
|
3906
3906
|
}, [e, n]), e == null) {
|
|
3907
|
-
const
|
|
3907
|
+
const o = r.getAppByRole(Rt.APP_ROLES.fileExplorer);
|
|
3908
3908
|
setTimeout(() => {
|
|
3909
|
-
|
|
3909
|
+
o != null && (a == null || a.open(o.id, { path: "~/Pictures" })), t == null || t();
|
|
3910
3910
|
}, 10);
|
|
3911
3911
|
return;
|
|
3912
3912
|
}
|
|
3913
|
-
return e.extension == null || !Wn.includes(e.extension) ? /* @__PURE__ */ b("p", { children: "Invalid file format." }) : e.source == null ? /* @__PURE__ */ b("p", { children: "File failed to load." }) : /* @__PURE__ */ b("div", { className:
|
|
3913
|
+
return e.extension == null || !Wn.includes(e.extension) ? /* @__PURE__ */ b("p", { children: "Invalid file format." }) : e.source == null ? /* @__PURE__ */ b("p", { children: "File failed to load." }) : /* @__PURE__ */ b("div", { className: ki.MediaViewer, children: /* @__PURE__ */ b("img", { src: e.source, alt: e.id, draggable: "false" }) });
|
|
3914
3914
|
}
|
|
3915
|
-
const
|
|
3916
|
-
|
|
3915
|
+
const Ii = new Un("Media Viewer", "media-viewer", Ci).setIconUrl("https://os.prozilla.dev/assets/apps/icons/media-viewer.svg").setRole(Rt.APP_ROLES.mediaViewer).setAssociatedExtensions(Wn).setCategory("Photo & video");
|
|
3916
|
+
Ii.setMetadata({ name: "@prozilla-os/media-viewer", version: "1.1.12", author: "Prozilla" });
|
|
3917
3917
|
export {
|
|
3918
|
-
|
|
3919
|
-
|
|
3920
|
-
|
|
3918
|
+
Oi as FileSelectorMode,
|
|
3919
|
+
Pi as fileExplorer,
|
|
3920
|
+
Ii as mediaViewer
|
|
3921
3921
|
};
|
|
3922
3922
|
//# sourceMappingURL=main.js.map
|