UNPKG

@stlhorizon/vue-ui

Version:

A Vue.js component library with Tailwind CSS styling

1,768 lines (1,709 loc) 507 kB
import { defineComponent as va, computed as h, watch as de, h as hn, createBlock as _, openBlock as s, unref as U, normalizeClass as b, ref as q, createElementBlock as u, toDisplayString as x, createCommentVNode as p, renderSlot as F, resolveDynamicComponent as pe, createVNode as T, mergeProps as Vt, createElementVNode as d, useId as ba, createTextVNode as ee, withCtx as N, normalizeStyle as ce, onMounted as ke, onUnmounted as Pe, Teleport as dt, withDirectives as je, withModifiers as ye, vModelText as Ue, Fragment as W, renderList as X, nextTick as ot, Transition as fe, withKeys as Ma, onBeforeUnmount as pn, resolveComponent as ge, markRaw as yn, TransitionGroup as Br, provide as Tr, inject as xn, vShow as wn, getCurrentInstance as jr } from "vue"; import { cva as R } from "class-variance-authority"; import { clsx as Or } from "clsx"; function z(...e) { return Or(e); } /*! * Font Awesome Free 7.0.1 by @fontawesome - https://fontawesome.com * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) * Copyright 2025 Fonticons, Inc. */ function Qt(e, a) { (a == null || a > e.length) && (a = e.length); for (var t = 0, n = Array(a); t < a; t++) n[t] = e[t]; return n; } function Ir(e) { if (Array.isArray(e)) return e; } function Mr(e) { if (Array.isArray(e)) return Qt(e); } function Fr(e, a) { if (!(e instanceof a)) throw new TypeError("Cannot call a class as a function"); } function Lr(e, a) { for (var t = 0; t < a.length; t++) { var n = a[t]; n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, kn(n.key), n); } } function Er(e, a, t) { return a && Lr(e.prototype, a), Object.defineProperty(e, "prototype", { writable: !1 }), e; } function pt(e, a) { var t = typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"]; if (!t) { if (Array.isArray(e) || (t = ha(e)) || a) { t && (e = t); var n = 0, r = function() { }; return { s: r, n: function() { return n >= e.length ? { done: !0 } : { done: !1, value: e[n++] }; }, e: function(g) { throw g; }, f: r }; } throw new TypeError(`Invalid attempt to iterate non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`); } var l, o = !0, m = !1; return { s: function() { t = t.call(e); }, n: function() { var g = t.next(); return o = g.done, g; }, e: function(g) { m = !0, l = g; }, f: function() { try { o || t.return == null || t.return(); } finally { if (m) throw l; } } }; } function le(e, a, t) { return (a = kn(a)) in e ? Object.defineProperty(e, a, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[a] = t, e; } function Nr(e) { if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null) return Array.from(e); } function Dr(e, a) { var t = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"]; if (t != null) { var n, r, l, o, m = [], g = !0, y = !1; try { if (l = (t = t.call(e)).next, a === 0) { if (Object(t) !== t) return; g = !1; } else for (; !(g = (n = l.call(t)).done) && (m.push(n.value), m.length !== a); g = !0) ; } catch (k) { y = !0, r = k; } finally { try { if (!g && t.return != null && (o = t.return(), Object(o) !== o)) return; } finally { if (y) throw r; } } return m; } } function _r() { throw new TypeError(`Invalid attempt to destructure non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`); } function Rr() { throw new TypeError(`Invalid attempt to spread non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`); } function Fa(e, a) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); a && (n = n.filter(function(r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, n); } return t; } function D(e) { for (var a = 1; a < arguments.length; a++) { var t = arguments[a] != null ? arguments[a] : {}; a % 2 ? Fa(Object(t), !0).forEach(function(n) { le(e, n, t[n]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : Fa(Object(t)).forEach(function(n) { Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(t, n)); }); } return e; } function Pt(e, a) { return Ir(e) || Dr(e, a) || ha(e, a) || _r(); } function ze(e) { return Mr(e) || Nr(e) || ha(e) || Rr(); } function Ur(e, a) { if (typeof e != "object" || !e) return e; var t = e[Symbol.toPrimitive]; if (t !== void 0) { var n = t.call(e, a); if (typeof n != "object") return n; throw new TypeError("@@toPrimitive must return a primitive value."); } return (a === "string" ? String : Number)(e); } function kn(e) { var a = Ur(e, "string"); return typeof a == "symbol" ? a : a + ""; } function kt(e) { "@babel/helpers - typeof"; return kt = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(a) { return typeof a; } : function(a) { return a && typeof Symbol == "function" && a.constructor === Symbol && a !== Symbol.prototype ? "symbol" : typeof a; }, kt(e); } function ha(e, a) { if (e) { if (typeof e == "string") return Qt(e, a); var t = {}.toString.call(e).slice(8, -1); return t === "Object" && e.constructor && (t = e.constructor.name), t === "Map" || t === "Set" ? Array.from(e) : t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? Qt(e, a) : void 0; } } var La = function() { }, pa = {}, $n = {}, Cn = null, Sn = { mark: La, measure: La }; try { typeof window < "u" && (pa = window), typeof document < "u" && ($n = document), typeof MutationObserver < "u" && (Cn = MutationObserver), typeof performance < "u" && (Sn = performance); } catch { } var qr = pa.navigator || {}, Ea = qr.userAgent, Na = Ea === void 0 ? "" : Ea, Le = pa, ue = $n, Da = Cn, bt = Sn; Le.document; var Me = !!ue.documentElement && !!ue.head && typeof ue.addEventListener == "function" && typeof ue.createElement == "function", zn = ~Na.indexOf("MSIE") || ~Na.indexOf("Trident/"), qt, Hr = /fa(k|kd|s|r|l|t|d|dr|dl|dt|b|slr|slpr|wsb|tl|ns|nds|es|jr|jfr|jdr|cr|ss|sr|sl|st|sds|sdr|sdl|sdt)?[\-\ ]/, Yr = /Font ?Awesome ?([567 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp Duotone|Sharp|Kit|Notdog Duo|Notdog|Chisel|Etch|Thumbprint|Jelly Fill|Jelly Duo|Jelly|Slab Press|Slab|Whiteboard)?.*/i, An = { classic: { fa: "solid", fas: "solid", "fa-solid": "solid", far: "regular", "fa-regular": "regular", fal: "light", "fa-light": "light", fat: "thin", "fa-thin": "thin", fab: "brands", "fa-brands": "brands" }, duotone: { fa: "solid", fad: "solid", "fa-solid": "solid", "fa-duotone": "solid", fadr: "regular", "fa-regular": "regular", fadl: "light", "fa-light": "light", fadt: "thin", "fa-thin": "thin" }, sharp: { fa: "solid", fass: "solid", "fa-solid": "solid", fasr: "regular", "fa-regular": "regular", fasl: "light", "fa-light": "light", fast: "thin", "fa-thin": "thin" }, "sharp-duotone": { fa: "solid", fasds: "solid", "fa-solid": "solid", fasdr: "regular", "fa-regular": "regular", fasdl: "light", "fa-light": "light", fasdt: "thin", "fa-thin": "thin" }, slab: { "fa-regular": "regular", faslr: "regular" }, "slab-press": { "fa-regular": "regular", faslpr: "regular" }, thumbprint: { "fa-light": "light", fatl: "light" }, whiteboard: { "fa-semibold": "semibold", fawsb: "semibold" }, notdog: { "fa-solid": "solid", fans: "solid" }, "notdog-duo": { "fa-solid": "solid", fands: "solid" }, etch: { "fa-solid": "solid", faes: "solid" }, jelly: { "fa-regular": "regular", fajr: "regular" }, "jelly-fill": { "fa-regular": "regular", fajfr: "regular" }, "jelly-duo": { "fa-regular": "regular", fajdr: "regular" }, chisel: { "fa-regular": "regular", facr: "regular" } }, Wr = { GROUP: "duotone-group", PRIMARY: "primary", SECONDARY: "secondary" }, Vn = ["fa-classic", "fa-duotone", "fa-sharp", "fa-sharp-duotone", "fa-thumbprint", "fa-whiteboard", "fa-notdog", "fa-notdog-duo", "fa-chisel", "fa-etch", "fa-jelly", "fa-jelly-fill", "fa-jelly-duo", "fa-slab", "fa-slab-press"], ve = "classic", ct = "duotone", Pn = "sharp", Bn = "sharp-duotone", Tn = "chisel", jn = "etch", On = "jelly", In = "jelly-duo", Mn = "jelly-fill", Fn = "notdog", Ln = "notdog-duo", En = "slab", Nn = "slab-press", Dn = "thumbprint", _n = "whiteboard", Gr = "Classic", Kr = "Duotone", Xr = "Sharp", Qr = "Sharp Duotone", Jr = "Chisel", Zr = "Etch", es = "Jelly", ts = "Jelly Duo", as = "Jelly Fill", ns = "Notdog", rs = "Notdog Duo", ss = "Slab", ls = "Slab Press", os = "Thumbprint", is = "Whiteboard", Rn = [ve, ct, Pn, Bn, Tn, jn, On, In, Mn, Fn, Ln, En, Nn, Dn, _n]; qt = {}, le(le(le(le(le(le(le(le(le(le(qt, ve, Gr), ct, Kr), Pn, Xr), Bn, Qr), Tn, Jr), jn, Zr), On, es), In, ts), Mn, as), Fn, ns), le(le(le(le(le(qt, Ln, rs), En, ss), Nn, ls), Dn, os), _n, is); var us = { classic: { 900: "fas", 400: "far", normal: "far", 300: "fal", 100: "fat" }, duotone: { 900: "fad", 400: "fadr", 300: "fadl", 100: "fadt" }, sharp: { 900: "fass", 400: "fasr", 300: "fasl", 100: "fast" }, "sharp-duotone": { 900: "fasds", 400: "fasdr", 300: "fasdl", 100: "fasdt" }, slab: { 400: "faslr" }, "slab-press": { 400: "faslpr" }, whiteboard: { 600: "fawsb" }, thumbprint: { 300: "fatl" }, notdog: { 900: "fans" }, "notdog-duo": { 900: "fands" }, etch: { 900: "faes" }, chisel: { 400: "facr" }, jelly: { 400: "fajr" }, "jelly-fill": { 400: "fajfr" }, "jelly-duo": { 400: "fajdr" } }, ds = { "Font Awesome 7 Free": { 900: "fas", 400: "far" }, "Font Awesome 7 Pro": { 900: "fas", 400: "far", normal: "far", 300: "fal", 100: "fat" }, "Font Awesome 7 Brands": { 400: "fab", normal: "fab" }, "Font Awesome 7 Duotone": { 900: "fad", 400: "fadr", normal: "fadr", 300: "fadl", 100: "fadt" }, "Font Awesome 7 Sharp": { 900: "fass", 400: "fasr", normal: "fasr", 300: "fasl", 100: "fast" }, "Font Awesome 7 Sharp Duotone": { 900: "fasds", 400: "fasdr", normal: "fasdr", 300: "fasdl", 100: "fasdt" }, "Font Awesome 7 Jelly": { 400: "fajr", normal: "fajr" }, "Font Awesome 7 Jelly Fill": { 400: "fajfr", normal: "fajfr" }, "Font Awesome 7 Jelly Duo": { 400: "fajdr", normal: "fajdr" }, "Font Awesome 7 Slab": { 400: "faslr", normal: "faslr" }, "Font Awesome 7 Slab Press": { 400: "faslpr", normal: "faslpr" }, "Font Awesome 7 Thumbprint": { 300: "fatl", normal: "fatl" }, "Font Awesome 7 Notdog": { 900: "fans", normal: "fans" }, "Font Awesome 7 Notdog Duo": { 900: "fands", normal: "fands" }, "Font Awesome 7 Etch": { 900: "faes", normal: "faes" }, "Font Awesome 7 Chisel": { 400: "facr", normal: "facr" }, "Font Awesome 7 Whiteboard": { 600: "fawsb", normal: "fawsb" } }, cs = /* @__PURE__ */ new Map([["classic", { defaultShortPrefixId: "fas", defaultStyleId: "solid", styleIds: ["solid", "regular", "light", "thin", "brands"], futureStyleIds: [], defaultFontWeight: 900 }], ["duotone", { defaultShortPrefixId: "fad", defaultStyleId: "solid", styleIds: ["solid", "regular", "light", "thin"], futureStyleIds: [], defaultFontWeight: 900 }], ["sharp", { defaultShortPrefixId: "fass", defaultStyleId: "solid", styleIds: ["solid", "regular", "light", "thin"], futureStyleIds: [], defaultFontWeight: 900 }], ["sharp-duotone", { defaultShortPrefixId: "fasds", defaultStyleId: "solid", styleIds: ["solid", "regular", "light", "thin"], futureStyleIds: [], defaultFontWeight: 900 }], ["chisel", { defaultShortPrefixId: "facr", defaultStyleId: "regular", styleIds: ["regular"], futureStyleIds: [], defaultFontWeight: 400 }], ["etch", { defaultShortPrefixId: "faes", defaultStyleId: "solid", styleIds: ["solid"], futureStyleIds: [], defaultFontWeight: 900 }], ["jelly", { defaultShortPrefixId: "fajr", defaultStyleId: "regular", styleIds: ["regular"], futureStyleIds: [], defaultFontWeight: 400 }], ["jelly-duo", { defaultShortPrefixId: "fajdr", defaultStyleId: "regular", styleIds: ["regular"], futureStyleIds: [], defaultFontWeight: 400 }], ["jelly-fill", { defaultShortPrefixId: "fajfr", defaultStyleId: "regular", styleIds: ["regular"], futureStyleIds: [], defaultFontWeight: 400 }], ["notdog", { defaultShortPrefixId: "fans", defaultStyleId: "solid", styleIds: ["solid"], futureStyleIds: [], defaultFontWeight: 900 }], ["notdog-duo", { defaultShortPrefixId: "fands", defaultStyleId: "solid", styleIds: ["solid"], futureStyleIds: [], defaultFontWeight: 900 }], ["slab", { defaultShortPrefixId: "faslr", defaultStyleId: "regular", styleIds: ["regular"], futureStyleIds: [], defaultFontWeight: 400 }], ["slab-press", { defaultShortPrefixId: "faslpr", defaultStyleId: "regular", styleIds: ["regular"], futureStyleIds: [], defaultFontWeight: 400 }], ["thumbprint", { defaultShortPrefixId: "fatl", defaultStyleId: "light", styleIds: ["light"], futureStyleIds: [], defaultFontWeight: 300 }], ["whiteboard", { defaultShortPrefixId: "fawsb", defaultStyleId: "semibold", styleIds: ["semibold"], futureStyleIds: [], defaultFontWeight: 600 }]]), fs = { chisel: { regular: "facr" }, classic: { brands: "fab", light: "fal", regular: "far", solid: "fas", thin: "fat" }, duotone: { light: "fadl", regular: "fadr", solid: "fad", thin: "fadt" }, etch: { solid: "faes" }, jelly: { regular: "fajr" }, "jelly-duo": { regular: "fajdr" }, "jelly-fill": { regular: "fajfr" }, notdog: { solid: "fans" }, "notdog-duo": { solid: "fands" }, sharp: { light: "fasl", regular: "fasr", solid: "fass", thin: "fast" }, "sharp-duotone": { light: "fasdl", regular: "fasdr", solid: "fasds", thin: "fasdt" }, slab: { regular: "faslr" }, "slab-press": { regular: "faslpr" }, thumbprint: { light: "fatl" }, whiteboard: { semibold: "fawsb" } }, Un = ["fak", "fa-kit", "fakd", "fa-kit-duotone"], _a = { kit: { fak: "kit", "fa-kit": "kit" }, "kit-duotone": { fakd: "kit-duotone", "fa-kit-duotone": "kit-duotone" } }, ms = ["kit"], gs = "kit", vs = "kit-duotone", bs = "Kit", hs = "Kit Duotone"; le(le({}, gs, bs), vs, hs); var ps = { kit: { "fa-kit": "fak" } }, ys = { "Font Awesome Kit": { 400: "fak", normal: "fak" }, "Font Awesome Kit Duotone": { 400: "fakd", normal: "fakd" } }, xs = { kit: { fak: "fa-kit" } }, Ra = { kit: { kit: "fak" }, "kit-duotone": { "kit-duotone": "fakd" } }, Ht, ht = { GROUP: "duotone-group", SWAP_OPACITY: "swap-opacity", PRIMARY: "primary", SECONDARY: "secondary" }, ws = ["fa-classic", "fa-duotone", "fa-sharp", "fa-sharp-duotone", "fa-thumbprint", "fa-whiteboard", "fa-notdog", "fa-notdog-duo", "fa-chisel", "fa-etch", "fa-jelly", "fa-jelly-fill", "fa-jelly-duo", "fa-slab", "fa-slab-press"], ks = "classic", $s = "duotone", Cs = "sharp", Ss = "sharp-duotone", zs = "chisel", As = "etch", Vs = "jelly", Ps = "jelly-duo", Bs = "jelly-fill", Ts = "notdog", js = "notdog-duo", Os = "slab", Is = "slab-press", Ms = "thumbprint", Fs = "whiteboard", Ls = "Classic", Es = "Duotone", Ns = "Sharp", Ds = "Sharp Duotone", _s = "Chisel", Rs = "Etch", Us = "Jelly", qs = "Jelly Duo", Hs = "Jelly Fill", Ys = "Notdog", Ws = "Notdog Duo", Gs = "Slab", Ks = "Slab Press", Xs = "Thumbprint", Qs = "Whiteboard"; Ht = {}, le(le(le(le(le(le(le(le(le(le(Ht, ks, Ls), $s, Es), Cs, Ns), Ss, Ds), zs, _s), As, Rs), Vs, Us), Ps, qs), Bs, Hs), Ts, Ys), le(le(le(le(le(Ht, js, Ws), Os, Gs), Is, Ks), Ms, Xs), Fs, Qs); var Js = "kit", Zs = "kit-duotone", el = "Kit", tl = "Kit Duotone"; le(le({}, Js, el), Zs, tl); var al = { classic: { "fa-brands": "fab", "fa-duotone": "fad", "fa-light": "fal", "fa-regular": "far", "fa-solid": "fas", "fa-thin": "fat" }, duotone: { "fa-regular": "fadr", "fa-light": "fadl", "fa-thin": "fadt" }, sharp: { "fa-solid": "fass", "fa-regular": "fasr", "fa-light": "fasl", "fa-thin": "fast" }, "sharp-duotone": { "fa-solid": "fasds", "fa-regular": "fasdr", "fa-light": "fasdl", "fa-thin": "fasdt" }, slab: { "fa-regular": "faslr" }, "slab-press": { "fa-regular": "faslpr" }, whiteboard: { "fa-semibold": "fawsb" }, thumbprint: { "fa-light": "fatl" }, notdog: { "fa-solid": "fans" }, "notdog-duo": { "fa-solid": "fands" }, etch: { "fa-solid": "faes" }, jelly: { "fa-regular": "fajr" }, "jelly-fill": { "fa-regular": "fajfr" }, "jelly-duo": { "fa-regular": "fajdr" }, chisel: { "fa-regular": "facr" } }, nl = { classic: ["fas", "far", "fal", "fat", "fad"], duotone: ["fadr", "fadl", "fadt"], sharp: ["fass", "fasr", "fasl", "fast"], "sharp-duotone": ["fasds", "fasdr", "fasdl", "fasdt"], slab: ["faslr"], "slab-press": ["faslpr"], whiteboard: ["fawsb"], thumbprint: ["fatl"], notdog: ["fans"], "notdog-duo": ["fands"], etch: ["faes"], jelly: ["fajr"], "jelly-fill": ["fajfr"], "jelly-duo": ["fajdr"], chisel: ["facr"] }, Jt = { classic: { fab: "fa-brands", fad: "fa-duotone", fal: "fa-light", far: "fa-regular", fas: "fa-solid", fat: "fa-thin" }, duotone: { fadr: "fa-regular", fadl: "fa-light", fadt: "fa-thin" }, sharp: { fass: "fa-solid", fasr: "fa-regular", fasl: "fa-light", fast: "fa-thin" }, "sharp-duotone": { fasds: "fa-solid", fasdr: "fa-regular", fasdl: "fa-light", fasdt: "fa-thin" }, slab: { faslr: "fa-regular" }, "slab-press": { faslpr: "fa-regular" }, whiteboard: { fawsb: "fa-semibold" }, thumbprint: { fatl: "fa-light" }, notdog: { fans: "fa-solid" }, "notdog-duo": { fands: "fa-solid" }, etch: { faes: "fa-solid" }, jelly: { fajr: "fa-regular" }, "jelly-fill": { fajfr: "fa-regular" }, "jelly-duo": { fajdr: "fa-regular" }, chisel: { facr: "fa-regular" } }, rl = ["fa-solid", "fa-regular", "fa-light", "fa-thin", "fa-duotone", "fa-brands", "fa-semibold"], qn = ["fa", "fas", "far", "fal", "fat", "fad", "fadr", "fadl", "fadt", "fab", "fass", "fasr", "fasl", "fast", "fasds", "fasdr", "fasdl", "fasdt", "faslr", "faslpr", "fawsb", "fatl", "fans", "fands", "faes", "fajr", "fajfr", "fajdr", "facr"].concat(ws, rl), sl = ["solid", "regular", "light", "thin", "duotone", "brands", "semibold"], Hn = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], ll = Hn.concat([11, 12, 13, 14, 15, 16, 17, 18, 19, 20]), ol = ["aw", "fw", "pull-left", "pull-right"], il = [].concat(ze(Object.keys(nl)), sl, ol, ["2xs", "xs", "sm", "lg", "xl", "2xl", "beat", "border", "fade", "beat-fade", "bounce", "flip-both", "flip-horizontal", "flip-vertical", "flip", "inverse", "layers", "layers-bottom-left", "layers-bottom-right", "layers-counter", "layers-text", "layers-top-left", "layers-top-right", "li", "pull-end", "pull-start", "pulse", "rotate-180", "rotate-270", "rotate-90", "rotate-by", "shake", "spin-pulse", "spin-reverse", "spin", "stack-1x", "stack-2x", "stack", "ul", "width-auto", "width-fixed", ht.GROUP, ht.SWAP_OPACITY, ht.PRIMARY, ht.SECONDARY]).concat(Hn.map(function(e) { return "".concat(e, "x"); })).concat(ll.map(function(e) { return "w-".concat(e); })), ul = { "Font Awesome 5 Free": { 900: "fas", 400: "far" }, "Font Awesome 5 Pro": { 900: "fas", 400: "far", normal: "far", 300: "fal" }, "Font Awesome 5 Brands": { 400: "fab", normal: "fab" }, "Font Awesome 5 Duotone": { 900: "fad" } }, Oe = "___FONT_AWESOME___", Zt = 16, Yn = "fa", Wn = "svg-inline--fa", qe = "data-fa-i2svg", ea = "data-fa-pseudo-element", dl = "data-fa-pseudo-element-pending", ya = "data-prefix", xa = "data-icon", Ua = "fontawesome-i2svg", cl = "async", fl = ["HTML", "HEAD", "STYLE", "SCRIPT"], Gn = ["::before", "::after", ":before", ":after"], Kn = (function() { try { return process.env.NODE_ENV === "production"; } catch { return !1; } })(); function ft(e) { return new Proxy(e, { get: function(t, n) { return n in t ? t[n] : t[ve]; } }); } var Xn = D({}, An); Xn[ve] = D(D(D(D({}, { "fa-duotone": "duotone" }), An[ve]), _a.kit), _a["kit-duotone"]); var ml = ft(Xn), ta = D({}, fs); ta[ve] = D(D(D(D({}, { duotone: "fad" }), ta[ve]), Ra.kit), Ra["kit-duotone"]); var qa = ft(ta), aa = D({}, Jt); aa[ve] = D(D({}, aa[ve]), xs.kit); var wa = ft(aa), na = D({}, al); na[ve] = D(D({}, na[ve]), ps.kit); ft(na); var gl = Hr, Qn = "fa-layers-text", vl = Yr, bl = D({}, us); ft(bl); var hl = ["class", "data-prefix", "data-icon", "data-fa-transform", "data-fa-mask"], Yt = Wr, pl = [].concat(ze(ms), ze(il)), nt = Le.FontAwesomeConfig || {}; function yl(e) { var a = ue.querySelector("script[" + e + "]"); if (a) return a.getAttribute(e); } function xl(e) { return e === "" ? !0 : e === "false" ? !1 : e === "true" ? !0 : e; } if (ue && typeof ue.querySelector == "function") { var wl = [["data-family-prefix", "familyPrefix"], ["data-css-prefix", "cssPrefix"], ["data-family-default", "familyDefault"], ["data-style-default", "styleDefault"], ["data-replacement-class", "replacementClass"], ["data-auto-replace-svg", "autoReplaceSvg"], ["data-auto-add-css", "autoAddCss"], ["data-search-pseudo-elements", "searchPseudoElements"], ["data-search-pseudo-elements-warnings", "searchPseudoElementsWarnings"], ["data-search-pseudo-elements-full-scan", "searchPseudoElementsFullScan"], ["data-observe-mutations", "observeMutations"], ["data-mutate-approach", "mutateApproach"], ["data-keep-original-source", "keepOriginalSource"], ["data-measure-performance", "measurePerformance"], ["data-show-missing-icons", "showMissingIcons"]]; wl.forEach(function(e) { var a = Pt(e, 2), t = a[0], n = a[1], r = xl(yl(t)); r != null && (nt[n] = r); }); } var Jn = { styleDefault: "solid", familyDefault: ve, cssPrefix: Yn, replacementClass: Wn, autoReplaceSvg: !0, autoAddCss: !0, searchPseudoElements: !1, searchPseudoElementsWarnings: !0, searchPseudoElementsFullScan: !1, observeMutations: !0, mutateApproach: "async", keepOriginalSource: !0, measurePerformance: !1, showMissingIcons: !0 }; nt.familyPrefix && (nt.cssPrefix = nt.familyPrefix); var Ke = D(D({}, Jn), nt); Ke.autoReplaceSvg || (Ke.observeMutations = !1); var ne = {}; Object.keys(Jn).forEach(function(e) { Object.defineProperty(ne, e, { enumerable: !0, set: function(t) { Ke[e] = t, rt.forEach(function(n) { return n(ne); }); }, get: function() { return Ke[e]; } }); }); Object.defineProperty(ne, "familyPrefix", { enumerable: !0, set: function(a) { Ke.cssPrefix = a, rt.forEach(function(t) { return t(ne); }); }, get: function() { return Ke.cssPrefix; } }); Le.FontAwesomeConfig = ne; var rt = []; function kl(e) { return rt.push(e), function() { rt.splice(rt.indexOf(e), 1); }; } var Ye = Zt, Ve = { size: 16, x: 0, y: 0, rotate: 0, flipX: !1, flipY: !1 }; function $l(e) { if (!(!e || !Me)) { var a = ue.createElement("style"); a.setAttribute("type", "text/css"), a.innerHTML = e; for (var t = ue.head.childNodes, n = null, r = t.length - 1; r > -1; r--) { var l = t[r], o = (l.tagName || "").toUpperCase(); ["STYLE", "LINK"].indexOf(o) > -1 && (n = l); } return ue.head.insertBefore(a, n), e; } } var Cl = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"; function Ha() { for (var e = 12, a = ""; e-- > 0; ) a += Cl[Math.random() * 62 | 0]; return a; } function Xe(e) { for (var a = [], t = (e || []).length >>> 0; t--; ) a[t] = e[t]; return a; } function ka(e) { return e.classList ? Xe(e.classList) : (e.getAttribute("class") || "").split(" ").filter(function(a) { return a; }); } function Zn(e) { return "".concat(e).replace(/&/g, "&amp;").replace(/"/g, "&quot;").replace(/'/g, "&#39;").replace(/</g, "&lt;").replace(/>/g, "&gt;"); } function Sl(e) { return Object.keys(e || {}).reduce(function(a, t) { return a + "".concat(t, '="').concat(Zn(e[t]), '" '); }, "").trim(); } function Bt(e) { return Object.keys(e || {}).reduce(function(a, t) { return a + "".concat(t, ": ").concat(e[t].trim(), ";"); }, ""); } function $a(e) { return e.size !== Ve.size || e.x !== Ve.x || e.y !== Ve.y || e.rotate !== Ve.rotate || e.flipX || e.flipY; } function zl(e) { var a = e.transform, t = e.containerWidth, n = e.iconWidth, r = { transform: "translate(".concat(t / 2, " 256)") }, l = "translate(".concat(a.x * 32, ", ").concat(a.y * 32, ") "), o = "scale(".concat(a.size / 16 * (a.flipX ? -1 : 1), ", ").concat(a.size / 16 * (a.flipY ? -1 : 1), ") "), m = "rotate(".concat(a.rotate, " 0 0)"), g = { transform: "".concat(l, " ").concat(o, " ").concat(m) }, y = { transform: "translate(".concat(n / 2 * -1, " -256)") }; return { outer: r, inner: g, path: y }; } function Al(e) { var a = e.transform, t = e.width, n = t === void 0 ? Zt : t, r = e.height, l = r === void 0 ? Zt : r, o = ""; return zn ? o += "translate(".concat(a.x / Ye - n / 2, "em, ").concat(a.y / Ye - l / 2, "em) ") : o += "translate(calc(-50% + ".concat(a.x / Ye, "em), calc(-50% + ").concat(a.y / Ye, "em)) "), o += "scale(".concat(a.size / Ye * (a.flipX ? -1 : 1), ", ").concat(a.size / Ye * (a.flipY ? -1 : 1), ") "), o += "rotate(".concat(a.rotate, "deg) "), o; } var Vl = `:root, :host { --fa-font-solid: normal 900 1em/1 "Font Awesome 7 Free"; --fa-font-regular: normal 400 1em/1 "Font Awesome 7 Free"; --fa-font-light: normal 300 1em/1 "Font Awesome 7 Pro"; --fa-font-thin: normal 100 1em/1 "Font Awesome 7 Pro"; --fa-font-duotone: normal 900 1em/1 "Font Awesome 7 Duotone"; --fa-font-duotone-regular: normal 400 1em/1 "Font Awesome 7 Duotone"; --fa-font-duotone-light: normal 300 1em/1 "Font Awesome 7 Duotone"; --fa-font-duotone-thin: normal 100 1em/1 "Font Awesome 7 Duotone"; --fa-font-brands: normal 400 1em/1 "Font Awesome 7 Brands"; --fa-font-sharp-solid: normal 900 1em/1 "Font Awesome 7 Sharp"; --fa-font-sharp-regular: normal 400 1em/1 "Font Awesome 7 Sharp"; --fa-font-sharp-light: normal 300 1em/1 "Font Awesome 7 Sharp"; --fa-font-sharp-thin: normal 100 1em/1 "Font Awesome 7 Sharp"; --fa-font-sharp-duotone-solid: normal 900 1em/1 "Font Awesome 7 Sharp Duotone"; --fa-font-sharp-duotone-regular: normal 400 1em/1 "Font Awesome 7 Sharp Duotone"; --fa-font-sharp-duotone-light: normal 300 1em/1 "Font Awesome 7 Sharp Duotone"; --fa-font-sharp-duotone-thin: normal 100 1em/1 "Font Awesome 7 Sharp Duotone"; --fa-font-slab-regular: normal 400 1em/1 "Font Awesome 7 Slab"; --fa-font-slab-press-regular: normal 400 1em/1 "Font Awesome 7 Slab Press"; --fa-font-whiteboard-semibold: normal 600 1em/1 "Font Awesome 7 Whiteboard"; --fa-font-thumbprint-light: normal 300 1em/1 "Font Awesome 7 Thumbprint"; --fa-font-notdog-solid: normal 900 1em/1 "Font Awesome 7 Notdog"; --fa-font-notdog-duo-solid: normal 900 1em/1 "Font Awesome 7 Notdog Duo"; --fa-font-etch-solid: normal 900 1em/1 "Font Awesome 7 Etch"; --fa-font-jelly-regular: normal 400 1em/1 "Font Awesome 7 Jelly"; --fa-font-jelly-fill-regular: normal 400 1em/1 "Font Awesome 7 Jelly Fill"; --fa-font-jelly-duo-regular: normal 400 1em/1 "Font Awesome 7 Jelly Duo"; --fa-font-chisel-regular: normal 400 1em/1 "Font Awesome 7 Chisel"; } .svg-inline--fa { box-sizing: content-box; display: var(--fa-display, inline-block); height: 1em; overflow: visible; vertical-align: -0.125em; width: var(--fa-width, 1.25em); } .svg-inline--fa.fa-2xs { vertical-align: 0.1em; } .svg-inline--fa.fa-xs { vertical-align: 0em; } .svg-inline--fa.fa-sm { vertical-align: -0.0714285714em; } .svg-inline--fa.fa-lg { vertical-align: -0.2em; } .svg-inline--fa.fa-xl { vertical-align: -0.25em; } .svg-inline--fa.fa-2xl { vertical-align: -0.3125em; } .svg-inline--fa.fa-pull-left, .svg-inline--fa .fa-pull-start { float: inline-start; margin-inline-end: var(--fa-pull-margin, 0.3em); } .svg-inline--fa.fa-pull-right, .svg-inline--fa .fa-pull-end { float: inline-end; margin-inline-start: var(--fa-pull-margin, 0.3em); } .svg-inline--fa.fa-li { width: var(--fa-li-width, 2em); inset-inline-start: calc(-1 * var(--fa-li-width, 2em)); inset-block-start: 0.25em; /* syncing vertical alignment with Web Font rendering */ } .fa-layers-counter, .fa-layers-text { display: inline-block; position: absolute; text-align: center; } .fa-layers { display: inline-block; height: 1em; position: relative; text-align: center; vertical-align: -0.125em; width: var(--fa-width, 1.25em); } .fa-layers .svg-inline--fa { inset: 0; margin: auto; position: absolute; transform-origin: center center; } .fa-layers-text { left: 50%; top: 50%; transform: translate(-50%, -50%); transform-origin: center center; } .fa-layers-counter { background-color: var(--fa-counter-background-color, #ff253a); border-radius: var(--fa-counter-border-radius, 1em); box-sizing: border-box; color: var(--fa-inverse, #fff); line-height: var(--fa-counter-line-height, 1); max-width: var(--fa-counter-max-width, 5em); min-width: var(--fa-counter-min-width, 1.5em); overflow: hidden; padding: var(--fa-counter-padding, 0.25em 0.5em); right: var(--fa-right, 0); text-overflow: ellipsis; top: var(--fa-top, 0); transform: scale(var(--fa-counter-scale, 0.25)); transform-origin: top right; } .fa-layers-bottom-right { bottom: var(--fa-bottom, 0); right: var(--fa-right, 0); top: auto; transform: scale(var(--fa-layers-scale, 0.25)); transform-origin: bottom right; } .fa-layers-bottom-left { bottom: var(--fa-bottom, 0); left: var(--fa-left, 0); right: auto; top: auto; transform: scale(var(--fa-layers-scale, 0.25)); transform-origin: bottom left; } .fa-layers-top-right { top: var(--fa-top, 0); right: var(--fa-right, 0); transform: scale(var(--fa-layers-scale, 0.25)); transform-origin: top right; } .fa-layers-top-left { left: var(--fa-left, 0); right: auto; top: var(--fa-top, 0); transform: scale(var(--fa-layers-scale, 0.25)); transform-origin: top left; } .fa-1x { font-size: 1em; } .fa-2x { font-size: 2em; } .fa-3x { font-size: 3em; } .fa-4x { font-size: 4em; } .fa-5x { font-size: 5em; } .fa-6x { font-size: 6em; } .fa-7x { font-size: 7em; } .fa-8x { font-size: 8em; } .fa-9x { font-size: 9em; } .fa-10x { font-size: 10em; } .fa-2xs { font-size: calc(10 / 16 * 1em); /* converts a 10px size into an em-based value that's relative to the scale's 16px base */ line-height: calc(1 / 10 * 1em); /* sets the line-height of the icon back to that of it's parent */ vertical-align: calc((6 / 10 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text's descender */ } .fa-xs { font-size: calc(12 / 16 * 1em); /* converts a 12px size into an em-based value that's relative to the scale's 16px base */ line-height: calc(1 / 12 * 1em); /* sets the line-height of the icon back to that of it's parent */ vertical-align: calc((6 / 12 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text's descender */ } .fa-sm { font-size: calc(14 / 16 * 1em); /* converts a 14px size into an em-based value that's relative to the scale's 16px base */ line-height: calc(1 / 14 * 1em); /* sets the line-height of the icon back to that of it's parent */ vertical-align: calc((6 / 14 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text's descender */ } .fa-lg { font-size: calc(20 / 16 * 1em); /* converts a 20px size into an em-based value that's relative to the scale's 16px base */ line-height: calc(1 / 20 * 1em); /* sets the line-height of the icon back to that of it's parent */ vertical-align: calc((6 / 20 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text's descender */ } .fa-xl { font-size: calc(24 / 16 * 1em); /* converts a 24px size into an em-based value that's relative to the scale's 16px base */ line-height: calc(1 / 24 * 1em); /* sets the line-height of the icon back to that of it's parent */ vertical-align: calc((6 / 24 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text's descender */ } .fa-2xl { font-size: calc(32 / 16 * 1em); /* converts a 32px size into an em-based value that's relative to the scale's 16px base */ line-height: calc(1 / 32 * 1em); /* sets the line-height of the icon back to that of it's parent */ vertical-align: calc((6 / 32 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text's descender */ } .fa-width-auto { --fa-width: auto; } .fa-fw, .fa-width-fixed { --fa-width: 1.25em; } .fa-ul { list-style-type: none; margin-inline-start: var(--fa-li-margin, 2.5em); padding-inline-start: 0; } .fa-ul > li { position: relative; } .fa-li { inset-inline-start: calc(-1 * var(--fa-li-width, 2em)); position: absolute; text-align: center; width: var(--fa-li-width, 2em); line-height: inherit; } /* Heads Up: Bordered Icons will not be supported in the future! - This feature will be deprecated in the next major release of Font Awesome (v8)! - You may continue to use it in this version *v7), but it will not be supported in Font Awesome v8. */ /* Notes: * --@{v.$css-prefix}-border-width = 1/16 by default (to render as ~1px based on a 16px default font-size) * --@{v.$css-prefix}-border-padding = ** 3/16 for vertical padding (to give ~2px of vertical whitespace around an icon considering it's vertical alignment) ** 4/16 for horizontal padding (to give ~4px of horizontal whitespace around an icon) */ .fa-border { border-color: var(--fa-border-color, #eee); border-radius: var(--fa-border-radius, 0.1em); border-style: var(--fa-border-style, solid); border-width: var(--fa-border-width, 0.0625em); box-sizing: var(--fa-border-box-sizing, content-box); padding: var(--fa-border-padding, 0.1875em 0.25em); } .fa-pull-left, .fa-pull-start { float: inline-start; margin-inline-end: var(--fa-pull-margin, 0.3em); } .fa-pull-right, .fa-pull-end { float: inline-end; margin-inline-start: var(--fa-pull-margin, 0.3em); } .fa-beat { animation-name: fa-beat; animation-delay: var(--fa-animation-delay, 0s); animation-direction: var(--fa-animation-direction, normal); animation-duration: var(--fa-animation-duration, 1s); animation-iteration-count: var(--fa-animation-iteration-count, infinite); animation-timing-function: var(--fa-animation-timing, ease-in-out); } .fa-bounce { animation-name: fa-bounce; animation-delay: var(--fa-animation-delay, 0s); animation-direction: var(--fa-animation-direction, normal); animation-duration: var(--fa-animation-duration, 1s); animation-iteration-count: var(--fa-animation-iteration-count, infinite); animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1)); } .fa-fade { animation-name: fa-fade; animation-delay: var(--fa-animation-delay, 0s); animation-direction: var(--fa-animation-direction, normal); animation-duration: var(--fa-animation-duration, 1s); animation-iteration-count: var(--fa-animation-iteration-count, infinite); animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1)); } .fa-beat-fade { animation-name: fa-beat-fade; animation-delay: var(--fa-animation-delay, 0s); animation-direction: var(--fa-animation-direction, normal); animation-duration: var(--fa-animation-duration, 1s); animation-iteration-count: var(--fa-animation-iteration-count, infinite); animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1)); } .fa-flip { animation-name: fa-flip; animation-delay: var(--fa-animation-delay, 0s); animation-direction: var(--fa-animation-direction, normal); animation-duration: var(--fa-animation-duration, 1s); animation-iteration-count: var(--fa-animation-iteration-count, infinite); animation-timing-function: var(--fa-animation-timing, ease-in-out); } .fa-shake { animation-name: fa-shake; animation-delay: var(--fa-animation-delay, 0s); animation-direction: var(--fa-animation-direction, normal); animation-duration: var(--fa-animation-duration, 1s); animation-iteration-count: var(--fa-animation-iteration-count, infinite); animation-timing-function: var(--fa-animation-timing, linear); } .fa-spin { animation-name: fa-spin; animation-delay: var(--fa-animation-delay, 0s); animation-direction: var(--fa-animation-direction, normal); animation-duration: var(--fa-animation-duration, 2s); animation-iteration-count: var(--fa-animation-iteration-count, infinite); animation-timing-function: var(--fa-animation-timing, linear); } .fa-spin-reverse { --fa-animation-direction: reverse; } .fa-pulse, .fa-spin-pulse { animation-name: fa-spin; animation-direction: var(--fa-animation-direction, normal); animation-duration: var(--fa-animation-duration, 1s); animation-iteration-count: var(--fa-animation-iteration-count, infinite); animation-timing-function: var(--fa-animation-timing, steps(8)); } @media (prefers-reduced-motion: reduce) { .fa-beat, .fa-bounce, .fa-fade, .fa-beat-fade, .fa-flip, .fa-pulse, .fa-shake, .fa-spin, .fa-spin-pulse { animation: none !important; transition: none !important; } } @keyframes fa-beat { 0%, 90% { transform: scale(1); } 45% { transform: scale(var(--fa-beat-scale, 1.25)); } } @keyframes fa-bounce { 0% { transform: scale(1, 1) translateY(0); } 10% { transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0); } 30% { transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em)); } 50% { transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0); } 57% { transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em)); } 64% { transform: scale(1, 1) translateY(0); } 100% { transform: scale(1, 1) translateY(0); } } @keyframes fa-fade { 50% { opacity: var(--fa-fade-opacity, 0.4); } } @keyframes fa-beat-fade { 0%, 100% { opacity: var(--fa-beat-fade-opacity, 0.4); transform: scale(1); } 50% { opacity: 1; transform: scale(var(--fa-beat-fade-scale, 1.125)); } } @keyframes fa-flip { 50% { transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg)); } } @keyframes fa-shake { 0% { transform: rotate(-15deg); } 4% { transform: rotate(15deg); } 8%, 24% { transform: rotate(-18deg); } 12%, 28% { transform: rotate(18deg); } 16% { transform: rotate(-22deg); } 20% { transform: rotate(22deg); } 32% { transform: rotate(-12deg); } 36% { transform: rotate(12deg); } 40%, 100% { transform: rotate(0deg); } } @keyframes fa-spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } .fa-rotate-90 { transform: rotate(90deg); } .fa-rotate-180 { transform: rotate(180deg); } .fa-rotate-270 { transform: rotate(270deg); } .fa-flip-horizontal { transform: scale(-1, 1); } .fa-flip-vertical { transform: scale(1, -1); } .fa-flip-both, .fa-flip-horizontal.fa-flip-vertical { transform: scale(-1, -1); } .fa-rotate-by { transform: rotate(var(--fa-rotate-angle, 0)); } .svg-inline--fa .fa-primary { fill: var(--fa-primary-color, currentColor); opacity: var(--fa-primary-opacity, 1); } .svg-inline--fa .fa-secondary { fill: var(--fa-secondary-color, currentColor); opacity: var(--fa-secondary-opacity, 0.4); } .svg-inline--fa.fa-swap-opacity .fa-primary { opacity: var(--fa-secondary-opacity, 0.4); } .svg-inline--fa.fa-swap-opacity .fa-secondary { opacity: var(--fa-primary-opacity, 1); } .svg-inline--fa mask .fa-primary, .svg-inline--fa mask .fa-secondary { fill: black; } .svg-inline--fa.fa-inverse { fill: var(--fa-inverse, #fff); } .fa-stack { display: inline-block; height: 2em; line-height: 2em; position: relative; vertical-align: middle; width: 2.5em; } .fa-inverse { color: var(--fa-inverse, #fff); } .svg-inline--fa.fa-stack-1x { --fa-width: 1.25em; height: 1em; width: var(--fa-width); } .svg-inline--fa.fa-stack-2x { --fa-width: 2.5em; height: 2em; width: var(--fa-width); } .fa-stack-1x, .fa-stack-2x { inset: 0; margin: auto; position: absolute; z-index: var(--fa-stack-z-index, auto); }`; function er() { var e = Yn, a = Wn, t = ne.cssPrefix, n = ne.replacementClass, r = Vl; if (t !== e || n !== a) { var l = new RegExp("\\.".concat(e, "\\-"), "g"), o = new RegExp("\\--".concat(e, "\\-"), "g"), m = new RegExp("\\.".concat(a), "g"); r = r.replace(l, ".".concat(t, "-")).replace(o, "--".concat(t, "-")).replace(m, ".".concat(n)); } return r; } var Ya = !1; function Wt() { ne.autoAddCss && !Ya && ($l(er()), Ya = !0); } var Pl = { mixout: function() { return { dom: { css: er, insertCss: Wt } }; }, hooks: function() { return { beforeDOMElementCreation: function() { Wt(); }, beforeI2svg: function() { Wt(); } }; } }, Ie = Le || {}; Ie[Oe] || (Ie[Oe] = {}); Ie[Oe].styles || (Ie[Oe].styles = {}); Ie[Oe].hooks || (Ie[Oe].hooks = {}); Ie[Oe].shims || (Ie[Oe].shims = []); var Se = Ie[Oe], tr = [], ar = function() { ue.removeEventListener("DOMContentLoaded", ar), $t = 1, tr.map(function(a) { return a(); }); }, $t = !1; Me && ($t = (ue.documentElement.doScroll ? /^loaded|^c/ : /^loaded|^i|^c/).test(ue.readyState), $t || ue.addEventListener("DOMContentLoaded", ar)); function Bl(e) { Me && ($t ? setTimeout(e, 0) : tr.push(e)); } function mt(e) { var a = e.tag, t = e.attributes, n = t === void 0 ? {} : t, r = e.children, l = r === void 0 ? [] : r; return typeof e == "string" ? Zn(e) : "<".concat(a, " ").concat(Sl(n), ">").concat(l.map(mt).join(""), "</").concat(a, ">"); } function Wa(e, a, t) { if (e && e[a] && e[a][t]) return { prefix: a, iconName: t, icon: e[a][t] }; } var Gt = function(a, t, n, r) { var l = Object.keys(a), o = l.length, m = t, g, y, k; for (n === void 0 ? (g = 1, k = a[l[0]]) : (g = 0, k = n); g < o; g++) y = l[g], k = m(k, a[y], y, a); return k; }; function nr(e) { return ze(e).length !== 1 ? null : e.codePointAt(0).toString(16); } function Ga(e) { return Object.keys(e).reduce(function(a, t) { var n = e[t], r = !!n.icon; return r ? a[n.iconName] = n.icon : a[t] = n, a; }, {}); } function ra(e, a) { var t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, n = t.skipHooks, r = n === void 0 ? !1 : n, l = Ga(a); typeof Se.hooks.addPack == "function" && !r ? Se.hooks.addPack(e, Ga(a)) : Se.styles[e] = D(D({}, Se.styles[e] || {}), l), e === "fas" && ra("fa", a); } var it = Se.styles, Tl = Se.shims, rr = Object.keys(wa), jl = rr.reduce(function(e, a) { return e[a] = Object.keys(wa[a]), e; }, {}), Ca = null, sr = {}, lr = {}, or = {}, ir = {}, ur = {}; function Ol(e) { return ~pl.indexOf(e); } function Il(e, a) { var t = a.split("-"), n = t[0], r = t.slice(1).join("-"); return n === e && r !== "" && !Ol(r) ? r : null; } var dr = function() { var a = function(l) { return Gt(it, function(o, m, g) { return o[g] = Gt(m, l, {}), o; }, {}); }; sr = a(function(r, l, o) { if (l[3] && (r[l[3]] = o), l[2]) { var m = l[2].filter(function(g) { return typeof g == "number"; }); m.forEach(function(g) { r[g.toString(16)] = o; }); } return r; }), lr = a(function(r, l, o) { if (r[o] = o, l[2]) { var m = l[2].filter(function(g) { return typeof g == "string"; }); m.forEach(function(g) { r[g] = o; }); } return r; }), ur = a(function(r, l, o) { var m = l[2]; return r[o] = o, m.forEach(function(g) { r[g] = o; }), r; }); var t = "far" in it || ne.autoFetchSvg, n = Gt(Tl, function(r, l) { var o = l[0], m = l[1], g = l[2]; return m === "far" && !t && (m = "fas"), typeof o == "string" && (r.names[o] = { prefix: m, iconName: g }), typeof o == "number" && (r.unicodes[o.toString(16)] = { prefix: m, iconName: g }), r; }, { names: {}, unicodes: {} }); or = n.names, ir = n.unicodes, Ca = Tt(ne.styleDefault, { family: ne.familyDefault }); }; kl(function(e) { Ca = Tt(e.styleDefault, { family: ne.familyDefault }); }); dr(); function Sa(e, a) { return (sr[e] || {})[a]; } function Ml(e, a) { return (lr[e] || {})[a]; } function Re(e, a) { return (ur[e] || {})[a]; } function cr(e) { return or[e] || { prefix: null, iconName: null }; } function Fl(e) { var a = ir[e], t = Sa("fas", e); return a || (t ? { prefix: "fas", iconName: t } : null) || { prefix: null, iconName: null }; } function Ee() { return Ca; } var fr = function() { return { prefix: null, iconName: null, rest: [] }; }; function Ll(e) { var a = ve, t = rr.reduce(function(n, r) { return n[r] = "".concat(ne.cssPrefix, "-").concat(r), n; }, {}); return Rn.forEach(function(n) { (e.includes(t[n]) || e.some(function(r) { return jl[n].includes(r); })) && (a = n); }), a; } function Tt(e) { var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, t = a.family, n = t === void 0 ? ve : t, r = ml[n][e]; if (n === ct && !e) return "fad"; var l = qa[n][e] || qa[n][r], o = e in Se.styles ? e : null, m = l || o || null; return m; } function El(e) { var a = [], t = null; return e.forEach(function(n) { var r = Il(ne.cssPrefix, n); r ? t = r : n && a.push(n); }), { iconName: t, rest: a }; } function Ka(e) { return e.sort().filter(function(a, t, n) { return n.indexOf(a) === t; }); } var Xa = qn.concat(Un); function jt(e) { var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, t = a.skipLookups, n = t === void 0 ? !1 : t, r = null, l = Ka(e.filter(function(C) { return Xa.includes(C); })), o = Ka(e.filter(function(C) { return !Xa.includes(C); })), m = l.filter(function(C) { return r = C, !Vn.includes(C); }), g = Pt(m, 1), y = g[0], k = y === void 0 ? null : y, $ = Ll(l), M = D(D({}, El(o)), {}, { prefix: Tt(k, { family: $ }) }); return D(D(D({}, M), Rl({ values: e, family: $, styles: it, config: ne, canonical: M, givenPrefix: r })), Nl(n, r, M)); } function Nl(e, a, t) { var n = t.prefix, r = t.iconName; if (e || !n || !r) return { prefix: n, iconName: r }; var l = a === "fa" ? cr(r) : {}, o = Re(n, r); return r = l.iconName || o || r, n = l.prefix || n, n === "far" && !it.far && it.fas && !ne.autoFetchSvg && (n = "fas"), { prefix: n, iconName: r }; } var Dl = Rn.filter(function(e) { return e !== ve || e !== ct; }), _l = Object.keys(Jt).filter(function(e) { return e !== ve; }).map(function(e) { return Object.keys(Jt[e]); }).flat(); function Rl(e) { var a = e.values, t = e.family, n = e.canonical, r = e.givenPrefix, l = r === void 0 ? "" : r, o = e.styles, m = o === void 0 ? {} : o, g = e.config, y = g === void 0 ? {} : g, k = t === ct, $ = a.includes("fa-duotone") || a.includes("fad"), M = y.familyDefault === "duotone", C = n.prefix === "fad" || n.prefix === "fa-duotone"; if (!k && ($ || M || C) && (n.prefix = "fad"), (a.includes("fa-brands") || a.includes("fab")) && (n.prefix = "fab"), !n.prefix && Dl.includes(t)) { var S = Object.keys(m).find(function(f) { return _l.includes(f); }); if (S || y.autoFetchSvg) { var v = cs.get(t).defaultShortPrefixId; n.prefix = v, n.iconName = Re(n.prefix, n.iconName) || n.iconName; } } return (n.prefix === "fa" || l === "fa") && (n.prefix = Ee() || "fas"), n; } var Ul = /* @__PURE__ */ (function() { function e() { Fr(this, e), this.definitions = {}; } return Er(e, [{ key: "add", value: function() { for (var t = this, n = arguments.length, r = new Array(n), l = 0; l < n; l++) r[l] = arguments[l]; var o = r.reduce(this._pullDefinitions, {}); Object.keys(o).forEach(function(m) { t.definitions[m] = D(D({}, t.definitions[m] || {}), o[m]), ra(m, o[m]); var g = wa[ve][m]; g && ra(g, o[m]), dr();