@halibegic/react-video-player 0.0.11 → 0.0.13

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.
@@ -1,7 +1,7 @@
1
- import Re, { useLayoutEffect as vo, useEffect as te, useRef as Y, useState as X, createContext as Nn, useContext as Zt, useDebugValue as mn, createElement as wo, forwardRef as yt, useCallback as B } from "react";
2
- import { create as $n, useStore as Hn } from "zustand";
1
+ import Re, { useLayoutEffect as vo, useEffect as te, useRef as q, useState as Y, createContext as Nn, useContext as Zt, useDebugValue as mn, createElement as wo, forwardRef as yt, useCallback as z } from "react";
2
+ import { create as Hn, useStore as $n } from "zustand";
3
3
  import * as vt from "@radix-ui/react-slider";
4
- import Ce from "hls.js";
4
+ import he from "hls.js";
5
5
  import * as Qe from "@radix-ui/react-dropdown-menu";
6
6
  var nt = { exports: {} }, Ge = {};
7
7
  /**
@@ -17,13 +17,13 @@ var gn;
17
17
  function bo() {
18
18
  if (gn) return Ge;
19
19
  gn = 1;
20
- var e = Re, t = Symbol.for("react.element"), n = Symbol.for("react.fragment"), r = Object.prototype.hasOwnProperty, i = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, a = { key: !0, ref: !0, __self: !0, __source: !0 };
21
- function l(u, c, d) {
22
- var p, m = {}, w = null, v = null;
23
- d !== void 0 && (w = "" + d), c.key !== void 0 && (w = "" + c.key), c.ref !== void 0 && (v = c.ref);
24
- for (p in c) r.call(c, p) && !a.hasOwnProperty(p) && (m[p] = c[p]);
25
- if (u && u.defaultProps) for (p in c = u.defaultProps, c) m[p] === void 0 && (m[p] = c[p]);
26
- return { $$typeof: t, type: u, key: w, ref: v, props: m, _owner: i.current };
20
+ var e = Re, t = Symbol.for("react.element"), n = Symbol.for("react.fragment"), r = Object.prototype.hasOwnProperty, i = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, s = { key: !0, ref: !0, __self: !0, __source: !0 };
21
+ function l(c, u, d) {
22
+ var p, h = {}, b = null, x = null;
23
+ d !== void 0 && (b = "" + d), u.key !== void 0 && (b = "" + u.key), u.ref !== void 0 && (x = u.ref);
24
+ for (p in u) r.call(u, p) && !s.hasOwnProperty(p) && (h[p] = u[p]);
25
+ if (c && c.defaultProps) for (p in u = c.defaultProps, u) h[p] === void 0 && (h[p] = u[p]);
26
+ return { $$typeof: t, type: c, key: b, ref: x, props: h, _owner: i.current };
27
27
  }
28
28
  return Ge.Fragment = n, Ge.jsx = l, Ge.jsxs = l, Ge;
29
29
  }
@@ -40,54 +40,54 @@ var Xe = {};
40
40
  var yn;
41
41
  function xo() {
42
42
  return yn || (yn = 1, process.env.NODE_ENV !== "production" && (function() {
43
- var e = Re, t = Symbol.for("react.element"), n = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), a = Symbol.for("react.profiler"), l = Symbol.for("react.provider"), u = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), d = Symbol.for("react.suspense"), p = Symbol.for("react.suspense_list"), m = Symbol.for("react.memo"), w = Symbol.for("react.lazy"), v = Symbol.for("react.offscreen"), T = Symbol.iterator, E = "@@iterator";
44
- function M(o) {
43
+ var e = Re, t = Symbol.for("react.element"), n = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), s = Symbol.for("react.profiler"), l = Symbol.for("react.provider"), c = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), d = Symbol.for("react.suspense"), p = Symbol.for("react.suspense_list"), h = Symbol.for("react.memo"), b = Symbol.for("react.lazy"), x = Symbol.for("react.offscreen"), R = Symbol.iterator, L = "@@iterator";
44
+ function T(o) {
45
45
  if (o === null || typeof o != "object")
46
46
  return null;
47
- var f = T && o[T] || o[E];
47
+ var f = R && o[R] || o[L];
48
48
  return typeof f == "function" ? f : null;
49
49
  }
50
- var P = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
51
- function b(o) {
50
+ var E = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
51
+ function v(o) {
52
52
  {
53
- for (var f = arguments.length, y = new Array(f > 1 ? f - 1 : 0), S = 1; S < f; S++)
54
- y[S - 1] = arguments[S];
55
- h("error", o, y);
53
+ for (var f = arguments.length, g = new Array(f > 1 ? f - 1 : 0), C = 1; C < f; C++)
54
+ g[C - 1] = arguments[C];
55
+ w("error", o, g);
56
56
  }
57
57
  }
58
- function h(o, f, y) {
58
+ function w(o, f, g) {
59
59
  {
60
- var S = P.ReactDebugCurrentFrame, A = S.getStackAddendum();
61
- A !== "" && (f += "%s", y = y.concat([A]));
62
- var F = y.map(function(j) {
63
- return String(j);
60
+ var C = E.ReactDebugCurrentFrame, O = C.getStackAddendum();
61
+ O !== "" && (f += "%s", g = g.concat([O]));
62
+ var M = g.map(function(_) {
63
+ return String(_);
64
64
  });
65
- F.unshift("Warning: " + f), Function.prototype.apply.call(console[o], console, F);
65
+ M.unshift("Warning: " + f), Function.prototype.apply.call(console[o], console, M);
66
66
  }
67
67
  }
68
- var L = !1, D = !1, C = !1, x = !1, U = !1, J;
68
+ var y = !1, I = !1, k = !1, S = !1, W = !1, J;
69
69
  J = Symbol.for("react.module.reference");
70
- function I(o) {
71
- return !!(typeof o == "string" || typeof o == "function" || o === r || o === a || U || o === i || o === d || o === p || x || o === v || L || D || C || typeof o == "object" && o !== null && (o.$$typeof === w || o.$$typeof === m || o.$$typeof === l || o.$$typeof === u || o.$$typeof === c || // This needs to include all possible module reference object
70
+ function A(o) {
71
+ return !!(typeof o == "string" || typeof o == "function" || o === r || o === s || W || o === i || o === d || o === p || S || o === x || y || I || k || typeof o == "object" && o !== null && (o.$$typeof === b || o.$$typeof === h || o.$$typeof === l || o.$$typeof === c || o.$$typeof === u || // This needs to include all possible module reference object
72
72
  // types supported by any Flight configuration anywhere since
73
73
  // we don't know which Flight build this will end up being used
74
74
  // with.
75
75
  o.$$typeof === J || o.getModuleId !== void 0));
76
76
  }
77
- function _e(o, f, y) {
78
- var S = o.displayName;
79
- if (S)
80
- return S;
81
- var A = f.displayName || f.name || "";
82
- return A !== "" ? y + "(" + A + ")" : y;
77
+ function _e(o, f, g) {
78
+ var C = o.displayName;
79
+ if (C)
80
+ return C;
81
+ var O = f.displayName || f.name || "";
82
+ return O !== "" ? g + "(" + O + ")" : g;
83
83
  }
84
84
  function fe(o) {
85
85
  return o.displayName || "Context";
86
86
  }
87
- function q(o) {
87
+ function Z(o) {
88
88
  if (o == null)
89
89
  return null;
90
- if (typeof o.tag == "number" && b("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof o == "function")
90
+ if (typeof o.tag == "number" && v("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof o == "function")
91
91
  return o.displayName || o.name || null;
92
92
  if (typeof o == "string")
93
93
  return o;
@@ -96,7 +96,7 @@ function xo() {
96
96
  return "Fragment";
97
97
  case n:
98
98
  return "Portal";
99
- case a:
99
+ case s:
100
100
  return "Profiler";
101
101
  case i:
102
102
  return "StrictMode";
@@ -107,21 +107,21 @@ function xo() {
107
107
  }
108
108
  if (typeof o == "object")
109
109
  switch (o.$$typeof) {
110
- case u:
110
+ case c:
111
111
  var f = o;
112
112
  return fe(f) + ".Consumer";
113
113
  case l:
114
- var y = o;
115
- return fe(y._context) + ".Provider";
116
- case c:
114
+ var g = o;
115
+ return fe(g._context) + ".Provider";
116
+ case u:
117
117
  return _e(o, o.render, "ForwardRef");
118
- case m:
119
- var S = o.displayName || null;
120
- return S !== null ? S : q(o.type) || "Memo";
121
- case w: {
122
- var A = o, F = A._payload, j = A._init;
118
+ case h:
119
+ var C = o.displayName || null;
120
+ return C !== null ? C : Z(o.type) || "Memo";
121
+ case b: {
122
+ var O = o, M = O._payload, _ = O._init;
123
123
  try {
124
- return q(j(F));
124
+ return Z(_(M));
125
125
  } catch {
126
126
  return null;
127
127
  }
@@ -129,14 +129,14 @@ function xo() {
129
129
  }
130
130
  return null;
131
131
  }
132
- var ne = Object.assign, ue = 0, xe, K, Ye, re, me, ge, Z;
132
+ var ne = Object.assign, ue = 0, Se, K, Ye, re, ge, ye, G;
133
133
  function Ie() {
134
134
  }
135
135
  Ie.__reactDisabledLog = !0;
136
136
  function qe() {
137
137
  {
138
138
  if (ue === 0) {
139
- xe = console.log, K = console.info, Ye = console.warn, re = console.error, me = console.group, ge = console.groupCollapsed, Z = console.groupEnd;
139
+ Se = console.log, K = console.info, Ye = console.warn, re = console.error, ge = console.group, ye = console.groupCollapsed, G = console.groupEnd;
140
140
  var o = {
141
141
  configurable: !0,
142
142
  enumerable: !0,
@@ -166,7 +166,7 @@ function xo() {
166
166
  };
167
167
  Object.defineProperties(console, {
168
168
  log: ne({}, o, {
169
- value: xe
169
+ value: Se
170
170
  }),
171
171
  info: ne({}, o, {
172
172
  value: K
@@ -178,117 +178,117 @@ function xo() {
178
178
  value: re
179
179
  }),
180
180
  group: ne({}, o, {
181
- value: me
181
+ value: ge
182
182
  }),
183
183
  groupCollapsed: ne({}, o, {
184
- value: ge
184
+ value: ye
185
185
  }),
186
186
  groupEnd: ne({}, o, {
187
- value: Z
187
+ value: G
188
188
  })
189
189
  });
190
190
  }
191
- ue < 0 && b("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
191
+ ue < 0 && v("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
192
192
  }
193
193
  }
194
- var pe = P.ReactCurrentDispatcher, ye;
195
- function se(o, f, y) {
194
+ var pe = E.ReactCurrentDispatcher, ve;
195
+ function se(o, f, g) {
196
196
  {
197
- if (ye === void 0)
197
+ if (ve === void 0)
198
198
  try {
199
199
  throw Error();
200
- } catch (A) {
201
- var S = A.stack.trim().match(/\n( *(at )?)/);
202
- ye = S && S[1] || "";
200
+ } catch (O) {
201
+ var C = O.stack.trim().match(/\n( *(at )?)/);
202
+ ve = C && C[1] || "";
203
203
  }
204
204
  return `
205
- ` + ye + o;
205
+ ` + ve + o;
206
206
  }
207
207
  }
208
- var ae = !1, ve;
208
+ var ae = !1, we;
209
209
  {
210
210
  var Ae = typeof WeakMap == "function" ? WeakMap : Map;
211
- ve = new Ae();
211
+ we = new Ae();
212
212
  }
213
213
  function ce(o, f) {
214
214
  if (!o || ae)
215
215
  return "";
216
216
  {
217
- var y = ve.get(o);
218
- if (y !== void 0)
219
- return y;
217
+ var g = we.get(o);
218
+ if (g !== void 0)
219
+ return g;
220
220
  }
221
- var S;
221
+ var C;
222
222
  ae = !0;
223
- var A = Error.prepareStackTrace;
223
+ var O = Error.prepareStackTrace;
224
224
  Error.prepareStackTrace = void 0;
225
- var F;
226
- F = pe.current, pe.current = null, qe();
225
+ var M;
226
+ M = pe.current, pe.current = null, qe();
227
227
  try {
228
228
  if (f) {
229
- var j = function() {
229
+ var _ = function() {
230
230
  throw Error();
231
231
  };
232
- if (Object.defineProperty(j.prototype, "props", {
232
+ if (Object.defineProperty(_.prototype, "props", {
233
233
  set: function() {
234
234
  throw Error();
235
235
  }
236
236
  }), typeof Reflect == "object" && Reflect.construct) {
237
237
  try {
238
- Reflect.construct(j, []);
238
+ Reflect.construct(_, []);
239
239
  } catch (Q) {
240
- S = Q;
240
+ C = Q;
241
241
  }
242
- Reflect.construct(o, [], j);
242
+ Reflect.construct(o, [], _);
243
243
  } else {
244
244
  try {
245
- j.call();
245
+ _.call();
246
246
  } catch (Q) {
247
- S = Q;
247
+ C = Q;
248
248
  }
249
- o.call(j.prototype);
249
+ o.call(_.prototype);
250
250
  }
251
251
  } else {
252
252
  try {
253
253
  throw Error();
254
254
  } catch (Q) {
255
- S = Q;
255
+ C = Q;
256
256
  }
257
257
  o();
258
258
  }
259
259
  } catch (Q) {
260
- if (Q && S && typeof Q.stack == "string") {
261
- for (var R = Q.stack.split(`
262
- `), G = S.stack.split(`
263
- `), N = R.length - 1, $ = G.length - 1; N >= 1 && $ >= 0 && R[N] !== G[$]; )
264
- $--;
265
- for (; N >= 1 && $ >= 0; N--, $--)
266
- if (R[N] !== G[$]) {
267
- if (N !== 1 || $ !== 1)
260
+ if (Q && C && typeof Q.stack == "string") {
261
+ for (var j = Q.stack.split(`
262
+ `), X = C.stack.split(`
263
+ `), N = j.length - 1, H = X.length - 1; N >= 1 && H >= 0 && j[N] !== X[H]; )
264
+ H--;
265
+ for (; N >= 1 && H >= 0; N--, H--)
266
+ if (j[N] !== X[H]) {
267
+ if (N !== 1 || H !== 1)
268
268
  do
269
- if (N--, $--, $ < 0 || R[N] !== G[$]) {
269
+ if (N--, H--, H < 0 || j[N] !== X[H]) {
270
270
  var oe = `
271
- ` + R[N].replace(" at new ", " at ");
272
- return o.displayName && oe.includes("<anonymous>") && (oe = oe.replace("<anonymous>", o.displayName)), typeof o == "function" && ve.set(o, oe), oe;
271
+ ` + j[N].replace(" at new ", " at ");
272
+ return o.displayName && oe.includes("<anonymous>") && (oe = oe.replace("<anonymous>", o.displayName)), typeof o == "function" && we.set(o, oe), oe;
273
273
  }
274
- while (N >= 1 && $ >= 0);
274
+ while (N >= 1 && H >= 0);
275
275
  break;
276
276
  }
277
277
  }
278
278
  } finally {
279
- ae = !1, pe.current = F, De(), Error.prepareStackTrace = A;
279
+ ae = !1, pe.current = M, De(), Error.prepareStackTrace = O;
280
280
  }
281
- var Fe = o ? o.displayName || o.name : "", Se = Fe ? se(Fe) : "";
282
- return typeof o == "function" && ve.set(o, Se), Se;
281
+ var Fe = o ? o.displayName || o.name : "", Ce = Fe ? se(Fe) : "";
282
+ return typeof o == "function" && we.set(o, Ce), Ce;
283
283
  }
284
- function qr(o, f, y) {
284
+ function qr(o, f, g) {
285
285
  return ce(o, !1);
286
286
  }
287
287
  function Zr(o) {
288
288
  var f = o.prototype;
289
289
  return !!(f && f.isReactComponent);
290
290
  }
291
- function et(o, f, y) {
291
+ function et(o, f, g) {
292
292
  if (o == null)
293
293
  return "";
294
294
  if (typeof o == "function")
@@ -303,55 +303,55 @@ function xo() {
303
303
  }
304
304
  if (typeof o == "object")
305
305
  switch (o.$$typeof) {
306
- case c:
306
+ case u:
307
307
  return qr(o.render);
308
- case m:
309
- return et(o.type, f, y);
310
- case w: {
311
- var S = o, A = S._payload, F = S._init;
308
+ case h:
309
+ return et(o.type, f, g);
310
+ case b: {
311
+ var C = o, O = C._payload, M = C._init;
312
312
  try {
313
- return et(F(A), f, y);
313
+ return et(M(O), f, g);
314
314
  } catch {
315
315
  }
316
316
  }
317
317
  }
318
318
  return "";
319
319
  }
320
- var Ze = Object.prototype.hasOwnProperty, en = {}, tn = P.ReactDebugCurrentFrame;
320
+ var Ze = Object.prototype.hasOwnProperty, en = {}, tn = E.ReactDebugCurrentFrame;
321
321
  function tt(o) {
322
322
  if (o) {
323
- var f = o._owner, y = et(o.type, o._source, f ? f.type : null);
324
- tn.setExtraStackFrame(y);
323
+ var f = o._owner, g = et(o.type, o._source, f ? f.type : null);
324
+ tn.setExtraStackFrame(g);
325
325
  } else
326
326
  tn.setExtraStackFrame(null);
327
327
  }
328
- function Gr(o, f, y, S, A) {
328
+ function Gr(o, f, g, C, O) {
329
329
  {
330
- var F = Function.call.bind(Ze);
331
- for (var j in o)
332
- if (F(o, j)) {
333
- var R = void 0;
330
+ var M = Function.call.bind(Ze);
331
+ for (var _ in o)
332
+ if (M(o, _)) {
333
+ var j = void 0;
334
334
  try {
335
- if (typeof o[j] != "function") {
336
- var G = Error((S || "React class") + ": " + y + " type `" + j + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof o[j] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
337
- throw G.name = "Invariant Violation", G;
335
+ if (typeof o[_] != "function") {
336
+ var X = Error((C || "React class") + ": " + g + " type `" + _ + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof o[_] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
337
+ throw X.name = "Invariant Violation", X;
338
338
  }
339
- R = o[j](f, j, S, y, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
339
+ j = o[_](f, _, C, g, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
340
340
  } catch (N) {
341
- R = N;
341
+ j = N;
342
342
  }
343
- R && !(R instanceof Error) && (tt(A), b("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", S || "React class", y, j, typeof R), tt(null)), R instanceof Error && !(R.message in en) && (en[R.message] = !0, tt(A), b("Failed %s type: %s", y, R.message), tt(null));
343
+ j && !(j instanceof Error) && (tt(O), v("%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).", C || "React class", g, _, typeof j), tt(null)), j instanceof Error && !(j.message in en) && (en[j.message] = !0, tt(O), v("Failed %s type: %s", g, j.message), tt(null));
344
344
  }
345
345
  }
346
346
  }
347
347
  var Xr = Array.isArray;
348
- function Pt(o) {
348
+ function Tt(o) {
349
349
  return Xr(o);
350
350
  }
351
351
  function Jr(o) {
352
352
  {
353
- var f = typeof Symbol == "function" && Symbol.toStringTag, y = f && o[Symbol.toStringTag] || o.constructor.name || "Object";
354
- return y;
353
+ var f = typeof Symbol == "function" && Symbol.toStringTag, g = f && o[Symbol.toStringTag] || o.constructor.name || "Object";
354
+ return g;
355
355
  }
356
356
  }
357
357
  function Kr(o) {
@@ -366,9 +366,9 @@ function xo() {
366
366
  }
367
367
  function rn(o) {
368
368
  if (Kr(o))
369
- return b("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Jr(o)), nn(o);
369
+ return v("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Jr(o)), nn(o);
370
370
  }
371
- var on = P.ReactCurrentOwner, Qr = {
371
+ var on = E.ReactCurrentOwner, Qr = {
372
372
  key: !0,
373
373
  ref: !0,
374
374
  __self: !0,
@@ -395,78 +395,78 @@ function xo() {
395
395
  }
396
396
  function ro(o, f) {
397
397
  {
398
- var y = function() {
399
- sn || (sn = !0, b("%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)", f));
398
+ var g = function() {
399
+ sn || (sn = !0, v("%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)", f));
400
400
  };
401
- y.isReactWarning = !0, Object.defineProperty(o, "key", {
402
- get: y,
401
+ g.isReactWarning = !0, Object.defineProperty(o, "key", {
402
+ get: g,
403
403
  configurable: !0
404
404
  });
405
405
  }
406
406
  }
407
407
  function oo(o, f) {
408
408
  {
409
- var y = function() {
410
- an || (an = !0, b("%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)", f));
409
+ var g = function() {
410
+ an || (an = !0, v("%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)", f));
411
411
  };
412
- y.isReactWarning = !0, Object.defineProperty(o, "ref", {
413
- get: y,
412
+ g.isReactWarning = !0, Object.defineProperty(o, "ref", {
413
+ get: g,
414
414
  configurable: !0
415
415
  });
416
416
  }
417
417
  }
418
- var io = function(o, f, y, S, A, F, j) {
419
- var R = {
418
+ var io = function(o, f, g, C, O, M, _) {
419
+ var j = {
420
420
  // This tag allows us to uniquely identify this as a React Element
421
421
  $$typeof: t,
422
422
  // Built-in properties that belong on the element
423
423
  type: o,
424
424
  key: f,
425
- ref: y,
426
- props: j,
425
+ ref: g,
426
+ props: _,
427
427
  // Record the component responsible for creating this element.
428
- _owner: F
428
+ _owner: M
429
429
  };
430
- return R._store = {}, Object.defineProperty(R._store, "validated", {
430
+ return j._store = {}, Object.defineProperty(j._store, "validated", {
431
431
  configurable: !1,
432
432
  enumerable: !1,
433
433
  writable: !0,
434
434
  value: !1
435
- }), Object.defineProperty(R, "_self", {
435
+ }), Object.defineProperty(j, "_self", {
436
436
  configurable: !1,
437
437
  enumerable: !1,
438
438
  writable: !1,
439
- value: S
440
- }), Object.defineProperty(R, "_source", {
439
+ value: C
440
+ }), Object.defineProperty(j, "_source", {
441
441
  configurable: !1,
442
442
  enumerable: !1,
443
443
  writable: !1,
444
- value: A
445
- }), Object.freeze && (Object.freeze(R.props), Object.freeze(R)), R;
444
+ value: O
445
+ }), Object.freeze && (Object.freeze(j.props), Object.freeze(j)), j;
446
446
  };
447
- function so(o, f, y, S, A) {
447
+ function so(o, f, g, C, O) {
448
448
  {
449
- var F, j = {}, R = null, G = null;
450
- y !== void 0 && (rn(y), R = "" + y), to(f) && (rn(f.key), R = "" + f.key), eo(f) && (G = f.ref, no(f, A));
451
- for (F in f)
452
- Ze.call(f, F) && !Qr.hasOwnProperty(F) && (j[F] = f[F]);
449
+ var M, _ = {}, j = null, X = null;
450
+ g !== void 0 && (rn(g), j = "" + g), to(f) && (rn(f.key), j = "" + f.key), eo(f) && (X = f.ref, no(f, O));
451
+ for (M in f)
452
+ Ze.call(f, M) && !Qr.hasOwnProperty(M) && (_[M] = f[M]);
453
453
  if (o && o.defaultProps) {
454
454
  var N = o.defaultProps;
455
- for (F in N)
456
- j[F] === void 0 && (j[F] = N[F]);
455
+ for (M in N)
456
+ _[M] === void 0 && (_[M] = N[M]);
457
457
  }
458
- if (R || G) {
459
- var $ = typeof o == "function" ? o.displayName || o.name || "Unknown" : o;
460
- R && ro(j, $), G && oo(j, $);
458
+ if (j || X) {
459
+ var H = typeof o == "function" ? o.displayName || o.name || "Unknown" : o;
460
+ j && ro(_, H), X && oo(_, H);
461
461
  }
462
- return io(o, R, G, A, S, on.current, j);
462
+ return io(o, j, X, O, C, on.current, _);
463
463
  }
464
464
  }
465
- var Rt = P.ReactCurrentOwner, cn = P.ReactDebugCurrentFrame;
465
+ var Rt = E.ReactCurrentOwner, cn = E.ReactDebugCurrentFrame;
466
466
  function Oe(o) {
467
467
  if (o) {
468
- var f = o._owner, y = et(o.type, o._source, f ? f.type : null);
469
- cn.setExtraStackFrame(y);
468
+ var f = o._owner, g = et(o.type, o._source, f ? f.type : null);
469
+ cn.setExtraStackFrame(g);
470
470
  } else
471
471
  cn.setExtraStackFrame(null);
472
472
  }
@@ -478,7 +478,7 @@ function xo() {
478
478
  function ln() {
479
479
  {
480
480
  if (Rt.current) {
481
- var o = q(Rt.current.type);
481
+ var o = Z(Rt.current.type);
482
482
  if (o)
483
483
  return `
484
484
 
@@ -495,10 +495,10 @@ Check the render method of \`` + o + "`.";
495
495
  {
496
496
  var f = ln();
497
497
  if (!f) {
498
- var y = typeof o == "string" ? o : o.displayName || o.name;
499
- y && (f = `
498
+ var g = typeof o == "string" ? o : o.displayName || o.name;
499
+ g && (f = `
500
500
 
501
- Check the top-level render call using <` + y + ">.");
501
+ Check the top-level render call using <` + g + ">.");
502
502
  }
503
503
  return f;
504
504
  }
@@ -508,30 +508,30 @@ Check the top-level render call using <` + y + ">.");
508
508
  if (!o._store || o._store.validated || o.key != null)
509
509
  return;
510
510
  o._store.validated = !0;
511
- var y = co(f);
512
- if (un[y])
511
+ var g = co(f);
512
+ if (un[g])
513
513
  return;
514
- un[y] = !0;
515
- var S = "";
516
- o && o._owner && o._owner !== Rt.current && (S = " It was passed a child from " + q(o._owner.type) + "."), Oe(o), b('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', y, S), Oe(null);
514
+ un[g] = !0;
515
+ var C = "";
516
+ o && o._owner && o._owner !== Rt.current && (C = " It was passed a child from " + Z(o._owner.type) + "."), Oe(o), v('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', g, C), Oe(null);
517
517
  }
518
518
  }
519
519
  function fn(o, f) {
520
520
  {
521
521
  if (typeof o != "object")
522
522
  return;
523
- if (Pt(o))
524
- for (var y = 0; y < o.length; y++) {
525
- var S = o[y];
526
- Lt(S) && dn(S, f);
523
+ if (Tt(o))
524
+ for (var g = 0; g < o.length; g++) {
525
+ var C = o[g];
526
+ Lt(C) && dn(C, f);
527
527
  }
528
528
  else if (Lt(o))
529
529
  o._store && (o._store.validated = !0);
530
530
  else if (o) {
531
- var A = M(o);
532
- if (typeof A == "function" && A !== o.entries)
533
- for (var F = A.call(o), j; !(j = F.next()).done; )
534
- Lt(j.value) && dn(j.value, f);
531
+ var O = T(o);
532
+ if (typeof O == "function" && O !== o.entries)
533
+ for (var M = O.call(o), _; !(_ = M.next()).done; )
534
+ Lt(_.value) && dn(_.value, f);
535
535
  }
536
536
  }
537
537
  }
@@ -540,88 +540,88 @@ Check the top-level render call using <` + y + ">.");
540
540
  var f = o.type;
541
541
  if (f == null || typeof f == "string")
542
542
  return;
543
- var y;
543
+ var g;
544
544
  if (typeof f == "function")
545
- y = f.propTypes;
546
- else if (typeof f == "object" && (f.$$typeof === c || // Note: Memo only checks outer props here.
545
+ g = f.propTypes;
546
+ else if (typeof f == "object" && (f.$$typeof === u || // Note: Memo only checks outer props here.
547
547
  // Inner props are checked in the reconciler.
548
- f.$$typeof === m))
549
- y = f.propTypes;
548
+ f.$$typeof === h))
549
+ g = f.propTypes;
550
550
  else
551
551
  return;
552
- if (y) {
553
- var S = q(f);
554
- Gr(y, o.props, "prop", S, o);
552
+ if (g) {
553
+ var C = Z(f);
554
+ Gr(g, o.props, "prop", C, o);
555
555
  } else if (f.PropTypes !== void 0 && !jt) {
556
556
  jt = !0;
557
- var A = q(f);
558
- b("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", A || "Unknown");
557
+ var O = Z(f);
558
+ v("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", O || "Unknown");
559
559
  }
560
- typeof f.getDefaultProps == "function" && !f.getDefaultProps.isReactClassApproved && b("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
560
+ typeof f.getDefaultProps == "function" && !f.getDefaultProps.isReactClassApproved && v("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
561
561
  }
562
562
  }
563
563
  function uo(o) {
564
564
  {
565
- for (var f = Object.keys(o.props), y = 0; y < f.length; y++) {
566
- var S = f[y];
567
- if (S !== "children" && S !== "key") {
568
- Oe(o), b("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", S), Oe(null);
565
+ for (var f = Object.keys(o.props), g = 0; g < f.length; g++) {
566
+ var C = f[g];
567
+ if (C !== "children" && C !== "key") {
568
+ Oe(o), v("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", C), Oe(null);
569
569
  break;
570
570
  }
571
571
  }
572
- o.ref !== null && (Oe(o), b("Invalid attribute `ref` supplied to `React.Fragment`."), Oe(null));
572
+ o.ref !== null && (Oe(o), v("Invalid attribute `ref` supplied to `React.Fragment`."), Oe(null));
573
573
  }
574
574
  }
575
575
  var pn = {};
576
- function hn(o, f, y, S, A, F) {
576
+ function hn(o, f, g, C, O, M) {
577
577
  {
578
- var j = I(o);
579
- if (!j) {
580
- var R = "";
581
- (o === void 0 || typeof o == "object" && o !== null && Object.keys(o).length === 0) && (R += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
582
- var G = ao();
583
- G ? R += G : R += ln();
578
+ var _ = A(o);
579
+ if (!_) {
580
+ var j = "";
581
+ (o === void 0 || typeof o == "object" && o !== null && Object.keys(o).length === 0) && (j += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
582
+ var X = ao();
583
+ X ? j += X : j += ln();
584
584
  var N;
585
- o === null ? N = "null" : Pt(o) ? N = "array" : o !== void 0 && o.$$typeof === t ? (N = "<" + (q(o.type) || "Unknown") + " />", R = " Did you accidentally export a JSX literal instead of a component?") : N = typeof o, b("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", N, R);
585
+ o === null ? N = "null" : Tt(o) ? N = "array" : o !== void 0 && o.$$typeof === t ? (N = "<" + (Z(o.type) || "Unknown") + " />", j = " Did you accidentally export a JSX literal instead of a component?") : N = typeof o, v("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", N, j);
586
586
  }
587
- var $ = so(o, f, y, A, F);
588
- if ($ == null)
589
- return $;
590
- if (j) {
587
+ var H = so(o, f, g, O, M);
588
+ if (H == null)
589
+ return H;
590
+ if (_) {
591
591
  var oe = f.children;
592
592
  if (oe !== void 0)
593
- if (S)
594
- if (Pt(oe)) {
593
+ if (C)
594
+ if (Tt(oe)) {
595
595
  for (var Fe = 0; Fe < oe.length; Fe++)
596
596
  fn(oe[Fe], o);
597
597
  Object.freeze && Object.freeze(oe);
598
598
  } else
599
- b("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
599
+ v("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
600
600
  else
601
601
  fn(oe, o);
602
602
  }
603
603
  if (Ze.call(f, "key")) {
604
- var Se = q(o), Q = Object.keys(f).filter(function(yo) {
604
+ var Ce = Z(o), Q = Object.keys(f).filter(function(yo) {
605
605
  return yo !== "key";
606
606
  }), _t = Q.length > 0 ? "{key: someKey, " + Q.join(": ..., ") + ": ...}" : "{key: someKey}";
607
- if (!pn[Se + _t]) {
607
+ if (!pn[Ce + _t]) {
608
608
  var go = Q.length > 0 ? "{" + Q.join(": ..., ") + ": ...}" : "{}";
609
- b(`A props object containing a "key" prop is being spread into JSX:
609
+ v(`A props object containing a "key" prop is being spread into JSX:
610
610
  let props = %s;
611
611
  <%s {...props} />
612
612
  React keys must be passed directly to JSX without using spread:
613
613
  let props = %s;
614
- <%s key={someKey} {...props} />`, _t, Se, go, Se), pn[Se + _t] = !0;
614
+ <%s key={someKey} {...props} />`, _t, Ce, go, Ce), pn[Ce + _t] = !0;
615
615
  }
616
616
  }
617
- return o === r ? uo($) : lo($), $;
617
+ return o === r ? uo(H) : lo(H), H;
618
618
  }
619
619
  }
620
- function fo(o, f, y) {
621
- return hn(o, f, y, !0);
620
+ function fo(o, f, g) {
621
+ return hn(o, f, g, !0);
622
622
  }
623
- function po(o, f, y) {
624
- return hn(o, f, y, !1);
623
+ function po(o, f, g) {
624
+ return hn(o, f, g, !1);
625
625
  }
626
626
  var ho = po, mo = fo;
627
627
  Xe.Fragment = r, Xe.jsx = ho, Xe.jsxs = mo;
@@ -631,10 +631,10 @@ var vn;
631
631
  function So() {
632
632
  return vn || (vn = 1, process.env.NODE_ENV === "production" ? nt.exports = bo() : nt.exports = xo()), nt.exports;
633
633
  }
634
- var s = So();
634
+ var a = So();
635
635
  const Co = typeof window < "u" ? vo : te;
636
636
  function wt(e, t) {
637
- const n = Y(e);
637
+ const n = q(e);
638
638
  Co(() => {
639
639
  n.current = e;
640
640
  }, [e]), te(() => {
@@ -649,10 +649,10 @@ function wt(e, t) {
649
649
  }, [t]);
650
650
  }
651
651
  function ko(e) {
652
- const [, t] = X(0);
652
+ const [, t] = Y(0);
653
653
  wt(() => t((n) => n + 1), e);
654
654
  }
655
- const Eo = (e, t) => $n((n) => ({
655
+ const Eo = (e, t) => Hn((n) => ({
656
656
  delay: 0,
657
657
  startDate: e,
658
658
  endDate: t,
@@ -663,63 +663,63 @@ const Eo = (e, t) => $n((n) => ({
663
663
  setEndDate: (r) => n({ endDate: r })
664
664
  })), zn = Nn(
665
665
  null
666
- ), To = ({
666
+ ), Po = ({
667
667
  children: e,
668
668
  startDate: t,
669
669
  endDate: n
670
670
  }) => {
671
- const r = Y(
671
+ const r = q(
672
672
  null
673
673
  );
674
- return r.current || (r.current = Eo(t, n)), /* @__PURE__ */ s.jsx(zn.Provider, { value: r.current, children: e });
675
- }, W = (e) => {
674
+ return r.current || (r.current = Eo(t, n)), /* @__PURE__ */ a.jsx(zn.Provider, { value: r.current, children: e });
675
+ }, U = (e) => {
676
676
  const t = Zt(zn);
677
677
  if (!t)
678
678
  throw new Error("usePlayerStore must be used within PlayerStoreProvider");
679
- return Hn(t, e);
679
+ return $n(t, e);
680
680
  };
