PageSourceSearch

https://eds-portfolio.netlify.app/js/fontawesome.js

js eds-portfolio.netlify.app collected 2026-10-03 10:40:58 UTC 17,933 bytes, 637 lines download raw bytes

1window.FontAwesomeKitConfig = {
2  asyncLoading: { enabled: false },
3  autoA11y: { enabled: true },
4  baseUrl: "https://ka-f.fontawesome.com",
5  baseUrlKit: "https://kit.fontawesome.com",
6  detectConflictsUntil: null,
7  iconUploads: {},
8  id: 120486246,
9  license: "free",
10  method: "css",
11  minify: { enabled: true },
12  token: "18a3d61926",
13  v4FontFaceShim: { enabled: true },
14  v4shim: { enabled: true },
15  version: "5.15.4",
16};
17!(function (t) {
18  "function" == typeof define && define.amd ? define("kit-loader", t) : t();
19})(function () {
20  "use strict";
21  function t(e) {
22    return (t =
23      "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
24        ? function (t) {
25            return typeof t;
26          }
27        : function (t) {
28            return t &&
29              "function" == typeof Symbol &&
30              t.constructor === Symbol &&
31              t !== Symbol.prototype
32              ? "symbol"
33              : typeof t;
34          })(e);
35  }
36  function e(t, e, n) {
37    return (
38      e in t
39        ? Object.defineProperty(t, e, {
40            value: n,
41            enumerable: !0,
42            configurable: !0,
43            writable: !0,
44          })
45        : (t[e] = n),
46      t
47    );
48  }
49  function n(t, e) {
50    var n = Object.keys(t);
51    if (Object.getOwnPropertySymbols) {
52      var r = Object.getOwnPropertySymbols(t);
53      e &&
54        (r = r.filter(function (e) {
55          return Object.getOwnPropertyDescriptor(t, e).enumerable;
56        })),
57        n.push.apply(n, r);
58    }
59    return n;
60  }
61  function r(t) {
62    for (var r = 1; r < arguments.length; r++) {
63      var o = null != arguments[r] ? arguments[r] : {};
64      r % 2
65        ? n(Object(o), !0).forEach(function (n) {
66            e(t, n, o[n]);
67          })
68        : Object.getOwnPropertyDescriptors
69        ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(o))
70        : n(Object(o)).forEach(function (e) {
71            Object.defineProperty(t, e, Object.getOwnPropertyDescriptor(o, e));
72          });
73    }
74    return t;
75  }
76  function o(t, e) {
77    return (
78      (function (t) {
79        if (Array.isArray(t)) return t;
80      })(t) ||
81      (function (t, e) {
82        if ("undefined" == typeof Symbol || !(Symbol.iterator in Object(t)))
83          return;
84        var n = [],
85          r = !0,
86          o = !1,
87          i = void 0;
88        try {
89          for (
90            var c, a = t[Symbol.iterator]();
91            !(r = (c = a.next()).done) &&
92            (n.push(c.value), !e || n.length !== e);
93            r = !0
94          );
95        } catch (t) {
96          (o = !0), (i = t);
97        } finally {
98          try {
99            r || null == a.return || a.return();
100          } finally {
101            if (o) throw i;
102          }
103        }
104        return n;
105      })(t, e) ||
106      (function (t, e) {
107        if (!t) return;
108        if ("string" == typeof t) return i(t, e);
109        var n = Object.prototype.toString.call(t).slice(8, -1);
110        "Object" === n && t.constructor && (n = t.constructor.name);
111        if ("Map" === n || "Set" === n) return Array.from(t);
112        if (
113          "Arguments" === n ||
114          /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)
115        )
116          return i(t, e);
117      })(t, e) ||
118      (function () {
119        throw new TypeError(
120          "Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
121        );
122      })()
123    );
124  }
125  function i(t, e) {
126    (null == e || e > t.length) && (e = t.length);
127    for (var n = 0, r = new Array(e); n < e; n++) r[n] = t[n];
128    return r;
129  }
130  function c(t, e) {
131    var n = (e && e.addOn) || "",
132      r = (e && e.baseFilename) || t.license + n,
133      o = e && e.minify ? ".min" : "",
134      i = (e && e.fileSuffix) || t.method,
135      c = (e && e.subdir) || t.method;
136    return (
137      t.baseUrl +
138      "/releases/" +
139      ("latest" === t.version ? "latest" : "v".concat(t.version)) +
140      "/" +
141      c +
142      "/" +
143      r +
144      o +
145      "." +
146      i
147    );
148  }
149  function a(t) {
150    return t.baseUrlKit + "/" + t.token + "/" + t.id + "/kit-upload.css";
151  }
152  function u(t, e) {
153    var n = e || ["fa"],
154      r = "." + Array.prototype.join.call(n, ",."),
155      o = t.querySelectorAll(r);
156    Array.prototype.forEach.call(o, function (e) {
157      var n = e.getAttribute("title");
158      e.setAttribute("aria-hidden", "true");
159      var r =
160        !e.nextElementSibling ||
161        !e.nextElementSibling.classList.contains("sr-only");
162      if (n && r) {
163        var o = t.createElement("span");
164        (o.innerHTML = n),
165          o.classList.add("sr-only"),
166          e.parentNode.insertBefore(o, e.nextSibling);
167      }
168    });
169  }
170  var f,
171    s = function () {},
172    d =
173      "undefined" != typeof global &&
174      void 0 !== global.process &&
175      "function" == typeof global.process.emit,
176    l = "undefined" == typeof setImmediate ? setTimeout : setImmediate,
177    h = [];
178  function m() {
179    for (var t = 0; t < h.length; t++) h[t][0](h[t][1]);
180    (h = []), (f = !1);
181  }
182  function p(t, e) {
183    h.push([t, e]), f || ((f = !0), l(m, 0));
184  }
185  function y(t) {
186    var e = t.owner,
187      n = e._state,
188      r = e._data,
189      o = t[n],
190      i = t.then;
191    if ("function" == typeof o) {
192      n = "fulfilled";
193      try {
194        r = o(r);
195      } catch (t) {
196        w(i, t);
197      }
198    }
199    b(i, r) || ("fulfilled" === n && v(i, r), "rejected" === n && w(i, r));
200  }
201  function b(e, n) {
202    var r;
203    try {
204      if (e === n)
205        throw new TypeError(
206          "A promises callback cannot return that same promise."
207        );
208      if (n && ("function" == typeof n || "object" === t(n))) {
209        var o = n.then;
210        if ("function" == typeof o)
211          return (
212            o.call(
213              n,
214              function (t) {
215                r || ((r = !0), n === t ? g(e, t) : v(e, t));
216              },
217              function (t) {
218                r || ((r = !0), w(e, t));
219              }
220            ),
221            !0
222          );
223      }
224    } catch (t) {
225      return r || w(e, t), !0;
226    }
227    return !1;
228  }
229  function v(t, e) {
230    (t !== e && b(t, e)) || g(t, e);
231  }
232  function g(t, e) {
233    "pending" === t._state && ((t._state = "settled"), (t._data = e), p(S, t));
234  }
235  function w(t, e) {
236    "pending" === t._state && ((t._state = "settled"), (t._data = e), p(O, t));
237  }
238  function A(t) {
239    t._then = t._then.forEach(y);
240  }
241  function S(t) {
242    (t._state = "fulfilled"), A(t);
243  }
244  function O(t) {
245    (t._state = "rejected"),
246      A(t),
247      !t._handled && d && global.process.emit("unhandledRejection", t._data, t);
248  }
249  function j(t) {
250    global.process.emit("rejectionHandled", t);
251  }
252  function E(t) {
253    if ("function" != typeof t)
254      throw new TypeError("Promise resolver " + t + " is not a function");
255    if (this instanceof E == !1)
256      throw new TypeError(
257        "Failed to construct 'Promise': Please use the 'new' operator, this object c
257onstructor cannot be called as a function."
258      );
259    (this._then = []),
260      (function (t, e) {
261        function n(t) {
262          w(e, t);
263        }
264        try {
265          t(function (t) {
266            v(e, t);
267          }, n);
268        } catch (t) {
269          n(t);
270        }
271      })(t, this);
272  }
273  (E.prototype = {
274    constructor: E,
275    _state: "pending",
276    _then: null,
277    _data: void 0,
278    _handled: !1,
279    then: function (t, e) {
280      var n = {
281        owner: this,
282        then: new this.constructor(s),
283        fulfilled: t,
284        rejected: e,
285      };
286      return (
287        (!e && !t) ||
288          this._handled ||
289          ((this._handled = !0), "rejected" === this._state && d && p(j, this)),
290        "fulfilled" === this._state || "rejected" === this._state
291          ? p(y, n)
292          : this._then.push(n),
293        n.then
294      );
295    },
296    catch: function (t) {
297      return this.then(null, t);
298    },
299  }),
300    (E.all = function (t) {
301      if (!Array.isArray(t))
302        throw new TypeError("You must pass an array to Promise.all().");
303      return new E(function (e, n) {
304        var r = [],
305          o = 0;
306        function i(t) {
307          return (
308            o++,
309            function (n) {
310              (r[t] = n), --o || e(r);
311            }
312          );
313        }
314        for (var c, a = 0; a < t.length; a++)
315          (c = t[a]) && "function" == typeof c.then
316            ? c.then(i(a), n)
317            : (r[a] = c);
318        o || e(r);
319      });
320    }),
321    (E.race = function (t) {
322      if (!Array.isArray(t))
323        throw new TypeError("You must pass an array to Promise.race().");
324      return new E(function (e, n) {
325        for (var r, o = 0; o < t.length; o++)
326          (r = t[o]) && "function" == typeof r.then ? r.then(e, n) : e(r);
327      });
328    }),
329    (E.resolve = function (e) {
330      return e && "object" === t(e) && e.constructor === E
331        ? e
332        : new E(function (t) {
333            t(e);
334          });
335    }),
336    (E.reject = function (t) {
337      return new E(function (e, n) {
338        n(t);
339      });
340    });
341  var _ = "function" == typeof Promise ? Promise : E;
342  function P(t, e) {
343    var n = e.fetch,
344      r = e.XMLHttpRequest,
345      o = e.token,
346      i = t;
347    return (
348      "URLSearchParams" in window
349        ? (i = new URL(t)).searchParams.set("token", o)
350        : (i = i + "?token=" + encodeURIComponent(o)),
351      (i = i.toString()),
352      new _(function (t, e) {
353        if ("function" == typeof n)
354          n(i, { mode: "cors", cache: "default" })
355            .then(function (t) {
356              if (t.ok) return t.text();
357              throw new Error("");
358            })
359            .then(function (e) {
360              t(e);
361            })
362            .catch(e);
363        else if ("function" == typeof r) {
364          var o = new r();
365          o.addEventListener("loadend", function () {
366            this.responseText ? t(this.responseText) : e(new Error(""));
367          });
368          ["abort", "error", "timeout"].map(function (t) {
369            o.addEventListener(t, function () {
370              e(new Error(""));
371            });
372          }),
373            o.open("GET", i),
374            o.send();
375        } else {
376          e(new Error(""));
377        }
378      })
379    );
380  }
381  function C(t, e, n) {
382    var r = t;
383    return (
384      [
385        [
386          /(url\("?)\.\.\/\.\.\/\.\./g,
387          function (t, n) {
388            return "".concat(n).concat(e);
389          },
390        ],
391        [
392          /(url\("?)\.\.\/webfonts/g,
393          function (t, r) {
394            return "".concat(r).concat(e, "/releases/v").concat(n, "/webfonts");
395          },
396        ],
397        [
398          /(url\("?)https:\/\/kit-free([^.])*\.fontawesome\.com/g,
399          function (t, n) {
400            return "".concat(n).concat(e);
401          },
402        ],
403      ].forEach(function (t) {
404        var e = o(t, 2),
405          n = e[0],
406          i = e[1];
407        r = r.replace(n, i);
408      }),
409      r
410    );
411  }
412  function F(t, e) {
413    var n =
414        arguments.length > 2 && void 0 !== arguments[2]
415          ? arguments[2]
416          : function () {},
417      o = e.document || o,
418      i = u.bind(u, o, ["fa", "fab", "fas", "far", "fal", "fad", "fak"]),
419      f = Object.keys(t.iconUploads || {}).length > 0;
420    t.autoA11y.enabled && n(i);
421    var s = [{ id: "fa-main", addOn: void 0 }];
422    t.v4shim.enabled && s.push({ id: "fa-v4-shims", addOn: "-v4-shims" }),
423      t.v4FontFaceShim.enabled &&
424        s.push({ id: "fa-v4-font-face", addOn: "-v4-font-face" }),
425      f && s.push({ id: "fa-kit-upload", customCss: !0 });
426    var d = s.map(function (n) {
427      return new _(function (o, i) {
428        P(
429          n.customCss
430            ? a(t)
431            : c(t, { addOn: n.addOn, minify: t.minify.enabled }),
432          e
433        )
434          .then(function (i) {
435            o(
436              U(
437                i,
438                r(
439                  r({}, e),
440                  {},
441                  {
442                    baseUrl: t.baseUrl,
443                    version: t.version,
444                    id: n.id,
445                    contentFilter: function (t, e) {
446                      return C(t, e.baseUrl, e.version);
447                    },
448                  }
449                )
450              )
451            );
452          })
453          .catch(i);
454      });
455    });
456    return _.all(d);
457  }
458  function U(t, e) {
459    var n =
460        e.contentFilter ||
461        function (t, e) {
462          return t;
463        },
464      r = document.createElement("style"),
465      o = document.createTextNode(n(t, e));
466    return (
467      r.appendChild(o),
468      (r.media = "all"),
469      e.id && r.setAttribute("id", e.id),
470      e &&
471        e.detectingConflicts &&
472        e.detectionIgnoreAttr &&
473        r.setAttributeNode(document.createAttribute(e.detectionIgnoreAttr)),
474      r
475    );
476  }
477  function k(t, e) {
478    (e.autoA11y = t.autoA11y.enabled),
479      "pro" === t.license &&
480        ((e.autoFetchSvg = !0),
481        (e.fetchSvgFrom =
482          t.baseUrl +
483          "/releases/" +
484          ("latest" === t.version ? "latest" : "v".concat(t.version)) +
485          "/svgs"),
486        (e.fetchUploadedSvgFrom = t.uploadsUrl));
487    var n = [];
488    return (
489      t.v4shim.enabled &&
490        n.push(
491          new _(function (n, o) {
492            P(c(t, { addOn: "-v4-shims", minify: t.minify.enabled }), e)
493              .then(function (t) {
494                n(I(t, r(r({}, e), {}, { id: "fa-v4-shims" })));
495              })
496              .catch(o);
497          })
498        ),
499      n.push(
500        new _(function (n, o) {
501          P(c(t, { minify: t.minify.enabled }), e)
502            .then(function (t) {
503              var o = I(t, r(r({}, e), {}, { id: "fa-main" }));
504              n(
505                (function (t, e) {
506                  var n =
507                      e && void 0 !== e.autoFetchSvg ? e.autoFetchSvg : void 0,
508                    r = e && void 0 !== e.autoA11y ? e.autoA11y : void 0;
509                  void 0 !== r &&
510                    t.setAttribute("data-auto-a11y", r ? "true" : "false");
511                  n &&
512                    (t.setAttributeNode(
513                      document.createAttribute("data-auto-fetch-svg")
514                    ),
515                    t.setAttribute("data-fetch-svg-from", e.fetchSvgFrom),
516                    t.setAttribute(
517                      "data-fetch-uploaded-svg-from",
518                      e.fetchUploadedSvgFrom
519                    ));
520                  return t;
521                })(o, e)
522              );
523            })
524            .catch(o);
525        })
526      ),
527      _.all(n)
528    );
529  }
530  function I(t, e) {
531    var n = document.createElement("SCRIPT"),
532      r = document.createTextNode(t);
533    return (
534      n.appendChild(r),
535      (n.referrerPolicy = "strict-origin"),
536      e.id && n.setAttribute("id", e.id),
537      e &&
538        e.detectingConflicts &&
539        e.detectionIgnoreAttr &&
540        n.setAttributeNode(document.createAttribute(e.detectionIgnoreAttr)),
541      n
542    );
543  }
544  function L(t) {
545    var e,
546      n = [],
547      r = document,
548      o = r.documentElement.doScroll,
549      i = (o ? /^loaded|^c/ : /^loaded|^i|^c/).test(r.readyState);
550    i ||
551      r.addEventListener(
552        "DOMContentLoaded",
553        (e = function () {
554          for (
555            r.removeEventListener("DOMContentLoaded", e), i = 1;
556            (e = n.shift());
557
558          )
559            e();
560        })
561      ),
562      i ? setTimeout(t, 0) : n.push(t);
563  }
564  function T(t) {
565    "undefined" != typeof MutationObserver &&
566      new MutationObserver(t).observe(document, { childList: !0, subtree: !0 });
567  }
568  try {
569    if (window.FontAwesomeKitConfig) {
570      var x = window.FontAwesomeKitConfig,
571        M = {
572          detectingConflicts:
573            x.detectConflictsUntil &&
574            new Date() <= new Date(x.detectConflictsUntil),
575          detectionIgnoreAttr: "data-fa-detection-ignore",
576          fetch: window.fetch,
577          token: x.token,
578          XMLHttpRequest: window.XMLHttpRequest,
579          document: document,
580        },
581        D = document.currentScript,
582        N = D ? D.parentElement : document.head;
583      (function () {
584        var t =
585            arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {},
586          e =
587            arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {};
588        return "js" === t.method
589          ? k(t, e)
590          : "css" === t.method
591          ? F(t, e, function (t) {
592              L(t), T(t);
593            })
594          : void 0;
595      })(x, M)
596        .then(function (t) {
597          t.map(function (t) {
598            try {
599              N.insertBefore(t, D ? D.nextSibling : null);
600            } catch (e) {
601              N.appendChild(t);
602            }
603          }),
604            M.detectingConflicts &&
605              D &&
606              L(function () {
607                D.setAttributeNode(
608                  document.createAttribute(M.detectionIgnoreAttr)
609                );
610                var t = (function (t, e) {
611                  var n = document.createElement("script");
612                  return (
613                    e &&
614                      e.detectionIgnoreAttr &&
615                      n.setAttributeNode(
616                        document.createAttribute(e.detectionIgnoreAttr)
617                      ),
618                    (n.src = c(t, {
619                      baseFilename: "conflict-detection",
620                      fileSuffix: "js",
621                      subdir: "js",
622                      minify: t.minify.enabled,
623                    })),
624                    n
625                  );
626                })(x, M);
627                document.body.appendChild(t);
628              });
629        })
630        .catch(function (t) {
631          console.error("".concat("Font Awesome Kit:", " ").concat(t));
632        });
633    }
634  } catch (t) {
635    console.error("".concat("Font Awesome Kit:", " ").concat(t));
636  }
637});

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.