@tracktor/shared-module 0.2.1 → 0.4.0
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/CHANGELOG.md +2 -2
- package/dist/components/GTMSendPageView/GTMSendPageView.d.ts +8 -0
- package/dist/components/GTMSendPageView/index.d.ts +3 -0
- package/dist/components/RequireAuth/RequireAuth.d.ts +40 -20
- package/dist/context/InjectDependenciesProvider.d.ts +31 -9
- package/dist/hooks/useResponseError/useResponseError.d.ts +2 -1
- package/dist/main.d.ts +2 -0
- package/dist/main.js +341 -297
- package/dist/main.umd.cjs +10 -10
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import
|
|
2
|
-
var
|
|
1
|
+
import Fe, { createContext as lr, useMemo as dr, useContext as oe, useState as vr, useLayoutEffect as pr, Suspense as gr, useEffect as hr, useCallback as Er } from "react";
|
|
2
|
+
var ae = {}, mr = {
|
|
3
3
|
get exports() {
|
|
4
|
-
return
|
|
4
|
+
return ae;
|
|
5
5
|
},
|
|
6
|
-
set exports(
|
|
7
|
-
|
|
6
|
+
set exports(f) {
|
|
7
|
+
ae = f;
|
|
8
8
|
}
|
|
9
|
-
},
|
|
9
|
+
}, Y = {};
|
|
10
10
|
/**
|
|
11
11
|
* @license React
|
|
12
12
|
* react-jsx-runtime.production.min.js
|
|
@@ -16,23 +16,23 @@ var ee = {}, pr = {
|
|
|
16
16
|
* This source code is licensed under the MIT license found in the
|
|
17
17
|
* LICENSE file in the root directory of this source tree.
|
|
18
18
|
*/
|
|
19
|
-
var
|
|
20
|
-
function
|
|
21
|
-
if (
|
|
22
|
-
return
|
|
23
|
-
|
|
24
|
-
var
|
|
25
|
-
function i(
|
|
26
|
-
var
|
|
27
|
-
w !== void 0 && (
|
|
28
|
-
for (
|
|
29
|
-
|
|
30
|
-
if (
|
|
31
|
-
for (
|
|
32
|
-
h
|
|
33
|
-
return { $$typeof:
|
|
19
|
+
var Ae;
|
|
20
|
+
function yr() {
|
|
21
|
+
if (Ae)
|
|
22
|
+
return Y;
|
|
23
|
+
Ae = 1;
|
|
24
|
+
var f = Fe, E = Symbol.for("react.element"), m = Symbol.for("react.fragment"), y = Object.prototype.hasOwnProperty, v = f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, l = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
25
|
+
function i(b, d, w) {
|
|
26
|
+
var h, _ = {}, O = null, T = null;
|
|
27
|
+
w !== void 0 && (O = "" + w), d.key !== void 0 && (O = "" + d.key), d.ref !== void 0 && (T = d.ref);
|
|
28
|
+
for (h in d)
|
|
29
|
+
y.call(d, h) && !l.hasOwnProperty(h) && (_[h] = d[h]);
|
|
30
|
+
if (b && b.defaultProps)
|
|
31
|
+
for (h in d = b.defaultProps, d)
|
|
32
|
+
_[h] === void 0 && (_[h] = d[h]);
|
|
33
|
+
return { $$typeof: E, type: b, key: O, ref: T, props: _, _owner: v.current };
|
|
34
34
|
}
|
|
35
|
-
return
|
|
35
|
+
return Y.Fragment = m, Y.jsx = i, Y.jsxs = i, Y;
|
|
36
36
|
}
|
|
37
37
|
var W = {};
|
|
38
38
|
/**
|
|
@@ -44,91 +44,91 @@ var W = {};
|
|
|
44
44
|
* This source code is licensed under the MIT license found in the
|
|
45
45
|
* LICENSE file in the root directory of this source tree.
|
|
46
46
|
*/
|
|
47
|
-
var
|
|
48
|
-
function
|
|
49
|
-
return
|
|
50
|
-
var
|
|
51
|
-
function
|
|
47
|
+
var De;
|
|
48
|
+
function br() {
|
|
49
|
+
return De || (De = 1, process.env.NODE_ENV !== "production" && function() {
|
|
50
|
+
var f = Fe, E = Symbol.for("react.element"), m = Symbol.for("react.portal"), y = Symbol.for("react.fragment"), v = Symbol.for("react.strict_mode"), l = Symbol.for("react.profiler"), i = Symbol.for("react.provider"), b = Symbol.for("react.context"), d = Symbol.for("react.forward_ref"), w = Symbol.for("react.suspense"), h = Symbol.for("react.suspense_list"), _ = Symbol.for("react.memo"), O = Symbol.for("react.lazy"), T = Symbol.for("react.offscreen"), x = Symbol.iterator, k = "@@iterator";
|
|
51
|
+
function M(e) {
|
|
52
52
|
if (e === null || typeof e != "object")
|
|
53
53
|
return null;
|
|
54
|
-
var r =
|
|
54
|
+
var r = x && e[x] || e[k];
|
|
55
55
|
return typeof r == "function" ? r : null;
|
|
56
56
|
}
|
|
57
|
-
var
|
|
58
|
-
function
|
|
57
|
+
var C = f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
58
|
+
function u(e) {
|
|
59
59
|
{
|
|
60
60
|
for (var r = arguments.length, t = new Array(r > 1 ? r - 1 : 0), n = 1; n < r; n++)
|
|
61
61
|
t[n - 1] = arguments[n];
|
|
62
|
-
|
|
62
|
+
ie("error", e, t);
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
|
-
function
|
|
65
|
+
function ie(e, r, t) {
|
|
66
66
|
{
|
|
67
|
-
var n =
|
|
68
|
-
|
|
69
|
-
var
|
|
67
|
+
var n = C.ReactDebugCurrentFrame, s = n.getStackAddendum();
|
|
68
|
+
s !== "" && (r += "%s", t = t.concat([s]));
|
|
69
|
+
var c = t.map(function(o) {
|
|
70
70
|
return String(o);
|
|
71
71
|
});
|
|
72
|
-
|
|
72
|
+
c.unshift("Warning: " + r), Function.prototype.apply.call(console[e], console, c);
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
|
-
var
|
|
76
|
-
|
|
77
|
-
function
|
|
78
|
-
return !!(typeof e == "string" || typeof e == "function" || e ===
|
|
75
|
+
var ue = !1, N = !1, Ie = !1, $e = !1, Le = !1, se;
|
|
76
|
+
se = Symbol.for("react.module.reference");
|
|
77
|
+
function Ye(e) {
|
|
78
|
+
return !!(typeof e == "string" || typeof e == "function" || e === y || e === l || Le || e === v || e === w || e === h || $e || e === T || ue || N || Ie || typeof e == "object" && e !== null && (e.$$typeof === O || e.$$typeof === _ || e.$$typeof === i || e.$$typeof === b || e.$$typeof === d || // This needs to include all possible module reference object
|
|
79
79
|
// types supported by any Flight configuration anywhere since
|
|
80
80
|
// we don't know which Flight build this will end up being used
|
|
81
81
|
// with.
|
|
82
|
-
e.$$typeof ===
|
|
82
|
+
e.$$typeof === se || e.getModuleId !== void 0));
|
|
83
83
|
}
|
|
84
|
-
function
|
|
84
|
+
function We(e, r, t) {
|
|
85
85
|
var n = e.displayName;
|
|
86
86
|
if (n)
|
|
87
87
|
return n;
|
|
88
|
-
var
|
|
89
|
-
return
|
|
88
|
+
var s = r.displayName || r.name || "";
|
|
89
|
+
return s !== "" ? t + "(" + s + ")" : t;
|
|
90
90
|
}
|
|
91
|
-
function
|
|
91
|
+
function ce(e) {
|
|
92
92
|
return e.displayName || "Context";
|
|
93
93
|
}
|
|
94
|
-
function
|
|
94
|
+
function P(e) {
|
|
95
95
|
if (e == null)
|
|
96
96
|
return null;
|
|
97
|
-
if (typeof e.tag == "number" &&
|
|
97
|
+
if (typeof e.tag == "number" && u("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
98
98
|
return e.displayName || e.name || null;
|
|
99
99
|
if (typeof e == "string")
|
|
100
100
|
return e;
|
|
101
101
|
switch (e) {
|
|
102
|
-
case
|
|
102
|
+
case y:
|
|
103
103
|
return "Fragment";
|
|
104
|
-
case
|
|
104
|
+
case m:
|
|
105
105
|
return "Portal";
|
|
106
|
-
case
|
|
106
|
+
case l:
|
|
107
107
|
return "Profiler";
|
|
108
|
-
case
|
|
108
|
+
case v:
|
|
109
109
|
return "StrictMode";
|
|
110
110
|
case w:
|
|
111
111
|
return "Suspense";
|
|
112
|
-
case
|
|
112
|
+
case h:
|
|
113
113
|
return "SuspenseList";
|
|
114
114
|
}
|
|
115
115
|
if (typeof e == "object")
|
|
116
116
|
switch (e.$$typeof) {
|
|
117
|
-
case
|
|
117
|
+
case b:
|
|
118
118
|
var r = e;
|
|
119
|
-
return
|
|
119
|
+
return ce(r) + ".Consumer";
|
|
120
120
|
case i:
|
|
121
121
|
var t = e;
|
|
122
|
-
return
|
|
123
|
-
case
|
|
124
|
-
return
|
|
125
|
-
case
|
|
122
|
+
return ce(t._context) + ".Provider";
|
|
123
|
+
case d:
|
|
124
|
+
return We(e, e.render, "ForwardRef");
|
|
125
|
+
case _:
|
|
126
126
|
var n = e.displayName || null;
|
|
127
|
-
return n !== null ? n :
|
|
128
|
-
case
|
|
129
|
-
var
|
|
127
|
+
return n !== null ? n : P(e.type) || "Memo";
|
|
128
|
+
case O: {
|
|
129
|
+
var s = e, c = s._payload, o = s._init;
|
|
130
130
|
try {
|
|
131
|
-
return
|
|
131
|
+
return P(o(c));
|
|
132
132
|
} catch {
|
|
133
133
|
return null;
|
|
134
134
|
}
|
|
@@ -136,18 +136,18 @@ function hr() {
|
|
|
136
136
|
}
|
|
137
137
|
return null;
|
|
138
138
|
}
|
|
139
|
-
var
|
|
140
|
-
function
|
|
139
|
+
var A = Object.assign, $ = 0, fe, le, de, ve, pe, ge, he;
|
|
140
|
+
function Ee() {
|
|
141
141
|
}
|
|
142
|
-
|
|
143
|
-
function
|
|
142
|
+
Ee.__reactDisabledLog = !0;
|
|
143
|
+
function Me() {
|
|
144
144
|
{
|
|
145
|
-
if (
|
|
146
|
-
|
|
145
|
+
if ($ === 0) {
|
|
146
|
+
fe = console.log, le = console.info, de = console.warn, ve = console.error, pe = console.group, ge = console.groupCollapsed, he = console.groupEnd;
|
|
147
147
|
var e = {
|
|
148
148
|
configurable: !0,
|
|
149
149
|
enumerable: !0,
|
|
150
|
-
value:
|
|
150
|
+
value: Ee,
|
|
151
151
|
writable: !0
|
|
152
152
|
};
|
|
153
153
|
Object.defineProperties(console, {
|
|
@@ -160,77 +160,77 @@ function hr() {
|
|
|
160
160
|
groupEnd: e
|
|
161
161
|
});
|
|
162
162
|
}
|
|
163
|
-
|
|
163
|
+
$++;
|
|
164
164
|
}
|
|
165
165
|
}
|
|
166
166
|
function Ne() {
|
|
167
167
|
{
|
|
168
|
-
if (
|
|
168
|
+
if ($--, $ === 0) {
|
|
169
169
|
var e = {
|
|
170
170
|
configurable: !0,
|
|
171
171
|
enumerable: !0,
|
|
172
172
|
writable: !0
|
|
173
173
|
};
|
|
174
174
|
Object.defineProperties(console, {
|
|
175
|
-
log:
|
|
176
|
-
value:
|
|
175
|
+
log: A({}, e, {
|
|
176
|
+
value: fe
|
|
177
177
|
}),
|
|
178
|
-
info:
|
|
179
|
-
value:
|
|
178
|
+
info: A({}, e, {
|
|
179
|
+
value: le
|
|
180
180
|
}),
|
|
181
|
-
warn:
|
|
182
|
-
value:
|
|
181
|
+
warn: A({}, e, {
|
|
182
|
+
value: de
|
|
183
183
|
}),
|
|
184
|
-
error:
|
|
185
|
-
value:
|
|
184
|
+
error: A({}, e, {
|
|
185
|
+
value: ve
|
|
186
186
|
}),
|
|
187
|
-
group:
|
|
188
|
-
value:
|
|
187
|
+
group: A({}, e, {
|
|
188
|
+
value: pe
|
|
189
189
|
}),
|
|
190
|
-
groupCollapsed:
|
|
191
|
-
value:
|
|
190
|
+
groupCollapsed: A({}, e, {
|
|
191
|
+
value: ge
|
|
192
192
|
}),
|
|
193
|
-
groupEnd:
|
|
194
|
-
value:
|
|
193
|
+
groupEnd: A({}, e, {
|
|
194
|
+
value: he
|
|
195
195
|
})
|
|
196
196
|
});
|
|
197
197
|
}
|
|
198
|
-
|
|
198
|
+
$ < 0 && u("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
199
199
|
}
|
|
200
200
|
}
|
|
201
|
-
var
|
|
202
|
-
function
|
|
201
|
+
var K = C.ReactCurrentDispatcher, H;
|
|
202
|
+
function V(e, r, t) {
|
|
203
203
|
{
|
|
204
|
-
if (
|
|
204
|
+
if (H === void 0)
|
|
205
205
|
try {
|
|
206
206
|
throw Error();
|
|
207
|
-
} catch (
|
|
208
|
-
var n =
|
|
209
|
-
|
|
207
|
+
} catch (s) {
|
|
208
|
+
var n = s.stack.trim().match(/\n( *(at )?)/);
|
|
209
|
+
H = n && n[1] || "";
|
|
210
210
|
}
|
|
211
211
|
return `
|
|
212
|
-
` +
|
|
212
|
+
` + H + e;
|
|
213
213
|
}
|
|
214
214
|
}
|
|
215
|
-
var
|
|
215
|
+
var X = !1, U;
|
|
216
216
|
{
|
|
217
|
-
var
|
|
218
|
-
|
|
217
|
+
var Ve = typeof WeakMap == "function" ? WeakMap : Map;
|
|
218
|
+
U = new Ve();
|
|
219
219
|
}
|
|
220
|
-
function
|
|
221
|
-
if (!e ||
|
|
220
|
+
function me(e, r) {
|
|
221
|
+
if (!e || X)
|
|
222
222
|
return "";
|
|
223
223
|
{
|
|
224
|
-
var t =
|
|
224
|
+
var t = U.get(e);
|
|
225
225
|
if (t !== void 0)
|
|
226
226
|
return t;
|
|
227
227
|
}
|
|
228
228
|
var n;
|
|
229
|
-
|
|
230
|
-
var
|
|
229
|
+
X = !0;
|
|
230
|
+
var s = Error.prepareStackTrace;
|
|
231
231
|
Error.prepareStackTrace = void 0;
|
|
232
|
-
var
|
|
233
|
-
|
|
232
|
+
var c;
|
|
233
|
+
c = K.current, K.current = null, Me();
|
|
234
234
|
try {
|
|
235
235
|
if (r) {
|
|
236
236
|
var o = function() {
|
|
@@ -243,116 +243,116 @@ function hr() {
|
|
|
243
243
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
244
244
|
try {
|
|
245
245
|
Reflect.construct(o, []);
|
|
246
|
-
} catch (
|
|
247
|
-
n =
|
|
246
|
+
} catch (j) {
|
|
247
|
+
n = j;
|
|
248
248
|
}
|
|
249
249
|
Reflect.construct(e, [], o);
|
|
250
250
|
} else {
|
|
251
251
|
try {
|
|
252
252
|
o.call();
|
|
253
|
-
} catch (
|
|
254
|
-
n =
|
|
253
|
+
} catch (j) {
|
|
254
|
+
n = j;
|
|
255
255
|
}
|
|
256
256
|
e.call(o.prototype);
|
|
257
257
|
}
|
|
258
258
|
} else {
|
|
259
259
|
try {
|
|
260
260
|
throw Error();
|
|
261
|
-
} catch (
|
|
262
|
-
n =
|
|
261
|
+
} catch (j) {
|
|
262
|
+
n = j;
|
|
263
263
|
}
|
|
264
264
|
e();
|
|
265
265
|
}
|
|
266
|
-
} catch (
|
|
267
|
-
if (
|
|
268
|
-
for (var a =
|
|
269
|
-
`),
|
|
270
|
-
`),
|
|
271
|
-
|
|
272
|
-
for (;
|
|
273
|
-
if (a[
|
|
274
|
-
if (
|
|
266
|
+
} catch (j) {
|
|
267
|
+
if (j && n && typeof j.stack == "string") {
|
|
268
|
+
for (var a = j.stack.split(`
|
|
269
|
+
`), R = n.stack.split(`
|
|
270
|
+
`), p = a.length - 1, g = R.length - 1; p >= 1 && g >= 0 && a[p] !== R[g]; )
|
|
271
|
+
g--;
|
|
272
|
+
for (; p >= 1 && g >= 0; p--, g--)
|
|
273
|
+
if (a[p] !== R[g]) {
|
|
274
|
+
if (p !== 1 || g !== 1)
|
|
275
275
|
do
|
|
276
|
-
if (
|
|
277
|
-
var
|
|
278
|
-
` + a[
|
|
279
|
-
return e.displayName &&
|
|
276
|
+
if (p--, g--, g < 0 || a[p] !== R[g]) {
|
|
277
|
+
var S = `
|
|
278
|
+
` + a[p].replace(" at new ", " at ");
|
|
279
|
+
return e.displayName && S.includes("<anonymous>") && (S = S.replace("<anonymous>", e.displayName)), typeof e == "function" && U.set(e, S), S;
|
|
280
280
|
}
|
|
281
|
-
while (
|
|
281
|
+
while (p >= 1 && g >= 0);
|
|
282
282
|
break;
|
|
283
283
|
}
|
|
284
284
|
}
|
|
285
285
|
} finally {
|
|
286
|
-
|
|
286
|
+
X = !1, K.current = c, Ne(), Error.prepareStackTrace = s;
|
|
287
287
|
}
|
|
288
|
-
var
|
|
289
|
-
return typeof e == "function" &&
|
|
288
|
+
var F = e ? e.displayName || e.name : "", ke = F ? V(F) : "";
|
|
289
|
+
return typeof e == "function" && U.set(e, ke), ke;
|
|
290
290
|
}
|
|
291
291
|
function Ue(e, r, t) {
|
|
292
|
-
return
|
|
292
|
+
return me(e, !1);
|
|
293
293
|
}
|
|
294
|
-
function
|
|
294
|
+
function qe(e) {
|
|
295
295
|
var r = e.prototype;
|
|
296
296
|
return !!(r && r.isReactComponent);
|
|
297
297
|
}
|
|
298
|
-
function
|
|
298
|
+
function q(e, r, t) {
|
|
299
299
|
if (e == null)
|
|
300
300
|
return "";
|
|
301
301
|
if (typeof e == "function")
|
|
302
|
-
return
|
|
302
|
+
return me(e, qe(e));
|
|
303
303
|
if (typeof e == "string")
|
|
304
|
-
return
|
|
304
|
+
return V(e);
|
|
305
305
|
switch (e) {
|
|
306
306
|
case w:
|
|
307
|
-
return
|
|
308
|
-
case
|
|
309
|
-
return
|
|
307
|
+
return V("Suspense");
|
|
308
|
+
case h:
|
|
309
|
+
return V("SuspenseList");
|
|
310
310
|
}
|
|
311
311
|
if (typeof e == "object")
|
|
312
312
|
switch (e.$$typeof) {
|
|
313
|
-
case
|
|
313
|
+
case d:
|
|
314
314
|
return Ue(e.render);
|
|
315
|
-
case
|
|
316
|
-
return
|
|
317
|
-
case
|
|
318
|
-
var n = e,
|
|
315
|
+
case _:
|
|
316
|
+
return q(e.type, r, t);
|
|
317
|
+
case O: {
|
|
318
|
+
var n = e, s = n._payload, c = n._init;
|
|
319
319
|
try {
|
|
320
|
-
return
|
|
320
|
+
return q(c(s), r, t);
|
|
321
321
|
} catch {
|
|
322
322
|
}
|
|
323
323
|
}
|
|
324
324
|
}
|
|
325
325
|
return "";
|
|
326
326
|
}
|
|
327
|
-
var
|
|
328
|
-
function
|
|
327
|
+
var G = Object.prototype.hasOwnProperty, ye = {}, be = C.ReactDebugCurrentFrame;
|
|
328
|
+
function B(e) {
|
|
329
329
|
if (e) {
|
|
330
|
-
var r = e._owner, t =
|
|
331
|
-
|
|
330
|
+
var r = e._owner, t = q(e.type, e._source, r ? r.type : null);
|
|
331
|
+
be.setExtraStackFrame(t);
|
|
332
332
|
} else
|
|
333
|
-
|
|
333
|
+
be.setExtraStackFrame(null);
|
|
334
334
|
}
|
|
335
|
-
function
|
|
335
|
+
function Ge(e, r, t, n, s) {
|
|
336
336
|
{
|
|
337
|
-
var
|
|
337
|
+
var c = Function.call.bind(G);
|
|
338
338
|
for (var o in e)
|
|
339
|
-
if (
|
|
339
|
+
if (c(e, o)) {
|
|
340
340
|
var a = void 0;
|
|
341
341
|
try {
|
|
342
342
|
if (typeof e[o] != "function") {
|
|
343
|
-
var
|
|
344
|
-
throw
|
|
343
|
+
var R = Error((n || "React class") + ": " + t + " type `" + o + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[o] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
344
|
+
throw R.name = "Invariant Violation", R;
|
|
345
345
|
}
|
|
346
346
|
a = e[o](r, o, n, t, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
347
|
-
} catch (
|
|
348
|
-
a =
|
|
347
|
+
} catch (p) {
|
|
348
|
+
a = p;
|
|
349
349
|
}
|
|
350
|
-
a && !(a instanceof Error) && (
|
|
350
|
+
a && !(a instanceof Error) && (B(s), u("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", n || "React class", t, o, typeof a), B(null)), a instanceof Error && !(a.message in ye) && (ye[a.message] = !0, B(s), u("Failed %s type: %s", t, a.message), B(null));
|
|
351
351
|
}
|
|
352
352
|
}
|
|
353
353
|
}
|
|
354
354
|
var Be = Array.isArray;
|
|
355
|
-
function
|
|
355
|
+
function Z(e) {
|
|
356
356
|
return Be(e);
|
|
357
357
|
}
|
|
358
358
|
function Je(e) {
|
|
@@ -361,53 +361,53 @@ function hr() {
|
|
|
361
361
|
return t;
|
|
362
362
|
}
|
|
363
363
|
}
|
|
364
|
-
function
|
|
364
|
+
function ze(e) {
|
|
365
365
|
try {
|
|
366
|
-
return
|
|
366
|
+
return Re(e), !1;
|
|
367
367
|
} catch {
|
|
368
368
|
return !0;
|
|
369
369
|
}
|
|
370
370
|
}
|
|
371
|
-
function
|
|
371
|
+
function Re(e) {
|
|
372
372
|
return "" + e;
|
|
373
373
|
}
|
|
374
|
-
function
|
|
375
|
-
if (
|
|
376
|
-
return
|
|
374
|
+
function _e(e) {
|
|
375
|
+
if (ze(e))
|
|
376
|
+
return u("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Je(e)), Re(e);
|
|
377
377
|
}
|
|
378
|
-
var
|
|
378
|
+
var L = C.ReactCurrentOwner, Ke = {
|
|
379
379
|
key: !0,
|
|
380
380
|
ref: !0,
|
|
381
381
|
__self: !0,
|
|
382
382
|
__source: !0
|
|
383
|
-
},
|
|
384
|
-
|
|
385
|
-
function
|
|
386
|
-
if (
|
|
383
|
+
}, we, Te, Q;
|
|
384
|
+
Q = {};
|
|
385
|
+
function He(e) {
|
|
386
|
+
if (G.call(e, "ref")) {
|
|
387
387
|
var r = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
388
388
|
if (r && r.isReactWarning)
|
|
389
389
|
return !1;
|
|
390
390
|
}
|
|
391
391
|
return e.ref !== void 0;
|
|
392
392
|
}
|
|
393
|
-
function
|
|
394
|
-
if (
|
|
393
|
+
function Xe(e) {
|
|
394
|
+
if (G.call(e, "key")) {
|
|
395
395
|
var r = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
396
396
|
if (r && r.isReactWarning)
|
|
397
397
|
return !1;
|
|
398
398
|
}
|
|
399
399
|
return e.key !== void 0;
|
|
400
400
|
}
|
|
401
|
-
function
|
|
402
|
-
if (typeof e.ref == "string" &&
|
|
403
|
-
var t =
|
|
404
|
-
|
|
401
|
+
function Ze(e, r) {
|
|
402
|
+
if (typeof e.ref == "string" && L.current && r && L.current.stateNode !== r) {
|
|
403
|
+
var t = P(L.current.type);
|
|
404
|
+
Q[t] || (u('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', P(L.current.type), e.ref), Q[t] = !0);
|
|
405
405
|
}
|
|
406
406
|
}
|
|
407
|
-
function
|
|
407
|
+
function Qe(e, r) {
|
|
408
408
|
{
|
|
409
409
|
var t = function() {
|
|
410
|
-
|
|
410
|
+
we || (we = !0, u("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", r));
|
|
411
411
|
};
|
|
412
412
|
t.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
413
413
|
get: t,
|
|
@@ -415,10 +415,10 @@ function hr() {
|
|
|
415
415
|
});
|
|
416
416
|
}
|
|
417
417
|
}
|
|
418
|
-
function
|
|
418
|
+
function er(e, r) {
|
|
419
419
|
{
|
|
420
420
|
var t = function() {
|
|
421
|
-
|
|
421
|
+
Te || (Te = !0, u("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", r));
|
|
422
422
|
};
|
|
423
423
|
t.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
424
424
|
get: t,
|
|
@@ -426,17 +426,17 @@ function hr() {
|
|
|
426
426
|
});
|
|
427
427
|
}
|
|
428
428
|
}
|
|
429
|
-
var
|
|
429
|
+
var rr = function(e, r, t, n, s, c, o) {
|
|
430
430
|
var a = {
|
|
431
431
|
// This tag allows us to uniquely identify this as a React Element
|
|
432
|
-
$$typeof:
|
|
432
|
+
$$typeof: E,
|
|
433
433
|
// Built-in properties that belong on the element
|
|
434
434
|
type: e,
|
|
435
435
|
key: r,
|
|
436
436
|
ref: t,
|
|
437
437
|
props: o,
|
|
438
438
|
// Record the component responsible for creating this element.
|
|
439
|
-
_owner:
|
|
439
|
+
_owner: c
|
|
440
440
|
};
|
|
441
441
|
return a._store = {}, Object.defineProperty(a._store, "validated", {
|
|
442
442
|
configurable: !1,
|
|
@@ -452,44 +452,44 @@ function hr() {
|
|
|
452
452
|
configurable: !1,
|
|
453
453
|
enumerable: !1,
|
|
454
454
|
writable: !1,
|
|
455
|
-
value:
|
|
455
|
+
value: s
|
|
456
456
|
}), Object.freeze && (Object.freeze(a.props), Object.freeze(a)), a;
|
|
457
457
|
};
|
|
458
|
-
function
|
|
458
|
+
function tr(e, r, t, n, s) {
|
|
459
459
|
{
|
|
460
|
-
var
|
|
461
|
-
t !== void 0 && (
|
|
462
|
-
for (
|
|
463
|
-
|
|
460
|
+
var c, o = {}, a = null, R = null;
|
|
461
|
+
t !== void 0 && (_e(t), a = "" + t), Xe(r) && (_e(r.key), a = "" + r.key), He(r) && (R = r.ref, Ze(r, s));
|
|
462
|
+
for (c in r)
|
|
463
|
+
G.call(r, c) && !Ke.hasOwnProperty(c) && (o[c] = r[c]);
|
|
464
464
|
if (e && e.defaultProps) {
|
|
465
|
-
var
|
|
466
|
-
for (
|
|
467
|
-
o[
|
|
465
|
+
var p = e.defaultProps;
|
|
466
|
+
for (c in p)
|
|
467
|
+
o[c] === void 0 && (o[c] = p[c]);
|
|
468
468
|
}
|
|
469
|
-
if (a ||
|
|
470
|
-
var
|
|
471
|
-
a &&
|
|
469
|
+
if (a || R) {
|
|
470
|
+
var g = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
471
|
+
a && Qe(o, g), R && er(o, g);
|
|
472
472
|
}
|
|
473
|
-
return
|
|
473
|
+
return rr(e, a, R, s, n, L.current, o);
|
|
474
474
|
}
|
|
475
475
|
}
|
|
476
|
-
var
|
|
477
|
-
function
|
|
476
|
+
var ee = C.ReactCurrentOwner, Oe = C.ReactDebugCurrentFrame;
|
|
477
|
+
function D(e) {
|
|
478
478
|
if (e) {
|
|
479
|
-
var r = e._owner, t =
|
|
480
|
-
|
|
479
|
+
var r = e._owner, t = q(e.type, e._source, r ? r.type : null);
|
|
480
|
+
Oe.setExtraStackFrame(t);
|
|
481
481
|
} else
|
|
482
|
-
|
|
482
|
+
Oe.setExtraStackFrame(null);
|
|
483
483
|
}
|
|
484
|
-
var
|
|
485
|
-
|
|
486
|
-
function
|
|
487
|
-
return typeof e == "object" && e !== null && e.$$typeof ===
|
|
484
|
+
var re;
|
|
485
|
+
re = !1;
|
|
486
|
+
function te(e) {
|
|
487
|
+
return typeof e == "object" && e !== null && e.$$typeof === E;
|
|
488
488
|
}
|
|
489
|
-
function
|
|
489
|
+
function Se() {
|
|
490
490
|
{
|
|
491
|
-
if (
|
|
492
|
-
var e =
|
|
491
|
+
if (ee.current) {
|
|
492
|
+
var e = P(ee.current.type);
|
|
493
493
|
if (e)
|
|
494
494
|
return `
|
|
495
495
|
|
|
@@ -498,7 +498,7 @@ Check the render method of \`` + e + "`.";
|
|
|
498
498
|
return "";
|
|
499
499
|
}
|
|
500
500
|
}
|
|
501
|
-
function
|
|
501
|
+
function nr(e) {
|
|
502
502
|
{
|
|
503
503
|
if (e !== void 0) {
|
|
504
504
|
var r = e.fileName.replace(/^.*[\\\/]/, ""), t = e.lineNumber;
|
|
@@ -509,10 +509,10 @@ Check your code at ` + r + ":" + t + ".";
|
|
|
509
509
|
return "";
|
|
510
510
|
}
|
|
511
511
|
}
|
|
512
|
-
var
|
|
513
|
-
function
|
|
512
|
+
var Ce = {};
|
|
513
|
+
function ar(e) {
|
|
514
514
|
{
|
|
515
|
-
var r =
|
|
515
|
+
var r = Se();
|
|
516
516
|
if (!r) {
|
|
517
517
|
var t = typeof e == "string" ? e : e.displayName || e.name;
|
|
518
518
|
t && (r = `
|
|
@@ -522,39 +522,39 @@ Check the top-level render call using <` + t + ">.");
|
|
|
522
522
|
return r;
|
|
523
523
|
}
|
|
524
524
|
}
|
|
525
|
-
function
|
|
525
|
+
function Pe(e, r) {
|
|
526
526
|
{
|
|
527
527
|
if (!e._store || e._store.validated || e.key != null)
|
|
528
528
|
return;
|
|
529
529
|
e._store.validated = !0;
|
|
530
|
-
var t =
|
|
531
|
-
if (
|
|
530
|
+
var t = ar(r);
|
|
531
|
+
if (Ce[t])
|
|
532
532
|
return;
|
|
533
|
-
|
|
533
|
+
Ce[t] = !0;
|
|
534
534
|
var n = "";
|
|
535
|
-
e && e._owner && e._owner !==
|
|
535
|
+
e && e._owner && e._owner !== ee.current && (n = " It was passed a child from " + P(e._owner.type) + "."), D(e), u('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', t, n), D(null);
|
|
536
536
|
}
|
|
537
537
|
}
|
|
538
|
-
function
|
|
538
|
+
function je(e, r) {
|
|
539
539
|
{
|
|
540
540
|
if (typeof e != "object")
|
|
541
541
|
return;
|
|
542
|
-
if (
|
|
542
|
+
if (Z(e))
|
|
543
543
|
for (var t = 0; t < e.length; t++) {
|
|
544
544
|
var n = e[t];
|
|
545
|
-
|
|
545
|
+
te(n) && Pe(n, r);
|
|
546
546
|
}
|
|
547
|
-
else if (
|
|
547
|
+
else if (te(e))
|
|
548
548
|
e._store && (e._store.validated = !0);
|
|
549
549
|
else if (e) {
|
|
550
|
-
var
|
|
551
|
-
if (typeof
|
|
552
|
-
for (var
|
|
553
|
-
|
|
550
|
+
var s = M(e);
|
|
551
|
+
if (typeof s == "function" && s !== e.entries)
|
|
552
|
+
for (var c = s.call(e), o; !(o = c.next()).done; )
|
|
553
|
+
te(o.value) && Pe(o.value, r);
|
|
554
554
|
}
|
|
555
555
|
}
|
|
556
556
|
}
|
|
557
|
-
function
|
|
557
|
+
function or(e) {
|
|
558
558
|
{
|
|
559
559
|
var r = e.type;
|
|
560
560
|
if (r == null || typeof r == "string")
|
|
@@ -562,129 +562,173 @@ Check the top-level render call using <` + t + ">.");
|
|
|
562
562
|
var t;
|
|
563
563
|
if (typeof r == "function")
|
|
564
564
|
t = r.propTypes;
|
|
565
|
-
else if (typeof r == "object" && (r.$$typeof ===
|
|
565
|
+
else if (typeof r == "object" && (r.$$typeof === d || // Note: Memo only checks outer props here.
|
|
566
566
|
// Inner props are checked in the reconciler.
|
|
567
|
-
r.$$typeof ===
|
|
567
|
+
r.$$typeof === _))
|
|
568
568
|
t = r.propTypes;
|
|
569
569
|
else
|
|
570
570
|
return;
|
|
571
571
|
if (t) {
|
|
572
|
-
var n =
|
|
573
|
-
|
|
574
|
-
} else if (r.PropTypes !== void 0 && !
|
|
575
|
-
|
|
576
|
-
var
|
|
577
|
-
|
|
572
|
+
var n = P(r);
|
|
573
|
+
Ge(t, e.props, "prop", n, e);
|
|
574
|
+
} else if (r.PropTypes !== void 0 && !re) {
|
|
575
|
+
re = !0;
|
|
576
|
+
var s = P(r);
|
|
577
|
+
u("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", s || "Unknown");
|
|
578
578
|
}
|
|
579
|
-
typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved &&
|
|
579
|
+
typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved && u("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
580
580
|
}
|
|
581
581
|
}
|
|
582
|
-
function
|
|
582
|
+
function ir(e) {
|
|
583
583
|
{
|
|
584
584
|
for (var r = Object.keys(e.props), t = 0; t < r.length; t++) {
|
|
585
585
|
var n = r[t];
|
|
586
586
|
if (n !== "children" && n !== "key") {
|
|
587
|
-
|
|
587
|
+
D(e), u("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", n), D(null);
|
|
588
588
|
break;
|
|
589
589
|
}
|
|
590
590
|
}
|
|
591
|
-
e.ref !== null && (
|
|
591
|
+
e.ref !== null && (D(e), u("Invalid attribute `ref` supplied to `React.Fragment`."), D(null));
|
|
592
592
|
}
|
|
593
593
|
}
|
|
594
|
-
function
|
|
594
|
+
function xe(e, r, t, n, s, c) {
|
|
595
595
|
{
|
|
596
|
-
var o =
|
|
596
|
+
var o = Ye(e);
|
|
597
597
|
if (!o) {
|
|
598
598
|
var a = "";
|
|
599
599
|
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (a += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
600
|
-
var
|
|
601
|
-
|
|
602
|
-
var
|
|
603
|
-
e === null ?
|
|
600
|
+
var R = nr(s);
|
|
601
|
+
R ? a += R : a += Se();
|
|
602
|
+
var p;
|
|
603
|
+
e === null ? p = "null" : Z(e) ? p = "array" : e !== void 0 && e.$$typeof === E ? (p = "<" + (P(e.type) || "Unknown") + " />", a = " Did you accidentally export a JSX literal instead of a component?") : p = typeof e, u("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", p, a);
|
|
604
604
|
}
|
|
605
|
-
var
|
|
606
|
-
if (
|
|
607
|
-
return
|
|
605
|
+
var g = tr(e, r, t, s, c);
|
|
606
|
+
if (g == null)
|
|
607
|
+
return g;
|
|
608
608
|
if (o) {
|
|
609
|
-
var
|
|
610
|
-
if (
|
|
609
|
+
var S = r.children;
|
|
610
|
+
if (S !== void 0)
|
|
611
611
|
if (n)
|
|
612
|
-
if (
|
|
613
|
-
for (var
|
|
614
|
-
|
|
615
|
-
Object.freeze && Object.freeze(
|
|
612
|
+
if (Z(S)) {
|
|
613
|
+
for (var F = 0; F < S.length; F++)
|
|
614
|
+
je(S[F], e);
|
|
615
|
+
Object.freeze && Object.freeze(S);
|
|
616
616
|
} else
|
|
617
|
-
|
|
617
|
+
u("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
618
618
|
else
|
|
619
|
-
|
|
619
|
+
je(S, e);
|
|
620
620
|
}
|
|
621
|
-
return e ===
|
|
621
|
+
return e === y ? ir(g) : or(g), g;
|
|
622
622
|
}
|
|
623
623
|
}
|
|
624
|
-
function ir(e, r, t) {
|
|
625
|
-
return we(e, r, t, !0);
|
|
626
|
-
}
|
|
627
624
|
function ur(e, r, t) {
|
|
628
|
-
return
|
|
625
|
+
return xe(e, r, t, !0);
|
|
626
|
+
}
|
|
627
|
+
function sr(e, r, t) {
|
|
628
|
+
return xe(e, r, t, !1);
|
|
629
629
|
}
|
|
630
|
-
var
|
|
631
|
-
W.Fragment =
|
|
630
|
+
var cr = sr, fr = ur;
|
|
631
|
+
W.Fragment = y, W.jsx = cr, W.jsxs = fr;
|
|
632
632
|
}()), W;
|
|
633
633
|
}
|
|
634
|
-
(function(
|
|
635
|
-
process.env.NODE_ENV === "production" ?
|
|
636
|
-
})(
|
|
637
|
-
const
|
|
634
|
+
(function(f) {
|
|
635
|
+
process.env.NODE_ENV === "production" ? f.exports = yr() : f.exports = br();
|
|
636
|
+
})(mr);
|
|
637
|
+
const I = ae.jsx, z = lr({
|
|
638
|
+
axios: void 0,
|
|
638
639
|
children: void 0,
|
|
639
640
|
Navigate: void 0,
|
|
640
641
|
Outlet: void 0,
|
|
641
642
|
translate: void 0,
|
|
642
643
|
useAuth: void 0,
|
|
643
644
|
useLocation: void 0
|
|
644
|
-
}),
|
|
645
|
-
|
|
645
|
+
}), _r = ({
|
|
646
|
+
axios: f,
|
|
647
|
+
children: E,
|
|
648
|
+
translate: m,
|
|
649
|
+
useAuth: y,
|
|
650
|
+
Outlet: v,
|
|
651
|
+
Navigate: l,
|
|
652
|
+
useLocation: i,
|
|
653
|
+
useGoogleTagManager: b
|
|
654
|
+
}) => {
|
|
655
|
+
const d = dr(
|
|
646
656
|
() => ({
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
657
|
+
axios: f,
|
|
658
|
+
Navigate: l,
|
|
659
|
+
Outlet: v,
|
|
660
|
+
translate: m,
|
|
661
|
+
useAuth: y,
|
|
662
|
+
useGoogleTagManager: b,
|
|
663
|
+
useLocation: i
|
|
652
664
|
}),
|
|
653
|
-
[
|
|
665
|
+
[l, v, f, m, y, b, i]
|
|
654
666
|
);
|
|
655
|
-
return /* @__PURE__ */
|
|
656
|
-
},
|
|
657
|
-
|
|
667
|
+
return /* @__PURE__ */ I(z.Provider, { value: d, children: E });
|
|
668
|
+
}, J = (f) => `RequireAuth require « ${f} » dependency. You can provide with InjectDependenciesProvider or directly in props.`, wr = ({
|
|
669
|
+
Fallback: f,
|
|
670
|
+
loginPath: E = "/login",
|
|
671
|
+
localStorageKey: m = "user",
|
|
672
|
+
redirect401Path: y = "/login",
|
|
673
|
+
...v
|
|
674
|
+
}) => {
|
|
675
|
+
var x, k, M, C;
|
|
658
676
|
const {
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
throw new Error(B("useAuth"));
|
|
677
|
+
axios: l = v.axios,
|
|
678
|
+
useLocation: i = v.useLocation,
|
|
679
|
+
useAuth: b = v.useAuth,
|
|
680
|
+
Outlet: d = v.Outlet,
|
|
681
|
+
Navigate: w = v.Navigate
|
|
682
|
+
} = oe(z);
|
|
666
683
|
if (b === void 0)
|
|
667
|
-
throw new Error(
|
|
668
|
-
if (_ === void 0)
|
|
669
|
-
throw new Error(B("Outlet"));
|
|
684
|
+
throw new Error(J("useAuth"));
|
|
670
685
|
if (i === void 0)
|
|
671
|
-
throw new Error(
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
686
|
+
throw new Error(J("useLocation"));
|
|
687
|
+
if (d === void 0)
|
|
688
|
+
throw new Error(J("Outlet"));
|
|
689
|
+
if (w === void 0)
|
|
690
|
+
throw new Error(J("Navigate"));
|
|
691
|
+
const [h, _] = vr(null), { isLogged: O } = b(), T = i();
|
|
692
|
+
return pr(() => {
|
|
693
|
+
l == null || l.interceptors.response.use(
|
|
694
|
+
(u) => u,
|
|
695
|
+
async (u) => {
|
|
696
|
+
var N;
|
|
697
|
+
return typeof u == "object" && u && "response" in u && u.response && typeof u.response == "object" && "status" in u.response && u.response && typeof u.response == "object" && "status" in u.response && ((N = u == null ? void 0 : u.response) == null ? void 0 : N.status) === 401 && (l.defaults.headers.common.Authorization = null, localStorage.removeItem(m), _(y)), Promise.reject(u);
|
|
698
|
+
}
|
|
699
|
+
);
|
|
700
|
+
}, [l == null ? void 0 : l.defaults, l == null ? void 0 : l.interceptors.response, m, y]), O && !h ? /* @__PURE__ */ I(gr, { fallback: f, children: (k = (x = T.state) == null ? void 0 : x.from) != null && k.state && ((C = (M = T.state) == null ? void 0 : M.from) == null ? void 0 : C.pathname) === E ? /* @__PURE__ */ I(w, { to: T.state.from.state.from.pathname + T.state.from.state.from.search, replace: !0 }) : /* @__PURE__ */ I(d, {}) }) : /* @__PURE__ */ I(w, { to: E, state: { from: T }, replace: !0 });
|
|
701
|
+
}, ne = (f) => `GTMSendPageView require « ${f} » dependency. You can provide with InjectDependenciesProvider or directly in props.`, Tr = ({ ...f }) => {
|
|
702
|
+
const {
|
|
703
|
+
useLocation: E = f.useLocation,
|
|
704
|
+
Outlet: m = f.Outlet,
|
|
705
|
+
useGoogleTagManager: y = f.useGoogleTagManager
|
|
706
|
+
} = oe(z);
|
|
707
|
+
if (E === void 0)
|
|
708
|
+
throw new Error(ne("useLocation"));
|
|
709
|
+
if (m === void 0)
|
|
710
|
+
throw new Error(ne("Outlet"));
|
|
711
|
+
if (y === void 0)
|
|
712
|
+
throw new Error(ne("useGoogleTagManager"));
|
|
713
|
+
const { pathname: v } = E(), { sendEvent: l } = y();
|
|
714
|
+
return hr(() => {
|
|
715
|
+
l({ event: "pageView", pathname: v });
|
|
716
|
+
}, [v, l]), /* @__PURE__ */ I(m, {});
|
|
717
|
+
}, Or = (f) => {
|
|
718
|
+
const { unknownErrorTranslationKey: E = "error.unknownError" } = f || {}, { translate: m = f == null ? void 0 : f.translate } = oe(z);
|
|
719
|
+
return { printError: Er(
|
|
720
|
+
(v) => {
|
|
721
|
+
var b, d, w, h, _, O, T, x, k;
|
|
722
|
+
const l = m ? m(E) : "Unknown error", { response: i } = v || {};
|
|
723
|
+
return v != null && v.reason ? String(v.reason) : (b = i == null ? void 0 : i.data) != null && b.reason ? String(i.data.reason) : (d = i == null ? void 0 : i.data) != null && d.message ? String(i.data.message) : (h = (w = i == null ? void 0 : i.data) == null ? void 0 : w.detail) != null && h.length && Array.isArray((_ = i == null ? void 0 : i.data) == null ? void 0 : _.detail) && ((T = (O = i == null ? void 0 : i.data) == null ? void 0 : O.detail[0]) != null && T.msg) && typeof ((k = (x = i == null ? void 0 : i.data) == null ? void 0 : x.detail[0]) == null ? void 0 : k.msg) == "string" ? String(i.data.detail[0].msg) : l;
|
|
681
724
|
},
|
|
682
|
-
[
|
|
725
|
+
[m, E]
|
|
683
726
|
) };
|
|
684
727
|
};
|
|
685
728
|
export {
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
729
|
+
Tr as GTMSendPageView,
|
|
730
|
+
z as InjectDependenciesContext,
|
|
731
|
+
_r as InjectDependenciesProvider,
|
|
732
|
+
wr as RequireAuth,
|
|
733
|
+
Or as useResponseError
|
|
690
734
|
};
|