681
681
  var ee = function() {
682
682
  return ee = Object.assign || function(t) {
683
683
  for (var n, r = 1, i = arguments.length; r < i; r++) {
684
684
  n = arguments[r];
685
- for (var a in n) Object.prototype.hasOwnProperty.call(n, a) && (t[a] = n[a]);
685
+ for (var s in n) Object.prototype.hasOwnProperty.call(n, s) && (t[s] = n[s]);
686
686
  }
687
687
  return t;
688
688
  }, ee.apply(this, arguments);
689
689
  };
690
690
  function je(e, t, n) {
691
- if (n || arguments.length === 2) for (var r = 0, i = t.length, a; r < i; r++)
692
- (a || !(r in t)) && (a || (a = Array.prototype.slice.call(t, 0, r)), a[r] = t[r]);
693
- return e.concat(a || Array.prototype.slice.call(t));
691
+ if (n || arguments.length === 2) for (var r = 0, i = t.length, s; r < i; r++)
692
+ (s || !(r in t)) && (s || (s = Array.prototype.slice.call(t, 0, r)), s[r] = t[r]);
693
+ return e.concat(s || Array.prototype.slice.call(t));
694
694
  }
695
- function Po(e) {
695
+ function To(e) {
696
696
  var t = /* @__PURE__ */ Object.create(null);
697
697
  return function(n) {
698
698
  return t[n] === void 0 && (t[n] = e(n)), t[n];
699
699
  };
700
700
  }
701
- var Ro = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/, jo = /* @__PURE__ */ Po(
701
+ var Ro = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/, jo = /* @__PURE__ */ To(
702
702
  function(e) {
703
703
  return Ro.test(e) || e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && e.charCodeAt(2) < 91;
704
704
  }
705
705
  /* Z+1 */
706
- ), V = "-ms-", Ke = "-moz-", O = "-webkit-", Bn = "comm", bt = "rule", Gt = "decl", Lo = "@import", Un = "@keyframes", _o = "@layer", Wn = Math.abs, Xt = String.fromCharCode, Ft = Object.assign;
706
+ ), V = "-ms-", Ke = "-moz-", F = "-webkit-", Bn = "comm", bt = "rule", Gt = "decl", Lo = "@import", Un = "@keyframes", _o = "@layer", Wn = Math.abs, Xt = String.fromCharCode, Ft = Object.assign;
707
707
  function Io(e, t) {
708
- return z(e, 0) ^ 45 ? (((t << 2 ^ z(e, 0)) << 2 ^ z(e, 1)) << 2 ^ z(e, 2)) << 2 ^ z(e, 3) : 0;
708
+ return B(e, 0) ^ 45 ? (((t << 2 ^ B(e, 0)) << 2 ^ B(e, 1)) << 2 ^ B(e, 2)) << 2 ^ B(e, 3) : 0;
709
709
  }
710
710
  function Yn(e) {
711
711
  return e.trim();
712
712
  }
713
- function he(e, t) {
713
+ function me(e, t) {
714
714
  return (e = t.exec(e)) ? e[0] : e;
715
715
  }
716
- function k(e, t, n) {
716
+ function P(e, t, n) {
717
717
  return e.replace(t, n);
718
718
  }
719
719
  function at(e, t, n) {
720
720
  return e.indexOf(t, n);
721
721
  }
722
- function z(e, t) {
722
+ function B(e, t) {
723
723
  return e.charCodeAt(t) | 0;
724
724
  }
725
725
  function Ve(e, t, n) {
@@ -739,32 +739,32 @@ function Do(e, t) {
739
739
  }
740
740
  function wn(e, t) {
741
741
  return e.filter(function(n) {
742
- return !he(n, t);
742
+ return !me(n, t);
743
743
  });
744
744
  }
745
- var xt = 1, Ne = 1, Zn = 0, ie = 0, H = 0, Ue = "";
746
- function St(e, t, n, r, i, a, l, u) {
747
- return { value: e, root: t, parent: n, type: r, props: i, children: a, line: xt, column: Ne, length: l, return: "", siblings: u };
745
+ var xt = 1, Ne = 1, Zn = 0, ie = 0, $ = 0, Ue = "";
746
+ function St(e, t, n, r, i, s, l, c) {
747
+ return { value: e, root: t, parent: n, type: r, props: i, children: s, line: xt, column: Ne, length: l, return: "", siblings: c };
748
748
  }
749
- function we(e, t) {
749
+ function be(e, t) {
750
750
  return Ft(St("", null, null, "", null, null, 0, e.siblings), e, { length: -e.length }, t);
751
751
  }
752
752
  function Me(e) {
753
753
  for (; e.root; )
754
- e = we(e.root, { children: [e] });
754
+ e = be(e.root, { children: [e] });
755
755
  Je(e, e.siblings);
756
756
  }
757
757
  function Ao() {
758
- return H;
758
+ return $;
759
759
  }
760
760
  function Oo() {
761
- return H = ie > 0 ? z(Ue, --ie) : 0, Ne--, H === 10 && (Ne = 1, xt--), H;
761
+ return $ = ie > 0 ? B(Ue, --ie) : 0, Ne--, $ === 10 && (Ne = 1, xt--), $;
762
762
  }
763
763
  function le() {
764
- return H = ie < Zn ? z(Ue, ie++) : 0, Ne++, H === 10 && (Ne = 1, xt++), H;
764
+ return $ = ie < Zn ? B(Ue, ie++) : 0, Ne++, $ === 10 && (Ne = 1, xt++), $;
765
765
  }
766
- function Te() {
767
- return z(Ue, ie);
766
+ function Pe() {
767
+ return B(Ue, ie);
768
768
  }
769
769
  function ct() {
770
770
  return ie;
@@ -820,25 +820,25 @@ function It(e) {
820
820
  return Yn(Ct(ie - 1, Vt(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
821
821
  }
822
822
  function Vo(e) {
823
- for (; (H = Te()) && H < 33; )
823
+ for (; ($ = Pe()) && $ < 33; )
824
824
  le();
825
- return Mt(e) > 2 || Mt(H) > 3 ? "" : " ";
825
+ return Mt(e) > 2 || Mt($) > 3 ? "" : " ";
826
826
  }
827
827
  function No(e, t) {
828
- for (; --t && le() && !(H < 48 || H > 102 || H > 57 && H < 65 || H > 70 && H < 97); )
828
+ for (; --t && le() && !($ < 48 || $ > 102 || $ > 57 && $ < 65 || $ > 70 && $ < 97); )
829
829
  ;
830
- return Ct(e, ct() + (t < 6 && Te() == 32 && le() == 32));
830
+ return Ct(e, ct() + (t < 6 && Pe() == 32 && le() == 32));
831
831
  }
832
832
  function Vt(e) {
833
833
  for (; le(); )
834
- switch (H) {
834
+ switch ($) {
835
835
  // ] ) " '
836
836
  case e:
837
837
  return ie;
838
838
  // " '
839
839
  case 34:
840
840
  case 39:
841
- e !== 34 && e !== 39 && Vt(H);
841
+ e !== 34 && e !== 39 && Vt($);
842
842
  break;
843
843
  // (
844
844
  case 40:
@@ -851,131 +851,131 @@ function Vt(e) {
851
851
  }
852
852
  return ie;
853
853
  }
854
- function $o(e, t) {
855
- for (; le() && e + H !== 57; )
856
- if (e + H === 84 && Te() === 47)
854
+ function Ho(e, t) {
855
+ for (; le() && e + $ !== 57; )
856
+ if (e + $ === 84 && Pe() === 47)
857
857
  break;
858
858
  return "/*" + Ct(t, ie - 1) + "*" + Xt(e === 47 ? e : le());
859
859
  }
860
- function Ho(e) {
861
- for (; !Mt(Te()); )
860
+ function $o(e) {
861
+ for (; !Mt(Pe()); )
862
862
  le();
863
863
  return Ct(e, ie);
864
864
  }
865
865
  function zo(e) {
866
866
  return Mo(lt("", null, null, null, [""], e = Fo(e), 0, [0], e));
867
867
  }
868
- function lt(e, t, n, r, i, a, l, u, c) {
869
- for (var d = 0, p = 0, m = l, w = 0, v = 0, T = 0, E = 1, M = 1, P = 1, b = 0, h = "", L = i, D = a, C = r, x = h; M; )
870
- switch (T = b, b = le()) {
868
+ function lt(e, t, n, r, i, s, l, c, u) {
869
+ for (var d = 0, p = 0, h = l, b = 0, x = 0, R = 0, L = 1, T = 1, E = 1, v = 0, w = "", y = i, I = s, k = r, S = w; T; )
870
+ switch (R = v, v = le()) {
871
871
  // (
872
872
  case 40:
873
- if (T != 108 && z(x, m - 1) == 58) {
874
- at(x += k(It(b), "&", "&\f"), "&\f", Wn(d ? u[d - 1] : 0)) != -1 && (P = -1);
873
+ if (R != 108 && B(S, h - 1) == 58) {
874
+ at(S += P(It(v), "&", "&\f"), "&\f", Wn(d ? c[d - 1] : 0)) != -1 && (E = -1);
875
875
  break;
876
876
  }
877
877
  // " ' [
878
878
  case 34:
879
879
  case 39:
880
880
  case 91:
881
- x += It(b);
881
+ S += It(v);
882
882
  break;
883
883
  // \t \n \r \s
884
884
  case 9:
885
885
  case 10:
886
886
  case 13:
887
887
  case 32:
888
- x += Vo(T);
888
+ S += Vo(R);
889
889
  break;
890
890
  // \
891
891
  case 92:
892
- x += No(ct() - 1, 7);
892
+ S += No(ct() - 1, 7);
893
893
  continue;
894
894
  // /
895
895
  case 47:
896
- switch (Te()) {
896
+ switch (Pe()) {
897
897
  case 42:
898
898
  case 47:
899
- Je(Bo($o(le(), ct()), t, n, c), c);
899
+ Je(Bo(Ho(le(), ct()), t, n, u), u);
900
900
  break;
901
901
  default:
902
- x += "/";
902
+ S += "/";
903
903
  }
904
904
  break;
905
905
  // {
906
- case 123 * E:
907
- u[d++] = de(x) * P;
906
+ case 123 * L:
907
+ c[d++] = de(S) * E;
908
908
  // } ; \0
909
- case 125 * E:
909
+ case 125 * L:
910
910
  case 59:
911
911
  case 0:
912
- switch (b) {
912
+ switch (v) {
913
913
  // \0 }
914
914
  case 0:
915
915
  case 125:
916
- M = 0;
916
+ T = 0;
917
917
  // ;
918
918
  case 59 + p:
919
- P == -1 && (x = k(x, /\f/g, "")), v > 0 && de(x) - m && Je(v > 32 ? xn(x + ";", r, n, m - 1, c) : xn(k(x, " ", "") + ";", r, n, m - 2, c), c);
919
+ E == -1 && (S = P(S, /\f/g, "")), x > 0 && de(S) - h && Je(x > 32 ? xn(S + ";", r, n, h - 1, u) : xn(P(S, " ", "") + ";", r, n, h - 2, u), u);
920
920
  break;
921
921
  // @ ;
922
922
  case 59:
923
- x += ";";
923
+ S += ";";
924
924
  // { rule/at-rule
925
925
  default:
926
- if (Je(C = bn(x, t, n, d, p, i, u, h, L = [], D = [], m, a), a), b === 123)
926
+ if (Je(k = bn(S, t, n, d, p, i, c, w, y = [], I = [], h, s), s), v === 123)
927
927
  if (p === 0)
928
- lt(x, t, C, C, L, a, m, u, D);
928
+ lt(S, t, k, k, y, s, h, c, I);
929
929
  else
930
- switch (w === 99 && z(x, 3) === 110 ? 100 : w) {
930
+ switch (b === 99 && B(S, 3) === 110 ? 100 : b) {
931
931
  // d l m s
932
932
  case 100:
933
933
  case 108:
934
934
  case 109:
935
935
  case 115:
936
- lt(e, C, C, r && Je(bn(e, C, C, 0, 0, i, u, h, i, L = [], m, D), D), i, D, m, u, r ? L : D);
936
+ lt(e, k, k, r && Je(bn(e, k, k, 0, 0, i, c, w, i, y = [], h, I), I), i, I, h, c, r ? y : I);
937
937
  break;
938
938
  default:
939
- lt(x, C, C, C, [""], D, 0, u, D);
939
+ lt(S, k, k, k, [""], I, 0, c, I);
940
940
  }
941
941
  }
942
- d = p = v = 0, E = P = 1, h = x = "", m = l;
942
+ d = p = x = 0, L = E = 1, w = S = "", h = l;
943
943
  break;
944
944
  // :
945
945
  case 58:
946
- m = 1 + de(x), v = T;
946
+ h = 1 + de(S), x = R;
947
947
  default:
948
- if (E < 1) {
949
- if (b == 123)
950
- --E;
951
- else if (b == 125 && E++ == 0 && Oo() == 125)
948
+ if (L < 1) {
949
+ if (v == 123)
950
+ --L;
951
+ else if (v == 125 && L++ == 0 && Oo() == 125)
952
952
  continue;
953
953
  }
954
- switch (x += Xt(b), b * E) {
954
+ switch (S += Xt(v), v * L) {
955
955
  // &
956
956
  case 38:
957
- P = p > 0 ? 1 : (x += "\f", -1);
957
+ E = p > 0 ? 1 : (S += "\f", -1);
958
958
  break;
959
959
  // ,
960
960
  case 44:
961
- u[d++] = (de(x) - 1) * P, P = 1;
961
+ c[d++] = (de(S) - 1) * E, E = 1;
962
962
  break;
963
963
  // @
964
964
  case 64:
965
- Te() === 45 && (x += It(le())), w = Te(), p = m = de(h = x += Ho(ct())), b++;
965
+ Pe() === 45 && (S += It(le())), b = Pe(), p = h = de(w = S += $o(ct())), v++;
966
966
  break;
967
967
  // -
968
968
  case 45:
969
- T === 45 && de(x) == 2 && (E = 0);
969
+ R === 45 && de(S) == 2 && (L = 0);
970
970
  }
971
971
  }
972
- return a;
972
+ return s;
973
973
  }
974
- function bn(e, t, n, r, i, a, l, u, c, d, p, m) {
975
- for (var w = i - 1, v = i === 0 ? a : [""], T = qn(v), E = 0, M = 0, P = 0; E < r; ++E)
976
- for (var b = 0, h = Ve(e, w + 1, w = Wn(M = l[E])), L = e; b < T; ++b)
977
- (L = Yn(M > 0 ? v[b] + " " + h : k(h, /&\f/g, v[b]))) && (c[P++] = L);
978
- return St(e, t, n, i === 0 ? bt : u, c, d, p, m);
974
+ function bn(e, t, n, r, i, s, l, c, u, d, p, h) {
975
+ for (var b = i - 1, x = i === 0 ? s : [""], R = qn(x), L = 0, T = 0, E = 0; L < r; ++L)
976
+ for (var v = 0, w = Ve(e, b + 1, b = Wn(T = l[L])), y = e; v < R; ++v)
977
+ (y = Yn(T > 0 ? x[v] + " " + w : P(w, /&\f/g, x[v]))) && (u[E++] = y);
978
+ return St(e, t, n, i === 0 ? bt : c, u, d, p, h);
979
979
  }
980
980
  function Bo(e, t, n, r) {
981
981
  return St(e, t, n, Bn, Xt(Ao()), Ve(e, 2, -2), 0, r);
@@ -987,7 +987,7 @@ function Gn(e, t, n) {
987
987
  switch (Io(e, t)) {
988
988
  // color-adjust
989
989
  case 5103:
990
- return O + "print-" + e + e;
990
+ return F + "print-" + e + e;
991
991
  // animation, animation-(delay|direction|duration|fill-mode|iteration-count|name|play-state|timing-function)
992
992
  case 5737:
993
993
  case 4201:
@@ -1017,7 +1017,7 @@ function Gn(e, t, n) {
1017
1017
  case 5365:
1018
1018
  case 5621:
1019
1019
  case 3829:
1020
- return O + e + e;
1020
+ return F + e + e;
1021
1021
  // tab-size
1022
1022
  case 4789:
1023
1023
  return Ke + e + e;
@@ -1027,85 +1027,85 @@ function Gn(e, t, n) {
1027
1027
  case 4810:
1028
1028
  case 6968:
1029
1029
  case 2756:
1030
- return O + e + Ke + e + V + e + e;
1030
+ return F + e + Ke + e + V + e + e;
1031
1031
  // writing-mode
1032
1032
  case 5936:
1033
- switch (z(e, t + 11)) {
1033
+ switch (B(e, t + 11)) {
1034
1034
  // vertical-l(r)
1035
1035
  case 114:
1036
- return O + e + V + k(e, /[svh]\w+-[tblr]{2}/, "tb") + e;
1036
+ return F + e + V + P(e, /[svh]\w+-[tblr]{2}/, "tb") + e;
1037
1037
  // vertical-r(l)
1038
1038
  case 108:
1039
- return O + e + V + k(e, /[svh]\w+-[tblr]{2}/, "tb-rl") + e;
1039
+ return F + e + V + P(e, /[svh]\w+-[tblr]{2}/, "tb-rl") + e;
1040
1040
  // horizontal(-)tb
1041
1041
  case 45:
1042
- return O + e + V + k(e, /[svh]\w+-[tblr]{2}/, "lr") + e;
1042
+ return F + e + V + P(e, /[svh]\w+-[tblr]{2}/, "lr") + e;
1043
1043
  }
1044
1044
  // flex, flex-direction, scroll-snap-type, writing-mode
1045
1045
  case 6828:
1046
1046
  case 4268:
1047
1047
  case 2903:
1048
- return O + e + V + e + e;
1048
+ return F + e + V + e + e;
1049
1049
  // order
1050
1050
  case 6165:
1051
- return O + e + V + "flex-" + e + e;
1051
+ return F + e + V + "flex-" + e + e;
1052
1052
  // align-items
1053
1053
  case 5187:
1054
- return O + e + k(e, /(\w+).+(:[^]+)/, O + "box-$1$2" + V + "flex-$1$2") + e;
1054
+ return F + e + P(e, /(\w+).+(:[^]+)/, F + "box-$1$2" + V + "flex-$1$2") + e;
1055
1055
  // align-self
1056
1056
  case 5443:
1057
- return O + e + V + "flex-item-" + k(e, /flex-|-self/g, "") + (he(e, /flex-|baseline/) ? "" : V + "grid-row-" + k(e, /flex-|-self/g, "")) + e;
1057
+ return F + e + V + "flex-item-" + P(e, /flex-|-self/g, "") + (me(e, /flex-|baseline/) ? "" : V + "grid-row-" + P(e, /flex-|-self/g, "")) + e;
1058
1058
  // align-content
1059
1059
  case 4675:
1060
- return O + e + V + "flex-line-pack" + k(e, /align-content|flex-|-self/g, "") + e;
1060
+ return F + e + V + "flex-line-pack" + P(e, /align-content|flex-|-self/g, "") + e;
1061
1061
  // flex-shrink
1062
1062
  case 5548:
1063
- return O + e + V + k(e, "shrink", "negative") + e;
1063
+ return F + e + V + P(e, "shrink", "negative") + e;
1064
1064
  // flex-basis
1065
1065
  case 5292:
1066
- return O + e + V + k(e, "basis", "preferred-size") + e;
1066
+ return F + e + V + P(e, "basis", "preferred-size") + e;
1067
1067
  // flex-grow
1068
1068
  case 6060:
1069
- return O + "box-" + k(e, "-grow", "") + O + e + V + k(e, "grow", "positive") + e;
1069
+ return F + "box-" + P(e, "-grow", "") + F + e + V + P(e, "grow", "positive") + e;
1070
1070
  // transition
1071
1071
  case 4554:
1072
- return O + k(e, /([^-])(transform)/g, "$1" + O + "$2") + e;
1072
+ return F + P(e, /([^-])(transform)/g, "$1" + F + "$2") + e;
1073
1073
  // cursor
1074
1074
  case 6187:
1075
- return k(k(k(e, /(zoom-|grab)/, O + "$1"), /(image-set)/, O + "$1"), e, "") + e;
1075
+ return P(P(P(e, /(zoom-|grab)/, F + "$1"), /(image-set)/, F + "$1"), e, "") + e;
1076
1076
  // background, background-image
1077
1077
  case 5495:
1078
1078
  case 3959:
1079
- return k(e, /(image-set\([^]*)/, O + "$1$`$1");
1079
+ return P(e, /(image-set\([^]*)/, F + "$1$`$1");
1080
1080
  // justify-content
1081
1081
  case 4968:
1082
- return k(k(e, /(.+:)(flex-)?(.*)/, O + "box-pack:$3" + V + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + O + e + e;
1082
+ return P(P(e, /(.+:)(flex-)?(.*)/, F + "box-pack:$3" + V + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + F + e + e;
1083
1083
  // justify-self
1084
1084
  case 4200:
1085
- if (!he(e, /flex-|baseline/)) return V + "grid-column-align" + Ve(e, t) + e;
1085
+ if (!me(e, /flex-|baseline/)) return V + "grid-column-align" + Ve(e, t) + e;
1086
1086
  break;
1087
1087
  // grid-template-(columns|rows)
1088
1088
  case 2592:
1089
1089
  case 3360:
1090
- return V + k(e, "template-", "") + e;
1090
+ return V + P(e, "template-", "") + e;
1091
1091
  // grid-(row|column)-start
1092
1092
  case 4384:
1093
1093
  case 3616:
1094
1094
  return n && n.some(function(r, i) {
1095
- return t = i, he(r.props, /grid-\w+-end/);
1096
- }) ? ~at(e + (n = n[t].value), "span", 0) ? e : V + k(e, "-start", "") + e + V + "grid-row-span:" + (~at(n, "span", 0) ? he(n, /\d+/) : +he(n, /\d+/) - +he(e, /\d+/)) + ";" : V + k(e, "-start", "") + e;
1095
+ return t = i, me(r.props, /grid-\w+-end/);
1096
+ }) ? ~at(e + (n = n[t].value), "span", 0) ? e : V + P(e, "-start", "") + e + V + "grid-row-span:" + (~at(n, "span", 0) ? me(n, /\d+/) : +me(n, /\d+/) - +me(e, /\d+/)) + ";" : V + P(e, "-start", "") + e;
1097
1097
  // grid-(row|column)-end
1098
1098
  case 4896:
1099
1099
  case 4128:
1100
1100
  return n && n.some(function(r) {
1101
- return he(r.props, /grid-\w+-start/);
1102
- }) ? e : V + k(k(e, "-end", "-span"), "span ", "") + e;
1101
+ return me(r.props, /grid-\w+-start/);
1102
+ }) ? e : V + P(P(e, "-end", "-span"), "span ", "") + e;
1103
1103
  // (margin|padding)-inline-(start|end)
1104
1104
  case 4095:
1105
1105
  case 3583:
1106
1106
  case 4068:
1107
1107
  case 2532:
1108
- return k(e, /(.+)-inline(.+)/, O + "$1$2") + e;
1108
+ return P(e, /(.+)-inline(.+)/, F + "$1$2") + e;
1109
1109
  // (min|max)?(width|height|inline-size|block-size)
1110
1110
  case 8116:
1111
1111
  case 7059:
@@ -1120,39 +1120,39 @@ function Gn(e, t, n) {
1120
1120
  case 5021:
1121
1121
  case 4765:
1122
1122
  if (de(e) - 1 - t > 6)
1123
- switch (z(e, t + 1)) {
1123
+ switch (B(e, t + 1)) {
1124
1124
  // (m)ax-content, (m)in-content
1125
1125
  case 109:
1126
- if (z(e, t + 4) !== 45)
1126
+ if (B(e, t + 4) !== 45)
1127
1127
  break;
1128
1128
  // (f)ill-available, (f)it-content
1129
1129
  case 102:
1130
- return k(e, /(.+:)(.+)-([^]+)/, "$1" + O + "$2-$3$1" + Ke + (z(e, t + 3) == 108 ? "$3" : "$2-$3")) + e;
1130
+ return P(e, /(.+:)(.+)-([^]+)/, "$1" + F + "$2-$3$1" + Ke + (B(e, t + 3) == 108 ? "$3" : "$2-$3")) + e;
1131
1131
  // (s)tretch
1132
1132
  case 115:
1133
- return ~at(e, "stretch", 0) ? Gn(k(e, "stretch", "fill-available"), t, n) + e : e;
1133
+ return ~at(e, "stretch", 0) ? Gn(P(e, "stretch", "fill-available"), t, n) + e : e;
1134
1134
  }
1135
1135
  break;
1136
1136
  // grid-(column|row)
1137
1137
  case 5152:
1138
1138
  case 5920:
1139
- return k(e, /(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/, function(r, i, a, l, u, c, d) {
1140
- return V + i + ":" + a + d + (l ? V + i + "-span:" + (u ? c : +c - +a) + d : "") + e;
1139
+ return P(e, /(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/, function(r, i, s, l, c, u, d) {
1140
+ return V + i + ":" + s + d + (l ? V + i + "-span:" + (c ? u : +u - +s) + d : "") + e;
1141
1141
  });
1142
1142
  // position: sticky
1143
1143
  case 4949:
1144
- if (z(e, t + 6) === 121)
1145
- return k(e, ":", ":" + O) + e;
1144
+ if (B(e, t + 6) === 121)
1145
+ return P(e, ":", ":" + F) + e;
1146
1146
  break;
1147
1147
  // display: (flex|inline-flex|grid|inline-grid)
1148
1148
  case 6444:
1149
- switch (z(e, z(e, 14) === 45 ? 18 : 11)) {
1149
+ switch (B(e, B(e, 14) === 45 ? 18 : 11)) {
1150
1150
  // (inline-)?fle(x)
1151
1151
  case 120:
1152
- return k(e, /(.+:)([^;\s!]+)(;|(\s+)?!.+)?/, "$1" + O + (z(e, 14) === 45 ? "inline-" : "") + "box$3$1" + O + "$2$3$1" + V + "$2box$3") + e;
1152
+ return P(e, /(.+:)([^;\s!]+)(;|(\s+)?!.+)?/, "$1" + F + (B(e, 14) === 45 ? "inline-" : "") + "box$3$1" + F + "$2$3$1" + V + "$2box$3") + e;
1153
1153
  // (inline-)?gri(d)
1154
1154
  case 100:
1155
- return k(e, ":", ":" + V) + e;
1155
+ return P(e, ":", ":" + V) + e;
1156
1156
  }
1157
1157
  break;
1158
1158
  // scroll-margin, scroll-margin-(top|right|bottom|left)
@@ -1161,7 +1161,7 @@ function Gn(e, t, n) {
1161
1161
  case 2135:
1162
1162
  case 3927:
1163
1163
  case 2391:
1164
- return k(e, "scroll-", "scroll-snap-") + e;
1164
+ return P(e, "scroll-", "scroll-snap-") + e;
1165
1165
  }
1166
1166
  return e;
1167
1167
  }
@@ -1188,9 +1188,9 @@ function Uo(e, t, n, r) {
1188
1188
  }
1189
1189
  function Wo(e) {
1190
1190
  var t = qn(e);
1191
- return function(n, r, i, a) {
1192
- for (var l = "", u = 0; u < t; u++)
1193
- l += e[u](n, r, i, a) || "";
1191
+ return function(n, r, i, s) {
1192
+ for (var l = "", c = 0; c < t; c++)
1193
+ l += e[c](n, r, i, s) || "";
1194
1194
  return l;
1195
1195
  };
1196
1196
  }
@@ -1206,19 +1206,19 @@ function qo(e, t, n, r) {
1206
1206
  e.return = Gn(e.value, e.length, n);
1207
1207
  return;
1208
1208
  case Un:
1209
- return ft([we(e, { value: k(e.value, "@", "@" + O) })], r);
1209
+ return ft([be(e, { value: P(e.value, "@", "@" + F) })], r);
1210
1210
  case bt:
1211
1211
  if (e.length)
1212
1212
  return Do(n = e.props, function(i) {
1213
- switch (he(i, r = /(::plac\w+|:read-\w+)/)) {
1213
+ switch (me(i, r = /(::plac\w+|:read-\w+)/)) {
1214
1214
  // :read-(only|write)
1215
1215
  case ":read-only":
1216
1216
  case ":read-write":
1217
- Me(we(e, { props: [k(i, /:(read-\w+)/, ":" + Ke + "$1")] })), Me(we(e, { props: [i] })), Ft(e, { props: wn(n, r) });
1217
+ Me(be(e, { props: [P(i, /:(read-\w+)/, ":" + Ke + "$1")] })), Me(be(e, { props: [i] })), Ft(e, { props: wn(n, r) });
1218
1218
  break;
1219
1219
  // :placeholder
1220
1220
  case "::placeholder":
1221
- Me(we(e, { props: [k(i, /:(plac\w+)/, ":" + O + "input-$1")] })), Me(we(e, { props: [k(i, /:(plac\w+)/, ":" + Ke + "$1")] })), Me(we(e, { props: [k(i, /:(plac\w+)/, V + "input-$1")] })), Me(we(e, { props: [i] })), Ft(e, { props: wn(n, r) });
1221
+ Me(be(e, { props: [P(i, /:(plac\w+)/, ":" + F + "input-$1")] })), Me(be(e, { props: [P(i, /:(plac\w+)/, ":" + Ke + "$1")] })), Me(be(e, { props: [P(i, /:(plac\w+)/, V + "input-$1")] })), Me(be(e, { props: [i] })), Ft(e, { props: wn(n, r) });
1222
1222
  break;
1223
1223
  }
1224
1224
  return "";
@@ -1282,20 +1282,20 @@ To resolve this only create new StyledComponents outside of any render method an
1282
1282
  See https://styled-components.com/docs/basics#define-styled-components-outside-of-the-render-method for more info.
1283
1283
  `, i = console.error;
1284
1284
  try {
1285
- var a = !0;
1285
+ var s = !0;
1286
1286
  console.error = function(l) {
1287
- for (var u = [], c = 1; c < arguments.length; c++) u[c - 1] = arguments[c];
1288
- Sn.test(l) ? (a = !1, rt.delete(r)) : i.apply(void 0, je([l], u, !1));
1289
- }, Y(), a && !rt.has(r) && (console.warn(r), rt.add(r));
1287
+ for (var c = [], u = 1; u < arguments.length; u++) c[u - 1] = arguments[u];
1288
+ Sn.test(l) ? (s = !1, rt.delete(r)) : i.apply(void 0, je([l], c, !1));
1289
+ }, q(), s && !rt.has(r) && (console.warn(r), rt.add(r));
1290
1290
  } catch (l) {
1291
1291
  Sn.test(l.message) && rt.delete(r);
1292
1292
  } finally {
1293
1293
  console.error = i;
1294
1294
  }
1295
1295
  }
1296
- }, Et = Object.freeze([]), $e = Object.freeze({});
1296
+ }, Et = Object.freeze([]), He = Object.freeze({});
1297
1297
  function Jo(e, t, n) {
1298
- return n === void 0 && (n = $e), e.theme !== n.theme && e.theme || t || n.theme;
1298
+ return n === void 0 && (n = He), e.theme !== n.theme && e.theme || t || n.theme;
1299
1299
  }
1300
1300
  var Nt = /* @__PURE__ */ new Set(["a", "abbr", "address", "area", "article", "aside", "audio", "b", "base", "bdi", "bdo", "big", "blockquote", "body", "br", "button", "canvas", "caption", "cite", "code", "col", "colgroup", "data", "datalist", "dd", "del", "details", "dfn", "dialog", "div", "dl", "dt", "em", "embed", "fieldset", "figcaption", "figure", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "header", "hgroup", "hr", "html", "i", "iframe", "img", "input", "ins", "kbd", "keygen", "label", "legend", "li", "link", "main", "map", "mark", "menu", "menuitem", "meta", "meter", "nav", "noscript", "object", "ol", "optgroup", "option", "output", "p", "param", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "script", "section", "select", "small", "source", "span", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "u", "ul", "use", "var", "video", "wbr", "circle", "clipPath", "defs", "ellipse", "foreignObject", "g", "image", "line", "linearGradient", "marker", "mask", "path", "pattern", "polygon", "polyline", "radialGradient", "rect", "stop", "svg", "text", "tspan"]), Ko = /[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g, Qo = /(^-|-$)/g;
1301
1301
  function Cn(e) {
@@ -1304,7 +1304,7 @@ function Cn(e) {
1304
1304
  var ei = /(a)(d)/gi, ot = 52, kn = function(e) {
1305
1305
  return String.fromCharCode(e + (e > 25 ? 39 : 97));
1306
1306
  };
1307
- function $t(e) {
1307
+ function Ht(e) {
1308
1308
  var t, n = "";
1309
1309
  for (t = Math.abs(e); t > ot; t = t / ot | 0) n = kn(t % ot) + n;
1310
1310
  return (kn(t % ot) + n).replace(ei, "$1-$2");
@@ -1316,7 +1316,7 @@ var Dt, Kn = 5381, ke = function(e, t) {
1316
1316
  return ke(Kn, e);
1317
1317
  };
1318
1318
  function er(e) {
1319
- return $t(Qn(e) >>> 0);
1319
+ return Ht(Qn(e) >>> 0);
1320
1320
  }
1321
1321
  function tr(e) {
1322
1322
  return process.env.NODE_ENV !== "production" && typeof e == "string" && e || e.displayName || e.name || "Component";
@@ -1329,21 +1329,21 @@ function En(e) {
1329
1329
  return ("type" in (t = e) && t.type.$$typeof) === rr ? or : "$$typeof" in e ? oi[e.$$typeof] : ni;
1330
1330
  var t;
1331
1331
  }
1332
- var ii = Object.defineProperty, si = Object.getOwnPropertyNames, Tn = Object.getOwnPropertySymbols, ai = Object.getOwnPropertyDescriptor, ci = Object.getPrototypeOf, Pn = Object.prototype;
1332
+ var ii = Object.defineProperty, si = Object.getOwnPropertyNames, Pn = Object.getOwnPropertySymbols, ai = Object.getOwnPropertyDescriptor, ci = Object.getPrototypeOf, Tn = Object.prototype;
1333
1333
  function ir(e, t, n) {
1334
1334
  if (typeof t != "string") {
1335
- if (Pn) {
1335
+ if (Tn) {
1336
1336
  var r = ci(t);
1337
- r && r !== Pn && ir(e, r, n);
1337
+ r && r !== Tn && ir(e, r, n);
1338
1338
  }
1339
1339
  var i = si(t);
1340
- Tn && (i = i.concat(Tn(t)));
1341
- for (var a = En(e), l = En(t), u = 0; u < i.length; ++u) {
1342
- var c = i[u];
1343
- if (!(c in ri || n && n[c] || l && c in l || a && c in a)) {
1344
- var d = ai(t, c);
1340
+ Pn && (i = i.concat(Pn(t)));
1341
+ for (var s = En(e), l = En(t), c = 0; c < i.length; ++c) {
1342
+ var u = i[c];
1343
+ if (!(u in ri || n && n[u] || l && u in l || s && u in s)) {
1344
+ var d = ai(t, u);
1345
1345
  try {
1346
- ii(e, c, d);
1346
+ ii(e, u, d);
1347
1347
  } catch {
1348
1348
  }
1349
1349
  }
@@ -1351,7 +1351,7 @@ function ir(e, t, n) {
1351
1351
  }
1352
1352
  return e;
1353
1353
  }
1354
- function He(e) {
1354
+ function $e(e) {
1355
1355
  return typeof e == "function";
1356
1356
  }
1357
1357
  function Kt(e) {
@@ -1360,7 +1360,7 @@ function Kt(e) {
1360
1360
  function Ee(e, t) {
1361
1361
  return e && t ? "".concat(e, " ").concat(t) : e || t || "";
1362
1362
  }
1363
- function Ht(e, t) {
1363
+ function $t(e, t) {
1364
1364
  if (e.length === 0) return "";
1365
1365
  for (var n = e[0], r = 1; r < e.length; r++) n += e[r];
1366
1366
  return n;
@@ -1421,7 +1421,7 @@ Has styled-components' style tag been unmounted or altered by another script?
1421
1421
  `, 18: "ThemeProvider: Please make sure your useTheme hook is within a `<ThemeProvider>`" } : {};
1422
1422
  function ui() {
1423
1423
  for (var e = [], t = 0; t < arguments.length; t++) e[t] = arguments[t];
1424
- for (var n = e[0], r = [], i = 1, a = e.length; i < a; i += 1) r.push(e[i]);
1424
+ for (var n = e[0], r = [], i = 1, s = e.length; i < s; i += 1) r.push(e[i]);
1425
1425
  return r.forEach(function(l) {
1426
1426
  n = n.replace(/%[a-z]/, l);
1427
1427
  }), n;
@@ -1439,21 +1439,21 @@ var di = (function() {
1439
1439
  return n;
1440
1440
  }, e.prototype.insertRules = function(t, n) {
1441
1441
  if (t >= this.groupSizes.length) {
1442
- for (var r = this.groupSizes, i = r.length, a = i; t >= a; ) if ((a <<= 1) < 0) throw We(16, "".concat(t));
1443
- this.groupSizes = new Uint32Array(a), this.groupSizes.set(r), this.length = a;
1444
- for (var l = i; l < a; l++) this.groupSizes[l] = 0;
1442
+ for (var r = this.groupSizes, i = r.length, s = i; t >= s; ) if ((s <<= 1) < 0) throw We(16, "".concat(t));
1443
+ this.groupSizes = new Uint32Array(s), this.groupSizes.set(r), this.length = s;
1444
+ for (var l = i; l < s; l++) this.groupSizes[l] = 0;
1445
1445
  }
1446
- for (var u = this.indexOfGroup(t + 1), c = (l = 0, n.length); l < c; l++) this.tag.insertRule(u, n[l]) && (this.groupSizes[t]++, u++);
1446
+ for (var c = this.indexOfGroup(t + 1), u = (l = 0, n.length); l < u; l++) this.tag.insertRule(c, n[l]) && (this.groupSizes[t]++, c++);
1447
1447
  }, e.prototype.clearGroup = function(t) {
1448
1448
  if (t < this.length) {
1449
1449
  var n = this.groupSizes[t], r = this.indexOfGroup(t), i = r + n;
1450
1450
  this.groupSizes[t] = 0;
1451
- for (var a = r; a < i; a++) this.tag.deleteRule(r);
1451
+ for (var s = r; s < i; s++) this.tag.deleteRule(r);
1452
1452
  }
1453
1453
  }, e.prototype.getGroup = function(t) {
1454
1454
  var n = "";
1455
1455
  if (t >= this.length || this.groupSizes[t] === 0) return n;
1456
- for (var r = this.groupSizes[t], i = this.indexOfGroup(t), a = i + r, l = i; l < a; l++) n += "".concat(this.tag.getRule(l)).concat(Jt);
1456
+ for (var r = this.groupSizes[t], i = this.indexOfGroup(t), s = i + r, l = i; l < s; l++) n += "".concat(this.tag.getRule(l)).concat(Jt);
1457
1457
  return n;
1458
1458
  }, e;
1459
1459
  })(), fi = 1 << 30, ut = /* @__PURE__ */ new Map(), ht = /* @__PURE__ */ new Map(), dt = 1, it = function(e) {
@@ -1465,16 +1465,16 @@ var di = (function() {
1465
1465
  }, pi = function(e, t) {
1466
1466
  dt = t + 1, ut.set(e, t), ht.set(t, e);
1467
1467
  }, hi = "style[".concat(Le, "][").concat(Jn, '="').concat(kt, '"]'), mi = new RegExp("^".concat(Le, '\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')), gi = function(e, t, n) {
1468
- for (var r, i = n.split(","), a = 0, l = i.length; a < l; a++) (r = i[a]) && e.registerName(t, r);
1468
+ for (var r, i = n.split(","), s = 0, l = i.length; s < l; s++) (r = i[s]) && e.registerName(t, r);
1469
1469
  }, yi = function(e, t) {
1470
- for (var n, r = ((n = t.textContent) !== null && n !== void 0 ? n : "").split(Jt), i = [], a = 0, l = r.length; a < l; a++) {
1471
- var u = r[a].trim();
1472
- if (u) {
1473
- var c = u.match(mi);
1474
- if (c) {
1475
- var d = 0 | parseInt(c[1], 10), p = c[2];
1476
- d !== 0 && (pi(p, d), gi(e, p, c[3]), e.getTag().insertRules(d, i)), i.length = 0;
1477
- } else i.push(u);
1470
+ for (var n, r = ((n = t.textContent) !== null && n !== void 0 ? n : "").split(Jt), i = [], s = 0, l = r.length; s < l; s++) {
1471
+ var c = r[s].trim();
1472
+ if (c) {
1473
+ var u = c.match(mi);
1474
+ if (u) {
1475
+ var d = 0 | parseInt(u[1], 10), p = u[2];
1476
+ d !== 0 && (pi(p, d), gi(e, p, u[3]), e.getTag().insertRules(d, i)), i.length = 0;
1477
+ } else i.push(c);
1478
1478
  }
1479
1479
  }
1480
1480
  }, Rn = function(e) {
@@ -1487,18 +1487,18 @@ function vi() {
1487
1487
  return typeof __webpack_nonce__ < "u" ? __webpack_nonce__ : null;
1488
1488
  }
1489
1489
  var sr = function(e) {
1490
- var t = document.head, n = e || t, r = document.createElement("style"), i = (function(u) {
1491
- var c = Array.from(u.querySelectorAll("style[".concat(Le, "]")));
1492
- return c[c.length - 1];
1493
- })(n), a = i !== void 0 ? i.nextSibling : null;
1490
+ var t = document.head, n = e || t, r = document.createElement("style"), i = (function(c) {
1491
+ var u = Array.from(c.querySelectorAll("style[".concat(Le, "]")));
1492
+ return u[u.length - 1];
1493
+ })(n), s = i !== void 0 ? i.nextSibling : null;
1494
1494
  r.setAttribute(Le, Xn), r.setAttribute(Jn, kt);
1495
1495
  var l = vi();
1496
- return l && r.setAttribute("nonce", l), n.insertBefore(r, a), r;
1496
+ return l && r.setAttribute("nonce", l), n.insertBefore(r, s), r;
1497
1497
  }, wi = (function() {
1498
1498
  function e(t) {
1499
1499
  this.element = sr(t), this.element.appendChild(document.createTextNode("")), this.sheet = (function(n) {
1500
1500
  if (n.sheet) return n.sheet;
1501
- for (var r = document.styleSheets, i = 0, a = r.length; i < a; i++) {
1501
+ for (var r = document.styleSheets, i = 0, s = r.length; i < s; i++) {
1502
1502
  var l = r[i];
1503
1503
  if (l.ownerNode === n) return l;
1504
1504
  }
@@ -1545,23 +1545,23 @@ var sr = function(e) {
1545
1545
  }, e;
1546
1546
  })(), jn = pt, Si = { isServer: !pt, useCSSOMInjection: !Go }, ar = (function() {
1547
1547
  function e(t, n, r) {
1548
- t === void 0 && (t = $e), n === void 0 && (n = {});
1548
+ t === void 0 && (t = He), n === void 0 && (n = {});
1549
1549
  var i = this;
1550
1550
  this.options = ee(ee({}, Si), t), this.gs = n, this.names = new Map(r), this.server = !!t.isServer, !this.server && pt && jn && (jn = !1, Rn(this)), Qt(this, function() {
1551
- return (function(a) {
1552
- for (var l = a.getTag(), u = l.length, c = "", d = function(m) {
1553
- var w = (function(P) {
1554
- return ht.get(P);
1555
- })(m);
1556
- if (w === void 0) return "continue";
1557
- var v = a.names.get(w), T = l.getGroup(m);
1558
- if (v === void 0 || !v.size || T.length === 0) return "continue";
1559
- var E = "".concat(Le, ".g").concat(m, '[id="').concat(w, '"]'), M = "";
1560
- v !== void 0 && v.forEach(function(P) {
1561
- P.length > 0 && (M += "".concat(P, ","));
1562
- }), c += "".concat(T).concat(E, '{content:"').concat(M, '"}').concat(Jt);
1563
- }, p = 0; p < u; p++) d(p);
1564
- return c;
1551
+ return (function(s) {
1552
+ for (var l = s.getTag(), c = l.length, u = "", d = function(h) {
1553
+ var b = (function(E) {
1554
+ return ht.get(E);
1555
+ })(h);
1556
+ if (b === void 0) return "continue";
1557
+ var x = s.names.get(b), R = l.getGroup(h);
1558
+ if (x === void 0 || !x.size || R.length === 0) return "continue";
1559
+ var L = "".concat(Le, ".g").concat(h, '[id="').concat(b, '"]'), T = "";
1560
+ x !== void 0 && x.forEach(function(E) {
1561
+ E.length > 0 && (T += "".concat(E, ","));
1562
+ }), u += "".concat(R).concat(L, '{content:"').concat(T, '"}').concat(Jt);
1563
+ }, p = 0; p < c; p++) d(p);
1564
+ return u;
1565
1565
  })(i);
1566
1566
  });
1567
1567
  }
@@ -1605,26 +1605,26 @@ function cr(e, t) {
1605
1605
  });
1606
1606
  }
1607
1607
  function Ei(e) {
1608
- var t, n, r, i = $e, a = i.options, l = a === void 0 ? $e : a, u = i.plugins, c = u === void 0 ? Et : u, d = function(w, v, T) {
1609
- return T.startsWith(n) && T.endsWith(n) && T.replaceAll(n, "").length > 0 ? ".".concat(t) : w;
1610
- }, p = c.slice();
1611
- p.push(function(w) {
1612
- w.type === bt && w.value.includes("&") && (w.props[0] = w.props[0].replace(Ci, n).replace(r, d));
1608
+ var t, n, r, i = He, s = i.options, l = s === void 0 ? He : s, c = i.plugins, u = c === void 0 ? Et : c, d = function(b, x, R) {
1609
+ return R.startsWith(n) && R.endsWith(n) && R.replaceAll(n, "").length > 0 ? ".".concat(t) : b;
1610
+ }, p = u.slice();
1611
+ p.push(function(b) {
1612
+ b.type === bt && b.value.includes("&") && (b.props[0] = b.props[0].replace(Ci, n).replace(r, d));
1613
1613
  }), l.prefix && p.push(qo), p.push(Uo);
1614
- var m = function(w, v, T, E) {
1615
- v === void 0 && (v = ""), T === void 0 && (T = ""), E === void 0 && (E = "&"), t = E, n = v, r = new RegExp("\\".concat(n, "\\b"), "g");
1616
- var M = w.replace(ki, ""), P = zo(T || v ? "".concat(T, " ").concat(v, " { ").concat(M, " }") : M);
1617
- l.namespace && (P = cr(P, l.namespace));
1618
- var b = [];
1619
- return ft(P, Wo(p.concat(Yo(function(h) {
1620
- return b.push(h);
1621
- })))), b;
1614
+ var h = function(b, x, R, L) {
1615
+ x === void 0 && (x = ""), R === void 0 && (R = ""), L === void 0 && (L = "&"), t = L, n = x, r = new RegExp("\\".concat(n, "\\b"), "g");
1616
+ var T = b.replace(ki, ""), E = zo(R || x ? "".concat(R, " ").concat(x, " { ").concat(T, " }") : T);
1617
+ l.namespace && (E = cr(E, l.namespace));
1618
+ var v = [];
1619
+ return ft(E, Wo(p.concat(Yo(function(w) {
1620
+ return v.push(w);
1621
+ })))), v;
1622
1622
  };
1623
- return m.hash = c.length ? c.reduce(function(w, v) {
1624
- return v.name || We(15), ke(w, v.name);
1625
- }, Kn).toString() : "", m;
1623
+ return h.hash = u.length ? u.reduce(function(b, x) {
1624
+ return x.name || We(15), ke(b, x.name);
1625
+ }, Kn).toString() : "", h;
1626
1626
  }
1627
- var Ti = new ar(), Bt = Ei(), lr = Re.createContext({ shouldForwardProp: void 0, styleSheet: Ti, stylis: Bt });
1627
+ var Pi = new ar(), Bt = Ei(), lr = Re.createContext({ shouldForwardProp: void 0, styleSheet: Pi, stylis: Bt });
1628
1628
  lr.Consumer;
1629
1629
  Re.createContext(void 0);
1630
1630
  function Ln() {
@@ -1633,10 +1633,10 @@ function Ln() {
1633
1633
  var Ut = (function() {
1634
1634
  function e(t, n) {
1635
1635
  var r = this;
1636
- this.inject = function(i, a) {
1637
- a === void 0 && (a = Bt);
1638
- var l = r.name + a.hash;
1639
- i.hasNameForId(r.id, l) || i.insertRules(r.id, l, a(r.rules, l, "@keyframes"));
1636
+ this.inject = function(i, s) {
1637
+ s === void 0 && (s = Bt);
1638
+ var l = r.name + s.hash;
1639
+ i.hasNameForId(r.id, l) || i.insertRules(r.id, l, s(r.rules, l, "@keyframes"));
1640
1640
  }, this.name = t, this.id = "sc-keyframes-".concat(t), this.rules = n, Qt(this, function() {
1641
1641
  throw We(12, String(r.name));
1642
1642
  });
@@ -1644,14 +1644,14 @@ var Ut = (function() {
1644
1644
  return e.prototype.getName = function(t) {
1645
1645
  return t === void 0 && (t = Bt), this.name + t.hash;
1646
1646
  }, e;
1647
- })(), Pi = function(e) {
1647
+ })(), Ti = function(e) {
1648
1648
  return e >= "A" && e <= "Z";
1649
1649
  };
1650
1650
  function _n(e) {
1651
1651
  for (var t = "", n = 0; n < e.length; n++) {
1652
1652
  var r = e[n];
1653
1653
  if (n === 1 && r === "-" && e[0] === "-") return e;
1654
- Pi(r) ? t += "-" + r.toLowerCase() : t += r;
1654
+ Ti(r) ? t += "-" + r.toLowerCase() : t += r;
1655
1655
  }
1656
1656
  return t.startsWith("ms-") ? "-" + t : t;
1657
1657
  }
@@ -1660,28 +1660,28 @@ var ur = function(e) {
1660
1660
  }, dr = function(e) {
1661
1661
  var t, n, r = [];
1662
1662
  for (var i in e) {
1663
- var a = e[i];
1664
- e.hasOwnProperty(i) && !ur(a) && (Array.isArray(a) && a.isCss || He(a) ? r.push("".concat(_n(i), ":"), a, ";") : ze(a) ? r.push.apply(r, je(je(["".concat(i, " {")], dr(a), !1), ["}"], !1)) : r.push("".concat(_n(i), ": ").concat((t = i, (n = a) == null || typeof n == "boolean" || n === "" ? "" : typeof n != "number" || n === 0 || t in Zo || t.startsWith("--") ? String(n).trim() : "".concat(n, "px")), ";")));
1663
+ var s = e[i];
1664
+ e.hasOwnProperty(i) && !ur(s) && (Array.isArray(s) && s.isCss || $e(s) ? r.push("".concat(_n(i), ":"), s, ";") : ze(s) ? r.push.apply(r, je(je(["".concat(i, " {")], dr(s), !1), ["}"], !1)) : r.push("".concat(_n(i), ": ").concat((t = i, (n = s) == null || typeof n == "boolean" || n === "" ? "" : typeof n != "number" || n === 0 || t in Zo || t.startsWith("--") ? String(n).trim() : "".concat(n, "px")), ";")));
1665
1665
  }
1666
1666
  return r;
1667
1667
  };
1668
- function Pe(e, t, n, r) {
1668
+ function Te(e, t, n, r) {
1669
1669
  if (ur(e)) return [];
1670
1670
  if (Kt(e)) return [".".concat(e.styledComponentId)];
1671
- if (He(e)) {
1672
- if (!He(a = e) || a.prototype && a.prototype.isReactComponent || !t) return [e];
1671
+ if ($e(e)) {
1672
+ if (!$e(s = e) || s.prototype && s.prototype.isReactComponent || !t) return [e];
1673
1673
  var i = e(t);
1674
- return process.env.NODE_ENV === "production" || typeof i != "object" || Array.isArray(i) || i instanceof Ut || ze(i) || i === null || console.error("".concat(tr(e), " is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.")), Pe(i, t, n, r);
1674
+ return process.env.NODE_ENV === "production" || typeof i != "object" || Array.isArray(i) || i instanceof Ut || ze(i) || i === null || console.error("".concat(tr(e), " is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.")), Te(i, t, n, r);
1675
1675
  }
1676
- var a;
1676
+ var s;
1677
1677
  return e instanceof Ut ? n ? (e.inject(n, r), [e.getName(r)]) : [e] : ze(e) ? dr(e) : Array.isArray(e) ? Array.prototype.concat.apply(Et, e.map(function(l) {
1678
- return Pe(l, t, n, r);
1678
+ return Te(l, t, n, r);
1679
1679
  })) : [e.toString()];
1680
1680
  }
1681
1681
  function Ri(e) {
1682
1682
  for (var t = 0; t < e.length; t += 1) {
1683
1683
  var n = e[t];
1684
- if (He(n) && !Kt(n)) return !1;
1684
+ if ($e(n) && !Kt(n)) return !1;
1685
1685
  }
1686
1686
  return !0;
1687
1687
  }
@@ -1693,25 +1693,25 @@ var ji = Qn(kt), Li = (function() {
1693
1693
  var i = this.baseStyle ? this.baseStyle.generateAndInjectStyles(t, n, r) : "";
1694
1694
  if (this.isStatic && !r.hash) if (this.staticRulesId && n.hasNameForId(this.componentId, this.staticRulesId)) i = Ee(i, this.staticRulesId);
1695
1695
  else {
1696
- var a = Ht(Pe(this.rules, t, n, r)), l = $t(ke(this.baseHash, a) >>> 0);
1696
+ var s = $t(Te(this.rules, t, n, r)), l = Ht(ke(this.baseHash, s) >>> 0);
1697
1697
  if (!n.hasNameForId(this.componentId, l)) {
1698
- var u = r(a, ".".concat(l), void 0, this.componentId);
1699
- n.insertRules(this.componentId, l, u);
1698
+ var c = r(s, ".".concat(l), void 0, this.componentId);
1699
+ n.insertRules(this.componentId, l, c);
1700
1700
  }
1701
1701
  i = Ee(i, l), this.staticRulesId = l;
1702
1702
  }
1703
1703
  else {
1704
- for (var c = ke(this.baseHash, r.hash), d = "", p = 0; p < this.rules.length; p++) {
1705
- var m = this.rules[p];
1706
- if (typeof m == "string") d += m, process.env.NODE_ENV !== "production" && (c = ke(c, m));
1707
- else if (m) {
1708
- var w = Ht(Pe(m, t, n, r));
1709
- c = ke(c, w + p), d += w;
1704
+ for (var u = ke(this.baseHash, r.hash), d = "", p = 0; p < this.rules.length; p++) {
1705
+ var h = this.rules[p];
1706
+ if (typeof h == "string") d += h, process.env.NODE_ENV !== "production" && (u = ke(u, h));
1707
+ else if (h) {
1708
+ var b = $t(Te(h, t, n, r));
1709
+ u = ke(u, b + p), d += b;
1710
1710
  }
1711
1711
  }
1712
1712
  if (d) {
1713
- var v = $t(c >>> 0);
1714
- n.hasNameForId(this.componentId, v) || n.insertRules(this.componentId, v, r(d, ".".concat(v), void 0, this.componentId)), i = Ee(i, v);
1713
+ var x = Ht(u >>> 0);
1714
+ n.hasNameForId(this.componentId, x) || n.insertRules(this.componentId, x, r(d, ".".concat(x), void 0, this.componentId)), i = Ee(i, x);
1715
1715
  }
1716
1716
  }
1717
1717
  return i;
@@ -1720,61 +1720,61 @@ var ji = Qn(kt), Li = (function() {
1720
1720
  fr.Consumer;
1721
1721
  var Ot = {}, In = /* @__PURE__ */ new Set();
1722
1722
  function _i(e, t, n) {
1723
- var r = Kt(e), i = e, a = !At(e), l = t.attrs, u = l === void 0 ? Et : l, c = t.componentId, d = c === void 0 ? (function(L, D) {
1724
- var C = typeof L != "string" ? "sc" : Cn(L);
1725
- Ot[C] = (Ot[C] || 0) + 1;
1726
- var x = "".concat(C, "-").concat(er(kt + C + Ot[C]));
1727
- return D ? "".concat(D, "-").concat(x) : x;
1728
- })(t.displayName, t.parentComponentId) : c, p = t.displayName, m = p === void 0 ? (function(L) {
1729
- return At(L) ? "styled.".concat(L) : "Styled(".concat(tr(L), ")");
1730
- })(e) : p, w = t.displayName && t.componentId ? "".concat(Cn(t.displayName), "-").concat(t.componentId) : t.componentId || d, v = r && i.attrs ? i.attrs.concat(u).filter(Boolean) : u, T = t.shouldForwardProp;
1723
+ var r = Kt(e), i = e, s = !At(e), l = t.attrs, c = l === void 0 ? Et : l, u = t.componentId, d = u === void 0 ? (function(y, I) {
1724
+ var k = typeof y != "string" ? "sc" : Cn(y);
1725
+ Ot[k] = (Ot[k] || 0) + 1;
1726
+ var S = "".concat(k, "-").concat(er(kt + k + Ot[k]));
1727
+ return I ? "".concat(I, "-").concat(S) : S;
1728
+ })(t.displayName, t.parentComponentId) : u, p = t.displayName, h = p === void 0 ? (function(y) {
1729
+ return At(y) ? "styled.".concat(y) : "Styled(".concat(tr(y), ")");
1730
+ })(e) : p, b = t.displayName && t.componentId ? "".concat(Cn(t.displayName), "-").concat(t.componentId) : t.componentId || d, x = r && i.attrs ? i.attrs.concat(c).filter(Boolean) : c, R = t.shouldForwardProp;
1731
1731
  if (r && i.shouldForwardProp) {
1732
- var E = i.shouldForwardProp;
1732
+ var L = i.shouldForwardProp;
1733
1733
  if (t.shouldForwardProp) {
1734
- var M = t.shouldForwardProp;
1735
- T = function(L, D) {
1736
- return E(L, D) && M(L, D);
1734
+ var T = t.shouldForwardProp;
1735
+ R = function(y, I) {
1736
+ return L(y, I) && T(y, I);
1737
1737
  };
1738
- } else T = E;
1738
+ } else R = L;
1739
1739
  }
1740
- var P = new Li(n, w, r ? i.componentStyle : void 0);
1741
- function b(L, D) {
1742
- return (function(C, x, U) {
1743
- var J = C.attrs, I = C.componentStyle, _e = C.defaultProps, fe = C.foldedComponentIds, q = C.styledComponentId, ne = C.target, ue = Re.useContext(fr), xe = Ln(), K = C.shouldForwardProp || xe.shouldForwardProp;
1744
- process.env.NODE_ENV !== "production" && mn(q);
1745
- var Ye = Jo(x, ue, _e) || $e, re = (function(De, pe, ye) {
1746
- for (var se, ae = ee(ee({}, pe), { className: void 0, theme: ye }), ve = 0; ve < De.length; ve += 1) {
1747
- var Ae = He(se = De[ve]) ? se(ae) : se;
1740
+ var E = new Li(n, b, r ? i.componentStyle : void 0);
1741
+ function v(y, I) {
1742
+ return (function(k, S, W) {
1743
+ var J = k.attrs, A = k.componentStyle, _e = k.defaultProps, fe = k.foldedComponentIds, Z = k.styledComponentId, ne = k.target, ue = Re.useContext(fr), Se = Ln(), K = k.shouldForwardProp || Se.shouldForwardProp;
1744
+ process.env.NODE_ENV !== "production" && mn(Z);
1745
+ var Ye = Jo(S, ue, _e) || He, re = (function(De, pe, ve) {
1746
+ for (var se, ae = ee(ee({}, pe), { className: void 0, theme: ve }), we = 0; we < De.length; we += 1) {
1747
+ var Ae = $e(se = De[we]) ? se(ae) : se;
1748
1748
  for (var ce in Ae) ae[ce] = ce === "className" ? Ee(ae[ce], Ae[ce]) : ce === "style" ? ee(ee({}, ae[ce]), Ae[ce]) : Ae[ce];
1749
1749
  }
1750
1750
  return pe.className && (ae.className = Ee(ae.className, pe.className)), ae;
1751
- })(J, x, Ye), me = re.as || ne, ge = {};
1752
- for (var Z in re) re[Z] === void 0 || Z[0] === "$" || Z === "as" || Z === "theme" && re.theme === Ye || (Z === "forwardedAs" ? ge.as = re.forwardedAs : K && !K(Z, me) || (ge[Z] = re[Z], K || process.env.NODE_ENV !== "development" || jo(Z) || In.has(Z) || !Nt.has(me) || (In.add(Z), console.warn('styled-components: it looks like an unknown prop "'.concat(Z, '" is being sent through to the DOM, which will likely trigger a React console error. If you would like automatic filtering of unknown props, you can opt-into that behavior via `<StyleSheetManager shouldForwardProp={...}>` (connect an API like `@emotion/is-prop-valid`) or consider using transient props (`$` prefix for automatic filtering.)')))));
1751
+ })(J, S, Ye), ge = re.as || ne, ye = {};
1752
+ for (var G in re) re[G] === void 0 || G[0] === "$" || G === "as" || G === "theme" && re.theme === Ye || (G === "forwardedAs" ? ye.as = re.forwardedAs : K && !K(G, ge) || (ye[G] = re[G], K || process.env.NODE_ENV !== "development" || jo(G) || In.has(G) || !Nt.has(ge) || (In.add(G), console.warn('styled-components: it looks like an unknown prop "'.concat(G, '" is being sent through to the DOM, which will likely trigger a React console error. If you would like automatic filtering of unknown props, you can opt-into that behavior via `<StyleSheetManager shouldForwardProp={...}>` (connect an API like `@emotion/is-prop-valid`) or consider using transient props (`$` prefix for automatic filtering.)')))));
1753
1753
  var Ie = (function(De, pe) {
1754
- var ye = Ln(), se = De.generateAndInjectStyles(pe, ye.styleSheet, ye.stylis);
1754
+ var ve = Ln(), se = De.generateAndInjectStyles(pe, ve.styleSheet, ve.stylis);
1755
1755
  return process.env.NODE_ENV !== "production" && mn(se), se;
1756
- })(I, re);
1757
- process.env.NODE_ENV !== "production" && C.warnTooManyClasses && C.warnTooManyClasses(Ie);
1758
- var qe = Ee(fe, q);
1759
- return Ie && (qe += " " + Ie), re.className && (qe += " " + re.className), ge[At(me) && !Nt.has(me) ? "class" : "className"] = qe, U && (ge.ref = U), wo(me, ge);
1760
- })(h, L, D);
1756
+ })(A, re);
1757
+ process.env.NODE_ENV !== "production" && k.warnTooManyClasses && k.warnTooManyClasses(Ie);
1758
+ var qe = Ee(fe, Z);
1759
+ return Ie && (qe += " " + Ie), re.className && (qe += " " + re.className), ye[At(ge) && !Nt.has(ge) ? "class" : "className"] = qe, W && (ye.ref = W), wo(ge, ye);
1760
+ })(w, y, I);
1761
1761
  }
1762
- b.displayName = m;
1763
- var h = Re.forwardRef(b);
1764
- return h.attrs = v, h.componentStyle = P, h.displayName = m, h.shouldForwardProp = T, h.foldedComponentIds = r ? Ee(i.foldedComponentIds, i.styledComponentId) : "", h.styledComponentId = w, h.target = r ? i.target : e, Object.defineProperty(h, "defaultProps", { get: function() {
1762
+ v.displayName = h;
1763
+ var w = Re.forwardRef(v);
1764
+ return w.attrs = x, w.componentStyle = E, w.displayName = h, w.shouldForwardProp = R, w.foldedComponentIds = r ? Ee(i.foldedComponentIds, i.styledComponentId) : "", w.styledComponentId = b, w.target = r ? i.target : e, Object.defineProperty(w, "defaultProps", { get: function() {
1765
1765
  return this._foldedDefaultProps;
1766
- }, set: function(L) {
1767
- this._foldedDefaultProps = r ? (function(D) {
1768
- for (var C = [], x = 1; x < arguments.length; x++) C[x - 1] = arguments[x];
1769
- for (var U = 0, J = C; U < J.length; U++) zt(D, J[U], !0);
1770
- return D;
1771
- })({}, i.defaultProps, L) : L;
1772
- } }), process.env.NODE_ENV !== "production" && (Xo(m, w), h.warnTooManyClasses = /* @__PURE__ */ (function(L, D) {
1773
- var C = {}, x = !1;
1774
- return function(U) {
1775
- if (!x && (C[U] = !0, Object.keys(C).length >= 200)) {
1776
- var J = D ? ' with the id of "'.concat(D, '"') : "";
1777
- console.warn("Over ".concat(200, " classes were generated for component ").concat(L).concat(J, `.
1766
+ }, set: function(y) {
1767
+ this._foldedDefaultProps = r ? (function(I) {
1768
+ for (var k = [], S = 1; S < arguments.length; S++) k[S - 1] = arguments[S];
1769
+ for (var W = 0, J = k; W < J.length; W++) zt(I, J[W], !0);
1770
+ return I;
1771
+ })({}, i.defaultProps, y) : y;
1772
+ } }), process.env.NODE_ENV !== "production" && (Xo(h, b), w.warnTooManyClasses = /* @__PURE__ */ (function(y, I) {
1773
+ var k = {}, S = !1;
1774
+ return function(W) {
1775
+ if (!S && (k[W] = !0, Object.keys(k).length >= 200)) {
1776
+ var J = I ? ' with the id of "'.concat(I, '"') : "";
1777
+ console.warn("Over ".concat(200, " classes were generated for component ").concat(y).concat(J, `.
1778
1778
  `) + `Consider using the attrs method, together with a style object for frequently changed styles.
1779
1779
  Example:
1780
1780
  const Component = styled.div.attrs(props => ({
@@ -1783,12 +1783,12 @@ Example:
1783
1783
  },
1784
1784
  }))\`width: 100%;\`
1785
1785
 
1786
- <Component />`), x = !0, C = {};
1786
+ <Component />`), S = !0, k = {};
1787
1787
  }
1788
1788
  };
1789
- })(m, w)), Qt(h, function() {
1790
- return ".".concat(h.styledComponentId);
1791
- }), a && ir(h, e, { attrs: !0, componentStyle: !0, displayName: !0, foldedComponentIds: !0, shouldForwardProp: !0, styledComponentId: !0, target: !0 }), h;
1789
+ })(h, b)), Qt(w, function() {
1790
+ return ".".concat(w.styledComponentId);
1791
+ }), s && ir(w, e, { attrs: !0, componentStyle: !0, displayName: !0, foldedComponentIds: !0, shouldForwardProp: !0, styledComponentId: !0, target: !0 }), w;
1792
1792
  }
1793
1793
  function Dn(e, t) {
1794
1794
  for (var n = [e[0]], r = 0, i = t.length; r < i; r += 1) n.push(t[r], e[r + 1]);
@@ -1799,15 +1799,15 @@ var An = function(e) {
1799
1799
  };
1800
1800
  function mt(e) {
1801
1801
  for (var t = [], n = 1; n < arguments.length; n++) t[n - 1] = arguments[n];
1802
- if (He(e) || ze(e)) return An(Pe(Dn(Et, je([e], t, !0))));
1802
+ if ($e(e) || ze(e)) return An(Te(Dn(Et, je([e], t, !0))));
1803
1803
  var r = e;
1804
- return t.length === 0 && r.length === 1 && typeof r[0] == "string" ? Pe(r) : An(Pe(Dn(r, t)));
1804
+ return t.length === 0 && r.length === 1 && typeof r[0] == "string" ? Te(r) : An(Te(Dn(r, t)));
1805
1805
  }
1806
1806
  function Wt(e, t, n) {
1807
- if (n === void 0 && (n = $e), !t) throw We(1, t);
1807
+ if (n === void 0 && (n = He), !t) throw We(1, t);
1808
1808
  var r = function(i) {
1809
- for (var a = [], l = 1; l < arguments.length; l++) a[l - 1] = arguments[l];
1810
- return e(t, n, mt.apply(void 0, je([i], a, !1)));
1809
+ for (var s = [], l = 1; l < arguments.length; l++) s[l - 1] = arguments[l];
1810
+ return e(t, n, mt.apply(void 0, je([i], s, !1)));
1811
1811
  };
1812
1812
  return r.attrs = function(i) {
1813
1813
  return Wt(e, t, ee(ee({}, n), { attrs: Array.prototype.concat(n.attrs, i).filter(Boolean) }));
@@ -1817,14 +1817,14 @@ function Wt(e, t, n) {
1817
1817
  }
1818
1818
  var pr = function(e) {
1819
1819
  return Wt(_i, e);
1820
- }, _ = pr;
1820
+ }, D = pr;
1821
1821
  Nt.forEach(function(e) {
1822
- _[e] = pr(e);
1822
+ D[e] = pr(e);
1823
1823
  });
1824
1824
  function Ii(e) {
1825
1825
  for (var t = [], n = 1; n < arguments.length; n++) t[n - 1] = arguments[n];
1826
1826
  process.env.NODE_ENV !== "production" && typeof navigator < "u" && navigator.product === "ReactNative" && console.warn("`keyframes` cannot be used on ReactNative, only on the web. To do animation in ReactNative please use Animated.");
1827
- var r = Ht(mt.apply(void 0, je([e], t, !1))), i = er(r);
1827
+ var r = $t(mt.apply(void 0, je([e], t, !1))), i = er(r);
1828
1828
  return new Ut(i, r);
1829
1829
  }
1830
1830
  process.env.NODE_ENV !== "production" && typeof navigator < "u" && navigator.product === "ReactNative" && console.warn(`It looks like you've imported 'styled-components' on React Native.
@@ -1840,33 +1840,33 @@ function Di({
1840
1840
  eventNotStartedMessage: n,
1841
1841
  eventStartingSoonMessage: r
1842
1842
  }) {
1843
- const i = W((d) => d.startDate), a = W((d) => d.endDate), l = Date.now(), u = l < i.getTime(), c = l > a.getTime();
1844
- return ko(5e3), u ? /* @__PURE__ */ s.jsx(
1843
+ const i = U((d) => d.startDate), s = U((d) => d.endDate), l = Date.now(), c = l < i.getTime(), u = l > s.getTime();
1844
+ return ko(5e3), c ? /* @__PURE__ */ a.jsx(
1845
1845
  Ai,
1846
1846
  {
1847
1847
  startDate: i,
1848
1848
  title: n || "Event has not started yet.",
1849
1849
  message: r || "Starting in few seconds..."
1850
1850
  }
1851
- ) : c ? /* @__PURE__ */ s.jsx(Oi, { title: t || "Event has finished." }) : /* @__PURE__ */ s.jsx(s.Fragment, { children: e });
1851
+ ) : u ? /* @__PURE__ */ a.jsx(Oi, { title: t || "Event has finished." }) : /* @__PURE__ */ a.jsx(a.Fragment, { children: e });
1852
1852
  }
1853
1853
  function Ai({ startDate: e, title: t, message: n }) {
1854
- const r = e.getTime() - Date.now(), i = Math.floor(r / (1e3 * 60 * 60)), a = Math.floor(
1854
+ const r = e.getTime() - Date.now(), i = Math.floor(r / (1e3 * 60 * 60)), s = Math.floor(
1855
1855
  r % (1e3 * 60 * 60) / (1e3 * 60)
1856
1856
  );
1857
- return i || a ? /* @__PURE__ */ s.jsxs(Yt, { children: [
1858
- /* @__PURE__ */ s.jsx(qt, { children: t }),
1859
- /* @__PURE__ */ s.jsxs(Fi, { children: [
1857
+ return i || s ? /* @__PURE__ */ a.jsxs(Yt, { children: [
1858
+ /* @__PURE__ */ a.jsx(qt, { children: t }),
1859
+ /* @__PURE__ */ a.jsxs(Fi, { children: [
1860
1860
  "(",
1861
- i > 0 ? `${i}h ${a}m` : `${a}m`,
1861
+ i > 0 ? `${i}h ${s}m` : `${s}m`,
1862
1862
  ")"
1863
1863
  ] })
1864
- ] }) : /* @__PURE__ */ s.jsx(Yt, { children: /* @__PURE__ */ s.jsx(qt, { children: n }) });
1864
+ ] }) : /* @__PURE__ */ a.jsx(Yt, { children: /* @__PURE__ */ a.jsx(qt, { children: n }) });
1865
1865
  }
1866
1866
  function Oi({ title: e }) {
1867
- return /* @__PURE__ */ s.jsx(Yt, { children: /* @__PURE__ */ s.jsx(qt, { children: e }) });
1867
+ return /* @__PURE__ */ a.jsx(Yt, { children: /* @__PURE__ */ a.jsx(qt, { children: e }) });
1868
1868
  }
1869
- const Yt = _.div`
1869
+ const Yt = D.div`
1870
1870
  position: absolute;
1871
1871
  top: 0;
1872
1872
  left: 0;
@@ -1879,14 +1879,14 @@ const Yt = _.div`
1879
1879
  justify-content: center;
1880
1880
  color: black;
1881
1881
  background: #f7e406;
1882
- `, qt = _.h3`
1882
+ `, qt = D.h3`
1883
1883
  margin: 0;
1884
1884
  padding: 0.5rem 0;
1885
1885
  font-size: 1.5rem;
1886
1886
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
1887
1887
  "Helvetica Neue", Arial, sans-serif;
1888
1888
  font-weight: 500;
1889
- `, Fi = _.p`
1889
+ `, Fi = D.p`
1890
1890
  margin: 0;
1891
1891
  height: 1.25rem;
1892
1892
  font-size: 1rem;
@@ -1895,21 +1895,21 @@ const Yt = _.div`
1895
1895
  font-weight: 500;
1896
1896
  `;
1897
1897
  function Mi() {
1898
- return /* @__PURE__ */ s.jsx(
1898
+ return /* @__PURE__ */ a.jsx(
1899
1899
  "svg",
1900
1900
  {
1901
1901
  xmlns: "http://www.w3.org/2000/svg",
1902
1902
  viewBox: "0 0 24 24",
1903
1903
  fill: "currentColor",
1904
- children: /* @__PURE__ */ s.jsx("path", { d: "M13.1717 12.0007L8.22192 7.05093L9.63614 5.63672L16.0001 12.0007L9.63614 18.3646L8.22192 16.9504L13.1717 12.0007Z" })
1904
+ children: /* @__PURE__ */ a.jsx("path", { d: "M13.1717 12.0007L8.22192 7.05093L9.63614 5.63672L16.0001 12.0007L9.63614 18.3646L8.22192 16.9504L13.1717 12.0007Z" })
1905
1905
  }
1906
1906
  );
1907
1907
  }
1908
- const be = yt(
1909
- ({ shape: e = "circle", ...t }, n) => /* @__PURE__ */ s.jsx(Vi, { ref: n, $shape: e, ...t })
1908
+ const xe = yt(
1909
+ ({ shape: e = "circle", ...t }, n) => /* @__PURE__ */ a.jsx(Vi, { ref: n, $shape: e, ...t })
1910
1910
  );
1911
- be.displayName = "PlayerButton";
1912
- const Vi = _.button`
1911
+ xe.displayName = "PlayerButton";
1912
+ const Vi = D.button`
1913
1913
  margin: 0;
1914
1914
  display: flex;
1915
1915
  align-items: center;
@@ -1958,35 +1958,35 @@ const Vi = _.button`
1958
1958
  `}
1959
1959
  `;
1960
1960
  function Ni({ message: e, ...t }) {
1961
- const n = W((a) => a.delay), r = W((a) => a.setDelay), i = () => r(0);
1962
- return n ? /* @__PURE__ */ s.jsxs(be, { onClick: i, shape: "square", ...t, children: [
1963
- /* @__PURE__ */ s.jsx("span", { children: e || "Live" }),
1964
- /* @__PURE__ */ s.jsx(Mi, {})
1961
+ const n = U((s) => s.delay), r = U((s) => s.setDelay), i = () => r(0);
1962
+ return n ? /* @__PURE__ */ a.jsxs(xe, { onClick: i, shape: "square", ...t, children: [
1963
+ /* @__PURE__ */ a.jsx("span", { children: e || "Live" }),
1964
+ /* @__PURE__ */ a.jsx(Mi, {})
1965
1965
  ] }) : null;
1966
1966
  }
1967
1967
  function hr() {
1968
- return /* @__PURE__ */ s.jsx(
1968
+ return /* @__PURE__ */ a.jsx(
1969
1969
  "svg",
1970
1970
  {
1971
1971
  xmlns: "http://www.w3.org/2000/svg",
1972
1972
  viewBox: "0 0 24 24",
1973
1973
  fill: "currentColor",
1974
- children: /* @__PURE__ */ s.jsx("path", { d: "M6 5H8V19H6V5ZM16 5H18V19H16V5Z" })
1974
+ children: /* @__PURE__ */ a.jsx("path", { d: "M6 5H8V19H6V5ZM16 5H18V19H16V5Z" })
1975
1975
  }
1976
1976
  );
1977
1977
  }
1978
1978
  function mr() {
1979
- return /* @__PURE__ */ s.jsx(
1979
+ return /* @__PURE__ */ a.jsx(
1980
1980
  "svg",
1981
1981
  {
1982
1982
  xmlns: "http://www.w3.org/2000/svg",
1983
1983
  viewBox: "0 0 24 24",
1984
1984
  fill: "currentColor",
1985
- children: /* @__PURE__ */ s.jsx("path", { d: "M19.376 12.4161L8.77735 19.4818C8.54759 19.635 8.23715 19.5729 8.08397 19.3432C8.02922 19.261 8 19.1645 8 19.0658V4.93433C8 4.65818 8.22386 4.43433 8.5 4.43433C8.59871 4.43433 8.69522 4.46355 8.77735 4.5183L19.376 11.584C19.6057 11.7372 19.6678 12.0477 19.5146 12.2774C19.478 12.3323 19.4309 12.3795 19.376 12.4161Z" })
1985
+ children: /* @__PURE__ */ a.jsx("path", { d: "M19.376 12.4161L8.77735 19.4818C8.54759 19.635 8.23715 19.5729 8.08397 19.3432C8.02922 19.261 8 19.1645 8 19.0658V4.93433C8 4.65818 8.22386 4.43433 8.5 4.43433C8.59871 4.43433 8.69522 4.46355 8.77735 4.5183L19.376 11.584C19.6057 11.7372 19.6678 12.0477 19.5146 12.2774C19.478 12.3323 19.4309 12.3795 19.376 12.4161Z" })
1986
1986
  }
1987
1987
  );
1988
1988
  }
1989
- function $i(e, t, n) {
1989
+ function Hi(e, t, n) {
1990
1990
  const r = {
1991
1991
  days: 86400,
1992
1992
  hours: 3600,
@@ -1996,8 +1996,8 @@ function $i(e, t, n) {
1996
1996
  };
1997
1997
  return e * (r[t] / r[n]);
1998
1998
  }
1999
- function Hi(e) {
2000
- return $i(e, "milliseconds", "seconds");
1999
+ function $i(e) {
2000
+ return Hi(e, "milliseconds", "seconds");
2001
2001
  }
2002
2002
  const Be = (e) => {
2003
2003
  const t = Math.floor(e / 60), n = Math.floor(e % 60);
@@ -2104,7 +2104,9 @@ const qi = (e, t) => ({
2104
2104
  pauseTime: Date.now()
2105
2105
  }));
2106
2106
  },
2107
- pauseTimeDiff: () => Hi(Date.now() - t().pauseTime),
2107
+ getPauseTimeDiff: () => !t().isStarted || !t().pauseTime ? 0 : parseInt(
2108
+ $i(Date.now() - t().pauseTime).toFixed(0)
2109
+ ),
2108
2110
  play: () => {
2109
2111
  const n = t().techRef.current;
2110
2112
  n && (n.play(), e({
@@ -2170,7 +2172,7 @@ const qi = (e, t) => ({
2170
2172
  setIsFullscreenReady: (n) => e({ isFullscreenReady: n })
2171
2173
  }), Ji = (e) => () => ({
2172
2174
  ...e
2173
- }), Ki = (e, t) => $n()((...n) => ({
2175
+ }), Ki = (e, t) => Hn()((...n) => ({
2174
2176
  ...qi(...n),
2175
2177
  ...Zi(...n),
2176
2178
  ...Xi(...n),
@@ -2178,48 +2180,53 @@ const qi = (e, t) => ({
2178
2180
  ...Ji({ techRef: e, containerRef: t })(...n)
2179
2181
  })), yr = Nn(null);
2180
2182
  function Qi({ children: e }) {
2181
- const t = Y(null), n = Y(null), r = Y(null);
2182
- return t.current || (t.current = Ki(n, r)), /* @__PURE__ */ s.jsx(yr.Provider, { value: t.current, children: e });
2183
+ const t = q(null), n = q(null), r = q(null);
2184
+ return t.current || (t.current = Ki(n, r)), /* @__PURE__ */ a.jsx(yr.Provider, { value: t.current, children: e });
2183
2185
  }
2184
- const g = (e) => {
2186
+ const m = (e) => {
2185
2187
  const t = Zt(yr);
2186
2188
  if (!t)
2187
2189
  throw new Error("usePlayerStore must be used within PlayerStoreProvider");
2188
- return Hn(t, e);
2190
+ return $n(t, e);
2189
2191
  };
2190
2192
  function es() {
2191
- const e = g((c) => c.isPlaying), t = g((c) => c.pause), n = g((c) => c.pauseTime), r = g((c) => c.pauseTimeDiff), i = g((c) => c.play), a = W((c) => c.delay), l = W((c) => c.setDelay), u = () => {
2192
- e ? t() : (n && l(a + r()), i());
2193
+ const e = m((c) => c.isPlaying), t = m((c) => c.pause), n = m((c) => c.getPauseTimeDiff), r = m((c) => c.play), i = U((c) => c.delay), s = U((c) => c.setDelay), l = () => {
2194
+ if (e)
2195
+ t();
2196
+ else {
2197
+ const c = n();
2198
+ c && s(i + c), r();
2199
+ }
2193
2200
  };
2194
- return /* @__PURE__ */ s.jsx(be, { onClick: u, children: e ? /* @__PURE__ */ s.jsx(hr, {}) : /* @__PURE__ */ s.jsx(mr, {}) });
2201
+ return /* @__PURE__ */ a.jsx(xe, { onClick: l, children: e ? /* @__PURE__ */ a.jsx(hr, {}) : /* @__PURE__ */ a.jsx(mr, {}) });
2195
2202
  }
2196
2203
  function vr({
2197
2204
  className: e,
2198
2205
  onClick: t,
2199
2206
  ...n
2200
2207
  }) {
2201
- const r = Y(null), i = g((m) => m.exitFullscreen), a = g((m) => m.isFullscreen), l = g((m) => m.requestFullscreen), u = (m) => {
2202
- p() ? (d(), a ? i() : l()) : c(m);
2203
- }, c = (m) => {
2208
+ const r = q(null), i = m((h) => h.exitFullscreen), s = m((h) => h.isFullscreen), l = m((h) => h.requestFullscreen), c = (h) => {
2209
+ p() ? (d(), s ? i() : l()) : u(h);
2210
+ }, u = (h) => {
2204
2211
  r.current = window.setTimeout(() => {
2205
- t?.(m), d();
2212
+ t?.(h), d();
2206
2213
  }, 200);
2207
2214
  }, d = () => {
2208
2215
  r.current !== null && (window.clearTimeout(r.current), r.current = null);
2209
2216
  }, p = () => r.current !== null;
2210
2217
  return te(() => () => {
2211
2218
  d();
2212
- }, []), /* @__PURE__ */ s.jsx(
2219
+ }, []), /* @__PURE__ */ a.jsx(
2213
2220
  ts,
2214
2221
  {
2215
- onClick: u,
2222
+ onClick: c,
2216
2223
  className: e,
2217
2224
  "aria-label": "Player playback indicator",
2218
2225
  ...n
2219
2226
  }
2220
2227
  );
2221
2228
  }
2222
- const ts = _.button`
2229
+ const ts = D.button`
2223
2230
  position: absolute;
2224
2231
  top: 0;
2225
2232
  left: 0;
@@ -2239,16 +2246,21 @@ const ts = _.button`
2239
2246
  }
2240
2247
  `;
2241
2248
  function ns() {
2242
- const e = g((r) => r.isPlaying), t = g((r) => r.play), n = () => {
2243
- e || t();
2249
+ const e = m((c) => c.isPlaying), t = m((c) => c.pause), n = m((c) => c.getPauseTimeDiff), r = m((c) => c.play), i = U((c) => c.delay), s = U((c) => c.setDelay), l = () => {
2250
+ if (e)
2251
+ t();
2252
+ else {
2253
+ const c = n();
2254
+ c && s(i + c), r();
2255
+ }
2244
2256
  };
2245
- return /* @__PURE__ */ s.jsx(vr, { onClick: n });
2257
+ return /* @__PURE__ */ a.jsx(vr, { onClick: l });
2246
2258
  }
2247
- const wr = _.div`
2259
+ const wr = D.div`
2248
2260
  position: relative;
2249
2261
  width: 100%;
2250
2262
  margin-bottom: -0.25rem;
2251
- `, br = _.div`
2263
+ `, br = D.div`
2252
2264
  position: absolute;
2253
2265
  bottom: 1.75rem;
2254
2266
  left: 0;
@@ -2259,7 +2271,7 @@ const wr = _.div`
2259
2271
  opacity: ${({ $isVisible: e }) => e ? 1 : 0};
2260
2272
  transform: ${({ $isVisible: e }) => e ? "translateY(0)" : "translateY(-0.5rem)"};
2261
2273
  transition: opacity 0.2s ease-in-out, transform 0.2s ease-in-out;
2262
- `, xr = _.p`
2274
+ `, xr = D.p`
2263
2275
  margin: 0;
2264
2276
  padding: 0.25rem;
2265
2277
  font-variant-numeric: tabular-nums;
@@ -2271,7 +2283,7 @@ const wr = _.div`
2271
2283
  color: white;
2272
2284
  background: rgba(0, 0, 0, 0.8);
2273
2285
  border-radius: 1rem;
2274
- `, Tt = yt(({ max: e = 100, min: t = 0, ...n }, r) => /* @__PURE__ */ s.jsxs(
2286
+ `, Pt = yt(({ max: e = 100, min: t = 0, ...n }, r) => /* @__PURE__ */ a.jsxs(
2275
2287
  rs,
2276
2288
  {
2277
2289
  ref: r,
@@ -2285,13 +2297,13 @@ const wr = _.div`
2285
2297
  ),
2286
2298
  ...n,
2287
2299
  children: [
2288
- /* @__PURE__ */ s.jsx(os, { children: /* @__PURE__ */ s.jsx(is, {}) }),
2289
- /* @__PURE__ */ s.jsx(ss, {})
2300
+ /* @__PURE__ */ a.jsx(os, { children: /* @__PURE__ */ a.jsx(is, {}) }),
2301
+ /* @__PURE__ */ a.jsx(ss, {})
2290
2302
  ]
2291
2303
  }
2292
2304
  ));
2293
- Tt.displayName = "PlayerSlider";
2294
- const rs = _(vt.Root)`
2305
+ Pt.displayName = "PlayerSlider";
2306
+ const rs = D(vt.Root)`
2295
2307
  position: relative;
2296
2308
  display: flex;
2297
2309
  align-items: center;
@@ -2305,20 +2317,20 @@ const rs = _(vt.Root)`
2305
2317
  cursor: not-allowed;
2306
2318
  opacity: 0.5;
2307
2319
  }
2308
- `, os = _(vt.Track)`
2320
+ `, os = D(vt.Track)`
2309
2321
  position: relative;
2310
2322
  height: 0.25rem;
2311
2323
  flex-grow: 1;
2312
2324
  background: rgba(255, 255, 255, 0.2);
2313
2325
  border-radius: 1rem;
2314
2326
  overflow: hidden;
2315
- `, is = _(vt.Range)`
2327
+ `, is = D(vt.Range)`
2316
2328
  position: absolute;
2317
2329
  height: 100%;
2318
2330
  background: #f7e406;
2319
2331
  transition: width 0.2s ease-in-out;
2320
2332
  border-radius: 1rem;
2321
- `, ss = _(vt.Thumb)`
2333
+ `, ss = D(vt.Thumb)`
2322
2334
  display: block;
2323
2335
  width: 0.875rem;
2324
2336
  height: 0.875rem;
@@ -2356,8 +2368,8 @@ function gt(e) {
2356
2368
  const Sr = (e, t = 0) => parseInt(
2357
2369
  Math.max(0, (Date.now() - (e + t * 1e3)) / 1e3).toFixed(0)
2358
2370
  ), Cr = (e, t) => Math.max(0, (Date.now() - e - t * 1e3) / 1e3), kr = (e, t) => Math.max(0, (t - e) / 1e3), as = (e, t = 0) => {
2359
- const r = t < 0 ? 0 : t, i = ["bytes", "kb", "mb", "gb", "tb", "pb", "eb", "zb", "yb"], a = Math.floor(Math.log(e) / Math.log(1024));
2360
- return `${parseFloat((e / Math.pow(1024, a)).toFixed(r))}${i[a]}`;
2371
+ const r = t < 0 ? 0 : t, i = ["bytes", "kb", "mb", "gb", "tb", "pb", "eb", "zb", "yb"], s = Math.floor(Math.log(e) / Math.log(1024));
2372
+ return `${parseFloat((e / Math.pow(1024, s)).toFixed(r))}${i[s]}`;
2361
2373
  };
2362
2374
  function cs({
2363
2375
  isAuto: e,
@@ -2370,78 +2382,78 @@ function cs({
2370
2382
  label: "Auto",
2371
2383
  value: -1,
2372
2384
  selected: e || t === -1
2373
- }), n.sort(function(a, l) {
2374
- const u = a.height || a.bitrate || 0, c = l.height || l.bitrate || 0;
2375
- return u === c ? 0 : u > c ? 1 : -1;
2376
- }), n.map((a) => {
2377
- const { bitrate: l, height: u, index: c } = a;
2385
+ }), n.sort(function(s, l) {
2386
+ const c = s.height || s.bitrate || 0, u = l.height || l.bitrate || 0;
2387
+ return c === u ? 0 : c > u ? 1 : -1;
2388
+ }), n.map((s) => {
2389
+ const { bitrate: l, height: c, index: u } = s;
2378
2390
  i.push({
2379
- sid: `quality-level-${c}`,
2380
- label: u ? `${u}p` : as(l),
2381
- value: c,
2382
- selected: r === 1 || !e && c === t
2391
+ sid: `quality-level-${u}`,
2392
+ label: c ? `${c}p` : as(l),
2393
+ value: u,
2394
+ selected: r === 1 || !e && u === t
2383
2395
  });
2384
2396
  }), i;
2385
2397
  }
2386
2398
  const On = "vod-player-progress-bar";
2387
2399
  function ls() {
2388
- const e = Y(null), t = Y(null), [n, r] = X(0), [i, a] = X(0), [l, u] = X(!1), [c, d] = X(-1), [p, m] = X(-1), w = W((I) => I.delay), v = W((I) => I.startTime), T = W((I) => I.endTime), E = W((I) => I.setDelay), M = g((I) => I.isPlaying), P = g((I) => I.addIdleLock), b = g((I) => I.removeIdleLock), h = B(() => {
2389
- r(Cr(v, w)), a(kr(v, T));
2390
- }, [w, T, v]), L = parseFloat(
2400
+ const e = q(null), t = q(null), [n, r] = Y(0), [i, s] = Y(0), [l, c] = Y(!1), [u, d] = Y(-1), [p, h] = Y(-1), b = U((A) => A.delay), x = U((A) => A.startTime), R = U((A) => A.endTime), L = U((A) => A.setDelay), T = m((A) => A.isPlaying), E = m((A) => A.addIdleLock), v = m((A) => A.removeIdleLock), w = z(() => {
2401
+ r(Cr(x, b)), s(kr(x, R));
2402
+ }, [b, R, x]), y = parseFloat(
2391
2403
  (i ? (p !== -1 ? p : n) / i * 100 : 0).toFixed(1)
2392
- ), D = (I) => {
2393
- m(i * (I[0] / 100)), P(On);
2394
- }, C = () => {
2404
+ ), I = (A) => {
2405
+ h(i * (A[0] / 100)), E(On);
2406
+ }, k = () => {
2395
2407
  if (p !== -1) {
2396
- const I = Sr(v, p);
2397
- E(I), m(-1), b(On);
2408
+ const A = Sr(x, p);
2409
+ L(A), h(-1), v(On);
2398
2410
  }
2399
- }, x = () => u(!0), U = () => u(!1), J = B(
2400
- (I) => {
2411
+ }, S = () => c(!0), W = () => c(!1), J = z(
2412
+ (A) => {
2401
2413
  const _e = e.current, fe = t.current;
2402
2414
  if (_e && fe) {
2403
- const q = gt(_e), ne = gt(fe), ue = (I.pageX || I.clientX) - q.left, xe = ue / q.width;
2404
- if (xe < 0) return;
2415
+ const Z = gt(_e), ne = gt(fe), ue = (A.pageX || A.clientX) - Z.left, Se = ue / Z.width;
2416
+ if (Se < 0) return;
2405
2417
  let K = ue - ne.width / 2;
2406
- K < 0 && (K = 0), K > q.width - ne.width && (K = -1), fe.style.left = K > -1 ? `${K}px` : "auto", fe.style.right = K > -1 ? "auto" : "0px", d(xe * i);
2418
+ K < 0 && (K = 0), K > Z.width - ne.width && (K = -1), fe.style.left = K > -1 ? `${K}px` : "auto", fe.style.right = K > -1 ? "auto" : "0px", d(Se * i);
2407
2419
  }
2408
- x();
2420
+ S();
2409
2421
  },
2410
2422
  [i]
2411
2423
  );
2412
- return wt(() => h(), M ? 1e3 : null), te(() => {
2413
- h();
2414
- }, [h]), /* @__PURE__ */ s.jsxs(wr, { children: [
2415
- /* @__PURE__ */ s.jsx(
2416
- Tt,
2424
+ return wt(() => w(), T ? 1e3 : null), te(() => {
2425
+ w();
2426
+ }, [w]), /* @__PURE__ */ a.jsxs(wr, { children: [
2427
+ /* @__PURE__ */ a.jsx(
2428
+ Pt,
2417
2429
  {
2418
2430
  ref: e,
2419
- value: [L],
2420
- onPointerLeave: U,
2421
- onPointerDown: U,
2431
+ value: [y],
2432
+ onPointerLeave: W,
2433
+ onPointerDown: W,
2422
2434
  onPointerMove: J,
2423
- onValueChange: D,
2424
- onValueCommit: C,
2435
+ onValueChange: I,
2436
+ onValueCommit: k,
2425
2437
  step: 0.1
2426
2438
  }
2427
2439
  ),
2428
- /* @__PURE__ */ s.jsx(br, { ref: t, $isVisible: l, children: /* @__PURE__ */ s.jsx(xr, { children: Be(c) }) })
2440
+ /* @__PURE__ */ a.jsx(br, { ref: t, $isVisible: l, children: /* @__PURE__ */ a.jsx(xr, { children: Be(u) }) })
2429
2441
  ] });
2430
2442
  }
2431
2443
  function Er({ children: e }) {
2432
- return /* @__PURE__ */ s.jsx(Qi, { children: e });
2444
+ return /* @__PURE__ */ a.jsx(Qi, { children: e });
2433
2445
  }
2434
2446
  function us({
2435
2447
  children: e,
2436
2448
  startDate: t,
2437
2449
  endDate: n
2438
2450
  }) {
2439
- return /* @__PURE__ */ s.jsx(To, { startDate: t, endDate: n, children: /* @__PURE__ */ s.jsx(Er, { children: e }) });
2451
+ return /* @__PURE__ */ a.jsx(Po, { startDate: t, endDate: n, children: /* @__PURE__ */ a.jsx(Er, { children: e }) });
2440
2452
  }
2441
- const Tr = _.div`
2453
+ const Pr = D.div`
2442
2454
  display: flex;
2443
2455
  align-items: center;
2444
- `, Pr = _.p`
2456
+ `, Tr = D.p`
2445
2457
  margin: 0;
2446
2458
  padding: 0;
2447
2459
  font-variant-numeric: tabular-nums;
@@ -2449,11 +2461,11 @@ const Tr = _.div`
2449
2461
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
2450
2462
  "Helvetica Neue", Arial, sans-serif;
2451
2463
  font-weight: 500;
2452
- `, Rr = _(Pr)`
2464
+ `, Rr = D(Tr)`
2453
2465
  margin-right: 0.5rem;
2454
- `, jr = _(Pr)`
2466
+ `, jr = D(Tr)`
2455
2467
  margin-left: 0.5rem;
2456
- `, Lr = _.p`
2468
+ `, Lr = D.p`
2457
2469
  margin: 0;
2458
2470
  padding: 0;
2459
2471
  font-size: 0.8125rem;
@@ -2466,68 +2478,82 @@ const Tr = _.div`
2466
2478
  }
2467
2479
  `;
2468
2480
  function ds() {
2469
- const [e, t] = X(0), [n, r] = X(0), i = g((d) => d.isPlaying), a = W((d) => d.delay), l = W((d) => d.startTime), u = W((d) => d.endTime), c = B(() => {
2470
- t(Cr(l, a)), r(kr(l, u));
2471
- }, [a, u, l]);
2472
- return wt(() => c(), i ? 1e3 : null), te(() => {
2473
- c();
2474
- }, [c]), a ? /* @__PURE__ */ s.jsxs(Tr, { children: [
2475
- /* @__PURE__ */ s.jsx(Rr, { children: Be(e) }),
2476
- /* @__PURE__ */ s.jsx(Lr, {}),
2477
- /* @__PURE__ */ s.jsx(jr, { children: Be(n) })
2481
+ const [e, t] = Y(0), [n, r] = Y(0), i = m((d) => d.isPlaying), s = U((d) => d.delay), l = U((d) => d.startTime), c = U((d) => d.endTime), u = z(() => {
2482
+ t(Cr(l, s)), r(kr(l, c));
2483
+ }, [s, c, l]);
2484
+ return wt(() => u(), i ? 1e3 : null), te(() => {
2485
+ u();
2486
+ }, [u]), s ? /* @__PURE__ */ a.jsxs(Pr, { children: [
2487
+ /* @__PURE__ */ a.jsx(Rr, { children: Be(e) }),
2488
+ /* @__PURE__ */ a.jsx(Lr, {}),
2489
+ /* @__PURE__ */ a.jsx(jr, { children: Be(n) })
2478
2490
  ] }) : null;
2479
2491
  }
2480
2492
  function fs() {
2481
- return /* @__PURE__ */ s.jsx(
2493
+ return /* @__PURE__ */ a.jsx(
2482
2494
  "svg",
2483
2495
  {
2484
2496
  xmlns: "http://www.w3.org/2000/svg",
2485
2497
  viewBox: "0 0 24 24",
2486
2498
  fill: "currentColor",
2487
- children: /* @__PURE__ */ s.jsx("path", { d: "M22 12C22 17.5228 17.5229 22 12 22C6.4772 22 2 17.5228 2 12C2 6.47715 6.4772 2 12 2V4C7.5817 4 4 7.58172 4 12C4 16.4183 7.5817 20 12 20C16.4183 20 20 16.4183 20 12C20 9.53614 18.8862 7.33243 17.1346 5.86492L15 8V2L21 2L18.5535 4.44656C20.6649 6.28002 22 8.9841 22 12Z" })
2499
+ children: /* @__PURE__ */ a.jsx("path", { d: "M22 12C22 17.5228 17.5229 22 12 22C6.4772 22 2 17.5228 2 12C2 6.47715 6.4772 2 12 2V4C7.5817 4 4 7.58172 4 12C4 16.4183 7.5817 20 12 20C16.4183 20 20 16.4183 20 12C20 9.53614 18.8862 7.33243 17.1346 5.86492L15 8V2L21 2L18.5535 4.44656C20.6649 6.28002 22 8.9841 22 12Z" })
2488
2500
  }
2489
2501
  );
2490
2502
  }
2491
2503
  function ps() {
2492
- const e = W((r) => r.startTime), t = W((r) => r.setDelay), n = () => t(Sr(e));
2493
- return /* @__PURE__ */ s.jsx(be, { onClick: n, children: /* @__PURE__ */ s.jsx(fs, {}) });
2504
+ const e = U((r) => r.startTime), t = U((r) => r.setDelay), n = () => t(Sr(e));
2505
+ return /* @__PURE__ */ a.jsx(xe, { onClick: n, children: /* @__PURE__ */ a.jsx(fs, {}) });
2494
2506
  }
2495
2507
  function hs({ url: e, isLive: t }) {
2496
- const n = Y(null), r = g((v) => v.level), i = g((v) => v.levels), a = g((v) => v.setLevel), l = g((v) => v.setLevels), u = g((v) => v.techRef), c = B(
2497
- (v) => {
2498
- if (n.current && (n.current.nextLevel = v, a(null), i)) {
2499
- const T = i.map((E) => ({
2500
- ...E,
2501
- selected: E.value === v
2508
+ const n = q(null), r = m((T) => T.level), i = m((T) => T.levels), s = m((T) => T.setLevel), l = m((T) => T.setLevels), c = m((T) => T.techRef), [u, d] = Y(!1), p = z(
2509
+ (T) => {
2510
+ if (n.current && (n.current.nextLevel = T, s(null), i)) {
2511
+ const E = i.map((v) => ({
2512
+ ...v,
2513
+ selected: v.value === T
2502
2514
  }));
2503
- l(T);
2515
+ l(E);
2504
2516
  }
2505
2517
  },
2506
- [i, a, l, n]
2507
- ), d = B(() => {
2508
- n.current && (console.log("[Player][Event]", "MEDIA_ATTACHED"), n.current.loadSource(e));
2509
- }, [e]), p = B(() => {
2518
+ [i, s, l, n]
2519
+ ), h = z(() => {
2520
+ n.current && (console.log("[Player][HLS] MEDIA_ATTACHED"), n.current.loadSource(e));
2521
+ }, [e]), b = z(() => {
2510
2522
  if (!n.current) return;
2511
- console.log("[Player][Event]", "MANIFEST_LOADED");
2512
- const v = n.current.levels, T = n.current.currentLevel, E = n.current.autoLevelEnabled;
2523
+ console.log("[Player][HLS] MANIFEST_LOADED"), d(!1);
2524
+ const T = n.current.levels, E = n.current.currentLevel, v = n.current.autoLevelEnabled;
2513
2525
  l(
2514
2526
  cs({
2515
- levels: v.map((M, P) => {
2516
- const { bitrate: b, height: h, width: L } = M;
2527
+ levels: T.map((w, y) => {
2528
+ const { bitrate: I, height: k, width: S } = w;
2517
2529
  return {
2518
- bitrate: b,
2519
- height: h,
2520
- index: P,
2521
- width: L
2530
+ bitrate: I,
2531
+ height: k,
2532
+ index: y,
2533
+ width: S
2522
2534
  };
2523
2535
  }),
2524
- level: T,
2525
- isAuto: E
2536
+ level: E,
2537
+ isAuto: v
2526
2538
  })
2527
2539
  );
2528
- }, [l]), m = B(() => {
2529
- if (!u.current) return;
2530
- const E = t ? {
2540
+ }, [l]), x = z(
2541
+ (T, E) => {
2542
+ console.error("[Player][HLS] ERROR", T, E), u ? console.error("[Player][HLS] Stream failed and retry limit reached") : (console.log(
2543
+ "[Player][HLS] Stream failed, attempting failover retry..."
2544
+ ), d(!0), setTimeout(() => {
2545
+ if (n.current && c.current)
2546
+ try {
2547
+ console.log("[Player][HLS] Retrying stream..."), n.current.loadSource(e);
2548
+ } catch (v) {
2549
+ console.error("[Player][HLS] Failover retry failed:", v);
2550
+ }
2551
+ }, 1e3));
2552
+ },
2553
+ [u, e, c]
2554
+ ), R = z(() => {
2555
+ if (!c.current) return;
2556
+ const v = t ? {
2531
2557
  backBufferLength: 10,
2532
2558
  startLevel: -1
2533
2559
  } : {
@@ -2535,32 +2561,41 @@ function hs({ url: e, isLive: t }) {
2535
2561
  startLevel: -1
2536
2562
  };
2537
2563
  try {
2538
- console.log("[Player] URL", e), console.log("[Player] Config", JSON.stringify(E)), console.log("[Player] Version", Ce.version), n.current = new Ce(E), n.current.attachMedia(u.current), n.current.on(Ce.Events.MEDIA_ATTACHED, d), n.current.on(Ce.Events.MANIFEST_LOADED, p);
2539
- } catch (M) {
2540
- throw new Error(`Error initializing Hls: ${M}`);
2541
- }
2542
- }, [p, d, t, u, e]), w = B(() => {
2543
- n.current && (n.current.off(Ce.Events.MEDIA_ATTACHED, d), n.current.off(Ce.Events.MANIFEST_LOADED, p), n.current.destroy(), n.current = null);
2544
- }, [p, d]);
2564
+ console.log("[Player][HLS] URL", e), console.log("[Player][HLS] Config", JSON.stringify(v)), console.log("[Player][HLS] Version", he.version), n.current = new he(v), n.current.attachMedia(c.current), n.current.on(he.Events.MEDIA_ATTACHED, h), n.current.on(he.Events.MANIFEST_LOADED, b), n.current.on(he.Events.ERROR, x);
2565
+ } catch (w) {
2566
+ throw new Error(`Error initializing Hls: ${w}`);
2567
+ }
2568
+ }, [
2569
+ b,
2570
+ h,
2571
+ x,
2572
+ t,
2573
+ c,
2574
+ e
2575
+ ]), L = z(() => {
2576
+ n.current && (n.current.off(he.Events.MEDIA_ATTACHED, h), n.current.off(he.Events.MANIFEST_LOADED, b), n.current.off(he.Events.ERROR, x), n.current.destroy(), n.current = null), d(!1);
2577
+ }, [b, h, x]);
2545
2578
  return te(() => {
2546
- r !== null && c(r);
2547
- }, [r, c]), te(() => (Ce.isSupported() && m(), w), [w, m]), null;
2579
+ r !== null && p(r);
2580
+ }, [r, p]), te(() => (he.isSupported() && R(), L), [L, R]), null;
2548
2581
  }
2549
2582
  function _r({ url: e, isLive: t, isMuted: n = !1 }) {
2550
- const r = g((h) => h.handleDurationChange), i = g((h) => h.handleEnd), a = g((h) => h.handleLoadedMetadata), l = g((h) => h.handleLoadStart), u = g((h) => h.handlePause), c = g((h) => h.handlePlay), d = g((h) => h.handlePlaying), p = g((h) => h.handleSeeked), m = g((h) => h.handleSeeking), w = g((h) => h.handleTimeUpdate), v = g((h) => h.handleWaiting), T = g((h) => h.techRef), E = Y(null), M = () => t ? {} : {
2583
+ const r = m((y) => y.handleDurationChange), i = m((y) => y.handleEnd), s = m((y) => y.handleLoadedMetadata), l = m((y) => y.handleLoadStart), c = m((y) => y.handlePause), u = m((y) => y.handlePlay), d = m((y) => y.handlePlaying), p = m((y) => y.handleSeeked), h = m((y) => y.handleSeeking), b = m((y) => y.handleTimeUpdate), x = m((y) => y.handleWaiting), R = m((y) => y.techRef), L = q(null), T = (y) => {
2584
+ console.error("[Player][Native] ERROR", y);
2585
+ }, E = () => t ? {} : {
2551
2586
  onDurationChange: r,
2552
2587
  onSeeked: p,
2553
- onSeeking: m,
2554
- onTimeUpdate: P
2555
- }, P = () => {
2556
- (!E.current || Date.now() - E.current >= 1e3) && (w(), E.current = Date.now());
2557
- }, b = M();
2558
- return /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
2559
- /* @__PURE__ */ s.jsx(hs, { isLive: t, url: e }),
2560
- /* @__PURE__ */ s.jsx(
2588
+ onSeeking: h,
2589
+ onTimeUpdate: v
2590
+ }, v = () => {
2591
+ (!L.current || Date.now() - L.current >= 1e3) && (b(), L.current = Date.now());
2592
+ }, w = E();
2593
+ return /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
2594
+ /* @__PURE__ */ a.jsx(hs, { isLive: t, url: e }),
2595
+ /* @__PURE__ */ a.jsx(
2561
2596
  ms,
2562
2597
  {
2563
- ref: T,
2598
+ ref: R,
2564
2599
  playsInline: !0,
2565
2600
  autoPlay: !0,
2566
2601
  controls: !1,
@@ -2568,19 +2603,20 @@ function _r({ url: e, isLive: t, isMuted: n = !1 }) {
2568
2603
  preload: "auto",
2569
2604
  crossOrigin: "anonymous",
2570
2605
  onEnded: i,
2571
- onLoadedMetadata: a,
2606
+ onError: T,
2607
+ onLoadedMetadata: s,
2572
2608
  onLoadStart: l,
2573
- onPause: u,
2574
- onPlay: c,
2609
+ onPause: c,
2610
+ onPlay: u,
2575
2611
  onPlaying: d,
2576
- onWaiting: v,
2612
+ onWaiting: x,
2577
2613
  tabIndex: -1,
2578
- ...b
2614
+ ...w
2579
2615
  }
2580
2616
  )
2581
2617
  ] });
2582
2618
  }
2583
- const ms = _.video`
2619
+ const ms = D.video`
2584
2620
  position: relative;
2585
2621
  width: 100%;
2586
2622
  height: 100%;
@@ -2590,7 +2626,7 @@ const ms = _.video`
2590
2626
  }
2591
2627
  `;
2592
2628
  function gs({ url: e }) {
2593
- const [t, n] = X(null), r = W((a) => a.delay), i = B(async () => {
2629
+ const [t, n] = Y(null), r = U((s) => s.delay), i = z(async () => {
2594
2630
  n(
2595
2631
  r ? e.replace(
2596
2632
  "playlist.m3u8",
@@ -2600,9 +2636,9 @@ function gs({ url: e }) {
2600
2636
  }, [r, e]);
2601
2637
  return te(() => {
2602
2638
  i();
2603
- }, [i]), t ? /* @__PURE__ */ s.jsx(_r, { url: t, isLive: !0 }) : null;
2639
+ }, [i]), t ? /* @__PURE__ */ a.jsx(_r, { url: t, isLive: !0 }) : null;
2604
2640
  }
2605
- const Ir = _.div`
2641
+ const Ir = D.div`
2606
2642
  position: absolute;
2607
2643
  top: 0;
2608
2644
  left: 0;
@@ -2611,7 +2647,7 @@ const Ir = _.div`
2611
2647
  color: white;
2612
2648
  background: black;
2613
2649
  overflow: hidden;
2614
- `, Dr = _.div`
2650
+ `, Dr = D.div`
2615
2651
  position: absolute;
2616
2652
  left: 0;
2617
2653
  width: 100%;
@@ -2623,7 +2659,7 @@ const Ir = _.div`
2623
2659
  @media (min-width: 768px) {
2624
2660
  padding-top: 2rem;
2625
2661
  }
2626
- `, Ar = _.div`
2662
+ `, Ar = D.div`
2627
2663
  display: flex;
2628
2664
  flex-direction: column;
2629
2665
  padding-left: 0.5rem;
@@ -2635,83 +2671,83 @@ const Ir = _.div`
2635
2671
  padding-left: 1rem;
2636
2672
  padding-right: 1rem;
2637
2673
  }
2638
- `, Or = _.div`
2674
+ `, Or = D.div`
2639
2675
  display: flex;
2640
2676
  padding: 0.5rem 0;
2641
2677
  width: 100%;
2642
2678
  align-items: center;
2643
- `, Fr = _.div`
2679
+ `, Fr = D.div`
2644
2680
  display: flex;
2645
2681
  flex: 1;
2646
2682
  align-items: center;
2647
2683
  gap: 0.5rem;
2648
- `, Mr = _(Fr)`
2684
+ `, Mr = D(Fr)`
2649
2685
  justify-content: flex-start;
2650
- `, Vr = _(Fr)`
2686
+ `, Vr = D(Fr)`
2651
2687
  justify-content: flex-end;
2652
2688
  `;
2653
2689
  function ys() {
2654
- return /* @__PURE__ */ s.jsx(
2690
+ return /* @__PURE__ */ a.jsx(
2655
2691
  "svg",
2656
2692
  {
2657
2693
  xmlns: "http://www.w3.org/2000/svg",
2658
2694
  viewBox: "0 0 24 24",
2659
2695
  fill: "currentColor",
2660
- children: /* @__PURE__ */ s.jsx("path", { d: "M16 3H22V9H20V5H16V3ZM2 3H8V5H4V9H2V3ZM20 19V15H22V21H16V19H20ZM4 19H8V21H2V15H4V19Z" })
2696
+ children: /* @__PURE__ */ a.jsx("path", { d: "M16 3H22V9H20V5H16V3ZM2 3H8V5H4V9H2V3ZM20 19V15H22V21H16V19H20ZM4 19H8V21H2V15H4V19Z" })
2661
2697
  }
2662
2698
  );
2663
2699
  }
2664
2700
  function vs() {
2665
- return /* @__PURE__ */ s.jsx(
2701
+ return /* @__PURE__ */ a.jsx(
2666
2702
  "svg",
2667
2703
  {
2668
2704
  xmlns: "http://www.w3.org/2000/svg",
2669
2705
  viewBox: "0 0 24 24",
2670
2706
  fill: "currentColor",
2671
- children: /* @__PURE__ */ s.jsx("path", { d: "M18 7H22V9H16V3H18V7ZM8 9H2V7H6V3H8V9ZM18 17V21H16V15H22V17H18ZM8 15V21H6V17H2V15H8Z" })
2707
+ children: /* @__PURE__ */ a.jsx("path", { d: "M18 7H22V9H16V3H18V7ZM8 9H2V7H6V3H8V9ZM18 17V21H16V15H22V17H18ZM8 15V21H6V17H2V15H8Z" })
2672
2708
  }
2673
2709
  );
2674
2710
  }
2675
2711
  function Nr() {
2676
- const e = g((d) => d.containerRef), t = g((d) => d.exitFullscreen), n = g((d) => d.isFullscreen), r = g((d) => d.requestFullscreen), i = g((d) => d.setIsFullscreen), a = g((d) => d.setIsFullscreenReady), l = g((d) => d.techRef), u = B(
2712
+ const e = m((d) => d.containerRef), t = m((d) => d.exitFullscreen), n = m((d) => d.isFullscreen), r = m((d) => d.requestFullscreen), i = m((d) => d.setIsFullscreen), s = m((d) => d.setIsFullscreenReady), l = m((d) => d.techRef), c = z(
2677
2713
  (d) => {
2678
2714
  d.stopPropagation(), i(Bi());
2679
2715
  },
2680
2716
  [i]
2681
- ), c = () => {
2717
+ ), u = () => {
2682
2718
  n ? t() : r();
2683
2719
  };
2684
2720
  return te(() => {
2685
2721
  const d = gr ? l.current : e.current;
2686
2722
  if (d)
2687
- return Yi(d, u);
2688
- }, [e, u, l]), te(() => {
2689
- a(!0);
2690
- }, [a]), /* @__PURE__ */ s.jsx(be, { onClick: c, children: n ? /* @__PURE__ */ s.jsx(vs, {}) : /* @__PURE__ */ s.jsx(ys, {}) });
2723
+ return Yi(d, c);
2724
+ }, [e, c, l]), te(() => {
2725
+ s(!0);
2726
+ }, [s]), /* @__PURE__ */ a.jsx(xe, { onClick: u, children: n ? /* @__PURE__ */ a.jsx(vs, {}) : /* @__PURE__ */ a.jsx(ys, {}) });
2691
2727
  }
2692
2728
  const ws = 5 * 1e3;
2693
- function $r({ children: e }) {
2694
- const t = Y(null), [n, r] = X(!1), i = Y(null), l = g((d) => d.idleLocks).size, u = B(() => {
2729
+ function Hr({ children: e }) {
2730
+ const t = q(null), [n, r] = Y(!1), i = q(null), l = m((d) => d.idleLocks).size, c = z(() => {
2695
2731
  i.current !== null && (window.clearTimeout(i.current), i.current = null);
2696
- }, []), c = B(() => {
2697
- u(), i.current = window.setTimeout(() => r(!0), ws);
2698
- }, [u]);
2699
- return te(() => (r(!1), c(), () => {
2700
- u();
2701
- }), [u, c]), te(() => {
2732
+ }, []), u = z(() => {
2733
+ c(), i.current = window.setTimeout(() => r(!0), ws);
2734
+ }, [c]);
2735
+ return te(() => (r(!1), u(), () => {
2736
+ c();
2737
+ }), [c, u]), te(() => {
2702
2738
  const d = t.current;
2703
2739
  if (!d) return;
2704
- const p = (w) => {
2705
- n && (w.stopPropagation(), r(!1), c());
2706
- }, m = () => {
2707
- n && r(!1), c();
2740
+ const p = (b) => {
2741
+ n && (b.stopPropagation(), r(!1), u());
2742
+ }, h = () => {
2743
+ n && r(!1), u();
2708
2744
  };
2709
- return d.addEventListener("click", p), d.addEventListener("mousemove", m), () => {
2710
- d.removeEventListener("click", p), d.removeEventListener("mousemove", m);
2745
+ return d.addEventListener("click", p), d.addEventListener("mousemove", h), () => {
2746
+ d.removeEventListener("click", p), d.removeEventListener("mousemove", h);
2711
2747
  };
2712
- }, [t, n, r, c]), /* @__PURE__ */ s.jsx(bs, { ref: t, $isIdle: n && !l, children: e });
2748
+ }, [t, n, r, u]), /* @__PURE__ */ a.jsx(bs, { ref: t, $isIdle: n && !l, children: e });
2713
2749
  }
2714
- const bs = _.div`
2750
+ const bs = D.div`
2715
2751
  position: absolute;
2716
2752
  top: 0;
2717
2753
  left: 0;
@@ -2722,7 +2758,7 @@ const bs = _.div`
2722
2758
  opacity: ${({ $isIdle: e }) => e ? 0 : 1};
2723
2759
  `;
2724
2760
  function xs(e) {
2725
- return /* @__PURE__ */ s.jsx(Cs, { ...e });
2761
+ return /* @__PURE__ */ a.jsx(Cs, { ...e });
2726
2762
  }
2727
2763
  const Ss = Ii`
2728
2764
  from {
@@ -2731,7 +2767,7 @@ const Ss = Ii`
2731
2767
  to {
2732
2768
  transform: rotate(360deg);
2733
2769
  }
2734
- `, Cs = _.div`
2770
+ `, Cs = D.div`
2735
2771
  width: 1.5rem;
2736
2772
  height: 1.5rem;
2737
2773
  border: 2px solid white;
@@ -2740,7 +2776,7 @@ const Ss = Ii`
2740
2776
  animation: ${Ss} 1s linear infinite;
2741
2777
  `;
2742
2778
  function ks(e, t = 500) {
2743
- const [n, r] = X(e);
2779
+ const [n, r] = Y(e);
2744
2780
  return te(() => {
2745
2781
  const i = window.setTimeout(() => r(e), t);
2746
2782
  return () => {
@@ -2748,11 +2784,11 @@ function ks(e, t = 500) {
2748
2784
  };
2749
2785
  }, [e, t]), n;
2750
2786
  }
2751
- function Hr({ style: e, ...t }) {
2752
- const n = g((i) => i.isLoading);
2753
- return ks(n, 100) ? /* @__PURE__ */ s.jsx(Es, { style: e, ...t, children: /* @__PURE__ */ s.jsx(xs, {}) }) : null;
2787
+ function $r({ style: e, ...t }) {
2788
+ const n = m((i) => i.isLoading);
2789
+ return ks(n, 100) ? /* @__PURE__ */ a.jsx(Es, { style: e, ...t, children: /* @__PURE__ */ a.jsx(xs, {}) }) : null;
2754
2790
  }
2755
- const Es = _.div`
2791
+ const Es = D.div`
2756
2792
  pointer-events: none;
2757
2793
  position: absolute;
2758
2794
  top: 0;
@@ -2765,29 +2801,29 @@ const Es = _.div`
2765
2801
  align-items: center;
2766
2802
  justify-content: center;
2767
2803
  `;
2768
- function Ts() {
2769
- return /* @__PURE__ */ s.jsx(
2804
+ function Ps() {
2805
+ return /* @__PURE__ */ a.jsx(
2770
2806
  "svg",
2771
2807
  {
2772
2808
  xmlns: "http://www.w3.org/2000/svg",
2773
2809
  viewBox: "0 0 24 24",
2774
2810
  fill: "currentColor",
2775
- children: /* @__PURE__ */ s.jsx("path", { d: "M9.9997 15.1709L19.1921 5.97852L20.6063 7.39273L9.9997 17.9993L3.63574 11.6354L5.04996 10.2212L9.9997 15.1709Z" })
2811
+ children: /* @__PURE__ */ a.jsx("path", { d: "M9.9997 15.1709L19.1921 5.97852L20.6063 7.39273L9.9997 17.9993L3.63574 11.6354L5.04996 10.2212L9.9997 15.1709Z" })
2776
2812
  }
2777
2813
  );
2778
2814
  }
2779
- function Ps() {
2780
- return /* @__PURE__ */ s.jsx(
2815
+ function Ts() {
2816
+ return /* @__PURE__ */ a.jsx(
2781
2817
  "svg",
2782
2818
  {
2783
2819
  xmlns: "http://www.w3.org/2000/svg",
2784
2820
  viewBox: "0 0 24 24",
2785
2821
  fill: "currentColor",
2786
- children: /* @__PURE__ */ s.jsx("path", { d: "M4 5V19H20V5H4ZM3 3H21C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3ZM7.5 11.25H9.5V9H11V15H9.5V12.75H7.5V15H6V9H7.5V11.25ZM14.5 10.5V13.5H16C16.2761 13.5 16.5 13.2761 16.5 13V11C16.5 10.7239 16.2761 10.5 16 10.5H14.5ZM13 9H16C17.1046 9 18 9.89543 18 11V13C18 14.1046 17.1046 15 16 15H13V9Z" })
2822
+ children: /* @__PURE__ */ a.jsx("path", { d: "M4 5V19H20V5H4ZM3 3H21C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3ZM7.5 11.25H9.5V9H11V15H9.5V12.75H7.5V15H6V9H7.5V11.25ZM14.5 10.5V13.5H16C16.2761 13.5 16.5 13.2761 16.5 13V11C16.5 10.7239 16.2761 10.5 16 10.5H14.5ZM13 9H16C17.1046 9 18 9.89543 18 11V13C18 14.1046 17.1046 15 16 15H13V9Z" })
2787
2823
  }
2788
2824
  );
2789
2825
  }
2790
- const Rs = Qe.Root, js = Qe.Trigger, Ls = Qe.Portal, zr = yt(({ sideOffset: e = 4, ...t }, n) => /* @__PURE__ */ s.jsx(
2826
+ const Rs = Qe.Root, js = Qe.Trigger, Ls = Qe.Portal, zr = yt(({ sideOffset: e = 4, ...t }, n) => /* @__PURE__ */ a.jsx(
2791
2827
  _s,
2792
2828
  {
2793
2829
  ref: n,
@@ -2799,9 +2835,9 @@ const Rs = Qe.Root, js = Qe.Trigger, Ls = Qe.Portal, zr = yt(({ sideOffset: e =
2799
2835
  }
2800
2836
  ));
2801
2837
  zr.displayName = "PlayerDropdownMenuContent";
2802
- const Br = yt((e, t) => /* @__PURE__ */ s.jsx(Is, { ref: t, ...e }));
2838
+ const Br = yt((e, t) => /* @__PURE__ */ a.jsx(Is, { ref: t, ...e }));
2803
2839
  Br.displayName = "PlayerDropdownMenuItem";
2804
- const _s = _(Qe.Content).withConfig({
2840
+ const _s = D(Qe.Content).withConfig({
2805
2841
  shouldForwardProp: (e) => e !== "ref"
2806
2842
  })`
2807
2843
  padding: 0.25rem;
@@ -2878,7 +2914,7 @@ const _s = _(Qe.Content).withConfig({
2878
2914
  transform: translateX(0);
2879
2915
  }
2880
2916
  }
2881
- `, Is = _(Qe.Item)`
2917
+ `, Is = D(Qe.Item)`
2882
2918
  position: relative;
2883
2919
  display: flex;
2884
2920
  align-items: center;
@@ -2917,85 +2953,85 @@ const _s = _(Qe.Content).withConfig({
2917
2953
  }
2918
2954
  `, Fn = "settings";
2919
2955
  function Ur() {
2920
- const [e, t] = X(!1), n = g((c) => c.containerRef), r = g((c) => c.addIdleLock), i = g((c) => c.removeIdleLock), a = g((c) => c.levels), l = g((c) => c.setLevel), u = B(
2921
- (c) => {
2922
- t(c), c ? r(Fn) : i(Fn);
2956
+ const [e, t] = Y(!1), n = m((u) => u.containerRef), r = m((u) => u.addIdleLock), i = m((u) => u.removeIdleLock), s = m((u) => u.levels), l = m((u) => u.setLevel), c = z(
2957
+ (u) => {
2958
+ t(u), u ? r(Fn) : i(Fn);
2923
2959
  },
2924
2960
  [r, i]
2925
2961
  );
2926
- return /* @__PURE__ */ s.jsxs(Rs, { open: e, onOpenChange: u, children: [
2927
- /* @__PURE__ */ s.jsx(js, { asChild: !0, children: /* @__PURE__ */ s.jsx(be, { children: /* @__PURE__ */ s.jsx(Ps, {}) }) }),
2928
- /* @__PURE__ */ s.jsx(Ls, { container: n.current, children: /* @__PURE__ */ s.jsx(zr, { side: "top", align: "end", children: a?.map((c) => /* @__PURE__ */ s.jsxs(
2962
+ return /* @__PURE__ */ a.jsxs(Rs, { open: e, onOpenChange: c, children: [
2963
+ /* @__PURE__ */ a.jsx(js, { asChild: !0, children: /* @__PURE__ */ a.jsx(xe, { children: /* @__PURE__ */ a.jsx(Ts, {}) }) }),
2964
+ /* @__PURE__ */ a.jsx(Ls, { container: n.current, children: /* @__PURE__ */ a.jsx(zr, { side: "top", align: "end", children: s?.map((u) => /* @__PURE__ */ a.jsxs(
2929
2965
  Br,
2930
2966
  {
2931
- onClick: () => l(c.value),
2967
+ onClick: () => l(u.value),
2932
2968
  children: [
2933
- c.label,
2934
- c.selected && /* @__PURE__ */ s.jsx(Ts, {})
2969
+ u.label,
2970
+ u.selected && /* @__PURE__ */ a.jsx(Ps, {})
2935
2971
  ]
2936
2972
  },
2937
- c.sid
2973
+ u.sid
2938
2974
  )) }) })
2939
2975
  ] });
2940
2976
  }
2941
2977
  function Ds() {
2942
- return /* @__PURE__ */ s.jsx(
2978
+ return /* @__PURE__ */ a.jsx(
2943
2979
  "svg",
2944
2980
  {
2945
2981
  xmlns: "http://www.w3.org/2000/svg",
2946
2982
  viewBox: "0 0 24 24",
2947
2983
  fill: "currentColor",
2948
- children: /* @__PURE__ */ s.jsx("path", { d: "M6.60282 10.0001L10 7.22056V16.7796L6.60282 14.0001H3V10.0001H6.60282ZM2 16.0001H5.88889L11.1834 20.3319C11.2727 20.405 11.3846 20.4449 11.5 20.4449C11.7761 20.4449 12 20.2211 12 19.9449V4.05519C12 3.93977 11.9601 3.8279 11.887 3.73857C11.7121 3.52485 11.3971 3.49335 11.1834 3.66821L5.88889 8.00007H2C1.44772 8.00007 1 8.44778 1 9.00007V15.0001C1 15.5524 1.44772 16.0001 2 16.0001ZM23 12C23 15.292 21.5539 18.2463 19.2622 20.2622L17.8445 18.8444C19.7758 17.1937 21 14.7398 21 12C21 9.26016 19.7758 6.80629 17.8445 5.15557L19.2622 3.73779C21.5539 5.75368 23 8.70795 23 12ZM18 12C18 10.0883 17.106 8.38548 15.7133 7.28673L14.2842 8.71584C15.3213 9.43855 16 10.64 16 12C16 13.36 15.3213 14.5614 14.2842 15.2841L15.7133 16.7132C17.106 15.6145 18 13.9116 18 12Z" })
2984
+ children: /* @__PURE__ */ a.jsx("path", { d: "M6.60282 10.0001L10 7.22056V16.7796L6.60282 14.0001H3V10.0001H6.60282ZM2 16.0001H5.88889L11.1834 20.3319C11.2727 20.405 11.3846 20.4449 11.5 20.4449C11.7761 20.4449 12 20.2211 12 19.9449V4.05519C12 3.93977 11.9601 3.8279 11.887 3.73857C11.7121 3.52485 11.3971 3.49335 11.1834 3.66821L5.88889 8.00007H2C1.44772 8.00007 1 8.44778 1 9.00007V15.0001C1 15.5524 1.44772 16.0001 2 16.0001ZM23 12C23 15.292 21.5539 18.2463 19.2622 20.2622L17.8445 18.8444C19.7758 17.1937 21 14.7398 21 12C21 9.26016 19.7758 6.80629 17.8445 5.15557L19.2622 3.73779C21.5539 5.75368 23 8.70795 23 12ZM18 12C18 10.0883 17.106 8.38548 15.7133 7.28673L14.2842 8.71584C15.3213 9.43855 16 10.64 16 12C16 13.36 15.3213 14.5614 14.2842 15.2841L15.7133 16.7132C17.106 15.6145 18 13.9116 18 12Z" })
2949
2985
  }
2950
2986
  );
2951
2987
  }
2952
2988
  function As() {
2953
- return /* @__PURE__ */ s.jsx(
2989
+ return /* @__PURE__ */ a.jsx(
2954
2990
  "svg",
2955
2991
  {
2956
2992
  xmlns: "http://www.w3.org/2000/svg",
2957
2993
  viewBox: "0 0 24 24",
2958
2994
  fill: "currentColor",
2959
- children: /* @__PURE__ */ s.jsx("path", { d: "M13 7.22056L9.60282 10.0001H6V14.0001H9.60282L13 16.7796V7.22056ZM8.88889 16.0001H5C4.44772 16.0001 4 15.5524 4 15.0001V9.00007C4 8.44778 4.44772 8.00007 5 8.00007H8.88889L14.1834 3.66821C14.3971 3.49335 14.7121 3.52485 14.887 3.73857C14.9601 3.8279 15 3.93977 15 4.05519V19.9449C15 20.2211 14.7761 20.4449 14.5 20.4449C14.3846 20.4449 14.2727 20.405 14.1834 20.3319L8.88889 16.0001ZM18.8631 16.5911L17.4411 15.1691C18.3892 14.4376 19 13.2902 19 12.0001C19 10.5697 18.2493 9.31476 17.1203 8.60766L18.5589 7.16906C20.0396 8.26166 21 10.0187 21 12.0001C21 13.8422 20.1698 15.4905 18.8631 16.5911Z" })
2995
+ children: /* @__PURE__ */ a.jsx("path", { d: "M13 7.22056L9.60282 10.0001H6V14.0001H9.60282L13 16.7796V7.22056ZM8.88889 16.0001H5C4.44772 16.0001 4 15.5524 4 15.0001V9.00007C4 8.44778 4.44772 8.00007 5 8.00007H8.88889L14.1834 3.66821C14.3971 3.49335 14.7121 3.52485 14.887 3.73857C14.9601 3.8279 15 3.93977 15 4.05519V19.9449C15 20.2211 14.7761 20.4449 14.5 20.4449C14.3846 20.4449 14.2727 20.405 14.1834 20.3319L8.88889 16.0001ZM18.8631 16.5911L17.4411 15.1691C18.3892 14.4376 19 13.2902 19 12.0001C19 10.5697 18.2493 9.31476 17.1203 8.60766L18.5589 7.16906C20.0396 8.26166 21 10.0187 21 12.0001C21 13.8422 20.1698 15.4905 18.8631 16.5911Z" })
2960
2996
  }
2961
2997
  );
2962
2998
  }
2963
2999
  function Os() {
2964
- return /* @__PURE__ */ s.jsx(
3000
+ return /* @__PURE__ */ a.jsx(
2965
3001
  "svg",
2966
3002
  {
2967
3003
  xmlns: "http://www.w3.org/2000/svg",
2968
3004
  viewBox: "0 0 24 24",
2969
3005
  fill: "currentColor",
2970
- children: /* @__PURE__ */ s.jsx("path", { d: "M10 7.22056L6.60282 10.0001H3V14.0001H6.60282L10 16.7796V7.22056ZM5.88889 16.0001H2C1.44772 16.0001 1 15.5524 1 15.0001V9.00007C1 8.44778 1.44772 8.00007 2 8.00007H5.88889L11.1834 3.66821C11.3971 3.49335 11.7121 3.52485 11.887 3.73857C11.9601 3.8279 12 3.93977 12 4.05519V19.9449C12 20.2211 11.7761 20.4449 11.5 20.4449C11.3846 20.4449 11.2727 20.405 11.1834 20.3319L5.88889 16.0001ZM20.4142 12.0001L23.9497 15.5356L22.5355 16.9498L19 13.4143L15.4645 16.9498L14.0503 15.5356L17.5858 12.0001L14.0503 8.46454L15.4645 7.05032L19 10.5859L22.5355 7.05032L23.9497 8.46454L20.4142 12.0001Z" })
3006
+ children: /* @__PURE__ */ a.jsx("path", { d: "M10 7.22056L6.60282 10.0001H3V14.0001H6.60282L10 16.7796V7.22056ZM5.88889 16.0001H2C1.44772 16.0001 1 15.5524 1 15.0001V9.00007C1 8.44778 1.44772 8.00007 2 8.00007H5.88889L11.1834 3.66821C11.3971 3.49335 11.7121 3.52485 11.887 3.73857C11.9601 3.8279 12 3.93977 12 4.05519V19.9449C12 20.2211 11.7761 20.4449 11.5 20.4449C11.3846 20.4449 11.2727 20.405 11.1834 20.3319L5.88889 16.0001ZM20.4142 12.0001L23.9497 15.5356L22.5355 16.9498L19 13.4143L15.4645 16.9498L14.0503 15.5356L17.5858 12.0001L14.0503 8.46454L15.4645 7.05032L19 10.5859L22.5355 7.05032L23.9497 8.46454L20.4142 12.0001Z" })
2971
3007
  }
2972
3008
  );
2973
3009
  }
2974
3010
  const Mn = "volume";
2975
3011
  function Wr() {
2976
- g((u) => u.containerRef);
2977
- const e = g((u) => u.setVolume), t = g((u) => u.volume), n = g((u) => u.addIdleLock), r = g((u) => u.removeIdleLock), i = (u) => {
2978
- e(u[0]), n(Mn);
2979
- }, a = () => {
3012
+ m((c) => c.containerRef);
3013
+ const e = m((c) => c.setVolume), t = m((c) => c.volume), n = m((c) => c.addIdleLock), r = m((c) => c.removeIdleLock), i = (c) => {
3014
+ e(c[0]), n(Mn);
3015
+ }, s = () => {
2980
3016
  r(Mn);
2981
3017
  }, l = () => e(t ? 0 : 100);
2982
- return /* @__PURE__ */ s.jsxs(Fs, { children: [
2983
- /* @__PURE__ */ s.jsx(be, { onClick: l, className: "shrink-0", children: t ? t > 50 ? /* @__PURE__ */ s.jsx(Ds, {}) : /* @__PURE__ */ s.jsx(As, {}) : /* @__PURE__ */ s.jsx(Os, {}) }),
2984
- /* @__PURE__ */ s.jsx(Yr, { children: /* @__PURE__ */ s.jsx(
2985
- Tt,
3018
+ return /* @__PURE__ */ a.jsxs(Fs, { children: [
3019
+ /* @__PURE__ */ a.jsx(xe, { onClick: l, className: "shrink-0", children: t ? t > 50 ? /* @__PURE__ */ a.jsx(Ds, {}) : /* @__PURE__ */ a.jsx(As, {}) : /* @__PURE__ */ a.jsx(Os, {}) }),
3020
+ /* @__PURE__ */ a.jsx(Yr, { children: /* @__PURE__ */ a.jsx(
3021
+ Pt,
2986
3022
  {
2987
3023
  value: [t],
2988
3024
  onValueChange: i,
2989
- onValueCommit: a
3025
+ onValueCommit: s
2990
3026
  }
2991
3027
  ) })
2992
3028
  ] });
2993
3029
  }
2994
- const Yr = _.div`
3030
+ const Yr = D.div`
2995
3031
  width: 0;
2996
3032
  opacity: 0;
2997
3033
  transition: all 0.2s ease-in-out;
2998
- `, Fs = _.div`
3034
+ `, Fs = D.div`
2999
3035
  display: flex;
3000
3036
  align-items: center;
3001
3037
  gap: 0.25rem;
@@ -3014,41 +3050,41 @@ const Yr = _.div`
3014
3050
  }
3015
3051
  `;
3016
3052
  function Gs({ url: e, startDate: t, endDate: n, messages: r }) {
3017
- return /* @__PURE__ */ s.jsx(
3053
+ return /* @__PURE__ */ a.jsx(
3018
3054
  us,
3019
3055
  {
3020
3056
  startDate: new Date(t),
3021
3057
  endDate: new Date(n),
3022
- children: /* @__PURE__ */ s.jsx(Ms, { url: e, messages: r })
3058
+ children: /* @__PURE__ */ a.jsx(Ms, { url: e, messages: r })
3023
3059
  }
3024
3060
  );
3025
3061
  }
3026
3062
  function Ms({ url: e, messages: t }) {
3027
- const n = g((r) => r.containerRef);
3028
- return /* @__PURE__ */ s.jsx(Ir, { ref: n, children: /* @__PURE__ */ s.jsxs(
3063
+ const n = m((r) => r.containerRef);
3064
+ return /* @__PURE__ */ a.jsx(Ir, { ref: n, children: /* @__PURE__ */ a.jsxs(
3029
3065
  Di,
3030
3066
  {
3031
3067
  eventFinishedMessage: t?.eventFinished,
3032
3068
  eventNotStartedMessage: t?.eventNotStarted,
3033
3069
  eventStartingSoonMessage: t?.eventStartingSoon,
3034
3070
  children: [
3035
- /* @__PURE__ */ s.jsx(gs, { url: e }),
3036
- /* @__PURE__ */ s.jsx(Hr, {}),
3037
- /* @__PURE__ */ s.jsxs($r, { children: [
3038
- /* @__PURE__ */ s.jsx(ns, {}),
3039
- /* @__PURE__ */ s.jsx(Dr, { children: /* @__PURE__ */ s.jsxs(Ar, { children: [
3040
- /* @__PURE__ */ s.jsx(ls, {}),
3041
- /* @__PURE__ */ s.jsxs(Or, { children: [
3042
- /* @__PURE__ */ s.jsxs(Mr, { children: [
3043
- /* @__PURE__ */ s.jsx(es, {}),
3044
- /* @__PURE__ */ s.jsx(ps, {}),
3045
- /* @__PURE__ */ s.jsx(Wr, {}),
3046
- /* @__PURE__ */ s.jsx(ds, {})
3071
+ /* @__PURE__ */ a.jsx(gs, { url: e }),
3072
+ /* @__PURE__ */ a.jsx($r, {}),
3073
+ /* @__PURE__ */ a.jsxs(Hr, { children: [
3074
+ /* @__PURE__ */ a.jsx(ns, {}),
3075
+ /* @__PURE__ */ a.jsx(Dr, { children: /* @__PURE__ */ a.jsxs(Ar, { children: [
3076
+ /* @__PURE__ */ a.jsx(ls, {}),
3077
+ /* @__PURE__ */ a.jsxs(Or, { children: [
3078
+ /* @__PURE__ */ a.jsxs(Mr, { children: [
3079
+ /* @__PURE__ */ a.jsx(es, {}),
3080
+ /* @__PURE__ */ a.jsx(ps, {}),
3081
+ /* @__PURE__ */ a.jsx(Wr, {}),
3082
+ /* @__PURE__ */ a.jsx(ds, {})
3047
3083
  ] }),
3048
- /* @__PURE__ */ s.jsxs(Vr, { children: [
3049
- /* @__PURE__ */ s.jsx(Ni, { message: t?.live }),
3050
- /* @__PURE__ */ s.jsx(Ur, {}),
3051
- /* @__PURE__ */ s.jsx(Nr, {})
3084
+ /* @__PURE__ */ a.jsxs(Vr, { children: [
3085
+ /* @__PURE__ */ a.jsx(Ni, { message: t?.live }),
3086
+ /* @__PURE__ */ a.jsx(Ur, {}),
3087
+ /* @__PURE__ */ a.jsx(Nr, {})
3052
3088
  ] })
3053
3089
  ] })
3054
3090
  ] }) })
@@ -3058,66 +3094,66 @@ function Ms({ url: e, messages: t }) {
3058
3094
  ) });
3059
3095
  }
3060
3096
  function Vs() {
3061
- const e = g((i) => i.isPlaying), t = g((i) => i.pause), n = g((i) => i.play), r = () => {
3097
+ const e = m((i) => i.isPlaying), t = m((i) => i.pause), n = m((i) => i.play), r = () => {
3062
3098
  e ? t() : n();
3063
3099
  };
3064
- return /* @__PURE__ */ s.jsx(be, { onClick: r, children: e ? /* @__PURE__ */ s.jsx(hr, {}) : /* @__PURE__ */ s.jsx(mr, {}) });
3100
+ return /* @__PURE__ */ a.jsx(xe, { onClick: r, children: e ? /* @__PURE__ */ a.jsx(hr, {}) : /* @__PURE__ */ a.jsx(mr, {}) });
3065
3101
  }
3066
3102
  function Ns() {
3067
- const e = g((i) => i.isPlaying), t = g((i) => i.pause), n = g((i) => i.play), r = () => {
3103
+ const e = m((i) => i.isPlaying), t = m((i) => i.pause), n = m((i) => i.play), r = () => {
3068
3104
  e ? t() : n();
3069
3105
  };
3070
- return /* @__PURE__ */ s.jsx(vr, { onClick: r });
3106
+ return /* @__PURE__ */ a.jsx(vr, { onClick: r });
3071
3107
  }
3072
3108
  const Vn = "vod-player-progress-bar";
3073
- function $s() {
3074
- const e = Y(null), t = Y(null), [n, r] = X(!1), [i, a] = X(-1), [l, u] = X(-1), c = g((h) => h.currentTime), d = g((h) => h.duration), p = g((h) => h.seek), m = g((h) => h.addIdleLock), w = g((h) => h.removeIdleLock), v = parseFloat(
3075
- (d ? (l !== -1 ? l : c) / d * 100 : 0).toFixed(1)
3076
- ), T = (h) => {
3077
- u(d * (h[0] / 100)), m(Vn);
3078
- }, E = () => {
3079
- l !== -1 && (p(l), u(-1), w(Vn));
3080
- }, M = () => r(!0), P = () => r(!1), b = B(
3081
- (h) => {
3082
- const L = e.current, D = t.current;
3083
- if (L && D) {
3084
- const C = gt(L), x = gt(D), U = (h.pageX || h.clientX) - C.left, J = U / C.width;
3109
+ function Hs() {
3110
+ const e = q(null), t = q(null), [n, r] = Y(!1), [i, s] = Y(-1), [l, c] = Y(-1), u = m((w) => w.currentTime), d = m((w) => w.duration), p = m((w) => w.seek), h = m((w) => w.addIdleLock), b = m((w) => w.removeIdleLock), x = parseFloat(
3111
+ (d ? (l !== -1 ? l : u) / d * 100 : 0).toFixed(1)
3112
+ ), R = (w) => {
3113
+ c(d * (w[0] / 100)), h(Vn);
3114
+ }, L = () => {
3115
+ l !== -1 && (p(l), c(-1), b(Vn));
3116
+ }, T = () => r(!0), E = () => r(!1), v = z(
3117
+ (w) => {
3118
+ const y = e.current, I = t.current;
3119
+ if (y && I) {
3120
+ const k = gt(y), S = gt(I), W = (w.pageX || w.clientX) - k.left, J = W / k.width;
3085
3121
  if (J < 0) return;
3086
- let I = U - x.width / 2;
3087
- I < 0 && (I = 0), I > C.width - x.width && (I = -1), D.style.left = I > -1 ? `${I}px` : "auto", D.style.right = I > -1 ? "auto" : "0px", a(J * d);
3122
+ let A = W - S.width / 2;
3123
+ A < 0 && (A = 0), A > k.width - S.width && (A = -1), I.style.left = A > -1 ? `${A}px` : "auto", I.style.right = A > -1 ? "auto" : "0px", s(J * d);
3088
3124
  }
3089
- M();
3125
+ T();
3090
3126
  },
3091
3127
  [d]
3092
3128
  );
3093
- return /* @__PURE__ */ s.jsxs(wr, { children: [
3094
- /* @__PURE__ */ s.jsx(
3095
- Tt,
3129
+ return /* @__PURE__ */ a.jsxs(wr, { children: [
3130
+ /* @__PURE__ */ a.jsx(
3131
+ Pt,
3096
3132
  {
3097
3133
  ref: e,
3098
- value: [v],
3099
- onPointerLeave: P,
3100
- onPointerDown: P,
3101
- onPointerMove: b,
3102
- onValueChange: T,
3103
- onValueCommit: E,
3134
+ value: [x],
3135
+ onPointerLeave: E,
3136
+ onPointerDown: E,
3137
+ onPointerMove: v,
3138
+ onValueChange: R,
3139
+ onValueCommit: L,
3104
3140
  step: 0.1
3105
3141
  }
3106
3142
  ),
3107
- /* @__PURE__ */ s.jsx(br, { ref: t, $isVisible: n, children: /* @__PURE__ */ s.jsx(xr, { children: Be(i) }) })
3143
+ /* @__PURE__ */ a.jsx(br, { ref: t, $isVisible: n, children: /* @__PURE__ */ a.jsx(xr, { children: Be(i) }) })
3108
3144
  ] });
3109
3145
  }
3110
- function Hs() {
3111
- const e = g((n) => n.currentTime), t = g((n) => n.duration);
3112
- return /* @__PURE__ */ s.jsxs(Tr, { children: [
3113
- /* @__PURE__ */ s.jsx(Rr, { children: Be(e) }),
3114
- /* @__PURE__ */ s.jsx(Lr, {}),
3115
- /* @__PURE__ */ s.jsx(jr, { children: Be(t) })
3146
+ function $s() {
3147
+ const e = m((n) => n.currentTime), t = m((n) => n.duration);
3148
+ return /* @__PURE__ */ a.jsxs(Pr, { children: [
3149
+ /* @__PURE__ */ a.jsx(Rr, { children: Be(e) }),
3150
+ /* @__PURE__ */ a.jsx(Lr, {}),
3151
+ /* @__PURE__ */ a.jsx(jr, { children: Be(t) })
3116
3152
  ] });
3117
3153
  }
3118
3154
  const zs = 60, Bs = 95;
3119
3155
  function Us({ storageKey: e }) {
3120
- const t = g((p) => p.currentTime), n = g((p) => p.duration), r = g((p) => p.isPlaying), i = g((p) => p.setStartTime), a = Y(!1), l = B(() => {
3156
+ const t = m((p) => p.currentTime), n = m((p) => p.duration), r = m((p) => p.isPlaying), i = m((p) => p.setStartTime), s = q(!1), l = z(() => {
3121
3157
  window.localStorage.setItem(
3122
3158
  e,
3123
3159
  JSON.stringify({
@@ -3125,51 +3161,51 @@ function Us({ storageKey: e }) {
3125
3161
  duration: n
3126
3162
  })
3127
3163
  );
3128
- }, [t, n, e]), u = B(() => {
3164
+ }, [t, n, e]), c = z(() => {
3129
3165
  const p = window.localStorage.getItem(e);
3130
3166
  if (p) {
3131
- const m = JSON.parse(p);
3167
+ const h = JSON.parse(p);
3132
3168
  return {
3133
- startTime: m.currentTime,
3134
- progress: m.currentTime / m.duration * 100
3169
+ startTime: h.currentTime,
3170
+ progress: h.currentTime / h.duration * 100
3135
3171
  };
3136
3172
  }
3137
3173
  return { startTime: null, progress: null };
3138
- }, [e]), c = B(() => {
3174
+ }, [e]), u = z(() => {
3139
3175
  t < zs || l();
3140
- }, [t, l]), d = B(() => {
3141
- if (a.current) return;
3142
- const { progress: p, startTime: m } = u();
3143
- m && p && p < Bs && (i(m), a.current = !0);
3144
- }, [u, i]);
3145
- return wt(() => c(), r ? 1e3 : null), te(() => {
3176
+ }, [t, l]), d = z(() => {
3177
+ if (s.current) return;
3178
+ const { progress: p, startTime: h } = c();
3179
+ h && p && p < Bs && (i(h), s.current = !0);
3180
+ }, [c, i]);
3181
+ return wt(() => u(), r ? 1e3 : null), te(() => {
3146
3182
  d();
3147
3183
  }, [d]), null;
3148
3184
  }
3149
3185
  function Xs({ url: e, watchHistory: t }) {
3150
- return /* @__PURE__ */ s.jsxs(Er, { children: [
3151
- /* @__PURE__ */ s.jsx(Ws, { url: e }),
3152
- t?.enabled && /* @__PURE__ */ s.jsx(Us, { storageKey: t.storageKey })
3186
+ return /* @__PURE__ */ a.jsxs(Er, { children: [
3187
+ /* @__PURE__ */ a.jsx(Ws, { url: e }),
3188
+ t?.enabled && /* @__PURE__ */ a.jsx(Us, { storageKey: t.storageKey })
3153
3189
  ] });
3154
3190
  }
3155
3191
  function Ws({ url: e }) {
3156
- const t = g((n) => n.containerRef);
3157
- return /* @__PURE__ */ s.jsxs(Ir, { ref: t, children: [
3158
- /* @__PURE__ */ s.jsx(_r, { url: e, isLive: !1 }),
3159
- /* @__PURE__ */ s.jsx(Hr, {}),
3160
- /* @__PURE__ */ s.jsxs($r, { children: [
3161
- /* @__PURE__ */ s.jsx(Ns, {}),
3162
- /* @__PURE__ */ s.jsx(Dr, { children: /* @__PURE__ */ s.jsxs(Ar, { children: [
3163
- /* @__PURE__ */ s.jsx($s, {}),
3164
- /* @__PURE__ */ s.jsxs(Or, { children: [
3165
- /* @__PURE__ */ s.jsxs(Mr, { children: [
3166
- /* @__PURE__ */ s.jsx(Vs, {}),
3167
- /* @__PURE__ */ s.jsx(Wr, {}),
3168
- /* @__PURE__ */ s.jsx(Hs, {})
3192
+ const t = m((n) => n.containerRef);
3193
+ return /* @__PURE__ */ a.jsxs(Ir, { ref: t, children: [
3194
+ /* @__PURE__ */ a.jsx(_r, { url: e, isLive: !1 }),
3195
+ /* @__PURE__ */ a.jsx($r, {}),
3196
+ /* @__PURE__ */ a.jsxs(Hr, { children: [
3197
+ /* @__PURE__ */ a.jsx(Ns, {}),
3198
+ /* @__PURE__ */ a.jsx(Dr, { children: /* @__PURE__ */ a.jsxs(Ar, { children: [
3199
+ /* @__PURE__ */ a.jsx(Hs, {}),
3200
+ /* @__PURE__ */ a.jsxs(Or, { children: [
3201
+ /* @__PURE__ */ a.jsxs(Mr, { children: [
3202
+ /* @__PURE__ */ a.jsx(Vs, {}),
3203
+ /* @__PURE__ */ a.jsx(Wr, {}),
3204
+ /* @__PURE__ */ a.jsx($s, {})
3169
3205
  ] }),
3170
- /* @__PURE__ */ s.jsxs(Vr, { children: [
3171
- /* @__PURE__ */ s.jsx(Ur, {}),
3172
- /* @__PURE__ */ s.jsx(Nr, {})
3206
+ /* @__PURE__ */ a.jsxs(Vr, { children: [
3207
+ /* @__PURE__ */ a.jsx(Ur, {}),
3208
+ /* @__PURE__ */ a.jsx(Nr, {})
3173
3209
  ] })
3174
3210
  ] })
3175
3211
  ] }) })