@ukpc-lib/react 0.13.1-dev.3 → 0.13.1-dev.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (25) hide show
  1. package/dist/components/index.cjs +2 -2
  2. package/dist/components/index.js +3 -3
  3. package/dist/{index.esm2017-VcIv3oNf.js → index.esm2017-DmH2CLan.js} +842 -841
  4. package/dist/{index.esm2017-_6AWldhb.cjs → index.esm2017-__zCiOmA.cjs} +30 -30
  5. package/dist/share/hooks/useSyncRouter.d.ts +1 -1
  6. package/dist/share/index.cjs +1 -1
  7. package/dist/share/index.js +67 -56
  8. package/package.json +1 -1
  9. package/web-components-bundle/access-denied/index.js +2 -2
  10. package/web-components-bundle/favorite-menu/index.js +5 -6
  11. package/web-components-bundle/global-menu/index.js +4 -5
  12. package/web-components-bundle/global-topbar/index.js +7 -8
  13. package/web-components-bundle/has-permission/index.js +4 -5
  14. package/web-components-bundle/{index-Cx0zTfOC.js → index-B1bJ4sn5.js} +1 -1
  15. package/web-components-bundle/{index-BbpYFIqc.js → index-CHE1hDLM.js} +21704 -16365
  16. package/web-components-bundle/{index-B2-j-GrO.js → index-DyX6L9q-.js} +226 -215
  17. package/web-components-bundle/page-not-found/index.js +2 -2
  18. package/web-components-bundle/{react-to-web-component-D7SoYMky.js → react-to-web-component-C4-Jmrxs.js} +1527 -1535
  19. package/web-components-bundle/{react-toastify.esm-Y1WvK90L.js → react-toastify.esm-C4-Xv2fh.js} +175 -156
  20. package/web-components-bundle/toast-config/index.js +2 -2
  21. package/web-components-bundle/toast-config-notification/index.js +2 -2
  22. package/web-components-bundle/base-breadcrumbs/index.js +0 -5
  23. package/web-components-bundle/clsx-DB4S2d7J.js +0 -22
  24. package/web-components-bundle/index-B8-7QZsi.js +0 -5410
  25. package/web-components-bundle/setPrototypeOf-BVKdEITT.js +0 -14
@@ -1,28 +1,46 @@
1
- import { r as b, a as y } from "./react-to-web-component-D7SoYMky.js";
2
- import { c as F } from "./clsx-DB4S2d7J.js";
1
+ import { r as b, b as y } from "./react-to-web-component-C4-Jmrxs.js";
2
+ function de(e) {
3
+ var t, n, s = "";
4
+ if (typeof e == "string" || typeof e == "number")
5
+ s += e;
6
+ else if (typeof e == "object")
7
+ if (Array.isArray(e)) {
8
+ var a = e.length;
9
+ for (t = 0; t < a; t++)
10
+ e[t] && (n = de(e[t])) && (s && (s += " "), s += n);
11
+ } else
12
+ for (n in e)
13
+ e[n] && (s && (s += " "), s += n);
14
+ return s;
15
+ }
16
+ function F() {
17
+ for (var e, t, n = 0, s = "", a = arguments.length; n < a; n++)
18
+ (e = arguments[n]) && (t = de(e)) && (s && (s += " "), s += t);
19
+ return s;
20
+ }
3
21
  const J = (e) => typeof e == "number" && !isNaN(e), q = (e) => typeof e == "string", k = (e) => typeof e == "function", ne = (e) => q(e) || k(e) ? e : null, ie = (e) => b.isValidElement(e) || q(e) || k(e) || J(e);
