@grizzshutsdown/simpleplayer 0.1.2 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,11 +1,11 @@
1
- var Vi = Object.defineProperty;
2
- var ri = (d) => {
1
+ var Ni = Object.defineProperty;
2
+ var ui = (d) => {
3
3
  throw TypeError(d);
4
4
  };
5
- var Ii = (d, p, i) => p in d ? Vi(d, p, { enumerable: !0, configurable: !0, writable: !0, value: i }) : d[p] = i;
6
- var oi = (d, p, i) => Ii(d, typeof p != "symbol" ? p + "" : p, i), He = (d, p, i) => p.has(d) || ri("Cannot " + i);
7
- var t = (d, p, i) => (He(d, p, "read from private field"), i ? i.call(d) : p.get(d)), n = (d, p, i) => p.has(d) ? ri("Cannot add the same private member more than once") : p instanceof WeakSet ? p.add(d) : p.set(d, i), r = (d, p, i, a) => (He(d, p, "write to private field"), a ? a.call(d, i) : p.set(d, i), i), e = (d, p, i) => (He(d, p, "access private method"), i);
8
- const ni = "16 / 9", zi = "360px 0px", Ri = [
5
+ var Ui = (d, p, i) => p in d ? Ni(d, p, { enumerable: !0, configurable: !0, writable: !0, value: i }) : d[p] = i;
6
+ var pi = (d, p, i) => Ui(d, typeof p != "symbol" ? p + "" : p, i), Xe = (d, p, i) => p.has(d) || ui("Cannot " + i);
7
+ var t = (d, p, i) => (Xe(d, p, "read from private field"), i ? i.call(d) : p.get(d)), n = (d, p, i) => p.has(d) ? ui("Cannot add the same private member more than once") : p instanceof WeakSet ? p.add(d) : p.set(d, i), r = (d, p, i, a) => (Xe(d, p, "write to private field"), a ? a.call(d, i) : p.set(d, i), i), e = (d, p, i) => (Xe(d, p, "access private method"), i);
8
+ const di = "16 / 9", Yi = "360px 0px", Xi = [
9
9
  "src",
10
10
  "aspect-ratio",
11
11
  "preload-margin",
@@ -25,36 +25,36 @@ const ni = "16 / 9", zi = "360px 0px", Ri = [
25
25
  "no-picture-in-picture",
26
26
  "no-fullscreen"
27
27
  ];
28
- function Di(d) {
28
+ function _i(d) {
29
29
  const p = document;
30
30
  return d.fullscreenElement || document.fullscreenElement || p.webkitFullscreenElement || p.mozFullScreenElement || p.msFullscreenElement || null;
31
31
  }
32
- function Hi(d, p, i) {
32
+ function Wi(d, p, i) {
33
33
  const a = document, l = p, u = i, f = !!((document.fullscreenEnabled ?? a.webkitFullscreenEnabled ?? a.mozFullScreenEnabled ?? a.msFullscreenEnabled ?? !1) && (l.requestFullscreen || l.webkitRequestFullscreen || l.mozRequestFullScreen || l.msRequestFullscreen)), v = !!(u.webkitSupportsFullscreen || u.webkitEnterFullscreen || u.webkitEnterFullScreen);
34
34
  return !!(d && (f || v));
35
35
  }
36
- function qi(d) {
36
+ function ji(d) {
37
37
  const p = d, i = p.requestFullscreen || p.webkitRequestFullscreen || p.mozRequestFullScreen || p.msRequestFullscreen;
38
38
  return Promise.resolve(i?.call(p));
39
39
  }
40
- function Bi(d) {
40
+ function Zi(d) {
41
41
  const p = d;
42
42
  return typeof p.requestFullscreen == "function" || typeof p.webkitRequestFullscreen == "function" || typeof p.mozRequestFullScreen == "function" || typeof p.msRequestFullscreen == "function";
43
43
  }
44
- function $i(d) {
44
+ function Oi(d) {
45
45
  const p = d;
46
46
  (p.webkitEnterFullscreen || p.webkitEnterFullScreen)?.call(p);
47
47
  }
48
- function Ui() {
48
+ function Ki() {
49
49
  const d = document, p = document.exitFullscreen || d.webkitExitFullscreen || d.mozCancelFullScreen || d.msExitFullscreen;
50
50
  return Promise.resolve(p?.call(d));
51
51
  }
52
- function _(d) {
52
+ function q(d) {
53
53
  if (!Number.isFinite(d) || d < 0) return "0:00";
54
54
  const p = Math.floor(d), i = p % 60, a = Math.floor(p / 60), l = a % 60, u = Math.floor(a / 60);
55
55
  return u > 0 ? u + ":" + String(l).padStart(2, "0") + ":" + String(i).padStart(2, "0") : l + ":" + String(i).padStart(2, "0");
56
56
  }
57
- function Xi(d, p) {
57
+ function Gi(d, p) {
58
58
  const i = d;
59
59
  if (i.audioTracks && typeof i.audioTracks.length == "number")
60
60
  return i.audioTracks.length > 0;
@@ -64,21 +64,21 @@ function Xi(d, p) {
64
64
  const l = d;
65
65
  return typeof l.webkitAudioDecodedByteCount == "number" && d.readyState >= HTMLMediaElement.HAVE_CURRENT_DATA && !d.muted && d.currentTime > 0.25 ? l.webkitAudioDecodedByteCount > 0 : p;
66
66
  }
67
- function ii(d) {
67
+ function ci(d) {
68
68
  const p = Math.min(2, Math.max(0, d.width / 2)), i = Math.max(1, d.width - p * 2);
69
69
  return { rect: d, sideInset: p, innerWidth: i };
70
70
  }
71
- function Ni(d, p) {
72
- const { sideInset: i, innerWidth: a } = ii(p), l = Math.min(1, Math.max(0, d));
71
+ function Ji(d, p) {
72
+ const { sideInset: i, innerWidth: a } = ci(p), l = Math.min(1, Math.max(0, d));
73
73
  return i + l * a;
74
74
  }
75
- function Yi(d, p) {
76
- const { sideInset: i, innerWidth: a } = ii(p);
75
+ function Qi(d, p) {
76
+ const { sideInset: i, innerWidth: a } = ci(p);
77
77
  return Math.min(1, Math.max(0, (d - p.left - i) / a));
78
78
  }
79
- const _i = `
79
+ const tr = `
80
80
  :host {
81
- --simple-player-aspect-ratio: ${ni};
81
+ --simple-player-aspect-ratio: ${di};
82
82
  --space: 4px;
83
83
  --white: #fff;
84
84
  --black: #000;
@@ -164,6 +164,7 @@ const _i = `
164
164
  -webkit-user-select: none;
165
165
  -webkit-touch-callout: none;
166
166
  -webkit-tap-highlight-color: transparent;
167
+ font-variant-numeric: tabular-nums;
167
168
  }
168
169
 
169
170
  .sp-player:fullscreen {
@@ -756,6 +757,9 @@ const _i = `
756
757
  .sp-time {
757
758
  position: absolute;
758
759
  display: block;
760
+ bottom: calc(100% + var(--space));
761
+ left: var(--sp-scrub-preview-left);
762
+ z-index: 2;
759
763
  padding: 2px calc(var(--space) * 1.5);
760
764
  color: var(--white);
761
765
  background: transparent;
@@ -765,17 +769,11 @@ const _i = `
765
769
  pointer-events: none;
766
770
  opacity: 0;
767
771
  transition: transform 120ms ease;
772
+ transform: translateX(-50%) translateY(2px);
768
773
  white-space: nowrap;
769
774
  font: 500 12px/1.35 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
770
775
  }
771
776
 
772
- .sp-time {
773
- bottom: calc(100% + var(--space));
774
- left: var(--sp-scrub-preview-left);
775
- z-index: 2;
776
- transform: translateX(-50%) translateY(2px);
777
- }
778
-
779
777
  .sp-time-surface {
780
778
  position: absolute;
781
779
  inset: 0;
@@ -796,34 +794,85 @@ const _i = `
796
794
 
797
795
  .sp-progress:hover .sp-time,
798
796
  .sp-player.is-progress-hovering .sp-time,
799
- .sp-player.is-scrubbing .sp-time,
800
- .sp-player.has-pinned-time .sp-time {
797
+ .sp-player.is-scrubbing .sp-time {
801
798
  opacity: 1;
802
799
  transform: translateX(-50%) translateY(0);
803
800
  }
804
801
 
805
802
  .sp-player.has-pinned-time .sp-time {
806
- box-sizing: border-box;
807
- display: grid;
808
- place-items: center;
809
- min-width: calc((var(--sp-control-slot-size) * 1.65) + (var(--sp-control-tray-padding) * 2));
810
- height: calc(var(--sp-control-slot-size) + (var(--sp-control-tray-padding) * 2));
811
- padding: 0 calc(var(--space) * 2);
803
+ display: none !important;
804
+ }
805
+
806
+ .sp-tray-time {
807
+ position: absolute;
808
+ display: none;
812
809
  bottom: calc(((var(--space) * 2) - 2px) + var(--sp-progress-height) + 8px);
813
810
  left: 0;
814
- border-radius: 5px;
815
- color: rgb(var(--white-rgb) / var(--sp-control-icon-opacity));
811
+ z-index: 3;
812
+ color: var(--white);
813
+ isolation: isolate;
814
+ overflow: visible;
815
+ pointer-events: none;
816
+ white-space: nowrap;
817
+ opacity: 0;
818
+ filter: blur(0.8px);
819
+ transform: translateY(4px) scale(0.96);
820
+ transform-origin: left bottom;
821
+ transition:
822
+ bottom 180ms ease,
823
+ opacity 220ms ease,
824
+ filter 260ms ease,
825
+ transform 300ms cubic-bezier(0.18, 0.9, 0.22, 1);
826
+ }
827
+
828
+ .sp-player.has-pinned-time .sp-tray-time {
829
+ display: block;
830
+ }
831
+
832
+ .sp-player.has-pinned-time.is-pointer-active .sp-tray-time,
833
+ .sp-player.has-pinned-time.is-controls-visible .sp-tray-time,
834
+ :host(:hover) .sp-player.has-pinned-time .sp-tray-time {
835
+ opacity: 1;
836
+ pointer-events: auto;
837
+ filter: blur(0);
838
+ transform: translateY(0) scale(1);
839
+ }
840
+
841
+ .sp-tray-time-holder {
842
+ position: relative;
843
+ right: auto;
844
+ bottom: auto;
845
+ width: max-content;
846
+ transition: width 240ms cubic-bezier(0.23, 1, 0.32, 1);
847
+ }
848
+
849
+ .sp-tray-time-holder .sp-control-tray-slots {
850
+ position: relative;
851
+ width: max-content;
852
+ }
853
+
854
+ .sp-tray-time-holder .sp-control-tray-slots::before {
855
+ width: calc(100% - (var(--sp-control-tray-padding) * 2));
856
+ }
857
+
858
+ .sp-tray-time-holder .sp-tray-time-text {
859
+ aspect-ratio: auto;
860
+ min-width: max-content;
861
+ width: auto;
862
+ padding: 0 8px;
816
863
  font: 600 12px/1 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
817
- transform: translateX(0) translateY(0);
818
864
  }
819
865
 
820
- .sp-player.has-pinned-time .sp-time .sp-time-surface {
821
- background: var(--sp-control-glass-surface);
822
- opacity: var(--sp-control-glass-opacity);
823
- box-shadow: inset 0 0 0 1px rgb(var(--white-rgb) / 0.08);
866
+ .sp-tray-time-text {
867
+ pointer-events: auto;
868
+ cursor: pointer;
869
+ }
870
+
871
+ .sp-tray-time-text.is-time-animating {
872
+ animation: sp-volume-icon-swap 240ms cubic-bezier(0.2, 0.8, 0.2, 1);
824
873
  }
825
874
 
826
- .sp-player.is-loading:not(.has-loaded-once) .sp-time {
875
+ .sp-player.is-loading:not(.has-loaded-once) .sp-tray-time {
827
876
  opacity: 0;
828
877
  }
829
878
 
@@ -874,24 +923,10 @@ const _i = `
874
923
  --sp-progress-height: 4px;
875
924
  }
876
925
 
877
- .sp-progress:hover .sp-time,
878
- .sp-player.is-progress-hovering .sp-time {
879
- opacity: 0;
880
- transform: translateX(-50%) translateY(2px);
881
- }
882
-
883
- .sp-player.has-pinned-time .sp-time {
926
+ .sp-player.has-pinned-time.is-controls-visible .sp-tray-time {
884
927
  opacity: 1;
885
- transform: translateX(0) translateY(0);
886
- }
887
-
888
- .sp-player.is-scrubbing .sp-time {
889
- opacity: 1;
890
- transform: translateX(-50%) translateY(0);
891
- }
892
-
893
- .sp-player.has-pinned-time.is-scrubbing .sp-time {
894
- transform: translateX(0) translateY(0);
928
+ filter: blur(0);
929
+ transform: translateY(0) scale(1);
895
930
  }
896
931
 
897
932
  .sp-player.is-scrubbing .sp-progress-cluster {
@@ -972,9 +1007,9 @@ const _i = `
972
1007
  transform: translateY(0) scale(1);
973
1008
  }
974
1009
  }
975
- `, ai = document.createElement("template");
976
- ai.innerHTML = `
977
- <style>${_i}</style>
1010
+ `, mi = document.createElement("template");
1011
+ mi.innerHTML = `
1012
+ <style>${tr}</style>
978
1013
  <div class="sp-player is-loading" data-sp-player>
979
1014
  <video
980
1015
  class="sp-video sp-asset"
@@ -1007,6 +1042,13 @@ ai.innerHTML = `
1007
1042
  <span class="sp-progress-fill" data-sp-progress></span>
1008
1043
  <span class="sp-progress-marker" aria-hidden="true"></span>
1009
1044
  </div>
1045
+ <span class="sp-tray-time" data-sp-tray-time>
1046
+ <span class="sp-control-tray sp-tray-time-holder">
1047
+ <span class="sp-control-tray-slots">
1048
+ <button class="sp-control-button sp-tray-time-text" type="button" tabindex="-1" data-sp-tray-time-text>0:00</button>
1049
+ </span>
1050
+ </span>
1051
+ </span>
1010
1052
  <span class="sp-control-tray" data-sp-control-tray>
1011
1053
  <span class="sp-control-tray-slots" data-sp-control-tray-slots>
1012
1054
  <button class="sp-control-button sp-volume-slot" type="button" aria-label="Toggle sound" data-sp-volume-control>
@@ -1052,388 +1094,395 @@ ai.innerHTML = `
1052
1094
  </div>
1053
1095
  </div>
1054
1096
  `;
1055
- var b, Ot, D, Kt, H, h, o, U, m, X, W, Gt, Jt, w, j, E, st, et, it, ft, g, z, rt, S, Lt, ot, Ft, N, bt, Qt, St, P, L, ts, nt, vt, gt, at, gs, ss, q, B, Z, O, K, Mt, yt, ys, Vt, ws, xs, wt, R, lt, It, M, y, G, es, is, zt, Y, ht, x, xt, kt, Pt, rs, Ws, js, os, Zs, Os, ks, Rt, Ks, Gs, Js, Qs, te, se, Dt, ee, ie, s, zs, Rs, qe, hs, Be, Ds, hi, c, Hs, Ht, $, re, cs, J, Q, qs, us, Nt, ci, $e, Ue, Xe, Yt, ps, Bs, Ne, qt, Bt, Ps, $t, ct, ut, Es, oe, Ts, $s, Cs, ne, Ye, ds, Us, ms, _e, ui, As, pi, pt, We, di, je, _t, V, mi, C, fi, Ze, Oe, bi, Ut, Ke, k, tt, Ge, vi, Ct, dt, gi, yi, fs, wi, xi, ki, bs, I, mt, Wt, Pi, jt, Ei, T, At, Ti, F, Je, Xs, Zt, Et, Ns, Qe, Ci, Ai, Li, Xt, Tt, Fi, Ls, Ys, ti, _s, ae, le, he, vs, si, ns, ei, Fs, Ss, ce, ue, pe, de, me, fe, be, ve, Ms, Vs, ge, ye, we, xe, ke, Pe, Ee, Te, Ce, Ae, Le, Fe, Se, as, Me, Ve, Ie, ze, Re, De, A, Si;
1056
- class li extends HTMLElement {
1097
+ var b, Qt, H, ts, B, h, o, Y, m, X, j, Gs, z, ss, xs, w, Z, T, et, it, rt, vt, g, R, ot, L, St, nt, Mt, _, gt, es, Vt, P, F, is, at, yt, wt, lt, ks, rs, $, N, O, K, G, It, xt, Ps, zt, Ts, Es, kt, D, ht, Rt, S, y, J, os, ns, Dt, W, ct, x, Pt, Tt, Et, as, ls, Ct, Js, Qs, hs, te, se, Cs, qt, ee, ie, re, oe, ne, ae, Ht, le, he, s, Hs, Bs, _e, ds, We, _t, $s, bi, c, Ns, Bt, U, ce, ms, Q, tt, Us, fs, Wt, vi, je, Ze, Oe, jt, bs, Ys, Ke, $t, Nt, As, Ut, ut, pt, Ls, ue, Fs, Xs, Ss, pe, Ge, vs, _s, gs, Je, gi, Ms, yi, dt, Qe, wi, ti, Zt, V, xi, E, ki, si, ei, Pi, Yt, ii, k, st, ri, Ti, mt, ft, Ei, Ci, ys, Ai, Li, Fi, Ot, I, bt, Kt, Si, Gt, Mi, C, Ft, Vi, M, oi, Ws, Jt, At, js, ni, Ii, zi, Ri, Xt, Lt, Di, Vs, Zs, ai, Os, Ks, qi, Hi, de, me, fe, be, ws, li, cs, hi, Is, zs, ve, ge, ye, we, xe, ke, Pe, Te, Rs, Ds, Ee, Ce, Ae, Le, Fe, Se, Me, Ve, Ie, ze, Re, De, qe, us, He, Be, $e, Ne, Ue, Ye, A, Bi;
1098
+ class fi extends HTMLElement {
1057
1099
  constructor() {
1058
1100
  super();
1059
1101
  n(this, s);
1060
1102
  n(this, b);
1061
- n(this, Ot, []);
1062
- n(this, D, null);
1063
- n(this, Kt, !1);
1064
- n(this, H, !1);
1103
+ n(this, Qt, []);
1104
+ n(this, H, null);
1105
+ n(this, ts, !1);
1106
+ n(this, B, !1);
1065
1107
  n(this, h);
1066
1108
  n(this, o);
1067
- n(this, U);
1109
+ n(this, Y);
1068
1110
  n(this, m);
1069
1111
  n(this, X);
1070
- n(this, W);
1071
- n(this, Gt);
1072
- n(this, Jt);
1073
- n(this, w);
1074
1112
  n(this, j);
1075
- n(this, E);
1076
- n(this, st);
1113
+ n(this, Gs);
1114
+ n(this, z);
1115
+ n(this, ss);
1116
+ n(this, xs);
1117
+ n(this, w);
1118
+ n(this, Z);
1119
+ n(this, T);
1077
1120
  n(this, et);
1078
- n(this, it, []);
1079
- n(this, ft, 0);
1121
+ n(this, it);
1122
+ n(this, rt, []);
1123
+ n(this, vt, 0);
1080
1124
  n(this, g, !1);
1081
- n(this, z, !1);
1082
- n(this, rt, !1);
1083
- n(this, S, 0);
1084
- n(this, Lt, 0);
1085
- n(this, ot, 0);
1086
- n(this, Ft, !1);
1087
- n(this, N, !1);
1088
- n(this, bt, !1);
1089
- n(this, Qt, 0);
1125
+ n(this, R, !1);
1126
+ n(this, ot, !1);
1127
+ n(this, L, 0);
1090
1128
  n(this, St, 0);
1091
- n(this, P, null);
1092
- n(this, L, null);
1093
- n(this, ts, 0);
1094
1129
  n(this, nt, 0);
1095
- n(this, vt, 0);
1096
- n(this, gt, 0);
1130
+ n(this, Mt, !1);
1131
+ n(this, _, !1);
1132
+ n(this, gt, !1);
1133
+ n(this, es, 0);
1134
+ n(this, Vt, 0);
1135
+ n(this, P, null);
1136
+ n(this, F, null);
1137
+ n(this, is, 0);
1097
1138
  n(this, at, 0);
1098
- n(this, gs, 0);
1099
- n(this, ss, 0);
1100
- n(this, q, !1);
1101
- n(this, B, !1);
1102
- n(this, Z, !1);
1103
- n(this, O, !1);
1104
- n(this, K, 0);
1105
- n(this, Mt, 0);
1106
- n(this, yt, !1);
1107
- n(this, ys, 0);
1108
- n(this, Vt, !0);
1109
- n(this, ws, 0);
1110
- n(this, xs, performance.now());
1139
+ n(this, yt, 0);
1111
1140
  n(this, wt, 0);
1112
- n(this, R, null);
1113
- n(this, lt, null);
1114
- n(this, It, !1);
1115
- n(this, M, !1);
1141
+ n(this, lt, 0);
1142
+ n(this, ks, 0);
1143
+ n(this, rs, 0);
1144
+ n(this, $, !1);
1145
+ n(this, N, !1);
1146
+ n(this, O, !1);
1147
+ n(this, K, !1);
1148
+ n(this, G, 0);
1149
+ n(this, It, 0);
1150
+ n(this, xt, !1);
1151
+ n(this, Ps, 0);
1152
+ n(this, zt, !0);
1153
+ n(this, Ts, 0);
1154
+ n(this, Es, performance.now());
1155
+ n(this, kt, 0);
1156
+ n(this, D, null);
1157
+ n(this, ht, null);
1158
+ n(this, Rt, !1);
1159
+ n(this, S, !1);
1116
1160
  n(this, y, !0);
1117
- n(this, G, !1);
1118
- n(this, es, null);
1119
- n(this, is, null);
1120
- n(this, zt, !1);
1121
- n(this, Y, !1);
1122
- n(this, ht, !1);
1161
+ n(this, J, !1);
1162
+ n(this, os, null);
1163
+ n(this, ns, null);
1164
+ n(this, Dt, !1);
1165
+ n(this, W, !1);
1166
+ n(this, ct, !1);
1123
1167
  n(this, x, null);
1124
- n(this, xt, 0);
1125
- n(this, kt, 0);
1126
1168
  n(this, Pt, 0);
1127
- n(this, rs, null);
1128
- n(this, Ws, 4);
1129
- n(this, js, 3.5);
1130
- n(this, os, 6);
1131
- n(this, Zs, 0.08);
1132
- n(this, Os, 240);
1133
- n(this, ks, 1200);
1134
- n(this, Rt, 1600);
1135
- n(this, Ks, 140);
1136
- n(this, Gs, 380);
1137
- n(this, Js, 650);
1138
- n(this, Qs, 2e3);
1139
- n(this, te, 3);
1140
- n(this, se, 10);
1141
- n(this, Dt, 0.18);
1142
- n(this, ee, 8);
1143
- n(this, ie, 18);
1144
- n(this, Ht, (i) => {
1169
+ n(this, Tt, 0);
1170
+ n(this, Et, 0);
1171
+ n(this, as, null);
1172
+ n(this, ls, !1);
1173
+ n(this, Ct, 0);
1174
+ n(this, Js, 4);
1175
+ n(this, Qs, 3.5);
1176
+ n(this, hs, 6);
1177
+ n(this, te, 0.08);
1178
+ n(this, se, 240);
1179
+ n(this, Cs, 1200);
1180
+ n(this, qt, 1600);
1181
+ n(this, ee, 140);
1182
+ n(this, ie, 380);
1183
+ n(this, re, 650);
1184
+ n(this, oe, 2e3);
1185
+ n(this, ne, 3);
1186
+ n(this, ae, 10);
1187
+ n(this, Ht, 0.18);
1188
+ n(this, le, 8);
1189
+ n(this, he, 18);
1190
+ n(this, Bt, (i) => {
1145
1191
  i.preventDefault();
1146
1192
  });
1147
- n(this, re, () => {
1148
- if (r(this, vt, 0), !(t(this, z) || t(this, g) || t(this, Y))) {
1193
+ n(this, ce, () => {
1194
+ if (r(this, yt, 0), !(t(this, R) || t(this, g) || t(this, W))) {
1149
1195
  if (e(this, s, A).call(this)) {
1150
1196
  t(this, h).classList.remove("is-controls-visible");
1151
1197
  return;
1152
1198
  }
1153
- t(this, G) || t(this, h).classList.remove("is-pointer-active");
1199
+ t(this, J) || t(this, h).classList.remove("is-pointer-active");
1154
1200
  }
1155
1201
  });
1156
- n(this, qt, (i) => {
1157
- e(this, s, Nt).call(this, i) && e(this, s, qs).call(this, !0);
1202
+ n(this, $t, (i) => {
1203
+ e(this, s, Wt).call(this, i) && e(this, s, Us).call(this, !0);
1158
1204
  });
1159
- n(this, Bt, (i) => {
1160
- e(this, s, Nt).call(this, i) && ((i instanceof PointerEvent || i instanceof MouseEvent) && e(this, s, Xe).call(this, i.clientX, i.clientY), e(this, s, qs).call(this, !0));
1205
+ n(this, Nt, (i) => {
1206
+ e(this, s, Wt).call(this, i) && ((i instanceof PointerEvent || i instanceof MouseEvent) && e(this, s, Oe).call(this, i.clientX, i.clientY), e(this, s, Us).call(this, !0));
1161
1207
  });
1162
- n(this, Ps, (i) => {
1163
- e(this, s, Nt).call(this, i) && ((i instanceof PointerEvent || i instanceof MouseEvent) && e(this, s, Xe).call(this, i.clientX, i.clientY), e(this, s, Ne).call(this));
1208
+ n(this, As, (i) => {
1209
+ e(this, s, Wt).call(this, i) && ((i instanceof PointerEvent || i instanceof MouseEvent) && e(this, s, Oe).call(this, i.clientX, i.clientY), e(this, s, Ke).call(this));
1164
1210
  });
1165
- n(this, $t, () => {
1166
- e(this, s, us).call(this);
1211
+ n(this, Ut, () => {
1212
+ e(this, s, fs).call(this);
1167
1213
  });
1168
- n(this, ct, (i) => {
1169
- e(this, s, Nt).call(this, i) && (r(this, G, !0), t(this, h).classList.add("is-pointer-active"), e(this, s, $).call(this));
1214
+ n(this, ut, (i) => {
1215
+ e(this, s, Wt).call(this, i) && (r(this, J, !0), t(this, h).classList.add("is-pointer-active"), e(this, s, U).call(this));
1170
1216
  });
1171
- n(this, ut, () => {
1172
- r(this, G, !1), e(this, s, cs).call(this, t(this, Rt));
1217
+ n(this, pt, () => {
1218
+ r(this, J, !1), e(this, s, ms).call(this, t(this, qt));
1173
1219
  });
1174
- n(this, Es, () => {
1175
- e(this, s, A).call(this) ? t(this, h).classList.add("is-controls-visible") : t(this, h).classList.add("is-pointer-active"), e(this, s, $).call(this);
1220
+ n(this, Ls, () => {
1221
+ e(this, s, A).call(this) ? t(this, h).classList.add("is-controls-visible") : t(this, h).classList.add("is-pointer-active"), e(this, s, U).call(this);
1176
1222
  });
1177
- n(this, oe, () => {
1178
- e(this, s, cs).call(this, t(this, Rt));
1223
+ n(this, ue, () => {
1224
+ e(this, s, ms).call(this, t(this, qt));
1179
1225
  });
1180
- n(this, Ts, (i) => {
1226
+ n(this, Fs, (i) => {
1181
1227
  const a = i.currentTarget;
1182
- if (e(this, s, Bs).call(this, a)) {
1183
- t(this, W).style.removeProperty("--sp-control-hover-offset");
1228
+ if (e(this, s, Ys).call(this, a)) {
1229
+ t(this, j).style.removeProperty("--sp-control-hover-offset");
1184
1230
  return;
1185
1231
  }
1186
1232
  const u = Number(a.dataset.spControlIndex ?? 0);
1187
- t(this, W).style.setProperty("--sp-control-hover-offset", `calc(var(--sp-control-slot-size) * ${u})`);
1233
+ t(this, j).style.setProperty("--sp-control-hover-offset", `calc(var(--sp-control-slot-size) * ${u})`);
1188
1234
  });
1189
- n(this, Cs, () => {
1190
- r(this, Pt, 0), t(this, it).forEach((i) => i.classList.remove("is-control-tap-active")), this.style.removeProperty("--sp-touch-control-hover-offset");
1235
+ n(this, Ss, () => {
1236
+ r(this, Et, 0), t(this, rt).forEach((i) => i.classList.remove("is-control-tap-active")), this.style.removeProperty("--sp-touch-control-hover-offset");
1191
1237
  });
1192
- n(this, ne, (i) => {
1238
+ n(this, pe, (i) => {
1193
1239
  if (!(i instanceof PointerEvent) || i.pointerType !== "touch") return;
1194
1240
  const a = i.currentTarget;
1195
- if (!a || !e(this, s, Yt).call(this) || e(this, s, Bs).call(this, a)) return;
1241
+ if (!a || !e(this, s, jt).call(this) || e(this, s, Ys).call(this, a)) return;
1196
1242
  const l = Number(a.dataset.spControlIndex ?? 0);
1197
- e(this, s, $s).call(this), t(this, it).forEach((u) => u.classList.toggle("is-control-tap-active", u === a)), this.style.setProperty("--sp-touch-control-hover-offset", `calc(var(--sp-control-slot-size) * ${l})`), r(this, Pt, window.setTimeout(t(this, Cs), 280));
1243
+ e(this, s, Xs).call(this), t(this, rt).forEach((u) => u.classList.toggle("is-control-tap-active", u === a)), this.style.setProperty("--sp-touch-control-hover-offset", `calc(var(--sp-control-slot-size) * ${l})`), r(this, Et, window.setTimeout(t(this, Ss), 280));
1198
1244
  });
1199
- n(this, As, () => {
1200
- if (t(this, at) || t(this, h).classList.contains("is-progress-settling")) {
1201
- if (e(this, s, Us).call(this), t(this, yt)) {
1245
+ n(this, Ms, () => {
1246
+ if (t(this, lt) || t(this, h).classList.contains("is-progress-settling")) {
1247
+ if (e(this, s, _s).call(this), t(this, xt)) {
1202
1248
  t(this, h).classList.remove("is-progress-settling");
1203
1249
  return;
1204
1250
  }
1205
- r(this, yt, !0), r(this, ys, performance.now() + t(this, Js)), e(this, s, C).call(this) || e(this, s, k).call(this), e(this, s, I).call(this), t(this, h).classList.remove("is-progress-settling"), e(this, s, T).call(this);
1251
+ r(this, xt, !0), r(this, Ps, performance.now() + t(this, re)), e(this, s, E).call(this) || e(this, s, k).call(this), e(this, s, I).call(this), t(this, h).classList.remove("is-progress-settling"), e(this, s, C).call(this);
1206
1252
  }
1207
1253
  });
1208
1254
  n(this, V, () => {
1209
1255
  if (t(this, o).error) {
1210
- e(this, s, _t).call(this, !0, !0);
1256
+ e(this, s, Zt).call(this, !0, !0);
1211
1257
  return;
1212
1258
  }
1213
- e(this, s, _t).call(this, !t(this, H) || !t(this, B) || t(this, o).readyState < HTMLMediaElement.HAVE_FUTURE_DATA);
1259
+ e(this, s, Zt).call(this, !t(this, B) || !t(this, N) || t(this, o).readyState < HTMLMediaElement.HAVE_FUTURE_DATA);
1214
1260
  });
1215
- n(this, Ut, () => {
1261
+ n(this, Yt, () => {
1216
1262
  if (t(this, o).error || t(this, o).readyState < HTMLMediaElement.HAVE_CURRENT_DATA || t(this, o).videoWidth <= 0 || t(this, o).videoHeight <= 0)
1217
1263
  return t(this, V).call(this), !1;
1218
- if (!t(this, q))
1219
- return e(this, s, bi).call(this), t(this, V).call(this), !1;
1220
- const i = e(this, s, Oe).call(this);
1221
- return t(this, F).call(this), i;
1264
+ if (!t(this, $))
1265
+ return e(this, s, Pi).call(this), t(this, V).call(this), !1;
1266
+ const i = e(this, s, ei).call(this);
1267
+ return t(this, M).call(this), i;
1222
1268
  });
1223
- n(this, F, () => {
1269
+ n(this, M, () => {
1224
1270
  if (!this.volumeEnabled) {
1225
1271
  t(this, h).classList.remove("is-volume-unavailable", "is-volume-muted", "is-volume-sound", "is-volume-icon-animating"), t(this, w).disabled = !0, t(this, w).setAttribute("aria-disabled", "true");
1226
1272
  return;
1227
1273
  }
1228
- r(this, y, e(this, s, Ti).call(this));
1274
+ r(this, y, e(this, s, Vi).call(this));
1229
1275
  const i = !t(this, y) || t(this, o).muted || t(this, o).volume <= 0, a = t(this, y) && !t(this, o).muted ? t(this, o).volume : 0, l = Math.round(a * 100), u = i ? "muted" : "sound";
1230
- t(this, rs) && t(this, rs) !== u && e(this, s, ui).call(this), r(this, rs, u), t(this, h).classList.toggle("is-volume-unavailable", !t(this, y)), t(this, h).classList.toggle("is-volume-muted", i), t(this, h).classList.toggle("is-volume-sound", !i), t(this, h).style.setProperty("--sp-volume-level", `${l}%`), t(this, w).disabled = !t(this, y), t(this, w).setAttribute("aria-disabled", `${!t(this, y)}`), t(this, w).setAttribute(
1276
+ t(this, as) && t(this, as) !== u && e(this, s, gi).call(this), r(this, as, u), t(this, h).classList.toggle("is-volume-unavailable", !t(this, y)), t(this, h).classList.toggle("is-volume-muted", i), t(this, h).classList.toggle("is-volume-sound", !i), t(this, h).style.setProperty("--sp-volume-level", `${l}%`), t(this, w).disabled = !t(this, y), t(this, w).setAttribute("aria-disabled", `${!t(this, y)}`), t(this, w).setAttribute(
1231
1277
  "aria-label",
1232
1278
  t(this, y) ? i ? "Unmute video" : "Mute video" : "Video has no audio"
1233
- ), t(this, E).setAttribute("aria-valuenow", `${l}`), t(this, E).setAttribute("aria-valuetext", `${l}%`);
1279
+ ), t(this, T).setAttribute("aria-valuenow", `${l}`), t(this, T).setAttribute("aria-valuetext", `${l}%`);
1234
1280
  });
1235
- n(this, Et, () => {
1281
+ n(this, At, () => {
1236
1282
  const i = document.pictureInPictureElement === t(this, o), a = t(this, o), l = !!(this.pictureInPictureEnabled && document.pictureInPictureEnabled && a.requestPictureInPicture);
1237
- t(this, h).classList.toggle("is-picture-in-picture", i), t(this, st).disabled = !l, t(this, st).setAttribute("aria-label", i ? "Exit picture in picture" : "Enter picture in picture");
1283
+ t(this, h).classList.toggle("is-picture-in-picture", i), t(this, et).disabled = !l, t(this, et).setAttribute("aria-label", i ? "Exit picture in picture" : "Enter picture in picture");
1238
1284
  });
1239
1285
  n(this, Xt, () => {
1240
- const i = e(this, s, Ns).call(this), a = i === t(this, h) || i === this, l = e(this, s, Qe).call(this);
1241
- return t(this, h).classList.toggle("is-fullscreen", a), t(this, et).disabled = !l, t(this, et).setAttribute("aria-label", a ? "Exit fullscreen" : "Enter fullscreen"), a;
1286
+ const i = e(this, s, js).call(this), a = i === t(this, h) || i === this, l = e(this, s, ni).call(this);
1287
+ return t(this, h).classList.toggle("is-fullscreen", a), t(this, it).disabled = !l, t(this, it).setAttribute("aria-label", a ? "Exit fullscreen" : "Enter fullscreen"), a;
1242
1288
  });
1243
- n(this, Tt, () => {
1289
+ n(this, Lt, () => {
1244
1290
  const i = t(this, Xt).call(this);
1245
- e(this, s, Fi).call(this, i);
1291
+ e(this, s, Di).call(this, i);
1246
1292
  });
1247
- n(this, Ls, () => {
1248
- !t(this, z) || t(this, g) || (e(this, s, tt).call(this), e(this, s, $).call(this), e(this, s, At).call(this), r(this, g, !0), t(this, h).classList.add("is-scrubbing"), r(this, S, e(this, s, mt).call(this, t(this, Qt), !0)), t(this, rt) && t(this, o).pause(), t(this, o).currentTime = t(this, S), e(this, s, k).call(this, t(this, S)), e(this, s, I).call(this, t(this, S)), e(this, s, jt).call(this), e(this, s, T).call(this));
1293
+ n(this, Vs, () => {
1294
+ !t(this, R) || t(this, g) || (e(this, s, st).call(this), e(this, s, U).call(this), e(this, s, Ft).call(this), r(this, g, !0), t(this, h).classList.add("is-scrubbing"), r(this, L, e(this, s, bt).call(this, t(this, es), !0)), t(this, ot) && t(this, o).pause(), t(this, o).currentTime = t(this, L), e(this, s, k).call(this, t(this, L)), e(this, s, I).call(this, t(this, L)), e(this, s, Gt).call(this), e(this, s, C).call(this));
1295
+ });
1296
+ n(this, de, (i) => {
1297
+ i.stopPropagation(), r(this, ls, !t(this, ls)), e(this, s, Hi).call(this), e(this, s, E).call(this) || t(this, S) ? t(this, z) && (t(this, z).textContent = e(this, s, Ks).call(this, t(this, L))) : e(this, s, Ot).call(this, e(this, s, mt).call(this));
1249
1298
  });
1250
- n(this, ae, async () => {
1251
- if (performance.now() < t(this, gs))
1299
+ n(this, me, async () => {
1300
+ if (performance.now() < t(this, ks))
1252
1301
  return;
1253
- const i = t(this, L) ? t(this, L) !== "playing" : t(this, o).paused || t(this, o).ended, a = !i || e(this, s, mi).call(this);
1254
- e(this, s, Q).call(this), a && (r(this, L, i ? "playing" : "paused"), e(this, s, T).call(this)), i ? (e(this, s, tt).call(this), await e(this, s, pt).call(this), await t(this, o).play().catch(() => {
1255
- r(this, L, null);
1256
- })) : (e(this, s, vi).call(this), t(this, o).pause()), e(this, s, T).call(this), e(this, s, J).call(this);
1302
+ const i = t(this, F) ? t(this, F) !== "playing" : t(this, o).paused || t(this, o).ended, a = !i || e(this, s, xi).call(this);
1303
+ e(this, s, tt).call(this), a && (r(this, F, i ? "playing" : "paused"), e(this, s, C).call(this)), i ? (e(this, s, st).call(this), await e(this, s, dt).call(this), await t(this, o).play().catch(() => {
1304
+ r(this, F, null);
1305
+ })) : (e(this, s, Ti).call(this), t(this, o).pause()), e(this, s, C).call(this), e(this, s, Q).call(this);
1257
1306
  });
1258
- n(this, le, (i) => {
1307
+ n(this, fe, (i) => {
1259
1308
  if (!(i instanceof PointerEvent)) return;
1260
- const a = t(this, U).getBoundingClientRect(), l = i.clientX >= a.left && i.clientX <= a.right && i.clientY >= a.top && i.clientY <= a.bottom, u = t(this, X).getBoundingClientRect(), f = i.clientX >= u.left && i.clientX <= u.right && i.clientY >= u.top && i.clientY <= u.bottom, v = t(this, m).getBoundingClientRect(), Is = i.clientX >= v.left && i.clientX <= v.right && i.clientY >= v.top && i.clientY <= v.bottom, ls = e(this, s, Q).call(this);
1261
- ls && l && r(this, gs, performance.now() + 260), ls && (f || Is) && r(this, ss, performance.now() + 260), e(this, s, pt).call(this);
1309
+ const a = t(this, Y).getBoundingClientRect(), l = i.clientX >= a.left && i.clientX <= a.right && i.clientY >= a.top && i.clientY <= a.bottom, u = t(this, X).getBoundingClientRect(), f = i.clientX >= u.left && i.clientX <= u.right && i.clientY >= u.top && i.clientY <= u.bottom, v = t(this, m).getBoundingClientRect(), qs = i.clientX >= v.left && i.clientX <= v.right && i.clientY >= v.top && i.clientY <= v.bottom, ps = e(this, s, tt).call(this);
1310
+ ps && l && r(this, ks, performance.now() + 260), ps && (f || qs) && r(this, rs, performance.now() + 260), e(this, s, dt).call(this);
1262
1311
  });
1263
- n(this, he, (i) => {
1312
+ n(this, be, (i) => {
1264
1313
  i.stopPropagation();
1265
1314
  });
1266
- n(this, ns, () => {
1267
- r(this, xt, 0), !(t(this, ht) || t(this, Y)) && t(this, w).classList.remove("is-volume-open");
1315
+ n(this, cs, () => {
1316
+ r(this, Pt, 0), !(t(this, ct) || t(this, W)) && t(this, w).classList.remove("is-volume-open");
1268
1317
  });
1269
- n(this, Fs, () => {
1270
- e(this, s, A).call(this) || !this.volumeSliderEnabled || !t(this, y) || (r(this, ht, !0), e(this, s, si).call(this));
1318
+ n(this, Is, () => {
1319
+ e(this, s, A).call(this) || !this.volumeSliderEnabled || !t(this, y) || (r(this, ct, !0), e(this, s, li).call(this));
1271
1320
  });
1272
- n(this, Ss, () => {
1273
- e(this, s, A).call(this) || !this.volumeSliderEnabled || !t(this, y) || (r(this, ht, !1), e(this, s, ei).call(this));
1321
+ n(this, zs, () => {
1322
+ e(this, s, A).call(this) || !this.volumeSliderEnabled || !t(this, y) || (r(this, ct, !1), e(this, s, hi).call(this));
1274
1323
  });
1275
- n(this, ce, (i) => {
1276
- !this.volumeEnabled || !t(this, y) || (i.preventDefault(), i.stopPropagation(), !(!e(this, s, Yt).call(this) || e(this, s, ps).call(this)) && (e(this, s, Q).call(this), t(this, ns).call(this), t(this, o).muted || t(this, o).volume <= 0 ? (t(this, o).volume <= 0 && (t(this, o).volume = 0.7), t(this, o).muted = !1) : t(this, o).muted = !0, t(this, F).call(this), e(this, s, J).call(this)));
1324
+ n(this, ve, (i) => {
1325
+ !this.volumeEnabled || !t(this, y) || (i.preventDefault(), i.stopPropagation(), !(!e(this, s, jt).call(this) || e(this, s, bs).call(this)) && (e(this, s, tt).call(this), t(this, cs).call(this), t(this, o).muted || t(this, o).volume <= 0 ? (t(this, o).volume <= 0 && (t(this, o).volume = 0.7), t(this, o).muted = !1) : t(this, o).muted = !0, t(this, M).call(this), e(this, s, Q).call(this)));
1277
1326
  });
1278
- n(this, ue, (i) => {
1279
- i instanceof PointerEvent && (!this.volumeEnabled || !this.volumeSliderEnabled || !t(this, y) || e(this, s, A).call(this) || (i.preventDefault(), i.stopPropagation(), e(this, s, Q).call(this), e(this, s, $).call(this), e(this, s, si).call(this), r(this, Y, !0), r(this, x, i.pointerId), t(this, j).classList.add("is-scrubbing-volume"), t(this, E).setPointerCapture(i.pointerId), e(this, s, Je).call(this, i.clientY)));
1327
+ n(this, ge, (i) => {
1328
+ i instanceof PointerEvent && (!this.volumeEnabled || !this.volumeSliderEnabled || !t(this, y) || e(this, s, A).call(this) || (i.preventDefault(), i.stopPropagation(), e(this, s, tt).call(this), e(this, s, U).call(this), e(this, s, li).call(this), r(this, W, !0), r(this, x, i.pointerId), t(this, Z).classList.add("is-scrubbing-volume"), t(this, T).setPointerCapture(i.pointerId), e(this, s, oi).call(this, i.clientY)));
1280
1329
  });
1281
- n(this, pe, (i) => {
1282
- i instanceof PointerEvent && t(this, Y) && (t(this, x) !== null && i.pointerId !== t(this, x) || (i.preventDefault(), i.stopPropagation(), e(this, s, Je).call(this, i.clientY)));
1330
+ n(this, ye, (i) => {
1331
+ i instanceof PointerEvent && t(this, W) && (t(this, x) !== null && i.pointerId !== t(this, x) || (i.preventDefault(), i.stopPropagation(), e(this, s, oi).call(this, i.clientY)));
1283
1332
  });
1284
- n(this, de, (i) => {
1285
- i instanceof PointerEvent && (t(this, x) !== null && i.pointerId !== t(this, x) || (i.stopPropagation(), e(this, s, Zt).call(this, i.pointerId), e(this, s, J).call(this)));
1333
+ n(this, we, (i) => {
1334
+ i instanceof PointerEvent && (t(this, x) !== null && i.pointerId !== t(this, x) || (i.stopPropagation(), e(this, s, Jt).call(this, i.pointerId), e(this, s, Q).call(this)));
1286
1335
  });
1287
- n(this, me, (i) => {
1288
- i instanceof PointerEvent && (t(this, x) !== null && i.pointerId !== t(this, x) || (i.stopPropagation(), e(this, s, Zt).call(this, i.pointerId)));
1336
+ n(this, xe, (i) => {
1337
+ i instanceof PointerEvent && (t(this, x) !== null && i.pointerId !== t(this, x) || (i.stopPropagation(), e(this, s, Jt).call(this, i.pointerId)));
1289
1338
  });
1290
- n(this, fe, (i) => {
1339
+ n(this, ke, (i) => {
1291
1340
  if (!(i instanceof KeyboardEvent) || !this.volumeEnabled || !t(this, y) || !["ArrowUp", "ArrowDown", "Home", "End"].includes(i.key)) return;
1292
1341
  i.preventDefault(), i.stopPropagation();
1293
1342
  const a = i.shiftKey ? 0.1 : 0.05, l = i.key === "Home" ? 0 : i.key === "End" ? 1 : t(this, o).volume + (i.key === "ArrowUp" ? a : -a);
1294
- t(this, o).volume = Math.min(1, Math.max(0, l)), t(this, o).muted = t(this, o).volume <= 0, t(this, F).call(this);
1343
+ t(this, o).volume = Math.min(1, Math.max(0, l)), t(this, o).muted = t(this, o).volume <= 0, t(this, M).call(this);
1295
1344
  });
1296
- n(this, be, async () => {
1345
+ n(this, Pe, async () => {
1297
1346
  const i = t(this, o);
1298
- if (!(!this.pictureInPictureEnabled || !document.pictureInPictureEnabled || !i.requestPictureInPicture) && !(!e(this, s, Yt).call(this) || e(this, s, ps).call(this))) {
1299
- e(this, s, Q).call(this);
1347
+ if (!(!this.pictureInPictureEnabled || !document.pictureInPictureEnabled || !i.requestPictureInPicture) && !(!e(this, s, jt).call(this) || e(this, s, bs).call(this))) {
1348
+ e(this, s, tt).call(this);
1300
1349
  try {
1301
- await e(this, s, pt).call(this), document.pictureInPictureElement === t(this, o) ? await document.exitPictureInPicture() : await i.requestPictureInPicture();
1350
+ await e(this, s, dt).call(this), document.pictureInPictureElement === t(this, o) ? await document.exitPictureInPicture() : await i.requestPictureInPicture();
1302
1351
  } catch {
1303
1352
  } finally {
1304
- t(this, Et).call(this), e(this, s, J).call(this);
1353
+ t(this, At).call(this), e(this, s, Q).call(this);
1305
1354
  }
1306
1355
  }
1307
1356
  });
1308
- n(this, ve, async (i) => {
1309
- if (e(this, s, Qe).call(this) && (i.preventDefault(), i.stopPropagation(), !(!e(this, s, Yt).call(this) || e(this, s, ps).call(this)))) {
1310
- e(this, s, Nt).call(this, i), e(this, s, Q).call(this);
1357
+ n(this, Te, async (i) => {
1358
+ if (e(this, s, ni).call(this) && (i.preventDefault(), i.stopPropagation(), !(!e(this, s, jt).call(this) || e(this, s, bs).call(this)))) {
1359
+ e(this, s, Wt).call(this, i), e(this, s, tt).call(this);
1311
1360
  try {
1312
- const a = e(this, s, Ns).call(this);
1313
- a === t(this, h) || a === this ? await e(this, s, Li).call(this) : (await e(this, s, pt).call(this), Bi(t(this, h)) ? await e(this, s, Ci).call(this) : e(this, s, Ai).call(this));
1361
+ const a = e(this, s, js).call(this);
1362
+ a === t(this, h) || a === this ? await e(this, s, Ri).call(this) : (await e(this, s, dt).call(this), Zi(t(this, h)) ? await e(this, s, Ii).call(this) : e(this, s, zi).call(this));
1314
1363
  } catch {
1315
1364
  } finally {
1316
- t(this, Xt).call(this), e(this, s, J).call(this);
1365
+ t(this, Xt).call(this), e(this, s, Q).call(this);
1317
1366
  }
1318
1367
  }
1319
1368
  });
1320
- n(this, Ms, (i) => {
1321
- e(this, s, A).call(this) || e(this, s, C).call(this) || !(i instanceof PointerEvent) && !(i instanceof MouseEvent) || (r(this, M, !0), t(this, h).classList.add("is-progress-hovering"), e(this, s, mt).call(this, i.clientX, !1, !1));
1369
+ n(this, Rs, (i) => {
1370
+ e(this, s, A).call(this) || e(this, s, E).call(this) || !(i instanceof PointerEvent) && !(i instanceof MouseEvent) || (r(this, S, !0), t(this, h).classList.add("is-progress-hovering"), e(this, s, bt).call(this, i.clientX, !1, !1));
1322
1371
  });
1323
- n(this, Vs, () => {
1324
- e(this, s, C).call(this) || e(this, s, Ue).call(this);
1372
+ n(this, Ds, () => {
1373
+ e(this, s, E).call(this) || e(this, s, Ze).call(this);
1325
1374
  });
1326
- n(this, ge, (i) => {
1375
+ n(this, Ee, (i) => {
1327
1376
  if (i instanceof PointerEvent) {
1328
- if (i.preventDefault(), !e(this, s, Yt).call(this) || e(this, s, ps).call(this)) {
1329
- e(this, s, Q).call(this), e(this, s, A).call(this) && r(this, ss, performance.now() + 260);
1377
+ if (i.preventDefault(), !e(this, s, jt).call(this) || e(this, s, bs).call(this)) {
1378
+ e(this, s, tt).call(this), e(this, s, A).call(this) && r(this, rs, performance.now() + 260);
1330
1379
  return;
1331
1380
  }
1332
- e(this, s, Q).call(this), e(this, s, $).call(this), t(this, As).call(this), r(this, N, !1), r(this, bt, !1), e(this, s, xi).call(this, e(this, s, Ct).call(this)), r(this, z, !0), r(this, P, i.pointerId), r(this, Qt, i.clientX), r(this, rt, !t(this, o).paused && !t(this, o).ended), t(this, m).setPointerCapture(i.pointerId), r(this, S, e(this, s, mt).call(this, i.clientX, !1)), e(this, s, At).call(this), r(this, St, window.setTimeout(t(this, Ls), t(this, Os)));
1381
+ e(this, s, tt).call(this), e(this, s, U).call(this), t(this, Ms).call(this), r(this, _, !1), r(this, gt, !1), e(this, s, Li).call(this, e(this, s, mt).call(this)), r(this, R, !0), r(this, P, i.pointerId), r(this, es, i.clientX), r(this, ot, !t(this, o).paused && !t(this, o).ended), t(this, m).setPointerCapture(i.pointerId), r(this, L, e(this, s, bt).call(this, i.clientX, !1)), e(this, s, Ft).call(this), r(this, Vt, window.setTimeout(t(this, Vs), t(this, se)));
1333
1382
  }
1334
1383
  });
1335
- n(this, ye, (i) => {
1384
+ n(this, Ce, (i) => {
1336
1385
  if (!(i instanceof KeyboardEvent) || !Number.isFinite(t(this, o).duration) || t(this, o).duration <= 0 || !["ArrowLeft", "ArrowRight", "Home", "End", "PageUp", "PageDown"].includes(i.key)) return;
1337
- i.preventDefault(), i.stopPropagation(), t(this, Es).call(this);
1338
- const a = e(this, s, Ct).call(this), l = i.shiftKey ? 10 : 5, u = Math.max(10, t(this, o).duration * 0.1), f = i.key === "Home" ? 0 : i.key === "End" ? t(this, o).duration : i.key === "PageUp" ? a + u : i.key === "PageDown" ? a - u : a + (i.key === "ArrowRight" ? l : -l);
1386
+ i.preventDefault(), i.stopPropagation(), t(this, Ls).call(this);
1387
+ const a = e(this, s, mt).call(this), l = i.shiftKey ? 10 : 5, u = Math.max(10, t(this, o).duration * 0.1), f = i.key === "Home" ? 0 : i.key === "End" ? t(this, o).duration : i.key === "PageUp" ? a + u : i.key === "PageDown" ? a - u : a + (i.key === "ArrowRight" ? l : -l);
1339
1388
  t(this, o).currentTime = Math.min(t(this, o).duration, Math.max(0, f)), e(this, s, k).call(this, t(this, o).currentTime), e(this, s, I).call(this, t(this, o).currentTime);
1340
1389
  });
1341
- n(this, we, (i) => {
1390
+ n(this, Ae, (i) => {
1342
1391
  if (i instanceof PointerEvent) {
1343
- if (!t(this, z)) {
1344
- e(this, s, A).call(this) || (r(this, M, !0), t(this, h).classList.add("is-progress-hovering"), e(this, s, mt).call(this, i.clientX, !1, !1));
1392
+ if (!t(this, R)) {
1393
+ e(this, s, A).call(this) || (r(this, S, !0), t(this, h).classList.add("is-progress-hovering"), e(this, s, bt).call(this, i.clientX, !1, !1));
1345
1394
  return;
1346
1395
  }
1347
- t(this, P) !== null && i.pointerId !== t(this, P) || (!t(this, g) && Math.abs(i.clientX - t(this, Qt)) >= t(this, Ws) && t(this, Ls).call(this), t(this, g) && r(this, S, e(this, s, mt).call(this, i.clientX)));
1396
+ t(this, P) !== null && i.pointerId !== t(this, P) || (!t(this, g) && Math.abs(i.clientX - t(this, es)) >= t(this, Js) && t(this, Vs).call(this), t(this, g) && r(this, L, e(this, s, bt).call(this, i.clientX)));
1348
1397
  }
1349
1398
  });
1350
- n(this, xe, (i) => {
1351
- i instanceof PointerEvent && (t(this, P) !== null && i.pointerId !== t(this, P) || e(this, s, ti).call(this, i.clientX, i.pointerId, !0));
1399
+ n(this, Le, (i) => {
1400
+ i instanceof PointerEvent && (t(this, P) !== null && i.pointerId !== t(this, P) || e(this, s, ai).call(this, i.clientX, i.pointerId, !0));
1352
1401
  });
1353
- n(this, ke, (i) => {
1354
- i instanceof PointerEvent && (t(this, P) !== null && i.pointerId !== t(this, P) || e(this, s, _s).call(this, i.pointerId));
1402
+ n(this, Fe, (i) => {
1403
+ i instanceof PointerEvent && (t(this, P) !== null && i.pointerId !== t(this, P) || e(this, s, Os).call(this, i.pointerId));
1355
1404
  });
1356
- n(this, Pe, (i) => {
1405
+ n(this, Se, (i) => {
1357
1406
  if (i instanceof PointerEvent) {
1358
1407
  if (t(this, x) !== null && i.pointerId === t(this, x)) {
1359
- e(this, s, Zt).call(this, i.pointerId);
1408
+ e(this, s, Jt).call(this, i.pointerId);
1360
1409
  return;
1361
1410
  }
1362
- t(this, P) === null || i.pointerId !== t(this, P) || e(this, s, ti).call(this, i.clientX, i.pointerId, !0);
1411
+ t(this, P) === null || i.pointerId !== t(this, P) || e(this, s, ai).call(this, i.clientX, i.pointerId, !0);
1363
1412
  }
1364
1413
  });
1365
- n(this, Ee, (i) => {
1414
+ n(this, Me, (i) => {
1366
1415
  if (i instanceof PointerEvent) {
1367
1416
  if (t(this, x) !== null && i.pointerId === t(this, x)) {
1368
- e(this, s, Zt).call(this, i.pointerId);
1417
+ e(this, s, Jt).call(this, i.pointerId);
1369
1418
  return;
1370
1419
  }
1371
- t(this, P) === null || i.pointerId !== t(this, P) || e(this, s, _s).call(this, i.pointerId);
1420
+ t(this, P) === null || i.pointerId !== t(this, P) || e(this, s, Os).call(this, i.pointerId);
1372
1421
  }
1373
1422
  });
1374
- n(this, Te, () => {
1375
- e(this, s, Zt).call(this, t(this, x)), e(this, s, _s).call(this, t(this, P));
1423
+ n(this, Ve, () => {
1424
+ e(this, s, Jt).call(this, t(this, x)), e(this, s, Os).call(this, t(this, P));
1376
1425
  });
1377
- n(this, Ce, () => {
1378
- e(this, s, Ns).call(this) || e(this, s, us).call(this);
1426
+ n(this, Ie, () => {
1427
+ e(this, s, js).call(this) || e(this, s, fs).call(this);
1379
1428
  });
1380
- n(this, Ae, () => {
1381
- r(this, L, null), e(this, s, tt).call(this), e(this, s, C).call(this) || e(this, s, k).call(this), e(this, s, T).call(this);
1429
+ n(this, ze, () => {
1430
+ r(this, F, null), e(this, s, st).call(this), e(this, s, E).call(this) || e(this, s, k).call(this), e(this, s, C).call(this);
1382
1431
  });
1383
- n(this, Le, () => {
1384
- r(this, L, null), e(this, s, C).call(this) || e(this, s, Ge).call(this), t(this, V).call(this), e(this, s, T).call(this);
1432
+ n(this, Re, () => {
1433
+ r(this, F, null), e(this, s, E).call(this) || e(this, s, ri).call(this), t(this, V).call(this), e(this, s, C).call(this);
1385
1434
  });
1386
- n(this, Fe, () => {
1387
- r(this, L, null), e(this, s, tt).call(this), e(this, s, C).call(this) || e(this, s, k).call(this), e(this, s, T).call(this);
1435
+ n(this, De, () => {
1436
+ r(this, F, null), e(this, s, st).call(this), e(this, s, E).call(this) || e(this, s, k).call(this), e(this, s, C).call(this);
1388
1437
  });
1389
- n(this, Se, () => {
1390
- e(this, s, _t).call(this, !0, !0);
1438
+ n(this, qe, () => {
1439
+ e(this, s, Zt).call(this, !0, !0);
1391
1440
  });
1392
- n(this, as, () => {
1393
- e(this, s, _t).call(this, !0);
1441
+ n(this, us, () => {
1442
+ e(this, s, Zt).call(this, !0);
1394
1443
  });
1395
- n(this, Me, () => {
1396
- e(this, s, tt).call(this), r(this, y, !0), t(this, F).call(this), e(this, s, C).call(this) || e(this, s, k).call(this), t(this, V).call(this), e(this, s, I).call(this);
1444
+ n(this, He, () => {
1445
+ e(this, s, st).call(this), r(this, y, !0), t(this, M).call(this), e(this, s, E).call(this) || e(this, s, k).call(this), t(this, V).call(this), e(this, s, I).call(this);
1397
1446
  });
1398
- n(this, Ve, () => {
1399
- const i = t(this, Ut).call(this);
1400
- t(this, F).call(this), i && !e(this, s, C).call(this) && e(this, s, k).call(this), e(this, s, T).call(this);
1447
+ n(this, Be, () => {
1448
+ const i = t(this, Yt).call(this);
1449
+ t(this, M).call(this), i && !e(this, s, E).call(this) && e(this, s, k).call(this), e(this, s, C).call(this);
1401
1450
  });
1402
- n(this, Ie, () => {
1403
- if (e(this, s, tt).call(this), t(this, V).call(this), t(this, N) && (!t(this, bt) || t(this, o).readyState >= HTMLMediaElement.HAVE_FUTURE_DATA)) {
1404
- e(this, s, Ze).call(this), e(this, s, T).call(this);
1451
+ n(this, $e, () => {
1452
+ if (e(this, s, st).call(this), t(this, V).call(this), t(this, _) && (!t(this, gt) || t(this, o).readyState >= HTMLMediaElement.HAVE_FUTURE_DATA)) {
1453
+ e(this, s, si).call(this), e(this, s, C).call(this);
1405
1454
  return;
1406
1455
  }
1407
- e(this, s, C).call(this) || e(this, s, k).call(this), e(this, s, I).call(this);
1456
+ e(this, s, E).call(this) || e(this, s, k).call(this), e(this, s, I).call(this);
1408
1457
  });
1409
- n(this, ze, () => {
1410
- r(this, L, null), r(this, q, !1), r(this, B, !1), r(this, Z, !1), r(this, O, !1), r(this, K, t(this, K) + 1), t(this, h).classList.remove("has-visible-frame"), e(this, s, _t).call(this, !0, !0), e(this, s, T).call(this), e(this, s, fi).call(this);
1458
+ n(this, Ne, () => {
1459
+ r(this, F, null), r(this, $, !1), r(this, N, !1), r(this, O, !1), r(this, K, !1), r(this, G, t(this, G) + 1), t(this, h).classList.remove("has-visible-frame"), e(this, s, Zt).call(this, !0, !0), e(this, s, C).call(this), e(this, s, ki).call(this);
1411
1460
  });
1412
- n(this, Re, () => {
1413
- t(this, F).call(this), e(this, s, I).call(this);
1461
+ n(this, Ue, () => {
1462
+ t(this, M).call(this), e(this, s, I).call(this);
1414
1463
  });
1415
- n(this, De, () => {
1416
- t(this, F).call(this);
1464
+ n(this, Ye, () => {
1465
+ t(this, M).call(this);
1417
1466
  });
1418
- r(this, b, this.attachShadow({ mode: "open" })), t(this, b).append(ai.content.cloneNode(!0));
1467
+ r(this, b, this.attachShadow({ mode: "open" })), t(this, b).append(mi.content.cloneNode(!0));
1419
1468
  }
1420
1469
  get src() {
1421
1470
  return this.getAttribute("src") ?? "";
1422
1471
  }
1423
1472
  set src(i) {
1424
- e(this, s, zs).call(this, "src", i);
1473
+ e(this, s, Hs).call(this, "src", i);
1425
1474
  }
1426
1475
  get aspectRatio() {
1427
- return this.getAttribute("aspect-ratio") || ni;
1476
+ return this.getAttribute("aspect-ratio") || di;
1428
1477
  }
1429
1478
  set aspectRatio(i) {
1430
- e(this, s, zs).call(this, "aspect-ratio", i);
1479
+ e(this, s, Hs).call(this, "aspect-ratio", i);
1431
1480
  }
1432
1481
  get preloadMargin() {
1433
- return this.getAttribute("preload-margin") || zi;
1482
+ return this.getAttribute("preload-margin") || Yi;
1434
1483
  }
1435
1484
  set preloadMargin(i) {
1436
- e(this, s, zs).call(this, "preload-margin", i);
1485
+ e(this, s, Hs).call(this, "preload-margin", i);
1437
1486
  }
1438
1487
  get autoplayEnabled() {
1439
1488
  return !this.hasAttribute("disable-autoplay") && !this.hasAttribute("no-autoplay");
@@ -1469,7 +1518,7 @@ class li extends HTMLElement {
1469
1518
  return this.controlsEnabled && !this.hasAttribute("disable-volume") && !this.hasAttribute("no-volume");
1470
1519
  }
1471
1520
  set volumeEnabled(i) {
1472
- e(this, s, Rs).call(this, "volume", i);
1521
+ e(this, s, Bs).call(this, "volume", i);
1473
1522
  }
1474
1523
  get volumeSliderEnabled() {
1475
1524
  return !this.hasAttribute("disable-volume-slider") && !this.hasAttribute("no-volume-slider");
@@ -1485,191 +1534,191 @@ class li extends HTMLElement {
1485
1534
  return this.controlsEnabled && !this.hasAttribute("disable-picture-in-picture") && !this.hasAttribute("no-picture-in-picture");
1486
1535
  }
1487
1536
  set pictureInPictureEnabled(i) {
1488
- e(this, s, Rs).call(this, "picture-in-picture", i);
1537
+ e(this, s, Bs).call(this, "picture-in-picture", i);
1489
1538
  }
1490
1539
  get fullscreenEnabled() {
1491
1540
  return this.controlsEnabled && !this.hasAttribute("disable-fullscreen") && !this.hasAttribute("no-fullscreen");
1492
1541
  }
1493
1542
  set fullscreenEnabled(i) {
1494
- e(this, s, Rs).call(this, "fullscreen", i);
1543
+ e(this, s, Bs).call(this, "fullscreen", i);
1495
1544
  }
1496
1545
  connectedCallback() {
1497
- r(this, h, t(this, b).querySelector("[data-sp-player]")), r(this, o, t(this, b).querySelector("[data-sp-video]")), r(this, U, t(this, b).querySelector("[data-sp-button]")), r(this, m, t(this, b).querySelector("[data-sp-progress-track]")), r(this, X, t(this, b).querySelector("[data-sp-control-tray]")), r(this, W, t(this, b).querySelector("[data-sp-control-tray-slots]")), r(this, Gt, t(this, b).querySelector("[data-sp-time]")), r(this, Jt, t(this, b).querySelector("[data-sp-time-text]")), r(this, w, t(this, b).querySelector("[data-sp-volume-control]")), r(this, j, t(this, b).querySelector("[data-sp-volume-popover]")), r(this, E, t(this, b).querySelector("[data-sp-volume-track]")), r(this, st, t(this, b).querySelector("[data-sp-picture-in-picture-control]")), r(this, et, t(this, b).querySelector("[data-sp-fullscreen-control]")), r(this, it, [t(this, w), t(this, st), t(this, et)]), e(this, s, qe).call(this), t(this, Kt) || (e(this, s, hi).call(this), r(this, Kt, !0)), e(this, s, hs).call(this), e(this, s, Hs).call(this), e(this, s, Be).call(this), e(this, s, Ds).call(this), t(this, V).call(this), t(this, F).call(this), t(this, Et).call(this), t(this, Xt).call(this), e(this, s, T).call(this);
1546
+ r(this, h, t(this, b).querySelector("[data-sp-player]")), r(this, o, t(this, b).querySelector("[data-sp-video]")), r(this, Y, t(this, b).querySelector("[data-sp-button]")), r(this, m, t(this, b).querySelector("[data-sp-progress-track]")), r(this, X, t(this, b).querySelector("[data-sp-control-tray]")), r(this, j, t(this, b).querySelector("[data-sp-control-tray-slots]")), r(this, Gs, t(this, b).querySelector("[data-sp-tray-time]")), r(this, z, t(this, b).querySelector("[data-sp-tray-time-text]")), r(this, ss, t(this, b).querySelector("[data-sp-time]")), r(this, xs, t(this, b).querySelector("[data-sp-time-text]")), r(this, w, t(this, b).querySelector("[data-sp-volume-control]")), r(this, Z, t(this, b).querySelector("[data-sp-volume-popover]")), r(this, T, t(this, b).querySelector("[data-sp-volume-track]")), r(this, et, t(this, b).querySelector("[data-sp-picture-in-picture-control]")), r(this, it, t(this, b).querySelector("[data-sp-fullscreen-control]")), r(this, rt, [t(this, w), t(this, et), t(this, it)]), e(this, s, _e).call(this), t(this, ts) || (e(this, s, bi).call(this), r(this, ts, !0)), e(this, s, ds).call(this), e(this, s, Ns).call(this), e(this, s, We).call(this), e(this, s, $s).call(this), t(this, V).call(this), t(this, M).call(this), t(this, At).call(this), t(this, Xt).call(this), e(this, s, C).call(this);
1498
1547
  }
1499
1548
  disconnectedCallback() {
1500
- t(this, D)?.disconnect(), r(this, D, null), t(this, Ot).forEach((i) => i()), r(this, Ot, []), r(this, Kt, !1), e(this, s, $).call(this), e(this, s, Ye).call(this), e(this, s, ds).call(this), e(this, s, Us).call(this), e(this, s, At).call(this), e(this, s, ms).call(this), e(this, s, vs).call(this), e(this, s, _e).call(this), e(this, s, $s).call(this), t(this, h).classList.remove("is-volume-icon-animating"), t(this, W).style.removeProperty("--sp-control-hover-offset"), this.style.removeProperty("--sp-touch-control-hover-offset"), e(this, s, Wt).call(this), r(this, M, !1), t(this, h).classList.remove("is-progress-hovering"), r(this, Y, !1), r(this, ht, !1), r(this, G, !1), r(this, x, null), t(this, w).classList.remove("is-volume-open"), t(this, it).forEach((i) => i.classList.remove("is-control-tap-active")), t(this, h).classList.remove("is-pointer-active"), e(this, s, jt).call(this);
1549
+ t(this, H)?.disconnect(), r(this, H, null), t(this, Qt).forEach((i) => i()), r(this, Qt, []), r(this, ts, !1), e(this, s, U).call(this), e(this, s, Ge).call(this), e(this, s, vs).call(this), e(this, s, _s).call(this), e(this, s, Ft).call(this), e(this, s, gs).call(this), e(this, s, ws).call(this), e(this, s, Je).call(this), e(this, s, Xs).call(this), t(this, h).classList.remove("is-volume-icon-animating"), t(this, j).style.removeProperty("--sp-control-hover-offset"), this.style.removeProperty("--sp-touch-control-hover-offset"), e(this, s, Kt).call(this), r(this, S, !1), t(this, h).classList.remove("is-progress-hovering"), r(this, W, !1), r(this, ct, !1), r(this, J, !1), r(this, x, null), t(this, w).classList.remove("is-volume-open"), t(this, rt).forEach((i) => i.classList.remove("is-control-tap-active")), t(this, h).classList.remove("is-pointer-active"), e(this, s, Gt).call(this);
1501
1550
  }
1502
1551
  attributeChangedCallback(i, a, l) {
1503
1552
  if (a !== l) {
1504
1553
  if (i === "aspect-ratio") {
1505
- e(this, s, qe).call(this);
1554
+ e(this, s, _e).call(this);
1506
1555
  return;
1507
1556
  }
1508
1557
  if (i === "preload-margin" && this.isConnected) {
1509
- t(this, D)?.disconnect(), e(this, s, Hs).call(this);
1558
+ t(this, H)?.disconnect(), e(this, s, Ns).call(this);
1510
1559
  return;
1511
1560
  }
1512
1561
  if (i === "src" && this.isConnected) {
1513
- e(this, s, Si).call(this), e(this, s, Hs).call(this);
1562
+ e(this, s, Bi).call(this), e(this, s, Ns).call(this);
1514
1563
  return;
1515
1564
  }
1516
1565
  if ((i === "disable-autoplay" || i === "no-autoplay") && this.isConnected) {
1517
- e(this, s, hs).call(this), t(this, F).call(this), e(this, s, T).call(this);
1566
+ e(this, s, ds).call(this), t(this, M).call(this), e(this, s, C).call(this);
1518
1567
  return;
1519
1568
  }
1520
1569
  if (i === "show-time" && this.isConnected) {
1521
- e(this, s, Ds).call(this);
1570
+ e(this, s, $s).call(this);
1522
1571
  return;
1523
1572
  }
1524
- (i === "controls" || i.startsWith("enable-") || i.startsWith("disable-") || i.startsWith("no-")) && this.isConnected && (e(this, s, Be).call(this), t(this, F).call(this), t(this, Et).call(this), t(this, Xt).call(this), e(this, s, Ds).call(this));
1573
+ (i === "controls" || i.startsWith("enable-") || i.startsWith("disable-") || i.startsWith("no-")) && this.isConnected && (e(this, s, We).call(this), t(this, M).call(this), t(this, At).call(this), t(this, Xt).call(this), e(this, s, $s).call(this));
1525
1574
  }
1526
1575
  }
1527
1576
  }
1528
- b = new WeakMap(), Ot = new WeakMap(), D = new WeakMap(), Kt = new WeakMap(), H = new WeakMap(), h = new WeakMap(), o = new WeakMap(), U = new WeakMap(), m = new WeakMap(), X = new WeakMap(), W = new WeakMap(), Gt = new WeakMap(), Jt = new WeakMap(), w = new WeakMap(), j = new WeakMap(), E = new WeakMap(), st = new WeakMap(), et = new WeakMap(), it = new WeakMap(), ft = new WeakMap(), g = new WeakMap(), z = new WeakMap(), rt = new WeakMap(), S = new WeakMap(), Lt = new WeakMap(), ot = new WeakMap(), Ft = new WeakMap(), N = new WeakMap(), bt = new WeakMap(), Qt = new WeakMap(), St = new WeakMap(), P = new WeakMap(), L = new WeakMap(), ts = new WeakMap(), nt = new WeakMap(), vt = new WeakMap(), gt = new WeakMap(), at = new WeakMap(), gs = new WeakMap(), ss = new WeakMap(), q = new WeakMap(), B = new WeakMap(), Z = new WeakMap(), O = new WeakMap(), K = new WeakMap(), Mt = new WeakMap(), yt = new WeakMap(), ys = new WeakMap(), Vt = new WeakMap(), ws = new WeakMap(), xs = new WeakMap(), wt = new WeakMap(), R = new WeakMap(), lt = new WeakMap(), It = new WeakMap(), M = new WeakMap(), y = new WeakMap(), G = new WeakMap(), es = new WeakMap(), is = new WeakMap(), zt = new WeakMap(), Y = new WeakMap(), ht = new WeakMap(), x = new WeakMap(), xt = new WeakMap(), kt = new WeakMap(), Pt = new WeakMap(), rs = new WeakMap(), Ws = new WeakMap(), js = new WeakMap(), os = new WeakMap(), Zs = new WeakMap(), Os = new WeakMap(), ks = new WeakMap(), Rt = new WeakMap(), Ks = new WeakMap(), Gs = new WeakMap(), Js = new WeakMap(), Qs = new WeakMap(), te = new WeakMap(), se = new WeakMap(), Dt = new WeakMap(), ee = new WeakMap(), ie = new WeakMap(), s = new WeakSet(), zs = function(i, a) {
1577
+ b = new WeakMap(), Qt = new WeakMap(), H = new WeakMap(), ts = new WeakMap(), B = new WeakMap(), h = new WeakMap(), o = new WeakMap(), Y = new WeakMap(), m = new WeakMap(), X = new WeakMap(), j = new WeakMap(), Gs = new WeakMap(), z = new WeakMap(), ss = new WeakMap(), xs = new WeakMap(), w = new WeakMap(), Z = new WeakMap(), T = new WeakMap(), et = new WeakMap(), it = new WeakMap(), rt = new WeakMap(), vt = new WeakMap(), g = new WeakMap(), R = new WeakMap(), ot = new WeakMap(), L = new WeakMap(), St = new WeakMap(), nt = new WeakMap(), Mt = new WeakMap(), _ = new WeakMap(), gt = new WeakMap(), es = new WeakMap(), Vt = new WeakMap(), P = new WeakMap(), F = new WeakMap(), is = new WeakMap(), at = new WeakMap(), yt = new WeakMap(), wt = new WeakMap(), lt = new WeakMap(), ks = new WeakMap(), rs = new WeakMap(), $ = new WeakMap(), N = new WeakMap(), O = new WeakMap(), K = new WeakMap(), G = new WeakMap(), It = new WeakMap(), xt = new WeakMap(), Ps = new WeakMap(), zt = new WeakMap(), Ts = new WeakMap(), Es = new WeakMap(), kt = new WeakMap(), D = new WeakMap(), ht = new WeakMap(), Rt = new WeakMap(), S = new WeakMap(), y = new WeakMap(), J = new WeakMap(), os = new WeakMap(), ns = new WeakMap(), Dt = new WeakMap(), W = new WeakMap(), ct = new WeakMap(), x = new WeakMap(), Pt = new WeakMap(), Tt = new WeakMap(), Et = new WeakMap(), as = new WeakMap(), ls = new WeakMap(), Ct = new WeakMap(), Js = new WeakMap(), Qs = new WeakMap(), hs = new WeakMap(), te = new WeakMap(), se = new WeakMap(), Cs = new WeakMap(), qt = new WeakMap(), ee = new WeakMap(), ie = new WeakMap(), re = new WeakMap(), oe = new WeakMap(), ne = new WeakMap(), ae = new WeakMap(), Ht = new WeakMap(), le = new WeakMap(), he = new WeakMap(), s = new WeakSet(), Hs = function(i, a) {
1529
1578
  if (a === "") {
1530
1579
  this.removeAttribute(i);
1531
1580
  return;
1532
1581
  }
1533
1582
  this.setAttribute(i, a);
1534
- }, Rs = function(i, a) {
1583
+ }, Bs = function(i, a) {
1535
1584
  if (a) {
1536
1585
  this.setAttribute(`enable-${i}`, ""), this.removeAttribute(`disable-${i}`), this.removeAttribute(`no-${i}`);
1537
1586
  return;
1538
1587
  }
1539
1588
  this.removeAttribute(`enable-${i}`), this.setAttribute(`disable-${i}`, "");
1540
- }, qe = function() {
1589
+ }, _e = function() {
1541
1590
  this.style.setProperty("--simple-player-aspect-ratio", this.aspectRatio);
1542
- }, hs = function() {
1591
+ }, ds = function() {
1543
1592
  if (!t(this, o)) return;
1544
1593
  const i = this.autoplayEnabled;
1545
1594
  if (t(this, o).autoplay = i, i) {
1546
1595
  t(this, o).muted = !0, t(this, o).setAttribute("autoplay", ""), t(this, o).setAttribute("muted", "");
1547
1596
  return;
1548
1597
  }
1549
- t(this, o).removeAttribute("autoplay"), t(this, H) || (t(this, o).muted = !1, t(this, o).removeAttribute("muted"));
1550
- }, Be = function() {
1598
+ t(this, o).removeAttribute("autoplay"), t(this, B) || (t(this, o).muted = !1, t(this, o).removeAttribute("muted"));
1599
+ }, We = function() {
1551
1600
  if (!t(this, h)) return;
1552
1601
  const i = [
1553
1602
  { button: t(this, w), enabled: this.volumeEnabled, className: "has-volume-control" },
1554
- { button: t(this, st), enabled: this.pictureInPictureEnabled, className: "has-picture-in-picture-control" },
1555
- { button: t(this, et), enabled: this.fullscreenEnabled, className: "has-fullscreen-control" }
1603
+ { button: t(this, et), enabled: this.pictureInPictureEnabled, className: "has-picture-in-picture-control" },
1604
+ { button: t(this, it), enabled: this.fullscreenEnabled, className: "has-fullscreen-control" }
1556
1605
  ];
1557
1606
  let a = 0;
1558
1607
  for (const l of i)
1559
1608
  t(this, h).classList.toggle(l.className, l.enabled), l.button.hidden = !l.enabled, l.enabled ? (l.button.dataset.spControlIndex = `${a}`, a += 1) : delete l.button.dataset.spControlIndex;
1560
- this.style.setProperty("--sp-enabled-controls-count", `${a}`), this.style.setProperty("--sp-control-tray-display", a > 0 ? "block" : "none"), t(this, h).classList.toggle("has-volume-slider-control", this.volumeEnabled && this.volumeSliderEnabled), (!this.volumeEnabled || !this.volumeSliderEnabled) && (t(this, ns).call(this), e(this, s, Xs).call(this, t(this, x)), r(this, Y, !1), r(this, ht, !1), t(this, j).classList.remove("is-scrubbing-volume")), t(this, W).style.removeProperty("--sp-control-hover-offset");
1561
- }, Ds = function() {
1562
- if (!t(this, h)) return;
1563
- const i = this.timeVisible && this.controlsEnabled;
1564
- t(this, h).classList.toggle("has-pinned-time", i), i && e(this, s, bs).call(this);
1565
- }, hi = function() {
1566
- e(this, s, c).call(this, t(this, U), "click", t(this, ae)), e(this, s, c).call(this, this, "pointerenter", t(this, qt)), e(this, s, c).call(this, this, "pointermove", t(this, Bt)), e(this, s, c).call(this, this, "pointerleave", t(this, $t)), e(this, s, c).call(this, this, "mouseenter", t(this, qt)), e(this, s, c).call(this, this, "mousemove", t(this, Bt)), e(this, s, c).call(this, this, "mouseleave", t(this, $t)), e(this, s, c).call(this, t(this, h), "pointerenter", t(this, qt)), e(this, s, c).call(this, t(this, h), "pointermove", t(this, Bt)), e(this, s, c).call(this, t(this, h), "pointerleave", t(this, $t)), e(this, s, c).call(this, t(this, h), "mouseenter", t(this, qt)), e(this, s, c).call(this, t(this, h), "mousemove", t(this, Bt)), e(this, s, c).call(this, t(this, h), "mouseleave", t(this, $t)), e(this, s, c).call(this, t(this, U), "pointerenter", t(this, ct)), e(this, s, c).call(this, t(this, U), "pointerleave", t(this, ut)), e(this, s, c).call(this, t(this, U), "mouseenter", t(this, ct)), e(this, s, c).call(this, t(this, U), "mouseleave", t(this, ut)), e(this, s, c).call(this, t(this, m), "pointerenter", t(this, ct)), e(this, s, c).call(this, t(this, m), "pointerleave", t(this, ut)), e(this, s, c).call(this, t(this, m), "mouseenter", t(this, ct)), e(this, s, c).call(this, t(this, m), "mouseleave", t(this, ut)), e(this, s, c).call(this, t(this, m), "pointerenter", t(this, Ms)), e(this, s, c).call(this, t(this, m), "pointerleave", t(this, Vs)), e(this, s, c).call(this, t(this, m), "mouseenter", t(this, Ms)), e(this, s, c).call(this, t(this, m), "mouseleave", t(this, Vs)), e(this, s, c).call(this, t(this, X), "pointerenter", t(this, ct)), e(this, s, c).call(this, t(this, X), "pointerleave", t(this, ut)), e(this, s, c).call(this, t(this, X), "mouseenter", t(this, ct)), e(this, s, c).call(this, t(this, X), "mouseleave", t(this, ut)), e(this, s, c).call(this, t(this, b), "focusin", t(this, Es)), e(this, s, c).call(this, t(this, b), "focusout", t(this, oe)), e(this, s, c).call(this, t(this, h), "pointerdown", t(this, le)), e(this, s, c).call(this, t(this, h), "dragstart", t(this, Ht)), e(this, s, c).call(this, t(this, h), "selectstart", t(this, Ht)), e(this, s, c).call(this, t(this, o), "dragstart", t(this, Ht)), e(this, s, c).call(this, t(this, o), "selectstart", t(this, Ht)), e(this, s, c).call(this, t(this, m), "pointerdown", t(this, ge)), e(this, s, c).call(this, t(this, m), "pointermove", t(this, we)), e(this, s, c).call(this, t(this, m), "pointerup", t(this, xe)), e(this, s, c).call(this, t(this, m), "pointercancel", t(this, ke)), e(this, s, c).call(this, t(this, m), "keydown", t(this, ye)), e(this, s, c).call(this, t(this, w), "pointerenter", t(this, Fs)), e(this, s, c).call(this, t(this, w), "pointerleave", t(this, Ss)), e(this, s, c).call(this, t(this, w), "click", t(this, ce)), e(this, s, c).call(this, t(this, j), "pointerenter", t(this, Fs)), e(this, s, c).call(this, t(this, j), "pointerleave", t(this, Ss)), e(this, s, c).call(this, t(this, E), "pointerdown", t(this, ue)), e(this, s, c).call(this, t(this, E), "pointermove", t(this, pe)), e(this, s, c).call(this, t(this, E), "pointerup", t(this, de)), e(this, s, c).call(this, t(this, E), "pointercancel", t(this, me)), e(this, s, c).call(this, t(this, E), "click", t(this, he)), e(this, s, c).call(this, t(this, E), "keydown", t(this, fe)), e(this, s, c).call(this, t(this, st), "click", t(this, be)), e(this, s, c).call(this, t(this, et), "click", t(this, ve));
1567
- for (const i of t(this, it))
1568
- e(this, s, c).call(this, i, "pointerenter", t(this, Ts)), e(this, s, c).call(this, i, "mouseenter", t(this, Ts)), e(this, s, c).call(this, i, "pointerdown", t(this, ne));
1569
- e(this, s, c).call(this, document, "pointerup", t(this, Pe)), e(this, s, c).call(this, document, "pointercancel", t(this, Ee)), e(this, s, c).call(this, document, "pointermove", t(this, Ps)), e(this, s, c).call(this, document, "mousemove", t(this, Ps)), e(this, s, c).call(this, document, "fullscreenchange", t(this, Tt)), e(this, s, c).call(this, document, "webkitfullscreenchange", t(this, Tt)), e(this, s, c).call(this, document, "mozfullscreenchange", t(this, Tt)), e(this, s, c).call(this, document, "MSFullscreenChange", t(this, Tt)), e(this, s, c).call(this, t(this, b), "fullscreenchange", t(this, Tt)), e(this, s, c).call(this, window, "blur", t(this, Te)), e(this, s, c).call(this, window, "focus", t(this, Ce)), e(this, s, c).call(this, t(this, o), "play", t(this, Ae)), e(this, s, c).call(this, t(this, o), "pause", t(this, Le)), e(this, s, c).call(this, t(this, o), "ended", t(this, Fe)), e(this, s, c).call(this, t(this, o), "loadstart", t(this, Se)), e(this, s, c).call(this, t(this, o), "waiting", t(this, as)), e(this, s, c).call(this, t(this, o), "stalled", t(this, as)), e(this, s, c).call(this, t(this, o), "seeking", t(this, as)), e(this, s, c).call(this, t(this, o), "loadeddata", t(this, Ut)), e(this, s, c).call(this, t(this, o), "loadedmetadata", t(this, Me)), e(this, s, c).call(this, t(this, o), "canplay", t(this, Ut)), e(this, s, c).call(this, t(this, o), "canplaythrough", t(this, Ut)), e(this, s, c).call(this, t(this, o), "playing", t(this, Ve)), e(this, s, c).call(this, t(this, o), "seeked", t(this, Ie)), e(this, s, c).call(this, t(this, o), "error", t(this, ze)), e(this, s, c).call(this, t(this, o), "progress", t(this, V)), e(this, s, c).call(this, t(this, o), "suspend", t(this, V)), e(this, s, c).call(this, t(this, o), "timeupdate", t(this, Re)), e(this, s, c).call(this, t(this, o), "volumechange", t(this, De)), e(this, s, c).call(this, t(this, o), "enterpictureinpicture", t(this, Et)), e(this, s, c).call(this, t(this, o), "leavepictureinpicture", t(this, Et));
1609
+ this.style.setProperty("--sp-enabled-controls-count", `${a}`), this.style.setProperty("--sp-control-tray-display", a > 0 ? "block" : "none"), t(this, h).classList.toggle("has-volume-slider-control", this.volumeEnabled && this.volumeSliderEnabled), (!this.volumeEnabled || !this.volumeSliderEnabled) && (t(this, cs).call(this), e(this, s, Ws).call(this, t(this, x)), r(this, W, !1), r(this, ct, !1), t(this, Z).classList.remove("is-scrubbing-volume")), t(this, j).style.removeProperty("--sp-control-hover-offset");
1610
+ }, _t = function() {
1611
+ return this.timeVisible && this.controlsEnabled;
1612
+ }, $s = function() {
1613
+ t(this, h) && (t(this, h).classList.toggle("has-pinned-time", t(this, s, _t)), t(this, s, _t) && e(this, s, Ot).call(this));
1614
+ }, bi = function() {
1615
+ e(this, s, c).call(this, t(this, Y), "click", t(this, me)), e(this, s, c).call(this, this, "pointerenter", t(this, $t)), e(this, s, c).call(this, this, "pointermove", t(this, Nt)), e(this, s, c).call(this, this, "pointerleave", t(this, Ut)), e(this, s, c).call(this, this, "mouseenter", t(this, $t)), e(this, s, c).call(this, this, "mousemove", t(this, Nt)), e(this, s, c).call(this, this, "mouseleave", t(this, Ut)), e(this, s, c).call(this, t(this, h), "pointerenter", t(this, $t)), e(this, s, c).call(this, t(this, h), "pointermove", t(this, Nt)), e(this, s, c).call(this, t(this, h), "pointerleave", t(this, Ut)), e(this, s, c).call(this, t(this, h), "mouseenter", t(this, $t)), e(this, s, c).call(this, t(this, h), "mousemove", t(this, Nt)), e(this, s, c).call(this, t(this, h), "mouseleave", t(this, Ut)), e(this, s, c).call(this, t(this, Y), "pointerenter", t(this, ut)), e(this, s, c).call(this, t(this, Y), "pointerleave", t(this, pt)), e(this, s, c).call(this, t(this, Y), "mouseenter", t(this, ut)), e(this, s, c).call(this, t(this, Y), "mouseleave", t(this, pt)), e(this, s, c).call(this, t(this, m), "pointerenter", t(this, ut)), e(this, s, c).call(this, t(this, m), "pointerleave", t(this, pt)), e(this, s, c).call(this, t(this, m), "mouseenter", t(this, ut)), e(this, s, c).call(this, t(this, m), "mouseleave", t(this, pt)), e(this, s, c).call(this, t(this, m), "pointerenter", t(this, Rs)), e(this, s, c).call(this, t(this, m), "pointerleave", t(this, Ds)), e(this, s, c).call(this, t(this, m), "mouseenter", t(this, Rs)), e(this, s, c).call(this, t(this, m), "mouseleave", t(this, Ds)), e(this, s, c).call(this, t(this, X), "pointerenter", t(this, ut)), e(this, s, c).call(this, t(this, X), "pointerleave", t(this, pt)), e(this, s, c).call(this, t(this, X), "mouseenter", t(this, ut)), e(this, s, c).call(this, t(this, X), "mouseleave", t(this, pt)), e(this, s, c).call(this, t(this, b), "focusin", t(this, Ls)), e(this, s, c).call(this, t(this, b), "focusout", t(this, ue)), e(this, s, c).call(this, t(this, h), "pointerdown", t(this, fe)), e(this, s, c).call(this, t(this, h), "dragstart", t(this, Bt)), e(this, s, c).call(this, t(this, h), "selectstart", t(this, Bt)), e(this, s, c).call(this, t(this, o), "dragstart", t(this, Bt)), e(this, s, c).call(this, t(this, o), "selectstart", t(this, Bt)), e(this, s, c).call(this, t(this, m), "pointerdown", t(this, Ee)), e(this, s, c).call(this, t(this, m), "pointermove", t(this, Ae)), e(this, s, c).call(this, t(this, m), "pointerup", t(this, Le)), e(this, s, c).call(this, t(this, m), "pointercancel", t(this, Fe)), e(this, s, c).call(this, t(this, m), "keydown", t(this, Ce)), e(this, s, c).call(this, t(this, w), "pointerenter", t(this, Is)), e(this, s, c).call(this, t(this, w), "pointerleave", t(this, zs)), e(this, s, c).call(this, t(this, w), "click", t(this, ve)), e(this, s, c).call(this, t(this, Z), "pointerenter", t(this, Is)), e(this, s, c).call(this, t(this, Z), "pointerleave", t(this, zs)), e(this, s, c).call(this, t(this, T), "pointerdown", t(this, ge)), e(this, s, c).call(this, t(this, T), "pointermove", t(this, ye)), e(this, s, c).call(this, t(this, T), "pointerup", t(this, we)), e(this, s, c).call(this, t(this, T), "pointercancel", t(this, xe)), e(this, s, c).call(this, t(this, T), "click", t(this, be)), e(this, s, c).call(this, t(this, T), "keydown", t(this, ke)), e(this, s, c).call(this, t(this, et), "click", t(this, Pe)), e(this, s, c).call(this, t(this, it), "click", t(this, Te)), e(this, s, c).call(this, t(this, z), "click", t(this, de));
1616
+ for (const i of t(this, rt))
1617
+ e(this, s, c).call(this, i, "pointerenter", t(this, Fs)), e(this, s, c).call(this, i, "mouseenter", t(this, Fs)), e(this, s, c).call(this, i, "pointerdown", t(this, pe));
1618
+ e(this, s, c).call(this, document, "pointerup", t(this, Se)), e(this, s, c).call(this, document, "pointercancel", t(this, Me)), e(this, s, c).call(this, document, "pointermove", t(this, As)), e(this, s, c).call(this, document, "mousemove", t(this, As)), e(this, s, c).call(this, document, "fullscreenchange", t(this, Lt)), e(this, s, c).call(this, document, "webkitfullscreenchange", t(this, Lt)), e(this, s, c).call(this, document, "mozfullscreenchange", t(this, Lt)), e(this, s, c).call(this, document, "MSFullscreenChange", t(this, Lt)), e(this, s, c).call(this, t(this, b), "fullscreenchange", t(this, Lt)), e(this, s, c).call(this, window, "blur", t(this, Ve)), e(this, s, c).call(this, window, "focus", t(this, Ie)), e(this, s, c).call(this, t(this, o), "play", t(this, ze)), e(this, s, c).call(this, t(this, o), "pause", t(this, Re)), e(this, s, c).call(this, t(this, o), "ended", t(this, De)), e(this, s, c).call(this, t(this, o), "loadstart", t(this, qe)), e(this, s, c).call(this, t(this, o), "waiting", t(this, us)), e(this, s, c).call(this, t(this, o), "stalled", t(this, us)), e(this, s, c).call(this, t(this, o), "seeking", t(this, us)), e(this, s, c).call(this, t(this, o), "loadeddata", t(this, Yt)), e(this, s, c).call(this, t(this, o), "loadedmetadata", t(this, He)), e(this, s, c).call(this, t(this, o), "canplay", t(this, Yt)), e(this, s, c).call(this, t(this, o), "canplaythrough", t(this, Yt)), e(this, s, c).call(this, t(this, o), "playing", t(this, Be)), e(this, s, c).call(this, t(this, o), "seeked", t(this, $e)), e(this, s, c).call(this, t(this, o), "error", t(this, Ne)), e(this, s, c).call(this, t(this, o), "progress", t(this, V)), e(this, s, c).call(this, t(this, o), "suspend", t(this, V)), e(this, s, c).call(this, t(this, o), "timeupdate", t(this, Ue)), e(this, s, c).call(this, t(this, o), "volumechange", t(this, Ye)), e(this, s, c).call(this, t(this, o), "enterpictureinpicture", t(this, At)), e(this, s, c).call(this, t(this, o), "leavepictureinpicture", t(this, At));
1570
1619
  }, c = function(i, a, l) {
1571
- i.addEventListener(a, l), t(this, Ot).push(() => i.removeEventListener(a, l));
1572
- }, Hs = function() {
1573
- if (!(!this.src || t(this, H))) {
1574
- if (t(this, D)?.disconnect(), t(this, o).dataset.src = this.src, "IntersectionObserver" in window) {
1575
- r(this, D, new IntersectionObserver((i, a) => {
1576
- i.some((l) => l.isIntersecting) && (a.disconnect(), r(this, D, null), e(this, s, pt).call(this));
1577
- }, { rootMargin: this.preloadMargin })), t(this, D).observe(t(this, h));
1620
+ i.addEventListener(a, l), t(this, Qt).push(() => i.removeEventListener(a, l));
1621
+ }, Ns = function() {
1622
+ if (!(!this.src || t(this, B))) {
1623
+ if (t(this, H)?.disconnect(), t(this, o).dataset.src = this.src, "IntersectionObserver" in window) {
1624
+ r(this, H, new IntersectionObserver((i, a) => {
1625
+ i.some((l) => l.isIntersecting) && (a.disconnect(), r(this, H, null), e(this, s, dt).call(this));
1626
+ }, { rootMargin: this.preloadMargin })), t(this, H).observe(t(this, h));
1578
1627
  return;
1579
1628
  }
1580
- e(this, s, pt).call(this);
1581
- }
1582
- }, Ht = new WeakMap(), $ = function() {
1583
- t(this, vt) && (window.clearTimeout(t(this, vt)), r(this, vt, 0));
1584
- }, re = new WeakMap(), cs = function(i = e(this, s, A).call(this) ? t(this, ks) : t(this, Rt)) {
1585
- e(this, s, $).call(this), r(this, vt, window.setTimeout(t(this, re), i));
1586
- }, J = function() {
1587
- e(this, s, A).call(this) && e(this, s, cs).call(this, t(this, ks));
1629
+ e(this, s, dt).call(this);
1630
+ }
1631
+ }, Bt = new WeakMap(), U = function() {
1632
+ t(this, yt) && (window.clearTimeout(t(this, yt)), r(this, yt, 0));
1633
+ }, ce = new WeakMap(), ms = function(i = e(this, s, A).call(this) ? t(this, Cs) : t(this, qt)) {
1634
+ e(this, s, U).call(this), r(this, yt, window.setTimeout(t(this, ce), i));
1588
1635
  }, Q = function() {
1636
+ e(this, s, A).call(this) && e(this, s, ms).call(this, t(this, Cs));
1637
+ }, tt = function() {
1589
1638
  if (!e(this, s, A).call(this)) return !1;
1590
1639
  const i = t(this, h).classList.contains("is-controls-visible");
1591
- return t(this, h).classList.add("is-controls-visible"), e(this, s, J).call(this), !i;
1592
- }, qs = function(i = !1) {
1593
- !i && e(this, s, A).call(this) || (t(this, h).classList.add("is-pointer-active"), t(this, G) ? e(this, s, $).call(this) : e(this, s, cs).call(this, i ? t(this, Rt) : void 0));
1594
- }, us = function() {
1595
- r(this, G, !1), e(this, s, $).call(this), t(this, h).classList.remove("is-pointer-active");
1596
- }, Nt = function(i) {
1597
- return i instanceof PointerEvent ? (r(this, zt, i.pointerType === "touch"), t(this, zt) ? !1 : (r(this, es, i.clientX), r(this, is, i.clientY), !0)) : i instanceof MouseEvent ? (r(this, zt, !1), r(this, es, i.clientX), r(this, is, i.clientY), !0) : !1;
1598
- }, ci = function(i, a) {
1640
+ return t(this, h).classList.add("is-controls-visible"), e(this, s, Q).call(this), !i;
1641
+ }, Us = function(i = !1) {
1642
+ !i && e(this, s, A).call(this) || (t(this, h).classList.add("is-pointer-active"), t(this, J) ? e(this, s, U).call(this) : e(this, s, ms).call(this, i ? t(this, qt) : void 0));
1643
+ }, fs = function() {
1644
+ r(this, J, !1), e(this, s, U).call(this), t(this, h).classList.remove("is-pointer-active");
1645
+ }, Wt = function(i) {
1646
+ return i instanceof PointerEvent ? (r(this, Dt, i.pointerType === "touch"), t(this, Dt) ? !1 : (r(this, os, i.clientX), r(this, ns, i.clientY), !0)) : i instanceof MouseEvent ? (r(this, Dt, !1), r(this, os, i.clientX), r(this, ns, i.clientY), !0) : !1;
1647
+ }, vi = function(i, a) {
1599
1648
  if (i === null || a === null || i < 0 || a < 0 || i > window.innerWidth || a > window.innerHeight) return !1;
1600
1649
  const l = this.getBoundingClientRect();
1601
1650
  return l.width <= 0 || l.height <= 0 ? !1 : i >= l.left && i <= l.right && a >= l.top && a <= l.bottom;
1602
- }, $e = function(i, a, l) {
1651
+ }, je = function(i, a, l) {
1603
1652
  if (!i) return !1;
1604
1653
  const u = i.getBoundingClientRect();
1605
1654
  return u.width <= 0 || u.height <= 0 ? !1 : a >= u.left && a <= u.right && l >= u.top && l <= u.bottom;
1606
- }, Ue = function() {
1607
- t(this, M) && (r(this, M, !1), t(this, h).classList.remove("is-progress-hovering"), e(this, s, Wt).call(this), e(this, s, bs).call(this));
1608
- }, Xe = function(i, a) {
1655
+ }, Ze = function() {
1656
+ t(this, S) && (r(this, S, !1), t(this, h).classList.remove("is-progress-hovering"), e(this, s, Kt).call(this), e(this, s, Ot).call(this));
1657
+ }, Oe = function(i, a) {
1609
1658
  if (e(this, s, A).call(this)) return;
1610
- !e(this, s, C).call(this) && e(this, s, $e).call(this, t(this, m), i, a) ? (r(this, M, !0), t(this, h).classList.add("is-progress-hovering"), e(this, s, mt).call(this, i, !1, !1)) : e(this, s, C).call(this) || e(this, s, Ue).call(this);
1611
- const l = t(this, it).find((f) => !f.hidden && !e(this, s, Bs).call(this, f) && e(this, s, $e).call(this, f, i, a)) ?? null;
1659
+ !e(this, s, E).call(this) && e(this, s, je).call(this, t(this, m), i, a) ? (r(this, S, !0), t(this, h).classList.add("is-progress-hovering"), e(this, s, bt).call(this, i, !1, !1)) : e(this, s, E).call(this) || e(this, s, Ze).call(this);
1660
+ const l = t(this, rt).find((f) => !f.hidden && !e(this, s, Ys).call(this, f) && e(this, s, je).call(this, f, i, a)) ?? null;
1612
1661
  if (!l) return;
1613
1662
  const u = Number(l.dataset.spControlIndex ?? 0);
1614
- t(this, W).style.setProperty("--sp-control-hover-offset", `calc(var(--sp-control-slot-size) * ${u})`);
1615
- }, Yt = function() {
1663
+ t(this, j).style.setProperty("--sp-control-hover-offset", `calc(var(--sp-control-slot-size) * ${u})`);
1664
+ }, jt = function() {
1616
1665
  return t(this, h).classList.contains("is-controls-visible") || t(this, h).classList.contains("is-pointer-active") || t(this, b).activeElement instanceof HTMLElement;
1617
- }, ps = function() {
1618
- return e(this, s, A).call(this) && performance.now() < t(this, ss);
1619
- }, Bs = function(i) {
1666
+ }, bs = function() {
1667
+ return e(this, s, A).call(this) && performance.now() < t(this, rs);
1668
+ }, Ys = function(i) {
1620
1669
  return i instanceof HTMLButtonElement && (i.disabled || i === t(this, w) && (!this.volumeEnabled || !t(this, y)));
1621
- }, Ne = function() {
1622
- if (!t(this, zt) && e(this, s, ci).call(this, t(this, es), t(this, is))) {
1623
- e(this, s, qs).call(this, !0);
1670
+ }, Ke = function() {
1671
+ if (!t(this, Dt) && e(this, s, vi).call(this, t(this, os), t(this, ns))) {
1672
+ e(this, s, Us).call(this, !0);
1624
1673
  return;
1625
1674
  }
1626
- e(this, s, us).call(this);
1627
- }, qt = new WeakMap(), Bt = new WeakMap(), Ps = new WeakMap(), $t = new WeakMap(), ct = new WeakMap(), ut = new WeakMap(), Es = new WeakMap(), oe = new WeakMap(), Ts = new WeakMap(), $s = function() {
1628
- t(this, Pt) && (window.clearTimeout(t(this, Pt)), r(this, Pt, 0));
1629
- }, Cs = new WeakMap(), ne = new WeakMap(), Ye = function() {
1630
- t(this, gt) && (window.clearTimeout(t(this, gt)), r(this, gt, 0));
1631
- }, ds = function() {
1632
- t(this, nt) && (window.clearTimeout(t(this, nt)), r(this, nt, 0));
1633
- }, Us = function() {
1675
+ e(this, s, fs).call(this);
1676
+ }, $t = new WeakMap(), Nt = new WeakMap(), As = new WeakMap(), Ut = new WeakMap(), ut = new WeakMap(), pt = new WeakMap(), Ls = new WeakMap(), ue = new WeakMap(), Fs = new WeakMap(), Xs = function() {
1677
+ t(this, Et) && (window.clearTimeout(t(this, Et)), r(this, Et, 0));
1678
+ }, Ss = new WeakMap(), pe = new WeakMap(), Ge = function() {
1679
+ t(this, wt) && (window.clearTimeout(t(this, wt)), r(this, wt, 0));
1680
+ }, vs = function() {
1634
1681
  t(this, at) && (window.clearTimeout(t(this, at)), r(this, at, 0));
1635
- }, ms = function() {
1636
- t(this, Mt) && (window.clearTimeout(t(this, Mt)), r(this, Mt, 0));
1637
- }, _e = function() {
1638
- t(this, kt) && (window.clearTimeout(t(this, kt)), r(this, kt, 0));
1639
- }, ui = function() {
1640
- e(this, s, _e).call(this), t(this, h).classList.remove("is-volume-icon-animating"), t(this, w).offsetWidth, t(this, h).classList.add("is-volume-icon-animating"), r(this, kt, window.setTimeout(() => {
1641
- r(this, kt, 0), t(this, h).classList.remove("is-volume-icon-animating");
1682
+ }, _s = function() {
1683
+ t(this, lt) && (window.clearTimeout(t(this, lt)), r(this, lt, 0));
1684
+ }, gs = function() {
1685
+ t(this, It) && (window.clearTimeout(t(this, It)), r(this, It, 0));
1686
+ }, Je = function() {
1687
+ t(this, Tt) && (window.clearTimeout(t(this, Tt)), r(this, Tt, 0));
1688
+ }, gi = function() {
1689
+ e(this, s, Je).call(this), t(this, h).classList.remove("is-volume-icon-animating"), t(this, w).offsetWidth, t(this, h).classList.add("is-volume-icon-animating"), r(this, Tt, window.setTimeout(() => {
1690
+ r(this, Tt, 0), t(this, h).classList.remove("is-volume-icon-animating");
1642
1691
  }, 240));
1643
- }, As = new WeakMap(), pi = function() {
1644
- t(this, yt) || t(this, at) || (t(this, h).classList.add("is-progress-settling"), e(this, s, dt).call(this, 0), r(this, at, window.setTimeout(t(this, As), t(this, Gs))));
1645
- }, pt = async function() {
1646
- if (t(this, H)) return;
1692
+ }, Ms = new WeakMap(), yi = function() {
1693
+ t(this, xt) || t(this, lt) || (t(this, h).classList.add("is-progress-settling"), e(this, s, ft).call(this, 0), r(this, lt, window.setTimeout(t(this, Ms), t(this, ie))));
1694
+ }, dt = async function() {
1695
+ if (t(this, B)) return;
1647
1696
  const i = t(this, o).dataset.src || this.src;
1648
- i && (e(this, s, ds).call(this), e(this, s, ms).call(this), r(this, ts, t(this, ts) + 1), r(this, H, !0), r(this, q, !1), r(this, B, !1), r(this, Z, !1), r(this, O, !1), r(this, K, t(this, K) + 1), t(this, h).classList.remove("has-visible-frame"), e(this, s, hs).call(this), t(this, o).src = i, t(this, o).preload = "auto", t(this, o).load(), t(this, o).autoplay && t(this, o).muted && await t(this, o).play().catch(() => {
1697
+ i && (e(this, s, vs).call(this), e(this, s, gs).call(this), r(this, is, t(this, is) + 1), r(this, B, !0), r(this, $, !1), r(this, N, !1), r(this, O, !1), r(this, K, !1), r(this, G, t(this, G) + 1), t(this, h).classList.remove("has-visible-frame"), e(this, s, ds).call(this), t(this, o).src = i, t(this, o).preload = "auto", t(this, o).load(), t(this, o).autoplay && t(this, o).muted && await t(this, o).play().catch(() => {
1649
1698
  }));
1650
- }, We = function() {
1699
+ }, Qe = function() {
1651
1700
  return !t(this, o).loop || t(this, o).paused || !Number.isFinite(t(this, o).duration) || t(this, o).duration <= 0 ? !1 : t(this, o).currentTime < 0.28 || t(this, o).duration - t(this, o).currentTime < 0.28;
1652
- }, di = function(i = t(this, o).currentTime) {
1701
+ }, wi = function(i = t(this, o).currentTime) {
1653
1702
  if (!Number.isFinite(i)) return 0;
1654
1703
  const a = Math.max(0, i);
1655
1704
  try {
1656
1705
  for (let l = 0; l < t(this, o).buffered.length; l += 1) {
1657
1706
  const u = t(this, o).buffered.start(l), f = t(this, o).buffered.end(l);
1658
- if (a + t(this, Dt) >= u && a <= f + t(this, Dt))
1707
+ if (a + t(this, Ht) >= u && a <= f + t(this, Ht))
1659
1708
  return Math.max(0, f - a);
1660
1709
  }
1661
1710
  } catch {
1662
1711
  return 0;
1663
1712
  }
1664
1713
  return 0;
1665
- }, je = function(i = t(this, se)) {
1666
- if (!t(this, H) || t(this, o).error || !t(this, h).classList.contains("has-loaded-once") || !Number.isFinite(t(this, o).duration) || t(this, o).duration <= 0) return !1;
1714
+ }, ti = function(i = t(this, ae)) {
1715
+ if (!t(this, B) || t(this, o).error || !t(this, h).classList.contains("has-loaded-once") || !Number.isFinite(t(this, o).duration) || t(this, o).duration <= 0) return !1;
1667
1716
  const a = Math.max(0, t(this, o).duration - t(this, o).currentTime), l = Math.min(i, a);
1668
- return l <= t(this, Dt) || e(this, s, di).call(this) + t(this, Dt) >= l;
1669
- }, _t = function(i, a = !1) {
1670
- e(this, s, Ye).call(this);
1671
- const l = i && !e(this, s, We).call(this) && !e(this, s, je).call(this), f = i && !t(this, B) || l;
1672
- if (r(this, Vt, f), !f) {
1717
+ return l <= t(this, Ht) || e(this, s, wi).call(this) + t(this, Ht) >= l;
1718
+ }, Zt = function(i, a = !1) {
1719
+ e(this, s, Ge).call(this);
1720
+ const l = i && !e(this, s, Qe).call(this) && !e(this, s, ti).call(this), f = i && !t(this, N) || l;
1721
+ if (r(this, zt, f), !f) {
1673
1722
  t(this, h).classList.remove("is-loading");
1674
1723
  return;
1675
1724
  }
@@ -1677,204 +1726,214 @@ b = new WeakMap(), Ot = new WeakMap(), D = new WeakMap(), Kt = new WeakMap(), H
1677
1726
  t(this, h).classList.add("is-loading");
1678
1727
  return;
1679
1728
  }
1680
- r(this, gt, window.setTimeout(() => {
1681
- if (r(this, gt, 0), !t(this, B) || !e(this, s, We).call(this) && !e(this, s, je).call(this)) {
1682
- r(this, Vt, !0), t(this, h).classList.add("is-loading");
1729
+ r(this, wt, window.setTimeout(() => {
1730
+ if (r(this, wt, 0), !t(this, N) || !e(this, s, Qe).call(this) && !e(this, s, ti).call(this)) {
1731
+ r(this, zt, !0), t(this, h).classList.add("is-loading");
1683
1732
  return;
1684
1733
  }
1685
- r(this, Vt, !1), t(this, h).classList.remove("is-loading");
1686
- }, t(this, Ks)));
1687
- }, V = new WeakMap(), mi = function() {
1688
- return t(this, H) && !t(this, o).error && t(this, q) && (t(this, o).readyState >= HTMLMediaElement.HAVE_FUTURE_DATA || t(this, o).readyState >= HTMLMediaElement.HAVE_CURRENT_DATA && !t(this, h).classList.contains("is-loading"));
1689
- }, C = function() {
1690
- return t(this, z) || t(this, g) || t(this, N);
1691
- }, fi = function() {
1692
- t(this, ts) >= t(this, te) || t(this, nt) || r(this, nt, window.setTimeout(() => {
1693
- r(this, nt, 0), e(this, s, ms).call(this), r(this, H, !1), r(this, q, !1), r(this, B, !1), r(this, Z, !1), r(this, O, !1), r(this, K, t(this, K) + 1), t(this, h).classList.remove("has-visible-frame"), t(this, h).classList.contains("has-loaded-once") || e(this, s, dt).call(this, 0), t(this, o).removeAttribute("src"), t(this, o).load(), e(this, s, pt).call(this);
1694
- }, t(this, Qs)));
1695
- }, Ze = function() {
1696
- return t(this, N) ? (r(this, N, !1), r(this, bt, !1), e(this, s, k).call(this), e(this, s, I).call(this), !0) : !1;
1697
- }, Oe = function() {
1698
- return e(this, s, ds).call(this), !t(this, h).classList.contains("has-loaded-once") && e(this, s, pi).call(this), t(this, h).classList.add("has-loaded-once"), t(this, h).classList.add("has-visible-frame"), t(this, V).call(this), r(this, L, null), t(this, N) ? (e(this, s, Ze).call(this), !0) : (e(this, s, C).call(this) || e(this, s, k).call(this), e(this, s, I).call(this), !0);
1699
- }, bi = function() {
1700
- if (t(this, q) || t(this, Z) || t(this, o).error) return;
1701
- r(this, Z, !0);
1702
- const i = t(this, K), a = () => {
1703
- if (i === t(this, K)) {
1704
- if (e(this, s, ms).call(this), r(this, Z, !1), r(this, q, !t(this, o).error && t(this, o).readyState >= HTMLMediaElement.HAVE_CURRENT_DATA && t(this, o).videoWidth > 0 && t(this, o).videoHeight > 0), t(this, q)) {
1705
- if (t(this, O) || t(this, B)) return;
1706
- r(this, O, !0), window.requestAnimationFrame(() => {
1734
+ r(this, zt, !1), t(this, h).classList.remove("is-loading");
1735
+ }, t(this, ee)));
1736
+ }, V = new WeakMap(), xi = function() {
1737
+ return t(this, B) && !t(this, o).error && t(this, $) && (t(this, o).readyState >= HTMLMediaElement.HAVE_FUTURE_DATA || t(this, o).readyState >= HTMLMediaElement.HAVE_CURRENT_DATA && !t(this, h).classList.contains("is-loading"));
1738
+ }, E = function() {
1739
+ return t(this, R) || t(this, g) || t(this, _);
1740
+ }, ki = function() {
1741
+ t(this, is) >= t(this, ne) || t(this, at) || r(this, at, window.setTimeout(() => {
1742
+ r(this, at, 0), e(this, s, gs).call(this), r(this, B, !1), r(this, $, !1), r(this, N, !1), r(this, O, !1), r(this, K, !1), r(this, G, t(this, G) + 1), t(this, h).classList.remove("has-visible-frame"), t(this, h).classList.contains("has-loaded-once") || e(this, s, ft).call(this, 0), t(this, o).removeAttribute("src"), t(this, o).load(), e(this, s, dt).call(this);
1743
+ }, t(this, oe)));
1744
+ }, si = function() {
1745
+ return t(this, _) ? (r(this, _, !1), r(this, gt, !1), e(this, s, k).call(this), e(this, s, I).call(this), !0) : !1;
1746
+ }, ei = function() {
1747
+ return e(this, s, vs).call(this), !t(this, h).classList.contains("has-loaded-once") && e(this, s, yi).call(this), t(this, h).classList.add("has-loaded-once"), t(this, h).classList.add("has-visible-frame"), t(this, V).call(this), r(this, F, null), t(this, _) ? (e(this, s, si).call(this), !0) : (e(this, s, E).call(this) || e(this, s, k).call(this), e(this, s, I).call(this), !0);
1748
+ }, Pi = function() {
1749
+ if (t(this, $) || t(this, O) || t(this, o).error) return;
1750
+ r(this, O, !0);
1751
+ const i = t(this, G), a = () => {
1752
+ if (i === t(this, G)) {
1753
+ if (e(this, s, gs).call(this), r(this, O, !1), r(this, $, !t(this, o).error && t(this, o).readyState >= HTMLMediaElement.HAVE_CURRENT_DATA && t(this, o).videoWidth > 0 && t(this, o).videoHeight > 0), t(this, $)) {
1754
+ if (t(this, K) || t(this, N)) return;
1755
+ r(this, K, !0), window.requestAnimationFrame(() => {
1707
1756
  window.requestAnimationFrame(() => {
1708
- i === t(this, K) && (r(this, O, !1), r(this, B, !0), e(this, s, Oe).call(this), e(this, s, T).call(this));
1757
+ i === t(this, G) && (r(this, K, !1), r(this, N, !0), e(this, s, ei).call(this), e(this, s, C).call(this));
1709
1758
  });
1710
- }), e(this, s, T).call(this);
1759
+ }), e(this, s, C).call(this);
1711
1760
  return;
1712
1761
  }
1713
1762
  t(this, V).call(this);
1714
1763
  }
1715
1764
  };
1716
1765
  if ("requestVideoFrameCallback" in t(this, o)) {
1717
- t(this, o).requestVideoFrameCallback(a), r(this, Mt, window.setTimeout(a, 180));
1766
+ t(this, o).requestVideoFrameCallback(a), r(this, It, window.setTimeout(a, 180));
1718
1767
  return;
1719
1768
  }
1720
1769
  window.requestAnimationFrame(a);
1721
- }, Ut = new WeakMap(), Ke = function() {
1770
+ }, Yt = new WeakMap(), ii = function() {
1722
1771
  return !t(this, o).paused && (!t(this, o).ended || t(this, o).loop) && t(this, o).readyState >= HTMLMediaElement.HAVE_FUTURE_DATA;
1723
1772
  }, k = function(i = t(this, o).currentTime) {
1724
- r(this, ws, Number.isFinite(i) ? Math.max(0, i) : 0), r(this, xs, performance.now());
1725
- }, tt = function() {
1726
- r(this, R, null), r(this, lt, null);
1727
- }, Ge = function() {
1773
+ r(this, Ts, Number.isFinite(i) ? Math.max(0, i) : 0), r(this, Es, performance.now());
1774
+ }, st = function() {
1775
+ r(this, D, null), r(this, ht, null);
1776
+ }, ri = function() {
1728
1777
  if (!Number.isFinite(t(this, o).duration) || t(this, o).duration <= 0) {
1729
- r(this, R, null);
1778
+ r(this, D, null);
1730
1779
  return;
1731
1780
  }
1732
- const i = Number.isFinite(t(this, o).currentTime) ? Math.max(0, t(this, o).currentTime) : 0, a = Number.isFinite(t(this, wt)) ? t(this, wt) : i;
1733
- r(this, R, Math.min(t(this, o).duration, Math.max(i, a))), e(this, s, k).call(this, t(this, R));
1734
- }, vi = function() {
1781
+ const i = Number.isFinite(t(this, o).currentTime) ? Math.max(0, t(this, o).currentTime) : 0, a = Number.isFinite(t(this, kt)) ? t(this, kt) : i;
1782
+ r(this, D, Math.min(t(this, o).duration, Math.max(i, a))), e(this, s, k).call(this, t(this, D));
1783
+ }, Ti = function() {
1735
1784
  if (!Number.isFinite(t(this, o).duration) || t(this, o).duration <= 0) {
1736
- r(this, lt, null), e(this, s, Ge).call(this);
1785
+ r(this, ht, null), e(this, s, ri).call(this);
1737
1786
  return;
1738
1787
  }
1739
- const i = t(this, h).style.getPropertyValue("--sp-progress-inset"), a = Number.parseFloat(i), l = Number.isFinite(a) ? Math.min(1, Math.max(0, 1 - a / 100)) : null, u = e(this, s, Ct).call(this), f = Math.min(1, Math.max(0, u / t(this, o).duration)), v = Math.max(l ?? 0, f);
1740
- r(this, lt, v), r(this, R, v * t(this, o).duration), e(this, s, k).call(this, t(this, R)), e(this, s, dt).call(this, v), t(this, m).setAttribute("aria-valuenow", `${t(this, R)}`), t(this, m).setAttribute(
1788
+ const i = t(this, h).style.getPropertyValue("--sp-progress-inset"), a = Number.parseFloat(i), l = Number.isFinite(a) ? Math.min(1, Math.max(0, 1 - a / 100)) : null, u = e(this, s, mt).call(this), f = Math.min(1, Math.max(0, u / t(this, o).duration)), v = Math.max(l ?? 0, f);
1789
+ r(this, ht, v), r(this, D, v * t(this, o).duration), e(this, s, k).call(this, t(this, D)), e(this, s, ft).call(this, v), t(this, m).setAttribute("aria-valuenow", `${t(this, D)}`), t(this, m).setAttribute(
1741
1790
  "aria-valuetext",
1742
- `${_(t(this, R))} of ${_(t(this, o).duration)}`
1791
+ `${q(t(this, D))} of ${q(t(this, o).duration)}`
1743
1792
  );
1744
- }, Ct = function() {
1793
+ }, mt = function() {
1745
1794
  if (!Number.isFinite(t(this, o).duration) || t(this, o).duration <= 0) return t(this, o).currentTime || 0;
1746
- if (e(this, s, C).call(this)) return t(this, S);
1747
- if (t(this, R) !== null) return t(this, R);
1748
- if (!e(this, s, Ke).call(this)) return t(this, o).currentTime || 0;
1749
- if (t(this, Vt) || !t(this, yt) || performance.now() < t(this, ys))
1795
+ if (e(this, s, E).call(this)) return t(this, L);
1796
+ if (t(this, D) !== null) return t(this, D);
1797
+ if (!e(this, s, ii).call(this)) return t(this, o).currentTime || 0;
1798
+ if (t(this, zt) || !t(this, xt) || performance.now() < t(this, Ps))
1750
1799
  return e(this, s, k).call(this), t(this, o).currentTime || 0;
1751
1800
  if (t(this, h).classList.contains("is-loading") && t(this, o).readyState < HTMLMediaElement.HAVE_FUTURE_DATA)
1752
1801
  return e(this, s, k).call(this), t(this, o).currentTime || 0;
1753
- const i = (performance.now() - t(this, xs)) / 1e3, a = t(this, ws) + i, l = t(this, o).loop ? a % t(this, o).duration : Math.min(a, t(this, o).duration);
1802
+ const i = (performance.now() - t(this, Es)) / 1e3, a = t(this, Ts) + i, l = t(this, o).loop ? a % t(this, o).duration : Math.min(a, t(this, o).duration);
1754
1803
  return !t(this, o).loop && t(this, o).currentTime - l > 0.45 ? (e(this, s, k).call(this), t(this, o).currentTime) : l;
1755
- }, dt = function(i) {
1756
- const a = Math.min(1, Math.max(0, i)), l = (1 - a) * 100, { innerWidth: u } = e(this, s, yi).call(this), f = 1 / u, v = t(this, g) && t(this, Ft) && t(this, ot) + f < a;
1804
+ }, ft = function(i) {
1805
+ const a = Math.min(1, Math.max(0, i)), l = (1 - a) * 100, { innerWidth: u } = e(this, s, Ci).call(this), f = 1 / u, v = t(this, g) && t(this, Mt) && t(this, nt) + f < a;
1757
1806
  if (t(this, h).style.setProperty("--sp-progress-inset", `${l}%`), t(this, h).style.setProperty("--sp-return-marker-base-opacity", v ? "0" : "1"), v) {
1758
- const Is = e(this, s, fs).call(this, t(this, ot)), ls = Math.max(0, u - 2), Mi = Math.min(ls, Math.max(0, Is - 3));
1759
- t(this, h).style.setProperty("--sp-return-marker-hole-left", `${Mi}px`);
1807
+ const qs = e(this, s, ys).call(this, t(this, nt)), ps = Math.max(0, u - 2), $i = Math.min(ps, Math.max(0, qs - 3));
1808
+ t(this, h).style.setProperty("--sp-return-marker-hole-left", `${$i}px`);
1760
1809
  } else
1761
1810
  t(this, h).style.setProperty("--sp-return-marker-hole-left", "-9999px");
1762
- }, gi = function(i) {
1811
+ }, Ei = function(i) {
1763
1812
  return !Number.isFinite(t(this, o).duration) || t(this, o).duration <= 0 ? 0 : Math.min(1, Math.max(0, i / t(this, o).duration));
1764
- }, yi = function(i = t(this, m).getBoundingClientRect()) {
1765
- return ii(i);
1766
- }, fs = function(i, a = t(this, m).getBoundingClientRect()) {
1767
- return Ni(i, a);
1768
- }, wi = function(i, a) {
1769
- return Yi(i, a);
1770
- }, xi = function(i) {
1771
- r(this, Lt, Number.isFinite(i) ? Math.max(0, i) : 0), r(this, ot, e(this, s, gi).call(this, t(this, Lt)));
1772
- const a = t(this, m).getBoundingClientRect(), l = e(this, s, fs).call(this, t(this, ot), a), u = l >= t(this, os) && l <= Math.max(t(this, os), a.width - t(this, os));
1773
- r(this, Ft, t(this, Lt) > t(this, Zs) && u), t(this, h).classList.toggle("has-return-marker", t(this, Ft)), t(this, h).style.setProperty("--sp-return-marker-left", `${l}px`);
1774
- }, ki = function(i, a, l, u = t(this, g)) {
1813
+ }, Ci = function(i = t(this, m).getBoundingClientRect()) {
1814
+ return ci(i);
1815
+ }, ys = function(i, a = t(this, m).getBoundingClientRect()) {
1816
+ return Ji(i, a);
1817
+ }, Ai = function(i, a) {
1818
+ return Qi(i, a);
1819
+ }, Li = function(i) {
1820
+ r(this, St, Number.isFinite(i) ? Math.max(0, i) : 0), r(this, nt, e(this, s, Ei).call(this, t(this, St)));
1821
+ const a = t(this, m).getBoundingClientRect(), l = e(this, s, ys).call(this, t(this, nt), a), u = l >= t(this, hs) && l <= Math.max(t(this, hs), a.width - t(this, hs));
1822
+ r(this, Mt, t(this, St) > t(this, te) && u), t(this, h).classList.toggle("has-return-marker", t(this, Mt)), t(this, h).style.setProperty("--sp-return-marker-left", `${l}px`);
1823
+ }, Fi = function(i, a, l, u = t(this, g)) {
1775
1824
  const f = l * t(this, o).duration;
1776
- if (!u || !t(this, Ft))
1825
+ if (!u || !t(this, Mt))
1777
1826
  return { percent: l, targetTime: f };
1778
- const v = a.left + e(this, s, fs).call(this, t(this, ot), a);
1779
- return Math.abs(i - v) <= t(this, js) ? {
1780
- percent: t(this, ot),
1781
- targetTime: t(this, Lt)
1827
+ const v = a.left + e(this, s, ys).call(this, t(this, nt), a);
1828
+ return Math.abs(i - v) <= t(this, Qs) ? {
1829
+ percent: t(this, nt),
1830
+ targetTime: t(this, St)
1782
1831
  } : { percent: l, targetTime: f };
1783
- }, bs = function(i = e(this, s, Ct).call(this)) {
1784
- !this.timeVisible || t(this, M) || e(this, s, C).call(this) || (t(this, Jt).textContent = _(i));
1785
- }, I = function(i = e(this, s, Ct).call(this)) {
1832
+ }, Ot = function(i = e(this, s, mt).call(this)) {
1833
+ !t(this, s, _t) || t(this, S) || e(this, s, E).call(this) || (t(this, z).textContent = e(this, s, Ks).call(this, i));
1834
+ }, I = function(i = e(this, s, mt).call(this)) {
1786
1835
  const a = Number.isFinite(t(this, o).duration) && t(this, o).duration > 0;
1787
- if (a && t(this, lt) !== null) {
1788
- const f = t(this, lt) * t(this, o).duration;
1789
- r(this, wt, f), e(this, s, dt).call(this, t(this, lt)), t(this, m).setAttribute("aria-valuemin", "0"), t(this, m).setAttribute("aria-valuemax", `${t(this, o).duration}`), t(this, m).setAttribute("aria-valuenow", `${f}`), t(this, m).setAttribute(
1836
+ if (a && t(this, ht) !== null) {
1837
+ const f = t(this, ht) * t(this, o).duration;
1838
+ r(this, kt, f), e(this, s, ft).call(this, t(this, ht)), t(this, m).setAttribute("aria-valuemin", "0"), t(this, m).setAttribute("aria-valuemax", `${t(this, o).duration}`), t(this, m).setAttribute("aria-valuenow", `${f}`), t(this, m).setAttribute(
1790
1839
  "aria-valuetext",
1791
- `${_(f)} of ${_(t(this, o).duration)}`
1792
- ), e(this, s, bs).call(this, f);
1840
+ `${q(f)} of ${q(t(this, o).duration)}`
1841
+ ), e(this, s, Ot).call(this, f);
1793
1842
  return;
1794
1843
  }
1795
1844
  const l = a ? Math.min(t(this, o).duration, Math.max(0, i)) : i, u = a ? l / t(this, o).duration : 0;
1796
- r(this, wt, Number.isFinite(l) ? Math.max(0, l) : 0), e(this, s, dt).call(this, u), t(this, m).setAttribute("aria-valuemin", "0"), t(this, m).setAttribute("aria-valuemax", a ? `${t(this, o).duration}` : "0"), t(this, m).setAttribute("aria-valuenow", a ? `${l}` : "0"), t(this, m).setAttribute(
1845
+ r(this, kt, Number.isFinite(l) ? Math.max(0, l) : 0), e(this, s, ft).call(this, u), t(this, m).setAttribute("aria-valuemin", "0"), t(this, m).setAttribute("aria-valuemax", a ? `${t(this, o).duration}` : "0"), t(this, m).setAttribute("aria-valuenow", a ? `${l}` : "0"), t(this, m).setAttribute(
1797
1846
  "aria-valuetext",
1798
- a ? `${_(l)} of ${_(t(this, o).duration)}` : "Loading video"
1799
- ), e(this, s, bs).call(this, l);
1800
- }, mt = function(i, a = t(this, g), l = !0) {
1847
+ a ? `${q(l)} of ${q(t(this, o).duration)}` : "Loading video"
1848
+ ), e(this, s, Ot).call(this, l);
1849
+ }, bt = function(i, a = t(this, g), l = !0) {
1801
1850
  if (!Number.isFinite(t(this, o).duration) || t(this, o).duration <= 0) return t(this, o).currentTime;
1802
- const u = t(this, m).getBoundingClientRect(), f = e(this, s, wi).call(this, i, u), v = e(this, s, ki).call(this, i, u, f, a);
1803
- return l && e(this, s, dt).call(this, v.percent), this.timeVisible || t(this, h).style.setProperty("--sp-scrub-preview-left", `${e(this, s, fs).call(this, v.percent, u)}px`), t(this, Jt).textContent = _(v.targetTime), l && (t(this, m).setAttribute("aria-valuenow", `${v.targetTime}`), t(this, m).setAttribute(
1851
+ const u = t(this, m).getBoundingClientRect(), f = e(this, s, Ai).call(this, i, u), v = e(this, s, Fi).call(this, i, u, f, a);
1852
+ return l && e(this, s, ft).call(this, v.percent), t(this, s, _t) || t(this, h).style.setProperty("--sp-scrub-preview-left", `${e(this, s, ys).call(this, v.percent, u)}px`), t(this, xs).textContent = q(v.targetTime), t(this, z).textContent = e(this, s, Ks).call(this, v.targetTime), l && (t(this, m).setAttribute("aria-valuenow", `${v.targetTime}`), t(this, m).setAttribute(
1804
1853
  "aria-valuetext",
1805
- `${_(v.targetTime)} of ${_(t(this, o).duration)}`
1806
- )), e(this, s, Pi).call(this), v.targetTime;
1807
- }, Wt = function() {
1808
- r(this, It, !1), t(this, h)?.classList.remove("has-controls-collision");
1809
- }, Pi = function() {
1810
- if (!t(this, g) && !t(this, M) || !t(this, X) || !t(this, Gt)) {
1811
- e(this, s, Wt).call(this);
1854
+ `${q(v.targetTime)} of ${q(t(this, o).duration)}`
1855
+ )), e(this, s, Si).call(this), v.targetTime;
1856
+ }, Kt = function() {
1857
+ r(this, Rt, !1), t(this, h)?.classList.remove("has-controls-collision");
1858
+ }, Si = function() {
1859
+ if (!t(this, g) && !t(this, S) || !t(this, X) || !t(this, ss) || t(this, s, _t)) {
1860
+ e(this, s, Kt).call(this);
1812
1861
  return;
1813
1862
  }
1814
- const i = t(this, X).getBoundingClientRect(), a = t(this, Gt).getBoundingClientRect(), l = i.width > 0 && i.height > 0, u = t(this, It) ? t(this, ie) : t(this, ee), f = l && a.right >= i.left - u && a.left <= i.right + u && a.bottom >= i.top - u && a.top <= i.bottom + u;
1815
- r(this, It, f), t(this, h).classList.toggle("has-controls-collision", t(this, It));
1816
- }, jt = function() {
1817
- t(this, ft) && (window.cancelAnimationFrame(t(this, ft)), r(this, ft, 0));
1818
- }, Ei = function() {
1819
- e(this, s, jt).call(this), e(this, s, k).call(this);
1863
+ const i = t(this, X).getBoundingClientRect(), a = t(this, ss).getBoundingClientRect(), l = i.width > 0 && i.height > 0, u = t(this, Rt) ? t(this, he) : t(this, le), f = l && a.right >= i.left - u && a.left <= i.right + u && a.bottom >= i.top - u && a.top <= i.bottom + u;
1864
+ r(this, Rt, f), t(this, h).classList.toggle("has-controls-collision", t(this, Rt));
1865
+ }, Gt = function() {
1866
+ t(this, vt) && (window.cancelAnimationFrame(t(this, vt)), r(this, vt, 0));
1867
+ }, Mi = function() {
1868
+ e(this, s, Gt).call(this), e(this, s, k).call(this);
1820
1869
  const i = () => {
1821
- e(this, s, I).call(this, e(this, s, Ct).call(this)), e(this, s, Ke).call(this) && r(this, ft, window.requestAnimationFrame(i));
1870
+ e(this, s, I).call(this, e(this, s, mt).call(this)), e(this, s, ii).call(this) && r(this, vt, window.requestAnimationFrame(i));
1822
1871
  };
1823
- r(this, ft, window.requestAnimationFrame(i));
1824
- }, T = function() {
1825
- const i = !t(this, o).paused && (!t(this, o).ended || t(this, o).loop) || t(this, g) && t(this, rt), a = t(this, L) ? t(this, L) === "playing" : i;
1826
- if (t(this, h).classList.toggle("is-playing", a), t(this, U).setAttribute("aria-label", a ? "Pause video" : "Play video"), t(this, g)) {
1827
- e(this, s, jt).call(this);
1872
+ r(this, vt, window.requestAnimationFrame(i));
1873
+ }, C = function() {
1874
+ const i = !t(this, o).paused && (!t(this, o).ended || t(this, o).loop) || t(this, g) && t(this, ot), a = t(this, F) ? t(this, F) === "playing" : i;
1875
+ if (t(this, h).classList.toggle("is-playing", a), t(this, Y).setAttribute("aria-label", a ? "Pause video" : "Play video"), t(this, g)) {
1876
+ e(this, s, Gt).call(this);
1828
1877
  return;
1829
1878
  }
1830
- i && t(this, h).classList.contains("has-loaded-once") && !t(this, h).classList.contains("is-progress-settling") ? e(this, s, Ei).call(this) : (e(this, s, jt).call(this), e(this, s, I).call(this));
1831
- }, At = function() {
1832
- t(this, St) && (window.clearTimeout(t(this, St)), r(this, St, 0));
1833
- }, Ti = function() {
1834
- return Xi(t(this, o), t(this, y));
1835
- }, F = new WeakMap(), Je = function(i) {
1879
+ i && t(this, h).classList.contains("has-loaded-once") && !t(this, h).classList.contains("is-progress-settling") ? e(this, s, Mi).call(this) : (e(this, s, Gt).call(this), e(this, s, I).call(this));
1880
+ }, Ft = function() {
1881
+ t(this, Vt) && (window.clearTimeout(t(this, Vt)), r(this, Vt, 0));
1882
+ }, Vi = function() {
1883
+ return Gi(t(this, o), t(this, y));
1884
+ }, M = new WeakMap(), oi = function(i) {
1836
1885
  if (!t(this, y)) return;
1837
- const a = t(this, E).getBoundingClientRect(), l = Math.min(1, Math.max(0, 1 - (i - a.top) / a.height)), u = Math.round(l * 100) / 100;
1838
- t(this, o).volume = u, t(this, o).muted = u <= 0, t(this, F).call(this);
1839
- }, Xs = function(i) {
1840
- i !== null && t(this, E).hasPointerCapture(i) && t(this, E).releasePointerCapture(i);
1841
- }, Zt = function(i) {
1842
- r(this, Y, !1), r(this, x, null), t(this, j).classList.remove("is-scrubbing-volume"), t(this, E).blur(), e(this, s, Xs).call(this, i), e(this, s, ei).call(this, 260);
1843
- }, Et = new WeakMap(), Ns = function() {
1844
- return Di(t(this, b));
1845
- }, Qe = function() {
1846
- return Hi(this.fullscreenEnabled, t(this, h), t(this, o));
1847
- }, Ci = function() {
1848
- return qi(t(this, h));
1849
- }, Ai = function() {
1850
- $i(t(this, o));
1851
- }, Li = function() {
1852
- return Ui();
1853
- }, Xt = new WeakMap(), Tt = new WeakMap(), Fi = function(i) {
1854
- e(this, s, $).call(this), e(this, s, vs).call(this), e(this, s, Ys).call(this, t(this, P)), e(this, s, Xs).call(this, t(this, x)), e(this, s, At).call(this), r(this, z, !1), r(this, g, !1), r(this, M, !1), t(this, h).classList.remove("is-progress-hovering"), r(this, P, null), r(this, G, !1), r(this, ht, !1), r(this, Y, !1), r(this, x, null), e(this, s, $s).call(this), t(this, Cs).call(this), t(this, W).style.removeProperty("--sp-control-hover-offset"), t(this, w).classList.remove("is-volume-open"), t(this, j).classList.remove("is-scrubbing-volume"), t(this, h).classList.remove("is-scrubbing"), t(this, h).classList.remove("is-pointer-active");
1886
+ const a = t(this, T).getBoundingClientRect(), l = Math.min(1, Math.max(0, 1 - (i - a.top) / a.height)), u = Math.round(l * 100) / 100;
1887
+ t(this, o).volume = u, t(this, o).muted = u <= 0, t(this, M).call(this);
1888
+ }, Ws = function(i) {
1889
+ i !== null && t(this, T).hasPointerCapture(i) && t(this, T).releasePointerCapture(i);
1890
+ }, Jt = function(i) {
1891
+ r(this, W, !1), r(this, x, null), t(this, Z).classList.remove("is-scrubbing-volume"), t(this, T).blur(), e(this, s, Ws).call(this, i), e(this, s, hi).call(this, 260);
1892
+ }, At = new WeakMap(), js = function() {
1893
+ return _i(t(this, b));
1894
+ }, ni = function() {
1895
+ return Wi(this.fullscreenEnabled, t(this, h), t(this, o));
1896
+ }, Ii = function() {
1897
+ return ji(t(this, h));
1898
+ }, zi = function() {
1899
+ Oi(t(this, o));
1900
+ }, Ri = function() {
1901
+ return Ki();
1902
+ }, Xt = new WeakMap(), Lt = new WeakMap(), Di = function(i) {
1903
+ e(this, s, U).call(this), e(this, s, ws).call(this), e(this, s, Zs).call(this, t(this, P)), e(this, s, Ws).call(this, t(this, x)), e(this, s, Ft).call(this), r(this, R, !1), r(this, g, !1), r(this, S, !1), t(this, h).classList.remove("is-progress-hovering"), r(this, P, null), r(this, J, !1), r(this, ct, !1), r(this, W, !1), r(this, x, null), e(this, s, Xs).call(this), t(this, Ss).call(this), t(this, j).style.removeProperty("--sp-control-hover-offset"), t(this, w).classList.remove("is-volume-open"), t(this, Z).classList.remove("is-scrubbing-volume"), t(this, h).classList.remove("is-scrubbing"), t(this, h).classList.remove("is-pointer-active");
1855
1904
  const a = t(this, b).activeElement;
1856
- a instanceof HTMLElement && a.blur(), i ? e(this, s, Ne).call(this) : e(this, s, us).call(this);
1857
- }, Ls = new WeakMap(), Ys = function(i) {
1905
+ a instanceof HTMLElement && a.blur(), i ? e(this, s, Ke).call(this) : e(this, s, fs).call(this);
1906
+ }, Vs = new WeakMap(), Zs = function(i) {
1858
1907
  i !== null && t(this, m).hasPointerCapture(i) && t(this, m).releasePointerCapture(i);
1859
- }, ti = async function(i, a, l) {
1860
- if (!t(this, z) && !t(this, g)) return;
1908
+ }, ai = async function(i, a, l) {
1909
+ if (!t(this, R) && !t(this, g)) return;
1861
1910
  const u = t(this, g);
1862
- e(this, s, At).call(this), r(this, z, !1), r(this, g, !1), r(this, M, !1), t(this, h).classList.remove("is-progress-hovering"), r(this, P, null), t(this, h).classList.remove("is-scrubbing"), e(this, s, Wt).call(this), e(this, s, Ys).call(this, a), l && i !== null && (e(this, s, tt).call(this), r(this, S, e(this, s, mt).call(this, i, u)), r(this, N, !0), r(this, bt, t(this, rt)), t(this, o).currentTime = t(this, S), e(this, s, k).call(this, t(this, S))), e(this, s, I).call(this, t(this, S)), u && t(this, rt) && await t(this, o).play(), e(this, s, J).call(this);
1863
- }, _s = function(i) {
1864
- !t(this, z) && !t(this, g) || (e(this, s, At).call(this), r(this, z, !1), r(this, g, !1), r(this, M, !1), t(this, h).classList.remove("is-progress-hovering"), r(this, P, null), t(this, h).classList.remove("is-scrubbing"), e(this, s, Wt).call(this), e(this, s, Ys).call(this, i), e(this, s, k).call(this), e(this, s, I).call(this), t(this, rt) && t(this, o).play(), e(this, s, J).call(this));
1865
- }, ae = new WeakMap(), le = new WeakMap(), he = new WeakMap(), vs = function() {
1866
- t(this, xt) && (window.clearTimeout(t(this, xt)), r(this, xt, 0));
1867
- }, si = function() {
1868
- !this.volumeEnabled || !this.volumeSliderEnabled || !t(this, y) || (e(this, s, vs).call(this), t(this, w).classList.add("is-volume-open"));
1869
- }, ns = new WeakMap(), ei = function(i = 150) {
1870
- e(this, s, vs).call(this), r(this, xt, window.setTimeout(t(this, ns), i));
1871
- }, Fs = new WeakMap(), Ss = new WeakMap(), ce = new WeakMap(), ue = new WeakMap(), pe = new WeakMap(), de = new WeakMap(), me = new WeakMap(), fe = new WeakMap(), be = new WeakMap(), ve = new WeakMap(), Ms = new WeakMap(), Vs = new WeakMap(), ge = new WeakMap(), ye = new WeakMap(), we = new WeakMap(), xe = new WeakMap(), ke = new WeakMap(), Pe = new WeakMap(), Ee = new WeakMap(), Te = new WeakMap(), Ce = new WeakMap(), Ae = new WeakMap(), Le = new WeakMap(), Fe = new WeakMap(), Se = new WeakMap(), as = new WeakMap(), Me = new WeakMap(), Ve = new WeakMap(), Ie = new WeakMap(), ze = new WeakMap(), Re = new WeakMap(), De = new WeakMap(), A = function() {
1911
+ e(this, s, Ft).call(this), r(this, R, !1), r(this, g, !1), r(this, S, !1), t(this, h).classList.remove("is-progress-hovering"), r(this, P, null), t(this, h).classList.remove("is-scrubbing"), e(this, s, Kt).call(this), e(this, s, Zs).call(this, a), l && i !== null && (e(this, s, st).call(this), r(this, L, e(this, s, bt).call(this, i, u)), r(this, _, !0), r(this, gt, t(this, ot)), t(this, o).currentTime = t(this, L), e(this, s, k).call(this, t(this, L))), e(this, s, I).call(this, t(this, L)), u && t(this, ot) && await t(this, o).play(), e(this, s, Q).call(this);
1912
+ }, Os = function(i) {
1913
+ !t(this, R) && !t(this, g) || (e(this, s, Ft).call(this), r(this, R, !1), r(this, g, !1), r(this, S, !1), t(this, h).classList.remove("is-progress-hovering"), r(this, P, null), t(this, h).classList.remove("is-scrubbing"), e(this, s, Kt).call(this), e(this, s, Zs).call(this, i), e(this, s, k).call(this), e(this, s, I).call(this), t(this, ot) && t(this, o).play(), e(this, s, Q).call(this));
1914
+ }, Ks = function(i) {
1915
+ if (!t(this, ls)) return q(i);
1916
+ const a = Number.isFinite(t(this, o).duration) ? t(this, o).duration : 0;
1917
+ return a <= 0 ? q(i) : `-${q(Math.max(0, a - i))}`;
1918
+ }, qi = function() {
1919
+ t(this, Ct) && (window.clearTimeout(t(this, Ct)), r(this, Ct, 0));
1920
+ }, Hi = function() {
1921
+ e(this, s, qi).call(this), t(this, z).classList.remove("is-time-animating"), t(this, z).offsetWidth, t(this, z).classList.add("is-time-animating"), r(this, Ct, window.setTimeout(() => {
1922
+ r(this, Ct, 0), t(this, z).classList.remove("is-time-animating");
1923
+ }, 240));
1924
+ }, de = new WeakMap(), me = new WeakMap(), fe = new WeakMap(), be = new WeakMap(), ws = function() {
1925
+ t(this, Pt) && (window.clearTimeout(t(this, Pt)), r(this, Pt, 0));
1926
+ }, li = function() {
1927
+ !this.volumeEnabled || !this.volumeSliderEnabled || !t(this, y) || (e(this, s, ws).call(this), t(this, w).classList.add("is-volume-open"));
1928
+ }, cs = new WeakMap(), hi = function(i = 150) {
1929
+ e(this, s, ws).call(this), r(this, Pt, window.setTimeout(t(this, cs), i));
1930
+ }, Is = new WeakMap(), zs = new WeakMap(), ve = new WeakMap(), ge = new WeakMap(), ye = new WeakMap(), we = new WeakMap(), xe = new WeakMap(), ke = new WeakMap(), Pe = new WeakMap(), Te = new WeakMap(), Rs = new WeakMap(), Ds = new WeakMap(), Ee = new WeakMap(), Ce = new WeakMap(), Ae = new WeakMap(), Le = new WeakMap(), Fe = new WeakMap(), Se = new WeakMap(), Me = new WeakMap(), Ve = new WeakMap(), Ie = new WeakMap(), ze = new WeakMap(), Re = new WeakMap(), De = new WeakMap(), qe = new WeakMap(), us = new WeakMap(), He = new WeakMap(), Be = new WeakMap(), $e = new WeakMap(), Ne = new WeakMap(), Ue = new WeakMap(), Ye = new WeakMap(), A = function() {
1872
1931
  return window.matchMedia("(max-width: 768px)").matches && window.matchMedia("(hover: none), (pointer: coarse)").matches;
1873
- }, Si = function() {
1874
- t(this, o) && (t(this, D)?.disconnect(), r(this, D, null), e(this, s, ds).call(this), e(this, s, Us).call(this), r(this, H, !1), r(this, ts, 0), r(this, q, !1), r(this, B, !1), r(this, Z, !1), r(this, O, !1), r(this, K, t(this, K) + 1), r(this, yt, !1), r(this, wt, 0), e(this, s, tt).call(this), r(this, y, !0), r(this, N, !1), r(this, bt, !1), r(this, L, null), t(this, h).classList.remove("has-loaded-once", "has-visible-frame", "is-progress-settling"), t(this, o).dataset.src = this.src, t(this, o).pause(), t(this, o).removeAttribute("src"), t(this, o).preload = "none", e(this, s, hs).call(this), t(this, o).load(), e(this, s, dt).call(this, 0), t(this, F).call(this), t(this, V).call(this), e(this, s, T).call(this));
1875
- }, oi(li, "observedAttributes", Ri);
1876
- customElements.get("simple-player") || customElements.define("simple-player", li);
1932
+ }, Bi = function() {
1933
+ t(this, o) && (t(this, H)?.disconnect(), r(this, H, null), e(this, s, vs).call(this), e(this, s, _s).call(this), r(this, B, !1), r(this, is, 0), r(this, $, !1), r(this, N, !1), r(this, O, !1), r(this, K, !1), r(this, G, t(this, G) + 1), r(this, xt, !1), r(this, kt, 0), e(this, s, st).call(this), r(this, y, !0), r(this, _, !1), r(this, gt, !1), r(this, F, null), t(this, h).classList.remove("has-loaded-once", "has-visible-frame", "is-progress-settling"), t(this, o).dataset.src = this.src, t(this, o).pause(), t(this, o).removeAttribute("src"), t(this, o).preload = "none", e(this, s, ds).call(this), t(this, o).load(), e(this, s, ft).call(this, 0), t(this, M).call(this), t(this, V).call(this), e(this, s, C).call(this));
1934
+ }, pi(fi, "observedAttributes", Xi);
1935
+ customElements.get("simple-player") || customElements.define("simple-player", fi);
1877
1936
  export {
1878
- li as SimplePlayer
1937
+ fi as SimplePlayer
1879
1938
  };
1880
1939
  //# sourceMappingURL=simple-player.js.map