UNPKG

dap-design-system

Version:

Official design system for the DÁP (www.dap.gov.hu)

1,175 lines 1.05 MB
var js = Object.defineProperty, Ns = Object.defineProperties; var Us = Object.getOwnPropertyDescriptors; var Uo = Object.getOwnPropertySymbols, qs = Object.getPrototypeOf, Xr = Object.prototype.hasOwnProperty, Qr = Object.prototype.propertyIsEnumerable, Ks = Reflect.get; var Ua = (t, e, i) => e in t ? js(t, e, { enumerable: !0, configurable: !0, writable: !0, value: i }) : t[e] = i, x = (t, e) => { for (var i in e || (e = {})) Xr.call(e, i) && Ua(t, i, e[i]); if (Uo) for (var i of Uo(e)) Qr.call(e, i) && Ua(t, i, e[i]); return t; }, q = (t, e) => Ns(t, Us(e)); var qa = (t) => typeof t == "symbol" ? t : t + "", xi = (t, e) => { var i = {}; for (var o in t) Xr.call(t, o) && e.indexOf(o) < 0 && (i[o] = t[o]); if (t != null && Uo) for (var o of Uo(t)) e.indexOf(o) < 0 && Qr.call(t, o) && (i[o] = t[o]); return i; }; var Ka = (t, e, i) => Ua(t, typeof e != "symbol" ? e + "" : e, i); var Ut = (t, e, i) => Ks(qs(t), i, e); var V = (t, e, i) => new Promise((o, a) => { var r = (l) => { try { d(i.next(l)); } catch (c) { a(c); } }, n = (l) => { try { d(i.throw(l)); } catch (c) { a(c); } }, d = (l) => l.done ? o(l.value) : Promise.resolve(l.value).then(r, n); d((i = i.apply(t, e)).next()); }); import { n as s, E as P, Z as Gs, T as wa, D as T, r as O, u as b, s as ct, c as v, t as I, x as L, i as _a, a as Ws } from "./icon-UJFQtX3G.js"; /** * @license * Copyright 2017 Google LLC * SPDX-License-Identifier: BSD-3-Clause */ function j(t) { return s(q(x({}, t), { state: !0, attribute: !1 })); } /** * @license * Copyright 2017 Google LLC * SPDX-License-Identifier: BSD-3-Clause */ const $r = (t, e, i) => (i.configurable = !0, i.enumerable = !0, Reflect.decorate && typeof e != "object" && Object.defineProperty(t, e, i), i); /** * @license * Copyright 2017 Google LLC * SPDX-License-Identifier: BSD-3-Clause */ function rt(t, e) { return (i, o, a) => { const r = (n) => { var d, l; return (l = (d = n.renderRoot) == null ? void 0 : d.querySelector(t)) != null ? l : null; }; return $r(i, o, { get() { return r(this); } }); }; } /** * @license * Copyright 2017 Google LLC * SPDX-License-Identifier: BSD-3-Clause */ let Ga; function Yn(t) { return (e, i) => $r(e, i, { get() { var o; return ((o = this.renderRoot) != null ? o : Ga != null ? Ga : Ga = document.createDocumentFragment()).querySelectorAll(t); } }); } /** * @license * Copyright 2021 Google LLC * SPDX-License-Identifier: BSD-3-Clause */ function Ht(t) { return (e, i) => { const { slot: o, selector: a } = t != null ? t : {}, r = "slot" + (o ? `[name=${o}]` : ":not([name])"); return $r(e, i, { get() { var l, c; const n = (l = this.renderRoot) == null ? void 0 : l.querySelector(r), d = (c = n == null ? void 0 : n.assignedElements(t)) != null ? c : []; return a === void 0 ? d : d.filter((u) => u.matches(a)); } }); }; } /** * @license * Copyright 2018 Google LLC * SPDX-License-Identifier: BSD-3-Clause */ const f = (t) => t != null ? t : P; function Lo(t) { return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t; } var Xo = { exports: {} }, Qo = { exports: {} }, Ys = Qo.exports, tn; function Zn() { return tn || (tn = 1, function(t, e) { (function(i, o) { t.exports = o(); })(Ys, function() { var i = 1e3, o = 6e4, a = 36e5, r = "millisecond", n = "second", d = "minute", l = "hour", c = "day", u = "week", h = "month", p = "quarter", g = "year", m = "date", w = "Invalid Date", y = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, _ = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, k = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(M) { var z = ["th", "st", "nd", "rd"], S = M % 100; return "[" + M + (z[(S - 20) % 10] || z[S] || z[0]) + "]"; } }, C = function(M, z, S) { var E = String(M); return !E || E.length >= z ? M : "" + Array(z + 1 - E.length).join(S) + M; }, R = { s: C, z: function(M) { var z = -M.utcOffset(), S = Math.abs(z), E = Math.floor(S / 60), $ = S % 60; return (z <= 0 ? "+" : "-") + C(E, 2, "0") + ":" + C($, 2, "0"); }, m: function M(z, S) { if (z.date() < S.date()) return -M(S, z); var E = 12 * (S.year() - z.year()) + (S.month() - z.month()), $ = z.clone().add(E, h), F = S - $ < 0, B = z.clone().add(E + (F ? -1 : 1), h); return +(-(E + (S - $) / (F ? $ - B : B - $)) || 0); }, a: function(M) { return M < 0 ? Math.ceil(M) || 0 : Math.floor(M); }, p: function(M) { return { M: h, y: g, w: u, d: c, D: m, h: l, m: d, s: n, ms: r, Q: p }[M] || String(M || "").toLowerCase().replace(/s$/, ""); }, u: function(M) { return M === void 0; } }, A = "en", J = {}; J[A] = k; var Q = "$isDayjsObject", it = function(M) { return M instanceof gt || !(!M || !M[Q]); }, nt = function M(z, S, E) { var $; if (!z) return A; if (typeof z == "string") { var F = z.toLowerCase(); J[F] && ($ = F), S && (J[F] = S, $ = F); var B = z.split("-"); if (!$ && B.length > 1) return M(B[0]); } else { var U = z.name; J[U] = z, $ = U; } return !E && $ && (A = $), $ || !E && A; }, tt = function(M, z) { if (it(M)) return M.clone(); var S = typeof z == "object" ? z : {}; return S.date = M, S.args = arguments, new gt(S); }, N = R; N.l = nt, N.i = it, N.w = function(M, z) { return tt(M, { locale: z.$L, utc: z.$u, x: z.$x, $offset: z.$offset }); }; var gt = function() { function M(S) { this.$L = nt(S.locale, null, !0), this.parse(S), this.$x = this.$x || S.x || {}, this[Q] = !0; } var z = M.prototype; return z.parse = function(S) { this.$d = function(E) { var $ = E.date, F = E.utc; if ($ === null) return /* @__PURE__ */ new Date(NaN); if (N.u($)) return /* @__PURE__ */ new Date(); if ($ instanceof Date) return new Date($); if (typeof $ == "string" && !/Z$/i.test($)) { var B = $.match(y); if (B) { var U = B[2] - 1 || 0, lt = (B[7] || "0").substring(0, 3); return F ? new Date(Date.UTC(B[1], U, B[3] || 1, B[4] || 0, B[5] || 0, B[6] || 0, lt)) : new Date(B[1], U, B[3] || 1, B[4] || 0, B[5] || 0, B[6] || 0, lt); } } return new Date($); }(S), this.init(); }, z.init = function() { var S = this.$d; this.$y = S.getFullYear(), this.$M = S.getMonth(), this.$D = S.getDate(), this.$W = S.getDay(), this.$H = S.getHours(), this.$m = S.getMinutes(), this.$s = S.getSeconds(), this.$ms = S.getMilliseconds(); }, z.$utils = function() { return N; }, z.isValid = function() { return this.$d.toString() !== w; }, z.isSame = function(S, E) { var $ = tt(S); return this.startOf(E) <= $ && $ <= this.endOf(E); }, z.isAfter = function(S, E) { return tt(S) < this.startOf(E); }, z.isBefore = function(S, E) { return this.endOf(E) < tt(S); }, z.$g = function(S, E, $) { return N.u(S) ? this[E] : this.set($, S); }, z.unix = function() { return Math.floor(this.valueOf() / 1e3); }, z.valueOf = function() { return this.$d.getTime(); }, z.startOf = function(S, E) { var $ = this, F = !!N.u(E) || E, B = N.p(S), U = function(De, Ot) { var re = N.w($.$u ? Date.UTC($.$y, Ot, De) : new Date($.$y, Ot, De), $); return F ? re : re.endOf(c); }, lt = function(De, Ot) { return N.w($.toDate()[De].apply($.toDate("s"), (F ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(Ot)), $); }, vt = this.$W, Ct = this.$M, Nt = this.$D, oi = "set" + (this.$u ? "UTC" : ""); switch (B) { case g: return F ? U(1, 0) : U(31, 11); case h: return F ? U(1, Ct) : U(0, Ct + 1); case u: var je = this.$locale().weekStart || 0, yi = (vt < je ? vt + 7 : vt) - je; return U(F ? Nt - yi : Nt + (6 - yi), Ct); case c: case m: return lt(oi + "Hours", 0); case l: return lt(oi + "Minutes", 1); case d: return lt(oi + "Seconds", 2); case n: return lt(oi + "Milliseconds", 3); default: return this.clone(); } }, z.endOf = function(S) { return this.startOf(S, !1); }, z.$set = function(S, E) { var $, F = N.p(S), B = "set" + (this.$u ? "UTC" : ""), U = ($ = {}, $[c] = B + "Date", $[m] = B + "Date", $[h] = B + "Month", $[g] = B + "FullYear", $[l] = B + "Hours", $[d] = B + "Minutes", $[n] = B + "Seconds", $[r] = B + "Milliseconds", $)[F], lt = F === c ? this.$D + (E - this.$W) : E; if (F === h || F === g) { var vt = this.clone().set(m, 1); vt.$d[U](lt), vt.init(), this.$d = vt.set(m, Math.min(this.$D, vt.daysInMonth())).$d; } else U && this.$d[U](lt); return this.init(), this; }, z.set = function(S, E) { return this.clone().$set(S, E); }, z.get = function(S) { return this[N.p(S)](); }, z.add = function(S, E) { var $, F = this; S = Number(S); var B = N.p(E), U = function(Ct) { var Nt = tt(F); return N.w(Nt.date(Nt.date() + Math.round(Ct * S)), F); }; if (B === h) return this.set(h, this.$M + S); if (B === g) return this.set(g, this.$y + S); if (B === c) return U(1); if (B === u) return U(7); var lt = ($ = {}, $[d] = o, $[l] = a, $[n] = i, $)[B] || 1, vt = this.$d.getTime() + S * lt; return N.w(vt, this); }, z.subtract = function(S, E) { return this.add(-1 * S, E); }, z.format = function(S) { var E = this, $ = this.$locale(); if (!this.isValid()) return $.invalidDate || w; var F = S || "YYYY-MM-DDTHH:mm:ssZ", B = N.z(this), U = this.$H, lt = this.$m, vt = this.$M, Ct = $.weekdays, Nt = $.months, oi = $.meridiem, je = function(Ot, re, Ne, ai) { return Ot && (Ot[re] || Ot(E, F)) || Ne[re].slice(0, ai); }, yi = function(Ot) { return N.s(U % 12 || 12, Ot, "0"); }, De = oi || function(Ot, re, Ne) { var ai = Ot < 12 ? "AM" : "PM"; return Ne ? ai.toLowerCase() : ai; }; return F.replace(_, function(Ot, re) { return re || function(Ne) { switch (Ne) { case "YY": return String(E.$y).slice(-2); case "YYYY": return N.s(E.$y, 4, "0"); case "M": return vt + 1; case "MM": return N.s(vt + 1, 2, "0"); case "MMM": return je($.monthsShort, vt, Nt, 3); case "MMMM": return je(Nt, vt); case "D": return E.$D; case "DD": return N.s(E.$D, 2, "0"); case "d": return String(E.$W); case "dd": return je($.weekdaysMin, E.$W, Ct, 2); case "ddd": return je($.weekdaysShort, E.$W, Ct, 3); case "dddd": return Ct[E.$W]; case "H": return String(U); case "HH": return N.s(U, 2, "0"); case "h": return yi(1); case "hh": return yi(2); case "a": return De(U, lt, !0); case "A": return De(U, lt, !1); case "m": return String(lt); case "mm": return N.s(lt, 2, "0"); case "s": return String(E.$s); case "ss": return N.s(E.$s, 2, "0"); case "SSS": return N.s(E.$ms, 3, "0"); case "Z": return B; } return null; }(Ot) || B.replace(":", ""); }); }, z.utcOffset = function() { return 15 * -Math.round(this.$d.getTimezoneOffset() / 15); }, z.diff = function(S, E, $) { var F, B = this, U = N.p(E), lt = tt(S), vt = (lt.utcOffset() - this.utcOffset()) * o, Ct = this - lt, Nt = function() { return N.m(B, lt); }; switch (U) { case g: F = Nt() / 12; break; case h: F = Nt(); break; case p: F = Nt() / 3; break; case u: F = (Ct - vt) / 6048e5; break; case c: F = (Ct - vt) / 864e5; break; case l: F = Ct / a; break; case d: F = Ct / o; break; case n: F = Ct / i; break; default: F = Ct; } return $ ? F : N.a(F); }, z.daysInMonth = function() { return this.endOf(h).$D; }, z.$locale = function() { return J[this.$L]; }, z.locale = function(S, E) { if (!S) return this.$L; var $ = this.clone(), F = nt(S, E, !0); return F && ($.$L = F), $; }, z.clone = function() { return N.w(this.$d, this); }, z.toDate = function() { return new Date(this.valueOf()); }, z.toJSON = function() { return this.isValid() ? this.toISOString() : null; }, z.toISOString = function() { return this.$d.toISOString(); }, z.toString = function() { return this.$d.toUTCString(); }, M; }(), dt = gt.prototype; return tt.prototype = dt, [["$ms", r], ["$s", n], ["$m", d], ["$H", l], ["$W", c], ["$M", h], ["$y", g], ["$D", m]].forEach(function(M) { dt[M[1]] = function(z) { return this.$g(z, M[0], M[1]); }; }), tt.extend = function(M, z) { return M.$i || (M(z, gt, tt), M.$i = !0), tt; }, tt.locale = nt, tt.isDayjs = it, tt.unix = function(M) { return tt(1e3 * M); }, tt.en = J[A], tt.Ls = J, tt.p = {}, tt; }); }(Qo)), Qo.exports; } var Zs = Xo.exports, en; function Js() { return en || (en = 1, function(t, e) { (function(i, o) { t.exports = o(Zn()); })(Zs, function(i) { function o(n) { return n && typeof n == "object" && "default" in n ? n : { default: n }; } var a = o(i), r = { name: "hu", weekdays: "vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat".split("_"), weekdaysShort: "vas_hét_kedd_sze_csüt_pén_szo".split("_"), weekdaysMin: "v_h_k_sze_cs_p_szo".split("_"), months: "január_február_március_április_május_június_július_augusztus_szeptember_október_november_december".split("_"), monthsShort: "jan_feb_márc_ápr_máj_jún_júl_aug_szept_okt_nov_dec".split("_"), ordinal: function(n) { return n + "."; }, weekStart: 1, relativeTime: { future: "%s múlva", past: "%s", s: function(n, d, l, c) { return "néhány másodperc" + (c || d ? "" : "e"); }, m: function(n, d, l, c) { return "egy perc" + (c || d ? "" : "e"); }, mm: function(n, d, l, c) { return n + " perc" + (c || d ? "" : "e"); }, h: function(n, d, l, c) { return "egy " + (c || d ? "óra" : "órája"); }, hh: function(n, d, l, c) { return n + " " + (c || d ? "óra" : "órája"); }, d: function(n, d, l, c) { return "egy " + (c || d ? "nap" : "napja"); }, dd: function(n, d, l, c) { return n + " " + (c || d ? "nap" : "napja"); }, M: function(n, d, l, c) { return "egy " + (c || d ? "hónap" : "hónapja"); }, MM: function(n, d, l, c) { return n + " " + (c || d ? "hónap" : "hónapja"); }, y: function(n, d, l, c) { return "egy " + (c || d ? "év" : "éve"); }, yy: function(n, d, l, c) { return n + " " + (c || d ? "év" : "éve"); } }, formats: { LT: "H:mm", LTS: "H:mm:ss", L: "YYYY.MM.DD.", LL: "YYYY. MMMM D.", LLL: "YYYY. MMMM D. H:mm", LLLL: "YYYY. MMMM D., dddd H:mm" } }; return a.default.locale(r, null, !0), r; }); }(Xo)), Xo.exports; } Js(); var ta = { exports: {} }, Xs = ta.exports, on; function Qs() { return on || (on = 1, function(t, e) { (function(i, o) { t.exports = o(); })(Xs, function() { return { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(i) { var o = ["th", "st", "nd", "rd"], a = i % 100; return "[" + i + (o[(a - 20) % 10] || o[a] || o[0]) + "]"; } }; }); }(ta)), ta.exports; } Qs(); var td = Zn(); const D = /* @__PURE__ */ Lo(td); var ea = { exports: {} }, ed = ea.exports, an; function id() { return an || (an = 1, function(t, e) { (function(i, o) { t.exports = o(); })(ed, function() { var i = { LTS: "h:mm:ss A", LT: "h:mm A", L: "MM/DD/YYYY", LL: "MMMM D, YYYY", LLL: "MMMM D, YYYY h:mm A", LLLL: "dddd, MMMM D, YYYY h:mm A" }, o = /(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g, a = /\d/, r = /\d\d/, n = /\d\d?/, d = /\d*[^-_:/,()\s\d]+/, l = {}, c = function(y) { return (y = +y) + (y > 68 ? 1900 : 2e3); }, u = function(y) { return function(_) { this[y] = +_; }; }, h = [/[+-]\d\d:?(\d\d)?|Z/, function(y) { (this.zone || (this.zone = {})).offset = function(_) { if (!_ || _ === "Z") return 0; var k = _.match(/([+-]|\d\d)/g), C = 60 * k[1] + (+k[2] || 0); return C === 0 ? 0 : k[0] === "+" ? -C : C; }(y); }], p = function(y) { var _ = l[y]; return _ && (_.indexOf ? _ : _.s.concat(_.f)); }, g = function(y, _) { var k, C = l.meridiem; if (C) { for (var R = 1; R <= 24; R += 1) if (y.indexOf(C(R, 0, _)) > -1) { k = R > 12; break; } } else k = y === (_ ? "pm" : "PM"); return k; }, m = { A: [d, function(y) { this.afternoon = g(y, !1); }], a: [d, function(y) { this.afternoon = g(y, !0); }], Q: [a, function(y) { this.month = 3 * (y - 1) + 1; }], S: [a, function(y) { this.milliseconds = 100 * +y; }], SS: [r, function(y) { this.milliseconds = 10 * +y; }], SSS: [/\d{3}/, function(y) { this.milliseconds = +y; }], s: [n, u("seconds")], ss: [n, u("seconds")], m: [n, u("minutes")], mm: [n, u("minutes")], H: [n, u("hours")], h: [n, u("hours")], HH: [n, u("hours")], hh: [n, u("hours")], D: [n, u("day")], DD: [r, u("day")], Do: [d, function(y) { var _ = l.ordinal, k = y.match(/\d+/); if (this.day = k[0], _) for (var C = 1; C <= 31; C += 1) _(C).replace(/\[|\]/g, "") === y && (this.day = C); }], w: [n, u("week")], ww: [r, u("week")], M: [n, u("month")], MM: [r, u("month")], MMM: [d, function(y) { var _ = p("months"), k = (p("monthsShort") || _.map(function(C) { return C.slice(0, 3); })).indexOf(y) + 1; if (k < 1) throw new Error(); this.month = k % 12 || k; }], MMMM: [d, function(y) { var _ = p("months").indexOf(y) + 1; if (_ < 1) throw new Error(); this.month = _ % 12 || _; }], Y: [/[+-]?\d+/, u("year")], YY: [r, function(y) { this.year = c(y); }], YYYY: [/\d{4}/, u("year")], Z: h, ZZ: h }; function w(y) { var _, k; _ = y, k = l && l.formats; for (var C = (y = _.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, function(tt, N, gt) { var dt = gt && gt.toUpperCase(); return N || k[gt] || i[gt] || k[dt].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function(M, z, S) { return z || S.slice(1); }); })).match(o), R = C.length, A = 0; A < R; A += 1) { var J = C[A], Q = m[J], it = Q && Q[0], nt = Q && Q[1]; C[A] = nt ? { regex: it, parser: nt } : J.replace(/^\[|\]$/g, ""); } return function(tt) { for (var N = {}, gt = 0, dt = 0; gt < R; gt += 1) { var M = C[gt]; if (typeof M == "string") dt += M.length; else { var z = M.regex, S = M.parser, E = tt.slice(dt), $ = z.exec(E)[0]; S.call(N, $), tt = tt.replace($, ""); } } return function(F) { var B = F.afternoon; if (B !== void 0) { var U = F.hours; B ? U < 12 && (F.hours += 12) : U === 12 && (F.hours = 0), delete F.afternoon; } }(N), N; }; } return function(y, _, k) { k.p.customParseFormat = !0, y && y.parseTwoDigitYear && (c = y.parseTwoDigitYear); var C = _.prototype, R = C.parse; C.parse = function(A) { var J = A.date, Q = A.utc, it = A.args; this.$u = Q; var nt = it[1]; if (typeof nt == "string") { var tt = it[2] === !0, N = it[3] === !0, gt = tt || N, dt = it[2]; N && (dt = it[2]), l = this.$locale(), !tt && dt && (l = k.Ls[dt]), this.$d = function(E, $, F, B) { try { if (["x", "X"].indexOf($) > -1) return new Date(($ === "X" ? 1e3 : 1) * E); var U = w($)(E), lt = U.year, vt = U.month, Ct = U.day, Nt = U.hours, oi = U.minutes, je = U.seconds, yi = U.milliseconds, De = U.zone, Ot = U.week, re = /* @__PURE__ */ new Date(), Ne = Ct || (lt || vt ? 1 : re.getDate()), ai = lt || re.getFullYear(), jo = 0; lt && !vt || (jo = vt > 0 ? vt - 1 : re.getMonth()); var No, Ba = Nt || 0, Ha = oi || 0, ja = je || 0, Na = yi || 0; return De ? new Date(Date.UTC(ai, jo, Ne, Ba, Ha, ja, Na + 60 * De.offset * 1e3)) : F ? new Date(Date.UTC(ai, jo, Ne, Ba, Ha, ja, Na)) : (No = new Date(ai, jo, Ne, Ba, Ha, ja, Na), Ot && (No = B(No).week(Ot).toDate()), No); } catch (Mm) { return /* @__PURE__ */ new Date(""); } }(J, nt, Q, k), this.init(), dt && dt !== !0 && (this.$L = this.locale(dt).$L), gt && J != this.format(nt) && (this.$d = /* @__PURE__ */ new Date("")), l = {}; } else if (nt instanceof Array) for (var M = nt.length, z = 1; z <= M; z += 1) { it[1] = nt[z - 1]; var S = k.apply(this, it); if (S.isValid()) { this.$d = S.$d, this.$L = S.$L, this.init(); break; } z === M && (this.$d = /* @__PURE__ */ new Date("")); } else R.call(this, A); }; }; }); }(ea)), ea.exports; } var od = id(); const ad = /* @__PURE__ */ Lo(od); var ia = { exports: {} }, rd = ia.exports, rn; function nd() { return rn || (rn = 1, function(t, e) { (function(i, o) { t.exports = o(); })(rd, function() { return function(i, o, a) { var r = o.prototype, n = function(h) { return h && (h.indexOf ? h : h.s); }, d = function(h, p, g, m, w) { var y = h.name ? h : h.$locale(), _ = n(y[p]), k = n(y[g]), C = _ || k.map(function(A) { return A.slice(0, m); }); if (!w) return C; var R = y.weekStart; return C.map(function(A, J) { return C[(J + (R || 0)) % 7]; }); }, l = function() { return a.Ls[a.locale()]; }, c = function(h, p) { return h.formats[p] || function(g) { return g.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function(m, w, y) { return w || y.slice(1); }); }(h.formats[p.toUpperCase()]); }, u = function() { var h = this; return { months: function(p) { return p ? p.format("MMMM") : d(h, "months"); }, monthsShort: function(p) { return p ? p.format("MMM") : d(h, "monthsShort", "months", 3); }, firstDayOfWeek: function() { return h.$locale().weekStart || 0; }, weekdays: function(p) { return p ? p.format("dddd") : d(h, "weekdays"); }, weekdaysMin: function(p) { return p ? p.format("dd") : d(h, "weekdaysMin", "weekdays", 2); }, weekdaysShort: function(p) { return p ? p.format("ddd") : d(h, "weekdaysShort", "weekdays", 3); }, longDateFormat: function(p) { return c(h.$locale(), p); }, meridiem: this.$locale().meridiem, ordinal: this.$locale().ordinal }; }; r.localeData = function() { return u.bind(this)(); }, a.localeData = function() { var h = l(); return { firstDayOfWeek: function() { return h.weekStart || 0; }, weekdays: function() { return a.weekdays(); }, weekdaysShort: function() { return a.weekdaysShort(); }, weekdaysMin: function() { return a.weekdaysMin(); }, months: function() { return a.months(); }, monthsShort: function() { return a.monthsShort(); }, longDateFormat: function(p) { return c(h, p); }, meridiem: h.meridiem, ordinal: h.ordinal }; }, a.months = function() { return d(l(), "months"); }, a.monthsShort = function() { return d(l(), "monthsShort", "months", 3); }, a.weekdays = function(h) { return d(l(), "weekdays", null, null, h); }, a.weekdaysShort = function(h) { return d(l(), "weekdaysShort", "weekdays", 3, h); }, a.weekdaysMin = function(h) { return d(l(), "weekdaysMin", "weekdays", 2, h); }; }; }); }(ia)), ia.exports; } var sd = nd(); const dd = /* @__PURE__ */ Lo(sd); var oa = { exports: {} }, ld = oa.exports, nn; function cd() { return nn || (nn = 1, function(t, e) { (function(i, o) { t.exports = o(); })(ld, function() { var i = { LTS: "h:mm:ss A", LT: "h:mm A", L: "MM/DD/YYYY", LL: "MMMM D, YYYY", LLL: "MMMM D, YYYY h:mm A", LLLL: "dddd, MMMM D, YYYY h:mm A" }; return function(o, a, r) { var n = a.prototype, d = n.format; r.en.formats = i, n.format = function(l) { l === void 0 && (l = "YYYY-MM-DDTHH:mm:ssZ"); var c = this.$locale().formats, u = function(h, p) { return h.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, function(g, m, w) { var y = w && w.toUpperCase(); return m || p[w] || i[w] || p[y].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function(_, k, C) { return k || C.slice(1); }); }); }(l, c === void 0 ? {} : c); return d.call(this, u); }; }; }); }(oa)), oa.exports; } var ud = cd(); const pd = /* @__PURE__ */ Lo(ud); var aa = { exports: {} }, hd = aa.exports, sn; function gd() { return sn || (sn = 1, function(t, e) { (function(i, o) { t.exports = o(); })(hd, function() { return function(i, o) { o.prototype.weekday = function(a) { var r = this.$locale().weekStart || 0, n = this.$W, d = (n < r ? n + 7 : n) - r; return this.$utils().u(a) ? d : this.subtract(d, "day").add(a, "day"); }; }; }); }(aa)), aa.exports; } var bd = gd(); const fd = /* @__PURE__ */ Lo(bd), Y = (t) => typeof t == "string", so = () => { let t, e; const i = new Promise((o, a) => { t = o, e = a; }); return i.resolve = t, i.reject = e, i; }, dn = (t) => t == null ? "" : "" + t, md = (t, e, i) => { t.forEach((o) => { e[o] && (i[o] = e[o]); }); }, vd = /###/g, ln = (t) => t && t.indexOf("###") > -1 ? t.replace(vd, ".") : t, cn = (t) => !t || Y(t), ho = (t, e, i) => { const o = Y(e) ? e.split(".") : e; let a = 0; for (; a < o.length - 1; ) { if (cn(t)) return {}; const r = ln(o[a]); !t[r] && i && (t[r] = new i()), Object.prototype.hasOwnProperty.call(t, r) ? t = t[r] : t = {}, ++a; } return cn(t) ? {} : { obj: t, k: ln(o[a]) }; }, un = (t, e, i) => { const { obj: o, k: a } = ho(t, e, Object); if (o !== void 0 || e.length === 1) { o[a] = i; return; } let r = e[e.length - 1], n = e.slice(0, e.length - 1), d = ho(t, n, Object); for (; d.obj === void 0 && n.length; ) r = `${n[n.length - 1]}.${r}`, n = n.slice(0, n.length - 1), d = ho(t, n, Object), d && d.obj && typeof d.obj[`${d.k}.${r}`] != "undefined" && (d.obj = void 0); d.obj[`${d.k}.${r}`] = i; }, yd = (t, e, i, o) => { const { obj: a, k: r } = ho(t, e, Object); a[r] = a[r] || [], a[r].push(i); }, ra = (t, e) => { const { obj: i, k: o } = ho(t, e); if (i) return i[o]; }, xd = (t, e, i) => { const o = ra(t, i); return o !== void 0 ? o : ra(e, i); }, Jn = (t, e, i) => { for (const o in e) o !== "__proto__" && o !== "constructor" && (o in t ? Y(t[o]) || t[o] instanceof String || Y(e[o]) || e[o] instanceof String ? i && (t[o] = e[o]) : Jn(t[o], e[o], i) : t[o] = e[o]); return t; }, Mi = (t) => t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&"); var wd = { "&": "&amp;", "<": "&lt;", ">": "&gt;", '"': "&quot;", "'": "&#39;", "/": "&#x2F;" }; const _d = (t) => Y(t) ? t.replace(/[&<>"'\/]/g, (e) => wd[e]) : t; class kd { constructor(e) { this.capacity = e, this.regExpMap = /* @__PURE__ */ new Map(), this.regExpQueue = []; } getRegExp(e) { const i = this.regExpMap.get(e); if (i !== void 0) return i; const o = new RegExp(e); return this.regExpQueue.length === this.capacity && this.regExpMap.delete(this.regExpQueue.shift()), this.regExpMap.set(e, o), this.regExpQueue.push(e), o; } } const $d = [" ", ",", "?", "!", ";"], Sd = new kd(20), zd = (t, e, i) => { e = e || "", i = i || ""; const o = $d.filter((n) => e.indexOf(n) < 0 && i.indexOf(n) < 0); if (o.length === 0) return !0; const a = Sd.getRegExp(`(${o.map((n) => n === "?" ? "\\?" : n).join("|")})`); let r = !a.test(t); if (!r) { const n = t.indexOf(i); n > 0 && !a.test(t.substring(0, n)) && (r = !0); } return r; }, lr = function(t, e) { let i = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : "."; if (!t) return; if (t[e]) return t[e]; const o = e.split(i); let a = t; for (let r = 0; r < o.length; ) { if (!a || typeof a != "object") return; let n, d = ""; for (let l = r; l < o.length; ++l) if (l !== r && (d += i), d += o[l], n = a[d], n !== void 0) { if (["string", "number", "boolean"].indexOf(typeof n) > -1 && l < o.length - 1) continue; r += l - r + 1; break; } a = n; } return a; }, na = (t) => t && t.replace("_", "-"), Cd = { type: "logger", log(t) { this.output("log", t); }, warn(t) { this.output("warn", t); }, error(t) { this.output("error", t); }, output(t, e) { console && console[t] && console[t].apply(console, e); } }; class sa { constructor(e) { let i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}; this.init(e, i); } init(e) { let i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}; this.prefix = i.prefix || "i18next:", this.logger = e || Cd, this.options = i, this.debug = i.debug; } log() { for (var e = arguments.length, i = new Array(e), o = 0; o < e; o++) i[o] = arguments[o]; return this.forward(i, "log", "", !0); } warn() { for (var e = arguments.length, i = new Array(e), o = 0; o < e; o++) i[o] = arguments[o]; return this.forward(i, "warn", "", !0); } error() { for (var e = arguments.length, i = new Array(e), o = 0; o < e; o++) i[o] = arguments[o]; return this.forward(i, "error", ""); } deprecate() { for (var e = arguments.length, i = new Array(e), o = 0; o < e; o++) i[o] = arguments[o]; return this.forward(i, "warn", "WARNING DEPRECATED: ", !0); } forward(e, i, o, a) { return a && !this.debug ? null : (Y(e[0]) && (e[0] = `${o}${this.prefix} ${e[0]}`), this.logger[i](e)); } create(e) { return new sa(this.logger, x({ prefix: `${this.prefix}:${e}:` }, this.options)); } clone(e) { return e = e || this.options, e.prefix = e.prefix || this.prefix, new sa(this.logger, e); } } var Oe = new sa(); class ka { constructor() { this.observers = {}; } on(e, i) { return e.split(" ").forEach((o) => { this.observers[o] || (this.observers[o] = /* @__PURE__ */ new Map()); const a = this.observers[o].get(i) || 0; this.observers[o].set(i, a + 1); }), this; } off(e, i) { if (this.observers[e]) { if (!i) { delete this.observers[e]; return; } this.observers[e].delete(i); } } emit(e) { for (var i = arguments.length, o = new Array(i > 1 ? i - 1 : 0), a = 1; a < i; a++) o[a - 1] = arguments[a]; this.observers[e] && Array.from(this.observers[e].entries()).forEach((n) => { let [d, l] = n; for (let c = 0; c < l; c++) d(...o); }), this.observers["*"] && Array.from(this.observers["*"].entries()).forEach((n) => { let [d, l] = n; for (let c = 0; c < l; c++) d.apply(d, [e, ...o]); }); } } class pn extends ka { constructor(e) { let i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : { ns: ["translation"], defaultNS: "translation" }; super(), this.data = e || {}, this.options = i, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.options.ignoreJSONStructure === void 0 && (this.options.ignoreJSONStructure = !0); } addNamespaces(e) { this.options.ns.indexOf(e) < 0 && this.options.ns.push(e); } removeNamespaces(e) { const i = this.options.ns.indexOf(e); i > -1 && this.options.ns.splice(i, 1); } getResource(e, i, o) { let a = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {}; const r = a.keySeparator !== void 0 ? a.keySeparator : this.options.keySeparator, n = a.ignoreJSONStructure !== void 0 ? a.ignoreJSONStructure : this.options.ignoreJSONStructure; let d; e.indexOf(".") > -1 ? d = e.split(".") : (d = [e, i], o && (Array.isArray(o) ? d.push(...o) : Y(o) && r ? d.push(...o.split(r)) : d.push(o))); const l = ra(this.data, d); return !l && !i && !o && e.indexOf(".") > -1 && (e = d[0], i = d[1], o = d.slice(2).join(".")), l || !n || !Y(o) ? l : lr(this.data && this.data[e] && this.data[e][i], o, r); } addResource(e, i, o, a) { let r = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : { silent: !1 }; const n = r.keySeparator !== void 0 ? r.keySeparator : this.options.keySeparator; let d = [e, i]; o && (d = d.concat(n ? o.split(n) : o)), e.indexOf(".") > -1 && (d = e.split("."), a = i, i = d[1]), this.addNamespaces(i), un(this.data, d, a), r.silent || this.emit("added", e, i, o, a); } addResources(e, i, o) { let a = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : { silent: !1 }; for (const r in o) (Y(o[r]) || Array.isArray(o[r])) && this.addResource(e, i, r, o[r], { silent: !0 }); a.silent || this.emit("added", e, i, o); } addResourceBundle(e, i, o, a, r) { let n = arguments.length > 5 && arguments[5] !== void 0 ? arguments[5] : { silent: !1, skipCopy: !1 }, d = [e, i]; e.indexOf(".") > -1 && (d = e.split("."), a = o, o = i, i = d[1]), this.addNamespaces(i); let l = ra(this.data, d) || {}; n.skipCopy || (o = JSON.parse(JSON.stringify(o))), a ? Jn(l, o, r) : l = x(x({}, l), o), un(this.data, d, l), n.silent || this.emit("added", e, i, o); } removeResourceBundle(e, i) { this.hasResourceBundle(e, i) && delete this.data[e][i], this.removeNamespaces(i), this.emit("removed", e, i); } hasResourceBundle(e, i) { return this.getResource(e, i) !== void 0; } getResourceBundle(e, i) { return i || (i = this.options.defaultNS), this.options.compatibilityAPI === "v1" ? x({}, this.getResource(e, i)) : this.getResource(e, i); } getDataByLanguage(e) { return this.data[e]; } hasLanguageSomeTranslations(e) { const i = this.getDataByLanguage(e); return !!(i && Object.keys(i) || []).find((a) => i[a] && Object.keys(i[a]).length > 0); } toJSON() { return this.data; } } var Xn = { processors: {}, addPostProcessor(t) { this.processors[t.name] = t; }, handle(t, e, i, o, a) { return t.forEach((r) => { this.processors[r] && (e = this.processors[r].process(e, i, o, a)); }), e; } }; const hn = {}; class da extends ka { constructor(e) { let i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}; super(), md(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils"], e, this), this.options = i, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.logger = Oe.create("translator"); } changeLanguage(e) { e && (this.language = e); } exists(e) { let i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : { interpolation: {} }; if (e == null) return !1; const o = this.resolve(e, i); return o && o.res !== void 0; } extractFromKey(e, i) { let o = i.nsSeparator !== void 0 ? i.nsSeparator : this.options.nsSeparator; o === void 0 && (o = ":"); const a = i.keySeparator !== void 0 ? i.keySeparator : this.options.keySeparator; let r = i.ns || this.options.defaultNS || []; const n = o && e.indexOf(o) > -1, d = !this.options.userDefinedKeySeparator && !i.keySeparator && !this.options.userDefinedNsSeparator && !i.nsSeparator && !zd(e, o, a); if (n && !d) { const l = e.match(this.interpolator.nestingRegexp); if (l && l.length > 0) return { key: e, namespaces: Y(r) ? [r] : r }; const c = e.split(o); (o !== a || o === a && this.options.ns.indexOf(c[0]) > -1) && (r = c.shift()), e = c.join(a); } return { key: e, namespaces: Y(r) ? [r] : r }; } translate(e, i, o) { if (typeof i != "object" && this.options.overloadTranslationOptionHandler && (i = this.options.overloadTranslationOptionHandler(arguments)), typeof i == "object" && (i = x({}, i)), i || (i = {}), e == null) return ""; Array.isArray(e) || (e = [String(e)]); const a = i.returnDetails !== void 0 ? i.returnDetails : this.options.returnDetails, r = i.keySeparator !== void 0 ? i.keySeparator : this.options.keySeparator, { key: n, namespaces: d } = this.extractFromKey(e[e.length - 1], i), l = d[d.length - 1], c = i.lng || this.language, u = i.appendNamespaceToCIMode || this.options.appendNamespaceToCIMode; if (c && c.toLowerCase() === "cimode") { if (u) { const R = i.nsSeparator || this.options.nsSeparator; return a ? { res: `${l}${R}${n}`, usedKey: n, exactUsedKey: n, usedLng: c, usedNS: l, usedParams: this.getUsedParamsDetails(i) } : `${l}${R}${n}`; } return a ? { res: n, usedKey: n, exactUsedKey: n, usedLng: c, usedNS: l, usedParams: this.getUsedParamsDetails(i) } : n; } const h = this.resolve(e, i); let p = h && h.res; const g = h && h.usedKey || n, m = h && h.exactUsedKey || n, w = Object.prototype.toString.apply(p), y = ["[object Number]", "[object Function]", "[object RegExp]"], _ = i.joinArrays !== void 0 ? i.joinArrays : this.options.joinArrays, k = !this.i18nFormat || this.i18nFormat.handleAsObject, C = !Y(p) && typeof p != "boolean" && typeof p != "number"; if (k && p && C && y.indexOf(w) < 0 && !(Y(_) && Array.isArray(p))) { if (!i.returnObjects && !this.options.returnObjects) { this.options.returnedObjectHandler || this.logger.warn("accessing an object - but returnObjects options is not enabled!"); const R = this.options.returnedObjectHandler ? this.options.returnedObjectHandler(g, p, q(x({}, i), { ns: d })) : `key '${n} (${this.language})' returned an object instead of string.`; return a ? (h.res = R, h.usedParams = this.getUsedParamsDetails(i), h) : R; } if (r) { const R = Array.isArray(p), A = R ? [] : {}, J = R ? m : g; for (const Q in p) if (Object.prototype.hasOwnProperty.call(p, Q)) { const it = `${J}${r}${Q}`; A[Q] = this.translate(it, q(x({}, i), { joinArrays: !1, ns: d })), A[Q] === it && (A[Q] = p[Q]); } p = A; } } else if (k && Y(_) && Array.isArray(p)) p = p.join(_), p && (p = this.extendTranslation(p, e, i, o)); else { let R = !1, A = !1; const J = i.count !== void 0 && !Y(i.count), Q = da.hasDefaultValue(i), it = J ? this.pluralResolver.getSuffix(c, i.count, i) : "", nt = i.ordinal && J ? this.pluralResolver.getSuffix(c, i.count, { ordinal: !1 }) : "", tt = J && !i.ordinal && i.count === 0 && this.pluralResolver.shouldUseIntlApi(), N = tt && i[`defaultValue${this.options.pluralSeparator}zero`] || i[`defaultValue${it}`] || i[`defaultValue${nt}`] || i.defaultValue; !this.isValidLookup(p) && Q && (R = !0, p = N), this.isValidLookup(p) || (A = !0, p = n); const dt = (i.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) && A ? void 0 : p, M = Q && N !== p && this.options.updateMissing; if (A || R || M) { if (this.logger.log(M ? "updateKey" : "missingKey", c, l, n, M ? N : p), r) { const $ = this.resolve(n, q(x({}, i), { keySeparator: !1 })); $ && $.res && this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format."); } let z = []; const S = this.languageUtils.getFallbackCodes(this.options.fallbackLng, i.lng || this.language); if (this.options.saveMissingTo === "fallback" && S && S[0]) for (let $ = 0; $ < S.length; $++) z.push(S[$]); else this.options.saveMissingTo === "all" ? z = this.languageUtils.toResolveHierarchy(i.lng || this.language) : z.push(i.lng || this.language); const E = ($, F, B) => { const U = Q && B !== p ? B : dt; this.options.missingKeyHandler ? this.options.missingKeyHandler($, l, F, U, M, i) : this.backendConnector && this.backendConnector.saveMissing && this.backendConnector.saveMissing($, l, F, U, M, i), this.emit("missingKey", $, l, F, p); }; this.options.saveMissing && (this.options.saveMissingPlurals && J ? z.forEach(($) => { const F = this.pluralResolver.getSuffixes($, i); tt && i[`defaultValue${this.options.pluralSeparator}zero`] && F.indexOf(`${this.options.pluralSeparator}zero`) < 0 && F.push(`${this.options.pluralSeparator}zero`), F.forEach((B) => { E([$], n + B, i[`defaultValue${B}`] || N); }); }) : E(z, n, N)); } p = this.extendTranslation(p, e, i, h, o), A && p === n && this.options.appendNamespaceToMissingKey && (p = `${l}:${n}`), (A || R) && this.options.parseMissingKeyHandler && (this.options.compatibilityAPI !== "v1" ? p = this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey ? `${l}:${n}` : n, R ? p : void 0) : p = this.options.parseMissingKeyHandler(p)); } return a ? (h.res = p, h.usedParams = this.getUsedParamsDetails(i), h) : p; } extendTranslation(e, i, o, a, r) { var n = this; if (this.i18nFormat && this.i18nFormat.parse) e = this.i18nFormat.parse(e, x(x({}, this.options.interpolation.defaultVariables), o), o.lng || this.language || a.usedLng, a.usedNS, a.usedKey, { resolved: a }); else if (!o.skipInterpolation) { o.interpolation && this.interpolator.init(q(x({}, o), { interpolation: x(x({}, this.options.interpolation), o.interpolation) })); const c = Y(e) && (o && o.interpolation && o.interpolation.skipOnVariables !== void 0 ? o.interpolation.skipOnVariables : this.options.interpolation.skipOnVariables); let u; if (c) { const p = e.match(this.interpolator.nestingRegexp); u = p && p.length; } let h = o.replace && !Y(o.replace) ? o.replace : o; if (this.options.interpolation.defaultVariables && (h = x(x({}, this.options.interpolation.defaultVariables), h)), e = this.interpolator.interpolate(e, h, o.lng || this.language || a.usedLng, o), c) { const p = e.match(this.interpolator.nestingRegexp), g = p && p.length; u < g && (o.nest = !1); } !o.lng && this.options.compatibilityAPI !== "v1" && a && a.res && (o.lng = this.language || a.usedLng), o.nest !== !1 && (e = this.interpolator.nest(e, function() { for (var p = arguments.length, g = new Array(p), m = 0; m < p; m++) g[m] = arguments[m]; return r && r[0] === g[0] && !o.context ? (n.logger.warn(`It seems you are nesting recursively key: ${g[0]} in key: ${i[0]}`), null) : n.translate(...g, i); }, o)), o.interpolation && this.interpolator.reset(); } const d = o.postProcess || this.options.postProcess, l = Y(d) ? [d] : d; return e != null && l && l.length && o.applyPostProcessor !== !1 && (e = Xn.handle(l, e, i, this.options && this.options.postProcessPassResolved ? x({ i18nResolved: q(x({}, a), { usedParams: this.getUsedParamsDetails(o) }) }, o) : o, this)), e; } resolve(e) { let i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, o, a, r, n, d; return Y(e) && (e = [e]), e.forEach((l) => { if (this.isValidLookup(o)) return; const c = this.extractFromKey(l, i), u = c.key; a = u; let h = c.namespaces; this.options.fallbackNS && (h = h.concat(this.options.fallbackNS)); const p = i.count !== void 0 && !Y(i.count), g = p && !i.ordinal && i.count === 0 && this.pluralResolver.shouldUseIntlApi(), m = i.context !== void 0 && (Y(i.context) || typeof i.context == "number") && i.context !== "", w = i.lngs ? i.lngs : this.languageUtils.toResolveHierarchy(i.lng || this.language, i.fallbackLng); h.forEach((y) => { this.isValidLookup(o) || (d = y, !hn[`${w[0]}-${y}`] && this.utils && this.utils.hasLoadedNamespace && !this.utils.hasLoadedNamespace(d) && (hn[`${w[0]}-${y}`] = !0, this.logger.warn(`key "${a}" for languages "${w.join(", ")}" won't get resolved as namespace "${d}" was not yet loaded`, "This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")), w.forEach((_) => { if (this.isValidLookup(o)) return; n = _; const k = [u]; if (this.i18nFormat && this.i18nFormat.addLookupKeys) this.i18nFormat.addLookupKeys(k, u, _, y, i); else { let R; p && (R = this.pluralResolver.getSuffix(_, i.count, i)); const A = `${this.options.pluralSeparator}zero`, J = `${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`; if (p && (k.push(u + R), i.ordinal && R.indexOf(J) === 0 && k.push(u + R.replace(J, this.options.pluralSeparator)), g && k.push(u + A)), m) { const Q = `${u}${this.options.contextSeparator}${i.context}`; k.push(Q), p && (k.push(Q + R), i.ordinal && R.indexOf(J) === 0 && k.push(Q + R.replace(J, this.options.pluralSeparator)), g && k.push(Q + A)); } } let C; for (; C = k.pop(); ) this.isValidLookup(o) || (r = C, o = this.getResource(_, y, C, i)); })); }); }), { res: o, usedKey: a, exactUsedKey: r, usedLng: n, usedNS: d }; } isValidLookup(e) { return e !== void 0 && !(!this.options.returnNull && e === null) && !(!this.options.returnEmptyString && e === ""); } getResource(e, i, o) { let a = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {}; return this.i18nFormat && this.i18nFormat.getResource ? this.i18nFormat.getResource(e, i, o, a) : this.resourceStore.getResource(e, i, o, a); } getUsedParamsDetails() { let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}; const i = ["defaultValue", "ordinal", "context", "replace", "lng", "lngs", "fallbackLng", "ns", "keySeparator", "nsSeparator", "returnObjects", "returnDetails", "joinArra