@aigamo/hydrangean-diva 0.0.1-alpha.7 → 0.0.1-alpha.8
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.cjs.js +12 -12
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +809 -752
- package/dist/index.es.js.map +1 -1
- package/package.json +11 -11
package/dist/index.es.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
import * as
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import { useNostalgicDiva as
|
|
8
|
-
import { EuiRange as
|
|
9
|
-
import { ArrowRepeat1Filled as
|
|
10
|
-
import { observer as
|
|
11
|
-
import { ReactSortable as
|
|
12
|
-
import { makeObservable as
|
|
1
|
+
var Cr = Object.defineProperty;
|
|
2
|
+
var Ir = (t, e, n) => e in t ? Cr(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n;
|
|
3
|
+
var U = (t, e, n) => Ir(t, typeof e != "symbol" ? e + "" : e, n);
|
|
4
|
+
import * as te from "react";
|
|
5
|
+
import Dt, { forwardRef as Pr, useContext as st, useCallback as $, memo as Z, useState as q, useLayoutEffect as Rr, useMemo as zt, createContext as Lt, useEffect as wr } from "react";
|
|
6
|
+
import Or from "@emotion/cache";
|
|
7
|
+
import { useNostalgicDiva as ie, findVideoService as _r, NostalgicDiva as Ar } from "@aigamo/nostalgic-diva";
|
|
8
|
+
import { EuiRange as Vt, EuiButtonIcon as K, EuiFlexGroup as me, EuiFlexItem as G, EuiBottomBar as kr, EuiFormRow as tt, EuiPopover as lt, EuiIcon as H, EuiContextMenu as Mr, EuiButton as ne, EuiModalHeaderTitle as Fr, EuiModalHeader as jr, EuiForm as Nr, EuiFieldText as It, EuiModalBody as $r, EuiModalFooter as Dr, EuiButtonEmpty as zr, EuiModal as Lr, useEuiTheme as Yt, EuiCheckbox as Bt, EuiTableHeaderCellCheckbox as Vr, EuiTableHeaderCell as Xe, EuiTableHeader as Yr, EuiContextMenuItem as Br, EuiHorizontalRule as Pt, EuiContextMenuPanel as Wr, EuiTableRowCell as rt, EuiTableRowCellCheckbox as Ur, EuiLink as qr, EuiTableRow as Hr, EuiTable as Gr, EuiCodeBlock as Jr, EuiFlyout as Kr, EuiSpacer as Wt, EuiPageTemplate as nt } from "@elastic/eui";
|
|
9
|
+
import { ArrowRepeat1Filled as Xr, ArrowRepeatAllFilled as Zr, ArrowRepeatAllOffFilled as Qr, ArrowShuffleFilled as en, ArrowShuffleOffFilled as tn, PreviousFilled as rn, PauseFilled as nn, PlayFilled as on, NextFilled as an, Speaker2Regular as Ut, MoreHorizontalFilled as qt, TopSpeedRegular as sn, SkipBack10Regular as ln, SkipForward30Regular as cn, DismissRegular as ct, AddRegular as ut, ArrowUploadRegular as un, ArrowDownloadRegular as fn, PlayRegular as dn, DeleteRegular as mn } from "@fluentui/react-icons";
|
|
10
|
+
import { observer as Y } from "mobx-react-lite";
|
|
11
|
+
import { ReactSortable as hn } from "react-sortablejs";
|
|
12
|
+
import { makeObservable as vn, action as y, computed as _, observable as re, reaction as pn } from "mobx";
|
|
13
13
|
import { pull as Rt } from "lodash-es";
|
|
14
|
-
import
|
|
15
|
-
var
|
|
14
|
+
import yn from "ajv";
|
|
15
|
+
var De = { exports: {} }, xe = {};
|
|
16
16
|
/**
|
|
17
17
|
* @license React
|
|
18
18
|
* react-jsx-runtime.production.min.js
|
|
@@ -22,21 +22,21 @@ var tt = { exports: {} }, xe = {};
|
|
|
22
22
|
* This source code is licensed under the MIT license found in the
|
|
23
23
|
* LICENSE file in the root directory of this source tree.
|
|
24
24
|
*/
|
|
25
|
-
var
|
|
26
|
-
function
|
|
27
|
-
if (
|
|
28
|
-
|
|
29
|
-
var t =
|
|
25
|
+
var wt;
|
|
26
|
+
function gn() {
|
|
27
|
+
if (wt) return xe;
|
|
28
|
+
wt = 1;
|
|
29
|
+
var t = Dt, e = Symbol.for("react.element"), n = Symbol.for("react.fragment"), i = Object.prototype.hasOwnProperty, a = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, l = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
30
30
|
function f(m, h, p) {
|
|
31
|
-
var
|
|
32
|
-
p !== void 0 && (
|
|
33
|
-
for (
|
|
34
|
-
if (m && m.defaultProps) for (
|
|
35
|
-
return { $$typeof: e, type: m, key:
|
|
31
|
+
var E, P = {}, D = null, j = null;
|
|
32
|
+
p !== void 0 && (D = "" + p), h.key !== void 0 && (D = "" + h.key), h.ref !== void 0 && (j = h.ref);
|
|
33
|
+
for (E in h) i.call(h, E) && !l.hasOwnProperty(E) && (P[E] = h[E]);
|
|
34
|
+
if (m && m.defaultProps) for (E in h = m.defaultProps, h) P[E] === void 0 && (P[E] = h[E]);
|
|
35
|
+
return { $$typeof: e, type: m, key: D, ref: j, props: P, _owner: a.current };
|
|
36
36
|
}
|
|
37
37
|
return xe.Fragment = n, xe.jsx = f, xe.jsxs = f, xe;
|
|
38
38
|
}
|
|
39
|
-
var
|
|
39
|
+
var Se = {};
|
|
40
40
|
/**
|
|
41
41
|
* @license React
|
|
42
42
|
* react-jsx-runtime.development.js
|
|
@@ -46,57 +46,57 @@ var Te = {};
|
|
|
46
46
|
* This source code is licensed under the MIT license found in the
|
|
47
47
|
* LICENSE file in the root directory of this source tree.
|
|
48
48
|
*/
|
|
49
|
-
var
|
|
50
|
-
function
|
|
51
|
-
return
|
|
52
|
-
var t =
|
|
53
|
-
function
|
|
49
|
+
var Ot;
|
|
50
|
+
function bn() {
|
|
51
|
+
return Ot || (Ot = 1, process.env.NODE_ENV !== "production" && function() {
|
|
52
|
+
var t = Dt, e = Symbol.for("react.element"), n = Symbol.for("react.portal"), i = Symbol.for("react.fragment"), a = Symbol.for("react.strict_mode"), l = Symbol.for("react.profiler"), f = Symbol.for("react.provider"), m = Symbol.for("react.context"), h = Symbol.for("react.forward_ref"), p = Symbol.for("react.suspense"), E = Symbol.for("react.suspense_list"), P = Symbol.for("react.memo"), D = Symbol.for("react.lazy"), j = Symbol.for("react.offscreen"), A = Symbol.iterator, B = "@@iterator";
|
|
53
|
+
function Q(r) {
|
|
54
54
|
if (r === null || typeof r != "object")
|
|
55
55
|
return null;
|
|
56
|
-
var s =
|
|
56
|
+
var s = A && r[A] || r[B];
|
|
57
57
|
return typeof s == "function" ? s : null;
|
|
58
58
|
}
|
|
59
|
-
var
|
|
60
|
-
function
|
|
59
|
+
var z = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
60
|
+
function I(r) {
|
|
61
61
|
{
|
|
62
|
-
for (var s = arguments.length,
|
|
63
|
-
|
|
64
|
-
|
|
62
|
+
for (var s = arguments.length, u = new Array(s > 1 ? s - 1 : 0), v = 1; v < s; v++)
|
|
63
|
+
u[v - 1] = arguments[v];
|
|
64
|
+
k("error", r, u);
|
|
65
65
|
}
|
|
66
66
|
}
|
|
67
|
-
function
|
|
67
|
+
function k(r, s, u) {
|
|
68
68
|
{
|
|
69
|
-
var v =
|
|
70
|
-
|
|
71
|
-
var
|
|
69
|
+
var v = z.ReactDebugCurrentFrame, T = v.getStackAddendum();
|
|
70
|
+
T !== "" && (s += "%s", u = u.concat([T]));
|
|
71
|
+
var C = u.map(function(b) {
|
|
72
72
|
return String(b);
|
|
73
73
|
});
|
|
74
|
-
|
|
74
|
+
C.unshift("Warning: " + s), Function.prototype.apply.call(console[r], console, C);
|
|
75
75
|
}
|
|
76
76
|
}
|
|
77
|
-
var
|
|
78
|
-
|
|
79
|
-
function
|
|
80
|
-
return !!(typeof r == "string" || typeof r == "function" || r === i || r === l ||
|
|
77
|
+
var w = !1, c = !1, L = !1, he = !1, we = !1, Oe;
|
|
78
|
+
Oe = Symbol.for("react.module.reference");
|
|
79
|
+
function Ve(r) {
|
|
80
|
+
return !!(typeof r == "string" || typeof r == "function" || r === i || r === l || we || r === a || r === p || r === E || he || r === j || w || c || L || typeof r == "object" && r !== null && (r.$$typeof === D || r.$$typeof === P || r.$$typeof === f || r.$$typeof === m || r.$$typeof === h || // This needs to include all possible module reference object
|
|
81
81
|
// types supported by any Flight configuration anywhere since
|
|
82
82
|
// we don't know which Flight build this will end up being used
|
|
83
83
|
// with.
|
|
84
|
-
r.$$typeof ===
|
|
84
|
+
r.$$typeof === Oe || r.getModuleId !== void 0));
|
|
85
85
|
}
|
|
86
|
-
function
|
|
86
|
+
function Ye(r, s, u) {
|
|
87
87
|
var v = r.displayName;
|
|
88
88
|
if (v)
|
|
89
89
|
return v;
|
|
90
|
-
var
|
|
91
|
-
return
|
|
90
|
+
var T = s.displayName || s.name || "";
|
|
91
|
+
return T !== "" ? u + "(" + T + ")" : u;
|
|
92
92
|
}
|
|
93
|
-
function
|
|
93
|
+
function _e(r) {
|
|
94
94
|
return r.displayName || "Context";
|
|
95
95
|
}
|
|
96
|
-
function
|
|
96
|
+
function J(r) {
|
|
97
97
|
if (r == null)
|
|
98
98
|
return null;
|
|
99
|
-
if (typeof r.tag == "number" &&
|
|
99
|
+
if (typeof r.tag == "number" && I("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof r == "function")
|
|
100
100
|
return r.displayName || r.name || null;
|
|
101
101
|
if (typeof r == "string")
|
|
102
102
|
return r;
|
|
@@ -111,26 +111,26 @@ function yn() {
|
|
|
111
111
|
return "StrictMode";
|
|
112
112
|
case p:
|
|
113
113
|
return "Suspense";
|
|
114
|
-
case
|
|
114
|
+
case E:
|
|
115
115
|
return "SuspenseList";
|
|
116
116
|
}
|
|
117
117
|
if (typeof r == "object")
|
|
118
118
|
switch (r.$$typeof) {
|
|
119
119
|
case m:
|
|
120
120
|
var s = r;
|
|
121
|
-
return
|
|
121
|
+
return _e(s) + ".Consumer";
|
|
122
122
|
case f:
|
|
123
|
-
var
|
|
124
|
-
return
|
|
123
|
+
var u = r;
|
|
124
|
+
return _e(u._context) + ".Provider";
|
|
125
125
|
case h:
|
|
126
|
-
return
|
|
127
|
-
case
|
|
126
|
+
return Ye(r, r.render, "ForwardRef");
|
|
127
|
+
case P:
|
|
128
128
|
var v = r.displayName || null;
|
|
129
|
-
return v !== null ? v :
|
|
130
|
-
case
|
|
131
|
-
var
|
|
129
|
+
return v !== null ? v : J(r.type) || "Memo";
|
|
130
|
+
case D: {
|
|
131
|
+
var T = r, C = T._payload, b = T._init;
|
|
132
132
|
try {
|
|
133
|
-
return
|
|
133
|
+
return J(b(C));
|
|
134
134
|
} catch {
|
|
135
135
|
return null;
|
|
136
136
|
}
|
|
@@ -138,18 +138,18 @@ function yn() {
|
|
|
138
138
|
}
|
|
139
139
|
return null;
|
|
140
140
|
}
|
|
141
|
-
var
|
|
142
|
-
function
|
|
141
|
+
var ee = Object.assign, oe = 0, Ae, ke, ve, Me, pe, Fe, je;
|
|
142
|
+
function Ne() {
|
|
143
143
|
}
|
|
144
|
-
|
|
145
|
-
function
|
|
144
|
+
Ne.__reactDisabledLog = !0;
|
|
145
|
+
function Be() {
|
|
146
146
|
{
|
|
147
|
-
if (
|
|
148
|
-
|
|
147
|
+
if (oe === 0) {
|
|
148
|
+
Ae = console.log, ke = console.info, ve = console.warn, Me = console.error, pe = console.group, Fe = console.groupCollapsed, je = console.groupEnd;
|
|
149
149
|
var r = {
|
|
150
150
|
configurable: !0,
|
|
151
151
|
enumerable: !0,
|
|
152
|
-
value:
|
|
152
|
+
value: Ne,
|
|
153
153
|
writable: !0
|
|
154
154
|
};
|
|
155
155
|
Object.defineProperties(console, {
|
|
@@ -162,77 +162,77 @@ function yn() {
|
|
|
162
162
|
groupEnd: r
|
|
163
163
|
});
|
|
164
164
|
}
|
|
165
|
-
|
|
165
|
+
oe++;
|
|
166
166
|
}
|
|
167
167
|
}
|
|
168
|
-
function
|
|
168
|
+
function We() {
|
|
169
169
|
{
|
|
170
|
-
if (
|
|
170
|
+
if (oe--, oe === 0) {
|
|
171
171
|
var r = {
|
|
172
172
|
configurable: !0,
|
|
173
173
|
enumerable: !0,
|
|
174
174
|
writable: !0
|
|
175
175
|
};
|
|
176
176
|
Object.defineProperties(console, {
|
|
177
|
-
log:
|
|
178
|
-
value:
|
|
177
|
+
log: ee({}, r, {
|
|
178
|
+
value: Ae
|
|
179
179
|
}),
|
|
180
|
-
info:
|
|
181
|
-
value:
|
|
180
|
+
info: ee({}, r, {
|
|
181
|
+
value: ke
|
|
182
182
|
}),
|
|
183
|
-
warn:
|
|
184
|
-
value:
|
|
183
|
+
warn: ee({}, r, {
|
|
184
|
+
value: ve
|
|
185
185
|
}),
|
|
186
|
-
error:
|
|
187
|
-
value:
|
|
186
|
+
error: ee({}, r, {
|
|
187
|
+
value: Me
|
|
188
188
|
}),
|
|
189
|
-
group:
|
|
190
|
-
value:
|
|
189
|
+
group: ee({}, r, {
|
|
190
|
+
value: pe
|
|
191
191
|
}),
|
|
192
|
-
groupCollapsed:
|
|
193
|
-
value:
|
|
192
|
+
groupCollapsed: ee({}, r, {
|
|
193
|
+
value: Fe
|
|
194
194
|
}),
|
|
195
|
-
groupEnd:
|
|
196
|
-
value:
|
|
195
|
+
groupEnd: ee({}, r, {
|
|
196
|
+
value: je
|
|
197
197
|
})
|
|
198
198
|
});
|
|
199
199
|
}
|
|
200
|
-
|
|
200
|
+
oe < 0 && I("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
201
201
|
}
|
|
202
202
|
}
|
|
203
|
-
var
|
|
204
|
-
function
|
|
203
|
+
var ye = z.ReactCurrentDispatcher, ge;
|
|
204
|
+
function le(r, s, u) {
|
|
205
205
|
{
|
|
206
|
-
if (
|
|
206
|
+
if (ge === void 0)
|
|
207
207
|
try {
|
|
208
208
|
throw Error();
|
|
209
|
-
} catch (
|
|
210
|
-
var v =
|
|
211
|
-
|
|
209
|
+
} catch (T) {
|
|
210
|
+
var v = T.stack.trim().match(/\n( *(at )?)/);
|
|
211
|
+
ge = v && v[1] || "";
|
|
212
212
|
}
|
|
213
213
|
return `
|
|
214
|
-
` +
|
|
214
|
+
` + ge + r;
|
|
215
215
|
}
|
|
216
216
|
}
|
|
217
|
-
var
|
|
217
|
+
var be = !1, ce;
|
|
218
218
|
{
|
|
219
|
-
var
|
|
220
|
-
|
|
219
|
+
var Ue = typeof WeakMap == "function" ? WeakMap : Map;
|
|
220
|
+
ce = new Ue();
|
|
221
221
|
}
|
|
222
222
|
function d(r, s) {
|
|
223
|
-
if (!r ||
|
|
223
|
+
if (!r || be)
|
|
224
224
|
return "";
|
|
225
225
|
{
|
|
226
|
-
var
|
|
227
|
-
if (
|
|
228
|
-
return
|
|
226
|
+
var u = ce.get(r);
|
|
227
|
+
if (u !== void 0)
|
|
228
|
+
return u;
|
|
229
229
|
}
|
|
230
230
|
var v;
|
|
231
|
-
|
|
232
|
-
var
|
|
231
|
+
be = !0;
|
|
232
|
+
var T = Error.prepareStackTrace;
|
|
233
233
|
Error.prepareStackTrace = void 0;
|
|
234
|
-
var
|
|
235
|
-
|
|
234
|
+
var C;
|
|
235
|
+
C = ye.current, ye.current = null, Be();
|
|
236
236
|
try {
|
|
237
237
|
if (s) {
|
|
238
238
|
var b = function() {
|
|
@@ -245,196 +245,196 @@ function yn() {
|
|
|
245
245
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
246
246
|
try {
|
|
247
247
|
Reflect.construct(b, []);
|
|
248
|
-
} catch (
|
|
249
|
-
v =
|
|
248
|
+
} catch (V) {
|
|
249
|
+
v = V;
|
|
250
250
|
}
|
|
251
251
|
Reflect.construct(r, [], b);
|
|
252
252
|
} else {
|
|
253
253
|
try {
|
|
254
254
|
b.call();
|
|
255
|
-
} catch (
|
|
256
|
-
v =
|
|
255
|
+
} catch (V) {
|
|
256
|
+
v = V;
|
|
257
257
|
}
|
|
258
258
|
r.call(b.prototype);
|
|
259
259
|
}
|
|
260
260
|
} else {
|
|
261
261
|
try {
|
|
262
262
|
throw Error();
|
|
263
|
-
} catch (
|
|
264
|
-
v =
|
|
263
|
+
} catch (V) {
|
|
264
|
+
v = V;
|
|
265
265
|
}
|
|
266
266
|
r();
|
|
267
267
|
}
|
|
268
|
-
} catch (
|
|
269
|
-
if (
|
|
270
|
-
for (var g =
|
|
271
|
-
`),
|
|
272
|
-
`),
|
|
273
|
-
|
|
274
|
-
for (;
|
|
275
|
-
if (g[
|
|
276
|
-
if (
|
|
268
|
+
} catch (V) {
|
|
269
|
+
if (V && v && typeof V.stack == "string") {
|
|
270
|
+
for (var g = V.stack.split(`
|
|
271
|
+
`), N = v.stack.split(`
|
|
272
|
+
`), O = g.length - 1, M = N.length - 1; O >= 1 && M >= 0 && g[O] !== N[M]; )
|
|
273
|
+
M--;
|
|
274
|
+
for (; O >= 1 && M >= 0; O--, M--)
|
|
275
|
+
if (g[O] !== N[M]) {
|
|
276
|
+
if (O !== 1 || M !== 1)
|
|
277
277
|
do
|
|
278
|
-
if (
|
|
279
|
-
var
|
|
280
|
-
` + g[
|
|
281
|
-
return r.displayName &&
|
|
278
|
+
if (O--, M--, M < 0 || g[O] !== N[M]) {
|
|
279
|
+
var W = `
|
|
280
|
+
` + g[O].replace(" at new ", " at ");
|
|
281
|
+
return r.displayName && W.includes("<anonymous>") && (W = W.replace("<anonymous>", r.displayName)), typeof r == "function" && ce.set(r, W), W;
|
|
282
282
|
}
|
|
283
|
-
while (
|
|
283
|
+
while (O >= 1 && M >= 0);
|
|
284
284
|
break;
|
|
285
285
|
}
|
|
286
286
|
}
|
|
287
287
|
} finally {
|
|
288
|
-
|
|
288
|
+
be = !1, ye.current = C, We(), Error.prepareStackTrace = T;
|
|
289
289
|
}
|
|
290
|
-
var
|
|
291
|
-
return typeof r == "function" &&
|
|
290
|
+
var de = r ? r.displayName || r.name : "", se = de ? le(de) : "";
|
|
291
|
+
return typeof r == "function" && ce.set(r, se), se;
|
|
292
292
|
}
|
|
293
|
-
function
|
|
293
|
+
function Ee(r, s, u) {
|
|
294
294
|
return d(r, !1);
|
|
295
295
|
}
|
|
296
|
-
function
|
|
296
|
+
function ue(r) {
|
|
297
297
|
var s = r.prototype;
|
|
298
298
|
return !!(s && s.isReactComponent);
|
|
299
299
|
}
|
|
300
|
-
function
|
|
300
|
+
function ae(r, s, u) {
|
|
301
301
|
if (r == null)
|
|
302
302
|
return "";
|
|
303
303
|
if (typeof r == "function")
|
|
304
|
-
return d(r,
|
|
304
|
+
return d(r, ue(r));
|
|
305
305
|
if (typeof r == "string")
|
|
306
|
-
return
|
|
306
|
+
return le(r);
|
|
307
307
|
switch (r) {
|
|
308
308
|
case p:
|
|
309
|
-
return
|
|
310
|
-
case
|
|
311
|
-
return
|
|
309
|
+
return le("Suspense");
|
|
310
|
+
case E:
|
|
311
|
+
return le("SuspenseList");
|
|
312
312
|
}
|
|
313
313
|
if (typeof r == "object")
|
|
314
314
|
switch (r.$$typeof) {
|
|
315
315
|
case h:
|
|
316
|
-
return
|
|
317
|
-
case
|
|
318
|
-
return
|
|
319
|
-
case
|
|
320
|
-
var v = r,
|
|
316
|
+
return Ee(r.render);
|
|
317
|
+
case P:
|
|
318
|
+
return ae(r.type, s, u);
|
|
319
|
+
case D: {
|
|
320
|
+
var v = r, T = v._payload, C = v._init;
|
|
321
321
|
try {
|
|
322
|
-
return
|
|
322
|
+
return ae(C(T), s, u);
|
|
323
323
|
} catch {
|
|
324
324
|
}
|
|
325
325
|
}
|
|
326
326
|
}
|
|
327
327
|
return "";
|
|
328
328
|
}
|
|
329
|
-
var
|
|
329
|
+
var Te = Object.prototype.hasOwnProperty, ft = {}, dt = z.ReactDebugCurrentFrame;
|
|
330
330
|
function $e(r) {
|
|
331
331
|
if (r) {
|
|
332
|
-
var s = r._owner,
|
|
333
|
-
dt.setExtraStackFrame(
|
|
332
|
+
var s = r._owner, u = ae(r.type, r._source, s ? s.type : null);
|
|
333
|
+
dt.setExtraStackFrame(u);
|
|
334
334
|
} else
|
|
335
335
|
dt.setExtraStackFrame(null);
|
|
336
336
|
}
|
|
337
|
-
function
|
|
337
|
+
function rr(r, s, u, v, T) {
|
|
338
338
|
{
|
|
339
|
-
var
|
|
339
|
+
var C = Function.call.bind(Te);
|
|
340
340
|
for (var b in r)
|
|
341
|
-
if (
|
|
341
|
+
if (C(r, b)) {
|
|
342
342
|
var g = void 0;
|
|
343
343
|
try {
|
|
344
344
|
if (typeof r[b] != "function") {
|
|
345
|
-
var
|
|
346
|
-
throw
|
|
345
|
+
var N = Error((v || "React class") + ": " + u + " type `" + b + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof r[b] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
346
|
+
throw N.name = "Invariant Violation", N;
|
|
347
347
|
}
|
|
348
|
-
g = r[b](s, b, v,
|
|
349
|
-
} catch (
|
|
350
|
-
g =
|
|
348
|
+
g = r[b](s, b, v, u, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
349
|
+
} catch (O) {
|
|
350
|
+
g = O;
|
|
351
351
|
}
|
|
352
|
-
g && !(g instanceof Error) && ($e(
|
|
352
|
+
g && !(g instanceof Error) && ($e(T), I("%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).", v || "React class", u, b, typeof g), $e(null)), g instanceof Error && !(g.message in ft) && (ft[g.message] = !0, $e(T), I("Failed %s type: %s", u, g.message), $e(null));
|
|
353
353
|
}
|
|
354
354
|
}
|
|
355
355
|
}
|
|
356
|
-
var
|
|
357
|
-
function
|
|
358
|
-
return
|
|
356
|
+
var nr = Array.isArray;
|
|
357
|
+
function qe(r) {
|
|
358
|
+
return nr(r);
|
|
359
359
|
}
|
|
360
|
-
function
|
|
360
|
+
function ir(r) {
|
|
361
361
|
{
|
|
362
|
-
var s = typeof Symbol == "function" && Symbol.toStringTag,
|
|
363
|
-
return
|
|
362
|
+
var s = typeof Symbol == "function" && Symbol.toStringTag, u = s && r[Symbol.toStringTag] || r.constructor.name || "Object";
|
|
363
|
+
return u;
|
|
364
364
|
}
|
|
365
365
|
}
|
|
366
|
-
function
|
|
366
|
+
function or(r) {
|
|
367
367
|
try {
|
|
368
|
-
return
|
|
368
|
+
return mt(r), !1;
|
|
369
369
|
} catch {
|
|
370
370
|
return !0;
|
|
371
371
|
}
|
|
372
372
|
}
|
|
373
|
-
function
|
|
373
|
+
function mt(r) {
|
|
374
374
|
return "" + r;
|
|
375
375
|
}
|
|
376
|
-
function
|
|
377
|
-
if (
|
|
378
|
-
return
|
|
376
|
+
function ht(r) {
|
|
377
|
+
if (or(r))
|
|
378
|
+
return I("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", ir(r)), mt(r);
|
|
379
379
|
}
|
|
380
|
-
var
|
|
380
|
+
var vt = z.ReactCurrentOwner, ar = {
|
|
381
381
|
key: !0,
|
|
382
382
|
ref: !0,
|
|
383
383
|
__self: !0,
|
|
384
384
|
__source: !0
|
|
385
|
-
},
|
|
386
|
-
function
|
|
387
|
-
if (
|
|
385
|
+
}, pt, yt;
|
|
386
|
+
function sr(r) {
|
|
387
|
+
if (Te.call(r, "ref")) {
|
|
388
388
|
var s = Object.getOwnPropertyDescriptor(r, "ref").get;
|
|
389
389
|
if (s && s.isReactWarning)
|
|
390
390
|
return !1;
|
|
391
391
|
}
|
|
392
392
|
return r.ref !== void 0;
|
|
393
393
|
}
|
|
394
|
-
function
|
|
395
|
-
if (
|
|
394
|
+
function lr(r) {
|
|
395
|
+
if (Te.call(r, "key")) {
|
|
396
396
|
var s = Object.getOwnPropertyDescriptor(r, "key").get;
|
|
397
397
|
if (s && s.isReactWarning)
|
|
398
398
|
return !1;
|
|
399
399
|
}
|
|
400
400
|
return r.key !== void 0;
|
|
401
401
|
}
|
|
402
|
-
function
|
|
403
|
-
typeof r.ref == "string" &&
|
|
402
|
+
function cr(r, s) {
|
|
403
|
+
typeof r.ref == "string" && vt.current;
|
|
404
404
|
}
|
|
405
|
-
function
|
|
405
|
+
function ur(r, s) {
|
|
406
406
|
{
|
|
407
|
-
var
|
|
408
|
-
|
|
407
|
+
var u = function() {
|
|
408
|
+
pt || (pt = !0, I("%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)", s));
|
|
409
409
|
};
|
|
410
|
-
|
|
411
|
-
get:
|
|
410
|
+
u.isReactWarning = !0, Object.defineProperty(r, "key", {
|
|
411
|
+
get: u,
|
|
412
412
|
configurable: !0
|
|
413
413
|
});
|
|
414
414
|
}
|
|
415
415
|
}
|
|
416
|
-
function
|
|
416
|
+
function fr(r, s) {
|
|
417
417
|
{
|
|
418
|
-
var
|
|
419
|
-
|
|
418
|
+
var u = function() {
|
|
419
|
+
yt || (yt = !0, I("%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)", s));
|
|
420
420
|
};
|
|
421
|
-
|
|
422
|
-
get:
|
|
421
|
+
u.isReactWarning = !0, Object.defineProperty(r, "ref", {
|
|
422
|
+
get: u,
|
|
423
423
|
configurable: !0
|
|
424
424
|
});
|
|
425
425
|
}
|
|
426
426
|
}
|
|
427
|
-
var
|
|
427
|
+
var dr = function(r, s, u, v, T, C, b) {
|
|
428
428
|
var g = {
|
|
429
429
|
// This tag allows us to uniquely identify this as a React Element
|
|
430
430
|
$$typeof: e,
|
|
431
431
|
// Built-in properties that belong on the element
|
|
432
432
|
type: r,
|
|
433
433
|
key: s,
|
|
434
|
-
ref:
|
|
434
|
+
ref: u,
|
|
435
435
|
props: b,
|
|
436
436
|
// Record the component responsible for creating this element.
|
|
437
|
-
_owner:
|
|
437
|
+
_owner: C
|
|
438
438
|
};
|
|
439
439
|
return g._store = {}, Object.defineProperty(g._store, "validated", {
|
|
440
440
|
configurable: !1,
|
|
@@ -450,44 +450,44 @@ function yn() {
|
|
|
450
450
|
configurable: !1,
|
|
451
451
|
enumerable: !1,
|
|
452
452
|
writable: !1,
|
|
453
|
-
value:
|
|
453
|
+
value: T
|
|
454
454
|
}), Object.freeze && (Object.freeze(g.props), Object.freeze(g)), g;
|
|
455
455
|
};
|
|
456
|
-
function
|
|
456
|
+
function mr(r, s, u, v, T) {
|
|
457
457
|
{
|
|
458
|
-
var
|
|
459
|
-
|
|
460
|
-
for (
|
|
461
|
-
|
|
458
|
+
var C, b = {}, g = null, N = null;
|
|
459
|
+
u !== void 0 && (ht(u), g = "" + u), lr(s) && (ht(s.key), g = "" + s.key), sr(s) && (N = s.ref, cr(s, T));
|
|
460
|
+
for (C in s)
|
|
461
|
+
Te.call(s, C) && !ar.hasOwnProperty(C) && (b[C] = s[C]);
|
|
462
462
|
if (r && r.defaultProps) {
|
|
463
|
-
var
|
|
464
|
-
for (
|
|
465
|
-
b[
|
|
463
|
+
var O = r.defaultProps;
|
|
464
|
+
for (C in O)
|
|
465
|
+
b[C] === void 0 && (b[C] = O[C]);
|
|
466
466
|
}
|
|
467
|
-
if (g ||
|
|
468
|
-
var
|
|
469
|
-
g &&
|
|
467
|
+
if (g || N) {
|
|
468
|
+
var M = typeof r == "function" ? r.displayName || r.name || "Unknown" : r;
|
|
469
|
+
g && ur(b, M), N && fr(b, M);
|
|
470
470
|
}
|
|
471
|
-
return
|
|
471
|
+
return dr(r, g, N, T, v, vt.current, b);
|
|
472
472
|
}
|
|
473
473
|
}
|
|
474
|
-
var
|
|
475
|
-
function
|
|
474
|
+
var He = z.ReactCurrentOwner, gt = z.ReactDebugCurrentFrame;
|
|
475
|
+
function fe(r) {
|
|
476
476
|
if (r) {
|
|
477
|
-
var s = r._owner,
|
|
478
|
-
|
|
477
|
+
var s = r._owner, u = ae(r.type, r._source, s ? s.type : null);
|
|
478
|
+
gt.setExtraStackFrame(u);
|
|
479
479
|
} else
|
|
480
|
-
|
|
480
|
+
gt.setExtraStackFrame(null);
|
|
481
481
|
}
|
|
482
|
-
var
|
|
483
|
-
|
|
484
|
-
function
|
|
482
|
+
var Ge;
|
|
483
|
+
Ge = !1;
|
|
484
|
+
function Je(r) {
|
|
485
485
|
return typeof r == "object" && r !== null && r.$$typeof === e;
|
|
486
486
|
}
|
|
487
|
-
function
|
|
487
|
+
function bt() {
|
|
488
488
|
{
|
|
489
|
-
if (
|
|
490
|
-
var r =
|
|
489
|
+
if (He.current) {
|
|
490
|
+
var r = J(He.current.type);
|
|
491
491
|
if (r)
|
|
492
492
|
return `
|
|
493
493
|
|
|
@@ -496,148 +496,151 @@ Check the render method of \`` + r + "`.";
|
|
|
496
496
|
return "";
|
|
497
497
|
}
|
|
498
498
|
}
|
|
499
|
-
function
|
|
499
|
+
function hr(r) {
|
|
500
500
|
return "";
|
|
501
501
|
}
|
|
502
|
-
var
|
|
503
|
-
function
|
|
502
|
+
var Et = {};
|
|
503
|
+
function vr(r) {
|
|
504
504
|
{
|
|
505
|
-
var s =
|
|
505
|
+
var s = bt();
|
|
506
506
|
if (!s) {
|
|
507
|
-
var
|
|
508
|
-
|
|
507
|
+
var u = typeof r == "string" ? r : r.displayName || r.name;
|
|
508
|
+
u && (s = `
|
|
509
509
|
|
|
510
|
-
Check the top-level render call using <` +
|
|
510
|
+
Check the top-level render call using <` + u + ">.");
|
|
511
511
|
}
|
|
512
512
|
return s;
|
|
513
513
|
}
|
|
514
514
|
}
|
|
515
|
-
function
|
|
515
|
+
function Tt(r, s) {
|
|
516
516
|
{
|
|
517
517
|
if (!r._store || r._store.validated || r.key != null)
|
|
518
518
|
return;
|
|
519
519
|
r._store.validated = !0;
|
|
520
|
-
var
|
|
521
|
-
if (
|
|
520
|
+
var u = vr(s);
|
|
521
|
+
if (Et[u])
|
|
522
522
|
return;
|
|
523
|
-
|
|
523
|
+
Et[u] = !0;
|
|
524
524
|
var v = "";
|
|
525
|
-
r && r._owner && r._owner !==
|
|
525
|
+
r && r._owner && r._owner !== He.current && (v = " It was passed a child from " + J(r._owner.type) + "."), fe(r), I('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', u, v), fe(null);
|
|
526
526
|
}
|
|
527
527
|
}
|
|
528
528
|
function xt(r, s) {
|
|
529
529
|
{
|
|
530
530
|
if (typeof r != "object")
|
|
531
531
|
return;
|
|
532
|
-
if (
|
|
533
|
-
for (var
|
|
534
|
-
var v = r[
|
|
535
|
-
|
|
532
|
+
if (qe(r))
|
|
533
|
+
for (var u = 0; u < r.length; u++) {
|
|
534
|
+
var v = r[u];
|
|
535
|
+
Je(v) && Tt(v, s);
|
|
536
536
|
}
|
|
537
|
-
else if (
|
|
537
|
+
else if (Je(r))
|
|
538
538
|
r._store && (r._store.validated = !0);
|
|
539
539
|
else if (r) {
|
|
540
|
-
var
|
|
541
|
-
if (typeof
|
|
542
|
-
for (var
|
|
543
|
-
|
|
540
|
+
var T = Q(r);
|
|
541
|
+
if (typeof T == "function" && T !== r.entries)
|
|
542
|
+
for (var C = T.call(r), b; !(b = C.next()).done; )
|
|
543
|
+
Je(b.value) && Tt(b.value, s);
|
|
544
544
|
}
|
|
545
545
|
}
|
|
546
546
|
}
|
|
547
|
-
function
|
|
547
|
+
function pr(r) {
|
|
548
548
|
{
|
|
549
549
|
var s = r.type;
|
|
550
550
|
if (s == null || typeof s == "string")
|
|
551
551
|
return;
|
|
552
|
-
var
|
|
552
|
+
var u;
|
|
553
553
|
if (typeof s == "function")
|
|
554
|
-
|
|
554
|
+
u = s.propTypes;
|
|
555
555
|
else if (typeof s == "object" && (s.$$typeof === h || // Note: Memo only checks outer props here.
|
|
556
556
|
// Inner props are checked in the reconciler.
|
|
557
|
-
s.$$typeof ===
|
|
558
|
-
|
|
557
|
+
s.$$typeof === P))
|
|
558
|
+
u = s.propTypes;
|
|
559
559
|
else
|
|
560
560
|
return;
|
|
561
|
-
if (
|
|
562
|
-
var v =
|
|
563
|
-
|
|
564
|
-
} else if (s.PropTypes !== void 0 && !
|
|
565
|
-
|
|
566
|
-
var
|
|
567
|
-
|
|
561
|
+
if (u) {
|
|
562
|
+
var v = J(s);
|
|
563
|
+
rr(u, r.props, "prop", v, r);
|
|
564
|
+
} else if (s.PropTypes !== void 0 && !Ge) {
|
|
565
|
+
Ge = !0;
|
|
566
|
+
var T = J(s);
|
|
567
|
+
I("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", T || "Unknown");
|
|
568
568
|
}
|
|
569
|
-
typeof s.getDefaultProps == "function" && !s.getDefaultProps.isReactClassApproved &&
|
|
569
|
+
typeof s.getDefaultProps == "function" && !s.getDefaultProps.isReactClassApproved && I("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
570
570
|
}
|
|
571
571
|
}
|
|
572
|
-
function
|
|
572
|
+
function yr(r) {
|
|
573
573
|
{
|
|
574
|
-
for (var s = Object.keys(r.props),
|
|
575
|
-
var v = s[
|
|
574
|
+
for (var s = Object.keys(r.props), u = 0; u < s.length; u++) {
|
|
575
|
+
var v = s[u];
|
|
576
576
|
if (v !== "children" && v !== "key") {
|
|
577
|
-
|
|
577
|
+
fe(r), I("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", v), fe(null);
|
|
578
578
|
break;
|
|
579
579
|
}
|
|
580
580
|
}
|
|
581
|
-
r.ref !== null && (
|
|
581
|
+
r.ref !== null && (fe(r), I("Invalid attribute `ref` supplied to `React.Fragment`."), fe(null));
|
|
582
582
|
}
|
|
583
583
|
}
|
|
584
|
-
var
|
|
585
|
-
function Ct(r, s,
|
|
584
|
+
var St = {};
|
|
585
|
+
function Ct(r, s, u, v, T, C) {
|
|
586
586
|
{
|
|
587
|
-
var b =
|
|
587
|
+
var b = Ve(r);
|
|
588
588
|
if (!b) {
|
|
589
589
|
var g = "";
|
|
590
590
|
(r === void 0 || typeof r == "object" && r !== null && Object.keys(r).length === 0) && (g += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
591
|
-
var
|
|
592
|
-
|
|
593
|
-
var
|
|
594
|
-
r === null ?
|
|
591
|
+
var N = hr();
|
|
592
|
+
N ? g += N : g += bt();
|
|
593
|
+
var O;
|
|
594
|
+
r === null ? O = "null" : qe(r) ? O = "array" : r !== void 0 && r.$$typeof === e ? (O = "<" + (J(r.type) || "Unknown") + " />", g = " Did you accidentally export a JSX literal instead of a component?") : O = typeof r, I("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", O, g);
|
|
595
595
|
}
|
|
596
|
-
var
|
|
597
|
-
if (
|
|
598
|
-
return
|
|
596
|
+
var M = mr(r, s, u, T, C);
|
|
597
|
+
if (M == null)
|
|
598
|
+
return M;
|
|
599
599
|
if (b) {
|
|
600
|
-
var
|
|
601
|
-
if (
|
|
600
|
+
var W = s.children;
|
|
601
|
+
if (W !== void 0)
|
|
602
602
|
if (v)
|
|
603
|
-
if (
|
|
604
|
-
for (var
|
|
605
|
-
xt(
|
|
606
|
-
Object.freeze && Object.freeze(
|
|
603
|
+
if (qe(W)) {
|
|
604
|
+
for (var de = 0; de < W.length; de++)
|
|
605
|
+
xt(W[de], r);
|
|
606
|
+
Object.freeze && Object.freeze(W);
|
|
607
607
|
} else
|
|
608
|
-
|
|
608
|
+
I("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
609
609
|
else
|
|
610
|
-
xt(
|
|
610
|
+
xt(W, r);
|
|
611
611
|
}
|
|
612
|
-
if (
|
|
613
|
-
var
|
|
614
|
-
return
|
|
615
|
-
}),
|
|
616
|
-
if (!
|
|
617
|
-
var
|
|
618
|
-
|
|
612
|
+
if (Te.call(s, "key")) {
|
|
613
|
+
var se = J(r), V = Object.keys(s).filter(function(Sr) {
|
|
614
|
+
return Sr !== "key";
|
|
615
|
+
}), Ke = V.length > 0 ? "{key: someKey, " + V.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
616
|
+
if (!St[se + Ke]) {
|
|
617
|
+
var xr = V.length > 0 ? "{" + V.join(": ..., ") + ": ...}" : "{}";
|
|
618
|
+
I(`A props object containing a "key" prop is being spread into JSX:
|
|
619
619
|
let props = %s;
|
|
620
620
|
<%s {...props} />
|
|
621
621
|
React keys must be passed directly to JSX without using spread:
|
|
622
622
|
let props = %s;
|
|
623
|
-
<%s key={someKey} {...props} />`,
|
|
623
|
+
<%s key={someKey} {...props} />`, Ke, se, xr, se), St[se + Ke] = !0;
|
|
624
624
|
}
|
|
625
625
|
}
|
|
626
|
-
return r === i ?
|
|
626
|
+
return r === i ? yr(M) : pr(M), M;
|
|
627
627
|
}
|
|
628
628
|
}
|
|
629
|
-
function
|
|
630
|
-
return Ct(r, s,
|
|
629
|
+
function gr(r, s, u) {
|
|
630
|
+
return Ct(r, s, u, !0);
|
|
631
631
|
}
|
|
632
|
-
function
|
|
633
|
-
return Ct(r, s,
|
|
632
|
+
function br(r, s, u) {
|
|
633
|
+
return Ct(r, s, u, !1);
|
|
634
634
|
}
|
|
635
|
-
var
|
|
636
|
-
|
|
637
|
-
}()),
|
|
635
|
+
var Er = br, Tr = gr;
|
|
636
|
+
Se.Fragment = i, Se.jsx = Er, Se.jsxs = Tr;
|
|
637
|
+
}()), Se;
|
|
638
|
+
}
|
|
639
|
+
var _t;
|
|
640
|
+
function En() {
|
|
641
|
+
return _t || (_t = 1, process.env.NODE_ENV === "production" ? De.exports = gn() : De.exports = bn()), De.exports;
|
|
638
642
|
}
|
|
639
|
-
|
|
640
|
-
var Se = tt.exports, rt = { exports: {} }, x = {};
|
|
643
|
+
var Ie = En(), ze = { exports: {} }, x = {};
|
|
641
644
|
/** @license React v16.13.1
|
|
642
645
|
* react-is.production.min.js
|
|
643
646
|
*
|
|
@@ -646,73 +649,73 @@ var Se = tt.exports, rt = { exports: {} }, x = {};
|
|
|
646
649
|
* This source code is licensed under the MIT license found in the
|
|
647
650
|
* LICENSE file in the root directory of this source tree.
|
|
648
651
|
*/
|
|
649
|
-
var
|
|
650
|
-
function
|
|
651
|
-
if (
|
|
652
|
-
|
|
653
|
-
var t = typeof Symbol == "function" && Symbol.for, e = t ? Symbol.for("react.element") : 60103, n = t ? Symbol.for("react.portal") : 60106, i = t ? Symbol.for("react.fragment") : 60107, a = t ? Symbol.for("react.strict_mode") : 60108, l = t ? Symbol.for("react.profiler") : 60114, f = t ? Symbol.for("react.provider") : 60109, m = t ? Symbol.for("react.context") : 60110, h = t ? Symbol.for("react.async_mode") : 60111, p = t ? Symbol.for("react.concurrent_mode") : 60111,
|
|
654
|
-
function
|
|
655
|
-
if (typeof
|
|
656
|
-
var
|
|
657
|
-
switch (
|
|
652
|
+
var At;
|
|
653
|
+
function Tn() {
|
|
654
|
+
if (At) return x;
|
|
655
|
+
At = 1;
|
|
656
|
+
var t = typeof Symbol == "function" && Symbol.for, e = t ? Symbol.for("react.element") : 60103, n = t ? Symbol.for("react.portal") : 60106, i = t ? Symbol.for("react.fragment") : 60107, a = t ? Symbol.for("react.strict_mode") : 60108, l = t ? Symbol.for("react.profiler") : 60114, f = t ? Symbol.for("react.provider") : 60109, m = t ? Symbol.for("react.context") : 60110, h = t ? Symbol.for("react.async_mode") : 60111, p = t ? Symbol.for("react.concurrent_mode") : 60111, E = t ? Symbol.for("react.forward_ref") : 60112, P = t ? Symbol.for("react.suspense") : 60113, D = t ? Symbol.for("react.suspense_list") : 60120, j = t ? Symbol.for("react.memo") : 60115, A = t ? Symbol.for("react.lazy") : 60116, B = t ? Symbol.for("react.block") : 60121, Q = t ? Symbol.for("react.fundamental") : 60117, z = t ? Symbol.for("react.responder") : 60118, I = t ? Symbol.for("react.scope") : 60119;
|
|
657
|
+
function k(c) {
|
|
658
|
+
if (typeof c == "object" && c !== null) {
|
|
659
|
+
var L = c.$$typeof;
|
|
660
|
+
switch (L) {
|
|
658
661
|
case e:
|
|
659
|
-
switch (
|
|
662
|
+
switch (c = c.type, c) {
|
|
660
663
|
case h:
|
|
661
664
|
case p:
|
|
662
665
|
case i:
|
|
663
666
|
case l:
|
|
664
667
|
case a:
|
|
665
|
-
case
|
|
666
|
-
return
|
|
668
|
+
case P:
|
|
669
|
+
return c;
|
|
667
670
|
default:
|
|
668
|
-
switch (
|
|
671
|
+
switch (c = c && c.$$typeof, c) {
|
|
669
672
|
case m:
|
|
670
|
-
case
|
|
671
|
-
case
|
|
673
|
+
case E:
|
|
674
|
+
case A:
|
|
672
675
|
case j:
|
|
673
676
|
case f:
|
|
674
|
-
return
|
|
677
|
+
return c;
|
|
675
678
|
default:
|
|
676
|
-
return
|
|
679
|
+
return L;
|
|
677
680
|
}
|
|
678
681
|
}
|
|
679
682
|
case n:
|
|
680
|
-
return
|
|
683
|
+
return L;
|
|
681
684
|
}
|
|
682
685
|
}
|
|
683
686
|
}
|
|
684
|
-
function
|
|
685
|
-
return
|
|
686
|
-
}
|
|
687
|
-
return x.AsyncMode = h, x.ConcurrentMode = p, x.ContextConsumer = m, x.ContextProvider = f, x.Element = e, x.ForwardRef =
|
|
688
|
-
return
|
|
689
|
-
}, x.isConcurrentMode =
|
|
690
|
-
return
|
|
691
|
-
}, x.isContextProvider = function(
|
|
692
|
-
return
|
|
693
|
-
}, x.isElement = function(
|
|
694
|
-
return typeof
|
|
695
|
-
}, x.isForwardRef = function(
|
|
696
|
-
return
|
|
697
|
-
}, x.isFragment = function(
|
|
698
|
-
return
|
|
699
|
-
}, x.isLazy = function(
|
|
700
|
-
return
|
|
701
|
-
}, x.isMemo = function(
|
|
702
|
-
return
|
|
703
|
-
}, x.isPortal = function(
|
|
704
|
-
return
|
|
705
|
-
}, x.isProfiler = function(
|
|
706
|
-
return
|
|
707
|
-
}, x.isStrictMode = function(
|
|
708
|
-
return
|
|
709
|
-
}, x.isSuspense = function(
|
|
710
|
-
return
|
|
711
|
-
}, x.isValidElementType = function(
|
|
712
|
-
return typeof
|
|
713
|
-
}, x.typeOf =
|
|
687
|
+
function w(c) {
|
|
688
|
+
return k(c) === p;
|
|
689
|
+
}
|
|
690
|
+
return x.AsyncMode = h, x.ConcurrentMode = p, x.ContextConsumer = m, x.ContextProvider = f, x.Element = e, x.ForwardRef = E, x.Fragment = i, x.Lazy = A, x.Memo = j, x.Portal = n, x.Profiler = l, x.StrictMode = a, x.Suspense = P, x.isAsyncMode = function(c) {
|
|
691
|
+
return w(c) || k(c) === h;
|
|
692
|
+
}, x.isConcurrentMode = w, x.isContextConsumer = function(c) {
|
|
693
|
+
return k(c) === m;
|
|
694
|
+
}, x.isContextProvider = function(c) {
|
|
695
|
+
return k(c) === f;
|
|
696
|
+
}, x.isElement = function(c) {
|
|
697
|
+
return typeof c == "object" && c !== null && c.$$typeof === e;
|
|
698
|
+
}, x.isForwardRef = function(c) {
|
|
699
|
+
return k(c) === E;
|
|
700
|
+
}, x.isFragment = function(c) {
|
|
701
|
+
return k(c) === i;
|
|
702
|
+
}, x.isLazy = function(c) {
|
|
703
|
+
return k(c) === A;
|
|
704
|
+
}, x.isMemo = function(c) {
|
|
705
|
+
return k(c) === j;
|
|
706
|
+
}, x.isPortal = function(c) {
|
|
707
|
+
return k(c) === n;
|
|
708
|
+
}, x.isProfiler = function(c) {
|
|
709
|
+
return k(c) === l;
|
|
710
|
+
}, x.isStrictMode = function(c) {
|
|
711
|
+
return k(c) === a;
|
|
712
|
+
}, x.isSuspense = function(c) {
|
|
713
|
+
return k(c) === P;
|
|
714
|
+
}, x.isValidElementType = function(c) {
|
|
715
|
+
return typeof c == "string" || typeof c == "function" || c === i || c === p || c === l || c === a || c === P || c === D || typeof c == "object" && c !== null && (c.$$typeof === A || c.$$typeof === j || c.$$typeof === f || c.$$typeof === m || c.$$typeof === E || c.$$typeof === Q || c.$$typeof === z || c.$$typeof === I || c.$$typeof === B);
|
|
716
|
+
}, x.typeOf = k, x;
|
|
714
717
|
}
|
|
715
|
-
var
|
|
718
|
+
var S = {};
|
|
716
719
|
/** @license React v16.13.1
|
|
717
720
|
* react-is.development.js
|
|
718
721
|
*
|
|
@@ -721,114 +724,168 @@ var T = {};
|
|
|
721
724
|
* This source code is licensed under the MIT license found in the
|
|
722
725
|
* LICENSE file in the root directory of this source tree.
|
|
723
726
|
*/
|
|
724
|
-
var
|
|
725
|
-
function
|
|
726
|
-
return
|
|
727
|
-
var t = typeof Symbol == "function" && Symbol.for, e = t ? Symbol.for("react.element") : 60103, n = t ? Symbol.for("react.portal") : 60106, i = t ? Symbol.for("react.fragment") : 60107, a = t ? Symbol.for("react.strict_mode") : 60108, l = t ? Symbol.for("react.profiler") : 60114, f = t ? Symbol.for("react.provider") : 60109, m = t ? Symbol.for("react.context") : 60110, h = t ? Symbol.for("react.async_mode") : 60111, p = t ? Symbol.for("react.concurrent_mode") : 60111,
|
|
728
|
-
function
|
|
727
|
+
var kt;
|
|
728
|
+
function xn() {
|
|
729
|
+
return kt || (kt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
730
|
+
var t = typeof Symbol == "function" && Symbol.for, e = t ? Symbol.for("react.element") : 60103, n = t ? Symbol.for("react.portal") : 60106, i = t ? Symbol.for("react.fragment") : 60107, a = t ? Symbol.for("react.strict_mode") : 60108, l = t ? Symbol.for("react.profiler") : 60114, f = t ? Symbol.for("react.provider") : 60109, m = t ? Symbol.for("react.context") : 60110, h = t ? Symbol.for("react.async_mode") : 60111, p = t ? Symbol.for("react.concurrent_mode") : 60111, E = t ? Symbol.for("react.forward_ref") : 60112, P = t ? Symbol.for("react.suspense") : 60113, D = t ? Symbol.for("react.suspense_list") : 60120, j = t ? Symbol.for("react.memo") : 60115, A = t ? Symbol.for("react.lazy") : 60116, B = t ? Symbol.for("react.block") : 60121, Q = t ? Symbol.for("react.fundamental") : 60117, z = t ? Symbol.for("react.responder") : 60118, I = t ? Symbol.for("react.scope") : 60119;
|
|
731
|
+
function k(d) {
|
|
729
732
|
return typeof d == "string" || typeof d == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
730
|
-
d === i || d === p || d === l || d === a || d ===
|
|
733
|
+
d === i || d === p || d === l || d === a || d === P || d === D || typeof d == "object" && d !== null && (d.$$typeof === A || d.$$typeof === j || d.$$typeof === f || d.$$typeof === m || d.$$typeof === E || d.$$typeof === Q || d.$$typeof === z || d.$$typeof === I || d.$$typeof === B);
|
|
731
734
|
}
|
|
732
|
-
function
|
|
735
|
+
function w(d) {
|
|
733
736
|
if (typeof d == "object" && d !== null) {
|
|
734
|
-
var
|
|
735
|
-
switch (
|
|
737
|
+
var Ee = d.$$typeof;
|
|
738
|
+
switch (Ee) {
|
|
736
739
|
case e:
|
|
737
|
-
var
|
|
738
|
-
switch (
|
|
740
|
+
var ue = d.type;
|
|
741
|
+
switch (ue) {
|
|
739
742
|
case h:
|
|
740
743
|
case p:
|
|
741
744
|
case i:
|
|
742
745
|
case l:
|
|
743
746
|
case a:
|
|
744
|
-
case
|
|
745
|
-
return
|
|
747
|
+
case P:
|
|
748
|
+
return ue;
|
|
746
749
|
default:
|
|
747
|
-
var
|
|
748
|
-
switch (
|
|
750
|
+
var ae = ue && ue.$$typeof;
|
|
751
|
+
switch (ae) {
|
|
749
752
|
case m:
|
|
750
|
-
case
|
|
751
|
-
case
|
|
753
|
+
case E:
|
|
754
|
+
case A:
|
|
752
755
|
case j:
|
|
753
756
|
case f:
|
|
754
|
-
return
|
|
757
|
+
return ae;
|
|
755
758
|
default:
|
|
756
|
-
return
|
|
759
|
+
return Ee;
|
|
757
760
|
}
|
|
758
761
|
}
|
|
759
762
|
case n:
|
|
760
|
-
return
|
|
763
|
+
return Ee;
|
|
761
764
|
}
|
|
762
765
|
}
|
|
763
766
|
}
|
|
764
|
-
var
|
|
765
|
-
function
|
|
766
|
-
return
|
|
767
|
+
var c = h, L = p, he = m, we = f, Oe = e, Ve = E, Ye = i, _e = A, J = j, ee = n, oe = l, Ae = a, ke = P, ve = !1;
|
|
768
|
+
function Me(d) {
|
|
769
|
+
return ve || (ve = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), pe(d) || w(d) === h;
|
|
767
770
|
}
|
|
768
|
-
function
|
|
769
|
-
return
|
|
771
|
+
function pe(d) {
|
|
772
|
+
return w(d) === p;
|
|
770
773
|
}
|
|
771
|
-
function
|
|
772
|
-
return
|
|
774
|
+
function Fe(d) {
|
|
775
|
+
return w(d) === m;
|
|
773
776
|
}
|
|
774
|
-
function
|
|
775
|
-
return
|
|
777
|
+
function je(d) {
|
|
778
|
+
return w(d) === f;
|
|
776
779
|
}
|
|
777
|
-
function
|
|
780
|
+
function Ne(d) {
|
|
778
781
|
return typeof d == "object" && d !== null && d.$$typeof === e;
|
|
779
782
|
}
|
|
780
|
-
function
|
|
781
|
-
return
|
|
782
|
-
}
|
|
783
|
-
function Ye(d) {
|
|
784
|
-
return k(d) === i;
|
|
783
|
+
function Be(d) {
|
|
784
|
+
return w(d) === E;
|
|
785
785
|
}
|
|
786
|
-
function
|
|
787
|
-
return
|
|
786
|
+
function We(d) {
|
|
787
|
+
return w(d) === i;
|
|
788
788
|
}
|
|
789
789
|
function ye(d) {
|
|
790
|
-
return
|
|
791
|
-
}
|
|
792
|
-
function ae(d) {
|
|
793
|
-
return k(d) === n;
|
|
790
|
+
return w(d) === A;
|
|
794
791
|
}
|
|
795
792
|
function ge(d) {
|
|
796
|
-
return
|
|
793
|
+
return w(d) === j;
|
|
797
794
|
}
|
|
798
|
-
function
|
|
799
|
-
return
|
|
795
|
+
function le(d) {
|
|
796
|
+
return w(d) === n;
|
|
800
797
|
}
|
|
801
|
-
function
|
|
802
|
-
return
|
|
798
|
+
function be(d) {
|
|
799
|
+
return w(d) === l;
|
|
800
|
+
}
|
|
801
|
+
function ce(d) {
|
|
802
|
+
return w(d) === a;
|
|
803
|
+
}
|
|
804
|
+
function Ue(d) {
|
|
805
|
+
return w(d) === P;
|
|
806
|
+
}
|
|
807
|
+
S.AsyncMode = c, S.ConcurrentMode = L, S.ContextConsumer = he, S.ContextProvider = we, S.Element = Oe, S.ForwardRef = Ve, S.Fragment = Ye, S.Lazy = _e, S.Memo = J, S.Portal = ee, S.Profiler = oe, S.StrictMode = Ae, S.Suspense = ke, S.isAsyncMode = Me, S.isConcurrentMode = pe, S.isContextConsumer = Fe, S.isContextProvider = je, S.isElement = Ne, S.isForwardRef = Be, S.isFragment = We, S.isLazy = ye, S.isMemo = ge, S.isPortal = le, S.isProfiler = be, S.isStrictMode = ce, S.isSuspense = Ue, S.isValidElementType = k, S.typeOf = w;
|
|
808
|
+
}()), S;
|
|
809
|
+
}
|
|
810
|
+
var Mt;
|
|
811
|
+
function Sn() {
|
|
812
|
+
return Mt || (Mt = 1, process.env.NODE_ENV === "production" ? ze.exports = Tn() : ze.exports = xn()), ze.exports;
|
|
813
|
+
}
|
|
814
|
+
var Ze, Ft;
|
|
815
|
+
function Cn() {
|
|
816
|
+
if (Ft) return Ze;
|
|
817
|
+
Ft = 1;
|
|
818
|
+
var t = Sn(), e = {
|
|
819
|
+
childContextTypes: !0,
|
|
820
|
+
contextType: !0,
|
|
821
|
+
contextTypes: !0,
|
|
822
|
+
defaultProps: !0,
|
|
823
|
+
displayName: !0,
|
|
824
|
+
getDefaultProps: !0,
|
|
825
|
+
getDerivedStateFromError: !0,
|
|
826
|
+
getDerivedStateFromProps: !0,
|
|
827
|
+
mixins: !0,
|
|
828
|
+
propTypes: !0,
|
|
829
|
+
type: !0
|
|
830
|
+
}, n = {
|
|
831
|
+
name: !0,
|
|
832
|
+
length: !0,
|
|
833
|
+
prototype: !0,
|
|
834
|
+
caller: !0,
|
|
835
|
+
callee: !0,
|
|
836
|
+
arguments: !0,
|
|
837
|
+
arity: !0
|
|
838
|
+
}, i = {
|
|
839
|
+
$$typeof: !0,
|
|
840
|
+
render: !0,
|
|
841
|
+
defaultProps: !0,
|
|
842
|
+
displayName: !0,
|
|
843
|
+
propTypes: !0
|
|
844
|
+
}, a = {
|
|
845
|
+
$$typeof: !0,
|
|
846
|
+
compare: !0,
|
|
847
|
+
defaultProps: !0,
|
|
848
|
+
displayName: !0,
|
|
849
|
+
propTypes: !0,
|
|
850
|
+
type: !0
|
|
851
|
+
}, l = {};
|
|
852
|
+
l[t.ForwardRef] = i, l[t.Memo] = a;
|
|
853
|
+
function f(A) {
|
|
854
|
+
return t.isMemo(A) ? a : l[A.$$typeof] || e;
|
|
855
|
+
}
|
|
856
|
+
var m = Object.defineProperty, h = Object.getOwnPropertyNames, p = Object.getOwnPropertySymbols, E = Object.getOwnPropertyDescriptor, P = Object.getPrototypeOf, D = Object.prototype;
|
|
857
|
+
function j(A, B, Q) {
|
|
858
|
+
if (typeof B != "string") {
|
|
859
|
+
if (D) {
|
|
860
|
+
var z = P(B);
|
|
861
|
+
z && z !== D && j(A, z, Q);
|
|
862
|
+
}
|
|
863
|
+
var I = h(B);
|
|
864
|
+
p && (I = I.concat(p(B)));
|
|
865
|
+
for (var k = f(A), w = f(B), c = 0; c < I.length; ++c) {
|
|
866
|
+
var L = I[c];
|
|
867
|
+
if (!n[L] && !(Q && Q[L]) && !(w && w[L]) && !(k && k[L])) {
|
|
868
|
+
var he = E(B, L);
|
|
869
|
+
try {
|
|
870
|
+
m(A, L, he);
|
|
871
|
+
} catch {
|
|
872
|
+
}
|
|
873
|
+
}
|
|
874
|
+
}
|
|
803
875
|
}
|
|
804
|
-
|
|
805
|
-
}
|
|
876
|
+
return A;
|
|
877
|
+
}
|
|
878
|
+
return Ze = j, Ze;
|
|
806
879
|
}
|
|
807
|
-
|
|
808
|
-
var
|
|
809
|
-
|
|
810
|
-
render: !0,
|
|
811
|
-
defaultProps: !0,
|
|
812
|
-
displayName: !0,
|
|
813
|
-
propTypes: !0
|
|
814
|
-
}, Tn = {
|
|
815
|
-
$$typeof: !0,
|
|
816
|
-
compare: !0,
|
|
817
|
-
defaultProps: !0,
|
|
818
|
-
displayName: !0,
|
|
819
|
-
propTypes: !0,
|
|
820
|
-
type: !0
|
|
821
|
-
}, Wt = {};
|
|
822
|
-
Wt[Bt.ForwardRef] = xn;
|
|
823
|
-
Wt[Bt.Memo] = Tn;
|
|
824
|
-
var Cn = !0;
|
|
825
|
-
function Sn(t, e, n) {
|
|
880
|
+
Cn();
|
|
881
|
+
var In = !0;
|
|
882
|
+
function Pn(t, e, n) {
|
|
826
883
|
var i = "";
|
|
827
884
|
return n.split(" ").forEach(function(a) {
|
|
828
885
|
t[a] !== void 0 ? e.push(t[a] + ";") : a && (i += a + " ");
|
|
829
886
|
}), i;
|
|
830
887
|
}
|
|
831
|
-
var
|
|
888
|
+
var Ht = function(e, n, i) {
|
|
832
889
|
var a = e.key + "-" + n.name;
|
|
833
890
|
// we only need to add the styles to the registered cache if the
|
|
834
891
|
// class name could be used further down
|
|
@@ -839,9 +896,9 @@ var Ut = function(e, n, i) {
|
|
|
839
896
|
// in node since emotion-server relies on whether a style is in
|
|
840
897
|
// the registered cache to know whether a style is global or not
|
|
841
898
|
// also, note that this check will be dead code eliminated in the browser
|
|
842
|
-
|
|
843
|
-
},
|
|
844
|
-
|
|
899
|
+
In === !1) && e.registered[a] === void 0 && (e.registered[a] = n.styles);
|
|
900
|
+
}, Rn = function(e, n, i) {
|
|
901
|
+
Ht(e, n, i);
|
|
845
902
|
var a = e.key + "-" + n.name;
|
|
846
903
|
if (e.inserted[n.name] === void 0) {
|
|
847
904
|
var l = n;
|
|
@@ -850,7 +907,7 @@ var Ut = function(e, n, i) {
|
|
|
850
907
|
while (l !== void 0);
|
|
851
908
|
}
|
|
852
909
|
};
|
|
853
|
-
function
|
|
910
|
+
function wn(t) {
|
|
854
911
|
for (var e = 0, n, i = 0, a = t.length; a >= 4; ++i, a -= 4)
|
|
855
912
|
n = t.charCodeAt(i) & 255 | (t.charCodeAt(++i) & 255) << 8 | (t.charCodeAt(++i) & 255) << 16 | (t.charCodeAt(++i) & 255) << 24, n = /* Math.imul(k, m): */
|
|
856
913
|
(n & 65535) * 1540483477 + ((n >>> 16) * 59797 << 16), n ^= /* k >>> r: */
|
|
@@ -869,7 +926,7 @@ function Rn(t) {
|
|
|
869
926
|
return e ^= e >>> 13, e = /* Math.imul(h, m): */
|
|
870
927
|
(e & 65535) * 1540483477 + ((e >>> 16) * 59797 << 16), ((e ^ e >>> 15) >>> 0).toString(36);
|
|
871
928
|
}
|
|
872
|
-
var
|
|
929
|
+
var On = {
|
|
873
930
|
animationIterationCount: 1,
|
|
874
931
|
aspectRatio: 1,
|
|
875
932
|
borderImageOutset: 1,
|
|
@@ -919,34 +976,34 @@ var Pn = {
|
|
|
919
976
|
strokeOpacity: 1,
|
|
920
977
|
strokeWidth: 1
|
|
921
978
|
};
|
|
922
|
-
function
|
|
979
|
+
function _n(t) {
|
|
923
980
|
var e = /* @__PURE__ */ Object.create(null);
|
|
924
981
|
return function(n) {
|
|
925
982
|
return e[n] === void 0 && (e[n] = t(n)), e[n];
|
|
926
983
|
};
|
|
927
984
|
}
|
|
928
|
-
var
|
|
985
|
+
var An = /[A-Z]|^ms/g, kn = /_EMO_([^_]+?)_([^]*?)_EMO_/g, Gt = function(e) {
|
|
929
986
|
return e.charCodeAt(1) === 45;
|
|
930
|
-
},
|
|
987
|
+
}, jt = function(e) {
|
|
931
988
|
return e != null && typeof e != "boolean";
|
|
932
|
-
},
|
|
933
|
-
return
|
|
934
|
-
}),
|
|
989
|
+
}, Qe = /* @__PURE__ */ _n(function(t) {
|
|
990
|
+
return Gt(t) ? t : t.replace(An, "-$&").toLowerCase();
|
|
991
|
+
}), Nt = function(e, n) {
|
|
935
992
|
switch (e) {
|
|
936
993
|
case "animation":
|
|
937
994
|
case "animationName":
|
|
938
995
|
if (typeof n == "string")
|
|
939
|
-
return n.replace(
|
|
940
|
-
return
|
|
996
|
+
return n.replace(kn, function(i, a, l) {
|
|
997
|
+
return X = {
|
|
941
998
|
name: a,
|
|
942
999
|
styles: l,
|
|
943
|
-
next:
|
|
1000
|
+
next: X
|
|
944
1001
|
}, a;
|
|
945
1002
|
});
|
|
946
1003
|
}
|
|
947
|
-
return
|
|
1004
|
+
return On[e] !== 1 && !Gt(e) && typeof n == "number" && n !== 0 ? n + "px" : n;
|
|
948
1005
|
};
|
|
949
|
-
function
|
|
1006
|
+
function Pe(t, e, n) {
|
|
950
1007
|
if (n == null)
|
|
951
1008
|
return "";
|
|
952
1009
|
var i = n;
|
|
@@ -958,57 +1015,57 @@ function Ie(t, e, n) {
|
|
|
958
1015
|
case "object": {
|
|
959
1016
|
var a = n;
|
|
960
1017
|
if (a.anim === 1)
|
|
961
|
-
return
|
|
1018
|
+
return X = {
|
|
962
1019
|
name: a.name,
|
|
963
1020
|
styles: a.styles,
|
|
964
|
-
next:
|
|
1021
|
+
next: X
|
|
965
1022
|
}, a.name;
|
|
966
1023
|
var l = n;
|
|
967
1024
|
if (l.styles !== void 0) {
|
|
968
1025
|
var f = l.next;
|
|
969
1026
|
if (f !== void 0)
|
|
970
1027
|
for (; f !== void 0; )
|
|
971
|
-
|
|
1028
|
+
X = {
|
|
972
1029
|
name: f.name,
|
|
973
1030
|
styles: f.styles,
|
|
974
|
-
next:
|
|
1031
|
+
next: X
|
|
975
1032
|
}, f = f.next;
|
|
976
1033
|
var m = l.styles + ";";
|
|
977
1034
|
return m;
|
|
978
1035
|
}
|
|
979
|
-
return
|
|
1036
|
+
return Mn(t, e, n);
|
|
980
1037
|
}
|
|
981
1038
|
case "function": {
|
|
982
1039
|
if (t !== void 0) {
|
|
983
|
-
var h =
|
|
984
|
-
return
|
|
1040
|
+
var h = X, p = n(t);
|
|
1041
|
+
return X = h, Pe(t, e, p);
|
|
985
1042
|
}
|
|
986
1043
|
break;
|
|
987
1044
|
}
|
|
988
1045
|
}
|
|
989
|
-
var
|
|
990
|
-
return
|
|
1046
|
+
var E = n;
|
|
1047
|
+
return E;
|
|
991
1048
|
}
|
|
992
|
-
function
|
|
1049
|
+
function Mn(t, e, n) {
|
|
993
1050
|
var i = "";
|
|
994
1051
|
if (Array.isArray(n))
|
|
995
1052
|
for (var a = 0; a < n.length; a++)
|
|
996
|
-
i +=
|
|
1053
|
+
i += Pe(t, e, n[a]) + ";";
|
|
997
1054
|
else
|
|
998
1055
|
for (var l in n) {
|
|
999
1056
|
var f = n[l];
|
|
1000
1057
|
if (typeof f != "object") {
|
|
1001
1058
|
var m = f;
|
|
1002
|
-
|
|
1059
|
+
jt(m) && (i += Qe(l) + ":" + Nt(l, m) + ";");
|
|
1003
1060
|
} else if (Array.isArray(f) && typeof f[0] == "string" && e == null)
|
|
1004
1061
|
for (var h = 0; h < f.length; h++)
|
|
1005
|
-
|
|
1062
|
+
jt(f[h]) && (i += Qe(l) + ":" + Nt(l, f[h]) + ";");
|
|
1006
1063
|
else {
|
|
1007
|
-
var p =
|
|
1064
|
+
var p = Pe(t, e, f);
|
|
1008
1065
|
switch (l) {
|
|
1009
1066
|
case "animation":
|
|
1010
1067
|
case "animationName": {
|
|
1011
|
-
i +=
|
|
1068
|
+
i += Qe(l) + ":" + p + ";";
|
|
1012
1069
|
break;
|
|
1013
1070
|
}
|
|
1014
1071
|
default:
|
|
@@ -1018,85 +1075,85 @@ function An(t, e, n) {
|
|
|
1018
1075
|
}
|
|
1019
1076
|
return i;
|
|
1020
1077
|
}
|
|
1021
|
-
var
|
|
1022
|
-
function
|
|
1078
|
+
var $t = /label:\s*([^\s;{]+)\s*(;|$)/g, X;
|
|
1079
|
+
function Fn(t, e, n) {
|
|
1023
1080
|
if (t.length === 1 && typeof t[0] == "object" && t[0] !== null && t[0].styles !== void 0)
|
|
1024
1081
|
return t[0];
|
|
1025
1082
|
var i = !0, a = "";
|
|
1026
|
-
|
|
1083
|
+
X = void 0;
|
|
1027
1084
|
var l = t[0];
|
|
1028
1085
|
if (l == null || l.raw === void 0)
|
|
1029
|
-
i = !1, a +=
|
|
1086
|
+
i = !1, a += Pe(n, e, l);
|
|
1030
1087
|
else {
|
|
1031
1088
|
var f = l;
|
|
1032
1089
|
a += f[0];
|
|
1033
1090
|
}
|
|
1034
1091
|
for (var m = 1; m < t.length; m++)
|
|
1035
|
-
if (a +=
|
|
1092
|
+
if (a += Pe(n, e, t[m]), i) {
|
|
1036
1093
|
var h = l;
|
|
1037
1094
|
a += h[m];
|
|
1038
1095
|
}
|
|
1039
|
-
|
|
1040
|
-
for (var p = "",
|
|
1041
|
-
p += "-" +
|
|
1042
|
-
var
|
|
1096
|
+
$t.lastIndex = 0;
|
|
1097
|
+
for (var p = "", E; (E = $t.exec(a)) !== null; )
|
|
1098
|
+
p += "-" + E[1];
|
|
1099
|
+
var P = wn(a) + p;
|
|
1043
1100
|
return {
|
|
1044
|
-
name:
|
|
1101
|
+
name: P,
|
|
1045
1102
|
styles: a,
|
|
1046
|
-
next:
|
|
1103
|
+
next: X
|
|
1047
1104
|
};
|
|
1048
1105
|
}
|
|
1049
|
-
var
|
|
1106
|
+
var jn = function(e) {
|
|
1050
1107
|
return e();
|
|
1051
|
-
},
|
|
1108
|
+
}, Nn = te.useInsertionEffect ? te.useInsertionEffect : !1, $n = Nn || jn, Jt = /* @__PURE__ */ te.createContext(
|
|
1052
1109
|
// we're doing this to avoid preconstruct's dead code elimination in this one case
|
|
1053
1110
|
// because this module is primarily intended for the browser and node
|
|
1054
1111
|
// but it's also required in react native and similar environments sometimes
|
|
1055
1112
|
// and we could have a special build just for that
|
|
1056
1113
|
// but this is much easier and the native packages
|
|
1057
1114
|
// might use a different theme context in the future anyway
|
|
1058
|
-
typeof HTMLElement < "u" ? /* @__PURE__ */
|
|
1115
|
+
typeof HTMLElement < "u" ? /* @__PURE__ */ Or({
|
|
1059
1116
|
key: "css"
|
|
1060
1117
|
}) : null
|
|
1061
1118
|
);
|
|
1062
|
-
|
|
1063
|
-
var
|
|
1064
|
-
return /* @__PURE__ */
|
|
1065
|
-
var a =
|
|
1119
|
+
Jt.Provider;
|
|
1120
|
+
var Dn = function(e) {
|
|
1121
|
+
return /* @__PURE__ */ Pr(function(n, i) {
|
|
1122
|
+
var a = st(Jt);
|
|
1066
1123
|
return e(n, a, i);
|
|
1067
1124
|
});
|
|
1068
|
-
},
|
|
1125
|
+
}, zn = /* @__PURE__ */ te.createContext({}), Le = {}.hasOwnProperty, it = "__EMOTION_TYPE_PLEASE_DO_NOT_USE__", Kt = function(e, n) {
|
|
1069
1126
|
var i = {};
|
|
1070
1127
|
for (var a in n)
|
|
1071
|
-
|
|
1072
|
-
return i[
|
|
1073
|
-
},
|
|
1128
|
+
Le.call(n, a) && (i[a] = n[a]);
|
|
1129
|
+
return i[it] = e, i;
|
|
1130
|
+
}, Ln = function(e) {
|
|
1074
1131
|
var n = e.cache, i = e.serialized, a = e.isStringTag;
|
|
1075
|
-
return
|
|
1076
|
-
return
|
|
1132
|
+
return Ht(n, i, a), $n(function() {
|
|
1133
|
+
return Rn(n, i, a);
|
|
1077
1134
|
}), null;
|
|
1078
|
-
},
|
|
1135
|
+
}, Vn = /* @__PURE__ */ Dn(function(t, e, n) {
|
|
1079
1136
|
var i = t.css;
|
|
1080
1137
|
typeof i == "string" && e.registered[i] !== void 0 && (i = e.registered[i]);
|
|
1081
|
-
var a = t[
|
|
1082
|
-
typeof t.className == "string" ? f =
|
|
1083
|
-
var m =
|
|
1138
|
+
var a = t[it], l = [i], f = "";
|
|
1139
|
+
typeof t.className == "string" ? f = Pn(e.registered, l, t.className) : t.className != null && (f = t.className + " ");
|
|
1140
|
+
var m = Fn(l, void 0, te.useContext(zn));
|
|
1084
1141
|
f += e.key + "-" + m.name;
|
|
1085
1142
|
var h = {};
|
|
1086
1143
|
for (var p in t)
|
|
1087
|
-
|
|
1088
|
-
return h.className = f, n && (h.ref = n), /* @__PURE__ */
|
|
1144
|
+
Le.call(t, p) && p !== "css" && p !== it && (h[p] = t[p]);
|
|
1145
|
+
return h.className = f, n && (h.ref = n), /* @__PURE__ */ te.createElement(te.Fragment, null, /* @__PURE__ */ te.createElement(Ln, {
|
|
1089
1146
|
cache: e,
|
|
1090
1147
|
serialized: m,
|
|
1091
1148
|
isStringTag: typeof a == "string"
|
|
1092
|
-
}), /* @__PURE__ */
|
|
1093
|
-
}),
|
|
1094
|
-
return
|
|
1095
|
-
},
|
|
1096
|
-
return
|
|
1097
|
-
},
|
|
1098
|
-
const
|
|
1099
|
-
const e =
|
|
1149
|
+
}), /* @__PURE__ */ te.createElement(a, h));
|
|
1150
|
+
}), Xt = Vn, Re = Ie.Fragment, o = function(e, n, i) {
|
|
1151
|
+
return Le.call(n, "css") ? Ie.jsx(Xt, Kt(e, n), i) : Ie.jsx(e, n, i);
|
|
1152
|
+
}, F = function(e, n, i) {
|
|
1153
|
+
return Le.call(n, "css") ? Ie.jsxs(Xt, Kt(e, n), i) : Ie.jsxs(e, n, i);
|
|
1154
|
+
}, R = /* @__PURE__ */ ((t) => (t.Off = "Off", t.All = "All", t.One = "One", t))(R || {});
|
|
1155
|
+
const Zt = 80, Yn = Y(({ playerStore: t }) => {
|
|
1156
|
+
const e = ie(), n = $(
|
|
1100
1157
|
(l) => {
|
|
1101
1158
|
const f = Number(l.currentTarget.value) / 100;
|
|
1102
1159
|
t.setPercent(f);
|
|
@@ -1119,7 +1176,7 @@ const Kt = 80, Ln = D(({ playerStore: t }) => {
|
|
|
1119
1176
|
[t, e]
|
|
1120
1177
|
);
|
|
1121
1178
|
return /* @__PURE__ */ o(
|
|
1122
|
-
|
|
1179
|
+
Vt,
|
|
1123
1180
|
{
|
|
1124
1181
|
min: 0,
|
|
1125
1182
|
max: 100,
|
|
@@ -1133,10 +1190,10 @@ const Kt = 80, Ln = D(({ playerStore: t }) => {
|
|
|
1133
1190
|
css: { blockSize: 32 }
|
|
1134
1191
|
}
|
|
1135
1192
|
);
|
|
1136
|
-
}),
|
|
1193
|
+
}), Bn = Z(
|
|
1137
1194
|
({ button: t, isOpen: e, closePopover: n }) => {
|
|
1138
|
-
const [i, a] =
|
|
1139
|
-
|
|
1195
|
+
const [i, a] = q("0"), l = ie();
|
|
1196
|
+
Rr(() => {
|
|
1140
1197
|
e && l.getVolume().then((m) => {
|
|
1141
1198
|
m !== void 0 && a(Math.floor(m * 100).toString());
|
|
1142
1199
|
});
|
|
@@ -1148,14 +1205,14 @@ const Kt = 80, Ln = D(({ playerStore: t }) => {
|
|
|
1148
1205
|
[l]
|
|
1149
1206
|
);
|
|
1150
1207
|
return /* @__PURE__ */ o(
|
|
1151
|
-
|
|
1208
|
+
lt,
|
|
1152
1209
|
{
|
|
1153
1210
|
button: t,
|
|
1154
1211
|
isOpen: e,
|
|
1155
1212
|
closePopover: n,
|
|
1156
1213
|
anchorPosition: "upRight",
|
|
1157
|
-
children: /* @__PURE__ */ o(
|
|
1158
|
-
|
|
1214
|
+
children: /* @__PURE__ */ o(tt, { children: /* @__PURE__ */ F(
|
|
1215
|
+
me,
|
|
1159
1216
|
{
|
|
1160
1217
|
responsive: !1,
|
|
1161
1218
|
gutterSize: "s",
|
|
@@ -1163,17 +1220,17 @@ const Kt = 80, Ln = D(({ playerStore: t }) => {
|
|
|
1163
1220
|
alignItems: "center",
|
|
1164
1221
|
children: [
|
|
1165
1222
|
/* @__PURE__ */ o(
|
|
1166
|
-
|
|
1223
|
+
K,
|
|
1167
1224
|
{
|
|
1168
1225
|
title: "Mute",
|
|
1169
1226
|
"aria-label": "Mute",
|
|
1170
|
-
iconType:
|
|
1227
|
+
iconType: Ut,
|
|
1171
1228
|
size: "s",
|
|
1172
1229
|
iconSize: "l"
|
|
1173
1230
|
}
|
|
1174
1231
|
),
|
|
1175
1232
|
/* @__PURE__ */ o(
|
|
1176
|
-
|
|
1233
|
+
Vt,
|
|
1177
1234
|
{
|
|
1178
1235
|
min: 0,
|
|
1179
1236
|
max: 100,
|
|
@@ -1189,12 +1246,12 @@ const Kt = 80, Ln = D(({ playerStore: t }) => {
|
|
|
1189
1246
|
}
|
|
1190
1247
|
);
|
|
1191
1248
|
}
|
|
1192
|
-
),
|
|
1249
|
+
), Wn = Z(
|
|
1193
1250
|
({
|
|
1194
1251
|
playQueueStore: t,
|
|
1195
1252
|
closePopover: e
|
|
1196
1253
|
}) => {
|
|
1197
|
-
const n =
|
|
1254
|
+
const n = ie(), i = $(async () => {
|
|
1198
1255
|
const p = await n.getCurrentTime();
|
|
1199
1256
|
p !== void 0 && await n.setCurrentTime(p - 10), e();
|
|
1200
1257
|
}, [n, e]), a = $(async () => {
|
|
@@ -1209,25 +1266,25 @@ const Kt = 80, Ln = D(({ playerStore: t }) => {
|
|
|
1209
1266
|
t.currentItem !== void 0 && await t.removeItems([
|
|
1210
1267
|
t.currentItem
|
|
1211
1268
|
]), e();
|
|
1212
|
-
}, [t, e]), [m] =
|
|
1269
|
+
}, [t, e]), [m] = q(), h = zt(
|
|
1213
1270
|
() => [
|
|
1214
1271
|
{
|
|
1215
1272
|
id: 0,
|
|
1216
1273
|
items: [
|
|
1217
1274
|
{
|
|
1218
1275
|
name: "Speed",
|
|
1219
|
-
icon: /* @__PURE__ */ o(
|
|
1276
|
+
icon: /* @__PURE__ */ o(H, { type: sn, size: "m" }),
|
|
1220
1277
|
panel: 1
|
|
1221
1278
|
},
|
|
1222
1279
|
{
|
|
1223
1280
|
name: "Skip back 10 seconds",
|
|
1224
|
-
icon: /* @__PURE__ */ o(
|
|
1281
|
+
icon: /* @__PURE__ */ o(H, { type: ln, size: "m" }),
|
|
1225
1282
|
onClick: i,
|
|
1226
1283
|
disabled: t.isEmpty
|
|
1227
1284
|
},
|
|
1228
1285
|
{
|
|
1229
1286
|
name: "Skip forward 30 seconds",
|
|
1230
|
-
icon: /* @__PURE__ */ o(
|
|
1287
|
+
icon: /* @__PURE__ */ o(H, { type: cn, size: "m" }),
|
|
1231
1288
|
onClick: a,
|
|
1232
1289
|
disabled: t.isEmpty
|
|
1233
1290
|
},
|
|
@@ -1236,7 +1293,7 @@ const Kt = 80, Ln = D(({ playerStore: t }) => {
|
|
|
1236
1293
|
},
|
|
1237
1294
|
{
|
|
1238
1295
|
name: "Remove from play queue",
|
|
1239
|
-
icon: /* @__PURE__ */ o(
|
|
1296
|
+
icon: /* @__PURE__ */ o(H, { type: ct, size: "m" }),
|
|
1240
1297
|
onClick: f,
|
|
1241
1298
|
disabled: t.isEmpty
|
|
1242
1299
|
}
|
|
@@ -1263,16 +1320,16 @@ const Kt = 80, Ln = D(({ playerStore: t }) => {
|
|
|
1263
1320
|
m
|
|
1264
1321
|
]
|
|
1265
1322
|
);
|
|
1266
|
-
return /* @__PURE__ */ o(
|
|
1323
|
+
return /* @__PURE__ */ o(Mr, { initialPanelId: 0, panels: h });
|
|
1267
1324
|
}
|
|
1268
|
-
),
|
|
1325
|
+
), Un = Z(
|
|
1269
1326
|
({
|
|
1270
1327
|
playQueueStore: t,
|
|
1271
1328
|
button: e,
|
|
1272
1329
|
isOpen: n,
|
|
1273
1330
|
closePopover: i
|
|
1274
1331
|
}) => /* @__PURE__ */ o(
|
|
1275
|
-
|
|
1332
|
+
lt,
|
|
1276
1333
|
{
|
|
1277
1334
|
button: e,
|
|
1278
1335
|
isOpen: n,
|
|
@@ -1280,7 +1337,7 @@ const Kt = 80, Ln = D(({ playerStore: t }) => {
|
|
|
1280
1337
|
panelPaddingSize: "none",
|
|
1281
1338
|
anchorPosition: "upRight",
|
|
1282
1339
|
children: /* @__PURE__ */ o(
|
|
1283
|
-
|
|
1340
|
+
Wn,
|
|
1284
1341
|
{
|
|
1285
1342
|
playQueueStore: t,
|
|
1286
1343
|
closePopover: i
|
|
@@ -1288,24 +1345,24 @@ const Kt = 80, Ln = D(({ playerStore: t }) => {
|
|
|
1288
1345
|
)
|
|
1289
1346
|
}
|
|
1290
1347
|
)
|
|
1291
|
-
),
|
|
1292
|
-
[
|
|
1293
|
-
[
|
|
1294
|
-
[
|
|
1295
|
-
},
|
|
1348
|
+
), qn = {
|
|
1349
|
+
[R.Off]: Qr,
|
|
1350
|
+
[R.All]: Zr,
|
|
1351
|
+
[R.One]: Xr
|
|
1352
|
+
}, Hn = Y(
|
|
1296
1353
|
({
|
|
1297
1354
|
playerStore: t,
|
|
1298
1355
|
playQueueStore: e
|
|
1299
1356
|
}) => {
|
|
1300
|
-
const n =
|
|
1357
|
+
const n = ie(), i = $(async () => {
|
|
1301
1358
|
if (e.hasPreviousItem) {
|
|
1302
1359
|
const a = await n.getCurrentTime();
|
|
1303
1360
|
a === void 0 || a < 5 ? await e.previous() : await n.setCurrentTime(0);
|
|
1304
1361
|
} else
|
|
1305
1362
|
await n.setCurrentTime(0);
|
|
1306
1363
|
}, [e, n]);
|
|
1307
|
-
return /* @__PURE__ */
|
|
1308
|
-
|
|
1364
|
+
return /* @__PURE__ */ F(
|
|
1365
|
+
me,
|
|
1309
1366
|
{
|
|
1310
1367
|
responsive: !1,
|
|
1311
1368
|
gutterSize: "s",
|
|
@@ -1313,11 +1370,11 @@ const Kt = 80, Ln = D(({ playerStore: t }) => {
|
|
|
1313
1370
|
alignItems: "center",
|
|
1314
1371
|
children: [
|
|
1315
1372
|
/* @__PURE__ */ o(
|
|
1316
|
-
|
|
1373
|
+
K,
|
|
1317
1374
|
{
|
|
1318
1375
|
title: `Shuffle: ${e.shuffle ? "On" : "Off"}`,
|
|
1319
1376
|
"aria-label": `Shuffle: ${e.shuffle ? "On" : "Off"}`,
|
|
1320
|
-
iconType: e.shuffle ?
|
|
1377
|
+
iconType: e.shuffle ? en : tn,
|
|
1321
1378
|
size: "s",
|
|
1322
1379
|
iconSize: "l",
|
|
1323
1380
|
onClick: e.toggleShuffle,
|
|
@@ -1325,11 +1382,11 @@ const Kt = 80, Ln = D(({ playerStore: t }) => {
|
|
|
1325
1382
|
}
|
|
1326
1383
|
),
|
|
1327
1384
|
/* @__PURE__ */ o(
|
|
1328
|
-
|
|
1385
|
+
K,
|
|
1329
1386
|
{
|
|
1330
1387
|
title: "Previous",
|
|
1331
1388
|
"aria-label": "Previous",
|
|
1332
|
-
iconType:
|
|
1389
|
+
iconType: rn,
|
|
1333
1390
|
size: "s",
|
|
1334
1391
|
iconSize: "l",
|
|
1335
1392
|
onClick: i,
|
|
@@ -1337,22 +1394,22 @@ const Kt = 80, Ln = D(({ playerStore: t }) => {
|
|
|
1337
1394
|
}
|
|
1338
1395
|
),
|
|
1339
1396
|
t.playing ? /* @__PURE__ */ o(
|
|
1340
|
-
|
|
1397
|
+
K,
|
|
1341
1398
|
{
|
|
1342
1399
|
title: "Pause",
|
|
1343
1400
|
"aria-label": "Pause",
|
|
1344
|
-
iconType:
|
|
1401
|
+
iconType: nn,
|
|
1345
1402
|
size: "s",
|
|
1346
1403
|
iconSize: "l",
|
|
1347
1404
|
onClick: () => n.pause(),
|
|
1348
1405
|
disabled: !e.canPlay
|
|
1349
1406
|
}
|
|
1350
1407
|
) : /* @__PURE__ */ o(
|
|
1351
|
-
|
|
1408
|
+
K,
|
|
1352
1409
|
{
|
|
1353
1410
|
title: "Play",
|
|
1354
1411
|
"aria-label": "Play",
|
|
1355
|
-
iconType:
|
|
1412
|
+
iconType: on,
|
|
1356
1413
|
size: "s",
|
|
1357
1414
|
iconSize: "l",
|
|
1358
1415
|
onClick: () => n.play(),
|
|
@@ -1360,11 +1417,11 @@ const Kt = 80, Ln = D(({ playerStore: t }) => {
|
|
|
1360
1417
|
}
|
|
1361
1418
|
),
|
|
1362
1419
|
/* @__PURE__ */ o(
|
|
1363
|
-
|
|
1420
|
+
K,
|
|
1364
1421
|
{
|
|
1365
1422
|
title: "Next",
|
|
1366
1423
|
"aria-label": "Next",
|
|
1367
|
-
iconType:
|
|
1424
|
+
iconType: an,
|
|
1368
1425
|
size: "s",
|
|
1369
1426
|
iconSize: "l",
|
|
1370
1427
|
onClick: e.next,
|
|
@@ -1372,11 +1429,11 @@ const Kt = 80, Ln = D(({ playerStore: t }) => {
|
|
|
1372
1429
|
}
|
|
1373
1430
|
),
|
|
1374
1431
|
/* @__PURE__ */ o(
|
|
1375
|
-
|
|
1432
|
+
K,
|
|
1376
1433
|
{
|
|
1377
|
-
title: `Repeat: ${e.repeat ===
|
|
1378
|
-
"aria-label": `Repeat: ${e.repeat ===
|
|
1379
|
-
iconType:
|
|
1434
|
+
title: `Repeat: ${e.repeat === R.All ? "All" : e.repeat === R.One ? "One" : "Off"}`,
|
|
1435
|
+
"aria-label": `Repeat: ${e.repeat === R.All ? "All" : e.repeat === R.One ? "One" : "Off"}`,
|
|
1436
|
+
iconType: qn[e.repeat],
|
|
1380
1437
|
size: "s",
|
|
1381
1438
|
iconSize: "l",
|
|
1382
1439
|
onClick: e.toggleRepeat
|
|
@@ -1386,17 +1443,17 @@ const Kt = 80, Ln = D(({ playerStore: t }) => {
|
|
|
1386
1443
|
}
|
|
1387
1444
|
);
|
|
1388
1445
|
}
|
|
1389
|
-
),
|
|
1390
|
-
const [t, e] =
|
|
1446
|
+
), Gn = Z(() => {
|
|
1447
|
+
const [t, e] = q(!1);
|
|
1391
1448
|
return /* @__PURE__ */ o(
|
|
1392
|
-
|
|
1449
|
+
Bn,
|
|
1393
1450
|
{
|
|
1394
1451
|
button: /* @__PURE__ */ o(
|
|
1395
|
-
|
|
1452
|
+
K,
|
|
1396
1453
|
{
|
|
1397
1454
|
title: "Volume",
|
|
1398
1455
|
"aria-label": "Volume",
|
|
1399
|
-
iconType:
|
|
1456
|
+
iconType: Ut,
|
|
1400
1457
|
size: "s",
|
|
1401
1458
|
iconSize: "l",
|
|
1402
1459
|
onClick: () => e(!t)
|
|
@@ -1406,19 +1463,19 @@ const Kt = 80, Ln = D(({ playerStore: t }) => {
|
|
|
1406
1463
|
closePopover: () => e(!1)
|
|
1407
1464
|
}
|
|
1408
1465
|
);
|
|
1409
|
-
}),
|
|
1466
|
+
}), Jn = Z(
|
|
1410
1467
|
({ playQueueStore: t }) => {
|
|
1411
|
-
const [e, n] =
|
|
1468
|
+
const [e, n] = q(!1);
|
|
1412
1469
|
return /* @__PURE__ */ o(
|
|
1413
|
-
|
|
1470
|
+
Un,
|
|
1414
1471
|
{
|
|
1415
1472
|
playQueueStore: t,
|
|
1416
1473
|
button: /* @__PURE__ */ o(
|
|
1417
|
-
|
|
1474
|
+
K,
|
|
1418
1475
|
{
|
|
1419
1476
|
title: "More options",
|
|
1420
1477
|
"aria-label": "More options",
|
|
1421
|
-
iconType:
|
|
1478
|
+
iconType: qt,
|
|
1422
1479
|
size: "s",
|
|
1423
1480
|
iconSize: "l",
|
|
1424
1481
|
onClick: () => n(!e)
|
|
@@ -1429,58 +1486,58 @@ const Kt = 80, Ln = D(({ playerStore: t }) => {
|
|
|
1429
1486
|
}
|
|
1430
1487
|
);
|
|
1431
1488
|
}
|
|
1432
|
-
),
|
|
1433
|
-
({ playQueueStore: t }) => /* @__PURE__ */
|
|
1434
|
-
|
|
1489
|
+
), Kn = Z(
|
|
1490
|
+
({ playQueueStore: t }) => /* @__PURE__ */ F(
|
|
1491
|
+
me,
|
|
1435
1492
|
{
|
|
1436
1493
|
responsive: !1,
|
|
1437
1494
|
gutterSize: "s",
|
|
1438
1495
|
justifyContent: "flexEnd",
|
|
1439
1496
|
alignItems: "center",
|
|
1440
1497
|
children: [
|
|
1441
|
-
/* @__PURE__ */ o(
|
|
1442
|
-
/* @__PURE__ */ o(
|
|
1498
|
+
/* @__PURE__ */ o(Gn, {}),
|
|
1499
|
+
/* @__PURE__ */ o(Jn, { playQueueStore: t })
|
|
1443
1500
|
]
|
|
1444
1501
|
}
|
|
1445
1502
|
)
|
|
1446
|
-
),
|
|
1447
|
-
({ playerStore: t, playQueueStore: e }) => /* @__PURE__ */ o(
|
|
1448
|
-
/* @__PURE__ */ o(
|
|
1449
|
-
/* @__PURE__ */ o(
|
|
1450
|
-
/* @__PURE__ */ o(
|
|
1451
|
-
/* @__PURE__ */ o(
|
|
1452
|
-
|
|
1503
|
+
), Ri = Y(
|
|
1504
|
+
({ playerStore: t, playQueueStore: e }) => /* @__PURE__ */ o(kr, { paddingSize: "s", children: /* @__PURE__ */ F(me, { direction: "column", gutterSize: "none", children: [
|
|
1505
|
+
/* @__PURE__ */ o(G, { children: /* @__PURE__ */ o(Yn, { playerStore: t }) }),
|
|
1506
|
+
/* @__PURE__ */ o(G, { children: /* @__PURE__ */ F(me, { responsive: !1, children: [
|
|
1507
|
+
/* @__PURE__ */ o(G, { css: { width: "calc(100% / 3)" } }),
|
|
1508
|
+
/* @__PURE__ */ o(G, { css: { width: "calc(100% / 3)" }, children: /* @__PURE__ */ o(
|
|
1509
|
+
Hn,
|
|
1453
1510
|
{
|
|
1454
1511
|
playerStore: t,
|
|
1455
1512
|
playQueueStore: e
|
|
1456
1513
|
}
|
|
1457
1514
|
) }),
|
|
1458
|
-
/* @__PURE__ */ o(
|
|
1459
|
-
|
|
1515
|
+
/* @__PURE__ */ o(G, { css: { width: "calc(100% / 3)" }, children: /* @__PURE__ */ o(
|
|
1516
|
+
Kn,
|
|
1460
1517
|
{
|
|
1461
1518
|
playQueueStore: e
|
|
1462
1519
|
}
|
|
1463
1520
|
) })
|
|
1464
1521
|
] }) })
|
|
1465
1522
|
] }) })
|
|
1466
|
-
),
|
|
1523
|
+
), Xn = ({
|
|
1467
1524
|
onCancel: t,
|
|
1468
1525
|
onSave: e
|
|
1469
1526
|
}) => {
|
|
1470
|
-
const [n, i] =
|
|
1471
|
-
return /* @__PURE__ */
|
|
1472
|
-
/* @__PURE__ */ o(
|
|
1473
|
-
/* @__PURE__ */ o($r, { children: /* @__PURE__ */
|
|
1474
|
-
/* @__PURE__ */ o(
|
|
1475
|
-
|
|
1527
|
+
const [n, i] = q(""), [a, l] = q(""), [f, m] = q(!1);
|
|
1528
|
+
return /* @__PURE__ */ F(Lr, { onClose: t, initialFocus: "[name=url]", children: [
|
|
1529
|
+
/* @__PURE__ */ o(jr, { children: /* @__PURE__ */ o(Fr, { children: "Add video" }) }),
|
|
1530
|
+
/* @__PURE__ */ o($r, { children: /* @__PURE__ */ F(Nr, { component: "form", children: [
|
|
1531
|
+
/* @__PURE__ */ o(tt, { label: "URL", children: /* @__PURE__ */ o(
|
|
1532
|
+
It,
|
|
1476
1533
|
{
|
|
1477
1534
|
name: "url",
|
|
1478
1535
|
value: n,
|
|
1479
1536
|
onChange: (h) => i(h.target.value)
|
|
1480
1537
|
}
|
|
1481
1538
|
) }),
|
|
1482
|
-
/* @__PURE__ */ o(
|
|
1483
|
-
|
|
1539
|
+
/* @__PURE__ */ o(tt, { label: "Title", children: /* @__PURE__ */ o(
|
|
1540
|
+
It,
|
|
1484
1541
|
{
|
|
1485
1542
|
name: "title",
|
|
1486
1543
|
value: a,
|
|
@@ -1488,10 +1545,10 @@ const Kt = 80, Ln = D(({ playerStore: t }) => {
|
|
|
1488
1545
|
}
|
|
1489
1546
|
) })
|
|
1490
1547
|
] }) }),
|
|
1491
|
-
/* @__PURE__ */
|
|
1492
|
-
/* @__PURE__ */ o(
|
|
1548
|
+
/* @__PURE__ */ F(Dr, { children: [
|
|
1549
|
+
/* @__PURE__ */ o(zr, { onClick: t, children: "Cancel" }),
|
|
1493
1550
|
/* @__PURE__ */ o(
|
|
1494
|
-
|
|
1551
|
+
ne,
|
|
1495
1552
|
{
|
|
1496
1553
|
type: "submit",
|
|
1497
1554
|
onClick: async () => {
|
|
@@ -1510,14 +1567,14 @@ const Kt = 80, Ln = D(({ playerStore: t }) => {
|
|
|
1510
1567
|
] })
|
|
1511
1568
|
] });
|
|
1512
1569
|
};
|
|
1513
|
-
function
|
|
1570
|
+
function Zn(t) {
|
|
1514
1571
|
return t !== null && typeof t == "object" && "title" in t && typeof t.title == "string";
|
|
1515
1572
|
}
|
|
1516
|
-
const
|
|
1573
|
+
const Qn = Z(
|
|
1517
1574
|
({ playQueueStore: t }) => {
|
|
1518
|
-
const [e, n] =
|
|
1575
|
+
const [e, n] = q(!1), i = $(
|
|
1519
1576
|
async (a) => {
|
|
1520
|
-
const l =
|
|
1577
|
+
const l = _r(a.url);
|
|
1521
1578
|
if (l !== void 0) {
|
|
1522
1579
|
const f = l.extractVideoId(a.url);
|
|
1523
1580
|
if (f !== void 0) {
|
|
@@ -1531,7 +1588,7 @@ const Xn = K(
|
|
|
1531
1588
|
url: a.url,
|
|
1532
1589
|
type: l.type,
|
|
1533
1590
|
videoId: f,
|
|
1534
|
-
title: a.title || (
|
|
1591
|
+
title: a.title || (Zn(h) ? h.title : f)
|
|
1535
1592
|
})
|
|
1536
1593
|
]);
|
|
1537
1594
|
}
|
|
@@ -1540,18 +1597,18 @@ const Xn = K(
|
|
|
1540
1597
|
},
|
|
1541
1598
|
[t]
|
|
1542
1599
|
);
|
|
1543
|
-
return /* @__PURE__ */
|
|
1600
|
+
return /* @__PURE__ */ F(Re, { children: [
|
|
1544
1601
|
/* @__PURE__ */ o(
|
|
1545
|
-
|
|
1602
|
+
ne,
|
|
1546
1603
|
{
|
|
1547
1604
|
onClick: () => n(!0),
|
|
1548
|
-
iconType:
|
|
1605
|
+
iconType: ut,
|
|
1549
1606
|
color: "primary",
|
|
1550
1607
|
children: "Add video"
|
|
1551
1608
|
}
|
|
1552
1609
|
),
|
|
1553
1610
|
e && /* @__PURE__ */ o(
|
|
1554
|
-
|
|
1611
|
+
Xn,
|
|
1555
1612
|
{
|
|
1556
1613
|
onCancel: () => n(!1),
|
|
1557
1614
|
onSave: i
|
|
@@ -1559,11 +1616,11 @@ const Xn = K(
|
|
|
1559
1616
|
)
|
|
1560
1617
|
] });
|
|
1561
1618
|
}
|
|
1562
|
-
),
|
|
1619
|
+
), ei = Y(
|
|
1563
1620
|
({ playQueueStore: t }) => {
|
|
1564
|
-
const { euiTheme: e } =
|
|
1565
|
-
return /* @__PURE__ */
|
|
1566
|
-
|
|
1621
|
+
const { euiTheme: e } = Yt();
|
|
1622
|
+
return /* @__PURE__ */ F(
|
|
1623
|
+
Yr,
|
|
1567
1624
|
{
|
|
1568
1625
|
style: {
|
|
1569
1626
|
position: "sticky",
|
|
@@ -1572,8 +1629,8 @@ const Xn = K(
|
|
|
1572
1629
|
background: e.colors.backgroundBasePlain
|
|
1573
1630
|
},
|
|
1574
1631
|
children: [
|
|
1575
|
-
/* @__PURE__ */ o(
|
|
1576
|
-
|
|
1632
|
+
/* @__PURE__ */ o(Vr, { children: /* @__PURE__ */ o(
|
|
1633
|
+
Bt,
|
|
1577
1634
|
{
|
|
1578
1635
|
id: "",
|
|
1579
1636
|
checked: t.allItemsSelected,
|
|
@@ -1582,19 +1639,19 @@ const Xn = K(
|
|
|
1582
1639
|
}
|
|
1583
1640
|
}
|
|
1584
1641
|
) }),
|
|
1585
|
-
/* @__PURE__ */ o(
|
|
1586
|
-
/* @__PURE__ */ o(
|
|
1587
|
-
/* @__PURE__ */ o(
|
|
1642
|
+
/* @__PURE__ */ o(Xe, { width: 24 }),
|
|
1643
|
+
/* @__PURE__ */ o(Xe, { children: "Title" }),
|
|
1644
|
+
/* @__PURE__ */ o(Xe, {})
|
|
1588
1645
|
]
|
|
1589
1646
|
}
|
|
1590
1647
|
);
|
|
1591
1648
|
}
|
|
1592
|
-
),
|
|
1649
|
+
), ti = Z(
|
|
1593
1650
|
({
|
|
1594
1651
|
item: t,
|
|
1595
1652
|
closePopover: e
|
|
1596
1653
|
}) => {
|
|
1597
|
-
const n =
|
|
1654
|
+
const n = Z(
|
|
1598
1655
|
({
|
|
1599
1656
|
onClick: i,
|
|
1600
1657
|
...a
|
|
@@ -1605,14 +1662,14 @@ const Xn = K(
|
|
|
1605
1662
|
},
|
|
1606
1663
|
[i]
|
|
1607
1664
|
);
|
|
1608
|
-
return /* @__PURE__ */ o(
|
|
1665
|
+
return /* @__PURE__ */ o(Br, { ...a, onClick: l });
|
|
1609
1666
|
}
|
|
1610
1667
|
);
|
|
1611
|
-
return /* @__PURE__ */
|
|
1668
|
+
return /* @__PURE__ */ F(Wr, { children: [
|
|
1612
1669
|
/* @__PURE__ */ o(
|
|
1613
1670
|
n,
|
|
1614
1671
|
{
|
|
1615
|
-
icon: /* @__PURE__ */ o(
|
|
1672
|
+
icon: /* @__PURE__ */ o(H, { type: "" }),
|
|
1616
1673
|
onClick: t.playFirst,
|
|
1617
1674
|
children: "Play first"
|
|
1618
1675
|
}
|
|
@@ -1620,7 +1677,7 @@ const Xn = K(
|
|
|
1620
1677
|
/* @__PURE__ */ o(
|
|
1621
1678
|
n,
|
|
1622
1679
|
{
|
|
1623
|
-
icon: /* @__PURE__ */ o(
|
|
1680
|
+
icon: /* @__PURE__ */ o(H, { type: "" }),
|
|
1624
1681
|
onClick: t.playNext,
|
|
1625
1682
|
children: "Play next"
|
|
1626
1683
|
}
|
|
@@ -1628,16 +1685,16 @@ const Xn = K(
|
|
|
1628
1685
|
/* @__PURE__ */ o(
|
|
1629
1686
|
n,
|
|
1630
1687
|
{
|
|
1631
|
-
icon: /* @__PURE__ */ o(
|
|
1688
|
+
icon: /* @__PURE__ */ o(H, { type: ut }),
|
|
1632
1689
|
onClick: t.addToPlayQueue,
|
|
1633
1690
|
children: "Add to play queue"
|
|
1634
1691
|
}
|
|
1635
1692
|
),
|
|
1636
|
-
/* @__PURE__ */ o(
|
|
1693
|
+
/* @__PURE__ */ o(Pt, { margin: "none" }),
|
|
1637
1694
|
/* @__PURE__ */ o(
|
|
1638
1695
|
n,
|
|
1639
1696
|
{
|
|
1640
|
-
icon: /* @__PURE__ */ o(
|
|
1697
|
+
icon: /* @__PURE__ */ o(H, { type: un }),
|
|
1641
1698
|
onClick: t.moveToTop,
|
|
1642
1699
|
disabled: !t.canMoveToTop,
|
|
1643
1700
|
children: "Move to the top"
|
|
@@ -1646,17 +1703,17 @@ const Xn = K(
|
|
|
1646
1703
|
/* @__PURE__ */ o(
|
|
1647
1704
|
n,
|
|
1648
1705
|
{
|
|
1649
|
-
icon: /* @__PURE__ */ o(
|
|
1706
|
+
icon: /* @__PURE__ */ o(H, { type: fn }),
|
|
1650
1707
|
onClick: t.moveToBottom,
|
|
1651
1708
|
disabled: !t.canMoveToBottom,
|
|
1652
1709
|
children: "Move to the bottom"
|
|
1653
1710
|
}
|
|
1654
1711
|
),
|
|
1655
|
-
/* @__PURE__ */ o(
|
|
1712
|
+
/* @__PURE__ */ o(Pt, { margin: "none" }),
|
|
1656
1713
|
/* @__PURE__ */ o(
|
|
1657
1714
|
n,
|
|
1658
1715
|
{
|
|
1659
|
-
icon: /* @__PURE__ */ o(
|
|
1716
|
+
icon: /* @__PURE__ */ o(H, { type: "" }),
|
|
1660
1717
|
onClick: t.removeToTop,
|
|
1661
1718
|
disabled: !t.canRemoveToTop,
|
|
1662
1719
|
children: "Remove to the top"
|
|
@@ -1665,7 +1722,7 @@ const Xn = K(
|
|
|
1665
1722
|
/* @__PURE__ */ o(
|
|
1666
1723
|
n,
|
|
1667
1724
|
{
|
|
1668
|
-
icon: /* @__PURE__ */ o(
|
|
1725
|
+
icon: /* @__PURE__ */ o(H, { type: "" }),
|
|
1669
1726
|
onClick: t.removeOthers,
|
|
1670
1727
|
disabled: !t.canRemoveOthers,
|
|
1671
1728
|
children: "Remove others"
|
|
@@ -1673,18 +1730,18 @@ const Xn = K(
|
|
|
1673
1730
|
)
|
|
1674
1731
|
] });
|
|
1675
1732
|
}
|
|
1676
|
-
),
|
|
1733
|
+
), ri = Z(
|
|
1677
1734
|
({ item: t }) => {
|
|
1678
|
-
const [e, n] =
|
|
1735
|
+
const [e, n] = q(!1), i = $(() => n(!e), [e]), a = $(() => n(!1), []);
|
|
1679
1736
|
return /* @__PURE__ */ o(
|
|
1680
|
-
|
|
1737
|
+
lt,
|
|
1681
1738
|
{
|
|
1682
1739
|
button: /* @__PURE__ */ o(
|
|
1683
|
-
|
|
1740
|
+
K,
|
|
1684
1741
|
{
|
|
1685
1742
|
title: "More options",
|
|
1686
1743
|
"aria-label": "More options",
|
|
1687
|
-
iconType:
|
|
1744
|
+
iconType: qt,
|
|
1688
1745
|
size: "s",
|
|
1689
1746
|
color: "text",
|
|
1690
1747
|
onClick: i
|
|
@@ -1695,7 +1752,7 @@ const Xn = K(
|
|
|
1695
1752
|
panelPaddingSize: "none",
|
|
1696
1753
|
anchorPosition: "leftCenter",
|
|
1697
1754
|
children: /* @__PURE__ */ o(
|
|
1698
|
-
|
|
1755
|
+
ti,
|
|
1699
1756
|
{
|
|
1700
1757
|
item: t,
|
|
1701
1758
|
closePopover: a
|
|
@@ -1704,14 +1761,14 @@ const Xn = K(
|
|
|
1704
1761
|
}
|
|
1705
1762
|
);
|
|
1706
1763
|
}
|
|
1707
|
-
),
|
|
1764
|
+
), ni = Y(
|
|
1708
1765
|
({ item: t }) => {
|
|
1709
|
-
const e =
|
|
1710
|
-
return /* @__PURE__ */
|
|
1766
|
+
const e = ie();
|
|
1767
|
+
return /* @__PURE__ */ F(rt, { textOnly: !1, hasActions: !0, align: "right", children: [
|
|
1711
1768
|
/* @__PURE__ */ o(
|
|
1712
|
-
|
|
1769
|
+
ne,
|
|
1713
1770
|
{
|
|
1714
|
-
iconType:
|
|
1771
|
+
iconType: dn,
|
|
1715
1772
|
size: "s",
|
|
1716
1773
|
onClick: async () => {
|
|
1717
1774
|
t.isCurrent ? await e.setCurrentTime(0) : t.play();
|
|
@@ -1720,18 +1777,18 @@ const Xn = K(
|
|
|
1720
1777
|
}
|
|
1721
1778
|
),
|
|
1722
1779
|
/* @__PURE__ */ o(
|
|
1723
|
-
|
|
1780
|
+
ne,
|
|
1724
1781
|
{
|
|
1725
|
-
iconType:
|
|
1782
|
+
iconType: ct,
|
|
1726
1783
|
size: "s",
|
|
1727
1784
|
onClick: t.remove,
|
|
1728
1785
|
children: "Remove"
|
|
1729
1786
|
}
|
|
1730
1787
|
),
|
|
1731
|
-
/* @__PURE__ */ o(
|
|
1788
|
+
/* @__PURE__ */ o(ri, { item: t })
|
|
1732
1789
|
] });
|
|
1733
1790
|
}
|
|
1734
|
-
),
|
|
1791
|
+
), ii = {
|
|
1735
1792
|
Audio: "",
|
|
1736
1793
|
Dailymotion: "https://www.dailymotion.com/favicon.ico",
|
|
1737
1794
|
Niconico: "https://www.nicovideo.jp/favicon.ico",
|
|
@@ -1739,29 +1796,29 @@ const Xn = K(
|
|
|
1739
1796
|
Twitch: "https://www.twitch.tv/favicon.ico",
|
|
1740
1797
|
Vimeo: "https://vimeo.com/favicon.ico",
|
|
1741
1798
|
YouTube: "https://www.youtube.com/favicon.ico"
|
|
1742
|
-
},
|
|
1799
|
+
}, oi = Y(
|
|
1743
1800
|
({ item: t }) => {
|
|
1744
|
-
const e =
|
|
1745
|
-
return /* @__PURE__ */
|
|
1746
|
-
/* @__PURE__ */ o(
|
|
1747
|
-
|
|
1801
|
+
const e = ie();
|
|
1802
|
+
return /* @__PURE__ */ F(Hr, { isSelected: t.isCurrent, children: [
|
|
1803
|
+
/* @__PURE__ */ o(Ur, { children: /* @__PURE__ */ o(
|
|
1804
|
+
Bt,
|
|
1748
1805
|
{
|
|
1749
1806
|
id: t.id.toString(),
|
|
1750
1807
|
checked: t.isSelected,
|
|
1751
1808
|
onChange: t.toggleSelected
|
|
1752
1809
|
}
|
|
1753
1810
|
) }),
|
|
1754
|
-
/* @__PURE__ */ o(
|
|
1811
|
+
/* @__PURE__ */ o(rt, { textOnly: !1, children: /* @__PURE__ */ o(
|
|
1755
1812
|
"img",
|
|
1756
1813
|
{
|
|
1757
|
-
src:
|
|
1814
|
+
src: ii[t.type],
|
|
1758
1815
|
width: 16,
|
|
1759
1816
|
height: 16,
|
|
1760
1817
|
alt: t.type
|
|
1761
1818
|
}
|
|
1762
1819
|
) }),
|
|
1763
|
-
/* @__PURE__ */ o(
|
|
1764
|
-
|
|
1820
|
+
/* @__PURE__ */ o(rt, { children: /* @__PURE__ */ o(
|
|
1821
|
+
qr,
|
|
1765
1822
|
{
|
|
1766
1823
|
href: t.url,
|
|
1767
1824
|
target: "_blank",
|
|
@@ -1770,36 +1827,36 @@ const Xn = K(
|
|
|
1770
1827
|
children: t.title
|
|
1771
1828
|
}
|
|
1772
1829
|
) }),
|
|
1773
|
-
/* @__PURE__ */ o(
|
|
1830
|
+
/* @__PURE__ */ o(ni, { item: t })
|
|
1774
1831
|
] }, t.id);
|
|
1775
1832
|
}
|
|
1776
|
-
),
|
|
1833
|
+
), ai = Y(
|
|
1777
1834
|
({ playQueueStore: t }) => /* @__PURE__ */ o(
|
|
1778
|
-
|
|
1835
|
+
hn,
|
|
1779
1836
|
{
|
|
1780
1837
|
tag: "tbody",
|
|
1781
1838
|
list: t.items,
|
|
1782
1839
|
setList: (e) => t.setItems(e),
|
|
1783
|
-
children: t.items.map((e) => /* @__PURE__ */ o(
|
|
1840
|
+
children: t.items.map((e) => /* @__PURE__ */ o(oi, { item: e }, e.id))
|
|
1784
1841
|
}
|
|
1785
1842
|
)
|
|
1786
|
-
),
|
|
1787
|
-
({ playQueueStore: t }) => /* @__PURE__ */
|
|
1788
|
-
/* @__PURE__ */ o(
|
|
1789
|
-
/* @__PURE__ */ o(
|
|
1843
|
+
), si = Y(
|
|
1844
|
+
({ playQueueStore: t }) => /* @__PURE__ */ F(Gr, { children: [
|
|
1845
|
+
/* @__PURE__ */ o(ei, { playQueueStore: t }),
|
|
1846
|
+
/* @__PURE__ */ o(ai, { playQueueStore: t })
|
|
1790
1847
|
] })
|
|
1791
|
-
),
|
|
1848
|
+
), li = Y(
|
|
1792
1849
|
({ playQueueStore: t }) => {
|
|
1793
|
-
const [e, n] =
|
|
1794
|
-
return /* @__PURE__ */
|
|
1850
|
+
const [e, n] = q(!1);
|
|
1851
|
+
return /* @__PURE__ */ F(Re, { children: [
|
|
1795
1852
|
e && /* @__PURE__ */ o(
|
|
1796
|
-
|
|
1853
|
+
Kr,
|
|
1797
1854
|
{
|
|
1798
1855
|
type: "push",
|
|
1799
1856
|
size: "s",
|
|
1800
1857
|
onClose: () => n(!1),
|
|
1801
1858
|
children: /* @__PURE__ */ o("div", { style: { blockSize: "100%" }, children: /* @__PURE__ */ o(
|
|
1802
|
-
|
|
1859
|
+
Jr,
|
|
1803
1860
|
{
|
|
1804
1861
|
language: "json",
|
|
1805
1862
|
overflowHeight: "100%",
|
|
@@ -1814,15 +1871,15 @@ const Xn = K(
|
|
|
1814
1871
|
) })
|
|
1815
1872
|
}
|
|
1816
1873
|
),
|
|
1817
|
-
/* @__PURE__ */ o(
|
|
1874
|
+
/* @__PURE__ */ o(Qn, { playQueueStore: t })
|
|
1818
1875
|
] });
|
|
1819
1876
|
}
|
|
1820
|
-
),
|
|
1877
|
+
), ci = Y(
|
|
1821
1878
|
({ playerStore: t, playQueueStore: e }) => {
|
|
1822
|
-
const { euiTheme: n } =
|
|
1823
|
-
return /* @__PURE__ */
|
|
1824
|
-
/* @__PURE__ */
|
|
1825
|
-
|
|
1879
|
+
const { euiTheme: n } = Yt();
|
|
1880
|
+
return /* @__PURE__ */ F(Re, { children: [
|
|
1881
|
+
/* @__PURE__ */ F(
|
|
1882
|
+
me,
|
|
1826
1883
|
{
|
|
1827
1884
|
alignItems: "center",
|
|
1828
1885
|
gutterSize: "m",
|
|
@@ -1833,49 +1890,49 @@ const Xn = K(
|
|
|
1833
1890
|
background: n.colors.backgroundBasePlain
|
|
1834
1891
|
},
|
|
1835
1892
|
children: [
|
|
1836
|
-
/* @__PURE__ */ o(
|
|
1837
|
-
|
|
1893
|
+
/* @__PURE__ */ o(G, { grow: !1, children: /* @__PURE__ */ o(
|
|
1894
|
+
ne,
|
|
1838
1895
|
{
|
|
1839
1896
|
disabled: e.isEmpty || e.selectedItems.length === 0,
|
|
1840
1897
|
onClick: e.playSelectedItemsNext,
|
|
1841
1898
|
children: "Play next"
|
|
1842
1899
|
}
|
|
1843
1900
|
) }),
|
|
1844
|
-
/* @__PURE__ */ o(
|
|
1845
|
-
|
|
1901
|
+
/* @__PURE__ */ o(G, { grow: !1, children: /* @__PURE__ */ o(
|
|
1902
|
+
ne,
|
|
1846
1903
|
{
|
|
1847
|
-
iconType:
|
|
1904
|
+
iconType: ut,
|
|
1848
1905
|
onClick: e.addSelectedItems,
|
|
1849
1906
|
disabled: e.isEmpty || e.selectedItems.length === 0,
|
|
1850
1907
|
children: "Add to play queue"
|
|
1851
1908
|
}
|
|
1852
1909
|
) }),
|
|
1853
|
-
/* @__PURE__ */ o(
|
|
1854
|
-
|
|
1910
|
+
/* @__PURE__ */ o(G, { grow: !1, children: /* @__PURE__ */ o(
|
|
1911
|
+
ne,
|
|
1855
1912
|
{
|
|
1856
|
-
iconType:
|
|
1913
|
+
iconType: ct,
|
|
1857
1914
|
onClick: e.removeSelectedItems,
|
|
1858
1915
|
disabled: e.isEmpty || e.selectedItems.length === 0,
|
|
1859
1916
|
children: "Remove"
|
|
1860
1917
|
}
|
|
1861
1918
|
) }),
|
|
1862
|
-
/* @__PURE__ */ o(
|
|
1863
|
-
|
|
1919
|
+
/* @__PURE__ */ o(G, { grow: !1, children: /* @__PURE__ */ o(
|
|
1920
|
+
ne,
|
|
1864
1921
|
{
|
|
1865
|
-
iconType:
|
|
1922
|
+
iconType: mn,
|
|
1866
1923
|
onClick: e.clear,
|
|
1867
1924
|
disabled: e.isEmpty,
|
|
1868
1925
|
children: "Clear"
|
|
1869
1926
|
}
|
|
1870
1927
|
) }),
|
|
1871
|
-
/* @__PURE__ */ o(
|
|
1872
|
-
/* @__PURE__ */ o(
|
|
1928
|
+
/* @__PURE__ */ o(G, { grow: !0 }),
|
|
1929
|
+
/* @__PURE__ */ o(G, { grow: !1, children: /* @__PURE__ */ o(li, { playQueueStore: e }) })
|
|
1873
1930
|
]
|
|
1874
1931
|
}
|
|
1875
1932
|
),
|
|
1876
|
-
!e.isEmpty && /* @__PURE__ */
|
|
1933
|
+
!e.isEmpty && /* @__PURE__ */ F(Re, { children: [
|
|
1877
1934
|
/* @__PURE__ */ o(
|
|
1878
|
-
|
|
1935
|
+
Wt,
|
|
1879
1936
|
{
|
|
1880
1937
|
size: "l",
|
|
1881
1938
|
style: {
|
|
@@ -1886,47 +1943,47 @@ const Xn = K(
|
|
|
1886
1943
|
}
|
|
1887
1944
|
}
|
|
1888
1945
|
),
|
|
1889
|
-
/* @__PURE__ */ o(
|
|
1946
|
+
/* @__PURE__ */ o(si, { playQueueStore: e })
|
|
1890
1947
|
] })
|
|
1891
1948
|
] });
|
|
1892
1949
|
}
|
|
1893
|
-
),
|
|
1894
|
-
({ playerStore: t, playQueueStore: e }) => /* @__PURE__ */
|
|
1950
|
+
), wi = Y(
|
|
1951
|
+
({ playerStore: t, playQueueStore: e }) => /* @__PURE__ */ F(Re, { children: [
|
|
1895
1952
|
/* @__PURE__ */ o(
|
|
1896
|
-
|
|
1953
|
+
nt.Header,
|
|
1897
1954
|
{
|
|
1898
1955
|
pageTitle: "Play queue",
|
|
1899
1956
|
rightSideItems: []
|
|
1900
1957
|
}
|
|
1901
1958
|
),
|
|
1902
|
-
/* @__PURE__ */ o(
|
|
1903
|
-
|
|
1959
|
+
/* @__PURE__ */ o(nt.Section, { children: /* @__PURE__ */ o(
|
|
1960
|
+
ci,
|
|
1904
1961
|
{
|
|
1905
1962
|
playerStore: t,
|
|
1906
1963
|
playQueueStore: e
|
|
1907
1964
|
}
|
|
1908
1965
|
) })
|
|
1909
1966
|
] })
|
|
1910
|
-
),
|
|
1967
|
+
), ot = {
|
|
1911
1968
|
width: 16 * 25,
|
|
1912
1969
|
height: 9 * 25
|
|
1913
|
-
},
|
|
1970
|
+
}, Oi = Y(
|
|
1914
1971
|
({ playerStore: t, playQueueStore: e }) => {
|
|
1915
|
-
const n =
|
|
1972
|
+
const n = ie(), i = $(async () => {
|
|
1916
1973
|
e.interacted && await n.play();
|
|
1917
1974
|
}, [e, n]), a = $(async () => {
|
|
1918
1975
|
switch (e.repeat) {
|
|
1919
|
-
case
|
|
1976
|
+
case R.One:
|
|
1920
1977
|
await n.setCurrentTime(0);
|
|
1921
1978
|
break;
|
|
1922
|
-
case
|
|
1923
|
-
case
|
|
1979
|
+
case R.Off:
|
|
1980
|
+
case R.All:
|
|
1924
1981
|
if (e.isLastItem)
|
|
1925
1982
|
switch (e.repeat) {
|
|
1926
|
-
case
|
|
1983
|
+
case R.Off:
|
|
1927
1984
|
t.onEnded();
|
|
1928
1985
|
break;
|
|
1929
|
-
case
|
|
1986
|
+
case R.All:
|
|
1930
1987
|
e.hasMultipleItems ? await e.goToFirst() : await n.setCurrentTime(0);
|
|
1931
1988
|
break;
|
|
1932
1989
|
}
|
|
@@ -1934,7 +1991,7 @@ const Xn = K(
|
|
|
1934
1991
|
await e.next();
|
|
1935
1992
|
break;
|
|
1936
1993
|
}
|
|
1937
|
-
}, [e, t, n]), l =
|
|
1994
|
+
}, [e, t, n]), l = zt(
|
|
1938
1995
|
() => ({
|
|
1939
1996
|
onLoaded: i,
|
|
1940
1997
|
onPlay: t.onPlay,
|
|
@@ -1950,16 +2007,16 @@ const Xn = K(
|
|
|
1950
2007
|
css: {
|
|
1951
2008
|
position: "fixed",
|
|
1952
2009
|
right: 0,
|
|
1953
|
-
bottom:
|
|
1954
|
-
width:
|
|
1955
|
-
height:
|
|
2010
|
+
bottom: Zt,
|
|
2011
|
+
width: ot.width,
|
|
2012
|
+
height: ot.height,
|
|
1956
2013
|
zIndex: 998,
|
|
1957
2014
|
backgroundColor: "rgb(39, 39, 39)",
|
|
1958
2015
|
display: "flex",
|
|
1959
2016
|
flexDirection: "column"
|
|
1960
2017
|
},
|
|
1961
2018
|
children: /* @__PURE__ */ o("div", { css: { flexGrow: 1, backgroundColor: "black" }, children: e.currentItem && /* @__PURE__ */ o(
|
|
1962
|
-
|
|
2019
|
+
Ar,
|
|
1963
2020
|
{
|
|
1964
2021
|
src: e.currentItem.url,
|
|
1965
2022
|
options: l
|
|
@@ -1969,25 +2026,25 @@ const Xn = K(
|
|
|
1969
2026
|
);
|
|
1970
2027
|
}
|
|
1971
2028
|
);
|
|
1972
|
-
class
|
|
2029
|
+
class Qt {
|
|
1973
2030
|
makeObservable(e, n) {
|
|
1974
|
-
return
|
|
2031
|
+
return vn(e, n);
|
|
1975
2032
|
}
|
|
1976
2033
|
}
|
|
1977
2034
|
const Ce = class Ce {
|
|
1978
2035
|
constructor(e, n, i) {
|
|
1979
|
-
|
|
1980
|
-
|
|
2036
|
+
U(this, "id");
|
|
2037
|
+
U(this, "isSelected", !1);
|
|
1981
2038
|
this.observableStateProvider = e, this.playQueueStore = n, this.dto = i, this.id = Ce.nextId++, e.makeObservable(this, {
|
|
1982
|
-
isSelected:
|
|
1983
|
-
isCurrent:
|
|
1984
|
-
index:
|
|
1985
|
-
isFirst:
|
|
1986
|
-
isLast:
|
|
1987
|
-
canMoveToTop:
|
|
1988
|
-
canMoveToBottom:
|
|
1989
|
-
canRemoveToTop:
|
|
1990
|
-
canRemoveOthers:
|
|
2039
|
+
isSelected: re,
|
|
2040
|
+
isCurrent: _,
|
|
2041
|
+
index: _,
|
|
2042
|
+
isFirst: _,
|
|
2043
|
+
isLast: _,
|
|
2044
|
+
canMoveToTop: _,
|
|
2045
|
+
canMoveToBottom: _,
|
|
2046
|
+
canRemoveToTop: _,
|
|
2047
|
+
canRemoveOthers: _,
|
|
1991
2048
|
unselect: y,
|
|
1992
2049
|
toggleSelected: y.bound,
|
|
1993
2050
|
play: y,
|
|
@@ -2084,14 +2141,14 @@ const Ce = class Ce {
|
|
|
2084
2141
|
return this.playQueueStore.removeOtherItems(this);
|
|
2085
2142
|
}
|
|
2086
2143
|
};
|
|
2087
|
-
|
|
2088
|
-
let
|
|
2089
|
-
const
|
|
2144
|
+
U(Ce, "nextId", 1);
|
|
2145
|
+
let at = Ce;
|
|
2146
|
+
const et = new yn({
|
|
2090
2147
|
coerceTypes: !0
|
|
2091
2148
|
});
|
|
2092
|
-
function
|
|
2149
|
+
function ui(t, e) {
|
|
2093
2150
|
let n;
|
|
2094
|
-
if (n =
|
|
2151
|
+
if (n = et.getSchema(e), n === void 0 && (et.addSchema(t, e), n = et.getSchema(e)), n === void 0 || n.schema !== t)
|
|
2095
2152
|
throw new Error(
|
|
2096
2153
|
`Invalid schema. Expected: '${JSON.stringify(
|
|
2097
2154
|
t
|
|
@@ -2099,7 +2156,7 @@ function li(t, e) {
|
|
|
2099
2156
|
);
|
|
2100
2157
|
return n;
|
|
2101
2158
|
}
|
|
2102
|
-
const
|
|
2159
|
+
const fi = {
|
|
2103
2160
|
type: "object",
|
|
2104
2161
|
properties: {
|
|
2105
2162
|
version: {
|
|
@@ -2108,7 +2165,7 @@ const ci = {
|
|
|
2108
2165
|
},
|
|
2109
2166
|
repeat: {
|
|
2110
2167
|
type: "string",
|
|
2111
|
-
enum: Object.values(
|
|
2168
|
+
enum: Object.values(R),
|
|
2112
2169
|
nullable: !0
|
|
2113
2170
|
},
|
|
2114
2171
|
shuffle: {
|
|
@@ -2142,36 +2199,36 @@ const ci = {
|
|
|
2142
2199
|
nullable: !0
|
|
2143
2200
|
}
|
|
2144
2201
|
}
|
|
2145
|
-
},
|
|
2146
|
-
|
|
2202
|
+
}, di = ui(
|
|
2203
|
+
fi,
|
|
2147
2204
|
"PlayQueueStore"
|
|
2148
2205
|
);
|
|
2149
|
-
class
|
|
2206
|
+
class mi {
|
|
2150
2207
|
constructor(e) {
|
|
2151
|
-
|
|
2152
|
-
|
|
2153
|
-
|
|
2154
|
-
|
|
2155
|
-
|
|
2208
|
+
U(this, "interacted", !1);
|
|
2209
|
+
U(this, "items", []);
|
|
2210
|
+
U(this, "currentId");
|
|
2211
|
+
U(this, "repeat", R.Off);
|
|
2212
|
+
U(this, "shuffle", !1);
|
|
2156
2213
|
this.observableStateProvider = e, e.makeObservable(this, {
|
|
2157
|
-
interacted:
|
|
2158
|
-
items:
|
|
2159
|
-
currentId:
|
|
2160
|
-
repeat:
|
|
2161
|
-
shuffle:
|
|
2162
|
-
localStorageState:
|
|
2163
|
-
isEmpty:
|
|
2164
|
-
currentItem:
|
|
2165
|
-
canPlay:
|
|
2166
|
-
canPause:
|
|
2167
|
-
hasMultipleItems:
|
|
2168
|
-
currentIndex:
|
|
2169
|
-
hasPreviousItem:
|
|
2170
|
-
hasNextItem:
|
|
2171
|
-
isLastItem:
|
|
2172
|
-
selectedItems:
|
|
2173
|
-
allItemsSelected:
|
|
2174
|
-
selectedItemsOrAllItems:
|
|
2214
|
+
interacted: re,
|
|
2215
|
+
items: re,
|
|
2216
|
+
currentId: re,
|
|
2217
|
+
repeat: re,
|
|
2218
|
+
shuffle: re,
|
|
2219
|
+
localStorageState: _.struct,
|
|
2220
|
+
isEmpty: _,
|
|
2221
|
+
currentItem: _,
|
|
2222
|
+
canPlay: _,
|
|
2223
|
+
canPause: _,
|
|
2224
|
+
hasMultipleItems: _,
|
|
2225
|
+
currentIndex: _,
|
|
2226
|
+
hasPreviousItem: _,
|
|
2227
|
+
hasNextItem: _,
|
|
2228
|
+
isLastItem: _,
|
|
2229
|
+
selectedItems: _,
|
|
2230
|
+
allItemsSelected: _,
|
|
2231
|
+
selectedItemsOrAllItems: _,
|
|
2175
2232
|
setItems: y,
|
|
2176
2233
|
interact: y,
|
|
2177
2234
|
clear: y.bound,
|
|
@@ -2197,7 +2254,7 @@ class di {
|
|
|
2197
2254
|
});
|
|
2198
2255
|
}
|
|
2199
2256
|
createItem(e) {
|
|
2200
|
-
return
|
|
2257
|
+
return at.fromDto(
|
|
2201
2258
|
this.observableStateProvider,
|
|
2202
2259
|
this,
|
|
2203
2260
|
e
|
|
@@ -2214,10 +2271,10 @@ class di {
|
|
|
2214
2271
|
}
|
|
2215
2272
|
set localStorageState(e) {
|
|
2216
2273
|
var n;
|
|
2217
|
-
this.repeat = e.repeat ??
|
|
2274
|
+
this.repeat = e.repeat ?? R.Off, this.shuffle = e.shuffle ?? !1, this.items = ((n = e.items) == null ? void 0 : n.map((i) => this.createItem(i))) ?? [], this.currentIndex = e.currentIndex;
|
|
2218
2275
|
}
|
|
2219
2276
|
validateLocalStorageState(e) {
|
|
2220
|
-
return
|
|
2277
|
+
return di(e);
|
|
2221
2278
|
}
|
|
2222
2279
|
get isEmpty() {
|
|
2223
2280
|
return this.items.length === 0;
|
|
@@ -2347,14 +2404,14 @@ class di {
|
|
|
2347
2404
|
}
|
|
2348
2405
|
toggleRepeat() {
|
|
2349
2406
|
switch (this.repeat) {
|
|
2350
|
-
case
|
|
2351
|
-
this.repeat =
|
|
2407
|
+
case R.Off:
|
|
2408
|
+
this.repeat = R.All;
|
|
2352
2409
|
break;
|
|
2353
|
-
case
|
|
2354
|
-
this.repeat =
|
|
2410
|
+
case R.All:
|
|
2411
|
+
this.repeat = R.One;
|
|
2355
2412
|
break;
|
|
2356
|
-
case
|
|
2357
|
-
this.repeat =
|
|
2413
|
+
case R.One:
|
|
2414
|
+
this.repeat = R.Off;
|
|
2358
2415
|
break;
|
|
2359
2416
|
}
|
|
2360
2417
|
}
|
|
@@ -2371,45 +2428,45 @@ class di {
|
|
|
2371
2428
|
this.currentIndex !== void 0 && (this.currentIndex = 0);
|
|
2372
2429
|
}
|
|
2373
2430
|
}
|
|
2374
|
-
const
|
|
2431
|
+
const er = Lt(void 0), _i = ({
|
|
2375
2432
|
children: t
|
|
2376
2433
|
}) => {
|
|
2377
|
-
const [e] =
|
|
2378
|
-
() => new
|
|
2379
|
-
), n =
|
|
2380
|
-
return
|
|
2434
|
+
const [e] = q(
|
|
2435
|
+
() => new mi(new Qt())
|
|
2436
|
+
), n = ie();
|
|
2437
|
+
return wr(() => pn(
|
|
2381
2438
|
() => e.currentItem,
|
|
2382
2439
|
async (i, a) => {
|
|
2383
2440
|
i === void 0 || a === void 0 || i.type === a.type && i.videoId === a.videoId && await n.setCurrentTime(0);
|
|
2384
2441
|
}
|
|
2385
|
-
), [e, n]), /* @__PURE__ */ o(
|
|
2386
|
-
},
|
|
2442
|
+
), [e, n]), /* @__PURE__ */ o(er.Provider, { value: e, children: t });
|
|
2443
|
+
}, hi = () => st(er), Ai = Y(
|
|
2387
2444
|
({ children: t }) => {
|
|
2388
|
-
const e =
|
|
2389
|
-
return /* @__PURE__ */
|
|
2390
|
-
|
|
2445
|
+
const e = hi();
|
|
2446
|
+
return /* @__PURE__ */ F(
|
|
2447
|
+
nt,
|
|
2391
2448
|
{
|
|
2392
2449
|
panelled: !0,
|
|
2393
2450
|
style: {
|
|
2394
|
-
minBlockSize: `max(460px, 100vh - ${
|
|
2451
|
+
minBlockSize: `max(460px, 100vh - ${Zt}px)`
|
|
2395
2452
|
},
|
|
2396
2453
|
children: [
|
|
2397
2454
|
t,
|
|
2398
|
-
!e.isEmpty && /* @__PURE__ */ o(
|
|
2455
|
+
!e.isEmpty && /* @__PURE__ */ o(Wt, { style: { blockSize: ot.height } })
|
|
2399
2456
|
]
|
|
2400
2457
|
}
|
|
2401
2458
|
);
|
|
2402
2459
|
}
|
|
2403
2460
|
);
|
|
2404
|
-
class
|
|
2461
|
+
class vi {
|
|
2405
2462
|
constructor(e) {
|
|
2406
|
-
|
|
2407
|
-
|
|
2408
|
-
|
|
2463
|
+
U(this, "playing", !1);
|
|
2464
|
+
U(this, "percent", 0);
|
|
2465
|
+
U(this, "seeking", !1);
|
|
2409
2466
|
e.makeObservable(this, {
|
|
2410
|
-
playing:
|
|
2411
|
-
percent:
|
|
2412
|
-
seeking:
|
|
2467
|
+
playing: re,
|
|
2468
|
+
percent: re,
|
|
2469
|
+
seeking: re,
|
|
2413
2470
|
setPlaying: y,
|
|
2414
2471
|
setPercent: y,
|
|
2415
2472
|
setSeeking: y,
|
|
@@ -2441,32 +2498,32 @@ class mi {
|
|
|
2441
2498
|
e !== void 0 && (this.seeking || (this.percent = e));
|
|
2442
2499
|
}
|
|
2443
2500
|
}
|
|
2444
|
-
const
|
|
2501
|
+
const tr = Lt(void 0), ki = ({
|
|
2445
2502
|
children: t
|
|
2446
2503
|
}) => {
|
|
2447
|
-
const [e] =
|
|
2448
|
-
() => new
|
|
2504
|
+
const [e] = q(
|
|
2505
|
+
() => new vi(new Qt())
|
|
2449
2506
|
);
|
|
2450
|
-
return /* @__PURE__ */ o(
|
|
2451
|
-
},
|
|
2452
|
-
class
|
|
2507
|
+
return /* @__PURE__ */ o(tr.Provider, { value: e, children: t });
|
|
2508
|
+
}, Mi = () => st(tr);
|
|
2509
|
+
class Fi {
|
|
2453
2510
|
makeObservable(e, n) {
|
|
2454
2511
|
return e;
|
|
2455
2512
|
}
|
|
2456
2513
|
}
|
|
2457
2514
|
export {
|
|
2458
|
-
|
|
2459
|
-
|
|
2460
|
-
|
|
2461
|
-
|
|
2462
|
-
|
|
2463
|
-
|
|
2464
|
-
|
|
2465
|
-
|
|
2466
|
-
|
|
2467
|
-
|
|
2468
|
-
|
|
2469
|
-
|
|
2470
|
-
|
|
2515
|
+
Ri as BottomBar,
|
|
2516
|
+
wi as HydrangeanDiva,
|
|
2517
|
+
Ai as MediaPlayerLayout,
|
|
2518
|
+
Oi as MiniPlayer,
|
|
2519
|
+
Qt as MobXObservableStateProvider,
|
|
2520
|
+
Fi as ObservableStateProvider,
|
|
2521
|
+
_i as PlayQueueStoreProvider,
|
|
2522
|
+
ki as PlayerStoreProvider,
|
|
2523
|
+
R as RepeatMode,
|
|
2524
|
+
Zt as bottomBarHeight,
|
|
2525
|
+
ot as miniPlayerSize,
|
|
2526
|
+
hi as usePlayQueueStore,
|
|
2527
|
+
Mi as usePlayerStore
|
|
2471
2528
|
};
|
|
2472
2529
|
//# sourceMappingURL=index.es.js.map
|