@aigamo/hydrangean-diva 0.0.1-alpha.7 → 0.0.1-alpha.8

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