Font-Awesome/js/fontawesome.min.js

1269 lines
60 KiB
JavaScript
Raw Normal View History

2018-12-07 21:53:43 +00:00
/*!
2021-08-04 19:09:22 +00:00
* Font Awesome Free 5.15.4 by @fontawesome - https://fontawesome.com
2018-12-07 21:53:43 +00:00
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
*/
!function() {
"use strict";
2020-09-29 13:24:01 +00:00
function r(t) {
return (r = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(t) {
2019-01-28 20:03:10 +00:00
return typeof t;
} : function(t) {
return t && "function" == typeof Symbol && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
})(t);
}
2020-09-29 13:24:01 +00:00
function i(t, n) {
2018-12-07 21:53:43 +00:00
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);
}
}
2020-09-29 13:24:01 +00:00
function $(r) {
2018-12-07 21:53:43 +00:00
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) {
return Object.getOwnPropertyDescriptor(i, t).enumerable;
}))), n.forEach(function(t) {
var n, e, a;
n = r, a = i[e = t], e in n ? Object.defineProperty(n, e, {
value: a,
enumerable: !0,
configurable: !0,
writable: !0
}) : n[e] = a;
});
}
return r;
}
2020-03-23 18:53:09 +00:00
function p(t, n) {
2018-12-07 21:53:43 +00:00
return function(t) {
if (Array.isArray(t)) return t;
}(t) || function(t, n) {
var e = [], a = !0, r = !1, i = void 0;
try {
2019-07-29 16:25:20 +00:00
for (var o, c = t[Symbol.iterator](); !(a = (o = c.next()).done) && (e.push(o.value),
2018-12-07 21:53:43 +00:00
!n || e.length !== n); a = !0) ;
} catch (t) {
r = !0, i = t;
} finally {
try {
2019-07-29 16:25:20 +00:00
a || null == c.return || c.return();
2018-12-07 21:53:43 +00:00
} finally {
if (r) throw i;
}
}
return e;
}(t, n) || function() {
throw new TypeError("Invalid attempt to destructure non-iterable instance");
}();
}
2019-01-28 20:03:10 +00:00
function d(t) {
2018-12-07 21:53:43 +00:00
return function(t) {
if (Array.isArray(t)) {
for (var n = 0, e = new Array(t.length); n < t.length; n++) e[n] = t[n];
return e;
}
}(t) || function(t) {
if (Symbol.iterator in Object(t) || "[object Arguments]" === Object.prototype.toString.call(t)) return Array.from(t);
}(t) || function() {
throw new TypeError("Invalid attempt to spread non-iterable instance");
}();
}
2019-01-28 20:03:10 +00:00
var t = function() {}, n = {}, e = {}, a = null, o = {
2018-12-07 21:53:43 +00:00
mark: t,
measure: t
};
try {
"undefined" != typeof window && (n = window), "undefined" != typeof document && (e = document),
2019-01-28 20:03:10 +00:00
"undefined" != typeof MutationObserver && (a = MutationObserver), "undefined" != typeof performance && (o = performance);
2018-12-07 21:53:43 +00:00
} catch (t) {}
2020-09-29 13:24:01 +00:00
var c = (n.navigator || {}).userAgent, s = void 0 === c ? "" : c, v = n, b = e, l = a, f = o, u = !!v.document, m = !!b.documentElement && !!b.head && "function" == typeof b.addEventListener && "function" == typeof b.createElement, k = ~s.indexOf("MSIE") || ~s.indexOf("Trident/"), h = "___FONT_AWESOME___", A = 16, g = "fa", y = "svg-inline--fa", tt = "data-fa-i2svg", w = "data-fa-pseudo-element", x = "data-fa-pseudo-element-pending", C = "data-prefix", M = "data-icon", O = "fontawesome-i2svg", P = "async", S = [ "HTML", "HEAD", "STYLE", "SCRIPT" ], N = function() {
2018-12-07 21:53:43 +00:00
try {
return !1;
} catch (t) {
return !1;
}
2019-07-29 16:25:20 +00:00
}(), z = {
2019-01-28 20:03:10 +00:00
fas: "solid",
far: "regular",
fal: "light",
2019-07-29 16:25:20 +00:00
fad: "duotone",
2019-01-28 20:03:10 +00:00
fab: "brands",
2020-09-29 13:24:01 +00:00
fak: "kit",
2019-01-28 20:03:10 +00:00
fa: "solid"
2019-07-29 16:25:20 +00:00
}, E = {
2019-01-28 20:03:10 +00:00
solid: "fas",
regular: "far",
light: "fal",
2019-07-29 16:25:20 +00:00
duotone: "fad",
2020-09-29 13:24:01 +00:00
brands: "fab",
kit: "fak"
2021-08-04 19:09:22 +00:00
}, I = "fa-layers-text", j = /Font Awesome ([5 ]*)(Solid|Regular|Light|Duotone|Brands|Free|Pro|Kit).*/i, L = {
2019-01-28 20:03:10 +00:00
900: "fas",
400: "far",
normal: "far",
300: "fal"
2020-03-23 18:53:09 +00:00
}, R = [ 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 ], T = R.concat([ 11, 12, 13, 14, 15, 16, 17, 18, 19, 20 ]), _ = [ "class", "data-prefix", "data-icon", "data-fa-transform", "data-fa-mask" ], D = {
2019-07-29 16:25:20 +00:00
GROUP: "group",
SWAP_OPACITY: "swap-opacity",
PRIMARY: "primary",
SECONDARY: "secondary"
2021-01-13 20:23:11 +00:00
}, Y = [ "xs", "sm", "lg", "fw", "ul", "li", "border", "pull-left", "pull-right", "spin", "pulse", "rotate-90", "rotate-180", "rotate-270", "flip-horizontal", "flip-vertical", "flip-both", "stack", "stack-1x", "stack-2x", "inverse", "layers", "layers-text", "layers-counter", D.GROUP, D.SWAP_OPACITY, D.PRIMARY, D.SECONDARY ].concat(R.map(function(t) {
2018-12-07 21:53:43 +00:00
return "".concat(t, "x");
2020-03-23 18:53:09 +00:00
})).concat(T.map(function(t) {
2018-12-07 21:53:43 +00:00
return "w-".concat(t);
2021-01-13 20:23:11 +00:00
})), H = v.FontAwesomeConfig || {};
2020-09-29 13:24:01 +00:00
if (b && "function" == typeof b.querySelector) {
2019-03-19 22:45:20 +00:00
[ [ "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) {
2020-03-23 18:53:09 +00:00
var n, e = p(t, 2), a = e[0], r = e[1], i = "" === (n = function(t) {
2020-09-29 13:24:01 +00:00
var n = b.querySelector("script[" + t + "]");
2018-12-07 21:53:43 +00:00
if (n) return n.getAttribute(t);
}(a)) || "false" !== n && ("true" === n || n);
2021-01-13 20:23:11 +00:00
null != i && (H[r] = i);
2018-12-07 21:53:43 +00:00
});
}
2021-01-13 20:23:11 +00:00
var F = $({}, {
2020-09-29 13:24:01 +00:00
familyPrefix: g,
2019-01-28 20:03:10 +00:00
replacementClass: y,
2018-12-07 21:53:43 +00:00
autoReplaceSvg: !0,
autoAddCss: !0,
autoA11y: !0,
searchPseudoElements: !1,
observeMutations: !0,
2019-03-19 22:45:20 +00:00
mutateApproach: "async",
2018-12-07 21:53:43 +00:00
keepOriginalSource: !0,
measurePerformance: !1,
showMissingIcons: !0
2021-01-13 20:23:11 +00:00
}, H);
F.autoReplaceSvg || (F.observeMutations = !1);
var nt = $({}, F);
2020-09-29 13:24:01 +00:00
v.FontAwesomeConfig = nt;
2021-01-13 20:23:11 +00:00
var X = v || {};
X[h] || (X[h] = {}), X[h].styles || (X[h].styles = {}), X[h].hooks || (X[h].hooks = {}),
X[h].shims || (X[h].shims = []);
var B = X[h], U = [], W = !1;
2019-07-29 16:25:20 +00:00
function q(t) {
2021-01-13 20:23:11 +00:00
m && (W ? setTimeout(t, 0) : U.push(t));
2018-12-07 21:53:43 +00:00
}
2020-09-29 13:24:01 +00:00
m && ((W = (b.documentElement.doScroll ? /^loaded|^c/ : /^loaded|^i|^c/).test(b.readyState)) || b.addEventListener("DOMContentLoaded", function t() {
2021-01-13 20:23:11 +00:00
b.removeEventListener("DOMContentLoaded", t), W = 1, U.map(function(t) {
2018-12-07 21:53:43 +00:00
return t();
});
}));
2021-01-13 20:23:11 +00:00
var V, G = "pending", K = "settled", J = "fulfilled", Q = "rejected", Z = function() {}, et = "undefined" != typeof global && void 0 !== global.process && "function" == typeof global.process.emit, at = "undefined" == typeof setImmediate ? setTimeout : setImmediate, rt = [];
2019-07-29 16:25:20 +00:00
function it() {
for (var t = 0; t < rt.length; t++) rt[t][0](rt[t][1]);
2021-01-13 20:23:11 +00:00
V = !(rt = []);
2019-01-28 20:03:10 +00:00
}
2019-07-29 16:25:20 +00:00
function ot(t, n) {
2021-01-13 20:23:11 +00:00
rt.push([ t, n ]), V || (V = !0, at(it, 0));
2019-01-28 20:03:10 +00:00
}
2019-07-29 16:25:20 +00:00
function ct(t) {
2019-01-28 20:03:10 +00:00
var n = t.owner, e = n._state, a = n._data, r = t[e], i = t.then;
if ("function" == typeof r) {
2020-03-23 18:53:09 +00:00
e = J;
2019-01-28 20:03:10 +00:00
try {
a = r(a);
} catch (t) {
2019-07-29 16:25:20 +00:00
ut(i, t);
2019-01-28 20:03:10 +00:00
}
}
2020-09-29 13:24:01 +00:00
st(i, a) || (e === J && lt(i, a), e === Q && ut(i, a));
2019-01-28 20:03:10 +00:00
}
2019-03-19 22:45:20 +00:00
function st(n, e) {
2019-01-28 20:03:10 +00:00
var a;
try {
if (n === e) throw new TypeError("A promises callback cannot return that same promise.");
2020-09-29 13:24:01 +00:00
if (e && ("function" == typeof e || "object" === r(e))) {
2019-01-28 20:03:10 +00:00
var t = e.then;
if ("function" == typeof t) return t.call(e, function(t) {
2019-07-29 16:25:20 +00:00
a || (a = !0, e === t ? ft(n, t) : lt(n, t));
2019-01-28 20:03:10 +00:00
}, function(t) {
2019-07-29 16:25:20 +00:00
a || (a = !0, ut(n, t));
2019-01-28 20:03:10 +00:00
}), !0;
}
} catch (t) {
2019-07-29 16:25:20 +00:00
return a || ut(n, t), !0;
2019-01-28 20:03:10 +00:00
}
return !1;
}
function lt(t, n) {
2019-07-29 16:25:20 +00:00
t !== n && st(t, n) || ft(t, n);
2019-01-28 20:03:10 +00:00
}
2019-03-19 22:45:20 +00:00
function ft(t, n) {
2021-01-13 20:23:11 +00:00
t._state === G && (t._state = K, t._data = n, ot(mt, t));
2019-01-28 20:03:10 +00:00
}
2019-07-29 16:25:20 +00:00
function ut(t, n) {
2021-01-13 20:23:11 +00:00
t._state === G && (t._state = K, t._data = n, ot(pt, t));
2019-01-28 20:03:10 +00:00
}
2020-03-23 18:53:09 +00:00
function dt(t) {
2019-07-29 16:25:20 +00:00
t._then = t._then.forEach(ct);
2019-01-28 20:03:10 +00:00
}
2020-03-23 18:53:09 +00:00
function mt(t) {
t._state = J, dt(t);
2019-07-29 16:25:20 +00:00
}
function pt(t) {
2020-09-29 13:24:01 +00:00
t._state = Q, dt(t), !t._handled && et && global.process.emit("unhandledRejection", t._data, t);
2019-01-28 20:03:10 +00:00
}
function ht(t) {
2019-03-19 22:45:20 +00:00
global.process.emit("rejectionHandled", t);
}
2019-07-29 16:25:20 +00:00
function gt(t) {
2019-01-28 20:03:10 +00:00
if ("function" != typeof t) throw new TypeError("Promise resolver " + t + " is not a function");
2019-07-29 16:25:20 +00:00
if (this instanceof gt == !1) throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.");
2019-01-28 20:03:10 +00:00
this._then = [], function(t, n) {
function e(t) {
2019-07-29 16:25:20 +00:00
ut(n, t);
2019-01-28 20:03:10 +00:00
}
try {
t(function(t) {
2019-07-29 16:25:20 +00:00
lt(n, t);
2019-01-28 20:03:10 +00:00
}, e);
} catch (t) {
e(t);
}
}(t, this);
}
2019-07-29 16:25:20 +00:00
gt.prototype = {
constructor: gt,
2021-01-13 20:23:11 +00:00
_state: G,
2019-01-28 20:03:10 +00:00
_then: null,
_data: void 0,
_handled: !1,
then: function(t, n) {
var e = {
owner: this,
2020-09-29 13:24:01 +00:00
then: new this.constructor(Z),
2019-01-28 20:03:10 +00:00
fulfilled: t,
rejected: n
};
2020-09-29 13:24:01 +00:00
return !n && !t || this._handled || (this._handled = !0, this._state === Q && et && ot(ht, this)),
this._state === J || this._state === Q ? ot(ct, e) : this._then.push(e), e.then;
2019-01-28 20:03:10 +00:00
},
catch: function(t) {
return this.then(null, t);
}
2019-07-29 16:25:20 +00:00
}, gt.all = function(c) {
if (!Array.isArray(c)) throw new TypeError("You must pass an array to Promise.all().");
return new gt(function(e, t) {
2019-01-28 20:03:10 +00:00
var a = [], r = 0;
function n(n) {
return r++, function(t) {
a[n] = t, --r || e(a);
};
}
2019-07-29 16:25:20 +00:00
for (var i, o = 0; o < c.length; o++) (i = c[o]) && "function" == typeof i.then ? i.then(n(o), t) : a[o] = i;
2019-01-28 20:03:10 +00:00
r || e(a);
});
2019-07-29 16:25:20 +00:00
}, gt.race = function(r) {
2019-01-28 20:03:10 +00:00
if (!Array.isArray(r)) throw new TypeError("You must pass an array to Promise.race().");
2019-07-29 16:25:20 +00:00
return new gt(function(t, n) {
2019-01-28 20:03:10 +00:00
for (var e, a = 0; a < r.length; a++) (e = r[a]) && "function" == typeof e.then ? e.then(t, n) : t(e);
});
2019-07-29 16:25:20 +00:00
}, gt.resolve = function(n) {
2020-09-29 13:24:01 +00:00
return n && "object" === r(n) && n.constructor === gt ? n : new gt(function(t) {
2019-01-28 20:03:10 +00:00
t(n);
});
2019-07-29 16:25:20 +00:00
}, gt.reject = function(e) {
return new gt(function(t, n) {
2019-01-28 20:03:10 +00:00
n(e);
});
};
2019-07-29 16:25:20 +00:00
var vt = "function" == typeof Promise ? Promise : gt, bt = A, yt = {
2018-12-07 21:53:43 +00:00
size: 16,
x: 0,
y: 0,
rotate: 0,
flipX: !1,
flipY: !1
};
2019-07-29 16:25:20 +00:00
function wt(t) {
2020-03-23 18:53:09 +00:00
if (t && m) {
2020-09-29 13:24:01 +00:00
var n = b.createElement("style");
2018-12-07 21:53:43 +00:00
n.setAttribute("type", "text/css"), n.innerHTML = t;
2020-09-29 13:24:01 +00:00
for (var e = b.head.childNodes, a = null, r = e.length - 1; -1 < r; r--) {
2018-12-07 21:53:43 +00:00
var i = e[r], o = (i.tagName || "").toUpperCase();
-1 < [ "STYLE", "LINK" ].indexOf(o) && (a = i);
}
2020-09-29 13:24:01 +00:00
return b.head.insertBefore(n, a), t;
2018-12-07 21:53:43 +00:00
}
}
2019-07-29 16:25:20 +00:00
var xt = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";
function kt() {
for (var t = 12, n = ""; 0 < t--; ) n += xt[62 * Math.random() | 0];
2018-12-07 21:53:43 +00:00
return n;
}
2019-07-29 16:25:20 +00:00
function At(t) {
2018-12-07 21:53:43 +00:00
for (var n = [], e = (t || []).length >>> 0; e--; ) n[e] = t[e];
return n;
}
2019-07-29 16:25:20 +00:00
function Ct(t) {
return t.classList ? At(t.classList) : (t.getAttribute("class") || "").split(" ").filter(function(t) {
2018-12-07 21:53:43 +00:00
return t;
});
}
2019-07-29 16:25:20 +00:00
function Mt(t, n) {
2018-12-07 21:53:43 +00:00
var e, a = n.split("-"), r = a[0], i = a.slice(1).join("-");
2021-01-13 20:23:11 +00:00
return r !== t || "" === i || (e = i, ~Y.indexOf(e)) ? null : i;
2018-12-07 21:53:43 +00:00
}
2019-07-29 16:25:20 +00:00
function Ot(t) {
2018-12-07 21:53:43 +00:00
return "".concat(t).replace(/&/g, "&amp;").replace(/"/g, "&quot;").replace(/'/g, "&#39;").replace(/</g, "&lt;").replace(/>/g, "&gt;");
}
2020-09-29 13:24:01 +00:00
function Pt(e) {
2018-12-07 21:53:43 +00:00
return Object.keys(e || {}).reduce(function(t, n) {
return t + "".concat(n, ": ").concat(e[n], ";");
}, "");
}
2020-09-29 13:24:01 +00:00
function St(t) {
2019-07-29 16:25:20 +00:00
return t.size !== yt.size || t.x !== yt.x || t.y !== yt.y || t.rotate !== yt.rotate || t.flipX || t.flipY;
2019-03-19 22:45:20 +00:00
}
2019-07-29 16:25:20 +00:00
function Nt(t) {
2018-12-07 21:53:43 +00:00
var n = t.transform, e = t.containerWidth, a = t.iconWidth, r = {
transform: "translate(".concat(e / 2, " 256)")
2019-07-29 16:25:20 +00:00
}, i = "translate(".concat(32 * n.x, ", ").concat(32 * n.y, ") "), o = "scale(".concat(n.size / 16 * (n.flipX ? -1 : 1), ", ").concat(n.size / 16 * (n.flipY ? -1 : 1), ") "), c = "rotate(".concat(n.rotate, " 0 0)");
2018-12-07 21:53:43 +00:00
return {
outer: r,
inner: {
2019-07-29 16:25:20 +00:00
transform: "".concat(i, " ").concat(o, " ").concat(c)
2018-12-07 21:53:43 +00:00
},
path: {
transform: "translate(".concat(a / 2 * -1, " -256)")
}
};
}
2019-07-29 16:25:20 +00:00
var zt = {
2018-12-07 21:53:43 +00:00
x: 0,
y: 0,
width: "100%",
height: "100%"
};
2019-03-19 22:45:20 +00:00
function Et(t) {
2019-07-29 16:25:20 +00:00
var n = !(1 < arguments.length && void 0 !== arguments[1]) || arguments[1];
return t.attributes && (t.attributes.fill || n) && (t.attributes.fill = "black"),
t;
}
2020-03-23 18:53:09 +00:00
function It(t) {
2020-09-29 13:24:01 +00:00
var n = t.icons, e = n.main, a = n.mask, r = t.prefix, i = t.iconName, o = t.transform, c = t.symbol, s = t.title, l = t.maskId, f = t.titleId, u = t.extra, d = t.watchable, m = void 0 !== d && d, p = a.found ? a : e, h = p.width, g = p.height, v = "fak" === r, b = v ? "" : "fa-w-".concat(Math.ceil(h / g * 16)), y = [ nt.replacementClass, i ? "".concat(nt.familyPrefix, "-").concat(i) : "", b ].filter(function(t) {
2020-03-23 18:53:09 +00:00
return -1 === u.classes.indexOf(t);
2020-09-29 13:24:01 +00:00
}).filter(function(t) {
return "" !== t || !!t;
}).concat(u.classes).join(" "), w = {
2018-12-07 21:53:43 +00:00
children: [],
2020-09-29 13:24:01 +00:00
attributes: $({}, u.attributes, {
2018-12-07 21:53:43 +00:00
"data-prefix": r,
"data-icon": i,
2020-09-29 13:24:01 +00:00
class: y,
2020-03-23 18:53:09 +00:00
role: u.attributes.role || "img",
2018-12-07 21:53:43 +00:00
xmlns: "http://www.w3.org/2000/svg",
2020-03-23 18:53:09 +00:00
viewBox: "0 0 ".concat(h, " ").concat(g)
2018-12-07 21:53:43 +00:00
})
2020-09-29 13:24:01 +00:00
}, x = v && !~u.classes.indexOf("fa-fw") ? {
width: "".concat(h / g * 16 * .0625, "em")
} : {};
m && (w.attributes[tt] = ""), s && w.children.push({
2018-12-07 21:53:43 +00:00
tag: "title",
attributes: {
2020-09-29 13:24:01 +00:00
id: w.attributes["aria-labelledby"] || "title-".concat(f || kt())
2018-12-07 21:53:43 +00:00
},
2019-07-29 16:25:20 +00:00
children: [ s ]
2018-12-07 21:53:43 +00:00
});
2021-01-13 20:23:11 +00:00
var k, A, C, M, O, P, S, N, z, E, I, j, L, R, T, _, D, Y, H, F, X, B, U, W, q, V, G, K = $({}, w, {
2018-12-07 21:53:43 +00:00
prefix: r,
iconName: i,
main: e,
mask: a,
2020-03-23 18:53:09 +00:00
maskId: l,
2018-12-07 21:53:43 +00:00
transform: o,
2019-07-29 16:25:20 +00:00
symbol: c,
2020-09-29 13:24:01 +00:00
styles: $({}, x, u.styles)
2021-01-13 20:23:11 +00:00
}), J = a.found && e.found ? (C = (k = K).children, M = k.attributes, O = k.main,
2020-09-29 13:24:01 +00:00
P = k.mask, S = k.maskId, N = k.transform, z = O.width, E = O.icon, I = P.width,
j = P.icon, L = Nt({
transform: N,
containerWidth: I,
iconWidth: z
}), R = {
2018-12-07 21:53:43 +00:00
tag: "rect",
2020-09-29 13:24:01 +00:00
attributes: $({}, zt, {
2018-12-07 21:53:43 +00:00
fill: "white"
})
2020-09-29 13:24:01 +00:00
}, T = E.children ? {
children: E.children.map(Et)
} : {}, _ = {
2018-12-07 21:53:43 +00:00
tag: "g",
2020-09-29 13:24:01 +00:00
attributes: $({}, L.inner),
children: [ Et($({
tag: E.tag,
attributes: $({}, E.attributes, L.path)
}, T)) ]
}, D = {
2018-12-07 21:53:43 +00:00
tag: "g",
2020-09-29 13:24:01 +00:00
attributes: $({}, L.outer),
children: [ _ ]
2021-01-13 20:23:11 +00:00
}, Y = "mask-".concat(S || kt()), H = "clip-".concat(S || kt()), F = {
2019-07-29 16:25:20 +00:00
tag: "mask",
2020-09-29 13:24:01 +00:00
attributes: $({}, zt, {
2021-01-13 20:23:11 +00:00
id: Y,
2019-07-29 16:25:20 +00:00
maskUnits: "userSpaceOnUse",
maskContentUnits: "userSpaceOnUse"
}),
2020-09-29 13:24:01 +00:00
children: [ R, D ]
2021-01-13 20:23:11 +00:00
}, X = {
2018-12-07 21:53:43 +00:00
tag: "defs",
children: [ {
tag: "clipPath",
attributes: {
2021-01-13 20:23:11 +00:00
id: H
2018-12-07 21:53:43 +00:00
},
2020-09-29 13:24:01 +00:00
children: (A = j, "g" === A.tag ? A.children : [ A ])
2021-01-13 20:23:11 +00:00
}, F ]
}, C.push(X, {
2018-12-07 21:53:43 +00:00
tag: "rect",
2020-09-29 13:24:01 +00:00
attributes: $({
2018-12-07 21:53:43 +00:00
fill: "currentColor",
2021-01-13 20:23:11 +00:00
"clip-path": "url(#".concat(H, ")"),
mask: "url(#".concat(Y, ")")
2019-07-29 16:25:20 +00:00
}, zt)
2018-12-07 21:53:43 +00:00
}), {
2020-09-29 13:24:01 +00:00
children: C,
attributes: M
2018-12-07 21:53:43 +00:00
}) : function(t) {
2020-09-29 13:24:01 +00:00
var n = t.children, e = t.attributes, a = t.main, r = t.transform, i = Pt(t.styles);
if (0 < i.length && (e.style = i), St(r)) {
2019-07-29 16:25:20 +00:00
var o = Nt({
2018-12-07 21:53:43 +00:00
transform: r,
containerWidth: a.width,
iconWidth: a.width
});
n.push({
tag: "g",
2020-09-29 13:24:01 +00:00
attributes: $({}, o.outer),
2018-12-07 21:53:43 +00:00
children: [ {
tag: "g",
2020-09-29 13:24:01 +00:00
attributes: $({}, o.inner),
2018-12-07 21:53:43 +00:00
children: [ {
tag: a.icon.tag,
children: a.icon.children,
2020-09-29 13:24:01 +00:00
attributes: $({}, a.icon.attributes, o.path)
2018-12-07 21:53:43 +00:00
} ]
} ]
});
} else n.push(a.icon);
return {
children: n,
attributes: e
};
2021-01-13 20:23:11 +00:00
}(K), Q = J.children, Z = J.attributes;
return K.children = Q, K.attributes = Z, c ? (U = (B = K).prefix, W = B.iconName,
q = B.children, V = B.attributes, G = B.symbol, [ {
2018-12-07 21:53:43 +00:00
tag: "svg",
attributes: {
style: "display: none;"
},
children: [ {
tag: "symbol",
2021-01-13 20:23:11 +00:00
attributes: $({}, V, {
id: !0 === G ? "".concat(U, "-").concat(nt.familyPrefix, "-").concat(W) : G
2018-12-07 21:53:43 +00:00
}),
2020-09-29 13:24:01 +00:00
children: q
2018-12-07 21:53:43 +00:00
} ]
} ]) : function(t) {
var n = t.children, e = t.main, a = t.mask, r = t.attributes, i = t.styles, o = t.transform;
2020-09-29 13:24:01 +00:00
if (St(o) && e.found && !a.found) {
2019-07-29 16:25:20 +00:00
var c = e.width / e.height / 2, s = .5;
2020-09-29 13:24:01 +00:00
r.style = Pt($({}, i, {
2019-07-29 16:25:20 +00:00
"transform-origin": "".concat(c + o.x / 16, "em ").concat(s + o.y / 16, "em")
2018-12-07 21:53:43 +00:00
}));
}
return [ {
tag: "svg",
attributes: r,
children: n
} ];
2021-01-13 20:23:11 +00:00
}(K);
2018-12-07 21:53:43 +00:00
}
2020-03-23 18:53:09 +00:00
function jt(t) {
2020-09-29 13:24:01 +00:00
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 = $({}, o.attributes, i ? {
2018-12-07 21:53:43 +00:00
title: i
} : {}, {
class: o.classes.join(" ")
});
2020-09-29 13:24:01 +00:00
s && (l[tt] = "");
var f, u, d, m, p, h, g, v, b, y = $({}, o.styles);
St(r) && (y.transform = (u = (f = {
2018-12-07 21:53:43 +00:00
transform: r,
startCentered: !0,
width: e,
height: a
2020-03-23 18:53:09 +00:00
}).transform, d = f.width, m = void 0 === d ? A : d, p = f.height, h = void 0 === p ? A : p,
g = f.startCentered, b = "", b += (v = void 0 !== g && g) && k ? "translate(".concat(u.x / bt - m / 2, "em, ").concat(u.y / bt - h / 2, "em) ") : v ? "translate(calc(-50% + ".concat(u.x / bt, "em), calc(-50% + ").concat(u.y / bt, "em)) ") : "translate(".concat(u.x / bt, "em, ").concat(u.y / bt, "em) "),
2019-07-29 16:25:20 +00:00
b += "scale(".concat(u.size / bt * (u.flipX ? -1 : 1), ", ").concat(u.size / bt * (u.flipY ? -1 : 1), ") "),
2018-12-07 21:53:43 +00:00
b += "rotate(".concat(u.rotate, "deg) ")), y["-webkit-transform"] = y.transform);
2020-09-29 13:24:01 +00:00
var w = Pt(y);
2018-12-07 21:53:43 +00:00
0 < w.length && (l.style = w);
var x = [];
return x.push({
tag: "span",
attributes: l,
children: [ n ]
}), i && x.push({
tag: "span",
attributes: {
class: "sr-only"
},
children: [ i ]
}), x;
}
2020-09-29 13:24:01 +00:00
var Lt = function() {}, Rt = nt.measurePerformance && f && f.mark && f.measure ? f : {
2020-03-23 18:53:09 +00:00
mark: Lt,
measure: Lt
2021-08-04 19:09:22 +00:00
}, Tt = 'FA "5.15.4"', _t = function(t) {
2020-03-23 18:53:09 +00:00
Rt.mark("".concat(Tt, " ").concat(t, " ends")), Rt.measure("".concat(Tt, " ").concat(t), "".concat(Tt, " ").concat(t, " begins"), "".concat(Tt, " ").concat(t, " ends"));
2019-07-29 16:25:20 +00:00
}, Dt = {
2018-12-07 21:53:43 +00:00
begin: function(t) {
2020-03-23 18:53:09 +00:00
return Rt.mark("".concat(Tt, " ").concat(t, " begins")), function() {
return _t(t);
2018-12-07 21:53:43 +00:00
};
},
2020-03-23 18:53:09 +00:00
end: _t
2021-01-13 20:23:11 +00:00
}, Yt = function(t, n, e, a) {
2019-07-29 16:25:20 +00:00
var r, i, o, c, s, l = Object.keys(t), f = l.length, u = void 0 !== a ? (c = n,
s = a, function(t, n, e, a) {
return c.call(s, t, n, e, a);
2018-12-07 21:53:43 +00:00
}) : n;
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;
2019-01-28 20:03:10 +00:00
};
2021-01-13 20:23:11 +00:00
function Ht(t) {
2019-05-07 17:37:12 +00:00
for (var n = "", e = 0; e < t.length; e++) {
n += ("000" + t.charCodeAt(e).toString(16)).slice(-4);
}
return n;
}
2021-01-13 20:23:11 +00:00
var Ft = B.styles, Xt = B.shims, Bt = {}, Ut = {}, Wt = {}, qt = function() {
2018-12-07 21:53:43 +00:00
var t = function(a) {
2021-01-13 20:23:11 +00:00
return Yt(Ft, function(t, n, e) {
return t[e] = Yt(n, a, {}), t;
2018-12-07 21:53:43 +00:00
}, {});
};
2021-01-13 20:23:11 +00:00
Bt = t(function(t, n, e) {
2019-01-28 20:03:10 +00:00
return n[3] && (t[n[3]] = e), t;
2021-01-13 20:23:11 +00:00
}), Ut = t(function(n, t, e) {
2018-12-07 21:53:43 +00:00
var a = t[2];
return n[e] = e, a.forEach(function(t) {
n[t] = e;
}), n;
});
2021-01-13 20:23:11 +00:00
var i = "far" in Ft;
Wt = Yt(Xt, function(t, n) {
2018-12-07 21:53:43 +00:00
var e = n[0], a = n[1], r = n[2];
return "far" !== a || i || (a = "fas"), t[e] = {
prefix: a,
iconName: r
}, t;
}, {});
};
2021-01-13 20:23:11 +00:00
function Vt(t, n) {
return (Bt[t] || {})[n];
2018-12-07 21:53:43 +00:00
}
2019-05-07 17:37:12 +00:00
qt();
2021-01-13 20:23:11 +00:00
var Gt = B.styles, Kt = function() {
2018-12-07 21:53:43 +00:00
return {
prefix: null,
iconName: null,
rest: []
};
};
2019-07-29 16:25:20 +00:00
function Jt(t) {
2018-12-07 21:53:43 +00:00
return t.reduce(function(t, n) {
2020-09-29 13:24:01 +00:00
var e = Mt(nt.familyPrefix, n);
2021-01-13 20:23:11 +00:00
if (Gt[n]) t.prefix = n; else if (nt.autoFetchSvg && -1 < Object.keys(z).indexOf(n)) t.prefix = n; else if (e) {
2019-07-29 16:25:20 +00:00
var a = "fa" === t.prefix ? Wt[e] || {
2018-12-07 21:53:43 +00:00
prefix: null,
iconName: null
} : {};
t.iconName = a.iconName || e, t.prefix = a.prefix || t.prefix;
2020-09-29 13:24:01 +00:00
} else n !== nt.replacementClass && 0 !== n.indexOf("fa-w-") && t.rest.push(n);
2018-12-07 21:53:43 +00:00
return t;
2021-01-13 20:23:11 +00:00
}, Kt());
2018-12-07 21:53:43 +00:00
}
2019-07-29 16:25:20 +00:00
function Qt(t, n, e) {
2018-12-07 21:53:43 +00:00
if (t && t[n] && t[n][e]) return {
prefix: n,
iconName: e,
icon: t[n][e]
};
}
2019-07-29 16:25:20 +00:00
function Zt(t) {
2018-12-07 21:53:43 +00:00
var e, n = t.tag, a = t.attributes, r = void 0 === a ? {} : a, i = t.children, o = void 0 === i ? [] : i;
2019-07-29 16:25:20 +00:00
return "string" == typeof t ? Ot(t) : "<".concat(n, " ").concat((e = r, Object.keys(e || {}).reduce(function(t, n) {
return t + "".concat(n, '="').concat(Ot(e[n]), '" ');
}, "").trim()), ">").concat(o.map(Zt).join(""), "</").concat(n, ">");
2018-12-07 21:53:43 +00:00
}
2019-07-29 16:25:20 +00:00
var $t = function() {};
function tn(t) {
2020-09-29 13:24:01 +00:00
return "string" == typeof (t.getAttribute ? t.getAttribute(tt) : null);
2018-12-07 21:53:43 +00:00
}
2019-07-29 16:25:20 +00:00
var nn = {
2018-12-07 21:53:43 +00:00
replace: function(t) {
var n = t[0], e = t[1].map(function(t) {
2019-07-29 16:25:20 +00:00
return Zt(t);
2018-12-07 21:53:43 +00:00
}).join("\n");
2020-09-29 13:24:01 +00:00
if (n.parentNode && n.outerHTML) n.outerHTML = e + (nt.keepOriginalSource && "svg" !== n.tagName.toLowerCase() ? "\x3c!-- ".concat(n.outerHTML, " Font Awesome fontawesome.com --\x3e") : ""); else if (n.parentNode) {
2018-12-07 21:53:43 +00:00
var a = document.createElement("span");
n.parentNode.replaceChild(a, n), a.outerHTML = e;
}
},
nest: function(t) {
var n = t[0], e = t[1];
2020-09-29 13:24:01 +00:00
if (~Ct(n).indexOf(nt.replacementClass)) return nn.replace(t);
var a = new RegExp("".concat(nt.familyPrefix, "-.*"));
2019-09-18 17:14:39 +00:00
delete e[0].attributes.style, delete e[0].attributes.id;
2018-12-07 21:53:43 +00:00
var r = e[0].attributes.class.split(" ").reduce(function(t, n) {
2020-09-29 13:24:01 +00:00
return n === nt.replacementClass || n.match(a) ? t.toSvg.push(n) : t.toNode.push(n),
2018-12-07 21:53:43 +00:00
t;
}, {
toNode: [],
toSvg: []
});
e[0].attributes.class = r.toSvg.join(" ");
var i = e.map(function(t) {
2019-07-29 16:25:20 +00:00
return Zt(t);
2018-12-07 21:53:43 +00:00
}).join("\n");
2020-09-29 13:24:01 +00:00
n.setAttribute("class", r.toNode.join(" ")), n.setAttribute(tt, ""), n.innerHTML = i;
2018-12-07 21:53:43 +00:00
}
};
2019-07-29 16:25:20 +00:00
function en(t) {
2019-03-19 22:45:20 +00:00
t();
}
2019-07-29 16:25:20 +00:00
function an(e, t) {
var a = "function" == typeof t ? t : $t;
2019-03-19 22:45:20 +00:00
if (0 === e.length) a(); else {
2019-07-29 16:25:20 +00:00
var n = en;
2020-09-29 13:24:01 +00:00
nt.mutateApproach === P && (n = v.requestAnimationFrame || en), n(function() {
var t = !0 === nt.autoReplaceSvg ? nn.replace : nn[nt.autoReplaceSvg] || nn.replace, n = Dt.begin("mutate");
2019-03-19 22:45:20 +00:00
e.map(t), n(), a();
});
}
2018-12-07 21:53:43 +00:00
}
2019-07-29 16:25:20 +00:00
var rn = !1;
function on() {
rn = !1;
2019-01-28 20:03:10 +00:00
}
2019-07-29 16:25:20 +00:00
var cn = null;
function sn(t) {
2020-09-29 13:24:01 +00:00
if (l && nt.observeMutations) {
var r = t.treeCallback, i = t.nodeCallback, o = t.pseudoElementsCallback, n = t.observeMutationsRoot, e = void 0 === n ? b : n;
2019-07-29 16:25:20 +00:00
cn = new l(function(t) {
rn || At(t).forEach(function(t) {
2020-09-29 13:24:01 +00:00
if ("childList" === t.type && 0 < t.addedNodes.length && !tn(t.addedNodes[0]) && (nt.searchPseudoElements && o(t.target),
r(t.target)), "attributes" === t.type && t.target.parentNode && nt.searchPseudoElements && o(t.target.parentNode),
2020-03-23 18:53:09 +00:00
"attributes" === t.type && tn(t.target) && ~_.indexOf(t.attributeName)) if ("class" === t.attributeName) {
2019-07-29 16:25:20 +00:00
var n = Jt(Ct(t.target)), e = n.prefix, a = n.iconName;
2018-12-07 21:53:43 +00:00
e && t.target.setAttribute("data-prefix", e), a && t.target.setAttribute("data-icon", a);
} else i(t.target);
});
2020-03-23 18:53:09 +00:00
}), m && cn.observe(e, {
2018-12-07 21:53:43 +00:00
childList: !0,
attributes: !0,
characterData: !0,
subtree: !0
});
}
}
2019-07-29 16:25:20 +00:00
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));
2018-12-07 21:53:43 +00:00
return a && r && (o.prefix = a, o.iconName = r), o.prefix && 1 < i.length ? o.iconName = (n = o.prefix,
2021-01-13 20:23:11 +00:00
e = t.innerText, (Ut[n] || {})[e]) : o.prefix && 1 === i.length && (o.iconName = Vt(o.prefix, Ht(t.innerText))),
2018-12-07 21:53:43 +00:00
o;
}
2019-07-29 16:25:20 +00:00
var fn = function(t) {
2018-12-07 21:53:43 +00:00
var n = {
size: 16,
x: 0,
y: 0,
flipX: !1,
flipY: !1,
rotate: 0
};
return t ? t.toLowerCase().split(" ").reduce(function(t, n) {
var e = n.toLowerCase().split("-"), a = e[0], r = e.slice(1).join("-");
if (a && "h" === r) return t.flipX = !0, t;
if (a && "v" === r) return t.flipY = !0, t;
if (r = parseFloat(r), isNaN(r)) return t;
switch (a) {
case "grow":
t.size = t.size + r;
break;
case "shrink":
t.size = t.size - r;
break;
case "left":
t.x = t.x - r;
break;
case "right":
t.x = t.x + r;
break;
case "up":
t.y = t.y - r;
break;
case "down":
t.y = t.y + r;
break;
case "rotate":
t.rotate = t.rotate + r;
}
return t;
}, n) : n;
};
2019-07-29 16:25:20 +00:00
function un(t) {
2020-03-23 18:53:09 +00:00
var n, e, a, r, i, o, c, s, l = ln(t), f = l.iconName, u = l.prefix, d = l.rest, m = (n = t.getAttribute("style"),
2018-12-07 21:53:43 +00:00
e = [], n && (e = n.split(";").reduce(function(t, n) {
var e = n.split(":"), a = e[0], r = e.slice(1);
return a && 0 < r.length && (t[a] = r.join(":").trim()), t;
2020-03-23 18:53:09 +00:00
}, {})), e), p = fn(t.getAttribute("data-fa-transform")), h = null !== (a = t.getAttribute("data-fa-symbol")) && ("" === a || a), g = (i = At((r = t).attributes).reduce(function(t, n) {
2018-12-07 21:53:43 +00:00
return "class" !== t.name && "style" !== t.name && (t[n.name] = n.value), t;
2020-09-29 13:24:01 +00:00
}, {}), o = r.getAttribute("title"), c = r.getAttribute("data-fa-title-id"), nt.autoA11y && (o ? i["aria-labelledby"] = "".concat(nt.replacementClass, "-title-").concat(c || kt()) : (i["aria-hidden"] = "true",
2020-03-23 18:53:09 +00:00
i.focusable = "false")), i), v = (s = t.getAttribute("data-fa-mask")) ? Jt(s.split(" ").map(function(t) {
2018-12-07 21:53:43 +00:00
return t.trim();
2021-01-13 20:23:11 +00:00
})) : Kt();
2018-12-07 21:53:43 +00:00
return {
2020-03-23 18:53:09 +00:00
iconName: f,
2018-12-07 21:53:43 +00:00
title: t.getAttribute("title"),
2020-03-23 18:53:09 +00:00
titleId: t.getAttribute("data-fa-title-id"),
prefix: u,
transform: p,
symbol: h,
mask: v,
maskId: t.getAttribute("data-fa-mask-id"),
2018-12-07 21:53:43 +00:00
extra: {
2020-03-23 18:53:09 +00:00
classes: d,
2018-12-07 21:53:43 +00:00
styles: m,
2020-03-23 18:53:09 +00:00
attributes: g
2018-12-07 21:53:43 +00:00
}
};
}
2020-03-23 18:53:09 +00:00
function dn(t) {
2018-12-07 21:53:43 +00:00
this.name = "MissingIcon", this.message = t || "Icon unavailable", this.stack = new Error().stack;
}
2020-03-23 18:53:09 +00:00
(dn.prototype = Object.create(Error.prototype)).constructor = dn;
var mn = {
2018-12-07 21:53:43 +00:00
fill: "currentColor"
2019-07-29 16:25:20 +00:00
}, pn = {
2018-12-07 21:53:43 +00:00
attributeType: "XML",
repeatCount: "indefinite",
dur: "2s"
2019-07-29 16:25:20 +00:00
}, hn = {
2018-12-07 21:53:43 +00:00
tag: "path",
2020-09-29 13:24:01 +00:00
attributes: $({}, mn, {
2018-12-07 21:53:43 +00:00
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"
})
2020-09-29 13:24:01 +00:00
}, gn = $({}, pn, {
2018-12-07 21:53:43 +00:00
attributeName: "opacity"
2019-07-29 16:25:20 +00:00
}), vn = {
2018-12-07 21:53:43 +00:00
tag: "g",
2019-07-29 16:25:20 +00:00
children: [ hn, {
2018-12-07 21:53:43 +00:00
tag: "circle",
2020-09-29 13:24:01 +00:00
attributes: $({}, mn, {
2018-12-07 21:53:43 +00:00
cx: "256",
cy: "364",
r: "28"
}),
children: [ {
tag: "animate",
2020-09-29 13:24:01 +00:00
attributes: $({}, pn, {
2018-12-07 21:53:43 +00:00
attributeName: "r",
values: "28;14;28;28;14;28;"
})
}, {
tag: "animate",
2020-09-29 13:24:01 +00:00
attributes: $({}, gn, {
2018-12-07 21:53:43 +00:00
values: "1;0;1;1;0;1;"
})
} ]
}, {
tag: "path",
2020-09-29 13:24:01 +00:00
attributes: $({}, mn, {
2018-12-07 21:53:43 +00:00
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",
2020-09-29 13:24:01 +00:00
attributes: $({}, gn, {
2018-12-07 21:53:43 +00:00
values: "1;0;0;0;0;1;"
})
} ]
}, {
tag: "path",
2020-09-29 13:24:01 +00:00
attributes: $({}, mn, {
2018-12-07 21:53:43 +00:00
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",
2020-09-29 13:24:01 +00:00
attributes: $({}, gn, {
2018-12-07 21:53:43 +00:00
values: "0;0;1;1;0;0;"
})
} ]
} ]
2021-01-13 20:23:11 +00:00
}, bn = B.styles;
2019-07-29 16:25:20 +00:00
function yn(t) {
2020-03-23 18:53:09 +00:00
var n = t[0], e = t[1], a = p(t.slice(4), 1)[0];
2019-07-29 16:25:20 +00:00
return {
found: !0,
width: n,
height: e,
icon: Array.isArray(a) ? {
tag: "g",
attributes: {
2020-09-29 13:24:01 +00:00
class: "".concat(nt.familyPrefix, "-").concat(D.GROUP)
2019-07-29 16:25:20 +00:00
},
children: [ {
tag: "path",
attributes: {
2020-09-29 13:24:01 +00:00
class: "".concat(nt.familyPrefix, "-").concat(D.SECONDARY),
2019-07-29 16:25:20 +00:00
fill: "currentColor",
d: a[0]
}
}, {
tag: "path",
attributes: {
2020-09-29 13:24:01 +00:00
class: "".concat(nt.familyPrefix, "-").concat(D.PRIMARY),
2019-07-29 16:25:20 +00:00
fill: "currentColor",
d: a[1]
}
} ]
} : {
tag: "path",
attributes: {
fill: "currentColor",
d: a
}
}
};
}
function wn(a, r) {
return new vt(function(t, n) {
2019-01-28 20:03:10 +00:00
var e = {
found: !1,
width: 512,
height: 512,
2019-07-29 16:25:20 +00:00
icon: vn
2018-12-07 21:53:43 +00:00
};
2019-07-29 16:25:20 +00:00
if (a && r && bn[r] && bn[r][a]) return t(yn(bn[r][a]));
2020-09-29 13:24:01 +00:00
a && r && !nt.showMissingIcons ? n(new dn("Icon is missing for prefix ".concat(r, " with icon name ").concat(a))) : t(e);
2019-01-28 20:03:10 +00:00
});
2018-12-07 21:53:43 +00:00
}
2021-01-13 20:23:11 +00:00
var xn = B.styles;
2019-07-29 16:25:20 +00:00
function kn(t) {
2020-03-23 18:53:09 +00:00
var i, n, o, c, s, l, f, u, e, d, m, a = un(t);
return ~a.extra.classes.indexOf(I) ? function(t, n) {
2018-12-07 21:53:43 +00:00
var e = n.title, a = n.transform, r = n.extra, i = null, o = null;
if (k) {
2019-07-29 16:25:20 +00:00
var c = parseInt(getComputedStyle(t).fontSize, 10), s = t.getBoundingClientRect();
i = s.width / c, o = s.height / c;
2018-12-07 21:53:43 +00:00
}
2020-09-29 13:24:01 +00:00
return nt.autoA11y && !e && (r.attributes["aria-hidden"] = "true"), vt.resolve([ t, jt({
2018-12-07 21:53:43 +00:00
content: t.innerHTML,
width: i,
height: o,
transform: a,
title: e,
extra: r,
watchable: !0
2019-01-28 20:03:10 +00:00
}) ]);
2020-03-23 18:53:09 +00:00
}(t, a) : (i = t, o = (n = a).iconName, c = n.title, s = n.titleId, l = n.prefix,
f = n.transform, u = n.symbol, e = n.mask, d = n.maskId, m = n.extra, new vt(function(r, t) {
vt.all([ wn(o, l), wn(e.iconName, e.prefix) ]).then(function(t) {
var n = p(t, 2), e = n[0], a = n[1];
r([ i, It({
2019-01-28 20:03:10 +00:00
icons: {
main: e,
mask: a
},
2020-03-23 18:53:09 +00:00
prefix: l,
2019-01-28 20:03:10 +00:00
iconName: o,
2020-03-23 18:53:09 +00:00
transform: f,
symbol: u,
2019-01-28 20:03:10 +00:00
mask: a,
2020-03-23 18:53:09 +00:00
maskId: d,
2019-07-29 16:25:20 +00:00
title: c,
2020-03-23 18:53:09 +00:00
titleId: s,
extra: m,
2019-01-28 20:03:10 +00:00
watchable: !0
}) ]);
});
}));
2018-12-07 21:53:43 +00:00
}
2019-07-29 16:25:20 +00:00
function An(t) {
2019-01-28 20:03:10 +00:00
var e = 1 < arguments.length && void 0 !== arguments[1] ? arguments[1] : null;
2020-03-23 18:53:09 +00:00
if (m) {
2020-09-29 13:24:01 +00:00
var n = b.documentElement.classList, a = function(t) {
2019-07-29 16:25:20 +00:00
return n.add("".concat(O, "-").concat(t));
2018-12-07 21:53:43 +00:00
}, r = function(t) {
2019-07-29 16:25:20 +00:00
return n.remove("".concat(O, "-").concat(t));
2020-09-29 13:24:01 +00:00
}, i = nt.autoFetchSvg ? Object.keys(z) : Object.keys(xn), o = [ ".".concat(I, ":not([").concat(tt, "])") ].concat(i.map(function(t) {
return ".".concat(t, ":not([").concat(tt, "])");
2018-12-07 21:53:43 +00:00
})).join(", ");
if (0 !== o.length) {
2019-07-29 16:25:20 +00:00
var c = [];
2019-05-07 17:37:12 +00:00
try {
2019-07-29 16:25:20 +00:00
c = At(t.querySelectorAll(o));
2019-05-07 17:37:12 +00:00
} catch (t) {}
2019-07-29 16:25:20 +00:00
if (0 < c.length) {
2018-12-07 21:53:43 +00:00
a("pending"), r("complete");
2019-07-29 16:25:20 +00:00
var s = Dt.begin("onTree"), l = c.reduce(function(t, n) {
2018-12-07 21:53:43 +00:00
try {
2019-07-29 16:25:20 +00:00
var e = kn(n);
2018-12-07 21:53:43 +00:00
e && t.push(e);
} catch (t) {
2020-03-23 18:53:09 +00:00
N || t instanceof dn && console.error(t);
2018-12-07 21:53:43 +00:00
}
return t;
}, []);
2019-07-29 16:25:20 +00:00
return new vt(function(n, t) {
vt.all(l).then(function(t) {
an(t, function() {
a("active"), a("complete"), r("pending"), "function" == typeof e && e(), s(), n();
2019-01-28 20:03:10 +00:00
});
2019-02-01 19:17:32 +00:00
}).catch(function() {
2019-07-29 16:25:20 +00:00
s(), t();
2019-02-01 19:17:32 +00:00
});
2018-12-07 21:53:43 +00:00
});
}
}
}
}
2019-07-29 16:25:20 +00:00
function Cn(t) {
2019-01-28 20:03:10 +00:00
var n = 1 < arguments.length && void 0 !== arguments[1] ? arguments[1] : null;
2019-07-29 16:25:20 +00:00
kn(t).then(function(t) {
t && an([ t ], n);
2019-01-28 20:03:10 +00:00
});
}
2020-09-29 13:24:01 +00:00
function Mn(p, h) {
var g = "".concat(x).concat(h.replace(":", "-"));
2019-07-29 16:25:20 +00:00
return new vt(function(a, t) {
2020-09-29 13:24:01 +00:00
if (null !== p.getAttribute(g)) return a();
var n = At(p.children).filter(function(t) {
return t.getAttribute(w) === h;
})[0], e = v.getComputedStyle(p, h), r = e.getPropertyValue("font-family").match(j), i = e.getPropertyValue("font-weight"), o = e.getPropertyValue("content");
if (n && !r) return p.removeChild(n), a();
2020-02-05 14:36:40 +00:00
if (r && "none" !== o && "" !== o) {
2021-01-13 20:23:11 +00:00
var c = e.getPropertyValue("content"), s = ~[ "Solid", "Regular", "Light", "Duotone", "Brands", "Kit" ].indexOf(r[2]) ? E[r[2].toLowerCase()] : L[i], l = Ht(3 === c.length ? c.substr(1, 1) : c), f = Vt(s, l), u = f;
2020-09-29 13:24:01 +00:00
if (!f || n && n.getAttribute(C) === s && n.getAttribute(M) === u) a(); else {
p.setAttribute(g, u), n && p.removeChild(n);
var d = {
2019-01-28 20:03:10 +00:00
iconName: null,
title: null,
2020-03-23 18:53:09 +00:00
titleId: null,
2019-01-28 20:03:10 +00:00
prefix: null,
2019-07-29 16:25:20 +00:00
transform: yt,
2019-01-28 20:03:10 +00:00
symbol: !1,
mask: null,
2020-03-23 18:53:09 +00:00
maskId: null,
2019-01-28 20:03:10 +00:00
extra: {
classes: [],
styles: {},
attributes: {}
}
2020-09-29 13:24:01 +00:00
}, m = d.extra;
m.attributes[w] = h, wn(f, s).then(function(t) {
var n = It($({}, d, {
2019-01-28 20:03:10 +00:00
icons: {
main: t,
2021-01-13 20:23:11 +00:00
mask: Kt()
2019-01-28 20:03:10 +00:00
},
2020-09-29 13:24:01 +00:00
prefix: s,
iconName: u,
extra: m,
2019-01-28 20:03:10 +00:00
watchable: !0
2020-09-29 13:24:01 +00:00
})), e = b.createElement("svg");
":before" === h ? p.insertBefore(e, p.firstChild) : p.appendChild(e), e.outerHTML = n.map(function(t) {
2019-07-29 16:25:20 +00:00
return Zt(t);
2020-09-29 13:24:01 +00:00
}).join("\n"), p.removeAttribute(g), a();
2019-01-28 20:03:10 +00:00
}).catch(t);
}
} else a();
});
}
2019-07-29 16:25:20 +00:00
function On(t) {
return vt.all([ Mn(t, ":before"), Mn(t, ":after") ]);
2018-12-07 21:53:43 +00:00
}
2020-09-29 13:24:01 +00:00
function Pn(t) {
return !(t.parentNode === document.head || ~S.indexOf(t.tagName.toUpperCase()) || t.getAttribute(w) || t.parentNode && "svg" === t.parentNode.tagName);
2019-01-28 20:03:10 +00:00
}
2020-09-29 13:24:01 +00:00
function Sn(r) {
2020-03-23 18:53:09 +00:00
if (m) return new vt(function(t, n) {
2020-09-29 13:24:01 +00:00
var e = At(r.querySelectorAll("*")).filter(Pn).map(On), a = Dt.begin("searchPseudoElements");
2019-07-29 16:25:20 +00:00
rn = !0, vt.all(e).then(function() {
a(), on(), t();
2019-01-28 20:03:10 +00:00
}).catch(function() {
2019-07-29 16:25:20 +00:00
a(), on(), n();
2019-01-28 20:03:10 +00:00
});
});
}
2019-07-29 16:25:20 +00:00
var Nn = 'svg:not(:root).svg-inline--fa {\n overflow: visible;\n}\n\n.svg-inline--fa {\n display: inline-block;\n font-size: inherit;\n height: 1em;\n overflow: visible;\n vertical-align: -0.125em;\n}\n.svg-inline--fa.fa-lg {\n vertical-align: -0.225em;\n}\n.svg-inline--fa.fa-w-1 {\n width: 0.0625em;\n}\n.svg-inline--fa.fa-w-2 {\n width: 0.125em;\n}\n.svg-inline--fa.fa-w-3 {\n width: 0.1875em;\n}\n.svg-inline--fa.fa-w-4 {\n width: 0.25em;\n}\n.svg-inline--fa.fa-w-5 {\n width: 0.3125em;\n}\n.svg-inline--fa.fa-w-6 {\n width: 0.375em;\n}\n.svg-inline--fa.fa-w-7 {\n width: 0.4375em;\n}\n.svg-inline--fa.fa-w-8 {\n width: 0.5em;\n}\n.svg-inline--fa.fa-w-9 {\n width: 0.5625em;\n}\n.svg-inline--fa.fa-w-10 {\n width: 0.625em;\n}\n.svg-inline--fa.fa-w-11 {\n width: 0.6875em;\n}\n.svg-inline--fa.fa-w-12 {\n width: 0.75em;\n}\n.svg-inline--fa.fa-w-13 {\n width: 0.8125em;\n}\n.svg-inline--fa.fa-w-14 {\n width: 0.875em;\n}\n.svg-inline--fa.fa-w-15 {\n width: 0.9375em;\n}\n.svg-inline--fa.fa-w-16 {\n width: 1em;\n}\n.svg-inline--fa.fa-w-17 {\n width: 1.0625em;\n}\n.svg-inline--fa.fa-w-18 {\n width: 1.125em;\n}\n.svg-inline--fa.fa-w-19 {\n width: 1.1875em;\n}\n.svg-inline--fa.fa-w-20 {\n width: 1.25em;\n}\n.svg-inline--fa.fa-pull-left {\n margin-right: 0.3em;\n width: auto;\n}\n.svg-inline--fa.fa-pull-right {\n margin-left: 0.3em;\n width: auto;\n}\n.svg-inline--fa.fa-border {\n height: 1.5em;\n}\n.svg-inline--fa.fa-li {\n width: 2em;\n}\n.svg-inline--fa.fa-fw {\n width: 1.25em;\n}\n\n.fa-layers svg.svg-inline--fa {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n}\n\n.fa-layers {\n display: inline-block;\n height: 1em;\n position: relative;\n text-align: center;\n vertical-align: -0.125em;\n width: 1em;\n}\n.fa-layers svg.svg-inline--fa {\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-counter, .fa-layers-text {\n display: inline-block;\n position: absolute;\n text-align: center;\n}\n\n.fa-layers-text {\n left: 50%;\n top: 50%;\n -webkit-transform: translate(-50%, -50%);\n transform: translate(-50%, -50%);\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-counter {\n background-color: #ff253a;\n border-radius: 1em;\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n color: #fff;\n height: 1.5em;\n line-height: 1;\n max-width: 5em;\n min-width: 1.5em;\n overflow: hidden;\n padding: 0.25em;\n right: 0;\n text-overflow: ellipsis;\n top: 0;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-bottom-right {\n bottom: 0;\n right: 0;\n top: auto;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: bottom right;\n transform-origin: bottom right;\n}\n\n.fa-layers-bottom-left {\n bottom: 0;\n left: 0;\n right: auto;\n top: auto;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: bottom left;\n transform-origin: bottom left;\n}\n\n.fa-layers-top-right {\n right: 0;\n top: 0;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-top-left {\n left: 0;\n right: auto;\n top: 0;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: top left;\n transform-origin: top left;\n}\n\n.fa-lg {\n font-size: 1.3333333333em;\n line-height: 0.75em;\n vertical-align: -0.0667em;\n}\n\n.fa-xs {\n font-size: 0.75em;\n}\n\n.fa-sm {\n font-size: 0.875em;\n}\n\n.fa-1x {\n font-size: 1em;\n}\n\n.fa-2x {\n font-size: 2em;\n}\n\n.fa-3x {\n font-size: 3em;\n}\n\n.fa-4x {\n font-size: 4em;\n}\n\n.fa-5x {\n font-size: 5em;\n}\n\n.fa-6x {\n font-size: 6em;\n}\n\n.fa-7x {\n font-size: 7em;\n}\n\n.fa-8x {\n font-size: 8em;\n
function zn() {
2020-09-29 13:24:01 +00:00
var t = g, n = y, e = nt.familyPrefix, a = nt.replacementClass, r = Nn;
2018-12-07 21:53:43 +00:00
if (e !== t || a !== n) {
2019-07-29 16:25:20 +00:00
var i = new RegExp("\\.".concat(t, "\\-"), "g"), o = new RegExp("\\--".concat(t, "\\-"), "g"), c = new RegExp("\\.".concat(n), "g");
r = r.replace(i, ".".concat(e, "-")).replace(o, "--".concat(e, "-")).replace(c, ".".concat(a));
2018-12-07 21:53:43 +00:00
}
return r;
}
2019-07-29 16:25:20 +00:00
function En() {
2020-09-29 13:24:01 +00:00
nt.autoAddCss && !Tn && (wt(zn()), Tn = !0);
2018-12-07 21:53:43 +00:00
}
2020-03-23 18:53:09 +00:00
function In(n, t) {
2018-12-07 21:53:43 +00:00
return Object.defineProperty(n, "abstract", {
get: t
}), Object.defineProperty(n, "html", {
get: function() {
return n.abstract.map(function(t) {
2019-07-29 16:25:20 +00:00
return Zt(t);
2018-12-07 21:53:43 +00:00
});
}
}), Object.defineProperty(n, "node", {
get: function() {
2020-03-23 18:53:09 +00:00
if (m) {
2020-09-29 13:24:01 +00:00
var t = b.createElement("div");
2018-12-07 21:53:43 +00:00
return t.innerHTML = n.html, t.children;
}
}
}), n;
}
2020-03-23 18:53:09 +00:00
function jn(t) {
2018-12-07 21:53:43 +00:00
var n = t.prefix, e = void 0 === n ? "fa" : n, a = t.iconName;
2021-01-13 20:23:11 +00:00
if (a) return Qt(Rn.definitions, e, a) || Qt(B.styles, e, a);
2018-12-07 21:53:43 +00:00
}
2020-03-23 18:53:09 +00:00
var Ln, Rn = new (function() {
2018-12-07 21:53:43 +00:00
function t() {
!function(t, n) {
if (!(t instanceof n)) throw new TypeError("Cannot call a class as a function");
}(this, t), this.definitions = {};
}
var n, e, a;
return n = t, (e = [ {
key: "add",
value: function() {
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) {
2020-09-29 13:24:01 +00:00
n.definitions[t] = $({}, n.definitions[t] || {}, r[t]), function t(n, a) {
2019-01-28 20:03:10 +00:00
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) {
2018-12-07 21:53:43 +00:00
var e = a[n];
return e.icon ? t[e.iconName] = e.icon : t[n] = e, t;
}, {});
2021-01-13 20:23:11 +00:00
"function" != typeof B.hooks.addPack || r ? B.styles[n] = $({}, B.styles[n] || {}, i) : B.hooks.addPack(n, i),
2018-12-07 21:53:43 +00:00
"fas" === n && t("fa", a);
2019-05-07 17:37:12 +00:00
}(t, r[t]), qt();
2018-12-07 21:53:43 +00:00
});
}
}, {
key: "reset",
value: function() {
this.definitions = {};
}
}, {
key: "_pullDefinitions",
value: function(i, t) {
var o = t.prefix && t.iconName && t.icon ? {
0: t
} : t;
return Object.keys(o).map(function(t) {
var n = o[t], e = n.prefix, a = n.iconName, r = n.icon;
i[e] || (i[e] = {}), i[e][a] = r;
}), i;
}
2020-09-29 13:24:01 +00:00
} ]) && i(n.prototype, e), a && i(n, a), t;
2020-03-23 18:53:09 +00:00
}())(), Tn = !1, _n = {
2018-12-07 21:53:43 +00:00
i2svg: function() {
var t = 0 < arguments.length && void 0 !== arguments[0] ? arguments[0] : {};
2020-03-23 18:53:09 +00:00
if (m) {
2019-07-29 16:25:20 +00:00
En();
2020-09-29 13:24:01 +00:00
var n = t.node, e = void 0 === n ? b : n, a = t.callback, r = void 0 === a ? function() {} : a;
return nt.searchPseudoElements && Sn(e), An(e, r);
2018-12-07 21:53:43 +00:00
}
2019-07-29 16:25:20 +00:00
return vt.reject("Operation requires a DOM of some kind.");
2018-12-07 21:53:43 +00:00
},
2019-07-29 16:25:20 +00:00
css: zn,
2018-12-07 21:53:43 +00:00
insertCss: function() {
2020-03-23 18:53:09 +00:00
Tn || (wt(zn()), Tn = !0);
2018-12-07 21:53:43 +00:00
},
watch: function() {
var t = 0 < arguments.length && void 0 !== arguments[0] ? arguments[0] : {}, n = t.autoReplaceSvgRoot, e = t.observeMutationsRoot;
2020-09-29 13:24:01 +00:00
!1 === nt.autoReplaceSvg && (nt.autoReplaceSvg = !0), nt.observeMutations = !0,
q(function() {
2021-01-13 20:23:11 +00:00
Hn({
2018-12-07 21:53:43 +00:00
autoReplaceSvgRoot: n
2019-07-29 16:25:20 +00:00
}), sn({
treeCallback: An,
nodeCallback: Cn,
2020-09-29 13:24:01 +00:00
pseudoElementsCallback: Sn,
2018-12-07 21:53:43 +00:00
observeMutationsRoot: e
});
});
}
2020-03-23 18:53:09 +00:00
}, Dn = (Ln = function(t) {
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.maskId, l = void 0 === s ? null : s, f = n.title, u = void 0 === f ? null : f, d = n.titleId, m = void 0 === d ? null : d, p = n.classes, h = void 0 === p ? [] : p, g = n.attributes, v = void 0 === g ? {} : g, b = n.styles, y = void 0 === b ? {} : b;
2018-12-07 21:53:43 +00:00
if (t) {
2020-03-23 18:53:09 +00:00
var w = t.prefix, x = t.iconName, k = t.icon;
2020-09-29 13:24:01 +00:00
return In($({
2018-12-07 21:53:43 +00:00
type: "icon"
}, t), function() {
2020-09-29 13:24:01 +00:00
return En(), nt.autoA11y && (u ? v["aria-labelledby"] = "".concat(nt.replacementClass, "-title-").concat(m || kt()) : (v["aria-hidden"] = "true",
2020-03-23 18:53:09 +00:00
v.focusable = "false")), It({
2018-12-07 21:53:43 +00:00
icons: {
2020-03-23 18:53:09 +00:00
main: yn(k),
2019-07-29 16:25:20 +00:00
mask: c ? yn(c.icon) : {
2018-12-07 21:53:43 +00:00
found: !1,
width: null,
height: null,
icon: {}
}
},
2020-03-23 18:53:09 +00:00
prefix: w,
iconName: x,
2020-09-29 13:24:01 +00:00
transform: $({}, yt, a),
2018-12-07 21:53:43 +00:00
symbol: i,
2020-03-23 18:53:09 +00:00
title: u,
maskId: l,
titleId: m,
2018-12-07 21:53:43 +00:00
extra: {
2020-03-23 18:53:09 +00:00
attributes: v,
styles: y,
classes: h
2018-12-07 21:53:43 +00:00
}
});
});
}
}, function(t) {
2020-03-23 18:53:09 +00:00
var n = 1 < arguments.length && void 0 !== arguments[1] ? arguments[1] : {}, e = (t || {}).icon ? t : jn(t || {}), a = n.mask;
2020-09-29 13:24:01 +00:00
return a && (a = (a || {}).icon ? a : jn(a || {})), Ln(e, $({}, n, {
2018-12-07 21:53:43 +00:00
mask: a
}));
2021-01-13 20:23:11 +00:00
}), Yn = {
2018-12-07 21:53:43 +00:00
noAuto: function() {
2020-09-29 13:24:01 +00:00
nt.autoReplaceSvg = !1, nt.observeMutations = !1, cn && cn.disconnect();
2018-12-07 21:53:43 +00:00
},
2020-09-29 13:24:01 +00:00
config: nt,
2020-03-23 18:53:09 +00:00
dom: _n,
library: Rn,
2018-12-07 21:53:43 +00:00
parse: {
transform: function(t) {
2019-07-29 16:25:20 +00:00
return fn(t);
2018-12-07 21:53:43 +00:00
}
},
2020-03-23 18:53:09 +00:00
findIconDefinition: jn,
2019-07-29 16:25:20 +00:00
icon: Dn,
2018-12-07 21:53:43 +00:00
text: function(t) {
2019-07-29 16:25:20 +00:00
var n = 1 < arguments.length && void 0 !== arguments[1] ? arguments[1] : {}, e = n.transform, a = void 0 === e ? yt : e, r = n.title, i = void 0 === r ? null : r, o = n.classes, c = void 0 === o ? [] : o, s = n.attributes, l = void 0 === s ? {} : s, f = n.styles, u = void 0 === f ? {} : f;
2020-03-23 18:53:09 +00:00
return In({
2018-12-07 21:53:43 +00:00
type: "text",
content: t
}, function() {
2020-03-23 18:53:09 +00:00
return En(), jt({
2018-12-07 21:53:43 +00:00
content: t,
2020-09-29 13:24:01 +00:00
transform: $({}, yt, a),
2018-12-07 21:53:43 +00:00
title: i,
extra: {
attributes: l,
styles: u,
2020-09-29 13:24:01 +00:00
classes: [ "".concat(nt.familyPrefix, "-layers-text") ].concat(d(c))
2018-12-07 21:53:43 +00:00
}
});
});
},
counter: function(t) {
2019-07-29 16:25:20 +00:00
var n = 1 < arguments.length && void 0 !== arguments[1] ? arguments[1] : {}, e = n.title, a = void 0 === e ? null : e, r = n.classes, i = void 0 === r ? [] : r, o = n.attributes, c = void 0 === o ? {} : o, s = n.styles, l = void 0 === s ? {} : s;
2020-03-23 18:53:09 +00:00
return In({
2018-12-07 21:53:43 +00:00
type: "counter",
content: t
}, function() {
2019-07-29 16:25:20 +00:00
return En(), function(t) {
2020-09-29 13:24:01 +00:00
var n = t.content, e = t.title, a = t.extra, r = $({}, a.attributes, e ? {
2018-12-07 21:53:43 +00:00
title: e
} : {}, {
class: a.classes.join(" ")
2020-09-29 13:24:01 +00:00
}), i = Pt(a.styles);
2018-12-07 21:53:43 +00:00
0 < i.length && (r.style = i);
var o = [];
return o.push({
tag: "span",
attributes: r,
children: [ n ]
}), e && o.push({
tag: "span",
attributes: {
class: "sr-only"
},
children: [ e ]
}), o;
}({
content: t.toString(),
title: a,
extra: {
2019-07-29 16:25:20 +00:00
attributes: c,
2018-12-07 21:53:43 +00:00
styles: l,
2020-09-29 13:24:01 +00:00
classes: [ "".concat(nt.familyPrefix, "-layers-counter") ].concat(d(i))
2018-12-07 21:53:43 +00:00
}
});
});
},
layer: function(t) {
2019-08-22 20:37:41 +00:00
var n = (1 < arguments.length && void 0 !== arguments[1] ? arguments[1] : {}).classes, e = void 0 === n ? [] : n;
2020-03-23 18:53:09 +00:00
return In({
2018-12-07 21:53:43 +00:00
type: "layer"
}, function() {
2019-07-29 16:25:20 +00:00
En();
2018-12-07 21:53:43 +00:00
var n = [];
return t(function(t) {
Array.isArray(t) ? t.map(function(t) {
n = n.concat(t.abstract);
}) : n = n.concat(t.abstract);
}), [ {
tag: "span",
attributes: {
2020-09-29 13:24:01 +00:00
class: [ "".concat(nt.familyPrefix, "-layers") ].concat(d(e)).join(" ")
2018-12-07 21:53:43 +00:00
},
children: n
} ];
});
},
2019-07-29 16:25:20 +00:00
toHtml: Zt
2021-01-13 20:23:11 +00:00
}, Hn = function() {
2020-09-29 13:24:01 +00:00
var t = (0 < arguments.length && void 0 !== arguments[0] ? arguments[0] : {}).autoReplaceSvgRoot, n = void 0 === t ? b : t;
2021-01-13 20:23:11 +00:00
(0 < Object.keys(B.styles).length || nt.autoFetchSvg) && m && nt.autoReplaceSvg && Yn.dom.i2svg({
2018-12-07 21:53:43 +00:00
node: n
});
};
!function(t) {
try {
t();
} catch (t) {
2019-07-29 16:25:20 +00:00
if (!N) throw t;
2018-12-07 21:53:43 +00:00
}
}(function() {
2021-01-13 20:23:11 +00:00
u && (v.FontAwesome || (v.FontAwesome = Yn), q(function() {
Hn(), sn({
2019-07-29 16:25:20 +00:00
treeCallback: An,
nodeCallback: Cn,
2020-09-29 13:24:01 +00:00
pseudoElementsCallback: Sn
2018-12-07 21:53:43 +00:00
});
2021-01-13 20:23:11 +00:00
})), B.hooks = $({}, B.hooks, {
2018-12-07 21:53:43 +00:00
addPack: function(t, n) {
2021-01-13 20:23:11 +00:00
B.styles[t] = $({}, B.styles[t] || {}, n), qt(), Hn();
2018-12-07 21:53:43 +00:00
},
addShims: function(t) {
var n;
2021-01-13 20:23:11 +00:00
(n = B.shims).push.apply(n, d(t)), qt(), Hn();
2018-12-07 21:53:43 +00:00
}
});
});
}();