@aigamo/hydrangean-diva 0.0.1-alpha.15 → 0.0.1-alpha.16

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
@@ -5,19 +5,19 @@ import { makeObservable as wr, action as y, computed as A, observable as Z, reac
5
5
  import * as te from "react";
6
6
  import Dt, { forwardRef as _r, useContext as ot, memo as me, useState as q, useCallback as D, useMemo as at, createContext as zt, useEffect as Ar, useLayoutEffect as kr } from "react";
7
7
  import Mr from "@emotion/cache";
8
- import { useNostalgicDiva as ne, findVideoService as Fr, NostalgicDiva as jr, nullPlayerController as Nr } from "@aigamo/nostalgic-diva";
9
- import { EuiButton as re, useGeneratedHtmlId as $r, EuiModalHeaderTitle as Dr, EuiModalHeader as zr, EuiForm as Lr, EuiFormRow as et, EuiFieldText as Rt, EuiModalBody as Vr, EuiModalFooter as Yr, EuiButtonEmpty as Lt, EuiModal as Br, useEuiTheme as Vt, EuiCheckbox as Yt, EuiTableHeaderCellCheckbox as Wr, EuiTableHeader as Ur, EuiTableRowCell as tt, EuiTableRowCellCheckbox as qr, EuiLink as Gr, EuiTableRow as Hr, EuiTable as Jr, EuiButtonIcon as H, EuiPopover as st, EuiIcon as G, EuiContextMenu as Bt, EuiTableHeaderCell as Ke, EuiCodeBlock as Kr, EuiFlyout as Xr, EuiFlexGroup as se, EuiFlexItem as J, EuiSpacer as Wt, EuiEmptyPrompt as Zr, EuiRange as Ut, EuiBottomBar as Qr, EuiPageTemplate as en } from "@elastic/eui";
10
- import { AddRegular as lt, PlayRegular as tn, DismissRegular as ct, MoreHorizontalFilled as qt, ArrowUploadRegular as rn, ArrowDownloadRegular as nn, WindowDevToolsRegular as on, DeleteRegular as an, ArrowRepeat1Filled as sn, ArrowRepeatAllFilled as ln, ArrowRepeatAllOffFilled as cn, ArrowShuffleFilled as un, ArrowShuffleOffFilled as dn, PreviousFilled as fn, PauseFilled as mn, PlayFilled as hn, NextFilled as vn, Speaker2Regular as Gt, TopSpeedRegular as pn, SkipBack10Regular as yn, SkipForward30Regular as gn, NavigationPlayRegular as bn } from "@fluentui/react-icons";
8
+ import { useNostalgicDiva as ne, findVideoService as Fr, NostalgicDivaProvider as jr, NostalgicDiva as Nr, nullPlayerController as $r } from "@aigamo/nostalgic-diva";
9
+ import { EuiButton as re, useGeneratedHtmlId as Dr, EuiModalHeaderTitle as zr, EuiModalHeader as Lr, EuiForm as Vr, EuiFormRow as et, EuiFieldText as Rt, EuiModalBody as Yr, EuiModalFooter as Br, EuiButtonEmpty as Lt, EuiModal as Wr, useEuiTheme as Vt, EuiCheckbox as Yt, EuiTableHeaderCellCheckbox as Ur, EuiTableHeader as qr, EuiTableRowCell as tt, EuiTableRowCellCheckbox as Hr, EuiLink as Gr, EuiTableRow as Jr, EuiTable as Kr, EuiButtonIcon as G, EuiPopover as st, EuiIcon as H, EuiContextMenu as Bt, EuiTableHeaderCell as Ke, EuiCodeBlock as Xr, EuiFlyout as Zr, EuiFlexGroup as se, EuiFlexItem as J, EuiSpacer as Wt, EuiEmptyPrompt as Qr, EuiRange as Ut, EuiBottomBar as en, EuiPageTemplate as tn } from "@elastic/eui";
10
+ import { AddRegular as lt, PlayRegular as rn, DismissRegular as ct, MoreHorizontalFilled as qt, ArrowUploadRegular as nn, ArrowDownloadRegular as on, WindowDevToolsRegular as an, DeleteRegular as sn, ArrowRepeat1Filled as ln, ArrowRepeatAllFilled as cn, ArrowRepeatAllOffFilled as un, ArrowShuffleFilled as dn, ArrowShuffleOffFilled as fn, PreviousFilled as mn, PauseFilled as hn, PlayFilled as vn, NextFilled as pn, Speaker2Regular as Ht, TopSpeedRegular as yn, SkipBack10Regular as gn, SkipForward30Regular as bn, NavigationPlayRegular as En } from "@fluentui/react-icons";
11
11
  import { observer as N } from "mobx-react-lite";
12
- import { ReactSortable as En } from "react-sortablejs";
12
+ import { ReactSortable as Tn } from "react-sortablejs";
13
13
  import { pull as St } from "lodash-es";
14
- import Tn from "ajv";
15
- class Ht {
14
+ import xn from "ajv";
15
+ class Gt {
16
16
  makeObservable(e, n) {
17
17
  return wr(e, n);
18
18
  }
19
19
  }
20
- class Ai {
20
+ class ki {
21
21
  makeObservable(e, n) {
22
22
  return e;
23
23
  }
@@ -33,7 +33,7 @@ var $e = { exports: {} }, xe = {};
33
33
  * LICENSE file in the root directory of this source tree.
34
34
  */
35
35
  var Pt;
36
- function xn() {
36
+ function Cn() {
37
37
  if (Pt) return xe;
38
38
  Pt = 1;
39
39
  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 };
@@ -57,7 +57,7 @@ var Ce = {};
57
57
  * LICENSE file in the root directory of this source tree.
58
58
  */
59
59
  var wt;
60
- function Cn() {
60
+ function In() {
61
61
  return wt || (wt = 1, process.env.NODE_ENV !== "production" && (function() {
62
62
  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"), d = Symbol.for("react.provider"), h = Symbol.for("react.context"), m = Symbol.for("react.forward_ref"), p = Symbol.for("react.suspense"), E = Symbol.for("react.suspense_list"), S = Symbol.for("react.memo"), I = Symbol.for("react.lazy"), $ = Symbol.for("react.offscreen"), k = Symbol.iterator, W = "@@iterator";
63
63
  function Q(r) {
@@ -489,9 +489,9 @@ function Cn() {
489
489
  } else
490
490
  gt.setExtraStackFrame(null);
491
491
  }
492
- var Ge;
493
- Ge = !1;
494
- function He(r) {
492
+ var He;
493
+ He = !1;
494
+ function Ge(r) {
495
495
  return typeof r == "object" && r !== null && r.$$typeof === e;
496
496
  }
497
497
  function bt() {
@@ -542,15 +542,15 @@ Check the top-level render call using <` + u + ">.");
542
542
  if (Ue(r))
543
543
  for (var u = 0; u < r.length; u++) {
544
544
  var v = r[u];
545
- He(v) && Tt(v, s);
545
+ Ge(v) && Tt(v, s);
546
546
  }
547
- else if (He(r))
547
+ else if (Ge(r))
548
548
  r._store && (r._store.validated = !0);
549
549
  else if (r) {
550
550
  var T = Q(r);
551
551
  if (typeof T == "function" && T !== r.entries)
552
552
  for (var R = T.call(r), b; !(b = R.next()).done; )
553
- He(b.value) && Tt(b.value, s);
553
+ Ge(b.value) && Tt(b.value, s);
554
554
  }
555
555
  }
556
556
  }
@@ -571,8 +571,8 @@ Check the top-level render call using <` + u + ">.");
571
571
  if (u) {
572
572
  var v = K(s);
573
573
  ir(u, r.props, "prop", v, r);
574
- } else if (s.PropTypes !== void 0 && !Ge) {
575
- Ge = !0;
574
+ } else if (s.PropTypes !== void 0 && !He) {
575
+ He = !0;
576
576
  var T = K(s);
577
577
  P("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", T || "Unknown");
578
578
  }
@@ -647,10 +647,10 @@ React keys must be passed directly to JSX without using spread:
647
647
  })()), Ce;
648
648
  }
649
649
  var Ot;
650
- function In() {
651
- return Ot || (Ot = 1, process.env.NODE_ENV === "production" ? $e.exports = xn() : $e.exports = Cn()), $e.exports;
650
+ function Rn() {
651
+ return Ot || (Ot = 1, process.env.NODE_ENV === "production" ? $e.exports = Cn() : $e.exports = In()), $e.exports;
652
652
  }
653
- var Re = In(), De = { exports: {} }, x = {};
653
+ var Re = Rn(), De = { exports: {} }, x = {};
654
654
  /** @license React v16.13.1
655
655
  * react-is.production.min.js
656
656
  *
@@ -660,7 +660,7 @@ var Re = In(), De = { exports: {} }, x = {};
660
660
  * LICENSE file in the root directory of this source tree.
661
661
  */
662
662
  var _t;
663
- function Rn() {
663
+ function Sn() {
664
664
  if (_t) return x;
665
665
  _t = 1;
666
666
  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, d = t ? Symbol.for("react.provider") : 60109, h = t ? Symbol.for("react.context") : 60110, m = t ? Symbol.for("react.async_mode") : 60111, p = t ? Symbol.for("react.concurrent_mode") : 60111, E = t ? Symbol.for("react.forward_ref") : 60112, S = t ? Symbol.for("react.suspense") : 60113, I = t ? Symbol.for("react.suspense_list") : 60120, $ = t ? Symbol.for("react.memo") : 60115, k = t ? Symbol.for("react.lazy") : 60116, W = t ? Symbol.for("react.block") : 60121, Q = t ? Symbol.for("react.fundamental") : 60117, L = t ? Symbol.for("react.responder") : 60118, P = t ? Symbol.for("react.scope") : 60119;
@@ -735,7 +735,7 @@ var C = {};
735
735
  * LICENSE file in the root directory of this source tree.
736
736
  */
737
737
  var At;
738
- function Sn() {
738
+ function Pn() {
739
739
  return At || (At = 1, process.env.NODE_ENV !== "production" && (function() {
740
740
  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, d = t ? Symbol.for("react.provider") : 60109, h = t ? Symbol.for("react.context") : 60110, m = t ? Symbol.for("react.async_mode") : 60111, p = t ? Symbol.for("react.concurrent_mode") : 60111, E = t ? Symbol.for("react.forward_ref") : 60112, S = t ? Symbol.for("react.suspense") : 60113, I = t ? Symbol.for("react.suspense_list") : 60120, $ = t ? Symbol.for("react.memo") : 60115, k = t ? Symbol.for("react.lazy") : 60116, W = t ? Symbol.for("react.block") : 60121, Q = t ? Symbol.for("react.fundamental") : 60117, L = t ? Symbol.for("react.responder") : 60118, P = t ? Symbol.for("react.scope") : 60119;
741
741
  function M(f) {
@@ -818,14 +818,14 @@ function Sn() {
818
818
  })()), C;
819
819
  }
820
820
  var kt;
821
- function Pn() {
822
- return kt || (kt = 1, process.env.NODE_ENV === "production" ? De.exports = Rn() : De.exports = Sn()), De.exports;
821
+ function wn() {
822
+ return kt || (kt = 1, process.env.NODE_ENV === "production" ? De.exports = Sn() : De.exports = Pn()), De.exports;
823
823
  }
824
824
  var Xe, Mt;
825
- function wn() {
825
+ function On() {
826
826
  if (Mt) return Xe;
827
827
  Mt = 1;
828
- var t = Pn(), e = {
828
+ var t = wn(), e = {
829
829
  childContextTypes: !0,
830
830
  contextType: !0,
831
831
  contextTypes: !0,
@@ -887,9 +887,9 @@ function wn() {
887
887
  }
888
888
  return Xe = $, Xe;
889
889
  }
890
- wn();
891
- var On = !0;
892
- function _n(t, e, n) {
890
+ On();
891
+ var _n = !0;
892
+ function An(t, e, n) {
893
893
  var i = "";
894
894
  return n.split(" ").forEach(function(a) {
895
895
  t[a] !== void 0 ? e.push(t[a] + ";") : a && (i += a + " ");
@@ -906,8 +906,8 @@ var Jt = function(e, n, i) {
906
906
  // in node since emotion-server relies on whether a style is in
907
907
  // the registered cache to know whether a style is global or not
908
908
  // also, note that this check will be dead code eliminated in the browser
909
- On === !1) && e.registered[a] === void 0 && (e.registered[a] = n.styles);
910
- }, An = function(e, n, i) {
909
+ _n === !1) && e.registered[a] === void 0 && (e.registered[a] = n.styles);
910
+ }, kn = function(e, n, i) {
911
911
  Jt(e, n, i);
912
912
  var a = e.key + "-" + n.name;
913
913
  if (e.inserted[n.name] === void 0) {
@@ -917,7 +917,7 @@ var Jt = function(e, n, i) {
917
917
  while (l !== void 0);
918
918
  }
919
919
  };
920
- function kn(t) {
920
+ function Mn(t) {
921
921
  for (var e = 0, n, i = 0, a = t.length; a >= 4; ++i, a -= 4)
922
922
  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): */
923
923
  (n & 65535) * 1540483477 + ((n >>> 16) * 59797 << 16), n ^= /* k >>> r: */
@@ -936,7 +936,7 @@ function kn(t) {
936
936
  return e ^= e >>> 13, e = /* Math.imul(h, m): */
937
937
  (e & 65535) * 1540483477 + ((e >>> 16) * 59797 << 16), ((e ^ e >>> 15) >>> 0).toString(36);
938
938
  }
939
- var Mn = {
939
+ var Fn = {
940
940
  animationIterationCount: 1,
941
941
  aspectRatio: 1,
942
942
  borderImageOutset: 1,
@@ -986,24 +986,24 @@ var Mn = {
986
986
  strokeOpacity: 1,
987
987
  strokeWidth: 1
988
988
  };
989
- function Fn(t) {
989
+ function jn(t) {
990
990
  var e = /* @__PURE__ */ Object.create(null);
991
991
  return function(n) {
992
992
  return e[n] === void 0 && (e[n] = t(n)), e[n];
993
993
  };
994
994
  }
995
- var jn = /[A-Z]|^ms/g, Nn = /_EMO_([^_]+?)_([^]*?)_EMO_/g, Kt = function(e) {
995
+ var Nn = /[A-Z]|^ms/g, $n = /_EMO_([^_]+?)_([^]*?)_EMO_/g, Kt = function(e) {
996
996
  return e.charCodeAt(1) === 45;
997
997
  }, Ft = function(e) {
998
998
  return e != null && typeof e != "boolean";
999
- }, Ze = /* @__PURE__ */ Fn(function(t) {
1000
- return Kt(t) ? t : t.replace(jn, "-$&").toLowerCase();
999
+ }, Ze = /* @__PURE__ */ jn(function(t) {
1000
+ return Kt(t) ? t : t.replace(Nn, "-$&").toLowerCase();
1001
1001
  }), jt = function(e, n) {
1002
1002
  switch (e) {
1003
1003
  case "animation":
1004
1004
  case "animationName":
1005
1005
  if (typeof n == "string")
1006
- return n.replace(Nn, function(i, a, l) {
1006
+ return n.replace($n, function(i, a, l) {
1007
1007
  return X = {
1008
1008
  name: a,
1009
1009
  styles: l,
@@ -1011,7 +1011,7 @@ var jn = /[A-Z]|^ms/g, Nn = /_EMO_([^_]+?)_([^]*?)_EMO_/g, Kt = function(e) {
1011
1011
  }, a;
1012
1012
  });
1013
1013
  }
1014
- return Mn[e] !== 1 && !Kt(e) && typeof n == "number" && n !== 0 ? n + "px" : n;
1014
+ return Fn[e] !== 1 && !Kt(e) && typeof n == "number" && n !== 0 ? n + "px" : n;
1015
1015
  };
1016
1016
  function Se(t, e, n) {
1017
1017
  if (n == null)
@@ -1043,7 +1043,7 @@ function Se(t, e, n) {
1043
1043
  var h = l.styles + ";";
1044
1044
  return h;
1045
1045
  }
1046
- return $n(t, e, n);
1046
+ return Dn(t, e, n);
1047
1047
  }
1048
1048
  case "function": {
1049
1049
  if (t !== void 0) {
@@ -1056,7 +1056,7 @@ function Se(t, e, n) {
1056
1056
  var E = n;
1057
1057
  return E;
1058
1058
  }
1059
- function $n(t, e, n) {
1059
+ function Dn(t, e, n) {
1060
1060
  var i = "";
1061
1061
  if (Array.isArray(n))
1062
1062
  for (var a = 0; a < n.length; a++)
@@ -1086,7 +1086,7 @@ function $n(t, e, n) {
1086
1086
  return i;
1087
1087
  }
1088
1088
  var Nt = /label:\s*([^\s;{]+)\s*(;|$)/g, X;
1089
- function Dn(t, e, n) {
1089
+ function zn(t, e, n) {
1090
1090
  if (t.length === 1 && typeof t[0] == "object" && t[0] !== null && t[0].styles !== void 0)
1091
1091
  return t[0];
1092
1092
  var i = !0, a = "";
@@ -1106,16 +1106,16 @@ function Dn(t, e, n) {
1106
1106
  Nt.lastIndex = 0;
1107
1107
  for (var p = "", E; (E = Nt.exec(a)) !== null; )
1108
1108
  p += "-" + E[1];
1109
- var S = kn(a) + p;
1109
+ var S = Mn(a) + p;
1110
1110
  return {
1111
1111
  name: S,
1112
1112
  styles: a,
1113
1113
  next: X
1114
1114
  };
1115
1115
  }
1116
- var zn = function(e) {
1116
+ var Ln = function(e) {
1117
1117
  return e();
1118
- }, Ln = te.useInsertionEffect ? te.useInsertionEffect : !1, Vn = Ln || zn, Xt = /* @__PURE__ */ te.createContext(
1118
+ }, Vn = te.useInsertionEffect ? te.useInsertionEffect : !1, Yn = Vn || Ln, Xt = /* @__PURE__ */ te.createContext(
1119
1119
  // we're doing this to avoid preconstruct's dead code elimination in this one case
1120
1120
  // because this module is primarily intended for the browser and node
1121
1121
  // but it's also required in react native and similar environments sometimes
@@ -1127,50 +1127,50 @@ var zn = function(e) {
1127
1127
  }) : null
1128
1128
  );
1129
1129
  Xt.Provider;
1130
- var Yn = function(e) {
1130
+ var Bn = function(e) {
1131
1131
  return /* @__PURE__ */ _r(function(n, i) {
1132
1132
  var a = ot(Xt);
1133
1133
  return e(n, a, i);
1134
1134
  });
1135
- }, Bn = /* @__PURE__ */ te.createContext({}), ze = {}.hasOwnProperty, rt = "__EMOTION_TYPE_PLEASE_DO_NOT_USE__", Zt = function(e, n) {
1135
+ }, Wn = /* @__PURE__ */ te.createContext({}), ze = {}.hasOwnProperty, rt = "__EMOTION_TYPE_PLEASE_DO_NOT_USE__", Zt = function(e, n) {
1136
1136
  var i = {};
1137
1137
  for (var a in n)
1138
1138
  ze.call(n, a) && (i[a] = n[a]);
1139
1139
  return i[rt] = e, i;
1140
- }, Wn = function(e) {
1140
+ }, Un = function(e) {
1141
1141
  var n = e.cache, i = e.serialized, a = e.isStringTag;
1142
- return Jt(n, i, a), Vn(function() {
1143
- return An(n, i, a);
1142
+ return Jt(n, i, a), Yn(function() {
1143
+ return kn(n, i, a);
1144
1144
  }), null;
1145
- }, Un = /* @__PURE__ */ Yn(function(t, e, n) {
1145
+ }, qn = /* @__PURE__ */ Bn(function(t, e, n) {
1146
1146
  var i = t.css;
1147
1147
  typeof i == "string" && e.registered[i] !== void 0 && (i = e.registered[i]);
1148
1148
  var a = t[rt], l = [i], d = "";
1149
- typeof t.className == "string" ? d = _n(e.registered, l, t.className) : t.className != null && (d = t.className + " ");
1150
- var h = Dn(l, void 0, te.useContext(Bn));
1149
+ typeof t.className == "string" ? d = An(e.registered, l, t.className) : t.className != null && (d = t.className + " ");
1150
+ var h = zn(l, void 0, te.useContext(Wn));
1151
1151
  d += e.key + "-" + h.name;
1152
1152
  var m = {};
1153
1153
  for (var p in t)
1154
1154
  ze.call(t, p) && p !== "css" && p !== rt && (m[p] = t[p]);
1155
- return m.className = d, n && (m.ref = n), /* @__PURE__ */ te.createElement(te.Fragment, null, /* @__PURE__ */ te.createElement(Wn, {
1155
+ return m.className = d, n && (m.ref = n), /* @__PURE__ */ te.createElement(te.Fragment, null, /* @__PURE__ */ te.createElement(Un, {
1156
1156
  cache: e,
1157
1157
  serialized: h,
1158
1158
  isStringTag: typeof a == "string"
1159
1159
  }), /* @__PURE__ */ te.createElement(a, m));
1160
- }), Qt = Un, ut = Re.Fragment, o = function(e, n, i) {
1160
+ }), Qt = qn, ut = Re.Fragment, o = function(e, n, i) {
1161
1161
  return ze.call(n, "css") ? Re.jsx(Qt, Zt(e, n), i) : Re.jsx(e, n, i);
1162
1162
  }, j = function(e, n, i) {
1163
1163
  return ze.call(n, "css") ? Re.jsxs(Qt, Zt(e, n), i) : Re.jsxs(e, n, i);
1164
1164
  };
1165
- const qn = ({
1165
+ const Hn = ({
1166
1166
  onCancel: t,
1167
1167
  onSave: e
1168
1168
  }) => {
1169
- const n = $r({ prefix: "modalForm" }), [i, a] = q(""), [l, d] = q(""), [h, m] = q(!1);
1170
- return /* @__PURE__ */ j(Br, { onClose: t, initialFocus: "[name=url]", children: [
1171
- /* @__PURE__ */ o(zr, { children: /* @__PURE__ */ o(Dr, { children: "Add video" }) }),
1172
- /* @__PURE__ */ o(Vr, { children: /* @__PURE__ */ j(
1173
- Lr,
1169
+ const n = Dr({ prefix: "modalForm" }), [i, a] = q(""), [l, d] = q(""), [h, m] = q(!1);
1170
+ return /* @__PURE__ */ j(Wr, { onClose: t, initialFocus: "[name=url]", children: [
1171
+ /* @__PURE__ */ o(Lr, { children: /* @__PURE__ */ o(zr, { children: "Add video" }) }),
1172
+ /* @__PURE__ */ o(Yr, { children: /* @__PURE__ */ j(
1173
+ Vr,
1174
1174
  {
1175
1175
  id: n,
1176
1176
  component: "form",
@@ -1202,7 +1202,7 @@ const qn = ({
1202
1202
  ]
1203
1203
  }
1204
1204
  ) }),
1205
- /* @__PURE__ */ j(Yr, { children: [
1205
+ /* @__PURE__ */ j(Br, { children: [
1206
1206
  /* @__PURE__ */ o(Lt, { onClick: t, children: "Cancel" }),
1207
1207
  /* @__PURE__ */ o(
1208
1208
  re,
@@ -1236,7 +1236,7 @@ const qn = ({
1236
1236
  }
1237
1237
  ),
1238
1238
  e && /* @__PURE__ */ o(
1239
- qn,
1239
+ Hn,
1240
1240
  {
1241
1241
  onCancel: () => n(!1),
1242
1242
  onSave: i
@@ -1256,7 +1256,7 @@ const qn = ({
1256
1256
  ({ playQueueStore: t }) => {
1257
1257
  const { euiTheme: e } = Vt();
1258
1258
  return /* @__PURE__ */ j(
1259
- Ur,
1259
+ qr,
1260
1260
  {
1261
1261
  style: {
1262
1262
  position: "sticky",
@@ -1265,7 +1265,7 @@ const qn = ({
1265
1265
  background: e.colors.backgroundBasePlain
1266
1266
  },
1267
1267
  children: [
1268
- /* @__PURE__ */ o(Wr, { children: /* @__PURE__ */ o(
1268
+ /* @__PURE__ */ o(Ur, { children: /* @__PURE__ */ o(
1269
1269
  Yt,
1270
1270
  {
1271
1271
  id: "",
@@ -1282,7 +1282,7 @@ const qn = ({
1282
1282
  }
1283
1283
  );
1284
1284
  }
1285
- ), Hn = me(
1285
+ ), Jn = me(
1286
1286
  ({
1287
1287
  item: t,
1288
1288
  closePopover: e
@@ -1294,21 +1294,21 @@ const qn = ({
1294
1294
  items: [
1295
1295
  {
1296
1296
  name: "Play first",
1297
- icon: /* @__PURE__ */ o(G, { type: "" }),
1297
+ icon: /* @__PURE__ */ o(H, { type: "" }),
1298
1298
  onClick: async () => {
1299
1299
  e(), await t.playFirst();
1300
1300
  }
1301
1301
  },
1302
1302
  {
1303
1303
  name: "Play next",
1304
- icon: /* @__PURE__ */ o(G, { type: "" }),
1304
+ icon: /* @__PURE__ */ o(H, { type: "" }),
1305
1305
  onClick: async () => {
1306
1306
  e(), await t.playNext();
1307
1307
  }
1308
1308
  },
1309
1309
  {
1310
1310
  name: "Add to play queue",
1311
- icon: /* @__PURE__ */ o(G, { type: lt }),
1311
+ icon: /* @__PURE__ */ o(H, { type: lt }),
1312
1312
  onClick: async () => {
1313
1313
  e(), await t.addToPlayQueue();
1314
1314
  }
@@ -1318,7 +1318,7 @@ const qn = ({
1318
1318
  },
1319
1319
  {
1320
1320
  name: "Move to the top",
1321
- icon: /* @__PURE__ */ o(G, { type: rn }),
1321
+ icon: /* @__PURE__ */ o(H, { type: nn }),
1322
1322
  onClick: async () => {
1323
1323
  e(), t.moveToTop();
1324
1324
  },
@@ -1326,7 +1326,7 @@ const qn = ({
1326
1326
  },
1327
1327
  {
1328
1328
  name: "Move to the bottom",
1329
- icon: /* @__PURE__ */ o(G, { type: nn }),
1329
+ icon: /* @__PURE__ */ o(H, { type: on }),
1330
1330
  onClick: async () => {
1331
1331
  e(), t.moveToBottom();
1332
1332
  },
@@ -1337,7 +1337,7 @@ const qn = ({
1337
1337
  },
1338
1338
  {
1339
1339
  name: "Remove to the top",
1340
- icon: /* @__PURE__ */ o(G, { type: "" }),
1340
+ icon: /* @__PURE__ */ o(H, { type: "" }),
1341
1341
  onClick: async () => {
1342
1342
  e(), await t.removeToTop();
1343
1343
  },
@@ -1345,7 +1345,7 @@ const qn = ({
1345
1345
  },
1346
1346
  {
1347
1347
  name: "Remove others",
1348
- icon: /* @__PURE__ */ o(G, { type: "" }),
1348
+ icon: /* @__PURE__ */ o(H, { type: "" }),
1349
1349
  onClick: async () => {
1350
1350
  e(), await t.removeOthers();
1351
1351
  },
@@ -1358,14 +1358,14 @@ const qn = ({
1358
1358
  );
1359
1359
  return /* @__PURE__ */ o(Bt, { initialPanelId: 0, panels: n });
1360
1360
  }
1361
- ), Jn = me(
1361
+ ), Kn = me(
1362
1362
  ({ item: t }) => {
1363
1363
  const [e, n] = q(!1), i = D(() => n(!e), [e]), a = D(() => n(!1), []);
1364
1364
  return /* @__PURE__ */ o(
1365
1365
  st,
1366
1366
  {
1367
1367
  button: /* @__PURE__ */ o(
1368
- H,
1368
+ G,
1369
1369
  {
1370
1370
  title: "More options",
1371
1371
  "aria-label": "More options",
@@ -1380,7 +1380,7 @@ const qn = ({
1380
1380
  panelPaddingSize: "none",
1381
1381
  anchorPosition: "leftCenter",
1382
1382
  children: /* @__PURE__ */ o(
1383
- Hn,
1383
+ Jn,
1384
1384
  {
1385
1385
  item: t,
1386
1386
  closePopover: a
@@ -1389,14 +1389,14 @@ const qn = ({
1389
1389
  }
1390
1390
  );
1391
1391
  }
1392
- ), Kn = N(
1392
+ ), Xn = N(
1393
1393
  ({ item: t }) => {
1394
1394
  const e = ne();
1395
1395
  return /* @__PURE__ */ j(tt, { textOnly: !1, hasActions: !0, align: "right", children: [
1396
1396
  /* @__PURE__ */ o(
1397
1397
  re,
1398
1398
  {
1399
- iconType: tn,
1399
+ iconType: rn,
1400
1400
  size: "s",
1401
1401
  onClick: async () => {
1402
1402
  t.isCurrent ? await e.setCurrentTime(0) : t.play();
@@ -1413,14 +1413,14 @@ const qn = ({
1413
1413
  children: "Remove"
1414
1414
  }
1415
1415
  ),
1416
- /* @__PURE__ */ o(Jn, { item: t })
1416
+ /* @__PURE__ */ o(Kn, { item: t })
1417
1417
  ] });
1418
1418
  }
1419
- ), Xn = N(
1419
+ ), Zn = N(
1420
1420
  ({ item: t }) => {
1421
1421
  const e = ne();
1422
- return /* @__PURE__ */ j(Hr, { isSelected: t.isCurrent, children: [
1423
- /* @__PURE__ */ o(qr, { children: /* @__PURE__ */ o(
1422
+ return /* @__PURE__ */ j(Jr, { isSelected: t.isCurrent, children: [
1423
+ /* @__PURE__ */ o(Hr, { children: /* @__PURE__ */ o(
1424
1424
  Yt,
1425
1425
  {
1426
1426
  id: t.id.toString(),
@@ -1447,29 +1447,29 @@ const qn = ({
1447
1447
  children: t.title
1448
1448
  }
1449
1449
  ) }),
1450
- /* @__PURE__ */ o(Kn, { item: t })
1450
+ /* @__PURE__ */ o(Xn, { item: t })
1451
1451
  ] }, t.id);
1452
1452
  }
1453
- ), Zn = N(
1453
+ ), Qn = N(
1454
1454
  ({ playQueueStore: t }) => /* @__PURE__ */ o(
1455
- En,
1455
+ Tn,
1456
1456
  {
1457
1457
  tag: "tbody",
1458
1458
  list: t.items,
1459
1459
  setList: (e) => t.setItems(e),
1460
- children: t.items.map((e) => /* @__PURE__ */ o(Xn, { item: e }, e.id))
1460
+ children: t.items.map((e) => /* @__PURE__ */ o(Zn, { item: e }, e.id))
1461
1461
  }
1462
1462
  )
1463
- ), Qn = N(
1464
- ({ playQueueStore: t }) => /* @__PURE__ */ j(Jr, { children: [
1463
+ ), ei = N(
1464
+ ({ playQueueStore: t }) => /* @__PURE__ */ j(Kr, { children: [
1465
1465
  /* @__PURE__ */ o(Gn, { playQueueStore: t }),
1466
- /* @__PURE__ */ o(Zn, { playQueueStore: t })
1466
+ /* @__PURE__ */ o(Qn, { playQueueStore: t })
1467
1467
  ] })
1468
1468
  );
1469
- function ei(t) {
1469
+ function ti(t) {
1470
1470
  return t !== null && typeof t == "object" && "title" in t && typeof t.title == "string";
1471
1471
  }
1472
- const ti = N(
1472
+ const ri = N(
1473
1473
  ({ playQueueStore: t }) => /* @__PURE__ */ o(
1474
1474
  re,
1475
1475
  {
@@ -1485,13 +1485,13 @@ N(
1485
1485
  const [e, n] = q(!1);
1486
1486
  return /* @__PURE__ */ j(ut, { children: [
1487
1487
  e && /* @__PURE__ */ o(
1488
- Xr,
1488
+ Zr,
1489
1489
  {
1490
1490
  type: "push",
1491
1491
  size: "s",
1492
1492
  onClose: () => n(!1),
1493
1493
  children: /* @__PURE__ */ o("div", { style: { blockSize: "100%" }, children: /* @__PURE__ */ o(
1494
- Kr,
1494
+ Xr,
1495
1495
  {
1496
1496
  language: "json",
1497
1497
  overflowHeight: "100%",
@@ -1510,14 +1510,14 @@ N(
1510
1510
  re,
1511
1511
  {
1512
1512
  onClick: () => n((i) => !i),
1513
- iconType: on,
1513
+ iconType: an,
1514
1514
  children: "Developer tools"
1515
1515
  }
1516
1516
  )
1517
1517
  ] });
1518
1518
  }
1519
1519
  );
1520
- const ki = N(
1520
+ const Mi = N(
1521
1521
  ({ playQueueStore: t }) => {
1522
1522
  const { euiTheme: e } = Vt(), n = D(
1523
1523
  async (i) => {
@@ -1535,7 +1535,7 @@ const ki = N(
1535
1535
  url: i.url,
1536
1536
  type: a.type,
1537
1537
  videoId: l,
1538
- title: i.title || (ei(h) ? h.title : l)
1538
+ title: i.title || (ti(h) ? h.title : l)
1539
1539
  })
1540
1540
  ]);
1541
1541
  }
@@ -1564,7 +1564,7 @@ const ki = N(
1564
1564
  children: "Play next"
1565
1565
  }
1566
1566
  ) }),
1567
- /* @__PURE__ */ o(J, { grow: !1, children: /* @__PURE__ */ o(ti, { playQueueStore: t }) }),
1567
+ /* @__PURE__ */ o(J, { grow: !1, children: /* @__PURE__ */ o(ri, { playQueueStore: t }) }),
1568
1568
  /* @__PURE__ */ o(J, { grow: !1, children: /* @__PURE__ */ o(
1569
1569
  re,
1570
1570
  {
@@ -1577,7 +1577,7 @@ const ki = N(
1577
1577
  /* @__PURE__ */ o(J, { grow: !1, children: /* @__PURE__ */ o(
1578
1578
  re,
1579
1579
  {
1580
- iconType: an,
1580
+ iconType: sn,
1581
1581
  onClick: t.clear,
1582
1582
  disabled: t.isEmpty,
1583
1583
  children: "Clear"
@@ -1604,19 +1604,19 @@ const ki = N(
1604
1604
  }
1605
1605
  ),
1606
1606
  t.isEmpty ? /* @__PURE__ */ o(
1607
- Zr,
1607
+ Qr,
1608
1608
  {
1609
1609
  title: /* @__PURE__ */ o("h2", { children: "We couldn't find any videos" }),
1610
1610
  body: /* @__PURE__ */ o("p", { children: "Your video library doesn't contain any video content." }),
1611
1611
  actions: /* @__PURE__ */ o($t, { onSave: n })
1612
1612
  }
1613
- ) : /* @__PURE__ */ o(Qn, { playQueueStore: t })
1613
+ ) : /* @__PURE__ */ o(ei, { playQueueStore: t })
1614
1614
  ] });
1615
1615
  }
1616
- ), Qe = new Tn({
1616
+ ), Qe = new xn({
1617
1617
  coerceTypes: !0
1618
1618
  });
1619
- function ri(t, e) {
1619
+ function ni(t, e) {
1620
1620
  let n;
1621
1621
  if (n = Qe.getSchema(e), n === void 0 && (Qe.addSchema(t, e), n = Qe.getSchema(e)), n === void 0 || n.schema !== t)
1622
1622
  throw new Error(
@@ -1626,7 +1626,7 @@ function ri(t, e) {
1626
1626
  );
1627
1627
  return n;
1628
1628
  }
1629
- const ni = {
1629
+ const ii = {
1630
1630
  type: "object",
1631
1631
  properties: {
1632
1632
  url: {
@@ -1645,7 +1645,7 @@ const ni = {
1645
1645
  required: ["url", "type", "videoId", "title"]
1646
1646
  };
1647
1647
  var w = /* @__PURE__ */ ((t) => (t.Off = "Off", t.All = "All", t.One = "One", t))(w || {});
1648
- const ii = {
1648
+ const oi = {
1649
1649
  type: "object",
1650
1650
  properties: {
1651
1651
  version: {
@@ -1664,7 +1664,7 @@ const ii = {
1664
1664
  items: {
1665
1665
  type: "array",
1666
1666
  nullable: !0,
1667
- items: ni
1667
+ items: ii
1668
1668
  },
1669
1669
  currentIndex: {
1670
1670
  type: "integer",
@@ -1783,7 +1783,7 @@ const ii = {
1783
1783
  };
1784
1784
  B(Ie, "nextId", 1);
1785
1785
  let nt = Ie;
1786
- class oi {
1786
+ class ai {
1787
1787
  constructor(e) {
1788
1788
  B(this, "interacted", !1);
1789
1789
  B(this, "items", []);
@@ -1854,8 +1854,8 @@ class oi {
1854
1854
  this.repeat = e.repeat ?? w.Off, this.shuffle = e.shuffle ?? !1, this.items = ((n = e.items) == null ? void 0 : n.map((i) => this.createItem(i))) ?? [], this.currentIndex = e.currentIndex;
1855
1855
  }
1856
1856
  validateLocalStorageState(e) {
1857
- return ri(
1858
- ii,
1857
+ return ni(
1858
+ oi,
1859
1859
  "PlayQueueDto"
1860
1860
  )(e);
1861
1861
  }
@@ -2011,11 +2011,11 @@ class oi {
2011
2011
  this.currentIndex !== void 0 && (this.currentIndex = 0);
2012
2012
  }
2013
2013
  }
2014
- const tr = zt(void 0), Mi = ({
2014
+ const tr = zt(void 0), Fi = ({
2015
2015
  children: t
2016
2016
  }) => {
2017
2017
  const [e] = q(
2018
- () => new oi(new Ht())
2018
+ () => new ai(new Gt())
2019
2019
  ), n = ne();
2020
2020
  return Ar(() => Or(
2021
2021
  () => e.currentItem,
@@ -2023,11 +2023,11 @@ const tr = zt(void 0), Mi = ({
2023
2023
  i === void 0 || a === void 0 || i.type === a.type && i.videoId === a.videoId && await n.setCurrentTime(0);
2024
2024
  }
2025
2025
  ), [e, n]), /* @__PURE__ */ o(tr.Provider, { value: e, children: t });
2026
- }, ai = () => ot(tr), si = {
2027
- [w.Off]: cn,
2028
- [w.All]: ln,
2029
- [w.One]: sn
2030
- }, li = N(
2026
+ }, si = () => ot(tr), li = {
2027
+ [w.Off]: un,
2028
+ [w.All]: cn,
2029
+ [w.One]: ln
2030
+ }, ci = N(
2031
2031
  ({
2032
2032
  playerStore: t,
2033
2033
  playQueueStore: e
@@ -2048,11 +2048,11 @@ const tr = zt(void 0), Mi = ({
2048
2048
  alignItems: "center",
2049
2049
  children: [
2050
2050
  /* @__PURE__ */ o(
2051
- H,
2051
+ G,
2052
2052
  {
2053
2053
  title: `Shuffle: ${e.shuffle ? "On" : "Off"}`,
2054
2054
  "aria-label": `Shuffle: ${e.shuffle ? "On" : "Off"}`,
2055
- iconType: e.shuffle ? un : dn,
2055
+ iconType: e.shuffle ? dn : fn,
2056
2056
  size: "s",
2057
2057
  iconSize: "l",
2058
2058
  onClick: e.toggleShuffle,
@@ -2060,11 +2060,11 @@ const tr = zt(void 0), Mi = ({
2060
2060
  }
2061
2061
  ),
2062
2062
  /* @__PURE__ */ o(
2063
- H,
2063
+ G,
2064
2064
  {
2065
2065
  title: "Previous",
2066
2066
  "aria-label": "Previous",
2067
- iconType: fn,
2067
+ iconType: mn,
2068
2068
  size: "s",
2069
2069
  iconSize: "l",
2070
2070
  onClick: i,
@@ -2072,22 +2072,22 @@ const tr = zt(void 0), Mi = ({
2072
2072
  }
2073
2073
  ),
2074
2074
  t.playing ? /* @__PURE__ */ o(
2075
- H,
2075
+ G,
2076
2076
  {
2077
2077
  title: "Pause",
2078
2078
  "aria-label": "Pause",
2079
- iconType: mn,
2079
+ iconType: hn,
2080
2080
  size: "s",
2081
2081
  iconSize: "l",
2082
2082
  onClick: () => n.pause(),
2083
2083
  disabled: !e.canPause || !t.controller.supports("pause")
2084
2084
  }
2085
2085
  ) : /* @__PURE__ */ o(
2086
- H,
2086
+ G,
2087
2087
  {
2088
2088
  title: "Play",
2089
2089
  "aria-label": "Play",
2090
- iconType: hn,
2090
+ iconType: vn,
2091
2091
  size: "s",
2092
2092
  iconSize: "l",
2093
2093
  onClick: () => n.play(),
@@ -2095,11 +2095,11 @@ const tr = zt(void 0), Mi = ({
2095
2095
  }
2096
2096
  ),
2097
2097
  /* @__PURE__ */ o(
2098
- H,
2098
+ G,
2099
2099
  {
2100
2100
  title: "Next",
2101
2101
  "aria-label": "Next",
2102
- iconType: vn,
2102
+ iconType: pn,
2103
2103
  size: "s",
2104
2104
  iconSize: "l",
2105
2105
  onClick: e.next,
@@ -2107,11 +2107,11 @@ const tr = zt(void 0), Mi = ({
2107
2107
  }
2108
2108
  ),
2109
2109
  /* @__PURE__ */ o(
2110
- H,
2110
+ G,
2111
2111
  {
2112
2112
  title: `Repeat: ${e.repeat === w.All ? "All" : e.repeat === w.One ? "One" : "Off"}`,
2113
2113
  "aria-label": `Repeat: ${e.repeat === w.All ? "All" : e.repeat === w.One ? "One" : "Off"}`,
2114
- iconType: si[e.repeat],
2114
+ iconType: li[e.repeat],
2115
2115
  size: "s",
2116
2116
  iconSize: "l",
2117
2117
  onClick: e.toggleRepeat
@@ -2121,7 +2121,7 @@ const tr = zt(void 0), Mi = ({
2121
2121
  }
2122
2122
  );
2123
2123
  }
2124
- ), ci = N(
2124
+ ), ui = N(
2125
2125
  ({ playQueueStore: t }) => {
2126
2126
  const e = ne();
2127
2127
  return /* @__PURE__ */ o(
@@ -2145,19 +2145,19 @@ const tr = zt(void 0), Mi = ({
2145
2145
  }
2146
2146
  );
2147
2147
  }
2148
- ), ui = N(
2148
+ ), di = N(
2149
2149
  ({ playerStore: t }) => /* @__PURE__ */ o(
2150
- H,
2150
+ G,
2151
2151
  {
2152
2152
  title: "Mute",
2153
2153
  "aria-label": "Mute",
2154
- iconType: Gt,
2154
+ iconType: Ht,
2155
2155
  size: "s",
2156
2156
  iconSize: "l",
2157
2157
  disabled: !t.controller.supports("setMuted")
2158
2158
  }
2159
2159
  )
2160
- ), di = N(
2160
+ ), fi = N(
2161
2161
  ({
2162
2162
  playerStore: t,
2163
2163
  button: e,
@@ -2191,7 +2191,7 @@ const tr = zt(void 0), Mi = ({
2191
2191
  justifyContent: "center",
2192
2192
  alignItems: "center",
2193
2193
  children: [
2194
- /* @__PURE__ */ o(ui, { playerStore: t }),
2194
+ /* @__PURE__ */ o(di, { playerStore: t }),
2195
2195
  /* @__PURE__ */ o(
2196
2196
  Ut,
2197
2197
  {
@@ -2210,19 +2210,19 @@ const tr = zt(void 0), Mi = ({
2210
2210
  }
2211
2211
  );
2212
2212
  }
2213
- ), fi = N(
2213
+ ), mi = N(
2214
2214
  ({ playerStore: t }) => {
2215
2215
  const [e, n] = q(!1);
2216
2216
  return /* @__PURE__ */ o(
2217
- di,
2217
+ fi,
2218
2218
  {
2219
2219
  playerStore: t,
2220
2220
  button: /* @__PURE__ */ o(
2221
- H,
2221
+ G,
2222
2222
  {
2223
2223
  title: "Volume",
2224
2224
  "aria-label": "Volume",
2225
- iconType: Gt,
2225
+ iconType: Ht,
2226
2226
  size: "s",
2227
2227
  iconSize: "l",
2228
2228
  onClick: () => n(!e),
@@ -2234,19 +2234,19 @@ const tr = zt(void 0), Mi = ({
2234
2234
  }
2235
2235
  );
2236
2236
  }
2237
- ), mi = ({
2237
+ ), hi = ({
2238
2238
  onClickPlayQueueButton: t
2239
2239
  }) => /* @__PURE__ */ o(
2240
- H,
2240
+ G,
2241
2241
  {
2242
2242
  title: "Play queue",
2243
2243
  "aria-label": "Play queue",
2244
- iconType: bn,
2244
+ iconType: En,
2245
2245
  size: "s",
2246
2246
  iconSize: "l",
2247
2247
  onClick: t
2248
2248
  }
2249
- ), hi = N(
2249
+ ), vi = N(
2250
2250
  ({
2251
2251
  playerStore: t,
2252
2252
  playQueueStore: e,
@@ -2276,7 +2276,7 @@ const tr = zt(void 0), Mi = ({
2276
2276
  items: [
2277
2277
  {
2278
2278
  name: "Speed",
2279
- icon: /* @__PURE__ */ o(G, { type: pn }),
2279
+ icon: /* @__PURE__ */ o(H, { type: yn }),
2280
2280
  panel: 1,
2281
2281
  onClick: E,
2282
2282
  disabled: !t.controller.supports(
@@ -2285,7 +2285,7 @@ const tr = zt(void 0), Mi = ({
2285
2285
  },
2286
2286
  {
2287
2287
  name: "Skip back 10 seconds",
2288
- icon: /* @__PURE__ */ o(G, { type: yn }),
2288
+ icon: /* @__PURE__ */ o(H, { type: gn }),
2289
2289
  onClick: a,
2290
2290
  disabled: e.isEmpty || !t.controller.supports(
2291
2291
  "setCurrentTime"
@@ -2293,7 +2293,7 @@ const tr = zt(void 0), Mi = ({
2293
2293
  },
2294
2294
  {
2295
2295
  name: "Skip forward 30 seconds",
2296
- icon: /* @__PURE__ */ o(G, { type: gn }),
2296
+ icon: /* @__PURE__ */ o(H, { type: bn }),
2297
2297
  onClick: l,
2298
2298
  disabled: e.isEmpty || !t.controller.supports(
2299
2299
  "setCurrentTime"
@@ -2304,7 +2304,7 @@ const tr = zt(void 0), Mi = ({
2304
2304
  },
2305
2305
  {
2306
2306
  name: "Remove from play queue",
2307
- icon: /* @__PURE__ */ o(G, { type: ct }),
2307
+ icon: /* @__PURE__ */ o(H, { type: ct }),
2308
2308
  onClick: h,
2309
2309
  disabled: e.isEmpty
2310
2310
  }
@@ -2338,7 +2338,7 @@ const tr = zt(void 0), Mi = ({
2338
2338
  );
2339
2339
  return /* @__PURE__ */ o(Bt, { initialPanelId: 0, panels: S });
2340
2340
  }
2341
- ), vi = me(
2341
+ ), pi = me(
2342
2342
  ({
2343
2343
  playerStore: t,
2344
2344
  playQueueStore: e,
@@ -2354,7 +2354,7 @@ const tr = zt(void 0), Mi = ({
2354
2354
  panelPaddingSize: "none",
2355
2355
  anchorPosition: "upRight",
2356
2356
  children: /* @__PURE__ */ o(
2357
- hi,
2357
+ vi,
2358
2358
  {
2359
2359
  playerStore: t,
2360
2360
  playQueueStore: e,
@@ -2363,16 +2363,16 @@ const tr = zt(void 0), Mi = ({
2363
2363
  )
2364
2364
  }
2365
2365
  )
2366
- ), pi = me(
2366
+ ), yi = me(
2367
2367
  ({ playerStore: t, playQueueStore: e }) => {
2368
2368
  const [n, i] = q(!1);
2369
2369
  return /* @__PURE__ */ o(
2370
- vi,
2370
+ pi,
2371
2371
  {
2372
2372
  playerStore: t,
2373
2373
  playQueueStore: e,
2374
2374
  button: /* @__PURE__ */ o(
2375
- H,
2375
+ G,
2376
2376
  {
2377
2377
  title: "More options",
2378
2378
  "aria-label": "More options",
@@ -2387,7 +2387,7 @@ const tr = zt(void 0), Mi = ({
2387
2387
  }
2388
2388
  );
2389
2389
  }
2390
- ), yi = me(
2390
+ ), gi = me(
2391
2391
  ({
2392
2392
  playerStore: t,
2393
2393
  playQueueStore: e,
@@ -2400,15 +2400,15 @@ const tr = zt(void 0), Mi = ({
2400
2400
  justifyContent: "flexEnd",
2401
2401
  alignItems: "center",
2402
2402
  children: [
2403
- /* @__PURE__ */ o(fi, { playerStore: t }),
2403
+ /* @__PURE__ */ o(mi, { playerStore: t }),
2404
2404
  n && /* @__PURE__ */ o(
2405
- mi,
2405
+ hi,
2406
2406
  {
2407
2407
  onClickPlayQueueButton: n
2408
2408
  }
2409
2409
  ),
2410
2410
  /* @__PURE__ */ o(
2411
- pi,
2411
+ yi,
2412
2412
  {
2413
2413
  playerStore: t,
2414
2414
  playQueueStore: e
@@ -2417,7 +2417,7 @@ const tr = zt(void 0), Mi = ({
2417
2417
  ]
2418
2418
  }
2419
2419
  )
2420
- ), gi = N(
2420
+ ), bi = N(
2421
2421
  ({ playerStore: t, playQueueStore: e }) => {
2422
2422
  const n = ne(), i = D(
2423
2423
  (d) => {
@@ -2458,14 +2458,14 @@ const tr = zt(void 0), Mi = ({
2458
2458
  }
2459
2459
  );
2460
2460
  }
2461
- ), Fi = N(
2461
+ ), ji = N(
2462
2462
  ({
2463
2463
  playerStore: t,
2464
2464
  playQueueStore: e,
2465
2465
  onClickPlayQueueButton: n
2466
- }) => /* @__PURE__ */ o(Qr, { paddingSize: "s", children: /* @__PURE__ */ j(se, { direction: "column", gutterSize: "none", children: [
2466
+ }) => /* @__PURE__ */ o(en, { paddingSize: "s", children: /* @__PURE__ */ j(se, { direction: "column", gutterSize: "none", children: [
2467
2467
  /* @__PURE__ */ o(J, { children: /* @__PURE__ */ o(
2468
- gi,
2468
+ bi,
2469
2469
  {
2470
2470
  playerStore: t,
2471
2471
  playQueueStore: e
@@ -2473,20 +2473,20 @@ const tr = zt(void 0), Mi = ({
2473
2473
  ) }),
2474
2474
  /* @__PURE__ */ o(J, { children: /* @__PURE__ */ j(se, { responsive: !1, children: [
2475
2475
  /* @__PURE__ */ o(J, { css: { width: "calc(100% / 3)" }, children: /* @__PURE__ */ o(
2476
- ci,
2476
+ ui,
2477
2477
  {
2478
2478
  playQueueStore: e
2479
2479
  }
2480
2480
  ) }),
2481
2481
  /* @__PURE__ */ o(J, { css: { width: "calc(100% / 3)" }, children: /* @__PURE__ */ o(
2482
- li,
2482
+ ci,
2483
2483
  {
2484
2484
  playerStore: t,
2485
2485
  playQueueStore: e
2486
2486
  }
2487
2487
  ) }),
2488
2488
  /* @__PURE__ */ o(J, { css: { width: "calc(100% / 3)" }, children: /* @__PURE__ */ o(
2489
- yi,
2489
+ gi,
2490
2490
  {
2491
2491
  playerStore: t,
2492
2492
  playQueueStore: e,
@@ -2495,14 +2495,14 @@ const tr = zt(void 0), Mi = ({
2495
2495
  ) })
2496
2496
  ] }) })
2497
2497
  ] }) })
2498
- ), rr = 81, it = {
2498
+ ), Ni = (t) => /* @__PURE__ */ o(jr, { ...t }), rr = 81, it = {
2499
2499
  width: 400,
2500
2500
  height: 225
2501
- }, ji = N(
2501
+ }, $i = N(
2502
2502
  ({ children: t }) => {
2503
- const e = ai();
2503
+ const e = si();
2504
2504
  return /* @__PURE__ */ j(
2505
- en,
2505
+ tn,
2506
2506
  {
2507
2507
  panelled: !0,
2508
2508
  style: {
@@ -2515,7 +2515,7 @@ const tr = zt(void 0), Mi = ({
2515
2515
  }
2516
2516
  );
2517
2517
  }
2518
- ), Ni = N(
2518
+ ), Di = N(
2519
2519
  ({ playerStore: t, playQueueStore: e }) => {
2520
2520
  const n = ne(), i = D(async () => {
2521
2521
  e.interacted && await n.play();
@@ -2564,7 +2564,7 @@ const tr = zt(void 0), Mi = ({
2564
2564
  flexDirection: "column"
2565
2565
  },
2566
2566
  children: /* @__PURE__ */ o("div", { css: { flexGrow: 1, backgroundColor: "black" }, children: e.currentItem && /* @__PURE__ */ o(
2567
- jr,
2567
+ Nr,
2568
2568
  {
2569
2569
  src: e.currentItem.url,
2570
2570
  options: l,
@@ -2575,9 +2575,9 @@ const tr = zt(void 0), Mi = ({
2575
2575
  );
2576
2576
  }
2577
2577
  );
2578
- class bi {
2578
+ class Ei {
2579
2579
  constructor(e) {
2580
- B(this, "controller", Nr);
2580
+ B(this, "controller", $r);
2581
2581
  B(this, "playing", !1);
2582
2582
  B(this, "percent", 0);
2583
2583
  B(this, "seeking", !1);
@@ -2621,25 +2621,26 @@ class bi {
2621
2621
  e !== void 0 && (this.seeking || (this.percent = e));
2622
2622
  }
2623
2623
  }
2624
- const nr = zt(void 0), $i = ({
2624
+ const nr = zt(void 0), zi = ({
2625
2625
  children: t
2626
2626
  }) => {
2627
2627
  const [e] = q(
2628
- () => new bi(new Ht())
2628
+ () => new Ei(new Gt())
2629
2629
  );
2630
2630
  return /* @__PURE__ */ o(nr.Provider, { value: e, children: t });
2631
- }, Di = () => ot(nr);
2631
+ }, Li = () => ot(nr);
2632
2632
  export {
2633
- Fi as BottomBar,
2634
- ji as MediaPlayerLayout,
2635
- Ni as MiniPlayer,
2636
- Ht as MobXObservableStateProvider,
2637
- Ai as ObservableStateProvider,
2638
- ki as PlayQueue,
2639
- Mi as PlayQueueStoreProvider,
2640
- $i as PlayerStoreProvider,
2633
+ ji as BottomBar,
2634
+ Ni as HydrangeanDivaProvider,
2635
+ $i as MediaPlayerLayout,
2636
+ Di as MiniPlayer,
2637
+ Gt as MobXObservableStateProvider,
2638
+ ki as ObservableStateProvider,
2639
+ Mi as PlayQueue,
2640
+ Fi as PlayQueueStoreProvider,
2641
+ zi as PlayerStoreProvider,
2641
2642
  w as RepeatMode,
2642
- ai as usePlayQueueStore,
2643
- Di as usePlayerStore
2643
+ si as usePlayQueueStore,
2644
+ Li as usePlayerStore
2644
2645
  };
2645
2646
  //# sourceMappingURL=index.es.js.map