@tracktor/shared-module 0.15.0 → 0.15.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/main.js CHANGED
@@ -1,5 +1,5 @@
1
- import Le, { createContext as pr, useMemo as ue, useContext as se, useState as gr, useLayoutEffect as X, Suspense as mr, useEffect as hr, useCallback as J } from "react";
2
- var ie = { exports: {} }, W = {};
1
+ import We, { createContext as pr, useMemo as ue, useContext as se, useState as gr, useLayoutEffect as X, Suspense as hr, useEffect as mr, useCallback as J } from "react";
2
+ var ie = { exports: {} }, N = {};
3
3
  /**
4
4
  * @license React
5
5
  * react-jsx-runtime.production.min.js
@@ -9,25 +9,25 @@ var ie = { exports: {} }, W = {};
9
9
  * This source code is licensed under the MIT license found in the
10
10
  * LICENSE file in the root directory of this source tree.
11
11
  */
12
- var $e;
12
+ var De;
13
13
  function Er() {
14
- if ($e)
15
- return W;
16
- $e = 1;
17
- var n = Le, a = Symbol.for("react.element"), i = Symbol.for("react.fragment"), l = Object.prototype.hasOwnProperty, u = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, g = { key: !0, ref: !0, __self: !0, __source: !0 };
18
- function s(m, f, b) {
14
+ if (De)
15
+ return N;
16
+ De = 1;
17
+ var n = We, o = Symbol.for("react.element"), u = Symbol.for("react.fragment"), l = Object.prototype.hasOwnProperty, a = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, v = { key: !0, ref: !0, __self: !0, __source: !0 };
18
+ function s(p, c, b) {
19
19
  var E, w = {}, T = null, C = null;
20
- b !== void 0 && (T = "" + b), f.key !== void 0 && (T = "" + f.key), f.ref !== void 0 && (C = f.ref);
21
- for (E in f)
22
- l.call(f, E) && !g.hasOwnProperty(E) && (w[E] = f[E]);
23
- if (m && m.defaultProps)
24
- for (E in f = m.defaultProps, f)
25
- w[E] === void 0 && (w[E] = f[E]);
26
- return { $$typeof: a, type: m, key: T, ref: C, props: w, _owner: u.current };
20
+ b !== void 0 && (T = "" + b), c.key !== void 0 && (T = "" + c.key), c.ref !== void 0 && (C = c.ref);
21
+ for (E in c)
22
+ l.call(c, E) && !v.hasOwnProperty(E) && (w[E] = c[E]);
23
+ if (p && p.defaultProps)
24
+ for (E in c = p.defaultProps, c)
25
+ w[E] === void 0 && (w[E] = c[E]);
26
+ return { $$typeof: o, type: p, key: T, ref: C, props: w, _owner: a.current };
27
27
  }
28
- return W.Fragment = i, W.jsx = s, W.jsxs = s, W;
28
+ return N.Fragment = u, N.jsx = s, N.jsxs = s, N;
29
29
  }
30
- var M = {};
30
+ var I = {};
31
31
  /**
32
32
  * @license React
33
33
  * react-jsx-runtime.development.js
@@ -37,49 +37,49 @@ var M = {};
37
37
  * This source code is licensed under the MIT license found in the
38
38
  * LICENSE file in the root directory of this source tree.
39
39
  */
40
- var Ie;
41
- function yr() {
42
- return Ie || (Ie = 1, process.env.NODE_ENV !== "production" && function() {
43
- var n = Le, a = Symbol.for("react.element"), i = Symbol.for("react.portal"), l = Symbol.for("react.fragment"), u = Symbol.for("react.strict_mode"), g = Symbol.for("react.profiler"), s = Symbol.for("react.provider"), m = Symbol.for("react.context"), f = Symbol.for("react.forward_ref"), b = Symbol.for("react.suspense"), E = Symbol.for("react.suspense_list"), w = Symbol.for("react.memo"), T = Symbol.for("react.lazy"), C = Symbol.for("react.offscreen"), A = Symbol.iterator, k = "@@iterator";
44
- function N(e) {
40
+ var Le;
41
+ function Rr() {
42
+ return Le || (Le = 1, process.env.NODE_ENV !== "production" && function() {
43
+ var n = We, o = Symbol.for("react.element"), u = Symbol.for("react.portal"), l = Symbol.for("react.fragment"), a = Symbol.for("react.strict_mode"), v = Symbol.for("react.profiler"), s = Symbol.for("react.provider"), p = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), b = Symbol.for("react.suspense"), E = Symbol.for("react.suspense_list"), w = Symbol.for("react.memo"), T = Symbol.for("react.lazy"), C = Symbol.for("react.offscreen"), A = Symbol.iterator, k = "@@iterator";
44
+ function M(e) {
45
45
  if (e === null || typeof e != "object")
46
46
  return null;
47
47
  var r = A && e[A] || e[k];
48
48
  return typeof r == "function" ? r : null;
49
49
  }
50
50
  var S = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
51
- function v(e) {
51
+ function g(e) {
52
52
  {
53
- for (var r = arguments.length, t = new Array(r > 1 ? r - 1 : 0), o = 1; o < r; o++)
54
- t[o - 1] = arguments[o];
53
+ for (var r = arguments.length, t = new Array(r > 1 ? r - 1 : 0), i = 1; i < r; i++)
54
+ t[i - 1] = arguments[i];
55
55
  le("error", e, t);
56
56
  }
57
57
  }
58
58
  function le(e, r, t) {
59
59
  {
60
- var o = S.ReactDebugCurrentFrame, p = o.getStackAddendum();
61
- p !== "" && (r += "%s", t = t.concat([p]));
62
- var h = t.map(function(d) {
60
+ var i = S.ReactDebugCurrentFrame, h = i.getStackAddendum();
61
+ h !== "" && (r += "%s", t = t.concat([h]));
62
+ var m = t.map(function(d) {
63
63
  return String(d);
64
64
  });
65
- h.unshift("Warning: " + r), Function.prototype.apply.call(console[e], console, h);
65
+ m.unshift("Warning: " + r), Function.prototype.apply.call(console[e], console, m);
66
66
  }
67
67
  }
68
- var ce = !1, Y = !1, We = !1, Me = !1, Ne = !1, fe;
68
+ var ce = !1, Y = !1, Ne = !1, Ie = !1, Me = !1, fe;
69
69
  fe = Symbol.for("react.module.reference");
70
70
  function Ye(e) {
71
- return !!(typeof e == "string" || typeof e == "function" || e === l || e === g || Ne || e === u || e === b || e === E || Me || e === C || ce || Y || We || typeof e == "object" && e !== null && (e.$$typeof === T || e.$$typeof === w || e.$$typeof === s || e.$$typeof === m || e.$$typeof === f || // This needs to include all possible module reference object
71
+ return !!(typeof e == "string" || typeof e == "function" || e === l || e === v || Me || e === a || e === b || e === E || Ie || e === C || ce || Y || Ne || typeof e == "object" && e !== null && (e.$$typeof === T || e.$$typeof === w || e.$$typeof === s || e.$$typeof === p || e.$$typeof === c || // This needs to include all possible module reference object
72
72
  // types supported by any Flight configuration anywhere since
73
73
  // we don't know which Flight build this will end up being used
74
74
  // with.
75
75
  e.$$typeof === fe || e.getModuleId !== void 0));
76
76
  }
77
77
  function Ve(e, r, t) {
78
- var o = e.displayName;
79
- if (o)
80
- return o;
81
- var p = r.displayName || r.name || "";
82
- return p !== "" ? t + "(" + p + ")" : t;
78
+ var i = e.displayName;
79
+ if (i)
80
+ return i;
81
+ var h = r.displayName || r.name || "";
82
+ return h !== "" ? t + "(" + h + ")" : t;
83
83
  }
84
84
  function de(e) {
85
85
  return e.displayName || "Context";
@@ -87,18 +87,18 @@ function yr() {
87
87
  function j(e) {
88
88
  if (e == null)
89
89
  return null;
90
- if (typeof e.tag == "number" && v("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
90
+ if (typeof e.tag == "number" && g("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
91
91
  return e.displayName || e.name || null;
92
92
  if (typeof e == "string")
93
93
  return e;
94
94
  switch (e) {
95
95
  case l:
96
96
  return "Fragment";
97
- case i:
97
+ case u:
98
98
  return "Portal";
99
- case g:
99
+ case v:
100
100
  return "Profiler";
101
- case u:
101
+ case a:
102
102
  return "StrictMode";
103
103
  case b:
104
104
  return "Suspense";
@@ -107,21 +107,21 @@ function yr() {
107
107
  }
108
108
  if (typeof e == "object")
109
109
  switch (e.$$typeof) {
110
- case m:
110
+ case p:
111
111
  var r = e;
112
112
  return de(r) + ".Consumer";
113
113
  case s:
114
114
  var t = e;
115
115
  return de(t._context) + ".Provider";
116
- case f:
116
+ case c:
117
117
  return Ve(e, e.render, "ForwardRef");
118
118
  case w:
119
- var o = e.displayName || null;
120
- return o !== null ? o : j(e.type) || "Memo";
119
+ var i = e.displayName || null;
120
+ return i !== null ? i : j(e.type) || "Memo";
121
121
  case T: {
122
- var p = e, h = p._payload, d = p._init;
122
+ var h = e, m = h._payload, d = h._init;
123
123
  try {
124
- return j(d(h));
124
+ return j(d(m));
125
125
  } catch {
126
126
  return null;
127
127
  }
@@ -129,18 +129,18 @@ function yr() {
129
129
  }
130
130
  return null;
131
131
  }
132
- var D = Object.assign, I = 0, ve, pe, ge, me, he, Ee, ye;
133
- function Re() {
132
+ var F = Object.assign, L = 0, ve, pe, ge, he, me, Ee, Re;
133
+ function ye() {
134
134
  }
135
- Re.__reactDisabledLog = !0;
135
+ ye.__reactDisabledLog = !0;
136
136
  function qe() {
137
137
  {
138
- if (I === 0) {
139
- ve = console.log, pe = console.info, ge = console.warn, me = console.error, he = console.group, Ee = console.groupCollapsed, ye = console.groupEnd;
138
+ if (L === 0) {
139
+ ve = console.log, pe = console.info, ge = console.warn, he = console.error, me = console.group, Ee = console.groupCollapsed, Re = console.groupEnd;
140
140
  var e = {
141
141
  configurable: !0,
142
142
  enumerable: !0,
143
- value: Re,
143
+ value: ye,
144
144
  writable: !0
145
145
  };
146
146
  Object.defineProperties(console, {
@@ -153,42 +153,42 @@ function yr() {
153
153
  groupEnd: e
154
154
  });
155
155
  }
156
- I++;
156
+ L++;
157
157
  }
158
158
  }
159
159
  function ze() {
160
160
  {
161
- if (I--, I === 0) {
161
+ if (L--, L === 0) {
162
162
  var e = {
163
163
  configurable: !0,
164
164
  enumerable: !0,
165
165
  writable: !0
166
166
  };
167
167
  Object.defineProperties(console, {
168
- log: D({}, e, {
168
+ log: F({}, e, {
169
169
  value: ve
170
170
  }),
171
- info: D({}, e, {
171
+ info: F({}, e, {
172
172
  value: pe
173
173
  }),
174
- warn: D({}, e, {
174
+ warn: F({}, e, {
175
175
  value: ge
176
176
  }),
177
- error: D({}, e, {
178
- value: me
179
- }),
180
- group: D({}, e, {
177
+ error: F({}, e, {
181
178
  value: he
182
179
  }),
183
- groupCollapsed: D({}, e, {
180
+ group: F({}, e, {
181
+ value: me
182
+ }),
183
+ groupCollapsed: F({}, e, {
184
184
  value: Ee
185
185
  }),
186
- groupEnd: D({}, e, {
187
- value: ye
186
+ groupEnd: F({}, e, {
187
+ value: Re
188
188
  })
189
189
  });
190
190
  }
191
- I < 0 && v("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
191
+ L < 0 && g("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
192
192
  }
193
193
  }
194
194
  var Z = S.ReactCurrentDispatcher, K;
@@ -197,9 +197,9 @@ function yr() {
197
197
  if (K === void 0)
198
198
  try {
199
199
  throw Error();
200
- } catch (p) {
201
- var o = p.stack.trim().match(/\n( *(at )?)/);
202
- K = o && o[1] || "";
200
+ } catch (h) {
201
+ var i = h.stack.trim().match(/\n( *(at )?)/);
202
+ K = i && i[1] || "";
203
203
  }
204
204
  return `
205
205
  ` + K + e;
@@ -218,12 +218,12 @@ function yr() {
218
218
  if (t !== void 0)
219
219
  return t;
220
220
  }
221
- var o;
221
+ var i;
222
222
  Q = !0;
223
- var p = Error.prepareStackTrace;
223
+ var h = Error.prepareStackTrace;
224
224
  Error.prepareStackTrace = void 0;
225
- var h;
226
- h = Z.current, Z.current = null, qe();
225
+ var m;
226
+ m = Z.current, Z.current = null, qe();
227
227
  try {
228
228
  if (r) {
229
229
  var d = function() {
@@ -237,14 +237,14 @@ function yr() {
237
237
  try {
238
238
  Reflect.construct(d, []);
239
239
  } catch (P) {
240
- o = P;
240
+ i = P;
241
241
  }
242
242
  Reflect.construct(e, [], d);
243
243
  } else {
244
244
  try {
245
245
  d.call();
246
246
  } catch (P) {
247
- o = P;
247
+ i = P;
248
248
  }
249
249
  e.call(d.prototype);
250
250
  }
@@ -252,34 +252,34 @@ function yr() {
252
252
  try {
253
253
  throw Error();
254
254
  } catch (P) {
255
- o = P;
255
+ i = P;
256
256
  }
257
257
  e();
258
258
  }
259
259
  } catch (P) {
260
- if (P && o && typeof P.stack == "string") {
261
- for (var c = P.stack.split(`
262
- `), _ = o.stack.split(`
263
- `), y = c.length - 1, R = _.length - 1; y >= 1 && R >= 0 && c[y] !== _[R]; )
264
- R--;
265
- for (; y >= 1 && R >= 0; y--, R--)
266
- if (c[y] !== _[R]) {
267
- if (y !== 1 || R !== 1)
260
+ if (P && i && typeof P.stack == "string") {
261
+ for (var f = P.stack.split(`
262
+ `), _ = i.stack.split(`
263
+ `), R = f.length - 1, y = _.length - 1; R >= 1 && y >= 0 && f[R] !== _[y]; )
264
+ y--;
265
+ for (; R >= 1 && y >= 0; R--, y--)
266
+ if (f[R] !== _[y]) {
267
+ if (R !== 1 || y !== 1)
268
268
  do
269
- if (y--, R--, R < 0 || c[y] !== _[R]) {
269
+ if (R--, y--, y < 0 || f[R] !== _[y]) {
270
270
  var O = `
271
- ` + c[y].replace(" at new ", " at ");
271
+ ` + f[R].replace(" at new ", " at ");
272
272
  return e.displayName && O.includes("<anonymous>") && (O = O.replace("<anonymous>", e.displayName)), typeof e == "function" && q.set(e, O), O;
273
273
  }
274
- while (y >= 1 && R >= 0);
274
+ while (R >= 1 && y >= 0);
275
275
  break;
276
276
  }
277
277
  }
278
278
  } finally {
279
- Q = !1, Z.current = h, ze(), Error.prepareStackTrace = p;
279
+ Q = !1, Z.current = m, ze(), Error.prepareStackTrace = h;
280
280
  }
281
- var $ = e ? e.displayName || e.name : "", Fe = $ ? V($) : "";
282
- return typeof e == "function" && q.set(e, Fe), Fe;
281
+ var D = e ? e.displayName || e.name : "", $e = D ? V(D) : "";
282
+ return typeof e == "function" && q.set(e, $e), $e;
283
283
  }
284
284
  function Be(e, r, t) {
285
285
  return be(e, !1);
@@ -303,14 +303,14 @@ function yr() {
303
303
  }
304
304
  if (typeof e == "object")
305
305
  switch (e.$$typeof) {
306
- case f:
306
+ case c:
307
307
  return Be(e.render);
308
308
  case w:
309
309
  return z(e.type, r, t);
310
310
  case T: {
311
- var o = e, p = o._payload, h = o._init;
311
+ var i = e, h = i._payload, m = i._init;
312
312
  try {
313
- return z(h(p), r, t);
313
+ return z(m(h), r, t);
314
314
  } catch {
315
315
  }
316
316
  }
@@ -325,22 +325,22 @@ function yr() {
325
325
  } else
326
326
  we.setExtraStackFrame(null);
327
327
  }
328
- function Je(e, r, t, o, p) {
328
+ function Je(e, r, t, i, h) {
329
329
  {
330
- var h = Function.call.bind(U);
330
+ var m = Function.call.bind(U);
331
331
  for (var d in e)
332
- if (h(e, d)) {
333
- var c = void 0;
332
+ if (m(e, d)) {
333
+ var f = void 0;
334
334
  try {
335
335
  if (typeof e[d] != "function") {
336
- var _ = Error((o || "React class") + ": " + t + " type `" + d + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[d] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
336
+ var _ = Error((i || "React class") + ": " + t + " type `" + d + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[d] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
337
337
  throw _.name = "Invariant Violation", _;
338
338
  }
339
- c = e[d](r, d, o, t, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
340
- } catch (y) {
341
- c = y;
339
+ f = e[d](r, d, i, t, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
340
+ } catch (R) {
341
+ f = R;
342
342
  }
343
- c && !(c instanceof Error) && (B(p), v("%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).", o || "React class", t, d, typeof c), B(null)), c instanceof Error && !(c.message in _e) && (_e[c.message] = !0, B(p), v("Failed %s type: %s", t, c.message), B(null));
343
+ f && !(f instanceof Error) && (B(h), g("%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).", i || "React class", t, d, typeof f), B(null)), f instanceof Error && !(f.message in _e) && (_e[f.message] = !0, B(h), g("Failed %s type: %s", t, f.message), B(null));
344
344
  }
345
345
  }
346
346
  }
@@ -366,9 +366,9 @@ function yr() {
366
366
  }
367
367
  function Te(e) {
368
368
  if (Ze(e))
369
- return v("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", He(e)), Ce(e);
369
+ return g("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", He(e)), Ce(e);
370
370
  }
371
- var L = S.ReactCurrentOwner, Ke = {
371
+ var W = S.ReactCurrentOwner, Ke = {
372
372
  key: !0,
373
373
  ref: !0,
374
374
  __self: !0,
@@ -392,15 +392,15 @@ function yr() {
392
392
  return e.key !== void 0;
393
393
  }
394
394
  function rr(e, r) {
395
- if (typeof e.ref == "string" && L.current && r && L.current.stateNode !== r) {
396
- var t = j(L.current.type);
397
- re[t] || (v('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', j(L.current.type), e.ref), re[t] = !0);
395
+ if (typeof e.ref == "string" && W.current && r && W.current.stateNode !== r) {
396
+ var t = j(W.current.type);
397
+ re[t] || (g('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', j(W.current.type), e.ref), re[t] = !0);
398
398
  }
399
399
  }
400
400
  function tr(e, r) {
401
401
  {
402
402
  var t = function() {
403
- Oe || (Oe = !0, v("%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));
403
+ Oe || (Oe = !0, g("%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));
404
404
  };
405
405
  t.isReactWarning = !0, Object.defineProperty(e, "key", {
406
406
  get: t,
@@ -411,7 +411,7 @@ function yr() {
411
411
  function nr(e, r) {
412
412
  {
413
413
  var t = function() {
414
- Se || (Se = !0, v("%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));
414
+ Se || (Se = !0, g("%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));
415
415
  };
416
416
  t.isReactWarning = !0, Object.defineProperty(e, "ref", {
417
417
  get: t,
@@ -419,55 +419,55 @@ function yr() {
419
419
  });
420
420
  }
421
421
  }
422
- var ar = function(e, r, t, o, p, h, d) {
423
- var c = {
422
+ var ar = function(e, r, t, i, h, m, d) {
423
+ var f = {
424
424
  // This tag allows us to uniquely identify this as a React Element
425
- $$typeof: a,
425
+ $$typeof: o,
426
426
  // Built-in properties that belong on the element
427
427
  type: e,
428
428
  key: r,
429
429
  ref: t,
430
430
  props: d,
431
431
  // Record the component responsible for creating this element.
432
- _owner: h
432
+ _owner: m
433
433
  };
434
- return c._store = {}, Object.defineProperty(c._store, "validated", {
434
+ return f._store = {}, Object.defineProperty(f._store, "validated", {
435
435
  configurable: !1,
436
436
  enumerable: !1,
437
437
  writable: !0,
438
438
  value: !1
439
- }), Object.defineProperty(c, "_self", {
439
+ }), Object.defineProperty(f, "_self", {
440
440
  configurable: !1,
441
441
  enumerable: !1,
442
442
  writable: !1,
443
- value: o
444
- }), Object.defineProperty(c, "_source", {
443
+ value: i
444
+ }), Object.defineProperty(f, "_source", {
445
445
  configurable: !1,
446
446
  enumerable: !1,
447
447
  writable: !1,
448
- value: p
449
- }), Object.freeze && (Object.freeze(c.props), Object.freeze(c)), c;
448
+ value: h
449
+ }), Object.freeze && (Object.freeze(f.props), Object.freeze(f)), f;
450
450
  };
451
- function or(e, r, t, o, p) {
451
+ function or(e, r, t, i, h) {
452
452
  {
453
- var h, d = {}, c = null, _ = null;
454
- t !== void 0 && (Te(t), c = "" + t), er(r) && (Te(r.key), c = "" + r.key), Qe(r) && (_ = r.ref, rr(r, p));
455
- for (h in r)
456
- U.call(r, h) && !Ke.hasOwnProperty(h) && (d[h] = r[h]);
453
+ var m, d = {}, f = null, _ = null;
454
+ t !== void 0 && (Te(t), f = "" + t), er(r) && (Te(r.key), f = "" + r.key), Qe(r) && (_ = r.ref, rr(r, h));
455
+ for (m in r)
456
+ U.call(r, m) && !Ke.hasOwnProperty(m) && (d[m] = r[m]);
457
457
  if (e && e.defaultProps) {
458
- var y = e.defaultProps;
459
- for (h in y)
460
- d[h] === void 0 && (d[h] = y[h]);
458
+ var R = e.defaultProps;
459
+ for (m in R)
460
+ d[m] === void 0 && (d[m] = R[m]);
461
461
  }
462
- if (c || _) {
463
- var R = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
464
- c && tr(d, R), _ && nr(d, R);
462
+ if (f || _) {
463
+ var y = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
464
+ f && tr(d, y), _ && nr(d, y);
465
465
  }
466
- return ar(e, c, _, p, o, L.current, d);
466
+ return ar(e, f, _, h, i, W.current, d);
467
467
  }
468
468
  }
469
469
  var te = S.ReactCurrentOwner, je = S.ReactDebugCurrentFrame;
470
- function F(e) {
470
+ function $(e) {
471
471
  if (e) {
472
472
  var r = e._owner, t = z(e.type, e._source, r ? r.type : null);
473
473
  je.setExtraStackFrame(t);
@@ -477,7 +477,7 @@ function yr() {
477
477
  var ne;
478
478
  ne = !1;
479
479
  function ae(e) {
480
- return typeof e == "object" && e !== null && e.$$typeof === a;
480
+ return typeof e == "object" && e !== null && e.$$typeof === o;
481
481
  }
482
482
  function Pe() {
483
483
  {
@@ -524,8 +524,8 @@ Check the top-level render call using <` + t + ">.");
524
524
  if (xe[t])
525
525
  return;
526
526
  xe[t] = !0;
527
- var o = "";
528
- e && e._owner && e._owner !== te.current && (o = " It was passed a child from " + j(e._owner.type) + "."), F(e), v('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', t, o), F(null);
527
+ var i = "";
528
+ e && e._owner && e._owner !== te.current && (i = " It was passed a child from " + j(e._owner.type) + "."), $(e), g('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', t, i), $(null);
529
529
  }
530
530
  }
531
531
  function ke(e, r) {
@@ -534,15 +534,15 @@ Check the top-level render call using <` + t + ">.");
534
534
  return;
535
535
  if (ee(e))
536
536
  for (var t = 0; t < e.length; t++) {
537
- var o = e[t];
538
- ae(o) && Ae(o, r);
537
+ var i = e[t];
538
+ ae(i) && Ae(i, r);
539
539
  }
540
540
  else if (ae(e))
541
541
  e._store && (e._store.validated = !0);
542
542
  else if (e) {
543
- var p = N(e);
544
- if (typeof p == "function" && p !== e.entries)
545
- for (var h = p.call(e), d; !(d = h.next()).done; )
543
+ var h = M(e);
544
+ if (typeof h == "function" && h !== e.entries)
545
+ for (var m = h.call(e), d; !(d = m.next()).done; )
546
546
  ae(d.value) && Ae(d.value, r);
547
547
  }
548
548
  }
@@ -555,76 +555,76 @@ Check the top-level render call using <` + t + ">.");
555
555
  var t;
556
556
  if (typeof r == "function")
557
557
  t = r.propTypes;
558
- else if (typeof r == "object" && (r.$$typeof === f || // Note: Memo only checks outer props here.
558
+ else if (typeof r == "object" && (r.$$typeof === c || // Note: Memo only checks outer props here.
559
559
  // Inner props are checked in the reconciler.
560
560
  r.$$typeof === w))
561
561
  t = r.propTypes;
562
562
  else
563
563
  return;
564
564
  if (t) {
565
- var o = j(r);
566
- Je(t, e.props, "prop", o, e);
565
+ var i = j(r);
566
+ Je(t, e.props, "prop", i, e);
567
567
  } else if (r.PropTypes !== void 0 && !ne) {
568
568
  ne = !0;
569
- var p = j(r);
570
- v("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", p || "Unknown");
569
+ var h = j(r);
570
+ g("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", h || "Unknown");
571
571
  }
572
- typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved && v("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
572
+ typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved && g("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
573
573
  }
574
574
  }
575
575
  function lr(e) {
576
576
  {
577
577
  for (var r = Object.keys(e.props), t = 0; t < r.length; t++) {
578
- var o = r[t];
579
- if (o !== "children" && o !== "key") {
580
- F(e), v("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", o), F(null);
578
+ var i = r[t];
579
+ if (i !== "children" && i !== "key") {
580
+ $(e), g("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", i), $(null);
581
581
  break;
582
582
  }
583
583
  }
584
- e.ref !== null && (F(e), v("Invalid attribute `ref` supplied to `React.Fragment`."), F(null));
584
+ e.ref !== null && ($(e), g("Invalid attribute `ref` supplied to `React.Fragment`."), $(null));
585
585
  }
586
586
  }
587
- function De(e, r, t, o, p, h) {
587
+ function Fe(e, r, t, i, h, m) {
588
588
  {
589
589
  var d = Ye(e);
590
590
  if (!d) {
591
- var c = "";
592
- (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (c += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
593
- var _ = ir(p);
594
- _ ? c += _ : c += Pe();
595
- var y;
596
- e === null ? y = "null" : ee(e) ? y = "array" : e !== void 0 && e.$$typeof === a ? (y = "<" + (j(e.type) || "Unknown") + " />", c = " Did you accidentally export a JSX literal instead of a component?") : y = typeof e, v("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", y, c);
591
+ var f = "";
592
+ (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (f += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
593
+ var _ = ir(h);
594
+ _ ? f += _ : f += Pe();
595
+ var R;
596
+ e === null ? R = "null" : ee(e) ? R = "array" : e !== void 0 && e.$$typeof === o ? (R = "<" + (j(e.type) || "Unknown") + " />", f = " Did you accidentally export a JSX literal instead of a component?") : R = typeof e, g("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", R, f);
597
597
  }
598
- var R = or(e, r, t, p, h);
599
- if (R == null)
600
- return R;
598
+ var y = or(e, r, t, h, m);
599
+ if (y == null)
600
+ return y;
601
601
  if (d) {
602
602
  var O = r.children;
603
603
  if (O !== void 0)
604
- if (o)
604
+ if (i)
605
605
  if (ee(O)) {
606
- for (var $ = 0; $ < O.length; $++)
607
- ke(O[$], e);
606
+ for (var D = 0; D < O.length; D++)
607
+ ke(O[D], e);
608
608
  Object.freeze && Object.freeze(O);
609
609
  } else
610
- v("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
610
+ g("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
611
611
  else
612
612
  ke(O, e);
613
613
  }
614
- return e === l ? lr(R) : sr(R), R;
614
+ return e === l ? lr(y) : sr(y), y;
615
615
  }
616
616
  }
617
617
  function cr(e, r, t) {
618
- return De(e, r, t, !0);
618
+ return Fe(e, r, t, !0);
619
619
  }
620
620
  function fr(e, r, t) {
621
- return De(e, r, t, !1);
621
+ return Fe(e, r, t, !1);
622
622
  }
623
623
  var dr = fr, vr = cr;
624
- M.Fragment = l, M.jsx = dr, M.jsxs = vr;
625
- }()), M;
624
+ I.Fragment = l, I.jsx = dr, I.jsxs = vr;
625
+ }()), I;
626
626
  }
627
- process.env.NODE_ENV === "production" ? ie.exports = Er() : ie.exports = yr();
627
+ process.env.NODE_ENV === "production" ? ie.exports = Er() : ie.exports = Rr();
628
628
  var x = ie.exports;
629
629
  const H = pr({
630
630
  axios: void 0,
@@ -636,94 +636,94 @@ const H = pr({
636
636
  useLocation: void 0
637
637
  }), Tr = ({
638
638
  axios: n,
639
- children: a,
640
- translate: i,
639
+ children: o,
640
+ translate: u,
641
641
  useAuth: l,
642
- Outlet: u,
643
- Navigate: g,
642
+ Outlet: a,
643
+ Navigate: v,
644
644
  useLocation: s,
645
- useGoogleTagManager: m
645
+ useGoogleTagManager: p
646
646
  }) => {
647
- const f = ue(
647
+ const c = ue(
648
648
  () => ({
649
649
  axios: n,
650
- Navigate: g,
651
- Outlet: u,
652
- translate: i,
650
+ Navigate: v,
651
+ Outlet: a,
652
+ translate: u,
653
653
  useAuth: l,
654
- useGoogleTagManager: m,
654
+ useGoogleTagManager: p,
655
655
  useLocation: s
656
656
  }),
657
- [g, u, n, i, l, m, s]
657
+ [v, a, n, u, l, p, s]
658
658
  );
659
- return /* @__PURE__ */ x.jsx(H.Provider, { value: f, children: a });
659
+ return /* @__PURE__ */ x.jsx(H.Provider, { value: c, children: o });
660
660
  }, G = (n) => `RequireAuth require « ${n} » dependency. You can provide with InjectDependenciesProvider or directly in props.`, Or = ({
661
661
  Fallback: n,
662
- loginPath: a = "/login",
663
- localStorageKey: i = "user",
662
+ loginPath: o = "/login",
663
+ localStorageKey: u = "user",
664
664
  redirect401Path: l = "/login",
665
- ...u
665
+ ...a
666
666
  }) => {
667
- var A, k, N, S;
667
+ var A, k, M, S;
668
668
  const {
669
- axios: g = u.axios,
670
- useLocation: s = u.useLocation,
671
- useAuth: m = u.useAuth,
672
- Outlet: f = u.Outlet,
673
- Navigate: b = u.Navigate
669
+ axios: v = a.axios,
670
+ useLocation: s = a.useLocation,
671
+ useAuth: p = a.useAuth,
672
+ Outlet: c = a.Outlet,
673
+ Navigate: b = a.Navigate
674
674
  } = se(H);
675
- if (m === void 0)
675
+ if (p === void 0)
676
676
  throw new Error(G("useAuth"));
677
677
  if (s === void 0)
678
678
  throw new Error(G("useLocation"));
679
- if (f === void 0)
679
+ if (c === void 0)
680
680
  throw new Error(G("Outlet"));
681
681
  if (b === void 0)
682
682
  throw new Error(G("Navigate"));
683
- const [E, w] = gr(null), { isLogged: T } = m(), C = s();
683
+ const [E, w] = gr(null), { isLogged: T } = p(), C = s();
684
684
  return X(() => {
685
- g == null || g.interceptors.response.use(
686
- (v) => v,
687
- async (v) => {
685
+ v == null || v.interceptors.response.use(
686
+ (g) => g,
687
+ async (g) => {
688
688
  var Y;
689
- return typeof v == "object" && v && "response" in v && v.response && typeof v.response == "object" && "status" in v.response && v.response && typeof v.response == "object" && "status" in v.response && ((Y = v == null ? void 0 : v.response) == null ? void 0 : Y.status) === 401 && (g.defaults.headers.common.Authorization = null, localStorage.removeItem(i), w(l)), Promise.reject(v);
689
+ return typeof g == "object" && g && "response" in g && g.response && typeof g.response == "object" && "status" in g.response && g.response && typeof g.response == "object" && "status" in g.response && ((Y = g == null ? void 0 : g.response) == null ? void 0 : Y.status) === 401 && (v.defaults.headers.common.Authorization = null, localStorage.removeItem(u), w(l)), Promise.reject(g);
690
690
  }
691
691
  );
692
- }, [g == null ? void 0 : g.defaults, g == null ? void 0 : g.interceptors.response, i, l]), T && !E ? /* @__PURE__ */ x.jsx(mr, { fallback: n, children: (k = (A = C.state) == null ? void 0 : A.from) != null && k.state && ((S = (N = C.state) == null ? void 0 : N.from) == null ? void 0 : S.pathname) === a ? /* @__PURE__ */ x.jsx(b, { to: C.state.from.state.from.pathname + C.state.from.state.from.search, replace: !0 }) : /* @__PURE__ */ x.jsx(f, {}) }) : /* @__PURE__ */ x.jsx(b, { to: a, state: { from: C }, replace: !0 });
692
+ }, [v == null ? void 0 : v.defaults, v == null ? void 0 : v.interceptors.response, u, l]), T && !E ? /* @__PURE__ */ x.jsx(hr, { fallback: n, children: (k = (A = C.state) == null ? void 0 : A.from) != null && k.state && ((S = (M = C.state) == null ? void 0 : M.from) == null ? void 0 : S.pathname) === o ? /* @__PURE__ */ x.jsx(b, { to: C.state.from.state.from.pathname + C.state.from.state.from.search, replace: !0 }) : /* @__PURE__ */ x.jsx(c, {}) }) : /* @__PURE__ */ x.jsx(b, { to: o, state: { from: C }, replace: !0 });
693
693
  }, oe = (n) => `GTMSendPageView require « ${n} » dependency. You can provide with InjectDependenciesProvider or directly in props.`, Sr = ({ ...n }) => {
694
694
  const {
695
- useLocation: a = n.useLocation,
696
- Outlet: i = n.Outlet,
695
+ useLocation: o = n.useLocation,
696
+ Outlet: u = n.Outlet,
697
697
  useGoogleTagManager: l = n.useGoogleTagManager
698
698
  } = se(H);
699
- if (a === void 0)
699
+ if (o === void 0)
700
700
  throw new Error(oe("useLocation"));
701
- if (i === void 0)
701
+ if (u === void 0)
702
702
  throw new Error(oe("Outlet"));
703
703
  if (l === void 0)
704
704
  throw new Error(oe("useGoogleTagManager"));
705
- const { pathname: u } = a(), { sendEvent: g } = l();
706
- return hr(() => {
707
- g({ event: "pageView", pathname: u });
708
- }, [u, g]), /* @__PURE__ */ x.jsx(i, {});
705
+ const { pathname: a } = o(), { sendEvent: v } = l();
706
+ return mr(() => {
707
+ v({ event: "pageView", pathname: a });
708
+ }, [a, v]), /* @__PURE__ */ x.jsx(u, {});
709
709
  }, jr = ({
710
710
  axios: n,
711
- baseURL: a,
712
- tokenTypeKey: i = "tokenType",
711
+ baseURL: o,
712
+ tokenTypeKey: u = "tokenType",
713
713
  userLocalStorageKey: l = "user",
714
- tokenKey: u = "accessToken",
715
- postContentType: g = "application/json"
714
+ tokenKey: a = "accessToken",
715
+ postContentType: v = "application/json"
716
716
  }) => (X(() => {
717
717
  if (!n.defaults)
718
718
  return;
719
- const s = localStorage.getItem(l), m = s ? JSON.parse(s) : null, f = m != null && m[i] ? m[i] : null, b = m != null && m[u] ? m[u] : null, E = s ? `${f} ${b}` : null;
720
- n.defaults.baseURL = a, n.defaults.headers.post["Content-Type"] = g, E && (n.defaults.headers.common.Authorization = E);
721
- }, [n.defaults, a, g, u, i, l]), null), Pr = ({
719
+ const s = localStorage.getItem(l), p = s ? JSON.parse(s) : null, c = p != null && p[u] ? p[u] : null, b = p != null && p[a] ? p[a] : null, E = s ? `${c} ${b}` : null;
720
+ n.defaults.baseURL = o, n.defaults.headers.post["Content-Type"] = v, E && (n.defaults.headers.common.Authorization = E);
721
+ }, [n.defaults, o, v, a, u, l]), null), Pr = ({
722
722
  i18n: n,
723
- initReactI18next: a,
724
- resources: i,
723
+ initReactI18next: o,
724
+ resources: u,
725
725
  LanguageDetector: l
726
- }) => (n.use(l).use(a).init({
726
+ }) => (n.use(l).use(o).init({
727
727
  debug: !1,
728
728
  fallbackLng: "en",
729
729
  interpolation: {
@@ -733,82 +733,120 @@ const H = pr({
733
733
  react: {
734
734
  useSuspense: !0
735
735
  },
736
- resources: i,
736
+ resources: u,
737
737
  returnNull: !1
738
738
  }).then(() => {
739
739
  document.documentElement.lang !== n.resolvedLanguage && n.resolvedLanguage && document.documentElement.setAttribute("lang", n.resolvedLanguage);
740
- }), n.on("languageChanged", (u) => {
741
- document.documentElement.setAttribute("lang", u);
742
- }), null), xr = ({ dsn: n, sentry: a, integrations: i }) => (X(() => {
743
- process.env.NODE_ENV === "production" && a.init({
740
+ }), n.on("languageChanged", (a) => {
741
+ document.documentElement.setAttribute("lang", a);
742
+ }), null), xr = ({
743
+ dsn: n,
744
+ sentry: o,
745
+ integrations: u,
746
+ tracesSampleRate: l,
747
+ routingInstrumentationDependencies: a,
748
+ replaysSessionSampleRate: v,
749
+ replaysOnErrorSampleRate: s,
750
+ tracePropagationTargets: p,
751
+ debug: c
752
+ }) => (X(() => {
753
+ process.env.NODE_ENV === "production" && o.init({
754
+ debug: c,
744
755
  dsn: n,
745
- integrations: i || [new a.BrowserTracing()],
746
- replaysOnErrorSampleRate: 1,
747
- replaysSessionSampleRate: 0.1,
748
- tracesSampleRate: 1
756
+ integrations: [
757
+ new o.BrowserTracing({
758
+ routingInstrumentation: o.reactRouterV6Instrumentation(
759
+ a.useEffect,
760
+ a.useLocation,
761
+ a.useNavigationType,
762
+ a.createRoutesFromChildren,
763
+ a.matchRoutes
764
+ )
765
+ }),
766
+ new o.Replay(),
767
+ ...u
768
+ ],
769
+ replaysOnErrorSampleRate: s || 1,
770
+ replaysSessionSampleRate: v || 0.1,
771
+ tracePropagationTargets: p,
772
+ tracesSampleRate: l || 1
749
773
  });
750
- }, [n, i, a]), null), Ar = ({ IMaskMixin: n, ...a }) => {
751
- const i = ue(
774
+ }, [
775
+ c,
776
+ n,
777
+ u,
778
+ s,
779
+ v,
780
+ a.createRoutesFromChildren,
781
+ a.matchRoutes,
782
+ a.useEffect,
783
+ a.useLocation,
784
+ a.useNavigationType,
785
+ o,
786
+ p,
787
+ l
788
+ ]), null), Ar = ({ IMaskMixin: n, ...o }) => {
789
+ const u = ue(
752
790
  // eslint-disable-next-line react/jsx-props-no-spreading
753
- () => n(({ TextField: l, ...u }) => /* @__PURE__ */ x.jsx(l, { ...u })),
791
+ () => n(({ TextField: l, ...a }) => /* @__PURE__ */ x.jsx(l, { ...a })),
754
792
  [n]
755
793
  );
756
- return /* @__PURE__ */ x.jsx(i, { ...a });
757
- }, kr = ({ mapbox: n, accessToken: a }) => (X(() => {
758
- n && a && (n.accessToken = a);
759
- }, [a, n]), null), Dr = ({
794
+ return /* @__PURE__ */ x.jsx(u, { ...o });
795
+ }, kr = ({ mapbox: n, accessToken: o }) => (X(() => {
796
+ n && o && (n.accessToken = o);
797
+ }, [o, n]), null), Fr = ({
760
798
  children: n,
761
- defaultOptions: a,
762
- QueryClient: i,
799
+ defaultOptions: o,
800
+ QueryClient: u,
763
801
  QueryClientProvider: l
764
802
  }) => {
765
- const u = new i({
803
+ const a = new u({
766
804
  defaultOptions: {
767
805
  queries: {
768
806
  refetchOnWindowFocus: !1,
769
807
  retry: 3,
770
- ...a
808
+ ...o
771
809
  }
772
810
  }
773
811
  });
774
- return /* @__PURE__ */ x.jsx(l, { client: u, children: n });
775
- }, Fr = (n) => {
776
- const { unknownErrorTranslationKey: a = "error.unknownError" } = n || {}, { translate: i = n == null ? void 0 : n.translate } = se(H);
812
+ return /* @__PURE__ */ x.jsx(l, { client: a, children: n });
813
+ }, $r = (n) => {
814
+ const { unknownErrorTranslationKey: o = "error.unknownError" } = n || {}, { translate: u = n == null ? void 0 : n.translate } = se(H);
777
815
  return { printError: J(
778
- (u) => {
779
- var m, f, b, E, w, T, C, A, k;
780
- const g = i ? i(a) : "Unknown error", { response: s } = u || {};
781
- return u != null && u.reason ? String(u.reason) : (m = s == null ? void 0 : s.data) != null && m.reason ? String(s.data.reason) : (f = s == null ? void 0 : s.data) != null && f.message ? String(s.data.message) : (E = (b = s == null ? void 0 : s.data) == null ? void 0 : b.detail) != null && E.length && Array.isArray((w = s == null ? void 0 : s.data) == null ? void 0 : w.detail) && ((C = (T = s == null ? void 0 : s.data) == null ? void 0 : T.detail[0]) != null && C.msg) && typeof ((k = (A = s == null ? void 0 : s.data) == null ? void 0 : A.detail[0]) == null ? void 0 : k.msg) == "string" ? String(s.data.detail[0].msg) : g;
816
+ (a) => {
817
+ var p, c, b, E, w, T, C, A, k;
818
+ const v = u ? u(o) : "Unknown error", { response: s } = a || {};
819
+ return a != null && a.reason ? String(a.reason) : (p = s == null ? void 0 : s.data) != null && p.reason ? String(s.data.reason) : (c = s == null ? void 0 : s.data) != null && c.message ? String(s.data.message) : (E = (b = s == null ? void 0 : s.data) == null ? void 0 : b.detail) != null && E.length && Array.isArray((w = s == null ? void 0 : s.data) == null ? void 0 : w.detail) && ((C = (T = s == null ? void 0 : s.data) == null ? void 0 : T.detail[0]) != null && C.msg) && typeof ((k = (A = s == null ? void 0 : s.data) == null ? void 0 : A.detail[0]) == null ? void 0 : k.msg) == "string" ? String(s.data.detail[0].msg) : v;
782
820
  },
783
- [i, a]
821
+ [u, o]
784
822
  ) };
785
- }, $r = ({
823
+ }, Dr = ({
786
824
  data: n,
787
- fetchNextPage: a,
788
- isFetchingNextPage: i,
825
+ fetchNextPage: o,
826
+ isFetchingNextPage: u,
789
827
  isInitialLoading: l,
790
- isLoading: u,
791
- enabled: g = !0
828
+ isLoading: a,
829
+ enabled: v = !0
792
830
  }) => {
793
831
  const s = J(
794
- async (f) => {
795
- i || !g || await a({ pageParam: (f == null ? void 0 : f.pageParam) || f.visibleRowsCount });
832
+ async (c) => {
833
+ u || !v || await o({ pageParam: (c == null ? void 0 : c.pageParam) || c.visibleRowsCount });
796
834
  },
797
- [g, a, i]
798
- ), m = ue(() => {
835
+ [v, o, u]
836
+ ), p = ue(() => {
799
837
  if (n)
800
- return n.pages.reduce((f, b) => [...f, ...b], []);
838
+ return n.pages.reduce((c, b) => [...c, ...b], []);
801
839
  }, [n]);
802
840
  return {
803
841
  fetchNextPageOnRowsScrollEnd: s,
804
- isLoading: i || u,
842
+ isLoading: u || a,
805
843
  loadingVariant: l ? "skeleton" : "linear",
806
- rows: m
844
+ rows: p
807
845
  };
808
- }, Ir = (n) => {
809
- const a = J(
810
- ({ tokenType: l, accessToken: u }) => {
811
- n.defaults.headers.common.Authorization = `${l} ${u}`;
846
+ }, Lr = (n) => {
847
+ const o = J(
848
+ ({ tokenType: l, accessToken: a }) => {
849
+ n.defaults.headers.common.Authorization = `${l} ${a}`;
812
850
  },
813
851
  [n.defaults.headers.common]
814
852
  );
@@ -816,30 +854,30 @@ const H = pr({
816
854
  clearAuthenticationToken: J(() => {
817
855
  n.defaults.headers.common.Authorization = null;
818
856
  }, [n.defaults.headers.common]),
819
- setAuthenticationToken: a
857
+ setAuthenticationToken: o
820
858
  };
821
- }, Rr = (n) => n.charAt(0).toUpperCase() + n.slice(1).toLowerCase(), br = (n) => {
822
- const l = n.split("/").filter((u) => u.length > 0).map((u) => u.replace(/\${([^}]*)}/g, "$1").split(/[_-]/).map((f) => f.charAt(0).toUpperCase() + f.slice(1)).join("")).join("");
859
+ }, yr = (n) => n.charAt(0).toUpperCase() + n.slice(1).toLowerCase(), br = (n) => {
860
+ const l = n.split("/").filter((a) => a.length > 0).map((a) => a.replace(/\${([^}]*)}/g, "$1").split(/[_-]/).map((c) => c.charAt(0).toUpperCase() + c.slice(1)).join("")).join("");
823
861
  return l.charAt(0).toLowerCase() + l.slice(1);
824
- }, _r = (n, a, i) => {
825
- const l = br(a), u = Rr(i);
826
- return `${l}${u}`;
862
+ }, _r = (n, o, u) => {
863
+ const l = br(o), a = yr(u);
864
+ return `${l}${a}`;
827
865
  }, wr = (n) => {
828
866
  if (n)
829
- return (n == null ? void 0 : n.reduce((a, i) => (a[i] = {
867
+ return (n == null ? void 0 : n.reduce((o, u) => (o[u] = {
830
868
  query: {
831
869
  useInfinite: !0,
832
870
  useInfiniteQueryParam: "offset"
833
871
  }
834
- }, a), {})) || {};
835
- }, Lr = (n) => {
836
- const { input: a = "./openapi.json", operationsToGenerateInfiniteQueryHook: i = void 0 } = n || {};
872
+ }, o), {})) || {};
873
+ }, Wr = (n) => {
874
+ const { input: o = "./openapi.json", operationsToGenerateInfiniteQueryHook: u = void 0 } = n || {};
837
875
  return {
838
876
  api: {
839
877
  hooks: {
840
878
  afterAllFilesWrite: "prettier src/api/ --write"
841
879
  },
842
- input: a,
880
+ input: o,
843
881
  output: {
844
882
  client: "react-query",
845
883
  mode: "tags-split",
@@ -854,7 +892,7 @@ const H = pr({
854
892
  path: `${__dirname}/config/orval/mutator/axiosCustomInstance.ts`
855
893
  },
856
894
  operationName: _r,
857
- ...(i == null ? void 0 : i.length) && { operations: wr(i) },
895
+ ...(u == null ? void 0 : u.length) && { operations: wr(u) },
858
896
  query: {
859
897
  useQuery: !0
860
898
  }
@@ -873,11 +911,11 @@ export {
873
911
  Tr as InjectDependenciesProvider,
874
912
  kr as MapBoxConfig,
875
913
  Ar as MaskTextField,
876
- Dr as QueryClientConfigProvider,
914
+ Fr as QueryClientConfigProvider,
877
915
  Or as RequireAuth,
878
916
  xr as SentryConfig,
879
- Lr as getOrvalConfig,
880
- Ir as useAuth,
881
- $r as useInfiniteDataGrid,
882
- Fr as useResponseError
917
+ Wr as getOrvalConfig,
918
+ Lr as useAuth,
919
+ Dr as useInfiniteDataGrid,
920
+ $r as useResponseError
883
921
  };