4
- function ye(e, t, o) {
5
- o === void 0 && (o = 300);
6
- const { scrollHeight: r, style: a } = e;
22
+ function ve(e, t, n) {
23
+ n === void 0 && (n = 300);
24
+ const { scrollHeight: s, style: a } = e;
7
25
  requestAnimationFrame(() => {
8
- a.minHeight = "initial", a.height = r + "px", a.transition = `all ${o}ms`, requestAnimationFrame(() => {
9
- a.height = "0", a.padding = "0", a.margin = "0", setTimeout(t, o);
26
+ a.minHeight = "initial", a.height = s + "px", a.transition = `all ${n}ms`, requestAnimationFrame(() => {
27
+ a.height = "0", a.padding = "0", a.margin = "0", setTimeout(t, n);
10
28
  });
11
29
  });
12
30
  }
13
31
  function se(e) {
14
- let { enter: t, exit: o, appendPosition: r = !1, collapse: a = !0, collapseDuration: d = 300 } = e;
15
- return function(n) {
16
- let { children: E, position: p, preventExitTransition: _, done: u, nodeRef: C, isIn: I, playToast: N } = n;
17
- const m = r ? `${t}--${p}` : t, c = r ? `${o}--${p}` : o, T = b.useRef(0);
32
+ let { enter: t, exit: n, appendPosition: s = !1, collapse: a = !0, collapseDuration: u = 300 } = e;
33
+ return function(o) {
34
+ let { children: E, position: p, preventExitTransition: _, done: d, nodeRef: C, isIn: I, playToast: N } = o;
35
+ const m = s ? `${t}--${p}` : t, c = s ? `${n}--${p}` : n, T = b.useRef(0);
18
36
  return b.useLayoutEffect(() => {
19
- const f = C.current, l = m.split(" "), s = (g) => {
20
- g.target === C.current && (N(), f.removeEventListener("animationend", s), f.removeEventListener("animationcancel", s), T.current === 0 && g.type !== "animationcancel" && f.classList.remove(...l));
37
+ const f = C.current, l = m.split(" "), r = (g) => {
38
+ g.target === C.current && (N(), f.removeEventListener("animationend", r), f.removeEventListener("animationcancel", r), T.current === 0 && g.type !== "animationcancel" && f.classList.remove(...l));
21
39
  };
22
- f.classList.add(...l), f.addEventListener("animationend", s), f.addEventListener("animationcancel", s);
40
+ f.classList.add(...l), f.addEventListener("animationend", r), f.addEventListener("animationcancel", r);
23
41
  }, []), b.useEffect(() => {
24
42
  const f = C.current, l = () => {
25
- f.removeEventListener("animationend", l), a ? ye(f, u, d) : u();
43
+ f.removeEventListener("animationend", l), a ? ve(f, d, u) : d();
26
44
  };
27
45
  I || (_ ? l() : (T.current = 1, f.className += ` ${c}`, f.addEventListener("animationend", l)));
28
46
  }, [I]), y.createElement(y.Fragment, null, E);
@@ -33,50 +51,50 @@ function ce(e, t) {
33
51
  }
34
52
  const $ = /* @__PURE__ */ new Map();
35
53
  let K = [];
36
- const le = /* @__PURE__ */ new Set(), ve = (e) => le.forEach((t) => t(e)), ue = () => $.size > 0;
37
- function pe(e, t) {
38
- var o;
54
+ const le = /* @__PURE__ */ new Set(), he = (e) => le.forEach((t) => t(e)), pe = () => $.size > 0;
55
+ function fe(e, t) {
56
+ var n;
39
57
  if (t)
40
- return !((o = $.get(t)) == null || !o.isToastActive(e));
41
- let r = !1;
58
+ return !((n = $.get(t)) == null || !n.isToastActive(e));
59
+ let s = !1;
42
60
  return $.forEach((a) => {
43
- a.isToastActive(e) && (r = !0);
44
- }), r;
61
+ a.isToastActive(e) && (s = !0);
62
+ }), s;
45
63
  }
46
- function fe(e, t) {
47
- ie(e) && (ue() || K.push({ content: e, options: t }), $.forEach((o) => {
48
- o.buildToast(e, t);
64
+ function me(e, t) {
65
+ ie(e) && (pe() || K.push({ content: e, options: t }), $.forEach((n) => {
66
+ n.buildToast(e, t);
49
67
  }));
50
68
  }
51
- function de(e, t) {
52
- $.forEach((o) => {
53
- t != null && t != null && t.containerId ? (t == null ? void 0 : t.containerId) === o.id && o.toggle(e, t == null ? void 0 : t.id) : o.toggle(e, t == null ? void 0 : t.id);
69
+ function ue(e, t) {
70
+ $.forEach((n) => {
71
+ t != null && t != null && t.containerId ? (t == null ? void 0 : t.containerId) === n.id && n.toggle(e, t == null ? void 0 : t.id) : n.toggle(e, t == null ? void 0 : t.id);
54
72
  });
55
73
  }
56
- function he(e) {
57
- const { subscribe: t, getSnapshot: o, setProps: r } = b.useRef(function(d) {
58
- const n = d.containerId || 1;
74
+ function Ee(e) {
75
+ const { subscribe: t, getSnapshot: n, setProps: s } = b.useRef(function(u) {
76
+ const o = u.containerId || 1;
59
77
  return { subscribe(E) {
60
- const p = /* @__PURE__ */ function(u, C, I) {
78
+ const p = /* @__PURE__ */ function(d, C, I) {
61
79
  let N = 1, m = 0, c = [], T = [], f = [], l = C;
62
- const s = /* @__PURE__ */ new Map(), g = /* @__PURE__ */ new Set(), M = () => {
63
- f = Array.from(s.values()), g.forEach((i) => i());
80
+ const r = /* @__PURE__ */ new Map(), g = /* @__PURE__ */ new Set(), A = () => {
81
+ f = Array.from(r.values()), g.forEach((i) => i());
64
82
  }, O = (i) => {
65
- T = i == null ? [] : T.filter((v) => v !== i), M();
83
+ T = i == null ? [] : T.filter((v) => v !== i), A();
66
84
  }, L = (i) => {
67
85
  const { toastId: v, onOpen: w, updateId: R, children: S } = i.props, Y = R == null;
68
- i.staleId && s.delete(i.staleId), s.set(v, i), T = [...T, i.props.toastId].filter((z) => z !== i.staleId), M(), I(ce(i, Y ? "added" : "updated")), Y && k(w) && w(b.isValidElement(S) && S.props);
86
+ i.staleId && r.delete(i.staleId), r.set(v, i), T = [...T, i.props.toastId].filter((z) => z !== i.staleId), A(), I(ce(i, Y ? "added" : "updated")), Y && k(w) && w(b.isValidElement(S) && S.props);
69
87
  };
70
- return { id: u, props: l, observe: (i) => (g.add(i), () => g.delete(i)), toggle: (i, v) => {
71
- s.forEach((w) => {
88
+ return { id: d, props: l, observe: (i) => (g.add(i), () => g.delete(i)), toggle: (i, v) => {
89
+ r.forEach((w) => {
72
90
  v != null && v !== w.props.toastId || k(w.toggle) && w.toggle(i);
73
91
  });
74
- }, removeToast: O, toasts: s, clearQueue: () => {
92
+ }, removeToast: O, toasts: r, clearQueue: () => {
75
93
  m -= c.length, c = [];
76
94
  }, buildToast: (i, v) => {
77
- if (((A) => {
78
- let { containerId: P, toastId: x, updateId: B } = A;
79
- const V = P ? P !== u : u !== 1, U = s.has(x) && B == null;
95
+ if (((M) => {
96
+ let { containerId: P, toastId: x, updateId: B } = M;
97
+ const V = P ? P !== d : d !== 1, U = r.has(x) && B == null;
80
98
  return V || U;
81
99
  })(v))
82
100
  return;
@@ -84,12 +102,12 @@ function he(e) {
84
102
  O(w);
85
103
  }, Z = R == null;
86
104
  Z && m++;
87
- const D = { ...l, style: l.toastStyle, key: N++, ...Object.fromEntries(Object.entries(v).filter((A) => {
88
- let [P, x] = A;
105
+ const D = { ...l, style: l.toastStyle, key: N++, ...Object.fromEntries(Object.entries(v).filter((M) => {
106
+ let [P, x] = M;
89
107
  return x != null;
90
108
  })), toastId: w, updateId: R, data: S, closeToast: Q, isIn: !1, className: ne(v.className || l.toastClassName), bodyClassName: ne(v.bodyClassName || l.bodyClassName), progressClassName: ne(v.progressClassName || l.progressClassName), autoClose: !v.isLoading && (H = v.autoClose, j = l.autoClose, H === !1 || J(H) && H > 0 ? H : j), deleteToast() {
91
- const A = s.get(w), { onClose: P, children: x } = A.props;
92
- k(P) && P(b.isValidElement(x) && x.props), I(ce(A, "removed")), s.delete(w), m--, m < 0 && (m = 0), c.length > 0 ? L(c.shift()) : M();
109
+ const M = r.get(w), { onClose: P, children: x } = M.props;
110
+ k(P) && P(b.isValidElement(x) && x.props), I(ce(M, "removed")), r.delete(w), m--, m < 0 && (m = 0), c.length > 0 ? L(c.shift()) : A();
93
111
  } };
94
112
  var H, j;
95
113
  D.closeButton = l.closeButton, v.closeButton === !1 || ie(v.closeButton) ? D.closeButton = v.closeButton : v.closeButton === !0 && (D.closeButton = !ie(l.closeButton) || l.closeButton);
@@ -102,145 +120,145 @@ function he(e) {
102
120
  }, setProps(i) {
103
121
  l = i;
104
122
  }, setToggle: (i, v) => {
105
- s.get(i).toggle = v;
123
+ r.get(i).toggle = v;
106
124
  }, isToastActive: (i) => T.some((v) => v === i), getSnapshot: () => f };
107
- }(n, d, ve);
108
- $.set(n, p);
125
+ }(o, u, he);
126
+ $.set(o, p);
109
127
  const _ = p.observe(E);
110
- return K.forEach((u) => fe(u.content, u.options)), K = [], () => {
111
- _(), $.delete(n);
128
+ return K.forEach((d) => me(d.content, d.options)), K = [], () => {
129
+ _(), $.delete(o);
112
130
  };
113
131
  }, setProps(E) {
114
132
  var p;
115
- (p = $.get(n)) == null || p.setProps(E);
133
+ (p = $.get(o)) == null || p.setProps(E);
116
134
  }, getSnapshot() {
117
135
  var E;
118
- return (E = $.get(n)) == null ? void 0 : E.getSnapshot();
136
+ return (E = $.get(o)) == null ? void 0 : E.getSnapshot();
119
137
  } };
120
138
  }(e)).current;
121
- r(e);
122
- const a = b.useSyncExternalStore(t, o, o);
123
- return { getToastToRender: function(d) {
139
+ s(e);
140
+ const a = b.useSyncExternalStore(t, n, n);
141
+ return { getToastToRender: function(u) {
124
142
  if (!a)
125
143
  return [];
126
- const n = /* @__PURE__ */ new Map();
144
+ const o = /* @__PURE__ */ new Map();
127
145
  return e.newestOnTop && a.reverse(), a.forEach((E) => {
128
146
  const { position: p } = E.props;
129
- n.has(p) || n.set(p, []), n.get(p).push(E);
130
- }), Array.from(n, (E) => d(E[0], E[1]));
131
- }, isToastActive: pe, count: a == null ? void 0 : a.length };
147
+ o.has(p) || o.set(p, []), o.get(p).push(E);
148
+ }), Array.from(o, (E) => u(E[0], E[1]));
149
+ }, isToastActive: fe, count: a == null ? void 0 : a.length };
132
150
  }
133
- function Ee(e) {
134
- const [t, o] = b.useState(!1), [r, a] = b.useState(!1), d = b.useRef(null), n = b.useRef({ start: 0, delta: 0, removalDistance: 0, canCloseOnClick: !0, canDrag: !1, didMove: !1 }).current, { autoClose: E, pauseOnHover: p, closeToast: _, onClick: u, closeOnClick: C } = e;
151
+ function Te(e) {
152
+ const [t, n] = b.useState(!1), [s, a] = b.useState(!1), u = b.useRef(null), o = b.useRef({ start: 0, delta: 0, removalDistance: 0, canCloseOnClick: !0, canDrag: !1, didMove: !1 }).current, { autoClose: E, pauseOnHover: p, closeToast: _, onClick: d, closeOnClick: C } = e;
135
153
  var I, N;
136
154
  function m() {
137
- o(!0);
155
+ n(!0);
138
156
  }
139
157
  function c() {
140
- o(!1);
158
+ n(!1);
141
159
  }
142
- function T(s) {
143
- const g = d.current;
144
- n.canDrag && g && (n.didMove = !0, t && c(), n.delta = e.draggableDirection === "x" ? s.clientX - n.start : s.clientY - n.start, n.start !== s.clientX && (n.canCloseOnClick = !1), g.style.transform = `translate3d(${e.draggableDirection === "x" ? `${n.delta}px, var(--y)` : `0, calc(${n.delta}px + var(--y))`},0)`, g.style.opacity = "" + (1 - Math.abs(n.delta / n.removalDistance)));
160
+ function T(r) {
161
+ const g = u.current;
162
+ o.canDrag && g && (o.didMove = !0, t && c(), o.delta = e.draggableDirection === "x" ? r.clientX - o.start : r.clientY - o.start, o.start !== r.clientX && (o.canCloseOnClick = !1), g.style.transform = `translate3d(${e.draggableDirection === "x" ? `${o.delta}px, var(--y)` : `0, calc(${o.delta}px + var(--y))`},0)`, g.style.opacity = "" + (1 - Math.abs(o.delta / o.removalDistance)));
145
163
  }
146
164
  function f() {
147
165
  document.removeEventListener("pointermove", T), document.removeEventListener("pointerup", f);
148
- const s = d.current;
149
- if (n.canDrag && n.didMove && s) {
150
- if (n.canDrag = !1, Math.abs(n.delta) > n.removalDistance)
166
+ const r = u.current;
167
+ if (o.canDrag && o.didMove && r) {
168
+ if (o.canDrag = !1, Math.abs(o.delta) > o.removalDistance)
151
169
  return a(!0), e.closeToast(), void e.collapseAll();
152
- s.style.transition = "transform 0.2s, opacity 0.2s", s.style.removeProperty("transform"), s.style.removeProperty("opacity");
170
+ r.style.transition = "transform 0.2s, opacity 0.2s", r.style.removeProperty("transform"), r.style.removeProperty("opacity");
153
171
  }
154
172
  }
155
- (N = $.get((I = { id: e.toastId, containerId: e.containerId, fn: o }).containerId || 1)) == null || N.setToggle(I.id, I.fn), b.useEffect(() => {
173
+ (N = $.get((I = { id: e.toastId, containerId: e.containerId, fn: n }).containerId || 1)) == null || N.setToggle(I.id, I.fn), b.useEffect(() => {
156
174
  if (e.pauseOnFocusLoss)
157
175
  return document.hasFocus() || c(), window.addEventListener("focus", m), window.addEventListener("blur", c), () => {
158
176
  window.removeEventListener("focus", m), window.removeEventListener("blur", c);
159
177
  };
160
178
  }, [e.pauseOnFocusLoss]);
161
- const l = { onPointerDown: function(s) {
162
- if (e.draggable === !0 || e.draggable === s.pointerType) {
163
- n.didMove = !1, document.addEventListener("pointermove", T), document.addEventListener("pointerup", f);
164
- const g = d.current;
165
- n.canCloseOnClick = !0, n.canDrag = !0, g.style.transition = "none", e.draggableDirection === "x" ? (n.start = s.clientX, n.removalDistance = g.offsetWidth * (e.draggablePercent / 100)) : (n.start = s.clientY, n.removalDistance = g.offsetHeight * (e.draggablePercent === 80 ? 1.5 * e.draggablePercent : e.draggablePercent) / 100);
179
+ const l = { onPointerDown: function(r) {
180
+ if (e.draggable === !0 || e.draggable === r.pointerType) {
181
+ o.didMove = !1, document.addEventListener("pointermove", T), document.addEventListener("pointerup", f);
182
+ const g = u.current;
183
+ o.canCloseOnClick = !0, o.canDrag = !0, g.style.transition = "none", e.draggableDirection === "x" ? (o.start = r.clientX, o.removalDistance = g.offsetWidth * (e.draggablePercent / 100)) : (o.start = r.clientY, o.removalDistance = g.offsetHeight * (e.draggablePercent === 80 ? 1.5 * e.draggablePercent : e.draggablePercent) / 100);
166
184
  }
167
- }, onPointerUp: function(s) {
168
- const { top: g, bottom: M, left: O, right: L } = d.current.getBoundingClientRect();
169
- s.nativeEvent.type !== "touchend" && e.pauseOnHover && s.clientX >= O && s.clientX <= L && s.clientY >= g && s.clientY <= M ? c() : m();
185
+ }, onPointerUp: function(r) {
186
+ const { top: g, bottom: A, left: O, right: L } = u.current.getBoundingClientRect();
187
+ r.nativeEvent.type !== "touchend" && e.pauseOnHover && r.clientX >= O && r.clientX <= L && r.clientY >= g && r.clientY <= A ? c() : m();
170
188
  } };
171
- return E && p && (l.onMouseEnter = c, e.stacked || (l.onMouseLeave = m)), C && (l.onClick = (s) => {
172
- u && u(s), n.canCloseOnClick && _();
173
- }), { playToast: m, pauseToast: c, isRunning: t, preventExitTransition: r, toastRef: d, eventHandlers: l };
189
+ return E && p && (l.onMouseEnter = c, e.stacked || (l.onMouseLeave = m)), C && (l.onClick = (r) => {
190
+ d && d(r), o.canCloseOnClick && _();
191
+ }), { playToast: m, pauseToast: c, isRunning: t, preventExitTransition: s, toastRef: u, eventHandlers: l };
174
192
  }
175
- function Te(e) {
176
- let { delay: t, isRunning: o, closeToast: r, type: a = "default", hide: d, className: n, style: E, controlledProgress: p, progress: _, rtl: u, isIn: C, theme: I } = e;
177
- const N = d || p && _ === 0, m = { ...E, animationDuration: `${t}ms`, animationPlayState: o ? "running" : "paused" };
193
+ function be(e) {
194
+ let { delay: t, isRunning: n, closeToast: s, type: a = "default", hide: u, className: o, style: E, controlledProgress: p, progress: _, rtl: d, isIn: C, theme: I } = e;
195
+ const N = u || p && _ === 0, m = { ...E, animationDuration: `${t}ms`, animationPlayState: n ? "running" : "paused" };
178
196
  p && (m.transform = `scaleX(${_})`);
179
- const c = F("Toastify__progress-bar", p ? "Toastify__progress-bar--controlled" : "Toastify__progress-bar--animated", `Toastify__progress-bar-theme--${I}`, `Toastify__progress-bar--${a}`, { "Toastify__progress-bar--rtl": u }), T = k(n) ? n({ rtl: u, type: a, defaultClassName: c }) : F(c, n), f = { [p && _ >= 1 ? "onTransitionEnd" : "onAnimationEnd"]: p && _ < 1 ? null : () => {
180
- C && r();
197
+ const c = F("Toastify__progress-bar", p ? "Toastify__progress-bar--controlled" : "Toastify__progress-bar--animated", `Toastify__progress-bar-theme--${I}`, `Toastify__progress-bar--${a}`, { "Toastify__progress-bar--rtl": d }), T = k(o) ? o({ rtl: d, type: a, defaultClassName: c }) : F(c, o), f = { [p && _ >= 1 ? "onTransitionEnd" : "onAnimationEnd"]: p && _ < 1 ? null : () => {
198
+ C && s();
181
199
  } };
182
200
  return y.createElement("div", { className: "Toastify__progress-bar--wrp", "data-hidden": N }, y.createElement("div", { className: `Toastify__progress-bar--bg Toastify__progress-bar-theme--${I} Toastify__progress-bar--${a}` }), y.createElement("div", { role: "progressbar", "aria-hidden": N ? "true" : "false", "aria-label": "notification timer", className: T, style: m, ...f }));
183
201
  }
184
- let be = 1;
185
- const me = () => "" + be++;
186
- function Ie(e) {
187
- return e && (q(e.toastId) || J(e.toastId)) ? e.toastId : me();
202
+ let Ie = 1;
203
+ const ge = () => "" + Ie++;
204
+ function _e(e) {
205
+ return e && (q(e.toastId) || J(e.toastId)) ? e.toastId : ge();
188
206
  }
189
207
  function G(e, t) {
190
- return fe(e, t), t.toastId;
208
+ return me(e, t), t.toastId;
191
209
  }
192
210
  function oe(e, t) {
193
- return { ...t, type: t && t.type || e, toastId: Ie(t) };
211
+ return { ...t, type: t && t.type || e, toastId: _e(t) };
194
212
  }
195
213
  function ee(e) {
196
- return (t, o) => G(t, oe(e, o));
214
+ return (t, n) => G(t, oe(e, n));
197
215
  }
198
216
  function h(e, t) {
199
217
  return G(e, oe("default", t));
200
218
  }
201
- h.loading = (e, t) => G(e, oe("default", { isLoading: !0, autoClose: !1, closeOnClick: !1, closeButton: !1, draggable: !1, ...t })), h.promise = function(e, t, o) {
202
- let r, { pending: a, error: d, success: n } = t;
203
- a && (r = q(a) ? h.loading(a, o) : h.loading(a.render, { ...o, ...a }));
204
- const E = { isLoading: null, autoClose: null, closeOnClick: null, closeButton: null, draggable: null }, p = (u, C, I) => {
219
+ h.loading = (e, t) => G(e, oe("default", { isLoading: !0, autoClose: !1, closeOnClick: !1, closeButton: !1, draggable: !1, ...t })), h.promise = function(e, t, n) {
220
+ let s, { pending: a, error: u, success: o } = t;
221
+ a && (s = q(a) ? h.loading(a, n) : h.loading(a.render, { ...n, ...a }));
222
+ const E = { isLoading: null, autoClose: null, closeOnClick: null, closeButton: null, draggable: null }, p = (d, C, I) => {
205
223
  if (C == null)
206
- return void h.dismiss(r);
207
- const N = { type: u, ...E, ...o, data: I }, m = q(C) ? { render: C } : C;
208
- return r ? h.update(r, { ...N, ...m }) : h(m.render, { ...N, ...m }), I;
224
+ return void h.dismiss(s);
225
+ const N = { type: d, ...E, ...n, data: I }, m = q(C) ? { render: C } : C;
226
+ return s ? h.update(s, { ...N, ...m }) : h(m.render, { ...N, ...m }), I;
209
227
  }, _ = k(e) ? e() : e;
210
- return _.then((u) => p("success", n, u)).catch((u) => p("error", d, u)), _;
228
+ return _.then((d) => p("success", o, d)).catch((d) => p("error", u, d)), _;
211
229
  }, h.success = ee("success"), h.info = ee("info"), h.error = ee("error"), h.warning = ee("warning"), h.warn = h.warning, h.dark = (e, t) => G(e, oe("default", { theme: "dark", ...t })), h.dismiss = function(e) {
212
230
  (function(t) {
213
- var o;
214
- if (ue()) {
215
- if (t == null || q(o = t) || J(o))
216
- $.forEach((r) => {
217
- r.removeToast(t);
231
+ var n;
232
+ if (pe()) {
233
+ if (t == null || q(n = t) || J(n))
234
+ $.forEach((s) => {
235
+ s.removeToast(t);
218
236
  });
219
237
  else if (t && ("containerId" in t || "id" in t)) {
220
- const r = $.get(t.containerId);
221
- r ? r.removeToast(t.id) : $.forEach((a) => {
238
+ const s = $.get(t.containerId);
239
+ s ? s.removeToast(t.id) : $.forEach((a) => {
222
240
  a.removeToast(t.id);
223
241
  });
224
242
  }
225
243
  } else
226
- K = K.filter((r) => t != null && r.options.toastId !== t);
244
+ K = K.filter((s) => t != null && s.options.toastId !== t);
227
245
  })(e);
228
246
  }, h.clearWaitingQueue = function(e) {
229
247
  e === void 0 && (e = {}), $.forEach((t) => {
230
248
  !t.props.limit || e.containerId && t.id !== e.containerId || t.clearQueue();
231
249
  });
232
- }, h.isActive = pe, h.update = function(e, t) {
250
+ }, h.isActive = fe, h.update = function(e, t) {
233
251
  t === void 0 && (t = {});
234
- const o = ((r, a) => {
235
- var d;
236
- let { containerId: n } = a;
237
- return (d = $.get(n || 1)) == null ? void 0 : d.toasts.get(r);
252
+ const n = ((s, a) => {
253
+ var u;
254
+ let { containerId: o } = a;
255
+ return (u = $.get(o || 1)) == null ? void 0 : u.toasts.get(s);
238
256
  })(e, t);
239
- if (o) {
240
- const { props: r, content: a } = o, d = { delay: 100, ...r, ...t, toastId: t.toastId || e, updateId: me() };
241
- d.toastId !== e && (d.staleId = e);
242
- const n = d.render || a;
243
- delete d.render, G(n, d);
257
+ if (n) {
258
+ const { props: s, content: a } = n, u = { delay: 100, ...s, ...t, toastId: t.toastId || e, updateId: ge() };
259
+ u.toastId !== e && (u.staleId = e);
260
+ const o = u.render || a;
261
+ delete u.render, G(o, u);
244
262
  }
245
263
  }, h.done = (e) => {
246
264
  h.update(e, { progress: 1 });
@@ -248,10 +266,10 @@ h.loading = (e, t) => G(e, oe("default", { isLoading: !0, autoClose: !1, closeOn
248
266
  return le.add(e), () => {
249
267
  le.delete(e);
250
268
  };
251
- }, h.play = (e) => de(!0, e), h.pause = (e) => de(!1, e);
252
- const _e = typeof window < "u" ? b.useLayoutEffect : b.useEffect, te = (e) => {
253
- let { theme: t, type: o, isLoading: r, ...a } = e;
254
- return y.createElement("svg", { viewBox: "0 0 24 24", width: "100%", height: "100%", fill: t === "colored" ? "currentColor" : `var(--toastify-icon-color-${o})`, ...a });
269
+ }, h.play = (e) => ue(!0, e), h.pause = (e) => ue(!1, e);
270
+ const Ce = typeof window < "u" ? b.useLayoutEffect : b.useEffect, te = (e) => {
271
+ let { theme: t, type: n, isLoading: s, ...a } = e;
272
+ return y.createElement("svg", { viewBox: "0 0 24 24", width: "100%", height: "100%", fill: t === "colored" ? "currentColor" : `var(--toastify-icon-color-${n})`, ...a });
255
273
  }, re = { info: function(e) {
256
274
  return y.createElement(te, { ...e }, y.createElement("path", { d: "M12 0a12 12 0 1012 12A12.013 12.013 0 0012 0zm.25 5a1.5 1.5 0 11-1.5 1.5 1.5 1.5 0 011.5-1.5zm2.25 13.5h-4a1 1 0 010-2h.75a.25.25 0 00.25-.25v-4.5a.25.25 0 00-.25-.25h-.75a1 1 0 010-2h1a2 2 0 012 2v4.75a.25.25 0 00.25.25h.75a1 1 0 110 2z" }));
257
275
  }, warning: function(e) {
@@ -262,59 +280,60 @@ const _e = typeof window < "u" ? b.useLayoutEffect : b.useEffect, te = (e) => {
262
280
  return y.createElement(te, { ...e }, y.createElement("path", { d: "M11.983 0a12.206 12.206 0 00-8.51 3.653A11.8 11.8 0 000 12.207 11.779 11.779 0 0011.8 24h.214A12.111 12.111 0 0024 11.791 11.766 11.766 0 0011.983 0zM10.5 16.542a1.476 1.476 0 011.449-1.53h.027a1.527 1.527 0 011.523 1.47 1.475 1.475 0 01-1.449 1.53h-.027a1.529 1.529 0 01-1.523-1.47zM11 12.5v-6a1 1 0 012 0v6a1 1 0 11-2 0z" }));
263
281
  }, spinner: function() {
264
282
  return y.createElement("div", { className: "Toastify__spinner" });
265
- } }, Ce = (e) => {
266
- const { isRunning: t, preventExitTransition: o, toastRef: r, eventHandlers: a, playToast: d } = Ee(e), { closeButton: n, children: E, autoClose: p, onClick: _, type: u, hideProgressBar: C, closeToast: I, transition: N, position: m, className: c, style: T, bodyClassName: f, bodyStyle: l, progressClassName: s, progressStyle: g, updateId: M, role: O, progress: L, rtl: i, toastId: v, deleteToast: w, isIn: R, isLoading: S, closeOnClick: Y, theme: z } = e, Q = F("Toastify__toast", `Toastify__toast-theme--${z}`, `Toastify__toast--${u}`, { "Toastify__toast--rtl": i }, { "Toastify__toast--close-on-click": Y }), Z = k(c) ? c({ rtl: i, position: m, type: u, defaultClassName: Q }) : F(Q, c), D = function(X) {
267
- let { theme: A, type: P, isLoading: x, icon: B } = X, V = null;
268
- const U = { theme: A, type: P };
269
- return B === !1 || (k(B) ? V = B({ ...U, isLoading: x }) : b.isValidElement(B) ? V = b.cloneElement(B, U) : x ? V = re.spinner() : ((ge) => ge in re)(P) && (V = re[P](U))), V;
270
- }(e), H = !!L || !p, j = { closeToast: I, type: u, theme: z };
283
+ } }, Le = (e) => {
284
+ const { isRunning: t, preventExitTransition: n, toastRef: s, eventHandlers: a, playToast: u } = Te(e), { closeButton: o, children: E, autoClose: p, onClick: _, type: d, hideProgressBar: C, closeToast: I, transition: N, position: m, className: c, style: T, bodyClassName: f, bodyStyle: l, progressClassName: r, progressStyle: g, updateId: A, role: O, progress: L, rtl: i, toastId: v, deleteToast: w, isIn: R, isLoading: S, closeOnClick: Y, theme: z } = e, Q = F("Toastify__toast", `Toastify__toast-theme--${z}`, `Toastify__toast--${d}`, { "Toastify__toast--rtl": i }, { "Toastify__toast--close-on-click": Y }), Z = k(c) ? c({ rtl: i, position: m, type: d, defaultClassName: Q }) : F(Q, c), D = function(X) {
285
+ let { theme: M, type: P, isLoading: x, icon: B } = X, V = null;
286
+ const U = { theme: M, type: P };
287
+ return B === !1 || (k(B) ? V = B({ ...U, isLoading: x }) : b.isValidElement(B) ? V = b.cloneElement(B, U) : x ? V = re.spinner() : ((ye) => ye in re)(P) && (V = re[P](U))), V;
288
+ }(e), H = !!L || !p, j = { closeToast: I, type: d, theme: z };
271
289
  let W = null;
272
- return n === !1 || (W = k(n) ? n(j) : b.isValidElement(n) ? b.cloneElement(n, j) : function(X) {
273
- let { closeToast: A, theme: P, ariaLabel: x = "close" } = X;
290
+ return o === !1 || (W = k(o) ? o(j) : b.isValidElement(o) ? b.cloneElement(o, j) : function(X) {
291
+ let { closeToast: M, theme: P, ariaLabel: x = "close" } = X;
274
292
  return y.createElement("button", { className: `Toastify__close-button Toastify__close-button--${P}`, type: "button", onClick: (B) => {
275
- B.stopPropagation(), A(B);
293
+ B.stopPropagation(), M(B);
276
294
  }, "aria-label": x }, y.createElement("svg", { "aria-hidden": "true", viewBox: "0 0 14 16" }, y.createElement("path", { fillRule: "evenodd", d: "M7.71 8.23l3.75 3.75-1.48 1.48-3.75-3.75-3.75 3.75L1 11.98l3.75-3.75L1 4.48 2.48 3l3.75 3.75L9.98 3l1.48 1.48-3.75 3.75z" })));
277
- }(j)), y.createElement(N, { isIn: R, done: w, position: m, preventExitTransition: o, nodeRef: r, playToast: d }, y.createElement("div", { id: v, onClick: _, "data-in": R, className: Z, ...a, style: T, ref: r }, y.createElement("div", { ...R && { role: O }, className: k(f) ? f({ type: u }) : F("Toastify__toast-body", f), style: l }, D != null && y.createElement("div", { className: F("Toastify__toast-icon", { "Toastify--animate-icon Toastify__zoom-enter": !S }) }, D), y.createElement("div", null, E)), W, y.createElement(Te, { ...M && !H ? { key: `pb-${M}` } : {}, rtl: i, theme: z, delay: p, isRunning: t, isIn: R, closeToast: I, hide: C, type: u, style: g, className: s, controlledProgress: H, progress: L || 0 })));
295
+ }(j)), y.createElement(N, { isIn: R, done: w, position: m, preventExitTransition: n, nodeRef: s, playToast: u }, y.createElement("div", { id: v, onClick: _, "data-in": R, className: Z, ...a, style: T, ref: s }, y.createElement("div", { ...R && { role: O }, className: k(f) ? f({ type: d }) : F("Toastify__toast-body", f), style: l }, D != null && y.createElement("div", { className: F("Toastify__toast-icon", { "Toastify--animate-icon Toastify__zoom-enter": !S }) }, D), y.createElement("div", null, E)), W, y.createElement(be, { ...A && !H ? { key: `pb-${A}` } : {}, rtl: i, theme: z, delay: p, isRunning: t, isIn: R, closeToast: I, hide: C, type: d, style: g, className: r, controlledProgress: H, progress: L || 0 })));
278
296
  }, ae = function(e, t) {
279
297
  return t === void 0 && (t = !1), { enter: `Toastify--animate Toastify__${e}-enter`, exit: `Toastify--animate Toastify__${e}-exit`, appendPosition: t };
280
- }, Le = se(ae("bounce", !0));
298
+ }, Ne = se(ae("bounce", !0));
281
299
  se(ae("slide", !0));
282
300
  se(ae("zoom"));
283
301
  se(ae("flip"));
284
- const Ne = { position: "top-right", transition: Le, autoClose: 5e3, closeButton: !0, pauseOnHover: !0, pauseOnFocusLoss: !0, draggable: "touch", draggablePercent: 80, draggableDirection: "x", role: "alert", theme: "light" };
302
+ const $e = { position: "top-right", transition: Ne, autoClose: 5e3, closeButton: !0, pauseOnHover: !0, pauseOnFocusLoss: !0, draggable: "touch", draggablePercent: 80, draggableDirection: "x", role: "alert", theme: "light" };
285
303
  function ke(e) {
286
- let t = { ...Ne, ...e };
287
- const o = e.stacked, [r, a] = b.useState(!0), d = b.useRef(null), { getToastToRender: n, isToastActive: E, count: p } = he(t), { className: _, style: u, rtl: C, containerId: I } = t;
304
+ let t = { ...$e, ...e };
305
+ const n = e.stacked, [s, a] = b.useState(!0), u = b.useRef(null), { getToastToRender: o, isToastActive: E, count: p } = Ee(t), { className: _, style: d, rtl: C, containerId: I } = t;
288
306
  function N(c) {
289
307
  const T = F("Toastify__toast-container", `Toastify__toast-container--${c}`, { "Toastify__toast-container--rtl": C });
290
308
  return k(_) ? _({ position: c, rtl: C, defaultClassName: T }) : F(T, ne(_));
291
309
  }
292
310
  function m() {
293
- o && (a(!0), h.play());
311
+ n && (a(!0), h.play());
294
312
  }
295
- return _e(() => {
296
- if (o) {
313
+ return Ce(() => {
314
+ if (n) {
297
315
  var c;
298
- const T = d.current.querySelectorAll('[data-in="true"]'), f = 12, l = (c = t.position) == null ? void 0 : c.includes("top");
299
- let s = 0, g = 0;
300
- Array.from(T).reverse().forEach((M, O) => {
301
- const L = M;
302
- L.classList.add("Toastify__toast--stacked"), O > 0 && (L.dataset.collapsed = `${r}`), L.dataset.pos || (L.dataset.pos = l ? "top" : "bot");
303
- const i = s * (r ? 0.2 : 1) + (r ? 0 : f * O);
304
- L.style.setProperty("--y", `${l ? i : -1 * i}px`), L.style.setProperty("--g", `${f}`), L.style.setProperty("--s", "" + (1 - (r ? g : 0))), s += L.offsetHeight, g += 0.025;
316
+ const T = u.current.querySelectorAll('[data-in="true"]'), f = 12, l = (c = t.position) == null ? void 0 : c.includes("top");
317
+ let r = 0, g = 0;
318
+ Array.from(T).reverse().forEach((A, O) => {
319
+ const L = A;
320
+ L.classList.add("Toastify__toast--stacked"), O > 0 && (L.dataset.collapsed = `${s}`), L.dataset.pos || (L.dataset.pos = l ? "top" : "bot");
321
+ const i = r * (s ? 0.2 : 1) + (s ? 0 : f * O);
322
+ L.style.setProperty("--y", `${l ? i : -1 * i}px`), L.style.setProperty("--g", `${f}`), L.style.setProperty("--s", "" + (1 - (s ? g : 0))), r += L.offsetHeight, g += 0.025;
305
323
  });
306
324
  }
307
- }, [r, p, o]), y.createElement("div", { ref: d, className: "Toastify", id: I, onMouseEnter: () => {
308
- o && (a(!1), h.pause());
309
- }, onMouseLeave: m }, n((c, T) => {
310
- const f = T.length ? { ...u } : { ...u, pointerEvents: "none" };
325
+ }, [s, p, n]), y.createElement("div", { ref: u, className: "Toastify", id: I, onMouseEnter: () => {
326
+ n && (a(!1), h.pause());
327
+ }, onMouseLeave: m }, o((c, T) => {
328
+ const f = T.length ? { ...d } : { ...d, pointerEvents: "none" };
311
329
  return y.createElement("div", { className: N(c), style: f, key: `container-${c}` }, T.map((l) => {
312
- let { content: s, props: g } = l;
313
- return y.createElement(Ce, { ...g, stacked: o, collapseAll: m, isIn: E(g.toastId, g.containerId), style: g.style, key: `toast-${g.key}` }, s);
330
+ let { content: r, props: g } = l;
331
+ return y.createElement(Le, { ...g, stacked: n, collapseAll: m, isIn: E(g.toastId, g.containerId), style: g.style, key: `toast-${g.key}` }, r);
314
332
  }));
315
333
  }));
316
334
  }
317
335
  export {
318
336
  h as B,
319
- ke as Q
337
+ ke as Q,
338
+ F as c
320
339
  };
@@ -1,5 +1,5 @@
1
- import { s as t, j as s } from "../react-to-web-component-D7SoYMky.js";
2
- import { Q as e } from "../react-toastify.esm-Y1WvK90L.js";
1
+ import { s as t, j as s } from "../react-to-web-component-C4-Jmrxs.js";
2
+ import { Q as e } from "../react-toastify.esm-C4-Xv2fh.js";
3
3
  const n = (o) => /* @__PURE__ */ s.jsx(
4
4
  e,
5
5
  {
@@ -1,5 +1,5 @@
1
- import { s as a, j as t } from "../react-to-web-component-D7SoYMky.js";
2
- import { Q as s } from "../react-toastify.esm-Y1WvK90L.js";
1
+ import { s as a, j as t } from "../react-to-web-component-C4-Jmrxs.js";
2
+ import { Q as s } from "../react-toastify.esm-C4-Xv2fh.js";
3
3
  const i = ':root{--toastify-color-light: #fff;--toastify-color-dark: #121212;--toastify-color-info: #3498db;--toastify-color-success: #07bc0c;--toastify-color-warning: #f1c40f;--toastify-color-error: #e74c3c;--toastify-color-transparent: rgba(255, 255, 255, .7);--toastify-icon-color-info: var(--toastify-color-info);--toastify-icon-color-success: var(--toastify-color-success);--toastify-icon-color-warning: var(--toastify-color-warning);--toastify-icon-color-error: var(--toastify-color-error);--toastify-toast-width: 320px;--toastify-toast-offset: 16px;--toastify-toast-top: max(var(--toastify-toast-offset), env(safe-area-inset-top));--toastify-toast-right: max(var(--toastify-toast-offset), env(safe-area-inset-right));--toastify-toast-left: max(var(--toastify-toast-offset), env(safe-area-inset-left));--toastify-toast-bottom: max(var(--toastify-toast-offset), env(safe-area-inset-bottom));--toastify-toast-background: #fff;--toastify-toast-min-height: 64px;--toastify-toast-max-height: 800px;--toastify-toast-bd-radius: 6px;--toastify-font-family: sans-serif;--toastify-z-index: 9999;--toastify-text-color-light: #757575;--toastify-text-color-dark: #fff;--toastify-text-color-info: #fff;--toastify-text-color-success: #fff;--toastify-text-color-warning: #fff;--toastify-text-color-error: #fff;--toastify-spinner-color: #616161;--toastify-spinner-color-empty-area: #e0e0e0;--toastify-color-progress-light: linear-gradient( to right, #4cd964, #5ac8fa, #007aff, #34aadc, #5856d6, #ff2d55 );--toastify-color-progress-dark: #bb86fc;--toastify-color-progress-info: var(--toastify-color-info);--toastify-color-progress-success: var(--toastify-color-success);--toastify-color-progress-warning: var(--toastify-color-warning);--toastify-color-progress-error: var(--toastify-color-error);--toastify-color-progress-bgo: .2}.Toastify__toast-container{z-index:var(--toastify-z-index);-webkit-transform:translate3d(0,0,var(--toastify-z-index));position:fixed;padding:4px;width:var(--toastify-toast-width);box-sizing:border-box;color:#fff}.Toastify__toast-container--top-left{top:var(--toastify-toast-top);left:var(--toastify-toast-left)}.Toastify__toast-container--top-center{top:var(--toastify-toast-top);left:50%;transform:translate(-50%)}.Toastify__toast-container--top-right{top:var(--toastify-toast-top);right:var(--toastify-toast-right)}.Toastify__toast-container--bottom-left{bottom:var(--toastify-toast-bottom);left:var(--toastify-toast-left)}.Toastify__toast-container--bottom-center{bottom:var(--toastify-toast-bottom);left:50%;transform:translate(-50%)}.Toastify__toast-container--bottom-right{bottom:var(--toastify-toast-bottom);right:var(--toastify-toast-right)}@media only screen and (max-width : 480px){.Toastify__toast-container{width:100vw;padding:0;left:env(safe-area-inset-left);margin:0}.Toastify__toast-container--top-left,.Toastify__toast-container--top-center,.Toastify__toast-container--top-right{top:env(safe-area-inset-top);transform:translate(0)}.Toastify__toast-container--bottom-left,.Toastify__toast-container--bottom-center,.Toastify__toast-container--bottom-right{bottom:env(safe-area-inset-bottom);transform:translate(0)}.Toastify__toast-container--rtl{right:env(safe-area-inset-right);left:initial}}.Toastify__toast{--y: 0;position:relative;touch-action:none;min-height:var(--toastify-toast-min-height);box-sizing:border-box;margin-bottom:1rem;padding:8px;border-radius:var(--toastify-toast-bd-radius);box-shadow:0 4px 12px #0000001a;display:flex;justify-content:space-between;max-height:var(--toastify-toast-max-height);font-family:var(--toastify-font-family);cursor:default;direction:ltr;z-index:0;overflow:hidden}.Toastify__toast--stacked{position:absolute;width:100%;transform:translate3d(0,var(--y),0) scale(var(--s));transition:transform .3s}.Toastify__toast--stacked[data-collapsed] .Toastify__toast-body,.Toastify__toast--stacked[data-collapsed] .Toastify__close-button{transition:opacity .1s}.Toastify__toast--stacked[data-collapsed=false]{overflow:visible}.Toastify__toast--stacked[data-collapsed=true]:not(:last-child)>*{opacity:0}.Toastify__toast--stacked:after{content:"";position:absolute;left:0;right:0;height:calc(var(--g) * 1px);bottom:100%}.Toastify__toast--stacked[data-pos=top]{top:0}.Toastify__toast--stacked[data-pos=bot]{bottom:0}.Toastify__toast--stacked[data-pos=bot].Toastify__toast--stacked:before{transform-origin:top}.Toastify__toast--stacked[data-pos=top].Toastify__toast--stacked:before{transform-origin:bottom}.Toastify__toast--stacked:before{content:"";position:absolute;left:0;right:0;bottom:0;height:100%;transform:scaleY(3);z-index:-1}.Toastify__toast--rtl{direction:rtl}.Toastify__toast--close-on-click{cursor:pointer}.Toastify__toast-body{margin:auto 0;flex:1 1 auto;padding:6px;display:flex;align-items:center}.Toastify__toast-body>div:last-child{word-break:break-word;flex:1}.Toastify__toast-icon{margin-inline-end:10px;width:20px;flex-shrink:0;display:flex}.Toastify--animate{animation-fill-mode:both;animation-duration:.5s}.Toastify--animate-icon{animation-fill-mode:both;animation-duration:.3s}@media only screen and (max-width : 480px){.Toastify__toast{margin-bottom:0;border-radius:0}}.Toastify__toast-theme--dark{background:var(--toastify-color-dark);color:var(--toastify-text-color-dark)}.Toastify__toast-theme--light,.Toastify__toast-theme--colored.Toastify__toast--default{background:var(--toastify-color-light);color:var(--toastify-text-color-light)}.Toastify__toast-theme--colored.Toastify__toast--info{color:var(--toastify-text-color-info);background:var(--toastify-color-info)}.Toastify__toast-theme--colored.Toastify__toast--success{color:var(--toastify-text-color-success);background:var(--toastify-color-success)}.Toastify__toast-theme--colored.Toastify__toast--warning{color:var(--toastify-text-color-warning);background:var(--toastify-color-warning)}.Toastify__toast-theme--colored.Toastify__toast--error{color:var(--toastify-text-color-error);background:var(--toastify-color-error)}.Toastify__progress-bar-theme--light{background:var(--toastify-color-progress-light)}.Toastify__progress-bar-theme--dark{background:var(--toastify-color-progress-dark)}.Toastify__progress-bar--info{background:var(--toastify-color-progress-info)}.Toastify__progress-bar--success{background:var(--toastify-color-progress-success)}.Toastify__progress-bar--warning{background:var(--toastify-color-progress-warning)}.Toastify__progress-bar--error{background:var(--toastify-color-progress-error)}.Toastify__progress-bar-theme--colored.Toastify__progress-bar--info,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--success,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--warning,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--error{background:var(--toastify-color-transparent)}.Toastify__close-button{color:#fff;background:transparent;outline:none;border:none;padding:0;cursor:pointer;opacity:.7;transition:.3s ease;align-self:flex-start;z-index:1}.Toastify__close-button--light{color:#000;opacity:.3}.Toastify__close-button>svg{fill:currentColor;height:16px;width:14px}.Toastify__close-button:hover,.Toastify__close-button:focus{opacity:1}@keyframes Toastify__trackProgress{0%{transform:scaleX(1)}to{transform:scaleX(0)}}.Toastify__progress-bar{position:absolute;bottom:0;left:0;width:100%;height:100%;z-index:var(--toastify-z-index);opacity:.7;transform-origin:left;border-bottom-left-radius:var(--toastify-toast-bd-radius)}.Toastify__progress-bar--animated{animation:Toastify__trackProgress linear 1 forwards}.Toastify__progress-bar--controlled{transition:transform .2s}.Toastify__progress-bar--rtl{right:0;left:initial;transform-origin:right;border-bottom-left-radius:initial;border-bottom-right-radius:var(--toastify-toast-bd-radius)}.Toastify__progress-bar--wrp{position:absolute;bottom:0;left:0;width:100%;height:5px;border-bottom-left-radius:var(--toastify-toast-bd-radius)}.Toastify__progress-bar--wrp[data-hidden=true]{opacity:0}.Toastify__progress-bar--bg{opacity:var(--toastify-color-progress-bgo);width:100%;height:100%}.Toastify__spinner{width:20px;height:20px;box-sizing:border-box;border:2px solid;border-radius:100%;border-color:var(--toastify-spinner-color-empty-area);border-right-color:var(--toastify-spinner-color);animation:Toastify__spin .65s linear infinite}@keyframes Toastify__bounceInRight{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(3000px,0,0)}60%{opacity:1;transform:translate3d(-25px,0,0)}75%{transform:translate3d(10px,0,0)}90%{transform:translate3d(-5px,0,0)}to{transform:none}}@keyframes Toastify__bounceOutRight{20%{opacity:1;transform:translate3d(-20px,var(--y),0)}to{opacity:0;transform:translate3d(2000px,var(--y),0)}}@keyframes Toastify__bounceInLeft{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(-3000px,0,0)}60%{opacity:1;transform:translate3d(25px,0,0)}75%{transform:translate3d(-10px,0,0)}90%{transform:translate3d(5px,0,0)}to{transform:none}}@keyframes Toastify__bounceOutLeft{20%{opacity:1;transform:translate3d(20px,var(--y),0)}to{opacity:0;transform:translate3d(-2000px,var(--y),0)}}@keyframes Toastify__bounceInUp{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,3000px,0)}60%{opacity:1;transform:translate3d(0,-20px,0)}75%{transform:translate3d(0,10px,0)}90%{transform:translate3d(0,-5px,0)}to{transform:translateZ(0)}}@keyframes Toastify__bounceOutUp{20%{transform:translate3d(0,calc(var(--y) - 10px),0)}40%,45%{opacity:1;transform:translate3d(0,calc(var(--y) + 20px),0)}to{opacity:0;transform:translate3d(0,-2000px,0)}}@keyframes Toastify__bounceInDown{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,-3000px,0)}60%{opacity:1;transform:translate3d(0,25px,0)}75%{transform:translate3d(0,-10px,0)}90%{transform:translate3d(0,5px,0)}to{transform:none}}@keyframes Toastify__bounceOutDown{20%{transform:translate3d(0,calc(var(--y) - 10px),0)}40%,45%{opacity:1;transform:translate3d(0,calc(var(--y) + 20px),0)}to{opacity:0;transform:translate3d(0,2000px,0)}}.Toastify__bounce-enter--top-left,.Toastify__bounce-enter--bottom-left{animation-name:Toastify__bounceInLeft}.Toastify__bounce-enter--top-right,.Toastify__bounce-enter--bottom-right{animation-name:Toastify__bounceInRight}.Toastify__bounce-enter--top-center{animation-name:Toastify__bounceInDown}.Toastify__bounce-enter--bottom-center{animation-name:Toastify__bounceInUp}.Toastify__bounce-exit--top-left,.Toastify__bounce-exit--bottom-left{animation-name:Toastify__bounceOutLeft}.Toastify__bounce-exit--top-right,.Toastify__bounce-exit--bottom-right{animation-name:Toastify__bounceOutRight}.Toastify__bounce-exit--top-center{animation-name:Toastify__bounceOutUp}.Toastify__bounce-exit--bottom-center{animation-name:Toastify__bounceOutDown}@keyframes Toastify__zoomIn{0%{opacity:0;transform:scale3d(.3,.3,.3)}50%{opacity:1}}@keyframes Toastify__zoomOut{0%{opacity:1}50%{opacity:0;transform:translate3d(0,var(--y),0) scale3d(.3,.3,.3)}to{opacity:0}}.Toastify__zoom-enter{animation-name:Toastify__zoomIn}.Toastify__zoom-exit{animation-name:Toastify__zoomOut}@keyframes Toastify__flipIn{0%{transform:perspective(400px) rotateX(90deg);animation-timing-function:ease-in;opacity:0}40%{transform:perspective(400px) rotateX(-20deg);animation-timing-function:ease-in}60%{transform:perspective(400px) rotateX(10deg);opacity:1}80%{transform:perspective(400px) rotateX(-5deg)}to{transform:perspective(400px)}}@keyframes Toastify__flipOut{0%{transform:translate3d(0,var(--y),0) perspective(400px)}30%{transform:translate3d(0,var(--y),0) perspective(400px) rotateX(-20deg);opacity:1}to{transform:translate3d(0,var(--y),0) perspective(400px) rotateX(90deg);opacity:0}}.Toastify__flip-enter{animation-name:Toastify__flipIn}.Toastify__flip-exit{animation-name:Toastify__flipOut}@keyframes Toastify__slideInRight{0%{transform:translate3d(110%,0,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideInLeft{0%{transform:translate3d(-110%,0,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideInUp{0%{transform:translate3d(0,110%,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideInDown{0%{transform:translate3d(0,-110%,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideOutRight{0%{transform:translate3d(0,var(--y),0)}to{visibility:hidden;transform:translate3d(110%,var(--y),0)}}@keyframes Toastify__slideOutLeft{0%{transform:translate3d(0,var(--y),0)}to{visibility:hidden;transform:translate3d(-110%,var(--y),0)}}@keyframes Toastify__slideOutDown{0%{transform:translate3d(0,var(--y),0)}to{visibility:hidden;transform:translate3d(0,500px,0)}}@keyframes Toastify__slideOutUp{0%{transform:translate3d(0,var(--y),0)}to{visibility:hidden;transform:translate3d(0,-500px,0)}}.Toastify__slide-enter--top-left,.Toastify__slide-enter--bottom-left{animation-name:Toastify__slideInLeft}.Toastify__slide-enter--top-right,.Toastify__slide-enter--bottom-right{animation-name:Toastify__slideInRight}.Toastify__slide-enter--top-center{animation-name:Toastify__slideInDown}.Toastify__slide-enter--bottom-center{animation-name:Toastify__slideInUp}.Toastify__slide-exit--top-left,.Toastify__slide-exit--bottom-left{animation-name:Toastify__slideOutLeft;animation-timing-function:ease-in;animation-duration:.3s}.Toastify__slide-exit--top-right,.Toastify__slide-exit--bottom-right{animation-name:Toastify__slideOutRight;animation-timing-function:ease-in;animation-duration:.3s}.Toastify__slide-exit--top-center{animation-name:Toastify__slideOutUp;animation-timing-function:ease-in;animation-duration:.3s}.Toastify__slide-exit--bottom-center{animation-name:Toastify__slideOutDown;animation-timing-function:ease-in;animation-duration:.3s}@keyframes Toastify__spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}', r = (o) => /* @__PURE__ */ t.jsx(
4
4
  s,
5
5
  {
@@ -1,5 +0,0 @@
1
- import "../react-to-web-component-D7SoYMky.js";
2
- import { aa as m } from "../index-B8-7QZsi.js";
3
- export {
4
- m as BaseBreadcrumbs
5
- };
@@ -1,22 +0,0 @@
1
- function a(r) {
2
- var f, n, t = "";
3
- if (typeof r == "string" || typeof r == "number")
4
- t += r;
5
- else if (typeof r == "object")
6
- if (Array.isArray(r)) {
7
- var o = r.length;
8
- for (f = 0; f < o; f++)
9
- r[f] && (n = a(r[f])) && (t && (t += " "), t += n);
10
- } else
11
- for (n in r)
12
- r[n] && (t && (t += " "), t += n);
13
- return t;
14
- }
15
- function i() {
16
- for (var r, f, n = 0, t = "", o = arguments.length; n < o; n++)
17
- (r = arguments[n]) && (f = a(r)) && (t && (t += " "), t += f);
18
- return t;
19
- }
20
- export {
21
- i as c
22
- };