@ukpc-lib/react 0.4.1 → 0.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,7 @@
1
1
  import "./index.css";
2
2
  import { jsxs as zo, Fragment as _T, jsx as St } from "react/jsx-runtime";
3
3
  import * as En from "react";
4
- import Ut, { useState as Wr, useRef as vi, useSyncExternalStore as PT, useLayoutEffect as Ic, useEffect as wo, isValidElement as Rc, cloneElement as Gh, createContext as va, useContext as ri, useMemo as Mc, createElement as Pp, useInsertionEffect as RT, useCallback as AT, forwardRef as Yy, useId as OT, PureComponent as DT } from "react";
4
+ import Ut, { createContext as va, useState as Wr, useContext as ri, useRef as vi, useEffect as wo, useMemo as Ic, createElement as Pp, useSyncExternalStore as PT, useLayoutEffect as Mc, isValidElement as Rc, cloneElement as Gh, useInsertionEffect as RT, useCallback as AT, forwardRef as Yy, useId as OT, PureComponent as DT } from "react";
5
5
  import IT from "axios";
6
6
  import MT from "moment";
7
7
  import { createTheme as LT, ThemeProvider as FT, styled as BT, Switch as NT } from "@mui/material";
@@ -94,683 +94,170 @@ const $o = {
94
94
  buttonText: "#292929",
95
95
  buttonHover: "#2E7D32"
96
96
  };
97
- function Xy(t) {
98
- var e, n, r = "";
99
- if (typeof t == "string" || typeof t == "number")
100
- r += t;
101
- else if (typeof t == "object")
102
- if (Array.isArray(t)) {
103
- var i = t.length;
104
- for (e = 0; e < i; e++)
105
- t[e] && (n = Xy(t[e])) && (r && (r += " "), r += n);
106
- } else
107
- for (n in t)
108
- t[n] && (r && (r += " "), r += n);
109
- return r;
97
+ function Yo(t) {
98
+ "@babel/helpers - typeof";
99
+ return Yo = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
100
+ return typeof e;
101
+ } : function(e) {
102
+ return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
103
+ }, Yo(t);
110
104
  }
