highsoft-ui 1.0.188 → 1.0.190

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (87) hide show
  1. package/CLAUDE.md +8 -4
  2. package/dist/{Accordion-NPNV0Rdr.js → Accordion-BAuBLmE3.js} +2 -2
  3. package/dist/{Breadcrumb-BQzfkMH0.js → Breadcrumb-DyHxzIHZ.js} +4 -4
  4. package/dist/{BrowserFrame-Bs2fIKzy.js → BrowserFrame-BPBOv1Tk.js} +5 -5
  5. package/dist/{Button-DtCIaVhq.js → Button-C45Uhxsb.js} +1 -1
  6. package/dist/{ButtonGroup-6tLQmpEH.js → ButtonGroup-CiqrtZuw.js} +1 -1
  7. package/dist/{Checkbox-CqFkzrVk.js → Checkbox-CVftEg1_.js} +1 -1
  8. package/dist/{CodeBlock-BM_Vefdj.js → CodeBlock-B3wBSBYj.js} +4 -4
  9. package/dist/{CookiePolicyModal-BXIr4v-D.js → CookiePolicyModal-DjSphVoO.js} +2 -2
  10. package/dist/{CopyCode-4IXo0bTs.js → CopyCode-CUpfwNcv.js} +2 -2
  11. package/dist/{Dropdown-BgY76epB.js → Dropdown-CrVLfZiy.js} +2 -2
  12. package/dist/{Features-BQ5o3wcc.js → Features-Cgcbnv5_.js} +1 -1
  13. package/dist/{Footer-BjrF6d17.js → Footer-DzsWk7mZ.js} +7 -7
  14. package/dist/{FooterBottom-CT_vF7Wo.js → FooterBottom-Dr8pA9M3.js} +1 -1
  15. package/dist/{FooterHelp-VHhF9ED6.js → FooterHelp-CTJGT2jE.js} +2 -2
  16. package/dist/{FooterLinks-wFTLUi2R.js → FooterLinks-WUB3E0CX.js} +3 -3
  17. package/dist/{Header-Dbi8eOiH.js → Header-LQoKnhWx.js} +16 -16
  18. package/dist/Icon-BUgFags4.js +37 -0
  19. package/dist/{InputGrouped-B3WGuESX.js → InputGrouped-Ddlan78b.js} +3 -3
  20. package/dist/{Label-DwiX1ZiD.js → Label-BE2jiXll.js} +1 -1
  21. package/dist/List-DsP9RBn1.js +88 -0
  22. package/dist/{LogoCarousel-e-1WK43R.js → LogoCarousel-DZCklh0c.js} +3 -3
  23. package/dist/{NewsletterSignup-Dk1cwk-W.js → NewsletterSignup-DZNPeWVb.js} +5 -5
  24. package/dist/{Notification-D93nzw6M.js → Notification-BSUYpeGy.js} +3 -3
  25. package/dist/{PrefPanel-DTbo6QDa.js → PrefPanel-Dqu4mVyV.js} +7 -7
  26. package/dist/{PrevNextNav-C406puU6.js → PrevNextNav-ChtdXmcy.js} +2 -2
  27. package/dist/{ProductNotice-BfI0v5Ag.js → ProductNotice-DnQEPFsx.js} +2 -2
  28. package/dist/{RoadmapDetails-DIByXo2r.js → RoadmapDetails-BgX6JZ4M.js} +5 -5
  29. package/dist/{SearchDropdown-cml8LqKq.js → SearchDropdown-DeqQ84uc.js} +2 -2
  30. package/dist/VideoPlayer-DmgXtaQU.js +456 -0
  31. package/dist/{VideoPlayerModal-BzYnI2f2.js → VideoPlayerModal-bQthGzgn.js} +2 -2
  32. package/dist/{YoutubeModal-8iX4sMik.js → YoutubeModal-CAsJ5oKk.js} +1 -1
  33. package/dist/components/Accordion/index.js +1 -1
  34. package/dist/components/Breadcrumb/index.js +1 -1
  35. package/dist/components/BrowserFrame/index.js +1 -1
  36. package/dist/components/Button/index.js +1 -1
  37. package/dist/components/ButtonGroup/index.js +1 -1
  38. package/dist/components/Checkbox/index.js +1 -1
  39. package/dist/components/CodeBlock/index.js +1 -1
  40. package/dist/components/CopyCode/index.js +1 -1
  41. package/dist/components/Dropdown/index.js +1 -1
  42. package/dist/components/Features/index.js +1 -1
  43. package/dist/components/Figure/ZoomImage.js +3 -3
  44. package/dist/components/Footer/CookiePolicyModal.js +1 -1
  45. package/dist/components/Footer/FooterBottom.js +1 -1
  46. package/dist/components/Footer/FooterHelp.js +1 -1
  47. package/dist/components/Footer/FooterLinks.js +1 -1
  48. package/dist/components/Footer/YoutubeModal.js +1 -1
  49. package/dist/components/Footer/index.js +1 -1
  50. package/dist/components/Header/index.js +1 -1
  51. package/dist/components/Icon/index.js +1 -1
  52. package/dist/components/InputGrouped/index.js +1 -1
  53. package/dist/components/Label/index.js +1 -1
  54. package/dist/components/List/index.js +1 -1
  55. package/dist/components/LogoCarousel/index.js +1 -1
  56. package/dist/components/Modal/ModalContactFooter.js +2 -2
  57. package/dist/components/Modal/index.js +2 -2
  58. package/dist/components/NewsletterSignup/index.js +1 -1
  59. package/dist/components/Notification/index.js +1 -1
  60. package/dist/components/PrefPanel/index.js +1 -1
  61. package/dist/components/PrevNextNav/index.js +1 -1
  62. package/dist/components/ProductNotice/index.js +1 -1
  63. package/dist/components/PromoBanner/index.js +19 -19
  64. package/dist/components/RoadmapDetails/index.js +1 -1
  65. package/dist/components/Search/SearchDialog.js +8 -8
  66. package/dist/components/Search/index.js +2 -2
  67. package/dist/components/SearchDropdown/index.js +1 -1
  68. package/dist/components/Sidebar/NavDisclosure.js +2 -2
  69. package/dist/components/Sidebar/NavGroup.js +2 -2
  70. package/dist/components/Sidebar/Sidebar.js +11 -11
  71. package/dist/components/Sidebar/SidebarLayout.js +1 -1
  72. package/dist/components/Sidebar/SidebarSwitcher.js +2 -2
  73. package/dist/components/VideoCover/index.js +115 -102
  74. package/dist/components/VideoPlayer/VideoPlayerModal.js +1 -1
  75. package/dist/components/VideoPlayer/index.js +1 -1
  76. package/dist/{create-element-ChcNUMOL.js → create-element-BP8g1yS0.js} +1 -1
  77. package/dist/{esm-CqcQTziN.js → esm-BMNJ2hLn.js} +79 -51
  78. package/dist/highsoft-ui.css +1 -1
  79. package/dist/lib/components/Icon/index.d.ts +4 -2
  80. package/dist/lib/components/VideoCover/index.d.ts +5 -2
  81. package/dist/main.js +26 -26
  82. package/dist/{prism-light-B3J0jr_a.js → prism-light-9X-EbG8v.js} +1 -1
  83. package/dist/{styles.module-BnKyCO6_.js → styles.module-G9LPGB5g.js} +2 -0
  84. package/package.json +1 -1
  85. package/dist/Icon-DJTgdvsG.js +0 -36
  86. package/dist/List-gHC2SJgK.js +0 -81
  87. package/dist/VideoPlayer-Cg9MFkP5.js +0 -456
