@cntrl-site/components 1.0.102 → 1.0.104
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/ClickGallerie-D7g093HX.js +36 -0
- package/dist/{ClickGallerie-D_O1XhAO.mjs → ClickGallerie-QSOQjSdv.mjs} +92 -91
- package/dist/Components/ClickGallerie/ClickGallerie.d.ts +1 -0
- package/dist/Components/Scale/Scale.d.ts +2 -0
- package/dist/Components/helpers/LazyVideo/LazyVideo.d.ts +4 -0
- package/dist/Components/utils/index.d.ts +1 -0
- package/dist/Components/utils/useLazyVideos.d.ts +15 -0
- package/dist/Grid-B2_o1dvz.mjs +1576 -0
- package/dist/Grid-Bq6bk2AQ.js +374 -0
- package/dist/{Helix-2Vr-9WBa.js → Helix-B7rxlvKq.js} +2 -2
- package/dist/{Helix-BmkAKT1G.mjs → Helix-BrKQzGX5.mjs} +53 -53
- package/dist/{Hive-BGMWinrW.mjs → Hive-BusARSOi.mjs} +114 -111
- package/dist/Hive-Dh5nKPGm.js +321 -0
- package/dist/LazyVideo-Cn_vmMq8.js +1 -0
- package/dist/LazyVideo-D8eVYFyw.mjs +15 -0
- package/dist/Marquee-CdtAqhQE.mjs +563 -0
- package/dist/Marquee-DUN8wUax.js +133 -0
- package/dist/{Mercury-DuKJQ1Zo.mjs → Mercury-BRqlbk4i.mjs} +55 -54
- package/dist/Mercury-C-O2VGkK.js +267 -0
- package/dist/{PretextComponent-C3YFICy8.js → PretextComponent-D5P0AjnL.js} +1 -1
- package/dist/{PretextComponent-Ct0newmn.mjs → PretextComponent-s4DDfmzY.mjs} +25 -16
- package/dist/Scale-Bg3bGICG.js +114 -0
- package/dist/Scale-TnkWtRrs.mjs +409 -0
- package/dist/{Waterfall-A0FjM2my.mjs → Waterfall-DKuh4bnv.mjs} +299 -295
- package/dist/Waterfall-fdiHR0Rc.js +287 -0
- package/dist/{components-OE3ac1dr.js → components-DzNixU7Q.js} +1 -1
- package/dist/{components-w-jHX-2U.mjs → components-Yf9Zjska.mjs} +1 -1
- package/dist/elements.js +1 -1
- package/dist/elements.mjs +8 -8
- package/dist/elements.node.js +1 -1
- package/dist/elements.node.mjs +1 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +2 -2
- package/dist/sources.js +260 -72
- package/dist/sources.mjs +264 -76
- package/dist/useLazyVideos-BbgdvELi.js +1 -0
- package/dist/useLazyVideos-CZLyNolX.mjs +72 -0
- package/dist/utils.js +1 -1
- package/dist/utils.mjs +14 -12
- package/package.json +5 -3
- package/dist/ClickGallerie-M9xdGR1G.js +0 -36
- package/dist/Grid-CemGhf3F.js +0 -374
- package/dist/Grid-cfQsXW3b.mjs +0 -1553
- package/dist/Hive-BC6zQBsv.js +0 -321
- package/dist/Marquee-BYClHHws.mjs +0 -551
- package/dist/Marquee-vmHaTGIP.js +0 -133
- package/dist/Mercury-BwF_XW2w.js +0 -267
- package/dist/Scale-976sjO8e.js +0 -111
- package/dist/Scale-rLNT4KAk.mjs +0 -345
- package/dist/Waterfall-DnPDHbCL.js +0 -287
|
@@ -1,20 +1,22 @@
|
|
|
1
1
|
import { jsxs as kt, Fragment as be, jsx as d } from "react/jsx-runtime";
|
|
2
2
|
import { s as se } from "./scalingValue-C9JH5L6O.mjs";
|
|
3
3
|
import { u as un } from "./useScopedStyles-DhBG3557.mjs";
|
|
4
|
+
import { u as dn } from "./useLazyVideos-CZLyNolX.mjs";
|
|
5
|
+
import { L as fn } from "./LazyVideo-D8eVYFyw.mjs";
|
|
4
6
|
import { useRef as w, useState as $, useMemo as $e, useCallback as m, useEffect as G, useLayoutEffect as le } from "react";
|
|
5
|
-
import { createPortal as
|
|
6
|
-
import { H as
|
|
7
|
-
import { g as
|
|
8
|
-
function
|
|
7
|
+
import { createPortal as hn } from "react-dom";
|
|
8
|
+
import { H as gn } from "./HiveLightboxTitles-DhEeFKWs.mjs";
|
|
9
|
+
import { g as pn } from "./getImageRect-CBMhFNHM.mjs";
|
|
10
|
+
function mn(t) {
|
|
9
11
|
return `calc(var(--cntrl-article-width, 100vw) * ${t / 1440})`;
|
|
10
12
|
}
|
|
11
|
-
function
|
|
13
|
+
function wn(t) {
|
|
12
14
|
return `
|
|
13
15
|
.${t}-wrapper {
|
|
14
16
|
display: grid;
|
|
15
17
|
align-items: start;
|
|
16
18
|
justify-content: center;
|
|
17
|
-
min-height: ${
|
|
19
|
+
min-height: ${mn(48)};
|
|
18
20
|
}
|
|
19
21
|
.${t}-item {
|
|
20
22
|
display: flex;
|
|
@@ -331,24 +333,24 @@ function pn(t) {
|
|
|
331
333
|
}
|
|
332
334
|
`;
|
|
333
335
|
}
|
|
334
|
-
const
|
|
335
|
-
function
|
|
336
|
+
const Be = { assetId: "", name: "", objectFit: "cover" }, rt = 500, Ut = 650, B = "cubic-bezier(0.22, 1, 0.36, 1)", vn = 72, yn = 50, $n = 1e4, xn = 650, bn = 500;
|
|
337
|
+
function In(t, e) {
|
|
336
338
|
const i = t.width / e.width, r = t.height / e.height, o = t.left - e.left, l = t.top - e.top;
|
|
337
339
|
return `translate(${o}px, ${l}px) scale(${i}, ${r})`;
|
|
338
340
|
}
|
|
339
341
|
function Ye(t, e) {
|
|
340
342
|
if (e === "contain" && t instanceof HTMLImageElement) {
|
|
341
|
-
const r =
|
|
343
|
+
const r = pn(t);
|
|
342
344
|
return { left: r.x, top: r.y, width: r.width, height: r.height };
|
|
343
345
|
}
|
|
344
346
|
const i = t.getBoundingClientRect();
|
|
345
347
|
return { left: i.left, top: i.top, width: i.width, height: i.height };
|
|
346
348
|
}
|
|
347
|
-
function
|
|
349
|
+
function Sn(t, e, i) {
|
|
348
350
|
const r = t.querySelector(`[data-hive-grid-index="${e}"]`);
|
|
349
351
|
return r instanceof HTMLElement ? Ye(r, i) : null;
|
|
350
352
|
}
|
|
351
|
-
function
|
|
353
|
+
function Ln(t) {
|
|
352
354
|
return t.reduce((e, i, r) => {
|
|
353
355
|
const o = Se(i.gallery), g = Le(o).filter((a) => a.lightboxMedia).map((a) => a.lightboxMedia);
|
|
354
356
|
return g.length === 0 || e.push({
|
|
@@ -373,9 +375,9 @@ function Ge(t, e, i) {
|
|
|
373
375
|
const r = (e + i + t.length) % t.length;
|
|
374
376
|
return Zt(t, r, i);
|
|
375
377
|
}
|
|
376
|
-
const
|
|
378
|
+
const kn = 0.03;
|
|
377
379
|
function qe(t) {
|
|
378
|
-
return t.width *
|
|
380
|
+
return t.width * kn;
|
|
379
381
|
}
|
|
380
382
|
const xe = {
|
|
381
383
|
left: 0,
|
|
@@ -395,7 +397,7 @@ function Xe(t) {
|
|
|
395
397
|
const e = t.getBoundingClientRect();
|
|
396
398
|
return { width: e.width, height: e.height, left: e.left, top: e.top };
|
|
397
399
|
}
|
|
398
|
-
function
|
|
400
|
+
function An(t) {
|
|
399
401
|
return t instanceof HTMLVideoElement ? { width: t.videoWidth, height: t.videoHeight } : { width: t.naturalWidth, height: t.naturalHeight };
|
|
400
402
|
}
|
|
401
403
|
function Ie(t, e, i) {
|
|
@@ -407,11 +409,11 @@ function Ie(t, e, i) {
|
|
|
407
409
|
const b = l * g;
|
|
408
410
|
return { width: b, height: l, left: r.left + (o - b) / 2, top: r.top };
|
|
409
411
|
}
|
|
410
|
-
function
|
|
412
|
+
function Rn(t, e) {
|
|
411
413
|
return !t || !(e != null && e.width) || !(e != null && e.height) ? null : Ie(t, e.width, e.height);
|
|
412
414
|
}
|
|
413
|
-
function
|
|
414
|
-
if (
|
|
415
|
+
function Tn(t, e) {
|
|
416
|
+
if (zt(t)) {
|
|
415
417
|
const r = document.createElement("video"), o = () => {
|
|
416
418
|
r.videoWidth > 0 && r.videoHeight > 0 && e(t.assetId, r.videoWidth, r.videoHeight), r.removeEventListener("loadedmetadata", o);
|
|
417
419
|
};
|
|
@@ -423,7 +425,7 @@ function An(t, e) {
|
|
|
423
425
|
i.naturalWidth > 0 && i.naturalHeight > 0 && e(t.assetId, i.naturalWidth, i.naturalHeight);
|
|
424
426
|
}, i.src = t.assetId;
|
|
425
427
|
}
|
|
426
|
-
function
|
|
428
|
+
function Hn(t) {
|
|
427
429
|
const e = /* @__PURE__ */ new Set(), i = [];
|
|
428
430
|
for (const r of t) {
|
|
429
431
|
const o = Se(r.gallery), l = Le(o);
|
|
@@ -433,10 +435,12 @@ function Rn(t) {
|
|
|
433
435
|
}
|
|
434
436
|
return i;
|
|
435
437
|
}
|
|
436
|
-
function
|
|
437
|
-
|
|
438
|
+
function Cn({ mediaList: t }) {
|
|
439
|
+
const [e, i] = $(null);
|
|
440
|
+
return dn(e, { preload: "metadata" }), t.length === 0 ? null : /* @__PURE__ */ d(
|
|
438
441
|
"div",
|
|
439
442
|
{
|
|
443
|
+
ref: i,
|
|
440
444
|
"aria-hidden": !0,
|
|
441
445
|
style: {
|
|
442
446
|
position: "absolute",
|
|
@@ -446,22 +450,22 @@ function Tn({ mediaList: t }) {
|
|
|
446
450
|
opacity: 0,
|
|
447
451
|
pointerEvents: "none"
|
|
448
452
|
},
|
|
449
|
-
children: t.map((
|
|
453
|
+
children: t.map((r) => zt(r) ? /* @__PURE__ */ d(
|
|
450
454
|
"video",
|
|
451
455
|
{
|
|
452
|
-
src:
|
|
453
|
-
preload: "
|
|
456
|
+
src: r.assetId,
|
|
457
|
+
preload: "none",
|
|
454
458
|
muted: !0,
|
|
455
459
|
playsInline: !0
|
|
456
460
|
},
|
|
457
|
-
|
|
461
|
+
r.assetId
|
|
458
462
|
) : /* @__PURE__ */ d(
|
|
459
463
|
"img",
|
|
460
464
|
{
|
|
461
|
-
src:
|
|
465
|
+
src: r.assetId,
|
|
462
466
|
alt: ""
|
|
463
467
|
},
|
|
464
|
-
|
|
468
|
+
r.assetId
|
|
465
469
|
))
|
|
466
470
|
}
|
|
467
471
|
);
|
|
@@ -487,7 +491,7 @@ function ue(t, e, i) {
|
|
|
487
491
|
left: 2 * r.left - t.left
|
|
488
492
|
};
|
|
489
493
|
}
|
|
490
|
-
function
|
|
494
|
+
function Nn(t, e, i) {
|
|
491
495
|
const { left: r, width: o } = i, l = qe(i);
|
|
492
496
|
return e === "left" ? {
|
|
493
497
|
left: r,
|
|
@@ -529,14 +533,14 @@ function Ue(t, e, i, r) {
|
|
|
529
533
|
return { start: t, end: t };
|
|
530
534
|
}
|
|
531
535
|
}
|
|
532
|
-
function
|
|
536
|
+
function Fn(t, e, i, r) {
|
|
533
537
|
const { start: o, end: l } = Ue(t, e, i, r);
|
|
534
538
|
return {
|
|
535
539
|
x: l.left - o.left,
|
|
536
540
|
y: l.top - o.top
|
|
537
541
|
};
|
|
538
542
|
}
|
|
539
|
-
function
|
|
543
|
+
function En(t, e, i) {
|
|
540
544
|
const r = Ot(t, e, i), o = ue(t, e, i);
|
|
541
545
|
return {
|
|
542
546
|
x: o.left - r.left,
|
|
@@ -556,16 +560,16 @@ function Se(t) {
|
|
|
556
560
|
if (!(!r && !o))
|
|
557
561
|
return [{
|
|
558
562
|
media: [
|
|
559
|
-
o ?? r ??
|
|
560
|
-
r ?? o ??
|
|
563
|
+
o ?? r ?? Be,
|
|
564
|
+
r ?? o ?? Be
|
|
561
565
|
]
|
|
562
566
|
}];
|
|
563
567
|
}
|
|
564
|
-
function
|
|
568
|
+
function Wn(t) {
|
|
565
569
|
const [e, i] = t.media;
|
|
566
570
|
return i != null && i.assetId ? i : e != null && e.assetId ? e : null;
|
|
567
571
|
}
|
|
568
|
-
function
|
|
572
|
+
function jn(t) {
|
|
569
573
|
const [e] = t.media;
|
|
570
574
|
return e != null && e.assetId ? e : null;
|
|
571
575
|
}
|
|
@@ -574,9 +578,9 @@ function Le(t) {
|
|
|
574
578
|
if (Ze(t)) {
|
|
575
579
|
const e = [];
|
|
576
580
|
for (const i of t) {
|
|
577
|
-
const r =
|
|
581
|
+
const r = Wn(i);
|
|
578
582
|
if (!r) continue;
|
|
579
|
-
const o =
|
|
583
|
+
const o = jn(i);
|
|
580
584
|
e.push({
|
|
581
585
|
displayMedia: r,
|
|
582
586
|
lightboxMedia: o != null && o.assetId ? o : null
|
|
@@ -589,18 +593,18 @@ function Le(t) {
|
|
|
589
593
|
lightboxMedia: e
|
|
590
594
|
}));
|
|
591
595
|
}
|
|
592
|
-
function
|
|
596
|
+
function zt(t) {
|
|
593
597
|
return t.type === "video" ? !0 : /\.(mp4|webm|ogg|mov)(\?|#|$)/i.test(t.assetId);
|
|
594
598
|
}
|
|
595
|
-
function
|
|
599
|
+
function On({
|
|
596
600
|
media: t,
|
|
597
601
|
className: e,
|
|
598
602
|
style: i,
|
|
599
603
|
gridIndex: r,
|
|
600
604
|
onMediaClick: o
|
|
601
605
|
}) {
|
|
602
|
-
return
|
|
603
|
-
|
|
606
|
+
return zt(t) ? /* @__PURE__ */ d(
|
|
607
|
+
fn,
|
|
604
608
|
{
|
|
605
609
|
src: t.assetId,
|
|
606
610
|
className: e,
|
|
@@ -613,7 +617,6 @@ function Wn({
|
|
|
613
617
|
autoPlay: !0,
|
|
614
618
|
loop: !0,
|
|
615
619
|
playsInline: !0,
|
|
616
|
-
preload: "auto",
|
|
617
620
|
onClick: o
|
|
618
621
|
}
|
|
619
622
|
) : /* @__PURE__ */ d(
|
|
@@ -631,7 +634,7 @@ function Wn({
|
|
|
631
634
|
}
|
|
632
635
|
);
|
|
633
636
|
}
|
|
634
|
-
function
|
|
637
|
+
function zn({
|
|
635
638
|
src: t,
|
|
636
639
|
phase: e,
|
|
637
640
|
onMediaElement: i,
|
|
@@ -667,7 +670,7 @@ function ce({
|
|
|
667
670
|
onTransitionEnd: i,
|
|
668
671
|
onMeasure: r
|
|
669
672
|
}) {
|
|
670
|
-
return
|
|
673
|
+
return zt(t) ? /* @__PURE__ */ d(
|
|
671
674
|
"video",
|
|
672
675
|
{
|
|
673
676
|
src: t.assetId,
|
|
@@ -695,7 +698,7 @@ function ce({
|
|
|
695
698
|
}
|
|
696
699
|
);
|
|
697
700
|
}
|
|
698
|
-
function
|
|
701
|
+
function Dn({
|
|
699
702
|
prefix: t,
|
|
700
703
|
items: e,
|
|
701
704
|
index: i,
|
|
@@ -710,12 +713,12 @@ function On({
|
|
|
710
713
|
layoutId: X,
|
|
711
714
|
sourceRect: O,
|
|
712
715
|
resolveCloseSourceRect: At,
|
|
713
|
-
onClose:
|
|
716
|
+
onClose: Dt,
|
|
714
717
|
onPrev: Mt,
|
|
715
718
|
onNext: _t
|
|
716
719
|
}) {
|
|
717
|
-
const Kt = w(null), Rt = w(null), Tt = w(null), Ht = w(/* @__PURE__ */ new Map()), [q, Ct] = $(0), st = w(null), xt = w(0),
|
|
718
|
-
}), K = w(null),
|
|
720
|
+
const Kt = w(null), Rt = w(null), Tt = w(null), Ht = w(/* @__PURE__ */ new Map()), [q, Ct] = $(0), st = w(null), xt = w(0), z = w(0), W = w("none"), U = w(!1), Z = w(!1), lt = w(!1), at = w(null), k = w(null), Nt = w(null), ft = w(() => {
|
|
721
|
+
}), K = w(null), D = w(null), ht = w(null), ct = w(!1), [R, bt] = $(null), [T, Jt] = $(xe), [de, fe] = $(0), [f, gt] = $("opening"), [J, It] = $(0), [Vt, A] = $(0), [Y, he] = $(!1), [Q, pt] = $(null), [St, mt] = $(null), [x, v] = $(null), [wt, H] = $(!1), [vt, Bt] = $(null), [Gt, P] = $(!1), Lt = w(!1), [M, E] = $(!1), [Ke, ke] = $(!1), Ae = w(i), Re = w(void 0), h = e[i], Qt = h ? zt(h) : !1, tt = Vt !== 0 || Y, ge = !g && (!l || !!a), ut = b && !g, yt = L.length > 1, Ft = m((n, s) => e.length <= 1 ? null : e[(n + s + e.length) % e.length] ?? null, [e]), C = yt ? Zt(L, ot, -1) : Ft(i, -1), N = yt ? Zt(L, ot, 1) : Ft(i, 1), pe = Q === -1 && tt ? yt && St !== null ? Zt(L, St, -1) : x !== null ? Ft(x, -1) : null : null, me = Q === 1 && tt ? yt && St !== null ? Zt(L, St, 1) : x !== null ? Ft(x, 1) : null : null, Je = pe && pe.assetId !== (C == null ? void 0 : C.assetId) ? pe : null, Qe = me && me.assetId !== (N == null ? void 0 : N.assetId) ? me : null, Pe = C && ut ? (() => {
|
|
719
722
|
const n = yt ? Ge(L, ot, -1) : e.length > 2 ? Ft((i - 1 + e.length) % e.length, -1) : null;
|
|
720
723
|
return n && n.assetId !== C.assetId ? n : null;
|
|
721
724
|
})() : null, tn = N && ut ? (() => {
|
|
@@ -724,11 +727,11 @@ function On({
|
|
|
724
727
|
})() : null, Pt = Je ?? Pe, te = Qe ?? tn, $t = m((n, s, u) => {
|
|
725
728
|
if (!n || !s || !u) return;
|
|
726
729
|
const c = Ht.current, y = c.get(n);
|
|
727
|
-
(y == null ? void 0 : y.width) === s && (y == null ? void 0 : y.height) === u || (c.set(n, { width: s, height: u }), Ct((
|
|
730
|
+
(y == null ? void 0 : y.width) === s && (y == null ? void 0 : y.height) === u || (c.set(n, { width: s, height: u }), Ct((V) => V + 1));
|
|
728
731
|
}, []), Et = m((n) => {
|
|
729
732
|
if (!(n != null && n.assetId)) return null;
|
|
730
733
|
const s = Ht.current.get(n.assetId);
|
|
731
|
-
return
|
|
734
|
+
return Rn(Rt.current, s);
|
|
732
735
|
}, [q, de]), ee = m(() => {
|
|
733
736
|
if (!h) return;
|
|
734
737
|
const n = Et(h);
|
|
@@ -774,11 +777,11 @@ function On({
|
|
|
774
777
|
}, []), Ce = m((n, s) => {
|
|
775
778
|
if (tt) {
|
|
776
779
|
if (M && !Y)
|
|
777
|
-
return `translate(${
|
|
780
|
+
return `translate(${Vt}px, 0px)`;
|
|
778
781
|
if (Y && Q !== null) {
|
|
779
782
|
const u = Et(n);
|
|
780
783
|
if (!u) return;
|
|
781
|
-
const { x: c, y } =
|
|
784
|
+
const { x: c, y } = Fn(u, s, Q, T);
|
|
782
785
|
return `translate(${c}px, ${y}px)`;
|
|
783
786
|
}
|
|
784
787
|
if (Y)
|
|
@@ -788,19 +791,19 @@ function On({
|
|
|
788
791
|
tt,
|
|
789
792
|
M,
|
|
790
793
|
Y,
|
|
791
|
-
|
|
794
|
+
Vt,
|
|
792
795
|
Q,
|
|
793
796
|
T,
|
|
794
797
|
Et
|
|
795
798
|
]), Wt = m(() => {
|
|
796
799
|
const n = k.current;
|
|
797
|
-
k.current = null, I(), F(!1), pt(null), mt(null), v(null), A(0), E(!1), U.current = !1,
|
|
800
|
+
k.current = null, I(), F(!1), pt(null), mt(null), v(null), A(0), E(!1), U.current = !1, z.current = 0, W.current = "none", n === -1 ? Mt() : n === 1 && _t();
|
|
798
801
|
}, [I, F, Mt, _t]), ie = m(() => {
|
|
799
802
|
I(), at.current = window.setTimeout(() => {
|
|
800
803
|
k.current !== null && Wt();
|
|
801
804
|
}, Ut + 32);
|
|
802
805
|
}, [I, Wt]), Ne = m(() => {
|
|
803
|
-
I(), k.current = null, F(!1), pt(null), mt(null), v(null), A(0), E(!1), U.current = !1,
|
|
806
|
+
I(), k.current = null, F(!1), pt(null), mt(null), v(null), A(0), E(!1), U.current = !1, z.current = 0, W.current = "none";
|
|
804
807
|
}, [I, F]), Fe = m((n) => {
|
|
805
808
|
if (!(!ut || !R)) {
|
|
806
809
|
if (lt.current) {
|
|
@@ -824,17 +827,17 @@ function On({
|
|
|
824
827
|
]);
|
|
825
828
|
ft.current = Fe;
|
|
826
829
|
const dt = m(() => {
|
|
827
|
-
K.current = null, ct.current = !1,
|
|
830
|
+
K.current = null, ct.current = !1, D.current !== null && (window.clearInterval(D.current), D.current = null), ht.current !== null && (window.clearTimeout(ht.current), ht.current = null);
|
|
828
831
|
}, []), we = m((n) => {
|
|
829
|
-
|
|
830
|
-
const s = ct.current ?
|
|
831
|
-
|
|
832
|
+
D.current !== null && window.clearInterval(D.current);
|
|
833
|
+
const s = ct.current ? bn : xn;
|
|
834
|
+
D.current = window.setInterval(() => {
|
|
832
835
|
ft.current(n);
|
|
833
836
|
}, s);
|
|
834
837
|
}, []), Ee = m((n) => {
|
|
835
838
|
K.current !== n && (dt(), K.current = n, ct.current = !1, ft.current(n), we(n), ht.current = window.setTimeout(() => {
|
|
836
839
|
ht.current = null, K.current === n && (ct.current = !0, we(n));
|
|
837
|
-
},
|
|
840
|
+
}, $n));
|
|
838
841
|
}, [dt, we]), et = m(() => {
|
|
839
842
|
const n = Rt.current;
|
|
840
843
|
if (!n) return;
|
|
@@ -845,9 +848,9 @@ function On({
|
|
|
845
848
|
}
|
|
846
849
|
const c = Tt.current;
|
|
847
850
|
if (c && s && (c.src === s || c.currentSrc === s)) {
|
|
848
|
-
const { width:
|
|
849
|
-
if (
|
|
850
|
-
$t(s,
|
|
851
|
+
const { width: V, height: p } = An(c);
|
|
852
|
+
if (V && p) {
|
|
853
|
+
$t(s, V, p), bt(Ie(n, V, p));
|
|
851
854
|
return;
|
|
852
855
|
}
|
|
853
856
|
}
|
|
@@ -887,7 +890,7 @@ function On({
|
|
|
887
890
|
!(c != null && c.assetId) || n.has(c.assetId) || (n.add(c.assetId), s.push(c));
|
|
888
891
|
};
|
|
889
892
|
e.forEach(u), L.forEach((c) => c.items.forEach(u)), s.forEach((c) => {
|
|
890
|
-
Ht.current.has(c.assetId) ||
|
|
893
|
+
Ht.current.has(c.assetId) || Tn(c, $t);
|
|
891
894
|
});
|
|
892
895
|
}, [e, L, $t]), G(() => {
|
|
893
896
|
if (f !== "opening" || !R) return;
|
|
@@ -904,12 +907,12 @@ function On({
|
|
|
904
907
|
return () => cancelAnimationFrame(n);
|
|
905
908
|
}, [f, R, O]), G(() => {
|
|
906
909
|
if (f !== "closing") return;
|
|
907
|
-
const n = setTimeout(() =>
|
|
910
|
+
const n = setTimeout(() => Dt(), rt);
|
|
908
911
|
return () => clearTimeout(n);
|
|
909
|
-
}, [f,
|
|
912
|
+
}, [f, Dt]), G(() => () => {
|
|
910
913
|
I();
|
|
911
914
|
}, [I]), le(() => {
|
|
912
|
-
Ae.current === i && Re.current === (h == null ? void 0 : h.assetId) || (I(), k.current = null, pt(null), mt(null), v(null), It(0), A(0), F(!1), ke(!1), E(!1), xt.current = 0,
|
|
915
|
+
Ae.current === i && Re.current === (h == null ? void 0 : h.assetId) || (I(), k.current = null, pt(null), mt(null), v(null), It(0), A(0), F(!1), ke(!1), E(!1), xt.current = 0, z.current = 0, W.current = "none", U.current = !1, st.current = null, Z.current = !1, Tt.current = null, ee(), Ae.current = i, Re.current = h == null ? void 0 : h.assetId);
|
|
913
916
|
}, [i, h == null ? void 0 : h.assetId, F, I, ee]), le(() => {
|
|
914
917
|
const n = Nt.current;
|
|
915
918
|
n !== null && (Nt.current = null, requestAnimationFrame(() => {
|
|
@@ -943,7 +946,7 @@ function On({
|
|
|
943
946
|
const S = p < 0 ? 1 : -1;
|
|
944
947
|
I(), ne(S), k.current = S, pt(S), F(!0), ie();
|
|
945
948
|
}, u = (p) => {
|
|
946
|
-
if (Math.abs(p) >
|
|
949
|
+
if (Math.abs(p) > yn && ut) {
|
|
947
950
|
s(p);
|
|
948
951
|
return;
|
|
949
952
|
}
|
|
@@ -951,7 +954,7 @@ function On({
|
|
|
951
954
|
}, c = (p) => {
|
|
952
955
|
if (p.touches.length !== 1 || lt.current) return;
|
|
953
956
|
const S = p.touches[0];
|
|
954
|
-
Z.current = !0, st.current = { x: S.clientX, y: S.clientY }, W.current = "none",
|
|
957
|
+
Z.current = !0, st.current = { x: S.clientX, y: S.clientY }, W.current = "none", z.current = 0, U.current = !1;
|
|
955
958
|
}, y = (p) => {
|
|
956
959
|
if (!st.current || p.touches.length !== 1 || lt.current) return;
|
|
957
960
|
const S = p.touches[0], nt = S.clientX - st.current.x, it = S.clientY - st.current.y;
|
|
@@ -967,33 +970,33 @@ function On({
|
|
|
967
970
|
return;
|
|
968
971
|
}
|
|
969
972
|
if (W.current === "horizontal") {
|
|
970
|
-
U.current = !0, E(!0),
|
|
973
|
+
U.current = !0, E(!0), z.current = nt, A(nt), p.preventDefault();
|
|
971
974
|
return;
|
|
972
975
|
}
|
|
973
976
|
W.current === "vertical" && (U.current = !0, E(!0), xt.current = it, It(it), p.preventDefault());
|
|
974
|
-
},
|
|
977
|
+
}, V = () => {
|
|
975
978
|
if (!st.current) return;
|
|
976
979
|
const p = W.current, S = U.current;
|
|
977
980
|
if (S && p === "horizontal")
|
|
978
|
-
u(
|
|
981
|
+
u(z.current), n();
|
|
979
982
|
else if (S && p === "vertical") {
|
|
980
983
|
const nt = xt.current;
|
|
981
|
-
if (ge && nt >
|
|
984
|
+
if (ge && nt > vn) {
|
|
982
985
|
const it = window.innerHeight;
|
|
983
986
|
xt.current = it, ke(!0), It(it), gt("closing");
|
|
984
987
|
} else
|
|
985
988
|
xt.current = 0, It(0);
|
|
986
989
|
n();
|
|
987
|
-
} else p === "horizontal" && Math.abs(
|
|
988
|
-
st.current = null, W.current = "none",
|
|
990
|
+
} else p === "horizontal" && Math.abs(z.current) > 0 && (u(z.current), n());
|
|
991
|
+
st.current = null, W.current = "none", z.current = 0, U.current = !1, E(!1);
|
|
989
992
|
};
|
|
990
|
-
return document.addEventListener("touchstart", c, { passive: !0 }), document.addEventListener("touchmove", y, { passive: !1 }), document.addEventListener("touchend",
|
|
991
|
-
document.removeEventListener("touchstart", c), document.removeEventListener("touchmove", y), document.removeEventListener("touchend",
|
|
993
|
+
return document.addEventListener("touchstart", c, { passive: !0 }), document.addEventListener("touchmove", y, { passive: !1 }), document.addEventListener("touchend", V), document.addEventListener("touchcancel", V), () => {
|
|
994
|
+
document.removeEventListener("touchstart", c), document.removeEventListener("touchmove", y), document.removeEventListener("touchend", V), document.removeEventListener("touchcancel", V);
|
|
992
995
|
};
|
|
993
996
|
}, [f, ut, F, Te, I, ge, ie, ne]);
|
|
994
997
|
const ve = m(() => {
|
|
995
998
|
const n = (At == null ? void 0 : At()) ?? O ?? null;
|
|
996
|
-
n && R && (
|
|
999
|
+
n && R && (Bt(n), H(!0)), gt("closing");
|
|
997
1000
|
}, [At, O, R]);
|
|
998
1001
|
G(() => {
|
|
999
1002
|
const n = (c) => {
|
|
@@ -1037,7 +1040,7 @@ function On({
|
|
|
1037
1040
|
}
|
|
1038
1041
|
I(), F(!1);
|
|
1039
1042
|
}
|
|
1040
|
-
}, [I, F, Wt]), ye = f === "closing" ? vt ?? O : O, rn = ye && R && (f === "opening" || re) ?
|
|
1043
|
+
}, [I, F, Wt]), ye = f === "closing" ? vt ?? O : O, rn = ye && R && (f === "opening" || re) ? In(ye, R) : void 0, on = tt && h ? Ce(h, "center") : J > 0 ? `translateY(${J}px)` : rn, _ = R ? ae(R, T) : null, Oe = !!(ye && R), sn = Oe && (f === "closing" || f === "open" && wt), ze = {
|
|
1041
1044
|
position: "absolute",
|
|
1042
1045
|
top: _ == null ? void 0 : _.top,
|
|
1043
1046
|
left: _ == null ? void 0 : _.left,
|
|
@@ -1047,7 +1050,7 @@ function On({
|
|
|
1047
1050
|
transformOrigin: "top left",
|
|
1048
1051
|
transform: on,
|
|
1049
1052
|
opacity: J > 0 ? nn : Oe ? 1 : f === "opening" || re ? 0 : 1,
|
|
1050
|
-
transition: M && !Y ? "none" : Y ? `transform ${Ut}ms ${
|
|
1053
|
+
transition: M && !Y ? "none" : Y ? `transform ${Ut}ms ${B}` : Ke ? `transform ${rt}ms ${B}, opacity ${rt}ms ${B}` : sn ? `transform ${rt}ms ${B}` : f === "opening" || re ? `opacity ${rt}ms ${B}` : "none",
|
|
1051
1054
|
pointerEvents: Qt && j && !tt ? "auto" : "none",
|
|
1052
1055
|
touchAction: Qt && j ? "none" : void 0,
|
|
1053
1056
|
zIndex: 1,
|
|
@@ -1061,9 +1064,9 @@ function On({
|
|
|
1061
1064
|
}, oe = (n, s, u = "adjacent") => {
|
|
1062
1065
|
const c = Et(n);
|
|
1063
1066
|
if (!c) return { display: "none" };
|
|
1064
|
-
const y = u === "far" ? s === "left" ? "far-left" : "far-right" : s === "left" ? "left-adjacent" : "right-adjacent", { start:
|
|
1067
|
+
const y = u === "far" ? s === "left" ? "far-left" : "far-right" : s === "left" ? "left-adjacent" : "right-adjacent", { start: V } = Q !== null ? Ue(c, y, Q, T) : {
|
|
1065
1068
|
start: u === "far" ? ue(c, s, T) : Ot(c, s, T)
|
|
1066
|
-
}, p = ae(
|
|
1069
|
+
}, p = ae(V, T), S = Ce(n, y), nt = !tt && u === "adjacent" && j && !Gt ? En(c, s, T) : null, it = u === "far" && tt && Q === (s === "left" ? -1 : 1), an = M && !Y ? !1 : Y, cn = u === "adjacent" && j && Gt && !tt;
|
|
1067
1070
|
return {
|
|
1068
1071
|
position: "absolute",
|
|
1069
1072
|
top: p.top,
|
|
@@ -1073,13 +1076,13 @@ function On({
|
|
|
1073
1076
|
objectFit: "contain",
|
|
1074
1077
|
transform: S ?? (nt ? `translate(${nt.x}px, ${nt.y}px)` : void 0),
|
|
1075
1078
|
opacity: u === "far" ? j && it ? 1 : 0 : j ? 1 : 0,
|
|
1076
|
-
transition: an ? u === "far" ? `transform ${Ut}ms ${
|
|
1079
|
+
transition: an ? u === "far" ? `transform ${Ut}ms ${B}` : `transform ${Ut}ms ${B}, opacity ${rt}ms ${B}` : cn ? `transform ${rt}ms ${B}` : f === "opening" || re ? `opacity ${rt}ms ${B}` : "none",
|
|
1077
1080
|
pointerEvents: "none",
|
|
1078
1081
|
zIndex: 1
|
|
1079
1082
|
};
|
|
1080
|
-
},
|
|
1083
|
+
}, De = (n, s) => {
|
|
1081
1084
|
const u = Et(n);
|
|
1082
|
-
return u ?
|
|
1085
|
+
return u ? Nn(Ot(u, s, T), s, T) : null;
|
|
1083
1086
|
}, Me = (n) => (s) => {
|
|
1084
1087
|
if (!g) {
|
|
1085
1088
|
if (Z.current) {
|
|
@@ -1088,7 +1091,7 @@ function On({
|
|
|
1088
1091
|
}
|
|
1089
1092
|
s.stopPropagation(), Fe(n);
|
|
1090
1093
|
}
|
|
1091
|
-
}, _e = C ?
|
|
1094
|
+
}, _e = C ? De(C, "left") : null, Ve = N ? De(N, "right") : null, Yt = _e ? ae(_e, T) : null, qt = Ve ? ae(Ve, T) : null;
|
|
1092
1095
|
return /* @__PURE__ */ kt(
|
|
1093
1096
|
"div",
|
|
1094
1097
|
{
|
|
@@ -1111,7 +1114,7 @@ function On({
|
|
|
1111
1114
|
inset: 0,
|
|
1112
1115
|
background: o.backgroundColor ?? "#FFFFFF",
|
|
1113
1116
|
opacity: j ? en : 0,
|
|
1114
|
-
transition: M ? "none" : `opacity ${rt}ms ${
|
|
1117
|
+
transition: M ? "none" : `opacity ${rt}ms ${B}`,
|
|
1115
1118
|
pointerEvents: "none"
|
|
1116
1119
|
}
|
|
1117
1120
|
}
|
|
@@ -1155,11 +1158,11 @@ function On({
|
|
|
1155
1158
|
position: "absolute",
|
|
1156
1159
|
inset: 0,
|
|
1157
1160
|
opacity: j ? 1 : 0,
|
|
1158
|
-
transition: M ? "none" : `opacity ${rt}ms ${
|
|
1161
|
+
transition: M ? "none" : `opacity ${rt}ms ${B}`,
|
|
1159
1162
|
pointerEvents: "none"
|
|
1160
1163
|
},
|
|
1161
1164
|
children: /* @__PURE__ */ d(
|
|
1162
|
-
|
|
1165
|
+
gn,
|
|
1163
1166
|
{
|
|
1164
1167
|
prefix: t,
|
|
1165
1168
|
entry: r,
|
|
@@ -1250,12 +1253,12 @@ function On({
|
|
|
1250
1253
|
`far-next-${te.assetId}`
|
|
1251
1254
|
),
|
|
1252
1255
|
R && h && (Qt ? /* @__PURE__ */ d(
|
|
1253
|
-
|
|
1256
|
+
zn,
|
|
1254
1257
|
{
|
|
1255
1258
|
src: h.assetId,
|
|
1256
1259
|
phase: f,
|
|
1257
1260
|
onMediaElement: We,
|
|
1258
|
-
wrapperStyle:
|
|
1261
|
+
wrapperStyle: ze,
|
|
1259
1262
|
videoStyle: ln,
|
|
1260
1263
|
onLoadedMetadata: et,
|
|
1261
1264
|
onTransitionEnd: jt
|
|
@@ -1269,7 +1272,7 @@ function On({
|
|
|
1269
1272
|
alt: h.name,
|
|
1270
1273
|
onLoad: et,
|
|
1271
1274
|
onTransitionEnd: jt,
|
|
1272
|
-
style:
|
|
1275
|
+
style: ze
|
|
1273
1276
|
},
|
|
1274
1277
|
`${i}-${h.assetId}`
|
|
1275
1278
|
))
|
|
@@ -1277,7 +1280,7 @@ function On({
|
|
|
1277
1280
|
}
|
|
1278
1281
|
);
|
|
1279
1282
|
}
|
|
1280
|
-
function
|
|
1283
|
+
function Zn({
|
|
1281
1284
|
settings: t,
|
|
1282
1285
|
content: e,
|
|
1283
1286
|
isEditor: i,
|
|
@@ -1286,7 +1289,7 @@ function Xn({
|
|
|
1286
1289
|
layoutId: l,
|
|
1287
1290
|
portalId: g
|
|
1288
1291
|
}) {
|
|
1289
|
-
const { prefix: a } = un(), { gridLayout: b, verticalGap: L, align: ot = "top", imageDisplay: X } = t, O = (X == null ? void 0 : X.display) === "cover", At = (X == null ? void 0 : X.ratioValue) ?? "1:1",
|
|
1292
|
+
const { prefix: a } = un(), { gridLayout: b, verticalGap: L, align: ot = "top", imageDisplay: X } = t, O = (X == null ? void 0 : X.display) === "cover", At = (X == null ? void 0 : X.ratioValue) ?? "1:1", Dt = (X == null ? void 0 : X.reversed) ?? !1, [Mt, _t] = At.split(":").map(Number), Tt = `${Dt ? _t : Mt} / ${Dt ? Mt : _t}`, Ht = b.entryWidth ?? 0.2, q = b.columnsCount, Ct = se(Ht, i), st = se(b.horizontalGap ?? 0, i), xt = Ct, z = Ct, W = {
|
|
1290
1293
|
width: xt,
|
|
1291
1294
|
...O ? { aspectRatio: Tt, height: "auto", overflow: "hidden" } : { height: "auto" }
|
|
1292
1295
|
}, U = O ? {
|
|
@@ -1301,36 +1304,36 @@ function Xn({
|
|
|
1301
1304
|
width: "auto",
|
|
1302
1305
|
height: "auto",
|
|
1303
1306
|
maxWidth: "100%"
|
|
1304
|
-
}, Z = w(null), [lt, at] = $(!1), [k, Nt] = $([]), [ft, K] = $(0), [
|
|
1307
|
+
}, Z = w(null), [lt, at] = $(!1), [k, Nt] = $([]), [ft, K] = $(0), [D, ht] = $(0), [ct, R] = $(null), [bt, T] = $({
|
|
1305
1308
|
title1: "",
|
|
1306
1309
|
title2: "",
|
|
1307
1310
|
title3: ""
|
|
1308
1311
|
}), Jt = (() => {
|
|
1309
1312
|
const x = {}, v = Z.current ? getComputedStyle(Z.current).getPropertyValue("--cntrl-article-width").trim() : "";
|
|
1310
1313
|
return v && (x["--cntrl-article-width"] = v), x;
|
|
1311
|
-
})(), de = !i || r || o, fe = $e(() =>
|
|
1314
|
+
})(), de = !i || r || o, fe = $e(() => wn(a), [a]), f = e ?? [], gt = f.length % q || q, J = gt < q && f.length > 0, It = f.length - gt, Vt = J ? Math.floor((q - gt) / 2) + 1 : 1, A = $e(() => Ln(f), [f]), Y = $e(() => Hn(f), [f]), he = (x, v, wt) => {
|
|
1312
1315
|
if (i && !o && !r) return;
|
|
1313
|
-
const H = A.findIndex((
|
|
1316
|
+
const H = A.findIndex((Bt) => Bt.gridIndex === x);
|
|
1314
1317
|
if (H < 0) return;
|
|
1315
1318
|
const vt = A[H];
|
|
1316
1319
|
ht(H), Nt(vt.items), K(v), T(vt.entry), R(wt ?? null), at(!0);
|
|
1317
1320
|
}, Q = m(() => {
|
|
1318
1321
|
at(!1), R(null);
|
|
1319
1322
|
}, []), pt = m(() => {
|
|
1320
|
-
const x = A[
|
|
1321
|
-
return !x || !Z.current ? ct :
|
|
1323
|
+
const x = A[D];
|
|
1324
|
+
return !x || !Z.current ? ct : Sn(
|
|
1322
1325
|
Z.current,
|
|
1323
1326
|
x.gridIndex,
|
|
1324
1327
|
O ? "cover" : "contain"
|
|
1325
1328
|
) ?? ct;
|
|
1326
|
-
}, [A,
|
|
1329
|
+
}, [A, D, ct, O]), St = m((x) => {
|
|
1327
1330
|
if (A.length > 1) {
|
|
1328
|
-
const v = A.length, wt = (
|
|
1331
|
+
const v = A.length, wt = (D + x + v) % v, H = A[wt], vt = Math.min(ft, H.items.length - 1);
|
|
1329
1332
|
ht(wt), Nt(H.items), K(vt), T(H.entry);
|
|
1330
1333
|
return;
|
|
1331
1334
|
}
|
|
1332
1335
|
K((v) => (v + x + k.length) % k.length);
|
|
1333
|
-
}, [A,
|
|
1336
|
+
}, [A, D, ft, k.length]), mt = A.length > 1 || k.length > 1;
|
|
1334
1337
|
return G(() => {
|
|
1335
1338
|
if (!lt || typeof document > "u") return;
|
|
1336
1339
|
const x = document.body.style.overflow;
|
|
@@ -1341,7 +1344,7 @@ function Xn({
|
|
|
1341
1344
|
!i || o || r || at(!1);
|
|
1342
1345
|
}, [i, o, r]), /* @__PURE__ */ kt(be, { children: [
|
|
1343
1346
|
/* @__PURE__ */ d("style", { dangerouslySetInnerHTML: { __html: fe } }),
|
|
1344
|
-
/* @__PURE__ */ d(
|
|
1347
|
+
/* @__PURE__ */ d(Cn, { mediaList: Y }),
|
|
1345
1348
|
/* @__PURE__ */ d(
|
|
1346
1349
|
"div",
|
|
1347
1350
|
{
|
|
@@ -1355,12 +1358,12 @@ function Xn({
|
|
|
1355
1358
|
[`--${a}-align-entries-row-gap`]: se(L ?? 0, i)
|
|
1356
1359
|
},
|
|
1357
1360
|
children: f.map((x, v) => {
|
|
1358
|
-
const wt = Se(x.gallery), H = Le(wt), vt = H.filter((E) => E.lightboxMedia).map((E) => E.lightboxMedia),
|
|
1359
|
-
|
|
1361
|
+
const wt = Se(x.gallery), H = Le(wt), vt = H.filter((E) => E.lightboxMedia).map((E) => E.lightboxMedia), Bt = Math.floor(v / q) === Math.ceil(f.length / q) - 1, Gt = J && v >= It ? `${Vt + (v - It)}` : void 0, P = H[0], Lt = P != null && P.lightboxMedia ? vt.findIndex((E) => E.assetId === P.lightboxMedia.assetId) : -1, M = /* @__PURE__ */ d("div", { className: `${a}-item-image-wrapper`, style: W, children: H.length > 0 && /* @__PURE__ */ d(
|
|
1362
|
+
On,
|
|
1360
1363
|
{
|
|
1361
1364
|
media: P.displayMedia,
|
|
1362
1365
|
gridIndex: v,
|
|
1363
|
-
className: `${a}-item-${
|
|
1366
|
+
className: `${a}-item-${zt(P.displayMedia) ? "video" : "image"}`.trim(),
|
|
1364
1367
|
style: U,
|
|
1365
1368
|
onMediaClick: de && Lt >= 0 ? (E) => he(
|
|
1366
1369
|
v,
|
|
@@ -1374,16 +1377,16 @@ function Xn({
|
|
|
1374
1377
|
{
|
|
1375
1378
|
className: [
|
|
1376
1379
|
o ? `${a}-item-inner` : `${a}-item-inner-hidden`,
|
|
1377
|
-
|
|
1380
|
+
Bt ? `${a}-item-inner-last-row` : ""
|
|
1378
1381
|
].filter(Boolean).join(" "),
|
|
1379
1382
|
style: {
|
|
1380
1383
|
width: Ct,
|
|
1381
1384
|
...Gt ? { gridColumn: Gt } : {}
|
|
1382
1385
|
},
|
|
1383
1386
|
children: [
|
|
1384
|
-
/* @__PURE__ */ d("div", { className: `${a}-item-title-row`, children: /* @__PURE__ */ d("div", { style: { height: 0, width:
|
|
1387
|
+
/* @__PURE__ */ d("div", { className: `${a}-item-title-row`, children: /* @__PURE__ */ d("div", { style: { height: 0, width: z } }) }),
|
|
1385
1388
|
/* @__PURE__ */ d("a", { className: `${a}-item-image-link`, children: M }),
|
|
1386
|
-
/* @__PURE__ */ d("div", { className: `${a}-item-subtitle-row`, children: /* @__PURE__ */ d("div", { style: { height: 0, width:
|
|
1389
|
+
/* @__PURE__ */ d("div", { className: `${a}-item-subtitle-row`, children: /* @__PURE__ */ d("div", { style: { height: 0, width: z } }) })
|
|
1387
1390
|
]
|
|
1388
1391
|
}
|
|
1389
1392
|
) }, v);
|
|
@@ -1392,9 +1395,9 @@ function Xn({
|
|
|
1392
1395
|
),
|
|
1393
1396
|
lt && typeof document < "u" && (() => {
|
|
1394
1397
|
const x = (g ? document.getElementById(g) : null) ?? document.body;
|
|
1395
|
-
return
|
|
1398
|
+
return hn(
|
|
1396
1399
|
/* @__PURE__ */ d("div", { style: Jt, "data-selection": "none", children: /* @__PURE__ */ d(
|
|
1397
|
-
|
|
1400
|
+
Dn,
|
|
1398
1401
|
{
|
|
1399
1402
|
prefix: a,
|
|
1400
1403
|
items: k,
|
|
@@ -1406,7 +1409,7 @@ function Xn({
|
|
|
1406
1409
|
isPreviewMode: r,
|
|
1407
1410
|
canNavigate: mt,
|
|
1408
1411
|
lightboxEntries: A,
|
|
1409
|
-
entryIdx:
|
|
1412
|
+
entryIdx: D,
|
|
1410
1413
|
layoutId: l,
|
|
1411
1414
|
sourceRect: ct,
|
|
1412
1415
|
resolveCloseSourceRect: pt,
|
|
@@ -1421,5 +1424,5 @@ function Xn({
|
|
|
1421
1424
|
] });
|
|
1422
1425
|
}
|
|
1423
1426
|
export {
|
|
1424
|
-
|
|
1427
|
+
Zn as Hive
|
|
1425
1428
|
};
|