react-luminus-components 2.1.6 → 2.1.7

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,16 +1,16 @@
1
- import { t as re, bZ as Ne, c as N, b_ as Oe, R as ae, bJ as He, b$ as Ae, a1 as H, bn as Ue, S as ie, c0 as We, aZ as je, aA as Be, au as pe, bp as De, ax as J, aw as Fe, c1 as ze, aQ as we, aB as Ge, c2 as Ve, c3 as Xe, c4 as L, c5 as Ke, c6 as U, c7 as l, c8 as _e, c9 as Ie, ca as V, cb as E, cc as q, cd as ce, ce as Le, cf as Je, cg as Se, ch as Qe, ci as Ye, cj as qe, ck as Ze, cl as be, cm as G, cn as Re, co as Ce, cp as et, cq as fe, cr as Me, aS as tt, al as nt, a3 as ot } from "./ShortcutLinksContext-CEBc4LjO.js";
2
- import { cs as pn, bg as _n } from "./ShortcutLinksContext-CEBc4LjO.js";
3
- import { jsxs as R, jsx as y } from "react/jsx-runtime";
4
- import { useState as I, useContext as z, useEffect as F, useRef as Q, useMemo as B, useCallback as Y, useSyncExternalStore as st } from "react";
1
+ import { t as re, bZ as Oe, c as H, b_ as He, W as ae, ag as Ue, b$ as Le, X as W, ad as We, Z as Ae, an as ie, c0 as je, ak as Fe, ai as Be, bi as pe, bD as De, bk as Q, aj as ze, c1 as Ge, aA as we, ap as Xe, c2 as Ve, c3 as Ke, c4 as R, c5 as Je, c6 as j, c7 as l, c8 as _e, c9 as Ie, ca as V, cb as E, cc as Z, cd as ce, ce as Re, cf as Qe, cg as Se, ch as Ye, ci as qe, cj as Ze, ck as et, cl as be, cm as X, cn as Me, co as Ce, cp as tt, cq as fe, cr as $e, ah as nt, bd as ot } from "./nivo-bar-D6NJLYWS.js";
2
+ import { cs as pn, a6 as _n } from "./nivo-bar-D6NJLYWS.js";
3
+ import { jsxs as A, jsx as y } from "react/jsx-runtime";
4
+ import { useState as D, useContext as G, useEffect as z, useRef as Y, useMemo as B, useCallback as q, useSyncExternalStore as st } from "react";
5
+ import "react-router";
5
6
  import { EventType as ge, InteractionStatus as rt, InteractionRequiredAuthError as it } from "@azure/msal-browser";
6
7
  import { MsalProvider as ct, useMsal as at } from "@azure/msal-react";
7
- import "react-router";
8
8
  import "react-dom";
9
9
  import "react-hook-form";
10
10
  import "react-flexmonster";
11
- import { L as lt, b as ht } from "./FormDisabledProvider-DP_B8gpS.js";
12
- import { F as wn } from "./FormDisabledProvider-DP_B8gpS.js";
13
- import { u as ut } from "./useLocalStorageState-BewPraGs.js";
11
+ import { L as lt, b as ht } from "./FormDisabledProvider-D-DRODSt.js";
12
+ import { F as wn } from "./FormDisabledProvider-D-DRODSt.js";
13
+ import { u as ut } from "./useLocalStorageState-DtBc-C2W.js";
14
14
  import { u as dt } from "./useIsBrowserOnline-RAirIO4c.js";
