pangea-lib 1.5.1 → 1.5.3
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/pangea.js +334 -334
- package/dist/pangea.umd.cjs +6 -6
- package/dist/style.css +1 -1
- package/package.json +5 -3
package/dist/pangea.js
CHANGED
|
@@ -19,7 +19,7 @@ function v(c) {
|
|
|
19
19
|
for (var a = 1; a < arguments.length; a++) {
|
|
20
20
|
var e = arguments[a] != null ? arguments[a] : {};
|
|
21
21
|
a % 2 ? U3(Object(e), !0).forEach(function(r) {
|
|
22
|
-
|
|
22
|
+
S(c, r, e[r]);
|
|
23
23
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(c, Object.getOwnPropertyDescriptors(e)) : U3(Object(e)).forEach(function(r) {
|
|
24
24
|
Object.defineProperty(c, r, Object.getOwnPropertyDescriptor(e, r));
|
|
25
25
|
});
|
|
@@ -49,7 +49,7 @@ function qr(c, a, e) {
|
|
|
49
49
|
writable: !1
|
|
50
50
|
}), c;
|
|
51
51
|
}
|
|
52
|
-
function
|
|
52
|
+
function S(c, a, e) {
|
|
53
53
|
return a in c ? Object.defineProperty(c, a, {
|
|
54
54
|
value: e,
|
|
55
55
|
enumerable: !0,
|
|
@@ -129,23 +129,23 @@ try {
|
|
|
129
129
|
typeof window < "u" && (b2 = window), typeof document < "u" && (V4 = document), typeof MutationObserver < "u" && (M4 = MutationObserver), typeof performance < "u" && (C4 = performance);
|
|
130
130
|
} catch {
|
|
131
131
|
}
|
|
132
|
-
var $r = b2.navigator || {}, $3 = $r.userAgent, W3 = $3 === void 0 ? "" : $3, W = b2,
|
|
132
|
+
var $r = b2.navigator || {}, $3 = $r.userAgent, W3 = $3 === void 0 ? "" : $3, W = b2, d = V4, I3 = M4, d1 = C4;
|
|
133
133
|
W.document;
|
|
134
|
-
var G = !!
|
|
134
|
+
var G = !!d.documentElement && !!d.head && typeof d.addEventListener == "function" && typeof d.createElement == "function", p4 = ~W3.indexOf("MSIE") || ~W3.indexOf("Trident/"), g1, x1, b1, N1, S1, R = "___FONT_AWESOME___", z2 = 16, u4 = "fa", L4 = "svg-inline--fa", Y = "data-fa-i2svg", v2 = "data-fa-pseudo-element", Wr = "data-fa-pseudo-element-pending", N2 = "data-prefix", S2 = "data-icon", Z3 = "fontawesome-i2svg", Ir = "async", Zr = ["HTML", "HEAD", "STYLE", "SCRIPT"], d4 = function() {
|
|
135
135
|
try {
|
|
136
136
|
return process.env.NODE_ENV === "production";
|
|
137
137
|
} catch {
|
|
138
138
|
return !1;
|
|
139
139
|
}
|
|
140
|
-
}(),
|
|
140
|
+
}(), L = "classic", b = "sharp", k2 = [L, b];
|
|
141
141
|
function H1(c) {
|
|
142
142
|
return new Proxy(c, {
|
|
143
143
|
get: function(e, r) {
|
|
144
|
-
return r in e ? e[r] : e[
|
|
144
|
+
return r in e ? e[r] : e[L];
|
|
145
145
|
}
|
|
146
146
|
});
|
|
147
147
|
}
|
|
148
|
-
var n1 = H1((g1 = {},
|
|
148
|
+
var n1 = H1((g1 = {}, S(g1, L, {
|
|
149
149
|
fa: "solid",
|
|
150
150
|
fas: "solid",
|
|
151
151
|
"fa-solid": "solid",
|
|
@@ -163,7 +163,7 @@ var n1 = H1((g1 = {}, N(g1, d, {
|
|
|
163
163
|
fakd: "kit",
|
|
164
164
|
"fa-kit": "kit",
|
|
165
165
|
"fa-kit-duotone": "kit"
|
|
166
|
-
}),
|
|
166
|
+
}), S(g1, b, {
|
|
167
167
|
fa: "solid",
|
|
168
168
|
fass: "solid",
|
|
169
169
|
"fa-solid": "solid",
|
|
@@ -173,7 +173,7 @@ var n1 = H1((g1 = {}, N(g1, d, {
|
|
|
173
173
|
"fa-light": "light",
|
|
174
174
|
fast: "thin",
|
|
175
175
|
"fa-thin": "thin"
|
|
176
|
-
}), g1)), o1 = H1((x1 = {},
|
|
176
|
+
}), g1)), o1 = H1((x1 = {}, S(x1, L, {
|
|
177
177
|
solid: "fas",
|
|
178
178
|
regular: "far",
|
|
179
179
|
light: "fal",
|
|
@@ -181,12 +181,12 @@ var n1 = H1((g1 = {}, N(g1, d, {
|
|
|
181
181
|
duotone: "fad",
|
|
182
182
|
brands: "fab",
|
|
183
183
|
kit: "fak"
|
|
184
|
-
}),
|
|
184
|
+
}), S(x1, b, {
|
|
185
185
|
solid: "fass",
|
|
186
186
|
regular: "fasr",
|
|
187
187
|
light: "fasl",
|
|
188
188
|
thin: "fast"
|
|
189
|
-
}), x1)), t1 = H1((b1 = {},
|
|
189
|
+
}), x1)), t1 = H1((b1 = {}, S(b1, L, {
|
|
190
190
|
fab: "fa-brands",
|
|
191
191
|
fad: "fa-duotone",
|
|
192
192
|
fak: "fa-kit",
|
|
@@ -194,12 +194,12 @@ var n1 = H1((g1 = {}, N(g1, d, {
|
|
|
194
194
|
far: "fa-regular",
|
|
195
195
|
fas: "fa-solid",
|
|
196
196
|
fat: "fa-thin"
|
|
197
|
-
}),
|
|
197
|
+
}), S(b1, b, {
|
|
198
198
|
fass: "fa-solid",
|
|
199
199
|
fasr: "fa-regular",
|
|
200
200
|
fasl: "fa-light",
|
|
201
201
|
fast: "fa-thin"
|
|
202
|
-
}), b1)), _r = H1((N1 = {},
|
|
202
|
+
}), b1)), _r = H1((N1 = {}, S(N1, L, {
|
|
203
203
|
"fa-brands": "fab",
|
|
204
204
|
"fa-duotone": "fad",
|
|
205
205
|
"fa-kit": "fak",
|
|
@@ -207,18 +207,18 @@ var n1 = H1((g1 = {}, N(g1, d, {
|
|
|
207
207
|
"fa-regular": "far",
|
|
208
208
|
"fa-solid": "fas",
|
|
209
209
|
"fa-thin": "fat"
|
|
210
|
-
}),
|
|
210
|
+
}), S(N1, b, {
|
|
211
211
|
"fa-solid": "fass",
|
|
212
212
|
"fa-regular": "fasr",
|
|
213
213
|
"fa-light": "fasl",
|
|
214
214
|
"fa-thin": "fast"
|
|
215
|
-
}), N1)), jr = /fa(s|r|l|t|d|b|k|ss|sr|sl|st)?[\-\ ]/, g4 = "fa-layers-text", Yr = /Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp|Kit)?.*/i, Xr = H1((S1 = {},
|
|
215
|
+
}), N1)), jr = /fa(s|r|l|t|d|b|k|ss|sr|sl|st)?[\-\ ]/, g4 = "fa-layers-text", Yr = /Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp|Kit)?.*/i, Xr = H1((S1 = {}, S(S1, L, {
|
|
216
216
|
900: "fas",
|
|
217
217
|
400: "far",
|
|
218
218
|
normal: "far",
|
|
219
219
|
300: "fal",
|
|
220
220
|
100: "fat"
|
|
221
|
-
}),
|
|
221
|
+
}), S(S1, b, {
|
|
222
222
|
900: "fass",
|
|
223
223
|
400: "fasr",
|
|
224
224
|
300: "fasl",
|
|
@@ -229,22 +229,22 @@ var n1 = H1((g1 = {}, N(g1, d, {
|
|
|
229
229
|
PRIMARY: "primary",
|
|
230
230
|
SECONDARY: "secondary"
|
|
231
231
|
}, m1 = /* @__PURE__ */ new Set();
|
|
232
|
-
Object.keys(o1[
|
|
233
|
-
Object.keys(o1[
|
|
232
|
+
Object.keys(o1[L]).map(m1.add.bind(m1));
|
|
233
|
+
Object.keys(o1[b]).map(m1.add.bind(m1));
|
|
234
234
|
var Jr = [].concat(k2, v1(m1), ["2xs", "xs", "sm", "lg", "xl", "2xl", "beat", "border", "fade", "beat-fade", "bounce", "flip-both", "flip-horizontal", "flip-vertical", "flip", "fw", "inverse", "layers-counter", "layers-text", "layers", "li", "pull-left", "pull-right", "pulse", "rotate-180", "rotate-270", "rotate-90", "rotate-by", "shake", "spin-pulse", "spin-reverse", "spin", "stack-1x", "stack-2x", "stack", "ul", _.GROUP, _.SWAP_OPACITY, _.PRIMARY, _.SECONDARY]).concat(x4.map(function(c) {
|
|
235
235
|
return "".concat(c, "x");
|
|
236
236
|
})).concat(Kr.map(function(c) {
|
|
237
237
|
return "w-".concat(c);
|
|
238
238
|
})), f1 = W.FontAwesomeConfig || {};
|
|
239
239
|
function ci(c) {
|
|
240
|
-
var a =
|
|
240
|
+
var a = d.querySelector("script[" + c + "]");
|
|
241
241
|
if (a)
|
|
242
242
|
return a.getAttribute(c);
|
|
243
243
|
}
|
|
244
244
|
function ai(c) {
|
|
245
245
|
return c === "" ? !0 : c === "false" ? !1 : c === "true" ? !0 : c;
|
|
246
246
|
}
|
|
247
|
-
if (
|
|
247
|
+
if (d && typeof d.querySelector == "function") {
|
|
248
248
|
var ei = [["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"]];
|
|
249
249
|
ei.forEach(function(c) {
|
|
250
250
|
var a = x2(c, 2), e = a[0], r = a[1], i = ai(ci(e));
|
|
@@ -269,13 +269,13 @@ var b4 = {
|
|
|
269
269
|
f1.familyPrefix && (f1.cssPrefix = f1.familyPrefix);
|
|
270
270
|
var c1 = v(v({}, b4), f1);
|
|
271
271
|
c1.autoReplaceSvg || (c1.observeMutations = !1);
|
|
272
|
-
var
|
|
272
|
+
var h = {};
|
|
273
273
|
Object.keys(b4).forEach(function(c) {
|
|
274
|
-
Object.defineProperty(
|
|
274
|
+
Object.defineProperty(h, c, {
|
|
275
275
|
enumerable: !0,
|
|
276
276
|
set: function(e) {
|
|
277
277
|
c1[c] = e, s1.forEach(function(r) {
|
|
278
|
-
return r(
|
|
278
|
+
return r(h);
|
|
279
279
|
});
|
|
280
280
|
},
|
|
281
281
|
get: function() {
|
|
@@ -283,18 +283,18 @@ Object.keys(b4).forEach(function(c) {
|
|
|
283
283
|
}
|
|
284
284
|
});
|
|
285
285
|
});
|
|
286
|
-
Object.defineProperty(
|
|
286
|
+
Object.defineProperty(h, "familyPrefix", {
|
|
287
287
|
enumerable: !0,
|
|
288
288
|
set: function(a) {
|
|
289
289
|
c1.cssPrefix = a, s1.forEach(function(e) {
|
|
290
|
-
return e(
|
|
290
|
+
return e(h);
|
|
291
291
|
});
|
|
292
292
|
},
|
|
293
293
|
get: function() {
|
|
294
294
|
return c1.cssPrefix;
|
|
295
295
|
}
|
|
296
296
|
});
|
|
297
|
-
W.FontAwesomeConfig =
|
|
297
|
+
W.FontAwesomeConfig = h;
|
|
298
298
|
var s1 = [];
|
|
299
299
|
function ri(c) {
|
|
300
300
|
return s1.push(c), function() {
|
|
@@ -311,13 +311,13 @@ var O = z2, q = {
|
|
|
311
311
|
};
|
|
312
312
|
function ii(c) {
|
|
313
313
|
if (!(!c || !G)) {
|
|
314
|
-
var a =
|
|
314
|
+
var a = d.createElement("style");
|
|
315
315
|
a.setAttribute("type", "text/css"), a.innerHTML = c;
|
|
316
|
-
for (var e =
|
|
316
|
+
for (var e = d.head.childNodes, r = null, i = e.length - 1; i > -1; i--) {
|
|
317
317
|
var f = e[i], s = (f.tagName || "").toUpperCase();
|
|
318
318
|
["STYLE", "LINK"].indexOf(s) > -1 && (r = f);
|
|
319
319
|
}
|
|
320
|
-
return
|
|
320
|
+
return d.head.insertBefore(a, r), c;
|
|
321
321
|
}
|
|
322
322
|
}
|
|
323
323
|
var fi = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";
|
|
@@ -357,13 +357,13 @@ function li(c) {
|
|
|
357
357
|
transform: "translate(".concat(e / 2, " 256)")
|
|
358
358
|
}, f = "translate(".concat(a.x * 32, ", ").concat(a.y * 32, ") "), s = "scale(".concat(a.size / 16 * (a.flipX ? -1 : 1), ", ").concat(a.size / 16 * (a.flipY ? -1 : 1), ") "), l = "rotate(".concat(a.rotate, " 0 0)"), n = {
|
|
359
359
|
transform: "".concat(f, " ").concat(s, " ").concat(l)
|
|
360
|
-
},
|
|
360
|
+
}, t = {
|
|
361
361
|
transform: "translate(".concat(r / 2 * -1, " -256)")
|
|
362
362
|
};
|
|
363
363
|
return {
|
|
364
364
|
outer: i,
|
|
365
365
|
inner: n,
|
|
366
|
-
path:
|
|
366
|
+
path: t
|
|
367
367
|
};
|
|
368
368
|
}
|
|
369
369
|
function ni(c) {
|
|
@@ -1129,7 +1129,7 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
|
|
|
1129
1129
|
color: var(--fa-inverse, #fff);
|
|
1130
1130
|
}`;
|
|
1131
1131
|
function S4() {
|
|
1132
|
-
var c = u4, a = L4, e =
|
|
1132
|
+
var c = u4, a = L4, e = h.cssPrefix, r = h.replacementClass, i = oi;
|
|
1133
1133
|
if (e !== c || r !== a) {
|
|
1134
1134
|
var f = new RegExp("\\.".concat(c, "\\-"), "g"), s = new RegExp("\\--".concat(c, "\\-"), "g"), l = new RegExp("\\.".concat(a), "g");
|
|
1135
1135
|
i = i.replace(f, ".".concat(e, "-")).replace(s, "--".concat(e, "-")).replace(l, ".".concat(r));
|
|
@@ -1138,7 +1138,7 @@ function S4() {
|
|
|
1138
1138
|
}
|
|
1139
1139
|
var _3 = !1;
|
|
1140
1140
|
function s2() {
|
|
1141
|
-
|
|
1141
|
+
h.autoAddCss && !_3 && (ii(S4()), _3 = !0);
|
|
1142
1142
|
}
|
|
1143
1143
|
var ti = {
|
|
1144
1144
|
mixout: function() {
|
|
@@ -1165,11 +1165,11 @@ E[R].styles || (E[R].styles = {});
|
|
|
1165
1165
|
E[R].hooks || (E[R].hooks = {});
|
|
1166
1166
|
E[R].shims || (E[R].shims = []);
|
|
1167
1167
|
var B = E[R], k4 = [], mi = function c() {
|
|
1168
|
-
|
|
1168
|
+
d.removeEventListener("DOMContentLoaded", c), T1 = 1, k4.map(function(a) {
|
|
1169
1169
|
return a();
|
|
1170
1170
|
});
|
|
1171
1171
|
}, T1 = !1;
|
|
1172
|
-
G && (T1 = (
|
|
1172
|
+
G && (T1 = (d.documentElement.doScroll ? /^loaded|^c/ : /^loaded|^i|^c/).test(d.readyState), T1 || d.addEventListener("DOMContentLoaded", mi));
|
|
1173
1173
|
function zi(c) {
|
|
1174
1174
|
G && (T1 ? setTimeout(c, 0) : k4.push(c));
|
|
1175
1175
|
}
|
|
@@ -1190,9 +1190,9 @@ var vi = function(a, e) {
|
|
|
1190
1190
|
return a.call(e, r, i, f, s);
|
|
1191
1191
|
};
|
|
1192
1192
|
}, l2 = function(a, e, r, i) {
|
|
1193
|
-
var f = Object.keys(a), s = f.length, l = i !== void 0 ? vi(e, i) : e, n,
|
|
1193
|
+
var f = Object.keys(a), s = f.length, l = i !== void 0 ? vi(e, i) : e, n, t, o;
|
|
1194
1194
|
for (r === void 0 ? (n = 1, o = a[f[0]]) : (n = 0, o = r); n < s; n++)
|
|
1195
|
-
|
|
1195
|
+
t = f[n], o = l(o, a[t], t, a);
|
|
1196
1196
|
return o;
|
|
1197
1197
|
};
|
|
1198
1198
|
function Hi(c) {
|
|
@@ -1224,7 +1224,7 @@ function h2(c, a) {
|
|
|
1224
1224
|
var e = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, r = e.skipHooks, i = r === void 0 ? !1 : r, f = Y3(a);
|
|
1225
1225
|
typeof B.hooks.addPack == "function" && !i ? B.hooks.addPack(c, Y3(a)) : B.styles[c] = v(v({}, B.styles[c] || {}), f), c === "fas" && h2("fa", a);
|
|
1226
1226
|
}
|
|
1227
|
-
var k1, w1, A1, K = B.styles, Vi = B.shims, Mi = (k1 = {},
|
|
1227
|
+
var k1, w1, A1, K = B.styles, Vi = B.shims, Mi = (k1 = {}, S(k1, L, Object.values(t1[L])), S(k1, b, Object.values(t1[b])), k1), y2 = null, w4 = {}, A4 = {}, y4 = {}, P4 = {}, F4 = {}, Ci = (w1 = {}, S(w1, L, Object.keys(n1[L])), S(w1, b, Object.keys(n1[b])), w1);
|
|
1228
1228
|
function pi(c) {
|
|
1229
1229
|
return ~Jr.indexOf(c);
|
|
1230
1230
|
}
|
|
@@ -1264,7 +1264,7 @@ var T4 = function() {
|
|
|
1264
1264
|
i[n] = s;
|
|
1265
1265
|
}), i;
|
|
1266
1266
|
});
|
|
1267
|
-
var e = "far" in K ||
|
|
1267
|
+
var e = "far" in K || h.autoFetchSvg, r = l2(Vi, function(i, f) {
|
|
1268
1268
|
var s = f[0], l = f[1], n = f[2];
|
|
1269
1269
|
return l === "far" && !e && (l = "fas"), typeof s == "string" && (i.names[s] = {
|
|
1270
1270
|
prefix: l,
|
|
@@ -1277,13 +1277,13 @@ var T4 = function() {
|
|
|
1277
1277
|
names: {},
|
|
1278
1278
|
unicodes: {}
|
|
1279
1279
|
});
|
|
1280
|
-
y4 = r.names, P4 = r.unicodes, y2 = E1(
|
|
1281
|
-
family:
|
|
1280
|
+
y4 = r.names, P4 = r.unicodes, y2 = E1(h.styleDefault, {
|
|
1281
|
+
family: h.familyDefault
|
|
1282
1282
|
});
|
|
1283
1283
|
};
|
|
1284
1284
|
ri(function(c) {
|
|
1285
1285
|
y2 = E1(c.styleDefault, {
|
|
1286
|
-
family:
|
|
1286
|
+
family: h.familyDefault
|
|
1287
1287
|
});
|
|
1288
1288
|
});
|
|
1289
1289
|
T4();
|
|
@@ -1323,28 +1323,28 @@ var F2 = function() {
|
|
|
1323
1323
|
};
|
|
1324
1324
|
};
|
|
1325
1325
|
function E1(c) {
|
|
1326
|
-
var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, e = a.family, r = e === void 0 ?
|
|
1326
|
+
var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, e = a.family, r = e === void 0 ? L : e, i = n1[r][c], f = o1[r][c] || o1[r][i], s = c in B.styles ? c : null;
|
|
1327
1327
|
return f || s || null;
|
|
1328
1328
|
}
|
|
1329
|
-
var X3 = (A1 = {},
|
|
1329
|
+
var X3 = (A1 = {}, S(A1, L, Object.keys(t1[L])), S(A1, b, Object.keys(t1[b])), A1);
|
|
1330
1330
|
function U1(c) {
|
|
1331
|
-
var a, e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = e.skipLookups, i = r === void 0 ? !1 : r, f = (a = {},
|
|
1332
|
-
(c.includes(f[
|
|
1333
|
-
return X3[
|
|
1334
|
-
})) && (l =
|
|
1335
|
-
return X3[
|
|
1336
|
-
})) && (l =
|
|
1337
|
-
var n = c.reduce(function(
|
|
1338
|
-
var
|
|
1339
|
-
if (K[o] ? (o = Mi[l].includes(o) ? _r[l][o] : o, s = o,
|
|
1331
|
+
var a, e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = e.skipLookups, i = r === void 0 ? !1 : r, f = (a = {}, S(a, L, "".concat(h.cssPrefix, "-").concat(L)), S(a, b, "".concat(h.cssPrefix, "-").concat(b)), a), s = null, l = L;
|
|
1332
|
+
(c.includes(f[L]) || c.some(function(t) {
|
|
1333
|
+
return X3[L].includes(t);
|
|
1334
|
+
})) && (l = L), (c.includes(f[b]) || c.some(function(t) {
|
|
1335
|
+
return X3[b].includes(t);
|
|
1336
|
+
})) && (l = b);
|
|
1337
|
+
var n = c.reduce(function(t, o) {
|
|
1338
|
+
var m = ui(h.cssPrefix, o);
|
|
1339
|
+
if (K[o] ? (o = Mi[l].includes(o) ? _r[l][o] : o, s = o, t.prefix = o) : Ci[l].indexOf(o) > -1 ? (s = o, t.prefix = E1(o, {
|
|
1340
1340
|
family: l
|
|
1341
|
-
})) :
|
|
1342
|
-
var
|
|
1343
|
-
|
|
1341
|
+
})) : m ? t.iconName = m : o !== h.replacementClass && o !== f[L] && o !== f[b] && t.rest.push(o), !i && t.prefix && t.iconName) {
|
|
1342
|
+
var H = s === "fa" ? B4(t.iconName) : {}, M = j(t.prefix, t.iconName);
|
|
1343
|
+
H.prefix && (s = null), t.iconName = H.iconName || M || t.iconName, t.prefix = H.prefix || t.prefix, t.prefix === "far" && !K.far && K.fas && !h.autoFetchSvg && (t.prefix = "fas");
|
|
1344
1344
|
}
|
|
1345
|
-
return
|
|
1345
|
+
return t;
|
|
1346
1346
|
}, F2());
|
|
1347
|
-
return (c.includes("fa-brands") || c.includes("fab")) && (n.prefix = "fab"), (c.includes("fa-duotone") || c.includes("fad")) && (n.prefix = "fad"), !n.prefix && l ===
|
|
1347
|
+
return (c.includes("fa-brands") || c.includes("fab")) && (n.prefix = "fab"), (c.includes("fa-duotone") || c.includes("fad")) && (n.prefix = "fad"), !n.prefix && l === b && (K.fass || h.autoFetchSvg) && (n.prefix = "fass", n.iconName = j(n.prefix, n.iconName) || n.iconName), (n.prefix === "fa" || s === "fa") && (n.prefix = I() || "fas"), n;
|
|
1348
1348
|
}
|
|
1349
1349
|
var gi = /* @__PURE__ */ function() {
|
|
1350
1350
|
function c() {
|
|
@@ -1358,7 +1358,7 @@ var gi = /* @__PURE__ */ function() {
|
|
|
1358
1358
|
var s = i.reduce(this._pullDefinitions, {});
|
|
1359
1359
|
Object.keys(s).forEach(function(l) {
|
|
1360
1360
|
e.definitions[l] = v(v({}, e.definitions[l] || {}), s[l]), h2(l, s[l]);
|
|
1361
|
-
var n = t1[
|
|
1361
|
+
var n = t1[L][l];
|
|
1362
1362
|
n && h2(n, s[l]), T4();
|
|
1363
1363
|
});
|
|
1364
1364
|
}
|
|
@@ -1374,10 +1374,10 @@ var gi = /* @__PURE__ */ function() {
|
|
|
1374
1374
|
0: r
|
|
1375
1375
|
} : r;
|
|
1376
1376
|
return Object.keys(i).map(function(f) {
|
|
1377
|
-
var s = i[f], l = s.prefix, n = s.iconName,
|
|
1378
|
-
e[l] || (e[l] = {}), o.length > 0 && o.forEach(function(
|
|
1379
|
-
typeof
|
|
1380
|
-
}), e[l][n] =
|
|
1377
|
+
var s = i[f], l = s.prefix, n = s.iconName, t = s.icon, o = t[2];
|
|
1378
|
+
e[l] || (e[l] = {}), o.length > 0 && o.forEach(function(m) {
|
|
1379
|
+
typeof m == "string" && (e[l][m] = t);
|
|
1380
|
+
}), e[l][n] = t;
|
|
1381
1381
|
}), e;
|
|
1382
1382
|
}
|
|
1383
1383
|
}]), c;
|
|
@@ -1428,7 +1428,7 @@ function M2(c) {
|
|
|
1428
1428
|
return a = j(e, a) || a, j3(q4.definitions, e, a) || j3(B.styles, e, a);
|
|
1429
1429
|
}
|
|
1430
1430
|
var q4 = new gi(), Ni = function() {
|
|
1431
|
-
|
|
1431
|
+
h.autoReplaceSvg = !1, h.observeMutations = !1, X("noAuto");
|
|
1432
1432
|
}, Si = {
|
|
1433
1433
|
i2svg: function() {
|
|
1434
1434
|
var a = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
@@ -1436,7 +1436,7 @@ var q4 = new gi(), Ni = function() {
|
|
|
1436
1436
|
},
|
|
1437
1437
|
watch: function() {
|
|
1438
1438
|
var a = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, e = a.autoReplaceSvgRoot;
|
|
1439
|
-
|
|
1439
|
+
h.autoReplaceSvg === !1 && (h.autoReplaceSvg = !0), h.observeMutations = !0, zi(function() {
|
|
1440
1440
|
wi({
|
|
1441
1441
|
autoReplaceSvgRoot: e
|
|
1442
1442
|
}), X("watch", a);
|
|
@@ -1458,7 +1458,7 @@ var q4 = new gi(), Ni = function() {
|
|
|
1458
1458
|
iconName: j(r, e) || e
|
|
1459
1459
|
};
|
|
1460
1460
|
}
|
|
1461
|
-
if (typeof a == "string" && (a.indexOf("".concat(
|
|
1461
|
+
if (typeof a == "string" && (a.indexOf("".concat(h.cssPrefix, "-")) > -1 || a.match(jr))) {
|
|
1462
1462
|
var i = U1(a.split(" "), {
|
|
1463
1463
|
skipLookups: !0
|
|
1464
1464
|
});
|
|
@@ -1477,15 +1477,15 @@ var q4 = new gi(), Ni = function() {
|
|
|
1477
1477
|
}
|
|
1478
1478
|
}, P = {
|
|
1479
1479
|
noAuto: Ni,
|
|
1480
|
-
config:
|
|
1480
|
+
config: h,
|
|
1481
1481
|
dom: Si,
|
|
1482
1482
|
parse: ki,
|
|
1483
1483
|
library: q4,
|
|
1484
1484
|
findIconDefinition: M2,
|
|
1485
1485
|
toHtml: h1
|
|
1486
1486
|
}, wi = function() {
|
|
1487
|
-
var a = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, e = a.autoReplaceSvgRoot, r = e === void 0 ?
|
|
1488
|
-
(Object.keys(B.styles).length > 0 ||
|
|
1487
|
+
var a = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, e = a.autoReplaceSvgRoot, r = e === void 0 ? d : e;
|
|
1488
|
+
(Object.keys(B.styles).length > 0 || h.autoFetchSvg) && G && h.autoReplaceSvg && P.dom.i2svg({
|
|
1489
1489
|
node: r
|
|
1490
1490
|
});
|
|
1491
1491
|
};
|
|
@@ -1501,7 +1501,7 @@ function G1(c, a) {
|
|
|
1501
1501
|
}), Object.defineProperty(c, "node", {
|
|
1502
1502
|
get: function() {
|
|
1503
1503
|
if (G) {
|
|
1504
|
-
var r =
|
|
1504
|
+
var r = d.createElement("div");
|
|
1505
1505
|
return r.innerHTML = c.html, r.children;
|
|
1506
1506
|
}
|
|
1507
1507
|
}
|
|
@@ -1510,12 +1510,12 @@ function G1(c, a) {
|
|
|
1510
1510
|
function Ai(c) {
|
|
1511
1511
|
var a = c.children, e = c.main, r = c.mask, i = c.attributes, f = c.styles, s = c.transform;
|
|
1512
1512
|
if (A2(s) && e.found && !r.found) {
|
|
1513
|
-
var l = e.width, n = e.height,
|
|
1513
|
+
var l = e.width, n = e.height, t = {
|
|
1514
1514
|
x: l / n / 2,
|
|
1515
1515
|
y: 0.5
|
|
1516
1516
|
};
|
|
1517
1517
|
i.style = R1(v(v({}, f), {}, {
|
|
1518
|
-
"transform-origin": "".concat(
|
|
1518
|
+
"transform-origin": "".concat(t.x + s.x / 16, "em ").concat(t.y + s.y / 16, "em")
|
|
1519
1519
|
}));
|
|
1520
1520
|
}
|
|
1521
1521
|
return [{
|
|
@@ -1525,7 +1525,7 @@ function Ai(c) {
|
|
|
1525
1525
|
}];
|
|
1526
1526
|
}
|
|
1527
1527
|
function yi(c) {
|
|
1528
|
-
var a = c.prefix, e = c.iconName, r = c.children, i = c.attributes, f = c.symbol, s = f === !0 ? "".concat(a, "-").concat(
|
|
1528
|
+
var a = c.prefix, e = c.iconName, r = c.children, i = c.attributes, f = c.symbol, s = f === !0 ? "".concat(a, "-").concat(h.cssPrefix, "-").concat(e) : f;
|
|
1529
1529
|
return [{
|
|
1530
1530
|
tag: "svg",
|
|
1531
1531
|
attributes: {
|
|
@@ -1541,55 +1541,55 @@ function yi(c) {
|
|
|
1541
1541
|
}];
|
|
1542
1542
|
}
|
|
1543
1543
|
function T2(c) {
|
|
1544
|
-
var a = c.icons, e = a.main, r = a.mask, i = c.prefix, f = c.iconName, s = c.transform, l = c.symbol, n = c.title,
|
|
1545
|
-
return
|
|
1544
|
+
var a = c.icons, e = a.main, r = a.mask, i = c.prefix, f = c.iconName, s = c.transform, l = c.symbol, n = c.title, t = c.maskId, o = c.titleId, m = c.extra, H = c.watchable, M = H === void 0 ? !1 : H, x = r.found ? r : e, g = x.width, N = x.height, V = i === "fak", z = [h.replacementClass, f ? "".concat(h.cssPrefix, "-").concat(f) : ""].filter(function(F) {
|
|
1545
|
+
return m.classes.indexOf(F) === -1;
|
|
1546
1546
|
}).filter(function(F) {
|
|
1547
1547
|
return F !== "" || !!F;
|
|
1548
|
-
}).concat(
|
|
1548
|
+
}).concat(m.classes).join(" "), C = {
|
|
1549
1549
|
children: [],
|
|
1550
|
-
attributes: v(v({},
|
|
1550
|
+
attributes: v(v({}, m.attributes), {}, {
|
|
1551
1551
|
"data-prefix": i,
|
|
1552
1552
|
"data-icon": f,
|
|
1553
1553
|
class: z,
|
|
1554
|
-
role:
|
|
1554
|
+
role: m.attributes.role || "img",
|
|
1555
1555
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1556
|
-
viewBox: "0 0 ".concat(
|
|
1556
|
+
viewBox: "0 0 ".concat(g, " ").concat(N)
|
|
1557
1557
|
})
|
|
1558
|
-
}, p =
|
|
1559
|
-
width: "".concat(
|
|
1558
|
+
}, p = V && !~m.classes.indexOf("fa-fw") ? {
|
|
1559
|
+
width: "".concat(g / N * 16 * 0.0625, "em")
|
|
1560
1560
|
} : {};
|
|
1561
|
-
|
|
1561
|
+
M && (C.attributes[Y] = ""), n && (C.children.push({
|
|
1562
1562
|
tag: "title",
|
|
1563
1563
|
attributes: {
|
|
1564
|
-
id:
|
|
1564
|
+
id: C.attributes["aria-labelledby"] || "title-".concat(o || z1())
|
|
1565
1565
|
},
|
|
1566
1566
|
children: [n]
|
|
1567
|
-
}), delete
|
|
1568
|
-
var
|
|
1567
|
+
}), delete C.attributes.title);
|
|
1568
|
+
var u = v(v({}, C), {}, {
|
|
1569
1569
|
prefix: i,
|
|
1570
1570
|
iconName: f,
|
|
1571
1571
|
main: e,
|
|
1572
1572
|
mask: r,
|
|
1573
|
-
maskId:
|
|
1573
|
+
maskId: t,
|
|
1574
1574
|
transform: s,
|
|
1575
1575
|
symbol: l,
|
|
1576
|
-
styles: v(v({}, p),
|
|
1577
|
-
}), k = r.found && e.found ? U("generateAbstractMask",
|
|
1576
|
+
styles: v(v({}, p), m.styles)
|
|
1577
|
+
}), k = r.found && e.found ? U("generateAbstractMask", u) || {
|
|
1578
1578
|
children: [],
|
|
1579
1579
|
attributes: {}
|
|
1580
|
-
} : U("generateAbstractIcon",
|
|
1580
|
+
} : U("generateAbstractIcon", u) || {
|
|
1581
1581
|
children: [],
|
|
1582
1582
|
attributes: {}
|
|
1583
1583
|
}, w = k.children, D = k.attributes;
|
|
1584
|
-
return
|
|
1584
|
+
return u.children = w, u.attributes = D, l ? yi(u) : Ai(u);
|
|
1585
1585
|
}
|
|
1586
1586
|
function Q3(c) {
|
|
1587
|
-
var a = c.content, e = c.width, r = c.height, i = c.transform, f = c.title, s = c.extra, l = c.watchable, n = l === void 0 ? !1 : l,
|
|
1587
|
+
var a = c.content, e = c.width, r = c.height, i = c.transform, f = c.title, s = c.extra, l = c.watchable, n = l === void 0 ? !1 : l, t = v(v(v({}, s.attributes), f ? {
|
|
1588
1588
|
title: f
|
|
1589
1589
|
} : {}), {}, {
|
|
1590
1590
|
class: s.classes.join(" ")
|
|
1591
1591
|
});
|
|
1592
|
-
n && (
|
|
1592
|
+
n && (t[Y] = "");
|
|
1593
1593
|
var o = v({}, s.styles);
|
|
1594
1594
|
A2(i) && (o.transform = ni({
|
|
1595
1595
|
transform: i,
|
|
@@ -1597,20 +1597,20 @@ function Q3(c) {
|
|
|
1597
1597
|
width: e,
|
|
1598
1598
|
height: r
|
|
1599
1599
|
}), o["-webkit-transform"] = o.transform);
|
|
1600
|
-
var
|
|
1601
|
-
|
|
1602
|
-
var
|
|
1603
|
-
return
|
|
1600
|
+
var m = R1(o);
|
|
1601
|
+
m.length > 0 && (t.style = m);
|
|
1602
|
+
var H = [];
|
|
1603
|
+
return H.push({
|
|
1604
1604
|
tag: "span",
|
|
1605
|
-
attributes:
|
|
1605
|
+
attributes: t,
|
|
1606
1606
|
children: [a]
|
|
1607
|
-
}), f &&
|
|
1607
|
+
}), f && H.push({
|
|
1608
1608
|
tag: "span",
|
|
1609
1609
|
attributes: {
|
|
1610
1610
|
class: "sr-only"
|
|
1611
1611
|
},
|
|
1612
1612
|
children: [f]
|
|
1613
|
-
}),
|
|
1613
|
+
}), H;
|
|
1614
1614
|
}
|
|
1615
1615
|
function Pi(c) {
|
|
1616
1616
|
var a = c.content, e = c.title, r = c.extra, i = v(v(v({}, r.attributes), e ? {
|
|
@@ -1638,19 +1638,19 @@ function C2(c) {
|
|
|
1638
1638
|
return Array.isArray(f) ? s = {
|
|
1639
1639
|
tag: "g",
|
|
1640
1640
|
attributes: {
|
|
1641
|
-
class: "".concat(
|
|
1641
|
+
class: "".concat(h.cssPrefix, "-").concat(_.GROUP)
|
|
1642
1642
|
},
|
|
1643
1643
|
children: [{
|
|
1644
1644
|
tag: "path",
|
|
1645
1645
|
attributes: {
|
|
1646
|
-
class: "".concat(
|
|
1646
|
+
class: "".concat(h.cssPrefix, "-").concat(_.SECONDARY),
|
|
1647
1647
|
fill: "currentColor",
|
|
1648
1648
|
d: f[0]
|
|
1649
1649
|
}
|
|
1650
1650
|
}, {
|
|
1651
1651
|
tag: "path",
|
|
1652
1652
|
attributes: {
|
|
1653
|
-
class: "".concat(
|
|
1653
|
+
class: "".concat(h.cssPrefix, "-").concat(_.PRIMARY),
|
|
1654
1654
|
fill: "currentColor",
|
|
1655
1655
|
d: f[1]
|
|
1656
1656
|
}
|
|
@@ -1674,11 +1674,11 @@ var Fi = {
|
|
|
1674
1674
|
height: 512
|
|
1675
1675
|
};
|
|
1676
1676
|
function Ti(c, a) {
|
|
1677
|
-
!d4 && !
|
|
1677
|
+
!d4 && !h.showMissingIcons && c && console.error('Icon with name "'.concat(c, '" and prefix "').concat(a, '" is missing.'));
|
|
1678
1678
|
}
|
|
1679
1679
|
function p2(c, a) {
|
|
1680
1680
|
var e = a;
|
|
1681
|
-
return a === "fa" &&
|
|
1681
|
+
return a === "fa" && h.styleDefault !== null && (a = I()), new Promise(function(r, i) {
|
|
1682
1682
|
if (U("missingIconAbstract"), e === "fa") {
|
|
1683
1683
|
var f = B4(c) || {};
|
|
1684
1684
|
c = f.iconName || c, a = f.prefix || a;
|
|
@@ -1688,12 +1688,12 @@ function p2(c, a) {
|
|
|
1688
1688
|
return r(C2(s));
|
|
1689
1689
|
}
|
|
1690
1690
|
Ti(c, a), r(v(v({}, Fi), {}, {
|
|
1691
|
-
icon:
|
|
1691
|
+
icon: h.showMissingIcons && c ? U("missingIconAbstract") || {} : {}
|
|
1692
1692
|
}));
|
|
1693
1693
|
});
|
|
1694
1694
|
}
|
|
1695
1695
|
var J3 = function() {
|
|
1696
|
-
}, u2 =
|
|
1696
|
+
}, u2 = h.measurePerformance && d1 && d1.mark && d1.measure ? d1 : {
|
|
1697
1697
|
mark: J3,
|
|
1698
1698
|
measure: J3
|
|
1699
1699
|
}, i1 = 'FA "6.5.1"', Bi = function(a) {
|
|
@@ -1716,24 +1716,24 @@ function qi(c) {
|
|
|
1716
1716
|
return a && e;
|
|
1717
1717
|
}
|
|
1718
1718
|
function Di(c) {
|
|
1719
|
-
return c && c.classList && c.classList.contains && c.classList.contains(
|
|
1719
|
+
return c && c.classList && c.classList.contains && c.classList.contains(h.replacementClass);
|
|
1720
1720
|
}
|
|
1721
1721
|
function Ri() {
|
|
1722
|
-
if (
|
|
1722
|
+
if (h.autoReplaceSvg === !0)
|
|
1723
1723
|
return P1.replace;
|
|
1724
|
-
var c = P1[
|
|
1724
|
+
var c = P1[h.autoReplaceSvg];
|
|
1725
1725
|
return c || P1.replace;
|
|
1726
1726
|
}
|
|
1727
1727
|
function Ei(c) {
|
|
1728
|
-
return
|
|
1728
|
+
return d.createElementNS("http://www.w3.org/2000/svg", c);
|
|
1729
1729
|
}
|
|
1730
1730
|
function Ui(c) {
|
|
1731
|
-
return
|
|
1731
|
+
return d.createElement(c);
|
|
1732
1732
|
}
|
|
1733
1733
|
function R4(c) {
|
|
1734
1734
|
var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, e = a.ceFn, r = e === void 0 ? c.tag === "svg" ? Ei : Ui : e;
|
|
1735
1735
|
if (typeof c == "string")
|
|
1736
|
-
return
|
|
1736
|
+
return d.createTextNode(c);
|
|
1737
1737
|
var i = r(c.tag);
|
|
1738
1738
|
Object.keys(c.attributes || []).forEach(function(s) {
|
|
1739
1739
|
i.setAttribute(s, c.attributes[s]);
|
|
@@ -1755,20 +1755,20 @@ var P1 = {
|
|
|
1755
1755
|
if (e.parentNode)
|
|
1756
1756
|
if (a[1].forEach(function(i) {
|
|
1757
1757
|
e.parentNode.insertBefore(R4(i), e);
|
|
1758
|
-
}), e.getAttribute(Y) === null &&
|
|
1759
|
-
var r =
|
|
1758
|
+
}), e.getAttribute(Y) === null && h.keepOriginalSource) {
|
|
1759
|
+
var r = d.createComment(Gi(e));
|
|
1760
1760
|
e.parentNode.replaceChild(r, e);
|
|
1761
1761
|
} else
|
|
1762
1762
|
e.remove();
|
|
1763
1763
|
},
|
|
1764
1764
|
nest: function(a) {
|
|
1765
1765
|
var e = a[0], r = a[1];
|
|
1766
|
-
if (~w2(e).indexOf(
|
|
1766
|
+
if (~w2(e).indexOf(h.replacementClass))
|
|
1767
1767
|
return P1.replace(a);
|
|
1768
|
-
var i = new RegExp("".concat(
|
|
1768
|
+
var i = new RegExp("".concat(h.cssPrefix, "-.*"));
|
|
1769
1769
|
if (delete r[0].attributes.id, r[0].attributes.class) {
|
|
1770
1770
|
var f = r[0].attributes.class.split(" ").reduce(function(l, n) {
|
|
1771
|
-
return n ===
|
|
1771
|
+
return n === h.replacementClass || n.match(i) ? l.toSvg.push(n) : l.toNode.push(n), l;
|
|
1772
1772
|
}, {
|
|
1773
1773
|
toNode: [],
|
|
1774
1774
|
toSvg: []
|
|
@@ -1791,7 +1791,7 @@ function E4(c, a) {
|
|
|
1791
1791
|
e();
|
|
1792
1792
|
else {
|
|
1793
1793
|
var r = a4;
|
|
1794
|
-
|
|
1794
|
+
h.mutateApproach === Ir && (r = W.requestAnimationFrame || a4), r(function() {
|
|
1795
1795
|
var i = Ri(), f = B2.begin("mutate");
|
|
1796
1796
|
c.map(i), f(), e();
|
|
1797
1797
|
});
|
|
@@ -1806,18 +1806,18 @@ function L2() {
|
|
|
1806
1806
|
}
|
|
1807
1807
|
var B1 = null;
|
|
1808
1808
|
function e4(c) {
|
|
1809
|
-
if (I3 &&
|
|
1810
|
-
var a = c.treeCallback, e = a === void 0 ? y1 : a, r = c.nodeCallback, i = r === void 0 ? y1 : r, f = c.pseudoElementsCallback, s = f === void 0 ? y1 : f, l = c.observeMutationsRoot, n = l === void 0 ?
|
|
1811
|
-
B1 = new I3(function(
|
|
1809
|
+
if (I3 && h.observeMutations) {
|
|
1810
|
+
var a = c.treeCallback, e = a === void 0 ? y1 : a, r = c.nodeCallback, i = r === void 0 ? y1 : r, f = c.pseudoElementsCallback, s = f === void 0 ? y1 : f, l = c.observeMutationsRoot, n = l === void 0 ? d : l;
|
|
1811
|
+
B1 = new I3(function(t) {
|
|
1812
1812
|
if (!q2) {
|
|
1813
1813
|
var o = I();
|
|
1814
|
-
e1(
|
|
1815
|
-
if (
|
|
1816
|
-
if (
|
|
1817
|
-
var
|
|
1818
|
-
|
|
1814
|
+
e1(t).forEach(function(m) {
|
|
1815
|
+
if (m.type === "childList" && m.addedNodes.length > 0 && !c4(m.addedNodes[0]) && (h.searchPseudoElements && s(m.target), e(m.target)), m.type === "attributes" && m.target.parentNode && h.searchPseudoElements && s(m.target.parentNode), m.type === "attributes" && c4(m.target) && ~Qr.indexOf(m.attributeName))
|
|
1816
|
+
if (m.attributeName === "class" && qi(m.target)) {
|
|
1817
|
+
var H = U1(w2(m.target)), M = H.prefix, x = H.iconName;
|
|
1818
|
+
m.target.setAttribute(N2, M || o), x && m.target.setAttribute(S2, x);
|
|
1819
1819
|
} else
|
|
1820
|
-
Di(
|
|
1820
|
+
Di(m.target) && i(m.target);
|
|
1821
1821
|
});
|
|
1822
1822
|
}
|
|
1823
1823
|
}), G && B1.observe(n, {
|
|
@@ -1840,13 +1840,13 @@ function $i(c) {
|
|
|
1840
1840
|
}
|
|
1841
1841
|
function Wi(c) {
|
|
1842
1842
|
var a = c.getAttribute("data-prefix"), e = c.getAttribute("data-icon"), r = c.innerText !== void 0 ? c.innerText.trim() : "", i = U1(w2(c));
|
|
1843
|
-
return i.prefix || (i.prefix = I()), a && e && (i.prefix = a, i.iconName = e), i.iconName && i.prefix || (i.prefix && r.length > 0 && (i.iconName = Li(i.prefix, c.innerText) || P2(i.prefix, H2(c.innerText))), !i.iconName &&
|
|
1843
|
+
return i.prefix || (i.prefix = I()), a && e && (i.prefix = a, i.iconName = e), i.iconName && i.prefix || (i.prefix && r.length > 0 && (i.iconName = Li(i.prefix, c.innerText) || P2(i.prefix, H2(c.innerText))), !i.iconName && h.autoFetchSvg && c.firstChild && c.firstChild.nodeType === Node.TEXT_NODE && (i.iconName = c.firstChild.data)), i;
|
|
1844
1844
|
}
|
|
1845
1845
|
function Ii(c) {
|
|
1846
1846
|
var a = e1(c.attributes).reduce(function(i, f) {
|
|
1847
1847
|
return i.name !== "class" && i.name !== "style" && (i[f.name] = f.value), i;
|
|
1848
1848
|
}, {}), e = c.getAttribute("title"), r = c.getAttribute("data-fa-title-id");
|
|
1849
|
-
return
|
|
1849
|
+
return h.autoA11y && (e ? a["aria-labelledby"] = "".concat(h.replacementClass, "-title-").concat(r || z1()) : (a["aria-hidden"] = "true", a.focusable = "false")), a;
|
|
1850
1850
|
}
|
|
1851
1851
|
function Zi() {
|
|
1852
1852
|
return {
|
|
@@ -1895,7 +1895,7 @@ function r4(c) {
|
|
|
1895
1895
|
}
|
|
1896
1896
|
var _i = B.styles;
|
|
1897
1897
|
function G4(c) {
|
|
1898
|
-
var a =
|
|
1898
|
+
var a = h.autoReplaceSvg === "nest" ? r4(c, {
|
|
1899
1899
|
styleParser: !1
|
|
1900
1900
|
}) : r4(c);
|
|
1901
1901
|
return ~a.extra.classes.indexOf(g4) ? U("generateLayersText", c, a) : U("generateSvgReplacementMutation", c, a);
|
|
@@ -1904,18 +1904,18 @@ var Z = /* @__PURE__ */ new Set();
|
|
|
1904
1904
|
k2.map(function(c) {
|
|
1905
1905
|
Z.add("fa-".concat(c));
|
|
1906
1906
|
});
|
|
1907
|
-
Object.keys(n1[
|
|
1908
|
-
Object.keys(n1[
|
|
1907
|
+
Object.keys(n1[L]).map(Z.add.bind(Z));
|
|
1908
|
+
Object.keys(n1[b]).map(Z.add.bind(Z));
|
|
1909
1909
|
Z = v1(Z);
|
|
1910
1910
|
function i4(c) {
|
|
1911
1911
|
var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null;
|
|
1912
1912
|
if (!G)
|
|
1913
1913
|
return Promise.resolve();
|
|
1914
|
-
var e =
|
|
1915
|
-
return e.add("".concat(Z3, "-").concat(
|
|
1916
|
-
}, i = function(
|
|
1917
|
-
return e.remove("".concat(Z3, "-").concat(
|
|
1918
|
-
}, f =
|
|
1914
|
+
var e = d.documentElement.classList, r = function(m) {
|
|
1915
|
+
return e.add("".concat(Z3, "-").concat(m));
|
|
1916
|
+
}, i = function(m) {
|
|
1917
|
+
return e.remove("".concat(Z3, "-").concat(m));
|
|
1918
|
+
}, f = h.autoFetchSvg ? Z : k2.map(function(o) {
|
|
1919
1919
|
return "fa-".concat(o);
|
|
1920
1920
|
}).concat(Object.keys(_i));
|
|
1921
1921
|
f.includes("fa") || f.push("fa");
|
|
@@ -1933,22 +1933,22 @@ function i4(c) {
|
|
|
1933
1933
|
r("pending"), i("complete");
|
|
1934
1934
|
else
|
|
1935
1935
|
return Promise.resolve();
|
|
1936
|
-
var n = B2.begin("onTree"),
|
|
1936
|
+
var n = B2.begin("onTree"), t = l.reduce(function(o, m) {
|
|
1937
1937
|
try {
|
|
1938
|
-
var
|
|
1939
|
-
|
|
1940
|
-
} catch (
|
|
1941
|
-
d4 ||
|
|
1938
|
+
var H = G4(m);
|
|
1939
|
+
H && o.push(H);
|
|
1940
|
+
} catch (M) {
|
|
1941
|
+
d4 || M.name === "MissingIcon" && console.error(M);
|
|
1942
1942
|
}
|
|
1943
1943
|
return o;
|
|
1944
1944
|
}, []);
|
|
1945
|
-
return new Promise(function(o,
|
|
1946
|
-
Promise.all(
|
|
1947
|
-
E4(
|
|
1945
|
+
return new Promise(function(o, m) {
|
|
1946
|
+
Promise.all(t).then(function(H) {
|
|
1947
|
+
E4(H, function() {
|
|
1948
1948
|
r("active"), r("complete"), i("pending"), typeof a == "function" && a(), n(), o();
|
|
1949
1949
|
});
|
|
1950
|
-
}).catch(function(
|
|
1951
|
-
n(),
|
|
1950
|
+
}).catch(function(H) {
|
|
1951
|
+
n(), m(H);
|
|
1952
1952
|
});
|
|
1953
1953
|
});
|
|
1954
1954
|
}
|
|
@@ -1967,16 +1967,16 @@ function Yi(c) {
|
|
|
1967
1967
|
};
|
|
1968
1968
|
}
|
|
1969
1969
|
var Xi = function(a) {
|
|
1970
|
-
var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = e.transform, i = r === void 0 ? q : r, f = e.symbol, s = f === void 0 ? !1 : f, l = e.mask, n = l === void 0 ? null : l,
|
|
1970
|
+
var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = e.transform, i = r === void 0 ? q : r, f = e.symbol, s = f === void 0 ? !1 : f, l = e.mask, n = l === void 0 ? null : l, t = e.maskId, o = t === void 0 ? null : t, m = e.title, H = m === void 0 ? null : m, M = e.titleId, x = M === void 0 ? null : M, g = e.classes, N = g === void 0 ? [] : g, V = e.attributes, z = V === void 0 ? {} : V, C = e.styles, p = C === void 0 ? {} : C;
|
|
1971
1971
|
if (a) {
|
|
1972
|
-
var
|
|
1972
|
+
var u = a.prefix, k = a.iconName, w = a.icon;
|
|
1973
1973
|
return G1(v({
|
|
1974
1974
|
type: "icon"
|
|
1975
1975
|
}, a), function() {
|
|
1976
1976
|
return X("beforeDOMElementCreation", {
|
|
1977
1977
|
iconDefinition: a,
|
|
1978
1978
|
params: e
|
|
1979
|
-
}),
|
|
1979
|
+
}), h.autoA11y && (H ? z["aria-labelledby"] = "".concat(h.replacementClass, "-title-").concat(x || z1()) : (z["aria-hidden"] = "true", z.focusable = "false")), T2({
|
|
1980
1980
|
icons: {
|
|
1981
1981
|
main: C2(w),
|
|
1982
1982
|
mask: n ? C2(n.icon) : {
|
|
@@ -1986,17 +1986,17 @@ var Xi = function(a) {
|
|
|
1986
1986
|
icon: {}
|
|
1987
1987
|
}
|
|
1988
1988
|
},
|
|
1989
|
-
prefix:
|
|
1989
|
+
prefix: u,
|
|
1990
1990
|
iconName: k,
|
|
1991
1991
|
transform: v(v({}, q), i),
|
|
1992
1992
|
symbol: s,
|
|
1993
|
-
title:
|
|
1993
|
+
title: H,
|
|
1994
1994
|
maskId: o,
|
|
1995
|
-
titleId:
|
|
1995
|
+
titleId: x,
|
|
1996
1996
|
extra: {
|
|
1997
1997
|
attributes: z,
|
|
1998
1998
|
styles: p,
|
|
1999
|
-
classes:
|
|
1999
|
+
classes: N
|
|
2000
2000
|
}
|
|
2001
2001
|
});
|
|
2002
2002
|
});
|
|
@@ -2016,46 +2016,46 @@ var Xi = function(a) {
|
|
|
2016
2016
|
},
|
|
2017
2017
|
provides: function(a) {
|
|
2018
2018
|
a.i2svg = function(e) {
|
|
2019
|
-
var r = e.node, i = r === void 0 ?
|
|
2019
|
+
var r = e.node, i = r === void 0 ? d : r, f = e.callback, s = f === void 0 ? function() {
|
|
2020
2020
|
} : f;
|
|
2021
2021
|
return i4(i, s);
|
|
2022
2022
|
}, a.generateSvgReplacementMutation = function(e, r) {
|
|
2023
|
-
var i = r.iconName, f = r.title, s = r.titleId, l = r.prefix, n = r.transform,
|
|
2024
|
-
return new Promise(function(
|
|
2023
|
+
var i = r.iconName, f = r.title, s = r.titleId, l = r.prefix, n = r.transform, t = r.symbol, o = r.mask, m = r.maskId, H = r.extra;
|
|
2024
|
+
return new Promise(function(M, x) {
|
|
2025
2025
|
Promise.all([p2(i, l), o.iconName ? p2(o.iconName, o.prefix) : Promise.resolve({
|
|
2026
2026
|
found: !1,
|
|
2027
2027
|
width: 512,
|
|
2028
2028
|
height: 512,
|
|
2029
2029
|
icon: {}
|
|
2030
|
-
})]).then(function(
|
|
2031
|
-
var
|
|
2032
|
-
|
|
2030
|
+
})]).then(function(g) {
|
|
2031
|
+
var N = x2(g, 2), V = N[0], z = N[1];
|
|
2032
|
+
M([e, T2({
|
|
2033
2033
|
icons: {
|
|
2034
|
-
main:
|
|
2034
|
+
main: V,
|
|
2035
2035
|
mask: z
|
|
2036
2036
|
},
|
|
2037
2037
|
prefix: l,
|
|
2038
2038
|
iconName: i,
|
|
2039
2039
|
transform: n,
|
|
2040
|
-
symbol:
|
|
2041
|
-
maskId:
|
|
2040
|
+
symbol: t,
|
|
2041
|
+
maskId: m,
|
|
2042
2042
|
title: f,
|
|
2043
2043
|
titleId: s,
|
|
2044
|
-
extra:
|
|
2044
|
+
extra: H,
|
|
2045
2045
|
watchable: !0
|
|
2046
2046
|
})]);
|
|
2047
|
-
}).catch(
|
|
2047
|
+
}).catch(x);
|
|
2048
2048
|
});
|
|
2049
2049
|
}, a.generateAbstractIcon = function(e) {
|
|
2050
2050
|
var r = e.children, i = e.attributes, f = e.main, s = e.transform, l = e.styles, n = R1(l);
|
|
2051
2051
|
n.length > 0 && (i.style = n);
|
|
2052
|
-
var
|
|
2053
|
-
return A2(s) && (
|
|
2052
|
+
var t;
|
|
2053
|
+
return A2(s) && (t = U("generateAbstractTransformGrouping", {
|
|
2054
2054
|
main: f,
|
|
2055
2055
|
transform: s,
|
|
2056
2056
|
containerWidth: f.width,
|
|
2057
2057
|
iconWidth: f.width
|
|
2058
|
-
})), r.push(
|
|
2058
|
+
})), r.push(t || f.icon), {
|
|
2059
2059
|
children: r,
|
|
2060
2060
|
attributes: i
|
|
2061
2061
|
};
|
|
@@ -2081,7 +2081,7 @@ var Xi = function(a) {
|
|
|
2081
2081
|
}), [{
|
|
2082
2082
|
tag: "span",
|
|
2083
2083
|
attributes: {
|
|
2084
|
-
class: ["".concat(
|
|
2084
|
+
class: ["".concat(h.cssPrefix, "-layers")].concat(v1(f)).join(" ")
|
|
2085
2085
|
},
|
|
2086
2086
|
children: s
|
|
2087
2087
|
}];
|
|
@@ -2093,7 +2093,7 @@ var Xi = function(a) {
|
|
|
2093
2093
|
mixout: function() {
|
|
2094
2094
|
return {
|
|
2095
2095
|
counter: function(e) {
|
|
2096
|
-
var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, i = r.title, f = i === void 0 ? null : i, s = r.classes, l = s === void 0 ? [] : s, n = r.attributes,
|
|
2096
|
+
var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, i = r.title, f = i === void 0 ? null : i, s = r.classes, l = s === void 0 ? [] : s, n = r.attributes, t = n === void 0 ? {} : n, o = r.styles, m = o === void 0 ? {} : o;
|
|
2097
2097
|
return G1({
|
|
2098
2098
|
type: "counter",
|
|
2099
2099
|
content: e
|
|
@@ -2105,9 +2105,9 @@ var Xi = function(a) {
|
|
|
2105
2105
|
content: e.toString(),
|
|
2106
2106
|
title: f,
|
|
2107
2107
|
extra: {
|
|
2108
|
-
attributes:
|
|
2109
|
-
styles:
|
|
2110
|
-
classes: ["".concat(
|
|
2108
|
+
attributes: t,
|
|
2109
|
+
styles: m,
|
|
2110
|
+
classes: ["".concat(h.cssPrefix, "-layers-counter")].concat(v1(l))
|
|
2111
2111
|
}
|
|
2112
2112
|
});
|
|
2113
2113
|
});
|
|
@@ -2118,7 +2118,7 @@ var Xi = function(a) {
|
|
|
2118
2118
|
mixout: function() {
|
|
2119
2119
|
return {
|
|
2120
2120
|
text: function(e) {
|
|
2121
|
-
var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, i = r.transform, f = i === void 0 ? q : i, s = r.title, l = s === void 0 ? null : s, n = r.classes,
|
|
2121
|
+
var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, i = r.transform, f = i === void 0 ? q : i, s = r.title, l = s === void 0 ? null : s, n = r.classes, t = n === void 0 ? [] : n, o = r.attributes, m = o === void 0 ? {} : o, H = r.styles, M = H === void 0 ? {} : H;
|
|
2122
2122
|
return G1({
|
|
2123
2123
|
type: "text",
|
|
2124
2124
|
content: e
|
|
@@ -2131,9 +2131,9 @@ var Xi = function(a) {
|
|
|
2131
2131
|
transform: v(v({}, q), f),
|
|
2132
2132
|
title: l,
|
|
2133
2133
|
extra: {
|
|
2134
|
-
attributes:
|
|
2135
|
-
styles:
|
|
2136
|
-
classes: ["".concat(
|
|
2134
|
+
attributes: m,
|
|
2135
|
+
styles: M,
|
|
2136
|
+
classes: ["".concat(h.cssPrefix, "-layers-text")].concat(v1(t))
|
|
2137
2137
|
}
|
|
2138
2138
|
});
|
|
2139
2139
|
});
|
|
@@ -2144,10 +2144,10 @@ var Xi = function(a) {
|
|
|
2144
2144
|
a.generateLayersText = function(e, r) {
|
|
2145
2145
|
var i = r.title, f = r.transform, s = r.extra, l = null, n = null;
|
|
2146
2146
|
if (p4) {
|
|
2147
|
-
var
|
|
2148
|
-
l = o.width /
|
|
2147
|
+
var t = parseInt(getComputedStyle(e).fontSize, 10), o = e.getBoundingClientRect();
|
|
2148
|
+
l = o.width / t, n = o.height / t;
|
|
2149
2149
|
}
|
|
2150
|
-
return
|
|
2150
|
+
return h.autoA11y && !i && (s.attributes["aria-hidden"] = "true"), Promise.resolve([e, Q3({
|
|
2151
2151
|
content: e.innerHTML,
|
|
2152
2152
|
width: l,
|
|
2153
2153
|
height: n,
|
|
@@ -2173,29 +2173,29 @@ function s4(c, a) {
|
|
|
2173
2173
|
return r();
|
|
2174
2174
|
var f = e1(c.children), s = f.filter(function(w) {
|
|
2175
2175
|
return w.getAttribute(v2) === a;
|
|
2176
|
-
})[0], l = W.getComputedStyle(c, a), n = l.getPropertyValue("font-family").match(Yr),
|
|
2176
|
+
})[0], l = W.getComputedStyle(c, a), n = l.getPropertyValue("font-family").match(Yr), t = l.getPropertyValue("font-weight"), o = l.getPropertyValue("content");
|
|
2177
2177
|
if (s && !n)
|
|
2178
2178
|
return c.removeChild(s), r();
|
|
2179
2179
|
if (n && o !== "none" && o !== "") {
|
|
2180
|
-
var
|
|
2181
|
-
if (
|
|
2182
|
-
var p = di(
|
|
2183
|
-
p.iconName && p.prefix && (z = p.iconName,
|
|
2180
|
+
var m = l.getPropertyValue("content"), H = ~["Sharp"].indexOf(n[2]) ? b : L, M = ~["Solid", "Regular", "Light", "Thin", "Duotone", "Brands", "Kit"].indexOf(n[2]) ? o1[H][n[2].toLowerCase()] : Xr[H][t], x = ef(m), g = x.value, N = x.isSecondary, V = n[0].startsWith("FontAwesome"), z = P2(M, g), C = z;
|
|
2181
|
+
if (V) {
|
|
2182
|
+
var p = di(g);
|
|
2183
|
+
p.iconName && p.prefix && (z = p.iconName, M = p.prefix);
|
|
2184
2184
|
}
|
|
2185
|
-
if (z && !
|
|
2186
|
-
c.setAttribute(e,
|
|
2187
|
-
var
|
|
2188
|
-
k.attributes[v2] = a, p2(z,
|
|
2189
|
-
var D = T2(v(v({},
|
|
2185
|
+
if (z && !N && (!s || s.getAttribute(N2) !== M || s.getAttribute(S2) !== C)) {
|
|
2186
|
+
c.setAttribute(e, C), s && c.removeChild(s);
|
|
2187
|
+
var u = Zi(), k = u.extra;
|
|
2188
|
+
k.attributes[v2] = a, p2(z, M).then(function(w) {
|
|
2189
|
+
var D = T2(v(v({}, u), {}, {
|
|
2190
2190
|
icons: {
|
|
2191
2191
|
main: w,
|
|
2192
2192
|
mask: F2()
|
|
2193
2193
|
},
|
|
2194
|
-
prefix:
|
|
2195
|
-
iconName:
|
|
2194
|
+
prefix: M,
|
|
2195
|
+
iconName: C,
|
|
2196
2196
|
extra: k,
|
|
2197
2197
|
watchable: !0
|
|
2198
|
-
})), F =
|
|
2198
|
+
})), F = d.createElementNS("http://www.w3.org/2000/svg", "svg");
|
|
2199
2199
|
a === "::before" ? c.insertBefore(F, c.firstChild) : c.appendChild(F), F.outerHTML = D.map(function(gr) {
|
|
2200
2200
|
return h1(gr);
|
|
2201
2201
|
}).join(`
|
|
@@ -2234,8 +2234,8 @@ var sf = {
|
|
|
2234
2234
|
},
|
|
2235
2235
|
provides: function(a) {
|
|
2236
2236
|
a.pseudoElements2svg = function(e) {
|
|
2237
|
-
var r = e.node, i = r === void 0 ?
|
|
2238
|
-
|
|
2237
|
+
var r = e.node, i = r === void 0 ? d : r;
|
|
2238
|
+
h.searchPseudoElements && l4(i);
|
|
2239
2239
|
};
|
|
2240
2240
|
}
|
|
2241
2241
|
}, n4 = !1, lf = {
|
|
@@ -2328,25 +2328,25 @@ var sf = {
|
|
|
2328
2328
|
a.generateAbstractTransformGrouping = function(e) {
|
|
2329
2329
|
var r = e.main, i = e.transform, f = e.containerWidth, s = e.iconWidth, l = {
|
|
2330
2330
|
transform: "translate(".concat(f / 2, " 256)")
|
|
2331
|
-
}, n = "translate(".concat(i.x * 32, ", ").concat(i.y * 32, ") "),
|
|
2332
|
-
transform: "".concat(n, " ").concat(
|
|
2333
|
-
},
|
|
2331
|
+
}, n = "translate(".concat(i.x * 32, ", ").concat(i.y * 32, ") "), t = "scale(".concat(i.size / 16 * (i.flipX ? -1 : 1), ", ").concat(i.size / 16 * (i.flipY ? -1 : 1), ") "), o = "rotate(".concat(i.rotate, " 0 0)"), m = {
|
|
2332
|
+
transform: "".concat(n, " ").concat(t, " ").concat(o)
|
|
2333
|
+
}, H = {
|
|
2334
2334
|
transform: "translate(".concat(s / 2 * -1, " -256)")
|
|
2335
|
-
},
|
|
2335
|
+
}, M = {
|
|
2336
2336
|
outer: l,
|
|
2337
|
-
inner:
|
|
2338
|
-
path:
|
|
2337
|
+
inner: m,
|
|
2338
|
+
path: H
|
|
2339
2339
|
};
|
|
2340
2340
|
return {
|
|
2341
2341
|
tag: "g",
|
|
2342
|
-
attributes: v({},
|
|
2342
|
+
attributes: v({}, M.outer),
|
|
2343
2343
|
children: [{
|
|
2344
2344
|
tag: "g",
|
|
2345
|
-
attributes: v({},
|
|
2345
|
+
attributes: v({}, M.inner),
|
|
2346
2346
|
children: [{
|
|
2347
2347
|
tag: r.icon.tag,
|
|
2348
2348
|
children: r.icon.children,
|
|
2349
|
-
attributes: v(v({}, r.icon.attributes),
|
|
2349
|
+
attributes: v(v({}, r.icon.attributes), M.path)
|
|
2350
2350
|
}]
|
|
2351
2351
|
}]
|
|
2352
2352
|
};
|
|
@@ -2378,51 +2378,51 @@ var tf = {
|
|
|
2378
2378
|
},
|
|
2379
2379
|
provides: function(a) {
|
|
2380
2380
|
a.generateAbstractMask = function(e) {
|
|
2381
|
-
var r = e.children, i = e.attributes, f = e.main, s = e.mask, l = e.maskId, n = e.transform,
|
|
2381
|
+
var r = e.children, i = e.attributes, f = e.main, s = e.mask, l = e.maskId, n = e.transform, t = f.width, o = f.icon, m = s.width, H = s.icon, M = li({
|
|
2382
2382
|
transform: n,
|
|
2383
|
-
containerWidth:
|
|
2384
|
-
iconWidth:
|
|
2385
|
-
}),
|
|
2383
|
+
containerWidth: m,
|
|
2384
|
+
iconWidth: t
|
|
2385
|
+
}), x = {
|
|
2386
2386
|
tag: "rect",
|
|
2387
2387
|
attributes: v(v({}, o2), {}, {
|
|
2388
2388
|
fill: "white"
|
|
2389
2389
|
})
|
|
2390
|
-
},
|
|
2390
|
+
}, g = o.children ? {
|
|
2391
2391
|
children: o.children.map(t4)
|
|
2392
|
-
} : {},
|
|
2392
|
+
} : {}, N = {
|
|
2393
2393
|
tag: "g",
|
|
2394
|
-
attributes: v({},
|
|
2394
|
+
attributes: v({}, M.inner),
|
|
2395
2395
|
children: [t4(v({
|
|
2396
2396
|
tag: o.tag,
|
|
2397
|
-
attributes: v(v({}, o.attributes),
|
|
2398
|
-
},
|
|
2399
|
-
},
|
|
2397
|
+
attributes: v(v({}, o.attributes), M.path)
|
|
2398
|
+
}, g))]
|
|
2399
|
+
}, V = {
|
|
2400
2400
|
tag: "g",
|
|
2401
|
-
attributes: v({},
|
|
2402
|
-
children: [
|
|
2403
|
-
}, z = "mask-".concat(l || z1()),
|
|
2401
|
+
attributes: v({}, M.outer),
|
|
2402
|
+
children: [N]
|
|
2403
|
+
}, z = "mask-".concat(l || z1()), C = "clip-".concat(l || z1()), p = {
|
|
2404
2404
|
tag: "mask",
|
|
2405
2405
|
attributes: v(v({}, o2), {}, {
|
|
2406
2406
|
id: z,
|
|
2407
2407
|
maskUnits: "userSpaceOnUse",
|
|
2408
2408
|
maskContentUnits: "userSpaceOnUse"
|
|
2409
2409
|
}),
|
|
2410
|
-
children: [
|
|
2411
|
-
},
|
|
2410
|
+
children: [x, V]
|
|
2411
|
+
}, u = {
|
|
2412
2412
|
tag: "defs",
|
|
2413
2413
|
children: [{
|
|
2414
2414
|
tag: "clipPath",
|
|
2415
2415
|
attributes: {
|
|
2416
|
-
id:
|
|
2416
|
+
id: C
|
|
2417
2417
|
},
|
|
2418
|
-
children: of(
|
|
2418
|
+
children: of(H)
|
|
2419
2419
|
}, p]
|
|
2420
2420
|
};
|
|
2421
|
-
return r.push(
|
|
2421
|
+
return r.push(u, {
|
|
2422
2422
|
tag: "rect",
|
|
2423
2423
|
attributes: v({
|
|
2424
2424
|
fill: "currentColor",
|
|
2425
|
-
"clip-path": "url(#".concat(
|
|
2425
|
+
"clip-path": "url(#".concat(C, ")"),
|
|
2426
2426
|
mask: "url(#".concat(z, ")")
|
|
2427
2427
|
}, o2)
|
|
2428
2428
|
}), {
|
|
@@ -2633,70 +2633,70 @@ function gf(c) {
|
|
|
2633
2633
|
var xf = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, $4 = { exports: {} };
|
|
2634
2634
|
(function(c) {
|
|
2635
2635
|
(function(a) {
|
|
2636
|
-
var e = function(
|
|
2637
|
-
if (!
|
|
2636
|
+
var e = function(V, z, C) {
|
|
2637
|
+
if (!t(z) || m(z) || H(z) || M(z) || n(z))
|
|
2638
2638
|
return z;
|
|
2639
|
-
var p,
|
|
2639
|
+
var p, u = 0, k = 0;
|
|
2640
2640
|
if (o(z))
|
|
2641
|
-
for (p = [], k = z.length;
|
|
2642
|
-
p.push(e(
|
|
2641
|
+
for (p = [], k = z.length; u < k; u++)
|
|
2642
|
+
p.push(e(V, z[u], C));
|
|
2643
2643
|
else {
|
|
2644
2644
|
p = {};
|
|
2645
2645
|
for (var w in z)
|
|
2646
|
-
Object.prototype.hasOwnProperty.call(z, w) && (p[
|
|
2646
|
+
Object.prototype.hasOwnProperty.call(z, w) && (p[V(w, C)] = e(V, z[w], C));
|
|
2647
2647
|
}
|
|
2648
2648
|
return p;
|
|
2649
|
-
}, r = function(
|
|
2649
|
+
}, r = function(V, z) {
|
|
2650
2650
|
z = z || {};
|
|
2651
|
-
var
|
|
2652
|
-
return
|
|
2653
|
-
}, i = function(
|
|
2654
|
-
return
|
|
2655
|
-
return
|
|
2656
|
-
}),
|
|
2657
|
-
}, f = function(
|
|
2658
|
-
var z = i(
|
|
2651
|
+
var C = z.separator || "_", p = z.split || /(?=[A-Z])/;
|
|
2652
|
+
return V.split(p).join(C);
|
|
2653
|
+
}, i = function(V) {
|
|
2654
|
+
return x(V) ? V : (V = V.replace(/[\-_\s]+(.)?/g, function(z, C) {
|
|
2655
|
+
return C ? C.toUpperCase() : "";
|
|
2656
|
+
}), V.substr(0, 1).toLowerCase() + V.substr(1));
|
|
2657
|
+
}, f = function(V) {
|
|
2658
|
+
var z = i(V);
|
|
2659
2659
|
return z.substr(0, 1).toUpperCase() + z.substr(1);
|
|
2660
|
-
}, s = function(
|
|
2661
|
-
return r(
|
|
2662
|
-
}, l = Object.prototype.toString, n = function(
|
|
2663
|
-
return typeof
|
|
2664
|
-
},
|
|
2665
|
-
return
|
|
2666
|
-
}, o = function(
|
|
2667
|
-
return l.call(
|
|
2668
|
-
},
|
|
2669
|
-
return l.call(
|
|
2670
|
-
},
|
|
2671
|
-
return l.call(
|
|
2672
|
-
},
|
|
2673
|
-
return l.call(
|
|
2674
|
-
},
|
|
2675
|
-
return
|
|
2676
|
-
},
|
|
2677
|
-
var
|
|
2678
|
-
return typeof
|
|
2679
|
-
return
|
|
2660
|
+
}, s = function(V, z) {
|
|
2661
|
+
return r(V, z).toLowerCase();
|
|
2662
|
+
}, l = Object.prototype.toString, n = function(V) {
|
|
2663
|
+
return typeof V == "function";
|
|
2664
|
+
}, t = function(V) {
|
|
2665
|
+
return V === Object(V);
|
|
2666
|
+
}, o = function(V) {
|
|
2667
|
+
return l.call(V) == "[object Array]";
|
|
2668
|
+
}, m = function(V) {
|
|
2669
|
+
return l.call(V) == "[object Date]";
|
|
2670
|
+
}, H = function(V) {
|
|
2671
|
+
return l.call(V) == "[object RegExp]";
|
|
2672
|
+
}, M = function(V) {
|
|
2673
|
+
return l.call(V) == "[object Boolean]";
|
|
2674
|
+
}, x = function(V) {
|
|
2675
|
+
return V = V - 0, V === V;
|
|
2676
|
+
}, g = function(V, z) {
|
|
2677
|
+
var C = z && "process" in z ? z.process : z;
|
|
2678
|
+
return typeof C != "function" ? V : function(p, u) {
|
|
2679
|
+
return C(p, V, u);
|
|
2680
2680
|
};
|
|
2681
|
-
},
|
|
2681
|
+
}, N = {
|
|
2682
2682
|
camelize: i,
|
|
2683
2683
|
decamelize: s,
|
|
2684
2684
|
pascalize: f,
|
|
2685
2685
|
depascalize: s,
|
|
2686
|
-
camelizeKeys: function(
|
|
2687
|
-
return e(
|
|
2686
|
+
camelizeKeys: function(V, z) {
|
|
2687
|
+
return e(g(i, z), V);
|
|
2688
2688
|
},
|
|
2689
|
-
decamelizeKeys: function(
|
|
2690
|
-
return e(
|
|
2689
|
+
decamelizeKeys: function(V, z) {
|
|
2690
|
+
return e(g(s, z), V, z);
|
|
2691
2691
|
},
|
|
2692
|
-
pascalizeKeys: function(
|
|
2693
|
-
return e(
|
|
2692
|
+
pascalizeKeys: function(V, z) {
|
|
2693
|
+
return e(g(f, z), V);
|
|
2694
2694
|
},
|
|
2695
2695
|
depascalizeKeys: function() {
|
|
2696
2696
|
return this.decamelizeKeys.apply(this, arguments);
|
|
2697
2697
|
}
|
|
2698
2698
|
};
|
|
2699
|
-
c.exports ? c.exports =
|
|
2699
|
+
c.exports ? c.exports = N : a.humps = N;
|
|
2700
2700
|
})(xf);
|
|
2701
2701
|
})($4);
|
|
2702
2702
|
var bf = $4.exports, Nf = ["class", "style"];
|
|
@@ -2721,9 +2721,9 @@ function R2(c) {
|
|
|
2721
2721
|
return c;
|
|
2722
2722
|
var r = (c.children || []).map(function(n) {
|
|
2723
2723
|
return R2(n);
|
|
2724
|
-
}), i = Object.keys(c.attributes || {}).reduce(function(n,
|
|
2725
|
-
var o = c.attributes[
|
|
2726
|
-
switch (
|
|
2724
|
+
}), i = Object.keys(c.attributes || {}).reduce(function(n, t) {
|
|
2725
|
+
var o = c.attributes[t];
|
|
2726
|
+
switch (t) {
|
|
2727
2727
|
case "class":
|
|
2728
2728
|
n.class = kf(o);
|
|
2729
2729
|
break;
|
|
@@ -2731,7 +2731,7 @@ function R2(c) {
|
|
|
2731
2731
|
n.style = Sf(o);
|
|
2732
2732
|
break;
|
|
2733
2733
|
default:
|
|
2734
|
-
n.attrs[
|
|
2734
|
+
n.attrs[t] = o;
|
|
2735
2735
|
}
|
|
2736
2736
|
return n;
|
|
2737
2737
|
}, {
|
|
@@ -2941,11 +2941,11 @@ var yf = a1({
|
|
|
2941
2941
|
}, {
|
|
2942
2942
|
immediate: !0
|
|
2943
2943
|
});
|
|
2944
|
-
var
|
|
2944
|
+
var t = A(function() {
|
|
2945
2945
|
return n.value ? R2(n.value.abstract[0], {}, r) : null;
|
|
2946
2946
|
});
|
|
2947
2947
|
return function() {
|
|
2948
|
-
return
|
|
2948
|
+
return t.value;
|
|
2949
2949
|
};
|
|
2950
2950
|
}
|
|
2951
2951
|
});
|
|
@@ -2997,7 +2997,7 @@ a1({
|
|
|
2997
2997
|
}), s = A(function() {
|
|
2998
2998
|
return l1("transform", typeof a.transform == "string" ? q1.transform(a.transform) : a.transform);
|
|
2999
2999
|
}), l = A(function() {
|
|
3000
|
-
var
|
|
3000
|
+
var t = hf(a.value.toString(), T(T({}, s.value), f.value)), o = t.abstract;
|
|
3001
3001
|
return a.counter && (o[0].attributes.class = o[0].attributes.class.replace("fa-layers-text", "")), o[0];
|
|
3002
3002
|
}), n = A(function() {
|
|
3003
3003
|
return R2(l.value, {}, r);
|
|
@@ -13921,55 +13921,55 @@ var dr = { exports: {} };
|
|
|
13921
13921
|
c.exports = r();
|
|
13922
13922
|
})(MI, function() {
|
|
13923
13923
|
var e = "__v-click-outside", r = typeof window < "u", i = typeof navigator < "u", f = r && ("ontouchstart" in window || i && navigator.msMaxTouchPoints > 0) ? ["touchstart"] : ["click"], s = function(o) {
|
|
13924
|
-
var
|
|
13925
|
-
(0, o.middleware)(
|
|
13926
|
-
}, l = function(o,
|
|
13927
|
-
var
|
|
13928
|
-
var
|
|
13929
|
-
if (!
|
|
13924
|
+
var m = o.event, H = o.handler;
|
|
13925
|
+
(0, o.middleware)(m) && H(m);
|
|
13926
|
+
}, l = function(o, m) {
|
|
13927
|
+
var H = function(z) {
|
|
13928
|
+
var C = typeof z == "function";
|
|
13929
|
+
if (!C && typeof z != "object")
|
|
13930
13930
|
throw new Error("v-click-outside: Binding value must be a function or an object");
|
|
13931
|
-
return { handler:
|
|
13931
|
+
return { handler: C ? z : z.handler, middleware: z.middleware || function(p) {
|
|
13932
13932
|
return p;
|
|
13933
13933
|
}, events: z.events || f, isActive: z.isActive !== !1, detectIframe: z.detectIframe !== !1, capture: !!z.capture };
|
|
13934
|
-
}(
|
|
13935
|
-
if (
|
|
13936
|
-
if (o[e] =
|
|
13937
|
-
return { event: z, srcTarget: document.documentElement, handler: function(
|
|
13934
|
+
}(m.value), M = H.handler, x = H.middleware, g = H.detectIframe, N = H.capture;
|
|
13935
|
+
if (H.isActive) {
|
|
13936
|
+
if (o[e] = H.events.map(function(z) {
|
|
13937
|
+
return { event: z, srcTarget: document.documentElement, handler: function(C) {
|
|
13938
13938
|
return function(p) {
|
|
13939
|
-
var
|
|
13940
|
-
(F ? F.indexOf(
|
|
13941
|
-
}({ el: o, event:
|
|
13942
|
-
}, capture:
|
|
13943
|
-
}),
|
|
13944
|
-
var
|
|
13945
|
-
return function(
|
|
13946
|
-
var p =
|
|
13939
|
+
var u = p.el, k = p.event, w = p.handler, D = p.middleware, F = k.path || k.composedPath && k.composedPath();
|
|
13940
|
+
(F ? F.indexOf(u) < 0 : !u.contains(k.target)) && s({ event: k, handler: w, middleware: D });
|
|
13941
|
+
}({ el: o, event: C, handler: M, middleware: x });
|
|
13942
|
+
}, capture: N };
|
|
13943
|
+
}), g) {
|
|
13944
|
+
var V = { event: "blur", srcTarget: window, handler: function(z) {
|
|
13945
|
+
return function(C) {
|
|
13946
|
+
var p = C.el, u = C.event, k = C.handler, w = C.middleware;
|
|
13947
13947
|
setTimeout(function() {
|
|
13948
13948
|
var D = document.activeElement;
|
|
13949
|
-
D && D.tagName === "IFRAME" && !p.contains(D) && s({ event:
|
|
13949
|
+
D && D.tagName === "IFRAME" && !p.contains(D) && s({ event: u, handler: k, middleware: w });
|
|
13950
13950
|
}, 0);
|
|
13951
|
-
}({ el: o, event: z, handler:
|
|
13952
|
-
}, capture:
|
|
13953
|
-
o[e] = [].concat(o[e], [
|
|
13951
|
+
}({ el: o, event: z, handler: M, middleware: x });
|
|
13952
|
+
}, capture: N };
|
|
13953
|
+
o[e] = [].concat(o[e], [V]);
|
|
13954
13954
|
}
|
|
13955
13955
|
o[e].forEach(function(z) {
|
|
13956
|
-
var
|
|
13956
|
+
var C = z.event, p = z.srcTarget, u = z.handler;
|
|
13957
13957
|
return setTimeout(function() {
|
|
13958
|
-
o[e] && p.addEventListener(
|
|
13958
|
+
o[e] && p.addEventListener(C, u, N);
|
|
13959
13959
|
}, 0);
|
|
13960
13960
|
});
|
|
13961
13961
|
}
|
|
13962
13962
|
}, n = function(o) {
|
|
13963
|
-
(o[e] || []).forEach(function(
|
|
13964
|
-
return
|
|
13963
|
+
(o[e] || []).forEach(function(m) {
|
|
13964
|
+
return m.srcTarget.removeEventListener(m.event, m.handler, m.capture);
|
|
13965
13965
|
}), delete o[e];
|
|
13966
|
-
},
|
|
13967
|
-
var
|
|
13968
|
-
JSON.stringify(
|
|
13966
|
+
}, t = r ? { beforeMount: l, updated: function(o, m) {
|
|
13967
|
+
var H = m.value, M = m.oldValue;
|
|
13968
|
+
JSON.stringify(H) !== JSON.stringify(M) && (n(o), l(o, { value: H }));
|
|
13969
13969
|
}, unmounted: n } : {};
|
|
13970
13970
|
return { install: function(o) {
|
|
13971
|
-
o.directive("click-outside",
|
|
13972
|
-
}, directive:
|
|
13971
|
+
o.directive("click-outside", t);
|
|
13972
|
+
}, directive: t };
|
|
13973
13973
|
});
|
|
13974
13974
|
})(dr);
|
|
13975
13975
|
var pI = dr.exports;
|
|
@@ -13988,58 +13988,58 @@ const uI = /* @__PURE__ */ CI(pI), LI = { class: "select" }, dI = {
|
|
|
13988
13988
|
}),
|
|
13989
13989
|
emits: ["update:modelValue"],
|
|
13990
13990
|
setup(c) {
|
|
13991
|
-
Sr((
|
|
13992
|
-
"
|
|
13991
|
+
Sr((H) => ({
|
|
13992
|
+
"39c709e6": f.value
|
|
13993
13993
|
}));
|
|
13994
|
-
const a = kr(c, "modelValue"),
|
|
13995
|
-
function
|
|
13996
|
-
!
|
|
13994
|
+
const a = uI.directive, e = kr(c, "modelValue"), r = c, i = f2(), f = f2("0"), s = f2(!1), l = A(() => !!r.options.length), n = A(() => r.options.find((H) => H.id === e.value));
|
|
13995
|
+
function t() {
|
|
13996
|
+
!r.disabled && l.value && (s.value = !s.value);
|
|
13997
13997
|
}
|
|
13998
|
-
function
|
|
13999
|
-
|
|
13998
|
+
function o() {
|
|
13999
|
+
s.value = !1;
|
|
14000
14000
|
}
|
|
14001
|
-
function
|
|
14002
|
-
|
|
14001
|
+
function m(H) {
|
|
14002
|
+
e.value = H.id, s.value = !1;
|
|
14003
14003
|
}
|
|
14004
14004
|
return wr(() => {
|
|
14005
14005
|
new ResizeObserver(() => {
|
|
14006
|
-
|
|
14007
|
-
}).observe(
|
|
14008
|
-
}), (
|
|
14009
|
-
const
|
|
14006
|
+
i.value && (f.value = i.value.getBoundingClientRect().height + "px");
|
|
14007
|
+
}).observe(i.value);
|
|
14008
|
+
}), (H, M) => {
|
|
14009
|
+
const x = Ar("PgaIcon");
|
|
14010
14010
|
return yr(($(), r1("div", LI, [
|
|
14011
14011
|
Pr("div", {
|
|
14012
14012
|
ref_key: "inputRef",
|
|
14013
|
-
ref:
|
|
14014
|
-
class: D3(["select--input", { "select--input__disabled":
|
|
14015
|
-
onClick:
|
|
14013
|
+
ref: i,
|
|
14014
|
+
class: D3(["select--input", { "select--input__disabled": H.disabled, "select--input__dropdown-active": s.value }]),
|
|
14015
|
+
onClick: M[0] || (M[0] = (g) => t())
|
|
14016
14016
|
}, [
|
|
14017
|
-
!
|
|
14017
|
+
!l.value && H.emptyOptionsMsg ? ($(), t2(Lr, {
|
|
14018
14018
|
key: 0,
|
|
14019
14019
|
class: "select--input--empty-options-msg",
|
|
14020
|
-
text:
|
|
14020
|
+
text: H.emptyOptionsMsg
|
|
14021
14021
|
}, null, 8, ["text"])) : L1("", !0),
|
|
14022
|
-
|
|
14022
|
+
n.value ? R3(H.$slots, "dropdownOption", {
|
|
14023
14023
|
key: 1,
|
|
14024
|
-
option:
|
|
14024
|
+
option: n.value
|
|
14025
14025
|
}, void 0, !0) : L1("", !0),
|
|
14026
|
-
|
|
14026
|
+
l.value ? ($(), t2(x, {
|
|
14027
14027
|
key: 2,
|
|
14028
14028
|
class: "select--input--chevron-icon",
|
|
14029
14029
|
icon: "chevron-down"
|
|
14030
14030
|
})) : L1("", !0)
|
|
14031
14031
|
], 2),
|
|
14032
|
-
|
|
14033
|
-
($(!0), r1(Fr, null, Tr(
|
|
14034
|
-
class: D3(["select--dropdown--option", { "select--dropdown--option__selected":
|
|
14035
|
-
key:
|
|
14036
|
-
onClick: (
|
|
14032
|
+
s.value ? ($(), r1("ul", dI, [
|
|
14033
|
+
($(!0), r1(Fr, null, Tr(H.options, (g) => ($(), r1("li", {
|
|
14034
|
+
class: D3(["select--dropdown--option", { "select--dropdown--option__selected": g.id === e.value }]),
|
|
14035
|
+
key: g.id,
|
|
14036
|
+
onClick: (N) => m(g)
|
|
14037
14037
|
}, [
|
|
14038
|
-
R3(
|
|
14038
|
+
R3(H.$slots, "dropdownOption", { option: g }, void 0, !0)
|
|
14039
14039
|
], 10, gI))), 128))
|
|
14040
14040
|
])) : L1("", !0)
|
|
14041
14041
|
])), [
|
|
14042
|
-
[H4(
|
|
14042
|
+
[H4(a), o]
|
|
14043
14043
|
]);
|
|
14044
14044
|
};
|
|
14045
14045
|
}
|
|
@@ -14049,7 +14049,7 @@ const bI = (c, a) => {
|
|
|
14049
14049
|
for (const [r, i] of a)
|
|
14050
14050
|
e[r] = i;
|
|
14051
14051
|
return e;
|
|
14052
|
-
}, NI = /* @__PURE__ */ bI(xI, [["__scopeId", "data-v-
|
|
14052
|
+
}, NI = /* @__PURE__ */ bI(xI, [["__scopeId", "data-v-cffe3f8e"]]), SI = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
14053
14053
|
__proto__: null,
|
|
14054
14054
|
PgaDisplayText: Lr,
|
|
14055
14055
|
PgaIcon: hI,
|