2018-01-31 00:01:42 +00:00
|
|
|
/*!
|
2018-04-10 22:23:41 +00:00
|
|
|
* Font Awesome Free 5.0.10 by @fontawesome - https://fontawesome.com
|
2018-02-26 20:42:44 +00:00
|
|
|
* License - https://fontawesome.com/license (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
2018-01-31 00:01:42 +00:00
|
|
|
*/
|
|
|
|
!function() {
|
|
|
|
"use strict";
|
|
|
|
var t = function() {}, e = {}, n = {}, r = null, i = {
|
|
|
|
mark: t,
|
|
|
|
measure: t
|
|
|
|
};
|
|
|
|
try {
|
|
|
|
"undefined" != typeof window && (e = window), "undefined" != typeof document && (n = document),
|
|
|
|
"undefined" != typeof MutationObserver && (r = MutationObserver), "undefined" != typeof performance && (i = performance);
|
|
|
|
} catch (t) {}
|
2018-03-27 21:39:51 +00:00
|
|
|
var a = (e.navigator || {}).userAgent, o = void 0 === a ? "" : a, s = e, c = n, f = r, l = i, u = !!s.document, m = !!c.documentElement && !!c.head && "function" == typeof c.addEventListener && "function" == typeof c.createElement, k = ~o.indexOf("MSIE") || ~o.indexOf("Trident/"), d = "___FONT_AWESOME___", z = 16, g = "svg-inline--fa", C = "data-fa-i2svg", h = "data-fa-pseudo-element", p = "fontawesome-i2svg", v = function() {
|
2018-01-31 00:01:42 +00:00
|
|
|
try {
|
|
|
|
return !1;
|
|
|
|
} catch (t) {
|
|
|
|
return !1;
|
|
|
|
}
|
2018-03-27 21:39:51 +00:00
|
|
|
}(), b = [ 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 ], y = b.concat([ 11, 12, 13, 14, 15, 16, 17, 18, 19, 20 ]), w = [ "class", "data-prefix", "data-icon", "data-fa-transform", "data-fa-mask" ], x = [ "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(b.map(function(t) {
|
2018-01-31 00:01:42 +00:00
|
|
|
return t + "x";
|
2018-03-27 21:39:51 +00:00
|
|
|
})).concat(y.map(function(t) {
|
2018-01-31 00:01:42 +00:00
|
|
|
return "w-" + t;
|
|
|
|
})), N = function(t, e) {
|
|
|
|
if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function");
|
|
|
|
}, M = function() {
|
2018-03-27 21:39:51 +00:00
|
|
|
function r(t, e) {
|
2018-01-31 00:01:42 +00:00
|
|
|
for (var n = 0; n < e.length; n++) {
|
|
|
|
var r = e[n];
|
|
|
|
r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0),
|
|
|
|
Object.defineProperty(t, r.key, r);
|
|
|
|
}
|
|
|
|
}
|
2018-03-27 21:39:51 +00:00
|
|
|
return function(t, e, n) {
|
|
|
|
return e && r(t.prototype, e), n && r(t, n), t;
|
2018-01-31 00:01:42 +00:00
|
|
|
};
|
|
|
|
}(), A = Object.assign || function(t) {
|
|
|
|
for (var e = 1; e < arguments.length; e++) {
|
|
|
|
var n = arguments[e];
|
|
|
|
for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (t[r] = n[r]);
|
|
|
|
}
|
|
|
|
return t;
|
|
|
|
}, O = function(t) {
|
|
|
|
if (Array.isArray(t)) {
|
|
|
|
for (var e = 0, n = Array(t.length); e < t.length; e++) n[e] = t[e];
|
|
|
|
return n;
|
|
|
|
}
|
|
|
|
return Array.from(t);
|
|
|
|
}, L = s.FontAwesomeConfig || {}, E = Object.keys(L), j = A({
|
|
|
|
familyPrefix: "fa",
|
2018-03-27 21:39:51 +00:00
|
|
|
replacementClass: g,
|
2018-01-31 00:01:42 +00:00
|
|
|
autoReplaceSvg: !0,
|
|
|
|
autoAddCss: !0,
|
|
|
|
autoA11y: !0,
|
|
|
|
searchPseudoElements: !1,
|
|
|
|
observeMutations: !0,
|
|
|
|
keepOriginalSource: !0,
|
|
|
|
measurePerformance: !1,
|
|
|
|
showMissingIcons: !0
|
|
|
|
}, L);
|
|
|
|
j.autoReplaceSvg || (j.observeMutations = !1);
|
|
|
|
var S = A({}, j);
|
2018-03-27 21:39:51 +00:00
|
|
|
function P(e) {
|
|
|
|
var t = (1 < arguments.length && void 0 !== arguments[1] ? arguments[1] : {}).asNewDefault, n = void 0 !== t && t, r = Object.keys(S), i = n ? function(t) {
|
2018-01-31 00:01:42 +00:00
|
|
|
return ~r.indexOf(t) && !~E.indexOf(t);
|
|
|
|
} : function(t) {
|
|
|
|
return ~r.indexOf(t);
|
|
|
|
};
|
2018-03-27 21:39:51 +00:00
|
|
|
Object.keys(e).forEach(function(t) {
|
|
|
|
i(t) && (S[t] = e[t]);
|
2018-01-31 00:01:42 +00:00
|
|
|
});
|
|
|
|
}
|
|
|
|
s.FontAwesomeConfig = S;
|
|
|
|
var T = s || {};
|
2018-03-27 21:39:51 +00:00
|
|
|
T[d] || (T[d] = {}), T[d].styles || (T[d].styles = {}), T[d].hooks || (T[d].hooks = {}),
|
|
|
|
T[d].shims || (T[d].shims = []);
|
|
|
|
var I = T[d], B = [], D = !1;
|
|
|
|
m && ((D = (c.documentElement.doScroll ? /^loaded|^c/ : /^loaded|^i|^c/).test(c.readyState)) || c.addEventListener("DOMContentLoaded", function t() {
|
|
|
|
c.removeEventListener("DOMContentLoaded", t), D = 1, B.map(function(t) {
|
2018-01-31 00:01:42 +00:00
|
|
|
return t();
|
|
|
|
});
|
|
|
|
}));
|
|
|
|
var X = function(t) {
|
|
|
|
m && (D ? setTimeout(t, 0) : B.push(t));
|
2018-03-27 21:39:51 +00:00
|
|
|
}, R = z, H = {
|
2018-01-31 00:01:42 +00:00
|
|
|
size: 16,
|
|
|
|
x: 0,
|
|
|
|
y: 0,
|
|
|
|
rotate: 0,
|
|
|
|
flipX: !1,
|
|
|
|
flipY: !1
|
|
|
|
};
|
|
|
|
function F(t) {
|
|
|
|
if (t && m) {
|
2018-03-27 21:39:51 +00:00
|
|
|
var e = c.createElement("style");
|
2018-01-31 00:01:42 +00:00
|
|
|
e.setAttribute("type", "text/css"), e.innerHTML = t;
|
2018-03-27 21:39:51 +00:00
|
|
|
for (var n = c.head.childNodes, r = null, i = n.length - 1; -1 < i; i--) {
|
2018-01-31 00:01:42 +00:00
|
|
|
var a = n[i], o = (a.tagName || "").toUpperCase();
|
2018-03-27 21:39:51 +00:00
|
|
|
-1 < [ "STYLE", "LINK" ].indexOf(o) && (r = a);
|
2018-01-31 00:01:42 +00:00
|
|
|
}
|
2018-03-27 21:39:51 +00:00
|
|
|
return c.head.insertBefore(e, r), t;
|
2018-01-31 00:01:42 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
var _ = 0;
|
|
|
|
function W() {
|
|
|
|
return ++_;
|
|
|
|
}
|
|
|
|
function Y(t) {
|
|
|
|
for (var e = [], n = (t || []).length >>> 0; n--; ) e[n] = t[n];
|
|
|
|
return e;
|
|
|
|
}
|
|
|
|
function U(t) {
|
|
|
|
return t.classList ? Y(t.classList) : (t.getAttribute("class") || "").split(" ").filter(function(t) {
|
|
|
|
return t;
|
|
|
|
});
|
|
|
|
}
|
|
|
|
function V(t, e) {
|
|
|
|
var n, r = e.split("-"), i = r[0], a = r.slice(1).join("-");
|
2018-03-27 21:39:51 +00:00
|
|
|
return i !== t || "" === a || (n = a, ~x.indexOf(n)) ? null : a;
|
2018-01-31 00:01:42 +00:00
|
|
|
}
|
|
|
|
function q(t) {
|
|
|
|
return ("" + t).replace(/&/g, "&").replace(/"/g, """).replace(/'/g, "'").replace(/</g, "<").replace(/>/g, ">");
|
|
|
|
}
|
2018-03-27 21:39:51 +00:00
|
|
|
function K(n) {
|
|
|
|
return Object.keys(n || {}).reduce(function(t, e) {
|
|
|
|
return t + (e + ": ") + n[e] + ";";
|
2018-01-31 00:01:42 +00:00
|
|
|
}, "");
|
|
|
|
}
|
|
|
|
function G(t) {
|
|
|
|
return t.size !== H.size || t.x !== H.x || t.y !== H.y || t.rotate !== H.rotate || t.flipX || t.flipY;
|
|
|
|
}
|
|
|
|
function J(t) {
|
|
|
|
var e = t.transform, n = t.containerWidth, r = t.iconWidth;
|
|
|
|
return {
|
|
|
|
outer: {
|
|
|
|
transform: "translate(" + n / 2 + " 256)"
|
|
|
|
},
|
|
|
|
inner: {
|
|
|
|
transform: "translate(" + 32 * e.x + ", " + 32 * e.y + ") " + " " + ("scale(" + e.size / 16 * (e.flipX ? -1 : 1) + ", " + e.size / 16 * (e.flipY ? -1 : 1) + ") ") + " " + ("rotate(" + e.rotate + " 0 0)")
|
|
|
|
},
|
|
|
|
path: {
|
|
|
|
transform: "translate(" + r / 2 * -1 + " -256)"
|
|
|
|
}
|
|
|
|
};
|
|
|
|
}
|
|
|
|
var Q = {
|
|
|
|
x: 0,
|
|
|
|
y: 0,
|
|
|
|
width: "100%",
|
|
|
|
height: "100%"
|
|
|
|
}, Z = function(t) {
|
|
|
|
var e = t.children, n = t.attributes, r = t.main, i = t.mask, a = t.transform, o = r.width, s = r.icon, f = i.width, l = i.icon, c = J({
|
|
|
|
transform: a,
|
|
|
|
containerWidth: f,
|
|
|
|
iconWidth: o
|
|
|
|
}), u = {
|
|
|
|
tag: "rect",
|
|
|
|
attributes: A({}, Q, {
|
|
|
|
fill: "white"
|
|
|
|
})
|
|
|
|
}, m = {
|
|
|
|
tag: "g",
|
|
|
|
attributes: A({}, c.inner),
|
|
|
|
children: [ {
|
|
|
|
tag: "path",
|
|
|
|
attributes: A({}, s.attributes, c.path, {
|
|
|
|
fill: "black"
|
|
|
|
})
|
|
|
|
} ]
|
|
|
|
}, d = {
|
|
|
|
tag: "g",
|
|
|
|
attributes: A({}, c.outer),
|
|
|
|
children: [ m ]
|
|
|
|
}, g = "mask-" + W(), h = "clip-" + W(), p = {
|
|
|
|
tag: "defs",
|
|
|
|
children: [ {
|
|
|
|
tag: "clipPath",
|
|
|
|
attributes: {
|
|
|
|
id: h
|
|
|
|
},
|
|
|
|
children: [ l ]
|
|
|
|
}, {
|
|
|
|
tag: "mask",
|
|
|
|
attributes: A({}, Q, {
|
|
|
|
id: g,
|
|
|
|
maskUnits: "userSpaceOnUse",
|
|
|
|
maskContentUnits: "userSpaceOnUse"
|
|
|
|
}),
|
|
|
|
children: [ u, d ]
|
|
|
|
} ]
|
|
|
|
};
|
|
|
|
return e.push(p, {
|
|
|
|
tag: "rect",
|
|
|
|
attributes: A({
|
|
|
|
fill: "currentColor",
|
|
|
|
"clip-path": "url(#" + h + ")",
|
|
|
|
mask: "url(#" + g + ")"
|
|
|
|
}, Q)
|
|
|
|
}), {
|
|
|
|
children: e,
|
|
|
|
attributes: n
|
|
|
|
};
|
|
|
|
}, $ = function(t) {
|
|
|
|
var e = t.children, n = t.attributes, r = t.main, i = t.transform, a = K(t.styles);
|
2018-03-27 21:39:51 +00:00
|
|
|
if (0 < a.length && (n.style = a), G(i)) {
|
2018-01-31 00:01:42 +00:00
|
|
|
var o = J({
|
|
|
|
transform: i,
|
|
|
|
containerWidth: r.width,
|
|
|
|
iconWidth: r.width
|
|
|
|
});
|
|
|
|
e.push({
|
|
|
|
tag: "g",
|
|
|
|
attributes: A({}, o.outer),
|
|
|
|
children: [ {
|
|
|
|
tag: "g",
|
|
|
|
attributes: A({}, o.inner),
|
|
|
|
children: [ {
|
|
|
|
tag: r.icon.tag,
|
|
|
|
children: r.icon.children,
|
|
|
|
attributes: A({}, r.icon.attributes, o.path)
|
|
|
|
} ]
|
|
|
|
} ]
|
|
|
|
});
|
|
|
|
} else e.push(r.icon);
|
|
|
|
return {
|
|
|
|
children: e,
|
|
|
|
attributes: n
|
|
|
|
};
|
|
|
|
}, tt = function(t) {
|
|
|
|
var e = t.children, n = t.main, r = t.mask, i = t.attributes, a = t.styles, o = t.transform;
|
|
|
|
if (G(o) && n.found && !r.found) {
|
|
|
|
var s = n.width / n.height / 2, f = .5;
|
|
|
|
i.style = K(A({}, a, {
|
|
|
|
"transform-origin": s + o.x / 16 + "em " + (f + o.y / 16) + "em"
|
|
|
|
}));
|
|
|
|
}
|
|
|
|
return [ {
|
|
|
|
tag: "svg",
|
|
|
|
attributes: i,
|
|
|
|
children: e
|
|
|
|
} ];
|
|
|
|
}, et = function(t) {
|
|
|
|
var e = t.prefix, n = t.iconName, r = t.children, i = t.attributes, a = t.symbol, o = !0 === a ? e + "-" + S.familyPrefix + "-" + n : a;
|
|
|
|
return [ {
|
|
|
|
tag: "svg",
|
|
|
|
attributes: {
|
|
|
|
style: "display: none;"
|
|
|
|
},
|
|
|
|
children: [ {
|
|
|
|
tag: "symbol",
|
|
|
|
attributes: A({}, i, {
|
|
|
|
id: o
|
|
|
|
}),
|
|
|
|
children: r
|
|
|
|
} ]
|
|
|
|
} ];
|
|
|
|
};
|
|
|
|
function nt(t) {
|
2018-03-27 21:39:51 +00:00
|
|
|
var e = t.icons, n = e.main, r = e.mask, i = t.prefix, a = t.iconName, o = t.transform, s = t.symbol, f = t.title, l = t.extra, c = t.watchable, u = void 0 !== c && c, m = r.found ? r : n, d = m.width, g = m.height, h = "fa-w-" + Math.ceil(d / g * 16), p = [ S.replacementClass, a ? S.familyPrefix + "-" + a : "", h ].concat(l.classes).join(" "), v = {
|
2018-01-31 00:01:42 +00:00
|
|
|
children: [],
|
|
|
|
attributes: A({}, l.attributes, {
|
|
|
|
"data-prefix": i,
|
|
|
|
"data-icon": a,
|
|
|
|
class: p,
|
|
|
|
role: "img",
|
|
|
|
xmlns: "http://www.w3.org/2000/svg",
|
|
|
|
viewBox: "0 0 " + d + " " + g
|
|
|
|
})
|
|
|
|
};
|
2018-03-27 21:39:51 +00:00
|
|
|
u && (v.attributes[C] = ""), f && v.children.push({
|
2018-01-31 00:01:42 +00:00
|
|
|
tag: "title",
|
|
|
|
attributes: {
|
2018-03-27 21:39:51 +00:00
|
|
|
id: v.attributes["aria-labelledby"] || "title-" + W()
|
2018-01-31 00:01:42 +00:00
|
|
|
},
|
|
|
|
children: [ f ]
|
|
|
|
});
|
2018-03-27 21:39:51 +00:00
|
|
|
var b = A({}, v, {
|
2018-01-31 00:01:42 +00:00
|
|
|
prefix: i,
|
|
|
|
iconName: a,
|
|
|
|
main: n,
|
|
|
|
mask: r,
|
|
|
|
transform: o,
|
|
|
|
symbol: s,
|
|
|
|
styles: l.styles
|
2018-03-27 21:39:51 +00:00
|
|
|
}), y = r.found && n.found ? Z(b) : $(b), w = y.children, x = y.attributes;
|
|
|
|
return b.children = w, b.attributes = x, s ? et(b) : tt(b);
|
2018-01-31 00:01:42 +00:00
|
|
|
}
|
|
|
|
function rt(t) {
|
|
|
|
var e = t.content, n = t.width, r = t.height, i = t.transform, a = t.title, o = t.extra, s = t.watchable, f = void 0 !== s && s, l = A({}, o.attributes, a ? {
|
|
|
|
title: a
|
|
|
|
} : {}, {
|
|
|
|
class: o.classes.join(" ")
|
|
|
|
});
|
2018-03-27 21:39:51 +00:00
|
|
|
f && (l[C] = "");
|
|
|
|
var c, u, m, d, g, h, p, v, b, y = A({}, o.styles);
|
|
|
|
G(i) && (y.transform = (u = (c = {
|
2018-01-31 00:01:42 +00:00
|
|
|
transform: i,
|
|
|
|
startCentered: !0,
|
|
|
|
width: n,
|
|
|
|
height: r
|
2018-03-27 21:39:51 +00:00
|
|
|
}).transform, m = c.width, d = void 0 === m ? z : m, g = c.height, h = void 0 === g ? z : g,
|
|
|
|
p = c.startCentered, b = "", b += (v = void 0 !== p && p) && k ? "translate(" + (u.x / R - d / 2) + "em, " + (u.y / R - h / 2) + "em) " : v ? "translate(calc(-50% + " + u.x / R + "em), calc(-50% + " + u.y / R + "em)) " : "translate(" + u.x / R + "em, " + u.y / R + "em) ",
|
|
|
|
b += "scale(" + u.size / R * (u.flipX ? -1 : 1) + ", " + u.size / R * (u.flipY ? -1 : 1) + ") ",
|
|
|
|
b += "rotate(" + u.rotate + "deg) "), y["-webkit-transform"] = y.transform);
|
|
|
|
var w = K(y);
|
|
|
|
0 < w.length && (l.style = w);
|
|
|
|
var x = [];
|
|
|
|
return x.push({
|
2018-01-31 00:01:42 +00:00
|
|
|
tag: "span",
|
|
|
|
attributes: l,
|
|
|
|
children: [ e ]
|
2018-03-27 21:39:51 +00:00
|
|
|
}), a && x.push({
|
2018-01-31 00:01:42 +00:00
|
|
|
tag: "span",
|
|
|
|
attributes: {
|
|
|
|
class: "sr-only"
|
|
|
|
},
|
|
|
|
children: [ a ]
|
2018-03-27 21:39:51 +00:00
|
|
|
}), x;
|
2018-01-31 00:01:42 +00:00
|
|
|
}
|
2018-03-27 21:39:51 +00:00
|
|
|
var it = function() {}, at = S.measurePerformance && l && l.mark && l.measure ? l : {
|
2018-01-31 00:01:42 +00:00
|
|
|
mark: it,
|
|
|
|
measure: it
|
2018-04-10 22:23:41 +00:00
|
|
|
}, ot = 'FA "5.0.10"', st = function(t) {
|
2018-01-31 00:01:42 +00:00
|
|
|
at.mark(ot + " " + t + " ends"), at.measure(ot + " " + t, ot + " " + t + " begins", ot + " " + t + " ends");
|
|
|
|
}, ft = {
|
|
|
|
begin: function(t) {
|
|
|
|
return at.mark(ot + " " + t + " begins"), function() {
|
|
|
|
return st(t);
|
|
|
|
};
|
|
|
|
},
|
|
|
|
end: st
|
|
|
|
}, lt = function(t, e, n, r) {
|
|
|
|
var i, a, o, s, f, l = Object.keys(t), c = l.length, u = void 0 !== r ? (s = e,
|
|
|
|
f = r, function(t, e, n, r) {
|
|
|
|
return s.call(f, t, e, n, r);
|
|
|
|
}) : e;
|
|
|
|
for (void 0 === n ? (i = 1, o = t[l[0]]) : (i = 0, o = n); i < c; i++) o = u(o, t[a = l[i]], a, t);
|
|
|
|
return o;
|
|
|
|
}, ct = I.styles, ut = I.shims, mt = {}, dt = {}, gt = {}, ht = function() {
|
2018-03-27 21:39:51 +00:00
|
|
|
var t = function(r) {
|
|
|
|
return lt(ct, function(t, e, n) {
|
|
|
|
return t[n] = lt(e, r, {}), t;
|
2018-01-31 00:01:42 +00:00
|
|
|
}, {});
|
|
|
|
};
|
|
|
|
mt = t(function(t, e, n) {
|
|
|
|
return t[e[3]] = n, t;
|
2018-03-27 21:39:51 +00:00
|
|
|
}), dt = t(function(e, t, n) {
|
|
|
|
var r = t[2];
|
|
|
|
return e[n] = n, r.forEach(function(t) {
|
|
|
|
e[t] = n;
|
|
|
|
}), e;
|
2018-01-31 00:01:42 +00:00
|
|
|
});
|
2018-03-27 21:39:51 +00:00
|
|
|
var a = "far" in ct;
|
|
|
|
gt = lt(ut, function(t, e) {
|
|
|
|
var n = e[0], r = e[1], i = e[2];
|
|
|
|
return "far" !== r || a || (r = "fas"), t[n] = {
|
|
|
|
prefix: r,
|
|
|
|
iconName: i
|
2018-01-31 00:01:42 +00:00
|
|
|
}, t;
|
|
|
|
}, {});
|
|
|
|
};
|
|
|
|
ht();
|
|
|
|
var pt = I.styles, vt = function() {
|
|
|
|
return {
|
|
|
|
prefix: null,
|
|
|
|
iconName: null,
|
|
|
|
rest: []
|
|
|
|
};
|
|
|
|
};
|
|
|
|
function bt(t) {
|
|
|
|
return t.reduce(function(t, e) {
|
|
|
|
var n = V(S.familyPrefix, e);
|
|
|
|
if (pt[e]) t.prefix = e; else if (n) {
|
|
|
|
var r = "fa" === t.prefix ? gt[n] || {
|
|
|
|
prefix: null,
|
|
|
|
iconName: null
|
|
|
|
} : {};
|
|
|
|
t.iconName = r.iconName || n, t.prefix = r.prefix || t.prefix;
|
|
|
|
} else e !== S.replacementClass && 0 !== e.indexOf("fa-w-") && t.rest.push(e);
|
|
|
|
return t;
|
|
|
|
}, vt());
|
|
|
|
}
|
|
|
|
function yt(t, e, n) {
|
|
|
|
if (t && t[e] && t[e][n]) return {
|
|
|
|
prefix: e,
|
|
|
|
iconName: n,
|
|
|
|
icon: t[e][n]
|
|
|
|
};
|
|
|
|
}
|
|
|
|
function wt(t) {
|
2018-03-27 21:39:51 +00:00
|
|
|
var n, e = t.tag, r = t.attributes, i = void 0 === r ? {} : r, a = t.children, o = void 0 === a ? [] : a;
|
|
|
|
return "string" == typeof t ? q(t) : "<" + e + " " + (n = i, Object.keys(n || {}).reduce(function(t, e) {
|
|
|
|
return t + (e + '="') + q(n[e]) + '" ';
|
|
|
|
}, "").trim()) + ">" + o.map(wt).join("") + "</" + e + ">";
|
2018-01-31 00:01:42 +00:00
|
|
|
}
|
|
|
|
var xt = function() {};
|
|
|
|
function kt(t) {
|
2018-03-27 21:39:51 +00:00
|
|
|
return "string" == typeof (t.getAttribute ? t.getAttribute(C) : null);
|
2018-01-31 00:01:42 +00:00
|
|
|
}
|
2018-03-27 21:39:51 +00:00
|
|
|
var zt = {
|
2018-01-31 00:01:42 +00:00
|
|
|
replace: function(t) {
|
|
|
|
var e = t[0], n = t[1].map(function(t) {
|
|
|
|
return wt(t);
|
|
|
|
}).join("\n");
|
|
|
|
if (e.parentNode && e.outerHTML) e.outerHTML = n + (S.keepOriginalSource && "svg" !== e.tagName.toLowerCase() ? "\x3c!-- " + e.outerHTML + " --\x3e" : ""); else if (e.parentNode) {
|
|
|
|
var r = document.createElement("span");
|
|
|
|
e.parentNode.replaceChild(r, e), r.outerHTML = n;
|
|
|
|
}
|
|
|
|
},
|
|
|
|
nest: function(t) {
|
|
|
|
var e = t[0], n = t[1];
|
2018-03-27 21:39:51 +00:00
|
|
|
if (~U(e).indexOf(S.replacementClass)) return zt.replace(t);
|
2018-01-31 00:01:42 +00:00
|
|
|
var r = new RegExp(S.familyPrefix + "-.*");
|
|
|
|
delete n[0].attributes.style;
|
|
|
|
var i = n[0].attributes.class.split(" ").reduce(function(t, e) {
|
|
|
|
return e === S.replacementClass || e.match(r) ? t.toSvg.push(e) : t.toNode.push(e),
|
|
|
|
t;
|
|
|
|
}, {
|
|
|
|
toNode: [],
|
|
|
|
toSvg: []
|
|
|
|
});
|
|
|
|
n[0].attributes.class = i.toSvg.join(" ");
|
|
|
|
var a = n.map(function(t) {
|
|
|
|
return wt(t);
|
|
|
|
}).join("\n");
|
2018-03-27 21:39:51 +00:00
|
|
|
e.setAttribute("class", i.toNode.join(" ")), e.setAttribute(C, ""), e.innerHTML = a;
|
2018-01-31 00:01:42 +00:00
|
|
|
}
|
|
|
|
};
|
2018-03-27 21:39:51 +00:00
|
|
|
function Ct(n, t) {
|
|
|
|
var r = "function" == typeof t ? t : xt;
|
|
|
|
0 === n.length ? r() : (s.requestAnimationFrame || function(t) {
|
2018-01-31 00:01:42 +00:00
|
|
|
return t();
|
|
|
|
})(function() {
|
2018-03-27 21:39:51 +00:00
|
|
|
var t = !0 === S.autoReplaceSvg ? zt.replace : zt[S.autoReplaceSvg] || zt.replace, e = ft.begin("mutate");
|
|
|
|
n.map(t), e(), r();
|
2018-01-31 00:01:42 +00:00
|
|
|
});
|
|
|
|
}
|
|
|
|
var Nt = !1;
|
2018-02-26 20:42:44 +00:00
|
|
|
var Mt = null;
|
|
|
|
var At = function(t) {
|
2018-01-31 00:01:42 +00:00
|
|
|
var e = t.getAttribute("style"), n = [];
|
|
|
|
return e && (n = e.split(";").reduce(function(t, e) {
|
|
|
|
var n = e.split(":"), r = n[0], i = n.slice(1);
|
2018-03-27 21:39:51 +00:00
|
|
|
return r && 0 < i.length && (t[r] = i.join(":").trim()), t;
|
2018-01-31 00:01:42 +00:00
|
|
|
}, {})), n;
|
|
|
|
};
|
2018-02-26 20:42:44 +00:00
|
|
|
var Ot = function(t) {
|
2018-01-31 00:01:42 +00:00
|
|
|
var e, n, r, i, a = t.getAttribute("data-prefix"), o = t.getAttribute("data-icon"), s = void 0 !== t.innerText ? t.innerText.trim() : "", f = bt(U(t));
|
2018-03-27 21:39:51 +00:00
|
|
|
return a && o && (f.prefix = a, f.iconName = o), f.prefix && 1 < s.length ? f.iconName = (r = f.prefix,
|
2018-01-31 00:01:42 +00:00
|
|
|
i = t.innerText, dt[r][i]) : f.prefix && 1 === s.length && (f.iconName = (e = f.prefix,
|
|
|
|
n = function(t) {
|
|
|
|
for (var e = "", n = 0; n < t.length; n++) e += ("000" + t.charCodeAt(n).toString(16)).slice(-4);
|
|
|
|
return e;
|
|
|
|
}(t.innerText), mt[e][n])), f;
|
2018-02-26 20:42:44 +00:00
|
|
|
}, Lt = function(t) {
|
2018-01-31 00:01:42 +00:00
|
|
|
var e = {
|
|
|
|
size: 16,
|
|
|
|
x: 0,
|
|
|
|
y: 0,
|
|
|
|
flipX: !1,
|
|
|
|
flipY: !1,
|
|
|
|
rotate: 0
|
|
|
|
};
|
|
|
|
return t ? t.toLowerCase().split(" ").reduce(function(t, e) {
|
|
|
|
var n = e.toLowerCase().split("-"), r = n[0], i = n.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;
|
|
|
|
}, e) : e;
|
|
|
|
}, Et = function(t) {
|
2018-02-26 20:42:44 +00:00
|
|
|
return Lt(t.getAttribute("data-fa-transform"));
|
|
|
|
}, jt = function(t) {
|
2018-01-31 00:01:42 +00:00
|
|
|
var e = t.getAttribute("data-fa-symbol");
|
|
|
|
return null !== e && ("" === e || e);
|
2018-02-26 20:42:44 +00:00
|
|
|
}, St = function(t) {
|
2018-01-31 00:01:42 +00:00
|
|
|
var e = Y(t.attributes).reduce(function(t, e) {
|
|
|
|
return "class" !== t.name && "style" !== t.name && (t[e.name] = e.value), t;
|
|
|
|
}, {}), n = t.getAttribute("title");
|
|
|
|
return S.autoA11y && (n ? e["aria-labelledby"] = S.replacementClass + "-title-" + W() : e["aria-hidden"] = "true"),
|
|
|
|
e;
|
2018-02-26 20:42:44 +00:00
|
|
|
}, Pt = function(t) {
|
2018-01-31 00:01:42 +00:00
|
|
|
var e = t.getAttribute("data-fa-mask");
|
|
|
|
return e ? bt(e.split(" ").map(function(t) {
|
|
|
|
return t.trim();
|
|
|
|
})) : vt();
|
|
|
|
};
|
2018-02-26 20:42:44 +00:00
|
|
|
function Tt(t) {
|
2018-01-31 00:01:42 +00:00
|
|
|
this.name = "MissingIcon", this.message = t || "Icon unavailable", this.stack = new Error().stack;
|
|
|
|
}
|
2018-02-26 20:42:44 +00:00
|
|
|
(Tt.prototype = Object.create(Error.prototype)).constructor = Tt;
|
|
|
|
var It = {
|
2018-01-31 00:01:42 +00:00
|
|
|
fill: "currentColor"
|
2018-02-26 20:42:44 +00:00
|
|
|
}, Bt = {
|
2018-01-31 00:01:42 +00:00
|
|
|
attributeType: "XML",
|
|
|
|
repeatCount: "indefinite",
|
|
|
|
dur: "2s"
|
2018-02-26 20:42:44 +00:00
|
|
|
}, Dt = {
|
2018-01-31 00:01:42 +00:00
|
|
|
tag: "path",
|
2018-02-26 20:42:44 +00:00
|
|
|
attributes: A({}, It, {
|
2018-01-31 00:01:42 +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"
|
|
|
|
})
|
2018-02-26 20:42:44 +00:00
|
|
|
}, Xt = A({}, Bt, {
|
2018-01-31 00:01:42 +00:00
|
|
|
attributeName: "opacity"
|
2018-02-26 20:42:44 +00:00
|
|
|
}), Rt = {
|
2018-01-31 00:01:42 +00:00
|
|
|
tag: "g",
|
2018-02-26 20:42:44 +00:00
|
|
|
children: [ Dt, {
|
2018-01-31 00:01:42 +00:00
|
|
|
tag: "circle",
|
2018-02-26 20:42:44 +00:00
|
|
|
attributes: A({}, It, {
|
2018-01-31 00:01:42 +00:00
|
|
|
cx: "256",
|
|
|
|
cy: "364",
|
|
|
|
r: "28"
|
|
|
|
}),
|
|
|
|
children: [ {
|
|
|
|
tag: "animate",
|
2018-02-26 20:42:44 +00:00
|
|
|
attributes: A({}, Bt, {
|
2018-01-31 00:01:42 +00:00
|
|
|
attributeName: "r",
|
|
|
|
values: "28;14;28;28;14;28;"
|
|
|
|
})
|
|
|
|
}, {
|
|
|
|
tag: "animate",
|
2018-02-26 20:42:44 +00:00
|
|
|
attributes: A({}, Xt, {
|
2018-01-31 00:01:42 +00:00
|
|
|
values: "1;0;1;1;0;1;"
|
|
|
|
})
|
|
|
|
} ]
|
|
|
|
}, {
|
|
|
|
tag: "path",
|
2018-02-26 20:42:44 +00:00
|
|
|
attributes: A({}, It, {
|
2018-01-31 00:01:42 +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",
|
2018-02-26 20:42:44 +00:00
|
|
|
attributes: A({}, Xt, {
|
2018-01-31 00:01:42 +00:00
|
|
|
values: "1;0;0;0;0;1;"
|
|
|
|
})
|
|
|
|
} ]
|
|
|
|
}, {
|
|
|
|
tag: "path",
|
2018-02-26 20:42:44 +00:00
|
|
|
attributes: A({}, It, {
|
2018-01-31 00:01:42 +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",
|
2018-02-26 20:42:44 +00:00
|
|
|
attributes: A({}, Xt, {
|
2018-01-31 00:01:42 +00:00
|
|
|
values: "0;0;1;1;0;0;"
|
|
|
|
})
|
|
|
|
} ]
|
|
|
|
} ]
|
2018-02-26 20:42:44 +00:00
|
|
|
}, Ht = I.styles, Ft = "fa-layers-text", _t = /Font Awesome 5 (Solid|Regular|Light|Brands)/, Wt = {
|
2018-01-31 00:01:42 +00:00
|
|
|
Solid: "fas",
|
|
|
|
Regular: "far",
|
|
|
|
Light: "fal",
|
|
|
|
Brands: "fab"
|
|
|
|
};
|
2018-02-26 20:42:44 +00:00
|
|
|
function Yt(t, e) {
|
2018-01-31 00:01:42 +00:00
|
|
|
var n = {
|
|
|
|
found: !1,
|
|
|
|
width: 512,
|
|
|
|
height: 512,
|
2018-02-26 20:42:44 +00:00
|
|
|
icon: Rt
|
2018-01-31 00:01:42 +00:00
|
|
|
};
|
2018-02-26 20:42:44 +00:00
|
|
|
if (t && e && Ht[e] && Ht[e][t]) {
|
|
|
|
var r = Ht[e][t];
|
2018-01-31 00:01:42 +00:00
|
|
|
n = {
|
|
|
|
found: !0,
|
|
|
|
width: r[0],
|
|
|
|
height: r[1],
|
|
|
|
icon: {
|
|
|
|
tag: "path",
|
|
|
|
attributes: {
|
|
|
|
fill: "currentColor",
|
|
|
|
d: r.slice(4)[0]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
};
|
2018-02-26 20:42:44 +00:00
|
|
|
} else if (t && e && !S.showMissingIcons) throw new Tt("Icon is missing for prefix " + e + " with icon name " + t);
|
2018-01-31 00:01:42 +00:00
|
|
|
return n;
|
|
|
|
}
|
2018-02-26 20:42:44 +00:00
|
|
|
function Ut(t) {
|
2018-03-27 21:39:51 +00:00
|
|
|
var e, n, r, i, a, o, s, f, l, c, u, m, d, g, h, p, v, b, y, w = (n = Ot(e = t),
|
2018-02-26 20:42:44 +00:00
|
|
|
r = n.iconName, i = n.prefix, a = n.rest, o = At(e), s = Et(e), f = jt(e), l = St(e),
|
|
|
|
c = Pt(e), {
|
2018-01-31 00:01:42 +00:00
|
|
|
iconName: r,
|
|
|
|
title: e.getAttribute("title"),
|
|
|
|
prefix: i,
|
|
|
|
transform: s,
|
|
|
|
symbol: f,
|
|
|
|
mask: c,
|
|
|
|
extra: {
|
|
|
|
classes: a,
|
|
|
|
styles: o,
|
|
|
|
attributes: l
|
|
|
|
}
|
|
|
|
});
|
2018-03-27 21:39:51 +00:00
|
|
|
return ~w.extra.classes.indexOf(Ft) ? function(t, e) {
|
2018-01-31 00:01:42 +00:00
|
|
|
var n = e.title, r = e.transform, i = e.extra, a = null, o = null;
|
2018-03-27 21:39:51 +00:00
|
|
|
if (k) {
|
2018-01-31 00:01:42 +00:00
|
|
|
var s = parseInt(getComputedStyle(t).fontSize, 10), f = t.getBoundingClientRect();
|
|
|
|
a = f.width / s, o = f.height / s;
|
|
|
|
}
|
|
|
|
return S.autoA11y && !n && (i.attributes["aria-hidden"] = "true"), [ t, rt({
|
|
|
|
content: t.innerHTML,
|
|
|
|
width: a,
|
|
|
|
height: o,
|
|
|
|
transform: r,
|
|
|
|
title: n,
|
|
|
|
extra: i,
|
|
|
|
watchable: !0
|
|
|
|
}) ];
|
2018-03-27 21:39:51 +00:00
|
|
|
}(t, w) : (u = t, d = (m = w).iconName, g = m.title, h = m.prefix, p = m.transform,
|
|
|
|
v = m.symbol, b = m.mask, y = m.extra, [ u, nt({
|
2018-01-31 00:01:42 +00:00
|
|
|
icons: {
|
2018-03-27 21:39:51 +00:00
|
|
|
main: Yt(d, h),
|
|
|
|
mask: Yt(b.iconName, b.prefix)
|
2018-01-31 00:01:42 +00:00
|
|
|
},
|
2018-03-27 21:39:51 +00:00
|
|
|
prefix: h,
|
|
|
|
iconName: d,
|
|
|
|
transform: p,
|
|
|
|
symbol: v,
|
|
|
|
mask: b,
|
|
|
|
title: g,
|
|
|
|
extra: y,
|
2018-01-31 00:01:42 +00:00
|
|
|
watchable: !0
|
|
|
|
}) ]);
|
|
|
|
}
|
2018-02-26 20:42:44 +00:00
|
|
|
function Vt(t) {
|
2018-01-31 00:01:42 +00:00
|
|
|
"function" == typeof t.remove ? t.remove() : t && t.parentNode && t.parentNode.removeChild(t);
|
|
|
|
}
|
2018-02-26 20:42:44 +00:00
|
|
|
function qt(t) {
|
2018-01-31 00:01:42 +00:00
|
|
|
if (m) {
|
|
|
|
var e = ft.begin("searchPseudoElements");
|
|
|
|
Nt = !0, function() {
|
2018-03-27 21:39:51 +00:00
|
|
|
Y(t.querySelectorAll("*")).forEach(function(o) {
|
2018-01-31 00:01:42 +00:00
|
|
|
[ ":before", ":after" ].forEach(function(e) {
|
2018-03-27 21:39:51 +00:00
|
|
|
var t = s.getComputedStyle(o, e), n = t.getPropertyValue("font-family").match(_t), r = Y(o.children).filter(function(t) {
|
|
|
|
return t.getAttribute(h) === e;
|
2018-01-31 00:01:42 +00:00
|
|
|
})[0];
|
2018-03-27 21:39:51 +00:00
|
|
|
if (r && (r.nextSibling && -1 < r.nextSibling.textContent.indexOf(h) && Vt(r.nextSibling),
|
|
|
|
Vt(r), r = null), n && !r) {
|
|
|
|
var i = t.getPropertyValue("content"), a = c.createElement("i");
|
|
|
|
a.setAttribute("class", "" + Wt[n[1]]), a.setAttribute(h, e), a.innerText = 3 === i.length ? i.substr(1, 1) : i,
|
|
|
|
":before" === e ? o.insertBefore(a, o.firstChild) : o.appendChild(a);
|
2018-01-31 00:01:42 +00:00
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|
|
|
|
}(), Nt = !1, e();
|
|
|
|
}
|
|
|
|
}
|
2018-02-26 20:42:44 +00:00
|
|
|
function Kt(t) {
|
2018-03-27 21:39:51 +00:00
|
|
|
var e = 1 < arguments.length && void 0 !== arguments[1] ? arguments[1] : null;
|
2018-01-31 00:01:42 +00:00
|
|
|
if (m) {
|
2018-03-27 21:39:51 +00:00
|
|
|
var n = c.documentElement.classList, r = function(t) {
|
|
|
|
return n.add(p + "-" + t);
|
2018-01-31 00:01:42 +00:00
|
|
|
}, i = function(t) {
|
2018-03-27 21:39:51 +00:00
|
|
|
return n.remove(p + "-" + t);
|
|
|
|
}, a = Object.keys(Ht), o = [ "." + Ft + ":not([" + C + "])" ].concat(a.map(function(t) {
|
|
|
|
return "." + t + ":not([" + C + "])";
|
2018-01-31 00:01:42 +00:00
|
|
|
})).join(", ");
|
|
|
|
if (0 !== o.length) {
|
|
|
|
var s = Y(t.querySelectorAll(o));
|
2018-03-27 21:39:51 +00:00
|
|
|
if (0 < s.length) {
|
2018-01-31 00:01:42 +00:00
|
|
|
r("pending"), i("complete");
|
2018-03-27 21:39:51 +00:00
|
|
|
var f = ft.begin("onTree"), l = s.reduce(function(t, e) {
|
2018-01-31 00:01:42 +00:00
|
|
|
try {
|
2018-02-26 20:42:44 +00:00
|
|
|
var n = Ut(e);
|
2018-01-31 00:01:42 +00:00
|
|
|
n && t.push(n);
|
|
|
|
} catch (t) {
|
2018-03-27 21:39:51 +00:00
|
|
|
v || t instanceof Tt && console.error(t);
|
2018-01-31 00:01:42 +00:00
|
|
|
}
|
|
|
|
return t;
|
|
|
|
}, []);
|
2018-03-27 21:39:51 +00:00
|
|
|
f(), Ct(l, function() {
|
2018-01-31 00:01:42 +00:00
|
|
|
r("active"), r("complete"), i("pending"), "function" == typeof e && e();
|
|
|
|
});
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2018-02-26 20:42:44 +00:00
|
|
|
function Gt(t) {
|
2018-03-27 21:39:51 +00:00
|
|
|
var e = 1 < arguments.length && void 0 !== arguments[1] ? arguments[1] : null, n = Ut(t);
|
|
|
|
n && Ct([ n ], e);
|
2018-01-31 00:01:42 +00:00
|
|
|
}
|
2018-02-26 20:42:44 +00:00
|
|
|
var Jt = function() {
|
2018-03-27 21:39:51 +00:00
|
|
|
var t = g, e = S.familyPrefix, n = S.replacementClass, r = '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: -.125em; }\n .svg-inline--fa.fa-lg {\n vertical-align: -.225em; }\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 width: 2em; }\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: -.125em;\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 -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: .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: -.0667em; }\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:
|
2018-01-31 00:01:42 +00:00
|
|
|
if ("fa" !== e || n !== t) {
|
|
|
|
var i = new RegExp("\\.fa\\-", "g"), a = new RegExp("\\." + t, "g");
|
|
|
|
r = r.replace(i, "." + e + "-").replace(a, "." + n);
|
|
|
|
}
|
|
|
|
return r;
|
|
|
|
};
|
2018-02-26 20:42:44 +00:00
|
|
|
var Qt = function() {
|
2018-01-31 00:01:42 +00:00
|
|
|
function t() {
|
|
|
|
N(this, t), this.definitions = {};
|
|
|
|
}
|
|
|
|
return M(t, [ {
|
|
|
|
key: "add",
|
|
|
|
value: function() {
|
2018-03-27 21:39:51 +00:00
|
|
|
for (var e = this, t = arguments.length, n = Array(t), r = 0; r < t; r++) n[r] = arguments[r];
|
2018-01-31 00:01:42 +00:00
|
|
|
var i = n.reduce(this._pullDefinitions, {});
|
2018-03-27 21:39:51 +00:00
|
|
|
Object.keys(i).forEach(function(t) {
|
|
|
|
e.definitions[t] = A({}, e.definitions[t] || {}, i[t]), function t(e, r) {
|
|
|
|
var n = Object.keys(r).reduce(function(t, e) {
|
|
|
|
var n = r[e];
|
|
|
|
return n.icon ? t[n.iconName] = n.icon : t[e] = n, t;
|
2018-01-31 00:01:42 +00:00
|
|
|
}, {});
|
2018-03-27 21:39:51 +00:00
|
|
|
"function" == typeof I.hooks.addPack ? I.hooks.addPack(e, n) : I.styles[e] = A({}, I.styles[e] || {}, n),
|
|
|
|
"fas" === e && t("fa", r);
|
|
|
|
}(t, i[t]);
|
2018-01-31 00:01:42 +00:00
|
|
|
});
|
|
|
|
}
|
|
|
|
}, {
|
|
|
|
key: "reset",
|
|
|
|
value: function() {
|
|
|
|
this.definitions = {};
|
|
|
|
}
|
|
|
|
}, {
|
|
|
|
key: "_pullDefinitions",
|
2018-03-27 21:39:51 +00:00
|
|
|
value: function(a, t) {
|
|
|
|
var o = t.prefix && t.iconName && t.icon ? {
|
|
|
|
0: t
|
|
|
|
} : t;
|
|
|
|
return Object.keys(o).map(function(t) {
|
|
|
|
var e = o[t], n = e.prefix, r = e.iconName, i = e.icon;
|
|
|
|
a[n] || (a[n] = {}), a[n][r] = i;
|
|
|
|
}), a;
|
2018-01-31 00:01:42 +00:00
|
|
|
}
|
|
|
|
} ]), t;
|
2018-02-26 20:42:44 +00:00
|
|
|
}();
|
|
|
|
function Zt(t) {
|
|
|
|
return {
|
|
|
|
found: !0,
|
|
|
|
width: t[0],
|
|
|
|
height: t[1],
|
|
|
|
icon: {
|
|
|
|
tag: "path",
|
|
|
|
attributes: {
|
|
|
|
fill: "currentColor",
|
|
|
|
d: t.slice(4)[0]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
};
|
|
|
|
}
|
|
|
|
var $t = !1;
|
|
|
|
function te() {
|
|
|
|
S.autoAddCss && ($t || F(Jt()), $t = !0);
|
|
|
|
}
|
2018-03-27 21:39:51 +00:00
|
|
|
function ee(e, t) {
|
|
|
|
return Object.defineProperty(e, "abstract", {
|
|
|
|
get: t
|
|
|
|
}), Object.defineProperty(e, "html", {
|
2018-02-26 20:42:44 +00:00
|
|
|
get: function() {
|
2018-03-27 21:39:51 +00:00
|
|
|
return e.abstract.map(function(t) {
|
2018-02-26 20:42:44 +00:00
|
|
|
return wt(t);
|
|
|
|
});
|
|
|
|
}
|
2018-03-27 21:39:51 +00:00
|
|
|
}), Object.defineProperty(e, "node", {
|
2018-02-26 20:42:44 +00:00
|
|
|
get: function() {
|
|
|
|
if (m) {
|
2018-03-27 21:39:51 +00:00
|
|
|
var t = c.createElement("div");
|
|
|
|
return t.innerHTML = e.html, t.children;
|
2018-02-26 20:42:44 +00:00
|
|
|
}
|
|
|
|
}
|
2018-03-27 21:39:51 +00:00
|
|
|
}), e;
|
2018-02-26 20:42:44 +00:00
|
|
|
}
|
|
|
|
function ne(t) {
|
|
|
|
var e = t.prefix, n = void 0 === e ? "fa" : e, r = t.iconName;
|
|
|
|
if (r) return yt(ie.definitions, n, r) || yt(I.styles, n, r);
|
|
|
|
}
|
|
|
|
var re, ie = new Qt(), ae = (re = function(t) {
|
2018-03-27 21:39:51 +00:00
|
|
|
var e = 1 < arguments.length && void 0 !== arguments[1] ? arguments[1] : {}, n = e.transform, r = void 0 === n ? H : n, i = e.symbol, a = void 0 !== i && i, o = e.mask, s = void 0 === o ? null : o, f = e.title, l = void 0 === f ? null : f, c = e.classes, u = void 0 === c ? [] : c, m = e.attributes, d = void 0 === m ? {} : m, g = e.styles, h = void 0 === g ? {} : g;
|
2018-01-31 00:01:42 +00:00
|
|
|
if (t) {
|
|
|
|
var p = t.prefix, v = t.iconName, b = t.icon;
|
2018-02-26 20:42:44 +00:00
|
|
|
return ee(A({
|
2018-01-31 00:01:42 +00:00
|
|
|
type: "icon"
|
|
|
|
}, t), function() {
|
2018-02-26 20:42:44 +00:00
|
|
|
return te(), S.autoA11y && (l ? d["aria-labelledby"] = S.replacementClass + "-title-" + W() : d["aria-hidden"] = "true"),
|
2018-01-31 00:01:42 +00:00
|
|
|
nt({
|
|
|
|
icons: {
|
2018-02-26 20:42:44 +00:00
|
|
|
main: Zt(b),
|
|
|
|
mask: s ? Zt(s.icon) : {
|
2018-01-31 00:01:42 +00:00
|
|
|
found: !1,
|
|
|
|
width: null,
|
|
|
|
height: null,
|
|
|
|
icon: {}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
prefix: p,
|
|
|
|
iconName: v,
|
|
|
|
transform: A({}, H, r),
|
|
|
|
symbol: a,
|
|
|
|
title: l,
|
|
|
|
extra: {
|
|
|
|
attributes: d,
|
|
|
|
styles: h,
|
|
|
|
classes: u
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|
|
|
|
}
|
|
|
|
}, function(t) {
|
2018-03-27 21:39:51 +00:00
|
|
|
var e = 1 < arguments.length && void 0 !== arguments[1] ? arguments[1] : {}, n = (t || {}).icon ? t : ne(t || {}), r = e.mask;
|
2018-02-26 20:42:44 +00:00
|
|
|
return r && (r = (r || {}).icon ? r : ne(r || {})), re(n, A({}, e, {
|
2018-01-31 00:01:42 +00:00
|
|
|
mask: r
|
|
|
|
}));
|
2018-02-26 20:42:44 +00:00
|
|
|
}), oe = {
|
2018-01-31 00:01:42 +00:00
|
|
|
noAuto: function() {
|
|
|
|
var t;
|
|
|
|
P({
|
|
|
|
autoReplaceSvg: t = !1,
|
|
|
|
observeMutations: t
|
2018-02-26 20:42:44 +00:00
|
|
|
}), Mt && Mt.disconnect();
|
2018-01-31 00:01:42 +00:00
|
|
|
},
|
|
|
|
dom: {
|
|
|
|
i2svg: function() {
|
2018-03-27 21:39:51 +00:00
|
|
|
var t = 0 < arguments.length && void 0 !== arguments[0] ? arguments[0] : {};
|
2018-01-31 00:01:42 +00:00
|
|
|
if (m) {
|
2018-02-26 20:42:44 +00:00
|
|
|
te();
|
2018-03-27 21:39:51 +00:00
|
|
|
var e = t.node, n = void 0 === e ? c : e, r = t.callback, i = void 0 === r ? function() {} : r;
|
2018-02-26 20:42:44 +00:00
|
|
|
S.searchPseudoElements && qt(n), Kt(n, i);
|
2018-01-31 00:01:42 +00:00
|
|
|
}
|
|
|
|
},
|
2018-02-26 20:42:44 +00:00
|
|
|
css: Jt,
|
2018-01-31 00:01:42 +00:00
|
|
|
insertCss: function() {
|
2018-02-26 20:42:44 +00:00
|
|
|
F(Jt());
|
2018-01-31 00:01:42 +00:00
|
|
|
}
|
|
|
|
},
|
2018-02-26 20:42:44 +00:00
|
|
|
library: ie,
|
2018-01-31 00:01:42 +00:00
|
|
|
parse: {
|
|
|
|
transform: function(t) {
|
2018-02-26 20:42:44 +00:00
|
|
|
return Lt(t);
|
2018-01-31 00:01:42 +00:00
|
|
|
}
|
|
|
|
},
|
2018-02-26 20:42:44 +00:00
|
|
|
findIconDefinition: ne,
|
|
|
|
icon: ae,
|
2018-01-31 00:01:42 +00:00
|
|
|
text: function(t) {
|
2018-03-27 21:39:51 +00:00
|
|
|
var e = 1 < arguments.length && void 0 !== arguments[1] ? arguments[1] : {}, n = e.transform, r = void 0 === n ? H : n, i = e.title, a = void 0 === i ? null : i, o = e.classes, s = void 0 === o ? [] : o, f = e.attributes, l = void 0 === f ? {} : f, c = e.styles, u = void 0 === c ? {} : c;
|
2018-02-26 20:42:44 +00:00
|
|
|
return ee({
|
2018-01-31 00:01:42 +00:00
|
|
|
type: "text",
|
|
|
|
content: t
|
|
|
|
}, function() {
|
2018-02-26 20:42:44 +00:00
|
|
|
return te(), rt({
|
2018-01-31 00:01:42 +00:00
|
|
|
content: t,
|
|
|
|
transform: A({}, H, r),
|
|
|
|
title: a,
|
|
|
|
extra: {
|
|
|
|
attributes: l,
|
|
|
|
styles: u,
|
|
|
|
classes: [ S.familyPrefix + "-layers-text" ].concat(O(s))
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|
|
|
|
},
|
|
|
|
layer: function(t) {
|
2018-02-26 20:42:44 +00:00
|
|
|
return ee({
|
2018-01-31 00:01:42 +00:00
|
|
|
type: "layer"
|
|
|
|
}, function() {
|
2018-02-26 20:42:44 +00:00
|
|
|
te();
|
2018-01-31 00:01:42 +00:00
|
|
|
var e = [];
|
|
|
|
return t(function(t) {
|
2018-02-26 20:42:44 +00:00
|
|
|
Array.isArray(t) ? t.map(function(t) {
|
2018-01-31 00:01:42 +00:00
|
|
|
e = e.concat(t.abstract);
|
2018-02-26 20:42:44 +00:00
|
|
|
}) : e = e.concat(t.abstract);
|
2018-01-31 00:01:42 +00:00
|
|
|
}), [ {
|
|
|
|
tag: "span",
|
|
|
|
attributes: {
|
|
|
|
class: S.familyPrefix + "-layers"
|
|
|
|
},
|
|
|
|
children: e
|
|
|
|
} ];
|
|
|
|
});
|
|
|
|
}
|
2018-02-26 20:42:44 +00:00
|
|
|
}, se = function() {
|
|
|
|
m && S.autoReplaceSvg && oe.dom.i2svg({
|
2018-03-27 21:39:51 +00:00
|
|
|
node: c
|
2018-01-31 00:01:42 +00:00
|
|
|
});
|
|
|
|
};
|
2018-02-26 20:42:44 +00:00
|
|
|
Object.defineProperty(oe, "config", {
|
2018-01-31 00:01:42 +00:00
|
|
|
get: function() {
|
|
|
|
return S;
|
|
|
|
},
|
|
|
|
set: function(t) {
|
|
|
|
P(t);
|
|
|
|
}
|
|
|
|
}), function(t) {
|
|
|
|
try {
|
|
|
|
t();
|
|
|
|
} catch (t) {
|
2018-03-27 21:39:51 +00:00
|
|
|
if (!v) throw t;
|
2018-01-31 00:01:42 +00:00
|
|
|
}
|
|
|
|
}(function() {
|
2018-02-26 20:42:44 +00:00
|
|
|
u && (s.FontAwesome || (s.FontAwesome = oe), X(function() {
|
2018-03-27 21:39:51 +00:00
|
|
|
0 < Object.keys(I.styles).length && se(), S.observeMutations && "function" == typeof MutationObserver && function(t) {
|
|
|
|
if (f) {
|
|
|
|
var i = t.treeCallback, a = t.nodeCallback, o = t.pseudoElementsCallback;
|
|
|
|
Mt = new f(function(t) {
|
2018-01-31 00:01:42 +00:00
|
|
|
Nt || Y(t).forEach(function(t) {
|
2018-03-27 21:39:51 +00:00
|
|
|
if ("childList" === t.type && 0 < t.addedNodes.length && !kt(t.addedNodes[0]) && (S.searchPseudoElements && o(t.target),
|
|
|
|
i(t.target)), "attributes" === t.type && t.target.parentNode && S.searchPseudoElements && o(t.target.parentNode),
|
|
|
|
"attributes" === t.type && kt(t.target) && ~w.indexOf(t.attributeName)) if ("class" === t.attributeName) {
|
|
|
|
var e = bt(U(t.target)), n = e.prefix, r = e.iconName;
|
|
|
|
n && t.target.setAttribute("data-prefix", n), r && t.target.setAttribute("data-icon", r);
|
|
|
|
} else a(t.target);
|
2018-01-31 00:01:42 +00:00
|
|
|
});
|
2018-03-27 21:39:51 +00:00
|
|
|
}), m && Mt.observe(c.getElementsByTagName("body")[0], {
|
2018-01-31 00:01:42 +00:00
|
|
|
childList: !0,
|
|
|
|
attributes: !0,
|
|
|
|
characterData: !0,
|
|
|
|
subtree: !0
|
|
|
|
});
|
|
|
|
}
|
|
|
|
}({
|
2018-02-26 20:42:44 +00:00
|
|
|
treeCallback: Kt,
|
|
|
|
nodeCallback: Gt,
|
|
|
|
pseudoElementsCallback: qt
|
2018-01-31 00:01:42 +00:00
|
|
|
});
|
|
|
|
})), I.hooks = A({}, I.hooks, {
|
|
|
|
addPack: function(t, e) {
|
2018-02-26 20:42:44 +00:00
|
|
|
I.styles[t] = A({}, I.styles[t] || {}, e), ht(), se();
|
2018-01-31 00:01:42 +00:00
|
|
|
},
|
|
|
|
addShims: function(t) {
|
|
|
|
var e;
|
2018-02-26 20:42:44 +00:00
|
|
|
(e = I.shims).push.apply(e, O(t)), ht(), se();
|
2018-01-31 00:01:42 +00:00
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|
|
|
|
}();
|