ostbay-player 1.0.2 → 1.0.4
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/README.md +0 -1
- package/dist/index.css +1 -1
- package/dist/ostbay-player.cjs.js +8 -8
- package/dist/ostbay-player.es.js +339 -339
- package/package.json +1 -1
package/dist/ostbay-player.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import G, { useContext as Re, useState as pe, useRef as
|
|
1
|
+
import G, { useContext as Re, useState as pe, useRef as Ae, useEffect as fe, useImperativeHandle as ro, useMemo as Ue, createContext as gt, useLayoutEffect as Ke, useReducer as no, useDebugValue as $n, createElement as ao, forwardRef as at, useCallback as Me, cloneElement as io, useId as oo } from "react";
|
|
2
2
|
import so from "react-dom";
|
|
3
3
|
import './index.css';function lo(e) {
|
|
4
4
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
@@ -19,11 +19,11 @@ function uo() {
|
|
|
19
19
|
_n = 1;
|
|
20
20
|
var e = G, t = Symbol.for("react.element"), r = Symbol.for("react.fragment"), n = Object.prototype.hasOwnProperty, i = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, d = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
21
21
|
function u(s, f, y) {
|
|
22
|
-
var
|
|
22
|
+
var g, A = {}, x = null, k = null;
|
|
23
23
|
y !== void 0 && (x = "" + y), f.key !== void 0 && (x = "" + f.key), f.ref !== void 0 && (k = f.ref);
|
|
24
|
-
for (
|
|
25
|
-
if (s && s.defaultProps) for (
|
|
26
|
-
return { $$typeof: t, type: s, key: x, ref: k, props:
|
|
24
|
+
for (g in f) n.call(f, g) && !d.hasOwnProperty(g) && (A[g] = f[g]);
|
|
25
|
+
if (s && s.defaultProps) for (g in f = s.defaultProps, f) A[g] === void 0 && (A[g] = f[g]);
|
|
26
|
+
return { $$typeof: t, type: s, key: x, ref: k, props: A, _owner: i.current };
|
|
27
27
|
}
|
|
28
28
|
return Ct.Fragment = r, Ct.jsx = u, Ct.jsxs = u, Ct;
|
|
29
29
|
}
|
|
@@ -40,7 +40,7 @@ var xt = {};
|
|
|
40
40
|
var ea;
|
|
41
41
|
function co() {
|
|
42
42
|
return ea || (ea = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
43
|
-
var e = G, t = Symbol.for("react.element"), r = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), d = Symbol.for("react.profiler"), u = Symbol.for("react.provider"), s = Symbol.for("react.context"), f = Symbol.for("react.forward_ref"), y = Symbol.for("react.suspense"),
|
|
43
|
+
var e = G, t = Symbol.for("react.element"), r = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), d = Symbol.for("react.profiler"), u = Symbol.for("react.provider"), s = Symbol.for("react.context"), f = Symbol.for("react.forward_ref"), y = Symbol.for("react.suspense"), g = Symbol.for("react.suspense_list"), A = Symbol.for("react.memo"), x = Symbol.for("react.lazy"), k = Symbol.for("react.offscreen"), B = Symbol.iterator, j = "@@iterator";
|
|
44
44
|
function O(h) {
|
|
45
45
|
if (h === null || typeof h != "object")
|
|
46
46
|
return null;
|
|
@@ -68,7 +68,7 @@ function co() {
|
|
|
68
68
|
var W = !1, D = !1, T = !1, M = !1, V = !1, I;
|
|
69
69
|
I = Symbol.for("react.module.reference");
|
|
70
70
|
function N(h) {
|
|
71
|
-
return !!(typeof h == "string" || typeof h == "function" || h === n || h === d || V || h === i || h === y || h ===
|
|
71
|
+
return !!(typeof h == "string" || typeof h == "function" || h === n || h === d || V || h === i || h === y || h === g || M || h === k || W || D || T || typeof h == "object" && h !== null && (h.$$typeof === x || h.$$typeof === A || h.$$typeof === u || h.$$typeof === s || h.$$typeof === f || // This needs to include all possible module reference object
|
|
72
72
|
// types supported by any Flight configuration anywhere since
|
|
73
73
|
// we don't know which Flight build this will end up being used
|
|
74
74
|
// with.
|
|
@@ -102,7 +102,7 @@ function co() {
|
|
|
102
102
|
return "StrictMode";
|
|
103
103
|
case y:
|
|
104
104
|
return "Suspense";
|
|
105
|
-
case
|
|
105
|
+
case g:
|
|
106
106
|
return "SuspenseList";
|
|
107
107
|
}
|
|
108
108
|
if (typeof h == "object")
|
|
@@ -115,7 +115,7 @@ function co() {
|
|
|
115
115
|
return c(U._context) + ".Provider";
|
|
116
116
|
case f:
|
|
117
117
|
return S(h, h.render, "ForwardRef");
|
|
118
|
-
case
|
|
118
|
+
case A:
|
|
119
119
|
var K = h.displayName || null;
|
|
120
120
|
return K !== null ? K : m(h.type) || "Memo";
|
|
121
121
|
case x: {
|
|
@@ -284,7 +284,7 @@ function co() {
|
|
|
284
284
|
function yr(h, F, U) {
|
|
285
285
|
return ue(h, !1);
|
|
286
286
|
}
|
|
287
|
-
function
|
|
287
|
+
function gr(h) {
|
|
288
288
|
var F = h.prototype;
|
|
289
289
|
return !!(F && F.isReactComponent);
|
|
290
290
|
}
|
|
@@ -292,20 +292,20 @@ function co() {
|
|
|
292
292
|
if (h == null)
|
|
293
293
|
return "";
|
|
294
294
|
if (typeof h == "function")
|
|
295
|
-
return ue(h,
|
|
295
|
+
return ue(h, gr(h));
|
|
296
296
|
if (typeof h == "string")
|
|
297
297
|
return se(h);
|
|
298
298
|
switch (h) {
|
|
299
299
|
case y:
|
|
300
300
|
return se("Suspense");
|
|
301
|
-
case
|
|
301
|
+
case g:
|
|
302
302
|
return se("SuspenseList");
|
|
303
303
|
}
|
|
304
304
|
if (typeof h == "object")
|
|
305
305
|
switch (h.$$typeof) {
|
|
306
306
|
case f:
|
|
307
307
|
return yr(h.render);
|
|
308
|
-
case
|
|
308
|
+
case A:
|
|
309
309
|
return We(h.type, F, U);
|
|
310
310
|
case x: {
|
|
311
311
|
var K = h, ne = K._payload, oe = K._init;
|
|
@@ -345,7 +345,7 @@ function co() {
|
|
|
345
345
|
}
|
|
346
346
|
}
|
|
347
347
|
var Wi = Array.isArray;
|
|
348
|
-
function
|
|
348
|
+
function Ar(h) {
|
|
349
349
|
return Wi(h);
|
|
350
350
|
}
|
|
351
351
|
function Ni(h) {
|
|
@@ -520,7 +520,7 @@ Check the top-level render call using <` + U + ">.");
|
|
|
520
520
|
{
|
|
521
521
|
if (typeof h != "object")
|
|
522
522
|
return;
|
|
523
|
-
if (
|
|
523
|
+
if (Ar(h))
|
|
524
524
|
for (var U = 0; U < h.length; U++) {
|
|
525
525
|
var K = h[U];
|
|
526
526
|
Cr(K) && Qn(K, F);
|
|
@@ -545,7 +545,7 @@ Check the top-level render call using <` + U + ">.");
|
|
|
545
545
|
U = F.propTypes;
|
|
546
546
|
else if (typeof F == "object" && (F.$$typeof === f || // Note: Memo only checks outer props here.
|
|
547
547
|
// Inner props are checked in the reconciler.
|
|
548
|
-
F.$$typeof ===
|
|
548
|
+
F.$$typeof === A))
|
|
549
549
|
U = F.propTypes;
|
|
550
550
|
else
|
|
551
551
|
return;
|
|
@@ -582,7 +582,7 @@ Check the top-level render call using <` + U + ">.");
|
|
|
582
582
|
var Ce = Zi();
|
|
583
583
|
Ce ? _ += Ce : _ += Zn();
|
|
584
584
|
var de;
|
|
585
|
-
h === null ? de = "null" :
|
|
585
|
+
h === null ? de = "null" : Ar(h) ? de = "array" : h !== void 0 && h.$$typeof === t ? (de = "<" + (m(h.type) || "Unknown") + " />", _ = " Did you accidentally export a JSX literal instead of a component?") : de = typeof h, C("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", de, _);
|
|
586
586
|
}
|
|
587
587
|
var he = Gi(h, F, U, ne, oe);
|
|
588
588
|
if (he == null)
|
|
@@ -591,7 +591,7 @@ Check the top-level render call using <` + U + ">.");
|
|
|
591
591
|
var Ie = F.children;
|
|
592
592
|
if (Ie !== void 0)
|
|
593
593
|
if (K)
|
|
594
|
-
if (
|
|
594
|
+
if (Ar(Ie)) {
|
|
595
595
|
for (var ct = 0; ct < Ie.length; ct++)
|
|
596
596
|
Yn(Ie[ct], h);
|
|
597
597
|
Object.freeze && Object.freeze(Ie);
|
|
@@ -634,16 +634,16 @@ function fo() {
|
|
|
634
634
|
var p = fo();
|
|
635
635
|
const Zt = G.createContext(null);
|
|
636
636
|
Zt.displayName = "ProviderContext";
|
|
637
|
-
function
|
|
637
|
+
function At(e, t, r, n) {
|
|
638
638
|
Object.defineProperty(e, t, { get: r, set: n, enumerable: !0, configurable: !0 });
|
|
639
639
|
}
|
|
640
640
|
var it = {};
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
641
|
+
At(it, "focus-ring", () => Vr, (e) => Vr = e);
|
|
642
|
+
At(it, "i18nFontFamily", () => Wr, (e) => Wr = e);
|
|
643
|
+
At(it, "spectrum", () => Nr, (e) => Nr = e);
|
|
644
|
+
At(it, "spectrum-FocusRing-ring", () => Kt, (e) => Kt = e);
|
|
645
|
+
At(it, "spectrum-FocusRing", () => Br, (e) => Br = e);
|
|
646
|
+
At(it, "spectrum-FocusRing--quiet", () => Dr, (e) => Dr = e);
|
|
647
647
|
var Vr, Wr, Nr, Kt, Br, Dr;
|
|
648
648
|
Vr = "_t8qIa_focus-ring";
|
|
649
649
|
Wr = "_t8qIa_i18nFontFamily";
|
|
@@ -703,7 +703,7 @@ const Ht = {
|
|
|
703
703
|
}, Oa = /* @__PURE__ */ G.createContext(Ht), ho = /* @__PURE__ */ G.createContext(!1);
|
|
704
704
|
let mo = !!(typeof window < "u" && window.document && window.document.createElement), kr = /* @__PURE__ */ new WeakMap();
|
|
705
705
|
function vo(e = !1) {
|
|
706
|
-
let t = Re(Oa), r =
|
|
706
|
+
let t = Re(Oa), r = Ae(null);
|
|
707
707
|
if (r.current === null && !e) {
|
|
708
708
|
var n, i;
|
|
709
709
|
let d = (i = G.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED) === null || i === void 0 || (n = i.ReactCurrentOwner) === null || n === void 0 ? void 0 : n.current;
|
|
@@ -724,12 +724,12 @@ function yo(e) {
|
|
|
724
724
|
let r = vo(!!e), n = t === Ht && process.env.NODE_ENV === "test" ? "react-aria" : `react-aria${t.prefix}`;
|
|
725
725
|
return e || `${n}-${r}`;
|
|
726
726
|
}
|
|
727
|
-
function
|
|
727
|
+
function go(e) {
|
|
728
728
|
let t = G.useId(), [r] = pe(or()), n = r || process.env.NODE_ENV === "test" ? "react-aria" : `react-aria${Ht.prefix}`;
|
|
729
729
|
return e || `${n}-${t}`;
|
|
730
730
|
}
|
|
731
731
|
G.useId;
|
|
732
|
-
function
|
|
732
|
+
function Ao() {
|
|
733
733
|
return !1;
|
|
734
734
|
}
|
|
735
735
|
function bo() {
|
|
@@ -740,7 +740,7 @@ function wo(e) {
|
|
|
740
740
|
};
|
|
741
741
|
}
|
|
742
742
|
function or() {
|
|
743
|
-
return typeof G.useSyncExternalStore == "function" ? G.useSyncExternalStore(wo,
|
|
743
|
+
return typeof G.useSyncExternalStore == "function" ? G.useSyncExternalStore(wo, Ao, bo) : Re(ho);
|
|
744
744
|
}
|
|
745
745
|
function Gr(e) {
|
|
746
746
|
let t = typeof window < "u" && typeof window.matchMedia == "function", [r, n] = pe(() => t ? window.matchMedia(e).matches : !1);
|
|
@@ -765,7 +765,7 @@ function Co(e) {
|
|
|
765
765
|
};
|
|
766
766
|
}
|
|
767
767
|
function sr(e) {
|
|
768
|
-
let t =
|
|
768
|
+
let t = Ae(null);
|
|
769
769
|
return ro(e, () => Co(t)), t;
|
|
770
770
|
}
|
|
771
771
|
const Cn = /* @__PURE__ */ G.createContext(null);
|
|
@@ -782,8 +782,8 @@ function ko(e) {
|
|
|
782
782
|
let t = Object.entries(e).sort(([, f], [, y]) => y - f), r = t.map(([, f]) => `(min-width: ${f}px)`), n = typeof window < "u" && typeof window.matchMedia == "function", i = () => {
|
|
783
783
|
let f = [];
|
|
784
784
|
for (let y in r) {
|
|
785
|
-
let
|
|
786
|
-
window.matchMedia(
|
|
785
|
+
let g = r[y];
|
|
786
|
+
window.matchMedia(g).matches && f.push(t[y][0]);
|
|
787
787
|
}
|
|
788
788
|
return f.push("base"), f;
|
|
789
789
|
}, [d, u] = pe(() => n ? i() : [
|
|
@@ -793,9 +793,9 @@ function ko(e) {
|
|
|
793
793
|
if (!n) return;
|
|
794
794
|
let f = () => {
|
|
795
795
|
const y = i();
|
|
796
|
-
u((
|
|
796
|
+
u((g) => g.length !== y.length || g.some((A, x) => A !== y[x]) ? [
|
|
797
797
|
...y
|
|
798
|
-
] :
|
|
798
|
+
] : g);
|
|
799
799
|
};
|
|
800
800
|
return window.addEventListener("resize", f), () => {
|
|
801
801
|
window.removeEventListener("resize", f);
|
|
@@ -1085,7 +1085,7 @@ Ge(function() {
|
|
|
1085
1085
|
});
|
|
1086
1086
|
const Zo = Ge(function() {
|
|
1087
1087
|
return lr(/Firefox/i);
|
|
1088
|
-
}), Ko = /* @__PURE__ */
|
|
1088
|
+
}), Ko = /* @__PURE__ */ gt({
|
|
1089
1089
|
isNative: !0,
|
|
1090
1090
|
open: Ho,
|
|
1091
1091
|
useHref: (e) => e
|
|
@@ -1524,9 +1524,9 @@ function as(e, t, r, n) {
|
|
|
1524
1524
|
if (!u || e[d] == null) continue;
|
|
1525
1525
|
let [s, f] = u;
|
|
1526
1526
|
typeof s == "function" && (s = s(r));
|
|
1527
|
-
let y = En(e[d], n),
|
|
1528
|
-
if (Array.isArray(s)) for (let
|
|
1529
|
-
else i[s] =
|
|
1527
|
+
let y = En(e[d], n), g = f(y, e.colorVersion);
|
|
1528
|
+
if (Array.isArray(s)) for (let A of s) i[A] = g;
|
|
1529
|
+
else i[s] = g;
|
|
1530
1530
|
}
|
|
1531
1531
|
for (let d in ia) i[d] && (i[ia[d]] = "solid", i.boxSizing = "border-box");
|
|
1532
1532
|
return i;
|
|
@@ -1534,17 +1534,17 @@ function as(e, t, r, n) {
|
|
|
1534
1534
|
function ft(e, t = Pn, r = {}) {
|
|
1535
1535
|
let { UNSAFE_className: n, UNSAFE_style: i, ...d } = e, u = ja(), { direction: s } = kn(), { matchedBreakpoints: f = u?.matchedBreakpoints || [
|
|
1536
1536
|
"base"
|
|
1537
|
-
] } = r, y = as(e, t, s, f),
|
|
1537
|
+
] } = r, y = as(e, t, s, f), g = {
|
|
1538
1538
|
...i,
|
|
1539
1539
|
...y
|
|
1540
1540
|
};
|
|
1541
1541
|
d.className && process.env.NODE_ENV !== "production" && console.warn("The className prop is unsafe and is unsupported in React Spectrum v3. Please use style props with Spectrum variables, or UNSAFE_className if you absolutely must do something custom. Note that this may break in future versions due to DOM structure changes."), d.style && process.env.NODE_ENV !== "production" && console.warn("The style prop is unsafe and is unsupported in React Spectrum v3. Please use style props with Spectrum variables, or UNSAFE_style if you absolutely must do something custom. Note that this may break in future versions due to DOM structure changes.");
|
|
1542
|
-
let
|
|
1543
|
-
style:
|
|
1542
|
+
let A = {
|
|
1543
|
+
style: g,
|
|
1544
1544
|
className: n
|
|
1545
1545
|
};
|
|
1546
|
-
return En(e.isHidden, f) && (
|
|
1547
|
-
styleProps:
|
|
1546
|
+
return En(e.isHidden, f) && (A.hidden = !0), {
|
|
1547
|
+
styleProps: A
|
|
1548
1548
|
};
|
|
1549
1549
|
}
|
|
1550
1550
|
function ye(e) {
|
|
@@ -1623,7 +1623,7 @@ const ds = {
|
|
|
1623
1623
|
}, fs = /* @__PURE__ */ G.forwardRef(function(t, r) {
|
|
1624
1624
|
let n = Re(Zt), i = n && n.colorScheme, d = n && n.breakpoints, { theme: u = n && n.theme, defaultColorScheme: s } = t;
|
|
1625
1625
|
if (!u) throw new Error("theme not found, the parent provider must have a theme provided");
|
|
1626
|
-
let f = ss(u, s || "light"), y = ls(u), { locale:
|
|
1626
|
+
let f = ss(u, s || "light"), y = ls(u), { locale: g } = kn(), A = i ? !!u[i] : !1, { colorScheme: x = A ? i : f, scale: k = n ? n.scale : y, locale: B = n ? g : void 0, breakpoints: j = n ? d : ds, children: O, isQuiet: R, isEmphasized: C, isDisabled: P, isRequired: W, isReadOnly: D, validationState: T, router: M, ...V } = t, I = {
|
|
1627
1627
|
version: La.version,
|
|
1628
1628
|
theme: u,
|
|
1629
1629
|
breakpoints: j,
|
|
@@ -1655,7 +1655,7 @@ const ds = {
|
|
|
1655
1655
|
matchedBreakpoints: N
|
|
1656
1656
|
}, /* @__PURE__ */ G.createElement(us, null, m))));
|
|
1657
1657
|
}), ps = /* @__PURE__ */ G.forwardRef(function(t, r) {
|
|
1658
|
-
let { children: n, ...i } = t, { locale: d, direction: u } = kn(), { theme: s, colorScheme: f, scale: y } = hs(), { modalProviderProps:
|
|
1658
|
+
let { children: n, ...i } = t, { locale: d, direction: u } = kn(), { theme: s, colorScheme: f, scale: y } = hs(), { modalProviderProps: g } = cs(), { styleProps: A } = ft(i), x = sr(r), k = Object.keys(s[f])[0], B = Object.keys(s[y])[0], j = wn(A.className, oa(it).spectrum, oa(qe).spectrum, Object.values(s[f]), Object.values(s[y]), s.global ? Object.values(s.global) : null, {
|
|
1659
1659
|
"react-spectrum-provider": Wt,
|
|
1660
1660
|
spectrum: Wt,
|
|
1661
1661
|
[k]: Wt,
|
|
@@ -1663,11 +1663,11 @@ const ds = {
|
|
|
1663
1663
|
});
|
|
1664
1664
|
var O, R;
|
|
1665
1665
|
let C = {
|
|
1666
|
-
...
|
|
1666
|
+
...A.style,
|
|
1667
1667
|
// This ensures that browser native UI like scrollbars are rendered in the right color scheme.
|
|
1668
1668
|
// See https://web.dev/color-scheme/.
|
|
1669
1669
|
colorScheme: (R = (O = t.colorScheme) !== null && O !== void 0 ? O : f) !== null && R !== void 0 ? R : Object.keys(s).filter((W) => W === "light" || W === "dark").join(" ")
|
|
1670
|
-
}, P =
|
|
1670
|
+
}, P = Ae(!1);
|
|
1671
1671
|
return fe(() => {
|
|
1672
1672
|
if (u && x.current) {
|
|
1673
1673
|
var W, D;
|
|
@@ -1680,8 +1680,8 @@ const ds = {
|
|
|
1680
1680
|
P
|
|
1681
1681
|
]), /* @__PURE__ */ G.createElement("div", {
|
|
1682
1682
|
...Mt(i),
|
|
1683
|
-
...g,
|
|
1684
1683
|
...A,
|
|
1684
|
+
...g,
|
|
1685
1685
|
className: j,
|
|
1686
1686
|
style: C,
|
|
1687
1687
|
lang: d,
|
|
@@ -1734,17 +1734,17 @@ var qa = {};
|
|
|
1734
1734
|
ys(qa, "spectrum--light", () => an, (e) => an = e);
|
|
1735
1735
|
var an;
|
|
1736
1736
|
an = "YqfL3a_spectrum--light";
|
|
1737
|
-
function
|
|
1737
|
+
function gs(e, t, r, n) {
|
|
1738
1738
|
Object.defineProperty(e, t, { get: r, set: n, enumerable: !0, configurable: !0 });
|
|
1739
1739
|
}
|
|
1740
1740
|
var Ga = {};
|
|
1741
|
-
|
|
1741
|
+
gs(Ga, "spectrum--medium", () => on, (e) => on = e);
|
|
1742
1742
|
var on;
|
|
1743
1743
|
on = "rfm_fq_spectrum--medium";
|
|
1744
1744
|
function kt(e) {
|
|
1745
1745
|
return e && e.__esModule ? e.default : e;
|
|
1746
1746
|
}
|
|
1747
|
-
let
|
|
1747
|
+
let As = {
|
|
1748
1748
|
global: kt(Xe),
|
|
1749
1749
|
light: kt(qa),
|
|
1750
1750
|
dark: kt(Ja),
|
|
@@ -1767,7 +1767,7 @@ const H = (e) => {
|
|
|
1767
1767
|
playButton: "row1-8",
|
|
1768
1768
|
playList: "row1-9"
|
|
1769
1769
|
}
|
|
1770
|
-
}, ie =
|
|
1770
|
+
}, ie = gt(null), bs = ({
|
|
1771
1771
|
children: e,
|
|
1772
1772
|
rootContainerProps: t
|
|
1773
1773
|
}) => {
|
|
@@ -1796,7 +1796,7 @@ const H = (e) => {
|
|
|
1796
1796
|
return /* @__PURE__ */ p.jsx(
|
|
1797
1797
|
fs,
|
|
1798
1798
|
{
|
|
1799
|
-
theme:
|
|
1799
|
+
theme: As,
|
|
1800
1800
|
width: "100%",
|
|
1801
1801
|
position: r === "static" || !r ? "static" : "fixed",
|
|
1802
1802
|
UNSAFE_className: u,
|
|
@@ -1805,7 +1805,7 @@ const H = (e) => {
|
|
|
1805
1805
|
children: e
|
|
1806
1806
|
}
|
|
1807
1807
|
);
|
|
1808
|
-
}, je =
|
|
1808
|
+
}, je = gt(null), sa = (e, t) => Math.round(Math.random() * (t - e) + e), ur = (e) => {
|
|
1809
1809
|
const t = `${Math.floor(e / 60)}`.padStart(2, "0"), r = `${Math.floor(e % 60)}`.padStart(2, "0");
|
|
1810
1810
|
return `${t}:${r}`;
|
|
1811
1811
|
}, Za = (e, t, r) => {
|
|
@@ -1995,7 +1995,7 @@ const H = (e) => {
|
|
|
1995
1995
|
}
|
|
1996
1996
|
},
|
|
1997
1997
|
volumeSliderPlacement: d?.volumeSlider
|
|
1998
|
-
}, [
|
|
1998
|
+
}, [g, A] = no(
|
|
1999
1999
|
ws,
|
|
2000
2000
|
{
|
|
2001
2001
|
playList: r,
|
|
@@ -2009,7 +2009,7 @@ const H = (e) => {
|
|
|
2009
2009
|
...u
|
|
2010
2010
|
}
|
|
2011
2011
|
);
|
|
2012
|
-
return /* @__PURE__ */ p.jsx(ie.Provider, { value:
|
|
2012
|
+
return /* @__PURE__ */ p.jsx(ie.Provider, { value: g, children: /* @__PURE__ */ p.jsx(je.Provider, { value: A, children: e }) });
|
|
2013
2013
|
};
|
|
2014
2014
|
var we = function() {
|
|
2015
2015
|
return we = Object.assign || function(t) {
|
|
@@ -2038,7 +2038,7 @@ var ks = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|def
|
|
|
2038
2038
|
/* Z+1 */
|
|
2039
2039
|
), le = "-ms-", Et = "-moz-", ae = "-webkit-", Ka = "comm", cr = "rule", Rn = "decl", Ps = "@import", Qa = "@keyframes", Es = "@layer", Ya = Math.abs, In = String.fromCharCode, sn = Object.assign;
|
|
2040
2040
|
function Rs(e, t) {
|
|
2041
|
-
return
|
|
2041
|
+
return ge(e, 0) ^ 45 ? (((t << 2 ^ ge(e, 0)) << 2 ^ ge(e, 1)) << 2 ^ ge(e, 2)) << 2 ^ ge(e, 3) : 0;
|
|
2042
2042
|
}
|
|
2043
2043
|
function Ha(e) {
|
|
2044
2044
|
return e.trim();
|
|
@@ -2052,7 +2052,7 @@ function X(e, t, r) {
|
|
|
2052
2052
|
function Lt(e, t, r) {
|
|
2053
2053
|
return e.indexOf(t, r);
|
|
2054
2054
|
}
|
|
2055
|
-
function
|
|
2055
|
+
function ge(e, t) {
|
|
2056
2056
|
return e.charCodeAt(t) | 0;
|
|
2057
2057
|
}
|
|
2058
2058
|
function pt(e, t, r) {
|
|
@@ -2091,13 +2091,13 @@ function Ts() {
|
|
|
2091
2091
|
return me;
|
|
2092
2092
|
}
|
|
2093
2093
|
function Ms() {
|
|
2094
|
-
return me = Oe > 0 ?
|
|
2094
|
+
return me = Oe > 0 ? ge(bt, --Oe) : 0, ht--, me === 10 && (ht = 1, dr--), me;
|
|
2095
2095
|
}
|
|
2096
2096
|
function Ne() {
|
|
2097
|
-
return me = Oe < $a ?
|
|
2097
|
+
return me = Oe < $a ? ge(bt, Oe++) : 0, ht++, me === 10 && (ht = 1, dr++), me;
|
|
2098
2098
|
}
|
|
2099
2099
|
function rt() {
|
|
2100
|
-
return
|
|
2100
|
+
return ge(bt, Oe);
|
|
2101
2101
|
}
|
|
2102
2102
|
function Jt() {
|
|
2103
2103
|
return Oe;
|
|
@@ -2199,11 +2199,11 @@ function Ds(e) {
|
|
|
2199
2199
|
return js(Ut("", null, null, null, [""], e = Os(e), 0, [0], e));
|
|
2200
2200
|
}
|
|
2201
2201
|
function Ut(e, t, r, n, i, d, u, s, f) {
|
|
2202
|
-
for (var y = 0,
|
|
2202
|
+
for (var y = 0, g = 0, A = u, x = 0, k = 0, B = 0, j = 1, O = 1, R = 1, C = 0, P = "", W = i, D = d, T = n, M = P; O; )
|
|
2203
2203
|
switch (B = C, C = Ne()) {
|
|
2204
2204
|
// (
|
|
2205
2205
|
case 40:
|
|
2206
|
-
if (B != 108 &&
|
|
2206
|
+
if (B != 108 && ge(M, A - 1) == 58) {
|
|
2207
2207
|
Lt(M += X(Er(C), "&", "&\f"), "&\f", Ya(y ? s[y - 1] : 0)) != -1 && (R = -1);
|
|
2208
2208
|
break;
|
|
2209
2209
|
}
|
|
@@ -2248,35 +2248,35 @@ function Ut(e, t, r, n, i, d, u, s, f) {
|
|
|
2248
2248
|
case 125:
|
|
2249
2249
|
O = 0;
|
|
2250
2250
|
// ;
|
|
2251
|
-
case 59 +
|
|
2252
|
-
R == -1 && (M = X(M, /\f/g, "")), k > 0 && Be(M) -
|
|
2251
|
+
case 59 + g:
|
|
2252
|
+
R == -1 && (M = X(M, /\f/g, "")), k > 0 && Be(M) - A && Pt(k > 32 ? da(M + ";", n, r, A - 1, f) : da(X(M, " ", "") + ";", n, r, A - 2, f), f);
|
|
2253
2253
|
break;
|
|
2254
2254
|
// @ ;
|
|
2255
2255
|
case 59:
|
|
2256
2256
|
M += ";";
|
|
2257
2257
|
// { rule/at-rule
|
|
2258
2258
|
default:
|
|
2259
|
-
if (Pt(T = ca(M, t, r, y,
|
|
2260
|
-
if (
|
|
2261
|
-
Ut(M, t, T, T, W, d,
|
|
2259
|
+
if (Pt(T = ca(M, t, r, y, g, i, s, P, W = [], D = [], A, d), d), C === 123)
|
|
2260
|
+
if (g === 0)
|
|
2261
|
+
Ut(M, t, T, T, W, d, A, s, D);
|
|
2262
2262
|
else
|
|
2263
|
-
switch (x === 99 &&
|
|
2263
|
+
switch (x === 99 && ge(M, 3) === 110 ? 100 : x) {
|
|
2264
2264
|
// d l m s
|
|
2265
2265
|
case 100:
|
|
2266
2266
|
case 108:
|
|
2267
2267
|
case 109:
|
|
2268
2268
|
case 115:
|
|
2269
|
-
Ut(e, T, T, n && Pt(ca(e, T, T, 0, 0, i, s, P, i, W = [],
|
|
2269
|
+
Ut(e, T, T, n && Pt(ca(e, T, T, 0, 0, i, s, P, i, W = [], A, D), D), i, D, A, s, n ? W : D);
|
|
2270
2270
|
break;
|
|
2271
2271
|
default:
|
|
2272
2272
|
Ut(M, T, T, T, [""], D, 0, s, D);
|
|
2273
2273
|
}
|
|
2274
2274
|
}
|
|
2275
|
-
y =
|
|
2275
|
+
y = g = k = 0, j = R = 1, P = M = "", A = u;
|
|
2276
2276
|
break;
|
|
2277
2277
|
// :
|
|
2278
2278
|
case 58:
|
|
2279
|
-
|
|
2279
|
+
A = 1 + Be(M), k = B;
|
|
2280
2280
|
default:
|
|
2281
2281
|
if (j < 1) {
|
|
2282
2282
|
if (C == 123)
|
|
@@ -2287,7 +2287,7 @@ function Ut(e, t, r, n, i, d, u, s, f) {
|
|
|
2287
2287
|
switch (M += In(C), C * j) {
|
|
2288
2288
|
// &
|
|
2289
2289
|
case 38:
|
|
2290
|
-
R =
|
|
2290
|
+
R = g > 0 ? 1 : (M += "\f", -1);
|
|
2291
2291
|
break;
|
|
2292
2292
|
// ,
|
|
2293
2293
|
case 44:
|
|
@@ -2295,7 +2295,7 @@ function Ut(e, t, r, n, i, d, u, s, f) {
|
|
|
2295
2295
|
break;
|
|
2296
2296
|
// @
|
|
2297
2297
|
case 64:
|
|
2298
|
-
rt() === 45 && (M += Er(Ne())), x = rt(),
|
|
2298
|
+
rt() === 45 && (M += Er(Ne())), x = rt(), g = A = Be(P = M += Bs(Jt())), C++;
|
|
2299
2299
|
break;
|
|
2300
2300
|
// -
|
|
2301
2301
|
case 45:
|
|
@@ -2304,11 +2304,11 @@ function Ut(e, t, r, n, i, d, u, s, f) {
|
|
|
2304
2304
|
}
|
|
2305
2305
|
return d;
|
|
2306
2306
|
}
|
|
2307
|
-
function ca(e, t, r, n, i, d, u, s, f, y,
|
|
2307
|
+
function ca(e, t, r, n, i, d, u, s, f, y, g, A) {
|
|
2308
2308
|
for (var x = i - 1, k = i === 0 ? d : [""], B = Xa(k), j = 0, O = 0, R = 0; j < n; ++j)
|
|
2309
2309
|
for (var C = 0, P = pt(e, x + 1, x = Ya(O = u[j])), W = e; C < B; ++C)
|
|
2310
2310
|
(W = Ha(O > 0 ? k[C] + " " + P : X(P, /&\f/g, k[C]))) && (f[R++] = W);
|
|
2311
|
-
return fr(e, t, r, i === 0 ? cr : s, f, y,
|
|
2311
|
+
return fr(e, t, r, i === 0 ? cr : s, f, y, g, A);
|
|
2312
2312
|
}
|
|
2313
2313
|
function Fs(e, t, r, n) {
|
|
2314
2314
|
return fr(e, t, r, Ka, In(Ts()), pt(e, 2, -2), 0, n);
|
|
@@ -2363,7 +2363,7 @@ function _a(e, t, r) {
|
|
|
2363
2363
|
return ae + e + Et + e + le + e + e;
|
|
2364
2364
|
// writing-mode
|
|
2365
2365
|
case 5936:
|
|
2366
|
-
switch (
|
|
2366
|
+
switch (ge(e, t + 11)) {
|
|
2367
2367
|
// vertical-l(r)
|
|
2368
2368
|
case 114:
|
|
2369
2369
|
return ae + e + le + X(e, /[svh]\w+-[tblr]{2}/, "tb") + e;
|
|
@@ -2453,14 +2453,14 @@ function _a(e, t, r) {
|
|
|
2453
2453
|
case 5021:
|
|
2454
2454
|
case 4765:
|
|
2455
2455
|
if (Be(e) - 1 - t > 6)
|
|
2456
|
-
switch (
|
|
2456
|
+
switch (ge(e, t + 1)) {
|
|
2457
2457
|
// (m)ax-content, (m)in-content
|
|
2458
2458
|
case 109:
|
|
2459
|
-
if (
|
|
2459
|
+
if (ge(e, t + 4) !== 45)
|
|
2460
2460
|
break;
|
|
2461
2461
|
// (f)ill-available, (f)it-content
|
|
2462
2462
|
case 102:
|
|
2463
|
-
return X(e, /(.+:)(.+)-([^]+)/, "$1" + ae + "$2-$3$1" + Et + (
|
|
2463
|
+
return X(e, /(.+:)(.+)-([^]+)/, "$1" + ae + "$2-$3$1" + Et + (ge(e, t + 3) == 108 ? "$3" : "$2-$3")) + e;
|
|
2464
2464
|
// (s)tretch
|
|
2465
2465
|
case 115:
|
|
2466
2466
|
return ~Lt(e, "stretch", 0) ? _a(X(e, "stretch", "fill-available"), t, r) + e : e;
|
|
@@ -2474,15 +2474,15 @@ function _a(e, t, r) {
|
|
|
2474
2474
|
});
|
|
2475
2475
|
// position: sticky
|
|
2476
2476
|
case 4949:
|
|
2477
|
-
if (
|
|
2477
|
+
if (ge(e, t + 6) === 121)
|
|
2478
2478
|
return X(e, ":", ":" + ae) + e;
|
|
2479
2479
|
break;
|
|
2480
2480
|
// display: (flex|inline-flex|grid|inline-grid)
|
|
2481
2481
|
case 6444:
|
|
2482
|
-
switch (
|
|
2482
|
+
switch (ge(e, ge(e, 14) === 45 ? 18 : 11)) {
|
|
2483
2483
|
// (inline-)?fle(x)
|
|
2484
2484
|
case 120:
|
|
2485
|
-
return X(e, /(.+:)([^;\s!]+)(;|(\s+)?!.+)?/, "$1" + ae + (
|
|
2485
|
+
return X(e, /(.+:)([^;\s!]+)(;|(\s+)?!.+)?/, "$1" + ae + (ge(e, 14) === 45 ? "inline-" : "") + "box$3$1" + ae + "$2$3$1" + le + "$2box$3") + e;
|
|
2486
2486
|
// (inline-)?gri(d)
|
|
2487
2487
|
case 100:
|
|
2488
2488
|
return X(e, ":", ":" + le) + e;
|
|
@@ -2619,7 +2619,7 @@ See https://styled-components.com/docs/basics#define-styled-components-outside-o
|
|
|
2619
2619
|
console.error = function(u) {
|
|
2620
2620
|
for (var s = [], f = 1; f < arguments.length; f++) s[f - 1] = arguments[f];
|
|
2621
2621
|
fa.test(u) ? (d = !1, Bt.delete(n)) : i.apply(void 0, Ye([u], s, !1));
|
|
2622
|
-
},
|
|
2622
|
+
}, Ae(), d && !Bt.has(n) && (console.warn(n), Bt.add(n));
|
|
2623
2623
|
} catch (u) {
|
|
2624
2624
|
fa.test(u.message) && Bt.delete(n);
|
|
2625
2625
|
} finally {
|
|
@@ -2805,12 +2805,12 @@ var ol = (function() {
|
|
|
2805
2805
|
if (s) {
|
|
2806
2806
|
var f = s.match(cl);
|
|
2807
2807
|
if (f) {
|
|
2808
|
-
var y = 0 | parseInt(f[1], 10),
|
|
2809
|
-
y !== 0 && (ll(
|
|
2808
|
+
var y = 0 | parseInt(f[1], 10), g = f[2];
|
|
2809
|
+
y !== 0 && (ll(g, y), dl(e, g, f[3]), e.getTag().insertRules(y, i)), i.length = 0;
|
|
2810
2810
|
} else i.push(s);
|
|
2811
2811
|
}
|
|
2812
2812
|
}
|
|
2813
|
-
},
|
|
2813
|
+
}, ga = function(e) {
|
|
2814
2814
|
for (var t = document.querySelectorAll(ul), r = 0, n = t.length; r < n; r++) {
|
|
2815
2815
|
var i = t[r];
|
|
2816
2816
|
i && i.getAttribute(nt) !== ei && (fl(e, i), i.parentNode && i.parentNode.removeChild(i));
|
|
@@ -2876,24 +2876,24 @@ var di = function(e) {
|
|
|
2876
2876
|
}, e.prototype.getRule = function(t) {
|
|
2877
2877
|
return t < this.length ? this.rules[t] : "";
|
|
2878
2878
|
}, e;
|
|
2879
|
-
})(),
|
|
2879
|
+
})(), Aa = _t, yl = { isServer: !_t, useCSSOMInjection: !Gs }, rr = (function() {
|
|
2880
2880
|
function e(t, r, n) {
|
|
2881
2881
|
t === void 0 && (t = mt), r === void 0 && (r = {});
|
|
2882
2882
|
var i = this;
|
|
2883
|
-
this.options = we(we({}, yl), t), this.gs = r, this.names = new Map(n), this.server = !!t.isServer, !this.server && _t &&
|
|
2883
|
+
this.options = we(we({}, yl), t), this.gs = r, this.names = new Map(n), this.server = !!t.isServer, !this.server && _t && Aa && (Aa = !1, ga(this)), jn(this, function() {
|
|
2884
2884
|
return (function(d) {
|
|
2885
|
-
for (var u = d.getTag(), s = u.length, f = "", y = function(
|
|
2885
|
+
for (var u = d.getTag(), s = u.length, f = "", y = function(A) {
|
|
2886
2886
|
var x = (function(R) {
|
|
2887
2887
|
return tr.get(R);
|
|
2888
|
-
})(
|
|
2888
|
+
})(A);
|
|
2889
2889
|
if (x === void 0) return "continue";
|
|
2890
|
-
var k = d.names.get(x), B = u.getGroup(
|
|
2890
|
+
var k = d.names.get(x), B = u.getGroup(A);
|
|
2891
2891
|
if (k === void 0 || !k.size || B.length === 0) return "continue";
|
|
2892
|
-
var j = "".concat(nt, ".g").concat(
|
|
2892
|
+
var j = "".concat(nt, ".g").concat(A, '[id="').concat(x, '"]'), O = "";
|
|
2893
2893
|
k !== void 0 && k.forEach(function(R) {
|
|
2894
2894
|
R.length > 0 && (O += "".concat(R, ","));
|
|
2895
2895
|
}), f += "".concat(B).concat(j, '{content:"').concat(O, '"}').concat(Tn);
|
|
2896
|
-
},
|
|
2896
|
+
}, g = 0; g < s; g++) y(g);
|
|
2897
2897
|
return f;
|
|
2898
2898
|
})(i);
|
|
2899
2899
|
});
|
|
@@ -2901,7 +2901,7 @@ var di = function(e) {
|
|
|
2901
2901
|
return e.registerId = function(t) {
|
|
2902
2902
|
return Ft(t);
|
|
2903
2903
|
}, e.prototype.rehydrate = function() {
|
|
2904
|
-
!this.server && _t &&
|
|
2904
|
+
!this.server && _t && ga(this);
|
|
2905
2905
|
}, e.prototype.reconstructWithOptions = function(t, r) {
|
|
2906
2906
|
return r === void 0 && (r = !0), new e(we(we({}, this.options), t), this.gs, r && this.names || void 0);
|
|
2907
2907
|
}, e.prototype.allocateGSInstance = function(t) {
|
|
@@ -2929,7 +2929,7 @@ var di = function(e) {
|
|
|
2929
2929
|
}, e.prototype.clearTag = function() {
|
|
2930
2930
|
this.tag = void 0;
|
|
2931
2931
|
}, e;
|
|
2932
|
-
})(),
|
|
2932
|
+
})(), gl = /&/g, Al = /^\s*\/\/.*$/gm;
|
|
2933
2933
|
function fi(e, t) {
|
|
2934
2934
|
return e.map(function(r) {
|
|
2935
2935
|
return r.type === "rule" && (r.value = "".concat(t, " ").concat(r.value), r.value = r.value.replaceAll(",", ",".concat(t, " ")), r.props = r.props.map(function(n) {
|
|
@@ -2940,22 +2940,22 @@ function fi(e, t) {
|
|
|
2940
2940
|
function bl(e) {
|
|
2941
2941
|
var t, r, n, i = mt, d = i.options, u = d === void 0 ? mt : d, s = i.plugins, f = s === void 0 ? mr : s, y = function(x, k, B) {
|
|
2942
2942
|
return B.startsWith(r) && B.endsWith(r) && B.replaceAll(r, "").length > 0 ? ".".concat(t) : x;
|
|
2943
|
-
},
|
|
2944
|
-
|
|
2945
|
-
x.type === cr && x.value.includes("&") && (x.props[0] = x.props[0].replace(
|
|
2946
|
-
}), u.prefix &&
|
|
2947
|
-
var
|
|
2943
|
+
}, g = f.slice();
|
|
2944
|
+
g.push(function(x) {
|
|
2945
|
+
x.type === cr && x.value.includes("&") && (x.props[0] = x.props[0].replace(gl, r).replace(n, y));
|
|
2946
|
+
}), u.prefix && g.push(Us), g.push(zs);
|
|
2947
|
+
var A = function(x, k, B, j) {
|
|
2948
2948
|
k === void 0 && (k = ""), B === void 0 && (B = ""), j === void 0 && (j = "&"), t = j, r = k, n = new RegExp("\\".concat(r, "\\b"), "g");
|
|
2949
|
-
var O = x.replace(
|
|
2949
|
+
var O = x.replace(Al, ""), R = Ds(B || k ? "".concat(B, " ").concat(k, " { ").concat(O, " }") : O);
|
|
2950
2950
|
u.namespace && (R = fi(R, u.namespace));
|
|
2951
2951
|
var C = [];
|
|
2952
|
-
return $t(R, Ls(
|
|
2952
|
+
return $t(R, Ls(g.concat(Js(function(P) {
|
|
2953
2953
|
return C.push(P);
|
|
2954
2954
|
})))), C;
|
|
2955
2955
|
};
|
|
2956
|
-
return
|
|
2956
|
+
return A.hash = f.length ? f.reduce(function(x, k) {
|
|
2957
2957
|
return k.name || wt(15), et(x, k.name);
|
|
2958
|
-
}, ai).toString() : "",
|
|
2958
|
+
}, ai).toString() : "", A;
|
|
2959
2959
|
}
|
|
2960
2960
|
var wl = new rr(), pn = bl(), pi = G.createContext({ shouldForwardProp: void 0, styleSheet: wl, stylis: pn });
|
|
2961
2961
|
pi.Consumer;
|
|
@@ -3034,12 +3034,12 @@ var xl = ii(hr), kl = (function() {
|
|
|
3034
3034
|
i = tt(i, u), this.staticRulesId = u;
|
|
3035
3035
|
}
|
|
3036
3036
|
else {
|
|
3037
|
-
for (var f = et(this.baseHash, n.hash), y = "",
|
|
3038
|
-
var
|
|
3039
|
-
if (typeof
|
|
3040
|
-
else if (
|
|
3041
|
-
var x = er(Qe(
|
|
3042
|
-
f = et(f, x +
|
|
3037
|
+
for (var f = et(this.baseHash, n.hash), y = "", g = 0; g < this.rules.length; g++) {
|
|
3038
|
+
var A = this.rules[g];
|
|
3039
|
+
if (typeof A == "string") y += A, process.env.NODE_ENV !== "production" && (f = et(f, A));
|
|
3040
|
+
else if (A) {
|
|
3041
|
+
var x = er(Qe(A, t, r, n));
|
|
3042
|
+
f = et(f, x + g), y += x;
|
|
3043
3043
|
}
|
|
3044
3044
|
}
|
|
3045
3045
|
if (y) {
|
|
@@ -3058,9 +3058,9 @@ function Sl(e, t, r) {
|
|
|
3058
3058
|
Tr[T] = (Tr[T] || 0) + 1;
|
|
3059
3059
|
var M = "".concat(T, "-").concat(Mn(hr + T + Tr[T]));
|
|
3060
3060
|
return D ? "".concat(D, "-").concat(M) : M;
|
|
3061
|
-
})(t.displayName, t.parentComponentId) : f,
|
|
3061
|
+
})(t.displayName, t.parentComponentId) : f, g = t.displayName, A = g === void 0 ? (function(W) {
|
|
3062
3062
|
return Ir(W) ? "styled.".concat(W) : "Styled(".concat(oi(W), ")");
|
|
3063
|
-
})(e) :
|
|
3063
|
+
})(e) : g, x = t.displayName && t.componentId ? "".concat(pa(t.displayName), "-").concat(t.componentId) : t.componentId || y, k = n && i.attrs ? i.attrs.concat(s).filter(Boolean) : s, B = t.shouldForwardProp;
|
|
3064
3064
|
if (n && i.shouldForwardProp) {
|
|
3065
3065
|
var j = i.shouldForwardProp;
|
|
3066
3066
|
if (t.shouldForwardProp) {
|
|
@@ -3092,9 +3092,9 @@ function Sl(e, t, r) {
|
|
|
3092
3092
|
return J && (Z += " " + J), a.className && (Z += " " + a.className), z[Ir(E) && !cn.has(E) ? "class" : "className"] = Z, V && (z.ref = V), ao(E, z);
|
|
3093
3093
|
})(P, W, D);
|
|
3094
3094
|
}
|
|
3095
|
-
C.displayName =
|
|
3095
|
+
C.displayName = A;
|
|
3096
3096
|
var P = G.forwardRef(C);
|
|
3097
|
-
return P.attrs = k, P.componentStyle = R, P.displayName =
|
|
3097
|
+
return P.attrs = k, P.componentStyle = R, P.displayName = A, P.shouldForwardProp = B, P.foldedComponentIds = n ? tt(i.foldedComponentIds, i.styledComponentId) : "", P.styledComponentId = x, P.target = n ? i.target : e, Object.defineProperty(P, "defaultProps", { get: function() {
|
|
3098
3098
|
return this._foldedDefaultProps;
|
|
3099
3099
|
}, set: function(W) {
|
|
3100
3100
|
this._foldedDefaultProps = n ? (function(D) {
|
|
@@ -3102,7 +3102,7 @@ function Sl(e, t, r) {
|
|
|
3102
3102
|
for (var V = 0, I = T; V < I.length; V++) fn(D, I[V], !0);
|
|
3103
3103
|
return D;
|
|
3104
3104
|
})({}, i.defaultProps, W) : W;
|
|
3105
|
-
} }), process.env.NODE_ENV !== "production" && (ri(
|
|
3105
|
+
} }), process.env.NODE_ENV !== "production" && (ri(A, x), P.warnTooManyClasses = /* @__PURE__ */ (function(W, D) {
|
|
3106
3106
|
var T = {}, M = !1;
|
|
3107
3107
|
return function(V) {
|
|
3108
3108
|
if (!M && (T[V] = !0, Object.keys(T).length >= 200)) {
|
|
@@ -3119,7 +3119,7 @@ Example:
|
|
|
3119
3119
|
<Component />`), M = !0, T = {};
|
|
3120
3120
|
}
|
|
3121
3121
|
};
|
|
3122
|
-
})(
|
|
3122
|
+
})(A, x)), jn(P, function() {
|
|
3123
3123
|
return ".".concat(P.styledComponentId);
|
|
3124
3124
|
}), d && ci(P, e, { attrs: !0, componentStyle: !0, displayName: !0, foldedComponentIds: !0, shouldForwardProp: !0, styledComponentId: !0, target: !0 }), P;
|
|
3125
3125
|
}
|
|
@@ -3172,25 +3172,25 @@ function El(e) {
|
|
|
3172
3172
|
var n = be.apply(void 0, Ye([e], t, !1)), i = "sc-global-".concat(Mn(JSON.stringify(n))), d = new Pl(n, i);
|
|
3173
3173
|
process.env.NODE_ENV !== "production" && ri(i);
|
|
3174
3174
|
var u = function(f) {
|
|
3175
|
-
var y = hn(),
|
|
3175
|
+
var y = hn(), g = G.useContext(Vn), A = G.useRef(y.styleSheet.allocateGSInstance(i)).current;
|
|
3176
3176
|
return process.env.NODE_ENV !== "production" && G.Children.count(f.children) && console.warn("The global style component ".concat(i, " was given child JSX. createGlobalStyle does not render children.")), process.env.NODE_ENV !== "production" && n.some(function(x) {
|
|
3177
3177
|
return typeof x == "string" && x.indexOf("@import") !== -1;
|
|
3178
|
-
}) && console.warn("Please do not use @import CSS syntax in createGlobalStyle at this time, as the CSSOM APIs we use in production do not handle it well. Instead, we recommend using a library such as react-helmet to inject a typical <link> meta tag to the stylesheet, or simply embedding it manually in your index.html <head> section for a simpler app."), y.styleSheet.server && s(
|
|
3179
|
-
if (!y.styleSheet.server) return s(
|
|
3180
|
-
return d.removeStyles(
|
|
3178
|
+
}) && console.warn("Please do not use @import CSS syntax in createGlobalStyle at this time, as the CSSOM APIs we use in production do not handle it well. Instead, we recommend using a library such as react-helmet to inject a typical <link> meta tag to the stylesheet, or simply embedding it manually in your index.html <head> section for a simpler app."), y.styleSheet.server && s(A, f, y.styleSheet, g, y.stylis), G.useLayoutEffect(function() {
|
|
3179
|
+
if (!y.styleSheet.server) return s(A, f, y.styleSheet, g, y.stylis), function() {
|
|
3180
|
+
return d.removeStyles(A, y.styleSheet);
|
|
3181
3181
|
};
|
|
3182
|
-
}, [
|
|
3182
|
+
}, [A, f, y.styleSheet, g, y.stylis]), null;
|
|
3183
3183
|
};
|
|
3184
|
-
function s(f, y,
|
|
3185
|
-
if (d.isStatic) d.renderStyles(f, Zs,
|
|
3184
|
+
function s(f, y, g, A, x) {
|
|
3185
|
+
if (d.isStatic) d.renderStyles(f, Zs, g, x);
|
|
3186
3186
|
else {
|
|
3187
|
-
var k = we(we({}, y), { theme: ni(y,
|
|
3188
|
-
d.renderStyles(f, k,
|
|
3187
|
+
var k = we(we({}, y), { theme: ni(y, A, u.defaultProps) });
|
|
3188
|
+
d.renderStyles(f, k, g, x);
|
|
3189
3189
|
}
|
|
3190
3190
|
}
|
|
3191
3191
|
return G.memo(u);
|
|
3192
3192
|
}
|
|
3193
|
-
function
|
|
3193
|
+
function gi(e) {
|
|
3194
3194
|
for (var t = [], r = 1; r < arguments.length; r++) t[r - 1] = arguments[r];
|
|
3195
3195
|
process.env.NODE_ENV !== "production" && typeof navigator < "u" && navigator.product === "ReactNative" && console.warn("`keyframes` cannot be used on ReactNative, only on the web. To do animation in ReactNative please use Animated.");
|
|
3196
3196
|
var n = er(be.apply(void 0, Ye([e], t, !1))), i = Mn(n);
|
|
@@ -3227,12 +3227,6 @@ const Rl = "data:font/woff2;base64,d09GMgABAAAAAYYYAA8AAAAIBwwAAYW0AAEAAAAAAAAAA
|
|
|
3227
3227
|
font-family: Inter, sans-serif;
|
|
3228
3228
|
}
|
|
3229
3229
|
|
|
3230
|
-
ol,
|
|
3231
|
-
ul {
|
|
3232
|
-
list-style: none;
|
|
3233
|
-
margin: 0;
|
|
3234
|
-
padding: 0;
|
|
3235
|
-
}
|
|
3236
3230
|
blockquote,
|
|
3237
3231
|
q {
|
|
3238
3232
|
quotes: none;
|
|
@@ -3255,7 +3249,7 @@ const Rl = "data:font/woff2;base64,d09GMgABAAAAAYYYAA8AAAAIBwwAAYW0AAEAAAAAAAAAA
|
|
|
3255
3249
|
vertical-align: baseline;
|
|
3256
3250
|
border: 0;
|
|
3257
3251
|
}
|
|
3258
|
-
}`,
|
|
3252
|
+
}`, Ai = /* @__PURE__ */ at(function(t, r) {
|
|
3259
3253
|
t = is(t);
|
|
3260
3254
|
let { elementType: n = "div", children: i, ...d } = t, { styleProps: u } = ft(t, Xo), s = sr(r);
|
|
3261
3255
|
return /* @__PURE__ */ G.createElement(n, {
|
|
@@ -3271,13 +3265,13 @@ const Rl = "data:font/woff2;base64,d09GMgABAAAAAYYYAA8AAAAIBwwAAYW0AAEAAAAAAAAAA
|
|
|
3271
3265
|
if (u.currentTarget.readyState === 0 || !t) return;
|
|
3272
3266
|
const s = u.currentTarget.currentTime, f = u.currentTarget.duration, {
|
|
3273
3267
|
trackCurTimeEl: y,
|
|
3274
|
-
progressBarEl:
|
|
3275
|
-
progressValueEl:
|
|
3268
|
+
progressBarEl: g,
|
|
3269
|
+
progressValueEl: A,
|
|
3276
3270
|
progressHandleEl: x
|
|
3277
3271
|
} = t;
|
|
3278
|
-
if (y && (y.innerText = ur(s)),
|
|
3279
|
-
const k =
|
|
3280
|
-
|
|
3272
|
+
if (y && (y.innerText = ur(s)), g && A && x) {
|
|
3273
|
+
const k = g.clientWidth, B = s / f * k;
|
|
3274
|
+
A.style.transform = `scaleX(${s / f})`, x.style.transform = `translateX(${B}px)`;
|
|
3281
3275
|
}
|
|
3282
3276
|
},
|
|
3283
3277
|
[t]
|
|
@@ -3307,12 +3301,12 @@ const Rl = "data:font/woff2;base64,d09GMgABAAAAAYYYAA8AAAAIBwwAAYW0AAEAAAAAAAAAA
|
|
|
3307
3301
|
onLoadedMetadata: d
|
|
3308
3302
|
};
|
|
3309
3303
|
}, Ol = ({ audioRef: e }) => {
|
|
3310
|
-
const t =
|
|
3304
|
+
const t = Ae(null), { additionalId: r, curAudioState: n, curPlayId: i, playList: d } = H(
|
|
3311
3305
|
ie
|
|
3312
3306
|
), u = H(je), s = d.find(
|
|
3313
|
-
(
|
|
3307
|
+
(A) => A.id === i
|
|
3314
3308
|
), f = Object.fromEntries(
|
|
3315
|
-
Object.entries(n).filter((
|
|
3309
|
+
Object.entries(n).filter((A) => !(A[0] === "isPlaying" || A[0] === "repeatType" || A[0] === "curPlayId"))
|
|
3316
3310
|
), y = Ml();
|
|
3317
3311
|
fe(() => {
|
|
3318
3312
|
t.current && (u({
|
|
@@ -3320,11 +3314,11 @@ const Rl = "data:font/woff2;base64,d09GMgABAAAAAYYYAA8AAAAIBwwAAYW0AAEAAAAAAAAAA
|
|
|
3320
3314
|
elementRefs: { audioEl: t.current }
|
|
3321
3315
|
}), e && (e.current = t.current));
|
|
3322
3316
|
}, [u, e]);
|
|
3323
|
-
const
|
|
3317
|
+
const g = r ? `rm-audio-player-audio-${r}` : "rm-audio-player-audio";
|
|
3324
3318
|
return /* @__PURE__ */ p.jsx(
|
|
3325
3319
|
"audio",
|
|
3326
3320
|
{
|
|
3327
|
-
id:
|
|
3321
|
+
id: g,
|
|
3328
3322
|
autoPlay: n.isPlaying,
|
|
3329
3323
|
ref: t,
|
|
3330
3324
|
src: s?.src,
|
|
@@ -3341,6 +3335,7 @@ const Rl = "data:font/woff2;base64,d09GMgABAAAAAYYYAA8AAAAIBwwAAYW0AAEAAAAAAAAAA
|
|
|
3341
3335
|
width: 100%;
|
|
3342
3336
|
height: 100%;
|
|
3343
3337
|
pointer-events: none;
|
|
3338
|
+
vertical-align: initial !important;
|
|
3344
3339
|
}
|
|
3345
3340
|
|
|
3346
3341
|
&:focus {
|
|
@@ -3667,7 +3662,7 @@ const au = Q.div`
|
|
|
3667
3662
|
&:hover {
|
|
3668
3663
|
color: rgba(255, 255, 255, 0.9);
|
|
3669
3664
|
}
|
|
3670
|
-
`, Wn =
|
|
3665
|
+
`, Wn = gt(null), iu = ({ children: e }) => {
|
|
3671
3666
|
const { isOpen: t, setIsOpen: r, onOpenChange: n } = H(Wn);
|
|
3672
3667
|
return /* @__PURE__ */ p.jsx(
|
|
3673
3668
|
lu,
|
|
@@ -3678,7 +3673,7 @@ const au = Q.div`
|
|
|
3678
3673
|
children: e
|
|
3679
3674
|
}
|
|
3680
3675
|
);
|
|
3681
|
-
}, xi =
|
|
3676
|
+
}, xi = gi({
|
|
3682
3677
|
"0%": {
|
|
3683
3678
|
opacity: 0,
|
|
3684
3679
|
transform: "scale(0.95)"
|
|
@@ -3691,7 +3686,7 @@ const au = Q.div`
|
|
|
3691
3686
|
opacity: 1,
|
|
3692
3687
|
transform: "scale(1)"
|
|
3693
3688
|
}
|
|
3694
|
-
}), ki =
|
|
3689
|
+
}), ki = gi({
|
|
3695
3690
|
"0%": {
|
|
3696
3691
|
opacity: 1,
|
|
3697
3692
|
transform: "scale(1)"
|
|
@@ -3710,21 +3705,21 @@ const au = Q.div`
|
|
|
3710
3705
|
onEntered: u,
|
|
3711
3706
|
children: s
|
|
3712
3707
|
}) => {
|
|
3713
|
-
const [f, y] = pe(""), [
|
|
3708
|
+
const [f, y] = pe(""), [g, A] = pe(!1);
|
|
3714
3709
|
return Ke(() => {
|
|
3715
3710
|
const x = e ? "enter" : "leave", k = e ? n : r;
|
|
3716
|
-
e && !
|
|
3711
|
+
e && !g && A(!0), y(`${t}-${x}`);
|
|
3717
3712
|
const B = setTimeout(() => {
|
|
3718
3713
|
y(
|
|
3719
3714
|
`${t}-${x} ${t}-${x}-active`
|
|
3720
3715
|
), x === "leave" ? d?.() : u?.(), clearTimeout(B);
|
|
3721
3716
|
}, k), j = setTimeout(() => {
|
|
3722
|
-
e || (y(t),
|
|
3717
|
+
e || (y(t), A(!1)), clearTimeout(j);
|
|
3723
3718
|
}, k + i);
|
|
3724
3719
|
return () => {
|
|
3725
3720
|
clearTimeout(B), clearTimeout(j);
|
|
3726
3721
|
};
|
|
3727
|
-
}, [e,
|
|
3722
|
+
}, [e, g]), g ? io(s, {
|
|
3728
3723
|
className: `${s.props.className} ${f}`
|
|
3729
3724
|
}) : null;
|
|
3730
3725
|
}, ou = ({
|
|
@@ -3763,7 +3758,7 @@ const au = Q.div`
|
|
|
3763
3758
|
isOpen: n,
|
|
3764
3759
|
onOpenChange: i
|
|
3765
3760
|
}) => {
|
|
3766
|
-
const d =
|
|
3761
|
+
const d = Ae(null), [u, s] = G.Children.toArray(r), [f, y] = pe(!1);
|
|
3767
3762
|
return Si(d, () => {
|
|
3768
3763
|
e && (y(!1), i && i(!1));
|
|
3769
3764
|
}), Ke(() => {
|
|
@@ -3875,12 +3870,12 @@ function Bn(e, t, r, n) {
|
|
|
3875
3870
|
}
|
|
3876
3871
|
var vr = {};
|
|
3877
3872
|
Bn(vr, "flex", () => yn, (e) => yn = e);
|
|
3878
|
-
Bn(vr, "flex-container", () =>
|
|
3879
|
-
Bn(vr, "flex-gap", () =>
|
|
3880
|
-
var yn,
|
|
3873
|
+
Bn(vr, "flex-container", () => gn, (e) => gn = e);
|
|
3874
|
+
Bn(vr, "flex-gap", () => An, (e) => An = e);
|
|
3875
|
+
var yn, gn, An;
|
|
3881
3876
|
yn = "vi3c6W_flex";
|
|
3882
|
-
|
|
3883
|
-
|
|
3877
|
+
gn = "vi3c6W_flex-container";
|
|
3878
|
+
An = "vi3c6W_flex-gap";
|
|
3884
3879
|
function pu(e) {
|
|
3885
3880
|
return e && e.__esModule ? e.default : e;
|
|
3886
3881
|
}
|
|
@@ -3908,14 +3903,14 @@ const hu = {
|
|
|
3908
3903
|
}, Pi = /* @__PURE__ */ at(function(t, r) {
|
|
3909
3904
|
let { children: n, ...i } = t, d = ja(), u = d?.matchedBreakpoints || [
|
|
3910
3905
|
"base"
|
|
3911
|
-
], { styleProps: s } = ft(i), { styleProps: f } = ft(i, hu), y = sr(r),
|
|
3906
|
+
], { styleProps: s } = ft(i), { styleProps: f } = ft(i, hu), y = sr(r), g = {
|
|
3912
3907
|
...s.style,
|
|
3913
3908
|
...f.style
|
|
3914
3909
|
};
|
|
3915
|
-
return t.gap != null && (
|
|
3910
|
+
return t.gap != null && (g.gap = Sr(t.gap, u)), t.columnGap != null && (g.columnGap = Sr(t.columnGap, u)), t.rowGap != null && (g.rowGap = Sr(t.rowGap, u)), /* @__PURE__ */ G.createElement("div", {
|
|
3916
3911
|
...Mt(i),
|
|
3917
3912
|
className: po(pu(vr), "flex", s.className),
|
|
3918
|
-
style:
|
|
3913
|
+
style: g,
|
|
3919
3914
|
ref: y
|
|
3920
3915
|
}, n);
|
|
3921
3916
|
});
|
|
@@ -3935,7 +3930,7 @@ const vu = ({
|
|
|
3935
3930
|
onDrop: u,
|
|
3936
3931
|
onClick: s
|
|
3937
3932
|
}) => {
|
|
3938
|
-
const [f, y] = pe(!1), [
|
|
3933
|
+
const [f, y] = pe(!1), [g, A] = pe(!1);
|
|
3939
3934
|
return { eventProps: {
|
|
3940
3935
|
draggable: n,
|
|
3941
3936
|
onDragStart: (k) => {
|
|
@@ -3945,16 +3940,16 @@ const vu = ({
|
|
|
3945
3940
|
k.stopPropagation(), y(!1);
|
|
3946
3941
|
},
|
|
3947
3942
|
onDragEnter: (k) => {
|
|
3948
|
-
k.stopPropagation(),
|
|
3943
|
+
k.stopPropagation(), A(!0);
|
|
3949
3944
|
},
|
|
3950
3945
|
onDragLeave: (k) => {
|
|
3951
|
-
k.stopPropagation(),
|
|
3946
|
+
k.stopPropagation(), A(!1);
|
|
3952
3947
|
},
|
|
3953
3948
|
onDragOver: (k) => {
|
|
3954
3949
|
k.preventDefault(), k.stopPropagation(), d && d(k);
|
|
3955
3950
|
},
|
|
3956
3951
|
onDrop: (k) => {
|
|
3957
|
-
k.stopPropagation(),
|
|
3952
|
+
k.stopPropagation(), A(!1);
|
|
3958
3953
|
const B = [...r], j = r[t];
|
|
3959
3954
|
B.splice(t, 1);
|
|
3960
3955
|
const O = (t < e ? [
|
|
@@ -3971,11 +3966,11 @@ const vu = ({
|
|
|
3971
3966
|
onClick: (k) => {
|
|
3972
3967
|
k.stopPropagation(), s && s(k);
|
|
3973
3968
|
}
|
|
3974
|
-
}, isDragStarted: f, isDragOver:
|
|
3969
|
+
}, isDragStarted: f, isDragOver: g };
|
|
3975
3970
|
}, yu = (e) => {
|
|
3976
3971
|
const { children: t, ...r } = e, { eventProps: n, isDragStarted: i, isDragOver: d } = vu(r);
|
|
3977
3972
|
return /* @__PURE__ */ p.jsx(
|
|
3978
|
-
|
|
3973
|
+
gu,
|
|
3979
3974
|
{
|
|
3980
3975
|
$isDragStarted: i,
|
|
3981
3976
|
$isDragOver: d,
|
|
@@ -3983,10 +3978,11 @@ const vu = ({
|
|
|
3983
3978
|
children: /* @__PURE__ */ p.jsx(Pi, { alignItems: "center", children: t })
|
|
3984
3979
|
}
|
|
3985
3980
|
);
|
|
3986
|
-
},
|
|
3981
|
+
}, gu = Q.li`
|
|
3987
3982
|
border-top: 2px solid transparent;
|
|
3988
3983
|
border-bottom: 2px solid transparent;
|
|
3989
3984
|
transition: all 0.3s ease-in-out;
|
|
3985
|
+
margin: 0 !important;
|
|
3990
3986
|
|
|
3991
3987
|
& * {
|
|
3992
3988
|
pointer-events: none;
|
|
@@ -4001,12 +3997,16 @@ const vu = ({
|
|
|
4001
3997
|
backdrop-filter: blur(20px);
|
|
4002
3998
|
box-shadow: 0 3.58195px 22.3872px -2.68646px rgb(0 0 0 / 20%);
|
|
4003
3999
|
`}
|
|
4004
|
-
`, bn = ({ children: e }) => /* @__PURE__ */ p.jsx(
|
|
4000
|
+
`, bn = ({ children: e }) => /* @__PURE__ */ p.jsx(Au, { children: e }), Au = Q.ul`
|
|
4001
|
+
cursor: pointer;
|
|
4002
|
+
list-style: none;
|
|
4003
|
+
margin: 0 !important;
|
|
4004
|
+
padding: 0;
|
|
4005
|
+
|
|
4005
4006
|
ul,
|
|
4006
4007
|
li {
|
|
4007
4008
|
list-style-type: none;
|
|
4008
4009
|
}
|
|
4009
|
-
cursor: pointer;
|
|
4010
4010
|
`;
|
|
4011
4011
|
bn.Item = yu;
|
|
4012
4012
|
const bu = ({ data: e }) => {
|
|
@@ -4098,7 +4098,7 @@ const bu = ({ data: e }) => {
|
|
|
4098
4098
|
onClick: (s) => u(s)
|
|
4099
4099
|
}
|
|
4100
4100
|
};
|
|
4101
|
-
}, Ei =
|
|
4101
|
+
}, Ei = gt({ current: null }), Iu = ({ isOpen: e, setIsOpen: t }) => {
|
|
4102
4102
|
const { playList: r } = H(ie), { cssTransitionEventProps: n, sortableItemEventProps: i } = Ru({
|
|
4103
4103
|
setIsOpen: t
|
|
4104
4104
|
}), {
|
|
@@ -4116,17 +4116,17 @@ const bu = ({ data: e }) => {
|
|
|
4116
4116
|
leaveTime: 20,
|
|
4117
4117
|
clearTime: 300,
|
|
4118
4118
|
...n,
|
|
4119
|
-
children: /* @__PURE__ */ p.jsx(Tu, { children: /* @__PURE__ */ p.jsx(bn, { children: r.map((y,
|
|
4119
|
+
children: /* @__PURE__ */ p.jsx(Tu, { children: /* @__PURE__ */ p.jsx(bn, { children: r.map((y, g) => /* @__PURE__ */ p.jsx(
|
|
4120
4120
|
bn.Item,
|
|
4121
4121
|
{
|
|
4122
|
-
index:
|
|
4122
|
+
index: g,
|
|
4123
4123
|
listData: r,
|
|
4124
|
-
onClick: () => d(
|
|
4125
|
-
onDragStart: () => u(
|
|
4124
|
+
onClick: () => d(g),
|
|
4125
|
+
onDragStart: () => u(g),
|
|
4126
4126
|
...s,
|
|
4127
4127
|
children: /* @__PURE__ */ p.jsx(bu, { data: y })
|
|
4128
4128
|
},
|
|
4129
|
-
`sortable-item-${
|
|
4129
|
+
`sortable-item-${g}`
|
|
4130
4130
|
)) }) })
|
|
4131
4131
|
}
|
|
4132
4132
|
),
|
|
@@ -4164,7 +4164,7 @@ const bu = ({ data: e }) => {
|
|
|
4164
4164
|
/* @__PURE__ */ p.jsx(Rt.Content, { children: /* @__PURE__ */ p.jsx(Iu, { isOpen: e, setIsOpen: t }) })
|
|
4165
4165
|
] });
|
|
4166
4166
|
}, Ou = (e, t) => {
|
|
4167
|
-
const r =
|
|
4167
|
+
const r = Ae();
|
|
4168
4168
|
return Ke(() => {
|
|
4169
4169
|
const n = t ? `rm-audio-player-provider-${t}` : "rm-audio-player-provider", i = document.querySelector(`.${n}`);
|
|
4170
4170
|
i && (r.current = Object.entries(
|
|
@@ -4195,8 +4195,8 @@ const bu = ({ data: e }) => {
|
|
|
4195
4195
|
const { elementRefs: e } = H(ie), [t, r] = pe(!1), n = Me(
|
|
4196
4196
|
(d) => {
|
|
4197
4197
|
if (!e?.audioEl) return;
|
|
4198
|
-
const { clientX: u } = d, { clientWidth: s } = d.currentTarget, f = d.currentTarget.getBoundingClientRect(),
|
|
4199
|
-
e.audioEl.currentTime =
|
|
4198
|
+
const { clientX: u } = d, { clientWidth: s } = d.currentTarget, f = d.currentTarget.getBoundingClientRect(), g = (u - f.x) / s;
|
|
4199
|
+
e.audioEl.currentTime = g * e.audioEl.duration;
|
|
4200
4200
|
},
|
|
4201
4201
|
[e?.audioEl]
|
|
4202
4202
|
), i = Me(
|
|
@@ -4213,7 +4213,7 @@ const bu = ({ data: e }) => {
|
|
|
4213
4213
|
onMouseOut: () => t && i(!0)
|
|
4214
4214
|
};
|
|
4215
4215
|
}, ju = ({ isActive: e }) => {
|
|
4216
|
-
const t =
|
|
4216
|
+
const t = Ae(null), r = Ae(null), n = Ae(null);
|
|
4217
4217
|
Fn(
|
|
4218
4218
|
{
|
|
4219
4219
|
refs: {
|
|
@@ -4300,14 +4300,14 @@ function Bu() {
|
|
|
4300
4300
|
Object.defineProperty(s, "__esModule", {
|
|
4301
4301
|
value: !0
|
|
4302
4302
|
}), s.default = void 0;
|
|
4303
|
-
var y =
|
|
4303
|
+
var y = A(f(
|
|
4304
4304
|
/*! ./util/style */
|
|
4305
4305
|
"./src/util/style.js"
|
|
4306
|
-
)),
|
|
4306
|
+
)), g = A(f(
|
|
4307
4307
|
/*! ./util/get-id */
|
|
4308
4308
|
"./src/util/get-id.js"
|
|
4309
4309
|
));
|
|
4310
|
-
function
|
|
4310
|
+
function A(O) {
|
|
4311
4311
|
return O && O.__esModule ? O : { default: O };
|
|
4312
4312
|
}
|
|
4313
4313
|
function x(O, R) {
|
|
@@ -4325,7 +4325,7 @@ function Bu() {
|
|
|
4325
4325
|
}
|
|
4326
4326
|
var j = /* @__PURE__ */ (function() {
|
|
4327
4327
|
function O() {
|
|
4328
|
-
x(this, O), this.wave = null, this.waveCtx = null, this.progress = null, this.progressCtx = null, this.start = 0, this.end = 1, this.id = (0,
|
|
4328
|
+
x(this, O), this.wave = null, this.waveCtx = null, this.progress = null, this.progressCtx = null, this.start = 0, this.end = 1, this.id = (0, g.default)(typeof this.constructor.name < "u" ? this.constructor.name.toLowerCase() + "_" : "canvasentry_"), this.canvasContextAttributes = {};
|
|
4329
4329
|
}
|
|
4330
4330
|
return B(O, [{
|
|
4331
4331
|
key: "initWave",
|
|
@@ -4562,14 +4562,14 @@ function Bu() {
|
|
|
4562
4562
|
Object.defineProperty(s, "__esModule", {
|
|
4563
4563
|
value: !0
|
|
4564
4564
|
}), s.default = void 0;
|
|
4565
|
-
var
|
|
4565
|
+
var g = x(f(
|
|
4566
4566
|
/*! ./util */
|
|
4567
4567
|
"./src/util/index.js"
|
|
4568
4568
|
));
|
|
4569
|
-
function
|
|
4569
|
+
function A(V) {
|
|
4570
4570
|
if (typeof WeakMap != "function") return null;
|
|
4571
4571
|
var I = /* @__PURE__ */ new WeakMap(), N = /* @__PURE__ */ new WeakMap();
|
|
4572
|
-
return (
|
|
4572
|
+
return (A = function(c) {
|
|
4573
4573
|
return c ? N : I;
|
|
4574
4574
|
})(V);
|
|
4575
4575
|
}
|
|
@@ -4578,7 +4578,7 @@ function Bu() {
|
|
|
4578
4578
|
return V;
|
|
4579
4579
|
if (V === null || y(V) !== "object" && typeof V != "function")
|
|
4580
4580
|
return { default: V };
|
|
4581
|
-
var N =
|
|
4581
|
+
var N = A(I);
|
|
4582
4582
|
if (N && N.has(V))
|
|
4583
4583
|
return N.get(V);
|
|
4584
4584
|
var S = {}, c = Object.defineProperty && Object.getOwnPropertyDescriptor;
|
|
@@ -4656,12 +4656,12 @@ function Bu() {
|
|
|
4656
4656
|
var I = C(N);
|
|
4657
4657
|
function N(S, c) {
|
|
4658
4658
|
var m;
|
|
4659
|
-
return k(this, N), m = I.call(this), m.container =
|
|
4659
|
+
return k(this, N), m = I.call(this), m.container = g.withOrientation(S, c.vertical), m.params = c, m.width = 0, m.height = c.height * m.params.pixelRatio, m.lastPos = 0, m.wrapper = null, m;
|
|
4660
4660
|
}
|
|
4661
4661
|
return j(N, [{
|
|
4662
4662
|
key: "style",
|
|
4663
4663
|
value: function(c, m) {
|
|
4664
|
-
return
|
|
4664
|
+
return g.style(c, m);
|
|
4665
4665
|
}
|
|
4666
4666
|
/**
|
|
4667
4667
|
* Create the wrapper `<wave>` element, style it and set up the events for
|
|
@@ -4670,7 +4670,7 @@ function Bu() {
|
|
|
4670
4670
|
}, {
|
|
4671
4671
|
key: "createWrapper",
|
|
4672
4672
|
value: function() {
|
|
4673
|
-
this.wrapper =
|
|
4673
|
+
this.wrapper = g.withOrientation(this.container.appendChild(document.createElement("wave")), this.params.vertical), this.style(this.wrapper, {
|
|
4674
4674
|
display: "block",
|
|
4675
4675
|
position: "relative",
|
|
4676
4676
|
userSelect: "none",
|
|
@@ -4694,8 +4694,8 @@ function Bu() {
|
|
|
4694
4694
|
key: "handleEvent",
|
|
4695
4695
|
value: function(c, m) {
|
|
4696
4696
|
!m && c.preventDefault();
|
|
4697
|
-
var w =
|
|
4698
|
-
return !this.params.fillParent && o < b ? a = v * (this.params.pixelRatio / o) || 0 : a = (v + this.wrapper.scrollLeft) / this.wrapper.scrollWidth || 0,
|
|
4697
|
+
var w = g.withOrientation(c.targetTouches ? c.targetTouches[0] : c, this.params.vertical).clientX, l = this.wrapper.getBoundingClientRect(), o = this.width, b = this.getWidth(), v = this.getProgressPixels(l, w), a;
|
|
4698
|
+
return !this.params.fillParent && o < b ? a = v * (this.params.pixelRatio / o) || 0 : a = (v + this.wrapper.scrollLeft) / this.wrapper.scrollWidth || 0, g.clamp(a, 0, 1);
|
|
4699
4699
|
}
|
|
4700
4700
|
}, {
|
|
4701
4701
|
key: "getProgressPixels",
|
|
@@ -4707,7 +4707,7 @@ function Bu() {
|
|
|
4707
4707
|
value: function() {
|
|
4708
4708
|
var c = this;
|
|
4709
4709
|
this.wrapper.addEventListener("click", function(m) {
|
|
4710
|
-
var w =
|
|
4710
|
+
var w = g.withOrientation(m, c.params.vertical), l = c.wrapper.offsetHeight - c.wrapper.clientHeight;
|
|
4711
4711
|
if (l !== 0) {
|
|
4712
4712
|
var o = c.wrapper.getBoundingClientRect();
|
|
4713
4713
|
if (w.clientY >= o.bottom - l)
|
|
@@ -4936,7 +4936,7 @@ function Bu() {
|
|
|
4936
4936
|
value: function(c) {
|
|
4937
4937
|
}
|
|
4938
4938
|
}]), N;
|
|
4939
|
-
})(
|
|
4939
|
+
})(g.Observer);
|
|
4940
4940
|
s.default = M, u.exports = s.default;
|
|
4941
4941
|
})
|
|
4942
4942
|
),
|
|
@@ -4958,10 +4958,10 @@ function Bu() {
|
|
|
4958
4958
|
Object.defineProperty(s, "__esModule", {
|
|
4959
4959
|
value: !0
|
|
4960
4960
|
}), s.default = void 0;
|
|
4961
|
-
var
|
|
4961
|
+
var g = j(f(
|
|
4962
4962
|
/*! ./drawer */
|
|
4963
4963
|
"./src/drawer.js"
|
|
4964
|
-
)),
|
|
4964
|
+
)), A = B(f(
|
|
4965
4965
|
/*! ./util */
|
|
4966
4966
|
"./src/util/index.js"
|
|
4967
4967
|
)), x = j(f(
|
|
@@ -5075,7 +5075,7 @@ function Bu() {
|
|
|
5075
5075
|
}, {
|
|
5076
5076
|
key: "createElements",
|
|
5077
5077
|
value: function() {
|
|
5078
|
-
this.progressWave =
|
|
5078
|
+
this.progressWave = A.withOrientation(this.wrapper.appendChild(document.createElement("wave")), this.params.vertical), this.style(this.progressWave, {
|
|
5079
5079
|
position: "absolute",
|
|
5080
5080
|
zIndex: 3,
|
|
5081
5081
|
left: 0,
|
|
@@ -5124,7 +5124,7 @@ function Bu() {
|
|
|
5124
5124
|
value: function() {
|
|
5125
5125
|
var l = new this.EntryClass();
|
|
5126
5126
|
l.canvasContextAttributes = this.canvasContextAttributes, l.hasProgressCanvas = this.hasProgressCanvas, l.halfPixel = this.halfPixel;
|
|
5127
|
-
var o = this.maxCanvasElementWidth * this.canvases.length, b =
|
|
5127
|
+
var o = this.maxCanvasElementWidth * this.canvases.length, b = A.withOrientation(this.wrapper.appendChild(document.createElement("canvas")), this.params.vertical);
|
|
5128
5128
|
if (this.style(b, {
|
|
5129
5129
|
position: "absolute",
|
|
5130
5130
|
zIndex: 2,
|
|
@@ -5134,7 +5134,7 @@ function Bu() {
|
|
|
5134
5134
|
height: "100%",
|
|
5135
5135
|
pointerEvents: "none"
|
|
5136
5136
|
}), l.initWave(b), this.hasProgressCanvas) {
|
|
5137
|
-
var v =
|
|
5137
|
+
var v = A.withOrientation(this.progressWave.appendChild(document.createElement("canvas")), this.params.vertical);
|
|
5138
5138
|
this.style(v, {
|
|
5139
5139
|
position: "absolute",
|
|
5140
5140
|
left: o + "px",
|
|
@@ -5177,7 +5177,7 @@ function Bu() {
|
|
|
5177
5177
|
key: "clearWave",
|
|
5178
5178
|
value: function() {
|
|
5179
5179
|
var l = this;
|
|
5180
|
-
|
|
5180
|
+
A.frame(function() {
|
|
5181
5181
|
l.canvases.forEach(function(o) {
|
|
5182
5182
|
return o.clearWave();
|
|
5183
5183
|
});
|
|
@@ -5205,8 +5205,8 @@ function Bu() {
|
|
|
5205
5205
|
E.height;
|
|
5206
5206
|
var J = E.offsetY, Z = E.halfH, Y = E.peaks, q = E.channelIndex;
|
|
5207
5207
|
if (b !== void 0) {
|
|
5208
|
-
var re = L ? 2 : 1, se = Y.length / re, $ = a.params.barWidth * a.params.pixelRatio, ve = a.params.barGap === null ? Math.max(a.params.pixelRatio, ~~($ / 2)) : Math.max(a.params.pixelRatio, a.params.barGap * a.params.pixelRatio), ce = $ + ve, ue = se / a.width, yr = b,
|
|
5209
|
-
for (We; We <
|
|
5208
|
+
var re = L ? 2 : 1, se = Y.length / re, $ = a.params.barWidth * a.params.pixelRatio, ve = a.params.barGap === null ? Math.max(a.params.pixelRatio, ~~($ / 2)) : Math.max(a.params.pixelRatio, a.params.barGap * a.params.pixelRatio), ce = $ + ve, ue = se / a.width, yr = b, gr = v, We = yr;
|
|
5209
|
+
for (We; We < gr; We += ce) {
|
|
5210
5210
|
var De = 0, st = Math.floor(We * ue) * re, jt = Math.floor((We + ce) * ue) * re;
|
|
5211
5211
|
do {
|
|
5212
5212
|
var $e = Math.abs(Y[st]);
|
|
@@ -5328,7 +5328,7 @@ function Bu() {
|
|
|
5328
5328
|
key: "prepareDraw",
|
|
5329
5329
|
value: function(l, o, b, v, a, E, z) {
|
|
5330
5330
|
var L = this;
|
|
5331
|
-
return
|
|
5331
|
+
return A.frame(function() {
|
|
5332
5332
|
if (l[0] instanceof Array) {
|
|
5333
5333
|
var J = l;
|
|
5334
5334
|
if (L.params.splitChannels) {
|
|
@@ -5337,8 +5337,8 @@ function Bu() {
|
|
|
5337
5337
|
});
|
|
5338
5338
|
L.params.splitChannelsOptions.overlay || L.setHeight(Math.max(Z.length, 1) * L.params.height * L.params.pixelRatio);
|
|
5339
5339
|
var Y;
|
|
5340
|
-
return L.params.splitChannelsOptions && L.params.splitChannelsOptions.relativeNormalization && (Y =
|
|
5341
|
-
return
|
|
5340
|
+
return L.params.splitChannelsOptions && L.params.splitChannelsOptions.relativeNormalization && (Y = A.max(J.map(function(ce) {
|
|
5341
|
+
return A.absMax(ce);
|
|
5342
5342
|
}))), J.forEach(function(ce, ue) {
|
|
5343
5343
|
return L.prepareDraw(ce, ue, b, v, a, Z.indexOf(ce), Y);
|
|
5344
5344
|
});
|
|
@@ -5347,7 +5347,7 @@ function Bu() {
|
|
|
5347
5347
|
}
|
|
5348
5348
|
if (!L.hideChannel(o)) {
|
|
5349
5349
|
var q = 1 / L.params.barHeight;
|
|
5350
|
-
L.params.normalize && (q = z === void 0 ?
|
|
5350
|
+
L.params.normalize && (q = z === void 0 ? A.absMax(l) : z);
|
|
5351
5351
|
var re = [].some.call(l, function(ce) {
|
|
5352
5352
|
return ce < 0;
|
|
5353
5353
|
}), se = L.params.height * L.params.pixelRatio, $ = se / 2, ve = se * E || 0;
|
|
@@ -5429,7 +5429,7 @@ function Bu() {
|
|
|
5429
5429
|
});
|
|
5430
5430
|
}
|
|
5431
5431
|
}]), m;
|
|
5432
|
-
})(
|
|
5432
|
+
})(g.default);
|
|
5433
5433
|
s.default = N, u.exports = s.default;
|
|
5434
5434
|
})
|
|
5435
5435
|
),
|
|
@@ -5451,11 +5451,11 @@ function Bu() {
|
|
|
5451
5451
|
Object.defineProperty(s, "__esModule", {
|
|
5452
5452
|
value: !0
|
|
5453
5453
|
}), s.default = void 0;
|
|
5454
|
-
var
|
|
5454
|
+
var g = A(f(
|
|
5455
5455
|
/*! ./mediaelement */
|
|
5456
5456
|
"./src/mediaelement.js"
|
|
5457
5457
|
));
|
|
5458
|
-
function
|
|
5458
|
+
function A(I) {
|
|
5459
5459
|
return I && I.__esModule ? I : { default: I };
|
|
5460
5460
|
}
|
|
5461
5461
|
function x(I, N) {
|
|
@@ -5586,7 +5586,7 @@ function Bu() {
|
|
|
5586
5586
|
j(M(S.prototype), "destroy", this).call(this), this.destroyWebAudio();
|
|
5587
5587
|
}
|
|
5588
5588
|
}]), S;
|
|
5589
|
-
})(
|
|
5589
|
+
})(g.default);
|
|
5590
5590
|
s.default = V, u.exports = s.default;
|
|
5591
5591
|
})
|
|
5592
5592
|
),
|
|
@@ -5608,10 +5608,10 @@ function Bu() {
|
|
|
5608
5608
|
Object.defineProperty(s, "__esModule", {
|
|
5609
5609
|
value: !0
|
|
5610
5610
|
}), s.default = void 0;
|
|
5611
|
-
var
|
|
5611
|
+
var g = B(f(
|
|
5612
5612
|
/*! ./webaudio */
|
|
5613
5613
|
"./src/webaudio.js"
|
|
5614
|
-
)),
|
|
5614
|
+
)), A = k(f(
|
|
5615
5615
|
/*! ./util */
|
|
5616
5616
|
"./src/util/index.js"
|
|
5617
5617
|
));
|
|
@@ -5771,7 +5771,7 @@ function Bu() {
|
|
|
5771
5771
|
key: "createTimer",
|
|
5772
5772
|
value: function() {
|
|
5773
5773
|
var o = this, b = function v() {
|
|
5774
|
-
o.isPaused() || (o.fireEvent("audioprocess", o.getCurrentTime()),
|
|
5774
|
+
o.isPaused() || (o.fireEvent("audioprocess", o.getCurrentTime()), A.frame(v)());
|
|
5775
5775
|
};
|
|
5776
5776
|
this.on("play", b), this.on("pause", function() {
|
|
5777
5777
|
o.fireEvent("audioprocess", o.getCurrentTime());
|
|
@@ -6017,7 +6017,7 @@ function Bu() {
|
|
|
6017
6017
|
}), this.params.removeMediaElementOnDestroy && this.media && this.media.parentNode && this.media.parentNode.removeChild(this.media), this.media = null;
|
|
6018
6018
|
}
|
|
6019
6019
|
}]), w;
|
|
6020
|
-
})(
|
|
6020
|
+
})(g.default);
|
|
6021
6021
|
s.default = S, u.exports = s.default;
|
|
6022
6022
|
})
|
|
6023
6023
|
),
|
|
@@ -6041,14 +6041,14 @@ function Bu() {
|
|
|
6041
6041
|
j.enumerable = j.enumerable || !1, j.configurable = !0, "value" in j && (j.writable = !0), Object.defineProperty(x, j.key, j);
|
|
6042
6042
|
}
|
|
6043
6043
|
}
|
|
6044
|
-
function
|
|
6044
|
+
function g(x, k, B) {
|
|
6045
6045
|
return k && y(x.prototype, k), Object.defineProperty(x, "prototype", { writable: !1 }), x;
|
|
6046
6046
|
}
|
|
6047
|
-
var
|
|
6047
|
+
var A = /* @__PURE__ */ (function() {
|
|
6048
6048
|
function x() {
|
|
6049
6049
|
f(this, x), this.clearPeakCache();
|
|
6050
6050
|
}
|
|
6051
|
-
return
|
|
6051
|
+
return g(x, [{
|
|
6052
6052
|
key: "clearPeakCache",
|
|
6053
6053
|
value: function() {
|
|
6054
6054
|
this.peakCacheRanges = [], this.peakCacheLength = -1;
|
|
@@ -6096,7 +6096,7 @@ function Bu() {
|
|
|
6096
6096
|
}
|
|
6097
6097
|
}]), x;
|
|
6098
6098
|
})();
|
|
6099
|
-
s.default =
|
|
6099
|
+
s.default = A, u.exports = s.default;
|
|
6100
6100
|
})
|
|
6101
6101
|
),
|
|
6102
6102
|
/***/
|
|
@@ -6109,18 +6109,18 @@ function Bu() {
|
|
|
6109
6109
|
Object.defineProperty(s, "__esModule", {
|
|
6110
6110
|
value: !0
|
|
6111
6111
|
}), s.default = x;
|
|
6112
|
-
var y =
|
|
6112
|
+
var y = A(f(
|
|
6113
6113
|
/*! ./max */
|
|
6114
6114
|
"./src/util/max.js"
|
|
6115
|
-
)),
|
|
6115
|
+
)), g = A(f(
|
|
6116
6116
|
/*! ./min */
|
|
6117
6117
|
"./src/util/min.js"
|
|
6118
6118
|
));
|
|
6119
|
-
function
|
|
6119
|
+
function A(k) {
|
|
6120
6120
|
return k && k.__esModule ? k : { default: k };
|
|
6121
6121
|
}
|
|
6122
6122
|
function x(k) {
|
|
6123
|
-
var B = (0, y.default)(k), j = (0,
|
|
6123
|
+
var B = (0, y.default)(k), j = (0, g.default)(k);
|
|
6124
6124
|
return -j > B ? -j : B;
|
|
6125
6125
|
}
|
|
6126
6126
|
u.exports = s.default;
|
|
@@ -6136,8 +6136,8 @@ function Bu() {
|
|
|
6136
6136
|
Object.defineProperty(s, "__esModule", {
|
|
6137
6137
|
value: !0
|
|
6138
6138
|
}), s.default = f;
|
|
6139
|
-
function f(y,
|
|
6140
|
-
return Math.min(Math.max(
|
|
6139
|
+
function f(y, g, A) {
|
|
6140
|
+
return Math.min(Math.max(g, y), A);
|
|
6141
6141
|
}
|
|
6142
6142
|
u.exports = s.default;
|
|
6143
6143
|
})
|
|
@@ -6152,14 +6152,14 @@ function Bu() {
|
|
|
6152
6152
|
Object.defineProperty(s, "__esModule", {
|
|
6153
6153
|
value: !0
|
|
6154
6154
|
}), s.default = j;
|
|
6155
|
-
var y =
|
|
6155
|
+
var y = g(f(
|
|
6156
6156
|
/*! ./observer */
|
|
6157
6157
|
"./src/util/observer.js"
|
|
6158
6158
|
));
|
|
6159
|
-
function
|
|
6159
|
+
function g(O) {
|
|
6160
6160
|
return O && O.__esModule ? O : { default: O };
|
|
6161
6161
|
}
|
|
6162
|
-
function
|
|
6162
|
+
function A(O, R) {
|
|
6163
6163
|
if (!(O instanceof R))
|
|
6164
6164
|
throw new TypeError("Cannot call a class as a function");
|
|
6165
6165
|
}
|
|
@@ -6174,7 +6174,7 @@ function Bu() {
|
|
|
6174
6174
|
}
|
|
6175
6175
|
var B = /* @__PURE__ */ (function() {
|
|
6176
6176
|
function O(R, C, P) {
|
|
6177
|
-
|
|
6177
|
+
A(this, O), this.instance = R, this.instance._reader = P.body.getReader(), this.total = parseInt(C, 10), this.loaded = 0;
|
|
6178
6178
|
}
|
|
6179
6179
|
return k(O, [{
|
|
6180
6180
|
key: "start",
|
|
@@ -6265,15 +6265,15 @@ function Bu() {
|
|
|
6265
6265
|
((u, s, f) => {
|
|
6266
6266
|
Object.defineProperty(s, "__esModule", {
|
|
6267
6267
|
value: !0
|
|
6268
|
-
}), s.default =
|
|
6269
|
-
var y =
|
|
6268
|
+
}), s.default = A;
|
|
6269
|
+
var y = g(f(
|
|
6270
6270
|
/*! ./request-animation-frame */
|
|
6271
6271
|
"./src/util/request-animation-frame.js"
|
|
6272
6272
|
));
|
|
6273
|
-
function
|
|
6273
|
+
function g(x) {
|
|
6274
6274
|
return x && x.__esModule ? x : { default: x };
|
|
6275
6275
|
}
|
|
6276
|
-
function
|
|
6276
|
+
function A(x) {
|
|
6277
6277
|
return function() {
|
|
6278
6278
|
for (var k = arguments.length, B = new Array(k), j = 0; j < k; j++)
|
|
6279
6279
|
B[j] = arguments[j];
|
|
@@ -6353,12 +6353,12 @@ function Bu() {
|
|
|
6353
6353
|
}), Object.defineProperty(s, "max", {
|
|
6354
6354
|
enumerable: !0,
|
|
6355
6355
|
get: function() {
|
|
6356
|
-
return
|
|
6356
|
+
return g.default;
|
|
6357
6357
|
}
|
|
6358
6358
|
}), Object.defineProperty(s, "min", {
|
|
6359
6359
|
enumerable: !0,
|
|
6360
6360
|
get: function() {
|
|
6361
|
-
return
|
|
6361
|
+
return A.default;
|
|
6362
6362
|
}
|
|
6363
6363
|
}), Object.defineProperty(s, "preventClick", {
|
|
6364
6364
|
enumerable: !0,
|
|
@@ -6384,10 +6384,10 @@ function Bu() {
|
|
|
6384
6384
|
var y = M(f(
|
|
6385
6385
|
/*! ./get-id */
|
|
6386
6386
|
"./src/util/get-id.js"
|
|
6387
|
-
)),
|
|
6387
|
+
)), g = M(f(
|
|
6388
6388
|
/*! ./max */
|
|
6389
6389
|
"./src/util/max.js"
|
|
6390
|
-
)),
|
|
6390
|
+
)), A = M(f(
|
|
6391
6391
|
/*! ./min */
|
|
6392
6392
|
"./src/util/min.js"
|
|
6393
6393
|
)), x = M(f(
|
|
@@ -6440,10 +6440,10 @@ function Bu() {
|
|
|
6440
6440
|
value: !0
|
|
6441
6441
|
}), s.default = f;
|
|
6442
6442
|
function f(y) {
|
|
6443
|
-
var
|
|
6444
|
-
return Object.keys(y).forEach(function(
|
|
6445
|
-
y[
|
|
6446
|
-
}),
|
|
6443
|
+
var g = -1 / 0;
|
|
6444
|
+
return Object.keys(y).forEach(function(A) {
|
|
6445
|
+
y[A] > g && (g = y[A]);
|
|
6446
|
+
}), g;
|
|
6447
6447
|
}
|
|
6448
6448
|
u.exports = s.default;
|
|
6449
6449
|
})
|
|
@@ -6459,10 +6459,10 @@ function Bu() {
|
|
|
6459
6459
|
value: !0
|
|
6460
6460
|
}), s.default = f;
|
|
6461
6461
|
function f(y) {
|
|
6462
|
-
var
|
|
6463
|
-
return Object.keys(y).forEach(function(
|
|
6464
|
-
y[
|
|
6465
|
-
}),
|
|
6462
|
+
var g = 1 / 0;
|
|
6463
|
+
return Object.keys(y).forEach(function(A) {
|
|
6464
|
+
y[A] < g && (g = y[A]);
|
|
6465
|
+
}), g;
|
|
6466
6466
|
}
|
|
6467
6467
|
u.exports = s.default;
|
|
6468
6468
|
})
|
|
@@ -6487,14 +6487,14 @@ function Bu() {
|
|
|
6487
6487
|
j.enumerable = j.enumerable || !1, j.configurable = !0, "value" in j && (j.writable = !0), Object.defineProperty(x, j.key, j);
|
|
6488
6488
|
}
|
|
6489
6489
|
}
|
|
6490
|
-
function
|
|
6490
|
+
function g(x, k, B) {
|
|
6491
6491
|
return k && y(x.prototype, k), Object.defineProperty(x, "prototype", { writable: !1 }), x;
|
|
6492
6492
|
}
|
|
6493
|
-
var
|
|
6493
|
+
var A = /* @__PURE__ */ (function() {
|
|
6494
6494
|
function x() {
|
|
6495
6495
|
f(this, x), this._disabledEventEmissions = [], this.handlers = null;
|
|
6496
6496
|
}
|
|
6497
|
-
return
|
|
6497
|
+
return g(x, [{
|
|
6498
6498
|
key: "on",
|
|
6499
6499
|
value: function(B, j) {
|
|
6500
6500
|
var O = this;
|
|
@@ -6600,7 +6600,7 @@ function Bu() {
|
|
|
6600
6600
|
}
|
|
6601
6601
|
}]), x;
|
|
6602
6602
|
})();
|
|
6603
|
-
s.default =
|
|
6603
|
+
s.default = A, u.exports = s.default;
|
|
6604
6604
|
})
|
|
6605
6605
|
),
|
|
6606
6606
|
/***/
|
|
@@ -6612,7 +6612,7 @@ function Bu() {
|
|
|
6612
6612
|
((u, s) => {
|
|
6613
6613
|
Object.defineProperty(s, "__esModule", {
|
|
6614
6614
|
value: !0
|
|
6615
|
-
}), s.default =
|
|
6615
|
+
}), s.default = A;
|
|
6616
6616
|
var f = {
|
|
6617
6617
|
width: "height",
|
|
6618
6618
|
height: "width",
|
|
@@ -6639,25 +6639,25 @@ function Bu() {
|
|
|
6639
6639
|
function y(x, k) {
|
|
6640
6640
|
return Object.prototype.hasOwnProperty.call(f, x) && k ? f[x] : x;
|
|
6641
6641
|
}
|
|
6642
|
-
var
|
|
6643
|
-
function
|
|
6644
|
-
return x[
|
|
6642
|
+
var g = Symbol("isProxy");
|
|
6643
|
+
function A(x, k) {
|
|
6644
|
+
return x[g] ? x : new Proxy(x, {
|
|
6645
6645
|
get: function(j, O, R) {
|
|
6646
|
-
if (O ===
|
|
6646
|
+
if (O === g)
|
|
6647
6647
|
return !0;
|
|
6648
6648
|
if (O === "domElement")
|
|
6649
6649
|
return j;
|
|
6650
6650
|
if (O === "style")
|
|
6651
|
-
return
|
|
6651
|
+
return A(j.style, k);
|
|
6652
6652
|
if (O === "canvas")
|
|
6653
|
-
return
|
|
6653
|
+
return A(j.canvas, k);
|
|
6654
6654
|
if (O === "getBoundingClientRect")
|
|
6655
6655
|
return function() {
|
|
6656
|
-
return
|
|
6656
|
+
return A(j.getBoundingClientRect.apply(j, arguments), k);
|
|
6657
6657
|
};
|
|
6658
6658
|
if (O === "getContext")
|
|
6659
6659
|
return function() {
|
|
6660
|
-
return
|
|
6660
|
+
return A(j.getContext.apply(j, arguments), k);
|
|
6661
6661
|
};
|
|
6662
6662
|
var C = j[y(O, k)];
|
|
6663
6663
|
return typeof C == "function" ? C.bind(j) : C;
|
|
@@ -6680,10 +6680,10 @@ function Bu() {
|
|
|
6680
6680
|
Object.defineProperty(s, "__esModule", {
|
|
6681
6681
|
value: !0
|
|
6682
6682
|
}), s.default = y;
|
|
6683
|
-
function f(
|
|
6684
|
-
|
|
6683
|
+
function f(g) {
|
|
6684
|
+
g.stopPropagation(), document.body.removeEventListener("click", f, !0);
|
|
6685
6685
|
}
|
|
6686
|
-
function y(
|
|
6686
|
+
function y(g) {
|
|
6687
6687
|
document.body.addEventListener("click", f, !0);
|
|
6688
6688
|
}
|
|
6689
6689
|
u.exports = s.default;
|
|
@@ -6699,7 +6699,7 @@ function Bu() {
|
|
|
6699
6699
|
Object.defineProperty(s, "__esModule", {
|
|
6700
6700
|
value: !0
|
|
6701
6701
|
}), s.default = void 0;
|
|
6702
|
-
var f = (window.requestAnimationFrame || window.webkitRequestAnimationFrame || window.mozRequestAnimationFrame || window.oRequestAnimationFrame || window.msRequestAnimationFrame || function(y,
|
|
6702
|
+
var f = (window.requestAnimationFrame || window.webkitRequestAnimationFrame || window.mozRequestAnimationFrame || window.oRequestAnimationFrame || window.msRequestAnimationFrame || function(y, g) {
|
|
6703
6703
|
return setTimeout(y, 1e3 / 60);
|
|
6704
6704
|
}).bind(window);
|
|
6705
6705
|
s.default = f, u.exports = s.default;
|
|
@@ -6716,10 +6716,10 @@ function Bu() {
|
|
|
6716
6716
|
value: !0
|
|
6717
6717
|
}), s.default = f;
|
|
6718
6718
|
function f() {
|
|
6719
|
-
var y = "data:audio/mpeg;base64,//uQxAAAAAAAAAAAAAAAAAAAAAAAWGluZwAAAA8AAAACAAACcQCAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA//////////////////////////////////////////////////////////////////8AAABhTEFNRTMuMTAwA8MAAAAAAAAAABQgJAUHQQAB9AAAAnGMHkkIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA//sQxAADgnABGiAAQBCqgCRMAAgEAH///////////////7+n/9FTuQsQH//////2NG0jWUGlio5gLQTOtIoeR2WX////X4s9Atb/JRVCbBUpeRUq//////////////////9RUi0f2jn/+xDECgPCjAEQAABN4AAANIAAAAQVTEFNRTMuMTAwVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVQ==",
|
|
6720
|
-
|
|
6721
|
-
var
|
|
6722
|
-
|
|
6719
|
+
var y = "data:audio/mpeg;base64,//uQxAAAAAAAAAAAAAAAAAAAAAAAWGluZwAAAA8AAAACAAACcQCAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA//////////////////////////////////////////////////////////////////8AAABhTEFNRTMuMTAwA8MAAAAAAAAAABQgJAUHQQAB9AAAAnGMHkkIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA//sQxAADgnABGiAAQBCqgCRMAAgEAH///////////////7+n/9FTuQsQH//////2NG0jWUGlio5gLQTOtIoeR2WX////X4s9Atb/JRVCbBUpeRUq//////////////////9RUi0f2jn/+xDECgPCjAEQAABN4AAANIAAAAQVTEFNRTMuMTAwVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVQ==", g = document.createElement("div");
|
|
6720
|
+
g.innerHTML = '<audio x-webkit-airplay="deny"></audio>';
|
|
6721
|
+
var A = g.children.item(0);
|
|
6722
|
+
A.src = y, A.preload = "auto", A.type = "audio/mpeg", A.disableRemotePlayback = !0, A.play(), A.remove(), g.remove();
|
|
6723
6723
|
}
|
|
6724
6724
|
u.exports = s.default;
|
|
6725
6725
|
})
|
|
@@ -6734,9 +6734,9 @@ function Bu() {
|
|
|
6734
6734
|
Object.defineProperty(s, "__esModule", {
|
|
6735
6735
|
value: !0
|
|
6736
6736
|
}), s.default = f;
|
|
6737
|
-
function f(y,
|
|
6738
|
-
return Object.keys(
|
|
6739
|
-
y.style[
|
|
6737
|
+
function f(y, g) {
|
|
6738
|
+
return Object.keys(g).forEach(function(A) {
|
|
6739
|
+
y.style[A] !== g[A] && (y.style[A] = g[A]);
|
|
6740
6740
|
}), y;
|
|
6741
6741
|
}
|
|
6742
6742
|
u.exports = s.default;
|
|
@@ -6760,10 +6760,10 @@ function Bu() {
|
|
|
6760
6760
|
Object.defineProperty(s, "__esModule", {
|
|
6761
6761
|
value: !0
|
|
6762
6762
|
}), s.default = void 0;
|
|
6763
|
-
var
|
|
6763
|
+
var g = C(f(
|
|
6764
6764
|
/*! ./util */
|
|
6765
6765
|
"./src/util/index.js"
|
|
6766
|
-
)),
|
|
6766
|
+
)), A = O(f(
|
|
6767
6767
|
/*! ./drawer.multicanvas */
|
|
6768
6768
|
"./src/drawer.multicanvas.js"
|
|
6769
6769
|
)), x = O(f(
|
|
@@ -6918,7 +6918,7 @@ function Bu() {
|
|
|
6918
6918
|
plugins: [],
|
|
6919
6919
|
progressColor: "#555",
|
|
6920
6920
|
removeMediaElementOnDestroy: !0,
|
|
6921
|
-
renderer:
|
|
6921
|
+
renderer: A.default,
|
|
6922
6922
|
responsive: !1,
|
|
6923
6923
|
rtl: !1,
|
|
6924
6924
|
scrollParent: !1,
|
|
@@ -6937,7 +6937,7 @@ function Bu() {
|
|
|
6937
6937
|
MediaElement: k.default,
|
|
6938
6938
|
WebAudio: x.default,
|
|
6939
6939
|
MediaElementWebAudio: j.default
|
|
6940
|
-
}), N(M(a), "util",
|
|
6940
|
+
}), N(M(a), "util", g), a.params = Object.assign({}, a.defaultParams, v), a.params.splitChannelsOptions = Object.assign({}, a.defaultParams.splitChannelsOptions, v.splitChannelsOptions), a.container = typeof v.container == "string" ? document.querySelector(a.params.container) : a.params.container, !a.container)
|
|
6941
6941
|
throw new Error("Container element not found");
|
|
6942
6942
|
if (a.params.mediaContainer == null ? a.mediaContainer = a.container : typeof a.params.mediaContainer == "string" ? a.mediaContainer = document.querySelector(a.params.mediaContainer) : a.mediaContainer = a.params.mediaContainer, !a.mediaContainer)
|
|
6943
6943
|
throw new Error("Media Container element not found");
|
|
@@ -6945,15 +6945,15 @@ function Bu() {
|
|
|
6945
6945
|
throw new Error("maxCanvasWidth must be greater than 1");
|
|
6946
6946
|
if (a.params.maxCanvasWidth % 2 == 1)
|
|
6947
6947
|
throw new Error("maxCanvasWidth must be an even number");
|
|
6948
|
-
if (a.params.rtl === !0 && (a.params.vertical === !0 ?
|
|
6948
|
+
if (a.params.rtl === !0 && (a.params.vertical === !0 ? g.style(a.container, {
|
|
6949
6949
|
transform: "rotateX(180deg)"
|
|
6950
|
-
}) :
|
|
6950
|
+
}) : g.style(a.container, {
|
|
6951
6951
|
transform: "rotateY(180deg)"
|
|
6952
6952
|
})), a.params.backgroundColor && a.setBackgroundColor(a.params.backgroundColor), a.savedVolume = 0, a.isMuted = !1, a.tmpEvents = [], a.currentRequest = null, a.arraybuffer = null, a.drawer = null, a.backend = null, a.peakCache = null, typeof a.params.renderer != "function")
|
|
6953
6953
|
throw new Error("Renderer parameter is invalid");
|
|
6954
6954
|
a.Drawer = a.params.renderer, a.params.backend == "AudioElement" && (a.params.backend = "MediaElement"), (a.params.backend == "WebAudio" || a.params.backend === "MediaElementWebAudio") && !x.default.prototype.supportsWebAudio.call(null) && (a.params.backend = "MediaElement"), a.Backend = a.backends[a.params.backend], a.initialisedPluginList = {}, a.isDestroyed = !1, a.isReady = !1;
|
|
6955
6955
|
var E = 0;
|
|
6956
|
-
return a._onResize =
|
|
6956
|
+
return a._onResize = g.debounce(function() {
|
|
6957
6957
|
a.drawer.wrapper && E != a.drawer.wrapper.clientWidth && !a.params.scrollParent && (E = a.drawer.wrapper.clientWidth, E && a.drawer.fireEvent("redraw"));
|
|
6958
6958
|
}, typeof a.params.responsive == "number" ? a.params.responsive : 100), T(a, M(a));
|
|
6959
6959
|
}
|
|
@@ -7010,9 +7010,9 @@ function Bu() {
|
|
|
7010
7010
|
a.staticProps && Object.keys(a.staticProps).forEach(function(J) {
|
|
7011
7011
|
E[J] = a.staticProps[J];
|
|
7012
7012
|
});
|
|
7013
|
-
var z = a.instance, L = Object.getOwnPropertyNames(
|
|
7013
|
+
var z = a.instance, L = Object.getOwnPropertyNames(g.Observer.prototype);
|
|
7014
7014
|
return L.forEach(function(J) {
|
|
7015
|
-
z.prototype[J] =
|
|
7015
|
+
z.prototype[J] = g.Observer.prototype[J];
|
|
7016
7016
|
}), this[a.name] = new z(a.params || {}, this), this.fireEvent("plugin-added", a.name), this;
|
|
7017
7017
|
}
|
|
7018
7018
|
/**
|
|
@@ -7167,7 +7167,7 @@ function Bu() {
|
|
|
7167
7167
|
key: "play",
|
|
7168
7168
|
value: function(a, E) {
|
|
7169
7169
|
var z = this;
|
|
7170
|
-
return this.params.ignoreSilenceMode &&
|
|
7170
|
+
return this.params.ignoreSilenceMode && g.ignoreSilenceMode(), this.fireEvent("interaction", function() {
|
|
7171
7171
|
return z.play(a, E);
|
|
7172
7172
|
}), this.backend.play(a, E);
|
|
7173
7173
|
}
|
|
@@ -7504,7 +7504,7 @@ function Bu() {
|
|
|
7504
7504
|
}, {
|
|
7505
7505
|
key: "setBackgroundColor",
|
|
7506
7506
|
value: function(a) {
|
|
7507
|
-
this.params.backgroundColor = a,
|
|
7507
|
+
this.params.backgroundColor = a, g.style(this.container, {
|
|
7508
7508
|
background: this.params.backgroundColor
|
|
7509
7509
|
});
|
|
7510
7510
|
}
|
|
@@ -7789,7 +7789,7 @@ function Bu() {
|
|
|
7789
7789
|
var z = this, L = Object.assign({
|
|
7790
7790
|
url: a,
|
|
7791
7791
|
responseType: "arraybuffer"
|
|
7792
|
-
}, this.params.xhr), J =
|
|
7792
|
+
}, this.params.xhr), J = g.fetchFile(L);
|
|
7793
7793
|
return this.currentRequest = J, this.tmpEvents.push(J.on("progress", function(Z) {
|
|
7794
7794
|
z.onProgress(Z);
|
|
7795
7795
|
}), J.on("success", function(Z) {
|
|
@@ -7928,8 +7928,8 @@ function Bu() {
|
|
|
7928
7928
|
* console.log('Using wavesurfer.js ' + WaveSurfer.VERSION);
|
|
7929
7929
|
*/
|
|
7930
7930
|
}]), b;
|
|
7931
|
-
})(
|
|
7932
|
-
s.default = w, N(w, "VERSION", "6.2.0"), N(w, "util",
|
|
7931
|
+
})(g.Observer);
|
|
7932
|
+
s.default = w, N(w, "VERSION", "6.2.0"), N(w, "util", g), u.exports = s.default;
|
|
7933
7933
|
})
|
|
7934
7934
|
),
|
|
7935
7935
|
/***/
|
|
@@ -7950,14 +7950,14 @@ function Bu() {
|
|
|
7950
7950
|
Object.defineProperty(s, "__esModule", {
|
|
7951
7951
|
value: !0
|
|
7952
7952
|
}), s.default = void 0;
|
|
7953
|
-
var
|
|
7953
|
+
var g = x(f(
|
|
7954
7954
|
/*! ./util */
|
|
7955
7955
|
"./src/util/index.js"
|
|
7956
7956
|
));
|
|
7957
|
-
function
|
|
7957
|
+
function A(c) {
|
|
7958
7958
|
if (typeof WeakMap != "function") return null;
|
|
7959
7959
|
var m = /* @__PURE__ */ new WeakMap(), w = /* @__PURE__ */ new WeakMap();
|
|
7960
|
-
return (
|
|
7960
|
+
return (A = function(o) {
|
|
7961
7961
|
return o ? w : m;
|
|
7962
7962
|
})(c);
|
|
7963
7963
|
}
|
|
@@ -7966,7 +7966,7 @@ function Bu() {
|
|
|
7966
7966
|
return c;
|
|
7967
7967
|
if (c === null || y(c) !== "object" && typeof c != "function")
|
|
7968
7968
|
return { default: c };
|
|
7969
|
-
var w =
|
|
7969
|
+
var w = A(m);
|
|
7970
7970
|
if (w && w.has(c))
|
|
7971
7971
|
return w.get(c);
|
|
7972
7972
|
var l = {}, o = Object.defineProperty && Object.getOwnPropertyDescriptor;
|
|
@@ -8497,7 +8497,7 @@ function Bu() {
|
|
|
8497
8497
|
this.scheduledPause = o;
|
|
8498
8498
|
}
|
|
8499
8499
|
}]), w;
|
|
8500
|
-
})(
|
|
8500
|
+
})(g.Observer);
|
|
8501
8501
|
s.default = S, M(S, "scriptBufferSize", 256), u.exports = s.default;
|
|
8502
8502
|
})
|
|
8503
8503
|
),
|
|
@@ -8508,22 +8508,22 @@ function Bu() {
|
|
|
8508
8508
|
\****************************************/
|
|
8509
8509
|
/***/
|
|
8510
8510
|
((u) => {
|
|
8511
|
-
function s(f, y,
|
|
8512
|
-
var
|
|
8511
|
+
function s(f, y, g) {
|
|
8512
|
+
var A, x, k, B, j;
|
|
8513
8513
|
y == null && (y = 100);
|
|
8514
8514
|
function O() {
|
|
8515
8515
|
var C = Date.now() - B;
|
|
8516
|
-
C < y && C >= 0 ?
|
|
8516
|
+
C < y && C >= 0 ? A = setTimeout(O, y - C) : (A = null, g || (j = f.apply(k, x), k = x = null));
|
|
8517
8517
|
}
|
|
8518
8518
|
var R = function() {
|
|
8519
8519
|
k = this, x = arguments, B = Date.now();
|
|
8520
|
-
var C =
|
|
8521
|
-
return
|
|
8520
|
+
var C = g && !A;
|
|
8521
|
+
return A || (A = setTimeout(O, y)), C && (j = f.apply(k, x), k = x = null), j;
|
|
8522
8522
|
};
|
|
8523
8523
|
return R.clear = function() {
|
|
8524
|
-
|
|
8524
|
+
A && (clearTimeout(A), A = null);
|
|
8525
8525
|
}, R.flush = function() {
|
|
8526
|
-
|
|
8526
|
+
A && (j = f.apply(k, x), k = x = null, clearTimeout(A), A = null);
|
|
8527
8527
|
}, R;
|
|
8528
8528
|
}
|
|
8529
8529
|
s.debounce = s, u.exports = s;
|
|
@@ -8617,7 +8617,7 @@ const Fu = /* @__PURE__ */ lo(Du), zu = {
|
|
|
8617
8617
|
cursor: pointer !important;
|
|
8618
8618
|
}
|
|
8619
8619
|
`, qu = ({ isActive: e }) => {
|
|
8620
|
-
const t =
|
|
8620
|
+
const t = Ae(null), { additionalId: r, elementRefs: n, curAudioState: i } = H(
|
|
8621
8621
|
ie
|
|
8622
8622
|
);
|
|
8623
8623
|
Lu(t), fe(() => {
|
|
@@ -8638,7 +8638,7 @@ const Fu = /* @__PURE__ */ lo(Du), zu = {
|
|
|
8638
8638
|
}, Te = at(({ className: e, ...t }, r) => /* @__PURE__ */ p.jsx(du, { ...t, UNSAFE_className: e, ref: r }));
|
|
8639
8639
|
Te.displayName = "CustomGrid";
|
|
8640
8640
|
const Ti = at(({ children: e, visible: t = !0, ...r }, n) => /* @__PURE__ */ p.jsx(
|
|
8641
|
-
|
|
8641
|
+
Ai,
|
|
8642
8642
|
{
|
|
8643
8643
|
justifySelf: "center",
|
|
8644
8644
|
padding: t ? "0 5px" : void 0,
|
|
@@ -8652,7 +8652,7 @@ Te.Item = Ti;
|
|
|
8652
8652
|
const Ku = ({
|
|
8653
8653
|
placement: e
|
|
8654
8654
|
}) => {
|
|
8655
|
-
const t =
|
|
8655
|
+
const t = Ae(null), { curAudioState: r } = H(ie), n = H(je), i = Me(
|
|
8656
8656
|
(d) => {
|
|
8657
8657
|
d.stopPropagation(), d.preventDefault(), r.muted && n({ type: "SET_MUTED", muted: !1 });
|
|
8658
8658
|
const { value: u } = d.target, s = parseFloat(u);
|
|
@@ -8834,7 +8834,7 @@ const Ku = ({
|
|
|
8834
8834
|
transform: rotateX(180deg);
|
|
8835
8835
|
top: 5px;
|
|
8836
8836
|
`}
|
|
8837
|
-
`, Mi =
|
|
8837
|
+
`, Mi = gt(null), Xu = ({
|
|
8838
8838
|
children: e
|
|
8839
8839
|
}) => /* @__PURE__ */ p.jsx(tc, { children: e }), Oi = ({
|
|
8840
8840
|
clickArea: e,
|
|
@@ -8843,23 +8843,23 @@ const Ku = ({
|
|
|
8843
8843
|
setIsOpen: n,
|
|
8844
8844
|
onOpenChange: i
|
|
8845
8845
|
}) => {
|
|
8846
|
-
const d =
|
|
8847
|
-
const
|
|
8846
|
+
const d = Ae(), u = (g) => {
|
|
8847
|
+
const A = () => {
|
|
8848
8848
|
clearTimeout(d.current), d.current = void 0;
|
|
8849
8849
|
}, x = (k) => {
|
|
8850
|
-
n(k), i && i(k),
|
|
8850
|
+
n(k), i && i(k), A();
|
|
8851
8851
|
};
|
|
8852
|
-
if (
|
|
8852
|
+
if (A(), g) {
|
|
8853
8853
|
d.current = window.setTimeout(() => x(!0), 100);
|
|
8854
8854
|
return;
|
|
8855
8855
|
}
|
|
8856
8856
|
d.current = window.setTimeout(() => x(!1), 100);
|
|
8857
|
-
}, s = (
|
|
8858
|
-
t === "hover" && u(
|
|
8857
|
+
}, s = (g) => {
|
|
8858
|
+
t === "hover" && u(g);
|
|
8859
8859
|
};
|
|
8860
8860
|
return {
|
|
8861
|
-
onClick: e === "content" ? (
|
|
8862
|
-
|
|
8861
|
+
onClick: e === "content" ? (g) => {
|
|
8862
|
+
g.stopPropagation(), g.nativeEvent.stopImmediatePropagation();
|
|
8863
8863
|
} : () => {
|
|
8864
8864
|
t === "click" && (n(!r), i && i(!r));
|
|
8865
8865
|
},
|
|
@@ -8878,7 +8878,7 @@ const Ku = ({
|
|
|
8878
8878
|
setIsOpen: u,
|
|
8879
8879
|
isOpen: d,
|
|
8880
8880
|
clickArea: "content"
|
|
8881
|
-
}),
|
|
8881
|
+
}), g = () => u(!1), A = () => u(!0);
|
|
8882
8882
|
fe(() => {
|
|
8883
8883
|
n.current && f({
|
|
8884
8884
|
width: n.current.offsetWidth,
|
|
@@ -8906,8 +8906,8 @@ const Ku = ({
|
|
|
8906
8906
|
enterTime: 20,
|
|
8907
8907
|
leaveTime: 60,
|
|
8908
8908
|
clearTime: 300,
|
|
8909
|
-
onExited:
|
|
8910
|
-
onEntered:
|
|
8909
|
+
onExited: g,
|
|
8910
|
+
onEntered: A,
|
|
8911
8911
|
children: x
|
|
8912
8912
|
}
|
|
8913
8913
|
) : d ? x : null;
|
|
@@ -8930,18 +8930,18 @@ const Ku = ({
|
|
|
8930
8930
|
disabled: d = !1,
|
|
8931
8931
|
onOpenChange: u
|
|
8932
8932
|
}) => {
|
|
8933
|
-
const s =
|
|
8934
|
-
setIsOpen:
|
|
8935
|
-
isOpen:
|
|
8933
|
+
const s = Ae(null), [f, y] = G.Children.toArray(r), [g, A] = pe(!1), x = Oi({
|
|
8934
|
+
setIsOpen: A,
|
|
8935
|
+
isOpen: g,
|
|
8936
8936
|
triggerType: e,
|
|
8937
8937
|
clickArea: "root"
|
|
8938
8938
|
});
|
|
8939
|
-
return Si(s, () => t &&
|
|
8940
|
-
n !== void 0 &&
|
|
8939
|
+
return Si(s, () => t && A(!1)), Ke(() => {
|
|
8940
|
+
n !== void 0 && A(n);
|
|
8941
8941
|
}, [n]), /* @__PURE__ */ p.jsx(
|
|
8942
8942
|
Mi.Provider,
|
|
8943
8943
|
{
|
|
8944
|
-
value: { dropdownRef: s, placement: i, isOpen:
|
|
8944
|
+
value: { dropdownRef: s, placement: i, isOpen: g, setIsOpen: A, onOpenChange: u },
|
|
8945
8945
|
children: /* @__PURE__ */ p.jsx(ec, { ref: s, ...x, children: /* @__PURE__ */ p.jsxs(p.Fragment, { children: [
|
|
8946
8946
|
f,
|
|
8947
8947
|
!d && y
|
|
@@ -8991,7 +8991,7 @@ const rc = ({
|
|
|
8991
8991
|
}
|
|
8992
8992
|
}, [r, e]), n;
|
|
8993
8993
|
}, nc = () => {
|
|
8994
|
-
const e =
|
|
8994
|
+
const e = Ae(null), {
|
|
8995
8995
|
activeUI: { volumeSlider: t },
|
|
8996
8996
|
volumeSliderPlacement: r
|
|
8997
8997
|
} = H(ie), n = rc({
|
|
@@ -9147,7 +9147,7 @@ const rc = ({
|
|
|
9147
9147
|
`}
|
|
9148
9148
|
`}
|
|
9149
9149
|
`, dc = ({ position: e }) => {
|
|
9150
|
-
const t =
|
|
9150
|
+
const t = Ae(null), { elementRefs: r } = H(ie);
|
|
9151
9151
|
return Fn(
|
|
9152
9152
|
{
|
|
9153
9153
|
refs: { trackCurTimeEl: t }
|
|
@@ -9163,7 +9163,7 @@ const rc = ({
|
|
|
9163
9163
|
line-height: 20px;
|
|
9164
9164
|
text-align: center;
|
|
9165
9165
|
`, pc = Q(Vi)``, hc = ({ position: e }) => {
|
|
9166
|
-
const t =
|
|
9166
|
+
const t = Ae(null), { elementRefs: r } = H(ie);
|
|
9167
9167
|
return Fn(
|
|
9168
9168
|
{
|
|
9169
9169
|
refs: { trackDurationEl: t }
|
|
@@ -9224,7 +9224,7 @@ const rc = ({
|
|
|
9224
9224
|
}
|
|
9225
9225
|
)
|
|
9226
9226
|
] });
|
|
9227
|
-
},
|
|
9227
|
+
}, gc = () => {
|
|
9228
9228
|
const { interfacePlacement: e, logo: t, playList: r, curIdx: n, activeUI: i } = H(ie), d = !!(r[n]?.customTrackInfo ?? r[n]?.writer ?? r[n]?.name) && !!(i.trackInfo ?? i.all);
|
|
9229
9229
|
return /* @__PURE__ */ p.jsxs(p.Fragment, { children: [
|
|
9230
9230
|
t,
|
|
@@ -9246,10 +9246,10 @@ const rc = ({
|
|
|
9246
9246
|
),
|
|
9247
9247
|
/* @__PURE__ */ p.jsx(yc, {})
|
|
9248
9248
|
] });
|
|
9249
|
-
},
|
|
9249
|
+
}, Ac = (e, t) => {
|
|
9250
9250
|
const r = Me(
|
|
9251
|
-
(
|
|
9252
|
-
const k =
|
|
9251
|
+
(A, x) => {
|
|
9252
|
+
const k = A.all ? Object.keys(Pe.templateArea).filter((V) => (V === "trackTimeCurrent" || V === "trackTimeDuration") && A.trackTime === !1 ? !1 : A[V] !== void 0 ? A[V] : !0) : Object.entries(A).filter(([, V]) => V).map(([V]) => V);
|
|
9253
9253
|
(() => {
|
|
9254
9254
|
k.find((V) => V === "trackTime") && (k.splice(k.indexOf("trackTime"), 1), k.push("trackTimeCurrent"), k.push("trackTimeDuration"));
|
|
9255
9255
|
})();
|
|
@@ -9298,22 +9298,22 @@ const rc = ({
|
|
|
9298
9298
|
[]
|
|
9299
9299
|
), [n, i] = pe(e), [d, u] = pe(t), [s, f] = pe();
|
|
9300
9300
|
if (!s) {
|
|
9301
|
-
const { gridAreas:
|
|
9301
|
+
const { gridAreas: A, gridColumns: x } = r(
|
|
9302
9302
|
n,
|
|
9303
9303
|
d
|
|
9304
9304
|
);
|
|
9305
|
-
return f({ gridAreas:
|
|
9305
|
+
return f({ gridAreas: A, gridColumns: x }), [A, x];
|
|
9306
9306
|
}
|
|
9307
9307
|
if (n !== e || d !== t) {
|
|
9308
9308
|
i(e), u(t);
|
|
9309
|
-
const { gridAreas:
|
|
9309
|
+
const { gridAreas: A, gridColumns: x } = r(
|
|
9310
9310
|
e,
|
|
9311
9311
|
t
|
|
9312
9312
|
);
|
|
9313
|
-
f({ gridAreas:
|
|
9313
|
+
f({ gridAreas: A, gridColumns: x });
|
|
9314
9314
|
}
|
|
9315
|
-
const { gridAreas: y, gridColumns:
|
|
9316
|
-
return [y,
|
|
9315
|
+
const { gridAreas: y, gridColumns: g } = s;
|
|
9316
|
+
return [y, g];
|
|
9317
9317
|
}, bc = Q.div``, wc = Q(Te)`
|
|
9318
9318
|
background: var(--rm-audio-player-interface-container);
|
|
9319
9319
|
padding: 16px 11px;
|
|
@@ -9324,10 +9324,10 @@ const rc = ({
|
|
|
9324
9324
|
background: var(--rm-audio-player-sortable-list);
|
|
9325
9325
|
box-shadow: -5px 2px 4px 0 rgb(0 0 0 / 4%) inset;
|
|
9326
9326
|
`, Cc = () => {
|
|
9327
|
-
const { interfacePlacement: e, activeUI: t, playListPlacement: r } = H(ie), [n, i] =
|
|
9327
|
+
const { interfacePlacement: e, activeUI: t, playListPlacement: r } = H(ie), [n, i] = Ac(
|
|
9328
9328
|
t,
|
|
9329
9329
|
e?.templateArea
|
|
9330
|
-
), d =
|
|
9330
|
+
), d = Ae(null);
|
|
9331
9331
|
return /* @__PURE__ */ p.jsx(Ei.Provider, { value: d, children: /* @__PURE__ */ p.jsxs(bc, { children: [
|
|
9332
9332
|
r === "top" && /* @__PURE__ */ p.jsx(Ta, { ref: d }),
|
|
9333
9333
|
/* @__PURE__ */ p.jsxs(
|
|
@@ -9339,7 +9339,7 @@ const rc = ({
|
|
|
9339
9339
|
minHeight: "30px",
|
|
9340
9340
|
columns: i,
|
|
9341
9341
|
children: [
|
|
9342
|
-
/* @__PURE__ */ p.jsx(
|
|
9342
|
+
/* @__PURE__ */ p.jsx(gc, {}),
|
|
9343
9343
|
/* @__PURE__ */ p.jsx(ac, {})
|
|
9344
9344
|
]
|
|
9345
9345
|
}
|
|
@@ -9359,15 +9359,15 @@ const rc = ({
|
|
|
9359
9359
|
if (!u) return;
|
|
9360
9360
|
const {
|
|
9361
9361
|
player: y,
|
|
9362
|
-
playList:
|
|
9363
|
-
interface:
|
|
9362
|
+
playList: g,
|
|
9363
|
+
interface: A,
|
|
9364
9364
|
volumeSlider: x
|
|
9365
9365
|
} = e;
|
|
9366
9366
|
f({
|
|
9367
9367
|
type: "SET_PLACEMENTS",
|
|
9368
9368
|
playerPlacement: y,
|
|
9369
|
-
playListPlacement:
|
|
9370
|
-
interfacePlacement:
|
|
9369
|
+
playListPlacement: g,
|
|
9370
|
+
interfacePlacement: A,
|
|
9371
9371
|
volumeSliderPlacement: x
|
|
9372
9372
|
});
|
|
9373
9373
|
}, [f, e]), Ke(() => {
|
|
@@ -9394,7 +9394,7 @@ const rc = ({
|
|
|
9394
9394
|
const { additionalId: r } = H(
|
|
9395
9395
|
ie
|
|
9396
9396
|
), n = r ? `rm-audio-player-${r}` : "rm-audio-player";
|
|
9397
|
-
return /* @__PURE__ */ p.jsxs(
|
|
9397
|
+
return /* @__PURE__ */ p.jsxs(Ai, { id: n, children: [
|
|
9398
9398
|
/* @__PURE__ */ p.jsx(Ol, { audioRef: e }),
|
|
9399
9399
|
/* @__PURE__ */ p.jsx(Cc, {})
|
|
9400
9400
|
] });
|
|
@@ -9404,7 +9404,7 @@ const rc = ({
|
|
|
9404
9404
|
}) => /* @__PURE__ */ p.jsx(Cs, { ...t, children: /* @__PURE__ */ p.jsxs(bs, { rootContainerProps: e, children: [
|
|
9405
9405
|
/* @__PURE__ */ p.jsx(kc, { ...t }),
|
|
9406
9406
|
/* @__PURE__ */ p.jsx(Tl, {})
|
|
9407
|
-
] }) }), Pc = "
|
|
9407
|
+
] }) }), Pc = "_logoWithName_sjoey_1", Ec = "_logo_sjoey_1", Rc = "_companyName_sjoey_24", jr = {
|
|
9408
9408
|
logoWithName: Pc,
|
|
9409
9409
|
logo: Ec,
|
|
9410
9410
|
companyName: Rc
|
|
@@ -9713,9 +9713,9 @@ const rc = ({
|
|
|
9713
9713
|
playList: r,
|
|
9714
9714
|
style: n
|
|
9715
9715
|
}, i) => {
|
|
9716
|
-
const d = oo(), u = r.map((y,
|
|
9716
|
+
const d = oo(), u = r.map((y, g) => ({
|
|
9717
9717
|
...y,
|
|
9718
|
-
id:
|
|
9718
|
+
id: g + 1
|
|
9719
9719
|
})), s = () => /* @__PURE__ */ p.jsxs("a", { href: "https://ostbay.ru/", className: jr.logoWithName, target: "_blank", children: [
|
|
9720
9720
|
/* @__PURE__ */ p.jsx(ke, { className: jr.logo, name: "logo" }),
|
|
9721
9721
|
/* @__PURE__ */ p.jsx(ke, { className: jr.companyName, name: "ostbay" })
|