@@ -2,8 +2,8 @@
2
2
  import { useTracker as e } from "./tracking.js";
3
3
  import { t } from "./Box-BZgeSeCV.js";
4
4
  import { t as n } from "./clsx-BWCAbrjV.js";
5
- import { r } from "./esm-CqcQTziN.js";
6
- import { t as i } from "./Button-DtCIaVhq.js";
5
+ import { r } from "./esm-BMNJ2hLn.js";
6
+ import { t as i } from "./Button-C45Uhxsb.js";
7
7
  import { n as a } from "./Typography-DI1AkqiO.js";
8
8
  import o from "./components/ProductIcon/icons/monochrome/Core.js";
9
9
  import s from "./components/ProductIcon/icons/monochrome/Dashboards.js";
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import { t as e } from "./clsx-BWCAbrjV.js";
3
- import { B as t, I as n, l as r, nt as i } from "./esm-CqcQTziN.js";
4
- import { t as a } from "./Button-DtCIaVhq.js";
3
+ import { L as t, V as n, it as r, l as i } from "./esm-BMNJ2hLn.js";
4
+ import { t as a } from "./Button-C45Uhxsb.js";
5
5
  import { n as o } from "./Typography-DI1AkqiO.js";
6
6
  import { useEffect as s, useRef as c } from "react";
7
7
  import { jsx as l, jsxs as u } from "react/jsx-runtime";
@@ -47,7 +47,7 @@ function f({ title: f, items: p, primaryAction: m, meta: h, open: g, defaultOpen
47
47
  }), /* @__PURE__ */ l("span", {
48
48
  className: d.chevron,
49
49
  "aria-hidden": "true",
50
- children: /* @__PURE__ */ l(i, {})
50
+ children: /* @__PURE__ */ l(r, {})
51
51
  })]
52
52
  }),
