react-luminus-components 1.1.6 → 1.1.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (45) hide show
  1. package/dist/.vite/manifest.json +53 -46
  2. package/dist/DataKey-C-RyQIZQ.mjs +51 -0
  3. package/dist/DataKey-CBpWR2M6.js +1 -0
  4. package/dist/{InvalidFeedback.module-DrVBvau3.js → EmployeesDropdown.module-4iGuBkjc.js} +15 -15
  5. package/dist/{InvalidFeedback.module-DJcRbXSF.mjs → EmployeesDropdown.module-AbK-MkT0.mjs} +290 -274
  6. package/dist/SimpleTooltip-BwmrrMt1.js +1 -0
  7. package/dist/{SimpleTooltip-CKNsKZll.mjs → SimpleTooltip-eeSv-6cG.mjs} +2 -2
  8. package/dist/components/Form/EmployeePicker/EmployeePicker.d.ts +2 -1
  9. package/dist/components/HookForm/EmployeePicker/HookFormEmployeePicker.d.ts +2 -1
  10. package/dist/components/common/EmployeesDropdown/EmployeesDropdown.d.ts +11 -0
  11. package/dist/components/common/InputContainer/InputContainer.d.ts +2 -1
  12. package/dist/components/common/index.d.ts +1 -0
  13. package/dist/contexts/luminus-components/LuminusComponentsContext.d.ts +2 -2
  14. package/dist/contexts/luminus-components/LuminusComponentsProvider.d.ts +3 -3
  15. package/dist/contexts.cjs.js +1 -1
  16. package/dist/contexts.es.js +648 -74
  17. package/dist/{hasClass-2sGhxaPc.mjs → hasClass-6QP28uKO.mjs} +1 -1
  18. package/dist/{hasClass-Ch2izaph.js → hasClass-Do_vMvLD.js} +5 -5
  19. package/dist/hooks/index.d.ts +1 -0
  20. package/dist/hooks/useClickOutside/useClickOutside.d.ts +3 -0
  21. package/dist/hooks.cjs.js +1 -1
  22. package/dist/hooks.es.js +35 -33
  23. package/dist/layout.cjs.js +1 -1
  24. package/dist/layout.es.js +2 -2
  25. package/dist/main.cjs.js +1 -1
  26. package/dist/main.d.ts +1 -1
  27. package/dist/main.es.js +1129 -1123
  28. package/dist/models/index.d.ts +1 -1
  29. package/dist/models/texts/EmployeesDropdownTexts.d.ts +4 -0
  30. package/dist/style.css +1 -1
  31. package/dist/useClickOutside-BjJyGTec.mjs +14 -0
  32. package/dist/useClickOutside-DsVG12Cs.js +1 -0
  33. package/dist/{useConfirm-Cv_8Pxgx.mjs → useConfirm-CsFA8Y7z.mjs} +1 -1
  34. package/dist/useConfirm-DGeJryJS.js +1 -0
  35. package/package.json +2 -3
  36. package/dist/Modal-Cgt4jEpF.mjs +0 -627
  37. package/dist/Modal-dXyx77X0.js +0 -1
  38. package/dist/SimpleTooltip-hw-DnjyJ.js +0 -1
  39. package/dist/components/EmployeePicker/EmployeeSearch/EmployeeSearch.d.ts +0 -7
  40. package/dist/components/EmployeePicker/EmployeeSearchModal/EmployeeSearchModal.d.ts +0 -9
  41. package/dist/components/EmployeePicker/comps/EmployeeSearchItem/EmployeeSearchItem.d.ts +0 -7
  42. package/dist/components/EmployeePicker/comps/index.d.ts +0 -1
  43. package/dist/components/EmployeePicker/index.d.ts +0 -2
  44. package/dist/models/texts/EmployeeSearchModalTexts.d.ts +0 -6
  45. package/dist/useConfirm-BCj1t5rw.js +0 -1
@@ -1,6 +1,6 @@
1
1
  import * as k from "react";
2
- import q, { createContext as De, useEffect as lt, useCallback as re, useState as fn, useContext as or } from "react";
3
- import { t as dn, e as pn } from "./textUtils-9KFqOvA8.mjs";
2
+ import q, { createContext as De, useEffect as lt, useCallback as re, useState as dn, useContext as or } from "react";
3
+ import { t as fn, e as pn } from "./textUtils-9KFqOvA8.mjs";
4
4
  function hn(e) {
5
5
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
6
6
  }
@@ -14,21 +14,21 @@ var et = { exports: {} }, ae = {};
14
14
  * This source code is licensed under the MIT license found in the
15
15
  * LICENSE file in the root directory of this source tree.
16
16
  */
17
- var Ut;
17
+ var Bt;
18
18
  function mn() {
19
- if (Ut)
19
+ if (Bt)
20
20
  return ae;
21
- Ut = 1;
21
+ Bt = 1;
22
22
  var e = q, t = Symbol.for("react.element"), r = Symbol.for("react.fragment"), n = Object.prototype.hasOwnProperty, s = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, o = { key: !0, ref: !0, __self: !0, __source: !0 };
23
23
  function i(c, l, h) {
24
- var p, f = {}, v = null, O = null;
24
+ var p, d = {}, v = null, O = null;
25
25
  h !== void 0 && (v = "" + h), l.key !== void 0 && (v = "" + l.key), l.ref !== void 0 && (O = l.ref);
26
26
  for (p in l)
27
- n.call(l, p) && !o.hasOwnProperty(p) && (f[p] = l[p]);
27
+ n.call(l, p) && !o.hasOwnProperty(p) && (d[p] = l[p]);
28
28
  if (c && c.defaultProps)
29
29
  for (p in l = c.defaultProps, l)
30
- f[p] === void 0 && (f[p] = l[p]);
31
- return { $$typeof: t, type: c, key: v, ref: O, props: f, _owner: s.current };
30
+ d[p] === void 0 && (d[p] = l[p]);
31
+ return { $$typeof: t, type: c, key: v, ref: O, props: d, _owner: s.current };
32
32
  }
33
33
  return ae.Fragment = r, ae.jsx = i, ae.jsxs = i, ae;
34
34
  }
@@ -42,48 +42,48 @@ var ce = {};
42
42
  * This source code is licensed under the MIT license found in the
43
43
  * LICENSE file in the root directory of this source tree.
44
44
  */
45
- var Bt;
45
+ var Ut;
46
46
  function gn() {
47
- return Bt || (Bt = 1, process.env.NODE_ENV !== "production" && function() {
48
- var e = q, t = Symbol.for("react.element"), r = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), s = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), i = Symbol.for("react.provider"), c = Symbol.for("react.context"), l = Symbol.for("react.forward_ref"), h = Symbol.for("react.suspense"), p = Symbol.for("react.suspense_list"), f = Symbol.for("react.memo"), v = Symbol.for("react.lazy"), O = Symbol.for("react.offscreen"), g = Symbol.iterator, y = "@@iterator";
47
+ return Ut || (Ut = 1, process.env.NODE_ENV !== "production" && function() {
48
+ var e = q, t = Symbol.for("react.element"), r = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), s = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), i = Symbol.for("react.provider"), c = Symbol.for("react.context"), l = Symbol.for("react.forward_ref"), h = Symbol.for("react.suspense"), p = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), v = Symbol.for("react.lazy"), O = Symbol.for("react.offscreen"), g = Symbol.iterator, y = "@@iterator";
49
49
  function j(a) {
50
50
  if (a === null || typeof a != "object")
51
51
  return null;
52
- var d = g && a[g] || a[y];
53
- return typeof d == "function" ? d : null;
52
+ var f = g && a[g] || a[y];
53
+ return typeof f == "function" ? f : null;
54
54
  }
55
55
  var T = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
56
56
  function S(a) {
57
57
  {
58
- for (var d = arguments.length, m = new Array(d > 1 ? d - 1 : 0), b = 1; b < d; b++)
58
+ for (var f = arguments.length, m = new Array(f > 1 ? f - 1 : 0), b = 1; b < f; b++)
59
59
  m[b - 1] = arguments[b];
60
60
  I("error", a, m);
61
61
  }
62
62
  }
