From 01be112cda879be694e0878d27045d5096d658d4 Mon Sep 17 00:00:00 2001 From: Louis Charette Date: Sat, 12 Oct 2024 23:07:38 -0400 Subject: [PATCH] Simplify SprunjeSearch --- ...nts-BqmVBmsV.js => components-D3kieM32.js} | 1180 ++++++++--------- ...s-D71L4-1z.cjs => components-yQdbks90.cjs} | 2 +- dist/components.cjs | 2 +- dist/components.js | 2 +- dist/plugins.cjs | 2 +- dist/plugins.js | 2 +- src/components/Sprunjer/SprunjeSearch.vue | 9 +- 7 files changed, 595 insertions(+), 604 deletions(-) rename dist/{components-BqmVBmsV.js => components-D3kieM32.js} (94%) rename dist/{components-D71L4-1z.cjs => components-yQdbks90.cjs} (97%) diff --git a/dist/components-BqmVBmsV.js b/dist/components-D3kieM32.js similarity index 94% rename from dist/components-BqmVBmsV.js rename to dist/components-D3kieM32.js index 0760689..fd60f8b 100644 --- a/dist/components-BqmVBmsV.js +++ b/dist/components-D3kieM32.js @@ -1,15 +1,15 @@ -import { defineComponent as ft, computed as pe, resolveComponent as Ct, openBlock as B, createElementBlock as j, normalizeClass as Ae, createCommentVNode as st, createBlock as gt, createTextVNode as _t, toDisplayString as lt, renderSlot as tt, unref as L, withCtx as Ft, createElementVNode as x, createVNode as Rt, createSlots as ep, ref as me, withModifiers as ss, withDirectives as Mt, vModelText as te, Fragment as yn, renderList as os, vModelSelect as zl, isRef as zo, mergeProps as ei, normalizeProps as np, guardReactiveProps as ip, inject as rs, watch as sp, provide as op } from "vue"; +import { defineComponent as ft, computed as pe, resolveComponent as Ct, openBlock as B, createElementBlock as j, normalizeClass as Ae, createCommentVNode as st, createBlock as gt, createTextVNode as _t, toDisplayString as lt, renderSlot as tt, unref as L, withCtx as Ft, createElementVNode as x, createVNode as Rt, createSlots as ep, ref as ye, withModifiers as ss, withDirectives as Mt, vModelText as te, Fragment as yn, renderList as os, vModelSelect as zl, isRef as zo, mergeProps as ei, normalizeProps as np, guardReactiveProps as ip, inject as rs, provide as sp } from "vue"; import { RouterLink as si } from "vue-router"; import { defineStore as Hl } from "pinia"; -import { useSprunjer as rp } from "@userfrosting/sprinkle-core/sprunjer"; -var we = /* @__PURE__ */ ((i) => (i.Primary = "Primary", i.Success = "Success", i.Warning = "Warning", i.Danger = "Danger", i))(we || {}); -const ap = { +import { useSprunjer as op } from "@userfrosting/sprinkle-core/sprunjer"; +var be = /* @__PURE__ */ ((i) => (i.Primary = "Primary", i.Success = "Success", i.Warning = "Warning", i.Danger = "Danger", i))(be || {}); +const rp = { key: 1, "data-test": "title" -}, lp = { +}, ap = { key: 2, "data-test": "description" -}, cp = ["innerHTML"], up = /* @__PURE__ */ ft({ +}, lp = ["innerHTML"], cp = /* @__PURE__ */ ft({ __name: "AlertContainer", props: { alert: {} @@ -17,25 +17,25 @@ const ap = { setup(i) { const s = i, a = pe(() => { switch (s.alert.style) { - case we.Success: + case be.Success: return "uk-alert-success"; - case we.Warning: + case be.Warning: return "uk-alert-warning"; - case we.Danger: + case be.Danger: return "uk-alert-danger"; - case we.Primary: + case be.Primary: default: return "uk-alert-primary"; } }), r = pe(() => { switch (s.alert.style) { - case we.Success: + case be.Success: return "fa-solid fa-circle-check"; - case we.Warning: + case be.Warning: return "fa-solid fa-circle-exclamation"; - case we.Danger: + case be.Danger: return "fa-solid fa-triangle-exclamation"; - case we.Primary: + case be.Primary: default: return "fa-solid fa-circle-info"; } @@ -53,7 +53,7 @@ const ap = { "uk-close": "", onClick: h[0] || (h[0] = (g) => u.$emit("close")) })) : st("", !0), - u.alert.title ? (B(), j("h3", ap, [ + u.alert.title ? (B(), j("h3", rp, [ u.alert.hideIcon ? st("", !0) : (B(), gt(f, { key: 0, icon: r.value, @@ -61,17 +61,17 @@ const ap = { }, null, 8, ["icon"])), _t(" " + lt(u.alert.title), 1) ])) : st("", !0), - u.$slots.default ? (B(), j("p", lp, [ + u.$slots.default ? (B(), j("p", ap, [ tt(u.$slots, "default") ])) : u.alert.description ? (B(), j("p", { key: 3, innerHTML: u.alert.description, "data-test": "description" - }, null, 8, cp)) : st("", !0) + }, null, 8, lp)) : st("", !0) ], 2); }; } -}), hp = ["href"], dp = { key: 1 }, Ho = /* @__PURE__ */ ft({ +}), up = ["href"], hp = { key: 1 }, Ho = /* @__PURE__ */ ft({ __name: "AppLink", props: { to: { default: "" }, @@ -87,7 +87,7 @@ const ap = { tt(h.$slots, "default", {}, () => [ _t(lt(h.label), 1) ]) - ], 8, hp)) : u.value ? (B(), j("div", dp, [ + ], 8, up)) : u.value ? (B(), j("div", hp, [ tt(h.$slots, "default", {}, () => [ _t(lt(h.label), 1) ]) @@ -103,19 +103,19 @@ const ap = { _: 3 }, 8, ["to"])); } -}), fp = { class: "uk-card uk-card-default uk-card-body uk-card-small" }, pp = { +}), dp = { class: "uk-card uk-card-default uk-card-body uk-card-small" }, fp = { class: "uk-grid-small uk-flex-middle", "uk-grid": "" -}, mp = { +}, pp = { key: 0, class: "uk-width-auto" -}, gp = ["data-uk-icon"], vp = { class: "uk-width-expand" }, bp = { +}, mp = ["data-uk-icon"], gp = { class: "uk-width-expand" }, vp = { key: 0, class: "uk-margin-remove" -}, wp = { +}, bp = { key: 1, class: "uk-text-meta uk-text-uppercase" -}, yp = /* @__PURE__ */ ft({ +}, wp = /* @__PURE__ */ ft({ __name: "InfoBox", props: { to: { default: "" }, @@ -132,14 +132,14 @@ const ap = { class: "uk-text-decoration-none" }, { default: Ft(() => [ - x("div", fp, [ - x("div", pp, [ - s.icon || s.faIcon ? (B(), j("div", mp, [ + x("div", dp, [ + x("div", fp, [ + s.icon || s.faIcon ? (B(), j("div", pp, [ s.icon ? (B(), j("span", { key: 0, "data-uk-icon": "icon: " + s.icon + "; ratio: 2", class: "uk-margin-small-right" - }, null, 8, gp)) : st("", !0), + }, null, 8, mp)) : st("", !0), s.faIcon ? (B(), gt(r, { key: 1, icon: s.faIcon, @@ -147,9 +147,9 @@ const ap = { "fixed-width": "" }, null, 8, ["icon"])) : st("", !0) ])) : st("", !0), - x("div", vp, [ - s.value !== null ? (B(), j("h4", bp, lt(s.value), 1)) : st("", !0), - s.label !== null ? (B(), j("span", wp, lt(s.label), 1)) : st("", !0) + x("div", gp, [ + s.value !== null ? (B(), j("h4", vp, lt(s.value), 1)) : st("", !0), + s.label !== null ? (B(), j("span", bp, lt(s.label), 1)) : st("", !0) ]) ]) ]) @@ -158,38 +158,38 @@ const ap = { }, 8, ["to"]); }; } -}), $p = { class: "uk-card uk-card-default uk-card-small" }, kp = { +}), yp = { class: "uk-card uk-card-default uk-card-small" }, $p = { key: 0, class: "uk-card-header" -}, xp = { "data-test": "title" }, Sp = { +}, kp = { "data-test": "title" }, xp = { class: "uk-card-body", "data-test": "slot" -}, _p = { +}, Sp = { key: 1, class: "uk-card-footer" -}, Ep = /* @__PURE__ */ ft({ +}, _p = /* @__PURE__ */ ft({ __name: "CardBox", props: { title: String }, setup(i) { - return (s, a) => (B(), j("div", $p, [ - i.title || s.$slots.header ? (B(), j("div", kp, [ - x("h4", xp, [ + return (s, a) => (B(), j("div", yp, [ + i.title || s.$slots.header ? (B(), j("div", $p, [ + x("h4", kp, [ tt(s.$slots, "header", {}, () => [ _t(lt(i.title), 1) ]) ]) ])) : st("", !0), - x("div", Sp, [ + x("div", xp, [ tt(s.$slots, "default") ]), - s.$slots.footer ? (B(), j("div", _p, [ + s.$slots.footer ? (B(), j("div", Sp, [ tt(s.$slots, "footer") ])) : st("", !0) ])); } -}), Op = { class: "uk-flex uk-flex-center uk-flex-middle" }, Tp = { class: "uk-width-1-1@s uk-width-3-5@l uk-width-1-3@xl" }, Cp = /* @__PURE__ */ ft({ +}), Ep = { class: "uk-flex uk-flex-center uk-flex-middle" }, Op = { class: "uk-width-1-1@s uk-width-3-5@l uk-width-1-3@xl" }, Tp = /* @__PURE__ */ ft({ __name: "CardBoxBig", props: { title: String @@ -197,8 +197,8 @@ const ap = { setup(i) { return (s, a) => { const r = Ct("UFCardBox"); - return B(), j("div", Op, [ - x("div", Tp, [ + return B(), j("div", Ep, [ + x("div", Op, [ Rt(r, null, ep({ default: Ft(() => [ tt(s.$slots, "default") @@ -231,50 +231,50 @@ const ap = { for (const [r, u] of s) a[r] = u; return a; -}, Pp = {}, Ap = { +}, Cp = {}, Pp = { class: "uf-main uk-section uk-section-default uk-section-muted", "uk-height-viewport": "expand: true" -}, Rp = { +}, Ap = { class: "uk-container", "data-test": "slot" }; -function Bp(i, s) { - return B(), j("div", Ap, [ - x("div", Rp, [ +function Rp(i, s) { + return B(), j("div", Pp, [ + x("div", Ap, [ tt(i.$slots, "default") ]) ]); } -const Ip = /* @__PURE__ */ oi(Pp, [["render", Bp]]), Np = { class: "uf-page-header" }, Fp = { class: "uk-margin-remove" }, Dp = { +const Bp = /* @__PURE__ */ oi(Cp, [["render", Rp]]), Ip = { class: "uf-page-header" }, Np = { class: "uk-margin-remove" }, Fp = { key: 0, class: "uk-text-meta uk-margin-remove" -}, jp = /* @__PURE__ */ ft({ +}, Dp = /* @__PURE__ */ ft({ __name: "HeaderPage", props: { title: {}, caption: { default: "" } }, setup(i) { - return (s, a) => (B(), j("div", Np, [ - x("h3", Fp, lt(s.title), 1), - s.caption ? (B(), j("p", Dp, lt(s.caption), 1)) : st("", !0) + return (s, a) => (B(), j("div", Ip, [ + x("h3", Np, lt(s.title), 1), + s.caption ? (B(), j("p", Fp, lt(s.caption), 1)) : st("", !0) ])); } -}), Lp = {}, Up = { class: "uf-main uk-section uk-section-small uk-section-muted uk-text-center" }, Mp = { +}), jp = {}, Lp = { class: "uf-main uk-section uk-section-small uk-section-muted uk-text-center" }, Up = { class: "uk-text-small uk-text-center", "data-test": "slot" }; -function zp(i, s) { - return B(), j("footer", Up, [ +function Mp(i, s) { + return B(), j("footer", Lp, [ s[0] || (s[0] = x("hr", null, null, -1)), - x("p", Mp, [ + x("p", Up, [ tt(i.$slots, "default") ]) ]); } -const Hp = /* @__PURE__ */ oi(Lp, [["render", zp]]); -var qp = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}; -function Wp(i) { +const zp = /* @__PURE__ */ oi(jp, [["render", Mp]]); +var Hp = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}; +function qp(i) { return i && i.__esModule && Object.prototype.hasOwnProperty.call(i, "default") ? i.default : i; } var ql = { exports: {} }; @@ -282,7 +282,7 @@ var ql = { exports: {} }; (function(i, s) { (function(a, r) { i.exports = r(); - })(qp, function() { + })(Hp, function() { const { hasOwnProperty: a, toString: r } = Object.prototype; function u(t, e) { return a.call(t, e); @@ -352,7 +352,7 @@ var ql = { exports: {} }; function vs(t) { return zt(t) ? t : t === "true" || t === "1" || t === "" ? !0 : t === "false" || t === "0" ? !1 : t; } - function ge(t) { + function me(t) { const e = Number(t); return isNaN(e) ? !1 : e; } @@ -406,7 +406,7 @@ var ql = { exports: {} }; return e.reduce((n, o) => ({ ...n, [o]: t[o] }), {}); } function Lt(t, e = 0, n = 1) { - return Math.min(Math.max(ge(t) || 0, e), n); + return Math.min(Math.max(me(t) || 0, e), n); } function rt() { } @@ -444,7 +444,7 @@ var ql = { exports: {} }; function Gt(t, e, n = 0, o = !1) { e = et(e); const { length: l } = e; - return l ? (t = he(t) ? ge(t) : t === "next" ? n + 1 : t === "previous" ? n - 1 : t === "last" ? l - 1 : e.indexOf($t(t)), o ? Lt(t, 0, l - 1) : (t %= l, t < 0 ? t + l : t)) : -1; + return l ? (t = he(t) ? me(t) : t === "next" ? n + 1 : t === "previous" ? n - 1 : t === "last" ? l - 1 : e.indexOf($t(t)), o ? Lt(t, 0, l - 1) : (t %= l, t < 0 ? t + l : t)) : -1; } function se(t) { const e = /* @__PURE__ */ Object.create(null); @@ -556,7 +556,7 @@ var ql = { exports: {} }; const n = t ? T(t.children) : []; return e ? Pn(n, e) : n; } - function ve(t, e) { + function ge(t, e) { return e ? et(t).indexOf($t(e)) : ut(ct(t)).indexOf(t); } function an(t) { @@ -612,7 +612,7 @@ var ql = { exports: {} }; return p; if (p) { if (l) - return c[0] === "~" || c[0] === "+" ? (c = `:scope > :nth-child(${ve(p) + 1}) ${c}`, p = p.parentElement) : c[0] === ">" && (c = `:scope ${c}`), _s(p, n, c); + return c[0] === "~" || c[0] === "+" ? (c = `:scope > :nth-child(${ge(p) + 1}) ${c}`, p = p.parentElement) : c[0] === ">" && (c = `:scope ${c}`), _s(p, n, c); t += `${t ? "," : ""}${Yc(p)} ${c}`; } } @@ -634,7 +634,7 @@ var ql = { exports: {} }; break; } else { let { tagName: o } = t; - o !== "HTML" && (o += `:nth-child(${ve(t) + 1})`), e.unshift(o), t = t.parentNode; + o !== "HTML" && (o += `:nth-child(${ge(t) + 1})`), e.unshift(o), t = t.parentNode; } } return e.join(" > "); @@ -707,7 +707,7 @@ var ql = { exports: {} }; function ae(t) { return t.pointerType === "touch" || !!t.touches; } - function be(t) { + function ve(t) { var e, n; const { clientX: o, clientY: l } = ((e = t.touches) == null ? void 0 : e[0]) || ((n = t.changedTouches) == null ? void 0 : n[0]) || t; return { x: o, y: l }; @@ -1053,7 +1053,7 @@ var ql = { exports: {} }; init() { this.positions = []; let e; - this.unbind = W(document, "mousemove", (n) => e = be(n)), this.interval = setInterval(() => { + this.unbind = W(document, "mousemove", (n) => e = ve(n)), this.interval = setInterval(() => { e && (this.positions.push(e), this.positions.length > 5 && this.positions.shift()); }, 50); } @@ -1450,7 +1450,7 @@ var ql = { exports: {} }; flipPosition: _i, fragment: je, getCoveringElement: Ms, - getEventPos: be, + getEventPos: ve, getIndex: Gt, getTargetedElement: xs, hasAttr: $e, @@ -1462,7 +1462,7 @@ var ql = { exports: {} }; hyphenate: f, inBrowser: Fe, includes: S, - index: ve, + index: ge, intersectRect: hi, isArray: C, isBoolean: zt, @@ -1544,7 +1544,7 @@ var ql = { exports: {} }; toFloat: G, toNode: $t, toNodes: et, - toNumber: ge, + toNumber: me, toPx: At, toWindow: Re, toggleClass: kt, @@ -1676,11 +1676,11 @@ var ql = { exports: {} }; } } function Vs(t, e) { - return t === Boolean ? vs(e) : t === Number ? ge(e) : t === "list" ? Ru(e) : t === Object && dt(e) ? hn(e) : t ? t(e) : e; + return t === Boolean ? vs(e) : t === Number ? me(e) : t === "list" ? Ru(e) : t === Object && dt(e) ? hn(e) : t ? t(e) : e; } const Au = /,(?![^(]*\))/; function Ru(t) { - return C(t) ? t : dt(t) ? t.split(Au).map((e) => he(e) ? ge(e) : vs(e.trim())) : [t]; + return C(t) ? t : dt(t) ? t.split(Au).map((e) => he(e) ? me(e) : vs(e.trim())) : [t]; } function Bu(t) { t._data = {}, t._updates = [...t.$options.update || []], t._disconnect.push(() => t._updates = t._data = null); @@ -1748,9 +1748,9 @@ var ql = { exports: {} }; handler(e) { if (!ae(e)) return; - const n = be(e), o = "tagName" in e.target ? e.target : ct(e.target); + const n = ve(e), o = "tagName" in e.target ? e.target : ct(e.target); vt(document, `${ke} ${mi} scroll`, (l) => { - const { x: c, y: d } = be(l); + const { x: c, y: d } = ve(l); (l.type !== "scroll" && o && c && Math.abs(n.x - c) > 100 || d && Math.abs(n.y - d) > 100) && setTimeout(() => { D(o, "swipe"), D(o, `swipe${Fu(n.x, n.y, c, d)}`); }); @@ -1886,7 +1886,7 @@ var ql = { exports: {} }; opacity: e ? w(t, "opacity") : "0", pointerEvents: "none", position: "absolute", - zIndex: n === "auto" ? ve(t) : n, + zIndex: n === "auto" ? ge(t) : n, ...Ur(t) } : !1; } @@ -1963,7 +1963,7 @@ var ql = { exports: {} }; return H(e, Ys) ? zr(e).then(y) : H(e, Qs) ? zr(e).then(m).then(y) : m().then(y); } function Ni(t, e) { - return e && (t.dataset.transition = 1 + Ni(t)), ge(t.dataset.transition) || 0; + return e && (t.dataset.transition = 1 + Ni(t)), me(t.dataset.transition) || 0; } function zr(t) { return Promise.all( @@ -2114,12 +2114,12 @@ var ql = { exports: {} }; (o) => { if (o.targetTouches.length !== 1 || nt(o.target, 'input[type="range"')) return; - let l = be(o).y; + let l = ve(o).y; const c = W( t, "touchmove", (d) => { - const p = be(d).y; + const p = ve(d).y; p !== l && (l = p, Ue(d.target).some((m) => { if (!t.contains(m)) return !1; @@ -2575,7 +2575,7 @@ var ql = { exports: {} }; for (const t of ["start", "move", "end"]) { const e = this[t]; this[t] = (n) => { - const o = be(n).x * (Ot ? -1 : 1); + const o = ve(n).x * (Ot ? -1 : 1); this.prevPos = o === this.pos ? this.prevPos : this.pos, this.pos = o, e(n); }; } @@ -2965,7 +2965,7 @@ var ql = { exports: {} }; const n = It(e, this.attrItem), o = V("a,button", e) || e; let l, c = null; if (he(n)) { - const d = ge(n), p = this.slides[d]; + const d = me(n), p = this.slides[d]; p && (p.id || (p.id = We(this, p)), c = p.id), l = this.t("slideX", G(n) + 1), N(o, "role", "tab"); } else this.list && (this.list.id || (this.list.id = We(this, this.list)), c = this.list.id), l = this.t(n); @@ -3031,7 +3031,7 @@ var ql = { exports: {} }; for (const e of this.navItems) { const n = It(e, this.attrItem), o = V("a,button", e) || e; if (he(n)) { - const c = ge(n) === t; + const c = me(n) === t; kt(e, this.clsActive, c), kt(o, "uk-disabled", this.parallax), N(o, { "aria-selected": c, tabindex: c && !this.parallax ? null : -1 @@ -4121,7 +4121,7 @@ var ql = { exports: {} }; update: { write() { for (const t of this.navItems) { - const e = ge(It(t, this.attrItem)); + const e = me(It(t, this.attrItem)); e !== !1 && (t.hidden = !this.maxIndex || e > this.maxIndex || this.sets && !S(this.sets, e)); } this.reorder(), this.parallax || this._translate(1), this.updateActiveClasses(); @@ -4505,7 +4505,7 @@ var ql = { exports: {} }; methods: { init(t) { const { target: e, button: n, defaultPrevented: o } = t, [l] = this.items.filter((c) => c.contains(e)); - !l || o || n > 0 || gi(e) || e.closest(`.${this.clsNoDrag}`) || this.handle && !e.closest(this.handle) || (t.preventDefault(), this.pos = be(t), this.touched = /* @__PURE__ */ new Set([this]), this.placeholder = l, this.origin = { target: e, index: ve(l), ...this.pos }, W(document, pi, this.move), W(document, ke, this.end), this.threshold || this.start(t)); + !l || o || n > 0 || gi(e) || e.closest(`.${this.clsNoDrag}`) || this.handle && !e.closest(this.handle) || (t.preventDefault(), this.pos = ve(t), this.touched = /* @__PURE__ */ new Set([this]), this.placeholder = l, this.origin = { target: e, index: ge(l), ...this.pos }, W(document, pi, this.move), W(document, ke, this.end), this.threshold || this.start(t)); }, start(t) { this.drag = td(this.$container, this.placeholder); @@ -4513,14 +4513,14 @@ var ql = { exports: {} }; M(this.origin, { offsetLeft: this.pos.x - e, offsetTop: this.pos.y - n }), X(this.drag, this.clsDrag, this.clsCustom), X(this.placeholder, this.clsPlaceholder), X(this.items, this.clsItem), X(document.documentElement, this.clsDragState), D(this.$el, "start", [this, this.placeholder]), Qh(this.pos), this.move(t); }, move: sd(function(t) { - M(this.pos, be(t)), !this.drag && (Math.abs(this.pos.x - this.origin.x) > this.threshold || Math.abs(this.pos.y - this.origin.y) > this.threshold) && this.start(t), this.$emit("move"); + M(this.pos, ve(t)), !this.drag && (Math.abs(this.pos.x - this.origin.x) > this.threshold || Math.abs(this.pos.y - this.origin.y) > this.threshold) && this.start(t), this.$emit("move"); }), end() { if (xe(document, pi, this.move), xe(document, ke, this.end), !this.drag) return; Zh(); const t = this.getSortable(this.placeholder); - this === t ? this.origin.index !== ve(this.placeholder) && D(this.$el, "moved", [this, this.placeholder]) : (D(t.$el, "added", [t, this.placeholder]), D(this.$el, "removed", [this, this.placeholder])), D(this.$el, "stop", [this, this.placeholder]), Xt(this.drag), this.drag = null; + this === t ? this.origin.index !== ge(this.placeholder) && D(this.$el, "moved", [this, this.placeholder]) : (D(t.$el, "added", [t, this.placeholder]), D(this.$el, "removed", [this, this.placeholder])), D(this.$el, "stop", [this, this.placeholder]), Xt(this.drag), this.drag = null; for (const { clsPlaceholder: e, clsItem: n } of this.touched) for (const o of this.touched) ot(o.items, e, n); @@ -5061,7 +5061,7 @@ var ql = { exports: {} }; delegate: ({ targets: t, $props: e }) => `${t} ${e.toggle}`, async handler(t) { var e; - t.type === "keydown" && t.keyCode !== at.SPACE || (t.preventDefault(), (e = this._off) == null || e.call(this), this._off = wd(t.target), await this.toggle(ve(this.toggles, t.current)), this._off()); + t.type === "keydown" && t.keyCode !== at.SPACE || (t.preventDefault(), (e = this._off) == null || e.call(this), this._off = wd(t.target), await this.toggle(ge(this.toggles, t.current)), this._off()); } }, { @@ -7101,7 +7101,7 @@ var ql = { exports: {} }; return; l && (t = e = n = 0, w(this.$el, { position: "sticky", top: o })); const { placeholder: c } = this; - w(c, { height: t, width: e, margin: n }), (ct(c) !== ct(this.$el) || l ^ ve(c) < ve(this.$el)) && ((l ? yi : $i)(this.$el, c), c.hidden = !0); + w(c, { height: t, width: e, margin: n }), (ct(c) !== ct(this.$el) || l ^ ge(c) < ge(this.$el)) && ((l ? yi : $i)(this.$el, c), c.hidden = !0); }, events: ["resize"] }, @@ -7531,35 +7531,35 @@ var ql = { exports: {} }; return nn(tp, (t, e) => Zt.component(e, t)), pd(Zt), nn(fd, (t, e) => Zt.component(e, t)), Zt; }); })(ql); -var Vp = ql.exports; -const Wl = /* @__PURE__ */ Wp(Vp); +var Wp = ql.exports; +const Wl = /* @__PURE__ */ qp(Wp); function Vl(i, s) { return function() { return i.apply(s, arguments); }; } -const { toString: Jp } = Object.prototype, { getPrototypeOf: qo } = Object, as = /* @__PURE__ */ ((i) => (s) => { - const a = Jp.call(s); +const { toString: Vp } = Object.prototype, { getPrototypeOf: qo } = Object, as = /* @__PURE__ */ ((i) => (s) => { + const a = Vp.call(s); return i[a] || (i[a] = a.slice(8, -1).toLowerCase()); })(/* @__PURE__ */ Object.create(null)), ce = (i) => (i = i.toLowerCase(), (s) => as(s) === i), ls = (i) => (s) => typeof s === i, { isArray: $n } = Array, ni = ls("undefined"); -function Kp(i) { +function Jp(i) { return i !== null && !ni(i) && i.constructor !== null && !ni(i.constructor) && ee(i.constructor.isBuffer) && i.constructor.isBuffer(i); } const Jl = ce("ArrayBuffer"); -function Gp(i) { +function Kp(i) { let s; return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? s = ArrayBuffer.isView(i) : s = i && i.buffer && Jl(i.buffer), s; } -const Xp = ls("string"), ee = ls("function"), Kl = ls("number"), cs = (i) => i !== null && typeof i == "object", Yp = (i) => i === !0 || i === !1, Xi = (i) => { +const Gp = ls("string"), ee = ls("function"), Kl = ls("number"), cs = (i) => i !== null && typeof i == "object", Xp = (i) => i === !0 || i === !1, Xi = (i) => { if (as(i) !== "object") return !1; const s = qo(i); return (s === null || s === Object.prototype || Object.getPrototypeOf(s) === null) && !(Symbol.toStringTag in i) && !(Symbol.iterator in i); -}, Qp = ce("Date"), Zp = ce("File"), tm = ce("Blob"), em = ce("FileList"), nm = (i) => cs(i) && ee(i.pipe), im = (i) => { +}, Yp = ce("Date"), Qp = ce("File"), Zp = ce("Blob"), tm = ce("FileList"), em = (i) => cs(i) && ee(i.pipe), nm = (i) => { let s; return i && (typeof FormData == "function" && i instanceof FormData || ee(i.append) && ((s = as(i)) === "formdata" || // detect form-data instance s === "object" && ee(i.toString) && i.toString() === "[object FormData]")); -}, sm = ce("URLSearchParams"), [om, rm, am, lm] = ["ReadableStream", "Request", "Response", "Headers"].map(ce), cm = (i) => i.trim ? i.trim() : i.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, ""); +}, im = ce("URLSearchParams"), [sm, om, rm, am] = ["ReadableStream", "Request", "Response", "Headers"].map(ce), lm = (i) => i.trim ? i.trim() : i.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, ""); function ri(i, s, { allOwnKeys: a = !1 } = {}) { if (i === null || typeof i > "u") return; @@ -7593,13 +7593,13 @@ function To() { arguments[r] && ri(arguments[r], a); return s; } -const um = (i, s, a, { allOwnKeys: r } = {}) => (ri(s, (u, h) => { +const cm = (i, s, a, { allOwnKeys: r } = {}) => (ri(s, (u, h) => { a && ee(u) ? i[h] = Vl(u, a) : i[h] = u; -}, { allOwnKeys: r }), i), hm = (i) => (i.charCodeAt(0) === 65279 && (i = i.slice(1)), i), dm = (i, s, a, r) => { +}, { allOwnKeys: r }), i), um = (i) => (i.charCodeAt(0) === 65279 && (i = i.slice(1)), i), hm = (i, s, a, r) => { i.prototype = Object.create(s.prototype, r), i.prototype.constructor = i, Object.defineProperty(i, "super", { value: s.prototype }), a && Object.assign(i.prototype, a); -}, fm = (i, s, a, r) => { +}, dm = (i, s, a, r) => { let u, h, f; const g = {}; if (s = s || {}, i == null) return s; @@ -7609,11 +7609,11 @@ const um = (i, s, a, { allOwnKeys: r } = {}) => (ri(s, (u, h) => { i = a !== !1 && qo(i); } while (i && (!a || a(i, s)) && i !== Object.prototype); return s; -}, pm = (i, s, a) => { +}, fm = (i, s, a) => { i = String(i), (a === void 0 || a > i.length) && (a = i.length), a -= s.length; const r = i.indexOf(s, a); return r !== -1 && r === a; -}, mm = (i) => { +}, pm = (i) => { if (!i) return null; if ($n(i)) return i; let s = i.length; @@ -7622,31 +7622,31 @@ const um = (i, s, a, { allOwnKeys: r } = {}) => (ri(s, (u, h) => { for (; s-- > 0; ) a[s] = i[s]; return a; -}, gm = /* @__PURE__ */ ((i) => (s) => i && s instanceof i)(typeof Uint8Array < "u" && qo(Uint8Array)), vm = (i, s) => { +}, mm = /* @__PURE__ */ ((i) => (s) => i && s instanceof i)(typeof Uint8Array < "u" && qo(Uint8Array)), gm = (i, s) => { const a = (i && i[Symbol.iterator]).call(i); let r; for (; (r = a.next()) && !r.done; ) { const u = r.value; s.call(i, u[0], u[1]); } -}, bm = (i, s) => { +}, vm = (i, s) => { let a; const r = []; for (; (a = i.exec(s)) !== null; ) r.push(a); return r; -}, wm = ce("HTMLFormElement"), ym = (i) => i.toLowerCase().replace( +}, bm = ce("HTMLFormElement"), wm = (i) => i.toLowerCase().replace( /[-_\s]([a-z\d])(\w*)/g, function(s, a, r) { return a.toUpperCase() + r; } -), pl = (({ hasOwnProperty: i }) => (s, a) => i.call(s, a))(Object.prototype), $m = ce("RegExp"), Yl = (i, s) => { +), pl = (({ hasOwnProperty: i }) => (s, a) => i.call(s, a))(Object.prototype), ym = ce("RegExp"), Yl = (i, s) => { const a = Object.getOwnPropertyDescriptors(i), r = {}; ri(a, (u, h) => { let f; (f = s(u, h, i)) !== !1 && (r[h] = f || u); }), Object.defineProperties(i, r); -}, km = (i) => { +}, $m = (i) => { Yl(i, (s, a) => { if (ee(i) && ["arguments", "caller", "callee"].indexOf(a) !== -1) return !1; @@ -7661,29 +7661,29 @@ const um = (i, s, a, { allOwnKeys: r } = {}) => (ri(s, (u, h) => { }); } }); -}, xm = (i, s) => { +}, km = (i, s) => { const a = {}, r = (u) => { u.forEach((h) => { a[h] = !0; }); }; return $n(i) ? r(i) : r(String(i).split(s)), a; -}, Sm = () => { -}, _m = (i, s) => i != null && Number.isFinite(i = +i) ? i : s, wo = "abcdefghijklmnopqrstuvwxyz", ml = "0123456789", Ql = { +}, xm = () => { +}, Sm = (i, s) => i != null && Number.isFinite(i = +i) ? i : s, wo = "abcdefghijklmnopqrstuvwxyz", ml = "0123456789", Ql = { DIGIT: ml, ALPHA: wo, ALPHA_DIGIT: wo + wo.toUpperCase() + ml -}, Em = (i = 16, s = Ql.ALPHA_DIGIT) => { +}, _m = (i = 16, s = Ql.ALPHA_DIGIT) => { let a = ""; const { length: r } = s; for (; i--; ) a += s[Math.random() * r | 0]; return a; }; -function Om(i) { +function Em(i) { return !!(i && ee(i.append) && i[Symbol.toStringTag] === "FormData" && i[Symbol.iterator]); } -const Tm = (i) => { +const Om = (i) => { const s = new Array(10), a = (r, u) => { if (cs(r)) { if (s.indexOf(r) >= 0) @@ -7700,72 +7700,72 @@ const Tm = (i) => { return r; }; return a(i, 0); -}, Cm = ce("AsyncFunction"), Pm = (i) => i && (cs(i) || ee(i)) && ee(i.then) && ee(i.catch), Zl = ((i, s) => i ? setImmediate : s ? ((a, r) => (Xe.addEventListener("message", ({ source: u, data: h }) => { +}, Tm = ce("AsyncFunction"), Cm = (i) => i && (cs(i) || ee(i)) && ee(i.then) && ee(i.catch), Zl = ((i, s) => i ? setImmediate : s ? ((a, r) => (Xe.addEventListener("message", ({ source: u, data: h }) => { u === Xe && h === a && r.length && r.shift()(); }, !1), (u) => { r.push(u), Xe.postMessage(a, "*"); }))(`axios@${Math.random()}`, []) : (a) => setTimeout(a))( typeof setImmediate == "function", ee(Xe.postMessage) -), Am = typeof queueMicrotask < "u" ? queueMicrotask.bind(Xe) : typeof process < "u" && process.nextTick || Zl, _ = { +), Pm = typeof queueMicrotask < "u" ? queueMicrotask.bind(Xe) : typeof process < "u" && process.nextTick || Zl, _ = { isArray: $n, isArrayBuffer: Jl, - isBuffer: Kp, - isFormData: im, - isArrayBufferView: Gp, - isString: Xp, + isBuffer: Jp, + isFormData: nm, + isArrayBufferView: Kp, + isString: Gp, isNumber: Kl, - isBoolean: Yp, + isBoolean: Xp, isObject: cs, isPlainObject: Xi, - isReadableStream: om, - isRequest: rm, - isResponse: am, - isHeaders: lm, + isReadableStream: sm, + isRequest: om, + isResponse: rm, + isHeaders: am, isUndefined: ni, - isDate: Qp, - isFile: Zp, - isBlob: tm, - isRegExp: $m, + isDate: Yp, + isFile: Qp, + isBlob: Zp, + isRegExp: ym, isFunction: ee, - isStream: nm, - isURLSearchParams: sm, - isTypedArray: gm, - isFileList: em, + isStream: em, + isURLSearchParams: im, + isTypedArray: mm, + isFileList: tm, forEach: ri, merge: To, - extend: um, - trim: cm, - stripBOM: hm, - inherits: dm, - toFlatObject: fm, + extend: cm, + trim: lm, + stripBOM: um, + inherits: hm, + toFlatObject: dm, kindOf: as, kindOfTest: ce, - endsWith: pm, - toArray: mm, - forEachEntry: vm, - matchAll: bm, - isHTMLForm: wm, + endsWith: fm, + toArray: pm, + forEachEntry: gm, + matchAll: vm, + isHTMLForm: bm, hasOwnProperty: pl, hasOwnProp: pl, // an alias to avoid ESLint no-prototype-builtins detection reduceDescriptors: Yl, - freezeMethods: km, - toObjectSet: xm, - toCamelCase: ym, - noop: Sm, - toFiniteNumber: _m, + freezeMethods: $m, + toObjectSet: km, + toCamelCase: wm, + noop: xm, + toFiniteNumber: Sm, findKey: Gl, global: Xe, isContextDefined: Xl, ALPHABET: Ql, - generateString: Em, - isSpecCompliantForm: Om, - toJSONObject: Tm, - isAsyncFn: Cm, - isThenable: Pm, + generateString: _m, + isSpecCompliantForm: Em, + toJSONObject: Om, + isAsyncFn: Tm, + isThenable: Cm, setImmediate: Zl, - asap: Am + asap: Pm }; function J(i, s, a, r, u) { Error.call(this), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack, this.message = i, this.name = "AxiosError", s && (this.code = s), a && (this.config = a), r && (this.request = r), u && (this.response = u, this.status = u.status ? u.status : null); @@ -7817,7 +7817,7 @@ J.from = (i, s, a, r, u, h) => { return g !== Error.prototype; }, (g) => g !== "isAxiosError"), J.call(f, i.message, s, a, r, u), f.cause = i, f.name = i.name, h && Object.assign(f, h), f; }; -const Rm = null; +const Am = null; function Co(i) { return _.isPlainObject(i) || _.isArray(i); } @@ -7829,10 +7829,10 @@ function gl(i, s, a) { return r = nc(r), !a && u ? "[" + r + "]" : r; }).join(a ? "." : "") : s; } -function Bm(i) { +function Rm(i) { return _.isArray(i) && !i.some(Co); } -const Im = _.toFlatObject(_, {}, null, function(i) { +const Bm = _.toFlatObject(_, {}, null, function(i) { return /^is[A-Z]/.test(i); }); function us(i, s, a) { @@ -7861,7 +7861,7 @@ function us(i, s, a) { if (A && !T && typeof A == "object") { if (_.endsWith(C, "{}")) C = r ? C : C.slice(0, -2), A = JSON.stringify(A); - else if (_.isArray(A) && Bm(A) || (_.isFileList(A) || _.endsWith(C, "[]")) && (M = _.toArray(A))) + else if (_.isArray(A) && Rm(A) || (_.isFileList(A) || _.endsWith(C, "[]")) && (M = _.toArray(A))) return C = nc(C), M.forEach(function(q, z) { !(_.isUndefined(q) || q === null) && s.append( // eslint-disable-next-line no-nested-ternary @@ -7872,7 +7872,7 @@ function us(i, s, a) { } return Co(A) ? !0 : (s.append(gl(T, C, h), k(A)), !1); } - const b = [], P = Object.assign(Im, { + const b = [], P = Object.assign(Bm, { defaultVisitor: v, convertValue: k, isVisitable: Co @@ -7925,13 +7925,13 @@ ic.toString = function(i) { return s(a[0]) + "=" + s(a[1]); }, "").join("&"); }; -function Nm(i) { +function Im(i) { return encodeURIComponent(i).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+").replace(/%5B/gi, "[").replace(/%5D/gi, "]"); } function sc(i, s, a) { if (!s) return i; - const r = a && a.encode || Nm, u = a && a.serialize; + const r = a && a.encode || Im, u = a && a.serialize; let h; if (u ? h = u(s, a) : h = _.isURLSearchParams(s) ? s.toString() : new Wo(s, a).toString(r), h) { const f = i.indexOf("#"); @@ -7997,37 +7997,37 @@ const oc = { silentJSONParsing: !0, forcedJSONParsing: !0, clarifyTimeoutError: !1 -}, Fm = typeof URLSearchParams < "u" ? URLSearchParams : Wo, Dm = typeof FormData < "u" ? FormData : null, jm = typeof Blob < "u" ? Blob : null, Lm = { +}, Nm = typeof URLSearchParams < "u" ? URLSearchParams : Wo, Fm = typeof FormData < "u" ? FormData : null, Dm = typeof Blob < "u" ? Blob : null, jm = { isBrowser: !0, classes: { - URLSearchParams: Fm, - FormData: Dm, - Blob: jm + URLSearchParams: Nm, + FormData: Fm, + Blob: Dm }, protocols: ["http", "https", "file", "blob", "url", "data"] -}, Vo = typeof window < "u" && typeof document < "u", Po = typeof navigator == "object" && navigator || void 0, Um = Vo && (!Po || ["ReactNative", "NativeScript", "NS"].indexOf(Po.product) < 0), Mm = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef -self instanceof WorkerGlobalScope && typeof self.importScripts == "function", zm = Vo && window.location.href || "http://localhost", Hm = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ +}, Vo = typeof window < "u" && typeof document < "u", Po = typeof navigator == "object" && navigator || void 0, Lm = Vo && (!Po || ["ReactNative", "NativeScript", "NS"].indexOf(Po.product) < 0), Um = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef +self instanceof WorkerGlobalScope && typeof self.importScripts == "function", Mm = Vo && window.location.href || "http://localhost", zm = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, hasBrowserEnv: Vo, - hasStandardBrowserEnv: Um, - hasStandardBrowserWebWorkerEnv: Mm, + hasStandardBrowserEnv: Lm, + hasStandardBrowserWebWorkerEnv: Um, navigator: Po, - origin: zm + origin: Mm }, Symbol.toStringTag, { value: "Module" })), Vt = { - ...Hm, - ...Lm + ...zm, + ...jm }; -function qm(i, s) { +function Hm(i, s) { return us(i, new Vt.classes.URLSearchParams(), Object.assign({ visitor: function(a, r, u, h) { return Vt.isNode && _.isBuffer(a) ? (this.append(r, a.toString("base64")), !1) : h.defaultVisitor.apply(this, arguments); } }, s)); } -function Wm(i) { +function qm(i) { return _.matchAll(/\w+|\[(\w*)]/g, i).map((s) => s[0] === "[]" ? "" : s[1] || s[0]); } -function Vm(i) { +function Wm(i) { const s = {}, a = Object.keys(i); let r; const u = a.length; @@ -8041,17 +8041,17 @@ function rc(i) { let f = a[h++]; if (f === "__proto__") return !0; const g = Number.isFinite(+f), k = h >= a.length; - return f = !f && _.isArray(u) ? u.length : f, k ? (_.hasOwnProp(u, f) ? u[f] = [u[f], r] : u[f] = r, !g) : ((!u[f] || !_.isObject(u[f])) && (u[f] = []), s(a, r, u[f], h) && _.isArray(u[f]) && (u[f] = Vm(u[f])), !g); + return f = !f && _.isArray(u) ? u.length : f, k ? (_.hasOwnProp(u, f) ? u[f] = [u[f], r] : u[f] = r, !g) : ((!u[f] || !_.isObject(u[f])) && (u[f] = []), s(a, r, u[f], h) && _.isArray(u[f]) && (u[f] = Wm(u[f])), !g); } if (_.isFormData(i) && _.isFunction(i.entries)) { const a = {}; return _.forEachEntry(i, (r, u) => { - s(Wm(r), u, a, 0); + s(qm(r), u, a, 0); }), a; } return null; } -function Jm(i, s, a) { +function Vm(i, s, a) { if (_.isString(i)) try { return (s || JSON.parse)(i), _.trim(i); @@ -8077,7 +8077,7 @@ const ai = { let h; if (u) { if (a.indexOf("application/x-www-form-urlencoded") > -1) - return qm(i, this.formSerializer).toString(); + return Hm(i, this.formSerializer).toString(); if ((h = _.isFileList(i)) || a.indexOf("multipart/form-data") > -1) { const f = this.env && this.env.FormData; return us( @@ -8087,7 +8087,7 @@ const ai = { ); } } - return u || r ? (s.setContentType("application/json", !1), Jm(i)) : i; + return u || r ? (s.setContentType("application/json", !1), Vm(i)) : i; }], transformResponse: [function(i) { const s = this.transitional || ai.transitional, a = s && s.forcedJSONParsing, r = this.responseType === "json"; @@ -8130,7 +8130,7 @@ const ai = { _.forEach(["delete", "get", "head", "post", "put", "patch"], (i) => { ai.headers[i] = {}; }); -const Km = _.toObjectSet([ +const Jm = _.toObjectSet([ "age", "authorization", "content-length", @@ -8148,12 +8148,12 @@ const Km = _.toObjectSet([ "referer", "retry-after", "user-agent" -]), Gm = (i) => { +]), Km = (i) => { const s = {}; let a, r, u; return i && i.split(` `).forEach(function(h) { - u = h.indexOf(":"), a = h.substring(0, u).trim().toLowerCase(), r = h.substring(u + 1).trim(), !(!a || s[a] && Km[a]) && (a === "set-cookie" ? s[a] ? s[a].push(r) : s[a] = [r] : s[a] = s[a] ? s[a] + ", " + r : r); + u = h.indexOf(":"), a = h.substring(0, u).trim().toLowerCase(), r = h.substring(u + 1).trim(), !(!a || s[a] && Jm[a]) && (a === "set-cookie" ? s[a] ? s[a].push(r) : s[a] = [r] : s[a] = s[a] ? s[a] + ", " + r : r); }), s; }, wl = Symbol("internals"); function Zn(i) { @@ -8162,14 +8162,14 @@ function Zn(i) { function Yi(i) { return i === !1 || i == null ? i : _.isArray(i) ? i.map(Yi) : String(i); } -function Xm(i) { +function Gm(i) { const s = /* @__PURE__ */ Object.create(null), a = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g; let r; for (; r = a.exec(i); ) s[r[1]] = r[2]; return s; } -const Ym = (i) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(i.trim()); +const Xm = (i) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(i.trim()); function yo(i, s, a, r, u) { if (_.isFunction(r)) return r.call(this, s, a); @@ -8180,10 +8180,10 @@ function yo(i, s, a, r, u) { return r.test(s); } } -function Qm(i) { +function Ym(i) { return i.trim().toLowerCase().replace(/([a-z\d])(\w*)/g, (s, a, r) => a.toUpperCase() + r); } -function Zm(i, s) { +function Qm(i, s) { const a = _.toCamelCase(" " + s); ["get", "set", "has"].forEach((r) => { Object.defineProperty(i, r + a, { @@ -8210,8 +8210,8 @@ let Jt = class { const f = (g, k) => _.forEach(g, (v, b) => h(v, b, k)); if (_.isPlainObject(s) || s instanceof this.constructor) f(s, a); - else if (_.isString(s) && (s = s.trim()) && !Ym(s)) - f(Gm(s), a); + else if (_.isString(s) && (s = s.trim()) && !Xm(s)) + f(Km(s), a); else if (_.isHeaders(s)) for (const [g, k] of s.entries()) h(k, g, r); @@ -8227,7 +8227,7 @@ let Jt = class { if (!a) return u; if (a === !0) - return Xm(u); + return Gm(u); if (_.isFunction(a)) return a.call(this, u, r); if (_.isRegExp(a)) @@ -8271,7 +8271,7 @@ let Jt = class { a[f] = Yi(u), delete a[h]; return; } - const g = s ? Qm(h) : String(h).trim(); + const g = s ? Ym(h) : String(h).trim(); g !== h && delete a[h], a[g] = Yi(u), r[g] = !0; }), this; } @@ -8307,7 +8307,7 @@ let Jt = class { }).accessors, r = this.prototype; function u(h) { const f = Zn(h); - a[f] || (Zm(r, h), a[f] = !0); + a[f] || (Qm(r, h), a[f] = !0); } return _.isArray(s) ? s.forEach(u) : u(s), this; } @@ -8349,11 +8349,11 @@ function lc(i, s, a) { a )); } -function tg(i) { +function Zm(i) { const s = /^([-+\w]{1,25})(:?\/\/|:)/.exec(i); return s && s[1] || ""; } -function eg(i, s) { +function tg(i, s) { i = i || 10; const a = new Array(i), r = new Array(i); let u = 0, h = 0, f; @@ -8369,7 +8369,7 @@ function eg(i, s) { return S ? Math.round(P * 1e3 / S) : void 0; }; } -function ng(i, s) { +function eg(i, s) { let a = 0, r = 1e3 / s, u, h; const f = (g, k = Date.now()) => { a = k, u = null, h && (clearTimeout(h), h = null), i.apply(null, g); @@ -8383,8 +8383,8 @@ function ng(i, s) { } const ts = (i, s, a = 3) => { let r = 0; - const u = eg(50, 250); - return ng((h) => { + const u = tg(50, 250); + return eg((h) => { const f = h.loaded, g = h.lengthComputable ? h.total : void 0, k = f - r, v = u(k), b = f <= g; r = f; const P = { @@ -8407,7 +8407,7 @@ const ts = (i, s, a = 3) => { total: i, loaded: r }), s[1]]; -}, $l = (i) => (...s) => _.asap(() => i(...s)), ig = Vt.hasStandardBrowserEnv ? ( +}, $l = (i) => (...s) => _.asap(() => i(...s)), ng = Vt.hasStandardBrowserEnv ? ( // Standard browser envs have full support of the APIs needed to test // whether the request URL is of the same origin as current location. function() { @@ -8438,7 +8438,7 @@ const ts = (i, s, a = 3) => { return !0; }; }() -), sg = Vt.hasStandardBrowserEnv ? ( +), ig = Vt.hasStandardBrowserEnv ? ( // Standard browser envs support document.cookie { write(i, s, a, r, u, h) { @@ -8465,14 +8465,14 @@ const ts = (i, s, a = 3) => { } } ); -function og(i) { +function sg(i) { return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(i); } -function rg(i, s) { +function og(i, s) { return s ? i.replace(/\/?\/$/, "") + "/" + s.replace(/^\/+/, "") : i; } function cc(i, s) { - return i && !og(s) ? rg(i, s) : s; + return i && !sg(s) ? og(i, s) : s; } const kl = (i) => i instanceof Jt ? { ...i } : i; function tn(i, s) { @@ -8555,12 +8555,12 @@ const uc = (i) => { f.setContentType([v || "multipart/form-data", ...b].join("; ")); } } - if (Vt.hasStandardBrowserEnv && (r && _.isFunction(r) && (r = r(s)), r || r !== !1 && ig(s.url))) { - const v = u && h && sg.read(h); + if (Vt.hasStandardBrowserEnv && (r && _.isFunction(r) && (r = r(s)), r || r !== !1 && ng(s.url))) { + const v = u && h && ig.read(h); v && f.set(u, v); } return s; -}, ag = typeof XMLHttpRequest < "u", lg = ag && function(i) { +}, rg = typeof XMLHttpRequest < "u", ag = rg && function(i) { return new Promise(function(s, a) { const r = uc(i); let u = r.data; @@ -8610,14 +8610,14 @@ const uc = (i) => { }), _.isUndefined(r.withCredentials) || (T.withCredentials = !!r.withCredentials), f && f !== "json" && (T.responseType = r.responseType), k && ([P, A] = ts(k, !0), T.addEventListener("progress", P)), g && T.upload && ([b, S] = ts(g), T.upload.addEventListener("progress", b), T.upload.addEventListener("loadend", S)), (r.cancelToken || r.signal) && (v = (z) => { T && (a(!z || z.type ? new kn(null, i, T) : z), T.abort(), T = null); }, r.cancelToken && r.cancelToken.subscribe(v), r.signal && (r.signal.aborted ? v() : r.signal.addEventListener("abort", v))); - const q = tg(r.url); + const q = Zm(r.url); if (q && Vt.protocols.indexOf(q) === -1) { a(new J("Unsupported protocol " + q + ":", J.ERR_BAD_REQUEST, i)); return; } T.send(u || null); }); -}, cg = (i, s) => { +}, lg = (i, s) => { const { length: a } = i = i ? i.filter(Boolean) : []; if (s || a) { let r = new AbortController(), u; @@ -8640,7 +8640,7 @@ const uc = (i) => { const { signal: k } = r; return k.unsubscribe = () => _.asap(g), k; } -}, ug = function* (i, s) { +}, cg = function* (i, s) { let a = i.byteLength; if (a < s) { yield i; @@ -8649,10 +8649,10 @@ const uc = (i) => { let r = 0, u; for (; r < a; ) u = r + s, yield i.slice(r, u), r = u; -}, hg = async function* (i, s) { - for await (const a of dg(i)) - yield* ug(a, s); -}, dg = async function* (i) { +}, ug = async function* (i, s) { + for await (const a of hg(i)) + yield* cg(a, s); +}, hg = async function* (i) { if (i[Symbol.asyncIterator]) { yield* i; return; @@ -8669,7 +8669,7 @@ const uc = (i) => { await s.cancel(); } }, xl = (i, s, a, r) => { - const u = hg(i, s); + const u = ug(i, s); let h = 0, f, g = (k) => { f || (f = !0, r && r(k)); }; @@ -8697,13 +8697,13 @@ const uc = (i) => { }, { highWaterMark: 2 }); -}, hs = typeof fetch == "function" && typeof Request == "function" && typeof Response == "function", hc = hs && typeof ReadableStream == "function", fg = hs && (typeof TextEncoder == "function" ? /* @__PURE__ */ ((i) => (s) => i.encode(s))(new TextEncoder()) : async (i) => new Uint8Array(await new Response(i).arrayBuffer())), dc = (i, ...s) => { +}, hs = typeof fetch == "function" && typeof Request == "function" && typeof Response == "function", hc = hs && typeof ReadableStream == "function", dg = hs && (typeof TextEncoder == "function" ? /* @__PURE__ */ ((i) => (s) => i.encode(s))(new TextEncoder()) : async (i) => new Uint8Array(await new Response(i).arrayBuffer())), dc = (i, ...s) => { try { return !!i(...s); } catch { return !1; } -}, pg = hc && dc(() => { +}, fg = hc && dc(() => { let i = !1; const s = new Request(Vt.origin, { body: new ReadableStream(), @@ -8723,7 +8723,7 @@ hs && ((i) => { }); }); })(new Response()); -const mg = async (i) => { +const pg = async (i) => { if (i == null) return 0; if (_.isBlob(i)) @@ -8736,8 +8736,8 @@ const mg = async (i) => { if (_.isArrayBufferView(i) || _.isArrayBuffer(i)) return i.byteLength; if (_.isURLSearchParams(i) && (i = i + ""), _.isString(i)) - return (await fg(i)).byteLength; -}, gg = async (i, s) => _.toFiniteNumber(i.getContentLength()) ?? mg(s), vg = hs && (async (i) => { + return (await dg(i)).byteLength; +}, mg = async (i, s) => _.toFiniteNumber(i.getContentLength()) ?? pg(s), gg = hs && (async (i) => { let { url: s, method: a, @@ -8753,13 +8753,13 @@ const mg = async (i) => { fetchOptions: S } = uc(i); v = v ? (v + "").toLowerCase() : "text"; - let A = cg([u, h && h.toAbortSignal()], f), C; + let A = lg([u, h && h.toAbortSignal()], f), C; const T = A && A.unsubscribe && (() => { A.unsubscribe(); }); let M; try { - if (k && pg && a !== "get" && a !== "head" && (M = await gg(b, r)) !== 0) { + if (k && fg && a !== "get" && a !== "head" && (M = await mg(b, r)) !== 0) { let Dt = new Request(s, { method: "POST", body: r, @@ -8823,9 +8823,9 @@ const mg = async (i) => { ) : J.from(q, q && q.code, i, C); } }), Ro = { - http: Rm, - xhr: lg, - fetch: vg + http: Am, + xhr: ag, + fetch: gg }; _.forEach(Ro, (i, s) => { if (i) { @@ -8836,7 +8836,7 @@ _.forEach(Ro, (i, s) => { Object.defineProperty(i, "adapterName", { value: s }); } }); -const _l = (i) => `- ${i}`, bg = (i) => _.isFunction(i) || i === null || i === !1, fc = { +const _l = (i) => `- ${i}`, vg = (i) => _.isFunction(i) || i === null || i === !1, fc = { getAdapter: (i) => { i = _.isArray(i) ? i : [i]; const { length: s } = i; @@ -8845,7 +8845,7 @@ const _l = (i) => `- ${i}`, bg = (i) => _.isFunction(i) || i === null || i === ! for (let h = 0; h < s; h++) { a = i[h]; let f; - if (r = a, !bg(a) && (r = Ro[(f = String(a)).toLowerCase()], r === void 0)) + if (r = a, !vg(a) && (r = Ro[(f = String(a)).toLowerCase()], r === void 0)) throw new J(`Unknown adapter '${f}'`); if (r) break; @@ -8914,7 +8914,7 @@ Jo.transitional = function(i, s, a) { )), i ? i(u, h, f) : !0; }; }; -function wg(i, s, a) { +function bg(i, s, a) { if (typeof i != "object") throw new J("options must be an object", J.ERR_BAD_OPTION_VALUE); const r = Object.keys(i); @@ -8932,7 +8932,7 @@ function wg(i, s, a) { } } const Bo = { - assertOptions: wg, + assertOptions: bg, validators: Jo }, Ce = Bo.validators; let Qe = class { @@ -9056,7 +9056,7 @@ _.forEach(["post", "put", "patch"], function(i) { } Qe.prototype[i] = s(), Qe.prototype[i + "Form"] = s(!0); }); -let yg = class mc { +let wg = class mc { constructor(s) { if (typeof s != "function") throw new TypeError("executor must be a function."); @@ -9129,12 +9129,12 @@ let yg = class mc { }; } }; -function $g(i) { +function yg(i) { return function(s) { return i.apply(null, s); }; } -function kg(i) { +function $g(i) { return _.isObject(i) && i.isAxiosError === !0; } const Io = { @@ -9214,7 +9214,7 @@ function gc(i) { const mt = gc(ai); mt.Axios = Qe; mt.CanceledError = kn; -mt.CancelToken = yg; +mt.CancelToken = wg; mt.isCancel = ac; mt.VERSION = pc; mt.toFormData = us; @@ -9223,16 +9223,16 @@ mt.Cancel = mt.CanceledError; mt.all = function(i) { return Promise.all(i); }; -mt.spread = $g; -mt.isAxiosError = kg; +mt.spread = yg; +mt.isAxiosError = $g; mt.mergeConfig = tn; mt.AxiosHeaders = Jt; mt.formToJSON = (i) => rc(_.isHTMLForm(i) ? new FormData(i) : i); mt.getAdapter = fc.getAdapter; mt.HttpStatusCode = Io; mt.default = mt; -var ye = /* @__PURE__ */ ((i) => (i.Primary = "Primary", i.Success = "Success", i.Warning = "Warning", i.Danger = "Danger", i))(ye || {}); -const xg = Hl("auth", { +var we = /* @__PURE__ */ ((i) => (i.Primary = "Primary", i.Success = "Success", i.Warning = "Warning", i.Danger = "Danger", i))(we || {}); +const kg = Hl("auth", { persist: !0, state: () => ({ user: null @@ -9251,7 +9251,7 @@ const xg = Hl("auth", { return mt.post("/account/login", i).then((s) => (this.setUser(s.data), this.user)).catch((s) => { throw { description: "An error as occurred", - style: ye.Danger, + style: we.Danger, closeBtn: !0, ...s.response.data }; @@ -9261,7 +9261,7 @@ const xg = Hl("auth", { return mt.get("/account/auth-check").then((i) => (this.setUser(i.data.user), this.user)).catch((i) => { throw this.unsetUser(), { description: "An error as occurred", - style: ye.Danger, + style: we.Danger, closeBtn: !0, ...i.response.data }; @@ -9271,23 +9271,23 @@ const xg = Hl("auth", { return this.unsetUser(), mt.get("/account/logout").catch((i) => { throw { description: "An error as occurred", - style: ye.Danger, + style: we.Danger, closeBtn: !0, ...i.response.data }; }); } } -}), Sg = { class: "uk-fieldset" }, _g = { class: "uk-margin" }, Eg = { class: "uk-inline uk-width-1-1" }, Og = { class: "uk-margin" }, Tg = { class: "uk-inline uk-width-1-1" }, Cg = { class: "uk-text-center" }, Pg = ["disabled"], Ko = /* @__PURE__ */ ft({ +}), xg = { class: "uk-fieldset" }, Sg = { class: "uk-margin" }, _g = { class: "uk-inline uk-width-1-1" }, Eg = { class: "uk-margin" }, Og = { class: "uk-inline uk-width-1-1" }, Tg = { class: "uk-text-center" }, Cg = ["disabled"], Ko = /* @__PURE__ */ ft({ __name: "FormLogin", setup(i) { - const s = me(!1), a = me(); + const s = ye(!1), a = ye(); let r = { user_name: "", password: "" }; async function u() { - s.value = !0, a.value = null, await xg().login(r).then((f) => { + s.value = !0, a.value = null, await kg().login(r).then((f) => { Wl.notification({ message: "Welcome back " + (f == null ? void 0 : f.full_name) + "!", status: "success", @@ -9305,14 +9305,14 @@ const xg = Hl("auth", { return B(), j("form", { onSubmit: f[2] || (f[2] = ss((k) => u(), ["prevent"])) }, [ - x("fieldset", Sg, [ + x("fieldset", xg, [ a.value ? (B(), gt(g, { key: 0, "data-test": "error", alert: a.value }, null, 8, ["alert"])) : st("", !0), - x("div", _g, [ - x("div", Eg, [ + x("div", Sg, [ + x("div", _g, [ f[3] || (f[3] = x("span", { class: "uk-form-icon", "uk-icon": "icon: user" @@ -9329,8 +9329,8 @@ const xg = Hl("auth", { ]) ]) ]), - x("div", Og, [ - x("div", Tg, [ + x("div", Eg, [ + x("div", Og, [ f[4] || (f[4] = x("span", { class: "uk-form-icon", "uk-icon": "icon: lock" @@ -9347,12 +9347,12 @@ const xg = Hl("auth", { ]) ]) ]), - x("div", Cg, [ + x("div", Tg, [ x("button", { class: "uk-button uk-button-primary", disabled: s.value, "data-test": "submit" - }, " Login ", 8, Pg) + }, " Login ", 8, Cg) ]) ]) ], 32); @@ -9364,28 +9364,28 @@ function vc(i, s) { return i.apply(s, arguments); }; } -const { toString: Ag } = Object.prototype, { getPrototypeOf: Go } = Object, ds = /* @__PURE__ */ ((i) => (s) => { - const a = Ag.call(s); +const { toString: Pg } = Object.prototype, { getPrototypeOf: Go } = Object, ds = /* @__PURE__ */ ((i) => (s) => { + const a = Pg.call(s); return i[a] || (i[a] = a.slice(8, -1).toLowerCase()); })(/* @__PURE__ */ Object.create(null)), ue = (i) => (i = i.toLowerCase(), (s) => ds(s) === i), fs = (i) => (s) => typeof s === i, { isArray: xn } = Array, ii = fs("undefined"); -function Rg(i) { +function Ag(i) { return i !== null && !ii(i) && i.constructor !== null && !ii(i.constructor) && ne(i.constructor.isBuffer) && i.constructor.isBuffer(i); } const bc = ue("ArrayBuffer"); -function Bg(i) { +function Rg(i) { let s; return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? s = ArrayBuffer.isView(i) : s = i && i.buffer && bc(i.buffer), s; } -const Ig = fs("string"), ne = fs("function"), wc = fs("number"), ps = (i) => i !== null && typeof i == "object", Ng = (i) => i === !0 || i === !1, Qi = (i) => { +const Bg = fs("string"), ne = fs("function"), wc = fs("number"), ps = (i) => i !== null && typeof i == "object", Ig = (i) => i === !0 || i === !1, Qi = (i) => { if (ds(i) !== "object") return !1; const s = Go(i); return (s === null || s === Object.prototype || Object.getPrototypeOf(s) === null) && !(Symbol.toStringTag in i) && !(Symbol.iterator in i); -}, Fg = ue("Date"), Dg = ue("File"), jg = ue("Blob"), Lg = ue("FileList"), Ug = (i) => ps(i) && ne(i.pipe), Mg = (i) => { +}, Ng = ue("Date"), Fg = ue("File"), Dg = ue("Blob"), jg = ue("FileList"), Lg = (i) => ps(i) && ne(i.pipe), Ug = (i) => { let s; return i && (typeof FormData == "function" && i instanceof FormData || ne(i.append) && ((s = ds(i)) === "formdata" || // detect form-data instance s === "object" && ne(i.toString) && i.toString() === "[object FormData]")); -}, zg = ue("URLSearchParams"), [Hg, qg, Wg, Vg] = ["ReadableStream", "Request", "Response", "Headers"].map(ue), Jg = (i) => i.trim ? i.trim() : i.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, ""); +}, Mg = ue("URLSearchParams"), [zg, Hg, qg, Wg] = ["ReadableStream", "Request", "Response", "Headers"].map(ue), Vg = (i) => i.trim ? i.trim() : i.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, ""); function li(i, s, { allOwnKeys: a = !1 } = {}) { if (i === null || typeof i > "u") return; @@ -9419,13 +9419,13 @@ function No() { arguments[r] && li(arguments[r], a); return s; } -const Kg = (i, s, a, { allOwnKeys: r } = {}) => (li(s, (u, h) => { +const Jg = (i, s, a, { allOwnKeys: r } = {}) => (li(s, (u, h) => { a && ne(u) ? i[h] = vc(u, a) : i[h] = u; -}, { allOwnKeys: r }), i), Gg = (i) => (i.charCodeAt(0) === 65279 && (i = i.slice(1)), i), Xg = (i, s, a, r) => { +}, { allOwnKeys: r }), i), Kg = (i) => (i.charCodeAt(0) === 65279 && (i = i.slice(1)), i), Gg = (i, s, a, r) => { i.prototype = Object.create(s.prototype, r), i.prototype.constructor = i, Object.defineProperty(i, "super", { value: s.prototype }), a && Object.assign(i.prototype, a); -}, Yg = (i, s, a, r) => { +}, Xg = (i, s, a, r) => { let u, h, f; const g = {}; if (s = s || {}, i == null) return s; @@ -9435,11 +9435,11 @@ const Kg = (i, s, a, { allOwnKeys: r } = {}) => (li(s, (u, h) => { i = a !== !1 && Go(i); } while (i && (!a || a(i, s)) && i !== Object.prototype); return s; -}, Qg = (i, s, a) => { +}, Yg = (i, s, a) => { i = String(i), (a === void 0 || a > i.length) && (a = i.length), a -= s.length; const r = i.indexOf(s, a); return r !== -1 && r === a; -}, Zg = (i) => { +}, Qg = (i) => { if (!i) return null; if (xn(i)) return i; let s = i.length; @@ -9448,31 +9448,31 @@ const Kg = (i, s, a, { allOwnKeys: r } = {}) => (li(s, (u, h) => { for (; s-- > 0; ) a[s] = i[s]; return a; -}, tv = /* @__PURE__ */ ((i) => (s) => i && s instanceof i)(typeof Uint8Array < "u" && Go(Uint8Array)), ev = (i, s) => { +}, Zg = /* @__PURE__ */ ((i) => (s) => i && s instanceof i)(typeof Uint8Array < "u" && Go(Uint8Array)), tv = (i, s) => { const a = (i && i[Symbol.iterator]).call(i); let r; for (; (r = a.next()) && !r.done; ) { const u = r.value; s.call(i, u[0], u[1]); } -}, nv = (i, s) => { +}, ev = (i, s) => { let a; const r = []; for (; (a = i.exec(s)) !== null; ) r.push(a); return r; -}, iv = ue("HTMLFormElement"), sv = (i) => i.toLowerCase().replace( +}, nv = ue("HTMLFormElement"), iv = (i) => i.toLowerCase().replace( /[-_\s]([a-z\d])(\w*)/g, function(s, a, r) { return a.toUpperCase() + r; } -), Tl = (({ hasOwnProperty: i }) => (s, a) => i.call(s, a))(Object.prototype), ov = ue("RegExp"), kc = (i, s) => { +), Tl = (({ hasOwnProperty: i }) => (s, a) => i.call(s, a))(Object.prototype), sv = ue("RegExp"), kc = (i, s) => { const a = Object.getOwnPropertyDescriptors(i), r = {}; li(a, (u, h) => { let f; (f = s(u, h, i)) !== !1 && (r[h] = f || u); }), Object.defineProperties(i, r); -}, rv = (i) => { +}, ov = (i) => { kc(i, (s, a) => { if (ne(i) && ["arguments", "caller", "callee"].indexOf(a) !== -1) return !1; @@ -9487,29 +9487,29 @@ const Kg = (i, s, a, { allOwnKeys: r } = {}) => (li(s, (u, h) => { }); } }); -}, av = (i, s) => { +}, rv = (i, s) => { const a = {}, r = (u) => { u.forEach((h) => { a[h] = !0; }); }; return xn(i) ? r(i) : r(String(i).split(s)), a; -}, lv = () => { -}, cv = (i, s) => i != null && Number.isFinite(i = +i) ? i : s, xo = "abcdefghijklmnopqrstuvwxyz", Cl = "0123456789", xc = { +}, av = () => { +}, lv = (i, s) => i != null && Number.isFinite(i = +i) ? i : s, xo = "abcdefghijklmnopqrstuvwxyz", Cl = "0123456789", xc = { DIGIT: Cl, ALPHA: xo, ALPHA_DIGIT: xo + xo.toUpperCase() + Cl -}, uv = (i = 16, s = xc.ALPHA_DIGIT) => { +}, cv = (i = 16, s = xc.ALPHA_DIGIT) => { let a = ""; const { length: r } = s; for (; i--; ) a += s[Math.random() * r | 0]; return a; }; -function hv(i) { +function uv(i) { return !!(i && ne(i.append) && i[Symbol.toStringTag] === "FormData" && i[Symbol.iterator]); } -const dv = (i) => { +const hv = (i) => { const s = new Array(10), a = (r, u) => { if (ps(r)) { if (s.indexOf(r) >= 0) @@ -9526,72 +9526,72 @@ const dv = (i) => { return r; }; return a(i, 0); -}, fv = ue("AsyncFunction"), pv = (i) => i && (ps(i) || ne(i)) && ne(i.then) && ne(i.catch), Sc = ((i, s) => i ? setImmediate : s ? ((a, r) => (Ye.addEventListener("message", ({ source: u, data: h }) => { +}, dv = ue("AsyncFunction"), fv = (i) => i && (ps(i) || ne(i)) && ne(i.then) && ne(i.catch), Sc = ((i, s) => i ? setImmediate : s ? ((a, r) => (Ye.addEventListener("message", ({ source: u, data: h }) => { u === Ye && h === a && r.length && r.shift()(); }, !1), (u) => { r.push(u), Ye.postMessage(a, "*"); }))(`axios@${Math.random()}`, []) : (a) => setTimeout(a))( typeof setImmediate == "function", ne(Ye.postMessage) -), mv = typeof queueMicrotask < "u" ? queueMicrotask.bind(Ye) : typeof process < "u" && process.nextTick || Sc, E = { +), pv = typeof queueMicrotask < "u" ? queueMicrotask.bind(Ye) : typeof process < "u" && process.nextTick || Sc, E = { isArray: xn, isArrayBuffer: bc, - isBuffer: Rg, - isFormData: Mg, - isArrayBufferView: Bg, - isString: Ig, + isBuffer: Ag, + isFormData: Ug, + isArrayBufferView: Rg, + isString: Bg, isNumber: wc, - isBoolean: Ng, + isBoolean: Ig, isObject: ps, isPlainObject: Qi, - isReadableStream: Hg, - isRequest: qg, - isResponse: Wg, - isHeaders: Vg, + isReadableStream: zg, + isRequest: Hg, + isResponse: qg, + isHeaders: Wg, isUndefined: ii, - isDate: Fg, - isFile: Dg, - isBlob: jg, - isRegExp: ov, + isDate: Ng, + isFile: Fg, + isBlob: Dg, + isRegExp: sv, isFunction: ne, - isStream: Ug, - isURLSearchParams: zg, - isTypedArray: tv, - isFileList: Lg, + isStream: Lg, + isURLSearchParams: Mg, + isTypedArray: Zg, + isFileList: jg, forEach: li, merge: No, - extend: Kg, - trim: Jg, - stripBOM: Gg, - inherits: Xg, - toFlatObject: Yg, + extend: Jg, + trim: Vg, + stripBOM: Kg, + inherits: Gg, + toFlatObject: Xg, kindOf: ds, kindOfTest: ue, - endsWith: Qg, - toArray: Zg, - forEachEntry: ev, - matchAll: nv, - isHTMLForm: iv, + endsWith: Yg, + toArray: Qg, + forEachEntry: tv, + matchAll: ev, + isHTMLForm: nv, hasOwnProperty: Tl, hasOwnProp: Tl, // an alias to avoid ESLint no-prototype-builtins detection reduceDescriptors: kc, - freezeMethods: rv, - toObjectSet: av, - toCamelCase: sv, - noop: lv, - toFiniteNumber: cv, + freezeMethods: ov, + toObjectSet: rv, + toCamelCase: iv, + noop: av, + toFiniteNumber: lv, findKey: yc, global: Ye, isContextDefined: $c, ALPHABET: xc, - generateString: uv, - isSpecCompliantForm: hv, - toJSONObject: dv, - isAsyncFn: fv, - isThenable: pv, + generateString: cv, + isSpecCompliantForm: uv, + toJSONObject: hv, + isAsyncFn: dv, + isThenable: fv, setImmediate: Sc, - asap: mv + asap: pv }; function K(i, s, a, r, u) { Error.call(this), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack, this.message = i, this.name = "AxiosError", s && (this.code = s), a && (this.config = a), r && (this.request = r), u && (this.response = u); @@ -9643,7 +9643,7 @@ K.from = (i, s, a, r, u, h) => { return g !== Error.prototype; }, (g) => g !== "isAxiosError"), K.call(f, i.message, s, a, r, u), f.cause = i, f.name = i.name, h && Object.assign(f, h), f; }; -const gv = null; +const mv = null; function Fo(i) { return E.isPlainObject(i) || E.isArray(i); } @@ -9655,10 +9655,10 @@ function Pl(i, s, a) { return r = Oc(r), !a && u ? "[" + r + "]" : r; }).join(a ? "." : "") : s; } -function vv(i) { +function gv(i) { return E.isArray(i) && !i.some(Fo); } -const bv = E.toFlatObject(E, {}, null, function(i) { +const vv = E.toFlatObject(E, {}, null, function(i) { return /^is[A-Z]/.test(i); }); function ms(i, s, a) { @@ -9687,7 +9687,7 @@ function ms(i, s, a) { if (A && !T && typeof A == "object") { if (E.endsWith(C, "{}")) C = r ? C : C.slice(0, -2), A = JSON.stringify(A); - else if (E.isArray(A) && vv(A) || (E.isFileList(A) || E.endsWith(C, "[]")) && (M = E.toArray(A))) + else if (E.isArray(A) && gv(A) || (E.isFileList(A) || E.endsWith(C, "[]")) && (M = E.toArray(A))) return C = Oc(C), M.forEach(function(q, z) { !(E.isUndefined(q) || q === null) && s.append( // eslint-disable-next-line no-nested-ternary @@ -9698,7 +9698,7 @@ function ms(i, s, a) { } return Fo(A) ? !0 : (s.append(Pl(T, C, h), k(A)), !1); } - const b = [], P = Object.assign(bv, { + const b = [], P = Object.assign(vv, { defaultVisitor: v, convertValue: k, isVisitable: Fo @@ -9751,13 +9751,13 @@ Tc.toString = function(i) { return s(a[0]) + "=" + s(a[1]); }, "").join("&"); }; -function wv(i) { +function bv(i) { return encodeURIComponent(i).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+").replace(/%5B/gi, "[").replace(/%5D/gi, "]"); } function Cc(i, s, a) { if (!s) return i; - const r = a && a.encode || wv, u = a && a.serialize; + const r = a && a.encode || bv, u = a && a.serialize; let h; if (u ? h = u(s, a) : h = E.isURLSearchParams(s) ? s.toString() : new Xo(s, a).toString(r), h) { const f = i.indexOf("#"); @@ -9823,36 +9823,36 @@ const Pc = { silentJSONParsing: !0, forcedJSONParsing: !0, clarifyTimeoutError: !1 -}, yv = typeof URLSearchParams < "u" ? URLSearchParams : Xo, $v = typeof FormData < "u" ? FormData : null, kv = typeof Blob < "u" ? Blob : null, xv = { +}, wv = typeof URLSearchParams < "u" ? URLSearchParams : Xo, yv = typeof FormData < "u" ? FormData : null, $v = typeof Blob < "u" ? Blob : null, kv = { isBrowser: !0, classes: { - URLSearchParams: yv, - FormData: $v, - Blob: kv + URLSearchParams: wv, + FormData: yv, + Blob: $v }, protocols: ["http", "https", "file", "blob", "url", "data"] -}, Yo = typeof window < "u" && typeof document < "u", Sv = ((i) => Yo && ["ReactNative", "NativeScript", "NS"].indexOf(i) < 0)(typeof navigator < "u" && navigator.product), _v = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef -self instanceof WorkerGlobalScope && typeof self.importScripts == "function", Ev = Yo && window.location.href || "http://localhost", Ov = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ +}, Yo = typeof window < "u" && typeof document < "u", xv = ((i) => Yo && ["ReactNative", "NativeScript", "NS"].indexOf(i) < 0)(typeof navigator < "u" && navigator.product), Sv = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef +self instanceof WorkerGlobalScope && typeof self.importScripts == "function", _v = Yo && window.location.href || "http://localhost", Ev = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, hasBrowserEnv: Yo, - hasStandardBrowserEnv: Sv, - hasStandardBrowserWebWorkerEnv: _v, - origin: Ev + hasStandardBrowserEnv: xv, + hasStandardBrowserWebWorkerEnv: Sv, + origin: _v }, Symbol.toStringTag, { value: "Module" })), le = { - ...Ov, - ...xv + ...Ev, + ...kv }; -function Tv(i, s) { +function Ov(i, s) { return ms(i, new le.classes.URLSearchParams(), Object.assign({ visitor: function(a, r, u, h) { return le.isNode && E.isBuffer(a) ? (this.append(r, a.toString("base64")), !1) : h.defaultVisitor.apply(this, arguments); } }, s)); } -function Cv(i) { +function Tv(i) { return E.matchAll(/\w+|\[(\w*)]/g, i).map((s) => s[0] === "[]" ? "" : s[1] || s[0]); } -function Pv(i) { +function Cv(i) { const s = {}, a = Object.keys(i); let r; const u = a.length; @@ -9866,17 +9866,17 @@ function Ac(i) { let f = a[h++]; if (f === "__proto__") return !0; const g = Number.isFinite(+f), k = h >= a.length; - return f = !f && E.isArray(u) ? u.length : f, k ? (E.hasOwnProp(u, f) ? u[f] = [u[f], r] : u[f] = r, !g) : ((!u[f] || !E.isObject(u[f])) && (u[f] = []), s(a, r, u[f], h) && E.isArray(u[f]) && (u[f] = Pv(u[f])), !g); + return f = !f && E.isArray(u) ? u.length : f, k ? (E.hasOwnProp(u, f) ? u[f] = [u[f], r] : u[f] = r, !g) : ((!u[f] || !E.isObject(u[f])) && (u[f] = []), s(a, r, u[f], h) && E.isArray(u[f]) && (u[f] = Cv(u[f])), !g); } if (E.isFormData(i) && E.isFunction(i.entries)) { const a = {}; return E.forEachEntry(i, (r, u) => { - s(Cv(r), u, a, 0); + s(Tv(r), u, a, 0); }), a; } return null; } -function Av(i, s, a) { +function Pv(i, s, a) { if (E.isString(i)) try { return (s || JSON.parse)(i), E.trim(i); @@ -9902,7 +9902,7 @@ const ci = { let h; if (u) { if (a.indexOf("application/x-www-form-urlencoded") > -1) - return Tv(i, this.formSerializer).toString(); + return Ov(i, this.formSerializer).toString(); if ((h = E.isFileList(i)) || a.indexOf("multipart/form-data") > -1) { const f = this.env && this.env.FormData; return ms( @@ -9912,7 +9912,7 @@ const ci = { ); } } - return u || r ? (s.setContentType("application/json", !1), Av(i)) : i; + return u || r ? (s.setContentType("application/json", !1), Pv(i)) : i; }], transformResponse: [function(i) { const s = this.transitional || ci.transitional, a = s && s.forcedJSONParsing, r = this.responseType === "json"; @@ -9955,7 +9955,7 @@ const ci = { E.forEach(["delete", "get", "head", "post", "put", "patch"], (i) => { ci.headers[i] = {}; }); -const Rv = E.toObjectSet([ +const Av = E.toObjectSet([ "age", "authorization", "content-length", @@ -9973,12 +9973,12 @@ const Rv = E.toObjectSet([ "referer", "retry-after", "user-agent" -]), Bv = (i) => { +]), Rv = (i) => { const s = {}; let a, r, u; return i && i.split(` `).forEach(function(h) { - u = h.indexOf(":"), a = h.substring(0, u).trim().toLowerCase(), r = h.substring(u + 1).trim(), !(!a || s[a] && Rv[a]) && (a === "set-cookie" ? s[a] ? s[a].push(r) : s[a] = [r] : s[a] = s[a] ? s[a] + ", " + r : r); + u = h.indexOf(":"), a = h.substring(0, u).trim().toLowerCase(), r = h.substring(u + 1).trim(), !(!a || s[a] && Av[a]) && (a === "set-cookie" ? s[a] ? s[a].push(r) : s[a] = [r] : s[a] = s[a] ? s[a] + ", " + r : r); }), s; }, Bl = Symbol("internals"); function ti(i) { @@ -9987,14 +9987,14 @@ function ti(i) { function Zi(i) { return i === !1 || i == null ? i : E.isArray(i) ? i.map(Zi) : String(i); } -function Iv(i) { +function Bv(i) { const s = /* @__PURE__ */ Object.create(null), a = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g; let r; for (; r = a.exec(i); ) s[r[1]] = r[2]; return s; } -const Nv = (i) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(i.trim()); +const Iv = (i) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(i.trim()); function So(i, s, a, r, u) { if (E.isFunction(r)) return r.call(this, s, a); @@ -10005,10 +10005,10 @@ function So(i, s, a, r, u) { return r.test(s); } } -function Fv(i) { +function Nv(i) { return i.trim().toLowerCase().replace(/([a-z\d])(\w*)/g, (s, a, r) => a.toUpperCase() + r); } -function Dv(i, s) { +function Fv(i, s) { const a = E.toCamelCase(" " + s); ["get", "set", "has"].forEach((r) => { Object.defineProperty(i, r + a, { @@ -10035,8 +10035,8 @@ class Kt { const f = (g, k) => E.forEach(g, (v, b) => h(v, b, k)); if (E.isPlainObject(s) || s instanceof this.constructor) f(s, a); - else if (E.isString(s) && (s = s.trim()) && !Nv(s)) - f(Bv(s), a); + else if (E.isString(s) && (s = s.trim()) && !Iv(s)) + f(Rv(s), a); else if (E.isHeaders(s)) for (const [g, k] of s.entries()) h(k, g, r); @@ -10052,7 +10052,7 @@ class Kt { if (!a) return u; if (a === !0) - return Iv(u); + return Bv(u); if (E.isFunction(a)) return a.call(this, u, r); if (E.isRegExp(a)) @@ -10096,7 +10096,7 @@ class Kt { a[f] = Zi(u), delete a[h]; return; } - const g = s ? Fv(h) : String(h).trim(); + const g = s ? Nv(h) : String(h).trim(); g !== h && delete a[h], a[g] = Zi(u), r[g] = !0; }), this; } @@ -10132,7 +10132,7 @@ class Kt { }).accessors, r = this.prototype; function u(h) { const f = ti(h); - a[f] || (Dv(r, h), a[f] = !0); + a[f] || (Fv(r, h), a[f] = !0); } return E.isArray(s) ? s.forEach(u) : u(s), this; } @@ -10174,11 +10174,11 @@ function Bc(i, s, a) { a )); } -function jv(i) { +function Dv(i) { const s = /^([-+\w]{1,25})(:?\/\/|:)/.exec(i); return s && s[1] || ""; } -function Lv(i, s) { +function jv(i, s) { i = i || 10; const a = new Array(i), r = new Array(i); let u = 0, h = 0, f; @@ -10194,7 +10194,7 @@ function Lv(i, s) { return S ? Math.round(P * 1e3 / S) : void 0; }; } -function Uv(i, s) { +function Lv(i, s) { let a = 0, r = 1e3 / s, u, h; const f = (g, k = Date.now()) => { a = k, u = null, h && (clearTimeout(h), h = null), i.apply(null, g); @@ -10208,8 +10208,8 @@ function Uv(i, s) { } const ns = (i, s, a = 3) => { let r = 0; - const u = Lv(50, 250); - return Uv((h) => { + const u = jv(50, 250); + return Lv((h) => { const f = h.loaded, g = h.lengthComputable ? h.total : void 0, k = f - r, v = u(k), b = f <= g; r = f; const P = { @@ -10232,7 +10232,7 @@ const ns = (i, s, a = 3) => { total: i, loaded: r }), s[1]]; -}, Nl = (i) => (...s) => E.asap(() => i(...s)), Mv = le.hasStandardBrowserEnv ? ( +}, Nl = (i) => (...s) => E.asap(() => i(...s)), Uv = le.hasStandardBrowserEnv ? ( // Standard browser envs have full support of the APIs needed to test // whether the request URL is of the same origin as current location. function() { @@ -10263,7 +10263,7 @@ const ns = (i, s, a = 3) => { return !0; }; }() -), zv = le.hasStandardBrowserEnv ? ( +), Mv = le.hasStandardBrowserEnv ? ( // Standard browser envs support document.cookie { write(i, s, a, r, u, h) { @@ -10290,14 +10290,14 @@ const ns = (i, s, a = 3) => { } } ); -function Hv(i) { +function zv(i) { return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(i); } -function qv(i, s) { +function Hv(i, s) { return s ? i.replace(/\/?\/$/, "") + "/" + s.replace(/^\/+/, "") : i; } function Ic(i, s) { - return i && !Hv(s) ? qv(i, s) : s; + return i && !zv(s) ? Hv(i, s) : s; } const Fl = (i) => i instanceof Kt ? { ...i } : i; function en(i, s) { @@ -10380,12 +10380,12 @@ const Nc = (i) => { f.setContentType([v || "multipart/form-data", ...b].join("; ")); } } - if (le.hasStandardBrowserEnv && (r && E.isFunction(r) && (r = r(s)), r || r !== !1 && Mv(s.url))) { - const v = u && h && zv.read(h); + if (le.hasStandardBrowserEnv && (r && E.isFunction(r) && (r = r(s)), r || r !== !1 && Uv(s.url))) { + const v = u && h && Mv.read(h); v && f.set(u, v); } return s; -}, Wv = typeof XMLHttpRequest < "u", Vv = Wv && function(i) { +}, qv = typeof XMLHttpRequest < "u", Wv = qv && function(i) { return new Promise(function(s, a) { const r = Nc(i); let u = r.data; @@ -10435,14 +10435,14 @@ const Nc = (i) => { }), E.isUndefined(r.withCredentials) || (T.withCredentials = !!r.withCredentials), f && f !== "json" && (T.responseType = r.responseType), k && ([P, A] = ns(k, !0), T.addEventListener("progress", P)), g && T.upload && ([b, S] = ns(g), T.upload.addEventListener("progress", b), T.upload.addEventListener("loadend", S)), (r.cancelToken || r.signal) && (v = (z) => { T && (a(!z || z.type ? new Sn(null, i, T) : z), T.abort(), T = null); }, r.cancelToken && r.cancelToken.subscribe(v), r.signal && (r.signal.aborted ? v() : r.signal.addEventListener("abort", v))); - const q = jv(r.url); + const q = Dv(r.url); if (q && le.protocols.indexOf(q) === -1) { a(new K("Unsupported protocol " + q + ":", K.ERR_BAD_REQUEST, i)); return; } T.send(u || null); }); -}, Jv = (i, s) => { +}, Vv = (i, s) => { let a = new AbortController(), r; const u = function(k) { if (!r) { @@ -10464,7 +10464,7 @@ const Nc = (i) => { return g.unsubscribe = f, [g, () => { h && clearTimeout(h), h = null; }]; -}, Kv = function* (i, s) { +}, Jv = function* (i, s) { let a = i.byteLength; if (a < s) { yield i; @@ -10473,11 +10473,11 @@ const Nc = (i) => { let r = 0, u; for (; r < a; ) u = r + s, yield i.slice(r, u), r = u; -}, Gv = async function* (i, s, a) { +}, Kv = async function* (i, s, a) { for await (const r of i) - yield* Kv(ArrayBuffer.isView(r) ? r : await a(String(r)), s); + yield* Jv(ArrayBuffer.isView(r) ? r : await a(String(r)), s); }, Dl = (i, s, a, r, u) => { - const h = Gv(i, s, u); + const h = Kv(i, s, u); let f = 0, g, k = (v) => { g || (g = !0, r && r(v)); }; @@ -10511,7 +10511,7 @@ const Nc = (i) => { } catch { return !1; } -}, Xv = Fc && Dc(() => { +}, Gv = Fc && Dc(() => { let i = !1; const s = new Request(le.origin, { body: new ReadableStream(), @@ -10531,7 +10531,7 @@ gs && ((i) => { }); }); })(new Response()); -const Yv = async (i) => { +const Xv = async (i) => { if (i == null) return 0; if (E.isBlob(i)) @@ -10542,7 +10542,7 @@ const Yv = async (i) => { return i.byteLength; if (E.isURLSearchParams(i) && (i = i + ""), E.isString(i)) return (await Do(i)).byteLength; -}, Qv = async (i, s) => E.toFiniteNumber(i.getContentLength()) ?? Yv(s), Zv = gs && (async (i) => { +}, Yv = async (i, s) => E.toFiniteNumber(i.getContentLength()) ?? Xv(s), Qv = gs && (async (i) => { let { url: s, method: a, @@ -10558,7 +10558,7 @@ const Yv = async (i) => { fetchOptions: S } = Nc(i); v = v ? (v + "").toLowerCase() : "text"; - let [A, C] = u || h || f ? Jv([u, h], f) : [], T, M; + let [A, C] = u || h || f ? Vv([u, h], f) : [], T, M; const q = () => { !T && setTimeout(() => { A && A.unsubscribe(); @@ -10566,7 +10566,7 @@ const Yv = async (i) => { }; let z; try { - if (k && Xv && a !== "get" && a !== "head" && (z = await Qv(b, r)) !== 0) { + if (k && Gv && a !== "get" && a !== "head" && (z = await Yv(b, r)) !== 0) { let yt = new Request(s, { method: "POST", body: r, @@ -10628,9 +10628,9 @@ const Yv = async (i) => { ) : K.from(Y, Y && Y.code, i, M); } }), Lo = { - http: gv, - xhr: Vv, - fetch: Zv + http: mv, + xhr: Wv, + fetch: Qv }; E.forEach(Lo, (i, s) => { if (i) { @@ -10641,7 +10641,7 @@ E.forEach(Lo, (i, s) => { Object.defineProperty(i, "adapterName", { value: s }); } }); -const Ll = (i) => `- ${i}`, tb = (i) => E.isFunction(i) || i === null || i === !1, jc = { +const Ll = (i) => `- ${i}`, Zv = (i) => E.isFunction(i) || i === null || i === !1, jc = { getAdapter: (i) => { i = E.isArray(i) ? i : [i]; const { length: s } = i; @@ -10650,7 +10650,7 @@ const Ll = (i) => `- ${i}`, tb = (i) => E.isFunction(i) || i === null || i === ! for (let h = 0; h < s; h++) { a = i[h]; let f; - if (r = a, !tb(a) && (r = Lo[(f = String(a)).toLowerCase()], r === void 0)) + if (r = a, !Zv(a) && (r = Lo[(f = String(a)).toLowerCase()], r === void 0)) throw new K(`Unknown adapter '${f}'`); if (r) break; @@ -10719,7 +10719,7 @@ Qo.transitional = function(i, s, a) { )), i ? i(u, h, f) : !0; }; }; -function eb(i, s, a) { +function tb(i, s, a) { if (typeof i != "object") throw new K("options must be an object", K.ERR_BAD_OPTION_VALUE); const r = Object.keys(i); @@ -10737,7 +10737,7 @@ function eb(i, s, a) { } } const Uo = { - assertOptions: eb, + assertOptions: tb, validators: Qo }, Pe = Uo.validators; class Ze { @@ -10928,12 +10928,12 @@ class Zo { }; } } -function nb(i) { +function eb(i) { return function(s) { return i.apply(null, s); }; } -function ib(i) { +function nb(i) { return E.isObject(i) && i.isAxiosError === !0; } const Mo = { @@ -11022,23 +11022,23 @@ Et.Cancel = Et.CanceledError; Et.all = function(i) { return Promise.all(i); }; -Et.spread = nb; -Et.isAxiosError = ib; +Et.spread = eb; +Et.isAxiosError = nb; Et.mergeConfig = en; Et.AxiosHeaders = Kt; Et.formToJSON = (i) => Ac(E.isHTMLForm(i) ? new FormData(i) : i); Et.getAdapter = jc.getAdapter; Et.HttpStatusCode = Mo; Et.default = Et; -const sb = (i) => { +const ib = (i) => { const s = typeof i; return i !== null && (s === "object" || s === "function"); }, Oo = /* @__PURE__ */ new Set([ "__proto__", "prototype", "constructor" -]), ob = new Set("0123456789"); -function rb(i) { +]), sb = new Set("0123456789"); +function ob(i) { const s = []; let a = "", r = "start", u = !1; for (const h of i) @@ -11095,7 +11095,7 @@ function rb(i) { throw new Error("Invalid character after an index"); } default: { - if (r === "index" && !ob.has(h)) + if (r === "index" && !sb.has(h)) throw new Error("Invalid character in an index"); if (r === "indexEnd") throw new Error("Invalid character after an index"); @@ -11118,22 +11118,22 @@ function rb(i) { } return s; } -function ab(i, s) { +function rb(i, s) { if (typeof s != "number" && Array.isArray(i)) { const a = Number.parseInt(s, 10); return Number.isInteger(a) && i[a] === i[s]; } return !1; } -function lb(i, s, a) { - if (!sb(i) || typeof s != "string") +function ab(i, s, a) { + if (!ib(i) || typeof s != "string") return a === void 0 ? i : a; - const r = rb(s); + const r = ob(s); if (r.length === 0) return a; for (let u = 0; u < r.length; u++) { const h = r[u]; - if (ab(i, h) ? i = u === r.length - 1 ? void 0 : null : i = i[h], i == null) { + if (rb(i, h) ? i = u === r.length - 1 ? void 0 : null : i = i[h], i == null) { if (u !== r.length - 1) return a; break; @@ -11147,7 +11147,7 @@ const Mc = Hl("config", { config: {} }), getters: { - get: (i) => (s, a) => lb(i.config, s, a) + get: (i) => (s, a) => ab(i.config, s, a) }, actions: { async load() { @@ -11157,7 +11157,7 @@ const Mc = Hl("config", { } } }); -function cb() { +function lb() { return { first_name: "", last_name: "", @@ -11170,70 +11170,70 @@ function cb() { spiderbro: "http://" }; } -function ub() { +function cb() { return Mc().get("locales.available"); } -function hb() { +function ub() { return "/account/captcha"; } -async function db(i) { +async function hb(i) { return mt.post("/account/register", i).then((s) => s.data).catch((s) => { throw { description: "An error as occurred", - style: ye.Danger, + style: we.Danger, closeBtn: !0, ...s.response.data }; }); } -const fb = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ +const db = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, - doRegister: db, - getAvailableLocales: ub, - getCaptchaUrl: hb, - getDefaultForm: cb + doRegister: hb, + getAvailableLocales: cb, + getCaptchaUrl: ub, + getDefaultForm: lb }, Symbol.toStringTag, { value: "Module" })); -async function pb(i) { +async function fb(i) { return mt.post("/account/forgot-password", { email: i }).then((s) => ({ description: s.data.message, - style: ye.Success, + style: we.Success, closeBtn: !0 })).catch((s) => { throw { description: "An error as occurred", - style: ye.Danger, + style: we.Danger, closeBtn: !0, ...s.response.data }; }); } -async function mb(i) { +async function pb(i) { return mt.post("/account/resend-verification", { email: i }).then((s) => ({ description: s.data.message, - style: ye.Success, + style: we.Success, closeBtn: !0 })).catch((s) => { throw { description: "An error as occurred", - style: ye.Danger, + style: we.Danger, closeBtn: !0, ...s.response.data }; }); } -const gb = { class: "uk-fieldset uk-form-stacked" }, vb = { class: "uk-margin" }, bb = { +const mb = { class: "uk-fieldset uk-form-stacked" }, gb = { class: "uk-margin" }, vb = { class: "uk-form-controls uk-grid-small", "uk-grid": "" -}, wb = { class: "uk-width-1-2" }, yb = { class: "uk-width-1-2" }, $b = { class: "uk-width-1-1" }, kb = { class: "uk-margin" }, xb = { class: "uk-margin" }, Sb = { +}, bb = { class: "uk-width-1-2" }, wb = { class: "uk-width-1-2" }, yb = { class: "uk-width-1-1" }, $b = { class: "uk-margin" }, kb = { class: "uk-margin" }, xb = { class: "uk-form-controls uk-grid-small", "uk-grid": "" -}, _b = { class: "uk-width-1-2" }, Eb = { class: "uk-width-1-2" }, Ob = { class: "uk-margin" }, Tb = ["value"], Cb = { class: "uk-margin" }, Pb = { +}, Sb = { class: "uk-width-1-2" }, _b = { class: "uk-width-1-2" }, Eb = { class: "uk-margin" }, Ob = ["value"], Tb = { class: "uk-margin" }, Cb = { class: "uk-form-controls uk-grid-small", "uk-grid": "" -}, Ab = { class: "uk-width-2-3" }, Rb = { class: "uk-width-1-3" }, Bb = ["src"], Ib = { class: "uk-text-center" }, Nb = ["disabled"], zc = /* @__PURE__ */ ft({ +}, Pb = { class: "uk-width-2-3" }, Ab = { class: "uk-width-1-3" }, Rb = ["src"], Bb = { class: "uk-text-center" }, Ib = ["disabled"], zc = /* @__PURE__ */ ft({ __name: "FormRegister", setup(i) { - const { getDefaultForm: s, doRegister: a, getAvailableLocales: r, getCaptchaUrl: u } = fb, h = me(!1), f = me(); + const { getDefaultForm: s, doRegister: a, getAvailableLocales: r, getCaptchaUrl: u } = db, h = ye(!1), f = ye(); let g = s(); async function k() { h.value = !0, f.value = null, await a(g).then((v) => { @@ -11254,19 +11254,19 @@ const gb = { class: "uk-fieldset uk-form-stacked" }, vb = { class: "uk-margin" } return B(), j("form", { onSubmit: b[8] || (b[8] = ss((S) => k(), ["prevent"])) }, [ - x("fieldset", gb, [ + x("fieldset", mb, [ f.value ? (B(), gt(P, { key: 0, "data-test": "error", alert: f.value }, null, 8, ["alert"])) : st("", !0), - x("div", vb, [ + x("div", gb, [ b[9] || (b[9] = x("label", { class: "uk-form-label", for: "first_name" }, "Name and email", -1)), - x("div", bb, [ - x("div", wb, [ + x("div", vb, [ + x("div", bb, [ Mt(x("input", { class: "uk-input", type: "text", @@ -11279,7 +11279,7 @@ const gb = { class: "uk-fieldset uk-form-stacked" }, vb = { class: "uk-margin" } [te, L(g).first_name] ]) ]), - x("div", yb, [ + x("div", wb, [ Mt(x("input", { class: "uk-input", type: "text", @@ -11291,7 +11291,7 @@ const gb = { class: "uk-fieldset uk-form-stacked" }, vb = { class: "uk-margin" } [te, L(g).last_name] ]) ]), - x("div", $b, [ + x("div", yb, [ Mt(x("input", { class: "uk-input", type: "email", @@ -11305,7 +11305,7 @@ const gb = { class: "uk-fieldset uk-form-stacked" }, vb = { class: "uk-margin" } ]) ]) ]), - x("div", kb, [ + x("div", $b, [ b[10] || (b[10] = x("label", { class: "uk-form-label", for: "form-stacked-text" @@ -11321,13 +11321,13 @@ const gb = { class: "uk-fieldset uk-form-stacked" }, vb = { class: "uk-margin" } [te, L(g).user_name] ]) ]), - x("div", xb, [ + x("div", kb, [ b[11] || (b[11] = x("label", { class: "uk-form-label", for: "form-stacked-text" }, "Password", -1)), - x("div", Sb, [ - x("div", _b, [ + x("div", xb, [ + x("div", Sb, [ Mt(x("input", { class: "uk-input", type: "password", @@ -11339,7 +11339,7 @@ const gb = { class: "uk-fieldset uk-form-stacked" }, vb = { class: "uk-margin" } [te, L(g).password] ]) ]), - x("div", Eb, [ + x("div", _b, [ Mt(x("input", { class: "uk-input", type: "password", @@ -11353,7 +11353,7 @@ const gb = { class: "uk-fieldset uk-form-stacked" }, vb = { class: "uk-margin" } ]) ]) ]), - x("div", Ob, [ + x("div", Eb, [ b[12] || (b[12] = x("label", { class: "uk-form-label", for: "form-stacked-text" @@ -11367,18 +11367,18 @@ const gb = { class: "uk-fieldset uk-form-stacked" }, vb = { class: "uk-margin" } (B(!0), j(yn, null, os(L(r)(), (S, A) => (B(), j("option", { value: A, key: A - }, lt(S), 9, Tb))), 128)) + }, lt(S), 9, Ob))), 128)) ], 512), [ [zl, L(g).locale] ]) ]), - x("div", Cb, [ + x("div", Tb, [ b[13] || (b[13] = x("label", { class: "uk-form-label", for: "r-form-captcha" }, "Captcha", -1)), - x("div", Pb, [ - x("div", Ab, [ + x("div", Cb, [ + x("div", Pb, [ Mt(x("input", { class: "uk-input", type: "password", @@ -11391,12 +11391,12 @@ const gb = { class: "uk-fieldset uk-form-stacked" }, vb = { class: "uk-margin" } [te, L(g).captcha] ]) ]), - x("div", Rb, [ + x("div", Ab, [ x("img", { src: L(u)(), id: "captcha", "data-target": "#r-form-captcha" - }, null, 8, Bb) + }, null, 8, Rb) ]) ]) ]), @@ -11405,23 +11405,23 @@ const gb = { class: "uk-fieldset uk-form-stacked" }, vb = { class: "uk-margin" } x("a", null, "the terms and conditions"), _t(". ") ], -1)), - x("div", Ib, [ + x("div", Bb, [ x("button", { class: "uk-button uk-button-primary", disabled: h.value - }, "Sign me up", 8, Nb) + }, "Sign me up", 8, Ib) ]) ]) ], 32); }; } -}), Fb = { class: "uk-fieldset" }, Db = { class: "uk-margin" }, jb = { class: "uk-inline uk-width-1-1" }, Lb = { class: "uk-text-center" }, Ub = ["disabled"], Hc = /* @__PURE__ */ ft({ +}), Nb = { class: "uk-fieldset" }, Fb = { class: "uk-margin" }, Db = { class: "uk-inline uk-width-1-1" }, jb = { class: "uk-text-center" }, Lb = ["disabled"], Hc = /* @__PURE__ */ ft({ __name: "FormForgotPassword", setup(i) { - const s = me(!1), a = me(); + const s = ye(!1), a = ye(); let r = ""; async function u() { - s.value = !0, a.value = null, await pb(r).then((h) => { + s.value = !0, a.value = null, await fb(r).then((h) => { a.value = h; }).catch((h) => { a.value = h; @@ -11434,14 +11434,14 @@ const gb = { class: "uk-fieldset uk-form-stacked" }, vb = { class: "uk-margin" } return B(), j("form", { onSubmit: f[1] || (f[1] = ss((k) => u(), ["prevent"])) }, [ - x("fieldset", Fb, [ + x("fieldset", Nb, [ a.value ? (B(), gt(g, { key: 0, "data-test": "error", alert: a.value }, null, 8, ["alert"])) : st("", !0), - x("div", Db, [ - x("div", jb, [ + x("div", Fb, [ + x("div", Db, [ f[2] || (f[2] = x("span", { class: "uk-form-icon", "uk-icon": "icon: mail" @@ -11458,27 +11458,27 @@ const gb = { class: "uk-fieldset uk-form-stacked" }, vb = { class: "uk-margin" } ]) ]) ]), - x("div", Lb, [ + x("div", jb, [ x("button", { class: "uk-button uk-button-primary", disabled: s.value, "data-test": "submit" - }, " Email Password Reset Link ", 8, Ub) + }, " Email Password Reset Link ", 8, Lb) ]) ]) ], 32); }; } -}), Mb = { "uk-sticky": "sel-target: .uk-navbar-container; cls-active: uk-navbar-sticky" }, zb = { class: "uk-navbar-container" }, Hb = { class: "uk-container uk-container-expand" }, qb = { +}), Ub = { "uk-sticky": "sel-target: .uk-navbar-container; cls-active: uk-navbar-sticky" }, Mb = { class: "uk-navbar-container" }, zb = { class: "uk-container uk-container-expand" }, Hb = { class: "uk-navbar", "uk-navbar": "" -}, Wb = { +}, qb = { class: "uk-navbar-left", "data-test": "navbar-left" -}, Vb = { +}, Wb = { class: "uk-navbar-right", "data-test": "navbar-right" -}, Jb = { class: "uk-navbar-nav" }, Kb = /* @__PURE__ */ ft({ +}, Vb = { class: "uk-navbar-nav" }, Jb = /* @__PURE__ */ ft({ __name: "NavBar", props: { to: { default: "" }, @@ -11486,11 +11486,11 @@ const gb = { class: "uk-fieldset uk-form-stacked" }, vb = { class: "uk-margin" } }, setup(i) { return (s, a) => (B(), j("header", null, [ - x("div", Mb, [ - x("div", zb, [ - x("div", Hb, [ - x("nav", qb, [ - x("div", Wb, [ + x("div", Ub, [ + x("div", Mb, [ + x("div", zb, [ + x("nav", Hb, [ + x("div", qb, [ Rt(Ho, { to: s.to, class: "uk-navbar-item uk-logo", @@ -11504,8 +11504,8 @@ const gb = { class: "uk-fieldset uk-form-stacked" }, vb = { class: "uk-margin" } _: 3 }, 8, ["to"]) ]), - x("div", Vb, [ - x("ul", Jb, [ + x("div", Wb, [ + x("ul", Vb, [ tt(s.$slots, "default") ]) ]) @@ -11515,10 +11515,10 @@ const gb = { class: "uk-fieldset uk-form-stacked" }, vb = { class: "uk-margin" } ]) ])); } -}), Gb = { "data-test": "label" }, Xb = { +}), Kb = { "data-test": "label" }, Gb = { class: "uk-navbar-dropdown", "uk-dropdown": "offset: 0px" -}, Yb = { +}, Xb = { class: "uk-nav uk-navbar-dropdown-nav", "data-test": "slot" }, tr = /* @__PURE__ */ ft({ @@ -11528,25 +11528,25 @@ const gb = { class: "uk-fieldset uk-form-stacked" }, vb = { class: "uk-margin" } }, setup(i) { return (s, a) => (B(), j("li", null, [ - x("a", Gb, [ + x("a", Kb, [ tt(s.$slots, "label", {}, () => [ _t(lt(s.label), 1) ]), a[0] || (a[0] = _t()), a[1] || (a[1] = x("span", { "uk-navbar-parent-icon": "" }, null, -1)) ]), - x("div", Xb, [ - x("ul", Yb, [ + x("div", Gb, [ + x("ul", Xb, [ tt(s.$slots, "default") ]) ]) ])); } -}), Qb = {}, Zb = { class: "uk-nav-divider" }; -function tw(i, s) { - return B(), j("li", Zb); +}), Yb = {}, Qb = { class: "uk-nav-divider" }; +function Zb(i, s) { + return B(), j("li", Qb); } -const ew = /* @__PURE__ */ oi(Qb, [["render", tw]]), nw = { key: 0 }, iw = ["href"], sw = ["href", "onClick"], ow = /* @__PURE__ */ ft({ +const tw = /* @__PURE__ */ oi(Yb, [["render", Zb]]), ew = { key: 0 }, nw = ["href"], iw = ["href", "onClick"], sw = /* @__PURE__ */ ft({ __name: "NavBarItem", props: { to: { default: "" }, @@ -11554,7 +11554,7 @@ const ew = /* @__PURE__ */ oi(Qb, [["render", tw]]), nw = { key: 0 }, iw = ["hre }, setup(i) { const s = i, a = pe(() => s.to === "" || typeof s.to == "string" && s.to.startsWith("http")); - return (r, u) => a.value ? (B(), j("li", nw, [ + return (r, u) => a.value ? (B(), j("li", ew, [ x("a", { href: r.to.toString(), target: "_blank" @@ -11562,7 +11562,7 @@ const ew = /* @__PURE__ */ oi(Qb, [["render", tw]]), nw = { key: 0 }, iw = ["hre tt(r.$slots, "default", {}, () => [ _t(lt(r.label), 1) ]) - ], 8, iw) + ], 8, nw) ])) : (B(), gt(L(si), ei({ key: 1, to: r.to @@ -11578,13 +11578,13 @@ const ew = /* @__PURE__ */ oi(Qb, [["render", tw]]), nw = { key: 0 }, iw = ["hre tt(r.$slots, "default", {}, () => [ _t(lt(r.label), 1) ]) - ], 16, sw) + ], 16, iw) ], 2) ]), _: 3 }, 16, ["to"])); } -}), rw = { class: "uk-text-center" }, aw = /* @__PURE__ */ ft({ +}), ow = { class: "uk-text-center" }, rw = /* @__PURE__ */ ft({ __name: "NavBarLogin", setup(i) { return (s, a) => (B(), gt(tr, { @@ -11593,7 +11593,7 @@ const ew = /* @__PURE__ */ oi(Qb, [["render", tw]]), nw = { key: 0 }, iw = ["hre }, { default: Ft(() => [ Rt(Ko), - x("div", rw, [ + x("div", ow, [ x("button", { class: "uk-button uk-button-default", onClick: a[0] || (a[0] = (r) => s.$emit("gotoRegistration")), @@ -11605,18 +11605,18 @@ const ew = /* @__PURE__ */ oi(Qb, [["render", tw]]), nw = { key: 0 }, iw = ["hre _: 3 })); } -}), lw = { +}), aw = { key: 0, "data-test": "username" -}, cw = ["src"], uw = { class: "uk-margin" }, hw = ["src"], dw = { +}, lw = ["src"], cw = { class: "uk-margin" }, uw = ["src"], hw = { key: 1, class: "uk-margin-remove", "data-test": "username" -}, fw = { +}, dw = { key: 2, class: "uk-margin-remove uk-text-meta", "data-test": "meta" -}, pw = /* @__PURE__ */ ft({ +}, fw = /* @__PURE__ */ ft({ __name: "NavBarUserCard", props: { username: { default: "" }, @@ -11626,32 +11626,32 @@ const ew = /* @__PURE__ */ oi(Qb, [["render", tw]]), nw = { key: 0 }, iw = ["hre setup(i) { return (s, a) => (B(), gt(tr, { class: "uf-nav-user uk-text-center" }, { label: Ft(() => [ - s.username ? (B(), j("span", lw, lt(s.username), 1)) : st("", !0), + s.username ? (B(), j("span", aw, lt(s.username), 1)) : st("", !0), s.avatar ? (B(), j("img", { key: 1, src: s.avatar, alt: "avatar", class: "uk-border-circle" - }, null, 8, cw)) : st("", !0) + }, null, 8, lw)) : st("", !0) ]), default: Ft(() => [ - x("div", uw, [ + x("div", cw, [ s.avatar ? (B(), j("img", { key: 0, src: s.avatar, alt: "avatar", class: "uk-border-circle", "uk-height-match": "" - }, null, 8, hw)) : st("", !0), - s.username ? (B(), j("p", dw, lt(s.username), 1)) : st("", !0), - s.meta ? (B(), j("p", fw, "(" + lt(s.meta) + ")", 1)) : st("", !0) + }, null, 8, uw)) : st("", !0), + s.username ? (B(), j("p", hw, lt(s.username), 1)) : st("", !0), + s.meta ? (B(), j("p", dw, "(" + lt(s.meta) + ")", 1)) : st("", !0) ]), tt(s.$slots, "default", { dataTest: "slot" }) ]), _: 3 })); } -}), mw = { key: 0 }, gw = ["href"], vw = { key: 1 }, bw = /* @__PURE__ */ ft({ +}), pw = { key: 0 }, mw = ["href"], gw = { key: 1 }, vw = /* @__PURE__ */ ft({ __name: "NavBarUserCardButton", props: { to: { default: "" }, @@ -11659,7 +11659,7 @@ const ew = /* @__PURE__ */ oi(Qb, [["render", tw]]), nw = { key: 0 }, iw = ["hre }, setup(i) { const s = i, a = pe(() => typeof s.to == "string" && s.to.startsWith("http")); - return (r, u) => a.value ? (B(), j("li", mw, [ + return (r, u) => a.value ? (B(), j("li", pw, [ x("a", { class: "uk-button uk-button-default uk-button-small uk-text-center", href: r.to.toString(), @@ -11668,8 +11668,8 @@ const ew = /* @__PURE__ */ oi(Qb, [["render", tw]]), nw = { key: 0 }, iw = ["hre tt(r.$slots, "default", {}, () => [ _t(lt(r.label), 1) ]) - ], 8, gw) - ])) : (B(), j("li", vw, [ + ], 8, mw) + ])) : (B(), j("li", gw, [ Rt(L(si), { to: r.to, class: "uk-button uk-button-default uk-button-small uk-text-center" @@ -11683,7 +11683,7 @@ const ew = /* @__PURE__ */ oi(Qb, [["render", tw]]), nw = { key: 0 }, iw = ["hre }, 8, ["to"]) ])); } -}), ww = { class: "uk-list" }, yw = { class: "uk-text-center" }, $w = /* @__PURE__ */ ft({ +}), bw = { class: "uk-list" }, ww = { class: "uk-text-center" }, yw = /* @__PURE__ */ ft({ __name: "PageLogin", setup(i) { return (s, a) => { @@ -11692,7 +11692,7 @@ const ew = /* @__PURE__ */ oi(Qb, [["render", tw]]), nw = { key: 0 }, iw = ["hre default: Ft(() => [ a[5] || (a[5] = x("h3", { class: "uk-card-title" }, "Login", -1)), Rt(Ko), - x("ul", ww, [ + x("ul", bw, [ x("li", null, [ x("a", { onClick: a[0] || (a[0] = (h) => s.$emit("gotoForgotPassword")), @@ -11707,7 +11707,7 @@ const ew = /* @__PURE__ */ oi(Qb, [["render", tw]]), nw = { key: 0 }, iw = ["hre ]) ]), a[6] || (a[6] = x("hr", null, null, -1)), - x("div", yw, [ + x("div", ww, [ a[4] || (a[4] = x("p", null, "You don't have an account yet?", -1)), x("button", { class: "uk-button uk-button-default", @@ -11723,7 +11723,7 @@ const ew = /* @__PURE__ */ oi(Qb, [["render", tw]]), nw = { key: 0 }, iw = ["hre }); }; } -}), kw = { class: "uk-text-center" }, xw = /* @__PURE__ */ ft({ +}), $w = { class: "uk-text-center" }, kw = /* @__PURE__ */ ft({ __name: "PageRegister", setup(i) { return (s, a) => { @@ -11733,7 +11733,7 @@ const ew = /* @__PURE__ */ oi(Qb, [["render", tw]]), nw = { key: 0 }, iw = ["hre a[3] || (a[3] = x("h3", { class: "uk-card-title" }, "Register", -1)), Rt(zc), a[4] || (a[4] = x("hr", null, null, -1)), - x("div", kw, [ + x("div", $w, [ a[2] || (a[2] = x("p", null, "Already have an account ?", -1)), x("button", { class: "uk-button uk-button-default", @@ -11749,7 +11749,7 @@ const ew = /* @__PURE__ */ oi(Qb, [["render", tw]]), nw = { key: 0 }, iw = ["hre }); }; } -}), Sw = /* @__PURE__ */ ft({ +}), xw = /* @__PURE__ */ ft({ __name: "PageForgotPassword", setup(i) { return (s, a) => { @@ -11764,13 +11764,13 @@ const ew = /* @__PURE__ */ oi(Qb, [["render", tw]]), nw = { key: 0 }, iw = ["hre }); }; } -}), _w = { class: "uk-fieldset" }, Ew = { class: "uk-margin" }, Ow = { class: "uk-inline uk-width-1-1" }, Tw = { class: "uk-text-center" }, Cw = ["disabled"], Pw = /* @__PURE__ */ ft({ +}), Sw = { class: "uk-fieldset" }, _w = { class: "uk-margin" }, Ew = { class: "uk-inline uk-width-1-1" }, Ow = { class: "uk-text-center" }, Tw = ["disabled"], Cw = /* @__PURE__ */ ft({ __name: "FormResendVerification", setup(i) { - const s = me(!1), a = me(); + const s = ye(!1), a = ye(); let r = ""; async function u() { - s.value = !0, a.value = null, await mb(r).then((h) => { + s.value = !0, a.value = null, await pb(r).then((h) => { a.value = h; }).catch((h) => { a.value = h; @@ -11783,14 +11783,14 @@ const ew = /* @__PURE__ */ oi(Qb, [["render", tw]]), nw = { key: 0 }, iw = ["hre return B(), j("form", { onSubmit: f[1] || (f[1] = ss((k) => u(), ["prevent"])) }, [ - x("fieldset", _w, [ + x("fieldset", Sw, [ a.value ? (B(), gt(g, { key: 0, "data-test": "error", alert: a.value }, null, 8, ["alert"])) : st("", !0), - x("div", Ew, [ - x("div", Ow, [ + x("div", _w, [ + x("div", Ew, [ f[2] || (f[2] = x("span", { class: "uk-form-icon", "uk-icon": "icon: mail" @@ -11807,18 +11807,18 @@ const ew = /* @__PURE__ */ oi(Qb, [["render", tw]]), nw = { key: 0 }, iw = ["hre ]) ]) ]), - x("div", Tw, [ + x("div", Ow, [ x("button", { class: "uk-button uk-button-primary", disabled: s.value, "data-test": "submit" - }, " Email the verification link for my account ", 8, Cw) + }, " Email the verification link for my account ", 8, Tw) ]) ]) ], 32); }; } -}), Aw = /* @__PURE__ */ ft({ +}), Pw = /* @__PURE__ */ ft({ __name: "PageResendVerification", setup(i) { return (s, a) => { @@ -11827,33 +11827,33 @@ const ew = /* @__PURE__ */ oi(Qb, [["render", tw]]), nw = { key: 0 }, iw = ["hre default: Ft(() => [ a[0] || (a[0] = x("h3", { class: "uk-card-title" }, "Resend Verification Email", -1)), a[1] || (a[1] = x("p", null, " Please enter the email address you used to sign up, and your verification email will be resent. ", -1)), - Rt(Pw) + Rt(Cw) ]), _: 1 }); }; } -}), Rw = {}, Bw = { class: "uf-sidebar-left uk-light uk-visible@m" }, Iw = { class: "left-nav-wrap" }, Nw = { +}), Aw = {}, Rw = { class: "uf-sidebar-left uk-light uk-visible@m" }, Bw = { class: "left-nav-wrap" }, Iw = { class: "uk-nav uk-nav-default", "data-uk-nav": "" }; -function Fw(i, s) { - return B(), j("aside", Bw, [ - x("div", Iw, [ - x("ul", Nw, [ +function Nw(i, s) { + return B(), j("aside", Rw, [ + x("div", Bw, [ + x("ul", Iw, [ tt(i.$slots, "default") ]) ]) ]); } -const Dw = /* @__PURE__ */ oi(Rw, [["render", Fw]]), jw = ["data-uk-icon"], Lw = { +const Fw = /* @__PURE__ */ oi(Aw, [["render", Nw]]), Dw = ["data-uk-icon"], jw = { key: 2, "uk-nav-parent-icon": "", "data-test": "caret" -}, Uw = { +}, Lw = { class: "uk-nav-sub", "data-test": "slot" -}, Mw = /* @__PURE__ */ ft({ +}, Uw = /* @__PURE__ */ ft({ __name: "SideBarDropdown", props: { to: { default: "" }, @@ -11876,7 +11876,7 @@ const Dw = /* @__PURE__ */ oi(Rw, [["render", Fw]]), jw = ["data-uk-icon"], Lw = "data-uk-icon": s.icon, class: "uk-margin-small-right", "data-test": "icon" - }, null, 8, jw)) : st("", !0), + }, null, 8, Dw)) : st("", !0), s.faIcon ? (B(), gt(r, { key: 1, class: "uk-margin-small-right", @@ -11886,9 +11886,9 @@ const Dw = /* @__PURE__ */ oi(Rw, [["render", Fw]]), jw = ["data-uk-icon"], Lw = tt(s.$slots, "label", {}, () => [ _t(lt(s.label), 1) ]), - s.hideCaret ? st("", !0) : (B(), j("span", Lw)) + s.hideCaret ? st("", !0) : (B(), j("span", jw)) ], 16), - x("ul", Uw, [ + x("ul", Lw, [ tt(s.$slots, "default") ]) ], 2) @@ -11897,7 +11897,7 @@ const Dw = /* @__PURE__ */ oi(Rw, [["render", Fw]]), jw = ["data-uk-icon"], Lw = }, 16, ["to"]); }; } -}), zw = { key: 0 }, Hw = ["href"], qw = ["data-uk-icon"], Ww = ["href", "onClick"], Vw = ["data-uk-icon"], Jw = /* @__PURE__ */ ft({ +}), Mw = { key: 0 }, zw = ["href"], Hw = ["data-uk-icon"], qw = ["href", "onClick"], Ww = ["data-uk-icon"], Vw = /* @__PURE__ */ ft({ __name: "SideBarItem", props: { to: { default: "" }, @@ -11909,7 +11909,7 @@ const Dw = /* @__PURE__ */ oi(Rw, [["render", Fw]]), jw = ["data-uk-icon"], Lw = const s = i, a = pe(() => s.to === "" || typeof s.to == "string" && s.to.startsWith("http")); return (r, u) => { const h = Ct("font-awesome-icon"); - return a.value ? (B(), j("li", zw, [ + return a.value ? (B(), j("li", Mw, [ x("a", { href: r.to.toString(), target: "_blank" @@ -11919,7 +11919,7 @@ const Dw = /* @__PURE__ */ oi(Rw, [["render", Fw]]), jw = ["data-uk-icon"], Lw = "data-uk-icon": r.icon, class: "uk-margin-small-right", "data-test": "icon" - }, null, 8, qw)) : st("", !0), + }, null, 8, Hw)) : st("", !0), r.faIcon ? (B(), gt(h, { key: 1, class: "uk-margin-small-right", @@ -11929,7 +11929,7 @@ const Dw = /* @__PURE__ */ oi(Rw, [["render", Fw]]), jw = ["data-uk-icon"], Lw = tt(r.$slots, "default", {}, () => [ _t(lt(r.label), 1) ]) - ], 8, Hw) + ], 8, zw) ])) : (B(), gt(L(si), ei({ key: 1, to: r.to @@ -11947,7 +11947,7 @@ const Dw = /* @__PURE__ */ oi(Rw, [["render", Fw]]), jw = ["data-uk-icon"], Lw = "data-uk-icon": r.icon, class: "uk-margin-small-right", "data-test": "icon" - }, null, 8, Vw)) : st("", !0), + }, null, 8, Ww)) : st("", !0), r.faIcon ? (B(), gt(h, { key: 1, class: "uk-margin-small-right", @@ -11957,34 +11957,34 @@ const Dw = /* @__PURE__ */ oi(Rw, [["render", Fw]]), jw = ["data-uk-icon"], Lw = tt(r.$slots, "default", {}, () => [ _t(lt(r.label), 1) ]) - ], 16, Ww) + ], 16, qw) ], 2) ]), _: 3 }, 16, ["to"])); }; } -}), Kw = { class: "uk-nav-header" }, Gw = /* @__PURE__ */ ft({ +}), Jw = { class: "uk-nav-header" }, Kw = /* @__PURE__ */ ft({ __name: "SideBarLabel", props: { label: {} }, setup(i) { - return (s, a) => (B(), j("li", Kw, lt(s.label), 1)); + return (s, a) => (B(), j("li", Jw, lt(s.label), 1)); } -}), Xw = {}; -function Yw(i, s) { +}), Gw = {}; +function Xw(i, s) { return B(), j("td", null, [ tt(i.$slots, "default") ]); } -const Qw = /* @__PURE__ */ oi(Xw, [["render", Yw]]), Zw = { +const Yw = /* @__PURE__ */ oi(Gw, [["render", Xw]]), Qw = { key: 0, class: "uk-table-link uk-padding-small" -}, ty = { +}, Zw = { key: 1, class: "uk-padding-small" -}, ey = /* @__PURE__ */ ft({ +}, ty = /* @__PURE__ */ ft({ __name: "SprunjeHeader", props: { sort: {} @@ -11993,7 +11993,7 @@ const Qw = /* @__PURE__ */ oi(Xw, [["render", Yw]]), Zw = { const s = rs("sprunjer"), { sorts: a, toggleSort: r } = s; return (u, h) => { const f = Ct("font-awesome-icon"); - return u.sort ? (B(), j("th", Zw, [ + return u.sort ? (B(), j("th", Qw, [ x("a", { class: "uk-link-reset", onClick: h[0] || (h[0] = (g) => L(r)(u.sort)) @@ -12016,15 +12016,15 @@ const Qw = /* @__PURE__ */ oi(Xw, [["render", Yw]]), Zw = { class: "uk-align-right uk-margin-remove" })) ]) - ])) : (B(), j("th", ty, [ + ])) : (B(), j("th", Zw, [ tt(u.$slots, "default") ])); }; } -}), ny = { +}), ey = { class: "uk-child-width-auto", "uk-grid": "" -}, iy = { class: "uk-text-left uk-text-meta" }, sy = { class: "uk-text-center uk-width-expand" }, oy = ["value"], ry = { class: "uk-text-right" }, ay = { "aria-label": "Pagination" }, ly = { +}, ny = { class: "uk-text-left uk-text-meta" }, iy = { class: "uk-text-center uk-width-expand" }, sy = ["value"], oy = { class: "uk-text-right" }, ry = { "aria-label": "Pagination" }, ay = { class: "uk-pagination uk-flex-right", "uk-margin": "" }, qc = /* @__PURE__ */ ft({ @@ -12039,11 +12039,11 @@ const Qw = /* @__PURE__ */ oi(Xw, [["render", Yw]]), Zw = { } return (v, b) => { const P = Ct("font-awesome-icon"); - return B(), j("div", ny, [ - x("div", iy, [ + return B(), j("div", ey, [ + x("div", ny, [ x("span", null, "Showing " + lt(L(f)) + " - " + lt(L(g)) + " of " + lt(L(h)), 1) ]), - x("div", sy, [ + x("div", iy, [ Mt(x("select", { class: "uk-select uk-form-small uk-form-width-small", "aria-label": "Select per page", @@ -12052,14 +12052,14 @@ const Qw = /* @__PURE__ */ oi(Xw, [["render", Yw]]), Zw = { (B(!0), j(yn, null, os(v.rowsPerPageOptions, (S) => (B(), j("option", { key: S, value: S - }, lt(S) + " per page ", 9, oy))), 128)) + }, lt(S) + " per page ", 9, sy))), 128)) ], 512), [ [zl, L(a)] ]) ]), - x("div", ry, [ - x("nav", ay, [ - x("ul", ly, [ + x("div", oy, [ + x("nav", ry, [ + x("ul", ay, [ x("li", null, [ x("a", { onClick: b[1] || (b[1] = (S) => k(0)), @@ -12111,10 +12111,10 @@ const Qw = /* @__PURE__ */ oi(Xw, [["render", Yw]]), Zw = { ]); }; } -}), cy = { +}), ly = { key: 0, class: "uk-search uk-search-default" -}, uy = ["placeholder"], hy = /* @__PURE__ */ ft({ +}, cy = ["placeholder"], uy = /* @__PURE__ */ ft({ __name: "SprunjeSearch", props: { column: { @@ -12126,28 +12126,24 @@ const Qw = /* @__PURE__ */ oi(Xw, [["render", Yw]]), Zw = { } }, setup(i) { - const s = i, a = me(""), r = rs("sprunjer"), { filters: u } = r; - sp(a, () => { - u.value[s.column] = a.value; - }); - const h = pe(() => s.label ? "Search " + s.label + "..." : "Search " + s.column + "..."); - return (f, g) => i.column ? (B(), j("div", cy, [ + const s = i, a = rs("sprunjer"), { filters: r } = a, u = pe(() => s.label ? "Search " + s.label + "..." : "Search " + s.column + "..."); + return (h, f) => i.column ? (B(), j("div", ly, [ Mt(x("input", { class: "uk-search-input uk-form-small", type: "search", - placeholder: h.value, + placeholder: u.value, "aria-label": "Search", - "onUpdate:modelValue": g[0] || (g[0] = (k) => a.value = k) - }, null, 8, uy), [ - [te, a.value] + "onUpdate:modelValue": f[0] || (f[0] = (g) => L(r)[i.column] = g) + }, null, 8, cy), [ + [te, L(r)[i.column]] ]), - g[1] || (g[1] = x("span", { + f[1] || (f[1] = x("span", { class: "uk-search-icon-flip", "uk-search-icon": "" }, null, -1)) ])) : st("", !0); } -}), dy = ["placeholder", "onUpdate:modelValue"], fy = /* @__PURE__ */ ft({ +}), hy = ["placeholder", "onUpdate:modelValue"], dy = /* @__PURE__ */ ft({ __name: "SprunjeFilters", setup(i) { const s = rs("sprunjer"), { data: a, filters: r } = s, u = pe(() => a.value.filterable), h = () => { @@ -12168,7 +12164,7 @@ const Qw = /* @__PURE__ */ oi(Xw, [["render", Yw]]), Zw = { type: "text", placeholder: v, "onUpdate:modelValue": (P) => L(r)[v] = P - }, null, 8, dy), [ + }, null, 8, hy), [ [te, L(r)[v]] ]) ]) @@ -12186,16 +12182,16 @@ const Qw = /* @__PURE__ */ oi(Xw, [["render", Yw]]), Zw = { ], 64); }; } -}), py = { +}), fy = { "uk-grid": "", class: "uk-child-width-1-2" -}, my = { class: "uk-text-left" }, gy = { class: "uk-text-right" }, vy = { +}, py = { class: "uk-text-left" }, my = { class: "uk-text-right" }, gy = { "uk-grid": "", class: "uk-grid-small uk-grid-divider" -}, by = { class: "uk-width-expand" }, wy = { class: "uk-table uk-table-striped uk-table-small" }, yy = { +}, vy = { class: "uk-width-expand" }, by = { class: "uk-table uk-table-striped uk-table-small" }, wy = { key: 0, class: "uk-width-1-4" -}, $y = /* @__PURE__ */ ft({ +}, yy = /* @__PURE__ */ ft({ __name: "SprunjeTable", props: { dataUrl: {}, @@ -12208,17 +12204,17 @@ const Qw = /* @__PURE__ */ oi(Xw, [["render", Yw]]), Zw = { searchColumn: { default: null } }, setup(i) { - const s = me(!1), a = rp(() => i.dataUrl, i.defaultSorts, i.defaultFilters, i.defaultSize, i.defaultPage), { rows: r } = a; - return op("sprunjer", a), (u, h) => { + const s = ye(!1), a = op(() => i.dataUrl, i.defaultSorts, i.defaultFilters, i.defaultSize, i.defaultPage), { rows: r } = a; + return sp("sprunjer", a), (u, h) => { const f = Ct("font-awesome-icon"); return B(), j(yn, null, [ - x("div", py, [ - x("div", my, [ + x("div", fy, [ + x("div", py, [ tt(u.$slots, "actions") ]), - x("div", gy, [ + x("div", my, [ tt(u.$slots, "filters"), - u.searchColumn ? (B(), gt(hy, { + u.searchColumn ? (B(), gt(uy, { key: 0, column: u.searchColumn }, null, 8, ["column"])) : st("", !0), @@ -12231,9 +12227,9 @@ const Qw = /* @__PURE__ */ oi(Xw, [["render", Yw]]), Zw = { ])) ]) ]), - x("div", vy, [ - x("div", by, [ - x("table", wy, [ + x("div", gy, [ + x("div", vy, [ + x("table", by, [ x("thead", null, [ x("tr", null, [ tt(u.$slots, "header") @@ -12248,8 +12244,8 @@ const Qw = /* @__PURE__ */ oi(Xw, [["render", Yw]]), Zw = { ]) ]) ]), - s.value === !0 ? (B(), j("div", yy, [ - Rt(fy), + s.value === !0 ? (B(), j("div", wy, [ + Rt(dy), tt(u.$slots, "filterPanel") ])) : st("", !0) ]), @@ -12259,44 +12255,44 @@ const Qw = /* @__PURE__ */ oi(Xw, [["render", Yw]]), Zw = { ], 64); }; } -}), Cy = { +}), Ty = { install: (i) => { - i.component("UFAlertContainer", up).component("UFAppLink", Ho).component("UFInfoBox", yp).component("UFCardBox", Ep).component("UFCardBoxBig", Cp).component("UFMainContent", Ip).component("UFHeaderPage", jp).component("UFFooterContent", Hp).component("UFFormLogin", Ko).component("UFFormRegister", zc).component("UFFormForgotPassword", Hc).component("UFNavBar", Kb).component("UFNavBarDropdown", tr).component("UFNavBarDropdownSeparator", ew).component("UFNavBarItem", ow).component("UFNavBarLogin", aw).component("UFNavBarUserCard", pw).component("UFNavBarUserCardButton", bw).component("UFPageLogin", $w).component("UFPageRegister", xw).component("UFPageForgotPassword", Sw).component("UFPageResendVerification", Aw).component("UFSideBar", Dw).component("UFSideBarDropdown", Mw).component("UFSideBarItem", Jw).component("UFSideBarLabel", Gw).component("UFSprunjeColumn", Qw).component("UFSprunjeHeader", ey).component("UFSprunjePaginator", qc).component("UFSprunjeTable", $y); + i.component("UFAlertContainer", cp).component("UFAppLink", Ho).component("UFInfoBox", wp).component("UFCardBox", _p).component("UFCardBoxBig", Tp).component("UFMainContent", Bp).component("UFHeaderPage", Dp).component("UFFooterContent", zp).component("UFFormLogin", Ko).component("UFFormRegister", zc).component("UFFormForgotPassword", Hc).component("UFNavBar", Jb).component("UFNavBarDropdown", tr).component("UFNavBarDropdownSeparator", tw).component("UFNavBarItem", sw).component("UFNavBarLogin", rw).component("UFNavBarUserCard", fw).component("UFNavBarUserCardButton", vw).component("UFPageLogin", yw).component("UFPageRegister", kw).component("UFPageForgotPassword", xw).component("UFPageResendVerification", Pw).component("UFSideBar", Fw).component("UFSideBarDropdown", Uw).component("UFSideBarItem", Vw).component("UFSideBarLabel", Kw).component("UFSprunjeColumn", Yw).component("UFSprunjeHeader", ty).component("UFSprunjePaginator", qc).component("UFSprunjeTable", yy); } }; export { - $y as A, - Hp as F, - Ip as M, - ew as N, - Cy as P, - Dw as S, + yy as A, + zp as F, + Bp as M, + tw as N, + Ty as P, + Fw as S, Wl as U, - up as _, + cp as _, Ho as a, - yp as b, - qp as c, - Ep as d, - Cp as e, - jp as f, - Wp as g, + wp as b, + Hp as c, + _p as d, + Tp as e, + Dp as f, + qp as g, Ko as h, zc as i, Hc as j, - Kb as k, + Jb as k, tr as l, - ow as m, - aw as n, - pw as o, - bw as p, - $w as q, - xw as r, - Sw as s, - Aw as t, - Mw as u, - Jw as v, - Gw as w, - Qw as x, - ey as y, + sw as m, + rw as n, + fw as o, + vw as p, + yw as q, + kw as r, + xw as s, + Pw as t, + Uw as u, + Vw as v, + Kw as w, + Yw as x, + ty as y, qc as z }; diff --git a/dist/components-D71L4-1z.cjs b/dist/components-yQdbks90.cjs similarity index 97% rename from dist/components-D71L4-1z.cjs rename to dist/components-yQdbks90.cjs index 314e21d..47fa93d 100644 --- a/dist/components-D71L4-1z.cjs +++ b/dist/components-yQdbks90.cjs @@ -8,4 +8,4 @@ `)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(i){return i instanceof this?i:new this(i)}static concat(i,...a){const r=new this(i);return a.forEach(d=>r.set(d)),r}static accessor(i){const a=(this[pl]=this[pl]={accessors:{}}).accessors,r=this.prototype;function d(h){const p=In(h);a[p]||(Sv(r,h),a[p]=!0)}return _.isArray(i)?i.forEach(d):d(i),this}}Dt.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);_.reduceDescriptors(Dt.prototype,({value:o},i)=>{let a=i[0].toUpperCase()+i.slice(1);return{get:()=>o,set(r){this[a]=r}}});_.freezeMethods(Dt);function rs(o,i){const a=this||Hn,r=i||a,d=Dt.from(r.headers);let h=r.data;return _.forEach(o,function(p){h=p.call(a,h,d.normalize(),i?i.status:void 0)}),d.normalize(),h}function yc(o){return!!(o&&o.__CANCEL__)}function rn(o,i,a){q.call(this,o??"canceled",q.ERR_CANCELED,i,a),this.name="CanceledError"}_.inherits(rn,q,{__CANCEL__:!0});function kc(o,i,a){const r=a.config.validateStatus;!a.status||!r||r(a.status)?o(a):i(new q("Request failed with status code "+a.status,[q.ERR_BAD_REQUEST,q.ERR_BAD_RESPONSE][Math.floor(a.status/100)-4],a.config,a.request,a))}function _v(o){const i=/^([-+\w]{1,25})(:?\/\/|:)/.exec(o);return i&&i[1]||""}function Cv(o,i){o=o||10;const a=new Array(o),r=new Array(o);let d=0,h=0,p;return i=i!==void 0?i:1e3,function(v){const x=Date.now(),b=r[h];p||(p=x),a[d]=v,r[d]=x;let w=h,B=0;for(;w!==d;)B+=a[w++],w=w%o;if(d=(d+1)%o,d===h&&(h=(h+1)%o),x-p{a=x,d=null,h&&(clearTimeout(h),h=null),o.apply(null,v)};return[(...v)=>{const x=Date.now(),b=x-a;b>=r?p(v,x):(d=v,h||(h=setTimeout(()=>{h=null,p(d)},r-b)))},()=>d&&p(d)]}const Vo=(o,i,a=3)=>{let r=0;const d=Cv(50,250);return Nv(h=>{const p=h.loaded,v=h.lengthComputable?h.total:void 0,x=p-r,b=d(x),w=p<=v;r=p;const B={loaded:p,total:v,progress:v?p/v:void 0,bytes:x,rate:b||void 0,estimated:b&&v&&w?(v-p)/b:void 0,event:h,lengthComputable:v!=null,[i?"download":"upload"]:!0};o(B)},a)},ml=(o,i)=>{const a=o!=null;return[r=>i[0]({lengthComputable:a,total:o,loaded:r}),i[1]]},gl=o=>(...i)=>_.asap(()=>o(...i)),Tv=Kt.hasStandardBrowserEnv?function(){const o=/(msie|trident)/i.test(navigator.userAgent),i=document.createElement("a");let a;function r(d){let h=d;return o&&(i.setAttribute("href",h),h=i.href),i.setAttribute("href",h),{href:i.href,protocol:i.protocol?i.protocol.replace(/:$/,""):"",host:i.host,search:i.search?i.search.replace(/^\?/,""):"",hash:i.hash?i.hash.replace(/^#/,""):"",hostname:i.hostname,port:i.port,pathname:i.pathname.charAt(0)==="/"?i.pathname:"/"+i.pathname}}return a=r(window.location.href),function(d){const h=_.isString(d)?r(d):d;return h.protocol===a.protocol&&h.host===a.host}}():function(){return function(){return!0}}(),Bv=Kt.hasStandardBrowserEnv?{write(o,i,a,r,d,h){const p=[o+"="+encodeURIComponent(i)];_.isNumber(a)&&p.push("expires="+new Date(a).toGMTString()),_.isString(r)&&p.push("path="+r),_.isString(d)&&p.push("domain="+d),h===!0&&p.push("secure"),document.cookie=p.join("; ")},read(o){const i=document.cookie.match(new RegExp("(^|;\\s*)("+o+")=([^;]*)"));return i?decodeURIComponent(i[3]):null},remove(o){this.write(o,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function Ov(o){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(o)}function Pv(o,i){return i?o.replace(/\/?\/$/,"")+"/"+i.replace(/^\/+/,""):o}function $c(o,i){return o&&!Ov(i)?Pv(o,i):i}const vl=o=>o instanceof Dt?{...o}:o;function Ve(o,i){i=i||{};const a={};function r(b,w,B){return _.isPlainObject(b)&&_.isPlainObject(w)?_.merge.call({caseless:B},b,w):_.isPlainObject(w)?_.merge({},w):_.isArray(w)?w.slice():w}function d(b,w,B){if(_.isUndefined(w)){if(!_.isUndefined(b))return r(void 0,b,B)}else return r(b,w,B)}function h(b,w){if(!_.isUndefined(w))return r(void 0,w)}function p(b,w){if(_.isUndefined(w)){if(!_.isUndefined(b))return r(void 0,b)}else return r(void 0,w)}function v(b,w,B){if(B in i)return r(b,w);if(B in o)return r(void 0,b)}const x={url:h,method:h,data:h,baseURL:p,transformRequest:p,transformResponse:p,paramsSerializer:p,timeout:p,timeoutMessage:p,withCredentials:p,withXSRFToken:p,adapter:p,responseType:p,xsrfCookieName:p,xsrfHeaderName:p,onUploadProgress:p,onDownloadProgress:p,decompress:p,maxContentLength:p,maxBodyLength:p,beforeRedirect:p,transport:p,httpAgent:p,httpsAgent:p,cancelToken:p,socketPath:p,responseEncoding:p,validateStatus:v,headers:(b,w)=>d(vl(b),vl(w),!0)};return _.forEach(Object.keys(Object.assign({},o,i)),function(b){const w=x[b]||d,B=w(o[b],i[b],b);_.isUndefined(B)&&w!==v||(a[b]=B)}),a}const xc=o=>{const i=Ve({},o);let{data:a,withXSRFToken:r,xsrfHeaderName:d,xsrfCookieName:h,headers:p,auth:v}=i;i.headers=p=Dt.from(p),i.url=vc($c(i.baseURL,i.url),o.params,o.paramsSerializer),v&&p.set("Authorization","Basic "+btoa((v.username||"")+":"+(v.password?unescape(encodeURIComponent(v.password)):"")));let x;if(_.isFormData(a)){if(Kt.hasStandardBrowserEnv||Kt.hasStandardBrowserWebWorkerEnv)p.setContentType(void 0);else if((x=p.getContentType())!==!1){const[b,...w]=x?x.split(";").map(B=>B.trim()).filter(Boolean):[];p.setContentType([b||"multipart/form-data",...w].join("; "))}}if(Kt.hasStandardBrowserEnv&&(r&&_.isFunction(r)&&(r=r(i)),r||r!==!1&&Tv(i.url))){const b=d&&h&&Bv.read(h);b&&p.set(d,b)}return i},Av=typeof XMLHttpRequest<"u",Rv=Av&&function(o){return new Promise(function(i,a){const r=xc(o);let d=r.data;const h=Dt.from(r.headers).normalize();let{responseType:p,onUploadProgress:v,onDownloadProgress:x}=r,b,w,B,E,O;function T(){E&&E(),O&&O(),r.cancelToken&&r.cancelToken.unsubscribe(b),r.signal&&r.signal.removeEventListener("abort",b)}let N=new XMLHttpRequest;N.open(r.method.toUpperCase(),r.url,!0),N.timeout=r.timeout;function V(){if(!N)return;const j=Dt.from("getAllResponseHeaders"in N&&N.getAllResponseHeaders()),K={data:!p||p==="text"||p==="json"?N.responseText:N.response,status:N.status,statusText:N.statusText,headers:j,config:o,request:N};kc(function(yt){i(yt),T()},function(yt){a(yt),T()},K),N=null}"onloadend"in N?N.onloadend=V:N.onreadystatechange=function(){!N||N.readyState!==4||N.status===0&&!(N.responseURL&&N.responseURL.indexOf("file:")===0)||setTimeout(V)},N.onabort=function(){N&&(a(new q("Request aborted",q.ECONNABORTED,o,N)),N=null)},N.onerror=function(){a(new q("Network Error",q.ERR_NETWORK,o,N)),N=null},N.ontimeout=function(){let j=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const K=r.transitional||bc;r.timeoutErrorMessage&&(j=r.timeoutErrorMessage),a(new q(j,K.clarifyTimeoutError?q.ETIMEDOUT:q.ECONNABORTED,o,N)),N=null},d===void 0&&h.setContentType(null),"setRequestHeader"in N&&_.forEach(h.toJSON(),function(j,K){N.setRequestHeader(K,j)}),_.isUndefined(r.withCredentials)||(N.withCredentials=!!r.withCredentials),p&&p!=="json"&&(N.responseType=r.responseType),x&&([B,O]=Vo(x,!0),N.addEventListener("progress",B)),v&&N.upload&&([w,E]=Vo(v),N.upload.addEventListener("progress",w),N.upload.addEventListener("loadend",E)),(r.cancelToken||r.signal)&&(b=j=>{N&&(a(!j||j.type?new rn(null,o,N):j),N.abort(),N=null)},r.cancelToken&&r.cancelToken.subscribe(b),r.signal&&(r.signal.aborted?b():r.signal.addEventListener("abort",b)));const M=_v(r.url);if(M&&Kt.protocols.indexOf(M)===-1){a(new q("Unsupported protocol "+M+":",q.ERR_BAD_REQUEST,o));return}N.send(d||null)})},Dv=(o,i)=>{let a=new AbortController,r;const d=function(x){if(!r){r=!0,p();const b=x instanceof Error?x:this.reason;a.abort(b instanceof q?b:new rn(b instanceof Error?b.message:b))}};let h=i&&setTimeout(()=>{d(new q(`timeout ${i} of ms exceeded`,q.ETIMEDOUT))},i);const p=()=>{o&&(h&&clearTimeout(h),h=null,o.forEach(x=>{x&&(x.removeEventListener?x.removeEventListener("abort",d):x.unsubscribe(d))}),o=null)};o.forEach(x=>x&&x.addEventListener&&x.addEventListener("abort",d));const{signal:v}=a;return v.unsubscribe=p,[v,()=>{h&&clearTimeout(h),h=null}]},Iv=function*(o,i){let a=o.byteLength;if(a{const h=Fv(o,i,d);let p=0,v,x=b=>{v||(v=!0,r&&r(b))};return new ReadableStream({async pull(b){try{const{done:w,value:B}=await h.next();if(w){x(),b.close();return}let E=B.byteLength;if(a){let O=p+=E;a(O)}b.enqueue(new Uint8Array(B))}catch(w){throw x(w),w}},cancel(b){return x(b),h.return()}},{highWaterMark:2})},Yo=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",Ec=Yo&&typeof ReadableStream=="function",bs=Yo&&(typeof TextEncoder=="function"?(o=>i=>o.encode(i))(new TextEncoder):async o=>new Uint8Array(await new Response(o).arrayBuffer())),Sc=(o,...i)=>{try{return!!o(...i)}catch{return!1}},Vv=Ec&&Sc(()=>{let o=!1;const i=new Request(Kt.origin,{body:new ReadableStream,method:"POST",get duplex(){return o=!0,"half"}}).headers.has("Content-Type");return o&&!i}),wl=64*1024,ws=Ec&&Sc(()=>_.isReadableStream(new Response("").body)),jo={stream:ws&&(o=>o.body)};Yo&&(o=>{["text","arrayBuffer","blob","formData","stream"].forEach(i=>{!jo[i]&&(jo[i]=_.isFunction(o[i])?a=>a[i]():(a,r)=>{throw new q(`Response type '${i}' is not supported`,q.ERR_NOT_SUPPORT,r)})})})(new Response);const jv=async o=>{if(o==null)return 0;if(_.isBlob(o))return o.size;if(_.isSpecCompliantForm(o))return(await new Request(o).arrayBuffer()).byteLength;if(_.isArrayBufferView(o)||_.isArrayBuffer(o))return o.byteLength;if(_.isURLSearchParams(o)&&(o=o+""),_.isString(o))return(await bs(o)).byteLength},Lv=async(o,i)=>_.toFiniteNumber(o.getContentLength())??jv(i),Mv=Yo&&(async o=>{let{url:i,method:a,data:r,signal:d,cancelToken:h,timeout:p,onDownloadProgress:v,onUploadProgress:x,responseType:b,headers:w,withCredentials:B="same-origin",fetchOptions:E}=xc(o);b=b?(b+"").toLowerCase():"text";let[O,T]=d||h||p?Dv([d,h],p):[],N,V;const M=()=>{!N&&setTimeout(()=>{O&&O.unsubscribe()}),N=!0};let j;try{if(x&&Vv&&a!=="get"&&a!=="head"&&(j=await Lv(w,r))!==0){let ht=new Request(i,{method:"POST",body:r,duplex:"half"}),_t;if(_.isFormData(r)&&(_t=ht.headers.get("content-type"))&&w.setContentType(_t),ht.body){const[zt,Tt]=ml(j,Vo(gl(x)));r=bl(ht.body,wl,zt,Tt,bs)}}_.isString(B)||(B=B?"include":"omit"),V=new Request(i,{...E,signal:O,method:a.toUpperCase(),headers:w.normalize().toJSON(),body:r,duplex:"half",credentials:B});let K=await fetch(V);const yt=ws&&(b==="stream"||b==="response");if(ws&&(v||yt)){const ht={};["status","statusText","headers"].forEach(rt=>{ht[rt]=K[rt]});const _t=_.toFiniteNumber(K.headers.get("content-length")),[zt,Tt]=v&&ml(_t,Vo(gl(v),!0))||[];K=new Response(bl(K.body,wl,zt,()=>{Tt&&Tt(),yt&&M()},bs),ht)}b=b||"text";let St=await jo[_.findKey(jo,b)||"text"](K,o);return!yt&&M(),T&&T(),await new Promise((ht,_t)=>{kc(ht,_t,{data:St,headers:Dt.from(K.headers),status:K.status,statusText:K.statusText,config:o,request:V})})}catch(K){throw M(),K&&K.name==="TypeError"&&/fetch/i.test(K.message)?Object.assign(new q("Network Error",q.ERR_NETWORK,o,V),{cause:K.cause||K}):q.from(K,K&&K.code,o,V)}}),ys={http:iv,xhr:Rv,fetch:Mv};_.forEach(ys,(o,i)=>{if(o){try{Object.defineProperty(o,"name",{value:i})}catch{}Object.defineProperty(o,"adapterName",{value:i})}});const yl=o=>`- ${o}`,Uv=o=>_.isFunction(o)||o===null||o===!1,_c={getAdapter:o=>{o=_.isArray(o)?o:[o];const{length:i}=o;let a,r;const d={};for(let h=0;h`adapter ${v} `+(x===!1?"is not supported by the environment":"is not available in the build"));let p=i?h.length>1?`since : `+h.map(yl).join(` `):" "+yl(h[0]):"as no adapter specified";throw new q("There is no suitable adapter to dispatch the request "+p,"ERR_NOT_SUPPORT")}return r},adapters:ys};function as(o){if(o.cancelToken&&o.cancelToken.throwIfRequested(),o.signal&&o.signal.aborted)throw new rn(null,o)}function kl(o){return as(o),o.headers=Dt.from(o.headers),o.data=rs.call(o,o.transformRequest),["post","put","patch"].indexOf(o.method)!==-1&&o.headers.setContentType("application/x-www-form-urlencoded",!1),_c.getAdapter(o.adapter||Hn.adapter)(o).then(function(i){return as(o),i.data=rs.call(o,o.transformResponse,i),i.headers=Dt.from(i.headers),i},function(i){return yc(i)||(as(o),i&&i.response&&(i.response.data=rs.call(o,o.transformResponse,i.response),i.response.headers=Dt.from(i.response.headers))),Promise.reject(i)})}const Cc="1.7.3",Os={};["object","boolean","number","function","string","symbol"].forEach((o,i)=>{Os[o]=function(a){return typeof a===o||"a"+(i<1?"n ":" ")+o}});const $l={};Os.transitional=function(o,i,a){function r(d,h){return"[Axios v"+Cc+"] Transitional option '"+d+"'"+h+(a?". "+a:"")}return(d,h,p)=>{if(o===!1)throw new q(r(h," has been removed"+(i?" in "+i:"")),q.ERR_DEPRECATED);return i&&!$l[h]&&($l[h]=!0,console.warn(r(h," has been deprecated since v"+i+" and will be removed in the near future"))),o?o(d,h,p):!0}};function zv(o,i,a){if(typeof o!="object")throw new q("options must be an object",q.ERR_BAD_OPTION_VALUE);const r=Object.keys(o);let d=r.length;for(;d-- >0;){const h=r[d],p=i[h];if(p){const v=o[h],x=v===void 0||p(v,h,o);if(x!==!0)throw new q("option "+h+" must be "+x,q.ERR_BAD_OPTION_VALUE);continue}if(a!==!0)throw new q("Unknown option "+h,q.ERR_BAD_OPTION)}}const ks={assertOptions:zv,validators:Os},pe=ks.validators;class Ie{constructor(i){this.defaults=i,this.interceptors={request:new fl,response:new fl}}async request(i,a){try{return await this._request(i,a)}catch(r){if(r instanceof Error){let d;Error.captureStackTrace?Error.captureStackTrace(d={}):d=new Error;const h=d.stack?d.stack.replace(/^.+\n/,""):"";try{r.stack?h&&!String(r.stack).endsWith(h.replace(/^.+\n.+\n/,""))&&(r.stack+=` -`+h):r.stack=h}catch{}}throw r}}_request(i,a){typeof i=="string"?(a=a||{},a.url=i):a=i||{},a=Ve(this.defaults,a);const{transitional:r,paramsSerializer:d,headers:h}=a;r!==void 0&&ks.assertOptions(r,{silentJSONParsing:pe.transitional(pe.boolean),forcedJSONParsing:pe.transitional(pe.boolean),clarifyTimeoutError:pe.transitional(pe.boolean)},!1),d!=null&&(_.isFunction(d)?a.paramsSerializer={serialize:d}:ks.assertOptions(d,{encode:pe.function,serialize:pe.function},!0)),a.method=(a.method||this.defaults.method||"get").toLowerCase();let p=h&&_.merge(h.common,h[a.method]);h&&_.forEach(["delete","get","head","post","put","patch","common"],T=>{delete h[T]}),a.headers=Dt.concat(p,h);const v=[];let x=!0;this.interceptors.request.forEach(function(T){typeof T.runWhen=="function"&&T.runWhen(a)===!1||(x=x&&T.synchronous,v.unshift(T.fulfilled,T.rejected))});const b=[];this.interceptors.response.forEach(function(T){b.push(T.fulfilled,T.rejected)});let w,B=0,E;if(!x){const T=[kl.bind(this),void 0];for(T.unshift.apply(T,v),T.push.apply(T,b),E=T.length,w=Promise.resolve(a);B{if(!r._listeners)return;let h=r._listeners.length;for(;h-- >0;)r._listeners[h](d);r._listeners=null}),this.promise.then=d=>{let h;const p=new Promise(v=>{r.subscribe(v),h=v}).then(d);return p.cancel=function(){r.unsubscribe(h)},p},i(function(d,h,p){r.reason||(r.reason=new rn(d,h,p),a(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(i){if(this.reason){i(this.reason);return}this._listeners?this._listeners.push(i):this._listeners=[i]}unsubscribe(i){if(!this._listeners)return;const a=this._listeners.indexOf(i);a!==-1&&this._listeners.splice(a,1)}static source(){let i;return{token:new Ps(function(a){i=a}),cancel:i}}}function Hv(o){return function(i){return o.apply(null,i)}}function qv(o){return _.isObject(o)&&o.isAxiosError===!0}const $s={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries($s).forEach(([o,i])=>{$s[i]=o});function Nc(o){const i=new Ie(o),a=sc(Ie.prototype.request,i);return _.extend(a,Ie.prototype,i,{allOwnKeys:!0}),_.extend(a,i,null,{allOwnKeys:!0}),a.create=function(r){return Nc(Ve(o,r))},a}const vt=Nc(Hn);vt.Axios=Ie;vt.CanceledError=rn;vt.CancelToken=Ps;vt.isCancel=yc;vt.VERSION=Cc;vt.toFormData=Xo;vt.AxiosError=q;vt.Cancel=vt.CanceledError;vt.all=function(o){return Promise.all(o)};vt.spread=Hv;vt.isAxiosError=qv;vt.mergeConfig=Ve;vt.AxiosHeaders=Dt;vt.formToJSON=o=>wc(_.isHTMLForm(o)?new FormData(o):o);vt.getAdapter=_c.getAdapter;vt.HttpStatusCode=$s;vt.default=vt;const Wv=o=>{const i=typeof o;return o!==null&&(i==="object"||i==="function")},ls=new Set(["__proto__","prototype","constructor"]),Jv=new Set("0123456789");function Kv(o){const i=[];let a="",r="start",d=!1;for(const h of o)switch(h){case"\\":{if(r==="index")throw new Error("Invalid character in an index");if(r==="indexEnd")throw new Error("Invalid character after an index");d&&(a+=h),r="property",d=!d;break}case".":{if(r==="index")throw new Error("Invalid character in an index");if(r==="indexEnd"){r="property";break}if(d){d=!1,a+=h;break}if(ls.has(a))return[];i.push(a),a="",r="property";break}case"[":{if(r==="index")throw new Error("Invalid character in an index");if(r==="indexEnd"){r="index";break}if(d){d=!1,a+=h;break}if(r==="property"){if(ls.has(a))return[];i.push(a),a=""}r="index";break}case"]":{if(r==="index"){i.push(Number.parseInt(a,10)),a="",r="indexEnd";break}if(r==="indexEnd")throw new Error("Invalid character after an index")}default:{if(r==="index"&&!Jv.has(h))throw new Error("Invalid character in an index");if(r==="indexEnd")throw new Error("Invalid character after an index");r==="start"&&(r="property"),d&&(d=!1,a+="\\"),a+=h}}switch(d&&(a+="\\"),r){case"property":{if(ls.has(a))return[];i.push(a);break}case"index":throw new Error("Index was not closed");case"start":{i.push("");break}}return i}function Gv(o,i){if(typeof i!="number"&&Array.isArray(o)){const a=Number.parseInt(i,10);return Number.isInteger(a)&&o[a]===o[i]}return!1}function Xv(o,i,a){if(!Wv(o)||typeof i!="string")return a===void 0?o:a;const r=Kv(i);if(r.length===0)return a;for(let d=0;d({config:{}}),getters:{get:o=>(i,a)=>Xv(o.config,i,a)},actions:{async load(){vt.get("/api/config").then(o=>{this.config=o.data})}}});function Yv(){return{first_name:"",last_name:"",email:"",user_name:"",password:"",passwordc:"",locale:Tc().get("site.registration.user_defaults.locale","en_US"),captcha:"",spiderbro:"http://"}}function Qv(){return Tc().get("locales.available")}function Zv(){return"/account/captcha"}async function tb(o){return lt.post("/account/register",o).then(i=>i.data).catch(i=>{throw{description:"An error as occurred",style:ie.Danger,closeBtn:!0,...i.response.data}})}const eb=Object.freeze(Object.defineProperty({__proto__:null,doRegister:tb,getAvailableLocales:Qv,getCaptchaUrl:Zv,getDefaultForm:Yv},Symbol.toStringTag,{value:"Module"}));async function nb(o){return lt.post("/account/forgot-password",{email:o}).then(i=>({description:i.data.message,style:ie.Success,closeBtn:!0})).catch(i=>{throw{description:"An error as occurred",style:ie.Danger,closeBtn:!0,...i.response.data}})}async function ob(o){return lt.post("/account/resend-verification",{email:o}).then(i=>({description:i.data.message,style:ie.Success,closeBtn:!0})).catch(i=>{throw{description:"An error as occurred",style:ie.Danger,closeBtn:!0,...i.response.data}})}const ib={class:"uk-fieldset uk-form-stacked"},sb={class:"uk-margin"},rb={class:"uk-form-controls uk-grid-small","uk-grid":""},ab={class:"uk-width-1-2"},lb={class:"uk-width-1-2"},cb={class:"uk-width-1-1"},ub={class:"uk-margin"},db={class:"uk-margin"},hb={class:"uk-form-controls uk-grid-small","uk-grid":""},fb={class:"uk-width-1-2"},pb={class:"uk-width-1-2"},mb={class:"uk-margin"},gb=["value"],vb={class:"uk-margin"},bb={class:"uk-form-controls uk-grid-small","uk-grid":""},wb={class:"uk-width-2-3"},yb={class:"uk-width-1-3"},kb=["src"],$b={class:"uk-text-center"},xb=["disabled"],As=l.defineComponent({__name:"FormRegister",setup(o){const{getDefaultForm:i,doRegister:a,getAvailableLocales:r,getCaptchaUrl:d}=eb,h=l.ref(!1),p=l.ref();let v=i();async function x(){h.value=!0,p.value=null,await a(v).then(b=>{xs.notification({message:"Succesfully registered "+(b==null?void 0:b.full_name)+"!",status:"success",pos:"bottom-right",timeout:4e3})}).catch(b=>{p.value=b}).finally(()=>{h.value=!1})}return(b,w)=>{const B=l.resolveComponent("UFAlertContainer");return l.openBlock(),l.createElementBlock("form",{onSubmit:w[8]||(w[8]=l.withModifiers(E=>x(),["prevent"]))},[l.createElementVNode("fieldset",ib,[p.value?(l.openBlock(),l.createBlock(B,{key:0,"data-test":"error",alert:p.value},null,8,["alert"])):l.createCommentVNode("",!0),l.createElementVNode("div",sb,[w[9]||(w[9]=l.createElementVNode("label",{class:"uk-form-label",for:"first_name"},"Name and email",-1)),l.createElementVNode("div",rb,[l.createElementVNode("div",ab,[l.withDirectives(l.createElementVNode("input",{class:"uk-input",type:"text",placeholder:"First Name","aria-label":"First Name",id:"first_name","data-test":"first_name","onUpdate:modelValue":w[0]||(w[0]=E=>l.unref(v).first_name=E)},null,512),[[l.vModelText,l.unref(v).first_name]])]),l.createElementVNode("div",lb,[l.withDirectives(l.createElementVNode("input",{class:"uk-input",type:"text",placeholder:"Last Name","aria-label":"Last Name","data-test":"last_name","onUpdate:modelValue":w[1]||(w[1]=E=>l.unref(v).last_name=E)},null,512),[[l.vModelText,l.unref(v).last_name]])]),l.createElementVNode("div",cb,[l.withDirectives(l.createElementVNode("input",{class:"uk-input",type:"email",placeholder:"Email","aria-label":"Email","data-test":"email","onUpdate:modelValue":w[2]||(w[2]=E=>l.unref(v).email=E)},null,512),[[l.vModelText,l.unref(v).email]])])])]),l.createElementVNode("div",ub,[w[10]||(w[10]=l.createElementVNode("label",{class:"uk-form-label",for:"form-stacked-text"},"Username",-1)),l.withDirectives(l.createElementVNode("input",{class:"uk-input",type:"text",placeholder:"Username","aria-label":"Username","data-test":"username","onUpdate:modelValue":w[3]||(w[3]=E=>l.unref(v).user_name=E)},null,512),[[l.vModelText,l.unref(v).user_name]])]),l.createElementVNode("div",db,[w[11]||(w[11]=l.createElementVNode("label",{class:"uk-form-label",for:"form-stacked-text"},"Password",-1)),l.createElementVNode("div",hb,[l.createElementVNode("div",fb,[l.withDirectives(l.createElementVNode("input",{class:"uk-input",type:"password",placeholder:"Password","aria-label":"Password","data-test":"password","onUpdate:modelValue":w[4]||(w[4]=E=>l.unref(v).password=E)},null,512),[[l.vModelText,l.unref(v).password]])]),l.createElementVNode("div",pb,[l.withDirectives(l.createElementVNode("input",{class:"uk-input",type:"password",placeholder:"Confirm Password","aria-label":"Confirm Password","data-test":"passwordc","onUpdate:modelValue":w[5]||(w[5]=E=>l.unref(v).passwordc=E)},null,512),[[l.vModelText,l.unref(v).passwordc]])])])]),l.createElementVNode("div",mb,[w[12]||(w[12]=l.createElementVNode("label",{class:"uk-form-label",for:"form-stacked-text"},"Locale",-1)),l.withDirectives(l.createElementVNode("select",{class:"uk-select",id:"form-stacked-select","data-test":"locale","onUpdate:modelValue":w[6]||(w[6]=E=>l.unref(v).locale=E)},[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(l.unref(r)(),(E,O)=>(l.openBlock(),l.createElementBlock("option",{value:O,key:O},l.toDisplayString(E),9,gb))),128))],512),[[l.vModelSelect,l.unref(v).locale]])]),l.createElementVNode("div",vb,[w[13]||(w[13]=l.createElementVNode("label",{class:"uk-form-label",for:"r-form-captcha"},"Captcha",-1)),l.createElementVNode("div",bb,[l.createElementVNode("div",wb,[l.withDirectives(l.createElementVNode("input",{class:"uk-input",type:"password",placeholder:"Captcha","aria-label":"Captcha",id:"r-form-captcha","data-test":"captcha","onUpdate:modelValue":w[7]||(w[7]=E=>l.unref(v).captcha=E)},null,512),[[l.vModelText,l.unref(v).captcha]])]),l.createElementVNode("div",yb,[l.createElementVNode("img",{src:l.unref(d)(),id:"captcha","data-target":"#r-form-captcha"},null,8,kb)])])]),w[14]||(w[14]=l.createElementVNode("p",null,[l.createTextVNode(" By registering an account with UserFrosting, you accept "),l.createElementVNode("a",null,"the terms and conditions"),l.createTextVNode(". ")],-1)),l.createElementVNode("div",$b,[l.createElementVNode("button",{class:"uk-button uk-button-primary",disabled:h.value},"Sign me up",8,xb)])])],32)}}}),Eb={class:"uk-fieldset"},Sb={class:"uk-margin"},_b={class:"uk-inline uk-width-1-1"},Cb={class:"uk-text-center"},Nb=["disabled"],Rs=l.defineComponent({__name:"FormForgotPassword",setup(o){const i=l.ref(!1),a=l.ref();let r="";async function d(){i.value=!0,a.value=null,await nb(r).then(h=>{a.value=h}).catch(h=>{a.value=h}).finally(()=>{i.value=!1})}return(h,p)=>{const v=l.resolveComponent("UFAlertContainer");return l.openBlock(),l.createElementBlock("form",{onSubmit:p[1]||(p[1]=l.withModifiers(x=>d(),["prevent"]))},[l.createElementVNode("fieldset",Eb,[a.value?(l.openBlock(),l.createBlock(v,{key:0,"data-test":"error",alert:a.value},null,8,["alert"])):l.createCommentVNode("",!0),l.createElementVNode("div",Sb,[l.createElementVNode("div",_b,[p[2]||(p[2]=l.createElementVNode("span",{class:"uk-form-icon","uk-icon":"icon: mail"},null,-1)),l.withDirectives(l.createElementVNode("input",{class:"uk-input",type:"email",placeholder:"Email","aria-label":"Email","data-test":"email","onUpdate:modelValue":p[0]||(p[0]=x=>l.isRef(r)?r.value=x:r=x)},null,512),[[l.vModelText,l.unref(r)]])])]),l.createElementVNode("div",Cb,[l.createElementVNode("button",{class:"uk-button uk-button-primary",disabled:i.value,"data-test":"submit"}," Email Password Reset Link ",8,Nb)])])],32)}}}),Tb={"uk-sticky":"sel-target: .uk-navbar-container; cls-active: uk-navbar-sticky"},Bb={class:"uk-navbar-container"},Ob={class:"uk-container uk-container-expand"},Pb={class:"uk-navbar","uk-navbar":""},Ab={class:"uk-navbar-left","data-test":"navbar-left"},Rb={class:"uk-navbar-right","data-test":"navbar-right"},Db={class:"uk-navbar-nav"},Bc=l.defineComponent({__name:"NavBar",props:{to:{default:""},title:{default:""}},setup(o){return(i,a)=>(l.openBlock(),l.createElementBlock("header",null,[l.createElementVNode("div",Tb,[l.createElementVNode("div",Bb,[l.createElementVNode("div",Ob,[l.createElementVNode("nav",Pb,[l.createElementVNode("div",Ab,[l.createVNode(Lo,{to:i.to,class:"uk-navbar-item uk-logo",label:""},{default:l.withCtx(()=>[l.renderSlot(i.$slots,"title",{},()=>[l.createTextVNode(l.toDisplayString(i.title),1)])]),_:3},8,["to"])]),l.createElementVNode("div",Rb,[l.createElementVNode("ul",Db,[l.renderSlot(i.$slots,"default")])])])])])])]))}}),Ib={"data-test":"label"},Fb={class:"uk-navbar-dropdown","uk-dropdown":"offset: 0px"},Vb={class:"uk-nav uk-navbar-dropdown-nav","data-test":"slot"},Qo=l.defineComponent({__name:"NavBarDropdown",props:{label:{default:""}},setup(o){return(i,a)=>(l.openBlock(),l.createElementBlock("li",null,[l.createElementVNode("a",Ib,[l.renderSlot(i.$slots,"label",{},()=>[l.createTextVNode(l.toDisplayString(i.label),1)]),a[0]||(a[0]=l.createTextVNode()),a[1]||(a[1]=l.createElementVNode("span",{"uk-navbar-parent-icon":""},null,-1))]),l.createElementVNode("div",Fb,[l.createElementVNode("ul",Vb,[l.renderSlot(i.$slots,"default")])])]))}}),jb={},Lb={class:"uk-nav-divider"};function Mb(o,i){return l.openBlock(),l.createElementBlock("li",Lb)}const Oc=Ln(jb,[["render",Mb]]),Ub={key:0},zb=["href"],Hb=["href","onClick"],Pc=l.defineComponent({__name:"NavBarItem",props:{to:{default:""},label:{default:""}},setup(o){const i=o,a=l.computed(()=>i.to===""||typeof i.to=="string"&&i.to.startsWith("http"));return(r,d)=>a.value?(l.openBlock(),l.createElementBlock("li",Ub,[l.createElementVNode("a",{href:r.to.toString(),target:"_blank"},[l.renderSlot(r.$slots,"default",{},()=>[l.createTextVNode(l.toDisplayString(r.label),1)])],8,zb)])):(l.openBlock(),l.createBlock(l.unref(jn.RouterLink),l.mergeProps({key:1,to:r.to},r.$props,{custom:""}),{default:l.withCtx(({isActive:h,href:p,navigate:v})=>[l.createElementVNode("li",{class:l.normalizeClass({"uk-active":h})},[l.createElementVNode("a",l.mergeProps(r.$attrs,{href:p,onClick:v}),[l.renderSlot(r.$slots,"default",{},()=>[l.createTextVNode(l.toDisplayString(r.label),1)])],16,Hb)],2)]),_:3},16,["to"]))}}),qb={class:"uk-text-center"},Ac=l.defineComponent({__name:"NavBarLogin",setup(o){return(i,a)=>(l.openBlock(),l.createBlock(Qo,{label:"Login",class:"uf-nav-login uk-text-center"},{default:l.withCtx(()=>[l.createVNode(Wo),l.createElementVNode("div",qb,[l.createElementVNode("button",{class:"uk-button uk-button-default",onClick:a[0]||(a[0]=r=>i.$emit("gotoRegistration")),"data-test":"gotoRegistration"}," Register ")]),l.renderSlot(i.$slots,"default")]),_:3}))}}),Wb={key:0,"data-test":"username"},Jb=["src"],Kb={class:"uk-margin"},Gb=["src"],Xb={key:1,class:"uk-margin-remove","data-test":"username"},Yb={key:2,class:"uk-margin-remove uk-text-meta","data-test":"meta"},Rc=l.defineComponent({__name:"NavBarUserCard",props:{username:{default:""},avatar:{default:""},meta:{default:""}},setup(o){return(i,a)=>(l.openBlock(),l.createBlock(Qo,{class:"uf-nav-user uk-text-center"},{label:l.withCtx(()=>[i.username?(l.openBlock(),l.createElementBlock("span",Wb,l.toDisplayString(i.username),1)):l.createCommentVNode("",!0),i.avatar?(l.openBlock(),l.createElementBlock("img",{key:1,src:i.avatar,alt:"avatar",class:"uk-border-circle"},null,8,Jb)):l.createCommentVNode("",!0)]),default:l.withCtx(()=>[l.createElementVNode("div",Kb,[i.avatar?(l.openBlock(),l.createElementBlock("img",{key:0,src:i.avatar,alt:"avatar",class:"uk-border-circle","uk-height-match":""},null,8,Gb)):l.createCommentVNode("",!0),i.username?(l.openBlock(),l.createElementBlock("p",Xb,l.toDisplayString(i.username),1)):l.createCommentVNode("",!0),i.meta?(l.openBlock(),l.createElementBlock("p",Yb,"("+l.toDisplayString(i.meta)+")",1)):l.createCommentVNode("",!0)]),l.renderSlot(i.$slots,"default",{dataTest:"slot"})]),_:3}))}}),Qb={key:0},Zb=["href"],tw={key:1},Dc=l.defineComponent({__name:"NavBarUserCardButton",props:{to:{default:""},label:{default:""}},setup(o){const i=o,a=l.computed(()=>typeof i.to=="string"&&i.to.startsWith("http"));return(r,d)=>a.value?(l.openBlock(),l.createElementBlock("li",Qb,[l.createElementVNode("a",{class:"uk-button uk-button-default uk-button-small uk-text-center",href:r.to.toString(),target:"_blank"},[l.renderSlot(r.$slots,"default",{},()=>[l.createTextVNode(l.toDisplayString(r.label),1)])],8,Zb)])):(l.openBlock(),l.createElementBlock("li",tw,[l.createVNode(l.unref(jn.RouterLink),{to:r.to,class:"uk-button uk-button-default uk-button-small uk-text-center"},{default:l.withCtx(()=>[l.renderSlot(r.$slots,"default",{},()=>[l.createTextVNode(l.toDisplayString(r.label),1)])]),_:3},8,["to"])]))}}),ew={class:"uk-list"},nw={class:"uk-text-center"},Ic=l.defineComponent({__name:"PageLogin",setup(o){return(i,a)=>{const r=l.resolveComponent("font-awesome-icon"),d=l.resolveComponent("UFCardBoxBig");return l.openBlock(),l.createBlock(d,null,{default:l.withCtx(()=>[a[5]||(a[5]=l.createElementVNode("h3",{class:"uk-card-title"},"Login",-1)),l.createVNode(Wo),l.createElementVNode("ul",ew,[l.createElementVNode("li",null,[l.createElementVNode("a",{onClick:a[0]||(a[0]=h=>i.$emit("gotoForgotPassword")),"data-test":"gotoForgotPassword"},"Forgot your password?")]),l.createElementVNode("li",null,[l.createElementVNode("a",{onClick:a[1]||(a[1]=h=>i.$emit("gotoResendVerification")),"data-test":"gotoResendVerification"},"Resend verification email")])]),a[6]||(a[6]=l.createElementVNode("hr",null,null,-1)),l.createElementVNode("div",nw,[a[4]||(a[4]=l.createElementVNode("p",null,"You don't have an account yet?",-1)),l.createElementVNode("button",{class:"uk-button uk-button-default",onClick:a[2]||(a[2]=h=>i.$emit("gotoRegistration")),"data-test":"gotoRegistration"},[l.createVNode(r,{icon:["fas","user-plus"]}),a[3]||(a[3]=l.createTextVNode(" Register "))])])]),_:1})}}}),ow={class:"uk-text-center"},Fc=l.defineComponent({__name:"PageRegister",setup(o){return(i,a)=>{const r=l.resolveComponent("font-awesome-icon"),d=l.resolveComponent("UFCardBoxBig");return l.openBlock(),l.createBlock(d,null,{default:l.withCtx(()=>[a[3]||(a[3]=l.createElementVNode("h3",{class:"uk-card-title"},"Register",-1)),l.createVNode(As),a[4]||(a[4]=l.createElementVNode("hr",null,null,-1)),l.createElementVNode("div",ow,[a[2]||(a[2]=l.createElementVNode("p",null,"Already have an account ?",-1)),l.createElementVNode("button",{class:"uk-button uk-button-default",onClick:a[0]||(a[0]=h=>i.$emit("gotoLogin")),"data-test":"gotoLogin"},[l.createVNode(r,{icon:["fas","right-to-bracket"]}),a[1]||(a[1]=l.createTextVNode(" Login "))])])]),_:1})}}}),Vc=l.defineComponent({__name:"PageForgotPassword",setup(o){return(i,a)=>{const r=l.resolveComponent("UFCardBoxBig");return l.openBlock(),l.createBlock(r,null,{default:l.withCtx(()=>[a[0]||(a[0]=l.createElementVNode("h3",{class:"uk-card-title"},"Forgotten Password",-1)),a[1]||(a[1]=l.createElementVNode("p",null," Please enter the email address you used to sign up. A link with instructions to reset your password will be emailed to you. ",-1)),l.createVNode(Rs)]),_:1})}}}),iw={class:"uk-fieldset"},sw={class:"uk-margin"},rw={class:"uk-inline uk-width-1-1"},aw={class:"uk-text-center"},lw=["disabled"],cw=l.defineComponent({__name:"FormResendVerification",setup(o){const i=l.ref(!1),a=l.ref();let r="";async function d(){i.value=!0,a.value=null,await ob(r).then(h=>{a.value=h}).catch(h=>{a.value=h}).finally(()=>{i.value=!1})}return(h,p)=>{const v=l.resolveComponent("UFAlertContainer");return l.openBlock(),l.createElementBlock("form",{onSubmit:p[1]||(p[1]=l.withModifiers(x=>d(),["prevent"]))},[l.createElementVNode("fieldset",iw,[a.value?(l.openBlock(),l.createBlock(v,{key:0,"data-test":"error",alert:a.value},null,8,["alert"])):l.createCommentVNode("",!0),l.createElementVNode("div",sw,[l.createElementVNode("div",rw,[p[2]||(p[2]=l.createElementVNode("span",{class:"uk-form-icon","uk-icon":"icon: mail"},null,-1)),l.withDirectives(l.createElementVNode("input",{class:"uk-input",type:"email",placeholder:"Email","aria-label":"Email","data-test":"email","onUpdate:modelValue":p[0]||(p[0]=x=>l.isRef(r)?r.value=x:r=x)},null,512),[[l.vModelText,l.unref(r)]])])]),l.createElementVNode("div",aw,[l.createElementVNode("button",{class:"uk-button uk-button-primary",disabled:i.value,"data-test":"submit"}," Email the verification link for my account ",8,lw)])])],32)}}}),jc=l.defineComponent({__name:"PageResendVerification",setup(o){return(i,a)=>{const r=l.resolveComponent("UFCardBoxBig");return l.openBlock(),l.createBlock(r,null,{default:l.withCtx(()=>[a[0]||(a[0]=l.createElementVNode("h3",{class:"uk-card-title"},"Resend Verification Email",-1)),a[1]||(a[1]=l.createElementVNode("p",null," Please enter the email address you used to sign up, and your verification email will be resent. ",-1)),l.createVNode(cw)]),_:1})}}}),uw={},dw={class:"uf-sidebar-left uk-light uk-visible@m"},hw={class:"left-nav-wrap"},fw={class:"uk-nav uk-nav-default","data-uk-nav":""};function pw(o,i){return l.openBlock(),l.createElementBlock("aside",dw,[l.createElementVNode("div",hw,[l.createElementVNode("ul",fw,[l.renderSlot(o.$slots,"default")])])])}const Lc=Ln(uw,[["render",pw]]),mw=["data-uk-icon"],gw={key:2,"uk-nav-parent-icon":"","data-test":"caret"},vw={class:"uk-nav-sub","data-test":"slot"},Mc=l.defineComponent({__name:"SideBarDropdown",props:{to:{default:""},label:{default:""},faIcon:{default:""},icon:{default:""},hideCaret:{type:Boolean,default:!1}},setup(o){return(i,a)=>{const r=l.resolveComponent("font-awesome-icon");return l.openBlock(),l.createBlock(l.unref(jn.RouterLink),l.mergeProps({to:i.to},i.$props,{custom:""}),{default:l.withCtx(({isActive:d})=>[l.createElementVNode("li",{class:l.normalizeClass(["uk-parent",{"uk-open":d}])},[l.createElementVNode("a",l.normalizeProps(l.guardReactiveProps(i.$attrs)),[i.icon?(l.openBlock(),l.createElementBlock("span",{key:0,"data-uk-icon":i.icon,class:"uk-margin-small-right","data-test":"icon"},null,8,mw)):l.createCommentVNode("",!0),i.faIcon?(l.openBlock(),l.createBlock(r,{key:1,class:"uk-margin-small-right",icon:i.faIcon,"data-test":"faIcon"},null,8,["icon"])):l.createCommentVNode("",!0),l.renderSlot(i.$slots,"label",{},()=>[l.createTextVNode(l.toDisplayString(i.label),1)]),i.hideCaret?l.createCommentVNode("",!0):(l.openBlock(),l.createElementBlock("span",gw))],16),l.createElementVNode("ul",vw,[l.renderSlot(i.$slots,"default")])],2)]),_:3},16,["to"])}}}),bw={key:0},ww=["href"],yw=["data-uk-icon"],kw=["href","onClick"],$w=["data-uk-icon"],Uc=l.defineComponent({__name:"SideBarItem",props:{to:{default:""},label:{default:""},faIcon:{default:""},icon:{default:""}},setup(o){const i=o,a=l.computed(()=>i.to===""||typeof i.to=="string"&&i.to.startsWith("http"));return(r,d)=>{const h=l.resolveComponent("font-awesome-icon");return a.value?(l.openBlock(),l.createElementBlock("li",bw,[l.createElementVNode("a",{href:r.to.toString(),target:"_blank"},[r.icon?(l.openBlock(),l.createElementBlock("span",{key:0,"data-uk-icon":r.icon,class:"uk-margin-small-right","data-test":"icon"},null,8,yw)):l.createCommentVNode("",!0),r.faIcon?(l.openBlock(),l.createBlock(h,{key:1,class:"uk-margin-small-right",icon:r.faIcon,"data-test":"faIcon"},null,8,["icon"])):l.createCommentVNode("",!0),l.renderSlot(r.$slots,"default",{},()=>[l.createTextVNode(l.toDisplayString(r.label),1)])],8,ww)])):(l.openBlock(),l.createBlock(l.unref(jn.RouterLink),l.mergeProps({key:1,to:r.to},r.$props,{custom:""}),{default:l.withCtx(({isActive:p,href:v,navigate:x})=>[l.createElementVNode("li",{class:l.normalizeClass({"uk-active":p})},[l.createElementVNode("a",l.mergeProps(r.$attrs,{href:v,onClick:x}),[r.icon?(l.openBlock(),l.createElementBlock("span",{key:0,"data-uk-icon":r.icon,class:"uk-margin-small-right","data-test":"icon"},null,8,$w)):l.createCommentVNode("",!0),r.faIcon?(l.openBlock(),l.createBlock(h,{key:1,class:"uk-margin-small-right",icon:r.faIcon,"data-test":"faIcon"},null,8,["icon"])):l.createCommentVNode("",!0),l.renderSlot(r.$slots,"default",{},()=>[l.createTextVNode(l.toDisplayString(r.label),1)])],16,kw)],2)]),_:3},16,["to"]))}}}),xw={class:"uk-nav-header"},zc=l.defineComponent({__name:"SideBarLabel",props:{label:{}},setup(o){return(i,a)=>(l.openBlock(),l.createElementBlock("li",xw,l.toDisplayString(i.label),1))}}),Ew={};function Sw(o,i){return l.openBlock(),l.createElementBlock("td",null,[l.renderSlot(o.$slots,"default")])}const Hc=Ln(Ew,[["render",Sw]]),_w={key:0,class:"uk-table-link uk-padding-small"},Cw={key:1,class:"uk-padding-small"},qc=l.defineComponent({__name:"SprunjeHeader",props:{sort:{}},setup(o){const i=l.inject("sprunjer"),{sorts:a,toggleSort:r}=i;return(d,h)=>{const p=l.resolveComponent("font-awesome-icon");return d.sort?(l.openBlock(),l.createElementBlock("th",_w,[l.createElementVNode("a",{class:"uk-link-reset",onClick:h[0]||(h[0]=v=>l.unref(r)(d.sort))},[l.renderSlot(d.$slots,"default"),l.unref(a)[d.sort]==="asc"?(l.openBlock(),l.createBlock(p,{key:0,icon:["fas","sort-up"],"fixed-width":"",class:"uk-align-right uk-margin-remove"})):l.unref(a)[d.sort]==="desc"?(l.openBlock(),l.createBlock(p,{key:1,icon:["fas","sort-down"],"fixed-width":"",class:"uk-align-right uk-margin-remove"})):(l.openBlock(),l.createBlock(p,{key:2,icon:["fas","sort"],"fixed-width":"",class:"uk-align-right uk-margin-remove"}))])])):(l.openBlock(),l.createElementBlock("th",Cw,[l.renderSlot(d.$slots,"default")]))}}}),Nw={class:"uk-child-width-auto","uk-grid":""},Tw={class:"uk-text-left uk-text-meta"},Bw={class:"uk-text-center uk-width-expand"},Ow=["value"],Pw={class:"uk-text-right"},Aw={"aria-label":"Pagination"},Rw={class:"uk-pagination uk-flex-right","uk-margin":""},Ds=l.defineComponent({__name:"SprunjePaginator",props:{rowsPerPageOptions:{default:()=>[5,10,20,50]}},setup(o){const i=l.inject("sprunjer"),{size:a,page:r,totalPages:d,countFiltered:h,first:p,last:v}=i;function x(b){r.value=b}return(b,w)=>{const B=l.resolveComponent("font-awesome-icon");return l.openBlock(),l.createElementBlock("div",Nw,[l.createElementVNode("div",Tw,[l.createElementVNode("span",null,"Showing "+l.toDisplayString(l.unref(p))+" - "+l.toDisplayString(l.unref(v))+" of "+l.toDisplayString(l.unref(h)),1)]),l.createElementVNode("div",Bw,[l.withDirectives(l.createElementVNode("select",{class:"uk-select uk-form-small uk-form-width-small","aria-label":"Select per page","onUpdate:modelValue":w[0]||(w[0]=E=>l.isRef(a)?a.value=E:null)},[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(b.rowsPerPageOptions,E=>(l.openBlock(),l.createElementBlock("option",{key:E,value:E},l.toDisplayString(E)+" per page ",9,Ow))),128))],512),[[l.vModelSelect,l.unref(a)]])]),l.createElementVNode("div",Pw,[l.createElementVNode("nav",Aw,[l.createElementVNode("ul",Rw,[l.createElementVNode("li",null,[l.createElementVNode("a",{onClick:w[1]||(w[1]=E=>x(0)),class:l.normalizeClass(["uk-icon-link",{"uk-disabled":l.unref(r)===0}])},[l.createVNode(B,{icon:"angles-left","fixed-width":""})],2)]),l.createElementVNode("li",null,[l.createElementVNode("a",{onClick:w[2]||(w[2]=E=>x(l.unref(r)-1)),class:l.normalizeClass(["uk-icon-link",{"uk-disabled":l.unref(r)===0}])},[l.createVNode(B,{icon:"angle-left","fixed-width":""})],2)]),l.createElementVNode("li",null,"Page "+l.toDisplayString(l.unref(r)+1)+" of "+l.toDisplayString(l.unref(d)+1),1),l.createElementVNode("li",null,[l.createElementVNode("a",{onClick:w[3]||(w[3]=E=>x(l.unref(r)+1)),class:l.normalizeClass(["uk-icon-link",{"uk-disabled":l.unref(r)===l.unref(d)}])},[l.createVNode(B,{icon:"angle-right","fixed-width":""})],2)]),l.createElementVNode("li",null,[l.createElementVNode("a",{onClick:w[4]||(w[4]=E=>x(l.unref(d))),class:l.normalizeClass(["uk-icon-link",{"uk-disabled":l.unref(r)===l.unref(d)}])},[l.createVNode(B,{icon:"angles-right","fixed-width":""})],2)])])])])])}}}),Dw={key:0,class:"uk-search uk-search-default"},Iw=["placeholder"],Fw=l.defineComponent({__name:"SprunjeSearch",props:{column:{type:String,required:!0},label:{type:String}},setup(o){const i=o,a=l.ref(""),r=l.inject("sprunjer"),{filters:d}=r;l.watch(a,()=>{d.value[i.column]=a.value});const h=l.computed(()=>i.label?"Search "+i.label+"...":"Search "+i.column+"...");return(p,v)=>o.column?(l.openBlock(),l.createElementBlock("div",Dw,[l.withDirectives(l.createElementVNode("input",{class:"uk-search-input uk-form-small",type:"search",placeholder:h.value,"aria-label":"Search","onUpdate:modelValue":v[0]||(v[0]=x=>a.value=x)},null,8,Iw),[[l.vModelText,a.value]]),v[1]||(v[1]=l.createElementVNode("span",{class:"uk-search-icon-flip","uk-search-icon":""},null,-1))])):l.createCommentVNode("",!0)}}),Vw=["placeholder","onUpdate:modelValue"],jw=l.defineComponent({__name:"SprunjeFilters",setup(o){const i=l.inject("sprunjer"),{data:a,filters:r}=i,d=l.computed(()=>a.value.filterable),h=()=>{r.value={}};return(p,v)=>{const x=l.resolveComponent("font-awesome-icon");return l.openBlock(),l.createElementBlock(l.Fragment,null,[v[1]||(v[1]=l.createElementVNode("h3",{class:"uk-heading-divider"},"Filters",-1)),(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(d.value,(b,w)=>(l.openBlock(),l.createElementBlock("dl",{class:"uk-description-list",key:w},[l.createElementVNode("dt",null,l.toDisplayString(b),1),l.createElementVNode("dd",null,[l.withDirectives(l.createElementVNode("input",{class:"uk-input",type:"text",placeholder:b,"onUpdate:modelValue":B=>l.unref(r)[b]=B},null,8,Vw),[[l.vModelText,l.unref(r)[b]]])])]))),128)),l.createElementVNode("button",{class:"uk-button uk-button-default uk-button-small",onClick:h},[l.createVNode(x,{icon:"xmark","fixed-width":""}),v[0]||(v[0]=l.createTextVNode(" Clear filters "))])],64)}}}),Lw={"uk-grid":"",class:"uk-child-width-1-2"},Mw={class:"uk-text-left"},Uw={class:"uk-text-right"},zw={"uk-grid":"",class:"uk-grid-small uk-grid-divider"},Hw={class:"uk-width-expand"},qw={class:"uk-table uk-table-striped uk-table-small"},Ww={key:0,class:"uk-width-1-4"},Wc=l.defineComponent({__name:"SprunjeTable",props:{dataUrl:{},hidePagination:{type:Boolean,default:!1},hideFilters:{type:Boolean,default:!1},defaultSorts:{default:()=>({})},defaultFilters:{default:()=>({})},defaultSize:{default:10},defaultPage:{default:0},searchColumn:{default:null}},setup(o){const i=l.ref(!1),a=op.useSprunjer(()=>o.dataUrl,o.defaultSorts,o.defaultFilters,o.defaultSize,o.defaultPage),{rows:r}=a;return l.provide("sprunjer",a),(d,h)=>{const p=l.resolveComponent("font-awesome-icon");return l.openBlock(),l.createElementBlock(l.Fragment,null,[l.createElementVNode("div",Lw,[l.createElementVNode("div",Mw,[l.renderSlot(d.$slots,"actions")]),l.createElementVNode("div",Uw,[l.renderSlot(d.$slots,"filters"),d.searchColumn?(l.openBlock(),l.createBlock(Fw,{key:0,column:d.searchColumn},null,8,["column"])):l.createCommentVNode("",!0),d.hideFilters?l.createCommentVNode("",!0):(l.openBlock(),l.createElementBlock("a",{key:1,class:"uk-button uk-button-default uk-button-small",onClick:h[0]||(h[0]=v=>i.value=!i.value)},[l.createVNode(p,{icon:"filter"})]))])]),l.createElementVNode("div",zw,[l.createElementVNode("div",Hw,[l.createElementVNode("table",qw,[l.createElementVNode("thead",null,[l.createElementVNode("tr",null,[l.renderSlot(d.$slots,"header")])]),l.createElementVNode("tbody",null,[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(l.unref(r),v=>(l.openBlock(),l.createElementBlock("tr",{key:v.id},[l.renderSlot(d.$slots,"body",{item:v})]))),128))])])]),i.value===!0?(l.openBlock(),l.createElementBlock("div",Ww,[l.createVNode(jw),l.renderSlot(d.$slots,"filterPanel")])):l.createCommentVNode("",!0)]),d.hidePagination?l.createCommentVNode("",!0):l.renderSlot(d.$slots,"paginator",{key:0},()=>[l.createVNode(Ds)])],64)}}}),Jw={install:o=>{o.component("UFAlertContainer",El).component("UFAppLink",Lo).component("UFInfoBox",Sl).component("UFCardBox",_l).component("UFCardBoxBig",Cl).component("UFMainContent",Nl).component("UFHeaderPage",Tl).component("UFFooterContent",Bl).component("UFFormLogin",Wo).component("UFFormRegister",As).component("UFFormForgotPassword",Rs).component("UFNavBar",Bc).component("UFNavBarDropdown",Qo).component("UFNavBarDropdownSeparator",Oc).component("UFNavBarItem",Pc).component("UFNavBarLogin",Ac).component("UFNavBarUserCard",Rc).component("UFNavBarUserCardButton",Dc).component("UFPageLogin",Ic).component("UFPageRegister",Fc).component("UFPageForgotPassword",Vc).component("UFPageResendVerification",jc).component("UFSideBar",Lc).component("UFSideBarDropdown",Mc).component("UFSideBarItem",Uc).component("UFSideBarLabel",zc).component("UFSprunjeColumn",Hc).component("UFSprunjeHeader",qc).component("UFSprunjePaginator",Ds).component("UFSprunjeTable",Wc)}};exports.FooterContent=Bl;exports.MainContent=Nl;exports.NavBarDropdownSeparator=Oc;exports.PinkCupcakeComponents=Jw;exports.SideBar=Lc;exports.SprunjeColumn=Hc;exports.UIkit=xs;exports._sfc_main=El;exports._sfc_main$1=Lo;exports._sfc_main$10=Qo;exports._sfc_main$11=Pc;exports._sfc_main$12=Ac;exports._sfc_main$13=Rc;exports._sfc_main$14=Dc;exports._sfc_main$15=Ic;exports._sfc_main$16=Fc;exports._sfc_main$17=Vc;exports._sfc_main$18=jc;exports._sfc_main$19=Mc;exports._sfc_main$2=Sl;exports._sfc_main$20=Uc;exports._sfc_main$21=zc;exports._sfc_main$22=qc;exports._sfc_main$23=Ds;exports._sfc_main$24=Wc;exports._sfc_main$3=_l;exports._sfc_main$4=Cl;exports._sfc_main$5=Tl;exports._sfc_main$6=Wo;exports._sfc_main$7=As;exports._sfc_main$8=Rs;exports._sfc_main$9=Bc;exports.commonjsGlobal=Ol;exports.getDefaultExportFromCjs=Pl; +`+h):r.stack=h}catch{}}throw r}}_request(i,a){typeof i=="string"?(a=a||{},a.url=i):a=i||{},a=Ve(this.defaults,a);const{transitional:r,paramsSerializer:d,headers:h}=a;r!==void 0&&ks.assertOptions(r,{silentJSONParsing:pe.transitional(pe.boolean),forcedJSONParsing:pe.transitional(pe.boolean),clarifyTimeoutError:pe.transitional(pe.boolean)},!1),d!=null&&(_.isFunction(d)?a.paramsSerializer={serialize:d}:ks.assertOptions(d,{encode:pe.function,serialize:pe.function},!0)),a.method=(a.method||this.defaults.method||"get").toLowerCase();let p=h&&_.merge(h.common,h[a.method]);h&&_.forEach(["delete","get","head","post","put","patch","common"],T=>{delete h[T]}),a.headers=Dt.concat(p,h);const v=[];let x=!0;this.interceptors.request.forEach(function(T){typeof T.runWhen=="function"&&T.runWhen(a)===!1||(x=x&&T.synchronous,v.unshift(T.fulfilled,T.rejected))});const b=[];this.interceptors.response.forEach(function(T){b.push(T.fulfilled,T.rejected)});let w,B=0,E;if(!x){const T=[kl.bind(this),void 0];for(T.unshift.apply(T,v),T.push.apply(T,b),E=T.length,w=Promise.resolve(a);B{if(!r._listeners)return;let h=r._listeners.length;for(;h-- >0;)r._listeners[h](d);r._listeners=null}),this.promise.then=d=>{let h;const p=new Promise(v=>{r.subscribe(v),h=v}).then(d);return p.cancel=function(){r.unsubscribe(h)},p},i(function(d,h,p){r.reason||(r.reason=new rn(d,h,p),a(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(i){if(this.reason){i(this.reason);return}this._listeners?this._listeners.push(i):this._listeners=[i]}unsubscribe(i){if(!this._listeners)return;const a=this._listeners.indexOf(i);a!==-1&&this._listeners.splice(a,1)}static source(){let i;return{token:new Ps(function(a){i=a}),cancel:i}}}function Hv(o){return function(i){return o.apply(null,i)}}function qv(o){return _.isObject(o)&&o.isAxiosError===!0}const $s={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries($s).forEach(([o,i])=>{$s[i]=o});function Nc(o){const i=new Ie(o),a=sc(Ie.prototype.request,i);return _.extend(a,Ie.prototype,i,{allOwnKeys:!0}),_.extend(a,i,null,{allOwnKeys:!0}),a.create=function(r){return Nc(Ve(o,r))},a}const vt=Nc(Hn);vt.Axios=Ie;vt.CanceledError=rn;vt.CancelToken=Ps;vt.isCancel=yc;vt.VERSION=Cc;vt.toFormData=Xo;vt.AxiosError=q;vt.Cancel=vt.CanceledError;vt.all=function(o){return Promise.all(o)};vt.spread=Hv;vt.isAxiosError=qv;vt.mergeConfig=Ve;vt.AxiosHeaders=Dt;vt.formToJSON=o=>wc(_.isHTMLForm(o)?new FormData(o):o);vt.getAdapter=_c.getAdapter;vt.HttpStatusCode=$s;vt.default=vt;const Wv=o=>{const i=typeof o;return o!==null&&(i==="object"||i==="function")},ls=new Set(["__proto__","prototype","constructor"]),Jv=new Set("0123456789");function Kv(o){const i=[];let a="",r="start",d=!1;for(const h of o)switch(h){case"\\":{if(r==="index")throw new Error("Invalid character in an index");if(r==="indexEnd")throw new Error("Invalid character after an index");d&&(a+=h),r="property",d=!d;break}case".":{if(r==="index")throw new Error("Invalid character in an index");if(r==="indexEnd"){r="property";break}if(d){d=!1,a+=h;break}if(ls.has(a))return[];i.push(a),a="",r="property";break}case"[":{if(r==="index")throw new Error("Invalid character in an index");if(r==="indexEnd"){r="index";break}if(d){d=!1,a+=h;break}if(r==="property"){if(ls.has(a))return[];i.push(a),a=""}r="index";break}case"]":{if(r==="index"){i.push(Number.parseInt(a,10)),a="",r="indexEnd";break}if(r==="indexEnd")throw new Error("Invalid character after an index")}default:{if(r==="index"&&!Jv.has(h))throw new Error("Invalid character in an index");if(r==="indexEnd")throw new Error("Invalid character after an index");r==="start"&&(r="property"),d&&(d=!1,a+="\\"),a+=h}}switch(d&&(a+="\\"),r){case"property":{if(ls.has(a))return[];i.push(a);break}case"index":throw new Error("Index was not closed");case"start":{i.push("");break}}return i}function Gv(o,i){if(typeof i!="number"&&Array.isArray(o)){const a=Number.parseInt(i,10);return Number.isInteger(a)&&o[a]===o[i]}return!1}function Xv(o,i,a){if(!Wv(o)||typeof i!="string")return a===void 0?o:a;const r=Kv(i);if(r.length===0)return a;for(let d=0;d({config:{}}),getters:{get:o=>(i,a)=>Xv(o.config,i,a)},actions:{async load(){vt.get("/api/config").then(o=>{this.config=o.data})}}});function Yv(){return{first_name:"",last_name:"",email:"",user_name:"",password:"",passwordc:"",locale:Tc().get("site.registration.user_defaults.locale","en_US"),captcha:"",spiderbro:"http://"}}function Qv(){return Tc().get("locales.available")}function Zv(){return"/account/captcha"}async function tb(o){return lt.post("/account/register",o).then(i=>i.data).catch(i=>{throw{description:"An error as occurred",style:ie.Danger,closeBtn:!0,...i.response.data}})}const eb=Object.freeze(Object.defineProperty({__proto__:null,doRegister:tb,getAvailableLocales:Qv,getCaptchaUrl:Zv,getDefaultForm:Yv},Symbol.toStringTag,{value:"Module"}));async function nb(o){return lt.post("/account/forgot-password",{email:o}).then(i=>({description:i.data.message,style:ie.Success,closeBtn:!0})).catch(i=>{throw{description:"An error as occurred",style:ie.Danger,closeBtn:!0,...i.response.data}})}async function ob(o){return lt.post("/account/resend-verification",{email:o}).then(i=>({description:i.data.message,style:ie.Success,closeBtn:!0})).catch(i=>{throw{description:"An error as occurred",style:ie.Danger,closeBtn:!0,...i.response.data}})}const ib={class:"uk-fieldset uk-form-stacked"},sb={class:"uk-margin"},rb={class:"uk-form-controls uk-grid-small","uk-grid":""},ab={class:"uk-width-1-2"},lb={class:"uk-width-1-2"},cb={class:"uk-width-1-1"},ub={class:"uk-margin"},db={class:"uk-margin"},hb={class:"uk-form-controls uk-grid-small","uk-grid":""},fb={class:"uk-width-1-2"},pb={class:"uk-width-1-2"},mb={class:"uk-margin"},gb=["value"],vb={class:"uk-margin"},bb={class:"uk-form-controls uk-grid-small","uk-grid":""},wb={class:"uk-width-2-3"},yb={class:"uk-width-1-3"},kb=["src"],$b={class:"uk-text-center"},xb=["disabled"],As=l.defineComponent({__name:"FormRegister",setup(o){const{getDefaultForm:i,doRegister:a,getAvailableLocales:r,getCaptchaUrl:d}=eb,h=l.ref(!1),p=l.ref();let v=i();async function x(){h.value=!0,p.value=null,await a(v).then(b=>{xs.notification({message:"Succesfully registered "+(b==null?void 0:b.full_name)+"!",status:"success",pos:"bottom-right",timeout:4e3})}).catch(b=>{p.value=b}).finally(()=>{h.value=!1})}return(b,w)=>{const B=l.resolveComponent("UFAlertContainer");return l.openBlock(),l.createElementBlock("form",{onSubmit:w[8]||(w[8]=l.withModifiers(E=>x(),["prevent"]))},[l.createElementVNode("fieldset",ib,[p.value?(l.openBlock(),l.createBlock(B,{key:0,"data-test":"error",alert:p.value},null,8,["alert"])):l.createCommentVNode("",!0),l.createElementVNode("div",sb,[w[9]||(w[9]=l.createElementVNode("label",{class:"uk-form-label",for:"first_name"},"Name and email",-1)),l.createElementVNode("div",rb,[l.createElementVNode("div",ab,[l.withDirectives(l.createElementVNode("input",{class:"uk-input",type:"text",placeholder:"First Name","aria-label":"First Name",id:"first_name","data-test":"first_name","onUpdate:modelValue":w[0]||(w[0]=E=>l.unref(v).first_name=E)},null,512),[[l.vModelText,l.unref(v).first_name]])]),l.createElementVNode("div",lb,[l.withDirectives(l.createElementVNode("input",{class:"uk-input",type:"text",placeholder:"Last Name","aria-label":"Last Name","data-test":"last_name","onUpdate:modelValue":w[1]||(w[1]=E=>l.unref(v).last_name=E)},null,512),[[l.vModelText,l.unref(v).last_name]])]),l.createElementVNode("div",cb,[l.withDirectives(l.createElementVNode("input",{class:"uk-input",type:"email",placeholder:"Email","aria-label":"Email","data-test":"email","onUpdate:modelValue":w[2]||(w[2]=E=>l.unref(v).email=E)},null,512),[[l.vModelText,l.unref(v).email]])])])]),l.createElementVNode("div",ub,[w[10]||(w[10]=l.createElementVNode("label",{class:"uk-form-label",for:"form-stacked-text"},"Username",-1)),l.withDirectives(l.createElementVNode("input",{class:"uk-input",type:"text",placeholder:"Username","aria-label":"Username","data-test":"username","onUpdate:modelValue":w[3]||(w[3]=E=>l.unref(v).user_name=E)},null,512),[[l.vModelText,l.unref(v).user_name]])]),l.createElementVNode("div",db,[w[11]||(w[11]=l.createElementVNode("label",{class:"uk-form-label",for:"form-stacked-text"},"Password",-1)),l.createElementVNode("div",hb,[l.createElementVNode("div",fb,[l.withDirectives(l.createElementVNode("input",{class:"uk-input",type:"password",placeholder:"Password","aria-label":"Password","data-test":"password","onUpdate:modelValue":w[4]||(w[4]=E=>l.unref(v).password=E)},null,512),[[l.vModelText,l.unref(v).password]])]),l.createElementVNode("div",pb,[l.withDirectives(l.createElementVNode("input",{class:"uk-input",type:"password",placeholder:"Confirm Password","aria-label":"Confirm Password","data-test":"passwordc","onUpdate:modelValue":w[5]||(w[5]=E=>l.unref(v).passwordc=E)},null,512),[[l.vModelText,l.unref(v).passwordc]])])])]),l.createElementVNode("div",mb,[w[12]||(w[12]=l.createElementVNode("label",{class:"uk-form-label",for:"form-stacked-text"},"Locale",-1)),l.withDirectives(l.createElementVNode("select",{class:"uk-select",id:"form-stacked-select","data-test":"locale","onUpdate:modelValue":w[6]||(w[6]=E=>l.unref(v).locale=E)},[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(l.unref(r)(),(E,O)=>(l.openBlock(),l.createElementBlock("option",{value:O,key:O},l.toDisplayString(E),9,gb))),128))],512),[[l.vModelSelect,l.unref(v).locale]])]),l.createElementVNode("div",vb,[w[13]||(w[13]=l.createElementVNode("label",{class:"uk-form-label",for:"r-form-captcha"},"Captcha",-1)),l.createElementVNode("div",bb,[l.createElementVNode("div",wb,[l.withDirectives(l.createElementVNode("input",{class:"uk-input",type:"password",placeholder:"Captcha","aria-label":"Captcha",id:"r-form-captcha","data-test":"captcha","onUpdate:modelValue":w[7]||(w[7]=E=>l.unref(v).captcha=E)},null,512),[[l.vModelText,l.unref(v).captcha]])]),l.createElementVNode("div",yb,[l.createElementVNode("img",{src:l.unref(d)(),id:"captcha","data-target":"#r-form-captcha"},null,8,kb)])])]),w[14]||(w[14]=l.createElementVNode("p",null,[l.createTextVNode(" By registering an account with UserFrosting, you accept "),l.createElementVNode("a",null,"the terms and conditions"),l.createTextVNode(". ")],-1)),l.createElementVNode("div",$b,[l.createElementVNode("button",{class:"uk-button uk-button-primary",disabled:h.value},"Sign me up",8,xb)])])],32)}}}),Eb={class:"uk-fieldset"},Sb={class:"uk-margin"},_b={class:"uk-inline uk-width-1-1"},Cb={class:"uk-text-center"},Nb=["disabled"],Rs=l.defineComponent({__name:"FormForgotPassword",setup(o){const i=l.ref(!1),a=l.ref();let r="";async function d(){i.value=!0,a.value=null,await nb(r).then(h=>{a.value=h}).catch(h=>{a.value=h}).finally(()=>{i.value=!1})}return(h,p)=>{const v=l.resolveComponent("UFAlertContainer");return l.openBlock(),l.createElementBlock("form",{onSubmit:p[1]||(p[1]=l.withModifiers(x=>d(),["prevent"]))},[l.createElementVNode("fieldset",Eb,[a.value?(l.openBlock(),l.createBlock(v,{key:0,"data-test":"error",alert:a.value},null,8,["alert"])):l.createCommentVNode("",!0),l.createElementVNode("div",Sb,[l.createElementVNode("div",_b,[p[2]||(p[2]=l.createElementVNode("span",{class:"uk-form-icon","uk-icon":"icon: mail"},null,-1)),l.withDirectives(l.createElementVNode("input",{class:"uk-input",type:"email",placeholder:"Email","aria-label":"Email","data-test":"email","onUpdate:modelValue":p[0]||(p[0]=x=>l.isRef(r)?r.value=x:r=x)},null,512),[[l.vModelText,l.unref(r)]])])]),l.createElementVNode("div",Cb,[l.createElementVNode("button",{class:"uk-button uk-button-primary",disabled:i.value,"data-test":"submit"}," Email Password Reset Link ",8,Nb)])])],32)}}}),Tb={"uk-sticky":"sel-target: .uk-navbar-container; cls-active: uk-navbar-sticky"},Bb={class:"uk-navbar-container"},Ob={class:"uk-container uk-container-expand"},Pb={class:"uk-navbar","uk-navbar":""},Ab={class:"uk-navbar-left","data-test":"navbar-left"},Rb={class:"uk-navbar-right","data-test":"navbar-right"},Db={class:"uk-navbar-nav"},Bc=l.defineComponent({__name:"NavBar",props:{to:{default:""},title:{default:""}},setup(o){return(i,a)=>(l.openBlock(),l.createElementBlock("header",null,[l.createElementVNode("div",Tb,[l.createElementVNode("div",Bb,[l.createElementVNode("div",Ob,[l.createElementVNode("nav",Pb,[l.createElementVNode("div",Ab,[l.createVNode(Lo,{to:i.to,class:"uk-navbar-item uk-logo",label:""},{default:l.withCtx(()=>[l.renderSlot(i.$slots,"title",{},()=>[l.createTextVNode(l.toDisplayString(i.title),1)])]),_:3},8,["to"])]),l.createElementVNode("div",Rb,[l.createElementVNode("ul",Db,[l.renderSlot(i.$slots,"default")])])])])])])]))}}),Ib={"data-test":"label"},Fb={class:"uk-navbar-dropdown","uk-dropdown":"offset: 0px"},Vb={class:"uk-nav uk-navbar-dropdown-nav","data-test":"slot"},Qo=l.defineComponent({__name:"NavBarDropdown",props:{label:{default:""}},setup(o){return(i,a)=>(l.openBlock(),l.createElementBlock("li",null,[l.createElementVNode("a",Ib,[l.renderSlot(i.$slots,"label",{},()=>[l.createTextVNode(l.toDisplayString(i.label),1)]),a[0]||(a[0]=l.createTextVNode()),a[1]||(a[1]=l.createElementVNode("span",{"uk-navbar-parent-icon":""},null,-1))]),l.createElementVNode("div",Fb,[l.createElementVNode("ul",Vb,[l.renderSlot(i.$slots,"default")])])]))}}),jb={},Lb={class:"uk-nav-divider"};function Mb(o,i){return l.openBlock(),l.createElementBlock("li",Lb)}const Oc=Ln(jb,[["render",Mb]]),Ub={key:0},zb=["href"],Hb=["href","onClick"],Pc=l.defineComponent({__name:"NavBarItem",props:{to:{default:""},label:{default:""}},setup(o){const i=o,a=l.computed(()=>i.to===""||typeof i.to=="string"&&i.to.startsWith("http"));return(r,d)=>a.value?(l.openBlock(),l.createElementBlock("li",Ub,[l.createElementVNode("a",{href:r.to.toString(),target:"_blank"},[l.renderSlot(r.$slots,"default",{},()=>[l.createTextVNode(l.toDisplayString(r.label),1)])],8,zb)])):(l.openBlock(),l.createBlock(l.unref(jn.RouterLink),l.mergeProps({key:1,to:r.to},r.$props,{custom:""}),{default:l.withCtx(({isActive:h,href:p,navigate:v})=>[l.createElementVNode("li",{class:l.normalizeClass({"uk-active":h})},[l.createElementVNode("a",l.mergeProps(r.$attrs,{href:p,onClick:v}),[l.renderSlot(r.$slots,"default",{},()=>[l.createTextVNode(l.toDisplayString(r.label),1)])],16,Hb)],2)]),_:3},16,["to"]))}}),qb={class:"uk-text-center"},Ac=l.defineComponent({__name:"NavBarLogin",setup(o){return(i,a)=>(l.openBlock(),l.createBlock(Qo,{label:"Login",class:"uf-nav-login uk-text-center"},{default:l.withCtx(()=>[l.createVNode(Wo),l.createElementVNode("div",qb,[l.createElementVNode("button",{class:"uk-button uk-button-default",onClick:a[0]||(a[0]=r=>i.$emit("gotoRegistration")),"data-test":"gotoRegistration"}," Register ")]),l.renderSlot(i.$slots,"default")]),_:3}))}}),Wb={key:0,"data-test":"username"},Jb=["src"],Kb={class:"uk-margin"},Gb=["src"],Xb={key:1,class:"uk-margin-remove","data-test":"username"},Yb={key:2,class:"uk-margin-remove uk-text-meta","data-test":"meta"},Rc=l.defineComponent({__name:"NavBarUserCard",props:{username:{default:""},avatar:{default:""},meta:{default:""}},setup(o){return(i,a)=>(l.openBlock(),l.createBlock(Qo,{class:"uf-nav-user uk-text-center"},{label:l.withCtx(()=>[i.username?(l.openBlock(),l.createElementBlock("span",Wb,l.toDisplayString(i.username),1)):l.createCommentVNode("",!0),i.avatar?(l.openBlock(),l.createElementBlock("img",{key:1,src:i.avatar,alt:"avatar",class:"uk-border-circle"},null,8,Jb)):l.createCommentVNode("",!0)]),default:l.withCtx(()=>[l.createElementVNode("div",Kb,[i.avatar?(l.openBlock(),l.createElementBlock("img",{key:0,src:i.avatar,alt:"avatar",class:"uk-border-circle","uk-height-match":""},null,8,Gb)):l.createCommentVNode("",!0),i.username?(l.openBlock(),l.createElementBlock("p",Xb,l.toDisplayString(i.username),1)):l.createCommentVNode("",!0),i.meta?(l.openBlock(),l.createElementBlock("p",Yb,"("+l.toDisplayString(i.meta)+")",1)):l.createCommentVNode("",!0)]),l.renderSlot(i.$slots,"default",{dataTest:"slot"})]),_:3}))}}),Qb={key:0},Zb=["href"],tw={key:1},Dc=l.defineComponent({__name:"NavBarUserCardButton",props:{to:{default:""},label:{default:""}},setup(o){const i=o,a=l.computed(()=>typeof i.to=="string"&&i.to.startsWith("http"));return(r,d)=>a.value?(l.openBlock(),l.createElementBlock("li",Qb,[l.createElementVNode("a",{class:"uk-button uk-button-default uk-button-small uk-text-center",href:r.to.toString(),target:"_blank"},[l.renderSlot(r.$slots,"default",{},()=>[l.createTextVNode(l.toDisplayString(r.label),1)])],8,Zb)])):(l.openBlock(),l.createElementBlock("li",tw,[l.createVNode(l.unref(jn.RouterLink),{to:r.to,class:"uk-button uk-button-default uk-button-small uk-text-center"},{default:l.withCtx(()=>[l.renderSlot(r.$slots,"default",{},()=>[l.createTextVNode(l.toDisplayString(r.label),1)])]),_:3},8,["to"])]))}}),ew={class:"uk-list"},nw={class:"uk-text-center"},Ic=l.defineComponent({__name:"PageLogin",setup(o){return(i,a)=>{const r=l.resolveComponent("font-awesome-icon"),d=l.resolveComponent("UFCardBoxBig");return l.openBlock(),l.createBlock(d,null,{default:l.withCtx(()=>[a[5]||(a[5]=l.createElementVNode("h3",{class:"uk-card-title"},"Login",-1)),l.createVNode(Wo),l.createElementVNode("ul",ew,[l.createElementVNode("li",null,[l.createElementVNode("a",{onClick:a[0]||(a[0]=h=>i.$emit("gotoForgotPassword")),"data-test":"gotoForgotPassword"},"Forgot your password?")]),l.createElementVNode("li",null,[l.createElementVNode("a",{onClick:a[1]||(a[1]=h=>i.$emit("gotoResendVerification")),"data-test":"gotoResendVerification"},"Resend verification email")])]),a[6]||(a[6]=l.createElementVNode("hr",null,null,-1)),l.createElementVNode("div",nw,[a[4]||(a[4]=l.createElementVNode("p",null,"You don't have an account yet?",-1)),l.createElementVNode("button",{class:"uk-button uk-button-default",onClick:a[2]||(a[2]=h=>i.$emit("gotoRegistration")),"data-test":"gotoRegistration"},[l.createVNode(r,{icon:["fas","user-plus"]}),a[3]||(a[3]=l.createTextVNode(" Register "))])])]),_:1})}}}),ow={class:"uk-text-center"},Fc=l.defineComponent({__name:"PageRegister",setup(o){return(i,a)=>{const r=l.resolveComponent("font-awesome-icon"),d=l.resolveComponent("UFCardBoxBig");return l.openBlock(),l.createBlock(d,null,{default:l.withCtx(()=>[a[3]||(a[3]=l.createElementVNode("h3",{class:"uk-card-title"},"Register",-1)),l.createVNode(As),a[4]||(a[4]=l.createElementVNode("hr",null,null,-1)),l.createElementVNode("div",ow,[a[2]||(a[2]=l.createElementVNode("p",null,"Already have an account ?",-1)),l.createElementVNode("button",{class:"uk-button uk-button-default",onClick:a[0]||(a[0]=h=>i.$emit("gotoLogin")),"data-test":"gotoLogin"},[l.createVNode(r,{icon:["fas","right-to-bracket"]}),a[1]||(a[1]=l.createTextVNode(" Login "))])])]),_:1})}}}),Vc=l.defineComponent({__name:"PageForgotPassword",setup(o){return(i,a)=>{const r=l.resolveComponent("UFCardBoxBig");return l.openBlock(),l.createBlock(r,null,{default:l.withCtx(()=>[a[0]||(a[0]=l.createElementVNode("h3",{class:"uk-card-title"},"Forgotten Password",-1)),a[1]||(a[1]=l.createElementVNode("p",null," Please enter the email address you used to sign up. A link with instructions to reset your password will be emailed to you. ",-1)),l.createVNode(Rs)]),_:1})}}}),iw={class:"uk-fieldset"},sw={class:"uk-margin"},rw={class:"uk-inline uk-width-1-1"},aw={class:"uk-text-center"},lw=["disabled"],cw=l.defineComponent({__name:"FormResendVerification",setup(o){const i=l.ref(!1),a=l.ref();let r="";async function d(){i.value=!0,a.value=null,await ob(r).then(h=>{a.value=h}).catch(h=>{a.value=h}).finally(()=>{i.value=!1})}return(h,p)=>{const v=l.resolveComponent("UFAlertContainer");return l.openBlock(),l.createElementBlock("form",{onSubmit:p[1]||(p[1]=l.withModifiers(x=>d(),["prevent"]))},[l.createElementVNode("fieldset",iw,[a.value?(l.openBlock(),l.createBlock(v,{key:0,"data-test":"error",alert:a.value},null,8,["alert"])):l.createCommentVNode("",!0),l.createElementVNode("div",sw,[l.createElementVNode("div",rw,[p[2]||(p[2]=l.createElementVNode("span",{class:"uk-form-icon","uk-icon":"icon: mail"},null,-1)),l.withDirectives(l.createElementVNode("input",{class:"uk-input",type:"email",placeholder:"Email","aria-label":"Email","data-test":"email","onUpdate:modelValue":p[0]||(p[0]=x=>l.isRef(r)?r.value=x:r=x)},null,512),[[l.vModelText,l.unref(r)]])])]),l.createElementVNode("div",aw,[l.createElementVNode("button",{class:"uk-button uk-button-primary",disabled:i.value,"data-test":"submit"}," Email the verification link for my account ",8,lw)])])],32)}}}),jc=l.defineComponent({__name:"PageResendVerification",setup(o){return(i,a)=>{const r=l.resolveComponent("UFCardBoxBig");return l.openBlock(),l.createBlock(r,null,{default:l.withCtx(()=>[a[0]||(a[0]=l.createElementVNode("h3",{class:"uk-card-title"},"Resend Verification Email",-1)),a[1]||(a[1]=l.createElementVNode("p",null," Please enter the email address you used to sign up, and your verification email will be resent. ",-1)),l.createVNode(cw)]),_:1})}}}),uw={},dw={class:"uf-sidebar-left uk-light uk-visible@m"},hw={class:"left-nav-wrap"},fw={class:"uk-nav uk-nav-default","data-uk-nav":""};function pw(o,i){return l.openBlock(),l.createElementBlock("aside",dw,[l.createElementVNode("div",hw,[l.createElementVNode("ul",fw,[l.renderSlot(o.$slots,"default")])])])}const Lc=Ln(uw,[["render",pw]]),mw=["data-uk-icon"],gw={key:2,"uk-nav-parent-icon":"","data-test":"caret"},vw={class:"uk-nav-sub","data-test":"slot"},Mc=l.defineComponent({__name:"SideBarDropdown",props:{to:{default:""},label:{default:""},faIcon:{default:""},icon:{default:""},hideCaret:{type:Boolean,default:!1}},setup(o){return(i,a)=>{const r=l.resolveComponent("font-awesome-icon");return l.openBlock(),l.createBlock(l.unref(jn.RouterLink),l.mergeProps({to:i.to},i.$props,{custom:""}),{default:l.withCtx(({isActive:d})=>[l.createElementVNode("li",{class:l.normalizeClass(["uk-parent",{"uk-open":d}])},[l.createElementVNode("a",l.normalizeProps(l.guardReactiveProps(i.$attrs)),[i.icon?(l.openBlock(),l.createElementBlock("span",{key:0,"data-uk-icon":i.icon,class:"uk-margin-small-right","data-test":"icon"},null,8,mw)):l.createCommentVNode("",!0),i.faIcon?(l.openBlock(),l.createBlock(r,{key:1,class:"uk-margin-small-right",icon:i.faIcon,"data-test":"faIcon"},null,8,["icon"])):l.createCommentVNode("",!0),l.renderSlot(i.$slots,"label",{},()=>[l.createTextVNode(l.toDisplayString(i.label),1)]),i.hideCaret?l.createCommentVNode("",!0):(l.openBlock(),l.createElementBlock("span",gw))],16),l.createElementVNode("ul",vw,[l.renderSlot(i.$slots,"default")])],2)]),_:3},16,["to"])}}}),bw={key:0},ww=["href"],yw=["data-uk-icon"],kw=["href","onClick"],$w=["data-uk-icon"],Uc=l.defineComponent({__name:"SideBarItem",props:{to:{default:""},label:{default:""},faIcon:{default:""},icon:{default:""}},setup(o){const i=o,a=l.computed(()=>i.to===""||typeof i.to=="string"&&i.to.startsWith("http"));return(r,d)=>{const h=l.resolveComponent("font-awesome-icon");return a.value?(l.openBlock(),l.createElementBlock("li",bw,[l.createElementVNode("a",{href:r.to.toString(),target:"_blank"},[r.icon?(l.openBlock(),l.createElementBlock("span",{key:0,"data-uk-icon":r.icon,class:"uk-margin-small-right","data-test":"icon"},null,8,yw)):l.createCommentVNode("",!0),r.faIcon?(l.openBlock(),l.createBlock(h,{key:1,class:"uk-margin-small-right",icon:r.faIcon,"data-test":"faIcon"},null,8,["icon"])):l.createCommentVNode("",!0),l.renderSlot(r.$slots,"default",{},()=>[l.createTextVNode(l.toDisplayString(r.label),1)])],8,ww)])):(l.openBlock(),l.createBlock(l.unref(jn.RouterLink),l.mergeProps({key:1,to:r.to},r.$props,{custom:""}),{default:l.withCtx(({isActive:p,href:v,navigate:x})=>[l.createElementVNode("li",{class:l.normalizeClass({"uk-active":p})},[l.createElementVNode("a",l.mergeProps(r.$attrs,{href:v,onClick:x}),[r.icon?(l.openBlock(),l.createElementBlock("span",{key:0,"data-uk-icon":r.icon,class:"uk-margin-small-right","data-test":"icon"},null,8,$w)):l.createCommentVNode("",!0),r.faIcon?(l.openBlock(),l.createBlock(h,{key:1,class:"uk-margin-small-right",icon:r.faIcon,"data-test":"faIcon"},null,8,["icon"])):l.createCommentVNode("",!0),l.renderSlot(r.$slots,"default",{},()=>[l.createTextVNode(l.toDisplayString(r.label),1)])],16,kw)],2)]),_:3},16,["to"]))}}}),xw={class:"uk-nav-header"},zc=l.defineComponent({__name:"SideBarLabel",props:{label:{}},setup(o){return(i,a)=>(l.openBlock(),l.createElementBlock("li",xw,l.toDisplayString(i.label),1))}}),Ew={};function Sw(o,i){return l.openBlock(),l.createElementBlock("td",null,[l.renderSlot(o.$slots,"default")])}const Hc=Ln(Ew,[["render",Sw]]),_w={key:0,class:"uk-table-link uk-padding-small"},Cw={key:1,class:"uk-padding-small"},qc=l.defineComponent({__name:"SprunjeHeader",props:{sort:{}},setup(o){const i=l.inject("sprunjer"),{sorts:a,toggleSort:r}=i;return(d,h)=>{const p=l.resolveComponent("font-awesome-icon");return d.sort?(l.openBlock(),l.createElementBlock("th",_w,[l.createElementVNode("a",{class:"uk-link-reset",onClick:h[0]||(h[0]=v=>l.unref(r)(d.sort))},[l.renderSlot(d.$slots,"default"),l.unref(a)[d.sort]==="asc"?(l.openBlock(),l.createBlock(p,{key:0,icon:["fas","sort-up"],"fixed-width":"",class:"uk-align-right uk-margin-remove"})):l.unref(a)[d.sort]==="desc"?(l.openBlock(),l.createBlock(p,{key:1,icon:["fas","sort-down"],"fixed-width":"",class:"uk-align-right uk-margin-remove"})):(l.openBlock(),l.createBlock(p,{key:2,icon:["fas","sort"],"fixed-width":"",class:"uk-align-right uk-margin-remove"}))])])):(l.openBlock(),l.createElementBlock("th",Cw,[l.renderSlot(d.$slots,"default")]))}}}),Nw={class:"uk-child-width-auto","uk-grid":""},Tw={class:"uk-text-left uk-text-meta"},Bw={class:"uk-text-center uk-width-expand"},Ow=["value"],Pw={class:"uk-text-right"},Aw={"aria-label":"Pagination"},Rw={class:"uk-pagination uk-flex-right","uk-margin":""},Ds=l.defineComponent({__name:"SprunjePaginator",props:{rowsPerPageOptions:{default:()=>[5,10,20,50]}},setup(o){const i=l.inject("sprunjer"),{size:a,page:r,totalPages:d,countFiltered:h,first:p,last:v}=i;function x(b){r.value=b}return(b,w)=>{const B=l.resolveComponent("font-awesome-icon");return l.openBlock(),l.createElementBlock("div",Nw,[l.createElementVNode("div",Tw,[l.createElementVNode("span",null,"Showing "+l.toDisplayString(l.unref(p))+" - "+l.toDisplayString(l.unref(v))+" of "+l.toDisplayString(l.unref(h)),1)]),l.createElementVNode("div",Bw,[l.withDirectives(l.createElementVNode("select",{class:"uk-select uk-form-small uk-form-width-small","aria-label":"Select per page","onUpdate:modelValue":w[0]||(w[0]=E=>l.isRef(a)?a.value=E:null)},[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(b.rowsPerPageOptions,E=>(l.openBlock(),l.createElementBlock("option",{key:E,value:E},l.toDisplayString(E)+" per page ",9,Ow))),128))],512),[[l.vModelSelect,l.unref(a)]])]),l.createElementVNode("div",Pw,[l.createElementVNode("nav",Aw,[l.createElementVNode("ul",Rw,[l.createElementVNode("li",null,[l.createElementVNode("a",{onClick:w[1]||(w[1]=E=>x(0)),class:l.normalizeClass(["uk-icon-link",{"uk-disabled":l.unref(r)===0}])},[l.createVNode(B,{icon:"angles-left","fixed-width":""})],2)]),l.createElementVNode("li",null,[l.createElementVNode("a",{onClick:w[2]||(w[2]=E=>x(l.unref(r)-1)),class:l.normalizeClass(["uk-icon-link",{"uk-disabled":l.unref(r)===0}])},[l.createVNode(B,{icon:"angle-left","fixed-width":""})],2)]),l.createElementVNode("li",null,"Page "+l.toDisplayString(l.unref(r)+1)+" of "+l.toDisplayString(l.unref(d)+1),1),l.createElementVNode("li",null,[l.createElementVNode("a",{onClick:w[3]||(w[3]=E=>x(l.unref(r)+1)),class:l.normalizeClass(["uk-icon-link",{"uk-disabled":l.unref(r)===l.unref(d)}])},[l.createVNode(B,{icon:"angle-right","fixed-width":""})],2)]),l.createElementVNode("li",null,[l.createElementVNode("a",{onClick:w[4]||(w[4]=E=>x(l.unref(d))),class:l.normalizeClass(["uk-icon-link",{"uk-disabled":l.unref(r)===l.unref(d)}])},[l.createVNode(B,{icon:"angles-right","fixed-width":""})],2)])])])])])}}}),Dw={key:0,class:"uk-search uk-search-default"},Iw=["placeholder"],Fw=l.defineComponent({__name:"SprunjeSearch",props:{column:{type:String,required:!0},label:{type:String}},setup(o){const i=o,a=l.inject("sprunjer"),{filters:r}=a,d=l.computed(()=>i.label?"Search "+i.label+"...":"Search "+i.column+"...");return(h,p)=>o.column?(l.openBlock(),l.createElementBlock("div",Dw,[l.withDirectives(l.createElementVNode("input",{class:"uk-search-input uk-form-small",type:"search",placeholder:d.value,"aria-label":"Search","onUpdate:modelValue":p[0]||(p[0]=v=>l.unref(r)[o.column]=v)},null,8,Iw),[[l.vModelText,l.unref(r)[o.column]]]),p[1]||(p[1]=l.createElementVNode("span",{class:"uk-search-icon-flip","uk-search-icon":""},null,-1))])):l.createCommentVNode("",!0)}}),Vw=["placeholder","onUpdate:modelValue"],jw=l.defineComponent({__name:"SprunjeFilters",setup(o){const i=l.inject("sprunjer"),{data:a,filters:r}=i,d=l.computed(()=>a.value.filterable),h=()=>{r.value={}};return(p,v)=>{const x=l.resolveComponent("font-awesome-icon");return l.openBlock(),l.createElementBlock(l.Fragment,null,[v[1]||(v[1]=l.createElementVNode("h3",{class:"uk-heading-divider"},"Filters",-1)),(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(d.value,(b,w)=>(l.openBlock(),l.createElementBlock("dl",{class:"uk-description-list",key:w},[l.createElementVNode("dt",null,l.toDisplayString(b),1),l.createElementVNode("dd",null,[l.withDirectives(l.createElementVNode("input",{class:"uk-input",type:"text",placeholder:b,"onUpdate:modelValue":B=>l.unref(r)[b]=B},null,8,Vw),[[l.vModelText,l.unref(r)[b]]])])]))),128)),l.createElementVNode("button",{class:"uk-button uk-button-default uk-button-small",onClick:h},[l.createVNode(x,{icon:"xmark","fixed-width":""}),v[0]||(v[0]=l.createTextVNode(" Clear filters "))])],64)}}}),Lw={"uk-grid":"",class:"uk-child-width-1-2"},Mw={class:"uk-text-left"},Uw={class:"uk-text-right"},zw={"uk-grid":"",class:"uk-grid-small uk-grid-divider"},Hw={class:"uk-width-expand"},qw={class:"uk-table uk-table-striped uk-table-small"},Ww={key:0,class:"uk-width-1-4"},Wc=l.defineComponent({__name:"SprunjeTable",props:{dataUrl:{},hidePagination:{type:Boolean,default:!1},hideFilters:{type:Boolean,default:!1},defaultSorts:{default:()=>({})},defaultFilters:{default:()=>({})},defaultSize:{default:10},defaultPage:{default:0},searchColumn:{default:null}},setup(o){const i=l.ref(!1),a=op.useSprunjer(()=>o.dataUrl,o.defaultSorts,o.defaultFilters,o.defaultSize,o.defaultPage),{rows:r}=a;return l.provide("sprunjer",a),(d,h)=>{const p=l.resolveComponent("font-awesome-icon");return l.openBlock(),l.createElementBlock(l.Fragment,null,[l.createElementVNode("div",Lw,[l.createElementVNode("div",Mw,[l.renderSlot(d.$slots,"actions")]),l.createElementVNode("div",Uw,[l.renderSlot(d.$slots,"filters"),d.searchColumn?(l.openBlock(),l.createBlock(Fw,{key:0,column:d.searchColumn},null,8,["column"])):l.createCommentVNode("",!0),d.hideFilters?l.createCommentVNode("",!0):(l.openBlock(),l.createElementBlock("a",{key:1,class:"uk-button uk-button-default uk-button-small",onClick:h[0]||(h[0]=v=>i.value=!i.value)},[l.createVNode(p,{icon:"filter"})]))])]),l.createElementVNode("div",zw,[l.createElementVNode("div",Hw,[l.createElementVNode("table",qw,[l.createElementVNode("thead",null,[l.createElementVNode("tr",null,[l.renderSlot(d.$slots,"header")])]),l.createElementVNode("tbody",null,[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(l.unref(r),v=>(l.openBlock(),l.createElementBlock("tr",{key:v.id},[l.renderSlot(d.$slots,"body",{item:v})]))),128))])])]),i.value===!0?(l.openBlock(),l.createElementBlock("div",Ww,[l.createVNode(jw),l.renderSlot(d.$slots,"filterPanel")])):l.createCommentVNode("",!0)]),d.hidePagination?l.createCommentVNode("",!0):l.renderSlot(d.$slots,"paginator",{key:0},()=>[l.createVNode(Ds)])],64)}}}),Jw={install:o=>{o.component("UFAlertContainer",El).component("UFAppLink",Lo).component("UFInfoBox",Sl).component("UFCardBox",_l).component("UFCardBoxBig",Cl).component("UFMainContent",Nl).component("UFHeaderPage",Tl).component("UFFooterContent",Bl).component("UFFormLogin",Wo).component("UFFormRegister",As).component("UFFormForgotPassword",Rs).component("UFNavBar",Bc).component("UFNavBarDropdown",Qo).component("UFNavBarDropdownSeparator",Oc).component("UFNavBarItem",Pc).component("UFNavBarLogin",Ac).component("UFNavBarUserCard",Rc).component("UFNavBarUserCardButton",Dc).component("UFPageLogin",Ic).component("UFPageRegister",Fc).component("UFPageForgotPassword",Vc).component("UFPageResendVerification",jc).component("UFSideBar",Lc).component("UFSideBarDropdown",Mc).component("UFSideBarItem",Uc).component("UFSideBarLabel",zc).component("UFSprunjeColumn",Hc).component("UFSprunjeHeader",qc).component("UFSprunjePaginator",Ds).component("UFSprunjeTable",Wc)}};exports.FooterContent=Bl;exports.MainContent=Nl;exports.NavBarDropdownSeparator=Oc;exports.PinkCupcakeComponents=Jw;exports.SideBar=Lc;exports.SprunjeColumn=Hc;exports.UIkit=xs;exports._sfc_main=El;exports._sfc_main$1=Lo;exports._sfc_main$10=Qo;exports._sfc_main$11=Pc;exports._sfc_main$12=Ac;exports._sfc_main$13=Rc;exports._sfc_main$14=Dc;exports._sfc_main$15=Ic;exports._sfc_main$16=Fc;exports._sfc_main$17=Vc;exports._sfc_main$18=jc;exports._sfc_main$19=Mc;exports._sfc_main$2=Sl;exports._sfc_main$20=Uc;exports._sfc_main$21=zc;exports._sfc_main$22=qc;exports._sfc_main$23=Ds;exports._sfc_main$24=Wc;exports._sfc_main$3=_l;exports._sfc_main$4=Cl;exports._sfc_main$5=Tl;exports._sfc_main$6=Wo;exports._sfc_main$7=As;exports._sfc_main$8=Rs;exports._sfc_main$9=Bc;exports.commonjsGlobal=Ol;exports.getDefaultExportFromCjs=Pl; diff --git a/dist/components.cjs b/dist/components.cjs index 35205c1..9136fd3 100644 --- a/dist/components.cjs +++ b/dist/components.cjs @@ -1 +1 @@ -"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const a=require("./components-D71L4-1z.cjs");exports.AlertContainer=a._sfc_main;exports.AppLink=a._sfc_main$1;exports.CardBox=a._sfc_main$3;exports.CardBoxBig=a._sfc_main$4;exports.FooterContent=a.FooterContent;exports.FormForgotPassword=a._sfc_main$8;exports.FormLogin=a._sfc_main$6;exports.FormRegister=a._sfc_main$7;exports.HeaderPage=a._sfc_main$5;exports.InfoBox=a._sfc_main$2;exports.MainContent=a.MainContent;exports.NavBar=a._sfc_main$9;exports.NavBarDropdown=a._sfc_main$10;exports.NavBarDropdownSeparator=a.NavBarDropdownSeparator;exports.NavBarItem=a._sfc_main$11;exports.NavBarLogin=a._sfc_main$12;exports.NavBarUserCard=a._sfc_main$13;exports.NavBarUserCardButton=a._sfc_main$14;exports.PageForgotPassword=a._sfc_main$17;exports.PageLogin=a._sfc_main$15;exports.PageRegister=a._sfc_main$16;exports.PageResendVerification=a._sfc_main$18;exports.SideBar=a.SideBar;exports.SideBarDropdown=a._sfc_main$19;exports.SideBarItem=a._sfc_main$20;exports.SideBarLabel=a._sfc_main$21;exports.SprunjeColumn=a.SprunjeColumn;exports.SprunjeHeader=a._sfc_main$22;exports.SprunjePaginator=a._sfc_main$23;exports.SprunjeTable=a._sfc_main$24;exports.default=a.PinkCupcakeComponents; +"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const a=require("./components-yQdbks90.cjs");exports.AlertContainer=a._sfc_main;exports.AppLink=a._sfc_main$1;exports.CardBox=a._sfc_main$3;exports.CardBoxBig=a._sfc_main$4;exports.FooterContent=a.FooterContent;exports.FormForgotPassword=a._sfc_main$8;exports.FormLogin=a._sfc_main$6;exports.FormRegister=a._sfc_main$7;exports.HeaderPage=a._sfc_main$5;exports.InfoBox=a._sfc_main$2;exports.MainContent=a.MainContent;exports.NavBar=a._sfc_main$9;exports.NavBarDropdown=a._sfc_main$10;exports.NavBarDropdownSeparator=a.NavBarDropdownSeparator;exports.NavBarItem=a._sfc_main$11;exports.NavBarLogin=a._sfc_main$12;exports.NavBarUserCard=a._sfc_main$13;exports.NavBarUserCardButton=a._sfc_main$14;exports.PageForgotPassword=a._sfc_main$17;exports.PageLogin=a._sfc_main$15;exports.PageRegister=a._sfc_main$16;exports.PageResendVerification=a._sfc_main$18;exports.SideBar=a.SideBar;exports.SideBarDropdown=a._sfc_main$19;exports.SideBarItem=a._sfc_main$20;exports.SideBarLabel=a._sfc_main$21;exports.SprunjeColumn=a.SprunjeColumn;exports.SprunjeHeader=a._sfc_main$22;exports.SprunjePaginator=a._sfc_main$23;exports.SprunjeTable=a._sfc_main$24;exports.default=a.PinkCupcakeComponents; diff --git a/dist/components.js b/dist/components.js index 1316f04..f990046 100644 --- a/dist/components.js +++ b/dist/components.js @@ -1,4 +1,4 @@ -import { _ as s, a as e, d as o, e as n, F as t, j as d, h as i, i as B, f as g, b as p, M as S, k as P, l as m, N as u, m as v, n as C, o as N, p as F, s as l, q as w, r as f, t as j, S as x, u as L, v as b, w as A, x as D, y as I, z as R, A as k, P as H } from "./components-BqmVBmsV.js"; +import { _ as s, a as e, d as o, e as n, F as t, j as d, h as i, i as B, f as g, b as p, M as S, k as P, l as m, N as u, m as v, n as C, o as N, p as F, s as l, q as w, r as f, t as j, S as x, u as L, v as b, w as A, x as D, y as I, z as R, A as k, P as H } from "./components-D3kieM32.js"; export { s as AlertContainer, e as AppLink, diff --git a/dist/plugins.cjs b/dist/plugins.cjs index 105e025..e649e97 100644 --- a/dist/plugins.cjs +++ b/dist/plugins.cjs @@ -1,4 +1,4 @@ -"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const g1=require("./components-D71L4-1z.cjs"),u=require("vue"),x3=()=>{};let r2={},W3={},j3=null,_3={mark:x3,measure:x3};try{typeof window<"u"&&(r2=window),typeof document<"u"&&(W3=document),typeof MutationObserver<"u"&&(j3=MutationObserver),typeof performance<"u"&&(_3=performance)}catch{}const{userAgent:g3=""}=r2.navigator||{},R=r2,h=W3,v3=j3,M1=_3;R.document;const q=!!h.documentElement&&!!h.head&&typeof h.addEventListener=="function"&&typeof h.createElement=="function",X3=~g3.indexOf("MSIE")||~g3.indexOf("Trident/");var p="classic",K3="duotone",b="sharp",w="sharp-duotone",os=[p,K3,b,w],is={classic:{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},sharp:{900:"fass",400:"fasr",300:"fasl",100:"fast"},"sharp-duotone":{900:"fasds"}},N3={kit:{fak:"kit","fa-kit":"kit"},"kit-duotone":{fakd:"kit-duotone","fa-kit-duotone":"kit-duotone"}},fs=["kit"],ts=/fa(s|r|l|t|d|b|k|kd|ss|sr|sl|st|sds)?[\-\ ]/,rs=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp Duotone|Sharp|Kit)?.*/i,zs={"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"}},ms={"Font Awesome 6 Free":{900:"fas",400:"far"},"Font Awesome 6 Pro":{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},"Font Awesome 6 Brands":{400:"fab",normal:"fab"},"Font Awesome 6 Duotone":{900:"fad"},"Font Awesome 6 Sharp":{900:"fass",400:"fasr",normal:"fasr",300:"fasl",100:"fast"},"Font Awesome 6 Sharp Duotone":{900:"fasds"}},Ls={classic:{"fa-brands":"fab","fa-duotone":"fad","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"},sharp:{"fa-solid":"fass","fa-regular":"fasr","fa-light":"fasl","fa-thin":"fast"},"sharp-duotone":{"fa-solid":"fasds"}},Ms={classic:["fas","far","fal","fat"],sharp:["fass","fasr","fasl","fast"],"sharp-duotone":["fasds"]},Cs={classic:{fab:"fa-brands",fad:"fa-duotone",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"},sharp:{fass:"fa-solid",fasr:"fa-regular",fasl:"fa-light",fast:"fa-thin"},"sharp-duotone":{fasds:"fa-solid"}},hs={classic:{solid:"fas",regular:"far",light:"fal",thin:"fat",duotone:"fad",brands:"fab"},sharp:{solid:"fass",regular:"fasr",light:"fasl",thin:"fast"},"sharp-duotone":{solid:"fasds"}},Y3={classic:{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"},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"}},ps=["solid","regular","light","thin","duotone","brands"],Q3=[1,2,3,4,5,6,7,8,9,10],ds=Q3.concat([11,12,13,14,15,16,17,18,19,20]),J={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},us=[...Object.keys(Ms),...ps,"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",J.GROUP,J.SWAP_OPACITY,J.PRIMARY,J.SECONDARY].concat(Q3.map(c=>"".concat(c,"x"))).concat(ds.map(c=>"w-".concat(c))),xs={"Font Awesome Kit":{400:"fak",normal:"fak"},"Font Awesome Kit Duotone":{400:"fakd",normal:"fakd"}},gs={kit:{"fa-kit":"fak"},"kit-duotone":{"fa-kit-duotone":"fakd"}},vs={kit:{fak:"fa-kit"},"kit-duotone":{fakd:"fa-kit-duotone"}},b3={kit:{kit:"fak"},"kit-duotone":{"kit-duotone":"fakd"}};const P="___FONT_AWESOME___",_1=16,J3="fa",c4="svg-inline--fa",W="data-fa-i2svg",X1="data-fa-pseudo-element",Ns="data-fa-pseudo-element-pending",z2="data-prefix",m2="data-icon",w3="fontawesome-i2svg",bs="async",ws=["HTML","HEAD","STYLE","SCRIPT"],l4=(()=>{try{return process.env.NODE_ENV==="production"}catch{return!1}})(),a4=[p,b,w];function o1(c){return new Proxy(c,{get(l,a){return a in l?l[a]:l[p]}})}const s4={...Y3};s4[p]={...Y3[p],...N3.kit,...N3["kit-duotone"]};const U=o1(s4),K1={...hs};K1[p]={...K1[p],...b3.kit,...b3["kit-duotone"]};const e1=o1(K1),Y1={...Cs};Y1[p]={...Y1[p],...vs.kit};const I=o1(Y1),Q1={...Ls};Q1[p]={...Q1[p],...gs.kit};const ks=o1(Q1),Ss=ts,e4="fa-layers-text",ys=rs,Hs={...is};o1(Hs);const As=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],G1=J,K=new Set;Object.keys(e1[p]).map(K.add.bind(K));Object.keys(e1[b]).map(K.add.bind(K));Object.keys(e1[w]).map(K.add.bind(K));const Vs=[...fs,...us],l1=R.FontAwesomeConfig||{};function Bs(c){var l=h.querySelector("script["+c+"]");if(l)return l.getAttribute(c)}function Fs(c){return c===""?!0:c==="false"?!1:c==="true"?!0:c}h&&typeof h.querySelector=="function"&&[["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"]].forEach(l=>{let[a,s]=l;const e=Fs(Bs(a));e!=null&&(l1[s]=e)});const n4={styleDefault:"solid",familyDefault:"classic",cssPrefix:J3,replacementClass:c4,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};l1.familyPrefix&&(l1.cssPrefix=l1.familyPrefix);const Y={...n4,...l1};Y.autoReplaceSvg||(Y.observeMutations=!1);const r={};Object.keys(n4).forEach(c=>{Object.defineProperty(r,c,{enumerable:!0,set:function(l){Y[c]=l,a1.forEach(a=>a(r))},get:function(){return Y[c]}})});Object.defineProperty(r,"familyPrefix",{enumerable:!0,set:function(c){Y.cssPrefix=c,a1.forEach(l=>l(r))},get:function(){return Y.cssPrefix}});R.FontAwesomeConfig=r;const a1=[];function Ps(c){return a1.push(c),()=>{a1.splice(a1.indexOf(c),1)}}const D=_1,V={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function Ts(c){if(!c||!q)return;const l=h.createElement("style");l.setAttribute("type","text/css"),l.innerHTML=c;const a=h.head.childNodes;let s=null;for(let e=a.length-1;e>-1;e--){const n=a[e],o=(n.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(o)>-1&&(s=n)}return h.head.insertBefore(l,s),c}const qs="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function n1(){let c=12,l="";for(;c-- >0;)l+=qs[Math.random()*62|0];return l}function Q(c){const l=[];for(let a=(c||[]).length>>>0;a--;)l[a]=c[a];return l}function L2(c){return c.classList?Q(c.classList):(c.getAttribute("class")||"").split(" ").filter(l=>l)}function o4(c){return"".concat(c).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">")}function Ds(c){return Object.keys(c||{}).reduce((l,a)=>l+"".concat(a,'="').concat(o4(c[a]),'" '),"").trim()}function v1(c){return Object.keys(c||{}).reduce((l,a)=>l+"".concat(a,": ").concat(c[a].trim(),";"),"")}function M2(c){return c.size!==V.size||c.x!==V.x||c.y!==V.y||c.rotate!==V.rotate||c.flipX||c.flipY}function Zs(c){let{transform:l,containerWidth:a,iconWidth:s}=c;const e={transform:"translate(".concat(a/2," 256)")},n="translate(".concat(l.x*32,", ").concat(l.y*32,") "),o="scale(".concat(l.size/16*(l.flipX?-1:1),", ").concat(l.size/16*(l.flipY?-1:1),") "),i="rotate(".concat(l.rotate," 0 0)"),f={transform:"".concat(n," ").concat(o," ").concat(i)},t={transform:"translate(".concat(s/2*-1," -256)")};return{outer:e,inner:f,path:t}}function Rs(c){let{transform:l,width:a=_1,height:s=_1,startCentered:e=!1}=c,n="";return e&&X3?n+="translate(".concat(l.x/D-a/2,"em, ").concat(l.y/D-s/2,"em) "):e?n+="translate(calc(-50% + ".concat(l.x/D,"em), calc(-50% + ").concat(l.y/D,"em)) "):n+="translate(".concat(l.x/D,"em, ").concat(l.y/D,"em) "),n+="scale(".concat(l.size/D*(l.flipX?-1:1),", ").concat(l.size/D*(l.flipY?-1:1),") "),n+="rotate(".concat(l.rotate,"deg) "),n}var Es=`:root, :host { +"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const g1=require("./components-yQdbks90.cjs"),u=require("vue"),x3=()=>{};let r2={},W3={},j3=null,_3={mark:x3,measure:x3};try{typeof window<"u"&&(r2=window),typeof document<"u"&&(W3=document),typeof MutationObserver<"u"&&(j3=MutationObserver),typeof performance<"u"&&(_3=performance)}catch{}const{userAgent:g3=""}=r2.navigator||{},R=r2,h=W3,v3=j3,M1=_3;R.document;const q=!!h.documentElement&&!!h.head&&typeof h.addEventListener=="function"&&typeof h.createElement=="function",X3=~g3.indexOf("MSIE")||~g3.indexOf("Trident/");var p="classic",K3="duotone",b="sharp",w="sharp-duotone",os=[p,K3,b,w],is={classic:{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},sharp:{900:"fass",400:"fasr",300:"fasl",100:"fast"},"sharp-duotone":{900:"fasds"}},N3={kit:{fak:"kit","fa-kit":"kit"},"kit-duotone":{fakd:"kit-duotone","fa-kit-duotone":"kit-duotone"}},fs=["kit"],ts=/fa(s|r|l|t|d|b|k|kd|ss|sr|sl|st|sds)?[\-\ ]/,rs=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp Duotone|Sharp|Kit)?.*/i,zs={"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"}},ms={"Font Awesome 6 Free":{900:"fas",400:"far"},"Font Awesome 6 Pro":{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},"Font Awesome 6 Brands":{400:"fab",normal:"fab"},"Font Awesome 6 Duotone":{900:"fad"},"Font Awesome 6 Sharp":{900:"fass",400:"fasr",normal:"fasr",300:"fasl",100:"fast"},"Font Awesome 6 Sharp Duotone":{900:"fasds"}},Ls={classic:{"fa-brands":"fab","fa-duotone":"fad","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"},sharp:{"fa-solid":"fass","fa-regular":"fasr","fa-light":"fasl","fa-thin":"fast"},"sharp-duotone":{"fa-solid":"fasds"}},Ms={classic:["fas","far","fal","fat"],sharp:["fass","fasr","fasl","fast"],"sharp-duotone":["fasds"]},Cs={classic:{fab:"fa-brands",fad:"fa-duotone",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"},sharp:{fass:"fa-solid",fasr:"fa-regular",fasl:"fa-light",fast:"fa-thin"},"sharp-duotone":{fasds:"fa-solid"}},hs={classic:{solid:"fas",regular:"far",light:"fal",thin:"fat",duotone:"fad",brands:"fab"},sharp:{solid:"fass",regular:"fasr",light:"fasl",thin:"fast"},"sharp-duotone":{solid:"fasds"}},Y3={classic:{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"},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"}},ps=["solid","regular","light","thin","duotone","brands"],Q3=[1,2,3,4,5,6,7,8,9,10],ds=Q3.concat([11,12,13,14,15,16,17,18,19,20]),J={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},us=[...Object.keys(Ms),...ps,"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",J.GROUP,J.SWAP_OPACITY,J.PRIMARY,J.SECONDARY].concat(Q3.map(c=>"".concat(c,"x"))).concat(ds.map(c=>"w-".concat(c))),xs={"Font Awesome Kit":{400:"fak",normal:"fak"},"Font Awesome Kit Duotone":{400:"fakd",normal:"fakd"}},gs={kit:{"fa-kit":"fak"},"kit-duotone":{"fa-kit-duotone":"fakd"}},vs={kit:{fak:"fa-kit"},"kit-duotone":{fakd:"fa-kit-duotone"}},b3={kit:{kit:"fak"},"kit-duotone":{"kit-duotone":"fakd"}};const P="___FONT_AWESOME___",_1=16,J3="fa",c4="svg-inline--fa",W="data-fa-i2svg",X1="data-fa-pseudo-element",Ns="data-fa-pseudo-element-pending",z2="data-prefix",m2="data-icon",w3="fontawesome-i2svg",bs="async",ws=["HTML","HEAD","STYLE","SCRIPT"],l4=(()=>{try{return process.env.NODE_ENV==="production"}catch{return!1}})(),a4=[p,b,w];function o1(c){return new Proxy(c,{get(l,a){return a in l?l[a]:l[p]}})}const s4={...Y3};s4[p]={...Y3[p],...N3.kit,...N3["kit-duotone"]};const U=o1(s4),K1={...hs};K1[p]={...K1[p],...b3.kit,...b3["kit-duotone"]};const e1=o1(K1),Y1={...Cs};Y1[p]={...Y1[p],...vs.kit};const I=o1(Y1),Q1={...Ls};Q1[p]={...Q1[p],...gs.kit};const ks=o1(Q1),Ss=ts,e4="fa-layers-text",ys=rs,Hs={...is};o1(Hs);const As=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],G1=J,K=new Set;Object.keys(e1[p]).map(K.add.bind(K));Object.keys(e1[b]).map(K.add.bind(K));Object.keys(e1[w]).map(K.add.bind(K));const Vs=[...fs,...us],l1=R.FontAwesomeConfig||{};function Bs(c){var l=h.querySelector("script["+c+"]");if(l)return l.getAttribute(c)}function Fs(c){return c===""?!0:c==="false"?!1:c==="true"?!0:c}h&&typeof h.querySelector=="function"&&[["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"]].forEach(l=>{let[a,s]=l;const e=Fs(Bs(a));e!=null&&(l1[s]=e)});const n4={styleDefault:"solid",familyDefault:"classic",cssPrefix:J3,replacementClass:c4,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};l1.familyPrefix&&(l1.cssPrefix=l1.familyPrefix);const Y={...n4,...l1};Y.autoReplaceSvg||(Y.observeMutations=!1);const r={};Object.keys(n4).forEach(c=>{Object.defineProperty(r,c,{enumerable:!0,set:function(l){Y[c]=l,a1.forEach(a=>a(r))},get:function(){return Y[c]}})});Object.defineProperty(r,"familyPrefix",{enumerable:!0,set:function(c){Y.cssPrefix=c,a1.forEach(l=>l(r))},get:function(){return Y.cssPrefix}});R.FontAwesomeConfig=r;const a1=[];function Ps(c){return a1.push(c),()=>{a1.splice(a1.indexOf(c),1)}}const D=_1,V={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function Ts(c){if(!c||!q)return;const l=h.createElement("style");l.setAttribute("type","text/css"),l.innerHTML=c;const a=h.head.childNodes;let s=null;for(let e=a.length-1;e>-1;e--){const n=a[e],o=(n.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(o)>-1&&(s=n)}return h.head.insertBefore(l,s),c}const qs="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function n1(){let c=12,l="";for(;c-- >0;)l+=qs[Math.random()*62|0];return l}function Q(c){const l=[];for(let a=(c||[]).length>>>0;a--;)l[a]=c[a];return l}function L2(c){return c.classList?Q(c.classList):(c.getAttribute("class")||"").split(" ").filter(l=>l)}function o4(c){return"".concat(c).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">")}function Ds(c){return Object.keys(c||{}).reduce((l,a)=>l+"".concat(a,'="').concat(o4(c[a]),'" '),"").trim()}function v1(c){return Object.keys(c||{}).reduce((l,a)=>l+"".concat(a,": ").concat(c[a].trim(),";"),"")}function M2(c){return c.size!==V.size||c.x!==V.x||c.y!==V.y||c.rotate!==V.rotate||c.flipX||c.flipY}function Zs(c){let{transform:l,containerWidth:a,iconWidth:s}=c;const e={transform:"translate(".concat(a/2," 256)")},n="translate(".concat(l.x*32,", ").concat(l.y*32,") "),o="scale(".concat(l.size/16*(l.flipX?-1:1),", ").concat(l.size/16*(l.flipY?-1:1),") "),i="rotate(".concat(l.rotate," 0 0)"),f={transform:"".concat(n," ").concat(o," ").concat(i)},t={transform:"translate(".concat(s/2*-1," -256)")};return{outer:e,inner:f,path:t}}function Rs(c){let{transform:l,width:a=_1,height:s=_1,startCentered:e=!1}=c,n="";return e&&X3?n+="translate(".concat(l.x/D-a/2,"em, ").concat(l.y/D-s/2,"em) "):e?n+="translate(calc(-50% + ".concat(l.x/D,"em), calc(-50% + ").concat(l.y/D,"em)) "):n+="translate(".concat(l.x/D,"em, ").concat(l.y/D,"em) "),n+="scale(".concat(l.size/D*(l.flipX?-1:1),", ").concat(l.size/D*(l.flipY?-1:1),") "),n+="rotate(".concat(l.rotate,"deg) "),n}var Es=`:root, :host { --fa-font-solid: normal 900 1em/1 "Font Awesome 6 Free"; --fa-font-regular: normal 400 1em/1 "Font Awesome 6 Free"; --fa-font-light: normal 300 1em/1 "Font Awesome 6 Pro"; diff --git a/dist/plugins.js b/dist/plugins.js index 3195529..c1caf85 100644 --- a/dist/plugins.js +++ b/dist/plugins.js @@ -1,4 +1,4 @@ -import { c as is, g as fs, U as ts, P as rs } from "./components-BqmVBmsV.js"; +import { c as is, g as fs, U as ts, P as rs } from "./components-D3kieM32.js"; import { defineComponent as t2, computed as y, watch as zs, h as W3 } from "vue"; const x3 = () => { }; diff --git a/src/components/Sprunjer/SprunjeSearch.vue b/src/components/Sprunjer/SprunjeSearch.vue index 214671f..6080b51 100644 --- a/src/components/Sprunjer/SprunjeSearch.vue +++ b/src/components/Sprunjer/SprunjeSearch.vue @@ -1,6 +1,6 @@