react-luminus-components 1.5.2 → 1.5.3

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.es.js CHANGED
@@ -1,15 +1,15 @@
1
- import { j as o, c as I, t as Re, s as _o, g as Oo, m as Vc, d as dn, a as $c, b as Gc, e as jt, f as Pa, h as Uc, i as Wc, k as Hc, l as zc, n as qc, o as Yc, p as Kc, T as hs, q as bs, r as Po, E as Xc, u as xs, v as Ta, w as ys, x as Qc, y as Te, z as Aa, F as ws, A as Jc, B as Zc, C as ed, D as td, M as rd, G as nd, H as ad, I as od, J as id, K as sd, L as ma, N as ld, O as cd, P as Q, Q as xt, R as dd, S as ud, U as Ht, V as te, W as Ra, X as Ee, Y as ka, Z as bt, _ as Je, $ as De, a0 as mt, a1 as z, a2 as En, a3 as pd, a4 as fd, a5 as md, a6 as Ns, a7 as gd, a8 as vd, a9 as ft, aa as hd, ab as bd, ac as gn, ad as ne, ae as js, af as xd, ag as yd, ah as wd, ai as Ds, aj as Ss, ak as Cs, al as ga, am as Pt, an as Nd, ao as We, ap as jd, aq as Dd, ar as Sd, as as Tt, at as Cd, au as Es, av as Ed, aw as rt, ax as cr, ay as Id, az as ct, aA as Ba, aB as La, aC as Is, aD as Ma, aE as _s, aF as Os, aG as Pe, aH as Ct, aI as _d, aJ as Od, aK as it, aL as dr, aM as ur, aN as Pd, aO as st, aP as zt, aQ as Td, aR as At, aS as Ad, aT as Rd, aU as yr, aV as dt, aW as Ps, aX as Rt, aY as Gr, aZ as kd, a_ as Fn, a$ as Ur, b0 as Bd, b1 as Qt, b2 as Ld, b3 as Md, b4 as Or, b5 as In, b6 as Ts, b7 as vn, b8 as Fa, b9 as nr, ba as Fd, bb as As, bc as Qr, bd as yt, be as Yt, bf as hn, bg as Vd, bh as Rs, bi as ks, bj as un, bk as Bs, bl as $d, bm as Gd, bn as Ud, bo as Wd, bp as Hd, bq as Ls, br as zd, bs as qd, bt as Yd, bu as Kd, bv as Xd, bw as Qd } from "./ShortcutLinksContext-CH9KdcxB.js";
1
+ import { j as o, c as I, t as Re, s as Oo, g as Po, m as Vc, d as dn, a as $c, b as Gc, e as jt, f as Pa, h as Uc, i as Wc, k as Hc, l as zc, n as qc, o as Yc, p as Kc, T as bs, q as xs, r as To, E as Xc, u as ys, v as Ta, w as ws, x as Qc, y as Te, z as Aa, F as Ns, A as Jc, B as Zc, C as ed, D as td, M as rd, G as nd, H as ad, I as od, J as id, K as sd, L as ma, N as ld, O as cd, P as Q, Q as xt, R as dd, S as ud, U as Ht, V as te, W as Ra, X as Ee, Y as ka, Z as bt, _ as Je, $ as De, a0 as mt, a1 as z, a2 as En, a3 as pd, a4 as fd, a5 as md, a6 as js, a7 as gd, a8 as vd, a9 as ft, aa as hd, ab as bd, ac as gn, ad as ne, ae as Ds, af as xd, ag as yd, ah as wd, ai as Ss, aj as Cs, ak as Es, al as ga, am as Pt, an as Nd, ao as We, ap as jd, aq as Dd, ar as Sd, as as Tt, at as Cd, au as Is, av as Ed, aw as rt, ax as cr, ay as Id, az as ct, aA as Ba, aB as La, aC as _s, aD as Ma, aE as Os, aF as Ps, aG as Pe, aH as Ct, aI as _d, aJ as Od, aK as it, aL as dr, aM as ur, aN as Pd, aO as st, aP as zt, aQ as Td, aR as At, aS as Ad, aT as Rd, aU as yr, aV as dt, aW as Ts, aX as Rt, aY as Gr, aZ as kd, a_ as Fn, a$ as Ur, b0 as Bd, b1 as Qt, b2 as Ld, b3 as Md, b4 as Or, b5 as In, b6 as Fa, b7 as vn, b8 as Va, b9 as nr, ba as Fd, bb as As, bc as Qr, bd as yt, be as Yt, bf as hn, bg as Vd, bh as Rs, bi as ks, bj as un, bk as Bs, bl as $d, bm as Gd, bn as Ud, bo as Wd, bp as Hd, bq as Ls, br as zd, bs as qd, bt as Yd, bu as Kd, bv as Xd, bw as Qd } from "./ShortcutLinksContext-CH9KdcxB.js";
2
2
  import { bz as Lj, bx as Mj, by as Fj } from "./ShortcutLinksContext-CH9KdcxB.js";
3
3
  import * as Ie from "react";
4
- import le, { useCallback as T, useMemo as R, useState as k, useRef as Z, useEffect as H, useContext as W, useId as Jd, Component as Zd, isValidElement as To, Suspense as eu, useLayoutEffect as Va, useReducer as tu, Fragment as ru } from "react";
4
+ import le, { useCallback as T, useMemo as R, useState as k, useRef as Z, useEffect as H, useContext as W, useId as Jd, Component as Zd, isValidElement as Ao, Suspense as eu, useLayoutEffect as $a, useReducer as tu, Fragment as ru } from "react";
5
5
  import { c as vt, a as nu, b as au, L as va, F as ou } from "./FormDisabledProvider-aUfGn6S6.js";
6
6
  import { InteractionType as iu } from "@azure/msal-browser";
7
7
  import { MsalAuthenticationTemplate as su } from "@azure/msal-react";
8
8
  import { useNavigate as _n, Navigate as Jr, Link as Ye, generatePath as ar, useParams as Ms, useSearchParams as lu, useLocation as cu } from "react-router-dom";
9
9
  import Pr, { unstable_batchedUpdates as du } from "react-dom";
10
- import { useFormContext as wt, Controller as $a, useForm as Fs, FormProvider as Vs } from "react-hook-form";
10
+ import { useFormContext as wt, Controller as Ga, useForm as Fs, FormProvider as Vs } from "react-hook-form";
11
11
  import { Pivot as uu } from "react-flexmonster";
12
- import { u as pu, a as fu, b as Ga, c as mu } from "./useRenderDraggableInPortal-D0OLp7Qb.js";
12
+ import { u as pu, a as fu, b as Ua, c as mu } from "./useRenderDraggableInPortal-D0OLp7Qb.js";
13
13
  import { u as et, a as bn } from "./useLocalStorageState-C-xR82iw.js";
14
14
  import { l as Cr, g as ha, d as gu, r as vu } from "./localStorageUtils-CHdu9Xvf.js";