111
- function Ul() {
112
- for (var t, e, n = 0, r = "", i = arguments.length; n < i; n++)
113
- (t = arguments[n]) && (e = Xy(t)) && (r && (r += " "), r += e);
114
- return r;
105
+ function qo(t, e) {
106
+ if (!(t instanceof e))
107
+ throw new TypeError("Cannot call a class as a function");
115
108
  }
116
- const sf = (t) => typeof t == "number" && !isNaN(t), Uu = (t) => typeof t == "string", Vo = (t) => typeof t == "function", Kf = (t) => Uu(t) || Vo(t) ? t : null, qh = (t) => Rc(t) || Uu(t) || Vo(t) || sf(t);
117
- function $T(t, e, n) {
118
- n === void 0 && (n = 300);
119
- const { scrollHeight: r, style: i } = t;
120
- requestAnimationFrame(() => {
121
- i.minHeight = "initial", i.height = r + "px", i.transition = `all ${n}ms`, requestAnimationFrame(() => {
122
- i.height = "0", i.padding = "0", i.margin = "0", setTimeout(e, n);
123
- });
124
- });
109
+ function $T(t, e) {
110
+ if (Yo(t) != "object" || !t)
111
+ return t;
112
+ var n = t[Symbol.toPrimitive];
113
+ if (n !== void 0) {
114
+ var r = n.call(t, e || "default");
115
+ if (Yo(r) != "object")
116
+ return r;
117
+ throw new TypeError("@@toPrimitive must return a primitive value.");
118
+ }
119
+ return (e === "string" ? String : Number)(t);
125
120
  }
126
- function xd(t) {
127
- let { enter: e, exit: n, appendPosition: r = !1, collapse: i = !0, collapseDuration: s = 300 } = t;
128
- return function(u) {
129
- let { children: g, position: p, preventExitTransition: y, done: T, nodeRef: x, isIn: A, playToast: B } = u;
130
- const Y = r ? `${e}--${p}` : e, z = r ? `${n}--${p}` : n, $ = vi(0);
131
- return Ic(() => {
132
- const L = x.current, ne = Y.split(" "), te = (he) => {
133
- he.target === x.current && (B(), L.removeEventListener("animationend", te), L.removeEventListener("animationcancel", te), $.current === 0 && he.type !== "animationcancel" && L.classList.remove(...ne));
134
- };
135
- L.classList.add(...ne), L.addEventListener("animationend", te), L.addEventListener("animationcancel", te);
136
- }, []), wo(() => {
137
- const L = x.current, ne = () => {
138
- L.removeEventListener("animationend", ne), i ? $T(L, T, s) : T();
139
- };
140
- A || (y ? ne() : ($.current = 1, L.className += ` ${z}`, L.addEventListener("animationend", ne)));
141
- }, [A]), Ut.createElement(Ut.Fragment, null, g);
142
- };
121
+ function Xy(t) {
122
+ var e = $T(t, "string");
123
+ return Yo(e) == "symbol" ? e : String(e);
143
124
  }
144
125
  function om(t, e) {
145
- return t != null ? { content: t.content, containerId: t.props.containerId, id: t.props.toastId, theme: t.props.theme, type: t.props.type, data: t.props.data || {}, isLoading: t.props.isLoading, icon: t.props.icon, status: e } : {};
146
- }
147
- const Qi = /* @__PURE__ */ new Map();
148
- let lf = [];
149
- const Xh = /* @__PURE__ */ new Set(), YT = (t) => Xh.forEach((e) => e(t)), Ky = () => Qi.size > 0;
150
- function Jy(t, e) {
151
- var n;
152
- if (e)
153
- return !((n = Qi.get(e)) == null || !n.isToastActive(t));
154
- let r = !1;
155
- return Qi.forEach((i) => {
156
- i.isToastActive(t) && (r = !0);
157
- }), r;
126
+ for (var n = 0; n < e.length; n++) {
127
+ var r = e[n];
128
+ r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(t, Xy(r.key), r);
129
+ }
158
130
  }
159
- function Zy(t, e) {
160
- qh(t) && (Ky() || lf.push({ content: t, options: e }), Qi.forEach((n) => {
161
- n.buildToast(t, e);
162
- }));
131
+ function Xo(t, e, n) {
132
+ return e && om(t.prototype, e), n && om(t, n), Object.defineProperty(t, "prototype", {
133
+ writable: !1
134
+ }), t;
163
135
  }
164
- function am(t, e) {
165
- Qi.forEach((n) => {
166
- e != null && e != null && e.containerId ? (e == null ? void 0 : e.containerId) === n.id && n.toggle(t, e == null ? void 0 : e.id) : n.toggle(t, e == null ? void 0 : e.id);
167
- });
136
+ function Vl(t) {
137
+ if (t === void 0)
138
+ throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
139
+ return t;
168
140
  }
169
- function GT(t) {
170
- const { subscribe: e, getSnapshot: n, setProps: r } = vi(function(s) {
171
- const u = s.containerId || 1;
172
- return { subscribe(g) {
173
- const p = function(T, x, A) {
174
- let B = 1, Y = 0, z = [], $ = [], L = [], ne = x;
175
- const te = /* @__PURE__ */ new Map(), he = /* @__PURE__ */ new Set(), ie = () => {
176
- L = Array.from(te.values()), he.forEach((Ee) => Ee());
177
- }, xe = (Ee) => {
178
- $ = Ee == null ? [] : $.filter((me) => me !== Ee), ie();
179
- }, b = (Ee) => {
180
- const { toastId: me, onOpen: Ze, updateId: bt, children: et } = Ee.props, tt = bt == null;
181
- Ee.staleId && te.delete(Ee.staleId), te.set(me, Ee), $ = [...$, Ee.props.toastId].filter((ut) => ut !== Ee.staleId), ie(), A(om(Ee, tt ? "added" : "updated")), tt && Vo(Ze) && Ze(Rc(et) && et.props);
182
- };
183
- return { id: T, props: ne, observe: (Ee) => (he.add(Ee), () => he.delete(Ee)), toggle: (Ee, me) => {
184
- te.forEach((Ze) => {
185
- me != null && me !== Ze.props.toastId || Vo(Ze.toggle) && Ze.toggle(Ee);
186
- });
187
- }, removeToast: xe, toasts: te, clearQueue: () => {
188
- Y -= z.length, z = [];
189
- }, buildToast: (Ee, me) => {
190
- if (((Ye) => {
191
- let { containerId: Ke, toastId: Qe, updateId: Je } = Ye;
192
- const Xe = Ke ? Ke !== T : T !== 1, ft = te.has(Qe) && Je == null;
193
- return Xe || ft;
194
- })(me))
195
- return;
196
- const { toastId: Ze, updateId: bt, data: et, staleId: tt, delay: ut } = me, ve = () => {
197
- xe(Ze);
198
- }, Ie = bt == null;
199
- Ie && Y++;
200
- const Ue = { ...ne, style: ne.toastStyle, key: B++, ...Object.fromEntries(Object.entries(me).filter((Ye) => {
201
- let [Ke, Qe] = Ye;
202
- return Qe != null;
203
- })), toastId: Ze, updateId: bt, data: et, closeToast: ve, isIn: !1, className: Kf(me.className || ne.toastClassName), bodyClassName: Kf(me.bodyClassName || ne.bodyClassName), progressClassName: Kf(me.progressClassName || ne.progressClassName), autoClose: !me.isLoading && ($e = me.autoClose, nt = ne.autoClose, $e === !1 || sf($e) && $e > 0 ? $e : nt), deleteToast() {
204
- const Ye = te.get(Ze), { onClose: Ke, children: Qe } = Ye.props;
205
- Vo(Ke) && Ke(Rc(Qe) && Qe.props), A(om(Ye, "removed")), te.delete(Ze), Y--, Y < 0 && (Y = 0), z.length > 0 ? b(z.shift()) : ie();
206
- } };
207
- var $e, nt;
208
- Ue.closeButton = ne.closeButton, me.closeButton === !1 || qh(me.closeButton) ? Ue.closeButton = me.closeButton : me.closeButton === !0 && (Ue.closeButton = !qh(ne.closeButton) || ne.closeButton);
209
- let _e = Ee;
210
- Rc(Ee) && !Uu(Ee.type) ? _e = Gh(Ee, { closeToast: ve, toastProps: Ue, data: et }) : Vo(Ee) && (_e = Ee({ closeToast: ve, toastProps: Ue, data: et }));
211
- const Re = { content: _e, props: Ue, staleId: tt };
212
- ne.limit && ne.limit > 0 && Y > ne.limit && Ie ? z.push(Re) : sf(ut) ? setTimeout(() => {
213
- b(Re);
214
- }, ut) : b(Re);
215
- }, setProps(Ee) {
216
- ne = Ee;
217
- }, setToggle: (Ee, me) => {
218
- te.get(Ee).toggle = me;
219
- }, isToastActive: (Ee) => $.some((me) => me === Ee), getSnapshot: () => ne.newestOnTop ? L.reverse() : L };
220
- }(u, s, YT);
221
- Qi.set(u, p);
222
- const y = p.observe(g);
223
- return lf.forEach((T) => Zy(T.content, T.options)), lf = [], () => {
224
- y(), Qi.delete(u);
225
- };
226
- }, setProps(g) {
227
- var p;
228
- (p = Qi.get(u)) == null || p.setProps(g);
229
- }, getSnapshot() {
230
- var g;
231
- return (g = Qi.get(u)) == null ? void 0 : g.getSnapshot();
232
- } };
233
- }(t)).current;
234
- r(t);
235
- const i = PT(e, n, n);
236
- return { getToastToRender: function(s) {
237
- if (!i)
238
- return [];
239
- const u = /* @__PURE__ */ new Map();
240
- return i.forEach((g) => {
241
- const { position: p } = g.props;
242
- u.has(p) || u.set(p, []), u.get(p).push(g);
243
- }), Array.from(u, (g) => s(g[0], g[1]));
244
- }, isToastActive: Jy, count: i == null ? void 0 : i.length };
141
+ function ed(t, e) {
142
+ return ed = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(r, i) {
143
+ return r.__proto__ = i, r;
144
+ }, ed(t, e);
245
145
  }
246
- function qT(t) {
247
- const [e, n] = Wr(!1), [r, i] = Wr(!1), s = vi(null), u = vi({ start: 0, delta: 0, removalDistance: 0, canCloseOnClick: !0, canDrag: !1, didMove: !1 }).current, { autoClose: g, pauseOnHover: p, closeToast: y, onClick: T, closeOnClick: x } = t;
248
- var A, B;
249
- function Y() {
250
- n(!0);
251
- }
252
- function z() {
253
- n(!1);
254
- }
255
- function $(te) {
256
- const he = s.current;
257
- u.canDrag && he && (u.didMove = !0, e && z(), u.delta = t.draggableDirection === "x" ? te.clientX - u.start : te.clientY - u.start, u.start !== te.clientX && (u.canCloseOnClick = !1), he.style.transform = `translate3d(${t.draggableDirection === "x" ? `${u.delta}px, var(--y)` : `0, calc(${u.delta}px + var(--y))`},0)`, he.style.opacity = "" + (1 - Math.abs(u.delta / u.removalDistance)));
258
- }
259
- function L() {
260
- document.removeEventListener("pointermove", $), document.removeEventListener("pointerup", L);
261
- const te = s.current;
262
- if (u.canDrag && u.didMove && te) {
263
- if (u.canDrag = !1, Math.abs(u.delta) > u.removalDistance)
264
- return i(!0), t.closeToast(), void t.collapseAll();
265
- te.style.transition = "transform 0.2s, opacity 0.2s", te.style.removeProperty("transform"), te.style.removeProperty("opacity");
266
- }
267
- }
268
- (B = Qi.get((A = { id: t.toastId, containerId: t.containerId, fn: n }).containerId || 1)) == null || B.setToggle(A.id, A.fn), wo(() => {
269
- if (t.pauseOnFocusLoss)
270
- return document.hasFocus() || z(), window.addEventListener("focus", Y), window.addEventListener("blur", z), () => {
271
- window.removeEventListener("focus", Y), window.removeEventListener("blur", z);
272
- };
273
- }, [t.pauseOnFocusLoss]);
274
- const ne = { onPointerDown: function(te) {
275
- if (t.draggable === !0 || t.draggable === te.pointerType) {
276
- u.didMove = !1, document.addEventListener("pointermove", $), document.addEventListener("pointerup", L);
277
- const he = s.current;
278
- u.canCloseOnClick = !0, u.canDrag = !0, he.style.transition = "none", t.draggableDirection === "x" ? (u.start = te.clientX, u.removalDistance = he.offsetWidth * (t.draggablePercent / 100)) : (u.start = te.clientY, u.removalDistance = he.offsetHeight * (t.draggablePercent === 80 ? 1.5 * t.draggablePercent : t.draggablePercent) / 100);
146
+ function xd(t, e) {
147
+ if (typeof e != "function" && e !== null)
148
+ throw new TypeError("Super expression must either be null or a function");
149
+ t.prototype = Object.create(e && e.prototype, {
150
+ constructor: {
151
+ value: t,
152
+ writable: !0,
153
+ configurable: !0
279
154
  }
280
- }, onPointerUp: function(te) {
281
- const { top: he, bottom: ie, left: xe, right: b } = s.current.getBoundingClientRect();
282
- te.nativeEvent.type !== "touchend" && t.pauseOnHover && te.clientX >= xe && te.clientX <= b && te.clientY >= he && te.clientY <= ie ? z() : Y();
283
- } };
284
- return g && p && (ne.onMouseEnter = z, t.stacked || (ne.onMouseLeave = Y)), x && (ne.onClick = (te) => {
285
- T && T(te), u.canCloseOnClick && y();
286
- }), { playToast: Y, pauseToast: z, isRunning: e, preventExitTransition: r, toastRef: s, eventHandlers: ne };
155
+ }), Object.defineProperty(t, "prototype", {
156
+ writable: !1
157
+ }), e && ed(t, e);
287
158
  }
288
- function XT(t) {
289
- let { delay: e, isRunning: n, closeToast: r, type: i = "default", hide: s, className: u, style: g, controlledProgress: p, progress: y, rtl: T, isIn: x, theme: A } = t;
290
- const B = s || p && y === 0, Y = { ...g, animationDuration: `${e}ms`, animationPlayState: n ? "running" : "paused" };
291
- p && (Y.transform = `scaleX(${y})`);
292
- const z = Ul("Toastify__progress-bar", p ? "Toastify__progress-bar--controlled" : "Toastify__progress-bar--animated", `Toastify__progress-bar-theme--${A}`, `Toastify__progress-bar--${i}`, { "Toastify__progress-bar--rtl": T }), $ = Vo(u) ? u({ rtl: T, type: i, defaultClassName: z }) : Ul(z, u), L = { [p && y >= 1 ? "onTransitionEnd" : "onAnimationEnd"]: p && y < 1 ? null : () => {
293
- x && r();
294
- } };
295
- return Ut.createElement("div", { className: "Toastify__progress-bar--wrp", "data-hidden": B }, Ut.createElement("div", { className: `Toastify__progress-bar--bg Toastify__progress-bar-theme--${A} Toastify__progress-bar--${i}` }), Ut.createElement("div", { role: "progressbar", "aria-hidden": B ? "true" : "false", "aria-label": "notification timer", className: $, style: Y, ...L }));
159
+ function vf(t, e) {
160
+ if (e && (Yo(e) === "object" || typeof e == "function"))
161
+ return e;
162
+ if (e !== void 0)
163
+ throw new TypeError("Derived constructors may only return object or undefined");
164
+ return Vl(t);
296
165
  }
297
- let KT = 1;
298
- const Qy = () => "" + KT++;
299
- function JT(t) {
300
- return t && (Uu(t.toastId) || sf(t.toastId)) ? t.toastId : Qy();
166
+ function ys(t) {
167
+ return ys = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(n) {
168
+ return n.__proto__ || Object.getPrototypeOf(n);
169
+ }, ys(t);
301
170
  }
302
- function tf(t, e) {
303
- return Zy(t, e), e.toastId;
171
+ function bs(t, e, n) {
172
+ return e = Xy(e), e in t ? Object.defineProperty(t, e, {
173
+ value: n,
174
+ enumerable: !0,
175
+ configurable: !0,
176
+ writable: !0
177
+ }) : t[e] = n, t;
304
178
  }
305
- function ed(t, e) {
306
- return { ...e, type: e && e.type || t, toastId: JT(e) };
179
+ function Ky(t) {
180
+ if (Array.isArray(t))
181
+ return t;
307
182
  }
308
- function Lf(t) {
309
- return (e, n) => tf(e, ed(t, n));
183
+ function YT(t) {
184
+ if (typeof Symbol < "u" && t[Symbol.iterator] != null || t["@@iterator"] != null)
185
+ return Array.from(t);
310
186
  }
311
- function wn(t, e) {
312
- return tf(t, ed("default", e));
187
+ function am(t, e) {
188
+ (e == null || e > t.length) && (e = t.length);
189
+ for (var n = 0, r = new Array(e); n < e; n++)
190
+ r[n] = t[n];
191
+ return r;
313
192
  }
314
- wn.loading = (t, e) => tf(t, ed("default", { isLoading: !0, autoClose: !1, closeOnClick: !1, closeButton: !1, draggable: !1, ...e })), wn.promise = function(t, e, n) {
315
- let r, { pending: i, error: s, success: u } = e;
316
- i && (r = Uu(i) ? wn.loading(i, n) : wn.loading(i.render, { ...n, ...i }));
317
- const g = { isLoading: null, autoClose: null, closeOnClick: null, closeButton: null, draggable: null }, p = (T, x, A) => {
318
- if (x == null)
319
- return void wn.dismiss(r);
320
- const B = { type: T, ...g, ...n, data: A }, Y = Uu(x) ? { render: x } : x;
321
- return r ? wn.update(r, { ...B, ...Y }) : wn(Y.render, { ...B, ...Y }), A;
322
- }, y = Vo(t) ? t() : t;
323
- return y.then((T) => p("success", u, T)).catch((T) => p("error", s, T)), y;
324
- }, wn.success = Lf("success"), wn.info = Lf("info"), wn.error = Lf("error"), wn.warning = Lf("warning"), wn.warn = wn.warning, wn.dark = (t, e) => tf(t, ed("default", { theme: "dark", ...e })), wn.dismiss = function(t) {
325
- (function(e) {
326
- var n;
327
- if (Ky()) {
328
- if (e == null || Uu(n = e) || sf(n))
329
- Qi.forEach((i) => {
330
- i.removeToast(e);
331
- });
332
- else if (e && ("containerId" in e || "id" in e)) {
333
- var r;
334
- (r = Qi.get(e.containerId)) != null && r.removeToast(e.id) || Qi.forEach((i) => {
335
- i.removeToast(e.id);
336
- });
337
- }
338
- } else
339
- lf = lf.filter((i) => e != null && i.options.toastId !== e);
340
- })(t);
341
- }, wn.clearWaitingQueue = function(t) {
342
- t === void 0 && (t = {}), Qi.forEach((e) => {
343
- !e.props.limit || t.containerId && e.id !== t.containerId || e.clearQueue();
344
- });
345
- }, wn.isActive = Jy, wn.update = function(t, e) {
346
- e === void 0 && (e = {});
347
- const n = ((r, i) => {
348
- var s;
349
- let { containerId: u } = i;
350
- return (s = Qi.get(u || 1)) == null ? void 0 : s.toasts.get(r);
351
- })(t, e);
352
- if (n) {
353
- const { props: r, content: i } = n, s = { delay: 100, ...r, ...e, toastId: e.toastId || t, updateId: Qy() };
354
- s.toastId !== t && (s.staleId = t);
355
- const u = s.render || i;
356
- delete s.render, tf(u, s);
357
- }
358
- }, wn.done = (t) => {
359
- wn.update(t, { progress: 1 });
360
- }, wn.onChange = function(t) {
361
- return Xh.add(t), () => {
362
- Xh.delete(t);
363
- };
364
- }, wn.play = (t) => am(!0, t), wn.pause = (t) => am(!1, t);
365
- const ZT = typeof window < "u" ? Ic : wo, Ff = (t) => {
366
- let { theme: e, type: n, isLoading: r, ...i } = t;
367
- return Ut.createElement("svg", { viewBox: "0 0 24 24", width: "100%", height: "100%", fill: e === "colored" ? "currentColor" : `var(--toastify-icon-color-${n})`, ...i });
368
- }, lh = { info: function(t) {
369
- return Ut.createElement(Ff, { ...t }, Ut.createElement("path", { d: "M12 0a12 12 0 1012 12A12.013 12.013 0 0012 0zm.25 5a1.5 1.5 0 11-1.5 1.5 1.5 1.5 0 011.5-1.5zm2.25 13.5h-4a1 1 0 010-2h.75a.25.25 0 00.25-.25v-4.5a.25.25 0 00-.25-.25h-.75a1 1 0 010-2h1a2 2 0 012 2v4.75a.25.25 0 00.25.25h.75a1 1 0 110 2z" }));
370
- }, warning: function(t) {
371
- return Ut.createElement(Ff, { ...t }, Ut.createElement("path", { d: "M23.32 17.191L15.438 2.184C14.728.833 13.416 0 11.996 0c-1.42 0-2.733.833-3.443 2.184L.533 17.448a4.744 4.744 0 000 4.368C1.243 23.167 2.555 24 3.975 24h16.05C22.22 24 24 22.044 24 19.632c0-.904-.251-1.746-.68-2.44zm-9.622 1.46c0 1.033-.724 1.823-1.698 1.823s-1.698-.79-1.698-1.822v-.043c0-1.028.724-1.822 1.698-1.822s1.698.79 1.698 1.822v.043zm.039-12.285l-.84 8.06c-.057.581-.408.943-.897.943-.49 0-.84-.367-.896-.942l-.84-8.065c-.057-.624.25-1.095.779-1.095h1.91c.528.005.84.476.784 1.1z" }));
372
- }, success: function(t) {
373
- return Ut.createElement(Ff, { ...t }, Ut.createElement("path", { d: "M12 0a12 12 0 1012 12A12.014 12.014 0 0012 0zm6.927 8.2l-6.845 9.289a1.011 1.011 0 01-1.43.188l-4.888-3.908a1 1 0 111.25-1.562l4.076 3.261 6.227-8.451a1 1 0 111.61 1.183z" }));
374
- }, error: function(t) {
375
- return Ut.createElement(Ff, { ...t }, Ut.createElement("path", { d: "M11.983 0a12.206 12.206 0 00-8.51 3.653A11.8 11.8 0 000 12.207 11.779 11.779 0 0011.8 24h.214A12.111 12.111 0 0024 11.791 11.766 11.766 0 0011.983 0zM10.5 16.542a1.476 1.476 0 011.449-1.53h.027a1.527 1.527 0 011.523 1.47 1.475 1.475 0 01-1.449 1.53h-.027a1.529 1.529 0 01-1.523-1.47zM11 12.5v-6a1 1 0 012 0v6a1 1 0 11-2 0z" }));
376
- }, spinner: function() {
377
- return Ut.createElement("div", { className: "Toastify__spinner" });
378
- } }, QT = (t) => {
379
- const { isRunning: e, preventExitTransition: n, toastRef: r, eventHandlers: i, playToast: s } = qT(t), { closeButton: u, children: g, autoClose: p, onClick: y, type: T, hideProgressBar: x, closeToast: A, transition: B, position: Y, className: z, style: $, bodyClassName: L, bodyStyle: ne, progressClassName: te, progressStyle: he, updateId: ie, role: xe, progress: b, rtl: Ee, toastId: me, deleteToast: Ze, isIn: bt, isLoading: et, closeOnClick: tt, theme: ut } = t, ve = Ul("Toastify__toast", `Toastify__toast-theme--${ut}`, `Toastify__toast--${T}`, { "Toastify__toast--rtl": Ee }, { "Toastify__toast--close-on-click": tt }), Ie = Vo(z) ? z({ rtl: Ee, position: Y, type: T, defaultClassName: ve }) : Ul(ve, z), Ue = function(Re) {
380
- let { theme: Ye, type: Ke, isLoading: Qe, icon: Je } = Re, Xe = null;
381
- const ft = { theme: Ye, type: Ke };
382
- return Je === !1 || (Vo(Je) ? Xe = Je({ ...ft, isLoading: Qe }) : Rc(Je) ? Xe = Gh(Je, ft) : Qe ? Xe = lh.spinner() : ((vt) => vt in lh)(Ke) && (Xe = lh[Ke](ft))), Xe;
383
- }(t), $e = !!b || !p, nt = { closeToast: A, type: T, theme: ut };
384
- let _e = null;
385
- return u === !1 || (_e = Vo(u) ? u(nt) : Rc(u) ? Gh(u, nt) : function(Re) {
386
- let { closeToast: Ye, theme: Ke, ariaLabel: Qe = "close" } = Re;
387
- return Ut.createElement("button", { className: `Toastify__close-button Toastify__close-button--${Ke}`, type: "button", onClick: (Je) => {
388
- Je.stopPropagation(), Ye(Je);
389
- }, "aria-label": Qe }, Ut.createElement("svg", { "aria-hidden": "true", viewBox: "0 0 14 16" }, Ut.createElement("path", { fillRule: "evenodd", d: "M7.71 8.23l3.75 3.75-1.48 1.48-3.75-3.75-3.75 3.75L1 11.98l3.75-3.75L1 4.48 2.48 3l3.75 3.75L9.98 3l1.48 1.48-3.75 3.75z" })));
390
- }(nt)), Ut.createElement(B, { isIn: bt, done: Ze, position: Y, preventExitTransition: n, nodeRef: r, playToast: s }, Ut.createElement("div", { id: me, onClick: y, "data-in": bt, className: Ie, ...i, style: $, ref: r }, Ut.createElement("div", { ...bt && { role: xe }, className: Vo(L) ? L({ type: T }) : Ul("Toastify__toast-body", L), style: ne }, Ue != null && Ut.createElement("div", { className: Ul("Toastify__toast-icon", { "Toastify--animate-icon Toastify__zoom-enter": !et }) }, Ue), Ut.createElement("div", null, g)), _e, Ut.createElement(XT, { ...ie && !$e ? { key: `pb-${ie}` } : {}, rtl: Ee, theme: ut, delay: p, isRunning: e, isIn: bt, closeToast: A, hide: x, type: T, style: he, className: te, controlledProgress: $e, progress: b || 0 })));
391
- }, Sd = function(t, e) {
392
- return e === void 0 && (e = !1), { enter: `Toastify--animate Toastify__${t}-enter`, exit: `Toastify--animate Toastify__${t}-exit`, appendPosition: e };
393
- }, ek = xd(Sd("bounce", !0));
394
- xd(Sd("slide", !0));
395
- xd(Sd("zoom"));
396
- xd(Sd("flip"));
397
- const tk = { position: "top-right", transition: ek, autoClose: 5e3, closeButton: !0, pauseOnHover: !0, pauseOnFocusLoss: !0, draggable: "touch", draggablePercent: 80, draggableDirection: "x", role: "alert", theme: "light" };
398
- function l2(t) {
399
- let e = { ...tk, ...t };
400
- const n = t.stacked, [r, i] = Wr(!0), s = vi(null), { getToastToRender: u, isToastActive: g, count: p } = GT(e), { className: y, style: T, rtl: x, containerId: A } = e;
401
- function B(z) {
402
- const $ = Ul("Toastify__toast-container", `Toastify__toast-container--${z}`, { "Toastify__toast-container--rtl": x });
403
- return Vo(y) ? y({ position: z, rtl: x, defaultClassName: $ }) : Ul($, Kf(y));
404
- }
405
- function Y() {
406
- n && (i(!0), wn.play());
193
+ function Jy(t, e) {
194
+ if (t) {
195
+ if (typeof t == "string")
196
+ return am(t, e);
197
+ var n = Object.prototype.toString.call(t).slice(8, -1);
198
+ if (n === "Object" && t.constructor && (n = t.constructor.name), n === "Map" || n === "Set")
199
+ return Array.from(t);
200
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))
201
+ return am(t, e);
407
202
  }
408
- return ZT(() => {
409
- if (n) {
410
- var z;
411
- const $ = s.current.querySelectorAll('[data-in="true"]'), L = 12, ne = (z = e.position) == null ? void 0 : z.includes("top");
412
- let te = 0, he = 0;
413
- Array.from($).reverse().forEach((ie, xe) => {
414
- const b = ie;
415
- b.classList.add("Toastify__toast--stacked"), xe > 0 && (b.dataset.collapsed = `${r}`), b.dataset.pos || (b.dataset.pos = ne ? "top" : "bot");
416
- const Ee = te * (r ? 0.2 : 1) + (r ? 0 : L * xe);
417
- b.style.setProperty("--y", `${ne ? Ee : -1 * Ee}px`), b.style.setProperty("--g", `${L}`), b.style.setProperty("--s", "" + (1 - (r ? he : 0))), te += b.offsetHeight, he += 0.025;
418
- });
419
- }
420
- }, [r, p, n]), Ut.createElement("div", { ref: s, className: "Toastify", id: A, onMouseEnter: () => {
421
- n && (i(!1), wn.pause());
422
- }, onMouseLeave: Y }, u((z, $) => {
423
- const L = $.length ? { ...T } : { ...T, pointerEvents: "none" };
424
- return Ut.createElement("div", { className: B(z), style: L, key: `container-${z}` }, $.map((ne) => {
425
- let { content: te, props: he } = ne;
426
- return Ut.createElement(QT, { ...he, stacked: n, collapseAll: Y, isIn: g(he.toastId, he.containerId), style: he.style, key: `toast-${he.key}` }, te);
427
- }));
428
- }));
429
203
  }
430
- function nk() {
431
- return /* @__PURE__ */ zo(
432
- "svg",
433
- {
434
- width: "22",
435
- height: "22",
436
- viewBox: "0 0 22 22",
437
- fill: "none",
438
- xmlns: "http://www.w3.org/2000/svg",
439
- children: [
440
- /* @__PURE__ */ St(
441
- "path",
442
- {
443
- fillRule: "evenodd",
444
- clipRule: "evenodd",
445
- d: "M11 1C16.5222 1 21 5.47676 21 11C21 16.5222 16.5222 21 11 21C5.47676 21 1 16.5222 1 11C1 5.47676 5.47676 1 11 1Z",
446
- stroke: "#E01B00",
447
- strokeWidth: "1.5",
448
- strokeLinecap: "round",
449
- strokeLinejoin: "round"
450
- }
451
- ),
452
- /* @__PURE__ */ St(
453
- "path",
454
- {
455
- d: "M10.9942 6.89636V11.6737",
456
- stroke: "#E01B00",
457
- strokeWidth: "1.5",
458
- strokeLinecap: "round",
459
- strokeLinejoin: "round"
460
- }
461
- ),
462
- /* @__PURE__ */ St(
463
- "path",
464
- {
465
- d: "M10.9941 15.1038H11.0049",
466
- stroke: "#E01B00",
467
- strokeWidth: "2",
468
- strokeLinecap: "round",
469
- strokeLinejoin: "round"
470
- }
471
- )
472
- ]
473
- }
474
- );
204
+ function Zy() {
205
+ throw new TypeError(`Invalid attempt to destructure non-iterable instance.
206
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
475
207
  }
476
- function rk() {
477
- return /* @__PURE__ */ zo(
478
- "svg",
479
- {
480
- width: "24",
481
- height: "24",
482
- viewBox: "0 0 24 24",
483
- fill: "none",
484
- xmlns: "http://www.w3.org/2000/svg",
485
- children: [
486
- /* @__PURE__ */ St("rect", { width: "24", height: "24", rx: "12", fill: "#009D4F" }),
487
- /* @__PURE__ */ St(
488
- "path",
489
- {
490
- d: "M7.25244 12L10.4174 15.165L16.7474 8.83496",
491
- stroke: "white",
492
- strokeWidth: "2",
493
- strokeLinecap: "round",
494
- strokeLinejoin: "round"
495
- }
496
- )
497
- ]
498
- }
499
- );
208
+ function GT(t) {
209
+ return Ky(t) || YT(t) || Jy(t) || Zy();
500
210
  }
501
- function ik() {
502
- return /* @__PURE__ */ zo(
503
- "svg",
504
- {
505
- width: "24",
506
- height: "24",
507
- viewBox: "0 0 24 24",
508
- fill: "none",
509
- xmlns: "http://www.w3.org/2000/svg",
510
- children: [
511
- /* @__PURE__ */ St(
512
- "path",
513
- {
514
- d: "M12 7.73684V13.4211M12 21C7.69215 21 5.53823 21 4.29308 20.0953C3.20701 19.3063 2.50676 18.0934 2.36643 16.7583C2.20555 15.2276 3.28252 13.3623 5.43644 9.63158C7.59036 5.90088 8.66732 4.03553 10.0734 3.40952C11.2998 2.86349 12.7002 2.86349 13.9266 3.40952C15.3327 4.03553 16.4096 5.90088 18.5636 9.63158C20.7175 13.3623 21.7944 15.2276 21.6336 16.7583C21.4932 18.0934 20.793 19.3063 19.7069 20.0953C18.4618 21 16.3078 21 12 21Z",
515
- stroke: "#FFB600",
516
- "stroke-width": "1.5",
517
- "stroke-linecap": "round"
518
- }
519
- ),
520
- /* @__PURE__ */ St(
521
- "path",
522
- {
523
- d: "M12.9473 16.263C12.9473 16.7863 12.5232 17.2104 12 17.2104C11.4768 17.2104 11.0526 16.7863 11.0526 16.263C11.0526 15.7398 11.4768 15.3157 12 15.3157C12.5232 15.3157 12.9473 15.7398 12.9473 16.263Z",
524
- fill: "#FFB600"
525
- }
526
- )
527
- ]
528
- }
529
- );
211
+ function sm(t, e) {
212
+ var n = Object.keys(t);
213
+ if (Object.getOwnPropertySymbols) {
214
+ var r = Object.getOwnPropertySymbols(t);
215
+ e && (r = r.filter(function(i) {
216
+ return Object.getOwnPropertyDescriptor(t, i).enumerable;
217
+ })), n.push.apply(n, r);
218
+ }
219
+ return n;
530
220
  }
531
- const Rp = {
532
- paddingLeft: "16px",
533
- borderLeft: "2px solid",
534
- boxShadow: "none",
535
- fontFamily: "inherit"
536
- }, ok = ({ closeToast: t }) => /* @__PURE__ */ St(
537
- "i",
538
- {
539
- className: "material-icons",
540
- onClick: t,
541
- style: { cursor: "pointer" },
542
- children: /* @__PURE__ */ St(
543
- "svg",
544
- {
545
- width: "24",
546
- height: "25",
547
- viewBox: "0 0 24 25",
548
- fill: "none",
549
- xmlns: "http://www.w3.org/2000/svg",
550
- children: /* @__PURE__ */ St(
551
- "path",
552
- {
553
- d: "M7.05086 6.13616C6.66033 5.74563 6.02717 5.74563 5.63664 6.13616C5.24612 6.52668 5.24612 7.15984 5.63664 7.55037L10.5864 12.5001L5.63664 17.4499C5.24612 17.8404 5.24612 18.4736 5.63664 18.8641C6.02717 19.2546 6.66033 19.2546 7.05086 18.8641L12.0006 13.9143L16.9504 18.8641C17.3409 19.2546 17.974 19.2546 18.3646 18.8641C18.7551 18.4736 18.7551 17.8404 18.3646 17.4499L13.4148 12.5001L18.3646 7.55037C18.7551 7.15984 18.7551 6.52668 18.3646 6.13616C17.974 5.74563 17.3409 5.74563 16.9504 6.13616L12.0006 11.0859L7.05086 6.13616Z",
554
- fill: "#85858A"
555
- }
556
- )
557
- }
558
- )
221
+ function lm(t) {
222
+ for (var e = 1; e < arguments.length; e++) {
223
+ var n = arguments[e] != null ? arguments[e] : {};
224
+ e % 2 ? sm(Object(n), !0).forEach(function(r) {
225
+ bs(t, r, n[r]);
226
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n)) : sm(Object(n)).forEach(function(r) {
227
+ Object.defineProperty(t, r, Object.getOwnPropertyDescriptor(n, r));
228
+ });
559
229
  }
560
- ), u2 = (t) => {
561
- wn.success(t, {
562
- icon: /* @__PURE__ */ St(rk, {}),
563
- bodyStyle: {},
564
- position: "bottom-right",
565
- style: {
566
- ...Rp,
567
- background: $o.successLight,
568
- borderColor: $o.success,
569
- color: $o.success
230
+ return t;
231
+ }
232
+ var qT = {
233
+ type: "logger",
234
+ log: function(e) {
235
+ this.output("log", e);
236
+ },
237
+ warn: function(e) {
238
+ this.output("warn", e);
239
+ },
240
+ error: function(e) {
241
+ this.output("error", e);
242
+ },
243
+ output: function(e, n) {
244
+ console && console[e] && console[e].apply(console, n);
245
+ }
246
+ }, XT = function() {
247
+ function t(e) {
248
+ var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
249
+ qo(this, t), this.init(e, n);
250
+ }
251
+ return Xo(t, [{
252
+ key: "init",
253
+ value: function(n) {
254
+ var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
255
+ this.prefix = r.prefix || "i18next:", this.logger = n || qT, this.options = r, this.debug = r.debug;
570
256
  }
571
- });
572
- }, eb = (t) => {
573
- wn.error(t, {
574
- icon: /* @__PURE__ */ St(nk, {}),
575
- position: "bottom-right",
576
- style: {
577
- ...Rp,
578
- background: $o.dangerLight,
579
- borderColor: $o.danger,
580
- color: $o.danger
581
- }
582
- });
583
- }, c2 = (t) => {
584
- wn.error(t, {
585
- icon: /* @__PURE__ */ St(ik, {}),
586
- position: "bottom-right",
587
- style: {
588
- ...Rp,
589
- background: $o.warningLight,
590
- borderColor: $o.warning,
591
- color: $o.warning
592
- }
593
- });
594
- }, f2 = (t) => {
595
- wn(t, {
596
- closeButton: ok,
597
- toastId: "notify",
598
- position: "top-right",
599
- closeOnClick: !1,
600
- hideProgressBar: !0,
601
- containerId: "toastifyNotification",
602
- style: {
603
- width: "610px",
604
- minHeight: "72px",
605
- padding: "12px 24px 12px 0",
606
- color: $o.textPrimary
607
- }
608
- });
609
- };
610
- function Yo(t) {
611
- "@babel/helpers - typeof";
612
- return Yo = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
613
- return typeof e;
614
- } : function(e) {
615
- return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
616
- }, Yo(t);
617
- }
618
- function qo(t, e) {
619
- if (!(t instanceof e))
620
- throw new TypeError("Cannot call a class as a function");
621
- }
622
- function ak(t, e) {
623
- if (Yo(t) != "object" || !t)
624
- return t;
625
- var n = t[Symbol.toPrimitive];
626
- if (n !== void 0) {
627
- var r = n.call(t, e || "default");
628
- if (Yo(r) != "object")
629
- return r;
630
- throw new TypeError("@@toPrimitive must return a primitive value.");
631
- }
632
- return (e === "string" ? String : Number)(t);
633
- }
634
- function tb(t) {
635
- var e = ak(t, "string");
636
- return Yo(e) == "symbol" ? e : String(e);
637
- }
638
- function sm(t, e) {
639
- for (var n = 0; n < e.length; n++) {
640
- var r = e[n];
641
- r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(t, tb(r.key), r);
642
- }
643
- }
644
- function Xo(t, e, n) {
645
- return e && sm(t.prototype, e), n && sm(t, n), Object.defineProperty(t, "prototype", {
646
- writable: !1
647
- }), t;
648
- }
649
- function Vl(t) {
650
- if (t === void 0)
651
- throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
652
- return t;
653
- }
654
- function td(t, e) {
655
- return td = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(r, i) {
656
- return r.__proto__ = i, r;
657
- }, td(t, e);
658
- }
659
- function Cd(t, e) {
660
- if (typeof e != "function" && e !== null)
661
- throw new TypeError("Super expression must either be null or a function");
662
- t.prototype = Object.create(e && e.prototype, {
663
- constructor: {
664
- value: t,
665
- writable: !0,
666
- configurable: !0
667
- }
668
- }), Object.defineProperty(t, "prototype", {
669
- writable: !1
670
- }), e && td(t, e);
671
- }
672
- function vf(t, e) {
673
- if (e && (Yo(e) === "object" || typeof e == "function"))
674
- return e;
675
- if (e !== void 0)
676
- throw new TypeError("Derived constructors may only return object or undefined");
677
- return Vl(t);
678
- }
679
- function ys(t) {
680
- return ys = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(n) {
681
- return n.__proto__ || Object.getPrototypeOf(n);
682
- }, ys(t);
683
- }
684
- function bs(t, e, n) {
685
- return e = tb(e), e in t ? Object.defineProperty(t, e, {
686
- value: n,
687
- enumerable: !0,
688
- configurable: !0,
689
- writable: !0
690
- }) : t[e] = n, t;
691
- }
692
- function nb(t) {
693
- if (Array.isArray(t))
694
- return t;
695
- }
696
- function sk(t) {
697
- if (typeof Symbol < "u" && t[Symbol.iterator] != null || t["@@iterator"] != null)
698
- return Array.from(t);
699
- }
700
- function lm(t, e) {
701
- (e == null || e > t.length) && (e = t.length);
702
- for (var n = 0, r = new Array(e); n < e; n++)
703
- r[n] = t[n];
704
- return r;
705
- }
706
- function rb(t, e) {
707
- if (t) {
708
- if (typeof t == "string")
709
- return lm(t, e);
710
- var n = Object.prototype.toString.call(t).slice(8, -1);
711
- if (n === "Object" && t.constructor && (n = t.constructor.name), n === "Map" || n === "Set")
712
- return Array.from(t);
713
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))
714
- return lm(t, e);
715
- }
716
- }
717
- function ib() {
718
- throw new TypeError(`Invalid attempt to destructure non-iterable instance.
719
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
720
- }
721
- function lk(t) {
722
- return nb(t) || sk(t) || rb(t) || ib();
723
- }
724
- function um(t, e) {
725
- var n = Object.keys(t);
726
- if (Object.getOwnPropertySymbols) {
727
- var r = Object.getOwnPropertySymbols(t);
728
- e && (r = r.filter(function(i) {
729
- return Object.getOwnPropertyDescriptor(t, i).enumerable;
730
- })), n.push.apply(n, r);
731
- }
732
- return n;
733
- }
734
- function cm(t) {
735
- for (var e = 1; e < arguments.length; e++) {
736
- var n = arguments[e] != null ? arguments[e] : {};
737
- e % 2 ? um(Object(n), !0).forEach(function(r) {
738
- bs(t, r, n[r]);
739
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n)) : um(Object(n)).forEach(function(r) {
740
- Object.defineProperty(t, r, Object.getOwnPropertyDescriptor(n, r));
741
- });
742
- }
743
- return t;
744
- }
745
- var uk = {
746
- type: "logger",
747
- log: function(e) {
748
- this.output("log", e);
749
- },
750
- warn: function(e) {
751
- this.output("warn", e);
752
- },
753
- error: function(e) {
754
- this.output("error", e);
755
- },
756
- output: function(e, n) {
757
- console && console[e] && console[e].apply(console, n);
758
- }
759
- }, ck = function() {
760
- function t(e) {
761
- var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
762
- qo(this, t), this.init(e, n);
763
- }
764
- return Xo(t, [{
765
- key: "init",
766
- value: function(n) {
767
- var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
768
- this.prefix = r.prefix || "i18next:", this.logger = n || uk, this.options = r, this.debug = r.debug;
769
- }
770
- }, {
771
- key: "setDebug",
772
- value: function(n) {
773
- this.debug = n;
257
+ }, {
258
+ key: "setDebug",
259
+ value: function(n) {
260
+ this.debug = n;
774
261
  }
775
262
  }, {
776
263
  key: "log",
@@ -808,7 +295,7 @@ var uk = {
808
295
  }, {
809
296
  key: "create",
810
297
  value: function(n) {
811
- return new t(this.logger, cm(cm({}, {
298
+ return new t(this.logger, lm(lm({}, {
812
299
  prefix: "".concat(this.prefix, ":").concat(n, ":")
813
300
  }), this.options));
814
301
  }
@@ -818,7 +305,7 @@ var uk = {
818
305
  return n = n || this.options, n.prefix = n.prefix || this.prefix, new t(this.logger, n);
819
306
  }
820
307
  }]), t;
821
- }(), ms = new ck(), ql = function() {
308
+ }(), ms = new XT(), ql = function() {
822
309
  function t() {
823
310
  qo(this, t), this.observers = {};
824
311
  }
@@ -869,15 +356,15 @@ function qc() {
869
356
  });
870
357
  return n.resolve = t, n.reject = e, n;
871
358
  }
872
- function fm(t) {
359
+ function um(t) {
873
360
  return t == null ? "" : "" + t;
874
361
  }
875
- function fk(t, e, n) {
362
+ function KT(t, e, n) {
876
363
  t.forEach(function(r) {
877
364
  e[r] && (n[r] = e[r]);
878
365
  });
879
366
  }
880
- function Ap(t, e, n) {
367
+ function Rp(t, e, n) {
881
368
  function r(g) {
882
369
  return g && g.indexOf("###") > -1 ? g.replace(/###/g, ".") : g;
883
370
  }
@@ -895,32 +382,32 @@ function Ap(t, e, n) {
895
382
  k: r(s.shift())
896
383
  };
897
384
  }
898
- function dm(t, e, n) {
899
- var r = Ap(t, e, Object), i = r.obj, s = r.k;
385
+ function cm(t, e, n) {
386
+ var r = Rp(t, e, Object), i = r.obj, s = r.k;
900
387
  i[s] = n;
901
388
  }
902
- function dk(t, e, n, r) {
903
- var i = Ap(t, e, Object), s = i.obj, u = i.k;
389
+ function JT(t, e, n, r) {
390
+ var i = Rp(t, e, Object), s = i.obj, u = i.k;
904
391
  s[u] = s[u] || [], r && (s[u] = s[u].concat(n)), r || s[u].push(n);
905
392
  }
906
- function nd(t, e) {
907
- var n = Ap(t, e), r = n.obj, i = n.k;
393
+ function td(t, e) {
394
+ var n = Rp(t, e), r = n.obj, i = n.k;
908
395
  if (r)
909
396
  return r[i];
910
397
  }
911
- function hk(t, e, n) {
912
- var r = nd(t, n);
913
- return r !== void 0 ? r : nd(e, n);
398
+ function ZT(t, e, n) {
399
+ var r = td(t, n);
400
+ return r !== void 0 ? r : td(e, n);
914
401
  }
915
- function ob(t, e, n) {
402
+ function Qy(t, e, n) {
916
403
  for (var r in e)
917
- r !== "__proto__" && r !== "constructor" && (r in t ? typeof t[r] == "string" || t[r] instanceof String || typeof e[r] == "string" || e[r] instanceof String ? n && (t[r] = e[r]) : ob(t[r], e[r], n) : t[r] = e[r]);
404
+ r !== "__proto__" && r !== "constructor" && (r in t ? typeof t[r] == "string" || t[r] instanceof String || typeof e[r] == "string" || e[r] instanceof String ? n && (t[r] = e[r]) : Qy(t[r], e[r], n) : t[r] = e[r]);
918
405
  return t;
919
406
  }
920
407
  function wc(t) {
921
408
  return t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&");
922
409
  }
923
- var pk = {
410
+ var QT = {
924
411
  "&": "&amp;",
925
412
  "<": "&lt;",
926
413
  ">": "&gt;",
@@ -928,15 +415,15 @@ var pk = {
928
415
  "'": "&#39;",
929
416
  "/": "&#x2F;"
930
417
  };
931
- function gk(t) {
418
+ function ek(t) {
932
419
  return typeof t == "string" ? t.replace(/[&<>"'\/]/g, function(e) {
933
- return pk[e];
420
+ return QT[e];
934
421
  }) : t;
935
422
  }
936
- var Td = typeof window < "u" && window.navigator && typeof window.navigator.userAgentData > "u" && window.navigator.userAgent && window.navigator.userAgent.indexOf("MSIE") > -1, mk = [" ", ",", "?", "!", ";"];
937
- function vk(t, e, n) {
423
+ var Sd = typeof window < "u" && window.navigator && typeof window.navigator.userAgentData > "u" && window.navigator.userAgent && window.navigator.userAgent.indexOf("MSIE") > -1, tk = [" ", ",", "?", "!", ";"];
424
+ function nk(t, e, n) {
938
425
  e = e || "", n = n || "";
939
- var r = mk.filter(function(g) {
426
+ var r = tk.filter(function(g) {
940
427
  return e.indexOf(g) < 0 && n.indexOf(g) < 0;
941
428
  });
942
429
  if (r.length === 0)
@@ -950,7 +437,7 @@ function vk(t, e, n) {
950
437
  }
951
438
  return s;
952
439
  }
953
- function rd(t, e) {
440
+ function nd(t, e) {
954
441
  var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : ".";
955
442
  if (t) {
956
443
  if (t[e])
@@ -972,14 +459,14 @@ function rd(t, e) {
972
459
  return p[g];
973
460
  }
974
461
  var y = r.slice(s + u).join(n);
975
- return y ? rd(p, y, n) : void 0;
462
+ return y ? nd(p, y, n) : void 0;
976
463
  }
977
464
  i = i[r[s]];
978
465
  }
979
466
  return i;
980
467
  }
981
468
  }
982
- function hm(t, e) {
469
+ function fm(t, e) {
983
470
  var n = Object.keys(t);
984
471
  if (Object.getOwnPropertySymbols) {
985
472
  var r = Object.getOwnPropertySymbols(t);
@@ -989,19 +476,19 @@ function hm(t, e) {
989
476
  }
990
477
  return n;
991
478
  }
992
- function Bf(t) {
479
+ function Lf(t) {
993
480
  for (var e = 1; e < arguments.length; e++) {
994
481
  var n = arguments[e] != null ? arguments[e] : {};
995
- e % 2 ? hm(Object(n), !0).forEach(function(r) {
482
+ e % 2 ? fm(Object(n), !0).forEach(function(r) {
996
483
  bs(t, r, n[r]);
997
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n)) : hm(Object(n)).forEach(function(r) {
484
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n)) : fm(Object(n)).forEach(function(r) {
998
485
  Object.defineProperty(t, r, Object.getOwnPropertyDescriptor(n, r));
999
486
  });
1000
487
  }
1001
488
  return t;
1002
489
  }
1003
- function yk(t) {
1004
- var e = bk();
490
+ function rk(t) {
491
+ var e = ik();
1005
492
  return function() {
1006
493
  var r = ys(t), i;
1007
494
  if (e) {
@@ -1012,7 +499,7 @@ function yk(t) {
1012
499
  return vf(this, i);
1013
500
  };
1014
501
  }
1015
- function bk() {
502
+ function ik() {
1016
503
  if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham)
1017
504
  return !1;
1018
505
  if (typeof Proxy == "function")
@@ -1024,15 +511,15 @@ function bk() {
1024
511
  return !1;
1025
512
  }
1026
513
  }
1027
- var wk = function(t) {
1028
- Cd(n, t);
1029
- var e = yk(n);
514
+ var ok = function(t) {
515
+ xd(n, t);
516
+ var e = rk(n);
1030
517
  function n(r) {
1031
518
  var i, s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {
1032
519
  ns: ["translation"],
1033
520
  defaultNS: "translation"
1034
521
  };
1035
- return qo(this, n), i = e.call(this), Td && ql.call(Vl(i)), i.data = r || {}, i.options = s, i.options.keySeparator === void 0 && (i.options.keySeparator = "."), i.options.ignoreJSONStructure === void 0 && (i.options.ignoreJSONStructure = !0), i;
522
+ return qo(this, n), i = e.call(this), Sd && ql.call(Vl(i)), i.data = r || {}, i.options = s, i.options.keySeparator === void 0 && (i.options.keySeparator = "."), i.options.ignoreJSONStructure === void 0 && (i.options.ignoreJSONStructure = !0), i;
1036
523
  }
1037
524
  return Xo(n, [{
1038
525
  key: "addNamespaces",
@@ -1050,8 +537,8 @@ var wk = function(t) {
1050
537
  value: function(i, s, u) {
1051
538
  var g = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {}, p = g.keySeparator !== void 0 ? g.keySeparator : this.options.keySeparator, y = g.ignoreJSONStructure !== void 0 ? g.ignoreJSONStructure : this.options.ignoreJSONStructure, T = [i, s];
1052
539
  u && typeof u != "string" && (T = T.concat(u)), u && typeof u == "string" && (T = T.concat(p ? u.split(p) : u)), i.indexOf(".") > -1 && (T = i.split("."));
1053
- var x = nd(this.data, T);
1054
- return x || !y || typeof u != "string" ? x : rd(this.data && this.data[i] && this.data[i][s], u, p);
540
+ var x = td(this.data, T);
541
+ return x || !y || typeof u != "string" ? x : nd(this.data && this.data[i] && this.data[i][s], u, p);
1055
542
  }
1056
543
  }, {
1057
544
  key: "addResource",
@@ -1059,7 +546,7 @@ var wk = function(t) {
1059
546
  var p = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : {
1060
547
  silent: !1
1061
548
  }, y = p.keySeparator !== void 0 ? p.keySeparator : this.options.keySeparator, T = [i, s];
1062
- u && (T = T.concat(y ? u.split(y) : u)), i.indexOf(".") > -1 && (T = i.split("."), g = s, s = T[1]), this.addNamespaces(s), dm(this.data, T, g), p.silent || this.emit("added", i, s, u, g);
549
+ u && (T = T.concat(y ? u.split(y) : u)), i.indexOf(".") > -1 && (T = i.split("."), g = s, s = T[1]), this.addNamespaces(s), cm(this.data, T, g), p.silent || this.emit("added", i, s, u, g);
1063
550
  }
1064
551
  }, {
1065
552
  key: "addResources",
@@ -1080,8 +567,8 @@ var wk = function(t) {
1080
567
  silent: !1
1081
568
  }, T = [i, s];
1082
569
  i.indexOf(".") > -1 && (T = i.split("."), g = u, u = s, s = T[1]), this.addNamespaces(s);
1083
- var x = nd(this.data, T) || {};
1084
- g ? ob(x, u, p) : x = Bf(Bf({}, x), u), dm(this.data, T, x), y.silent || this.emit("added", i, s, u);
570
+ var x = td(this.data, T) || {};
571
+ g ? Qy(x, u, p) : x = Lf(Lf({}, x), u), cm(this.data, T, x), y.silent || this.emit("added", i, s, u);
1085
572
  }
1086
573
  }, {
1087
574
  key: "removeResourceBundle",
@@ -1096,7 +583,7 @@ var wk = function(t) {
1096
583
  }, {
1097
584
  key: "getResourceBundle",
1098
585
  value: function(i, s) {
1099
- return s || (s = this.options.defaultNS), this.options.compatibilityAPI === "v1" ? Bf(Bf({}, {}), this.getResource(i, s)) : this.getResource(i, s);
586
+ return s || (s = this.options.defaultNS), this.options.compatibilityAPI === "v1" ? Lf(Lf({}, {}), this.getResource(i, s)) : this.getResource(i, s);
1100
587
  }
1101
588
  }, {
1102
589
  key: "getDataByLanguage",
@@ -1117,7 +604,7 @@ var wk = function(t) {
1117
604
  return this.data;
1118
605
  }
1119
606
  }]), n;
1120
- }(ql), ab = {
607
+ }(ql), eb = {
1121
608
  processors: {},
1122
609
  addPostProcessor: function(e) {
1123
610
  this.processors[e.name] = e;
@@ -1129,7 +616,7 @@ var wk = function(t) {
1129
616
  }), n;
1130
617
  }
1131
618
  };
1132
- function pm(t, e) {
619
+ function dm(t, e) {
1133
620
  var n = Object.keys(t);
1134
621
  if (Object.getOwnPropertySymbols) {
1135
622
  var r = Object.getOwnPropertySymbols(t);
@@ -1142,16 +629,16 @@ function pm(t, e) {
1142
629
  function Ri(t) {
1143
630
  for (var e = 1; e < arguments.length; e++) {
1144
631
  var n = arguments[e] != null ? arguments[e] : {};
1145
- e % 2 ? pm(Object(n), !0).forEach(function(r) {
632
+ e % 2 ? dm(Object(n), !0).forEach(function(r) {
1146
633
  bs(t, r, n[r]);
1147
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n)) : pm(Object(n)).forEach(function(r) {
634
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n)) : dm(Object(n)).forEach(function(r) {
1148
635
  Object.defineProperty(t, r, Object.getOwnPropertyDescriptor(n, r));
1149
636
  });
1150
637
  }
1151
638
  return t;
1152
639
  }
1153
- function xk(t) {
1154
- var e = Sk();
640
+ function ak(t) {
641
+ var e = sk();
1155
642
  return function() {
1156
643
  var r = ys(t), i;
1157
644
  if (e) {
@@ -1162,7 +649,7 @@ function xk(t) {
1162
649
  return vf(this, i);
1163
650
  };
1164
651
  }
1165
- function Sk() {
652
+ function sk() {
1166
653
  if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham)
1167
654
  return !1;
1168
655
  if (typeof Proxy == "function")
@@ -1174,12 +661,12 @@ function Sk() {
1174
661
  return !1;
1175
662
  }
1176
663
  }
1177
- var gm = {}, mm = function(t) {
1178
- Cd(n, t);
1179
- var e = xk(n);
664
+ var hm = {}, pm = function(t) {
665
+ xd(n, t);
666
+ var e = ak(n);
1180
667
  function n(r) {
1181
668
  var i, s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
1182
- return qo(this, n), i = e.call(this), Td && ql.call(Vl(i)), fk(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils"], r, Vl(i)), i.options = s, i.options.keySeparator === void 0 && (i.options.keySeparator = "."), i.logger = ms.create("translator"), i;
669
+ return qo(this, n), i = e.call(this), Sd && ql.call(Vl(i)), KT(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils"], r, Vl(i)), i.options = s, i.options.keySeparator === void 0 && (i.options.keySeparator = "."), i.logger = ms.create("translator"), i;
1183
670
  }
1184
671
  return Xo(n, [{
1185
672
  key: "changeLanguage",
@@ -1202,7 +689,7 @@ var gm = {}, mm = function(t) {
1202
689
  value: function(i, s) {
1203
690
  var u = s.nsSeparator !== void 0 ? s.nsSeparator : this.options.nsSeparator;
1204
691
  u === void 0 && (u = ":");
1205
- var g = s.keySeparator !== void 0 ? s.keySeparator : this.options.keySeparator, p = s.ns || this.options.defaultNS || [], y = u && i.indexOf(u) > -1, T = !this.options.userDefinedKeySeparator && !s.keySeparator && !this.options.userDefinedNsSeparator && !s.nsSeparator && !vk(i, u, g);
692
+ var g = s.keySeparator !== void 0 ? s.keySeparator : this.options.keySeparator, p = s.ns || this.options.defaultNS || [], y = u && i.indexOf(u) > -1, T = !this.options.userDefinedKeySeparator && !s.keySeparator && !this.options.userDefinedNsSeparator && !s.nsSeparator && !nk(i, u, g);
1206
693
  if (y && !T) {
1207
694
  var x = i.match(this.interpolator.nestingRegexp);
1208
695
  if (x && x.length > 0)
@@ -1328,7 +815,7 @@ var gm = {}, mm = function(t) {
1328
815
  }, u)), u.interpolation && this.interpolator.reset();
1329
816
  }
1330
817
  var $ = u.postProcess || this.options.postProcess, L = typeof $ == "string" ? [$] : $;
1331
- return i != null && L && L.length && u.applyPostProcessor !== !1 && (i = ab.handle(L, i, s, this.options && this.options.postProcessPassResolved ? Ri({
818
+ return i != null && L && L.length && u.applyPostProcessor !== !1 && (i = eb.handle(L, i, s, this.options && this.options.postProcessPassResolved ? Ri({
1332
819
  i18nResolved: g
1333
820
  }, u) : u, this)), i;
1334
821
  }
@@ -1344,7 +831,7 @@ var gm = {}, mm = function(t) {
1344
831
  s.options.fallbackNS && (z = z.concat(s.options.fallbackNS));
1345
832
  var $ = u.count !== void 0 && typeof u.count != "string", L = $ && !u.ordinal && u.count === 0 && s.pluralResolver.shouldUseIntlApi(), ne = u.context !== void 0 && (typeof u.context == "string" || typeof u.context == "number") && u.context !== "", te = u.lngs ? u.lngs : s.languageUtils.toResolveHierarchy(u.lng || s.language, u.fallbackLng);
1346
833
  z.forEach(function(he) {
1347
- s.isValidLookup(g) || (x = he, !gm["".concat(te[0], "-").concat(he)] && s.utils && s.utils.hasLoadedNamespace && !s.utils.hasLoadedNamespace(x) && (gm["".concat(te[0], "-").concat(he)] = !0, s.logger.warn('key "'.concat(p, '" for languages "').concat(te.join(", "), `" won't get resolved as namespace "`).concat(x, '" 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!!!")), te.forEach(function(ie) {
834
+ s.isValidLookup(g) || (x = he, !hm["".concat(te[0], "-").concat(he)] && s.utils && s.utils.hasLoadedNamespace && !s.utils.hasLoadedNamespace(x) && (hm["".concat(te[0], "-").concat(he)] = !0, s.logger.warn('key "'.concat(p, '" for languages "').concat(te.join(", "), `" won't get resolved as namespace "`).concat(x, '" 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!!!")), te.forEach(function(ie) {
1348
835
  if (!s.isValidLookup(g)) {
1349
836
  T = ie;
1350
837
  var xe = [Y];
@@ -1395,10 +882,10 @@ var gm = {}, mm = function(t) {
1395
882
  }
1396
883
  }]), n;
1397
884
  }(ql);
1398
- function uh(t) {
885
+ function lh(t) {
1399
886
  return t.charAt(0).toUpperCase() + t.slice(1);
1400
887
  }
1401
- var vm = function() {
888
+ var gm = function() {
1402
889
  function t(e) {
1403
890
  qo(this, t), this.options = e, this.supportedLngs = this.options.supportedLngs || !1, this.logger = ms.create("languageUtils");
1404
891
  }
@@ -1425,7 +912,7 @@ var vm = function() {
1425
912
  var r = ["hans", "hant", "latn", "cyrl", "cans", "mong", "arab"], i = n.split("-");
1426
913
  return this.options.lowerCaseLng ? i = i.map(function(s) {
1427
914
  return s.toLowerCase();
1428
- }) : i.length === 2 ? (i[0] = i[0].toLowerCase(), i[1] = i[1].toUpperCase(), r.indexOf(i[1].toLowerCase()) > -1 && (i[1] = uh(i[1].toLowerCase()))) : i.length === 3 && (i[0] = i[0].toLowerCase(), i[1].length === 2 && (i[1] = i[1].toUpperCase()), i[0] !== "sgn" && i[2].length === 2 && (i[2] = i[2].toUpperCase()), r.indexOf(i[1].toLowerCase()) > -1 && (i[1] = uh(i[1].toLowerCase())), r.indexOf(i[2].toLowerCase()) > -1 && (i[2] = uh(i[2].toLowerCase()))), i.join("-");
915
+ }) : i.length === 2 ? (i[0] = i[0].toLowerCase(), i[1] = i[1].toUpperCase(), r.indexOf(i[1].toLowerCase()) > -1 && (i[1] = lh(i[1].toLowerCase()))) : i.length === 3 && (i[0] = i[0].toLowerCase(), i[1].length === 2 && (i[1] = i[1].toUpperCase()), i[0] !== "sgn" && i[2].length === 2 && (i[2] = i[2].toUpperCase()), r.indexOf(i[1].toLowerCase()) > -1 && (i[1] = lh(i[1].toLowerCase())), r.indexOf(i[2].toLowerCase()) > -1 && (i[2] = lh(i[2].toLowerCase()))), i.join("-");
1429
916
  }
1430
917
  return this.options.cleanCode || this.options.lowerCaseLng ? n.toLowerCase() : n;
1431
918
  }
@@ -1483,7 +970,7 @@ var vm = function() {
1483
970
  }), u;
1484
971
  }
1485
972
  }]), t;
1486
- }(), Ck = [{
973
+ }(), lk = [{
1487
974
  lngs: ["ach", "ak", "am", "arn", "br", "fil", "gun", "ln", "mfe", "mg", "mi", "oc", "pt", "pt-BR", "tg", "tl", "ti", "tr", "uz", "wa"],
1488
975
  nr: [1, 2],
1489
976
  fc: 1
@@ -1575,7 +1062,7 @@ var vm = function() {
1575
1062
  lngs: ["he", "iw"],
1576
1063
  nr: [1, 2, 20, 21],
1577
1064
  fc: 22
1578
- }], Tk = {
1065
+ }], uk = {
1579
1066
  1: function(e) {
1580
1067
  return +(e > 1);
1581
1068
  },
@@ -1642,7 +1129,7 @@ var vm = function() {
1642
1129
  22: function(e) {
1643
1130
  return e == 1 ? 0 : e == 2 ? 1 : (e < 0 || e > 10) && e % 10 == 0 ? 2 : 3;
1644
1131
  }
1645
- }, kk = ["v1", "v2", "v3"], ym = {
1132
+ }, ck = ["v1", "v2", "v3"], mm = {
1646
1133
  zero: 0,
1647
1134
  one: 1,
1648
1135
  two: 2,
@@ -1650,21 +1137,21 @@ var vm = function() {
1650
1137
  many: 4,
1651
1138
  other: 5
1652
1139
  };
1653
- function Ek() {
1140
+ function fk() {
1654
1141
  var t = {};
1655
- return Ck.forEach(function(e) {
1142
+ return lk.forEach(function(e) {
1656
1143
  e.lngs.forEach(function(n) {
1657
1144
  t[n] = {
1658
1145
  numbers: e.nr,
1659
- plurals: Tk[e.fc]
1146
+ plurals: uk[e.fc]
1660
1147
  };
1661
1148
  });
1662
1149
  }), t;
1663
1150
  }
1664
- var _k = function() {
1151
+ var dk = function() {
1665
1152
  function t(e) {
1666
1153
  var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
1667
- qo(this, t), this.languageUtils = e, this.options = n, this.logger = ms.create("pluralResolver"), (!this.options.compatibilityJSON || this.options.compatibilityJSON === "v4") && (typeof Intl > "u" || !Intl.PluralRules) && (this.options.compatibilityJSON = "v3", this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")), this.rules = Ek();
1154
+ qo(this, t), this.languageUtils = e, this.options = n, this.logger = ms.create("pluralResolver"), (!this.options.compatibilityJSON || this.options.compatibilityJSON === "v4") && (typeof Intl > "u" || !Intl.PluralRules) && (this.options.compatibilityJSON = "v3", this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")), this.rules = fk();
1668
1155
  }
1669
1156
  return Xo(t, [{
1670
1157
  key: "addRule",
@@ -1704,7 +1191,7 @@ var _k = function() {
1704
1191
  value: function(n) {
1705
1192
  var r = this, i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, s = this.getRule(n, i);
1706
1193
  return s ? this.shouldUseIntlApi() ? s.resolvedOptions().pluralCategories.sort(function(u, g) {
1707
- return ym[u] - ym[g];
1194
+ return mm[u] - mm[g];
1708
1195
  }).map(function(u) {
1709
1196
  return "".concat(r.options.prepend).concat(u);
1710
1197
  }) : s.numbers.map(function(u) {
@@ -1730,11 +1217,11 @@ var _k = function() {
1730
1217
  }, {
1731
1218
  key: "shouldUseIntlApi",
1732
1219
  value: function() {
1733
- return !kk.includes(this.options.compatibilityJSON);
1220
+ return !ck.includes(this.options.compatibilityJSON);
1734
1221
  }
1735
1222
  }]), t;
1736
1223
  }();
1737
- function bm(t, e) {
1224
+ function vm(t, e) {
1738
1225
  var n = Object.keys(t);
1739
1226
  if (Object.getOwnPropertySymbols) {
1740
1227
  var r = Object.getOwnPropertySymbols(t);
@@ -1747,19 +1234,19 @@ function bm(t, e) {
1747
1234
  function Wa(t) {
1748
1235
  for (var e = 1; e < arguments.length; e++) {
1749
1236
  var n = arguments[e] != null ? arguments[e] : {};
1750
- e % 2 ? bm(Object(n), !0).forEach(function(r) {
1237
+ e % 2 ? vm(Object(n), !0).forEach(function(r) {
1751
1238
  bs(t, r, n[r]);
1752
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n)) : bm(Object(n)).forEach(function(r) {
1239
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n)) : vm(Object(n)).forEach(function(r) {
1753
1240
  Object.defineProperty(t, r, Object.getOwnPropertyDescriptor(n, r));
1754
1241
  });
1755
1242
  }
1756
1243
  return t;
1757
1244
  }
1758
- function wm(t, e, n) {
1759
- var r = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : ".", i = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : !0, s = hk(t, e, n);
1760
- return !s && i && typeof n == "string" && (s = rd(t, n, r), s === void 0 && (s = rd(e, n, r))), s;
1245
+ function ym(t, e, n) {
1246
+ var r = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : ".", i = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : !0, s = ZT(t, e, n);
1247
+ return !s && i && typeof n == "string" && (s = nd(t, n, r), s === void 0 && (s = nd(e, n, r))), s;
1761
1248
  }
1762
- var Pk = function() {
1249
+ var hk = function() {
1763
1250
  function t() {
1764
1251
  var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
1765
1252
  qo(this, t), this.logger = ms.create("interpolator"), this.options = e, this.format = e.interpolation && e.interpolation.format || function(n) {
@@ -1774,7 +1261,7 @@ var Pk = function() {
1774
1261
  escapeValue: !0
1775
1262
  });
1776
1263
  var r = n.interpolation;
1777
- this.escape = r.escape !== void 0 ? r.escape : gk, this.escapeValue = r.escapeValue !== void 0 ? r.escapeValue : !0, this.useRawValueToEscape = r.useRawValueToEscape !== void 0 ? r.useRawValueToEscape : !1, this.prefix = r.prefix ? wc(r.prefix) : r.prefixEscaped || "{{", this.suffix = r.suffix ? wc(r.suffix) : r.suffixEscaped || "}}", this.formatSeparator = r.formatSeparator ? r.formatSeparator : r.formatSeparator || ",", this.unescapePrefix = r.unescapeSuffix ? "" : r.unescapePrefix || "-", this.unescapeSuffix = this.unescapePrefix ? "" : r.unescapeSuffix || "", this.nestingPrefix = r.nestingPrefix ? wc(r.nestingPrefix) : r.nestingPrefixEscaped || wc("$t("), this.nestingSuffix = r.nestingSuffix ? wc(r.nestingSuffix) : r.nestingSuffixEscaped || wc(")"), this.nestingOptionsSeparator = r.nestingOptionsSeparator ? r.nestingOptionsSeparator : r.nestingOptionsSeparator || ",", this.maxReplaces = r.maxReplaces ? r.maxReplaces : 1e3, this.alwaysFormat = r.alwaysFormat !== void 0 ? r.alwaysFormat : !1, this.resetRegExp();
1264
+ this.escape = r.escape !== void 0 ? r.escape : ek, this.escapeValue = r.escapeValue !== void 0 ? r.escapeValue : !0, this.useRawValueToEscape = r.useRawValueToEscape !== void 0 ? r.useRawValueToEscape : !1, this.prefix = r.prefix ? wc(r.prefix) : r.prefixEscaped || "{{", this.suffix = r.suffix ? wc(r.suffix) : r.suffixEscaped || "}}", this.formatSeparator = r.formatSeparator ? r.formatSeparator : r.formatSeparator || ",", this.unescapePrefix = r.unescapeSuffix ? "" : r.unescapePrefix || "-", this.unescapeSuffix = this.unescapePrefix ? "" : r.unescapeSuffix || "", this.nestingPrefix = r.nestingPrefix ? wc(r.nestingPrefix) : r.nestingPrefixEscaped || wc("$t("), this.nestingSuffix = r.nestingSuffix ? wc(r.nestingSuffix) : r.nestingSuffixEscaped || wc(")"), this.nestingOptionsSeparator = r.nestingOptionsSeparator ? r.nestingOptionsSeparator : r.nestingOptionsSeparator || ",", this.maxReplaces = r.maxReplaces ? r.maxReplaces : 1e3, this.alwaysFormat = r.alwaysFormat !== void 0 ? r.alwaysFormat : !1, this.resetRegExp();
1778
1265
  }
1779
1266
  }, {
1780
1267
  key: "reset",
@@ -1800,13 +1287,13 @@ var Pk = function() {
1800
1287
  }
1801
1288
  var A = function(L) {
1802
1289
  if (L.indexOf(u.formatSeparator) < 0) {
1803
- var ne = wm(r, T, L, u.options.keySeparator, u.options.ignoreJSONStructure);
1290
+ var ne = ym(r, T, L, u.options.keySeparator, u.options.ignoreJSONStructure);
1804
1291
  return u.alwaysFormat ? u.format(ne, void 0, i, Wa(Wa(Wa({}, s), r), {}, {
1805
1292
  interpolationkey: L
1806
1293
  })) : ne;
1807
1294
  }
1808
1295
  var te = L.split(u.formatSeparator), he = te.shift().trim(), ie = te.join(u.formatSeparator).trim();
1809
- return u.format(wm(r, T, he, u.options.keySeparator, u.options.ignoreJSONStructure), ie, i, Wa(Wa(Wa({}, s), r), {}, {
1296
+ return u.format(ym(r, T, he, u.options.keySeparator, u.options.ignoreJSONStructure), ie, i, Wa(Wa(Wa({}, s), r), {}, {
1810
1297
  interpolationkey: he
1811
1298
  }));
1812
1299
  };
@@ -1837,7 +1324,7 @@ var Pk = function() {
1837
1324
  } else
1838
1325
  u.logger.warn("missed to pass in variable ".concat(L, " for interpolating ").concat(n)), p = "";
1839
1326
  else
1840
- typeof p != "string" && !u.useRawValueToEscape && (p = fm(p));
1327
+ typeof p != "string" && !u.useRawValueToEscape && (p = um(p));
1841
1328
  var te = $.safeValue(p);
1842
1329
  if (n = n.replace(g[0], te), Y ? ($.regex.lastIndex += p.length, $.regex.lastIndex -= g[0].length) : $.regex.lastIndex = 0, y++, y >= u.maxReplaces)
1843
1330
  break;
@@ -1875,7 +1362,7 @@ var Pk = function() {
1875
1362
  }
1876
1363
  if (g = r(y.call(this, u[1].trim(), p), p), g && u[0] === n && typeof g != "string")
1877
1364
  return g;
1878
- typeof g != "string" && (g = fm(g)), g || (this.logger.warn("missed to resolve ".concat(u[1], " for nesting ").concat(n)), g = ""), x && (g = T.reduce(function(B, Y) {
1365
+ typeof g != "string" && (g = um(g)), g || (this.logger.warn("missed to resolve ".concat(u[1], " for nesting ").concat(n)), g = ""), x && (g = T.reduce(function(B, Y) {
1879
1366
  return i.format(B, Y, s.lng, Wa(Wa({}, s), {}, {
1880
1367
  interpolationkey: u[1].trim()
1881
1368
  }));
@@ -1885,7 +1372,7 @@ var Pk = function() {
1885
1372
  }
1886
1373
  }]), t;
1887
1374
  }();
1888
- function xm(t, e) {
1375
+ function bm(t, e) {
1889
1376
  var n = Object.keys(t);
1890
1377
  if (Object.getOwnPropertySymbols) {
1891
1378
  var r = Object.getOwnPropertySymbols(t);
@@ -1898,15 +1385,15 @@ function xm(t, e) {
1898
1385
  function tl(t) {
1899
1386
  for (var e = 1; e < arguments.length; e++) {
1900
1387
  var n = arguments[e] != null ? arguments[e] : {};
1901
- e % 2 ? xm(Object(n), !0).forEach(function(r) {
1388
+ e % 2 ? bm(Object(n), !0).forEach(function(r) {
1902
1389
  bs(t, r, n[r]);
1903
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n)) : xm(Object(n)).forEach(function(r) {
1390
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n)) : bm(Object(n)).forEach(function(r) {
1904
1391
  Object.defineProperty(t, r, Object.getOwnPropertyDescriptor(n, r));
1905
1392
  });
1906
1393
  }
1907
1394
  return t;
1908
1395
  }
1909
- function Rk(t) {
1396
+ function pk(t) {
1910
1397
  var e = t.toLowerCase().trim(), n = {};
1911
1398
  if (t.indexOf("(") > -1) {
1912
1399
  var r = t.split("(");
@@ -1920,7 +1407,7 @@ function Rk(t) {
1920
1407
  var s = i.split(";");
1921
1408
  s.forEach(function(u) {
1922
1409
  if (u) {
1923
- var g = u.split(":"), p = lk(g), y = p[0], T = p.slice(1), x = T.join(":").trim().replace(/^'+|'+$/g, "");
1410
+ var g = u.split(":"), p = GT(g), y = p[0], T = p.slice(1), x = T.join(":").trim().replace(/^'+|'+$/g, "");
1924
1411
  n[y.trim()] || (n[y.trim()] = x), x === "false" && (n[y.trim()] = !1), x === "true" && (n[y.trim()] = !0), isNaN(x) || (n[y.trim()] = parseInt(x, 10));
1925
1412
  }
1926
1413
  });
@@ -1938,7 +1425,7 @@ function xc(t) {
1938
1425
  return g || (g = t(i, s), e[u] = g), g(r);
1939
1426
  };
1940
1427
  }
1941
- var Ak = function() {
1428
+ var gk = function() {
1942
1429
  function t() {
1943
1430
  var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
1944
1431
  qo(this, t), this.logger = ms.create("formatter"), this.options = e, this.formats = {
@@ -1998,7 +1485,7 @@ var Ak = function() {
1998
1485
  key: "format",
1999
1486
  value: function(n, r, i) {
2000
1487
  var s = this, u = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {}, g = r.split(this.formatSeparator), p = g.reduce(function(y, T) {
2001
- var x = Rk(T), A = x.formatName, B = x.formatOptions;
1488
+ var x = pk(T), A = x.formatName, B = x.formatOptions;
2002
1489
  if (s.formats[A]) {
2003
1490
  var Y = y;
2004
1491
  try {
@@ -2016,7 +1503,7 @@ var Ak = function() {
2016
1503
  }
2017
1504
  }]), t;
2018
1505
  }();
2019
- function Sm(t, e) {
1506
+ function wm(t, e) {
2020
1507
  var n = Object.keys(t);
2021
1508
  if (Object.getOwnPropertySymbols) {
2022
1509
  var r = Object.getOwnPropertySymbols(t);
@@ -2026,19 +1513,19 @@ function Sm(t, e) {
2026
1513
  }
2027
1514
  return n;
2028
1515
  }
2029
- function Cm(t) {
1516
+ function xm(t) {
2030
1517
  for (var e = 1; e < arguments.length; e++) {
2031
1518
  var n = arguments[e] != null ? arguments[e] : {};
2032
- e % 2 ? Sm(Object(n), !0).forEach(function(r) {
1519
+ e % 2 ? wm(Object(n), !0).forEach(function(r) {
2033
1520
  bs(t, r, n[r]);
2034
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n)) : Sm(Object(n)).forEach(function(r) {
1521
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n)) : wm(Object(n)).forEach(function(r) {
2035
1522
  Object.defineProperty(t, r, Object.getOwnPropertyDescriptor(n, r));
2036
1523
  });
2037
1524
  }
2038
1525
  return t;
2039
1526
  }
2040
- function Ok(t) {
2041
- var e = Dk();
1527
+ function mk(t) {
1528
+ var e = vk();
2042
1529
  return function() {
2043
1530
  var r = ys(t), i;
2044
1531
  if (e) {
@@ -2049,7 +1536,7 @@ function Ok(t) {
2049
1536
  return vf(this, i);
2050
1537
  };
2051
1538
  }
2052
- function Dk() {
1539
+ function vk() {
2053
1540
  if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham)
2054
1541
  return !1;
2055
1542
  if (typeof Proxy == "function")
@@ -2061,15 +1548,15 @@ function Dk() {
2061
1548
  return !1;
2062
1549
  }
2063
1550
  }
2064
- function Ik(t, e) {
1551
+ function yk(t, e) {
2065
1552
  t.pending[e] !== void 0 && (delete t.pending[e], t.pendingCount--);
2066
1553
  }
2067
- var Mk = function(t) {
2068
- Cd(n, t);
2069
- var e = Ok(n);
1554
+ var bk = function(t) {
1555
+ xd(n, t);
1556
+ var e = mk(n);
2070
1557
  function n(r, i, s) {
2071
1558
  var u, g = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {};
2072
- return qo(this, n), u = e.call(this), Td && ql.call(Vl(u)), u.backend = r, u.store = i, u.services = s, u.languageUtils = s.languageUtils, u.options = g, u.logger = ms.create("backendConnector"), u.waitingReads = [], u.maxParallelReads = g.maxParallelReads || 10, u.readingCalls = 0, u.maxRetries = g.maxRetries >= 0 ? g.maxRetries : 5, u.retryTimeout = g.retryTimeout >= 1 ? g.retryTimeout : 350, u.state = {}, u.queue = [], u.backend && u.backend.init && u.backend.init(s, g.backend, g), u;
1559
+ return qo(this, n), u = e.call(this), Sd && ql.call(Vl(u)), u.backend = r, u.store = i, u.services = s, u.languageUtils = s.languageUtils, u.options = g, u.logger = ms.create("backendConnector"), u.waitingReads = [], u.maxParallelReads = g.maxParallelReads || 10, u.readingCalls = 0, u.maxRetries = g.maxRetries >= 0 ? g.maxRetries : 5, u.retryTimeout = g.retryTimeout >= 1 ? g.retryTimeout : 350, u.state = {}, u.queue = [], u.backend && u.backend.init && u.backend.init(s, g.backend, g), u;
2073
1560
  }
2074
1561
  return Xo(n, [{
2075
1562
  key: "queueLoad",
@@ -2101,7 +1588,7 @@ var Mk = function(t) {
2101
1588
  s && this.emit("failedLoading", p, y, s), u && this.store.addResourceBundle(p, y, u), this.state[i] = s ? -1 : 2;
2102
1589
  var T = {};
2103
1590
  this.queue.forEach(function(x) {
2104
- dk(x.loaded, [p], y), Ik(x, i), s && x.errors.push(s), x.pendingCount === 0 && !x.done && (Object.keys(x.loaded).forEach(function(A) {
1591
+ JT(x.loaded, [p], y), yk(x, i), s && x.errors.push(s), x.pendingCount === 0 && !x.done && (Object.keys(x.loaded).forEach(function(A) {
2105
1592
  T[A] || (T[A] = {});
2106
1593
  var B = x.loaded[A];
2107
1594
  B.length && B.forEach(function(Y) {
@@ -2201,7 +1688,7 @@ var Mk = function(t) {
2201
1688
  }
2202
1689
  if (!(u == null || u === "")) {
2203
1690
  if (this.backend && this.backend.create) {
2204
- var x = Cm(Cm({}, y), {}, {
1691
+ var x = xm(xm({}, y), {}, {
2205
1692
  isUpdate: p
2206
1693
  }), A = this.backend.create.bind(this.backend);
2207
1694
  if (A.length < 6)
@@ -2221,7 +1708,7 @@ var Mk = function(t) {
2221
1708
  }
2222
1709
  }]), n;
2223
1710
  }(ql);
2224
- function Tm() {
1711
+ function Sm() {
2225
1712
  return {
2226
1713
  debug: !1,
2227
1714
  initImmediate: !0,
@@ -2282,10 +1769,10 @@ function Tm() {
2282
1769
  }
2283
1770
  };
2284
1771
  }
2285
- function km(t) {
1772
+ function Cm(t) {
2286
1773
  return typeof t.ns == "string" && (t.ns = [t.ns]), typeof t.fallbackLng == "string" && (t.fallbackLng = [t.fallbackLng]), typeof t.fallbackNS == "string" && (t.fallbackNS = [t.fallbackNS]), t.supportedLngs && t.supportedLngs.indexOf("cimode") < 0 && (t.supportedLngs = t.supportedLngs.concat(["cimode"])), t;
2287
1774
  }
2288
- function Em(t, e) {
1775
+ function Tm(t, e) {
2289
1776
  var n = Object.keys(t);
2290
1777
  if (Object.getOwnPropertySymbols) {
2291
1778
  var r = Object.getOwnPropertySymbols(t);
@@ -2298,16 +1785,16 @@ function Em(t, e) {
2298
1785
  function ps(t) {
2299
1786
  for (var e = 1; e < arguments.length; e++) {
2300
1787
  var n = arguments[e] != null ? arguments[e] : {};
2301
- e % 2 ? Em(Object(n), !0).forEach(function(r) {
1788
+ e % 2 ? Tm(Object(n), !0).forEach(function(r) {
2302
1789
  bs(t, r, n[r]);
2303
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n)) : Em(Object(n)).forEach(function(r) {
1790
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n)) : Tm(Object(n)).forEach(function(r) {
2304
1791
  Object.defineProperty(t, r, Object.getOwnPropertyDescriptor(n, r));
2305
1792
  });
2306
1793
  }
2307
1794
  return t;
2308
1795
  }
2309
- function Lk(t) {
2310
- var e = Fk();
1796
+ function wk(t) {
1797
+ var e = xk();
2311
1798
  return function() {
2312
1799
  var r = ys(t), i;
2313
1800
  if (e) {
@@ -2318,7 +1805,7 @@ function Lk(t) {
2318
1805
  return vf(this, i);
2319
1806
  };
2320
1807
  }
2321
- function Fk() {
1808
+ function xk() {
2322
1809
  if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham)
2323
1810
  return !1;
2324
1811
  if (typeof Proxy == "function")
@@ -2330,22 +1817,22 @@ function Fk() {
2330
1817
  return !1;
2331
1818
  }
2332
1819
  }
2333
- function Nf() {
1820
+ function Ff() {
2334
1821
  }
2335
- function Bk(t) {
1822
+ function Sk(t) {
2336
1823
  var e = Object.getOwnPropertyNames(Object.getPrototypeOf(t));
2337
1824
  e.forEach(function(n) {
2338
1825
  typeof t[n] == "function" && (t[n] = t[n].bind(t));
2339
1826
  });
2340
1827
  }
2341
- var id = function(t) {
2342
- Cd(n, t);
2343
- var e = Lk(n);
1828
+ var rd = function(t) {
1829
+ xd(n, t);
1830
+ var e = wk(n);
2344
1831
  function n() {
2345
1832
  var r, i = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, s = arguments.length > 1 ? arguments[1] : void 0;
2346
- if (qo(this, n), r = e.call(this), Td && ql.call(Vl(r)), r.options = km(i), r.services = {}, r.logger = ms, r.modules = {
1833
+ if (qo(this, n), r = e.call(this), Sd && ql.call(Vl(r)), r.options = Cm(i), r.services = {}, r.logger = ms, r.modules = {
2347
1834
  external: []
2348
- }, Bk(Vl(r)), s && !r.isInitialized && !i.isClone) {
1835
+ }, Sk(Vl(r)), s && !r.isInitialized && !i.isClone) {
2349
1836
  if (!r.options.initImmediate)
2350
1837
  return r.init(i, s), vf(r, Vl(r));
2351
1838
  setTimeout(function() {
@@ -2359,29 +1846,29 @@ var id = function(t) {
2359
1846
  value: function() {
2360
1847
  var i = this, s = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, u = arguments.length > 1 ? arguments[1] : void 0;
2361
1848
  typeof s == "function" && (u = s, s = {}), !s.defaultNS && s.defaultNS !== !1 && s.ns && (typeof s.ns == "string" ? s.defaultNS = s.ns : s.ns.indexOf("translation") < 0 && (s.defaultNS = s.ns[0]));
2362
- var g = Tm();
2363
- this.options = ps(ps(ps({}, g), this.options), km(s)), this.options.compatibilityAPI !== "v1" && (this.options.interpolation = ps(ps({}, g.interpolation), this.options.interpolation)), s.keySeparator !== void 0 && (this.options.userDefinedKeySeparator = s.keySeparator), s.nsSeparator !== void 0 && (this.options.userDefinedNsSeparator = s.nsSeparator);
1849
+ var g = Sm();
1850
+ this.options = ps(ps(ps({}, g), this.options), Cm(s)), this.options.compatibilityAPI !== "v1" && (this.options.interpolation = ps(ps({}, g.interpolation), this.options.interpolation)), s.keySeparator !== void 0 && (this.options.userDefinedKeySeparator = s.keySeparator), s.nsSeparator !== void 0 && (this.options.userDefinedNsSeparator = s.nsSeparator);
2364
1851
  function p(L) {
2365
1852
  return L ? typeof L == "function" ? new L() : L : null;
2366
1853
  }
2367
1854
  if (!this.options.isClone) {
2368
1855
  this.modules.logger ? ms.init(p(this.modules.logger), this.options) : ms.init(null, this.options);
2369
1856
  var y;
2370
- this.modules.formatter ? y = this.modules.formatter : typeof Intl < "u" && (y = Ak);
2371
- var T = new vm(this.options);
2372
- this.store = new wk(this.options.resources, this.options);
1857
+ this.modules.formatter ? y = this.modules.formatter : typeof Intl < "u" && (y = gk);
1858
+ var T = new gm(this.options);
1859
+ this.store = new ok(this.options.resources, this.options);
2373
1860
  var x = this.services;
2374
- x.logger = ms, x.resourceStore = this.store, x.languageUtils = T, x.pluralResolver = new _k(T, {
1861
+ x.logger = ms, x.resourceStore = this.store, x.languageUtils = T, x.pluralResolver = new dk(T, {
2375
1862
  prepend: this.options.pluralSeparator,
2376
1863
  compatibilityJSON: this.options.compatibilityJSON,
2377
1864
  simplifyPluralSuffix: this.options.simplifyPluralSuffix
2378
- }), y && (!this.options.interpolation.format || this.options.interpolation.format === g.interpolation.format) && (x.formatter = p(y), x.formatter.init(x, this.options), this.options.interpolation.format = x.formatter.format.bind(x.formatter)), x.interpolator = new Pk(this.options), x.utils = {
1865
+ }), y && (!this.options.interpolation.format || this.options.interpolation.format === g.interpolation.format) && (x.formatter = p(y), x.formatter.init(x, this.options), this.options.interpolation.format = x.formatter.format.bind(x.formatter)), x.interpolator = new hk(this.options), x.utils = {
2379
1866
  hasLoadedNamespace: this.hasLoadedNamespace.bind(this)
2380
- }, x.backendConnector = new Mk(p(this.modules.backend), x.resourceStore, x, this.options), x.backendConnector.on("*", function(L) {
1867
+ }, x.backendConnector = new bk(p(this.modules.backend), x.resourceStore, x, this.options), x.backendConnector.on("*", function(L) {
2381
1868
  for (var ne = arguments.length, te = new Array(ne > 1 ? ne - 1 : 0), he = 1; he < ne; he++)
2382
1869
  te[he - 1] = arguments[he];
2383
1870
  i.emit.apply(i, [L].concat(te));
2384
- }), this.modules.languageDetector && (x.languageDetector = p(this.modules.languageDetector), x.languageDetector.init && x.languageDetector.init(x, this.options.detection, this.options)), this.modules.i18nFormat && (x.i18nFormat = p(this.modules.i18nFormat), x.i18nFormat.init && x.i18nFormat.init(this)), this.translator = new mm(this.services, this.options), this.translator.on("*", function(L) {
1871
+ }), this.modules.languageDetector && (x.languageDetector = p(this.modules.languageDetector), x.languageDetector.init && x.languageDetector.init(x, this.options.detection, this.options)), this.modules.i18nFormat && (x.i18nFormat = p(this.modules.i18nFormat), x.i18nFormat.init && x.i18nFormat.init(this)), this.translator = new pm(this.services, this.options), this.translator.on("*", function(L) {
2385
1872
  for (var ne = arguments.length, te = new Array(ne > 1 ? ne - 1 : 0), he = 1; he < ne; he++)
2386
1873
  te[he - 1] = arguments[he];
2387
1874
  i.emit.apply(i, [L].concat(te));
@@ -2389,7 +1876,7 @@ var id = function(t) {
2389
1876
  L.init && L.init(i);
2390
1877
  });
2391
1878
  }
2392
- if (this.format = this.options.interpolation.format, u || (u = Nf), this.options.fallbackLng && !this.services.languageDetector && !this.options.lng) {
1879
+ if (this.format = this.options.interpolation.format, u || (u = Ff), this.options.fallbackLng && !this.services.languageDetector && !this.options.lng) {
2393
1880
  var A = this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);
2394
1881
  A.length > 0 && A[0] !== "dev" && (this.options.lng = A[0]);
2395
1882
  }
@@ -2421,7 +1908,7 @@ var id = function(t) {
2421
1908
  }, {
2422
1909
  key: "loadResources",
2423
1910
  value: function(i) {
2424
- var s = this, u = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : Nf, g = u, p = typeof i == "string" ? i : this.language;
1911
+ var s = this, u = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : Ff, g = u, p = typeof i == "string" ? i : this.language;
2425
1912
  if (typeof i == "function" && (g = i), !this.options.resources || this.options.partialBundledLanguages) {
2426
1913
  if (p && p.toLowerCase() === "cimode")
2427
1914
  return g();
@@ -2453,7 +1940,7 @@ var id = function(t) {
2453
1940
  key: "reloadResources",
2454
1941
  value: function(i, s, u) {
2455
1942
  var g = qc();
2456
- return i || (i = this.languages), s || (s = this.options.ns), u || (u = Nf), this.services.backendConnector.reload(i, s, function(p) {
1943
+ return i || (i = this.languages), s || (s = this.options.ns), u || (u = Ff), this.services.backendConnector.reload(i, s, function(p) {
2457
1944
  g.resolve(), u(p);
2458
1945
  }), g;
2459
1946
  }
@@ -2464,7 +1951,7 @@ var id = function(t) {
2464
1951
  throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");
2465
1952
  if (!i.type)
2466
1953
  throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");
2467
- return i.type === "backend" && (this.modules.backend = i), (i.type === "logger" || i.log && i.warn && i.error) && (this.modules.logger = i), i.type === "languageDetector" && (this.modules.languageDetector = i), i.type === "i18nFormat" && (this.modules.i18nFormat = i), i.type === "postProcessor" && ab.addPostProcessor(i), i.type === "formatter" && (this.modules.formatter = i), i.type === "3rdParty" && this.modules.external.push(i), this;
1954
+ return i.type === "backend" && (this.modules.backend = i), (i.type === "logger" || i.log && i.warn && i.error) && (this.modules.logger = i), i.type === "languageDetector" && (this.modules.languageDetector = i), i.type === "i18nFormat" && (this.modules.i18nFormat = i), i.type === "postProcessor" && eb.addPostProcessor(i), i.type === "formatter" && (this.modules.formatter = i), i.type === "3rdParty" && this.modules.external.push(i), this;
2468
1955
  }
2469
1956
  }, {
2470
1957
  key: "setResolvedLanguage",
@@ -2587,13 +2074,13 @@ var id = function(t) {
2587
2074
  value: function(i) {
2588
2075
  if (i || (i = this.resolvedLanguage || (this.languages && this.languages.length > 0 ? this.languages[0] : this.language)), !i)
2589
2076
  return "rtl";
2590
- var s = ["ar", "shu", "sqr", "ssh", "xaa", "yhd", "yud", "aao", "abh", "abv", "acm", "acq", "acw", "acx", "acy", "adf", "ads", "aeb", "aec", "afb", "ajp", "apc", "apd", "arb", "arq", "ars", "ary", "arz", "auz", "avl", "ayh", "ayl", "ayn", "ayp", "bbz", "pga", "he", "iw", "ps", "pbt", "pbu", "pst", "prp", "prd", "ug", "ur", "ydd", "yds", "yih", "ji", "yi", "hbo", "men", "xmn", "fa", "jpr", "peo", "pes", "prs", "dv", "sam", "ckb"], u = this.services && this.services.languageUtils || new vm(Tm());
2077
+ var s = ["ar", "shu", "sqr", "ssh", "xaa", "yhd", "yud", "aao", "abh", "abv", "acm", "acq", "acw", "acx", "acy", "adf", "ads", "aeb", "aec", "afb", "ajp", "apc", "apd", "arb", "arq", "ars", "ary", "arz", "auz", "avl", "ayh", "ayl", "ayn", "ayp", "bbz", "pga", "he", "iw", "ps", "pbt", "pbu", "pst", "prp", "prd", "ug", "ur", "ydd", "yds", "yih", "ji", "yi", "hbo", "men", "xmn", "fa", "jpr", "peo", "pes", "prs", "dv", "sam", "ckb"], u = this.services && this.services.languageUtils || new gm(Sm());
2591
2078
  return s.indexOf(u.getLanguagePartFromCode(i)) > -1 || i.toLowerCase().indexOf("-arab") > 1 ? "rtl" : "ltr";
2592
2079
  }
2593
2080
  }, {
2594
2081
  key: "cloneInstance",
2595
2082
  value: function() {
2596
- var i = this, s = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, u = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : Nf, g = ps(ps(ps({}, this.options), s), {
2083
+ var i = this, s = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, u = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : Ff, g = ps(ps(ps({}, this.options), s), {
2597
2084
  isClone: !0
2598
2085
  }), p = new n(g);
2599
2086
  (s.debug !== void 0 || s.prefix !== void 0) && (p.logger = p.logger.clone(s));
@@ -2602,7 +2089,7 @@ var id = function(t) {
2602
2089
  p[T] = i[T];
2603
2090
  }), p.services = ps({}, this.services), p.services.utils = {
2604
2091
  hasLoadedNamespace: p.hasLoadedNamespace.bind(p)
2605
- }, p.translator = new mm(p.services, p.options), p.translator.on("*", function(T) {
2092
+ }, p.translator = new pm(p.services, p.options), p.translator.on("*", function(T) {
2606
2093
  for (var x = arguments.length, A = new Array(x > 1 ? x - 1 : 0), B = 1; B < x; B++)
2607
2094
  A[B - 1] = arguments[B];
2608
2095
  p.emit.apply(p, [T].concat(A));
@@ -2623,12 +2110,12 @@ var id = function(t) {
2623
2110
  }
2624
2111
  }]), n;
2625
2112
  }(ql);
2626
- bs(id, "createInstance", function() {
2113
+ bs(rd, "createInstance", function() {
2627
2114
  var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, e = arguments.length > 1 ? arguments[1] : void 0;
2628
- return new id(t, e);
2115
+ return new rd(t, e);
2629
2116
  });
2630
- var ii = id.createInstance();
2631
- ii.createInstance = id.createInstance;
2117
+ var ii = rd.createInstance();
2118
+ ii.createInstance = rd.createInstance;
2632
2119
  ii.createInstance;
2633
2120
  ii.dir;
2634
2121
  ii.init;
@@ -2637,44 +2124,44 @@ ii.reloadResources;
2637
2124
  ii.use;
2638
2125
  ii.changeLanguage;
2639
2126
  ii.getFixedT;
2640
- var sb = ii.t;
2127
+ var tb = ii.t;
2641
2128
  ii.exists;
2642
2129
  ii.setDefaultNamespace;
2643
2130
  ii.hasLoadedNamespace;
2644
2131
  ii.loadNamespaces;
2645
2132
  ii.loadLanguages;
2646
- const Nk = {
2133
+ const Ck = {
2647
2134
  TOKEN_MALFORMED: "token_malformed",
2648
2135
  TOKEN_EXPIRED: "token_expired"
2649
- }, jk = (t) => {
2136
+ }, Tk = (t) => {
2650
2137
  window.location.href = `${t}/authentication/login?callbackUrl=${window.location.href}`;
2651
- }, Hk = (t) => {
2138
+ }, kk = (t) => {
2652
2139
  window.location.href = `${t}/authentication/logout?callbackUrl=${window.location.href}`;
2653
2140
  }, Ac = IT.create({
2654
2141
  withCredentials: !0
2655
2142
  });
2656
- let ch = !1, Kh = [];
2657
- const _m = (t) => {
2658
- Kh.forEach((e) => {
2143
+ let uh = !1, qh = [];
2144
+ const km = (t) => {
2145
+ qh.forEach((e) => {
2659
2146
  t ? e.reject(t) : e.resolve();
2660
- }), Kh = [];
2147
+ }), qh = [];
2661
2148
  };
2662
- function Wk(t, e) {
2149
+ function Ek(t, e) {
2663
2150
  var s, u, g, p, y, T;
2664
- const n = t.config, r = (u = (s = t.response) == null ? void 0 : s.data) == null ? void 0 : u.errorMessage, i = r === Nk.TOKEN_EXPIRED;
2665
- return ((g = t.response) == null ? void 0 : g.status) === 401 && i && !n._retry ? ch ? new Promise((x, A) => {
2666
- Kh.push({ resolve: x, reject: A });
2667
- }).then(() => Ac(n)).catch((x) => Promise.reject(x)) : (n._retry = !0, ch = !0, Ac.post("/authentication/api/v1/auth/refresh-token", void 0, {
2151
+ const n = t.config, r = (u = (s = t.response) == null ? void 0 : s.data) == null ? void 0 : u.errorMessage, i = r === Ck.TOKEN_EXPIRED;
2152
+ return ((g = t.response) == null ? void 0 : g.status) === 401 && i && !n._retry ? uh ? new Promise((x, A) => {
2153
+ qh.push({ resolve: x, reject: A });
2154
+ }).then(() => Ac(n)).catch((x) => Promise.reject(x)) : (n._retry = !0, uh = !0, Ac.post("/authentication/api/v1/auth/refresh-token", void 0, {
2668
2155
  baseURL: window.env.AUTHEN_DOMAIN
2669
- }).then(() => (_m(null), Ac(n))).catch((x) => (_m(x), Promise.reject(x))).finally(() => {
2670
- ch = !1;
2671
- })) : ((p = t.response) == null ? void 0 : p.status) === 401 && !i ? jk(window.env.AUTHEN_DOMAIN) : (((y = t.response) == null ? void 0 : y.status) === 403 ? (T = e == null ? void 0 : e.handle403) == null || T.call(e, t) : !(e != null && e.disabledPushNotify) && eb(sb(`${r || "Something went wrong!"}`)), r && t.response && t.response.data && (t.response.data.message = r), Promise.reject(t.response.data));
2156
+ }).then(() => (km(null), Ac(n))).catch((x) => (km(x), Promise.reject(x))).finally(() => {
2157
+ uh = !1;
2158
+ })) : ((p = t.response) == null ? void 0 : p.status) === 401 && !i ? Tk(window.env.AUTHEN_DOMAIN) : (((y = t.response) == null ? void 0 : y.status) === 403 ? (T = e == null ? void 0 : e.handle403) == null || T.call(e, t) : !(e != null && e.disabledPushNotify) && Nb(tb(`${r || "Something went wrong!"}`)), r && t.response && t.response.data && (t.response.data.message = r), Promise.reject(t));
2672
2159
  }
2673
2160
  Ac.interceptors.response.use(
2674
2161
  (t) => t,
2675
- async (t) => Wk(t)
2162
+ async (t) => Ek(t)
2676
2163
  );
2677
- const Uk = va({}), d2 = ({ children: t }) => {
2164
+ const _k = va({}), l2 = ({ children: t }) => {
2678
2165
  const [e, n] = Wr(!0), [r, i] = Wr({
2679
2166
  all: { rows: [], total: 0 },
2680
2167
  unread: { rows: [], total: 0 }
@@ -2684,7 +2171,7 @@ const Uk = va({}), d2 = ({ children: t }) => {
2684
2171
  n(!0);
2685
2172
  };
2686
2173
  return /* @__PURE__ */ St(
2687
- Uk.Provider,
2174
+ _k.Provider,
2688
2175
  {
2689
2176
  value: {
2690
2177
  isOpen: e,
@@ -2697,17 +2184,17 @@ const Uk = va({}), d2 = ({ children: t }) => {
2697
2184
  }
2698
2185
  );
2699
2186
  };
2700
- var lb = {
2187
+ var nb = {
2701
2188
  color: void 0,
2702
2189
  size: void 0,
2703
2190
  className: void 0,
2704
2191
  style: void 0,
2705
2192
  attr: void 0
2706
- }, Pm = Ut.createContext && /* @__PURE__ */ Ut.createContext(lb), Vk = ["attr", "size", "title"];
2707
- function zk(t, e) {
2193
+ }, Em = Ut.createContext && /* @__PURE__ */ Ut.createContext(nb), Pk = ["attr", "size", "title"];
2194
+ function Rk(t, e) {
2708
2195
  if (t == null)
2709
2196
  return {};
2710
- var n = $k(t, e), r, i;
2197
+ var n = Ak(t, e), r, i;
2711
2198
  if (Object.getOwnPropertySymbols) {
2712
2199
  var s = Object.getOwnPropertySymbols(t);
2713
2200
  for (i = 0; i < s.length; i++)
@@ -2715,7 +2202,7 @@ function zk(t, e) {
2715
2202
  }
2716
2203
  return n;
2717
2204
  }
2718
- function $k(t, e) {
2205
+ function Ak(t, e) {
2719
2206
  if (t == null)
2720
2207
  return {};
2721
2208
  var n = {}, r = Object.keys(t), i, s;
@@ -2723,17 +2210,17 @@ function $k(t, e) {
2723
2210
  i = r[s], !(e.indexOf(i) >= 0) && (n[i] = t[i]);
2724
2211
  return n;
2725
2212
  }
2726
- function od() {
2727
- return od = Object.assign ? Object.assign.bind() : function(t) {
2213
+ function id() {
2214
+ return id = Object.assign ? Object.assign.bind() : function(t) {
2728
2215
  for (var e = 1; e < arguments.length; e++) {
2729
2216
  var n = arguments[e];
2730
2217
  for (var r in n)
2731
2218
  Object.prototype.hasOwnProperty.call(n, r) && (t[r] = n[r]);
2732
2219
  }
2733
2220
  return t;
2734
- }, od.apply(this, arguments);
2221
+ }, id.apply(this, arguments);
2735
2222
  }
2736
- function Rm(t, e) {
2223
+ function _m(t, e) {
2737
2224
  var n = Object.keys(t);
2738
2225
  if (Object.getOwnPropertySymbols) {
2739
2226
  var r = Object.getOwnPropertySymbols(t);
@@ -2743,25 +2230,25 @@ function Rm(t, e) {
2743
2230
  }
2744
2231
  return n;
2745
2232
  }
2746
- function ad(t) {
2233
+ function od(t) {
2747
2234
  for (var e = 1; e < arguments.length; e++) {
2748
2235
  var n = arguments[e] != null ? arguments[e] : {};
2749
- e % 2 ? Rm(Object(n), !0).forEach(function(r) {
2750
- Yk(t, r, n[r]);
2751
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n)) : Rm(Object(n)).forEach(function(r) {
2236
+ e % 2 ? _m(Object(n), !0).forEach(function(r) {
2237
+ Ok(t, r, n[r]);
2238
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n)) : _m(Object(n)).forEach(function(r) {
2752
2239
  Object.defineProperty(t, r, Object.getOwnPropertyDescriptor(n, r));
2753
2240
  });
2754
2241
  }
2755
2242
  return t;
2756
2243
  }
2757
- function Yk(t, e, n) {
2758
- return e = Gk(e), e in t ? Object.defineProperty(t, e, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = n, t;
2244
+ function Ok(t, e, n) {
2245
+ return e = Dk(e), e in t ? Object.defineProperty(t, e, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = n, t;
2759
2246
  }
2760
- function Gk(t) {
2761
- var e = qk(t, "string");
2247
+ function Dk(t) {
2248
+ var e = Ik(t, "string");
2762
2249
  return typeof e == "symbol" ? e : String(e);
2763
2250
  }
2764
- function qk(t, e) {
2251
+ function Ik(t, e) {
2765
2252
  if (typeof t != "object" || t === null)
2766
2253
  return t;
2767
2254
  var n = t[Symbol.toPrimitive];
@@ -2773,30 +2260,30 @@ function qk(t, e) {
2773
2260
  }
2774
2261
  return (e === "string" ? String : Number)(t);
2775
2262
  }
2776
- function ub(t) {
2777
- return t && t.map((e, n) => /* @__PURE__ */ Ut.createElement(e.tag, ad({
2263
+ function rb(t) {
2264
+ return t && t.map((e, n) => /* @__PURE__ */ Ut.createElement(e.tag, od({
2778
2265
  key: n
2779
- }, e.attr), ub(e.child)));
2266
+ }, e.attr), rb(e.child)));
2780
2267
  }
2781
- function cb(t) {
2782
- return (e) => /* @__PURE__ */ Ut.createElement(Xk, od({
2783
- attr: ad({}, t.attr)
2784
- }, e), ub(t.child));
2268
+ function ib(t) {
2269
+ return (e) => /* @__PURE__ */ Ut.createElement(Mk, id({
2270
+ attr: od({}, t.attr)
2271
+ }, e), rb(t.child));
2785
2272
  }
2786
- function Xk(t) {
2273
+ function Mk(t) {
2787
2274
  var e = (n) => {
2788
2275
  var {
2789
2276
  attr: r,
2790
2277
  size: i,
2791
2278
  title: s
2792
- } = t, u = zk(t, Vk), g = i || n.size || "1em", p;
2793
- return n.className && (p = n.className), t.className && (p = (p ? p + " " : "") + t.className), /* @__PURE__ */ Ut.createElement("svg", od({
2279
+ } = t, u = Rk(t, Pk), g = i || n.size || "1em", p;
2280
+ return n.className && (p = n.className), t.className && (p = (p ? p + " " : "") + t.className), /* @__PURE__ */ Ut.createElement("svg", id({
2794
2281
  stroke: "currentColor",
2795
2282
  fill: "currentColor",
2796
2283
  strokeWidth: "0"
2797
2284
  }, n.attr, r, u, {
2798
2285
  className: p,
2799
- style: ad(ad({
2286
+ style: od(od({
2800
2287
  color: t.color || n.color
2801
2288
  }, n.style), t.style),
2802
2289
  height: g,
@@ -2804,15 +2291,15 @@ function Xk(t) {
2804
2291
  xmlns: "http://www.w3.org/2000/svg"
2805
2292
  }), s && /* @__PURE__ */ Ut.createElement("title", null, s), t.children);
2806
2293
  };
2807
- return Pm !== void 0 ? /* @__PURE__ */ Ut.createElement(Pm.Consumer, null, (n) => e(n)) : e(lb);
2294
+ return Em !== void 0 ? /* @__PURE__ */ Ut.createElement(Em.Consumer, null, (n) => e(n)) : e(nb);
2808
2295
  }
2809
- function Kk(t) {
2810
- return cb({ tag: "svg", attr: { viewBox: "0 0 1024 1024" }, child: [{ tag: "path", attr: { d: "M689 165.1L308.2 493.5c-10.9 9.4-10.9 27.5 0 37L689 858.9c14.2 12.2 35 1.2 35-18.5V183.6c0-19.7-20.8-30.7-35-18.5z" }, child: [] }] })(t);
2296
+ function Lk(t) {
2297
+ return ib({ tag: "svg", attr: { viewBox: "0 0 1024 1024" }, child: [{ tag: "path", attr: { d: "M689 165.1L308.2 493.5c-10.9 9.4-10.9 27.5 0 37L689 858.9c14.2 12.2 35 1.2 35-18.5V183.6c0-19.7-20.8-30.7-35-18.5z" }, child: [] }] })(t);
2811
2298
  }
2812
- function Jk(t) {
2813
- return cb({ tag: "svg", attr: { viewBox: "0 0 1024 1024" }, child: [{ tag: "path", attr: { d: "M715.8 493.5L335 165.1c-14.2-12.2-35-1.2-35 18.5v656.8c0 19.7 20.8 30.7 35 18.5l380.8-328.4c10.9-9.4 10.9-27.6 0-37z" }, child: [] }] })(t);
2299
+ function Fk(t) {
2300
+ return ib({ tag: "svg", attr: { viewBox: "0 0 1024 1024" }, child: [{ tag: "path", attr: { d: "M715.8 493.5L335 165.1c-14.2-12.2-35-1.2-35 18.5v656.8c0 19.7 20.8 30.7 35 18.5l380.8-328.4c10.9-9.4 10.9-27.6 0-37z" }, child: [] }] })(t);
2814
2301
  }
2815
- const Zk = (t) => {
2302
+ const Bk = (t) => {
2816
2303
  const e = { ...t.colors };
2817
2304
  return LT({
2818
2305
  palette: {
@@ -3048,8 +2535,8 @@ const Zk = (t) => {
3048
2535
  MuiPaginationItem: {
3049
2536
  defaultProps: {
3050
2537
  components: {
3051
- previous: Kk,
3052
- next: Jk
2538
+ previous: Lk,
2539
+ next: Fk
3053
2540
  }
3054
2541
  },
3055
2542
  styleOverrides: {
@@ -3311,7 +2798,7 @@ const Zk = (t) => {
3311
2798
  }
3312
2799
  });
3313
2800
  };
3314
- function Qk(t, e) {
2801
+ function Nk(t, e) {
3315
2802
  const n = { ...t };
3316
2803
  return e == null || e.forEach((r) => {
3317
2804
  r.children && r.children.forEach((i) => {
@@ -3319,7 +2806,7 @@ function Qk(t, e) {
3319
2806
  });
3320
2807
  }), n;
3321
2808
  }
3322
- function eE(t) {
2809
+ function jk(t) {
3323
2810
  var u, g;
3324
2811
  const { data: e, isFetching: n } = Gy(
3325
2812
  ["customTheme"],
@@ -3329,9 +2816,9 @@ function eE(t) {
3329
2816
  refetchOnWindowFocus: !1,
3330
2817
  cacheTime: 0
3331
2818
  }
3332
- ), r = Qk($o, (u = e == null ? void 0 : e.theme) == null ? void 0 : u.keyColor);
2819
+ ), r = Nk($o, (u = e == null ? void 0 : e.theme) == null ? void 0 : u.keyColor);
3333
2820
  console.log("🚀 ~ useThemeContext ~ isFetching:", n);
3334
- const i = Zk({ colors: r }), s = (g = e == null ? void 0 : e.theme) == null ? void 0 : g.image;
2821
+ const i = Bk({ colors: r }), s = (g = e == null ? void 0 : e.theme) == null ? void 0 : g.image;
3335
2822
  return {
3336
2823
  colors: r,
3337
2824
  theme: i,
@@ -3339,27 +2826,27 @@ function eE(t) {
3339
2826
  isFetching: n
3340
2827
  };
3341
2828
  }
3342
- const fb = va({}), h2 = () => ri(fb), p2 = (t) => {
2829
+ const ob = va({}), u2 = () => ri(ob), c2 = (t) => {
3343
2830
  var s;
3344
- const { children: e, brandTheme: n } = t, r = eE(n), i = ((s = t.customTheme) == null ? void 0 : s.call(t, r.colors)) || r.theme;
3345
- return /* @__PURE__ */ St(fb.Provider, { value: r, children: /* @__PURE__ */ St(FT, { theme: i, children: e }) });
3346
- }, tE = `*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}
2831
+ const { children: e, brandTheme: n } = t, r = jk(n), i = ((s = t.customTheme) == null ? void 0 : s.call(t, r.colors)) || r.theme;
2832
+ return /* @__PURE__ */ St(ob.Provider, { value: r, children: /* @__PURE__ */ St(FT, { theme: i, children: e }) });
2833
+ }, Hk = `*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}
3347
2834
  `;
3348
- function nE({ children: t, styles: e = [], ...n }) {
2835
+ function Wk({ children: t, styles: e = [], ...n }) {
3349
2836
  return /* @__PURE__ */ zo("div", { ...n, children: [
3350
- [tE, ...e].map((r, i) => /* @__PURE__ */ St("style", { type: "text/css", children: r }, i)),
2837
+ [Hk, ...e].map((r, i) => /* @__PURE__ */ St("style", { type: "text/css", children: r }, i)),
3351
2838
  t
3352
2839
  ] });
3353
2840
  }
3354
- var db = [], rE = db.forEach, iE = db.slice;
3355
- function oE(t) {
3356
- return rE.call(iE.call(arguments, 1), function(e) {
2841
+ var ab = [], Uk = ab.forEach, Vk = ab.slice;
2842
+ function zk(t) {
2843
+ return Uk.call(Vk.call(arguments, 1), function(e) {
3357
2844
  if (e)
3358
2845
  for (var n in e)
3359
2846
  t[n] === void 0 && (t[n] = e[n]);
3360
2847
  }), t;
3361
2848
  }
3362
- var Am = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, aE = function(e, n, r) {
2849
+ var Pm = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, $k = function(e, n, r) {
3363
2850
  var i = r || {};
3364
2851
  i.path = i.path || "/";
3365
2852
  var s = encodeURIComponent(n), u = "".concat(e, "=").concat(s);
@@ -3370,12 +2857,12 @@ var Am = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, aE = function(e, n, r) {
3370
2857
  u += "; Max-Age=".concat(Math.floor(g));
3371
2858
  }
3372
2859
  if (i.domain) {
3373
- if (!Am.test(i.domain))
2860
+ if (!Pm.test(i.domain))
3374
2861
  throw new TypeError("option domain is invalid");
3375
2862
  u += "; Domain=".concat(i.domain);
3376
2863
  }
3377
2864
  if (i.path) {
3378
- if (!Am.test(i.path))
2865
+ if (!Pm.test(i.path))
3379
2866
  throw new TypeError("option path is invalid");
3380
2867
  u += "; Path=".concat(i.path);
3381
2868
  }
@@ -3404,13 +2891,13 @@ var Am = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, aE = function(e, n, r) {
3404
2891
  }
3405
2892
  }
3406
2893
  return u;
3407
- }, Om = {
2894
+ }, Rm = {
3408
2895
  create: function(e, n, r, i) {
3409
2896
  var s = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : {
3410
2897
  path: "/",
3411
2898
  sameSite: "strict"
3412
2899
  };
3413
- r && (s.expires = /* @__PURE__ */ new Date(), s.expires.setTime(s.expires.getTime() + r * 60 * 1e3)), i && (s.domain = i), document.cookie = aE(e, encodeURIComponent(n), s);
2900
+ r && (s.expires = /* @__PURE__ */ new Date(), s.expires.setTime(s.expires.getTime() + r * 60 * 1e3)), i && (s.domain = i), document.cookie = $k(e, encodeURIComponent(n), s);
3414
2901
  },
3415
2902
  read: function(e) {
3416
2903
  for (var n = "".concat(e, "="), r = document.cookie.split(";"), i = 0; i < r.length; i++) {
@@ -3424,20 +2911,20 @@ var Am = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, aE = function(e, n, r) {
3424
2911
  remove: function(e) {
3425
2912
  this.create(e, "", -1);
3426
2913
  }
3427
- }, sE = {
2914
+ }, Yk = {
3428
2915
  name: "cookie",
3429
2916
  lookup: function(e) {
3430
2917
  var n;
3431
2918
  if (e.lookupCookie && typeof document < "u") {
3432
- var r = Om.read(e.lookupCookie);
2919
+ var r = Rm.read(e.lookupCookie);
3433
2920
  r && (n = r);
3434
2921
  }
3435
2922
  return n;
3436
2923
  },
3437
2924
  cacheUserLanguage: function(e, n) {
3438
- n.lookupCookie && typeof document < "u" && Om.create(n.lookupCookie, e, n.cookieMinutes, n.cookieDomain, n.cookieOptions);
2925
+ n.lookupCookie && typeof document < "u" && Rm.create(n.lookupCookie, e, n.cookieMinutes, n.cookieDomain, n.cookieOptions);
3439
2926
  }
3440
- }, lE = {
2927
+ }, Gk = {
3441
2928
  name: "querystring",
3442
2929
  lookup: function(e) {
3443
2930
  var n;
@@ -3454,7 +2941,7 @@ var Am = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, aE = function(e, n, r) {
3454
2941
  }
3455
2942
  return n;
3456
2943
  }
3457
- }, Xc = null, Dm = function() {
2944
+ }, Xc = null, Am = function() {
3458
2945
  if (Xc !== null)
3459
2946
  return Xc;
3460
2947
  try {
@@ -3465,20 +2952,20 @@ var Am = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, aE = function(e, n, r) {
3465
2952
  Xc = !1;
3466
2953
  }
3467
2954
  return Xc;
3468
- }, uE = {
2955
+ }, qk = {
3469
2956
  name: "localStorage",
3470
2957
  lookup: function(e) {
3471
2958
  var n;
3472
- if (e.lookupLocalStorage && Dm()) {
2959
+ if (e.lookupLocalStorage && Am()) {
3473
2960
  var r = window.localStorage.getItem(e.lookupLocalStorage);
3474
2961
  r && (n = r);
3475
2962
  }
3476
2963
  return n;
3477
2964
  },
3478
2965
  cacheUserLanguage: function(e, n) {
3479
- n.lookupLocalStorage && Dm() && window.localStorage.setItem(n.lookupLocalStorage, e);
2966
+ n.lookupLocalStorage && Am() && window.localStorage.setItem(n.lookupLocalStorage, e);
3480
2967
  }
3481
- }, Kc = null, Im = function() {
2968
+ }, Kc = null, Om = function() {
3482
2969
  if (Kc !== null)
3483
2970
  return Kc;
3484
2971
  try {
@@ -3489,20 +2976,20 @@ var Am = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, aE = function(e, n, r) {
3489
2976
  Kc = !1;
3490
2977
  }
3491
2978
  return Kc;
3492
- }, cE = {
2979
+ }, Xk = {
3493
2980
  name: "sessionStorage",
3494
2981
  lookup: function(e) {
3495
2982
  var n;
3496
- if (e.lookupSessionStorage && Im()) {
2983
+ if (e.lookupSessionStorage && Om()) {
3497
2984
  var r = window.sessionStorage.getItem(e.lookupSessionStorage);
3498
2985
  r && (n = r);
3499
2986
  }
3500
2987
  return n;
3501
2988
  },
3502
2989
  cacheUserLanguage: function(e, n) {
3503
- n.lookupSessionStorage && Im() && window.sessionStorage.setItem(n.lookupSessionStorage, e);
2990
+ n.lookupSessionStorage && Om() && window.sessionStorage.setItem(n.lookupSessionStorage, e);
3504
2991
  }
3505
- }, fE = {
2992
+ }, Kk = {
3506
2993
  name: "navigator",
3507
2994
  lookup: function(e) {
3508
2995
  var n = [];
@@ -3514,13 +3001,13 @@ var Am = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, aE = function(e, n, r) {
3514
3001
  }
3515
3002
  return n.length > 0 ? n : void 0;
3516
3003
  }
3517
- }, dE = {
3004
+ }, Jk = {
3518
3005
  name: "htmlTag",
3519
3006
  lookup: function(e) {
3520
3007
  var n, r = e.htmlTag || (typeof document < "u" ? document.documentElement : null);
3521
3008
  return r && typeof r.getAttribute == "function" && (n = r.getAttribute("lang")), n;
3522
3009
  }
3523
- }, hE = {
3010
+ }, Zk = {
3524
3011
  name: "path",
3525
3012
  lookup: function(e) {
3526
3013
  var n;
@@ -3536,7 +3023,7 @@ var Am = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, aE = function(e, n, r) {
3536
3023
  }
3537
3024
  return n;
3538
3025
  }
3539
- }, pE = {
3026
+ }, Qk = {
3540
3027
  name: "subdomain",
3541
3028
  lookup: function(e) {
3542
3029
  var n = typeof e.lookupFromSubdomainIndex == "number" ? e.lookupFromSubdomainIndex + 1 : 1, r = typeof window < "u" && window.location && window.location.hostname && window.location.hostname.match(/^(\w{2,5})\.(([a-z0-9-]{1,63}\.[a-z]{2,6})|localhost)/i);
@@ -3544,7 +3031,7 @@ var Am = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, aE = function(e, n, r) {
3544
3031
  return r[n];
3545
3032
  }
3546
3033
  };
3547
- function gE() {
3034
+ function eE() {
3548
3035
  return {
3549
3036
  order: ["querystring", "cookie", "localStorage", "sessionStorage", "navigator", "htmlTag"],
3550
3037
  lookupQuerystring: "lng",
@@ -3561,7 +3048,7 @@ function gE() {
3561
3048
  }
3562
3049
  };
3563
3050
  }
3564
- var hb = /* @__PURE__ */ function() {
3051
+ var sb = /* @__PURE__ */ function() {
3565
3052
  function t(e) {
3566
3053
  var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
3567
3054
  qo(this, t), this.type = "languageDetector", this.detectors = {}, this.init(e, n);
@@ -3572,9 +3059,9 @@ var hb = /* @__PURE__ */ function() {
3572
3059
  var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, i = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
3573
3060
  this.services = n || {
3574
3061
  languageUtils: {}
3575
- }, this.options = oE(r, this.options || {}, gE()), typeof this.options.convertDetectedLanguage == "string" && this.options.convertDetectedLanguage.indexOf("15897") > -1 && (this.options.convertDetectedLanguage = function(s) {
3062
+ }, this.options = zk(r, this.options || {}, eE()), typeof this.options.convertDetectedLanguage == "string" && this.options.convertDetectedLanguage.indexOf("15897") > -1 && (this.options.convertDetectedLanguage = function(s) {
3576
3063
  return s.replace("-", "_");
3577
- }), this.options.lookupFromUrlIndex && (this.options.lookupFromPathIndex = this.options.lookupFromUrlIndex), this.i18nOptions = i, this.addDetector(sE), this.addDetector(lE), this.addDetector(uE), this.addDetector(cE), this.addDetector(fE), this.addDetector(dE), this.addDetector(hE), this.addDetector(pE);
3064
+ }), this.options.lookupFromUrlIndex && (this.options.lookupFromPathIndex = this.options.lookupFromUrlIndex), this.i18nOptions = i, this.addDetector(Yk), this.addDetector(Gk), this.addDetector(qk), this.addDetector(Xk), this.addDetector(Kk), this.addDetector(Jk), this.addDetector(Zk), this.addDetector(Qk);
3578
3065
  }
3579
3066
  }, {
3580
3067
  key: "addDetector",
@@ -3606,8 +3093,8 @@ var hb = /* @__PURE__ */ function() {
3606
3093
  }
3607
3094
  }]), t;
3608
3095
  }();
3609
- hb.type = "languageDetector";
3610
- function pb(t, e) {
3096
+ sb.type = "languageDetector";
3097
+ function lb(t, e) {
3611
3098
  if (t == null)
3612
3099
  return {};
3613
3100
  var n = {}, r = Object.keys(t), i, s;
@@ -3615,15 +3102,15 @@ function pb(t, e) {
3615
3102
  i = r[s], !(e.indexOf(i) >= 0) && (n[i] = t[i]);
3616
3103
  return n;
3617
3104
  }
3618
- const g2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3105
+ const f2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3619
3106
  __proto__: null,
3620
- default: pb
3107
+ default: lb
3621
3108
  }, Symbol.toStringTag, { value: "Module" }));
3622
3109
  var ma = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
3623
3110
  function yf(t) {
3624
3111
  return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
3625
3112
  }
3626
- function m2(t) {
3113
+ function d2(t) {
3627
3114
  if (t.__esModule)
3628
3115
  return t;
3629
3116
  var e = t.default;
@@ -3644,20 +3131,20 @@ function m2(t) {
3644
3131
  });
3645
3132
  }), n;
3646
3133
  }
3647
- function mE() {
3134
+ function tE() {
3648
3135
  if (console && console.warn) {
3649
3136
  for (var t, e = arguments.length, n = new Array(e), r = 0; r < e; r++)
3650
3137
  n[r] = arguments[r];
3651
3138
  typeof n[0] == "string" && (n[0] = "react-i18next:: ".concat(n[0])), (t = console).warn.apply(t, n);
3652
3139
  }
3653
3140
  }
3654
- var Mm = {};
3655
- function Jh() {
3141
+ var Dm = {};
3142
+ function Xh() {
3656
3143
  for (var t = arguments.length, e = new Array(t), n = 0; n < t; n++)
3657
3144
  e[n] = arguments[n];
3658
- typeof e[0] == "string" && Mm[e[0]] || (typeof e[0] == "string" && (Mm[e[0]] = /* @__PURE__ */ new Date()), mE.apply(void 0, e));
3145
+ typeof e[0] == "string" && Dm[e[0]] || (typeof e[0] == "string" && (Dm[e[0]] = /* @__PURE__ */ new Date()), tE.apply(void 0, e));
3659
3146
  }
3660
- var gb = function(e, n) {
3147
+ var ub = function(e, n) {
3661
3148
  return function() {
3662
3149
  if (e.isInitialized)
3663
3150
  n();
@@ -3671,15 +3158,15 @@ var gb = function(e, n) {
3671
3158
  }
3672
3159
  };
3673
3160
  };
3674
- function Lm(t, e, n) {
3675
- t.loadNamespaces(e, gb(t, n));
3161
+ function Im(t, e, n) {
3162
+ t.loadNamespaces(e, ub(t, n));
3676
3163
  }
3677
- function Fm(t, e, n, r) {
3164
+ function Mm(t, e, n, r) {
3678
3165
  typeof n == "string" && (n = [n]), n.forEach(function(i) {
3679
3166
  t.options.ns.indexOf(i) < 0 && t.options.ns.push(i);
3680
- }), t.loadLanguages(e, gb(t, r));
3167
+ }), t.loadLanguages(e, ub(t, r));
3681
3168
  }
3682
- function vE(t, e) {
3169
+ function nE(t, e) {
3683
3170
  var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, r = e.languages[0], i = e.options ? e.options.fallbackLng : !1, s = e.languages[e.languages.length - 1];
3684
3171
  if (r.toLowerCase() === "cimode")
3685
3172
  return !0;
@@ -3689,10 +3176,10 @@ function vE(t, e) {
3689
3176
  };
3690
3177
  return n.bindI18n && n.bindI18n.indexOf("languageChanging") > -1 && e.services.backendConnector.backend && e.isLanguageChangingTo && !u(e.isLanguageChangingTo, t) ? !1 : !!(e.hasResourceBundle(r, t) || !e.services.backendConnector.backend || e.options.resources && !e.options.partialBundledLanguages || u(r, t) && (!i || u(s, t)));
3691
3178
  }
3692
- function yE(t, e) {
3179
+ function rE(t, e) {
3693
3180
  var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
3694
3181
  if (!e.languages || !e.languages.length)
3695
- return Jh("i18n.languages were undefined or empty", e.languages), !0;
3182
+ return Xh("i18n.languages were undefined or empty", e.languages), !0;
3696
3183
  var r = e.options.ignoreJSONStructure !== void 0;
3697
3184
  return r ? e.hasLoadedNamespace(t, {
3698
3185
  lng: n.lng,
@@ -3700,9 +3187,9 @@ function yE(t, e) {
3700
3187
  if (n.bindI18n && n.bindI18n.indexOf("languageChanging") > -1 && s.services.backendConnector.backend && s.isLanguageChangingTo && !u(s.isLanguageChangingTo, t))
3701
3188
  return !1;
3702
3189
  }
3703
- }) : vE(t, e, n);
3190
+ }) : nE(t, e, n);
3704
3191
  }
3705
- var bE = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g, wE = {
3192
+ var iE = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g, oE = {
3706
3193
  "&amp;": "&",
3707
3194
  "&#38;": "&",
3708
3195
  "&lt;": "<",
@@ -3723,12 +3210,12 @@ var bE = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#1
3723
3210
  "&#8230;": "…",
3724
3211
  "&#x2F;": "/",
3725
3212
  "&#47;": "/"
3726
- }, xE = function(e) {
3727
- return wE[e];
3728
- }, SE = function(e) {
3729
- return e.replace(bE, xE);
3213
+ }, aE = function(e) {
3214
+ return oE[e];
3215
+ }, sE = function(e) {
3216
+ return e.replace(iE, aE);
3730
3217
  };
3731
- function Bm(t, e) {
3218
+ function Lm(t, e) {
3732
3219
  var n = Object.keys(t);
3733
3220
  if (Object.getOwnPropertySymbols) {
3734
3221
  var r = Object.getOwnPropertySymbols(t);
@@ -3738,18 +3225,18 @@ function Bm(t, e) {
3738
3225
  }
3739
3226
  return n;
3740
3227
  }
3741
- function Nm(t) {
3228
+ function Fm(t) {
3742
3229
  for (var e = 1; e < arguments.length; e++) {
3743
3230
  var n = arguments[e] != null ? arguments[e] : {};
3744
- e % 2 ? Bm(Object(n), !0).forEach(function(r) {
3231
+ e % 2 ? Lm(Object(n), !0).forEach(function(r) {
3745
3232
  bs(t, r, n[r]);
3746
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n)) : Bm(Object(n)).forEach(function(r) {
3233
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n)) : Lm(Object(n)).forEach(function(r) {
3747
3234
  Object.defineProperty(t, r, Object.getOwnPropertyDescriptor(n, r));
3748
3235
  });
3749
3236
  }
3750
3237
  return t;
3751
3238
  }
3752
- var Zh = {
3239
+ var Kh = {
3753
3240
  bindI18n: "languageChanged",
3754
3241
  bindI18nStore: "",
3755
3242
  transEmptyNodeValue: "",
@@ -3757,28 +3244,28 @@ var Zh = {
3757
3244
  transWrapTextNodes: "",
3758
3245
  transKeepBasicHtmlNodesFor: ["br", "strong", "i", "p"],
3759
3246
  useSuspense: !0,
3760
- unescape: SE
3247
+ unescape: sE
3761
3248
  };
3762
- function CE() {
3249
+ function lE() {
3763
3250
  var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
3764
- Zh = Nm(Nm({}, Zh), t);
3251
+ Kh = Fm(Fm({}, Kh), t);
3765
3252
  }
3766
- function TE() {
3767
- return Zh;
3253
+ function uE() {
3254
+ return Kh;
3768
3255
  }
3769
- var mb;
3770
- function kE(t) {
3771
- mb = t;
3256
+ var cb;
3257
+ function cE(t) {
3258
+ cb = t;
3772
3259
  }
3773
- function EE() {
3774
- return mb;
3260
+ function fE() {
3261
+ return cb;
3775
3262
  }
3776
- var _E = {
3263
+ var dE = {
3777
3264
  type: "3rdParty",
3778
3265
  init: function(e) {
3779
- CE(e.options.react), kE(e);
3266
+ lE(e.options.react), cE(e);
3780
3267
  }
3781
- }, vb = va(), PE = function() {
3268
+ }, fb = va(), hE = function() {
3782
3269
  function t() {
3783
3270
  qo(this, t), this.usedNamespaces = {};
3784
3271
  }
@@ -3797,7 +3284,7 @@ var _E = {
3797
3284
  }
3798
3285
  }]), t;
3799
3286
  }();
3800
- function RE(t, e) {
3287
+ function pE(t, e) {
3801
3288
  var n = t == null ? null : typeof Symbol < "u" && t[Symbol.iterator] || t["@@iterator"];
3802
3289
  if (n != null) {
3803
3290
  var r, i, s, u, g = [], p = !0, y = !1;
@@ -3823,10 +3310,10 @@ function RE(t, e) {
3823
3310
  return g;
3824
3311
  }
3825
3312
  }
3826
- function AE(t, e) {
3827
- return nb(t) || RE(t, e) || rb(t, e) || ib();
3313
+ function gE(t, e) {
3314
+ return Ky(t) || pE(t, e) || Jy(t, e) || Zy();
3828
3315
  }
3829
- function jm(t, e) {
3316
+ function Bm(t, e) {
3830
3317
  var n = Object.keys(t);
3831
3318
  if (Object.getOwnPropertySymbols) {
3832
3319
  var r = Object.getOwnPropertySymbols(t);
@@ -3836,49 +3323,49 @@ function jm(t, e) {
3836
3323
  }
3837
3324
  return n;
3838
3325
  }
3839
- function fh(t) {
3326
+ function ch(t) {
3840
3327
  for (var e = 1; e < arguments.length; e++) {
3841
3328
  var n = arguments[e] != null ? arguments[e] : {};
3842
- e % 2 ? jm(Object(n), !0).forEach(function(r) {
3329
+ e % 2 ? Bm(Object(n), !0).forEach(function(r) {
3843
3330
  bs(t, r, n[r]);
3844
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n)) : jm(Object(n)).forEach(function(r) {
3331
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n)) : Bm(Object(n)).forEach(function(r) {
3845
3332
  Object.defineProperty(t, r, Object.getOwnPropertyDescriptor(n, r));
3846
3333
  });
3847
3334
  }
3848
3335
  return t;
3849
3336
  }
3850
- var OE = function(e, n) {
3337
+ var mE = function(e, n) {
3851
3338
  var r = vi();
3852
3339
  return wo(function() {
3853
3340
  r.current = n ? r.current : e;
3854
3341
  }, [e, n]), r.current;
3855
3342
  };
3856
- function DE(t) {
3857
- var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = e.i18n, r = ri(vb) || {}, i = r.i18n, s = r.defaultNS, u = n || i || EE();
3858
- if (u && !u.reportNamespaces && (u.reportNamespaces = new PE()), !u) {
3859
- Jh("You will need to pass in an i18next instance by using initReactI18next");
3343
+ function vE(t) {
3344
+ var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = e.i18n, r = ri(fb) || {}, i = r.i18n, s = r.defaultNS, u = n || i || fE();
3345
+ if (u && !u.reportNamespaces && (u.reportNamespaces = new hE()), !u) {
3346
+ Xh("You will need to pass in an i18next instance by using initReactI18next");
3860
3347
  var g = function(me, Ze) {
3861
3348
  return typeof Ze == "string" ? Ze : Ze && Yo(Ze) === "object" && typeof Ze.defaultValue == "string" ? Ze.defaultValue : Array.isArray(me) ? me[me.length - 1] : me;
3862
3349
  }, p = [g, {}, !1];
3863
3350
  return p.t = g, p.i18n = {}, p.ready = !1, p;
3864
3351
  }
3865
- u.options.react && u.options.react.wait !== void 0 && Jh("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");
3866
- var y = fh(fh(fh({}, TE()), u.options.react), e), T = y.useSuspense, x = y.keyPrefix, A = t || s || u.options && u.options.defaultNS;
3352
+ u.options.react && u.options.react.wait !== void 0 && Xh("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");
3353
+ var y = ch(ch(ch({}, uE()), u.options.react), e), T = y.useSuspense, x = y.keyPrefix, A = t || s || u.options && u.options.defaultNS;
3867
3354
  A = typeof A == "string" ? [A] : A || ["translation"], u.reportNamespaces.addUsedNamespaces && u.reportNamespaces.addUsedNamespaces(A);
3868
3355
  var B = (u.isInitialized || u.initializedStoreOnce) && A.every(function(Ee) {
3869
- return yE(Ee, u, y);
3356
+ return rE(Ee, u, y);
3870
3357
  });
3871
3358
  function Y() {
3872
3359
  return u.getFixedT(e.lng || null, y.nsMode === "fallback" ? A : A[0], x);
3873
3360
  }
3874
- var z = Wr(Y), $ = AE(z, 2), L = $[0], ne = $[1], te = A.join();
3361
+ var z = Wr(Y), $ = gE(z, 2), L = $[0], ne = $[1], te = A.join();
3875
3362
  e.lng && (te = "".concat(e.lng).concat(te));
3876
- var he = OE(te), ie = vi(!0);
3363
+ var he = mE(te), ie = vi(!0);
3877
3364
  wo(function() {
3878
3365
  var Ee = y.bindI18n, me = y.bindI18nStore;
3879
- ie.current = !0, !B && !T && (e.lng ? Fm(u, e.lng, A, function() {
3366
+ ie.current = !0, !B && !T && (e.lng ? Mm(u, e.lng, A, function() {
3880
3367
  ie.current && ne(Y);
3881
- }) : Lm(u, A, function() {
3368
+ }) : Im(u, A, function() {
3882
3369
  ie.current && ne(Y);
3883
3370
  })), B && he && he !== te && ie.current && ne(Y);
3884
3371
  function Ze() {
@@ -3900,36 +3387,36 @@ function DE(t) {
3900
3387
  if (b.t = L, b.i18n = u, b.ready = B, B || !B && !T)
3901
3388
  return b;
3902
3389
  throw new Promise(function(Ee) {
3903
- e.lng ? Fm(u, e.lng, A, function() {
3390
+ e.lng ? Mm(u, e.lng, A, function() {
3904
3391
  return Ee();
3905
- }) : Lm(u, A, function() {
3392
+ }) : Im(u, A, function() {
3906
3393
  return Ee();
3907
3394
  });
3908
3395
  });
3909
3396
  }
3910
- function IE(t) {
3911
- var e = t.i18n, n = t.defaultNS, r = t.children, i = Mc(function() {
3397
+ function yE(t) {
3398
+ var e = t.i18n, n = t.defaultNS, r = t.children, i = Ic(function() {
3912
3399
  return {
3913
3400
  i18n: e,
3914
3401
  defaultNS: n
3915
3402
  };
3916
3403
  }, [e, n]);
3917
- return Pp(vb.Provider, {
3404
+ return Pp(fb.Provider, {
3918
3405
  value: i
3919
3406
  }, r);
3920
3407
  }
3921
- var yb = [], ME = yb.forEach, LE = yb.slice;
3922
- function FE(t) {
3923
- return ME.call(LE.call(arguments, 1), function(e) {
3408
+ var db = [], bE = db.forEach, wE = db.slice;
3409
+ function xE(t) {
3410
+ return bE.call(wE.call(arguments, 1), function(e) {
3924
3411
  if (e)
3925
3412
  for (var n in e)
3926
3413
  t[n] === void 0 && (t[n] = e[n]);
3927
3414
  }), t;
3928
3415
  }
3929
- function BE(t) {
3416
+ function SE(t) {
3930
3417
  return t ? typeof t == "function" ? new t() : t : null;
3931
3418
  }
3932
- function NE() {
3419
+ function CE() {
3933
3420
  return {
3934
3421
  handleEmptyResourcesAsFailed: !0,
3935
3422
  cacheHitMode: "none"
@@ -3937,7 +3424,7 @@ function NE() {
3937
3424
  // refreshExpirationTime: 60 * 60 * 1000
3938
3425
  };
3939
3426
  }
3940
- function Hm(t, e, n, r) {
3427
+ function Nm(t, e, n, r) {
3941
3428
  var i = t.read.bind(t);
3942
3429
  if (i.length === 2) {
3943
3430
  try {
@@ -3952,7 +3439,7 @@ function Hm(t, e, n, r) {
3952
3439
  }
3953
3440
  i(e, n, r);
3954
3441
  }
3955
- var bb = /* @__PURE__ */ function() {
3442
+ var hb = /* @__PURE__ */ function() {
3956
3443
  function t(e) {
3957
3444
  var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
3958
3445
  qo(this, t), this.backends = [], this.type = "backend", this.allOptions = r, this.init(e, n);
@@ -3961,8 +3448,8 @@ var bb = /* @__PURE__ */ function() {
3961
3448
  key: "init",
3962
3449
  value: function(n) {
3963
3450
  var r = this, i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, s = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
3964
- this.services = n, this.options = FE(i, this.options || {}, NE()), this.allOptions = s, this.options.backends && this.options.backends.forEach(function(u, g) {
3965
- r.backends[g] = r.backends[g] || BE(u), r.backends[g].init(n, r.options.backendOptions && r.options.backendOptions[g] || {}, s);
3451
+ this.services = n, this.options = xE(i, this.options || {}, CE()), this.allOptions = s, this.options.backends && this.options.backends.forEach(function(u, g) {
3452
+ r.backends[g] = r.backends[g] || SE(u), r.backends[g].init(n, r.options.backendOptions && r.options.backendOptions[g] || {}, s);
3966
3453
  }), this.services && this.options.reloadInterval && setInterval(function() {
3967
3454
  return r.reload();
3968
3455
  }, this.options.reloadInterval);
@@ -3974,13 +3461,13 @@ var bb = /* @__PURE__ */ function() {
3974
3461
  if (T >= u)
3975
3462
  return i(new Error("non of the backend loaded data", !0));
3976
3463
  var x = T === u - 1, A = s.options.handleEmptyResourcesAsFailed && !x ? 0 : -1, B = s.backends[T];
3977
- B.read ? Hm(B, n, r, function(Y, z, $) {
3464
+ B.read ? Nm(B, n, r, function(Y, z, $) {
3978
3465
  if (!Y && z && Object.keys(z).length > A) {
3979
3466
  if (i(null, z, T), p(T - 1, z), B.save && s.options.cacheHitMode && ["refresh", "refreshAndUpdateStore"].indexOf(s.options.cacheHitMode) > -1) {
3980
3467
  if ($ && s.options.refreshExpirationTime && $ + s.options.refreshExpirationTime > Date.now())
3981
3468
  return;
3982
3469
  var L = s.backends[T + 1];
3983
- L && L.read && Hm(L, n, r, function(ne, te) {
3470
+ L && L.read && Nm(L, n, r, function(ne, te) {
3984
3471
  ne || te && (Object.keys(te).length <= A || (p(T, te), s.options.cacheHitMode === "refreshAndUpdateStore" && s.services && s.services.resourceStore && s.services.resourceStore.addResourceBundle(n, r, te)));
3985
3472
  });
3986
3473
  }
@@ -4042,30 +3529,30 @@ var bb = /* @__PURE__ */ function() {
4042
3529
  }
4043
3530
  }]), t;
4044
3531
  }();
4045
- bb.type = "backend";
4046
- function Qh(t) {
3532
+ hb.type = "backend";
3533
+ function Jh(t) {
4047
3534
  "@babel/helpers - typeof";
4048
- return Qh = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
3535
+ return Jh = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
4049
3536
  return typeof e;
4050
3537
  } : function(e) {
4051
3538
  return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
4052
- }, Qh(t);
3539
+ }, Jh(t);
4053
3540
  }
4054
- function wb() {
4055
- return typeof XMLHttpRequest == "function" || (typeof XMLHttpRequest > "u" ? "undefined" : Qh(XMLHttpRequest)) === "object";
3541
+ function pb() {
3542
+ return typeof XMLHttpRequest == "function" || (typeof XMLHttpRequest > "u" ? "undefined" : Jh(XMLHttpRequest)) === "object";
4056
3543
  }
4057
- function jE(t) {
3544
+ function TE(t) {
4058
3545
  return !!t && typeof t.then == "function";
4059
3546
  }
4060
- function HE(t) {
4061
- return jE(t) ? t : Promise.resolve(t);
3547
+ function kE(t) {
3548
+ return TE(t) ? t : Promise.resolve(t);
4062
3549
  }
4063
- function WE(t) {
3550
+ function EE(t) {
4064
3551
  throw new Error('Could not dynamically require "' + t + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
4065
3552
  }
4066
- var ep = { exports: {} }, jf = { exports: {} }, Wm;
4067
- function UE() {
4068
- return Wm || (Wm = 1, function(t, e) {
3553
+ var Zh = { exports: {} }, Bf = { exports: {} }, jm;
3554
+ function _E() {
3555
+ return jm || (jm = 1, function(t, e) {
4069
3556
  var n = typeof globalThis < "u" && globalThis || typeof self < "u" && self || typeof ma < "u" && ma, r = function() {
4070
3557
  function s() {
4071
3558
  this.fetch = !1, this.DOMException = n.DOMException;
@@ -4377,21 +3864,21 @@ function UE() {
4377
3864
  })(r), r.fetch.ponyfill = !0, delete r.fetch.polyfill;
4378
3865
  var i = n.fetch ? n : r;
4379
3866
  e = i.fetch, e.default = i.fetch, e.fetch = i.fetch, e.Headers = i.Headers, e.Request = i.Request, e.Response = i.Response, t.exports = e;
4380
- }(jf, jf.exports)), jf.exports;
3867
+ }(Bf, Bf.exports)), Bf.exports;
4381
3868
  }
4382
3869
  (function(t, e) {
4383
3870
  var n;
4384
- if (typeof fetch == "function" && (typeof ma < "u" && ma.fetch ? n = ma.fetch : typeof window < "u" && window.fetch ? n = window.fetch : n = fetch), typeof WE < "u" && (typeof window > "u" || typeof window.document > "u")) {
4385
- var r = n || UE();
3871
+ if (typeof fetch == "function" && (typeof ma < "u" && ma.fetch ? n = ma.fetch : typeof window < "u" && window.fetch ? n = window.fetch : n = fetch), typeof EE < "u" && (typeof window > "u" || typeof window.document > "u")) {
3872
+ var r = n || _E();
4386
3873
  r.default && (r = r.default), e.default = r, t.exports = e.default;
4387
3874
  }
4388
- })(ep, ep.exports);
4389
- var xb = ep.exports;
4390
- const Sb = /* @__PURE__ */ yf(xb), Um = /* @__PURE__ */ UT({
3875
+ })(Zh, Zh.exports);
3876
+ var gb = Zh.exports;
3877
+ const mb = /* @__PURE__ */ yf(gb), Hm = /* @__PURE__ */ UT({
4391
3878
  __proto__: null,
4392
- default: Sb
4393
- }, [xb]);
4394
- function Vm(t, e) {
3879
+ default: mb
3880
+ }, [gb]);
3881
+ function Wm(t, e) {
4395
3882
  var n = Object.keys(t);
4396
3883
  if (Object.getOwnPropertySymbols) {
4397
3884
  var r = Object.getOwnPropertySymbols(t);
@@ -4401,25 +3888,25 @@ function Vm(t, e) {
4401
3888
  }
4402
3889
  return n;
4403
3890
  }
4404
- function zm(t) {
3891
+ function Um(t) {
4405
3892
  for (var e = 1; e < arguments.length; e++) {
4406
3893
  var n = arguments[e] != null ? arguments[e] : {};
4407
- e % 2 ? Vm(Object(n), !0).forEach(function(r) {
4408
- VE(t, r, n[r]);
4409
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n)) : Vm(Object(n)).forEach(function(r) {
3894
+ e % 2 ? Wm(Object(n), !0).forEach(function(r) {
3895
+ PE(t, r, n[r]);
3896
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n)) : Wm(Object(n)).forEach(function(r) {
4410
3897
  Object.defineProperty(t, r, Object.getOwnPropertyDescriptor(n, r));
4411
3898
  });
4412
3899
  }
4413
3900
  return t;
4414
3901
  }
4415
- function VE(t, e, n) {
4416
- return e = zE(e), e in t ? Object.defineProperty(t, e, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = n, t;
3902
+ function PE(t, e, n) {
3903
+ return e = RE(e), e in t ? Object.defineProperty(t, e, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = n, t;
4417
3904
  }
4418
- function zE(t) {
4419
- var e = $E(t, "string");
3905
+ function RE(t) {
3906
+ var e = AE(t, "string");
4420
3907
  return Vu(e) == "symbol" ? e : String(e);
4421
3908
  }
4422
- function $E(t, e) {
3909
+ function AE(t, e) {
4423
3910
  if (Vu(t) != "object" || !t)
4424
3911
  return t;
4425
3912
  var n = t[Symbol.toPrimitive];
@@ -4441,13 +3928,13 @@ function Vu(t) {
4441
3928
  }
4442
3929
  var il;
4443
3930
  typeof fetch == "function" && (typeof global < "u" && global.fetch ? il = global.fetch : typeof window < "u" && window.fetch ? il = window.fetch : il = fetch);
4444
- var uf;
4445
- wb() && (typeof global < "u" && global.XMLHttpRequest ? uf = global.XMLHttpRequest : typeof window < "u" && window.XMLHttpRequest && (uf = window.XMLHttpRequest));
4446
- var sd;
4447
- typeof ActiveXObject == "function" && (typeof global < "u" && global.ActiveXObject ? sd = global.ActiveXObject : typeof window < "u" && window.ActiveXObject && (sd = window.ActiveXObject));
4448
- !il && Um && !uf && !sd && (il = Sb || Um);
3931
+ var sf;
3932
+ pb() && (typeof global < "u" && global.XMLHttpRequest ? sf = global.XMLHttpRequest : typeof window < "u" && window.XMLHttpRequest && (sf = window.XMLHttpRequest));
3933
+ var ad;
3934
+ typeof ActiveXObject == "function" && (typeof global < "u" && global.ActiveXObject ? ad = global.ActiveXObject : typeof window < "u" && window.ActiveXObject && (ad = window.ActiveXObject));
3935
+ !il && Hm && !sf && !ad && (il = mb || Hm);
4449
3936
  typeof il != "function" && (il = void 0);
4450
- var tp = function(e, n) {
3937
+ var Qh = function(e, n) {
4451
3938
  if (n && Vu(n) === "object") {
4452
3939
  var r = "";
4453
3940
  for (var i in n)
@@ -4457,7 +3944,7 @@ var tp = function(e, n) {
4457
3944
  e = e + (e.indexOf("?") !== -1 ? "&" : "?") + r.slice(1);
4458
3945
  }
4459
3946
  return e;
4460
- }, $m = function(e, n, r, i) {
3947
+ }, Vm = function(e, n, r, i) {
4461
3948
  var s = function(p) {
4462
3949
  if (!p.ok)
4463
3950
  return r(p.statusText || "Error", {
@@ -4478,33 +3965,33 @@ var tp = function(e, n) {
4478
3965
  }
4479
3966
  }
4480
3967
  typeof fetch == "function" ? fetch(e, n).then(s).catch(r) : il(e, n).then(s).catch(r);
4481
- }, Ym = !1, YE = function(e, n, r, i) {
4482
- e.queryStringParams && (n = tp(n, e.queryStringParams));
4483
- var s = zm({}, typeof e.customHeaders == "function" ? e.customHeaders() : e.customHeaders);
3968
+ }, zm = !1, OE = function(e, n, r, i) {
3969
+ e.queryStringParams && (n = Qh(n, e.queryStringParams));
3970
+ var s = Um({}, typeof e.customHeaders == "function" ? e.customHeaders() : e.customHeaders);
4484
3971
  typeof window > "u" && typeof global < "u" && typeof global.process < "u" && global.process.versions && global.process.versions.node && (s["User-Agent"] = "i18next-http-backend (node/".concat(global.process.version, "; ").concat(global.process.platform, " ").concat(global.process.arch, ")")), r && (s["Content-Type"] = "application/json");
4485
- var u = typeof e.requestOptions == "function" ? e.requestOptions(r) : e.requestOptions, g = zm({
3972
+ var u = typeof e.requestOptions == "function" ? e.requestOptions(r) : e.requestOptions, g = Um({
4486
3973
  method: r ? "POST" : "GET",
4487
3974
  body: r ? e.stringify(r) : void 0,
4488
3975
  headers: s
4489
- }, Ym ? {} : u), p = typeof e.alternateFetch == "function" && e.alternateFetch.length >= 1 ? e.alternateFetch : void 0;
3976
+ }, zm ? {} : u), p = typeof e.alternateFetch == "function" && e.alternateFetch.length >= 1 ? e.alternateFetch : void 0;
4490
3977
  try {
4491
- $m(n, g, i, p);
3978
+ Vm(n, g, i, p);
4492
3979
  } catch (y) {
4493
3980
  if (!u || Object.keys(u).length === 0 || !y.message || y.message.indexOf("not implemented") < 0)
4494
3981
  return i(y);
4495
3982
  try {
4496
3983
  Object.keys(u).forEach(function(T) {
4497
3984
  delete g[T];
4498
- }), $m(n, g, i, p), Ym = !0;
3985
+ }), Vm(n, g, i, p), zm = !0;
4499
3986
  } catch (T) {
4500
3987
  i(T);
4501
3988
  }
4502
3989
  }
4503
- }, GE = function(e, n, r, i) {
4504
- r && Vu(r) === "object" && (r = tp("", r).slice(1)), e.queryStringParams && (n = tp(n, e.queryStringParams));
3990
+ }, DE = function(e, n, r, i) {
3991
+ r && Vu(r) === "object" && (r = Qh("", r).slice(1)), e.queryStringParams && (n = Qh(n, e.queryStringParams));
4505
3992
  try {
4506
3993
  var s;
4507
- uf ? s = new uf() : s = new sd("MSXML2.XMLHTTP.3.0"), s.open(r ? "POST" : "GET", n, 1), e.crossDomain || s.setRequestHeader("X-Requested-With", "XMLHttpRequest"), s.withCredentials = !!e.withCredentials, r && s.setRequestHeader("Content-Type", "application/x-www-form-urlencoded"), s.overrideMimeType && s.overrideMimeType("application/json");
3994
+ sf ? s = new sf() : s = new ad("MSXML2.XMLHTTP.3.0"), s.open(r ? "POST" : "GET", n, 1), e.crossDomain || s.setRequestHeader("X-Requested-With", "XMLHttpRequest"), s.withCredentials = !!e.withCredentials, r && s.setRequestHeader("Content-Type", "application/x-www-form-urlencoded"), s.overrideMimeType && s.overrideMimeType("application/json");
4508
3995
  var u = e.customHeaders;
4509
3996
  if (u = typeof u == "function" ? u() : u, u)
4510
3997
  for (var g in u)
@@ -4518,23 +4005,23 @@ var tp = function(e, n) {
4518
4005
  } catch (p) {
4519
4006
  console && console.log(p);
4520
4007
  }
4521
- }, qE = function(e, n, r, i) {
4008
+ }, IE = function(e, n, r, i) {
4522
4009
  if (typeof r == "function" && (i = r, r = void 0), i = i || function() {
4523
4010
  }, il && n.indexOf("file:") !== 0)
4524
- return YE(e, n, r, i);
4525
- if (wb() || typeof ActiveXObject == "function")
4526
- return GE(e, n, r, i);
4011
+ return OE(e, n, r, i);
4012
+ if (pb() || typeof ActiveXObject == "function")
4013
+ return DE(e, n, r, i);
4527
4014
  i(new Error("No fetch and no xhr implementation found!"));
4528
4015
  };
4529
- function cf(t) {
4016
+ function lf(t) {
4530
4017
  "@babel/helpers - typeof";
4531
- return cf = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
4018
+ return lf = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
4532
4019
  return typeof e;
4533
4020
  } : function(e) {
4534
4021
  return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
4535
- }, cf(t);
4022
+ }, lf(t);
4536
4023
  }
4537
- function Gm(t, e) {
4024
+ function $m(t, e) {
4538
4025
  var n = Object.keys(t);
4539
4026
  if (Object.getOwnPropertySymbols) {
4540
4027
  var r = Object.getOwnPropertySymbols(t);
@@ -4544,50 +4031,50 @@ function Gm(t, e) {
4544
4031
  }
4545
4032
  return n;
4546
4033
  }
4547
- function dh(t) {
4034
+ function fh(t) {
4548
4035
  for (var e = 1; e < arguments.length; e++) {
4549
4036
  var n = arguments[e] != null ? arguments[e] : {};
4550
- e % 2 ? Gm(Object(n), !0).forEach(function(r) {
4551
- Cb(t, r, n[r]);
4552
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n)) : Gm(Object(n)).forEach(function(r) {
4037
+ e % 2 ? $m(Object(n), !0).forEach(function(r) {
4038
+ vb(t, r, n[r]);
4039
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n)) : $m(Object(n)).forEach(function(r) {
4553
4040
  Object.defineProperty(t, r, Object.getOwnPropertyDescriptor(n, r));
4554
4041
  });
4555
4042
  }
4556
4043
  return t;
4557
4044
  }
4558
- function XE(t, e) {
4045
+ function ME(t, e) {
4559
4046
  if (!(t instanceof e))
4560
4047
  throw new TypeError("Cannot call a class as a function");
4561
4048
  }
4562
- function qm(t, e) {
4049
+ function Ym(t, e) {
4563
4050
  for (var n = 0; n < e.length; n++) {
4564
4051
  var r = e[n];
4565
- r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(t, Tb(r.key), r);
4052
+ r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(t, yb(r.key), r);
4566
4053
  }
4567
4054
  }
4568
- function KE(t, e, n) {
4569
- return e && qm(t.prototype, e), n && qm(t, n), Object.defineProperty(t, "prototype", { writable: !1 }), t;
4055
+ function LE(t, e, n) {
4056
+ return e && Ym(t.prototype, e), n && Ym(t, n), Object.defineProperty(t, "prototype", { writable: !1 }), t;
4570
4057
  }
4571
- function Cb(t, e, n) {
4572
- return e = Tb(e), e in t ? Object.defineProperty(t, e, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = n, t;
4058
+ function vb(t, e, n) {
4059
+ return e = yb(e), e in t ? Object.defineProperty(t, e, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = n, t;
4573
4060
  }
4574
- function Tb(t) {
4575
- var e = JE(t, "string");
4576
- return cf(e) == "symbol" ? e : String(e);
4061
+ function yb(t) {
4062
+ var e = FE(t, "string");
4063
+ return lf(e) == "symbol" ? e : String(e);
4577
4064
  }
4578
- function JE(t, e) {
4579
- if (cf(t) != "object" || !t)
4065
+ function FE(t, e) {
4066
+ if (lf(t) != "object" || !t)
4580
4067
  return t;
4581
4068
  var n = t[Symbol.toPrimitive];
4582
4069
  if (n !== void 0) {
4583
4070
  var r = n.call(t, e || "default");
4584
- if (cf(r) != "object")
4071
+ if (lf(r) != "object")
4585
4072
  return r;
4586
4073
  throw new TypeError("@@toPrimitive must return a primitive value.");
4587
4074
  }
4588
4075
  return (e === "string" ? String : Number)(t);
4589
4076
  }
4590
- var ZE = function() {
4077
+ var BE = function() {
4591
4078
  return {
4592
4079
  loadPath: "/locales/{{lng}}/{{ns}}.json",
4593
4080
  addPath: "/locales/add/{{lng}}/{{ns}}",
@@ -4596,11 +4083,11 @@ var ZE = function() {
4596
4083
  },
4597
4084
  stringify: JSON.stringify,
4598
4085
  parsePayload: function(n, r, i) {
4599
- return Cb({}, r, i || "");
4086
+ return vb({}, r, i || "");
4600
4087
  },
4601
4088
  parseLoadPayload: function(n, r) {
4602
4089
  },
4603
- request: qE,
4090
+ request: IE,
4604
4091
  reloadInterval: typeof window < "u" ? !1 : 60 * 60 * 1e3,
4605
4092
  customHeaders: {},
4606
4093
  queryStringParams: {},
@@ -4613,16 +4100,16 @@ var ZE = function() {
4613
4100
  cache: "default"
4614
4101
  }
4615
4102
  };
4616
- }, kb = function() {
4103
+ }, bb = function() {
4617
4104
  function t(e) {
4618
4105
  var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
4619
- XE(this, t), this.services = e, this.options = n, this.allOptions = r, this.type = "backend", this.init(e, n, r);
4106
+ ME(this, t), this.services = e, this.options = n, this.allOptions = r, this.type = "backend", this.init(e, n, r);
4620
4107
  }
4621
- return KE(t, [{
4108
+ return LE(t, [{
4622
4109
  key: "init",
4623
4110
  value: function(n) {
4624
4111
  var r = this, i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, s = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
4625
- this.services = n, this.options = dh(dh(dh({}, ZE()), this.options || {}), i), this.allOptions = s, this.services && this.options.reloadInterval && setInterval(function() {
4112
+ this.services = n, this.options = fh(fh(fh({}, BE()), this.options || {}), i), this.allOptions = s, this.services && this.options.reloadInterval && setInterval(function() {
4626
4113
  return r.reload();
4627
4114
  }, this.options.reloadInterval);
4628
4115
  }
@@ -4640,7 +4127,7 @@ var ZE = function() {
4640
4127
  key: "_readAny",
4641
4128
  value: function(n, r, i, s, u) {
4642
4129
  var g = this, p = this.options.loadPath;
4643
- typeof this.options.loadPath == "function" && (p = this.options.loadPath(n, i)), p = HE(p), p.then(function(y) {
4130
+ typeof this.options.loadPath == "function" && (p = this.options.loadPath(n, i)), p = kE(p), p.then(function(y) {
4644
4131
  if (!y)
4645
4132
  return u(null, {});
4646
4133
  var T = g.services.interpolator.interpolate(y, {
@@ -4718,18 +4205,18 @@ var ZE = function() {
4718
4205
  }
4719
4206
  }]), t;
4720
4207
  }();
4721
- kb.type = "backend";
4722
- var Eb = /* @__PURE__ */ ((t) => (t.en = "en", t.de = "de", t))(Eb || {});
4723
- const QE = {
4208
+ bb.type = "backend";
4209
+ var wb = /* @__PURE__ */ ((t) => (t.en = "en", t.de = "de", t))(wb || {});
4210
+ const NE = {
4724
4211
  en: "English",
4725
4212
  de: "German"
4726
4213
  };
4727
- ii.use(bb).use(_E).use(hb).init({
4214
+ ii.use(hb).use(dE).use(sb).init({
4728
4215
  // defaultNS: "translation",
4729
4216
  // resources,
4730
4217
  initImmediate: !0,
4731
4218
  ns: ["translation"],
4732
- fallbackLng: Object.keys(QE),
4219
+ fallbackLng: Object.keys(NE),
4733
4220
  fallbackNS: "translation",
4734
4221
  partialBundledLanguages: !0,
4735
4222
  resources: {},
@@ -4737,7 +4224,7 @@ ii.use(bb).use(_E).use(hb).init({
4737
4224
  escapeValue: !1
4738
4225
  },
4739
4226
  backend: {
4740
- backends: [kb],
4227
+ backends: [bb],
4741
4228
  backendOptions: [
4742
4229
  {
4743
4230
  loadPath: "https://ukpcsaprod.blob.core.windows.net/lib/translations/{{lng}}/{{ns}}.json",
@@ -4747,8 +4234,8 @@ ii.use(bb).use(_E).use(hb).init({
4747
4234
  ]
4748
4235
  }
4749
4236
  });
4750
- const e_ = (t) => {
4751
- const e = jT(), n = Mc(
4237
+ const jE = (t) => {
4238
+ const e = jT(), n = Ic(
4752
4239
  () => t.axiosInstance || Ac,
4753
4240
  [t.axiosInstance]
4754
4241
  );
@@ -4764,8 +4251,8 @@ const e_ = (t) => {
4764
4251
  i.persisted && e.invalidateQueries(["user"]);
4765
4252
  };
4766
4253
  }, [e]), r;
4767
- }, Xm = window.location.href, _b = va({}), v2 = (t) => {
4768
- const { children: e, baseUrl: n, axiosInstance: r } = t, i = new URL(n).origin, s = e_({ axiosInstance: r, baseUrl: n });
4254
+ }, Gm = window.location.href, xb = va({}), h2 = (t) => {
4255
+ const { children: e, baseUrl: n, axiosInstance: r } = t, i = new URL(n).origin, s = jE({ axiosInstance: r, baseUrl: n });
4769
4256
  function u() {
4770
4257
  const y = document.cookie.split(";");
4771
4258
  for (let T = 0; T < y.length; T++) {
@@ -4774,105 +4261,105 @@ const e_ = (t) => {
4774
4261
  }
4775
4262
  }
4776
4263
  function g() {
4777
- window.location.href = `${i}/authentication/login?callbackUrl=${Xm}`;
4264
+ window.location.href = `${i}/authentication/login?callbackUrl=${Gm}`;
4778
4265
  }
4779
4266
  function p() {
4780
- u(), window.location.href = `${i}/authentication/logout?callbackUrl=${Xm}`;
4267
+ u(), window.location.href = `${i}/authentication/logout?callbackUrl=${Gm}`;
4781
4268
  }
4782
- return /* @__PURE__ */ St(_b.Provider, { value: { user: s == null ? void 0 : s.data, login: g, logout: p, isFetching: s.isFetching }, children: e });
4783
- }, y2 = () => ri(_b);
4784
- function b2(t, e, n) {
4269
+ return /* @__PURE__ */ St(xb.Provider, { value: { user: s == null ? void 0 : s.data, login: g, logout: p, isFetching: s.isFetching }, children: e });
4270
+ }, p2 = () => ri(xb);
4271
+ function g2(t, e, n) {
4785
4272
  return n.some((r) => {
4786
4273
  const i = t[r];
4787
4274
  return String(i).toLowerCase().includes(e.toLowerCase());
4788
4275
  });
4789
4276
  }
4790
- function t_() {
4277
+ function HE() {
4791
4278
  const [t, e] = Wr();
4792
4279
  return wo(() => {
4793
4280
  const n = localStorage.getItem("language");
4794
- e(n || Eb.en);
4281
+ e(n || wb.en);
4795
4282
  }, []), {
4796
4283
  language: t,
4797
4284
  setLanguage: e
4798
4285
  };
4799
4286
  }
4800
- const Pb = va({}), w2 = () => ri(Pb), x2 = ii, S2 = sb, C2 = () => DE(), T2 = ({ children: t }) => {
4801
- const e = t_();
4802
- return /* @__PURE__ */ St(Pb.Provider, { value: e, children: /* @__PURE__ */ St(IE, { i18n: ii, children: t }) });
4287
+ const Sb = va({}), m2 = () => ri(Sb), v2 = ii, y2 = tb, b2 = () => vE(), w2 = ({ children: t }) => {
4288
+ const e = HE();
4289
+ return /* @__PURE__ */ St(Sb.Provider, { value: e, children: /* @__PURE__ */ St(yE, { i18n: ii, children: t }) });
4803
4290
  };
4804
- var n_ = typeof global == "object" && global && global.Object === Object && global;
4805
- const r_ = n_;
4806
- var i_ = typeof self == "object" && self && self.Object === Object && self, o_ = r_ || i_ || Function("return this")();
4807
- const Rb = o_;
4808
- var a_ = Rb.Symbol;
4809
- const ld = a_;
4810
- var Ab = Object.prototype, s_ = Ab.hasOwnProperty, l_ = Ab.toString, Jc = ld ? ld.toStringTag : void 0;
4811
- function u_(t) {
4812
- var e = s_.call(t, Jc), n = t[Jc];
4291
+ var WE = typeof global == "object" && global && global.Object === Object && global;
4292
+ const UE = WE;
4293
+ var VE = typeof self == "object" && self && self.Object === Object && self, zE = UE || VE || Function("return this")();
4294
+ const Cb = zE;
4295
+ var $E = Cb.Symbol;
4296
+ const sd = $E;
4297
+ var Tb = Object.prototype, YE = Tb.hasOwnProperty, GE = Tb.toString, Jc = sd ? sd.toStringTag : void 0;
4298
+ function qE(t) {
4299
+ var e = YE.call(t, Jc), n = t[Jc];
4813
4300
  try {
4814
4301
  t[Jc] = void 0;
4815
4302
  var r = !0;
4816
4303
  } catch {
4817
4304
  }
4818
- var i = l_.call(t);
4305
+ var i = GE.call(t);
4819
4306
  return r && (e ? t[Jc] = n : delete t[Jc]), i;
4820
4307
  }
4821
- var c_ = Object.prototype, f_ = c_.toString;
4822
- function d_(t) {
4823
- return f_.call(t);
4308
+ var XE = Object.prototype, KE = XE.toString;
4309
+ function JE(t) {
4310
+ return KE.call(t);
4824
4311
  }
4825
- var h_ = "[object Null]", p_ = "[object Undefined]", Km = ld ? ld.toStringTag : void 0;
4826
- function g_(t) {
4827
- return t == null ? t === void 0 ? p_ : h_ : Km && Km in Object(t) ? u_(t) : d_(t);
4312
+ var ZE = "[object Null]", QE = "[object Undefined]", qm = sd ? sd.toStringTag : void 0;
4313
+ function e_(t) {
4314
+ return t == null ? t === void 0 ? QE : ZE : qm && qm in Object(t) ? qE(t) : JE(t);
4828
4315
  }
4829
- function m_(t) {
4316
+ function t_(t) {
4830
4317
  return t != null && typeof t == "object";
4831
4318
  }
4832
- var v_ = "[object Symbol]";
4833
- function y_(t) {
4834
- return typeof t == "symbol" || m_(t) && g_(t) == v_;
4319
+ var n_ = "[object Symbol]";
4320
+ function r_(t) {
4321
+ return typeof t == "symbol" || t_(t) && e_(t) == n_;
4835
4322
  }
4836
- var b_ = /\s/;
4837
- function w_(t) {
4838
- for (var e = t.length; e-- && b_.test(t.charAt(e)); )
4323
+ var i_ = /\s/;
4324
+ function o_(t) {
4325
+ for (var e = t.length; e-- && i_.test(t.charAt(e)); )
4839
4326
  ;
4840
4327
  return e;
4841
4328
  }
4842
- var x_ = /^\s+/;
4843
- function S_(t) {
4844
- return t && t.slice(0, w_(t) + 1).replace(x_, "");
4329
+ var a_ = /^\s+/;
4330
+ function s_(t) {
4331
+ return t && t.slice(0, o_(t) + 1).replace(a_, "");
4845
4332
  }
4846
- function ud(t) {
4333
+ function ld(t) {
4847
4334
  var e = typeof t;
4848
4335
  return t != null && (e == "object" || e == "function");
4849
4336
  }
4850
- var Jm = 0 / 0, C_ = /^[-+]0x[0-9a-f]+$/i, T_ = /^0b[01]+$/i, k_ = /^0o[0-7]+$/i, E_ = parseInt;
4851
- function Zm(t) {
4337
+ var Xm = 0 / 0, l_ = /^[-+]0x[0-9a-f]+$/i, u_ = /^0b[01]+$/i, c_ = /^0o[0-7]+$/i, f_ = parseInt;
4338
+ function Km(t) {
4852
4339
  if (typeof t == "number")
4853
4340
  return t;
4854
- if (y_(t))
4855
- return Jm;
4856
- if (ud(t)) {
4341
+ if (r_(t))
4342
+ return Xm;
4343
+ if (ld(t)) {
4857
4344
  var e = typeof t.valueOf == "function" ? t.valueOf() : t;
4858
- t = ud(e) ? e + "" : e;
4345
+ t = ld(e) ? e + "" : e;
4859
4346
  }
4860
4347
  if (typeof t != "string")
4861
4348
  return t === 0 ? t : +t;
4862
- t = S_(t);
4863
- var n = T_.test(t);
4864
- return n || k_.test(t) ? E_(t.slice(2), n ? 2 : 8) : C_.test(t) ? Jm : +t;
4349
+ t = s_(t);
4350
+ var n = u_.test(t);
4351
+ return n || c_.test(t) ? f_(t.slice(2), n ? 2 : 8) : l_.test(t) ? Xm : +t;
4865
4352
  }
4866
- var __ = function() {
4867
- return Rb.Date.now();
4353
+ var d_ = function() {
4354
+ return Cb.Date.now();
4868
4355
  };
4869
- const hh = __;
4870
- var P_ = "Expected a function", R_ = Math.max, A_ = Math.min;
4871
- function Jf(t, e, n) {
4356
+ const dh = d_;
4357
+ var h_ = "Expected a function", p_ = Math.max, g_ = Math.min;
4358
+ function Kf(t, e, n) {
4872
4359
  var r, i, s, u, g, p, y = 0, T = !1, x = !1, A = !0;
4873
4360
  if (typeof t != "function")
4874
- throw new TypeError(P_);
4875
- e = Zm(e) || 0, ud(n) && (T = !!n.leading, x = "maxWait" in n, s = x ? R_(Zm(n.maxWait) || 0, e) : s, A = "trailing" in n ? !!n.trailing : A);
4361
+ throw new TypeError(h_);
4362
+ e = Km(e) || 0, ld(n) && (T = !!n.leading, x = "maxWait" in n, s = x ? p_(Km(n.maxWait) || 0, e) : s, A = "trailing" in n ? !!n.trailing : A);
4876
4363
  function B(xe) {
4877
4364
  var b = r, Ee = i;
4878
4365
  return r = i = void 0, y = xe, u = t.apply(Ee, b), u;
@@ -4882,14 +4369,14 @@ function Jf(t, e, n) {
4882
4369
  }
4883
4370
  function z(xe) {
4884
4371
  var b = xe - p, Ee = xe - y, me = e - b;
4885
- return x ? A_(me, s - Ee) : me;
4372
+ return x ? g_(me, s - Ee) : me;
4886
4373
  }
4887
4374
  function $(xe) {
4888
4375
  var b = xe - p, Ee = xe - y;
4889
4376
  return p === void 0 || b >= e || b < 0 || x && Ee >= s;
4890
4377
  }
4891
4378
  function L() {
4892
- var xe = hh();
4379
+ var xe = dh();
4893
4380
  if ($(xe))
4894
4381
  return ne(xe);
4895
4382
  g = setTimeout(L, z(xe));
@@ -4901,10 +4388,10 @@ function Jf(t, e, n) {
4901
4388
  g !== void 0 && clearTimeout(g), y = 0, r = p = i = g = void 0;
4902
4389
  }
4903
4390
  function he() {
4904
- return g === void 0 ? u : ne(hh());
4391
+ return g === void 0 ? u : ne(dh());
4905
4392
  }
4906
4393
  function ie() {
4907
- var xe = hh(), b = $(xe);
4394
+ var xe = dh(), b = $(xe);
4908
4395
  if (r = arguments, i = this, p = xe, b) {
4909
4396
  if (g === void 0)
4910
4397
  return Y(p);
@@ -4915,19 +4402,19 @@ function Jf(t, e, n) {
4915
4402
  }
4916
4403
  return ie.cancel = te, ie.flush = he, ie;
4917
4404
  }
4918
- var O_ = "Expected a function";
4919
- function D_(t, e, n) {
4405
+ var m_ = "Expected a function";
4406
+ function v_(t, e, n) {
4920
4407
  var r = !0, i = !0;
4921
4408
  if (typeof t != "function")
4922
- throw new TypeError(O_);
4923
- return ud(n) && (r = "leading" in n ? !!n.leading : r, i = "trailing" in n ? !!n.trailing : i), Jf(t, e, {
4409
+ throw new TypeError(m_);
4410
+ return ld(n) && (r = "leading" in n ? !!n.leading : r, i = "trailing" in n ? !!n.trailing : i), Kf(t, e, {
4924
4411
  leading: r,
4925
4412
  maxWait: e,
4926
4413
  trailing: i
4927
4414
  });
4928
4415
  }
4929
- var I_ = !!(typeof window < "u" && window.document && window.document.createElement), M_ = I_;
4930
- const Ob = /* @__PURE__ */ yf(M_);
4416
+ var y_ = !!(typeof window < "u" && window.document && window.document.createElement), b_ = y_;
4417
+ const kb = /* @__PURE__ */ yf(b_);
4931
4418
  var Tc = function() {
4932
4419
  return Tc = Object.assign || function(e) {
4933
4420
  for (var n, r = 1, i = arguments.length; r < i; r++) {
@@ -4937,11 +4424,11 @@ var Tc = function() {
4937
4424
  }
4938
4425
  return e;
4939
4426
  }, Tc.apply(this, arguments);
4940
- }, Sc = null, Qm = null;
4941
- Ob && window.addEventListener("resize", function() {
4942
- Qm !== window.devicePixelRatio && (Qm = window.devicePixelRatio, Sc = null);
4427
+ }, Sc = null, Jm = null;
4428
+ kb && window.addEventListener("resize", function() {
4429
+ Jm !== window.devicePixelRatio && (Jm = window.devicePixelRatio, Sc = null);
4943
4430
  });
4944
- function ev() {
4431
+ function Zm() {
4945
4432
  if (Sc === null) {
4946
4433
  if (typeof document > "u")
4947
4434
  return Sc = 0, Sc;
@@ -4952,13 +4439,13 @@ function ev() {
4952
4439
  }
4953
4440
  return Sc;
4954
4441
  }
4955
- function Db(t) {
4442
+ function Eb(t) {
4956
4443
  return !t || !t.ownerDocument || !t.ownerDocument.defaultView ? window : t.ownerDocument.defaultView;
4957
4444
  }
4958
- function Ib(t) {
4445
+ function _b(t) {
4959
4446
  return !t || !t.ownerDocument ? document : t.ownerDocument;
4960
4447
  }
4961
- var Mb = function(t) {
4448
+ var Pb = function(t) {
4962
4449
  var e = {}, n = Array.prototype.reduce.call(t, function(r, i) {
4963
4450
  var s = i.name.match(/data-simplebar-(.+)/);
4964
4451
  if (s) {
@@ -4983,27 +4470,27 @@ var Mb = function(t) {
4983
4470
  }, e);
4984
4471
  return n;
4985
4472
  };
4986
- function Lb(t, e) {
4473
+ function Rb(t, e) {
4987
4474
  var n;
4988
4475
  t && (n = t.classList).add.apply(n, e.split(" "));
4989
4476
  }
4990
- function Fb(t, e) {
4477
+ function Ab(t, e) {
4991
4478
  t && e.split(" ").forEach(function(n) {
4992
4479
  t.classList.remove(n);
4993
4480
  });
4994
4481
  }
4995
- function Bb(t) {
4482
+ function Ob(t) {
4996
4483
  return ".".concat(t.split(" ").join("."));
4997
4484
  }
4998
- var L_ = /* @__PURE__ */ Object.freeze({
4485
+ var w_ = /* @__PURE__ */ Object.freeze({
4999
4486
  __proto__: null,
5000
- getElementWindow: Db,
5001
- getElementDocument: Ib,
5002
- getOptions: Mb,
5003
- addClasses: Lb,
5004
- removeClasses: Fb,
5005
- classNamesToQuery: Bb
5006
- }), Fl = Db, ph = Ib, F_ = Mb, Bl = Lb, Nl = Fb, bo = Bb, Hf = (
4487
+ getElementWindow: Eb,
4488
+ getElementDocument: _b,
4489
+ getOptions: Pb,
4490
+ addClasses: Rb,
4491
+ removeClasses: Ab,
4492
+ classNamesToQuery: Ob
4493
+ }), Fl = Eb, hh = _b, x_ = Pb, Bl = Rb, Nl = Ab, bo = Ob, Nf = (
5007
4494
  /** @class */
5008
4495
  function() {
5009
4496
  function t(e, n) {
@@ -5048,7 +4535,7 @@ var L_ = /* @__PURE__ */ Object.freeze({
5048
4535
  r.draggedAxis === "x" && r.isRtl && (Ee = !((z = t.getRtlHelpers()) === null || z === void 0) && z.isScrollingToNegative ? -Ee : Ee), r.contentWrapperEl[r.axis[r.draggedAxis].scrollOffsetAttr] = Ee;
5049
4536
  }
5050
4537
  }, this.onEndDrag = function(i) {
5051
- var s = ph(r.el), u = Fl(r.el);
4538
+ var s = hh(r.el), u = Fl(r.el);
5052
4539
  i.preventDefault(), i.stopPropagation(), Nl(r.el, r.classNames.dragging), s.removeEventListener("mousemove", r.drag, !0), s.removeEventListener("mouseup", r.onEndDrag, !0), r.removePreventClickId = u.setTimeout(function() {
5053
4540
  s.removeEventListener("click", r.preventClick, !0), s.removeEventListener("dblclick", r.preventClick, !0), r.removePreventClickId = null;
5054
4541
  });
@@ -5083,7 +4570,7 @@ var L_ = /* @__PURE__ */ Object.freeze({
5083
4570
  }
5084
4571
  }, typeof this.el != "object" || !this.el.nodeName)
5085
4572
  throw new Error("Argument passed to SimpleBar must be an HTML element instead of ".concat(this.el));
5086
- this.onMouseMove = D_(this._onMouseMove, 64), this.onWindowResize = Jf(this._onWindowResize, 64, { leading: !0 }), this.onStopScrolling = Jf(this._onStopScrolling, this.stopScrollDelay), this.onMouseEntered = Jf(this._onMouseEntered, this.stopScrollDelay), this.init();
4573
+ this.onMouseMove = v_(this._onMouseMove, 64), this.onWindowResize = Kf(this._onWindowResize, 64, { leading: !0 }), this.onStopScrolling = Kf(this._onStopScrolling, this.stopScrollDelay), this.onMouseEntered = Kf(this._onMouseEntered, this.stopScrollDelay), this.init();
5087
4574
  }
5088
4575
  return t.getRtlHelpers = function() {
5089
4576
  if (t.rtlHelpers)
@@ -5105,18 +4592,18 @@ var L_ = /* @__PURE__ */ Object.freeze({
5105
4592
  }, t.rtlHelpers;
5106
4593
  }, t.prototype.getScrollbarWidth = function() {
5107
4594
  try {
5108
- return this.contentWrapperEl && getComputedStyle(this.contentWrapperEl, "::-webkit-scrollbar").display === "none" || "scrollbarWidth" in document.documentElement.style || "-ms-overflow-style" in document.documentElement.style ? 0 : ev();
4595
+ return this.contentWrapperEl && getComputedStyle(this.contentWrapperEl, "::-webkit-scrollbar").display === "none" || "scrollbarWidth" in document.documentElement.style || "-ms-overflow-style" in document.documentElement.style ? 0 : Zm();
5109
4596
  } catch {
5110
- return ev();
4597
+ return Zm();
5111
4598
  }
5112
4599
  }, t.getOffset = function(e) {
5113
- var n = e.getBoundingClientRect(), r = ph(e), i = Fl(e);
4600
+ var n = e.getBoundingClientRect(), r = hh(e), i = Fl(e);
5114
4601
  return {
5115
4602
  top: n.top + (i.pageYOffset || r.documentElement.scrollTop),
5116
4603
  left: n.left + (i.pageXOffset || r.documentElement.scrollLeft)
5117
4604
  };
5118
4605
  }, t.prototype.init = function() {
5119
- Ob && (this.initDOM(), this.rtlHelpers = t.getRtlHelpers(), this.scrollbarWidth = this.getScrollbarWidth(), this.recalculate(), this.initListeners());
4606
+ kb && (this.initDOM(), this.rtlHelpers = t.getRtlHelpers(), this.scrollbarWidth = this.getScrollbarWidth(), this.recalculate(), this.initListeners());
5120
4607
  }, t.prototype.initDOM = function() {
5121
4608
  var e, n;
5122
4609
  this.wrapperEl = this.el.querySelector(bo(this.classNames.wrapper)), this.contentWrapperEl = this.options.scrollableNode || this.el.querySelector(bo(this.classNames.contentWrapper)), this.contentEl = this.options.contentNode || this.el.querySelector(bo(this.classNames.contentEl)), this.offsetEl = this.el.querySelector(bo(this.classNames.offset)), this.maskEl = this.el.querySelector(bo(this.classNames.mask)), this.placeholderEl = this.findChild(this.wrapperEl, bo(this.classNames.placeholder)), this.heightAutoObserverWrapperEl = this.el.querySelector(bo(this.classNames.heightAutoObserverWrapperEl)), this.heightAutoObserverEl = this.el.querySelector(bo(this.classNames.heightAutoObserverEl)), this.axis.x.track.el = this.findChild(this.el, "".concat(bo(this.classNames.track)).concat(bo(this.classNames.horizontal))), this.axis.y.track.el = this.findChild(this.el, "".concat(bo(this.classNames.track)).concat(bo(this.classNames.vertical))), this.axis.x.scrollbar.el = ((e = this.axis.x.track.el) === null || e === void 0 ? void 0 : e.querySelector(bo(this.classNames.scrollbar))) || null, this.axis.y.scrollbar.el = ((n = this.axis.y.track.el) === null || n === void 0 ? void 0 : n.querySelector(bo(this.classNames.scrollbar))) || null, this.options.autoHide || (Bl(this.axis.x.scrollbar.el, this.classNames.visible), Bl(this.axis.y.scrollbar.el, this.classNames.visible));
@@ -5191,7 +4678,7 @@ var L_ = /* @__PURE__ */ Object.freeze({
5191
4678
  }, t.prototype.onDragStart = function(e, n) {
5192
4679
  var r;
5193
4680
  n === void 0 && (n = "y");
5194
- var i = ph(this.el), s = Fl(this.el), u = this.axis[n].scrollbar, g = n === "y" ? e.pageY : e.pageX;
4681
+ var i = hh(this.el), s = Fl(this.el), u = this.axis[n].scrollbar, g = n === "y" ? e.pageY : e.pageX;
5195
4682
  this.axis[n].dragOffset = g - (((r = u.rect) === null || r === void 0 ? void 0 : r[this.axis[n].offsetAttr]) || 0), this.draggedAxis = n, Bl(this.el, this.classNames.dragging), i.addEventListener("mousemove", this.drag, !0), i.addEventListener("mouseup", this.onEndDrag, !0), this.removePreventClickId === null ? (i.addEventListener("click", this.preventClick, !0), i.addEventListener("dblclick", this.preventClick, !0)) : (s.clearTimeout(this.removePreventClickId), this.removePreventClickId = null);
5196
4683
  }, t.prototype.onTrackClick = function(e, n) {
5197
4684
  var r = this, i, s, u, g;
@@ -5251,7 +4738,7 @@ var L_ = /* @__PURE__ */ Object.freeze({
5251
4738
  scrollableNode: null,
5252
4739
  contentNode: null,
5253
4740
  autoHide: !0
5254
- }, t.getOptions = F_, t.helpers = L_, t;
4741
+ }, t.getOptions = x_, t.helpers = w_, t;
5255
4742
  }()
5256
4743
  ), Uo = function() {
5257
4744
  return Uo = Object.assign || function(e) {
@@ -5260,82 +4747,595 @@ var L_ = /* @__PURE__ */ Object.freeze({
5260
4747
  for (var s in n)
5261
4748
  Object.prototype.hasOwnProperty.call(n, s) && (e[s] = n[s]);
5262
4749
  }
5263
- return e;
5264
- }, Uo.apply(this, arguments);
5265
- };
5266
- function B_(t, e) {
5267
- var n = {};
5268
- for (var r in t)
5269
- Object.prototype.hasOwnProperty.call(t, r) && e.indexOf(r) < 0 && (n[r] = t[r]);
5270
- if (t != null && typeof Object.getOwnPropertySymbols == "function")
5271
- for (var i = 0, r = Object.getOwnPropertySymbols(t); i < r.length; i++)
5272
- e.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(t, r[i]) && (n[r[i]] = t[r[i]]);
5273
- return n;
4750
+ return e;
4751
+ }, Uo.apply(this, arguments);
4752
+ };
4753
+ function S_(t, e) {
4754
+ var n = {};
4755
+ for (var r in t)
4756
+ Object.prototype.hasOwnProperty.call(t, r) && e.indexOf(r) < 0 && (n[r] = t[r]);
4757
+ if (t != null && typeof Object.getOwnPropertySymbols == "function")
4758
+ for (var i = 0, r = Object.getOwnPropertySymbols(t); i < r.length; i++)
4759
+ e.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(t, r[i]) && (n[r[i]] = t[r[i]]);
4760
+ return n;
4761
+ }
4762
+ var Db = En.forwardRef(function(t, e) {
4763
+ var n = t.children, r = t.scrollableNodeProps, i = r === void 0 ? {} : r, s = S_(t, ["children", "scrollableNodeProps"]), u = En.useRef(), g = En.useRef(), p = En.useRef(), y = {}, T = {};
4764
+ Object.keys(s).forEach(function(B) {
4765
+ Object.prototype.hasOwnProperty.call(Nf.defaultOptions, B) ? y[B] = s[B] : T[B] = s[B];
4766
+ });
4767
+ var x = Uo(Uo({}, Nf.defaultOptions.classNames), y.classNames), A = Uo(Uo({}, i), { className: "".concat(x.contentWrapper).concat(i.className ? " ".concat(i.className) : ""), tabIndex: 0, role: "region", "aria-label": y.ariaLabel || Nf.defaultOptions.ariaLabel });
4768
+ return En.useEffect(function() {
4769
+ var B;
4770
+ return g.current = A.ref ? A.ref.current : g.current, u.current && (B = new Nf(u.current, Uo(Uo(Uo({}, y), g.current && {
4771
+ scrollableNode: g.current
4772
+ }), p.current && {
4773
+ contentNode: p.current
4774
+ })), typeof e == "function" ? e(B) : e && (e.current = B)), function() {
4775
+ B == null || B.unMount(), B = null, typeof e == "function" && e(null);
4776
+ };
4777
+ }, []), En.createElement(
4778
+ "div",
4779
+ Uo({ "data-simplebar": "init", ref: u }, T),
4780
+ En.createElement(
4781
+ "div",
4782
+ { className: x.wrapper },
4783
+ En.createElement(
4784
+ "div",
4785
+ { className: x.heightAutoObserverWrapperEl },
4786
+ En.createElement("div", { className: x.heightAutoObserverEl })
4787
+ ),
4788
+ En.createElement(
4789
+ "div",
4790
+ { className: x.mask },
4791
+ En.createElement("div", { className: x.offset }, typeof n == "function" ? n({
4792
+ scrollableNodeRef: g,
4793
+ scrollableNodeProps: Uo(Uo({}, A), { ref: g }),
4794
+ contentNodeRef: p,
4795
+ contentNodeProps: {
4796
+ className: x.contentEl,
4797
+ ref: p
4798
+ }
4799
+ }) : En.createElement(
4800
+ "div",
4801
+ Uo({}, A),
4802
+ En.createElement("div", { className: x.contentEl }, n)
4803
+ ))
4804
+ ),
4805
+ En.createElement("div", { className: x.placeholder })
4806
+ ),
4807
+ En.createElement(
4808
+ "div",
4809
+ { className: "".concat(x.track, " simplebar-horizontal") },
4810
+ En.createElement("div", { className: x.scrollbar })
4811
+ ),
4812
+ En.createElement(
4813
+ "div",
4814
+ { className: "".concat(x.track, " simplebar-vertical") },
4815
+ En.createElement("div", { className: x.scrollbar })
4816
+ )
4817
+ );
4818
+ });
4819
+ Db.displayName = "SimpleBar";
4820
+ const C_ = `[data-simplebar]{position:relative;flex-direction:column;flex-wrap:wrap;justify-content:flex-start;align-content:flex-start;align-items:flex-start}.simplebar-wrapper{overflow:hidden;width:inherit;height:inherit;max-width:inherit;max-height:inherit}.simplebar-mask{direction:inherit;position:absolute;overflow:hidden;padding:0;margin:0;left:0;top:0;bottom:0;right:0;width:auto!important;height:auto!important;z-index:0}.simplebar-offset{direction:inherit!important;box-sizing:inherit!important;resize:none!important;position:absolute;top:0;left:0;bottom:0;right:0;padding:0;margin:0;-webkit-overflow-scrolling:touch}.simplebar-content-wrapper{direction:inherit;box-sizing:border-box!important;position:relative;display:block;height:100%;width:auto;max-width:100%;max-height:100%;overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.simplebar-content-wrapper::-webkit-scrollbar,.simplebar-hide-scrollbar::-webkit-scrollbar{display:none;width:0;height:0}.simplebar-content:after,.simplebar-content:before{content:" ";display:table}.simplebar-placeholder{max-height:100%;max-width:100%;width:100%;pointer-events:none}.simplebar-height-auto-observer-wrapper{box-sizing:inherit!important;height:100%;width:100%;max-width:1px;position:relative;float:left;max-height:1px;overflow:hidden;z-index:-1;padding:0;margin:0;pointer-events:none;flex-grow:inherit;flex-shrink:0;flex-basis:0}.simplebar-height-auto-observer{box-sizing:inherit;display:block;opacity:0;position:absolute;top:0;left:0;height:1000%;width:1000%;min-height:1px;min-width:1px;overflow:hidden;pointer-events:none;z-index:-1}.simplebar-track{z-index:1;position:absolute;right:0;bottom:0;pointer-events:none;overflow:hidden}[data-simplebar].simplebar-dragging,[data-simplebar].simplebar-dragging .simplebar-content{pointer-events:none;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}[data-simplebar].simplebar-dragging .simplebar-track{pointer-events:all}.simplebar-scrollbar{position:absolute;left:0;right:0;min-height:10px}.simplebar-scrollbar:before{position:absolute;content:"";background:#000;border-radius:7px;left:2px;right:2px;opacity:0;transition:opacity .2s .5s linear}.simplebar-scrollbar.simplebar-visible:before{opacity:.5;transition-delay:0s;transition-duration:0s}.simplebar-track.simplebar-vertical{top:0;width:11px}.simplebar-scrollbar:before{top:2px;bottom:2px;left:2px;right:2px}.simplebar-track.simplebar-horizontal{left:0;height:11px}.simplebar-track.simplebar-horizontal .simplebar-scrollbar{right:auto;left:0;top:0;bottom:0;min-height:0;min-width:10px;width:auto}[data-simplebar-direction=rtl] .simplebar-track.simplebar-vertical{right:auto;left:0}.simplebar-dummy-scrollbar-size{direction:rtl;position:fixed;opacity:0;visibility:hidden;height:500px;width:500px;overflow-y:hidden;overflow-x:scroll;-ms-overflow-style:scrollbar!important}.simplebar-dummy-scrollbar-size>div{width:200%;height:200%;margin:10px 0}.simplebar-hide-scrollbar{position:fixed;left:0;visibility:hidden;overflow-y:scroll;scrollbar-width:none;-ms-overflow-style:none}
4821
+ `;
4822
+ function Ib(t) {
4823
+ var e, n, r = "";
4824
+ if (typeof t == "string" || typeof t == "number")
4825
+ r += t;
4826
+ else if (typeof t == "object")
4827
+ if (Array.isArray(t)) {
4828
+ var i = t.length;
4829
+ for (e = 0; e < i; e++)
4830
+ t[e] && (n = Ib(t[e])) && (r && (r += " "), r += n);
4831
+ } else
4832
+ for (n in t)
4833
+ t[n] && (r && (r += " "), r += n);
4834
+ return r;
4835
+ }
4836
+ function Ul() {
4837
+ for (var t, e, n = 0, r = "", i = arguments.length; n < i; n++)
4838
+ (t = arguments[n]) && (e = Ib(t)) && (r && (r += " "), r += e);
4839
+ return r;
4840
+ }
4841
+ const uf = (t) => typeof t == "number" && !isNaN(t), Uu = (t) => typeof t == "string", Vo = (t) => typeof t == "function", Jf = (t) => Uu(t) || Vo(t) ? t : null, ep = (t) => Rc(t) || Uu(t) || Vo(t) || uf(t);
4842
+ function T_(t, e, n) {
4843
+ n === void 0 && (n = 300);
4844
+ const { scrollHeight: r, style: i } = t;
4845
+ requestAnimationFrame(() => {
4846
+ i.minHeight = "initial", i.height = r + "px", i.transition = `all ${n}ms`, requestAnimationFrame(() => {
4847
+ i.height = "0", i.padding = "0", i.margin = "0", setTimeout(e, n);
4848
+ });
4849
+ });
4850
+ }
4851
+ function Cd(t) {
4852
+ let { enter: e, exit: n, appendPosition: r = !1, collapse: i = !0, collapseDuration: s = 300 } = t;
4853
+ return function(u) {
4854
+ let { children: g, position: p, preventExitTransition: y, done: T, nodeRef: x, isIn: A, playToast: B } = u;
4855
+ const Y = r ? `${e}--${p}` : e, z = r ? `${n}--${p}` : n, $ = vi(0);
4856
+ return Mc(() => {
4857
+ const L = x.current, ne = Y.split(" "), te = (he) => {
4858
+ he.target === x.current && (B(), L.removeEventListener("animationend", te), L.removeEventListener("animationcancel", te), $.current === 0 && he.type !== "animationcancel" && L.classList.remove(...ne));
4859
+ };
4860
+ L.classList.add(...ne), L.addEventListener("animationend", te), L.addEventListener("animationcancel", te);
4861
+ }, []), wo(() => {
4862
+ const L = x.current, ne = () => {
4863
+ L.removeEventListener("animationend", ne), i ? T_(L, T, s) : T();
4864
+ };
4865
+ A || (y ? ne() : ($.current = 1, L.className += ` ${z}`, L.addEventListener("animationend", ne)));
4866
+ }, [A]), Ut.createElement(Ut.Fragment, null, g);
4867
+ };
4868
+ }
4869
+ function Qm(t, e) {
4870
+ return t != null ? { content: t.content, containerId: t.props.containerId, id: t.props.toastId, theme: t.props.theme, type: t.props.type, data: t.props.data || {}, isLoading: t.props.isLoading, icon: t.props.icon, status: e } : {};
4871
+ }
4872
+ const Qi = /* @__PURE__ */ new Map();
4873
+ let cf = [];
4874
+ const tp = /* @__PURE__ */ new Set(), k_ = (t) => tp.forEach((e) => e(t)), Mb = () => Qi.size > 0;
4875
+ function Lb(t, e) {
4876
+ var n;
4877
+ if (e)
4878
+ return !((n = Qi.get(e)) == null || !n.isToastActive(t));
4879
+ let r = !1;
4880
+ return Qi.forEach((i) => {
4881
+ i.isToastActive(t) && (r = !0);
4882
+ }), r;
4883
+ }
4884
+ function Fb(t, e) {
4885
+ ep(t) && (Mb() || cf.push({ content: t, options: e }), Qi.forEach((n) => {
4886
+ n.buildToast(t, e);
4887
+ }));
4888
+ }
4889
+ function ev(t, e) {
4890
+ Qi.forEach((n) => {
4891
+ e != null && e != null && e.containerId ? (e == null ? void 0 : e.containerId) === n.id && n.toggle(t, e == null ? void 0 : e.id) : n.toggle(t, e == null ? void 0 : e.id);
4892
+ });
4893
+ }
4894
+ function E_(t) {
4895
+ const { subscribe: e, getSnapshot: n, setProps: r } = vi(function(s) {
4896
+ const u = s.containerId || 1;
4897
+ return { subscribe(g) {
4898
+ const p = function(T, x, A) {
4899
+ let B = 1, Y = 0, z = [], $ = [], L = [], ne = x;
4900
+ const te = /* @__PURE__ */ new Map(), he = /* @__PURE__ */ new Set(), ie = () => {
4901
+ L = Array.from(te.values()), he.forEach((Ee) => Ee());
4902
+ }, xe = (Ee) => {
4903
+ $ = Ee == null ? [] : $.filter((me) => me !== Ee), ie();
4904
+ }, b = (Ee) => {
4905
+ const { toastId: me, onOpen: Ze, updateId: bt, children: et } = Ee.props, tt = bt == null;
4906
+ Ee.staleId && te.delete(Ee.staleId), te.set(me, Ee), $ = [...$, Ee.props.toastId].filter((ut) => ut !== Ee.staleId), ie(), A(Qm(Ee, tt ? "added" : "updated")), tt && Vo(Ze) && Ze(Rc(et) && et.props);
4907
+ };
4908
+ return { id: T, props: ne, observe: (Ee) => (he.add(Ee), () => he.delete(Ee)), toggle: (Ee, me) => {
4909
+ te.forEach((Ze) => {
4910
+ me != null && me !== Ze.props.toastId || Vo(Ze.toggle) && Ze.toggle(Ee);
4911
+ });
4912
+ }, removeToast: xe, toasts: te, clearQueue: () => {
4913
+ Y -= z.length, z = [];
4914
+ }, buildToast: (Ee, me) => {
4915
+ if (((Ye) => {
4916
+ let { containerId: Ke, toastId: Qe, updateId: Je } = Ye;
4917
+ const Xe = Ke ? Ke !== T : T !== 1, ft = te.has(Qe) && Je == null;
4918
+ return Xe || ft;
4919
+ })(me))
4920
+ return;
4921
+ const { toastId: Ze, updateId: bt, data: et, staleId: tt, delay: ut } = me, ve = () => {
4922
+ xe(Ze);
4923
+ }, Ie = bt == null;
4924
+ Ie && Y++;
4925
+ const Ue = { ...ne, style: ne.toastStyle, key: B++, ...Object.fromEntries(Object.entries(me).filter((Ye) => {
4926
+ let [Ke, Qe] = Ye;
4927
+ return Qe != null;
4928
+ })), toastId: Ze, updateId: bt, data: et, closeToast: ve, isIn: !1, className: Jf(me.className || ne.toastClassName), bodyClassName: Jf(me.bodyClassName || ne.bodyClassName), progressClassName: Jf(me.progressClassName || ne.progressClassName), autoClose: !me.isLoading && ($e = me.autoClose, nt = ne.autoClose, $e === !1 || uf($e) && $e > 0 ? $e : nt), deleteToast() {
4929
+ const Ye = te.get(Ze), { onClose: Ke, children: Qe } = Ye.props;
4930
+ Vo(Ke) && Ke(Rc(Qe) && Qe.props), A(Qm(Ye, "removed")), te.delete(Ze), Y--, Y < 0 && (Y = 0), z.length > 0 ? b(z.shift()) : ie();
4931
+ } };
4932
+ var $e, nt;
4933
+ Ue.closeButton = ne.closeButton, me.closeButton === !1 || ep(me.closeButton) ? Ue.closeButton = me.closeButton : me.closeButton === !0 && (Ue.closeButton = !ep(ne.closeButton) || ne.closeButton);
4934
+ let _e = Ee;
4935
+ Rc(Ee) && !Uu(Ee.type) ? _e = Gh(Ee, { closeToast: ve, toastProps: Ue, data: et }) : Vo(Ee) && (_e = Ee({ closeToast: ve, toastProps: Ue, data: et }));
4936
+ const Re = { content: _e, props: Ue, staleId: tt };
4937
+ ne.limit && ne.limit > 0 && Y > ne.limit && Ie ? z.push(Re) : uf(ut) ? setTimeout(() => {
4938
+ b(Re);
4939
+ }, ut) : b(Re);
4940
+ }, setProps(Ee) {
4941
+ ne = Ee;
4942
+ }, setToggle: (Ee, me) => {
4943
+ te.get(Ee).toggle = me;
4944
+ }, isToastActive: (Ee) => $.some((me) => me === Ee), getSnapshot: () => ne.newestOnTop ? L.reverse() : L };
4945
+ }(u, s, k_);
4946
+ Qi.set(u, p);
4947
+ const y = p.observe(g);
4948
+ return cf.forEach((T) => Fb(T.content, T.options)), cf = [], () => {
4949
+ y(), Qi.delete(u);
4950
+ };
4951
+ }, setProps(g) {
4952
+ var p;
4953
+ (p = Qi.get(u)) == null || p.setProps(g);
4954
+ }, getSnapshot() {
4955
+ var g;
4956
+ return (g = Qi.get(u)) == null ? void 0 : g.getSnapshot();
4957
+ } };
4958
+ }(t)).current;
4959
+ r(t);
4960
+ const i = PT(e, n, n);
4961
+ return { getToastToRender: function(s) {
4962
+ if (!i)
4963
+ return [];
4964
+ const u = /* @__PURE__ */ new Map();
4965
+ return i.forEach((g) => {
4966
+ const { position: p } = g.props;
4967
+ u.has(p) || u.set(p, []), u.get(p).push(g);
4968
+ }), Array.from(u, (g) => s(g[0], g[1]));
4969
+ }, isToastActive: Lb, count: i == null ? void 0 : i.length };
4970
+ }
4971
+ function __(t) {
4972
+ const [e, n] = Wr(!1), [r, i] = Wr(!1), s = vi(null), u = vi({ start: 0, delta: 0, removalDistance: 0, canCloseOnClick: !0, canDrag: !1, didMove: !1 }).current, { autoClose: g, pauseOnHover: p, closeToast: y, onClick: T, closeOnClick: x } = t;
4973
+ var A, B;
4974
+ function Y() {
4975
+ n(!0);
4976
+ }
4977
+ function z() {
4978
+ n(!1);
4979
+ }
4980
+ function $(te) {
4981
+ const he = s.current;
4982
+ u.canDrag && he && (u.didMove = !0, e && z(), u.delta = t.draggableDirection === "x" ? te.clientX - u.start : te.clientY - u.start, u.start !== te.clientX && (u.canCloseOnClick = !1), he.style.transform = `translate3d(${t.draggableDirection === "x" ? `${u.delta}px, var(--y)` : `0, calc(${u.delta}px + var(--y))`},0)`, he.style.opacity = "" + (1 - Math.abs(u.delta / u.removalDistance)));
4983
+ }
4984
+ function L() {
4985
+ document.removeEventListener("pointermove", $), document.removeEventListener("pointerup", L);
4986
+ const te = s.current;
4987
+ if (u.canDrag && u.didMove && te) {
4988
+ if (u.canDrag = !1, Math.abs(u.delta) > u.removalDistance)
4989
+ return i(!0), t.closeToast(), void t.collapseAll();
4990
+ te.style.transition = "transform 0.2s, opacity 0.2s", te.style.removeProperty("transform"), te.style.removeProperty("opacity");
4991
+ }
4992
+ }
4993
+ (B = Qi.get((A = { id: t.toastId, containerId: t.containerId, fn: n }).containerId || 1)) == null || B.setToggle(A.id, A.fn), wo(() => {
4994
+ if (t.pauseOnFocusLoss)
4995
+ return document.hasFocus() || z(), window.addEventListener("focus", Y), window.addEventListener("blur", z), () => {
4996
+ window.removeEventListener("focus", Y), window.removeEventListener("blur", z);
4997
+ };
4998
+ }, [t.pauseOnFocusLoss]);
4999
+ const ne = { onPointerDown: function(te) {
5000
+ if (t.draggable === !0 || t.draggable === te.pointerType) {
5001
+ u.didMove = !1, document.addEventListener("pointermove", $), document.addEventListener("pointerup", L);
5002
+ const he = s.current;
5003
+ u.canCloseOnClick = !0, u.canDrag = !0, he.style.transition = "none", t.draggableDirection === "x" ? (u.start = te.clientX, u.removalDistance = he.offsetWidth * (t.draggablePercent / 100)) : (u.start = te.clientY, u.removalDistance = he.offsetHeight * (t.draggablePercent === 80 ? 1.5 * t.draggablePercent : t.draggablePercent) / 100);
5004
+ }
5005
+ }, onPointerUp: function(te) {
5006
+ const { top: he, bottom: ie, left: xe, right: b } = s.current.getBoundingClientRect();
5007
+ te.nativeEvent.type !== "touchend" && t.pauseOnHover && te.clientX >= xe && te.clientX <= b && te.clientY >= he && te.clientY <= ie ? z() : Y();
5008
+ } };
5009
+ return g && p && (ne.onMouseEnter = z, t.stacked || (ne.onMouseLeave = Y)), x && (ne.onClick = (te) => {
5010
+ T && T(te), u.canCloseOnClick && y();
5011
+ }), { playToast: Y, pauseToast: z, isRunning: e, preventExitTransition: r, toastRef: s, eventHandlers: ne };
5012
+ }
5013
+ function P_(t) {
5014
+ let { delay: e, isRunning: n, closeToast: r, type: i = "default", hide: s, className: u, style: g, controlledProgress: p, progress: y, rtl: T, isIn: x, theme: A } = t;
5015
+ const B = s || p && y === 0, Y = { ...g, animationDuration: `${e}ms`, animationPlayState: n ? "running" : "paused" };
5016
+ p && (Y.transform = `scaleX(${y})`);
5017
+ const z = Ul("Toastify__progress-bar", p ? "Toastify__progress-bar--controlled" : "Toastify__progress-bar--animated", `Toastify__progress-bar-theme--${A}`, `Toastify__progress-bar--${i}`, { "Toastify__progress-bar--rtl": T }), $ = Vo(u) ? u({ rtl: T, type: i, defaultClassName: z }) : Ul(z, u), L = { [p && y >= 1 ? "onTransitionEnd" : "onAnimationEnd"]: p && y < 1 ? null : () => {
5018
+ x && r();
5019
+ } };
5020
+ return Ut.createElement("div", { className: "Toastify__progress-bar--wrp", "data-hidden": B }, Ut.createElement("div", { className: `Toastify__progress-bar--bg Toastify__progress-bar-theme--${A} Toastify__progress-bar--${i}` }), Ut.createElement("div", { role: "progressbar", "aria-hidden": B ? "true" : "false", "aria-label": "notification timer", className: $, style: Y, ...L }));
5021
+ }
5022
+ let R_ = 1;
5023
+ const Bb = () => "" + R_++;
5024
+ function A_(t) {
5025
+ return t && (Uu(t.toastId) || uf(t.toastId)) ? t.toastId : Bb();
5026
+ }
5027
+ function tf(t, e) {
5028
+ return Fb(t, e), e.toastId;
5029
+ }
5030
+ function ud(t, e) {
5031
+ return { ...e, type: e && e.type || t, toastId: A_(e) };
5032
+ }
5033
+ function jf(t) {
5034
+ return (e, n) => tf(e, ud(t, n));
5035
+ }
5036
+ function wn(t, e) {
5037
+ return tf(t, ud("default", e));
5038
+ }
5039
+ wn.loading = (t, e) => tf(t, ud("default", { isLoading: !0, autoClose: !1, closeOnClick: !1, closeButton: !1, draggable: !1, ...e })), wn.promise = function(t, e, n) {
5040
+ let r, { pending: i, error: s, success: u } = e;
5041
+ i && (r = Uu(i) ? wn.loading(i, n) : wn.loading(i.render, { ...n, ...i }));
5042
+ const g = { isLoading: null, autoClose: null, closeOnClick: null, closeButton: null, draggable: null }, p = (T, x, A) => {
5043
+ if (x == null)
5044
+ return void wn.dismiss(r);
5045
+ const B = { type: T, ...g, ...n, data: A }, Y = Uu(x) ? { render: x } : x;
5046
+ return r ? wn.update(r, { ...B, ...Y }) : wn(Y.render, { ...B, ...Y }), A;
5047
+ }, y = Vo(t) ? t() : t;
5048
+ return y.then((T) => p("success", u, T)).catch((T) => p("error", s, T)), y;
5049
+ }, wn.success = jf("success"), wn.info = jf("info"), wn.error = jf("error"), wn.warning = jf("warning"), wn.warn = wn.warning, wn.dark = (t, e) => tf(t, ud("default", { theme: "dark", ...e })), wn.dismiss = function(t) {
5050
+ (function(e) {
5051
+ var n;
5052
+ if (Mb()) {
5053
+ if (e == null || Uu(n = e) || uf(n))
5054
+ Qi.forEach((i) => {
5055
+ i.removeToast(e);
5056
+ });
5057
+ else if (e && ("containerId" in e || "id" in e)) {
5058
+ var r;
5059
+ (r = Qi.get(e.containerId)) != null && r.removeToast(e.id) || Qi.forEach((i) => {
5060
+ i.removeToast(e.id);
5061
+ });
5062
+ }
5063
+ } else
5064
+ cf = cf.filter((i) => e != null && i.options.toastId !== e);
5065
+ })(t);
5066
+ }, wn.clearWaitingQueue = function(t) {
5067
+ t === void 0 && (t = {}), Qi.forEach((e) => {
5068
+ !e.props.limit || t.containerId && e.id !== t.containerId || e.clearQueue();
5069
+ });
5070
+ }, wn.isActive = Lb, wn.update = function(t, e) {
5071
+ e === void 0 && (e = {});
5072
+ const n = ((r, i) => {
5073
+ var s;
5074
+ let { containerId: u } = i;
5075
+ return (s = Qi.get(u || 1)) == null ? void 0 : s.toasts.get(r);
5076
+ })(t, e);
5077
+ if (n) {
5078
+ const { props: r, content: i } = n, s = { delay: 100, ...r, ...e, toastId: e.toastId || t, updateId: Bb() };
5079
+ s.toastId !== t && (s.staleId = t);
5080
+ const u = s.render || i;
5081
+ delete s.render, tf(u, s);
5082
+ }
5083
+ }, wn.done = (t) => {
5084
+ wn.update(t, { progress: 1 });
5085
+ }, wn.onChange = function(t) {
5086
+ return tp.add(t), () => {
5087
+ tp.delete(t);
5088
+ };
5089
+ }, wn.play = (t) => ev(!0, t), wn.pause = (t) => ev(!1, t);
5090
+ const O_ = typeof window < "u" ? Mc : wo, Hf = (t) => {
5091
+ let { theme: e, type: n, isLoading: r, ...i } = t;
5092
+ return Ut.createElement("svg", { viewBox: "0 0 24 24", width: "100%", height: "100%", fill: e === "colored" ? "currentColor" : `var(--toastify-icon-color-${n})`, ...i });
5093
+ }, ph = { info: function(t) {
5094
+ return Ut.createElement(Hf, { ...t }, Ut.createElement("path", { d: "M12 0a12 12 0 1012 12A12.013 12.013 0 0012 0zm.25 5a1.5 1.5 0 11-1.5 1.5 1.5 1.5 0 011.5-1.5zm2.25 13.5h-4a1 1 0 010-2h.75a.25.25 0 00.25-.25v-4.5a.25.25 0 00-.25-.25h-.75a1 1 0 010-2h1a2 2 0 012 2v4.75a.25.25 0 00.25.25h.75a1 1 0 110 2z" }));
5095
+ }, warning: function(t) {
5096
+ return Ut.createElement(Hf, { ...t }, Ut.createElement("path", { d: "M23.32 17.191L15.438 2.184C14.728.833 13.416 0 11.996 0c-1.42 0-2.733.833-3.443 2.184L.533 17.448a4.744 4.744 0 000 4.368C1.243 23.167 2.555 24 3.975 24h16.05C22.22 24 24 22.044 24 19.632c0-.904-.251-1.746-.68-2.44zm-9.622 1.46c0 1.033-.724 1.823-1.698 1.823s-1.698-.79-1.698-1.822v-.043c0-1.028.724-1.822 1.698-1.822s1.698.79 1.698 1.822v.043zm.039-12.285l-.84 8.06c-.057.581-.408.943-.897.943-.49 0-.84-.367-.896-.942l-.84-8.065c-.057-.624.25-1.095.779-1.095h1.91c.528.005.84.476.784 1.1z" }));
5097
+ }, success: function(t) {
5098
+ return Ut.createElement(Hf, { ...t }, Ut.createElement("path", { d: "M12 0a12 12 0 1012 12A12.014 12.014 0 0012 0zm6.927 8.2l-6.845 9.289a1.011 1.011 0 01-1.43.188l-4.888-3.908a1 1 0 111.25-1.562l4.076 3.261 6.227-8.451a1 1 0 111.61 1.183z" }));
5099
+ }, error: function(t) {
5100
+ return Ut.createElement(Hf, { ...t }, Ut.createElement("path", { d: "M11.983 0a12.206 12.206 0 00-8.51 3.653A11.8 11.8 0 000 12.207 11.779 11.779 0 0011.8 24h.214A12.111 12.111 0 0024 11.791 11.766 11.766 0 0011.983 0zM10.5 16.542a1.476 1.476 0 011.449-1.53h.027a1.527 1.527 0 011.523 1.47 1.475 1.475 0 01-1.449 1.53h-.027a1.529 1.529 0 01-1.523-1.47zM11 12.5v-6a1 1 0 012 0v6a1 1 0 11-2 0z" }));
5101
+ }, spinner: function() {
5102
+ return Ut.createElement("div", { className: "Toastify__spinner" });
5103
+ } }, D_ = (t) => {
5104
+ const { isRunning: e, preventExitTransition: n, toastRef: r, eventHandlers: i, playToast: s } = __(t), { closeButton: u, children: g, autoClose: p, onClick: y, type: T, hideProgressBar: x, closeToast: A, transition: B, position: Y, className: z, style: $, bodyClassName: L, bodyStyle: ne, progressClassName: te, progressStyle: he, updateId: ie, role: xe, progress: b, rtl: Ee, toastId: me, deleteToast: Ze, isIn: bt, isLoading: et, closeOnClick: tt, theme: ut } = t, ve = Ul("Toastify__toast", `Toastify__toast-theme--${ut}`, `Toastify__toast--${T}`, { "Toastify__toast--rtl": Ee }, { "Toastify__toast--close-on-click": tt }), Ie = Vo(z) ? z({ rtl: Ee, position: Y, type: T, defaultClassName: ve }) : Ul(ve, z), Ue = function(Re) {
5105
+ let { theme: Ye, type: Ke, isLoading: Qe, icon: Je } = Re, Xe = null;
5106
+ const ft = { theme: Ye, type: Ke };
5107
+ return Je === !1 || (Vo(Je) ? Xe = Je({ ...ft, isLoading: Qe }) : Rc(Je) ? Xe = Gh(Je, ft) : Qe ? Xe = ph.spinner() : ((vt) => vt in ph)(Ke) && (Xe = ph[Ke](ft))), Xe;
5108
+ }(t), $e = !!b || !p, nt = { closeToast: A, type: T, theme: ut };
5109
+ let _e = null;
5110
+ return u === !1 || (_e = Vo(u) ? u(nt) : Rc(u) ? Gh(u, nt) : function(Re) {
5111
+ let { closeToast: Ye, theme: Ke, ariaLabel: Qe = "close" } = Re;
5112
+ return Ut.createElement("button", { className: `Toastify__close-button Toastify__close-button--${Ke}`, type: "button", onClick: (Je) => {
5113
+ Je.stopPropagation(), Ye(Je);
5114
+ }, "aria-label": Qe }, Ut.createElement("svg", { "aria-hidden": "true", viewBox: "0 0 14 16" }, Ut.createElement("path", { fillRule: "evenodd", d: "M7.71 8.23l3.75 3.75-1.48 1.48-3.75-3.75-3.75 3.75L1 11.98l3.75-3.75L1 4.48 2.48 3l3.75 3.75L9.98 3l1.48 1.48-3.75 3.75z" })));
5115
+ }(nt)), Ut.createElement(B, { isIn: bt, done: Ze, position: Y, preventExitTransition: n, nodeRef: r, playToast: s }, Ut.createElement("div", { id: me, onClick: y, "data-in": bt, className: Ie, ...i, style: $, ref: r }, Ut.createElement("div", { ...bt && { role: xe }, className: Vo(L) ? L({ type: T }) : Ul("Toastify__toast-body", L), style: ne }, Ue != null && Ut.createElement("div", { className: Ul("Toastify__toast-icon", { "Toastify--animate-icon Toastify__zoom-enter": !et }) }, Ue), Ut.createElement("div", null, g)), _e, Ut.createElement(P_, { ...ie && !$e ? { key: `pb-${ie}` } : {}, rtl: Ee, theme: ut, delay: p, isRunning: e, isIn: bt, closeToast: A, hide: x, type: T, style: he, className: te, controlledProgress: $e, progress: b || 0 })));
5116
+ }, Td = function(t, e) {
5117
+ return e === void 0 && (e = !1), { enter: `Toastify--animate Toastify__${t}-enter`, exit: `Toastify--animate Toastify__${t}-exit`, appendPosition: e };
5118
+ }, I_ = Cd(Td("bounce", !0));
5119
+ Cd(Td("slide", !0));
5120
+ Cd(Td("zoom"));
5121
+ Cd(Td("flip"));
5122
+ const M_ = { position: "top-right", transition: I_, autoClose: 5e3, closeButton: !0, pauseOnHover: !0, pauseOnFocusLoss: !0, draggable: "touch", draggablePercent: 80, draggableDirection: "x", role: "alert", theme: "light" };
5123
+ function x2(t) {
5124
+ let e = { ...M_, ...t };
5125
+ const n = t.stacked, [r, i] = Wr(!0), s = vi(null), { getToastToRender: u, isToastActive: g, count: p } = E_(e), { className: y, style: T, rtl: x, containerId: A } = e;
5126
+ function B(z) {
5127
+ const $ = Ul("Toastify__toast-container", `Toastify__toast-container--${z}`, { "Toastify__toast-container--rtl": x });
5128
+ return Vo(y) ? y({ position: z, rtl: x, defaultClassName: $ }) : Ul($, Jf(y));
5129
+ }
5130
+ function Y() {
5131
+ n && (i(!0), wn.play());
5132
+ }
5133
+ return O_(() => {
5134
+ if (n) {
5135
+ var z;
5136
+ const $ = s.current.querySelectorAll('[data-in="true"]'), L = 12, ne = (z = e.position) == null ? void 0 : z.includes("top");
5137
+ let te = 0, he = 0;
5138
+ Array.from($).reverse().forEach((ie, xe) => {
5139
+ const b = ie;
5140
+ b.classList.add("Toastify__toast--stacked"), xe > 0 && (b.dataset.collapsed = `${r}`), b.dataset.pos || (b.dataset.pos = ne ? "top" : "bot");
5141
+ const Ee = te * (r ? 0.2 : 1) + (r ? 0 : L * xe);
5142
+ b.style.setProperty("--y", `${ne ? Ee : -1 * Ee}px`), b.style.setProperty("--g", `${L}`), b.style.setProperty("--s", "" + (1 - (r ? he : 0))), te += b.offsetHeight, he += 0.025;
5143
+ });
5144
+ }
5145
+ }, [r, p, n]), Ut.createElement("div", { ref: s, className: "Toastify", id: A, onMouseEnter: () => {
5146
+ n && (i(!1), wn.pause());
5147
+ }, onMouseLeave: Y }, u((z, $) => {
5148
+ const L = $.length ? { ...T } : { ...T, pointerEvents: "none" };
5149
+ return Ut.createElement("div", { className: B(z), style: L, key: `container-${z}` }, $.map((ne) => {
5150
+ let { content: te, props: he } = ne;
5151
+ return Ut.createElement(D_, { ...he, stacked: n, collapseAll: Y, isIn: g(he.toastId, he.containerId), style: he.style, key: `toast-${he.key}` }, te);
5152
+ }));
5153
+ }));
5274
5154
  }
5275
- var Nb = En.forwardRef(function(t, e) {
5276
- var n = t.children, r = t.scrollableNodeProps, i = r === void 0 ? {} : r, s = B_(t, ["children", "scrollableNodeProps"]), u = En.useRef(), g = En.useRef(), p = En.useRef(), y = {}, T = {};
5277
- Object.keys(s).forEach(function(B) {
5278
- Object.prototype.hasOwnProperty.call(Hf.defaultOptions, B) ? y[B] = s[B] : T[B] = s[B];
5279
- });
5280
- var x = Uo(Uo({}, Hf.defaultOptions.classNames), y.classNames), A = Uo(Uo({}, i), { className: "".concat(x.contentWrapper).concat(i.className ? " ".concat(i.className) : ""), tabIndex: 0, role: "region", "aria-label": y.ariaLabel || Hf.defaultOptions.ariaLabel });
5281
- return En.useEffect(function() {
5282
- var B;
5283
- return g.current = A.ref ? A.ref.current : g.current, u.current && (B = new Hf(u.current, Uo(Uo(Uo({}, y), g.current && {
5284
- scrollableNode: g.current
5285
- }), p.current && {
5286
- contentNode: p.current
5287
- })), typeof e == "function" ? e(B) : e && (e.current = B)), function() {
5288
- B == null || B.unMount(), B = null, typeof e == "function" && e(null);
5289
- };
5290
- }, []), En.createElement(
5291
- "div",
5292
- Uo({ "data-simplebar": "init", ref: u }, T),
5293
- En.createElement(
5294
- "div",
5295
- { className: x.wrapper },
5296
- En.createElement(
5297
- "div",
5298
- { className: x.heightAutoObserverWrapperEl },
5299
- En.createElement("div", { className: x.heightAutoObserverEl })
5300
- ),
5301
- En.createElement(
5302
- "div",
5303
- { className: x.mask },
5304
- En.createElement("div", { className: x.offset }, typeof n == "function" ? n({
5305
- scrollableNodeRef: g,
5306
- scrollableNodeProps: Uo(Uo({}, A), { ref: g }),
5307
- contentNodeRef: p,
5308
- contentNodeProps: {
5309
- className: x.contentEl,
5310
- ref: p
5155
+ function L_() {
5156
+ return /* @__PURE__ */ zo(
5157
+ "svg",
5158
+ {
5159
+ width: "22",
5160
+ height: "22",
5161
+ viewBox: "0 0 22 22",
5162
+ fill: "none",
5163
+ xmlns: "http://www.w3.org/2000/svg",
5164
+ children: [
5165
+ /* @__PURE__ */ St(
5166
+ "path",
5167
+ {
5168
+ fillRule: "evenodd",
5169
+ clipRule: "evenodd",
5170
+ d: "M11 1C16.5222 1 21 5.47676 21 11C21 16.5222 16.5222 21 11 21C5.47676 21 1 16.5222 1 11C1 5.47676 5.47676 1 11 1Z",
5171
+ stroke: "#E01B00",
5172
+ strokeWidth: "1.5",
5173
+ strokeLinecap: "round",
5174
+ strokeLinejoin: "round"
5311
5175
  }
5312
- }) : En.createElement(
5313
- "div",
5314
- Uo({}, A),
5315
- En.createElement("div", { className: x.contentEl }, n)
5316
- ))
5317
- ),
5318
- En.createElement("div", { className: x.placeholder })
5319
- ),
5320
- En.createElement(
5321
- "div",
5322
- { className: "".concat(x.track, " simplebar-horizontal") },
5323
- En.createElement("div", { className: x.scrollbar })
5324
- ),
5325
- En.createElement(
5326
- "div",
5327
- { className: "".concat(x.track, " simplebar-vertical") },
5328
- En.createElement("div", { className: x.scrollbar })
5329
- )
5176
+ ),
5177
+ /* @__PURE__ */ St(
5178
+ "path",
5179
+ {
5180
+ d: "M10.9942 6.89636V11.6737",
5181
+ stroke: "#E01B00",
5182
+ strokeWidth: "1.5",
5183
+ strokeLinecap: "round",
5184
+ strokeLinejoin: "round"
5185
+ }
5186
+ ),
5187
+ /* @__PURE__ */ St(
5188
+ "path",
5189
+ {
5190
+ d: "M10.9941 15.1038H11.0049",
5191
+ stroke: "#E01B00",
5192
+ strokeWidth: "2",
5193
+ strokeLinecap: "round",
5194
+ strokeLinejoin: "round"
5195
+ }
5196
+ )
5197
+ ]
5198
+ }
5330
5199
  );
5331
- });
5332
- Nb.displayName = "SimpleBar";
5333
- const N_ = `[data-simplebar]{position:relative;flex-direction:column;flex-wrap:wrap;justify-content:flex-start;align-content:flex-start;align-items:flex-start}.simplebar-wrapper{overflow:hidden;width:inherit;height:inherit;max-width:inherit;max-height:inherit}.simplebar-mask{direction:inherit;position:absolute;overflow:hidden;padding:0;margin:0;left:0;top:0;bottom:0;right:0;width:auto!important;height:auto!important;z-index:0}.simplebar-offset{direction:inherit!important;box-sizing:inherit!important;resize:none!important;position:absolute;top:0;left:0;bottom:0;right:0;padding:0;margin:0;-webkit-overflow-scrolling:touch}.simplebar-content-wrapper{direction:inherit;box-sizing:border-box!important;position:relative;display:block;height:100%;width:auto;max-width:100%;max-height:100%;overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.simplebar-content-wrapper::-webkit-scrollbar,.simplebar-hide-scrollbar::-webkit-scrollbar{display:none;width:0;height:0}.simplebar-content:after,.simplebar-content:before{content:" ";display:table}.simplebar-placeholder{max-height:100%;max-width:100%;width:100%;pointer-events:none}.simplebar-height-auto-observer-wrapper{box-sizing:inherit!important;height:100%;width:100%;max-width:1px;position:relative;float:left;max-height:1px;overflow:hidden;z-index:-1;padding:0;margin:0;pointer-events:none;flex-grow:inherit;flex-shrink:0;flex-basis:0}.simplebar-height-auto-observer{box-sizing:inherit;display:block;opacity:0;position:absolute;top:0;left:0;height:1000%;width:1000%;min-height:1px;min-width:1px;overflow:hidden;pointer-events:none;z-index:-1}.simplebar-track{z-index:1;position:absolute;right:0;bottom:0;pointer-events:none;overflow:hidden}[data-simplebar].simplebar-dragging,[data-simplebar].simplebar-dragging .simplebar-content{pointer-events:none;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}[data-simplebar].simplebar-dragging .simplebar-track{pointer-events:all}.simplebar-scrollbar{position:absolute;left:0;right:0;min-height:10px}.simplebar-scrollbar:before{position:absolute;content:"";background:#000;border-radius:7px;left:2px;right:2px;opacity:0;transition:opacity .2s .5s linear}.simplebar-scrollbar.simplebar-visible:before{opacity:.5;transition-delay:0s;transition-duration:0s}.simplebar-track.simplebar-vertical{top:0;width:11px}.simplebar-scrollbar:before{top:2px;bottom:2px;left:2px;right:2px}.simplebar-track.simplebar-horizontal{left:0;height:11px}.simplebar-track.simplebar-horizontal .simplebar-scrollbar{right:auto;left:0;top:0;bottom:0;min-height:0;min-width:10px;width:auto}[data-simplebar-direction=rtl] .simplebar-track.simplebar-vertical{right:auto;left:0}.simplebar-dummy-scrollbar-size{direction:rtl;position:fixed;opacity:0;visibility:hidden;height:500px;width:500px;overflow-y:hidden;overflow-x:scroll;-ms-overflow-style:scrollbar!important}.simplebar-dummy-scrollbar-size>div{width:200%;height:200%;margin:10px 0}.simplebar-hide-scrollbar{position:fixed;left:0;visibility:hidden;overflow-y:scroll;scrollbar-width:none;-ms-overflow-style:none}
5334
- `, jb = va({
5200
+ }
5201
+ function F_() {
5202
+ return /* @__PURE__ */ zo(
5203
+ "svg",
5204
+ {
5205
+ width: "24",
5206
+ height: "24",
5207
+ viewBox: "0 0 24 24",
5208
+ fill: "none",
5209
+ xmlns: "http://www.w3.org/2000/svg",
5210
+ children: [
5211
+ /* @__PURE__ */ St("rect", { width: "24", height: "24", rx: "12", fill: "#009D4F" }),
5212
+ /* @__PURE__ */ St(
5213
+ "path",
5214
+ {
5215
+ d: "M7.25244 12L10.4174 15.165L16.7474 8.83496",
5216
+ stroke: "white",
5217
+ strokeWidth: "2",
5218
+ strokeLinecap: "round",
5219
+ strokeLinejoin: "round"
5220
+ }
5221
+ )
5222
+ ]
5223
+ }
5224
+ );
5225
+ }
5226
+ function B_() {
5227
+ return /* @__PURE__ */ zo(
5228
+ "svg",
5229
+ {
5230
+ width: "24",
5231
+ height: "24",
5232
+ viewBox: "0 0 24 24",
5233
+ fill: "none",
5234
+ xmlns: "http://www.w3.org/2000/svg",
5235
+ children: [
5236
+ /* @__PURE__ */ St(
5237
+ "path",
5238
+ {
5239
+ d: "M12 7.73684V13.4211M12 21C7.69215 21 5.53823 21 4.29308 20.0953C3.20701 19.3063 2.50676 18.0934 2.36643 16.7583C2.20555 15.2276 3.28252 13.3623 5.43644 9.63158C7.59036 5.90088 8.66732 4.03553 10.0734 3.40952C11.2998 2.86349 12.7002 2.86349 13.9266 3.40952C15.3327 4.03553 16.4096 5.90088 18.5636 9.63158C20.7175 13.3623 21.7944 15.2276 21.6336 16.7583C21.4932 18.0934 20.793 19.3063 19.7069 20.0953C18.4618 21 16.3078 21 12 21Z",
5240
+ stroke: "#FFB600",
5241
+ "stroke-width": "1.5",
5242
+ "stroke-linecap": "round"
5243
+ }
5244
+ ),
5245
+ /* @__PURE__ */ St(
5246
+ "path",
5247
+ {
5248
+ d: "M12.9473 16.263C12.9473 16.7863 12.5232 17.2104 12 17.2104C11.4768 17.2104 11.0526 16.7863 11.0526 16.263C11.0526 15.7398 11.4768 15.3157 12 15.3157C12.5232 15.3157 12.9473 15.7398 12.9473 16.263Z",
5249
+ fill: "#FFB600"
5250
+ }
5251
+ )
5252
+ ]
5253
+ }
5254
+ );
5255
+ }
5256
+ const Ap = {
5257
+ paddingLeft: "16px",
5258
+ borderLeft: "2px solid",
5259
+ boxShadow: "none",
5260
+ fontFamily: "inherit"
5261
+ }, N_ = ({ closeToast: t }) => /* @__PURE__ */ St(
5262
+ "i",
5263
+ {
5264
+ className: "material-icons",
5265
+ onClick: t,
5266
+ style: { cursor: "pointer" },
5267
+ children: /* @__PURE__ */ St(
5268
+ "svg",
5269
+ {
5270
+ width: "24",
5271
+ height: "25",
5272
+ viewBox: "0 0 24 25",
5273
+ fill: "none",
5274
+ xmlns: "http://www.w3.org/2000/svg",
5275
+ children: /* @__PURE__ */ St(
5276
+ "path",
5277
+ {
5278
+ d: "M7.05086 6.13616C6.66033 5.74563 6.02717 5.74563 5.63664 6.13616C5.24612 6.52668 5.24612 7.15984 5.63664 7.55037L10.5864 12.5001L5.63664 17.4499C5.24612 17.8404 5.24612 18.4736 5.63664 18.8641C6.02717 19.2546 6.66033 19.2546 7.05086 18.8641L12.0006 13.9143L16.9504 18.8641C17.3409 19.2546 17.974 19.2546 18.3646 18.8641C18.7551 18.4736 18.7551 17.8404 18.3646 17.4499L13.4148 12.5001L18.3646 7.55037C18.7551 7.15984 18.7551 6.52668 18.3646 6.13616C17.974 5.74563 17.3409 5.74563 16.9504 6.13616L12.0006 11.0859L7.05086 6.13616Z",
5279
+ fill: "#85858A"
5280
+ }
5281
+ )
5282
+ }
5283
+ )
5284
+ }
5285
+ ), S2 = (t) => {
5286
+ wn.success(t, {
5287
+ icon: /* @__PURE__ */ St(F_, {}),
5288
+ bodyStyle: {},
5289
+ position: "bottom-right",
5290
+ style: {
5291
+ ...Ap,
5292
+ background: $o.successLight,
5293
+ borderColor: $o.success,
5294
+ color: $o.success
5295
+ }
5296
+ });
5297
+ }, Nb = (t) => {
5298
+ wn.error(t, {
5299
+ icon: /* @__PURE__ */ St(L_, {}),
5300
+ position: "bottom-right",
5301
+ style: {
5302
+ ...Ap,
5303
+ background: $o.dangerLight,
5304
+ borderColor: $o.danger,
5305
+ color: $o.danger
5306
+ }
5307
+ });
5308
+ }, C2 = (t) => {
5309
+ wn.error(t, {
5310
+ icon: /* @__PURE__ */ St(B_, {}),
5311
+ position: "bottom-right",
5312
+ style: {
5313
+ ...Ap,
5314
+ background: $o.warningLight,
5315
+ borderColor: $o.warning,
5316
+ color: $o.warning
5317
+ }
5318
+ });
5319
+ }, T2 = (t) => {
5320
+ wn(t, {
5321
+ closeButton: N_,
5322
+ toastId: "notify",
5323
+ position: "top-right",
5324
+ closeOnClick: !1,
5325
+ hideProgressBar: !0,
5326
+ containerId: "toastifyNotification",
5327
+ style: {
5328
+ width: "610px",
5329
+ minHeight: "72px",
5330
+ padding: "12px 24px 12px 0",
5331
+ color: $o.textPrimary
5332
+ }
5333
+ });
5334
+ }, jb = va({
5335
5335
  transformPagePoint: (t) => t,
5336
5336
  isStatic: !1,
5337
5337
  reducedMotion: "never"
5338
- }), kd = va({}), Op = va(null), Ed = typeof document < "u", j_ = Ed ? Ic : wo, Hb = va({ strict: !1 }), Dp = (t) => t.replace(/([a-z])([A-Z])/g, "$1-$2").toLowerCase(), H_ = "framerAppearId", Wb = "data-" + Dp(H_);
5338
+ }), kd = va({}), Op = va(null), Ed = typeof document < "u", j_ = Ed ? Mc : wo, Hb = va({ strict: !1 }), Dp = (t) => t.replace(/([a-z])([A-Z])/g, "$1-$2").toLowerCase(), H_ = "framerAppearId", Wb = "data-" + Dp(H_);
5339
5339
  function W_(t, e, n, r) {
5340
5340
  const { visualElement: i } = ri(kd), s = ri(Hb), u = ri(Op), g = ri(jb).reducedMotion, p = vi();
5341
5341
  r = r || s.renderer, !p.current && r && (p.current = r(t, {
@@ -5406,7 +5406,7 @@ function V_(t, e) {
5406
5406
  }
5407
5407
  function z_(t) {
5408
5408
  const { initial: e, animate: n } = V_(t, ri(kd));
5409
- return Mc(() => ({ initial: e, animate: n }), [tv(e), tv(n)]);
5409
+ return Ic(() => ({ initial: e, animate: n }), [tv(e), tv(n)]);
5410
5410
  }
5411
5411
  function tv(t) {
5412
5412
  return Array.isArray(t) ? t.join(" ") : t;
@@ -5707,7 +5707,7 @@ function Kb(t, e, n) {
5707
5707
  !xo(e[r]) && !$b(r, n) && (t[r] = e[r]);
5708
5708
  }
5709
5709
  function aP({ transformTemplate: t }, e, n) {
5710
- return Mc(() => {
5710
+ return Ic(() => {
5711
5711
  const r = Bp();
5712
5712
  return Fp(r, e, { enableHardwareAcceleration: !n }, t), Object.assign({}, r.vars, r.style);
5713
5713
  }, [e]);
@@ -5817,7 +5817,7 @@ const Zb = () => ({
5817
5817
  attrs: {}
5818
5818
  }), jp = (t) => typeof t == "string" && t.toLowerCase() === "svg";
5819
5819
  function mP(t, e, n, r) {
5820
- const i = Mc(() => {
5820
+ const i = Ic(() => {
5821
5821
  const s = Zb();
5822
5822
  return Np(s, e, { enableHardwareAcceleration: !1 }, jp(r), t.transformTemplate), {
5823
5823
  ...s.attrs,
@@ -5836,7 +5836,7 @@ function vP(t = !1) {
5836
5836
  ...fP(r, typeof n == "string", t),
5837
5837
  ...p,
5838
5838
  ref: i
5839
- }, { children: x } = r, A = Mc(() => xo(x) ? x.get() : x, [x]);
5839
+ }, { children: x } = r, A = Ic(() => xo(x) ? x.get() : x, [x]);
5840
5840
  return Pp(n, {
5841
5841
  ...T,
5842
5842
  children: A
@@ -9543,7 +9543,7 @@ const E2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
9543
9543
  default: pf
9544
9544
  }, Symbol.toStringTag, { value: "Module" }));
9545
9545
  function KO(t, e) {
9546
- t.prototype = Object.create(e.prototype), t.prototype.constructor = t, td(t, e);
9546
+ t.prototype = Object.create(e.prototype), t.prototype.constructor = t, ed(t, e);
9547
9547
  }
9548
9548
  function _h(t, e, n) {
9549
9549
  if (n || arguments.length === 2)
@@ -10526,7 +10526,7 @@ var yD = function(e) {
10526
10526
  i.httpRequestWithCredentials;
10527
10527
  var u = i.loading;
10528
10528
  i.renumerateIRIElements, i.src, i.title, i.useRequestCache;
10529
- var g = i.wrapper, p = pb(i, wD), y = g;
10529
+ var g = i.wrapper, p = lb(i, wD), y = g;
10530
10530
  return /* @__PURE__ */ En.createElement(y, pf({}, p, {
10531
10531
  ref: this.refCallback
10532
10532
  }, g === "svg" ? {
@@ -10589,7 +10589,7 @@ function xD(t) {
10589
10589
  }
10590
10590
  function SD(t) {
10591
10591
  const { renderChildren: e, parentRef: n, onlyChild: r } = t, [i, s] = Wr({ top: 0, left: 0 }), u = vi(null), [g, p] = Wr("auto");
10592
- return Ic(() => {
10592
+ return Mc(() => {
10593
10593
  if (n.current && u.current) {
10594
10594
  const y = n.current.getBoundingClientRect(), T = u.current.getBoundingClientRect();
10595
10595
  let x = y.top;
@@ -20828,7 +20828,7 @@ function zD(t) {
20828
20828
  var i, s, u = n.mode, g = n.delegatesFocus, p = n.styleSheets, y = n.ssr, T = n.children, x = hw(n, ["mode", "delegatesFocus", "styleSheets", "ssr", "children"]), A = (s = vi((i = r) && i.current), wo(function() {
20829
20829
  i && (i.current = s.current);
20830
20830
  }, [i]), s), B = Wr(null), Y = WD(B, 2), z = Y[0], $ = Y[1], L = "node_".concat(u).concat(g);
20831
- return Ic(function() {
20831
+ return Mc(function() {
20832
20832
  if (A.current)
20833
20833
  try {
20834
20834
  if (typeof r == "function" && r(A.current), y) {
@@ -20885,7 +20885,7 @@ function GD(t) {
20885
20885
  }, B = () => {
20886
20886
  s(!i), localStorage.setItem("isCollapsed", JSON.stringify(!i));
20887
20887
  };
20888
- Ic(() => {
20888
+ Mc(() => {
20889
20889
  (async () => {
20890
20890
  var he, ie, xe;
20891
20891
  try {
@@ -20898,7 +20898,7 @@ function GD(t) {
20898
20898
  const bt = XD(Ze);
20899
20899
  g(bt), r(Ze);
20900
20900
  } catch (b) {
20901
- console.error(b), eb(
20901
+ console.error(b), Nb(
20902
20902
  ((xe = (ie = b.response) == null ? void 0 : ie.data) == null ? void 0 : xe.errorMessage) || "Have error when get menu items"
20903
20903
  );
20904
20904
  }
@@ -20920,7 +20920,7 @@ function GD(t) {
20920
20920
  }
20921
20921
  ) }),
20922
20922
  /* @__PURE__ */ St(
20923
- Nb,
20923
+ Db,
20924
20924
  {
20925
20925
  ref: ne,
20926
20926
  className: L("wrap-section side-bar__menu"),
@@ -20964,7 +20964,7 @@ function GD(t) {
20964
20964
  {
20965
20965
  isOpen: Y,
20966
20966
  onClose: () => z(!1),
20967
- onConfirm: () => t.logout ? t.logout() : Hk(t.baseUrl)
20967
+ onConfirm: () => t.logout ? t.logout() : kk(t.baseUrl)
20968
20968
  }
20969
20969
  )
20970
20970
  ] })
@@ -21031,9 +21031,9 @@ function bp(t, e) {
21031
21031
  }
21032
21032
  function _2(t) {
21033
21033
  return /* @__PURE__ */ St(YD.div, { children: /* @__PURE__ */ St(
21034
- nE,
21034
+ Wk,
21035
21035
  {
21036
- styles: [N_, RD],
21036
+ styles: [C_, RD],
21037
21037
  style: { position: "sticky", zIndex: 20 },
21038
21038
  children: /* @__PURE__ */ St(GD, { ...t })
21039
21039
  }
@@ -32041,52 +32041,52 @@ const L2 = {
32041
32041
  };
32042
32042
  export {
32043
32043
  L2 as A,
32044
- f2 as B,
32045
- Uk as C,
32044
+ T2 as B,
32045
+ _k as C,
32046
32046
  O2 as D,
32047
32047
  F2 as E,
32048
- u2 as F,
32048
+ S2 as F,
32049
32049
  _2 as G,
32050
- c2 as H,
32050
+ C2 as H,
32051
32051
  A2 as I,
32052
- _b as J,
32053
- v2 as K,
32052
+ xb as J,
32053
+ h2 as K,
32054
32054
  zT as L,
32055
- Nk as M,
32056
- jk as N,
32057
- Hk as O,
32055
+ Ck as M,
32056
+ Tk as N,
32057
+ kk as O,
32058
32058
  Ua as P,
32059
- l2 as Q,
32060
- Wk as R,
32061
- nE as S,
32062
- x2 as T,
32063
- S2 as U,
32064
- C2 as V,
32065
- T2 as W,
32066
- Zk as X,
32067
- p2 as Y,
32059
+ x2 as Q,
32060
+ Ek as R,
32061
+ Wk as S,
32062
+ v2 as T,
32063
+ y2 as U,
32064
+ b2 as V,
32065
+ w2 as W,
32066
+ Bk as X,
32067
+ c2 as Y,
32068
32068
  pf as _,
32069
32069
  Ac as a,
32070
- d2 as b,
32070
+ l2 as b,
32071
32071
  $o as c,
32072
- Eb as d,
32073
- w2 as e,
32072
+ wb as d,
32073
+ m2 as e,
32074
32074
  ma as f,
32075
- DE as g,
32076
- pb as h,
32077
- m2 as i,
32075
+ vE as g,
32076
+ lb as h,
32077
+ d2 as i,
32078
32078
  E2 as j,
32079
32079
  Ul as k,
32080
32080
  KO as l,
32081
32081
  Vl as m,
32082
- h2 as n,
32083
- g2 as o,
32084
- eb as p,
32082
+ u2 as n,
32083
+ f2 as o,
32084
+ Nb as p,
32085
32085
  TD as q,
32086
32086
  R2 as r,
32087
32087
  P2 as s,
32088
- b2 as t,
32089
- y2 as u,
32088
+ g2 as t,
32089
+ p2 as u,
32090
32090
  KD as v,
32091
32091
  D2 as w,
32092
32092
  gM as x,