63
- function I(a, d, m) {
63
+ function I(a, f, m) {
64
64
  {
65
65
  var b = T.ReactDebugCurrentFrame, x = b.getStackAddendum();
66
- x !== "" && (d += "%s", m = m.concat([x]));
66
+ x !== "" && (f += "%s", m = m.concat([x]));
67
67
  var R = m.map(function(_) {
68
68
  return String(_);
69
69
  });
70
- R.unshift("Warning: " + d), Function.prototype.apply.call(console[a], console, R);
70
+ R.unshift("Warning: " + f), Function.prototype.apply.call(console[a], console, R);
71
71
  }
72
72
  }
73
- var Be = !1, Nr = !1, Dr = !1, Fr = !1, Lr = !1, gt;
73
+ var Ue = !1, Nr = !1, Dr = !1, Fr = !1, Lr = !1, gt;
74
74
  gt = Symbol.for("react.module.reference");
75
75
  function Mr(a) {
76
- return !!(typeof a == "string" || typeof a == "function" || a === n || a === o || Lr || a === s || a === h || a === p || Fr || a === O || Be || Nr || Dr || typeof a == "object" && a !== null && (a.$$typeof === v || a.$$typeof === f || a.$$typeof === i || a.$$typeof === c || a.$$typeof === l || // This needs to include all possible module reference object
76
+ return !!(typeof a == "string" || typeof a == "function" || a === n || a === o || Lr || a === s || a === h || a === p || Fr || a === O || Ue || Nr || Dr || typeof a == "object" && a !== null && (a.$$typeof === v || a.$$typeof === d || a.$$typeof === i || a.$$typeof === c || a.$$typeof === l || // This needs to include all possible module reference object
77
77
  // types supported by any Flight configuration anywhere since
78
78
  // we don't know which Flight build this will end up being used
79
79
  // with.
80
80
  a.$$typeof === gt || a.getModuleId !== void 0));
81
81
  }
82
- function zr(a, d, m) {
82
+ function zr(a, f, m) {
83
83
  var b = a.displayName;
84
84
  if (b)
85
85
  return b;
86
- var x = d.displayName || d.name || "";
86
+ var x = f.displayName || f.name || "";
87
87
  return x !== "" ? m + "(" + x + ")" : m;
88
88
  }
89
89
  function yt(a) {
@@ -113,14 +113,14 @@ function gn() {
113
113
  if (typeof a == "object")
114
114
  switch (a.$$typeof) {
115
115
  case c:
116
- var d = a;
117
- return yt(d) + ".Consumer";
116
+ var f = a;
117
+ return yt(f) + ".Consumer";
118
118
  case i:
119
119
  var m = a;
120
120
  return yt(m._context) + ".Provider";
121
121
  case l:
122
122
  return zr(a, a.render, "ForwardRef");
123
- case f:
123
+ case d:
124
124
  var b = a.displayName || null;
125
125
  return b !== null ? b : $(a.type) || "Memo";
126
126
  case v: {
@@ -161,7 +161,7 @@ function gn() {
161
161
  se++;
162
162
  }
163
163
  }
164
- function Ur() {
164
+ function Br() {
165
165
  {
166
166
  if (se--, se === 0) {
167
167
  var a = {
@@ -197,7 +197,7 @@ function gn() {
197
197
  }
198
198
  }
199
199
  var $e = T.ReactCurrentDispatcher, He;
200
- function me(a, d, m) {
200
+ function me(a, f, m) {
201
201
  {
202
202
  if (He === void 0)
203
203
  try {
@@ -212,10 +212,10 @@ function gn() {
212
212
  }
213
213
  var Ve = !1, ge;
214
214
  {
215
- var Br = typeof WeakMap == "function" ? WeakMap : Map;
216
- ge = new Br();
215
+ var Ur = typeof WeakMap == "function" ? WeakMap : Map;
216
+ ge = new Ur();
217
217
  }
218
- function St(a, d) {
218
+ function St(a, f) {
219
219
  if (!a || Ve)
220
220
  return "";
221
221
  {
@@ -230,7 +230,7 @@ function gn() {
230
230
  var R;
231
231
  R = $e.current, $e.current = null, Ir();
232
232
  try {
233
- if (d) {
233
+ if (f) {
234
234
  var _ = function() {
235
235
  throw Error();
236
236
  };
@@ -281,19 +281,19 @@ function gn() {
281
281
  }
282
282
  }
283
283
  } finally {
284
- Ve = !1, $e.current = R, Ur(), Error.prepareStackTrace = x;
284
+ Ve = !1, $e.current = R, Br(), Error.prepareStackTrace = x;
285
285
  }
286
286
  var te = a ? a.displayName || a.name : "", It = te ? me(te) : "";
287
287
  return typeof a == "function" && ge.set(a, It), It;
288
288
  }
289
- function $r(a, d, m) {
289
+ function $r(a, f, m) {
290
290
  return St(a, !1);
291
291
  }
292
292
  function Hr(a) {
293
- var d = a.prototype;
294
- return !!(d && d.isReactComponent);
293
+ var f = a.prototype;
294
+ return !!(f && f.isReactComponent);
295
295
  }
296
- function ye(a, d, m) {
296
+ function ye(a, f, m) {
297
297
  if (a == null)
298
298
  return "";
299
299
  if (typeof a == "function")
@@ -310,12 +310,12 @@ function gn() {
310
310
  switch (a.$$typeof) {
311
311
  case l:
312
312
  return $r(a.render);
313
- case f:
314
- return ye(a.type, d, m);
313
+ case d:
314
+ return ye(a.type, f, m);
315
315
  case v: {
316
316
  var b = a, x = b._payload, R = b._init;
317
317
  try {
318
- return ye(R(x), d, m);
318
+ return ye(R(x), f, m);
319
319
  } catch {
320
320
  }
321
321
  }
@@ -325,12 +325,12 @@ function gn() {
325
325
  var be = Object.prototype.hasOwnProperty, Tt = {}, Ct = T.ReactDebugCurrentFrame;
326
326
  function ve(a) {
327
327
  if (a) {
328
- var d = a._owner, m = ye(a.type, a._source, d ? d.type : null);
328
+ var f = a._owner, m = ye(a.type, a._source, f ? f.type : null);
329
329
  Ct.setExtraStackFrame(m);
330
330
  } else
331
331
  Ct.setExtraStackFrame(null);
332
332
  }
333
- function Vr(a, d, m, b, x) {
333
+ function Vr(a, f, m, b, x) {
334
334
  {
335
335
  var R = Function.call.bind(be);
336
336
  for (var _ in a)
@@ -341,7 +341,7 @@ function gn() {
341
341
  var F = Error((b || "React class") + ": " + m + " type `" + _ + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof a[_] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
342
342
  throw F.name = "Invariant Violation", F;
343
343
  }
344
- w = a[_](d, _, b, m, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
344
+ w = a[_](f, _, b, m, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
345
345
  } catch (P) {
346
346
  w = P;
347
347
  }
@@ -355,7 +355,7 @@ function gn() {
355
355
  }
356
356
  function Wr(a) {
357
357
  {
358
- var d = typeof Symbol == "function" && Symbol.toStringTag, m = d && a[Symbol.toStringTag] || a.constructor.name || "Object";
358
+ var f = typeof Symbol == "function" && Symbol.toStringTag, m = f && a[Symbol.toStringTag] || a.constructor.name || "Object";
359
359
  return m;
360
360
  }
361
361
  }
@@ -382,30 +382,30 @@ function gn() {
382
382
  We = {};
383
383
  function Kr(a) {
384
384
  if (be.call(a, "ref")) {
385
- var d = Object.getOwnPropertyDescriptor(a, "ref").get;
386
- if (d && d.isReactWarning)
385
+ var f = Object.getOwnPropertyDescriptor(a, "ref").get;
386
+ if (f && f.isReactWarning)
387
387
  return !1;
388
388
  }
389
389
  return a.ref !== void 0;
390
390
  }
391
391
  function Gr(a) {
392
392
  if (be.call(a, "key")) {
393
- var d = Object.getOwnPropertyDescriptor(a, "key").get;
394
- if (d && d.isReactWarning)
393
+ var f = Object.getOwnPropertyDescriptor(a, "key").get;
394
+ if (f && f.isReactWarning)
395
395
  return !1;
396
396
  }
397
397
  return a.key !== void 0;
398
398
  }
399
- function Xr(a, d) {
400
- if (typeof a.ref == "string" && ie.current && d && ie.current.stateNode !== d) {
399
+ function Xr(a, f) {
400
+ if (typeof a.ref == "string" && ie.current && f && ie.current.stateNode !== f) {
401
401
  var m = $(ie.current.type);
402
402
  We[m] || (S('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', $(ie.current.type), a.ref), We[m] = !0);
403
403
  }
404
404
  }
405
- function Qr(a, d) {
405
+ function Qr(a, f) {
406
406
  {
407
407
  var m = function() {
408
- jt || (jt = !0, S("%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)", d));
408
+ jt || (jt = !0, S("%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)", f));
409
409
  };
410
410
  m.isReactWarning = !0, Object.defineProperty(a, "key", {
411
411
  get: m,
@@ -413,10 +413,10 @@ function gn() {
413
413
  });
414
414
  }
415
415
  }
416
- function Zr(a, d) {
416
+ function Zr(a, f) {
417
417
  {
418
418
  var m = function() {
419
- kt || (kt = !0, S("%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)", d));
419
+ kt || (kt = !0, S("%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)", f));
420
420
  };
421
421
  m.isReactWarning = !0, Object.defineProperty(a, "ref", {
422
422
  get: m,
@@ -424,13 +424,13 @@ function gn() {
424
424
  });
425
425
  }
426
426
  }
427
- var en = function(a, d, m, b, x, R, _) {
427
+ var en = function(a, f, m, b, x, R, _) {
428
428
  var w = {
429
429
  // This tag allows us to uniquely identify this as a React Element
430
430
  $$typeof: t,
431
431
  // Built-in properties that belong on the element
432
432
  type: a,
433
- key: d,
433
+ key: f,
434
434
  ref: m,
435
435
  props: _,
436
436
  // Record the component responsible for creating this element.
@@ -453,12 +453,12 @@ function gn() {
453
453
  value: x
454
454
  }), Object.freeze && (Object.freeze(w.props), Object.freeze(w)), w;
455
455
  };
456
- function tn(a, d, m, b, x) {
456
+ function tn(a, f, m, b, x) {
457
457
  {
458
458
  var R, _ = {}, w = null, F = null;
459
- m !== void 0 && (At(m), w = "" + m), Gr(d) && (At(d.key), w = "" + d.key), Kr(d) && (F = d.ref, Xr(d, x));
460
- for (R in d)
461
- be.call(d, R) && !Yr.hasOwnProperty(R) && (_[R] = d[R]);
459
+ m !== void 0 && (At(m), w = "" + m), Gr(f) && (At(f.key), w = "" + f.key), Kr(f) && (F = f.ref, Xr(f, x));
460
+ for (R in f)
461
+ be.call(f, R) && !Yr.hasOwnProperty(R) && (_[R] = f[R]);
462
462
  if (a && a.defaultProps) {
463
463
  var P = a.defaultProps;
464
464
  for (R in P)
@@ -474,7 +474,7 @@ function gn() {
474
474
  var Je = T.ReactCurrentOwner, Nt = T.ReactDebugCurrentFrame;
475
475
  function ee(a) {
476
476
  if (a) {
477
- var d = a._owner, m = ye(a.type, a._source, d ? d.type : null);
477
+ var f = a._owner, m = ye(a.type, a._source, f ? f.type : null);
478
478
  Nt.setExtraStackFrame(m);
479
479
  } else
480
480
  Nt.setExtraStackFrame(null);
@@ -499,10 +499,10 @@ Check the render method of \`` + a + "`.";
499
499
  function rn(a) {
500
500
  {
501
501
  if (a !== void 0) {
502
- var d = a.fileName.replace(/^.*[\\\/]/, ""), m = a.lineNumber;
502
+ var f = a.fileName.replace(/^.*[\\\/]/, ""), m = a.lineNumber;
503
503
  return `
504
504
 
505
- Check your code at ` + d + ":" + m + ".";
505
+ Check your code at ` + f + ":" + m + ".";
506
506
  }
507
507
  return "";
508
508
  }
@@ -510,22 +510,22 @@ Check your code at ` + d + ":" + m + ".";
510
510
  var Ft = {};
511
511
  function nn(a) {
512
512
  {
513
- var d = Dt();
514
- if (!d) {
513
+ var f = Dt();
514
+ if (!f) {
515
515
  var m = typeof a == "string" ? a : a.displayName || a.name;
516
- m && (d = `
516
+ m && (f = `
517
517
 
518
518
  Check the top-level render call using <` + m + ">.");
519
519
  }
520
- return d;
520
+ return f;
521
521
  }
522
522
  }
523
- function Lt(a, d) {
523
+ function Lt(a, f) {
524
524
  {
525
525
  if (!a._store || a._store.validated || a.key != null)
526
526
  return;
527
527
  a._store.validated = !0;
528
- var m = nn(d);
528
+ var m = nn(f);
529
529
  if (Ft[m])
530
530
  return;
531
531
  Ft[m] = !0;
@@ -533,14 +533,14 @@ Check the top-level render call using <` + m + ">.");
533
533
  a && a._owner && a._owner !== Je.current && (b = " It was passed a child from " + $(a._owner.type) + "."), ee(a), S('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', m, b), ee(null);
534
534
  }
535
535
  }
536
- function Mt(a, d) {
536
+ function Mt(a, f) {
537
537
  {
538
538
  if (typeof a != "object")
539
539
  return;
540
540
  if (qe(a))
541
541
  for (var m = 0; m < a.length; m++) {
542
542
  var b = a[m];
543
- Ke(b) && Lt(b, d);
543
+ Ke(b) && Lt(b, f);
544
544
  }
545
545
  else if (Ke(a))
546
546
  a._store && (a._store.validated = !0);
@@ -548,39 +548,39 @@ Check the top-level render call using <` + m + ">.");
548
548
  var x = j(a);
549
549
  if (typeof x == "function" && x !== a.entries)
550
550
  for (var R = x.call(a), _; !(_ = R.next()).done; )
551
- Ke(_.value) && Lt(_.value, d);
551
+ Ke(_.value) && Lt(_.value, f);
552
552
  }
553
553
  }
554
554
  }
555
555
  function on(a) {
556
556
  {
557
- var d = a.type;
558
- if (d == null || typeof d == "string")
557
+ var f = a.type;
558
+ if (f == null || typeof f == "string")
559
559
  return;
560
560
  var m;
561
- if (typeof d == "function")
562
- m = d.propTypes;
563
- else if (typeof d == "object" && (d.$$typeof === l || // Note: Memo only checks outer props here.
561
+ if (typeof f == "function")
562
+ m = f.propTypes;
563
+ else if (typeof f == "object" && (f.$$typeof === l || // Note: Memo only checks outer props here.
564
564
  // Inner props are checked in the reconciler.
565
- d.$$typeof === f))
566
- m = d.propTypes;
565
+ f.$$typeof === d))
566
+ m = f.propTypes;
567
567
  else
568
568
  return;
569
569
  if (m) {
570
- var b = $(d);
570
+ var b = $(f);
571
571
  Vr(m, a.props, "prop", b, a);
572
- } else if (d.PropTypes !== void 0 && !Ye) {
572
+ } else if (f.PropTypes !== void 0 && !Ye) {
573
573
  Ye = !0;
574
- var x = $(d);
574
+ var x = $(f);
575
575
  S("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", x || "Unknown");
576
576
  }
577
- typeof d.getDefaultProps == "function" && !d.getDefaultProps.isReactClassApproved && S("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
577
+ typeof f.getDefaultProps == "function" && !f.getDefaultProps.isReactClassApproved && S("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
578
578
  }
579
579
  }
580
580
  function sn(a) {
581
581
  {
582
- for (var d = Object.keys(a.props), m = 0; m < d.length; m++) {
583
- var b = d[m];
582
+ for (var f = Object.keys(a.props), m = 0; m < f.length; m++) {
583
+ var b = f[m];
584
584
  if (b !== "children" && b !== "key") {
585
585
  ee(a), S("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", b), ee(null);
586
586
  break;
@@ -589,7 +589,7 @@ Check the top-level render call using <` + m + ">.");
589
589
  a.ref !== null && (ee(a), S("Invalid attribute `ref` supplied to `React.Fragment`."), ee(null));
590
590
  }
591
591
  }
592
- function zt(a, d, m, b, x, R) {
592
+ function zt(a, f, m, b, x, R) {
593
593
  {
594
594
  var _ = Mr(a);
595
595
  if (!_) {
@@ -600,11 +600,11 @@ Check the top-level render call using <` + m + ">.");
600
600
  var P;
601
601
  a === null ? P = "null" : qe(a) ? P = "array" : a !== void 0 && a.$$typeof === t ? (P = "<" + ($(a.type) || "Unknown") + " />", w = " Did you accidentally export a JSX literal instead of a component?") : P = typeof a, S("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", P, w);
602
602
  }
603
- var A = tn(a, d, m, x, R);
603
+ var A = tn(a, f, m, x, R);
604
604
  if (A == null)
605
605
  return A;
606
606
  if (_) {
607
- var M = d.children;
607
+ var M = f.children;
608
608
  if (M !== void 0)
609
609
  if (b)
610
610
  if (qe(M)) {
@@ -619,11 +619,11 @@ Check the top-level render call using <` + m + ">.");
619
619
  return a === n ? sn(A) : on(A), A;
620
620
  }
621
621
  }
622
- function an(a, d, m) {
623
- return zt(a, d, m, !0);
622
+ function an(a, f, m) {
623
+ return zt(a, f, m, !0);
624
624
  }
625
- function cn(a, d, m) {
626
- return zt(a, d, m, !1);
625
+ function cn(a, f, m) {
626
+ return zt(a, f, m, !1);
627
627
  }
628
628
  var ln = cn, un = an;
629
629
  ce.Fragment = n, ce.jsx = ln, ce.jsxs = un;
@@ -667,7 +667,7 @@ var Q = et.exports, sr = { exports: {} };
667
667
  })();
668
668
  })(sr);
669
669
  var yn = sr.exports;
670
- const we = /* @__PURE__ */ hn(yn), bn = "_loading_14qfh_1", vn = "_spinner-grow_14qfh_10", wn = "_second_14qfh_14", _n = "_third_14qfh_17", ji = {
670
+ const we = /* @__PURE__ */ hn(yn), bn = "_loading_14qfh_1", vn = "_spinner-grow_14qfh_10", wn = "_second_14qfh_14", _n = "_third_14qfh_17", Ii = {
671
671
  loading: bn,
672
672
  "spinner-grow": "_spinner-grow_14qfh_10",
673
673
  spinnerGrow: vn,
@@ -783,22 +783,22 @@ function Cn(e) {
783
783
  };
784
784
  return $t !== void 0 ? /* @__PURE__ */ q.createElement($t.Consumer, null, (r) => t(r)) : t(ir);
785
785
  }
786
- function ki(e) {
786
+ function Bi(e) {
787
787
  return D({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0z" }, child: [] }, { tag: "path", attr: { d: "M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z" }, child: [] }] })(e);
788
788
  }
789
- function Ni(e) {
789
+ function Ui(e) {
790
790
  return D({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0z" }, child: [] }, { tag: "path", attr: { d: "M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z" }, child: [] }] })(e);
791
791
  }
792
- function Di(e) {
792
+ function $i(e) {
793
793
  return D({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0z" }, child: [] }, { tag: "path", attr: { d: "M6 6v2h8.59L5 17.59 6.41 19 16 9.41V18h2V6z" }, child: [] }] })(e);
794
794
  }
795
795
  function Pn(e) {
796
796
  return D({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0V0z" }, child: [] }, { tag: "path", attr: { d: "M20 8h-2.81a5.985 5.985 0 0 0-1.82-1.96L17 4.41 15.59 3l-2.17 2.17C12.96 5.06 12.49 5 12 5s-.96.06-1.41.17L8.41 3 7 4.41l1.62 1.63C7.88 6.55 7.26 7.22 6.81 8H4v2h2.09c-.05.33-.09.66-.09 1v1H4v2h2v1c0 .34.04.67.09 1H4v2h2.81c1.04 1.79 2.97 3 5.19 3s4.15-1.21 5.19-3H20v-2h-2.09c.05-.33.09-.66.09-1v-1h2v-2h-2v-1c0-.34-.04-.67-.09-1H20V8zm-4 4v3c0 .22-.03.47-.07.7l-.1.65-.37.65c-.72 1.24-2.04 2-3.46 2s-2.74-.77-3.46-2l-.37-.64-.1-.65A4.27 4.27 0 0 1 8 15v-4c0-.23.03-.48.07-.7l.1-.65.37-.65c.3-.52.72-.97 1.21-1.31l.57-.39.74-.18a3.787 3.787 0 0 1 1.89 0l.68.16.61.42c.5.34.91.78 1.21 1.31l.38.65.1.65c.04.22.07.47.07.69v1zm-6 2h4v2h-4zm0-4h4v2h-4z" }, child: [] }] })(e);
797
797
  }
798
- function Fi(e) {
798
+ function Hi(e) {
799
799
  return D({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0V0z" }, child: [] }, { tag: "path", attr: { d: "M16 9v10H8V9h8m-1.5-6h-5l-1 1H5v2h14V4h-3.5l-1-1zM18 7H6v12c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7z" }, child: [] }] })(e);
800
800
  }
801
- function Li(e) {
801
+ function Vi(e) {
802
802
  return D({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0V0z" }, child: [] }, { tag: "path", attr: { d: "M4 20h16v2H4zM4 2h16v2H4zM9.41 13.59 8 15l4 4 4-4-1.41-1.41L13 15.17V8.83l1.59 1.58L16 9l-4-4-4 4 1.41 1.41L11 8.83v6.34z" }, child: [] }] })(e);
803
803
  }
804
804
  function An(e) {
@@ -807,38 +807,38 @@ function An(e) {
807
807
  function jn(e) {
808
808
  return D({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z" }, child: [] }] })(e);
809
809
  }
810
- function Mi(e) {
810
+ function qi(e) {
811
811
  return D({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0V0z" }, child: [] }, { tag: "path", attr: { d: "M13 7h-2v4H7v2h4v4h2v-4h4v-2h-4V7zm-1-5C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z" }, child: [] }] })(e);
812
812
  }
813
- function zi(e) {
813
+ function Wi(e) {
814
814
  return D({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0V0z" }, child: [] }, { tag: "path", attr: { d: "M15.41 16.59 10.83 12l4.58-4.59L14 6l-6 6 6 6 1.41-1.41z" }, child: [] }] })(e);
815
815
  }
816
- function Ii(e) {
816
+ function Ji(e) {
817
817
  return D({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0V0z" }, child: [] }, { tag: "path", attr: { d: "M8.59 16.59 13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z" }, child: [] }] })(e);
818
818
  }
819
- function Ui(e) {
819
+ function Yi(e) {
820
820
  return D({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0V0z" }, child: [] }, { tag: "path", attr: { d: "m14.06 9.02.92.92L5.92 19H5v-.92l9.06-9.06M17.66 3c-.25 0-.51.1-.7.29l-1.83 1.83 3.75 3.75 1.83-1.83a.996.996 0 0 0 0-1.41l-2.34-2.34c-.2-.2-.45-.29-.71-.29zm-3.6 3.19L3 17.25V21h3.75L17.81 9.94l-3.75-3.75z" }, child: [] }] })(e);
821
821
  }
822
822
  function kn(e) {
823
823
  return D({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0V0z" }, child: [] }, { tag: "path", attr: { d: "M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z" }, child: [] }] })(e);
824
824
  }
825
- function Bi(e) {
825
+ function Ki(e) {
826
826
  return D({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0V0z" }, child: [] }, { tag: "path", attr: { d: "M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6-6-6z" }, child: [] }] })(e);
827
827
  }
828
828
  function Nn(e) {
829
829
  return D({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0V0z" }, child: [] }, { tag: "path", attr: { d: "M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z" }, child: [] }] })(e);
830
830
  }
831
- function $i(e) {
831
+ function Gi(e) {
832
832
  return D({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0V0z" }, child: [] }, { tag: "path", attr: { d: "M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z" }, child: [] }] })(e);
833
833
  }
834
- const Dn = "_h1_1xqw9_1", Fn = "_h3_1xqw9_8", Ln = "_h6_1xqw9_15", Mn = "_subtitle_1xqw9_22", zn = "_body_1xqw9_29", In = "_body2_1xqw9_36", Un = "_caption_1xqw9_43", Hi = {
834
+ const Dn = "_h1_1xqw9_1", Fn = "_h3_1xqw9_8", Ln = "_h6_1xqw9_15", Mn = "_subtitle_1xqw9_22", zn = "_body_1xqw9_29", In = "_body2_1xqw9_36", Bn = "_caption_1xqw9_43", Xi = {
835
835
  h1: Dn,
836
836
  h3: Fn,
837
837
  h6: Ln,
838
838
  subtitle: Mn,
839
839
  body: zn,
840
840
  body2: In,
841
- caption: Un
841
+ caption: Bn
842
842
  }, cr = De({
843
843
  axiosInstance: {},
844
844
  LinkComponent: {},
@@ -846,10 +846,10 @@ const Dn = "_h1_1xqw9_1", Fn = "_h3_1xqw9_8", Ln = "_h6_1xqw9_15", Mn = "_subtit
846
846
  axiosTexts: {},
847
847
  confirmTexts: {},
848
848
  formValidationTexts: {},
849
- employeePickerModalTexts: {},
849
+ employeesDropdownTexts: {},
850
850
  homeDashboardTexts: {}
851
851
  });
852
- let Bn = { data: "" }, $n = (e) => typeof window == "object" ? ((e ? e.querySelector("#_goober") : window._goober) || Object.assign((e || document.head).appendChild(document.createElement("style")), { innerHTML: " ", id: "_goober" })).firstChild : e || Bn, Hn = /(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\s*)/g, Vn = /\/\*[^]*?\*\/| +/g, Vt = /\n+/g, K = (e, t) => {
852
+ let Un = { data: "" }, $n = (e) => typeof window == "object" ? ((e ? e.querySelector("#_goober") : window._goober) || Object.assign((e || document.head).appendChild(document.createElement("style")), { innerHTML: " ", id: "_goober" })).firstChild : e || Un, Hn = /(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\s*)/g, Vn = /\/\*[^]*?\*\/| +/g, Vt = /\n+/g, K = (e, t) => {
853
853
  let r = "", n = "", s = "";
854
854
  for (let o in e) {
855
855
  let i = e[o];
@@ -873,16 +873,16 @@ let Bn = { data: "" }, $n = (e) => typeof window == "object" ? ((e ? e.querySele
873
873
  })(o));
874
874
  if (!V[i]) {
875
875
  let l = o !== e ? e : ((h) => {
876
- let p, f, v = [{}];
876
+ let p, d, v = [{}];
877
877
  for (; p = Hn.exec(h.replace(Vn, "")); )
878
- p[4] ? v.shift() : p[3] ? (f = p[3].replace(Vt, " ").trim(), v.unshift(v[0][f] = v[0][f] || {})) : v[0][p[1]] = p[2].replace(Vt, " ").trim();
878
+ p[4] ? v.shift() : p[3] ? (d = p[3].replace(Vt, " ").trim(), v.unshift(v[0][d] = v[0][d] || {})) : v[0][p[1]] = p[2].replace(Vt, " ").trim();
879
879
  return v[0];
880
880
  })(e);
881
881
  V[i] = K(s ? { ["@keyframes " + i]: l } : l, r ? "" : "." + i);
882
882
  }
883
883
  let c = r && V.g ? V.g : null;
884
- return r && (V.g = V[i]), ((l, h, p, f) => {
885
- f ? h.data = h.data.replace(f, l) : h.data.indexOf(l) === -1 && (h.data = p ? l + h.data : h.data + l);
884
+ return r && (V.g = V[i]), ((l, h, p, d) => {
885
+ d ? h.data = h.data.replace(d, l) : h.data.indexOf(l) === -1 && (h.data = p ? l + h.data : h.data + l);
886
886
  })(V[i], t, n, c), i;
887
887
  }, Wn = (e, t, r) => e.reduce((n, s, o) => {
888
888
  let i = t[o];
@@ -918,7 +918,7 @@ function G(e, t) {
918
918
  var Yn = (e) => typeof e == "function", ke = (e, t) => Yn(e) ? e(t) : e, Kn = /* @__PURE__ */ (() => {
919
919
  let e = 0;
920
920
  return () => (++e).toString();
921
- })(), fr = /* @__PURE__ */ (() => {
921
+ })(), dr = /* @__PURE__ */ (() => {
922
922
  let e;
923
923
  return () => {
924
924
  if (e === void 0 && typeof window < "u") {
@@ -964,7 +964,7 @@ var Yn = (e) => typeof e == "function", ke = (e, t) => Yn(e) ? e(t) : e, Kn = /*
964
964
  t(Se);
965
965
  });
966
966
  }, Zn = { blank: 4e3, error: 4e3, success: 2e3, loading: 1 / 0, custom: 4e3 }, eo = (e = {}) => {
967
- let [t, r] = fn(Se);
967
+ let [t, r] = dn(Se);
968
968
  lt(() => (Re.push(r), () => {
969
969
  let s = Re.indexOf(r);
970
970
  s > -1 && Re.splice(s, 1);
@@ -974,14 +974,14 @@ var Yn = (e) => typeof e == "function", ke = (e, t) => Yn(e) ? e(t) : e, Kn = /*
974
974
  return { ...e, ...e[s.type], ...s, duration: s.duration || ((o = e[s.type]) == null ? void 0 : o.duration) || (e == null ? void 0 : e.duration) || Zn[s.type], style: { ...e.style, ...(i = e[s.type]) == null ? void 0 : i.style, ...s.style } };
975
975
  });
976
976
  return { ...t, toasts: n };
977
- }, to = (e, t = "blank", r) => ({ createdAt: Date.now(), visible: !0, type: t, ariaProps: { role: "status", "aria-live": "polite" }, message: e, pauseDuration: 0, ...r, id: (r == null ? void 0 : r.id) || Kn() }), de = (e) => (t, r) => {
977
+ }, to = (e, t = "blank", r) => ({ createdAt: Date.now(), visible: !0, type: t, ariaProps: { role: "status", "aria-live": "polite" }, message: e, pauseDuration: 0, ...r, id: (r == null ? void 0 : r.id) || Kn() }), fe = (e) => (t, r) => {
978
978
  let n = to(t, e, r);
979
979
  return Z({ type: 2, toast: n }), n.id;
980
- }, L = (e, t) => de("blank")(e, t);
981
- L.error = de("error");
982
- L.success = de("success");
983
- L.loading = de("loading");
984
- L.custom = de("custom");
980
+ }, L = (e, t) => fe("blank")(e, t);
981
+ L.error = fe("error");
982
+ L.success = fe("success");
983
+ L.loading = fe("loading");
984
+ L.custom = fe("custom");
985
985
  L.dismiss = (e) => {
986
986
  Z({ type: 3, toastId: e });
987
987
  };
@@ -1018,7 +1018,7 @@ var ro = (e, t) => {
1018
1018
  let n = re(() => {
1019
1019
  r && Z({ type: 6, time: Date.now() });
1020
1020
  }, [r]), s = re((o, i) => {
1021
- let { reverseOrder: c = !1, gutter: l = 8, defaultPosition: h } = i || {}, p = t.filter((O) => (O.position || h) === (o.position || h) && O.height), f = p.findIndex((O) => O.id === o.id), v = p.filter((O, g) => g < f && O.visible).length;
1021
+ let { reverseOrder: c = !1, gutter: l = 8, defaultPosition: h } = i || {}, p = t.filter((O) => (O.position || h) === (o.position || h) && O.height), d = p.findIndex((O) => O.id === o.id), v = p.filter((O, g) => g < d && O.visible).length;
1022
1022
  return p.filter((O) => O.visible).slice(...c ? [v + 1] : [0, v]).reduce((O, g) => O + (g.height || 0) + l, 0);
1023
1023
  }, [t]);
1024
1024
  return { toasts: t, handlers: { updateHeight: ro, startPause: no, endPause: n, calculateOffset: s } };
@@ -1197,7 +1197,7 @@ to {
1197
1197
  flex: 1 1 auto;
1198
1198
  white-space: pre-line;
1199
1199
  `, So = (e, t) => {
1200
- let r = e.includes("top") ? 1 : -1, [n, s] = fr() ? [Eo, xo] : [wo(r), _o(r)];
1200
+ let r = e.includes("top") ? 1 : -1, [n, s] = dr() ? [Eo, xo] : [wo(r), _o(r)];
1201
1201
  return { animation: t ? `${J(n)} 0.35s cubic-bezier(.21,1.02,.73,1) forwards` : `${J(s)} 0.4s forwards cubic-bezier(.06,.71,.55,1)` };
1202
1202
  }, To = k.memo(({ toast: e, position: t, style: r, children: n }) => {
1203
1203
  let s = e.height ? So(e.position || t || "top-center", e.visible) : { opacity: 0 }, o = k.createElement(vo, { toast: e }), i = k.createElement(Ro, { ...e.ariaProps }, ke(e.message, e));
@@ -1217,20 +1217,20 @@ var Co = ({ id: e, className: t, style: r, onHeightUpdate: n, children: s }) =>
1217
1217
  return k.createElement("div", { ref: o, className: t, style: r }, s);
1218
1218
  }, Po = (e, t) => {
1219
1219
  let r = e.includes("top"), n = r ? { top: 0 } : { bottom: 0 }, s = e.includes("center") ? { justifyContent: "center" } : e.includes("right") ? { justifyContent: "flex-end" } : {};
1220
- return { left: 0, right: 0, display: "flex", position: "absolute", transition: fr() ? void 0 : "all 230ms cubic-bezier(.21,1.02,.73,1)", transform: `translateY(${t * (r ? 1 : -1)}px)`, ...n, ...s };
1220
+ return { left: 0, right: 0, display: "flex", position: "absolute", transition: dr() ? void 0 : "all 230ms cubic-bezier(.21,1.02,.73,1)", transform: `translateY(${t * (r ? 1 : -1)}px)`, ...n, ...s };
1221
1221
  }, Ao = Fe`
1222
1222
  z-index: 9999;
1223
1223
  > * {
1224
1224
  pointer-events: auto;
1225
1225
  }
1226
- `, _e = 16, Vi = ({ reverseOrder: e, position: t = "top-center", toastOptions: r, gutter: n, children: s, containerStyle: o, containerClassName: i }) => {
1226
+ `, _e = 16, Qi = ({ reverseOrder: e, position: t = "top-center", toastOptions: r, gutter: n, children: s, containerStyle: o, containerClassName: i }) => {
1227
1227
  let { toasts: c, handlers: l } = oo(r);
1228
1228
  return k.createElement("div", { style: { position: "fixed", zIndex: 9999, top: _e, left: _e, right: _e, bottom: _e, pointerEvents: "none", ...o }, className: i, onMouseEnter: l.startPause, onMouseLeave: l.endPause }, c.map((h) => {
1229
- let p = h.position || t, f = l.calculateOffset(h, { reverseOrder: e, gutter: n, defaultPosition: t }), v = Po(p, f);
1229
+ let p = h.position || t, d = l.calculateOffset(h, { reverseOrder: e, gutter: n, defaultPosition: t }), v = Po(p, d);
1230
1230
  return k.createElement(Co, { id: h.id, key: h.id, onHeightUpdate: l.updateHeight, className: h.visible ? Ao : "", style: v }, h.type === "custom" ? ke(h.message, h) : s ? s(h) : k.createElement(To, { toast: h, position: p }));
1231
1231
  }));
1232
1232
  }, le = L;
1233
- const qi = De({
1233
+ const Zi = De({
1234
1234
  show: !1,
1235
1235
  text: "",
1236
1236
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
@@ -1238,7 +1238,7 @@ const qi = De({
1238
1238
  },
1239
1239
  hideConfirm: () => {
1240
1240
  }
1241
- }), Wi = De({
1241
+ }), ea = De({
1242
1242
  isLoading: !1,
1243
1243
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
1244
1244
  startLoading: (e) => {
@@ -1246,7 +1246,7 @@ const qi = De({
1246
1246
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
1247
1247
  stopLoading: (e) => {
1248
1248
  }
1249
- }), Ji = De({
1249
+ }), ta = De({
1250
1250
  user: null,
1251
1251
  loginUser: () => Promise.resolve(!0),
1252
1252
  logoutUser: () => {
@@ -1317,7 +1317,7 @@ const Mo = "_toast_1ypa6_1", xe = {
1317
1317
  return 5e3;
1318
1318
  }
1319
1319
  }, Io = () => ({ addNotification: (t, r) => {
1320
- const n = Lo(), s = dn(t), o = zo(r), i = /* @__PURE__ */ Q.jsxs(Q.Fragment, { children: [
1320
+ const n = Lo(), s = fn(t), o = zo(r), i = /* @__PURE__ */ Q.jsxs(Q.Fragment, { children: [
1321
1321
  s,
1322
1322
  /* @__PURE__ */ Q.jsx(Nn, { onClick: () => le.dismiss(n), type: "button", style: {
1323
1323
  position: "absolute",
@@ -1369,19 +1369,19 @@ const Mo = "_toast_1ypa6_1", xe = {
1369
1369
  }
1370
1370
  }
1371
1371
  } });
1372
- function dr(e, t) {
1372
+ function fr(e, t) {
1373
1373
  return function() {
1374
1374
  return e.apply(t, arguments);
1375
1375
  };
1376
1376
  }
1377
- const { toString: Uo } = Object.prototype, { getPrototypeOf: ut } = Object, Le = /* @__PURE__ */ ((e) => (t) => {
1378
- const r = Uo.call(t);
1377
+ const { toString: Bo } = Object.prototype, { getPrototypeOf: ut } = Object, Le = /* @__PURE__ */ ((e) => (t) => {
1378
+ const r = Bo.call(t);
1379
1379
  return e[r] || (e[r] = r.slice(8, -1).toLowerCase());
1380
- })(/* @__PURE__ */ Object.create(null)), B = (e) => (e = e.toLowerCase(), (t) => Le(t) === e), Me = (e) => (t) => typeof t === e, { isArray: oe } = Array, fe = Me("undefined");
1381
- function Bo(e) {
1382
- return e !== null && !fe(e) && e.constructor !== null && !fe(e.constructor) && z(e.constructor.isBuffer) && e.constructor.isBuffer(e);
1380
+ })(/* @__PURE__ */ Object.create(null)), U = (e) => (e = e.toLowerCase(), (t) => Le(t) === e), Me = (e) => (t) => typeof t === e, { isArray: oe } = Array, de = Me("undefined");
1381
+ function Uo(e) {
1382
+ return e !== null && !de(e) && e.constructor !== null && !de(e.constructor) && z(e.constructor.isBuffer) && e.constructor.isBuffer(e);
1383
1383
  }
1384
- const pr = B("ArrayBuffer");
1384
+ const pr = U("ArrayBuffer");
1385
1385
  function $o(e) {
1386
1386
  let t;
1387
1387
  return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && pr(e.buffer), t;
@@ -1391,11 +1391,11 @@ const Ho = Me("string"), z = Me("function"), hr = Me("number"), ze = (e) => e !=
1391
1391
  return !1;
1392
1392
  const t = ut(e);
1393
1393
  return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e);
1394
- }, qo = B("Date"), Wo = B("File"), Jo = B("Blob"), Yo = B("FileList"), Ko = (e) => ze(e) && z(e.pipe), Go = (e) => {
1394
+ }, qo = U("Date"), Wo = U("File"), Jo = U("Blob"), Yo = U("FileList"), Ko = (e) => ze(e) && z(e.pipe), Go = (e) => {
1395
1395
  let t;
1396
1396
  return e && (typeof FormData == "function" && e instanceof FormData || z(e.append) && ((t = Le(e)) === "formdata" || // detect form-data instance
1397
1397
  t === "object" && z(e.toString) && e.toString() === "[object FormData]"));
1398
- }, Xo = B("URLSearchParams"), Qo = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
1398
+ }, Xo = U("URLSearchParams"), Qo = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
1399
1399
  function pe(e, t, { allOwnKeys: r = !1 } = {}) {
1400
1400
  if (e === null || typeof e > "u")
1401
1401
  return;
@@ -1419,7 +1419,7 @@ function mr(e, t) {
1419
1419
  return s;
1420
1420
  return null;
1421
1421
  }
1422
- const gr = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, yr = (e) => !fe(e) && e !== gr;
1422
+ const gr = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, yr = (e) => !de(e) && e !== gr;
1423
1423
  function ot() {
1424
1424
  const { caseless: e } = yr(this) && this || {}, t = {}, r = (n, s) => {
1425
1425
  const o = e && mr(t, s) || s;
@@ -1430,7 +1430,7 @@ function ot() {
1430
1430
  return t;
1431
1431
  }
1432
1432
  const Zo = (e, t, r, { allOwnKeys: n } = {}) => (pe(t, (s, o) => {
1433
- r && z(s) ? e[o] = dr(s, r) : e[o] = s;
1433
+ r && z(s) ? e[o] = fr(s, r) : e[o] = s;
1434
1434
  }, { allOwnKeys: n }), e), es = (e) => (e.charCodeAt(0) === 65279 && (e = e.slice(1)), e), ts = (e, t, r, n) => {
1435
1435
  e.prototype = Object.create(t.prototype, n), e.prototype.constructor = e, Object.defineProperty(e, "super", {
1436
1436
  value: t.prototype
@@ -1475,18 +1475,18 @@ const Zo = (e, t, r, { allOwnKeys: n } = {}) => (pe(t, (s, o) => {
1475
1475
  for (; (r = e.exec(t)) !== null; )
1476
1476
  n.push(r);
1477
1477
  return n;
1478
- }, cs = B("HTMLFormElement"), ls = (e) => e.toLowerCase().replace(
1478
+ }, cs = U("HTMLFormElement"), ls = (e) => e.toLowerCase().replace(
1479
1479
  /[-_\s]([a-z\d])(\w*)/g,
1480
1480
  function(r, n, s) {
1481
1481
  return n.toUpperCase() + s;
1482
1482
  }
1483
- ), Jt = (({ hasOwnProperty: e }) => (t, r) => e.call(t, r))(Object.prototype), us = B("RegExp"), br = (e, t) => {
1483
+ ), Jt = (({ hasOwnProperty: e }) => (t, r) => e.call(t, r))(Object.prototype), us = U("RegExp"), br = (e, t) => {
1484
1484
  const r = Object.getOwnPropertyDescriptors(e), n = {};
1485
1485
  pe(r, (s, o) => {
1486
1486
  let i;
1487
1487
  (i = t(s, o, e)) !== !1 && (n[o] = i || s);
1488
1488
  }), Object.defineProperties(e, n);
1489
- }, fs = (e) => {
1489
+ }, ds = (e) => {
1490
1490
  br(e, (t, r) => {
1491
1491
  if (z(e) && ["arguments", "caller", "callee"].indexOf(r) !== -1)
1492
1492
  return !1;
@@ -1501,7 +1501,7 @@ const Zo = (e, t, r, { allOwnKeys: n } = {}) => (pe(t, (s, o) => {
1501
1501
  });
1502
1502
  }
1503
1503
  });
1504
- }, ds = (e, t) => {
1504
+ }, fs = (e, t) => {
1505
1505
  const r = {}, n = (s) => {
1506
1506
  s.forEach((o) => {
1507
1507
  r[o] = !0;
@@ -1533,17 +1533,17 @@ const ys = (e) => {
1533
1533
  const o = oe(n) ? [] : {};
1534
1534
  return pe(n, (i, c) => {
1535
1535
  const l = r(i, s + 1);
1536
- !fe(l) && (o[c] = l);
1536
+ !de(l) && (o[c] = l);
1537
1537
  }), t[s] = void 0, o;
1538
1538
  }
1539
1539
  }
1540
1540
  return n;
1541
1541
  };
1542
1542
  return r(e, 0);
1543
- }, bs = B("AsyncFunction"), vs = (e) => e && (ze(e) || z(e)) && z(e.then) && z(e.catch), u = {
1543
+ }, bs = U("AsyncFunction"), vs = (e) => e && (ze(e) || z(e)) && z(e.then) && z(e.catch), u = {
1544
1544
  isArray: oe,
1545
1545
  isArrayBuffer: pr,
1546
- isBuffer: Bo,
1546
+ isBuffer: Uo,
1547
1547
  isFormData: Go,
1548
1548
  isArrayBufferView: $o,
1549
1549
  isString: Ho,
@@ -1551,7 +1551,7 @@ const ys = (e) => {
1551
1551
  isBoolean: Vo,
1552
1552
  isObject: ze,
1553
1553
  isPlainObject: Te,
1554
- isUndefined: fe,
1554
+ isUndefined: de,
1555
1555
  isDate: qo,
1556
1556
  isFile: Wo,
1557
1557
  isBlob: Jo,
@@ -1569,7 +1569,7 @@ const ys = (e) => {
1569
1569
  inherits: ts,
1570
1570
  toFlatObject: rs,
1571
1571
  kindOf: Le,
1572
- kindOfTest: B,
1572
+ kindOfTest: U,
1573
1573
  endsWith: ns,
1574
1574
  toArray: os,
1575
1575
  forEachEntry: is,
@@ -1579,8 +1579,8 @@ const ys = (e) => {
1579
1579
  hasOwnProp: Jt,
1580
1580
  // an alias to avoid ESLint no-prototype-builtins detection
1581
1581
  reduceDescriptors: br,
1582
- freezeMethods: fs,
1583
- toObjectSet: ds,
1582
+ freezeMethods: ds,
1583
+ toObjectSet: fs,
1584
1584
  toCamelCase: ls,
1585
1585
  noop: ps,
1586
1586
  toFiniteNumber: hs,
@@ -1690,26 +1690,26 @@ function Ie(e, t, r) {
1690
1690
  if (u.endsWith(y, "{}"))
1691
1691
  y = n ? y : y.slice(0, -2), g = JSON.stringify(g);
1692
1692
  else if (u.isArray(g) && _s(g) || (u.isFileList(g) || u.endsWith(y, "[]")) && (T = u.toArray(g)))
1693
- return y = Er(y), T.forEach(function(I, Be) {
1693
+ return y = Er(y), T.forEach(function(I, Ue) {
1694
1694
  !(u.isUndefined(I) || I === null) && t.append(
1695
1695
  // eslint-disable-next-line no-nested-ternary
1696
- i === !0 ? Kt([y], Be, o) : i === null ? y : y + "[]",
1696
+ i === !0 ? Kt([y], Ue, o) : i === null ? y : y + "[]",
1697
1697
  h(I)
1698
1698
  );
1699
1699
  }), !1;
1700
1700
  }
1701
1701
  return st(g) ? !0 : (t.append(Kt(j, y, o), h(g)), !1);
1702
1702
  }
1703
- const f = [], v = Object.assign(Es, {
1703
+ const d = [], v = Object.assign(Es, {
1704
1704
  defaultVisitor: p,
1705
1705
  convertValue: h,
1706
1706
  isVisitable: st
1707
1707
  });
1708
1708
  function O(g, y) {
1709
1709
  if (!u.isUndefined(g)) {
1710
- if (f.indexOf(g) !== -1)
1710
+ if (d.indexOf(g) !== -1)
1711
1711
  throw Error("Circular reference detected in " + y.join("."));
1712
- f.push(g), u.forEach(g, function(T, S) {
1712
+ d.push(g), u.forEach(g, function(T, S) {
1713
1713
  (!(u.isUndefined(T) || T === null) && s.call(
1714
1714
  t,
1715
1715
  T,
@@ -1717,7 +1717,7 @@ function Ie(e, t, r) {
1717
1717
  y,
1718
1718
  v
1719
1719
  )) === !0 && O(T, y ? y.concat(S) : [S]);
1720
- }), f.pop();
1720
+ }), d.pop();
1721
1721
  }
1722
1722
  }
1723
1723
  if (!u.isObject(e))
@@ -1738,10 +1738,10 @@ function Gt(e) {
1738
1738
  return t[n];
1739
1739
  });
1740
1740
  }
1741
- function ft(e, t) {
1741
+ function dt(e, t) {
1742
1742
  this._pairs = [], e && Ie(e, this, t);
1743
1743
  }
1744
- const xr = ft.prototype;
1744
+ const xr = dt.prototype;
1745
1745
  xr.append = function(t, r) {
1746
1746
  this._pairs.push([t, r]);
1747
1747
  };
@@ -1761,7 +1761,7 @@ function Or(e, t, r) {
1761
1761
  return e;
1762
1762
  const n = r && r.encode || xs, s = r && r.serialize;
1763
1763
  let o;
1764
- if (s ? o = s(t, r) : o = u.isURLSearchParams(t) ? t.toString() : new ft(t, r).toString(n), o) {
1764
+ if (s ? o = s(t, r) : o = u.isURLSearchParams(t) ? t.toString() : new dt(t, r).toString(n), o) {
1765
1765
  const i = e.indexOf("#");
1766
1766
  i !== -1 && (e = e.slice(0, i)), e += (e.indexOf("?") === -1 ? "?" : "&") + o;
1767
1767
  }
@@ -1825,7 +1825,7 @@ const Rr = {
1825
1825
  silentJSONParsing: !0,
1826
1826
  forcedJSONParsing: !0,
1827
1827
  clarifyTimeoutError: !1
1828
- }, Os = typeof URLSearchParams < "u" ? URLSearchParams : ft, Rs = typeof FormData < "u" ? FormData : null, Ss = typeof Blob < "u" ? Blob : null, Ts = {
1828
+ }, Os = typeof URLSearchParams < "u" ? URLSearchParams : dt, Rs = typeof FormData < "u" ? FormData : null, Ss = typeof Blob < "u" ? Blob : null, Ts = {
1829
1829
  isBrowser: !0,
1830
1830
  classes: {
1831
1831
  URLSearchParams: Os,
@@ -1839,14 +1839,14 @@ self instanceof WorkerGlobalScope && typeof self.importScripts == "function", As
1839
1839
  hasBrowserEnv: Sr,
1840
1840
  hasStandardBrowserEnv: Cs,
1841
1841
  hasStandardBrowserWebWorkerEnv: Ps
1842
- }, Symbol.toStringTag, { value: "Module" })), U = {
1842
+ }, Symbol.toStringTag, { value: "Module" })), B = {
1843
1843
  ...As,
1844
1844
  ...Ts
1845
1845
  };
1846
1846
  function js(e, t) {
1847
- return Ie(e, new U.classes.URLSearchParams(), Object.assign({
1847
+ return Ie(e, new B.classes.URLSearchParams(), Object.assign({
1848
1848
  visitor: function(r, n, s, o) {
1849
- return U.isNode && u.isBuffer(r) ? (this.append(n, r.toString("base64")), !1) : o.defaultVisitor.apply(this, arguments);
1849
+ return B.isNode && u.isBuffer(r) ? (this.append(n, r.toString("base64")), !1) : o.defaultVisitor.apply(this, arguments);
1850
1850
  }
1851
1851
  }, t));
1852
1852
  }
@@ -1888,7 +1888,7 @@ function Ds(e, t, r) {
1888
1888
  }
1889
1889
  return (r || JSON.stringify)(e);
1890
1890
  }
1891
- const dt = {
1891
+ const ft = {
1892
1892
  transitional: Rr,
1893
1893
  adapter: ["xhr", "http"],
1894
1894
  transformRequest: [function(t, r) {
@@ -1917,7 +1917,7 @@ const dt = {
1917
1917
  return o || s ? (r.setContentType("application/json", !1), Ds(t)) : t;
1918
1918
  }],
1919
1919
  transformResponse: [function(t) {
1920
- const r = this.transitional || dt.transitional, n = r && r.forcedJSONParsing, s = this.responseType === "json";
1920
+ const r = this.transitional || ft.transitional, n = r && r.forcedJSONParsing, s = this.responseType === "json";
1921
1921
  if (t && u.isString(t) && (n && !this.responseType || s)) {
1922
1922
  const i = !(r && r.silentJSONParsing) && s;
1923
1923
  try {
@@ -1939,8 +1939,8 @@ const dt = {
1939
1939
  maxContentLength: -1,
1940
1940
  maxBodyLength: -1,
1941
1941
  env: {
1942
- FormData: U.classes.FormData,
1943
- Blob: U.classes.Blob
1942
+ FormData: B.classes.FormData,
1943
+ Blob: B.classes.Blob
1944
1944
  },
1945
1945
  validateStatus: function(t) {
1946
1946
  return t >= 200 && t < 300;
@@ -1953,9 +1953,9 @@ const dt = {
1953
1953
  }
1954
1954
  };
1955
1955
  u.forEach(["delete", "get", "head", "post", "put", "patch"], (e) => {
1956
- dt.headers[e] = {};
1956
+ ft.headers[e] = {};
1957
1957
  });
1958
- const pt = dt, Fs = u.toObjectSet([
1958
+ const pt = ft, Fs = u.toObjectSet([
1959
1959
  "age",
1960
1960
  "authorization",
1961
1961
  "content-length",
@@ -2008,7 +2008,7 @@ function Xe(e, t, r, n, s) {
2008
2008
  function Is(e) {
2009
2009
  return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g, (t, r, n) => r.toUpperCase() + n);
2010
2010
  }
2011
- function Us(e, t) {
2011
+ function Bs(e, t) {
2012
2012
  const r = u.toCamelCase(" " + t);
2013
2013
  ["get", "set", "has"].forEach((n) => {
2014
2014
  Object.defineProperty(e, n + r, {
@@ -2019,7 +2019,7 @@ function Us(e, t) {
2019
2019
  });
2020
2020
  });
2021
2021
  }
2022
- class Ue {
2022
+ class Be {
2023
2023
  constructor(t) {
2024
2024
  t && this.set(t);
2025
2025
  }
@@ -2029,8 +2029,8 @@ class Ue {
2029
2029
  const p = ue(l);
2030
2030
  if (!p)
2031
2031
  throw new Error("header name must be a non-empty string");
2032
- const f = u.findKey(s, p);
2033
- (!f || s[f] === void 0 || h === !0 || h === void 0 && s[f] !== !1) && (s[f || l] = Ce(c));
2032
+ const d = u.findKey(s, p);
2033
+ (!d || s[d] === void 0 || h === !0 || h === void 0 && s[d] !== !1) && (s[d || l] = Ce(c));
2034
2034
  }
2035
2035
  const i = (c, l) => u.forEach(c, (h, p) => o(h, p, l));
2036
2036
  return u.isPlainObject(t) || t instanceof this.constructor ? i(t, r) : u.isString(t) && (t = t.trim()) && !zs(t) ? i(Ls(t), r) : t != null && o(r, t, n), this;
@@ -2123,13 +2123,13 @@ class Ue {
2123
2123
  }).accessors, s = this.prototype;
2124
2124
  function o(i) {
2125
2125
  const c = ue(i);
2126
- n[c] || (Us(s, i), n[c] = !0);
2126
+ n[c] || (Bs(s, i), n[c] = !0);
2127
2127
  }
2128
2128
  return u.isArray(t) ? t.forEach(o) : o(t), this;
2129
2129
  }
2130
2130
  }
2131
- Ue.accessor(["Content-Type", "Content-Length", "Accept", "Accept-Encoding", "User-Agent", "Authorization"]);
2132
- u.reduceDescriptors(Ue.prototype, ({ value: e }, t) => {
2131
+ Be.accessor(["Content-Type", "Content-Length", "Accept", "Accept-Encoding", "User-Agent", "Authorization"]);
2132
+ u.reduceDescriptors(Be.prototype, ({ value: e }, t) => {
2133
2133
  let r = t[0].toUpperCase() + t.slice(1);
2134
2134
  return {
2135
2135
  get: () => e,
@@ -2138,8 +2138,8 @@ u.reduceDescriptors(Ue.prototype, ({ value: e }, t) => {
2138
2138
  }
2139
2139
  };
2140
2140
  });
2141
- u.freezeMethods(Ue);
2142
- const W = Ue;
2141
+ u.freezeMethods(Be);
2142
+ const W = Be;
2143
2143
  function Qe(e, t) {
2144
2144
  const r = this || pt, n = t || r, s = W.from(n.headers);
2145
2145
  let o = n.data;
@@ -2156,7 +2156,7 @@ function he(e, t, r) {
2156
2156
  u.inherits(he, E, {
2157
2157
  __CANCEL__: !0
2158
2158
  });
2159
- function Bs(e, t, r) {
2159
+ function Us(e, t, r) {
2160
2160
  const n = r.config.validateStatus;
2161
2161
  !r.status || !n || n(r.status) ? e(r) : t(new E(
2162
2162
  "Request failed with status code " + r.status,
@@ -2166,7 +2166,7 @@ function Bs(e, t, r) {
2166
2166
  r
2167
2167
  ));
2168
2168
  }
2169
- const $s = U.hasStandardBrowserEnv ? (
2169
+ const $s = B.hasStandardBrowserEnv ? (
2170
2170
  // Standard browser envs support document.cookie
2171
2171
  {
2172
2172
  write(e, t, r, n, s, o) {
@@ -2202,7 +2202,7 @@ function Vs(e, t) {
2202
2202
  function Pr(e, t) {
2203
2203
  return e && !Hs(t) ? Vs(e, t) : t;
2204
2204
  }
2205
- const qs = U.hasStandardBrowserEnv ? (
2205
+ const qs = B.hasStandardBrowserEnv ? (
2206
2206
  // Standard browser envs have full support of the APIs needed to test
2207
2207
  // whether the request URL is of the same origin as current location.
2208
2208
  function() {
@@ -2245,9 +2245,9 @@ function Js(e, t) {
2245
2245
  return t = t !== void 0 ? t : 1e3, function(l) {
2246
2246
  const h = Date.now(), p = n[o];
2247
2247
  i || (i = h), r[s] = l, n[s] = h;
2248
- let f = o, v = 0;
2249
- for (; f !== s; )
2250
- v += r[f++], f = f % e;
2248
+ let d = o, v = 0;
2249
+ for (; d !== s; )
2250
+ v += r[d++], d = d % e;
2251
2251
  if (s = (s + 1) % e, s === o && (o = (o + 1) % e), h - i < t)
2252
2252
  return;
2253
2253
  const O = p && h - p;
@@ -2282,69 +2282,69 @@ const Ys = typeof XMLHttpRequest < "u", Ks = Ys && function(e) {
2282
2282
  }
2283
2283
  let p;
2284
2284
  if (u.isFormData(s)) {
2285
- if (U.hasStandardBrowserEnv || U.hasStandardBrowserWebWorkerEnv)
2285
+ if (B.hasStandardBrowserEnv || B.hasStandardBrowserWebWorkerEnv)
2286
2286
  o.setContentType(!1);
2287
2287
  else if ((p = o.getContentType()) !== !1) {
2288
2288
  const [y, ...j] = p ? p.split(";").map((T) => T.trim()).filter(Boolean) : [];
2289
2289
  o.setContentType([y || "multipart/form-data", ...j].join("; "));
2290
2290
  }
2291
2291
  }
2292
- let f = new XMLHttpRequest();
2292
+ let d = new XMLHttpRequest();
2293
2293
  if (e.auth) {
2294
2294
  const y = e.auth.username || "", j = e.auth.password ? unescape(encodeURIComponent(e.auth.password)) : "";
2295
2295
  o.set("Authorization", "Basic " + btoa(y + ":" + j));
2296
2296
  }
2297
2297
  const v = Pr(e.baseURL, e.url);
2298
- f.open(e.method.toUpperCase(), Or(v, e.params, e.paramsSerializer), !0), f.timeout = e.timeout;
2298
+ d.open(e.method.toUpperCase(), Or(v, e.params, e.paramsSerializer), !0), d.timeout = e.timeout;
2299
2299
  function O() {
2300
- if (!f)
2300
+ if (!d)
2301
2301
  return;
2302
2302
  const y = W.from(
2303
- "getAllResponseHeaders" in f && f.getAllResponseHeaders()
2303
+ "getAllResponseHeaders" in d && d.getAllResponseHeaders()
2304
2304
  ), T = {
2305
- data: !i || i === "text" || i === "json" ? f.responseText : f.response,
2306
- status: f.status,
2307
- statusText: f.statusText,
2305
+ data: !i || i === "text" || i === "json" ? d.responseText : d.response,
2306
+ status: d.status,
2307
+ statusText: d.statusText,
2308
2308
  headers: y,
2309
2309
  config: e,
2310
- request: f
2310
+ request: d
2311
2311
  };
2312
- Bs(function(I) {
2312
+ Us(function(I) {
2313
2313
  r(I), h();
2314
2314
  }, function(I) {
2315
2315
  n(I), h();
2316
- }, T), f = null;
2317
- }
2318
- if ("onloadend" in f ? f.onloadend = O : f.onreadystatechange = function() {
2319
- !f || f.readyState !== 4 || f.status === 0 && !(f.responseURL && f.responseURL.indexOf("file:") === 0) || setTimeout(O);
2320
- }, f.onabort = function() {
2321
- f && (n(new E("Request aborted", E.ECONNABORTED, e, f)), f = null);
2322
- }, f.onerror = function() {
2323
- n(new E("Network Error", E.ERR_NETWORK, e, f)), f = null;
2324
- }, f.ontimeout = function() {
2316
+ }, T), d = null;
2317
+ }
2318
+ if ("onloadend" in d ? d.onloadend = O : d.onreadystatechange = function() {
2319
+ !d || d.readyState !== 4 || d.status === 0 && !(d.responseURL && d.responseURL.indexOf("file:") === 0) || setTimeout(O);
2320
+ }, d.onabort = function() {
2321
+ d && (n(new E("Request aborted", E.ECONNABORTED, e, d)), d = null);
2322
+ }, d.onerror = function() {
2323
+ n(new E("Network Error", E.ERR_NETWORK, e, d)), d = null;
2324
+ }, d.ontimeout = function() {
2325
2325
  let j = e.timeout ? "timeout of " + e.timeout + "ms exceeded" : "timeout exceeded";
2326
2326
  const T = e.transitional || Rr;
2327
2327
  e.timeoutErrorMessage && (j = e.timeoutErrorMessage), n(new E(
2328
2328
  j,
2329
2329
  T.clarifyTimeoutError ? E.ETIMEDOUT : E.ECONNABORTED,
2330
2330
  e,
2331
- f
2332
- )), f = null;
2333
- }, U.hasStandardBrowserEnv && (c && u.isFunction(c) && (c = c(e)), c || c !== !1 && qs(v))) {
2331
+ d
2332
+ )), d = null;
2333
+ }, B.hasStandardBrowserEnv && (c && u.isFunction(c) && (c = c(e)), c || c !== !1 && qs(v))) {
2334
2334
  const y = e.xsrfHeaderName && e.xsrfCookieName && $s.read(e.xsrfCookieName);
2335
2335
  y && o.set(e.xsrfHeaderName, y);
2336
2336
  }
2337
- s === void 0 && o.setContentType(null), "setRequestHeader" in f && u.forEach(o.toJSON(), function(j, T) {
2338
- f.setRequestHeader(T, j);
2339
- }), u.isUndefined(e.withCredentials) || (f.withCredentials = !!e.withCredentials), i && i !== "json" && (f.responseType = e.responseType), typeof e.onDownloadProgress == "function" && f.addEventListener("progress", Zt(e.onDownloadProgress, !0)), typeof e.onUploadProgress == "function" && f.upload && f.upload.addEventListener("progress", Zt(e.onUploadProgress)), (e.cancelToken || e.signal) && (l = (y) => {
2340
- f && (n(!y || y.type ? new he(null, e, f) : y), f.abort(), f = null);
2337
+ s === void 0 && o.setContentType(null), "setRequestHeader" in d && u.forEach(o.toJSON(), function(j, T) {
2338
+ d.setRequestHeader(T, j);
2339
+ }), u.isUndefined(e.withCredentials) || (d.withCredentials = !!e.withCredentials), i && i !== "json" && (d.responseType = e.responseType), typeof e.onDownloadProgress == "function" && d.addEventListener("progress", Zt(e.onDownloadProgress, !0)), typeof e.onUploadProgress == "function" && d.upload && d.upload.addEventListener("progress", Zt(e.onUploadProgress)), (e.cancelToken || e.signal) && (l = (y) => {
2340
+ d && (n(!y || y.type ? new he(null, e, d) : y), d.abort(), d = null);
2341
2341
  }, e.cancelToken && e.cancelToken.subscribe(l), e.signal && (e.signal.aborted ? l() : e.signal.addEventListener("abort", l)));
2342
2342
  const g = Ws(v);
2343
- if (g && U.protocols.indexOf(g) === -1) {
2343
+ if (g && B.protocols.indexOf(g) === -1) {
2344
2344
  n(new E("Unsupported protocol " + g + ":", E.ERR_BAD_REQUEST, e));
2345
2345
  return;
2346
2346
  }
2347
- f.send(s || null);
2347
+ d.send(s || null);
2348
2348
  });
2349
2349
  }, it = {
2350
2350
  http: ws,
@@ -2416,15 +2416,15 @@ const rr = (e) => e instanceof W ? { ...e } : e;
2416
2416
  function ne(e, t) {
2417
2417
  t = t || {};
2418
2418
  const r = {};
2419
- function n(h, p, f) {
2420
- return u.isPlainObject(h) && u.isPlainObject(p) ? u.merge.call({ caseless: f }, h, p) : u.isPlainObject(p) ? u.merge({}, p) : u.isArray(p) ? p.slice() : p;
2419
+ function n(h, p, d) {
2420
+ return u.isPlainObject(h) && u.isPlainObject(p) ? u.merge.call({ caseless: d }, h, p) : u.isPlainObject(p) ? u.merge({}, p) : u.isArray(p) ? p.slice() : p;
2421
2421
  }
2422
- function s(h, p, f) {
2422
+ function s(h, p, d) {
2423
2423
  if (u.isUndefined(p)) {
2424
2424
  if (!u.isUndefined(h))
2425
- return n(void 0, h, f);
2425
+ return n(void 0, h, d);
2426
2426
  } else
2427
- return n(h, p, f);
2427
+ return n(h, p, d);
2428
2428
  }
2429
2429
  function o(h, p) {
2430
2430
  if (!u.isUndefined(p))
@@ -2437,10 +2437,10 @@ function ne(e, t) {
2437
2437
  } else
2438
2438
  return n(void 0, p);
2439
2439
  }
2440
- function c(h, p, f) {
2441
- if (f in t)
2440
+ function c(h, p, d) {
2441
+ if (d in t)
2442
2442
  return n(h, p);
2443
- if (f in e)
2443
+ if (d in e)
2444
2444
  return n(void 0, h);
2445
2445
  }
2446
2446
  const l = {
@@ -2475,8 +2475,8 @@ function ne(e, t) {
2475
2475
  headers: (h, p) => s(rr(h), rr(p), !0)
2476
2476
  };
2477
2477
  return u.forEach(Object.keys(Object.assign({}, e, t)), function(p) {
2478
- const f = l[p] || s, v = f(e[p], t[p], p);
2479
- u.isUndefined(v) && f !== c || (r[p] = v);
2478
+ const d = l[p] || s, v = d(e[p], t[p], p);
2479
+ u.isUndefined(v) && d !== c || (r[p] = v);
2480
2480
  }), r;
2481
2481
  }
2482
2482
  const jr = "1.6.8", ht = {};
@@ -2586,17 +2586,17 @@ class Ne {
2586
2586
  this.interceptors.response.forEach(function(y) {
2587
2587
  h.push(y.fulfilled, y.rejected);
2588
2588
  });
2589
- let p, f = 0, v;
2589
+ let p, d = 0, v;
2590
2590
  if (!l) {
2591
2591
  const g = [tr.bind(this), void 0];
2592
- for (g.unshift.apply(g, c), g.push.apply(g, h), v = g.length, p = Promise.resolve(r); f < v; )
2593
- p = p.then(g[f++], g[f++]);
2592
+ for (g.unshift.apply(g, c), g.push.apply(g, h), v = g.length, p = Promise.resolve(r); d < v; )
2593
+ p = p.then(g[d++], g[d++]);
2594
2594
  return p;
2595
2595
  }
2596
2596
  v = c.length;
2597
2597
  let O = r;
2598
- for (f = 0; f < v; ) {
2599
- const g = c[f++], y = c[f++];
2598
+ for (d = 0; d < v; ) {
2599
+ const g = c[d++], y = c[d++];
2600
2600
  try {
2601
2601
  O = g(O);
2602
2602
  } catch (j) {
@@ -2609,8 +2609,8 @@ class Ne {
2609
2609
  } catch (g) {
2610
2610
  return Promise.reject(g);
2611
2611
  }
2612
- for (f = 0, v = h.length; f < v; )
2613
- p = p.then(h[f++], h[f++]);
2612
+ for (d = 0, v = h.length; d < v; )
2613
+ p = p.then(h[d++], h[d++]);
2614
2614
  return p;
2615
2615
  }
2616
2616
  getUri(t) {
@@ -2791,7 +2791,7 @@ Object.entries(ct).forEach(([e, t]) => {
2791
2791
  });
2792
2792
  const ti = ct;
2793
2793
  function kr(e) {
2794
- const t = new Pe(e), r = dr(Pe.prototype.request, t);
2794
+ const t = new Pe(e), r = fr(Pe.prototype.request, t);
2795
2795
  return u.extend(r, Pe.prototype, t, { allOwnKeys: !0 }), u.extend(r, t, null, { allOwnKeys: !0 }), r.create = function(s) {
2796
2796
  return kr(ne(e, s));
2797
2797
  }, r;
@@ -2816,19 +2816,19 @@ C.formToJSON = (e) => Tr(u.isHTMLForm(e) ? new FormData(e) : e);
2816
2816
  C.getAdapter = Ar.getAdapter;
2817
2817
  C.HttpStatusCode = ti;
2818
2818
  C.default = C;
2819
- const Yi = C.CancelToken, Ki = (e = !0) => {
2819
+ const ra = C.CancelToken, na = (e = !0) => {
2820
2820
  const { axiosInstance: t, language: r, axiosTexts: n } = or(cr), { addNotification: s } = Io(), { getToken: o } = jo();
2821
2821
  return lt(() => {
2822
2822
  t.interceptors.request.clear(), t.interceptors.response.clear();
2823
2823
  const i = t.interceptors.request.use((l) => {
2824
- var h, p, f;
2825
- return e && !l.headers.Authorization && (l.headers.Authorization = `Bearer ${o()}`), (h = l.url) != null && h.includes("culture=") ? l.url = (p = l.url) == null ? void 0 : p.replace(/culture=[a-z]{2}/, `culture=${r}`) : l.url = `${l.url}${(f = l.url) != null && f.includes("?") ? "&" : "?"}culture=${r}`, l;
2824
+ var h, p, d;
2825
+ return e && !l.headers.Authorization && (l.headers.Authorization = `Bearer ${o()}`), (h = l.url) != null && h.includes("culture=") ? l.url = (p = l.url) == null ? void 0 : p.replace(/culture=[a-z]{2}/, `culture=${r}`) : l.url = `${l.url}${(d = l.url) != null && d.includes("?") ? "&" : "?"}culture=${r}`, l;
2826
2826
  }, (l) => Promise.reject(l)), c = t.interceptors.response.use((l) => l, (l) => {
2827
2827
  if (C.isCancel(l))
2828
2828
  return Promise.reject(l);
2829
2829
  const h = pn(l);
2830
2830
  if (h.length > 0) {
2831
- const p = h.find((f) => f.name.toLowerCase() === "others");
2831
+ const p = h.find((d) => d.name.toLowerCase() === "others");
2832
2832
  return p ? (s(p.errors, "danger"), Promise.reject(l)) : (s(n.validationError, "warning"), Promise.reject(l));
2833
2833
  }
2834
2834
  return l.message && l.message === "Network Error" ? (s(n.networkError, "danger"), Promise.reject(l)) : (C.isCancel(l) || s(n.unexpectedError, "danger"), Promise.reject(l));
@@ -2837,24 +2837,24 @@ const Yi = C.CancelToken, Ki = (e = !0) => {
2837
2837
  t.interceptors.request.eject(i), t.interceptors.response.eject(c);
2838
2838
  };
2839
2839
  }, [t, s, r, o, e, n]), t;
2840
- }, ri = "_button_jww69_1", ni = "_filled_jww69_7", oi = "_sm_jww69_13", si = "_md_jww69_18", ii = "_lg_jww69_23", Gi = {
2840
+ }, ri = "_button_jww69_1", ni = "_filled_jww69_7", oi = "_sm_jww69_13", si = "_md_jww69_18", ii = "_lg_jww69_23", oa = {
2841
2841
  button: ri,
2842
2842
  filled: ni,
2843
2843
  sm: oi,
2844
2844
  md: si,
2845
2845
  lg: ii
2846
- }, ai = "_submit-container_1v0k5_1", ci = "_spacer_1v0k5_13", Xi = {
2846
+ }, ai = "_submit-container_1v0k5_1", ci = "_spacer_1v0k5_13", sa = {
2847
2847
  "submit-container": "_submit-container_1v0k5_1",
2848
2848
  submitContainer: ai,
2849
2849
  spacer: ci
2850
- }, li = "_button_7g5en_1", Qi = {
2850
+ }, li = "_button_7g5en_1", ia = {
2851
2851
  button: li
2852
- }, ui = "_widget_1sdw8_1", Zi = {
2852
+ }, ui = "_widget_1sdw8_1", aa = {
2853
2853
  widget: ui
2854
- }, fi = "_dashboard_1ikl9_1", di = "_widgets-grid_1ikl9_1", pi = "_widget-wrapper_1ikl9_7", hi = "_full-width_1ikl9_12", mi = "_widget-edit_1ikl9_15", gi = "_remove-icon_1ikl9_18", yi = "_full-width-icon_1ikl9_25", bi = "_widget-edit-overlay_1ikl9_35", ea = {
2855
- dashboard: fi,
2854
+ }, di = "_dashboard_1ikl9_1", fi = "_widgets-grid_1ikl9_1", pi = "_widget-wrapper_1ikl9_7", hi = "_full-width_1ikl9_12", mi = "_widget-edit_1ikl9_15", gi = "_remove-icon_1ikl9_18", yi = "_full-width-icon_1ikl9_25", bi = "_widget-edit-overlay_1ikl9_35", ca = {
2855
+ dashboard: di,
2856
2856
  "widgets-grid": "_widgets-grid_1ikl9_1",
2857
- widgetsGrid: di,
2857
+ widgetsGrid: fi,
2858
2858
  "widget-wrapper": "_widget-wrapper_1ikl9_7",
2859
2859
  widgetWrapper: pi,
2860
2860
  "full-width": "_full-width_1ikl9_12",
@@ -2867,59 +2867,75 @@ const Yi = C.CancelToken, Ki = (e = !0) => {
2867
2867
  fullWidthIcon: yi,
2868
2868
  "widget-edit-overlay": "_widget-edit-overlay_1ikl9_35",
2869
2869
  widgetEditOverlay: bi
2870
- }, vi = "_badge_nhser_1", wi = "_sm_nhser_1", _i = "_md_nhser_4", Ei = "_lg_nhser_7", ta = {
2870
+ }, vi = "_badge_nhser_1", wi = "_sm_nhser_1", _i = "_md_nhser_4", Ei = "_lg_nhser_7", la = {
2871
2871
  badge: vi,
2872
2872
  sm: wi,
2873
2873
  md: _i,
2874
2874
  lg: Ei
2875
- }, xi = "_collapse-icon_1ahhn_1", Oi = "_collapsed_1ahhn_6", ra = {
2875
+ }, xi = "_collapse-icon_1ahhn_1", Oi = "_collapsed_1ahhn_6", ua = {
2876
2876
  "collapse-icon": "_collapse-icon_1ahhn_1",
2877
2877
  collapseIcon: xi,
2878
2878
  collapsed: Oi
2879
- }, Ri = "_floating-label_1r29p_1", na = {
2879
+ }, Ri = "_floating-label_1r29p_1", da = {
2880
2880
  "floating-label": "_floating-label_1r29p_1",
2881
2881
  floatingLabel: Ri
2882
- }, Si = "_feedback_12jrk_1", Ti = "_for-floating_12jrk_6", Ci = "_feedback-spacer_12jrk_16", oa = {
2882
+ }, Si = "_feedback_12jrk_1", Ti = "_for-floating_12jrk_6", Ci = "_feedback-spacer_12jrk_16", fa = {
2883
2883
  feedback: Si,
2884
2884
  "for-floating": "_for-floating_12jrk_6",
2885
2885
  forFloating: Ti,
2886
2886
  "feedback-spacer": "_feedback-spacer_12jrk_16",
2887
2887
  feedbackSpacer: Ci
2888
+ }, Pi = "_dropdown_8dwnh_1", Ai = "_open_8dwnh_10", ji = "_selected-button_8dwnh_13", ki = "_search-input-container_8dwnh_20", Ni = "_form-control_8dwnh_23", Di = "_loading-container_8dwnh_26", Fi = "_items-container_8dwnh_33", Li = "_employee-item_8dwnh_37", pa = {
2889
+ dropdown: Pi,
2890
+ open: Ai,
2891
+ "selected-button": "_selected-button_8dwnh_13",
2892
+ selectedButton: ji,
2893
+ "search-input-container": "_search-input-container_8dwnh_20",
2894
+ searchInputContainer: ki,
2895
+ "form-control": "_form-control_8dwnh_23",
2896
+ formControl: Ni,
2897
+ "loading-container": "_loading-container_8dwnh_26",
2898
+ loadingContainer: Di,
2899
+ "items-container": "_items-container_8dwnh_33",
2900
+ itemsContainer: Fi,
2901
+ "employee-item": "_employee-item_8dwnh_37",
2902
+ employeeItem: Li
2888
2903
  };
2889
2904
  export {
2890
- na as A,
2891
- oa as B,
2892
- qi as C,
2893
- ki as D,
2894
- $i as E,
2895
- Vi as I,
2905
+ da as A,
2906
+ fa as B,
2907
+ Zi as C,
2908
+ pa as D,
2909
+ Bi as E,
2910
+ Gi as F,
2911
+ Qi as I,
2896
2912
  cr as L,
2897
- Ii as M,
2898
- Ji as U,
2913
+ Ji as M,
2914
+ ta as U,
2899
2915
  Io as a,
2900
- Ki as b,
2901
- Yi as c,
2902
- Wi as d,
2903
- we as e,
2904
- ji as f,
2905
- Hi as g,
2916
+ na as b,
2917
+ ra as c,
2918
+ we as d,
2919
+ Ii as e,
2920
+ Xi as f,
2921
+ ea as g,
2906
2922
  hn as h,
2907
- zi as i,
2923
+ Wi as i,
2908
2924
  Q as j,
2909
- Gi as k,
2910
- Xi as l,
2911
- Ni as m,
2912
- Qi as n,
2913
- Di as o,
2914
- Zi as p,
2915
- Mi as q,
2916
- ea as r,
2917
- Fi as s,
2918
- Li as t,
2925
+ oa as k,
2926
+ sa as l,
2927
+ Ui as m,
2928
+ ia as n,
2929
+ $i as o,
2930
+ aa as p,
2931
+ qi as q,
2932
+ ca as r,
2933
+ Hi as s,
2934
+ Vi as t,
2919
2935
  jo as u,
2920
2936
  kn as v,
2921
- Ui as w,
2922
- ta as x,
2923
- Bi as y,
2924
- ra as z
2937
+ Yi as w,
2938
+ la as x,
2939
+ Ki as y,
2940
+ ua as z
2925
2941
  };