Release 5.11.0 (#1436)
This commit is contained in:
155
js/fontawesome.min.js
vendored
155
js/fontawesome.min.js
vendored
@@ -1,24 +1,24 @@
|
||||
/*!
|
||||
* Font Awesome Pro 5.10.2 by @fontawesome - https://fontawesome.com
|
||||
* Font Awesome Pro 5.11.0 by @fontawesome - https://fontawesome.com
|
||||
* License - https://fontawesome.com/license (Commercial License)
|
||||
*/
|
||||
!function() {
|
||||
"use strict";
|
||||
function r(t) {
|
||||
return (r = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(t) {
|
||||
function i(t) {
|
||||
return (i = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(t) {
|
||||
return typeof t;
|
||||
} : function(t) {
|
||||
return t && "function" == typeof Symbol && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
|
||||
})(t);
|
||||
}
|
||||
function i(t, n) {
|
||||
function r(t, n) {
|
||||
for (var e = 0; e < n.length; e++) {
|
||||
var a = n[e];
|
||||
a.enumerable = a.enumerable || !1, a.configurable = !0, "value" in a && (a.writable = !0),
|
||||
Object.defineProperty(t, a.key, a);
|
||||
}
|
||||
}
|
||||
function G(r) {
|
||||
function K(r) {
|
||||
for (var t = 1; t < arguments.length; t++) {
|
||||
var i = null != arguments[t] ? arguments[t] : {}, n = Object.keys(i);
|
||||
"function" == typeof Object.getOwnPropertySymbols && (n = n.concat(Object.getOwnPropertySymbols(i).filter(function(t) {
|
||||
@@ -77,7 +77,7 @@
|
||||
"undefined" != typeof window && (n = window), "undefined" != typeof document && (e = document),
|
||||
"undefined" != typeof MutationObserver && (a = MutationObserver), "undefined" != typeof performance && (o = performance);
|
||||
} catch (t) {}
|
||||
var c = (n.navigator || {}).userAgent, s = void 0 === c ? "" : c, g = n, v = e, l = a, f = o, u = !!g.document, p = !!v.documentElement && !!v.head && "function" == typeof v.addEventListener && "function" == typeof v.createElement, k = ~s.indexOf("MSIE") || ~s.indexOf("Trident/"), h = "___FONT_AWESOME___", A = 16, b = "fa", y = "svg-inline--fa", K = "data-fa-i2svg", w = "data-fa-pseudo-element", x = "data-fa-pseudo-element-pending", C = "data-prefix", M = "data-icon", O = "fontawesome-i2svg", S = "async", P = [ "HTML", "HEAD", "STYLE", "SCRIPT" ], N = function() {
|
||||
var c = (n.navigator || {}).userAgent, s = void 0 === c ? "" : c, g = n, v = e, l = a, f = o, u = !!g.document, p = !!v.documentElement && !!v.head && "function" == typeof v.addEventListener && "function" == typeof v.createElement, k = ~s.indexOf("MSIE") || ~s.indexOf("Trident/"), h = "___FONT_AWESOME___", A = 16, b = "fa", y = "svg-inline--fa", G = "data-fa-i2svg", w = "data-fa-pseudo-element", x = "data-fa-pseudo-element-pending", C = "data-prefix", M = "data-icon", O = "fontawesome-i2svg", S = "async", P = [ "HTML", "HEAD", "STYLE", "SCRIPT" ], N = function() {
|
||||
try {
|
||||
return !1;
|
||||
} catch (t) {
|
||||
@@ -110,17 +110,17 @@
|
||||
return "".concat(t, "x");
|
||||
})).concat(_.map(function(t) {
|
||||
return "w-".concat(t);
|
||||
})), H = g.FontAwesomeConfig || {};
|
||||
})), F = g.FontAwesomeConfig || {};
|
||||
if (v && "function" == typeof v.querySelector) {
|
||||
[ [ "data-family-prefix", "familyPrefix" ], [ "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(function(t) {
|
||||
var n, e = m(t, 2), a = e[0], r = e[1], i = "" === (n = function(t) {
|
||||
var n = v.querySelector("script[" + t + "]");
|
||||
if (n) return n.getAttribute(t);
|
||||
}(a)) || "false" !== n && ("true" === n || n);
|
||||
null != i && (H[r] = i);
|
||||
null != i && (F[r] = i);
|
||||
});
|
||||
}
|
||||
var F = G({}, {
|
||||
var H = K({}, {
|
||||
familyPrefix: b,
|
||||
replacementClass: y,
|
||||
autoReplaceSvg: !0,
|
||||
@@ -132,9 +132,9 @@
|
||||
keepOriginalSource: !0,
|
||||
measurePerformance: !1,
|
||||
showMissingIcons: !0
|
||||
}, H);
|
||||
F.autoReplaceSvg || (F.observeMutations = !1);
|
||||
var J = G({}, F);
|
||||
}, F);
|
||||
H.autoReplaceSvg || (H.observeMutations = !1);
|
||||
var J = K({}, H);
|
||||
g.FontAwesomeConfig = J;
|
||||
var X = g || {};
|
||||
X[h] || (X[h] = {}), X[h].styles || (X[h].styles = {}), X[h].hooks || (X[h].hooks = {}),
|
||||
@@ -172,7 +172,7 @@
|
||||
var a;
|
||||
try {
|
||||
if (n === e) throw new TypeError("A promises callback cannot return that same promise.");
|
||||
if (e && ("function" == typeof e || "object" === r(e))) {
|
||||
if (e && ("function" == typeof e || "object" === i(e))) {
|
||||
var t = e.then;
|
||||
if ("function" == typeof t) return t.call(e, function(t) {
|
||||
a || (a = !0, e === t ? ft(n, t) : lt(n, t));
|
||||
@@ -259,7 +259,7 @@
|
||||
for (var e, a = 0; a < r.length; a++) (e = r[a]) && "function" == typeof e.then ? e.then(t, n) : t(e);
|
||||
});
|
||||
}, gt.resolve = function(n) {
|
||||
return n && "object" === r(n) && n.constructor === gt ? n : new gt(function(t) {
|
||||
return n && "object" === i(n) && n.constructor === gt ? n : new gt(function(t) {
|
||||
t(n);
|
||||
});
|
||||
}, gt.reject = function(e) {
|
||||
@@ -345,7 +345,7 @@
|
||||
return -1 === l.classes.indexOf(t);
|
||||
}).concat(l.classes).join(" "), v = {
|
||||
children: [],
|
||||
attributes: G({}, l.attributes, {
|
||||
attributes: K({}, l.attributes, {
|
||||
"data-prefix": r,
|
||||
"data-icon": i,
|
||||
class: g,
|
||||
@@ -354,14 +354,14 @@
|
||||
viewBox: "0 0 ".concat(d, " ").concat(p)
|
||||
})
|
||||
};
|
||||
u && (v.attributes[K] = ""), s && v.children.push({
|
||||
u && (v.attributes[G] = ""), s && v.children.push({
|
||||
tag: "title",
|
||||
attributes: {
|
||||
id: v.attributes["aria-labelledby"] || "title-".concat(kt())
|
||||
},
|
||||
children: [ s ]
|
||||
});
|
||||
var b, y, w, x, k, A, C, M, O, S, P, N, z, E, j, L, R, T, _, I, D, Y, H, F, X, B, U = G({}, v, {
|
||||
var b, y, w, x, k, A, C, M, O, S, P, N, z, E, j, L, R, T, _, I, D, Y, F, H, X, B, U = K({}, v, {
|
||||
prefix: r,
|
||||
iconName: i,
|
||||
main: e,
|
||||
@@ -376,25 +376,25 @@
|
||||
iconWidth: M
|
||||
}), z = {
|
||||
tag: "rect",
|
||||
attributes: G({}, zt, {
|
||||
attributes: K({}, zt, {
|
||||
fill: "white"
|
||||
})
|
||||
}, E = O.children ? {
|
||||
children: O.children.map(Et)
|
||||
} : {}, j = {
|
||||
tag: "g",
|
||||
attributes: G({}, N.inner),
|
||||
children: [ Et(G({
|
||||
attributes: K({}, N.inner),
|
||||
children: [ Et(K({
|
||||
tag: O.tag,
|
||||
attributes: G({}, O.attributes, N.path)
|
||||
attributes: K({}, O.attributes, N.path)
|
||||
}, E)) ]
|
||||
}, L = {
|
||||
tag: "g",
|
||||
attributes: G({}, N.outer),
|
||||
attributes: K({}, N.outer),
|
||||
children: [ j ]
|
||||
}, R = "mask-".concat(kt()), T = "clip-".concat(kt()), _ = {
|
||||
tag: "mask",
|
||||
attributes: G({}, zt, {
|
||||
attributes: K({}, zt, {
|
||||
id: R,
|
||||
maskUnits: "userSpaceOnUse",
|
||||
maskContentUnits: "userSpaceOnUse"
|
||||
@@ -411,7 +411,7 @@
|
||||
}, _ ]
|
||||
}, w.push(I, {
|
||||
tag: "rect",
|
||||
attributes: G({
|
||||
attributes: K({
|
||||
fill: "currentColor",
|
||||
"clip-path": "url(#".concat(T, ")"),
|
||||
mask: "url(#".concat(R, ")")
|
||||
@@ -429,14 +429,14 @@
|
||||
});
|
||||
n.push({
|
||||
tag: "g",
|
||||
attributes: G({}, o.outer),
|
||||
attributes: K({}, o.outer),
|
||||
children: [ {
|
||||
tag: "g",
|
||||
attributes: G({}, o.inner),
|
||||
attributes: K({}, o.inner),
|
||||
children: [ {
|
||||
tag: a.icon.tag,
|
||||
children: a.icon.children,
|
||||
attributes: G({}, a.icon.attributes, o.path)
|
||||
attributes: K({}, a.icon.attributes, o.path)
|
||||
} ]
|
||||
} ]
|
||||
});
|
||||
@@ -446,24 +446,24 @@
|
||||
attributes: e
|
||||
};
|
||||
}(U), q = W.children, V = W.attributes;
|
||||
return U.children = q, U.attributes = V, c ? (Y = (D = U).prefix, H = D.iconName,
|
||||
F = D.children, X = D.attributes, B = D.symbol, [ {
|
||||
return U.children = q, U.attributes = V, c ? (Y = (D = U).prefix, F = D.iconName,
|
||||
H = D.children, X = D.attributes, B = D.symbol, [ {
|
||||
tag: "svg",
|
||||
attributes: {
|
||||
style: "display: none;"
|
||||
},
|
||||
children: [ {
|
||||
tag: "symbol",
|
||||
attributes: G({}, X, {
|
||||
id: !0 === B ? "".concat(Y, "-").concat(J.familyPrefix, "-").concat(H) : B
|
||||
attributes: K({}, X, {
|
||||
id: !0 === B ? "".concat(Y, "-").concat(J.familyPrefix, "-").concat(F) : B
|
||||
}),
|
||||
children: F
|
||||
children: H
|
||||
} ]
|
||||
} ]) : function(t) {
|
||||
var n = t.children, e = t.main, a = t.mask, r = t.attributes, i = t.styles, o = t.transform;
|
||||
if (Pt(o) && e.found && !a.found) {
|
||||
var c = e.width / e.height / 2, s = .5;
|
||||
r.style = St(G({}, i, {
|
||||
r.style = St(K({}, i, {
|
||||
"transform-origin": "".concat(c + o.x / 16, "em ").concat(s + o.y / 16, "em")
|
||||
}));
|
||||
}
|
||||
@@ -475,13 +475,13 @@
|
||||
}(U);
|
||||
}
|
||||
function Lt(t) {
|
||||
var n = t.content, e = t.width, a = t.height, r = t.transform, i = t.title, o = t.extra, c = t.watchable, s = void 0 !== c && c, l = G({}, o.attributes, i ? {
|
||||
var n = t.content, e = t.width, a = t.height, r = t.transform, i = t.title, o = t.extra, c = t.watchable, s = void 0 !== c && c, l = K({}, o.attributes, i ? {
|
||||
title: i
|
||||
} : {}, {
|
||||
class: o.classes.join(" ")
|
||||
});
|
||||
s && (l[K] = "");
|
||||
var f, u, m, d, p, h, g, v, b, y = G({}, o.styles);
|
||||
s && (l[G] = "");
|
||||
var f, u, m, d, p, h, g, v, b, y = K({}, o.styles);
|
||||
Pt(r) && (y.transform = (u = (f = {
|
||||
transform: r,
|
||||
startCentered: !0,
|
||||
@@ -509,7 +509,7 @@
|
||||
var Rt = function() {}, Tt = J.measurePerformance && f && f.mark && f.measure ? f : {
|
||||
mark: Rt,
|
||||
measure: Rt
|
||||
}, _t = 'FA "5.10.2"', It = function(t) {
|
||||
}, _t = 'FA "5.11.0"', It = function(t) {
|
||||
Tt.mark("".concat(_t, " ").concat(t, " ends")), Tt.measure("".concat(_t, " ").concat(t), "".concat(_t, " ").concat(t, " begins"), "".concat(_t, " ").concat(t, " ends"));
|
||||
}, Dt = {
|
||||
begin: function(t) {
|
||||
@@ -526,15 +526,15 @@
|
||||
for (o = void 0 === e ? (r = 1, t[l[0]]) : (r = 0, e); r < f; r++) o = u(o, t[i = l[r]], i, t);
|
||||
return o;
|
||||
};
|
||||
function Ht(t) {
|
||||
function Ft(t) {
|
||||
for (var n = "", e = 0; e < t.length; e++) {
|
||||
n += ("000" + t.charCodeAt(e).toString(16)).slice(-4);
|
||||
}
|
||||
return n;
|
||||
}
|
||||
var Ft = B.styles, Xt = B.shims, Bt = {}, Ut = {}, Wt = {}, qt = function() {
|
||||
var Ht = B.styles, Xt = B.shims, Bt = {}, Ut = {}, Wt = {}, qt = function() {
|
||||
var t = function(a) {
|
||||
return Yt(Ft, function(t, n, e) {
|
||||
return Yt(Ht, function(t, n, e) {
|
||||
return t[e] = Yt(n, a, {}), t;
|
||||
}, {});
|
||||
};
|
||||
@@ -546,7 +546,7 @@
|
||||
n[t] = e;
|
||||
}), n;
|
||||
});
|
||||
var i = "far" in Ft;
|
||||
var i = "far" in Ht;
|
||||
Wt = Yt(Xt, function(t, n) {
|
||||
var e = n[0], a = n[1], r = n[2];
|
||||
return "far" !== a || i || (a = "fas"), t[e] = {
|
||||
@@ -559,7 +559,7 @@
|
||||
return (Bt[t] || {})[n];
|
||||
}
|
||||
qt();
|
||||
var Gt = B.styles, Kt = function() {
|
||||
var Kt = B.styles, Gt = function() {
|
||||
return {
|
||||
prefix: null,
|
||||
iconName: null,
|
||||
@@ -569,7 +569,7 @@
|
||||
function Jt(t) {
|
||||
return t.reduce(function(t, n) {
|
||||
var e = Mt(J.familyPrefix, n);
|
||||
if (Gt[n]) t.prefix = n; else if (J.autoFetchSvg && -1 < [ "fas", "far", "fal", "fad", "fab", "fa" ].indexOf(n)) t.prefix = n; else if (e) {
|
||||
if (Kt[n]) t.prefix = n; else if (J.autoFetchSvg && -1 < [ "fas", "far", "fal", "fad", "fab", "fa" ].indexOf(n)) t.prefix = n; else if (e) {
|
||||
var a = "fa" === t.prefix ? Wt[e] || {
|
||||
prefix: null,
|
||||
iconName: null
|
||||
@@ -577,7 +577,7 @@
|
||||
t.iconName = a.iconName || e, t.prefix = a.prefix || t.prefix;
|
||||
} else n !== J.replacementClass && 0 !== n.indexOf("fa-w-") && t.rest.push(n);
|
||||
return t;
|
||||
}, Kt());
|
||||
}, Gt());
|
||||
}
|
||||
function Qt(t, n, e) {
|
||||
if (t && t[n] && t[n][e]) return {
|
||||
@@ -594,7 +594,7 @@
|
||||
}
|
||||
var $t = function() {};
|
||||
function tn(t) {
|
||||
return "string" == typeof (t.getAttribute ? t.getAttribute(K) : null);
|
||||
return "string" == typeof (t.getAttribute ? t.getAttribute(G) : null);
|
||||
}
|
||||
var nn = {
|
||||
replace: function(t) {
|
||||
@@ -610,7 +610,7 @@
|
||||
var n = t[0], e = t[1];
|
||||
if (~Ct(n).indexOf(J.replacementClass)) return nn.replace(t);
|
||||
var a = new RegExp("".concat(J.familyPrefix, "-.*"));
|
||||
delete e[0].attributes.style;
|
||||
delete e[0].attributes.style, delete e[0].attributes.id;
|
||||
var r = e[0].attributes.class.split(" ").reduce(function(t, n) {
|
||||
return n === J.replacementClass || n.match(a) ? t.toSvg.push(n) : t.toNode.push(n),
|
||||
t;
|
||||
@@ -622,7 +622,7 @@
|
||||
var i = e.map(function(t) {
|
||||
return Zt(t);
|
||||
}).join("\n");
|
||||
n.setAttribute("class", r.toNode.join(" ")), n.setAttribute(K, ""), n.innerHTML = i;
|
||||
n.setAttribute("class", r.toNode.join(" ")), n.setAttribute(G, ""), n.innerHTML = i;
|
||||
}
|
||||
};
|
||||
function en(t) {
|
||||
@@ -666,7 +666,7 @@
|
||||
function ln(t) {
|
||||
var n, e, a = t.getAttribute("data-prefix"), r = t.getAttribute("data-icon"), i = void 0 !== t.innerText ? t.innerText.trim() : "", o = Jt(Ct(t));
|
||||
return a && r && (o.prefix = a, o.iconName = r), o.prefix && 1 < i.length ? o.iconName = (n = o.prefix,
|
||||
e = t.innerText, (Ut[n] || {})[e]) : o.prefix && 1 === i.length && (o.iconName = Vt(o.prefix, Ht(t.innerText))),
|
||||
e = t.innerText, (Ut[n] || {})[e]) : o.prefix && 1 === i.length && (o.iconName = Vt(o.prefix, Ft(t.innerText))),
|
||||
o;
|
||||
}
|
||||
var fn = function(t) {
|
||||
@@ -724,7 +724,7 @@
|
||||
}, {}), o = r.getAttribute("title"), J.autoA11y && (o ? i["aria-labelledby"] = "".concat(J.replacementClass, "-title-").concat(kt()) : (i["aria-hidden"] = "true",
|
||||
i.focusable = "false")), i), g = (c = t.getAttribute("data-fa-mask")) ? Jt(c.split(" ").map(function(t) {
|
||||
return t.trim();
|
||||
})) : Kt();
|
||||
})) : Gt();
|
||||
return {
|
||||
iconName: l,
|
||||
title: t.getAttribute("title"),
|
||||
@@ -751,53 +751,53 @@
|
||||
dur: "2s"
|
||||
}, hn = {
|
||||
tag: "path",
|
||||
attributes: G({}, dn, {
|
||||
attributes: K({}, dn, {
|
||||
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"
|
||||
})
|
||||
}, gn = G({}, pn, {
|
||||
}, gn = K({}, pn, {
|
||||
attributeName: "opacity"
|
||||
}), vn = {
|
||||
tag: "g",
|
||||
children: [ hn, {
|
||||
tag: "circle",
|
||||
attributes: G({}, dn, {
|
||||
attributes: K({}, dn, {
|
||||
cx: "256",
|
||||
cy: "364",
|
||||
r: "28"
|
||||
}),
|
||||
children: [ {
|
||||
tag: "animate",
|
||||
attributes: G({}, pn, {
|
||||
attributes: K({}, pn, {
|
||||
attributeName: "r",
|
||||
values: "28;14;28;28;14;28;"
|
||||
})
|
||||
}, {
|
||||
tag: "animate",
|
||||
attributes: G({}, gn, {
|
||||
attributes: K({}, gn, {
|
||||
values: "1;0;1;1;0;1;"
|
||||
})
|
||||
} ]
|
||||
}, {
|
||||
tag: "path",
|
||||
attributes: G({}, dn, {
|
||||
attributes: K({}, dn, {
|
||||
opacity: "1",
|
||||
d: "M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"
|
||||
}),
|
||||
children: [ {
|
||||
tag: "animate",
|
||||
attributes: G({}, gn, {
|
||||
attributes: K({}, gn, {
|
||||
values: "1;0;0;0;0;1;"
|
||||
})
|
||||
} ]
|
||||
}, {
|
||||
tag: "path",
|
||||
attributes: G({}, dn, {
|
||||
attributes: K({}, dn, {
|
||||
opacity: "0",
|
||||
d: "M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"
|
||||
}),
|
||||
children: [ {
|
||||
tag: "animate",
|
||||
attributes: G({}, gn, {
|
||||
attributes: K({}, gn, {
|
||||
values: "0;0;1;1;0;0;"
|
||||
})
|
||||
} ]
|
||||
@@ -847,6 +847,7 @@
|
||||
icon: vn
|
||||
};
|
||||
if (a && r && bn[r] && bn[r][a]) return t(yn(bn[r][a]));
|
||||
"object" === i(g.FontAwesomeKitConfig) && "string" == typeof window.FontAwesomeKitConfig.token && g.FontAwesomeKitConfig.token,
|
||||
a && r && !J.showMissingIcons ? n(new mn("Icon is missing for prefix ".concat(r, " with icon name ").concat(a))) : t(e);
|
||||
});
|
||||
}
|
||||
@@ -896,8 +897,8 @@
|
||||
return n.add("".concat(O, "-").concat(t));
|
||||
}, r = function(t) {
|
||||
return n.remove("".concat(O, "-").concat(t));
|
||||
}, i = J.autoFetchSvg ? Object.keys(z) : Object.keys(xn), o = [ ".".concat(j, ":not([").concat(K, "])") ].concat(i.map(function(t) {
|
||||
return ".".concat(t, ":not([").concat(K, "])");
|
||||
}, i = J.autoFetchSvg ? Object.keys(z) : Object.keys(xn), o = [ ".".concat(j, ":not([").concat(G, "])") ].concat(i.map(function(t) {
|
||||
return ".".concat(t, ":not([").concat(G, "])");
|
||||
})).join(", ");
|
||||
if (0 !== o.length) {
|
||||
var c = [];
|
||||
@@ -943,7 +944,7 @@
|
||||
})[0], e = g.getComputedStyle(d, p), r = e.getPropertyValue("font-family").match(L), i = e.getPropertyValue("font-weight");
|
||||
if (n && !r) return d.removeChild(n), a();
|
||||
if (r) {
|
||||
var o = e.getPropertyValue("content"), c = ~[ "Solid", "Regular", "Light", "Duotone", "Brands" ].indexOf(r[1]) ? E[r[1].toLowerCase()] : R[i], s = Ht(3 === o.length ? o.substr(1, 1) : o), l = Vt(c, s), f = l;
|
||||
var o = e.getPropertyValue("content"), c = ~[ "Solid", "Regular", "Light", "Duotone", "Brands" ].indexOf(r[1]) ? E[r[1].toLowerCase()] : R[i], s = Ft(3 === o.length ? o.substr(1, 1) : o), l = Vt(c, s), f = l;
|
||||
if (!l || n && n.getAttribute(C) === c && n.getAttribute(M) === f) a(); else {
|
||||
d.setAttribute(h, f), n && d.removeChild(n);
|
||||
var u = {
|
||||
@@ -960,10 +961,10 @@
|
||||
}
|
||||
}, m = u.extra;
|
||||
m.attributes[w] = p, wn(l, c).then(function(t) {
|
||||
var n = jt(G({}, u, {
|
||||
var n = jt(K({}, u, {
|
||||
icons: {
|
||||
main: t,
|
||||
mask: Kt()
|
||||
mask: Gt()
|
||||
},
|
||||
prefix: c,
|
||||
iconName: f,
|
||||
@@ -1041,12 +1042,12 @@
|
||||
for (var n = this, t = arguments.length, e = new Array(t), a = 0; a < t; a++) e[a] = arguments[a];
|
||||
var r = e.reduce(this._pullDefinitions, {});
|
||||
Object.keys(r).forEach(function(t) {
|
||||
n.definitions[t] = G({}, n.definitions[t] || {}, r[t]), function t(n, a) {
|
||||
n.definitions[t] = K({}, n.definitions[t] || {}, r[t]), function t(n, a) {
|
||||
var e = (2 < arguments.length && void 0 !== arguments[2] ? arguments[2] : {}).skipHooks, r = void 0 !== e && e, i = Object.keys(a).reduce(function(t, n) {
|
||||
var e = a[n];
|
||||
return e.icon ? t[e.iconName] = e.icon : t[n] = e, t;
|
||||
}, {});
|
||||
"function" != typeof B.hooks.addPack || r ? B.styles[n] = G({}, B.styles[n] || {}, i) : B.hooks.addPack(n, i),
|
||||
"function" != typeof B.hooks.addPack || r ? B.styles[n] = K({}, B.styles[n] || {}, i) : B.hooks.addPack(n, i),
|
||||
"fas" === n && t("fa", a);
|
||||
}(t, r[t]), qt();
|
||||
});
|
||||
@@ -1067,7 +1068,7 @@
|
||||
i[e] || (i[e] = {}), i[e][a] = r;
|
||||
}), i;
|
||||
}
|
||||
} ]) && i(n.prototype, e), a && i(n, a), t;
|
||||
} ]) && r(n.prototype, e), a && r(n, a), t;
|
||||
}())(), _n = !1, In = {
|
||||
i2svg: function() {
|
||||
var t = 0 < arguments.length && void 0 !== arguments[0] ? arguments[0] : {};
|
||||
@@ -1085,7 +1086,7 @@
|
||||
watch: function() {
|
||||
var t = 0 < arguments.length && void 0 !== arguments[0] ? arguments[0] : {}, n = t.autoReplaceSvgRoot, e = t.observeMutationsRoot;
|
||||
!1 === J.autoReplaceSvg && (J.autoReplaceSvg = !0), J.observeMutations = !0, q(function() {
|
||||
Hn({
|
||||
Fn({
|
||||
autoReplaceSvgRoot: n
|
||||
}), sn({
|
||||
treeCallback: An,
|
||||
@@ -1099,7 +1100,7 @@
|
||||
var n = 1 < arguments.length && void 0 !== arguments[1] ? arguments[1] : {}, e = n.transform, a = void 0 === e ? yt : e, r = n.symbol, i = void 0 !== r && r, o = n.mask, c = void 0 === o ? null : o, s = n.title, l = void 0 === s ? null : s, f = n.classes, u = void 0 === f ? [] : f, m = n.attributes, d = void 0 === m ? {} : m, p = n.styles, h = void 0 === p ? {} : p;
|
||||
if (t) {
|
||||
var g = t.prefix, v = t.iconName, b = t.icon;
|
||||
return jn(G({
|
||||
return jn(K({
|
||||
type: "icon"
|
||||
}, t), function() {
|
||||
return En(), J.autoA11y && (l ? d["aria-labelledby"] = "".concat(J.replacementClass, "-title-").concat(kt()) : (d["aria-hidden"] = "true",
|
||||
@@ -1115,7 +1116,7 @@
|
||||
},
|
||||
prefix: g,
|
||||
iconName: v,
|
||||
transform: G({}, yt, a),
|
||||
transform: K({}, yt, a),
|
||||
symbol: i,
|
||||
title: l,
|
||||
extra: {
|
||||
@@ -1128,7 +1129,7 @@
|
||||
}
|
||||
}, function(t) {
|
||||
var n = 1 < arguments.length && void 0 !== arguments[1] ? arguments[1] : {}, e = (t || {}).icon ? t : Ln(t || {}), a = n.mask;
|
||||
return a && (a = (a || {}).icon ? a : Ln(a || {})), Rn(e, G({}, n, {
|
||||
return a && (a = (a || {}).icon ? a : Ln(a || {})), Rn(e, K({}, n, {
|
||||
mask: a
|
||||
}));
|
||||
}), Yn = {
|
||||
@@ -1153,7 +1154,7 @@
|
||||
}, function() {
|
||||
return En(), Lt({
|
||||
content: t,
|
||||
transform: G({}, yt, a),
|
||||
transform: K({}, yt, a),
|
||||
title: i,
|
||||
extra: {
|
||||
attributes: l,
|
||||
@@ -1170,7 +1171,7 @@
|
||||
content: t
|
||||
}, function() {
|
||||
return En(), function(t) {
|
||||
var n = t.content, e = t.title, a = t.extra, r = G({}, a.attributes, e ? {
|
||||
var n = t.content, e = t.title, a = t.extra, r = K({}, a.attributes, e ? {
|
||||
title: e
|
||||
} : {}, {
|
||||
class: a.classes.join(" ")
|
||||
@@ -1220,7 +1221,7 @@
|
||||
});
|
||||
},
|
||||
toHtml: Zt
|
||||
}, Hn = function() {
|
||||
}, Fn = function() {
|
||||
var t = (0 < arguments.length && void 0 !== arguments[0] ? arguments[0] : {}).autoReplaceSvgRoot, n = void 0 === t ? v : t;
|
||||
(0 < Object.keys(B.styles).length || J.autoFetchSvg) && p && J.autoReplaceSvg && Yn.dom.i2svg({
|
||||
node: n
|
||||
@@ -1234,18 +1235,18 @@
|
||||
}
|
||||
}(function() {
|
||||
u && (g.FontAwesome || (g.FontAwesome = Yn), q(function() {
|
||||
Hn(), sn({
|
||||
Fn(), sn({
|
||||
treeCallback: An,
|
||||
nodeCallback: Cn,
|
||||
pseudoElementsCallback: Pn
|
||||
});
|
||||
})), B.hooks = G({}, B.hooks, {
|
||||
})), B.hooks = K({}, B.hooks, {
|
||||
addPack: function(t, n) {
|
||||
B.styles[t] = G({}, B.styles[t] || {}, n), qt(), Hn();
|
||||
B.styles[t] = K({}, B.styles[t] || {}, n), qt(), Fn();
|
||||
},
|
||||
addShims: function(t) {
|
||||
var n;
|
||||
(n = B.shims).push.apply(n, d(t)), qt(), Hn();
|
||||
(n = B.shims).push.apply(n, d(t)), qt(), Fn();
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user