@telia-ace/widget-ui 1.3.12 → 1.3.13
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/index.js +76 -56
- package/index.mjs +390 -355
- package/package.json +4 -4
package/index.mjs
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
var rt = Object.defineProperty;
|
|
2
2
|
var it = (e, t, n) => t in e ? rt(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
|
|
3
3
|
var te = (e, t, n) => (it(e, typeof t != "symbol" ? t + "" : t, n), n);
|
|
4
|
-
import { css as k, keyframes as
|
|
5
|
-
import { kebabCase as st, appendClassNames as $, uuid as
|
|
6
|
-
import { jsx as i, jsxs as b, Fragment as
|
|
4
|
+
import { css as k, keyframes as Ne } from "@emotion/react";
|
|
5
|
+
import { kebabCase as st, appendClassNames as $, uuid as _, removeNullAndUndefinedValues as Re, Logger as ue } from "@telia-ace/widget-utilities";
|
|
6
|
+
import { jsx as i, jsxs as b, Fragment as U } from "react/jsx-runtime";
|
|
7
7
|
import C from "@emotion/styled";
|
|
8
|
-
import oe, { forwardRef as
|
|
9
|
-
import { CSSTransition as
|
|
8
|
+
import oe, { forwardRef as D, createContext as K, useContext as P, useState as w, useEffect as v, useRef as L, useCallback as S, useImperativeHandle as ge, createElement as at, useMemo as re, Component as ct, lazy as lt } from "react";
|
|
9
|
+
import { CSSTransition as Ve, Transition as ut } from "react-transition-group";
|
|
10
10
|
import { Container as dt, WidgetState as ht } from "@webprovisions/platform";
|
|
11
11
|
import { ComponentPlatform as ft, asDescriptor as mt, createEventSubscriber as gt, ComponentQuery as pt, WidgetRenderState as ne, extendComponent as Ct } from "@telia-ace/widget-core";
|
|
12
12
|
import { createPortal as yt } from "react-dom";
|
|
@@ -122,7 +122,7 @@ const De = () => {
|
|
|
122
122
|
return "edge-chromium";
|
|
123
123
|
if ((f || l) && a)
|
|
124
124
|
return "blink";
|
|
125
|
-
}, kt = ["string", "number"],
|
|
125
|
+
}, kt = ["string", "number"], T = (e) => Object.keys(e).reduce(
|
|
126
126
|
(t, n) => {
|
|
127
127
|
const o = typeof e[n] > "u" ? "" : e[n], r = typeof o;
|
|
128
128
|
if (kt.indexOf(r) > -1) {
|
|
@@ -133,7 +133,7 @@ const De = () => {
|
|
|
133
133
|
return t;
|
|
134
134
|
},
|
|
135
135
|
{}
|
|
136
|
-
),
|
|
136
|
+
), p1 = (e, t) => e.get("seoConfiguration") ? /* @__PURE__ */ i(nn, { ...t }) : null, $t = (e) => new RegExp("^#", "i").test(e), Lt = (e) => ({ children: t, ...n }) => {
|
|
137
137
|
const {
|
|
138
138
|
implementation: o,
|
|
139
139
|
name: r
|
|
@@ -146,7 +146,7 @@ const De = () => {
|
|
|
146
146
|
if (a && a.length >= 4) {
|
|
147
147
|
const l = a[4];
|
|
148
148
|
if (o.widgets.get(l) && !l.startsWith("blob?") && !l.startsWith(r))
|
|
149
|
-
return /* @__PURE__ */ i(
|
|
149
|
+
return /* @__PURE__ */ i(t1, { widgetName: l, children: t });
|
|
150
150
|
}
|
|
151
151
|
return /* @__PURE__ */ i("a", { ...n, children: t });
|
|
152
152
|
}, We = (e) => {
|
|
@@ -198,18 +198,18 @@ const De = () => {
|
|
|
198
198
|
function Et(e, t) {
|
|
199
199
|
return t ? He(e, t) : He(e);
|
|
200
200
|
}
|
|
201
|
-
const Rt = (e) => (t) => /* @__PURE__ */ i(
|
|
201
|
+
const Rt = (e) => (t) => /* @__PURE__ */ i(En, { attrs: t, htmlBody: e }), Ht = (e, t) => ({
|
|
202
202
|
transform: {
|
|
203
203
|
a: Lt(e),
|
|
204
204
|
img: Rt(t)
|
|
205
205
|
}
|
|
206
|
-
}), zt = (e) => St(e, "a"), se =
|
|
206
|
+
}), zt = (e) => St(e, "a"), se = D(
|
|
207
207
|
({ className: e, children: t, ...n }, o) => /* @__PURE__ */ i(
|
|
208
208
|
Dt,
|
|
209
209
|
{
|
|
210
210
|
type: "button",
|
|
211
211
|
className: $(e, "humany-button"),
|
|
212
|
-
...
|
|
212
|
+
...T(n),
|
|
213
213
|
ref: o,
|
|
214
214
|
children: t
|
|
215
215
|
}
|
|
@@ -227,7 +227,7 @@ const Rt = (e) => (t) => /* @__PURE__ */ i(Sn, { attrs: t, htmlBody: e }), Ht =
|
|
|
227
227
|
line-height: normal;
|
|
228
228
|
margin: 0;
|
|
229
229
|
padding: 0;
|
|
230
|
-
`,
|
|
230
|
+
`, C1 = ({
|
|
231
231
|
onChange: e = () => {
|
|
232
232
|
},
|
|
233
233
|
onEnter: t = () => {
|
|
@@ -244,17 +244,17 @@ const Rt = (e) => (t) => /* @__PURE__ */ i(Sn, { attrs: t, htmlBody: e }), Ht =
|
|
|
244
244
|
},
|
|
245
245
|
autoComplete: o,
|
|
246
246
|
onChange: (s) => e(s.target.value, s.currentTarget.checked),
|
|
247
|
-
...
|
|
247
|
+
...T(r)
|
|
248
248
|
}
|
|
249
249
|
), Bt = K(new dt()), Tt = K(1), Ze = K({
|
|
250
250
|
id: "",
|
|
251
251
|
type: "",
|
|
252
252
|
name: "",
|
|
253
253
|
branch: ""
|
|
254
|
-
}),
|
|
254
|
+
}), Nt = K(
|
|
255
255
|
{}
|
|
256
|
-
),
|
|
257
|
-
const n = pe().id, o =
|
|
256
|
+
), Vt = K(null), Wt = K(null), pe = () => P(Ze), N = () => P(Bt), y1 = (e, t) => {
|
|
257
|
+
const n = pe().id, o = N();
|
|
258
258
|
return (r, s) => {
|
|
259
259
|
(t || o).getAsync("actionResolver").then((c) => {
|
|
260
260
|
c.action(e || n, r, s);
|
|
@@ -268,13 +268,13 @@ const Rt = (e) => (t) => /* @__PURE__ */ i(Sn, { attrs: t, htmlBody: e }), Ht =
|
|
|
268
268
|
r(s);
|
|
269
269
|
}
|
|
270
270
|
}, [e, t.id, n]), o;
|
|
271
|
-
},
|
|
271
|
+
}, Z = () => {
|
|
272
272
|
const e = L(!1);
|
|
273
273
|
return v(() => (e.current = !0, () => {
|
|
274
274
|
e.current = !1;
|
|
275
275
|
}), []), e;
|
|
276
276
|
}, Y = (e) => {
|
|
277
|
-
const t =
|
|
277
|
+
const t = N(), [n, o] = w(null), r = Z();
|
|
278
278
|
return v(() => {
|
|
279
279
|
ft.getInstance(e || t).then(
|
|
280
280
|
(s) => {
|
|
@@ -282,8 +282,8 @@ const Rt = (e) => (t) => /* @__PURE__ */ i(Sn, { attrs: t, htmlBody: e }), Ht =
|
|
|
282
282
|
}
|
|
283
283
|
);
|
|
284
284
|
}, [r]), n;
|
|
285
|
-
},
|
|
286
|
-
const e = Ce(), t = Y(), [n, o] = w([]), r =
|
|
285
|
+
}, b1 = () => {
|
|
286
|
+
const e = Ce(), t = Y(), [n, o] = w([]), r = Z(), s = S(
|
|
287
287
|
(c) => {
|
|
288
288
|
if (t && r.current && c) {
|
|
289
289
|
const d = t.getBranch(c), a = c.getChildren(d).map((l) => mt(l));
|
|
@@ -308,8 +308,8 @@ const Rt = (e) => (t) => /* @__PURE__ */ i(Sn, { attrs: t, htmlBody: e }), Ht =
|
|
|
308
308
|
};
|
|
309
309
|
}
|
|
310
310
|
}, [e, t, s]), n;
|
|
311
|
-
},
|
|
312
|
-
const n = pe(), o =
|
|
311
|
+
}, v1 = () => P(Tt), x1 = (e, t) => {
|
|
312
|
+
const n = pe(), o = N(), [r, s] = w(void 0), c = Z(), d = e || n.type || "";
|
|
313
313
|
return v(() => {
|
|
314
314
|
if (d) {
|
|
315
315
|
let a;
|
|
@@ -327,7 +327,7 @@ const Rt = (e) => (t) => /* @__PURE__ */ i(Sn, { attrs: t, htmlBody: e }), Ht =
|
|
|
327
327
|
}
|
|
328
328
|
}, [c, d, t, o]), r;
|
|
329
329
|
}, Zt = (e) => {
|
|
330
|
-
const t = Ce(e), n = Y(), [o, r] = w({}), s =
|
|
330
|
+
const t = Ce(e), n = Y(), [o, r] = w({}), s = Z();
|
|
331
331
|
return v(() => {
|
|
332
332
|
t && s.current && r(t.attributes.context);
|
|
333
333
|
}, [s, t]), v(() => {
|
|
@@ -343,11 +343,11 @@ const Rt = (e) => (t) => /* @__PURE__ */ i(Sn, { attrs: t, htmlBody: e }), Ht =
|
|
|
343
343
|
};
|
|
344
344
|
}
|
|
345
345
|
}, [s, n, t]), o;
|
|
346
|
-
},
|
|
346
|
+
}, w1 = () => P(Wt), k1 = () => {
|
|
347
347
|
const e = Y(), t = pe(), [n, o] = w([]), [r, s] = w();
|
|
348
348
|
return v(() => {
|
|
349
349
|
if (e && t) {
|
|
350
|
-
const c = new pt(e).withId(t.id), d = e.actions(c, t.type ||
|
|
350
|
+
const c = new pt(e).withId(t.id), d = e.actions(c, t.type || _());
|
|
351
351
|
s(d), n !== null && (n.forEach((a) => {
|
|
352
352
|
d.dispatch(a.key, a.data).then((l) => a.resolve(l)).catch((l) => a.reject(l));
|
|
353
353
|
}), o(null));
|
|
@@ -360,7 +360,7 @@ const Rt = (e) => (t) => /* @__PURE__ */ i(Sn, { attrs: t, htmlBody: e }), Ht =
|
|
|
360
360
|
reject: l
|
|
361
361
|
});
|
|
362
362
|
}) : r.dispatch(c, d);
|
|
363
|
-
},
|
|
363
|
+
}, W = (e, t, n = window, o = () => !0) => {
|
|
364
364
|
const r = L(() => {
|
|
365
365
|
});
|
|
366
366
|
v(() => {
|
|
@@ -374,9 +374,9 @@ const Rt = (e) => (t) => /* @__PURE__ */ i(Sn, { attrs: t, htmlBody: e }), Ht =
|
|
|
374
374
|
};
|
|
375
375
|
}, [e, n]);
|
|
376
376
|
}, It = (e) => {
|
|
377
|
-
const t =
|
|
377
|
+
const t = N(), { events: n } = (e || t).get("$widget");
|
|
378
378
|
return n;
|
|
379
|
-
},
|
|
379
|
+
}, $1 = () => {
|
|
380
380
|
const [e, t] = w(!1);
|
|
381
381
|
return v(() => {
|
|
382
382
|
const n = () => {
|
|
@@ -389,21 +389,21 @@ const Rt = (e) => (t) => /* @__PURE__ */ i(Sn, { attrs: t, htmlBody: e }), Ht =
|
|
|
389
389
|
};
|
|
390
390
|
}, []), e;
|
|
391
391
|
}, j = (e, t) => {
|
|
392
|
-
const [n, o] = w(!1), r =
|
|
392
|
+
const [n, o] = w(!1), r = S(
|
|
393
393
|
(c) => {
|
|
394
394
|
const { key: d } = c;
|
|
395
395
|
d === e && (o(!0), t && t(c));
|
|
396
396
|
},
|
|
397
397
|
[o, t]
|
|
398
|
-
), s =
|
|
398
|
+
), s = S(
|
|
399
399
|
({ key: c }) => {
|
|
400
400
|
c === e && o(!1);
|
|
401
401
|
},
|
|
402
402
|
[o]
|
|
403
403
|
);
|
|
404
|
-
return
|
|
405
|
-
},
|
|
406
|
-
const t = Ce(e), n = Y(), [o, r] = w({}), s =
|
|
404
|
+
return W("keydown", r, window), W("keyup", s, window), n;
|
|
405
|
+
}, L1 = (e) => {
|
|
406
|
+
const t = Ce(e), n = Y(), [o, r] = w({}), s = Z();
|
|
407
407
|
return v(() => {
|
|
408
408
|
t && s.current && r(t.attributes.layout);
|
|
409
409
|
}, [t, s]), v(() => {
|
|
@@ -424,8 +424,8 @@ const Rt = (e) => (t) => /* @__PURE__ */ i(Sn, { attrs: t, htmlBody: e }), Ht =
|
|
|
424
424
|
return v(() => {
|
|
425
425
|
t.current = e;
|
|
426
426
|
}), t.current;
|
|
427
|
-
},
|
|
428
|
-
const [t, n] = w(), o =
|
|
427
|
+
}, M1 = () => P(Nt), S1 = (e) => {
|
|
428
|
+
const [t, n] = w(), o = N(), r = Z();
|
|
429
429
|
return v(() => {
|
|
430
430
|
let s;
|
|
431
431
|
const c = (e || o).get("$widget");
|
|
@@ -451,11 +451,11 @@ const Rt = (e) => (t) => /* @__PURE__ */ i(Sn, { attrs: t, htmlBody: e }), Ht =
|
|
|
451
451
|
s && s();
|
|
452
452
|
};
|
|
453
453
|
}, [r]), t;
|
|
454
|
-
}, Oe = () => P(
|
|
455
|
-
const t =
|
|
454
|
+
}, Oe = () => P(Vt), E1 = (e) => {
|
|
455
|
+
const t = N(), n = Oe(), [o, r] = w({
|
|
456
456
|
name: "",
|
|
457
457
|
params: {}
|
|
458
|
-
}), s =
|
|
458
|
+
}), s = Z();
|
|
459
459
|
return v(() => {
|
|
460
460
|
const c = (e || t).get("$widget");
|
|
461
461
|
if (!c)
|
|
@@ -479,40 +479,40 @@ const Rt = (e) => (t) => /* @__PURE__ */ i(Sn, { attrs: t, htmlBody: e }), Ht =
|
|
|
479
479
|
}, Ae = (e) => {
|
|
480
480
|
const t = L(), n = L(0);
|
|
481
481
|
let o;
|
|
482
|
-
const r =
|
|
482
|
+
const r = S(() => {
|
|
483
483
|
var l;
|
|
484
484
|
(l = t.current) == null || l.classList.add("humany-scrolling"), clearTimeout(o), o = setTimeout(() => {
|
|
485
485
|
var u;
|
|
486
486
|
(u = t.current) == null || u.classList.remove("humany-scrolling");
|
|
487
487
|
}, 500);
|
|
488
|
-
}, [t]), s =
|
|
488
|
+
}, [t]), s = S(
|
|
489
489
|
(l) => {
|
|
490
490
|
n.current = l.touches[0].clientY;
|
|
491
491
|
},
|
|
492
492
|
[t]
|
|
493
|
-
), c = (l) => d(l) ? l === t.current ? l : null : l.parentElement ? c(l.parentElement) : null, d = (l) => l.scrollWidth > l.clientWidth || l.scrollHeight > l.clientHeight, a =
|
|
493
|
+
), c = (l) => d(l) ? l === t.current ? l : null : l.parentElement ? c(l.parentElement) : null, d = (l) => l.scrollWidth > l.clientWidth || l.scrollHeight > l.clientHeight, a = S(
|
|
494
494
|
(l) => {
|
|
495
495
|
if (!l.cancelable)
|
|
496
496
|
return;
|
|
497
497
|
const u = l.touches[0].clientY, h = c(l.target);
|
|
498
498
|
if (!h)
|
|
499
499
|
return;
|
|
500
|
-
const f = h.scrollTop, m = n.current - u < 0 ? "up" : "down",
|
|
501
|
-
(
|
|
500
|
+
const f = h.scrollTop, m = n.current - u < 0 ? "up" : "down", g = f <= 0 && m === "up", p = f >= h.scrollHeight - h.offsetHeight && m === "down";
|
|
501
|
+
(g || p) && l.preventDefault(), n.current = u;
|
|
502
502
|
},
|
|
503
503
|
[t, n]
|
|
504
504
|
);
|
|
505
|
-
return
|
|
505
|
+
return W(
|
|
506
506
|
"scroll",
|
|
507
507
|
r,
|
|
508
508
|
t.current,
|
|
509
509
|
() => t.current && e
|
|
510
|
-
),
|
|
510
|
+
), W(
|
|
511
511
|
"touchstart",
|
|
512
512
|
s,
|
|
513
513
|
t.current,
|
|
514
514
|
() => t.current && e
|
|
515
|
-
),
|
|
515
|
+
), W(
|
|
516
516
|
"touchmove",
|
|
517
517
|
a,
|
|
518
518
|
t.current,
|
|
@@ -546,44 +546,44 @@ const Rt = (e) => (t) => /* @__PURE__ */ i(Sn, { attrs: t, htmlBody: e }), Ht =
|
|
|
546
546
|
background-color: #7F7F7F;
|
|
547
547
|
}
|
|
548
548
|
}
|
|
549
|
-
`,
|
|
550
|
-
const [e, t] = w(null), n =
|
|
549
|
+
`, R1 = () => {
|
|
550
|
+
const [e, t] = w(null), n = N(), o = Z();
|
|
551
551
|
return v(() => {
|
|
552
552
|
n.get("settings").then((r) => {
|
|
553
553
|
o.current && t(r);
|
|
554
554
|
});
|
|
555
555
|
}, [o]), e;
|
|
556
556
|
}, Fe = (e = !1) => {
|
|
557
|
-
const [t, n] = w(e), o =
|
|
557
|
+
const [t, n] = w(e), o = S((r) => {
|
|
558
558
|
n(typeof r == "boolean" ? r : (s) => !s);
|
|
559
559
|
}, []);
|
|
560
560
|
return [t, o];
|
|
561
|
-
},
|
|
562
|
-
const t =
|
|
561
|
+
}, H1 = (e) => {
|
|
562
|
+
const t = N(), n = Y(), o = t.get("widgetDOMElement"), [r, s] = w(null), [c, d] = w(null), a = Z();
|
|
563
563
|
v(() => {
|
|
564
564
|
if (n && a.current) {
|
|
565
565
|
const u = n.nodes.all.find((f) => f.name === "root-area"), h = n.nodes.all.find((f) => f.type === "view");
|
|
566
566
|
if (!(h != null && h.attributes.properties.animation) && !(u != null && u.attributes.properties.animation))
|
|
567
567
|
e();
|
|
568
568
|
else {
|
|
569
|
-
const f = (
|
|
569
|
+
const f = (p = "") => o == null ? void 0 : o.querySelector(`[data-node-id="${p}"]`), m = f(h == null ? void 0 : h.id);
|
|
570
570
|
m && s(m);
|
|
571
|
-
const
|
|
572
|
-
|
|
571
|
+
const g = f(u == null ? void 0 : u.id);
|
|
572
|
+
g && d(g);
|
|
573
573
|
}
|
|
574
574
|
}
|
|
575
575
|
}, [n, t, a]);
|
|
576
|
-
const l =
|
|
576
|
+
const l = S(
|
|
577
577
|
(u) => {
|
|
578
578
|
a.current && (u.target === r || u.target === c) && e();
|
|
579
579
|
},
|
|
580
580
|
[e, a, r, c]
|
|
581
581
|
);
|
|
582
|
-
|
|
582
|
+
W(
|
|
583
583
|
"transitionend",
|
|
584
584
|
l,
|
|
585
585
|
r
|
|
586
|
-
),
|
|
586
|
+
), W(
|
|
587
587
|
"transitionend",
|
|
588
588
|
l,
|
|
589
589
|
c
|
|
@@ -603,13 +603,13 @@ const Rt = (e) => (t) => /* @__PURE__ */ i(Sn, { attrs: t, htmlBody: e }), Ht =
|
|
|
603
603
|
r !== e && t();
|
|
604
604
|
});
|
|
605
605
|
return () => n(e);
|
|
606
|
-
}, be =
|
|
606
|
+
}, be = D(
|
|
607
607
|
({ className: e, children: t, ...n }, o) => /* @__PURE__ */ i(
|
|
608
608
|
"span",
|
|
609
609
|
{
|
|
610
610
|
ref: o,
|
|
611
611
|
className: $(e, "humany-text"),
|
|
612
|
-
...
|
|
612
|
+
...T(n),
|
|
613
613
|
children: t
|
|
614
614
|
}
|
|
615
615
|
)
|
|
@@ -634,7 +634,7 @@ const Rt = (e) => (t) => /* @__PURE__ */ i(Sn, { attrs: t, htmlBody: e }), Ht =
|
|
|
634
634
|
font-family: ${(n = e.theme.fonts) == null ? void 0 : n.type};
|
|
635
635
|
font-size: ${(o = e.theme.fonts) == null ? void 0 : o.normal};
|
|
636
636
|
`;
|
|
637
|
-
},
|
|
637
|
+
}, z1 = (e) => {
|
|
638
638
|
var c;
|
|
639
639
|
const { primaryColor: t, secondaryColor: n, active: o, theme: r, disabled: s } = e;
|
|
640
640
|
return k`
|
|
@@ -682,7 +682,7 @@ const Rt = (e) => (t) => /* @__PURE__ */ i(Sn, { attrs: t, htmlBody: e }), Ht =
|
|
|
682
682
|
}, Ft = (e) => k`
|
|
683
683
|
${O(e)}
|
|
684
684
|
text-decoration: underline;
|
|
685
|
-
`,
|
|
685
|
+
`, D1 = (e) => {
|
|
686
686
|
var t;
|
|
687
687
|
return k`
|
|
688
688
|
${O(e)}
|
|
@@ -749,7 +749,7 @@ const Rt = (e) => (t) => /* @__PURE__ */ i(Sn, { attrs: t, htmlBody: e }), Ht =
|
|
|
749
749
|
margin: 0;
|
|
750
750
|
}
|
|
751
751
|
`;
|
|
752
|
-
},
|
|
752
|
+
}, B1 = (e) => {
|
|
753
753
|
var t, n, o, r;
|
|
754
754
|
return k`
|
|
755
755
|
> div {
|
|
@@ -785,7 +785,7 @@ const Rt = (e) => (t) => /* @__PURE__ */ i(Sn, { attrs: t, htmlBody: e }), Ht =
|
|
|
785
785
|
`
|
|
786
786
|
)}
|
|
787
787
|
`;
|
|
788
|
-
},
|
|
788
|
+
}, T1 = (e) => {
|
|
789
789
|
var t, n, o, r, s, c;
|
|
790
790
|
return k`
|
|
791
791
|
font-size: ${(t = e.theme.fonts) == null ? void 0 : t.normal};
|
|
@@ -1482,7 +1482,7 @@ const Rt = (e) => (t) => /* @__PURE__ */ i(Sn, { attrs: t, htmlBody: e }), Ht =
|
|
|
1482
1482
|
return /* @__PURE__ */ i(Yt, { className: n, as: c, children: o });
|
|
1483
1483
|
}, Yt = C.span``;
|
|
1484
1484
|
var Xt = /* @__PURE__ */ ((e) => (e.SlideInLeft = "slide-in-left", e.SlideInRight = "slide-in-right", e.SlideInBottom = "slide-in-bottom", e.SlideInTop = "slide-in-top", e))(Xt || {});
|
|
1485
|
-
const
|
|
1485
|
+
const _t = 300, N1 = ({
|
|
1486
1486
|
className: e,
|
|
1487
1487
|
children: t,
|
|
1488
1488
|
header: n,
|
|
@@ -1495,33 +1495,33 @@ const Ut = 300, T1 = ({
|
|
|
1495
1495
|
/* SlideInBottom */
|
|
1496
1496
|
}
|
|
1497
1497
|
}) => {
|
|
1498
|
-
const { duration: a =
|
|
1498
|
+
const { duration: a = _t } = d, l = L(), u = L(), [h, f] = Ae(!0), [m, g] = Fe(), p = Ie(m), y = L(_());
|
|
1499
1499
|
v(() => {
|
|
1500
1500
|
o && o(m);
|
|
1501
1501
|
}, [m]);
|
|
1502
|
-
const
|
|
1502
|
+
const M = j("Escape");
|
|
1503
1503
|
v(() => {
|
|
1504
|
-
|
|
1505
|
-
}, [
|
|
1504
|
+
M && g(!1);
|
|
1505
|
+
}, [M]), W(
|
|
1506
1506
|
"click",
|
|
1507
|
-
(
|
|
1508
|
-
const { target:
|
|
1509
|
-
!u.current || !f.current || !
|
|
1507
|
+
(H) => {
|
|
1508
|
+
const { target: z } = H;
|
|
1509
|
+
!u.current || !f.current || !z || u.current !== z && f.current !== z && !f.current.contains(z) && !u.current.contains(z) && g(!1);
|
|
1510
1510
|
},
|
|
1511
1511
|
window
|
|
1512
1512
|
);
|
|
1513
1513
|
const R = ye(y.current, () => {
|
|
1514
|
-
|
|
1514
|
+
g(!1);
|
|
1515
1515
|
});
|
|
1516
1516
|
ae("router:changed", () => {
|
|
1517
|
-
|
|
1517
|
+
g(!1);
|
|
1518
1518
|
}), v(() => {
|
|
1519
|
-
m && l.current ? l.current.focus() : !m && u.current &&
|
|
1519
|
+
m && l.current ? l.current.focus() : !m && u.current && p && u.current.focus();
|
|
1520
1520
|
}, [m, l.current, u.current]);
|
|
1521
|
-
const
|
|
1522
|
-
return /* @__PURE__ */ b(
|
|
1521
|
+
const B = en[d.type];
|
|
1522
|
+
return /* @__PURE__ */ b(U, { children: [
|
|
1523
1523
|
/* @__PURE__ */ i(
|
|
1524
|
-
|
|
1524
|
+
Ve,
|
|
1525
1525
|
{
|
|
1526
1526
|
in: m,
|
|
1527
1527
|
className: "humany-drawer-transition",
|
|
@@ -1529,7 +1529,7 @@ const Ut = 300, T1 = ({
|
|
|
1529
1529
|
unmountOnExit: !0,
|
|
1530
1530
|
timeout: a,
|
|
1531
1531
|
children: /* @__PURE__ */ i(q, { children: /* @__PURE__ */ b(
|
|
1532
|
-
|
|
1532
|
+
B,
|
|
1533
1533
|
{
|
|
1534
1534
|
duration: a,
|
|
1535
1535
|
fullScreen: s,
|
|
@@ -1545,14 +1545,14 @@ const Ut = 300, T1 = ({
|
|
|
1545
1545
|
/* @__PURE__ */ i(
|
|
1546
1546
|
ve,
|
|
1547
1547
|
{
|
|
1548
|
-
onClick: () =>
|
|
1548
|
+
onClick: () => g(!1),
|
|
1549
1549
|
tabIndex: 0,
|
|
1550
1550
|
ref: l,
|
|
1551
1551
|
"aria-label": c,
|
|
1552
1552
|
children: /* @__PURE__ */ i(Q, { symbol: { type: "Svg", content: "close" } })
|
|
1553
1553
|
}
|
|
1554
1554
|
),
|
|
1555
|
-
!!n && /* @__PURE__ */ i(
|
|
1555
|
+
!!n && /* @__PURE__ */ i(Ut, { variant: "h1", className: "humany-drawer-header", children: n }),
|
|
1556
1556
|
t
|
|
1557
1557
|
]
|
|
1558
1558
|
}
|
|
@@ -1560,8 +1560,8 @@ const Ut = 300, T1 = ({
|
|
|
1560
1560
|
}
|
|
1561
1561
|
),
|
|
1562
1562
|
oe.cloneElement(r, {
|
|
1563
|
-
onClick: (
|
|
1564
|
-
|
|
1563
|
+
onClick: (H) => {
|
|
1564
|
+
g(), R();
|
|
1565
1565
|
},
|
|
1566
1566
|
ref: u,
|
|
1567
1567
|
"aria-label": r.props.title,
|
|
@@ -1585,7 +1585,7 @@ const Ut = 300, T1 = ({
|
|
|
1585
1585
|
box-shadow: ${(e) => e.theme.boxShadow};
|
|
1586
1586
|
background: #ffffff;
|
|
1587
1587
|
${(e) => e.css && e.css}
|
|
1588
|
-
`,
|
|
1588
|
+
`, Ut = C(X)`
|
|
1589
1589
|
padding: ${(e) => {
|
|
1590
1590
|
var t;
|
|
1591
1591
|
return (t = e.theme.sizes) == null ? void 0 : t.normal;
|
|
@@ -1700,7 +1700,7 @@ const Ut = 300, T1 = ({
|
|
|
1700
1700
|
/* SlideInTop */
|
|
1701
1701
|
]: Jt
|
|
1702
1702
|
}, je = (e, t, n) => {
|
|
1703
|
-
const [o, r] = w(0), [s, c] = w(0), d =
|
|
1703
|
+
const [o, r] = w(0), [s, c] = w(0), d = S(
|
|
1704
1704
|
(a, l) => {
|
|
1705
1705
|
if (a.preventDefault(), l) {
|
|
1706
1706
|
const u = l.getBoundingClientRect();
|
|
@@ -1728,30 +1728,30 @@ const Ut = 300, T1 = ({
|
|
|
1728
1728
|
}, s) => {
|
|
1729
1729
|
const c = L(), d = L(), a = L();
|
|
1730
1730
|
ge(s, () => a.current, [a.current]);
|
|
1731
|
-
const l = L(
|
|
1731
|
+
const l = L(_()), [u, h] = w(!1), f = Ie(u), [{ x: m, y: g }, p] = je(u, l.current, a.current), y = j("Escape");
|
|
1732
1732
|
v(() => {
|
|
1733
1733
|
y && h(!1);
|
|
1734
1734
|
}, [y]), v(() => {
|
|
1735
1735
|
u && c.current ? c.current.focus() : !u && d.current && f && d.current.focus();
|
|
1736
|
-
}, [u, c.current, d.current]),
|
|
1736
|
+
}, [u, c.current, d.current]), W(
|
|
1737
1737
|
"click",
|
|
1738
|
-
(
|
|
1739
|
-
const { target:
|
|
1740
|
-
!a.current || !
|
|
1738
|
+
(B) => {
|
|
1739
|
+
const { target: H } = B;
|
|
1740
|
+
!a.current || !H || a.current !== H && !a.current.contains(H) && h(!1);
|
|
1741
1741
|
},
|
|
1742
1742
|
window
|
|
1743
1743
|
), ae("router:changed", () => {
|
|
1744
1744
|
h(!1);
|
|
1745
1745
|
});
|
|
1746
|
-
const
|
|
1746
|
+
const M = ye(l.current, () => {
|
|
1747
1747
|
h(!1);
|
|
1748
|
-
}), R =
|
|
1749
|
-
(
|
|
1750
|
-
|
|
1748
|
+
}), R = S(
|
|
1749
|
+
(B) => {
|
|
1750
|
+
B.stopPropagation(), p(B, d.current), h(!u), M();
|
|
1751
1751
|
},
|
|
1752
|
-
[
|
|
1752
|
+
[M, p, h]
|
|
1753
1753
|
);
|
|
1754
|
-
return /* @__PURE__ */ b(
|
|
1754
|
+
return /* @__PURE__ */ b(U, { children: [
|
|
1755
1755
|
u && /* @__PURE__ */ i(q, { children: /* @__PURE__ */ b(
|
|
1756
1756
|
tn,
|
|
1757
1757
|
{
|
|
@@ -1762,7 +1762,7 @@ const Ut = 300, T1 = ({
|
|
|
1762
1762
|
),
|
|
1763
1763
|
...r,
|
|
1764
1764
|
x: m,
|
|
1765
|
-
y:
|
|
1765
|
+
y: g,
|
|
1766
1766
|
ref: a,
|
|
1767
1767
|
children: [
|
|
1768
1768
|
/* @__PURE__ */ i(
|
|
@@ -1804,7 +1804,7 @@ const Ut = 300, T1 = ({
|
|
|
1804
1804
|
}};
|
|
1805
1805
|
`, nn = ({ ...e }) => /* @__PURE__ */ i(on, { ...e }), on = C.div`
|
|
1806
1806
|
display: none;
|
|
1807
|
-
`,
|
|
1807
|
+
`, W1 = D(
|
|
1808
1808
|
({ children: e, columns: t, gap: n, className: o, ...r }, s) => /* @__PURE__ */ i(
|
|
1809
1809
|
rn,
|
|
1810
1810
|
{
|
|
@@ -1812,7 +1812,7 @@ const Ut = 300, T1 = ({
|
|
|
1812
1812
|
"data-columns": t,
|
|
1813
1813
|
"data-gap": n,
|
|
1814
1814
|
...We(r),
|
|
1815
|
-
...
|
|
1815
|
+
...T(r),
|
|
1816
1816
|
ref: s,
|
|
1817
1817
|
children: e
|
|
1818
1818
|
}
|
|
@@ -1824,9 +1824,9 @@ const Ut = 300, T1 = ({
|
|
|
1824
1824
|
justify-content: center;
|
|
1825
1825
|
grid-auto-rows: max-content;
|
|
1826
1826
|
${Mt}
|
|
1827
|
-
`, Ke =
|
|
1827
|
+
`, Ke = D(
|
|
1828
1828
|
({ htmlParseInstruction: e = null, className: t, html: n, ...o }, r) => {
|
|
1829
|
-
const s =
|
|
1829
|
+
const s = N(), [c, d] = w();
|
|
1830
1830
|
return v(() => {
|
|
1831
1831
|
const a = Ht(s, n), l = {
|
|
1832
1832
|
...a,
|
|
@@ -1841,7 +1841,7 @@ const Ut = 300, T1 = ({
|
|
|
1841
1841
|
"div",
|
|
1842
1842
|
{
|
|
1843
1843
|
className: $(t, "humany-html"),
|
|
1844
|
-
...
|
|
1844
|
+
...T(o),
|
|
1845
1845
|
ref: r,
|
|
1846
1846
|
children: c
|
|
1847
1847
|
}
|
|
@@ -1859,9 +1859,9 @@ const Ut = 300, T1 = ({
|
|
|
1859
1859
|
className: $(n, `fa fa-${e}`),
|
|
1860
1860
|
title: t,
|
|
1861
1861
|
role: o,
|
|
1862
|
-
...
|
|
1862
|
+
...T(r)
|
|
1863
1863
|
}
|
|
1864
|
-
),
|
|
1864
|
+
), Z1 = D(
|
|
1865
1865
|
({
|
|
1866
1866
|
className: e = "",
|
|
1867
1867
|
autoFocus: t = !1,
|
|
@@ -1883,18 +1883,18 @@ const Ut = 300, T1 = ({
|
|
|
1883
1883
|
var y;
|
|
1884
1884
|
t && ((y = m == null ? void 0 : m.current) == null || y.focus());
|
|
1885
1885
|
}, [t, u, m]);
|
|
1886
|
-
const
|
|
1887
|
-
f(y), n && n(y), s && y &&
|
|
1888
|
-
},
|
|
1889
|
-
...
|
|
1886
|
+
const g = (y, M) => {
|
|
1887
|
+
f(y), n && n(y), s && y && M.target.select();
|
|
1888
|
+
}, p = {
|
|
1889
|
+
...T(l),
|
|
1890
1890
|
disabled: d,
|
|
1891
1891
|
autoFocus: t,
|
|
1892
1892
|
type: a,
|
|
1893
1893
|
onKeyDown: (y) => {
|
|
1894
1894
|
y.key === "Enter" && h && o(y), y.key === "Escape" && h && r(y);
|
|
1895
1895
|
},
|
|
1896
|
-
onFocus: (y) =>
|
|
1897
|
-
onBlur: (y) =>
|
|
1896
|
+
onFocus: (y) => g(!0, y),
|
|
1897
|
+
onBlur: (y) => g(!1, y),
|
|
1898
1898
|
onChange: (y) => c(y.target.value || ""),
|
|
1899
1899
|
className: $(e, "humany-input"),
|
|
1900
1900
|
"data-type": a
|
|
@@ -1902,18 +1902,18 @@ const Ut = 300, T1 = ({
|
|
|
1902
1902
|
return a !== "textarea" ? /* @__PURE__ */ i(
|
|
1903
1903
|
"input",
|
|
1904
1904
|
{
|
|
1905
|
-
...
|
|
1905
|
+
...p,
|
|
1906
1906
|
ref: m
|
|
1907
1907
|
}
|
|
1908
1908
|
) : /* @__PURE__ */ i(
|
|
1909
1909
|
"textarea",
|
|
1910
1910
|
{
|
|
1911
|
-
...
|
|
1911
|
+
...p,
|
|
1912
1912
|
ref: m
|
|
1913
1913
|
}
|
|
1914
1914
|
);
|
|
1915
1915
|
}
|
|
1916
|
-
), an =
|
|
1916
|
+
), an = D(
|
|
1917
1917
|
({ className: e, items: t, renderItem: n, renderLi: o = !1, ...r }, s) => {
|
|
1918
1918
|
const c = t.length === 1 && t[0].expanded;
|
|
1919
1919
|
return /* @__PURE__ */ i(
|
|
@@ -1922,7 +1922,7 @@ const Ut = 300, T1 = ({
|
|
|
1922
1922
|
role: c ? "none" : void 0,
|
|
1923
1923
|
className: $(e, "humany-list"),
|
|
1924
1924
|
"data-item-count": t.length,
|
|
1925
|
-
...
|
|
1925
|
+
...T(r),
|
|
1926
1926
|
ref: s,
|
|
1927
1927
|
children: t.map(
|
|
1928
1928
|
(d, a, l) => o ? /* @__PURE__ */ i("li", { className: "humany-list-item", children: n(d, a, l) }, d.id || a) : n(d, a, l)
|
|
@@ -1930,7 +1930,7 @@ const Ut = 300, T1 = ({
|
|
|
1930
1930
|
}
|
|
1931
1931
|
);
|
|
1932
1932
|
}
|
|
1933
|
-
), cn =
|
|
1933
|
+
), cn = D(
|
|
1934
1934
|
({ text: e, html: t, header: n, className: o, htmlParseInstruction: r, symbol: s, ...c }, d) => {
|
|
1935
1935
|
var l;
|
|
1936
1936
|
const a = (l = window.humany) == null ? void 0 : l.deflectionHeaderTag;
|
|
@@ -1938,7 +1938,7 @@ const Ut = 300, T1 = ({
|
|
|
1938
1938
|
"div",
|
|
1939
1939
|
{
|
|
1940
1940
|
className: $(o, "humany-paragraph"),
|
|
1941
|
-
...
|
|
1941
|
+
...T(c),
|
|
1942
1942
|
ref: d,
|
|
1943
1943
|
children: [
|
|
1944
1944
|
n ? /* @__PURE__ */ b(
|
|
@@ -1957,7 +1957,7 @@ const Ut = 300, T1 = ({
|
|
|
1957
1957
|
}
|
|
1958
1958
|
);
|
|
1959
1959
|
}
|
|
1960
|
-
), ln =
|
|
1960
|
+
), ln = D(
|
|
1961
1961
|
({
|
|
1962
1962
|
header: e,
|
|
1963
1963
|
customHeader: t,
|
|
@@ -1976,7 +1976,7 @@ const Ut = 300, T1 = ({
|
|
|
1976
1976
|
{
|
|
1977
1977
|
className: $(r, "humany-item-list"),
|
|
1978
1978
|
"data-item-count": d.length,
|
|
1979
|
-
...
|
|
1979
|
+
...T(h),
|
|
1980
1980
|
ref: f,
|
|
1981
1981
|
children: [
|
|
1982
1982
|
t || (e || n || o ? /* @__PURE__ */ i(cn, { symbol: c, header: e, text: n, html: o }) : null),
|
|
@@ -1993,7 +1993,7 @@ const Ut = 300, T1 = ({
|
|
|
1993
1993
|
]
|
|
1994
1994
|
}
|
|
1995
1995
|
)
|
|
1996
|
-
),
|
|
1996
|
+
), I1 = ({
|
|
1997
1997
|
className: e = "",
|
|
1998
1998
|
tree: t,
|
|
1999
1999
|
renderItem: n,
|
|
@@ -2010,12 +2010,12 @@ const Ut = 300, T1 = ({
|
|
|
2010
2010
|
items: h,
|
|
2011
2011
|
ulProps: c,
|
|
2012
2012
|
renderItem: (m) => {
|
|
2013
|
-
const { id:
|
|
2014
|
-
return !s && !
|
|
2013
|
+
const { id: g, selected: p, items: y, matches: M } = m, R = p && l(y);
|
|
2014
|
+
return !s && !M ? null : /* @__PURE__ */ at(
|
|
2015
2015
|
"li",
|
|
2016
2016
|
{
|
|
2017
|
-
...
|
|
2018
|
-
key:
|
|
2017
|
+
...T(d),
|
|
2018
|
+
key: g,
|
|
2019
2019
|
className: "humany-item-tree-item"
|
|
2020
2020
|
},
|
|
2021
2021
|
n && n(m, f, R),
|
|
@@ -2028,7 +2028,7 @@ const Ut = 300, T1 = ({
|
|
|
2028
2028
|
o && o(!a(t || [])),
|
|
2029
2029
|
t && u(t, 1)
|
|
2030
2030
|
] });
|
|
2031
|
-
}, un =
|
|
2031
|
+
}, un = D(
|
|
2032
2032
|
({
|
|
2033
2033
|
className: e,
|
|
2034
2034
|
onClick: t = () => {
|
|
@@ -2039,7 +2039,7 @@ const Ut = 300, T1 = ({
|
|
|
2039
2039
|
children: s,
|
|
2040
2040
|
...c
|
|
2041
2041
|
}, d) => {
|
|
2042
|
-
const a = Oe(), l =
|
|
2042
|
+
const a = Oe(), l = N();
|
|
2043
2043
|
if (!a)
|
|
2044
2044
|
return null;
|
|
2045
2045
|
let u = "";
|
|
@@ -2052,36 +2052,36 @@ const Ut = 300, T1 = ({
|
|
|
2052
2052
|
ref: null
|
|
2053
2053
|
};
|
|
2054
2054
|
if (n) {
|
|
2055
|
-
if (!(a.routes || []).find((
|
|
2055
|
+
if (!(a.routes || []).find((p) => p.name === n))
|
|
2056
2056
|
return process.env.NODE_ENV !== "production" && ue.warn(
|
|
2057
2057
|
`Unable to create route. No route named "${n}" exist.`
|
|
2058
2058
|
), /* @__PURE__ */ i(
|
|
2059
2059
|
de,
|
|
2060
2060
|
{
|
|
2061
2061
|
...h,
|
|
2062
|
-
onClick: (
|
|
2063
|
-
t(
|
|
2062
|
+
onClick: (p) => {
|
|
2063
|
+
t(p), p.preventDefault(), process.env.NODE_ENV !== "production" && ue.warn(
|
|
2064
2064
|
`Unable to navigate. No route named "${n}" exist.`
|
|
2065
2065
|
);
|
|
2066
2066
|
},
|
|
2067
2067
|
children: s
|
|
2068
2068
|
}
|
|
2069
2069
|
);
|
|
2070
|
-
const
|
|
2071
|
-
(
|
|
2072
|
-
const
|
|
2073
|
-
if (Array.isArray(
|
|
2074
|
-
if (
|
|
2075
|
-
return
|
|
2076
|
-
|
|
2070
|
+
const g = Object.keys(r).reduce(
|
|
2071
|
+
(p, y) => {
|
|
2072
|
+
const M = r[y];
|
|
2073
|
+
if (Array.isArray(M)) {
|
|
2074
|
+
if (M.length === 0)
|
|
2075
|
+
return p;
|
|
2076
|
+
p[y] = M.map((R) => typeof R == "string" ? encodeURIComponent(R) : R).join(",");
|
|
2077
2077
|
} else
|
|
2078
|
-
|
|
2079
|
-
return
|
|
2078
|
+
p[y] = typeof M == "string" ? encodeURIComponent(M) : M;
|
|
2079
|
+
return p;
|
|
2080
2080
|
},
|
|
2081
2081
|
{}
|
|
2082
2082
|
);
|
|
2083
2083
|
try {
|
|
2084
|
-
u = a.generate(n,
|
|
2084
|
+
u = a.generate(n, g || {});
|
|
2085
2085
|
} catch {
|
|
2086
2086
|
return /* @__PURE__ */ i(de, { ...h, ref: h.innerRef, children: s });
|
|
2087
2087
|
}
|
|
@@ -2103,7 +2103,7 @@ const Ut = 300, T1 = ({
|
|
|
2103
2103
|
}
|
|
2104
2104
|
return h.as ? /* @__PURE__ */ i(dn, { ...h, as: h.as, children: s }) : /* @__PURE__ */ i(de, { ...h, to: u, children: s });
|
|
2105
2105
|
}
|
|
2106
|
-
), dn = C.span``, xe =
|
|
2106
|
+
), dn = C.span``, xe = D(
|
|
2107
2107
|
({
|
|
2108
2108
|
className: e,
|
|
2109
2109
|
disabled: t = !1,
|
|
@@ -2121,7 +2121,8 @@ const Ut = 300, T1 = ({
|
|
|
2121
2121
|
params: h,
|
|
2122
2122
|
...f
|
|
2123
2123
|
}, m) => {
|
|
2124
|
-
|
|
2124
|
+
var B, H;
|
|
2125
|
+
const g = {
|
|
2125
2126
|
title: s,
|
|
2126
2127
|
role: u === "index" || u === "contact-method" || t ? "button" : void 0,
|
|
2127
2128
|
"aria-expanded": u === "index" ? "false" : void 0,
|
|
@@ -2132,49 +2133,83 @@ const Ut = 300, T1 = ({
|
|
|
2132
2133
|
!!t,
|
|
2133
2134
|
"humany-disabled"
|
|
2134
2135
|
]),
|
|
2135
|
-
onClick: (
|
|
2136
|
-
if (
|
|
2137
|
-
|
|
2136
|
+
onClick: (z) => {
|
|
2137
|
+
if (z.persist(), t) {
|
|
2138
|
+
z.preventDefault();
|
|
2138
2139
|
return;
|
|
2139
2140
|
}
|
|
2140
|
-
o(
|
|
2141
|
+
o(z);
|
|
2141
2142
|
},
|
|
2142
|
-
onKeyDown: (
|
|
2143
|
-
if (
|
|
2144
|
-
|
|
2143
|
+
onKeyDown: (z) => {
|
|
2144
|
+
if (z.persist(), t) {
|
|
2145
|
+
z.key !== "Tab" && z.preventDefault();
|
|
2145
2146
|
return;
|
|
2146
2147
|
}
|
|
2147
|
-
r(
|
|
2148
|
+
r(z);
|
|
2148
2149
|
}
|
|
2149
2150
|
};
|
|
2150
|
-
|
|
2151
|
-
|
|
2151
|
+
f["data-client-name"] === "custom.link" && (g.role = "link");
|
|
2152
|
+
const y = N().get("$settings"), M = t && ((H = (B = y == null ? void 0 : y.data) == null ? void 0 : B.accessibility) == null ? void 0 : H.disableInactiveLink), R = f.description || "<p></p>";
|
|
2153
|
+
return M ? /* @__PURE__ */ b(hn, { className: "disabled-link", children: [
|
|
2154
|
+
/* @__PURE__ */ i("div", { className: "icon-placeholder" }),
|
|
2155
|
+
/* @__PURE__ */ b("div", { className: "humany-contact-link-rich-content", children: [
|
|
2156
|
+
/* @__PURE__ */ i("span", { children: g.title }),
|
|
2157
|
+
/* @__PURE__ */ i(
|
|
2158
|
+
"div",
|
|
2159
|
+
{
|
|
2160
|
+
className: "inner-span",
|
|
2161
|
+
dangerouslySetInnerHTML: { __html: R }
|
|
2162
|
+
}
|
|
2163
|
+
)
|
|
2164
|
+
] })
|
|
2165
|
+
] }) : u ? /* @__PURE__ */ i(
|
|
2166
|
+
fn,
|
|
2152
2167
|
{
|
|
2153
2168
|
name: u,
|
|
2154
2169
|
params: h,
|
|
2155
|
-
...
|
|
2156
|
-
...
|
|
2170
|
+
...g,
|
|
2171
|
+
...T(f),
|
|
2157
2172
|
ref: m,
|
|
2158
2173
|
children: a
|
|
2159
2174
|
}
|
|
2160
2175
|
) : /* @__PURE__ */ i(
|
|
2161
|
-
|
|
2176
|
+
mn,
|
|
2162
2177
|
{
|
|
2163
2178
|
href: d,
|
|
2164
2179
|
target: l,
|
|
2165
|
-
...
|
|
2166
|
-
...
|
|
2180
|
+
...g,
|
|
2181
|
+
...T(f),
|
|
2167
2182
|
ref: m,
|
|
2168
2183
|
children: a
|
|
2169
2184
|
}
|
|
2170
2185
|
);
|
|
2171
2186
|
}
|
|
2172
|
-
), hn = C
|
|
2187
|
+
), hn = C.div`
|
|
2188
|
+
display: flex;
|
|
2189
|
+
opacity: 0.7;
|
|
2190
|
+
.inner-span {
|
|
2191
|
+
font-weight: 300;
|
|
2192
|
+
line-height: 1.5em;
|
|
2193
|
+
}
|
|
2194
|
+
.humany-contact-link-rich-content {
|
|
2195
|
+
color: #333333;
|
|
2196
|
+
}
|
|
2197
|
+
.icon-placeholder {
|
|
2198
|
+
font-size: 1.1em;
|
|
2199
|
+
margin: 0 24px 0 0;
|
|
2200
|
+
min-height: 1.1em;
|
|
2201
|
+
min-width: 1.1em;
|
|
2202
|
+
line-height: 1.1em;
|
|
2203
|
+
display: inline-block;
|
|
2204
|
+
vertical-align: bottom;
|
|
2205
|
+
color: #333333;
|
|
2206
|
+
}
|
|
2207
|
+
`, fn = C(un)`
|
|
2173
2208
|
${(e) => e.disabled ? `
|
|
2174
2209
|
pointer-events: none;
|
|
2175
2210
|
opacity: .7;
|
|
2176
2211
|
` : "cursor: pointer;"}
|
|
2177
|
-
`,
|
|
2212
|
+
`, mn = C.a`
|
|
2178
2213
|
${(e) => e.disabled ? `
|
|
2179
2214
|
pointer-events: none;
|
|
2180
2215
|
opacity: .7;
|
|
@@ -2187,14 +2222,14 @@ const Ut = 300, T1 = ({
|
|
|
2187
2222
|
},
|
|
2188
2223
|
...r
|
|
2189
2224
|
}) => {
|
|
2190
|
-
const s = L(), c =
|
|
2225
|
+
const s = L(), c = S(
|
|
2191
2226
|
(d) => {
|
|
2192
2227
|
d.target === s.current && o(d);
|
|
2193
2228
|
},
|
|
2194
2229
|
[o]
|
|
2195
2230
|
);
|
|
2196
2231
|
return /* @__PURE__ */ i(
|
|
2197
|
-
|
|
2232
|
+
Ve,
|
|
2198
2233
|
{
|
|
2199
2234
|
in: e,
|
|
2200
2235
|
className: "humany-overlay-transition",
|
|
@@ -2202,7 +2237,7 @@ const Ut = 300, T1 = ({
|
|
|
2202
2237
|
unmountOnExit: !0,
|
|
2203
2238
|
timeout: t,
|
|
2204
2239
|
children: /* @__PURE__ */ i(q, { children: /* @__PURE__ */ i(
|
|
2205
|
-
|
|
2240
|
+
gn,
|
|
2206
2241
|
{
|
|
2207
2242
|
className: "humany-overlay",
|
|
2208
2243
|
duration: t,
|
|
@@ -2214,7 +2249,7 @@ const Ut = 300, T1 = ({
|
|
|
2214
2249
|
) })
|
|
2215
2250
|
}
|
|
2216
2251
|
);
|
|
2217
|
-
},
|
|
2252
|
+
}, gn = C.div`
|
|
2218
2253
|
background: rgba(0, 0, 0, 0.6);
|
|
2219
2254
|
min-width: 100%;
|
|
2220
2255
|
min-height: 100%;
|
|
@@ -2244,11 +2279,11 @@ const Ut = 300, T1 = ({
|
|
|
2244
2279
|
&.humany-overlay-transition-exit-done {
|
|
2245
2280
|
opacity: 0;
|
|
2246
2281
|
}
|
|
2247
|
-
`,
|
|
2282
|
+
`, pn = Ne`
|
|
2248
2283
|
100% {
|
|
2249
2284
|
transform: rotate(360deg);
|
|
2250
2285
|
}
|
|
2251
|
-
`,
|
|
2286
|
+
`, Cn = Ne`
|
|
2252
2287
|
0% {
|
|
2253
2288
|
stroke-dasharray: 1, 200;
|
|
2254
2289
|
stroke-dashoffset: 0;
|
|
@@ -2261,8 +2296,8 @@ const Ut = 300, T1 = ({
|
|
|
2261
2296
|
stroke-dasharray: 89, 200;
|
|
2262
2297
|
stroke-dashoffset: -124px;
|
|
2263
2298
|
}
|
|
2264
|
-
`,
|
|
2265
|
-
animation: ${
|
|
2299
|
+
`, yn = C.svg`
|
|
2300
|
+
animation: ${pn} 2s linear infinite;
|
|
2266
2301
|
height: 100%;
|
|
2267
2302
|
transform-origin: center center;
|
|
2268
2303
|
width: 100%;
|
|
@@ -2273,7 +2308,7 @@ const Ut = 300, T1 = ({
|
|
|
2273
2308
|
right: 0;
|
|
2274
2309
|
margin: auto;
|
|
2275
2310
|
transition: 200ms ease-out opacity;
|
|
2276
|
-
`,
|
|
2311
|
+
`, bn = C.div`
|
|
2277
2312
|
position: absolute;
|
|
2278
2313
|
top: 0;
|
|
2279
2314
|
bottom: 0;
|
|
@@ -2291,7 +2326,7 @@ const Ut = 300, T1 = ({
|
|
|
2291
2326
|
svg {
|
|
2292
2327
|
opacity: ${(e) => e["data-loading"] ? "1" : "0"};
|
|
2293
2328
|
}
|
|
2294
|
-
`,
|
|
2329
|
+
`, vn = C.div`
|
|
2295
2330
|
position: relative;
|
|
2296
2331
|
margin: 0 auto;
|
|
2297
2332
|
width: 100px;
|
|
@@ -2300,23 +2335,23 @@ const Ut = 300, T1 = ({
|
|
|
2300
2335
|
display: block;
|
|
2301
2336
|
padding-top: 100%;
|
|
2302
2337
|
}
|
|
2303
|
-
`,
|
|
2338
|
+
`, xn = C.circle`
|
|
2304
2339
|
stroke-dasharray: 1, 200;
|
|
2305
2340
|
stroke-dashoffset: 0;
|
|
2306
|
-
animation: ${
|
|
2341
|
+
animation: ${Cn} 1.5s ease-in-out infinite;
|
|
2307
2342
|
stroke-linecap: round;
|
|
2308
2343
|
stroke: ${(e) => {
|
|
2309
2344
|
var t;
|
|
2310
2345
|
return (t = e.theme.colors) == null ? void 0 : t.primary;
|
|
2311
2346
|
}};
|
|
2312
2347
|
stroke-width: 2px;
|
|
2313
|
-
`,
|
|
2314
|
-
|
|
2348
|
+
`, wn = ({ className: e, loading: t = !1 }) => /* @__PURE__ */ i(
|
|
2349
|
+
bn,
|
|
2315
2350
|
{
|
|
2316
2351
|
className: $("humany-loader", e),
|
|
2317
2352
|
"data-loading": t,
|
|
2318
|
-
children: /* @__PURE__ */ i(
|
|
2319
|
-
|
|
2353
|
+
children: /* @__PURE__ */ i(vn, { className: "humany-spinner", children: /* @__PURE__ */ i(yn, { viewBox: "25 25 50 50", children: /* @__PURE__ */ i(
|
|
2354
|
+
xn,
|
|
2320
2355
|
{
|
|
2321
2356
|
cx: "50",
|
|
2322
2357
|
cy: "50",
|
|
@@ -2327,38 +2362,38 @@ const Ut = 300, T1 = ({
|
|
|
2327
2362
|
}
|
|
2328
2363
|
) }) })
|
|
2329
2364
|
}
|
|
2330
|
-
),
|
|
2365
|
+
), kn = ({
|
|
2331
2366
|
zoomState: e,
|
|
2332
2367
|
image: t,
|
|
2333
2368
|
changeZoom: n,
|
|
2334
2369
|
...o
|
|
2335
2370
|
}) => {
|
|
2336
|
-
var
|
|
2337
|
-
const r = L(null), [s, c] = w(!1), [d, a] = w(!1), { width: l, height: u, ...h } = o.style || {}, f =
|
|
2338
|
-
const
|
|
2339
|
-
if (
|
|
2340
|
-
const y = window.innerWidth /
|
|
2341
|
-
return
|
|
2371
|
+
var g;
|
|
2372
|
+
const r = L(null), [s, c] = w(!1), [d, a] = w(!1), { width: l, height: u, ...h } = o.style || {}, f = S(() => {
|
|
2373
|
+
const p = r.current;
|
|
2374
|
+
if (p) {
|
|
2375
|
+
const y = window.innerWidth / p.naturalWidth, M = window.innerHeight / p.naturalHeight, R = Math.min(y, M);
|
|
2376
|
+
return M >= 1 && y >= 1 ? 1 : R;
|
|
2342
2377
|
}
|
|
2343
2378
|
return 1;
|
|
2344
2379
|
}, [s, t.src]), m = re(() => {
|
|
2345
|
-
const
|
|
2346
|
-
if (
|
|
2380
|
+
const p = r.current;
|
|
2381
|
+
if (p && s) {
|
|
2347
2382
|
if (!d) {
|
|
2348
2383
|
a(!0);
|
|
2349
2384
|
const y = f();
|
|
2350
2385
|
n(y);
|
|
2351
2386
|
}
|
|
2352
|
-
return
|
|
2387
|
+
return p.naturalWidth >= p.naturalHeight ? [`${e * p.naturalWidth}px`, "auto"] : ["auto", `${e * p.naturalHeight}px`];
|
|
2353
2388
|
}
|
|
2354
2389
|
return null;
|
|
2355
2390
|
}, [e, r, s, t.src]);
|
|
2356
2391
|
return v(() => (c(!1), function() {
|
|
2357
2392
|
a(!1);
|
|
2358
|
-
}), [t.src]), /* @__PURE__ */ b(
|
|
2359
|
-
/* @__PURE__ */ i(
|
|
2393
|
+
}), [t.src]), /* @__PURE__ */ b(U, { children: [
|
|
2394
|
+
/* @__PURE__ */ i($n, { loading: !s }),
|
|
2360
2395
|
/* @__PURE__ */ i(
|
|
2361
|
-
|
|
2396
|
+
Ln,
|
|
2362
2397
|
{
|
|
2363
2398
|
onLoad: () => {
|
|
2364
2399
|
c(!0);
|
|
@@ -2367,19 +2402,19 @@ const Ut = 300, T1 = ({
|
|
|
2367
2402
|
imageSize: m,
|
|
2368
2403
|
draggable: "false",
|
|
2369
2404
|
...o,
|
|
2370
|
-
alt: ((
|
|
2405
|
+
alt: ((g = o.alt) == null ? void 0 : g.toString()) || "",
|
|
2371
2406
|
style: h,
|
|
2372
2407
|
src: t.src,
|
|
2373
2408
|
loaded: s
|
|
2374
2409
|
}
|
|
2375
2410
|
),
|
|
2376
|
-
/* @__PURE__ */ i(
|
|
2411
|
+
/* @__PURE__ */ i(Mn, {})
|
|
2377
2412
|
] });
|
|
2378
|
-
},
|
|
2413
|
+
}, $n = C(wn)`
|
|
2379
2414
|
svg circle {
|
|
2380
2415
|
stroke: #ffffff;
|
|
2381
2416
|
}
|
|
2382
|
-
`,
|
|
2417
|
+
`, Ln = C.img`
|
|
2383
2418
|
transform: none;
|
|
2384
2419
|
|
|
2385
2420
|
${(e) => e.imageSize && k`
|
|
@@ -2390,47 +2425,47 @@ const Ut = 300, T1 = ({
|
|
|
2390
2425
|
vertical-align: middle;
|
|
2391
2426
|
position: relative;
|
|
2392
2427
|
${(e) => !e.loaded && "display:none;"}
|
|
2393
|
-
`,
|
|
2428
|
+
`, Mn = C.div`
|
|
2394
2429
|
height: 100%;
|
|
2395
2430
|
display: inline-block;
|
|
2396
2431
|
vertical-align: middle;
|
|
2397
|
-
`,
|
|
2398
|
-
const e = L(), [t, n] = w(!0), o =
|
|
2432
|
+
`, Sn = () => {
|
|
2433
|
+
const e = L(), [t, n] = w(!0), o = S(() => (t || n(!0), e.current && clearTimeout(e.current), e.current = setTimeout(() => {
|
|
2399
2434
|
n(!1);
|
|
2400
2435
|
}, 3e3), () => {
|
|
2401
2436
|
e.current && clearTimeout(e.current);
|
|
2402
2437
|
}), [t, e]);
|
|
2403
2438
|
return [t, o];
|
|
2404
|
-
},
|
|
2439
|
+
}, En = ({ attrs: e, htmlBody: t }) => {
|
|
2405
2440
|
var Se;
|
|
2406
|
-
const n = j("Escape"), o = j("ArrowLeft"), r = j("ArrowRight"), [s, c] = w(1), [d, a] = w({ top: 0, left: 0, x: 0, y: 0 }), [l, u] = w(!1), [h, f] =
|
|
2441
|
+
const n = j("Escape"), o = j("ArrowLeft"), r = j("ArrowRight"), [s, c] = w(1), [d, a] = w({ top: 0, left: 0, x: 0, y: 0 }), [l, u] = w(!1), [h, f] = Sn(), [m, g] = w(null), [p, y] = w(null), M = L(null), R = L(null), B = L(null), H = L(null), z = L(null), [Ue, qe] = w(null);
|
|
2407
2442
|
v(() => {
|
|
2408
|
-
n &&
|
|
2443
|
+
n && g(null);
|
|
2409
2444
|
}, [n]), v(() => {
|
|
2410
2445
|
c(1);
|
|
2411
2446
|
}, [m]), v(() => {
|
|
2412
2447
|
var I, ee;
|
|
2413
2448
|
if (m === null || R.current === null)
|
|
2414
2449
|
return;
|
|
2415
|
-
const x = R.current.firstElementChild, E = (I =
|
|
2416
|
-
if (
|
|
2417
|
-
J &&
|
|
2418
|
-
else if (
|
|
2419
|
-
G && E ? E.focus() : J &&
|
|
2450
|
+
const x = R.current.firstElementChild, E = (I = B.current) == null ? void 0 : I.querySelector(".nav-left"), V = (ee = B.current) == null ? void 0 : ee.querySelector(".nav-right");
|
|
2451
|
+
if (p === "Right")
|
|
2452
|
+
J && V ? V.focus() : G && E && E.focus();
|
|
2453
|
+
else if (p === "Left")
|
|
2454
|
+
G && E ? E.focus() : J && V && V.focus();
|
|
2420
2455
|
else {
|
|
2421
2456
|
if (!x)
|
|
2422
2457
|
return;
|
|
2423
2458
|
x.focus();
|
|
2424
2459
|
}
|
|
2425
|
-
}, [m, R,
|
|
2460
|
+
}, [m, R, B, p]), v(() => {
|
|
2426
2461
|
if (o) {
|
|
2427
2462
|
if (G)
|
|
2428
2463
|
return Le();
|
|
2429
2464
|
} else if (r && J)
|
|
2430
2465
|
return Me();
|
|
2431
2466
|
}, [o, r]), v(() => {
|
|
2432
|
-
var E,
|
|
2433
|
-
const x = ((
|
|
2467
|
+
var E, V;
|
|
2468
|
+
const x = ((V = (E = z.current) == null ? void 0 : E.style) == null ? void 0 : V.float) || "";
|
|
2434
2469
|
(x === "left" || x === "right") && qe(x);
|
|
2435
2470
|
}, []);
|
|
2436
2471
|
const A = re(() => {
|
|
@@ -2450,27 +2485,27 @@ const Ut = 300, T1 = ({
|
|
|
2450
2485
|
},
|
|
2451
2486
|
[]
|
|
2452
2487
|
);
|
|
2453
|
-
}, [t]), ke =
|
|
2488
|
+
}, [t]), ke = S(() => {
|
|
2454
2489
|
const { src: x } = e;
|
|
2455
2490
|
if (x) {
|
|
2456
|
-
const E = A.findIndex((
|
|
2457
|
-
|
|
2491
|
+
const E = A.findIndex((V, I) => V.src === x);
|
|
2492
|
+
g(E);
|
|
2458
2493
|
}
|
|
2459
|
-
}, [A, e]), Qe =
|
|
2460
|
-
|
|
2461
|
-
}, []), $e =
|
|
2494
|
+
}, [A, e]), Qe = S((x) => {
|
|
2495
|
+
g(null);
|
|
2496
|
+
}, []), $e = S(
|
|
2462
2497
|
(x) => {
|
|
2463
2498
|
c(x ? s + s * 0.25 : s - s * 0.25);
|
|
2464
2499
|
},
|
|
2465
2500
|
[c, s]
|
|
2466
|
-
), Ge =
|
|
2501
|
+
), Ge = S(() => {
|
|
2467
2502
|
if (m !== null) {
|
|
2468
2503
|
const { src: x } = A[m];
|
|
2469
2504
|
x && window.open(x, "_self");
|
|
2470
2505
|
}
|
|
2471
|
-
}, [A, m]), Je =
|
|
2506
|
+
}, [A, m]), Je = S(
|
|
2472
2507
|
(x) => {
|
|
2473
|
-
const E =
|
|
2508
|
+
const E = H.current;
|
|
2474
2509
|
E && (a({
|
|
2475
2510
|
top: E.scrollTop,
|
|
2476
2511
|
left: E.scrollLeft,
|
|
@@ -2478,33 +2513,33 @@ const Ut = 300, T1 = ({
|
|
|
2478
2513
|
y: x.clientY
|
|
2479
2514
|
}), u(!0));
|
|
2480
2515
|
},
|
|
2481
|
-
[
|
|
2482
|
-
), et =
|
|
2516
|
+
[H]
|
|
2517
|
+
), et = S(
|
|
2483
2518
|
(x) => {
|
|
2484
|
-
const E =
|
|
2519
|
+
const E = H.current;
|
|
2485
2520
|
if (E && l) {
|
|
2486
|
-
const
|
|
2487
|
-
E.scrollTop = d.top - I, E.scrollLeft = d.left -
|
|
2521
|
+
const V = x.clientX - d.x, I = x.clientY - d.y;
|
|
2522
|
+
E.scrollTop = d.top - I, E.scrollLeft = d.left - V;
|
|
2488
2523
|
}
|
|
2489
2524
|
},
|
|
2490
2525
|
[l, d]
|
|
2491
2526
|
), tt = (x) => {
|
|
2492
2527
|
x.preventDefault(), u(!1);
|
|
2493
2528
|
}, nt = re(() => {
|
|
2494
|
-
if (
|
|
2495
|
-
const x =
|
|
2529
|
+
if (H.current) {
|
|
2530
|
+
const x = H.current.getElementsByTagName("img");
|
|
2496
2531
|
if (x && x.length) {
|
|
2497
2532
|
const E = x[0];
|
|
2498
2533
|
return E.width > window.innerWidth || E.height > window.innerHeight;
|
|
2499
2534
|
}
|
|
2500
2535
|
}
|
|
2501
2536
|
return !1;
|
|
2502
|
-
}, [
|
|
2503
|
-
m !== null && (y("Left"),
|
|
2537
|
+
}, [H, s]), Le = () => {
|
|
2538
|
+
m !== null && (y("Left"), g(m - 1));
|
|
2504
2539
|
}, Me = () => {
|
|
2505
|
-
m !== null && (y("Right"),
|
|
2540
|
+
m !== null && (y("Right"), g(m + 1));
|
|
2506
2541
|
}, G = m !== null && m > 0 && A.length > 1, J = m !== null && A.length - 1 > m;
|
|
2507
|
-
return /* @__PURE__ */ b(
|
|
2542
|
+
return /* @__PURE__ */ b(U, { children: [
|
|
2508
2543
|
/* @__PURE__ */ i(Ye, { visible: m !== null, onClick: Qe, children: /* @__PURE__ */ b(
|
|
2509
2544
|
Vn,
|
|
2510
2545
|
{
|
|
@@ -2513,8 +2548,8 @@ const Ut = 300, T1 = ({
|
|
|
2513
2548
|
onTouchStart: () => f(),
|
|
2514
2549
|
onKeyDown: () => f(),
|
|
2515
2550
|
children: [
|
|
2516
|
-
/* @__PURE__ */ i(
|
|
2517
|
-
|
|
2551
|
+
/* @__PURE__ */ i(Wn, { show: h.toString(), children: /* @__PURE__ */ i(
|
|
2552
|
+
Dn,
|
|
2518
2553
|
{
|
|
2519
2554
|
ref: R,
|
|
2520
2555
|
buttons: [
|
|
@@ -2526,7 +2561,7 @@ const Ut = 300, T1 = ({
|
|
|
2526
2561
|
},
|
|
2527
2562
|
{
|
|
2528
2563
|
id: "lightbox-close",
|
|
2529
|
-
onClick: () =>
|
|
2564
|
+
onClick: () => g(null),
|
|
2530
2565
|
icon: "lightbox-close",
|
|
2531
2566
|
ariaLabel: "Close"
|
|
2532
2567
|
}
|
|
@@ -2534,16 +2569,16 @@ const Ut = 300, T1 = ({
|
|
|
2534
2569
|
}
|
|
2535
2570
|
) }),
|
|
2536
2571
|
/* @__PURE__ */ i(
|
|
2537
|
-
|
|
2572
|
+
In,
|
|
2538
2573
|
{
|
|
2539
2574
|
scrolling: l.toString(),
|
|
2540
2575
|
isDraggable: nt.toString(),
|
|
2541
|
-
ref:
|
|
2576
|
+
ref: H,
|
|
2542
2577
|
onMouseMove: et,
|
|
2543
2578
|
onMouseDown: Je,
|
|
2544
2579
|
onMouseUp: tt,
|
|
2545
2580
|
children: m !== null && /* @__PURE__ */ i(
|
|
2546
|
-
|
|
2581
|
+
kn,
|
|
2547
2582
|
{
|
|
2548
2583
|
changeZoom: (x) => {
|
|
2549
2584
|
c(x);
|
|
@@ -2560,9 +2595,9 @@ const Ut = 300, T1 = ({
|
|
|
2560
2595
|
}
|
|
2561
2596
|
),
|
|
2562
2597
|
/* @__PURE__ */ i(
|
|
2563
|
-
|
|
2598
|
+
Tn,
|
|
2564
2599
|
{
|
|
2565
|
-
ref:
|
|
2600
|
+
ref: B,
|
|
2566
2601
|
show: h.toString(),
|
|
2567
2602
|
buttons: [
|
|
2568
2603
|
{
|
|
@@ -2586,9 +2621,9 @@ const Ut = 300, T1 = ({
|
|
|
2586
2621
|
]
|
|
2587
2622
|
}
|
|
2588
2623
|
),
|
|
2589
|
-
/* @__PURE__ */ b(
|
|
2624
|
+
/* @__PURE__ */ b(Zn, { show: h.toString(), children: [
|
|
2590
2625
|
/* @__PURE__ */ i(
|
|
2591
|
-
|
|
2626
|
+
Bn,
|
|
2592
2627
|
{
|
|
2593
2628
|
buttons: [
|
|
2594
2629
|
{
|
|
@@ -2606,7 +2641,7 @@ const Ut = 300, T1 = ({
|
|
|
2606
2641
|
]
|
|
2607
2642
|
}
|
|
2608
2643
|
),
|
|
2609
|
-
/* @__PURE__ */ b(
|
|
2644
|
+
/* @__PURE__ */ b(Nn, { variant: "span", children: [
|
|
2610
2645
|
Math.trunc(s * 100),
|
|
2611
2646
|
"%"
|
|
2612
2647
|
] })
|
|
@@ -2615,29 +2650,29 @@ const Ut = 300, T1 = ({
|
|
|
2615
2650
|
}
|
|
2616
2651
|
) }),
|
|
2617
2652
|
/* @__PURE__ */ i(
|
|
2618
|
-
|
|
2653
|
+
Rn,
|
|
2619
2654
|
{
|
|
2620
|
-
ref:
|
|
2655
|
+
ref: M,
|
|
2621
2656
|
onClick: ke,
|
|
2622
2657
|
onKeyDown: (x) => {
|
|
2623
2658
|
x.key === "Enter" && (x.preventDefault(), ke());
|
|
2624
2659
|
},
|
|
2625
|
-
alignment:
|
|
2660
|
+
alignment: Ue,
|
|
2626
2661
|
tabIndex: 0,
|
|
2627
2662
|
children: /* @__PURE__ */ i(
|
|
2628
|
-
|
|
2663
|
+
On,
|
|
2629
2664
|
{
|
|
2630
2665
|
...e,
|
|
2631
2666
|
alt: ((Se = e.alt) == null ? void 0 : Se.toString()) || "",
|
|
2632
|
-
ref:
|
|
2667
|
+
ref: z
|
|
2633
2668
|
}
|
|
2634
2669
|
)
|
|
2635
2670
|
}
|
|
2636
2671
|
)
|
|
2637
2672
|
] });
|
|
2638
|
-
}, we =
|
|
2673
|
+
}, we = D(
|
|
2639
2674
|
({ show: e = "true", buttons: t, className: n }, o) => /* @__PURE__ */ i(
|
|
2640
|
-
|
|
2675
|
+
Hn,
|
|
2641
2676
|
{
|
|
2642
2677
|
ref: o,
|
|
2643
2678
|
show: e,
|
|
@@ -2652,7 +2687,7 @@ const Ut = 300, T1 = ({
|
|
|
2652
2687
|
icon: l,
|
|
2653
2688
|
className: u
|
|
2654
2689
|
}, h) => /* @__PURE__ */ i(
|
|
2655
|
-
|
|
2690
|
+
zn,
|
|
2656
2691
|
{
|
|
2657
2692
|
circle: s.toString(),
|
|
2658
2693
|
onClick: a,
|
|
@@ -2675,20 +2710,20 @@ const Ut = 300, T1 = ({
|
|
|
2675
2710
|
opacity: 0;
|
|
2676
2711
|
pointer-events: none;
|
|
2677
2712
|
`}
|
|
2678
|
-
`,
|
|
2713
|
+
`, Rn = C(xe)`
|
|
2679
2714
|
display: inline-block !important;
|
|
2680
2715
|
|
|
2681
2716
|
${(e) => (e.alignment === "right" || e.alignment === "left") && k`
|
|
2682
2717
|
float: ${e.alignment};
|
|
2683
2718
|
`}
|
|
2684
|
-
`,
|
|
2719
|
+
`, Hn = C(Xe)`
|
|
2685
2720
|
position: fixed;
|
|
2686
2721
|
display: flex;
|
|
2687
2722
|
gap: ${(e) => {
|
|
2688
2723
|
var t;
|
|
2689
2724
|
return (t = e.theme.sizes) == null ? void 0 : t.normal;
|
|
2690
2725
|
}};
|
|
2691
|
-
`, me = "39px",
|
|
2726
|
+
`, me = "39px", zn = C(se)`
|
|
2692
2727
|
width: ${me};
|
|
2693
2728
|
height: ${me};
|
|
2694
2729
|
display: flex;
|
|
@@ -2753,7 +2788,7 @@ const Ut = 300, T1 = ({
|
|
|
2753
2788
|
opacity: 0;
|
|
2754
2789
|
pointer-events: none;
|
|
2755
2790
|
`}
|
|
2756
|
-
`,
|
|
2791
|
+
`, Dn = C(we)`
|
|
2757
2792
|
top: ${(e) => {
|
|
2758
2793
|
var t;
|
|
2759
2794
|
return (t = e.theme.sizes) == null ? void 0 : t.large;
|
|
@@ -2762,7 +2797,7 @@ const Ut = 300, T1 = ({
|
|
|
2762
2797
|
var t;
|
|
2763
2798
|
return (t = e.theme.sizes) == null ? void 0 : t.large;
|
|
2764
2799
|
}};
|
|
2765
|
-
`,
|
|
2800
|
+
`, Bn = C(we)`
|
|
2766
2801
|
bottom: ${(e) => {
|
|
2767
2802
|
var t;
|
|
2768
2803
|
return (t = e.theme.sizes) == null ? void 0 : t.large;
|
|
@@ -2770,7 +2805,7 @@ const Ut = 300, T1 = ({
|
|
|
2770
2805
|
width: 100%;
|
|
2771
2806
|
align-items: center;
|
|
2772
2807
|
justify-content: center;
|
|
2773
|
-
`,
|
|
2808
|
+
`, Tn = C(we)`
|
|
2774
2809
|
display: block;
|
|
2775
2810
|
button {
|
|
2776
2811
|
position: fixed;
|
|
@@ -2788,7 +2823,7 @@ const Ut = 300, T1 = ({
|
|
|
2788
2823
|
}};
|
|
2789
2824
|
}
|
|
2790
2825
|
}
|
|
2791
|
-
`,
|
|
2826
|
+
`, Nn = C(X)`
|
|
2792
2827
|
position: fixed;
|
|
2793
2828
|
bottom: ${(e) => {
|
|
2794
2829
|
var t;
|
|
@@ -2807,7 +2842,7 @@ const Ut = 300, T1 = ({
|
|
|
2807
2842
|
var t;
|
|
2808
2843
|
return (t = e.theme.fonts) == null ? void 0 : t.type;
|
|
2809
2844
|
}};
|
|
2810
|
-
`,
|
|
2845
|
+
`, _e = C(Xe)`
|
|
2811
2846
|
position: absolute;
|
|
2812
2847
|
width: 100vw;
|
|
2813
2848
|
height: 88px;
|
|
@@ -2815,21 +2850,21 @@ const Ut = 300, T1 = ({
|
|
|
2815
2850
|
z-index: 5;
|
|
2816
2851
|
`, Vn = C.div`
|
|
2817
2852
|
width: 100%;
|
|
2818
|
-
`,
|
|
2853
|
+
`, Wn = C(_e)`
|
|
2819
2854
|
top: 0px;
|
|
2820
2855
|
background-image: linear-gradient(
|
|
2821
2856
|
to bottom,
|
|
2822
2857
|
rgb(34, 34, 34, 0.8),
|
|
2823
2858
|
rgba(34, 34, 34, 0)
|
|
2824
2859
|
);
|
|
2825
|
-
`,
|
|
2860
|
+
`, Zn = C(_e)`
|
|
2826
2861
|
bottom: 0px;
|
|
2827
2862
|
background-image: linear-gradient(
|
|
2828
2863
|
to top,
|
|
2829
2864
|
rgb(34, 34, 34, 0.8),
|
|
2830
2865
|
rgba(34, 34, 34, 0)
|
|
2831
2866
|
);
|
|
2832
|
-
`,
|
|
2867
|
+
`, In = C.div`
|
|
2833
2868
|
width: 100%;
|
|
2834
2869
|
height: 100vh;
|
|
2835
2870
|
overflow: auto;
|
|
@@ -2838,9 +2873,9 @@ const Ut = 300, T1 = ({
|
|
|
2838
2873
|
white-space: nowrap;
|
|
2839
2874
|
justify-content: center;
|
|
2840
2875
|
cursor: ${(e) => e.isDraggable === "true" ? e.scrolling === "true" ? "grabbing" : "grab" : "auto"};
|
|
2841
|
-
`,
|
|
2876
|
+
`, On = C.img`
|
|
2842
2877
|
cursor: pointer;
|
|
2843
|
-
`,
|
|
2878
|
+
`, An = D(
|
|
2844
2879
|
({
|
|
2845
2880
|
className: e,
|
|
2846
2881
|
children: t,
|
|
@@ -2850,7 +2885,7 @@ const Ut = 300, T1 = ({
|
|
|
2850
2885
|
close: r = !1,
|
|
2851
2886
|
...s
|
|
2852
2887
|
}, c) => {
|
|
2853
|
-
const [d, a] = Fe(), [l, u] = Ae(!0), h = L(), f = L(
|
|
2888
|
+
const [d, a] = Fe(), [l, u] = Ae(!0), h = L(), f = L(_()), m = j("Escape");
|
|
2854
2889
|
v(() => {
|
|
2855
2890
|
(m || r) && a(!1);
|
|
2856
2891
|
}, [m, r]), v(() => {
|
|
@@ -2858,7 +2893,7 @@ const Ut = 300, T1 = ({
|
|
|
2858
2893
|
}, [d, h.current]), ae("router:changed", () => {
|
|
2859
2894
|
a(!1);
|
|
2860
2895
|
});
|
|
2861
|
-
const
|
|
2896
|
+
const g = S(
|
|
2862
2897
|
(y) => {
|
|
2863
2898
|
a(!1), o(y);
|
|
2864
2899
|
},
|
|
@@ -2869,12 +2904,12 @@ const Ut = 300, T1 = ({
|
|
|
2869
2904
|
a(!1);
|
|
2870
2905
|
}
|
|
2871
2906
|
}));
|
|
2872
|
-
const
|
|
2907
|
+
const p = S(() => ye(f.current, () => {
|
|
2873
2908
|
a(!1);
|
|
2874
2909
|
}), [f.current]);
|
|
2875
|
-
return /* @__PURE__ */ b(
|
|
2876
|
-
/* @__PURE__ */ i(Ye, { visible: d, onClick:
|
|
2877
|
-
|
|
2910
|
+
return /* @__PURE__ */ b(U, { children: [
|
|
2911
|
+
/* @__PURE__ */ i(Ye, { visible: d, onClick: g, children: /* @__PURE__ */ b(
|
|
2912
|
+
Fn,
|
|
2878
2913
|
{
|
|
2879
2914
|
className: $(
|
|
2880
2915
|
e,
|
|
@@ -2901,12 +2936,12 @@ const Ut = 300, T1 = ({
|
|
|
2901
2936
|
) }),
|
|
2902
2937
|
oe.cloneElement(n, {
|
|
2903
2938
|
onClick: (y) => {
|
|
2904
|
-
a(),
|
|
2939
|
+
a(), p();
|
|
2905
2940
|
}
|
|
2906
2941
|
})
|
|
2907
2942
|
] });
|
|
2908
2943
|
}
|
|
2909
|
-
),
|
|
2944
|
+
), Fn = C.div`
|
|
2910
2945
|
font-family: ${(e) => {
|
|
2911
2946
|
var t;
|
|
2912
2947
|
return (t = e.theme.fonts) == null ? void 0 : t.type;
|
|
@@ -2925,7 +2960,7 @@ const Ut = 300, T1 = ({
|
|
|
2925
2960
|
${(e) => Pe(e)}
|
|
2926
2961
|
${(e) => e.css && e.css}
|
|
2927
2962
|
outline: none;
|
|
2928
|
-
`,
|
|
2963
|
+
`, O1 = ({
|
|
2929
2964
|
className: e,
|
|
2930
2965
|
trigger: t,
|
|
2931
2966
|
header: n = "",
|
|
@@ -2937,15 +2972,15 @@ const Ut = 300, T1 = ({
|
|
|
2937
2972
|
cancelLabel: c = "",
|
|
2938
2973
|
confirmLabel: d = ""
|
|
2939
2974
|
}) => {
|
|
2940
|
-
const a = L(), l =
|
|
2975
|
+
const a = L(), l = S(() => {
|
|
2941
2976
|
var h;
|
|
2942
2977
|
r(), (h = a == null ? void 0 : a.current) == null || h.close();
|
|
2943
|
-
}, [r]), u =
|
|
2978
|
+
}, [r]), u = S(() => {
|
|
2944
2979
|
var h;
|
|
2945
2980
|
s(), (h = a == null ? void 0 : a.current) == null || h.close();
|
|
2946
2981
|
}, [s]);
|
|
2947
2982
|
return /* @__PURE__ */ b(
|
|
2948
|
-
|
|
2983
|
+
Pn,
|
|
2949
2984
|
{
|
|
2950
2985
|
className: e,
|
|
2951
2986
|
trigger: t,
|
|
@@ -2954,12 +2989,12 @@ const Ut = 300, T1 = ({
|
|
|
2954
2989
|
children: [
|
|
2955
2990
|
n && /* @__PURE__ */ i(Be, { children: n }),
|
|
2956
2991
|
o && /* @__PURE__ */ i(Be, { children: o }),
|
|
2957
|
-
d && /* @__PURE__ */ i(
|
|
2958
|
-
c && /* @__PURE__ */ i(
|
|
2992
|
+
d && /* @__PURE__ */ i(jn, { onClick: u, children: d }),
|
|
2993
|
+
c && /* @__PURE__ */ i(Kn, { onClick: l, children: c })
|
|
2959
2994
|
]
|
|
2960
2995
|
}
|
|
2961
2996
|
);
|
|
2962
|
-
},
|
|
2997
|
+
}, Pn = C(An)`
|
|
2963
2998
|
display: block;
|
|
2964
2999
|
|
|
2965
3000
|
span {
|
|
@@ -2977,7 +3012,7 @@ const Ut = 300, T1 = ({
|
|
|
2977
3012
|
}};
|
|
2978
3013
|
}
|
|
2979
3014
|
}
|
|
2980
|
-
`,
|
|
3015
|
+
`, jn = C(se)`
|
|
2981
3016
|
display: inline-block;
|
|
2982
3017
|
min-width: 50px;
|
|
2983
3018
|
${(e) => {
|
|
@@ -3007,7 +3042,7 @@ const Ut = 300, T1 = ({
|
|
|
3007
3042
|
&:focus-visible {
|
|
3008
3043
|
${O}
|
|
3009
3044
|
}
|
|
3010
|
-
`,
|
|
3045
|
+
`, Kn = C(se)`
|
|
3011
3046
|
display: inline-block;
|
|
3012
3047
|
min-width: 50px;
|
|
3013
3048
|
${(e) => {
|
|
@@ -3028,25 +3063,25 @@ const Ut = 300, T1 = ({
|
|
|
3028
3063
|
&:focus-visible {
|
|
3029
3064
|
${O};
|
|
3030
3065
|
}
|
|
3031
|
-
`,
|
|
3066
|
+
`, A1 = ({
|
|
3032
3067
|
header: e = "",
|
|
3033
3068
|
link: t = "",
|
|
3034
3069
|
suggestionHeader: n = "",
|
|
3035
3070
|
suggestion: o = ""
|
|
3036
|
-
}) => /* @__PURE__ */ b(
|
|
3037
|
-
/* @__PURE__ */ i(
|
|
3038
|
-
/* @__PURE__ */ b(
|
|
3071
|
+
}) => /* @__PURE__ */ b(Yn, { children: [
|
|
3072
|
+
/* @__PURE__ */ i(Xn, { children: /* @__PURE__ */ i(X, { variant: "h2", children: "404" }) }),
|
|
3073
|
+
/* @__PURE__ */ b(_n, { children: [
|
|
3039
3074
|
/* @__PURE__ */ i(X, { variant: "h3", children: e }),
|
|
3040
|
-
/* @__PURE__ */ i(
|
|
3075
|
+
/* @__PURE__ */ i(qn, { routeName: "index", "aria-label": t, text: t })
|
|
3041
3076
|
] }),
|
|
3042
3077
|
/* @__PURE__ */ b(Un, { children: [
|
|
3043
3078
|
/* @__PURE__ */ i("span", { children: n }),
|
|
3044
3079
|
/* @__PURE__ */ i("ul", { children: /* @__PURE__ */ i("li", { children: o }) })
|
|
3045
3080
|
] })
|
|
3046
|
-
] }),
|
|
3081
|
+
] }), Yn = C.div`
|
|
3047
3082
|
display: flex;
|
|
3048
3083
|
flex-wrap: wrap;
|
|
3049
|
-
`,
|
|
3084
|
+
`, Xn = C.div`
|
|
3050
3085
|
${(e) => ie(e)(
|
|
3051
3086
|
"h2",
|
|
3052
3087
|
k`
|
|
@@ -3056,7 +3091,7 @@ const Ut = 300, T1 = ({
|
|
|
3056
3091
|
font-size: 7em;
|
|
3057
3092
|
`
|
|
3058
3093
|
)}
|
|
3059
|
-
`,
|
|
3094
|
+
`, _n = C.div`
|
|
3060
3095
|
margin-left: ${(e) => {
|
|
3061
3096
|
var t;
|
|
3062
3097
|
return (t = e.theme.sizes) == null ? void 0 : t.medium;
|
|
@@ -3094,7 +3129,7 @@ const Ut = 300, T1 = ({
|
|
|
3094
3129
|
font-weight: bold;
|
|
3095
3130
|
}
|
|
3096
3131
|
`;
|
|
3097
|
-
class
|
|
3132
|
+
class F1 extends ct {
|
|
3098
3133
|
constructor() {
|
|
3099
3134
|
super(...arguments);
|
|
3100
3135
|
te(this, "node");
|
|
@@ -3136,7 +3171,7 @@ class A1 extends ct {
|
|
|
3136
3171
|
) : null;
|
|
3137
3172
|
}
|
|
3138
3173
|
}
|
|
3139
|
-
const
|
|
3174
|
+
const qn = D(
|
|
3140
3175
|
({ className: e, description: t, text: n, children: o, ...r }, s) => /* @__PURE__ */ b(
|
|
3141
3176
|
xe,
|
|
3142
3177
|
{
|
|
@@ -3151,28 +3186,28 @@ const _n = H(
|
|
|
3151
3186
|
}
|
|
3152
3187
|
)
|
|
3153
3188
|
);
|
|
3154
|
-
var
|
|
3155
|
-
const
|
|
3189
|
+
var Qn = /* @__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))(Qn || {});
|
|
3190
|
+
const P1 = ({
|
|
3156
3191
|
className: e = "",
|
|
3157
3192
|
format: t = "hh:mm",
|
|
3158
3193
|
timestamp: n
|
|
3159
|
-
}) => /* @__PURE__ */ i("span", { className: $(e, "humany-timestamp"), children:
|
|
3160
|
-
function
|
|
3194
|
+
}) => /* @__PURE__ */ i("span", { className: $(e, "humany-timestamp"), children: Gn(n, t) }), Te = (e) => `0${e}`.slice(-2);
|
|
3195
|
+
function Gn(e, t) {
|
|
3161
3196
|
const n = new Date(e), o = n.toTimeString().split(" ")[0].split(":"), r = o.length > 1 ? `${o[0]}:${o[1]}` : o[0], s = n.getFullYear(), c = n.getMonth() + 1, d = n.getDate(), a = `${s}-${Te(c)}-${Te(
|
|
3162
3197
|
d
|
|
3163
3198
|
)}`;
|
|
3164
3199
|
return t === "yyyy-mm-dd" ? a : t === "hh:mm" ? r : `${a} ${r}`;
|
|
3165
3200
|
}
|
|
3166
|
-
const
|
|
3201
|
+
const j1 = ({
|
|
3167
3202
|
className: e,
|
|
3168
3203
|
children: t,
|
|
3169
3204
|
content: n,
|
|
3170
3205
|
sticky: o = !1,
|
|
3171
3206
|
...r
|
|
3172
3207
|
}) => {
|
|
3173
|
-
const [s, c] = w(!1), d = L(
|
|
3174
|
-
const { target:
|
|
3175
|
-
!a.current || !
|
|
3208
|
+
const [s, c] = w(!1), d = L(_()), a = L(), [{ x: l, y: u }, h] = je(s, d.current, a.current), f = (g) => {
|
|
3209
|
+
const { target: p } = g;
|
|
3210
|
+
!a.current || !p || a.current !== p && !a.current.contains(p) && c(!1);
|
|
3176
3211
|
};
|
|
3177
3212
|
v(() => {
|
|
3178
3213
|
if (o)
|
|
@@ -3180,25 +3215,25 @@ const P1 = ({
|
|
|
3180
3215
|
window.removeEventListener("click", f);
|
|
3181
3216
|
};
|
|
3182
3217
|
}, [s, o]);
|
|
3183
|
-
const m =
|
|
3184
|
-
(
|
|
3185
|
-
h(
|
|
3218
|
+
const m = S(
|
|
3219
|
+
(g, p) => {
|
|
3220
|
+
h(g, a.current), c(p);
|
|
3186
3221
|
},
|
|
3187
3222
|
[h, c]
|
|
3188
3223
|
);
|
|
3189
3224
|
return /* @__PURE__ */ b(
|
|
3190
|
-
|
|
3225
|
+
Jn,
|
|
3191
3226
|
{
|
|
3192
3227
|
ref: a,
|
|
3193
3228
|
className: "humany-tooltip-trigger",
|
|
3194
|
-
onMouseEnter: o ? void 0 : (
|
|
3195
|
-
onMouseLeave: o ? void 0 : (
|
|
3196
|
-
onTouchEnd: o ? (
|
|
3197
|
-
onClick: o ? (
|
|
3229
|
+
onMouseEnter: o ? void 0 : (g) => m(g, !0),
|
|
3230
|
+
onMouseLeave: o ? void 0 : (g) => m(g, !1),
|
|
3231
|
+
onTouchEnd: o ? (g) => m(g, !s) : void 0,
|
|
3232
|
+
onClick: o ? (g) => m(g, !s) : void 0,
|
|
3198
3233
|
children: [
|
|
3199
3234
|
t,
|
|
3200
3235
|
s && /* @__PURE__ */ i(q, { children: /* @__PURE__ */ i(
|
|
3201
|
-
|
|
3236
|
+
e1,
|
|
3202
3237
|
{
|
|
3203
3238
|
className: $(e, "humany-tooltip-container"),
|
|
3204
3239
|
x: l,
|
|
@@ -3210,10 +3245,10 @@ const P1 = ({
|
|
|
3210
3245
|
]
|
|
3211
3246
|
}
|
|
3212
3247
|
);
|
|
3213
|
-
},
|
|
3248
|
+
}, Jn = C.div`
|
|
3214
3249
|
display: flex;
|
|
3215
3250
|
align-items: center;
|
|
3216
|
-
`,
|
|
3251
|
+
`, e1 = C.div`
|
|
3217
3252
|
color: #ffffff;
|
|
3218
3253
|
background: #161616;
|
|
3219
3254
|
border-radius: ${(e) => e.theme.borderRadius};
|
|
@@ -3249,7 +3284,7 @@ const P1 = ({
|
|
|
3249
3284
|
let t = "";
|
|
3250
3285
|
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;
|
|
3251
3286
|
}};
|
|
3252
|
-
`,
|
|
3287
|
+
`, K1 = (e) => {
|
|
3253
3288
|
const {
|
|
3254
3289
|
in: t,
|
|
3255
3290
|
mountOnEnter: n = !0,
|
|
@@ -3305,7 +3340,7 @@ const P1 = ({
|
|
|
3305
3340
|
children: (l) => s && s(l, a && he.compose(l, a))
|
|
3306
3341
|
}
|
|
3307
3342
|
);
|
|
3308
|
-
},
|
|
3343
|
+
}, t1 = D(
|
|
3309
3344
|
({
|
|
3310
3345
|
className: e,
|
|
3311
3346
|
children: t,
|
|
@@ -3315,7 +3350,7 @@ const P1 = ({
|
|
|
3315
3350
|
activationOptions: r,
|
|
3316
3351
|
...s
|
|
3317
3352
|
}, c) => {
|
|
3318
|
-
const d =
|
|
3353
|
+
const d = N(), a = () => {
|
|
3319
3354
|
const { implementation: h } = d.get("$widget");
|
|
3320
3355
|
return h.widgets.get(o);
|
|
3321
3356
|
};
|
|
@@ -3328,13 +3363,13 @@ const P1 = ({
|
|
|
3328
3363
|
const l = (h) => {
|
|
3329
3364
|
const f = a(), m = h.currentTarget;
|
|
3330
3365
|
if (f) {
|
|
3331
|
-
const
|
|
3366
|
+
const g = () => {
|
|
3332
3367
|
f.invoke("renderState").then(
|
|
3333
|
-
(
|
|
3368
|
+
(p) => p === ne.open ? f.invoke("close") : f.invoke("open")
|
|
3334
3369
|
).then(() => {
|
|
3335
3370
|
f.events.subscribeOnce(
|
|
3336
3371
|
"widget:area-rendered",
|
|
3337
|
-
(
|
|
3372
|
+
(p, y) => {
|
|
3338
3373
|
d.get(
|
|
3339
3374
|
"widgetDOMElement"
|
|
3340
3375
|
) && f.events.dispatch("widget:modal-opened", {
|
|
@@ -3345,7 +3380,7 @@ const P1 = ({
|
|
|
3345
3380
|
);
|
|
3346
3381
|
});
|
|
3347
3382
|
};
|
|
3348
|
-
f.state === ht.Deactivated ? f.activate(r).then(() => f.invoke("attach")).then(
|
|
3383
|
+
f.state === ht.Deactivated ? f.activate(r).then(() => f.invoke("attach")).then(g) : g();
|
|
3349
3384
|
}
|
|
3350
3385
|
}, u = (h) => {
|
|
3351
3386
|
h.key === "Enter" && (h.preventDefault(), l(h));
|
|
@@ -3364,16 +3399,16 @@ const P1 = ({
|
|
|
3364
3399
|
}
|
|
3365
3400
|
);
|
|
3366
3401
|
}
|
|
3367
|
-
),
|
|
3402
|
+
), Y1 = D(
|
|
3368
3403
|
({ portalId: e = "humany-widget-overlay-portal", className: t, children: n }, o) => {
|
|
3369
|
-
const r =
|
|
3404
|
+
const r = N(), s = re(() => {
|
|
3370
3405
|
if (!r)
|
|
3371
3406
|
return null;
|
|
3372
3407
|
const c = r.get("widgetDOMElement");
|
|
3373
3408
|
return !c || !c.childElementCount ? null : c.children[0];
|
|
3374
3409
|
}, [r]);
|
|
3375
3410
|
return s ? /* @__PURE__ */ i(q, { elementId: e, parent: s, children: /* @__PURE__ */ i(
|
|
3376
|
-
|
|
3411
|
+
n1,
|
|
3377
3412
|
{
|
|
3378
3413
|
className: $(
|
|
3379
3414
|
"humany-widget-overlay-outlet",
|
|
@@ -3384,7 +3419,7 @@ const P1 = ({
|
|
|
3384
3419
|
}
|
|
3385
3420
|
) }) : null;
|
|
3386
3421
|
}
|
|
3387
|
-
),
|
|
3422
|
+
), n1 = C.div`
|
|
3388
3423
|
background-color: #ffffff;
|
|
3389
3424
|
position: absolute;
|
|
3390
3425
|
top: 0;
|
|
@@ -3394,7 +3429,7 @@ const P1 = ({
|
|
|
3394
3429
|
z-index: 10;
|
|
3395
3430
|
width: 100%;
|
|
3396
3431
|
height: 100%;
|
|
3397
|
-
`,
|
|
3432
|
+
`, X1 = (e, t, n, o, r) => e.getAsync("componentResolver").then((s) => (s.registerComponent(
|
|
3398
3433
|
t,
|
|
3399
3434
|
lt(() => n)
|
|
3400
3435
|
), Ct(e, t, o || (() => {
|
|
@@ -3402,93 +3437,93 @@ const P1 = ({
|
|
|
3402
3437
|
export {
|
|
3403
3438
|
zt as AnchorLink,
|
|
3404
3439
|
se as Button,
|
|
3405
|
-
|
|
3440
|
+
C1 as Checkbox,
|
|
3406
3441
|
Tt as ColumnContext,
|
|
3407
3442
|
Ze as ComponentNodeContext,
|
|
3408
|
-
|
|
3409
|
-
|
|
3443
|
+
Nt as ComponentPropertyContext,
|
|
3444
|
+
O1 as Confirm,
|
|
3410
3445
|
Bt as ContainerContext,
|
|
3411
3446
|
Wt as ConversationContext,
|
|
3412
|
-
|
|
3413
|
-
|
|
3447
|
+
Qn as DateFormats,
|
|
3448
|
+
N1 as Drawer,
|
|
3414
3449
|
Xt as DrawerAnimationType,
|
|
3415
3450
|
V1 as Dropdown,
|
|
3416
3451
|
nn as Empty,
|
|
3417
|
-
|
|
3452
|
+
W1 as Grid,
|
|
3418
3453
|
Ke as Html,
|
|
3419
3454
|
sn as Icon,
|
|
3420
|
-
|
|
3455
|
+
Z1 as Input,
|
|
3421
3456
|
ln as ItemList,
|
|
3422
|
-
|
|
3423
|
-
|
|
3457
|
+
I1 as ItemTree,
|
|
3458
|
+
En as Lightbox,
|
|
3424
3459
|
xe as Link,
|
|
3425
3460
|
an as List,
|
|
3426
|
-
|
|
3427
|
-
|
|
3461
|
+
An as Modal,
|
|
3462
|
+
A1 as NotFound,
|
|
3428
3463
|
Ye as Overlay,
|
|
3429
3464
|
cn as Paragraph,
|
|
3430
3465
|
q as Portal,
|
|
3431
3466
|
un as RouteLink,
|
|
3432
|
-
|
|
3467
|
+
Vt as RoutingContext,
|
|
3433
3468
|
Be as StyledText,
|
|
3434
3469
|
Q as SymbolBadge,
|
|
3435
|
-
|
|
3470
|
+
F1 as TabStop,
|
|
3436
3471
|
be as Text,
|
|
3437
|
-
|
|
3438
|
-
|
|
3439
|
-
|
|
3440
|
-
|
|
3472
|
+
qn as TextLink,
|
|
3473
|
+
P1 as Timestamp,
|
|
3474
|
+
j1 as Tooltip,
|
|
3475
|
+
K1 as TransitionComponent,
|
|
3441
3476
|
X as Typography,
|
|
3442
|
-
|
|
3443
|
-
|
|
3477
|
+
t1 as WidgetLink,
|
|
3478
|
+
Y1 as WidgetOverlayOutlet,
|
|
3444
3479
|
O as borderTabStyle,
|
|
3445
3480
|
De as browser,
|
|
3446
3481
|
At as buttonCss,
|
|
3447
3482
|
Pe as contentBox,
|
|
3448
|
-
|
|
3449
|
-
|
|
3450
|
-
|
|
3483
|
+
T as convertToStringAttributes,
|
|
3484
|
+
p1 as createEmptyComponent,
|
|
3485
|
+
X1 as createReactComponent,
|
|
3451
3486
|
Ht as defaultRenderInstructions,
|
|
3452
3487
|
Lt as embeddedLinkMapper,
|
|
3453
3488
|
We as filterCssProps,
|
|
3454
3489
|
Mt as filterCssPropsStyle,
|
|
3455
3490
|
St as genericHashLink,
|
|
3456
|
-
|
|
3491
|
+
T1 as genericHtml,
|
|
3457
3492
|
ie as headingElement,
|
|
3458
3493
|
Rt as imageLightboxRenderer,
|
|
3459
|
-
|
|
3460
|
-
|
|
3494
|
+
z1 as invertedHoverButton,
|
|
3495
|
+
B1 as itemList,
|
|
3461
3496
|
Ft as linkTabStyle,
|
|
3462
3497
|
Pt as list,
|
|
3463
|
-
|
|
3498
|
+
D1 as paddedBorderTabStyle,
|
|
3464
3499
|
Et as processHtmlString,
|
|
3465
3500
|
he as transitionComposer,
|
|
3466
|
-
|
|
3467
|
-
|
|
3468
|
-
|
|
3469
|
-
|
|
3501
|
+
y1 as useAction,
|
|
3502
|
+
b1 as useChildren,
|
|
3503
|
+
v1 as useColumns,
|
|
3504
|
+
x1 as useComponent,
|
|
3470
3505
|
pe as useComponentDescriptor,
|
|
3471
3506
|
Ce as useComponentNode,
|
|
3472
3507
|
Y as useComponentPlatform,
|
|
3473
|
-
|
|
3508
|
+
N as useContainer,
|
|
3474
3509
|
Zt as useContext,
|
|
3475
|
-
|
|
3476
|
-
|
|
3477
|
-
|
|
3510
|
+
w1 as useConversation,
|
|
3511
|
+
k1 as useDispatch,
|
|
3512
|
+
W as useEventListener,
|
|
3478
3513
|
It as useEvents,
|
|
3479
|
-
|
|
3480
|
-
|
|
3514
|
+
Z as useIsMounted,
|
|
3515
|
+
$1 as useIsTabbing,
|
|
3481
3516
|
j as useKeyPress,
|
|
3482
|
-
|
|
3517
|
+
L1 as useLayout,
|
|
3483
3518
|
Ie as usePrevious,
|
|
3484
|
-
|
|
3485
|
-
|
|
3486
|
-
|
|
3519
|
+
M1 as useProperties,
|
|
3520
|
+
S1 as useRenderState,
|
|
3521
|
+
E1 as useRouteData,
|
|
3487
3522
|
Oe as useRouter,
|
|
3488
3523
|
Ae as useScroll,
|
|
3489
|
-
|
|
3524
|
+
R1 as useSettings,
|
|
3490
3525
|
Fe as useToggle,
|
|
3491
|
-
|
|
3526
|
+
H1 as useTransitionEnd,
|
|
3492
3527
|
ye as useUniqueMenu,
|
|
3493
3528
|
ae as useWidgetEvent
|
|
3494
3529
|
};
|