@banou/media-player 0.2.4 → 0.2.6
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/build/chrome/index.d.ts +2 -1
- package/build/index.js +818 -815
- package/package.json +2 -2
- package/src/chrome/index.tsx +3 -1
- package/src/index.tsx +9 -3
- package/src/utils.ts +1 -0
package/build/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import * as Fe from "react";
|
|
2
|
-
import ht, { forwardRef as pt, useContext as Vt, useState as
|
|
3
|
-
import { css as
|
|
2
|
+
import ht, { forwardRef as pt, useContext as Vt, useState as U, useEffect as pe, useRef as er, useMemo as Ir } from "react";
|
|
3
|
+
import { css as kr } from "@emotion/react";
|
|
4
4
|
import { makeRemuxer as Bt } from "libav-wasm";
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import { VolumeX as Jr, Volume2 as
|
|
5
|
+
import zt from "jassub";
|
|
6
|
+
import Ze from "react-tooltip";
|
|
7
|
+
import { VolumeX as Jr, Volume2 as Yt, Volume1 as Ut, Volume as Wt, AlertTriangle as qt } from "react-feather";
|
|
8
8
|
import Gt from "p-queue";
|
|
9
|
-
var
|
|
9
|
+
var $r = { exports: {} }, sr = {};
|
|
10
10
|
/**
|
|
11
11
|
* @license React
|
|
12
12
|
* react-jsx-runtime.production.min.js
|
|
@@ -19,22 +19,22 @@ var Ar = { exports: {} }, ir = {};
|
|
|
19
19
|
var Xr;
|
|
20
20
|
function Kt() {
|
|
21
21
|
if (Xr)
|
|
22
|
-
return
|
|
22
|
+
return sr;
|
|
23
23
|
Xr = 1;
|
|
24
24
|
var e = ht, r = Symbol.for("react.element"), t = Symbol.for("react.fragment"), a = Object.prototype.hasOwnProperty, i = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, o = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
25
25
|
function l(u, d, v) {
|
|
26
|
-
var m, h = {},
|
|
27
|
-
v !== void 0 && (
|
|
26
|
+
var m, h = {}, N = null, S = null;
|
|
27
|
+
v !== void 0 && (N = "" + v), d.key !== void 0 && (N = "" + d.key), d.ref !== void 0 && (S = d.ref);
|
|
28
28
|
for (m in d)
|
|
29
29
|
a.call(d, m) && !o.hasOwnProperty(m) && (h[m] = d[m]);
|
|
30
30
|
if (u && u.defaultProps)
|
|
31
31
|
for (m in d = u.defaultProps, d)
|
|
32
32
|
h[m] === void 0 && (h[m] = d[m]);
|
|
33
|
-
return { $$typeof: r, type: u, key:
|
|
33
|
+
return { $$typeof: r, type: u, key: N, ref: S, props: h, _owner: i.current };
|
|
34
34
|
}
|
|
35
|
-
return
|
|
35
|
+
return sr.Fragment = t, sr.jsx = l, sr.jsxs = l, sr;
|
|
36
36
|
}
|
|
37
|
-
var
|
|
37
|
+
var cr = {};
|
|
38
38
|
/**
|
|
39
39
|
* @license React
|
|
40
40
|
* react-jsx-runtime.development.js
|
|
@@ -47,24 +47,24 @@ var sr = {};
|
|
|
47
47
|
var Zr;
|
|
48
48
|
function Ht() {
|
|
49
49
|
return Zr || (Zr = 1, process.env.NODE_ENV !== "production" && function() {
|
|
50
|
-
var e = ht, r = Symbol.for("react.element"), t = Symbol.for("react.portal"), a = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), l = Symbol.for("react.provider"), u = Symbol.for("react.context"), d = Symbol.for("react.forward_ref"), v = Symbol.for("react.suspense"), m = Symbol.for("react.suspense_list"), h = Symbol.for("react.memo"),
|
|
50
|
+
var e = ht, r = Symbol.for("react.element"), t = Symbol.for("react.portal"), a = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), l = Symbol.for("react.provider"), u = Symbol.for("react.context"), d = Symbol.for("react.forward_ref"), v = Symbol.for("react.suspense"), m = Symbol.for("react.suspense_list"), h = Symbol.for("react.memo"), N = Symbol.for("react.lazy"), S = Symbol.for("react.offscreen"), y = Symbol.iterator, b = "@@iterator";
|
|
51
51
|
function x(n) {
|
|
52
52
|
if (n === null || typeof n != "object")
|
|
53
53
|
return null;
|
|
54
|
-
var c =
|
|
54
|
+
var c = y && n[y] || n[b];
|
|
55
55
|
return typeof c == "function" ? c : null;
|
|
56
56
|
}
|
|
57
57
|
var _ = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
58
|
-
function
|
|
58
|
+
function k(n) {
|
|
59
59
|
{
|
|
60
|
-
for (var c = arguments.length, g = new Array(c > 1 ? c - 1 : 0),
|
|
61
|
-
g[
|
|
62
|
-
|
|
60
|
+
for (var c = arguments.length, g = new Array(c > 1 ? c - 1 : 0), w = 1; w < c; w++)
|
|
61
|
+
g[w - 1] = arguments[w];
|
|
62
|
+
O("error", n, g);
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
|
-
function
|
|
65
|
+
function O(n, c, g) {
|
|
66
66
|
{
|
|
67
|
-
var
|
|
67
|
+
var w = _.ReactDebugCurrentFrame, $ = w.getStackAddendum();
|
|
68
68
|
$ !== "" && (c += "%s", g = g.concat([$]));
|
|
69
69
|
var V = g.map(function(A) {
|
|
70
70
|
return String(A);
|
|
@@ -72,29 +72,29 @@ function Ht() {
|
|
|
72
72
|
V.unshift("Warning: " + c), Function.prototype.apply.call(console[n], console, V);
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
|
-
var I = !1, f = !1,
|
|
76
|
-
|
|
77
|
-
function
|
|
78
|
-
return !!(typeof n == "string" || typeof n == "function" || n === a || n === o ||
|
|
75
|
+
var I = !1, f = !1, M = !1, R = !1, _e = !1, ye;
|
|
76
|
+
ye = Symbol.for("react.module.reference");
|
|
77
|
+
function Ie(n) {
|
|
78
|
+
return !!(typeof n == "string" || typeof n == "function" || n === a || n === o || _e || n === i || n === v || n === m || R || n === S || I || f || M || typeof n == "object" && n !== null && (n.$$typeof === N || n.$$typeof === h || n.$$typeof === l || n.$$typeof === u || n.$$typeof === d || // This needs to include all possible module reference object
|
|
79
79
|
// types supported by any Flight configuration anywhere since
|
|
80
80
|
// we don't know which Flight build this will end up being used
|
|
81
81
|
// with.
|
|
82
|
-
n.$$typeof ===
|
|
82
|
+
n.$$typeof === ye || n.getModuleId !== void 0));
|
|
83
83
|
}
|
|
84
|
-
function
|
|
85
|
-
var
|
|
86
|
-
if (
|
|
87
|
-
return
|
|
84
|
+
function $e(n, c, g) {
|
|
85
|
+
var w = n.displayName;
|
|
86
|
+
if (w)
|
|
87
|
+
return w;
|
|
88
88
|
var $ = c.displayName || c.name || "";
|
|
89
89
|
return $ !== "" ? g + "(" + $ + ")" : g;
|
|
90
90
|
}
|
|
91
|
-
function
|
|
91
|
+
function Ce(n) {
|
|
92
92
|
return n.displayName || "Context";
|
|
93
93
|
}
|
|
94
|
-
function
|
|
94
|
+
function q(n) {
|
|
95
95
|
if (n == null)
|
|
96
96
|
return null;
|
|
97
|
-
if (typeof n.tag == "number" &&
|
|
97
|
+
if (typeof n.tag == "number" && k("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof n == "function")
|
|
98
98
|
return n.displayName || n.name || null;
|
|
99
99
|
if (typeof n == "string")
|
|
100
100
|
return n;
|
|
@@ -116,19 +116,19 @@ function Ht() {
|
|
|
116
116
|
switch (n.$$typeof) {
|
|
117
117
|
case u:
|
|
118
118
|
var c = n;
|
|
119
|
-
return
|
|
119
|
+
return Ce(c) + ".Consumer";
|
|
120
120
|
case l:
|
|
121
121
|
var g = n;
|
|
122
|
-
return
|
|
122
|
+
return Ce(g._context) + ".Provider";
|
|
123
123
|
case d:
|
|
124
|
-
return
|
|
124
|
+
return $e(n, n.render, "ForwardRef");
|
|
125
125
|
case h:
|
|
126
|
-
var
|
|
127
|
-
return
|
|
128
|
-
case
|
|
126
|
+
var w = n.displayName || null;
|
|
127
|
+
return w !== null ? w : q(n.type) || "Memo";
|
|
128
|
+
case N: {
|
|
129
129
|
var $ = n, V = $._payload, A = $._init;
|
|
130
130
|
try {
|
|
131
|
-
return
|
|
131
|
+
return q(A(V));
|
|
132
132
|
} catch {
|
|
133
133
|
return null;
|
|
134
134
|
}
|
|
@@ -136,18 +136,18 @@ function Ht() {
|
|
|
136
136
|
}
|
|
137
137
|
return null;
|
|
138
138
|
}
|
|
139
|
-
var
|
|
140
|
-
function
|
|
139
|
+
var K = Object.assign, oe = 0, ie, re, Ee, Q, we, ee, Ne;
|
|
140
|
+
function Re() {
|
|
141
141
|
}
|
|
142
|
-
|
|
143
|
-
function
|
|
142
|
+
Re.__reactDisabledLog = !0;
|
|
143
|
+
function Le() {
|
|
144
144
|
{
|
|
145
|
-
if (
|
|
146
|
-
|
|
145
|
+
if (oe === 0) {
|
|
146
|
+
ie = console.log, re = console.info, Ee = console.warn, Q = console.error, we = console.group, ee = console.groupCollapsed, Ne = console.groupEnd;
|
|
147
147
|
var n = {
|
|
148
148
|
configurable: !0,
|
|
149
149
|
enumerable: !0,
|
|
150
|
-
value:
|
|
150
|
+
value: Re,
|
|
151
151
|
writable: !0
|
|
152
152
|
};
|
|
153
153
|
Object.defineProperties(console, {
|
|
@@ -160,77 +160,77 @@ function Ht() {
|
|
|
160
160
|
groupEnd: n
|
|
161
161
|
});
|
|
162
162
|
}
|
|
163
|
-
|
|
163
|
+
oe++;
|
|
164
164
|
}
|
|
165
165
|
}
|
|
166
|
-
function
|
|
166
|
+
function Te() {
|
|
167
167
|
{
|
|
168
|
-
if (
|
|
168
|
+
if (oe--, oe === 0) {
|
|
169
169
|
var n = {
|
|
170
170
|
configurable: !0,
|
|
171
171
|
enumerable: !0,
|
|
172
172
|
writable: !0
|
|
173
173
|
};
|
|
174
174
|
Object.defineProperties(console, {
|
|
175
|
-
log:
|
|
176
|
-
value:
|
|
175
|
+
log: K({}, n, {
|
|
176
|
+
value: ie
|
|
177
177
|
}),
|
|
178
|
-
info:
|
|
178
|
+
info: K({}, n, {
|
|
179
|
+
value: re
|
|
180
|
+
}),
|
|
181
|
+
warn: K({}, n, {
|
|
179
182
|
value: Ee
|
|
180
183
|
}),
|
|
181
|
-
|
|
182
|
-
value:
|
|
184
|
+
error: K({}, n, {
|
|
185
|
+
value: Q
|
|
183
186
|
}),
|
|
184
|
-
|
|
185
|
-
value:
|
|
187
|
+
group: K({}, n, {
|
|
188
|
+
value: we
|
|
186
189
|
}),
|
|
187
|
-
|
|
190
|
+
groupCollapsed: K({}, n, {
|
|
188
191
|
value: ee
|
|
189
192
|
}),
|
|
190
|
-
|
|
193
|
+
groupEnd: K({}, n, {
|
|
191
194
|
value: Ne
|
|
192
|
-
}),
|
|
193
|
-
groupEnd: J({}, n, {
|
|
194
|
-
value: ke
|
|
195
195
|
})
|
|
196
196
|
});
|
|
197
197
|
}
|
|
198
|
-
|
|
198
|
+
oe < 0 && k("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
199
199
|
}
|
|
200
200
|
}
|
|
201
|
-
var
|
|
202
|
-
function
|
|
201
|
+
var fe = _.ReactCurrentDispatcher, ke;
|
|
202
|
+
function se(n, c, g) {
|
|
203
203
|
{
|
|
204
|
-
if (
|
|
204
|
+
if (ke === void 0)
|
|
205
205
|
try {
|
|
206
206
|
throw Error();
|
|
207
207
|
} catch ($) {
|
|
208
|
-
var
|
|
209
|
-
|
|
208
|
+
var w = $.stack.trim().match(/\n( *(at )?)/);
|
|
209
|
+
ke = w && w[1] || "";
|
|
210
210
|
}
|
|
211
211
|
return `
|
|
212
|
-
` +
|
|
212
|
+
` + ke + n;
|
|
213
213
|
}
|
|
214
214
|
}
|
|
215
|
-
var
|
|
215
|
+
var z = !1, de;
|
|
216
216
|
{
|
|
217
|
-
var
|
|
218
|
-
|
|
217
|
+
var Oe = typeof WeakMap == "function" ? WeakMap : Map;
|
|
218
|
+
de = new Oe();
|
|
219
219
|
}
|
|
220
220
|
function s(n, c) {
|
|
221
|
-
if (!n ||
|
|
221
|
+
if (!n || z)
|
|
222
222
|
return "";
|
|
223
223
|
{
|
|
224
|
-
var g =
|
|
224
|
+
var g = de.get(n);
|
|
225
225
|
if (g !== void 0)
|
|
226
226
|
return g;
|
|
227
227
|
}
|
|
228
|
-
var
|
|
229
|
-
|
|
228
|
+
var w;
|
|
229
|
+
z = !0;
|
|
230
230
|
var $ = Error.prepareStackTrace;
|
|
231
231
|
Error.prepareStackTrace = void 0;
|
|
232
232
|
var V;
|
|
233
|
-
V =
|
|
233
|
+
V = fe.current, fe.current = null, Le();
|
|
234
234
|
try {
|
|
235
235
|
if (c) {
|
|
236
236
|
var A = function() {
|
|
@@ -243,171 +243,171 @@ function Ht() {
|
|
|
243
243
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
244
244
|
try {
|
|
245
245
|
Reflect.construct(A, []);
|
|
246
|
-
} catch (
|
|
247
|
-
|
|
246
|
+
} catch (Me) {
|
|
247
|
+
w = Me;
|
|
248
248
|
}
|
|
249
249
|
Reflect.construct(n, [], A);
|
|
250
250
|
} else {
|
|
251
251
|
try {
|
|
252
252
|
A.call();
|
|
253
|
-
} catch (
|
|
254
|
-
|
|
253
|
+
} catch (Me) {
|
|
254
|
+
w = Me;
|
|
255
255
|
}
|
|
256
256
|
n.call(A.prototype);
|
|
257
257
|
}
|
|
258
258
|
} else {
|
|
259
259
|
try {
|
|
260
260
|
throw Error();
|
|
261
|
-
} catch (
|
|
262
|
-
|
|
261
|
+
} catch (Me) {
|
|
262
|
+
w = Me;
|
|
263
263
|
}
|
|
264
264
|
n();
|
|
265
265
|
}
|
|
266
|
-
} catch (
|
|
267
|
-
if (
|
|
268
|
-
for (var T =
|
|
269
|
-
`),
|
|
270
|
-
`),
|
|
271
|
-
|
|
272
|
-
for (;
|
|
273
|
-
if (T[
|
|
274
|
-
if (
|
|
266
|
+
} catch (Me) {
|
|
267
|
+
if (Me && w && typeof Me.stack == "string") {
|
|
268
|
+
for (var T = Me.stack.split(`
|
|
269
|
+
`), ue = w.stack.split(`
|
|
270
|
+
`), J = T.length - 1, X = ue.length - 1; J >= 1 && X >= 0 && T[J] !== ue[X]; )
|
|
271
|
+
X--;
|
|
272
|
+
for (; J >= 1 && X >= 0; J--, X--)
|
|
273
|
+
if (T[J] !== ue[X]) {
|
|
274
|
+
if (J !== 1 || X !== 1)
|
|
275
275
|
do
|
|
276
|
-
if (
|
|
277
|
-
var
|
|
278
|
-
` + T[
|
|
279
|
-
return n.displayName &&
|
|
276
|
+
if (J--, X--, X < 0 || T[J] !== ue[X]) {
|
|
277
|
+
var Se = `
|
|
278
|
+
` + T[J].replace(" at new ", " at ");
|
|
279
|
+
return n.displayName && Se.includes("<anonymous>") && (Se = Se.replace("<anonymous>", n.displayName)), typeof n == "function" && de.set(n, Se), Se;
|
|
280
280
|
}
|
|
281
|
-
while (
|
|
281
|
+
while (J >= 1 && X >= 0);
|
|
282
282
|
break;
|
|
283
283
|
}
|
|
284
284
|
}
|
|
285
285
|
} finally {
|
|
286
|
-
|
|
286
|
+
z = !1, fe.current = V, Te(), Error.prepareStackTrace = $;
|
|
287
287
|
}
|
|
288
|
-
var
|
|
289
|
-
return typeof n == "function" &&
|
|
288
|
+
var Xe = n ? n.displayName || n.name : "", Hr = Xe ? se(Xe) : "";
|
|
289
|
+
return typeof n == "function" && de.set(n, Hr), Hr;
|
|
290
290
|
}
|
|
291
|
-
function
|
|
291
|
+
function E(n, c, g) {
|
|
292
292
|
return s(n, !1);
|
|
293
293
|
}
|
|
294
294
|
function W(n) {
|
|
295
295
|
var c = n.prototype;
|
|
296
296
|
return !!(c && c.isReactComponent);
|
|
297
297
|
}
|
|
298
|
-
function
|
|
298
|
+
function me(n, c, g) {
|
|
299
299
|
if (n == null)
|
|
300
300
|
return "";
|
|
301
301
|
if (typeof n == "function")
|
|
302
302
|
return s(n, W(n));
|
|
303
303
|
if (typeof n == "string")
|
|
304
|
-
return
|
|
304
|
+
return se(n);
|
|
305
305
|
switch (n) {
|
|
306
306
|
case v:
|
|
307
|
-
return
|
|
307
|
+
return se("Suspense");
|
|
308
308
|
case m:
|
|
309
|
-
return
|
|
309
|
+
return se("SuspenseList");
|
|
310
310
|
}
|
|
311
311
|
if (typeof n == "object")
|
|
312
312
|
switch (n.$$typeof) {
|
|
313
313
|
case d:
|
|
314
|
-
return
|
|
314
|
+
return E(n.render);
|
|
315
315
|
case h:
|
|
316
|
-
return
|
|
317
|
-
case
|
|
318
|
-
var
|
|
316
|
+
return me(n.type, c, g);
|
|
317
|
+
case N: {
|
|
318
|
+
var w = n, $ = w._payload, V = w._init;
|
|
319
319
|
try {
|
|
320
|
-
return
|
|
320
|
+
return me(V($), c, g);
|
|
321
321
|
} catch {
|
|
322
322
|
}
|
|
323
323
|
}
|
|
324
324
|
}
|
|
325
325
|
return "";
|
|
326
326
|
}
|
|
327
|
-
var
|
|
328
|
-
function
|
|
327
|
+
var je = Object.prototype.hasOwnProperty, Ye = {}, ar = _.ReactDebugCurrentFrame;
|
|
328
|
+
function De(n) {
|
|
329
329
|
if (n) {
|
|
330
|
-
var c = n._owner, g =
|
|
331
|
-
|
|
330
|
+
var c = n._owner, g = me(n.type, n._source, c ? c.type : null);
|
|
331
|
+
ar.setExtraStackFrame(g);
|
|
332
332
|
} else
|
|
333
|
-
|
|
333
|
+
ar.setExtraStackFrame(null);
|
|
334
334
|
}
|
|
335
|
-
function
|
|
335
|
+
function ge(n, c, g, w, $) {
|
|
336
336
|
{
|
|
337
|
-
var V = Function.call.bind(
|
|
337
|
+
var V = Function.call.bind(je);
|
|
338
338
|
for (var A in n)
|
|
339
339
|
if (V(n, A)) {
|
|
340
340
|
var T = void 0;
|
|
341
341
|
try {
|
|
342
342
|
if (typeof n[A] != "function") {
|
|
343
|
-
var
|
|
344
|
-
throw
|
|
343
|
+
var ue = Error((w || "React class") + ": " + g + " type `" + A + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof n[A] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
344
|
+
throw ue.name = "Invariant Violation", ue;
|
|
345
345
|
}
|
|
346
|
-
T = n[A](c, A,
|
|
347
|
-
} catch (
|
|
348
|
-
T =
|
|
346
|
+
T = n[A](c, A, w, g, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
347
|
+
} catch (J) {
|
|
348
|
+
T = J;
|
|
349
349
|
}
|
|
350
|
-
T && !(T instanceof Error) && (
|
|
350
|
+
T && !(T instanceof Error) && (De($), k("%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).", w || "React class", g, A, typeof T), De(null)), T instanceof Error && !(T.message in Ye) && (Ye[T.message] = !0, De($), k("Failed %s type: %s", g, T.message), De(null));
|
|
351
351
|
}
|
|
352
352
|
}
|
|
353
353
|
}
|
|
354
|
-
var
|
|
355
|
-
function
|
|
356
|
-
return
|
|
354
|
+
var gr = Array.isArray;
|
|
355
|
+
function Ue(n) {
|
|
356
|
+
return gr(n);
|
|
357
357
|
}
|
|
358
|
-
function
|
|
358
|
+
function We(n) {
|
|
359
359
|
{
|
|
360
360
|
var c = typeof Symbol == "function" && Symbol.toStringTag, g = c && n[Symbol.toStringTag] || n.constructor.name || "Object";
|
|
361
361
|
return g;
|
|
362
362
|
}
|
|
363
363
|
}
|
|
364
|
-
function
|
|
364
|
+
function hr(n) {
|
|
365
365
|
try {
|
|
366
|
-
return
|
|
366
|
+
return or(n), !1;
|
|
367
367
|
} catch {
|
|
368
368
|
return !0;
|
|
369
369
|
}
|
|
370
370
|
}
|
|
371
|
-
function
|
|
371
|
+
function or(n) {
|
|
372
372
|
return "" + n;
|
|
373
373
|
}
|
|
374
|
-
function
|
|
375
|
-
if (
|
|
376
|
-
return
|
|
374
|
+
function ce(n) {
|
|
375
|
+
if (hr(n))
|
|
376
|
+
return k("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", We(n)), or(n);
|
|
377
377
|
}
|
|
378
|
-
var
|
|
378
|
+
var Ve = _.ReactCurrentOwner, Rr = {
|
|
379
379
|
key: !0,
|
|
380
380
|
ref: !0,
|
|
381
381
|
__self: !0,
|
|
382
382
|
__source: !0
|
|
383
|
-
},
|
|
384
|
-
|
|
385
|
-
function
|
|
386
|
-
if (
|
|
383
|
+
}, qe, Ge, Be;
|
|
384
|
+
Be = {};
|
|
385
|
+
function Ke(n) {
|
|
386
|
+
if (je.call(n, "ref")) {
|
|
387
387
|
var c = Object.getOwnPropertyDescriptor(n, "ref").get;
|
|
388
388
|
if (c && c.isReactWarning)
|
|
389
389
|
return !1;
|
|
390
390
|
}
|
|
391
391
|
return n.ref !== void 0;
|
|
392
392
|
}
|
|
393
|
-
function
|
|
394
|
-
if (
|
|
393
|
+
function ze(n) {
|
|
394
|
+
if (je.call(n, "key")) {
|
|
395
395
|
var c = Object.getOwnPropertyDescriptor(n, "key").get;
|
|
396
396
|
if (c && c.isReactWarning)
|
|
397
397
|
return !1;
|
|
398
398
|
}
|
|
399
399
|
return n.key !== void 0;
|
|
400
400
|
}
|
|
401
|
-
function
|
|
402
|
-
if (typeof n.ref == "string" &&
|
|
403
|
-
var g =
|
|
404
|
-
|
|
401
|
+
function Tr(n, c) {
|
|
402
|
+
if (typeof n.ref == "string" && Ve.current && c && Ve.current.stateNode !== c) {
|
|
403
|
+
var g = q(Ve.current.type);
|
|
404
|
+
Be[g] || (k('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', q(Ve.current.type), n.ref), Be[g] = !0);
|
|
405
405
|
}
|
|
406
406
|
}
|
|
407
|
-
function
|
|
407
|
+
function Or(n, c) {
|
|
408
408
|
{
|
|
409
409
|
var g = function() {
|
|
410
|
-
|
|
410
|
+
qe || (qe = !0, k("%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)", c));
|
|
411
411
|
};
|
|
412
412
|
g.isReactWarning = !0, Object.defineProperty(n, "key", {
|
|
413
413
|
get: g,
|
|
@@ -418,7 +418,7 @@ function Ht() {
|
|
|
418
418
|
function C(n, c) {
|
|
419
419
|
{
|
|
420
420
|
var g = function() {
|
|
421
|
-
|
|
421
|
+
Ge || (Ge = !0, k("%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)", c));
|
|
422
422
|
};
|
|
423
423
|
g.isReactWarning = !0, Object.defineProperty(n, "ref", {
|
|
424
424
|
get: g,
|
|
@@ -426,7 +426,7 @@ function Ht() {
|
|
|
426
426
|
});
|
|
427
427
|
}
|
|
428
428
|
}
|
|
429
|
-
var
|
|
429
|
+
var P = function(n, c, g, w, $, V, A) {
|
|
430
430
|
var T = {
|
|
431
431
|
// This tag allows us to uniquely identify this as a React Element
|
|
432
432
|
$$typeof: r,
|
|
@@ -447,7 +447,7 @@ function Ht() {
|
|
|
447
447
|
configurable: !1,
|
|
448
448
|
enumerable: !1,
|
|
449
449
|
writable: !1,
|
|
450
|
-
value:
|
|
450
|
+
value: w
|
|
451
451
|
}), Object.defineProperty(T, "_source", {
|
|
452
452
|
configurable: !1,
|
|
453
453
|
enumerable: !1,
|
|
@@ -455,41 +455,41 @@ function Ht() {
|
|
|
455
455
|
value: $
|
|
456
456
|
}), Object.freeze && (Object.freeze(T.props), Object.freeze(T)), T;
|
|
457
457
|
};
|
|
458
|
-
function
|
|
458
|
+
function G(n, c, g, w, $) {
|
|
459
459
|
{
|
|
460
|
-
var V, A = {}, T = null,
|
|
461
|
-
g !== void 0 && (
|
|
460
|
+
var V, A = {}, T = null, ue = null;
|
|
461
|
+
g !== void 0 && (ce(g), T = "" + g), ze(c) && (ce(c.key), T = "" + c.key), Ke(c) && (ue = c.ref, Tr(c, $));
|
|
462
462
|
for (V in c)
|
|
463
|
-
|
|
463
|
+
je.call(c, V) && !Rr.hasOwnProperty(V) && (A[V] = c[V]);
|
|
464
464
|
if (n && n.defaultProps) {
|
|
465
|
-
var
|
|
466
|
-
for (V in
|
|
467
|
-
A[V] === void 0 && (A[V] =
|
|
465
|
+
var J = n.defaultProps;
|
|
466
|
+
for (V in J)
|
|
467
|
+
A[V] === void 0 && (A[V] = J[V]);
|
|
468
468
|
}
|
|
469
|
-
if (T ||
|
|
470
|
-
var
|
|
471
|
-
T &&
|
|
469
|
+
if (T || ue) {
|
|
470
|
+
var X = typeof n == "function" ? n.displayName || n.name || "Unknown" : n;
|
|
471
|
+
T && Or(A, X), ue && C(A, X);
|
|
472
472
|
}
|
|
473
|
-
return
|
|
473
|
+
return P(n, T, ue, $, w, Ve.current, A);
|
|
474
474
|
}
|
|
475
475
|
}
|
|
476
|
-
var
|
|
477
|
-
function
|
|
476
|
+
var H = _.ReactCurrentOwner, le = _.ReactDebugCurrentFrame;
|
|
477
|
+
function B(n) {
|
|
478
478
|
if (n) {
|
|
479
|
-
var c = n._owner, g =
|
|
480
|
-
|
|
479
|
+
var c = n._owner, g = me(n.type, n._source, c ? c.type : null);
|
|
480
|
+
le.setExtraStackFrame(g);
|
|
481
481
|
} else
|
|
482
|
-
|
|
482
|
+
le.setExtraStackFrame(null);
|
|
483
483
|
}
|
|
484
|
-
var
|
|
485
|
-
|
|
486
|
-
function
|
|
484
|
+
var Y;
|
|
485
|
+
Y = !1;
|
|
486
|
+
function He(n) {
|
|
487
487
|
return typeof n == "object" && n !== null && n.$$typeof === r;
|
|
488
488
|
}
|
|
489
|
-
function
|
|
489
|
+
function ne() {
|
|
490
490
|
{
|
|
491
|
-
if (
|
|
492
|
-
var n = H
|
|
491
|
+
if (H.current) {
|
|
492
|
+
var n = q(H.current.type);
|
|
493
493
|
if (n)
|
|
494
494
|
return `
|
|
495
495
|
|
|
@@ -498,7 +498,7 @@ Check the render method of \`` + n + "`.";
|
|
|
498
498
|
return "";
|
|
499
499
|
}
|
|
500
500
|
}
|
|
501
|
-
function
|
|
501
|
+
function Je(n) {
|
|
502
502
|
{
|
|
503
503
|
if (n !== void 0) {
|
|
504
504
|
var c = n.fileName.replace(/^.*[\\\/]/, ""), g = n.lineNumber;
|
|
@@ -509,10 +509,10 @@ Check your code at ` + c + ":" + g + ".";
|
|
|
509
509
|
return "";
|
|
510
510
|
}
|
|
511
511
|
}
|
|
512
|
-
var
|
|
513
|
-
function
|
|
512
|
+
var Pr = {};
|
|
513
|
+
function pr(n) {
|
|
514
514
|
{
|
|
515
|
-
var c =
|
|
515
|
+
var c = ne();
|
|
516
516
|
if (!c) {
|
|
517
517
|
var g = typeof n == "string" ? n : n.displayName || n.name;
|
|
518
518
|
g && (c = `
|
|
@@ -522,35 +522,35 @@ Check the top-level render call using <` + g + ">.");
|
|
|
522
522
|
return c;
|
|
523
523
|
}
|
|
524
524
|
}
|
|
525
|
-
function
|
|
525
|
+
function ir(n, c) {
|
|
526
526
|
{
|
|
527
527
|
if (!n._store || n._store.validated || n.key != null)
|
|
528
528
|
return;
|
|
529
529
|
n._store.validated = !0;
|
|
530
|
-
var g =
|
|
531
|
-
if (
|
|
530
|
+
var g = pr(c);
|
|
531
|
+
if (Pr[g])
|
|
532
532
|
return;
|
|
533
|
-
|
|
534
|
-
var
|
|
535
|
-
n && n._owner && n._owner !==
|
|
533
|
+
Pr[g] = !0;
|
|
534
|
+
var w = "";
|
|
535
|
+
n && n._owner && n._owner !== H.current && (w = " It was passed a child from " + q(n._owner.type) + "."), B(n), k('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', g, w), B(null);
|
|
536
536
|
}
|
|
537
537
|
}
|
|
538
538
|
function Gr(n, c) {
|
|
539
539
|
{
|
|
540
540
|
if (typeof n != "object")
|
|
541
541
|
return;
|
|
542
|
-
if (
|
|
542
|
+
if (Ue(n))
|
|
543
543
|
for (var g = 0; g < n.length; g++) {
|
|
544
|
-
var
|
|
545
|
-
|
|
544
|
+
var w = n[g];
|
|
545
|
+
He(w) && ir(w, c);
|
|
546
546
|
}
|
|
547
|
-
else if (
|
|
547
|
+
else if (He(n))
|
|
548
548
|
n._store && (n._store.validated = !0);
|
|
549
549
|
else if (n) {
|
|
550
550
|
var $ = x(n);
|
|
551
551
|
if (typeof $ == "function" && $ !== n.entries)
|
|
552
552
|
for (var V = $.call(n), A; !(A = V.next()).done; )
|
|
553
|
-
|
|
553
|
+
He(A.value) && ir(A.value, c);
|
|
554
554
|
}
|
|
555
555
|
}
|
|
556
556
|
}
|
|
@@ -569,71 +569,71 @@ Check the top-level render call using <` + g + ">.");
|
|
|
569
569
|
else
|
|
570
570
|
return;
|
|
571
571
|
if (g) {
|
|
572
|
-
var
|
|
573
|
-
|
|
574
|
-
} else if (c.PropTypes !== void 0 && !
|
|
575
|
-
|
|
576
|
-
var $ =
|
|
577
|
-
|
|
572
|
+
var w = q(c);
|
|
573
|
+
ge(g, n.props, "prop", w, n);
|
|
574
|
+
} else if (c.PropTypes !== void 0 && !Y) {
|
|
575
|
+
Y = !0;
|
|
576
|
+
var $ = q(c);
|
|
577
|
+
k("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", $ || "Unknown");
|
|
578
578
|
}
|
|
579
|
-
typeof c.getDefaultProps == "function" && !c.getDefaultProps.isReactClassApproved &&
|
|
579
|
+
typeof c.getDefaultProps == "function" && !c.getDefaultProps.isReactClassApproved && k("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
580
580
|
}
|
|
581
581
|
}
|
|
582
582
|
function Lt(n) {
|
|
583
583
|
{
|
|
584
584
|
for (var c = Object.keys(n.props), g = 0; g < c.length; g++) {
|
|
585
|
-
var
|
|
586
|
-
if (
|
|
587
|
-
|
|
585
|
+
var w = c[g];
|
|
586
|
+
if (w !== "children" && w !== "key") {
|
|
587
|
+
B(n), k("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", w), B(null);
|
|
588
588
|
break;
|
|
589
589
|
}
|
|
590
590
|
}
|
|
591
|
-
n.ref !== null && (
|
|
591
|
+
n.ref !== null && (B(n), k("Invalid attribute `ref` supplied to `React.Fragment`."), B(null));
|
|
592
592
|
}
|
|
593
593
|
}
|
|
594
|
-
function Kr(n, c, g,
|
|
594
|
+
function Kr(n, c, g, w, $, V) {
|
|
595
595
|
{
|
|
596
|
-
var A =
|
|
596
|
+
var A = Ie(n);
|
|
597
597
|
if (!A) {
|
|
598
598
|
var T = "";
|
|
599
599
|
(n === void 0 || typeof n == "object" && n !== null && Object.keys(n).length === 0) && (T += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
600
|
-
var
|
|
601
|
-
|
|
602
|
-
var
|
|
603
|
-
n === null ?
|
|
600
|
+
var ue = Je($);
|
|
601
|
+
ue ? T += ue : T += ne();
|
|
602
|
+
var J;
|
|
603
|
+
n === null ? J = "null" : Ue(n) ? J = "array" : n !== void 0 && n.$$typeof === r ? (J = "<" + (q(n.type) || "Unknown") + " />", T = " Did you accidentally export a JSX literal instead of a component?") : J = typeof n, k("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", J, T);
|
|
604
604
|
}
|
|
605
|
-
var
|
|
606
|
-
if (
|
|
607
|
-
return
|
|
605
|
+
var X = G(n, c, g, $, V);
|
|
606
|
+
if (X == null)
|
|
607
|
+
return X;
|
|
608
608
|
if (A) {
|
|
609
|
-
var
|
|
610
|
-
if (
|
|
611
|
-
if (
|
|
612
|
-
if (
|
|
613
|
-
for (var
|
|
614
|
-
Gr(
|
|
615
|
-
Object.freeze && Object.freeze(
|
|
609
|
+
var Se = c.children;
|
|
610
|
+
if (Se !== void 0)
|
|
611
|
+
if (w)
|
|
612
|
+
if (Ue(Se)) {
|
|
613
|
+
for (var Xe = 0; Xe < Se.length; Xe++)
|
|
614
|
+
Gr(Se[Xe], n);
|
|
615
|
+
Object.freeze && Object.freeze(Se);
|
|
616
616
|
} else
|
|
617
|
-
|
|
617
|
+
k("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
618
618
|
else
|
|
619
|
-
Gr(
|
|
619
|
+
Gr(Se, n);
|
|
620
620
|
}
|
|
621
|
-
return n === a ? Lt(
|
|
621
|
+
return n === a ? Lt(X) : $t(X), X;
|
|
622
622
|
}
|
|
623
623
|
}
|
|
624
|
-
function
|
|
624
|
+
function Dt(n, c, g) {
|
|
625
625
|
return Kr(n, c, g, !0);
|
|
626
626
|
}
|
|
627
|
-
function
|
|
627
|
+
function Mt(n, c, g) {
|
|
628
628
|
return Kr(n, c, g, !1);
|
|
629
629
|
}
|
|
630
|
-
var Ft =
|
|
631
|
-
|
|
632
|
-
}()),
|
|
630
|
+
var Ft = Mt, jt = Dt;
|
|
631
|
+
cr.Fragment = a, cr.jsx = Ft, cr.jsxs = jt;
|
|
632
|
+
}()), cr;
|
|
633
633
|
}
|
|
634
|
-
process.env.NODE_ENV === "production" ?
|
|
635
|
-
var
|
|
636
|
-
const Jt =
|
|
634
|
+
process.env.NODE_ENV === "production" ? $r.exports = Kt() : $r.exports = Ht();
|
|
635
|
+
var Vr = $r.exports;
|
|
636
|
+
const Jt = Vr.Fragment, Qr = Vr.jsx, et = Vr.jsxs;
|
|
637
637
|
function Xt(e) {
|
|
638
638
|
if (e.sheet)
|
|
639
639
|
return e.sheet;
|
|
@@ -679,7 +679,7 @@ var Qt = /* @__PURE__ */ function() {
|
|
|
679
679
|
return a.parentNode && a.parentNode.removeChild(a);
|
|
680
680
|
}), this.tags = [], this.ctr = 0, process.env.NODE_ENV !== "production" && (this._alreadyInsertedOrderInsensitiveRule = !1);
|
|
681
681
|
}, e;
|
|
682
|
-
}(),
|
|
682
|
+
}(), ae = "-ms-", wr = "-moz-", L = "-webkit-", Br = "comm", zr = "rule", Yr = "decl", en = "@import", vt = "@keyframes", rn = "@layer", tn = Math.abs, Sr = String.fromCharCode, nn = Object.assign;
|
|
683
683
|
function an(e, r) {
|
|
684
684
|
return te(e, 0) ^ 45 ? (((r << 2 ^ te(e, 0)) << 2 ^ te(e, 1)) << 2 ^ te(e, 2)) << 2 ^ te(e, 3) : 0;
|
|
685
685
|
}
|
|
@@ -689,56 +689,56 @@ function bt(e) {
|
|
|
689
689
|
function on(e, r) {
|
|
690
690
|
return (e = r.exec(e)) ? e[0] : e;
|
|
691
691
|
}
|
|
692
|
-
function
|
|
692
|
+
function D(e, r, t) {
|
|
693
693
|
return e.replace(r, t);
|
|
694
694
|
}
|
|
695
|
-
function
|
|
695
|
+
function Lr(e, r) {
|
|
696
696
|
return e.indexOf(r);
|
|
697
697
|
}
|
|
698
698
|
function te(e, r) {
|
|
699
699
|
return e.charCodeAt(r) | 0;
|
|
700
700
|
}
|
|
701
|
-
function
|
|
701
|
+
function ur(e, r, t) {
|
|
702
702
|
return e.slice(r, t);
|
|
703
703
|
}
|
|
704
|
-
function
|
|
704
|
+
function Pe(e) {
|
|
705
705
|
return e.length;
|
|
706
706
|
}
|
|
707
707
|
function Ur(e) {
|
|
708
708
|
return e.length;
|
|
709
709
|
}
|
|
710
|
-
function
|
|
710
|
+
function vr(e, r) {
|
|
711
711
|
return r.push(e), e;
|
|
712
712
|
}
|
|
713
713
|
function sn(e, r) {
|
|
714
714
|
return e.map(r).join("");
|
|
715
715
|
}
|
|
716
|
-
var
|
|
717
|
-
function
|
|
718
|
-
return { value: e, root: r, parent: t, type: a, props: i, children: o, line:
|
|
716
|
+
var xr = 1, tr = 1, yt = 0, ve = 0, Z = 0, nr = "";
|
|
717
|
+
function _r(e, r, t, a, i, o, l) {
|
|
718
|
+
return { value: e, root: r, parent: t, type: a, props: i, children: o, line: xr, column: tr, length: l, return: "" };
|
|
719
719
|
}
|
|
720
|
-
function
|
|
721
|
-
return nn(
|
|
720
|
+
function lr(e, r) {
|
|
721
|
+
return nn(_r("", null, null, "", null, null, 0), e, { length: -e.length }, r);
|
|
722
722
|
}
|
|
723
723
|
function cn() {
|
|
724
|
-
return
|
|
724
|
+
return Z;
|
|
725
725
|
}
|
|
726
726
|
function ln() {
|
|
727
|
-
return
|
|
727
|
+
return Z = ve > 0 ? te(nr, --ve) : 0, tr--, Z === 10 && (tr = 1, xr--), Z;
|
|
728
728
|
}
|
|
729
|
-
function
|
|
730
|
-
return
|
|
729
|
+
function be() {
|
|
730
|
+
return Z = ve < yt ? te(nr, ve++) : 0, tr++, Z === 10 && (tr = 1, xr++), Z;
|
|
731
731
|
}
|
|
732
|
-
function
|
|
733
|
-
return te(
|
|
732
|
+
function Ae() {
|
|
733
|
+
return te(nr, ve);
|
|
734
734
|
}
|
|
735
|
-
function
|
|
736
|
-
return
|
|
735
|
+
function br() {
|
|
736
|
+
return ve;
|
|
737
737
|
}
|
|
738
|
-
function
|
|
739
|
-
return
|
|
738
|
+
function mr(e, r) {
|
|
739
|
+
return ur(nr, e, r);
|
|
740
740
|
}
|
|
741
|
-
function
|
|
741
|
+
function fr(e) {
|
|
742
742
|
switch (e) {
|
|
743
743
|
case 0:
|
|
744
744
|
case 9:
|
|
@@ -770,159 +770,159 @@ function ur(e) {
|
|
|
770
770
|
}
|
|
771
771
|
return 0;
|
|
772
772
|
}
|
|
773
|
-
function wt(e) {
|
|
774
|
-
return Sr = rr = 1, yt = Te(tr = e), pe = 0, [];
|
|
775
|
-
}
|
|
776
773
|
function Et(e) {
|
|
777
|
-
return tr =
|
|
774
|
+
return xr = tr = 1, yt = Pe(nr = e), ve = 0, [];
|
|
775
|
+
}
|
|
776
|
+
function wt(e) {
|
|
777
|
+
return nr = "", e;
|
|
778
778
|
}
|
|
779
|
-
function
|
|
780
|
-
return bt(
|
|
779
|
+
function yr(e) {
|
|
780
|
+
return bt(mr(ve - 1, Dr(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
|
|
781
781
|
}
|
|
782
782
|
function un(e) {
|
|
783
|
-
for (; (
|
|
784
|
-
|
|
785
|
-
return
|
|
783
|
+
for (; (Z = Ae()) && Z < 33; )
|
|
784
|
+
be();
|
|
785
|
+
return fr(e) > 2 || fr(Z) > 3 ? "" : " ";
|
|
786
786
|
}
|
|
787
787
|
function fn(e, r) {
|
|
788
|
-
for (; --r &&
|
|
788
|
+
for (; --r && be() && !(Z < 48 || Z > 102 || Z > 57 && Z < 65 || Z > 70 && Z < 97); )
|
|
789
789
|
;
|
|
790
|
-
return
|
|
790
|
+
return mr(e, br() + (r < 6 && Ae() == 32 && be() == 32));
|
|
791
791
|
}
|
|
792
|
-
function
|
|
793
|
-
for (;
|
|
794
|
-
switch (
|
|
792
|
+
function Dr(e) {
|
|
793
|
+
for (; be(); )
|
|
794
|
+
switch (Z) {
|
|
795
795
|
case e:
|
|
796
|
-
return
|
|
796
|
+
return ve;
|
|
797
797
|
case 34:
|
|
798
798
|
case 39:
|
|
799
|
-
e !== 34 && e !== 39 &&
|
|
799
|
+
e !== 34 && e !== 39 && Dr(Z);
|
|
800
800
|
break;
|
|
801
801
|
case 40:
|
|
802
|
-
e === 41 &&
|
|
802
|
+
e === 41 && Dr(e);
|
|
803
803
|
break;
|
|
804
804
|
case 92:
|
|
805
|
-
|
|
805
|
+
be();
|
|
806
806
|
break;
|
|
807
807
|
}
|
|
808
|
-
return
|
|
808
|
+
return ve;
|
|
809
809
|
}
|
|
810
810
|
function dn(e, r) {
|
|
811
|
-
for (;
|
|
812
|
-
if (e +
|
|
811
|
+
for (; be() && e + Z !== 47 + 10; )
|
|
812
|
+
if (e + Z === 42 + 42 && Ae() === 47)
|
|
813
813
|
break;
|
|
814
|
-
return "/*" +
|
|
814
|
+
return "/*" + mr(r, ve - 1) + "*" + Sr(e === 47 ? e : be());
|
|
815
815
|
}
|
|
816
816
|
function mn(e) {
|
|
817
|
-
for (; !
|
|
818
|
-
|
|
819
|
-
return
|
|
817
|
+
for (; !fr(Ae()); )
|
|
818
|
+
be();
|
|
819
|
+
return mr(e, ve);
|
|
820
820
|
}
|
|
821
821
|
function gn(e) {
|
|
822
|
-
return
|
|
822
|
+
return wt(Er("", null, null, null, [""], e = Et(e), 0, [0], e));
|
|
823
823
|
}
|
|
824
|
-
function
|
|
825
|
-
for (var v = 0, m = 0, h = l,
|
|
826
|
-
switch (
|
|
824
|
+
function Er(e, r, t, a, i, o, l, u, d) {
|
|
825
|
+
for (var v = 0, m = 0, h = l, N = 0, S = 0, y = 0, b = 1, x = 1, _ = 1, k = 0, O = "", I = i, f = o, M = a, R = O; x; )
|
|
826
|
+
switch (y = k, k = be()) {
|
|
827
827
|
case 40:
|
|
828
|
-
if (
|
|
829
|
-
|
|
828
|
+
if (y != 108 && te(R, h - 1) == 58) {
|
|
829
|
+
Lr(R += D(yr(k), "&", "&\f"), "&\f") != -1 && (_ = -1);
|
|
830
830
|
break;
|
|
831
831
|
}
|
|
832
832
|
case 34:
|
|
833
833
|
case 39:
|
|
834
834
|
case 91:
|
|
835
|
-
R +=
|
|
835
|
+
R += yr(k);
|
|
836
836
|
break;
|
|
837
837
|
case 9:
|
|
838
838
|
case 10:
|
|
839
839
|
case 13:
|
|
840
840
|
case 32:
|
|
841
|
-
R += un(
|
|
841
|
+
R += un(y);
|
|
842
842
|
break;
|
|
843
843
|
case 92:
|
|
844
|
-
R += fn(
|
|
844
|
+
R += fn(br() - 1, 7);
|
|
845
845
|
continue;
|
|
846
846
|
case 47:
|
|
847
|
-
switch (
|
|
847
|
+
switch (Ae()) {
|
|
848
848
|
case 42:
|
|
849
849
|
case 47:
|
|
850
|
-
|
|
850
|
+
vr(hn(dn(be(), br()), r, t), d);
|
|
851
851
|
break;
|
|
852
852
|
default:
|
|
853
853
|
R += "/";
|
|
854
854
|
}
|
|
855
855
|
break;
|
|
856
856
|
case 123 * b:
|
|
857
|
-
u[v++] =
|
|
857
|
+
u[v++] = Pe(R) * _;
|
|
858
858
|
case 125 * b:
|
|
859
859
|
case 59:
|
|
860
860
|
case 0:
|
|
861
|
-
switch (
|
|
861
|
+
switch (k) {
|
|
862
862
|
case 0:
|
|
863
863
|
case 125:
|
|
864
864
|
x = 0;
|
|
865
865
|
case 59 + m:
|
|
866
|
-
_ == -1 && (R =
|
|
866
|
+
_ == -1 && (R = D(R, /\f/g, "")), S > 0 && Pe(R) - h && vr(S > 32 ? tt(R + ";", a, t, h - 1) : tt(D(R, " ", "") + ";", a, t, h - 2), d);
|
|
867
867
|
break;
|
|
868
868
|
case 59:
|
|
869
869
|
R += ";";
|
|
870
870
|
default:
|
|
871
|
-
if (
|
|
871
|
+
if (vr(M = rt(R, r, t, v, m, i, u, O, I = [], f = [], h), o), k === 123)
|
|
872
872
|
if (m === 0)
|
|
873
|
-
|
|
873
|
+
Er(R, r, M, M, I, o, h, u, f);
|
|
874
874
|
else
|
|
875
|
-
switch (
|
|
875
|
+
switch (N === 99 && te(R, 3) === 110 ? 100 : N) {
|
|
876
876
|
case 100:
|
|
877
877
|
case 108:
|
|
878
878
|
case 109:
|
|
879
879
|
case 115:
|
|
880
|
-
|
|
880
|
+
Er(e, M, M, a && vr(rt(e, M, M, 0, 0, i, u, O, i, I = [], h), f), i, f, h, u, a ? I : f);
|
|
881
881
|
break;
|
|
882
882
|
default:
|
|
883
|
-
|
|
883
|
+
Er(R, M, M, M, [""], f, 0, u, f);
|
|
884
884
|
}
|
|
885
885
|
}
|
|
886
|
-
v = m =
|
|
886
|
+
v = m = S = 0, b = _ = 1, O = R = "", h = l;
|
|
887
887
|
break;
|
|
888
888
|
case 58:
|
|
889
|
-
h = 1 +
|
|
889
|
+
h = 1 + Pe(R), S = y;
|
|
890
890
|
default:
|
|
891
891
|
if (b < 1) {
|
|
892
|
-
if (
|
|
892
|
+
if (k == 123)
|
|
893
893
|
--b;
|
|
894
|
-
else if (
|
|
894
|
+
else if (k == 125 && b++ == 0 && ln() == 125)
|
|
895
895
|
continue;
|
|
896
896
|
}
|
|
897
|
-
switch (R +=
|
|
897
|
+
switch (R += Sr(k), k * b) {
|
|
898
898
|
case 38:
|
|
899
899
|
_ = m > 0 ? 1 : (R += "\f", -1);
|
|
900
900
|
break;
|
|
901
901
|
case 44:
|
|
902
|
-
u[v++] = (
|
|
902
|
+
u[v++] = (Pe(R) - 1) * _, _ = 1;
|
|
903
903
|
break;
|
|
904
904
|
case 64:
|
|
905
|
-
|
|
905
|
+
Ae() === 45 && (R += yr(be())), N = Ae(), m = h = Pe(O = R += mn(br())), k++;
|
|
906
906
|
break;
|
|
907
907
|
case 45:
|
|
908
|
-
|
|
908
|
+
y === 45 && Pe(R) == 2 && (b = 0);
|
|
909
909
|
}
|
|
910
910
|
}
|
|
911
911
|
return o;
|
|
912
912
|
}
|
|
913
913
|
function rt(e, r, t, a, i, o, l, u, d, v, m) {
|
|
914
|
-
for (var h = i - 1,
|
|
915
|
-
for (var _ = 0,
|
|
916
|
-
(
|
|
917
|
-
return
|
|
914
|
+
for (var h = i - 1, N = i === 0 ? o : [""], S = Ur(N), y = 0, b = 0, x = 0; y < a; ++y)
|
|
915
|
+
for (var _ = 0, k = ur(e, h + 1, h = tn(b = l[y])), O = e; _ < S; ++_)
|
|
916
|
+
(O = bt(b > 0 ? N[_] + " " + k : D(k, /&\f/g, N[_]))) && (d[x++] = O);
|
|
917
|
+
return _r(e, r, t, i === 0 ? zr : u, d, v, m);
|
|
918
918
|
}
|
|
919
919
|
function hn(e, r, t) {
|
|
920
|
-
return
|
|
920
|
+
return _r(e, r, t, Br, Sr(cn()), ur(e, 2, -2), 0);
|
|
921
921
|
}
|
|
922
922
|
function tt(e, r, t, a) {
|
|
923
|
-
return
|
|
923
|
+
return _r(e, r, t, Yr, ur(e, 0, a), ur(e, a + 1, -1), a);
|
|
924
924
|
}
|
|
925
|
-
function
|
|
925
|
+
function rr(e, r) {
|
|
926
926
|
for (var t = "", a = Ur(e), i = 0; i < a; i++)
|
|
927
927
|
t += r(e[i], i, e, r) || "";
|
|
928
928
|
return t;
|
|
@@ -933,16 +933,16 @@ function pn(e, r, t, a) {
|
|
|
933
933
|
if (e.children.length)
|
|
934
934
|
break;
|
|
935
935
|
case en:
|
|
936
|
-
case
|
|
936
|
+
case Yr:
|
|
937
937
|
return e.return = e.return || e.value;
|
|
938
|
-
case
|
|
938
|
+
case Br:
|
|
939
939
|
return "";
|
|
940
940
|
case vt:
|
|
941
|
-
return e.return = e.value + "{" +
|
|
942
|
-
case
|
|
941
|
+
return e.return = e.value + "{" + rr(e.children, a) + "}";
|
|
942
|
+
case zr:
|
|
943
943
|
e.value = e.props.join(",");
|
|
944
944
|
}
|
|
945
|
-
return
|
|
945
|
+
return Pe(t = rr(e.children, a)) ? e.return = e.value + "{" + t + "}" : "";
|
|
946
946
|
}
|
|
947
947
|
function vn(e) {
|
|
948
948
|
var r = Ur(e);
|
|
@@ -963,32 +963,32 @@ function yn(e) {
|
|
|
963
963
|
return r[t] === void 0 && (r[t] = e(t)), r[t];
|
|
964
964
|
};
|
|
965
965
|
}
|
|
966
|
-
var
|
|
967
|
-
for (var i = 0, o = 0; i = o, o =
|
|
968
|
-
|
|
969
|
-
return
|
|
970
|
-
},
|
|
966
|
+
var En = function(r, t, a) {
|
|
967
|
+
for (var i = 0, o = 0; i = o, o = Ae(), i === 38 && o === 12 && (t[a] = 1), !fr(o); )
|
|
968
|
+
be();
|
|
969
|
+
return mr(r, ve);
|
|
970
|
+
}, wn = function(r, t) {
|
|
971
971
|
var a = -1, i = 44;
|
|
972
972
|
do
|
|
973
|
-
switch (
|
|
973
|
+
switch (fr(i)) {
|
|
974
974
|
case 0:
|
|
975
|
-
i === 38 &&
|
|
975
|
+
i === 38 && Ae() === 12 && (t[a] = 1), r[a] += En(ve - 1, t, a);
|
|
976
976
|
break;
|
|
977
977
|
case 2:
|
|
978
|
-
r[a] +=
|
|
978
|
+
r[a] += yr(i);
|
|
979
979
|
break;
|
|
980
980
|
case 4:
|
|
981
981
|
if (i === 44) {
|
|
982
|
-
r[++a] =
|
|
982
|
+
r[++a] = Ae() === 58 ? "&\f" : "", t[a] = r[a].length;
|
|
983
983
|
break;
|
|
984
984
|
}
|
|
985
985
|
default:
|
|
986
|
-
r[a] +=
|
|
986
|
+
r[a] += Sr(i);
|
|
987
987
|
}
|
|
988
|
-
while (i =
|
|
988
|
+
while (i = be());
|
|
989
989
|
return r;
|
|
990
990
|
}, Nn = function(r, t) {
|
|
991
|
-
return
|
|
991
|
+
return wt(wn(Et(r), t));
|
|
992
992
|
}, nt = /* @__PURE__ */ new WeakMap(), kn = function(r) {
|
|
993
993
|
if (!(r.type !== "rule" || !r.parent || // positive .length indicates that this rule contains pseudo
|
|
994
994
|
// negative .length indicates that this rule has been already prefixed
|
|
@@ -1012,7 +1012,7 @@ var wn = function(r, t, a) {
|
|
|
1012
1012
|
}
|
|
1013
1013
|
}, xn = "emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason", _n = function(r) {
|
|
1014
1014
|
return r.type === "comm" && r.children.indexOf(xn) > -1;
|
|
1015
|
-
},
|
|
1015
|
+
}, Cn = function(r) {
|
|
1016
1016
|
return function(t, a, i) {
|
|
1017
1017
|
if (!(t.type !== "rule" || r.compat)) {
|
|
1018
1018
|
var o = t.value.match(/(:first|:nth|:nth-last)-child/g);
|
|
@@ -1038,7 +1038,7 @@ var wn = function(r, t, a) {
|
|
|
1038
1038
|
};
|
|
1039
1039
|
}, Nt = function(r) {
|
|
1040
1040
|
return r.type.charCodeAt(1) === 105 && r.type.charCodeAt(0) === 64;
|
|
1041
|
-
},
|
|
1041
|
+
}, Rn = function(r, t) {
|
|
1042
1042
|
for (var a = r - 1; a >= 0; a--)
|
|
1043
1043
|
if (!Nt(t[a]))
|
|
1044
1044
|
return !0;
|
|
@@ -1046,7 +1046,7 @@ var wn = function(r, t, a) {
|
|
|
1046
1046
|
}, at = function(r) {
|
|
1047
1047
|
r.type = "", r.value = "", r.return = "", r.children = "", r.props = "";
|
|
1048
1048
|
}, Tn = function(r, t, a) {
|
|
1049
|
-
Nt(r) && (r.parent ? (console.error("`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles."), at(r)) :
|
|
1049
|
+
Nt(r) && (r.parent ? (console.error("`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles."), at(r)) : Rn(t, a) && (console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."), at(r)));
|
|
1050
1050
|
};
|
|
1051
1051
|
function kt(e, r) {
|
|
1052
1052
|
switch (an(e, r)) {
|
|
@@ -1083,38 +1083,38 @@ function kt(e, r) {
|
|
|
1083
1083
|
case 4810:
|
|
1084
1084
|
case 6968:
|
|
1085
1085
|
case 2756:
|
|
1086
|
-
return L + e + wr + e +
|
|
1086
|
+
return L + e + wr + e + ae + e + e;
|
|
1087
1087
|
case 6828:
|
|
1088
1088
|
case 4268:
|
|
1089
|
-
return L + e +
|
|
1089
|
+
return L + e + ae + e + e;
|
|
1090
1090
|
case 6165:
|
|
1091
|
-
return L + e +
|
|
1091
|
+
return L + e + ae + "flex-" + e + e;
|
|
1092
1092
|
case 5187:
|
|
1093
|
-
return L + e +
|
|
1093
|
+
return L + e + D(e, /(\w+).+(:[^]+)/, L + "box-$1$2" + ae + "flex-$1$2") + e;
|
|
1094
1094
|
case 5443:
|
|
1095
|
-
return L + e +
|
|
1095
|
+
return L + e + ae + "flex-item-" + D(e, /flex-|-self/, "") + e;
|
|
1096
1096
|
case 4675:
|
|
1097
|
-
return L + e +
|
|
1097
|
+
return L + e + ae + "flex-line-pack" + D(e, /align-content|flex-|-self/, "") + e;
|
|
1098
1098
|
case 5548:
|
|
1099
|
-
return L + e +
|
|
1099
|
+
return L + e + ae + D(e, "shrink", "negative") + e;
|
|
1100
1100
|
case 5292:
|
|
1101
|
-
return L + e +
|
|
1101
|
+
return L + e + ae + D(e, "basis", "preferred-size") + e;
|
|
1102
1102
|
case 6060:
|
|
1103
|
-
return L + "box-" +
|
|
1103
|
+
return L + "box-" + D(e, "-grow", "") + L + e + ae + D(e, "grow", "positive") + e;
|
|
1104
1104
|
case 4554:
|
|
1105
|
-
return L +
|
|
1105
|
+
return L + D(e, /([^-])(transform)/g, "$1" + L + "$2") + e;
|
|
1106
1106
|
case 6187:
|
|
1107
|
-
return
|
|
1107
|
+
return D(D(D(e, /(zoom-|grab)/, L + "$1"), /(image-set)/, L + "$1"), e, "") + e;
|
|
1108
1108
|
case 5495:
|
|
1109
1109
|
case 3959:
|
|
1110
|
-
return
|
|
1110
|
+
return D(e, /(image-set\([^]*)/, L + "$1$`$1");
|
|
1111
1111
|
case 4968:
|
|
1112
|
-
return
|
|
1112
|
+
return D(D(e, /(.+:)(flex-)?(.*)/, L + "box-pack:$3" + ae + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + L + e + e;
|
|
1113
1113
|
case 4095:
|
|
1114
1114
|
case 3583:
|
|
1115
1115
|
case 4068:
|
|
1116
1116
|
case 2532:
|
|
1117
|
-
return
|
|
1117
|
+
return D(e, /(.+)-inline(.+)/, L + "$1$2") + e;
|
|
1118
1118
|
case 8116:
|
|
1119
1119
|
case 7059:
|
|
1120
1120
|
case 5753:
|
|
@@ -1127,73 +1127,73 @@ function kt(e, r) {
|
|
|
1127
1127
|
case 5789:
|
|
1128
1128
|
case 5021:
|
|
1129
1129
|
case 4765:
|
|
1130
|
-
if (
|
|
1130
|
+
if (Pe(e) - 1 - r > 6)
|
|
1131
1131
|
switch (te(e, r + 1)) {
|
|
1132
1132
|
case 109:
|
|
1133
1133
|
if (te(e, r + 4) !== 45)
|
|
1134
1134
|
break;
|
|
1135
1135
|
case 102:
|
|
1136
|
-
return
|
|
1136
|
+
return D(e, /(.+:)(.+)-([^]+)/, "$1" + L + "$2-$3$1" + wr + (te(e, r + 3) == 108 ? "$3" : "$2-$3")) + e;
|
|
1137
1137
|
case 115:
|
|
1138
|
-
return ~
|
|
1138
|
+
return ~Lr(e, "stretch") ? kt(D(e, "stretch", "fill-available"), r) + e : e;
|
|
1139
1139
|
}
|
|
1140
1140
|
break;
|
|
1141
1141
|
case 4949:
|
|
1142
1142
|
if (te(e, r + 1) !== 115)
|
|
1143
1143
|
break;
|
|
1144
1144
|
case 6444:
|
|
1145
|
-
switch (te(e,
|
|
1145
|
+
switch (te(e, Pe(e) - 3 - (~Lr(e, "!important") && 10))) {
|
|
1146
1146
|
case 107:
|
|
1147
|
-
return
|
|
1147
|
+
return D(e, ":", ":" + L) + e;
|
|
1148
1148
|
case 101:
|
|
1149
|
-
return
|
|
1149
|
+
return D(e, /(.+:)([^;!]+)(;|!.+)?/, "$1" + L + (te(e, 14) === 45 ? "inline-" : "") + "box$3$1" + L + "$2$3$1" + ae + "$2box$3") + e;
|
|
1150
1150
|
}
|
|
1151
1151
|
break;
|
|
1152
1152
|
case 5936:
|
|
1153
1153
|
switch (te(e, r + 11)) {
|
|
1154
1154
|
case 114:
|
|
1155
|
-
return L + e +
|
|
1155
|
+
return L + e + ae + D(e, /[svh]\w+-[tblr]{2}/, "tb") + e;
|
|
1156
1156
|
case 108:
|
|
1157
|
-
return L + e +
|
|
1157
|
+
return L + e + ae + D(e, /[svh]\w+-[tblr]{2}/, "tb-rl") + e;
|
|
1158
1158
|
case 45:
|
|
1159
|
-
return L + e +
|
|
1159
|
+
return L + e + ae + D(e, /[svh]\w+-[tblr]{2}/, "lr") + e;
|
|
1160
1160
|
}
|
|
1161
|
-
return L + e +
|
|
1161
|
+
return L + e + ae + e + e;
|
|
1162
1162
|
}
|
|
1163
1163
|
return e;
|
|
1164
1164
|
}
|
|
1165
|
-
var
|
|
1165
|
+
var On = function(r, t, a, i) {
|
|
1166
1166
|
if (r.length > -1 && !r.return)
|
|
1167
1167
|
switch (r.type) {
|
|
1168
|
-
case
|
|
1168
|
+
case Yr:
|
|
1169
1169
|
r.return = kt(r.value, r.length);
|
|
1170
1170
|
break;
|
|
1171
1171
|
case vt:
|
|
1172
|
-
return
|
|
1173
|
-
value:
|
|
1172
|
+
return rr([lr(r, {
|
|
1173
|
+
value: D(r.value, "@", "@" + L)
|
|
1174
1174
|
})], i);
|
|
1175
|
-
case
|
|
1175
|
+
case zr:
|
|
1176
1176
|
if (r.length)
|
|
1177
1177
|
return sn(r.props, function(o) {
|
|
1178
1178
|
switch (on(o, /(::plac\w+|:read-\w+)/)) {
|
|
1179
1179
|
case ":read-only":
|
|
1180
1180
|
case ":read-write":
|
|
1181
|
-
return
|
|
1182
|
-
props: [
|
|
1181
|
+
return rr([lr(r, {
|
|
1182
|
+
props: [D(o, /:(read-\w+)/, ":" + wr + "$1")]
|
|
1183
1183
|
})], i);
|
|
1184
1184
|
case "::placeholder":
|
|
1185
|
-
return
|
|
1186
|
-
props: [
|
|
1187
|
-
}),
|
|
1188
|
-
props: [
|
|
1189
|
-
}),
|
|
1190
|
-
props: [
|
|
1185
|
+
return rr([lr(r, {
|
|
1186
|
+
props: [D(o, /:(plac\w+)/, ":" + L + "input-$1")]
|
|
1187
|
+
}), lr(r, {
|
|
1188
|
+
props: [D(o, /:(plac\w+)/, ":" + wr + "$1")]
|
|
1189
|
+
}), lr(r, {
|
|
1190
|
+
props: [D(o, /:(plac\w+)/, ae + "input-$1")]
|
|
1191
1191
|
})], i);
|
|
1192
1192
|
}
|
|
1193
1193
|
return "";
|
|
1194
1194
|
});
|
|
1195
1195
|
}
|
|
1196
|
-
},
|
|
1196
|
+
}, Pn = [On], An = function(r) {
|
|
1197
1197
|
var t = r.key;
|
|
1198
1198
|
if (process.env.NODE_ENV !== "production" && !t)
|
|
1199
1199
|
throw new Error(`You have to configure \`key\` for your cache. Please make sure it's unique (and not equal to 'css') as it's used for linking styles to your cache.
|
|
@@ -1205,7 +1205,7 @@ If multiple caches share the same key they might "fight" for each other's style
|
|
|
1205
1205
|
x.indexOf(" ") !== -1 && (document.head.appendChild(b), b.setAttribute("data-s", ""));
|
|
1206
1206
|
});
|
|
1207
1207
|
}
|
|
1208
|
-
var i = r.stylisPlugins ||
|
|
1208
|
+
var i = r.stylisPlugins || Pn;
|
|
1209
1209
|
if (process.env.NODE_ENV !== "production" && /[^a-z-]/.test(t))
|
|
1210
1210
|
throw new Error('Emotion key must only contain lower case alphabetical characters and - but "' + t + '" was passed');
|
|
1211
1211
|
var o = {}, l, u = [];
|
|
@@ -1220,28 +1220,28 @@ If multiple caches share the same key they might "fight" for each other's style
|
|
|
1220
1220
|
}
|
|
1221
1221
|
);
|
|
1222
1222
|
var d, v = [kn, Sn];
|
|
1223
|
-
process.env.NODE_ENV !== "production" && v.push(
|
|
1223
|
+
process.env.NODE_ENV !== "production" && v.push(Cn({
|
|
1224
1224
|
get compat() {
|
|
1225
|
-
return
|
|
1225
|
+
return y.compat;
|
|
1226
1226
|
}
|
|
1227
1227
|
}), Tn);
|
|
1228
1228
|
{
|
|
1229
1229
|
var m, h = [pn, process.env.NODE_ENV !== "production" ? function(b) {
|
|
1230
|
-
b.root || (b.return ? m.insert(b.return) : b.value && b.type !==
|
|
1230
|
+
b.root || (b.return ? m.insert(b.return) : b.value && b.type !== Br && m.insert(b.value + "{}"));
|
|
1231
1231
|
} : bn(function(b) {
|
|
1232
1232
|
m.insert(b);
|
|
1233
|
-
})],
|
|
1234
|
-
return
|
|
1233
|
+
})], N = vn(v.concat(i, h)), S = function(x) {
|
|
1234
|
+
return rr(gn(x), N);
|
|
1235
1235
|
};
|
|
1236
|
-
d = function(x, _,
|
|
1237
|
-
m =
|
|
1236
|
+
d = function(x, _, k, O) {
|
|
1237
|
+
m = k, process.env.NODE_ENV !== "production" && _.map !== void 0 && (m = {
|
|
1238
1238
|
insert: function(f) {
|
|
1239
|
-
|
|
1239
|
+
k.insert(f + _.map);
|
|
1240
1240
|
}
|
|
1241
|
-
}),
|
|
1241
|
+
}), S(x ? x + "{" + _.styles + "}" : _.styles), O && (y.inserted[_.name] = !0);
|
|
1242
1242
|
};
|
|
1243
1243
|
}
|
|
1244
|
-
var
|
|
1244
|
+
var y = {
|
|
1245
1245
|
key: t,
|
|
1246
1246
|
sheet: new Qt({
|
|
1247
1247
|
key: t,
|
|
@@ -1256,8 +1256,8 @@ If multiple caches share the same key they might "fight" for each other's style
|
|
|
1256
1256
|
registered: {},
|
|
1257
1257
|
insert: d
|
|
1258
1258
|
};
|
|
1259
|
-
return
|
|
1260
|
-
},
|
|
1259
|
+
return y.sheet.hydrate(u), y;
|
|
1260
|
+
}, Mr = { exports: {} }, F = {};
|
|
1261
1261
|
/** @license React v16.13.1
|
|
1262
1262
|
* react-is.production.min.js
|
|
1263
1263
|
*
|
|
@@ -1269,13 +1269,13 @@ If multiple caches share the same key they might "fight" for each other's style
|
|
|
1269
1269
|
var ot;
|
|
1270
1270
|
function In() {
|
|
1271
1271
|
if (ot)
|
|
1272
|
-
return
|
|
1272
|
+
return F;
|
|
1273
1273
|
ot = 1;
|
|
1274
|
-
var e = typeof Symbol == "function" && Symbol.for, r = e ? Symbol.for("react.element") : 60103, t = e ? Symbol.for("react.portal") : 60106, a = e ? Symbol.for("react.fragment") : 60107, i = e ? Symbol.for("react.strict_mode") : 60108, o = e ? Symbol.for("react.profiler") : 60114, l = e ? Symbol.for("react.provider") : 60109, u = e ? Symbol.for("react.context") : 60110, d = e ? Symbol.for("react.async_mode") : 60111, v = e ? Symbol.for("react.concurrent_mode") : 60111, m = e ? Symbol.for("react.forward_ref") : 60112, h = e ? Symbol.for("react.suspense") : 60113,
|
|
1275
|
-
function
|
|
1274
|
+
var e = typeof Symbol == "function" && Symbol.for, r = e ? Symbol.for("react.element") : 60103, t = e ? Symbol.for("react.portal") : 60106, a = e ? Symbol.for("react.fragment") : 60107, i = e ? Symbol.for("react.strict_mode") : 60108, o = e ? Symbol.for("react.profiler") : 60114, l = e ? Symbol.for("react.provider") : 60109, u = e ? Symbol.for("react.context") : 60110, d = e ? Symbol.for("react.async_mode") : 60111, v = e ? Symbol.for("react.concurrent_mode") : 60111, m = e ? Symbol.for("react.forward_ref") : 60112, h = e ? Symbol.for("react.suspense") : 60113, N = e ? Symbol.for("react.suspense_list") : 60120, S = e ? Symbol.for("react.memo") : 60115, y = e ? Symbol.for("react.lazy") : 60116, b = e ? Symbol.for("react.block") : 60121, x = e ? Symbol.for("react.fundamental") : 60117, _ = e ? Symbol.for("react.responder") : 60118, k = e ? Symbol.for("react.scope") : 60119;
|
|
1275
|
+
function O(f) {
|
|
1276
1276
|
if (typeof f == "object" && f !== null) {
|
|
1277
|
-
var
|
|
1278
|
-
switch (
|
|
1277
|
+
var M = f.$$typeof;
|
|
1278
|
+
switch (M) {
|
|
1279
1279
|
case r:
|
|
1280
1280
|
switch (f = f.type, f) {
|
|
1281
1281
|
case d:
|
|
@@ -1289,51 +1289,51 @@ function In() {
|
|
|
1289
1289
|
switch (f = f && f.$$typeof, f) {
|
|
1290
1290
|
case u:
|
|
1291
1291
|
case m:
|
|
1292
|
-
case
|
|
1293
|
-
case
|
|
1292
|
+
case y:
|
|
1293
|
+
case S:
|
|
1294
1294
|
case l:
|
|
1295
1295
|
return f;
|
|
1296
1296
|
default:
|
|
1297
|
-
return
|
|
1297
|
+
return M;
|
|
1298
1298
|
}
|
|
1299
1299
|
}
|
|
1300
1300
|
case t:
|
|
1301
|
-
return
|
|
1301
|
+
return M;
|
|
1302
1302
|
}
|
|
1303
1303
|
}
|
|
1304
1304
|
}
|
|
1305
1305
|
function I(f) {
|
|
1306
|
-
return
|
|
1306
|
+
return O(f) === v;
|
|
1307
1307
|
}
|
|
1308
|
-
return
|
|
1309
|
-
return I(f) ||
|
|
1310
|
-
},
|
|
1311
|
-
return
|
|
1312
|
-
},
|
|
1313
|
-
return
|
|
1314
|
-
},
|
|
1308
|
+
return F.AsyncMode = d, F.ConcurrentMode = v, F.ContextConsumer = u, F.ContextProvider = l, F.Element = r, F.ForwardRef = m, F.Fragment = a, F.Lazy = y, F.Memo = S, F.Portal = t, F.Profiler = o, F.StrictMode = i, F.Suspense = h, F.isAsyncMode = function(f) {
|
|
1309
|
+
return I(f) || O(f) === d;
|
|
1310
|
+
}, F.isConcurrentMode = I, F.isContextConsumer = function(f) {
|
|
1311
|
+
return O(f) === u;
|
|
1312
|
+
}, F.isContextProvider = function(f) {
|
|
1313
|
+
return O(f) === l;
|
|
1314
|
+
}, F.isElement = function(f) {
|
|
1315
1315
|
return typeof f == "object" && f !== null && f.$$typeof === r;
|
|
1316
|
-
},
|
|
1317
|
-
return
|
|
1318
|
-
},
|
|
1319
|
-
return
|
|
1320
|
-
},
|
|
1321
|
-
return
|
|
1322
|
-
},
|
|
1323
|
-
return
|
|
1324
|
-
},
|
|
1325
|
-
return
|
|
1326
|
-
},
|
|
1327
|
-
return
|
|
1328
|
-
},
|
|
1329
|
-
return
|
|
1330
|
-
},
|
|
1331
|
-
return
|
|
1332
|
-
},
|
|
1333
|
-
return typeof f == "string" || typeof f == "function" || f === a || f === v || f === o || f === i || f === h || f ===
|
|
1334
|
-
},
|
|
1316
|
+
}, F.isForwardRef = function(f) {
|
|
1317
|
+
return O(f) === m;
|
|
1318
|
+
}, F.isFragment = function(f) {
|
|
1319
|
+
return O(f) === a;
|
|
1320
|
+
}, F.isLazy = function(f) {
|
|
1321
|
+
return O(f) === y;
|
|
1322
|
+
}, F.isMemo = function(f) {
|
|
1323
|
+
return O(f) === S;
|
|
1324
|
+
}, F.isPortal = function(f) {
|
|
1325
|
+
return O(f) === t;
|
|
1326
|
+
}, F.isProfiler = function(f) {
|
|
1327
|
+
return O(f) === o;
|
|
1328
|
+
}, F.isStrictMode = function(f) {
|
|
1329
|
+
return O(f) === i;
|
|
1330
|
+
}, F.isSuspense = function(f) {
|
|
1331
|
+
return O(f) === h;
|
|
1332
|
+
}, F.isValidElementType = function(f) {
|
|
1333
|
+
return typeof f == "string" || typeof f == "function" || f === a || f === v || f === o || f === i || f === h || f === N || typeof f == "object" && f !== null && (f.$$typeof === y || f.$$typeof === S || f.$$typeof === l || f.$$typeof === u || f.$$typeof === m || f.$$typeof === x || f.$$typeof === _ || f.$$typeof === k || f.$$typeof === b);
|
|
1334
|
+
}, F.typeOf = O, F;
|
|
1335
1335
|
}
|
|
1336
|
-
var
|
|
1336
|
+
var j = {};
|
|
1337
1337
|
/** @license React v16.13.1
|
|
1338
1338
|
* react-is.development.js
|
|
1339
1339
|
*
|
|
@@ -1345,15 +1345,15 @@ var F = {};
|
|
|
1345
1345
|
var it;
|
|
1346
1346
|
function $n() {
|
|
1347
1347
|
return it || (it = 1, process.env.NODE_ENV !== "production" && function() {
|
|
1348
|
-
var e = typeof Symbol == "function" && Symbol.for, r = e ? Symbol.for("react.element") : 60103, t = e ? Symbol.for("react.portal") : 60106, a = e ? Symbol.for("react.fragment") : 60107, i = e ? Symbol.for("react.strict_mode") : 60108, o = e ? Symbol.for("react.profiler") : 60114, l = e ? Symbol.for("react.provider") : 60109, u = e ? Symbol.for("react.context") : 60110, d = e ? Symbol.for("react.async_mode") : 60111, v = e ? Symbol.for("react.concurrent_mode") : 60111, m = e ? Symbol.for("react.forward_ref") : 60112, h = e ? Symbol.for("react.suspense") : 60113,
|
|
1349
|
-
function
|
|
1348
|
+
var e = typeof Symbol == "function" && Symbol.for, r = e ? Symbol.for("react.element") : 60103, t = e ? Symbol.for("react.portal") : 60106, a = e ? Symbol.for("react.fragment") : 60107, i = e ? Symbol.for("react.strict_mode") : 60108, o = e ? Symbol.for("react.profiler") : 60114, l = e ? Symbol.for("react.provider") : 60109, u = e ? Symbol.for("react.context") : 60110, d = e ? Symbol.for("react.async_mode") : 60111, v = e ? Symbol.for("react.concurrent_mode") : 60111, m = e ? Symbol.for("react.forward_ref") : 60112, h = e ? Symbol.for("react.suspense") : 60113, N = e ? Symbol.for("react.suspense_list") : 60120, S = e ? Symbol.for("react.memo") : 60115, y = e ? Symbol.for("react.lazy") : 60116, b = e ? Symbol.for("react.block") : 60121, x = e ? Symbol.for("react.fundamental") : 60117, _ = e ? Symbol.for("react.responder") : 60118, k = e ? Symbol.for("react.scope") : 60119;
|
|
1349
|
+
function O(s) {
|
|
1350
1350
|
return typeof s == "string" || typeof s == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
1351
|
-
s === a || s === v || s === o || s === i || s === h || s ===
|
|
1351
|
+
s === a || s === v || s === o || s === i || s === h || s === N || typeof s == "object" && s !== null && (s.$$typeof === y || s.$$typeof === S || s.$$typeof === l || s.$$typeof === u || s.$$typeof === m || s.$$typeof === x || s.$$typeof === _ || s.$$typeof === k || s.$$typeof === b);
|
|
1352
1352
|
}
|
|
1353
1353
|
function I(s) {
|
|
1354
1354
|
if (typeof s == "object" && s !== null) {
|
|
1355
|
-
var
|
|
1356
|
-
switch (
|
|
1355
|
+
var E = s.$$typeof;
|
|
1356
|
+
switch (E) {
|
|
1357
1357
|
case r:
|
|
1358
1358
|
var W = s.type;
|
|
1359
1359
|
switch (W) {
|
|
@@ -1365,74 +1365,74 @@ function $n() {
|
|
|
1365
1365
|
case h:
|
|
1366
1366
|
return W;
|
|
1367
1367
|
default:
|
|
1368
|
-
var
|
|
1369
|
-
switch (
|
|
1368
|
+
var me = W && W.$$typeof;
|
|
1369
|
+
switch (me) {
|
|
1370
1370
|
case u:
|
|
1371
1371
|
case m:
|
|
1372
|
-
case
|
|
1373
|
-
case
|
|
1372
|
+
case y:
|
|
1373
|
+
case S:
|
|
1374
1374
|
case l:
|
|
1375
|
-
return
|
|
1375
|
+
return me;
|
|
1376
1376
|
default:
|
|
1377
|
-
return
|
|
1377
|
+
return E;
|
|
1378
1378
|
}
|
|
1379
1379
|
}
|
|
1380
1380
|
case t:
|
|
1381
|
-
return
|
|
1381
|
+
return E;
|
|
1382
1382
|
}
|
|
1383
1383
|
}
|
|
1384
1384
|
}
|
|
1385
|
-
var f = d,
|
|
1386
|
-
function
|
|
1387
|
-
return
|
|
1385
|
+
var f = d, M = v, R = u, _e = l, ye = r, Ie = m, $e = a, Ce = y, q = S, K = t, oe = o, ie = i, re = h, Ee = !1;
|
|
1386
|
+
function Q(s) {
|
|
1387
|
+
return Ee || (Ee = !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.")), we(s) || I(s) === d;
|
|
1388
1388
|
}
|
|
1389
|
-
function
|
|
1389
|
+
function we(s) {
|
|
1390
1390
|
return I(s) === v;
|
|
1391
1391
|
}
|
|
1392
|
-
function
|
|
1392
|
+
function ee(s) {
|
|
1393
1393
|
return I(s) === u;
|
|
1394
1394
|
}
|
|
1395
|
-
function
|
|
1395
|
+
function Ne(s) {
|
|
1396
1396
|
return I(s) === l;
|
|
1397
1397
|
}
|
|
1398
|
-
function
|
|
1398
|
+
function Re(s) {
|
|
1399
1399
|
return typeof s == "object" && s !== null && s.$$typeof === r;
|
|
1400
1400
|
}
|
|
1401
|
-
function
|
|
1401
|
+
function Le(s) {
|
|
1402
1402
|
return I(s) === m;
|
|
1403
1403
|
}
|
|
1404
|
-
function
|
|
1404
|
+
function Te(s) {
|
|
1405
1405
|
return I(s) === a;
|
|
1406
1406
|
}
|
|
1407
|
-
function
|
|
1408
|
-
return I(s) ===
|
|
1407
|
+
function fe(s) {
|
|
1408
|
+
return I(s) === y;
|
|
1409
1409
|
}
|
|
1410
|
-
function
|
|
1411
|
-
return I(s) ===
|
|
1410
|
+
function ke(s) {
|
|
1411
|
+
return I(s) === S;
|
|
1412
1412
|
}
|
|
1413
|
-
function
|
|
1413
|
+
function se(s) {
|
|
1414
1414
|
return I(s) === t;
|
|
1415
1415
|
}
|
|
1416
|
-
function
|
|
1416
|
+
function z(s) {
|
|
1417
1417
|
return I(s) === o;
|
|
1418
1418
|
}
|
|
1419
|
-
function
|
|
1419
|
+
function de(s) {
|
|
1420
1420
|
return I(s) === i;
|
|
1421
1421
|
}
|
|
1422
|
-
function
|
|
1422
|
+
function Oe(s) {
|
|
1423
1423
|
return I(s) === h;
|
|
1424
1424
|
}
|
|
1425
|
-
|
|
1426
|
-
}()),
|
|
1425
|
+
j.AsyncMode = f, j.ConcurrentMode = M, j.ContextConsumer = R, j.ContextProvider = _e, j.Element = ye, j.ForwardRef = Ie, j.Fragment = $e, j.Lazy = Ce, j.Memo = q, j.Portal = K, j.Profiler = oe, j.StrictMode = ie, j.Suspense = re, j.isAsyncMode = Q, j.isConcurrentMode = we, j.isContextConsumer = ee, j.isContextProvider = Ne, j.isElement = Re, j.isForwardRef = Le, j.isFragment = Te, j.isLazy = fe, j.isMemo = ke, j.isPortal = se, j.isProfiler = z, j.isStrictMode = de, j.isSuspense = Oe, j.isValidElementType = O, j.typeOf = I;
|
|
1426
|
+
}()), j;
|
|
1427
1427
|
}
|
|
1428
|
-
process.env.NODE_ENV === "production" ?
|
|
1429
|
-
var Ln =
|
|
1428
|
+
process.env.NODE_ENV === "production" ? Mr.exports = In() : Mr.exports = $n();
|
|
1429
|
+
var Ln = Mr.exports, St = Ln, Dn = {
|
|
1430
1430
|
$$typeof: !0,
|
|
1431
1431
|
render: !0,
|
|
1432
1432
|
defaultProps: !0,
|
|
1433
1433
|
displayName: !0,
|
|
1434
1434
|
propTypes: !0
|
|
1435
|
-
},
|
|
1435
|
+
}, Mn = {
|
|
1436
1436
|
$$typeof: !0,
|
|
1437
1437
|
compare: !0,
|
|
1438
1438
|
defaultProps: !0,
|
|
@@ -1440,8 +1440,8 @@ var Ln = Lr.exports, St = Ln, Mn = {
|
|
|
1440
1440
|
propTypes: !0,
|
|
1441
1441
|
type: !0
|
|
1442
1442
|
}, xt = {};
|
|
1443
|
-
xt[St.ForwardRef] =
|
|
1444
|
-
xt[St.Memo] =
|
|
1443
|
+
xt[St.ForwardRef] = Dn;
|
|
1444
|
+
xt[St.Memo] = Mn;
|
|
1445
1445
|
var Fn = !0;
|
|
1446
1446
|
function jn(e, r, t) {
|
|
1447
1447
|
var a = "";
|
|
@@ -1490,7 +1490,7 @@ function Bn(e) {
|
|
|
1490
1490
|
return r ^= r >>> 13, r = /* Math.imul(h, m): */
|
|
1491
1491
|
(r & 65535) * 1540483477 + ((r >>> 16) * 59797 << 16), ((r ^ r >>> 15) >>> 0).toString(36);
|
|
1492
1492
|
}
|
|
1493
|
-
var
|
|
1493
|
+
var zn = {
|
|
1494
1494
|
animationIterationCount: 1,
|
|
1495
1495
|
aspectRatio: 1,
|
|
1496
1496
|
borderImageOutset: 1,
|
|
@@ -1541,45 +1541,45 @@ var Un = {
|
|
|
1541
1541
|
}, st = `You have illegal escape sequence in your template literal, most likely inside content's property value.
|
|
1542
1542
|
Because you write your CSS inside a JavaScript string you actually have to do double escaping, so for example "content: '\\00d7';" should become "content: '\\\\00d7';".
|
|
1543
1543
|
You can read more about this here:
|
|
1544
|
-
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`,
|
|
1544
|
+
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`, Yn = "You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).", Un = /[A-Z]|^ms/g, Ct = /_EMO_([^_]+?)_([^]*?)_EMO_/g, Wr = function(r) {
|
|
1545
1545
|
return r.charCodeAt(1) === 45;
|
|
1546
1546
|
}, ct = function(r) {
|
|
1547
1547
|
return r != null && typeof r != "boolean";
|
|
1548
|
-
},
|
|
1549
|
-
return
|
|
1550
|
-
}),
|
|
1548
|
+
}, Ar = /* @__PURE__ */ yn(function(e) {
|
|
1549
|
+
return Wr(e) ? e : e.replace(Un, "-$&").toLowerCase();
|
|
1550
|
+
}), Nr = function(r, t) {
|
|
1551
1551
|
switch (r) {
|
|
1552
1552
|
case "animation":
|
|
1553
1553
|
case "animationName":
|
|
1554
1554
|
if (typeof t == "string")
|
|
1555
|
-
return t.replace(
|
|
1556
|
-
return
|
|
1555
|
+
return t.replace(Ct, function(a, i, o) {
|
|
1556
|
+
return xe = {
|
|
1557
1557
|
name: i,
|
|
1558
1558
|
styles: o,
|
|
1559
|
-
next:
|
|
1559
|
+
next: xe
|
|
1560
1560
|
}, i;
|
|
1561
1561
|
});
|
|
1562
1562
|
}
|
|
1563
|
-
return
|
|
1563
|
+
return zn[r] !== 1 && !Wr(r) && typeof t == "number" && t !== 0 ? t + "px" : t;
|
|
1564
1564
|
};
|
|
1565
1565
|
if (process.env.NODE_ENV !== "production") {
|
|
1566
|
-
var Wn = /(var|attr|counters?|url|element|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/, qn = ["normal", "none", "initial", "inherit", "unset"], Gn =
|
|
1567
|
-
|
|
1566
|
+
var Wn = /(var|attr|counters?|url|element|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/, qn = ["normal", "none", "initial", "inherit", "unset"], Gn = Nr, Kn = /^-ms-/, Hn = /-(.)/g, lt = {};
|
|
1567
|
+
Nr = function(r, t) {
|
|
1568
1568
|
if (r === "content" && (typeof t != "string" || qn.indexOf(t) === -1 && !Wn.test(t) && (t.charAt(0) !== t.charAt(t.length - 1) || t.charAt(0) !== '"' && t.charAt(0) !== "'")))
|
|
1569
1569
|
throw new Error("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\"" + t + "\"'`");
|
|
1570
1570
|
var a = Gn(r, t);
|
|
1571
|
-
return a !== "" && !
|
|
1571
|
+
return a !== "" && !Wr(r) && r.indexOf("-") !== -1 && lt[r] === void 0 && (lt[r] = !0, console.error("Using kebab-case for css properties in objects is not supported. Did you mean " + r.replace(Kn, "ms-").replace(Hn, function(i, o) {
|
|
1572
1572
|
return o.toUpperCase();
|
|
1573
1573
|
}) + "?")), a;
|
|
1574
1574
|
};
|
|
1575
1575
|
}
|
|
1576
|
-
var
|
|
1577
|
-
function
|
|
1576
|
+
var Rt = "Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";
|
|
1577
|
+
function dr(e, r, t) {
|
|
1578
1578
|
if (t == null)
|
|
1579
1579
|
return "";
|
|
1580
1580
|
if (t.__emotion_styles !== void 0) {
|
|
1581
1581
|
if (process.env.NODE_ENV !== "production" && t.toString() === "NO_COMPONENT_SELECTOR")
|
|
1582
|
-
throw new Error(
|
|
1582
|
+
throw new Error(Rt);
|
|
1583
1583
|
return t;
|
|
1584
1584
|
}
|
|
1585
1585
|
switch (typeof t) {
|
|
@@ -1587,19 +1587,19 @@ function fr(e, r, t) {
|
|
|
1587
1587
|
return "";
|
|
1588
1588
|
case "object": {
|
|
1589
1589
|
if (t.anim === 1)
|
|
1590
|
-
return
|
|
1590
|
+
return xe = {
|
|
1591
1591
|
name: t.name,
|
|
1592
1592
|
styles: t.styles,
|
|
1593
|
-
next:
|
|
1593
|
+
next: xe
|
|
1594
1594
|
}, t.name;
|
|
1595
1595
|
if (t.styles !== void 0) {
|
|
1596
1596
|
var a = t.next;
|
|
1597
1597
|
if (a !== void 0)
|
|
1598
1598
|
for (; a !== void 0; )
|
|
1599
|
-
|
|
1599
|
+
xe = {
|
|
1600
1600
|
name: a.name,
|
|
1601
1601
|
styles: a.styles,
|
|
1602
|
-
next:
|
|
1602
|
+
next: xe
|
|
1603
1603
|
}, a = a.next;
|
|
1604
1604
|
var i = t.styles + ";";
|
|
1605
1605
|
return process.env.NODE_ENV !== "production" && t.map !== void 0 && (i += t.map), i;
|
|
@@ -1608,17 +1608,17 @@ function fr(e, r, t) {
|
|
|
1608
1608
|
}
|
|
1609
1609
|
case "function": {
|
|
1610
1610
|
if (e !== void 0) {
|
|
1611
|
-
var o =
|
|
1612
|
-
return
|
|
1611
|
+
var o = xe, l = t(e);
|
|
1612
|
+
return xe = o, dr(e, r, l);
|
|
1613
1613
|
} else
|
|
1614
1614
|
process.env.NODE_ENV !== "production" && console.error("Functions that are interpolated in css calls will be stringified.\nIf you want to have a css call based on props, create a function that returns a css call like this\nlet dynamicStyle = (props) => css`color: ${props.color}`\nIt can be called directly with props or interpolated in a styled call like this\nlet SomeComponent = styled('div')`${dynamicStyle}`");
|
|
1615
1615
|
break;
|
|
1616
1616
|
}
|
|
1617
1617
|
case "string":
|
|
1618
1618
|
if (process.env.NODE_ENV !== "production") {
|
|
1619
|
-
var u = [], d = t.replace(
|
|
1620
|
-
var
|
|
1621
|
-
return u.push("const " +
|
|
1619
|
+
var u = [], d = t.replace(Ct, function(m, h, N) {
|
|
1620
|
+
var S = "animation" + u.length;
|
|
1621
|
+
return u.push("const " + S + " = keyframes`" + N.replace(/^@keyframes animation-\w+/, "") + "`"), "${" + S + "}";
|
|
1622
1622
|
});
|
|
1623
1623
|
u.length && console.error("`keyframes` output got interpolated into plain string, please wrap it with `css`.\n\nInstead of doing this:\n\n" + [].concat(u, ["`" + d + "`"]).join(`
|
|
1624
1624
|
`) + `
|
|
@@ -1638,28 +1638,28 @@ function Jn(e, r, t) {
|
|
|
1638
1638
|
var a = "";
|
|
1639
1639
|
if (Array.isArray(t))
|
|
1640
1640
|
for (var i = 0; i < t.length; i++)
|
|
1641
|
-
a +=
|
|
1641
|
+
a += dr(e, r, t[i]) + ";";
|
|
1642
1642
|
else
|
|
1643
1643
|
for (var o in t) {
|
|
1644
1644
|
var l = t[o];
|
|
1645
1645
|
if (typeof l != "object")
|
|
1646
|
-
r != null && r[l] !== void 0 ? a += o + "{" + r[l] + "}" : ct(l) && (a +=
|
|
1646
|
+
r != null && r[l] !== void 0 ? a += o + "{" + r[l] + "}" : ct(l) && (a += Ar(o) + ":" + Nr(o, l) + ";");
|
|
1647
1647
|
else {
|
|
1648
1648
|
if (o === "NO_COMPONENT_SELECTOR" && process.env.NODE_ENV !== "production")
|
|
1649
|
-
throw new Error(
|
|
1649
|
+
throw new Error(Rt);
|
|
1650
1650
|
if (Array.isArray(l) && typeof l[0] == "string" && (r == null || r[l[0]] === void 0))
|
|
1651
1651
|
for (var u = 0; u < l.length; u++)
|
|
1652
|
-
ct(l[u]) && (a +=
|
|
1652
|
+
ct(l[u]) && (a += Ar(o) + ":" + Nr(o, l[u]) + ";");
|
|
1653
1653
|
else {
|
|
1654
|
-
var d =
|
|
1654
|
+
var d = dr(e, r, l);
|
|
1655
1655
|
switch (o) {
|
|
1656
1656
|
case "animation":
|
|
1657
1657
|
case "animationName": {
|
|
1658
|
-
a +=
|
|
1658
|
+
a += Ar(o) + ":" + d + ";";
|
|
1659
1659
|
break;
|
|
1660
1660
|
}
|
|
1661
1661
|
default:
|
|
1662
|
-
process.env.NODE_ENV !== "production" && o === "undefined" && console.error(
|
|
1662
|
+
process.env.NODE_ENV !== "production" && o === "undefined" && console.error(Yn), a += o + "{" + d + "}";
|
|
1663
1663
|
}
|
|
1664
1664
|
}
|
|
1665
1665
|
}
|
|
@@ -1668,18 +1668,18 @@ function Jn(e, r, t) {
|
|
|
1668
1668
|
}
|
|
1669
1669
|
var ut = /label:\s*([^\s;\n{]+)\s*(;|$)/g, Tt;
|
|
1670
1670
|
process.env.NODE_ENV !== "production" && (Tt = /\/\*#\ssourceMappingURL=data:application\/json;\S+\s+\*\//g);
|
|
1671
|
-
var
|
|
1671
|
+
var xe, ft = function(r, t, a) {
|
|
1672
1672
|
if (r.length === 1 && typeof r[0] == "object" && r[0] !== null && r[0].styles !== void 0)
|
|
1673
1673
|
return r[0];
|
|
1674
1674
|
var i = !0, o = "";
|
|
1675
|
-
|
|
1675
|
+
xe = void 0;
|
|
1676
1676
|
var l = r[0];
|
|
1677
|
-
l == null || l.raw === void 0 ? (i = !1, o +=
|
|
1677
|
+
l == null || l.raw === void 0 ? (i = !1, o += dr(a, t, l)) : (process.env.NODE_ENV !== "production" && l[0] === void 0 && console.error(st), o += l[0]);
|
|
1678
1678
|
for (var u = 1; u < r.length; u++)
|
|
1679
|
-
o +=
|
|
1679
|
+
o += dr(a, t, r[u]), i && (process.env.NODE_ENV !== "production" && l[u] === void 0 && console.error(st), o += l[u]);
|
|
1680
1680
|
var d;
|
|
1681
|
-
process.env.NODE_ENV !== "production" && (o = o.replace(Tt, function(
|
|
1682
|
-
return d =
|
|
1681
|
+
process.env.NODE_ENV !== "production" && (o = o.replace(Tt, function(N) {
|
|
1682
|
+
return d = N, "";
|
|
1683
1683
|
})), ut.lastIndex = 0;
|
|
1684
1684
|
for (var v = "", m; (m = ut.exec(o)) !== null; )
|
|
1685
1685
|
v += "-" + // $FlowFixMe we know it's not null
|
|
@@ -1689,18 +1689,18 @@ var Re, ft = function(r, t, a) {
|
|
|
1689
1689
|
name: h,
|
|
1690
1690
|
styles: o,
|
|
1691
1691
|
map: d,
|
|
1692
|
-
next:
|
|
1692
|
+
next: xe,
|
|
1693
1693
|
toString: function() {
|
|
1694
1694
|
return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop).";
|
|
1695
1695
|
}
|
|
1696
1696
|
} : {
|
|
1697
1697
|
name: h,
|
|
1698
1698
|
styles: o,
|
|
1699
|
-
next:
|
|
1699
|
+
next: xe
|
|
1700
1700
|
};
|
|
1701
1701
|
}, Xn = function(r) {
|
|
1702
1702
|
return r();
|
|
1703
|
-
}, Zn = Fe["useInsertionEffect"] ? Fe["useInsertionEffect"] : !1, Qn = Zn || Xn,
|
|
1703
|
+
}, Zn = Fe["useInsertionEffect"] ? Fe["useInsertionEffect"] : !1, Qn = Zn || Xn, Cr = {}.hasOwnProperty, qr = /* @__PURE__ */ Fe.createContext(
|
|
1704
1704
|
// we're doing this to avoid preconstruct's dead code elimination in this one case
|
|
1705
1705
|
// because this module is primarily intended for the browser and node
|
|
1706
1706
|
// but it's also required in react native and similar environments sometimes
|
|
@@ -1711,15 +1711,15 @@ var Re, ft = function(r, t, a) {
|
|
|
1711
1711
|
key: "css"
|
|
1712
1712
|
}) : null
|
|
1713
1713
|
);
|
|
1714
|
-
process.env.NODE_ENV !== "production" && (
|
|
1715
|
-
|
|
1714
|
+
process.env.NODE_ENV !== "production" && (qr.displayName = "EmotionCacheContext");
|
|
1715
|
+
qr.Provider;
|
|
1716
1716
|
var ea = function(r) {
|
|
1717
1717
|
return /* @__PURE__ */ pt(function(t, a) {
|
|
1718
|
-
var i = Vt(
|
|
1718
|
+
var i = Vt(qr);
|
|
1719
1719
|
return r(t, i, a);
|
|
1720
1720
|
});
|
|
1721
|
-
},
|
|
1722
|
-
process.env.NODE_ENV !== "production" && (
|
|
1721
|
+
}, Ot = /* @__PURE__ */ Fe.createContext({});
|
|
1722
|
+
process.env.NODE_ENV !== "production" && (Ot.displayName = "EmotionThemeContext");
|
|
1723
1723
|
var dt = function(r) {
|
|
1724
1724
|
var t = r.split(".");
|
|
1725
1725
|
return t[t.length - 1];
|
|
@@ -1741,16 +1741,16 @@ var dt = function(r) {
|
|
|
1741
1741
|
return na(i);
|
|
1742
1742
|
}
|
|
1743
1743
|
}
|
|
1744
|
-
},
|
|
1744
|
+
}, Fr = "__EMOTION_TYPE_PLEASE_DO_NOT_USE__", jr = "__EMOTION_LABEL_PLEASE_DO_NOT_USE__", Pt = function(r, t) {
|
|
1745
1745
|
if (process.env.NODE_ENV !== "production" && typeof t.css == "string" && // check if there is a css declaration
|
|
1746
1746
|
t.css.indexOf(":") !== -1)
|
|
1747
1747
|
throw new Error("Strings are not allowed as css prop values, please wrap it in a css template literal from '@emotion/react' like this: css`" + t.css + "`");
|
|
1748
1748
|
var a = {};
|
|
1749
1749
|
for (var i in t)
|
|
1750
|
-
|
|
1751
|
-
if (a[
|
|
1750
|
+
Cr.call(t, i) && (a[i] = t[i]);
|
|
1751
|
+
if (a[Fr] = r, process.env.NODE_ENV !== "production" && t.css && (typeof t.css != "object" || typeof t.css.name != "string" || t.css.name.indexOf("-") === -1)) {
|
|
1752
1752
|
var o = aa(new Error().stack);
|
|
1753
|
-
o && (a[
|
|
1753
|
+
o && (a[jr] = o);
|
|
1754
1754
|
}
|
|
1755
1755
|
return a;
|
|
1756
1756
|
}, oa = function(r) {
|
|
@@ -1761,17 +1761,17 @@ var dt = function(r) {
|
|
|
1761
1761
|
}, At = /* @__PURE__ */ ea(function(e, r, t) {
|
|
1762
1762
|
var a = e.css;
|
|
1763
1763
|
typeof a == "string" && r.registered[a] !== void 0 && (a = r.registered[a]);
|
|
1764
|
-
var i = e[
|
|
1764
|
+
var i = e[Fr], o = [a], l = "";
|
|
1765
1765
|
typeof e.className == "string" ? l = jn(r.registered, o, e.className) : e.className != null && (l = e.className + " ");
|
|
1766
|
-
var u = ft(o, void 0, Fe.useContext(
|
|
1766
|
+
var u = ft(o, void 0, Fe.useContext(Ot));
|
|
1767
1767
|
if (process.env.NODE_ENV !== "production" && u.name.indexOf("-") === -1) {
|
|
1768
|
-
var d = e[
|
|
1768
|
+
var d = e[jr];
|
|
1769
1769
|
d && (u = ft([u, "label:" + d + ";"]));
|
|
1770
1770
|
}
|
|
1771
1771
|
l += r.key + "-" + u.name;
|
|
1772
1772
|
var v = {};
|
|
1773
1773
|
for (var m in e)
|
|
1774
|
-
|
|
1774
|
+
Cr.call(e, m) && m !== "css" && m !== Fr && (process.env.NODE_ENV === "production" || m !== jr) && (v[m] = e[m]);
|
|
1775
1775
|
return v.ref = t, v.className = l, /* @__PURE__ */ Fe.createElement(Fe.Fragment, null, /* @__PURE__ */ Fe.createElement(oa, {
|
|
1776
1776
|
cache: r,
|
|
1777
1777
|
serialized: u,
|
|
@@ -1779,12 +1779,12 @@ var dt = function(r) {
|
|
|
1779
1779
|
}), /* @__PURE__ */ Fe.createElement(i, v));
|
|
1780
1780
|
});
|
|
1781
1781
|
process.env.NODE_ENV !== "production" && (At.displayName = "EmotionCssPropInternal");
|
|
1782
|
-
var It = At,
|
|
1782
|
+
var It = At, Qe = Jt;
|
|
1783
1783
|
function p(e, r, t) {
|
|
1784
|
-
return
|
|
1784
|
+
return Cr.call(r, "css") ? Qr(It, Pt(e, r), t) : Qr(e, r, t);
|
|
1785
1785
|
}
|
|
1786
|
-
function
|
|
1787
|
-
return
|
|
1786
|
+
function he(e, r, t) {
|
|
1787
|
+
return Cr.call(r, "css") ? et(It, Pt(e, r), t) : et(e, r, t);
|
|
1788
1788
|
}
|
|
1789
1789
|
function ia(e, r) {
|
|
1790
1790
|
let t = null, a = null;
|
|
@@ -1805,13 +1805,13 @@ const sa = (e, r) => {
|
|
|
1805
1805
|
return;
|
|
1806
1806
|
}
|
|
1807
1807
|
const h = (async () => r(...i))();
|
|
1808
|
-
i = void 0, h.then(u).catch((
|
|
1809
|
-
console.error(
|
|
1808
|
+
i = void 0, h.then(u).catch((y) => {
|
|
1809
|
+
console.error(y), d(y);
|
|
1810
1810
|
});
|
|
1811
|
-
let
|
|
1812
|
-
a = new Promise((
|
|
1813
|
-
|
|
1814
|
-
}), t = h.then(o(m,
|
|
1811
|
+
let N, S;
|
|
1812
|
+
a = new Promise((y, b) => {
|
|
1813
|
+
N = y, S = b;
|
|
1814
|
+
}), t = h.then(o(m, N, S)).catch((y) => (console.error(y), o(l, N, S)(y)));
|
|
1815
1815
|
}, e - (m - l)), v;
|
|
1816
1816
|
};
|
|
1817
1817
|
return (...l) => {
|
|
@@ -1821,8 +1821,8 @@ const sa = (e, r) => {
|
|
|
1821
1821
|
const u = performance.now(), d = (async () => r(...l))();
|
|
1822
1822
|
i = void 0;
|
|
1823
1823
|
let v, m;
|
|
1824
|
-
return a = new Promise((h,
|
|
1825
|
-
v = h, m =
|
|
1824
|
+
return a = new Promise((h, N) => {
|
|
1825
|
+
v = h, m = N;
|
|
1826
1826
|
}), t = d.then(o(u, v, m)).catch((h) => (console.error(h), o(u, v, m)(h))), d;
|
|
1827
1827
|
}
|
|
1828
1828
|
};
|
|
@@ -1836,12 +1836,12 @@ const sa = (e, r) => {
|
|
|
1836
1836
|
const { leftOverData: a } = this, i = async ({ buffer: u = new Uint8Array(e), currentSize: d = 0 } = {}) => {
|
|
1837
1837
|
const { value: v, done: m } = await this.reader.read();
|
|
1838
1838
|
if (d === 0 && a && (u.set(a), d += a.byteLength, this.leftOverData = void 0), m) {
|
|
1839
|
-
const
|
|
1840
|
-
return this.reader = void 0, this.leftOverData = void 0,
|
|
1839
|
+
const S = { buffer: u.slice(0, d), currentSize: d, done: m };
|
|
1840
|
+
return this.reader = void 0, this.leftOverData = void 0, S;
|
|
1841
1841
|
}
|
|
1842
1842
|
let h;
|
|
1843
|
-
const
|
|
1844
|
-
return h = d +
|
|
1843
|
+
const N = v.slice(0, e - d);
|
|
1844
|
+
return h = d + N.byteLength, u.set(N, d), h === e ? (this.leftOverData = v.slice(e - d), { buffer: u, currentSize: h, done: !1 }) : i({ buffer: u, currentSize: h });
|
|
1845
1845
|
}, { buffer: o, done: l } = await i();
|
|
1846
1846
|
o?.byteLength && t.enqueue(o), l && t.close();
|
|
1847
1847
|
},
|
|
@@ -1892,7 +1892,7 @@ const sa = (e, r) => {
|
|
|
1892
1892
|
cancel() {
|
|
1893
1893
|
this.reader.cancel();
|
|
1894
1894
|
}
|
|
1895
|
-
}), ua =
|
|
1895
|
+
}), ua = kr`
|
|
1896
1896
|
position: relative;
|
|
1897
1897
|
display: grid;
|
|
1898
1898
|
grid-column: 1;
|
|
@@ -1917,7 +1917,7 @@ const sa = (e, r) => {
|
|
|
1917
1917
|
grid-column: 1;
|
|
1918
1918
|
grid-row: 1;
|
|
1919
1919
|
}
|
|
1920
|
-
`, fa = ({ loading: e, needsInitialInteraction: r, togglePlay: t, setCanvasRef: a }) => /* @__PURE__ */
|
|
1920
|
+
`, fa = ({ loading: e, needsInitialInteraction: r, togglePlay: t, setCanvasRef: a }) => /* @__PURE__ */ he("div", { css: ua, onClick: t, children: [
|
|
1921
1921
|
/* @__PURE__ */ p("canvas", { ref: a }),
|
|
1922
1922
|
r ? /* @__PURE__ */ p(
|
|
1923
1923
|
"svg",
|
|
@@ -1977,20 +1977,20 @@ const sa = (e, r) => {
|
|
|
1977
1977
|
}
|
|
1978
1978
|
) : null
|
|
1979
1979
|
] }), mt = ({ ref: e, defaultValue: r }) => {
|
|
1980
|
-
const [t, a] =
|
|
1980
|
+
const [t, a] = U(r), [i, o] = U(!1), l = (u) => {
|
|
1981
1981
|
if (o(!0), !e.current)
|
|
1982
1982
|
return;
|
|
1983
1983
|
const { clientX: d } = u, { left: v, right: m } = e.current.getBoundingClientRect();
|
|
1984
1984
|
a(Math.min(Math.max((d - v) / (m - v), 0), 1));
|
|
1985
1985
|
};
|
|
1986
|
-
return
|
|
1986
|
+
return pe(() => {
|
|
1987
1987
|
if (!i)
|
|
1988
1988
|
return;
|
|
1989
1989
|
const u = () => o(!1), d = (v) => {
|
|
1990
1990
|
if (!e.current)
|
|
1991
1991
|
return;
|
|
1992
|
-
const { clientX: m } = v, { left: h, right:
|
|
1993
|
-
a(Math.min(Math.max((m - h) / (
|
|
1992
|
+
const { clientX: m } = v, { left: h, right: N } = e.current.getBoundingClientRect();
|
|
1993
|
+
a(Math.min(Math.max((m - h) / (N - h), 0), 1));
|
|
1994
1994
|
};
|
|
1995
1995
|
return document.addEventListener("mousemove", d), document.addEventListener("mouseup", u), () => {
|
|
1996
1996
|
document.removeEventListener("mousemove", d), document.removeEventListener("mouseup", u);
|
|
@@ -2001,19 +2001,19 @@ const sa = (e, r) => {
|
|
|
2001
2001
|
scrub: l
|
|
2002
2002
|
};
|
|
2003
2003
|
}, da = JSON.parse(`[{"tag":"zu","name":"isiZulu","originalName":"isiZulu","locale":"zu-ZA"},{"tag":"zh","name":"Chinese","originalName":"中文","locale":"zh-CHS"},{"tag":"yo","name":"Yoruba","originalName":"Yoruba","locale":"yo-NG"},{"tag":"xh","name":"isiXhosa","originalName":"isiXhosa","locale":"xh-ZA"},{"tag":"wo","name":"Wolof","originalName":"Wolof","locale":"wo-SN"},{"tag":"vi","name":"Vietnamese","originalName":"Tiếng Việt","locale":"vi"},{"tag":"uz","name":"Uzbek","originalName":"U'zbek","locale":"uz"},{"tag":"ur","name":"Urdu","originalName":"اُردو","locale":"ur"},{"tag":"uk","name":"Ukrainian","originalName":"україньска","locale":"uk"},{"tag":"ug","name":"Uyghur","originalName":"ئۇيغۇرچە","locale":"ug-CN"},{"tag":"tzm","name":"Tamazight","originalName":"Tamazight","locale":"tzm-Latn-DZ"},{"tag":"tt","name":"Tatar","originalName":"Татар","locale":"tt"},{"tag":"tr","name":"Turkish","originalName":"Türkçe","locale":"tr"},{"tag":"tn","name":"Setswana","originalName":"Setswana","locale":"tn-ZA"},{"tag":"tk","name":"Turkmen","originalName":"türkmençe","locale":"tk-TM"},{"tag":"th","name":"Thai","originalName":"ไทย","locale":"th"},{"tag":"tg","name":"Tajik","originalName":"Тоҷикӣ","locale":"tg-Cyrl-TJ"},{"tag":"te","name":"Telugu","originalName":"తెలుగు","locale":"te"},{"tag":"ta","name":"Tamil","originalName":"தமிழ்","locale":"ta"},{"tag":"syr","name":"Syriac","originalName":"ܣܘܪܝܝܐ","locale":"syr"},{"tag":"sw","name":"Kiswahili","originalName":"Kiswahili","locale":"sw"},{"tag":"sv","name":"Swedish","originalName":"svenska","locale":"sv"},{"tag":"sr","name":"Serbian","originalName":"srpski","locale":"sr"},{"tag":"sq","name":"Albanian","originalName":"shqipe","locale":"sq"},{"tag":"sms","name":"Sami","originalName":"sääm´ǩiõll","locale":"sms-FI"},{"tag":"smn","name":"Sami","originalName":"sämikielâ","locale":"smn-FI"},{"tag":"smj","name":"Sami","originalName":"julevusámegiella","locale":"smj-NO"},{"tag":"sma","name":"Sami","originalName":"åarjelsaemiengiele","locale":"sma-NO"},{"tag":"sl","name":"Slovenian","originalName":"slovenski","locale":"sl"},{"tag":"sk","name":"Slovak","originalName":"slovenčina","locale":"sk"},{"tag":"si","name":"Sinhala","originalName":"සිංහ","locale":"si-LK"},{"tag":"se","name":"Sami","originalName":"davvisámegiella","locale":"se-FI"},{"tag":"sah","name":"Yakut","originalName":"саха","locale":"sah-RU"},{"tag":"sa","name":"Sanskrit","originalName":"संस्कृत","locale":"sa"},{"tag":"rw","name":"Kinyarwanda","originalName":"Kinyarwanda","locale":"rw-RW"},{"tag":"ru","name":"Russian","originalName":"русский","locale":"ru"},{"tag":"ro","name":"Romanian","originalName":"română","locale":"ro"},{"tag":"rm","name":"Romansh","originalName":"Rumantsch","locale":"rm-CH"},{"tag":"quz","name":"Quechua","originalName":"runasimi","locale":"quz-BO"},{"tag":"qut","name":"K'iche","originalName":"K'iche","locale":"qut-GT"},{"tag":"pt","name":"Portuguese","originalName":"Português","locale":"pt"},{"tag":"ps","name":"Pashto","originalName":"پښتو","locale":"ps-AF"},{"tag":"prs","name":"Dari","originalName":"درى","locale":"prs-AF"},{"tag":"pl","name":"Polish","originalName":"polski","locale":"pl"},{"tag":"pa","name":"Punjabi","originalName":"ਪੰਜਾਬੀ","locale":"pa"},{"tag":"or","name":"Oriya","originalName":"ଓଡ଼ିଆ","locale":"or-IN"},{"tag":"oc","name":"Occitan","originalName":"Occitan","locale":"oc-FR"},{"tag":"nso","name":"Sesotho sa Leboa","originalName":"Sesotho sa Leboa","locale":"nso-ZA"},{"tag":"no","name":"Norwegian","originalName":"norsk","locale":"no"},{"tag":"nn","name":"Norwegian, Nynorsk","originalName":"norsk, nynorsk","locale":"nn-NO"},{"tag":"nl","name":"Dutch","originalName":"Nederlands","locale":"nl"},{"tag":"ne","name":"Nepali","originalName":"नेपाली","locale":"ne-NP"},{"tag":"nb","name":"Norwegian, Bokmål","originalName":"norsk, bokmål","locale":"nb-NO"},{"tag":"mt","name":"Maltese","originalName":"Malti","locale":"mt-MT"},{"tag":"ms","name":"Malay","originalName":"Bahasa Malaysia","locale":"ms"},{"tag":"mr","name":"Marathi","originalName":"मराठी","locale":"mr"},{"tag":"moh","name":"Mohawk","originalName":"Kanien'kéha","locale":"moh-CA"},{"tag":"mn","name":"Mongolian","originalName":"Монгол хэл","locale":"mn"},{"tag":"ml","name":"Malayalam","originalName":"മലയാളം","locale":"ml-IN"},{"tag":"mk","name":"Macedonian","originalName":"македонски јазик","locale":"mk"},{"tag":"mi","name":"Maori","originalName":"Reo Māori","locale":"mi-NZ"},{"tag":"lv","name":"Latvian","originalName":"latviešu","locale":"lv"},{"tag":"lt","name":"Lithuanian","originalName":"lietuvių","locale":"lt"},{"tag":"lo","name":"Lao","originalName":"ລາວ","locale":"lo-LA"},{"tag":"lb","name":"Luxembourgish","originalName":"Lëtzebuergesch","locale":"lb-LU"},{"tag":"ky","name":"Kyrgyz","originalName":"Кыргыз","locale":"ky"},{"tag":"kok","name":"Konkani","originalName":"कोंकणी","locale":"kok"},{"tag":"ko","name":"Korean","originalName":"한국어","locale":"ko"},{"tag":"kn","name":"Kannada","originalName":"ಕನ್ನಡ","locale":"kn"},{"tag":"km","name":"Khmer","originalName":"ខ្មែរ","locale":"km-KH"},{"tag":"kl","name":"Greenlandic","originalName":"kalaallisut","locale":"kl-GL"},{"tag":"kk","name":"Kazakh","originalName":"Қазащb","locale":"kk"},{"tag":"ka","name":"Georgian","originalName":"ქართული","locale":"ka"},{"tag":"ja","name":"Japanese","originalName":"日本語","locale":"ja"},{"tag":"iu","name":"Inuktitut","originalName":"ᐃᓄᒃᑎᑐᑦ","locale":"iu-Cans-CA"},{"tag":"it","name":"Italian","originalName":"italiano","locale":"it"},{"tag":"is","name":"Icelandic","originalName":"íslenska","locale":"is"},{"tag":"ii","name":"Yi","originalName":"ꆈꌠꁱꂷ","locale":"ii-CN"},{"tag":"ig","name":"Igbo","originalName":"Igbo","locale":"ig-NG"},{"tag":"id","name":"Indonesian","originalName":"Bahasa Indonesia","locale":"id"},{"tag":"hy","name":"Armenian","originalName":"Հայերեն","locale":"hy"},{"tag":"hu","name":"Hungarian","originalName":"magyar","locale":"hu"},{"tag":"hsb","name":"Upper Sorbian","originalName":"hornjoserbšćina","locale":"hsb-DE"},{"tag":"hr","name":"Croatian","originalName":"hrvatski","locale":"hr"},{"tag":"hi","name":"Hindi","originalName":"हिंदी","locale":"hi"},{"tag":"he","name":"Hebrew","originalName":"עברית","locale":"he"},{"tag":"ha","name":"Hausa","originalName":"Hausa","locale":"ha-Latn-NG"},{"tag":"gu","name":"Gujarati","originalName":"ગુજરાતી","locale":"gu"},{"tag":"gsw","name":"Alsatian","originalName":"Elsässisch","locale":"gsw-FR"},{"tag":"gl","name":"Galician","originalName":"galego","locale":"gl"},{"tag":"gd","name":"Scottish Gaelic","originalName":"Gàidhlig","locale":"gd-GB"},{"tag":"ga","name":"Irish","originalName":"Gaeilge","locale":"ga-IE"},{"tag":"fy","name":"Frisian","originalName":"Frysk","locale":"fy-NL"},{"tag":"fr","name":"French","originalName":"français","locale":"fr"},{"tag":"fo","name":"Faroese","originalName":"føroyskt","locale":"fo"},{"tag":"fil","name":"Filipino","originalName":"Filipino","locale":"fil-PH"},{"tag":"fi","name":"Finnish","originalName":"suomi","locale":"fi"},{"tag":"fa","name":"Persian","originalName":"فارسى","locale":"fa"},{"tag":"eu","name":"Basque","originalName":"euskara","locale":"eu"},{"tag":"et","name":"Estonian","originalName":"eesti","locale":"et"},{"tag":"es","name":"Spanish","originalName":"español","locale":"es"},{"tag":"en","name":"English","originalName":"English","locale":"en"},{"tag":"el","name":"Greek","originalName":"ελληνικά","locale":"el"},{"tag":"dv","name":"Divehi","originalName":"ދިވެހިބަސް","locale":"dv"},{"tag":"dsb","name":"Lower Sorbian","originalName":"dolnoserbšćina","locale":"dsb-DE"},{"tag":"de","name":"German","originalName":"Deutsch","locale":"de"},{"tag":"da","name":"Danish","originalName":"dansk","locale":"da"},{"tag":"cy","name":"Welsh","originalName":"Cymraeg","locale":"cy-GB"},{"tag":"cs","name":"Czech","originalName":"čeština","locale":"cs"},{"tag":"co","name":"Corsican","originalName":"Corsu","locale":"co-FR"},{"tag":"ca","name":"Catalan","originalName":"català","locale":"ca"},{"tag":"bs","name":"Bosnian","originalName":"босански","locale":"bs-Cyrl-BA"},{"tag":"br","name":"Breton","originalName":"brezhoneg","locale":"br-FR"},{"tag":"bo","name":"Tibetan","originalName":"བོད་ཡིག","locale":"bo-CN"},{"tag":"bn","name":"Bengali","originalName":"বাংলা","locale":"bn-BD"},{"tag":"bg","name":"Bulgarian","originalName":"български","locale":"bg"},{"tag":"be","name":"Belarusian","originalName":"Беларускі","locale":"be"},{"tag":"ba","name":"Bashkir","originalName":"Башҡорт","locale":"ba-RU"},{"tag":"az","name":"Azeri","originalName":"Azərbaycanılı","locale":"az"},{"tag":"as","name":"Assamese","originalName":"অসমীয়া","locale":"as-IN"},{"tag":"arn","name":"Mapudungun","originalName":"Mapudungun","locale":"arn-CL"},{"tag":"ar","name":"Arabic","originalName":"العربية","locale":"ar"},{"tag":"am","name":"Amharic","originalName":"አማርኛ","locale":"am-ET"},{"tag":"af","name":"Afrikaans","originalName":"Afrikaans","locale":"af"},{"tag":"iv","name":"Invariant Language","originalName":"Invariant Language","locale":""},{"tag":"Two letter","name":"English","originalName":"Native","locale":"Culture .NET"}]`), gt = (e) => da.find((r) => r.tag === e)?.name, ma = (e) => {
|
|
2004
|
-
const [r, t] =
|
|
2004
|
+
const [r, t] = U(() => {
|
|
2005
2005
|
const a = localStorage.getItem(e);
|
|
2006
2006
|
return a ? JSON.parse(a) : {};
|
|
2007
2007
|
});
|
|
2008
|
-
return
|
|
2008
|
+
return pe(() => {
|
|
2009
2009
|
localStorage.setItem(e, JSON.stringify(r));
|
|
2010
|
-
}, [e, r]), (a, i) => (
|
|
2010
|
+
}, [e, r]), (a, i) => (pe(() => {
|
|
2011
2011
|
t((o) => ({ ...o, [a]: i }));
|
|
2012
2012
|
}, []), [
|
|
2013
2013
|
r[a],
|
|
2014
2014
|
(o) => t(typeof o == "function" ? (l) => ({ ...l, [a]: o(l[a]) }) : (l) => ({ ...l, [a]: o }))
|
|
2015
2015
|
]);
|
|
2016
|
-
}, ga =
|
|
2016
|
+
}, ga = kr`
|
|
2017
2017
|
position: relative;
|
|
2018
2018
|
grid-column: 1;
|
|
2019
2019
|
grid-row: 1;
|
|
@@ -2285,70 +2285,70 @@ const sa = (e, r) => {
|
|
|
2285
2285
|
setCurrentSubtitleTrack: v,
|
|
2286
2286
|
loadedTime: m,
|
|
2287
2287
|
isPlaying: h,
|
|
2288
|
-
tracks:
|
|
2289
|
-
isFullscreen:
|
|
2290
|
-
toggleFullscreen:
|
|
2288
|
+
tracks: N,
|
|
2289
|
+
isFullscreen: S,
|
|
2290
|
+
toggleFullscreen: y,
|
|
2291
2291
|
subtitleTrack: b,
|
|
2292
2292
|
pictureInPicture: x,
|
|
2293
2293
|
errors: _,
|
|
2294
|
-
customControls:
|
|
2295
|
-
...
|
|
2294
|
+
customControls: k,
|
|
2295
|
+
...O
|
|
2296
2296
|
}) => {
|
|
2297
|
-
const I =
|
|
2298
|
-
|
|
2299
|
-
|
|
2300
|
-
}, [
|
|
2301
|
-
|
|
2302
|
-
}, [
|
|
2303
|
-
if (
|
|
2304
|
-
i(0),
|
|
2297
|
+
const I = er(null), f = er(null), [M, R] = U(!1), { scrub: _e, value: ye } = mt({ ref: I }), Ie = Ir(() => document.pictureInPictureEnabled, []), [$e, Ce] = U(!1), q = ma("fkn-media-player"), [K, oe] = q("volume", 1), [ie, re] = q("muted", !1), { scrub: Ee, value: Q } = mt({ ref: f, defaultValue: K });
|
|
2298
|
+
pe(() => {
|
|
2299
|
+
$e || (Ce(!0), Te(void 0));
|
|
2300
|
+
}, [$e, _.length]), pe(() => {
|
|
2301
|
+
ye !== void 0 && a(ye * (e ?? 0));
|
|
2302
|
+
}, [ye]), pe(() => {
|
|
2303
|
+
if (ie) {
|
|
2304
|
+
i(0), re(ie), Q && oe(Q);
|
|
2305
2305
|
return;
|
|
2306
2306
|
}
|
|
2307
|
-
|
|
2308
|
-
}, [
|
|
2309
|
-
const
|
|
2307
|
+
Q !== void 0 && (i(Q ** 2), oe(Q), re(ie));
|
|
2308
|
+
}, [Q, ie]);
|
|
2309
|
+
const we = () => {
|
|
2310
2310
|
R(!1);
|
|
2311
|
-
},
|
|
2311
|
+
}, ee = (s) => {
|
|
2312
2312
|
s.currentTarget !== s.relatedTarget && s.relatedTarget !== null || R(!0);
|
|
2313
|
-
},
|
|
2314
|
-
|
|
2315
|
-
},
|
|
2316
|
-
v(
|
|
2317
|
-
},
|
|
2313
|
+
}, Ne = () => {
|
|
2314
|
+
re((s) => !s);
|
|
2315
|
+
}, Re = (s, E, W) => {
|
|
2316
|
+
v(E === void 0 ? E : W);
|
|
2317
|
+
}, Le = (s) => {
|
|
2318
2318
|
if (!o && s.relatedTarget === null) {
|
|
2319
2319
|
l((W) => !W);
|
|
2320
2320
|
return;
|
|
2321
2321
|
}
|
|
2322
2322
|
l(!1);
|
|
2323
|
-
const
|
|
2324
|
-
W.stopPropagation(), l(!0), document.removeEventListener("click",
|
|
2323
|
+
const E = (W) => {
|
|
2324
|
+
W.stopPropagation(), l(!0), document.removeEventListener("click", E);
|
|
2325
2325
|
};
|
|
2326
2326
|
setTimeout(() => {
|
|
2327
|
-
document.addEventListener("click",
|
|
2327
|
+
document.addEventListener("click", E);
|
|
2328
2328
|
}, 0);
|
|
2329
|
-
},
|
|
2329
|
+
}, Te = (s) => {
|
|
2330
2330
|
if (!u && s?.relatedTarget === null) {
|
|
2331
2331
|
d((W) => !W);
|
|
2332
2332
|
return;
|
|
2333
2333
|
}
|
|
2334
2334
|
d(!1);
|
|
2335
|
-
const
|
|
2336
|
-
W.stopPropagation(), d(!0), document.removeEventListener("click",
|
|
2335
|
+
const E = (W) => {
|
|
2336
|
+
W.stopPropagation(), d(!0), document.removeEventListener("click", E);
|
|
2337
2337
|
};
|
|
2338
2338
|
setTimeout(() => {
|
|
2339
|
-
document.addEventListener("click",
|
|
2339
|
+
document.addEventListener("click", E);
|
|
2340
2340
|
}, 0);
|
|
2341
|
-
},
|
|
2341
|
+
}, fe = ({ subtitleTrack: s }) => {
|
|
2342
2342
|
if (!s)
|
|
2343
|
-
return /* @__PURE__ */ p(
|
|
2343
|
+
return /* @__PURE__ */ p(Qe, { children: "Disabled" });
|
|
2344
2344
|
if (!s.title && !s.language)
|
|
2345
|
-
return /* @__PURE__ */ p(
|
|
2346
|
-
const
|
|
2347
|
-
return s.title ? /* @__PURE__ */
|
|
2345
|
+
return /* @__PURE__ */ p(Qe, { children: "Default" });
|
|
2346
|
+
const E = s.language === "jpn" ? "ja" : gt(s.language) ? gt(s.language) : s.language;
|
|
2347
|
+
return s.title ? /* @__PURE__ */ he(Qe, { children: [
|
|
2348
2348
|
s.title?.replace("subs", ""),
|
|
2349
|
-
|
|
2350
|
-
] }) : /* @__PURE__ */ p(
|
|
2351
|
-
},
|
|
2349
|
+
E ? `(${E})` : ""
|
|
2350
|
+
] }) : /* @__PURE__ */ p(Qe, { children: E });
|
|
2351
|
+
}, ke = Ir(
|
|
2352
2352
|
() => [
|
|
2353
2353
|
...new Set(
|
|
2354
2354
|
_.map(
|
|
@@ -2358,32 +2358,32 @@ const sa = (e, r) => {
|
|
|
2358
2358
|
].filter(Boolean).map((s) => /* @__PURE__ */ p("div", { className: "error-menu-message", children: s }, s)),
|
|
2359
2359
|
[_]
|
|
2360
2360
|
);
|
|
2361
|
-
|
|
2362
|
-
|
|
2363
|
-
}, [
|
|
2364
|
-
const s = (
|
|
2365
|
-
|
|
2361
|
+
pe(() => {
|
|
2362
|
+
Ze.rebuild();
|
|
2363
|
+
}, [N.length]), pe(() => {
|
|
2364
|
+
const s = (E) => {
|
|
2365
|
+
E.key === "f" && y(), E.key === "k" && t(), E.key === "m" && Ne();
|
|
2366
2366
|
};
|
|
2367
2367
|
return window.addEventListener("keydown", s), () => window.removeEventListener("keydown", s);
|
|
2368
|
-
}, [
|
|
2369
|
-
const [
|
|
2370
|
-
return /* @__PURE__ */
|
|
2368
|
+
}, [y, t, Ne]);
|
|
2369
|
+
const [se, z] = U(void 0);
|
|
2370
|
+
return /* @__PURE__ */ he("div", { css: ga, onMouseOut: ee, ...O, children: [
|
|
2371
2371
|
/* @__PURE__ */ p("div", { className: "preview" }),
|
|
2372
|
-
/* @__PURE__ */
|
|
2372
|
+
/* @__PURE__ */ he(
|
|
2373
2373
|
"div",
|
|
2374
2374
|
{
|
|
2375
2375
|
ref: I,
|
|
2376
2376
|
className: "progress-bar",
|
|
2377
2377
|
onMouseMove: (s) => {
|
|
2378
2378
|
const W = s.nativeEvent.offsetX / s.currentTarget.offsetWidth * (e ?? 0);
|
|
2379
|
-
|
|
2379
|
+
z(W);
|
|
2380
2380
|
},
|
|
2381
2381
|
onMouseOut: () => {
|
|
2382
|
-
I.current &&
|
|
2382
|
+
I.current && z(void 0);
|
|
2383
2383
|
},
|
|
2384
2384
|
children: [
|
|
2385
2385
|
/* @__PURE__ */ p("div", { className: "background-bar" }),
|
|
2386
|
-
|
|
2386
|
+
se ? /* @__PURE__ */ p("div", { className: "cursor-time", "data-tip": se, style: { left: `${1 / ((e ?? 0) / (se ?? 1)) * 100}%` }, children: new Date((se ?? 0) * 1e3).toISOString().substr(
|
|
2387
2387
|
(e ?? 0) >= 3600 ? 11 : 14,
|
|
2388
2388
|
(e ?? 0) >= 3600 ? 8 : 5
|
|
2389
2389
|
) }) : void 0,
|
|
@@ -2395,51 +2395,51 @@ const sa = (e, r) => {
|
|
|
2395
2395
|
} }),
|
|
2396
2396
|
/* @__PURE__ */ p("div", { className: "chapters" }),
|
|
2397
2397
|
/* @__PURE__ */ p("div", { className: "scrubber" }),
|
|
2398
|
-
/* @__PURE__ */ p("div", { className: "padding", onMouseDown:
|
|
2398
|
+
/* @__PURE__ */ p("div", { className: "padding", onMouseDown: _e })
|
|
2399
2399
|
]
|
|
2400
2400
|
}
|
|
2401
2401
|
),
|
|
2402
|
-
/* @__PURE__ */
|
|
2403
|
-
/* @__PURE__ */ p(
|
|
2404
|
-
/* @__PURE__ */ p("button", { className: "play-button", type: "button", "data-tip": !0, "data-for": "play-button-tooltip", onClick: t, children: h ? /* @__PURE__ */
|
|
2402
|
+
/* @__PURE__ */ he("div", { className: "controls", children: [
|
|
2403
|
+
/* @__PURE__ */ p(Ze, { id: "play-button-tooltip", effect: "solid", place: "top", children: h ? "Pause (k)" : "Play (k)" }),
|
|
2404
|
+
/* @__PURE__ */ p("button", { className: "play-button", type: "button", "data-tip": !0, "data-for": "play-button-tooltip", onClick: t, children: h ? /* @__PURE__ */ he("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", className: "feather feather-pause", children: [
|
|
2405
2405
|
/* @__PURE__ */ p("rect", { x: "6", y: "4", width: "4", height: "16" }),
|
|
2406
2406
|
/* @__PURE__ */ p("rect", { x: "14", y: "4", width: "4", height: "16" })
|
|
2407
2407
|
] }) : /* @__PURE__ */ p("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", className: "feather feather-play", children: /* @__PURE__ */ p("polygon", { points: "5 3 19 12 5 21 5 3" }) }) }),
|
|
2408
|
-
/* @__PURE__ */
|
|
2409
|
-
/* @__PURE__ */ p(
|
|
2410
|
-
/* @__PURE__ */ p("button", { className: "mute-button", "data-tip": !0, "data-for": "mute-button-tooltip", onClick:
|
|
2411
|
-
/* @__PURE__ */ p("div", { ref: f, className: `volume-panel${
|
|
2408
|
+
/* @__PURE__ */ he("div", { className: "volume-area", onMouseOver: we, children: [
|
|
2409
|
+
/* @__PURE__ */ p(Ze, { id: "mute-button-tooltip", effect: "solid", place: "top", children: ie ? "Unmute (m)" : "Mute (m)" }),
|
|
2410
|
+
/* @__PURE__ */ p("button", { className: "mute-button", "data-tip": !0, "data-for": "mute-button-tooltip", onClick: Ne, children: ie ? /* @__PURE__ */ p(Jr, {}) : (K ?? 0) > 0.66 ? /* @__PURE__ */ p(Yt, {}) : (K ?? 0) > 0.33 ? /* @__PURE__ */ p(Ut, {}) : (K ?? 0) > 0 ? /* @__PURE__ */ p(Wt, {}) : /* @__PURE__ */ p(Jr, {}) }),
|
|
2411
|
+
/* @__PURE__ */ p("div", { ref: f, className: `volume-panel${M ? "" : " volume-control-hover"}`, onMouseDown: Ee, children: /* @__PURE__ */ p("div", { className: "slider", children: /* @__PURE__ */ p("div", { className: "slider-handle", style: { left: `${(K ?? 0) * 100}%` } }) }) })
|
|
2412
2412
|
] }),
|
|
2413
|
-
/* @__PURE__ */
|
|
2413
|
+
/* @__PURE__ */ he("div", { className: "time", children: [
|
|
2414
2414
|
/* @__PURE__ */ p("span", { children: new Date((r ?? 0) * 1e3).toISOString().substr(11, 8) }),
|
|
2415
2415
|
/* @__PURE__ */ p("span", { children: " / " }),
|
|
2416
2416
|
/* @__PURE__ */ p("span", { children: e ? new Date(e * 1e3).toISOString().substr(11, 8) : "" })
|
|
2417
2417
|
] }),
|
|
2418
|
-
/* @__PURE__ */ p("div", { className: "custom-controls", children:
|
|
2419
|
-
/* @__PURE__ */ p("div", { className: "error-area", children:
|
|
2420
|
-
/* @__PURE__ */ p("div", { className: `error-menu ${u ? "hide" : ""}`, children: u ? null :
|
|
2421
|
-
/* @__PURE__ */
|
|
2418
|
+
/* @__PURE__ */ p("div", { className: "custom-controls", children: k?.length ? k.map((s, E) => /* @__PURE__ */ p(s, {}, E)) : null }),
|
|
2419
|
+
/* @__PURE__ */ p("div", { className: "error-area", children: ke.length ? /* @__PURE__ */ he(Qe, { children: [
|
|
2420
|
+
/* @__PURE__ */ p("div", { className: `error-menu ${u ? "hide" : ""}`, children: u ? null : ke }),
|
|
2421
|
+
/* @__PURE__ */ he("div", { className: "error-menu-button", onClick: Te, children: [
|
|
2422
2422
|
/* @__PURE__ */ p(qt, {}),
|
|
2423
2423
|
"Error"
|
|
2424
2424
|
] })
|
|
2425
2425
|
] }) : null }),
|
|
2426
|
-
/* @__PURE__ */ p(
|
|
2427
|
-
/* @__PURE__ */ p("div", { className: "subtitle-area", children:
|
|
2428
|
-
/* @__PURE__ */ p("div", { className: `subtitle-menu ${o ? "hide" : ""}`, children: o ? null : [...
|
|
2429
|
-
(s,
|
|
2426
|
+
/* @__PURE__ */ p(Ze, { id: "subtitle-button-tooltip", globalEventOff: "click", effect: "solid", place: "top", disable: !o, children: "Subtitles" }),
|
|
2427
|
+
/* @__PURE__ */ p("div", { className: "subtitle-area", children: N.length ? /* @__PURE__ */ he(Qe, { children: [
|
|
2428
|
+
/* @__PURE__ */ p("div", { className: `subtitle-menu ${o ? "hide" : ""}`, children: o ? null : [...N, void 0].map(
|
|
2429
|
+
(s, E) => /* @__PURE__ */ p("button", { onClick: (W) => Re(W, s, E), children: /* @__PURE__ */ p(fe, { subtitleTrack: s }) }, s ? E : "disabled")
|
|
2430
2430
|
) }),
|
|
2431
|
-
/* @__PURE__ */ p("button", { className: "subtitle-menu-button", "data-tip": !0, "data-for": "subtitle-button-tooltip", onClick:
|
|
2431
|
+
/* @__PURE__ */ p("button", { className: "subtitle-menu-button", "data-tip": !0, "data-for": "subtitle-button-tooltip", onClick: Le, children: /* @__PURE__ */ p(fe, { subtitleTrack: b }) })
|
|
2432
2432
|
] }) : null }),
|
|
2433
|
-
/* @__PURE__ */ p(
|
|
2434
|
-
|
|
2433
|
+
/* @__PURE__ */ p(Ze, { id: "pip-button-tooltip", effect: "solid", place: "top", children: "Picture in Picture" }),
|
|
2434
|
+
Ie ? /* @__PURE__ */ p("button", { className: "picture-in-picture", "data-tip": !0, "data-for": "pip-button-tooltip", onClick: x, children: /* @__PURE__ */ he("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [
|
|
2435
2435
|
/* @__PURE__ */ p("rect", { x: "2", y: "3", width: "21", height: "14", rx: "2", ry: "2" }),
|
|
2436
2436
|
/* @__PURE__ */ p("rect", { x: "12.5", y: "8.5", width: "8", height: "6", rx: "2", ry: "2" })
|
|
2437
2437
|
] }) }) : null,
|
|
2438
|
-
/* @__PURE__ */ p(
|
|
2439
|
-
/* @__PURE__ */ p("button", { className: "fullscreen", "data-tip": !0, "data-for": "fullscreen-button-tooltip", onClick:
|
|
2438
|
+
/* @__PURE__ */ p(Ze, { id: "fullscreen-button-tooltip", effect: "solid", place: "top", children: S ? "Exit full screen (f)" : "Full screen (f)" }),
|
|
2439
|
+
/* @__PURE__ */ p("button", { className: "fullscreen", "data-tip": !0, "data-for": "fullscreen-button-tooltip", onClick: y, children: S ? /* @__PURE__ */ p("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", className: "feather feather-minimize", children: /* @__PURE__ */ p("path", { d: "M8 3v3a2 2 0 0 1-2 2H3m18 0h-3a2 2 0 0 1-2-2V3m0 18v-3a2 2 0 0 1 2-2h3M3 16h3a2 2 0 0 1 2 2v3" }) }) : /* @__PURE__ */ p("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", className: "feather feather-maximize", children: /* @__PURE__ */ p("path", { d: "M8 3H5a2 2 0 0 0-2 2v3m18 0V5a2 2 0 0 0-2-2h-3m0 18h3a2 2 0 0 0 2-2v-3M3 16v3a2 2 0 0 0 2 2h3" }) }) })
|
|
2440
2440
|
] })
|
|
2441
2441
|
] });
|
|
2442
|
-
}, pa =
|
|
2442
|
+
}, pa = kr`
|
|
2443
2443
|
--background-padding: 2rem;
|
|
2444
2444
|
display: grid;
|
|
2445
2445
|
grid-template-rows: 1fr;
|
|
@@ -2460,114 +2460,115 @@ overflow: hidden;
|
|
|
2460
2460
|
}
|
|
2461
2461
|
`, va = ({
|
|
2462
2462
|
customOverlay: e,
|
|
2463
|
-
|
|
2464
|
-
|
|
2465
|
-
|
|
2466
|
-
|
|
2467
|
-
|
|
2468
|
-
|
|
2469
|
-
|
|
2470
|
-
|
|
2471
|
-
|
|
2472
|
-
|
|
2473
|
-
|
|
2474
|
-
|
|
2475
|
-
|
|
2476
|
-
|
|
2477
|
-
|
|
2478
|
-
|
|
2479
|
-
|
|
2480
|
-
|
|
2481
|
-
|
|
2482
|
-
|
|
2463
|
+
publicPath: r,
|
|
2464
|
+
isPlaying: t,
|
|
2465
|
+
loading: a,
|
|
2466
|
+
duration: i,
|
|
2467
|
+
loadedTime: o,
|
|
2468
|
+
currentTime: l,
|
|
2469
|
+
pictureInPicture: u,
|
|
2470
|
+
fullscreen: d,
|
|
2471
|
+
play: v,
|
|
2472
|
+
seek: m,
|
|
2473
|
+
getVolume: h,
|
|
2474
|
+
setVolume: N,
|
|
2475
|
+
attachments: S,
|
|
2476
|
+
tracks: y,
|
|
2477
|
+
video: b,
|
|
2478
|
+
errors: x,
|
|
2479
|
+
customControls: _,
|
|
2480
|
+
libassWorkerUrl: k,
|
|
2481
|
+
wasmUrl: O,
|
|
2482
|
+
needsInitialInteraction: I,
|
|
2483
|
+
...f
|
|
2483
2484
|
}) => {
|
|
2484
|
-
const [
|
|
2485
|
-
() =>
|
|
2486
|
-
[
|
|
2487
|
-
), [Ne,
|
|
2488
|
-
|
|
2489
|
-
const
|
|
2490
|
-
|
|
2485
|
+
const [M, R] = U(), [_e, ye] = U(!1), [Ie, $e] = U(!1), [Ce, q] = U(!1), K = er(), [oe, ie] = U(!0), [re, Ee] = U(), [Q, we] = U(), ee = Ir(
|
|
2486
|
+
() => Q !== void 0 ? y[Q] : void 0,
|
|
2487
|
+
[Q, Q !== void 0 && y[Q]?.data]
|
|
2488
|
+
), [Ne, Re] = U(!0), Le = (z) => {
|
|
2489
|
+
q(!1), K.current && clearInterval(K.current);
|
|
2490
|
+
const de = setTimeout(() => {
|
|
2491
|
+
q(!0);
|
|
2491
2492
|
}, 3e3);
|
|
2492
|
-
|
|
2493
|
+
K.current = de;
|
|
2493
2494
|
};
|
|
2494
|
-
|
|
2495
|
+
pe(() => {
|
|
2495
2496
|
setTimeout(() => {
|
|
2496
|
-
|
|
2497
|
+
q(!0);
|
|
2497
2498
|
}, 3e3);
|
|
2498
2499
|
}, []);
|
|
2499
|
-
const
|
|
2500
|
-
if (!
|
|
2501
|
-
|
|
2500
|
+
const Te = (z) => {
|
|
2501
|
+
if (!M?.parentElement?.parentElement?.contains(z?.relatedTarget)) {
|
|
2502
|
+
q(!0);
|
|
2502
2503
|
return;
|
|
2503
2504
|
}
|
|
2504
|
-
|
|
2505
|
-
},
|
|
2506
|
-
|
|
2507
|
-
},
|
|
2508
|
-
!
|
|
2505
|
+
z.currentTarget.parentElement !== z.relatedTarget && z.relatedTarget !== null || q(!0);
|
|
2506
|
+
}, fe = () => {
|
|
2507
|
+
oe && v();
|
|
2508
|
+
}, ke = () => {
|
|
2509
|
+
!M || !re || ($e((z) => !z), d());
|
|
2509
2510
|
};
|
|
2510
|
-
|
|
2511
|
-
if (!
|
|
2511
|
+
pe(() => {
|
|
2512
|
+
if (!b.current || !M || re || !ee?.data || !S)
|
|
2512
2513
|
return;
|
|
2513
|
-
const
|
|
2514
|
-
|
|
2515
|
-
|
|
2516
|
-
]),
|
|
2517
|
-
video:
|
|
2518
|
-
canvas:
|
|
2514
|
+
const z = S.map(({ filename: Oe, data: s }) => [
|
|
2515
|
+
Oe.toLowerCase().replaceAll("-", " ").split(".").at(0),
|
|
2516
|
+
s
|
|
2517
|
+
]), de = new zt({
|
|
2518
|
+
video: b.current,
|
|
2519
|
+
canvas: M,
|
|
2519
2520
|
subContent: ee.data,
|
|
2520
|
-
fonts:
|
|
2521
|
-
availableFonts: { ...Object.fromEntries(
|
|
2522
|
-
workerUrl:
|
|
2521
|
+
fonts: z.filter(Boolean).map(([, Oe]) => Oe),
|
|
2522
|
+
availableFonts: { ...Object.fromEntries(z), "liberation sans": `${r}default.woff2` },
|
|
2523
|
+
workerUrl: k,
|
|
2523
2524
|
// Link to WebAssembly-based file "libassjs-worker.js",
|
|
2524
|
-
modernWasmUrl:
|
|
2525
|
+
modernWasmUrl: O
|
|
2525
2526
|
});
|
|
2526
|
-
Ee(
|
|
2527
|
-
}, [
|
|
2528
|
-
|
|
2529
|
-
}, [
|
|
2530
|
-
if (!
|
|
2527
|
+
Ee(de);
|
|
2528
|
+
}, [M, S, ee?.data]), pe(() => {
|
|
2529
|
+
y.length && we(0);
|
|
2530
|
+
}, [y.length]), pe(() => {
|
|
2531
|
+
if (!re)
|
|
2531
2532
|
return;
|
|
2532
2533
|
if (!ee) {
|
|
2533
|
-
|
|
2534
|
+
re.freeTrack();
|
|
2534
2535
|
return;
|
|
2535
2536
|
}
|
|
2536
|
-
|
|
2537
|
-
}, [
|
|
2538
|
-
const
|
|
2539
|
-
|
|
2537
|
+
re.setTrack(ee.data), !(!M?.parentElement || _e) && ye(!0);
|
|
2538
|
+
}, [re, ee, _e]);
|
|
2539
|
+
const se = (z) => {
|
|
2540
|
+
z && R(z);
|
|
2540
2541
|
};
|
|
2541
|
-
return /* @__PURE__ */
|
|
2542
|
-
/* @__PURE__ */ p(fa, { needsInitialInteraction:
|
|
2542
|
+
return /* @__PURE__ */ he("div", { ...f, css: pa, onMouseMove: Le, onMouseOut: Te, className: `chrome ${f.className ?? ""} ${Ce ? "hide" : ""}`, children: [
|
|
2543
|
+
/* @__PURE__ */ p(fa, { needsInitialInteraction: I, loading: a, togglePlay: fe, setCanvasRef: se }),
|
|
2543
2544
|
e,
|
|
2544
2545
|
/* @__PURE__ */ p(
|
|
2545
2546
|
ha,
|
|
2546
2547
|
{
|
|
2547
|
-
className: `bottom ${
|
|
2548
|
-
toggleFullscreen:
|
|
2549
|
-
togglePlay:
|
|
2550
|
-
isFullscreen:
|
|
2551
|
-
pictureInPicture:
|
|
2552
|
-
seek:
|
|
2553
|
-
setCurrentSubtitleTrack:
|
|
2554
|
-
isSubtitleMenuHidden:
|
|
2555
|
-
setIsSubtitleMenuHidden:
|
|
2548
|
+
className: `bottom ${I ? "hide" : ""}`,
|
|
2549
|
+
toggleFullscreen: ke,
|
|
2550
|
+
togglePlay: fe,
|
|
2551
|
+
isFullscreen: Ie,
|
|
2552
|
+
pictureInPicture: u,
|
|
2553
|
+
seek: m,
|
|
2554
|
+
setCurrentSubtitleTrack: we,
|
|
2555
|
+
isSubtitleMenuHidden: oe,
|
|
2556
|
+
setIsSubtitleMenuHidden: ie,
|
|
2556
2557
|
isErrorMenuHidden: Ne,
|
|
2557
|
-
setIsErrorMenuHidden:
|
|
2558
|
-
setVolume:
|
|
2558
|
+
setIsErrorMenuHidden: Re,
|
|
2559
|
+
setVolume: N,
|
|
2559
2560
|
subtitleTrack: ee,
|
|
2560
|
-
tracks:
|
|
2561
|
-
currentTime:
|
|
2562
|
-
duration:
|
|
2563
|
-
isPlaying:
|
|
2564
|
-
loadedTime:
|
|
2565
|
-
errors:
|
|
2566
|
-
customControls:
|
|
2561
|
+
tracks: y,
|
|
2562
|
+
currentTime: l,
|
|
2563
|
+
duration: i,
|
|
2564
|
+
isPlaying: t,
|
|
2565
|
+
loadedTime: o,
|
|
2566
|
+
errors: x,
|
|
2567
|
+
customControls: _
|
|
2567
2568
|
}
|
|
2568
2569
|
)
|
|
2569
2570
|
] });
|
|
2570
|
-
}, ba = 25e5, ya =
|
|
2571
|
+
}, ba = 25e5, ya = kr`
|
|
2571
2572
|
display: grid;
|
|
2572
2573
|
justify-content: center;
|
|
2573
2574
|
background-color: #111;
|
|
@@ -2587,7 +2588,7 @@ overflow: hidden;
|
|
|
2587
2588
|
grid-column: 1;
|
|
2588
2589
|
grid-row: 1;
|
|
2589
2590
|
}
|
|
2590
|
-
`,
|
|
2591
|
+
`, Ca = pt(({
|
|
2591
2592
|
customOverlay: e,
|
|
2592
2593
|
baseBufferSize: r = ba,
|
|
2593
2594
|
size: t,
|
|
@@ -2600,185 +2601,186 @@ overflow: hidden;
|
|
|
2600
2601
|
libassWorkerUrl: v,
|
|
2601
2602
|
makeTransmuxer: m = Bt
|
|
2602
2603
|
}, h) => {
|
|
2603
|
-
const [
|
|
2604
|
-
|
|
2605
|
-
|
|
2606
|
-
}, [a]),
|
|
2604
|
+
const [N, S] = U(!0), y = er(null), b = er(), [x, _] = U(), [k, O] = U(!(b?.current?.paused ?? !0)), [I, f] = U(0), [M, R] = U(void 0), [_e, ye] = U([]), [Ie, $e] = U([]), [Ce, q] = U(), [K, oe] = U([0, 0]), [ie, re] = U(!1), Ee = er(a);
|
|
2605
|
+
pe(() => {
|
|
2606
|
+
Ee.current = a;
|
|
2607
|
+
}, [a]), pe(() => {
|
|
2607
2608
|
if (!t || !x)
|
|
2608
2609
|
return;
|
|
2609
|
-
let
|
|
2610
|
+
let E, W;
|
|
2610
2611
|
return (async () => {
|
|
2611
|
-
|
|
2612
|
+
E = m({
|
|
2612
2613
|
publicPath: o,
|
|
2613
2614
|
workerUrl: u,
|
|
2614
2615
|
workerOptions: d,
|
|
2615
2616
|
bufferSize: r,
|
|
2616
2617
|
length: t,
|
|
2617
|
-
getStream: (C,
|
|
2618
|
-
(
|
|
2618
|
+
getStream: (C, P) => Ee.current(C, P ? Math.min(C + P, t) - 1 : void 0).then(
|
|
2619
|
+
(G) => P ? G.body : la(3)(
|
|
2619
2620
|
ca(r)(
|
|
2620
|
-
|
|
2621
|
+
G.body
|
|
2621
2622
|
)
|
|
2622
2623
|
)
|
|
2623
2624
|
),
|
|
2624
|
-
subtitle: (C,
|
|
2625
|
-
|
|
2626
|
-
(
|
|
2625
|
+
subtitle: (C, P, G) => {
|
|
2626
|
+
ye(
|
|
2627
|
+
(H) => H.find(({ title: le }) => le === C) ? H.map((le) => le.title === C ? { title: C, language: P, data: G } : le) : [...H, { title: C, language: P, data: G }]
|
|
2627
2628
|
);
|
|
2628
2629
|
},
|
|
2629
|
-
attachment: (C,
|
|
2630
|
-
|
|
2631
|
-
...
|
|
2632
|
-
{ filename: C, mimetype:
|
|
2630
|
+
attachment: (C, P, G) => {
|
|
2631
|
+
M?.find(({ filename: H }) => C === H) || R((H) => [
|
|
2632
|
+
...H ?? [],
|
|
2633
|
+
{ filename: C, mimetype: P, data: new Uint8Array(G) }
|
|
2633
2634
|
]);
|
|
2634
2635
|
}
|
|
2635
2636
|
});
|
|
2636
|
-
const
|
|
2637
|
-
if (!
|
|
2637
|
+
const me = await E, je = await me.init();
|
|
2638
|
+
if (!je)
|
|
2638
2639
|
throw new Error("No header chunk found after remuxer init");
|
|
2639
|
-
const
|
|
2640
|
-
|
|
2640
|
+
const Ye = await me.getInfo(), ar = Ye.input.duration / 1e6;
|
|
2641
|
+
q(ar), x.addEventListener("error", (C) => {
|
|
2641
2642
|
console.error(C.target?.error);
|
|
2642
2643
|
});
|
|
2643
|
-
const
|
|
2644
|
-
x.src = URL.createObjectURL(
|
|
2645
|
-
const
|
|
2646
|
-
(C) =>
|
|
2644
|
+
const De = new MediaSource();
|
|
2645
|
+
x.src = URL.createObjectURL(De);
|
|
2646
|
+
const ge = await new Promise(
|
|
2647
|
+
(C) => De.addEventListener(
|
|
2647
2648
|
"sourceopen",
|
|
2648
2649
|
() => {
|
|
2649
|
-
const
|
|
2650
|
-
|
|
2650
|
+
const P = De.addSourceBuffer(`video/mp4; codecs="${Ye.input.video_mime_type},${Ye.input.audio_mime_type}"`);
|
|
2651
|
+
De.duration = ar, P.mode = "segments", C(P);
|
|
2651
2652
|
},
|
|
2652
2653
|
{ once: !0 }
|
|
2653
2654
|
)
|
|
2654
|
-
),
|
|
2655
|
-
const
|
|
2656
|
-
C(
|
|
2657
|
-
},
|
|
2658
|
-
C(
|
|
2659
|
-
},
|
|
2660
|
-
console.error(
|
|
2661
|
-
},
|
|
2662
|
-
|
|
2655
|
+
), gr = new Gt({ concurrency: 1 }), Ue = (C, P) => {
|
|
2656
|
+
const G = (Y) => {
|
|
2657
|
+
C(Y), B();
|
|
2658
|
+
}, H = (Y) => {
|
|
2659
|
+
C(Y), B();
|
|
2660
|
+
}, le = (Y) => {
|
|
2661
|
+
console.error(Y), P(Y), B();
|
|
2662
|
+
}, B = () => {
|
|
2663
|
+
ge.removeEventListener("updateend", G), ge.removeEventListener("abort", H), ge.removeEventListener("error", le);
|
|
2663
2664
|
};
|
|
2664
|
-
|
|
2665
|
-
},
|
|
2666
|
-
() => new Promise((
|
|
2667
|
-
|
|
2665
|
+
ge.addEventListener("updateend", G, { once: !0 }), ge.addEventListener("abort", H, { once: !0 }), ge.addEventListener("error", le, { once: !0 });
|
|
2666
|
+
}, We = (C) => gr.add(
|
|
2667
|
+
() => new Promise((P, G) => {
|
|
2668
|
+
Ue(P, G), ge.appendBuffer(C);
|
|
2668
2669
|
})
|
|
2669
|
-
),
|
|
2670
|
-
() => new Promise((
|
|
2671
|
-
|
|
2670
|
+
), hr = async (C, P) => gr.add(
|
|
2671
|
+
() => new Promise((G, H) => {
|
|
2672
|
+
Ue(G, H), ge.remove(C, P);
|
|
2672
2673
|
})
|
|
2673
|
-
),
|
|
2674
|
-
index:
|
|
2675
|
-
start:
|
|
2676
|
-
end:
|
|
2674
|
+
), or = () => Array(ge.buffered.length).fill(void 0).map((C, P) => ({
|
|
2675
|
+
index: P,
|
|
2676
|
+
start: ge.buffered.start(P),
|
|
2677
|
+
end: ge.buffered.end(P)
|
|
2677
2678
|
}));
|
|
2678
2679
|
x.addEventListener("canplaythrough", () => {
|
|
2679
2680
|
x.playbackRate = 1, x.play();
|
|
2680
2681
|
}, { once: !0 });
|
|
2681
|
-
let
|
|
2682
|
-
const
|
|
2683
|
-
await
|
|
2684
|
-
let
|
|
2685
|
-
const
|
|
2686
|
-
if (
|
|
2682
|
+
let ce = [];
|
|
2683
|
+
const Ve = 1, Rr = 15;
|
|
2684
|
+
await We(je.buffer);
|
|
2685
|
+
let qe = !1;
|
|
2686
|
+
const Ge = async () => {
|
|
2687
|
+
if (qe)
|
|
2687
2688
|
throw new Error("end");
|
|
2688
|
-
const C = await
|
|
2689
|
-
return C.isTrailer && (
|
|
2689
|
+
const C = await me.read();
|
|
2690
|
+
return C.isTrailer && (qe = !0), ce = [...ce, C], C;
|
|
2690
2691
|
};
|
|
2691
|
-
let
|
|
2692
|
-
const
|
|
2693
|
-
if (
|
|
2692
|
+
let Be = !1;
|
|
2693
|
+
const Ke = sa(250, async () => {
|
|
2694
|
+
if (Be)
|
|
2694
2695
|
return;
|
|
2695
|
-
const { currentTime: C } = x,
|
|
2696
|
-
|
|
2697
|
-
|
|
2698
|
-
|
|
2699
|
-
|
|
2700
|
-
await Ge(
|
|
2696
|
+
const { currentTime: C } = x, P = ce.findIndex(({ pts: ne, duration: Je }) => ne <= C && ne + Je >= C), G = Math.max(0, P - Ve), H = () => {
|
|
2697
|
+
const ne = ce.at(-1);
|
|
2698
|
+
return ne ? ne.pts + ne.duration : 0;
|
|
2699
|
+
};
|
|
2700
|
+
for (; H() < C + Rr; ) {
|
|
2701
|
+
const ne = await Ge();
|
|
2702
|
+
await We(ne.buffer);
|
|
2701
2703
|
}
|
|
2702
|
-
|
|
2703
|
-
const
|
|
2704
|
-
if (!
|
|
2704
|
+
G && (ce = ce.slice(G));
|
|
2705
|
+
const le = or(), B = ce.at(0), Y = ce.at(-1);
|
|
2706
|
+
if (!B || !Y || B === Y)
|
|
2705
2707
|
return;
|
|
2706
|
-
const
|
|
2707
|
-
for (const { start:
|
|
2708
|
-
|
|
2709
|
-
|
|
2710
|
-
|
|
2708
|
+
const He = B.pts;
|
|
2709
|
+
for (const { start: ne, end: Je } of le)
|
|
2710
|
+
ce.findIndex(({ pts: pr, duration: ir }) => ne <= pr + ir / 2 && pr + ir / 2 <= Je) === -1 ? await hr(ne, Je) : ne < He && await hr(
|
|
2711
|
+
ne,
|
|
2712
|
+
He
|
|
2711
2713
|
);
|
|
2712
2714
|
});
|
|
2713
|
-
let
|
|
2714
|
-
const
|
|
2715
|
+
let ze;
|
|
2716
|
+
const Tr = ia(250, async (C) => {
|
|
2715
2717
|
try {
|
|
2716
|
-
|
|
2717
|
-
const
|
|
2718
|
-
|
|
2719
|
-
} catch (
|
|
2720
|
-
if (
|
|
2721
|
-
throw
|
|
2718
|
+
qe = !1, ze === void 0 && (ze = x.paused), Be = !0, ce = [], await me.seek(C);
|
|
2719
|
+
const P = await Ge();
|
|
2720
|
+
ge.timestampOffset = P.pts, await We(P.buffer), ze === !1 && await x.play(), Be = !1, await Ke(), ze === !1 && await x.play(), ze = void 0;
|
|
2721
|
+
} catch (P) {
|
|
2722
|
+
if (P.message !== "exit")
|
|
2723
|
+
throw P;
|
|
2722
2724
|
}
|
|
2723
|
-
}),
|
|
2724
|
-
|
|
2725
|
-
|
|
2725
|
+
}), Or = await Ge();
|
|
2726
|
+
We(Or.buffer), x.addEventListener("timeupdate", () => {
|
|
2727
|
+
Ke();
|
|
2726
2728
|
}), x.addEventListener("waiting", () => {
|
|
2727
|
-
|
|
2729
|
+
Ke();
|
|
2728
2730
|
}), x.addEventListener("seeking", (C) => {
|
|
2729
|
-
|
|
2730
|
-
}),
|
|
2731
|
-
const C =
|
|
2732
|
-
if (!
|
|
2731
|
+
Tr(x.currentTime);
|
|
2732
|
+
}), Ke(), W = window.setInterval(() => {
|
|
2733
|
+
const C = or(), P = C.sort(({ start: B }, { start: Y }) => B - Y).at(0), G = C.sort(({ end: B }, { end: Y }) => B - Y).at(-1);
|
|
2734
|
+
if (!P || !G)
|
|
2733
2735
|
return;
|
|
2734
|
-
let
|
|
2735
|
-
|
|
2736
|
+
let H = ce.filter(({ pts: B, duration: Y }) => B + Y / 2 > P.start).sort(({ pts: B }, { pts: Y }) => B - Y).at(0)?.pts, le = ce.filter(({ pts: B, duration: Y }) => B + Y / 2 < G.end).sort(({ pts: B }, { pts: Y }) => B - Y).at(-1)?.pts;
|
|
2737
|
+
H === void 0 || le === void 0 || oe([H, le]);
|
|
2736
2738
|
}, 200);
|
|
2737
2739
|
})(), () => {
|
|
2738
|
-
|
|
2740
|
+
E.then((me) => me.destroy(!0)), window.clearInterval(W);
|
|
2739
2741
|
};
|
|
2740
2742
|
}, [t, x]);
|
|
2741
|
-
const
|
|
2742
|
-
|
|
2743
|
-
}, [
|
|
2744
|
-
|
|
2745
|
-
},
|
|
2746
|
-
b.current && (
|
|
2747
|
-
},
|
|
2748
|
-
x && (x.currentTime =
|
|
2749
|
-
},
|
|
2750
|
-
|
|
2751
|
-
},
|
|
2752
|
-
|
|
2753
|
-
},
|
|
2743
|
+
const Q = (E) => {
|
|
2744
|
+
S(!0);
|
|
2745
|
+
}, [we, ee] = U(!1), Ne = (E) => {
|
|
2746
|
+
ee(!1);
|
|
2747
|
+
}, Re = (E) => {
|
|
2748
|
+
b.current && (ee(!0), f(b.current?.currentTime ?? 0));
|
|
2749
|
+
}, Le = (E) => {
|
|
2750
|
+
x && (x.currentTime = E, ee(!0));
|
|
2751
|
+
}, Te = (E) => {
|
|
2752
|
+
we || (f(b.current?.currentTime ?? 0), S(!1));
|
|
2753
|
+
}, fe = (E) => (W) => {
|
|
2754
|
+
O(E);
|
|
2755
|
+
}, ke = () => {
|
|
2754
2756
|
if (document.pictureInPictureElement)
|
|
2755
2757
|
return document.exitPictureInPicture();
|
|
2756
2758
|
b.current?.requestPictureInPicture();
|
|
2757
|
-
},
|
|
2759
|
+
}, se = () => {
|
|
2758
2760
|
if (document.fullscreenElement)
|
|
2759
2761
|
return document.exitFullscreen();
|
|
2760
|
-
|
|
2761
|
-
},
|
|
2762
|
-
|
|
2763
|
-
},
|
|
2764
|
-
b.current && (b.current.volume =
|
|
2765
|
-
},
|
|
2762
|
+
y.current?.requestFullscreen();
|
|
2763
|
+
}, z = async () => {
|
|
2764
|
+
re(!1), b.current?.paused ? await b.current?.play() : await b.current?.pause();
|
|
2765
|
+
}, de = (E) => {
|
|
2766
|
+
b.current && (b.current.volume = E);
|
|
2767
|
+
}, Oe = () => {
|
|
2766
2768
|
if (b.current)
|
|
2767
2769
|
return b.current.volume;
|
|
2768
2770
|
};
|
|
2769
|
-
return /* @__PURE__ */
|
|
2771
|
+
return /* @__PURE__ */ he("div", { css: ya, ref: y, children: [
|
|
2770
2772
|
/* @__PURE__ */ p(
|
|
2771
2773
|
"video",
|
|
2772
2774
|
{
|
|
2773
|
-
ref: (
|
|
2774
|
-
typeof h == "function" && h(
|
|
2775
|
+
ref: (E) => {
|
|
2776
|
+
typeof h == "function" && h(E), h && "current" in h && (h.current = E), b.current = E ?? void 0, _(b.current);
|
|
2775
2777
|
},
|
|
2776
|
-
onWaiting:
|
|
2777
|
-
onSeeking:
|
|
2778
|
-
onSeeked:
|
|
2779
|
-
onTimeUpdate:
|
|
2780
|
-
onPlay:
|
|
2781
|
-
onPause:
|
|
2778
|
+
onWaiting: Q,
|
|
2779
|
+
onSeeking: Re,
|
|
2780
|
+
onSeeked: Ne,
|
|
2781
|
+
onTimeUpdate: Te,
|
|
2782
|
+
onPlay: fe(!0),
|
|
2783
|
+
onPause: fe(!1)
|
|
2782
2784
|
}
|
|
2783
2785
|
),
|
|
2784
2786
|
/* @__PURE__ */ p(
|
|
@@ -2786,22 +2788,23 @@ overflow: hidden;
|
|
|
2786
2788
|
{
|
|
2787
2789
|
className: "chrome",
|
|
2788
2790
|
customOverlay: e,
|
|
2789
|
-
|
|
2791
|
+
publicPath: o,
|
|
2792
|
+
isPlaying: k,
|
|
2790
2793
|
video: b,
|
|
2791
|
-
needsInitialInteraction:
|
|
2792
|
-
loading:
|
|
2793
|
-
duration:
|
|
2794
|
+
needsInitialInteraction: ie,
|
|
2795
|
+
loading: N,
|
|
2796
|
+
duration: Ce,
|
|
2794
2797
|
currentTime: I,
|
|
2795
|
-
loadedTime:
|
|
2796
|
-
pictureInPicture:
|
|
2797
|
-
fullscreen:
|
|
2798
|
-
play:
|
|
2799
|
-
seek:
|
|
2800
|
-
getVolume:
|
|
2801
|
-
setVolume:
|
|
2802
|
-
attachments:
|
|
2803
|
-
tracks:
|
|
2804
|
-
errors:
|
|
2798
|
+
loadedTime: K,
|
|
2799
|
+
pictureInPicture: ke,
|
|
2800
|
+
fullscreen: se,
|
|
2801
|
+
play: z,
|
|
2802
|
+
seek: Le,
|
|
2803
|
+
getVolume: Oe,
|
|
2804
|
+
setVolume: de,
|
|
2805
|
+
attachments: M,
|
|
2806
|
+
tracks: _e,
|
|
2807
|
+
errors: Ie,
|
|
2805
2808
|
customControls: i,
|
|
2806
2809
|
libassWorkerUrl: v,
|
|
2807
2810
|
wasmUrl: l
|
|
@@ -2810,5 +2813,5 @@ overflow: hidden;
|
|
|
2810
2813
|
] });
|
|
2811
2814
|
});
|
|
2812
2815
|
export {
|
|
2813
|
-
|
|
2816
|
+
Ca as default
|
|
2814
2817
|
};
|