conflict-detection.min.js 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577
  1. /*!
  2. * Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com
  3. * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
  4. * Copyright 2024 Fonticons, Inc.
  5. */
  6. (t => {
  7. ("object" != typeof exports || "undefined" == typeof module) && "function" == typeof define && define.amd ? define(t) : t();
  8. })(function() {
  9. function o(t, e, n) {
  10. var o;
  11. (e = "symbol" == typeof (o = ((t, e) => {
  12. if ("object" != typeof t || !t) return t;
  13. var n = t[Symbol.toPrimitive];
  14. if (void 0 === n) return ("string" === e ? String : Number)(t);
  15. if ("object" != typeof (n = n.call(t, e || "default"))) return n;
  16. throw new TypeError("@@toPrimitive must return a primitive value.");
  17. })(e, "string")) ? o : o + "") in t ? Object.defineProperty(t, e, {
  18. value: n,
  19. enumerable: !0,
  20. configurable: !0,
  21. writable: !0
  22. }) : t[e] = n;
  23. }
  24. function r(e, t) {
  25. var n, o = Object.keys(e);
  26. return Object.getOwnPropertySymbols && (n = Object.getOwnPropertySymbols(e),
  27. t && (n = n.filter(function(t) {
  28. return Object.getOwnPropertyDescriptor(e, t).enumerable;
  29. })), o.push.apply(o, n)), o;
  30. }
  31. function s(e) {
  32. for (var t = 1; t < arguments.length; t++) {
  33. var n = null != arguments[t] ? arguments[t] : {};
  34. t % 2 ? r(Object(n), !0).forEach(function(t) {
  35. o(e, t, n[t]);
  36. }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : r(Object(n)).forEach(function(t) {
  37. Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
  38. });
  39. }
  40. return e;
  41. }
  42. let t = {}, e = {};
  43. try {
  44. "undefined" != typeof window && (t = window), "undefined" != typeof document && (e = document);
  45. } catch (t) {}
  46. var {
  47. userAgent: n = ""
  48. } = t.navigator || {};
  49. let l = t, d = e, a = !!l.document, i = !!d.documentElement && !!d.head && "function" == typeof d.addEventListener && "function" == typeof d.createElement;
  50. ~n.indexOf("MSIE") || n.indexOf("Trident/");
  51. function f() {
  52. d.removeEventListener("DOMContentLoaded", f), u = 1, c.map(t => t());
  53. }
  54. let c = [], u = !1;
  55. function h(t) {
  56. i && (u ? setTimeout(t, 0) : c.push(t));
  57. }
  58. i && !(u = (d.documentElement.doScroll ? /^loaded|^c/ : /^loaded|^i|^c/).test(d.readyState)) && d.addEventListener("DOMContentLoaded", f);
  59. var b = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof self ? self : {};
  60. (function(t) {
  61. function d(t, e) {
  62. var n = (65535 & t) + (65535 & e);
  63. return (t >> 16) + (e >> 16) + (n >> 16) << 16 | 65535 & n;
  64. }
  65. function s(t, e, n, o, r, a) {
  66. return d((e = d(d(e, t), d(o, a))) << r | e >>> 32 - r, n);
  67. }
  68. function u(t, e, n, o, r, a, i) {
  69. return s(e & n | ~e & o, t, e, r, a, i);
  70. }
  71. function h(t, e, n, o, r, a, i) {
  72. return s(e & o | n & ~o, t, e, r, a, i);
  73. }
  74. function g(t, e, n, o, r, a, i) {
  75. return s(e ^ n ^ o, t, e, r, a, i);
  76. }
  77. function m(t, e, n, o, r, a, i) {
  78. return s(n ^ (e | ~o), t, e, r, a, i);
  79. }
  80. function f(t, e) {
  81. t[e >> 5] |= 128 << e % 32, t[14 + (e + 64 >>> 9 << 4)] = e;
  82. for (var n, o, r, a, i = 1732584193, s = -271733879, f = -1732584194, c = 271733878, l = 0; l < t.length; l += 16) i = u(n = i, o = s, r = f, a = c, t[l], 7, -680876936),
  83. c = u(c, i, s, f, t[l + 1], 12, -389564586), f = u(f, c, i, s, t[l + 2], 17, 606105819),
  84. s = u(s, f, c, i, t[l + 3], 22, -1044525330), i = u(i, s, f, c, t[l + 4], 7, -176418897),
  85. c = u(c, i, s, f, t[l + 5], 12, 1200080426), f = u(f, c, i, s, t[l + 6], 17, -1473231341),
  86. s = u(s, f, c, i, t[l + 7], 22, -45705983), i = u(i, s, f, c, t[l + 8], 7, 1770035416),
  87. c = u(c, i, s, f, t[l + 9], 12, -1958414417), f = u(f, c, i, s, t[l + 10], 17, -42063),
  88. s = u(s, f, c, i, t[l + 11], 22, -1990404162), i = u(i, s, f, c, t[l + 12], 7, 1804603682),
  89. c = u(c, i, s, f, t[l + 13], 12, -40341101), f = u(f, c, i, s, t[l + 14], 17, -1502002290),
  90. i = h(i, s = u(s, f, c, i, t[l + 15], 22, 1236535329), f, c, t[l + 1], 5, -165796510),
  91. c = h(c, i, s, f, t[l + 6], 9, -1069501632), f = h(f, c, i, s, t[l + 11], 14, 643717713),
  92. s = h(s, f, c, i, t[l], 20, -373897302), i = h(i, s, f, c, t[l + 5], 5, -701558691),
  93. c = h(c, i, s, f, t[l + 10], 9, 38016083), f = h(f, c, i, s, t[l + 15], 14, -660478335),
  94. s = h(s, f, c, i, t[l + 4], 20, -405537848), i = h(i, s, f, c, t[l + 9], 5, 568446438),
  95. c = h(c, i, s, f, t[l + 14], 9, -1019803690), f = h(f, c, i, s, t[l + 3], 14, -187363961),
  96. s = h(s, f, c, i, t[l + 8], 20, 1163531501), i = h(i, s, f, c, t[l + 13], 5, -1444681467),
  97. c = h(c, i, s, f, t[l + 2], 9, -51403784), f = h(f, c, i, s, t[l + 7], 14, 1735328473),
  98. i = g(i, s = h(s, f, c, i, t[l + 12], 20, -1926607734), f, c, t[l + 5], 4, -378558),
  99. c = g(c, i, s, f, t[l + 8], 11, -2022574463), f = g(f, c, i, s, t[l + 11], 16, 1839030562),
  100. s = g(s, f, c, i, t[l + 14], 23, -35309556), i = g(i, s, f, c, t[l + 1], 4, -1530992060),
  101. c = g(c, i, s, f, t[l + 4], 11, 1272893353), f = g(f, c, i, s, t[l + 7], 16, -155497632),
  102. s = g(s, f, c, i, t[l + 10], 23, -1094730640), i = g(i, s, f, c, t[l + 13], 4, 681279174),
  103. c = g(c, i, s, f, t[l], 11, -358537222), f = g(f, c, i, s, t[l + 3], 16, -722521979),
  104. s = g(s, f, c, i, t[l + 6], 23, 76029189), i = g(i, s, f, c, t[l + 9], 4, -640364487),
  105. c = g(c, i, s, f, t[l + 12], 11, -421815835), f = g(f, c, i, s, t[l + 15], 16, 530742520),
  106. i = m(i, s = g(s, f, c, i, t[l + 2], 23, -995338651), f, c, t[l], 6, -198630844),
  107. c = m(c, i, s, f, t[l + 7], 10, 1126891415), f = m(f, c, i, s, t[l + 14], 15, -1416354905),
  108. s = m(s, f, c, i, t[l + 5], 21, -57434055), i = m(i, s, f, c, t[l + 12], 6, 1700485571),
  109. c = m(c, i, s, f, t[l + 3], 10, -1894986606), f = m(f, c, i, s, t[l + 10], 15, -1051523),
  110. s = m(s, f, c, i, t[l + 1], 21, -2054922799), i = m(i, s, f, c, t[l + 8], 6, 1873313359),
  111. c = m(c, i, s, f, t[l + 15], 10, -30611744), f = m(f, c, i, s, t[l + 6], 15, -1560198380),
  112. s = m(s, f, c, i, t[l + 13], 21, 1309151649), i = m(i, s, f, c, t[l + 4], 6, -145523070),
  113. c = m(c, i, s, f, t[l + 11], 10, -1120210379), f = m(f, c, i, s, t[l + 2], 15, 718787259),
  114. s = m(s, f, c, i, t[l + 9], 21, -343485551), i = d(i, n), s = d(s, o),
  115. f = d(f, r), c = d(c, a);
  116. return [ i, s, f, c ];
  117. }
  118. function c(t) {
  119. for (var e = "", n = 32 * t.length, o = 0; o < n; o += 8) e += String.fromCharCode(t[o >> 5] >>> o % 32 & 255);
  120. return e;
  121. }
  122. function l(t) {
  123. var e = [];
  124. for (e[(t.length >> 2) - 1] = void 0, o = 0; o < e.length; o += 1) e[o] = 0;
  125. for (var n = 8 * t.length, o = 0; o < n; o += 8) e[o >> 5] |= (255 & t.charCodeAt(o / 8)) << o % 32;
  126. return e;
  127. }
  128. function o(t) {
  129. for (var e, n = "0123456789abcdef", o = "", r = 0; r < t.length; r += 1) e = t.charCodeAt(r),
  130. o += n.charAt(e >>> 4 & 15) + n.charAt(15 & e);
  131. return o;
  132. }
  133. function p(t) {
  134. return unescape(encodeURIComponent(t));
  135. }
  136. function r(t) {
  137. return c(f(l(t = p(t)), 8 * t.length));
  138. }
  139. function a(t, e) {
  140. var n, o, t = p(t), e = p(e), r = l(t), a = [], i = [];
  141. for (a[15] = i[15] = void 0, 16 < r.length && (r = f(r, 8 * t.length)),
  142. n = 0; n < 16; n += 1) a[n] = 909522486 ^ r[n], i[n] = 1549556828 ^ r[n];
  143. return o = f(a.concat(l(e)), 512 + 8 * e.length), c(f(i.concat(o), 640));
  144. }
  145. function e(t, e, n) {
  146. return e ? n ? a(e, t) : o(a(e, t)) : n ? r(t) : o(r(t));
  147. }
  148. var n;
  149. n = b, t.exports ? t.exports = e : n.md5 = e;
  150. })(g = {
  151. exports: {}
  152. });
  153. var g, m = g.exports;
  154. function p(t) {
  155. if (null !== t && "object" == typeof t) return t.src ? m(t.src) : t.href ? m(t.href) : t.innerText && "" !== t.innerText ? m(t.innerText) : void 0;
  156. }
  157. let w = "fa-kits-diag", y = "fa-kits-node-under-test", v = "data-md5", A = "data-fa-detection-ignore", x = "data-fa-detection-timeout", T = "data-fa-detection-results-collection-max-wait", D = t => {
  158. t.preventDefault(), t.stopPropagation();
  159. };
  160. function E(t) {
  161. let {
  162. fn: a = () => !0,
  163. initialDuration: e = 1,
  164. maxDuration: i = l.FontAwesomeDetection.timeout,
  165. showProgress: s = !1,
  166. progressIndicator: f
  167. } = t;
  168. return new Promise(function(o, r) {
  169. !function e(t, n) {
  170. setTimeout(function() {
  171. var t = a();
  172. s && console.info(f), t ? o(t) : (t = 250 + n) <= i ? e(250, t) : r("timeout");
  173. }, t);
  174. }(e, 0);
  175. });
  176. }
  177. function O(t) {
  178. var {
  179. nodesTested: e,
  180. nodesFound: n
  181. } = t;
  182. l.FontAwesomeDetection = l.FontAwesomeDetection || {}, l.FontAwesomeDetection.nodesTested = e,
  183. l.FontAwesomeDetection.nodesFound = n, l.FontAwesomeDetection.detectionDone = !0;
  184. }
  185. function C(t) {
  186. let e = 0 < arguments.length && void 0 !== t ? t : () => {}, n = {
  187. conflict: {},
  188. noConflict: {}
  189. };
  190. l.onmessage = function(t) {
  191. "file://" !== l.location.origin && t.origin !== l.location.origin || t && t.data && ("fontawesome-conflict" === t.data.type ? n.conflict[t.data.md5] = t.data : "no-conflict" === t.data.type && (n.noConflict[t.data.md5] = t.data));
  192. };
  193. var o = (e => {
  194. var o = Array.from(d.scripts).filter(t => !t.hasAttribute(A) && t !== e), r = {};
  195. for (let s = 0; s < o.length; s++) {
  196. let t = d.createElement("iframe"), e = (t.setAttribute("style", "display:none;"),
  197. d.createElement("script"));
  198. e.setAttribute("id", y);
  199. var a = p(o[s]);
  200. e.setAttribute(v, a), r[a] = o[s], "" !== o[s].src && (e.src = o[s].src),
  201. "" !== o[s].innerText && (e.innerText = o[s].innerText), e.async = !0;
  202. let n = d.createElement("script");
  203. n.setAttribute("id", w);
  204. var i = "file://" === l.location.origin ? "*" : l.location.origin;
  205. n.innerText = "(".concat(((n, o, r) => {
  206. parent.FontAwesomeDetection.__pollUntil({
  207. fn: () => !!window.FontAwesomeConfig || !!window.FontAwesomeKitConfig
  208. }).then(function() {
  209. var t = document.getElementById(n);
  210. parent.postMessage({
  211. type: "fontawesome-conflict",
  212. technology: "js",
  213. src: t.src,
  214. innerText: t.innerText,
  215. tagName: t.tagName,
  216. md5: o
  217. }, r);
  218. }).catch(function(t) {
  219. var e = document.getElementById(n);
  220. "timeout" === t ? parent.postMessage({
  221. type: "no-conflict",
  222. src: e.src,
  223. innerText: e.innerText,
  224. tagName: e.tagName,
  225. md5: o
  226. }, r) : console.error(t);
  227. });
  228. }).toString(), ")('").concat(y, "', '").concat(a, "', '").concat(i, "');"),
  229. t.onload = function() {
  230. t.contentWindow.addEventListener("error", D, !0), t.contentDocument.head.appendChild(n),
  231. t.contentDocument.head.appendChild(e);
  232. }, h(() => d.body.appendChild(t));
  233. }
  234. return r;
  235. })(d.currentScript), r = (() => {
  236. var t = Array.from(d.getElementsByTagName("link")).filter(t => !t.hasAttribute(A)), e = Array.from(d.getElementsByTagName("style")).filter(t => !(t.hasAttribute(A) || l.FontAwesomeConfig && t.innerText.match(new RegExp("svg:not\\(:root\\)\\.".concat(l.FontAwesomeConfig.replacementClass)))));
  237. function n(t, e) {
  238. let n = d.createElement("iframe");
  239. n.setAttribute("style", "visibility: hidden; position: absolute; height: 0; width: 0;");
  240. var o = "fa-test-icon-" + e;
  241. let r = d.createElement("i"), a = (r.setAttribute("class", "fa fa-coffee"),
  242. r.setAttribute("id", o), d.createElement("script"));
  243. a.setAttribute("id", w);
  244. var i = "file://" === l.location.origin ? "*" : l.location.origin;
  245. a.innerText = "(".concat(((n, e, o, r) => {
  246. parent.FontAwesomeDetection.__pollUntil({
  247. fn: () => {
  248. var t = document.getElementById(e), t = window.getComputedStyle(t).getPropertyValue("font-family");
  249. return !(!t.match(/FontAwesome/) && !t.match(/Font Awesome [56]/));
  250. }
  251. }).then(() => {
  252. var t = document.getElementById(n);
  253. parent.postMessage({
  254. type: "fontawesome-conflict",
  255. technology: "webfont",
  256. href: t.href,
  257. innerText: t.innerText,
  258. tagName: t.tagName,
  259. md5: o
  260. }, r);
  261. }).catch(function(t) {
  262. var e = document.getElementById(n);
  263. "timeout" === t ? parent.postMessage({
  264. type: "no-conflict",
  265. technology: "webfont",
  266. href: e.src,
  267. innerText: e.innerText,
  268. tagName: e.tagName,
  269. md5: o
  270. }, r) : console.error(t);
  271. });
  272. }).toString(), ")('").concat(y, "', '").concat(o || "foo", "', '").concat(e, "', '").concat(i, "');"),
  273. n.onload = function() {
  274. n.contentWindow.addEventListener("error", D, !0), n.contentDocument.head.appendChild(a),
  275. n.contentDocument.head.appendChild(t), n.contentDocument.body.appendChild(r);
  276. }, h(() => d.body.appendChild(n));
  277. }
  278. var o = {};
  279. for (let f = 0; f < t.length; f++) {
  280. var r = d.createElement("link"), a = (r.setAttribute("id", y), r.setAttribute("href", t[f].href),
  281. r.setAttribute("rel", t[f].rel), p(t[f]));
  282. r.setAttribute(v, a), o[a] = t[f], n(r, a);
  283. }
  284. for (let c = 0; c < e.length; c++) {
  285. var i = d.createElement("style"), s = (i.setAttribute("id", y),
  286. p(e[c]));
  287. i.setAttribute(v, s), i.innerText = e[c].innerText, o[s] = e[c],
  288. n(i, s);
  289. }
  290. return o;
  291. })();
  292. let a = s(s({}, o), r), i = Object.keys(o).length + Object.keys(r).length;
  293. o = l.FontAwesomeDetection.timeout + l.FontAwesomeDetection.resultsCollectionMaxWait;
  294. console.group("Font Awesome Detector"), 0 === i ? (console.info("%cAll Good!", "color: green; font-size: large"),
  295. console.info("We didn't find anything that needs testing for conflicts. Ergo, no conflicts.")) : (console.info("Testing ".concat(i, " possible conflicts.")),
  296. console.info("We'll wait about ".concat(Math.round(l.FontAwesomeDetection.timeout / 10) / 100, " seconds while testing these and\n") + "then up to another ".concat(Math.round(l.FontAwesomeDetection.resultsCollectionMaxWait / 10) / 100, " to allow the browser time\n") + "to accumulate the results. But we'll probably be outta here way before then.\n\n"),
  297. console.info("You can adjust those durations by assigning values to these attributes on the <script> element that loads this detection:"),
  298. console.info("\t%c".concat(x, "%c: milliseconds to wait for each test before deciding whether it's a conflict."), "font-weight: bold;", "font-size: normal;"),
  299. console.info("\t%c".concat(T, "%c: milliseconds to wait for the browser to accumulate test results before giving up."), "font-weight: bold;", "font-size: normal;"),
  300. E({
  301. maxDuration: o,
  302. showProgress: !0,
  303. progressIndicator: "waiting...",
  304. fn: () => Object.keys(n.conflict).length + Object.keys(n.noConflict).length >= i
  305. }).then(() => {
  306. console.info("DONE!"), O({
  307. nodesTested: n,
  308. nodesFound: a
  309. }), e({
  310. nodesTested: n,
  311. nodesFound: a
  312. }), console.groupEnd();
  313. }).catch(t => {
  314. "timeout" === t ? console.info("TIME OUT! We waited until we got tired. Here's what we found:") : (console.info("Whoops! We hit an error:", t),
  315. console.info("Here's what we'd found up until that error:")), O({
  316. nodesTested: n,
  317. nodesFound: a
  318. }), e({
  319. nodesTested: n,
  320. nodesFound: a
  321. }), console.groupEnd();
  322. }));
  323. }
  324. var n = l.FontAwesomeDetection || {}, n = s(s(s({}, {
  325. report: function(t) {
  326. var e, {
  327. nodesTested: n,
  328. nodesFound: o
  329. } = t, r = {};
  330. for (e in o) n.conflict[e] || n.noConflict[e] || (r[e] = o[e]);
  331. var a = Object.keys(n.conflict).length;
  332. if (0 < a) {
  333. console.info("%cConflict".concat(1 < a ? "s" : "", " found:"), "color: darkred; font-size: large");
  334. var i, s = {};
  335. for (i in n.conflict) {
  336. var f = n.conflict[i];
  337. s[i] = {
  338. tagName: f.tagName,
  339. "src/href": f.src || f.href || "n/a",
  340. "innerText excerpt": f.innerText && "" !== f.innerText ? f.innerText.slice(0, 200) + "..." : "(empty)"
  341. };
  342. }
  343. console.table(s);
  344. }
  345. if (0 < (a = Object.keys(n.noConflict).length)) {
  346. console.info("%cNo conflict".concat(1 < a ? "s" : "", " found with ").concat(1 === a ? "this" : "these", ":"), "color: green; font-size: large");
  347. var c, l = {};
  348. for (c in n.noConflict) {
  349. var d = n.noConflict[c];
  350. l[c] = {
  351. tagName: d.tagName,
  352. "src/href": d.src || d.href || "n/a",
  353. "innerText excerpt": d.innerText && "" !== d.innerText ? d.innerText.slice(0, 200) + "..." : "(empty)"
  354. };
  355. }
  356. console.table(l);
  357. }
  358. if (0 < (a = Object.keys(r).length)) {
  359. console.info("%cLeftovers--we timed out before collecting test results for ".concat(1 === a ? "this" : "these", ":"), "color: blue; font-size: large");
  360. var u, h = {};
  361. for (u in r) {
  362. var g = r[u];
  363. h[u] = {
  364. tagName: g.tagName,
  365. "src/href": g.src || g.href || "n/a",
  366. "innerText excerpt": g.innerText && "" !== g.innerText ? g.innerText.slice(0, 200) + "..." : "(empty)"
  367. };
  368. }
  369. console.table(h);
  370. }
  371. },
  372. timeout: +(d.currentScript.getAttribute(x) || "2000"),
  373. resultsCollectionMaxWait: +(d.currentScript.getAttribute(T) || "5000")
  374. }), n), {}, {
  375. __pollUntil: E,
  376. md5ForNode: p,
  377. detectionDone: !1,
  378. nodesTested: null,
  379. nodesFound: null
  380. }), n = (l.FontAwesomeDetection = n, {
  381. classic: {
  382. fa: "solid",
  383. fas: "solid",
  384. "fa-solid": "solid",
  385. far: "regular",
  386. "fa-regular": "regular",
  387. fal: "light",
  388. "fa-light": "light",
  389. fat: "thin",
  390. "fa-thin": "thin",
  391. fab: "brands",
  392. "fa-brands": "brands"
  393. },
  394. duotone: {
  395. fa: "solid",
  396. fad: "solid",
  397. "fa-solid": "solid",
  398. "fa-duotone": "solid",
  399. fadr: "regular",
  400. "fa-regular": "regular",
  401. fadl: "light",
  402. "fa-light": "light",
  403. fadt: "thin",
  404. "fa-thin": "thin"
  405. },
  406. sharp: {
  407. fa: "solid",
  408. fass: "solid",
  409. "fa-solid": "solid",
  410. fasr: "regular",
  411. "fa-regular": "regular",
  412. fasl: "light",
  413. "fa-light": "light",
  414. fast: "thin",
  415. "fa-thin": "thin"
  416. },
  417. "sharp-duotone": {
  418. fa: "solid",
  419. fasds: "solid",
  420. "fa-solid": "solid",
  421. fasdr: "regular",
  422. "fa-regular": "regular",
  423. fasdl: "light",
  424. "fa-light": "light",
  425. fasdt: "thin",
  426. "fa-thin": "thin"
  427. }
  428. }), F = "classic", k = {
  429. fak: "kit",
  430. "fa-kit": "kit"
  431. }, j = {
  432. fakd: "kit-duotone",
  433. "fa-kit-duotone": "kit-duotone"
  434. }, N = {
  435. kit: "fak"
  436. }, P = {
  437. "kit-duotone": "fakd"
  438. };
  439. let S = (() => {
  440. try {
  441. return "production" === process.env.NODE_ENV;
  442. } catch (t) {
  443. return !1;
  444. }
  445. })();
  446. function M(t) {
  447. return new Proxy(t, {
  448. get(t, e) {
  449. return e in t ? t[e] : t[F];
  450. }
  451. });
  452. }
  453. var I = s({}, n), n = (I[F] = s(s(s(s({}, {
  454. "fa-duotone": "duotone"
  455. }), n[F]), k), j), M(I), s({}, {
  456. classic: {
  457. solid: "fas",
  458. regular: "far",
  459. light: "fal",
  460. thin: "fat",
  461. brands: "fab"
  462. },
  463. duotone: {
  464. solid: "fad",
  465. regular: "fadr",
  466. light: "fadl",
  467. thin: "fadt"
  468. },
  469. sharp: {
  470. solid: "fass",
  471. regular: "fasr",
  472. light: "fasl",
  473. thin: "fast"
  474. },
  475. "sharp-duotone": {
  476. solid: "fasds",
  477. regular: "fasdr",
  478. light: "fasdl",
  479. thin: "fasdt"
  480. }
  481. })), k = (n[F] = s(s(s(s({}, {
  482. duotone: "fad"
  483. }), n[F]), N), P), M(n), s({}, {
  484. classic: {
  485. fab: "fa-brands",
  486. fad: "fa-duotone",
  487. fal: "fa-light",
  488. far: "fa-regular",
  489. fas: "fa-solid",
  490. fat: "fa-thin"
  491. },
  492. duotone: {
  493. fadr: "fa-regular",
  494. fadl: "fa-light",
  495. fadt: "fa-thin"
  496. },
  497. sharp: {
  498. fass: "fa-solid",
  499. fasr: "fa-regular",
  500. fasl: "fa-light",
  501. fast: "fa-thin"
  502. },
  503. "sharp-duotone": {
  504. fasds: "fa-solid",
  505. fasdr: "fa-regular",
  506. fasdl: "fa-light",
  507. fasdt: "fa-thin"
  508. }
  509. })), j = (k[F] = s(s({}, k[F]), {
  510. fak: "fa-kit"
  511. }), M(k), s({}, {
  512. classic: {
  513. "fa-brands": "fab",
  514. "fa-duotone": "fad",
  515. "fa-light": "fal",
  516. "fa-regular": "far",
  517. "fa-solid": "fas",
  518. "fa-thin": "fat"
  519. },
  520. duotone: {
  521. "fa-regular": "fadr",
  522. "fa-light": "fadl",
  523. "fa-thin": "fadt"
  524. },
  525. sharp: {
  526. "fa-solid": "fass",
  527. "fa-regular": "fasr",
  528. "fa-light": "fasl",
  529. "fa-thin": "fast"
  530. },
  531. "sharp-duotone": {
  532. "fa-solid": "fasds",
  533. "fa-regular": "fasdr",
  534. "fa-light": "fasdl",
  535. "fa-thin": "fasdt"
  536. }
  537. }));
  538. j[F] = s(s({}, j[F]), {
  539. "fa-kit": "fak"
  540. }), M(j), M(s({}, {
  541. classic: {
  542. 900: "fas",
  543. 400: "far",
  544. normal: "far",
  545. 300: "fal",
  546. 100: "fat"
  547. },
  548. duotone: {
  549. 900: "fad",
  550. 400: "fadr",
  551. 300: "fadl",
  552. 100: "fadt"
  553. },
  554. sharp: {
  555. 900: "fass",
  556. 400: "fasr",
  557. 300: "fasl",
  558. 100: "fast"
  559. },
  560. "sharp-duotone": {
  561. 900: "fasds",
  562. 400: "fasdr",
  563. 300: "fasdl",
  564. 100: "fasdt"
  565. }
  566. }));
  567. !function(t) {
  568. try {
  569. for (var e = arguments.length, n = new Array(1 < e ? e - 1 : 0), o = 1; o < e; o++) n[o - 1] = arguments[o];
  570. t(...n);
  571. } catch (t) {
  572. if (!S) throw t;
  573. }
  574. }(() => {
  575. a && i && C(window.FontAwesomeDetection.report);
  576. });
  577. });