@telia-ace/widget-ui 1.0.32 → 1.0.33-next.1

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/index.js CHANGED
@@ -1,37 +1,37 @@
1
- var st = Object.defineProperty, it = Object.defineProperties;
2
- var at = Object.getOwnPropertyDescriptors;
3
- var ne = Object.getOwnPropertySymbols;
4
- var He = Object.prototype.hasOwnProperty, Te = Object.prototype.propertyIsEnumerable;
5
- var me = (e, t, n) => t in e ? st(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, h = (e, t) => {
1
+ var ct = Object.defineProperty, lt = Object.defineProperties;
2
+ var ut = Object.getOwnPropertyDescriptors;
3
+ var re = Object.getOwnPropertySymbols;
4
+ var De = Object.prototype.hasOwnProperty, Be = Object.prototype.propertyIsEnumerable;
5
+ var de = (e, t, n) => t in e ? ct(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, h = (e, t) => {
6
6
  for (var n in t || (t = {}))
7
- He.call(t, n) && me(e, n, t[n]);
8
- if (ne)
9
- for (var n of ne(t))
10
- Te.call(t, n) && me(e, n, t[n]);
7
+ De.call(t, n) && de(e, n, t[n]);
8
+ if (re)
9
+ for (var n of re(t))
10
+ Be.call(t, n) && de(e, n, t[n]);
11
11
  return e;
12
- }, k = (e, t) => it(e, at(t));
13
- var S = (e, t) => {
12
+ }, k = (e, t) => lt(e, ut(t));
13
+ var R = (e, t) => {
14
14
  var n = {};
15
15
  for (var o in e)
16
- He.call(e, o) && t.indexOf(o) < 0 && (n[o] = e[o]);
17
- if (e != null && ne)
18
- for (var o of ne(e))
19
- t.indexOf(o) < 0 && Te.call(e, o) && (n[o] = e[o]);
16
+ De.call(e, o) && t.indexOf(o) < 0 && (n[o] = e[o]);
17
+ if (e != null && re)
18
+ for (var o of re(e))
19
+ t.indexOf(o) < 0 && Be.call(e, o) && (n[o] = e[o]);
20
20
  return n;
21
21
  };
22
- var re = (e, t, n) => (me(e, typeof t != "symbol" ? t + "" : t, n), n);
23
- import { Container as ct, WidgetState as lt } from "@webprovisions/platform";
24
- import r, { forwardRef as N, createContext as X, useContext as K, useState as $, useEffect as E, useRef as R, useCallback as T, useImperativeHandle as Ce, useMemo as se, Component as ut, lazy as mt } from "react";
25
- import { ComponentPlatform as dt, asDescriptor as ft, createEventSubscriber as ht, ComponentQuery as pt, WidgetRenderState as oe, extendComponent as gt } from "@telia-ace/widget-core";
26
- import { css as L, keyframes as Ze } from "@emotion/react";
22
+ var oe = (e, t, n) => (de(e, typeof t != "symbol" ? t + "" : t, n), n);
23
+ import { Container as mt, WidgetState as dt } from "@webprovisions/platform";
24
+ import r, { forwardRef as N, createContext as X, useContext as j, useState as $, useEffect as v, useRef as S, useCallback as T, useImperativeHandle as ye, useMemo as ie, Component as ft, lazy as ht } from "react";
25
+ import { ComponentPlatform as pt, asDescriptor as gt, createEventSubscriber as Ct, ComponentQuery as yt, WidgetRenderState as se, extendComponent as bt } from "@telia-ace/widget-core";
26
+ import { css as L, keyframes as Oe } from "@emotion/react";
27
27
  import y from "@emotion/styled";
28
- import { kebabCase as Ct, appendClassNames as M, uuid as q, removeNullAndUndefinedValues as De, Logger as de } from "@telia-ace/widget-utilities";
29
- import { CSSTransition as Ie, Transition as yt } from "react-transition-group";
30
- import { createPortal as bt } from "react-dom";
31
- import { HistoryMode as Be, getSpecificWidgetPath as vt } from "@telia-ace/widget-routing";
32
- import { Link as fe } from "react-router-dom";
33
- import ze from "htmr";
34
- const Et = (e) => e === "entering" || e === "entered", xt = (e) => e === "exiting" || e === "exited", A = {
28
+ import { kebabCase as vt, appendClassNames as M, uuid as Q, removeNullAndUndefinedValues as ze, Logger as fe } from "@telia-ace/widget-utilities";
29
+ import { CSSTransition as Pe, Transition as Et } from "react-transition-group";
30
+ import { createPortal as xt } from "react-dom";
31
+ import { HistoryMode as Ne, getSpecificWidgetPath as wt } from "@telia-ace/widget-routing";
32
+ import { Link as he } from "react-router-dom";
33
+ import Ve from "htmr";
34
+ const $t = (e) => e === "entering" || e === "entered", kt = (e) => e === "exiting" || e === "exited", K = {
35
35
  fade: {
36
36
  in: "opacity: 1;",
37
37
  out: "opacity: 0;"
@@ -56,29 +56,29 @@ const Et = (e) => e === "entering" || e === "entered", xt = (e) => e === "exitin
56
56
  in: "transform: scale(1);",
57
57
  out: "transform: scale(0);"
58
58
  }
59
- }, wt = ["slide-up", "slide-down", "slide-left", "slide-right", "scale"], he = {
59
+ }, Lt = ["slide-up", "slide-down", "slide-left", "slide-right", "scale"], pe = {
60
60
  compose: (e = "exited", t) => {
61
- const { enter: n, exit: o } = t, s = n.transitionKeys.split(" "), i = wt.indexOf(s[0]) > -1 ? "transform" : "opacity";
62
- if (Et(e))
61
+ const { enter: n, exit: o } = t, s = n.transitionKeys.split(" "), i = Lt.indexOf(s[0]) > -1 ? "transform" : "opacity";
62
+ if ($t(e))
63
63
  return s && s.length > 0 ? L`
64
- ${s && s.length > 0 && s.map((l) => A[l] ? A[l].in : "")}
64
+ ${s && s.length > 0 && s.map((l) => K[l] ? K[l].in : "")}
65
65
  transition: ${i} ${n.duration}ms ${n.easing};
66
66
  ` : "";
67
67
  const a = s && s.length > 0 && L`
68
- ${s.map((l) => A[l] ? A[l].out : "")}
68
+ ${s.map((l) => K[l] ? K[l].out : "")}
69
69
  `;
70
- if (xt(e)) {
70
+ if (kt(e)) {
71
71
  const l = o.transitionKeys.split(" ");
72
72
  return l && l.length > 0 && e === "exiting" ? L`
73
73
  ${a};
74
- ${l.map((u) => A[u] ? A[u].out : "")}
74
+ ${l.map((u) => K[u] ? K[u].out : "")}
75
75
  transition: ${i} ${o.duration}ms ${o.easing};
76
76
  ` : a;
77
77
  }
78
78
  },
79
79
  composeViewTransition: (e, t, n) => {
80
80
  if (t === "slide")
81
- return he.compose(e, {
81
+ return pe.compose(e, {
82
82
  enter: {
83
83
  transitionKeys: n === "forth" ? "slide-right" : "slide-left",
84
84
  duration: 500
@@ -89,7 +89,7 @@ const Et = (e) => e === "entering" || e === "entered", xt = (e) => e === "exitin
89
89
  }
90
90
  });
91
91
  if (t === "fade")
92
- return he.compose(e, {
92
+ return pe.compose(e, {
93
93
  enter: {
94
94
  transitionKeys: "fade",
95
95
  duration: 500
@@ -100,10 +100,10 @@ const Et = (e) => e === "entering" || e === "entered", xt = (e) => e === "exitin
100
100
  }
101
101
  });
102
102
  },
103
- get: (e) => A[e]
103
+ get: (e) => K[e]
104
104
  };
105
- var pe = /* @__PURE__ */ ((e) => (e.Opera = "opera", e.Chrome = "chrome", e.Firefox = "firefox", e.Safari = "safari", e.Edge = "edge", e.EdgeChromium = "edge-chromium", e.Blink = "blink", e.IE = "internet-explorer", e))(pe || {});
106
- const Ne = () => {
105
+ var ge = /* @__PURE__ */ ((e) => (e.Opera = "opera", e.Chrome = "chrome", e.Firefox = "firefox", e.Safari = "safari", e.Edge = "edge", e.EdgeChromium = "edge-chromium", e.Blink = "blink", e.IE = "internet-explorer", e))(ge || {});
106
+ const We = () => {
107
107
  const {
108
108
  opr: e,
109
109
  opera: t,
@@ -134,42 +134,42 @@ const Ne = () => {
134
134
  return "edge-chromium";
135
135
  if ((d || c) && !!u)
136
136
  return "blink";
137
- }, $t = ["string", "number"], V = (e) => Object.keys(e).reduce((t, n) => {
137
+ }, Mt = ["string", "number"], V = (e) => Object.keys(e).reduce((t, n) => {
138
138
  const o = typeof e[n] == "undefined" ? "" : e[n], s = typeof o;
139
- if ($t.indexOf(s) > -1) {
139
+ if (Mt.indexOf(s) > -1) {
140
140
  const i = n.substring(0, 5);
141
- i === "data-" || i === "aria-" ? t[Ct(n)] = o.toString() : n.substring(0, 4) !== "css-" && (t[n] = o.toString());
141
+ i === "data-" || i === "aria-" ? t[vt(n)] = o.toString() : n.substring(0, 4) !== "css-" && (t[n] = o.toString());
142
142
  } else
143
143
  t[n] = o;
144
144
  return t;
145
- }, {}), kt = (e, t) => e.get("seoConfiguration") ? /* @__PURE__ */ r.createElement(Fn, h({}, t)) : null, ho = kt, Lt = (e) => new RegExp("^#", "i").test(e), Mt = (e) => (o) => {
146
- var s = o, { children: t } = s, n = S(s, ["children"]);
145
+ }, {}), St = (e, t) => e.get("seoConfiguration") ? /* @__PURE__ */ r.createElement(jn, h({}, t)) : null, Co = St, Rt = (e) => new RegExp("^#", "i").test(e), Ht = (e) => (o) => {
146
+ var s = o, { children: t } = s, n = R(s, ["children"]);
147
147
  const {
148
148
  implementation: i,
149
149
  name: a
150
150
  } = e.get("$widget"), { href: l = "" } = n;
151
- if (Lt(l))
152
- return /* @__PURE__ */ r.createElement(Vt, { smooth: !0, to: l }, t);
151
+ if (Rt(l))
152
+ return /* @__PURE__ */ r.createElement(It, { smooth: !0, to: l }, t);
153
153
  const u = i.bindings.map((p) => p.replace(/\./g, "\\.")).join("|"), m = new RegExp(`^((http[s]?:)?//)?(${u})/([^\\s]+)`).exec(l);
154
154
  if (m && m.length >= 4) {
155
155
  const p = m[4];
156
156
  if (i.widgets.get(p) && !p.startsWith("blob?") && !p.startsWith(a))
157
- return /* @__PURE__ */ r.createElement(Gr, { widgetName: p }, t);
157
+ return /* @__PURE__ */ r.createElement(to, { widgetName: p }, t);
158
158
  }
159
159
  return /* @__PURE__ */ r.createElement("a", h({}, n), t);
160
- }, St = Mt, Oe = (e) => {
160
+ }, Tt = Ht, Ae = (e) => {
161
161
  const t = {};
162
162
  return Object.keys(e).forEach((n) => {
163
163
  n.indexOf("css-") > -1 && (t[n] = e[n]);
164
164
  }), t;
165
- }, Rt = (e) => {
165
+ }, Dt = (e) => {
166
166
  let t = "";
167
- return Object.keys(Oe(e)).forEach((n) => {
167
+ return Object.keys(Ae(e)).forEach((n) => {
168
168
  n.indexOf("css-") > -1 && (t += `${n.replace("css-", "")}:${e[n]};`);
169
169
  }), L`
170
170
  ${t}
171
171
  `;
172
- }, Ht = Oe, Tt = (e, t) => {
172
+ }, Bt = Ae, zt = (e, t) => {
173
173
  let n = "";
174
174
  const o = () => {
175
175
  n = "";
@@ -178,9 +178,9 @@ const Ne = () => {
178
178
  return d !== null ? (p(d), o(), !0) : !1;
179
179
  }, i = (p) => (p.preventDefault(), o(), e.onClick && e.onClick(p), typeof e.to == "string" && (n = e.to.split("#").slice(1).join("#")), n !== "" && s(
180
180
  e.scroll || ((d) => e.smooth ? d.scrollIntoView({ behavior: "smooth" }) : d.scrollIntoView())
181
- ), !1), m = e, { scroll: a, smooth: l, to: u } = m, c = S(m, ["scroll", "smooth", "to"]);
181
+ ), !1), m = e, { scroll: a, smooth: l, to: u } = m, c = R(m, ["scroll", "smooth", "to"]);
182
182
  return t === "a" && (c.href = "javascript:;"), /* @__PURE__ */ r.createElement(t, k(h({}, c), { onClick: i }), e.children);
183
- }, ie = (e) => (t, n) => {
183
+ }, ae = (e) => (t, n) => {
184
184
  let o = t, s = "";
185
185
  if (["h1", "h2", "h3", "h4", "h5", "h6"].includes(t))
186
186
  o = t;
@@ -199,18 +199,18 @@ const Ne = () => {
199
199
  }
200
200
  `;
201
201
  };
202
- function Dt(e, t) {
203
- return t ? ze(e, t) : ze(e);
202
+ function Nt(e, t) {
203
+ return t ? Ve(e, t) : Ve(e);
204
204
  }
205
- const Bt = (e) => (t) => /* @__PURE__ */ r.createElement(Hr, { attrs: t, htmlBody: e }), zt = (e, t) => ({
205
+ const Vt = (e) => (t) => /* @__PURE__ */ r.createElement(Br, { attrs: t, htmlBody: e }), Wt = (e, t) => ({
206
206
  transform: {
207
- a: St(e),
208
- img: Bt(t)
207
+ a: Tt(e),
208
+ img: Vt(t)
209
209
  }
210
- }), Nt = (e) => Tt(e, "a"), Vt = Nt, ae = N((s, o) => {
211
- var i = s, { className: e, children: t } = i, n = S(i, ["className", "children"]);
210
+ }), Zt = (e) => zt(e, "a"), It = Zt, ce = N((s, o) => {
211
+ var i = s, { className: e, children: t } = i, n = R(i, ["className", "children"]);
212
212
  return /* @__PURE__ */ r.createElement(
213
- Wt,
213
+ Ot,
214
214
  k(h({
215
215
  type: "button",
216
216
  className: M(e, "humany-button")
@@ -219,7 +219,7 @@ const Bt = (e) => (t) => /* @__PURE__ */ r.createElement(Hr, { attrs: t, htmlBod
219
219
  }),
220
220
  t
221
221
  );
222
- }), Wt = y.button`
222
+ }), Ot = y.button`
223
223
  -webkit-appearance: button;
224
224
  text-transform: none;
225
225
  overflow: visible;
@@ -232,14 +232,14 @@ const Bt = (e) => (t) => /* @__PURE__ */ r.createElement(Hr, { attrs: t, htmlBod
232
232
  line-height: normal;
233
233
  margin: 0;
234
234
  padding: 0;
235
- `, Zt = (s) => {
235
+ `, Pt = (s) => {
236
236
  var i = s, {
237
237
  onChange: e = () => {
238
238
  },
239
239
  onEnter: t = () => {
240
240
  },
241
241
  className: n
242
- } = i, o = S(i, [
242
+ } = i, o = R(i, [
243
243
  "onChange",
244
244
  "onEnter",
245
245
  "className"
@@ -254,53 +254,53 @@ const Bt = (e) => (t) => /* @__PURE__ */ r.createElement(Hr, { attrs: t, htmlBod
254
254
  onChange: (a) => e(a.target.value, a.currentTarget.checked)
255
255
  }, V(o))
256
256
  );
257
- }, po = Zt, It = X(new ct()), Ot = X(1), Pe = X({
257
+ }, yo = Pt, At = X(new mt()), Ft = X(1), Fe = X({
258
258
  id: "",
259
259
  type: "",
260
260
  name: "",
261
261
  branch: ""
262
- }), Pt = X({}), Ft = X(null), At = X(null), Kt = () => K(Pe), ye = Kt, jt = () => K(It), W = jt, Yt = (e, t) => {
263
- const n = ye().id, o = W();
262
+ }), Kt = X({}), jt = X(null), Yt = X(null), Xt = () => j(Fe), be = Xt, Ut = () => j(At), Z = Ut, _t = (e, t) => {
263
+ const n = be().id, o = Z();
264
264
  return (s, i) => {
265
265
  (t || o).getAsync("actionResolver").then((a) => {
266
266
  a.action(e || n, s, i);
267
267
  });
268
268
  };
269
- }, go = Yt, Xt = (e) => {
270
- const t = K(Pe), n = U(), [o, s] = $();
271
- return E(() => {
269
+ }, bo = _t, qt = (e) => {
270
+ const t = j(Fe), n = U(), [o, s] = $();
271
+ return v(() => {
272
272
  if ((e || t.id) && n) {
273
273
  const i = n.nodes.get(e || t.id);
274
274
  s(i);
275
275
  }
276
276
  }, [e, t.id, n]), o;
277
- }, be = Xt, Ut = () => {
278
- const e = R(!1);
279
- return E(() => (e.current = !0, () => {
277
+ }, ve = qt, Qt = () => {
278
+ const e = S(!1);
279
+ return v(() => (e.current = !0, () => {
280
280
  e.current = !1;
281
281
  }), []), e;
282
- }, O = Ut, _t = (e) => {
283
- const t = W(), [n, o] = $(null), s = O();
284
- return E(() => {
285
- dt.getInstance(e || t).then((i) => {
282
+ }, O = Qt, Gt = (e) => {
283
+ const t = Z(), [n, o] = $(null), s = O();
284
+ return v(() => {
285
+ pt.getInstance(e || t).then((i) => {
286
286
  s.current && o(i);
287
287
  });
288
288
  }, [s]), n;
289
- }, U = _t, qt = () => {
290
- const e = be(), t = U(), [n, o] = $([]), s = O(), i = T(
289
+ }, U = Gt, Jt = () => {
290
+ const e = ve(), t = U(), [n, o] = $([]), s = O(), i = T(
291
291
  (a) => {
292
292
  if (t && s.current && a) {
293
- const l = t.getBranch(a), u = a.getChildren(l).map((c) => ft(c));
293
+ const l = t.getBranch(a), u = a.getChildren(l).map((c) => gt(c));
294
294
  o(u);
295
295
  }
296
296
  },
297
297
  [s, t, o, e]
298
298
  );
299
- return E(() => {
299
+ return v(() => {
300
300
  e && i(e);
301
- }, [e, t]), E(() => {
301
+ }, [e, t]), v(() => {
302
302
  if (t) {
303
- const [a, l] = ht(t.events);
303
+ const [a, l] = Ct(t.events);
304
304
  return a("components:set-layout", (u, c) => {
305
305
  (e === c.node.parent || c.node.parent === t.nodes.root) && i(c.node.parent);
306
306
  }), a("components:node-appended", (u, c) => {
@@ -312,9 +312,9 @@ const Bt = (e) => (t) => /* @__PURE__ */ r.createElement(Hr, { attrs: t, htmlBod
312
312
  };
313
313
  }
314
314
  }, [e, t, i]), n;
315
- }, Co = qt, Qt = () => K(Ot), yo = Qt, Gt = (e, t) => {
316
- const n = ye(), o = W(), [s, i] = $(void 0), a = O(), l = e || n.type || "";
317
- return E(() => {
315
+ }, vo = Jt, en = () => j(Ft), Eo = en, tn = (e, t) => {
316
+ const n = be(), o = Z(), [s, i] = $(void 0), a = O(), l = e || n.type || "";
317
+ return v(() => {
318
318
  if (l) {
319
319
  let u;
320
320
  return (t || o).getAsync("componentResolver").then((c) => {
@@ -330,11 +330,11 @@ const Bt = (e) => (t) => /* @__PURE__ */ r.createElement(Hr, { attrs: t, htmlBod
330
330
  };
331
331
  }
332
332
  }, [a, l, t, o]), s;
333
- }, bo = Gt, Jt = (e) => {
334
- const t = be(e), n = U(), [o, s] = $({}), i = O();
335
- return E(() => {
333
+ }, xo = tn, nn = (e) => {
334
+ const t = ve(e), n = U(), [o, s] = $({}), i = O();
335
+ return v(() => {
336
336
  t && i.current && s(t.attributes.context);
337
- }, [i, t]), E(() => {
337
+ }, [i, t]), v(() => {
338
338
  if (n) {
339
339
  const a = n.events.subscribe(
340
340
  "components:context-changed",
@@ -347,11 +347,11 @@ const Bt = (e) => (t) => /* @__PURE__ */ r.createElement(Hr, { attrs: t, htmlBod
347
347
  };
348
348
  }
349
349
  }, [i, n, t]), o;
350
- }, en = Jt, tn = () => K(At), vo = tn, nn = () => {
351
- const e = U(), t = ye(), [n, o] = $([]), [s, i] = $();
352
- return E(() => {
350
+ }, rn = nn, on = () => j(Yt), wo = on, sn = () => {
351
+ const e = U(), t = be(), [n, o] = $([]), [s, i] = $();
352
+ return v(() => {
353
353
  if (e && t) {
354
- const a = new pt(e).withId(t.id), l = e.actions(a, t.type || q());
354
+ const a = new yt(e).withId(t.id), l = e.actions(a, t.type || Q());
355
355
  i(l), n !== null && (n.forEach((u) => {
356
356
  l.dispatch(u.key, u.data).then((c) => u.resolve(c)).catch((c) => u.reject(c));
357
357
  }), o(null));
@@ -364,12 +364,12 @@ const Bt = (e) => (t) => /* @__PURE__ */ r.createElement(Hr, { attrs: t, htmlBod
364
364
  reject: c
365
365
  });
366
366
  }) : s.dispatch(a, l);
367
- }, Eo = nn, I = (e, t, n = window, o = () => !0) => {
368
- const s = R(() => {
367
+ }, $o = sn, I = (e, t, n = window, o = () => !0) => {
368
+ const s = S(() => {
369
369
  });
370
- E(() => {
370
+ v(() => {
371
371
  s.current = t;
372
- }, [t]), E(() => {
372
+ }, [t]), v(() => {
373
373
  if (!(n && o()))
374
374
  return;
375
375
  const a = (l) => s.current(l);
@@ -377,12 +377,12 @@ const Bt = (e) => (t) => /* @__PURE__ */ r.createElement(Hr, { attrs: t, htmlBod
377
377
  n.removeEventListener(e, a);
378
378
  };
379
379
  }, [e, n]);
380
- }, rn = (e) => {
381
- const t = W(), { events: n } = (e || t).get("$widget");
380
+ }, an = (e) => {
381
+ const t = Z(), { events: n } = (e || t).get("$widget");
382
382
  return n;
383
- }, on = rn, sn = () => {
383
+ }, cn = an, ln = () => {
384
384
  const [e, t] = $(!1);
385
- return E(() => {
385
+ return v(() => {
386
386
  const n = () => {
387
387
  t(!1);
388
388
  }, o = (s) => {
@@ -392,7 +392,7 @@ const Bt = (e) => (t) => /* @__PURE__ */ r.createElement(Hr, { attrs: t, htmlBod
392
392
  window.removeEventListener("keydown", o), window.removeEventListener("click", n);
393
393
  };
394
394
  }, []), e;
395
- }, xo = sn, an = (e, t) => {
395
+ }, ko = ln, un = (e, t) => {
396
396
  const [n, o] = $(!1), s = T(
397
397
  (a) => {
398
398
  const { key: l } = a;
@@ -406,11 +406,11 @@ const Bt = (e) => (t) => /* @__PURE__ */ r.createElement(Hr, { attrs: t, htmlBod
406
406
  [o]
407
407
  );
408
408
  return I("keydown", s, window), I("keyup", i, window), n;
409
- }, Y = an, cn = (e) => {
410
- const t = be(e), n = U(), [o, s] = $({}), i = O();
411
- return E(() => {
409
+ }, Y = un, mn = (e) => {
410
+ const t = ve(e), n = U(), [o, s] = $({}), i = O();
411
+ return v(() => {
412
412
  t && i.current && s(t.attributes.layout);
413
- }, [t, i]), E(() => {
413
+ }, [t, i]), v(() => {
414
414
  if (n) {
415
415
  const a = n.events.subscribe(
416
416
  "components:layout-changed",
@@ -423,14 +423,14 @@ const Bt = (e) => (t) => /* @__PURE__ */ r.createElement(Hr, { attrs: t, htmlBod
423
423
  };
424
424
  }
425
425
  }, [n, i, t]), o;
426
- }, wo = cn, ln = (e) => {
427
- const t = R();
428
- return E(() => {
426
+ }, Lo = mn, dn = (e) => {
427
+ const t = S();
428
+ return v(() => {
429
429
  t.current = e;
430
430
  }), t.current;
431
- }, Fe = ln, un = () => K(Pt), $o = un, mn = (e) => {
432
- const [t, n] = $(), o = W(), s = O();
433
- return E(() => {
431
+ }, Ke = dn, fn = () => j(Kt), Mo = fn, hn = (e) => {
432
+ const [t, n] = $(), o = Z(), s = O();
433
+ return v(() => {
434
434
  let i;
435
435
  const a = (e || o).get("$widget");
436
436
  if (!a)
@@ -444,20 +444,20 @@ const Bt = (e) => (t) => /* @__PURE__ */ r.createElement(Hr, { attrs: t, htmlBod
444
444
  case "close":
445
445
  case "open":
446
446
  s.current && n(
447
- p === "open" ? oe.open : oe.closed
447
+ p === "open" ? se.open : se.closed
448
448
  );
449
449
  break;
450
450
  case "hide":
451
- s.current && n(oe.hidden);
451
+ s.current && n(se.hidden);
452
452
  }
453
453
  });
454
454
  }), () => {
455
455
  i && i();
456
456
  };
457
457
  }, [s]), t;
458
- }, ko = mn, dn = () => K(Ft), Ae = dn, fn = (e) => {
459
- const t = W(), n = Ae(), [o, s] = $({ name: "", params: {} }), i = O();
460
- return E(() => {
458
+ }, So = hn, pn = () => j(jt), je = pn, gn = (e) => {
459
+ const t = Z(), n = je(), [o, s] = $({ name: "", params: {} }), i = O();
460
+ return v(() => {
461
461
  const a = (e || t).get("$widget");
462
462
  if (!a)
463
463
  return;
@@ -465,17 +465,17 @@ const Bt = (e) => (t) => /* @__PURE__ */ r.createElement(Hr, { attrs: t, htmlBod
465
465
  return l.subscribe("router:change", (c, { next: { routeData: m } }) => {
466
466
  if (i.current) {
467
467
  const { name: p, params: d } = m;
468
- De(d), s({ name: p, params: d });
468
+ ze(d), s({ name: p, params: d });
469
469
  }
470
470
  });
471
- }, [i, e, t]), E(() => {
471
+ }, [i, e, t]), v(() => {
472
472
  if (n && n.history && i.current) {
473
473
  const a = n.getRouteData(), { name: l, params: u } = a;
474
- De(u), s({ name: l, params: u });
474
+ ze(u), s({ name: l, params: u });
475
475
  }
476
476
  }, [n, i]), o;
477
- }, Lo = fn, Ke = (e) => {
478
- const t = R(), n = R(0);
477
+ }, Ro = gn, Ye = (e) => {
478
+ const t = S(), n = S(0);
479
479
  let o;
480
480
  const s = T(() => {
481
481
  var c;
@@ -500,9 +500,9 @@ const Bt = (e) => (t) => /* @__PURE__ */ r.createElement(Hr, { attrs: t, htmlBod
500
500
  },
501
501
  [t, n]
502
502
  );
503
- return I("scroll", s, t.current, () => t.current && e), I("touchstart", i, t.current, () => t.current && e), I("touchmove", u, t.current, () => t.current && e), e ? [hn, t] : ["", t];
504
- }, hn = `
505
- overflow-y: ${Ne() === pe.Chrome || Ne() === pe.EdgeChromium ? "overlay" : "auto"};
503
+ return I("scroll", s, t.current, () => t.current && e), I("touchstart", i, t.current, () => t.current && e), I("touchmove", u, t.current, () => t.current && e), e ? [Cn, t] : ["", t];
504
+ }, Cn = `
505
+ overflow-y: ${We() === ge.Chrome || We() === ge.EdgeChromium ? "overlay" : "auto"};
506
506
  overflow-x: hidden;
507
507
  -ms-overflow-style: none; /* IE 10+ */
508
508
  scrollbar-width: thin; /* Firefox */
@@ -529,21 +529,21 @@ const Bt = (e) => (t) => /* @__PURE__ */ r.createElement(Hr, { attrs: t, htmlBod
529
529
  background-color: #7F7F7F;
530
530
  }
531
531
  }
532
- `, pn = () => {
533
- const [e, t] = $(null), n = W(), o = O();
534
- return E(() => {
532
+ `, yn = () => {
533
+ const [e, t] = $(null), n = Z(), o = O();
534
+ return v(() => {
535
535
  n.get("settings").then((s) => {
536
536
  o.current && t(s);
537
537
  });
538
538
  }, [o]), e;
539
- }, Mo = pn, gn = (e = !1) => {
539
+ }, Ho = yn, bn = (e = !1) => {
540
540
  const [t, n] = $(e), o = T((s) => {
541
541
  n(typeof s == "boolean" ? s : (i) => !i);
542
542
  }, []);
543
543
  return [t, o];
544
- }, je = gn, So = (e) => {
545
- const t = W(), n = U(), o = t.get("widgetDOMElement"), [s, i] = $(null), [a, l] = $(null), u = O();
546
- E(() => {
544
+ }, Xe = bn, To = (e) => {
545
+ const t = Z(), n = U(), o = t.get("widgetDOMElement"), [s, i] = $(null), [a, l] = $(null), u = O();
546
+ v(() => {
547
547
  if (n && u.current) {
548
548
  const m = n.nodes.all.find((d) => d.name === "root-area"), p = n.nodes.all.find((d) => d.type === "view");
549
549
  if (!(p != null && p.attributes.properties.animation) && !(m != null && m.attributes.properties.animation))
@@ -563,9 +563,9 @@ const Bt = (e) => (t) => /* @__PURE__ */ r.createElement(Hr, { attrs: t, htmlBod
563
563
  [e, u, s, a]
564
564
  );
565
565
  I("transitionend", c, s), I("transitionend", c, a);
566
- }, Cn = (e, t, n = [], o) => {
567
- const s = on(o);
568
- return E(() => {
566
+ }, vn = (e, t, n = [], o) => {
567
+ const s = cn(o);
568
+ return v(() => {
569
569
  if (s) {
570
570
  const i = s.subscribe(e, t);
571
571
  return () => {
@@ -573,13 +573,13 @@ const Bt = (e) => (t) => /* @__PURE__ */ r.createElement(Hr, { attrs: t, htmlBod
573
573
  };
574
574
  }
575
575
  }, [s].concat(n)), (i) => s == null ? void 0 : s.dispatch(e, i);
576
- }, ce = Cn, yn = (e, t) => {
577
- const n = ce("widget:menu-toggled", (o, s) => {
576
+ }, le = vn, En = (e, t) => {
577
+ const n = le("widget:menu-toggled", (o, s) => {
578
578
  s !== e && t();
579
579
  });
580
580
  return () => n(e);
581
- }, ve = yn, bn = (o) => {
582
- var s = o, { className: e, children: t } = s, n = S(s, ["className", "children"]);
581
+ }, Ee = En, xn = (o) => {
582
+ var s = o, { className: e, children: t } = s, n = R(s, ["className", "children"]);
583
583
  return /* @__PURE__ */ r.createElement(
584
584
  "span",
585
585
  h({
@@ -587,7 +587,7 @@ const Bt = (e) => (t) => /* @__PURE__ */ r.createElement(Hr, { attrs: t, htmlBod
587
587
  }, V(n)),
588
588
  t
589
589
  );
590
- }, Ee = bn, Ye = (e) => L`
590
+ }, xe = xn, Ue = (e) => L`
591
591
  display: flex;
592
592
  justify-content: center;
593
593
  flex-direction: column;
@@ -596,7 +596,7 @@ const Bt = (e) => (t) => /* @__PURE__ */ r.createElement(Hr, { attrs: t, htmlBod
596
596
  border: ${e.theme.border};
597
597
  box-shadow: ${e.theme.boxShadow || "none"};
598
598
  ${e["data-loading"] && "min-height: 150px;"}
599
- `, vn = (e) => {
599
+ `, wn = (e) => {
600
600
  var t, n, o;
601
601
  return L`
602
602
  cursor: pointer;
@@ -608,11 +608,11 @@ const Bt = (e) => (t) => /* @__PURE__ */ r.createElement(Hr, { attrs: t, htmlBod
608
608
  font-family: ${(n = e.theme.fonts) == null ? void 0 : n.type};
609
609
  font-size: ${(o = e.theme.fonts) == null ? void 0 : o.normal};
610
610
  `;
611
- }, Ro = (e) => {
611
+ }, Do = (e) => {
612
612
  var a;
613
613
  const { primaryColor: t, secondaryColor: n, active: o, theme: s, disabled: i } = e;
614
614
  return L`
615
- ${vn(e)}
615
+ ${wn(e)}
616
616
  border: 1px solid ${o ? n : t};
617
617
  background-color: ${o ? t : n};
618
618
 
@@ -642,27 +642,27 @@ const Bt = (e) => (t) => /* @__PURE__ */ r.createElement(Hr, { attrs: t, htmlBod
642
642
  }
643
643
 
644
644
  &:focus-visible {
645
- ${F(e)};
645
+ ${A(e)};
646
646
  }
647
647
  `}
648
648
  `;
649
- }, F = (e) => {
649
+ }, A = (e) => {
650
650
  var t, n, o;
651
651
  return L`
652
652
  outline: ${(t = e.theme.accessibility) == null ? void 0 : t.border};
653
653
  color: ${(o = (n = e.theme.accessibility) == null ? void 0 : n.colors) == null ? void 0 : o.inactiveText};
654
654
  border-color: transparent;
655
655
  `;
656
- }, En = (e) => L`
657
- ${F(e)}
656
+ }, $n = (e) => L`
657
+ ${A(e)}
658
658
  text-decoration: underline;
659
- `, Ho = (e) => {
659
+ `, Bo = (e) => {
660
660
  var t;
661
661
  return L`
662
- ${F(e)}
662
+ ${A(e)}
663
663
  outline-offset: ${(t = e.theme.sizes) == null ? void 0 : t.small};
664
664
  `;
665
- }, xe = y(ae)`
665
+ }, we = y(ce)`
666
666
  position: absolute;
667
667
  top: ${(e) => {
668
668
  var t;
@@ -682,7 +682,7 @@ const Bt = (e) => (t) => /* @__PURE__ */ r.createElement(Hr, { attrs: t, htmlBod
682
682
  }
683
683
 
684
684
  &:focus-visible {
685
- ${F}
685
+ ${A}
686
686
  padding: ${(e) => {
687
687
  var t;
688
688
  return (t = e.theme.sizes) == null ? void 0 : t.small;
@@ -690,7 +690,7 @@ const Bt = (e) => (t) => /* @__PURE__ */ r.createElement(Hr, { attrs: t, htmlBod
690
690
  height: 15px;
691
691
  box-sizing: content-box;
692
692
  }
693
- `, Ve = y(Ee)`
693
+ `, Ze = y(xe)`
694
694
  font-size: ${(e) => {
695
695
  var t;
696
696
  return (t = e.theme.fonts) == null ? void 0 : t.normal;
@@ -701,7 +701,7 @@ const Bt = (e) => (t) => /* @__PURE__ */ r.createElement(Hr, { attrs: t, htmlBod
701
701
  var t;
702
702
  return (t = e.theme.colors) == null ? void 0 : t.text;
703
703
  }};
704
- `, xn = (e) => {
704
+ `, kn = (e) => {
705
705
  var t;
706
706
  return L`
707
707
  padding: 0;
@@ -723,11 +723,11 @@ const Bt = (e) => (t) => /* @__PURE__ */ r.createElement(Hr, { attrs: t, htmlBod
723
723
  margin: 0;
724
724
  }
725
725
  `;
726
- }, To = (e) => {
726
+ }, zo = (e) => {
727
727
  var t, n, o, s;
728
728
  return L`
729
729
  > div {
730
- ${ie(e)(
730
+ ${ae(e)(
731
731
  "> h1",
732
732
  L`
733
733
  margin: 0 0 ${(t = e.theme.sizes) == null ? void 0 : t.normal};
@@ -739,9 +739,9 @@ const Bt = (e) => (t) => /* @__PURE__ */ r.createElement(Hr, { attrs: t, htmlBod
739
739
  )}
740
740
  }
741
741
  > ul {
742
- ${xn(e)}
742
+ ${kn(e)}
743
743
  }
744
- ${ie(e)(
744
+ ${ae(e)(
745
745
  "h1",
746
746
  L`
747
747
  display: flex;
@@ -759,7 +759,7 @@ const Bt = (e) => (t) => /* @__PURE__ */ r.createElement(Hr, { attrs: t, htmlBod
759
759
  `
760
760
  )}
761
761
  `;
762
- }, Do = (e) => {
762
+ }, No = (e) => {
763
763
  var t, n, o, s, i, a;
764
764
  return L`
765
765
  font-size: ${(t = e.theme.fonts) == null ? void 0 : t.normal};
@@ -788,7 +788,7 @@ const Bt = (e) => (t) => /* @__PURE__ */ r.createElement(Hr, { attrs: t, htmlBod
788
788
  a {
789
789
  color: ${(o = e.theme.colors) == null ? void 0 : o.link};
790
790
  &:focus-visible {
791
- ${En(e)};
791
+ ${$n(e)};
792
792
  }
793
793
  }
794
794
 
@@ -814,7 +814,7 @@ const Bt = (e) => (t) => /* @__PURE__ */ r.createElement(Hr, { attrs: t, htmlBod
814
814
  margin: 0;
815
815
  }
816
816
  `;
817
- }, wn = ({
817
+ }, Ln = ({
818
818
  elementId: e = "humany-portal-elements",
819
819
  parent: t = document.body,
820
820
  children: n
@@ -823,10 +823,10 @@ const Bt = (e) => (t) => /* @__PURE__ */ r.createElement(Hr, { attrs: t, htmlBod
823
823
  const s = document.getElementById(e) || document.createElement("div");
824
824
  return s.id = e, s;
825
825
  });
826
- return E(() => (t.appendChild(o), () => {
826
+ return v(() => (t.appendChild(o), () => {
827
827
  o.childElementCount <= 1 && o.remove();
828
- }), [o]), bt(n, o);
829
- }, Q = wn, $n = (l) => {
828
+ }), [o]), xt(n, o);
829
+ }, G = Ln, Mn = (l) => {
830
830
  var u = l, {
831
831
  text: e = "",
832
832
  backgroundSize: t = "contain",
@@ -837,7 +837,7 @@ const Bt = (e) => (t) => /* @__PURE__ */ r.createElement(Hr, { attrs: t, htmlBod
837
837
  },
838
838
  elementStyle: s = {},
839
839
  className: i
840
- } = u, a = S(u, [
840
+ } = u, a = R(u, [
841
841
  "text",
842
842
  "backgroundSize",
843
843
  "size",
@@ -923,7 +923,7 @@ const Bt = (e) => (t) => /* @__PURE__ */ r.createElement(Hr, { attrs: t, htmlBod
923
923
  case "caret-left":
924
924
  return /* @__PURE__ */ r.createElement("svg", h({ viewBox: "0 0 14 14", style: f }, d), /* @__PURE__ */ r.createElement("line", { x1: "10.13", y1: "12.95", x2: "4.13", y2: "6.95", stroke: "black" }), /* @__PURE__ */ r.createElement("line", { x1: "4.13", y1: "7.05", x2: "10.13", y2: "1.05", stroke: "black" }));
925
925
  case "caret-up":
926
- return /* @__PURE__ */ r.createElement(kn, h({ viewBox: "0 0 14 14", style: f }, d), /* @__PURE__ */ r.createElement("line", { x1: "13.09", y1: "3.99", x2: "7.1", y2: "9.99", stroke: "black" }), /* @__PURE__ */ r.createElement("line", { x1: "7.19", y1: "9.99", x2: "1.19", y2: "3.99", stroke: "black" }));
926
+ return /* @__PURE__ */ r.createElement(Sn, h({ viewBox: "0 0 14 14", style: f }, d), /* @__PURE__ */ r.createElement("line", { x1: "13.09", y1: "3.99", x2: "7.1", y2: "9.99", stroke: "black" }), /* @__PURE__ */ r.createElement("line", { x1: "7.19", y1: "9.99", x2: "1.19", y2: "3.99", stroke: "black" }));
927
927
  case "caret-down":
928
928
  return /* @__PURE__ */ r.createElement("svg", h({ viewBox: "0 0 14 14", style: f }, d), /* @__PURE__ */ r.createElement("line", { x1: "13.09", y1: "3.99", x2: "7.1", y2: "9.99", stroke: "black" }), /* @__PURE__ */ r.createElement("line", { x1: "7.19", y1: "9.99", x2: "1.19", y2: "3.99", stroke: "black" }));
929
929
  case "back":
@@ -1309,7 +1309,7 @@ const Bt = (e) => (t) => /* @__PURE__ */ r.createElement(Hr, { attrs: t, htmlBod
1309
1309
  }
1310
1310
  case "FontAwesome":
1311
1311
  return /* @__PURE__ */ r.createElement(
1312
- Yn,
1312
+ _n,
1313
1313
  h({
1314
1314
  className: i,
1315
1315
  faIcon: m,
@@ -1327,9 +1327,9 @@ const Bt = (e) => (t) => /* @__PURE__ */ r.createElement(Hr, { attrs: t, htmlBod
1327
1327
  e.substring(0, 2)
1328
1328
  ) : null;
1329
1329
  }
1330
- }, kn = y.svg`
1330
+ }, Sn = y.svg`
1331
1331
  transform: rotate(180deg);
1332
- `, G = $n, Ln = {
1332
+ `, J = Mn, Rn = {
1333
1333
  h1: "h1",
1334
1334
  h2: "h2",
1335
1335
  h3: "h3",
@@ -1338,12 +1338,12 @@ const Bt = (e) => (t) => /* @__PURE__ */ r.createElement(Hr, { attrs: t, htmlBod
1338
1338
  h6: "h6",
1339
1339
  p: "p",
1340
1340
  span: "span"
1341
- }, Mn = ({ variant: e, component: t, className: n, children: o }) => {
1342
- const { typographyVariantMapping: s = {} } = en(), i = h(h({}, Ln), s), a = t || i[e] || "span";
1343
- return /* @__PURE__ */ r.createElement(Sn, { className: n, as: a }, o);
1344
- }, Sn = y.span``, _ = Mn;
1345
- var Rn = /* @__PURE__ */ ((e) => (e.SlideInLeft = "slide-in-left", e.SlideInRight = "slide-in-right", e.SlideInBottom = "slide-in-bottom", e.SlideInTop = "slide-in-top", e))(Rn || {});
1346
- const Hn = 300, Tn = ({
1341
+ }, Hn = ({ variant: e, component: t, className: n, children: o }) => {
1342
+ const { typographyVariantMapping: s = {} } = rn(), i = h(h({}, Rn), s), a = t || i[e] || "span";
1343
+ return /* @__PURE__ */ r.createElement(Tn, { className: n, as: a }, o);
1344
+ }, Tn = y.span``, q = Hn;
1345
+ var Dn = /* @__PURE__ */ ((e) => (e.SlideInLeft = "slide-in-left", e.SlideInRight = "slide-in-right", e.SlideInBottom = "slide-in-bottom", e.SlideInTop = "slide-in-top", e))(Dn || {});
1346
+ const Bn = 300, zn = ({
1347
1347
  className: e,
1348
1348
  children: t,
1349
1349
  header: n,
@@ -1355,32 +1355,32 @@ const Hn = 300, Tn = ({
1355
1355
  type: "slide-in-bottom"
1356
1356
  }
1357
1357
  }) => {
1358
- const { duration: u = Hn } = l, c = R(), m = R(), [p, d] = Ke(!0), [f, C] = je(), x = Fe(f), v = R(q());
1359
- E(() => {
1358
+ const { duration: u = Bn } = l, c = S(), m = S(), [p, d] = Ye(!0), [f, C] = Xe(), x = Ke(f), E = S(Q());
1359
+ v(() => {
1360
1360
  o && o(f);
1361
1361
  }, [f]);
1362
1362
  const b = Y("Escape");
1363
- E(() => {
1363
+ v(() => {
1364
1364
  b && C(!1);
1365
1365
  }, [b]), I(
1366
1366
  "click",
1367
1367
  (B) => {
1368
- const { target: D } = B;
1369
- !m.current || !d.current || !D || m.current !== D && d.current !== D && !d.current.contains(D) && !m.current.contains(D) && C(!1);
1368
+ const { target: z } = B;
1369
+ !m.current || !d.current || !z || m.current !== z && d.current !== z && !d.current.contains(z) && !m.current.contains(z) && C(!1);
1370
1370
  },
1371
1371
  window
1372
1372
  );
1373
- const g = ve(v.current, () => {
1373
+ const g = Ee(E.current, () => {
1374
1374
  C(!1);
1375
1375
  });
1376
- ce("router:changed", () => {
1376
+ le("router:changed", () => {
1377
1377
  C(!1);
1378
- }), E(() => {
1378
+ }), v(() => {
1379
1379
  f && c.current ? c.current.focus() : !f && m.current && x && m.current.focus();
1380
1380
  }, [f, c.current, m.current]);
1381
- const H = Wn[l.type];
1381
+ const H = On[l.type];
1382
1382
  return /* @__PURE__ */ r.createElement(r.Fragment, null, /* @__PURE__ */ r.createElement(
1383
- Ie,
1383
+ Pe,
1384
1384
  {
1385
1385
  in: f,
1386
1386
  className: "humany-drawer-transition",
@@ -1388,7 +1388,7 @@ const Hn = 300, Tn = ({
1388
1388
  unmountOnExit: !0,
1389
1389
  timeout: u
1390
1390
  },
1391
- /* @__PURE__ */ r.createElement(Q, null, /* @__PURE__ */ r.createElement(
1391
+ /* @__PURE__ */ r.createElement(G, null, /* @__PURE__ */ r.createElement(
1392
1392
  H,
1393
1393
  {
1394
1394
  duration: u,
@@ -1396,23 +1396,23 @@ const Hn = 300, Tn = ({
1396
1396
  className: M(
1397
1397
  e,
1398
1398
  "humany-drawer",
1399
- `humany-drawer-${v.current}`
1399
+ `humany-drawer-${E.current}`
1400
1400
  ),
1401
1401
  clientHeight: document.body.clientHeight,
1402
1402
  css: p,
1403
1403
  ref: d
1404
1404
  },
1405
1405
  /* @__PURE__ */ r.createElement(
1406
- xe,
1406
+ we,
1407
1407
  {
1408
1408
  onClick: () => C(!1),
1409
1409
  tabIndex: 0,
1410
1410
  ref: c,
1411
1411
  "aria-label": a
1412
1412
  },
1413
- /* @__PURE__ */ r.createElement(G, { symbol: { type: "Svg", content: "close" } })
1413
+ /* @__PURE__ */ r.createElement(J, { symbol: { type: "Svg", content: "close" } })
1414
1414
  ),
1415
- !!n && /* @__PURE__ */ r.createElement(Dn, { variant: "h1", className: "humany-drawer-header" }, n),
1415
+ !!n && /* @__PURE__ */ r.createElement(Nn, { variant: "h1", className: "humany-drawer-header" }, n),
1416
1416
  t
1417
1417
  ))
1418
1418
  ), r.cloneElement(s, {
@@ -1423,7 +1423,7 @@ const Hn = 300, Tn = ({
1423
1423
  "aria-label": s.props.title,
1424
1424
  "aria-expanded": f
1425
1425
  }));
1426
- }, Bo = Tn, le = y.div`
1426
+ }, Vo = zn, ue = y.div`
1427
1427
  font-family: ${(e) => {
1428
1428
  var t;
1429
1429
  return (t = e.theme.fonts) == null ? void 0 : t.type;
@@ -1440,7 +1440,7 @@ const Hn = 300, Tn = ({
1440
1440
  box-shadow: ${(e) => e.theme.boxShadow};
1441
1441
  background: #ffffff;
1442
1442
  ${(e) => e.css && e.css}
1443
- `, Dn = y(_)`
1443
+ `, Nn = y(q)`
1444
1444
  padding: ${(e) => {
1445
1445
  var t;
1446
1446
  return (t = e.theme.sizes) == null ? void 0 : t.normal;
@@ -1463,11 +1463,11 @@ const Hn = 300, Tn = ({
1463
1463
  return (t = e.theme.fonts) == null ? void 0 : t.normal;
1464
1464
  }};
1465
1465
  line-height: 1.2em;
1466
- `, ue = (e) => L`
1466
+ `, me = (e) => L`
1467
1467
  transition: ${e.duration}ms;
1468
- `, Bn = y(le)`
1468
+ `, Vn = y(ue)`
1469
1469
  max-height: 0;
1470
- ${ue}
1470
+ ${me}
1471
1471
 
1472
1472
  &.humany-drawer-transition-enter {
1473
1473
  max-height: 0;
@@ -1482,8 +1482,8 @@ const Hn = 300, Tn = ({
1482
1482
  &.humany-drawer-transition-exit-done {
1483
1483
  max-height: 0;
1484
1484
  }
1485
- `, zn = y(le)`
1486
- ${ue}
1485
+ `, Wn = y(ue)`
1486
+ ${me}
1487
1487
  transform: translateX(100%);
1488
1488
  height: ${(e) => e.fullScreen ? "100%" : "auto"};
1489
1489
 
@@ -1500,8 +1500,8 @@ const Hn = 300, Tn = ({
1500
1500
  &.humany-drawer-transition-exit-done {
1501
1501
  transform: translateX(100%);
1502
1502
  }
1503
- `, Nn = y(le)`
1504
- ${ue}
1503
+ `, Zn = y(ue)`
1504
+ ${me}
1505
1505
  transform: translateX(-100%);
1506
1506
  height: ${(e) => e.fullScreen ? "100%" : "auto"};
1507
1507
 
@@ -1518,8 +1518,8 @@ const Hn = 300, Tn = ({
1518
1518
  &.humany-drawer-transition-exit-done {
1519
1519
  transform: translateX(-100%);
1520
1520
  }
1521
- `, Vn = y(le)`
1522
- ${ue}
1521
+ `, In = y(ue)`
1522
+ ${me}
1523
1523
  bottom: unset;
1524
1524
  top: 0;
1525
1525
  height: 0;
@@ -1537,12 +1537,12 @@ const Hn = 300, Tn = ({
1537
1537
  &.humany-drawer-transition-exit-done {
1538
1538
  height: 0;
1539
1539
  }
1540
- `, Wn = {
1541
- ["slide-in-bottom"]: Bn,
1542
- ["slide-in-right"]: zn,
1543
- ["slide-in-left"]: Nn,
1544
- ["slide-in-top"]: Vn
1545
- }, Zn = (e, t, n) => {
1540
+ `, On = {
1541
+ ["slide-in-bottom"]: Vn,
1542
+ ["slide-in-right"]: Wn,
1543
+ ["slide-in-left"]: Zn,
1544
+ ["slide-in-top"]: In
1545
+ }, Pn = (e, t, n) => {
1546
1546
  const [o, s] = $(0), [i, a] = $(0), l = T(
1547
1547
  (u, c) => {
1548
1548
  if (u.preventDefault(), c) {
@@ -1552,7 +1552,7 @@ const Hn = 300, Tn = ({
1552
1552
  },
1553
1553
  [o, i, s, a]
1554
1554
  );
1555
- return E(() => {
1555
+ return v(() => {
1556
1556
  if (!n || !e)
1557
1557
  return;
1558
1558
  const u = n.getBoundingClientRect(), c = {
@@ -1561,36 +1561,36 @@ const Hn = 300, Tn = ({
1561
1561
  };
1562
1562
  u.left < 0 && (c.x = 0), u.bottom > window.innerHeight && (c.y = 0), c.x !== o && s(c.x), c.y !== i && a(c.y);
1563
1563
  }, [n, e, t]), [{ x: o, y: i }, l];
1564
- }, Xe = Zn, In = r.forwardRef(
1564
+ }, _e = Pn, An = r.forwardRef(
1565
1565
  (a, i) => {
1566
- var l = a, { className: e = "", children: t = null, trigger: n, closeButtonAriaLabel: o } = l, s = S(l, ["className", "children", "trigger", "closeButtonAriaLabel"]);
1567
- const u = R(), c = R(), m = R();
1568
- Ce(i, () => m.current, [m.current]);
1569
- const p = R(q()), [d, f] = $(!1), C = Fe(d), [{ x, y: v }, b] = Xe(d, p.current, m.current), g = Y("Escape");
1570
- E(() => {
1566
+ var l = a, { className: e = "", children: t = null, trigger: n, closeButtonAriaLabel: o } = l, s = R(l, ["className", "children", "trigger", "closeButtonAriaLabel"]);
1567
+ const u = S(), c = S(), m = S();
1568
+ ye(i, () => m.current, [m.current]);
1569
+ const p = S(Q()), [d, f] = $(!1), C = Ke(d), [{ x, y: E }, b] = _e(d, p.current, m.current), g = Y("Escape");
1570
+ v(() => {
1571
1571
  g && f(!1);
1572
- }, [g]), E(() => {
1572
+ }, [g]), v(() => {
1573
1573
  d && u.current ? u.current.focus() : !d && c.current && C && c.current.focus();
1574
1574
  }, [d, u.current, c.current]), I(
1575
1575
  "click",
1576
- (D) => {
1577
- const { target: j } = D;
1578
- !m.current || !j || m.current !== j && !m.current.contains(j) && f(!1);
1576
+ (z) => {
1577
+ const { target: _ } = z;
1578
+ !m.current || !_ || m.current !== _ && !m.current.contains(_) && f(!1);
1579
1579
  },
1580
1580
  window
1581
- ), ce("router:changed", () => {
1581
+ ), le("router:changed", () => {
1582
1582
  f(!1);
1583
1583
  });
1584
- const H = ve(p.current, () => {
1584
+ const H = Ee(p.current, () => {
1585
1585
  f(!1);
1586
1586
  }), B = T(
1587
- (D) => {
1588
- D.stopPropagation(), b(D, c.current), f(!d), H();
1587
+ (z) => {
1588
+ z.stopPropagation(), b(z, c.current), f(!d), H();
1589
1589
  },
1590
1590
  [H, b, f]
1591
1591
  );
1592
- return /* @__PURE__ */ r.createElement(r.Fragment, null, d && /* @__PURE__ */ r.createElement(Q, null, /* @__PURE__ */ r.createElement(
1593
- On,
1592
+ return /* @__PURE__ */ r.createElement(r.Fragment, null, d && /* @__PURE__ */ r.createElement(G, null, /* @__PURE__ */ r.createElement(
1593
+ Fn,
1594
1594
  k(h({
1595
1595
  className: M(
1596
1596
  "humany-dropdown",
@@ -1599,18 +1599,18 @@ const Hn = 300, Tn = ({
1599
1599
  )
1600
1600
  }, s), {
1601
1601
  x,
1602
- y: v,
1602
+ y: E,
1603
1603
  ref: m
1604
1604
  }),
1605
1605
  /* @__PURE__ */ r.createElement(
1606
- xe,
1606
+ we,
1607
1607
  {
1608
1608
  onClick: () => f(!1),
1609
1609
  tabIndex: 0,
1610
1610
  ref: u,
1611
1611
  "aria-label": o
1612
1612
  },
1613
- /* @__PURE__ */ r.createElement(G, { symbol: { type: "Svg", content: "close" } })
1613
+ /* @__PURE__ */ r.createElement(J, { symbol: { type: "Svg", content: "close" } })
1614
1614
  ),
1615
1615
  t
1616
1616
  )), r.cloneElement(n, {
@@ -1620,8 +1620,8 @@ const Hn = 300, Tn = ({
1620
1620
  "aria-expanded": d
1621
1621
  }));
1622
1622
  }
1623
- ), zo = In, On = y.div`
1624
- ${Ye}
1623
+ ), Wo = An, Fn = y.div`
1624
+ ${Ue}
1625
1625
  padding: ${(e) => {
1626
1626
  var t;
1627
1627
  return (t = e.theme.sizes) == null ? void 0 : t.medium;
@@ -1635,41 +1635,41 @@ const Hn = 300, Tn = ({
1635
1635
  let t = "";
1636
1636
  return e.y > 0 ? t += `top: calc(${((n = e.theme.sizes) == null ? void 0 : n.small) || "0px"} + ${e.y || "0"}px);` : t += `bottom: ${((o = e.theme.sizes) == null ? void 0 : o.normal) || "0px"};`, e.x > 0 ? t += `right: ${e.x || "0"}px;` : t += `left: ${((s = e.theme.sizes) == null ? void 0 : s.normal) || "0px"};`, t;
1637
1637
  }};
1638
- `, Pn = (t) => {
1639
- var e = S(t, []);
1640
- return /* @__PURE__ */ r.createElement(An, h({}, e));
1641
- }, Fn = Pn, An = y.div`
1638
+ `, Kn = (t) => {
1639
+ var e = R(t, []);
1640
+ return /* @__PURE__ */ r.createElement(Yn, h({}, e));
1641
+ }, jn = Kn, Yn = y.div`
1642
1642
  display: none;
1643
- `, No = N(
1643
+ `, Zo = N(
1644
1644
  (a, i) => {
1645
- var l = a, { children: e, columns: t, gap: n, className: o } = l, s = S(l, ["children", "columns", "gap", "className"]);
1645
+ var l = a, { children: e, columns: t, gap: n, className: o } = l, s = R(l, ["children", "columns", "gap", "className"]);
1646
1646
  return /* @__PURE__ */ r.createElement(
1647
- Kn,
1647
+ Xn,
1648
1648
  k(h(h({
1649
1649
  className: M(o, "humany-grid"),
1650
1650
  "data-columns": t,
1651
1651
  "data-gap": n
1652
- }, Ht(s)), V(s)), {
1652
+ }, Bt(s)), V(s)), {
1653
1653
  ref: i
1654
1654
  }),
1655
1655
  e
1656
1656
  );
1657
1657
  }
1658
- ), Kn = y.div`
1658
+ ), Xn = y.div`
1659
1659
  display: grid;
1660
1660
  grid-template-columns: repeat(${(e) => e["data-columns"]}, 1fr);
1661
1661
  grid-gap: ${(e) => e["data-gap"]};
1662
1662
  justify-content: center;
1663
1663
  grid-auto-rows: max-content;
1664
- ${Rt}
1665
- `, Ue = N(
1664
+ ${Dt}
1665
+ `, qe = N(
1666
1666
  (i, s) => {
1667
- var a = i, { htmlParseInstruction: e = null, className: t, html: n } = a, o = S(a, ["htmlParseInstruction", "className", "html"]);
1668
- const l = W(), [u, c] = $();
1669
- return E(() => {
1670
- const m = zt(l, n), p = k(h(h({}, m), e), {
1667
+ var a = i, { htmlParseInstruction: e = null, className: t, html: n } = a, o = R(a, ["htmlParseInstruction", "className", "html"]);
1668
+ const l = Z(), [u, c] = $();
1669
+ return v(() => {
1670
+ const m = Wt(l, n), p = k(h(h({}, m), e), {
1671
1671
  transform: h(h({}, m.transform), e == null ? void 0 : e.transform)
1672
- }), d = Dt(n, p);
1672
+ }), d = Nt(n, p);
1673
1673
  c(d);
1674
1674
  }, [n, e]), /* @__PURE__ */ r.createElement(
1675
1675
  "div",
@@ -1681,13 +1681,13 @@ const Hn = 300, Tn = ({
1681
1681
  u
1682
1682
  );
1683
1683
  }
1684
- ), jn = (i) => {
1684
+ ), Un = (i) => {
1685
1685
  var a = i, {
1686
1686
  faIcon: e,
1687
1687
  title: t,
1688
1688
  className: n = "",
1689
1689
  role: o = "presentation"
1690
- } = a, s = S(a, [
1690
+ } = a, s = R(a, [
1691
1691
  "faIcon",
1692
1692
  "title",
1693
1693
  "className",
@@ -1701,7 +1701,7 @@ const Hn = 300, Tn = ({
1701
1701
  role: o
1702
1702
  }, V(s))
1703
1703
  );
1704
- }, Yn = jn, Vo = N(
1704
+ }, _n = Un, Io = N(
1705
1705
  (p, m) => {
1706
1706
  var d = p, {
1707
1707
  className: e = "",
@@ -1717,7 +1717,7 @@ const Hn = 300, Tn = ({
1717
1717
  },
1718
1718
  disabled: l = !1,
1719
1719
  type: u
1720
- } = d, c = S(d, [
1720
+ } = d, c = R(d, [
1721
1721
  "className",
1722
1722
  "autoFocus",
1723
1723
  "onFocusChange",
@@ -1728,12 +1728,12 @@ const Hn = 300, Tn = ({
1728
1728
  "disabled",
1729
1729
  "type"
1730
1730
  ]);
1731
- const [f, C] = $(t), x = R();
1732
- Ce(m, () => x.current), E(() => {
1731
+ const [f, C] = $(t), x = S();
1732
+ ye(m, () => x.current), v(() => {
1733
1733
  var g;
1734
1734
  t && ((g = x == null ? void 0 : x.current) == null || g.focus());
1735
1735
  }, [t, m, x]);
1736
- const v = (g, H) => {
1736
+ const E = (g, H) => {
1737
1737
  C(g), n && n(g), i && g && H.target.select();
1738
1738
  }, b = k(h({}, V(c)), {
1739
1739
  disabled: l,
@@ -1742,8 +1742,8 @@ const Hn = 300, Tn = ({
1742
1742
  onKeyDown: (g) => {
1743
1743
  g.key === "Enter" && f && o(g), g.key === "Escape" && f && s(g);
1744
1744
  },
1745
- onFocus: (g) => v(!0, g),
1746
- onBlur: (g) => v(!1, g),
1745
+ onFocus: (g) => E(!0, g),
1746
+ onBlur: (g) => E(!1, g),
1747
1747
  onChange: (g) => a(g.target.value || ""),
1748
1748
  className: M(e, "humany-input"),
1749
1749
  "data-type": u
@@ -1760,9 +1760,9 @@ const Hn = 300, Tn = ({
1760
1760
  })
1761
1761
  );
1762
1762
  }
1763
- ), Xn = N(
1763
+ ), qn = N(
1764
1764
  (a, i) => {
1765
- var l = a, { className: e, items: t, renderItem: n, renderLi: o = !1 } = l, s = S(l, ["className", "items", "renderItem", "renderLi"]);
1765
+ var l = a, { className: e, items: t, renderItem: n, renderLi: o = !1 } = l, s = R(l, ["className", "items", "renderItem", "renderLi"]);
1766
1766
  return /* @__PURE__ */ r.createElement(
1767
1767
  "ul",
1768
1768
  k(h({
@@ -1776,9 +1776,9 @@ const Hn = 300, Tn = ({
1776
1776
  )
1777
1777
  );
1778
1778
  }
1779
- ), Un = N(
1779
+ ), Qn = N(
1780
1780
  (u, l) => {
1781
- var c = u, { text: e, html: t, header: n, className: o, htmlParseInstruction: s, symbol: i } = c, a = S(c, ["text", "html", "header", "className", "htmlParseInstruction", "symbol"]);
1781
+ var c = u, { text: e, html: t, header: n, className: o, htmlParseInstruction: s, symbol: i } = c, a = R(c, ["text", "html", "header", "className", "htmlParseInstruction", "symbol"]);
1782
1782
  return /* @__PURE__ */ r.createElement(
1783
1783
  "div",
1784
1784
  k(h({
@@ -1786,12 +1786,12 @@ const Hn = 300, Tn = ({
1786
1786
  }, V(a)), {
1787
1787
  ref: l
1788
1788
  }),
1789
- n ? /* @__PURE__ */ r.createElement(_, { variant: "h1" }, i ? /* @__PURE__ */ r.createElement(G, { symbol: i }) : null, n) : null,
1790
- t ? /* @__PURE__ */ r.createElement(Ue, { html: t, htmlParseInstruction: s }) : null,
1791
- e ? /* @__PURE__ */ r.createElement(Ee, null, e) : null
1789
+ n ? /* @__PURE__ */ r.createElement(q, { variant: "h1" }, i ? /* @__PURE__ */ r.createElement(J, { symbol: i }) : null, n) : null,
1790
+ t ? /* @__PURE__ */ r.createElement(qe, { html: t, htmlParseInstruction: s }) : null,
1791
+ e ? /* @__PURE__ */ r.createElement(xe, null, e) : null
1792
1792
  );
1793
1793
  }
1794
- ), _n = N(
1794
+ ), Gn = N(
1795
1795
  (f, d) => {
1796
1796
  var C = f, {
1797
1797
  header: e,
@@ -1805,7 +1805,7 @@ const Hn = 300, Tn = ({
1805
1805
  renderItem: u,
1806
1806
  renderLi: c,
1807
1807
  ulProps: m
1808
- } = C, p = S(C, [
1808
+ } = C, p = R(C, [
1809
1809
  "header",
1810
1810
  "customHeader",
1811
1811
  "text",
@@ -1826,12 +1826,12 @@ const Hn = 300, Tn = ({
1826
1826
  }, V(p)), {
1827
1827
  ref: d
1828
1828
  }),
1829
- t || (e || n || o ? /* @__PURE__ */ r.createElement(Un, { symbol: a, header: e, text: n, html: o }) : null),
1830
- l.length ? /* @__PURE__ */ r.createElement(Xn, h({ items: l, renderItem: u, renderLi: c }, m)) : null,
1829
+ t || (e || n || o ? /* @__PURE__ */ r.createElement(Qn, { symbol: a, header: e, text: n, html: o }) : null),
1830
+ l.length ? /* @__PURE__ */ r.createElement(qn, h({ items: l, renderItem: u, renderLi: c }, m)) : null,
1831
1831
  i
1832
1832
  );
1833
1833
  }
1834
- ), qn = ({
1834
+ ), Jn = ({
1835
1835
  className: e = "",
1836
1836
  tree: t,
1837
1837
  renderItem: n,
@@ -1842,13 +1842,13 @@ const Hn = 300, Tn = ({
1842
1842
  liProps: l
1843
1843
  }) => {
1844
1844
  const u = (p) => !c(p), c = (p) => !p || p.length < 1 ? !0 : !p.some((d) => !!d.selected), m = (p, d) => /* @__PURE__ */ r.createElement(
1845
- _n,
1845
+ Gn,
1846
1846
  {
1847
1847
  className: M(`humany-item-tree-level-${d}`),
1848
1848
  items: p,
1849
1849
  ulProps: a,
1850
1850
  renderItem: (f) => {
1851
- const { id: C, selected: x, items: v, matches: b } = f, g = x && c(v);
1851
+ const { id: C, selected: x, items: E, matches: b } = f, g = x && c(E);
1852
1852
  return !i && !b ? null : /* @__PURE__ */ r.createElement(
1853
1853
  "li",
1854
1854
  k(h({}, V(l)), {
@@ -1856,17 +1856,17 @@ const Hn = 300, Tn = ({
1856
1856
  className: "humany-item-tree-item"
1857
1857
  }),
1858
1858
  n && n(f, d, g),
1859
- v && (s || g) && m(v, d + 1)
1859
+ E && (s || g) && m(E, d + 1)
1860
1860
  );
1861
1861
  }
1862
1862
  }
1863
1863
  );
1864
1864
  return /* @__PURE__ */ r.createElement("div", { className: M(e, "humany-item-tree") }, o && o(!u(t || [])), t && m(t, 1));
1865
- }, Wo = qn, Qn = N(
1865
+ }, Oo = Jn, er = N(
1866
1866
  (u, l) => {
1867
1867
  var c = u, { className: e, onClick: t = () => {
1868
- }, name: n = "", to: o = "", params: s = {}, children: i } = c, a = S(c, ["className", "onClick", "name", "to", "params", "children"]);
1869
- const m = Ae(), p = W();
1868
+ }, name: n = "", to: o = "", params: s = {}, children: i } = c, a = R(c, ["className", "onClick", "name", "to", "params", "children"]);
1869
+ const m = je(), p = Z();
1870
1870
  if (!m)
1871
1871
  return null;
1872
1872
  let d = "";
@@ -1880,16 +1880,16 @@ const Hn = 300, Tn = ({
1880
1880
  });
1881
1881
  if (n) {
1882
1882
  if (!(m.routes || []).find((b) => b.name === n))
1883
- return process.env.NODE_ENV !== "production" && de.warn(`Unable to create route. No route named "${n}" exist.`), /* @__PURE__ */ r.createElement(
1884
- fe,
1883
+ return process.env.NODE_ENV !== "production" && fe.warn(`Unable to create route. No route named "${n}" exist.`), /* @__PURE__ */ r.createElement(
1884
+ he,
1885
1885
  k(h({}, f), {
1886
1886
  onClick: (b) => {
1887
- t(b), b.preventDefault(), process.env.NODE_ENV !== "production" && de.warn(`Unable to navigate. No route named "${n}" exist.`);
1887
+ t(b), b.preventDefault(), process.env.NODE_ENV !== "production" && fe.warn(`Unable to navigate. No route named "${n}" exist.`);
1888
1888
  }
1889
1889
  }),
1890
1890
  i
1891
1891
  );
1892
- const v = Object.keys(s).reduce((b, g) => {
1892
+ const E = Object.keys(s).reduce((b, g) => {
1893
1893
  const H = s[g];
1894
1894
  if (Array.isArray(H)) {
1895
1895
  if (H.length === 0)
@@ -1900,11 +1900,11 @@ const Hn = 300, Tn = ({
1900
1900
  return b;
1901
1901
  }, {});
1902
1902
  try {
1903
- d = m.generate(n, v || {});
1903
+ d = m.generate(n, E || {});
1904
1904
  } catch (b) {
1905
- return /* @__PURE__ */ r.createElement(fe, k(h({}, f), { ref: f.innerRef }), i);
1905
+ return /* @__PURE__ */ r.createElement(he, k(h({}, f), { ref: f.innerRef }), i);
1906
1906
  }
1907
- d && m.settings.mode && m.settings.mode === Be.browser && d[0] !== "/" && (d = `/${d}`);
1907
+ d && m.settings.mode && m.settings.mode === Ne.browser && d[0] !== "/" && (d = `/${d}`);
1908
1908
  } else if (o && m.history)
1909
1909
  d = m.history.createHref({
1910
1910
  hash: "",
@@ -1913,18 +1913,18 @@ const Hn = 300, Tn = ({
1913
1913
  state: void 0
1914
1914
  });
1915
1915
  else
1916
- return process.env.NODE_ENV !== "production" && de.warn(
1916
+ return process.env.NODE_ENV !== "production" && fe.warn(
1917
1917
  'Unable to generate path for route link. Either specify route name or use the "to" prop.'
1918
1918
  ), null;
1919
- if (m.settings && m.settings.mode === Be.scopedHash) {
1919
+ if (m.settings && m.settings.mode === Ne.scopedHash) {
1920
1920
  const C = p.get("$widget").name;
1921
- d = vt(d, C);
1921
+ d = wt(d, C);
1922
1922
  }
1923
- return f.as ? /* @__PURE__ */ r.createElement(Gn, k(h({}, f), { as: f.as }), i) : /* @__PURE__ */ r.createElement(fe, k(h({}, f), { to: d }), i);
1923
+ return f.as ? /* @__PURE__ */ r.createElement(tr, k(h({}, f), { as: f.as }), i) : /* @__PURE__ */ r.createElement(he, k(h({}, f), { to: d }), i);
1924
1924
  }
1925
- ), Gn = y.span``, we = N(
1925
+ ), tr = y.span``, $e = N(
1926
1926
  (x, C) => {
1927
- var v = x, {
1927
+ var E = x, {
1928
1928
  className: e,
1929
1929
  disabled: t = !1,
1930
1930
  role: n = "link",
@@ -1940,7 +1940,7 @@ const Hn = 300, Tn = ({
1940
1940
  target: m,
1941
1941
  routeName: p,
1942
1942
  params: d
1943
- } = v, f = S(v, [
1943
+ } = E, f = R(E, [
1944
1944
  "className",
1945
1945
  "disabled",
1946
1946
  "role",
@@ -1978,7 +1978,7 @@ const Hn = 300, Tn = ({
1978
1978
  }
1979
1979
  };
1980
1980
  return p ? /* @__PURE__ */ r.createElement(
1981
- Jn,
1981
+ nr,
1982
1982
  k(h(h({
1983
1983
  name: p,
1984
1984
  params: d
@@ -1987,7 +1987,7 @@ const Hn = 300, Tn = ({
1987
1987
  }),
1988
1988
  c
1989
1989
  ) : /* @__PURE__ */ r.createElement(
1990
- er,
1990
+ rr,
1991
1991
  k(h(h({
1992
1992
  href: u,
1993
1993
  target: m
@@ -1997,37 +1997,37 @@ const Hn = 300, Tn = ({
1997
1997
  c
1998
1998
  );
1999
1999
  }
2000
- ), Jn = y(Qn)`
2000
+ ), nr = y(er)`
2001
2001
  ${(e) => e.disabled ? `
2002
2002
  pointer-events: none;
2003
2003
  opacity: .7;
2004
2004
  ` : "cursor: pointer;"}
2005
- `, er = y.a`
2005
+ `, rr = y.a`
2006
2006
  ${(e) => e.disabled ? `
2007
2007
  pointer-events: none;
2008
2008
  opacity: .7;
2009
2009
  ` : "cursor: pointer;"}
2010
- `, tr = (i) => {
2010
+ `, or = (i) => {
2011
2011
  var a = i, {
2012
2012
  visible: e,
2013
2013
  duration: t = 500,
2014
2014
  children: n,
2015
2015
  onClick: o = () => {
2016
2016
  }
2017
- } = a, s = S(a, [
2017
+ } = a, s = R(a, [
2018
2018
  "visible",
2019
2019
  "duration",
2020
2020
  "children",
2021
2021
  "onClick"
2022
2022
  ]);
2023
- const l = R(), u = T(
2023
+ const l = S(), u = T(
2024
2024
  (c) => {
2025
2025
  c.target === l.current && o(c);
2026
2026
  },
2027
2027
  [o]
2028
2028
  );
2029
2029
  return /* @__PURE__ */ r.createElement(
2030
- Ie,
2030
+ Pe,
2031
2031
  {
2032
2032
  in: e,
2033
2033
  className: "humany-overlay-transition",
@@ -2035,8 +2035,8 @@ const Hn = 300, Tn = ({
2035
2035
  unmountOnExit: !0,
2036
2036
  timeout: t
2037
2037
  },
2038
- /* @__PURE__ */ r.createElement(Q, null, /* @__PURE__ */ r.createElement(
2039
- nr,
2038
+ /* @__PURE__ */ r.createElement(G, null, /* @__PURE__ */ r.createElement(
2039
+ sr,
2040
2040
  h({
2041
2041
  className: "humany-overlay",
2042
2042
  duration: t,
@@ -2046,7 +2046,7 @@ const Hn = 300, Tn = ({
2046
2046
  n
2047
2047
  ))
2048
2048
  );
2049
- }, nr = y.div`
2049
+ }, sr = y.div`
2050
2050
  background: rgba(0, 0, 0, 0.6);
2051
2051
  min-width: 100%;
2052
2052
  min-height: 100%;
@@ -2076,11 +2076,11 @@ const Hn = 300, Tn = ({
2076
2076
  &.humany-overlay-transition-exit-done {
2077
2077
  opacity: 0;
2078
2078
  }
2079
- `, _e = tr, rr = Ze`
2079
+ `, Qe = or, ir = Oe`
2080
2080
  100% {
2081
2081
  transform: rotate(360deg);
2082
2082
  }
2083
- `, or = Ze`
2083
+ `, ar = Oe`
2084
2084
  0% {
2085
2085
  stroke-dasharray: 1, 200;
2086
2086
  stroke-dashoffset: 0;
@@ -2093,8 +2093,8 @@ const Hn = 300, Tn = ({
2093
2093
  stroke-dasharray: 89, 200;
2094
2094
  stroke-dashoffset: -124px;
2095
2095
  }
2096
- `, sr = y.svg`
2097
- animation: ${rr} 2s linear infinite;
2096
+ `, cr = y.svg`
2097
+ animation: ${ir} 2s linear infinite;
2098
2098
  height: 100%;
2099
2099
  transform-origin: center center;
2100
2100
  width: 100%;
@@ -2105,7 +2105,7 @@ const Hn = 300, Tn = ({
2105
2105
  right: 0;
2106
2106
  margin: auto;
2107
2107
  transition: 200ms ease-out opacity;
2108
- `, ir = y.div`
2108
+ `, lr = y.div`
2109
2109
  position: absolute;
2110
2110
  top: 0;
2111
2111
  bottom: 0;
@@ -2123,7 +2123,7 @@ const Hn = 300, Tn = ({
2123
2123
  svg {
2124
2124
  opacity: ${(e) => e["data-loading"] ? "1" : "0"};
2125
2125
  }
2126
- `, ar = y.div`
2126
+ `, ur = y.div`
2127
2127
  position: relative;
2128
2128
  margin: 0 auto;
2129
2129
  width: 100px;
@@ -2132,18 +2132,18 @@ const Hn = 300, Tn = ({
2132
2132
  display: block;
2133
2133
  padding-top: 100%;
2134
2134
  }
2135
- `, cr = y.circle`
2135
+ `, mr = y.circle`
2136
2136
  stroke-dasharray: 1, 200;
2137
2137
  stroke-dashoffset: 0;
2138
- animation: ${or} 1.5s ease-in-out infinite;
2138
+ animation: ${ar} 1.5s ease-in-out infinite;
2139
2139
  stroke-linecap: round;
2140
2140
  stroke: ${(e) => {
2141
2141
  var t;
2142
2142
  return (t = e.theme.colors) == null ? void 0 : t.primary;
2143
2143
  }};
2144
2144
  stroke-width: 2px;
2145
- `, lr = ({ className: e, loading: t = !1 }) => /* @__PURE__ */ r.createElement(ir, { className: M("humany-loader", e), "data-loading": t }, /* @__PURE__ */ r.createElement(ar, { className: "humany-spinner" }, /* @__PURE__ */ r.createElement(sr, { viewBox: "25 25 50 50" }, /* @__PURE__ */ r.createElement(
2146
- cr,
2145
+ `, dr = ({ className: e, loading: t = !1 }) => /* @__PURE__ */ r.createElement(lr, { className: M("humany-loader", e), "data-loading": t }, /* @__PURE__ */ r.createElement(ur, { className: "humany-spinner" }, /* @__PURE__ */ r.createElement(cr, { viewBox: "25 25 50 50" }, /* @__PURE__ */ r.createElement(
2146
+ mr,
2147
2147
  {
2148
2148
  cx: "50",
2149
2149
  cy: "50",
@@ -2152,25 +2152,25 @@ const Hn = 300, Tn = ({
2152
2152
  "stroke-width": "2",
2153
2153
  "stroke-miterlimit": "10"
2154
2154
  }
2155
- )))), ur = lr, mr = (s) => {
2155
+ )))), fr = dr, hr = (s) => {
2156
2156
  var i = s, {
2157
2157
  zoomState: e,
2158
2158
  image: t,
2159
2159
  changeZoom: n
2160
- } = i, o = S(i, [
2160
+ } = i, o = R(i, [
2161
2161
  "zoomState",
2162
2162
  "image",
2163
2163
  "changeZoom"
2164
2164
  ]);
2165
2165
  var b;
2166
- const a = R(null), [l, u] = $(!1), [c, m] = $(!1), v = o.style || {}, { width: p, height: d } = v, f = S(v, ["width", "height"]), C = T(() => {
2166
+ const a = S(null), [l, u] = $(!1), [c, m] = $(!1), E = o.style || {}, { width: p, height: d } = E, f = R(E, ["width", "height"]), C = T(() => {
2167
2167
  const g = a.current;
2168
2168
  if (g) {
2169
- const H = window.innerWidth / g.naturalWidth, B = window.innerHeight / g.naturalHeight, D = Math.min(H, B);
2170
- return B >= 1 && H >= 1 ? 1 : D;
2169
+ const H = window.innerWidth / g.naturalWidth, B = window.innerHeight / g.naturalHeight, z = Math.min(H, B);
2170
+ return B >= 1 && H >= 1 ? 1 : z;
2171
2171
  }
2172
2172
  return 1;
2173
- }, [l, t.src]), x = se(() => {
2173
+ }, [l, t.src]), x = ie(() => {
2174
2174
  const g = a.current;
2175
2175
  if (g && l) {
2176
2176
  if (!c) {
@@ -2182,10 +2182,10 @@ const Hn = 300, Tn = ({
2182
2182
  }
2183
2183
  return null;
2184
2184
  }, [e, a, l, t.src]);
2185
- return E(() => (u(!1), function() {
2185
+ return v(() => (u(!1), function() {
2186
2186
  m(!1);
2187
- }), [t.src]), /* @__PURE__ */ r.createElement(r.Fragment, null, /* @__PURE__ */ r.createElement(dr, { loading: !l }), /* @__PURE__ */ r.createElement(
2188
- fr,
2187
+ }), [t.src]), /* @__PURE__ */ r.createElement(r.Fragment, null, /* @__PURE__ */ r.createElement(pr, { loading: !l }), /* @__PURE__ */ r.createElement(
2188
+ gr,
2189
2189
  k(h({
2190
2190
  onLoad: () => {
2191
2191
  u(!0);
@@ -2199,12 +2199,12 @@ const Hn = 300, Tn = ({
2199
2199
  src: t.src,
2200
2200
  loaded: l
2201
2201
  })
2202
- ), /* @__PURE__ */ r.createElement(hr, null));
2203
- }, dr = y(ur)`
2202
+ ), /* @__PURE__ */ r.createElement(Cr, null));
2203
+ }, pr = y(fr)`
2204
2204
  svg circle {
2205
2205
  stroke: #ffffff;
2206
2206
  }
2207
- `, fr = y.img`
2207
+ `, gr = y.img`
2208
2208
  transform: none;
2209
2209
 
2210
2210
  ${(e) => e.imageSize && L`
@@ -2215,124 +2215,128 @@ const Hn = 300, Tn = ({
2215
2215
  vertical-align: middle;
2216
2216
  position: relative;
2217
2217
  ${(e) => !e.loaded && "display:none;"}
2218
- `, hr = y.div`
2218
+ `, Cr = y.div`
2219
2219
  height: 100%;
2220
2220
  display: inline-block;
2221
2221
  vertical-align: middle;
2222
- `, pr = mr, gr = () => {
2223
- const e = R(), [t, n] = $(!0), o = T(() => (t || n(!0), e.current && clearTimeout(e.current), e.current = setTimeout(() => {
2222
+ `, yr = hr, br = () => {
2223
+ const e = S(), [t, n] = $(!0), o = T(() => (t || n(!0), e.current && clearTimeout(e.current), e.current = setTimeout(() => {
2224
2224
  n(!1);
2225
2225
  }, 3e3), () => {
2226
2226
  e.current && clearTimeout(e.current);
2227
2227
  }), [t, e]);
2228
2228
  return [t, o];
2229
- }, Cr = ({ attrs: e, htmlBody: t }) => {
2230
- var Se;
2231
- const n = Y("Escape"), o = Y("ArrowLeft"), s = Y("ArrowRight"), [i, a] = $(1), [l, u] = $({ top: 0, left: 0, x: 0, y: 0 }), [c, m] = $(!1), [p, d] = gr(), [f, C] = $(null), [x, v] = $(null), b = R(null), g = R(null), H = R(null), B = R(null);
2232
- E(() => {
2229
+ }, vr = ({ attrs: e, htmlBody: t }) => {
2230
+ var He;
2231
+ const n = Y("Escape"), o = Y("ArrowLeft"), s = Y("ArrowRight"), [i, a] = $(1), [l, u] = $({ top: 0, left: 0, x: 0, y: 0 }), [c, m] = $(!1), [p, d] = br(), [f, C] = $(null), [x, E] = $(null), b = S(null), g = S(null), H = S(null), B = S(null), z = S(null), [_, et] = $(null);
2232
+ v(() => {
2233
2233
  n && C(null);
2234
- }, [n]), E(() => {
2234
+ }, [n]), v(() => {
2235
2235
  a(1);
2236
- }, [f]), E(() => {
2237
- var P, te;
2236
+ }, [f]), v(() => {
2237
+ var P, ne;
2238
2238
  if (f === null || g.current === null)
2239
2239
  return;
2240
- const w = g.current.firstElementChild, z = (P = H.current) == null ? void 0 : P.querySelector(".nav-left"), Z = (te = H.current) == null ? void 0 : te.querySelector(".nav-right");
2240
+ const w = g.current.firstElementChild, D = (P = H.current) == null ? void 0 : P.querySelector(".nav-left"), W = (ne = H.current) == null ? void 0 : ne.querySelector(".nav-right");
2241
2241
  if (x === "Right")
2242
- ee && Z ? Z.focus() : J && z && z.focus();
2242
+ te && W ? W.focus() : ee && D && D.focus();
2243
2243
  else if (x === "Left")
2244
- J && z ? z.focus() : ee && Z && Z.focus();
2244
+ ee && D ? D.focus() : te && W && W.focus();
2245
2245
  else {
2246
2246
  if (!w)
2247
2247
  return;
2248
2248
  w.focus();
2249
2249
  }
2250
- }, [f, g, H, x]), E(() => {
2250
+ }, [f, g, H, x]), v(() => {
2251
2251
  if (o) {
2252
- if (J)
2253
- return Le();
2254
- } else if (s && ee)
2255
- return Me();
2256
- }, [o, s]);
2257
- const D = se(() => {
2252
+ if (ee)
2253
+ return Se();
2254
+ } else if (s && te)
2255
+ return Re();
2256
+ }, [o, s]), v(() => {
2257
+ var D, W;
2258
+ const w = ((W = (D = z.current) == null ? void 0 : D.style) == null ? void 0 : W.float) || "";
2259
+ (w === "left" || w === "right") && et(w);
2260
+ }, []);
2261
+ const F = ie(() => {
2258
2262
  const w = document.createElement("div");
2259
2263
  w.innerHTML = t || "";
2260
- const z = w.getElementsByTagName("img");
2261
- return Array.from(z).reduce((P, te) => {
2262
- const Re = te.getAttribute("src");
2263
- if (Re) {
2264
- const ot = {
2265
- src: Re
2264
+ const D = w.getElementsByTagName("img");
2265
+ return Array.from(D).reduce((P, ne) => {
2266
+ const Te = ne.getAttribute("src");
2267
+ if (Te) {
2268
+ const at = {
2269
+ src: Te
2266
2270
  };
2267
- P.push(ot);
2271
+ P.push(at);
2268
2272
  }
2269
2273
  return P;
2270
2274
  }, []);
2271
- }, [t]), j = T(() => {
2275
+ }, [t]), Le = T(() => {
2272
2276
  const { src: w } = e;
2273
2277
  if (w) {
2274
- const z = D.findIndex((Z, P) => Z.src === w);
2275
- C(z);
2278
+ const D = F.findIndex((W, P) => W.src === w);
2279
+ C(D);
2276
2280
  }
2277
- }, [D, e]), Ge = T((w) => {
2281
+ }, [F, e]), tt = T((w) => {
2278
2282
  C(null);
2279
- }, []), ke = T(
2283
+ }, []), Me = T(
2280
2284
  (w) => {
2281
2285
  a(w ? i + i * 0.25 : i - i * 0.25);
2282
2286
  },
2283
2287
  [a, i]
2284
- ), Je = T(() => {
2288
+ ), nt = T(() => {
2285
2289
  if (f !== null) {
2286
- const { src: w } = D[f];
2290
+ const { src: w } = F[f];
2287
2291
  w && window.open(w, "_self");
2288
2292
  }
2289
- }, [D, f]), et = T(
2293
+ }, [F, f]), rt = T(
2290
2294
  (w) => {
2291
- const z = B.current;
2292
- z && (u({ top: z.scrollTop, left: z.scrollLeft, x: w.clientX, y: w.clientY }), m(!0));
2295
+ const D = B.current;
2296
+ D && (u({ top: D.scrollTop, left: D.scrollLeft, x: w.clientX, y: w.clientY }), m(!0));
2293
2297
  },
2294
2298
  [B]
2295
- ), tt = T(
2299
+ ), ot = T(
2296
2300
  (w) => {
2297
- const z = B.current;
2298
- if (z && c) {
2299
- const Z = w.clientX - l.x, P = w.clientY - l.y;
2300
- z.scrollTop = l.top - P, z.scrollLeft = l.left - Z;
2301
+ const D = B.current;
2302
+ if (D && c) {
2303
+ const W = w.clientX - l.x, P = w.clientY - l.y;
2304
+ D.scrollTop = l.top - P, D.scrollLeft = l.left - W;
2301
2305
  }
2302
2306
  },
2303
2307
  [c, l]
2304
- ), nt = (w) => {
2308
+ ), st = (w) => {
2305
2309
  w.preventDefault(), m(!1);
2306
- }, rt = se(() => {
2310
+ }, it = ie(() => {
2307
2311
  if (B.current) {
2308
2312
  const w = B.current.getElementsByTagName("img");
2309
2313
  if (w && w.length) {
2310
- const z = w[0];
2311
- return z.width > window.innerWidth || z.height > window.innerHeight;
2314
+ const D = w[0];
2315
+ return D.width > window.innerWidth || D.height > window.innerHeight;
2312
2316
  }
2313
2317
  }
2314
2318
  return !1;
2315
- }, [B, i]), Le = () => {
2316
- f !== null && (v("Left"), C(f - 1));
2317
- }, Me = () => {
2318
- f !== null && (v("Right"), C(f + 1));
2319
- }, J = f !== null && f > 0 && D.length > 1, ee = f !== null && D.length - 1 > f;
2320
- return /* @__PURE__ */ r.createElement(r.Fragment, null, /* @__PURE__ */ r.createElement(_e, { visible: f !== null, onClick: Ge }, /* @__PURE__ */ r.createElement(
2321
- kr,
2319
+ }, [B, i]), Se = () => {
2320
+ f !== null && (E("Left"), C(f - 1));
2321
+ }, Re = () => {
2322
+ f !== null && (E("Right"), C(f + 1));
2323
+ }, ee = f !== null && f > 0 && F.length > 1, te = f !== null && F.length - 1 > f;
2324
+ return /* @__PURE__ */ r.createElement(r.Fragment, null, /* @__PURE__ */ r.createElement(Qe, { visible: f !== null, onClick: tt }, /* @__PURE__ */ r.createElement(
2325
+ Sr,
2322
2326
  {
2323
2327
  onMouseDown: () => d(),
2324
2328
  onMouseMove: () => d(),
2325
2329
  onTouchStart: () => d(),
2326
2330
  onKeyDown: () => d()
2327
2331
  },
2328
- /* @__PURE__ */ r.createElement(Lr, { show: p.toString() }, /* @__PURE__ */ r.createElement(
2329
- Er,
2332
+ /* @__PURE__ */ r.createElement(Rr, { show: p.toString() }, /* @__PURE__ */ r.createElement(
2333
+ $r,
2330
2334
  {
2331
2335
  ref: g,
2332
2336
  buttons: [
2333
2337
  {
2334
2338
  id: "download",
2335
- onClick: Je,
2339
+ onClick: nt,
2336
2340
  icon: "download",
2337
2341
  ariaLabel: "Download image"
2338
2342
  },
@@ -2346,88 +2350,98 @@ const Hn = 300, Tn = ({
2346
2350
  }
2347
2351
  )),
2348
2352
  /* @__PURE__ */ r.createElement(
2349
- Sr,
2353
+ Tr,
2350
2354
  {
2351
2355
  scrolling: c.toString(),
2352
- isDraggable: rt.toString(),
2356
+ isDraggable: it.toString(),
2353
2357
  ref: B,
2354
- onMouseMove: tt,
2355
- onMouseDown: et,
2356
- onMouseUp: nt
2358
+ onMouseMove: ot,
2359
+ onMouseDown: rt,
2360
+ onMouseUp: st
2357
2361
  },
2358
2362
  f !== null && /* @__PURE__ */ r.createElement(
2359
- pr,
2363
+ yr,
2360
2364
  k(h({
2361
2365
  changeZoom: (w) => {
2362
2366
  a(w);
2363
2367
  },
2364
2368
  zoomState: i
2365
2369
  }, e), {
2366
- image: D[f]
2370
+ style: k(h({}, e.style || {}), {
2371
+ float: "none"
2372
+ }),
2373
+ image: F[f]
2367
2374
  })
2368
2375
  )
2369
2376
  ),
2370
2377
  /* @__PURE__ */ r.createElement(
2371
- wr,
2378
+ Lr,
2372
2379
  {
2373
2380
  ref: H,
2374
2381
  show: p.toString(),
2375
2382
  buttons: [
2376
2383
  {
2377
2384
  id: "previous",
2378
- onClick: Le,
2385
+ onClick: Se,
2379
2386
  icon: "caret-left",
2380
2387
  circle: !0,
2381
- show: J,
2388
+ show: ee,
2382
2389
  className: "nav-left",
2383
2390
  ariaLabel: "Navigate to previous image"
2384
2391
  },
2385
2392
  {
2386
2393
  id: "next",
2387
- onClick: Me,
2394
+ onClick: Re,
2388
2395
  icon: "caret-right",
2389
2396
  circle: !0,
2390
- show: ee,
2397
+ show: te,
2391
2398
  className: "nav-right",
2392
2399
  ariaLabel: "Navigate to next image"
2393
2400
  }
2394
2401
  ]
2395
2402
  }
2396
2403
  ),
2397
- /* @__PURE__ */ r.createElement(Mr, { show: p.toString() }, /* @__PURE__ */ r.createElement(
2398
- xr,
2404
+ /* @__PURE__ */ r.createElement(Hr, { show: p.toString() }, /* @__PURE__ */ r.createElement(
2405
+ kr,
2399
2406
  {
2400
2407
  buttons: [
2401
2408
  {
2402
2409
  id: "zoom-out",
2403
- onClick: () => ke(!1),
2410
+ onClick: () => Me(!1),
2404
2411
  icon: "zoom-out",
2405
2412
  ariaLabel: "Zoom out"
2406
2413
  },
2407
2414
  {
2408
2415
  id: "zoom-in",
2409
- onClick: () => ke(!0),
2416
+ onClick: () => Me(!0),
2410
2417
  icon: "zoom-in",
2411
2418
  ariaLabel: "Zoom in"
2412
2419
  }
2413
2420
  ]
2414
2421
  }
2415
- ), /* @__PURE__ */ r.createElement($r, { variant: "span" }, Math.trunc(i * 100), "%"))
2422
+ ), /* @__PURE__ */ r.createElement(Mr, { variant: "span" }, Math.trunc(i * 100), "%"))
2416
2423
  )), /* @__PURE__ */ r.createElement(
2417
- yr,
2424
+ Er,
2418
2425
  {
2419
2426
  ref: b,
2420
- onClick: j,
2427
+ onClick: Le,
2421
2428
  onKeyDown: (w) => {
2422
- w.key === "Enter" && (w.preventDefault(), j());
2429
+ w.key === "Enter" && (w.preventDefault(), Le());
2423
2430
  },
2431
+ alignment: _,
2424
2432
  tabIndex: 0
2425
2433
  },
2426
- /* @__PURE__ */ r.createElement(Rr, k(h({}, e), { alt: ((Se = e.alt) == null ? void 0 : Se.toString()) || "" }))
2434
+ /* @__PURE__ */ r.createElement(
2435
+ Dr,
2436
+ k(h({}, e), {
2437
+ alt: ((He = e.alt) == null ? void 0 : He.toString()) || "",
2438
+ ref: z
2439
+ })
2440
+ )
2427
2441
  ));
2428
- }, $e = N(
2442
+ }, ke = N(
2429
2443
  ({ show: e = "true", buttons: t, className: n }, o) => /* @__PURE__ */ r.createElement(
2430
- br,
2444
+ xr,
2431
2445
  {
2432
2446
  ref: o,
2433
2447
  show: e,
@@ -2435,7 +2449,7 @@ const Hn = 300, Tn = ({
2435
2449
  },
2436
2450
  t.map(
2437
2451
  ({ id: s, circle: i = !1, show: a = !0, ariaLabel: l, onClick: u, icon: c, className: m }, p) => /* @__PURE__ */ r.createElement(
2438
- vr,
2452
+ wr,
2439
2453
  {
2440
2454
  key: s + p.toString(),
2441
2455
  circle: i.toString(),
@@ -2446,29 +2460,33 @@ const Hn = 300, Tn = ({
2446
2460
  className: m,
2447
2461
  "aria-label": l
2448
2462
  },
2449
- /* @__PURE__ */ r.createElement(G, { size: 24, symbol: { type: "Svg", content: c } })
2463
+ /* @__PURE__ */ r.createElement(J, { size: 24, symbol: { type: "Svg", content: c } })
2450
2464
  )
2451
2465
  )
2452
2466
  )
2453
- ), qe = y.div`
2467
+ ), Ge = y.div`
2454
2468
  transition: opacity 0.3s ease 0s;
2455
2469
  z-index: 5;
2456
2470
  ${(e) => e.show === "true" ? "opacity: 1;" : L`
2457
2471
  opacity: 0;
2458
2472
  pointer-events: none;
2459
2473
  `}
2460
- `, yr = y(we)`
2474
+ `, Er = y($e)`
2461
2475
  display: inline-block !important;
2462
- `, br = y(qe)`
2476
+
2477
+ ${(e) => (e.alignment === "right" || e.alignment === "left") && L`
2478
+ float: ${e.alignment};
2479
+ `}
2480
+ `, xr = y(Ge)`
2463
2481
  position: fixed;
2464
2482
  display: flex;
2465
2483
  gap: ${(e) => {
2466
2484
  var t;
2467
2485
  return (t = e.theme.sizes) == null ? void 0 : t.normal;
2468
2486
  }};
2469
- `, ge = "39px", vr = y(ae)`
2470
- width: ${ge};
2471
- height: ${ge};
2487
+ `, Ce = "39px", wr = y(ce)`
2488
+ width: ${Ce};
2489
+ height: ${Ce};
2472
2490
  display: flex;
2473
2491
  justify-content: center;
2474
2492
  align-items: center;
@@ -2494,7 +2512,7 @@ const Hn = 300, Tn = ({
2494
2512
  }
2495
2513
 
2496
2514
  &:focus-visible {
2497
- ${F(e)}
2515
+ ${A(e)}
2498
2516
  outline-color: #ffffff;
2499
2517
  background-color: transparent;
2500
2518
 
@@ -2516,7 +2534,7 @@ const Hn = 300, Tn = ({
2516
2534
  outline-color: #ffffff;
2517
2535
  }
2518
2536
  &:focus-visible {
2519
- ${F(e)}
2537
+ ${A(e)}
2520
2538
  }
2521
2539
  `;
2522
2540
  }}
@@ -2531,7 +2549,7 @@ const Hn = 300, Tn = ({
2531
2549
  opacity: 0;
2532
2550
  pointer-events: none;
2533
2551
  `}
2534
- `, Er = y($e)`
2552
+ `, $r = y(ke)`
2535
2553
  top: ${(e) => {
2536
2554
  var t;
2537
2555
  return (t = e.theme.sizes) == null ? void 0 : t.large;
@@ -2540,7 +2558,7 @@ const Hn = 300, Tn = ({
2540
2558
  var t;
2541
2559
  return (t = e.theme.sizes) == null ? void 0 : t.large;
2542
2560
  }};
2543
- `, xr = y($e)`
2561
+ `, kr = y(ke)`
2544
2562
  bottom: ${(e) => {
2545
2563
  var t;
2546
2564
  return (t = e.theme.sizes) == null ? void 0 : t.large;
@@ -2548,11 +2566,11 @@ const Hn = 300, Tn = ({
2548
2566
  width: 100%;
2549
2567
  align-items: center;
2550
2568
  justify-content: center;
2551
- `, wr = y($e)`
2569
+ `, Lr = y(ke)`
2552
2570
  display: block;
2553
2571
  button {
2554
2572
  position: fixed;
2555
- top: calc(50% - calc(${ge} / 2));
2573
+ top: calc(50% - calc(${Ce} / 2));
2556
2574
  &:first-child {
2557
2575
  left: ${(e) => {
2558
2576
  var t;
@@ -2566,7 +2584,7 @@ const Hn = 300, Tn = ({
2566
2584
  }};
2567
2585
  }
2568
2586
  }
2569
- `, $r = y(_)`
2587
+ `, Mr = y(q)`
2570
2588
  position: fixed;
2571
2589
  bottom: ${(e) => {
2572
2590
  var t;
@@ -2585,21 +2603,21 @@ const Hn = 300, Tn = ({
2585
2603
  var t;
2586
2604
  return (t = e.theme.fonts) == null ? void 0 : t.type;
2587
2605
  }};
2588
- `, Qe = y(qe)`
2606
+ `, Je = y(Ge)`
2589
2607
  position: absolute;
2590
2608
  width: 100vw;
2591
2609
  height: 88px;
2592
2610
  left: 0px;
2593
2611
  z-index: 5;
2594
- `, kr = y.div`
2612
+ `, Sr = y.div`
2595
2613
  width: 100%;
2596
- `, Lr = y(Qe)`
2614
+ `, Rr = y(Je)`
2597
2615
  top: 0px;
2598
2616
  background-image: linear-gradient(to bottom, rgb(34, 34, 34, 0.8), rgba(34, 34, 34, 0));
2599
- `, Mr = y(Qe)`
2617
+ `, Hr = y(Je)`
2600
2618
  bottom: 0px;
2601
2619
  background-image: linear-gradient(to top, rgb(34, 34, 34, 0.8), rgba(34, 34, 34, 0));
2602
- `, Sr = y.div`
2620
+ `, Tr = y.div`
2603
2621
  width: 100%;
2604
2622
  height: 100vh;
2605
2623
  overflow: auto;
@@ -2608,36 +2626,36 @@ const Hn = 300, Tn = ({
2608
2626
  white-space: nowrap;
2609
2627
  justify-content: center;
2610
2628
  cursor: ${(e) => e.isDraggable === "true" ? e.scrolling === "true" ? "grabbing" : "grab" : "auto"};
2611
- `, Rr = y.img`
2629
+ `, Dr = y.img`
2612
2630
  cursor: pointer;
2613
- `, Hr = Cr, Tr = N(
2631
+ `, Br = vr, zr = N(
2614
2632
  (l, a) => {
2615
2633
  var u = l, { className: e, children: t, trigger: n, onOverlayClick: o = () => {
2616
- }, close: s = !1 } = u, i = S(u, ["className", "children", "trigger", "onOverlayClick", "close"]);
2617
- const [c, m] = je(), [p, d] = Ke(!0), f = R(), C = R(q()), x = Y("Escape");
2618
- E(() => {
2634
+ }, close: s = !1 } = u, i = R(u, ["className", "children", "trigger", "onOverlayClick", "close"]);
2635
+ const [c, m] = Xe(), [p, d] = Ye(!0), f = S(), C = S(Q()), x = Y("Escape");
2636
+ v(() => {
2619
2637
  (x || s) && m(!1);
2620
- }, [x, s]), E(() => {
2638
+ }, [x, s]), v(() => {
2621
2639
  c && f.current && f.current.focus();
2622
- }, [c, f.current]), ce("router:changed", () => {
2640
+ }, [c, f.current]), le("router:changed", () => {
2623
2641
  m(!1);
2624
2642
  });
2625
- const v = T(
2643
+ const E = T(
2626
2644
  (g) => {
2627
2645
  m(!1), o(g);
2628
2646
  },
2629
2647
  [o, m]
2630
2648
  );
2631
- Ce(a, () => ({
2649
+ ye(a, () => ({
2632
2650
  close() {
2633
2651
  m(!1);
2634
2652
  }
2635
2653
  }));
2636
- const b = T(() => ve(C.current, () => {
2654
+ const b = T(() => Ee(C.current, () => {
2637
2655
  m(!1);
2638
2656
  }), [C.current]);
2639
- return /* @__PURE__ */ r.createElement(r.Fragment, null, /* @__PURE__ */ r.createElement(_e, { visible: c, onClick: v }, /* @__PURE__ */ r.createElement(
2640
- Br,
2657
+ return /* @__PURE__ */ r.createElement(r.Fragment, null, /* @__PURE__ */ r.createElement(Qe, { visible: c, onClick: E }, /* @__PURE__ */ r.createElement(
2658
+ Vr,
2641
2659
  k(h({
2642
2660
  className: M(
2643
2661
  e,
@@ -2650,13 +2668,13 @@ const Hn = 300, Tn = ({
2650
2668
  ref: d
2651
2669
  }),
2652
2670
  /* @__PURE__ */ r.createElement(
2653
- xe,
2671
+ we,
2654
2672
  {
2655
2673
  onClick: () => m(!1),
2656
2674
  tabIndex: 0,
2657
2675
  ref: f
2658
2676
  },
2659
- /* @__PURE__ */ r.createElement(G, { symbol: { type: "Svg", content: "close" } })
2677
+ /* @__PURE__ */ r.createElement(J, { symbol: { type: "Svg", content: "close" } })
2660
2678
  ),
2661
2679
  t
2662
2680
  )), r.cloneElement(n, {
@@ -2665,7 +2683,7 @@ const Hn = 300, Tn = ({
2665
2683
  }
2666
2684
  }));
2667
2685
  }
2668
- ), Dr = Tr, Br = y.div`
2686
+ ), Nr = zr, Vr = y.div`
2669
2687
  font-family: ${(e) => {
2670
2688
  var t;
2671
2689
  return (t = e.theme.fonts) == null ? void 0 : t.type;
@@ -2681,10 +2699,10 @@ const Hn = 300, Tn = ({
2681
2699
  var t;
2682
2700
  return (t = e.theme.sizes) == null ? void 0 : t.medium;
2683
2701
  }};
2684
- ${(e) => Ye(e)}
2702
+ ${(e) => Ue(e)}
2685
2703
  ${(e) => e.css && e.css}
2686
2704
  outline: none;
2687
- `, zr = ({
2705
+ `, Wr = ({
2688
2706
  className: e,
2689
2707
  trigger: t,
2690
2708
  header: n = "",
@@ -2696,15 +2714,15 @@ const Hn = 300, Tn = ({
2696
2714
  cancelLabel: a = "",
2697
2715
  confirmLabel: l = ""
2698
2716
  }) => {
2699
- const u = R(), c = T(() => {
2717
+ const u = S(), c = T(() => {
2700
2718
  var p;
2701
2719
  s(), (p = u == null ? void 0 : u.current) == null || p.close();
2702
2720
  }, [s]), m = T(() => {
2703
2721
  var p;
2704
2722
  i(), (p = u == null ? void 0 : u.current) == null || p.close();
2705
2723
  }, [i]);
2706
- return /* @__PURE__ */ r.createElement(Nr, { className: e, trigger: t, ref: u, onOverlayClick: c }, n && /* @__PURE__ */ r.createElement(Ve, null, n), o && /* @__PURE__ */ r.createElement(Ve, null, o), l && /* @__PURE__ */ r.createElement(Vr, { onClick: m }, l), a && /* @__PURE__ */ r.createElement(Wr, { onClick: c }, a));
2707
- }, Zo = zr, Nr = y(Dr)`
2724
+ return /* @__PURE__ */ r.createElement(Zr, { className: e, trigger: t, ref: u, onOverlayClick: c }, n && /* @__PURE__ */ r.createElement(Ze, null, n), o && /* @__PURE__ */ r.createElement(Ze, null, o), l && /* @__PURE__ */ r.createElement(Ir, { onClick: m }, l), a && /* @__PURE__ */ r.createElement(Or, { onClick: c }, a));
2725
+ }, Po = Wr, Zr = y(Nr)`
2708
2726
  display: block;
2709
2727
 
2710
2728
  span {
@@ -2722,7 +2740,7 @@ const Hn = 300, Tn = ({
2722
2740
  }};
2723
2741
  }
2724
2742
  }
2725
- `, Vr = y(ae)`
2743
+ `, Ir = y(ce)`
2726
2744
  display: inline-block;
2727
2745
  min-width: 50px;
2728
2746
  ${(e) => {
@@ -2750,9 +2768,9 @@ const Hn = 300, Tn = ({
2750
2768
  }
2751
2769
 
2752
2770
  &:focus-visible {
2753
- ${F}
2771
+ ${A}
2754
2772
  }
2755
- `, Wr = y(ae)`
2773
+ `, Or = y(ce)`
2756
2774
  display: inline-block;
2757
2775
  min-width: 50px;
2758
2776
  ${(e) => {
@@ -2771,18 +2789,18 @@ const Hn = 300, Tn = ({
2771
2789
  }};
2772
2790
 
2773
2791
  &:focus-visible {
2774
- ${F};
2792
+ ${A};
2775
2793
  }
2776
- `, Zr = ({
2794
+ `, Pr = ({
2777
2795
  header: e = "",
2778
2796
  link: t = "",
2779
2797
  suggestionHeader: n = "",
2780
2798
  suggestion: o = ""
2781
- }) => /* @__PURE__ */ r.createElement(Ir, null, /* @__PURE__ */ r.createElement(Or, null, /* @__PURE__ */ r.createElement(_, { variant: "h2" }, "404")), /* @__PURE__ */ r.createElement(Pr, null, /* @__PURE__ */ r.createElement(_, { variant: "h3" }, e), /* @__PURE__ */ r.createElement(Kr, { routeName: "index", "aria-label": t, text: t })), /* @__PURE__ */ r.createElement(Fr, null, /* @__PURE__ */ r.createElement("span", null, n), /* @__PURE__ */ r.createElement("ul", null, /* @__PURE__ */ r.createElement("li", null, o)))), Io = Zr, Ir = y.div`
2799
+ }) => /* @__PURE__ */ r.createElement(Ar, null, /* @__PURE__ */ r.createElement(Fr, null, /* @__PURE__ */ r.createElement(q, { variant: "h2" }, "404")), /* @__PURE__ */ r.createElement(Kr, null, /* @__PURE__ */ r.createElement(q, { variant: "h3" }, e), /* @__PURE__ */ r.createElement(Xr, { routeName: "index", "aria-label": t, text: t })), /* @__PURE__ */ r.createElement(jr, null, /* @__PURE__ */ r.createElement("span", null, n), /* @__PURE__ */ r.createElement("ul", null, /* @__PURE__ */ r.createElement("li", null, o)))), Ao = Pr, Ar = y.div`
2782
2800
  display: flex;
2783
2801
  flex-wrap: wrap;
2784
- `, Or = y.div`
2785
- ${(e) => ie(e)(
2802
+ `, Fr = y.div`
2803
+ ${(e) => ae(e)(
2786
2804
  "h2",
2787
2805
  L`
2788
2806
  padding: 0;
@@ -2791,7 +2809,7 @@ const Hn = 300, Tn = ({
2791
2809
  font-size: 7em;
2792
2810
  `
2793
2811
  )}
2794
- `, Pr = y.div`
2812
+ `, Kr = y.div`
2795
2813
  margin-left: ${(e) => {
2796
2814
  var t;
2797
2815
  return (t = e.theme.sizes) == null ? void 0 : t.medium;
@@ -2799,7 +2817,7 @@ const Hn = 300, Tn = ({
2799
2817
 
2800
2818
  ${(e) => {
2801
2819
  var t;
2802
- return ie(e)(
2820
+ return ae(e)(
2803
2821
  "h3",
2804
2822
  L`
2805
2823
  text-transform: uppercase;
@@ -2818,7 +2836,7 @@ const Hn = 300, Tn = ({
2818
2836
  return (t = e.theme.fonts) == null ? void 0 : t.small;
2819
2837
  }};
2820
2838
  }
2821
- `, Fr = y.div`
2839
+ `, jr = y.div`
2822
2840
  margin-top: ${(e) => {
2823
2841
  var t;
2824
2842
  return (t = e.theme.sizes) == null ? void 0 : t.medium;
@@ -2829,12 +2847,12 @@ const Hn = 300, Tn = ({
2829
2847
  font-weight: bold;
2830
2848
  }
2831
2849
  `;
2832
- class Ar extends ut {
2850
+ class Yr extends ft {
2833
2851
  constructor() {
2834
2852
  super(...arguments);
2835
- re(this, "node");
2836
- re(this, "onFocusListener");
2837
- re(this, "state", {
2853
+ oe(this, "node");
2854
+ oe(this, "onFocusListener");
2855
+ oe(this, "state", {
2838
2856
  boundFocus: !1
2839
2857
  });
2840
2858
  }
@@ -2871,49 +2889,49 @@ class Ar extends ut {
2871
2889
  ) : null;
2872
2890
  }
2873
2891
  }
2874
- const Oo = Ar, Kr = N(
2892
+ const Fo = Yr, Xr = N(
2875
2893
  (a, i) => {
2876
- var l = a, { className: e, description: t, text: n, children: o } = l, s = S(l, ["className", "description", "text", "children"]);
2877
- return /* @__PURE__ */ r.createElement(we, k(h({ className: M(e, "humany-text-link") }, s), { ref: i }), o, /* @__PURE__ */ r.createElement(Ee, null, n), t ? /* @__PURE__ */ r.createElement(Ue, { html: t, className: "humany-description" }) : null);
2894
+ var l = a, { className: e, description: t, text: n, children: o } = l, s = R(l, ["className", "description", "text", "children"]);
2895
+ return /* @__PURE__ */ r.createElement($e, k(h({ className: M(e, "humany-text-link") }, s), { ref: i }), o, /* @__PURE__ */ r.createElement(xe, null, n), t ? /* @__PURE__ */ r.createElement(qe, { html: t, className: "humany-description" }) : null);
2878
2896
  }
2879
2897
  );
2880
- var jr = /* @__PURE__ */ ((e) => (e.HH_MM = "hh:mm", e.YYYY_MM_DD = "yyyy-mm-dd", e.YYYY_MM_DD_HH_MM = "yyyy-mm-dd hh:mm", e))(jr || {});
2881
- const Yr = ({ className: e = "", format: t = "hh:mm", timestamp: n }) => /* @__PURE__ */ r.createElement("span", { className: M(e, "humany-timestamp") }, Xr(n, t)), Po = Yr, We = (e) => `0${e}`.slice(-2);
2882
- function Xr(e, t) {
2883
- const n = new Date(e), o = n.toTimeString().split(" ")[0].split(":"), s = o.length > 1 ? `${o[0]}:${o[1]}` : o[0], i = n.getFullYear(), a = n.getMonth() + 1, l = n.getDate(), u = `${i}-${We(a)}-${We(l)}`;
2898
+ var Ur = /* @__PURE__ */ ((e) => (e.HH_MM = "hh:mm", e.YYYY_MM_DD = "yyyy-mm-dd", e.YYYY_MM_DD_HH_MM = "yyyy-mm-dd hh:mm", e))(Ur || {});
2899
+ const _r = ({ className: e = "", format: t = "hh:mm", timestamp: n }) => /* @__PURE__ */ r.createElement("span", { className: M(e, "humany-timestamp") }, qr(n, t)), Ko = _r, Ie = (e) => `0${e}`.slice(-2);
2900
+ function qr(e, t) {
2901
+ const n = new Date(e), o = n.toTimeString().split(" ")[0].split(":"), s = o.length > 1 ? `${o[0]}:${o[1]}` : o[0], i = n.getFullYear(), a = n.getMonth() + 1, l = n.getDate(), u = `${i}-${Ie(a)}-${Ie(l)}`;
2884
2902
  return t === "yyyy-mm-dd" ? u : t === "hh:mm" ? s : `${u} ${s}`;
2885
2903
  }
2886
- const Ur = (i) => {
2887
- var a = i, { className: e, children: t, content: n, sticky: o = !1 } = a, s = S(a, ["className", "children", "content", "sticky"]);
2888
- const [l, u] = $(!1), c = R(q()), m = R(), [{ x: p, y: d }, f] = Xe(l, c.current, m.current), C = (v) => {
2889
- const { target: b } = v;
2904
+ const Qr = (i) => {
2905
+ var a = i, { className: e, children: t, content: n, sticky: o = !1 } = a, s = R(a, ["className", "children", "content", "sticky"]);
2906
+ const [l, u] = $(!1), c = S(Q()), m = S(), [{ x: p, y: d }, f] = _e(l, c.current, m.current), C = (E) => {
2907
+ const { target: b } = E;
2890
2908
  !m.current || !b || m.current !== b && !m.current.contains(b) && u(!1);
2891
2909
  };
2892
- E(() => {
2910
+ v(() => {
2893
2911
  if (!!o)
2894
2912
  return window.addEventListener("click", C), () => {
2895
2913
  window.removeEventListener("click", C);
2896
2914
  };
2897
2915
  }, [l, o]);
2898
2916
  const x = T(
2899
- (v, b) => {
2900
- f(v, m.current), u(b);
2917
+ (E, b) => {
2918
+ f(E, m.current), u(b);
2901
2919
  },
2902
2920
  [f, u]
2903
2921
  );
2904
2922
  return /* @__PURE__ */ r.createElement(
2905
- _r,
2923
+ Gr,
2906
2924
  {
2907
2925
  ref: m,
2908
2926
  className: "humany-tooltip-trigger",
2909
- onMouseEnter: o ? void 0 : (v) => x(v, !0),
2910
- onMouseLeave: o ? void 0 : (v) => x(v, !1),
2911
- onTouchEnd: o ? (v) => x(v, !l) : void 0,
2912
- onClick: o ? (v) => x(v, !l) : void 0
2927
+ onMouseEnter: o ? void 0 : (E) => x(E, !0),
2928
+ onMouseLeave: o ? void 0 : (E) => x(E, !1),
2929
+ onTouchEnd: o ? (E) => x(E, !l) : void 0,
2930
+ onClick: o ? (E) => x(E, !l) : void 0
2913
2931
  },
2914
2932
  t,
2915
- l && /* @__PURE__ */ r.createElement(Q, null, /* @__PURE__ */ r.createElement(
2916
- qr,
2933
+ l && /* @__PURE__ */ r.createElement(G, null, /* @__PURE__ */ r.createElement(
2934
+ Jr,
2917
2935
  h({
2918
2936
  className: M(e, "humany-tooltip-container"),
2919
2937
  x: p,
@@ -2922,10 +2940,10 @@ const Ur = (i) => {
2922
2940
  n
2923
2941
  ))
2924
2942
  );
2925
- }, _r = y.div`
2943
+ }, Gr = y.div`
2926
2944
  display: flex;
2927
2945
  align-items: center;
2928
- `, qr = y.div`
2946
+ `, Jr = y.div`
2929
2947
  color: #ffffff;
2930
2948
  background: #161616;
2931
2949
  border-radius: ${(e) => e.theme.borderRadius};
@@ -2961,7 +2979,7 @@ const Ur = (i) => {
2961
2979
  let t = "";
2962
2980
  return e.y > 0 ? t += `top: calc(2px + ${e.y || "0"}px);` : t += "bottom: 2px;", e.x > 0 ? t += `right: calc(2px + ${e.x || "0"}px);` : t += "left: 2px;", t;
2963
2981
  }};
2964
- `, Fo = Ur, Qr = (e) => {
2982
+ `, jo = Qr, eo = (e) => {
2965
2983
  const {
2966
2984
  in: t,
2967
2985
  mountOnEnter: n = !0,
@@ -3003,7 +3021,7 @@ const Ur = (i) => {
3003
3021
  }
3004
3022
  })();
3005
3023
  return /* @__PURE__ */ r.createElement(
3006
- yt,
3024
+ Et,
3007
3025
  {
3008
3026
  timeout: {
3009
3027
  enter: u && u.enter.duration || 0,
@@ -3015,17 +3033,17 @@ const Ur = (i) => {
3015
3033
  unmountOnExit: o,
3016
3034
  onEnter: (c) => c.clientHeight
3017
3035
  },
3018
- (c) => i && i(c, u && he.compose(c, u))
3036
+ (c) => i && i(c, u && pe.compose(c, u))
3019
3037
  );
3020
- }, Ao = Qr, Gr = N(
3038
+ }, Yo = eo, to = N(
3021
3039
  (l, a) => {
3022
3040
  var u = l, { className: e, children: t, onClick: n = () => {
3023
- }, widgetName: o, activationOptions: s } = u, i = S(u, ["className", "children", "onClick", "widgetName", "activationOptions"]);
3024
- const c = W(), m = () => {
3041
+ }, widgetName: o, activationOptions: s } = u, i = R(u, ["className", "children", "onClick", "widgetName", "activationOptions"]);
3042
+ const c = Z(), m = () => {
3025
3043
  const { implementation: f } = c.get("$widget");
3026
3044
  return f.widgets.get(o);
3027
3045
  };
3028
- E(() => {
3046
+ v(() => {
3029
3047
  const f = m();
3030
3048
  return f == null || f.activate(s).then(() => f.invoke("attach")), () => {
3031
3049
  f == null || f.deactivate();
@@ -3034,9 +3052,9 @@ const Ur = (i) => {
3034
3052
  const p = (f) => {
3035
3053
  const C = m(), x = f.currentTarget;
3036
3054
  if (C) {
3037
- const v = () => {
3055
+ const E = () => {
3038
3056
  C.invoke("renderState").then(
3039
- (b) => b === oe.open ? C.invoke("close") : C.invoke("open")
3057
+ (b) => b === se.open ? C.invoke("close") : C.invoke("open")
3040
3058
  ).then(() => {
3041
3059
  C.events.subscribeOnce("widget:area-rendered", (b, g) => {
3042
3060
  c.get(
@@ -3048,13 +3066,13 @@ const Ur = (i) => {
3048
3066
  });
3049
3067
  });
3050
3068
  };
3051
- C.state === lt.Deactivated ? C.activate(s).then(() => C.invoke("attach")).then(v) : v();
3069
+ C.state === dt.Deactivated ? C.activate(s).then(() => C.invoke("attach")).then(E) : E();
3052
3070
  }
3053
3071
  }, d = (f) => {
3054
3072
  f.key === "Enter" && (f.preventDefault(), p(f));
3055
3073
  };
3056
3074
  return /* @__PURE__ */ r.createElement(
3057
- we,
3075
+ $e,
3058
3076
  k(h({
3059
3077
  className: M(e, "humany-widget-link"),
3060
3078
  onKeyDown: d,
@@ -3067,16 +3085,16 @@ const Ur = (i) => {
3067
3085
  t
3068
3086
  );
3069
3087
  }
3070
- ), Ko = N(
3088
+ ), Xo = N(
3071
3089
  ({ portalId: e = "humany-widget-overlay-portal", className: t, children: n }, o) => {
3072
- const s = W(), i = se(() => {
3090
+ const s = Z(), i = ie(() => {
3073
3091
  if (!s)
3074
3092
  return null;
3075
3093
  const a = s.get("widgetDOMElement");
3076
3094
  return !a || !a.childElementCount ? null : a.children[0];
3077
3095
  }, [s]);
3078
- return i ? /* @__PURE__ */ r.createElement(Q, { elementId: e, parent: i }, /* @__PURE__ */ r.createElement(
3079
- Jr,
3096
+ return i ? /* @__PURE__ */ r.createElement(G, { elementId: e, parent: i }, /* @__PURE__ */ r.createElement(
3097
+ no,
3080
3098
  {
3081
3099
  className: M("humany-widget-overlay-outlet", t),
3082
3100
  ref: o
@@ -3084,7 +3102,7 @@ const Ur = (i) => {
3084
3102
  n
3085
3103
  )) : null;
3086
3104
  }
3087
- ), Jr = y.div`
3105
+ ), no = y.div`
3088
3106
  background-color: #ffffff;
3089
3107
  position: absolute;
3090
3108
  top: 0;
@@ -3094,102 +3112,102 @@ const Ur = (i) => {
3094
3112
  z-index: 10;
3095
3113
  width: 100%;
3096
3114
  height: 100%;
3097
- `, eo = (e, t, n, o, s) => e.getAsync("componentResolver").then((i) => (i.registerComponent(
3115
+ `, ro = (e, t, n, o, s) => e.getAsync("componentResolver").then((i) => (i.registerComponent(
3098
3116
  t,
3099
- mt(() => n)
3100
- ), gt(e, t, o || (() => {
3101
- }), t, s))), jo = eo;
3117
+ ht(() => n)
3118
+ ), bt(e, t, o || (() => {
3119
+ }), t, s))), Uo = ro;
3102
3120
  export {
3103
- Vt as AnchorLink,
3104
- ae as Button,
3105
- po as Checkbox,
3106
- Ot as ColumnContext,
3107
- Pe as ComponentNodeContext,
3108
- Pt as ComponentPropertyContext,
3109
- Zo as Confirm,
3110
- It as ContainerContext,
3111
- At as ConversationContext,
3112
- jr as DateFormats,
3113
- Bo as Drawer,
3114
- Rn as DrawerAnimationType,
3115
- zo as Dropdown,
3116
- Fn as Empty,
3117
- No as Grid,
3118
- Ue as Html,
3119
- Yn as Icon,
3120
- Vo as Input,
3121
- _n as ItemList,
3122
- Wo as ItemTree,
3123
- Hr as Lightbox,
3124
- we as Link,
3125
- Xn as List,
3126
- Dr as Modal,
3127
- Io as NotFound,
3128
- _e as Overlay,
3129
- Un as Paragraph,
3130
- Q as Portal,
3131
- Qn as RouteLink,
3132
- Ft as RoutingContext,
3133
- Ve as StyledText,
3134
- G as SymbolBadge,
3135
- Oo as TabStop,
3136
- Ee as Text,
3137
- Kr as TextLink,
3138
- Po as Timestamp,
3139
- Fo as Tooltip,
3140
- Ao as TransitionComponent,
3141
- _ as Typography,
3142
- Gr as WidgetLink,
3143
- Ko as WidgetOverlayOutlet,
3144
- F as borderTabStyle,
3145
- Ne as browser,
3146
- vn as buttonCss,
3147
- Ye as contentBox,
3121
+ It as AnchorLink,
3122
+ ce as Button,
3123
+ yo as Checkbox,
3124
+ Ft as ColumnContext,
3125
+ Fe as ComponentNodeContext,
3126
+ Kt as ComponentPropertyContext,
3127
+ Po as Confirm,
3128
+ At as ContainerContext,
3129
+ Yt as ConversationContext,
3130
+ Ur as DateFormats,
3131
+ Vo as Drawer,
3132
+ Dn as DrawerAnimationType,
3133
+ Wo as Dropdown,
3134
+ jn as Empty,
3135
+ Zo as Grid,
3136
+ qe as Html,
3137
+ _n as Icon,
3138
+ Io as Input,
3139
+ Gn as ItemList,
3140
+ Oo as ItemTree,
3141
+ Br as Lightbox,
3142
+ $e as Link,
3143
+ qn as List,
3144
+ Nr as Modal,
3145
+ Ao as NotFound,
3146
+ Qe as Overlay,
3147
+ Qn as Paragraph,
3148
+ G as Portal,
3149
+ er as RouteLink,
3150
+ jt as RoutingContext,
3151
+ Ze as StyledText,
3152
+ J as SymbolBadge,
3153
+ Fo as TabStop,
3154
+ xe as Text,
3155
+ Xr as TextLink,
3156
+ Ko as Timestamp,
3157
+ jo as Tooltip,
3158
+ Yo as TransitionComponent,
3159
+ q as Typography,
3160
+ to as WidgetLink,
3161
+ Xo as WidgetOverlayOutlet,
3162
+ A as borderTabStyle,
3163
+ We as browser,
3164
+ wn as buttonCss,
3165
+ Ue as contentBox,
3148
3166
  V as convertToStringAttributes,
3149
- ho as createEmptyComponent,
3150
- jo as createReactComponent,
3151
- zt as defaultRenderInstructions,
3152
- St as embeddedLinkMapper,
3153
- Ht as filterCssProps,
3154
- Rt as filterCssPropsStyle,
3155
- Tt as genericHashLink,
3156
- Do as genericHtml,
3157
- ie as headingElement,
3158
- Bt as imageLightboxRenderer,
3159
- Ro as invertedHoverButton,
3160
- To as itemList,
3161
- En as linkTabStyle,
3162
- xn as list,
3163
- Ho as paddedBorderTabStyle,
3164
- Dt as processHtmlString,
3165
- he as transitionComposer,
3166
- go as useAction,
3167
- Co as useChildren,
3168
- yo as useColumns,
3169
- bo as useComponent,
3170
- ye as useComponentDescriptor,
3171
- be as useComponentNode,
3167
+ Co as createEmptyComponent,
3168
+ Uo as createReactComponent,
3169
+ Wt as defaultRenderInstructions,
3170
+ Tt as embeddedLinkMapper,
3171
+ Bt as filterCssProps,
3172
+ Dt as filterCssPropsStyle,
3173
+ zt as genericHashLink,
3174
+ No as genericHtml,
3175
+ ae as headingElement,
3176
+ Vt as imageLightboxRenderer,
3177
+ Do as invertedHoverButton,
3178
+ zo as itemList,
3179
+ $n as linkTabStyle,
3180
+ kn as list,
3181
+ Bo as paddedBorderTabStyle,
3182
+ Nt as processHtmlString,
3183
+ pe as transitionComposer,
3184
+ bo as useAction,
3185
+ vo as useChildren,
3186
+ Eo as useColumns,
3187
+ xo as useComponent,
3188
+ be as useComponentDescriptor,
3189
+ ve as useComponentNode,
3172
3190
  U as useComponentPlatform,
3173
- W as useContainer,
3174
- en as useContext,
3175
- vo as useConversation,
3176
- Eo as useDispatch,
3191
+ Z as useContainer,
3192
+ rn as useContext,
3193
+ wo as useConversation,
3194
+ $o as useDispatch,
3177
3195
  I as useEventListener,
3178
- on as useEvents,
3196
+ cn as useEvents,
3179
3197
  O as useIsMounted,
3180
- xo as useIsTabbing,
3198
+ ko as useIsTabbing,
3181
3199
  Y as useKeyPress,
3182
- wo as useLayout,
3183
- Fe as usePrevious,
3184
- $o as useProperties,
3185
- ko as useRenderState,
3186
- Lo as useRouteData,
3187
- Ae as useRouter,
3188
- Ke as useScroll,
3189
- Mo as useSettings,
3190
- je as useToggle,
3191
- So as useTransitionEnd,
3192
- ve as useUniqueMenu,
3193
- ce as useWidgetEvent
3200
+ Lo as useLayout,
3201
+ Ke as usePrevious,
3202
+ Mo as useProperties,
3203
+ So as useRenderState,
3204
+ Ro as useRouteData,
3205
+ je as useRouter,
3206
+ Ye as useScroll,
3207
+ Ho as useSettings,
3208
+ Xe as useToggle,
3209
+ To as useTransitionEnd,
3210
+ Ee as useUniqueMenu,
3211
+ le as useWidgetEvent
3194
3212
  };
3195
3213
  //# sourceMappingURL=index.js.map