53
53
  p && p.length > 0 && /* @__PURE__ */ l("ul", {
@@ -57,7 +57,7 @@ function f({ title: f, items: p, primaryAction: m, meta: h, open: g, defaultOpen
57
57
  children: [/* @__PURE__ */ l("span", {
58
58
  className: d.itemIcon,
59
59
  "aria-hidden": "true",
60
- children: e.icon ?? /* @__PURE__ */ l(r, {})
60
+ children: e.icon ?? /* @__PURE__ */ l(i, {})
61
61
  }), /* @__PURE__ */ l(o, {
62
62
  as: "span",
63
63
  size: 200,
@@ -69,7 +69,7 @@ function f({ title: f, items: p, primaryAction: m, meta: h, open: g, defaultOpen
69
69
  (m || h) && /* @__PURE__ */ u("div", {
70
70
  className: d.actions,
71
71
  children: [m && ((e) => {
72
- let r = e.variant ?? "neutral", i = l(r === "soft" ? t : n, {}), o = e.icon === null ? void 0 : e.icon === void 0 ? i : e.icon;
72
+ let r = e.variant ?? "neutral", i = l(r === "soft" ? n : t, {}), o = e.icon === null ? void 0 : e.icon === void 0 ? i : e.icon;
73
73
  return /* @__PURE__ */ l(a, {
74
74
  variant: r,
75
75
  size: 200,
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import { t as e } from "./clsx-BWCAbrjV.js";
3
- import { v as t } from "./esm-CqcQTziN.js";
4
- import { t as n } from "./Icon-DJTgdvsG.js";
3
+ import { v as t } from "./esm-BMNJ2hLn.js";
4
+ import { t as n } from "./Icon-BUgFags4.js";
5
5
  import { t as r } from "./InputSolo-CbnsJlJu.js";
6
6
  import { useCallback as i, useEffect as a, useId as o, useMemo as s, useRef as c, useState as l } from "react";
7
7
  import { Fragment as u, jsx as d, jsxs as f } from "react/jsx-runtime";
@@ -0,0 +1,456 @@
1
+ "use client";
2
+ import { t as e } from "./clsx-BWCAbrjV.js";
3
+ import { D as t, I as n, N as r, T as i, a, gt as o, i as s, n as c, o as l, s as u } from "./esm-BMNJ2hLn.js";
4
+ import { t as d } from "./Icon-BUgFags4.js";
5
+ import { detectProvider as f, providerPosterUrl as p, useMediaEngine as m } from "./components/VideoPlayer/useMediaEngine.js";
6
+ import { forwardRef as h, useCallback as g, useEffect as _, useId as v, useImperativeHandle as y, useRef as b, useState as x } from "react";
7
+ import { jsx as S, jsxs as C } from "react/jsx-runtime";
8
+ var w = {
9
+ button: "_1OFWhq_button",
10
+ ccButton: "_1OFWhq_ccButton",
11
+ centerPlay: "_1OFWhq_centerPlay",
12
+ controlBar: "_1OFWhq_controlBar",
13
+ docked: "_1OFWhq_docked",
14
+ dragging: "_1OFWhq_dragging",
15
+ embed: "_1OFWhq_embed",
16
+ fullscreenTranscript: "_1OFWhq_fullscreenTranscript",
17
+ fullscreenTranscriptBody: "_1OFWhq_fullscreenTranscriptBody",
18
+ fullscreenTranscriptClose: "_1OFWhq_fullscreenTranscriptClose",
19
+ fullscreenTranscriptHeader: "_1OFWhq_fullscreenTranscriptHeader",
20
+ fullscreenTranscriptOpen: "_1OFWhq_fullscreenTranscriptOpen",
21
+ fullscreenTranscriptTitle: "_1OFWhq_fullscreenTranscriptTitle",
22
+ fullscreenTranscriptVisible: "_1OFWhq_fullscreenTranscriptVisible",
23
+ idle: "_1OFWhq_idle",
24
+ player: "_1OFWhq_player",
25
+ progress: "_1OFWhq_progress",
26
+ scrim: "_1OFWhq_scrim",
27
+ slider: "_1OFWhq_slider",
28
+ sliderBuffered: "_1OFWhq_sliderBuffered",
29
+ sliderFill: "_1OFWhq_sliderFill",
30
+ sliderThumb: "_1OFWhq_sliderThumb",
31
+ sliderTrack: "_1OFWhq_sliderTrack",
32
+ stack: "_1OFWhq_stack",
33
+ startCover: "_1OFWhq_startCover",
34
+ tapLayer: "_1OFWhq_tapLayer",
35
+ time: "_1OFWhq_time",
36
+ timeDuration: "_1OFWhq_timeDuration",
37
+ transcript: "_1OFWhq_transcript",
38
+ transcriptBody: "_1OFWhq_transcriptBody",
39
+ transcriptButton: "_1OFWhq_transcriptButton",
40
+ transcriptClip: "_1OFWhq_transcriptClip",
41
+ transcriptReveal: "_1OFWhq_transcriptReveal",
42
+ transcriptRevealOpen: "_1OFWhq_transcriptRevealOpen",
43
+ video: "_1OFWhq_video",
44
+ volumePopover: "_1OFWhq_volumePopover",
45
+ volumeSlider: "_1OFWhq_volumeSlider",
46
+ volumeWrap: "_1OFWhq_volumeWrap"
47
+ }, ee = "var(--HS-text-brand-default-alt)", te = 2600, T = -4;
48
+ function E(e) {
49
+ if (!Number.isFinite(e) || e < 0) return "0:00";
50
+ let t = Math.floor(e), n = Math.floor(t / 3600), r = Math.floor(t % 3600 / 60), i = t % 60, a = n > 0 ? String(r).padStart(2, "0") : String(r), o = String(i).padStart(2, "0");
51
+ return n > 0 ? `${n}:${a}:${o}` : `${a}:${o}`;
52
+ }
53
+ var D = (e) => Math.max(0, Math.min(1, e));
54
+ function O({ value: t, buffered: n, ariaLabel: r, ariaValueText: i, className: a, step: o = .05, onChange: s, onScrubStart: c, onScrubEnd: l }) {
55
+ let u = b(null), [d, f] = x(!1), p = (e) => `${D(e) * 100}%`, m = g((e) => {
56
+ let t = u.current;
57
+ if (!t) return 0;
58
+ let n = t.getBoundingClientRect();
59
+ return D((e - n.left) / n.width);
60
+ }, []), h = (e) => {
61
+ e.preventDefault(), u.current?.setPointerCapture(e.pointerId), f(!0), c?.(), s(m(e.clientX));
62
+ }, _ = (e) => {
63
+ d && s(m(e.clientX));
64
+ }, v = (e) => {
65
+ d && (f(!1), l?.(), u.current?.releasePointerCapture?.(e.pointerId));
66
+ }, y = (e) => {
67
+ let n = null;
68
+ switch (e.key) {
69
+ case "ArrowRight":
70
+ case "ArrowUp":
71
+ n = t + o;
72
+ break;
73
+ case "ArrowLeft":
74
+ case "ArrowDown":
75
+ n = t - o;
76
+ break;
77
+ case "Home":
78
+ n = 0;
79
+ break;
80
+ case "End":
81
+ n = 1;
82
+ break;
83
+ default: return;
84
+ }
85
+ e.preventDefault(), e.stopPropagation(), s(D(n));
86
+ };
87
+ return /* @__PURE__ */ C("div", {
88
+ ref: u,
89
+ role: "slider",
90
+ tabIndex: 0,
91
+ "aria-label": r,
92
+ "aria-valuemin": 0,
93
+ "aria-valuemax": 100,
94
+ "aria-valuenow": Math.round(D(t) * 100),
95
+ "aria-valuetext": i,
96
+ className: e(w.slider, a, { [w.dragging]: d }),
97
+ onPointerDown: h,
98
+ onPointerMove: _,
99
+ onPointerUp: v,
100
+ onPointerCancel: v,
101
+ onKeyDown: y,
102
+ children: [/* @__PURE__ */ C("div", {
103
+ className: w.sliderTrack,
104
+ children: [n != null && /* @__PURE__ */ S("div", {
105
+ className: w.sliderBuffered,
106
+ style: { width: p(n) }
107
+ }), /* @__PURE__ */ S("div", {
108
+ className: w.sliderFill,
109
+ style: { width: p(t) }
110
+ })]
111
+ }), /* @__PURE__ */ S("span", {
112
+ className: w.sliderThumb,
113
+ style: { left: p(t) }
114
+ })]
115
+ });
116
+ }
117
+ var k = h(({ src: h, sources: k, poster: A, muted: ne = !1, autoPlay: re = !1, loop: j = !1, playsInline: ie = !0, preload: ae = "metadata", aspectRatio: oe = "16 / 9", radius: M = 16, accentGradient: se = ee, tracks: N, transcript: P, transcriptTitle: F = "Transcript", "aria-label": ce = "Video player", className: le, style: ue }, de) => {
118
+ let I = f(h, !!k?.length), L = I !== "file", R = !L && N ? N : [], z = R.map((e, t) => (e.kind ?? "captions") === "descriptions" ? -1 : t).filter((e) => e >= 0), B = m({
119
+ provider: I,
120
+ src: h,
121
+ muted: ne,
122
+ autoPlay: re,
123
+ loop: j
124
+ }), { state: V } = B, H = b(null), U = b(null), W = b(void 0), G = v(), fe = g((e) => {
125
+ U.current = e, B.videoRef(e);
126
+ }, [B]);
127
+ y(de, () => U.current, []);
128
+ let [K, pe] = x(!1), [me, q] = x(!1), [he, ge] = x(!1), [_e, ve] = x(!1), [J, ye] = x(() => R.findIndex((e) => e.default && (e.kind ?? "captions") !== "descriptions")), [Y, X] = x(!1), Z = v(), be = b(null), xe = b(null), [Se, Ce] = x(void 0);
129
+ _(() => {
130
+ V.playing && ve(!0);
131
+ }, [V.playing]), _(() => {
132
+ if (Ce(void 0), I !== "vimeo" || A || !h) return;
133
+ let e = !1;
134
+ return fetch(`https://vimeo.com/api/oembed.json?url=${encodeURIComponent(h)}&width=1280`).then((e) => e.ok ? e.json() : null).then((t) => {
135
+ !e && t?.thumbnail_url && Ce(t.thumbnail_url);
136
+ }).catch(() => {}), () => {
137
+ e = !0;
138
+ };
139
+ }, [
140
+ I,
141
+ A,
142
+ h
143
+ ]), _(() => {
144
+ let e = () => pe(document.fullscreenElement === H.current);
145
+ return document.addEventListener("fullscreenchange", e), () => document.removeEventListener("fullscreenchange", e);
146
+ }, []), _(() => {
147
+ K && Y && xe.current?.focus();
148
+ }, [K, Y]);
149
+ let we = g(() => {
150
+ q(!1), window.clearTimeout(W.current), W.current = window.setTimeout(() => q(!0), te);
151
+ }, []);
152
+ _(() => () => window.clearTimeout(W.current), []);
153
+ let Q = g(() => {
154
+ let e = H.current;
155
+ e && (document.fullscreenElement === e ? document.exitFullscreen().catch(() => {}) : e.requestFullscreen?.().catch(() => {}));
156
+ }, []), Te = g(() => {
157
+ X(!1), window.requestAnimationFrame(() => be.current?.focus());
158
+ }, []);
159
+ _(() => {
160
+ let e = U.current;
161
+ if (!e || !R.length) return;
162
+ let t = e.textTracks;
163
+ for (let e = 0; e < t.length; e += 1) {
164
+ let n = t[e];
165
+ n && (n.mode = e === J ? "showing" : "hidden");
166
+ }
167
+ }, [
168
+ J,
169
+ R.length,
170
+ V.duration
171
+ ]), _(() => {
172
+ let e = U.current;
173
+ if (!e || !R.length || typeof VTTCue > "u" || typeof CSS < "u" && CSS.supports?.("-webkit-box-reflect", "below 0px")) return;
174
+ let t = Array.from(e.textTracks).map((e) => {
175
+ let t = () => {
176
+ let t = e.cues ?? e.activeCues;
177
+ if (t) for (let e = 0; e < t.length; e += 1) {
178
+ let n = t[e];
179
+ n instanceof VTTCue && n.line !== T && (n.line = T);
180
+ }
181
+ };
182
+ return t(), e.addEventListener("cuechange", t), [e, t];
183
+ });
184
+ return () => t.forEach(([e, t]) => e.removeEventListener("cuechange", t));
185
+ }, [
186
+ R.length,
187
+ J,
188
+ V.duration
189
+ ]);
190
+ let Ee = g(() => {
191
+ if (!z.length) return;
192
+ let e = z.indexOf(J), t = e + 1 < z.length ? z[e + 1] ?? -1 : -1;
193
+ ye(e === -1 ? z[0] ?? -1 : t);
194
+ }, [z, J]), De = (e) => {
195
+ if (e.target === e.currentTarget) switch (e.key) {
196
+ case " ":
197
+ case "k":
198
+ e.preventDefault(), B.toggle();
199
+ break;
200
+ case "f":
201
+ e.preventDefault(), Q();
202
+ break;
203
+ case "m":
204
+ e.preventDefault(), B.toggleMute();
205
+ break;
206
+ case "c":
207
+ e.preventDefault(), Ee();
208
+ break;
209
+ case "t":
210
+ P != null && (e.preventDefault(), X((e) => !e));
211
+ break;
212
+ case "ArrowRight":
213
+ e.preventDefault(), B.seekBy(5);
214
+ break;
215
+ case "ArrowLeft":
216
+ e.preventDefault(), B.seekBy(-5);
217
+ break;
218
+ default:
219
+ }
220
+ }, Oe = A ?? p(I, h) ?? Se, ke = V.duration ? D(V.currentTime / V.duration) : 0, Ae = V.muted || V.volume === 0 ? s : V.volume < .5 ? a : l, je = {
221
+ "--vp-radius": `${M}px`,
222
+ "--vp-gradient": se,
223
+ aspectRatio: K ? void 0 : oe
224
+ }, Me = I === "file" ? /* @__PURE__ */ C("video", {
225
+ ref: fe,
226
+ className: w.video,
227
+ src: k?.length ? void 0 : h,
228
+ poster: A,
229
+ muted: ne,
230
+ autoPlay: re,
231
+ loop: j,
232
+ playsInline: ie,
233
+ preload: ae,
234
+ onClick: B.toggle,
235
+ children: [k?.map((e) => /* @__PURE__ */ S("source", {
236
+ src: e.src,
237
+ type: e.type
238
+ }, e.src)), R.map((e) => /* @__PURE__ */ S("track", {
239
+ src: e.src,
240
+ srcLang: e.srclang,
241
+ label: e.label,
242
+ kind: e.kind ?? "captions"
243
+ }, e.src))]
244
+ }) : /* @__PURE__ */ S("div", {
245
+ ref: B.mountRef,
246
+ className: w.embed
247
+ }), $ = /* @__PURE__ */ C("div", {
248
+ ref: H,
249
+ role: "region",
250
+ "aria-label": ce,
251
+ "aria-labelledby": G,
252
+ tabIndex: 0,
253
+ className: e("hsui-video-player", w.player, {
254
+ [w.playing]: V.playing,
255
+ [w.ended]: V.ended,
256
+ [w.idle]: me && V.playing && !he,
257
+ [w.docked]: P != null && Y,
258
+ [w.fullscreenTranscriptVisible]: K && Y
259
+ }, le),
260
+ style: {
261
+ ...je,
262
+ ...ue
263
+ },
264
+ onPointerMove: we,
265
+ onPointerLeave: () => V.playing && q(!0),
266
+ onKeyDown: De,
267
+ onDoubleClick: Q,
268
+ children: [
269
+ /* @__PURE__ */ S("span", {
270
+ id: G,
271
+ className: "sr-only",
272
+ children: ce
273
+ }),
274
+ Me,
275
+ L && !_e && /* @__PURE__ */ S("div", {
276
+ className: w.startCover,
277
+ "aria-hidden": "true",
278
+ style: Oe ? { backgroundImage: `url("${Oe}")` } : void 0
279
+ }),
280
+ L && /* @__PURE__ */ S("button", {
281
+ type: "button",
282
+ className: w.tapLayer,
283
+ onClick: B.toggle,
284
+ "aria-label": V.playing ? "Pause" : "Play",
285
+ tabIndex: -1
286
+ }),
287
+ /* @__PURE__ */ S("div", {
288
+ className: w.scrim,
289
+ "aria-hidden": "true"
290
+ }),
291
+ !V.playing && /* @__PURE__ */ S("button", {
292
+ type: "button",
293
+ className: w.centerPlay,
294
+ onClick: B.toggle,
295
+ "aria-label": V.ended ? "Replay" : "Play",
296
+ tabIndex: -1,
297
+ children: /* @__PURE__ */ S(d, {
298
+ name: i,
299
+ size: 32
300
+ })
301
+ }),
302
+ /* @__PURE__ */ C("div", {
303
+ className: w.controlBar,
304
+ children: [
305
+ /* @__PURE__ */ S("button", {
306
+ type: "button",
307
+ className: w.button,
308
+ onClick: B.toggle,
309
+ "aria-label": V.playing ? "Pause" : "Play",
310
+ children: /* @__PURE__ */ S(d, {
311
+ name: V.playing ? t : i,
312
+ size: 20
313
+ })
314
+ }),
315
+ /* @__PURE__ */ C("div", {
316
+ className: w.volumeWrap,
317
+ children: [/* @__PURE__ */ S("button", {
318
+ type: "button",
319
+ className: w.button,
320
+ onClick: B.toggleMute,
321
+ "aria-label": V.muted ? "Unmute" : "Mute",
322
+ "aria-pressed": V.muted,
323
+ children: /* @__PURE__ */ S(d, {
324
+ name: Ae,
325
+ size: 20
326
+ })
327
+ }), /* @__PURE__ */ S("div", {
328
+ className: w.volumePopover,
329
+ children: /* @__PURE__ */ S(O, {
330
+ className: w.volumeSlider,
331
+ value: V.volume,
332
+ ariaLabel: "Volume",
333
+ ariaValueText: `${Math.round(V.volume * 100)}%`,
334
+ onChange: B.setVolume
335
+ })
336
+ })]
337
+ }),
338
+ /* @__PURE__ */ S("span", {
339
+ className: w.time,
340
+ children: E(V.currentTime)
341
+ }),
342
+ /* @__PURE__ */ S(O, {
343
+ className: w.progress,
344
+ value: ke,
345
+ buffered: V.buffered,
346
+ ariaLabel: "Seek",
347
+ ariaValueText: `${E(V.currentTime)} of ${E(V.duration)}`,
348
+ onChange: B.seekFraction,
349
+ onScrubStart: () => {
350
+ ge(!0), B.beginSeek();
351
+ },
352
+ onScrubEnd: () => {
353
+ ge(!1), B.endSeek();
354
+ }
355
+ }),
356
+ /* @__PURE__ */ S("span", {
357
+ className: e(w.time, w.timeDuration),
358
+ children: E(V.duration)
359
+ }),
360
+ P != null && /* @__PURE__ */ S("button", {
361
+ ref: be,
362
+ type: "button",
363
+ className: e(w.button, w.transcriptButton),
364
+ onClick: () => X((e) => !e),
365
+ "aria-expanded": Y,
366
+ "aria-controls": Z,
367
+ "aria-label": Y ? "Hide transcript" : "Show transcript",
368
+ children: /* @__PURE__ */ S(d, {
369
+ name: o,
370
+ size: 20
371
+ })
372
+ }),
373
+ z.length > 0 && /* @__PURE__ */ S("button", {
374
+ type: "button",
375
+ className: e(w.button, w.ccButton),
376
+ onClick: Ee,
377
+ "aria-pressed": J !== -1,
378
+ "aria-label": J === -1 ? "Turn on captions" : z.length > 1 ? `Captions: ${R[J]?.label ?? ""} — next track` : "Turn off captions",
379
+ children: /* @__PURE__ */ S(d, {
380
+ name: u,
381
+ size: 20
382
+ })
383
+ }),
384
+ /* @__PURE__ */ S("button", {
385
+ type: "button",
386
+ className: w.button,
387
+ onClick: Q,
388
+ "aria-label": K ? "Exit fullscreen" : "Enter fullscreen",
389
+ children: /* @__PURE__ */ S(d, {
390
+ name: K ? r : n,
391
+ size: 20
392
+ })
393
+ })
394
+ ]
395
+ }),
396
+ K && P != null && /* @__PURE__ */ C("aside", {
397
+ id: Z,
398
+ role: "region",
399
+ "aria-label": F,
400
+ "aria-hidden": !Y,
401
+ inert: !Y,
402
+ className: e(w.fullscreenTranscript, { [w.fullscreenTranscriptOpen]: Y }),
403
+ onKeyDown: (e) => {
404
+ e.key === "Escape" && (e.preventDefault(), Te());
405
+ },
406
+ children: [/* @__PURE__ */ C("div", {
407
+ className: w.fullscreenTranscriptHeader,
408
+ children: [/* @__PURE__ */ S("h2", {
409
+ className: w.fullscreenTranscriptTitle,
410
+ children: F
411
+ }), /* @__PURE__ */ S("button", {
412
+ ref: xe,
413
+ type: "button",
414
+ className: w.fullscreenTranscriptClose,
415
+ onClick: Te,
416
+ "aria-label": "Close transcript",
417
+ children: /* @__PURE__ */ S(d, {
418
+ name: c,
419
+ size: 20
420
+ })
421
+ })]
422
+ }), /* @__PURE__ */ S("div", {
423
+ className: e(w.transcriptBody, w.fullscreenTranscriptBody),
424
+ children: P
425
+ })]
426
+ })
427
+ ]
428
+ });
429
+ return P == null ? $ : /* @__PURE__ */ C("div", {
430
+ className: e("hsui-video-player-stack", w.stack),
431
+ children: [$, !K && /* @__PURE__ */ S("div", {
432
+ className: e(w.transcriptReveal, { [w.transcriptRevealOpen]: Y }),
433
+ inert: !Y,
434
+ children: /* @__PURE__ */ S("div", {
435
+ className: w.transcriptClip,
436
+ children: /* @__PURE__ */ S("div", {
437
+ id: Z,
438
+ role: "region",
439
+ "aria-label": F,
440
+ className: w.transcript,
441
+ style: {
442
+ borderBottomLeftRadius: M,
443
+ borderBottomRightRadius: M
444
+ },
445
+ children: /* @__PURE__ */ S("div", {
446
+ className: w.transcriptBody,
447
+ children: P
448
+ })
449
+ })
450
+ })
451
+ })]
452
+ });
453
+ });
454
+ k.displayName = "VideoPlayer";
455
+ //#endregion
456
+ export { k as t };
@@ -1,8 +1,8 @@
1
1
  "use client";
2
- import { r as e } from "./esm-CqcQTziN.js";
2
+ import { r as e } from "./esm-BMNJ2hLn.js";
3
3
  import { t } from "./dist-an9z21ra.js";
4
4
  import { a as n, i as r, n as i, o as a, r as o, s, t as c } from "./dist-DWZ0DflU.js";
5
- import { t as l } from "./VideoPlayer-Cg9MFkP5.js";
5
+ import { t as l } from "./VideoPlayer-DmgXtaQU.js";
6
6
  import { jsx as u, jsxs as d } from "react/jsx-runtime";
7
7
  var f = {
8
8
  close: "ig0T5q_close",
@@ -1,6 +1,6 @@
1
1
  import { s as e } from "./fa-B95RwBpz.js";
2
2
  import { VideoCover as t } from "./components/VideoCover/index.js";
3
- import { t as n } from "./VideoPlayerModal-BzYnI2f2.js";
3
+ import { t as n } from "./VideoPlayerModal-bQthGzgn.js";
4
4
  import { jsx as r, jsxs as i } from "react/jsx-runtime";
5
5
  var a = {
6
6
  youtube: "elwCNG_youtube",
@@ -1,2 +1,2 @@
1
- import { n as e, t } from "../../Accordion-NPNV0Rdr.js";
1
+ import { n as e, t } from "../../Accordion-BAuBLmE3.js";
2
2
  export { t as Accordion, e as AccordionItem };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../../Breadcrumb-BQzfkMH0.js";
1
+ import { t as e } from "../../Breadcrumb-DyHxzIHZ.js";
2
2
  export { e as Breadcrumb };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../../BrowserFrame-Bs2fIKzy.js";
1
+ import { t as e } from "../../BrowserFrame-BPBOv1Tk.js";
2
2
  export { e as BrowserFrame };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../../Button-DtCIaVhq.js";
1
+ import { t as e } from "../../Button-C45Uhxsb.js";
2
2
  export { e as Button };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../../ButtonGroup-6tLQmpEH.js";
1
+ import { t as e } from "../../ButtonGroup-CiqrtZuw.js";
2
2
  export { e as ButtonGroup };
@@ -1,2 +1,2 @@
1
- import { n as e, t } from "../../Checkbox-CqFkzrVk.js";
1
+ import { n as e, t } from "../../Checkbox-CVftEg1_.js";
2
2
  export { t as Checkbox, e as CheckboxGroup };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../../CodeBlock-BM_Vefdj.js";
1
+ import { t as e } from "../../CodeBlock-B3wBSBYj.js";
2
2
  export { e as CodeBlock };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../../CopyCode-4IXo0bTs.js";
1
+ import { t as e } from "../../CopyCode-CUpfwNcv.js";
2
2
  export { e as CopyCode };
@@ -1,2 +1,2 @@
1
- import { n as e, r as t, t as n } from "../../Dropdown-BgY76epB.js";
1
+ import { n as e, r as t, t as n } from "../../Dropdown-CrVLfZiy.js";
2
2
  export { n as Dropdown, e as DropdownItem, t as DropdownSeparator };
@@ -1,2 +1,2 @@
1
- import { n as e, t } from "../../Features-BQ5o3wcc.js";
1
+ import { n as e, t } from "../../Features-Cgcbnv5_.js";
2
2
  export { t as FeatureItem, e as Features };
@@ -1,9 +1,9 @@
1
1
  "use client";
2
- import { n as e, t } from "../../esm-CqcQTziN.js";
3
- import { t as n } from "../../Button-DtCIaVhq.js";
2
+ import { n as e, t } from "../../esm-BMNJ2hLn.js";
3
+ import { t as n } from "../../Button-C45Uhxsb.js";
4
4
  import { n as r } from "../../Typography-DI1AkqiO.js";
5
5
  import { n as i, t as a } from "../../ImagePair-BH6ZnPcE.js";
6
- import { t as o } from "../../Icon-DJTgdvsG.js";
6
+ import { t as o } from "../../Icon-BUgFags4.js";
7
7
  import { useCallback as s, useRef as c } from "react";
8
8
  import { Fragment as l, jsx as u, jsxs as d } from "react/jsx-runtime";
9
9
  //#region lib/components/Figure/ZoomImage.tsx
@@ -1,2 +1,2 @@
1
- import { t as e } from "../../CookiePolicyModal-BXIr4v-D.js";
1
+ import { t as e } from "../../CookiePolicyModal-DjSphVoO.js";
2
2
  export { e as default };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../../FooterBottom-CT_vF7Wo.js";
1
+ import { t as e } from "../../FooterBottom-Dr8pA9M3.js";
2
2
  export { e as default };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../../FooterHelp-VHhF9ED6.js";
1
+ import { t as e } from "../../FooterHelp-CTJGT2jE.js";
2
2
  export { e as default };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../../FooterLinks-wFTLUi2R.js";
1
+ import { t as e } from "../../FooterLinks-WUB3E0CX.js";
2
2
  export { e as default };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../../YoutubeModal-8iX4sMik.js";
1
+ import { t as e } from "../../YoutubeModal-CAsJ5oKk.js";
2
2
  export { e as default };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../../Footer-BjrF6d17.js";
1
+ import { t as e } from "../../Footer-DzsWk7mZ.js";
2
2
  export { e as Footer };
@@ -1,2 +1,2 @@
1
- import { n as e, t } from "../../Header-Dbi8eOiH.js";
1
+ import { n as e, t } from "../../Header-LQoKnhWx.js";
2
2
  export { t as Header, e as SubHeader };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../../Icon-DJTgdvsG.js";
1
+ import { t as e } from "../../Icon-BUgFags4.js";
2
2
  export { e as Icon };
@@ -1,2 +1,2 @@
1
- import { i as e, n as t, r as n, t as r } from "../../InputGrouped-B3WGuESX.js";
1
+ import { i as e, n as t, r as n, t as r } from "../../InputGrouped-Ddlan78b.js";
2
2
  export { r as FormGroup, t as FormRow, n as InputGrouped, e as SelectGrouped };
@@ -1,2 +1,2 @@
1
- import { n as e, t } from "../../Label-DwiX1ZiD.js";
1
+ import { n as e, t } from "../../Label-BE2jiXll.js";
2
2
  export { t as Label, e as NewTag };
@@ -1,2 +1,2 @@
1
- import { n as e, t } from "../../List-gHC2SJgK.js";
1
+ import { n as e, t } from "../../List-DsP9RBn1.js";
2
2
  export { t as List, e as ListItem };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../../LogoCarousel-e-1WK43R.js";
1
+ import { t as e } from "../../LogoCarousel-DZCklh0c.js";
2
2
  export { e as LogoCarousel };