UNPKG

broject_ui

Version:

Simple UI library based on headlessUI for vuejs

1,629 lines (1,568 loc) 253 kB
import { defineComponent as I, computed as k, openBlock as R, createElementBlock as _, withDirectives as ut, createElementVNode as T, vModelCheckbox as so, toDisplayString as ne, watch as Le, h as D, ref as O, createVNode as j, unref as L, normalizeClass as B, createCommentVNode as xe, vModelDynamic as uo, vModelText as co, cloneVNode as fo, Fragment as ve, inject as ae, provide as le, onMounted as z, watchEffect as se, nextTick as pe, onUnmounted as fe, Teleport as vo, reactive as po, shallowRef as Ir, toRaw as ie, createBlock as $e, withCtx as V, createTextVNode as ct, toRefs as Ve, renderSlot as De, Transition as yn, renderList as St, vShow as wn, normalizeStyle as mo, resolveComponent as $r } from "vue"; import { TabulatorFull as go } from "tabulator-tables"; const bo = { class: "checkbox-wrapper-4" }, ho = ["value", "id"], yo = ["for"], wo = /* @__PURE__ */ T("span", null, [ /* @__PURE__ */ T("svg", { width: "12px", height: "10px" }, [ /* @__PURE__ */ T("use", { "xlink:href": "#check-4" }) ]) ], -1), xo = /* @__PURE__ */ T("svg", { class: "inline-svg" }, [ /* @__PURE__ */ T("symbol", { id: "check-4", viewbox: "0 0 12 10" }, [ /* @__PURE__ */ T("polyline", { points: "1.5 6 4.5 9 10.5 1" }) ]) ], -1), vf = /* @__PURE__ */ I({ __name: "BCheckbox", props: { modelValue: { type: [Array, Boolean] }, value: { type: [Boolean, Object] }, label: { type: String } }, emits: ["update:modelValue"], setup(e, { emit: t }) { const n = e, r = t, a = k({ get() { return n.modelValue; }, set(i) { r("update:modelValue", i); } }); return (i, o) => (R(), _("div", bo, [ ut(T("input", { "onUpdate:modelValue": o[0] || (o[0] = (l) => a.value = l), value: e.value, class: "inp-cbx", id: e.label, type: "checkbox" }, null, 8, ho), [ [so, a.value] ]), T("label", { class: "cbx", for: e.label }, [ wo, T("span", null, ne(e.label), 1) ], 8, yo), xo ])); } }); function Ya(e, t) { var n = Object.keys(e); if (Object.getOwnPropertySymbols) { var r = Object.getOwnPropertySymbols(e); t && (r = r.filter(function(a) { return Object.getOwnPropertyDescriptor(e, a).enumerable; })), n.push.apply(n, r); } return n; } function P(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t] != null ? arguments[t] : {}; t % 2 ? Ya(Object(n), !0).forEach(function(r) { oe(e, r, n[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Ya(Object(n)).forEach(function(r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(n, r)); }); } return e; } function fn(e) { "@babel/helpers - typeof"; return fn = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) { return typeof t; } : function(t) { return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t; }, fn(e); } function ko(e, t) { if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function"); } function qa(e, t) { for (var n = 0; n < t.length; n++) { var r = t[n]; r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, r.key, r); } } function So(e, t, n) { return t && qa(e.prototype, t), n && qa(e, n), Object.defineProperty(e, "prototype", { writable: !1 }), e; } function oe(e, t, n) { return t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = n, e; } function da(e, t) { return Eo(e) || Po(e, t) || Rr(e, t) || Co(); } function Rt(e) { return Oo(e) || Ao(e) || Rr(e) || To(); } function Oo(e) { if (Array.isArray(e)) return Un(e); } function Eo(e) { if (Array.isArray(e)) return e; } function Ao(e) { if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null) return Array.from(e); } function Po(e, t) { var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"]; if (n != null) { var r = [], a = !0, i = !1, o, l; try { for (n = n.call(e); !(a = (o = n.next()).done) && (r.push(o.value), !(t && r.length === t)); a = !0) ; } catch (s) { i = !0, l = s; } finally { try { !a && n.return != null && n.return(); } finally { if (i) throw l; } } return r; } } function Rr(e, t) { if (e) { if (typeof e == "string") return Un(e, t); var n = Object.prototype.toString.call(e).slice(8, -1); if (n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set") return Array.from(e); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return Un(e, t); } } function Un(e, t) { (t == null || t > e.length) && (t = e.length); for (var n = 0, r = new Array(t); n < t; n++) r[n] = e[n]; return r; } function To() { 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 Co() { throw new TypeError(`Invalid attempt to destructure non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`); } var Ga = function() { }, va = {}, _r = {}, Fr = null, Dr = { mark: Ga, measure: Ga }; try { typeof window < "u" && (va = window), typeof document < "u" && (_r = document), typeof MutationObserver < "u" && (Fr = MutationObserver), typeof performance < "u" && (Dr = performance); } catch { } var Lo = va.navigator || {}, Ka = Lo.userAgent, Xa = Ka === void 0 ? "" : Ka, qe = va, G = _r, Za = Fr, Gt = Dr; qe.document; var ze = !!G.documentElement && !!G.head && typeof G.addEventListener == "function" && typeof G.createElement == "function", Nr = ~Xa.indexOf("MSIE") || ~Xa.indexOf("Trident/"), Kt, Xt, Zt, Qt, Jt, Ne = "___FONT_AWESOME___", Wn = 16, Mr = "fa", Br = "svg-inline--fa", rt = "data-fa-i2svg", Yn = "data-fa-pseudo-element", Io = "data-fa-pseudo-element-pending", pa = "data-prefix", ma = "data-icon", Qa = "fontawesome-i2svg", $o = "async", Ro = ["HTML", "HEAD", "STYLE", "SCRIPT"], jr = function() { try { return process.env.NODE_ENV === "production"; } catch { return !1; } }(), q = "classic", Z = "sharp", ga = [q, Z]; function _t(e) { return new Proxy(e, { get: function(n, r) { return r in n ? n[r] : n[q]; } }); } var Pt = _t((Kt = {}, oe(Kt, q, { fa: "solid", fas: "solid", "fa-solid": "solid", far: "regular", "fa-regular": "regular", fal: "light", "fa-light": "light", fat: "thin", "fa-thin": "thin", fad: "duotone", "fa-duotone": "duotone", fab: "brands", "fa-brands": "brands", fak: "kit", "fa-kit": "kit" }), oe(Kt, Z, { fa: "solid", fass: "solid", "fa-solid": "solid", fasr: "regular", "fa-regular": "regular", fasl: "light", "fa-light": "light" }), Kt)), Tt = _t((Xt = {}, oe(Xt, q, { solid: "fas", regular: "far", light: "fal", thin: "fat", duotone: "fad", brands: "fab", kit: "fak" }), oe(Xt, Z, { solid: "fass", regular: "fasr", light: "fasl" }), Xt)), Ct = _t((Zt = {}, oe(Zt, q, { fab: "fa-brands", fad: "fa-duotone", fak: "fa-kit", fal: "fa-light", far: "fa-regular", fas: "fa-solid", fat: "fa-thin" }), oe(Zt, Z, { fass: "fa-solid", fasr: "fa-regular", fasl: "fa-light" }), Zt)), _o = _t((Qt = {}, oe(Qt, q, { "fa-brands": "fab", "fa-duotone": "fad", "fa-kit": "fak", "fa-light": "fal", "fa-regular": "far", "fa-solid": "fas", "fa-thin": "fat" }), oe(Qt, Z, { "fa-solid": "fass", "fa-regular": "fasr", "fa-light": "fasl" }), Qt)), Fo = /fa(s|r|l|t|d|b|k|ss|sr|sl)?[\-\ ]/, Vr = "fa-layers-text", Do = /Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp|Kit)?.*/i, No = _t((Jt = {}, oe(Jt, q, { 900: "fas", 400: "far", normal: "far", 300: "fal", 100: "fat" }), oe(Jt, Z, { 900: "fass", 400: "fasr", 300: "fasl" }), Jt)), zr = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], Mo = zr.concat([11, 12, 13, 14, 15, 16, 17, 18, 19, 20]), Bo = ["class", "data-prefix", "data-icon", "data-fa-transform", "data-fa-mask"], et = { GROUP: "duotone-group", SWAP_OPACITY: "swap-opacity", PRIMARY: "primary", SECONDARY: "secondary" }, Lt = /* @__PURE__ */ new Set(); Object.keys(Tt[q]).map(Lt.add.bind(Lt)); Object.keys(Tt[Z]).map(Lt.add.bind(Lt)); var jo = [].concat(ga, Rt(Lt), ["2xs", "xs", "sm", "lg", "xl", "2xl", "beat", "border", "fade", "beat-fade", "bounce", "flip-both", "flip-horizontal", "flip-vertical", "flip", "fw", "inverse", "layers-counter", "layers-text", "layers", "li", "pull-left", "pull-right", "pulse", "rotate-180", "rotate-270", "rotate-90", "rotate-by", "shake", "spin-pulse", "spin-reverse", "spin", "stack-1x", "stack-2x", "stack", "ul", et.GROUP, et.SWAP_OPACITY, et.PRIMARY, et.SECONDARY]).concat(zr.map(function(e) { return "".concat(e, "x"); })).concat(Mo.map(function(e) { return "w-".concat(e); })), Ot = qe.FontAwesomeConfig || {}; function Vo(e) { var t = G.querySelector("script[" + e + "]"); if (t) return t.getAttribute(e); } function zo(e) { return e === "" ? !0 : e === "false" ? !1 : e === "true" ? !0 : e; } if (G && typeof G.querySelector == "function") { var Ho = [["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-auto-a11y", "autoA11y"], ["data-search-pseudo-elements", "searchPseudoElements"], ["data-observe-mutations", "observeMutations"], ["data-mutate-approach", "mutateApproach"], ["data-keep-original-source", "keepOriginalSource"], ["data-measure-performance", "measurePerformance"], ["data-show-missing-icons", "showMissingIcons"]]; Ho.forEach(function(e) { var t = da(e, 2), n = t[0], r = t[1], a = zo(Vo(n)); a != null && (Ot[r] = a); }); } var Hr = { styleDefault: "solid", familyDefault: "classic", cssPrefix: Mr, replacementClass: Br, autoReplaceSvg: !0, autoAddCss: !0, autoA11y: !0, searchPseudoElements: !1, observeMutations: !0, mutateApproach: "async", keepOriginalSource: !0, measurePerformance: !1, showMissingIcons: !0 }; Ot.familyPrefix && (Ot.cssPrefix = Ot.familyPrefix); var gt = P(P({}, Hr), Ot); gt.autoReplaceSvg || (gt.observeMutations = !1); var C = {}; Object.keys(Hr).forEach(function(e) { Object.defineProperty(C, e, { enumerable: !0, set: function(n) { gt[e] = n, Et.forEach(function(r) { return r(C); }); }, get: function() { return gt[e]; } }); }); Object.defineProperty(C, "familyPrefix", { enumerable: !0, set: function(t) { gt.cssPrefix = t, Et.forEach(function(n) { return n(C); }); }, get: function() { return gt.cssPrefix; } }); qe.FontAwesomeConfig = C; var Et = []; function Uo(e) { return Et.push(e), function() { Et.splice(Et.indexOf(e), 1); }; } var Ue = Wn, Ie = { size: 16, x: 0, y: 0, rotate: 0, flipX: !1, flipY: !1 }; function Wo(e) { if (!(!e || !ze)) { var t = G.createElement("style"); t.setAttribute("type", "text/css"), t.innerHTML = e; for (var n = G.head.childNodes, r = null, a = n.length - 1; a > -1; a--) { var i = n[a], o = (i.tagName || "").toUpperCase(); ["STYLE", "LINK"].indexOf(o) > -1 && (r = i); } return G.head.insertBefore(t, r), e; } } var Yo = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"; function It() { for (var e = 12, t = ""; e-- > 0; ) t += Yo[Math.random() * 62 | 0]; return t; } function yt(e) { for (var t = [], n = (e || []).length >>> 0; n--; ) t[n] = e[n]; return t; } function ba(e) { return e.classList ? yt(e.classList) : (e.getAttribute("class") || "").split(" ").filter(function(t) { return t; }); } function Ur(e) { return "".concat(e).replace(/&/g, "&amp;").replace(/"/g, "&quot;").replace(/'/g, "&#39;").replace(/</g, "&lt;").replace(/>/g, "&gt;"); } function qo(e) { return Object.keys(e || {}).reduce(function(t, n) { return t + "".concat(n, '="').concat(Ur(e[n]), '" '); }, "").trim(); } function xn(e) { return Object.keys(e || {}).reduce(function(t, n) { return t + "".concat(n, ": ").concat(e[n].trim(), ";"); }, ""); } function ha(e) { return e.size !== Ie.size || e.x !== Ie.x || e.y !== Ie.y || e.rotate !== Ie.rotate || e.flipX || e.flipY; } function Go(e) { var t = e.transform, n = e.containerWidth, r = e.iconWidth, a = { transform: "translate(".concat(n / 2, " 256)") }, i = "translate(".concat(t.x * 32, ", ").concat(t.y * 32, ") "), o = "scale(".concat(t.size / 16 * (t.flipX ? -1 : 1), ", ").concat(t.size / 16 * (t.flipY ? -1 : 1), ") "), l = "rotate(".concat(t.rotate, " 0 0)"), s = { transform: "".concat(i, " ").concat(o, " ").concat(l) }, u = { transform: "translate(".concat(r / 2 * -1, " -256)") }; return { outer: a, inner: s, path: u }; } function Ko(e) { var t = e.transform, n = e.width, r = n === void 0 ? Wn : n, a = e.height, i = a === void 0 ? Wn : a, o = e.startCentered, l = o === void 0 ? !1 : o, s = ""; return l && Nr ? s += "translate(".concat(t.x / Ue - r / 2, "em, ").concat(t.y / Ue - i / 2, "em) ") : l ? s += "translate(calc(-50% + ".concat(t.x / Ue, "em), calc(-50% + ").concat(t.y / Ue, "em)) ") : s += "translate(".concat(t.x / Ue, "em, ").concat(t.y / Ue, "em) "), s += "scale(".concat(t.size / Ue * (t.flipX ? -1 : 1), ", ").concat(t.size / Ue * (t.flipY ? -1 : 1), ") "), s += "rotate(".concat(t.rotate, "deg) "), s; } var Xo = `:root, :host { --fa-font-solid: normal 900 1em/1 "Font Awesome 6 Solid"; --fa-font-regular: normal 400 1em/1 "Font Awesome 6 Regular"; --fa-font-light: normal 300 1em/1 "Font Awesome 6 Light"; --fa-font-thin: normal 100 1em/1 "Font Awesome 6 Thin"; --fa-font-duotone: normal 900 1em/1 "Font Awesome 6 Duotone"; --fa-font-sharp-solid: normal 900 1em/1 "Font Awesome 6 Sharp"; --fa-font-sharp-regular: normal 400 1em/1 "Font Awesome 6 Sharp"; --fa-font-sharp-light: normal 300 1em/1 "Font Awesome 6 Sharp"; --fa-font-brands: normal 400 1em/1 "Font Awesome 6 Brands"; } svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa { overflow: visible; box-sizing: content-box; } .svg-inline--fa { display: var(--fa-display, inline-block); height: 1em; overflow: visible; vertical-align: -0.125em; } .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.0714285705em; } .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 { margin-right: var(--fa-pull-margin, 0.3em); width: auto; } .svg-inline--fa.fa-pull-right { margin-left: var(--fa-pull-margin, 0.3em); width: auto; } .svg-inline--fa.fa-li { width: var(--fa-li-width, 2em); top: 0.25em; } .svg-inline--fa.fa-fw { width: var(--fa-fw-width, 1.25em); } .fa-layers svg.svg-inline--fa { bottom: 0; left: 0; margin: auto; position: absolute; right: 0; top: 0; } .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: 1em; } .fa-layers svg.svg-inline--fa { -webkit-transform-origin: center center; transform-origin: center center; } .fa-layers-text { left: 50%; top: 50%; -webkit-transform: translate(-50%, -50%); transform: translate(-50%, -50%); -webkit-transform-origin: center center; 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); -webkit-transform: scale(var(--fa-counter-scale, 0.25)); transform: scale(var(--fa-counter-scale, 0.25)); -webkit-transform-origin: top right; transform-origin: top right; } .fa-layers-bottom-right { bottom: var(--fa-bottom, 0); right: var(--fa-right, 0); top: auto; -webkit-transform: scale(var(--fa-layers-scale, 0.25)); transform: scale(var(--fa-layers-scale, 0.25)); -webkit-transform-origin: bottom right; transform-origin: bottom right; } .fa-layers-bottom-left { bottom: var(--fa-bottom, 0); left: var(--fa-left, 0); right: auto; top: auto; -webkit-transform: scale(var(--fa-layers-scale, 0.25)); transform: scale(var(--fa-layers-scale, 0.25)); -webkit-transform-origin: bottom left; transform-origin: bottom left; } .fa-layers-top-right { top: var(--fa-top, 0); right: var(--fa-right, 0); -webkit-transform: scale(var(--fa-layers-scale, 0.25)); transform: scale(var(--fa-layers-scale, 0.25)); -webkit-transform-origin: top right; transform-origin: top right; } .fa-layers-top-left { left: var(--fa-left, 0); right: auto; top: var(--fa-top, 0); -webkit-transform: scale(var(--fa-layers-scale, 0.25)); transform: scale(var(--fa-layers-scale, 0.25)); -webkit-transform-origin: top left; 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: 0.625em; line-height: 0.1em; vertical-align: 0.225em; } .fa-xs { font-size: 0.75em; line-height: 0.0833333337em; vertical-align: 0.125em; } .fa-sm { font-size: 0.875em; line-height: 0.0714285718em; vertical-align: 0.0535714295em; } .fa-lg { font-size: 1.25em; line-height: 0.05em; vertical-align: -0.075em; } .fa-xl { font-size: 1.5em; line-height: 0.0416666682em; vertical-align: -0.125em; } .fa-2xl { font-size: 2em; line-height: 0.03125em; vertical-align: -0.1875em; } .fa-fw { text-align: center; width: 1.25em; } .fa-ul { list-style-type: none; margin-left: var(--fa-li-margin, 2.5em); padding-left: 0; } .fa-ul > li { position: relative; } .fa-li { left: calc(var(--fa-li-width, 2em) * -1); position: absolute; text-align: center; width: var(--fa-li-width, 2em); line-height: inherit; } .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.08em); padding: var(--fa-border-padding, 0.2em 0.25em 0.15em); } .fa-pull-left { float: left; margin-right: var(--fa-pull-margin, 0.3em); } .fa-pull-right { float: right; margin-left: var(--fa-pull-margin, 0.3em); } .fa-beat { -webkit-animation-name: fa-beat; animation-name: fa-beat; -webkit-animation-delay: var(--fa-animation-delay, 0s); animation-delay: var(--fa-animation-delay, 0s); -webkit-animation-direction: var(--fa-animation-direction, normal); animation-direction: var(--fa-animation-direction, normal); -webkit-animation-duration: var(--fa-animation-duration, 1s); animation-duration: var(--fa-animation-duration, 1s); -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite); animation-iteration-count: var(--fa-animation-iteration-count, infinite); -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out); animation-timing-function: var(--fa-animation-timing, ease-in-out); } .fa-bounce { -webkit-animation-name: fa-bounce; animation-name: fa-bounce; -webkit-animation-delay: var(--fa-animation-delay, 0s); animation-delay: var(--fa-animation-delay, 0s); -webkit-animation-direction: var(--fa-animation-direction, normal); animation-direction: var(--fa-animation-direction, normal); -webkit-animation-duration: var(--fa-animation-duration, 1s); animation-duration: var(--fa-animation-duration, 1s); -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite); animation-iteration-count: var(--fa-animation-iteration-count, infinite); -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1)); animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1)); } .fa-fade { -webkit-animation-name: fa-fade; animation-name: fa-fade; -webkit-animation-delay: var(--fa-animation-delay, 0s); animation-delay: var(--fa-animation-delay, 0s); -webkit-animation-direction: var(--fa-animation-direction, normal); animation-direction: var(--fa-animation-direction, normal); -webkit-animation-duration: var(--fa-animation-duration, 1s); animation-duration: var(--fa-animation-duration, 1s); -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite); animation-iteration-count: var(--fa-animation-iteration-count, infinite); -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1)); animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1)); } .fa-beat-fade { -webkit-animation-name: fa-beat-fade; animation-name: fa-beat-fade; -webkit-animation-delay: var(--fa-animation-delay, 0s); animation-delay: var(--fa-animation-delay, 0s); -webkit-animation-direction: var(--fa-animation-direction, normal); animation-direction: var(--fa-animation-direction, normal); -webkit-animation-duration: var(--fa-animation-duration, 1s); animation-duration: var(--fa-animation-duration, 1s); -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite); animation-iteration-count: var(--fa-animation-iteration-count, infinite); -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1)); animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1)); } .fa-flip { -webkit-animation-name: fa-flip; animation-name: fa-flip; -webkit-animation-delay: var(--fa-animation-delay, 0s); animation-delay: var(--fa-animation-delay, 0s); -webkit-animation-direction: var(--fa-animation-direction, normal); animation-direction: var(--fa-animation-direction, normal); -webkit-animation-duration: var(--fa-animation-duration, 1s); animation-duration: var(--fa-animation-duration, 1s); -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite); animation-iteration-count: var(--fa-animation-iteration-count, infinite); -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out); animation-timing-function: var(--fa-animation-timing, ease-in-out); } .fa-shake { -webkit-animation-name: fa-shake; animation-name: fa-shake; -webkit-animation-delay: var(--fa-animation-delay, 0s); animation-delay: var(--fa-animation-delay, 0s); -webkit-animation-direction: var(--fa-animation-direction, normal); animation-direction: var(--fa-animation-direction, normal); -webkit-animation-duration: var(--fa-animation-duration, 1s); animation-duration: var(--fa-animation-duration, 1s); -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite); animation-iteration-count: var(--fa-animation-iteration-count, infinite); -webkit-animation-timing-function: var(--fa-animation-timing, linear); animation-timing-function: var(--fa-animation-timing, linear); } .fa-spin { -webkit-animation-name: fa-spin; animation-name: fa-spin; -webkit-animation-delay: var(--fa-animation-delay, 0s); animation-delay: var(--fa-animation-delay, 0s); -webkit-animation-direction: var(--fa-animation-direction, normal); animation-direction: var(--fa-animation-direction, normal); -webkit-animation-duration: var(--fa-animation-duration, 2s); animation-duration: var(--fa-animation-duration, 2s); -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite); animation-iteration-count: var(--fa-animation-iteration-count, infinite); -webkit-animation-timing-function: var(--fa-animation-timing, linear); animation-timing-function: var(--fa-animation-timing, linear); } .fa-spin-reverse { --fa-animation-direction: reverse; } .fa-pulse, .fa-spin-pulse { -webkit-animation-name: fa-spin; animation-name: fa-spin; -webkit-animation-direction: var(--fa-animation-direction, normal); animation-direction: var(--fa-animation-direction, normal); -webkit-animation-duration: var(--fa-animation-duration, 1s); animation-duration: var(--fa-animation-duration, 1s); -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite); animation-iteration-count: var(--fa-animation-iteration-count, infinite); -webkit-animation-timing-function: var(--fa-animation-timing, steps(8)); 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 { -webkit-animation-delay: -1ms; animation-delay: -1ms; -webkit-animation-duration: 1ms; animation-duration: 1ms; -webkit-animation-iteration-count: 1; animation-iteration-count: 1; -webkit-transition-delay: 0s; transition-delay: 0s; -webkit-transition-duration: 0s; transition-duration: 0s; } } @-webkit-keyframes fa-beat { 0%, 90% { -webkit-transform: scale(1); transform: scale(1); } 45% { -webkit-transform: scale(var(--fa-beat-scale, 1.25)); transform: scale(var(--fa-beat-scale, 1.25)); } } @keyframes fa-beat { 0%, 90% { -webkit-transform: scale(1); transform: scale(1); } 45% { -webkit-transform: scale(var(--fa-beat-scale, 1.25)); transform: scale(var(--fa-beat-scale, 1.25)); } } @-webkit-keyframes fa-bounce { 0% { -webkit-transform: scale(1, 1) translateY(0); transform: scale(1, 1) translateY(0); } 10% { -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0); transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0); } 30% { -webkit-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)); 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% { -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0); transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0); } 57% { -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em)); transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em)); } 64% { -webkit-transform: scale(1, 1) translateY(0); transform: scale(1, 1) translateY(0); } 100% { -webkit-transform: scale(1, 1) translateY(0); transform: scale(1, 1) translateY(0); } } @keyframes fa-bounce { 0% { -webkit-transform: scale(1, 1) translateY(0); transform: scale(1, 1) translateY(0); } 10% { -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0); transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0); } 30% { -webkit-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)); 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% { -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0); transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0); } 57% { -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em)); transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em)); } 64% { -webkit-transform: scale(1, 1) translateY(0); transform: scale(1, 1) translateY(0); } 100% { -webkit-transform: scale(1, 1) translateY(0); transform: scale(1, 1) translateY(0); } } @-webkit-keyframes fa-fade { 50% { opacity: var(--fa-fade-opacity, 0.4); } } @keyframes fa-fade { 50% { opacity: var(--fa-fade-opacity, 0.4); } } @-webkit-keyframes fa-beat-fade { 0%, 100% { opacity: var(--fa-beat-fade-opacity, 0.4); -webkit-transform: scale(1); transform: scale(1); } 50% { opacity: 1; -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125)); transform: scale(var(--fa-beat-fade-scale, 1.125)); } } @keyframes fa-beat-fade { 0%, 100% { opacity: var(--fa-beat-fade-opacity, 0.4); -webkit-transform: scale(1); transform: scale(1); } 50% { opacity: 1; -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125)); transform: scale(var(--fa-beat-fade-scale, 1.125)); } } @-webkit-keyframes fa-flip { 50% { -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg)); transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg)); } } @keyframes fa-flip { 50% { -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg)); transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg)); } } @-webkit-keyframes fa-shake { 0% { -webkit-transform: rotate(-15deg); transform: rotate(-15deg); } 4% { -webkit-transform: rotate(15deg); transform: rotate(15deg); } 8%, 24% { -webkit-transform: rotate(-18deg); transform: rotate(-18deg); } 12%, 28% { -webkit-transform: rotate(18deg); transform: rotate(18deg); } 16% { -webkit-transform: rotate(-22deg); transform: rotate(-22deg); } 20% { -webkit-transform: rotate(22deg); transform: rotate(22deg); } 32% { -webkit-transform: rotate(-12deg); transform: rotate(-12deg); } 36% { -webkit-transform: rotate(12deg); transform: rotate(12deg); } 40%, 100% { -webkit-transform: rotate(0deg); transform: rotate(0deg); } } @keyframes fa-shake { 0% { -webkit-transform: rotate(-15deg); transform: rotate(-15deg); } 4% { -webkit-transform: rotate(15deg); transform: rotate(15deg); } 8%, 24% { -webkit-transform: rotate(-18deg); transform: rotate(-18deg); } 12%, 28% { -webkit-transform: rotate(18deg); transform: rotate(18deg); } 16% { -webkit-transform: rotate(-22deg); transform: rotate(-22deg); } 20% { -webkit-transform: rotate(22deg); transform: rotate(22deg); } 32% { -webkit-transform: rotate(-12deg); transform: rotate(-12deg); } 36% { -webkit-transform: rotate(12deg); transform: rotate(12deg); } 40%, 100% { -webkit-transform: rotate(0deg); transform: rotate(0deg); } } @-webkit-keyframes fa-spin { 0% { -webkit-transform: rotate(0deg); transform: rotate(0deg); } 100% { -webkit-transform: rotate(360deg); transform: rotate(360deg); } } @keyframes fa-spin { 0% { -webkit-transform: rotate(0deg); transform: rotate(0deg); } 100% { -webkit-transform: rotate(360deg); transform: rotate(360deg); } } .fa-rotate-90 { -webkit-transform: rotate(90deg); transform: rotate(90deg); } .fa-rotate-180 { -webkit-transform: rotate(180deg); transform: rotate(180deg); } .fa-rotate-270 { -webkit-transform: rotate(270deg); transform: rotate(270deg); } .fa-flip-horizontal { -webkit-transform: scale(-1, 1); transform: scale(-1, 1); } .fa-flip-vertical { -webkit-transform: scale(1, -1); transform: scale(1, -1); } .fa-flip-both, .fa-flip-horizontal.fa-flip-vertical { -webkit-transform: scale(-1, -1); transform: scale(-1, -1); } .fa-rotate-by { -webkit-transform: rotate(var(--fa-rotate-angle, none)); transform: rotate(var(--fa-rotate-angle, none)); } .fa-stack { display: inline-block; vertical-align: middle; height: 2em; position: relative; width: 2.5em; } .fa-stack-1x, .fa-stack-2x { bottom: 0; left: 0; margin: auto; position: absolute; right: 0; top: 0; z-index: var(--fa-stack-z-index, auto); } .svg-inline--fa.fa-stack-1x { height: 1em; width: 1.25em; } .svg-inline--fa.fa-stack-2x { height: 2em; width: 2.5em; } .fa-inverse { color: var(--fa-inverse, #fff); } .sr-only, .fa-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border-width: 0; } .sr-only-focusable:not(:focus), .fa-sr-only-focusable:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border-width: 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; } .fad.fa-inverse, .fa-duotone.fa-inverse { color: var(--fa-inverse, #fff); }`; function Wr() { var e = Mr, t = Br, n = C.cssPrefix, r = C.replacementClass, a = Xo; if (n !== e || r !== t) { var i = new RegExp("\\.".concat(e, "\\-"), "g"), o = new RegExp("\\--".concat(e, "\\-"), "g"), l = new RegExp("\\.".concat(t), "g"); a = a.replace(i, ".".concat(n, "-")).replace(o, "--".concat(n, "-")).replace(l, ".".concat(r)); } return a; } var Ja = !1; function Dn() { C.autoAddCss && !Ja && (Wo(Wr()), Ja = !0); } var Zo = { mixout: function() { return { dom: { css: Wr, insertCss: Dn } }; }, hooks: function() { return { beforeDOMElementCreation: function() { Dn(); }, beforeI2svg: function() { Dn(); } }; } }, Me = qe || {}; Me[Ne] || (Me[Ne] = {}); Me[Ne].styles || (Me[Ne].styles = {}); Me[Ne].hooks || (Me[Ne].hooks = {}); Me[Ne].shims || (Me[Ne].shims = []); var Te = Me[Ne], Yr = [], Qo = function e() { G.removeEventListener("DOMContentLoaded", e), dn = 1, Yr.map(function(t) { return t(); }); }, dn = !1; ze && (dn = (G.documentElement.doScroll ? /^loaded|^c/ : /^loaded|^i|^c/).test(G.readyState), dn || G.addEventListener("DOMContentLoaded", Qo)); function Jo(e) { ze && (dn ? setTimeout(e, 0) : Yr.push(e)); } function Ft(e) { var t = e.tag, n = e.attributes, r = n === void 0 ? {} : n, a = e.children, i = a === void 0 ? [] : a; return typeof e == "string" ? Ur(e) : "<".concat(t, " ").concat(qo(r), ">").concat(i.map(Ft).join(""), "</").concat(t, ">"); } function er(e, t, n) { if (e && e[t] && e[t][n]) return { prefix: t, iconName: n, icon: e[t][n] }; } var el = function(t, n) { return function(r, a, i, o) { return t.call(n, r, a, i, o); }; }, Nn = function(t, n, r, a) { var i = Object.keys(t), o = i.length, l = a !== void 0 ? el(n, a) : n, s, u, c; for (r === void 0 ? (s = 1, c = t[i[0]]) : (s = 0, c = r); s < o; s++) u = i[s], c = l(c, t[u], u, t); return c; }; function tl(e) { for (var t = [], n = 0, r = e.length; n < r; ) { var a = e.charCodeAt(n++); if (a >= 55296 && a <= 56319 && n < r) { var i = e.charCodeAt(n++); (i & 64512) == 56320 ? t.push(((a & 1023) << 10) + (i & 1023) + 65536) : (t.push(a), n--); } else t.push(a); } return t; } function qn(e) { var t = tl(e); return t.length === 1 ? t[0].toString(16) : null; } function nl(e, t) { var n = e.length, r = e.charCodeAt(t), a; return r >= 55296 && r <= 56319 && n > t + 1 && (a = e.charCodeAt(t + 1), a >= 56320 && a <= 57343) ? (r - 55296) * 1024 + a - 56320 + 65536 : r; } function tr(e) { return Object.keys(e).reduce(function(t, n) { var r = e[n], a = !!r.icon; return a ? t[r.iconName] = r.icon : t[n] = r, t; }, {}); } function Gn(e, t) { var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, r = n.skipHooks, a = r === void 0 ? !1 : r, i = tr(t); typeof Te.hooks.addPack == "function" && !a ? Te.hooks.addPack(e, tr(t)) : Te.styles[e] = P(P({}, Te.styles[e] || {}), i), e === "fas" && Gn("fa", t); } var en, tn, nn, dt = Te.styles, al = Te.shims, rl = (en = {}, oe(en, q, Object.values(Ct[q])), oe(en, Z, Object.values(Ct[Z])), en), ya = null, qr = {}, Gr = {}, Kr = {}, Xr = {}, Zr = {}, il = (tn = {}, oe(tn, q, Object.keys(Pt[q])), oe(tn, Z, Object.keys(Pt[Z])), tn); function ol(e) { return ~jo.indexOf(e); } function ll(e, t) { var n = t.split("-"), r = n[0], a = n.slice(1).join("-"); return r === e && a !== "" && !ol(a) ? a : null; } var Qr = function() { var t = function(i) { return Nn(dt, function(o, l, s) { return o[s] = Nn(l, i, {}), o; }, {}); }; qr = t(function(a, i, o) { if (i[3] && (a[i[3]] = o), i[2]) { var l = i[2].filter(function(s) { return typeof s == "number"; }); l.forEach(function(s) { a[s.toString(16)] = o; }); } return a; }), Gr = t(function(a, i, o) { if (a[o] = o, i[2]) { var l = i[2].filter(function(s) { return typeof s == "string"; }); l.forEach(function(s) { a[s] = o; }); } return a; }), Zr = t(function(a, i, o) { var l = i[2]; return a[o] = o, l.forEach(function(s) { a[s] = o; }), a; }); var n = "far" in dt || C.autoFetchSvg, r = Nn(al, function(a, i) { var o = i[0], l = i[1], s = i[2]; return l === "far" && !n && (l = "fas"), typeof o == "string" && (a.names[o] = { prefix: l, iconName: s }), typeof o == "number" && (a.unicodes[o.toString(16)] = { prefix: l, iconName: s }), a; }, { names: {}, unicodes: {} }); Kr = r.names, Xr = r.unicodes, ya = kn(C.styleDefault, { family: C.familyDefault }); }; Uo(function(e) { ya = kn(e.styleDefault, { family: C.familyDefault }); }); Qr(); function wa(e, t) { return (qr[e] || {})[t]; } function sl(e, t) { return (Gr[e] || {})[t]; } function tt(e, t) { return (Zr[e] || {})[t]; } function Jr(e) { return Kr[e] || { prefix: null, iconName: null }; } function ul(e) { var t = Xr[e], n = wa("fas", e); return t || (n ? { prefix: "fas", iconName: n } : null) || { prefix: null, iconName: null }; } function Ge() { return ya; } var xa = function() { return { prefix: null, iconName: null, rest: [] }; }; function kn(e) { var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = t.family, r = n === void 0 ? q : n, a = Pt[r][e], i = Tt[r][e] || Tt[r][a], o = e in Te.styles ? e : null; return i || o || null; } var nr = (nn = {}, oe(nn, q, Object.keys(Ct[q])), oe(nn, Z, Object.keys(Ct[Z])), nn); function Sn(e) { var t, n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = n.skipLookups, a = r === void 0 ? !1 : r, i = (t = {}, oe(t, q, "".concat(C.cssPrefix, "-").concat(q)), oe(t, Z, "".concat(C.cssPrefix, "-").concat(Z)), t), o = null, l = q; (e.includes(i[q]) || e.some(function(u) { return nr[q].includes(u); })) && (l = q), (e.includes(i[Z]) || e.some(function(u) { return nr[Z].includes(u); })) && (l = Z); var s = e.reduce(function(u, c) { var d = ll(C.cssPrefix, c); if (dt[c] ? (c = rl[l].includes(c) ? _o[l][c] : c, o = c, u.prefix = c) : il[l].indexOf(c) > -1 ? (o = c, u.prefix = kn(c, { family: l })) : d ? u.iconName = d : c !== C.replacementClass && c !== i[q] && c !== i[Z] && u.rest.push(c), !a && u.prefix && u.iconName) { var p = o === "fa" ? Jr(u.iconName) : {}, f = tt(u.prefix, u.iconName); p.prefix && (o = null), u.iconName = p.iconName || f || u.iconName, u.prefix = p.prefix || u.prefix, u.prefix === "far" && !dt.far && dt.fas && !C.autoFetchSvg && (u.prefix = "fas"); } return u; }, xa()); return (e.includes("fa-brands") || e.includes("fab")) && (s.prefix = "fab"), (e.includes("fa-duotone") || e.includes("fad")) && (s.prefix = "fad"), !s.prefix && l === Z && (dt.fass || C.autoFetchSvg) && (s.prefix = "fass", s.iconName = tt(s.prefix, s.iconName) || s.iconName), (s.prefix === "fa" || o === "fa") && (s.prefix = Ge() || "fas"), s; } var cl = /* @__PURE__ */ function() { function e() { ko(this, e), this.definitions = {}; } return So(e, [{ key: "add", value: function() { for (var n = this, r = arguments.length, a = new Array(r), i = 0; i < r; i++) a[i] = arguments[i]; var o = a.reduce(this._pullDefinitions, {}); Object.keys(o).forEach(function(l) { n.definitions[l] = P(P({}, n.definitions[l] || {}), o[l]), Gn(l, o[l]); var s = Ct[q][l]; s && Gn(s, o[l]), Qr(); }); } }, { key: "reset", value: function() { this.definitions = {}; } }, { key: "_pullDefinitions", value: function(n, r) { var a = r.prefix && r.iconName && r.icon ? { 0: r } : r; return Object.keys(a).map(function(i) { var o = a[i], l = o.prefix, s = o.iconName, u = o.icon, c = u[2]; n[l] || (n[l] = {}), c.length > 0 && c.forEach(function(d) { typeof d == "string" && (n[l][d] = u); }), n[l][s] = u; }), n; } }]), e; }(), ar = [], vt = {}, pt = {}, fl = Object.keys(pt); function dl(e, t) { var n = t.mixoutsTo; return ar = e, vt = {}, Object.keys(pt).forEach(function(r) { fl.indexOf(r) === -1 && delete pt[r]; }), ar.forEach(function(r) { var a = r.mixout ? r.mixout() : {}; if (Object.keys(a).forEach(function(o) { typeof a[o] == "function" && (n[o] = a[o]), fn(a[o]) === "object" && Object.keys(a[o]).forEach(function(l) { n[o] || (n[o] = {}), n[o][l] = a[o][l]; }); }), r.hooks) { var i = r.hooks(); Object.keys(i).forEach(function(o) { vt[o] || (vt[o] = []), vt[o].push(i[o]); }); } r.provides && r.provides(pt); }), n; } function Kn(e, t) { for (var n = arguments.length, r = new Array(n > 2 ? n - 2 : 0), a = 2; a < n; a++) r[a - 2] = arguments[a]; var i = vt[e] || []; return i.forEach(function(o) { t = o.apply(null, [t].concat(r)); }), t; } function it(e) { for (var t = arguments.length, n = new Array(t > 1 ? t - 1 : 0), r = 1; r < t; r++) n[r - 1] = arguments[r]; var a = vt[e] || []; a.forEach(function(i) { i.apply(null, n); }); } function Be() { var e = arguments[0], t = Array.prototype.slice.call(arguments, 1); return pt[e] ? pt[e].apply(null, t) : void 0; } function Xn(e) { e.prefix === "fa" && (e.prefix = "fas"); var t = e.iconName, n = e.prefix || Ge(); if (t) return t = tt(n, t) || t, er(ei.definitions, n, t) || er(Te.styles, n, t); } var ei = new cl(), vl = function() { C.autoReplaceSvg = !1, C.observeMutations = !1, it("noAuto"); }, pl = { i2svg: function() { var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}; return ze ? (it("beforeI2svg", t), Be("pseudoElements2svg", t), Be("i2svg", t)) : Promise.reject("Operation requires a DOM of some kind."); }, watch: function() { var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, n = t.autoReplaceSvgRoot; C.autoReplaceSvg === !1 && (C.autoReplaceSvg = !0), C.observeMutations = !0, Jo(function() { gl({ autoReplaceSvgRoot: n }), it("watch", t); }); } }, ml = { icon: function(t) { if (t === null) return null; if (fn(t) === "object" && t.prefix && t.iconName) return { prefix: t.prefix, iconName: tt(t.prefix, t.iconName) || t.iconName }; if (Array.isArray(t) && t.length === 2) { var n = t[1].indexOf("fa-") === 0 ? t[1].slice(3) : t[1], r = kn(t[0]); return { prefix: r, iconName: tt(r, n) || n }; } if (typeof t == "string" && (t.indexOf("".concat(C.cssPrefix, "-")) > -1 || t.match(Fo))) { var a = Sn(t.split(" "), { skipLookups: !0 }); return { prefix: a.prefix || Ge(), iconName: tt(a.prefix, a.iconName) || a.iconName }; } if (typeof t == "string") { var i = Ge(); return { prefix: i, iconName: tt(i, t) || t }; } } }, we = { noAuto: vl, config: C, dom: pl, parse: ml, library: ei, findIconDefinition: Xn, toHtml: Ft }, gl = function() { var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, n = t.autoReplaceSvgRoot, r = n === void 0 ? G : n; (Object.keys(Te.styles).length > 0 || C.autoFetchSvg) && ze && C.autoReplaceSvg && we.dom.i2svg({ node: r }); }; function On(e, t) { return Object.defineProperty(e, "abstract", { get: t }), Object.defineProperty(e, "html", { get: function() { return e.abstract.map(function(r) { return Ft(r); }); } }), Object.defineProperty(e, "node", { get: function() { if (ze) { var r = G.createElement("div"); return r.innerHTML = e.html, r.children; } } }), e; } function bl(e) { var t = e.children, n = e.main, r = e.mask, a = e.attributes, i = e.styles, o = e.transform; if (ha(o) && n.found && !r.found) { var l = n.width, s = n.height, u = { x: l / s / 2, y: 0.5 }; a.style = xn(P(P({}, i), {}, { "transform-origin": "".concat(u.x + o.x / 16, "em ").concat(u.y + o.y / 16, "em") })); } return [{ tag: "svg", attributes: a, children: t }]; } function hl(e) { var t = e.prefix, n = e.iconName, r = e.children, a = e.attributes, i = e.symbol, o = i === !0 ? "".concat(t, "-").concat(C.cssPrefix, "-").concat(n) : i; return [{ tag: "svg", attributes: { style: "display: none;" }, children: [{ tag: "symbol", attributes: P(P({}, a), {}, { id: o }), children: r }] }]; } function ka(e) { var t = e.icons, n = t.main, r = t.mask, a = e.prefix, i = e.iconName, o = e.transform, l = e.symbol, s = e.title, u = e.maskId, c = e.titleId, d = e.extra, p = e.watchable, f = p === void 0 ? !1 : p, v = r.found ? r : n, g = v.width, m = v.height, b = a === "fak", h = [C.replacementClass, i ? "".concat(C.cssPrefix, "-").concat(i) : ""].filter(function(W) { return d.classes.indexOf(W) === -1; }).filter(function(W) { return W !== "" || !!W; }).concat(d.classes).join(" "), y = { children: [], attributes: P(P({}, d.attributes), {}, { "data-prefix": a, "data-icon": i, class: h, role: d.attributes.role || "img", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 ".concat(g, " ").concat(m) }) }, x = b && !~d.classes.indexOf("fa-fw") ? { width: "".concat(g / m * 16 * 0.0625, "em") } : {}; f && (y.attributes[rt] = ""), s && (y.children.push({ tag: "title", attributes: { id: y.attributes["aria-labelledby"] || "title-".concat(c || It()) }, children: [s] }), delete y.attributes.title); var w = P(P({}, y), {}, { prefix: a, iconName: i, main: n, mask: r, maskId: u, transform: o, symbol: l, styles: P(P({}, x), d.styles) }), E = r.found && n.found ? Be("generateAbstractMask", w) || { children: [], attributes: {} } : Be("generateAbstractIcon", w) || { children: [], attributes: {} }, A = E.children, N = E.attributes; return w.children = A, w.attributes = N, l ? hl(w) : bl(w); } function rr(e) { var t = e.content, n = e.width, r = e.height, a = e.transform, i = e.title, o = e.extra, l = e.watchable, s = l === void 0 ? !1 : l, u = P(P(P({}, o.attributes), i ? { title: i } : {}), {}, { class: o.classes.join(" ") }