@halibegic/react-video-player 0.0.47 → 0.0.48
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.
|
@@ -75,11 +75,11 @@ function Dt(e) {
|
|
|
75
75
|
u(i, a[i]);
|
|
76
76
|
});
|
|
77
77
|
}
|
|
78
|
-
function
|
|
78
|
+
function Ft(e, t) {
|
|
79
79
|
this.name = "AggregateError", this.errors = e, this.message = t || "";
|
|
80
80
|
}
|
|
81
|
-
|
|
82
|
-
function
|
|
81
|
+
Ft.prototype = Error.prototype;
|
|
82
|
+
function Mt(e) {
|
|
83
83
|
var t = this;
|
|
84
84
|
return new t(function(n, o) {
|
|
85
85
|
if (!(e && typeof e.length != "undefined"))
|
|
@@ -90,7 +90,7 @@ function Ft(e) {
|
|
|
90
90
|
try {
|
|
91
91
|
t.resolve(a[u]).then(n).catch(function(i) {
|
|
92
92
|
l.push(i), l.length === a.length && o(
|
|
93
|
-
new
|
|
93
|
+
new Ft(
|
|
94
94
|
l,
|
|
95
95
|
"All promises were rejected"
|
|
96
96
|
)
|
|
@@ -112,8 +112,8 @@ function Bn(e, t) {
|
|
|
112
112
|
e.apply(t, arguments);
|
|
113
113
|
};
|
|
114
114
|
}
|
|
115
|
-
function
|
|
116
|
-
if (!(this instanceof
|
|
115
|
+
function M(e) {
|
|
116
|
+
if (!(this instanceof M))
|
|
117
117
|
throw new TypeError("Promises must be constructed via new");
|
|
118
118
|
if (typeof e != "function") throw new TypeError("not a function");
|
|
119
119
|
this._state = 0, this._handled = !1, this._value = void 0, this._deferreds = [], At(e, this);
|
|
@@ -125,7 +125,7 @@ function Nt(e, t) {
|
|
|
125
125
|
e._deferreds.push(t);
|
|
126
126
|
return;
|
|
127
127
|
}
|
|
128
|
-
e._handled = !0,
|
|
128
|
+
e._handled = !0, M._immediateFn(function() {
|
|
129
129
|
var n = e._state === 1 ? t.onFulfilled : t.onRejected;
|
|
130
130
|
if (n === null) {
|
|
131
131
|
(e._state === 1 ? Ke : xe)(t.promise, e._value);
|
|
@@ -147,7 +147,7 @@ function Ke(e, t) {
|
|
|
147
147
|
throw new TypeError("A promise cannot be resolved with itself.");
|
|
148
148
|
if (t && (typeof t == "object" || typeof t == "function")) {
|
|
149
149
|
var n = t.then;
|
|
150
|
-
if (t instanceof
|
|
150
|
+
if (t instanceof M) {
|
|
151
151
|
e._state = 3, e._value = t, Ye(e);
|
|
152
152
|
return;
|
|
153
153
|
} else if (typeof n == "function") {
|
|
@@ -164,8 +164,8 @@ function xe(e, t) {
|
|
|
164
164
|
e._state = 2, e._value = t, Ye(e);
|
|
165
165
|
}
|
|
166
166
|
function Ye(e) {
|
|
167
|
-
e._state === 2 && e._deferreds.length === 0 &&
|
|
168
|
-
e._handled ||
|
|
167
|
+
e._state === 2 && e._deferreds.length === 0 && M._immediateFn(function() {
|
|
168
|
+
e._handled || M._unhandledRejectionFn(e._value);
|
|
169
169
|
});
|
|
170
170
|
for (var t = 0, n = e._deferreds.length; t < n; t++)
|
|
171
171
|
Nt(e, e._deferreds[t]);
|
|
@@ -190,16 +190,16 @@ function At(e, t) {
|
|
|
190
190
|
n = !0, xe(t, o);
|
|
191
191
|
}
|
|
192
192
|
}
|
|
193
|
-
|
|
193
|
+
M.prototype.catch = function(e) {
|
|
194
194
|
return this.then(null, e);
|
|
195
195
|
};
|
|
196
|
-
|
|
196
|
+
M.prototype.then = function(e, t) {
|
|
197
197
|
var n = new this.constructor(Un);
|
|
198
198
|
return Nt(this, new zn(e, t, n)), n;
|
|
199
199
|
};
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
return new
|
|
200
|
+
M.prototype.finally = kt;
|
|
201
|
+
M.all = function(e) {
|
|
202
|
+
return new M(function(t, n) {
|
|
203
203
|
if (!Vt(e))
|
|
204
204
|
return n(new TypeError("Promise.all accepts an array"));
|
|
205
205
|
var o = Array.prototype.slice.call(e);
|
|
@@ -229,33 +229,33 @@ F.all = function(e) {
|
|
|
229
229
|
l(u, o[u]);
|
|
230
230
|
});
|
|
231
231
|
};
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
return e && typeof e == "object" && e.constructor ===
|
|
232
|
+
M.any = Mt;
|
|
233
|
+
M.allSettled = Dt;
|
|
234
|
+
M.resolve = function(e) {
|
|
235
|
+
return e && typeof e == "object" && e.constructor === M ? e : new M(function(t) {
|
|
236
236
|
t(e);
|
|
237
237
|
});
|
|
238
238
|
};
|
|
239
|
-
|
|
240
|
-
return new
|
|
239
|
+
M.reject = function(e) {
|
|
240
|
+
return new M(function(t, n) {
|
|
241
241
|
n(e);
|
|
242
242
|
});
|
|
243
243
|
};
|
|
244
|
-
|
|
245
|
-
return new
|
|
244
|
+
M.race = function(e) {
|
|
245
|
+
return new M(function(t, n) {
|
|
246
246
|
if (!Vt(e))
|
|
247
247
|
return n(new TypeError("Promise.race accepts an array"));
|
|
248
248
|
for (var o = 0, a = e.length; o < a; o++)
|
|
249
|
-
|
|
249
|
+
M.resolve(e[o]).then(t, n);
|
|
250
250
|
});
|
|
251
251
|
};
|
|
252
|
-
|
|
252
|
+
M._immediateFn = // @ts-ignore
|
|
253
253
|
typeof setImmediate == "function" && function(e) {
|
|
254
254
|
setImmediate(e);
|
|
255
255
|
} || function(e) {
|
|
256
256
|
$n(e, 0);
|
|
257
257
|
};
|
|
258
|
-
|
|
258
|
+
M._unhandledRejectionFn = function(t) {
|
|
259
259
|
typeof console != "undefined" && console && console.warn("Possible Unhandled Promise Rejection:", t);
|
|
260
260
|
};
|
|
261
261
|
var ae = (function() {
|
|
@@ -267,7 +267,7 @@ var ae = (function() {
|
|
|
267
267
|
return global;
|
|
268
268
|
throw new Error("unable to locate global object");
|
|
269
269
|
})();
|
|
270
|
-
typeof ae.Promise != "function" ? ae.Promise =
|
|
270
|
+
typeof ae.Promise != "function" ? ae.Promise = M : (ae.Promise.prototype.finally || (ae.Promise.prototype.finally = kt), ae.Promise.allSettled || (ae.Promise.allSettled = Dt), ae.Promise.any || (ae.Promise.any = Mt));
|
|
271
271
|
var Le = { exports: {} }, ge = {};
|
|
272
272
|
var gt;
|
|
273
273
|
function Wn() {
|
|
@@ -312,10 +312,10 @@ function Zn() {
|
|
|
312
312
|
b.unshift("Warning: " + h), Function.prototype.apply.call(console[r], console, b);
|
|
313
313
|
}
|
|
314
314
|
}
|
|
315
|
-
var x = !1,
|
|
315
|
+
var x = !1, F = !1, p = !1, U = !1, Y = !1, z;
|
|
316
316
|
z = Symbol.for("react.module.reference");
|
|
317
317
|
function O(r) {
|
|
318
|
-
return !!(typeof r == "string" || typeof r == "function" || r === o || r === l || Y || r === a || r === d || r === v || U || r === P || x ||
|
|
318
|
+
return !!(typeof r == "string" || typeof r == "function" || r === o || r === l || Y || r === a || r === d || r === v || U || r === P || x || F || p || typeof r == "object" && r !== null && (r.$$typeof === g || r.$$typeof === y || r.$$typeof === u || r.$$typeof === i || r.$$typeof === c || // This needs to include all possible module reference object
|
|
319
319
|
// types supported by any Flight configuration anywhere since
|
|
320
320
|
// we don't know which Flight build this will end up being used
|
|
321
321
|
// with.
|
|
@@ -848,17 +848,17 @@ Check the top-level render call using <` + m + ">.");
|
|
|
848
848
|
ft(ee, r);
|
|
849
849
|
}
|
|
850
850
|
if (ye.call(h, "key")) {
|
|
851
|
-
var ce = K(r), J = Object.keys(h).filter(function(
|
|
852
|
-
return
|
|
851
|
+
var ce = K(r), J = Object.keys(h).filter(function(Mn) {
|
|
852
|
+
return Mn !== "key";
|
|
853
853
|
}), Ze = J.length > 0 ? "{key: someKey, " + J.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
854
854
|
if (!ht[ce + Ze]) {
|
|
855
|
-
var
|
|
855
|
+
var Fn = J.length > 0 ? "{" + J.join(": ..., ") + ": ...}" : "{}";
|
|
856
856
|
R(`A props object containing a "key" prop is being spread into JSX:
|
|
857
857
|
let props = %s;
|
|
858
858
|
<%s {...props} />
|
|
859
859
|
React keys must be passed directly to JSX without using spread:
|
|
860
860
|
let props = %s;
|
|
861
|
-
<%s key={someKey} {...props} />`, Ze, ce,
|
|
861
|
+
<%s key={someKey} {...props} />`, Ze, ce, Fn, ce), ht[ce + Ze] = !0;
|
|
862
862
|
}
|
|
863
863
|
}
|
|
864
864
|
return r === o ? Pn($) : jn($), $;
|
|
@@ -1456,10 +1456,10 @@ function Dr({ url: e, isLive: t, messages: n }) {
|
|
|
1456
1456
|
const o = N(null), a = f((x) => x.level), l = f((x) => x.levels), u = f((x) => x.setLevel), i = f((x) => x.setLevels), c = f((x) => x.techRef), d = f((x) => x.setError), v = N(0), y = N(null), g = 50, P = 1e4, k = W(
|
|
1457
1457
|
(x) => {
|
|
1458
1458
|
if (o.current && (o.current.nextLevel = x, u(null), l)) {
|
|
1459
|
-
const
|
|
1459
|
+
const F = l.map((p) => he(j({}, p), {
|
|
1460
1460
|
selected: p.value === x
|
|
1461
1461
|
}));
|
|
1462
|
-
i(
|
|
1462
|
+
i(F);
|
|
1463
1463
|
}
|
|
1464
1464
|
},
|
|
1465
1465
|
[l, u, i, o]
|
|
@@ -1468,7 +1468,7 @@ function Dr({ url: e, isLive: t, messages: n }) {
|
|
|
1468
1468
|
}, [e]), S = W(() => {
|
|
1469
1469
|
if (!o.current) return;
|
|
1470
1470
|
console.log("[Player][HLS] MANIFEST_LOADED"), d(null), y.current && (clearTimeout(y.current), y.current = null), v.current = 0;
|
|
1471
|
-
const x = o.current.levels,
|
|
1471
|
+
const x = o.current.levels, F = o.current.currentLevel, p = o.current.autoLevelEnabled;
|
|
1472
1472
|
i(
|
|
1473
1473
|
Pr({
|
|
1474
1474
|
levels: x.map((U, Y) => {
|
|
@@ -1480,19 +1480,19 @@ function Dr({ url: e, isLive: t, messages: n }) {
|
|
|
1480
1480
|
width: I
|
|
1481
1481
|
};
|
|
1482
1482
|
}),
|
|
1483
|
-
level:
|
|
1483
|
+
level: F,
|
|
1484
1484
|
isAuto: p
|
|
1485
1485
|
})
|
|
1486
1486
|
);
|
|
1487
1487
|
}, [d, i]), V = W(
|
|
1488
1488
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
1489
|
-
(x,
|
|
1489
|
+
(x, F) => {
|
|
1490
1490
|
var p;
|
|
1491
|
-
if (o.current &&
|
|
1492
|
-
switch (
|
|
1491
|
+
if (o.current && F.fatal)
|
|
1492
|
+
switch (F.type) {
|
|
1493
1493
|
case re.ErrorTypes.NETWORK_ERROR:
|
|
1494
1494
|
let U = (p = n == null ? void 0 : n.unableToPlay) != null ? p : "Unable to play the video. Please try again later.", Y = "NETWORK_ERROR";
|
|
1495
|
-
console.log("[Player][HLS] NETWORK_ERROR",
|
|
1495
|
+
console.log("[Player][HLS] NETWORK_ERROR", F), t ? (v.current < g && (y.current && clearTimeout(y.current), v.current += 1, y.current = setTimeout(() => {
|
|
1496
1496
|
if (o.current)
|
|
1497
1497
|
try {
|
|
1498
1498
|
console.log("[Player][HLS] Retrying stream..."), o.current.loadSource(e);
|
|
@@ -1517,8 +1517,8 @@ function Dr({ url: e, isLive: t, messages: n }) {
|
|
|
1517
1517
|
or ? (x.backBufferLength = -1, x.enableWorker = !1) : t ? x.backBufferLength = 10 : x.backBufferLength = 60;
|
|
1518
1518
|
try {
|
|
1519
1519
|
console.log("[Player][HLS] URL", e), console.log("[Player][HLS] Config", JSON.stringify(x)), console.log("[Player][HLS] Version", re.version), o.current = new re(x), o.current.attachMedia(c.current), o.current.on(re.Events.MEDIA_ATTACHED, _), o.current.on(re.Events.MANIFEST_LOADED, S), o.current.on(re.Events.ERROR, V);
|
|
1520
|
-
} catch (
|
|
1521
|
-
throw new Error(`Error initializing Hls: ${
|
|
1520
|
+
} catch (F) {
|
|
1521
|
+
throw new Error(`Error initializing Hls: ${F}`);
|
|
1522
1522
|
}
|
|
1523
1523
|
}, [
|
|
1524
1524
|
S,
|
|
@@ -1534,8 +1534,8 @@ function Dr({ url: e, isLive: t, messages: n }) {
|
|
|
1534
1534
|
a !== null && k(a);
|
|
1535
1535
|
}, [a, k]), D(() => (re.isSupported() && R(), L), [L, R]), null;
|
|
1536
1536
|
}
|
|
1537
|
-
const
|
|
1538
|
-
playerVideo:
|
|
1537
|
+
const Fr = "_playerVideo_wc0sm_1", Mr = {
|
|
1538
|
+
playerVideo: Fr
|
|
1539
1539
|
};
|
|
1540
1540
|
function Yt({
|
|
1541
1541
|
url: e,
|
|
@@ -1552,14 +1552,14 @@ function Yt({
|
|
|
1552
1552
|
onTimeUpdate: x
|
|
1553
1553
|
}, x = () => {
|
|
1554
1554
|
(!R.current || Date.now() - R.current >= 1e3) && (P(), R.current = Date.now());
|
|
1555
|
-
},
|
|
1555
|
+
}, F = L();
|
|
1556
1556
|
return /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
|
|
1557
1557
|
/* @__PURE__ */ s.jsx(Dr, { isLive: t, url: e, messages: o }),
|
|
1558
1558
|
/* @__PURE__ */ s.jsx(
|
|
1559
1559
|
"video",
|
|
1560
1560
|
j({
|
|
1561
1561
|
ref: V,
|
|
1562
|
-
className:
|
|
1562
|
+
className: Mr.playerVideo,
|
|
1563
1563
|
playsInline: !0,
|
|
1564
1564
|
autoPlay: !0,
|
|
1565
1565
|
controls: !1,
|
|
@@ -1576,7 +1576,7 @@ function Yt({
|
|
|
1576
1576
|
onWaiting: k,
|
|
1577
1577
|
onVolumeChange: _,
|
|
1578
1578
|
tabIndex: -1
|
|
1579
|
-
},
|
|
1579
|
+
}, F)
|
|
1580
1580
|
)
|
|
1581
1581
|
] });
|
|
1582
1582
|
}
|
|
@@ -1697,7 +1697,7 @@ function Zr(o) {
|
|
|
1697
1697
|
"button",
|
|
1698
1698
|
j({
|
|
1699
1699
|
onClick: v,
|
|
1700
|
-
|
|
1700
|
+
onMouseEnter: k,
|
|
1701
1701
|
className: [me.playbackButton, e].filter(Boolean).join(" "),
|
|
1702
1702
|
"aria-label": "Player gestures"
|
|
1703
1703
|
}, n)
|
|
@@ -1737,7 +1737,7 @@ function qr(u) {
|
|
|
1737
1737
|
te != null ? te : 1 / 0
|
|
1738
1738
|
), x(Z, y.current), d.current.accumulate && window.clearTimeout(d.current.accumulate), d.current.accumulate = window.setTimeout(() => {
|
|
1739
1739
|
const q = y.current;
|
|
1740
|
-
q > 0 && (g.current === "backward" ? a == null || a(q) : o == null || o(q), V()), y.current = 0, g.current = null, c.current = null,
|
|
1740
|
+
q > 0 && (g.current === "backward" ? a == null || a(q) : o == null || o(q), V()), y.current = 0, g.current = null, c.current = null, F(), d.current.accumulate = null;
|
|
1741
1741
|
}, 500), c.current = { time: Y, x: O };
|
|
1742
1742
|
} else {
|
|
1743
1743
|
c.current = { time: Y, x: O }, d.current.single && window.clearTimeout(d.current.single);
|
|
@@ -1753,9 +1753,9 @@ function qr(u) {
|
|
|
1753
1753
|
}
|
|
1754
1754
|
}, x = (p, U) => {
|
|
1755
1755
|
U !== 0 && (k({ visible: !0, direction: p, time: U }), d.current.indicator && window.clearTimeout(d.current.indicator), d.current.indicator = window.setTimeout(() => {
|
|
1756
|
-
|
|
1756
|
+
F();
|
|
1757
1757
|
}, 700));
|
|
1758
|
-
},
|
|
1758
|
+
}, F = () => {
|
|
1759
1759
|
k({ visible: !1, direction: null, time: 0 }), d.current.indicator && (window.clearTimeout(d.current.indicator), d.current.indicator = null);
|
|
1760
1760
|
};
|
|
1761
1761
|
return D(() => () => {
|
|
@@ -1902,7 +1902,7 @@ const no = "_progressSlider_hwzgf_1", ro = "_tipContainer_hwzgf_7", oo = "_tipCo
|
|
|
1902
1902
|
);
|
|
1903
1903
|
});
|
|
1904
1904
|
Ae.displayName = "PlayerSlider";
|
|
1905
|
-
function
|
|
1905
|
+
function Me(e) {
|
|
1906
1906
|
const t = e.getBoundingClientRect();
|
|
1907
1907
|
return e.offsetWidth / e.offsetHeight > e.clientWidth / e.clientHeight ? {
|
|
1908
1908
|
left: t.left * 100,
|
|
@@ -1917,7 +1917,7 @@ const Tt = "vod-player-progress-bar";
|
|
|
1917
1917
|
function fo() {
|
|
1918
1918
|
const e = N(null), t = N(null), [n, o] = G(0), [a, l] = G(0), [u, i] = G(!1), [c, d] = G(-1), [v, y] = G(-1), g = A((I) => I.delay), P = A((I) => I.startDate), k = P ? P.getTime() : 0, _ = (/* @__PURE__ */ new Date()).getTime(), S = A((I) => I.setDelay), V = f((I) => I.isPlaying), R = f((I) => I.addIdleLock), L = f((I) => I.removeIdleLock), x = W(() => {
|
|
1919
1919
|
o(Zt(k, g)), l(Sr(k, _));
|
|
1920
|
-
}, [g, _, k]),
|
|
1920
|
+
}, [g, _, k]), F = parseFloat(
|
|
1921
1921
|
(a ? (v !== -1 ? v : n) / a * 100 : 0).toFixed(1)
|
|
1922
1922
|
), p = (I) => {
|
|
1923
1923
|
y(a * (I[0] / 100)), R(Tt);
|
|
@@ -1930,7 +1930,7 @@ function fo() {
|
|
|
1930
1930
|
(I) => {
|
|
1931
1931
|
const Q = e.current, K = t.current;
|
|
1932
1932
|
if (Q && K) {
|
|
1933
|
-
const Z =
|
|
1933
|
+
const Z = Me(Q), oe = Me(K), ue = (I.pageX || I.clientX) - Z.left, te = ue / Z.width;
|
|
1934
1934
|
if (te < 0) return;
|
|
1935
1935
|
let q = ue - oe.width / 2;
|
|
1936
1936
|
q < 0 && (q = 0), q > Z.width - oe.width && (q = -1), K.style.left = q > -1 ? `${q}px` : "auto", K.style.right = q > -1 ? "auto" : "0px";
|
|
@@ -1948,7 +1948,7 @@ function fo() {
|
|
|
1948
1948
|
Ae,
|
|
1949
1949
|
{
|
|
1950
1950
|
ref: e,
|
|
1951
|
-
value: [
|
|
1951
|
+
value: [F],
|
|
1952
1952
|
onPointerLeave: z,
|
|
1953
1953
|
onPointerDown: z,
|
|
1954
1954
|
onPointerMove: O,
|
|
@@ -2107,11 +2107,11 @@ function tn({ children: e }) {
|
|
|
2107
2107
|
const v = n && !u, y = `${qe.idleCheckContainer} ${v ? qe.idleCheckContainerIdle : qe.idleCheckContainerActive}`;
|
|
2108
2108
|
return /* @__PURE__ */ s.jsx("div", { ref: t, className: y, children: e });
|
|
2109
2109
|
}
|
|
2110
|
-
const
|
|
2111
|
-
spinner:
|
|
2110
|
+
const Fo = "_spinner_oo4hi_10", Mo = {
|
|
2111
|
+
spinner: Fo
|
|
2112
2112
|
};
|
|
2113
2113
|
function Vo(e) {
|
|
2114
|
-
return /* @__PURE__ */ s.jsx("div", j({ className:
|
|
2114
|
+
return /* @__PURE__ */ s.jsx("div", j({ className: Mo.spinner }, e));
|
|
2115
2115
|
}
|
|
2116
2116
|
function No(e, t = 500) {
|
|
2117
2117
|
const [n, o] = G(e);
|
|
@@ -2295,7 +2295,7 @@ function an() {
|
|
|
2295
2295
|
) })
|
|
2296
2296
|
] });
|
|
2297
2297
|
}
|
|
2298
|
-
const ni = "0.0.
|
|
2298
|
+
const ni = "0.0.48", ln = {
|
|
2299
2299
|
version: ni
|
|
2300
2300
|
};
|
|
2301
2301
|
function wi(e) {
|
|
@@ -2411,12 +2411,12 @@ function si() {
|
|
|
2411
2411
|
u !== -1 && (v(u), i(-1), g(bt));
|
|
2412
2412
|
}, S = () => o(!0), V = () => o(!1), R = W(
|
|
2413
2413
|
(L) => {
|
|
2414
|
-
const x = e.current,
|
|
2415
|
-
if (x &&
|
|
2416
|
-
const p =
|
|
2414
|
+
const x = e.current, F = t.current;
|
|
2415
|
+
if (x && F) {
|
|
2416
|
+
const p = Me(x), U = Me(F), Y = (L.pageX || L.clientX) - p.left, z = Y / p.width;
|
|
2417
2417
|
if (z < 0) return;
|
|
2418
2418
|
let O = Y - U.width / 2;
|
|
2419
|
-
O < 0 && (O = 0), O > p.width - U.width && (O = -1),
|
|
2419
|
+
O < 0 && (O = 0), O > p.width - U.width && (O = -1), F.style.left = O > -1 ? `${O}px` : "auto", F.style.right = O > -1 ? "auto" : "0px", l(z * d);
|
|
2420
2420
|
}
|
|
2421
2421
|
S();
|
|
2422
2422
|
},
|
|
@@ -2446,17 +2446,17 @@ function si() {
|
|
|
2446
2446
|
)
|
|
2447
2447
|
] });
|
|
2448
2448
|
}
|
|
2449
|
-
const ai = "_remainingTimeContainer_1yyhb_1", li = "_remainingTime_1yyhb_1", ci = "_remainingSeparator_1yyhb_17",
|
|
2449
|
+
const ai = "_remainingTimeContainer_1yyhb_1", li = "_remainingTime_1yyhb_1", ci = "_remainingSeparator_1yyhb_17", Fe = {
|
|
2450
2450
|
remainingTimeContainer: ai,
|
|
2451
2451
|
remainingTime: li,
|
|
2452
2452
|
remainingSeparator: ci
|
|
2453
2453
|
};
|
|
2454
2454
|
function ui() {
|
|
2455
2455
|
const e = f((n) => n.currentTime), t = f((n) => n.duration);
|
|
2456
|
-
return /* @__PURE__ */ s.jsxs("div", { className:
|
|
2457
|
-
/* @__PURE__ */ s.jsx("p", { className:
|
|
2458
|
-
/* @__PURE__ */ s.jsx("p", { className:
|
|
2459
|
-
/* @__PURE__ */ s.jsx("p", { className:
|
|
2456
|
+
return /* @__PURE__ */ s.jsxs("div", { className: Fe.remainingTimeContainer, children: [
|
|
2457
|
+
/* @__PURE__ */ s.jsx("p", { className: Fe.remainingTime, children: _e(e) }),
|
|
2458
|
+
/* @__PURE__ */ s.jsx("p", { className: Fe.remainingSeparator }),
|
|
2459
|
+
/* @__PURE__ */ s.jsx("p", { className: Fe.remainingTime, children: _e(t) })
|
|
2460
2460
|
] });
|
|
2461
2461
|
}
|
|
2462
2462
|
function di({ callback: e }) {
|