@aigamo/hydrangean-diva 0.0.1-alpha.24 → 0.0.1-alpha.25

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js CHANGED
@@ -1,15 +1,15 @@
1
- import { makeObservable as Nr, action as v, computed as _, observable as X, reaction as $r } from "mobx";
1
+ import { makeObservable as Nr, action as y, computed as w, observable as X, reaction as $r } from "mobx";
2
2
  import * as te from "react";
3
- import Lt, { createContext as Vt, useContext as ct, forwardRef as jr, useState as z, useEffect as Ut, memo as re, useCallback as $, useMemo as Ve, useLayoutEffect as zr } from "react";
4
- import qr from "@emotion/cache";
5
- import { EuiSelectable as Lr, EuiPopoverTitle as Vr, EuiPopoverFooter as Ur, EuiButton as Q, EuiPopover as xe, useGeneratedHtmlId as Yr, EuiModalHeaderTitle as Wr, EuiModalHeader as Hr, EuiForm as Gr, EuiFormRow as at, EuiFieldText as xt, EuiModalBody as Jr, EuiModalFooter as Qr, EuiButtonEmpty as Yt, EuiModal as Kr, useEuiTheme as Wt, EuiCheckbox as Ht, EuiTableHeaderCellCheckbox as Br, EuiTableHeader as Xr, EuiTableRowCell as st, EuiTableRowCellCheckbox as Zr, EuiLink as en, EuiTableRow as tn, EuiTable as rn, EuiButtonIcon as W, EuiIcon as Y, EuiContextMenu as ut, EuiTableHeaderCell as tt, EuiCodeBlock as nn, EuiFlyout as an, EuiFlexGroup as oe, EuiFlexItem as J, EuiSpacer as Gt, EuiEmptyPrompt as sn, EuiPageTemplate as dt, EuiRange as Jt, EuiBottomBar as on } from "@elastic/eui";
6
- import { AddRegular as Te, PlayRegular as ln, DismissRegular as ft, MoreHorizontalFilled as Qt, ArrowUploadRegular as cn, ArrowDownloadRegular as un, WindowDevToolsRegular as dn, DeleteRegular as fn, ArrowShuffleFilled as pn, ArrowShuffleOffFilled as yn, PreviousFilled as hn, SkipBack10Regular as Kt, PauseFilled as mn, PlayFilled as vn, SkipForward30Regular as Bt, NextFilled as gn, ArrowRepeat1Filled as Pn, ArrowRepeatAllFilled as bn, ArrowRepeatAllOffFilled as wn, OpenRegular as Sn, Speaker2Regular as Xt, TopSpeedRegular as En, NavigationPlayRegular as Rn } from "@fluentui/react-icons";
7
- import { useNostalgicDiva as le, findVideoService as Tn, NostalgicDivaProvider as Cn, NostalgicDiva as In, nullPlayerController as xn } from "@aigamo/nostalgic-diva";
8
- import { observer as C } from "mobx-react-lite";
3
+ import qt, { createContext as Vt, useContext as ct, forwardRef as jr, useState as z, useEffect as Ut, memo as re, useCallback as $, useMemo as Ve, useLayoutEffect as zr } from "react";
4
+ import Lr from "@emotion/cache";
5
+ import { EuiSelectable as qr, EuiPopoverTitle as Vr, EuiPopoverFooter as Ur, EuiButton as J, EuiPopover as xe, useGeneratedHtmlId as Qr, EuiModalHeaderTitle as Yr, EuiModalHeader as Wr, EuiForm as Hr, EuiFormRow as at, EuiFieldText as xt, EuiModalBody as Gr, EuiModalFooter as Jr, EuiButtonEmpty as Qt, EuiModal as Br, useEuiTheme as Yt, EuiCheckbox as Wt, EuiTableHeaderCellCheckbox as Kr, EuiTableHeader as Xr, EuiTableRowCell as st, EuiTableRowCellCheckbox as Zr, EuiLink as en, EuiTableRow as tn, EuiTable as rn, EuiButtonIcon as Y, EuiIcon as Q, EuiContextMenu as ut, EuiTableHeaderCell as tt, EuiCodeBlock as nn, EuiFlyout as an, EuiFlexGroup as oe, EuiFlexItem as G, EuiSpacer as Ht, EuiEmptyPrompt as sn, EuiPageTemplate as dt, EuiRange as Gt, EuiBottomBar as on } from "@elastic/eui";
6
+ import { AddRegular as Re, PlayRegular as ln, DismissRegular as ft, MoreHorizontalFilled as Jt, ArrowUploadRegular as cn, ArrowDownloadRegular as un, WindowDevToolsRegular as dn, DeleteRegular as fn, ArrowShuffleFilled as pn, ArrowShuffleOffFilled as hn, PreviousFilled as yn, SkipBack10Regular as Bt, PauseFilled as mn, PlayFilled as vn, SkipForward30Regular as Kt, NextFilled as gn, ArrowRepeat1Filled as Pn, ArrowRepeatAllFilled as bn, ArrowRepeatAllOffFilled as wn, OpenRegular as Sn, Speaker2Regular as Xt, TopSpeedRegular as Tn, NavigationPlayRegular as En } from "@fluentui/react-icons";
7
+ import { useNostalgicDiva as le, findVideoService as Rn, NostalgicDivaProvider as Cn, NostalgicDiva as In, nullPlayerController as xn } from "@aigamo/nostalgic-diva";
8
+ import { observer as I } from "mobx-react-lite";
9
9
  import { ReactSortable as On } from "react-sortablejs";
10
- import _n from "ajv";
10
+ import kn from "ajv";
11
11
  import { pull as Ot } from "lodash-es";
12
- import { useRouter as kn } from "@tanstack/react-router";
12
+ import { useRouter as _n } from "@tanstack/react-router";
13
13
  const Zt = 81;
