@car-cutter/react-webplayer 0.3.1 → 0.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +281 -270
- package/dist/index.umd.cjs +3 -3
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -14,15 +14,15 @@ var Ye;
|
|
|
14
14
|
function Pt() {
|
|
15
15
|
if (Ye) return he;
|
|
16
16
|
Ye = 1;
|
|
17
|
-
var e = xe, r = Symbol.for("react.element"), n = Symbol.for("react.fragment"), o = Object.prototype.hasOwnProperty,
|
|
18
|
-
function
|
|
17
|
+
var e = xe, r = Symbol.for("react.element"), n = Symbol.for("react.fragment"), o = Object.prototype.hasOwnProperty, i = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, s = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
18
|
+
function l(d, a, g) {
|
|
19
19
|
var c, f = {}, p = null, M = null;
|
|
20
|
-
g !== void 0 && (p = "" + g),
|
|
21
|
-
for (c in
|
|
22
|
-
if (d && d.defaultProps) for (c in
|
|
23
|
-
return { $$typeof: r, type: d, key: p, ref: M, props: f, _owner:
|
|
20
|
+
g !== void 0 && (p = "" + g), a.key !== void 0 && (p = "" + a.key), a.ref !== void 0 && (M = a.ref);
|
|
21
|
+
for (c in a) o.call(a, c) && !s.hasOwnProperty(c) && (f[c] = a[c]);
|
|
22
|
+
if (d && d.defaultProps) for (c in a = d.defaultProps, a) f[c] === void 0 && (f[c] = a[c]);
|
|
23
|
+
return { $$typeof: r, type: d, key: p, ref: M, props: f, _owner: i.current };
|
|
24
24
|
}
|
|
25
|
-
return he.Fragment = n, he.jsx =
|
|
25
|
+
return he.Fragment = n, he.jsx = l, he.jsxs = l, he;
|
|
26
26
|
}
|
|
27
27
|
tt.exports = Pt();
|
|
28
28
|
var rt = tt.exports;
|
|
@@ -45,15 +45,15 @@ var Xe;
|
|
|
45
45
|
function Xt() {
|
|
46
46
|
if (Xe) return fe;
|
|
47
47
|
Xe = 1;
|
|
48
|
-
var e = xe, r = Symbol.for("react.element"), n = Symbol.for("react.fragment"), o = Object.prototype.hasOwnProperty,
|
|
49
|
-
function
|
|
48
|
+
var e = xe, r = Symbol.for("react.element"), n = Symbol.for("react.fragment"), o = Object.prototype.hasOwnProperty, i = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, s = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
49
|
+
function l(d, a, g) {
|
|
50
50
|
var c, f = {}, p = null, M = null;
|
|
51
|
-
g !== void 0 && (p = "" + g),
|
|
52
|
-
for (c in
|
|
53
|
-
if (d && d.defaultProps) for (c in
|
|
54
|
-
return { $$typeof: r, type: d, key: p, ref: M, props: f, _owner:
|
|
51
|
+
g !== void 0 && (p = "" + g), a.key !== void 0 && (p = "" + a.key), a.ref !== void 0 && (M = a.ref);
|
|
52
|
+
for (c in a) o.call(a, c) && !s.hasOwnProperty(c) && (f[c] = a[c]);
|
|
53
|
+
if (d && d.defaultProps) for (c in a = d.defaultProps, a) f[c] === void 0 && (f[c] = a[c]);
|
|
54
|
+
return { $$typeof: r, type: d, key: p, ref: M, props: f, _owner: i.current };
|
|
55
55
|
}
|
|
56
|
-
return fe.Fragment = n, fe.jsx =
|
|
56
|
+
return fe.Fragment = n, fe.jsx = l, fe.jsxs = l, fe;
|
|
57
57
|
}
|
|
58
58
|
pt.exports = Xt();
|
|
59
59
|
var t = pt.exports;
|
|
@@ -69,9 +69,9 @@ const Oe = /* @__PURE__ */ new Map(), Bt = (e) => {
|
|
|
69
69
|
isSuccess: !1
|
|
70
70
|
});
|
|
71
71
|
return A(() => {
|
|
72
|
-
const o = (
|
|
73
|
-
if (
|
|
74
|
-
o(
|
|
72
|
+
const o = (s) => n({ status: "success", data: s, isSuccess: !0 }), i = Oe.get(e);
|
|
73
|
+
if (i && !(i instanceof Promise)) {
|
|
74
|
+
o(i);
|
|
75
75
|
return;
|
|
76
76
|
}
|
|
77
77
|
n({
|
|
@@ -79,19 +79,19 @@ const Oe = /* @__PURE__ */ new Map(), Bt = (e) => {
|
|
|
79
79
|
isSuccess: !1
|
|
80
80
|
}), async function() {
|
|
81
81
|
try {
|
|
82
|
-
let
|
|
83
|
-
if (
|
|
84
|
-
|
|
82
|
+
let s;
|
|
83
|
+
if (i)
|
|
84
|
+
s = await i;
|
|
85
85
|
else {
|
|
86
|
-
const
|
|
87
|
-
Oe.set(e,
|
|
86
|
+
const l = Gt(e);
|
|
87
|
+
Oe.set(e, l), s = await l, Oe.set(e, s);
|
|
88
88
|
}
|
|
89
|
-
o(
|
|
90
|
-
} catch (
|
|
89
|
+
o(s);
|
|
90
|
+
} catch (s) {
|
|
91
91
|
n({
|
|
92
92
|
status: "error",
|
|
93
93
|
isSuccess: !1,
|
|
94
|
-
error:
|
|
94
|
+
error: s
|
|
95
95
|
});
|
|
96
96
|
}
|
|
97
97
|
}();
|
|
@@ -104,10 +104,10 @@ const Oe = /* @__PURE__ */ new Map(), Bt = (e) => {
|
|
|
104
104
|
);
|
|
105
105
|
return e;
|
|
106
106
|
}, qt = ({ composition: e, children: r }) => {
|
|
107
|
-
const { aspectRatio: n, categories: o } = e,
|
|
108
|
-
() => o.flatMap(({ items:
|
|
107
|
+
const { aspectRatio: n, categories: o } = e, i = Q(
|
|
108
|
+
() => o.flatMap(({ items: l }) => l),
|
|
109
109
|
[o]
|
|
110
|
-
),
|
|
110
|
+
), s = {
|
|
111
111
|
aspectRatio: n.replace(":", " / ")
|
|
112
112
|
};
|
|
113
113
|
return /* @__PURE__ */ t.jsx(
|
|
@@ -115,8 +115,8 @@ const Oe = /* @__PURE__ */ new Map(), Bt = (e) => {
|
|
|
115
115
|
{
|
|
116
116
|
value: {
|
|
117
117
|
...e,
|
|
118
|
-
items:
|
|
119
|
-
aspectRatioStyle:
|
|
118
|
+
items: i,
|
|
119
|
+
aspectRatioStyle: s
|
|
120
120
|
},
|
|
121
121
|
children: r
|
|
122
122
|
}
|
|
@@ -146,9 +146,9 @@ const Ee = (e, r, n) => e + (r - e) * n, Ge = (e, r) => (e % r + r) % r, gt = Le
|
|
|
146
146
|
emitEvent: r,
|
|
147
147
|
isFullScreen: n,
|
|
148
148
|
preventFullScreen: o,
|
|
149
|
-
requestFullscreen:
|
|
150
|
-
exitFullscreen:
|
|
151
|
-
} = te(), { categories:
|
|
149
|
+
requestFullscreen: i,
|
|
150
|
+
exitFullscreen: s
|
|
151
|
+
} = te(), { categories: l, items: d } = ee(), a = T(() => d.map(() => null), [d]), [g, c] = F(a), f = T(
|
|
152
152
|
(O, de) => {
|
|
153
153
|
c(
|
|
154
154
|
(ye) => ye.map((Re, pe) => pe === O ? de : Re)
|
|
@@ -166,20 +166,20 @@ const Ee = (e, r, n) => e + (r - e) * n, Ge = (e, r) => (e % r + r) % r, gt = Le
|
|
|
166
166
|
const O = p + 1;
|
|
167
167
|
O > d.length - 1 ? (k("last_to_first"), h(0)) : h(O);
|
|
168
168
|
}, [p, d.length, w, u]), L = Q(() => {
|
|
169
|
-
for (const O of
|
|
169
|
+
for (const O of l)
|
|
170
170
|
if (O.items.includes(N))
|
|
171
171
|
return O.id;
|
|
172
172
|
throw new Error("Current item not found in any category");
|
|
173
|
-
}, [
|
|
173
|
+
}, [l, N]), z = T(
|
|
174
174
|
(O) => {
|
|
175
175
|
var de;
|
|
176
|
-
const ye = (de =
|
|
176
|
+
const ye = (de = l.find(({ id: pe }) => pe === O)) == null ? void 0 : de.items[0];
|
|
177
177
|
if (ye === void 0)
|
|
178
178
|
throw new Error("Failed to find target category");
|
|
179
179
|
const Re = d.findIndex((pe) => pe === ye);
|
|
180
180
|
h(Re);
|
|
181
181
|
},
|
|
182
|
-
[
|
|
182
|
+
[l, d]
|
|
183
183
|
), C = Q(() => {
|
|
184
184
|
var O;
|
|
185
185
|
switch (N.type) {
|
|
@@ -233,7 +233,7 @@ const Ee = (e, r, n) => e + (r - e) * n, Ge = (e, r) => (e % r + r) % r, gt = Le
|
|
|
233
233
|
De(O);
|
|
234
234
|
}, [Te]), Se = T(async () => {
|
|
235
235
|
if (ce(), !o) {
|
|
236
|
-
const O = await
|
|
236
|
+
const O = await i();
|
|
237
237
|
if (Ue(!O), O)
|
|
238
238
|
return;
|
|
239
239
|
}
|
|
@@ -241,14 +241,14 @@ const Ee = (e, r, n) => e + (r - e) * n, Ge = (e, r) => (e % r + r) % r, gt = Le
|
|
|
241
241
|
}, [
|
|
242
242
|
o,
|
|
243
243
|
le,
|
|
244
|
-
|
|
244
|
+
i,
|
|
245
245
|
ce
|
|
246
246
|
]), He = T(async () => {
|
|
247
|
-
ce(), !(!o && (Ue(!1), await
|
|
247
|
+
ce(), !(!o && (Ue(!1), await s())) && le(!1);
|
|
248
248
|
}, [
|
|
249
249
|
o,
|
|
250
250
|
le,
|
|
251
|
-
|
|
251
|
+
s,
|
|
252
252
|
ce
|
|
253
253
|
]), Rt = T(() => {
|
|
254
254
|
ie ? He() : Se();
|
|
@@ -393,16 +393,16 @@ const bt = Le(null), jt = () => _e(bt), $e = () => {
|
|
|
393
393
|
const [r, n] = F(
|
|
394
394
|
/* @__PURE__ */ new Map()
|
|
395
395
|
), o = T(
|
|
396
|
-
(
|
|
397
|
-
const d = r.get(
|
|
396
|
+
(l) => {
|
|
397
|
+
const d = r.get(l);
|
|
398
398
|
if (d)
|
|
399
399
|
return d;
|
|
400
|
-
const
|
|
401
|
-
`${Fe}[name="${
|
|
400
|
+
const a = document.querySelector(
|
|
401
|
+
`${Fe}[name="${l}"]`
|
|
402
402
|
);
|
|
403
|
-
if (!
|
|
403
|
+
if (!a)
|
|
404
404
|
return;
|
|
405
|
-
const g =
|
|
405
|
+
const g = a.getAttribute("color") ?? void 0, c = a.innerHTML, f = c ? /* @__PURE__ */ t.jsx(
|
|
406
406
|
"div",
|
|
407
407
|
{
|
|
408
408
|
className: "size-full",
|
|
@@ -413,21 +413,21 @@ const bt = Le(null), jt = () => _e(bt), $e = () => {
|
|
|
413
413
|
return { Icon: f, color: g };
|
|
414
414
|
},
|
|
415
415
|
[r]
|
|
416
|
-
),
|
|
417
|
-
(
|
|
418
|
-
n((
|
|
416
|
+
), i = T(
|
|
417
|
+
(l, d) => {
|
|
418
|
+
n((a) => new Map(a.set(l, d)));
|
|
419
419
|
},
|
|
420
420
|
[]
|
|
421
|
-
),
|
|
422
|
-
n((d) => (d.delete(
|
|
421
|
+
), s = T((l) => {
|
|
422
|
+
n((d) => (d.delete(l), new Map(d)));
|
|
423
423
|
}, []);
|
|
424
424
|
return /* @__PURE__ */ t.jsx(
|
|
425
425
|
bt.Provider,
|
|
426
426
|
{
|
|
427
427
|
value: {
|
|
428
428
|
getIconConfig: o,
|
|
429
|
-
setIconConfig:
|
|
430
|
-
resetIconConfig:
|
|
429
|
+
setIconConfig: i,
|
|
430
|
+
resetIconConfig: s
|
|
431
431
|
},
|
|
432
432
|
children: e
|
|
433
433
|
}
|
|
@@ -437,13 +437,13 @@ const bt = Le(null), jt = () => _e(bt), $e = () => {
|
|
|
437
437
|
className: r = "",
|
|
438
438
|
children: n
|
|
439
439
|
}) => {
|
|
440
|
-
const { getIconConfig: o } = $e(),
|
|
441
|
-
return
|
|
440
|
+
const { getIconConfig: o } = $e(), i = o(e);
|
|
441
|
+
return i ? /* @__PURE__ */ t.jsx(
|
|
442
442
|
"div",
|
|
443
443
|
{
|
|
444
444
|
className: r,
|
|
445
|
-
style: { color:
|
|
446
|
-
children: (
|
|
445
|
+
style: { color: i == null ? void 0 : i.color },
|
|
446
|
+
children: (i == null ? void 0 : i.Icon) ?? n
|
|
447
447
|
}
|
|
448
448
|
) : n;
|
|
449
449
|
}, ir = ({ className: e }) => /* @__PURE__ */ t.jsx(Y, { className: e, customizationKey: "UI_CLOSE", children: /* @__PURE__ */ t.jsx(
|
|
@@ -480,16 +480,16 @@ const bt = Le(null), jt = () => _e(bt), $e = () => {
|
|
|
480
480
|
shape: r = "button",
|
|
481
481
|
color: n = "primary",
|
|
482
482
|
className: o = "",
|
|
483
|
-
children:
|
|
484
|
-
...
|
|
483
|
+
children: i,
|
|
484
|
+
...s
|
|
485
485
|
}) => {
|
|
486
|
-
const
|
|
486
|
+
const l = lr[e][n], d = cr[r];
|
|
487
487
|
return /* @__PURE__ */ t.jsx(
|
|
488
488
|
"button",
|
|
489
489
|
{
|
|
490
|
-
className: `${
|
|
491
|
-
...
|
|
492
|
-
children:
|
|
490
|
+
className: `${l} ${d} flex items-center justify-center rounded-ui text-sm transition disabled:opacity-60 ${o}`,
|
|
491
|
+
...s,
|
|
492
|
+
children: i
|
|
493
493
|
}
|
|
494
494
|
);
|
|
495
495
|
}, kt = ({ className: e = "", ...r }) => /* @__PURE__ */ t.jsx(B, { color: "neutral", shape: "icon", className: e, ...r, children: /* @__PURE__ */ t.jsx(ir, { className: "size-full" }) }), Ct = ({
|
|
@@ -526,21 +526,21 @@ const bt = Le(null), jt = () => _e(bt), $e = () => {
|
|
|
526
526
|
...o
|
|
527
527
|
}) => {
|
|
528
528
|
const {
|
|
529
|
-
minImageWidth:
|
|
530
|
-
maxImageWidth:
|
|
531
|
-
imageLoadStrategy:
|
|
529
|
+
minImageWidth: i,
|
|
530
|
+
maxImageWidth: s,
|
|
531
|
+
imageLoadStrategy: l,
|
|
532
532
|
playerInViewportWidthRatio: d
|
|
533
|
-
} = te(), { imageHdWidth:
|
|
534
|
-
const p = g.concat(
|
|
533
|
+
} = te(), { imageHdWidth: a, imageSubWidths: g } = ee(), [c, f] = Q(() => {
|
|
534
|
+
const p = g.concat(a).sort((h, j) => h - j).filter((h) => !(i && h < i || s && h > s));
|
|
535
535
|
if (p.length === 0)
|
|
536
536
|
throw new Error("No image widths available for the given constraints");
|
|
537
|
-
const M = p.map((h) => `${h !==
|
|
537
|
+
const M = p.map((h) => `${h !== a ? Yt(e, h) : e} ${h}w`);
|
|
538
538
|
let u;
|
|
539
539
|
if (n)
|
|
540
540
|
u = [`${p.shift()}px`];
|
|
541
541
|
else {
|
|
542
542
|
const h = 1 / (r * d);
|
|
543
|
-
if (
|
|
543
|
+
if (l === "quality") {
|
|
544
544
|
const j = p.pop();
|
|
545
545
|
u = p.map(
|
|
546
546
|
(N) => `(max-width: ${h * N}px) ${N}px`
|
|
@@ -554,12 +554,12 @@ const bt = Le(null), jt = () => _e(bt), $e = () => {
|
|
|
554
554
|
}
|
|
555
555
|
return [M.join(", "), u.join(", ")];
|
|
556
556
|
}, [
|
|
557
|
-
|
|
558
|
-
|
|
557
|
+
a,
|
|
558
|
+
l,
|
|
559
559
|
g,
|
|
560
560
|
r,
|
|
561
|
-
|
|
562
|
-
|
|
561
|
+
s,
|
|
562
|
+
i,
|
|
563
563
|
n,
|
|
564
564
|
d,
|
|
565
565
|
e
|
|
@@ -649,30 +649,41 @@ const bt = Le(null), jt = () => _e(bt), $e = () => {
|
|
|
649
649
|
}, mr = ({ item: e }) => {
|
|
650
650
|
const { aspectRatioStyle: r } = ee(), { type: n } = e;
|
|
651
651
|
let o;
|
|
652
|
-
if (n
|
|
653
|
-
|
|
654
|
-
|
|
652
|
+
if (n !== "omni_directional") {
|
|
653
|
+
let s;
|
|
654
|
+
switch (n) {
|
|
655
|
+
case "360":
|
|
656
|
+
s = e.images[0].src;
|
|
657
|
+
break;
|
|
658
|
+
case "image":
|
|
659
|
+
s = e.src;
|
|
660
|
+
break;
|
|
661
|
+
case "video":
|
|
662
|
+
s = e.poster;
|
|
663
|
+
break;
|
|
664
|
+
}
|
|
665
|
+
o = /* @__PURE__ */ t.jsx(we, { className: "size-full object-cover", src: s, onlyThumbnail: !0 });
|
|
655
666
|
} else {
|
|
656
|
-
const
|
|
657
|
-
o = /* @__PURE__ */ t.jsx("img", { className: "size-full object-cover", src:
|
|
667
|
+
const s = e.src;
|
|
668
|
+
o = /* @__PURE__ */ t.jsx("img", { className: "size-full object-cover", src: s });
|
|
658
669
|
}
|
|
659
|
-
let
|
|
670
|
+
let i;
|
|
660
671
|
switch (n) {
|
|
661
672
|
case "360":
|
|
662
|
-
|
|
673
|
+
i = /* @__PURE__ */ t.jsx(Be, { children: /* @__PURE__ */ t.jsx(Nt, { className: "size-full text-primary" }) });
|
|
663
674
|
break;
|
|
664
675
|
case "video":
|
|
665
|
-
|
|
676
|
+
i = /* @__PURE__ */ t.jsx(Be, { children: /* @__PURE__ */ t.jsx(We, { className: "size-full p-0.5 text-background" }) });
|
|
666
677
|
break;
|
|
667
678
|
}
|
|
668
679
|
return /* @__PURE__ */ t.jsxs(
|
|
669
680
|
"div",
|
|
670
681
|
{
|
|
671
|
-
className: "relative overflow-hidden rounded-gallery bg-foreground/
|
|
682
|
+
className: "relative overflow-hidden rounded-gallery bg-foreground/30",
|
|
672
683
|
style: r,
|
|
673
684
|
children: [
|
|
674
685
|
o,
|
|
675
|
-
|
|
686
|
+
i && /* @__PURE__ */ t.jsx("div", { className: "absolute inset-0 flex items-center justify-center bg-foreground/25", children: i })
|
|
676
687
|
]
|
|
677
688
|
}
|
|
678
689
|
);
|
|
@@ -691,8 +702,8 @@ const bt = Le(null), jt = () => _e(bt), $e = () => {
|
|
|
691
702
|
className: e = "",
|
|
692
703
|
containerClassName: r = ""
|
|
693
704
|
}) => {
|
|
694
|
-
const { flatten: n, isFullScreen: o, permanentGallery:
|
|
695
|
-
extendMode:
|
|
705
|
+
const { flatten: n, isFullScreen: o, permanentGallery: i } = te(), { categories: s, items: l, aspectRatioStyle: d } = ee(), {
|
|
706
|
+
extendMode: a,
|
|
696
707
|
extendTransition: g,
|
|
697
708
|
masterItemIndex: c,
|
|
698
709
|
setItemIndexCommand: f,
|
|
@@ -702,12 +713,12 @@ const bt = Le(null), jt = () => _e(bt), $e = () => {
|
|
|
702
713
|
return [];
|
|
703
714
|
const v = new Array();
|
|
704
715
|
let L = 0;
|
|
705
|
-
for (let z = 0; z <
|
|
706
|
-
const C =
|
|
716
|
+
for (let z = 0; z < s.length - 1; z++) {
|
|
717
|
+
const C = s[z].items.length;
|
|
707
718
|
v.push(L + C), L += C;
|
|
708
719
|
}
|
|
709
720
|
return v;
|
|
710
|
-
}, [
|
|
721
|
+
}, [s, n]), u = W(null), h = T(() => {
|
|
711
722
|
if (!u.current)
|
|
712
723
|
throw new Error("slider.current is null");
|
|
713
724
|
return u.current;
|
|
@@ -715,13 +726,13 @@ const bt = Le(null), jt = () => _e(bt), $e = () => {
|
|
|
715
726
|
null
|
|
716
727
|
), [E, w] = F(!1), k = T(
|
|
717
728
|
(v, L) => {
|
|
718
|
-
const z = h(), C = z.clientWidth, S = z.scrollWidth /
|
|
729
|
+
const z = h(), C = z.clientWidth, S = z.scrollWidth / l.length, H = (v + 1 / 2) * S - C / 2, R = z.scrollWidth - z.clientWidth;
|
|
719
730
|
z.scrollTo({
|
|
720
731
|
left: ae(H, 0, R),
|
|
721
732
|
behavior: L
|
|
722
733
|
});
|
|
723
734
|
},
|
|
724
|
-
[
|
|
735
|
+
[l.length, h]
|
|
725
736
|
);
|
|
726
737
|
A(() => {
|
|
727
738
|
const v = u.current;
|
|
@@ -762,7 +773,7 @@ const bt = Le(null), jt = () => _e(bt), $e = () => {
|
|
|
762
773
|
k,
|
|
763
774
|
// - Run the effect when those values change
|
|
764
775
|
o,
|
|
765
|
-
|
|
776
|
+
a,
|
|
766
777
|
g
|
|
767
778
|
]);
|
|
768
779
|
const I = (v, L) => {
|
|
@@ -782,14 +793,14 @@ const bt = Le(null), jt = () => _e(bt), $e = () => {
|
|
|
782
793
|
{
|
|
783
794
|
className: Z(
|
|
784
795
|
"flex h-10 w-fit gap-1 small:h-12 small:gap-2",
|
|
785
|
-
|
|
796
|
+
a && "large:h-20 large:gap-4",
|
|
786
797
|
r
|
|
787
798
|
),
|
|
788
|
-
children:
|
|
799
|
+
children: l.map((v, L) => /* @__PURE__ */ t.jsxs(Ot, { children: [
|
|
789
800
|
M.includes(L) && /* @__PURE__ */ t.jsx("div", { className: "my-2", children: /* @__PURE__ */ t.jsx(
|
|
790
801
|
Lt,
|
|
791
802
|
{
|
|
792
|
-
color:
|
|
803
|
+
color: i && !o ? "neutral" : "background",
|
|
793
804
|
orientation: "vertical"
|
|
794
805
|
}
|
|
795
806
|
) }),
|
|
@@ -822,13 +833,13 @@ const bt = Le(null), jt = () => _e(bt), $e = () => {
|
|
|
822
833
|
onlyPreload: e,
|
|
823
834
|
...r
|
|
824
835
|
}) => {
|
|
825
|
-
const { zoom: n, isZooming: o, setZoom:
|
|
826
|
-
if (!
|
|
836
|
+
const { zoom: n, isZooming: o, setZoom: i } = q(), s = W(null), l = W(null), d = T((E) => {
|
|
837
|
+
if (!l.current)
|
|
827
838
|
throw new Error(
|
|
828
839
|
`[${E ?? "getTransformElementOrThrow"}] transformElementRef.current is null`
|
|
829
840
|
);
|
|
830
|
-
return
|
|
831
|
-
}, []),
|
|
841
|
+
return l.current;
|
|
842
|
+
}, []), a = W(!1), g = W(null), c = W(/* @__PURE__ */ new Map()), f = W({ x: 0, y: 0, scale: 1 }), p = W(null), M = T(
|
|
832
843
|
(E) => {
|
|
833
844
|
const w = d("setTransformStyle"), {
|
|
834
845
|
x: k,
|
|
@@ -857,7 +868,7 @@ const bt = Le(null), jt = () => _e(bt), $e = () => {
|
|
|
857
868
|
};
|
|
858
869
|
p.current && (cancelAnimationFrame(p.current), p.current = null);
|
|
859
870
|
const C = () => {
|
|
860
|
-
M({ x: v, y: L, scale: z }),
|
|
871
|
+
M({ x: v, y: L, scale: z }), i(z);
|
|
861
872
|
}, S = Math.abs(v - k) < 1 && Math.abs(L - y) < 1 && Math.abs(z - I) < 5e-3;
|
|
862
873
|
if (!w || S) {
|
|
863
874
|
C();
|
|
@@ -877,7 +888,7 @@ const bt = Le(null), jt = () => _e(bt), $e = () => {
|
|
|
877
888
|
};
|
|
878
889
|
R();
|
|
879
890
|
},
|
|
880
|
-
[M,
|
|
891
|
+
[M, i]
|
|
881
892
|
), h = T(
|
|
882
893
|
(E, w) => {
|
|
883
894
|
let { x: k, y } = f.current;
|
|
@@ -920,20 +931,20 @@ const bt = Le(null), jt = () => _e(bt), $e = () => {
|
|
|
920
931
|
[d, j]
|
|
921
932
|
);
|
|
922
933
|
return A(() => {
|
|
923
|
-
|
|
934
|
+
l.current && N(n);
|
|
924
935
|
}, [N, n]), A(() => {
|
|
925
936
|
if (!o)
|
|
926
937
|
return;
|
|
927
|
-
const E =
|
|
938
|
+
const E = l.current;
|
|
928
939
|
if (!E)
|
|
929
940
|
return;
|
|
930
941
|
const w = (I) => {
|
|
931
|
-
I.preventDefault(), I.stopPropagation(),
|
|
942
|
+
I.preventDefault(), I.stopPropagation(), a.current = !0, g.current = {
|
|
932
943
|
x: I.clientX,
|
|
933
944
|
y: I.clientY
|
|
934
945
|
};
|
|
935
946
|
}, k = (I) => {
|
|
936
|
-
if (!
|
|
947
|
+
if (!a.current)
|
|
937
948
|
return;
|
|
938
949
|
if (!g.current)
|
|
939
950
|
throw new Error("mouseStartXY.current is null");
|
|
@@ -947,13 +958,13 @@ const bt = Le(null), jt = () => _e(bt), $e = () => {
|
|
|
947
958
|
y: I.clientY
|
|
948
959
|
};
|
|
949
960
|
}, y = () => {
|
|
950
|
-
|
|
961
|
+
a.current = !1;
|
|
951
962
|
};
|
|
952
963
|
return E.addEventListener("mousedown", w), document.addEventListener("mousemove", k), document.addEventListener("mouseleave", y), document.addEventListener("mouseup", y), document.addEventListener("contextmenu", y), () => {
|
|
953
964
|
E.removeEventListener("mousedown", w), document.removeEventListener("mousemove", k), document.removeEventListener("mouseleave", y), document.removeEventListener("mouseup", y), document.removeEventListener("contextmenu", y);
|
|
954
965
|
};
|
|
955
966
|
}, [o, h]), A(() => {
|
|
956
|
-
const E =
|
|
967
|
+
const E = s.current;
|
|
957
968
|
if (!E)
|
|
958
969
|
return;
|
|
959
970
|
const w = (k) => {
|
|
@@ -980,7 +991,7 @@ const bt = Le(null), jt = () => _e(bt), $e = () => {
|
|
|
980
991
|
E.removeEventListener("wheel", w);
|
|
981
992
|
};
|
|
982
993
|
}, [o, h, j, n]), A(() => {
|
|
983
|
-
const E =
|
|
994
|
+
const E = s.current, w = l.current;
|
|
984
995
|
if (!E || !w)
|
|
985
996
|
return;
|
|
986
997
|
const k = c.current, y = (L) => {
|
|
@@ -1028,12 +1039,12 @@ const bt = Le(null), jt = () => _e(bt), $e = () => {
|
|
|
1028
1039
|
}, [o, h, j, n]), /* @__PURE__ */ t.jsx(
|
|
1029
1040
|
"div",
|
|
1030
1041
|
{
|
|
1031
|
-
ref:
|
|
1042
|
+
ref: s,
|
|
1032
1043
|
className: `relative size-full overflow-hidden ${o ? "z-zoomed-image cursor-move" : ""}`,
|
|
1033
1044
|
children: /* @__PURE__ */ t.jsx(
|
|
1034
1045
|
"div",
|
|
1035
1046
|
{
|
|
1036
|
-
ref:
|
|
1047
|
+
ref: l,
|
|
1037
1048
|
className: "origin-top-left",
|
|
1038
1049
|
children: /* @__PURE__ */ t.jsx(
|
|
1039
1050
|
we,
|
|
@@ -1053,9 +1064,9 @@ const bt = Le(null), jt = () => _e(bt), $e = () => {
|
|
|
1053
1064
|
fill: "currentColor"
|
|
1054
1065
|
}
|
|
1055
1066
|
) }) }), vr = ({ hotspot: e }) => {
|
|
1056
|
-
const { title: r, icon: n, description: o, position:
|
|
1057
|
-
c &&
|
|
1058
|
-
src:
|
|
1067
|
+
const { title: r, icon: n, description: o, position: i, detail: s } = e, { getIconConfig: l } = $e(), d = n ? l(n) : void 0, { setShownDetails: a } = q(), g = !!s, c = (s == null ? void 0 : s.type) === "image", f = c ? /* @__PURE__ */ t.jsx(gr, { className: "size-4" }) : /* @__PURE__ */ t.jsx("div", { className: "size-1" }), p = () => {
|
|
1068
|
+
c && a({
|
|
1069
|
+
src: s.src,
|
|
1059
1070
|
title: r,
|
|
1060
1071
|
text: o
|
|
1061
1072
|
});
|
|
@@ -1091,8 +1102,8 @@ const bt = Le(null), jt = () => _e(bt), $e = () => {
|
|
|
1091
1102
|
{
|
|
1092
1103
|
className: Z(
|
|
1093
1104
|
"absolute -z-10 w-max max-w-40 rounded-ui-lg bg-background p-2 pl-6 small:max-w-48 small:pl-8",
|
|
1094
|
-
|
|
1095
|
-
|
|
1105
|
+
i.y < 0.55 ? "-top-0.5" : "-bottom-0.5",
|
|
1106
|
+
i.x < 0.55 ? "-left-0.5" : "-right-0.5",
|
|
1096
1107
|
"pointer-events-none opacity-0 transition-opacity duration-300 group-hover:pointer-events-auto group-hover:opacity-100"
|
|
1097
1108
|
),
|
|
1098
1109
|
children: /* @__PURE__ */ t.jsxs("div", { className: "space-y-1", children: [
|
|
@@ -1140,14 +1151,14 @@ const bt = Le(null), jt = () => _e(bt), $e = () => {
|
|
|
1140
1151
|
return o;
|
|
1141
1152
|
}
|
|
1142
1153
|
}, Mt = ({ className: e, hotspots: r, ...n }) => {
|
|
1143
|
-
const { isShowingDetails: o, showHotspots:
|
|
1154
|
+
const { isShowingDetails: o, showHotspots: i } = q();
|
|
1144
1155
|
return /* @__PURE__ */ t.jsx("div", { className: Z("relative size-full overflow-hidden", e), children: /* @__PURE__ */ t.jsxs(
|
|
1145
1156
|
"div",
|
|
1146
1157
|
{
|
|
1147
1158
|
className: `size-full duration-details ${o ? "scale-105" : "scale-100"}`,
|
|
1148
1159
|
children: [
|
|
1149
1160
|
/* @__PURE__ */ t.jsx(fr, { className: "size-full", ...n }),
|
|
1150
|
-
|
|
1161
|
+
i && (r == null ? void 0 : r.map((s, l) => /* @__PURE__ */ t.jsx(wr, { hotspot: s }, l)))
|
|
1151
1162
|
]
|
|
1152
1163
|
}
|
|
1153
1164
|
) });
|
|
@@ -1155,15 +1166,15 @@ const bt = Le(null), jt = () => _e(bt), $e = () => {
|
|
|
1155
1166
|
images: e,
|
|
1156
1167
|
onlyPreload: r
|
|
1157
1168
|
}) => {
|
|
1158
|
-
const { reverse360: n } = te(), { isShowingDetails: o, isZooming:
|
|
1169
|
+
const { reverse360: n } = te(), { isShowingDetails: o, isZooming: i } = q(), s = i || o, l = W(null), d = W(null), [a, g] = F(0), c = e.length, f = T(() => {
|
|
1159
1170
|
g((M) => (M - 1 + c) % c);
|
|
1160
1171
|
}, [c]), p = T(() => {
|
|
1161
1172
|
g((M) => (M + 1) % c);
|
|
1162
1173
|
}, [c]);
|
|
1163
1174
|
return A(() => {
|
|
1164
|
-
if (
|
|
1175
|
+
if (s)
|
|
1165
1176
|
return;
|
|
1166
|
-
const M =
|
|
1177
|
+
const M = l.current, u = d.current;
|
|
1167
1178
|
if (!M || !u)
|
|
1168
1179
|
return;
|
|
1169
1180
|
let h = null, j = [], N = null;
|
|
@@ -1249,38 +1260,38 @@ const bt = Le(null), jt = () => _e(bt), $e = () => {
|
|
|
1249
1260
|
return u.addEventListener("touchstart", R), u.addEventListener("touchmove", U), u.addEventListener("touchend", _), u.addEventListener("touchcancel", _), () => {
|
|
1250
1261
|
M.removeEventListener("mousedown", y), document.removeEventListener("mousemove", I), document.removeEventListener("mouseleave", v), document.removeEventListener("mouseup", v), document.removeEventListener("contextmenu", v), u.removeEventListener("scroll", S), u.removeEventListener("touchstart", R), u.removeEventListener("touchmove", U), u.removeEventListener("touchend", _), u.removeEventListener("touchcancel", _);
|
|
1251
1262
|
};
|
|
1252
|
-
}, [p, f,
|
|
1263
|
+
}, [p, f, s, n]), /* @__PURE__ */ t.jsx("div", { ref: l, className: "cursor-ew-resize", children: /* @__PURE__ */ t.jsxs("div", { ref: d, className: "overflow-x-scroll no-scrollbar", children: [
|
|
1253
1264
|
/* @__PURE__ */ t.jsx("div", { className: "sticky left-0 top-0", children: e.map((M, u) => /* @__PURE__ */ t.jsx(
|
|
1254
1265
|
Mt,
|
|
1255
1266
|
{
|
|
1256
1267
|
...M,
|
|
1257
1268
|
className: Z(
|
|
1258
|
-
u !==
|
|
1269
|
+
u !== a && "pointer-events-none !absolute left-0 top-0 -z-10"
|
|
1259
1270
|
),
|
|
1260
|
-
onlyPreload: u !==
|
|
1271
|
+
onlyPreload: u !== a || r
|
|
1261
1272
|
},
|
|
1262
1273
|
M.src
|
|
1263
1274
|
)) }),
|
|
1264
1275
|
/* @__PURE__ */ t.jsx("div", { className: "pointer-events-none -mt-px h-px w-[calc(100%+1024px)]" })
|
|
1265
1276
|
] }) });
|
|
1266
1277
|
}, jr = ({ images: e, onReady: r, onError: n }) => {
|
|
1267
|
-
const o = Q(() => e.map(({ src: g }) => g), [e]), [
|
|
1268
|
-
|
|
1269
|
-
}, [o,
|
|
1270
|
-
|
|
1278
|
+
const o = Q(() => e.map(({ src: g }) => g), [e]), [i, s] = F(null), l = i ? [...i.values()].filter((g) => g).length / e.length * 100 : null, d = T(() => {
|
|
1279
|
+
l === null && s(new Map(o.map((g) => [g, !1])));
|
|
1280
|
+
}, [o, l]), a = T((g) => {
|
|
1281
|
+
s((c) => {
|
|
1271
1282
|
const f = new Map(c);
|
|
1272
1283
|
return f.set(g, !0), f;
|
|
1273
1284
|
});
|
|
1274
1285
|
}, []);
|
|
1275
1286
|
return A(() => {
|
|
1276
|
-
|
|
1277
|
-
}, [
|
|
1278
|
-
|
|
1287
|
+
l === 100 && r();
|
|
1288
|
+
}, [l, r]), /* @__PURE__ */ t.jsxs("div", { className: "relative size-full", children: [
|
|
1289
|
+
l !== null && l !== 100 && // Add images to DOM to preload them
|
|
1279
1290
|
/* @__PURE__ */ t.jsx("div", { className: "hidden", children: o.map((g) => /* @__PURE__ */ t.jsx(
|
|
1280
1291
|
we,
|
|
1281
1292
|
{
|
|
1282
1293
|
src: g,
|
|
1283
|
-
onLoad: () =>
|
|
1294
|
+
onLoad: () => a(g),
|
|
1284
1295
|
onError: n
|
|
1285
1296
|
},
|
|
1286
1297
|
g
|
|
@@ -1294,13 +1305,13 @@ const bt = Le(null), jt = () => _e(bt), $e = () => {
|
|
|
1294
1305
|
{
|
|
1295
1306
|
className: Z(
|
|
1296
1307
|
"relative h-1 w-3/5 overflow-hidden rounded-full bg-background",
|
|
1297
|
-
|
|
1308
|
+
l === null && "invisible"
|
|
1298
1309
|
),
|
|
1299
1310
|
children: /* @__PURE__ */ t.jsx(
|
|
1300
1311
|
"div",
|
|
1301
1312
|
{
|
|
1302
1313
|
className: "h-full bg-primary transition-[width]",
|
|
1303
|
-
style: { width: `${
|
|
1314
|
+
style: { width: `${l ?? 0}%` }
|
|
1304
1315
|
}
|
|
1305
1316
|
)
|
|
1306
1317
|
}
|
|
@@ -1308,7 +1319,7 @@ const bt = Le(null), jt = () => _e(bt), $e = () => {
|
|
|
1308
1319
|
] })
|
|
1309
1320
|
] });
|
|
1310
1321
|
}, kr = (e) => {
|
|
1311
|
-
const { index: r } = e, { setItemInteraction: n } = q(), [o,
|
|
1322
|
+
const { index: r } = e, { setItemInteraction: n } = q(), [o, i] = F(
|
|
1312
1323
|
"placeholder"
|
|
1313
1324
|
);
|
|
1314
1325
|
return A(() => {
|
|
@@ -1319,8 +1330,8 @@ const bt = Le(null), jt = () => _e(bt), $e = () => {
|
|
|
1319
1330
|
jr,
|
|
1320
1331
|
{
|
|
1321
1332
|
...e,
|
|
1322
|
-
onReady: () =>
|
|
1323
|
-
onError: () =>
|
|
1333
|
+
onReady: () => i("ready"),
|
|
1334
|
+
onError: () => i("error")
|
|
1324
1335
|
}
|
|
1325
1336
|
) : /* @__PURE__ */ t.jsx(br, { ...e });
|
|
1326
1337
|
}, Cr = ({ className: e = "", ...r }) => /* @__PURE__ */ t.jsx(B, { color: "neutral", shape: "icon", className: e, ...r, children: /* @__PURE__ */ t.jsx(We, { className: "size-full" }) }), Er = ({ className: e }) => /* @__PURE__ */ t.jsx(Y, { className: e, customizationKey: "UI_PAUSE", children: /* @__PURE__ */ t.jsx(
|
|
@@ -1381,31 +1392,31 @@ const bt = Le(null), jt = () => _e(bt), $e = () => {
|
|
|
1381
1392
|
style: { transform: `translateX(-${100 * (1 - e)}%)` }
|
|
1382
1393
|
}
|
|
1383
1394
|
) }), _r = 3e3, zr = ({ src: e, poster: r, index: n }) => {
|
|
1384
|
-
const { carrouselItemIndex: o, setItemInteraction:
|
|
1395
|
+
const { carrouselItemIndex: o, setItemInteraction: i } = q(), s = o === n, l = W(null), d = W(null), a = T(() => {
|
|
1385
1396
|
if (!d.current)
|
|
1386
1397
|
throw new Error("videoRef.current is null");
|
|
1387
1398
|
return d.current;
|
|
1388
1399
|
}, []), g = T(() => {
|
|
1389
|
-
|
|
1390
|
-
}, [
|
|
1391
|
-
|
|
1392
|
-
}, [
|
|
1400
|
+
a().play();
|
|
1401
|
+
}, [a]), c = T(() => {
|
|
1402
|
+
a().pause();
|
|
1403
|
+
}, [a]);
|
|
1393
1404
|
A(() => {
|
|
1394
|
-
|
|
1395
|
-
}, [c,
|
|
1405
|
+
s || c();
|
|
1406
|
+
}, [c, s]);
|
|
1396
1407
|
const [f, p] = F(!1), [M, u] = F(!0), h = () => {
|
|
1397
|
-
p(!0),
|
|
1408
|
+
p(!0), i(n, "running");
|
|
1398
1409
|
}, j = () => {
|
|
1399
|
-
p(!1),
|
|
1410
|
+
p(!1), i(n, null);
|
|
1400
1411
|
}, N = () => {
|
|
1401
1412
|
u(!1);
|
|
1402
1413
|
}, E = () => {
|
|
1403
1414
|
u(!0);
|
|
1404
1415
|
}, [w, k] = F(null), y = (m) => {
|
|
1405
|
-
const b =
|
|
1416
|
+
const b = a(), V = m.currentTarget.getBoundingClientRect(), P = (m.clientX - V.left) / V.width, $ = Math.min(1, Math.max(0, P));
|
|
1406
1417
|
b.volume = $, b.muted = !1;
|
|
1407
1418
|
}, I = (m) => {
|
|
1408
|
-
const b =
|
|
1419
|
+
const b = a();
|
|
1409
1420
|
b.muted = m;
|
|
1410
1421
|
};
|
|
1411
1422
|
A(() => {
|
|
@@ -1438,7 +1449,7 @@ const bt = Le(null), jt = () => _e(bt), $e = () => {
|
|
|
1438
1449
|
};
|
|
1439
1450
|
}, []);
|
|
1440
1451
|
const C = (m) => {
|
|
1441
|
-
const b =
|
|
1452
|
+
const b = a(), V = m.currentTarget.getBoundingClientRect(), P = (m.clientX - V.left) / V.width, $ = b.duration * P;
|
|
1442
1453
|
b.currentTime = $;
|
|
1443
1454
|
}, S = (m) => {
|
|
1444
1455
|
const b = Math.floor(m % 3600 / 60), V = Math.floor(m % 60);
|
|
@@ -1452,7 +1463,7 @@ const bt = Le(null), jt = () => _e(bt), $e = () => {
|
|
|
1452
1463
|
}, _r);
|
|
1453
1464
|
}, [_]);
|
|
1454
1465
|
return A(() => {
|
|
1455
|
-
const m =
|
|
1466
|
+
const m = l.current, b = d.current;
|
|
1456
1467
|
if (!m || !b)
|
|
1457
1468
|
return;
|
|
1458
1469
|
const V = () => {
|
|
@@ -1473,7 +1484,7 @@ const bt = Le(null), jt = () => _e(bt), $e = () => {
|
|
|
1473
1484
|
return m.addEventListener("mousedown", D), m.addEventListener("mouseup", X), m.addEventListener("mouseenter", V), m.addEventListener("mousemove", G), m.addEventListener("mouseleave", P), b.addEventListener("touchstart", K), () => {
|
|
1474
1485
|
m.removeEventListener("mousedown", D), m.removeEventListener("mouseup", X), m.removeEventListener("mouseenter", V), m.removeEventListener("mousemove", V), m.removeEventListener("mouseleave", P), b.removeEventListener("touchstart", K);
|
|
1475
1486
|
};
|
|
1476
|
-
}, [_, c, x]), /* @__PURE__ */ t.jsxs("div", { ref:
|
|
1487
|
+
}, [_, c, x]), /* @__PURE__ */ t.jsxs("div", { ref: l, className: "relative size-full", children: [
|
|
1477
1488
|
/* @__PURE__ */ t.jsx(
|
|
1478
1489
|
"video",
|
|
1479
1490
|
{
|
|
@@ -1577,28 +1588,28 @@ const bt = Le(null), jt = () => _e(bt), $e = () => {
|
|
|
1577
1588
|
)
|
|
1578
1589
|
] });
|
|
1579
1590
|
}, Mr = ({ index: e, item: r, isShown: n, lazy: o }) => {
|
|
1580
|
-
const { type:
|
|
1581
|
-
let
|
|
1591
|
+
const { type: i } = r;
|
|
1592
|
+
let s;
|
|
1582
1593
|
if (o)
|
|
1583
|
-
|
|
1594
|
+
s = null;
|
|
1584
1595
|
else
|
|
1585
|
-
switch (
|
|
1596
|
+
switch (i) {
|
|
1586
1597
|
case "image":
|
|
1587
|
-
|
|
1598
|
+
s = /* @__PURE__ */ t.jsx(Mt, { onlyPreload: !n, ...r });
|
|
1588
1599
|
break;
|
|
1589
1600
|
case "video":
|
|
1590
|
-
|
|
1601
|
+
s = /* @__PURE__ */ t.jsx(zr, { index: e, ...r });
|
|
1591
1602
|
break;
|
|
1592
1603
|
case "360":
|
|
1593
|
-
|
|
1604
|
+
s = /* @__PURE__ */ t.jsx(kr, { index: e, onlyPreload: !n, ...r });
|
|
1594
1605
|
break;
|
|
1595
1606
|
case "omni_directional":
|
|
1596
|
-
|
|
1607
|
+
s = /* @__PURE__ */ t.jsx(xr, { item: r });
|
|
1597
1608
|
break;
|
|
1598
1609
|
default:
|
|
1599
|
-
throw new Error(`Unsupported item type: ${
|
|
1610
|
+
throw new Error(`Unsupported item type: ${i}`);
|
|
1600
1611
|
}
|
|
1601
|
-
return
|
|
1612
|
+
return s;
|
|
1602
1613
|
}, Ir = (e) => {
|
|
1603
1614
|
A(() => {
|
|
1604
1615
|
const r = (n) => {
|
|
@@ -1695,7 +1706,7 @@ const Je = ({ className: e }) => /* @__PURE__ */ t.jsx(Y, { className: e, custom
|
|
|
1695
1706
|
onToggle: r,
|
|
1696
1707
|
label: n,
|
|
1697
1708
|
className: o,
|
|
1698
|
-
children:
|
|
1709
|
+
children: i
|
|
1699
1710
|
}) => /* @__PURE__ */ t.jsxs(
|
|
1700
1711
|
"label",
|
|
1701
1712
|
{
|
|
@@ -1728,7 +1739,7 @@ const Je = ({ className: e }) => /* @__PURE__ */ t.jsx(Y, { className: e, custom
|
|
|
1728
1739
|
"flex size-4 items-center justify-center rounded-full p-0.5 transition",
|
|
1729
1740
|
e ? "translate-x-1.5 bg-primary-foreground text-primary" : "-translate-x-1.5 bg-background text-foreground"
|
|
1730
1741
|
),
|
|
1731
|
-
children:
|
|
1742
|
+
children: i
|
|
1732
1743
|
}
|
|
1733
1744
|
)
|
|
1734
1745
|
}
|
|
@@ -1753,13 +1764,13 @@ const Je = ({ className: e }) => /* @__PURE__ */ t.jsx(Y, { className: e, custom
|
|
|
1753
1764
|
)
|
|
1754
1765
|
}
|
|
1755
1766
|
) }), Fr = ({ sharedClassName: e }) => {
|
|
1756
|
-
const { categories: r } = ee(), { displayedCategoryId: n, changeCategory: o } = q(), [
|
|
1757
|
-
|
|
1767
|
+
const { categories: r } = ee(), { displayedCategoryId: n, changeCategory: o } = q(), [i, s] = F(!1), l = () => {
|
|
1768
|
+
s(!i);
|
|
1758
1769
|
}, d = () => {
|
|
1759
|
-
|
|
1770
|
+
s(!1);
|
|
1760
1771
|
};
|
|
1761
1772
|
return /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
|
1762
|
-
|
|
1773
|
+
i && /* @__PURE__ */ t.jsx(
|
|
1763
1774
|
"div",
|
|
1764
1775
|
{
|
|
1765
1776
|
className: Z(e, "inset-0 small:hidden"),
|
|
@@ -1779,24 +1790,24 @@ const Je = ({ className: e }) => /* @__PURE__ */ t.jsx(Y, { className: e, custom
|
|
|
1779
1790
|
B,
|
|
1780
1791
|
{
|
|
1781
1792
|
shape: "icon",
|
|
1782
|
-
color:
|
|
1783
|
-
onClick:
|
|
1793
|
+
color: i ? "primary" : "neutral",
|
|
1794
|
+
onClick: l,
|
|
1784
1795
|
children: /* @__PURE__ */ t.jsx(Zr, {})
|
|
1785
1796
|
}
|
|
1786
1797
|
),
|
|
1787
|
-
|
|
1798
|
+
i && /* @__PURE__ */ t.jsx("div", { className: "rounded-ui-md bg-background", children: /* @__PURE__ */ t.jsx("ul", { className: "space-y-0.5 p-1", children: r.map(({ id: a, title: g }) => /* @__PURE__ */ t.jsx(
|
|
1788
1799
|
"li",
|
|
1789
1800
|
{
|
|
1790
1801
|
className: Z(
|
|
1791
1802
|
"cursor-pointer rounded-ui px-2 py-1 text-sm font-bold transition-colors hover:bg-primary/30",
|
|
1792
|
-
|
|
1803
|
+
a === n && "bg-primary/50"
|
|
1793
1804
|
),
|
|
1794
1805
|
onClick: () => {
|
|
1795
|
-
o(
|
|
1806
|
+
o(a), s(!1);
|
|
1796
1807
|
},
|
|
1797
1808
|
children: g
|
|
1798
1809
|
},
|
|
1799
|
-
|
|
1810
|
+
a
|
|
1800
1811
|
)) }) })
|
|
1801
1812
|
]
|
|
1802
1813
|
}
|
|
@@ -1809,14 +1820,14 @@ const Je = ({ className: e }) => /* @__PURE__ */ t.jsx(Y, { className: e, custom
|
|
|
1809
1820
|
yt("top"),
|
|
1810
1821
|
"w-full overflow-x-auto max-small:hidden"
|
|
1811
1822
|
),
|
|
1812
|
-
children: /* @__PURE__ */ t.jsx("div", { className: "mx-auto flex w-fit gap-x-1 rounded-ui-md bg-background p-1 shadow", children: r.map(({ id:
|
|
1823
|
+
children: /* @__PURE__ */ t.jsx("div", { className: "mx-auto flex w-fit gap-x-1 rounded-ui-md bg-background p-1 shadow", children: r.map(({ id: a, title: g }) => /* @__PURE__ */ t.jsx(
|
|
1813
1824
|
B,
|
|
1814
1825
|
{
|
|
1815
|
-
variant:
|
|
1816
|
-
onClick: () => o(
|
|
1826
|
+
variant: a === n ? "fill" : "ghost",
|
|
1827
|
+
onClick: () => o(a),
|
|
1817
1828
|
children: g
|
|
1818
1829
|
},
|
|
1819
|
-
|
|
1830
|
+
a
|
|
1820
1831
|
)) })
|
|
1821
1832
|
}
|
|
1822
1833
|
)
|
|
@@ -1824,12 +1835,12 @@ const Je = ({ className: e }) => /* @__PURE__ */ t.jsx(Y, { className: e, custom
|
|
|
1824
1835
|
}, $r = () => {
|
|
1825
1836
|
const { flatten: e, infiniteCarrousel: r, permanentGallery: n } = te(), {
|
|
1826
1837
|
items: { length: o },
|
|
1827
|
-
aspectRatioStyle:
|
|
1838
|
+
aspectRatioStyle: i
|
|
1828
1839
|
} = ee(), {
|
|
1829
|
-
slidable:
|
|
1830
|
-
masterItemIndex:
|
|
1840
|
+
slidable: s,
|
|
1841
|
+
masterItemIndex: l,
|
|
1831
1842
|
prevImage: d,
|
|
1832
|
-
nextImage:
|
|
1843
|
+
nextImage: a,
|
|
1833
1844
|
showGalleryControls: g,
|
|
1834
1845
|
enableHotspotsControl: c,
|
|
1835
1846
|
showHotspots: f,
|
|
@@ -1858,7 +1869,7 @@ const Je = ({ className: e }) => /* @__PURE__ */ t.jsx(Y, { className: e, custom
|
|
|
1858
1869
|
const H = "absolute z-overlay", R = `transition-opacity ${g ? "opacity-100" : "opacity-0 !pointer-events-none"}`;
|
|
1859
1870
|
return /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
|
1860
1871
|
!e && !y && /* @__PURE__ */ t.jsx(Fr, { sharedClassName: H }),
|
|
1861
|
-
|
|
1872
|
+
s && !y && /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
|
1862
1873
|
/* @__PURE__ */ t.jsx(
|
|
1863
1874
|
B,
|
|
1864
1875
|
{
|
|
@@ -1866,7 +1877,7 @@ const Je = ({ className: e }) => /* @__PURE__ */ t.jsx(Y, { className: e, custom
|
|
|
1866
1877
|
color: "neutral",
|
|
1867
1878
|
className: Z(H, ue("middle-left")),
|
|
1868
1879
|
onClick: d,
|
|
1869
|
-
disabled: !r &&
|
|
1880
|
+
disabled: !r && l <= 0,
|
|
1870
1881
|
children: /* @__PURE__ */ t.jsx(Y, { customizationKey: "CONTROLS_ARROW_LEFT", children: /* @__PURE__ */ t.jsx(Je, { className: "size-full rotate-180" }) })
|
|
1871
1882
|
}
|
|
1872
1883
|
),
|
|
@@ -1876,8 +1887,8 @@ const Je = ({ className: e }) => /* @__PURE__ */ t.jsx(Y, { className: e, custom
|
|
|
1876
1887
|
shape: "icon",
|
|
1877
1888
|
color: "neutral",
|
|
1878
1889
|
className: Z(H, ue("middle-right")),
|
|
1879
|
-
onClick:
|
|
1880
|
-
disabled: !r &&
|
|
1890
|
+
onClick: a,
|
|
1891
|
+
disabled: !r && l >= o - 1,
|
|
1881
1892
|
children: /* @__PURE__ */ t.jsx(Y, { customizationKey: "CONTROLS_ARROW_RIGHT", children: /* @__PURE__ */ t.jsx(Je, { className: "size-full" }) })
|
|
1882
1893
|
}
|
|
1883
1894
|
)
|
|
@@ -1976,7 +1987,7 @@ const Je = ({ className: e }) => /* @__PURE__ */ t.jsx(Y, { className: e, custom
|
|
|
1976
1987
|
we,
|
|
1977
1988
|
{
|
|
1978
1989
|
className: "w-full bg-foreground/65",
|
|
1979
|
-
style:
|
|
1990
|
+
style: i,
|
|
1980
1991
|
src: N.src,
|
|
1981
1992
|
imgInPlayerWidthRatio: 0.6
|
|
1982
1993
|
}
|
|
@@ -1999,11 +2010,11 @@ const Je = ({ className: e }) => /* @__PURE__ */ t.jsx(Y, { className: e, custom
|
|
|
1999
2010
|
)
|
|
2000
2011
|
] });
|
|
2001
2012
|
}, Wr = ({ className: e = "" }) => {
|
|
2002
|
-
const { infiniteCarrousel: r, isFullScreen: n } = te(), { items: o, aspectRatioStyle:
|
|
2003
|
-
slidable:
|
|
2004
|
-
carrouselItemIndex:
|
|
2013
|
+
const { infiniteCarrousel: r, isFullScreen: n } = te(), { items: o, aspectRatioStyle: i } = ee(), {
|
|
2014
|
+
slidable: s,
|
|
2015
|
+
carrouselItemIndex: l,
|
|
2005
2016
|
setCarrouselItemIndex: d,
|
|
2006
|
-
itemIndexCommand:
|
|
2017
|
+
itemIndexCommand: a,
|
|
2007
2018
|
setItemIndexCommand: g,
|
|
2008
2019
|
cycling: c,
|
|
2009
2020
|
isCycling: f,
|
|
@@ -2084,9 +2095,9 @@ const Je = ({ className: e }) => /* @__PURE__ */ t.jsx(Y, { className: e, custom
|
|
|
2084
2095
|
};
|
|
2085
2096
|
}, [S]), A(() => {
|
|
2086
2097
|
const _ = v();
|
|
2087
|
-
Number.isNaN(_) || _ !==
|
|
2098
|
+
Number.isNaN(_) || _ !== l && C(l, "instant");
|
|
2088
2099
|
}, [
|
|
2089
|
-
|
|
2100
|
+
l,
|
|
2090
2101
|
C,
|
|
2091
2102
|
v,
|
|
2092
2103
|
// - Run the effect when those values change
|
|
@@ -2096,7 +2107,7 @@ const Je = ({ className: e }) => /* @__PURE__ */ t.jsx(Y, { className: e, custom
|
|
|
2096
2107
|
M,
|
|
2097
2108
|
u
|
|
2098
2109
|
]), A(() => {
|
|
2099
|
-
if (!
|
|
2110
|
+
if (!s || f) {
|
|
2100
2111
|
L("auto");
|
|
2101
2112
|
return;
|
|
2102
2113
|
}
|
|
@@ -2134,7 +2145,7 @@ const Je = ({ className: e }) => /* @__PURE__ */ t.jsx(Y, { className: e, custom
|
|
|
2134
2145
|
C,
|
|
2135
2146
|
L,
|
|
2136
2147
|
z,
|
|
2137
|
-
|
|
2148
|
+
s
|
|
2138
2149
|
]), A(() => {
|
|
2139
2150
|
if (u || R)
|
|
2140
2151
|
return;
|
|
@@ -2143,7 +2154,7 @@ const Je = ({ className: e }) => /* @__PURE__ */ t.jsx(Y, { className: e, custom
|
|
|
2143
2154
|
return;
|
|
2144
2155
|
const x = () => {
|
|
2145
2156
|
const m = v();
|
|
2146
|
-
Number.isNaN(m) || (d(m), m ===
|
|
2157
|
+
Number.isNaN(m) || (d(m), m === a && g(null));
|
|
2147
2158
|
};
|
|
2148
2159
|
return _.addEventListener("scroll", x), () => {
|
|
2149
2160
|
_.removeEventListener("scroll", x);
|
|
@@ -2153,29 +2164,29 @@ const Je = ({ className: e }) => /* @__PURE__ */ t.jsx(Y, { className: e, custom
|
|
|
2153
2164
|
u,
|
|
2154
2165
|
f,
|
|
2155
2166
|
R,
|
|
2156
|
-
|
|
2167
|
+
a,
|
|
2157
2168
|
o.length,
|
|
2158
2169
|
d,
|
|
2159
2170
|
g
|
|
2160
2171
|
]), A(() => {
|
|
2161
|
-
|
|
2162
|
-
}, [c, p,
|
|
2163
|
-
const U = () => /* @__PURE__ */ t.jsx("div", { className: "h-full", style:
|
|
2172
|
+
a !== null && (c === "first_to_last" ? (C(o.length, "instant"), C(o.length - 1, "smooth", () => p())) : c === "last_to_first" ? (C(0, "instant"), C(1, "smooth", () => p())) : C(a, "smooth"));
|
|
2173
|
+
}, [c, p, a, o.length, C]);
|
|
2174
|
+
const U = () => /* @__PURE__ */ t.jsx("div", { className: "h-full", style: i });
|
|
2164
2175
|
return /* @__PURE__ */ t.jsxs(
|
|
2165
2176
|
"div",
|
|
2166
2177
|
{
|
|
2167
2178
|
className: Z("relative overflow-hidden rounded-carrousel", e),
|
|
2168
|
-
style:
|
|
2179
|
+
style: i,
|
|
2169
2180
|
children: [
|
|
2170
2181
|
/* @__PURE__ */ t.jsxs(
|
|
2171
2182
|
"div",
|
|
2172
2183
|
{
|
|
2173
2184
|
ref: j,
|
|
2174
|
-
className: `flex size-full ${
|
|
2185
|
+
className: `flex size-full ${s ? "overflow-x-auto no-scrollbar *:snap-start *:snap-always" : "justify-center"}`,
|
|
2175
2186
|
children: [
|
|
2176
2187
|
c === "last_to_first" && /* @__PURE__ */ t.jsx(U, {}),
|
|
2177
2188
|
o.map((_, x) => {
|
|
2178
|
-
const m = _.type === "360" ? _.images[0] : _.src, b = x ===
|
|
2189
|
+
const m = _.type === "360" ? _.images[0] : _.src, b = x === l, V = x === 0, P = l === o.length - 1, $ = x === o.length - 1, D = l === 0, X = Math.abs(x - l) > 1 && // Not next to the current one
|
|
2179
2190
|
!(r && V && P) && // Not the last one when the first one is shown (only for infinite carrousel)
|
|
2180
2191
|
!(r && $ && D), G = (() => {
|
|
2181
2192
|
if (c === "first_to_last" && V)
|
|
@@ -2191,7 +2202,7 @@ const Je = ({ className: e }) => /* @__PURE__ */ t.jsx(Y, { className: e, custom
|
|
|
2191
2202
|
"div",
|
|
2192
2203
|
{
|
|
2193
2204
|
className: "relative h-full bg-foreground/50",
|
|
2194
|
-
style: { ...
|
|
2205
|
+
style: { ...i, ...G },
|
|
2195
2206
|
children: /* @__PURE__ */ t.jsx(
|
|
2196
2207
|
Mr,
|
|
2197
2208
|
{
|
|
@@ -2209,10 +2220,10 @@ const Je = ({ className: e }) => /* @__PURE__ */ t.jsx(Y, { className: e, custom
|
|
|
2209
2220
|
]
|
|
2210
2221
|
}
|
|
2211
2222
|
),
|
|
2212
|
-
|
|
2223
|
+
s && !h && /* @__PURE__ */ t.jsx("div", { className: `absolute ${ue("top-right")}`, children: /* @__PURE__ */ t.jsx(
|
|
2213
2224
|
hr,
|
|
2214
2225
|
{
|
|
2215
|
-
currentIndex:
|
|
2226
|
+
currentIndex: l,
|
|
2216
2227
|
maxIndex: o.length - 1
|
|
2217
2228
|
}
|
|
2218
2229
|
) }),
|
|
@@ -2224,16 +2235,16 @@ const Je = ({ className: e }) => /* @__PURE__ */ t.jsx(Y, { className: e, custom
|
|
|
2224
2235
|
const { permanentGallery: e } = te(), { aspectRatioStyle: r } = ee(), {
|
|
2225
2236
|
prevImage: n,
|
|
2226
2237
|
nextImage: o,
|
|
2227
|
-
isShowingDetails:
|
|
2228
|
-
resetShownDetails:
|
|
2229
|
-
extendMode:
|
|
2238
|
+
isShowingDetails: i,
|
|
2239
|
+
resetShownDetails: s,
|
|
2240
|
+
extendMode: l,
|
|
2230
2241
|
disableExtendMode: d,
|
|
2231
|
-
isZooming:
|
|
2242
|
+
isZooming: a,
|
|
2232
2243
|
resetZoom: g,
|
|
2233
2244
|
fakeFullScreen: c
|
|
2234
2245
|
} = q(), f = W(null), p = W(null), M = W(null);
|
|
2235
2246
|
return A(() => {
|
|
2236
|
-
if (!
|
|
2247
|
+
if (!l)
|
|
2237
2248
|
return;
|
|
2238
2249
|
const u = f.current, h = p.current, j = M.current;
|
|
2239
2250
|
if (!u || !h || !j)
|
|
@@ -2247,11 +2258,11 @@ const Je = ({ className: e }) => /* @__PURE__ */ t.jsx(Y, { className: e, custom
|
|
|
2247
2258
|
return u.addEventListener("mousedown", w), u.addEventListener("mouseup", k), () => {
|
|
2248
2259
|
u.removeEventListener("mousedown", w), u.removeEventListener("mouseup", k);
|
|
2249
2260
|
};
|
|
2250
|
-
}, [d,
|
|
2261
|
+
}, [d, l]), A(() => {
|
|
2251
2262
|
const u = (h) => {
|
|
2252
|
-
const j = h.key === "Escape", N = !
|
|
2263
|
+
const j = h.key === "Escape", N = !a && !i;
|
|
2253
2264
|
if (j)
|
|
2254
|
-
|
|
2265
|
+
a ? g() : i ? s() : d();
|
|
2255
2266
|
else if (N)
|
|
2256
2267
|
switch (h.key) {
|
|
2257
2268
|
case "ArrowLeft":
|
|
@@ -2267,11 +2278,11 @@ const Je = ({ className: e }) => /* @__PURE__ */ t.jsx(Y, { className: e, custom
|
|
|
2267
2278
|
};
|
|
2268
2279
|
}, [
|
|
2269
2280
|
d,
|
|
2281
|
+
i,
|
|
2270
2282
|
a,
|
|
2271
|
-
s,
|
|
2272
2283
|
o,
|
|
2273
2284
|
n,
|
|
2274
|
-
|
|
2285
|
+
s,
|
|
2275
2286
|
g
|
|
2276
2287
|
]), /* @__PURE__ */ t.jsxs(
|
|
2277
2288
|
"div",
|
|
@@ -2279,7 +2290,7 @@ const Je = ({ className: e }) => /* @__PURE__ */ t.jsx(Y, { className: e, custom
|
|
|
2279
2290
|
ref: f,
|
|
2280
2291
|
className: Z(
|
|
2281
2292
|
"relative",
|
|
2282
|
-
|
|
2293
|
+
l && "flex size-full items-center justify-center bg-foreground/75",
|
|
2283
2294
|
c && "fixed inset-0 z-overlay"
|
|
2284
2295
|
),
|
|
2285
2296
|
children: [
|
|
@@ -2287,24 +2298,24 @@ const Je = ({ className: e }) => /* @__PURE__ */ t.jsx(Y, { className: e, custom
|
|
|
2287
2298
|
"div",
|
|
2288
2299
|
{
|
|
2289
2300
|
ref: p,
|
|
2290
|
-
className:
|
|
2301
|
+
className: l ? "flex size-full flex-col justify-center gap-y-2 small:gap-y-4" : "space-y-2",
|
|
2291
2302
|
children: [
|
|
2292
2303
|
/* @__PURE__ */ t.jsx(
|
|
2293
2304
|
"div",
|
|
2294
2305
|
{
|
|
2295
2306
|
ref: M,
|
|
2296
2307
|
className: Z(
|
|
2297
|
-
|
|
2308
|
+
l && "mx-auto flex min-h-0 w-full max-w-[1600px] justify-center"
|
|
2298
2309
|
),
|
|
2299
2310
|
style: r,
|
|
2300
|
-
children: /* @__PURE__ */ t.jsx(Wr, { className: Z(
|
|
2311
|
+
children: /* @__PURE__ */ t.jsx(Wr, { className: Z(l && "h-full min-w-0") })
|
|
2301
2312
|
}
|
|
2302
2313
|
),
|
|
2303
|
-
e && /* @__PURE__ */ t.jsx(_t, { className: Z(
|
|
2314
|
+
e && /* @__PURE__ */ t.jsx(_t, { className: Z(l && "my-2 shrink-0 small:my-4") })
|
|
2304
2315
|
]
|
|
2305
2316
|
}
|
|
2306
2317
|
),
|
|
2307
|
-
|
|
2318
|
+
l && /* @__PURE__ */ t.jsx(
|
|
2308
2319
|
kt,
|
|
2309
2320
|
{
|
|
2310
2321
|
className: "absolute right-2 top-2 small:right-4 small:top-4",
|
|
@@ -2320,12 +2331,12 @@ const Je = ({ className: e }) => /* @__PURE__ */ t.jsx(Y, { className: e, custom
|
|
|
2320
2331
|
const { emitEvent: r } = te(), {
|
|
2321
2332
|
data: n,
|
|
2322
2333
|
status: o,
|
|
2323
|
-
isSuccess:
|
|
2324
|
-
error:
|
|
2334
|
+
isSuccess: i,
|
|
2335
|
+
error: s
|
|
2325
2336
|
} = Bt(e);
|
|
2326
2337
|
return A(() => {
|
|
2327
|
-
|
|
2328
|
-
}, [r,
|
|
2338
|
+
s ? r(st, s) : i ? r(ot) : o === "fetching" && r(nt);
|
|
2339
|
+
}, [r, s, i, o]), s ? /* @__PURE__ */ t.jsx(Ct, { title: "Failed to fetch composition", error: s }) : i ? /* @__PURE__ */ t.jsx(qt, { composition: n, children: /* @__PURE__ */ t.jsx(Jt, { children: /* @__PURE__ */ t.jsx(Dr, {}) }) }) : /* @__PURE__ */ t.jsxs("div", { className: "flex aspect-video size-full flex-col items-center justify-center gap-y-4", children: [
|
|
2329
2340
|
/* @__PURE__ */ t.jsx("div", { className: "text-xl", children: "Loading WebPlayer..." }),
|
|
2330
2341
|
/* @__PURE__ */ t.jsx(Et, { color: "primary" })
|
|
2331
2342
|
] });
|
|
@@ -2334,20 +2345,20 @@ const Je = ({ className: e }) => /* @__PURE__ */ t.jsx(Y, { className: e, custom
|
|
|
2334
2345
|
flatten: r = Zt,
|
|
2335
2346
|
infiniteCarrousel: n = Ft,
|
|
2336
2347
|
permanentGallery: o = $t,
|
|
2337
|
-
imageLoadStrategy:
|
|
2338
|
-
preventFullScreen:
|
|
2339
|
-
eventPrefix:
|
|
2348
|
+
imageLoadStrategy: i = Wt,
|
|
2349
|
+
preventFullScreen: s = Dt,
|
|
2350
|
+
eventPrefix: l = mt,
|
|
2340
2351
|
reverse360: d = Ut,
|
|
2341
|
-
children:
|
|
2352
|
+
children: a,
|
|
2342
2353
|
// NOTE: use to customize the player, not to display the content
|
|
2343
2354
|
...g
|
|
2344
2355
|
}) => {
|
|
2345
2356
|
const c = W(null), [f, p] = F(), [M, u] = F(0.5), [h, j] = F(!1), N = T(
|
|
2346
2357
|
(k, y) => {
|
|
2347
|
-
const I =
|
|
2358
|
+
const I = l + k, v = new CustomEvent(I, { detail: y });
|
|
2348
2359
|
document.dispatchEvent(v);
|
|
2349
2360
|
},
|
|
2350
|
-
[
|
|
2361
|
+
[l]
|
|
2351
2362
|
);
|
|
2352
2363
|
A(() => {
|
|
2353
2364
|
if (h) {
|
|
@@ -2364,7 +2375,7 @@ const Je = ({ className: e }) => /* @__PURE__ */ t.jsx(Y, { className: e, custom
|
|
|
2364
2375
|
removeEventListener("resize", y);
|
|
2365
2376
|
};
|
|
2366
2377
|
}, [h]), A(() => {
|
|
2367
|
-
if (
|
|
2378
|
+
if (s)
|
|
2368
2379
|
return;
|
|
2369
2380
|
const k = c.current;
|
|
2370
2381
|
if (!k)
|
|
@@ -2379,7 +2390,7 @@ const Je = ({ className: e }) => /* @__PURE__ */ t.jsx(Y, { className: e, custom
|
|
|
2379
2390
|
return document.addEventListener("fullscreenchange", y), () => {
|
|
2380
2391
|
document.removeEventListener("fullscreenchange", y);
|
|
2381
2392
|
};
|
|
2382
|
-
}, [
|
|
2393
|
+
}, [s]);
|
|
2383
2394
|
const E = T(async () => {
|
|
2384
2395
|
const k = c.current;
|
|
2385
2396
|
if (!k)
|
|
@@ -2401,10 +2412,10 @@ const Je = ({ className: e }) => /* @__PURE__ */ t.jsx(Y, { className: e, custom
|
|
|
2401
2412
|
{
|
|
2402
2413
|
...g,
|
|
2403
2414
|
reverse360: d,
|
|
2404
|
-
imageLoadStrategy:
|
|
2415
|
+
imageLoadStrategy: i,
|
|
2405
2416
|
flatten: r,
|
|
2406
2417
|
infiniteCarrousel: n,
|
|
2407
|
-
preventFullScreen:
|
|
2418
|
+
preventFullScreen: s,
|
|
2408
2419
|
permanentGallery: o,
|
|
2409
2420
|
emitEvent: N,
|
|
2410
2421
|
playerInViewportWidthRatio: M,
|
|
@@ -2425,21 +2436,21 @@ const Je = ({ className: e }) => /* @__PURE__ */ t.jsx(Y, { className: e, custom
|
|
|
2425
2436
|
children: /* @__PURE__ */ t.jsx(Ur, { compositionUrl: e })
|
|
2426
2437
|
}
|
|
2427
2438
|
),
|
|
2428
|
-
|
|
2439
|
+
a
|
|
2429
2440
|
] })
|
|
2430
2441
|
}
|
|
2431
2442
|
);
|
|
2432
2443
|
}, Xr = ({ name: e, color: r, children: n }) => {
|
|
2433
|
-
const { setIconConfig: o, resetIconConfig:
|
|
2444
|
+
const { setIconConfig: o, resetIconConfig: i } = $e();
|
|
2434
2445
|
return A(() => {
|
|
2435
2446
|
if (!(!n && !r))
|
|
2436
2447
|
return o(e, {
|
|
2437
2448
|
Icon: n,
|
|
2438
2449
|
color: r
|
|
2439
2450
|
}), () => {
|
|
2440
|
-
|
|
2451
|
+
i(e);
|
|
2441
2452
|
};
|
|
2442
|
-
}, [n, r, e,
|
|
2453
|
+
}, [n, r, e, i, o]), null;
|
|
2443
2454
|
}, Gr = (e) => jt() ? /* @__PURE__ */ t.jsx(Xr, { ...e }) : /* @__PURE__ */ t.jsx("slot", {});
|
|
2444
2455
|
var It = { exports: {} }, ve = {};
|
|
2445
2456
|
/**
|
|
@@ -2455,15 +2466,15 @@ var Qe;
|
|
|
2455
2466
|
function Br() {
|
|
2456
2467
|
if (Qe) return ve;
|
|
2457
2468
|
Qe = 1;
|
|
2458
|
-
var e = xe, r = Symbol.for("react.element"), n = Symbol.for("react.fragment"), o = Object.prototype.hasOwnProperty,
|
|
2459
|
-
function
|
|
2469
|
+
var e = xe, r = Symbol.for("react.element"), n = Symbol.for("react.fragment"), o = Object.prototype.hasOwnProperty, i = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, s = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
2470
|
+
function l(d, a, g) {
|
|
2460
2471
|
var c, f = {}, p = null, M = null;
|
|
2461
|
-
g !== void 0 && (p = "" + g),
|
|
2462
|
-
for (c in
|
|
2463
|
-
if (d && d.defaultProps) for (c in
|
|
2464
|
-
return { $$typeof: r, type: d, key: p, ref: M, props: f, _owner:
|
|
2472
|
+
g !== void 0 && (p = "" + g), a.key !== void 0 && (p = "" + a.key), a.ref !== void 0 && (M = a.ref);
|
|
2473
|
+
for (c in a) o.call(a, c) && !s.hasOwnProperty(c) && (f[c] = a[c]);
|
|
2474
|
+
if (d && d.defaultProps) for (c in a = d.defaultProps, a) f[c] === void 0 && (f[c] = a[c]);
|
|
2475
|
+
return { $$typeof: r, type: d, key: p, ref: M, props: f, _owner: i.current };
|
|
2465
2476
|
}
|
|
2466
|
-
return ve.Fragment = n, ve.jsx =
|
|
2477
|
+
return ve.Fragment = n, ve.jsx = l, ve.jsxs = l, ve;
|
|
2467
2478
|
}
|
|
2468
2479
|
It.exports = Br();
|
|
2469
2480
|
var be = It.exports, Tt, et = At;
|
|
@@ -2507,21 +2518,21 @@ function nn(e) {
|
|
|
2507
2518
|
}
|
|
2508
2519
|
const ke = Symbol.for("r2wc.render"), Ce = Symbol.for("r2wc.connected"), se = Symbol.for("r2wc.context"), J = Symbol.for("r2wc.props");
|
|
2509
2520
|
function on(e, r, n) {
|
|
2510
|
-
var o,
|
|
2521
|
+
var o, i, s;
|
|
2511
2522
|
r.props || (r.props = e.propTypes ? Object.keys(e.propTypes) : []);
|
|
2512
|
-
const
|
|
2513
|
-
for (const f of
|
|
2523
|
+
const l = Array.isArray(r.props) ? r.props.slice() : Object.keys(r.props), d = {}, a = {}, g = {};
|
|
2524
|
+
for (const f of l) {
|
|
2514
2525
|
d[f] = Array.isArray(r.props) ? "string" : r.props[f];
|
|
2515
2526
|
const p = nn(f);
|
|
2516
|
-
|
|
2527
|
+
a[f] = p, g[p] = f;
|
|
2517
2528
|
}
|
|
2518
2529
|
class c extends HTMLElement {
|
|
2519
2530
|
constructor() {
|
|
2520
|
-
super(), je(this, o, !0), je(this,
|
|
2531
|
+
super(), je(this, o, !0), je(this, i), je(this, s, {}), je(this, "container"), r.shadow ? this.container = this.attachShadow({
|
|
2521
2532
|
mode: r.shadow
|
|
2522
2533
|
}) : this.container = this, this[J].container = this.container;
|
|
2523
|
-
for (const p of
|
|
2524
|
-
const M =
|
|
2534
|
+
for (const p of l) {
|
|
2535
|
+
const M = a[p], u = this.getAttribute(M), h = d[p], j = h ? Ae[h] : null;
|
|
2525
2536
|
j != null && j.parse && u && (this[J][p] = j.parse(u, M, this));
|
|
2526
2537
|
}
|
|
2527
2538
|
}
|
|
@@ -2538,7 +2549,7 @@ function on(e, r, n) {
|
|
|
2538
2549
|
const h = g[p], j = d[h], N = j ? Ae[j] : null;
|
|
2539
2550
|
h in d && N != null && N.parse && u && (this[J][h] = N.parse(u, p, this), this[ke]());
|
|
2540
2551
|
}
|
|
2541
|
-
[(o = Ce,
|
|
2552
|
+
[(o = Ce, i = se, s = J, ke)]() {
|
|
2542
2553
|
this[Ce] && (this[se] ? n.update(this[se], this[J]) : this[se] = n.mount(
|
|
2543
2554
|
this.container,
|
|
2544
2555
|
e,
|
|
@@ -2546,8 +2557,8 @@ function on(e, r, n) {
|
|
|
2546
2557
|
));
|
|
2547
2558
|
}
|
|
2548
2559
|
}
|
|
2549
|
-
for (const f of
|
|
2550
|
-
const p =
|
|
2560
|
+
for (const f of l) {
|
|
2561
|
+
const p = a[f], M = d[f];
|
|
2551
2562
|
Object.defineProperty(c.prototype, f, {
|
|
2552
2563
|
enumerable: !0,
|
|
2553
2564
|
configurable: !0,
|
|
@@ -2568,8 +2579,8 @@ function on(e, r, n) {
|
|
|
2568
2579
|
return c;
|
|
2569
2580
|
}
|
|
2570
2581
|
function sn(e, r, n) {
|
|
2571
|
-
const o = Tt(e),
|
|
2572
|
-
return o.render(
|
|
2582
|
+
const o = Tt(e), i = xe.createElement(r, n);
|
|
2583
|
+
return o.render(i), {
|
|
2573
2584
|
root: o,
|
|
2574
2585
|
ReactComponent: r
|
|
2575
2586
|
};
|
|
@@ -2584,7 +2595,7 @@ function ln({ root: e }) {
|
|
|
2584
2595
|
function Vt(e, r = {}) {
|
|
2585
2596
|
return on(e, r, { mount: sn, update: an, unmount: ln });
|
|
2586
2597
|
}
|
|
2587
|
-
const cn = '*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:currentColor}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}#cc-webplayer-wrapper{--background: var(--cc-webplayer-background, 0 0% 100%);--foreground: var(--cc-webplayer-foreground, 240 10% 3.9%);--primary: var(--cc-webplayer-primary, 216 100% 52%);--primary-foreground: var( --cc-webplayer-primary-foreground, var(--background) );--neutral: var(--cc-webplayer-neutral, 0 0% 39%);--neutral-foreground: var( --cc-webplayer-neutral-foreground, var(--foreground) );--radius-ui: var(--cc-webplayer-radius-ui, 1rem);--radius-carrousel: var(--cc-webplayer-radius-carrousel, 0);--radius-gallery: var(--cc-webplayer-radius-gallery, 0)}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }.\\!container{width:100%!important}.container{width:100%}@media (min-width: 1280px){.\\!container{max-width:1280px!important}.container{max-width:1280px}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.\\!pointer-events-none{pointer-events:none!important}.pointer-events-none{pointer-events:none}.pointer-events-auto{pointer-events:auto}.invisible{visibility:hidden}.fixed{position:fixed}.\\!absolute{position:absolute!important}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.inset-0{top:0;right:0;bottom:0;left:0}.inset-x-0{left:0;right:0}.inset-x-1{left:.25rem;right:.25rem}.inset-y-1{top:.25rem;bottom:.25rem}.-bottom-0\\.5{bottom:-.125rem}.-left-0\\.5{left:-.125rem}.-right-0\\.5{right:-.125rem}.-top-0\\.5{top:-.125rem}.bottom-0{bottom:0}.bottom-1{bottom:.25rem}.left-0{left:0}.left-1{left:.25rem}.left-1\\/2{left:50%}.right-1{right:.25rem}.right-2{right:.5rem}.top-0{top:0}.top-1{top:.25rem}.top-1\\/2{top:50%}.top-2{top:.5rem}.-z-10{z-index:-10}.-z-20{z-index:-20}.z-hotspot{z-index:10}.z-overlay{z-index:30}.z-zoomed-image{z-index:20}.col-start-3{grid-column-start:3}.mx-1{margin-left:.25rem;margin-right:.25rem}.mx-auto{margin-left:auto;margin-right:auto}.my-2{margin-top:.5rem;margin-bottom:.5rem}.-mt-px{margin-top:-1px}.inline-block{display:inline-block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.aspect-square{aspect-ratio:1 / 1}.aspect-video{aspect-ratio:16 / 9}.size-1{width:.25rem;height:.25rem}.size-12{width:3rem;height:3rem}.size-20{width:5rem;height:5rem}.size-4{width:1rem;height:1rem}.size-5{width:1.25rem;height:1.25rem}.size-8{width:2rem;height:2rem}.size-full{width:100%;height:100%}.h-1{height:.25rem}.h-10{height:2.5rem}.h-3\\/4{height:75%}.h-5{height:1.25rem}.h-8{height:2rem}.h-full{height:100%}.h-px{height:1px}.min-h-0{min-height:0px}.w-12{width:3rem}.w-3\\/5{width:60%}.w-8{width:2rem}.w-\\[calc\\(100\\%\\+1024px\\)\\]{width:calc(100% + 1024px)}.w-fit{width:-moz-fit-content;width:fit-content}.w-full{width:100%}.w-max{width:-moz-max-content;width:max-content}.w-px{width:1px}.min-w-0{min-width:0px}.max-w-40{max-width:10rem}.max-w-\\[1600px\\]{max-width:1600px}.shrink-0{flex-shrink:0}.origin-top-left{transform-origin:top left}.-translate-x-1\\.5{--tw-translate-x: -.375rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-x-1\\/2{--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\\/2{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-0{--tw-translate-x: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-1\\.5{--tw-translate-x: .375rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-full{--tw-translate-x: 100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate: 180deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-100{--tw-scale-x: 1;--tw-scale-y: 1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-105{--tw-scale-x: 1.05;--tw-scale-y: 1.05;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes hotspot-ping{0%{transform:scale(0)}25%{opacity:1}75%,to{transform:scale(1.5);opacity:0}}.animate-hotspot-ping{animation:hotspot-ping 3s cubic-bezier(0,0,.2,1) infinite}@keyframes rotation{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.animate-rotation{animation:rotation 1s linear infinite}.cursor-auto{cursor:auto}.cursor-ew-resize{cursor:ew-resize}.cursor-grab{cursor:grab}.cursor-grabbing{cursor:grabbing}.cursor-help{cursor:help}.cursor-move{cursor:move}.cursor-pointer{cursor:pointer}.resize{resize:both}.grid-cols-\\[auto\\,1fr\\,auto\\]{grid-template-columns:auto 1fr auto}.flex-col{flex-direction:column}.items-end{align-items:flex-end}.items-center{align-items:center}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:.25rem}.gap-x-1{-moz-column-gap:.25rem;column-gap:.25rem}.gap-x-2{-moz-column-gap:.5rem;column-gap:.5rem}.gap-x-4{-moz-column-gap:1rem;column-gap:1rem}.gap-y-1{row-gap:.25rem}.gap-y-2{row-gap:.5rem}.gap-y-4{row-gap:1rem}.space-x-0\\.5>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.125rem * var(--tw-space-x-reverse));margin-left:calc(.125rem * calc(1 - var(--tw-space-x-reverse)))}.space-y-0\\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.125rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.125rem * var(--tw-space-y-reverse))}.space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.25rem * var(--tw-space-y-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-x-scroll{overflow-x:scroll}.rounded-carrousel{border-radius:var(--radius-carrousel)}.rounded-full{border-radius:9999px}.rounded-gallery{border-radius:var(--radius-gallery)}.rounded-ui{border-radius:var(--radius-ui)}.rounded-ui-lg{border-radius:calc(var(--radius-ui) + .25rem)}.rounded-ui-md{border-radius:calc(var(--radius-ui) + .125rem)}.rounded-ui-sm{border-radius:calc(var(--radius-ui) - .125rem)}.rounded-b-none{border-bottom-right-radius:0;border-bottom-left-radius:0}.rounded-t-none{border-top-left-radius:0;border-top-right-radius:0}.border{border-width:1px}.border-2{border-width:2px}.border-4{border-width:4px}.border-background{border-color:hsl(var(--background))}.border-primary{border-color:hsl(var(--primary))}.border-b-transparent{border-bottom-color:transparent}.bg-background{background-color:hsl(var(--background))}.bg-background\\/25{background-color:hsl(var(--background) / .25)}.bg-background\\/50{background-color:hsl(var(--background) / .5)}.bg-background\\/60{background-color:hsl(var(--background) / .6)}.bg-foreground\\/25{background-color:hsl(var(--foreground) / .25)}.bg-foreground\\/35{background-color:hsl(var(--foreground) / .35)}.bg-foreground\\/40{background-color:hsl(var(--foreground) / .4)}.bg-foreground\\/50{background-color:hsl(var(--foreground) / .5)}.bg-foreground\\/60{background-color:hsl(var(--foreground) / .6)}.bg-foreground\\/65{background-color:hsl(var(--foreground) / .65)}.bg-foreground\\/75{background-color:hsl(var(--foreground) / .75)}.bg-neutral\\/50{background-color:hsl(var(--neutral) / .5)}.bg-primary{background-color:hsl(var(--primary))}.bg-primary-foreground{background-color:hsl(var(--primary-foreground))}.bg-primary\\/50{background-color:hsl(var(--primary) / .5)}.bg-transparent{background-color:transparent}.bg-gradient-to-t{background-image:linear-gradient(to top,var(--tw-gradient-stops))}.from-foreground{--tw-gradient-from: hsl(var(--foreground)) var(--tw-gradient-from-position);--tw-gradient-to: hsl(var(--foreground) / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.to-transparent{--tw-gradient-to: transparent var(--tw-gradient-to-position)}.object-cover{-o-object-fit:cover;object-fit:cover}.p-0\\.5{padding:.125rem}.p-1{padding:.25rem}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.px-1\\.5{padding-left:.375rem;padding-right:.375rem}.px-2{padding-left:.5rem;padding-right:.5rem}.py-0\\.5{padding-top:.125rem;padding-bottom:.125rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.pl-6{padding-left:1.5rem}.pr-12{padding-right:3rem}.pt-8{padding-top:2rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.text-background{color:hsl(var(--background))}.text-background\\/75{color:hsl(var(--background) / .75)}.text-foreground{color:hsl(var(--foreground))}.text-neutral-foreground{color:hsl(var(--neutral-foreground))}.text-primary{color:hsl(var(--primary))}.text-primary-foreground{color:hsl(var(--primary-foreground))}.opacity-0{opacity:0}.opacity-100{opacity:1}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-\\[width\\]{transition-property:width;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-300{transition-duration:.3s}.duration-details{transition-duration:.35s}.no-scrollbar{scrollbar-width:none;-ms-overflow-style:none}.no-scrollbar::-webkit-scrollbar{display:none}.\\[mask-image\\:linear-gradient\\(to_left\\,transparent_0px\\,black_4px\\,black_calc\\(100\\%-4px\\)\\,transparent_100\\%\\)\\]{-webkit-mask-image:linear-gradient(to left,transparent 0px,black 4px,black calc(100% - 4px),transparent 100%);mask-image:linear-gradient(to left,transparent 0px,black 4px,black calc(100% - 4px),transparent 100%)}.\\*\\:pointer-events-auto>*{pointer-events:auto}.\\*\\:snap-start>*{scroll-snap-align:start}.\\*\\:snap-always>*{scroll-snap-stop:always}.after\\:absolute:after{content:var(--tw-content);position:absolute}.after\\:inset-0:after{content:var(--tw-content);top:0;right:0;bottom:0;left:0}.after\\:rounded-gallery:after{content:var(--tw-content);border-radius:var(--radius-gallery)}.after\\:border-2:after{content:var(--tw-content);border-width:2px}.after\\:border-primary:after{content:var(--tw-content);border-color:hsl(var(--primary))}.after\\:opacity-0:after{content:var(--tw-content);opacity:0}.after\\:opacity-100:after{content:var(--tw-content);opacity:1}.after\\:transition-opacity:after{content:var(--tw-content);transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.hover\\:z-hotspot-hover:hover{z-index:11}.hover\\:bg-foreground\\/25:hover{background-color:hsl(var(--foreground) / .25)}.hover\\:bg-primary\\/25:hover{background-color:hsl(var(--primary) / .25)}.hover\\:bg-primary\\/30:hover{background-color:hsl(var(--primary) / .3)}.hover\\:opacity-80:hover{opacity:.8}.hover\\:after\\:opacity-70:hover:after{content:var(--tw-content);opacity:.7}.disabled\\:opacity-60:disabled{opacity:.6}.group:hover .group-hover\\:pointer-events-auto{pointer-events:auto}.group\\/volume:hover .group-hover\\/volume\\:opacity-100{opacity:1}.group\\/volume:hover .group-hover\\/volume\\:opacity-50{opacity:.5}.group:hover .group-hover\\:opacity-100{opacity:1}@media ((orientation: portrait) and (max-width: 767px)) or ((orientation: landscape) and (max-width: 1023px)){.max-small\\:hidden{display:none}}@media ((orientation: portrait) and (min-width: 768px)) or ((orientation: landscape) and (min-width: 1024px)){.small\\:inset-x-2{left:.5rem;right:.5rem}.small\\:inset-y-2{top:.5rem;bottom:.5rem}.small\\:bottom-2{bottom:.5rem}.small\\:left-2{left:.5rem}.small\\:right-2{right:.5rem}.small\\:right-4{right:1rem}.small\\:top-2{top:.5rem}.small\\:top-4{top:1rem}.small\\:my-4{margin-top:1rem;margin-bottom:1rem}.small\\:hidden{display:none}.small\\:h-12{height:3rem}.small\\:max-w-48{max-width:12rem}.small\\:gap-2{gap:.5rem}.small\\:gap-x-2{-moz-column-gap:.5rem;column-gap:.5rem}.small\\:gap-y-2{row-gap:.5rem}.small\\:gap-y-4{row-gap:1rem}.small\\:space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.25rem * var(--tw-space-x-reverse));margin-left:calc(.25rem * calc(1 - var(--tw-space-x-reverse)))}.small\\:px-2{padding-left:.5rem;padding-right:.5rem}.small\\:py-1{padding-top:.25rem;padding-bottom:.25rem}.small\\:pl-8{padding-left:2rem}.small\\:text-sm{font-size:.875rem;line-height:1.25rem}}@media (min-width: 1280px){.large\\:h-20{height:5rem}.large\\:h-3\\/5{height:60%}.large\\:gap-4{gap:1rem}.large\\:p-2{padding:.5rem}}';
|
|
2598
|
+
const cn = '*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:currentColor}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}#cc-webplayer-wrapper{--background: var(--cc-webplayer-background, 0 0% 100%);--foreground: var(--cc-webplayer-foreground, 240 10% 3.9%);--primary: var(--cc-webplayer-primary, 216 100% 52%);--primary-foreground: var( --cc-webplayer-primary-foreground, var(--background) );--neutral: var(--cc-webplayer-neutral, 0 0% 39%);--neutral-foreground: var( --cc-webplayer-neutral-foreground, var(--foreground) );--radius-ui: var(--cc-webplayer-radius-ui, 1rem);--radius-carrousel: var(--cc-webplayer-radius-carrousel, 0);--radius-gallery: var(--cc-webplayer-radius-gallery, 0)}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }.\\!container{width:100%!important}.container{width:100%}@media (min-width: 1280px){.\\!container{max-width:1280px!important}.container{max-width:1280px}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.\\!pointer-events-none{pointer-events:none!important}.pointer-events-none{pointer-events:none}.pointer-events-auto{pointer-events:auto}.invisible{visibility:hidden}.fixed{position:fixed}.\\!absolute{position:absolute!important}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.inset-0{top:0;right:0;bottom:0;left:0}.inset-x-0{left:0;right:0}.inset-x-1{left:.25rem;right:.25rem}.inset-y-1{top:.25rem;bottom:.25rem}.-bottom-0\\.5{bottom:-.125rem}.-left-0\\.5{left:-.125rem}.-right-0\\.5{right:-.125rem}.-top-0\\.5{top:-.125rem}.bottom-0{bottom:0}.bottom-1{bottom:.25rem}.left-0{left:0}.left-1{left:.25rem}.left-1\\/2{left:50%}.right-1{right:.25rem}.right-2{right:.5rem}.top-0{top:0}.top-1{top:.25rem}.top-1\\/2{top:50%}.top-2{top:.5rem}.-z-10{z-index:-10}.-z-20{z-index:-20}.z-hotspot{z-index:10}.z-overlay{z-index:30}.z-zoomed-image{z-index:20}.col-start-3{grid-column-start:3}.mx-1{margin-left:.25rem;margin-right:.25rem}.mx-auto{margin-left:auto;margin-right:auto}.my-2{margin-top:.5rem;margin-bottom:.5rem}.-mt-px{margin-top:-1px}.inline-block{display:inline-block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.aspect-square{aspect-ratio:1 / 1}.aspect-video{aspect-ratio:16 / 9}.size-1{width:.25rem;height:.25rem}.size-12{width:3rem;height:3rem}.size-20{width:5rem;height:5rem}.size-4{width:1rem;height:1rem}.size-5{width:1.25rem;height:1.25rem}.size-8{width:2rem;height:2rem}.size-full{width:100%;height:100%}.h-1{height:.25rem}.h-10{height:2.5rem}.h-3\\/4{height:75%}.h-5{height:1.25rem}.h-8{height:2rem}.h-full{height:100%}.h-px{height:1px}.min-h-0{min-height:0px}.w-12{width:3rem}.w-3\\/5{width:60%}.w-8{width:2rem}.w-\\[calc\\(100\\%\\+1024px\\)\\]{width:calc(100% + 1024px)}.w-fit{width:-moz-fit-content;width:fit-content}.w-full{width:100%}.w-max{width:-moz-max-content;width:max-content}.w-px{width:1px}.min-w-0{min-width:0px}.max-w-40{max-width:10rem}.max-w-\\[1600px\\]{max-width:1600px}.shrink-0{flex-shrink:0}.origin-top-left{transform-origin:top left}.-translate-x-1\\.5{--tw-translate-x: -.375rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-x-1\\/2{--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\\/2{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-0{--tw-translate-x: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-1\\.5{--tw-translate-x: .375rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-full{--tw-translate-x: 100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate: 180deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-100{--tw-scale-x: 1;--tw-scale-y: 1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-105{--tw-scale-x: 1.05;--tw-scale-y: 1.05;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes hotspot-ping{0%{transform:scale(0)}25%{opacity:1}75%,to{transform:scale(1.5);opacity:0}}.animate-hotspot-ping{animation:hotspot-ping 3s cubic-bezier(0,0,.2,1) infinite}@keyframes rotation{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.animate-rotation{animation:rotation 1s linear infinite}.cursor-auto{cursor:auto}.cursor-ew-resize{cursor:ew-resize}.cursor-grab{cursor:grab}.cursor-grabbing{cursor:grabbing}.cursor-help{cursor:help}.cursor-move{cursor:move}.cursor-pointer{cursor:pointer}.resize{resize:both}.grid-cols-\\[auto\\,1fr\\,auto\\]{grid-template-columns:auto 1fr auto}.flex-col{flex-direction:column}.items-end{align-items:flex-end}.items-center{align-items:center}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:.25rem}.gap-x-1{-moz-column-gap:.25rem;column-gap:.25rem}.gap-x-2{-moz-column-gap:.5rem;column-gap:.5rem}.gap-x-4{-moz-column-gap:1rem;column-gap:1rem}.gap-y-1{row-gap:.25rem}.gap-y-2{row-gap:.5rem}.gap-y-4{row-gap:1rem}.space-x-0\\.5>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.125rem * var(--tw-space-x-reverse));margin-left:calc(.125rem * calc(1 - var(--tw-space-x-reverse)))}.space-y-0\\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.125rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.125rem * var(--tw-space-y-reverse))}.space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.25rem * var(--tw-space-y-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-x-scroll{overflow-x:scroll}.rounded-carrousel{border-radius:var(--radius-carrousel)}.rounded-full{border-radius:9999px}.rounded-gallery{border-radius:var(--radius-gallery)}.rounded-ui{border-radius:var(--radius-ui)}.rounded-ui-lg{border-radius:calc(var(--radius-ui) + .25rem)}.rounded-ui-md{border-radius:calc(var(--radius-ui) + .125rem)}.rounded-ui-sm{border-radius:calc(var(--radius-ui) - .125rem)}.rounded-b-none{border-bottom-right-radius:0;border-bottom-left-radius:0}.rounded-t-none{border-top-left-radius:0;border-top-right-radius:0}.border{border-width:1px}.border-2{border-width:2px}.border-4{border-width:4px}.border-background{border-color:hsl(var(--background))}.border-primary{border-color:hsl(var(--primary))}.border-b-transparent{border-bottom-color:transparent}.bg-background{background-color:hsl(var(--background))}.bg-background\\/25{background-color:hsl(var(--background) / .25)}.bg-background\\/50{background-color:hsl(var(--background) / .5)}.bg-background\\/60{background-color:hsl(var(--background) / .6)}.bg-foreground\\/25{background-color:hsl(var(--foreground) / .25)}.bg-foreground\\/30{background-color:hsl(var(--foreground) / .3)}.bg-foreground\\/35{background-color:hsl(var(--foreground) / .35)}.bg-foreground\\/40{background-color:hsl(var(--foreground) / .4)}.bg-foreground\\/50{background-color:hsl(var(--foreground) / .5)}.bg-foreground\\/60{background-color:hsl(var(--foreground) / .6)}.bg-foreground\\/65{background-color:hsl(var(--foreground) / .65)}.bg-foreground\\/75{background-color:hsl(var(--foreground) / .75)}.bg-neutral\\/50{background-color:hsl(var(--neutral) / .5)}.bg-primary{background-color:hsl(var(--primary))}.bg-primary-foreground{background-color:hsl(var(--primary-foreground))}.bg-primary\\/50{background-color:hsl(var(--primary) / .5)}.bg-transparent{background-color:transparent}.bg-gradient-to-t{background-image:linear-gradient(to top,var(--tw-gradient-stops))}.from-foreground{--tw-gradient-from: hsl(var(--foreground)) var(--tw-gradient-from-position);--tw-gradient-to: hsl(var(--foreground) / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.to-transparent{--tw-gradient-to: transparent var(--tw-gradient-to-position)}.object-cover{-o-object-fit:cover;object-fit:cover}.p-0\\.5{padding:.125rem}.p-1{padding:.25rem}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.px-1\\.5{padding-left:.375rem;padding-right:.375rem}.px-2{padding-left:.5rem;padding-right:.5rem}.py-0\\.5{padding-top:.125rem;padding-bottom:.125rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.pl-6{padding-left:1.5rem}.pr-12{padding-right:3rem}.pt-8{padding-top:2rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.text-background{color:hsl(var(--background))}.text-background\\/75{color:hsl(var(--background) / .75)}.text-foreground{color:hsl(var(--foreground))}.text-neutral-foreground{color:hsl(var(--neutral-foreground))}.text-primary{color:hsl(var(--primary))}.text-primary-foreground{color:hsl(var(--primary-foreground))}.opacity-0{opacity:0}.opacity-100{opacity:1}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-\\[width\\]{transition-property:width;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-300{transition-duration:.3s}.duration-details{transition-duration:.35s}.no-scrollbar{scrollbar-width:none;-ms-overflow-style:none}.no-scrollbar::-webkit-scrollbar{display:none}.\\[mask-image\\:linear-gradient\\(to_left\\,transparent_0px\\,black_4px\\,black_calc\\(100\\%-4px\\)\\,transparent_100\\%\\)\\]{-webkit-mask-image:linear-gradient(to left,transparent 0px,black 4px,black calc(100% - 4px),transparent 100%);mask-image:linear-gradient(to left,transparent 0px,black 4px,black calc(100% - 4px),transparent 100%)}.\\*\\:pointer-events-auto>*{pointer-events:auto}.\\*\\:snap-start>*{scroll-snap-align:start}.\\*\\:snap-always>*{scroll-snap-stop:always}.after\\:absolute:after{content:var(--tw-content);position:absolute}.after\\:inset-0:after{content:var(--tw-content);top:0;right:0;bottom:0;left:0}.after\\:rounded-gallery:after{content:var(--tw-content);border-radius:var(--radius-gallery)}.after\\:border-2:after{content:var(--tw-content);border-width:2px}.after\\:border-primary:after{content:var(--tw-content);border-color:hsl(var(--primary))}.after\\:opacity-0:after{content:var(--tw-content);opacity:0}.after\\:opacity-100:after{content:var(--tw-content);opacity:1}.after\\:transition-opacity:after{content:var(--tw-content);transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.hover\\:z-hotspot-hover:hover{z-index:11}.hover\\:bg-foreground\\/25:hover{background-color:hsl(var(--foreground) / .25)}.hover\\:bg-primary\\/25:hover{background-color:hsl(var(--primary) / .25)}.hover\\:bg-primary\\/30:hover{background-color:hsl(var(--primary) / .3)}.hover\\:opacity-80:hover{opacity:.8}.hover\\:after\\:opacity-70:hover:after{content:var(--tw-content);opacity:.7}.disabled\\:opacity-60:disabled{opacity:.6}.group:hover .group-hover\\:pointer-events-auto{pointer-events:auto}.group\\/volume:hover .group-hover\\/volume\\:opacity-100{opacity:1}.group\\/volume:hover .group-hover\\/volume\\:opacity-50{opacity:.5}.group:hover .group-hover\\:opacity-100{opacity:1}@media ((orientation: portrait) and (max-width: 767px)) or ((orientation: landscape) and (max-width: 1023px)){.max-small\\:hidden{display:none}}@media ((orientation: portrait) and (min-width: 768px)) or ((orientation: landscape) and (min-width: 1024px)){.small\\:inset-x-2{left:.5rem;right:.5rem}.small\\:inset-y-2{top:.5rem;bottom:.5rem}.small\\:bottom-2{bottom:.5rem}.small\\:left-2{left:.5rem}.small\\:right-2{right:.5rem}.small\\:right-4{right:1rem}.small\\:top-2{top:.5rem}.small\\:top-4{top:1rem}.small\\:my-4{margin-top:1rem;margin-bottom:1rem}.small\\:hidden{display:none}.small\\:h-12{height:3rem}.small\\:max-w-48{max-width:12rem}.small\\:gap-2{gap:.5rem}.small\\:gap-x-2{-moz-column-gap:.5rem;column-gap:.5rem}.small\\:gap-y-2{row-gap:.5rem}.small\\:gap-y-4{row-gap:1rem}.small\\:space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.25rem * var(--tw-space-x-reverse));margin-left:calc(.25rem * calc(1 - var(--tw-space-x-reverse)))}.small\\:px-2{padding-left:.5rem;padding-right:.5rem}.small\\:py-1{padding-top:.25rem;padding-bottom:.25rem}.small\\:pl-8{padding-left:2rem}.small\\:text-sm{font-size:.875rem;line-height:1.25rem}}@media (min-width: 1280px){.large\\:h-20{height:5rem}.large\\:h-3\\/5{height:60%}.large\\:gap-4{gap:1rem}.large\\:p-2{padding:.5rem}}';
|
|
2588
2599
|
function dn(e) {
|
|
2589
2600
|
return e.replace(
|
|
2590
2601
|
/([a-z0-9])([A-Z])/g,
|
|
@@ -2636,11 +2647,11 @@ const yn = ({
|
|
|
2636
2647
|
onCompositionLoaded: r,
|
|
2637
2648
|
onCompositionLoadError: n,
|
|
2638
2649
|
onExtendModeOn: o,
|
|
2639
|
-
onExtendModeOff:
|
|
2640
|
-
onHotspotsOn:
|
|
2641
|
-
onHotspotsOff:
|
|
2650
|
+
onExtendModeOff: i,
|
|
2651
|
+
onHotspotsOn: s,
|
|
2652
|
+
onHotspotsOff: l,
|
|
2642
2653
|
onGalleryOpen: d,
|
|
2643
|
-
onGalleryClose:
|
|
2654
|
+
onGalleryClose: a,
|
|
2644
2655
|
...g
|
|
2645
2656
|
}) => {
|
|
2646
2657
|
const c = hn(g);
|
|
@@ -2650,11 +2661,11 @@ const yn = ({
|
|
|
2650
2661
|
[ot, r],
|
|
2651
2662
|
[st, n],
|
|
2652
2663
|
[at, o],
|
|
2653
|
-
[it,
|
|
2654
|
-
[lt,
|
|
2655
|
-
[ct,
|
|
2664
|
+
[it, i],
|
|
2665
|
+
[lt, s],
|
|
2666
|
+
[ct, l],
|
|
2656
2667
|
[dt, d],
|
|
2657
|
-
[ut,
|
|
2668
|
+
[ut, a]
|
|
2658
2669
|
]);
|
|
2659
2670
|
return M.forEach((u, h) => {
|
|
2660
2671
|
if (u) {
|
|
@@ -2675,11 +2686,11 @@ const yn = ({
|
|
|
2675
2686
|
r,
|
|
2676
2687
|
n,
|
|
2677
2688
|
o,
|
|
2678
|
-
a,
|
|
2679
|
-
l,
|
|
2680
2689
|
i,
|
|
2690
|
+
s,
|
|
2691
|
+
l,
|
|
2681
2692
|
d,
|
|
2682
|
-
|
|
2693
|
+
a
|
|
2683
2694
|
]), /* @__PURE__ */ rt.jsx("cc-webplayer", { ...c });
|
|
2684
2695
|
};
|
|
2685
2696
|
St();
|