@banou/media-player 0.2.5 → 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/index.js CHANGED
@@ -1,5 +1,5 @@
1
- import * as Me from "react";
2
- import ht, { forwardRef as pt, useContext as Vt, useState as U, useEffect as he, useRef as er, useMemo as Ir } from "react";
1
+ import * as Fe from "react";
2
+ import ht, { forwardRef as pt, useContext as Vt, useState as U, useEffect as pe, useRef as er, useMemo as Ir } from "react";
3
3
  import { css as kr } from "@emotion/react";
4
4
  import { makeRemuxer as Bt } from "libav-wasm";
5
5
  import zt from "jassub";
@@ -23,14 +23,14 @@ function Kt() {
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 = {}, y = null, k = null;
27
- v !== void 0 && (y = "" + v), d.key !== void 0 && (y = "" + d.key), d.ref !== void 0 && (k = d.ref);
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: y, ref: k, props: h, _owner: i.current };
33
+ return { $$typeof: r, type: u, key: N, ref: S, props: h, _owner: i.current };
34
34
  }
35
35
  return sr.Fragment = t, sr.jsx = l, sr.jsxs = l, sr;
36
36
  }
@@ -47,22 +47,22 @@ var cr = {};
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"), y = Symbol.for("react.lazy"), k = Symbol.for("react.offscreen"), N = Symbol.iterator, b = "@@iterator";
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 = N && n[N] || n[b];
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 S(n) {
58
+ function k(n) {
59
59
  {
60
60
  for (var c = arguments.length, g = new Array(c > 1 ? c - 1 : 0), w = 1; w < c; w++)
61
61
  g[w - 1] = arguments[w];
62
- P("error", n, g);
62
+ O("error", n, g);
63
63
  }
64
64
  }
65
- function P(n, c, g) {
65
+ function O(n, c, g) {
66
66
  {
67
67
  var w = _.ReactDebugCurrentFrame, $ = w.getStackAddendum();
68
68
  $ !== "" && (c += "%s", g = g.concat([$]));
@@ -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, z = !1, C = !1, Oe = !1, Ee;
76
- Ee = Symbol.for("react.module.reference");
77
- function Ae(n) {
78
- return !!(typeof n == "string" || typeof n == "function" || n === a || n === o || Oe || n === i || n === v || n === m || C || n === k || I || f || z || typeof n == "object" && n !== null && (n.$$typeof === y || n.$$typeof === h || n.$$typeof === l || n.$$typeof === u || n.$$typeof === d || // This needs to include all possible module reference object
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 === Ee || n.getModuleId !== void 0));
82
+ n.$$typeof === ye || n.getModuleId !== void 0));
83
83
  }
84
- function Ie(n, c, g) {
84
+ function $e(n, c, g) {
85
85
  var w = n.displayName;
86
86
  if (w)
87
87
  return w;
88
88
  var $ = c.displayName || c.name || "";
89
89
  return $ !== "" ? g + "(" + $ + ")" : g;
90
90
  }
91
- function ue(n) {
91
+ function Ce(n) {
92
92
  return n.displayName || "Context";
93
93
  }
94
- function H(n) {
94
+ function q(n) {
95
95
  if (n == null)
96
96
  return null;
97
- if (typeof n.tag == "number" && S("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof n == "function")
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 ue(c) + ".Consumer";
119
+ return Ce(c) + ".Consumer";
120
120
  case l:
121
121
  var g = n;
122
- return ue(g._context) + ".Provider";
122
+ return Ce(g._context) + ".Provider";
123
123
  case d:
124
- return Ie(n, n.render, "ForwardRef");
124
+ return $e(n, n.render, "ForwardRef");
125
125
  case h:
126
126
  var w = n.displayName || null;
127
- return w !== null ? w : H(n.type) || "Memo";
128
- case y: {
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 H(A(V));
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 J = Object.assign, fe = 0, X, we, te, ne, ee, Ne, ke;
140
- function Ce() {
139
+ var K = Object.assign, oe = 0, ie, re, Ee, Q, we, ee, Ne;
140
+ function Re() {
141
141
  }
142
- Ce.__reactDisabledLog = !0;
143
- function $e() {
142
+ Re.__reactDisabledLog = !0;
143
+ function Le() {
144
144
  {
145
- if (fe === 0) {
146
- X = console.log, we = console.info, te = console.warn, ne = console.error, ee = console.group, Ne = console.groupCollapsed, ke = console.groupEnd;
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: Ce,
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
- fe++;
163
+ oe++;
164
164
  }
165
165
  }
166
- function _e() {
166
+ function Te() {
167
167
  {
168
- if (fe--, fe === 0) {
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: J({}, n, {
176
- value: X
175
+ log: K({}, n, {
176
+ value: ie
177
177
  }),
178
- info: J({}, n, {
179
- value: we
178
+ info: K({}, n, {
179
+ value: re
180
+ }),
181
+ warn: K({}, n, {
182
+ value: Ee
180
183
  }),
181
- warn: J({}, n, {
182
- value: te
184
+ error: K({}, n, {
185
+ value: Q
183
186
  }),
184
- error: J({}, n, {
185
- value: ne
187
+ group: K({}, n, {
188
+ value: we
186
189
  }),
187
- group: J({}, n, {
190
+ groupCollapsed: K({}, n, {
188
191
  value: ee
189
192
  }),
190
- groupCollapsed: J({}, n, {
193
+ groupEnd: K({}, n, {
191
194
  value: Ne
192
- }),
193
- groupEnd: J({}, n, {
194
- value: ke
195
195
  })
196
196
  });
197
197
  }
198
- fe < 0 && S("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
198
+ oe < 0 && k("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
199
199
  }
200
200
  }
201
- var ve = _.ReactCurrentDispatcher, Se;
202
- function j(n, c, g) {
201
+ var fe = _.ReactCurrentDispatcher, ke;
202
+ function se(n, c, g) {
203
203
  {
204
- if (Se === void 0)
204
+ if (ke === void 0)
205
205
  try {
206
206
  throw Error();
207
207
  } catch ($) {
208
208
  var w = $.stack.trim().match(/\n( *(at )?)/);
209
- Se = w && w[1] || "";
209
+ ke = w && w[1] || "";
210
210
  }
211
211
  return `
212
- ` + Se + n;
212
+ ` + ke + n;
213
213
  }
214
214
  }
215
- var ie = !1, be;
215
+ var z = !1, de;
216
216
  {
217
- var Fe = typeof WeakMap == "function" ? WeakMap : Map;
218
- be = new Fe();
217
+ var Oe = typeof WeakMap == "function" ? WeakMap : Map;
218
+ de = new Oe();
219
219
  }
220
220
  function s(n, c) {
221
- if (!n || ie)
221
+ if (!n || z)
222
222
  return "";
223
223
  {
224
- var g = be.get(n);
224
+ var g = de.get(n);
225
225
  if (g !== void 0)
226
226
  return g;
227
227
  }
228
228
  var w;
229
- ie = !0;
229
+ z = !0;
230
230
  var $ = Error.prepareStackTrace;
231
231
  Error.prepareStackTrace = void 0;
232
232
  var V;
233
- V = ve.current, ve.current = null, $e();
233
+ V = fe.current, fe.current = null, Le();
234
234
  try {
235
235
  if (c) {
236
236
  var A = function() {
@@ -243,50 +243,50 @@ function Ht() {
243
243
  }), typeof Reflect == "object" && Reflect.construct) {
244
244
  try {
245
245
  Reflect.construct(A, []);
246
- } catch (De) {
247
- w = De;
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 (De) {
254
- w = De;
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 (De) {
262
- w = De;
261
+ } catch (Me) {
262
+ w = Me;
263
263
  }
264
264
  n();
265
265
  }
266
- } catch (De) {
267
- if (De && w && typeof De.stack == "string") {
268
- for (var T = De.stack.split(`
269
- `), le = w.stack.split(`
270
- `), K = T.length - 1, Z = le.length - 1; K >= 1 && Z >= 0 && T[K] !== le[Z]; )
271
- Z--;
272
- for (; K >= 1 && Z >= 0; K--, Z--)
273
- if (T[K] !== le[Z]) {
274
- if (K !== 1 || Z !== 1)
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 (K--, Z--, Z < 0 || T[K] !== le[Z]) {
277
- var xe = `
278
- ` + T[K].replace(" at new ", " at ");
279
- return n.displayName && xe.includes("<anonymous>") && (xe = xe.replace("<anonymous>", n.displayName)), typeof n == "function" && be.set(n, xe), xe;
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 (K >= 1 && Z >= 0);
281
+ while (J >= 1 && X >= 0);
282
282
  break;
283
283
  }
284
284
  }
285
285
  } finally {
286
- ie = !1, ve.current = V, _e(), Error.prepareStackTrace = $;
286
+ z = !1, fe.current = V, Te(), Error.prepareStackTrace = $;
287
287
  }
288
- var Xe = n ? n.displayName || n.name : "", Hr = Xe ? j(Xe) : "";
289
- return typeof n == "function" && be.set(n, Hr), Hr;
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
291
  function E(n, c, g) {
292
292
  return s(n, !1);
@@ -295,29 +295,29 @@ function Ht() {
295
295
  var c = n.prototype;
296
296
  return !!(c && c.isReactComponent);
297
297
  }
298
- function de(n, c, g) {
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 j(n);
304
+ return se(n);
305
305
  switch (n) {
306
306
  case v:
307
- return j("Suspense");
307
+ return se("Suspense");
308
308
  case m:
309
- return j("SuspenseList");
309
+ return se("SuspenseList");
310
310
  }
311
311
  if (typeof n == "object")
312
312
  switch (n.$$typeof) {
313
313
  case d:
314
314
  return E(n.render);
315
315
  case h:
316
- return de(n.type, c, g);
317
- case y: {
316
+ return me(n.type, c, g);
317
+ case N: {
318
318
  var w = n, $ = w._payload, V = w._init;
319
319
  try {
320
- return de(V($), c, g);
320
+ return me(V($), c, g);
321
321
  } catch {
322
322
  }
323
323
  }
@@ -325,14 +325,14 @@ function Ht() {
325
325
  return "";
326
326
  }
327
327
  var je = Object.prototype.hasOwnProperty, Ye = {}, ar = _.ReactDebugCurrentFrame;
328
- function Le(n) {
328
+ function De(n) {
329
329
  if (n) {
330
- var c = n._owner, g = de(n.type, n._source, c ? c.type : null);
330
+ var c = n._owner, g = me(n.type, n._source, c ? c.type : null);
331
331
  ar.setExtraStackFrame(g);
332
332
  } else
333
333
  ar.setExtraStackFrame(null);
334
334
  }
335
- function me(n, c, g, w, $) {
335
+ function ge(n, c, g, w, $) {
336
336
  {
337
337
  var V = Function.call.bind(je);
338
338
  for (var A in n)
@@ -340,14 +340,14 @@ function Ht() {
340
340
  var T = void 0;
341
341
  try {
342
342
  if (typeof n[A] != "function") {
343
- var le = 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 le.name = "Invariant Violation", le;
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
346
  T = n[A](c, A, w, g, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
347
- } catch (K) {
348
- T = K;
347
+ } catch (J) {
348
+ T = J;
349
349
  }
350
- T && !(T instanceof Error) && (Le($), S("%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), Le(null)), T instanceof Error && !(T.message in Ye) && (Ye[T.message] = !0, Le($), S("Failed %s type: %s", g, T.message), Le(null));
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
  }
@@ -371,11 +371,11 @@ function Ht() {
371
371
  function or(n) {
372
372
  return "" + n;
373
373
  }
374
- function se(n) {
374
+ function ce(n) {
375
375
  if (hr(n))
376
- return S("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);
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 Ve = _.ReactCurrentOwner, Cr = {
378
+ var Ve = _.ReactCurrentOwner, Rr = {
379
379
  key: !0,
380
380
  ref: !0,
381
381
  __self: !0,
@@ -400,14 +400,14 @@ function Ht() {
400
400
  }
401
401
  function Tr(n, c) {
402
402
  if (typeof n.ref == "string" && Ve.current && c && Ve.current.stateNode !== c) {
403
- var g = H(Ve.current.type);
404
- Be[g] || (S('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', H(Ve.current.type), n.ref), Be[g] = !0);
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 Pr(n, c) {
407
+ function Or(n, c) {
408
408
  {
409
409
  var g = function() {
410
- qe || (qe = !0, S("%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));
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,
@@ -415,10 +415,10 @@ function Ht() {
415
415
  });
416
416
  }
417
417
  }
418
- function R(n, c) {
418
+ function C(n, c) {
419
419
  {
420
420
  var g = function() {
421
- Ge || (Ge = !0, S("%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));
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 O = function(n, c, g, w, $, V, A) {
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,
@@ -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 q(n, c, g, w, $) {
458
+ function G(n, c, g, w, $) {
459
459
  {
460
- var V, A = {}, T = null, le = null;
461
- g !== void 0 && (se(g), T = "" + g), ze(c) && (se(c.key), T = "" + c.key), Ke(c) && (le = c.ref, Tr(c, $));
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
- je.call(c, V) && !Cr.hasOwnProperty(V) && (A[V] = c[V]);
463
+ je.call(c, V) && !Rr.hasOwnProperty(V) && (A[V] = c[V]);
464
464
  if (n && n.defaultProps) {
465
- var K = n.defaultProps;
466
- for (V in K)
467
- A[V] === void 0 && (A[V] = K[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 || le) {
470
- var Z = typeof n == "function" ? n.displayName || n.name || "Unknown" : n;
471
- T && Pr(A, Z), le && R(A, Z);
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 O(n, T, le, $, w, Ve.current, A);
473
+ return P(n, T, ue, $, w, Ve.current, A);
474
474
  }
475
475
  }
476
- var G = _.ReactCurrentOwner, ce = _.ReactDebugCurrentFrame;
476
+ var H = _.ReactCurrentOwner, le = _.ReactDebugCurrentFrame;
477
477
  function B(n) {
478
478
  if (n) {
479
- var c = n._owner, g = de(n.type, n._source, c ? c.type : null);
480
- ce.setExtraStackFrame(g);
479
+ var c = n._owner, g = me(n.type, n._source, c ? c.type : null);
480
+ le.setExtraStackFrame(g);
481
481
  } else
482
- ce.setExtraStackFrame(null);
482
+ le.setExtraStackFrame(null);
483
483
  }
484
484
  var Y;
485
485
  Y = !1;
486
486
  function He(n) {
487
487
  return typeof n == "object" && n !== null && n.$$typeof === r;
488
488
  }
489
- function ae() {
489
+ function ne() {
490
490
  {
491
- if (G.current) {
492
- var n = H(G.current.type);
491
+ if (H.current) {
492
+ var n = q(H.current.type);
493
493
  if (n)
494
494
  return `
495
495
 
@@ -509,10 +509,10 @@ Check your code at ` + c + ":" + g + ".";
509
509
  return "";
510
510
  }
511
511
  }
512
- var Or = {};
512
+ var Pr = {};
513
513
  function pr(n) {
514
514
  {
515
- var c = ae();
515
+ var c = ne();
516
516
  if (!c) {
517
517
  var g = typeof n == "string" ? n : n.displayName || n.name;
518
518
  g && (c = `
@@ -528,11 +528,11 @@ Check the top-level render call using <` + g + ">.");
528
528
  return;
529
529
  n._store.validated = !0;
530
530
  var g = pr(c);
531
- if (Or[g])
531
+ if (Pr[g])
532
532
  return;
533
- Or[g] = !0;
533
+ Pr[g] = !0;
534
534
  var w = "";
535
- n && n._owner && n._owner !== G.current && (w = " It was passed a child from " + H(n._owner.type) + "."), B(n), S('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);
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) {
@@ -569,14 +569,14 @@ Check the top-level render call using <` + g + ">.");
569
569
  else
570
570
  return;
571
571
  if (g) {
572
- var w = H(c);
573
- me(g, n.props, "prop", w, n);
572
+ var w = q(c);
573
+ ge(g, n.props, "prop", w, n);
574
574
  } else if (c.PropTypes !== void 0 && !Y) {
575
575
  Y = !0;
576
- var $ = H(c);
577
- S("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", $ || "Unknown");
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 && S("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
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) {
@@ -584,41 +584,41 @@ Check the top-level render call using <` + g + ">.");
584
584
  for (var c = Object.keys(n.props), g = 0; g < c.length; g++) {
585
585
  var w = c[g];
586
586
  if (w !== "children" && w !== "key") {
587
- B(n), S("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", w), B(null);
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 && (B(n), S("Invalid attribute `ref` supplied to `React.Fragment`."), B(null));
591
+ n.ref !== null && (B(n), k("Invalid attribute `ref` supplied to `React.Fragment`."), B(null));
592
592
  }
593
593
  }
594
594
  function Kr(n, c, g, w, $, V) {
595
595
  {
596
- var A = Ae(n);
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 le = Je($);
601
- le ? T += le : T += ae();
602
- var K;
603
- n === null ? K = "null" : Ue(n) ? K = "array" : n !== void 0 && n.$$typeof === r ? (K = "<" + (H(n.type) || "Unknown") + " />", T = " Did you accidentally export a JSX literal instead of a component?") : K = typeof n, S("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", K, T);
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 Z = q(n, c, g, $, V);
606
- if (Z == null)
607
- return Z;
605
+ var X = G(n, c, g, $, V);
606
+ if (X == null)
607
+ return X;
608
608
  if (A) {
609
- var xe = c.children;
610
- if (xe !== void 0)
609
+ var Se = c.children;
610
+ if (Se !== void 0)
611
611
  if (w)
612
- if (Ue(xe)) {
613
- for (var Xe = 0; Xe < xe.length; Xe++)
614
- Gr(xe[Xe], n);
615
- Object.freeze && Object.freeze(xe);
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
- S("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
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(xe, n);
619
+ Gr(Se, n);
620
620
  }
621
- return n === a ? Lt(Z) : $t(Z), Z;
621
+ return n === a ? Lt(X) : $t(X), X;
622
622
  }
623
623
  }
624
624
  function Dt(n, c, g) {
@@ -679,9 +679,9 @@ 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
- }(), oe = "-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;
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
- return re(e, 0) ^ 45 ? (((r << 2 ^ re(e, 0)) << 2 ^ re(e, 1)) << 2 ^ re(e, 2)) << 2 ^ re(e, 3) : 0;
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
  }
686
686
  function bt(e) {
687
687
  return e.trim();
@@ -695,13 +695,13 @@ function D(e, r, t) {
695
695
  function Lr(e, r) {
696
696
  return e.indexOf(r);
697
697
  }
698
- function re(e, r) {
698
+ function te(e, r) {
699
699
  return e.charCodeAt(r) | 0;
700
700
  }
701
701
  function ur(e, r, t) {
702
702
  return e.slice(r, t);
703
703
  }
704
- function Te(e) {
704
+ function Pe(e) {
705
705
  return e.length;
706
706
  }
707
707
  function Ur(e) {
@@ -713,7 +713,7 @@ function vr(e, r) {
713
713
  function sn(e, r) {
714
714
  return e.map(r).join("");
715
715
  }
716
- var xr = 1, tr = 1, yt = 0, pe = 0, Q = 0, nr = "";
716
+ var xr = 1, tr = 1, yt = 0, ve = 0, Z = 0, nr = "";
717
717
  function _r(e, r, t, a, i, o, l) {
718
718
  return { value: e, root: r, parent: t, type: a, props: i, children: o, line: xr, column: tr, length: l, return: "" };
719
719
  }
@@ -721,19 +721,19 @@ function lr(e, r) {
721
721
  return nn(_r("", null, null, "", null, null, 0), e, { length: -e.length }, r);
722
722
  }
723
723
  function cn() {
724
- return Q;
724
+ return Z;
725
725
  }
726
726
  function ln() {
727
- return Q = pe > 0 ? re(nr, --pe) : 0, tr--, Q === 10 && (tr = 1, xr--), Q;
727
+ return Z = ve > 0 ? te(nr, --ve) : 0, tr--, Z === 10 && (tr = 1, xr--), Z;
728
728
  }
729
- function ye() {
730
- return Q = pe < yt ? re(nr, pe++) : 0, tr++, Q === 10 && (tr = 1, xr++), Q;
729
+ function be() {
730
+ return Z = ve < yt ? te(nr, ve++) : 0, tr++, Z === 10 && (tr = 1, xr++), Z;
731
731
  }
732
- function Pe() {
733
- return re(nr, pe);
732
+ function Ae() {
733
+ return te(nr, ve);
734
734
  }
735
735
  function br() {
736
- return pe;
736
+ return ve;
737
737
  }
738
738
  function mr(e, r) {
739
739
  return ur(nr, e, r);
@@ -771,149 +771,149 @@ function fr(e) {
771
771
  return 0;
772
772
  }
773
773
  function Et(e) {
774
- return xr = tr = 1, yt = Te(nr = e), pe = 0, [];
774
+ return xr = tr = 1, yt = Pe(nr = e), ve = 0, [];
775
775
  }
776
776
  function wt(e) {
777
777
  return nr = "", e;
778
778
  }
779
779
  function yr(e) {
780
- return bt(mr(pe - 1, Dr(e === 91 ? e + 2 : e === 40 ? e + 1 : 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 (; (Q = Pe()) && Q < 33; )
784
- ye();
785
- return fr(e) > 2 || fr(Q) > 3 ? "" : " ";
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 && ye() && !(Q < 48 || Q > 102 || Q > 57 && Q < 65 || Q > 70 && Q < 97); )
788
+ for (; --r && be() && !(Z < 48 || Z > 102 || Z > 57 && Z < 65 || Z > 70 && Z < 97); )
789
789
  ;
790
- return mr(e, br() + (r < 6 && Pe() == 32 && ye() == 32));
790
+ return mr(e, br() + (r < 6 && Ae() == 32 && be() == 32));
791
791
  }
792
792
  function Dr(e) {
793
- for (; ye(); )
794
- switch (Q) {
793
+ for (; be(); )
794
+ switch (Z) {
795
795
  case e:
796
- return pe;
796
+ return ve;
797
797
  case 34:
798
798
  case 39:
799
- e !== 34 && e !== 39 && Dr(Q);
799
+ e !== 34 && e !== 39 && Dr(Z);
800
800
  break;
801
801
  case 40:
802
802
  e === 41 && Dr(e);
803
803
  break;
804
804
  case 92:
805
- ye();
805
+ be();
806
806
  break;
807
807
  }
808
- return pe;
808
+ return ve;
809
809
  }
810
810
  function dn(e, r) {
811
- for (; ye() && e + Q !== 47 + 10; )
812
- if (e + Q === 42 + 42 && Pe() === 47)
811
+ for (; be() && e + Z !== 47 + 10; )
812
+ if (e + Z === 42 + 42 && Ae() === 47)
813
813
  break;
814
- return "/*" + mr(r, pe - 1) + "*" + Sr(e === 47 ? e : ye());
814
+ return "/*" + mr(r, ve - 1) + "*" + Sr(e === 47 ? e : be());
815
815
  }
816
816
  function mn(e) {
817
- for (; !fr(Pe()); )
818
- ye();
819
- return mr(e, pe);
817
+ for (; !fr(Ae()); )
818
+ be();
819
+ return mr(e, ve);
820
820
  }
821
821
  function gn(e) {
822
822
  return wt(Er("", null, null, null, [""], e = Et(e), 0, [0], e));
823
823
  }
824
824
  function Er(e, r, t, a, i, o, l, u, d) {
825
- for (var v = 0, m = 0, h = l, y = 0, k = 0, N = 0, b = 1, x = 1, _ = 1, S = 0, P = "", I = i, f = o, z = a, C = P; x; )
826
- switch (N = S, S = ye()) {
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 (N != 108 && re(C, h - 1) == 58) {
829
- Lr(C += D(yr(S), "&", "&\f"), "&\f") != -1 && (_ = -1);
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
- C += yr(S);
835
+ R += yr(k);
836
836
  break;
837
837
  case 9:
838
838
  case 10:
839
839
  case 13:
840
840
  case 32:
841
- C += un(N);
841
+ R += un(y);
842
842
  break;
843
843
  case 92:
844
- C += fn(br() - 1, 7);
844
+ R += fn(br() - 1, 7);
845
845
  continue;
846
846
  case 47:
847
- switch (Pe()) {
847
+ switch (Ae()) {
848
848
  case 42:
849
849
  case 47:
850
- vr(hn(dn(ye(), br()), r, t), d);
850
+ vr(hn(dn(be(), br()), r, t), d);
851
851
  break;
852
852
  default:
853
- C += "/";
853
+ R += "/";
854
854
  }
855
855
  break;
856
856
  case 123 * b:
857
- u[v++] = Te(C) * _;
857
+ u[v++] = Pe(R) * _;
858
858
  case 125 * b:
859
859
  case 59:
860
860
  case 0:
861
- switch (S) {
861
+ switch (k) {
862
862
  case 0:
863
863
  case 125:
864
864
  x = 0;
865
865
  case 59 + m:
866
- _ == -1 && (C = D(C, /\f/g, "")), k > 0 && Te(C) - h && vr(k > 32 ? tt(C + ";", a, t, h - 1) : tt(D(C, " ", "") + ";", a, t, h - 2), d);
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
- C += ";";
869
+ R += ";";
870
870
  default:
871
- if (vr(z = rt(C, r, t, v, m, i, u, P, I = [], f = [], h), o), S === 123)
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
- Er(C, r, z, z, I, o, h, u, f);
873
+ Er(R, r, M, M, I, o, h, u, f);
874
874
  else
875
- switch (y === 99 && re(C, 3) === 110 ? 100 : y) {
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
- Er(e, z, z, a && vr(rt(e, z, z, 0, 0, i, u, P, i, I = [], h), f), i, f, h, u, a ? I : f);
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
- Er(C, z, z, z, [""], f, 0, u, f);
883
+ Er(R, M, M, M, [""], f, 0, u, f);
884
884
  }
885
885
  }
886
- v = m = k = 0, b = _ = 1, P = C = "", h = l;
886
+ v = m = S = 0, b = _ = 1, O = R = "", h = l;
887
887
  break;
888
888
  case 58:
889
- h = 1 + Te(C), k = N;
889
+ h = 1 + Pe(R), S = y;
890
890
  default:
891
891
  if (b < 1) {
892
- if (S == 123)
892
+ if (k == 123)
893
893
  --b;
894
- else if (S == 125 && b++ == 0 && ln() == 125)
894
+ else if (k == 125 && b++ == 0 && ln() == 125)
895
895
  continue;
896
896
  }
897
- switch (C += Sr(S), S * b) {
897
+ switch (R += Sr(k), k * b) {
898
898
  case 38:
899
- _ = m > 0 ? 1 : (C += "\f", -1);
899
+ _ = m > 0 ? 1 : (R += "\f", -1);
900
900
  break;
901
901
  case 44:
902
- u[v++] = (Te(C) - 1) * _, _ = 1;
902
+ u[v++] = (Pe(R) - 1) * _, _ = 1;
903
903
  break;
904
904
  case 64:
905
- Pe() === 45 && (C += yr(ye())), y = Pe(), m = h = Te(P = C += mn(br())), S++;
905
+ Ae() === 45 && (R += yr(be())), N = Ae(), m = h = Pe(O = R += mn(br())), k++;
906
906
  break;
907
907
  case 45:
908
- N === 45 && Te(C) == 2 && (b = 0);
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, y = i === 0 ? o : [""], k = Ur(y), N = 0, b = 0, x = 0; N < a; ++N)
915
- for (var _ = 0, S = ur(e, h + 1, h = tn(b = l[N])), P = e; _ < k; ++_)
916
- (P = bt(b > 0 ? y[_] + " " + S : D(S, /&\f/g, y[_]))) && (d[x++] = P);
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
917
  return _r(e, r, t, i === 0 ? zr : u, d, v, m);
918
918
  }
919
919
  function hn(e, r, t) {
@@ -942,7 +942,7 @@ function pn(e, r, t, a) {
942
942
  case zr:
943
943
  e.value = e.props.join(",");
944
944
  }
945
- return Te(t = rr(e.children, a)) ? e.return = e.value + "{" + t + "}" : "";
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);
@@ -964,28 +964,28 @@ function yn(e) {
964
964
  };
965
965
  }
966
966
  var En = function(r, t, a) {
967
- for (var i = 0, o = 0; i = o, o = Pe(), i === 38 && o === 12 && (t[a] = 1), !fr(o); )
968
- ye();
969
- return mr(r, pe);
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
970
  }, wn = function(r, t) {
971
971
  var a = -1, i = 44;
972
972
  do
973
973
  switch (fr(i)) {
974
974
  case 0:
975
- i === 38 && Pe() === 12 && (t[a] = 1), r[a] += En(pe - 1, t, a);
975
+ i === 38 && Ae() === 12 && (t[a] = 1), r[a] += En(ve - 1, t, a);
976
976
  break;
977
977
  case 2:
978
978
  r[a] += yr(i);
979
979
  break;
980
980
  case 4:
981
981
  if (i === 44) {
982
- r[++a] = Pe() === 58 ? "&\f" : "", t[a] = r[a].length;
982
+ r[++a] = Ae() === 58 ? "&\f" : "", t[a] = r[a].length;
983
983
  break;
984
984
  }
985
985
  default:
986
986
  r[a] += Sr(i);
987
987
  }
988
- while (i = ye());
988
+ while (i = be());
989
989
  return r;
990
990
  }, Nn = function(r, t) {
991
991
  return wt(wn(Et(r), t));
@@ -1012,7 +1012,7 @@ var En = 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
- }, Rn = function(r) {
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 En = 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
- }, Cn = function(r, t) {
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 En = 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)) : Cn(t, a) && (console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."), 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,24 +1083,24 @@ function kt(e, r) {
1083
1083
  case 4810:
1084
1084
  case 6968:
1085
1085
  case 2756:
1086
- return L + e + wr + e + oe + e + e;
1086
+ return L + e + wr + e + ae + e + e;
1087
1087
  case 6828:
1088
1088
  case 4268:
1089
- return L + e + oe + e + e;
1089
+ return L + e + ae + e + e;
1090
1090
  case 6165:
1091
- return L + e + oe + "flex-" + e + e;
1091
+ return L + e + ae + "flex-" + e + e;
1092
1092
  case 5187:
1093
- return L + e + D(e, /(\w+).+(:[^]+)/, L + "box-$1$2" + oe + "flex-$1$2") + 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 + oe + "flex-item-" + D(e, /flex-|-self/, "") + e;
1095
+ return L + e + ae + "flex-item-" + D(e, /flex-|-self/, "") + e;
1096
1096
  case 4675:
1097
- return L + e + oe + "flex-line-pack" + D(e, /align-content|flex-|-self/, "") + e;
1097
+ return L + e + ae + "flex-line-pack" + D(e, /align-content|flex-|-self/, "") + e;
1098
1098
  case 5548:
1099
- return L + e + oe + D(e, "shrink", "negative") + e;
1099
+ return L + e + ae + D(e, "shrink", "negative") + e;
1100
1100
  case 5292:
1101
- return L + e + oe + D(e, "basis", "preferred-size") + e;
1101
+ return L + e + ae + D(e, "basis", "preferred-size") + e;
1102
1102
  case 6060:
1103
- return L + "box-" + D(e, "-grow", "") + L + e + oe + D(e, "grow", "positive") + e;
1103
+ return L + "box-" + D(e, "-grow", "") + L + e + ae + D(e, "grow", "positive") + e;
1104
1104
  case 4554:
1105
1105
  return L + D(e, /([^-])(transform)/g, "$1" + L + "$2") + e;
1106
1106
  case 6187:
@@ -1109,7 +1109,7 @@ function kt(e, r) {
1109
1109
  case 3959:
1110
1110
  return D(e, /(image-set\([^]*)/, L + "$1$`$1");
1111
1111
  case 4968:
1112
- return D(D(e, /(.+:)(flex-)?(.*)/, L + "box-pack:$3" + oe + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + L + e + e;
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:
@@ -1127,42 +1127,42 @@ function kt(e, r) {
1127
1127
  case 5789:
1128
1128
  case 5021:
1129
1129
  case 4765:
1130
- if (Te(e) - 1 - r > 6)
1131
- switch (re(e, r + 1)) {
1130
+ if (Pe(e) - 1 - r > 6)
1131
+ switch (te(e, r + 1)) {
1132
1132
  case 109:
1133
- if (re(e, r + 4) !== 45)
1133
+ if (te(e, r + 4) !== 45)
1134
1134
  break;
1135
1135
  case 102:
1136
- return D(e, /(.+:)(.+)-([^]+)/, "$1" + L + "$2-$3$1" + wr + (re(e, r + 3) == 108 ? "$3" : "$2-$3")) + e;
1136
+ return D(e, /(.+:)(.+)-([^]+)/, "$1" + L + "$2-$3$1" + wr + (te(e, r + 3) == 108 ? "$3" : "$2-$3")) + e;
1137
1137
  case 115:
1138
1138
  return ~Lr(e, "stretch") ? kt(D(e, "stretch", "fill-available"), r) + e : e;
1139
1139
  }
1140
1140
  break;
1141
1141
  case 4949:
1142
- if (re(e, r + 1) !== 115)
1142
+ if (te(e, r + 1) !== 115)
1143
1143
  break;
1144
1144
  case 6444:
1145
- switch (re(e, Te(e) - 3 - (~Lr(e, "!important") && 10))) {
1145
+ switch (te(e, Pe(e) - 3 - (~Lr(e, "!important") && 10))) {
1146
1146
  case 107:
1147
1147
  return D(e, ":", ":" + L) + e;
1148
1148
  case 101:
1149
- return D(e, /(.+:)([^;!]+)(;|!.+)?/, "$1" + L + (re(e, 14) === 45 ? "inline-" : "") + "box$3$1" + L + "$2$3$1" + oe + "$2box$3") + e;
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
- switch (re(e, r + 11)) {
1153
+ switch (te(e, r + 11)) {
1154
1154
  case 114:
1155
- return L + e + oe + D(e, /[svh]\w+-[tblr]{2}/, "tb") + e;
1155
+ return L + e + ae + D(e, /[svh]\w+-[tblr]{2}/, "tb") + e;
1156
1156
  case 108:
1157
- return L + e + oe + D(e, /[svh]\w+-[tblr]{2}/, "tb-rl") + e;
1157
+ return L + e + ae + D(e, /[svh]\w+-[tblr]{2}/, "tb-rl") + e;
1158
1158
  case 45:
1159
- return L + e + oe + D(e, /[svh]\w+-[tblr]{2}/, "lr") + e;
1159
+ return L + e + ae + D(e, /[svh]\w+-[tblr]{2}/, "lr") + e;
1160
1160
  }
1161
- return L + e + oe + e + e;
1161
+ return L + e + ae + e + e;
1162
1162
  }
1163
1163
  return e;
1164
1164
  }
1165
- var Pn = function(r, t, a, i) {
1165
+ var On = function(r, t, a, i) {
1166
1166
  if (r.length > -1 && !r.return)
1167
1167
  switch (r.type) {
1168
1168
  case Yr:
@@ -1187,13 +1187,13 @@ var Pn = function(r, t, a, i) {
1187
1187
  }), lr(r, {
1188
1188
  props: [D(o, /:(plac\w+)/, ":" + wr + "$1")]
1189
1189
  }), lr(r, {
1190
- props: [D(o, /:(plac\w+)/, oe + "input-$1")]
1190
+ props: [D(o, /:(plac\w+)/, ae + "input-$1")]
1191
1191
  })], i);
1192
1192
  }
1193
1193
  return "";
1194
1194
  });
1195
1195
  }
1196
- }, On = [Pn], An = function(r) {
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 || On;
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,9 +1220,9 @@ 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(Rn({
1223
+ process.env.NODE_ENV !== "production" && v.push(Cn({
1224
1224
  get compat() {
1225
- return N.compat;
1225
+ return y.compat;
1226
1226
  }
1227
1227
  }), Tn);
1228
1228
  {
@@ -1230,18 +1230,18 @@ If multiple caches share the same key they might "fight" for each other's style
1230
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
- })], y = vn(v.concat(i, h)), k = function(x) {
1234
- return rr(gn(x), y);
1233
+ })], N = vn(v.concat(i, h)), S = function(x) {
1234
+ return rr(gn(x), N);
1235
1235
  };
1236
- d = function(x, _, S, P) {
1237
- m = S, process.env.NODE_ENV !== "production" && _.map !== void 0 && (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
- S.insert(f + _.map);
1239
+ k.insert(f + _.map);
1240
1240
  }
1241
- }), k(x ? x + "{" + _.styles + "}" : _.styles), P && (N.inserted[_.name] = !0);
1241
+ }), S(x ? x + "{" + _.styles + "}" : _.styles), O && (y.inserted[_.name] = !0);
1242
1242
  };
1243
1243
  }
1244
- var N = {
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 N.sheet.hydrate(u), N;
1260
- }, Mr = { exports: {} }, M = {};
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 M;
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, y = e ? Symbol.for("react.suspense_list") : 60120, k = e ? Symbol.for("react.memo") : 60115, N = 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, S = e ? Symbol.for("react.scope") : 60119;
1275
- function P(f) {
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 z = f.$$typeof;
1278
- switch (z) {
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 N:
1293
- case k:
1292
+ case y:
1293
+ case S:
1294
1294
  case l:
1295
1295
  return f;
1296
1296
  default:
1297
- return z;
1297
+ return M;
1298
1298
  }
1299
1299
  }
1300
1300
  case t:
1301
- return z;
1301
+ return M;
1302
1302
  }
1303
1303
  }
1304
1304
  }
1305
1305
  function I(f) {
1306
- return P(f) === v;
1306
+ return O(f) === v;
1307
1307
  }
1308
- return M.AsyncMode = d, M.ConcurrentMode = v, M.ContextConsumer = u, M.ContextProvider = l, M.Element = r, M.ForwardRef = m, M.Fragment = a, M.Lazy = N, M.Memo = k, M.Portal = t, M.Profiler = o, M.StrictMode = i, M.Suspense = h, M.isAsyncMode = function(f) {
1309
- return I(f) || P(f) === d;
1310
- }, M.isConcurrentMode = I, M.isContextConsumer = function(f) {
1311
- return P(f) === u;
1312
- }, M.isContextProvider = function(f) {
1313
- return P(f) === l;
1314
- }, M.isElement = function(f) {
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
- }, M.isForwardRef = function(f) {
1317
- return P(f) === m;
1318
- }, M.isFragment = function(f) {
1319
- return P(f) === a;
1320
- }, M.isLazy = function(f) {
1321
- return P(f) === N;
1322
- }, M.isMemo = function(f) {
1323
- return P(f) === k;
1324
- }, M.isPortal = function(f) {
1325
- return P(f) === t;
1326
- }, M.isProfiler = function(f) {
1327
- return P(f) === o;
1328
- }, M.isStrictMode = function(f) {
1329
- return P(f) === i;
1330
- }, M.isSuspense = function(f) {
1331
- return P(f) === h;
1332
- }, M.isValidElementType = function(f) {
1333
- return typeof f == "string" || typeof f == "function" || f === a || f === v || f === o || f === i || f === h || f === y || typeof f == "object" && f !== null && (f.$$typeof === N || f.$$typeof === k || f.$$typeof === l || f.$$typeof === u || f.$$typeof === m || f.$$typeof === x || f.$$typeof === _ || f.$$typeof === S || f.$$typeof === b);
1334
- }, M.typeOf = P, M;
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 F = {};
1336
+ var j = {};
1337
1337
  /** @license React v16.13.1
1338
1338
  * react-is.development.js
1339
1339
  *
@@ -1345,10 +1345,10 @@ 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, y = e ? Symbol.for("react.suspense_list") : 60120, k = e ? Symbol.for("react.memo") : 60115, N = 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, S = e ? Symbol.for("react.scope") : 60119;
1349
- function P(s) {
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 === y || typeof s == "object" && s !== null && (s.$$typeof === N || s.$$typeof === k || s.$$typeof === l || s.$$typeof === u || s.$$typeof === m || s.$$typeof === x || s.$$typeof === _ || s.$$typeof === S || s.$$typeof === b);
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) {
@@ -1365,14 +1365,14 @@ function $n() {
1365
1365
  case h:
1366
1366
  return W;
1367
1367
  default:
1368
- var de = W && W.$$typeof;
1369
- switch (de) {
1368
+ var me = W && W.$$typeof;
1369
+ switch (me) {
1370
1370
  case u:
1371
1371
  case m:
1372
- case N:
1373
- case k:
1372
+ case y:
1373
+ case S:
1374
1374
  case l:
1375
- return de;
1375
+ return me;
1376
1376
  default:
1377
1377
  return E;
1378
1378
  }
@@ -1382,48 +1382,48 @@ function $n() {
1382
1382
  }
1383
1383
  }
1384
1384
  }
1385
- var f = d, z = v, C = u, Oe = l, Ee = r, Ae = m, Ie = a, ue = N, H = k, J = t, fe = o, X = i, we = h, te = !1;
1386
- function ne(s) {
1387
- return te || (te = !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.")), ee(s) || I(s) === d;
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 ee(s) {
1389
+ function we(s) {
1390
1390
  return I(s) === v;
1391
1391
  }
1392
- function Ne(s) {
1392
+ function ee(s) {
1393
1393
  return I(s) === u;
1394
1394
  }
1395
- function ke(s) {
1395
+ function Ne(s) {
1396
1396
  return I(s) === l;
1397
1397
  }
1398
- function Ce(s) {
1398
+ function Re(s) {
1399
1399
  return typeof s == "object" && s !== null && s.$$typeof === r;
1400
1400
  }
1401
- function $e(s) {
1401
+ function Le(s) {
1402
1402
  return I(s) === m;
1403
1403
  }
1404
- function _e(s) {
1404
+ function Te(s) {
1405
1405
  return I(s) === a;
1406
1406
  }
1407
- function ve(s) {
1408
- return I(s) === N;
1407
+ function fe(s) {
1408
+ return I(s) === y;
1409
1409
  }
1410
- function Se(s) {
1411
- return I(s) === k;
1410
+ function ke(s) {
1411
+ return I(s) === S;
1412
1412
  }
1413
- function j(s) {
1413
+ function se(s) {
1414
1414
  return I(s) === t;
1415
1415
  }
1416
- function ie(s) {
1416
+ function z(s) {
1417
1417
  return I(s) === o;
1418
1418
  }
1419
- function be(s) {
1419
+ function de(s) {
1420
1420
  return I(s) === i;
1421
1421
  }
1422
- function Fe(s) {
1422
+ function Oe(s) {
1423
1423
  return I(s) === h;
1424
1424
  }
1425
- F.AsyncMode = f, F.ConcurrentMode = z, F.ContextConsumer = C, F.ContextProvider = Oe, F.Element = Ee, F.ForwardRef = Ae, F.Fragment = Ie, F.Lazy = ue, F.Memo = H, F.Portal = J, F.Profiler = fe, F.StrictMode = X, F.Suspense = we, F.isAsyncMode = ne, F.isConcurrentMode = ee, F.isContextConsumer = Ne, F.isContextProvider = ke, F.isElement = Ce, F.isForwardRef = $e, F.isFragment = _e, F.isLazy = ve, F.isMemo = Se, F.isPortal = j, F.isProfiler = ie, F.isStrictMode = be, F.isSuspense = Fe, F.isValidElementType = P, F.typeOf = I;
1426
- }()), F;
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
1428
  process.env.NODE_ENV === "production" ? Mr.exports = In() : Mr.exports = $n();
1429
1429
  var Ln = Mr.exports, St = Ln, Dn = {
@@ -1541,7 +1541,7 @@ var zn = {
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`, 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, Rt = /_EMO_([^_]+?)_([^]*?)_EMO_/g, Wr = function(r) {
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";
@@ -1552,11 +1552,11 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
1552
1552
  case "animation":
1553
1553
  case "animationName":
1554
1554
  if (typeof t == "string")
1555
- return t.replace(Rt, function(a, i, o) {
1556
- return Re = {
1555
+ return t.replace(Ct, function(a, i, o) {
1556
+ return xe = {
1557
1557
  name: i,
1558
1558
  styles: o,
1559
- next: Re
1559
+ next: xe
1560
1560
  }, i;
1561
1561
  });
1562
1562
  }
@@ -1573,13 +1573,13 @@ if (process.env.NODE_ENV !== "production") {
1573
1573
  }) + "?")), a;
1574
1574
  };
1575
1575
  }
1576
- var Ct = "Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";
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
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(Ct);
1582
+ throw new Error(Rt);
1583
1583
  return t;
1584
1584
  }
1585
1585
  switch (typeof t) {
@@ -1587,19 +1587,19 @@ function dr(e, r, t) {
1587
1587
  return "";
1588
1588
  case "object": {
1589
1589
  if (t.anim === 1)
1590
- return Re = {
1590
+ return xe = {
1591
1591
  name: t.name,
1592
1592
  styles: t.styles,
1593
- next: Re
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
- Re = {
1599
+ xe = {
1600
1600
  name: a.name,
1601
1601
  styles: a.styles,
1602
- next: Re
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 dr(e, r, t) {
1608
1608
  }
1609
1609
  case "function": {
1610
1610
  if (e !== void 0) {
1611
- var o = Re, l = t(e);
1612
- return Re = o, dr(e, r, l);
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(Rt, function(m, h, y) {
1620
- var k = "animation" + u.length;
1621
- return u.push("const " + k + " = keyframes`" + y.replace(/^@keyframes animation-\w+/, "") + "`"), "${" + k + "}";
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
  `) + `
@@ -1646,7 +1646,7 @@ function Jn(e, r, t) {
1646
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(Ct);
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
1652
  ct(l[u]) && (a += Ar(o) + ":" + Nr(o, l[u]) + ";");
@@ -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 Re, ft = function(r, t, a) {
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
- Re = void 0;
1675
+ xe = void 0;
1676
1676
  var l = r[0];
1677
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
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(y) {
1682
- return d = y, "";
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: Re,
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: Re
1699
+ next: xe
1700
1700
  };
1701
1701
  }, Xn = function(r) {
1702
1702
  return r();
1703
- }, Zn = Me["useInsertionEffect"] ? Me["useInsertionEffect"] : !1, Qn = Zn || Xn, Rr = {}.hasOwnProperty, qr = /* @__PURE__ */ Me.createContext(
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
@@ -1718,8 +1718,8 @@ var ea = function(r) {
1718
1718
  var i = Vt(qr);
1719
1719
  return r(t, i, a);
1720
1720
  });
1721
- }, Pt = /* @__PURE__ */ Me.createContext({});
1722
- process.env.NODE_ENV !== "production" && (Pt.displayName = "EmotionThemeContext");
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,13 +1741,13 @@ var dt = function(r) {
1741
1741
  return na(i);
1742
1742
  }
1743
1743
  }
1744
- }, Fr = "__EMOTION_TYPE_PLEASE_DO_NOT_USE__", jr = "__EMOTION_LABEL_PLEASE_DO_NOT_USE__", Ot = function(r, t) {
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
- Rr.call(t, i) && (a[i] = t[i]);
1750
+ Cr.call(t, i) && (a[i] = t[i]);
1751
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
1753
  o && (a[jr] = o);
@@ -1763,7 +1763,7 @@ var dt = function(r) {
1763
1763
  typeof a == "string" && r.registered[a] !== void 0 && (a = r.registered[a]);
1764
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, Me.useContext(Pt));
1766
+ var u = ft(o, void 0, Fe.useContext(Ot));
1767
1767
  if (process.env.NODE_ENV !== "production" && u.name.indexOf("-") === -1) {
1768
1768
  var d = e[jr];
1769
1769
  d && (u = ft([u, "label:" + d + ";"]));
@@ -1771,20 +1771,20 @@ var dt = function(r) {
1771
1771
  l += r.key + "-" + u.name;
1772
1772
  var v = {};
1773
1773
  for (var m in e)
1774
- Rr.call(e, m) && m !== "css" && m !== Fr && (process.env.NODE_ENV === "production" || m !== jr) && (v[m] = e[m]);
1775
- return v.ref = t, v.className = l, /* @__PURE__ */ Me.createElement(Me.Fragment, null, /* @__PURE__ */ Me.createElement(oa, {
1774
+ Cr.call(e, m) && m !== "css" && m !== Fr && (process.env.NODE_ENV === "production" || m !== jr) && (v[m] = e[m]);
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,
1778
1778
  isStringTag: typeof i == "string"
1779
- }), /* @__PURE__ */ Me.createElement(i, v));
1779
+ }), /* @__PURE__ */ Fe.createElement(i, v));
1780
1780
  });
1781
1781
  process.env.NODE_ENV !== "production" && (At.displayName = "EmotionCssPropInternal");
1782
1782
  var It = At, Qe = Jt;
1783
1783
  function p(e, r, t) {
1784
- return Rr.call(r, "css") ? Qr(It, Ot(e, r), t) : Qr(e, r, t);
1784
+ return Cr.call(r, "css") ? Qr(It, Pt(e, r), t) : Qr(e, r, t);
1785
1785
  }
1786
- function ge(e, r, t) {
1787
- return Rr.call(r, "css") ? et(It, Ot(e, r), t) : et(e, r, t);
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((N) => {
1809
- console.error(N), d(N);
1808
+ i = void 0, h.then(u).catch((y) => {
1809
+ console.error(y), d(y);
1810
1810
  });
1811
- let y, k;
1812
- a = new Promise((N, b) => {
1813
- y = N, k = b;
1814
- }), t = h.then(o(m, y, k)).catch((N) => (console.error(N), o(l, y, k)(N)));
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, y) => {
1825
- v = h, m = y;
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 k = { buffer: u.slice(0, d), currentSize: d, done: m };
1840
- return this.reader = void 0, this.leftOverData = void 0, k;
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 y = v.slice(0, e - d);
1844
- return h = d + y.byteLength, u.set(y, d), h === e ? (this.leftOverData = v.slice(e - d), { buffer: u, currentSize: h, done: !1 }) : i({ buffer: u, currentSize: h });
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
  },
@@ -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__ */ ge("div", { css: ua, onClick: t, children: [
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",
@@ -1983,14 +1983,14 @@ const sa = (e, r) => {
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 he(() => {
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: y } = e.current.getBoundingClientRect();
1993
- a(Math.min(Math.max((m - h) / (y - h), 0), 1));
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);
@@ -2005,9 +2005,9 @@ const sa = (e, r) => {
2005
2005
  const a = localStorage.getItem(e);
2006
2006
  return a ? JSON.parse(a) : {};
2007
2007
  });
2008
- return he(() => {
2008
+ return pe(() => {
2009
2009
  localStorage.setItem(e, JSON.stringify(r));
2010
- }, [e, r]), (a, i) => (he(() => {
2010
+ }, [e, r]), (a, i) => (pe(() => {
2011
2011
  t((o) => ({ ...o, [a]: i }));
2012
2012
  }, []), [
2013
2013
  r[a],
@@ -2285,36 +2285,36 @@ const sa = (e, r) => {
2285
2285
  setCurrentSubtitleTrack: v,
2286
2286
  loadedTime: m,
2287
2287
  isPlaying: h,
2288
- tracks: y,
2289
- isFullscreen: k,
2290
- toggleFullscreen: N,
2288
+ tracks: N,
2289
+ isFullscreen: S,
2290
+ toggleFullscreen: y,
2291
2291
  subtitleTrack: b,
2292
2292
  pictureInPicture: x,
2293
2293
  errors: _,
2294
- customControls: S,
2295
- ...P
2294
+ customControls: k,
2295
+ ...O
2296
2296
  }) => {
2297
- const I = er(null), f = er(null), [z, C] = U(!1), { scrub: Oe, value: Ee } = mt({ ref: I }), Ae = Ir(() => document.pictureInPictureEnabled, []), [Ie, ue] = U(!1), H = ma("fkn-media-player"), [J, fe] = H("volume", 1), [X, we] = H("muted", !1), { scrub: te, value: ne } = mt({ ref: f, defaultValue: J });
2298
- he(() => {
2299
- Ie || (ue(!0), _e(void 0));
2300
- }, [Ie, _.length]), he(() => {
2301
- Ee !== void 0 && a(Ee * (e ?? 0));
2302
- }, [Ee]), he(() => {
2303
- if (X) {
2304
- i(0), we(X), ne && fe(ne);
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
- ne !== void 0 && (i(ne ** 2), fe(ne), we(X));
2308
- }, [ne, X]);
2309
- const ee = () => {
2310
- C(!1);
2311
- }, Ne = (s) => {
2312
- s.currentTarget !== s.relatedTarget && s.relatedTarget !== null || C(!0);
2313
- }, ke = () => {
2314
- we((s) => !s);
2315
- }, Ce = (s, E, W) => {
2307
+ Q !== void 0 && (i(Q ** 2), oe(Q), re(ie));
2308
+ }, [Q, ie]);
2309
+ const we = () => {
2310
+ R(!1);
2311
+ }, ee = (s) => {
2312
+ s.currentTarget !== s.relatedTarget && s.relatedTarget !== null || R(!0);
2313
+ }, Ne = () => {
2314
+ re((s) => !s);
2315
+ }, Re = (s, E, W) => {
2316
2316
  v(E === void 0 ? E : W);
2317
- }, $e = (s) => {
2317
+ }, Le = (s) => {
2318
2318
  if (!o && s.relatedTarget === null) {
2319
2319
  l((W) => !W);
2320
2320
  return;
@@ -2326,7 +2326,7 @@ const sa = (e, r) => {
2326
2326
  setTimeout(() => {
2327
2327
  document.addEventListener("click", E);
2328
2328
  }, 0);
2329
- }, _e = (s) => {
2329
+ }, Te = (s) => {
2330
2330
  if (!u && s?.relatedTarget === null) {
2331
2331
  d((W) => !W);
2332
2332
  return;
@@ -2338,17 +2338,17 @@ const sa = (e, r) => {
2338
2338
  setTimeout(() => {
2339
2339
  document.addEventListener("click", E);
2340
2340
  }, 0);
2341
- }, ve = ({ subtitleTrack: s }) => {
2341
+ }, fe = ({ subtitleTrack: s }) => {
2342
2342
  if (!s)
2343
2343
  return /* @__PURE__ */ p(Qe, { children: "Disabled" });
2344
2344
  if (!s.title && !s.language)
2345
2345
  return /* @__PURE__ */ p(Qe, { children: "Default" });
2346
2346
  const E = s.language === "jpn" ? "ja" : gt(s.language) ? gt(s.language) : s.language;
2347
- return s.title ? /* @__PURE__ */ ge(Qe, { children: [
2347
+ return s.title ? /* @__PURE__ */ he(Qe, { children: [
2348
2348
  s.title?.replace("subs", ""),
2349
2349
  E ? `(${E})` : ""
2350
2350
  ] }) : /* @__PURE__ */ p(Qe, { children: E });
2351
- }, Se = Ir(
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
- he(() => {
2361
+ pe(() => {
2362
2362
  Ze.rebuild();
2363
- }, [y.length]), he(() => {
2363
+ }, [N.length]), pe(() => {
2364
2364
  const s = (E) => {
2365
- E.key === "f" && N(), E.key === "k" && t(), E.key === "m" && ke();
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
- }, [N, t, ke]);
2369
- const [j, ie] = U(void 0);
2370
- return /* @__PURE__ */ ge("div", { css: ga, onMouseOut: Ne, ...P, children: [
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__ */ ge(
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
- ie(W);
2379
+ z(W);
2380
2380
  },
2381
2381
  onMouseOut: () => {
2382
- I.current && ie(void 0);
2382
+ I.current && z(void 0);
2383
2383
  },
2384
2384
  children: [
2385
2385
  /* @__PURE__ */ p("div", { className: "background-bar" }),
2386
- j ? /* @__PURE__ */ p("div", { className: "cursor-time", "data-tip": j, style: { left: `${1 / ((e ?? 0) / (j ?? 1)) * 100}%` }, children: new Date((j ?? 0) * 1e3).toISOString().substr(
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,48 +2395,48 @@ 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: Oe })
2398
+ /* @__PURE__ */ p("div", { className: "padding", onMouseDown: _e })
2399
2399
  ]
2400
2400
  }
2401
2401
  ),
2402
- /* @__PURE__ */ ge("div", { className: "controls", children: [
2402
+ /* @__PURE__ */ he("div", { className: "controls", children: [
2403
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__ */ ge("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: [
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__ */ ge("div", { className: "volume-area", onMouseOver: ee, children: [
2409
- /* @__PURE__ */ p(Ze, { id: "mute-button-tooltip", effect: "solid", place: "top", children: X ? "Unmute (m)" : "Mute (m)" }),
2410
- /* @__PURE__ */ p("button", { className: "mute-button", "data-tip": !0, "data-for": "mute-button-tooltip", onClick: ke, children: X ? /* @__PURE__ */ p(Jr, {}) : (J ?? 0) > 0.66 ? /* @__PURE__ */ p(Yt, {}) : (J ?? 0) > 0.33 ? /* @__PURE__ */ p(Ut, {}) : (J ?? 0) > 0 ? /* @__PURE__ */ p(Wt, {}) : /* @__PURE__ */ p(Jr, {}) }),
2411
- /* @__PURE__ */ p("div", { ref: f, className: `volume-panel${z ? "" : " volume-control-hover"}`, onMouseDown: te, children: /* @__PURE__ */ p("div", { className: "slider", children: /* @__PURE__ */ p("div", { className: "slider-handle", style: { left: `${(J ?? 0) * 100}%` } }) }) })
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__ */ ge("div", { className: "time", children: [
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: S?.length ? S.map((s, E) => /* @__PURE__ */ p(s, {}, E)) : null }),
2419
- /* @__PURE__ */ p("div", { className: "error-area", children: Se.length ? /* @__PURE__ */ ge(Qe, { children: [
2420
- /* @__PURE__ */ p("div", { className: `error-menu ${u ? "hide" : ""}`, children: u ? null : Se }),
2421
- /* @__PURE__ */ ge("div", { className: "error-menu-button", onClick: _e, children: [
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
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: y.length ? /* @__PURE__ */ ge(Qe, { children: [
2428
- /* @__PURE__ */ p("div", { className: `subtitle-menu ${o ? "hide" : ""}`, children: o ? null : [...y, void 0].map(
2429
- (s, E) => /* @__PURE__ */ p("button", { onClick: (W) => Ce(W, s, E), children: /* @__PURE__ */ p(ve, { subtitleTrack: s }) }, s ? E : "disabled")
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: $e, children: /* @__PURE__ */ p(ve, { subtitleTrack: b }) })
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
2433
  /* @__PURE__ */ p(Ze, { id: "pip-button-tooltip", effect: "solid", place: "top", children: "Picture in Picture" }),
2434
- Ae ? /* @__PURE__ */ p("button", { className: "picture-in-picture", "data-tip": !0, "data-for": "pip-button-tooltip", onClick: x, children: /* @__PURE__ */ ge("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: [
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(Ze, { id: "fullscreen-button-tooltip", effect: "solid", place: "top", children: k ? "Exit full screen (f)" : "Full screen (f)" }),
2439
- /* @__PURE__ */ p("button", { className: "fullscreen", "data-tip": !0, "data-for": "fullscreen-button-tooltip", onClick: N, children: k ? /* @__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" }) }) })
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
2442
  }, pa = kr`
@@ -2460,110 +2460,111 @@ overflow: hidden;
2460
2460
  }
2461
2461
  `, va = ({
2462
2462
  customOverlay: e,
2463
- isPlaying: r,
2464
- loading: t,
2465
- duration: a,
2466
- loadedTime: i,
2467
- currentTime: o,
2468
- pictureInPicture: l,
2469
- fullscreen: u,
2470
- play: d,
2471
- seek: v,
2472
- getVolume: m,
2473
- setVolume: h,
2474
- attachments: y,
2475
- tracks: k,
2476
- video: N,
2477
- errors: b,
2478
- customControls: x,
2479
- libassWorkerUrl: _,
2480
- wasmUrl: S,
2481
- needsInitialInteraction: P,
2482
- ...I
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 [f, z] = U(), [C, Oe] = U(!1), [Ee, Ae] = U(!1), [Ie, ue] = U(!1), H = er(), [J, fe] = U(!0), [X, we] = U(), [te, ne] = U(), ee = Ir(
2485
- () => te !== void 0 ? k[te] : void 0,
2486
- [te, te !== void 0 && k[te]?.data]
2487
- ), [Ne, ke] = U(!0), Ce = (j) => {
2488
- ue(!1), H.current && clearInterval(H.current);
2489
- const ie = setTimeout(() => {
2490
- ue(!0);
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
- H.current = ie;
2493
+ K.current = de;
2493
2494
  };
2494
- he(() => {
2495
+ pe(() => {
2495
2496
  setTimeout(() => {
2496
- ue(!0);
2497
+ q(!0);
2497
2498
  }, 3e3);
2498
2499
  }, []);
2499
- const $e = (j) => {
2500
- if (!f?.parentElement?.parentElement?.contains(j?.relatedTarget)) {
2501
- ue(!0);
2500
+ const Te = (z) => {
2501
+ if (!M?.parentElement?.parentElement?.contains(z?.relatedTarget)) {
2502
+ q(!0);
2502
2503
  return;
2503
2504
  }
2504
- j.currentTarget.parentElement !== j.relatedTarget && j.relatedTarget !== null || ue(!0);
2505
- }, _e = () => {
2506
- J && d();
2507
- }, ve = () => {
2508
- !f || !X || (Ae((j) => !j), u());
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
- he(() => {
2511
- if (!N.current || !f || X || !ee?.data || !y)
2511
+ pe(() => {
2512
+ if (!b.current || !M || re || !ee?.data || !S)
2512
2513
  return;
2513
- const j = y.map(({ filename: be, data: Fe }) => [
2514
- be.toLowerCase().replaceAll("-", " ").split(".").at(0),
2515
- Fe
2516
- ]), ie = new zt({
2517
- video: N.current,
2518
- canvas: f,
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: j.filter(Boolean).map(([, be]) => be),
2521
- availableFonts: { ...Object.fromEntries(j), "liberation sans": new URL("/build/default.woff2", new URL(window.location.toString()).origin).toString() },
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: S
2525
+ modernWasmUrl: O
2525
2526
  });
2526
- we(ie);
2527
- }, [f, y, ee?.data]), he(() => {
2528
- k.length && ne(0);
2529
- }, [k.length]), he(() => {
2530
- if (!X)
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
- X.freeTrack();
2534
+ re.freeTrack();
2534
2535
  return;
2535
2536
  }
2536
- X.setTrack(ee.data), !(!f?.parentElement || C) && Oe(!0);
2537
- }, [X, ee, C]);
2538
- const Se = (j) => {
2539
- j && z(j);
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__ */ ge("div", { ...I, css: pa, onMouseMove: Ce, onMouseOut: $e, className: `chrome ${I.className ?? ""} ${Ie ? "hide" : ""}`, children: [
2542
- /* @__PURE__ */ p(fa, { needsInitialInteraction: P, loading: t, togglePlay: _e, setCanvasRef: Se }),
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 ${P ? "hide" : ""}`,
2548
- toggleFullscreen: ve,
2549
- togglePlay: _e,
2550
- isFullscreen: Ee,
2551
- pictureInPicture: l,
2552
- seek: v,
2553
- setCurrentSubtitleTrack: ne,
2554
- isSubtitleMenuHidden: J,
2555
- setIsSubtitleMenuHidden: fe,
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: ke,
2558
- setVolume: h,
2558
+ setIsErrorMenuHidden: Re,
2559
+ setVolume: N,
2559
2560
  subtitleTrack: ee,
2560
- tracks: k,
2561
- currentTime: o,
2562
- duration: a,
2563
- isPlaying: r,
2564
- loadedTime: i,
2565
- errors: b,
2566
- customControls: x
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
  ] });
@@ -2587,7 +2588,7 @@ overflow: hidden;
2587
2588
  grid-column: 1;
2588
2589
  grid-row: 1;
2589
2590
  }
2590
- `, Ra = pt(({
2591
+ `, Ca = pt(({
2591
2592
  customOverlay: e,
2592
2593
  baseBufferSize: r = ba,
2593
2594
  size: t,
@@ -2600,10 +2601,10 @@ overflow: hidden;
2600
2601
  libassWorkerUrl: v,
2601
2602
  makeTransmuxer: m = Bt
2602
2603
  }, h) => {
2603
- const [y, k] = U(!0), N = er(null), b = er(), [x, _] = U(), [S, P] = U(!(b?.current?.paused ?? !0)), [I, f] = U(0), [z, C] = U(void 0), [Oe, Ee] = U([]), [Ae, Ie] = U([]), [ue, H] = U(), [J, fe] = U([0, 0]), [X, we] = U(!1), te = er(a);
2604
- he(() => {
2605
- te.current = a;
2606
- }, [a]), he(() => {
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
2610
  let E, W;
@@ -2614,172 +2615,172 @@ overflow: hidden;
2614
2615
  workerOptions: d,
2615
2616
  bufferSize: r,
2616
2617
  length: t,
2617
- getStream: (R, O) => te.current(R, O ? Math.min(R + O, t) - 1 : void 0).then(
2618
- (q) => O ? q.body : la(3)(
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
- q.body
2621
+ G.body
2621
2622
  )
2622
2623
  )
2623
2624
  ),
2624
- subtitle: (R, O, q) => {
2625
- Ee(
2626
- (G) => G.find(({ title: ce }) => ce === R) ? G.map((ce) => ce.title === R ? { title: R, language: O, data: q } : ce) : [...G, { title: R, language: O, data: q }]
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: (R, O, q) => {
2630
- z?.find(({ filename: G }) => R === G) || C((G) => [
2631
- ...G ?? [],
2632
- { filename: R, mimetype: O, data: new Uint8Array(q) }
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 de = await E, je = await de.init();
2637
+ const me = await E, je = await me.init();
2637
2638
  if (!je)
2638
2639
  throw new Error("No header chunk found after remuxer init");
2639
- const Ye = await de.getInfo(), ar = Ye.input.duration / 1e6;
2640
- H(ar), x.addEventListener("error", (R) => {
2641
- console.error(R.target?.error);
2640
+ const Ye = await me.getInfo(), ar = Ye.input.duration / 1e6;
2641
+ q(ar), x.addEventListener("error", (C) => {
2642
+ console.error(C.target?.error);
2642
2643
  });
2643
- const Le = new MediaSource();
2644
- x.src = URL.createObjectURL(Le);
2645
- const me = await new Promise(
2646
- (R) => Le.addEventListener(
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 O = Le.addSourceBuffer(`video/mp4; codecs="${Ye.input.video_mime_type},${Ye.input.audio_mime_type}"`);
2650
- Le.duration = ar, O.mode = "segments", R(O);
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
- ), gr = new Gt({ concurrency: 1 }), Ue = (R, O) => {
2655
- const q = (Y) => {
2656
- R(Y), B();
2657
- }, G = (Y) => {
2658
- R(Y), B();
2659
- }, ce = (Y) => {
2660
- console.error(Y), O(Y), B();
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();
2661
2662
  }, B = () => {
2662
- me.removeEventListener("updateend", q), me.removeEventListener("abort", G), me.removeEventListener("error", ce);
2663
+ ge.removeEventListener("updateend", G), ge.removeEventListener("abort", H), ge.removeEventListener("error", le);
2663
2664
  };
2664
- me.addEventListener("updateend", q, { once: !0 }), me.addEventListener("abort", G, { once: !0 }), me.addEventListener("error", ce, { once: !0 });
2665
- }, We = (R) => gr.add(
2666
- () => new Promise((O, q) => {
2667
- Ue(O, q), me.appendBuffer(R);
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
- ), hr = async (R, O) => gr.add(
2670
- () => new Promise((q, G) => {
2671
- Ue(q, G), me.remove(R, O);
2670
+ ), hr = async (C, P) => gr.add(
2671
+ () => new Promise((G, H) => {
2672
+ Ue(G, H), ge.remove(C, P);
2672
2673
  })
2673
- ), or = () => Array(me.buffered.length).fill(void 0).map((R, O) => ({
2674
- index: O,
2675
- start: me.buffered.start(O),
2676
- end: me.buffered.end(O)
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 se = [];
2682
- const Ve = 1, Cr = 15;
2682
+ let ce = [];
2683
+ const Ve = 1, Rr = 15;
2683
2684
  await We(je.buffer);
2684
2685
  let qe = !1;
2685
2686
  const Ge = async () => {
2686
2687
  if (qe)
2687
2688
  throw new Error("end");
2688
- const R = await de.read();
2689
- return R.isTrailer && (qe = !0), se = [...se, R], R;
2689
+ const C = await me.read();
2690
+ return C.isTrailer && (qe = !0), ce = [...ce, C], C;
2690
2691
  };
2691
2692
  let Be = !1;
2692
2693
  const Ke = sa(250, async () => {
2693
2694
  if (Be)
2694
2695
  return;
2695
- const { currentTime: R } = x, O = se.findIndex(({ pts: ae, duration: Je }) => ae <= R && ae + Je >= R), q = Math.max(0, O - Ve), G = () => {
2696
- const ae = se.at(-1);
2697
- return ae ? ae.pts + ae.duration : 0;
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;
2698
2699
  };
2699
- for (; G() < R + Cr; ) {
2700
- const ae = await Ge();
2701
- await We(ae.buffer);
2700
+ for (; H() < C + Rr; ) {
2701
+ const ne = await Ge();
2702
+ await We(ne.buffer);
2702
2703
  }
2703
- q && (se = se.slice(q));
2704
- const ce = or(), B = se.at(0), Y = se.at(-1);
2704
+ G && (ce = ce.slice(G));
2705
+ const le = or(), B = ce.at(0), Y = ce.at(-1);
2705
2706
  if (!B || !Y || B === Y)
2706
2707
  return;
2707
2708
  const He = B.pts;
2708
- for (const { start: ae, end: Je } of ce)
2709
- se.findIndex(({ pts: pr, duration: ir }) => ae <= pr + ir / 2 && pr + ir / 2 <= Je) === -1 ? await hr(ae, Je) : ae < He && await hr(
2710
- ae,
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,
2711
2712
  He
2712
2713
  );
2713
2714
  });
2714
2715
  let ze;
2715
- const Tr = ia(250, async (R) => {
2716
+ const Tr = ia(250, async (C) => {
2716
2717
  try {
2717
- qe = !1, ze === void 0 && (ze = x.paused), Be = !0, se = [], await de.seek(R);
2718
- const O = await Ge();
2719
- me.timestampOffset = O.pts, await We(O.buffer), ze === !1 && await x.play(), Be = !1, await Ke(), ze === !1 && await x.play(), ze = void 0;
2720
- } catch (O) {
2721
- if (O.message !== "exit")
2722
- throw O;
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;
2723
2724
  }
2724
- }), Pr = await Ge();
2725
- We(Pr.buffer), x.addEventListener("timeupdate", () => {
2725
+ }), Or = await Ge();
2726
+ We(Or.buffer), x.addEventListener("timeupdate", () => {
2726
2727
  Ke();
2727
2728
  }), x.addEventListener("waiting", () => {
2728
2729
  Ke();
2729
- }), x.addEventListener("seeking", (R) => {
2730
+ }), x.addEventListener("seeking", (C) => {
2730
2731
  Tr(x.currentTime);
2731
2732
  }), Ke(), W = window.setInterval(() => {
2732
- const R = or(), O = R.sort(({ start: B }, { start: Y }) => B - Y).at(0), q = R.sort(({ end: B }, { end: Y }) => B - Y).at(-1);
2733
- if (!O || !q)
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)
2734
2735
  return;
2735
- let G = se.filter(({ pts: B, duration: Y }) => B + Y / 2 > O.start).sort(({ pts: B }, { pts: Y }) => B - Y).at(0)?.pts, ce = se.filter(({ pts: B, duration: Y }) => B + Y / 2 < q.end).sort(({ pts: B }, { pts: Y }) => B - Y).at(-1)?.pts;
2736
- G === void 0 || ce === void 0 || fe([G, ce]);
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]);
2737
2738
  }, 200);
2738
2739
  })(), () => {
2739
- E.then((de) => de.destroy(!0)), window.clearInterval(W);
2740
+ E.then((me) => me.destroy(!0)), window.clearInterval(W);
2740
2741
  };
2741
2742
  }, [t, x]);
2742
- const ne = (E) => {
2743
- k(!0);
2744
- }, [ee, Ne] = U(!1), ke = (E) => {
2745
- Ne(!1);
2746
- }, Ce = (E) => {
2747
- b.current && (Ne(!0), f(b.current?.currentTime ?? 0));
2748
- }, $e = (E) => {
2749
- x && (x.currentTime = E, Ne(!0));
2750
- }, _e = (E) => {
2751
- ee || (f(b.current?.currentTime ?? 0), k(!1));
2752
- }, ve = (E) => (W) => {
2753
- P(E);
2754
- }, Se = () => {
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 = () => {
2755
2756
  if (document.pictureInPictureElement)
2756
2757
  return document.exitPictureInPicture();
2757
2758
  b.current?.requestPictureInPicture();
2758
- }, j = () => {
2759
+ }, se = () => {
2759
2760
  if (document.fullscreenElement)
2760
2761
  return document.exitFullscreen();
2761
- N.current?.requestFullscreen();
2762
- }, ie = async () => {
2763
- we(!1), b.current?.paused ? await b.current?.play() : await b.current?.pause();
2764
- }, be = (E) => {
2762
+ y.current?.requestFullscreen();
2763
+ }, z = async () => {
2764
+ re(!1), b.current?.paused ? await b.current?.play() : await b.current?.pause();
2765
+ }, de = (E) => {
2765
2766
  b.current && (b.current.volume = E);
2766
- }, Fe = () => {
2767
+ }, Oe = () => {
2767
2768
  if (b.current)
2768
2769
  return b.current.volume;
2769
2770
  };
2770
- return /* @__PURE__ */ ge("div", { css: ya, ref: N, children: [
2771
+ return /* @__PURE__ */ he("div", { css: ya, ref: y, children: [
2771
2772
  /* @__PURE__ */ p(
2772
2773
  "video",
2773
2774
  {
2774
2775
  ref: (E) => {
2775
2776
  typeof h == "function" && h(E), h && "current" in h && (h.current = E), b.current = E ?? void 0, _(b.current);
2776
2777
  },
2777
- onWaiting: ne,
2778
- onSeeking: Ce,
2779
- onSeeked: ke,
2780
- onTimeUpdate: _e,
2781
- onPlay: ve(!0),
2782
- onPause: ve(!1)
2778
+ onWaiting: Q,
2779
+ onSeeking: Re,
2780
+ onSeeked: Ne,
2781
+ onTimeUpdate: Te,
2782
+ onPlay: fe(!0),
2783
+ onPause: fe(!1)
2783
2784
  }
2784
2785
  ),
2785
2786
  /* @__PURE__ */ p(
@@ -2787,22 +2788,23 @@ overflow: hidden;
2787
2788
  {
2788
2789
  className: "chrome",
2789
2790
  customOverlay: e,
2790
- isPlaying: S,
2791
+ publicPath: o,
2792
+ isPlaying: k,
2791
2793
  video: b,
2792
- needsInitialInteraction: X,
2793
- loading: y,
2794
- duration: ue,
2794
+ needsInitialInteraction: ie,
2795
+ loading: N,
2796
+ duration: Ce,
2795
2797
  currentTime: I,
2796
- loadedTime: J,
2797
- pictureInPicture: Se,
2798
- fullscreen: j,
2799
- play: ie,
2800
- seek: $e,
2801
- getVolume: Fe,
2802
- setVolume: be,
2803
- attachments: z,
2804
- tracks: Oe,
2805
- errors: Ae,
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,
2806
2808
  customControls: i,
2807
2809
  libassWorkerUrl: v,
2808
2810
  wasmUrl: l
@@ -2811,5 +2813,5 @@ overflow: hidden;
2811
2813
  ] });
2812
2814
  });
2813
2815
  export {
2814
- Ra as default
2816
+ Ca as default
2815
2817
  };