15
15
  const AN = ({ fileLoader: e, fileName: t, children: r }) => {
@@ -31,20 +31,20 @@ function bu(e, t) {
31
31
  const r = Re(e), n = Re(t), a = r.getTime() - n.getTime();
32
32
  return a < 0 ? -1 : a > 0 ? 1 : a;
33
33
  }
34
- function Ao(e, t) {
34
+ function Ro(e, t) {
35
35
  const r = Re(e), n = Re(t), a = r.getFullYear() - n.getFullYear(), i = r.getMonth() - n.getMonth();
36
36
  return a * 12 + i;
37
37
  }
38
- function Ro(e) {
38
+ function ko(e) {
39
39
  const t = Re(e);
40
40
  return Math.trunc(t.getMonth() / 3) + 1;
41
41
  }
42
42
  function Vn(e, t) {
43
- const r = Re(e), n = Re(t), a = r.getFullYear() - n.getFullYear(), i = Ro(r) - Ro(n);
43
+ const r = Re(e), n = Re(t), a = r.getFullYear() - n.getFullYear(), i = ko(r) - ko(n);
44
44
  return a * 4 + i;
45
45
  }
46
- function ko(e, t, r) {
47
- const n = _o(e, r), a = _o(t, r), i = +n - Oo(n), s = +a - Oo(a);
46
+ function Bo(e, t, r) {
47
+ const n = Oo(e, r), a = Oo(t, r), i = +n - Po(n), s = +a - Po(a);
48
48
  return Math.round((i - s) / Vc);
49
49
  }
50
50
  function $n(e, t) {
@@ -52,35 +52,35 @@ function $n(e, t) {
52
52
  return r.getFullYear() - n.getFullYear();
53
53
  }
54
54
  function xu(e, t) {
55
- const r = Re(e), n = Re(t), a = Bo(r, n), i = Math.abs(dn(r, n));
55
+ const r = Re(e), n = Re(t), a = Lo(r, n), i = Math.abs(dn(r, n));
56
56
  r.setDate(r.getDate() - a * i);
57
- const s = +(Bo(r, n) === -a), l = a * (i - s);
57
+ const s = +(Lo(r, n) === -a), l = a * (i - s);
58
58
  return l === 0 ? 0 : l;
59
59
  }
60
- function Bo(e, t) {
60
+ function Lo(e, t) {
61
61
  const r = e.getFullYear() - t.getFullYear() || e.getMonth() - t.getMonth() || e.getDate() - t.getDate() || e.getHours() - t.getHours() || e.getMinutes() - t.getMinutes() || e.getSeconds() - t.getSeconds() || e.getMilliseconds() - t.getMilliseconds();
62
62
  return r < 0 ? -1 : r > 0 ? 1 : r;
63
63
  }
64
- function Ua(e) {
64
+ function Wa(e) {
65
65
  return (t) => {
66
66
  const n = (e ? Math[e] : Math.trunc)(t);
67
67
  return n === 0 ? 0 : n;
68
68
  };
69
69
  }
70
- function Wa(e, t) {
70
+ function Ha(e, t) {
71
71
  return +Re(e) - +Re(t);
72
72
  }
73
- function Lo(e, t, r) {
74
- const n = Wa(e, t) / $c;
75
- return Ua(r == null ? void 0 : r.roundingMethod)(n);
76
- }
77
73
  function Mo(e, t, r) {
78
- const n = Wa(e, t) / Gc;
79
- return Ua(r == null ? void 0 : r.roundingMethod)(n);
74
+ const n = Ha(e, t) / $c;
75
+ return Wa(r == null ? void 0 : r.roundingMethod)(n);
76
+ }
77
+ function Fo(e, t, r) {
78
+ const n = Ha(e, t) / Gc;
79
+ return Wa(r == null ? void 0 : r.roundingMethod)(n);
80
80
  }
81
81
  function Gn(e, t, r) {
82
- const n = Wa(e, t) / 1e3;
83
- return Ua(r == null ? void 0 : r.roundingMethod)(n);
82
+ const n = Ha(e, t) / 1e3;
83
+ return Wa(r == null ? void 0 : r.roundingMethod)(n);
84
84
  }
85
85
  function ba(e, t) {
86
86
  const r = Re(e);
@@ -113,10 +113,10 @@ function wu(e, t, r) {
113
113
  let n = 0, a;
114
114
  const i = Re(e), s = Re(t);
115
115
  if (r != null && r.unit)
116
- a = r == null ? void 0 : r.unit, a === "second" ? n = Gn(i, s) : a === "minute" ? n = Mo(i, s) : a === "hour" ? n = Lo(i, s) : a === "day" ? n = dn(i, s) : a === "week" ? n = ko(i, s) : a === "month" ? n = Ao(i, s) : a === "quarter" ? n = Vn(i, s) : a === "year" && (n = $n(i, s));
116
+ a = r == null ? void 0 : r.unit, a === "second" ? n = Gn(i, s) : a === "minute" ? n = Fo(i, s) : a === "hour" ? n = Mo(i, s) : a === "day" ? n = dn(i, s) : a === "week" ? n = Bo(i, s) : a === "month" ? n = Ro(i, s) : a === "quarter" ? n = Vn(i, s) : a === "year" && (n = $n(i, s));
117
117
  else {
118
118
  const c = Gn(i, s);
119
- Math.abs(c) < Uc ? (n = Gn(i, s), a = "second") : Math.abs(c) < Wc ? (n = Mo(i, s), a = "minute") : Math.abs(c) < Hc && Math.abs(dn(i, s)) < 1 ? (n = Lo(i, s), a = "hour") : Math.abs(c) < zc && (n = dn(i, s)) && Math.abs(n) < 7 ? a = "day" : Math.abs(c) < qc ? (n = ko(i, s), a = "week") : Math.abs(c) < Yc ? (n = Ao(i, s), a = "month") : Math.abs(c) < Kc && Vn(i, s) < 4 ? (n = Vn(i, s), a = "quarter") : (n = $n(i, s), a = "year");
119
+ Math.abs(c) < Uc ? (n = Gn(i, s), a = "second") : Math.abs(c) < Wc ? (n = Fo(i, s), a = "minute") : Math.abs(c) < Hc && Math.abs(dn(i, s)) < 1 ? (n = Mo(i, s), a = "hour") : Math.abs(c) < zc && (n = dn(i, s)) && Math.abs(n) < 7 ? a = "day" : Math.abs(c) < qc ? (n = Bo(i, s), a = "week") : Math.abs(c) < Yc ? (n = Ro(i, s), a = "month") : Math.abs(c) < Kc && Vn(i, s) < 4 ? (n = Vn(i, s), a = "quarter") : (n = $n(i, s), a = "year");
120
120
  }
121
121
  return new Intl.RelativeTimeFormat(r == null ? void 0 : r.locale, {
122
122
  localeMatcher: r == null ? void 0 : r.localeMatcher,
@@ -150,14 +150,14 @@ const ju = {
150
150
  function Du(e, t) {
151
151
  const r = `offset${e[0].toUpperCase()}${e.slice(1)}`, n = t[r], a = ju[e];
152
152
  return n + // @ts-ignore
153
- parseInt(Po(t, a[0]), 10) + // @ts-ignore
154
- parseInt(Po(t, a[1]), 10);
153
+ parseInt(To(t, a[0]), 10) + // @ts-ignore
154
+ parseInt(To(t, a[1]), 10);
155
155
  }
156
156
  const Su = {
157
157
  [Xc]: "collapse",
158
- [xs]: "collapsing",
158
+ [ys]: "collapsing",
159
159
  [Ta]: "collapsing",
160
- [ys]: "collapse show"
160
+ [ws]: "collapse show"
161
161
  }, $s = /* @__PURE__ */ le.forwardRef(({
162
162
  onEnter: e,
163
163
  onEntering: t,
@@ -187,9 +187,9 @@ const Su = {
187
187
  }, n), [n, m, v]), y = R(() => wr((C) => {
188
188
  C.style[v] = null;
189
189
  }, a), [v, a]);
190
- return /* @__PURE__ */ o.jsx(hs, {
190
+ return /* @__PURE__ */ o.jsx(bs, {
191
191
  ref: b,
192
- addEndListener: bs,
192
+ addEndListener: xs,
193
193
  ...g,
194
194
  "aria-expanded": g.role ? c : null,
195
195
  onEnter: h,
@@ -208,7 +208,7 @@ const Su = {
208
208
  className: I(i, s.props.className, Su[C], v === "width" && "collapse-horizontal")
209
209
  })
210
210
  });
211
- }), Ha = /* @__PURE__ */ Ie.forwardRef(({
211
+ }), za = /* @__PURE__ */ Ie.forwardRef(({
212
212
  className: e,
213
213
  bsPrefix: t,
214
214
  as: r = "div",
@@ -218,7 +218,7 @@ const Su = {
218
218
  className: I(e, t),
219
219
  ...n
220
220
  })));
221
- Ha.displayName = "CardBody";
221
+ za.displayName = "CardBody";
222
222
  const Gs = /* @__PURE__ */ Ie.forwardRef(({
223
223
  className: e,
224
224
  bsPrefix: t,
@@ -342,17 +342,17 @@ const Qs = /* @__PURE__ */ Ie.forwardRef(({
342
342
  ref: u,
343
343
  ...c,
344
344
  className: I(t, d, r && `bg-${r}`, n && `text-${n}`, a && `border-${a}`),
345
- children: i ? /* @__PURE__ */ o.jsx(Ha, {
345
+ children: i ? /* @__PURE__ */ o.jsx(za, {
346
346
  children: s
347
347
  }) : s
348
348
  });
349
349
  });
350
350
  Qs.displayName = "Card";
351
- const Fo = Object.assign(Qs, {
351
+ const Vo = Object.assign(Qs, {
352
352
  Img: Hs,
353
353
  Title: Xs,
354
354
  Subtitle: Ys,
355
- Body: Ha,
355
+ Body: za,
356
356
  Link: qs,
357
357
  Text: Ks,
358
358
  Header: Ws,
@@ -370,12 +370,12 @@ const Fo = Object.assign(Qs, {
370
370
  })));
371
371
  On.displayName = "InputGroupText";
372
372
  const Iu = (e) => /* @__PURE__ */ o.jsx(On, {
373
- children: /* @__PURE__ */ o.jsx(ws, {
373
+ children: /* @__PURE__ */ o.jsx(Ns, {
374
374
  type: "checkbox",
375
375
  ...e
376
376
  })
377
377
  }), _u = (e) => /* @__PURE__ */ o.jsx(On, {
378
- children: /* @__PURE__ */ o.jsx(ws, {
378
+ children: /* @__PURE__ */ o.jsx(Ns, {
379
379
  type: "radio",
380
380
  ...e
381
381
  })
@@ -404,7 +404,7 @@ const pn = Object.assign(Js, {
404
404
  Text: On,
405
405
  Radio: _u,
406
406
  Checkbox: Iu
407
- }), ya = /* @__PURE__ */ new WeakMap(), Vo = (e, t) => {
407
+ }), ya = /* @__PURE__ */ new WeakMap(), $o = (e, t) => {
408
408
  if (!e || !t) return;
409
409
  const r = ya.get(t) || /* @__PURE__ */ new Map();
410
410
  ya.set(t, r);
@@ -412,9 +412,9 @@ const pn = Object.assign(Js, {
412
412
  return n || (n = t.matchMedia(e), n.refCount = 0, r.set(n.media, n)), n;
413
413
  };
414
414
  function Ou(e, t = typeof window > "u" ? void 0 : window) {
415
- const r = Vo(e, t), [n, a] = k(() => r ? r.matches : !1);
415
+ const r = $o(e, t), [n, a] = k(() => r ? r.matches : !1);
416
416
  return Zc(() => {
417
- let i = Vo(e, t);
417
+ let i = $o(e, t);
418
418
  if (!i)
419
419
  return a(!1);
420
420
  let s = ya.get(t);
@@ -473,7 +473,7 @@ const Tu = Pu({
473
473
  Zs.displayName = "OffcanvasBody";
474
474
  const Au = {
475
475
  [Ta]: "show",
476
- [ys]: "show"
476
+ [ws]: "show"
477
477
  }, el = /* @__PURE__ */ Ie.forwardRef(({
478
478
  bsPrefix: e,
479
479
  className: t,
@@ -483,9 +483,9 @@ const Au = {
483
483
  unmountOnExit: i = !1,
484
484
  appear: s = !1,
485
485
  ...l
486
- }, c) => (e = Te(e, "offcanvas"), /* @__PURE__ */ o.jsx(hs, {
486
+ }, c) => (e = Te(e, "offcanvas"), /* @__PURE__ */ o.jsx(bs, {
487
487
  ref: c,
488
- addEndListener: bs,
488
+ addEndListener: xs,
489
489
  in: n,
490
490
  mountOnEnter: a,
491
491
  unmountOnExit: i,
@@ -494,7 +494,7 @@ const Au = {
494
494
  childRef: r.ref,
495
495
  children: (u, d) => /* @__PURE__ */ Ie.cloneElement(r, {
496
496
  ...d,
497
- className: I(t, r.props.className, (u === Ta || u === xs) && `${e}-toggling`, Au[u])
497
+ className: I(t, r.props.className, (u === Ta || u === ys) && `${e}-toggling`, Au[u])
498
498
  })
499
499
  })));
500
500
  el.displayName = "OffcanvasToggling";
@@ -624,7 +624,7 @@ const nl = /* @__PURE__ */ Ie.forwardRef(({
624
624
  });
625
625
  });
626
626
  nl.displayName = "Offcanvas";
627
- const $o = Object.assign(nl, {
627
+ const Go = Object.assign(nl, {
628
628
  Body: Zs,
629
629
  Header: tl,
630
630
  Title: rl
@@ -669,7 +669,7 @@ const il = /* @__PURE__ */ Ie.forwardRef(({
669
669
  il.displayName = "Placeholder";
670
670
  const Dt = Object.assign(il, {
671
671
  Button: ol
672
- }), za = /* @__PURE__ */ Ie.forwardRef(({
672
+ }), qa = /* @__PURE__ */ Ie.forwardRef(({
673
673
  bsPrefix: e,
674
674
  className: t,
675
675
  // Need to define the default "as" during prop destructuring to be compatible with styled-components github.com/react-bootstrap/react-bootstrap/issues/3595
@@ -692,7 +692,7 @@ const Dt = Object.assign(il, {
692
692
  className: I(t, i, ...u)
693
693
  });
694
694
  });
695
- za.displayName = "Row";
695
+ qa.displayName = "Row";
696
696
  const Lu = /* @__PURE__ */ Ie.forwardRef(({
697
697
  bsPrefix: e,
698
698
  className: t,
@@ -781,13 +781,13 @@ const Lu = /* @__PURE__ */ Ie.forwardRef(({
781
781
  ] });
782
782
  }, Uu = "_select_pywmr_1", Wu = {
783
783
  select: Uu
784
- }, Go = 2e3, Uo = 2050, Hu = ({ year: e, onChangeYear: t, className: r, variant: n = "standart", ...a }) => {
784
+ }, Uo = 2e3, Wo = 2050, Hu = ({ year: e, onChangeYear: t, className: r, variant: n = "standart", ...a }) => {
785
785
  const i = R(() => {
786
786
  var u;
787
- return a.manualOptions ? ((u = a.options) == null ? void 0 : u.at(0)) ?? Go : a.optionMin ?? Go;
787
+ return a.manualOptions ? ((u = a.options) == null ? void 0 : u.at(0)) ?? Uo : a.optionMin ?? Uo;
788
788
  }, [a]), s = R(() => {
789
789
  var u;
790
- return a.manualOptions ? ((u = a.options) == null ? void 0 : u.at(-1)) ?? Uo : a.optionMax ?? Uo;
790
+ return a.manualOptions ? ((u = a.options) == null ? void 0 : u.at(-1)) ?? Wo : a.optionMax ?? Wo;
791
791
  }, [a]), l = R(() => {
792
792
  if (a.manualOptions)
793
793
  return a.options;
@@ -834,12 +834,12 @@ class zu extends Zd {
834
834
  }
835
835
  render() {
836
836
  const { fallback: t, fallbackOn404: r, children: n, texts: a, reloadButtonDisplay: i = "append-after-child" } = this.props;
837
- return this.state.hasError ? i === "inject-to-child" && !this.state.is404Error && To(t) ? le.cloneElement(t, {
837
+ return this.state.hasError ? i === "inject-to-child" && !this.state.is404Error && Ao(t) ? le.cloneElement(t, {
838
838
  ...t.props
839
839
  }, /* @__PURE__ */ o.jsxs("div", { className: "translate-middle top-50 start-50 position-absolute d-flex flex-column align-items-center gap-2", children: [
840
840
  ...t.props.children,
841
841
  /* @__PURE__ */ o.jsx("div", { className: "d-flex gap-2 justify-content-center", children: /* @__PURE__ */ o.jsx(bt, { type: "button", onClick: this.reload, children: a.reloadButtonContent }) })
842
- ] })) : i === "inject-to-child" && this.state.is404Error && To(r) ? le.cloneElement(r, {
842
+ ] })) : i === "inject-to-child" && this.state.is404Error && Ao(r) ? le.cloneElement(r, {
843
843
  ...r.props
844
844
  }, /* @__PURE__ */ o.jsxs("div", { className: "translate-middle top-50 start-50 position-absolute d-flex flex-column align-items-center gap-2", children: [
845
845
  ...r.props.children,
@@ -862,9 +862,9 @@ const qu = (e) => (r) => {
862
862
  }, Yu = qu(zu), Ku = "_widget-card_e9tsb_1", Xu = {
863
863
  "widget-card": "_widget-card_e9tsb_1",
864
864
  widgetCard: Ku
865
- }, Wo = ({ children: e, title: t, headerContent: r }) => /* @__PURE__ */ o.jsx(xn, { className: I(Xu.widgetCard, "luminus-widget"), title: t, headerContent: r, contentClassName: "h-100 overflow-auto", children: e }), Qu = ({ children: e, title: t }) => {
865
+ }, Ho = ({ children: e, title: t, headerContent: r }) => /* @__PURE__ */ o.jsx(xn, { className: I(Xu.widgetCard, "luminus-widget"), title: t, headerContent: r, contentClassName: "h-100 overflow-auto", children: e }), Qu = ({ children: e, title: t }) => {
866
866
  const { texts: { widget: r } } = W(Q), n = _n();
867
- return /* @__PURE__ */ o.jsx(Yu, { fallback: /* @__PURE__ */ o.jsx(Wo, { title: t, children: r.fallbackError }), reloadButtonDisplay: "inject-to-child", navigateBack: () => n(-1), children: /* @__PURE__ */ o.jsx(eu, { fallback: /* @__PURE__ */ o.jsx(Wo, { title: t, children: /* @__PURE__ */ o.jsx(hu, {}) }), children: e }) });
867
+ return /* @__PURE__ */ o.jsx(Yu, { fallback: /* @__PURE__ */ o.jsx(Ho, { title: t, children: r.fallbackError }), reloadButtonDisplay: "inject-to-child", navigateBack: () => n(-1), children: /* @__PURE__ */ o.jsx(eu, { fallback: /* @__PURE__ */ o.jsx(Ho, { title: t, children: /* @__PURE__ */ o.jsx(hu, {}) }), children: e }) });
868
868
  }, Ju = "_widgets-row_13gg1_1", Zu = "_widget_13gg1_1", ep = "_widget-img_13gg1_5", tp = "_widget-title-spacer_13gg1_14", rp = "_widget-title_13gg1_14", np = "_title_13gg1_28", Xe = {
869
869
  "widgets-row": "_widgets-row_13gg1_1",
870
870
  widgetsRow: Ju,
@@ -903,14 +903,14 @@ const qu = (e) => (r) => {
903
903
  ] }, d.id) })) }) }) })
904
904
  ] }) })
905
905
  ] });
906
- }, op = "_widget_19xgl_1", ip = "_mobile_19xgl_7", Ho = {
906
+ }, op = "_widget_19xgl_1", ip = "_mobile_19xgl_7", zo = {
907
907
  widget: op,
908
908
  mobile: ip
909
- }, zo = ({ widgetGroups: e, availableWidgets: t, onAdd: r, texts: n }) => {
909
+ }, qo = ({ widgetGroups: e, availableWidgets: t, onAdd: r, texts: n }) => {
910
910
  const [a, i] = k(!1), { isMobile: s } = En();
911
911
  return /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
912
- /* @__PURE__ */ o.jsx("div", { className: I("luminus-empty-widget", Ho.widget, {
913
- [Ho.mobile]: s
912
+ /* @__PURE__ */ o.jsx("div", { className: I("luminus-empty-widget", zo.widget, {
913
+ [zo.mobile]: s
914
914
  }), children: /* @__PURE__ */ o.jsx(te, { onClick: () => i(!0), children: /* @__PURE__ */ o.jsx(pd, {}) }) }),
915
915
  /* @__PURE__ */ o.jsx(ap, { show: a, widgetGroups: e, widgets: t, handleClose: () => i(!1), onWidgetPicked: (l) => {
916
916
  i(!1), r(l);
@@ -973,7 +973,7 @@ const qu = (e) => (r) => {
973
973
  /* @__PURE__ */ o.jsx(te, { color: "danger", onClick: () => u(b), className: I(pt.removeIcon), children: /* @__PURE__ */ o.jsx(fd, {}) }),
974
974
  /* @__PURE__ */ o.jsx(te, { color: v ? "danger" : "primary", onClick: () => d(b), className: I(pt.fullWidthIcon), children: /* @__PURE__ */ o.jsx(md, {}) })
975
975
  ] }),
976
- g.id === -1 ? r && /* @__PURE__ */ o.jsx("div", { className: pt.widgetWrapper, children: /* @__PURE__ */ o.jsx(zo, { widgetGroups: e, availableWidgets: t, onAdd: (h) => c(b, h), texts: i }) }) : /* @__PURE__ */ o.jsx(Qu, { title: g.title, children: /* @__PURE__ */ o.jsx(g.WidgetElement, { title: g.title }) }),
976
+ g.id === -1 ? r && /* @__PURE__ */ o.jsx("div", { className: pt.widgetWrapper, children: /* @__PURE__ */ o.jsx(qo, { widgetGroups: e, availableWidgets: t, onAdd: (h) => c(b, h), texts: i }) }) : /* @__PURE__ */ o.jsx(Qu, { title: g.title, children: /* @__PURE__ */ o.jsx(g.WidgetElement, { title: g.title }) }),
977
977
  g.id > -1 && r && /* @__PURE__ */ o.jsx("div", { className: pt.widgetEditOverlay })
978
978
  ] }, b) : /* @__PURE__ */ o.jsx(o.Fragment, {}), [
979
979
  r,
@@ -986,7 +986,7 @@ const qu = (e) => (r) => {
986
986
  ]), { isMobile: f } = En();
987
987
  return /* @__PURE__ */ o.jsx("div", { className: I(pt.dashboard, { [pt.mobile]: f }), children: /* @__PURE__ */ o.jsxs("div", { className: I(pt.widgetsGrid), children: [
988
988
  (m = s.widgets) == null ? void 0 : m.map((g, b) => p(t.find((v) => v.id === g.widgetId), b, g.fullWidth)),
989
- r && /* @__PURE__ */ o.jsx(zo, { widgetGroups: e, availableWidgets: t, onAdd: (g) => {
989
+ r && /* @__PURE__ */ o.jsx(qo, { widgetGroups: e, availableWidgets: t, onAdd: (g) => {
990
990
  var b;
991
991
  return c((b = s.widgets) == null ? void 0 : b.length, g);
992
992
  }, texts: i })
@@ -1000,7 +1000,7 @@ const qu = (e) => (r) => {
1000
1000
  }, BN = ({ children: e, color: t = "primary", size: r = "md", rounded: n, className: a, variant: i = "filled", ...s }) => {
1001
1001
  const l = R(() => i === "filled" ? I(`bg-${t}`) : i === "outline" ? I(`text-${t} border-${t} border bg-white`) : "", [t, i]);
1002
1002
  return /* @__PURE__ */ o.jsx("span", { className: I("luminus-badge badge", l, a, { "rounded-pill": n }, { "text-dark": t === "light" }, { [Un.light]: t === "light" }, Un.badge, Un[r]), ...s, children: e });
1003
- }, Np = "_collapse-icon_1ahhn_1", jp = "_collapsed_1ahhn_6", qo = {
1003
+ }, Np = "_collapse-icon_1ahhn_1", jp = "_collapsed_1ahhn_6", Yo = {
1004
1004
  "collapse-icon": "_collapse-icon_1ahhn_1",
1005
1005
  collapseIcon: Np,
1006
1006
  collapsed: jp
@@ -1011,8 +1011,8 @@ const qu = (e) => (r) => {
1011
1011
  }, [a]), /* @__PURE__ */ o.jsxs("div", { className: r ?? "", children: [
1012
1012
  /* @__PURE__ */ o.jsxs("div", { role: "button", className: "d-flex align-items-center justify-content-between pb-3 pt-2", onClick: () => n.controlled ? n.onToggle(!n.isOpen) : s(!i), children: [
1013
1013
  /* @__PURE__ */ o.jsx(z, { variant: "h6", children: e }),
1014
- /* @__PURE__ */ o.jsx(Ns, { className: I(qo.collapseIcon, {
1015
- [qo.collapsed]: l
1014
+ /* @__PURE__ */ o.jsx(js, { className: I(Yo.collapseIcon, {
1015
+ [Yo.collapsed]: l
1016
1016
  }) })
1017
1017
  ] }),
1018
1018
  /* @__PURE__ */ o.jsx($s, { in: l, children: /* @__PURE__ */ o.jsx("div", { children: t }) }),
@@ -1057,7 +1057,7 @@ const qu = (e) => (r) => {
1057
1057
  /* @__PURE__ */ o.jsx(z, { variant: "h6", className: I("text-primary", Bt.title), children: e }),
1058
1058
  t ?? null
1059
1059
  ] }),
1060
- l.collapsible && /* @__PURE__ */ o.jsx(Ns, { className: I(Bt.collapseIcon, {
1060
+ l.collapsible && /* @__PURE__ */ o.jsx(js, { className: I(Bt.collapseIcon, {
1061
1061
  [Bt.collapsed]: p
1062
1062
  }) })
1063
1063
  ] }),
@@ -1096,7 +1096,7 @@ function Ap(e, t, r) {
1096
1096
  writable: !0
1097
1097
  }) : e[t] = r, e;
1098
1098
  }
1099
- function Yo(e, t) {
1099
+ function Ko(e, t) {
1100
1100
  var r = Object.keys(e);
1101
1101
  if (Object.getOwnPropertySymbols) {
1102
1102
  var n = Object.getOwnPropertySymbols(e);
@@ -1106,12 +1106,12 @@ function Yo(e, t) {
1106
1106
  }
1107
1107
  return r;
1108
1108
  }
1109
- function Ko(e) {
1109
+ function Xo(e) {
1110
1110
  for (var t = 1; t < arguments.length; t++) {
1111
1111
  var r = arguments[t] != null ? arguments[t] : {};
1112
- t % 2 ? Yo(Object(r), !0).forEach(function(n) {
1112
+ t % 2 ? Ko(Object(r), !0).forEach(function(n) {
1113
1113
  Ap(e, n, r[n]);
1114
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : Yo(Object(r)).forEach(function(n) {
1114
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : Ko(Object(r)).forEach(function(n) {
1115
1115
  Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(r, n));
1116
1116
  });
1117
1117
  }
@@ -1120,11 +1120,11 @@ function Ko(e) {
1120
1120
  function Ue(e) {
1121
1121
  return "Minified Redux error #" + e + "; visit https://redux.js.org/Errors?code=" + e + " for the full message or use the non-minified dev environment for full errors. ";
1122
1122
  }
1123
- var Xo = function() {
1123
+ var Qo = function() {
1124
1124
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
1125
1125
  }(), Wn = function() {
1126
1126
  return Math.random().toString(36).substring(7).split("").join(".");
1127
- }, Qo = {
1127
+ }, Jo = {
1128
1128
  INIT: "@@redux/INIT" + Wn(),
1129
1129
  REPLACE: "@@redux/REPLACE" + Wn(),
1130
1130
  PROBE_UNKNOWN_ACTION: function() {
@@ -1235,7 +1235,7 @@ function sl(e, t, r) {
1235
1235
  if (typeof b != "function")
1236
1236
  throw new Error(process.env.NODE_ENV === "production" ? Ue(10) : "Expected the nextReducer to be a function. Instead, received: '" + $t(b));
1237
1237
  a = b, f({
1238
- type: Qo.REPLACE
1238
+ type: Jo.REPLACE
1239
1239
  });
1240
1240
  }
1241
1241
  function g() {
@@ -1261,33 +1261,33 @@ function sl(e, t, r) {
1261
1261
  unsubscribe: x
1262
1262
  };
1263
1263
  }
1264
- }, b[Xo] = function() {
1264
+ }, b[Qo] = function() {
1265
1265
  return this;
1266
1266
  }, b;
1267
1267
  }
1268
1268
  return f({
1269
- type: Qo.INIT
1269
+ type: Jo.INIT
1270
1270
  }), n = {
1271
1271
  dispatch: f,
1272
1272
  subscribe: p,
1273
1273
  getState: d,
1274
1274
  replaceReducer: m
1275
- }, n[Xo] = g, n;
1275
+ }, n[Qo] = g, n;
1276
1276
  }
1277
- function Jo(e, t) {
1277
+ function Zo(e, t) {
1278
1278
  return function() {
1279
1279
  return t(e.apply(this, arguments));
1280
1280
  };
1281
1281
  }
1282
- function Zo(e, t) {
1282
+ function ei(e, t) {
1283
1283
  if (typeof e == "function")
1284
- return Jo(e, t);
1284
+ return Zo(e, t);
1285
1285
  if (typeof e != "object" || e === null)
1286
1286
  throw new Error(process.env.NODE_ENV === "production" ? Ue(16) : "bindActionCreators expected an object or a function, but instead received: '" + $t(e) + `'. Did you write "import ActionCreators from" instead of "import * as ActionCreators from"?`);
1287
1287
  var r = {};
1288
1288
  for (var n in e) {
1289
1289
  var a = e[n];
1290
- typeof a == "function" && (r[n] = Jo(a, t));
1290
+ typeof a == "function" && (r[n] = Zo(a, t));
1291
1291
  }
1292
1292
  return r;
1293
1293
  }
@@ -1317,14 +1317,14 @@ function Fp() {
1317
1317
  }, l = t.map(function(c) {
1318
1318
  return c(s);
1319
1319
  });
1320
- return i = ll.apply(void 0, l)(a.dispatch), Ko(Ko({}, a), {}, {
1320
+ return i = ll.apply(void 0, l)(a.dispatch), Xo(Xo({}, a), {}, {
1321
1321
  dispatch: i
1322
1322
  });
1323
1323
  };
1324
1324
  };
1325
1325
  }
1326
- var qa = /* @__PURE__ */ le.createContext(null);
1327
- process.env.NODE_ENV !== "production" && (qa.displayName = "ReactRedux");
1326
+ var Ya = /* @__PURE__ */ le.createContext(null);
1327
+ process.env.NODE_ENV !== "production" && (Ya.displayName = "ReactRedux");
1328
1328
  function Vp(e) {
1329
1329
  e();
1330
1330
  }
@@ -1362,7 +1362,7 @@ function Up() {
1362
1362
  }
1363
1363
  };
1364
1364
  }
1365
- var ei = {
1365
+ var ti = {
1366
1366
  notify: function() {
1367
1367
  },
1368
1368
  get: function() {
@@ -1370,7 +1370,7 @@ var ei = {
1370
1370
  }
1371
1371
  };
1372
1372
  function dl(e, t) {
1373
- var r, n = ei;
1373
+ var r, n = ti;
1374
1374
  function a(p) {
1375
1375
  return c(), n.subscribe(p);
1376
1376
  }
@@ -1387,7 +1387,7 @@ function dl(e, t) {
1387
1387
  r || (r = t ? t.addNestedSub(s) : e.subscribe(s), n = Up());
1388
1388
  }
1389
1389
  function u() {
1390
- r && (r(), r = void 0, n.clear(), n = ei);
1390
+ r && (r(), r = void 0, n.clear(), n = ti);
1391
1391
  }
1392
1392
  var d = {
1393
1393
  addNestedSub: a,
@@ -1402,7 +1402,7 @@ function dl(e, t) {
1402
1402
  };
1403
1403
  return d;
1404
1404
  }
1405
- var ul = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u" ? Va : H;
1405
+ var ul = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u" ? $a : H;
1406
1406
  function pl(e) {
1407
1407
  var t = e.store, r = e.context, n = e.children, a = R(function() {
1408
1408
  var l = dl(t);
@@ -1419,7 +1419,7 @@ function pl(e) {
1419
1419
  l.tryUnsubscribe(), l.onStateChange = null;
1420
1420
  };
1421
1421
  }, [a, i]);
1422
- var s = r || qa;
1422
+ var s = r || Ya;
1423
1423
  return /* @__PURE__ */ le.createElement(s.Provider, {
1424
1424
  value: a
1425
1425
  }, n);
@@ -1433,7 +1433,7 @@ process.env.NODE_ENV !== "production" && (pl.propTypes = {
1433
1433
  context: ft.object,
1434
1434
  children: ft.any
1435
1435
  });
1436
- var Ya = hd(), Wp = {
1436
+ var Ka = hd(), Wp = {
1437
1437
  childContextTypes: !0,
1438
1438
  contextType: !0,
1439
1439
  contextTypes: !0,
@@ -1466,22 +1466,22 @@ var Ya = hd(), Wp = {
1466
1466
  displayName: !0,
1467
1467
  propTypes: !0,
1468
1468
  type: !0
1469
- }, Ka = {};
1470
- Ka[Ya.ForwardRef] = zp;
1471
- Ka[Ya.Memo] = fl;
1472
- function ti(e) {
1473
- return Ya.isMemo(e) ? fl : Ka[e.$$typeof] || Wp;
1469
+ }, Xa = {};
1470
+ Xa[Ka.ForwardRef] = zp;
1471
+ Xa[Ka.Memo] = fl;
1472
+ function ri(e) {
1473
+ return Ka.isMemo(e) ? fl : Xa[e.$$typeof] || Wp;
1474
1474
  }
1475
- var qp = Object.defineProperty, Yp = Object.getOwnPropertyNames, ri = Object.getOwnPropertySymbols, Kp = Object.getOwnPropertyDescriptor, Xp = Object.getPrototypeOf, ni = Object.prototype;
1475
+ var qp = Object.defineProperty, Yp = Object.getOwnPropertyNames, ni = Object.getOwnPropertySymbols, Kp = Object.getOwnPropertyDescriptor, Xp = Object.getPrototypeOf, ai = Object.prototype;
1476
1476
  function ml(e, t, r) {
1477
1477
  if (typeof t != "string") {
1478
- if (ni) {
1478
+ if (ai) {
1479
1479
  var n = Xp(t);
1480
- n && n !== ni && ml(e, n, r);
1480
+ n && n !== ai && ml(e, n, r);
1481
1481
  }
1482
1482
  var a = Yp(t);
1483
- ri && (a = a.concat(ri(t)));
1484
- for (var i = ti(e), s = ti(t), l = 0; l < a.length; ++l) {
1483
+ ni && (a = a.concat(ni(t)));
1484
+ for (var i = ri(e), s = ri(t), l = 0; l < a.length; ++l) {
1485
1485
  var c = a[l];
1486
1486
  if (!Hp[c] && !(r && r[c]) && !(s && s[c]) && !(i && i[c])) {
1487
1487
  var u = Kp(t, c);
@@ -1495,7 +1495,7 @@ function ml(e, t, r) {
1495
1495
  return e;
1496
1496
  }
1497
1497
  var Qp = ml;
1498
- const ai = /* @__PURE__ */ bd(Qp);
1498
+ const oi = /* @__PURE__ */ bd(Qp);
1499
1499
  var wa = { exports: {} }, xe = {};
1500
1500
  /** @license React v17.0.2
1501
1501
  * react-is.production.min.js
@@ -1505,10 +1505,10 @@ var wa = { exports: {} }, xe = {};
1505
1505
  * This source code is licensed under the MIT license found in the
1506
1506
  * LICENSE file in the root directory of this source tree.
1507
1507
  */
1508
- var oi;
1508
+ var ii;
1509
1509
  function Jp() {
1510
- if (oi) return xe;
1511
- oi = 1;
1510
+ if (ii) return xe;
1511
+ ii = 1;
1512
1512
  var e = 60103, t = 60106, r = 60107, n = 60108, a = 60114, i = 60109, s = 60110, l = 60112, c = 60113, u = 60120, d = 60115, p = 60116, f = 60121, m = 60122, g = 60117, b = 60129, v = 60131;
1513
1513
  if (typeof Symbol == "function" && Symbol.for) {
1514
1514
  var h = Symbol.for;
@@ -1583,9 +1583,9 @@ var ye = {};
1583
1583
  * This source code is licensed under the MIT license found in the
1584
1584
  * LICENSE file in the root directory of this source tree.
1585
1585
  */
1586
- var ii;
1586
+ var si;
1587
1587
  function Zp() {
1588
- return ii || (ii = 1, process.env.NODE_ENV !== "production" && function() {
1588
+ return si || (si = 1, process.env.NODE_ENV !== "production" && function() {
1589
1589
  var e = 60103, t = 60106, r = 60107, n = 60108, a = 60114, i = 60109, s = 60110, l = 60112, c = 60113, u = 60120, d = 60115, p = 60116, f = 60121, m = 60122, g = 60117, b = 60129, v = 60131;
1590
1590
  if (typeof Symbol == "function" && Symbol.for) {
1591
1591
  var h = Symbol.for;
@@ -1670,7 +1670,7 @@ function Zp() {
1670
1670
  }()), ye;
1671
1671
  }
1672
1672
  process.env.NODE_ENV === "production" ? wa.exports = Jp() : wa.exports = Zp();
1673
- var si = wa.exports, ef = ["getDisplayName", "methodName", "renderCountProp", "shouldHandleStateChanges", "storeKey", "withRef", "forwardRef", "context"], tf = ["reactReduxForwardedRef"], rf = [], nf = [null, null], af = function(t) {
1673
+ var li = wa.exports, ef = ["getDisplayName", "methodName", "renderCountProp", "shouldHandleStateChanges", "storeKey", "withRef", "forwardRef", "context"], tf = ["reactReduxForwardedRef"], rf = [], nf = [null, null], af = function(t) {
1674
1674
  try {
1675
1675
  return JSON.stringify(t);
1676
1676
  } catch {
@@ -1681,7 +1681,7 @@ function of(e, t) {
1681
1681
  var r = e[1];
1682
1682
  return [t.payload, r + 1];
1683
1683
  }
1684
- function li(e, t, r) {
1684
+ function ci(e, t, r) {
1685
1685
  ul(function() {
1686
1686
  return e.apply(void 0, t);
1687
1687
  }, r);
@@ -1722,7 +1722,7 @@ function df(e, t) {
1722
1722
  t === void 0 && (t = {});
1723
1723
  var r = t, n = r.getDisplayName, a = n === void 0 ? function(C) {
1724
1724
  return "ConnectAdvanced(" + C + ")";
1725
- } : n, i = r.methodName, s = i === void 0 ? "connectAdvanced" : i, l = r.renderCountProp, c = l === void 0 ? void 0 : l, u = r.shouldHandleStateChanges, d = u === void 0 ? !0 : u, p = r.storeKey, f = p === void 0 ? "store" : p, m = r.withRef, g = m === void 0 ? !1 : m, b = r.forwardRef, v = b === void 0 ? !1 : b, h = r.context, w = h === void 0 ? qa : h, N = gn(r, ef);
1725
+ } : n, i = r.methodName, s = i === void 0 ? "connectAdvanced" : i, l = r.renderCountProp, c = l === void 0 ? void 0 : l, u = r.shouldHandleStateChanges, d = u === void 0 ? !0 : u, p = r.storeKey, f = p === void 0 ? "store" : p, m = r.withRef, g = m === void 0 ? !1 : m, b = r.forwardRef, v = b === void 0 ? !1 : b, h = r.context, w = h === void 0 ? Ya : h, N = gn(r, ef);
1726
1726
  if (process.env.NODE_ENV !== "production") {
1727
1727
  if (c !== void 0)
1728
1728
  throw new Error("renderCountProp is removed. render counting is built into the latest React Dev Tools profiling extension");
@@ -1734,7 +1734,7 @@ function df(e, t) {
1734
1734
  }
1735
1735
  var y = w;
1736
1736
  return function(E) {
1737
- if (process.env.NODE_ENV !== "production" && !si.isValidElementType(E))
1737
+ if (process.env.NODE_ENV !== "production" && !li.isValidElementType(E))
1738
1738
  throw new Error("You must pass a component to the function returned by " + (s + ". Instead received " + af(E)));
1739
1739
  var _ = E.displayName || E.name || "Component", S = a(_), O = ne({}, N, {
1740
1740
  getDisplayName: a,
@@ -1757,7 +1757,7 @@ function df(e, t) {
1757
1757
  var ce = F.reactReduxForwardedRef, Me = gn(F, tf);
1758
1758
  return [F.context, ce, Me];
1759
1759
  }, [F]), $ = Y[0], q = Y[1], X = Y[2], re = R(function() {
1760
- return $ && $.Consumer && si.isContextConsumer(/* @__PURE__ */ le.createElement($.Consumer, null)) ? $ : y;
1760
+ return $ && $.Consumer && li.isContextConsumer(/* @__PURE__ */ le.createElement($.Consumer, null)) ? $ : y;
1761
1761
  }, [$, y]), ie = W(re), se = !!F.store && !!F.store.getState && !!F.store.dispatch, be = !!ie && !!ie.store;
1762
1762
  if (process.env.NODE_ENV !== "production" && !se && !be)
1763
1763
  throw new Error('Could not find "store" in the context of ' + ('"' + S + '". Either wrap the root component in a <Provider>, ') + "or pass a custom React context provider to <Provider> and the corresponding " + ("React context consumer to " + S + " in connect options."));
@@ -1777,7 +1777,7 @@ function df(e, t) {
1777
1777
  var gt = Z(), K = Z(X), V = Z(), ee = Z(!1), ue = j(function() {
1778
1778
  return V.current && X === K.current ? V.current : ae(U.getState(), X);
1779
1779
  }, [U, Ge, X]);
1780
- li(sf, [K, gt, ee, X, ue, V, pe]), li(lf, [d, U, Se, ae, K, gt, ee, V, pe, Ke], [U, Se, ae]);
1780
+ ci(sf, [K, gt, ee, X, ue, V, pe]), ci(lf, [d, U, Se, ae, K, gt, ee, V, pe, Ke], [U, Se, ae]);
1781
1781
  var Ce = R(function() {
1782
1782
  return /* @__PURE__ */ le.createElement(E, ne({}, ue, {
1783
1783
  ref: q
@@ -1796,22 +1796,22 @@ function df(e, t) {
1796
1796
  reactReduxForwardedRef: $
1797
1797
  }));
1798
1798
  });
1799
- return L.displayName = S, L.WrappedComponent = E, ai(L, E);
1799
+ return L.displayName = S, L.WrappedComponent = E, oi(L, E);
1800
1800
  }
1801
- return ai(G, E);
1801
+ return oi(G, E);
1802
1802
  };
1803
1803
  }
1804
- function ci(e, t) {
1804
+ function di(e, t) {
1805
1805
  return e === t ? e !== 0 || t !== 0 || 1 / e === 1 / t : e !== e && t !== t;
1806
1806
  }
1807
1807
  function Hn(e, t) {
1808
- if (ci(e, t)) return !0;
1808
+ if (di(e, t)) return !0;
1809
1809
  if (typeof e != "object" || e === null || typeof t != "object" || t === null)
1810
1810
  return !1;
1811
1811
  var r = Object.keys(e), n = Object.keys(t);
1812
1812
  if (r.length !== n.length) return !1;
1813
1813
  for (var a = 0; a < r.length; a++)
1814
- if (!Object.prototype.hasOwnProperty.call(t, r[a]) || !ci(e[r[a]], t[r[a]]))
1814
+ if (!Object.prototype.hasOwnProperty.call(t, r[a]) || !di(e[r[a]], t[r[a]]))
1815
1815
  return !1;
1816
1816
  return !0;
1817
1817
  }
@@ -1844,7 +1844,7 @@ function gl(e) {
1844
1844
  function vl(e, t, r) {
1845
1845
  pf(e) || gl(r + "() in " + t + " must return a plain object. Instead received " + e + ".");
1846
1846
  }
1847
- function Xa(e) {
1847
+ function Qa(e) {
1848
1848
  return function(r, n) {
1849
1849
  var a = e(r, n);
1850
1850
  function i() {
@@ -1853,7 +1853,7 @@ function Xa(e) {
1853
1853
  return i.dependsOnOwnProps = !1, i;
1854
1854
  };
1855
1855
  }
1856
- function di(e) {
1856
+ function ui(e) {
1857
1857
  return e.dependsOnOwnProps !== null && e.dependsOnOwnProps !== void 0 ? !!e.dependsOnOwnProps : e.length !== 1;
1858
1858
  }
1859
1859
  function hl(e, t) {
@@ -1862,9 +1862,9 @@ function hl(e, t) {
1862
1862
  return s.dependsOnOwnProps ? s.mapToProps(c, u) : s.mapToProps(c);
1863
1863
  };
1864
1864
  return s.dependsOnOwnProps = !0, s.mapToProps = function(c, u) {
1865
- s.mapToProps = e, s.dependsOnOwnProps = di(e);
1865
+ s.mapToProps = e, s.dependsOnOwnProps = ui(e);
1866
1866
  var d = s(c, u);
1867
- return typeof d == "function" && (s.mapToProps = d, s.dependsOnOwnProps = di(d), d = s(c, u)), process.env.NODE_ENV !== "production" && vl(d, i, t), d;
1867
+ return typeof d == "function" && (s.mapToProps = d, s.dependsOnOwnProps = ui(d), d = s(c, u)), process.env.NODE_ENV !== "production" && vl(d, i, t), d;
1868
1868
  }, s;
1869
1869
  };
1870
1870
  }
@@ -1872,14 +1872,14 @@ function ff(e) {
1872
1872
  return typeof e == "function" ? hl(e, "mapDispatchToProps") : void 0;
1873
1873
  }
1874
1874
  function mf(e) {
1875
- return e ? void 0 : Xa(function(t) {
1875
+ return e ? void 0 : Qa(function(t) {
1876
1876
  return {
1877
1877
  dispatch: t
1878
1878
  };
1879
1879
  });
1880
1880
  }
1881
1881
  function gf(e) {
1882
- return e && typeof e == "object" ? Xa(function(t) {
1882
+ return e && typeof e == "object" ? Qa(function(t) {
1883
1883
  return uf(e, t);
1884
1884
  }) : void 0;
1885
1885
  }
@@ -1888,7 +1888,7 @@ function hf(e) {
1888
1888
  return typeof e == "function" ? hl(e, "mapStateToProps") : void 0;
1889
1889
  }
1890
1890
  function bf(e) {
1891
- return e ? void 0 : Xa(function() {
1891
+ return e ? void 0 : Qa(function() {
1892
1892
  return {};
1893
1893
  });
1894
1894
  }
@@ -2026,7 +2026,7 @@ function Rf(e, t) {
2026
2026
  }, t);
2027
2027
  }
2028
2028
  var fe = xl, J = Rf, kf = process.env.NODE_ENV === "production", Yn = "Invariant failed";
2029
- function ui(e, t) {
2029
+ function pi(e, t) {
2030
2030
  if (kf)
2031
2031
  throw new Error(Yn);
2032
2032
  var r = typeof t == "function" ? t() : t, n = r ? "".concat(Yn, ": ").concat(r) : Yn;
@@ -2048,14 +2048,14 @@ var lt = function(t) {
2048
2048
  }
2049
2049
  };
2050
2050
  return c;
2051
- }, Qa = function(t, r) {
2051
+ }, Ja = function(t, r) {
2052
2052
  return {
2053
2053
  top: t.top - r.top,
2054
2054
  left: t.left - r.left,
2055
2055
  bottom: t.bottom + r.bottom,
2056
2056
  right: t.right + r.right
2057
2057
  };
2058
- }, pi = function(t, r) {
2058
+ }, fi = function(t, r) {
2059
2059
  return {
2060
2060
  top: t.top + r.top,
2061
2061
  left: t.left + r.left,
@@ -2074,8 +2074,8 @@ var lt = function(t) {
2074
2074
  right: 0,
2075
2075
  bottom: 0,
2076
2076
  left: 0
2077
- }, Ja = function(t) {
2078
- var r = t.borderBox, n = t.margin, a = n === void 0 ? Kn : n, i = t.border, s = i === void 0 ? Kn : i, l = t.padding, c = l === void 0 ? Kn : l, u = lt(Qa(r, a)), d = lt(pi(r, s)), p = lt(pi(d, c));
2077
+ }, Za = function(t) {
2078
+ var r = t.borderBox, n = t.margin, a = n === void 0 ? Kn : n, i = t.border, s = i === void 0 ? Kn : i, l = t.padding, c = l === void 0 ? Kn : l, u = lt(Ja(r, a)), d = lt(fi(r, s)), p = lt(fi(d, c));
2079
2079
  return {
2080
2080
  marginBox: u,
2081
2081
  borderBox: lt(r),
@@ -2090,7 +2090,7 @@ var lt = function(t) {
2090
2090
  if (n !== "px")
2091
2091
  return 0;
2092
2092
  var a = Number(r);
2093
- return isNaN(a) && (process.env.NODE_ENV !== "production" ? ui(!1, "Could not parse value [raw: " + t + ", without suffix: " + r + "]") : ui()), a;
2093
+ return isNaN(a) && (process.env.NODE_ENV !== "production" ? pi(!1, "Could not parse value [raw: " + t + ", without suffix: " + r + "]") : pi()), a;
2094
2094
  }, Lf = function() {
2095
2095
  return {
2096
2096
  x: window.pageXOffset,
@@ -2098,7 +2098,7 @@ var lt = function(t) {
2098
2098
  };
2099
2099
  }, yn = function(t, r) {
2100
2100
  var n = t.borderBox, a = t.border, i = t.margin, s = t.padding, l = Bf(n, r);
2101
- return Ja({
2101
+ return Za({
2102
2102
  borderBox: l,
2103
2103
  border: a,
2104
2104
  margin: i,
@@ -2123,7 +2123,7 @@ var lt = function(t) {
2123
2123
  bottom: Qe(r.borderBottomWidth),
2124
2124
  left: Qe(r.borderLeftWidth)
2125
2125
  };
2126
- return Ja({
2126
+ return Za({
2127
2127
  borderBox: t,
2128
2128
  margin: n,
2129
2129
  padding: a,
@@ -2132,11 +2132,11 @@ var lt = function(t) {
2132
2132
  }, wl = function(t) {
2133
2133
  var r = t.getBoundingClientRect(), n = window.getComputedStyle(t);
2134
2134
  return yl(r, n);
2135
- }, fi = Number.isNaN || function(t) {
2135
+ }, mi = Number.isNaN || function(t) {
2136
2136
  return typeof t == "number" && t !== t;
2137
2137
  };
2138
2138
  function Mf(e, t) {
2139
- return !!(e === t || fi(e) && fi(t));
2139
+ return !!(e === t || mi(e) && mi(t));
2140
2140
  }
2141
2141
  function Ff(e, t) {
2142
2142
  if (e.length !== t.length)
@@ -2167,13 +2167,13 @@ var Ar = function(t) {
2167
2167
  return a.cancel = function() {
2168
2168
  n && (cancelAnimationFrame(n), n = null);
2169
2169
  }, a;
2170
- }, Vf = process.env.NODE_ENV === "production", $f = /[ \t]{2,}/g, Gf = /^[ \t]*/gm, mi = function(t) {
2170
+ }, Vf = process.env.NODE_ENV === "production", $f = /[ \t]{2,}/g, Gf = /^[ \t]*/gm, gi = function(t) {
2171
2171
  return t.replace($f, " ").replace(Gf, "").trim();
2172
2172
  }, Uf = function(t) {
2173
- return mi(`
2173
+ return gi(`
2174
2174
  %creact-beautiful-dnd
2175
2175
 
2176
- %c` + mi(t) + `
2176
+ %c` + gi(t) + `
2177
2177
 
2178
2178
  %c👷‍ This is a development only message. It will be removed in production builds.
2179
2179
  `);
@@ -2203,7 +2203,7 @@ function Ze(e, t, r) {
2203
2203
  });
2204
2204
  };
2205
2205
  }
2206
- var qf = process.env.NODE_ENV === "production", gi = "Invariant failed";
2206
+ var qf = process.env.NODE_ENV === "production", vi = "Invariant failed";
2207
2207
  function Rr(e) {
2208
2208
  this.message = e;
2209
2209
  }
@@ -2211,10 +2211,10 @@ Rr.prototype.toString = function() {
2211
2211
  return this.message;
2212
2212
  };
2213
2213
  function D(e, t) {
2214
- throw qf ? new Rr(gi) : new Rr(gi + ": " + (t || ""));
2214
+ throw qf ? new Rr(vi) : new Rr(vi + ": " + (t || ""));
2215
2215
  }
2216
2216
  var Yf = function(e) {
2217
- js(t, e);
2217
+ Ds(t, e);
2218
2218
  function t() {
2219
2219
  for (var n, a = arguments.length, i = new Array(a), s = 0; s < a; s++)
2220
2220
  i[s] = arguments[s];
@@ -2288,7 +2288,7 @@ var Yf = function(e) {
2288
2288
  return jl(t.source, r);
2289
2289
  var n = t.combine;
2290
2290
  return n ? Dl(t.draggableId, t.source, n) : "You are over an area that cannot be dropped on";
2291
- }, vi = function(t) {
2291
+ }, hi = function(t) {
2292
2292
  return `
2293
2293
  The item has returned to its starting position
2294
2294
  of ` + Nn(t.index) + `
@@ -2297,7 +2297,7 @@ var Yf = function(e) {
2297
2297
  if (t.reason === "CANCEL")
2298
2298
  return `
2299
2299
  Movement cancelled.
2300
- ` + vi(t.source) + `
2300
+ ` + hi(t.source) + `
2301
2301
  `;
2302
2302
  var r = t.destination, n = t.combine;
2303
2303
  return r ? `
@@ -2308,7 +2308,7 @@ var Yf = function(e) {
2308
2308
  ` + Dl(t.draggableId, t.source, n) + `
2309
2309
  ` : `
2310
2310
  The item has been dropped while not over a drop area.
2311
- ` + vi(t.source) + `
2311
+ ` + hi(t.source) + `
2312
2312
  `;
2313
2313
  }, fn = {
2314
2314
  dragHandleUsageInstructions: Kf,
@@ -2340,7 +2340,7 @@ var Yf = function(e) {
2340
2340
  return n === void 0 && (n = 0), a = {}, a[t] = r, a[t === "x" ? "y" : "x"] = n, a;
2341
2341
  }, kr = function(t, r) {
2342
2342
  return Math.sqrt(Math.pow(r.x - t.x, 2) + Math.pow(r.y - t.y, 2));
2343
- }, hi = function(t, r) {
2343
+ }, bi = function(t, r) {
2344
2344
  return Math.min.apply(Math, r.map(function(n) {
2345
2345
  return kr(t, n);
2346
2346
  }));
@@ -2366,7 +2366,7 @@ var Yf = function(e) {
2366
2366
  bottom: t.bottom + r.y,
2367
2367
  right: t.right + r.x
2368
2368
  };
2369
- }, bi = function(t) {
2369
+ }, xi = function(t) {
2370
2370
  return [{
2371
2371
  x: t.left,
2372
2372
  y: t.top
@@ -2402,7 +2402,7 @@ var Yf = function(e) {
2402
2402
  withPlaceholder: r,
2403
2403
  active: l
2404
2404
  };
2405
- }, Za = function(e, t) {
2405
+ }, eo = function(e, t) {
2406
2406
  e.frame || (process.env.NODE_ENV, D());
2407
2407
  var r = e.frame, n = He(t, r.scroll.initial), a = pr(n), i = ne({}, r, {
2408
2408
  scroll: {
@@ -2433,7 +2433,7 @@ function jn(e) {
2433
2433
  return e[t];
2434
2434
  });
2435
2435
  }
2436
- function eo(e, t) {
2436
+ function to(e, t) {
2437
2437
  if (e.findIndex)
2438
2438
  return e.findIndex(t);
2439
2439
  for (var r = 0; r < e.length; r++)
@@ -2444,7 +2444,7 @@ function eo(e, t) {
2444
2444
  function kt(e, t) {
2445
2445
  if (e.find)
2446
2446
  return e.find(t);
2447
- var r = eo(e, t);
2447
+ var r = to(e, t);
2448
2448
  if (r !== -1)
2449
2449
  return e[r];
2450
2450
  }
@@ -2471,7 +2471,7 @@ var El = ke(function(e) {
2471
2471
  });
2472
2472
  return r;
2473
2473
  });
2474
- function to(e) {
2474
+ function ro(e) {
2475
2475
  return e.at && e.at.type === "REORDER" ? e.at.destination : null;
2476
2476
  }
2477
2477
  function Tn(e) {
@@ -2485,7 +2485,7 @@ var An = ke(function(e, t) {
2485
2485
  var t = e.isMovingForward, r = e.draggable, n = e.destination, a = e.insideDestination, i = e.previousImpact;
2486
2486
  if (!n.isCombineEnabled)
2487
2487
  return null;
2488
- var s = to(i);
2488
+ var s = ro(i);
2489
2489
  if (!s)
2490
2490
  return null;
2491
2491
  function l(b) {
@@ -2510,7 +2510,7 @@ var An = ke(function(e, t) {
2510
2510
  var p = d[d.length - 1];
2511
2511
  return l(p.descriptor.id);
2512
2512
  }
2513
- var f = eo(d, function(b) {
2513
+ var f = to(d, function(b) {
2514
2514
  return b.descriptor.id === u;
2515
2515
  });
2516
2516
  f === -1 && (process.env.NODE_ENV !== "production" ? D(!1, "Could not find displaced item in set") : D());
@@ -2557,7 +2557,7 @@ var An = ke(function(e, t) {
2557
2557
  var a = t(n.top) && t(n.bottom) && r(n.left) && r(n.right);
2558
2558
  return a;
2559
2559
  };
2560
- }, ro = {
2560
+ }, no = {
2561
2561
  direction: "vertical",
2562
2562
  line: "y",
2563
2563
  crossAxisLine: "x",
@@ -2581,7 +2581,7 @@ var An = ke(function(e, t) {
2581
2581
  return function(t) {
2582
2582
  var r = tt(t.top, t.bottom), n = tt(t.left, t.right);
2583
2583
  return function(a) {
2584
- return e === ro ? r(a.top) && r(a.bottom) : n(a.left) && n(a.right);
2584
+ return e === no ? r(a.top) && r(a.bottom) : n(a.left) && n(a.right);
2585
2585
  };
2586
2586
  };
2587
2587
  }, dm = function(t, r) {
@@ -2591,19 +2591,19 @@ var An = ke(function(e, t) {
2591
2591
  return r.subject.active ? n(r.subject.active)(t) : !1;
2592
2592
  }, pm = function(t, r, n) {
2593
2593
  return n(r)(t);
2594
- }, no = function(t) {
2594
+ }, ao = function(t) {
2595
2595
  var r = t.target, n = t.destination, a = t.viewport, i = t.withDroppableDisplacement, s = t.isVisibleThroughFrameFn, l = i ? dm(r, n) : r;
2596
2596
  return um(l, n, s) && pm(l, a, s);
2597
2597
  }, fm = function(t) {
2598
- return no(ne({}, t, {
2598
+ return ao(ne({}, t, {
2599
2599
  isVisibleThroughFrameFn: Ol
2600
2600
  }));
2601
2601
  }, Tl = function(t) {
2602
- return no(ne({}, t, {
2602
+ return ao(ne({}, t, {
2603
2603
  isVisibleThroughFrameFn: lm
2604
2604
  }));
2605
2605
  }, mm = function(t) {
2606
- return no(ne({}, t, {
2606
+ return ao(ne({}, t, {
2607
2607
  isVisibleThroughFrameFn: cm(t.destination.axis)
2608
2608
  }));
2609
2609
  }, gm = function(t, r, n) {
@@ -2624,7 +2624,7 @@ function vm(e, t) {
2624
2624
  bottom: 0,
2625
2625
  left: t.point.x
2626
2626
  };
2627
- return lt(Qa(r, n));
2627
+ return lt(Ja(r, n));
2628
2628
  }
2629
2629
  function Lr(e) {
2630
2630
  var t = e.afterDragging, r = e.destination, n = e.displacedBy, a = e.viewport, i = e.forceShouldAnimate, s = e.last;
@@ -2656,7 +2656,7 @@ function hm(e, t) {
2656
2656
  var r = e[e.length - 1].descriptor.index;
2657
2657
  return t.inHomeList ? r : r + 1;
2658
2658
  }
2659
- function xi(e) {
2659
+ function yi(e) {
2660
2660
  var t = e.insideDestination, r = e.inHomeList, n = e.displacedBy, a = e.destination, i = hm(t, {
2661
2661
  inHomeList: r
2662
2662
  });
@@ -2675,7 +2675,7 @@ function xi(e) {
2675
2675
  function Dn(e) {
2676
2676
  var t = e.draggable, r = e.insideDestination, n = e.destination, a = e.viewport, i = e.displacedBy, s = e.last, l = e.index, c = e.forceShouldAnimate, u = fr(t, n);
2677
2677
  if (l == null)
2678
- return xi({
2678
+ return yi({
2679
2679
  insideDestination: r,
2680
2680
  inHomeList: u,
2681
2681
  displacedBy: i,
@@ -2685,7 +2685,7 @@ function Dn(e) {
2685
2685
  return b.descriptor.index === l;
2686
2686
  });
2687
2687
  if (!d)
2688
- return xi({
2688
+ return yi({
2689
2689
  insideDestination: r,
2690
2690
  inHomeList: u,
2691
2691
  displacedBy: i,
@@ -2779,17 +2779,17 @@ var bm = function(e) {
2779
2779
  return r.margin[t.start] + r.borderBox[t.size] / 2;
2780
2780
  }, jm = function(t, r) {
2781
2781
  return r.margin[t.end] + r.borderBox[t.size] / 2;
2782
- }, ao = function(t, r, n) {
2782
+ }, oo = function(t, r, n) {
2783
2783
  return r[t.crossAxisStart] + n.margin[t.crossAxisStart] + n.borderBox[t.crossAxisSize] / 2;
2784
- }, yi = function(t) {
2785
- var r = t.axis, n = t.moveRelativeTo, a = t.isMoving;
2786
- return qt(r.line, n.marginBox[r.end] + Al(r, a), ao(r, n.marginBox, a));
2787
2784
  }, wi = function(t) {
2788
2785
  var r = t.axis, n = t.moveRelativeTo, a = t.isMoving;
2789
- return qt(r.line, n.marginBox[r.start] - jm(r, a), ao(r, n.marginBox, a));
2786
+ return qt(r.line, n.marginBox[r.end] + Al(r, a), oo(r, n.marginBox, a));
2787
+ }, Ni = function(t) {
2788
+ var r = t.axis, n = t.moveRelativeTo, a = t.isMoving;
2789
+ return qt(r.line, n.marginBox[r.start] - jm(r, a), oo(r, n.marginBox, a));
2790
2790
  }, Dm = function(t) {
2791
2791
  var r = t.axis, n = t.moveInto, a = t.isMoving;
2792
- return qt(r.line, n.contentBox[r.start] + Al(r, a), ao(r, n.contentBox, a));
2792
+ return qt(r.line, n.contentBox[r.start] + Al(r, a), oo(r, n.contentBox, a));
2793
2793
  }, Sm = function(e) {
2794
2794
  var t = e.impact, r = e.draggable, n = e.draggables, a = e.droppable, i = e.afterCritical, s = Kt(a.descriptor.id, n), l = r.page, c = a.axis;
2795
2795
  if (!s.length)
@@ -2802,13 +2802,13 @@ var bm = function(e) {
2802
2802
  if (p) {
2803
2803
  var f = n[p];
2804
2804
  if (Ot(p, i))
2805
- return wi({
2805
+ return Ni({
2806
2806
  axis: c,
2807
2807
  moveRelativeTo: f.page,
2808
2808
  isMoving: l
2809
2809
  });
2810
2810
  var m = yn(f.page, d.point);
2811
- return wi({
2811
+ return Ni({
2812
2812
  axis: c,
2813
2813
  moveRelativeTo: m,
2814
2814
  isMoving: l
@@ -2819,13 +2819,13 @@ var bm = function(e) {
2819
2819
  return l.borderBox.center;
2820
2820
  if (Ot(g.descriptor.id, i)) {
2821
2821
  var b = yn(g.page, pr(i.displacedBy.point));
2822
- return yi({
2822
+ return wi({
2823
2823
  axis: c,
2824
2824
  moveRelativeTo: b,
2825
2825
  isMoving: l
2826
2826
  });
2827
2827
  }
2828
- return yi({
2828
+ return wi({
2829
2829
  axis: c,
2830
2830
  moveRelativeTo: g.page,
2831
2831
  isMoving: l
@@ -2869,7 +2869,7 @@ var bm = function(e) {
2869
2869
  };
2870
2870
  return i;
2871
2871
  };
2872
- function Ni(e, t) {
2872
+ function ji(e, t) {
2873
2873
  return e.map(function(r) {
2874
2874
  return t[r];
2875
2875
  });
@@ -2883,15 +2883,15 @@ function Em(e, t) {
2883
2883
  return null;
2884
2884
  }
2885
2885
  var Im = function(e) {
2886
- var t = e.impact, r = e.viewport, n = e.destination, a = e.draggables, i = e.maxScrollChange, s = Rl(r, Le(r.scroll.current, i)), l = n.frame ? Za(n, Le(n.frame.scroll.current, i)) : n, c = t.displaced, u = Lr({
2887
- afterDragging: Ni(c.all, a),
2886
+ var t = e.impact, r = e.viewport, n = e.destination, a = e.draggables, i = e.maxScrollChange, s = Rl(r, Le(r.scroll.current, i)), l = n.frame ? eo(n, Le(n.frame.scroll.current, i)) : n, c = t.displaced, u = Lr({
2887
+ afterDragging: ji(c.all, a),
2888
2888
  destination: n,
2889
2889
  displacedBy: t.displacedBy,
2890
2890
  viewport: s.frame,
2891
2891
  last: c,
2892
2892
  forceShouldAnimate: !1
2893
2893
  }), d = Lr({
2894
- afterDragging: Ni(c.all, a),
2894
+ afterDragging: ji(c.all, a),
2895
2895
  destination: l,
2896
2896
  displacedBy: t.displacedBy,
2897
2897
  viewport: r.frame,
@@ -2916,7 +2916,7 @@ var Im = function(e) {
2916
2916
  return g;
2917
2917
  }, _m = function(e, t) {
2918
2918
  return Le(e.scroll.diff.displacement, t);
2919
- }, oo = function(e) {
2919
+ }, io = function(e) {
2920
2920
  var t = e.pageBorderBoxCenter, r = e.draggable, n = e.viewport, a = _m(n, t), i = He(a, r.page.borderBox.center);
2921
2921
  return Le(r.client.borderBox.center, i);
2922
2922
  }, kl = function(e) {
@@ -2965,7 +2965,7 @@ var Im = function(e) {
2965
2965
  onlyOnMainAxis: !0
2966
2966
  });
2967
2967
  if (g) {
2968
- var b = oo({
2968
+ var b = io({
2969
2969
  pageBorderBoxCenter: m,
2970
2970
  draggable: r,
2971
2971
  viewport: s
@@ -3026,10 +3026,10 @@ var Im = function(e) {
3026
3026
  return d.length === 1 ? d[0] : d.length > 1 ? d.sort(function(p, f) {
3027
3027
  return $e(p)[l.start] - $e(f)[l.start];
3028
3028
  })[0] : u.sort(function(p, f) {
3029
- var m = hi(r, bi($e(p))), g = hi(r, bi($e(f)));
3029
+ var m = bi(r, xi($e(p))), g = bi(r, xi($e(f)));
3030
3030
  return m !== g ? m - g : $e(p)[l.start] - $e(f)[l.start];
3031
3031
  })[0];
3032
- }, ji = function(t, r) {
3032
+ }, Di = function(t, r) {
3033
3033
  var n = t.page.borderBox.center;
3034
3034
  return Ot(t.descriptor.id, r) ? He(n, r.displacedBy.point) : n;
3035
3035
  }, Tm = function(t, r) {
@@ -3044,7 +3044,7 @@ var Im = function(e) {
3044
3044
  withDroppableDisplacement: !0
3045
3045
  });
3046
3046
  }).sort(function(l, c) {
3047
- var u = kr(t, ja(n, ji(l, i))), d = kr(t, ja(n, ji(c, i)));
3047
+ var u = kr(t, ja(n, Di(l, i))), d = kr(t, ja(n, Di(c, i)));
3048
3048
  return u < d ? -1 : d < u ? 1 : l.descriptor.index - c.descriptor.index;
3049
3049
  });
3050
3050
  return s[0] || null;
@@ -3202,7 +3202,7 @@ var Im = function(e) {
3202
3202
  droppable: u,
3203
3203
  draggables: i,
3204
3204
  afterCritical: c
3205
- }), g = oo({
3205
+ }), g = io({
3206
3206
  pageBorderBoxCenter: m,
3207
3207
  draggable: n,
3208
3208
  viewport: l
@@ -3371,7 +3371,7 @@ var Hm = function(e) {
3371
3371
  viewport: s,
3372
3372
  afterCritical: l
3373
3373
  });
3374
- }, io = function(e, t) {
3374
+ }, so = function(e, t) {
3375
3375
  var r;
3376
3376
  return ne({}, e, (r = {}, r[t.descriptor.id] = t, r));
3377
3377
  }, Ym = function(t) {
@@ -3382,7 +3382,7 @@ var Hm = function(e) {
3382
3382
  if (!l.subject.withPlaceholder)
3383
3383
  return a;
3384
3384
  var c = km(l);
3385
- return io(a, c);
3385
+ return so(a, c);
3386
3386
  }, Km = function(e) {
3387
3387
  var t = e.draggable, r = e.draggables, n = e.droppables, a = e.previousImpact, i = e.impact, s = Ym({
3388
3388
  previousImpact: a,
@@ -3395,7 +3395,7 @@ var Hm = function(e) {
3395
3395
  if (fr(t, c) || c.subject.withPlaceholder)
3396
3396
  return s;
3397
3397
  var u = Ll(c, t, r);
3398
- return io(s, u);
3398
+ return so(s, u);
3399
3399
  }, Er = function(e) {
3400
3400
  var t = e.state, r = e.clientSelection, n = e.dimensions, a = e.viewport, i = e.impact, s = e.scrollJumpRequest, l = a || t.viewport, c = n || t.dimensions, u = r || t.current.client.selection, d = He(u, t.initial.client.selection), p = {
3401
3401
  offset: d,
@@ -3469,7 +3469,7 @@ var Gl = function(e) {
3469
3469
  droppable: n,
3470
3470
  afterCritical: s
3471
3471
  });
3472
- return oo({
3472
+ return io({
3473
3473
  pageBorderBoxCenter: l,
3474
3474
  draggable: r,
3475
3475
  viewport: i
@@ -3535,7 +3535,7 @@ var Gl = function(e) {
3535
3535
  }, Jm = function(e, t) {
3536
3536
  return {
3537
3537
  draggables: e.draggables,
3538
- droppables: io(e.droppables, t)
3538
+ droppables: so(e.droppables, t)
3539
3539
  };
3540
3540
  }, zr = function(t) {
3541
3541
  process.env.NODE_ENV;
@@ -3567,7 +3567,7 @@ var Gl = function(e) {
3567
3567
  var t = e.state, r = e.published;
3568
3568
  zr();
3569
3569
  var n = r.modified.map(function(N) {
3570
- var x = t.dimensions.droppables[N.droppableId], y = Za(x, N.scroll);
3570
+ var x = t.dimensions.droppables[N.droppableId], y = eo(x, N.scroll);
3571
3571
  return y;
3572
3572
  }), a = ne({}, t.dimensions.droppables, {}, El(n)), i = Il(tg({
3573
3573
  additions: r.additions,
@@ -3634,13 +3634,13 @@ function Qn(e) {
3634
3634
  scrollJumpRequest: null
3635
3635
  }) : e;
3636
3636
  }
3637
- var Di = {
3637
+ var Si = {
3638
3638
  phase: "IDLE",
3639
3639
  completed: null,
3640
3640
  shouldFlush: !1
3641
3641
  }, ng = function(e, t) {
3642
- if (e === void 0 && (e = Di), t.type === "FLUSH")
3643
- return ne({}, Di, {
3642
+ if (e === void 0 && (e = Si), t.type === "FLUSH")
3643
+ return ne({}, Si, {
3644
3644
  shouldFlush: !0
3645
3645
  });
3646
3646
  if (t.type === "INITIAL_PUBLISH") {
@@ -3715,7 +3715,7 @@ var Di = {
3715
3715
  var N = t.payload, x = N.id, y = N.newScroll, C = e.dimensions.droppables[x];
3716
3716
  if (!C)
3717
3717
  return e;
3718
- var E = Za(C, y);
3718
+ var E = eo(C, y);
3719
3719
  return Xn(e, E, !1);
3720
3720
  }
3721
3721
  if (t.type === "UPDATE_DROPPABLE_IS_ENABLED") {
@@ -3898,7 +3898,7 @@ var Di = {
3898
3898
  type: "MOVE_LEFT",
3899
3899
  payload: null
3900
3900
  };
3901
- }, so = function() {
3901
+ }, lo = function() {
3902
3902
  return {
3903
3903
  type: "FLUSH",
3904
3904
  payload: null
@@ -3908,7 +3908,7 @@ var Di = {
3908
3908
  type: "DROP_ANIMATE",
3909
3909
  payload: t
3910
3910
  };
3911
- }, lo = function(t) {
3911
+ }, co = function(t) {
3912
3912
  return {
3913
3913
  type: "DROP_COMPLETE",
3914
3914
  payload: t
@@ -3968,9 +3968,9 @@ var Ng = function(e) {
3968
3968
  return;
3969
3969
  }
3970
3970
  var s = i.payload, l = s.id, c = s.clientSelection, u = s.movementMode, d = r();
3971
- d.phase === "DROP_ANIMATING" && n(lo({
3971
+ d.phase === "DROP_ANIMATING" && n(co({
3972
3972
  completed: d.completed
3973
- })), r().phase !== "IDLE" && (process.env.NODE_ENV !== "production" ? D(!1, "Unexpected phase to start a drag") : D()), n(so()), n(ag({
3973
+ })), r().phase !== "IDLE" && (process.env.NODE_ENV !== "production" ? D(!1, "Unexpected phase to start a drag") : D()), n(lo()), n(ag({
3974
3974
  draggableId: l,
3975
3975
  movementMode: u
3976
3976
  }));
@@ -3998,7 +3998,7 @@ var Ng = function(e) {
3998
3998
  };
3999
3999
  };
4000
4000
  };
4001
- }, co = {
4001
+ }, uo = {
4002
4002
  outOfTheWay: "cubic-bezier(0.2, 0, 0, 1)",
4003
4003
  drop: "cubic-bezier(.2,1,.1,1)"
4004
4004
  }, Mr = {
@@ -4009,34 +4009,34 @@ var Ng = function(e) {
4009
4009
  scale: {
4010
4010
  drop: 0.75
4011
4011
  }
4012
- }, uo = {
4012
+ }, po = {
4013
4013
  outOfTheWay: 0.2,
4014
4014
  minDropTime: 0.33,
4015
4015
  maxDropTime: 0.55
4016
- }, Lt = uo.outOfTheWay + "s " + co.outOfTheWay, Ir = {
4016
+ }, Lt = po.outOfTheWay + "s " + uo.outOfTheWay, Ir = {
4017
4017
  fluid: "opacity " + Lt,
4018
4018
  snap: "transform " + Lt + ", opacity " + Lt,
4019
4019
  drop: function(t) {
4020
- var r = t + "s " + co.drop;
4020
+ var r = t + "s " + uo.drop;
4021
4021
  return "transform " + r + ", opacity " + r;
4022
4022
  },
4023
4023
  outOfTheWay: "transform " + Lt,
4024
4024
  placeholder: "height " + Lt + ", width " + Lt + ", margin " + Lt
4025
- }, Si = function(t) {
4025
+ }, Ci = function(t) {
4026
4026
  return It(t, Be) ? null : "translate(" + t.x + "px, " + t.y + "px)";
4027
4027
  }, Sa = {
4028
- moveTo: Si,
4028
+ moveTo: Ci,
4029
4029
  drop: function(t, r) {
4030
- var n = Si(t);
4030
+ var n = Ci(t);
4031
4031
  return n ? r ? n + " scale(" + Mr.scale.drop + ")" : n : null;
4032
4032
  }
4033
- }, Ca = uo.minDropTime, Kl = uo.maxDropTime, Dg = Kl - Ca, Ci = 1500, Sg = 0.6, Cg = function(e) {
4033
+ }, Ca = po.minDropTime, Kl = po.maxDropTime, Dg = Kl - Ca, Ei = 1500, Sg = 0.6, Cg = function(e) {
4034
4034
  var t = e.current, r = e.destination, n = e.reason, a = kr(t, r);
4035
4035
  if (a <= 0)
4036
4036
  return Ca;
4037
- if (a >= Ci)
4037
+ if (a >= Ei)
4038
4038
  return Kl;
4039
- var i = a / Ci, s = Ca + Dg * i, l = n === "CANCEL" ? s * Sg : s;
4039
+ var i = a / Ei, s = Ca + Dg * i, l = n === "CANCEL" ? s * Sg : s;
4040
4040
  return Number(l.toFixed(2));
4041
4041
  }, Eg = function(e) {
4042
4042
  var t = e.impact, r = e.draggable, n = e.dimensions, a = e.viewport, i = e.afterCritical, s = n.draggables, l = n.droppables, c = ze(t), u = c ? l[c] : null, d = l[r.descriptor.droppableId], p = Ul({
@@ -4101,7 +4101,7 @@ var Ng = function(e) {
4101
4101
  home: i.dimensions.droppables[i.critical.droppable.id],
4102
4102
  viewport: i.viewport,
4103
4103
  draggables: i.dimensions.draggables
4104
- }), f = p.impact, m = p.didDropInsideDroppable, g = m ? to(f) : null, b = m ? Tn(f) : null, v = {
4104
+ }), f = p.impact, m = p.didDropInsideDroppable, g = m ? ro(f) : null, b = m ? Tn(f) : null, v = {
4105
4105
  index: c.draggable.index,
4106
4106
  droppableId: c.droppable.id
4107
4107
  }, h = {
@@ -4125,7 +4125,7 @@ var Ng = function(e) {
4125
4125
  impact: f
4126
4126
  }, x = !It(i.current.client.offset, w) || !!h.combine;
4127
4127
  if (!x) {
4128
- r(lo({
4128
+ r(co({
4129
4129
  completed: N
4130
4130
  }));
4131
4131
  return;
@@ -4219,7 +4219,7 @@ var Tg = function(t) {
4219
4219
  }, a;
4220
4220
  }, kg = function() {
4221
4221
  var e = [], t = function(i) {
4222
- var s = eo(e, function(u) {
4222
+ var s = to(e, function(u) {
4223
4223
  return u.timerId === i;
4224
4224
  });
4225
4225
  s === -1 && (process.env.NODE_ENV !== "production" ? D(!1, "Could not find timer") : D());
@@ -4306,7 +4306,7 @@ var Tg = function(t) {
4306
4306
  });
4307
4307
  });
4308
4308
  }, l = function(f, m) {
4309
- var g = to(m), b = Tn(m);
4309
+ var g = ro(m), b = Tn(m);
4310
4310
  n || (process.env.NODE_ENV !== "production" ? D(!1, "Cannot fire onDragMove when onDragStart has not been called") : D());
4311
4311
  var v = !Mg(f, n.lastCritical);
4312
4312
  v && (n.lastCritical = f);
@@ -4385,7 +4385,7 @@ var Tg = function(t) {
4385
4385
  return;
4386
4386
  }
4387
4387
  var n = e.getState();
4388
- n.phase !== "DROP_ANIMATING" && (process.env.NODE_ENV !== "production" ? D(!1, "Cannot finish a drop animating when no drop is occurring") : D()), e.dispatch(lo({
4388
+ n.phase !== "DROP_ANIMATING" && (process.env.NODE_ENV !== "production" ? D(!1, "Cannot finish a drop animating when no drop is occurring") : D()), e.dispatch(co({
4389
4389
  completed: n.completed
4390
4390
  }));
4391
4391
  };
@@ -4587,7 +4587,7 @@ var Ql = function(e) {
4587
4587
  };
4588
4588
  return d;
4589
4589
  };
4590
- function Ei(e, t, r) {
4590
+ function Ii(e, t, r) {
4591
4591
  if (r.descriptor.id === t.id || r.descriptor.type !== t.type)
4592
4592
  return !1;
4593
4593
  var n = e.droppable.getById(r.descriptor.droppableId);
@@ -4633,7 +4633,7 @@ var Zg = function(e, t) {
4633
4633
  }, u = function(m) {
4634
4634
  r || (process.env.NODE_ENV !== "production" ? D(!1, "Should only be subscribed when a collection is occurring") : D());
4635
4635
  var g = r.critical.draggable;
4636
- m.type === "ADDITION" && Ei(e, g, m.value) && n.add(m.value), m.type === "REMOVAL" && Ei(e, g, m.value) && n.remove(m.value);
4636
+ m.type === "ADDITION" && Ii(e, g, m.value) && n.add(m.value), m.type === "REMOVAL" && Ii(e, g, m.value) && n.remove(m.value);
4637
4637
  }, d = function(m) {
4638
4638
  r && (process.env.NODE_ENV !== "production" ? D(!1, "Cannot start capturing critical dimensions as there is already a collection") : D());
4639
4639
  var g = e.draggable.getById(m.draggableId), b = e.droppable.getById(g.descriptor.droppableId), v = {
@@ -4705,42 +4705,42 @@ var Zg = function(e, t) {
4705
4705
  `), 0;
4706
4706
  var i = n - t, s = i / a;
4707
4707
  return s;
4708
- }, po = 1, ov = function(e, t) {
4708
+ }, fo = 1, ov = function(e, t) {
4709
4709
  if (e > t.startScrollingFrom)
4710
4710
  return 0;
4711
4711
  if (e <= t.maxScrollValueAt)
4712
4712
  return _t.maxPixelScroll;
4713
4713
  if (e === t.startScrollingFrom)
4714
- return po;
4714
+ return fo;
4715
4715
  var r = tc({
4716
4716
  startOfRange: t.maxScrollValueAt,
4717
4717
  endOfRange: t.startScrollingFrom,
4718
4718
  current: e
4719
4719
  }), n = 1 - r, a = _t.maxPixelScroll * _t.ease(n);
4720
4720
  return Math.ceil(a);
4721
- }, Ii = _t.durationDampening.accelerateAt, _i = _t.durationDampening.stopDampeningAt, iv = function(e, t) {
4722
- var r = t, n = _i, a = Date.now(), i = a - r;
4723
- if (i >= _i)
4721
+ }, _i = _t.durationDampening.accelerateAt, Oi = _t.durationDampening.stopDampeningAt, iv = function(e, t) {
4722
+ var r = t, n = Oi, a = Date.now(), i = a - r;
4723
+ if (i >= Oi)
4724
4724
  return e;
4725
- if (i < Ii)
4726
- return po;
4725
+ if (i < _i)
4726
+ return fo;
4727
4727
  var s = tc({
4728
- startOfRange: Ii,
4728
+ startOfRange: _i,
4729
4729
  endOfRange: n,
4730
4730
  current: i
4731
4731
  }), l = e * _t.ease(s);
4732
4732
  return Math.ceil(l);
4733
- }, Oi = function(e) {
4734
- var t = e.distanceToEdge, r = e.thresholds, n = e.dragStartTime, a = e.shouldUseTimeDampening, i = ov(t, r);
4735
- return i === 0 ? 0 : a ? Math.max(iv(i, n), po) : i;
4736
4733
  }, Pi = function(e) {
4734
+ var t = e.distanceToEdge, r = e.thresholds, n = e.dragStartTime, a = e.shouldUseTimeDampening, i = ov(t, r);
4735
+ return i === 0 ? 0 : a ? Math.max(iv(i, n), fo) : i;
4736
+ }, Ti = function(e) {
4737
4737
  var t = e.container, r = e.distanceToEdges, n = e.dragStartTime, a = e.axis, i = e.shouldUseTimeDampening, s = av(t, a), l = r[a.end] < r[a.start];
4738
- return l ? Oi({
4738
+ return l ? Pi({
4739
4739
  distanceToEdge: r[a.end],
4740
4740
  thresholds: s,
4741
4741
  dragStartTime: n,
4742
4742
  shouldUseTimeDampening: i
4743
- }) : -1 * Oi({
4743
+ }) : -1 * Pi({
4744
4744
  distanceToEdge: r[a.start],
4745
4745
  thresholds: s,
4746
4746
  dragStartTime: n,
@@ -4760,13 +4760,13 @@ var Zg = function(e, t) {
4760
4760
  right: r.right - a.x,
4761
4761
  bottom: r.bottom - a.y,
4762
4762
  left: a.x - r.left
4763
- }, l = Pi({
4763
+ }, l = Ti({
4764
4764
  container: r,
4765
4765
  distanceToEdges: s,
4766
4766
  dragStartTime: t,
4767
- axis: ro,
4767
+ axis: no,
4768
4768
  shouldUseTimeDampening: i
4769
- }), c = Pi({
4769
+ }), c = Ti({
4770
4770
  container: r,
4771
4771
  distanceToEdges: s,
4772
4772
  dragStartTime: t,
@@ -4786,7 +4786,7 @@ var Zg = function(e, t) {
4786
4786
  return d ? It(d, Be) ? null : d : null;
4787
4787
  }, cv = Sl(function(e) {
4788
4788
  return e === 0 ? 0 : e > 0 ? 1 : -1;
4789
- }), fo = /* @__PURE__ */ function() {
4789
+ }), mo = /* @__PURE__ */ function() {
4790
4790
  var e = function(r, n) {
4791
4791
  return r < 0 ? r : r > n ? r - n : 0;
4792
4792
  };
@@ -4801,28 +4801,28 @@ var Zg = function(e, t) {
4801
4801
  var r = t.max, n = t.current, a = t.change, i = {
4802
4802
  x: Math.max(n.x, r.x),
4803
4803
  y: Math.max(n.y, r.y)
4804
- }, s = cv(a), l = fo({
4804
+ }, s = cv(a), l = mo({
4805
4805
  max: i,
4806
4806
  current: n,
4807
4807
  change: s
4808
4808
  });
4809
4809
  return !l || s.x !== 0 && l.x === 0 || s.y !== 0 && l.y === 0;
4810
- }, mo = function(t, r) {
4810
+ }, go = function(t, r) {
4811
4811
  return nc({
4812
4812
  current: t.scroll.current,
4813
4813
  max: t.scroll.max,
4814
4814
  change: r
4815
4815
  });
4816
4816
  }, dv = function(t, r) {
4817
- if (!mo(t, r))
4817
+ if (!go(t, r))
4818
4818
  return null;
4819
4819
  var n = t.scroll.max, a = t.scroll.current;
4820
- return fo({
4820
+ return mo({
4821
4821
  current: a,
4822
4822
  max: n,
4823
4823
  change: r
4824
4824
  });
4825
- }, go = function(t, r) {
4825
+ }, vo = function(t, r) {
4826
4826
  var n = t.frame;
4827
4827
  return n ? nc({
4828
4828
  current: n.scroll.current,
@@ -4831,7 +4831,7 @@ var Zg = function(e, t) {
4831
4831
  }) : !1;
4832
4832
  }, uv = function(t, r) {
4833
4833
  var n = t.frame;
4834
- return !n || !go(t, r) ? null : fo({
4834
+ return !n || !vo(t, r) ? null : mo({
4835
4835
  current: n.scroll.current,
4836
4836
  max: n.scroll.max,
4837
4837
  change: r
@@ -4844,7 +4844,7 @@ var Zg = function(e, t) {
4844
4844
  center: n,
4845
4845
  shouldUseTimeDampening: i
4846
4846
  });
4847
- return s && mo(t, s) ? s : null;
4847
+ return s && go(t, s) ? s : null;
4848
4848
  }, fv = function(e) {
4849
4849
  var t = e.droppable, r = e.subject, n = e.center, a = e.dragStartTime, i = e.shouldUseTimeDampening, s = t.frame;
4850
4850
  if (!s)
@@ -4856,8 +4856,8 @@ var Zg = function(e, t) {
4856
4856
  center: n,
4857
4857
  shouldUseTimeDampening: i
4858
4858
  });
4859
- return l && go(t, l) ? l : null;
4860
- }, Ti = function(e) {
4859
+ return l && vo(t, l) ? l : null;
4860
+ }, Ai = function(e) {
4861
4861
  var t = e.state, r = e.dragStartTime, n = e.shouldUseTimeDampening, a = e.scrollWindow, i = e.scrollDroppable, s = t.current.page.borderBoxCenter, l = t.dimensions.draggables[t.critical.draggable.id], c = l.page.marginBox;
4862
4862
  if (t.isWindowScrollAllowed) {
4863
4863
  var u = t.viewport, d = pv({
@@ -4891,7 +4891,7 @@ var Zg = function(e, t) {
4891
4891
  var t = e.scrollWindow, r = e.scrollDroppable, n = Ar(t), a = Ar(r), i = null, s = function(d) {
4892
4892
  i || (process.env.NODE_ENV !== "production" ? D(!1, "Cannot fluid scroll if not dragging") : D());
4893
4893
  var p = i, f = p.shouldUseTimeDampening, m = p.dragStartTime;
4894
- Ti({
4894
+ Ai({
4895
4895
  state: d,
4896
4896
  scrollWindow: n,
4897
4897
  scrollDroppable: a,
@@ -4903,7 +4903,7 @@ var Zg = function(e, t) {
4903
4903
  var p = Date.now(), f = !1, m = function() {
4904
4904
  f = !0;
4905
4905
  };
4906
- Ti({
4906
+ Ai({
4907
4907
  state: d,
4908
4908
  dragStartTime: 0,
4909
4909
  shouldUseTimeDampening: !1,
@@ -4928,7 +4928,7 @@ var Zg = function(e, t) {
4928
4928
  client: p
4929
4929
  });
4930
4930
  }, i = function(u, d) {
4931
- if (!go(u, d))
4931
+ if (!vo(u, d))
4932
4932
  return d;
4933
4933
  var p = uv(u, d);
4934
4934
  if (!p)
@@ -4938,7 +4938,7 @@ var Zg = function(e, t) {
4938
4938
  var m = He(d, f);
4939
4939
  return m;
4940
4940
  }, s = function(u, d, p) {
4941
- if (!u || !mo(d, p))
4941
+ if (!u || !go(d, p))
4942
4942
  return p;
4943
4943
  var f = dv(d, p);
4944
4944
  if (!f)
@@ -5003,7 +5003,7 @@ var Zg = function(e, t) {
5003
5003
  contextId: e + "-context-id",
5004
5004
  id: e + "-id"
5005
5005
  };
5006
- }(), Ai = {
5006
+ }(), Ri = {
5007
5007
  contextId: sr + "-scroll-container-context-id"
5008
5008
  }, bv = function(t) {
5009
5009
  return function(r) {
@@ -5071,10 +5071,10 @@ var Zg = function(e, t) {
5071
5071
  dropAnimating: jr(s, "dropAnimating"),
5072
5072
  userCancel: jr(s, "userCancel")
5073
5073
  };
5074
- }, qe = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u" ? Va : H, ea = function() {
5074
+ }, qe = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u" ? $a : H, ea = function() {
5075
5075
  var t = document.querySelector("head");
5076
5076
  return t || (process.env.NODE_ENV !== "production" ? D(!1, "Cannot find the head to append a style to") : D()), t;
5077
- }, Ri = function(t) {
5077
+ }, ki = function(t) {
5078
5078
  var r = document.createElement("style");
5079
5079
  return t && r.setAttribute("nonce", t), r.type = "text/css", r;
5080
5080
  };
@@ -5090,7 +5090,7 @@ function wv(e, t) {
5090
5090
  }, []);
5091
5091
  qe(function() {
5092
5092
  !n.current && !a.current || (process.env.NODE_ENV !== "production" ? D(!1, "style elements already mounted") : D());
5093
- var p = Ri(t), f = Ri(t);
5093
+ var p = ki(t), f = ki(t);
5094
5094
  return n.current = p, a.current = f, p.setAttribute(sr + "-always", e), f.setAttribute(sr + "-dynamic", e), ea().appendChild(p), ea().appendChild(f), s(r.always), i(r.resting), function() {
5095
5095
  var m = function(b) {
5096
5096
  var v = b.current;
@@ -5272,7 +5272,7 @@ function Dv() {
5272
5272
  };
5273
5273
  }, [e]), e;
5274
5274
  }
5275
- var vo = le.createContext(null), Fr = function() {
5275
+ var ho = le.createContext(null), Fr = function() {
5276
5276
  var e = document.body;
5277
5277
  return e || (process.env.NODE_ENV !== "production" ? D(!1, "Cannot find document.body") : D()), e;
5278
5278
  }, Sv = {
@@ -5323,7 +5323,7 @@ function Ev(e) {
5323
5323
  var Iv = 0, _v = {
5324
5324
  separator: "::"
5325
5325
  };
5326
- function ho(e, t) {
5326
+ function bo(e, t) {
5327
5327
  return t === void 0 && (t = _v), fe(function() {
5328
5328
  return "" + e + t.separator + Iv++;
5329
5329
  }, [t.separator, e]);
@@ -5333,7 +5333,7 @@ function Ov(e) {
5333
5333
  return "rbd-hidden-text-" + t + "-" + r;
5334
5334
  }
5335
5335
  function Pv(e) {
5336
- var t = e.contextId, r = e.text, n = ho("hidden-text", {
5336
+ var t = e.contextId, r = e.text, n = bo("hidden-text", {
5337
5337
  separator: "-"
5338
5338
  }), a = fe(function() {
5339
5339
  return Ov({
@@ -5352,7 +5352,7 @@ function Pv(e) {
5352
5352
  var kn = le.createContext(null), Tv = {
5353
5353
  react: "^16.8.5 || ^17.0.0 || ^18.0.0",
5354
5354
  "react-dom": "^16.8.5 || ^17.0.0 || ^18.0.0"
5355
- }, Av = /(\d+)\.(\d+)\.(\d+)/, ki = function(t) {
5355
+ }, Av = /(\d+)\.(\d+)\.(\d+)/, Bi = function(t) {
5356
5356
  var r = Av.exec(t);
5357
5357
  r == null && (process.env.NODE_ENV !== "production" ? D(!1, "Unable to parse React version " + t) : D());
5358
5358
  var n = Number(r[1]), a = Number(r[2]), i = Number(r[3]);
@@ -5365,7 +5365,7 @@ var kn = le.createContext(null), Tv = {
5365
5365
  }, Rv = function(t, r) {
5366
5366
  return r.major > t.major ? !0 : r.major < t.major ? !1 : r.minor > t.minor ? !0 : r.minor < t.minor ? !1 : r.patch >= t.patch;
5367
5367
  }, kv = function(e, t) {
5368
- var r = ki(e), n = ki(t);
5368
+ var r = Bi(e), n = Bi(t);
5369
5369
  Rv(r, n) || process.env.NODE_ENV !== "production" && Ne(`
5370
5370
  React version: [` + n.raw + `]
5371
5371
  does not satisfy expected peer dependency version: [` + r.raw + `]
@@ -5398,11 +5398,11 @@ var kn = le.createContext(null), Tv = {
5398
5398
  ` + ta + `
5399
5399
  `);
5400
5400
  };
5401
- function bo(e) {
5401
+ function xo(e) {
5402
5402
  process.env.NODE_ENV !== "production" && e();
5403
5403
  }
5404
5404
  function Kr(e, t) {
5405
- bo(function() {
5405
+ xo(function() {
5406
5406
  H(function() {
5407
5407
  try {
5408
5408
  e();
@@ -5421,7 +5421,7 @@ function Lv() {
5421
5421
  kv(Tv.react, le.version), Bv(document);
5422
5422
  }, []);
5423
5423
  }
5424
- function xo(e) {
5424
+ function yo(e) {
5425
5425
  var t = Z(e);
5426
5426
  return H(function() {
5427
5427
  t.current = e;
@@ -5456,7 +5456,7 @@ function Mv() {
5456
5456
  tryAbandon: i
5457
5457
  };
5458
5458
  }
5459
- var Fv = 9, Vv = 13, yo = 27, ic = 32, $v = 33, Gv = 34, Uv = 35, Wv = 36, Hv = 37, zv = 38, qv = 39, Yv = 40, tn, Kv = (tn = {}, tn[Vv] = !0, tn[Fv] = !0, tn), sc = function(e) {
5459
+ var Fv = 9, Vv = 13, wo = 27, ic = 32, $v = 33, Gv = 34, Uv = 35, Wv = 36, Hv = 37, zv = 38, qv = 39, Yv = 40, tn, Kv = (tn = {}, tn[Vv] = !0, tn[Fv] = !0, tn), sc = function(e) {
5460
5460
  Kv[e.keyCode] && e.preventDefault();
5461
5461
  }, Bn = function() {
5462
5462
  var e = "visibilitychange";
@@ -5466,11 +5466,11 @@ var Fv = 9, Vv = 13, yo = 27, ic = 32, $v = 33, Gv = 34, Uv = 35, Wv = 36, Hv =
5466
5466
  return "on" + n in document;
5467
5467
  });
5468
5468
  return r || e;
5469
- }(), lc = 0, Bi = 5;
5469
+ }(), lc = 0, Li = 5;
5470
5470
  function Xv(e, t) {
5471
- return Math.abs(t.x - e.x) >= Bi || Math.abs(t.y - e.y) >= Bi;
5471
+ return Math.abs(t.x - e.x) >= Li || Math.abs(t.y - e.y) >= Li;
5472
5472
  }
5473
- var Li = {
5473
+ var Mi = {
5474
5474
  type: "IDLE"
5475
5475
  };
5476
5476
  function Qv(e) {
@@ -5525,7 +5525,7 @@ function Qv(e) {
5525
5525
  t();
5526
5526
  return;
5527
5527
  }
5528
- if (s.keyCode === yo) {
5528
+ if (s.keyCode === wo) {
5529
5529
  s.preventDefault(), t();
5530
5530
  return;
5531
5531
  }
@@ -5559,7 +5559,7 @@ function Qv(e) {
5559
5559
  }];
5560
5560
  }
5561
5561
  function Jv(e) {
5562
- var t = Z(Li), r = Z(Et), n = fe(function() {
5562
+ var t = Z(Mi), r = Z(Et), n = fe(function() {
5563
5563
  return {
5564
5564
  eventName: "mousedown",
5565
5565
  fn: function(p) {
@@ -5602,7 +5602,7 @@ function Jv(e) {
5602
5602
  r.current = Ze(window, [a, n], p);
5603
5603
  }, [a, n]), s = J(function() {
5604
5604
  var d = t.current;
5605
- d.type !== "IDLE" && (t.current = Li, r.current(), i());
5605
+ d.type !== "IDLE" && (t.current = Mi, r.current(), i());
5606
5606
  }, [i]), l = J(function() {
5607
5607
  var d = t.current;
5608
5608
  s(), d.type === "DRAGGING" && d.actions.cancel({
@@ -5650,7 +5650,7 @@ function th(e, t) {
5650
5650
  return [{
5651
5651
  eventName: "keydown",
5652
5652
  fn: function(i) {
5653
- if (i.keyCode === yo) {
5653
+ if (i.keyCode === wo) {
5654
5654
  i.preventDefault(), r();
5655
5655
  return;
5656
5656
  }
@@ -5769,7 +5769,7 @@ function oh(e) {
5769
5769
  t();
5770
5770
  return;
5771
5771
  }
5772
- a.keyCode === yo && a.preventDefault(), t();
5772
+ a.keyCode === wo && a.preventDefault(), t();
5773
5773
  }
5774
5774
  }, {
5775
5775
  eventName: Bn,
@@ -5939,8 +5939,8 @@ function sh(e) {
5939
5939
  }, []);
5940
5940
  }
5941
5941
  function lh(e) {
5942
- bo(function() {
5943
- var t = xo(e);
5942
+ xo(function() {
5943
+ var t = yo(e);
5944
5944
  Kr(function() {
5945
5945
  t.current.length !== e.length && (process.env.NODE_ENV !== "production" ? D(!1, "Cannot change the amount of sensor hooks after mounting") : D(!1));
5946
5946
  });
@@ -6227,7 +6227,7 @@ function Nh(e) {
6227
6227
  var w = n.draggable.findById(h);
6228
6228
  return w ? w.options : null;
6229
6229
  }, [n.draggable]), m = J(function() {
6230
- l.isClaimed() && (l.tryAbandon(), r.getState().phase !== "IDLE" && r.dispatch(so()));
6230
+ l.isClaimed() && (l.tryAbandon(), r.getState().phase !== "IDLE" && r.dispatch(lo()));
6231
6231
  }, [l, r]), g = J(l.isClaimed, [l]), b = fe(function() {
6232
6232
  return {
6233
6233
  canGetLock: u,
@@ -6257,7 +6257,7 @@ function Dr(e) {
6257
6257
  function Dh(e) {
6258
6258
  var t = e.contextId, r = e.setCallbacks, n = e.sensors, a = e.nonce, i = e.dragHandleUsageInstructions, s = Z(null);
6259
6259
  Lv();
6260
- var l = xo(e), c = J(function() {
6260
+ var l = yo(e), c = J(function() {
6261
6261
  return jh(l.current);
6262
6262
  }, [l]), u = Ev(t), d = Pv({
6263
6263
  contextId: t,
@@ -6265,7 +6265,7 @@ function Dh(e) {
6265
6265
  }), p = wv(t, a), f = J(function(S) {
6266
6266
  Dr(s).dispatch(S);
6267
6267
  }, []), m = fe(function() {
6268
- return Zo({
6268
+ return ei({
6269
6269
  publishWhileDragging: sg,
6270
6270
  updateDroppableScroll: cg,
6271
6271
  updateDroppableIsEnabled: dg,
@@ -6278,7 +6278,7 @@ function Dh(e) {
6278
6278
  return vv(ne({
6279
6279
  scrollWindow: ev,
6280
6280
  scrollDroppable: b.scrollDroppable
6281
- }, Zo({
6281
+ }, ei({
6282
6282
  move: zl
6283
6283
  }, f)));
6284
6284
  }, [b.scrollDroppable, f]), h = Nv(t), w = fe(function() {
@@ -6294,7 +6294,7 @@ function Dh(e) {
6294
6294
  process.env.NODE_ENV !== "production" && s.current && s.current !== w && process.env.NODE_ENV !== "production" && Ne("unexpected store change"), s.current = w;
6295
6295
  var N = J(function() {
6296
6296
  var S = Dr(s), O = S.getState();
6297
- O.phase !== "IDLE" && S.dispatch(so());
6297
+ O.phase !== "IDLE" && S.dispatch(lo());
6298
6298
  }, []), x = J(function() {
6299
6299
  var S = Dr(s).getState();
6300
6300
  return S.isDragging || S.phase === "DROP_ANIMATING";
@@ -6331,7 +6331,7 @@ function Dh(e) {
6331
6331
  }, [N]), le.createElement(kn.Provider, {
6332
6332
  value: _
6333
6333
  }, le.createElement(pl, {
6334
- context: vo,
6334
+ context: ho,
6335
6335
  store: w
6336
6336
  }, e.children));
6337
6337
  }
@@ -6359,11 +6359,11 @@ function Eh(e) {
6359
6359
  }, e.children);
6360
6360
  });
6361
6361
  }
6362
- var wo = function(t) {
6362
+ var No = function(t) {
6363
6363
  return function(r) {
6364
6364
  return t === r;
6365
6365
  };
6366
- }, Ih = wo("scroll"), _h = wo("auto"), Oh = wo("visible"), Mi = function(t, r) {
6366
+ }, Ih = No("scroll"), _h = No("auto"), Oh = No("visible"), Fi = function(t, r) {
6367
6367
  return r(t.overflowX) || r(t.overflowY);
6368
6368
  }, Ph = function(t, r) {
6369
6369
  return r(t.overflowX) && r(t.overflowY);
@@ -6372,7 +6372,7 @@ var wo = function(t) {
6372
6372
  overflowX: r.overflowX,
6373
6373
  overflowY: r.overflowY
6374
6374
  };
6375
- return Mi(n, Ih) || Mi(n, _h);
6375
+ return Fi(n, Ih) || Fi(n, _h);
6376
6376
  }, Th = function() {
6377
6377
  if (process.env.NODE_ENV === "production")
6378
6378
  return !1;
@@ -6447,7 +6447,7 @@ var wo = function(t) {
6447
6447
  }
6448
6448
  }
6449
6449
  };
6450
- }(), d = i === "vertical" ? ro : Pl, p = ir({
6450
+ }(), d = i === "vertical" ? no : Pl, p = ir({
6451
6451
  page: l,
6452
6452
  withPlaceholder: null,
6453
6453
  axis: d,
@@ -6473,7 +6473,7 @@ var wo = function(t) {
6473
6473
  right: l,
6474
6474
  bottom: s,
6475
6475
  left: i
6476
- }, u = Qa(c, n.border), d = Ja({
6476
+ }, u = Ja(c, n.border), d = Za({
6477
6477
  borderBox: u,
6478
6478
  margin: n.margin,
6479
6479
  border: n.border,
@@ -6510,7 +6510,7 @@ var wo = function(t) {
6510
6510
  passive: !1
6511
6511
  }, Vh = {
6512
6512
  passive: !0
6513
- }, Fi = function(e) {
6513
+ }, Vi = function(e) {
6514
6514
  return e.shouldPublishImmediately ? Fh : Vh;
6515
6515
  };
6516
6516
  function Sn(e) {
@@ -6521,7 +6521,7 @@ var nn = function(t) {
6521
6521
  return t && t.env.closestScrollable || null;
6522
6522
  };
6523
6523
  function $h(e) {
6524
- var t = Z(null), r = Sn(kn), n = ho("droppable"), a = r.registry, i = r.marshal, s = xo(e), l = fe(function() {
6524
+ var t = Z(null), r = Sn(kn), n = bo("droppable"), a = r.registry, i = r.marshal, s = yo(e), l = fe(function() {
6525
6525
  return {
6526
6526
  id: e.droppableId,
6527
6527
  type: e.type,
@@ -6574,7 +6574,7 @@ function $h(e) {
6574
6574
  isCombineEnabled: C.isCombineEnabled,
6575
6575
  shouldClipSubject: !C.ignoreContainerClipping
6576
6576
  }), A = _.closestScrollable;
6577
- return A && (A.setAttribute(Ai.contextId, r.contextId), A.addEventListener("scroll", m, Fi(S.scrollOptions)), process.env.NODE_ENV !== "production" && Ah(A)), O;
6577
+ return A && (A.setAttribute(Ri.contextId, r.contextId), A.addEventListener("scroll", m, Vi(S.scrollOptions)), process.env.NODE_ENV !== "production" && Ah(A)), O;
6578
6578
  }, [r.contextId, l, m, s]), b = J(function() {
6579
6579
  var x = t.current, y = nn(x);
6580
6580
  return x && y || (process.env.NODE_ENV !== "production" ? D(!1, "Can only recollect Droppable client for Droppables that have a scroll container") : D()), Ia(y);
@@ -6582,7 +6582,7 @@ function $h(e) {
6582
6582
  var x = t.current;
6583
6583
  x || (process.env.NODE_ENV !== "production" ? D(!1, "Cannot stop drag when no active drag") : D());
6584
6584
  var y = nn(x);
6585
- t.current = null, y && (f.cancel(), y.removeAttribute(Ai.contextId), y.removeEventListener("scroll", m, Fi(x.scrollOptions)));
6585
+ t.current = null, y && (f.cancel(), y.removeAttribute(Ri.contextId), y.removeEventListener("scroll", m, Vi(x.scrollOptions)));
6586
6586
  }, [m, f]), h = J(function(x) {
6587
6587
  var y = t.current;
6588
6588
  y || (process.env.NODE_ENV !== "production" ? D(!1, "Cannot scroll when there is no drag") : D());
@@ -6614,13 +6614,13 @@ function $h(e) {
6614
6614
  }
6615
6615
  function na() {
6616
6616
  }
6617
- var Vi = {
6617
+ var $i = {
6618
6618
  width: 0,
6619
6619
  height: 0,
6620
6620
  margin: em
6621
6621
  }, Gh = function(t) {
6622
6622
  var r = t.isAnimatingOpenOnMount, n = t.placeholder, a = t.animate;
6623
- return r || a === "close" ? Vi : {
6623
+ return r || a === "close" ? $i : {
6624
6624
  height: n.client.borderBox.height,
6625
6625
  width: n.client.borderBox.width,
6626
6626
  margin: n.client.margin
@@ -6669,7 +6669,7 @@ function Wh(e) {
6669
6669
  ref: e.innerRef
6670
6670
  });
6671
6671
  }
6672
- var Hh = le.memo(Wh), No = le.createContext(null);
6672
+ var Hh = le.memo(Wh), jo = le.createContext(null);
6673
6673
  function mc(e) {
6674
6674
  e && Yr(e) || (process.env.NODE_ENV !== "production" ? D(!1, `
6675
6675
  provided.innerRef has not been provided with a HTMLElement.
@@ -6720,7 +6720,7 @@ function Kh(e) {
6720
6720
  });
6721
6721
  }
6722
6722
  var Xh = function(e) {
6723
- js(t, e);
6723
+ Ds(t, e);
6724
6724
  function t() {
6725
6725
  for (var n, a = arguments.length, i = new Array(a), s = 0; s < a; s++)
6726
6726
  i[s] = arguments[s];
@@ -6764,7 +6764,7 @@ var Xh = function(e) {
6764
6764
  };
6765
6765
  return this.props.children(a);
6766
6766
  }, t;
6767
- }(le.PureComponent), $i = {
6767
+ }(le.PureComponent), Gi = {
6768
6768
  dragging: 5e3,
6769
6769
  dropAnimating: 4500
6770
6770
  }, Qh = function(t, r) {
@@ -6785,7 +6785,7 @@ function eb(e) {
6785
6785
  transition: Qh(l, i),
6786
6786
  transform: u,
6787
6787
  opacity: Jh(s, c),
6788
- zIndex: c ? $i.dropAnimating : $i.dragging,
6788
+ zIndex: c ? Gi.dropAnimating : Gi.dragging,
6789
6789
  pointerEvents: "none"
6790
6790
  };
6791
6791
  return d;
@@ -6818,7 +6818,7 @@ function nb(e, t, r) {
6818
6818
  return u;
6819
6819
  }
6820
6820
  function ab(e) {
6821
- var t = ho("draggable"), r = e.descriptor, n = e.registry, a = e.getDraggableRef, i = e.canDragInteractiveElements, s = e.shouldRespectForcePress, l = e.isEnabled, c = fe(function() {
6821
+ var t = bo("draggable"), r = e.descriptor, n = e.registry, a = e.getDraggableRef, i = e.canDragInteractiveElements, s = e.shouldRespectForcePress, l = e.isEnabled, c = fe(function() {
6822
6822
  return {
6823
6823
  canDragInteractiveElements: i,
6824
6824
  shouldRespectForcePress: s,
@@ -6859,7 +6859,7 @@ function ob(e, t, r) {
6859
6859
  });
6860
6860
  }
6861
6861
  function ib(e) {
6862
- bo(function() {
6862
+ xo(function() {
6863
6863
  var t = Z(e);
6864
6864
  Kr(function() {
6865
6865
  e !== t.current && (process.env.NODE_ENV !== "production" ? D(!1, "Draggable isClone prop value changed during component life") : D(!1));
@@ -6874,7 +6874,7 @@ function lb(e) {
6874
6874
  t.current = S;
6875
6875
  }, []), n = J(function() {
6876
6876
  return t.current;
6877
- }, []), a = Sn(kn), i = a.contextId, s = a.dragHandleUsageInstructionsId, l = a.registry, c = Sn(No), u = c.type, d = c.droppableId, p = fe(function() {
6877
+ }, []), a = Sn(kn), i = a.contextId, s = a.dragHandleUsageInstructionsId, l = a.registry, c = Sn(jo), u = c.type, d = c.droppableId, p = fe(function() {
6878
6878
  return {
6879
6879
  id: e.draggableId,
6880
6880
  index: e.index,
@@ -6985,7 +6985,7 @@ function ub() {
6985
6985
  return null;
6986
6986
  var m = s.isClone, g = i.dimensions.draggables[s.draggableId], b = f.result, v = b.mode, h = vc(b), w = cb(b), N = i.dropDuration, x = {
6987
6987
  duration: N,
6988
- curve: co.drop,
6988
+ curve: uo.drop,
6989
6989
  moveTo: i.newHomeClientOffset,
6990
6990
  opacity: w ? Mr.opacity.drop : null,
6991
6991
  scale: w ? Mr.scale.drop : null
@@ -7080,12 +7080,12 @@ var mb = function() {
7080
7080
  }, gb = {
7081
7081
  dropAnimationFinished: Yl
7082
7082
  }, vb = bl(mb, gb, null, {
7083
- context: vo,
7083
+ context: ho,
7084
7084
  pure: !0,
7085
7085
  areStatePropsEqual: gc
7086
7086
  })(lb);
7087
7087
  function bc(e) {
7088
- var t = Sn(No), r = t.isUsingCloneFor;
7088
+ var t = Sn(jo), r = t.isUsingCloneFor;
7089
7089
  return r === e.draggableId && !e.isClone ? null : le.createElement(vb, e);
7090
7090
  }
7091
7091
  function hb(e) {
@@ -7173,13 +7173,13 @@ function bb(e) {
7173
7173
  });
7174
7174
  return Pr.createPortal(P, h());
7175
7175
  }
7176
- return le.createElement(No.Provider, {
7176
+ return le.createElement(jo.Provider, {
7177
7177
  value: O
7178
7178
  }, s(_, g), A());
7179
7179
  }
7180
7180
  var ia = function(t, r) {
7181
7181
  return t === r.droppable.type;
7182
- }, Gi = function(t, r) {
7182
+ }, Ui = function(t, r) {
7183
7183
  return r.draggables[t.draggable.id];
7184
7184
  }, xb = function() {
7185
7185
  var t = {
@@ -7244,14 +7244,14 @@ var ia = function(t, r) {
7244
7244
  var m = l.critical;
7245
7245
  if (!ia(d, m))
7246
7246
  return r;
7247
- var g = Gi(m, l.dimensions), b = ze(l.impact) === u;
7247
+ var g = Ui(m, l.dimensions), b = ze(l.impact) === u;
7248
7248
  return a(u, p, b, b, g, f);
7249
7249
  }
7250
7250
  if (l.phase === "DROP_ANIMATING") {
7251
7251
  var v = l.completed;
7252
7252
  if (!ia(d, v.critical))
7253
7253
  return r;
7254
- var h = Gi(v.critical, l.dimensions);
7254
+ var h = Ui(v.critical, l.dimensions);
7255
7255
  return a(u, p, vc(v.result) === u, ze(v.impact) === u, h, f);
7256
7256
  }
7257
7257
  if (l.phase === "IDLE" && l.completed && !l.shouldFlush) {
@@ -7280,7 +7280,7 @@ var Nb = {
7280
7280
  renderClone: null,
7281
7281
  getContainerForClone: wb
7282
7282
  }, xc = bl(xb, yb, null, {
7283
- context: vo,
7283
+ context: ho,
7284
7284
  pure: !0,
7285
7285
  areStatePropsEqual: gc
7286
7286
  })(bb);
@@ -7479,10 +7479,10 @@ const Nc = ({ src: e, alt: t, baseUrl: r, customToken: n, placeholder: a, render
7479
7479
  }), ..._, children: e && /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
7480
7480
  /* @__PURE__ */ o.jsxs("div", { className: Fe.header, children: [
7481
7481
  /* @__PURE__ */ o.jsxs("div", { className: I("rounded", Fe.photoActions), children: [
7482
- s && /* @__PURE__ */ o.jsx(Ds, { accept: ".jpg,.jpeg,.png", onUpload: (S) => {
7482
+ s && /* @__PURE__ */ o.jsx(Ss, { accept: ".jpg,.jpeg,.png", onUpload: (S) => {
7483
7483
  S.length > 0 && s(Array.from(S));
7484
- }, icon: /* @__PURE__ */ o.jsx(Ss, { style: { fontSize: 18 } }), multiple: !0, className: "me-1 me-lg-3", children: a ?? null }),
7485
- /* @__PURE__ */ o.jsx(Cs, { children: w && (l == null ? void 0 : l.map(({ label: S, onClick: O, ...A }, M) => /* @__PURE__ */ o.jsx(
7484
+ }, icon: /* @__PURE__ */ o.jsx(Cs, { style: { fontSize: 18 } }), multiple: !0, className: "me-1 me-lg-3", children: a ?? null }),
7485
+ /* @__PURE__ */ o.jsx(Es, { children: w && (l == null ? void 0 : l.map(({ label: S, onClick: O, ...A }, M) => /* @__PURE__ */ o.jsx(
7486
7486
  ga,
7487
7487
  {
7488
7488
  hideOn: "sm",
@@ -7531,9 +7531,9 @@ const Nc = ({ src: e, alt: t, baseUrl: r, customToken: n, placeholder: a, render
7531
7531
  }
7532
7532
  const h = e.findIndex((w) => w.isDefault);
7533
7533
  m(h > -1 ? h : 0);
7534
- }, [e]), !g && t && u ? /* @__PURE__ */ o.jsx(Ds, { accept: ".jpg,.jpeg,.png", onUpload: (h) => {
7534
+ }, [e]), !g && t && u ? /* @__PURE__ */ o.jsx(Ss, { accept: ".jpg,.jpeg,.png", onUpload: (h) => {
7535
7535
  h.length > 0 && t(Array.from(h));
7536
- }, icon: /* @__PURE__ */ o.jsx(Ss, { style: { fontSize: 18 } }), multiple: !0, children: r ?? null }) : /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
7536
+ }, icon: /* @__PURE__ */ o.jsx(Cs, { style: { fontSize: 18 } }), multiple: !0, children: r ?? null }) : /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
7537
7537
  g ? /* @__PURE__ */ o.jsxs("div", { role: "button", className: "w-100 position-relative", onClick: () => v(!0), children: [
7538
7538
  /* @__PURE__ */ o.jsx(c, { src: g.smSrc, alt: g.alt, className: "rounded w-100", baseUrl: i, customToken: s, placeholder: l }),
7539
7539
  e.length > 1 && /* @__PURE__ */ o.jsx("div", { className: "position-absolute rounded p-1", style: {
@@ -7590,13 +7590,13 @@ const Nc = ({ src: e, alt: t, baseUrl: r, customToken: n, placeholder: a, render
7590
7590
  }, children: /* @__PURE__ */ o.jsxs(z, { variant: "caption", className: "w-100 text-end", children: [
7591
7591
  "verze ",
7592
7592
  e
7593
- ] }) }), rx = "_submit-container_j8pmc_1", nx = "_spacer_j8pmc_14", Ui = {
7593
+ ] }) }), rx = "_submit-container_j8pmc_1", nx = "_spacer_j8pmc_14", Wi = {
7594
7594
  "submit-container": "_submit-container_j8pmc_1",
7595
7595
  submitContainer: rx,
7596
7596
  spacer: nx
7597
7597
  }, ax = ({ children: e, noSpacer: t = !1 }) => /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
7598
- !t && /* @__PURE__ */ o.jsx("div", { className: Ui.spacer }),
7599
- /* @__PURE__ */ o.jsx("div", { className: I("luminus-floating-action-container shadow", Ui.submitContainer), children: e })
7598
+ !t && /* @__PURE__ */ o.jsx("div", { className: Wi.spacer }),
7599
+ /* @__PURE__ */ o.jsx("div", { className: I("luminus-floating-action-container shadow", Wi.submitContainer), children: e })
7600
7600
  ] }), ox = "_timeline_g1754_1", ix = "_step-container_g1754_1", sx = "_step-date_g1754_1", lx = "_step-content_g1754_4", cx = "_content-header_g1754_8", dx = "_content-text_g1754_11", ux = "_step-icon_g1754_14", Mt = {
7601
7601
  timeline: ox,
7602
7602
  "step-container": "_step-container_g1754_1",
@@ -7618,7 +7618,7 @@ const Nc = ({ src: e, alt: t, baseUrl: r, customToken: n, placeholder: a, render
7618
7618
  ] }) }),
7619
7619
  /* @__PURE__ */ o.jsx("div", { className: "col-9", children: /* @__PURE__ */ o.jsxs("div", { className: I("h-100 d-flex flex-column gap-1 border-start border-2 p-3", Mt.stepContent), children: [
7620
7620
  /* @__PURE__ */ o.jsxs("div", { className: I("d-flex gap-2 align-items-center", Mt.contentHeader), children: [
7621
- r.person && /* @__PURE__ */ o.jsx(Es, { name: r.person.name ?? "", size: 22, fontSize: 12 }),
7621
+ r.person && /* @__PURE__ */ o.jsx(Is, { name: r.person.name ?? "", size: 22, fontSize: 12 }),
7622
7622
  typeof r.title == "string" ? /* @__PURE__ */ o.jsx(z, { variant: "body", className: "fw-bold", children: r.title }) : r.title
7623
7623
  ] }),
7624
7624
  r.text && /* @__PURE__ */ o.jsx(z, { variant: "body2", className: Mt.contentText, children: r.text }),
@@ -7641,7 +7641,7 @@ const Nc = ({ src: e, alt: t, baseUrl: r, customToken: n, placeholder: a, render
7641
7641
  d.abort();
7642
7642
  };
7643
7643
  }, [u]), { data: l, setData: c, reloadData: u, isLoading: i };
7644
- }, Wi = ({ src: e, alt: t, baseUrl: r, customToken: n, placeholder: a, renderAsDivBg: i, ...s }) => {
7644
+ }, Hi = ({ src: e, alt: t, baseUrl: r, customToken: n, placeholder: a, renderAsDivBg: i, ...s }) => {
7645
7645
  const { data: l } = fx(e, r, n), [c, u] = k(null);
7646
7646
  return H(() => {
7647
7647
  let d = null;
@@ -7670,7 +7670,7 @@ const Nc = ({ src: e, alt: t, baseUrl: r, customToken: n, placeholder: a, render
7670
7670
  var m;
7671
7671
  n && n(((m = f.target) == null ? void 0 : m.checked) ?? !1);
7672
7672
  }, className: s ?? "", hidden: a ?? !1, disabled: i ?? !1 }) });
7673
- }, Hi = {
7673
+ }, zi = {
7674
7674
  "eon-red": "#ea1b0a",
7675
7675
  "eon-yellow": "#c3c000",
7676
7676
  "eon-turquoise": "#1999aa"
@@ -7754,7 +7754,7 @@ const Nc = ({ src: e, alt: t, baseUrl: r, customToken: n, placeholder: a, render
7754
7754
  eyeRadius: { inner: 100, outer: 100 },
7755
7755
  qrStyle: "dots"
7756
7756
  }
7757
- }, gx = mx, vx = ({ value: e, qrRef: t, variant: r = "blackRedEyes" }) => /* @__PURE__ */ o.jsx(Id, { ref: t, value: e, eyeColor: Hi["eon-red"], fgColor: Hi["eon-turquoise"], logoHeight: 32, logoWidth: 32, removeQrCodeBehindLogo: !0, logoPadding: 5, logoPaddingStyle: "circle", ecLevel: "Q", ...gx[r] }), hx = ({ value: e, contactType: t, className: r }) => {
7757
+ }, gx = mx, vx = ({ value: e, qrRef: t, variant: r = "blackRedEyes" }) => /* @__PURE__ */ o.jsx(Id, { ref: t, value: e, eyeColor: zi["eon-red"], fgColor: zi["eon-turquoise"], logoHeight: 32, logoWidth: 32, removeQrCodeBehindLogo: !0, logoPadding: 5, logoPaddingStyle: "circle", ecLevel: "Q", ...gx[r] }), hx = ({ value: e, contactType: t, className: r }) => {
7758
7758
  const { ProjectIconComponent: n } = W(Q), [a, i] = k(!1), s = T(() => {
7759
7759
  i(!0);
7760
7760
  }, []), l = T(() => {
@@ -7864,7 +7864,7 @@ const Nc = ({ src: e, alt: t, baseUrl: r, customToken: n, placeholder: a, render
7864
7864
  v || !g && L ? /* @__PURE__ */ o.jsxs("div", { className: "custom-picker-button", children: [
7865
7865
  !v && !g && L && /* @__PURE__ */ o.jsx(te, { size: "sm", color: "secondary", onClick: ($) => {
7866
7866
  $.preventDefault(), $.stopPropagation(), M(!0);
7867
- }, children: N ?? /* @__PURE__ */ o.jsx(Is, {}) }),
7867
+ }, children: N ?? /* @__PURE__ */ o.jsx(_s, {}) }),
7868
7868
  v ?? null
7869
7869
  ] }) : null
7870
7870
  ] }),
@@ -7922,10 +7922,10 @@ const Nc = ({ src: e, alt: t, baseUrl: r, customToken: n, placeholder: a, render
7922
7922
  /* @__PURE__ */ o.jsx(Ee.Control, { type: "number", placeholder: s ?? a, size: l, value: n ? x : t ?? "", onChange: E, className: `luminus-numeric-stepper ${f ?? ""}`, hidden: c, disabled: u ?? !1, step: m }),
7923
7923
  /* @__PURE__ */ o.jsx("div", { className: "stepper-icon left", children: !u && /* @__PURE__ */ o.jsx(te, { size: "sm", onClick: (_) => {
7924
7924
  _.preventDefault(), _.stopPropagation(), C(((t ?? 0) - g).toString());
7925
- }, children: /* @__PURE__ */ o.jsx(_s, {}) }) }),
7925
+ }, children: /* @__PURE__ */ o.jsx(Os, {}) }) }),
7926
7926
  /* @__PURE__ */ o.jsx("div", { className: "stepper-icon right", children: !u && /* @__PURE__ */ o.jsx(te, { size: "sm", onClick: (_) => {
7927
7927
  _.preventDefault(), _.stopPropagation(), C(((t ?? 0) + g).toString());
7928
- }, children: /* @__PURE__ */ o.jsx(Os, {}) }) }),
7928
+ }, children: /* @__PURE__ */ o.jsx(Ps, {}) }) }),
7929
7929
  d && t && r && !u && /* @__PURE__ */ o.jsx("div", { className: "luminus-input-remove-icon", children: /* @__PURE__ */ o.jsx(te, { color: "secondary", size: "sm", onClick: w, children: /* @__PURE__ */ o.jsx(Pt, {}) }) })
7930
7930
  ] }) });
7931
7931
  };
@@ -7992,7 +7992,7 @@ function Ix(e) {
7992
7992
  });
7993
7993
  return r.current;
7994
7994
  }
7995
- function jo(e, t) {
7995
+ function Do(e, t) {
7996
7996
  t === void 0 && (t = !0);
7997
7997
  var r = e[0] === "-", n = r && t;
7998
7998
  e = e.replace("-", "");
@@ -8017,7 +8017,7 @@ function Ec(e, t, r) {
8017
8017
  n += e[i] || a;
8018
8018
  return n;
8019
8019
  }
8020
- function zi(e, t) {
8020
+ function qi(e, t) {
8021
8021
  return Array(t + 1).join(e);
8022
8022
  }
8023
8023
  function Ic(e) {
@@ -8028,12 +8028,12 @@ function Ic(e) {
8028
8028
  return r + a;
8029
8029
  a = a.replace(".", "");
8030
8030
  var s = 1 + i, l = a.length;
8031
- return s < 0 ? a = "0." + zi("0", Math.abs(s)) + a : s >= l ? a = a + zi("0", s - l) : a = (a.substring(0, s) || "0") + "." + a.substring(s), r + a;
8031
+ return s < 0 ? a = "0." + qi("0", Math.abs(s)) + a : s >= l ? a = a + qi("0", s - l) : a = (a.substring(0, s) || "0") + "." + a.substring(s), r + a;
8032
8032
  }
8033
- function qi(e, t, r) {
8033
+ function Yi(e, t, r) {
8034
8034
  if (["", "-"].indexOf(e) !== -1)
8035
8035
  return e;
8036
- var n = (e.indexOf(".") !== -1 || r) && t, a = jo(e), i = a.beforeDecimal, s = a.afterDecimal, l = a.hasNegation, c = parseFloat("0." + (s || "0")), u = s.length <= t ? "0." + s : c.toFixed(t), d = u.split("."), p = i;
8036
+ var n = (e.indexOf(".") !== -1 || r) && t, a = Do(e), i = a.beforeDecimal, s = a.afterDecimal, l = a.hasNegation, c = parseFloat("0." + (s || "0")), u = s.length <= t ? "0." + s : c.toFixed(t), d = u.split("."), p = i;
8037
8037
  i && Number(d[0]) && (p = i.split("").reverse().reduce(function(b, v, h) {
8038
8038
  return b.length > h ? (Number(b[0]) + Number(v)).toString() + b.substring(1, b.length) : v + b;
8039
8039
  }, d[0]));
@@ -8121,7 +8121,7 @@ function kx(e, t, r, n, a, i, s) {
8121
8121
  var N = h === -1 || f[h] === -1 ? 0 : f[h] + 1;
8122
8122
  return N > w ? w : n - N < w - n ? N : w;
8123
8123
  }
8124
- function Yi(e, t, r, n) {
8124
+ function Ki(e, t, r, n) {
8125
8125
  var a = e.length;
8126
8126
  if (t = Px(t, 0, a), n === "left") {
8127
8127
  for (; t >= 0 && !r[t]; )
@@ -8212,10 +8212,10 @@ function Fx(e) {
8212
8212
  K.value === ee && K.selectionStart !== V && Wt(K, V);
8213
8213
  }, 0));
8214
8214
  }, re = function(K, V, ee) {
8215
- return Yi(K, V, w(K), ee);
8215
+ return Ki(K, V, w(K), ee);
8216
8216
  }, ie = function(K, V, ee) {
8217
8217
  var ue = w(V), Ce = kx(V, _, K, ee, ue, N, x);
8218
- return Ce = Yi(V, Ce, ue), Ce;
8218
+ return Ce = Ki(V, Ce, ue), Ce;
8219
8219
  }, se = function(K) {
8220
8220
  var V = K.formattedValue;
8221
8221
  V === void 0 && (V = "");
@@ -8233,7 +8233,7 @@ function Fx(e) {
8233
8233
  source: Vr.props
8234
8234
  });
8235
8235
  }, [_, S]);
8236
- var be = F.current ? la(F.current) : void 0, U = typeof window < "u" ? Va : H;
8236
+ var be = F.current ? la(F.current) : void 0, U = typeof window < "u" ? $a : H;
8237
8237
  U(function() {
8238
8238
  var K = F.current;
8239
8239
  if (_ !== M.current.formattedValue && K) {
@@ -8319,7 +8319,7 @@ function Fx(e) {
8319
8319
  }
8320
8320
  return le.createElement("input", Object.assign({}, Ke, { ref: i }));
8321
8321
  }
8322
- function Ki(e, t) {
8322
+ function Xi(e, t) {
8323
8323
  var r = t.decimalScale, n = t.fixedDecimalScale, a = t.prefix;
8324
8324
  a === void 0 && (a = "");
8325
8325
  var i = t.suffix;
@@ -8327,7 +8327,7 @@ function Ki(e, t) {
8327
8327
  var s = t.allowNegative, l = t.thousandsGroupStyle;
8328
8328
  if (l === void 0 && (l = "thousand"), e === "" || e === "-")
8329
8329
  return e;
8330
- var c = Ln(t), u = c.thousandSeparator, d = c.decimalSeparator, p = r !== 0 && e.indexOf(".") !== -1 || r && n, f = jo(e, s), m = f.beforeDecimal, g = f.afterDecimal, b = f.addNegation;
8330
+ var c = Ln(t), u = c.thousandSeparator, d = c.decimalSeparator, p = r !== 0 && e.indexOf(".") !== -1 || r && n, f = Do(e, s), m = f.beforeDecimal, g = f.afterDecimal, b = f.addNegation;
8331
8331
  return r !== void 0 && (g = Ec(g, r, !!n)), u && (m = Ex(m, u, l)), a && (m = a + m), i && (g = g + i), b && (m = "-" + m), e = m + (p && d || "") + g, e;
8332
8332
  }
8333
8333
  function Ln(e) {
@@ -8382,7 +8382,7 @@ function Ux(e, t, r) {
8382
8382
  e = e.replace(new RegExp(Cc(g), "g"), function(F, Y) {
8383
8383
  return Y === M ? "." : "";
8384
8384
  });
8385
- var j = jo(e, a), P = j.beforeDecimal, G = j.afterDecimal, L = j.addNegation;
8385
+ var j = Do(e, a), P = j.beforeDecimal, G = j.afterDecimal, L = j.addNegation;
8386
8386
  return u.end - u.start < c.end - c.start && P === "" && b && !parseFloat(G) && (e = L ? "-" : ""), e;
8387
8387
  }
8388
8388
  function Wx(e, t) {
@@ -8422,13 +8422,13 @@ function zx(e) {
8422
8422
  var s = e.thousandSeparator, l = e.decimalScale, c = e.fixedDecimalScale, u = e.prefix;
8423
8423
  u === void 0 && (u = "");
8424
8424
  var d = e.defaultValue, p = e.value, f = e.valueIsNumericString, m = e.onValueChange, g = Dc(e, ["decimalSeparator", "allowedDecimalSeparators", "thousandsGroupStyle", "suffix", "allowNegative", "allowLeadingZeros", "onKeyDown", "onBlur", "thousandSeparator", "decimalScale", "fixedDecimalScale", "prefix", "defaultValue", "value", "valueIsNumericString", "onValueChange"]), b = Ln(e), v = b.decimalSeparator, h = b.allowedDecimalSeparators, w = function(L) {
8425
- return Ki(L, e);
8425
+ return Xi(L, e);
8426
8426
  }, N = function(L, F) {
8427
8427
  return Ux(L, F, e);
8428
8428
  }, x = tr(p) ? d : p, y = f ?? Gx(x, u, t);
8429
8429
  tr(p) ? tr(d) || (y = y || typeof d == "number") : y = y || typeof p == "number";
8430
8430
  var C = function(L) {
8431
- return Sc(L) ? L : (typeof L == "number" && (L = Ic(L)), y && typeof l == "number" ? qi(L, l, !!c) : L);
8431
+ return Sc(L) ? L : (typeof L == "number" && (L = Ic(L)), y && typeof l == "number" ? Yi(L, l, !!c) : L);
8432
8432
  }, E = Oc(C(p), C(d), !!y, w, N, m), _ = E[0], S = _.numAsString, O = _.formattedValue, A = E[1], M = function(L) {
8433
8433
  var F = L.target, Y = L.key, $ = F.selectionStart, q = F.selectionEnd, X = F.value;
8434
8434
  if (X === void 0 && (X = ""), (Y === "Backspace" || Y === "Delete") && q < u.length) {
@@ -8444,8 +8444,8 @@ function zx(e) {
8444
8444
  Y === "Backspace" && X[$ - 1] === re && Wt(F, $ - 1), Y === "Delete" && X[$] === re && Wt(F, $ + 1), a(L);
8445
8445
  }, j = function(L) {
8446
8446
  var F = S;
8447
- if (F.match(/\d/g) || (F = ""), n || (F = _x(F)), c && l && (F = qi(F, l, c)), F !== S) {
8448
- var Y = Ki(F, e);
8447
+ if (F.match(/\d/g) || (F = ""), n || (F = _x(F)), c && l && (F = Yi(F, l, c)), F !== S) {
8448
+ var Y = Xi(F, e);
8449
8449
  A({
8450
8450
  formattedValue: Y,
8451
8451
  value: F,
@@ -8479,7 +8479,7 @@ function zx(e) {
8479
8479
  onBlur: j
8480
8480
  });
8481
8481
  }
8482
- function Do(e) {
8482
+ function So(e) {
8483
8483
  var t = zx(e);
8484
8484
  return le.createElement(Fx, Object.assign({}, t));
8485
8485
  }
@@ -8510,7 +8510,7 @@ const qx = ({ InputContainer: e = cr, value: t, onChange: r, debounceMs: n, labe
8510
8510
  }, [_, x, N, S]), H(() => {
8511
8511
  !r || t === null || (x !== void 0 && t > x && r(x), N !== void 0 && t < N && r(N));
8512
8512
  }, [t, x, N, r]), /* @__PURE__ */ o.jsxs(e, { withoutLabel: i, label: a ?? "", hidden: c, className: f, hint: y, disabled: u, children: [
8513
- /* @__PURE__ */ o.jsx(Do, { displayType: "input", thousandSeparator: " ", decimalSeparator: ",", decimalScale: b, fixedDecimalScale: v, prefix: h, suffix: w, defaultValue: "", value: n ? _ : (t == null ? void 0 : t.toString()) ?? "", placeholder: s ?? a, onFocus: (M) => {
8513
+ /* @__PURE__ */ o.jsx(So, { displayType: "input", thousandSeparator: " ", decimalSeparator: ",", decimalScale: b, fixedDecimalScale: v, prefix: h, suffix: w, defaultValue: "", value: n ? _ : (t == null ? void 0 : t.toString()) ?? "", placeholder: s ?? a, onFocus: (M) => {
8514
8514
  !g && M.target.select();
8515
8515
  }, onChange: A, hidden: c, disabled: u, className: I("form-control text-end w-100", {
8516
8516
  [`form-control-${l}`]: l
@@ -8522,13 +8522,13 @@ const qx = ({ InputContainer: e = cr, value: t, onChange: r, debounceMs: n, labe
8522
8522
  l && l(u.target.value);
8523
8523
  }, [l]);
8524
8524
  return /* @__PURE__ */ o.jsx(e, { isForRadioInput: !0, hidden: a, withoutLabel: !t, label: `${t}`, className: i, disabled: n, children: r.map((u) => /* @__PURE__ */ o.jsx(Ee.Check, { id: `radio-${u.id}`, label: u.name, type: "radio", value: u.id ?? "", checked: s === u.id, onChange: c, hidden: a, disabled: n, className: "w-100" }, u.id)) });
8525
- }, Xi = [
8525
+ }, Qi = [
8526
8526
  ["D", "day"],
8527
8527
  // ['W', 'week'],
8528
8528
  ["M", "month"],
8529
8529
  ["Y", "year"],
8530
8530
  ["C", "custom"]
8531
- ], Kx = "_wrapper_qfqux_1", Xx = "_lg_qfqux_7", Qx = "_sm_qfqux_11", Jx = "_md_qfqux_14", Qi = {
8531
+ ], Kx = "_wrapper_qfqux_1", Xx = "_lg_qfqux_7", Qx = "_sm_qfqux_11", Jx = "_md_qfqux_14", Ji = {
8532
8532
  wrapper: Kx,
8533
8533
  lg: Xx,
8534
8534
  sm: Qx,
@@ -8617,13 +8617,13 @@ const qx = ({ InputContainer: e = cr, value: t, onChange: r, debounceMs: n, labe
8617
8617
  const m = Zx(e.from, e.to);
8618
8618
  l(m), f.current = !1;
8619
8619
  }
8620
- }, [e.from, e.to]), /* @__PURE__ */ o.jsxs("div", { className: I("d-inline-flex align-items-center gap-1", Qi.wrapper, Qi[n ?? "md"], r), children: [
8620
+ }, [e.from, e.to]), /* @__PURE__ */ o.jsxs("div", { className: I("d-inline-flex align-items-center gap-1", Ji.wrapper, Ji[n ?? "md"], r), children: [
8621
8621
  /* @__PURE__ */ o.jsx(te, { disabled: p, onClick: () => {
8622
8622
  c(-1);
8623
8623
  }, children: /* @__PURE__ */ o.jsx(i, { icon: "chevron-left" }) }),
8624
8624
  /* @__PURE__ */ o.jsx("div", { children: /* @__PURE__ */ o.jsxs("div", { className: "d-flex align-items-center gap-1", children: [
8625
8625
  /* @__PURE__ */ o.jsx(ct, { type: "date", value: e.from, onChange: (m) => d("from", m === null ? null : m.toString()), InputContainer: it, size: n }),
8626
- /* @__PURE__ */ o.jsx(dr, { toggle: /* @__PURE__ */ o.jsx(ur, { text: a[Xi.find((m) => m[0] === s)[1]].substring(0, 1), as: Pd }), children: Xi.map((m) => /* @__PURE__ */ o.jsx(st, { disabled: m[0] === s, className: I(m[0] === s ? "text-black-50" : ""), onClick: () => u(m[0]), role: "button", children: a[m[1]] }, m[0])) }),
8626
+ /* @__PURE__ */ o.jsx(dr, { toggle: /* @__PURE__ */ o.jsx(ur, { text: a[Qi.find((m) => m[0] === s)[1]].substring(0, 1), as: Pd }), children: Qi.map((m) => /* @__PURE__ */ o.jsx(st, { disabled: m[0] === s, className: I(m[0] === s ? "text-black-50" : ""), onClick: () => u(m[0]), role: "button", children: a[m[1]] }, m[0])) }),
8627
8627
  /* @__PURE__ */ o.jsx(ct, { type: "date", value: e.to, onChange: (m) => d("to", m === null ? null : m.toString()), InputContainer: it, size: n })
8628
8628
  ] }) }),
8629
8629
  /* @__PURE__ */ o.jsx(te, { disabled: p, onClick: () => {
@@ -8636,7 +8636,7 @@ const qx = ({ InputContainer: e = cr, value: t, onChange: r, debounceMs: n, labe
8636
8636
  }, [t, l]);
8637
8637
  return /* @__PURE__ */ o.jsx(Gu, { month: u, onChangeMonth: d, locale: i, yearMin: r, yearMax: n });
8638
8638
  }, qN = ({ defaultYear: e, searchKey: t = "yearFrom", ...r }) => {
8639
- const [n, a] = Ga(t, ba(e, { representation: "date" })), i = n ? zt(n) : e, s = T((l) => {
8639
+ const [n, a] = Ua(t, ba(e, { representation: "date" })), i = n ? zt(n) : e, s = T((l) => {
8640
8640
  a(ba(l, { representation: "date" }));
8641
8641
  }, [a]);
8642
8642
  return /* @__PURE__ */ o.jsx(Hu, { year: i, onChangeYear: s, ...r });
@@ -8803,7 +8803,7 @@ const qx = ({ InputContainer: e = cr, value: t, onChange: r, debounceMs: n, labe
8803
8803
  }
8804
8804
  t[r] = e[r].value;
8805
8805
  }), t;
8806
- }, Ji = (e, t) => {
8806
+ }, Zi = (e, t) => {
8807
8807
  const r = {};
8808
8808
  return Object.keys(e).forEach((n) => {
8809
8809
  var s;
@@ -8848,7 +8848,7 @@ const qx = ({ InputContainer: e = cr, value: t, onChange: r, debounceMs: n, labe
8848
8848
  dropdownItem: by,
8849
8849
  "special-option": "_special-option_134m5_24",
8850
8850
  specialOption: xy
8851
- }, Zi = 10, es = ({ value: e, field: t, disabled: r, valuesForSelect: n, onChangeHandler: a, separator: i }) => {
8851
+ }, es = 10, ts = ({ value: e, field: t, disabled: r, valuesForSelect: n, onChangeHandler: a, separator: i }) => {
8852
8852
  var v, h, w, N;
8853
8853
  const { texts: { dynamicForms: s } } = W(Q), [l, c] = k("");
8854
8854
  n == null || n.sort((x, y) => (x.name ?? "").localeCompare(y.name ?? ""));
@@ -8881,7 +8881,7 @@ const qx = ({ InputContainer: e = cr, value: t, onChange: r, debounceMs: n, labe
8881
8881
  return H(() => {
8882
8882
  g && m.current && m.current.focus();
8883
8883
  }, [g]), H(() => {
8884
- p.length < Zi && c("");
8884
+ p.length < es && c("");
8885
8885
  }, [p]), /* @__PURE__ */ o.jsxs(yr, { autoClose: "outside", onToggle: (x) => b(x), children: [
8886
8886
  /* @__PURE__ */ o.jsx(yr.Toggle, { variant: "light", ref: f, id: `multiselect-${t}`, size: "sm", className: I("bg-white border", Zt.multiselect), onKeyDown: (x) => {
8887
8887
  r || x.key === "Escape" && a(null);
@@ -8891,7 +8891,7 @@ const qx = ({ InputContainer: e = cr, value: t, onChange: r, debounceMs: n, labe
8891
8891
  top: (w = f.current) == null ? void 0 : w.getBoundingClientRect().bottom,
8892
8892
  maxWidth: `max(300px, ${(N = f.current) == null ? void 0 : N.getBoundingClientRect().width}px)`
8893
8893
  }, children: [
8894
- p.length >= Zi ? /* @__PURE__ */ o.jsx(yr.Item, { className: I("rounded", Zt.dropdownItem, Zt.searchItem), children: /* @__PURE__ */ o.jsx(Ee.Control, { ref: m, type: "search", size: "sm", value: l, onChange: (x) => c(x.target.value ?? ""), className: "w-100" }) }) : null,
8894
+ p.length >= es ? /* @__PURE__ */ o.jsx(yr.Item, { className: I("rounded", Zt.dropdownItem, Zt.searchItem), children: /* @__PURE__ */ o.jsx(Ee.Control, { ref: m, type: "search", size: "sm", value: l, onChange: (x) => c(x.target.value ?? ""), className: "w-100" }) }) : null,
8895
8895
  p.filter((x) => x.specialOption ? !0 : l ? Je(x.value, l) : !0).map((x) => /* @__PURE__ */ o.jsx(yr.Item, { onClick: () => !r && d(x.value, x.specialOption), disabled: r, className: I("rounded", Zt.dropdownItem, { [Zt.specialOption]: x.specialOption }, { "text-muted": r }), children: /* @__PURE__ */ o.jsx(Ee.Check, { disabled: r, label: x.label, checked: x.specialOption ? u.length === x.value.split(i).length && u.every((y) => x.value.split(i).includes(y)) : u.includes(x.value), onChange: () => {
8896
8896
  } }) }, x.value))
8897
8897
  ] })
@@ -8900,9 +8900,9 @@ const qx = ({ InputContainer: e = cr, value: t, onChange: r, debounceMs: n, labe
8900
8900
  var g;
8901
8901
  switch (e) {
8902
8902
  case "NUM":
8903
- return s && s.length > 0 ? f ? /* @__PURE__ */ o.jsx(es, { field: r, value: (t == null ? void 0 : t.toString()) ?? "", separator: m ?? ",", onChangeHandler: (b) => c(r, b), valuesForSelect: s, disabled: a ? !0 : n ? !i : !1 }) : /* @__PURE__ */ o.jsx(dt, { withoutLabel: !0, InputContainer: it, className: ht.input, size: "sm", value: (t == null ? void 0 : t.toString()) ?? "", onChange: (b) => c(r, b === null ? null : Number(b)), options: s, disabled: a ? !0 : n ? !i : !1, showClearIcon: !u, clearValue: d, dropdownWidth: 200 }) : /* @__PURE__ */ o.jsx(ct, { withoutLabel: !0, InputContainer: it, className: ht.input, size: "sm", type: "number", value: t === null ? null : Number(t), onChange: (b) => c(r, b === null ? null : Number(b)), disabled: a ? !0 : n ? !i : !1, showClearIcon: !u, clearValue: d });
8903
+ return s && s.length > 0 ? f ? /* @__PURE__ */ o.jsx(ts, { field: r, value: (t == null ? void 0 : t.toString()) ?? "", separator: m ?? ",", onChangeHandler: (b) => c(r, b), valuesForSelect: s, disabled: a ? !0 : n ? !i : !1 }) : /* @__PURE__ */ o.jsx(dt, { withoutLabel: !0, InputContainer: it, className: ht.input, size: "sm", value: (t == null ? void 0 : t.toString()) ?? "", onChange: (b) => c(r, b === null ? null : Number(b)), options: s, disabled: a ? !0 : n ? !i : !1, showClearIcon: !u, clearValue: d, dropdownWidth: 200 }) : /* @__PURE__ */ o.jsx(ct, { withoutLabel: !0, InputContainer: it, className: ht.input, size: "sm", type: "number", value: t === null ? null : Number(t), onChange: (b) => c(r, b === null ? null : Number(b)), disabled: a ? !0 : n ? !i : !1, showClearIcon: !u, clearValue: d });
8904
8904
  case "STR":
8905
- return s && s.length > 0 ? f ? /* @__PURE__ */ o.jsx(es, { field: r, value: (t == null ? void 0 : t.toString()) ?? "", separator: m ?? ",", onChangeHandler: (b) => {
8905
+ return s && s.length > 0 ? f ? /* @__PURE__ */ o.jsx(ts, { field: r, value: (t == null ? void 0 : t.toString()) ?? "", separator: m ?? ",", onChangeHandler: (b) => {
8906
8906
  c(r, b);
8907
8907
  }, valuesForSelect: s, disabled: a ? !0 : n ? !i : !1 }) : /* @__PURE__ */ o.jsx(dt, { withoutLabel: !0, InputContainer: it, className: ht.input, size: "sm", value: (t == null ? void 0 : t.toString()) ?? "", onChange: (b) => c(r, (b == null ? void 0 : b.toString()) ?? null), options: s, disabled: a ? !0 : n ? !i : !1, showClearIcon: !u, clearValue: d, dropdownWidth: 200 }) : /* @__PURE__ */ o.jsx(ct, { withoutLabel: !0, InputContainer: it, className: I(ht.input, ht.longer), size: "sm", type: "text", value: (t == null ? void 0 : t.toString()) ?? "", onChange: (b) => c(r, (b == null ? void 0 : b.toString()) ?? null), disabled: a ? !0 : n ? !i : !1, showClearIcon: !u, clearValue: d });
8908
8908
  case "BIT":
@@ -8957,7 +8957,7 @@ const qx = ({ InputContainer: e = cr, value: t, onChange: r, debounceMs: n, labe
8957
8957
  var v, h;
8958
8958
  return /* @__PURE__ */ o.jsx(te, { as: "link", href: `${ar(l, { id: (v = g.id) == null ? void 0 : v.toString() })}?type=dynamic-form&masterId=${(h = u.id) == null ? void 0 : h.value}`, children: /* @__PURE__ */ o.jsx(We, { text: g.name ?? "", placement: "left", children: /* @__PURE__ */ o.jsx("div", { children: /* @__PURE__ */ o.jsxs(z, { variant: "body", className: "d-flex align-items-center text-primary", children: [
8959
8959
  e.slaves.length > 1 ? /* @__PURE__ */ o.jsx(z, { variant: "caption", className: "text-primary", children: b + 1 }) : null,
8960
- /* @__PURE__ */ o.jsx(Ps, {})
8960
+ /* @__PURE__ */ o.jsx(Ts, {})
8961
8961
  ] }) }) }) }, g.id);
8962
8962
  }) : null,
8963
8963
  /* @__PURE__ */ o.jsx(te, { color: "danger", onClick: () => i(u[e.primaryKey ?? ""].value), children: /* @__PURE__ */ o.jsx(c, { icon: "delete" }) })
@@ -9095,9 +9095,9 @@ const qx = ({ InputContainer: e = cr, value: t, onChange: r, debounceMs: n, labe
9095
9095
  /* @__PURE__ */ o.jsx(wy, { schema: e, columns: g, setColumns: b, onCreate: a, customPickers: p })
9096
9096
  ] })
9097
9097
  ] });
9098
- }, _y = ({ master: e, onChange: t, options: r, label: n }) => /* @__PURE__ */ o.jsx("div", { style: { minWidth: "200px" }, children: /* @__PURE__ */ o.jsx(dt, { label: n, value: e, onChange: (a) => t(a ? a.toString() : null), options: r, size: "sm" }) }), Oy = "_pagination_gujwe_1", ts = {
9098
+ }, _y = ({ master: e, onChange: t, options: r, label: n }) => /* @__PURE__ */ o.jsx("div", { style: { minWidth: "200px" }, children: /* @__PURE__ */ o.jsx(dt, { label: n, value: e, onChange: (a) => t(a ? a.toString() : null), options: r, size: "sm" }) }), Oy = "_pagination_gujwe_1", rs = {
9099
9099
  pagination: Oy
9100
- }, rs = {
9100
+ }, ns = {
9101
9101
  appDetail: "/settings/:id"
9102
9102
  }, Ft = {
9103
9103
  apiSchemaGet: "/dynamicForms/schema",
@@ -9106,9 +9106,9 @@ const qx = ({ InputContainer: e = cr, value: t, onChange: r, debounceMs: n, labe
9106
9106
  apiItemDelete: "/dynamicForms/delete",
9107
9107
  apiItemCreate: "/dynamicForms/insert",
9108
9108
  apiExportGet: "/dynamicForms/export"
9109
- }, XN = ({ id: e, page: t, setPage: r, filters: n, setFilter: a, sortByField: i, sortByType: s, setSortBy: l, appUrls: { appDetail: c = rs.appDetail } = rs, apiUrls: { apiSchemaGet: u = Ft.apiSchemaGet, apiDataGet: d = Ft.apiDataGet, apiItemPost: p = Ft.apiItemPost, apiItemDelete: f = Ft.apiItemDelete, apiItemCreate: m = Ft.apiItemCreate, apiExportGet: g = Ft.apiExportGet } = Ft, customPickers: b }) => {
9110
- var Me, nt, at, Xt, Co, Eo, Io;
9111
- const { texts: { dynamicForms: v }, ProjectIconComponent: h } = W(Q), w = rt(), { startLoading: N, stopLoading: x } = W(Rt), [y, C] = k(null), [E, _] = k(null), [S, O] = k(null), [A, M] = k(null), [j, P] = k(!1), { addNotification: G } = Gr(), [L, F] = k([]), { confirm: Y } = At(), $ = 20, q = $ + 1, X = A ? Math.ceil(A.length / $) : 1, re = t ? t > 1 : !1, ie = t ? t < X : !1, se = t ? (t - 1) * $ : 0, be = t ? t * $ : $, U = R(() => A ? A.length > q : !1, [A, q]), ae = R(() => U ? (A == null ? void 0 : A.slice(se, be)) ?? null : A ?? null, [U, A, se, be]), [me, Se] = Ga("masterId", null, "string"), [pe, B] = k(me);
9109
+ }, XN = ({ id: e, page: t, setPage: r, filters: n, setFilter: a, sortByField: i, sortByType: s, setSortBy: l, appUrls: { appDetail: c = ns.appDetail } = ns, apiUrls: { apiSchemaGet: u = Ft.apiSchemaGet, apiDataGet: d = Ft.apiDataGet, apiItemPost: p = Ft.apiItemPost, apiItemDelete: f = Ft.apiItemDelete, apiItemCreate: m = Ft.apiItemCreate, apiExportGet: g = Ft.apiExportGet } = Ft, customPickers: b }) => {
9110
+ var Me, nt, at, Xt, Eo, Io, _o;
9111
+ const { texts: { dynamicForms: v }, ProjectIconComponent: h } = W(Q), w = rt(), { startLoading: N, stopLoading: x } = W(Rt), [y, C] = k(null), [E, _] = k(null), [S, O] = k(null), [A, M] = k(null), [j, P] = k(!1), { addNotification: G } = Gr(), [L, F] = k([]), { confirm: Y } = At(), $ = 20, q = $ + 1, X = A ? Math.ceil(A.length / $) : 1, re = t ? t > 1 : !1, ie = t ? t < X : !1, se = t ? (t - 1) * $ : 0, be = t ? t * $ : $, U = R(() => A ? A.length > q : !1, [A, q]), ae = R(() => U ? (A == null ? void 0 : A.slice(se, be)) ?? null : A ?? null, [U, A, se, be]), [me, Se] = Ua("masterId", null, "string"), [pe, B] = k(me);
9112
9112
  H(() => {
9113
9113
  C(null), _(null), P(!1), F([]);
9114
9114
  }, [e]), H(() => {
@@ -9144,7 +9144,7 @@ const qx = ({ InputContainer: e = cr, value: t, onChange: r, debounceMs: n, labe
9144
9144
  }, [w, e, y, N, x, j, pe, g]), Ke = T(async (oe) => (N("dynamicFormEdit"), w.post(`${p}?id=${e}`, oe).then(() => (x("dynamicFormEdit"), F([]), !0)).catch((ve) => (x("dynamicFormEdit"), F(Fn(ve)), !1))), [w, e, N, x, p]), gt = T(async (oe) => (N("dynamicFormDelete"), w.delete(`${f}?id=${e}&pk=${oe}`).then(() => (x("dynamicFormDelete"), F([]), !0)).catch((ve) => (x("dynamicFormDelete"), F(Fn(ve)), !1))), [w, e, N, x, f]), K = T(async (oe) => (N("dynamicFormCreate"), w.post(`${m}?id=${e}`, oe).then(({ data: ve }) => (x("dynamicFormCreate"), F([]), ve)).catch((ve) => (x("dynamicFormCreate"), F(Fn(ve)), null))), [w, e, N, x, m]), V = T(async (oe) => {
9145
9145
  y && await Ke(y.masterReference ? { ...oe, [y.masterReferenceColumn ?? ""]: pe } : oe) && (G(v.editSuccess, "success"), _((ve) => ve && ve.map((je) => {
9146
9146
  var he;
9147
- return ((he = je[(y == null ? void 0 : y.primaryKey) ?? ""]) == null ? void 0 : he.value) === oe[(y == null ? void 0 : y.primaryKey) ?? ""] ? Ji(oe, y) : je;
9147
+ return ((he = je[(y == null ? void 0 : y.primaryKey) ?? ""]) == null ? void 0 : he.value) === oe[(y == null ? void 0 : y.primaryKey) ?? ""] ? Zi(oe, y) : je;
9148
9148
  })));
9149
9149
  }, [G, Ke, y, pe, v]), ee = T(async (oe) => {
9150
9150
  await Y(v.deleteConfirm) && await gt(oe) && (G(v.deleteSuccess, "success"), _((ve) => ve && ve.filter((je) => {
@@ -9157,7 +9157,7 @@ const qx = ({ InputContainer: e = cr, value: t, onChange: r, debounceMs: n, labe
9157
9157
  const ve = await K(y.masterReference ? { ...oe, [y.masterReferenceColumn ?? ""]: pe } : oe);
9158
9158
  if (ve !== null) {
9159
9159
  G(v.createSuccess, "success");
9160
- const je = Ji(oe, y);
9160
+ const je = Zi(oe, y);
9161
9161
  return je[(y == null ? void 0 : y.primaryKey) ?? ""] = { value: ve, defaultValue: ve }, _((he) => [...he ?? [], je]), !0;
9162
9162
  }
9163
9163
  return !1;
@@ -9250,12 +9250,12 @@ const qx = ({ InputContainer: e = cr, value: t, onChange: r, debounceMs: n, labe
9250
9250
  (y == null ? void 0 : y.masterReference) && /* @__PURE__ */ o.jsx(_y, { label: ((nt = (Me = y.columns) == null ? void 0 : Me.find((oe) => oe.field === y.masterReferenceColumn)) == null ? void 0 : nt.caption) ?? "", options: ((Xt = (at = y.columns) == null ? void 0 : at.find((oe) => oe.field === y.masterReferenceColumn)) == null ? void 0 : Xt.values) ?? [], master: pe, onChange: (oe) => B(oe) })
9251
9251
  ] }),
9252
9252
  /* @__PURE__ */ o.jsxs("div", { className: "d-flex align-items-center gap-1", children: [
9253
- (Co = y == null ? void 0 : y.slaves) == null ? void 0 : Co.map((oe, ve) => {
9253
+ (Eo = y == null ? void 0 : y.slaves) == null ? void 0 : Eo.map((oe, ve) => {
9254
9254
  var je;
9255
9255
  return /* @__PURE__ */ o.jsxs(bt, { as: "link", href: `${ar(c, { id: (je = oe.id) == null ? void 0 : je.toString() })}?type=dynamic-form`, children: [
9256
9256
  /* @__PURE__ */ o.jsxs("div", { className: "d-flex align-items-center", children: [
9257
9257
  y.slaves.length > 1 ? /* @__PURE__ */ o.jsx(z, { variant: "caption", className: "text-primary", children: ve + 1 }) : null,
9258
- /* @__PURE__ */ o.jsx(Ps, {})
9258
+ /* @__PURE__ */ o.jsx(Ts, {})
9259
9259
  ] }),
9260
9260
  oe.name
9261
9261
  ] }, oe.id);
@@ -9268,11 +9268,11 @@ const qx = ({ InputContainer: e = cr, value: t, onChange: r, debounceMs: n, labe
9268
9268
  ] })
9269
9269
  ] }),
9270
9270
  (y == null ? void 0 : y.description) && /* @__PURE__ */ o.jsx(z, { variant: "body2", className: "mb-3", children: y == null ? void 0 : y.description }),
9271
- y != null && y.masterReference && !pe ? /* @__PURE__ */ o.jsx(mt, { variant: "warning", children: v.selectMaster(((Io = (Eo = y.columns) == null ? void 0 : Eo.find((oe) => oe.field === y.masterReferenceColumn)) == null ? void 0 : Io.caption) ?? "").toLowerCase() }) : /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
9271
+ y != null && y.masterReference && !pe ? /* @__PURE__ */ o.jsx(mt, { variant: "warning", children: v.selectMaster(((_o = (Io = y.columns) == null ? void 0 : Io.find((oe) => oe.field === y.masterReferenceColumn)) == null ? void 0 : _o.caption) ?? "").toLowerCase() }) : /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
9272
9272
  y && L.length > 0 && /* @__PURE__ */ o.jsx("div", { className: "mb-2", children: /* @__PURE__ */ o.jsx(ry, { errors: L, schema: y }) }),
9273
9273
  y && /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
9274
- /* @__PURE__ */ o.jsx("div", { className: I("rounded border overflow-auto", ts.tableContainer), children: /* @__PURE__ */ o.jsx(Iy, { schema: y, items: !U && A && (A == null ? void 0 : A.length) > q ? [] : (U ? ae : A) ?? [], onEditItem: V, onDeleteItem: ee, onCreateItem: ue, filters: n, setFilter: a, sortByField: i, sortByType: s, setSortBy: l, selectedMaster: (pe == null ? void 0 : pe.toString()) ?? null, customPickers: b, appDetail: c }) }),
9275
- U && t && /* @__PURE__ */ o.jsxs("div", { className: I(ts.pagination, "d-flex align-items-center gap-3 p-1 border-bottom border-start border-end rounded"), children: [
9274
+ /* @__PURE__ */ o.jsx("div", { className: I("rounded border overflow-auto", rs.tableContainer), children: /* @__PURE__ */ o.jsx(Iy, { schema: y, items: !U && A && (A == null ? void 0 : A.length) > q ? [] : (U ? ae : A) ?? [], onEditItem: V, onDeleteItem: ee, onCreateItem: ue, filters: n, setFilter: a, sortByField: i, sortByType: s, setSortBy: l, selectedMaster: (pe == null ? void 0 : pe.toString()) ?? null, customPickers: b, appDetail: c }) }),
9275
+ U && t && /* @__PURE__ */ o.jsxs("div", { className: I(rs.pagination, "d-flex align-items-center gap-3 p-1 border-bottom border-start border-end rounded"), children: [
9276
9276
  /* @__PURE__ */ o.jsxs("div", { className: "d-flex align-items-center gap-1", children: [
9277
9277
  /* @__PURE__ */ o.jsx(te, { color: "primary", onClick: () => Ce(1), disabled: !re, children: /* @__PURE__ */ o.jsx(h, { icon: "chevron-double-left" }) }),
9278
9278
  /* @__PURE__ */ o.jsx(te, { color: "primary", onClick: () => Ce(t - 1), disabled: !re, children: /* @__PURE__ */ o.jsx(h, { icon: "chevron-left" }) }),
@@ -9292,12 +9292,12 @@ const qx = ({ InputContainer: e = cr, value: t, onChange: r, debounceMs: n, labe
9292
9292
  ] })
9293
9293
  ] })
9294
9294
  ] });
9295
- }, ns = {
9296
- appDetail: "/settings/:id"
9297
9295
  }, as = {
9296
+ appDetail: "/settings/:id"
9297
+ }, os = {
9298
9298
  apiDynamicFormsGet: "/dynamicForms"
9299
- }, Py = ({ item: e, children: t }) => e.description ? /* @__PURE__ */ o.jsx(We, { placement: "left", text: e.description ?? "", children: /* @__PURE__ */ o.jsx("div", { children: t }) }) : /* @__PURE__ */ o.jsx(o.Fragment, { children: t }), QN = ({ activeId: e, otherForms: t = [], groupsDefs: r = [], searchQuery: n, fullSize: a, appUrls: { appDetail: i = ns.appDetail } = ns, apiUrls: { apiDynamicFormsGet: s = as.apiDynamicFormsGet } = as }) => {
9300
- const l = rt(), { startLoading: c, stopLoading: u } = W(Rt), [d, p] = k(null), [f] = Ga("search", ""), m = R(() => [
9299
+ }, Py = ({ item: e, children: t }) => e.description ? /* @__PURE__ */ o.jsx(We, { placement: "left", text: e.description ?? "", children: /* @__PURE__ */ o.jsx("div", { children: t }) }) : /* @__PURE__ */ o.jsx(o.Fragment, { children: t }), QN = ({ activeId: e, otherForms: t = [], groupsDefs: r = [], searchQuery: n, fullSize: a, appUrls: { appDetail: i = as.appDetail } = as, apiUrls: { apiDynamicFormsGet: s = os.apiDynamicFormsGet } = os }) => {
9300
+ const l = rt(), { startLoading: c, stopLoading: u } = W(Rt), [d, p] = k(null), [f] = Ua("search", ""), m = R(() => [
9301
9301
  ...(d == null ? void 0 : d.map((v) => ({
9302
9302
  ...v,
9303
9303
  type: "dynamic-form"
@@ -9359,7 +9359,7 @@ const qx = ({ InputContainer: e = cr, value: t, onChange: r, debounceMs: n, labe
9359
9359
  smSrc: l,
9360
9360
  lgSrc: s
9361
9361
  }
9362
- ], placeholder: r, ImgComponent: Wi }) : /* @__PURE__ */ o.jsx(Wi, { baseUrl: n, customToken: i.cafmToken ?? void 0, src: l, alt: t, placeholder: r, className: "rounded w-100" }) }) });
9362
+ ], placeholder: r, ImgComponent: Hi }) : /* @__PURE__ */ o.jsx(Hi, { baseUrl: n, customToken: i.cafmToken ?? void 0, src: l, alt: t, placeholder: r, className: "rounded w-100" }) }) });
9363
9363
  }, rj = ({ text: e, setText: t, onSearchButtonClick: r, className: n }) => {
9364
9364
  const a = (i) => {
9365
9365
  t(i);
@@ -9369,7 +9369,7 @@ const qx = ({ InputContainer: e = cr, value: t, onChange: r, debounceMs: n, labe
9369
9369
  e && /* @__PURE__ */ o.jsx(ma, { onClick: () => a(""), variant: "link", className: "border text-muted", children: /* @__PURE__ */ o.jsx(Pt, {}) }),
9370
9370
  /* @__PURE__ */ o.jsx(ma, { onClick: () => r && r(e), variant: "link", className: "border", children: /* @__PURE__ */ o.jsx(Ld, {}) })
9371
9371
  ] });
9372
- }, nj = ({ value: e, numberPrefix: t, numberSuffix: r, decimalScale: n = 2, fixedDecimalScale: a = !1, className: i }) => /* @__PURE__ */ o.jsx(Do, { value: e, displayType: "text", thousandSeparator: " ", decimalScale: n, fixedDecimalScale: a, defaultValue: "", prefix: t, suffix: r, className: i, decimalSeparator: "," }), aj = ({ data: e, keys: t, colors: r, tooltipLabel: n }) => /* @__PURE__ */ o.jsx(Md, { data: e.map((a) => ({ name: a.name, ...a.values })), indexBy: "name", keys: t, margin: {
9372
+ }, nj = ({ value: e, numberPrefix: t, numberSuffix: r, decimalScale: n = 2, fixedDecimalScale: a = !1, className: i }) => /* @__PURE__ */ o.jsx(So, { value: e, displayType: "text", thousandSeparator: " ", decimalScale: n, fixedDecimalScale: a, defaultValue: "", prefix: t, suffix: r, className: i, decimalSeparator: "," }), aj = ({ data: e, keys: t, colors: r, tooltipLabel: n }) => /* @__PURE__ */ o.jsx(Md, { data: e.map((a) => ({ name: a.name, ...a.values })), indexBy: "name", keys: t, margin: {
9373
9373
  top: 20,
9374
9374
  right: 50,
9375
9375
  bottom: 30,
@@ -9407,14 +9407,14 @@ const qx = ({ InputContainer: e = cr, value: t, onChange: r, debounceMs: n, labe
9407
9407
  /* @__PURE__ */ o.jsx(z, { variant: "body2", className: "text-uppercase", children: r(i) }),
9408
9408
  /* @__PURE__ */ o.jsxs(z, { variant: "caption", className: "d-flex justify-content-between align-items-center gap-3 text-dark", children: [
9409
9409
  s.name,
9410
- /* @__PURE__ */ o.jsx(z, { variant: "caption", className: "text-end opacity-50", children: Ts(s.lastUsedDate) })
9410
+ /* @__PURE__ */ o.jsx(z, { variant: "caption", className: "text-end opacity-50", children: Fa(s.lastUsedDate) })
9411
9411
  ] })
9412
9412
  ] }))) }) }) });
9413
- }, os = ({ reportVersion: e, getReportRoute: t, report: r }) => /* @__PURE__ */ o.jsx(In, { as: Ye, to: t(r, e.id), className: "p-1 px-2", action: !0, children: /* @__PURE__ */ o.jsx(z, { variant: "body2", className: "d-flex justify-content-between align-items-center gap-3", children: /* @__PURE__ */ o.jsx("div", { className: "link", children: e.name }) }) }), on = 5, is = ({ versionsList: e, getReportRoute: t, report: r }) => {
9413
+ }, is = ({ reportVersion: e, getReportRoute: t, report: r }) => /* @__PURE__ */ o.jsx(In, { as: Ye, to: t(r, e.id), className: "p-1 px-2", action: !0, children: /* @__PURE__ */ o.jsx(z, { variant: "body2", className: "d-flex justify-content-between align-items-center gap-3", children: /* @__PURE__ */ o.jsx("div", { className: "link", children: e.name }) }) }), on = 5, ss = ({ versionsList: e, getReportRoute: t, report: r }) => {
9414
9414
  const { ProjectIconComponent: n } = W(Q), [a, i] = k(!0), s = R(() => e.length <= on ? e : e.slice(0, on - 1), [e]), l = R(() => e.length <= on ? [] : e.slice(on - 1), [e]);
9415
9415
  return /* @__PURE__ */ o.jsx(o.Fragment, { children: /* @__PURE__ */ o.jsxs(Or, { children: [
9416
- s.map((c) => /* @__PURE__ */ o.jsx(os, { reportVersion: c, getReportRoute: t, report: r })),
9417
- a ? null : l.map((c) => /* @__PURE__ */ o.jsx(os, { reportVersion: c, getReportRoute: t, report: r })),
9416
+ s.map((c) => /* @__PURE__ */ o.jsx(is, { reportVersion: c, getReportRoute: t, report: r })),
9417
+ a ? null : l.map((c) => /* @__PURE__ */ o.jsx(is, { reportVersion: c, getReportRoute: t, report: r })),
9418
9418
  l.length > 0 && /* @__PURE__ */ o.jsx(In, { onClick: () => i((c) => !c), className: "py-0 d-flex justify-content-center", children: a ? /* @__PURE__ */ o.jsx(n, { icon: "chevron-down" }) : /* @__PURE__ */ o.jsx(n, { icon: "chevron-up" }) })
9419
9419
  ] }) });
9420
9420
  }, $y = ({ report: e, getReportRoute: t, getReportName: r, getReportDescription: n }) => {
@@ -9428,9 +9428,9 @@ const qx = ({ InputContainer: e = cr, value: t, onChange: r, debounceMs: n, labe
9428
9428
  contentClassName: "d-flex flex-column gap-2 h-100",
9429
9429
  children: [
9430
9430
  /* @__PURE__ */ o.jsx(z, { variant: "body2", className: "px-2", children: n(e) }),
9431
- /* @__PURE__ */ o.jsxs(za, { className: "h-100 g-2", children: [
9432
- e.versions && e.versions.length > 0 ? /* @__PURE__ */ o.jsx(vn, { ...a, children: /* @__PURE__ */ o.jsx(is, { versionsList: e.versions, getReportRoute: t, report: e }) }) : null,
9433
- e.versionsCustom && e.versionsCustom.length > 0 ? /* @__PURE__ */ o.jsx(vn, { ...a, children: /* @__PURE__ */ o.jsx(is, { versionsList: e.versionsCustom, getReportRoute: t, report: e }) }) : null
9431
+ /* @__PURE__ */ o.jsxs(qa, { className: "h-100 g-2", children: [
9432
+ e.versions && e.versions.length > 0 ? /* @__PURE__ */ o.jsx(vn, { ...a, children: /* @__PURE__ */ o.jsx(ss, { versionsList: e.versions, getReportRoute: t, report: e }) }) : null,
9433
+ e.versionsCustom && e.versionsCustom.length > 0 ? /* @__PURE__ */ o.jsx(vn, { ...a, children: /* @__PURE__ */ o.jsx(ss, { versionsList: e.versionsCustom, getReportRoute: t, report: e }) }) : null
9434
9434
  ] })
9435
9435
  ]
9436
9436
  }
@@ -9439,7 +9439,7 @@ const qx = ({ InputContainer: e = cr, value: t, onChange: r, debounceMs: n, labe
9439
9439
  reportsGet: "/reports",
9440
9440
  reportsLastUsedGet: "/reports/last-used"
9441
9441
  }, oj = ({ groups: e, apiUrls: { reportsGet: t = ca.reportsGet, reportsLastUsedGet: r = ca.reportsLastUsedGet } = ca, getReportName: n, getReportDescription: a, getGroupTitle: i, getReportRoute: s }) => {
9442
- const { texts: { reports: l } } = W(Q), [c, u] = k(""), [d] = Fa(c, 500), p = T((v) => v.map((h) => ({
9442
+ const { texts: { reports: l } } = W(Q), [c, u] = k(""), [d] = Va(c, 500), p = T((v) => v.map((h) => ({
9443
9443
  ...h,
9444
9444
  groupId: !h.groupId || h.groupId === 0 || !e.some((w) => w === h.groupId) ? 999 : h.groupId
9445
9445
  })), [e]), { data: f } = et(t, { dataTransformer: p }), m = R(() => {
@@ -9463,7 +9463,7 @@ const qx = ({ InputContainer: e = cr, value: t, onChange: r, debounceMs: n, labe
9463
9463
  /* @__PURE__ */ o.jsx("div", { className: I(er.groupContent), children: /* @__PURE__ */ o.jsx("div", { className: I("row gx-3 gy-3"), children: m[v].map((h) => /* @__PURE__ */ o.jsx($y, { report: h, getReportRoute: s, getReportName: n, getReportDescription: a })) }) })
9464
9464
  ] }, v)) })
9465
9465
  ] });
9466
- }, Gy = "_mini-detail-popover_obryf_1", Uy = "_sm_obryf_5", Wy = "_lg_obryf_9", ss = {
9466
+ }, Gy = "_mini-detail-popover_obryf_1", Uy = "_sm_obryf_5", Wy = "_lg_obryf_9", ls = {
9467
9467
  "mini-detail-popover": "_mini-detail-popover_obryf_1",
9468
9468
  miniDetailPopover: Gy,
9469
9469
  sm: Uy,
@@ -9498,7 +9498,7 @@ const qx = ({ InputContainer: e = cr, value: t, onChange: r, debounceMs: n, labe
9498
9498
  /* @__PURE__ */ o.jsx("span", { className: "placeholder col-5" }),
9499
9499
  /* @__PURE__ */ o.jsx("span", { className: "placeholder col-4" })
9500
9500
  ] })
9501
- ] }) : d }), placement: n, trigger: a, popoverClassName: I(ss.miniDetailPopover, ss[f]), children: /* @__PURE__ */ o.jsx("div", { children: e }) }) : /* @__PURE__ */ o.jsx(o.Fragment, { children: e }) });
9501
+ ] }) : d }), placement: n, trigger: a, popoverClassName: I(ls.miniDetailPopover, ls[f]), children: /* @__PURE__ */ o.jsx("div", { children: e }) }) : /* @__PURE__ */ o.jsx(o.Fragment, { children: e }) });
9502
9502
  }, sj = ({ label: e, value: t }) => /* @__PURE__ */ o.jsxs("div", { className: "py-1 border-bottom d-flex gap-3 align-items-center justify-content-between", children: [
9503
9503
  /* @__PURE__ */ o.jsx(z, { variant: "caption", children: e }),
9504
9504
  /* @__PURE__ */ o.jsx(z, { variant: "body2", className: "text-end", children: t ?? "-" })
@@ -9553,7 +9553,7 @@ const qx = ({ InputContainer: e = cr, value: t, onChange: r, debounceMs: n, labe
9553
9553
  }, children: "A" }) }) }) : i(u.state, !0),
9554
9554
  /* @__PURE__ */ o.jsxs("div", { className: "text-end", children: [
9555
9555
  /* @__PURE__ */ o.jsx(z, { variant: "body2", children: u.delegatedApprover ? u.delegatedApprover.name : u.approver.name }),
9556
- u.responseDate ? /* @__PURE__ */ o.jsx(z, { variant: "caption", children: Ts(u.responseDate) }) : null
9556
+ u.responseDate ? /* @__PURE__ */ o.jsx(z, { variant: "caption", children: Fa(u.responseDate) }) : null
9557
9557
  ] })
9558
9558
  ] }) }, u.id)) }) : null
9559
9559
  };
@@ -9710,7 +9710,7 @@ const qx = ({ InputContainer: e = cr, value: t, onChange: r, debounceMs: n, labe
9710
9710
  }, [G]), /* @__PURE__ */ o.jsx(o.Fragment, { children: /* @__PURE__ */ o.jsxs(e, { label: r ?? "", required: l, disabled: K, hidden: c, withoutLabel: v, isInvalid: Ge, inputContainerClassName: I({ "luminus-dropdown-select-open": re }), hint: _, className: C, children: [
9711
9711
  /* @__PURE__ */ o.jsxs(Ba, { currentSelection: me, selectedItemNavigateTo: f, children: [
9712
9712
  x && (me == null ? void 0 : me.name) && /* @__PURE__ */ o.jsx(z, { variant: "caption", className: "d-flex justify-content-end mt-2 luminus-dropdown-selection-name", children: me.name }),
9713
- /* @__PURE__ */ o.jsx($a, { control: Y, name: t, render: () => /* @__PURE__ */ o.jsx(La, { value: U, MiniDetailComponent: A, miniDetailPlacement: M, children: /* @__PURE__ */ o.jsx(Ee.Select, { size: n, onMouseDown: (V) => {
9713
+ /* @__PURE__ */ o.jsx(Ga, { control: Y, name: t, render: () => /* @__PURE__ */ o.jsx(La, { value: U, MiniDetailComponent: A, miniDetailPlacement: M, children: /* @__PURE__ */ o.jsx(Ee.Select, { size: n, onMouseDown: (V) => {
9714
9714
  V.currentTarget.focus(), V.preventDefault();
9715
9715
  }, onClick: () => {
9716
9716
  !Ke && !K && ie(!0);
@@ -9722,7 +9722,7 @@ const qx = ({ InputContainer: e = cr, value: t, onChange: r, debounceMs: n, labe
9722
9722
  w || !K && Ke ? /* @__PURE__ */ o.jsxs("div", { className: "custom-picker-button", children: [
9723
9723
  !w && !K && Ke && /* @__PURE__ */ o.jsx(te, { size: "sm", color: "secondary", onClick: (V) => {
9724
9724
  V.preventDefault(), V.stopPropagation(), ie(!0);
9725
- }, children: N ?? /* @__PURE__ */ o.jsx(Is, {}) }),
9725
+ }, children: N ?? /* @__PURE__ */ o.jsx(_s, {}) }),
9726
9726
  w ?? null
9727
9727
  ] }) : null
9728
9728
  ] }),
@@ -9757,7 +9757,7 @@ const qx = ({ InputContainer: e = cr, value: t, onChange: r, debounceMs: n, labe
9757
9757
  return H(() => {
9758
9758
  s(Object.keys(n.dirtyFields).length > 0);
9759
9759
  }, [n]), i ? /* @__PURE__ */ o.jsx(Mu, { onStorno: t, noSpacer: r, disabled: a, children: e }) : null;
9760
- }, ls = ({ InputContainer: e = Pe, options: t, formField: r, label: n, size: a, resetsFields: i, isNumber: s, required: l, hidden: c, disabled: u, withoutLabel: d, noSortOptions: p, suffixIdToName: f, onSelect: m, className: g, appendCurrentSelectionWithName: b, hint: v, addNewOptionPath: h, refreshOptions: w, MiniDetailComponent: N, miniDetailPlacement: x, selectedItemNavigateTo: y }) => {
9760
+ }, cs = ({ InputContainer: e = Pe, options: t, formField: r, label: n, size: a, resetsFields: i, isNumber: s, required: l, hidden: c, disabled: u, withoutLabel: d, noSortOptions: p, suffixIdToName: f, onSelect: m, className: g, appendCurrentSelectionWithName: b, hint: v, addNewOptionPath: h, refreshOptions: w, MiniDetailComponent: N, miniDetailPlacement: x, selectedItemNavigateTo: y }) => {
9761
9761
  const { texts: { customSelect: C } } = W(Q), { formState: E, setValue: _, watch: S, control: O } = wt(), A = yt({ falseIfNotInit: !0 }), [M, j] = k(void 0), [P, G] = k(!1), [L, F] = k(!1), [Y, $] = k(""), q = S(r), X = R(() => t.find((B) => B.id === q) ?? null, [t, q]), re = T(() => {
9762
9762
  const B = r.split(".");
9763
9763
  let de = E.errors;
@@ -9807,7 +9807,7 @@ const qx = ({ InputContainer: e = cr, value: t, onChange: r, debounceMs: n, labe
9807
9807
  q
9808
9808
  ]), Se = Z(null), pe = M !== void 0;
9809
9809
  return /* @__PURE__ */ o.jsx(o.Fragment, { children: /* @__PURE__ */ o.jsxs(e, { label: n ?? "", required: l, disabled: U, hidden: c, withoutLabel: d, isInvalid: pe, inputContainerClassName: I({ "luminus-dropdown-select-open": P }), hint: v, className: g, children: [
9810
- /* @__PURE__ */ o.jsx(Ba, { currentSelection: X, selectedItemNavigateTo: y, children: /* @__PURE__ */ o.jsx($a, { control: O, name: r, render: () => /* @__PURE__ */ o.jsx(La, { value: q, MiniDetailComponent: N, miniDetailPlacement: x, children: /* @__PURE__ */ o.jsx(Ee.Select, { size: a, onMouseDown: (B) => {
9810
+ /* @__PURE__ */ o.jsx(Ba, { currentSelection: X, selectedItemNavigateTo: y, children: /* @__PURE__ */ o.jsx(Ga, { control: O, name: r, render: () => /* @__PURE__ */ o.jsx(La, { value: q, MiniDetailComponent: N, miniDetailPlacement: x, children: /* @__PURE__ */ o.jsx(Ee.Select, { size: a, onMouseDown: (B) => {
9811
9811
  B.currentTarget.focus(), B.preventDefault();
9812
9812
  }, onClick: () => {
9813
9813
  G(!0);
@@ -9851,10 +9851,10 @@ const qx = ({ InputContainer: e = cr, value: t, onChange: r, debounceMs: n, labe
9851
9851
  }), isInvalid: L, hidden: u, disabled: G, className: "w-100 luminus-numeric-stepper", step: f, min: b, max: v }),
9852
9852
  /* @__PURE__ */ o.jsx("div", { className: "stepper-icon left", children: !d && /* @__PURE__ */ o.jsx(te, { size: "sm", onClick: (Y) => {
9853
9853
  Y.preventDefault(), Y.stopPropagation(), M(t, ((F ? Number(F) : 0) - m).toString(), { shouldDirty: !0, shouldValidate: O });
9854
- }, children: /* @__PURE__ */ o.jsx(_s, {}) }) }),
9854
+ }, children: /* @__PURE__ */ o.jsx(Os, {}) }) }),
9855
9855
  /* @__PURE__ */ o.jsx("div", { className: "stepper-icon right", children: !d && /* @__PURE__ */ o.jsx(te, { size: "sm", onClick: (Y) => {
9856
9856
  Y.preventDefault(), Y.stopPropagation(), M(t, ((F ? Number(F) : 0) + m).toString(), { shouldDirty: !0, shouldValidate: O });
9857
- }, children: /* @__PURE__ */ o.jsx(Os, {}) }) })
9857
+ }, children: /* @__PURE__ */ o.jsx(Ps, {}) }) })
9858
9858
  ] }),
9859
9859
  s && C(t) && /* @__PURE__ */ o.jsx("div", { className: "luminus-input-remove-icon", children: /* @__PURE__ */ o.jsx(te, { color: "secondary", size: "sm", onClick: j, children: /* @__PURE__ */ o.jsx(Pt, {}) }) }),
9860
9860
  _ && /* @__PURE__ */ o.jsx(Yt, { message: _.message })
@@ -9885,7 +9885,7 @@ const qx = ({ InputContainer: e = cr, value: t, onChange: r, debounceMs: n, labe
9885
9885
  const X = j !== void 0;
9886
9886
  return /* @__PURE__ */ o.jsxs(e, { label: r ?? "", required: l, disabled: $, hidden: c, withoutLabel: d, isInvalid: X, hint: E, className: b, children: [
9887
9887
  /* @__PURE__ */ o.jsxs("div", { className: "luminus-input-container position-relative w-100", children: [
9888
- /* @__PURE__ */ o.jsx($a, { control: A, name: t, render: ({ field: { ref: re, onChange: ie, name: se, value: be } }) => /* @__PURE__ */ o.jsx(Do, { displayType: "input", thousandSeparator: " ", decimalSeparator: ",", decimalScale: v, fixedDecimalScale: h, prefix: w, suffix: N, defaultValue: "", name: se, value: be ?? "", placeholder: n ?? r, onFocus: (U) => {
9888
+ /* @__PURE__ */ o.jsx(Ga, { control: A, name: t, render: ({ field: { ref: re, onChange: ie, name: se, value: be } }) => /* @__PURE__ */ o.jsx(So, { displayType: "input", thousandSeparator: " ", decimalSeparator: ",", decimalScale: v, fixedDecimalScale: h, prefix: w, suffix: N, defaultValue: "", name: se, value: be ?? "", placeholder: n ?? r, onFocus: (U) => {
9889
9889
  !g && U.target.select();
9890
9890
  }, onChange: (U) => {
9891
9891
  var Se, pe;
@@ -9963,13 +9963,13 @@ const qx = ({ InputContainer: e = cr, value: t, onChange: r, debounceMs: n, labe
9963
9963
  /* @__PURE__ */ o.jsx(z, { variant: "h3", children: s.title }),
9964
9964
  /* @__PURE__ */ o.jsx(dr, { toggle: /* @__PURE__ */ o.jsx(ur, { as: Ur }), children: /* @__PURE__ */ o.jsx(st, { onClick: () => b(), children: s.delete }) })
9965
9965
  ] }), children: /* @__PURE__ */ o.jsx(Vs, { ...d, children: /* @__PURE__ */ o.jsx(ou, { disabled: v, children: /* @__PURE__ */ o.jsxs(Ee, { onSubmit: d.handleSubmit(u), className: "h-100", children: [
9966
- /* @__PURE__ */ o.jsxs(za, { className: "h-100 gx-3 gy-3", children: [
9966
+ /* @__PURE__ */ o.jsxs(qa, { className: "h-100 gx-3 gy-3", children: [
9967
9967
  /* @__PURE__ */ o.jsx(vn, { sm: 12, md: 4, children: /* @__PURE__ */ o.jsxs(xn, { title: s.title, children: [
9968
- /* @__PURE__ */ o.jsx(ls, { formField: "employeeId", options: (c == null ? void 0 : c.map((y) => ({
9968
+ /* @__PURE__ */ o.jsx(cs, { formField: "employeeId", options: (c == null ? void 0 : c.map((y) => ({
9969
9969
  id: y.employeeId,
9970
9970
  name: `${y.employeeName} (${y.name})`
9971
9971
  }))) ?? [], label: s.employee, isNumber: !0, required: !0, disabled: !g(["ZASTUP_MODIFY"]), resetsFields: ["roles"] }),
9972
- /* @__PURE__ */ o.jsx(ls, { formField: "substituteId", options: (c == null ? void 0 : c.map((y) => ({
9972
+ /* @__PURE__ */ o.jsx(cs, { formField: "substituteId", options: (c == null ? void 0 : c.map((y) => ({
9973
9973
  id: y.employeeId,
9974
9974
  name: `${y.employeeName} (${y.name})`
9975
9975
  }))) ?? [], label: s.substitute, isNumber: !0, required: !0 }),
@@ -9997,29 +9997,29 @@ const qx = ({ InputContainer: e = cr, value: t, onChange: r, debounceMs: n, labe
9997
9997
  ] }),
9998
9998
  /* @__PURE__ */ o.jsx(Jy, { onStorno: () => d.reset(), children: s.save })
9999
9999
  ] }) }) }) });
10000
- }, So = ["slice", "options", "formats", "conditions"], cs = (e) => {
10000
+ }, Co = ["slice", "options", "formats", "conditions"], ds = (e) => {
10001
10001
  const t = e.current.flexmonster.getReport({ withDefaults: !0 });
10002
10002
  if (typeof t == "string")
10003
10003
  throw alert("report is string"), new Error("report is string");
10004
10004
  const r = {};
10005
- return So.forEach((n) => {
10005
+ return Co.forEach((n) => {
10006
10006
  r[n] = t[n];
10007
10007
  }), JSON.stringify(r);
10008
10008
  }, ew = (e) => {
10009
10009
  if (e.settings) {
10010
10010
  const t = JSON.parse(e.settings);
10011
- return So.forEach((r) => {
10011
+ return Co.forEach((r) => {
10012
10012
  t[r] === void 0 && (t[r] = null);
10013
10013
  }), t;
10014
10014
  }
10015
10015
  return {};
10016
10016
  }, tw = (e) => {
10017
10017
  const t = {};
10018
- return So.forEach((r) => {
10018
+ return Co.forEach((r) => {
10019
10019
  t[r] = (e == null ? void 0 : e[r]) ?? void 0;
10020
10020
  }), t;
10021
10021
  }, rw = (e) => e && e.type === "header" && e.member && e.member.caption !== "All" && // collapsed groups have this in continuing cells
10022
- e.label === "", ds = (e, t) => e.hierarchy && e.hierarchy.uniqueName === t, us = (e) => !e.member && !e.isDrillThrough, ps = (e, t) => typeof e == "function" ? e(t) : e.replace(":id", t), nw = ({ dataSource: e, settings: t, pivotRef: r, localization: n, licenseKey: a, hyperlinkColumn: i, roomPasportization: s, enabled: l = !0 }) => {
10022
+ e.label === "", us = (e, t) => e.hierarchy && e.hierarchy.uniqueName === t, ps = (e) => !e.member && !e.isDrillThrough, fs = (e, t) => typeof e == "function" ? e(t) : e.replace(":id", t), nw = ({ dataSource: e, settings: t, pivotRef: r, localization: n, licenseKey: a, hyperlinkColumn: i, roomPasportization: s, enabled: l = !0 }) => {
10023
10023
  const { texts: { reports: c } } = W(Q), [u, d] = k(!1), p = Z(null), f = r ?? p, m = R(() => ({
10024
10024
  localization: n
10025
10025
  }), [n]), g = T((x) => {
@@ -10128,19 +10128,19 @@ e.label === "", ds = (e, t) => e.hierarchy && e.hierarchy.uniqueName === t, us =
10128
10128
  const P = x.style["padding-left"] ?? "4px", G = parseInt(P, 10);
10129
10129
  x.style["padding-left"] = G + 11 + "px";
10130
10130
  }
10131
- if (!i || !ds(y, i.idColumn) || us(y))
10131
+ if (!i || !us(y, i.idColumn) || ps(y))
10132
10132
  return;
10133
10133
  const C = (j = y.escapedLabel) == null ? void 0 : j.toString();
10134
10134
  if (C === void 0)
10135
10135
  return;
10136
- const E = ps(i.url, C), _ = "style='color: #00a45a; text-decoration: underline; cursor: pointer;'", S = y.type === "header" ? "onclick='event.stopImmediatePropagation()'" : "", O = y.isDrillThrough || y.type === "header" ? `href='${E}' target='_blank'` : "";
10136
+ const E = fs(i.url, C), _ = "style='color: #00a45a; text-decoration: underline; cursor: pointer;'", S = y.type === "header" ? "onclick='event.stopImmediatePropagation()'" : "", O = y.isDrillThrough || y.type === "header" ? `href='${E}' target='_blank'` : "";
10137
10137
  x.style && (x.style["z-index"] = 1);
10138
10138
  const A = `<a ${O} ${_} ${S}>${y.escapedLabel}</a>`;
10139
10139
  x.text = A;
10140
10140
  }, [i]), N = T((x) => {
10141
- if (!i || !ds(x, i.idColumn) || us(x))
10141
+ if (!i || !us(x, i.idColumn) || ps(x))
10142
10142
  return;
10143
- const y = ps(i.url, x.escapedLabel ?? "");
10143
+ const y = fs(i.url, x.escapedLabel ?? "");
10144
10144
  window.open(y ?? "", "_blank", "noreferrer");
10145
10145
  }, [i]);
10146
10146
  return /* @__PURE__ */ o.jsx(o.Fragment, { children: /* @__PURE__ */ o.jsx(
@@ -10176,7 +10176,7 @@ e.label === "", ds = (e, t) => e.hierarchy && e.hierarchy.uniqueName === t, us =
10176
10176
  }
10177
10177
  if (!await s(a.confirmOverwriteSave))
10178
10178
  return;
10179
- const w = cs(t);
10179
+ const w = ds(t);
10180
10180
  f({
10181
10181
  reportSourceName: e,
10182
10182
  reportVersionId: r,
@@ -10194,7 +10194,7 @@ e.label === "", ds = (e, t) => e.hierarchy && e.hierarchy.uniqueName === t, us =
10194
10194
  const h = await i(a.enterName, { input: "input", required: !0 });
10195
10195
  if (h === null)
10196
10196
  return;
10197
- const w = cs(t);
10197
+ const w = ds(t);
10198
10198
  f({
10199
10199
  reportSourceName: e,
10200
10200
  name: h,
@@ -10389,7 +10389,7 @@ e.label === "", ds = (e, t) => e.hierarchy && e.hierarchy.uniqueName === t, us =
10389
10389
  }
10390
10390
  ) : null
10391
10391
  ] });
10392
- }, wj = ({ cell: { value: e } }) => /* @__PURE__ */ o.jsx(o.Fragment, { children: e ? /* @__PURE__ */ o.jsx(Es, { name: e, size: 21, fontSize: 12 }) : /* @__PURE__ */ o.jsx(o.Fragment, {}) }), lw = ({ knownTypes: e, typeFilters: t, onChangeTypeFilters: r }) => /* @__PURE__ */ o.jsx("div", { className: "mb-1 d-flex justify-content-center gap-2", children: e.map((n) => /* @__PURE__ */ o.jsx("div", { role: "button", style: {
10392
+ }, wj = ({ cell: { value: e } }) => /* @__PURE__ */ o.jsx(o.Fragment, { children: e ? /* @__PURE__ */ o.jsx(Is, { name: e, size: 21, fontSize: 12 }) : /* @__PURE__ */ o.jsx(o.Fragment, {}) }), lw = ({ knownTypes: e, typeFilters: t, onChangeTypeFilters: r }) => /* @__PURE__ */ o.jsx("div", { className: "mb-1 d-flex justify-content-center gap-2", children: e.map((n) => /* @__PURE__ */ o.jsx("div", { role: "button", style: {
10393
10393
  height: "14px",
10394
10394
  width: "14px",
10395
10395
  borderRadius: "50%",
@@ -10416,13 +10416,13 @@ e.label === "", ds = (e, t) => e.hierarchy && e.hierarchy.uniqueName === t, us =
10416
10416
  ] })
10417
10417
  ] }) }) })
10418
10418
  ] });
10419
- }, fs = ["info", "warning", "danger"], ms = ({ messages: e, isLoading: t, onDeleteMessage: r, onClickMessage: n, getIcon: a, getLinksTo: i }) => {
10420
- const { texts: { messageBoard: s } } = W(Q), [l, c] = k(fs), u = R(() => e.filter((d) => l.includes(d.type ?? "")), [l, e]);
10419
+ }, ms = ["info", "warning", "danger"], gs = ({ messages: e, isLoading: t, onDeleteMessage: r, onClickMessage: n, getIcon: a, getLinksTo: i }) => {
10420
+ const { texts: { messageBoard: s } } = W(Q), [l, c] = k(ms), u = R(() => e.filter((d) => l.includes(d.type ?? "")), [l, e]);
10421
10421
  return /* @__PURE__ */ o.jsxs("div", { className: "h-100 d-flex flex-column overflow-hidden", children: [
10422
- /* @__PURE__ */ o.jsx(lw, { knownTypes: fs, typeFilters: l, onChangeTypeFilters: (d) => c(d) }),
10422
+ /* @__PURE__ */ o.jsx(lw, { knownTypes: ms, typeFilters: l, onChangeTypeFilters: (d) => c(d) }),
10423
10423
  t && /* @__PURE__ */ o.jsxs("div", { className: "p-3 w-100", children: [
10424
- /* @__PURE__ */ o.jsx(Dt, { as: Fo.Title, animation: "glow", children: /* @__PURE__ */ o.jsx(Dt, { xs: 6 }) }),
10425
- /* @__PURE__ */ o.jsxs(Dt, { as: Fo.Text, animation: "glow", children: [
10424
+ /* @__PURE__ */ o.jsx(Dt, { as: Vo.Title, animation: "glow", children: /* @__PURE__ */ o.jsx(Dt, { xs: 6 }) }),
10425
+ /* @__PURE__ */ o.jsxs(Dt, { as: Vo.Text, animation: "glow", children: [
10426
10426
  /* @__PURE__ */ o.jsx(Dt, { xs: 7 }),
10427
10427
  " ",
10428
10428
  /* @__PURE__ */ o.jsx(Dt, { xs: 4 }),
@@ -10467,8 +10467,8 @@ e.label === "", ds = (e, t) => e.hierarchy && e.hierarchy.uniqueName === t, us =
10467
10467
  /* @__PURE__ */ o.jsx(te, { size: "md", onClick: () => b(!g), children: t }),
10468
10468
  N > 0 && /* @__PURE__ */ o.jsx("div", { className: "badge rounded-pill bg-danger p-1 px-2 text-white", style: { position: "absolute", top: "-6px", right: "-10px", fontSize: "10px" }, children: N })
10469
10469
  ] }),
10470
- /* @__PURE__ */ o.jsx($o, { show: g, onHide: () => b(!1), placement: "end", children: /* @__PURE__ */ o.jsx($o.Body, { children: /* @__PURE__ */ o.jsx(ms, { messages: c, isLoading: x, onDeleteMessage: w, onClickMessage: () => b(!1), getIcon: a, getLinksTo: i }) }) })
10471
- ] }) : /* @__PURE__ */ o.jsx(ms, { messages: c, isLoading: x, onDeleteMessage: w, getIcon: a, getLinksTo: i });
10470
+ /* @__PURE__ */ o.jsx(Go, { show: g, onHide: () => b(!1), placement: "end", children: /* @__PURE__ */ o.jsx(Go.Body, { children: /* @__PURE__ */ o.jsx(gs, { messages: c, isLoading: x, onDeleteMessage: w, onClickMessage: () => b(!1), getIcon: a, getLinksTo: i }) }) })
10471
+ ] }) : /* @__PURE__ */ o.jsx(gs, { messages: c, isLoading: x, onDeleteMessage: w, getIcon: a, getLinksTo: i });
10472
10472
  }, uw = "_tab-panel_d8l8q_1", pw = "_full-height-no-overflow_d8l8q_5", fw = "_disabled_d8l8q_12", ua = {
10473
10473
  "tab-panel": "_tab-panel_d8l8q_1",
10474
10474
  tabPanel: uw,
@@ -10594,7 +10594,7 @@ e.label === "", ds = (e, t) => e.hierarchy && e.hierarchy.uniqueName === t, us =
10594
10594
  /* @__PURE__ */ o.jsx(De.Footer, { className: "d-flex justify-content-end", children: /* @__PURE__ */ o.jsx(xt, { onClick: f, children: l.shortcutLinks.addShortcut }) })
10595
10595
  ] }) });
10596
10596
  }, Pw = ({ IconComponent: e, IconTypeArray: t, pageTitlePrefix: r, createLink: n }) => {
10597
- const { ProjectIconComponent: a, texts: i } = W(Q), [s, l] = k(!1), [c] = Fa(s, 100);
10597
+ const { ProjectIconComponent: a, texts: i } = W(Q), [s, l] = k(!1), [c] = Va(s, 100);
10598
10598
  return /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
10599
10599
  /* @__PURE__ */ o.jsx(We, { text: i.shortcutLinks.addShortcut, placement: "bottom", children: /* @__PURE__ */ o.jsx("button", { type: "button", className: I(rr.linkButton, rr.linkAddButton), onClick: () => l(!0), children: /* @__PURE__ */ o.jsx(a, { icon: "add" }) }) }),
10600
10600
  (s || c) && /* @__PURE__ */ o.jsx(Ow, { IconComponent: e, IconTypeArray: t, closeModal: () => l(!1), createLink: n, isOpen: s, pageTitlePrefix: r })
@@ -10633,7 +10633,7 @@ e.label === "", ds = (e, t) => e.hierarchy && e.hierarchy.uniqueName === t, us =
10633
10633
  if (e == null)
10634
10634
  throw new Error("Tried to make operation on null shortcutLinks.");
10635
10635
  return e;
10636
- }, gs = (e) => {
10636
+ }, vs = (e) => {
10637
10637
  if (e == null)
10638
10638
  throw new Error("Tried to make operation on null shortcutLinks.");
10639
10639
  return e;
@@ -10643,12 +10643,12 @@ e.label === "", ds = (e, t) => e.hierarchy && e.hierarchy.uniqueName === t, us =
10643
10643
  dataTransformer: n,
10644
10644
  enabled: r !== null
10645
10645
  }), { create: s, update: l, remove: c } = Tw(t), u = T(async (m) => {
10646
- const g = gs(r);
10646
+ const g = vs(r);
10647
10647
  if (Aw(a).length >= Oa)
10648
10648
  throw new Error("Cannot add more shortcut links.");
10649
10649
  await s({ ...m, employee: g.personalNumber }), await i();
10650
10650
  }, [s, i, a, r]), d = T(async (m) => {
10651
- const g = gs(r);
10651
+ const g = vs(r);
10652
10652
  await l({ ...m, employee: g.personalNumber }), await i();
10653
10653
  }, [i, l, r]), p = T(async (m) => {
10654
10654
  await c(m), await i();
@@ -11094,7 +11094,7 @@ e.label === "", ds = (e, t) => e.hierarchy && e.hierarchy.uniqueName === t, us =
11094
11094
  /* @__PURE__ */ o.jsx(c, { icon: "search", className: "text-muted", size: 18, iconProps: { className: "mt- me-n4" } }),
11095
11095
  /* @__PURE__ */ o.jsx(ct, { type: "text", value: b, onChange: (j) => v(typeof j == "string" ? j : ""), size: "sm", showClearIcon: b !== "", withoutLabel: !0, placeholder: "vyhledávat...", className: "placeholder-muted bg-transparent border-0 my-0 py-0 w-100" })
11096
11096
  ] }),
11097
- /* @__PURE__ */ o.jsxs(Cs, { children: [
11097
+ /* @__PURE__ */ o.jsxs(Es, { children: [
11098
11098
  /* @__PURE__ */ o.jsx(ga, { cKey: "export", hideOn: "always", onClick: n, icon: /* @__PURE__ */ o.jsx(qd, { fileExtension: "xls" }), children: l.xlsExport }),
11099
11099
  /* @__PURE__ */ o.jsx(ga, { cKey: "import", hideOn: "always", to: r("localizationImport"), icon: /* @__PURE__ */ o.jsx(c, { icon: "link" }), children: l.import })
11100
11100
  ] })
@@ -11135,7 +11135,7 @@ e.label === "", ds = (e, t) => e.hierarchy && e.hierarchy.uniqueName === t, us =
11135
11135
  ] })
11136
11136
  ] })
11137
11137
  ] }) });
11138
- }, vs = 3, Lc = (e, t, r) => {
11138
+ }, hs = 3, Lc = (e, t, r) => {
11139
11139
  var a;
11140
11140
  if ((t == null ? void 0 : t.customPathBuilder) !== void 0)
11141
11141
  return t.customPathBuilder(e, t);
@@ -11146,7 +11146,7 @@ e.label === "", ds = (e, t) => e.hierarchy && e.hierarchy.uniqueName === t, us =
11146
11146
  return ((r = t == null ? void 0 : t.customNameBuilder) == null ? void 0 : r.call(t, e)) ?? e.name;
11147
11147
  }, Fc = (e, t, r, n, a) => {
11148
11148
  const i = rt(), [s, l] = k(!1), [c, u] = k([]), d = e === "", p = T(() => {
11149
- u([]), !(t.length < vs) && (l(!0), i.get(ha(r, {
11149
+ u([]), !(t.length < hs) && (l(!0), i.get(ha(r, {
11150
11150
  path: { query: t },
11151
11151
  query: {
11152
11152
  type: d ? void 0 : e,
@@ -11160,7 +11160,7 @@ e.label === "", ds = (e, t) => e.hierarchy && e.hierarchy.uniqueName === t, us =
11160
11160
  }, [i, n, d, t, r, e]), f = R(() => {
11161
11161
  if (a === void 0)
11162
11162
  return [];
11163
- if (t.length < vs && e !== "XAP")
11163
+ if (t.length < hs && e !== "XAP")
11164
11164
  return [];
11165
11165
  const g = [];
11166
11166
  return a.forEach((b) => {
@@ -11238,7 +11238,7 @@ e.label === "", ds = (e, t) => e.hierarchy && e.hierarchy.uniqueName === t, us =
11238
11238
  }) }) });
11239
11239
  }, Pj = ({ searchTypes: e, navigateFunction: t, currentPath: r, homePath: n = "/", className: a, staticAppItems: i, searchEndpointUri: s }) => {
11240
11240
  var x;
11241
- const { texts: { appSearch: l } } = W(Q), [c, u] = k(e.length > 0 ? ((x = e.at(0)) == null ? void 0 : x.key) ?? null : null), d = R(() => e.find((y) => y.key === c) ?? null, [e, c]), [p, f] = k(""), [m, g] = Fa(encodeURIComponent(p), 500), { isLoading: b, searchItems: v } = Fc(c, m, s, !1, i), [h, w] = k(!1);
11241
+ const { texts: { appSearch: l } } = W(Q), [c, u] = k(e.length > 0 ? ((x = e.at(0)) == null ? void 0 : x.key) ?? null : null), d = R(() => e.find((y) => y.key === c) ?? null, [e, c]), [p, f] = k(""), [m, g] = Va(encodeURIComponent(p), 500), { isLoading: b, searchItems: v } = Fc(c, m, s, !1, i), [h, w] = k(!1);
11242
11242
  H(() => {
11243
11243
  (v.length > 0 || b) && w(!0);
11244
11244
  }, [v, b]);
@@ -11330,7 +11330,7 @@ e.label === "", ds = (e, t) => e.hierarchy && e.hierarchy.uniqueName === t, us =
11330
11330
  children: [
11331
11331
  /* @__PURE__ */ o.jsx(z, { variant: "body2", children: w.name }),
11332
11332
  /* @__PURE__ */ o.jsxs("div", { className: "d-flex align-items-center gap-3", children: [
11333
- /* @__PURE__ */ o.jsx(z, { variant: "body2", className: "text-muted", children: w.date }),
11333
+ /* @__PURE__ */ o.jsx(z, { variant: "body2", className: "text-muted", children: w.date ? Fa(w.date) : "" }),
11334
11334
  /* @__PURE__ */ o.jsx(te, { size: "sm", color: "danger", onClick: (x) => {
11335
11335
  x.stopPropagation(), v(w.id);
11336
11336
  }, children: /* @__PURE__ */ o.jsx(n, { icon: "delete" }) })
@@ -11352,7 +11352,7 @@ export {
11352
11352
  Pj as AppSearch,
11353
11353
  cj as Approval,
11354
11354
  MN as AuthTemplate,
11355
- Es as AvatarIcon,
11355
+ Is as AvatarIcon,
11356
11356
  wd as Backdrop,
11357
11357
  BN as Badge,
11358
11358
  aj as BarChart,
@@ -11377,7 +11377,7 @@ export {
11377
11377
  Aj as FileDownloadUS,
11378
11378
  qd as FileExtensionIcon,
11379
11379
  RN as FileUploadButton,
11380
- Ds as FileUploadContextButton,
11380
+ Ss as FileUploadContextButton,
11381
11381
  LN as FileUploadDropdownItem,
11382
11382
  nw as Flexmonster,
11383
11383
  ax as FloatingActionContainer,
@@ -11393,14 +11393,14 @@ export {
11393
11393
  hj as HookFormNumericStepperInput,
11394
11394
  bj as HookFormNumericTextInput,
11395
11395
  fj as HookFormRadioInput,
11396
- ls as HookFormSelectInput,
11396
+ cs as HookFormSelectInput,
11397
11397
  Mj as HookFormTextAreaInput,
11398
11398
  hn as HookFormTextInput,
11399
11399
  Ry as HrWithText,
11400
11400
  Fd as HtmlTooltip,
11401
11401
  te as IconButton,
11402
11402
  kc as IconPicker,
11403
- Wi as ImgApi,
11403
+ Hi as ImgApi,
11404
11404
  VN as ImgBlob,
11405
11405
  Nc as ImgDirect,
11406
11406
  Gw as ImportFilePicker,
@@ -11433,7 +11433,7 @@ export {
11433
11433
  Yx as RadioInput,
11434
11434
  yj as ReportPage,
11435
11435
  oj as ReportsIndexPage,
11436
- Cs as ResponsiveContextDropdown,
11436
+ Es as ResponsiveContextDropdown,
11437
11437
  ga as ResponsiveContextDropdownItem,
11438
11438
  jj as ResponsiveTabs,
11439
11439
  lj as RouteLink,
@@ -11460,7 +11460,7 @@ export {
11460
11460
  Fj as UserAvatarToggle,
11461
11461
  wj as UserAvatarValueFormat,
11462
11462
  FN as VersionInfo,
11463
- Wo as WidgetCard,
11463
+ Ho as WidgetCard,
11464
11464
  Hu as YearPicker,
11465
11465
  qN as YearPickerSearchParams,
11466
11466
  Bc as useShortcutLinksContext