872 lines
40 KiB
JavaScript
872 lines
40 KiB
JavaScript
!function() {
|
|
"use strict";
|
|
function t(t) {
|
|
var n = Object.keys(ft);
|
|
Object.keys(t).forEach(function(e) {
|
|
~n.indexOf(e) && (ft[e] = t[e]);
|
|
});
|
|
}
|
|
function n(t) {
|
|
return ~nt.indexOf(t);
|
|
}
|
|
function e(t) {
|
|
if (t && void 0 !== q.createElement) {
|
|
var n = q.createElement("style");
|
|
return n.setAttribute("type", "text/css"), n.innerHTML = t, q.head.appendChild(n),
|
|
t;
|
|
}
|
|
}
|
|
function r() {
|
|
return ++ut;
|
|
}
|
|
function i(t) {
|
|
for (var n = [], e = (t || []).length >>> 0; e--; ) n[e] = t[e];
|
|
return n;
|
|
}
|
|
function a(t, e) {
|
|
var r = e.split("-"), i = r[0], a = r.slice(1).join("-");
|
|
return i !== t || "" === a || n(a) ? null : a;
|
|
}
|
|
function o(t) {
|
|
return ("" + t).replace(/&/g, "&").replace(/"/g, """).replace(/'/g, "'").replace(/</g, "<").replace(/>/g, ">");
|
|
}
|
|
function s(t) {
|
|
return Object.keys(t || {}).reduce(function(n, e) {
|
|
return n + (e + '="') + o(t[e]) + '" ';
|
|
}, "").trim();
|
|
}
|
|
function f(t) {
|
|
return Object.keys(t || {}).reduce(function(n, e) {
|
|
return n + (e + ": ") + t[e] + ";";
|
|
}, "");
|
|
}
|
|
function l(t) {
|
|
return t.size !== ct.size || t.x !== ct.x || t.y !== ct.y || t.rotate !== ct.rotate || t.flipX || t.flipY;
|
|
}
|
|
function c(t) {
|
|
var n = t.transform, e = t.containerWidth, r = t.iconWidth;
|
|
return {
|
|
outer: {
|
|
transform: "translate(" + e / 2 + " 256)"
|
|
},
|
|
inner: {
|
|
transform: "translate(" + 32 * n.x + ", " + 32 * n.y + ") " + " " + ("scale(" + n.size / 16 * (n.flipX ? -1 : 1) + ", " + n.size / 16 * (n.flipY ? -1 : 1) + ") ") + " " + ("rotate(" + n.rotate + " 0 0)")
|
|
},
|
|
path: {
|
|
transform: "translate(" + r / 2 * -1 + " -256)"
|
|
}
|
|
};
|
|
}
|
|
function u(t) {
|
|
var n = t.transform, e = t.width, r = void 0 === e ? K : e, i = t.height, a = void 0 === i ? K : i, o = t.startCentered, s = void 0 !== o && o, f = "";
|
|
return f += s && J ? "translate(" + (n.x / lt - r / 2) + "em, " + (n.y / lt - a / 2) + "em) " : s ? "translate(calc(-50% + " + n.x / lt + "em), calc(-50% + " + n.y / lt + "em)) " : "translate(" + n.x / lt + "em, " + n.y / lt + "em) ",
|
|
f += "scale(" + n.size / lt * (n.flipX ? -1 : 1) + ", " + n.size / lt * (n.flipY ? -1 : 1) + ") ",
|
|
f += "rotate(" + n.rotate + "deg) ";
|
|
}
|
|
function m(t) {
|
|
var n = t.icons, e = n.main, i = n.compose, a = t.prefix, o = t.iconName, s = t.transform, f = t.title, l = t.extra, c = i.found ? i : e, u = c.width, m = c.height, d = "fa-w-" + Math.ceil(u / m * 16), g = [ ft.replacementClass, o ? ft.familyPrefix + "-" + o : "", d ].concat(l.classes).join(" "), p = {
|
|
children: [],
|
|
attributes: it({}, l.attributes, {
|
|
"data-prefix": a,
|
|
"data-icon": o,
|
|
class: g,
|
|
role: "img",
|
|
xmlns: "http://www.w3.org/2000/svg",
|
|
viewBox: "0 0 " + u + " " + m
|
|
})
|
|
};
|
|
f && p.children.push({
|
|
tag: "title",
|
|
attributes: {
|
|
id: p.attributes["aria-labelledby"] || "title-" + r()
|
|
},
|
|
children: [ f ]
|
|
});
|
|
var h = it({}, p, {
|
|
prefix: a,
|
|
iconName: o,
|
|
main: e,
|
|
compose: i,
|
|
transform: s,
|
|
styles: l.styles
|
|
}), v = i.found && e.found ? dt(h) : gt(h), b = v.children, y = v.attributes;
|
|
return h.children = b, h.attributes = y, p.attributes.hasOwnProperty("data-fa-symbol") ? ht(h) : pt(h);
|
|
}
|
|
function d(t) {
|
|
var n = t.content, e = t.width, r = t.height, i = t.transform, a = t.title, o = t.extra, s = it({}, o.attributes, a ? {
|
|
title: a
|
|
} : {}, {
|
|
class: o.classes.join(" ")
|
|
}), c = it({}, o.styles);
|
|
l(i) && (c.transform = u({
|
|
transform: i,
|
|
startCentered: !0,
|
|
width: e,
|
|
height: r
|
|
}), c["-webkit-transform"] = c.transform);
|
|
var m = f(c);
|
|
m.length > 0 && (s.style = m);
|
|
var d = [];
|
|
return d.push({
|
|
tag: "span",
|
|
attributes: s,
|
|
children: [ n ]
|
|
}), a && d.push({
|
|
tag: "span",
|
|
attributes: {
|
|
class: "sr-only"
|
|
},
|
|
children: [ a ]
|
|
}), d;
|
|
}
|
|
function g(t) {
|
|
var n = t.tag, e = t.attributes, r = void 0 === e ? {} : e, i = t.children, a = void 0 === i ? [] : i;
|
|
return "string" == typeof t ? o(t) : "<" + n + " " + s(r) + ">" + a.map(g).join("") + "</" + n + ">";
|
|
}
|
|
function p(t) {
|
|
var n = t.getAttribute ? t.getAttribute("class") : null;
|
|
return !!n && (~n.toString().indexOf(ft.replacementClass) || ~n.toString().indexOf("fa-layers-text"));
|
|
}
|
|
function h() {
|
|
return !0 === ft.autoReplaceSvg ? Mt.replace : Mt[ft.autoReplaceSvg] || Mt.replace;
|
|
}
|
|
function v(t, n) {
|
|
Y.requestAnimationFrame && Y.requestAnimationFrame(function() {
|
|
var e = h(), r = _t.begin("mutate");
|
|
t.map(e), "function" == typeof n && n(), r();
|
|
});
|
|
}
|
|
function b(t) {
|
|
if (U) {
|
|
var n = t.treeCallback, e = t.nodeCallback, r = new U(function(t) {
|
|
i(t).forEach(function(t) {
|
|
"childList" === t.type && t.addedNodes.length > 0 && !p(t.addedNodes[0]) && n(t.target),
|
|
"attributes" === t.type && p(t.target) && ~tt.indexOf(t.attributeName) && e(t.target);
|
|
});
|
|
});
|
|
q.getElementsByTagName && r.observe(q.getElementsByTagName("body")[0], {
|
|
childList: !0,
|
|
attributes: !0,
|
|
characterData: !0,
|
|
subtree: !0
|
|
});
|
|
}
|
|
}
|
|
function y(t, n) {
|
|
return Et[t][n];
|
|
}
|
|
function w(t, n) {
|
|
return Tt[t][n];
|
|
}
|
|
function x(t) {
|
|
return St[t] || {
|
|
prefix: null,
|
|
iconName: null
|
|
};
|
|
}
|
|
function k(t) {
|
|
for (var n = "", e = 0; e < t.length; e++) n += ("000" + t.charCodeAt(e).toString(16)).slice(-4);
|
|
return n;
|
|
}
|
|
function _(t) {
|
|
return t.reduce(function(t, n) {
|
|
var e = a(ft.familyPrefix, n);
|
|
if (jt[n]) t.prefix = n; else if (e) {
|
|
var r = "fa" === t.prefix ? x(e) : {};
|
|
t.iconName = r.iconName || e, t.prefix = r.prefix || t.prefix;
|
|
} else n !== ft.replacementClass && 0 !== n.indexOf("fa-w-") && t.rest.push(n);
|
|
return t;
|
|
}, It());
|
|
}
|
|
function M(t, n, e) {
|
|
if (t && t[n] && t[n][e]) return {
|
|
prefix: n,
|
|
iconName: e,
|
|
icon: t[n][e]
|
|
};
|
|
}
|
|
function O(t) {
|
|
var n = Pt(t), e = n.iconName, r = n.prefix, i = n.rest, a = Ot(t), o = Wt(t), s = Xt(t), f = Dt(t);
|
|
return {
|
|
iconName: e,
|
|
title: t.getAttribute("title"),
|
|
prefix: r,
|
|
transform: o,
|
|
compose: f,
|
|
extra: {
|
|
classes: i,
|
|
styles: a,
|
|
attributes: s
|
|
}
|
|
};
|
|
}
|
|
function z(t) {
|
|
this.name = "MissingIcon", this.message = t || "Icon unavailable", this.stack = new Error().stack;
|
|
}
|
|
function A(t, n) {
|
|
var e = {
|
|
found: !1,
|
|
width: 512,
|
|
height: 512,
|
|
icon: qt
|
|
};
|
|
if (t && n && Ut[n] && Ut[n][t]) {
|
|
var r = Ut[n][t];
|
|
e = {
|
|
found: !0,
|
|
width: r[0],
|
|
height: r[1],
|
|
icon: {
|
|
tag: "path",
|
|
attributes: {
|
|
fill: "currentColor",
|
|
d: r.slice(4)[0]
|
|
}
|
|
}
|
|
};
|
|
} else if (t && n && !ft.showMissingIcons) throw new z("Icon is missing for prefix " + n + " with icon name " + t);
|
|
return e;
|
|
}
|
|
function C(t, n) {
|
|
var e = n.iconName, r = n.title, i = n.prefix, a = n.transform, o = n.compose, s = n.extra;
|
|
return [ t, m({
|
|
icons: {
|
|
main: A(e, i),
|
|
compose: A(o.iconName, o.prefix)
|
|
},
|
|
prefix: i,
|
|
iconName: e,
|
|
transform: a,
|
|
compose: o,
|
|
title: r,
|
|
extra: s
|
|
}) ];
|
|
}
|
|
function N(t, n) {
|
|
var e = n.title, r = n.transform, i = n.extra, a = null, o = null;
|
|
if (J) {
|
|
var s = parseInt(getComputedStyle(t).fontSize, 10), f = t.getBoundingClientRect();
|
|
a = f.width / s, o = f.height / s;
|
|
}
|
|
return ft.autoA11y && !e && (i.attributes["aria-hidden"] = "true"), [ t, d({
|
|
content: t.innerHTML,
|
|
width: a,
|
|
height: o,
|
|
transform: r,
|
|
title: e,
|
|
extra: i
|
|
}) ];
|
|
}
|
|
function E(t) {
|
|
var n = O(t);
|
|
return ~n.extra.classes.indexOf(Vt) ? N(t, n) : C(t, n);
|
|
}
|
|
function T(t) {
|
|
var n = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : null, e = Object.keys(Ut), r = [ "." + Vt ].concat(e.map(function(t) {
|
|
return "." + t;
|
|
})).join(", ");
|
|
if (0 !== r.length) {
|
|
var a = _t.begin("onTree"), o = i(t.querySelectorAll(r)).reduce(function(t, n) {
|
|
try {
|
|
var e = E(n);
|
|
e && t.push(e);
|
|
} catch (t) {
|
|
Q || t instanceof z && console.error(t);
|
|
}
|
|
return t;
|
|
}, []);
|
|
a(), v(o, n);
|
|
}
|
|
}
|
|
function S(t) {
|
|
var n = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : null, e = E(t);
|
|
e && v([ e ], n);
|
|
}
|
|
function L(t) {
|
|
return {
|
|
found: !0,
|
|
width: t[0],
|
|
height: t[1],
|
|
icon: {
|
|
tag: "path",
|
|
attributes: {
|
|
fill: "currentColor",
|
|
d: t.slice(4)[0]
|
|
}
|
|
}
|
|
};
|
|
}
|
|
function j() {
|
|
ft.autoAddCss && ($t || e(Zt()), $t = !0);
|
|
}
|
|
function I(t, n) {
|
|
return Object.defineProperty(t, "abstract", {
|
|
get: n
|
|
}), Object.defineProperty(t, "html", {
|
|
get: function() {
|
|
return t.abstract.map(function(t) {
|
|
return g(t);
|
|
});
|
|
}
|
|
}), Object.defineProperty(t, "node", {
|
|
get: function() {
|
|
if (q.createElement) {
|
|
var n = q.createElement("div");
|
|
return n.innerHTML = t.html, n.children;
|
|
}
|
|
}
|
|
}), t;
|
|
}
|
|
function P(t) {
|
|
var n = t.prefix, e = void 0 === n ? "fa" : n, r = t.iconName;
|
|
if (r) return M(tn.definitions, e, r) || M(bt.packs, e, r);
|
|
}
|
|
var F = function() {}, W = {}, X = {}, D = null, B = {
|
|
mark: F,
|
|
measure: F
|
|
};
|
|
try {
|
|
"undefined" != typeof window && (W = window), "undefined" != typeof document && (X = document),
|
|
"undefined" != typeof MutationObserver && (D = MutationObserver), "undefined" != typeof performance && (B = performance);
|
|
} catch (t) {}
|
|
var H = (W.navigator || {}).userAgent, R = void 0 === H ? "" : H, Y = W, q = X, U = D, V = B, G = !!Y.document, J = ~R.indexOf("MSIE") || ~R.indexOf("Trident/"), K = 16, Q = function() {
|
|
try {
|
|
return !1;
|
|
} catch (t) {
|
|
return !1;
|
|
}
|
|
}(), Z = [ 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 ], $ = Z.concat([ 11, 12, 13, 14, 15, 16, 17, 18, 19, 20 ]), tt = [ "data-prefix", "data-icon", "data-fa-transform", "data-fa-compose" ], nt = [ "xs", "sm", "lg", "fw", "ul", "li", "border", "pull-left", "pull-right", "spin", "pulse", "rotate-90", "rotate-180", "rotate-270", "flip-horizontal", "flip-vertical", "stack", "stack-1x", "stack-2x", "inverse", "layers", "layers-text", "layers-counter" ].concat(Z.map(function(t) {
|
|
return t + "x";
|
|
})).concat($.map(function(t) {
|
|
return "w-" + t;
|
|
})), et = function(t, n) {
|
|
if (!(t instanceof n)) throw new TypeError("Cannot call a class as a function");
|
|
}, rt = function() {
|
|
function t(t, n) {
|
|
for (var e = 0; e < n.length; e++) {
|
|
var r = n[e];
|
|
r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0),
|
|
Object.defineProperty(t, r.key, r);
|
|
}
|
|
}
|
|
return function(n, e, r) {
|
|
return e && t(n.prototype, e), r && t(n, r), n;
|
|
};
|
|
}(), it = Object.assign || function(t) {
|
|
for (var n = 1; n < arguments.length; n++) {
|
|
var e = arguments[n];
|
|
for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && (t[r] = e[r]);
|
|
}
|
|
return t;
|
|
}, at = function(t, n) {
|
|
var e = {};
|
|
for (var r in t) n.indexOf(r) >= 0 || Object.prototype.hasOwnProperty.call(t, r) && (e[r] = t[r]);
|
|
return e;
|
|
}, ot = function(t) {
|
|
if (Array.isArray(t)) {
|
|
for (var n = 0, e = Array(t.length); n < t.length; n++) e[n] = t[n];
|
|
return e;
|
|
}
|
|
return Array.from(t);
|
|
}, st = it({
|
|
familyPrefix: "fa",
|
|
replacementClass: "svg-inline--fa",
|
|
autoReplaceSvg: !0,
|
|
autoAddCss: !0,
|
|
autoA11y: !0,
|
|
observeMutations: !0,
|
|
keepOriginalSource: !0,
|
|
measurePerformance: !1,
|
|
showMissingIcons: !0
|
|
}, Y.FontAwesomeConfig || {});
|
|
st.autoReplaceSvg || (st.observeMutations = !1);
|
|
var ft = it({}, st);
|
|
Y.FontAwesomeConfig = ft;
|
|
var lt = K, ct = {
|
|
size: 16,
|
|
x: 0,
|
|
y: 0,
|
|
rotate: 0,
|
|
flipX: !1,
|
|
flipY: !1
|
|
}, ut = 0, mt = {
|
|
x: 0,
|
|
y: 0,
|
|
width: "100%",
|
|
height: "100%"
|
|
}, dt = function(t) {
|
|
var n = t.children, e = t.attributes, i = t.main, a = t.compose, o = t.transform, s = i.width, f = i.icon, l = a.width, u = a.icon, m = c({
|
|
transform: o,
|
|
containerWidth: l,
|
|
iconWidth: s
|
|
}), d = {
|
|
tag: "rect",
|
|
attributes: it({}, mt, {
|
|
fill: "white"
|
|
})
|
|
}, g = {
|
|
tag: "g",
|
|
attributes: it({}, m.inner),
|
|
children: [ {
|
|
tag: "path",
|
|
attributes: it({}, f.attributes, m.path, {
|
|
fill: "black"
|
|
})
|
|
} ]
|
|
}, p = {
|
|
tag: "g",
|
|
attributes: it({}, m.outer),
|
|
children: [ g ]
|
|
}, h = "mask-" + r(), v = "clip-" + r(), b = {
|
|
tag: "defs",
|
|
children: [ {
|
|
tag: "clipPath",
|
|
attributes: {
|
|
id: v
|
|
},
|
|
children: [ u ]
|
|
}, {
|
|
tag: "mask",
|
|
attributes: it({}, mt, {
|
|
id: h,
|
|
maskUnits: "userSpaceOnUse",
|
|
maskContentUnits: "userSpaceOnUse"
|
|
}),
|
|
children: [ d, p ]
|
|
} ]
|
|
};
|
|
return n.push(b, {
|
|
tag: "rect",
|
|
attributes: it({
|
|
fill: "currentColor",
|
|
"clip-path": "url(#" + v + ")",
|
|
mask: "url(#" + h + ")"
|
|
}, mt)
|
|
}), {
|
|
children: n,
|
|
attributes: e
|
|
};
|
|
}, gt = function(t) {
|
|
var n = t.attributes, e = t.main, r = t.transform, i = f(t.styles), a = [];
|
|
if (i.length > 0 && (n.style = i), l(r)) {
|
|
var o = c({
|
|
transform: r,
|
|
containerWidth: e.width,
|
|
iconWidth: e.width
|
|
});
|
|
a.push({
|
|
tag: "g",
|
|
attributes: it({}, o.outer),
|
|
children: [ {
|
|
tag: "g",
|
|
attributes: it({}, o.inner),
|
|
children: [ {
|
|
tag: e.icon.tag,
|
|
children: e.icon.children,
|
|
attributes: it({}, e.icon.attributes, o.path)
|
|
} ]
|
|
} ]
|
|
});
|
|
} else a.push(e.icon);
|
|
return {
|
|
children: a,
|
|
attributes: n
|
|
};
|
|
}, pt = function(t) {
|
|
var n = t.children, e = t.main, r = t.compose, i = t.attributes, a = t.styles, o = t.transform;
|
|
if (l(o) && e.found && !r.found) {
|
|
var s = {
|
|
x: e.width / e.height / 2,
|
|
y: .5
|
|
};
|
|
i.style = f(it({}, a, {
|
|
"transform-origin": s.x + o.x / 16 + "em " + (s.y + o.y / 16) + "em"
|
|
}));
|
|
}
|
|
return [ {
|
|
tag: "svg",
|
|
attributes: i,
|
|
children: n
|
|
} ];
|
|
}, ht = function(t) {
|
|
var n = t.prefix, e = t.iconName, r = t.children, i = t.attributes;
|
|
return [ {
|
|
tag: "svg",
|
|
attributes: {
|
|
style: "display: none;"
|
|
},
|
|
children: [ {
|
|
tag: "symbol",
|
|
attributes: it({}, i, {
|
|
id: n + "-" + ft.familyPrefix + "-" + e
|
|
}),
|
|
children: r
|
|
} ]
|
|
} ];
|
|
}, vt = Y || {};
|
|
vt.___FONT_AWESOME___ || (vt.___FONT_AWESOME___ = {}), vt.___FONT_AWESOME___.packs || (vt.___FONT_AWESOME___.packs = {}),
|
|
vt.___FONT_AWESOME___.hooks || (vt.___FONT_AWESOME___.hooks = {}), vt.___FONT_AWESOME___.shims || (vt.___FONT_AWESOME___.shims = []);
|
|
var bt = vt.___FONT_AWESOME___, yt = function() {}, wt = ft.measurePerformance && V && V.mark && V.measure ? V : {
|
|
mark: yt,
|
|
measure: yt
|
|
}, xt = 'FA "5.0.0-rc1"', kt = function(t) {
|
|
wt.mark(xt + " " + t + " ends"), wt.measure(xt + " " + t, xt + " " + t + " begins", xt + " " + t + " ends");
|
|
}, _t = {
|
|
begin: function(t) {
|
|
return wt.mark(xt + " " + t + " begins"), function() {
|
|
return kt(t);
|
|
};
|
|
},
|
|
end: kt
|
|
}, Mt = {
|
|
replace: function(t) {
|
|
var n = t[0], e = t[1].map(function(t) {
|
|
return g(t);
|
|
}).join("\n");
|
|
n.parentNode && (n.outerHTML = e + (ft.keepOriginalSource && "svg" !== n.tagName.toLowerCase() ? "\x3c!-- " + n.outerHTML + " --\x3e" : ""));
|
|
},
|
|
nest: function(t) {
|
|
var n = t[0], e = t[1].map(function(t) {
|
|
return g(t);
|
|
}).join("\n");
|
|
n.innerHTML = e;
|
|
}
|
|
}, Ot = function(t) {
|
|
var n = t.getAttribute("style"), e = [];
|
|
return n && (e = n.split(";").reduce(function(t, n) {
|
|
var e = n.split(":"), r = e[0], i = e.slice(1);
|
|
return r && i.length > 0 && (t[r] = i.join(":").trim()), t;
|
|
}, {})), e;
|
|
}, zt = function(t, n) {
|
|
return function(e, r, i, a) {
|
|
return t.call(n, e, r, i, a);
|
|
};
|
|
}, At = function(t, n, e, r) {
|
|
var i, a, o, s = Object.keys(t), f = s.length, l = void 0 !== r ? zt(n, r) : n;
|
|
for (void 0 === e ? (i = 1, o = t[s[0]]) : (i = 0, o = e); i < f; i++) o = l(o, t[a = s[i]], a, t);
|
|
return o;
|
|
}, Ct = bt.packs, Nt = bt.shims, Et = {}, Tt = {}, St = {}, Lt = function() {
|
|
var t = function(t) {
|
|
return At(Ct, function(n, e, r) {
|
|
return n[r] = At(e, t, {}), n;
|
|
}, {});
|
|
};
|
|
Et = t(function(t, n, e) {
|
|
return t[n[3]] = e, t;
|
|
}), Tt = t(function(t, n, e) {
|
|
var r = n[2];
|
|
return t[e] = e, r.forEach(function(n) {
|
|
t[n] = e;
|
|
}), t;
|
|
});
|
|
var n = "far" in Ct;
|
|
St = At(Nt, function(t, e) {
|
|
var r = e[0], i = e[1], a = e[2];
|
|
return "far" !== i || n || (i = "fas"), t[r] = {
|
|
prefix: i,
|
|
iconName: a
|
|
}, t;
|
|
}, {});
|
|
};
|
|
Lt();
|
|
var jt = bt.packs, It = function() {
|
|
return {
|
|
prefix: null,
|
|
iconName: null,
|
|
rest: []
|
|
};
|
|
}, Pt = function(t) {
|
|
var n = t.getAttribute("data-prefix"), e = t.getAttribute("data-icon"), r = _(i(t.classList));
|
|
return n && e && (r.prefix = n, r.iconName = e), r.prefix && void 0 !== t.innerText && t.innerText.length > 1 ? r.iconName = w(r.prefix, t.innerText) : r.prefix && void 0 !== t.innerText && 1 === t.innerText.length && (r.iconName = y(r.prefix, k(t.innerText))),
|
|
r;
|
|
}, Ft = function(t) {
|
|
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("-"), r = e[0], i = e.slice(1).join("-");
|
|
if (r && "h" === i) return t.flipX = !0, t;
|
|
if (r && "v" === i) return t.flipY = !0, t;
|
|
if (i = parseFloat(i), isNaN(i)) return t;
|
|
switch (r) {
|
|
case "grow":
|
|
t.size = t.size + i;
|
|
break;
|
|
|
|
case "shrink":
|
|
t.size = t.size - i;
|
|
break;
|
|
|
|
case "left":
|
|
t.x = t.x - i;
|
|
break;
|
|
|
|
case "right":
|
|
t.x = t.x + i;
|
|
break;
|
|
|
|
case "up":
|
|
t.y = t.y - i;
|
|
break;
|
|
|
|
case "down":
|
|
t.y = t.y + i;
|
|
break;
|
|
|
|
case "rotate":
|
|
t.rotate = t.rotate + i;
|
|
}
|
|
return t;
|
|
}, n) : n;
|
|
}, Wt = function(t) {
|
|
return Ft(t.getAttribute("data-fa-transform"));
|
|
}, Xt = function(t) {
|
|
var n = i(t.attributes).reduce(function(t, n) {
|
|
return "class" !== t.name && "style" !== t.name && (t[n.name] = n.value), t;
|
|
}, {}), e = t.getAttribute("title");
|
|
return ft.autoA11y && (e ? n["aria-labelledby"] = ft.replacementClass + "-title-" + r() : n["aria-hidden"] = "true"),
|
|
n;
|
|
}, Dt = function(t) {
|
|
var n = t.getAttribute("data-fa-compose");
|
|
return n ? _(n.split(" ").map(function(t) {
|
|
return t.trim();
|
|
})) : It();
|
|
};
|
|
z.prototype = Object.create(Error.prototype), z.prototype.constructor = z;
|
|
var Bt = {
|
|
fill: "currentColor"
|
|
}, Ht = {
|
|
attributeType: "XML",
|
|
repeatCount: "indefinite",
|
|
dur: "2s"
|
|
}, Rt = {
|
|
tag: "path",
|
|
attributes: it({}, Bt, {
|
|
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"
|
|
})
|
|
}, Yt = it({}, Ht, {
|
|
attributeName: "opacity"
|
|
}), qt = {
|
|
tag: "g",
|
|
children: [ Rt, {
|
|
tag: "circle",
|
|
attributes: it({}, Bt, {
|
|
cx: "256",
|
|
cy: "364",
|
|
r: "28"
|
|
}),
|
|
children: [ {
|
|
tag: "animate",
|
|
attributes: it({}, Ht, {
|
|
attributeName: "r",
|
|
values: "28;14;28;28;14;28;"
|
|
})
|
|
}, {
|
|
tag: "animate",
|
|
attributes: it({}, Yt, {
|
|
values: "1;0;1;1;0;1;"
|
|
})
|
|
} ]
|
|
}, {
|
|
tag: "path",
|
|
attributes: it({}, Bt, {
|
|
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: it({}, Yt, {
|
|
values: "1;0;0;0;0;1;"
|
|
})
|
|
} ]
|
|
}, {
|
|
tag: "path",
|
|
attributes: it({}, Bt, {
|
|
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: it({}, Yt, {
|
|
values: "0;0;1;1;0;0;"
|
|
})
|
|
} ]
|
|
} ]
|
|
}, Ut = bt.packs, Vt = "fa-layers-text", Gt = [], Jt = (q.documentElement.doScroll ? /^loaded|^c/ : /^loaded|^i|^c/).test(q.readyState);
|
|
Jt || q.addEventListener("DOMContentLoaded", function t() {
|
|
q.removeEventListener("DOMContentLoaded", t), Jt = 1, Gt.map(function(t) {
|
|
return t();
|
|
});
|
|
});
|
|
var Kt = function(t) {
|
|
q && (Jt ? setTimeout(t, 0) : Gt.push(t));
|
|
}, Qt = function(t) {
|
|
if (t && "undefined" != typeof window) {
|
|
var n = document.createElement("style");
|
|
return n.setAttribute("type", "text/css"), n.innerHTML = t, document.head.appendChild(n),
|
|
t;
|
|
}
|
|
}('svg:not(:root).svg-inline--fa {\n overflow: visible; }\n\n.svg-inline--fa {\n display: inline-block;\n font-size: inherit;\n height: 1em;\n overflow: visible;\n vertical-align: -12.5%; }\n .svg-inline--fa.fa-lg {\n vertical-align: -25%; }\n .svg-inline--fa.fa-w-1 {\n width: 0.0625em; }\n .svg-inline--fa.fa-w-2 {\n width: 0.125em; }\n .svg-inline--fa.fa-w-3 {\n width: 0.1875em; }\n .svg-inline--fa.fa-w-4 {\n width: 0.25em; }\n .svg-inline--fa.fa-w-5 {\n width: 0.3125em; }\n .svg-inline--fa.fa-w-6 {\n width: 0.375em; }\n .svg-inline--fa.fa-w-7 {\n width: 0.4375em; }\n .svg-inline--fa.fa-w-8 {\n width: 0.5em; }\n .svg-inline--fa.fa-w-9 {\n width: 0.5625em; }\n .svg-inline--fa.fa-w-10 {\n width: 0.625em; }\n .svg-inline--fa.fa-w-11 {\n width: 0.6875em; }\n .svg-inline--fa.fa-w-12 {\n width: 0.75em; }\n .svg-inline--fa.fa-w-13 {\n width: 0.8125em; }\n .svg-inline--fa.fa-w-14 {\n width: 0.875em; }\n .svg-inline--fa.fa-w-15 {\n width: 0.9375em; }\n .svg-inline--fa.fa-w-16 {\n width: 1em; }\n .svg-inline--fa.fa-w-17 {\n width: 1.0625em; }\n .svg-inline--fa.fa-w-18 {\n width: 1.125em; }\n .svg-inline--fa.fa-w-19 {\n width: 1.1875em; }\n .svg-inline--fa.fa-w-20 {\n width: 1.25em; }\n .svg-inline--fa.fa-pull-left {\n margin-right: .3em;\n width: auto; }\n .svg-inline--fa.fa-pull-right {\n margin-left: .3em;\n width: auto; }\n .svg-inline--fa.fa-border {\n height: 1.5em; }\n .svg-inline--fa.fa-li {\n top: auto;\n width: 1.875em; }\n .svg-inline--fa.fa-fw {\n width: 1.25em; }\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.fa-layers {\n display: inline-block;\n height: 1em;\n position: relative;\n text-align: center;\n vertical-align: -12.5%;\n width: 1em; }\n .fa-layers svg.svg-inline--fa {\n -webkit-transform-origin: center center;\n transform-origin: center center; }\n\n.fa-layers-text, .fa-layers-counter {\n display: inline-block;\n position: absolute;\n text-align: center; }\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.fa-layers-counter {\n background-color: #ff253a;\n border-radius: 1em;\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: .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.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.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.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.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.fa-lg {\n font-size: 1.33333em;\n line-height: 0.75em;\n vertical-align: -15%; }\n\n.fa-xs {\n font-size: .75em; }\n\n.fa-sm {\n font-size: .875em; }\n\n.fa-1x {\n font-size: 1em; }\n\n.fa-2x {\n font-size: 2em; }\n\n.fa-3x {\n font-size: 3em; }\n\n.fa-4x {\n font-size: 4em; }\n\n.fa-5x {\n font-size: 5em; }\n\n.fa-6x {\n font-size: 6em; }\n\n.fa-7x {\n font-size: 7em; }\n\n.fa-8x {\n font-size: 8em; }\n\n.fa-9x {\n font-size: 9em; }\n\n.fa-10x {\n font-size: 10em; }\n\n.fa-fw {\n text-align: center;\n width: 1.25em; }\n\n.fa-ul {\n list-style-type: none;\n margin-left: 1.875em;\n padding-left: 0; }\n .fa-ul > li {\n position: relative; }\n\n.fa-li {\n left: -1.875em;\n position: absolute;\n text-align: center;\n top: 0.14286em;\n width: 1.875em; }\n .fa-li.fa-lg {\n left: -1.625em; }\n\n.fa-border {\n border: solid 0.08em #eee;\n border-radius: .1em;\n padding: .2em .25em .15em; }\n\n.fa-pull-left {\n float: left; }\n\n.fa-pull-right {\n float: right; }\n\n.fa.fa-pull-left,\n.fas.fa-pull-left,\n.far.fa-pull-left,\n.fal.fa-pull-left,\n.fab.fa-pull-left {\n margin-right: .3em; }\n\n.fa.fa-pull-right,\n.fas.fa-pull-right,\n.far.fa-pull-right,\n.fal.fa-pull-right,\n.fab.fa-pull-right {\n margin-left: .3em; }\n\n.fa-spin {\n -webkit-animation: fa-spin 2s infinite linear;\n animation: fa-spin 2s infinite linear; }\n\n.fa-pulse {\n -webkit-animation: fa-spin 1s infinite steps(8);\n animation: fa-spin 1s infinite steps(8); }\n\n@-webkit-keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg); }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg); } }\n\n@keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg); }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg); } }\n\n.fa-rotate-90 {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";\n -webkit-transform: rotate(90deg);\n transform: rotate(90deg); }\n\n.fa-rotate-180 {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";\n -webkit-transform: rotate(180deg);\n transform: rotate(180deg); }\n\n.fa-rotate-270 {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";\n -webkit-transform: rotate(270deg);\n transform: rotate(270deg); }\n\n.fa-flip-horizontal {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";\n -webkit-transform: scale(-1, 1);\n transform: scale(-1, 1); }\n\n.fa-flip-vertical {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";\n -webkit-transform: scale(1, -1);\n transform: scale(1, -1); }\n\n.fa-flip-horizontal.fa-flip-vertical {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";\n -webkit-transform: scale(-1, -1);\n transform: scale(-1, -1); }\n\n:root .fa-rotate-90,\n:root .fa-rotate-180,\n:root .fa-rotate-270,\n:root .fa-flip-horizontal,\n:root .fa-flip-vertical {\n -webkit-filter: none;\n filter: none; }\n\n.fa-stack {\n display: inline-block;\n height: 2em;\n position: relative;\n width: 2em; }\n\n.fa-stack-1x,\n.fa-stack-2x {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0; }\n\n.svg-inline--fa.fa-stack-1x {\n height: 1em;\n width: 1em; }\n\n.svg-inline--fa.fa-stack-2x {\n height: 2em;\n width: 2em; }\n\n.fa-inverse {\n color: #fff; }\n\n.sr-only {\n border: 0;\n clip: rect(0, 0, 0, 0);\n height: 1px;\n margin: -1px;\n overflow: hidden;\n padding: 0;\n position: absolute;\n width: 1px; }\n\n.sr-only-focusable:active, .sr-only-focusable:focus {\n clip: auto;\n height: auto;\n margin: 0;\n overflow: visible;\n position: static;\n width: auto; }\n'), Zt = function() {
|
|
var t = "svg-inline--fa", n = ft.familyPrefix, e = ft.replacementClass, r = Qt;
|
|
if ("fa" !== n || e !== t) {
|
|
var i = new RegExp("\\.fa\\-", "g"), a = new RegExp("\\." + t, "g");
|
|
r = r.replace(i, "." + n + "-").replace(a, "." + e);
|
|
}
|
|
return r;
|
|
}, $t = !1, tn = new (function() {
|
|
function t() {
|
|
et(this, t), this.definitions = {};
|
|
}
|
|
return rt(t, [ {
|
|
key: "add",
|
|
value: function() {
|
|
for (var t = this, n = arguments.length, e = Array(n), r = 0; r < n; r++) e[r] = arguments[r];
|
|
var i = e.reduce(this._pullDefinitions, {});
|
|
Object.keys(i).forEach(function(n) {
|
|
t.definitions[n] = it({}, t.definitions[n] || {}, i[n]);
|
|
});
|
|
}
|
|
}, {
|
|
key: "reset",
|
|
value: function() {
|
|
this.definitions = {};
|
|
}
|
|
}, {
|
|
key: "_pullDefinitions",
|
|
value: function(t, n) {
|
|
var e = n.prefix && n.iconName && n.icon ? {
|
|
0: n
|
|
} : n;
|
|
return Object.keys(e).map(function(n) {
|
|
var r = e[n], i = r.prefix, a = r.iconName, o = r.icon;
|
|
t[i] || (t[i] = {}), t[i][a] = o;
|
|
}), t;
|
|
}
|
|
} ]), t;
|
|
}())(), nn = {
|
|
dom: {
|
|
i2svg: function() {
|
|
var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {};
|
|
j();
|
|
var n = t.node, e = void 0 === n ? q : n, r = t.callback;
|
|
T(e, void 0 === r ? function() {} : r);
|
|
},
|
|
styles: Zt,
|
|
insertStyles: function() {
|
|
e(Zt());
|
|
}
|
|
},
|
|
library: tn,
|
|
parse: {
|
|
transform: function(t) {
|
|
return Ft(t);
|
|
}
|
|
},
|
|
findIconDefinition: P,
|
|
icon: function(t) {
|
|
var n = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {}, e = n.transform, i = void 0 === e ? ct : e, a = n.compose, o = void 0 === a ? null : a, s = n.title, f = void 0 === s ? null : s, l = n.classes, c = void 0 === l ? [] : l, u = n.attributes, d = void 0 === u ? {} : u, g = n.style, p = void 0 === g ? {} : g, h = t.icon ? t : P(t), v = h.prefix, b = h.iconName, y = h.icon;
|
|
return I(it({
|
|
type: "icon"
|
|
}, t), function() {
|
|
return j(), ft.autoA11y && (f ? d["aria-labelledby"] = ft.replacementClass + "-title-" + r() : d["aria-hidden"] = "true"),
|
|
m({
|
|
icons: {
|
|
main: L(y),
|
|
compose: o ? L(o.icon) : {
|
|
found: !1,
|
|
width: null,
|
|
height: null,
|
|
icon: {}
|
|
}
|
|
},
|
|
prefix: v,
|
|
iconName: b,
|
|
transform: it({}, ct, i),
|
|
title: f,
|
|
extra: {
|
|
attributes: d,
|
|
style: p,
|
|
classes: c
|
|
}
|
|
});
|
|
});
|
|
},
|
|
text: function(t) {
|
|
var n = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {}, e = n.transform, r = void 0 === e ? ct : e, i = n.title, a = void 0 === i ? null : i, o = n.classes, s = void 0 === o ? [] : o, f = n.attributes, l = void 0 === f ? {} : f, c = n.style, u = void 0 === c ? {} : c;
|
|
return I({
|
|
type: "text",
|
|
content: t
|
|
}, function() {
|
|
return j(), d({
|
|
content: t,
|
|
transform: it({}, ct, r),
|
|
title: a,
|
|
extra: {
|
|
attributes: l,
|
|
style: u,
|
|
classes: [ ft.familyPrefix + "-layers-text" ].concat(ot(s))
|
|
}
|
|
});
|
|
});
|
|
},
|
|
layer: function(t) {
|
|
return I({
|
|
type: "layer"
|
|
}, function() {
|
|
j();
|
|
var n = [];
|
|
return t(function(t) {
|
|
n = Array.isArray(t) ? t.map(function(t) {
|
|
n = n.concat(t.abstract);
|
|
}) : n.concat(t.abstract);
|
|
}), [ {
|
|
tag: "span",
|
|
attributes: {
|
|
class: ft.familyPrefix + "-layers"
|
|
},
|
|
children: n
|
|
} ];
|
|
});
|
|
}
|
|
};
|
|
Object.defineProperty(nn, "config", {
|
|
get: function() {
|
|
ft.autoReplaceSvg, ft.observeMutations, ft.showMissingIcons;
|
|
return at(ft, [ "autoReplaceSvg", "observeMutations", "showMissingIcons" ]);
|
|
},
|
|
set: function(n) {
|
|
t(n);
|
|
}
|
|
}), function(t) {
|
|
try {
|
|
t();
|
|
} catch (t) {
|
|
throw t;
|
|
}
|
|
}(function() {
|
|
var t = function() {
|
|
ft.autoReplaceSvg && nn.dom.i2svg({
|
|
node: q
|
|
});
|
|
};
|
|
G && (Y.FontAwesome || (Y.FontAwesome = nn), Kt(function() {
|
|
Object.keys(bt.packs).length > 0 && t(), ft.observeMutations && "function" == typeof MutationObserver && b({
|
|
treeCallback: T,
|
|
nodeCallback: S
|
|
});
|
|
})), bt.hooks = it({}, bt.hooks, {
|
|
addPack: function(n, e) {
|
|
bt.packs[n] = it({}, bt.packs[n] || {}, e), Lt(), t();
|
|
},
|
|
addShims: function(n) {
|
|
var e;
|
|
(e = bt.shims).push.apply(e, ot(n)), Lt(), t();
|
|
}
|
|
});
|
|
});
|
|
}(); |