twist-aplayer 1.4.2 → 1.4.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/dist/index.d.ts +5 -1
- package/dist/index.js +18 -13
- package/dist/index.min.css +1 -1
- package/dist/index.mjs +800 -783
- package/dist/twist-aplayer.umd.js +18 -13
- package/package.json +6 -9
package/dist/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import
|
|
3
|
-
var
|
|
1
|
+
import * as ie from "react";
|
|
2
|
+
import Oe, { useMemo as K, useRef as F, useState as Y, useEffect as B, useCallback as R } from "react";
|
|
3
|
+
var _e = { exports: {} }, de = {};
|
|
4
4
|
/**
|
|
5
5
|
* @license React
|
|
6
6
|
* react-jsx-runtime.production.min.js
|
|
@@ -10,21 +10,21 @@ var Se = { exports: {} }, ce = {};
|
|
|
10
10
|
* This source code is licensed under the MIT license found in the
|
|
11
11
|
* LICENSE file in the root directory of this source tree.
|
|
12
12
|
*/
|
|
13
|
-
var
|
|
14
|
-
function
|
|
15
|
-
if (
|
|
16
|
-
|
|
17
|
-
var e =
|
|
18
|
-
function
|
|
19
|
-
var
|
|
20
|
-
|
|
21
|
-
for (
|
|
22
|
-
if (g && g.defaultProps) for (
|
|
23
|
-
return { $$typeof: r, type: g, key: x, ref: E, props:
|
|
13
|
+
var nr;
|
|
14
|
+
function Ur() {
|
|
15
|
+
if (nr) return de;
|
|
16
|
+
nr = 1;
|
|
17
|
+
var e = Oe, r = Symbol.for("react.element"), n = Symbol.for("react.fragment"), a = Object.prototype.hasOwnProperty, i = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, m = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
18
|
+
function c(g, s, y) {
|
|
19
|
+
var l, h = {}, x = null, E = null;
|
|
20
|
+
y !== void 0 && (x = "" + y), s.key !== void 0 && (x = "" + s.key), s.ref !== void 0 && (E = s.ref);
|
|
21
|
+
for (l in s) a.call(s, l) && !m.hasOwnProperty(l) && (h[l] = s[l]);
|
|
22
|
+
if (g && g.defaultProps) for (l in s = g.defaultProps, s) h[l] === void 0 && (h[l] = s[l]);
|
|
23
|
+
return { $$typeof: r, type: g, key: x, ref: E, props: h, _owner: i.current };
|
|
24
24
|
}
|
|
25
|
-
return
|
|
25
|
+
return de.Fragment = n, de.jsx = c, de.jsxs = c, de;
|
|
26
26
|
}
|
|
27
|
-
var
|
|
27
|
+
var ve = {};
|
|
28
28
|
/**
|
|
29
29
|
* @license React
|
|
30
30
|
* react-jsx-runtime.development.js
|
|
@@ -34,57 +34,57 @@ var fe = {};
|
|
|
34
34
|
* This source code is licensed under the MIT license found in the
|
|
35
35
|
* LICENSE file in the root directory of this source tree.
|
|
36
36
|
*/
|
|
37
|
-
var
|
|
38
|
-
function
|
|
39
|
-
return
|
|
40
|
-
var e =
|
|
41
|
-
function
|
|
37
|
+
var ar;
|
|
38
|
+
function Yr() {
|
|
39
|
+
return ar || (ar = 1, process.env.NODE_ENV !== "production" && function() {
|
|
40
|
+
var e = Oe, r = Symbol.for("react.element"), n = Symbol.for("react.portal"), a = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), m = Symbol.for("react.profiler"), c = Symbol.for("react.provider"), g = Symbol.for("react.context"), s = Symbol.for("react.forward_ref"), y = Symbol.for("react.suspense"), l = Symbol.for("react.suspense_list"), h = Symbol.for("react.memo"), x = Symbol.for("react.lazy"), E = Symbol.for("react.offscreen"), b = Symbol.iterator, u = "@@iterator";
|
|
41
|
+
function d(t) {
|
|
42
42
|
if (t === null || typeof t != "object")
|
|
43
43
|
return null;
|
|
44
44
|
var o = b && t[b] || t[u];
|
|
45
45
|
return typeof o == "function" ? o : null;
|
|
46
46
|
}
|
|
47
|
-
var
|
|
48
|
-
function
|
|
47
|
+
var p = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
48
|
+
function T(t) {
|
|
49
49
|
{
|
|
50
|
-
for (var o = arguments.length,
|
|
51
|
-
|
|
52
|
-
j("error", t,
|
|
50
|
+
for (var o = arguments.length, v = new Array(o > 1 ? o - 1 : 0), S = 1; S < o; S++)
|
|
51
|
+
v[S - 1] = arguments[S];
|
|
52
|
+
j("error", t, v);
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
|
-
function j(t, o,
|
|
55
|
+
function j(t, o, v) {
|
|
56
56
|
{
|
|
57
|
-
var S =
|
|
58
|
-
O !== "" && (o += "%s",
|
|
59
|
-
var P =
|
|
60
|
-
return String(
|
|
57
|
+
var S = p.ReactDebugCurrentFrame, O = S.getStackAddendum();
|
|
58
|
+
O !== "" && (o += "%s", v = v.concat([O]));
|
|
59
|
+
var P = v.map(function(w) {
|
|
60
|
+
return String(w);
|
|
61
61
|
});
|
|
62
62
|
P.unshift("Warning: " + o), Function.prototype.apply.call(console[t], console, P);
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
|
-
var L = !1,
|
|
65
|
+
var L = !1, z = !1, H = !1, q = !1, J = !1, A;
|
|
66
66
|
A = Symbol.for("react.module.reference");
|
|
67
|
-
function
|
|
68
|
-
return !!(typeof t == "string" || typeof t == "function" || t === a || t ===
|
|
67
|
+
function pe(t) {
|
|
68
|
+
return !!(typeof t == "string" || typeof t == "function" || t === a || t === m || J || t === i || t === y || t === l || q || t === E || L || z || H || typeof t == "object" && t !== null && (t.$$typeof === x || t.$$typeof === h || t.$$typeof === c || t.$$typeof === g || t.$$typeof === s || // This needs to include all possible module reference object
|
|
69
69
|
// types supported by any Flight configuration anywhere since
|
|
70
70
|
// we don't know which Flight build this will end up being used
|
|
71
71
|
// with.
|
|
72
72
|
t.$$typeof === A || t.getModuleId !== void 0));
|
|
73
73
|
}
|
|
74
|
-
function
|
|
74
|
+
function Re(t, o, v) {
|
|
75
75
|
var S = t.displayName;
|
|
76
76
|
if (S)
|
|
77
77
|
return S;
|
|
78
78
|
var O = o.displayName || o.name || "";
|
|
79
|
-
return O !== "" ?
|
|
79
|
+
return O !== "" ? v + "(" + O + ")" : v;
|
|
80
80
|
}
|
|
81
|
-
function
|
|
81
|
+
function ye(t) {
|
|
82
82
|
return t.displayName || "Context";
|
|
83
83
|
}
|
|
84
|
-
function
|
|
84
|
+
function W(t) {
|
|
85
85
|
if (t == null)
|
|
86
86
|
return null;
|
|
87
|
-
if (typeof t.tag == "number" &&
|
|
87
|
+
if (typeof t.tag == "number" && T("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof t == "function")
|
|
88
88
|
return t.displayName || t.name || null;
|
|
89
89
|
if (typeof t == "string")
|
|
90
90
|
return t;
|
|
@@ -93,32 +93,32 @@ function zr() {
|
|
|
93
93
|
return "Fragment";
|
|
94
94
|
case n:
|
|
95
95
|
return "Portal";
|
|
96
|
-
case
|
|
96
|
+
case m:
|
|
97
97
|
return "Profiler";
|
|
98
98
|
case i:
|
|
99
99
|
return "StrictMode";
|
|
100
|
-
case
|
|
100
|
+
case y:
|
|
101
101
|
return "Suspense";
|
|
102
|
-
case
|
|
102
|
+
case l:
|
|
103
103
|
return "SuspenseList";
|
|
104
104
|
}
|
|
105
105
|
if (typeof t == "object")
|
|
106
106
|
switch (t.$$typeof) {
|
|
107
107
|
case g:
|
|
108
108
|
var o = t;
|
|
109
|
-
return
|
|
110
|
-
case
|
|
111
|
-
var
|
|
112
|
-
return
|
|
109
|
+
return ye(o) + ".Consumer";
|
|
110
|
+
case c:
|
|
111
|
+
var v = t;
|
|
112
|
+
return ye(v._context) + ".Provider";
|
|
113
113
|
case s:
|
|
114
|
-
return
|
|
115
|
-
case
|
|
114
|
+
return Re(t, t.render, "ForwardRef");
|
|
115
|
+
case h:
|
|
116
116
|
var S = t.displayName || null;
|
|
117
|
-
return S !== null ? S :
|
|
117
|
+
return S !== null ? S : W(t.type) || "Memo";
|
|
118
118
|
case x: {
|
|
119
|
-
var O = t, P = O._payload,
|
|
119
|
+
var O = t, P = O._payload, w = O._init;
|
|
120
120
|
try {
|
|
121
|
-
return
|
|
121
|
+
return W(w(P));
|
|
122
122
|
} catch {
|
|
123
123
|
return null;
|
|
124
124
|
}
|
|
@@ -126,18 +126,18 @@ function zr() {
|
|
|
126
126
|
}
|
|
127
127
|
return null;
|
|
128
128
|
}
|
|
129
|
-
var
|
|
130
|
-
function
|
|
129
|
+
var U = Object.assign, X = 0, ee, oe, ue, I, re, se, le;
|
|
130
|
+
function be() {
|
|
131
131
|
}
|
|
132
|
-
|
|
133
|
-
function
|
|
132
|
+
be.__reactDisabledLog = !0;
|
|
133
|
+
function ce() {
|
|
134
134
|
{
|
|
135
135
|
if (X === 0) {
|
|
136
|
-
|
|
136
|
+
ee = console.log, oe = console.info, ue = console.warn, I = console.error, re = console.group, se = console.groupCollapsed, le = console.groupEnd;
|
|
137
137
|
var t = {
|
|
138
138
|
configurable: !0,
|
|
139
139
|
enumerable: !0,
|
|
140
|
-
value:
|
|
140
|
+
value: be,
|
|
141
141
|
writable: !0
|
|
142
142
|
};
|
|
143
143
|
Object.defineProperties(console, {
|
|
@@ -153,7 +153,7 @@ function zr() {
|
|
|
153
153
|
X++;
|
|
154
154
|
}
|
|
155
155
|
}
|
|
156
|
-
function
|
|
156
|
+
function Er() {
|
|
157
157
|
{
|
|
158
158
|
if (X--, X === 0) {
|
|
159
159
|
var t = {
|
|
@@ -162,100 +162,100 @@ function zr() {
|
|
|
162
162
|
writable: !0
|
|
163
163
|
};
|
|
164
164
|
Object.defineProperties(console, {
|
|
165
|
-
log:
|
|
166
|
-
value:
|
|
167
|
-
}),
|
|
168
|
-
info: W({}, t, {
|
|
169
|
-
value: ie
|
|
165
|
+
log: U({}, t, {
|
|
166
|
+
value: ee
|
|
170
167
|
}),
|
|
171
|
-
|
|
168
|
+
info: U({}, t, {
|
|
172
169
|
value: oe
|
|
173
170
|
}),
|
|
174
|
-
|
|
175
|
-
value:
|
|
171
|
+
warn: U({}, t, {
|
|
172
|
+
value: ue
|
|
176
173
|
}),
|
|
177
|
-
|
|
178
|
-
value:
|
|
174
|
+
error: U({}, t, {
|
|
175
|
+
value: I
|
|
179
176
|
}),
|
|
180
|
-
|
|
181
|
-
value:
|
|
177
|
+
group: U({}, t, {
|
|
178
|
+
value: re
|
|
182
179
|
}),
|
|
183
|
-
|
|
180
|
+
groupCollapsed: U({}, t, {
|
|
184
181
|
value: se
|
|
182
|
+
}),
|
|
183
|
+
groupEnd: U({}, t, {
|
|
184
|
+
value: le
|
|
185
185
|
})
|
|
186
186
|
});
|
|
187
187
|
}
|
|
188
|
-
X < 0 &&
|
|
188
|
+
X < 0 && T("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
189
189
|
}
|
|
190
190
|
}
|
|
191
|
-
var
|
|
192
|
-
function
|
|
191
|
+
var Pe = p.ReactCurrentDispatcher, Le;
|
|
192
|
+
function ge(t, o, v) {
|
|
193
193
|
{
|
|
194
|
-
if (
|
|
194
|
+
if (Le === void 0)
|
|
195
195
|
try {
|
|
196
196
|
throw Error();
|
|
197
197
|
} catch (O) {
|
|
198
198
|
var S = O.stack.trim().match(/\n( *(at )?)/);
|
|
199
|
-
|
|
199
|
+
Le = S && S[1] || "";
|
|
200
200
|
}
|
|
201
201
|
return `
|
|
202
|
-
` +
|
|
202
|
+
` + Le + t;
|
|
203
203
|
}
|
|
204
204
|
}
|
|
205
|
-
var
|
|
205
|
+
var Ce = !1, Ee;
|
|
206
206
|
{
|
|
207
|
-
var
|
|
208
|
-
|
|
207
|
+
var xr = typeof WeakMap == "function" ? WeakMap : Map;
|
|
208
|
+
Ee = new xr();
|
|
209
209
|
}
|
|
210
|
-
function
|
|
211
|
-
if (!t ||
|
|
210
|
+
function Be(t, o) {
|
|
211
|
+
if (!t || Ce)
|
|
212
212
|
return "";
|
|
213
213
|
{
|
|
214
|
-
var
|
|
215
|
-
if (
|
|
216
|
-
return
|
|
214
|
+
var v = Ee.get(t);
|
|
215
|
+
if (v !== void 0)
|
|
216
|
+
return v;
|
|
217
217
|
}
|
|
218
218
|
var S;
|
|
219
|
-
|
|
219
|
+
Ce = !0;
|
|
220
220
|
var O = Error.prepareStackTrace;
|
|
221
221
|
Error.prepareStackTrace = void 0;
|
|
222
222
|
var P;
|
|
223
|
-
P =
|
|
223
|
+
P = Pe.current, Pe.current = null, ce();
|
|
224
224
|
try {
|
|
225
225
|
if (o) {
|
|
226
|
-
var
|
|
226
|
+
var w = function() {
|
|
227
227
|
throw Error();
|
|
228
228
|
};
|
|
229
|
-
if (Object.defineProperty(
|
|
229
|
+
if (Object.defineProperty(w.prototype, "props", {
|
|
230
230
|
set: function() {
|
|
231
231
|
throw Error();
|
|
232
232
|
}
|
|
233
233
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
234
234
|
try {
|
|
235
|
-
Reflect.construct(
|
|
236
|
-
} catch (
|
|
237
|
-
S =
|
|
235
|
+
Reflect.construct(w, []);
|
|
236
|
+
} catch (D) {
|
|
237
|
+
S = D;
|
|
238
238
|
}
|
|
239
|
-
Reflect.construct(t, [],
|
|
239
|
+
Reflect.construct(t, [], w);
|
|
240
240
|
} else {
|
|
241
241
|
try {
|
|
242
|
-
|
|
243
|
-
} catch (
|
|
244
|
-
S =
|
|
242
|
+
w.call();
|
|
243
|
+
} catch (D) {
|
|
244
|
+
S = D;
|
|
245
245
|
}
|
|
246
|
-
t.call(
|
|
246
|
+
t.call(w.prototype);
|
|
247
247
|
}
|
|
248
248
|
} else {
|
|
249
249
|
try {
|
|
250
250
|
throw Error();
|
|
251
|
-
} catch (
|
|
252
|
-
S =
|
|
251
|
+
} catch (D) {
|
|
252
|
+
S = D;
|
|
253
253
|
}
|
|
254
254
|
t();
|
|
255
255
|
}
|
|
256
|
-
} catch (
|
|
257
|
-
if (
|
|
258
|
-
for (var _ =
|
|
256
|
+
} catch (D) {
|
|
257
|
+
if (D && S && typeof D.stack == "string") {
|
|
258
|
+
for (var _ = D.stack.split(`
|
|
259
259
|
`), k = S.stack.split(`
|
|
260
260
|
`), $ = _.length - 1, M = k.length - 1; $ >= 1 && M >= 0 && _[$] !== k[M]; )
|
|
261
261
|
M--;
|
|
@@ -264,163 +264,163 @@ function zr() {
|
|
|
264
264
|
if ($ !== 1 || M !== 1)
|
|
265
265
|
do
|
|
266
266
|
if ($--, M--, M < 0 || _[$] !== k[M]) {
|
|
267
|
-
var
|
|
267
|
+
var V = `
|
|
268
268
|
` + _[$].replace(" at new ", " at ");
|
|
269
|
-
return t.displayName &&
|
|
269
|
+
return t.displayName && V.includes("<anonymous>") && (V = V.replace("<anonymous>", t.displayName)), typeof t == "function" && Ee.set(t, V), V;
|
|
270
270
|
}
|
|
271
271
|
while ($ >= 1 && M >= 0);
|
|
272
272
|
break;
|
|
273
273
|
}
|
|
274
274
|
}
|
|
275
275
|
} finally {
|
|
276
|
-
|
|
276
|
+
Ce = !1, Pe.current = P, Er(), Error.prepareStackTrace = O;
|
|
277
277
|
}
|
|
278
|
-
var
|
|
279
|
-
return typeof t == "function" &&
|
|
278
|
+
var ne = t ? t.displayName || t.name : "", Q = ne ? ge(ne) : "";
|
|
279
|
+
return typeof t == "function" && Ee.set(t, Q), Q;
|
|
280
280
|
}
|
|
281
|
-
function
|
|
282
|
-
return
|
|
281
|
+
function Sr(t, o, v) {
|
|
282
|
+
return Be(t, !1);
|
|
283
283
|
}
|
|
284
|
-
function
|
|
284
|
+
function _r(t) {
|
|
285
285
|
var o = t.prototype;
|
|
286
286
|
return !!(o && o.isReactComponent);
|
|
287
287
|
}
|
|
288
|
-
function
|
|
288
|
+
function xe(t, o, v) {
|
|
289
289
|
if (t == null)
|
|
290
290
|
return "";
|
|
291
291
|
if (typeof t == "function")
|
|
292
|
-
return
|
|
292
|
+
return Be(t, _r(t));
|
|
293
293
|
if (typeof t == "string")
|
|
294
|
-
return
|
|
294
|
+
return ge(t);
|
|
295
295
|
switch (t) {
|
|
296
|
-
case
|
|
297
|
-
return
|
|
298
|
-
case
|
|
299
|
-
return
|
|
296
|
+
case y:
|
|
297
|
+
return ge("Suspense");
|
|
298
|
+
case l:
|
|
299
|
+
return ge("SuspenseList");
|
|
300
300
|
}
|
|
301
301
|
if (typeof t == "object")
|
|
302
302
|
switch (t.$$typeof) {
|
|
303
303
|
case s:
|
|
304
|
-
return
|
|
305
|
-
case
|
|
306
|
-
return
|
|
304
|
+
return Sr(t.render);
|
|
305
|
+
case h:
|
|
306
|
+
return xe(t.type, o, v);
|
|
307
307
|
case x: {
|
|
308
308
|
var S = t, O = S._payload, P = S._init;
|
|
309
309
|
try {
|
|
310
|
-
return
|
|
310
|
+
return xe(P(O), o, v);
|
|
311
311
|
} catch {
|
|
312
312
|
}
|
|
313
313
|
}
|
|
314
314
|
}
|
|
315
315
|
return "";
|
|
316
316
|
}
|
|
317
|
-
var
|
|
318
|
-
function
|
|
317
|
+
var fe = Object.prototype.hasOwnProperty, ze = {}, He = p.ReactDebugCurrentFrame;
|
|
318
|
+
function Se(t) {
|
|
319
319
|
if (t) {
|
|
320
|
-
var o = t._owner,
|
|
321
|
-
|
|
320
|
+
var o = t._owner, v = xe(t.type, t._source, o ? o.type : null);
|
|
321
|
+
He.setExtraStackFrame(v);
|
|
322
322
|
} else
|
|
323
|
-
|
|
323
|
+
He.setExtraStackFrame(null);
|
|
324
324
|
}
|
|
325
|
-
function
|
|
325
|
+
function wr(t, o, v, S, O) {
|
|
326
326
|
{
|
|
327
|
-
var P = Function.call.bind(
|
|
328
|
-
for (var
|
|
329
|
-
if (P(t,
|
|
327
|
+
var P = Function.call.bind(fe);
|
|
328
|
+
for (var w in t)
|
|
329
|
+
if (P(t, w)) {
|
|
330
330
|
var _ = void 0;
|
|
331
331
|
try {
|
|
332
|
-
if (typeof t[
|
|
333
|
-
var k = Error((S || "React class") + ": " +
|
|
332
|
+
if (typeof t[w] != "function") {
|
|
333
|
+
var k = Error((S || "React class") + ": " + v + " type `" + w + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof t[w] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
334
334
|
throw k.name = "Invariant Violation", k;
|
|
335
335
|
}
|
|
336
|
-
_ = t[
|
|
336
|
+
_ = t[w](o, w, S, v, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
337
337
|
} catch ($) {
|
|
338
338
|
_ = $;
|
|
339
339
|
}
|
|
340
|
-
_ && !(_ instanceof Error) && (
|
|
340
|
+
_ && !(_ instanceof Error) && (Se(O), T("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", S || "React class", v, w, typeof _), Se(null)), _ instanceof Error && !(_.message in ze) && (ze[_.message] = !0, Se(O), T("Failed %s type: %s", v, _.message), Se(null));
|
|
341
341
|
}
|
|
342
342
|
}
|
|
343
343
|
}
|
|
344
|
-
var
|
|
345
|
-
function
|
|
346
|
-
return
|
|
344
|
+
var Tr = Array.isArray;
|
|
345
|
+
function $e(t) {
|
|
346
|
+
return Tr(t);
|
|
347
347
|
}
|
|
348
|
-
function
|
|
348
|
+
function jr(t) {
|
|
349
349
|
{
|
|
350
|
-
var o = typeof Symbol == "function" && Symbol.toStringTag,
|
|
351
|
-
return
|
|
350
|
+
var o = typeof Symbol == "function" && Symbol.toStringTag, v = o && t[Symbol.toStringTag] || t.constructor.name || "Object";
|
|
351
|
+
return v;
|
|
352
352
|
}
|
|
353
353
|
}
|
|
354
|
-
function
|
|
354
|
+
function Or(t) {
|
|
355
355
|
try {
|
|
356
|
-
return
|
|
356
|
+
return We(t), !1;
|
|
357
357
|
} catch {
|
|
358
358
|
return !0;
|
|
359
359
|
}
|
|
360
360
|
}
|
|
361
|
-
function
|
|
361
|
+
function We(t) {
|
|
362
362
|
return "" + t;
|
|
363
363
|
}
|
|
364
|
-
function
|
|
365
|
-
if (
|
|
366
|
-
return
|
|
364
|
+
function Ue(t) {
|
|
365
|
+
if (Or(t))
|
|
366
|
+
return T("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", jr(t)), We(t);
|
|
367
367
|
}
|
|
368
|
-
var
|
|
368
|
+
var Ye = p.ReactCurrentOwner, Rr = {
|
|
369
369
|
key: !0,
|
|
370
370
|
ref: !0,
|
|
371
371
|
__self: !0,
|
|
372
372
|
__source: !0
|
|
373
|
-
},
|
|
374
|
-
function
|
|
375
|
-
if (
|
|
373
|
+
}, Ge, Ke;
|
|
374
|
+
function Pr(t) {
|
|
375
|
+
if (fe.call(t, "ref")) {
|
|
376
376
|
var o = Object.getOwnPropertyDescriptor(t, "ref").get;
|
|
377
377
|
if (o && o.isReactWarning)
|
|
378
378
|
return !1;
|
|
379
379
|
}
|
|
380
380
|
return t.ref !== void 0;
|
|
381
381
|
}
|
|
382
|
-
function
|
|
383
|
-
if (
|
|
382
|
+
function Lr(t) {
|
|
383
|
+
if (fe.call(t, "key")) {
|
|
384
384
|
var o = Object.getOwnPropertyDescriptor(t, "key").get;
|
|
385
385
|
if (o && o.isReactWarning)
|
|
386
386
|
return !1;
|
|
387
387
|
}
|
|
388
388
|
return t.key !== void 0;
|
|
389
389
|
}
|
|
390
|
-
function
|
|
391
|
-
typeof t.ref == "string" &&
|
|
390
|
+
function Cr(t, o) {
|
|
391
|
+
typeof t.ref == "string" && Ye.current;
|
|
392
392
|
}
|
|
393
|
-
function
|
|
393
|
+
function $r(t, o) {
|
|
394
394
|
{
|
|
395
|
-
var
|
|
396
|
-
|
|
395
|
+
var v = function() {
|
|
396
|
+
Ge || (Ge = !0, T("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", o));
|
|
397
397
|
};
|
|
398
|
-
|
|
399
|
-
get:
|
|
398
|
+
v.isReactWarning = !0, Object.defineProperty(t, "key", {
|
|
399
|
+
get: v,
|
|
400
400
|
configurable: !0
|
|
401
401
|
});
|
|
402
402
|
}
|
|
403
403
|
}
|
|
404
|
-
function
|
|
404
|
+
function Ar(t, o) {
|
|
405
405
|
{
|
|
406
|
-
var
|
|
407
|
-
|
|
406
|
+
var v = function() {
|
|
407
|
+
Ke || (Ke = !0, T("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", o));
|
|
408
408
|
};
|
|
409
|
-
|
|
410
|
-
get:
|
|
409
|
+
v.isReactWarning = !0, Object.defineProperty(t, "ref", {
|
|
410
|
+
get: v,
|
|
411
411
|
configurable: !0
|
|
412
412
|
});
|
|
413
413
|
}
|
|
414
414
|
}
|
|
415
|
-
var
|
|
415
|
+
var Mr = function(t, o, v, S, O, P, w) {
|
|
416
416
|
var _ = {
|
|
417
417
|
// This tag allows us to uniquely identify this as a React Element
|
|
418
418
|
$$typeof: r,
|
|
419
419
|
// Built-in properties that belong on the element
|
|
420
420
|
type: t,
|
|
421
421
|
key: o,
|
|
422
|
-
ref:
|
|
423
|
-
props:
|
|
422
|
+
ref: v,
|
|
423
|
+
props: w,
|
|
424
424
|
// Record the component responsible for creating this element.
|
|
425
425
|
_owner: P
|
|
426
426
|
};
|
|
@@ -441,41 +441,41 @@ function zr() {
|
|
|
441
441
|
value: O
|
|
442
442
|
}), Object.freeze && (Object.freeze(_.props), Object.freeze(_)), _;
|
|
443
443
|
};
|
|
444
|
-
function
|
|
444
|
+
function Nr(t, o, v, S, O) {
|
|
445
445
|
{
|
|
446
|
-
var P,
|
|
447
|
-
|
|
446
|
+
var P, w = {}, _ = null, k = null;
|
|
447
|
+
v !== void 0 && (Ue(v), _ = "" + v), Lr(o) && (Ue(o.key), _ = "" + o.key), Pr(o) && (k = o.ref, Cr(o, O));
|
|
448
448
|
for (P in o)
|
|
449
|
-
|
|
449
|
+
fe.call(o, P) && !Rr.hasOwnProperty(P) && (w[P] = o[P]);
|
|
450
450
|
if (t && t.defaultProps) {
|
|
451
451
|
var $ = t.defaultProps;
|
|
452
452
|
for (P in $)
|
|
453
|
-
|
|
453
|
+
w[P] === void 0 && (w[P] = $[P]);
|
|
454
454
|
}
|
|
455
455
|
if (_ || k) {
|
|
456
456
|
var M = typeof t == "function" ? t.displayName || t.name || "Unknown" : t;
|
|
457
|
-
_ &&
|
|
457
|
+
_ && $r(w, M), k && Ar(w, M);
|
|
458
458
|
}
|
|
459
|
-
return
|
|
459
|
+
return Mr(t, _, k, O, S, Ye.current, w);
|
|
460
460
|
}
|
|
461
461
|
}
|
|
462
|
-
var
|
|
463
|
-
function
|
|
462
|
+
var Ae = p.ReactCurrentOwner, Je = p.ReactDebugCurrentFrame;
|
|
463
|
+
function te(t) {
|
|
464
464
|
if (t) {
|
|
465
|
-
var o = t._owner,
|
|
466
|
-
|
|
465
|
+
var o = t._owner, v = xe(t.type, t._source, o ? o.type : null);
|
|
466
|
+
Je.setExtraStackFrame(v);
|
|
467
467
|
} else
|
|
468
|
-
|
|
468
|
+
Je.setExtraStackFrame(null);
|
|
469
469
|
}
|
|
470
|
-
var
|
|
471
|
-
|
|
472
|
-
function
|
|
470
|
+
var Me;
|
|
471
|
+
Me = !1;
|
|
472
|
+
function Ne(t) {
|
|
473
473
|
return typeof t == "object" && t !== null && t.$$typeof === r;
|
|
474
474
|
}
|
|
475
|
-
function
|
|
475
|
+
function Xe() {
|
|
476
476
|
{
|
|
477
|
-
if (
|
|
478
|
-
var t =
|
|
477
|
+
if (Ae.current) {
|
|
478
|
+
var t = W(Ae.current.type);
|
|
479
479
|
if (t)
|
|
480
480
|
return `
|
|
481
481
|
|
|
@@ -484,137 +484,152 @@ Check the render method of \`` + t + "`.";
|
|
|
484
484
|
return "";
|
|
485
485
|
}
|
|
486
486
|
}
|
|
487
|
-
function
|
|
487
|
+
function qr(t) {
|
|
488
488
|
return "";
|
|
489
489
|
}
|
|
490
|
-
var
|
|
491
|
-
function
|
|
490
|
+
var Qe = {};
|
|
491
|
+
function kr(t) {
|
|
492
492
|
{
|
|
493
|
-
var o =
|
|
493
|
+
var o = Xe();
|
|
494
494
|
if (!o) {
|
|
495
|
-
var
|
|
496
|
-
|
|
495
|
+
var v = typeof t == "string" ? t : t.displayName || t.name;
|
|
496
|
+
v && (o = `
|
|
497
497
|
|
|
498
|
-
Check the top-level render call using <` +
|
|
498
|
+
Check the top-level render call using <` + v + ">.");
|
|
499
499
|
}
|
|
500
500
|
return o;
|
|
501
501
|
}
|
|
502
502
|
}
|
|
503
|
-
function
|
|
503
|
+
function Ze(t, o) {
|
|
504
504
|
{
|
|
505
505
|
if (!t._store || t._store.validated || t.key != null)
|
|
506
506
|
return;
|
|
507
507
|
t._store.validated = !0;
|
|
508
|
-
var
|
|
509
|
-
if (
|
|
508
|
+
var v = kr(o);
|
|
509
|
+
if (Qe[v])
|
|
510
510
|
return;
|
|
511
|
-
|
|
511
|
+
Qe[v] = !0;
|
|
512
512
|
var S = "";
|
|
513
|
-
t && t._owner && t._owner !==
|
|
513
|
+
t && t._owner && t._owner !== Ae.current && (S = " It was passed a child from " + W(t._owner.type) + "."), te(t), T('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', v, S), te(null);
|
|
514
514
|
}
|
|
515
515
|
}
|
|
516
|
-
function
|
|
516
|
+
function er(t, o) {
|
|
517
517
|
{
|
|
518
518
|
if (typeof t != "object")
|
|
519
519
|
return;
|
|
520
|
-
if (
|
|
521
|
-
for (var
|
|
522
|
-
var S = t[
|
|
523
|
-
|
|
520
|
+
if ($e(t))
|
|
521
|
+
for (var v = 0; v < t.length; v++) {
|
|
522
|
+
var S = t[v];
|
|
523
|
+
Ne(S) && Ze(S, o);
|
|
524
524
|
}
|
|
525
|
-
else if (
|
|
525
|
+
else if (Ne(t))
|
|
526
526
|
t._store && (t._store.validated = !0);
|
|
527
527
|
else if (t) {
|
|
528
|
-
var O =
|
|
528
|
+
var O = d(t);
|
|
529
529
|
if (typeof O == "function" && O !== t.entries)
|
|
530
|
-
for (var P = O.call(t),
|
|
531
|
-
|
|
530
|
+
for (var P = O.call(t), w; !(w = P.next()).done; )
|
|
531
|
+
Ne(w.value) && Ze(w.value, o);
|
|
532
532
|
}
|
|
533
533
|
}
|
|
534
534
|
}
|
|
535
|
-
function
|
|
535
|
+
function Dr(t) {
|
|
536
536
|
{
|
|
537
537
|
var o = t.type;
|
|
538
538
|
if (o == null || typeof o == "string")
|
|
539
539
|
return;
|
|
540
|
-
var
|
|
540
|
+
var v;
|
|
541
541
|
if (typeof o == "function")
|
|
542
|
-
|
|
542
|
+
v = o.propTypes;
|
|
543
543
|
else if (typeof o == "object" && (o.$$typeof === s || // Note: Memo only checks outer props here.
|
|
544
544
|
// Inner props are checked in the reconciler.
|
|
545
|
-
o.$$typeof ===
|
|
546
|
-
|
|
545
|
+
o.$$typeof === h))
|
|
546
|
+
v = o.propTypes;
|
|
547
547
|
else
|
|
548
548
|
return;
|
|
549
|
-
if (
|
|
550
|
-
var S =
|
|
551
|
-
|
|
552
|
-
} else if (o.PropTypes !== void 0 && !
|
|
553
|
-
|
|
554
|
-
var O =
|
|
555
|
-
|
|
549
|
+
if (v) {
|
|
550
|
+
var S = W(o);
|
|
551
|
+
wr(v, t.props, "prop", S, t);
|
|
552
|
+
} else if (o.PropTypes !== void 0 && !Me) {
|
|
553
|
+
Me = !0;
|
|
554
|
+
var O = W(o);
|
|
555
|
+
T("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", O || "Unknown");
|
|
556
556
|
}
|
|
557
|
-
typeof o.getDefaultProps == "function" && !o.getDefaultProps.isReactClassApproved &&
|
|
557
|
+
typeof o.getDefaultProps == "function" && !o.getDefaultProps.isReactClassApproved && T("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
558
558
|
}
|
|
559
559
|
}
|
|
560
|
-
function
|
|
560
|
+
function Ir(t) {
|
|
561
561
|
{
|
|
562
|
-
for (var o = Object.keys(t.props),
|
|
563
|
-
var S = o[
|
|
562
|
+
for (var o = Object.keys(t.props), v = 0; v < o.length; v++) {
|
|
563
|
+
var S = o[v];
|
|
564
564
|
if (S !== "children" && S !== "key") {
|
|
565
|
-
|
|
565
|
+
te(t), T("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", S), te(null);
|
|
566
566
|
break;
|
|
567
567
|
}
|
|
568
568
|
}
|
|
569
|
-
t.ref !== null && (
|
|
569
|
+
t.ref !== null && (te(t), T("Invalid attribute `ref` supplied to `React.Fragment`."), te(null));
|
|
570
570
|
}
|
|
571
571
|
}
|
|
572
|
-
|
|
572
|
+
var rr = {};
|
|
573
|
+
function tr(t, o, v, S, O, P) {
|
|
573
574
|
{
|
|
574
|
-
var
|
|
575
|
-
if (!
|
|
575
|
+
var w = pe(t);
|
|
576
|
+
if (!w) {
|
|
576
577
|
var _ = "";
|
|
577
578
|
(t === void 0 || typeof t == "object" && t !== null && Object.keys(t).length === 0) && (_ += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
578
|
-
var k =
|
|
579
|
-
k ? _ += k : _ +=
|
|
579
|
+
var k = qr();
|
|
580
|
+
k ? _ += k : _ += Xe();
|
|
580
581
|
var $;
|
|
581
|
-
t === null ? $ = "null" :
|
|
582
|
+
t === null ? $ = "null" : $e(t) ? $ = "array" : t !== void 0 && t.$$typeof === r ? ($ = "<" + (W(t.type) || "Unknown") + " />", _ = " Did you accidentally export a JSX literal instead of a component?") : $ = typeof t, T("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", $, _);
|
|
582
583
|
}
|
|
583
|
-
var M =
|
|
584
|
+
var M = Nr(t, o, v, O, P);
|
|
584
585
|
if (M == null)
|
|
585
586
|
return M;
|
|
586
|
-
if (
|
|
587
|
-
var
|
|
588
|
-
if (
|
|
587
|
+
if (w) {
|
|
588
|
+
var V = o.children;
|
|
589
|
+
if (V !== void 0)
|
|
589
590
|
if (S)
|
|
590
|
-
if (
|
|
591
|
-
for (var
|
|
592
|
-
|
|
593
|
-
Object.freeze && Object.freeze(
|
|
591
|
+
if ($e(V)) {
|
|
592
|
+
for (var ne = 0; ne < V.length; ne++)
|
|
593
|
+
er(V[ne], t);
|
|
594
|
+
Object.freeze && Object.freeze(V);
|
|
594
595
|
} else
|
|
595
|
-
|
|
596
|
+
T("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
596
597
|
else
|
|
597
|
-
|
|
598
|
+
er(V, t);
|
|
599
|
+
}
|
|
600
|
+
if (fe.call(o, "key")) {
|
|
601
|
+
var Q = W(t), D = Object.keys(o).filter(function(Wr) {
|
|
602
|
+
return Wr !== "key";
|
|
603
|
+
}), qe = D.length > 0 ? "{key: someKey, " + D.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
604
|
+
if (!rr[Q + qe]) {
|
|
605
|
+
var Hr = D.length > 0 ? "{" + D.join(": ..., ") + ": ...}" : "{}";
|
|
606
|
+
T(`A props object containing a "key" prop is being spread into JSX:
|
|
607
|
+
let props = %s;
|
|
608
|
+
<%s {...props} />
|
|
609
|
+
React keys must be passed directly to JSX without using spread:
|
|
610
|
+
let props = %s;
|
|
611
|
+
<%s key={someKey} {...props} />`, qe, Q, Hr, Q), rr[Q + qe] = !0;
|
|
612
|
+
}
|
|
598
613
|
}
|
|
599
|
-
return t === a ?
|
|
614
|
+
return t === a ? Ir(M) : Dr(M), M;
|
|
600
615
|
}
|
|
601
616
|
}
|
|
602
|
-
function
|
|
603
|
-
return
|
|
617
|
+
function Vr(t, o, v) {
|
|
618
|
+
return tr(t, o, v, !0);
|
|
604
619
|
}
|
|
605
|
-
function
|
|
606
|
-
return
|
|
620
|
+
function Fr(t, o, v) {
|
|
621
|
+
return tr(t, o, v, !1);
|
|
607
622
|
}
|
|
608
|
-
var
|
|
609
|
-
|
|
610
|
-
}()),
|
|
623
|
+
var Br = Fr, zr = Vr;
|
|
624
|
+
ve.Fragment = a, ve.jsx = Br, ve.jsxs = zr;
|
|
625
|
+
}()), ve;
|
|
611
626
|
}
|
|
612
|
-
var
|
|
613
|
-
function
|
|
614
|
-
return
|
|
627
|
+
var ir;
|
|
628
|
+
function Gr() {
|
|
629
|
+
return ir || (ir = 1, process.env.NODE_ENV === "production" ? _e.exports = Ur() : _e.exports = Yr()), _e.exports;
|
|
615
630
|
}
|
|
616
|
-
var
|
|
617
|
-
function
|
|
631
|
+
var f = Gr(), we = (e) => `--${e}`, or = (e) => `var(--${e})`, ur = (e, r) => `--${e}: ${r};`;
|
|
632
|
+
function Kr(e, r) {
|
|
618
633
|
const n = (a) => r;
|
|
619
634
|
return {
|
|
620
635
|
b: () => `${n()}-${e}`,
|
|
@@ -629,128 +644,128 @@ function Wr(e, r) {
|
|
|
629
644
|
cbem: (a, i) => `.${n()}-${e}__${a}--${i}`,
|
|
630
645
|
cbs: (a) => `.${n()}-${e}-${a}`,
|
|
631
646
|
cns: (a) => `.${n()}-${a}`,
|
|
632
|
-
cv: (a) =>
|
|
647
|
+
cv: (a) => we(`${n()}-${e}-${a}`),
|
|
633
648
|
cvm: (a, i = {}) => {
|
|
634
|
-
const
|
|
635
|
-
for (const
|
|
636
|
-
i[
|
|
649
|
+
const m = n();
|
|
650
|
+
for (const c of Object.keys(a))
|
|
651
|
+
i[we(`${m}-${e}-${c}`)] = a[c];
|
|
637
652
|
return i;
|
|
638
653
|
},
|
|
639
|
-
gcv: (a) =>
|
|
640
|
-
scv: (a, i) =>
|
|
641
|
-
nv: (a) =>
|
|
654
|
+
gcv: (a) => or(`${n()}-${e}-${a}`),
|
|
655
|
+
scv: (a, i) => ur(`${n()}-${e}-${a}`, i),
|
|
656
|
+
nv: (a) => we(`${n()}-${a}`),
|
|
642
657
|
nvm: (a, i = {}) => {
|
|
643
|
-
const
|
|
644
|
-
for (const
|
|
645
|
-
i[
|
|
658
|
+
const m = n();
|
|
659
|
+
for (const c of Object.keys(a))
|
|
660
|
+
i[we(`${m}-${c}`)] = a[c];
|
|
646
661
|
return i;
|
|
647
662
|
},
|
|
648
|
-
gnv: (a) =>
|
|
649
|
-
snv: (a, i) =>
|
|
663
|
+
gnv: (a) => or(`${n()}-${a}`),
|
|
664
|
+
snv: (a, i) => ur(`${n()}-${a}`, i)
|
|
650
665
|
};
|
|
651
666
|
}
|
|
652
667
|
function G(e) {
|
|
653
|
-
return K(() =>
|
|
668
|
+
return K(() => Kr(e, "twist"), [e]);
|
|
654
669
|
}
|
|
655
|
-
var
|
|
670
|
+
var hr = {
|
|
656
671
|
color: void 0,
|
|
657
672
|
size: void 0,
|
|
658
673
|
className: void 0,
|
|
659
674
|
style: void 0,
|
|
660
675
|
attrs: void 0
|
|
661
|
-
},
|
|
662
|
-
|
|
663
|
-
function
|
|
676
|
+
}, Fe = /* @__PURE__ */ ie.createContext(hr);
|
|
677
|
+
Fe.Provider;
|
|
678
|
+
function me(e) {
|
|
664
679
|
"@babel/helpers - typeof";
|
|
665
|
-
return
|
|
680
|
+
return me = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(r) {
|
|
666
681
|
return typeof r;
|
|
667
682
|
} : function(r) {
|
|
668
683
|
return r && typeof Symbol == "function" && r.constructor === Symbol && r !== Symbol.prototype ? "symbol" : typeof r;
|
|
669
|
-
},
|
|
684
|
+
}, me(e);
|
|
670
685
|
}
|
|
671
|
-
var
|
|
672
|
-
function
|
|
673
|
-
return
|
|
686
|
+
var Jr = ["attrs", "size", "title", "spin", "rotate", "color"];
|
|
687
|
+
function Xr(e, r) {
|
|
688
|
+
return et(e) || Zr(e, r) || pr(e, r) || Qr();
|
|
674
689
|
}
|
|
675
|
-
function
|
|
690
|
+
function Qr() {
|
|
676
691
|
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
677
692
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
678
693
|
}
|
|
679
|
-
function
|
|
694
|
+
function Zr(e, r) {
|
|
680
695
|
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
|
|
681
696
|
if (n != null) {
|
|
682
|
-
var a, i,
|
|
697
|
+
var a, i, m, c, g = [], s = !0, y = !1;
|
|
683
698
|
try {
|
|
684
|
-
if (
|
|
685
|
-
} catch (
|
|
686
|
-
|
|
699
|
+
if (m = (n = n.call(e)).next, r !== 0) for (; !(s = (a = m.call(n)).done) && (g.push(a.value), g.length !== r); s = !0) ;
|
|
700
|
+
} catch (l) {
|
|
701
|
+
y = !0, i = l;
|
|
687
702
|
} finally {
|
|
688
703
|
try {
|
|
689
|
-
if (!s && n.return != null && (
|
|
704
|
+
if (!s && n.return != null && (c = n.return(), Object(c) !== c)) return;
|
|
690
705
|
} finally {
|
|
691
|
-
if (
|
|
706
|
+
if (y) throw i;
|
|
692
707
|
}
|
|
693
708
|
}
|
|
694
709
|
return g;
|
|
695
710
|
}
|
|
696
711
|
}
|
|
697
|
-
function
|
|
712
|
+
function et(e) {
|
|
698
713
|
if (Array.isArray(e)) return e;
|
|
699
714
|
}
|
|
700
|
-
function
|
|
715
|
+
function rt(e, r) {
|
|
701
716
|
var n = typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
|
|
702
717
|
if (!n) {
|
|
703
|
-
if (Array.isArray(e) || (n =
|
|
718
|
+
if (Array.isArray(e) || (n = pr(e)) || r) {
|
|
704
719
|
n && (e = n);
|
|
705
720
|
var a = 0, i = function() {
|
|
706
721
|
};
|
|
707
722
|
return { s: i, n: function() {
|
|
708
723
|
return a >= e.length ? { done: !0 } : { done: !1, value: e[a++] };
|
|
709
|
-
}, e: function(
|
|
710
|
-
throw
|
|
724
|
+
}, e: function(y) {
|
|
725
|
+
throw y;
|
|
711
726
|
}, f: i };
|
|
712
727
|
}
|
|
713
728
|
throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
714
729
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
715
730
|
}
|
|
716
|
-
var
|
|
731
|
+
var m, c = !0, g = !1;
|
|
717
732
|
return { s: function() {
|
|
718
733
|
n = n.call(e);
|
|
719
734
|
}, n: function() {
|
|
720
|
-
var
|
|
721
|
-
return
|
|
722
|
-
}, e: function(
|
|
723
|
-
g = !0,
|
|
735
|
+
var y = n.next();
|
|
736
|
+
return c = y.done, y;
|
|
737
|
+
}, e: function(y) {
|
|
738
|
+
g = !0, m = y;
|
|
724
739
|
}, f: function() {
|
|
725
740
|
try {
|
|
726
|
-
|
|
741
|
+
c || n.return == null || n.return();
|
|
727
742
|
} finally {
|
|
728
|
-
if (g) throw
|
|
743
|
+
if (g) throw m;
|
|
729
744
|
}
|
|
730
745
|
} };
|
|
731
746
|
}
|
|
732
|
-
function
|
|
747
|
+
function pr(e, r) {
|
|
733
748
|
if (e) {
|
|
734
|
-
if (typeof e == "string") return
|
|
749
|
+
if (typeof e == "string") return sr(e, r);
|
|
735
750
|
var n = {}.toString.call(e).slice(8, -1);
|
|
736
|
-
return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ?
|
|
751
|
+
return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? sr(e, r) : void 0;
|
|
737
752
|
}
|
|
738
753
|
}
|
|
739
|
-
function
|
|
754
|
+
function sr(e, r) {
|
|
740
755
|
(r == null || r > e.length) && (r = e.length);
|
|
741
756
|
for (var n = 0, a = Array(r); n < r; n++) a[n] = e[n];
|
|
742
757
|
return a;
|
|
743
758
|
}
|
|
744
|
-
function
|
|
745
|
-
return
|
|
759
|
+
function je() {
|
|
760
|
+
return je = Object.assign ? Object.assign.bind() : function(e) {
|
|
746
761
|
for (var r = 1; r < arguments.length; r++) {
|
|
747
762
|
var n = arguments[r];
|
|
748
763
|
for (var a in n) ({}).hasOwnProperty.call(n, a) && (e[a] = n[a]);
|
|
749
764
|
}
|
|
750
765
|
return e;
|
|
751
|
-
},
|
|
766
|
+
}, je.apply(null, arguments);
|
|
752
767
|
}
|
|
753
|
-
function
|
|
768
|
+
function lr(e, r) {
|
|
754
769
|
var n = Object.keys(e);
|
|
755
770
|
if (Object.getOwnPropertySymbols) {
|
|
756
771
|
var a = Object.getOwnPropertySymbols(e);
|
|
@@ -760,44 +775,44 @@ function ur(e, r) {
|
|
|
760
775
|
}
|
|
761
776
|
return n;
|
|
762
777
|
}
|
|
763
|
-
function
|
|
778
|
+
function he(e) {
|
|
764
779
|
for (var r = 1; r < arguments.length; r++) {
|
|
765
780
|
var n = arguments[r] != null ? arguments[r] : {};
|
|
766
|
-
r % 2 ?
|
|
767
|
-
|
|
768
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) :
|
|
781
|
+
r % 2 ? lr(Object(n), !0).forEach(function(a) {
|
|
782
|
+
tt(e, a, n[a]);
|
|
783
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : lr(Object(n)).forEach(function(a) {
|
|
769
784
|
Object.defineProperty(e, a, Object.getOwnPropertyDescriptor(n, a));
|
|
770
785
|
});
|
|
771
786
|
}
|
|
772
787
|
return e;
|
|
773
788
|
}
|
|
774
|
-
function
|
|
775
|
-
return (r =
|
|
789
|
+
function tt(e, r, n) {
|
|
790
|
+
return (r = nt(r)) in e ? Object.defineProperty(e, r, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = n, e;
|
|
776
791
|
}
|
|
777
|
-
function
|
|
778
|
-
var r =
|
|
779
|
-
return
|
|
792
|
+
function nt(e) {
|
|
793
|
+
var r = at(e, "string");
|
|
794
|
+
return me(r) == "symbol" ? r : r + "";
|
|
780
795
|
}
|
|
781
|
-
function
|
|
782
|
-
if (
|
|
796
|
+
function at(e, r) {
|
|
797
|
+
if (me(e) != "object" || !e) return e;
|
|
783
798
|
var n = e[Symbol.toPrimitive];
|
|
784
799
|
if (n !== void 0) {
|
|
785
800
|
var a = n.call(e, r);
|
|
786
|
-
if (
|
|
801
|
+
if (me(a) != "object") return a;
|
|
787
802
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
788
803
|
}
|
|
789
804
|
return (r === "string" ? String : Number)(e);
|
|
790
805
|
}
|
|
791
|
-
function
|
|
806
|
+
function it(e, r) {
|
|
792
807
|
if (e == null) return {};
|
|
793
|
-
var n, a, i =
|
|
808
|
+
var n, a, i = ot(e, r);
|
|
794
809
|
if (Object.getOwnPropertySymbols) {
|
|
795
|
-
var
|
|
796
|
-
for (a = 0; a <
|
|
810
|
+
var m = Object.getOwnPropertySymbols(e);
|
|
811
|
+
for (a = 0; a < m.length; a++) n = m[a], r.includes(n) || {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
|
|
797
812
|
}
|
|
798
813
|
return i;
|
|
799
814
|
}
|
|
800
|
-
function
|
|
815
|
+
function ot(e, r) {
|
|
801
816
|
if (e == null) return {};
|
|
802
817
|
var n = {};
|
|
803
818
|
for (var a in e) if ({}.hasOwnProperty.call(e, a)) {
|
|
@@ -806,195 +821,195 @@ function tt(e, r) {
|
|
|
806
821
|
}
|
|
807
822
|
return n;
|
|
808
823
|
}
|
|
809
|
-
function
|
|
810
|
-
var r = e.attrs, n = e.size, a = e.title, i = e.spin,
|
|
811
|
-
var
|
|
812
|
-
return
|
|
824
|
+
function ut(e) {
|
|
825
|
+
var r = e.attrs, n = e.size, a = e.title, i = e.spin, m = e.rotate, c = e.color, g = it(e, Jr), s = function(l) {
|
|
826
|
+
var h = n || l.size || "1em", x, E = "", b = "";
|
|
827
|
+
return l.className && (x = l.className), e.className && (x = x ? "".concat(x, " ").concat(e.className) : e.className), i && (x ? x += " twist-icon-loading" : x = "twist-icon-loading"), m && (E = "rotate(".concat(m, "deg)"), b = "rotate(".concat(m, "deg)")), /* @__PURE__ */ ie.createElement("svg", je({
|
|
813
828
|
xmlns: "http://www.w3.org/2000/svg"
|
|
814
|
-
},
|
|
829
|
+
}, l.attrs, r, g, {
|
|
815
830
|
className: x,
|
|
816
|
-
style:
|
|
817
|
-
color:
|
|
831
|
+
style: he(he({
|
|
832
|
+
color: c || l.color,
|
|
818
833
|
msTransform: E,
|
|
819
834
|
transform: b
|
|
820
|
-
},
|
|
821
|
-
width:
|
|
822
|
-
height:
|
|
823
|
-
}), a && /* @__PURE__ */
|
|
835
|
+
}, l.style), e.style),
|
|
836
|
+
width: h,
|
|
837
|
+
height: h
|
|
838
|
+
}), a && /* @__PURE__ */ ie.createElement("title", null, a), e.children);
|
|
824
839
|
};
|
|
825
|
-
return
|
|
826
|
-
return s(
|
|
827
|
-
}) : s(
|
|
840
|
+
return Fe !== void 0 ? /* @__PURE__ */ ie.createElement(Fe.Consumer, null, function(y) {
|
|
841
|
+
return s(y);
|
|
842
|
+
}) : s(hr);
|
|
828
843
|
}
|
|
829
|
-
function
|
|
830
|
-
var r = {}, n = e.split(";"), a =
|
|
844
|
+
function st(e) {
|
|
845
|
+
var r = {}, n = e.split(";"), a = rt(n), i;
|
|
831
846
|
try {
|
|
832
847
|
for (a.s(); !(i = a.n()).done; ) {
|
|
833
|
-
var
|
|
834
|
-
if (s &&
|
|
835
|
-
var
|
|
836
|
-
return
|
|
848
|
+
var m = i.value, c = m.split(":"), g = Xr(c, 2), s = g[0], y = g[1];
|
|
849
|
+
if (s && y) {
|
|
850
|
+
var l = s.trim().replace(/-./g, function(h) {
|
|
851
|
+
return h.charAt(1).toUpperCase();
|
|
837
852
|
});
|
|
838
|
-
r[
|
|
853
|
+
r[l] = y.trim();
|
|
839
854
|
}
|
|
840
855
|
}
|
|
841
|
-
} catch (
|
|
842
|
-
a.e(
|
|
856
|
+
} catch (h) {
|
|
857
|
+
a.e(h);
|
|
843
858
|
} finally {
|
|
844
859
|
a.f();
|
|
845
860
|
}
|
|
846
861
|
return r;
|
|
847
862
|
}
|
|
848
|
-
function
|
|
863
|
+
function yr(e) {
|
|
849
864
|
return e && e.map(function(r, n) {
|
|
850
|
-
return /* @__PURE__ */
|
|
865
|
+
return /* @__PURE__ */ ie.createElement(r.tag, he(he({}, r.attrs), {}, {
|
|
851
866
|
key: n,
|
|
852
|
-
style: r.attrs.style ?
|
|
853
|
-
}),
|
|
867
|
+
style: r.attrs.style ? st(r.attrs.style) : null
|
|
868
|
+
}), yr(r.children));
|
|
854
869
|
});
|
|
855
870
|
}
|
|
856
871
|
function N(e) {
|
|
857
872
|
return function(r) {
|
|
858
|
-
return /* @__PURE__ */
|
|
859
|
-
attrs:
|
|
860
|
-
}, r),
|
|
873
|
+
return /* @__PURE__ */ ie.createElement(ut, je({
|
|
874
|
+
attrs: he({}, e.attrs)
|
|
875
|
+
}, r), yr(e.children));
|
|
861
876
|
};
|
|
862
877
|
}
|
|
863
|
-
function
|
|
878
|
+
function lt(e) {
|
|
864
879
|
return N({ attrs: { viewBox: "0 0 1024 1024" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M485.6 249.9L198.2 498c-8.3 7.1-8.3 20.8 0 27.9l287.4 248.2c10.7 9.2 26.4.9 26.4-14V263.8c0-14.8-15.7-23.2-26.4-13.9m320 0L518.2 498a18.6 18.6 0 0 0-6.2 14c0 5.2 2.1 10.4 6.2 14l287.4 248.2c10.7 9.2 26.4.9 26.4-14V263.8c0-14.8-15.7-23.2-26.4-13.9" } }] })(e);
|
|
865
880
|
}
|
|
866
|
-
function
|
|
881
|
+
function ct(e) {
|
|
867
882
|
return N({ attrs: { viewBox: "0 0 1024 1024" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M825.8 498L538.4 249.9c-10.7-9.2-26.4-.9-26.4 14v496.3c0 14.9 15.7 23.2 26.4 14L825.8 526c8.3-7.2 8.3-20.8 0-28m-320 0L218.4 249.9c-10.7-9.2-26.4-.9-26.4 14v496.3c0 14.9 15.7 23.2 26.4 14L505.8 526c4.1-3.6 6.2-8.8 6.2-14s-2.1-10.4-6.2-14" } }] })(e);
|
|
868
883
|
}
|
|
869
|
-
function
|
|
884
|
+
function ft(e) {
|
|
870
885
|
return N({ attrs: { viewBox: "0 0 1024 1024" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M512 1024c-69.1 0-136.2-13.5-199.3-40.2C251.7 958 197 921 150 874S66 772.3 40.2 711.3C13.5 648.2 0 581.1 0 512c0-19.9 16.1-36 36-36s36 16.1 36 36c0 59.4 11.6 117 34.6 171.3c22.2 52.4 53.9 99.5 94.3 139.9s87.5 72.2 139.9 94.3C395 940.4 452.6 952 512 952s117-11.6 171.3-34.6c52.4-22.2 99.5-53.9 139.9-94.3s72.2-87.5 94.3-139.9C940.4 629 952 571.4 952 512s-11.6-117-34.6-171.3a440.5 440.5 0 0 0-94.3-139.9a437.7 437.7 0 0 0-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.2C772.3 66 827 103 874 150s83.9 101.8 109.7 162.7c26.7 63.1 40.2 130.2 40.2 199.3s-13.5 136.2-40.2 199.3C958 772.3 921 827 874 874s-101.8 83.9-162.7 109.7c-63.1 26.8-130.2 40.3-199.3 40.3" } }] })(e);
|
|
871
886
|
}
|
|
872
|
-
function
|
|
887
|
+
function dt(e) {
|
|
873
888
|
return N({ attrs: { viewBox: "0 0 512 512" }, children: [{ tag: "path", attrs: { d: "M294.1 256L167 129c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.3 34 0L345 239c9.1 9.1 9.3 23.7.7 33.1L201.1 417c-4.7 4.7-10.9 7-17 7s-12.3-2.3-17-7c-9.4-9.4-9.4-24.6 0-33.9l127-127.1z", fill: "currentColor" } }] })(e);
|
|
874
889
|
}
|
|
875
|
-
function
|
|
890
|
+
function vt(e) {
|
|
876
891
|
return N({ attrs: { viewBox: "0 0 512 512" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M208 432h-48a16 16 0 0 1-16-16V96a16 16 0 0 1 16-16h48a16 16 0 0 1 16 16v320a16 16 0 0 1-16 16m144 0h-48a16 16 0 0 1-16-16V96a16 16 0 0 1 16-16h48a16 16 0 0 1 16 16v320a16 16 0 0 1-16 16" } }] })(e);
|
|
877
892
|
}
|
|
878
|
-
function
|
|
893
|
+
function mt(e) {
|
|
879
894
|
return N({ attrs: { viewBox: "0 0 24 24" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M3 6h18v2H3zm0 5h18v2H3zm0 5h18v2H3z" } }] })(e);
|
|
880
895
|
}
|
|
881
|
-
function
|
|
896
|
+
function ht(e) {
|
|
882
897
|
return N({ attrs: { viewBox: "0 0 24 24" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M2 5.27L3.28 4L20 20.72L18.73 22l-3-3H7v3l-4-4l4-4v3h6.73L7 10.27V11H5V8.27zM17 13h2v4.18l-2-2zm0-8V2l4 4l-4 4V7H8.82l-2-2z" } }] })(e);
|
|
883
898
|
}
|
|
884
|
-
function
|
|
899
|
+
function pt(e) {
|
|
885
900
|
return N({ attrs: { viewBox: "0 0 24 24" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "m17 3l5.25 4.5L17 12l5.25 4.5L17 21v-3h-2.74l-2.82-2.82l2.12-2.12L15.5 15H17V9h-1.5l-9 9H2v-3h3.26l9-9H17zM2 6h4.5l2.82 2.82l-2.12 2.12L5.26 9H2z" } }] })(e);
|
|
886
901
|
}
|
|
887
|
-
function
|
|
902
|
+
function yt(e) {
|
|
888
903
|
return N({ attrs: { viewBox: "0 0 24 24" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M16.15 13H5q-.425 0-.712-.288T4 12t.288-.712T5 11h11.15L13.3 8.15q-.3-.3-.288-.7t.288-.7q.3-.3.713-.312t.712.287L19.3 11.3q.15.15.213.325t.062.375t-.062.375t-.213.325l-4.575 4.575q-.3.3-.712.288t-.713-.313q-.275-.3-.288-.7t.288-.7z" } }] })(e);
|
|
889
904
|
}
|
|
890
|
-
function
|
|
905
|
+
function bt(e) {
|
|
891
906
|
return N({ attrs: { viewBox: "0 0 24 24" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M10.5 17q1.05 0 1.775-.725T13 14.5V9h3V7h-4v5.5q-.325-.225-.7-.363T10.5 12q-1.05 0-1.775.725T8 14.5t.725 1.775T10.5 17M4 20q-.825 0-1.412-.587T2 18V6q0-.825.588-1.412T4 4h16q.825 0 1.413.588T22 6v12q0 .825-.587 1.413T20 20z" } }] })(e);
|
|
892
907
|
}
|
|
893
|
-
function
|
|
908
|
+
function gt(e) {
|
|
894
909
|
return N({ attrs: { viewBox: "0 0 24 24" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M14 19V5h4v14zm-8 0V5h4v14z" } }] })(e);
|
|
895
910
|
}
|
|
896
|
-
function
|
|
911
|
+
function Et(e) {
|
|
897
912
|
return N({ attrs: { viewBox: "0 0 24 24" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M8 17.175V6.825q0-.425.3-.713t.7-.287q.125 0 .263.037t.262.113l8.15 5.175q.225.15.338.375t.112.475t-.112.475t-.338.375l-8.15 5.175q-.125.075-.262.113T9 18.175q-.4 0-.7-.288t-.3-.712" } }] })(e);
|
|
898
913
|
}
|
|
899
|
-
function
|
|
914
|
+
function xt(e) {
|
|
900
915
|
return N({ attrs: { viewBox: "0 0 24 24" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M11.5 10.5h-.75q-.325 0-.537-.213T10 9.75t.213-.537T10.75 9H12q.425 0 .713.288T13 10v4.25q0 .325-.213.538T12.25 15t-.537-.213t-.213-.537zM6.85 19l.85.85q.3.3.288.7t-.288.7q-.3.3-.712.313t-.713-.288L3.7 18.7q-.15-.15-.213-.325T3.426 18t.063-.375t.212-.325l2.575-2.575q.3-.3.713-.287t.712.312q.275.3.288.7t-.288.7l-.85.85H17v-3q0-.425.288-.712T18 13t.713.288T19 14v3q0 .825-.587 1.413T17 19zm10.3-12H7v3q0 .425-.288.713T6 11t-.712-.288T5 10V7q0-.825.588-1.412T7 5h10.15l-.85-.85q-.3-.3-.288-.7t.288-.7q.3-.3.712-.312t.713.287L20.3 5.3q.15.15.213.325t.062.375t-.062.375t-.213.325l-2.575 2.575q-.3.3-.712.288T16.3 9.25q-.275-.3-.288-.7t.288-.7z" } }] })(e);
|
|
901
916
|
}
|
|
902
|
-
function
|
|
917
|
+
function St(e) {
|
|
903
918
|
return N({ attrs: { viewBox: "0 0 24 24" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "m6.85 19l.85.85q.3.3.288.7t-.288.7q-.3.3-.712.313t-.713-.288L3.7 18.7q-.15-.15-.213-.325T3.426 18t.063-.375t.212-.325l2.575-2.575q.3-.3.713-.287t.712.312q.275.3.288.7t-.288.7l-.85.85H17v-3q0-.425.288-.712T18 13t.713.288T19 14v3q0 .825-.587 1.413T17 19zm10.3-12H7v3q0 .425-.288.713T6 11t-.712-.288T5 10V7q0-.825.588-1.412T7 5h10.15l-.85-.85q-.3-.3-.288-.7t.288-.7q.3-.3.712-.312t.713.287L20.3 5.3q.15.15.213.325t.062.375t-.062.375t-.213.325l-2.575 2.575q-.3.3-.712.288T16.3 9.25q-.275-.3-.288-.7t.288-.7z" } }] })(e);
|
|
904
919
|
}
|
|
905
|
-
function
|
|
920
|
+
function _t(e) {
|
|
906
921
|
return N({ attrs: { viewBox: "0 0 24 24" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M9 15H6q-.425 0-.712-.288T5 14v-4q0-.425.288-.712T6 9h3l3.3-3.3q.475-.475 1.088-.213t.612.938v11.15q0 .675-.612.938T12.3 18.3zm9.5-3q0 1.05-.475 1.988t-1.25 1.537q-.25.15-.512.013T16 15.1V8.85q0-.3.263-.437t.512.012q.775.625 1.25 1.575t.475 2" } }] })(e);
|
|
907
922
|
}
|
|
908
|
-
function
|
|
923
|
+
function wt(e) {
|
|
909
924
|
return N({ attrs: { viewBox: "0 0 24 24" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M7 15V9h4l5-5v16l-5-5z" } }] })(e);
|
|
910
925
|
}
|
|
911
|
-
function
|
|
926
|
+
function Tt(e) {
|
|
912
927
|
return N({ attrs: { viewBox: "0 0 24 24" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M19 11.975q0-2.075-1.1-3.787t-2.95-2.563q-.375-.175-.55-.537t-.05-.738q.15-.4.538-.575t.787 0Q18.1 4.85 19.55 7.063T21 11.974t-1.45 4.913t-3.875 3.287q-.4.175-.788 0t-.537-.575q-.125-.375.05-.737t.55-.538q1.85-.85 2.95-2.562t1.1-3.788M7 15H4q-.425 0-.712-.288T3 14v-4q0-.425.288-.712T4 9h3l3.3-3.3q.475-.475 1.088-.213t.612.938v11.15q0 .675-.612.938T10.3 18.3zm9.5-3q0 1.05-.475 1.988t-1.25 1.537q-.25.15-.513.013T14 15.1V8.85q0-.3.263-.437t.512.012q.775.625 1.25 1.575t.475 2" } }] })(e);
|
|
913
928
|
}
|
|
914
|
-
function
|
|
929
|
+
function jt(e) {
|
|
915
930
|
return N({ attrs: { viewBox: "0 0 24 24" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M18.25 12L8.5 17.629V6.37z" } }] })(e);
|
|
916
931
|
}
|
|
917
|
-
function
|
|
932
|
+
function ke(e, r) {
|
|
918
933
|
if (!r.current) return 0;
|
|
919
934
|
let n = (e.clientX - r.current.getBoundingClientRect().left) / r.current.clientWidth;
|
|
920
935
|
return n = Math.max(n, 0), n = Math.min(n, 1), n = Math.floor(n * 100) / 100, n;
|
|
921
936
|
}
|
|
922
|
-
function
|
|
937
|
+
function De(e, r) {
|
|
923
938
|
if (!r.current) return 0;
|
|
924
939
|
let n = 1 - (e.clientY - r.current.getBoundingClientRect().top) / r.current.clientHeight;
|
|
925
940
|
return n = Math.max(n, 0), n = Math.min(n, 1), n = Math.floor(n * 100) / 100, n;
|
|
926
941
|
}
|
|
927
|
-
function
|
|
942
|
+
function br(e) {
|
|
928
943
|
var r, n, a = "";
|
|
929
944
|
if (typeof e == "string" || typeof e == "number") a += e;
|
|
930
945
|
else if (typeof e == "object") if (Array.isArray(e)) {
|
|
931
946
|
var i = e.length;
|
|
932
|
-
for (r = 0; r < i; r++) e[r] && (n =
|
|
947
|
+
for (r = 0; r < i; r++) e[r] && (n = br(e[r])) && (a && (a += " "), a += n);
|
|
933
948
|
} else for (n in e) e[n] && (a && (a += " "), a += n);
|
|
934
949
|
return a;
|
|
935
950
|
}
|
|
936
951
|
function C() {
|
|
937
|
-
for (var e, r, n = 0, a = "", i = arguments.length; n < i; n++) (e = arguments[n]) && (r =
|
|
952
|
+
for (var e, r, n = 0, a = "", i = arguments.length; n < i; n++) (e = arguments[n]) && (r = br(e)) && (a && (a += " "), a += r);
|
|
938
953
|
return a;
|
|
939
954
|
}
|
|
940
|
-
function
|
|
955
|
+
function Ot({
|
|
941
956
|
bufferedPercentage: e,
|
|
942
957
|
playedPercentage: r,
|
|
943
958
|
onSeek: n
|
|
944
959
|
}) {
|
|
945
|
-
const a = G("aplayer-bar"), i = G("aplayer-icon"),
|
|
946
|
-
|
|
960
|
+
const a = G("aplayer-bar"), i = G("aplayer-icon"), m = F(null), [c, g] = Y(r), s = F(!1);
|
|
961
|
+
B(() => {
|
|
947
962
|
s.current || g(r);
|
|
948
963
|
}, [r]);
|
|
949
|
-
const
|
|
950
|
-
(
|
|
964
|
+
const y = R(
|
|
965
|
+
(l) => {
|
|
951
966
|
s.current = !0;
|
|
952
|
-
const
|
|
953
|
-
g(
|
|
967
|
+
const h = ke(l, m);
|
|
968
|
+
g(h);
|
|
954
969
|
const x = (b) => {
|
|
955
|
-
const u =
|
|
970
|
+
const u = ke(b, m);
|
|
956
971
|
g(u);
|
|
957
972
|
}, E = (b) => {
|
|
958
973
|
document.removeEventListener("mousemove", x), document.removeEventListener("mouseup", E);
|
|
959
|
-
const u =
|
|
974
|
+
const u = ke(b, m);
|
|
960
975
|
g(u), n == null || n(u), s.current = !1;
|
|
961
976
|
};
|
|
962
977
|
document.addEventListener("mousemove", x), document.addEventListener("mouseup", E);
|
|
963
978
|
},
|
|
964
979
|
[n]
|
|
965
980
|
);
|
|
966
|
-
return /* @__PURE__ */
|
|
981
|
+
return /* @__PURE__ */ f.jsx(
|
|
967
982
|
"div",
|
|
968
983
|
{
|
|
969
|
-
ref:
|
|
984
|
+
ref: m,
|
|
970
985
|
className: C(a.b(), a.bs("vars")),
|
|
971
|
-
onMouseDown:
|
|
986
|
+
onMouseDown: y,
|
|
972
987
|
role: "slider",
|
|
973
988
|
"aria-label": "Audio progress",
|
|
974
|
-
"aria-valuenow":
|
|
989
|
+
"aria-valuenow": c ? c * 100 : 0,
|
|
975
990
|
"aria-valuemin": 0,
|
|
976
991
|
"aria-valuemax": 100,
|
|
977
992
|
"aria-live": "polite",
|
|
978
|
-
children: /* @__PURE__ */
|
|
979
|
-
typeof e < "u" ? /* @__PURE__ */
|
|
993
|
+
children: /* @__PURE__ */ f.jsxs("div", { className: a.be("inner"), children: [
|
|
994
|
+
typeof e < "u" ? /* @__PURE__ */ f.jsx(
|
|
980
995
|
"div",
|
|
981
996
|
{
|
|
982
997
|
className: a.be("loaded"),
|
|
983
998
|
style: { width: `${e * 100}%` }
|
|
984
999
|
}
|
|
985
1000
|
) : null,
|
|
986
|
-
typeof
|
|
1001
|
+
typeof c < "u" ? /* @__PURE__ */ f.jsx(
|
|
987
1002
|
"div",
|
|
988
1003
|
{
|
|
989
1004
|
className: a.be("played"),
|
|
990
1005
|
style: {
|
|
991
|
-
width: `${
|
|
1006
|
+
width: `${c * 100}%`
|
|
992
1007
|
},
|
|
993
|
-
children: /* @__PURE__ */
|
|
1008
|
+
children: /* @__PURE__ */ f.jsx(
|
|
994
1009
|
"span",
|
|
995
1010
|
{
|
|
996
1011
|
className: a.be("thumb"),
|
|
997
|
-
children: /* @__PURE__ */
|
|
1012
|
+
children: /* @__PURE__ */ f.jsx("span", { className: C(i.bs("loading")), children: /* @__PURE__ */ f.jsx(ft, {}) })
|
|
998
1013
|
}
|
|
999
1014
|
)
|
|
1000
1015
|
}
|
|
@@ -1003,44 +1018,44 @@ function _t({
|
|
|
1003
1018
|
}
|
|
1004
1019
|
);
|
|
1005
1020
|
}
|
|
1006
|
-
function
|
|
1021
|
+
function Rt({
|
|
1007
1022
|
volume: e,
|
|
1008
1023
|
muted: r,
|
|
1009
1024
|
onToggleMuted: n,
|
|
1010
1025
|
onChangeVolume: a
|
|
1011
1026
|
}) {
|
|
1012
|
-
const i = G("aplayer-volumn"),
|
|
1013
|
-
(
|
|
1014
|
-
a(
|
|
1015
|
-
const
|
|
1016
|
-
a(
|
|
1027
|
+
const i = G("aplayer-volumn"), m = G("aplayer-icon"), c = F(null), [g, s] = Y(!1), y = R(
|
|
1028
|
+
(l) => {
|
|
1029
|
+
a(De(l, c)), s(!0);
|
|
1030
|
+
const h = (E) => {
|
|
1031
|
+
a(De(E, c));
|
|
1017
1032
|
}, x = (E) => {
|
|
1018
|
-
document.removeEventListener("mouseup", x), document.removeEventListener("mousemove",
|
|
1033
|
+
document.removeEventListener("mouseup", x), document.removeEventListener("mousemove", h), s(!1), a(De(E, c));
|
|
1019
1034
|
};
|
|
1020
|
-
document.addEventListener("mousemove",
|
|
1035
|
+
document.addEventListener("mousemove", h), document.addEventListener("mouseup", x);
|
|
1021
1036
|
},
|
|
1022
1037
|
[a]
|
|
1023
1038
|
);
|
|
1024
|
-
return /* @__PURE__ */
|
|
1025
|
-
/* @__PURE__ */
|
|
1039
|
+
return /* @__PURE__ */ f.jsxs("div", { className: C(i.b(), i.bs("vars")), children: [
|
|
1040
|
+
/* @__PURE__ */ f.jsx(
|
|
1026
1041
|
"button",
|
|
1027
1042
|
{
|
|
1028
1043
|
type: "button",
|
|
1029
|
-
className: C(
|
|
1044
|
+
className: C(m.b(), m.bs("volume-down")),
|
|
1030
1045
|
onClick: () => n(),
|
|
1031
1046
|
"aria-label": r || !e ? "Muted" : "unMuted",
|
|
1032
|
-
children: r || !e ? /* @__PURE__ */
|
|
1047
|
+
children: r || !e ? /* @__PURE__ */ f.jsx(wt, {}) : e >= 1 ? /* @__PURE__ */ f.jsx(Tt, {}) : /* @__PURE__ */ f.jsx(_t, {})
|
|
1033
1048
|
}
|
|
1034
1049
|
),
|
|
1035
|
-
/* @__PURE__ */
|
|
1050
|
+
/* @__PURE__ */ f.jsx(
|
|
1036
1051
|
"div",
|
|
1037
1052
|
{
|
|
1038
1053
|
className: C(i.be("bar-wrap"), {
|
|
1039
1054
|
[i.bem("bar-wrap", "active")]: g
|
|
1040
1055
|
}),
|
|
1041
|
-
ref:
|
|
1042
|
-
onMouseDown:
|
|
1043
|
-
children: /* @__PURE__ */
|
|
1056
|
+
ref: c,
|
|
1057
|
+
onMouseDown: y,
|
|
1058
|
+
children: /* @__PURE__ */ f.jsx("div", { className: i.be("bar"), children: /* @__PURE__ */ f.jsx(
|
|
1044
1059
|
"div",
|
|
1045
1060
|
{
|
|
1046
1061
|
className: i.be("thumb"),
|
|
@@ -1053,104 +1068,104 @@ function Tt({
|
|
|
1053
1068
|
)
|
|
1054
1069
|
] });
|
|
1055
1070
|
}
|
|
1056
|
-
function
|
|
1071
|
+
function cr(e) {
|
|
1057
1072
|
if (typeof e > "u")
|
|
1058
1073
|
return "--:--";
|
|
1059
1074
|
if (Number.isNaN(e))
|
|
1060
1075
|
return "00:00";
|
|
1061
|
-
const r = (
|
|
1076
|
+
const r = (c) => c < 10 ? `0${c}` : `${c}`, n = Math.trunc(e / 60), a = Math.trunc(e - n * 60), i = Math.trunc(n / 60), m = Math.trunc(
|
|
1062
1077
|
e / 60 - 60 * Math.trunc(e / 60 / 60)
|
|
1063
1078
|
);
|
|
1064
|
-
return e >= 3600 ? `${r(i)}:${r(
|
|
1079
|
+
return e >= 3600 ? `${r(i)}:${r(m)}:${r(a)}` : `${r(n)}:${r(a)}`;
|
|
1065
1080
|
}
|
|
1066
|
-
function
|
|
1081
|
+
function Pt({
|
|
1067
1082
|
volume: e,
|
|
1068
1083
|
onChangeVolume: r,
|
|
1069
1084
|
muted: n,
|
|
1070
1085
|
currentTime: a,
|
|
1071
1086
|
audioDurationSeconds: i,
|
|
1072
|
-
bufferedSeconds:
|
|
1073
|
-
onToggleMenu:
|
|
1087
|
+
bufferedSeconds: m,
|
|
1088
|
+
onToggleMenu: c,
|
|
1074
1089
|
onToggleMuted: g,
|
|
1075
1090
|
order: s,
|
|
1076
|
-
onOrderChange:
|
|
1077
|
-
loop:
|
|
1078
|
-
onLoopChange:
|
|
1091
|
+
onOrderChange: y,
|
|
1092
|
+
loop: l,
|
|
1093
|
+
onLoopChange: h,
|
|
1079
1094
|
onSeek: x,
|
|
1080
1095
|
isPlaying: E,
|
|
1081
1096
|
onTogglePlay: b,
|
|
1082
1097
|
onSkipForward: u,
|
|
1083
|
-
onSkipBack:
|
|
1084
|
-
showLyrics:
|
|
1085
|
-
onToggleLyrics:
|
|
1098
|
+
onSkipBack: d,
|
|
1099
|
+
showLyrics: p = !0,
|
|
1100
|
+
onToggleLyrics: T
|
|
1086
1101
|
}) {
|
|
1087
|
-
const j = G("aplayer-controller"), L = G("aplayer-icon"),
|
|
1102
|
+
const j = G("aplayer-controller"), L = G("aplayer-icon"), z = R(() => {
|
|
1088
1103
|
const q = {
|
|
1089
1104
|
list: "random",
|
|
1090
1105
|
random: "list"
|
|
1091
1106
|
}[s];
|
|
1092
|
-
|
|
1093
|
-
}, [s,
|
|
1107
|
+
y(q);
|
|
1108
|
+
}, [s, y]), H = R(() => {
|
|
1094
1109
|
const q = {
|
|
1095
1110
|
all: "one",
|
|
1096
1111
|
one: "none",
|
|
1097
1112
|
none: "all"
|
|
1098
|
-
}[
|
|
1099
|
-
|
|
1100
|
-
}, [
|
|
1101
|
-
return /* @__PURE__ */
|
|
1113
|
+
}[l];
|
|
1114
|
+
h(q);
|
|
1115
|
+
}, [l, h]);
|
|
1116
|
+
return /* @__PURE__ */ f.jsxs(
|
|
1102
1117
|
"div",
|
|
1103
1118
|
{
|
|
1104
1119
|
className: C(j.b(), j.bs("vars")),
|
|
1105
1120
|
role: "group",
|
|
1106
1121
|
"aria-label": "Audio Controls",
|
|
1107
1122
|
children: [
|
|
1108
|
-
/* @__PURE__ */
|
|
1109
|
-
|
|
1123
|
+
/* @__PURE__ */ f.jsx(
|
|
1124
|
+
Ot,
|
|
1110
1125
|
{
|
|
1111
1126
|
playedPercentage: typeof a > "u" || typeof i > "u" ? void 0 : a / i,
|
|
1112
|
-
bufferedPercentage: typeof
|
|
1127
|
+
bufferedPercentage: typeof m > "u" || typeof i > "u" ? void 0 : m / i,
|
|
1113
1128
|
onSeek: (q) => x == null ? void 0 : x(q * i)
|
|
1114
1129
|
}
|
|
1115
1130
|
),
|
|
1116
|
-
/* @__PURE__ */
|
|
1117
|
-
/* @__PURE__ */
|
|
1118
|
-
/* @__PURE__ */
|
|
1131
|
+
/* @__PURE__ */ f.jsxs("div", { className: j.be("time"), children: [
|
|
1132
|
+
/* @__PURE__ */ f.jsxs("span", { className: j.be("time-inner"), "aria-live": "polite", children: [
|
|
1133
|
+
/* @__PURE__ */ f.jsx("span", { className: j.be("ptime"), children: cr(a) }),
|
|
1119
1134
|
" / ",
|
|
1120
|
-
/* @__PURE__ */
|
|
1135
|
+
/* @__PURE__ */ f.jsx("span", { className: j.be("dtime"), children: cr(i) })
|
|
1121
1136
|
] }),
|
|
1122
|
-
/* @__PURE__ */
|
|
1137
|
+
/* @__PURE__ */ f.jsx(
|
|
1123
1138
|
"button",
|
|
1124
1139
|
{
|
|
1125
1140
|
className: C(L.b(), L.bs("back")),
|
|
1126
|
-
onClick:
|
|
1141
|
+
onClick: d,
|
|
1127
1142
|
type: "button",
|
|
1128
1143
|
"aria-label": "Previous track",
|
|
1129
|
-
children: /* @__PURE__ */
|
|
1144
|
+
children: /* @__PURE__ */ f.jsx(lt, {})
|
|
1130
1145
|
}
|
|
1131
1146
|
),
|
|
1132
|
-
/* @__PURE__ */
|
|
1147
|
+
/* @__PURE__ */ f.jsx(
|
|
1133
1148
|
"button",
|
|
1134
1149
|
{
|
|
1135
1150
|
className: C(L.b(), L.bs("play")),
|
|
1136
1151
|
onClick: b,
|
|
1137
1152
|
type: "button",
|
|
1138
1153
|
"aria-label": E ? "Pause audio" : "Play audio",
|
|
1139
|
-
children: E ? /* @__PURE__ */
|
|
1154
|
+
children: E ? /* @__PURE__ */ f.jsx(gt, {}) : /* @__PURE__ */ f.jsx(Et, {})
|
|
1140
1155
|
}
|
|
1141
1156
|
),
|
|
1142
|
-
/* @__PURE__ */
|
|
1157
|
+
/* @__PURE__ */ f.jsx(
|
|
1143
1158
|
"button",
|
|
1144
1159
|
{
|
|
1145
1160
|
className: C(L.b(), L.bs("forward")),
|
|
1146
1161
|
onClick: u,
|
|
1147
1162
|
type: "button",
|
|
1148
1163
|
"aria-label": "Next track",
|
|
1149
|
-
children: /* @__PURE__ */
|
|
1164
|
+
children: /* @__PURE__ */ f.jsx(ct, {})
|
|
1150
1165
|
}
|
|
1151
1166
|
),
|
|
1152
|
-
/* @__PURE__ */
|
|
1153
|
-
|
|
1167
|
+
/* @__PURE__ */ f.jsx(
|
|
1168
|
+
Rt,
|
|
1154
1169
|
{
|
|
1155
1170
|
volume: e,
|
|
1156
1171
|
muted: n,
|
|
@@ -1158,51 +1173,51 @@ function wt({
|
|
|
1158
1173
|
onChangeVolume: r
|
|
1159
1174
|
}
|
|
1160
1175
|
),
|
|
1161
|
-
/* @__PURE__ */
|
|
1176
|
+
/* @__PURE__ */ f.jsx(
|
|
1162
1177
|
"button",
|
|
1163
1178
|
{
|
|
1164
1179
|
className: C(L.b(), L.bs("order")),
|
|
1165
|
-
onClick:
|
|
1180
|
+
onClick: z,
|
|
1166
1181
|
type: "button",
|
|
1167
1182
|
"aria-label": `Playback order: ${s}`,
|
|
1168
|
-
children: { list: /* @__PURE__ */
|
|
1183
|
+
children: { list: /* @__PURE__ */ f.jsx(yt, {}), random: /* @__PURE__ */ f.jsx(pt, {}) }[s]
|
|
1169
1184
|
}
|
|
1170
1185
|
),
|
|
1171
|
-
/* @__PURE__ */
|
|
1186
|
+
/* @__PURE__ */ f.jsx(
|
|
1172
1187
|
"button",
|
|
1173
1188
|
{
|
|
1174
1189
|
className: C(L.b(), L.bs("order")),
|
|
1175
|
-
onClick:
|
|
1190
|
+
onClick: H,
|
|
1176
1191
|
type: "button",
|
|
1177
|
-
"aria-label": `Loop mode: ${
|
|
1192
|
+
"aria-label": `Loop mode: ${l}`,
|
|
1178
1193
|
children: {
|
|
1179
|
-
all: /* @__PURE__ */
|
|
1180
|
-
one: /* @__PURE__ */
|
|
1181
|
-
none: /* @__PURE__ */
|
|
1182
|
-
}[
|
|
1194
|
+
all: /* @__PURE__ */ f.jsx(St, {}),
|
|
1195
|
+
one: /* @__PURE__ */ f.jsx(xt, {}),
|
|
1196
|
+
none: /* @__PURE__ */ f.jsx(ht, {})
|
|
1197
|
+
}[l]
|
|
1183
1198
|
}
|
|
1184
1199
|
),
|
|
1185
|
-
/* @__PURE__ */
|
|
1200
|
+
/* @__PURE__ */ f.jsx(
|
|
1186
1201
|
"button",
|
|
1187
1202
|
{
|
|
1188
1203
|
type: "button",
|
|
1189
1204
|
className: C(L.b(), L.bs("menu")),
|
|
1190
|
-
onClick: () =>
|
|
1205
|
+
onClick: () => c == null ? void 0 : c(),
|
|
1191
1206
|
"aria-label": "Toggle playlist menu",
|
|
1192
|
-
children: /* @__PURE__ */
|
|
1207
|
+
children: /* @__PURE__ */ f.jsx(mt, {})
|
|
1193
1208
|
}
|
|
1194
1209
|
),
|
|
1195
|
-
/* @__PURE__ */
|
|
1210
|
+
/* @__PURE__ */ f.jsx(
|
|
1196
1211
|
"button",
|
|
1197
1212
|
{
|
|
1198
1213
|
type: "button",
|
|
1199
1214
|
className: C(L.b(), L.bs("lrc"), {
|
|
1200
|
-
[L.ns("lrc-inactivity")]: !
|
|
1215
|
+
[L.ns("lrc-inactivity")]: !p
|
|
1201
1216
|
}),
|
|
1202
|
-
onClick:
|
|
1203
|
-
"aria-label":
|
|
1204
|
-
"aria-pressed":
|
|
1205
|
-
children: /* @__PURE__ */
|
|
1217
|
+
onClick: T,
|
|
1218
|
+
"aria-label": p ? "Hide lyrics" : "Show lyrics",
|
|
1219
|
+
"aria-pressed": p,
|
|
1220
|
+
children: /* @__PURE__ */ f.jsx(bt, {})
|
|
1206
1221
|
}
|
|
1207
1222
|
)
|
|
1208
1223
|
] })
|
|
@@ -1210,80 +1225,81 @@ function wt({
|
|
|
1210
1225
|
}
|
|
1211
1226
|
);
|
|
1212
1227
|
}
|
|
1213
|
-
function
|
|
1228
|
+
function Lt({
|
|
1214
1229
|
open: e,
|
|
1215
1230
|
audio: r,
|
|
1216
1231
|
playingAudioUrl: n,
|
|
1217
1232
|
onPlayAudio: a,
|
|
1218
|
-
listMaxHeight: i
|
|
1233
|
+
listMaxHeight: i,
|
|
1234
|
+
mini: m
|
|
1219
1235
|
}) {
|
|
1220
|
-
const
|
|
1221
|
-
return
|
|
1222
|
-
if (
|
|
1223
|
-
const
|
|
1224
|
-
return
|
|
1225
|
-
|
|
1236
|
+
const c = G("aplayer-list"), g = i ? { maxHeight: i } : void 0, s = R((l) => l ? typeof l == "string" ? l : l.name ?? "Audio artist" : "Audio artist", []), y = F(null);
|
|
1237
|
+
return B(() => {
|
|
1238
|
+
if (y.current) {
|
|
1239
|
+
const l = y.current;
|
|
1240
|
+
return l.style.maxHeight = `${Math.min(
|
|
1241
|
+
l.scrollHeight,
|
|
1226
1242
|
i ?? 1 / 0
|
|
1227
1243
|
)}px`, () => {
|
|
1228
|
-
|
|
1244
|
+
l.removeAttribute("style");
|
|
1229
1245
|
};
|
|
1230
1246
|
}
|
|
1231
|
-
}, [i]), /* @__PURE__ */
|
|
1247
|
+
}, [i, m]), /* @__PURE__ */ f.jsx(
|
|
1232
1248
|
"div",
|
|
1233
1249
|
{
|
|
1234
|
-
ref:
|
|
1235
|
-
className: C(
|
|
1236
|
-
[
|
|
1237
|
-
[
|
|
1250
|
+
ref: y,
|
|
1251
|
+
className: C(c.b(), {
|
|
1252
|
+
[c.bm("hide")]: !e,
|
|
1253
|
+
[c.bs("vars")]: !0
|
|
1238
1254
|
}),
|
|
1239
1255
|
"aria-label": "Audio playlist",
|
|
1240
1256
|
"aria-live": "polite",
|
|
1241
|
-
children: /* @__PURE__ */
|
|
1257
|
+
children: /* @__PURE__ */ f.jsx("ol", { style: g, children: r.map((l, h) => /* @__PURE__ */ f.jsxs(
|
|
1242
1258
|
"li",
|
|
1243
1259
|
{
|
|
1244
1260
|
className: C({
|
|
1245
|
-
[
|
|
1261
|
+
[c.bm("active")]: l.url === n
|
|
1246
1262
|
}),
|
|
1247
1263
|
onClick: () => {
|
|
1248
|
-
|
|
1264
|
+
l.url !== n && (a == null || a(l));
|
|
1249
1265
|
},
|
|
1250
1266
|
role: "button",
|
|
1251
|
-
"aria-label": `${
|
|
1267
|
+
"aria-label": `${l.name ?? "Audio name"} by ${s(l.artist)}}`,
|
|
1252
1268
|
children: [
|
|
1253
|
-
/* @__PURE__ */
|
|
1254
|
-
/* @__PURE__ */
|
|
1255
|
-
/* @__PURE__ */
|
|
1256
|
-
/* @__PURE__ */
|
|
1269
|
+
/* @__PURE__ */ f.jsx("span", { className: c.be("cur") }),
|
|
1270
|
+
/* @__PURE__ */ f.jsx("span", { className: c.be("index"), children: h + 1 }),
|
|
1271
|
+
/* @__PURE__ */ f.jsx("span", { className: c.be("title"), children: l.name ?? "Audio name" }),
|
|
1272
|
+
/* @__PURE__ */ f.jsx("span", { className: c.be("author"), children: s(l.artist) })
|
|
1257
1273
|
]
|
|
1258
1274
|
},
|
|
1259
|
-
|
|
1275
|
+
l.name || h
|
|
1260
1276
|
)) })
|
|
1261
1277
|
}
|
|
1262
1278
|
);
|
|
1263
1279
|
}
|
|
1264
|
-
function
|
|
1265
|
-
const a = G("aplayer-lrc"), i = K(() =>
|
|
1280
|
+
function fr({ show: e, lrcText: r, currentTime: n }) {
|
|
1281
|
+
const a = G("aplayer-lrc"), i = K(() => Ct(r), [r]), m = K(() => {
|
|
1266
1282
|
for (let g = 0; g < i.length; g++) {
|
|
1267
|
-
const s = i[g],
|
|
1268
|
-
if (n >= s[0] && (!
|
|
1283
|
+
const s = i[g], y = i[g + 1];
|
|
1284
|
+
if (n >= s[0] && (!y || n < y[0]))
|
|
1269
1285
|
return g;
|
|
1270
1286
|
}
|
|
1271
1287
|
return 0;
|
|
1272
|
-
}, [n, i]),
|
|
1273
|
-
transform: `translateY(${-
|
|
1274
|
-
WebkitTransform: `translateY(${-
|
|
1275
|
-
}), [
|
|
1276
|
-
return /* @__PURE__ */
|
|
1288
|
+
}, [n, i]), c = K(() => ({
|
|
1289
|
+
transform: `translateY(${-m * 16}px)`,
|
|
1290
|
+
WebkitTransform: `translateY(${-m * 16}px)`
|
|
1291
|
+
}), [m]);
|
|
1292
|
+
return /* @__PURE__ */ f.jsx(
|
|
1277
1293
|
"div",
|
|
1278
1294
|
{
|
|
1279
1295
|
className: C(a.b(), {
|
|
1280
1296
|
[a.bm("hide")]: !e
|
|
1281
1297
|
}),
|
|
1282
|
-
children: r ? /* @__PURE__ */
|
|
1298
|
+
children: r ? /* @__PURE__ */ f.jsx("div", { className: a.be("contents"), style: c, children: i.map(([, g], s) => /* @__PURE__ */ f.jsx(
|
|
1283
1299
|
"p",
|
|
1284
1300
|
{
|
|
1285
1301
|
className: C({
|
|
1286
|
-
[a.be("current")]: s ===
|
|
1302
|
+
[a.be("current")]: s === m
|
|
1287
1303
|
}),
|
|
1288
1304
|
children: g
|
|
1289
1305
|
},
|
|
@@ -1292,27 +1308,27 @@ function lr({ show: e, lrcText: r, currentTime: n }) {
|
|
|
1292
1308
|
}
|
|
1293
1309
|
);
|
|
1294
1310
|
}
|
|
1295
|
-
function
|
|
1311
|
+
function Ct(e) {
|
|
1296
1312
|
if (e) {
|
|
1297
|
-
e = e.replace(/([^\]^\n])\[/g, (i,
|
|
1313
|
+
e = e.replace(/([^\]^\n])\[/g, (i, m) => `${m}
|
|
1298
1314
|
[`);
|
|
1299
1315
|
const r = e.split(`
|
|
1300
1316
|
`), n = [], a = r.length;
|
|
1301
1317
|
for (let i = 0; i < a; i++) {
|
|
1302
|
-
const
|
|
1303
|
-
if (
|
|
1304
|
-
const g =
|
|
1318
|
+
const m = r[i].match(/\[(\d{2}):(\d{2})(\.(\d{2,3}))?\]/g), c = r[i].replace(/.*\[(\d{2}):(\d{2})(\.(\d{2,3}))?\]/g, "").replace(/<(\d{2}):(\d{2})(\.(\d{2,3}))?>/g, "").replace(/^\s+|\s+$/g, "");
|
|
1319
|
+
if (m) {
|
|
1320
|
+
const g = m.length;
|
|
1305
1321
|
for (let s = 0; s < g; s++) {
|
|
1306
|
-
const
|
|
1307
|
-
n.push([E,
|
|
1322
|
+
const y = /\[(\d{2}):(\d{2})(\.(\d{2,3}))?\]/.exec(m[s]), l = y[1] * 60, h = Number.parseInt(y[2]), x = y[4] ? Number.parseInt(y[4]) / (`${y[4]}`.length === 2 ? 100 : 1e3) : 0, E = l + h + x;
|
|
1323
|
+
n.push([E, c]);
|
|
1308
1324
|
}
|
|
1309
1325
|
}
|
|
1310
1326
|
}
|
|
1311
|
-
return n.sort((i,
|
|
1327
|
+
return n.sort((i, m) => i[0] - m[0]), n;
|
|
1312
1328
|
} else
|
|
1313
1329
|
return [];
|
|
1314
1330
|
}
|
|
1315
|
-
var Te = { exports: {} },
|
|
1331
|
+
var Te = { exports: {} }, Ie = {};
|
|
1316
1332
|
/**
|
|
1317
1333
|
* @license React
|
|
1318
1334
|
* use-sync-external-store-shim.production.js
|
|
@@ -1322,48 +1338,48 @@ var Te = { exports: {} }, ke = {};
|
|
|
1322
1338
|
* This source code is licensed under the MIT license found in the
|
|
1323
1339
|
* LICENSE file in the root directory of this source tree.
|
|
1324
1340
|
*/
|
|
1325
|
-
var
|
|
1326
|
-
function
|
|
1327
|
-
if (
|
|
1328
|
-
|
|
1329
|
-
var e =
|
|
1330
|
-
function r(
|
|
1331
|
-
return
|
|
1341
|
+
var dr;
|
|
1342
|
+
function $t() {
|
|
1343
|
+
if (dr) return Ie;
|
|
1344
|
+
dr = 1;
|
|
1345
|
+
var e = Oe;
|
|
1346
|
+
function r(h, x) {
|
|
1347
|
+
return h === x && (h !== 0 || 1 / h === 1 / x) || h !== h && x !== x;
|
|
1332
1348
|
}
|
|
1333
|
-
var n = typeof Object.is == "function" ? Object.is : r, a = e.useState, i = e.useEffect,
|
|
1334
|
-
function g(
|
|
1335
|
-
var E = x(), b = a({ inst: { value: E, getSnapshot: x } }), u = b[0].inst,
|
|
1336
|
-
return
|
|
1349
|
+
var n = typeof Object.is == "function" ? Object.is : r, a = e.useState, i = e.useEffect, m = e.useLayoutEffect, c = e.useDebugValue;
|
|
1350
|
+
function g(h, x) {
|
|
1351
|
+
var E = x(), b = a({ inst: { value: E, getSnapshot: x } }), u = b[0].inst, d = b[1];
|
|
1352
|
+
return m(
|
|
1337
1353
|
function() {
|
|
1338
|
-
u.value = E, u.getSnapshot = x, s(u) &&
|
|
1354
|
+
u.value = E, u.getSnapshot = x, s(u) && d({ inst: u });
|
|
1339
1355
|
},
|
|
1340
|
-
[
|
|
1356
|
+
[h, E, x]
|
|
1341
1357
|
), i(
|
|
1342
1358
|
function() {
|
|
1343
|
-
return s(u) &&
|
|
1344
|
-
s(u) &&
|
|
1359
|
+
return s(u) && d({ inst: u }), h(function() {
|
|
1360
|
+
s(u) && d({ inst: u });
|
|
1345
1361
|
});
|
|
1346
1362
|
},
|
|
1347
|
-
[
|
|
1348
|
-
),
|
|
1363
|
+
[h]
|
|
1364
|
+
), c(E), E;
|
|
1349
1365
|
}
|
|
1350
|
-
function s(
|
|
1351
|
-
var x =
|
|
1352
|
-
|
|
1366
|
+
function s(h) {
|
|
1367
|
+
var x = h.getSnapshot;
|
|
1368
|
+
h = h.value;
|
|
1353
1369
|
try {
|
|
1354
1370
|
var E = x();
|
|
1355
|
-
return !n(
|
|
1371
|
+
return !n(h, E);
|
|
1356
1372
|
} catch {
|
|
1357
1373
|
return !0;
|
|
1358
1374
|
}
|
|
1359
1375
|
}
|
|
1360
|
-
function
|
|
1376
|
+
function y(h, x) {
|
|
1361
1377
|
return x();
|
|
1362
1378
|
}
|
|
1363
|
-
var
|
|
1364
|
-
return
|
|
1379
|
+
var l = typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u" ? y : g;
|
|
1380
|
+
return Ie.useSyncExternalStore = e.useSyncExternalStore !== void 0 ? e.useSyncExternalStore : l, Ie;
|
|
1365
1381
|
}
|
|
1366
|
-
var
|
|
1382
|
+
var Ve = {};
|
|
1367
1383
|
/**
|
|
1368
1384
|
* @license React
|
|
1369
1385
|
* use-sync-external-store-shim.development.js
|
|
@@ -1373,47 +1389,47 @@ var De = {};
|
|
|
1373
1389
|
* This source code is licensed under the MIT license found in the
|
|
1374
1390
|
* LICENSE file in the root directory of this source tree.
|
|
1375
1391
|
*/
|
|
1376
|
-
var
|
|
1377
|
-
function
|
|
1378
|
-
return
|
|
1392
|
+
var vr;
|
|
1393
|
+
function At() {
|
|
1394
|
+
return vr || (vr = 1, process.env.NODE_ENV !== "production" && function() {
|
|
1379
1395
|
function e(E, b) {
|
|
1380
1396
|
return E === b && (E !== 0 || 1 / E === 1 / b) || E !== E && b !== b;
|
|
1381
1397
|
}
|
|
1382
1398
|
function r(E, b) {
|
|
1383
|
-
|
|
1399
|
+
l || i.startTransition === void 0 || (l = !0, console.error(
|
|
1384
1400
|
"You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."
|
|
1385
1401
|
));
|
|
1386
1402
|
var u = b();
|
|
1387
|
-
if (!
|
|
1388
|
-
var
|
|
1389
|
-
|
|
1403
|
+
if (!h) {
|
|
1404
|
+
var d = b();
|
|
1405
|
+
m(u, d) || (console.error(
|
|
1390
1406
|
"The result of getSnapshot should be cached to avoid an infinite loop"
|
|
1391
|
-
),
|
|
1407
|
+
), h = !0);
|
|
1392
1408
|
}
|
|
1393
|
-
|
|
1409
|
+
d = c({
|
|
1394
1410
|
inst: { value: u, getSnapshot: b }
|
|
1395
1411
|
});
|
|
1396
|
-
var
|
|
1412
|
+
var p = d[0].inst, T = d[1];
|
|
1397
1413
|
return s(
|
|
1398
1414
|
function() {
|
|
1399
|
-
|
|
1415
|
+
p.value = u, p.getSnapshot = b, n(p) && T({ inst: p });
|
|
1400
1416
|
},
|
|
1401
1417
|
[E, u, b]
|
|
1402
1418
|
), g(
|
|
1403
1419
|
function() {
|
|
1404
|
-
return n(
|
|
1405
|
-
n(
|
|
1420
|
+
return n(p) && T({ inst: p }), E(function() {
|
|
1421
|
+
n(p) && T({ inst: p });
|
|
1406
1422
|
});
|
|
1407
1423
|
},
|
|
1408
1424
|
[E]
|
|
1409
|
-
),
|
|
1425
|
+
), y(u), u;
|
|
1410
1426
|
}
|
|
1411
1427
|
function n(E) {
|
|
1412
1428
|
var b = E.getSnapshot;
|
|
1413
1429
|
E = E.value;
|
|
1414
1430
|
try {
|
|
1415
1431
|
var u = b();
|
|
1416
|
-
return !
|
|
1432
|
+
return !m(E, u);
|
|
1417
1433
|
} catch {
|
|
1418
1434
|
return !0;
|
|
1419
1435
|
}
|
|
@@ -1422,61 +1438,61 @@ function Pt() {
|
|
|
1422
1438
|
return b();
|
|
1423
1439
|
}
|
|
1424
1440
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
|
|
1425
|
-
var i =
|
|
1426
|
-
|
|
1427
|
-
}()),
|
|
1428
|
-
}
|
|
1429
|
-
var
|
|
1430
|
-
function
|
|
1431
|
-
return
|
|
1432
|
-
}
|
|
1433
|
-
var
|
|
1434
|
-
const
|
|
1435
|
-
function
|
|
1436
|
-
const r =
|
|
1437
|
-
return
|
|
1441
|
+
var i = Oe, m = typeof Object.is == "function" ? Object.is : e, c = i.useState, g = i.useEffect, s = i.useLayoutEffect, y = i.useDebugValue, l = !1, h = !1, x = typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u" ? a : r;
|
|
1442
|
+
Ve.useSyncExternalStore = i.useSyncExternalStore !== void 0 ? i.useSyncExternalStore : x, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
|
|
1443
|
+
}()), Ve;
|
|
1444
|
+
}
|
|
1445
|
+
var mr;
|
|
1446
|
+
function Mt() {
|
|
1447
|
+
return mr || (mr = 1, process.env.NODE_ENV === "production" ? Te.exports = $t() : Te.exports = At()), Te.exports;
|
|
1448
|
+
}
|
|
1449
|
+
var Z = Mt();
|
|
1450
|
+
const ae = [];
|
|
1451
|
+
function Nt(e) {
|
|
1452
|
+
const r = F(null);
|
|
1453
|
+
return B(() => {
|
|
1438
1454
|
if (typeof window < "u" && !r.current) {
|
|
1439
1455
|
const n = r.current = document.createElement("audio");
|
|
1440
|
-
typeof (e == null ? void 0 : e.src) < "u" && (n.src = e.src), typeof (e == null ? void 0 : e.autoPlay) < "u" && (n.autoplay = e.autoPlay), typeof (e == null ? void 0 : e.initialVolume) < "u" && (n.volume = e.initialVolume),
|
|
1456
|
+
typeof (e == null ? void 0 : e.src) < "u" && (n.src = e.src), typeof (e == null ? void 0 : e.autoPlay) < "u" && (n.autoplay = e.autoPlay), typeof (e == null ? void 0 : e.initialVolume) < "u" && (n.volume = e.initialVolume), ae.includes(n) || ae.push(n);
|
|
1441
1457
|
}
|
|
1442
|
-
}, [e == null ? void 0 : e.autoPlay, e == null ? void 0 : e.initialVolume, e == null ? void 0 : e.src]),
|
|
1458
|
+
}, [e == null ? void 0 : e.autoPlay, e == null ? void 0 : e.initialVolume, e == null ? void 0 : e.src]), B(() => {
|
|
1443
1459
|
if (typeof window > "u") return;
|
|
1444
1460
|
const n = r.current;
|
|
1445
1461
|
if (n && (e != null && e.onError))
|
|
1446
1462
|
return n.addEventListener("error", e.onError), () => {
|
|
1447
1463
|
n.removeEventListener("error", e.onError);
|
|
1448
1464
|
};
|
|
1449
|
-
}, [e == null ? void 0 : e.onError]),
|
|
1465
|
+
}, [e == null ? void 0 : e.onError]), B(() => {
|
|
1450
1466
|
if (typeof window > "u") return;
|
|
1451
1467
|
const n = r.current;
|
|
1452
1468
|
if (n && (e != null && e.onEnded))
|
|
1453
1469
|
return n.addEventListener("ended", e.onEnded), () => {
|
|
1454
1470
|
n.removeEventListener("ended", e.onEnded);
|
|
1455
1471
|
};
|
|
1456
|
-
}, [e == null ? void 0 : e.onEnded]),
|
|
1472
|
+
}, [e == null ? void 0 : e.onEnded]), B(() => () => {
|
|
1457
1473
|
const n = r.current;
|
|
1458
1474
|
if (n) {
|
|
1459
1475
|
n.pause(), n.currentTime = 0;
|
|
1460
|
-
const a =
|
|
1461
|
-
a !== -1 &&
|
|
1476
|
+
const a = ae.indexOf(n);
|
|
1477
|
+
a !== -1 && ae.splice(a, 1);
|
|
1462
1478
|
}
|
|
1463
|
-
r.current =
|
|
1479
|
+
r.current = null;
|
|
1464
1480
|
}, []), r;
|
|
1465
1481
|
}
|
|
1466
|
-
function
|
|
1467
|
-
const r =
|
|
1468
|
-
for (let
|
|
1469
|
-
const
|
|
1470
|
-
|
|
1482
|
+
function qt(e) {
|
|
1483
|
+
const r = Nt(e), n = R((u) => {
|
|
1484
|
+
for (let d = 0; d < ae.length; d++) {
|
|
1485
|
+
const p = ae[d];
|
|
1486
|
+
p !== u && !p.paused && p.pause();
|
|
1471
1487
|
}
|
|
1472
1488
|
}, []), a = R(
|
|
1473
1489
|
async (u) => {
|
|
1474
|
-
var
|
|
1475
|
-
const
|
|
1476
|
-
if (
|
|
1477
|
-
e.mutex && n(
|
|
1490
|
+
var p;
|
|
1491
|
+
const d = r.current;
|
|
1492
|
+
if (d) {
|
|
1493
|
+
e.mutex && n(d), d.src !== u && (d.pause(), d.currentTime = 0, d.src = u);
|
|
1478
1494
|
try {
|
|
1479
|
-
await ((
|
|
1495
|
+
await ((p = r.current) == null ? void 0 : p.play());
|
|
1480
1496
|
} catch {
|
|
1481
1497
|
}
|
|
1482
1498
|
}
|
|
@@ -1484,32 +1500,32 @@ function $t(e) {
|
|
|
1484
1500
|
[r, e.mutex, n]
|
|
1485
1501
|
), i = R(
|
|
1486
1502
|
(u) => {
|
|
1487
|
-
const
|
|
1488
|
-
|
|
1503
|
+
const d = r.current;
|
|
1504
|
+
d && (d.paused ? a(u) : d.pause());
|
|
1489
1505
|
},
|
|
1490
1506
|
[r, a]
|
|
1491
|
-
),
|
|
1507
|
+
), m = R(
|
|
1492
1508
|
(u) => {
|
|
1493
1509
|
r.current.currentTime = u;
|
|
1494
1510
|
},
|
|
1495
1511
|
[r]
|
|
1496
|
-
),
|
|
1512
|
+
), c = R(() => {
|
|
1497
1513
|
r.current && (r.current.muted = !r.current.muted);
|
|
1498
1514
|
}, [r]), g = R(
|
|
1499
1515
|
(u) => {
|
|
1500
1516
|
r.current && (r.current.volume = u);
|
|
1501
1517
|
},
|
|
1502
1518
|
[r]
|
|
1503
|
-
), s =
|
|
1519
|
+
), s = Z.useSyncExternalStore(
|
|
1504
1520
|
R(
|
|
1505
1521
|
(u) => {
|
|
1506
|
-
var
|
|
1507
|
-
return (
|
|
1522
|
+
var d;
|
|
1523
|
+
return (d = r.current) == null || d.addEventListener(
|
|
1508
1524
|
"volumechange",
|
|
1509
1525
|
u
|
|
1510
1526
|
), () => {
|
|
1511
|
-
var
|
|
1512
|
-
(
|
|
1527
|
+
var p;
|
|
1528
|
+
(p = r.current) == null || p.removeEventListener(
|
|
1513
1529
|
"volumechange",
|
|
1514
1530
|
u
|
|
1515
1531
|
);
|
|
@@ -1523,16 +1539,16 @@ function $t(e) {
|
|
|
1523
1539
|
},
|
|
1524
1540
|
() => {
|
|
1525
1541
|
}
|
|
1526
|
-
),
|
|
1542
|
+
), y = Z.useSyncExternalStore(
|
|
1527
1543
|
R(
|
|
1528
1544
|
(u) => {
|
|
1529
|
-
var
|
|
1530
|
-
return (
|
|
1545
|
+
var d;
|
|
1546
|
+
return (d = r.current) == null || d.addEventListener(
|
|
1531
1547
|
"volumechange",
|
|
1532
1548
|
u
|
|
1533
1549
|
), () => {
|
|
1534
|
-
var
|
|
1535
|
-
(
|
|
1550
|
+
var p;
|
|
1551
|
+
(p = r.current) == null || p.removeEventListener(
|
|
1536
1552
|
"volumechange",
|
|
1537
1553
|
u
|
|
1538
1554
|
);
|
|
@@ -1546,13 +1562,13 @@ function $t(e) {
|
|
|
1546
1562
|
},
|
|
1547
1563
|
() => {
|
|
1548
1564
|
}
|
|
1549
|
-
),
|
|
1565
|
+
), l = Z.useSyncExternalStore(
|
|
1550
1566
|
R(
|
|
1551
1567
|
(u) => {
|
|
1552
|
-
var
|
|
1553
|
-
return (
|
|
1554
|
-
var
|
|
1555
|
-
(
|
|
1568
|
+
var d;
|
|
1569
|
+
return (d = r.current) == null || d.addEventListener("timeupdate", u), () => {
|
|
1570
|
+
var p;
|
|
1571
|
+
(p = r.current) == null || p.removeEventListener(
|
|
1556
1572
|
"timeupdate",
|
|
1557
1573
|
u
|
|
1558
1574
|
);
|
|
@@ -1566,16 +1582,16 @@ function $t(e) {
|
|
|
1566
1582
|
},
|
|
1567
1583
|
() => {
|
|
1568
1584
|
}
|
|
1569
|
-
),
|
|
1585
|
+
), h = Z.useSyncExternalStore(
|
|
1570
1586
|
R(
|
|
1571
1587
|
(u) => {
|
|
1572
|
-
var
|
|
1573
|
-
return (
|
|
1588
|
+
var d;
|
|
1589
|
+
return (d = r.current) == null || d.addEventListener(
|
|
1574
1590
|
"durationchange",
|
|
1575
1591
|
u
|
|
1576
1592
|
), () => {
|
|
1577
|
-
var
|
|
1578
|
-
(
|
|
1593
|
+
var p;
|
|
1594
|
+
(p = r.current) == null || p.removeEventListener(
|
|
1579
1595
|
"durationchange",
|
|
1580
1596
|
u
|
|
1581
1597
|
);
|
|
@@ -1589,13 +1605,13 @@ function $t(e) {
|
|
|
1589
1605
|
},
|
|
1590
1606
|
() => {
|
|
1591
1607
|
}
|
|
1592
|
-
), x =
|
|
1608
|
+
), x = Z.useSyncExternalStore(
|
|
1593
1609
|
R(
|
|
1594
1610
|
(u) => {
|
|
1595
|
-
var
|
|
1596
|
-
return (
|
|
1597
|
-
var
|
|
1598
|
-
(
|
|
1611
|
+
var d;
|
|
1612
|
+
return (d = r.current) == null || d.addEventListener("progress", u), () => {
|
|
1613
|
+
var p;
|
|
1614
|
+
(p = r.current) == null || p.removeEventListener(
|
|
1599
1615
|
"progress",
|
|
1600
1616
|
u
|
|
1601
1617
|
);
|
|
@@ -1609,13 +1625,13 @@ function $t(e) {
|
|
|
1609
1625
|
},
|
|
1610
1626
|
() => {
|
|
1611
1627
|
}
|
|
1612
|
-
), E =
|
|
1628
|
+
), E = Z.useSyncExternalStore(
|
|
1613
1629
|
R(
|
|
1614
1630
|
(u) => {
|
|
1615
|
-
var
|
|
1616
|
-
return (
|
|
1617
|
-
var
|
|
1618
|
-
(
|
|
1631
|
+
var d, p;
|
|
1632
|
+
return (d = r.current) == null || d.addEventListener("play", u), (p = r.current) == null || p.addEventListener("pause", u), () => {
|
|
1633
|
+
var T, j;
|
|
1634
|
+
(T = r.current) == null || T.removeEventListener("play", u), (j = r.current) == null || j.removeEventListener("pause", u);
|
|
1619
1635
|
};
|
|
1620
1636
|
},
|
|
1621
1637
|
[r]
|
|
@@ -1626,13 +1642,13 @@ function $t(e) {
|
|
|
1626
1642
|
},
|
|
1627
1643
|
() => {
|
|
1628
1644
|
}
|
|
1629
|
-
), b =
|
|
1645
|
+
), b = Z.useSyncExternalStore(
|
|
1630
1646
|
R(
|
|
1631
1647
|
(u) => {
|
|
1632
|
-
var
|
|
1633
|
-
return (
|
|
1634
|
-
var
|
|
1635
|
-
(
|
|
1648
|
+
var d, p;
|
|
1649
|
+
return (d = r.current) == null || d.addEventListener("playing", u), (p = r.current) == null || p.addEventListener("waiting", u), () => {
|
|
1650
|
+
var T, j;
|
|
1651
|
+
(T = r.current) == null || T.removeEventListener(
|
|
1636
1652
|
"playing",
|
|
1637
1653
|
u
|
|
1638
1654
|
), (j = r.current) == null || j.removeEventListener(
|
|
@@ -1654,19 +1670,19 @@ function $t(e) {
|
|
|
1654
1670
|
audio: r.current,
|
|
1655
1671
|
playAudio: a,
|
|
1656
1672
|
togglePlay: i,
|
|
1657
|
-
seek:
|
|
1658
|
-
toggleMuted:
|
|
1673
|
+
seek: m,
|
|
1674
|
+
toggleMuted: c,
|
|
1659
1675
|
setVolume: g,
|
|
1660
1676
|
volume: s,
|
|
1661
|
-
muted:
|
|
1662
|
-
currentTime:
|
|
1663
|
-
duration:
|
|
1677
|
+
muted: y,
|
|
1678
|
+
currentTime: l,
|
|
1679
|
+
duration: h,
|
|
1664
1680
|
bufferedSeconds: x,
|
|
1665
1681
|
isPlaying: E,
|
|
1666
1682
|
isLoading: b
|
|
1667
1683
|
};
|
|
1668
1684
|
}
|
|
1669
|
-
function
|
|
1685
|
+
function kt(e, r) {
|
|
1670
1686
|
return K(() => {
|
|
1671
1687
|
const n = { ...r };
|
|
1672
1688
|
for (const a in e)
|
|
@@ -1674,18 +1690,18 @@ function At(e, r) {
|
|
|
1674
1690
|
return n;
|
|
1675
1691
|
}, [e, r]);
|
|
1676
1692
|
}
|
|
1677
|
-
function
|
|
1693
|
+
function Dt(e) {
|
|
1678
1694
|
const [r, n] = Y(e);
|
|
1679
|
-
return
|
|
1695
|
+
return B(() => {
|
|
1680
1696
|
n(e);
|
|
1681
1697
|
}, [e]), {
|
|
1682
1698
|
mini: r,
|
|
1683
1699
|
setMini: n
|
|
1684
1700
|
};
|
|
1685
1701
|
}
|
|
1686
|
-
function
|
|
1687
|
-
const e =
|
|
1688
|
-
return
|
|
1702
|
+
function gr() {
|
|
1703
|
+
const e = F([]);
|
|
1704
|
+
return B(() => {
|
|
1689
1705
|
const n = e.current;
|
|
1690
1706
|
return () => {
|
|
1691
1707
|
for (const a of n)
|
|
@@ -1696,64 +1712,19 @@ function yr() {
|
|
|
1696
1712
|
return e.current.push(i), i;
|
|
1697
1713
|
}, []);
|
|
1698
1714
|
}
|
|
1699
|
-
function
|
|
1700
|
-
const e =
|
|
1701
|
-
(
|
|
1702
|
-
e.current && clearTimeout(e.current), n({ text:
|
|
1703
|
-
n({ text:
|
|
1704
|
-
},
|
|
1715
|
+
function It() {
|
|
1716
|
+
const e = F(null), [r, n] = Y({ text: "", style: { opacity: 0 } }), a = gr(), i = R(
|
|
1717
|
+
(m, c = 2e3) => {
|
|
1718
|
+
e.current && clearTimeout(e.current), n({ text: m, style: { opacity: 1 } }), e.current = a(() => {
|
|
1719
|
+
n({ text: m, style: { opacity: 0 } });
|
|
1720
|
+
}, c);
|
|
1705
1721
|
},
|
|
1706
1722
|
[a]
|
|
1707
1723
|
);
|
|
1708
1724
|
return [r, i];
|
|
1709
1725
|
}
|
|
1710
|
-
function
|
|
1711
|
-
|
|
1712
|
-
}
|
|
1713
|
-
function kt(e) {
|
|
1714
|
-
let r = e.length, n;
|
|
1715
|
-
for (; r !== 0; )
|
|
1716
|
-
n = Math.floor(Math.random() * r), r--, [e[r], e[n]] = [
|
|
1717
|
-
e[n],
|
|
1718
|
-
e[r]
|
|
1719
|
-
];
|
|
1720
|
-
return e;
|
|
1721
|
-
}
|
|
1722
|
-
function Dt(e, r) {
|
|
1723
|
-
const { initialLoop: n = "all", initialOrder: a = "list" } = r, [i, l] = Y(n), [h, g] = Y(a), s = K(() => h === "list" ? e : qt(e), [e, h]), [c, f] = Y(s[0]), p = R((v) => v.url, []), x = K(() => s.findIndex((y) => p(y) === p(c)) < s.length - 1 || i !== "none", [s, c, i, p]), E = R(() => {
|
|
1724
|
-
f((v) => {
|
|
1725
|
-
const y = s.findIndex((w) => p(w) === p(v));
|
|
1726
|
-
return y < s.length - 1 ? s[y + 1] : { ...s[0] };
|
|
1727
|
-
});
|
|
1728
|
-
}, [i, s, p]), b = R(() => {
|
|
1729
|
-
f((v) => {
|
|
1730
|
-
const y = s.indexOf(v);
|
|
1731
|
-
return y > 0 ? s[y - 1] : v;
|
|
1732
|
-
});
|
|
1733
|
-
}, [s]), u = R((v) => {
|
|
1734
|
-
f(v);
|
|
1735
|
-
}, []);
|
|
1736
|
-
return F(() => {
|
|
1737
|
-
const v = s.find(
|
|
1738
|
-
(y) => p(y) === p(c)
|
|
1739
|
-
);
|
|
1740
|
-
f(v || s[0]);
|
|
1741
|
-
}, [s, p, c]), {
|
|
1742
|
-
list: s,
|
|
1743
|
-
currentSong: c,
|
|
1744
|
-
hasNextSong: x,
|
|
1745
|
-
next: E,
|
|
1746
|
-
previous: b,
|
|
1747
|
-
prioritize: u,
|
|
1748
|
-
order: h,
|
|
1749
|
-
setOrder: g,
|
|
1750
|
-
loop: i,
|
|
1751
|
-
setLoop: l,
|
|
1752
|
-
length: s.length
|
|
1753
|
-
};
|
|
1754
|
-
}
|
|
1755
|
-
function It(e) {
|
|
1756
|
-
const r = At(e, {
|
|
1726
|
+
function Vt(e) {
|
|
1727
|
+
const r = kt(e, {
|
|
1757
1728
|
appearance: "normal",
|
|
1758
1729
|
volume: 0.7,
|
|
1759
1730
|
autoPlay: !1,
|
|
@@ -1767,129 +1738,174 @@ function It(e) {
|
|
|
1767
1738
|
audio: n,
|
|
1768
1739
|
appearance: a,
|
|
1769
1740
|
initialLoop: i,
|
|
1770
|
-
initialOrder:
|
|
1771
|
-
volume:
|
|
1741
|
+
initialOrder: m,
|
|
1742
|
+
volume: c,
|
|
1772
1743
|
autoPlay: g,
|
|
1773
1744
|
listMaxHeight: s,
|
|
1774
|
-
listFolded:
|
|
1775
|
-
mutex:
|
|
1776
|
-
theme:
|
|
1745
|
+
listFolded: y,
|
|
1746
|
+
mutex: l,
|
|
1747
|
+
theme: h,
|
|
1777
1748
|
border: x
|
|
1778
1749
|
} = r, E = K(
|
|
1779
1750
|
() => Array.isArray(n) ? n : [n],
|
|
1780
1751
|
[n]
|
|
1781
|
-
), b =
|
|
1752
|
+
), b = zt(E, {
|
|
1782
1753
|
initialLoop: i,
|
|
1783
|
-
initialOrder:
|
|
1784
|
-
}), [u,
|
|
1785
|
-
L.current && (clearTimeout(L.current), L.current =
|
|
1786
|
-
}, []),
|
|
1754
|
+
initialOrder: m
|
|
1755
|
+
}), [u, d] = It(), { mini: p, setMini: T } = Dt(r.mini), j = gr(), L = F(null), z = R(() => {
|
|
1756
|
+
L.current && (clearTimeout(L.current), L.current = null);
|
|
1757
|
+
}, []), H = F(!1), q = qt({
|
|
1787
1758
|
src: b.currentSong.url,
|
|
1788
|
-
initialVolume:
|
|
1759
|
+
initialVolume: c,
|
|
1789
1760
|
autoPlay: g,
|
|
1790
|
-
mutex:
|
|
1791
|
-
onError(
|
|
1792
|
-
const { error:
|
|
1793
|
-
|
|
1761
|
+
mutex: l,
|
|
1762
|
+
onError(I) {
|
|
1763
|
+
const { error: re } = I.target;
|
|
1764
|
+
re && d(
|
|
1794
1765
|
"An audio error has occurred, player will skip forward in 2 seconds."
|
|
1795
1766
|
), b.hasNextSong && (L.current = j(() => {
|
|
1796
1767
|
b.next();
|
|
1797
1768
|
}, 2e3));
|
|
1798
1769
|
},
|
|
1799
1770
|
onEnded() {
|
|
1800
|
-
const { list:
|
|
1801
|
-
if (
|
|
1802
|
-
|
|
1771
|
+
const { list: I, currentSong: re, loop: se, prioritize: le, hasNextSong: be } = b, { audio: ce } = q;
|
|
1772
|
+
if (se === "one") {
|
|
1773
|
+
le({ ...re });
|
|
1803
1774
|
return;
|
|
1804
1775
|
}
|
|
1805
|
-
if (!
|
|
1806
|
-
|
|
1776
|
+
if (!be && se === "none") {
|
|
1777
|
+
H.current = !0, ce.currentTime = 0, ce.pause(), ce.src = I[0].url, le(I[0]);
|
|
1807
1778
|
return;
|
|
1808
1779
|
}
|
|
1809
1780
|
b.next();
|
|
1810
1781
|
}
|
|
1811
1782
|
}), J = b.length > 1, A = R(() => {
|
|
1812
|
-
|
|
1813
|
-
}, [q,
|
|
1814
|
-
(
|
|
1815
|
-
|
|
1783
|
+
z(), q.togglePlay(b.currentSong.url);
|
|
1784
|
+
}, [q, z, b.currentSong.url]), { prioritize: pe } = b, Re = R(
|
|
1785
|
+
(I) => {
|
|
1786
|
+
z(), pe(I);
|
|
1816
1787
|
},
|
|
1817
|
-
[
|
|
1818
|
-
), [
|
|
1819
|
-
|
|
1788
|
+
[z, pe]
|
|
1789
|
+
), [ye, W] = Y(() => J && !y), [U, X] = Y(!0), ee = F(null);
|
|
1790
|
+
B(() => {
|
|
1820
1791
|
g && q.playAudio(b.currentSong.url);
|
|
1821
1792
|
}, []);
|
|
1822
|
-
const
|
|
1823
|
-
return
|
|
1824
|
-
if (
|
|
1825
|
-
|
|
1793
|
+
const oe = F(!0), ue = F(b.currentSong);
|
|
1794
|
+
return B(() => {
|
|
1795
|
+
if (oe.current) {
|
|
1796
|
+
oe.current = !1;
|
|
1826
1797
|
return;
|
|
1827
1798
|
}
|
|
1828
|
-
if (
|
|
1829
|
-
|
|
1799
|
+
if (H.current) {
|
|
1800
|
+
H.current = !1;
|
|
1830
1801
|
return;
|
|
1831
1802
|
}
|
|
1832
|
-
b.currentSong && (b.loop === "one" || b.currentSong !==
|
|
1833
|
-
}, [b.currentSong]),
|
|
1834
|
-
if (a === "fixed" &&
|
|
1835
|
-
const
|
|
1836
|
-
return
|
|
1837
|
-
|
|
1803
|
+
b.currentSong && (b.loop === "one" || b.currentSong !== ue.current) && (ue.current = b.currentSong, q.playAudio(b.currentSong.url));
|
|
1804
|
+
}, [b.currentSong]), B(() => {
|
|
1805
|
+
if (a === "fixed" && ee.current) {
|
|
1806
|
+
const I = ee.current;
|
|
1807
|
+
return I.style.width = "400px", () => {
|
|
1808
|
+
I.removeAttribute("style");
|
|
1838
1809
|
};
|
|
1839
1810
|
}
|
|
1840
1811
|
}, [a]), {
|
|
1841
|
-
bodyRef:
|
|
1812
|
+
bodyRef: ee,
|
|
1842
1813
|
appearance: a,
|
|
1843
|
-
volume:
|
|
1814
|
+
volume: c,
|
|
1844
1815
|
listMaxHeight: s,
|
|
1845
|
-
theme:
|
|
1816
|
+
theme: h,
|
|
1846
1817
|
border: x,
|
|
1847
1818
|
notice: u,
|
|
1848
1819
|
audioControl: q,
|
|
1849
1820
|
audio: E,
|
|
1850
1821
|
handlePlayButtonClick: A,
|
|
1851
|
-
handlePlayAudioFromList:
|
|
1852
|
-
isPlaylistOpen:
|
|
1853
|
-
setPlaylistOpen:
|
|
1854
|
-
mini:
|
|
1855
|
-
displayLyrics:
|
|
1822
|
+
handlePlayAudioFromList: Re,
|
|
1823
|
+
isPlaylistOpen: ye,
|
|
1824
|
+
setPlaylistOpen: W,
|
|
1825
|
+
mini: p,
|
|
1826
|
+
displayLyrics: U,
|
|
1856
1827
|
setDisplayLyrics: X,
|
|
1857
|
-
setMini:
|
|
1828
|
+
setMini: T,
|
|
1858
1829
|
playlist: b,
|
|
1859
1830
|
hasPlaylist: J
|
|
1860
1831
|
};
|
|
1861
1832
|
}
|
|
1862
1833
|
function Ft(e) {
|
|
1863
|
-
|
|
1834
|
+
return Bt(e.slice());
|
|
1835
|
+
}
|
|
1836
|
+
function Bt(e) {
|
|
1837
|
+
let r = e.length, n;
|
|
1838
|
+
for (; r !== 0; )
|
|
1839
|
+
n = Math.floor(Math.random() * r), r--, [e[r], e[n]] = [
|
|
1840
|
+
e[n],
|
|
1841
|
+
e[r]
|
|
1842
|
+
];
|
|
1843
|
+
return e;
|
|
1844
|
+
}
|
|
1845
|
+
function zt(e, r) {
|
|
1846
|
+
const { initialLoop: n = "all", initialOrder: a = "list" } = r, [i, m] = Y(n), [c, g] = Y(a), s = K(() => c === "list" ? e : Ft(e), [e, c]), [y, l] = Y(s[0]), h = R((d) => d.url, []), x = K(() => s.findIndex((p) => h(p) === h(y)) < s.length - 1 || i !== "none", [s, y, i, h]), E = R(() => {
|
|
1847
|
+
l((d) => {
|
|
1848
|
+
const p = s.findIndex((T) => h(T) === h(d));
|
|
1849
|
+
return p < s.length - 1 ? s[p + 1] : { ...s[0] };
|
|
1850
|
+
});
|
|
1851
|
+
}, [i, s, h]), b = R(() => {
|
|
1852
|
+
l((d) => {
|
|
1853
|
+
const p = s.indexOf(d);
|
|
1854
|
+
return p > 0 ? s[p - 1] : d;
|
|
1855
|
+
});
|
|
1856
|
+
}, [s]), u = R((d) => {
|
|
1857
|
+
l(d);
|
|
1858
|
+
}, []);
|
|
1859
|
+
return B(() => {
|
|
1860
|
+
const d = s.find(
|
|
1861
|
+
(p) => h(p) === h(y)
|
|
1862
|
+
);
|
|
1863
|
+
l(d || s[0]);
|
|
1864
|
+
}, [s, h, y]), {
|
|
1865
|
+
list: s,
|
|
1866
|
+
currentSong: y,
|
|
1867
|
+
hasNextSong: x,
|
|
1868
|
+
next: E,
|
|
1869
|
+
previous: b,
|
|
1870
|
+
prioritize: u,
|
|
1871
|
+
order: c,
|
|
1872
|
+
setOrder: g,
|
|
1873
|
+
loop: i,
|
|
1874
|
+
setLoop: m,
|
|
1875
|
+
length: s.length
|
|
1876
|
+
};
|
|
1877
|
+
}
|
|
1878
|
+
function Wt(e) {
|
|
1879
|
+
var H, q, J;
|
|
1864
1880
|
const r = G("aplayer"), {
|
|
1865
1881
|
bodyRef: n,
|
|
1866
1882
|
appearance: a,
|
|
1867
1883
|
volume: i,
|
|
1868
|
-
listMaxHeight:
|
|
1869
|
-
theme:
|
|
1884
|
+
listMaxHeight: m,
|
|
1885
|
+
theme: c,
|
|
1870
1886
|
border: g,
|
|
1871
1887
|
notice: s,
|
|
1872
|
-
audio:
|
|
1873
|
-
audioControl:
|
|
1874
|
-
handlePlayButtonClick:
|
|
1888
|
+
audio: y,
|
|
1889
|
+
audioControl: l,
|
|
1890
|
+
handlePlayButtonClick: h,
|
|
1875
1891
|
handlePlayAudioFromList: x,
|
|
1876
1892
|
isPlaylistOpen: E,
|
|
1877
1893
|
setPlaylistOpen: b,
|
|
1878
1894
|
mini: u,
|
|
1879
|
-
displayLyrics:
|
|
1880
|
-
setDisplayLyrics:
|
|
1881
|
-
setMini:
|
|
1895
|
+
displayLyrics: d,
|
|
1896
|
+
setDisplayLyrics: p,
|
|
1897
|
+
setMini: T,
|
|
1882
1898
|
playlist: j,
|
|
1883
1899
|
hasPlaylist: L
|
|
1884
|
-
} =
|
|
1885
|
-
return /* @__PURE__ */
|
|
1900
|
+
} = Vt(e), z = R((A) => A ? typeof A == "string" ? A : A.url ? /* @__PURE__ */ f.jsx("a", { href: A.url, target: "_blank", rel: "noreferrer", children: A.name ?? "Audio artist" }) : A.name ?? "Audio artist" : "Audio artist", []);
|
|
1901
|
+
return /* @__PURE__ */ f.jsxs(
|
|
1886
1902
|
"div",
|
|
1887
1903
|
{
|
|
1888
1904
|
className: C(r.b(), {
|
|
1889
|
-
[r.bs(
|
|
1905
|
+
[r.bs(c)]: !0,
|
|
1890
1906
|
[r.bs("vars")]: !0,
|
|
1891
1907
|
[r.bm(a)]: !0,
|
|
1892
|
-
[r.bm("loading")]:
|
|
1908
|
+
[r.bm("loading")]: l.isLoading,
|
|
1893
1909
|
[r.bm("withlist")]: L,
|
|
1894
1910
|
[r.bm("list-folded")]: !E,
|
|
1895
1911
|
[r.bm("withlrc")]: !!j.currentSong.lrc && a !== "fixed",
|
|
@@ -1899,112 +1915,113 @@ function Ft(e) {
|
|
|
1899
1915
|
role: "region",
|
|
1900
1916
|
"aria-label": "Audio Player",
|
|
1901
1917
|
children: [
|
|
1902
|
-
/* @__PURE__ */
|
|
1918
|
+
/* @__PURE__ */ f.jsxs(
|
|
1903
1919
|
"div",
|
|
1904
1920
|
{
|
|
1905
1921
|
ref: n,
|
|
1906
1922
|
className: r.be("body"),
|
|
1907
1923
|
children: [
|
|
1908
|
-
/* @__PURE__ */
|
|
1924
|
+
/* @__PURE__ */ f.jsx(
|
|
1909
1925
|
"div",
|
|
1910
1926
|
{
|
|
1911
1927
|
className: r.be("pic"),
|
|
1912
|
-
onClick:
|
|
1928
|
+
onClick: h,
|
|
1913
1929
|
style: {
|
|
1914
|
-
backgroundImage: `url("${(
|
|
1930
|
+
backgroundImage: `url("${(H = j.currentSong) == null ? void 0 : H.cover}")`
|
|
1915
1931
|
},
|
|
1916
1932
|
role: "button",
|
|
1917
|
-
"aria-label":
|
|
1918
|
-
children: /* @__PURE__ */
|
|
1933
|
+
"aria-label": l.isPlaying ? "Pause audio" : "Play audio",
|
|
1934
|
+
children: /* @__PURE__ */ f.jsx(
|
|
1919
1935
|
"div",
|
|
1920
1936
|
{
|
|
1921
1937
|
className: C(
|
|
1922
1938
|
r.be("button"),
|
|
1923
|
-
|
|
1939
|
+
l.isPlaying ? r.bm("pause") : r.bm("play")
|
|
1924
1940
|
),
|
|
1925
1941
|
role: "presentation",
|
|
1926
|
-
children:
|
|
1942
|
+
children: l.isPlaying ? /* @__PURE__ */ f.jsx(vt, {}) : /* @__PURE__ */ f.jsx(jt, {})
|
|
1927
1943
|
}
|
|
1928
1944
|
)
|
|
1929
1945
|
}
|
|
1930
1946
|
),
|
|
1931
|
-
/* @__PURE__ */
|
|
1932
|
-
/* @__PURE__ */
|
|
1933
|
-
/* @__PURE__ */
|
|
1934
|
-
/* @__PURE__ */
|
|
1947
|
+
/* @__PURE__ */ f.jsxs("div", { className: C(r.be("info")), children: [
|
|
1948
|
+
/* @__PURE__ */ f.jsxs("div", { className: C(r.be("music")), children: [
|
|
1949
|
+
/* @__PURE__ */ f.jsx("span", { className: C(r.be("title")), children: ((q = j.currentSong) == null ? void 0 : q.name) ?? "Audio name" }),
|
|
1950
|
+
/* @__PURE__ */ f.jsxs("span", { className: C(r.be("author")), children: [
|
|
1935
1951
|
" ",
|
|
1936
1952
|
"-",
|
|
1937
1953
|
" ",
|
|
1938
|
-
|
|
1954
|
+
z((J = j.currentSong) == null ? void 0 : J.artist)
|
|
1939
1955
|
] })
|
|
1940
1956
|
] }),
|
|
1941
|
-
a === "fixed" ? null : /* @__PURE__ */
|
|
1942
|
-
|
|
1957
|
+
a === "fixed" ? null : /* @__PURE__ */ f.jsx(
|
|
1958
|
+
fr,
|
|
1943
1959
|
{
|
|
1944
|
-
show:
|
|
1960
|
+
show: d,
|
|
1945
1961
|
lrcText: j.currentSong.lrc,
|
|
1946
|
-
currentTime:
|
|
1962
|
+
currentTime: l.currentTime ?? 0
|
|
1947
1963
|
}
|
|
1948
1964
|
),
|
|
1949
|
-
/* @__PURE__ */
|
|
1950
|
-
|
|
1965
|
+
/* @__PURE__ */ f.jsx(
|
|
1966
|
+
Pt,
|
|
1951
1967
|
{
|
|
1952
|
-
volume:
|
|
1953
|
-
onChangeVolume:
|
|
1954
|
-
muted:
|
|
1955
|
-
onToggleMuted: () =>
|
|
1956
|
-
currentTime:
|
|
1957
|
-
audioDurationSeconds:
|
|
1958
|
-
bufferedSeconds:
|
|
1959
|
-
onSeek: (A) =>
|
|
1968
|
+
volume: l.volume ?? i,
|
|
1969
|
+
onChangeVolume: l.setVolume,
|
|
1970
|
+
muted: l.muted ?? !1,
|
|
1971
|
+
onToggleMuted: () => l.toggleMuted(),
|
|
1972
|
+
currentTime: l.currentTime,
|
|
1973
|
+
audioDurationSeconds: l.duration,
|
|
1974
|
+
bufferedSeconds: l.bufferedSeconds,
|
|
1975
|
+
onSeek: (A) => l.seek(A),
|
|
1960
1976
|
onToggleMenu: () => b((A) => !A),
|
|
1961
1977
|
order: j.order,
|
|
1962
1978
|
onOrderChange: j.setOrder,
|
|
1963
1979
|
loop: j.loop,
|
|
1964
1980
|
onLoopChange: j.setLoop,
|
|
1965
|
-
isPlaying:
|
|
1966
|
-
onTogglePlay:
|
|
1981
|
+
isPlaying: l.isPlaying ?? !1,
|
|
1982
|
+
onTogglePlay: h,
|
|
1967
1983
|
onSkipForward: () => {
|
|
1968
1984
|
j.hasNextSong && j.next();
|
|
1969
1985
|
},
|
|
1970
1986
|
onSkipBack: () => {
|
|
1971
1987
|
j.previous();
|
|
1972
1988
|
},
|
|
1973
|
-
showLyrics:
|
|
1989
|
+
showLyrics: d,
|
|
1974
1990
|
onToggleLyrics: () => {
|
|
1975
|
-
|
|
1991
|
+
p((A) => !A);
|
|
1976
1992
|
}
|
|
1977
1993
|
}
|
|
1978
1994
|
)
|
|
1979
1995
|
] }),
|
|
1980
|
-
/* @__PURE__ */
|
|
1981
|
-
/* @__PURE__ */
|
|
1996
|
+
/* @__PURE__ */ f.jsx("div", { className: r.be("notice"), style: s.style, children: s.text }),
|
|
1997
|
+
/* @__PURE__ */ f.jsx(
|
|
1982
1998
|
"div",
|
|
1983
1999
|
{
|
|
1984
2000
|
className: r.be("miniswitcher"),
|
|
1985
|
-
onClick: () =>
|
|
1986
|
-
children: /* @__PURE__ */
|
|
2001
|
+
onClick: () => T((A) => !A),
|
|
2002
|
+
children: /* @__PURE__ */ f.jsx("button", { className: C(r.bs("icon"), r.bs("icon-right")), type: "button", children: /* @__PURE__ */ f.jsx(dt, {}) })
|
|
1987
2003
|
}
|
|
1988
2004
|
)
|
|
1989
2005
|
]
|
|
1990
2006
|
}
|
|
1991
2007
|
),
|
|
1992
|
-
L ? /* @__PURE__ */
|
|
1993
|
-
|
|
2008
|
+
L ? /* @__PURE__ */ f.jsx(
|
|
2009
|
+
Lt,
|
|
1994
2010
|
{
|
|
1995
2011
|
open: E,
|
|
1996
|
-
audio:
|
|
2012
|
+
audio: y,
|
|
1997
2013
|
playingAudioUrl: j.currentSong.url,
|
|
1998
2014
|
onPlayAudio: x,
|
|
1999
|
-
listMaxHeight:
|
|
2015
|
+
listMaxHeight: m,
|
|
2016
|
+
mini: u
|
|
2000
2017
|
}
|
|
2001
2018
|
) : null,
|
|
2002
|
-
a === "fixed" && /* @__PURE__ */
|
|
2003
|
-
|
|
2019
|
+
a === "fixed" && /* @__PURE__ */ f.jsx(
|
|
2020
|
+
fr,
|
|
2004
2021
|
{
|
|
2005
|
-
show:
|
|
2022
|
+
show: d,
|
|
2006
2023
|
lrcText: j.currentSong.lrc,
|
|
2007
|
-
currentTime:
|
|
2024
|
+
currentTime: l.currentTime ?? 0
|
|
2008
2025
|
}
|
|
2009
2026
|
)
|
|
2010
2027
|
]
|
|
@@ -2012,5 +2029,5 @@ function Ft(e) {
|
|
|
2012
2029
|
);
|
|
2013
2030
|
}
|
|
2014
2031
|
export {
|
|
2015
|
-
|
|
2032
|
+
Wt as TwistAPlayer
|
|
2016
2033
|
};
|