15
15
  function ft(t) {
16
16
  const e = re(t);
@@ -27,12 +27,12 @@ function pt(t, e) {
27
27
  return n >= s && n <= o;
28
28
  }
29
29
  function _t() {
30
- return Ne(Date.now());
30
+ return Oe(Date.now());
31
31
  }
32
32
  const mt = (t) => {
33
- const e = N.c(10), {
33
+ const e = H.c(10), {
34
34
  children: n
35
- } = t, [s, o] = I(!1), [i, r] = I(""), [c, a] = I(void 0);
35
+ } = t, [s, o] = D(!1), [i, r] = D(""), [c, a] = D(void 0);
36
36
  let h;
37
37
  e[0] === Symbol.for("react.memo_cache_sentinel") ? (h = (S, p) => {
38
38
  o(!0), r(S), a(p);
@@ -55,34 +55,34 @@ const mt = (t) => {
55
55
  let b;
56
56
  e[6] === Symbol.for("react.memo_cache_sentinel") ? (b = /* @__PURE__ */ y(zt, {}), e[6] = b) : b = e[6];
57
57
  let d;
58
- return e[7] !== n || e[8] !== w ? (d = /* @__PURE__ */ R(Oe.Provider, { value: w, children: [
58
+ return e[7] !== n || e[8] !== w ? (d = /* @__PURE__ */ A(He.Provider, { value: w, children: [
59
59
  b,
60
60
  n
61
61
  ] }), e[7] = n, e[8] = w, e[9] = d) : d = e[9], d;
62
62
  }, wt = () => {
63
- const t = N.c(43), {
63
+ const t = H.c(49), {
64
64
  texts: e
65
- } = z(ae), {
65
+ } = G(ae), {
66
66
  confirm: n
67
67
  } = e, {
68
68
  isShown: s,
69
69
  text: o,
70
70
  onFinish: i
71
- } = He(), {
71
+ } = Ue(), {
72
72
  options: r
73
- } = z(Ae), [c, a] = I(r.defaultValue ?? "");
73
+ } = G(Le), [c, a] = D(r.defaultValue ?? "");
74
74
  let h;
75
75
  t[0] !== i ? (h = () => {
76
76
  i(null);
77
77
  }, t[0] = i, t[1] = h) : h = t[1];
78
78
  const u = h;
79
79
  let m;
80
- t[2] !== i || t[3] !== r.required || t[4] !== c ? (m = (j) => {
81
- j.preventDefault(), !(r.required && !c) && (i(c), a(""));
80
+ t[2] !== i || t[3] !== r.required || t[4] !== c ? (m = (F) => {
81
+ F.preventDefault(), !(r.required && !c) && (i(c), a(""));
82
82
  }, t[2] = i, t[3] = r.required, t[4] = c, t[5] = m) : m = t[5];
83
83
  const f = m;
84
84
  let g;
85
- t[6] === Symbol.for("react.memo_cache_sentinel") ? (g = (j) => a(j.currentTarget.value), t[6] = g) : g = t[6];
85
+ t[6] === Symbol.for("react.memo_cache_sentinel") ? (g = (F) => a(F.currentTarget.value), t[6] = g) : g = t[6];
86
86
  let w;
87
87
  t[7] !== c ? (w = {
88
88
  value: c,
@@ -95,52 +95,59 @@ const mt = (t) => {
95
95
  let d, S;
96
96
  t[9] !== s || t[10] !== r.defaultValue ? (d = () => {
97
97
  s === !0 && a(r.defaultValue ?? "");
98
- }, S = [s, r.defaultValue], t[9] = s, t[10] = r.defaultValue, t[11] = d, t[12] = S) : (d = t[11], S = t[12]), F(d, S);
98
+ }, S = [s, r.defaultValue], t[9] = s, t[10] = r.defaultValue, t[11] = d, t[12] = S) : (d = t[11], S = t[12]), z(d, S);
99
99
  let p;
100
- t[13] !== o ? (p = /* @__PURE__ */ y(H.Header, { className: "justify-content-center", children: /* @__PURE__ */ y(H.Title, { children: o }) }), t[13] = o, t[14] = p) : p = t[14];
100
+ t[13] !== o ? (p = /* @__PURE__ */ y(W.Header, { className: "justify-content-center", children: /* @__PURE__ */ y(W.Title, { children: o }) }), t[13] = o, t[14] = p) : p = t[14];
101
101
  let C;
102
- t[15] !== b || t[16] !== r.input ? (C = r.input === "textarea" ? /* @__PURE__ */ y("textarea", { ...b, rows: 5 }) : void 0, t[15] = b, t[16] = r.input, t[17] = C) : C = t[17];
102
+ t[15] !== b || t[16] !== r.input || t[17] !== r.maxLength ? (C = r.input === "textarea" ? /* @__PURE__ */ y("textarea", { ...b, rows: 5, maxLength: r.maxLength }) : void 0, t[15] = b, t[16] = r.input, t[17] = r.maxLength, t[18] = C) : C = t[18];
103
103
  let _;
104
- t[18] !== b || t[19] !== r.input || t[20] !== r.type ? (_ = r.input === "input" ? /* @__PURE__ */ y(Ue, { ...b, type: r.type }) : void 0, t[18] = b, t[19] = r.input, t[20] = r.type, t[21] = _) : _ = t[21];
104
+ t[19] !== b || t[20] !== r.input || t[21] !== r.maxLength || t[22] !== r.type ? (_ = r.input === "input" ? /* @__PURE__ */ y(We, { ...b, type: r.type, maxLength: r.maxLength }) : void 0, t[19] = b, t[20] = r.input, t[21] = r.maxLength, t[22] = r.type, t[23] = _) : _ = t[23];
105
105
  let v;
106
- t[22] !== C || t[23] !== _ ? (v = /* @__PURE__ */ R(H.Body, { children: [
106
+ t[24] !== r.maxLength || t[25] !== c ? (v = r.maxLength != null && /* @__PURE__ */ y("div", { className: "d-flex justify-content-end", children: /* @__PURE__ */ A(Ae, { variant: "caption", children: [
107
+ c.length,
108
+ "/",
109
+ r.maxLength
110
+ ] }) }), t[24] = r.maxLength, t[25] = c, t[26] = v) : v = t[26];
111
+ let k;
112
+ t[27] !== v || t[28] !== C || t[29] !== _ ? (k = /* @__PURE__ */ A(W.Body, { children: [
107
113
  C,
108
- _
109
- ] }), t[22] = C, t[23] = _, t[24] = v) : v = t[24];
110
- let T;
111
- t[25] !== n.cancel || t[26] !== u ? (T = /* @__PURE__ */ y(ie, { variant: "outlined", color: "secondary", onClick: u, className: "flex-grow-1", children: n.cancel }), t[25] = n.cancel, t[26] = u, t[27] = T) : T = t[27];
112
- const W = r.required && !c;
113
- let P;
114
- t[28] !== n.confirm || t[29] !== W ? (P = /* @__PURE__ */ y(ie, { color: "primary", disabled: W, type: "submit", className: "flex-grow-1", children: n.confirm }), t[28] = n.confirm, t[29] = W, t[30] = P) : P = t[30];
114
+ _,
115
+ v
116
+ ] }), t[27] = v, t[28] = C, t[29] = _, t[30] = k) : k = t[30];
115
117
  let M;
116
- t[31] !== T || t[32] !== P ? (M = /* @__PURE__ */ R(H.Footer, { className: "w-100 d-flex gap-5", children: [
117
- T,
118
+ t[31] !== n.cancel || t[32] !== u ? (M = /* @__PURE__ */ y(ie, { variant: "outlined", color: "secondary", onClick: u, className: "flex-grow-1", children: n.cancel }), t[31] = n.cancel, t[32] = u, t[33] = M) : M = t[33];
119
+ const I = r.required && !c;
120
+ let $;
121
+ t[34] !== n.confirm || t[35] !== I ? ($ = /* @__PURE__ */ y(ie, { color: "primary", disabled: I, type: "submit", className: "flex-grow-1", children: n.confirm }), t[34] = n.confirm, t[35] = I, t[36] = $) : $ = t[36];
122
+ let P;
123
+ t[37] !== M || t[38] !== $ ? (P = /* @__PURE__ */ A(W.Footer, { className: "w-100 d-flex gap-5", children: [
124
+ M,
125
+ $
126
+ ] }), t[37] = M, t[38] = $, t[39] = P) : P = t[39];
127
+ let N;
128
+ t[40] !== f || t[41] !== k || t[42] !== P ? (N = /* @__PURE__ */ A("form", { onSubmit: f, onKeyDown: St, children: [
129
+ k,
118
130
  P
119
- ] }), t[31] = T, t[32] = P, t[33] = M) : M = t[33];
120
- let x;
121
- t[34] !== f || t[35] !== v || t[36] !== M ? (x = /* @__PURE__ */ R("form", { onSubmit: f, onKeyDown: St, children: [
122
- v,
123
- M
124
- ] }), t[34] = f, t[35] = v, t[36] = M, t[37] = x) : x = t[37];
125
- let O;
126
- return t[38] !== s || t[39] !== u || t[40] !== x || t[41] !== p ? (O = /* @__PURE__ */ R(H, { show: s, size: "sm", centered: !0, onHide: u, children: [
131
+ ] }), t[40] = f, t[41] = k, t[42] = P, t[43] = N) : N = t[43];
132
+ let U;
133
+ return t[44] !== s || t[45] !== u || t[46] !== N || t[47] !== p ? (U = /* @__PURE__ */ A(W, { show: s, size: "sm", centered: !0, onHide: u, children: [
127
134
  p,
128
- x
129
- ] }), t[38] = s, t[39] = u, t[40] = x, t[41] = p, t[42] = O) : O = t[42], O;
135
+ N
136
+ ] }), t[44] = s, t[45] = u, t[46] = N, t[47] = p, t[48] = U) : U = t[48], U;
130
137
  };
131
138
  function St(t) {
132
139
  return t.stopPropagation();
133
140
  }
134
141
  const bt = (t) => {
135
- const e = N.c(11), {
142
+ const e = H.c(11), {
136
143
  children: n
137
- } = t, [s, o] = I(!1), [i, r] = I("");
144
+ } = t, [s, o] = D(!1), [i, r] = D("");
138
145
  let c;
139
146
  e[0] === Symbol.for("react.memo_cache_sentinel") ? (c = {
140
147
  input: "textarea",
141
148
  type: "text"
142
149
  }, e[0] = c) : c = e[0];
143
- const [a, h] = I(c), u = Q(Ct);
150
+ const [a, h] = D(c), u = Y(Ct);
144
151
  let m;
145
152
  e[1] === Symbol.for("react.memo_cache_sentinel") ? (m = (C) => {
146
153
  r(C), o(!0);
@@ -165,7 +172,7 @@ const bt = (t) => {
165
172
  let S;
166
173
  e[7] === Symbol.for("react.memo_cache_sentinel") ? (S = /* @__PURE__ */ y(wt, {}), e[7] = S) : S = e[7];
167
174
  let p;
168
- return e[8] !== n || e[9] !== d ? (p = /* @__PURE__ */ R(Ae.Provider, { value: d, children: [
175
+ return e[8] !== n || e[9] !== d ? (p = /* @__PURE__ */ A(Le.Provider, { value: d, children: [
169
176
  n,
170
177
  S
171
178
  ] }), e[8] = n, e[9] = d, e[10] = p) : p = e[10], p;
@@ -173,7 +180,7 @@ const bt = (t) => {
173
180
  function Ct() {
174
181
  }
175
182
  const on = (t) => {
176
- const e = N.c(14), {
183
+ const e = H.c(14), {
177
184
  cookieDomain: n,
178
185
  axiosOptions: s,
179
186
  language: o,
@@ -195,21 +202,21 @@ const on = (t) => {
195
202
  }, e[0] = r, e[1] = s, e[2] = a, e[3] = n, e[4] = o, e[5] = c, e[6] = i, e[7] = u) : u = e[7];
196
203
  const m = u;
197
204
  let f;
198
- e[8] === Symbol.for("react.memo_cache_sentinel") ? (f = /* @__PURE__ */ y(We, {}), e[8] = f) : f = e[8];
205
+ e[8] === Symbol.for("react.memo_cache_sentinel") ? (f = /* @__PURE__ */ y(je, {}), e[8] = f) : f = e[8];
199
206
  let g;
200
- e[9] !== h ? (g = /* @__PURE__ */ y(mt, { children: /* @__PURE__ */ R(bt, { children: [
207
+ e[9] !== h ? (g = /* @__PURE__ */ y(mt, { children: /* @__PURE__ */ A(bt, { children: [
201
208
  f,
202
209
  h
203
210
  ] }) }), e[9] = h, e[10] = g) : g = e[10];
204
211
  let w;
205
212
  return e[11] !== m || e[12] !== g ? (w = /* @__PURE__ */ y(ae.Provider, { value: m, children: g }), e[11] = m, e[12] = g, e[13] = w) : w = e[13], w;
206
213
  }, sn = (t) => {
207
- const e = N.c(15), {
214
+ const e = H.c(15), {
208
215
  children: n
209
- } = t, [s, o] = I(!1);
216
+ } = t, [s, o] = D(!1);
210
217
  let i;
211
218
  e[0] === Symbol.for("react.memo_cache_sentinel") ? (i = /* @__PURE__ */ new Set(), e[0] = i) : i = e[0];
212
- const [r] = I(i);
219
+ const [r] = D(i);
213
220
  let c;
214
221
  e[1] !== r ? (c = (b) => {
215
222
  r.add(b), o(!0);
@@ -230,41 +237,41 @@ const on = (t) => {
230
237
  let g;
231
238
  e[9] !== s ? (g = s && /* @__PURE__ */ y(lt, {}), e[9] = s, e[10] = g) : g = e[10];
232
239
  let w;
233
- return e[11] !== n || e[12] !== f || e[13] !== g ? (w = /* @__PURE__ */ R(je.Provider, { value: f, children: [
240
+ return e[11] !== n || e[12] !== f || e[13] !== g ? (w = /* @__PURE__ */ A(Fe.Provider, { value: f, children: [
234
241
  g,
235
242
  n
236
243
  ] }), e[11] = n, e[12] = f, e[13] = g, e[14] = w) : w = e[14], w;
237
244
  }, rn = (t) => {
238
- const e = N.c(39), {
245
+ const e = H.c(39), {
239
246
  children: n
240
247
  } = t, s = Be(), {
241
248
  msalInstance: o,
242
249
  getToken: i
243
- } = z(pe), {
250
+ } = G(pe), {
244
251
  delegation: r,
245
252
  setDelegation: c,
246
253
  setAvailableDelegations: a,
247
254
  refreshAvailableDelegations: h
248
- } = z(De), [u, m] = I(null);
255
+ } = G(De), [u, m] = D(null);
249
256
  let f;
250
257
  e[0] !== i ? (f = async () => {
251
- const A = await i();
252
- A && m(A.token);
258
+ const x = await i();
259
+ x && m(x.token);
253
260
  }, e[0] = i, e[1] = f) : f = e[1];
254
261
  const g = f;
255
262
  let w, b;
256
263
  e[2] !== g ? (w = () => {
257
264
  g();
258
- }, b = [g], e[2] = g, e[3] = w, e[4] = b) : (w = e[3], b = e[4]), F(w, b);
265
+ }, b = [g], e[2] = g, e[3] = w, e[4] = b) : (w = e[3], b = e[4]), z(w, b);
259
266
  let d;
260
267
  if (e[5] === Symbol.for("react.memo_cache_sentinel")) {
261
268
  e: {
262
- const A = localStorage.getItem("user") ?? null;
263
- if (!A) {
269
+ const x = localStorage.getItem("user") ?? null;
270
+ if (!x) {
264
271
  d = null;
265
272
  break e;
266
273
  }
267
- d = JSON.parse(A ?? "");
274
+ d = JSON.parse(x ?? "");
268
275
  }
269
276
  e[5] = d;
270
277
  } else
@@ -272,106 +279,106 @@ const on = (t) => {
272
279
  const S = d;
273
280
  let p;
274
281
  e[6] === Symbol.for("react.memo_cache_sentinel") ? (p = {
275
- state: S ? J.LOGGED_IN : J.LOGGED_OUT,
282
+ state: S ? Q.LOGGED_IN : Q.LOGGED_OUT,
276
283
  user: S
277
284
  }, e[6] = p) : p = e[6];
278
- const [C, _] = I(p);
285
+ const [C, _] = D(p);
279
286
  let v;
280
- e[7] !== s ? (v = async (A) => {
281
- let $ = null;
282
- return await s.get("/user/detail", A ? {
287
+ e[7] !== s ? (v = async (x) => {
288
+ let O = null;
289
+ return await s.get("/user/detail", x ? {
283
290
  headers: {
284
- Authorization: `Bearer ${A}`
291
+ Authorization: `Bearer ${x}`
285
292
  }
286
293
  } : void 0).then((de) => {
287
- $ = de.data;
294
+ O = de.data;
288
295
  }).catch(() => {
289
- $ = null;
290
- }), $;
296
+ O = null;
297
+ }), O;
291
298
  }, e[7] = s, e[8] = v) : v = e[8];
292
- const T = v;
293
- let W;
294
- e[9] !== a || e[10] !== c ? (W = () => {
299
+ const k = v;
300
+ let M;
301
+ e[9] !== a || e[10] !== c ? (M = () => {
295
302
  localStorage.removeItem("user"), _({
296
- state: J.LOGGED_OUT,
303
+ state: Q.LOGGED_OUT,
297
304
  user: null
298
305
  }), c(null), a(null);
299
- }, e[9] = a, e[10] = c, e[11] = W) : W = e[11];
300
- const P = W;
301
- let M;
302
- e[12] !== T || e[13] !== h ? (M = async (A) => {
306
+ }, e[9] = a, e[10] = c, e[11] = M) : M = e[11];
307
+ const I = M;
308
+ let $;
309
+ e[12] !== k || e[13] !== h ? ($ = async (x) => {
303
310
  _({
304
- state: J.LOGGING_IN,
311
+ state: Q.LOGGING_IN,
305
312
  user: null
306
313
  });
307
- const $ = await T(A);
308
- return $ ? (_({
309
- state: J.LOGGED_IN,
310
- user: $
311
- }), localStorage.setItem("user", JSON.stringify($)), await h(), !0) : (_({
312
- state: J.LOGIN_FAILED,
314
+ const O = await k(x);
315
+ return O ? (_({
316
+ state: Q.LOGGED_IN,
317
+ user: O
318
+ }), localStorage.setItem("user", JSON.stringify(O)), await h(), !0) : (_({
319
+ state: Q.LOGIN_FAILED,
313
320
  user: null
314
321
  }), !1);
315
- }, e[12] = T, e[13] = h, e[14] = M) : M = e[14];
316
- const x = M;
317
- let O;
318
- e[15] !== o ? (O = () => {
322
+ }, e[12] = k, e[13] = h, e[14] = $) : $ = e[14];
323
+ const P = $;
324
+ let N;
325
+ e[15] !== o ? (N = () => {
319
326
  if (o) {
320
- const A = o.addEventCallback(($) => {
321
- if ($.eventType === ge.LOGIN_SUCCESS && $.payload) {
322
- const de = $.payload;
327
+ const x = o.addEventCallback((O) => {
328
+ if (O.eventType === ge.LOGIN_SUCCESS && O.payload) {
329
+ const de = O.payload;
323
330
  m(de.accessToken);
324
331
  }
325
332
  });
326
333
  return () => {
327
- A && o.removeEventCallback(A);
334
+ x && o.removeEventCallback(x);
328
335
  };
329
336
  }
330
337
  return yt;
331
- }, e[15] = o, e[16] = O) : O = e[16];
332
- let j;
333
- e[17] !== x || e[18] !== P || e[19] !== o ? (j = [o, x, P], e[17] = x, e[18] = P, e[19] = o, e[20] = j) : j = e[20], F(O, j);
334
- let Z;
335
- e[21] !== x || e[22] !== P || e[23] !== c ? (Z = async (A) => {
336
- A && await x(A).catch(() => {
337
- P(), c(null);
338
+ }, e[15] = o, e[16] = N) : N = e[16];
339
+ let U;
340
+ e[17] !== P || e[18] !== I || e[19] !== o ? (U = [o, P, I], e[17] = P, e[18] = I, e[19] = o, e[20] = U) : U = e[20], z(N, U);
341
+ let F;
342
+ e[21] !== P || e[22] !== I || e[23] !== c ? (F = async (x) => {
343
+ x && await P(x).catch(() => {
344
+ I(), c(null);
338
345
  });
339
- }, e[21] = x, e[22] = P, e[23] = c, e[24] = Z) : Z = e[24];
340
- const K = Z;
346
+ }, e[21] = P, e[22] = I, e[23] = c, e[24] = F) : F = e[24];
347
+ const J = F;
341
348
  let ee;
342
- e[25] !== u || e[26] !== K ? (ee = () => {
343
- K(u);
344
- }, e[25] = u, e[26] = K, e[27] = ee) : ee = e[27];
349
+ e[25] !== u || e[26] !== J ? (ee = () => {
350
+ J(u);
351
+ }, e[25] = u, e[26] = J, e[27] = ee) : ee = e[27];
345
352
  const he = r == null ? void 0 : r.id;
346
353
  let te;
347
- e[28] !== u || e[29] !== K || e[30] !== he ? (te = [u, he, K], e[28] = u, e[29] = K, e[30] = he, e[31] = te) : te = e[31], F(ee, te);
354
+ e[28] !== u || e[29] !== J || e[30] !== he ? (te = [u, he, J], e[28] = u, e[29] = J, e[30] = he, e[31] = te) : te = e[31], z(ee, te);
348
355
  let ne;
349
- e[32] !== x || e[33] !== P || e[34] !== C ? (ne = {
356
+ e[32] !== P || e[33] !== I || e[34] !== C ? (ne = {
350
357
  user: C.user,
351
358
  userLoginState: C,
352
- loginUser: x,
353
- logoutUser: P
354
- }, e[32] = x, e[33] = P, e[34] = C, e[35] = ne) : ne = e[35];
359
+ loginUser: P,
360
+ logoutUser: I
361
+ }, e[32] = P, e[33] = I, e[34] = C, e[35] = ne) : ne = e[35];
355
362
  const ue = ne;
356
363
  let oe;
357
- return e[36] !== n || e[37] !== ue ? (oe = /* @__PURE__ */ y(Fe.Provider, { value: ue, children: n }), e[36] = n, e[37] = ue, e[38] = oe) : oe = e[38], oe;
364
+ return e[36] !== n || e[37] !== ue ? (oe = /* @__PURE__ */ y(ze.Provider, { value: ue, children: n }), e[36] = n, e[37] = ue, e[38] = oe) : oe = e[38], oe;
358
365
  };
359
366
  function yt() {
360
367
  }
361
368
  const vt = () => {
362
- const t = N.c(2);
369
+ const t = H.c(2);
363
370
  let e;
364
371
  t[0] === Symbol.for("react.memo_cache_sentinel") ? (e = /* @__PURE__ */ y("p", { children: "Redirecting..." }), t[0] = e) : e = t[0];
365
372
  let n;
366
- return t[1] === Symbol.for("react.memo_cache_sentinel") ? (n = /* @__PURE__ */ R("div", { children: [
373
+ return t[1] === Symbol.for("react.memo_cache_sentinel") ? (n = /* @__PURE__ */ A("div", { children: [
367
374
  e,
368
- /* @__PURE__ */ R("p", { children: [
375
+ /* @__PURE__ */ A("p", { children: [
369
376
  "If you are not redirected within 10 seconds, please click",
370
377
  " ",
371
378
  /* @__PURE__ */ y("a", { href: window.location.href.replace("/blank", "/"), children: "here" })
372
379
  ] })
373
380
  ] }), t[1] = n) : n = t[1], n;
374
- }, Tt = (t) => {
381
+ }, kt = (t) => {
375
382
  const e = t == null ? void 0 : t.getActiveAccount();
376
383
  console.log("getTokenMsal activeAccount", e);
377
384
  const n = t == null ? void 0 : t.getAllAccounts();
@@ -385,7 +392,7 @@ const vt = () => {
385
392
  inProgress: e
386
393
  } = at(), {
387
394
  cookieDomain: n
388
- } = z(ae), [, s] = ze(["Authorization"]), o = B(
395
+ } = G(ae), [, s] = Ge(["Authorization"]), o = B(
389
396
  () => t.useMsal ? t.msalInstance : null,
390
397
  // eslint-disable-next-line react-hooks/exhaustive-deps
391
398
  [t.useMsal, t.useMsal ? t.msalInstance : null]
@@ -397,20 +404,20 @@ const vt = () => {
397
404
  () => t.useMsal ? t.msalExtraScopes : [],
398
405
  // eslint-disable-next-line react-hooks/exhaustive-deps
399
406
  [t.useMsal, t.useMsal ? t.msalExtraScopes : null]
400
- ), c = Q(null), a = Q(!1), h = Y(() => {
407
+ ), c = Y(null), a = Y(!1), h = q(() => {
401
408
  const d = localStorage.getItem("token");
402
409
  return d ? {
403
410
  token: d,
404
411
  expiresOn: ht(new Date(Date.now()), 1)
405
412
  } : null;
406
- }, []), u = Y(async () => {
413
+ }, []), u = q(async () => {
407
414
  if (console.log("getTokenMsal"), o == null)
408
415
  throw console.log("getTokenMsal throwing error because msalInstance is null"), new Error("getTokenMsal: msalInstance is null");
409
416
  if (c.current)
410
417
  return console.log("getTokenMsal returning tokenRequestPromise.current", c.current), c.current;
411
418
  const d = new Promise((S, p) => {
412
419
  const C = (_) => {
413
- const v = Tt(o);
420
+ const v = kt(o);
414
421
  if (!v) {
415
422
  console.log("getTokenMsal no account found. Redirecting to login"), o == null || o.loginRedirect({
416
423
  scopes: i,
@@ -422,16 +429,16 @@ const vt = () => {
422
429
  scopes: i,
423
430
  account: v,
424
431
  redirectUri: t.useMsal ? t.msalSilentRedirectUri : void 0
425
- }).then((T) => {
432
+ }).then((k) => {
426
433
  _(), S({
427
- token: T.accessToken,
428
- expiresOn: T.expiresOn ?? new Date(Date.now())
434
+ token: k.accessToken,
435
+ expiresOn: k.expiresOn ?? new Date(Date.now())
429
436
  });
430
- }).catch((T) => {
431
- console.error("Error acquiring token", T), T instanceof it && (console.log("Silent token acquisition failed. Acquiring token using redirect"), o == null || o.acquireTokenRedirect({
437
+ }).catch((k) => {
438
+ console.error("Error acquiring token", k), k instanceof it && (console.log("Silent token acquisition failed. Acquiring token using redirect"), o == null || o.acquireTokenRedirect({
432
439
  scopes: i,
433
440
  extraScopesToConsent: r
434
- }), _(), S(null)), _(), p(T);
441
+ }), _(), S(null)), _(), p(k);
435
442
  }).finally(() => {
436
443
  _(), p(new Error("No access token returned from handleRedirectPromise"));
437
444
  });
@@ -452,7 +459,7 @@ const vt = () => {
452
459
  });
453
460
  });
454
461
  return c.current = d, d;
455
- }, [r, o, i, t.msalSilentRedirectUri, t.useMsal]), m = Y(async () => t.useMsal ? u() : h(), [h, u, t.useMsal]), f = Y((d) => t.useMsal ? () => {
462
+ }, [r, o, i, t.msalSilentRedirectUri, t.useMsal]), m = q(async () => t.useMsal ? u() : h(), [h, u, t.useMsal]), f = q((d) => t.useMsal ? () => {
456
463
  } : (window.addEventListener("storage", d), window.addEventListener("dev-auth-change", d), () => {
457
464
  window.removeEventListener("storage", d), window.removeEventListener("dev-auth-change", d);
458
465
  }), [t.useMsal]), g = st(f, () => localStorage.getItem("token") !== null ? "AUTH_OK" : "NO_AUTH"), w = B(() => {
@@ -466,7 +473,7 @@ const vt = () => {
466
473
  getToken: m,
467
474
  authState: w
468
475
  }), [t.useMsal, o, i, r, m, w]);
469
- return F(() => {
476
+ return z(() => {
470
477
  if (t.useMsal && o) {
471
478
  const d = o.addEventCallback((S) => {
472
479
  if (S.eventType === ge.LOGIN_SUCCESS || S.eventType === ge.ACQUIRE_TOKEN_SUCCESS && S.payload) {
@@ -491,7 +498,7 @@ const vt = () => {
491
498
  };
492
499
  }, [t.useMsal, o, s, n]), /* @__PURE__ */ y(pe.Provider, { value: b, children: window.location.pathname === "/blank" ? /* @__PURE__ */ y(vt, {}) : t.children });
493
500
  }, cn = (t) => {
494
- const e = N.c(9);
501
+ const e = H.c(9);
495
502
  let n;
496
503
  if (e[0] !== t ? ({
497
504
  ...n
@@ -504,7 +511,7 @@ const vt = () => {
504
511
  let s;
505
512
  return e[7] !== n ? (s = /* @__PURE__ */ y(ye, { ...n }), e[7] = n, e[8] = s) : s = e[8], s;
506
513
  }, an = (t) => {
507
- const e = N.c(18), {
514
+ const e = H.c(18), {
508
515
  children: n,
509
516
  relativeEndpoint: s
510
517
  } = t, [o, i, r] = ut("user-delegation", null);
@@ -514,10 +521,10 @@ const vt = () => {
514
521
  c = null;
515
522
  break e;
516
523
  }
517
- const v = o.from ? we(o.from) : _t(), T = o.to ? we(o.to) : gt();
524
+ const v = o.from ? we(o.from) : _t(), k = o.to ? we(o.to) : gt();
518
525
  if (!pt(new Date(Date.now()), {
519
526
  start: v,
520
- end: T
527
+ end: k
521
528
  })) {
522
529
  i(null), c = null;
523
530
  break e;
@@ -534,7 +541,7 @@ const vt = () => {
534
541
  data: u,
535
542
  setData: m,
536
543
  reloadData: f
537
- } = Ge(s, h), g = Q(null);
544
+ } = Xe(s, h), g = Y(null);
538
545
  let w, b;
539
546
  e[1] !== f ? (w = () => {
540
547
  const v = () => {
@@ -543,7 +550,7 @@ const vt = () => {
543
550
  return v(), () => {
544
551
  g.current !== null && window.clearTimeout(g.current);
545
552
  };
546
- }, b = [f], e[1] = f, e[2] = w, e[3] = b) : (w = e[2], b = e[3]), F(w, b);
553
+ }, b = [f], e[1] = f, e[2] = w, e[3] = b) : (w = e[2], b = e[3]), z(w, b);
547
554
  let d;
548
555
  e[4] !== r ? (d = () => {
549
556
  const v = () => {
@@ -554,7 +561,7 @@ const vt = () => {
554
561
  };
555
562
  }, e[4] = r, e[5] = d) : d = e[5];
556
563
  let S;
557
- e[6] !== r || e[7] !== f ? (S = [r, f], e[6] = r, e[7] = f, e[8] = S) : S = e[8], F(d, S);
564
+ e[6] !== r || e[7] !== f ? (S = [r, f], e[6] = r, e[7] = f, e[8] = S) : S = e[8], z(d, S);
558
565
  let p;
559
566
  e[9] !== u || e[10] !== f || e[11] !== m || e[12] !== i || e[13] !== a ? (p = {
560
567
  delegation: a,
@@ -567,7 +574,7 @@ const vt = () => {
567
574
  let _;
568
575
  return e[15] !== n || e[16] !== C ? (_ = /* @__PURE__ */ y(De.Provider, { value: C, children: n }), e[15] = n, e[16] = C, e[17] = _) : _ = e[17], _;
569
576
  }, ve = (t, e) => t ? `${t} | ${e}` : e, ln = (t) => {
570
- const e = N.c(18), {
577
+ const e = H.c(18), {
571
578
  defaultHelmet: n,
572
579
  children: s,
573
580
  helmetPrefix: o
@@ -576,7 +583,7 @@ const vt = () => {
576
583
  e[0] !== n || e[1] !== i ? (r = ve(i, n), e[0] = n, e[1] = i, e[2] = r) : r = e[2];
577
584
  let c;
578
585
  e[3] !== r ? (c = [r], e[3] = r, e[4] = c) : c = e[4];
579
- const [a, h] = I(c);
586
+ const [a, h] = D(c);
580
587
  let u;
581
588
  e[5] !== o ? (u = (_) => {
582
589
  h((v) => [...v, ve(o ?? "", _)]);
@@ -584,7 +591,7 @@ const vt = () => {
584
591
  const m = u;
585
592
  let f;
586
593
  e[7] === Symbol.for("react.memo_cache_sentinel") ? (f = () => {
587
- h(kt);
594
+ h(Tt);
588
595
  }, e[7] = f) : f = e[7];
589
596
  const g = f;
590
597
  let w;
@@ -599,15 +606,15 @@ const vt = () => {
599
606
  let p;
600
607
  e[12] !== b ? (p = /* @__PURE__ */ y("title", { children: b }), e[12] = b, e[13] = p) : p = e[13];
601
608
  let C;
602
- return e[14] !== s || e[15] !== S || e[16] !== p ? (C = /* @__PURE__ */ R(Xe.Provider, { value: S, children: [
609
+ return e[14] !== s || e[15] !== S || e[16] !== p ? (C = /* @__PURE__ */ A(Ke.Provider, { value: S, children: [
603
610
  p,
604
611
  s
605
612
  ] }), e[14] = s, e[15] = S, e[16] = p, e[17] = C) : C = e[17], C;
606
613
  };
607
- function kt(t) {
614
+ function Tt(t) {
608
615
  return t.length > 1 ? t.slice(0, -1) : t;
609
616
  }
610
- class $e {
617
+ class Ne {
611
618
  constructor(e, n, s) {
612
619
  this.statusCode = e, this.statusText = n, this.content = s;
613
620
  }
@@ -646,11 +653,11 @@ class le {
646
653
  }
647
654
  class Et extends le {
648
655
  constructor(e) {
649
- if (super(), this._logger = e, typeof fetch > "u" || L.isNode) {
656
+ if (super(), this._logger = e, typeof fetch > "u" || R.isNode) {
650
657
  const n = typeof __webpack_require__ == "function" ? __non_webpack_require__ : require;
651
658
  this._jar = new (n("tough-cookie")).CookieJar(), typeof fetch > "u" ? this._fetchType = n("node-fetch") : this._fetchType = fetch, this._fetchType = n("fetch-cookie")(this._fetchType, this._jar);
652
659
  } else
653
- this._fetchType = fetch.bind(Ke());
660
+ this._fetchType = fetch.bind(Je());
654
661
  if (typeof AbortController > "u") {
655
662
  const n = typeof __webpack_require__ == "function" ? __non_webpack_require__ : require;
656
663
  this._abortControllerType = n("abort-controller");
@@ -660,7 +667,7 @@ class Et extends le {
660
667
  /** @inheritDoc */
661
668
  async send(e) {
662
669
  if (e.abortSignal && e.abortSignal.aborted)
663
- throw new U();
670
+ throw new j();
664
671
  if (!e.method)
665
672
  throw new Error("No method defined.");
666
673
  if (!e.url)
@@ -668,7 +675,7 @@ class Et extends le {
668
675
  const n = new this._abortControllerType();
669
676
  let s;
670
677
  e.abortSignal && (e.abortSignal.onabort = () => {
671
- n.abort(), s = new U();
678
+ n.abort(), s = new j();
672
679
  });
673
680
  let o = null;
674
681
  if (e.timeout) {
@@ -699,18 +706,18 @@ class Et extends le {
699
706
  o && clearTimeout(o), e.abortSignal && (e.abortSignal.onabort = null);
700
707
  }
701
708
  if (!i.ok) {
702
- const a = await Te(i, "text");
709
+ const a = await ke(i, "text");
703
710
  throw new V(a || i.statusText, i.status);
704
711
  }
705
- const c = await Te(i, e.responseType);
706
- return new $e(i.status, i.statusText, c);
712
+ const c = await ke(i, e.responseType);
713
+ return new Ne(i.status, i.statusText, c);
707
714
  }
708
715
  getCookieString(e) {
709
716
  let n = "";
710
- return L.isNode && this._jar && this._jar.getCookies(e, (s, o) => n = o.join("; ")), n;
717
+ return R.isNode && this._jar && this._jar.getCookies(e, (s, o) => n = o.join("; ")), n;
711
718
  }
712
719
  }
713
- function Te(t, e) {
720
+ function ke(t, e) {
714
721
  let n;
715
722
  switch (e) {
716
723
  case "arraybuffer":
@@ -735,16 +742,16 @@ class Pt extends le {
735
742
  }
736
743
  /** @inheritDoc */
737
744
  send(e) {
738
- return e.abortSignal && e.abortSignal.aborted ? Promise.reject(new U()) : e.method ? e.url ? new Promise((n, s) => {
745
+ return e.abortSignal && e.abortSignal.aborted ? Promise.reject(new j()) : e.method ? e.url ? new Promise((n, s) => {
739
746
  const o = new XMLHttpRequest();
740
747
  o.open(e.method, e.url, !0), o.withCredentials = e.withCredentials === void 0 ? !0 : e.withCredentials, o.setRequestHeader("X-Requested-With", "XMLHttpRequest"), e.content === "" && (e.content = void 0), e.content && (Ie(e.content) ? o.setRequestHeader("Content-Type", "application/octet-stream") : o.setRequestHeader("Content-Type", "text/plain;charset=UTF-8"));
741
748
  const i = e.headers;
742
749
  i && Object.keys(i).forEach((r) => {
743
750
  o.setRequestHeader(r, i[r]);
744
751
  }), e.responseType && (o.responseType = e.responseType), e.abortSignal && (e.abortSignal.onabort = () => {
745
- o.abort(), s(new U());
752
+ o.abort(), s(new j());
746
753
  }), e.timeout && (o.timeout = e.timeout), o.onload = () => {
747
- e.abortSignal && (e.abortSignal.onabort = null), o.status >= 200 && o.status < 300 ? n(new $e(o.status, o.statusText, o.response || o.responseText)) : s(new V(o.response || o.responseText || o.statusText, o.status));
754
+ e.abortSignal && (e.abortSignal.onabort = null), o.status >= 200 && o.status < 300 ? n(new Ne(o.status, o.statusText, o.response || o.responseText)) : s(new V(o.response || o.responseText || o.statusText, o.status));
748
755
  }, o.onerror = () => {
749
756
  this._logger.log(l.Warning, `Error from HTTP request. ${o.status}: ${o.statusText}.`), s(new V(o.statusText, o.status));
750
757
  }, o.ontimeout = () => {
@@ -756,7 +763,7 @@ class Pt extends le {
756
763
  class xt extends le {
757
764
  /** Creates a new instance of the {@link @microsoft/signalr.DefaultHttpClient}, using the provided {@link @microsoft/signalr.ILogger} to log messages. */
758
765
  constructor(e) {
759
- if (super(), typeof fetch < "u" || L.isNode)
766
+ if (super(), typeof fetch < "u" || R.isNode)
760
767
  this._httpClient = new Et(e);
761
768
  else if (typeof XMLHttpRequest < "u")
762
769
  this._httpClient = new Pt(e);
@@ -765,26 +772,26 @@ class xt extends le {
765
772
  }
766
773
  /** @inheritDoc */
767
774
  send(e) {
768
- return e.abortSignal && e.abortSignal.aborted ? Promise.reject(new U()) : e.method ? e.url ? this._httpClient.send(e) : Promise.reject(new Error("No url defined.")) : Promise.reject(new Error("No method defined."));
775
+ return e.abortSignal && e.abortSignal.aborted ? Promise.reject(new j()) : e.method ? e.url ? this._httpClient.send(e) : Promise.reject(new Error("No url defined.")) : Promise.reject(new Error("No method defined."));
769
776
  }
770
777
  getCookieString(e) {
771
778
  return this._httpClient.getCookieString(e);
772
779
  }
773
780
  }
774
- const At = [0, 2e3, 1e4, 3e4, null];
775
- class ke {
781
+ const Lt = [0, 2e3, 1e4, 3e4, null];
782
+ class Te {
776
783
  constructor(e) {
777
- this._retryDelays = e !== void 0 ? [...e, null] : At;
784
+ this._retryDelays = e !== void 0 ? [...e, null] : Lt;
778
785
  }
779
786
  nextRetryDelayInMilliseconds(e) {
780
787
  return this._retryDelays[e.previousRetryCount];
781
788
  }
782
789
  }
783
- class X {
790
+ class K {
784
791
  }
785
- X.Authorization = "Authorization";
786
- X.Cookie = "Cookie";
787
- class Dt extends le {
792
+ K.Authorization = "Authorization";
793
+ K.Cookie = "Cookie";
794
+ class At extends le {
788
795
  constructor(e, n) {
789
796
  super(), this._innerClient = e, this._accessTokenFactory = n;
790
797
  }
@@ -795,21 +802,21 @@ class Dt extends le {
795
802
  return n && s.statusCode === 401 && this._accessTokenFactory ? (this._accessToken = await this._accessTokenFactory(), this._setAuthorizationHeader(e), await this._innerClient.send(e)) : s;
796
803
  }
797
804
  _setAuthorizationHeader(e) {
798
- e.headers || (e.headers = {}), this._accessToken ? e.headers[X.Authorization] = `Bearer ${this._accessToken}` : this._accessTokenFactory && e.headers[X.Authorization] && delete e.headers[X.Authorization];
805
+ e.headers || (e.headers = {}), this._accessToken ? e.headers[K.Authorization] = `Bearer ${this._accessToken}` : this._accessTokenFactory && e.headers[K.Authorization] && delete e.headers[K.Authorization];
799
806
  }
800
807
  getCookieString(e) {
801
808
  return this._innerClient.getCookieString(e);
802
809
  }
803
810
  }
804
- var k;
811
+ var T;
805
812
  (function(t) {
806
813
  t[t.None = 0] = "None", t[t.WebSockets = 1] = "WebSockets", t[t.ServerSentEvents = 2] = "ServerSentEvents", t[t.LongPolling = 4] = "LongPolling";
807
- })(k || (k = {}));
808
- var D;
814
+ })(T || (T = {}));
815
+ var L;
809
816
  (function(t) {
810
817
  t[t.Text = 1] = "Text", t[t.Binary = 2] = "Binary";
811
- })(D || (D = {}));
812
- let It = class {
818
+ })(L || (L = {}));
819
+ let Dt = class {
813
820
  constructor() {
814
821
  this._isAborted = !1, this.onabort = null;
815
822
  }
@@ -829,18 +836,18 @@ class Ee {
829
836
  return this._pollAbort.aborted;
830
837
  }
831
838
  constructor(e, n, s) {
832
- this._httpClient = e, this._logger = n, this._pollAbort = new It(), this._options = s, this._running = !1, this.onreceive = null, this.onclose = null;
839
+ this._httpClient = e, this._logger = n, this._pollAbort = new Dt(), this._options = s, this._running = !1, this.onreceive = null, this.onclose = null;
833
840
  }
834
841
  async connect(e, n) {
835
- if (E.isRequired(e, "url"), E.isRequired(n, "transferFormat"), E.isIn(n, D, "transferFormat"), this._url = e, this._logger.log(l.Trace, "(LongPolling transport) Connecting."), n === D.Binary && typeof XMLHttpRequest < "u" && typeof new XMLHttpRequest().responseType != "string")
842
+ if (E.isRequired(e, "url"), E.isRequired(n, "transferFormat"), E.isIn(n, L, "transferFormat"), this._url = e, this._logger.log(l.Trace, "(LongPolling transport) Connecting."), n === L.Binary && typeof XMLHttpRequest < "u" && typeof new XMLHttpRequest().responseType != "string")
836
843
  throw new Error("Binary protocols over XmlHttpRequest not implementing advanced features are not supported.");
837
- const [s, o] = q(), i = { [s]: o, ...this._options.headers }, r = {
844
+ const [s, o] = Z(), i = { [s]: o, ...this._options.headers }, r = {
838
845
  abortSignal: this._pollAbort.signal,
839
846
  headers: i,
840
847
  timeout: 1e5,
841
848
  withCredentials: this._options.withCredentials
842
849
  };
843
- n === D.Binary && (r.responseType = "arraybuffer");
850
+ n === L.Binary && (r.responseType = "arraybuffer");
844
851
  const c = `${e}&_=${Date.now()}`;
845
852
  this._logger.log(l.Trace, `(LongPolling transport) polling: ${c}.`);
846
853
  const a = await this._httpClient.get(c, r);
@@ -862,13 +869,13 @@ class Ee {
862
869
  }
863
870
  }
864
871
  async send(e) {
865
- return this._running ? Le(this._logger, "LongPolling", this._httpClient, this._url, e, this._options) : Promise.reject(new Error("Cannot send until the transport is connected"));
872
+ return this._running ? Re(this._logger, "LongPolling", this._httpClient, this._url, e, this._options) : Promise.reject(new Error("Cannot send until the transport is connected"));
866
873
  }
867
874
  async stop() {
868
875
  this._logger.log(l.Trace, "(LongPolling transport) Stopping polling."), this._running = !1, this._pollAbort.abort();
869
876
  try {
870
877
  await this._receiving, this._logger.log(l.Trace, `(LongPolling transport) sending DELETE request to ${this._url}.`);
871
- const e = {}, [n, s] = q();
878
+ const e = {}, [n, s] = Z();
872
879
  e[n] = s;
873
880
  const o = {
874
881
  headers: { ...e, ...this._options.headers },
@@ -893,24 +900,24 @@ class Ee {
893
900
  }
894
901
  }
895
902
  }
896
- class Lt {
903
+ class It {
897
904
  constructor(e, n, s, o) {
898
905
  this._httpClient = e, this._accessToken = n, this._logger = s, this._options = o, this.onreceive = null, this.onclose = null;
899
906
  }
900
907
  async connect(e, n) {
901
- return E.isRequired(e, "url"), E.isRequired(n, "transferFormat"), E.isIn(n, D, "transferFormat"), this._logger.log(l.Trace, "(SSE transport) Connecting."), this._url = e, this._accessToken && (e += (e.indexOf("?") < 0 ? "?" : "&") + `access_token=${encodeURIComponent(this._accessToken)}`), new Promise((s, o) => {
908
+ return E.isRequired(e, "url"), E.isRequired(n, "transferFormat"), E.isIn(n, L, "transferFormat"), this._logger.log(l.Trace, "(SSE transport) Connecting."), this._url = e, this._accessToken && (e += (e.indexOf("?") < 0 ? "?" : "&") + `access_token=${encodeURIComponent(this._accessToken)}`), new Promise((s, o) => {
902
909
  let i = !1;
903
- if (n !== D.Text) {
910
+ if (n !== L.Text) {
904
911
  o(new Error("The Server-Sent Events transport only supports the 'Text' transfer format"));
905
912
  return;
906
913
  }
907
914
  let r;
908
- if (L.isBrowser || L.isWebWorker)
915
+ if (R.isBrowser || R.isWebWorker)
909
916
  r = new this._options.EventSource(e, { withCredentials: this._options.withCredentials });
910
917
  else {
911
918
  const c = this._httpClient.getCookieString(e), a = {};
912
919
  a.Cookie = c;
913
- const [h, u] = q();
920
+ const [h, u] = Z();
914
921
  a[h] = u, r = new this._options.EventSource(e, { withCredentials: this._options.withCredentials, headers: { ...a, ...this._options.headers } });
915
922
  }
916
923
  try {
@@ -934,7 +941,7 @@ class Lt {
934
941
  });
935
942
  }
936
943
  async send(e) {
937
- return this._eventSource ? Le(this._logger, "SSE", this._httpClient, this._url, e, this._options) : Promise.reject(new Error("Cannot send until the transport is connected"));
944
+ return this._eventSource ? Re(this._logger, "SSE", this._httpClient, this._url, e, this._options) : Promise.reject(new Error("Cannot send until the transport is connected"));
938
945
  }
939
946
  stop() {
940
947
  return this._close(), Promise.resolve();
@@ -948,21 +955,21 @@ class Rt {
948
955
  this._logger = s, this._accessTokenFactory = n, this._logMessageContent = o, this._webSocketConstructor = i, this._httpClient = e, this.onreceive = null, this.onclose = null, this._headers = r;
949
956
  }
950
957
  async connect(e, n) {
951
- E.isRequired(e, "url"), E.isRequired(n, "transferFormat"), E.isIn(n, D, "transferFormat"), this._logger.log(l.Trace, "(WebSockets transport) Connecting.");
958
+ E.isRequired(e, "url"), E.isRequired(n, "transferFormat"), E.isIn(n, L, "transferFormat"), this._logger.log(l.Trace, "(WebSockets transport) Connecting.");
952
959
  let s;
953
960
  return this._accessTokenFactory && (s = await this._accessTokenFactory()), new Promise((o, i) => {
954
961
  e = e.replace(/^http/, "ws");
955
962
  let r;
956
963
  const c = this._httpClient.getCookieString(e);
957
964
  let a = !1;
958
- if (L.isNode || L.isReactNative) {
959
- const h = {}, [u, m] = q();
960
- h[u] = m, s && (h[X.Authorization] = `Bearer ${s}`), c && (h[X.Cookie] = c), r = new this._webSocketConstructor(e, void 0, {
965
+ if (R.isNode || R.isReactNative) {
966
+ const h = {}, [u, m] = Z();
967
+ h[u] = m, s && (h[K.Authorization] = `Bearer ${s}`), c && (h[K.Cookie] = c), r = new this._webSocketConstructor(e, void 0, {
961
968
  headers: { ...h, ...this._headers }
962
969
  });
963
970
  } else
964
971
  s && (e += (e.indexOf("?") < 0 ? "?" : "&") + `access_token=${encodeURIComponent(s)}`);
965
- r || (r = new this._webSocketConstructor(e)), n === D.Binary && (r.binaryType = "arraybuffer"), r.onopen = (h) => {
972
+ r || (r = new this._webSocketConstructor(e)), n === L.Binary && (r.binaryType = "arraybuffer"), r.onopen = (h) => {
966
973
  this._logger.log(l.Information, `WebSocket connected to ${e}.`), this._webSocket = r, a = !0, o();
967
974
  }, r.onerror = (h) => {
968
975
  let u = null;
@@ -1005,27 +1012,27 @@ const Pe = 100;
1005
1012
  class Mt {
1006
1013
  constructor(e, n = {}) {
1007
1014
  if (this._stopPromiseResolver = () => {
1008
- }, this.features = {}, this._negotiateVersion = 1, E.isRequired(e, "url"), this._logger = Je(n.logger), this.baseUrl = this._resolveUrl(e), n = n || {}, n.logMessageContent = n.logMessageContent === void 0 ? !1 : n.logMessageContent, typeof n.withCredentials == "boolean" || n.withCredentials === void 0)
1015
+ }, this.features = {}, this._negotiateVersion = 1, E.isRequired(e, "url"), this._logger = Qe(n.logger), this.baseUrl = this._resolveUrl(e), n = n || {}, n.logMessageContent = n.logMessageContent === void 0 ? !1 : n.logMessageContent, typeof n.withCredentials == "boolean" || n.withCredentials === void 0)
1009
1016
  n.withCredentials = n.withCredentials === void 0 ? !0 : n.withCredentials;
1010
1017
  else
1011
1018
  throw new Error("withCredentials option was not a 'boolean' or 'undefined' value");
1012
1019
  n.timeout = n.timeout === void 0 ? 100 * 1e3 : n.timeout;
1013
1020
  let s = null, o = null;
1014
- if (L.isNode && typeof require < "u") {
1021
+ if (R.isNode && typeof require < "u") {
1015
1022
  const i = typeof __webpack_require__ == "function" ? __non_webpack_require__ : require;
1016
1023
  s = i("ws"), o = i("eventsource");
1017
1024
  }
1018
- !L.isNode && typeof WebSocket < "u" && !n.WebSocket ? n.WebSocket = WebSocket : L.isNode && !n.WebSocket && s && (n.WebSocket = s), !L.isNode && typeof EventSource < "u" && !n.EventSource ? n.EventSource = EventSource : L.isNode && !n.EventSource && typeof o < "u" && (n.EventSource = o), this._httpClient = new Dt(n.httpClient || new xt(this._logger), n.accessTokenFactory), this._connectionState = "Disconnected", this._connectionStarted = !1, this._options = n, this.onreceive = null, this.onclose = null;
1025
+ !R.isNode && typeof WebSocket < "u" && !n.WebSocket ? n.WebSocket = WebSocket : R.isNode && !n.WebSocket && s && (n.WebSocket = s), !R.isNode && typeof EventSource < "u" && !n.EventSource ? n.EventSource = EventSource : R.isNode && !n.EventSource && typeof o < "u" && (n.EventSource = o), this._httpClient = new At(n.httpClient || new xt(this._logger), n.accessTokenFactory), this._connectionState = "Disconnected", this._connectionStarted = !1, this._options = n, this.onreceive = null, this.onclose = null;
1019
1026
  }
1020
1027
  async start(e) {
1021
- if (e = e || D.Binary, E.isIn(e, D, "transferFormat"), this._logger.log(l.Debug, `Starting connection with transfer format '${D[e]}'.`), this._connectionState !== "Disconnected")
1028
+ if (e = e || L.Binary, E.isIn(e, L, "transferFormat"), this._logger.log(l.Debug, `Starting connection with transfer format '${L[e]}'.`), this._connectionState !== "Disconnected")
1022
1029
  return Promise.reject(new Error("Cannot start an HttpConnection that is not in the 'Disconnected' state."));
1023
1030
  if (this._connectionState = "Connecting", this._startInternalPromise = this._startInternal(e), await this._startInternalPromise, this._connectionState === "Disconnecting") {
1024
1031
  const n = "Failed to start the HttpConnection before stop() was called.";
1025
- return this._logger.log(l.Error, n), await this._stopPromise, Promise.reject(new U(n));
1032
+ return this._logger.log(l.Error, n), await this._stopPromise, Promise.reject(new j(n));
1026
1033
  } else if (this._connectionState !== "Connected") {
1027
1034
  const n = "HttpConnection.startInternal completed gracefully but didn't enter the connection into the connected state!";
1028
- return this._logger.log(l.Error, n), Promise.reject(new U(n));
1035
+ return this._logger.log(l.Error, n), Promise.reject(new j(n));
1029
1036
  }
1030
1037
  this._connectionStarted = !0;
1031
1038
  }
@@ -1062,15 +1069,15 @@ class Mt {
1062
1069
  this._accessTokenFactory = this._options.accessTokenFactory, this._httpClient._accessTokenFactory = this._accessTokenFactory;
1063
1070
  try {
1064
1071
  if (this._options.skipNegotiation)
1065
- if (this._options.transport === k.WebSockets)
1066
- this.transport = this._constructTransport(k.WebSockets), await this._startTransport(n, e);
1072
+ if (this._options.transport === T.WebSockets)
1073
+ this.transport = this._constructTransport(T.WebSockets), await this._startTransport(n, e);
1067
1074
  else
1068
1075
  throw new Error("Negotiation can only be skipped when using the WebSocket transport directly.");
1069
1076
  else {
1070
1077
  let s = null, o = 0;
1071
1078
  do {
1072
1079
  if (s = await this._getNegotiationResponse(n), this._connectionState === "Disconnecting" || this._connectionState === "Disconnected")
1073
- throw new U("The connection was stopped during negotiation.");
1080
+ throw new j("The connection was stopped during negotiation.");
1074
1081
  if (s.error)
1075
1082
  throw new Error(s.error);
1076
1083
  if (s.ProtocolVersion)
@@ -1091,7 +1098,7 @@ class Mt {
1091
1098
  }
1092
1099
  }
1093
1100
  async _getNegotiationResponse(e) {
1094
- const n = {}, [s, o] = q();
1101
+ const n = {}, [s, o] = Z();
1095
1102
  n[s] = o;
1096
1103
  const i = this._resolveNegotiateUrl(e);
1097
1104
  this._logger.log(l.Debug, `Sending negotiation request: ${i}.`);
@@ -1139,26 +1146,26 @@ class Mt {
1139
1146
  await this._startTransport(i, o), this.connectionId = a.connectionId;
1140
1147
  return;
1141
1148
  } catch (m) {
1142
- if (this._logger.log(l.Error, `Failed to start the transport '${h.transport}': ${m}`), a = void 0, r.push(new Qe(`${h.transport} failed: ${m}`, k[h.transport])), this._connectionState !== "Connecting") {
1149
+ if (this._logger.log(l.Error, `Failed to start the transport '${h.transport}': ${m}`), a = void 0, r.push(new Ye(`${h.transport} failed: ${m}`, T[h.transport])), this._connectionState !== "Connecting") {
1143
1150
  const f = "Failed to select transport before stop() was called.";
1144
- return this._logger.log(l.Debug, f), Promise.reject(new U(f));
1151
+ return this._logger.log(l.Debug, f), Promise.reject(new j(f));
1145
1152
  }
1146
1153
  }
1147
1154
  }
1148
1155
  }
1149
- return r.length > 0 ? Promise.reject(new Ye(`Unable to connect to the server with any of the available transports. ${r.join(" ")}`, r)) : Promise.reject(new Error("None of the transports supported by the client are supported by the server."));
1156
+ return r.length > 0 ? Promise.reject(new qe(`Unable to connect to the server with any of the available transports. ${r.join(" ")}`, r)) : Promise.reject(new Error("None of the transports supported by the client are supported by the server."));
1150
1157
  }
1151
1158
  _constructTransport(e) {
1152
1159
  switch (e) {
1153
- case k.WebSockets:
1160
+ case T.WebSockets:
1154
1161
  if (!this._options.WebSocket)
1155
1162
  throw new Error("'WebSocket' is not supported in your environment.");
1156
1163
  return new Rt(this._httpClient, this._accessTokenFactory, this._logger, this._options.logMessageContent, this._options.WebSocket, this._options.headers || {});
1157
- case k.ServerSentEvents:
1164
+ case T.ServerSentEvents:
1158
1165
  if (!this._options.EventSource)
1159
1166
  throw new Error("'EventSource' is not supported in your environment.");
1160
- return new Lt(this._httpClient, this._httpClient._accessToken, this._logger, this._options);
1161
- case k.LongPolling:
1167
+ return new It(this._httpClient, this._httpClient._accessToken, this._logger, this._options);
1168
+ case T.LongPolling:
1162
1169
  return new Ee(this._httpClient, this._logger, this._options);
1163
1170
  default:
1164
1171
  throw new Error(`Unknown transport: ${e}.`);
@@ -1181,23 +1188,23 @@ class Mt {
1181
1188
  } : this.transport.onclose = (s) => this._stopConnection(s), this.transport.connect(e, n);
1182
1189
  }
1183
1190
  _resolveTransportOrError(e, n, s, o) {
1184
- const i = k[e.transport];
1191
+ const i = T[e.transport];
1185
1192
  if (i == null)
1186
1193
  return this._logger.log(l.Debug, `Skipping transport '${e.transport}' because it is not supported by this client.`), new Error(`Skipping transport '${e.transport}' because it is not supported by this client.`);
1187
1194
  if ($t(n, i))
1188
- if (e.transferFormats.map((c) => D[c]).indexOf(s) >= 0) {
1189
- if (i === k.WebSockets && !this._options.WebSocket || i === k.ServerSentEvents && !this._options.EventSource)
1190
- return this._logger.log(l.Debug, `Skipping transport '${k[i]}' because it is not supported in your environment.'`), new qe(`'${k[i]}' is not supported in your environment.`, i);
1191
- this._logger.log(l.Debug, `Selecting transport '${k[i]}'.`);
1195
+ if (e.transferFormats.map((c) => L[c]).indexOf(s) >= 0) {
1196
+ if (i === T.WebSockets && !this._options.WebSocket || i === T.ServerSentEvents && !this._options.EventSource)
1197
+ return this._logger.log(l.Debug, `Skipping transport '${T[i]}' because it is not supported in your environment.'`), new Ze(`'${T[i]}' is not supported in your environment.`, i);
1198
+ this._logger.log(l.Debug, `Selecting transport '${T[i]}'.`);
1192
1199
  try {
1193
- return this.features.reconnect = i === k.WebSockets ? o : void 0, this._constructTransport(i);
1200
+ return this.features.reconnect = i === T.WebSockets ? o : void 0, this._constructTransport(i);
1194
1201
  } catch (c) {
1195
1202
  return c;
1196
1203
  }
1197
1204
  } else
1198
- return this._logger.log(l.Debug, `Skipping transport '${k[i]}' because it does not support the requested transfer format '${D[s]}'.`), new Error(`'${k[i]}' does not support ${D[s]}.`);
1205
+ return this._logger.log(l.Debug, `Skipping transport '${T[i]}' because it does not support the requested transfer format '${L[s]}'.`), new Error(`'${T[i]}' does not support ${L[s]}.`);
1199
1206
  else
1200
- return this._logger.log(l.Debug, `Skipping transport '${k[i]}' because it was disabled by the client.`), new Ze(`'${k[i]}' is disabled by the client.`, i);
1207
+ return this._logger.log(l.Debug, `Skipping transport '${T[i]}' because it was disabled by the client.`), new et(`'${T[i]}' is disabled by the client.`, i);
1201
1208
  }
1202
1209
  _isITransport(e) {
1203
1210
  return e && typeof e == "object" && "connect" in e;
@@ -1223,7 +1230,7 @@ class Mt {
1223
1230
  _resolveUrl(e) {
1224
1231
  if (e.lastIndexOf("https://", 0) === 0 || e.lastIndexOf("http://", 0) === 0)
1225
1232
  return e;
1226
- if (!L.isBrowser)
1233
+ if (!R.isBrowser)
1227
1234
  throw new Error(`Cannot resolve '${e}'.`);
1228
1235
  const n = window.document.createElement("a");
1229
1236
  return n.href = e, this._logger.log(l.Information, `Normalizing '${e}' to '${n.href}'.`), n.href;
@@ -1293,7 +1300,7 @@ class se {
1293
1300
  const Nt = "json";
1294
1301
  class Ot {
1295
1302
  constructor() {
1296
- this.name = Nt, this.version = 2, this.transferFormat = D.Text;
1303
+ this.name = Nt, this.version = 2, this.transferFormat = L.Text;
1297
1304
  }
1298
1305
  /** Creates an array of {@link @microsoft/signalr.HubMessage} objects from the specified serialized representation.
1299
1306
  *
@@ -1305,30 +1312,30 @@ class Ot {
1305
1312
  throw new Error("Invalid input for JSON hub protocol. Expected a string.");
1306
1313
  if (!e)
1307
1314
  return [];
1308
- n === null && (n = Re.instance);
1315
+ n === null && (n = Me.instance);
1309
1316
  const s = be.parse(e), o = [];
1310
1317
  for (const i of s) {
1311
1318
  const r = JSON.parse(i);
1312
1319
  if (typeof r.type != "number")
1313
1320
  throw new Error("Invalid payload.");
1314
1321
  switch (r.type) {
1315
- case G.Invocation:
1322
+ case X.Invocation:
1316
1323
  this._isInvocationMessage(r);
1317
1324
  break;
1318
- case G.StreamItem:
1325
+ case X.StreamItem:
1319
1326
  this._isStreamItemMessage(r);
1320
1327
  break;
1321
- case G.Completion:
1328
+ case X.Completion:
1322
1329
  this._isCompletionMessage(r);
1323
1330
  break;
1324
- case G.Ping:
1331
+ case X.Ping:
1325
1332
  break;
1326
- case G.Close:
1333
+ case X.Close:
1327
1334
  break;
1328
- case G.Ack:
1335
+ case X.Ack:
1329
1336
  this._isAckMessage(r);
1330
1337
  break;
1331
- case G.Sequence:
1338
+ case X.Sequence:
1332
1339
  this._isSequenceMessage(r);
1333
1340
  break;
1334
1341
  default:
@@ -1416,7 +1423,7 @@ class Wt {
1416
1423
  withAutomaticReconnect(e) {
1417
1424
  if (this.reconnectPolicy)
1418
1425
  throw new Error("A reconnectPolicy has already been set.");
1419
- return e ? Array.isArray(e) ? this.reconnectPolicy = new ke(e) : this.reconnectPolicy = e : this.reconnectPolicy = new ke(), this;
1426
+ return e ? Array.isArray(e) ? this.reconnectPolicy = new Te(e) : this.reconnectPolicy = e : this.reconnectPolicy = new Te(), this;
1420
1427
  }
1421
1428
  /** Configures {@link @microsoft/signalr.HubConnection.serverTimeoutInMilliseconds} for the {@link @microsoft/signalr.HubConnection}.
1422
1429
  *
@@ -1448,13 +1455,13 @@ class Wt {
1448
1455
  if (e.logger === void 0 && (e.logger = this.logger), !this.url)
1449
1456
  throw new Error("The 'HubConnectionBuilder.withUrl' method must be called before building the connection.");
1450
1457
  const n = new Mt(this.url, e);
1451
- return et.create(n, this.logger || Re.instance, this.protocol || new Ot(), this.reconnectPolicy, this._serverTimeoutInMilliseconds, this._keepAliveIntervalInMilliseconds, this._statefulReconnectBufferSize);
1458
+ return tt.create(n, this.logger || Me.instance, this.protocol || new Ot(), this.reconnectPolicy, this._serverTimeoutInMilliseconds, this._keepAliveIntervalInMilliseconds, this._statefulReconnectBufferSize);
1452
1459
  }
1453
1460
  }
1454
1461
  function jt(t) {
1455
1462
  return t.log !== void 0;
1456
1463
  }
1457
- const Bt = 10 * 1e3, Ft = 15 * 1e3, un = ({
1464
+ const Ft = 10 * 1e3, Bt = 15 * 1e3, un = ({
1458
1465
  children: t,
1459
1466
  apiUrl: e,
1460
1467
  endpoint: n
@@ -1462,20 +1469,20 @@ const Bt = 10 * 1e3, Ft = 15 * 1e3, un = ({
1462
1469
  const {
1463
1470
  authState: s,
1464
1471
  getToken: o
1465
- } = z(pe), i = dt(), [r, c] = I(fe.Disconnected), [a, h] = I(!1), u = Q(null), m = Q(o);
1472
+ } = G(pe), i = dt(), [r, c] = D(fe.Disconnected), [a, h] = D(!1), u = Y(null), m = Y(o);
1466
1473
  m.current = o;
1467
- const f = Y(() => {
1474
+ const f = q(() => {
1468
1475
  var d;
1469
1476
  return c(((d = u.current) == null ? void 0 : d.state) ?? fe.Disconnected);
1470
1477
  }, []);
1471
- F(() => {
1478
+ z(() => {
1472
1479
  if (s !== "AUTH_OK" || !i)
1473
1480
  return;
1474
1481
  let d = !1, S = null;
1475
1482
  const p = new Wt().withUrl(`${e}/${n}`, {
1476
1483
  accessTokenFactory: () => m.current().then((_) => (_ == null ? void 0 : _.token) ?? "")
1477
1484
  }).withAutomaticReconnect({
1478
- nextRetryDelayInMilliseconds: (_) => Math.min(1e3 * 2 ** _.previousRetryCount, Ft)
1485
+ nextRetryDelayInMilliseconds: (_) => Math.min(1e3 * 2 ** _.previousRetryCount, Bt)
1479
1486
  }).build();
1480
1487
  u.current = p, p.on("Connected", (_) => {
1481
1488
  console.log("Server says:", _);
@@ -1496,7 +1503,7 @@ const Bt = 10 * 1e3, Ft = 15 * 1e3, un = ({
1496
1503
  }
1497
1504
  console.log("Connection started"), f(), h(!1);
1498
1505
  }).catch((_) => {
1499
- d || (console.log("Error starting connection:", _), f(), h(!0), S = window.setTimeout(C, Bt));
1506
+ d || (console.log("Error starting connection:", _), f(), h(!0), S = window.setTimeout(C, Ft));
1500
1507
  });
1501
1508
  };
1502
1509
  return C(), () => {
@@ -1511,16 +1518,16 @@ const Bt = 10 * 1e3, Ft = 15 * 1e3, un = ({
1511
1518
  connectionState: r,
1512
1519
  hasLastConnectionEnded: a
1513
1520
  }), [g, w, r, a]);
1514
- return /* @__PURE__ */ y(Me.Provider, { value: b, children: t });
1521
+ return /* @__PURE__ */ y($e.Provider, { value: b, children: t });
1515
1522
  }, dn = () => {
1516
- const t = z(Me);
1523
+ const t = G($e);
1517
1524
  if (!t)
1518
1525
  throw new Error("useApiWebSocket must be used within a ApiWebSocketProvider");
1519
1526
  return t;
1520
1527
  }, xe = 50, zt = () => {
1521
- const t = N.c(22), {
1528
+ const t = H.c(22), {
1522
1529
  texts: e
1523
- } = z(ae), {
1530
+ } = G(ae), {
1524
1531
  confirm: n
1525
1532
  } = e, {
1526
1533
  onConfirm: s,
@@ -1528,7 +1535,7 @@ const Bt = 10 * 1e3, Ft = 15 * 1e3, un = ({
1528
1535
  text: i,
1529
1536
  show: r,
1530
1537
  textSm: c
1531
- } = tt(), a = c === void 0 ? i.length > xe : c, h = i.length > xe;
1538
+ } = nt(), a = c === void 0 ? i.length > xe : c, h = i.length > xe;
1532
1539
  let u;
1533
1540
  t[0] !== o || t[1] !== s || t[2] !== r ? (u = (p) => {
1534
1541
  if (r)
@@ -1542,27 +1549,27 @@ const Bt = 10 * 1e3, Ft = 15 * 1e3, un = ({
1542
1549
  break e;
1543
1550
  }
1544
1551
  }
1545
- }, t[0] = o, t[1] = s, t[2] = r, t[3] = u) : u = t[3], nt(u);
1552
+ }, t[0] = o, t[1] = s, t[2] = r, t[3] = u) : u = t[3], ot(u);
1546
1553
  const f = h ? void 0 : "sm";
1547
1554
  let g;
1548
- t[4] !== a || t[5] !== i ? (g = /* @__PURE__ */ y(H.Header, { className: "justify-content-center", children: a ? /* @__PURE__ */ y(ot, { variant: "body", children: i }) : /* @__PURE__ */ y(H.Title, { children: i }) }), t[4] = a, t[5] = i, t[6] = g) : g = t[6];
1555
+ t[4] !== a || t[5] !== i ? (g = /* @__PURE__ */ y(W.Header, { className: "justify-content-center", children: a ? /* @__PURE__ */ y(Ae, { variant: "body", children: i }) : /* @__PURE__ */ y(W.Title, { children: i }) }), t[4] = a, t[5] = i, t[6] = g) : g = t[6];
1549
1556
  let w;
1550
1557
  t[7] !== n.no || t[8] !== o ? (w = /* @__PURE__ */ y(ie, { type: "button", variant: "outlined", color: "secondary", className: "w-100", onClick: o, children: n.no }), t[7] = n.no, t[8] = o, t[9] = w) : w = t[9];
1551
1558
  let b;
1552
1559
  t[10] !== n.yes || t[11] !== s ? (b = /* @__PURE__ */ y(ie, { type: "button", color: "primary", onClick: s, className: "w-100 ml", children: n.yes }), t[10] = n.yes, t[11] = s, t[12] = b) : b = t[12];
1553
1560
  let d;
1554
- t[13] !== w || t[14] !== b ? (d = /* @__PURE__ */ y(H.Body, { children: /* @__PURE__ */ R("div", { className: "w-100 d-flex gap-5", children: [
1561
+ t[13] !== w || t[14] !== b ? (d = /* @__PURE__ */ y(W.Body, { children: /* @__PURE__ */ A("div", { className: "w-100 d-flex gap-5", children: [
1555
1562
  w,
1556
1563
  b
1557
1564
  ] }) }), t[13] = w, t[14] = b, t[15] = d) : d = t[15];
1558
1565
  let S;
1559
- return t[16] !== o || t[17] !== r || t[18] !== f || t[19] !== g || t[20] !== d ? (S = /* @__PURE__ */ R(H, { show: r, size: f, centered: !0, onHide: o, children: [
1566
+ return t[16] !== o || t[17] !== r || t[18] !== f || t[19] !== g || t[20] !== d ? (S = /* @__PURE__ */ A(W, { show: r, size: f, centered: !0, onHide: o, children: [
1560
1567
  g,
1561
1568
  d
1562
1569
  ] }), t[16] = o, t[17] = r, t[18] = f, t[19] = g, t[20] = d, t[21] = S) : S = t[21], S;
1563
1570
  };
1564
1571
  export {
1565
- Me as ApiWebSocketContext,
1572
+ $e as ApiWebSocketContext,
1566
1573
  un as ApiWebSocketProvider,
1567
1574
  pe as AuthContext,
1568
1575
  cn as AuthProvider,
@@ -1570,13 +1577,13 @@ export {
1570
1577
  an as DelegationProvider,
1571
1578
  pn as FormDisabledContext,
1572
1579
  wn as FormDisabledProvider,
1573
- Xe as HelmetContext,
1580
+ Ke as HelmetContext,
1574
1581
  ln as HelmetProvider,
1575
- je as LoadingContext,
1582
+ Fe as LoadingContext,
1576
1583
  sn as LoadingProvider,
1577
1584
  ae as LuminusComponentsContext,
1578
1585
  on as LuminusComponentsProvider,
1579
- Fe as UserContext,
1586
+ ze as UserContext,
1580
1587
  rn as UserProvider,
1581
1588
  dn as useApiWebSocketContext,
1582
1589
  _n as useFormDisabledContext