14
14
  class er {
15
15
  makeObservable(t, r) {
@@ -22,73 +22,73 @@ class Sa {
22
22
  }
23
23
  }
24
24
  const tr = Vt(void 0), rr = () => ct(tr);
25
- var N = /* @__PURE__ */ ((e) => (e.Off = "Off", e.All = "All", e.One = "One", e))(N || {}), ze = { exports: {} }, Se = {};
26
- var _t;
25
+ var O = /* @__PURE__ */ ((e) => (e.Off = "Off", e.All = "All", e.One = "One", e))(O || {}), ze = { exports: {} }, Se = {};
26
+ var kt;
27
27
  function An() {
28
- if (_t) return Se;
29
- _t = 1;
30
- var e = Lt, t = /* @__PURE__ */ Symbol.for("react.element"), r = /* @__PURE__ */ Symbol.for("react.fragment"), i = Object.prototype.hasOwnProperty, a = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, o = { key: !0, ref: !0, __self: !0, __source: !0 };
31
- function c(f, p, m) {
32
- var P, w = {}, q = null, F = null;
33
- m !== void 0 && (q = "" + m), p.key !== void 0 && (q = "" + p.key), p.ref !== void 0 && (F = p.ref);
34
- for (P in p) i.call(p, P) && !o.hasOwnProperty(P) && (w[P] = p[P]);
35
- if (f && f.defaultProps) for (P in p = f.defaultProps, p) w[P] === void 0 && (w[P] = p[P]);
36
- return { $$typeof: t, type: f, key: q, ref: F, props: w, _owner: a.current };
28
+ if (kt) return Se;
29
+ kt = 1;
30
+ var e = qt, t = /* @__PURE__ */ Symbol.for("react.element"), r = /* @__PURE__ */ Symbol.for("react.fragment"), i = Object.prototype.hasOwnProperty, a = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, o = { key: !0, ref: !0, __self: !0, __source: !0 };
31
+ function c(f, p, v) {
32
+ var P, S = {}, L = null, N = null;
33
+ v !== void 0 && (L = "" + v), p.key !== void 0 && (L = "" + p.key), p.ref !== void 0 && (N = p.ref);
34
+ for (P in p) i.call(p, P) && !o.hasOwnProperty(P) && (S[P] = p[P]);
35
+ if (f && f.defaultProps) for (P in p = f.defaultProps, p) S[P] === void 0 && (S[P] = p[P]);
36
+ return { $$typeof: t, type: f, key: L, ref: N, props: S, _owner: a.current };
37
37
  }
38
38
  return Se.Fragment = r, Se.jsx = c, Se.jsxs = c, Se;
39
39
  }
40
- var Ee = {};
41
- var kt;
42
- function Dn() {
43
- return kt || (kt = 1, process.env.NODE_ENV !== "production" && (function() {
44
- var e = Lt, t = /* @__PURE__ */ Symbol.for("react.element"), r = /* @__PURE__ */ Symbol.for("react.portal"), i = /* @__PURE__ */ Symbol.for("react.fragment"), a = /* @__PURE__ */ Symbol.for("react.strict_mode"), o = /* @__PURE__ */ Symbol.for("react.profiler"), c = /* @__PURE__ */ Symbol.for("react.provider"), f = /* @__PURE__ */ Symbol.for("react.context"), p = /* @__PURE__ */ Symbol.for("react.forward_ref"), m = /* @__PURE__ */ Symbol.for("react.suspense"), P = /* @__PURE__ */ Symbol.for("react.suspense_list"), w = /* @__PURE__ */ Symbol.for("react.memo"), q = /* @__PURE__ */ Symbol.for("react.lazy"), F = /* @__PURE__ */ Symbol.for("react.offscreen"), k = Symbol.iterator, H = "@@iterator";
40
+ var Te = {};
41
+ var _t;
42
+ function Fn() {
43
+ return _t || (_t = 1, process.env.NODE_ENV !== "production" && (function() {
44
+ var e = qt, t = /* @__PURE__ */ Symbol.for("react.element"), r = /* @__PURE__ */ Symbol.for("react.portal"), i = /* @__PURE__ */ Symbol.for("react.fragment"), a = /* @__PURE__ */ Symbol.for("react.strict_mode"), o = /* @__PURE__ */ Symbol.for("react.profiler"), c = /* @__PURE__ */ Symbol.for("react.provider"), f = /* @__PURE__ */ Symbol.for("react.context"), p = /* @__PURE__ */ Symbol.for("react.forward_ref"), v = /* @__PURE__ */ Symbol.for("react.suspense"), P = /* @__PURE__ */ Symbol.for("react.suspense_list"), S = /* @__PURE__ */ Symbol.for("react.memo"), L = /* @__PURE__ */ Symbol.for("react.lazy"), N = /* @__PURE__ */ Symbol.for("react.offscreen"), A = Symbol.iterator, W = "@@iterator";
45
45
  function Z(n) {
46
46
  if (n === null || typeof n != "object")
47
47
  return null;
48
- var l = k && n[k] || n[H];
48
+ var l = A && n[A] || n[W];
49
49
  return typeof l == "function" ? l : null;
50
50
  }
51
- var L = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
52
- function I(n) {
51
+ var q = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
52
+ function x(n) {
53
53
  {
54
- for (var l = arguments.length, d = new Array(l > 1 ? l - 1 : 0), h = 1; h < l; h++)
55
- d[h - 1] = arguments[h];
56
- A("error", n, d);
54
+ for (var l = arguments.length, d = new Array(l > 1 ? l - 1 : 0), m = 1; m < l; m++)
55
+ d[m - 1] = arguments[m];
56
+ F("error", n, d);
57
57
  }
58
58
  }
59
- function A(n, l, d) {
59
+ function F(n, l, d) {
60
60
  {
61
- var h = L.ReactDebugCurrentFrame, S = h.getStackAddendum();
62
- S !== "" && (l += "%s", d = d.concat([S]));
63
- var T = d.map(function(b) {
61
+ var m = q.ReactDebugCurrentFrame, T = m.getStackAddendum();
62
+ T !== "" && (l += "%s", d = d.concat([T]));
63
+ var C = d.map(function(b) {
64
64
  return String(b);
65
65
  });
66
- T.unshift("Warning: " + l), Function.prototype.apply.call(console[n], console, T);
66
+ C.unshift("Warning: " + l), Function.prototype.apply.call(console[n], console, C);
67
67
  }
68
68
  }
69
- var x = !1, u = !1, V = !1, ye = !1, Oe = !1, _e;
70
- _e = /* @__PURE__ */ Symbol.for("react.module.reference");
71
- function We(n) {
72
- return !!(typeof n == "string" || typeof n == "function" || n === i || n === o || Oe || n === a || n === m || n === P || ye || n === F || x || u || V || typeof n == "object" && n !== null && (n.$$typeof === q || n.$$typeof === w || n.$$typeof === c || n.$$typeof === f || n.$$typeof === p || // This needs to include all possible module reference object
69
+ var k = !1, u = !1, V = !1, he = !1, Oe = !1, ke;
70
+ ke = /* @__PURE__ */ Symbol.for("react.module.reference");
71
+ function Ye(n) {
72
+ return !!(typeof n == "string" || typeof n == "function" || n === i || n === o || Oe || n === a || n === v || n === P || he || n === N || k || u || V || typeof n == "object" && n !== null && (n.$$typeof === L || n.$$typeof === S || n.$$typeof === c || n.$$typeof === f || n.$$typeof === p || // This needs to include all possible module reference object
73
73
  // types supported by any Flight configuration anywhere since
74
74
  // we don't know which Flight build this will end up being used
75
75
  // with.
76
- n.$$typeof === _e || n.getModuleId !== void 0));
76
+ n.$$typeof === ke || n.getModuleId !== void 0));
77
77
  }
78
- function He(n, l, d) {
79
- var h = n.displayName;
80
- if (h)
81
- return h;
82
- var S = l.displayName || l.name || "";
83
- return S !== "" ? d + "(" + S + ")" : d;
78
+ function We(n, l, d) {
79
+ var m = n.displayName;
80
+ if (m)
81
+ return m;
82
+ var T = l.displayName || l.name || "";
83
+ return T !== "" ? d + "(" + T + ")" : d;
84
84
  }
85
- function ke(n) {
85
+ function _e(n) {
86
86
  return n.displayName || "Context";
87
87
  }
88
- function K(n) {
88
+ function B(n) {
89
89
  if (n == null)
90
90
  return null;
91
- if (typeof n.tag == "number" && I("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof n == "function")
91
+ if (typeof n.tag == "number" && x("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof n == "function")
92
92
  return n.displayName || n.name || null;
93
93
  if (typeof n == "string")
94
94
  return n;
@@ -101,7 +101,7 @@ function Dn() {
101
101
  return "Profiler";
102
102
  case a:
103
103
  return "StrictMode";
104
- case m:
104
+ case v:
105
105
  return "Suspense";
106
106
  case P:
107
107
  return "SuspenseList";
@@ -110,19 +110,19 @@ function Dn() {
110
110
  switch (n.$$typeof) {
111
111
  case f:
112
112
  var l = n;
113
- return ke(l) + ".Consumer";
113
+ return _e(l) + ".Consumer";
114
114
  case c:
115
115
  var d = n;
116
- return ke(d._context) + ".Provider";
116
+ return _e(d._context) + ".Provider";
117
117
  case p:
118
- return He(n, n.render, "ForwardRef");
119
- case w:
120
- var h = n.displayName || null;
121
- return h !== null ? h : K(n.type) || "Memo";
122
- case q: {
123
- var S = n, T = S._payload, b = S._init;
118
+ return We(n, n.render, "ForwardRef");
119
+ case S:
120
+ var m = n.displayName || null;
121
+ return m !== null ? m : B(n.type) || "Memo";
122
+ case L: {
123
+ var T = n, C = T._payload, b = T._init;
124
124
  try {
125
- return K(b(T));
125
+ return B(b(C));
126
126
  } catch {
127
127
  return null;
128
128
  }
@@ -130,14 +130,14 @@ function Dn() {
130
130
  }
131
131
  return null;
132
132
  }
133
- var ee = Object.assign, ne = 0, Ae, De, he, Me, me, Fe, Ne;
133
+ var ee = Object.assign, ne = 0, Ae, Fe, ye, Me, me, De, Ne;
134
134
  function $e() {
135
135
  }
136
136
  $e.__reactDisabledLog = !0;
137
- function Ge() {
137
+ function He() {
138
138
  {
139
139
  if (ne === 0) {
140
- Ae = console.log, De = console.info, he = console.warn, Me = console.error, me = console.group, Fe = console.groupCollapsed, Ne = console.groupEnd;
140
+ Ae = console.log, Fe = console.info, ye = console.warn, Me = console.error, me = console.group, De = console.groupCollapsed, Ne = console.groupEnd;
141
141
  var n = {
142
142
  configurable: !0,
143
143
  enumerable: !0,
@@ -157,7 +157,7 @@ function Dn() {
157
157
  ne++;
158
158
  }
159
159
  }
160
- function Je() {
160
+ function Ge() {
161
161
  {
162
162
  if (ne--, ne === 0) {
163
163
  var n = {
@@ -170,10 +170,10 @@ function Dn() {
170
170
  value: Ae
171
171
  }),
172
172
  info: ee({}, n, {
173
- value: De
173
+ value: Fe
174
174
  }),
175
175
  warn: ee({}, n, {
176
- value: he
176
+ value: ye
177
177
  }),
178
178
  error: ee({}, n, {
179
179
  value: Me
@@ -182,25 +182,25 @@ function Dn() {
182
182
  value: me
183
183
  }),
184
184
  groupCollapsed: ee({}, n, {
185
- value: Fe
185
+ value: De
186
186
  }),
187
187
  groupEnd: ee({}, n, {
188
188
  value: Ne
189
189
  })
190
190
  });
191
191
  }
192
- ne < 0 && I("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
192
+ ne < 0 && x("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
193
193
  }
194
194
  }
195
- var ve = L.ReactCurrentDispatcher, ge;
195
+ var ve = q.ReactCurrentDispatcher, ge;
196
196
  function ce(n, l, d) {
197
197
  {
198
198
  if (ge === void 0)
199
199
  try {
200
200
  throw Error();
201
- } catch (S) {
202
- var h = S.stack.trim().match(/\n( *(at )?)/);
203
- ge = h && h[1] || "";
201
+ } catch (T) {
202
+ var m = T.stack.trim().match(/\n( *(at )?)/);
203
+ ge = m && m[1] || "";
204
204
  }
205
205
  return `
206
206
  ` + ge + n;
@@ -208,10 +208,10 @@ function Dn() {
208
208
  }
209
209
  var Pe = !1, ue;
210
210
  {
211
- var Qe = typeof WeakMap == "function" ? WeakMap : Map;
212
- ue = new Qe();
211
+ var Je = typeof WeakMap == "function" ? WeakMap : Map;
212
+ ue = new Je();
213
213
  }
214
- function y(n, l) {
214
+ function h(n, l) {
215
215
  if (!n || Pe)
216
216
  return "";
217
217
  {
@@ -219,12 +219,12 @@ function Dn() {
219
219
  if (d !== void 0)
220
220
  return d;
221
221
  }
222
- var h;
222
+ var m;
223
223
  Pe = !0;
224
- var S = Error.prepareStackTrace;
224
+ var T = Error.prepareStackTrace;
225
225
  Error.prepareStackTrace = void 0;
226
- var T;
227
- T = ve.current, ve.current = null, Ge();
226
+ var C;
227
+ C = ve.current, ve.current = null, He();
228
228
  try {
229
229
  if (l) {
230
230
  var b = function() {
@@ -238,14 +238,14 @@ function Dn() {
238
238
  try {
239
239
  Reflect.construct(b, []);
240
240
  } catch (U) {
241
- h = U;
241
+ m = U;
242
242
  }
243
243
  Reflect.construct(n, [], b);
244
244
  } else {
245
245
  try {
246
246
  b.call();
247
247
  } catch (U) {
248
- h = U;
248
+ m = U;
249
249
  }
250
250
  n.call(b.prototype);
251
251
  }
@@ -253,37 +253,37 @@ function Dn() {
253
253
  try {
254
254
  throw Error();
255
255
  } catch (U) {
256
- h = U;
256
+ m = U;
257
257
  }
258
258
  n();
259
259
  }
260
260
  } catch (U) {
261
- if (U && h && typeof U.stack == "string") {
261
+ if (U && m && typeof U.stack == "string") {
262
262
  for (var g = U.stack.split(`
263
- `), j = h.stack.split(`
264
- `), O = g.length - 1, D = j.length - 1; O >= 1 && D >= 0 && g[O] !== j[D]; )
265
- D--;
266
- for (; O >= 1 && D >= 0; O--, D--)
267
- if (g[O] !== j[D]) {
268
- if (O !== 1 || D !== 1)
263
+ `), j = m.stack.split(`
264
+ `), _ = g.length - 1, M = j.length - 1; _ >= 1 && M >= 0 && g[_] !== j[M]; )
265
+ M--;
266
+ for (; _ >= 1 && M >= 0; _--, M--)
267
+ if (g[_] !== j[M]) {
268
+ if (_ !== 1 || M !== 1)
269
269
  do
270
- if (O--, D--, D < 0 || g[O] !== j[D]) {
271
- var G = `
272
- ` + g[O].replace(" at new ", " at ");
273
- return n.displayName && G.includes("<anonymous>") && (G = G.replace("<anonymous>", n.displayName)), typeof n == "function" && ue.set(n, G), G;
270
+ if (_--, M--, M < 0 || g[_] !== j[M]) {
271
+ var H = `
272
+ ` + g[_].replace(" at new ", " at ");
273
+ return n.displayName && H.includes("<anonymous>") && (H = H.replace("<anonymous>", n.displayName)), typeof n == "function" && ue.set(n, H), H;
274
274
  }
275
- while (O >= 1 && D >= 0);
275
+ while (_ >= 1 && M >= 0);
276
276
  break;
277
277
  }
278
278
  }
279
279
  } finally {
280
- Pe = !1, ve.current = T, Je(), Error.prepareStackTrace = S;
280
+ Pe = !1, ve.current = C, Ge(), Error.prepareStackTrace = T;
281
281
  }
282
282
  var pe = n ? n.displayName || n.name : "", ae = pe ? ce(pe) : "";
283
283
  return typeof n == "function" && ue.set(n, ae), ae;
284
284
  }
285
285
  function be(n, l, d) {
286
- return y(n, !1);
286
+ return h(n, !1);
287
287
  }
288
288
  function de(n) {
289
289
  var l = n.prototype;
@@ -293,11 +293,11 @@ function Dn() {
293
293
  if (n == null)
294
294
  return "";
295
295
  if (typeof n == "function")
296
- return y(n, de(n));
296
+ return h(n, de(n));
297
297
  if (typeof n == "string")
298
298
  return ce(n);
299
299
  switch (n) {
300
- case m:
300
+ case v:
301
301
  return ce("Suspense");
302
302
  case P:
303
303
  return ce("SuspenseList");
@@ -306,48 +306,48 @@ function Dn() {
306
306
  switch (n.$$typeof) {
307
307
  case p:
308
308
  return be(n.render);
309
- case w:
309
+ case S:
310
310
  return ie(n.type, l, d);
311
- case q: {
312
- var h = n, S = h._payload, T = h._init;
311
+ case L: {
312
+ var m = n, T = m._payload, C = m._init;
313
313
  try {
314
- return ie(T(S), l, d);
314
+ return ie(C(T), l, d);
315
315
  } catch {
316
316
  }
317
317
  }
318
318
  }
319
319
  return "";
320
320
  }
321
- var we = Object.prototype.hasOwnProperty, yt = {}, ht = L.ReactDebugCurrentFrame;
321
+ var we = Object.prototype.hasOwnProperty, ht = {}, yt = q.ReactDebugCurrentFrame;
322
322
  function je(n) {
323
323
  if (n) {
324
324
  var l = n._owner, d = ie(n.type, n._source, l ? l.type : null);
325
- ht.setExtraStackFrame(d);
325
+ yt.setExtraStackFrame(d);
326
326
  } else
327
- ht.setExtraStackFrame(null);
327
+ yt.setExtraStackFrame(null);
328
328
  }
329
- function yr(n, l, d, h, S) {
329
+ function hr(n, l, d, m, T) {
330
330
  {
331
- var T = Function.call.bind(we);
331
+ var C = Function.call.bind(we);
332
332
  for (var b in n)
333
- if (T(n, b)) {
333
+ if (C(n, b)) {
334
334
  var g = void 0;
335
335
  try {
336
336
  if (typeof n[b] != "function") {
337
- var j = Error((h || "React class") + ": " + d + " type `" + b + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof n[b] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
337
+ var j = Error((m || "React class") + ": " + d + " type `" + b + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof n[b] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
338
338
  throw j.name = "Invariant Violation", j;
339
339
  }
340
- g = n[b](l, b, h, d, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
341
- } catch (O) {
342
- g = O;
340
+ g = n[b](l, b, m, d, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
341
+ } catch (_) {
342
+ g = _;
343
343
  }
344
- g && !(g instanceof Error) && (je(S), I("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", h || "React class", d, b, typeof g), je(null)), g instanceof Error && !(g.message in yt) && (yt[g.message] = !0, je(S), I("Failed %s type: %s", d, g.message), je(null));
344
+ g && !(g instanceof Error) && (je(T), x("%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).", m || "React class", d, b, typeof g), je(null)), g instanceof Error && !(g.message in ht) && (ht[g.message] = !0, je(T), x("Failed %s type: %s", d, g.message), je(null));
345
345
  }
346
346
  }
347
347
  }
348
- var hr = Array.isArray;
349
- function Ke(n) {
350
- return hr(n);
348
+ var yr = Array.isArray;
349
+ function Be(n) {
350
+ return yr(n);
351
351
  }
352
352
  function mr(n) {
353
353
  {
@@ -367,9 +367,9 @@ function Dn() {
367
367
  }
368
368
  function vt(n) {
369
369
  if (vr(n))
370
- return I("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", mr(n)), mt(n);
370
+ return x("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", mr(n)), mt(n);
371
371
  }
372
- var gt = L.ReactCurrentOwner, gr = {
372
+ var gt = q.ReactCurrentOwner, gr = {
373
373
  key: !0,
374
374
  ref: !0,
375
375
  __self: !0,
@@ -397,7 +397,7 @@ function Dn() {
397
397
  function Sr(n, l) {
398
398
  {
399
399
  var d = function() {
400
- Pt || (Pt = !0, I("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", l));
400
+ Pt || (Pt = !0, x("%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)", l));
401
401
  };
402
402
  d.isReactWarning = !0, Object.defineProperty(n, "key", {
403
403
  get: d,
@@ -405,10 +405,10 @@ function Dn() {
405
405
  });
406
406
  }
407
407
  }
408
- function Er(n, l) {
408
+ function Tr(n, l) {
409
409
  {
410
410
  var d = function() {
411
- bt || (bt = !0, I("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", l));
411
+ bt || (bt = !0, x("%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)", l));
412
412
  };
413
413
  d.isReactWarning = !0, Object.defineProperty(n, "ref", {
414
414
  get: d,
@@ -416,7 +416,7 @@ function Dn() {
416
416
  });
417
417
  }
418
418
  }
419
- var Rr = function(n, l, d, h, S, T, b) {
419
+ var Er = function(n, l, d, m, T, C, b) {
420
420
  var g = {
421
421
  // This tag allows us to uniquely identify this as a React Element
422
422
  $$typeof: t,
@@ -426,7 +426,7 @@ function Dn() {
426
426
  ref: d,
427
427
  props: b,
428
428
  // Record the component responsible for creating this element.
429
- _owner: T
429
+ _owner: C
430
430
  };
431
431
  return g._store = {}, Object.defineProperty(g._store, "validated", {
432
432
  configurable: !1,
@@ -437,33 +437,33 @@ function Dn() {
437
437
  configurable: !1,
438
438
  enumerable: !1,
439
439
  writable: !1,
440
- value: h
440
+ value: m
441
441
  }), Object.defineProperty(g, "_source", {
442
442
  configurable: !1,
443
443
  enumerable: !1,
444
444
  writable: !1,
445
- value: S
445
+ value: T
446
446
  }), Object.freeze && (Object.freeze(g.props), Object.freeze(g)), g;
447
447
  };
448
- function Tr(n, l, d, h, S) {
448
+ function Rr(n, l, d, m, T) {
449
449
  {
450
- var T, b = {}, g = null, j = null;
451
- d !== void 0 && (vt(d), g = "" + d), br(l) && (vt(l.key), g = "" + l.key), Pr(l) && (j = l.ref, wr(l, S));
452
- for (T in l)
453
- we.call(l, T) && !gr.hasOwnProperty(T) && (b[T] = l[T]);
450
+ var C, b = {}, g = null, j = null;
451
+ d !== void 0 && (vt(d), g = "" + d), br(l) && (vt(l.key), g = "" + l.key), Pr(l) && (j = l.ref, wr(l, T));
452
+ for (C in l)
453
+ we.call(l, C) && !gr.hasOwnProperty(C) && (b[C] = l[C]);
454
454
  if (n && n.defaultProps) {
455
- var O = n.defaultProps;
456
- for (T in O)
457
- b[T] === void 0 && (b[T] = O[T]);
455
+ var _ = n.defaultProps;
456
+ for (C in _)
457
+ b[C] === void 0 && (b[C] = _[C]);
458
458
  }
459
459
  if (g || j) {
460
- var D = typeof n == "function" ? n.displayName || n.name || "Unknown" : n;
461
- g && Sr(b, D), j && Er(b, D);
460
+ var M = typeof n == "function" ? n.displayName || n.name || "Unknown" : n;
461
+ g && Sr(b, M), j && Tr(b, M);
462
462
  }
463
- return Rr(n, g, j, S, h, gt.current, b);
463
+ return Er(n, g, j, T, m, gt.current, b);
464
464
  }
465
465
  }
466
- var Be = L.ReactCurrentOwner, wt = L.ReactDebugCurrentFrame;
466
+ var Ke = q.ReactCurrentOwner, wt = q.ReactDebugCurrentFrame;
467
467
  function fe(n) {
468
468
  if (n) {
469
469
  var l = n._owner, d = ie(n.type, n._source, l ? l.type : null);
@@ -478,8 +478,8 @@ function Dn() {
478
478
  }
479
479
  function St() {
480
480
  {
481
- if (Be.current) {
482
- var n = K(Be.current.type);
481
+ if (Ke.current) {
482
+ var n = B(Ke.current.type);
483
483
  if (n)
484
484
  return `
485
485
 
@@ -491,7 +491,7 @@ Check the render method of \`` + n + "`.";
491
491
  function Cr(n) {
492
492
  return "";
493
493
  }
494
- var Et = {};
494
+ var Tt = {};
495
495
  function Ir(n) {
496
496
  {
497
497
  var l = St();
@@ -504,35 +504,35 @@ Check the top-level render call using <` + d + ">.");
504
504
  return l;
505
505
  }
506
506
  }
507
- function Rt(n, l) {
507
+ function Et(n, l) {
508
508
  {
509
509
  if (!n._store || n._store.validated || n.key != null)
510
510
  return;
511
511
  n._store.validated = !0;
512
512
  var d = Ir(l);
513
- if (Et[d])
513
+ if (Tt[d])
514
514
  return;
515
- Et[d] = !0;
516
- var h = "";
517
- n && n._owner && n._owner !== Be.current && (h = " It was passed a child from " + K(n._owner.type) + "."), fe(n), I('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', d, h), fe(null);
515
+ Tt[d] = !0;
516
+ var m = "";
517
+ n && n._owner && n._owner !== Ke.current && (m = " It was passed a child from " + B(n._owner.type) + "."), fe(n), x('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', d, m), fe(null);
518
518
  }
519
519
  }
520
- function Tt(n, l) {
520
+ function Rt(n, l) {
521
521
  {
522
522
  if (typeof n != "object")
523
523
  return;
524
- if (Ke(n))
524
+ if (Be(n))
525
525
  for (var d = 0; d < n.length; d++) {
526
- var h = n[d];
527
- Ze(h) && Rt(h, l);
526
+ var m = n[d];
527
+ Ze(m) && Et(m, l);
528
528
  }
529
529
  else if (Ze(n))
530
530
  n._store && (n._store.validated = !0);
531
531
  else if (n) {
532
- var S = Z(n);
533
- if (typeof S == "function" && S !== n.entries)
534
- for (var T = S.call(n), b; !(b = T.next()).done; )
535
- Ze(b.value) && Rt(b.value, l);
532
+ var T = Z(n);
533
+ if (typeof T == "function" && T !== n.entries)
534
+ for (var C = T.call(n), b; !(b = C.next()).done; )
535
+ Ze(b.value) && Et(b.value, l);
536
536
  }
537
537
  }
538
538
  }
@@ -546,68 +546,68 @@ Check the top-level render call using <` + d + ">.");
546
546
  d = l.propTypes;
547
547
  else if (typeof l == "object" && (l.$$typeof === p || // Note: Memo only checks outer props here.
548
548
  // Inner props are checked in the reconciler.
549
- l.$$typeof === w))
549
+ l.$$typeof === S))
550
550
  d = l.propTypes;
551
551
  else
552
552
  return;
553
553
  if (d) {
554
- var h = K(l);
555
- yr(d, n.props, "prop", h, n);
554
+ var m = B(l);
555
+ hr(d, n.props, "prop", m, n);
556
556
  } else if (l.PropTypes !== void 0 && !Xe) {
557
557
  Xe = !0;
558
- var S = K(l);
559
- I("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", S || "Unknown");
558
+ var T = B(l);
559
+ x("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", T || "Unknown");
560
560
  }
561
- typeof l.getDefaultProps == "function" && !l.getDefaultProps.isReactClassApproved && I("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
561
+ typeof l.getDefaultProps == "function" && !l.getDefaultProps.isReactClassApproved && x("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
562
562
  }
563
563
  }
564
564
  function Or(n) {
565
565
  {
566
566
  for (var l = Object.keys(n.props), d = 0; d < l.length; d++) {
567
- var h = l[d];
568
- if (h !== "children" && h !== "key") {
569
- fe(n), I("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", h), fe(null);
567
+ var m = l[d];
568
+ if (m !== "children" && m !== "key") {
569
+ fe(n), x("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", m), fe(null);
570
570
  break;
571
571
  }
572
572
  }
573
- n.ref !== null && (fe(n), I("Invalid attribute `ref` supplied to `React.Fragment`."), fe(null));
573
+ n.ref !== null && (fe(n), x("Invalid attribute `ref` supplied to `React.Fragment`."), fe(null));
574
574
  }
575
575
  }
576
576
  var Ct = {};
577
- function It(n, l, d, h, S, T) {
577
+ function It(n, l, d, m, T, C) {
578
578
  {
579
- var b = We(n);
579
+ var b = Ye(n);
580
580
  if (!b) {
581
581
  var g = "";
582
582
  (n === void 0 || typeof n == "object" && n !== null && Object.keys(n).length === 0) && (g += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
583
583
  var j = Cr();
584
584
  j ? g += j : g += St();
585
- var O;
586
- n === null ? O = "null" : Ke(n) ? O = "array" : n !== void 0 && n.$$typeof === t ? (O = "<" + (K(n.type) || "Unknown") + " />", g = " Did you accidentally export a JSX literal instead of a component?") : O = typeof n, I("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", O, g);
585
+ var _;
586
+ n === null ? _ = "null" : Be(n) ? _ = "array" : n !== void 0 && n.$$typeof === t ? (_ = "<" + (B(n.type) || "Unknown") + " />", g = " Did you accidentally export a JSX literal instead of a component?") : _ = typeof n, x("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", _, g);
587
587
  }
588
- var D = Tr(n, l, d, S, T);
589
- if (D == null)
590
- return D;
588
+ var M = Rr(n, l, d, T, C);
589
+ if (M == null)
590
+ return M;
591
591
  if (b) {
592
- var G = l.children;
593
- if (G !== void 0)
594
- if (h)
595
- if (Ke(G)) {
596
- for (var pe = 0; pe < G.length; pe++)
597
- Tt(G[pe], n);
598
- Object.freeze && Object.freeze(G);
592
+ var H = l.children;
593
+ if (H !== void 0)
594
+ if (m)
595
+ if (Be(H)) {
596
+ for (var pe = 0; pe < H.length; pe++)
597
+ Rt(H[pe], n);
598
+ Object.freeze && Object.freeze(H);
599
599
  } else
600
- I("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
600
+ x("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
601
601
  else
602
- Tt(G, n);
602
+ Rt(H, n);
603
603
  }
604
604
  if (we.call(l, "key")) {
605
- var ae = K(n), U = Object.keys(l).filter(function(Fr) {
606
- return Fr !== "key";
605
+ var ae = B(n), U = Object.keys(l).filter(function(Dr) {
606
+ return Dr !== "key";
607
607
  }), et = U.length > 0 ? "{key: someKey, " + U.join(": ..., ") + ": ...}" : "{key: someKey}";
608
608
  if (!Ct[ae + et]) {
609
609
  var Mr = U.length > 0 ? "{" + U.join(": ..., ") + ": ...}" : "{}";
610
- I(`A props object containing a "key" prop is being spread into JSX:
610
+ x(`A props object containing a "key" prop is being spread into JSX:
611
611
  let props = %s;
612
612
  <%s {...props} />
613
613
  React keys must be passed directly to JSX without using spread:
@@ -615,48 +615,48 @@ React keys must be passed directly to JSX without using spread:
615
615
  <%s key={someKey} {...props} />`, et, ae, Mr, ae), Ct[ae + et] = !0;
616
616
  }
617
617
  }
618
- return n === i ? Or(D) : xr(D), D;
618
+ return n === i ? Or(M) : xr(M), M;
619
619
  }
620
620
  }
621
- function _r(n, l, d) {
621
+ function kr(n, l, d) {
622
622
  return It(n, l, d, !0);
623
623
  }
624
- function kr(n, l, d) {
624
+ function _r(n, l, d) {
625
625
  return It(n, l, d, !1);
626
626
  }
627
- var Ar = kr, Dr = _r;
628
- Ee.Fragment = i, Ee.jsx = Ar, Ee.jsxs = Dr;
629
- })()), Ee;
627
+ var Ar = _r, Fr = kr;
628
+ Te.Fragment = i, Te.jsx = Ar, Te.jsxs = Fr;
629
+ })()), Te;
630
630
  }
631
631
  var At;
632
632
  function Mn() {
633
- return At || (At = 1, process.env.NODE_ENV === "production" ? ze.exports = An() : ze.exports = Dn()), ze.exports;
633
+ return At || (At = 1, process.env.NODE_ENV === "production" ? ze.exports = An() : ze.exports = Fn()), ze.exports;
634
634
  }
635
- var Ce = Mn(), qe = { exports: {} }, E = {};
636
- var Dt;
637
- function Fn() {
638
- if (Dt) return E;
639
- Dt = 1;
640
- var e = typeof Symbol == "function" && Symbol.for, t = e ? /* @__PURE__ */ Symbol.for("react.element") : 60103, r = e ? /* @__PURE__ */ Symbol.for("react.portal") : 60106, i = e ? /* @__PURE__ */ Symbol.for("react.fragment") : 60107, a = e ? /* @__PURE__ */ Symbol.for("react.strict_mode") : 60108, o = e ? /* @__PURE__ */ Symbol.for("react.profiler") : 60114, c = e ? /* @__PURE__ */ Symbol.for("react.provider") : 60109, f = e ? /* @__PURE__ */ Symbol.for("react.context") : 60110, p = e ? /* @__PURE__ */ Symbol.for("react.async_mode") : 60111, m = e ? /* @__PURE__ */ Symbol.for("react.concurrent_mode") : 60111, P = e ? /* @__PURE__ */ Symbol.for("react.forward_ref") : 60112, w = e ? /* @__PURE__ */ Symbol.for("react.suspense") : 60113, q = e ? /* @__PURE__ */ Symbol.for("react.suspense_list") : 60120, F = e ? /* @__PURE__ */ Symbol.for("react.memo") : 60115, k = e ? /* @__PURE__ */ Symbol.for("react.lazy") : 60116, H = e ? /* @__PURE__ */ Symbol.for("react.block") : 60121, Z = e ? /* @__PURE__ */ Symbol.for("react.fundamental") : 60117, L = e ? /* @__PURE__ */ Symbol.for("react.responder") : 60118, I = e ? /* @__PURE__ */ Symbol.for("react.scope") : 60119;
641
- function A(u) {
635
+ var Ce = Mn(), Le = { exports: {} }, E = {};
636
+ var Ft;
637
+ function Dn() {
638
+ if (Ft) return E;
639
+ Ft = 1;
640
+ var e = typeof Symbol == "function" && Symbol.for, t = e ? /* @__PURE__ */ Symbol.for("react.element") : 60103, r = e ? /* @__PURE__ */ Symbol.for("react.portal") : 60106, i = e ? /* @__PURE__ */ Symbol.for("react.fragment") : 60107, a = e ? /* @__PURE__ */ Symbol.for("react.strict_mode") : 60108, o = e ? /* @__PURE__ */ Symbol.for("react.profiler") : 60114, c = e ? /* @__PURE__ */ Symbol.for("react.provider") : 60109, f = e ? /* @__PURE__ */ Symbol.for("react.context") : 60110, p = e ? /* @__PURE__ */ Symbol.for("react.async_mode") : 60111, v = e ? /* @__PURE__ */ Symbol.for("react.concurrent_mode") : 60111, P = e ? /* @__PURE__ */ Symbol.for("react.forward_ref") : 60112, S = e ? /* @__PURE__ */ Symbol.for("react.suspense") : 60113, L = e ? /* @__PURE__ */ Symbol.for("react.suspense_list") : 60120, N = e ? /* @__PURE__ */ Symbol.for("react.memo") : 60115, A = e ? /* @__PURE__ */ Symbol.for("react.lazy") : 60116, W = e ? /* @__PURE__ */ Symbol.for("react.block") : 60121, Z = e ? /* @__PURE__ */ Symbol.for("react.fundamental") : 60117, q = e ? /* @__PURE__ */ Symbol.for("react.responder") : 60118, x = e ? /* @__PURE__ */ Symbol.for("react.scope") : 60119;
641
+ function F(u) {
642
642
  if (typeof u == "object" && u !== null) {
643
643
  var V = u.$$typeof;
644
644
  switch (V) {
645
645
  case t:
646
646
  switch (u = u.type, u) {
647
647
  case p:
648
- case m:
648
+ case v:
649
649
  case i:
650
650
  case o:
651
651
  case a:
652
- case w:
652
+ case S:
653
653
  return u;
654
654
  default:
655
655
  switch (u = u && u.$$typeof, u) {
656
656
  case f:
657
657
  case P:
658
- case k:
659
- case F:
658
+ case A:
659
+ case N:
660
660
  case c:
661
661
  return u;
662
662
  default:
@@ -668,67 +668,67 @@ function Fn() {
668
668
  }
669
669
  }
670
670
  }
671
- function x(u) {
672
- return A(u) === m;
671
+ function k(u) {
672
+ return F(u) === v;
673
673
  }
674
- return E.AsyncMode = p, E.ConcurrentMode = m, E.ContextConsumer = f, E.ContextProvider = c, E.Element = t, E.ForwardRef = P, E.Fragment = i, E.Lazy = k, E.Memo = F, E.Portal = r, E.Profiler = o, E.StrictMode = a, E.Suspense = w, E.isAsyncMode = function(u) {
675
- return x(u) || A(u) === p;
676
- }, E.isConcurrentMode = x, E.isContextConsumer = function(u) {
677
- return A(u) === f;
674
+ return E.AsyncMode = p, E.ConcurrentMode = v, E.ContextConsumer = f, E.ContextProvider = c, E.Element = t, E.ForwardRef = P, E.Fragment = i, E.Lazy = A, E.Memo = N, E.Portal = r, E.Profiler = o, E.StrictMode = a, E.Suspense = S, E.isAsyncMode = function(u) {
675
+ return k(u) || F(u) === p;
676
+ }, E.isConcurrentMode = k, E.isContextConsumer = function(u) {
677
+ return F(u) === f;
678
678
  }, E.isContextProvider = function(u) {
679
- return A(u) === c;
679
+ return F(u) === c;
680
680
  }, E.isElement = function(u) {
681
681
  return typeof u == "object" && u !== null && u.$$typeof === t;
682
682
  }, E.isForwardRef = function(u) {
683
- return A(u) === P;
683
+ return F(u) === P;
684
684
  }, E.isFragment = function(u) {
685
- return A(u) === i;
685
+ return F(u) === i;
686
686
  }, E.isLazy = function(u) {
687
- return A(u) === k;
687
+ return F(u) === A;
688
688
  }, E.isMemo = function(u) {
689
- return A(u) === F;
689
+ return F(u) === N;
690
690
  }, E.isPortal = function(u) {
691
- return A(u) === r;
691
+ return F(u) === r;
692
692
  }, E.isProfiler = function(u) {
693
- return A(u) === o;
693
+ return F(u) === o;
694
694
  }, E.isStrictMode = function(u) {
695
- return A(u) === a;
695
+ return F(u) === a;
696
696
  }, E.isSuspense = function(u) {
697
- return A(u) === w;
697
+ return F(u) === S;
698
698
  }, E.isValidElementType = function(u) {
699
- return typeof u == "string" || typeof u == "function" || u === i || u === m || u === o || u === a || u === w || u === q || typeof u == "object" && u !== null && (u.$$typeof === k || u.$$typeof === F || u.$$typeof === c || u.$$typeof === f || u.$$typeof === P || u.$$typeof === Z || u.$$typeof === L || u.$$typeof === I || u.$$typeof === H);
700
- }, E.typeOf = A, E;
699
+ return typeof u == "string" || typeof u == "function" || u === i || u === v || u === o || u === a || u === S || u === L || typeof u == "object" && u !== null && (u.$$typeof === A || u.$$typeof === N || u.$$typeof === c || u.$$typeof === f || u.$$typeof === P || u.$$typeof === Z || u.$$typeof === q || u.$$typeof === x || u.$$typeof === W);
700
+ }, E.typeOf = F, E;
701
701
  }
702
702
  var R = {};
703
703
  var Mt;
704
704
  function Nn() {
705
705
  return Mt || (Mt = 1, process.env.NODE_ENV !== "production" && (function() {
706
- var e = typeof Symbol == "function" && Symbol.for, t = e ? /* @__PURE__ */ Symbol.for("react.element") : 60103, r = e ? /* @__PURE__ */ Symbol.for("react.portal") : 60106, i = e ? /* @__PURE__ */ Symbol.for("react.fragment") : 60107, a = e ? /* @__PURE__ */ Symbol.for("react.strict_mode") : 60108, o = e ? /* @__PURE__ */ Symbol.for("react.profiler") : 60114, c = e ? /* @__PURE__ */ Symbol.for("react.provider") : 60109, f = e ? /* @__PURE__ */ Symbol.for("react.context") : 60110, p = e ? /* @__PURE__ */ Symbol.for("react.async_mode") : 60111, m = e ? /* @__PURE__ */ Symbol.for("react.concurrent_mode") : 60111, P = e ? /* @__PURE__ */ Symbol.for("react.forward_ref") : 60112, w = e ? /* @__PURE__ */ Symbol.for("react.suspense") : 60113, q = e ? /* @__PURE__ */ Symbol.for("react.suspense_list") : 60120, F = e ? /* @__PURE__ */ Symbol.for("react.memo") : 60115, k = e ? /* @__PURE__ */ Symbol.for("react.lazy") : 60116, H = e ? /* @__PURE__ */ Symbol.for("react.block") : 60121, Z = e ? /* @__PURE__ */ Symbol.for("react.fundamental") : 60117, L = e ? /* @__PURE__ */ Symbol.for("react.responder") : 60118, I = e ? /* @__PURE__ */ Symbol.for("react.scope") : 60119;
707
- function A(y) {
708
- return typeof y == "string" || typeof y == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
709
- y === i || y === m || y === o || y === a || y === w || y === q || typeof y == "object" && y !== null && (y.$$typeof === k || y.$$typeof === F || y.$$typeof === c || y.$$typeof === f || y.$$typeof === P || y.$$typeof === Z || y.$$typeof === L || y.$$typeof === I || y.$$typeof === H);
710
- }
711
- function x(y) {
712
- if (typeof y == "object" && y !== null) {
713
- var be = y.$$typeof;
706
+ var e = typeof Symbol == "function" && Symbol.for, t = e ? /* @__PURE__ */ Symbol.for("react.element") : 60103, r = e ? /* @__PURE__ */ Symbol.for("react.portal") : 60106, i = e ? /* @__PURE__ */ Symbol.for("react.fragment") : 60107, a = e ? /* @__PURE__ */ Symbol.for("react.strict_mode") : 60108, o = e ? /* @__PURE__ */ Symbol.for("react.profiler") : 60114, c = e ? /* @__PURE__ */ Symbol.for("react.provider") : 60109, f = e ? /* @__PURE__ */ Symbol.for("react.context") : 60110, p = e ? /* @__PURE__ */ Symbol.for("react.async_mode") : 60111, v = e ? /* @__PURE__ */ Symbol.for("react.concurrent_mode") : 60111, P = e ? /* @__PURE__ */ Symbol.for("react.forward_ref") : 60112, S = e ? /* @__PURE__ */ Symbol.for("react.suspense") : 60113, L = e ? /* @__PURE__ */ Symbol.for("react.suspense_list") : 60120, N = e ? /* @__PURE__ */ Symbol.for("react.memo") : 60115, A = e ? /* @__PURE__ */ Symbol.for("react.lazy") : 60116, W = e ? /* @__PURE__ */ Symbol.for("react.block") : 60121, Z = e ? /* @__PURE__ */ Symbol.for("react.fundamental") : 60117, q = e ? /* @__PURE__ */ Symbol.for("react.responder") : 60118, x = e ? /* @__PURE__ */ Symbol.for("react.scope") : 60119;
707
+ function F(h) {
708
+ return typeof h == "string" || typeof h == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
709
+ h === i || h === v || h === o || h === a || h === S || h === L || typeof h == "object" && h !== null && (h.$$typeof === A || h.$$typeof === N || h.$$typeof === c || h.$$typeof === f || h.$$typeof === P || h.$$typeof === Z || h.$$typeof === q || h.$$typeof === x || h.$$typeof === W);
710
+ }
711
+ function k(h) {
712
+ if (typeof h == "object" && h !== null) {
713
+ var be = h.$$typeof;
714
714
  switch (be) {
715
715
  case t:
716
- var de = y.type;
716
+ var de = h.type;
717
717
  switch (de) {
718
718
  case p:
719
- case m:
719
+ case v:
720
720
  case i:
721
721
  case o:
722
722
  case a:
723
- case w:
723
+ case S:
724
724
  return de;
725
725
  default:
726
726
  var ie = de && de.$$typeof;
727
727
  switch (ie) {
728
728
  case f:
729
729
  case P:
730
- case k:
731
- case F:
730
+ case A:
731
+ case N:
732
732
  case c:
733
733
  return ie;
734
734
  default:
@@ -740,52 +740,52 @@ function Nn() {
740
740
  }
741
741
  }
742
742
  }
743
- var u = p, V = m, ye = f, Oe = c, _e = t, We = P, He = i, ke = k, K = F, ee = r, ne = o, Ae = a, De = w, he = !1;
744
- function Me(y) {
745
- return he || (he = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), me(y) || x(y) === p;
743
+ var u = p, V = v, he = f, Oe = c, ke = t, Ye = P, We = i, _e = A, B = N, ee = r, ne = o, Ae = a, Fe = S, ye = !1;
744
+ function Me(h) {
745
+ return ye || (ye = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), me(h) || k(h) === p;
746
746
  }
747
- function me(y) {
748
- return x(y) === m;
747
+ function me(h) {
748
+ return k(h) === v;
749
749
  }
750
- function Fe(y) {
751
- return x(y) === f;
750
+ function De(h) {
751
+ return k(h) === f;
752
752
  }
753
- function Ne(y) {
754
- return x(y) === c;
753
+ function Ne(h) {
754
+ return k(h) === c;
755
755
  }
756
- function $e(y) {
757
- return typeof y == "object" && y !== null && y.$$typeof === t;
756
+ function $e(h) {
757
+ return typeof h == "object" && h !== null && h.$$typeof === t;
758
758
  }
759
- function Ge(y) {
760
- return x(y) === P;
759
+ function He(h) {
760
+ return k(h) === P;
761
761
  }
762
- function Je(y) {
763
- return x(y) === i;
762
+ function Ge(h) {
763
+ return k(h) === i;
764
764
  }
765
- function ve(y) {
766
- return x(y) === k;
765
+ function ve(h) {
766
+ return k(h) === A;
767
767
  }
768
- function ge(y) {
769
- return x(y) === F;
768
+ function ge(h) {
769
+ return k(h) === N;
770
770
  }
771
- function ce(y) {
772
- return x(y) === r;
771
+ function ce(h) {
772
+ return k(h) === r;
773
773
  }
774
- function Pe(y) {
775
- return x(y) === o;
774
+ function Pe(h) {
775
+ return k(h) === o;
776
776
  }
777
- function ue(y) {
778
- return x(y) === a;
777
+ function ue(h) {
778
+ return k(h) === a;
779
779
  }
780
- function Qe(y) {
781
- return x(y) === w;
780
+ function Je(h) {
781
+ return k(h) === S;
782
782
  }
783
- R.AsyncMode = u, R.ConcurrentMode = V, R.ContextConsumer = ye, R.ContextProvider = Oe, R.Element = _e, R.ForwardRef = We, R.Fragment = He, R.Lazy = ke, R.Memo = K, R.Portal = ee, R.Profiler = ne, R.StrictMode = Ae, R.Suspense = De, R.isAsyncMode = Me, R.isConcurrentMode = me, R.isContextConsumer = Fe, R.isContextProvider = Ne, R.isElement = $e, R.isForwardRef = Ge, R.isFragment = Je, R.isLazy = ve, R.isMemo = ge, R.isPortal = ce, R.isProfiler = Pe, R.isStrictMode = ue, R.isSuspense = Qe, R.isValidElementType = A, R.typeOf = x;
783
+ R.AsyncMode = u, R.ConcurrentMode = V, R.ContextConsumer = he, R.ContextProvider = Oe, R.Element = ke, R.ForwardRef = Ye, R.Fragment = We, R.Lazy = _e, R.Memo = B, R.Portal = ee, R.Profiler = ne, R.StrictMode = Ae, R.Suspense = Fe, R.isAsyncMode = Me, R.isConcurrentMode = me, R.isContextConsumer = De, R.isContextProvider = Ne, R.isElement = $e, R.isForwardRef = He, R.isFragment = Ge, R.isLazy = ve, R.isMemo = ge, R.isPortal = ce, R.isProfiler = Pe, R.isStrictMode = ue, R.isSuspense = Je, R.isValidElementType = F, R.typeOf = k;
784
784
  })()), R;
785
785
  }
786
- var Ft;
786
+ var Dt;
787
787
  function $n() {
788
- return Ft || (Ft = 1, process.env.NODE_ENV === "production" ? qe.exports = Fn() : qe.exports = Nn()), qe.exports;
788
+ return Dt || (Dt = 1, process.env.NODE_ENV === "production" ? Le.exports = Dn() : Le.exports = Nn()), Le.exports;
789
789
  }
790
790
  var rt, Nt;
791
791
  function jn() {
@@ -826,36 +826,36 @@ function jn() {
826
826
  type: !0
827
827
  }, o = {};
828
828
  o[e.ForwardRef] = i, o[e.Memo] = a;
829
- function c(k) {
830
- return e.isMemo(k) ? a : o[k.$$typeof] || t;
831
- }
832
- var f = Object.defineProperty, p = Object.getOwnPropertyNames, m = Object.getOwnPropertySymbols, P = Object.getOwnPropertyDescriptor, w = Object.getPrototypeOf, q = Object.prototype;
833
- function F(k, H, Z) {
834
- if (typeof H != "string") {
835
- if (q) {
836
- var L = w(H);
837
- L && L !== q && F(k, L, Z);
829
+ function c(A) {
830
+ return e.isMemo(A) ? a : o[A.$$typeof] || t;
831
+ }
832
+ var f = Object.defineProperty, p = Object.getOwnPropertyNames, v = Object.getOwnPropertySymbols, P = Object.getOwnPropertyDescriptor, S = Object.getPrototypeOf, L = Object.prototype;
833
+ function N(A, W, Z) {
834
+ if (typeof W != "string") {
835
+ if (L) {
836
+ var q = S(W);
837
+ q && q !== L && N(A, q, Z);
838
838
  }
839
- var I = p(H);
840
- m && (I = I.concat(m(H)));
841
- for (var A = c(k), x = c(H), u = 0; u < I.length; ++u) {
842
- var V = I[u];
843
- if (!r[V] && !(Z && Z[V]) && !(x && x[V]) && !(A && A[V])) {
844
- var ye = P(H, V);
839
+ var x = p(W);
840
+ v && (x = x.concat(v(W)));
841
+ for (var F = c(A), k = c(W), u = 0; u < x.length; ++u) {
842
+ var V = x[u];
843
+ if (!r[V] && !(Z && Z[V]) && !(k && k[V]) && !(F && F[V])) {
844
+ var he = P(W, V);
845
845
  try {
846
- f(k, V, ye);
846
+ f(A, V, he);
847
847
  } catch {
848
848
  }
849
849
  }
850
850
  }
851
851
  }
852
- return k;
852
+ return A;
853
853
  }
854
- return rt = F, rt;
854
+ return rt = N, rt;
855
855
  }
856
856
  jn();
857
857
  var zn = !0;
858
- function qn(e, t, r) {
858
+ function Ln(e, t, r) {
859
859
  var i = "";
860
860
  return r.split(" ").forEach(function(a) {
861
861
  e[a] !== void 0 ? t.push(e[a] + ";") : a && (i += a + " ");
@@ -873,7 +873,7 @@ var nr = function(t, r, i) {
873
873
  // the registered cache to know whether a style is global or not
874
874
  // also, note that this check will be dead code eliminated in the browser
875
875
  zn === !1) && t.registered[a] === void 0 && (t.registered[a] = r.styles);
876
- }, Ln = function(t, r, i) {
876
+ }, qn = function(t, r, i) {
877
877
  nr(t, r, i);
878
878
  var a = t.key + "-" + r.name;
879
879
  if (t.inserted[r.name] === void 0) {
@@ -952,28 +952,28 @@ var Un = {
952
952
  strokeOpacity: 1,
953
953
  strokeWidth: 1
954
954
  };
955
- function Yn(e) {
955
+ function Qn(e) {
956
956
  var t = /* @__PURE__ */ Object.create(null);
957
957
  return function(r) {
958
958
  return t[r] === void 0 && (t[r] = e(r)), t[r];
959
959
  };
960
960
  }
961
- var Wn = /[A-Z]|^ms/g, Hn = /_EMO_([^_]+?)_([^]*?)_EMO_/g, ir = function(t) {
961
+ var Yn = /[A-Z]|^ms/g, Wn = /_EMO_([^_]+?)_([^]*?)_EMO_/g, ir = function(t) {
962
962
  return t.charCodeAt(1) === 45;
963
963
  }, $t = function(t) {
964
964
  return t != null && typeof t != "boolean";
965
- }, nt = /* @__PURE__ */ Yn(function(e) {
966
- return ir(e) ? e : e.replace(Wn, "-$&").toLowerCase();
965
+ }, nt = /* @__PURE__ */ Qn(function(e) {
966
+ return ir(e) ? e : e.replace(Yn, "-$&").toLowerCase();
967
967
  }), jt = function(t, r) {
968
968
  switch (t) {
969
969
  case "animation":
970
970
  case "animationName":
971
971
  if (typeof r == "string")
972
- return r.replace(Hn, function(i, a, o) {
973
- return B = {
972
+ return r.replace(Wn, function(i, a, o) {
973
+ return K = {
974
974
  name: a,
975
975
  styles: o,
976
- next: B
976
+ next: K
977
977
  }, a;
978
978
  });
979
979
  }
@@ -991,30 +991,30 @@ function Ie(e, t, r) {
991
991
  case "object": {
992
992
  var a = r;
993
993
  if (a.anim === 1)
994
- return B = {
994
+ return K = {
995
995
  name: a.name,
996
996
  styles: a.styles,
997
- next: B
997
+ next: K
998
998
  }, a.name;
999
999
  var o = r;
1000
1000
  if (o.styles !== void 0) {
1001
1001
  var c = o.next;
1002
1002
  if (c !== void 0)
1003
1003
  for (; c !== void 0; )
1004
- B = {
1004
+ K = {
1005
1005
  name: c.name,
1006
1006
  styles: c.styles,
1007
- next: B
1007
+ next: K
1008
1008
  }, c = c.next;
1009
1009
  var f = o.styles + ";";
1010
1010
  return f;
1011
1011
  }
1012
- return Gn(e, t, r);
1012
+ return Hn(e, t, r);
1013
1013
  }
1014
1014
  case "function": {
1015
1015
  if (e !== void 0) {
1016
- var p = B, m = r(e);
1017
- return B = p, Ie(e, t, m);
1016
+ var p = K, v = r(e);
1017
+ return K = p, Ie(e, t, v);
1018
1018
  }
1019
1019
  break;
1020
1020
  }
@@ -1022,7 +1022,7 @@ function Ie(e, t, r) {
1022
1022
  var P = r;
1023
1023
  return P;
1024
1024
  }
1025
- function Gn(e, t, r) {
1025
+ function Hn(e, t, r) {
1026
1026
  var i = "";
1027
1027
  if (Array.isArray(r))
1028
1028
  for (var a = 0; a < r.length; a++)
@@ -1037,26 +1037,26 @@ function Gn(e, t, r) {
1037
1037
  for (var p = 0; p < c.length; p++)
1038
1038
  $t(c[p]) && (i += nt(o) + ":" + jt(o, c[p]) + ";");
1039
1039
  else {
1040
- var m = Ie(e, t, c);
1040
+ var v = Ie(e, t, c);
1041
1041
  switch (o) {
1042
1042
  case "animation":
1043
1043
  case "animationName": {
1044
- i += nt(o) + ":" + m + ";";
1044
+ i += nt(o) + ":" + v + ";";
1045
1045
  break;
1046
1046
  }
1047
1047
  default:
1048
- i += o + "{" + m + "}";
1048
+ i += o + "{" + v + "}";
1049
1049
  }
1050
1050
  }
1051
1051
  }
1052
1052
  return i;
1053
1053
  }
1054
- var zt = /label:\s*([^\s;{]+)\s*(;|$)/g, B;
1055
- function Jn(e, t, r) {
1054
+ var zt = /label:\s*([^\s;{]+)\s*(;|$)/g, K;
1055
+ function Gn(e, t, r) {
1056
1056
  if (e.length === 1 && typeof e[0] == "object" && e[0] !== null && e[0].styles !== void 0)
1057
1057
  return e[0];
1058
1058
  var i = !0, a = "";
1059
- B = void 0;
1059
+ K = void 0;
1060
1060
  var o = e[0];
1061
1061
  if (o == null || o.raw === void 0)
1062
1062
  i = !1, a += Ie(r, t, o);
@@ -1070,25 +1070,25 @@ function Jn(e, t, r) {
1070
1070
  a += p[f];
1071
1071
  }
1072
1072
  zt.lastIndex = 0;
1073
- for (var m = "", P; (P = zt.exec(a)) !== null; )
1074
- m += "-" + P[1];
1075
- var w = Vn(a) + m;
1073
+ for (var v = "", P; (P = zt.exec(a)) !== null; )
1074
+ v += "-" + P[1];
1075
+ var S = Vn(a) + v;
1076
1076
  return {
1077
- name: w,
1077
+ name: S,
1078
1078
  styles: a,
1079
- next: B
1079
+ next: K
1080
1080
  };
1081
1081
  }
1082
- var Qn = function(t) {
1082
+ var Jn = function(t) {
1083
1083
  return t();
1084
- }, Kn = te.useInsertionEffect ? te.useInsertionEffect : !1, Bn = Kn || Qn, ar = /* @__PURE__ */ te.createContext(
1084
+ }, Bn = te.useInsertionEffect ? te.useInsertionEffect : !1, Kn = Bn || Jn, ar = /* @__PURE__ */ te.createContext(
1085
1085
  // we're doing this to avoid preconstruct's dead code elimination in this one case
1086
1086
  // because this module is primarily intended for the browser and node
1087
1087
  // but it's also required in react native and similar environments sometimes
1088
1088
  // and we could have a special build just for that
1089
1089
  // but this is much easier and the native packages
1090
1090
  // might use a different theme context in the future anyway
1091
- typeof HTMLElement < "u" ? /* @__PURE__ */ qr({
1091
+ typeof HTMLElement < "u" ? /* @__PURE__ */ Lr({
1092
1092
  key: "css"
1093
1093
  }) : null
1094
1094
  );
@@ -1105,27 +1105,27 @@ var Xn = function(t) {
1105
1105
  return i[ot] = t, i;
1106
1106
  }, ei = function(t) {
1107
1107
  var r = t.cache, i = t.serialized, a = t.isStringTag;
1108
- return nr(r, i, a), Bn(function() {
1109
- return Ln(r, i, a);
1108
+ return nr(r, i, a), Kn(function() {
1109
+ return qn(r, i, a);
1110
1110
  }), null;
1111
1111
  }, ti = /* @__PURE__ */ Xn(function(e, t, r) {
1112
1112
  var i = e.css;
1113
1113
  typeof i == "string" && t.registered[i] !== void 0 && (i = t.registered[i]);
1114
1114
  var a = e[ot], o = [i], c = "";
1115
- typeof e.className == "string" ? c = qn(t.registered, o, e.className) : e.className != null && (c = e.className + " ");
1116
- var f = Jn(o, void 0, te.useContext(Zn));
1115
+ typeof e.className == "string" ? c = Ln(t.registered, o, e.className) : e.className != null && (c = e.className + " ");
1116
+ var f = Gn(o, void 0, te.useContext(Zn));
1117
1117
  c += t.key + "-" + f.name;
1118
1118
  var p = {};
1119
- for (var m in e)
1120
- Ue.call(e, m) && m !== "css" && m !== ot && (p[m] = e[m]);
1119
+ for (var v in e)
1120
+ Ue.call(e, v) && v !== "css" && v !== ot && (p[v] = e[v]);
1121
1121
  return p.className = c, r && (p.ref = r), /* @__PURE__ */ te.createElement(te.Fragment, null, /* @__PURE__ */ te.createElement(ei, {
1122
1122
  cache: t,
1123
1123
  serialized: f,
1124
1124
  isStringTag: typeof a == "string"
1125
1125
  }), /* @__PURE__ */ te.createElement(a, p));
1126
- }), or = ti, Ye = Ce.Fragment, s = function(t, r, i) {
1126
+ }), or = ti, Qe = Ce.Fragment, s = function(t, r, i) {
1127
1127
  return Ue.call(r, "css") ? Ce.jsx(or, sr(t, r), i) : Ce.jsx(t, r, i);
1128
- }, M = function(t, r, i) {
1128
+ }, D = function(t, r, i) {
1129
1129
  return Ue.call(r, "css") ? Ce.jsxs(or, sr(t, r), i) : Ce.jsxs(t, r, i);
1130
1130
  };
1131
1131
  const ri = {
@@ -1232,11 +1232,11 @@ class pt {
1232
1232
  };
1233
1233
  let p;
1234
1234
  si(f.body) || f.body instanceof URLSearchParams || ai(f.body) ? p = f.body : this.isJsonMime(a["Content-Type"]) ? p = JSON.stringify(f.body) : p = f.body;
1235
- const m = {
1235
+ const v = {
1236
1236
  ...f,
1237
1237
  body: p
1238
1238
  };
1239
- return { url: i, init: m };
1239
+ return { url: i, init: v };
1240
1240
  }
1241
1241
  fetchApi = async (t, r) => {
1242
1242
  let i = { url: t, init: r };
@@ -1296,7 +1296,7 @@ class li extends Error {
1296
1296
  }
1297
1297
  name = "FetchError";
1298
1298
  }
1299
- class Re extends Error {
1299
+ class Ee extends Error {
1300
1300
  constructor(t, r) {
1301
1301
  super(r), this.field = t;
1302
1302
  }
@@ -1350,10 +1350,10 @@ function pi(e, t) {
1350
1350
  items: e.items.map(dr)
1351
1351
  };
1352
1352
  }
1353
- function yi(e) {
1354
- return hi(e);
1353
+ function hi(e) {
1354
+ return yi(e);
1355
1355
  }
1356
- function hi(e, t) {
1356
+ function yi(e, t) {
1357
1357
  return e == null ? e : {
1358
1358
  id: e.id,
1359
1359
  url: e.url,
@@ -1367,7 +1367,7 @@ function mi(e) {
1367
1367
  }
1368
1368
  function vi(e, t) {
1369
1369
  return e == null ? e : {
1370
- items: e.items.map(yi)
1370
+ items: e.items.map(hi)
1371
1371
  };
1372
1372
  }
1373
1373
  function gi(e) {
@@ -1407,7 +1407,7 @@ class Si extends pt {
1407
1407
  */
1408
1408
  async mediaPlayerPlaylistsIdDeleteRaw(t, r) {
1409
1409
  if (t.id == null)
1410
- throw new Re(
1410
+ throw new Ee(
1411
1411
  "id",
1412
1412
  'Required parameter "id" was null or undefined when calling mediaPlayerPlaylistsIdDelete().'
1413
1413
  );
@@ -1431,7 +1431,7 @@ class Si extends pt {
1431
1431
  */
1432
1432
  async mediaPlayerPlaylistsIdGetRaw(t, r) {
1433
1433
  if (t.id == null)
1434
- throw new Re(
1434
+ throw new Ee(
1435
1435
  "id",
1436
1436
  'Required parameter "id" was null or undefined when calling mediaPlayerPlaylistsIdGet().'
1437
1437
  );
@@ -1455,7 +1455,7 @@ class Si extends pt {
1455
1455
  */
1456
1456
  async mediaPlayerPlaylistsIdRenamePostRaw(t, r) {
1457
1457
  if (t.id == null)
1458
- throw new Re(
1458
+ throw new Ee(
1459
1459
  "id",
1460
1460
  'Required parameter "id" was null or undefined when calling mediaPlayerPlaylistsIdRenamePost().'
1461
1461
  );
@@ -1481,7 +1481,7 @@ class Si extends pt {
1481
1481
  */
1482
1482
  async mediaPlayerPlaylistsIdTracksGetRaw(t, r) {
1483
1483
  if (t.id == null)
1484
- throw new Re(
1484
+ throw new Ee(
1485
1485
  "id",
1486
1486
  'Required parameter "id" was null or undefined when calling mediaPlayerPlaylistsIdTracksGet().'
1487
1487
  );
@@ -1505,7 +1505,7 @@ class Si extends pt {
1505
1505
  */
1506
1506
  async mediaPlayerPlaylistsIdTracksPutRaw(t, r) {
1507
1507
  if (t.id == null)
1508
- throw new Re(
1508
+ throw new Ee(
1509
1509
  "id",
1510
1510
  'Required parameter "id" was null or undefined when calling mediaPlayerPlaylistsIdTracksPut().'
1511
1511
  );
@@ -1545,11 +1545,11 @@ class Si extends pt {
1545
1545
  return await (await this.mediaPlayerPlaylistsPostRaw(t, r)).value();
1546
1546
  }
1547
1547
  }
1548
- const Ei = new lr({
1548
+ const Ti = new lr({
1549
1549
  basePath: new URL("api", window.location.origin).toString()
1550
- }), Ri = new Si(
1551
- Ei
1552
- ), Ti = ({
1550
+ }), Ei = new Si(
1551
+ Ti
1552
+ ), Ri = ({
1553
1553
  disabled: e,
1554
1554
  onAddToPlaylist: t
1555
1555
  }) => {
@@ -1557,7 +1557,7 @@ const Ei = new lr({
1557
1557
  "loading"
1558
1558
  );
1559
1559
  return Ut(() => {
1560
- Ri.mediaPlayerPlaylistsGet().then(
1560
+ Ei.mediaPlayerPlaylistsGet().then(
1561
1561
  (c) => o(
1562
1562
  c.items.map((f) => ({
1563
1563
  key: f.id,
@@ -1570,9 +1570,9 @@ const Ei = new lr({
1570
1570
  {
1571
1571
  panelPaddingSize: "none",
1572
1572
  button: /* @__PURE__ */ s(
1573
- Q,
1573
+ J,
1574
1574
  {
1575
- iconType: Te,
1575
+ iconType: Re,
1576
1576
  onClick: () => i(!r),
1577
1577
  disabled: e,
1578
1578
  children: "Add to"
@@ -1581,7 +1581,7 @@ const Ei = new lr({
1581
1581
  isOpen: r,
1582
1582
  closePopover: () => i(!1),
1583
1583
  children: /* @__PURE__ */ s(
1584
- Lr,
1584
+ qr,
1585
1585
  {
1586
1586
  searchable: !0,
1587
1587
  searchProps: {
@@ -1593,10 +1593,10 @@ const Ei = new lr({
1593
1593
  i(!1), await t(p);
1594
1594
  },
1595
1595
  singleSelection: !0,
1596
- children: (c, f) => /* @__PURE__ */ M("div", { style: { width: 240 }, children: [
1596
+ children: (c, f) => /* @__PURE__ */ D("div", { style: { width: 240 }, children: [
1597
1597
  /* @__PURE__ */ s(Vr, { paddingSize: "s", children: f }),
1598
1598
  c,
1599
- /* @__PURE__ */ s(Ur, { paddingSize: "s", children: /* @__PURE__ */ s(Q, { size: "s", fullWidth: !0, iconType: Te, children: "New playlist" }) })
1599
+ /* @__PURE__ */ s(Ur, { paddingSize: "s", children: /* @__PURE__ */ s(J, { size: "s", fullWidth: !0, iconType: Re, children: "New playlist" }) })
1600
1600
  ] })
1601
1601
  }
1602
1602
  )
@@ -1606,16 +1606,16 @@ const Ei = new lr({
1606
1606
  onCancel: e,
1607
1607
  onSave: t
1608
1608
  }) => {
1609
- const r = Yr({ prefix: "modalForm" }), [i, a] = z(""), [o, c] = z(""), [f, p] = z(!1);
1610
- return /* @__PURE__ */ M(Kr, { onClose: e, initialFocus: "[name=url]", children: [
1611
- /* @__PURE__ */ s(Hr, { children: /* @__PURE__ */ s(Wr, { children: "Add video" }) }),
1612
- /* @__PURE__ */ s(Jr, { children: /* @__PURE__ */ M(
1613
- Gr,
1609
+ const r = Qr({ prefix: "modalForm" }), [i, a] = z(""), [o, c] = z(""), [f, p] = z(!1);
1610
+ return /* @__PURE__ */ D(Br, { onClose: e, initialFocus: "[name=url]", children: [
1611
+ /* @__PURE__ */ s(Wr, { children: /* @__PURE__ */ s(Yr, { children: "Add video" }) }),
1612
+ /* @__PURE__ */ s(Gr, { children: /* @__PURE__ */ D(
1613
+ Hr,
1614
1614
  {
1615
1615
  id: r,
1616
1616
  component: "form",
1617
- onSubmit: async (m) => {
1618
- m.preventDefault();
1617
+ onSubmit: async (v) => {
1618
+ v.preventDefault();
1619
1619
  try {
1620
1620
  p(!0), await t({ url: i, title: o });
1621
1621
  } finally {
@@ -1628,7 +1628,7 @@ const Ei = new lr({
1628
1628
  {
1629
1629
  name: "url",
1630
1630
  value: i,
1631
- onChange: (m) => a(m.target.value)
1631
+ onChange: (v) => a(v.target.value)
1632
1632
  }
1633
1633
  ) }),
1634
1634
  /* @__PURE__ */ s(at, { label: "Title", children: /* @__PURE__ */ s(
@@ -1636,16 +1636,16 @@ const Ei = new lr({
1636
1636
  {
1637
1637
  name: "title",
1638
1638
  value: o,
1639
- onChange: (m) => c(m.target.value)
1639
+ onChange: (v) => c(v.target.value)
1640
1640
  }
1641
1641
  ) })
1642
1642
  ]
1643
1643
  }
1644
1644
  ) }),
1645
- /* @__PURE__ */ M(Qr, { children: [
1646
- /* @__PURE__ */ s(Yt, { onClick: e, children: "Cancel" }),
1645
+ /* @__PURE__ */ D(Jr, { children: [
1646
+ /* @__PURE__ */ s(Qt, { onClick: e, children: "Cancel" }),
1647
1647
  /* @__PURE__ */ s(
1648
- Q,
1648
+ J,
1649
1649
  {
1650
1650
  type: "submit",
1651
1651
  form: r,
@@ -1657,7 +1657,7 @@ const Ei = new lr({
1657
1657
  )
1658
1658
  ] })
1659
1659
  ] });
1660
- }, qt = re(
1660
+ }, Lt = re(
1661
1661
  ({ onSave: e }) => {
1662
1662
  const [t, r] = z(!1), i = $(
1663
1663
  async (a) => {
@@ -1665,12 +1665,12 @@ const Ei = new lr({
1665
1665
  },
1666
1666
  [e]
1667
1667
  );
1668
- return /* @__PURE__ */ M(Ye, { children: [
1668
+ return /* @__PURE__ */ D(Qe, { children: [
1669
1669
  /* @__PURE__ */ s(
1670
- Q,
1670
+ J,
1671
1671
  {
1672
1672
  onClick: () => r(!0),
1673
- iconType: Te,
1673
+ iconType: Re,
1674
1674
  color: "primary",
1675
1675
  children: "Add video"
1676
1676
  }
@@ -1692,10 +1692,10 @@ const Ei = new lr({
1692
1692
  Twitch: "https://www.twitch.tv/favicon.ico",
1693
1693
  Vimeo: "https://vimeo.com/favicon.ico",
1694
1694
  YouTube: "https://www.youtube.com/favicon.ico"
1695
- }, Ii = C(
1695
+ }, Ii = I(
1696
1696
  ({ playQueueStore: e }) => {
1697
- const { euiTheme: t } = Wt();
1698
- return /* @__PURE__ */ M(
1697
+ const { euiTheme: t } = Yt();
1698
+ return /* @__PURE__ */ D(
1699
1699
  Xr,
1700
1700
  {
1701
1701
  style: {
@@ -1705,8 +1705,8 @@ const Ei = new lr({
1705
1705
  background: t.colors.backgroundBasePlain
1706
1706
  },
1707
1707
  children: [
1708
- /* @__PURE__ */ s(Br, { children: /* @__PURE__ */ s(
1709
- Ht,
1708
+ /* @__PURE__ */ s(Kr, { children: /* @__PURE__ */ s(
1709
+ Wt,
1710
1710
  {
1711
1711
  id: "",
1712
1712
  checked: e.allItemsSelected,
@@ -1734,21 +1734,21 @@ const Ei = new lr({
1734
1734
  items: [
1735
1735
  {
1736
1736
  name: "Play first",
1737
- icon: /* @__PURE__ */ s(Y, { type: "" }),
1737
+ icon: /* @__PURE__ */ s(Q, { type: "" }),
1738
1738
  onClick: async () => {
1739
1739
  t(), await e.playFirst();
1740
1740
  }
1741
1741
  },
1742
1742
  {
1743
1743
  name: "Play next",
1744
- icon: /* @__PURE__ */ s(Y, { type: "" }),
1744
+ icon: /* @__PURE__ */ s(Q, { type: "" }),
1745
1745
  onClick: async () => {
1746
1746
  t(), await e.playNext();
1747
1747
  }
1748
1748
  },
1749
1749
  {
1750
1750
  name: "Add to play queue",
1751
- icon: /* @__PURE__ */ s(Y, { type: Te }),
1751
+ icon: /* @__PURE__ */ s(Q, { type: Re }),
1752
1752
  onClick: async () => {
1753
1753
  t(), await e.addToPlayQueue();
1754
1754
  }
@@ -1758,7 +1758,7 @@ const Ei = new lr({
1758
1758
  },
1759
1759
  {
1760
1760
  name: "Move to the top",
1761
- icon: /* @__PURE__ */ s(Y, { type: cn }),
1761
+ icon: /* @__PURE__ */ s(Q, { type: cn }),
1762
1762
  onClick: async () => {
1763
1763
  t(), e.moveToTop();
1764
1764
  },
@@ -1766,7 +1766,7 @@ const Ei = new lr({
1766
1766
  },
1767
1767
  {
1768
1768
  name: "Move to the bottom",
1769
- icon: /* @__PURE__ */ s(Y, { type: un }),
1769
+ icon: /* @__PURE__ */ s(Q, { type: un }),
1770
1770
  onClick: async () => {
1771
1771
  t(), e.moveToBottom();
1772
1772
  },
@@ -1777,7 +1777,7 @@ const Ei = new lr({
1777
1777
  },
1778
1778
  {
1779
1779
  name: "Remove to the top",
1780
- icon: /* @__PURE__ */ s(Y, { type: "" }),
1780
+ icon: /* @__PURE__ */ s(Q, { type: "" }),
1781
1781
  onClick: async () => {
1782
1782
  t(), await e.removeToTop();
1783
1783
  },
@@ -1785,7 +1785,7 @@ const Ei = new lr({
1785
1785
  },
1786
1786
  {
1787
1787
  name: "Remove others",
1788
- icon: /* @__PURE__ */ s(Y, { type: "" }),
1788
+ icon: /* @__PURE__ */ s(Q, { type: "" }),
1789
1789
  onClick: async () => {
1790
1790
  t(), await e.removeOthers();
1791
1791
  },
@@ -1805,11 +1805,11 @@ const Ei = new lr({
1805
1805
  xe,
1806
1806
  {
1807
1807
  button: /* @__PURE__ */ s(
1808
- W,
1808
+ Y,
1809
1809
  {
1810
1810
  title: "More options",
1811
1811
  "aria-label": "More options",
1812
- iconType: Qt,
1812
+ iconType: Jt,
1813
1813
  size: "s",
1814
1814
  color: "text",
1815
1815
  onClick: i
@@ -1829,12 +1829,12 @@ const Ei = new lr({
1829
1829
  }
1830
1830
  );
1831
1831
  }
1832
- ), _i = C(
1832
+ ), ki = I(
1833
1833
  ({ item: e }) => {
1834
1834
  const t = le();
1835
- return /* @__PURE__ */ M(st, { textOnly: !1, hasActions: !0, align: "right", children: [
1835
+ return /* @__PURE__ */ D(st, { textOnly: !1, hasActions: !0, align: "right", children: [
1836
1836
  /* @__PURE__ */ s(
1837
- Q,
1837
+ J,
1838
1838
  {
1839
1839
  iconType: ln,
1840
1840
  size: "s",
@@ -1845,7 +1845,7 @@ const Ei = new lr({
1845
1845
  }
1846
1846
  ),
1847
1847
  /* @__PURE__ */ s(
1848
- Q,
1848
+ J,
1849
1849
  {
1850
1850
  iconType: ft,
1851
1851
  size: "s",
@@ -1856,12 +1856,12 @@ const Ei = new lr({
1856
1856
  /* @__PURE__ */ s(Oi, { item: e })
1857
1857
  ] });
1858
1858
  }
1859
- ), ki = C(
1859
+ ), _i = I(
1860
1860
  ({ item: e }) => {
1861
1861
  const t = le();
1862
- return /* @__PURE__ */ M(tn, { isSelected: e.isCurrent, children: [
1862
+ return /* @__PURE__ */ D(tn, { isSelected: e.isCurrent, children: [
1863
1863
  /* @__PURE__ */ s(Zr, { children: /* @__PURE__ */ s(
1864
- Ht,
1864
+ Wt,
1865
1865
  {
1866
1866
  id: e.id.toString(),
1867
1867
  checked: e.isSelected,
@@ -1887,21 +1887,21 @@ const Ei = new lr({
1887
1887
  children: e.title
1888
1888
  }
1889
1889
  ) }),
1890
- /* @__PURE__ */ s(_i, { item: e })
1890
+ /* @__PURE__ */ s(ki, { item: e })
1891
1891
  ] }, e.id);
1892
1892
  }
1893
- ), Ai = C(
1893
+ ), Ai = I(
1894
1894
  ({ playQueueStore: e }) => /* @__PURE__ */ s(
1895
1895
  On,
1896
1896
  {
1897
1897
  tag: "tbody",
1898
1898
  list: e.items,
1899
1899
  setList: (t) => e.setItems(t),
1900
- children: e.items.map((t) => /* @__PURE__ */ s(ki, { item: t }, t.id))
1900
+ children: e.items.map((t) => /* @__PURE__ */ s(_i, { item: t }, t.id))
1901
1901
  }
1902
1902
  )
1903
- ), Di = C(
1904
- ({ playQueueStore: e }) => /* @__PURE__ */ M(rn, { children: [
1903
+ ), Fi = I(
1904
+ ({ playQueueStore: e }) => /* @__PURE__ */ D(rn, { children: [
1905
1905
  /* @__PURE__ */ s(Ii, { playQueueStore: e }),
1906
1906
  /* @__PURE__ */ s(Ai, { playQueueStore: e })
1907
1907
  ] })
@@ -1909,21 +1909,21 @@ const Ei = new lr({
1909
1909
  function Mi(e) {
1910
1910
  return e !== null && typeof e == "object" && "title" in e && typeof e.title == "string";
1911
1911
  }
1912
- const Fi = C(
1912
+ const Di = I(
1913
1913
  ({ playQueueStore: e }) => /* @__PURE__ */ s(
1914
- Q,
1914
+ J,
1915
1915
  {
1916
- iconType: Te,
1916
+ iconType: Re,
1917
1917
  onClick: e.addSelectedItems,
1918
1918
  disabled: e.isEmpty || e.selectedItems.length === 0,
1919
1919
  children: "Add to play queue"
1920
1920
  }
1921
1921
  )
1922
1922
  );
1923
- C(
1923
+ I(
1924
1924
  ({ playQueueStore: e }) => {
1925
1925
  const [t, r] = z(!1);
1926
- return /* @__PURE__ */ M(Ye, { children: [
1926
+ return /* @__PURE__ */ D(Qe, { children: [
1927
1927
  t && /* @__PURE__ */ s(
1928
1928
  an,
1929
1929
  {
@@ -1947,7 +1947,7 @@ C(
1947
1947
  }
1948
1948
  ),
1949
1949
  /* @__PURE__ */ s(
1950
- Q,
1950
+ J,
1951
1951
  {
1952
1952
  onClick: () => r((i) => !i),
1953
1953
  iconType: dn,
@@ -1957,12 +1957,12 @@ C(
1957
1957
  ] });
1958
1958
  }
1959
1959
  );
1960
- const Ni = C(
1960
+ const Ni = I(
1961
1961
  ({ playQueueStore: e }) => {
1962
- const { euiTheme: t } = Wt(), r = $(async () => {
1962
+ const { euiTheme: t } = Yt(), r = $(async () => {
1963
1963
  }, []), i = $(
1964
1964
  async (a) => {
1965
- const o = Tn(a.url);
1965
+ const o = Rn(a.url);
1966
1966
  if (o !== void 0) {
1967
1967
  const c = o.extractVideoId(a.url);
1968
1968
  if (c !== void 0) {
@@ -1984,8 +1984,8 @@ const Ni = C(
1984
1984
  },
1985
1985
  [e]
1986
1986
  );
1987
- return /* @__PURE__ */ M(Ye, { children: [
1988
- /* @__PURE__ */ M(
1987
+ return /* @__PURE__ */ D(Qe, { children: [
1988
+ /* @__PURE__ */ D(
1989
1989
  oe,
1990
1990
  {
1991
1991
  alignItems: "center",
@@ -1997,24 +1997,24 @@ const Ni = C(
1997
1997
  background: t.colors.backgroundBasePlain
1998
1998
  },
1999
1999
  children: [
2000
- /* @__PURE__ */ s(J, { grow: !1, children: /* @__PURE__ */ s(
2001
- Q,
2000
+ /* @__PURE__ */ s(G, { grow: !1, children: /* @__PURE__ */ s(
2001
+ J,
2002
2002
  {
2003
2003
  disabled: e.isEmpty || e.selectedItems.length === 0,
2004
2004
  onClick: e.playSelectedItemsNext,
2005
2005
  children: "Play next"
2006
2006
  }
2007
2007
  ) }),
2008
- /* @__PURE__ */ s(J, { grow: !1, children: /* @__PURE__ */ s(Fi, { playQueueStore: e }) }),
2009
- /* @__PURE__ */ s(J, { grow: !1, children: /* @__PURE__ */ s(
2010
- Ti,
2008
+ /* @__PURE__ */ s(G, { grow: !1, children: /* @__PURE__ */ s(Di, { playQueueStore: e }) }),
2009
+ /* @__PURE__ */ s(G, { grow: !1, children: /* @__PURE__ */ s(
2010
+ Ri,
2011
2011
  {
2012
2012
  disabled: !ri.mediaPlayer.enablePlaylists,
2013
2013
  onAddToPlaylist: r
2014
2014
  }
2015
2015
  ) }),
2016
- /* @__PURE__ */ s(J, { grow: !1, children: /* @__PURE__ */ s(
2017
- Q,
2016
+ /* @__PURE__ */ s(G, { grow: !1, children: /* @__PURE__ */ s(
2017
+ J,
2018
2018
  {
2019
2019
  iconType: ft,
2020
2020
  onClick: e.removeSelectedItems,
@@ -2022,8 +2022,8 @@ const Ni = C(
2022
2022
  children: "Remove"
2023
2023
  }
2024
2024
  ) }),
2025
- /* @__PURE__ */ s(J, { grow: !1, children: /* @__PURE__ */ s(
2026
- Q,
2025
+ /* @__PURE__ */ s(G, { grow: !1, children: /* @__PURE__ */ s(
2026
+ J,
2027
2027
  {
2028
2028
  iconType: fn,
2029
2029
  onClick: e.clear,
@@ -2031,16 +2031,16 @@ const Ni = C(
2031
2031
  children: "Clear"
2032
2032
  }
2033
2033
  ) }),
2034
- /* @__PURE__ */ s(J, { grow: !0 }),
2035
- /* @__PURE__ */ M(J, { grow: !1, children: [
2034
+ /* @__PURE__ */ s(G, { grow: !0 }),
2035
+ /* @__PURE__ */ D(G, { grow: !1, children: [
2036
2036
  !1,
2037
- /* @__PURE__ */ s(qt, { onSave: i })
2037
+ /* @__PURE__ */ s(Lt, { onSave: i })
2038
2038
  ] })
2039
2039
  ]
2040
2040
  }
2041
2041
  ),
2042
2042
  /* @__PURE__ */ s(
2043
- Gt,
2043
+ Ht,
2044
2044
  {
2045
2045
  size: "l",
2046
2046
  style: {
@@ -2056,12 +2056,12 @@ const Ni = C(
2056
2056
  {
2057
2057
  title: /* @__PURE__ */ s("h2", { children: "We couldn't find any videos" }),
2058
2058
  body: /* @__PURE__ */ s("p", { children: "Your video library doesn't contain any video content." }),
2059
- actions: /* @__PURE__ */ s(qt, { onSave: i })
2059
+ actions: /* @__PURE__ */ s(Lt, { onSave: i })
2060
2060
  }
2061
- ) : /* @__PURE__ */ s(Di, { playQueueStore: e })
2061
+ ) : /* @__PURE__ */ s(Fi, { playQueueStore: e })
2062
2062
  ] });
2063
2063
  }
2064
- ), it = new _n({
2064
+ ), it = new kn({
2065
2065
  coerceTypes: !0
2066
2066
  });
2067
2067
  function $i(e, t) {
@@ -2100,7 +2100,7 @@ const ji = {
2100
2100
  },
2101
2101
  repeat: {
2102
2102
  type: "string",
2103
- enum: Object.values(N),
2103
+ enum: Object.values(O),
2104
2104
  nullable: !0
2105
2105
  },
2106
2106
  shuffle: {
@@ -2118,36 +2118,36 @@ const ji = {
2118
2118
  }
2119
2119
  }
2120
2120
  };
2121
- class Le {
2121
+ class qe {
2122
2122
  constructor(t, r, i) {
2123
- this.observableStateProvider = t, this.playQueueStore = r, this.dto = i, this.id = Le.nextId++, t.makeObservable(this, {
2123
+ this.observableStateProvider = t, this.playQueueStore = r, this.dto = i, this.id = qe.nextId++, t.makeObservable(this, {
2124
2124
  isSelected: X,
2125
- isCurrent: _,
2126
- index: _,
2127
- isFirst: _,
2128
- isLast: _,
2129
- canMoveToTop: _,
2130
- canMoveToBottom: _,
2131
- canRemoveToTop: _,
2132
- canRemoveOthers: _,
2133
- unselect: v,
2134
- toggleSelected: v.bound,
2135
- play: v,
2136
- remove: v.bound,
2137
- playFirst: v.bound,
2138
- playNext: v.bound,
2139
- addToPlayQueue: v.bound,
2140
- moveToTop: v.bound,
2141
- moveToBottom: v.bound,
2142
- removeToTop: v.bound,
2143
- removeOthers: v.bound
2125
+ isCurrent: w,
2126
+ index: w,
2127
+ isFirst: w,
2128
+ isLast: w,
2129
+ canMoveToTop: w,
2130
+ canMoveToBottom: w,
2131
+ canRemoveToTop: w,
2132
+ canRemoveOthers: w,
2133
+ unselect: y,
2134
+ toggleSelected: y.bound,
2135
+ play: y,
2136
+ remove: y.bound,
2137
+ playFirst: y.bound,
2138
+ playNext: y.bound,
2139
+ addToPlayQueue: y.bound,
2140
+ moveToTop: y.bound,
2141
+ moveToBottom: y.bound,
2142
+ removeToTop: y.bound,
2143
+ removeOthers: y.bound
2144
2144
  });
2145
2145
  }
2146
2146
  static nextId = 1;
2147
2147
  id;
2148
2148
  isSelected = !1;
2149
2149
  static fromDto(t, r, i) {
2150
- return new Le(
2150
+ return new qe(
2151
2151
  t,
2152
2152
  r,
2153
2153
  i
@@ -2229,7 +2229,7 @@ class Le {
2229
2229
  return this.playQueueStore.removeOtherItems(this);
2230
2230
  }
2231
2231
  }
2232
- class qi {
2232
+ class Li {
2233
2233
  constructor(t) {
2234
2234
  this.observableStateProvider = t, t.makeObservable(this, {
2235
2235
  interacted: X,
@@ -2237,50 +2237,50 @@ class qi {
2237
2237
  currentId: X,
2238
2238
  repeat: X,
2239
2239
  shuffle: X,
2240
- localStorageState: _.struct,
2241
- isEmpty: _,
2242
- currentItem: _,
2243
- canPlay: _,
2244
- canPause: _,
2245
- hasMultipleItems: _,
2246
- currentIndex: _,
2247
- hasPreviousItem: _,
2248
- hasNextItem: _,
2249
- isLastItem: _,
2250
- selectedItems: _,
2251
- allItemsSelected: _,
2252
- selectedItemsOrAllItems: _,
2253
- setItems: v,
2254
- interact: v,
2255
- clear: v.bound,
2256
- unselectAll: v,
2257
- setCurrentItem: v,
2258
- setNextItems: v,
2259
- clearAndSetItems: v,
2260
- playNext: v,
2261
- playSelectedItemsNext: v.bound,
2262
- addItems: v,
2263
- addSelectedItems: v.bound,
2264
- playFirst: v,
2265
- moveItem: v,
2266
- goToFirst: v,
2267
- removeItems: v,
2268
- removeSelectedItems: v.bound,
2269
- removeOtherItems: v,
2270
- removeItemsAbove: v,
2271
- toggleRepeat: v.bound,
2272
- toggleShuffle: v.bound,
2273
- previous: v,
2274
- next: v.bound
2240
+ localStorageState: w.struct,
2241
+ isEmpty: w,
2242
+ currentItem: w,
2243
+ canPlay: w,
2244
+ canPause: w,
2245
+ hasMultipleItems: w,
2246
+ currentIndex: w,
2247
+ hasPreviousItem: w,
2248
+ hasNextItem: w,
2249
+ isLastItem: w,
2250
+ selectedItems: w,
2251
+ allItemsSelected: w,
2252
+ selectedItemsOrAllItems: w,
2253
+ setItems: y,
2254
+ interact: y,
2255
+ clear: y.bound,
2256
+ unselectAll: y,
2257
+ setCurrentItem: y,
2258
+ setNextItems: y,
2259
+ clearAndSetItems: y,
2260
+ playNext: y,
2261
+ playSelectedItemsNext: y.bound,
2262
+ addItems: y,
2263
+ addSelectedItems: y.bound,
2264
+ playFirst: y,
2265
+ moveItem: y,
2266
+ goToFirst: y,
2267
+ removeItems: y,
2268
+ removeSelectedItems: y.bound,
2269
+ removeOtherItems: y,
2270
+ removeItemsAbove: y,
2271
+ toggleRepeat: y.bound,
2272
+ toggleShuffle: y.bound,
2273
+ previous: y,
2274
+ next: y.bound
2275
2275
  });
2276
2276
  }
2277
2277
  interacted = !1;
2278
2278
  items = [];
2279
2279
  currentId;
2280
- repeat = N.Off;
2280
+ repeat = O.Off;
2281
2281
  shuffle = !1;
2282
2282
  createItem(t) {
2283
- return Le.fromDto(this.observableStateProvider, this, {
2283
+ return qe.fromDto(this.observableStateProvider, this, {
2284
2284
  url: t.url,
2285
2285
  type: t.type,
2286
2286
  videoId: t.videoId,
@@ -2297,7 +2297,7 @@ class qi {
2297
2297
  };
2298
2298
  }
2299
2299
  set localStorageState(t) {
2300
- this.repeat = t.repeat ?? N.Off, this.shuffle = t.shuffle ?? !1, this.items = t.items?.map((r) => this.createItem(r)) ?? [], this.currentIndex = t.currentIndex;
2300
+ this.repeat = t.repeat ?? O.Off, this.shuffle = t.shuffle ?? !1, this.items = t.items?.map((r) => this.createItem(r)) ?? [], this.currentIndex = t.currentIndex;
2301
2301
  }
2302
2302
  validateLocalStorageState(t) {
2303
2303
  return $i(
@@ -2435,14 +2435,14 @@ class qi {
2435
2435
  }
2436
2436
  toggleRepeat() {
2437
2437
  switch (this.repeat) {
2438
- case N.Off:
2439
- this.repeat = N.All;
2438
+ case O.Off:
2439
+ this.repeat = O.All;
2440
2440
  break;
2441
- case N.All:
2442
- this.repeat = N.One;
2441
+ case O.All:
2442
+ this.repeat = O.One;
2443
2443
  break;
2444
- case N.One:
2445
- this.repeat = N.Off;
2444
+ case O.One:
2445
+ this.repeat = O.Off;
2446
2446
  break;
2447
2447
  }
2448
2448
  }
@@ -2456,11 +2456,11 @@ class qi {
2456
2456
  this.currentIndex !== void 0 && this.hasNextItem && (this.interact(), this.currentIndex++);
2457
2457
  }
2458
2458
  }
2459
- const Ea = ({
2459
+ const Ta = ({
2460
2460
  children: e
2461
2461
  }) => {
2462
2462
  const [t] = z(
2463
- () => new qi(new er())
2463
+ () => new Li(new er())
2464
2464
  ), r = le();
2465
2465
  return Ut(() => $r(
2466
2466
  () => t.currentItem,
@@ -2468,12 +2468,12 @@ const Ea = ({
2468
2468
  i === void 0 || a === void 0 || i.type === a.type && i.videoId === a.videoId && await r.setCurrentTime(0);
2469
2469
  }
2470
2470
  ), [t, r]), /* @__PURE__ */ s(tr.Provider, { value: t, children: e });
2471
- }, Li = ({
2471
+ }, qi = ({
2472
2472
  breadcrumbs: e,
2473
2473
  tabs: t,
2474
2474
  ...r
2475
2475
  }) => {
2476
- const i = kn();
2476
+ const i = _n();
2477
2477
  return /* @__PURE__ */ s(
2478
2478
  dt.Header,
2479
2479
  {
@@ -2500,11 +2500,11 @@ const Ea = ({
2500
2500
  }))
2501
2501
  }
2502
2502
  );
2503
- }, Ra = () => {
2503
+ }, Ea = () => {
2504
2504
  const e = rr();
2505
- return /* @__PURE__ */ M(Ye, { children: [
2505
+ return /* @__PURE__ */ D(Qe, { children: [
2506
2506
  /* @__PURE__ */ s(
2507
- Li,
2507
+ qi,
2508
2508
  {
2509
2509
  pageTitle: "Play queue",
2510
2510
  rightSideItems: []
@@ -2512,48 +2512,48 @@ const Ea = ({
2512
2512
  ),
2513
2513
  /* @__PURE__ */ s(dt.Section, { children: /* @__PURE__ */ s(Ni, { playQueueStore: e }) })
2514
2514
  ] });
2515
- }, Vi = C(
2515
+ }, Vi = I(
2516
2516
  ({ bottomBarStore: e }) => /* @__PURE__ */ s(
2517
- W,
2517
+ Y,
2518
2518
  {
2519
2519
  title: `Shuffle: ${e.shuffle ? "On" : "Off"}`,
2520
2520
  "aria-label": `Shuffle: ${e.shuffle ? "On" : "Off"}`,
2521
- iconType: e.shuffle ? pn : yn,
2521
+ iconType: e.shuffle ? pn : hn,
2522
2522
  size: "s",
2523
2523
  iconSize: "l",
2524
2524
  onClick: e.toggleShuffle,
2525
2525
  disabled: !e.canToggleShuffle
2526
2526
  }
2527
2527
  )
2528
- ), Ui = C(
2528
+ ), Ui = I(
2529
2529
  ({ bottomBarStore: e }) => /* @__PURE__ */ s(
2530
- W,
2530
+ Y,
2531
2531
  {
2532
2532
  title: "Previous",
2533
2533
  "aria-label": "Previous",
2534
- iconType: hn,
2534
+ iconType: yn,
2535
2535
  size: "s",
2536
2536
  iconSize: "l",
2537
2537
  onClick: e.previous,
2538
2538
  disabled: !e.canPrevious
2539
2539
  }
2540
2540
  )
2541
- ), Yi = C(
2541
+ ), Qi = I(
2542
2542
  ({ bottomBarStore: e }) => /* @__PURE__ */ s(
2543
- W,
2543
+ Y,
2544
2544
  {
2545
2545
  title: "Skip back 10 seconds",
2546
2546
  "aria-label": "Skip back 10 seconds",
2547
- iconType: Kt,
2547
+ iconType: Bt,
2548
2548
  size: "s",
2549
2549
  iconSize: "l",
2550
2550
  onClick: e.skipBack10,
2551
2551
  disabled: !e.canSkipBack10
2552
2552
  }
2553
2553
  )
2554
- ), Wi = C(
2554
+ ), Yi = I(
2555
2555
  ({ bottomBarStore: e }) => /* @__PURE__ */ s(
2556
- W,
2556
+ Y,
2557
2557
  {
2558
2558
  title: "Pause",
2559
2559
  "aria-label": "Pause",
@@ -2564,9 +2564,9 @@ const Ea = ({
2564
2564
  disabled: !e.canPause
2565
2565
  }
2566
2566
  )
2567
- ), Hi = C(
2567
+ ), Wi = I(
2568
2568
  ({ bottomBarStore: e }) => /* @__PURE__ */ s(
2569
- W,
2569
+ Y,
2570
2570
  {
2571
2571
  title: "Play",
2572
2572
  "aria-label": "Play",
@@ -2577,22 +2577,22 @@ const Ea = ({
2577
2577
  disabled: !e.canPlay
2578
2578
  }
2579
2579
  )
2580
- ), Gi = C(
2580
+ ), Hi = I(
2581
2581
  ({ bottomBarStore: e }) => /* @__PURE__ */ s(
2582
- W,
2582
+ Y,
2583
2583
  {
2584
2584
  title: "Skip forward 30 seconds",
2585
2585
  "aria-label": "Skip forward 30 seconds",
2586
- iconType: Bt,
2586
+ iconType: Kt,
2587
2587
  size: "s",
2588
2588
  iconSize: "l",
2589
2589
  onClick: e.skipForward30,
2590
2590
  disabled: !e.canSkipForward30
2591
2591
  }
2592
2592
  )
2593
- ), Ji = C(
2593
+ ), Gi = I(
2594
2594
  ({ bottomBarStore: e }) => /* @__PURE__ */ s(
2595
- W,
2595
+ Y,
2596
2596
  {
2597
2597
  title: "Next",
2598
2598
  "aria-label": "Next",
@@ -2603,25 +2603,25 @@ const Ea = ({
2603
2603
  disabled: !e.canNext
2604
2604
  }
2605
2605
  )
2606
- ), Qi = {
2607
- [N.Off]: wn,
2608
- [N.All]: bn,
2609
- [N.One]: Pn
2610
- }, Ki = C(
2606
+ ), Ji = {
2607
+ [O.Off]: wn,
2608
+ [O.All]: bn,
2609
+ [O.One]: Pn
2610
+ }, Bi = I(
2611
2611
  ({ bottomBarStore: e }) => /* @__PURE__ */ s(
2612
- W,
2612
+ Y,
2613
2613
  {
2614
- title: `Repeat: ${e.repeat === N.All ? "All" : e.repeat === N.One ? "One" : "Off"}`,
2615
- "aria-label": `Repeat: ${e.repeat === N.All ? "All" : e.repeat === N.One ? "One" : "Off"}`,
2616
- iconType: Qi[e.repeat],
2614
+ title: `Repeat: ${e.repeat === O.All ? "All" : e.repeat === O.One ? "One" : "Off"}`,
2615
+ "aria-label": `Repeat: ${e.repeat === O.All ? "All" : e.repeat === O.One ? "One" : "Off"}`,
2616
+ iconType: Ji[e.repeat],
2617
2617
  size: "s",
2618
2618
  iconSize: "l",
2619
2619
  onClick: e.toggleRepeat,
2620
2620
  disabled: !e.canToggleRepeat
2621
2621
  }
2622
2622
  )
2623
- ), Bi = C(
2624
- ({ bottomBarStore: e }) => /* @__PURE__ */ M(
2623
+ ), Ki = I(
2624
+ ({ bottomBarStore: e }) => /* @__PURE__ */ D(
2625
2625
  oe,
2626
2626
  {
2627
2627
  responsive: !1,
@@ -2631,11 +2631,11 @@ const Ea = ({
2631
2631
  children: [
2632
2632
  /* @__PURE__ */ s(Vi, { bottomBarStore: e }),
2633
2633
  /* @__PURE__ */ s(Ui, { bottomBarStore: e }),
2634
- /* @__PURE__ */ s(Yi, { bottomBarStore: e }),
2635
- e.playing ? /* @__PURE__ */ s(Wi, { bottomBarStore: e }) : /* @__PURE__ */ s(Hi, { bottomBarStore: e }),
2634
+ /* @__PURE__ */ s(Qi, { bottomBarStore: e }),
2635
+ e.playing ? /* @__PURE__ */ s(Yi, { bottomBarStore: e }) : /* @__PURE__ */ s(Wi, { bottomBarStore: e }),
2636
+ /* @__PURE__ */ s(Hi, { bottomBarStore: e }),
2636
2637
  /* @__PURE__ */ s(Gi, { bottomBarStore: e }),
2637
- /* @__PURE__ */ s(Ji, { bottomBarStore: e }),
2638
- /* @__PURE__ */ s(Ki, { bottomBarStore: e })
2638
+ /* @__PURE__ */ s(Bi, { bottomBarStore: e })
2639
2639
  ]
2640
2640
  }
2641
2641
  )
@@ -2648,14 +2648,14 @@ const Ea = ({
2648
2648
  items: [
2649
2649
  {
2650
2650
  name: "Open in new tab",
2651
- icon: /* @__PURE__ */ s(Y, { type: Sn }),
2651
+ icon: /* @__PURE__ */ s(Q, { type: Sn }),
2652
2652
  onClick: async () => {
2653
2653
  t(), await r.pause(), window.open(e.dto.url, "_blank");
2654
2654
  }
2655
2655
  },
2656
2656
  {
2657
2657
  name: "Copy link address",
2658
- icon: /* @__PURE__ */ s(Y, { type: "" }),
2658
+ icon: /* @__PURE__ */ s(Q, { type: "" }),
2659
2659
  onClick: async () => {
2660
2660
  t(), await navigator.clipboard.writeText(
2661
2661
  e.dto.url
@@ -2664,7 +2664,7 @@ const Ea = ({
2664
2664
  },
2665
2665
  {
2666
2666
  name: "Copy link text",
2667
- icon: /* @__PURE__ */ s(Y, { type: "" }),
2667
+ icon: /* @__PURE__ */ s(Q, { type: "" }),
2668
2668
  onClick: async () => {
2669
2669
  t(), await navigator.clipboard.writeText(
2670
2670
  e.dto.title
@@ -2685,7 +2685,7 @@ const Ea = ({
2685
2685
  xe,
2686
2686
  {
2687
2687
  button: /* @__PURE__ */ s(
2688
- Yt,
2688
+ Qt,
2689
2689
  {
2690
2690
  iconType: fr[e.type],
2691
2691
  size: "s",
@@ -2707,7 +2707,7 @@ const Ea = ({
2707
2707
  }
2708
2708
  );
2709
2709
  }
2710
- ), ea = C(
2710
+ ), ea = I(
2711
2711
  ({ bottomBarStore: e }) => /* @__PURE__ */ s(
2712
2712
  oe,
2713
2713
  {
@@ -2718,9 +2718,9 @@ const Ea = ({
2718
2718
  children: e.currentItem && /* @__PURE__ */ s(Zi, { item: e.currentItem })
2719
2719
  }
2720
2720
  )
2721
- ), ta = C(
2721
+ ), ta = I(
2722
2722
  ({ bottomBarStore: e }) => /* @__PURE__ */ s(
2723
- W,
2723
+ Y,
2724
2724
  {
2725
2725
  title: "Mute",
2726
2726
  "aria-label": "Mute",
@@ -2730,7 +2730,7 @@ const Ea = ({
2730
2730
  disabled: !e.playerStore.controller.supports("setMuted")
2731
2731
  }
2732
2732
  )
2733
- ), ra = C(
2733
+ ), ra = I(
2734
2734
  ({
2735
2735
  bottomBarStore: e,
2736
2736
  button: t,
@@ -2756,7 +2756,7 @@ const Ea = ({
2756
2756
  isOpen: r,
2757
2757
  closePopover: i,
2758
2758
  anchorPosition: "upRight",
2759
- children: /* @__PURE__ */ s(at, { children: /* @__PURE__ */ M(
2759
+ children: /* @__PURE__ */ s(at, { children: /* @__PURE__ */ D(
2760
2760
  oe,
2761
2761
  {
2762
2762
  responsive: !1,
@@ -2766,7 +2766,7 @@ const Ea = ({
2766
2766
  children: [
2767
2767
  /* @__PURE__ */ s(ta, { bottomBarStore: e }),
2768
2768
  /* @__PURE__ */ s(
2769
- Jt,
2769
+ Gt,
2770
2770
  {
2771
2771
  min: 0,
2772
2772
  max: 100,
@@ -2785,7 +2785,7 @@ const Ea = ({
2785
2785
  }
2786
2786
  );
2787
2787
  }
2788
- ), na = C(
2788
+ ), na = I(
2789
2789
  ({ bottomBarStore: e }) => {
2790
2790
  const [t, r] = z(!1);
2791
2791
  return /* @__PURE__ */ s(
@@ -2793,7 +2793,7 @@ const Ea = ({
2793
2793
  {
2794
2794
  bottomBarStore: e,
2795
2795
  button: /* @__PURE__ */ s(
2796
- W,
2796
+ Y,
2797
2797
  {
2798
2798
  title: "Volume",
2799
2799
  "aria-label": "Volume",
@@ -2814,16 +2814,16 @@ const Ea = ({
2814
2814
  ), ia = ({
2815
2815
  onClickPlayQueueButton: e
2816
2816
  }) => /* @__PURE__ */ s(
2817
- W,
2817
+ Y,
2818
2818
  {
2819
2819
  title: "Play queue",
2820
2820
  "aria-label": "Play queue",
2821
- iconType: Rn,
2821
+ iconType: En,
2822
2822
  size: "s",
2823
2823
  iconSize: "l",
2824
2824
  onClick: e
2825
2825
  }
2826
- ), aa = C(
2826
+ ), aa = I(
2827
2827
  ({
2828
2828
  bottomBarStore: e,
2829
2829
  closePopover: t
@@ -2833,16 +2833,16 @@ const Ea = ({
2833
2833
  }, [e, t]), a = $(async () => {
2834
2834
  await e.skipForward30(), t();
2835
2835
  }, [e, t]), o = $(
2836
- async (w) => {
2837
- await r.setPlaybackRate(w), t();
2836
+ async (S) => {
2837
+ await r.setPlaybackRate(S), t();
2838
2838
  },
2839
2839
  [r, t]
2840
2840
  ), c = $(async () => {
2841
2841
  e.currentItem !== void 0 && await e.playQueueStore.removeItems([
2842
2842
  e.currentItem
2843
2843
  ]), t();
2844
- }, [e, t]), [f, p] = z(), m = $(async () => {
2845
- await e.playerStore.controller.getPlaybackRate().then((w) => p(w));
2844
+ }, [e, t]), [f, p] = z(), v = $(async () => {
2845
+ await e.playerStore.controller.getPlaybackRate().then((S) => p(S));
2846
2846
  }, [e]), P = Ve(
2847
2847
  () => [
2848
2848
  {
@@ -2850,22 +2850,22 @@ const Ea = ({
2850
2850
  items: [
2851
2851
  {
2852
2852
  name: "Speed",
2853
- icon: /* @__PURE__ */ s(Y, { type: En }),
2853
+ icon: /* @__PURE__ */ s(Q, { type: Tn }),
2854
2854
  panel: 1,
2855
- onClick: m,
2855
+ onClick: v,
2856
2856
  disabled: !e.playerStore.controller.supports(
2857
2857
  "getPlaybackRate"
2858
2858
  )
2859
2859
  },
2860
2860
  {
2861
2861
  name: "Skip back 10 seconds",
2862
- icon: /* @__PURE__ */ s(Y, { type: Kt }),
2862
+ icon: /* @__PURE__ */ s(Q, { type: Bt }),
2863
2863
  onClick: i,
2864
2864
  disabled: !e.canSkipBack10
2865
2865
  },
2866
2866
  {
2867
2867
  name: "Skip forward 30 seconds",
2868
- icon: /* @__PURE__ */ s(Y, { type: Bt }),
2868
+ icon: /* @__PURE__ */ s(Q, { type: Kt }),
2869
2869
  onClick: a,
2870
2870
  disabled: !e.canSkipForward30
2871
2871
  },
@@ -2874,7 +2874,7 @@ const Ea = ({
2874
2874
  },
2875
2875
  {
2876
2876
  name: "Remove from play queue",
2877
- icon: /* @__PURE__ */ s(Y, { type: ft }),
2877
+ icon: /* @__PURE__ */ s(Q, { type: ft }),
2878
2878
  onClick: c,
2879
2879
  disabled: e.playQueueStore.isEmpty
2880
2880
  }
@@ -2884,10 +2884,10 @@ const Ea = ({
2884
2884
  id: 1,
2885
2885
  title: "Speed",
2886
2886
  items: [0.25, 0.5, 0.75, 1, 1.25, 1.5, 1.75, 2].map(
2887
- (w) => ({
2888
- name: w.toString(),
2889
- onClick: () => o(w),
2890
- icon: w === f ? "check" : "empty",
2887
+ (S) => ({
2888
+ name: S.toString(),
2889
+ onClick: () => o(S),
2890
+ icon: S === f ? "check" : "empty",
2891
2891
  disabled: !e.playerStore.controller.supports(
2892
2892
  "setPlaybackRate"
2893
2893
  )
@@ -2897,7 +2897,7 @@ const Ea = ({
2897
2897
  ],
2898
2898
  [
2899
2899
  e,
2900
- m,
2900
+ v,
2901
2901
  i,
2902
2902
  a,
2903
2903
  c,
@@ -2938,11 +2938,11 @@ const Ea = ({
2938
2938
  {
2939
2939
  bottomBarStore: e,
2940
2940
  button: /* @__PURE__ */ s(
2941
- W,
2941
+ Y,
2942
2942
  {
2943
2943
  title: "More options",
2944
2944
  "aria-label": "More options",
2945
- iconType: Qt,
2945
+ iconType: Jt,
2946
2946
  size: "s",
2947
2947
  iconSize: "l",
2948
2948
  onClick: () => r(!t)
@@ -2957,7 +2957,7 @@ const Ea = ({
2957
2957
  ({
2958
2958
  bottomBarStore: e,
2959
2959
  onClickPlayQueueButton: t
2960
- }) => /* @__PURE__ */ M(
2960
+ }) => /* @__PURE__ */ D(
2961
2961
  oe,
2962
2962
  {
2963
2963
  responsive: !1,
@@ -2976,7 +2976,7 @@ const Ea = ({
2976
2976
  ]
2977
2977
  }
2978
2978
  )
2979
- ), ca = C(
2979
+ ), ca = I(
2980
2980
  ({ bottomBarStore: e }) => {
2981
2981
  const t = le(), r = $(
2982
2982
  (o) => {
@@ -3001,7 +3001,7 @@ const Ea = ({
3001
3001
  [e, t]
3002
3002
  );
3003
3003
  return /* @__PURE__ */ s(
3004
- Jt,
3004
+ Gt,
3005
3005
  {
3006
3006
  min: 0,
3007
3007
  max: 100,
@@ -3017,26 +3017,26 @@ const Ea = ({
3017
3017
  }
3018
3018
  );
3019
3019
  }
3020
- ), Ta = C(
3020
+ ), Ra = I(
3021
3021
  ({
3022
3022
  bottomBarStore: e,
3023
3023
  onClickPlayQueueButton: t
3024
- }) => /* @__PURE__ */ s(on, { paddingSize: "s", children: /* @__PURE__ */ M(oe, { direction: "column", gutterSize: "none", children: [
3025
- /* @__PURE__ */ s(J, { children: /* @__PURE__ */ s(ca, { bottomBarStore: e }) }),
3026
- /* @__PURE__ */ s(J, { children: /* @__PURE__ */ M(oe, { responsive: !1, children: [
3027
- /* @__PURE__ */ s(J, { css: { width: "calc(100% / 3)" }, children: /* @__PURE__ */ s(
3024
+ }) => /* @__PURE__ */ s(on, { paddingSize: "s", children: /* @__PURE__ */ D(oe, { direction: "column", gutterSize: "none", children: [
3025
+ /* @__PURE__ */ s(G, { children: /* @__PURE__ */ s(ca, { bottomBarStore: e }) }),
3026
+ /* @__PURE__ */ s(G, { children: /* @__PURE__ */ D(oe, { responsive: !1, children: [
3027
+ /* @__PURE__ */ s(G, { css: { width: "calc(100% / 3)" }, children: /* @__PURE__ */ s(
3028
3028
  ea,
3029
3029
  {
3030
3030
  bottomBarStore: e
3031
3031
  }
3032
3032
  ) }),
3033
- /* @__PURE__ */ s(J, { css: { width: "calc(100% / 3)" }, children: /* @__PURE__ */ s(
3034
- Bi,
3033
+ /* @__PURE__ */ s(G, { css: { width: "calc(100% / 3)" }, children: /* @__PURE__ */ s(
3034
+ Ki,
3035
3035
  {
3036
3036
  bottomBarStore: e
3037
3037
  }
3038
3038
  ) }),
3039
- /* @__PURE__ */ s(J, { css: { width: "calc(100% / 3)" }, children: /* @__PURE__ */ s(
3039
+ /* @__PURE__ */ s(G, { css: { width: "calc(100% / 3)" }, children: /* @__PURE__ */ s(
3040
3040
  la,
3041
3041
  {
3042
3042
  bottomBarStore: e,
@@ -3048,10 +3048,10 @@ const Ea = ({
3048
3048
  ), Ca = (e) => /* @__PURE__ */ s(Cn, { ...e }), lt = {
3049
3049
  width: 400,
3050
3050
  height: 225
3051
- }, Ia = C(
3051
+ }, Ia = I(
3052
3052
  ({ children: e }) => {
3053
3053
  const t = rr();
3054
- return /* @__PURE__ */ M(
3054
+ return /* @__PURE__ */ D(
3055
3055
  dt,
3056
3056
  {
3057
3057
  panelled: !0,
@@ -3060,12 +3060,12 @@ const Ea = ({
3060
3060
  },
3061
3061
  children: [
3062
3062
  e,
3063
- !t.isEmpty && /* @__PURE__ */ s(Gt, { style: { blockSize: lt.height } })
3063
+ !t.isEmpty && /* @__PURE__ */ s(Ht, { style: { blockSize: lt.height } })
3064
3064
  ]
3065
3065
  }
3066
3066
  );
3067
3067
  }
3068
- ), xa = C(
3068
+ ), xa = I(
3069
3069
  ({ miniPlayerStore: e }) => {
3070
3070
  const t = Ve(
3071
3071
  () => ({
@@ -3114,14 +3114,14 @@ class ua {
3114
3114
  playing: X,
3115
3115
  percent: X,
3116
3116
  seeking: X,
3117
- setPlaying: v,
3118
- setPercent: v,
3119
- setSeeking: v,
3120
- onControllerChange: v.bound,
3121
- onPlay: v.bound,
3122
- onPause: v.bound,
3123
- onEnded: v.bound,
3124
- onTimeUpdate: v.bound
3117
+ setPlaying: y,
3118
+ setPercent: y,
3119
+ setSeeking: y,
3120
+ onControllerChange: y.bound,
3121
+ onPlay: y.bound,
3122
+ onPause: y.bound,
3123
+ onEnded: y.bound,
3124
+ onTimeUpdate: y.bound
3125
3125
  });
3126
3126
  }
3127
3127
  setPlaying(t) {
@@ -3156,22 +3156,171 @@ const pr = Vt(void 0), Oa = ({
3156
3156
  () => new ua(new er())
3157
3157
  );
3158
3158
  return /* @__PURE__ */ s(pr.Provider, { value: t, children: e });
3159
- }, _a = () => ct(pr);
3159
+ }, ka = () => ct(pr);
3160
+ class _a {
3161
+ constructor(t, r, i, a) {
3162
+ this.playerStore = r, this.playQueueStore = i, this.diva = a, t.makeObservable(this, {
3163
+ playing: w,
3164
+ currentItem: w,
3165
+ repeat: w,
3166
+ shuffle: w,
3167
+ canToggleRepeat: w,
3168
+ canToggleShuffle: w,
3169
+ canPlay: w,
3170
+ canPause: w,
3171
+ canPrevious: w,
3172
+ canNext: w,
3173
+ canSkipBack10: w,
3174
+ canSkipForward30: w,
3175
+ toggleRepeat: y.bound,
3176
+ toggleShuffle: y.bound,
3177
+ play: y.bound,
3178
+ pause: y.bound,
3179
+ previous: y.bound,
3180
+ next: y.bound,
3181
+ skipBack10: y.bound,
3182
+ skipForward30: y.bound
3183
+ });
3184
+ }
3185
+ get playing() {
3186
+ return this.playerStore.playing;
3187
+ }
3188
+ get currentItem() {
3189
+ return this.playQueueStore.currentItem;
3190
+ }
3191
+ get repeat() {
3192
+ return this.playQueueStore.repeat;
3193
+ }
3194
+ get shuffle() {
3195
+ return this.playQueueStore.shuffle;
3196
+ }
3197
+ get canToggleRepeat() {
3198
+ return !0;
3199
+ }
3200
+ get canToggleShuffle() {
3201
+ return !1;
3202
+ }
3203
+ get canPlay() {
3204
+ return this.playQueueStore.canPlay && this.playerStore.controller.supports("play");
3205
+ }
3206
+ get canPause() {
3207
+ return this.playQueueStore.canPause && this.playerStore.controller.supports("pause");
3208
+ }
3209
+ get canPrevious() {
3210
+ return !this.playQueueStore.isEmpty;
3211
+ }
3212
+ get canNext() {
3213
+ return this.playQueueStore.hasNextItem;
3214
+ }
3215
+ get canSkipBack10() {
3216
+ return !this.playQueueStore.isEmpty && this.playerStore.controller.supports("setCurrentTime");
3217
+ }
3218
+ get canSkipForward30() {
3219
+ return !this.playQueueStore.isEmpty && this.playerStore.controller.supports("setCurrentTime");
3220
+ }
3221
+ toggleRepeat() {
3222
+ this.playQueueStore.toggleRepeat();
3223
+ }
3224
+ toggleShuffle() {
3225
+ this.playQueueStore.toggleShuffle();
3226
+ }
3227
+ play() {
3228
+ return this.diva.play();
3229
+ }
3230
+ pause() {
3231
+ return this.diva.pause();
3232
+ }
3233
+ async previous() {
3234
+ if (this.playQueueStore.hasPreviousItem) {
3235
+ const t = await this.diva.getCurrentTime();
3236
+ t === void 0 || t < 5 ? await this.playQueueStore.previous() : await this.diva.setCurrentTime(0);
3237
+ } else
3238
+ await this.diva.setCurrentTime(0);
3239
+ }
3240
+ next() {
3241
+ return this.playQueueStore.next();
3242
+ }
3243
+ async skipBack10() {
3244
+ const t = await this.diva.getCurrentTime();
3245
+ t !== void 0 && await this.diva.setCurrentTime(t - 10);
3246
+ }
3247
+ async skipForward30() {
3248
+ const t = await this.diva.getCurrentTime();
3249
+ t !== void 0 && await this.diva.setCurrentTime(t + 30);
3250
+ }
3251
+ }
3252
+ class Aa {
3253
+ constructor(t, r, i, a) {
3254
+ this.playerStore = r, this.playQueueStore = i, this.diva = a, t.makeObservable(this, {
3255
+ currentItem: w,
3256
+ onLoaded: y.bound,
3257
+ onPlay: y.bound,
3258
+ onPause: y.bound,
3259
+ onEnded: y.bound,
3260
+ onTimeUpdate: y.bound,
3261
+ onControllerChange: y.bound
3262
+ });
3263
+ }
3264
+ get currentItem() {
3265
+ return this.playQueueStore.currentItem;
3266
+ }
3267
+ async onLoaded() {
3268
+ this.playQueueStore.interacted && await this.diva.play();
3269
+ }
3270
+ onPlay() {
3271
+ this.playerStore.onPlay();
3272
+ }
3273
+ onPause() {
3274
+ this.playerStore.onPause();
3275
+ }
3276
+ async onEnded() {
3277
+ switch (this.playQueueStore.repeat) {
3278
+ case O.One:
3279
+ await this.diva.setCurrentTime(0);
3280
+ break;
3281
+ case O.Off:
3282
+ case O.All:
3283
+ if (this.playQueueStore.isLastItem)
3284
+ switch (this.playQueueStore.repeat) {
3285
+ case O.Off:
3286
+ this.playerStore.onEnded();
3287
+ break;
3288
+ case O.All:
3289
+ this.playQueueStore.hasMultipleItems ? await this.playQueueStore.goToFirst() : await this.diva.setCurrentTime(0);
3290
+ break;
3291
+ }
3292
+ else
3293
+ await this.playQueueStore.next();
3294
+ break;
3295
+ }
3296
+ }
3297
+ onTimeUpdate(t) {
3298
+ this.playerStore.onTimeUpdate(t);
3299
+ }
3300
+ onControllerChange(t) {
3301
+ this.playerStore.onControllerChange(t);
3302
+ }
3303
+ }
3160
3304
  export {
3161
- Ta as BottomBar,
3305
+ Ra as BottomBar,
3306
+ _a as BottomBarStore,
3162
3307
  Ca as HydrangeanDivaProvider,
3163
3308
  Ia as MediaPlayerLayout,
3164
3309
  xa as MiniPlayer,
3310
+ Aa as MiniPlayerStore,
3165
3311
  er as MobXObservableStateProvider,
3166
3312
  Sa as ObservableStateProvider,
3167
3313
  Ni as PlayQueue,
3168
- Ra as PlayQueuePage,
3314
+ qe as PlayQueueItemStore,
3315
+ Ea as PlayQueuePage,
3316
+ Li as PlayQueueStore,
3169
3317
  tr as PlayQueueStoreContext,
3170
- Ea as PlayQueueStoreProvider,
3318
+ Ta as PlayQueueStoreProvider,
3319
+ ua as PlayerStore,
3171
3320
  Oa as PlayerStoreProvider,
3172
- N as RepeatMode,
3321
+ O as RepeatMode,
3173
3322
  Zt as bottomBarHeight,
3174
3323
  rr as usePlayQueueStore,
3175
- _a as usePlayerStore
3324
+ ka as usePlayerStore
3176
3325
  };
3177
3326
  //# sourceMappingURL=index.es.js.map