react-luminus-components 2.0.5-beta.r19-25 → 2.0.5
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.
- package/dist/.vite/manifest.json +20 -9
- package/dist/contexts.cjs.js +1 -1
- package/dist/contexts.es.js +246 -242
- package/dist/hooks/useLocalStorageState/useLocalStorageState.d.ts +3 -0
- package/dist/hooks/usePersistentState/usePersistentState.d.ts +15 -1
- package/dist/hooks/useSearchQueryState/useSearchQueryState.d.ts +5 -4
- package/dist/hooks.cjs.js +1 -1
- package/dist/hooks.es.js +93 -92
- package/dist/main.cjs.js +2 -2
- package/dist/main.es.js +3 -2
- package/dist/queryStorage-C8e71gxx.js +30 -0
- package/dist/queryStorage-Dk70bkj7.cjs +1 -0
- package/dist/useIsFormDirty-BMSfF308.cjs +1 -0
- package/dist/useIsFormDirty-BdF5E9qQ.js +117 -0
- package/dist/utils.cjs.js +1 -1
- package/dist/utils.es.js +73 -98
- package/package.json +1 -1
- package/dist/useIsFormDirty-BhBtGgzZ.cjs +0 -1
- package/dist/useIsFormDirty-GgEve4W-.js +0 -123
package/dist/contexts.es.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as j, bK as ce, c as A, bL as ae, Q as J, am as ue, bM as se, a4 as O, aj as fe, R as V, bN as de, aq as me, ao as he, bc as re, bx as ie, be as G, ap as ge, bO as Se, aE as te, bP as xe, bQ as ye, an as ve, b7 as be, a5 as ke } from "./nivo-bar-BHzU38wt.js";
|
|
2
2
|
import { bR as ct, ag as at } from "./nivo-bar-BHzU38wt.js";
|
|
3
|
-
import { jsxs as D, jsx as
|
|
3
|
+
import { jsxs as D, jsx as b } from "react/jsx-runtime";
|
|
4
4
|
import { useState as _, useContext as H, useEffect as U, useRef as Q, useMemo as K, useCallback as Z } from "react";
|
|
5
5
|
import { EventType as ee, InteractionStatus as we, InteractionRequiredAuthError as Te } from "@azure/msal-browser";
|
|
6
6
|
import { useMsal as pe, MsalProvider as Ce } from "@azure/msal-react";
|
|
@@ -31,28 +31,28 @@ function Oe() {
|
|
|
31
31
|
const Ne = (t) => {
|
|
32
32
|
const e = A.c(10), {
|
|
33
33
|
children: l
|
|
34
|
-
} = t, [i, n] = _(!1), [a, o] = _(""), [
|
|
35
|
-
let
|
|
36
|
-
e[0] === Symbol.for("react.memo_cache_sentinel") ? (
|
|
37
|
-
n(!0), o(
|
|
38
|
-
}, e[0] =
|
|
39
|
-
const
|
|
34
|
+
} = t, [i, n] = _(!1), [a, o] = _(""), [r, x] = _(void 0);
|
|
35
|
+
let y;
|
|
36
|
+
e[0] === Symbol.for("react.memo_cache_sentinel") ? (y = (m, g) => {
|
|
37
|
+
n(!0), o(m), x(g);
|
|
38
|
+
}, e[0] = y) : y = e[0];
|
|
39
|
+
const f = y;
|
|
40
40
|
let S;
|
|
41
41
|
e[1] === Symbol.for("react.memo_cache_sentinel") ? (S = () => {
|
|
42
42
|
n(!1);
|
|
43
43
|
}, e[1] = S) : S = e[1];
|
|
44
|
-
const
|
|
45
|
-
let
|
|
46
|
-
e[2] !== i || e[3] !== a || e[4] !==
|
|
44
|
+
const d = S;
|
|
45
|
+
let s;
|
|
46
|
+
e[2] !== i || e[3] !== a || e[4] !== r ? (s = {
|
|
47
47
|
show: i,
|
|
48
48
|
text: a,
|
|
49
|
-
showConfirm:
|
|
50
|
-
hideConfirm:
|
|
51
|
-
textSm:
|
|
52
|
-
}, e[2] = i, e[3] = a, e[4] =
|
|
53
|
-
const c =
|
|
49
|
+
showConfirm: f,
|
|
50
|
+
hideConfirm: d,
|
|
51
|
+
textSm: r
|
|
52
|
+
}, e[2] = i, e[3] = a, e[4] = r, e[5] = s) : s = e[5];
|
|
53
|
+
const c = s;
|
|
54
54
|
let u;
|
|
55
|
-
e[6] === Symbol.for("react.memo_cache_sentinel") ? (u = /* @__PURE__ */
|
|
55
|
+
e[6] === Symbol.for("react.memo_cache_sentinel") ? (u = /* @__PURE__ */ b(ze, {}), e[6] = u) : u = e[6];
|
|
56
56
|
let h;
|
|
57
57
|
return e[7] !== l || e[8] !== c ? (h = /* @__PURE__ */ D(ae.Provider, { value: c, children: [
|
|
58
58
|
u,
|
|
@@ -69,63 +69,63 @@ const Ne = (t) => {
|
|
|
69
69
|
onFinish: a
|
|
70
70
|
} = ue(), {
|
|
71
71
|
options: o
|
|
72
|
-
} = H(se), [
|
|
73
|
-
let
|
|
74
|
-
t[0] !== a ? (
|
|
72
|
+
} = H(se), [r, x] = _(o.defaultValue ?? "");
|
|
73
|
+
let y;
|
|
74
|
+
t[0] !== a ? (y = () => {
|
|
75
75
|
a(null);
|
|
76
|
-
}, t[0] = a, t[1] =
|
|
77
|
-
const
|
|
76
|
+
}, t[0] = a, t[1] = y) : y = t[1];
|
|
77
|
+
const f = y;
|
|
78
78
|
let S;
|
|
79
|
-
t[2] !== a || t[3] !== o.required || t[4] !==
|
|
80
|
-
R.preventDefault(), !(o.required && !
|
|
81
|
-
}, t[2] = a, t[3] = o.required, t[4] =
|
|
82
|
-
const
|
|
83
|
-
let
|
|
84
|
-
t[6] === Symbol.for("react.memo_cache_sentinel") ? (
|
|
79
|
+
t[2] !== a || t[3] !== o.required || t[4] !== r ? (S = (R) => {
|
|
80
|
+
R.preventDefault(), !(o.required && !r) && (a(r), x(""));
|
|
81
|
+
}, t[2] = a, t[3] = o.required, t[4] = r, t[5] = S) : S = t[5];
|
|
82
|
+
const d = S;
|
|
83
|
+
let s;
|
|
84
|
+
t[6] === Symbol.for("react.memo_cache_sentinel") ? (s = (R) => x(R.currentTarget.value), t[6] = s) : s = t[6];
|
|
85
85
|
let c;
|
|
86
|
-
t[7] !==
|
|
87
|
-
value:
|
|
88
|
-
onChange:
|
|
86
|
+
t[7] !== r ? (c = {
|
|
87
|
+
value: r,
|
|
88
|
+
onChange: s,
|
|
89
89
|
className: "w-100",
|
|
90
90
|
autoFocus: !0,
|
|
91
91
|
tabIndex: 0
|
|
92
|
-
}, t[7] =
|
|
92
|
+
}, t[7] = r, t[8] = c) : c = t[8];
|
|
93
93
|
const u = c;
|
|
94
|
-
let h,
|
|
94
|
+
let h, m;
|
|
95
95
|
t[9] !== i || t[10] !== o.defaultValue ? (h = () => {
|
|
96
|
-
i === !0 &&
|
|
97
|
-
},
|
|
98
|
-
let
|
|
99
|
-
t[13] !== n ? (
|
|
100
|
-
let
|
|
101
|
-
t[15] !== u || t[16] !== o.input ? (
|
|
96
|
+
i === !0 && x(o.defaultValue ?? "");
|
|
97
|
+
}, m = [i, o.defaultValue], t[9] = i, t[10] = o.defaultValue, t[11] = h, t[12] = m) : (h = t[11], m = t[12]), U(h, m);
|
|
98
|
+
let g;
|
|
99
|
+
t[13] !== n ? (g = /* @__PURE__ */ b(O.Header, { className: "justify-content-center", children: /* @__PURE__ */ b(O.Title, { children: n }) }), t[13] = n, t[14] = g) : g = t[14];
|
|
100
|
+
let v;
|
|
101
|
+
t[15] !== u || t[16] !== o.input ? (v = o.input === "textarea" ? /* @__PURE__ */ b("textarea", { ...u, rows: 5 }) : void 0, t[15] = u, t[16] = o.input, t[17] = v) : v = t[17];
|
|
102
102
|
let w;
|
|
103
|
-
t[18] !== u || t[19] !== o.input || t[20] !== o.type ? (w = o.input === "input" ? /* @__PURE__ */
|
|
103
|
+
t[18] !== u || t[19] !== o.input || t[20] !== o.type ? (w = o.input === "input" ? /* @__PURE__ */ b(fe, { ...u, type: o.type }) : void 0, t[18] = u, t[19] = o.input, t[20] = o.type, t[21] = w) : w = t[21];
|
|
104
104
|
let k;
|
|
105
|
-
t[22] !==
|
|
106
|
-
|
|
105
|
+
t[22] !== v || t[23] !== w ? (k = /* @__PURE__ */ D(O.Body, { children: [
|
|
106
|
+
v,
|
|
107
107
|
w
|
|
108
|
-
] }), t[22] =
|
|
108
|
+
] }), t[22] = v, t[23] = w, t[24] = k) : k = t[24];
|
|
109
109
|
let P;
|
|
110
|
-
t[25] !== l.cancel || t[26] !==
|
|
111
|
-
const N = o.required && !
|
|
110
|
+
t[25] !== l.cancel || t[26] !== f ? (P = /* @__PURE__ */ b(V, { variant: "outlined", color: "secondary", onClick: f, className: "flex-grow-1", children: l.cancel }), t[25] = l.cancel, t[26] = f, t[27] = P) : P = t[27];
|
|
111
|
+
const N = o.required && !r;
|
|
112
112
|
let T;
|
|
113
|
-
t[28] !== l.confirm || t[29] !== N ? (T = /* @__PURE__ */
|
|
113
|
+
t[28] !== l.confirm || t[29] !== N ? (T = /* @__PURE__ */ b(V, { color: "primary", disabled: N, type: "submit", className: "flex-grow-1", children: l.confirm }), t[28] = l.confirm, t[29] = N, t[30] = T) : T = t[30];
|
|
114
114
|
let M;
|
|
115
115
|
t[31] !== P || t[32] !== T ? (M = /* @__PURE__ */ D(O.Footer, { className: "w-100 d-flex gap-5", children: [
|
|
116
116
|
P,
|
|
117
117
|
T
|
|
118
118
|
] }), t[31] = P, t[32] = T, t[33] = M) : M = t[33];
|
|
119
119
|
let p;
|
|
120
|
-
t[34] !==
|
|
120
|
+
t[34] !== d || t[35] !== k || t[36] !== M ? (p = /* @__PURE__ */ D("form", { onSubmit: d, onKeyDown: Ue, children: [
|
|
121
121
|
k,
|
|
122
122
|
M
|
|
123
|
-
] }), t[34] =
|
|
123
|
+
] }), t[34] = d, t[35] = k, t[36] = M, t[37] = p) : p = t[37];
|
|
124
124
|
let L;
|
|
125
|
-
return t[38] !== i || t[39] !==
|
|
126
|
-
|
|
125
|
+
return t[38] !== i || t[39] !== f || t[40] !== p || t[41] !== g ? (L = /* @__PURE__ */ D(O, { show: i, size: "sm", centered: !0, onHide: f, children: [
|
|
126
|
+
g,
|
|
127
127
|
p
|
|
128
|
-
] }), t[38] = i, t[39] =
|
|
128
|
+
] }), t[38] = i, t[39] = f, t[40] = p, t[41] = g, t[42] = L) : L = t[42], L;
|
|
129
129
|
};
|
|
130
130
|
function Ue(t) {
|
|
131
131
|
return t.stopPropagation();
|
|
@@ -134,40 +134,40 @@ const $e = (t) => {
|
|
|
134
134
|
const e = A.c(11), {
|
|
135
135
|
children: l
|
|
136
136
|
} = t, [i, n] = _(!1), [a, o] = _("");
|
|
137
|
-
let
|
|
138
|
-
e[0] === Symbol.for("react.memo_cache_sentinel") ? (
|
|
137
|
+
let r;
|
|
138
|
+
e[0] === Symbol.for("react.memo_cache_sentinel") ? (r = {
|
|
139
139
|
input: "textarea",
|
|
140
140
|
type: "text"
|
|
141
|
-
}, e[0] =
|
|
142
|
-
const [
|
|
141
|
+
}, e[0] = r) : r = e[0];
|
|
142
|
+
const [x, y] = _(r), f = Q(Ge);
|
|
143
143
|
let S;
|
|
144
|
-
e[1] === Symbol.for("react.memo_cache_sentinel") ? (S = (
|
|
145
|
-
o(
|
|
144
|
+
e[1] === Symbol.for("react.memo_cache_sentinel") ? (S = (v) => {
|
|
145
|
+
o(v), n(!0);
|
|
146
146
|
}, e[1] = S) : S = e[1];
|
|
147
|
-
const
|
|
148
|
-
let
|
|
149
|
-
e[2] === Symbol.for("react.memo_cache_sentinel") ? (
|
|
147
|
+
const d = S;
|
|
148
|
+
let s;
|
|
149
|
+
e[2] === Symbol.for("react.memo_cache_sentinel") ? (s = () => {
|
|
150
150
|
n(!1);
|
|
151
|
-
}, e[2] =
|
|
152
|
-
const c =
|
|
151
|
+
}, e[2] = s) : s = e[2];
|
|
152
|
+
const c = s;
|
|
153
153
|
let u;
|
|
154
|
-
e[3] !== i || e[4] !==
|
|
154
|
+
e[3] !== i || e[4] !== x || e[5] !== a ? (u = {
|
|
155
155
|
isShown: i,
|
|
156
156
|
text: a,
|
|
157
|
-
showPrompt:
|
|
157
|
+
showPrompt: d,
|
|
158
158
|
hidePrompt: c,
|
|
159
|
-
resolveRef:
|
|
160
|
-
options:
|
|
161
|
-
setOptions:
|
|
162
|
-
}, e[3] = i, e[4] =
|
|
159
|
+
resolveRef: f,
|
|
160
|
+
options: x,
|
|
161
|
+
setOptions: y
|
|
162
|
+
}, e[3] = i, e[4] = x, e[5] = a, e[6] = u) : u = e[6];
|
|
163
163
|
const h = u;
|
|
164
|
+
let m;
|
|
165
|
+
e[7] === Symbol.for("react.memo_cache_sentinel") ? (m = /* @__PURE__ */ b(Re, {}), e[7] = m) : m = e[7];
|
|
164
166
|
let g;
|
|
165
|
-
e[
|
|
166
|
-
let f;
|
|
167
|
-
return e[8] !== l || e[9] !== h ? (f = /* @__PURE__ */ D(se.Provider, { value: h, children: [
|
|
167
|
+
return e[8] !== l || e[9] !== h ? (g = /* @__PURE__ */ D(se.Provider, { value: h, children: [
|
|
168
168
|
l,
|
|
169
|
-
|
|
170
|
-
] }), e[8] = l, e[9] = h, e[10] =
|
|
169
|
+
m
|
|
170
|
+
] }), e[8] = l, e[9] = h, e[10] = g) : g = e[10], g;
|
|
171
171
|
};
|
|
172
172
|
function Ge() {
|
|
173
173
|
}
|
|
@@ -178,30 +178,30 @@ const et = (t) => {
|
|
|
178
178
|
language: n,
|
|
179
179
|
texts: a,
|
|
180
180
|
ProjectIconComponent: o,
|
|
181
|
-
localizationContext:
|
|
182
|
-
chartColorPalette:
|
|
183
|
-
children:
|
|
181
|
+
localizationContext: r,
|
|
182
|
+
chartColorPalette: x,
|
|
183
|
+
children: y
|
|
184
184
|
} = t;
|
|
185
|
-
let
|
|
186
|
-
e[0] !== o || e[1] !== i || e[2] !==
|
|
185
|
+
let f;
|
|
186
|
+
e[0] !== o || e[1] !== i || e[2] !== x || e[3] !== l || e[4] !== n || e[5] !== r || e[6] !== a ? (f = {
|
|
187
187
|
axiosOptions: i,
|
|
188
188
|
cookieDomain: l,
|
|
189
189
|
language: n,
|
|
190
190
|
texts: a,
|
|
191
191
|
ProjectIconComponent: o,
|
|
192
|
-
localizationContext:
|
|
193
|
-
chartColorPalette:
|
|
194
|
-
}, e[0] = o, e[1] = i, e[2] =
|
|
195
|
-
const S =
|
|
196
|
-
let
|
|
197
|
-
e[8] === Symbol.for("react.memo_cache_sentinel") ? (
|
|
198
|
-
let
|
|
199
|
-
e[9] !==
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
] }) }), e[9] =
|
|
192
|
+
localizationContext: r,
|
|
193
|
+
chartColorPalette: x
|
|
194
|
+
}, e[0] = o, e[1] = i, e[2] = x, e[3] = l, e[4] = n, e[5] = r, e[6] = a, e[7] = f) : f = e[7];
|
|
195
|
+
const S = f;
|
|
196
|
+
let d;
|
|
197
|
+
e[8] === Symbol.for("react.memo_cache_sentinel") ? (d = /* @__PURE__ */ b(de, {}), e[8] = d) : d = e[8];
|
|
198
|
+
let s;
|
|
199
|
+
e[9] !== y ? (s = /* @__PURE__ */ b(Ne, { children: /* @__PURE__ */ D($e, { children: [
|
|
200
|
+
d,
|
|
201
|
+
y
|
|
202
|
+
] }) }), e[9] = y, e[10] = s) : s = e[10];
|
|
203
203
|
let c;
|
|
204
|
-
return e[11] !== S || e[12] !==
|
|
204
|
+
return e[11] !== S || e[12] !== s ? (c = /* @__PURE__ */ b(J.Provider, { value: S, children: s }), e[11] = S, e[12] = s, e[13] = c) : c = e[13], c;
|
|
205
205
|
}, tt = (t) => {
|
|
206
206
|
const e = A.c(15), {
|
|
207
207
|
children: l
|
|
@@ -209,30 +209,30 @@ const et = (t) => {
|
|
|
209
209
|
let a;
|
|
210
210
|
e[0] === Symbol.for("react.memo_cache_sentinel") ? (a = /* @__PURE__ */ new Set(), e[0] = a) : a = e[0];
|
|
211
211
|
const [o] = _(a);
|
|
212
|
-
let
|
|
213
|
-
e[1] !== o ? (
|
|
212
|
+
let r;
|
|
213
|
+
e[1] !== o ? (r = (u) => {
|
|
214
214
|
o.add(u), n(!0);
|
|
215
|
-
}, e[1] = o, e[2] =
|
|
216
|
-
const
|
|
217
|
-
let
|
|
218
|
-
e[3] !== o ? (
|
|
215
|
+
}, e[1] = o, e[2] = r) : r = e[2];
|
|
216
|
+
const x = r;
|
|
217
|
+
let y;
|
|
218
|
+
e[3] !== o ? (y = (u) => {
|
|
219
219
|
o.delete(u), o.size === 0 && n(!1);
|
|
220
|
-
}, e[3] = o, e[4] =
|
|
221
|
-
const
|
|
220
|
+
}, e[3] = o, e[4] = y) : y = e[4];
|
|
221
|
+
const f = y;
|
|
222
222
|
let S;
|
|
223
|
-
e[5] !== i || e[6] !==
|
|
223
|
+
e[5] !== i || e[6] !== x || e[7] !== f ? (S = {
|
|
224
224
|
isLoading: i,
|
|
225
|
-
startLoading:
|
|
226
|
-
stopLoading:
|
|
227
|
-
}, e[5] = i, e[6] =
|
|
228
|
-
const
|
|
229
|
-
let
|
|
230
|
-
e[9] !== i ? (
|
|
225
|
+
startLoading: x,
|
|
226
|
+
stopLoading: f
|
|
227
|
+
}, e[5] = i, e[6] = x, e[7] = f, e[8] = S) : S = e[8];
|
|
228
|
+
const d = S;
|
|
229
|
+
let s;
|
|
230
|
+
e[9] !== i ? (s = i && /* @__PURE__ */ b(De, {}), e[9] = i, e[10] = s) : s = e[10];
|
|
231
231
|
let c;
|
|
232
|
-
return e[11] !== l || e[12] !==
|
|
233
|
-
|
|
232
|
+
return e[11] !== l || e[12] !== d || e[13] !== s ? (c = /* @__PURE__ */ D(me.Provider, { value: d, children: [
|
|
233
|
+
s,
|
|
234
234
|
l
|
|
235
|
-
] }), e[11] = l, e[12] =
|
|
235
|
+
] }), e[11] = l, e[12] = d, e[13] = s, e[14] = c) : c = e[14], c;
|
|
236
236
|
}, nt = (t) => {
|
|
237
237
|
const e = A.c(39), {
|
|
238
238
|
children: l
|
|
@@ -241,20 +241,20 @@ const et = (t) => {
|
|
|
241
241
|
getToken: a
|
|
242
242
|
} = H(re), {
|
|
243
243
|
delegation: o,
|
|
244
|
-
setDelegation:
|
|
245
|
-
setAvailableDelegations:
|
|
246
|
-
refreshAvailableDelegations:
|
|
247
|
-
} = H(ie), [
|
|
248
|
-
let
|
|
249
|
-
e[0] !== a ? (
|
|
244
|
+
setDelegation: r,
|
|
245
|
+
setAvailableDelegations: x,
|
|
246
|
+
refreshAvailableDelegations: y
|
|
247
|
+
} = H(ie), [f, S] = _(null);
|
|
248
|
+
let d;
|
|
249
|
+
e[0] !== a ? (d = async () => {
|
|
250
250
|
const C = await a();
|
|
251
251
|
C && S(C.token);
|
|
252
|
-
}, e[0] = a, e[1] =
|
|
253
|
-
const
|
|
252
|
+
}, e[0] = a, e[1] = d) : d = e[1];
|
|
253
|
+
const s = d;
|
|
254
254
|
let c, u;
|
|
255
|
-
e[2] !==
|
|
256
|
-
|
|
257
|
-
}, u = [
|
|
255
|
+
e[2] !== s ? (c = () => {
|
|
256
|
+
s();
|
|
257
|
+
}, u = [s], e[2] = s, e[3] = c, e[4] = u) : (c = e[3], u = e[4]), U(c, u);
|
|
258
258
|
let h;
|
|
259
259
|
if (e[5] === Symbol.for("react.memo_cache_sentinel")) {
|
|
260
260
|
e: {
|
|
@@ -268,13 +268,13 @@ const et = (t) => {
|
|
|
268
268
|
e[5] = h;
|
|
269
269
|
} else
|
|
270
270
|
h = e[5];
|
|
271
|
-
const
|
|
272
|
-
let
|
|
273
|
-
e[6] === Symbol.for("react.memo_cache_sentinel") ? (
|
|
274
|
-
state:
|
|
275
|
-
user:
|
|
276
|
-
}, e[6] =
|
|
277
|
-
const [
|
|
271
|
+
const m = h;
|
|
272
|
+
let g;
|
|
273
|
+
e[6] === Symbol.for("react.memo_cache_sentinel") ? (g = {
|
|
274
|
+
state: m ? G.LOGGED_IN : G.LOGGED_OUT,
|
|
275
|
+
user: m
|
|
276
|
+
}, e[6] = g) : g = e[6];
|
|
277
|
+
const [v, w] = _(g);
|
|
278
278
|
let k;
|
|
279
279
|
e[7] !== i ? (k = async (C) => {
|
|
280
280
|
let E = null;
|
|
@@ -290,15 +290,15 @@ const et = (t) => {
|
|
|
290
290
|
}, e[7] = i, e[8] = k) : k = e[8];
|
|
291
291
|
const P = k;
|
|
292
292
|
let N;
|
|
293
|
-
e[9] !==
|
|
293
|
+
e[9] !== x || e[10] !== r ? (N = () => {
|
|
294
294
|
localStorage.removeItem("user"), w({
|
|
295
295
|
state: G.LOGGED_OUT,
|
|
296
296
|
user: null
|
|
297
|
-
}),
|
|
298
|
-
}, e[9] =
|
|
297
|
+
}), r(null), x(null);
|
|
298
|
+
}, e[9] = x, e[10] = r, e[11] = N) : N = e[11];
|
|
299
299
|
const T = N;
|
|
300
300
|
let M;
|
|
301
|
-
e[12] !== P || e[13] !==
|
|
301
|
+
e[12] !== P || e[13] !== y ? (M = async (C) => {
|
|
302
302
|
w({
|
|
303
303
|
state: G.LOGGING_IN,
|
|
304
304
|
user: null
|
|
@@ -307,11 +307,11 @@ const et = (t) => {
|
|
|
307
307
|
return E ? (w({
|
|
308
308
|
state: G.LOGGED_IN,
|
|
309
309
|
user: E
|
|
310
|
-
}), localStorage.setItem("user", JSON.stringify(E)), await
|
|
310
|
+
}), localStorage.setItem("user", JSON.stringify(E)), await y(), !0) : (w({
|
|
311
311
|
state: G.LOGIN_FAILED,
|
|
312
312
|
user: null
|
|
313
313
|
}), !1);
|
|
314
|
-
}, e[12] = P, e[13] =
|
|
314
|
+
}, e[12] = P, e[13] = y, e[14] = M) : M = e[14];
|
|
315
315
|
const p = M;
|
|
316
316
|
let L;
|
|
317
317
|
e[15] !== n ? (L = () => {
|
|
@@ -331,43 +331,43 @@ const et = (t) => {
|
|
|
331
331
|
let R;
|
|
332
332
|
e[17] !== p || e[18] !== T || e[19] !== n ? (R = [n, p, T], e[17] = p, e[18] = T, e[19] = n, e[20] = R) : R = e[20], U(L, R);
|
|
333
333
|
let I;
|
|
334
|
-
e[21] !== p || e[22] !== T || e[23] !==
|
|
334
|
+
e[21] !== p || e[22] !== T || e[23] !== r ? (I = async (C) => {
|
|
335
335
|
C && await p(C).catch(() => {
|
|
336
|
-
T(),
|
|
336
|
+
T(), r(null);
|
|
337
337
|
});
|
|
338
|
-
}, e[21] = p, e[22] = T, e[23] =
|
|
338
|
+
}, e[21] = p, e[22] = T, e[23] = r, e[24] = I) : I = e[24];
|
|
339
339
|
const $ = I;
|
|
340
340
|
let q;
|
|
341
|
-
e[25] !==
|
|
342
|
-
$(
|
|
343
|
-
}, e[25] =
|
|
341
|
+
e[25] !== f || e[26] !== $ ? (q = () => {
|
|
342
|
+
$(f);
|
|
343
|
+
}, e[25] = f, e[26] = $, e[27] = q) : q = e[27];
|
|
344
344
|
const W = o == null ? void 0 : o.id;
|
|
345
|
-
let F;
|
|
346
|
-
e[28] !== d || e[29] !== $ || e[30] !== W ? (F = [d, W, $], e[28] = d, e[29] = $, e[30] = W, e[31] = F) : F = e[31], U(q, F);
|
|
347
345
|
let z;
|
|
348
|
-
e[
|
|
349
|
-
|
|
350
|
-
|
|
346
|
+
e[28] !== f || e[29] !== $ || e[30] !== W ? (z = [f, W, $], e[28] = f, e[29] = $, e[30] = W, e[31] = z) : z = e[31], U(q, z);
|
|
347
|
+
let F;
|
|
348
|
+
e[32] !== p || e[33] !== T || e[34] !== v ? (F = {
|
|
349
|
+
user: v.user,
|
|
350
|
+
userLoginState: v,
|
|
351
351
|
loginUser: p,
|
|
352
352
|
logoutUser: T
|
|
353
|
-
}, e[32] = p, e[33] = T, e[34] =
|
|
354
|
-
const X =
|
|
353
|
+
}, e[32] = p, e[33] = T, e[34] = v, e[35] = F) : F = e[35];
|
|
354
|
+
const X = F;
|
|
355
355
|
let B;
|
|
356
|
-
return e[36] !== l || e[37] !== X ? (B = /* @__PURE__ */
|
|
356
|
+
return e[36] !== l || e[37] !== X ? (B = /* @__PURE__ */ b(ge.Provider, { value: X, children: l }), e[36] = l, e[37] = X, e[38] = B) : B = e[38], B;
|
|
357
357
|
};
|
|
358
358
|
function He() {
|
|
359
359
|
}
|
|
360
360
|
const ne = () => {
|
|
361
361
|
const t = A.c(2);
|
|
362
362
|
let e;
|
|
363
|
-
t[0] === Symbol.for("react.memo_cache_sentinel") ? (e = /* @__PURE__ */
|
|
363
|
+
t[0] === Symbol.for("react.memo_cache_sentinel") ? (e = /* @__PURE__ */ b("p", { children: "Redirecting..." }), t[0] = e) : e = t[0];
|
|
364
364
|
let l;
|
|
365
365
|
return t[1] === Symbol.for("react.memo_cache_sentinel") ? (l = /* @__PURE__ */ D("div", { children: [
|
|
366
366
|
e,
|
|
367
367
|
/* @__PURE__ */ D("p", { children: [
|
|
368
368
|
"If you are not redirected within 10 seconds, please click",
|
|
369
369
|
" ",
|
|
370
|
-
/* @__PURE__ */
|
|
370
|
+
/* @__PURE__ */ b("a", { href: window.location.href.replace("/blank", "/"), children: "here" })
|
|
371
371
|
] })
|
|
372
372
|
] }), t[1] = l) : l = t[1], l;
|
|
373
373
|
}, Ie = (t) => {
|
|
@@ -396,19 +396,19 @@ const ne = () => {
|
|
|
396
396
|
() => t.useMsal ? t.msalExtraScopes : [],
|
|
397
397
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
398
398
|
[t.useMsal, t.useMsal ? t.msalExtraScopes : null]
|
|
399
|
-
),
|
|
400
|
-
const
|
|
401
|
-
return
|
|
402
|
-
token:
|
|
399
|
+
), r = Q(null), x = Q(!1), y = Z(() => {
|
|
400
|
+
const s = localStorage.getItem("token");
|
|
401
|
+
return s ? {
|
|
402
|
+
token: s,
|
|
403
403
|
expiresOn: Pe(new Date(Date.now()), 1)
|
|
404
404
|
} : null;
|
|
405
|
-
}, []),
|
|
405
|
+
}, []), f = Z(async () => {
|
|
406
406
|
if (console.log("getTokenMsal"), n == null)
|
|
407
407
|
throw console.log("getTokenMsal throwing error because msalInstance is null"), new Error("getTokenMsal: msalInstance is null");
|
|
408
|
-
if (
|
|
409
|
-
return console.log("getTokenMsal returning tokenRequestPromise.current",
|
|
410
|
-
const
|
|
411
|
-
const h = () => {
|
|
408
|
+
if (r.current)
|
|
409
|
+
return console.log("getTokenMsal returning tokenRequestPromise.current", r.current), r.current;
|
|
410
|
+
const s = new Promise((c, u) => {
|
|
411
|
+
const h = (m) => {
|
|
412
412
|
const g = Ie(n);
|
|
413
413
|
if (!g) {
|
|
414
414
|
console.log("getTokenMsal no account found. Redirecting to login"), n == null || n.loginRedirect({
|
|
@@ -421,37 +421,41 @@ const ne = () => {
|
|
|
421
421
|
scopes: a,
|
|
422
422
|
account: g,
|
|
423
423
|
redirectUri: t.useMsal ? t.msalSilentRedirectUri : void 0
|
|
424
|
-
}).then((
|
|
425
|
-
|
|
426
|
-
token:
|
|
427
|
-
expiresOn:
|
|
424
|
+
}).then((v) => {
|
|
425
|
+
m(), c({
|
|
426
|
+
token: v.accessToken,
|
|
427
|
+
expiresOn: v.expiresOn ?? new Date(Date.now())
|
|
428
428
|
});
|
|
429
|
-
}).catch((
|
|
430
|
-
console.error("Error acquiring token",
|
|
429
|
+
}).catch((v) => {
|
|
430
|
+
console.error("Error acquiring token", v), v instanceof Te && (console.log("Silent token acquisition failed. Acquiring token using redirect"), n == null || n.acquireTokenRedirect({
|
|
431
431
|
scopes: a,
|
|
432
432
|
extraScopesToConsent: o
|
|
433
|
-
}),
|
|
433
|
+
}), m(), c(null)), m(), u(v);
|
|
434
434
|
}).finally(() => {
|
|
435
|
-
|
|
435
|
+
m(), u(new Error("No access token returned from handleRedirectPromise"));
|
|
436
436
|
});
|
|
437
437
|
};
|
|
438
438
|
if (console.log("getTokenMsal promise"), e !== we.None) {
|
|
439
439
|
console.log("getTokenMsal rejecting because inProgress !== InteractionStatus.None", e), u(new Error("Authentication in progress"));
|
|
440
440
|
return;
|
|
441
441
|
}
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
442
|
+
x.current ? h(() => {
|
|
443
|
+
r.current = null;
|
|
444
|
+
}) : n.handleRedirectPromise().then((m) => {
|
|
445
|
+
if (console.log("getTokenMsal tokenResponse", m), !(m != null && m.accessToken)) {
|
|
446
|
+
h(() => {
|
|
447
|
+
r.current = null, x.current = !0;
|
|
448
|
+
});
|
|
445
449
|
return;
|
|
446
450
|
}
|
|
447
|
-
|
|
448
|
-
token:
|
|
449
|
-
expiresOn:
|
|
451
|
+
r.current = null, x.current = !0, c({
|
|
452
|
+
token: m.accessToken,
|
|
453
|
+
expiresOn: m.expiresOn ?? new Date(Date.now())
|
|
450
454
|
});
|
|
451
455
|
});
|
|
452
456
|
});
|
|
453
|
-
return
|
|
454
|
-
}, [e, o, n, a, t.msalSilentRedirectUri, t.useMsal]), S = Z(async () => t.useMsal ?
|
|
457
|
+
return r.current = s, s;
|
|
458
|
+
}, [e, o, n, a, t.msalSilentRedirectUri, t.useMsal]), S = Z(async () => t.useMsal ? f() : y(), [y, f, t.useMsal]), d = K(() => ({
|
|
455
459
|
useMsal: t.useMsal ?? !1,
|
|
456
460
|
msalInstance: n,
|
|
457
461
|
msalScopes: a,
|
|
@@ -460,37 +464,37 @@ const ne = () => {
|
|
|
460
464
|
}), [t.useMsal, n, a, o, S]);
|
|
461
465
|
return U(() => {
|
|
462
466
|
if (t.useMsal && n) {
|
|
463
|
-
const
|
|
467
|
+
const s = n.addEventCallback((c) => {
|
|
464
468
|
if (c.eventType === ee.LOGIN_SUCCESS || c.eventType === ee.ACQUIRE_TOKEN_SUCCESS && c.payload) {
|
|
465
469
|
const u = c.payload, h = u.account;
|
|
466
470
|
n.setActiveAccount(h);
|
|
467
|
-
const
|
|
468
|
-
i("Authorization",
|
|
471
|
+
const m = u.accessToken, g = u.expiresOn;
|
|
472
|
+
i("Authorization", m, {
|
|
469
473
|
path: "/",
|
|
470
474
|
secure: !0,
|
|
471
475
|
sameSite: "none",
|
|
472
476
|
domain: l,
|
|
473
|
-
expires:
|
|
477
|
+
expires: g ?? void 0
|
|
474
478
|
});
|
|
475
479
|
}
|
|
476
480
|
c.error && console.error("AuthProvider MSAL Error", c);
|
|
477
481
|
});
|
|
478
482
|
return () => {
|
|
479
|
-
|
|
483
|
+
s && n.removeEventCallback(s);
|
|
480
484
|
};
|
|
481
485
|
}
|
|
482
486
|
return () => {
|
|
483
487
|
};
|
|
484
|
-
}, [t.useMsal, n, i, l]), /* @__PURE__ */
|
|
488
|
+
}, [t.useMsal, n, i, l]), /* @__PURE__ */ b(re.Provider, { value: d, children: t.useMsal ? /* @__PURE__ */ b(Ce, { instance: t.msalInstance, children: window.location.pathname === "/blank" ? /* @__PURE__ */ b(ne, {}) : t.children }) : window.location.pathname === "/blank" ? /* @__PURE__ */ b(ne, {}) : t.children });
|
|
485
489
|
}, lt = (t) => {
|
|
486
490
|
const e = A.c(18), {
|
|
487
491
|
children: l,
|
|
488
492
|
relativeEndpoint: i
|
|
489
493
|
} = t, [n, a, o] = _e("user-delegation", null);
|
|
490
|
-
let
|
|
494
|
+
let r;
|
|
491
495
|
e: {
|
|
492
496
|
if (!n) {
|
|
493
|
-
|
|
497
|
+
r = null;
|
|
494
498
|
break e;
|
|
495
499
|
}
|
|
496
500
|
const k = n.from ? te(n.from) : Oe(), P = n.to ? te(n.to) : Ae();
|
|
@@ -498,31 +502,31 @@ const ne = () => {
|
|
|
498
502
|
start: k,
|
|
499
503
|
end: P
|
|
500
504
|
})) {
|
|
501
|
-
a(null),
|
|
505
|
+
a(null), r = null;
|
|
502
506
|
break e;
|
|
503
507
|
}
|
|
504
|
-
|
|
508
|
+
r = n;
|
|
505
509
|
}
|
|
506
|
-
const
|
|
507
|
-
let
|
|
508
|
-
e[0] === Symbol.for("react.memo_cache_sentinel") ? (
|
|
510
|
+
const x = r;
|
|
511
|
+
let y;
|
|
512
|
+
e[0] === Symbol.for("react.memo_cache_sentinel") ? (y = {
|
|
509
513
|
nullStateBeforeLoad: !1,
|
|
510
514
|
nullStateOnFail: !0
|
|
511
|
-
}, e[0] =
|
|
515
|
+
}, e[0] = y) : y = e[0];
|
|
512
516
|
const {
|
|
513
|
-
data:
|
|
517
|
+
data: f,
|
|
514
518
|
setData: S,
|
|
515
|
-
reloadData:
|
|
516
|
-
} = Me(i,
|
|
519
|
+
reloadData: d
|
|
520
|
+
} = Me(i, y), s = Q(null);
|
|
517
521
|
let c, u;
|
|
518
|
-
e[1] !==
|
|
522
|
+
e[1] !== d ? (c = () => {
|
|
519
523
|
const k = () => {
|
|
520
|
-
|
|
524
|
+
d(), s.current = window.setTimeout(k, xe() + 5e3);
|
|
521
525
|
};
|
|
522
526
|
return k(), () => {
|
|
523
|
-
|
|
527
|
+
s.current !== null && window.clearTimeout(s.current);
|
|
524
528
|
};
|
|
525
|
-
}, u = [
|
|
529
|
+
}, u = [d], e[1] = d, e[2] = c, e[3] = u) : (c = e[2], u = e[3]), U(c, u);
|
|
526
530
|
let h;
|
|
527
531
|
e[4] !== o ? (h = () => {
|
|
528
532
|
const k = () => {
|
|
@@ -532,19 +536,19 @@ const ne = () => {
|
|
|
532
536
|
window.removeEventListener("focus", k);
|
|
533
537
|
};
|
|
534
538
|
}, e[4] = o, e[5] = h) : h = e[5];
|
|
539
|
+
let m;
|
|
540
|
+
e[6] !== o || e[7] !== d ? (m = [o, d], e[6] = o, e[7] = d, e[8] = m) : m = e[8], U(h, m);
|
|
535
541
|
let g;
|
|
536
|
-
e[
|
|
537
|
-
|
|
538
|
-
e[9] !== d || e[10] !== m || e[11] !== S || e[12] !== a || e[13] !== y ? (f = {
|
|
539
|
-
delegation: y,
|
|
542
|
+
e[9] !== f || e[10] !== d || e[11] !== S || e[12] !== a || e[13] !== x ? (g = {
|
|
543
|
+
delegation: x,
|
|
540
544
|
setDelegation: a,
|
|
541
|
-
availableDelegations:
|
|
545
|
+
availableDelegations: f,
|
|
542
546
|
setAvailableDelegations: S,
|
|
543
|
-
refreshAvailableDelegations:
|
|
544
|
-
}, e[9] =
|
|
545
|
-
const
|
|
547
|
+
refreshAvailableDelegations: d
|
|
548
|
+
}, e[9] = f, e[10] = d, e[11] = S, e[12] = a, e[13] = x, e[14] = g) : g = e[14];
|
|
549
|
+
const v = g;
|
|
546
550
|
let w;
|
|
547
|
-
return e[15] !== l || e[16] !==
|
|
551
|
+
return e[15] !== l || e[16] !== v ? (w = /* @__PURE__ */ b(ie.Provider, { value: v, children: l }), e[15] = l, e[16] = v, e[17] = w) : w = e[17], w;
|
|
548
552
|
}, oe = (t, e) => t ? `${t} | ${e}` : e, st = (t) => {
|
|
549
553
|
const e = A.c(18), {
|
|
550
554
|
defaultHelmet: l,
|
|
@@ -553,40 +557,40 @@ const ne = () => {
|
|
|
553
557
|
} = t, a = n ?? "";
|
|
554
558
|
let o;
|
|
555
559
|
e[0] !== l || e[1] !== a ? (o = oe(a, l), e[0] = l, e[1] = a, e[2] = o) : o = e[2];
|
|
556
|
-
let
|
|
557
|
-
e[3] !== o ? (
|
|
558
|
-
const [
|
|
560
|
+
let r;
|
|
561
|
+
e[3] !== o ? (r = [o], e[3] = o, e[4] = r) : r = e[4];
|
|
562
|
+
const [x, y] = _(r);
|
|
563
|
+
let f;
|
|
564
|
+
e[5] !== n ? (f = (w) => {
|
|
565
|
+
y((k) => [...k, oe(n ?? "", w)]);
|
|
566
|
+
}, e[5] = n, e[6] = f) : f = e[6];
|
|
567
|
+
const S = f;
|
|
559
568
|
let d;
|
|
560
|
-
e[
|
|
561
|
-
|
|
562
|
-
}, e[
|
|
563
|
-
const
|
|
564
|
-
let m;
|
|
565
|
-
e[7] === Symbol.for("react.memo_cache_sentinel") ? (m = () => {
|
|
566
|
-
x(qe);
|
|
567
|
-
}, e[7] = m) : m = e[7];
|
|
568
|
-
const r = m;
|
|
569
|
+
e[7] === Symbol.for("react.memo_cache_sentinel") ? (d = () => {
|
|
570
|
+
y(qe);
|
|
571
|
+
}, e[7] = d) : d = e[7];
|
|
572
|
+
const s = d;
|
|
569
573
|
let c;
|
|
570
|
-
e[8] !==
|
|
574
|
+
e[8] !== x ? (c = x.at(-1) ?? "", e[8] = x, e[9] = c) : c = e[9];
|
|
571
575
|
const u = c;
|
|
572
576
|
let h;
|
|
573
577
|
e[10] !== S ? (h = {
|
|
574
578
|
addHelmet: S,
|
|
575
|
-
removeHelmet:
|
|
579
|
+
removeHelmet: s
|
|
576
580
|
}, e[10] = S, e[11] = h) : h = e[11];
|
|
577
|
-
const
|
|
578
|
-
let
|
|
579
|
-
e[12] !== u ? (
|
|
580
|
-
let
|
|
581
|
-
return e[14] !== i || e[15] !==
|
|
582
|
-
|
|
581
|
+
const m = h;
|
|
582
|
+
let g;
|
|
583
|
+
e[12] !== u ? (g = /* @__PURE__ */ b("title", { children: u }), e[12] = u, e[13] = g) : g = e[13];
|
|
584
|
+
let v;
|
|
585
|
+
return e[14] !== i || e[15] !== m || e[16] !== g ? (v = /* @__PURE__ */ D(ye.Provider, { value: m, children: [
|
|
586
|
+
g,
|
|
583
587
|
i
|
|
584
|
-
] }), e[14] = i, e[15] =
|
|
588
|
+
] }), e[14] = i, e[15] = m, e[16] = g, e[17] = v) : v = e[17], v;
|
|
585
589
|
};
|
|
586
590
|
function qe(t) {
|
|
587
591
|
return t.length > 1 ? t.slice(0, -1) : t;
|
|
588
592
|
}
|
|
589
|
-
const le = 50,
|
|
593
|
+
const le = 50, ze = () => {
|
|
590
594
|
const t = A.c(22), {
|
|
591
595
|
texts: e
|
|
592
596
|
} = H(J), {
|
|
@@ -596,39 +600,39 @@ const le = 50, Fe = () => {
|
|
|
596
600
|
onCancel: n,
|
|
597
601
|
text: a,
|
|
598
602
|
show: o,
|
|
599
|
-
textSm:
|
|
600
|
-
} = ve(),
|
|
601
|
-
let
|
|
602
|
-
t[0] !== n || t[1] !== i || t[2] !== o ? (
|
|
603
|
+
textSm: r
|
|
604
|
+
} = ve(), x = r === void 0 ? a.length > le : r, y = a.length > le;
|
|
605
|
+
let f;
|
|
606
|
+
t[0] !== n || t[1] !== i || t[2] !== o ? (f = (g) => {
|
|
603
607
|
if (o)
|
|
604
|
-
e: switch (
|
|
608
|
+
e: switch (g.key) {
|
|
605
609
|
case "Enter": {
|
|
606
|
-
|
|
610
|
+
g.preventDefault(), g.stopPropagation(), i();
|
|
607
611
|
break e;
|
|
608
612
|
}
|
|
609
613
|
case "Escape": {
|
|
610
|
-
|
|
614
|
+
g.preventDefault(), g.stopPropagation(), n();
|
|
611
615
|
break e;
|
|
612
616
|
}
|
|
613
617
|
}
|
|
614
|
-
}, t[0] = n, t[1] = i, t[2] = o, t[3] =
|
|
615
|
-
const
|
|
616
|
-
let
|
|
617
|
-
t[4] !==
|
|
618
|
+
}, t[0] = n, t[1] = i, t[2] = o, t[3] = f) : f = t[3], be(f);
|
|
619
|
+
const d = y ? void 0 : "sm";
|
|
620
|
+
let s;
|
|
621
|
+
t[4] !== x || t[5] !== a ? (s = /* @__PURE__ */ b(O.Header, { className: "justify-content-center", children: x ? /* @__PURE__ */ b(ke, { variant: "body", children: a }) : /* @__PURE__ */ b(O.Title, { children: a }) }), t[4] = x, t[5] = a, t[6] = s) : s = t[6];
|
|
618
622
|
let c;
|
|
619
|
-
t[7] !== l.no || t[8] !== n ? (c = /* @__PURE__ */
|
|
623
|
+
t[7] !== l.no || t[8] !== n ? (c = /* @__PURE__ */ b(V, { type: "button", variant: "outlined", color: "secondary", className: "w-100", onClick: n, children: l.no }), t[7] = l.no, t[8] = n, t[9] = c) : c = t[9];
|
|
620
624
|
let u;
|
|
621
|
-
t[10] !== l.yes || t[11] !== i ? (u = /* @__PURE__ */
|
|
625
|
+
t[10] !== l.yes || t[11] !== i ? (u = /* @__PURE__ */ b(V, { type: "button", color: "primary", onClick: i, className: "w-100 ml", children: l.yes }), t[10] = l.yes, t[11] = i, t[12] = u) : u = t[12];
|
|
622
626
|
let h;
|
|
623
|
-
t[13] !== c || t[14] !== u ? (h = /* @__PURE__ */
|
|
627
|
+
t[13] !== c || t[14] !== u ? (h = /* @__PURE__ */ b(O.Body, { children: /* @__PURE__ */ D("div", { className: "w-100 d-flex gap-5", children: [
|
|
624
628
|
c,
|
|
625
629
|
u
|
|
626
630
|
] }) }), t[13] = c, t[14] = u, t[15] = h) : h = t[15];
|
|
627
|
-
let
|
|
628
|
-
return t[16] !== n || t[17] !== o || t[18] !==
|
|
629
|
-
|
|
631
|
+
let m;
|
|
632
|
+
return t[16] !== n || t[17] !== o || t[18] !== d || t[19] !== s || t[20] !== h ? (m = /* @__PURE__ */ D(O, { show: o, size: d, centered: !0, onHide: n, children: [
|
|
633
|
+
s,
|
|
630
634
|
h
|
|
631
|
-
] }), t[16] = n, t[17] = o, t[18] =
|
|
635
|
+
] }), t[16] = n, t[17] = o, t[18] = d, t[19] = s, t[20] = h, t[21] = m) : m = t[21], m;
|
|
632
636
|
};
|
|
633
637
|
export {
|
|
634
638
|
re as AuthContext,
|