@golstats/gsc-landing 1.0.142 → 1.0.144
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/gsc-landing.js +228 -215
- package/dist/gsc-landing.umd.cjs +23 -23
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/gsc-landing.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { useCssVars as Xe, openBlock as y, createElementBlock as v, normalizeClass as L, createElementVNode as b, createCommentVNode as C, renderSlot as Rt, ref as
|
|
1
|
+
import { useCssVars as Xe, openBlock as y, createElementBlock as v, normalizeClass as L, createElementVNode as b, createCommentVNode as C, renderSlot as Rt, ref as D, onMounted as nt, onUnmounted as Wt, toDisplayString as O, unref as ke, watch as xe, Fragment as G, createTextVNode as ge, createBlock as ae, withCtx as Ue, renderList as _e, mergeProps as ks, pushScopeId as Ze, popScopeId as Qe, computed as X, normalizeStyle as B, defineComponent as Ft, inject as Re, reactive as Je, h as Oe, provide as De, nextTick as Wi, cloneVNode as ys, resolveComponent as Be, createVNode as be, createStaticVNode as Ap, onBeforeMount as un, Transition as Ki, withDirectives as Bs, vShow as Us, toRef as Lp, onBeforeUnmount as Hh } from "vue";
|
|
2
2
|
function Wh(s, e) {
|
|
3
3
|
return function() {
|
|
4
4
|
return s.apply(e, arguments);
|
|
@@ -1210,17 +1210,17 @@ const J0 = async (s) => {
|
|
|
1210
1210
|
let _;
|
|
1211
1211
|
try {
|
|
1212
1212
|
if (c && Y0 && t !== "get" && t !== "head" && (_ = await X0(d, i)) !== 0) {
|
|
1213
|
-
let
|
|
1213
|
+
let R = new Request(e, {
|
|
1214
1214
|
method: "POST",
|
|
1215
1215
|
body: i,
|
|
1216
1216
|
duplex: "half"
|
|
1217
1217
|
}), k;
|
|
1218
|
-
if (z.isFormData(i) && (k =
|
|
1218
|
+
if (z.isFormData(i) && (k = R.headers.get("content-type")) && d.setContentType(k), R.body) {
|
|
1219
1219
|
const [V, M] = _c(
|
|
1220
1220
|
_,
|
|
1221
1221
|
Ua(Tc(c))
|
|
1222
1222
|
);
|
|
1223
|
-
i = Cc(
|
|
1223
|
+
i = Cc(R.body, Ec, V, M, Ur);
|
|
1224
1224
|
}
|
|
1225
1225
|
}
|
|
1226
1226
|
z.isString(h) || (h = h ? "include" : "omit"), p = new Request(e, {
|
|
@@ -1235,9 +1235,9 @@ const J0 = async (s) => {
|
|
|
1235
1235
|
let T = await fetch(p);
|
|
1236
1236
|
const I = Gr && (l === "stream" || l === "response");
|
|
1237
1237
|
if (Gr && (o || I)) {
|
|
1238
|
-
const
|
|
1238
|
+
const R = {};
|
|
1239
1239
|
["status", "statusText", "headers"].forEach(($) => {
|
|
1240
|
-
|
|
1240
|
+
R[$] = T[$];
|
|
1241
1241
|
});
|
|
1242
1242
|
const k = z.toFiniteNumber(T.headers.get("content-length")), [V, M] = o && _c(
|
|
1243
1243
|
k,
|
|
@@ -1247,13 +1247,13 @@ const J0 = async (s) => {
|
|
|
1247
1247
|
Cc(T.body, Ec, V, () => {
|
|
1248
1248
|
M && M(), I && w();
|
|
1249
1249
|
}, Ur),
|
|
1250
|
-
|
|
1250
|
+
R
|
|
1251
1251
|
);
|
|
1252
1252
|
}
|
|
1253
1253
|
l = l || "text";
|
|
1254
1254
|
let E = await Ga[z.findKey(Ga, l) || "text"](T, s);
|
|
1255
|
-
return !I && w(), u && u(), await new Promise((
|
|
1256
|
-
lm(
|
|
1255
|
+
return !I && w(), u && u(), await new Promise((R, k) => {
|
|
1256
|
+
lm(R, k, {
|
|
1257
1257
|
data: E,
|
|
1258
1258
|
headers: $t.from(T.headers),
|
|
1259
1259
|
status: T.status,
|
|
@@ -1827,7 +1827,7 @@ function hy(s, e, t, i, a, n) {
|
|
|
1827
1827
|
}
|
|
1828
1828
|
const Mi = /* @__PURE__ */ iy(Zo, [["render", hy], ["__scopeId", "data-v-b548a08d"]]);
|
|
1829
1829
|
function my(s) {
|
|
1830
|
-
const e =
|
|
1830
|
+
const e = D({ width: 0, height: 0 });
|
|
1831
1831
|
function t() {
|
|
1832
1832
|
const i = s.value.getBoundingClientRect();
|
|
1833
1833
|
e.value.width = i.width, e.value.height = i.height;
|
|
@@ -1960,7 +1960,7 @@ const Va = /* @__PURE__ */ new Map([
|
|
|
1960
1960
|
},
|
|
1961
1961
|
emits: ["viewAll", "clickProfileBtn", "totalPlayers"],
|
|
1962
1962
|
setup(s, { emit: e }) {
|
|
1963
|
-
const t = s, i =
|
|
1963
|
+
const t = s, i = D([]), a = D(0), n = D(0);
|
|
1964
1964
|
nt(async () => {
|
|
1965
1965
|
const o = await r(t.teamId, t.seasonId, t.token);
|
|
1966
1966
|
n.value = o.length, i.value = o.map((c) => ({
|
|
@@ -3419,12 +3419,12 @@ const nb = async (s) => {
|
|
|
3419
3419
|
let _;
|
|
3420
3420
|
try {
|
|
3421
3421
|
if (c && ab && t !== "get" && t !== "head" && (_ = await rb(d, i)) !== 0) {
|
|
3422
|
-
let
|
|
3422
|
+
let R = new Request(e, {
|
|
3423
3423
|
method: "POST",
|
|
3424
3424
|
body: i,
|
|
3425
3425
|
duplex: "half"
|
|
3426
3426
|
}), k;
|
|
3427
|
-
j.isFormData(i) && (k =
|
|
3427
|
+
j.isFormData(i) && (k = R.headers.get("content-type")) && d.setContentType(k), R.body && (i = Vc(R.body, jc, zc(
|
|
3428
3428
|
_,
|
|
3429
3429
|
za(c)
|
|
3430
3430
|
), null, Kr));
|
|
@@ -3441,9 +3441,9 @@ const nb = async (s) => {
|
|
|
3441
3441
|
let T = await fetch(p);
|
|
3442
3442
|
const I = qr && (l === "stream" || l === "response");
|
|
3443
3443
|
if (qr && (o || I)) {
|
|
3444
|
-
const
|
|
3444
|
+
const R = {};
|
|
3445
3445
|
["status", "statusText", "headers"].forEach((V) => {
|
|
3446
|
-
|
|
3446
|
+
R[V] = T[V];
|
|
3447
3447
|
});
|
|
3448
3448
|
const k = j.toFiniteNumber(T.headers.get("content-length"));
|
|
3449
3449
|
T = new Response(
|
|
@@ -3451,13 +3451,13 @@ const nb = async (s) => {
|
|
|
3451
3451
|
k,
|
|
3452
3452
|
za(o, !0)
|
|
3453
3453
|
), I && w, Kr),
|
|
3454
|
-
|
|
3454
|
+
R
|
|
3455
3455
|
);
|
|
3456
3456
|
}
|
|
3457
3457
|
l = l || "text";
|
|
3458
3458
|
let E = await ja[j.findKey(ja, l) || "text"](T, s);
|
|
3459
|
-
return !I && w(), u && u(), await new Promise((
|
|
3460
|
-
Dm(
|
|
3459
|
+
return !I && w(), u && u(), await new Promise((R, k) => {
|
|
3460
|
+
Dm(R, k, {
|
|
3461
3461
|
data: E,
|
|
3462
3462
|
headers: ts.from(T.headers),
|
|
3463
3463
|
status: T.status,
|
|
@@ -4349,7 +4349,7 @@ function Vb(s, e, t, i, a, n) {
|
|
|
4349
4349
|
}
|
|
4350
4350
|
const zb = /* @__PURE__ */ Pb(ol, [["render", Vb], ["__scopeId", "data-v-fb269a1e"]]);
|
|
4351
4351
|
function jb(s) {
|
|
4352
|
-
const e =
|
|
4352
|
+
const e = D({ width: 0, height: 0 });
|
|
4353
4353
|
function t() {
|
|
4354
4354
|
const i = s.value.getBoundingClientRect();
|
|
4355
4355
|
e.value.width = i.width, e.value.height = i.height;
|
|
@@ -4425,7 +4425,7 @@ const Hb = (s, e) => {
|
|
|
4425
4425
|
}
|
|
4426
4426
|
},
|
|
4427
4427
|
setup() {
|
|
4428
|
-
const s =
|
|
4428
|
+
const s = D("myDivRef"), { elementSize: e } = jb(s);
|
|
4429
4429
|
return {
|
|
4430
4430
|
myDivRef: s,
|
|
4431
4431
|
elementSize: e
|
|
@@ -4921,7 +4921,7 @@ function gv(s = "", e = {}) {
|
|
|
4921
4921
|
var pv = Ft({
|
|
4922
4922
|
name: "ARIA",
|
|
4923
4923
|
setup() {
|
|
4924
|
-
const s = Re("config", Je(Object.assign({}, kt))), e = Re("currentSlide",
|
|
4924
|
+
const s = Re("config", Je(Object.assign({}, kt))), e = Re("currentSlide", D(0)), t = Re("slidesCount", D(0));
|
|
4925
4925
|
return () => Oe("div", {
|
|
4926
4926
|
class: ["carousel__liveregion", "carousel__sr-only"],
|
|
4927
4927
|
"aria-live": "polite",
|
|
@@ -4936,9 +4936,9 @@ var pv = Ft({
|
|
|
4936
4936
|
props: td,
|
|
4937
4937
|
setup(s, { slots: e, emit: t, expose: i }) {
|
|
4938
4938
|
var a;
|
|
4939
|
-
const n =
|
|
4939
|
+
const n = D(null), r = D([]), o = D(0), c = D(0), l = Je(Object.assign({}, kt));
|
|
4940
4940
|
let d = Object.assign({}, kt), h;
|
|
4941
|
-
const m =
|
|
4941
|
+
const m = D((a = s.modelValue) !== null && a !== void 0 ? a : 0), f = D(0), u = D(0), g = D(0), p = D(0);
|
|
4942
4942
|
let w, _;
|
|
4943
4943
|
De("config", l), De("slidesCount", c), De("currentSlide", m), De("maxSlide", g), De("minSlide", p), De("slideWidth", o);
|
|
4944
4944
|
function T() {
|
|
@@ -4957,7 +4957,7 @@ var pv = Ft({
|
|
|
4957
4957
|
function E(A) {
|
|
4958
4958
|
Object.entries(A).forEach(([Z, P]) => l[Z] = P);
|
|
4959
4959
|
}
|
|
4960
|
-
const
|
|
4960
|
+
const R = fv(() => {
|
|
4961
4961
|
I(), k();
|
|
4962
4962
|
}, 16);
|
|
4963
4963
|
function k() {
|
|
@@ -4974,14 +4974,14 @@ var pv = Ft({
|
|
|
4974
4974
|
})));
|
|
4975
4975
|
}
|
|
4976
4976
|
nt(() => {
|
|
4977
|
-
Wi(() => k()), setTimeout(() => k(), 1e3), I(), ee(), window.addEventListener("resize",
|
|
4977
|
+
Wi(() => k()), setTimeout(() => k(), 1e3), I(), ee(), window.addEventListener("resize", R, { passive: !0 }), t("init");
|
|
4978
4978
|
}), Wt(() => {
|
|
4979
|
-
_ && clearTimeout(_), w && clearInterval(w), window.removeEventListener("resize",
|
|
4979
|
+
_ && clearTimeout(_), w && clearInterval(w), window.removeEventListener("resize", R, {
|
|
4980
4980
|
passive: !0
|
|
4981
4981
|
});
|
|
4982
4982
|
});
|
|
4983
4983
|
let M = !1;
|
|
4984
|
-
const $ = { x: 0, y: 0 }, W = { x: 0, y: 0 }, Q = Je({ x: 0, y: 0 }), J =
|
|
4984
|
+
const $ = { x: 0, y: 0 }, W = { x: 0, y: 0 }, Q = Je({ x: 0, y: 0 }), J = D(!1), he = D(!1), ye = () => {
|
|
4985
4985
|
J.value = !0;
|
|
4986
4986
|
}, fe = () => {
|
|
4987
4987
|
J.value = !1;
|
|
@@ -5012,7 +5012,7 @@ var pv = Ft({
|
|
|
5012
5012
|
function we() {
|
|
5013
5013
|
w && (clearInterval(w), w = null), ee();
|
|
5014
5014
|
}
|
|
5015
|
-
const se =
|
|
5015
|
+
const se = D(!1);
|
|
5016
5016
|
function ne(A) {
|
|
5017
5017
|
const Z = l.wrapAround ? A : Zr({
|
|
5018
5018
|
val: A,
|
|
@@ -5156,7 +5156,7 @@ var bv = Ft({
|
|
|
5156
5156
|
}
|
|
5157
5157
|
},
|
|
5158
5158
|
setup(s, { slots: e }) {
|
|
5159
|
-
const t = Re("config", Je(Object.assign({}, kt))), i = Re("currentSlide",
|
|
5159
|
+
const t = Re("config", Je(Object.assign({}, kt))), i = Re("currentSlide", D(0)), a = Re("slidesToScroll", D(0)), n = Re("isSliding", D(!1)), r = () => s.index === i.value, o = () => s.index === i.value - 1, c = () => s.index === i.value + 1, l = () => {
|
|
5160
5160
|
const d = Math.floor(a.value), h = Math.ceil(a.value + t.itemsToShow - 1);
|
|
5161
5161
|
return s.index >= d && s.index <= h;
|
|
5162
5162
|
};
|
|
@@ -5323,7 +5323,7 @@ const vv = (s, e) => {
|
|
|
5323
5323
|
"1904d43f": s.marginTop,
|
|
5324
5324
|
cfb58986: s.secondarySlidesOpacity
|
|
5325
5325
|
}));
|
|
5326
|
-
const a =
|
|
5326
|
+
const a = D(null), n = D({}), r = D(0), o = D(!1);
|
|
5327
5327
|
xe(
|
|
5328
5328
|
a,
|
|
5329
5329
|
(g) => {
|
|
@@ -5769,7 +5769,7 @@ const Yv = /* @__PURE__ */ Bv(cl, [["render", qv], ["__scopeId", "data-v-fb269a1
|
|
|
5769
5769
|
},
|
|
5770
5770
|
emits: ["input", "click-ready", "update:modelValue"],
|
|
5771
5771
|
setup(s, { emit: e }) {
|
|
5772
|
-
const t = s, i =
|
|
5772
|
+
const t = s, i = D({}), a = D(null), n = D(t.isMultipleOption ? -1 : 0), r = D(!1);
|
|
5773
5773
|
xe(
|
|
5774
5774
|
() => t.items,
|
|
5775
5775
|
(f, u) => {
|
|
@@ -6001,7 +6001,7 @@ const Yv = /* @__PURE__ */ Bv(cl, [["render", qv], ["__scopeId", "data-v-fb269a1
|
|
|
6001
6001
|
},
|
|
6002
6002
|
emits: ["input"],
|
|
6003
6003
|
setup(s, { emit: e }) {
|
|
6004
|
-
const t = s, i =
|
|
6004
|
+
const t = s, i = D([]), a = X(() => {
|
|
6005
6005
|
const f = {};
|
|
6006
6006
|
return t.fontFamily && (f["font-family"] = `${t.fontFamily}`), f;
|
|
6007
6007
|
}), n = X(() => t.tournamentsIdsToInclude.size ? c(i.value) : i.value), r = X(() => n.value.find(
|
|
@@ -6358,7 +6358,7 @@ const Sw = /* @__PURE__ */ uw(dl, [["render", ww], ["__scopeId", "data-v-fb269a1
|
|
|
6358
6358
|
},
|
|
6359
6359
|
emits: ["input", "click-ready", "update:modelValue"],
|
|
6360
6360
|
setup(s, { emit: e }) {
|
|
6361
|
-
const t = s, i =
|
|
6361
|
+
const t = s, i = D({}), a = D(null), n = D(t.isMultipleOption ? -1 : 0), r = D(!1);
|
|
6362
6362
|
xe(
|
|
6363
6363
|
() => t.items,
|
|
6364
6364
|
(f, u) => {
|
|
@@ -6547,7 +6547,7 @@ const Sw = /* @__PURE__ */ uw(dl, [["render", ww], ["__scopeId", "data-v-fb269a1
|
|
|
6547
6547
|
}
|
|
6548
6548
|
}, Pw = /* @__PURE__ */ Lw(Dw, [["__scopeId", "data-v-3a11087d"]]);
|
|
6549
6549
|
function Ow(s) {
|
|
6550
|
-
const e =
|
|
6550
|
+
const e = D({ width: 0, height: 0 });
|
|
6551
6551
|
function t() {
|
|
6552
6552
|
const i = s.value.getBoundingClientRect();
|
|
6553
6553
|
e.value.width = i.width, e.value.height = i.height;
|
|
@@ -6804,7 +6804,7 @@ const Hw = /* @__PURE__ */ Fw(ul, [["render", jw], ["__scopeId", "data-v-b548a08
|
|
|
6804
6804
|
arrowsBorder: { type: String, default: "none" }
|
|
6805
6805
|
},
|
|
6806
6806
|
setup() {
|
|
6807
|
-
const s =
|
|
6807
|
+
const s = D("myDivRef"), {
|
|
6808
6808
|
elementSize: e
|
|
6809
6809
|
} = Ow(s);
|
|
6810
6810
|
return {
|
|
@@ -6996,7 +6996,7 @@ function rS(s, e, t, i, a, n) {
|
|
|
6996
6996
|
}
|
|
6997
6997
|
const oS = /* @__PURE__ */ Gm(sS, [["render", rS], ["__scopeId", "data-v-86f4452a"]]);
|
|
6998
6998
|
function lS(s) {
|
|
6999
|
-
const e =
|
|
6999
|
+
const e = D({ width: 0, height: 0 });
|
|
7000
7000
|
function t() {
|
|
7001
7001
|
const i = s.value.getBoundingClientRect();
|
|
7002
7002
|
e.value.width = i.width, e.value.height = i.height;
|
|
@@ -7141,7 +7141,7 @@ const cS = {
|
|
|
7141
7141
|
}
|
|
7142
7142
|
},
|
|
7143
7143
|
setup() {
|
|
7144
|
-
const s =
|
|
7144
|
+
const s = D("myDivRef"), { elementSize: e } = lS(s);
|
|
7145
7145
|
return {
|
|
7146
7146
|
myDivRef: s,
|
|
7147
7147
|
elementSize: e
|
|
@@ -7646,7 +7646,7 @@ function LS(s, e, t, i, a, n) {
|
|
|
7646
7646
|
}
|
|
7647
7647
|
const IS = /* @__PURE__ */ Gm(cS, [["render", LS], ["__scopeId", "data-v-df6c3699"]]);
|
|
7648
7648
|
function RS(s) {
|
|
7649
|
-
const e =
|
|
7649
|
+
const e = D({ width: 0, height: 0 });
|
|
7650
7650
|
function t() {
|
|
7651
7651
|
const i = s.value.getBoundingClientRect();
|
|
7652
7652
|
e.value.width = i.width, e.value.height = i.height;
|
|
@@ -7903,7 +7903,7 @@ const VS = /* @__PURE__ */ DS(ml, [["render", GS], ["__scopeId", "data-v-b548a08
|
|
|
7903
7903
|
arrowsBorder: { type: String, default: "none" }
|
|
7904
7904
|
},
|
|
7905
7905
|
setup() {
|
|
7906
|
-
const s =
|
|
7906
|
+
const s = D("myDivRef"), {
|
|
7907
7907
|
elementSize: e
|
|
7908
7908
|
} = RS(s);
|
|
7909
7909
|
return {
|
|
@@ -9674,7 +9674,7 @@ function S2(s = "", e = {}) {
|
|
|
9674
9674
|
var _2 = Ft({
|
|
9675
9675
|
name: "ARIA",
|
|
9676
9676
|
setup() {
|
|
9677
|
-
const s = Re("config", Je(Object.assign({}, At))), e = Re("currentSlide",
|
|
9677
|
+
const s = Re("config", Je(Object.assign({}, At))), e = Re("currentSlide", D(0)), t = Re("slidesCount", D(0));
|
|
9678
9678
|
return () => Oe("div", {
|
|
9679
9679
|
class: ["carousel__liveregion", "carousel__sr-only"],
|
|
9680
9680
|
"aria-live": "polite",
|
|
@@ -9689,9 +9689,9 @@ var _2 = Ft({
|
|
|
9689
9689
|
props: Ed,
|
|
9690
9690
|
setup(s, { slots: e, emit: t, expose: i }) {
|
|
9691
9691
|
var a;
|
|
9692
|
-
const n =
|
|
9692
|
+
const n = D(null), r = D([]), o = D(0), c = D(0), l = Je(Object.assign({}, At));
|
|
9693
9693
|
let d = Object.assign({}, At), h;
|
|
9694
|
-
const m =
|
|
9694
|
+
const m = D((a = s.modelValue) !== null && a !== void 0 ? a : 0), f = D(0), u = D(0), g = D(0), p = D(0);
|
|
9695
9695
|
let w, _;
|
|
9696
9696
|
De("config", l), De("slidesCount", c), De("currentSlide", m), De("maxSlide", g), De("minSlide", p), De("slideWidth", o);
|
|
9697
9697
|
function T() {
|
|
@@ -9710,7 +9710,7 @@ var _2 = Ft({
|
|
|
9710
9710
|
function E(A) {
|
|
9711
9711
|
Object.entries(A).forEach(([Z, P]) => l[Z] = P);
|
|
9712
9712
|
}
|
|
9713
|
-
const
|
|
9713
|
+
const R = w2(() => {
|
|
9714
9714
|
I(), k();
|
|
9715
9715
|
}, 16);
|
|
9716
9716
|
function k() {
|
|
@@ -9727,14 +9727,14 @@ var _2 = Ft({
|
|
|
9727
9727
|
})));
|
|
9728
9728
|
}
|
|
9729
9729
|
nt(() => {
|
|
9730
|
-
Wi(() => k()), setTimeout(() => k(), 1e3), I(), ee(), window.addEventListener("resize",
|
|
9730
|
+
Wi(() => k()), setTimeout(() => k(), 1e3), I(), ee(), window.addEventListener("resize", R, { passive: !0 }), t("init");
|
|
9731
9731
|
}), Wt(() => {
|
|
9732
|
-
_ && clearTimeout(_), w && clearInterval(w), window.removeEventListener("resize",
|
|
9732
|
+
_ && clearTimeout(_), w && clearInterval(w), window.removeEventListener("resize", R, {
|
|
9733
9733
|
passive: !0
|
|
9734
9734
|
});
|
|
9735
9735
|
});
|
|
9736
9736
|
let M = !1;
|
|
9737
|
-
const $ = { x: 0, y: 0 }, W = { x: 0, y: 0 }, Q = Je({ x: 0, y: 0 }), J =
|
|
9737
|
+
const $ = { x: 0, y: 0 }, W = { x: 0, y: 0 }, Q = Je({ x: 0, y: 0 }), J = D(!1), he = D(!1), ye = () => {
|
|
9738
9738
|
J.value = !0;
|
|
9739
9739
|
}, fe = () => {
|
|
9740
9740
|
J.value = !1;
|
|
@@ -9765,7 +9765,7 @@ var _2 = Ft({
|
|
|
9765
9765
|
function we() {
|
|
9766
9766
|
w && (clearInterval(w), w = null), ee();
|
|
9767
9767
|
}
|
|
9768
|
-
const se =
|
|
9768
|
+
const se = D(!1);
|
|
9769
9769
|
function ne(A) {
|
|
9770
9770
|
const Z = l.wrapAround ? A : no({
|
|
9771
9771
|
val: A,
|
|
@@ -9909,7 +9909,7 @@ var x2 = Ft({
|
|
|
9909
9909
|
}
|
|
9910
9910
|
},
|
|
9911
9911
|
setup(s, { slots: e }) {
|
|
9912
|
-
const t = Re("config", Je(Object.assign({}, At))), i = Re("currentSlide",
|
|
9912
|
+
const t = Re("config", Je(Object.assign({}, At))), i = Re("currentSlide", D(0)), a = Re("slidesToScroll", D(0)), n = Re("isSliding", D(!1)), r = () => s.index === i.value, o = () => s.index === i.value - 1, c = () => s.index === i.value + 1, l = () => {
|
|
9913
9913
|
const d = Math.floor(a.value), h = Math.ceil(a.value + t.itemsToShow - 1);
|
|
9914
9914
|
return s.index >= d && s.index <= h;
|
|
9915
9915
|
};
|
|
@@ -10076,7 +10076,7 @@ const C2 = (s, e) => {
|
|
|
10076
10076
|
"257da7fc": s.marginTop,
|
|
10077
10077
|
"1c9922a0": s.secondarySlidesOpacity
|
|
10078
10078
|
}));
|
|
10079
|
-
const a =
|
|
10079
|
+
const a = D(null), n = D({}), r = D(0), o = D(!1);
|
|
10080
10080
|
xe(
|
|
10081
10081
|
a,
|
|
10082
10082
|
(g) => {
|
|
@@ -10499,7 +10499,7 @@ function tT(s = "", e = {}) {
|
|
|
10499
10499
|
var sT = Ft({
|
|
10500
10500
|
name: "ARIA",
|
|
10501
10501
|
setup() {
|
|
10502
|
-
const s = Re("config", Je(Object.assign({}, gt))), e = Re("currentSlide",
|
|
10502
|
+
const s = Re("config", Je(Object.assign({}, gt))), e = Re("currentSlide", D(0)), t = Re("slidesCount", D(0));
|
|
10503
10503
|
return () => Oe("div", {
|
|
10504
10504
|
class: ["carousel__liveregion", "carousel__sr-only"],
|
|
10505
10505
|
"aria-live": "polite",
|
|
@@ -10514,9 +10514,9 @@ var sT = Ft({
|
|
|
10514
10514
|
props: Ad,
|
|
10515
10515
|
setup(s, { slots: e, emit: t, expose: i }) {
|
|
10516
10516
|
var a;
|
|
10517
|
-
const n =
|
|
10517
|
+
const n = D(null), r = D([]), o = D(0), c = D(0), l = Je(Object.assign({}, gt));
|
|
10518
10518
|
let d = Object.assign({}, gt), h;
|
|
10519
|
-
const m =
|
|
10519
|
+
const m = D((a = s.modelValue) !== null && a !== void 0 ? a : 0), f = D(0), u = D(0), g = D(0), p = D(0);
|
|
10520
10520
|
let w, _;
|
|
10521
10521
|
De("config", l), De("slidesCount", c), De("currentSlide", m), De("maxSlide", g), De("minSlide", p), De("slideWidth", o);
|
|
10522
10522
|
function T() {
|
|
@@ -10535,7 +10535,7 @@ var sT = Ft({
|
|
|
10535
10535
|
function E(A) {
|
|
10536
10536
|
Object.entries(A).forEach(([Z, P]) => l[Z] = P);
|
|
10537
10537
|
}
|
|
10538
|
-
const
|
|
10538
|
+
const R = eT(() => {
|
|
10539
10539
|
I(), k();
|
|
10540
10540
|
}, 16);
|
|
10541
10541
|
function k() {
|
|
@@ -10552,14 +10552,14 @@ var sT = Ft({
|
|
|
10552
10552
|
})));
|
|
10553
10553
|
}
|
|
10554
10554
|
nt(() => {
|
|
10555
|
-
Wi(() => k()), setTimeout(() => k(), 1e3), I(), ee(), window.addEventListener("resize",
|
|
10555
|
+
Wi(() => k()), setTimeout(() => k(), 1e3), I(), ee(), window.addEventListener("resize", R, { passive: !0 }), t("init");
|
|
10556
10556
|
}), Wt(() => {
|
|
10557
|
-
_ && clearTimeout(_), w && clearInterval(w), window.removeEventListener("resize",
|
|
10557
|
+
_ && clearTimeout(_), w && clearInterval(w), window.removeEventListener("resize", R, {
|
|
10558
10558
|
passive: !0
|
|
10559
10559
|
});
|
|
10560
10560
|
});
|
|
10561
10561
|
let M = !1;
|
|
10562
|
-
const $ = { x: 0, y: 0 }, W = { x: 0, y: 0 }, Q = Je({ x: 0, y: 0 }), J =
|
|
10562
|
+
const $ = { x: 0, y: 0 }, W = { x: 0, y: 0 }, Q = Je({ x: 0, y: 0 }), J = D(!1), he = D(!1), ye = () => {
|
|
10563
10563
|
J.value = !0;
|
|
10564
10564
|
}, fe = () => {
|
|
10565
10565
|
J.value = !1;
|
|
@@ -10590,7 +10590,7 @@ var sT = Ft({
|
|
|
10590
10590
|
function we() {
|
|
10591
10591
|
w && (clearInterval(w), w = null), ee();
|
|
10592
10592
|
}
|
|
10593
|
-
const se =
|
|
10593
|
+
const se = D(!1);
|
|
10594
10594
|
function ne(A) {
|
|
10595
10595
|
const Z = l.wrapAround ? A : oo({
|
|
10596
10596
|
val: A,
|
|
@@ -10744,7 +10744,7 @@ const uo = (s) => {
|
|
|
10744
10744
|
};
|
|
10745
10745
|
uo.props = { name: String, title: String };
|
|
10746
10746
|
const rT = (s, { slots: e, attrs: t }) => {
|
|
10747
|
-
const { next: i, prev: a } = e || {}, n = Re("config", Je(Object.assign({}, gt))), r = Re("maxSlide",
|
|
10747
|
+
const { next: i, prev: a } = e || {}, n = Re("config", Je(Object.assign({}, gt))), r = Re("maxSlide", D(1)), o = Re("minSlide", D(1)), c = Re("currentSlide", D(1)), l = Re("nav", {}), { dir: d, wrapAround: h, i18n: m } = n, f = d === "rtl", u = Oe("button", {
|
|
10748
10748
|
type: "button",
|
|
10749
10749
|
class: [
|
|
10750
10750
|
"carousel__prev",
|
|
@@ -10778,7 +10778,7 @@ var oT = Ft({
|
|
|
10778
10778
|
}
|
|
10779
10779
|
},
|
|
10780
10780
|
setup(s, { slots: e }) {
|
|
10781
|
-
const t = Re("config", Je(Object.assign({}, gt))), i = Re("currentSlide",
|
|
10781
|
+
const t = Re("config", Je(Object.assign({}, gt))), i = Re("currentSlide", D(0)), a = Re("slidesToScroll", D(0)), n = Re("isSliding", D(!1)), r = () => s.index === i.value, o = () => s.index === i.value - 1, c = () => s.index === i.value + 1, l = () => {
|
|
10782
10782
|
const d = Math.floor(a.value), h = Math.ceil(a.value + t.itemsToShow - 1);
|
|
10783
10783
|
return s.index >= d && s.index <= h;
|
|
10784
10784
|
};
|
|
@@ -10982,11 +10982,11 @@ const rs = (s, e) => {
|
|
|
10982
10982
|
"26769adc": n.value,
|
|
10983
10983
|
"2678c95c": r.value
|
|
10984
10984
|
}));
|
|
10985
|
-
const i =
|
|
10985
|
+
const i = D(null), a = X(() => ({
|
|
10986
10986
|
itemsToShow: t.itemsToShow,
|
|
10987
10987
|
itemsToScroll: t.itemsToScroll,
|
|
10988
10988
|
snapAlign: "start"
|
|
10989
|
-
})), n = X(() => i.value.data.currentSlide.value == 0 ? "none" : "inline"), r = X(() => i.value.data.currentSlide.value == i.value.data.maxSlide.value ? "none" : "inline"), o =
|
|
10989
|
+
})), n = X(() => i.value.data.currentSlide.value == 0 ? "none" : "inline"), r = X(() => i.value.data.currentSlide.value == i.value.data.maxSlide.value ? "none" : "inline"), o = D({});
|
|
10990
10990
|
xe(
|
|
10991
10991
|
() => t.closestMatchDay,
|
|
10992
10992
|
(l) => {
|
|
@@ -11694,7 +11694,7 @@ const mT = { class: "game-info__teams" }, fT = { class: "game-info__teams__team_
|
|
|
11694
11694
|
GOAL: {}.GAME_EVENTS_ICONS_GOAL || "/icn-gol.svg",
|
|
11695
11695
|
RED_CARD: {}.GAME_EVENTS_ICONS_RED_CARD || "/icn-expulsion.svg",
|
|
11696
11696
|
YELLOW_CARD: {}.GAME_EVENTS_ICONS_YELLOW_CARD || "/icn-amarilla.svg"
|
|
11697
|
-
}, a =
|
|
11697
|
+
}, a = D(!1), n = D(!1), r = X(() => {
|
|
11698
11698
|
const p = { homeTeam: [], awayTeam: [] };
|
|
11699
11699
|
return t.game && t.game.game_status !== 4 && !t.game.is_live && t.game.minutes && (p.homeTeam.push(
|
|
11700
11700
|
...u(t.game.minutes.home_goals_minutes, i.GOAL)
|
|
@@ -12001,7 +12001,7 @@ const mT = { class: "game-info__teams" }, fT = { class: "game-info__teams__team_
|
|
|
12001
12001
|
},
|
|
12002
12002
|
emits: ["action"],
|
|
12003
12003
|
setup(s, { emit: e }) {
|
|
12004
|
-
const t = s, i =
|
|
12004
|
+
const t = s, i = D(0), a = X(() => {
|
|
12005
12005
|
let c = [];
|
|
12006
12006
|
if (t.gamesPages.size > 0) {
|
|
12007
12007
|
const l = Array.from(t.gamesPages.entries()).reduce(
|
|
@@ -12810,10 +12810,10 @@ const mT = { class: "game-info__teams" }, fT = { class: "game-info__teams__team_
|
|
|
12810
12810
|
setup(s, { emit: e }) {
|
|
12811
12811
|
const t = s;
|
|
12812
12812
|
let i = null, a = null, n = null;
|
|
12813
|
-
const r =
|
|
12813
|
+
const r = D([]), o = D({}), c = D(0), l = D(null), d = D({}), h = D(/* @__PURE__ */ new Map()), m = D(!1), f = D(null), u = D(null), g = D(null), p = D([]), w = D(/* @__PURE__ */ new Map()), _ = D(/* @__PURE__ */ new Set()), T = X(() => t.isCup), I = X(() => t.isCupLegacy), E = X(() => ({
|
|
12814
12814
|
height: t.height,
|
|
12815
12815
|
width: t.width
|
|
12816
|
-
})),
|
|
12816
|
+
})), R = X(() => {
|
|
12817
12817
|
if (t.games)
|
|
12818
12818
|
return ue(t.games, t.isTeamGamePerPage);
|
|
12819
12819
|
{
|
|
@@ -12822,7 +12822,7 @@ const mT = { class: "game-info__teams" }, fT = { class: "game-info__teams__team_
|
|
|
12822
12822
|
P[0].filter((K) => K.home_team.team_id === t.onlyGamesTeamId || K.visiting_team.team_id === t.onlyGamesTeamId)
|
|
12823
12823
|
] : P || [];
|
|
12824
12824
|
}
|
|
12825
|
-
}), k = X(() => t.areGamesCarouselType ?
|
|
12825
|
+
}), k = X(() => t.areGamesCarouselType ? R.value[0] : R), V = D([]), M = D([]), $ = X(() => {
|
|
12826
12826
|
const P = M.value && M.value.length ? J(o.value) : Q(o.value), K = V.value.find((ie) => ie.key === P);
|
|
12827
12827
|
return K && m.value && (W(!1), rt(K)), P;
|
|
12828
12828
|
});
|
|
@@ -13220,7 +13220,7 @@ const mT = { class: "game-info__teams" }, fT = { class: "game-info__teams__team_
|
|
|
13220
13220
|
onChangeMatchDay: rt
|
|
13221
13221
|
}, null, 8, ["match-days", "is-landing-mode", "items-to-show", "items-to-scroll", "component-width", "default-match-day-key", "closest-match-day"])) : C("", !0),
|
|
13222
13222
|
b("div", PC, [
|
|
13223
|
-
|
|
13223
|
+
R.value ? (y(), ae(ke(ff), {
|
|
13224
13224
|
key: 0,
|
|
13225
13225
|
"is-pagination-visible": s.isPaginationVisible && !s.areGamesCarouselType,
|
|
13226
13226
|
items: k.value,
|
|
@@ -13748,7 +13748,7 @@ const HC = /* @__PURE__ */ xt($C, [["render", jC], ["__scopeId", "data-v-a204f8a
|
|
|
13748
13748
|
},
|
|
13749
13749
|
emits: ["update:modelValue"],
|
|
13750
13750
|
setup(s, { emit: e }) {
|
|
13751
|
-
const t = s, i =
|
|
13751
|
+
const t = s, i = D(null);
|
|
13752
13752
|
xe(
|
|
13753
13753
|
() => t.modelValue,
|
|
13754
13754
|
() => {
|
|
@@ -13993,7 +13993,7 @@ function jE(s = "", e = {}) {
|
|
|
13993
13993
|
var HE = Ft({
|
|
13994
13994
|
name: "ARIA",
|
|
13995
13995
|
setup() {
|
|
13996
|
-
const s = Re("config", Je(Object.assign({}, pt))), e = Re("currentSlide",
|
|
13996
|
+
const s = Re("config", Je(Object.assign({}, pt))), e = Re("currentSlide", D(0)), t = Re("slidesCount", D(0));
|
|
13997
13997
|
return () => Oe("div", {
|
|
13998
13998
|
class: ["carousel__liveregion", "carousel__sr-only"],
|
|
13999
13999
|
"aria-live": "polite",
|
|
@@ -14008,9 +14008,9 @@ var HE = Ft({
|
|
|
14008
14008
|
props: Dd,
|
|
14009
14009
|
setup(s, { slots: e, emit: t, expose: i }) {
|
|
14010
14010
|
var a;
|
|
14011
|
-
const n =
|
|
14011
|
+
const n = D(null), r = D([]), o = D(0), c = D(0), l = Je(Object.assign({}, pt));
|
|
14012
14012
|
let d = Object.assign({}, pt), h;
|
|
14013
|
-
const m =
|
|
14013
|
+
const m = D((a = s.modelValue) !== null && a !== void 0 ? a : 0), f = D(0), u = D(0), g = D(0), p = D(0);
|
|
14014
14014
|
let w, _;
|
|
14015
14015
|
De("config", l), De("slidesCount", c), De("currentSlide", m), De("maxSlide", g), De("minSlide", p), De("slideWidth", o);
|
|
14016
14016
|
function T() {
|
|
@@ -14029,7 +14029,7 @@ var HE = Ft({
|
|
|
14029
14029
|
function E(A) {
|
|
14030
14030
|
Object.entries(A).forEach(([Z, P]) => l[Z] = P);
|
|
14031
14031
|
}
|
|
14032
|
-
const
|
|
14032
|
+
const R = zE(() => {
|
|
14033
14033
|
I(), V(), k();
|
|
14034
14034
|
}, 16);
|
|
14035
14035
|
function k() {
|
|
@@ -14046,14 +14046,14 @@ var HE = Ft({
|
|
|
14046
14046
|
})));
|
|
14047
14047
|
}
|
|
14048
14048
|
nt(() => {
|
|
14049
|
-
Wi(() => k()), setTimeout(() => k(), 1e3), I(), ee(), window.addEventListener("resize",
|
|
14049
|
+
Wi(() => k()), setTimeout(() => k(), 1e3), I(), ee(), window.addEventListener("resize", R, { passive: !0 }), t("init");
|
|
14050
14050
|
}), Wt(() => {
|
|
14051
|
-
_ && clearTimeout(_), w && clearInterval(w), window.removeEventListener("resize",
|
|
14051
|
+
_ && clearTimeout(_), w && clearInterval(w), window.removeEventListener("resize", R, {
|
|
14052
14052
|
passive: !0
|
|
14053
14053
|
});
|
|
14054
14054
|
});
|
|
14055
14055
|
let M = !1;
|
|
14056
|
-
const $ = { x: 0, y: 0 }, W = { x: 0, y: 0 }, Q = Je({ x: 0, y: 0 }), J =
|
|
14056
|
+
const $ = { x: 0, y: 0 }, W = { x: 0, y: 0 }, Q = Je({ x: 0, y: 0 }), J = D(!1), he = D(!1), ye = () => {
|
|
14057
14057
|
J.value = !0;
|
|
14058
14058
|
}, fe = () => {
|
|
14059
14059
|
J.value = !1;
|
|
@@ -14084,7 +14084,7 @@ var HE = Ft({
|
|
|
14084
14084
|
function we() {
|
|
14085
14085
|
w && (clearInterval(w), w = null), ee();
|
|
14086
14086
|
}
|
|
14087
|
-
const se =
|
|
14087
|
+
const se = D(!1);
|
|
14088
14088
|
function ne(A) {
|
|
14089
14089
|
const Z = l.wrapAround ? A : ho({
|
|
14090
14090
|
val: A,
|
|
@@ -14238,7 +14238,7 @@ const go = (s) => {
|
|
|
14238
14238
|
};
|
|
14239
14239
|
go.props = { name: String, title: String };
|
|
14240
14240
|
const YE = (s, { slots: e, attrs: t }) => {
|
|
14241
|
-
const { next: i, prev: a } = e || {}, n = Re("config", Je(Object.assign({}, pt))), r = Re("maxSlide",
|
|
14241
|
+
const { next: i, prev: a } = e || {}, n = Re("config", Je(Object.assign({}, pt))), r = Re("maxSlide", D(1)), o = Re("minSlide", D(1)), c = Re("currentSlide", D(1)), l = Re("nav", {}), { dir: d, wrapAround: h, i18n: m } = n, f = d === "rtl", u = Oe("button", {
|
|
14242
14242
|
type: "button",
|
|
14243
14243
|
class: [
|
|
14244
14244
|
"carousel__prev",
|
|
@@ -14272,7 +14272,7 @@ var JE = Ft({
|
|
|
14272
14272
|
}
|
|
14273
14273
|
},
|
|
14274
14274
|
setup(s, { slots: e }) {
|
|
14275
|
-
const t = Re("config", Je(Object.assign({}, pt))), i = Re("currentSlide",
|
|
14275
|
+
const t = Re("config", Je(Object.assign({}, pt))), i = Re("currentSlide", D(0)), a = Re("slidesToScroll", D(0)), n = Re("isSliding", D(!1)), r = X(() => s.index === i.value), o = X(() => s.index === i.value - 1), c = X(() => s.index === i.value + 1), l = X(() => {
|
|
14276
14276
|
const d = Math.floor(a.value), h = Math.ceil(a.value + t.itemsToShow - 1);
|
|
14277
14277
|
return s.index >= d && s.index <= h;
|
|
14278
14278
|
});
|
|
@@ -14482,11 +14482,11 @@ const XE = {
|
|
|
14482
14482
|
"179f4a74": r.value,
|
|
14483
14483
|
"17a178f4": o.value
|
|
14484
14484
|
}));
|
|
14485
|
-
const i =
|
|
14485
|
+
const i = D(null), a = D(-1), n = X(() => ({
|
|
14486
14486
|
itemsToShow: t.itemsToShow,
|
|
14487
14487
|
itemsToScroll: t.itemsToScroll,
|
|
14488
14488
|
snapAlign: "start"
|
|
14489
|
-
})), r = X(() => i.value.data.currentSlide.value === 0 ? "none" : "inline"), o = X(() => i.value.data.currentSlide.value === i.value.data.maxSlide.value ? "none" : "inline"), c =
|
|
14489
|
+
})), r = X(() => i.value.data.currentSlide.value === 0 ? "none" : "inline"), o = X(() => i.value.data.currentSlide.value === i.value.data.maxSlide.value ? "none" : "inline"), c = D({});
|
|
14490
14490
|
xe(
|
|
14491
14491
|
() => t.closestMatchDay,
|
|
14492
14492
|
(d) => {
|
|
@@ -14689,7 +14689,7 @@ const Ls = (s) => (Ze("data-v-34517377"), s = s(), Qe(), s), ak = { class: "quad
|
|
|
14689
14689
|
},
|
|
14690
14690
|
emits: ["change-match-day", "change-is-league-selected", "click-live"],
|
|
14691
14691
|
setup(s, { emit: e }) {
|
|
14692
|
-
const t = s, i = _l(), a =
|
|
14692
|
+
const t = s, i = _l(), a = D(!1), n = Lp(t, "componentWidth"), r = X(() => n.value < 768);
|
|
14693
14693
|
xe(a, (d) => {
|
|
14694
14694
|
e("change-is-league-selected", d);
|
|
14695
14695
|
}), xe(
|
|
@@ -15471,7 +15471,7 @@ function wA(s, e, t, i, a, n) {
|
|
|
15471
15471
|
}
|
|
15472
15472
|
const SA = /* @__PURE__ */ uA(Tl, [["render", wA], ["__scopeId", "data-v-fb269a1e"]]);
|
|
15473
15473
|
function _A(s) {
|
|
15474
|
-
const e =
|
|
15474
|
+
const e = D({ width: 0, height: 0 });
|
|
15475
15475
|
function t() {
|
|
15476
15476
|
const i = s.value.getBoundingClientRect();
|
|
15477
15477
|
e.value.width = i.width, e.value.height = i.height;
|
|
@@ -15599,7 +15599,7 @@ const LA = /* @__PURE__ */ xt(xl, [["render", AA], ["__scopeId", "data-v-f9c67ce
|
|
|
15599
15599
|
GSCRadioToggle: LA
|
|
15600
15600
|
},
|
|
15601
15601
|
setup() {
|
|
15602
|
-
const s =
|
|
15602
|
+
const s = D("myDivRef"), { elementSize: e } = _A(s);
|
|
15603
15603
|
return {
|
|
15604
15604
|
myDivRef: s,
|
|
15605
15605
|
elementSize: e
|
|
@@ -16446,7 +16446,7 @@ function YA(s = "", e = {}) {
|
|
|
16446
16446
|
var JA = Ft({
|
|
16447
16447
|
name: "ARIA",
|
|
16448
16448
|
setup() {
|
|
16449
|
-
const s = Re("config", Je(Object.assign({}, Lt))), e = Re("currentSlide",
|
|
16449
|
+
const s = Re("config", Je(Object.assign({}, Lt))), e = Re("currentSlide", D(0)), t = Re("slidesCount", D(0));
|
|
16450
16450
|
return () => Oe("div", {
|
|
16451
16451
|
class: ["carousel__liveregion", "carousel__sr-only"],
|
|
16452
16452
|
"aria-live": "polite",
|
|
@@ -16461,9 +16461,9 @@ var JA = Ft({
|
|
|
16461
16461
|
props: Bd,
|
|
16462
16462
|
setup(s, { slots: e, emit: t, expose: i }) {
|
|
16463
16463
|
var a;
|
|
16464
|
-
const n =
|
|
16464
|
+
const n = D(null), r = D([]), o = D(0), c = D(0), l = Je(Object.assign({}, Lt));
|
|
16465
16465
|
let d = Object.assign({}, Lt), h;
|
|
16466
|
-
const m =
|
|
16466
|
+
const m = D((a = s.modelValue) !== null && a !== void 0 ? a : 0), f = D(0), u = D(0), g = D(0), p = D(0);
|
|
16467
16467
|
let w, _;
|
|
16468
16468
|
De("config", l), De("slidesCount", c), De("currentSlide", m), De("maxSlide", g), De("minSlide", p), De("slideWidth", o);
|
|
16469
16469
|
function T() {
|
|
@@ -16482,7 +16482,7 @@ var JA = Ft({
|
|
|
16482
16482
|
function E(A) {
|
|
16483
16483
|
Object.entries(A).forEach(([Z, P]) => l[Z] = P);
|
|
16484
16484
|
}
|
|
16485
|
-
const
|
|
16485
|
+
const R = qA(() => {
|
|
16486
16486
|
I(), k();
|
|
16487
16487
|
}, 16);
|
|
16488
16488
|
function k() {
|
|
@@ -16499,14 +16499,14 @@ var JA = Ft({
|
|
|
16499
16499
|
})));
|
|
16500
16500
|
}
|
|
16501
16501
|
nt(() => {
|
|
16502
|
-
Wi(() => k()), setTimeout(() => k(), 1e3), I(), ee(), window.addEventListener("resize",
|
|
16502
|
+
Wi(() => k()), setTimeout(() => k(), 1e3), I(), ee(), window.addEventListener("resize", R, { passive: !0 }), t("init");
|
|
16503
16503
|
}), Wt(() => {
|
|
16504
|
-
_ && clearTimeout(_), w && clearInterval(w), window.removeEventListener("resize",
|
|
16504
|
+
_ && clearTimeout(_), w && clearInterval(w), window.removeEventListener("resize", R, {
|
|
16505
16505
|
passive: !0
|
|
16506
16506
|
});
|
|
16507
16507
|
});
|
|
16508
16508
|
let M = !1;
|
|
16509
|
-
const $ = { x: 0, y: 0 }, W = { x: 0, y: 0 }, Q = Je({ x: 0, y: 0 }), J =
|
|
16509
|
+
const $ = { x: 0, y: 0 }, W = { x: 0, y: 0 }, Q = Je({ x: 0, y: 0 }), J = D(!1), he = D(!1), ye = () => {
|
|
16510
16510
|
J.value = !0;
|
|
16511
16511
|
}, fe = () => {
|
|
16512
16512
|
J.value = !1;
|
|
@@ -16537,7 +16537,7 @@ var JA = Ft({
|
|
|
16537
16537
|
function we() {
|
|
16538
16538
|
w && (clearInterval(w), w = null), ee();
|
|
16539
16539
|
}
|
|
16540
|
-
const se =
|
|
16540
|
+
const se = D(!1);
|
|
16541
16541
|
function ne(A) {
|
|
16542
16542
|
const Z = l.wrapAround ? A : po({
|
|
16543
16543
|
val: A,
|
|
@@ -16681,7 +16681,7 @@ var ZA = Ft({
|
|
|
16681
16681
|
}
|
|
16682
16682
|
},
|
|
16683
16683
|
setup(s, { slots: e }) {
|
|
16684
|
-
const t = Re("config", Je(Object.assign({}, Lt))), i = Re("currentSlide",
|
|
16684
|
+
const t = Re("config", Je(Object.assign({}, Lt))), i = Re("currentSlide", D(0)), a = Re("slidesToScroll", D(0)), n = Re("isSliding", D(!1)), r = () => s.index === i.value, o = () => s.index === i.value - 1, c = () => s.index === i.value + 1, l = () => {
|
|
16685
16685
|
const d = Math.floor(a.value), h = Math.ceil(a.value + t.itemsToShow - 1);
|
|
16686
16686
|
return s.index >= d && s.index <= h;
|
|
16687
16687
|
};
|
|
@@ -16848,7 +16848,7 @@ const QA = (s, e) => {
|
|
|
16848
16848
|
"1904d43f": s.marginTop,
|
|
16849
16849
|
cfb58986: s.secondarySlidesOpacity
|
|
16850
16850
|
}));
|
|
16851
|
-
const a =
|
|
16851
|
+
const a = D(null), n = D({}), r = D(0), o = D(!1);
|
|
16852
16852
|
xe(
|
|
16853
16853
|
a,
|
|
16854
16854
|
(g) => {
|
|
@@ -17851,12 +17851,12 @@ const le = { getIconUrl() {
|
|
|
17851
17851
|
});
|
|
17852
17852
|
const T = Ae("span", null, wt.get(w, this.config)), I = Ae("span", { class: this.config.classNames.menu.value });
|
|
17853
17853
|
I.innerHTML = s[w], T.appendChild(I), _.appendChild(T), p.appendChild(_);
|
|
17854
|
-
const E = Ae("div", { id: `plyr-settings-${s.id}-${w}`, hidden: "" }),
|
|
17855
|
-
|
|
17854
|
+
const E = Ae("div", { id: `plyr-settings-${s.id}-${w}`, hidden: "" }), R = Ae("button", { type: "button", class: `${this.config.classNames.control} ${this.config.classNames.control}--back` });
|
|
17855
|
+
R.appendChild(Ae("span", { "aria-hidden": !0 }, wt.get(w, this.config))), R.appendChild(Ae("span", { class: this.config.classNames.hidden }, wt.get("menuBack", this.config))), We.call(this, E, "keydown", (k) => {
|
|
17856
17856
|
k.key === "ArrowLeft" && (k.preventDefault(), k.stopPropagation(), c.call(this, "home", !0));
|
|
17857
|
-
}, !1), We.call(this,
|
|
17857
|
+
}, !1), We.call(this, R, "click", () => {
|
|
17858
17858
|
c.call(this, "home", !1);
|
|
17859
|
-
}), E.appendChild(
|
|
17859
|
+
}), E.appendChild(R), E.appendChild(Ae("div", { role: "menu" })), u.appendChild(E), this.elements.settings.buttons[w] = _, this.elements.settings.panels[w] = E;
|
|
17860
17860
|
}), f.appendChild(u), m.appendChild(f), l.appendChild(m), this.elements.settings.popup = f, this.elements.settings.menu = m;
|
|
17861
17861
|
}
|
|
17862
17862
|
if (h === "pip" && ct.pip && l.appendChild(t.call(this, "pip", d)), h === "airplay" && ct.airplay && l.appendChild(t.call(this, "airplay", d)), h === "download") {
|
|
@@ -18409,8 +18409,8 @@ var yL = pL(function(s, e) {
|
|
|
18409
18409
|
m.call && (m = { success: m }), f.length ? (m.error || t)(f) : (m.success || t)(m);
|
|
18410
18410
|
}
|
|
18411
18411
|
function l(m, f, u, g) {
|
|
18412
|
-
var p, w, _ = document, T = u.async, I = (u.numRetries || 0) + 1, E = u.before || t,
|
|
18413
|
-
g = g || 0, /(^css!|\.css$)/.test(
|
|
18412
|
+
var p, w, _ = document, T = u.async, I = (u.numRetries || 0) + 1, E = u.before || t, R = m.replace(/[\?|#].*$/, ""), k = m.replace(/^(css|img)!/, "");
|
|
18413
|
+
g = g || 0, /(^css!|\.css$)/.test(R) ? ((w = _.createElement("link")).rel = "stylesheet", w.href = k, (p = "hideFocus" in w) && w.relList && (p = 0, w.rel = "preload", w.as = "style")) : /(^img!|\.(png|gif|jpg|svg|webp)$)/.test(R) ? (w = _.createElement("img")).src = k : ((w = _.createElement("script")).src = m, w.async = T === void 0 || T), w.onload = w.onerror = w.onbeforeload = function(V) {
|
|
18414
18414
|
var M = V.type[0];
|
|
18415
18415
|
if (p) try {
|
|
18416
18416
|
w.sheet.cssText.length || (M = "e");
|
|
@@ -18425,9 +18425,9 @@ var yL = pL(function(s, e) {
|
|
|
18425
18425
|
}
|
|
18426
18426
|
function d(m, f, u) {
|
|
18427
18427
|
var g, p, w = (m = m.push ? m : [m]).length, _ = w, T = [];
|
|
18428
|
-
for (g = function(I, E,
|
|
18428
|
+
for (g = function(I, E, R) {
|
|
18429
18429
|
if (E == "e" && T.push(I), E == "b") {
|
|
18430
|
-
if (!
|
|
18430
|
+
if (!R) return;
|
|
18431
18431
|
T.push(I);
|
|
18432
18432
|
}
|
|
18433
18433
|
--w || f(T);
|
|
@@ -18502,8 +18502,8 @@ const _o = { setup() {
|
|
|
18502
18502
|
};
|
|
18503
18503
|
let { currentTime: m } = s.media;
|
|
18504
18504
|
Object.defineProperty(s.media, "currentTime", { get: () => m, set(_) {
|
|
18505
|
-
const { embed: T, media: I, paused: E, volume:
|
|
18506
|
-
I.seeking = !0, Ie.call(s, I, "seeking"), Promise.resolve(k && T.setVolume(0)).then(() => T.setCurrentTime(_)).then(() => k && T.pause()).then(() => k && T.setVolume(
|
|
18505
|
+
const { embed: T, media: I, paused: E, volume: R } = s, k = E && !T.hasPlayed;
|
|
18506
|
+
I.seeking = !0, Ie.call(s, I, "seeking"), Promise.resolve(k && T.setVolume(0)).then(() => T.setCurrentTime(_)).then(() => k && T.pause()).then(() => k && T.setVolume(R)).catch(() => {
|
|
18507
18507
|
});
|
|
18508
18508
|
} });
|
|
18509
18509
|
let f = s.config.speed.selected;
|
|
@@ -19313,7 +19313,7 @@ const xL = {
|
|
|
19313
19313
|
},
|
|
19314
19314
|
emits: ["play-ended"],
|
|
19315
19315
|
setup(s, { emit: e }) {
|
|
19316
|
-
const t = s, i =
|
|
19316
|
+
const t = s, i = D(null), a = D(!1), n = X(() => `p-${t.play.playId || t.play.play_id}`), r = X(() => {
|
|
19317
19317
|
if (t.isPlaySeeker) {
|
|
19318
19318
|
const f = new Date(t.play.gameDate);
|
|
19319
19319
|
return `${f.getDate()}, ${tk(f.getMonth())} ${f.getFullYear()}`;
|
|
@@ -19457,7 +19457,7 @@ const xL = {
|
|
|
19457
19457
|
setup(s, { emit: e }) {
|
|
19458
19458
|
const t = s;
|
|
19459
19459
|
let i = 0, a = /* @__PURE__ */ new Map();
|
|
19460
|
-
const n =
|
|
19460
|
+
const n = D({
|
|
19461
19461
|
wrapAround: !1,
|
|
19462
19462
|
itemsToShow: 1.2,
|
|
19463
19463
|
isMainSlidePriority: !0,
|
|
@@ -19465,7 +19465,7 @@ const xL = {
|
|
|
19465
19465
|
areNavigationArrowsVisible: !1,
|
|
19466
19466
|
slideLeftArrowBackgroundImage: "none",
|
|
19467
19467
|
slideRightArrowBackgroundImage: "none"
|
|
19468
|
-
}), r =
|
|
19468
|
+
}), r = D(null), o = D([]);
|
|
19469
19469
|
xe(
|
|
19470
19470
|
() => t.playerQueue,
|
|
19471
19471
|
(w) => {
|
|
@@ -19487,11 +19487,11 @@ const xL = {
|
|
|
19487
19487
|
i = w.index;
|
|
19488
19488
|
const T = a.get(i + _ * -1), I = a.get(i);
|
|
19489
19489
|
if (T && T.videoPlayer && (T.videoPlayer.pause(), T.videoPlayer.currentTime = 0), I && I.videoPlayer && I.videoPlayer.play(), _ > 0) {
|
|
19490
|
-
const E = a.get(i + ur),
|
|
19491
|
-
E && (o.value.find((V) => V.index === E.index) || o.value.push(E)),
|
|
19490
|
+
const E = a.get(i + ur), R = a.get(i + 1), k = a.get(i - ur);
|
|
19491
|
+
E && (o.value.find((V) => V.index === E.index) || o.value.push(E)), R && R.videoPlayer && R.videoPlayer.isDestroyed && R.plyrInit(), k && k.videoPlayer && (k.videoPlayer.pause(), k.videoPlayer.src = "", k.videoPlayer.destroy(), k.videoPlayer.isDestroyed = !0);
|
|
19492
19492
|
} else if (_ < 0) {
|
|
19493
|
-
const E = a.get(i - 1),
|
|
19494
|
-
E && E.videoPlayer && E.videoPlayer.isDestroyed && E.plyrInit(),
|
|
19493
|
+
const E = a.get(i - 1), R = a.get(i + ur);
|
|
19494
|
+
E && E.videoPlayer && E.videoPlayer.isDestroyed && E.plyrInit(), R && R.videoPlayer && (R.videoPlayer.pause(), R.videoPlayer.src = "", R.videoPlayer.destroy(), R.videoPlayer.isDestroyed = !0);
|
|
19495
19495
|
}
|
|
19496
19496
|
}
|
|
19497
19497
|
}
|
|
@@ -19886,7 +19886,7 @@ const e4 = /* @__PURE__ */ jL(Dl, [["render", QL], ["__scopeId", "data-v-fb269a1
|
|
|
19886
19886
|
},
|
|
19887
19887
|
emits: ["input", "click-ready", "update:modelValue"],
|
|
19888
19888
|
setup(s, { emit: e }) {
|
|
19889
|
-
const t = s, i =
|
|
19889
|
+
const t = s, i = D({}), a = D(null), n = D(t.isMultipleOption ? -1 : 0), r = D(!1);
|
|
19890
19890
|
xe(
|
|
19891
19891
|
() => t.items,
|
|
19892
19892
|
(f, u) => {
|
|
@@ -20118,7 +20118,7 @@ const e4 = /* @__PURE__ */ jL(Dl, [["render", QL], ["__scopeId", "data-v-fb269a1
|
|
|
20118
20118
|
},
|
|
20119
20119
|
emits: ["input", "change-tournaments"],
|
|
20120
20120
|
setup(s, { emit: e }) {
|
|
20121
|
-
const t = s, i =
|
|
20121
|
+
const t = s, i = D([]), a = X(() => {
|
|
20122
20122
|
const f = {};
|
|
20123
20123
|
return t.fontFamily && (f["font-family"] = `${t.fontFamily}`), f;
|
|
20124
20124
|
}), n = X(() => t.tournamentsIdsToInclude.size ? c(i.value) : i.value), r = X(() => n.value.find(
|
|
@@ -20476,7 +20476,7 @@ const E4 = /* @__PURE__ */ p4(Pl, [["render", C4], ["__scopeId", "data-v-fb269a1
|
|
|
20476
20476
|
},
|
|
20477
20477
|
emits: ["input", "click-ready", "update:modelValue"],
|
|
20478
20478
|
setup(s, { emit: e }) {
|
|
20479
|
-
const t = s, i =
|
|
20479
|
+
const t = s, i = D({}), a = D(null), n = D(t.isMultipleOption ? -1 : 0), r = D(!1);
|
|
20480
20480
|
xe(
|
|
20481
20481
|
() => t.items,
|
|
20482
20482
|
(f, u) => {
|
|
@@ -21860,12 +21860,12 @@ const rR = async (s) => {
|
|
|
21860
21860
|
let _;
|
|
21861
21861
|
try {
|
|
21862
21862
|
if (c && nR && t !== "get" && t !== "head" && (_ = await oR(d, i)) !== 0) {
|
|
21863
|
-
let
|
|
21863
|
+
let R = new Request(e, {
|
|
21864
21864
|
method: "POST",
|
|
21865
21865
|
body: i,
|
|
21866
21866
|
duplex: "half"
|
|
21867
21867
|
}), k;
|
|
21868
|
-
H.isFormData(i) && (k =
|
|
21868
|
+
H.isFormData(i) && (k = R.headers.get("content-type")) && d.setContentType(k), R.body && (i = uu(R.body, mu, hu(
|
|
21869
21869
|
_,
|
|
21870
21870
|
Ja(c)
|
|
21871
21871
|
), null, ko));
|
|
@@ -21882,9 +21882,9 @@ const rR = async (s) => {
|
|
|
21882
21882
|
let T = await fetch(p);
|
|
21883
21883
|
const I = Ao && (l === "stream" || l === "response");
|
|
21884
21884
|
if (Ao && (o || I)) {
|
|
21885
|
-
const
|
|
21885
|
+
const R = {};
|
|
21886
21886
|
["status", "statusText", "headers"].forEach((V) => {
|
|
21887
|
-
|
|
21887
|
+
R[V] = T[V];
|
|
21888
21888
|
});
|
|
21889
21889
|
const k = H.toFiniteNumber(T.headers.get("content-length"));
|
|
21890
21890
|
T = new Response(
|
|
@@ -21892,13 +21892,13 @@ const rR = async (s) => {
|
|
|
21892
21892
|
k,
|
|
21893
21893
|
Ja(o, !0)
|
|
21894
21894
|
), I && w, ko),
|
|
21895
|
-
|
|
21895
|
+
R
|
|
21896
21896
|
);
|
|
21897
21897
|
}
|
|
21898
21898
|
l = l || "text";
|
|
21899
21899
|
let E = await Xa[H.findKey(Xa, l) || "text"](T, s);
|
|
21900
|
-
return !I && w(), u && u(), await new Promise((
|
|
21901
|
-
hg(
|
|
21900
|
+
return !I && w(), u && u(), await new Promise((R, k) => {
|
|
21901
|
+
hg(R, k, {
|
|
21902
21902
|
data: E,
|
|
21903
21903
|
headers: is.from(T.headers),
|
|
21904
21904
|
status: T.status,
|
|
@@ -23956,7 +23956,7 @@ function v6(s, e, t, i, a, n) {
|
|
|
23956
23956
|
}
|
|
23957
23957
|
const w6 = /* @__PURE__ */ Gs(ql, [["render", v6], ["__scopeId", "data-v-df5486d2"]]);
|
|
23958
23958
|
function S6(s) {
|
|
23959
|
-
const e =
|
|
23959
|
+
const e = D({ width: 0, height: 0 });
|
|
23960
23960
|
function t() {
|
|
23961
23961
|
const i = s.value.getBoundingClientRect();
|
|
23962
23962
|
e.value.width = i.width, e.value.height = i.height;
|
|
@@ -23985,7 +23985,7 @@ const _6 = "_ptg_1shb4_2", T6 = "_ptgtitle_1shb4_7", x6 = "_ptgtitle450_1shb4_23
|
|
|
23985
23985
|
GSCThumbnailHighlightGameHistoric: MR
|
|
23986
23986
|
},
|
|
23987
23987
|
setup() {
|
|
23988
|
-
const s =
|
|
23988
|
+
const s = D("ptgDiv"), { elementSize: e } = S6(s);
|
|
23989
23989
|
return {
|
|
23990
23990
|
ptgDiv: s,
|
|
23991
23991
|
elementSize: e
|
|
@@ -27231,9 +27231,9 @@ function qu(s, e) {
|
|
|
27231
27231
|
let T = 0;
|
|
27232
27232
|
const I = (g & 16) !== 0;
|
|
27233
27233
|
let E = 0;
|
|
27234
|
-
const
|
|
27234
|
+
const R = (g & 32) !== 0;
|
|
27235
27235
|
let k = 8;
|
|
27236
|
-
u === n && (p && (k += 8), w && (k += 4), _ && (T = Se(f, k), k += 4), I && (E = Se(f, k), k += 4),
|
|
27236
|
+
u === n && (p && (k += 8), w && (k += 4), _ && (T = Se(f, k), k += 4), I && (E = Se(f, k), k += 4), R && (k += 4), e.type === "video" && (r = xD(e.codec)), Fe(h, ["trun"]).map((V) => {
|
|
27237
27237
|
const M = V[0], $ = Se(V, 0) & 16777215, W = ($ & 1) !== 0;
|
|
27238
27238
|
let Q = 0;
|
|
27239
27239
|
const J = ($ & 4) !== 0, he = ($ & 256) !== 0;
|
|
@@ -28012,9 +28012,9 @@ class fs {
|
|
|
28012
28012
|
}
|
|
28013
28013
|
}
|
|
28014
28014
|
u && !u.relurl ? (c.pop(), m -= u.duration, o.partList && (o.fragmentHint = u)) : o.partList && (nh(g, u), g.cc = f, o.fragmentHint = g, _ && oh(g, _, o));
|
|
28015
|
-
const
|
|
28016
|
-
if (m += o.skippedSegments * o.targetduration, m > 0 &&
|
|
28017
|
-
o.averagetargetduration = m /
|
|
28015
|
+
const R = c.length, k = c[0], V = c[R - 1];
|
|
28016
|
+
if (m += o.skippedSegments * o.targetduration, m > 0 && R && V) {
|
|
28017
|
+
o.averagetargetduration = m / R;
|
|
28018
28018
|
const M = V.sn;
|
|
28019
28019
|
o.endSN = M !== "initSegment" ? M : 0, o.live || (V.endList = !0), k && (o.startCC = k.cc);
|
|
28020
28020
|
} else
|
|
@@ -28734,9 +28734,9 @@ class WD {
|
|
|
28734
28734
|
if (_)
|
|
28735
28735
|
w = Cr(_, c), p = !0;
|
|
28736
28736
|
else if (m.endOnNext && !p) {
|
|
28737
|
-
const I = r.reduce((E,
|
|
28738
|
-
if (
|
|
28739
|
-
const k = n[
|
|
28737
|
+
const I = r.reduce((E, R) => {
|
|
28738
|
+
if (R !== m.id) {
|
|
28739
|
+
const k = n[R];
|
|
28740
28740
|
if (k.class === m.class && k.startDate > m.startDate && (!E || m.startDate < E.startDate))
|
|
28741
28741
|
return k;
|
|
28742
28742
|
}
|
|
@@ -28749,9 +28749,9 @@ class WD {
|
|
|
28749
28749
|
const E = T[I];
|
|
28750
28750
|
if (!Y6(E))
|
|
28751
28751
|
continue;
|
|
28752
|
-
const
|
|
28753
|
-
if (
|
|
28754
|
-
p && !u.durationKnown && (
|
|
28752
|
+
const R = g[E];
|
|
28753
|
+
if (R)
|
|
28754
|
+
p && !u.durationKnown && (R.endTime = w);
|
|
28755
28755
|
else if (l) {
|
|
28756
28756
|
let k = m.attr[E];
|
|
28757
28757
|
J6(E) && (k = HD(k));
|
|
@@ -29438,16 +29438,16 @@ class oP {
|
|
|
29438
29438
|
} = i;
|
|
29439
29439
|
i.autoLevelEnabled || (i.loadLevel = -1);
|
|
29440
29440
|
const g = (n = e.frag) == null ? void 0 : n.type, w = (g === Te.AUDIO && l === U.FRAG_PARSING_ERROR || e.sourceBufferName === "audio" && (l === U.BUFFER_ADD_CODEC_ERROR || l === U.BUFFER_APPEND_ERROR)) && h.some(({
|
|
29441
|
-
audioCodec:
|
|
29442
|
-
}) => a.audioCodec !==
|
|
29443
|
-
codecSet:
|
|
29441
|
+
audioCodec: R
|
|
29442
|
+
}) => a.audioCodec !== R), T = e.sourceBufferName === "video" && (l === U.BUFFER_ADD_CODEC_ERROR || l === U.BUFFER_APPEND_ERROR) && h.some(({
|
|
29443
|
+
codecSet: R,
|
|
29444
29444
|
audioCodec: k
|
|
29445
|
-
}) => a.codecSet !==
|
|
29445
|
+
}) => a.codecSet !== R && a.audioCodec === k), {
|
|
29446
29446
|
type: I,
|
|
29447
29447
|
groupId: E
|
|
29448
29448
|
} = (r = e.context) != null ? r : {};
|
|
29449
|
-
for (let
|
|
29450
|
-
const k = (
|
|
29449
|
+
for (let R = h.length; R--; ) {
|
|
29450
|
+
const k = (R + m) % h.length;
|
|
29451
29451
|
if (k !== m && k >= f && k <= u && h[k].loadError === 0) {
|
|
29452
29452
|
var o, c;
|
|
29453
29453
|
const V = h[k];
|
|
@@ -29581,8 +29581,8 @@ class tc {
|
|
|
29581
29581
|
return;
|
|
29582
29582
|
let c, l, d;
|
|
29583
29583
|
if (a.canBlockReload && a.endSN && a.advanced) {
|
|
29584
|
-
const p = this.hls.config.lowLatencyMode, w = a.lastPartSn, _ = a.endSN, T = a.lastPartIndex, I = T !== -1, E = w === _,
|
|
29585
|
-
I ? (l = E ? _ + 1 : w, d = E ?
|
|
29584
|
+
const p = this.hls.config.lowLatencyMode, w = a.lastPartSn, _ = a.endSN, T = a.lastPartIndex, I = T !== -1, E = w === _, R = p ? 0 : T;
|
|
29585
|
+
I ? (l = E ? _ + 1 : w, d = E ? R : T + 1) : l = _ + 1;
|
|
29586
29586
|
const k = a.age, V = k + a.ageHeader;
|
|
29587
29587
|
let M = Math.min(V - a.partTarget, a.targetduration * 1.5);
|
|
29588
29588
|
if (M > 0) {
|
|
@@ -29806,30 +29806,30 @@ function fP(s, e, t, i, a) {
|
|
|
29806
29806
|
allowedVideoRanges: w
|
|
29807
29807
|
} = mP(e, a);
|
|
29808
29808
|
for (let E = n.length; E--; ) {
|
|
29809
|
-
const
|
|
29810
|
-
l =
|
|
29811
|
-
const k = w.filter((V) =>
|
|
29809
|
+
const R = s[n[E]];
|
|
29810
|
+
l = R.channels[2] > 0, h = Math.min(h, R.minHeight), m = Math.min(m, R.minFramerate), f = Math.min(f, R.minBitrate);
|
|
29811
|
+
const k = w.filter((V) => R.videoRanges[V] > 0);
|
|
29812
29812
|
k.length > 0 && (d = !0, g = k);
|
|
29813
29813
|
}
|
|
29814
29814
|
h = pe(h) ? h : 0, m = pe(m) ? m : 0;
|
|
29815
29815
|
const _ = Math.max(1080, h), T = Math.max(30, m);
|
|
29816
29816
|
return f = pe(f) ? f : t, t = Math.max(f, t), d || (e = void 0, g = []), {
|
|
29817
|
-
codecSet: n.reduce((E,
|
|
29818
|
-
const k = s[
|
|
29819
|
-
if (
|
|
29817
|
+
codecSet: n.reduce((E, R) => {
|
|
29818
|
+
const k = s[R];
|
|
29819
|
+
if (R === E)
|
|
29820
29820
|
return E;
|
|
29821
29821
|
if (k.minBitrate > t)
|
|
29822
|
-
return Ss(
|
|
29822
|
+
return Ss(R, `min bitrate of ${k.minBitrate} > current estimate of ${t}`), E;
|
|
29823
29823
|
if (!k.hasDefaultAudio)
|
|
29824
|
-
return Ss(
|
|
29825
|
-
if (o &&
|
|
29826
|
-
return Ss(
|
|
29824
|
+
return Ss(R, "no renditions with default or auto-select sound found"), E;
|
|
29825
|
+
if (o && R.indexOf(o.substring(0, 4)) % 5 !== 0)
|
|
29826
|
+
return Ss(R, `audio codec preference "${o}" not found`), E;
|
|
29827
29827
|
if (r && !c) {
|
|
29828
29828
|
if (!k.channels[r])
|
|
29829
|
-
return Ss(
|
|
29829
|
+
return Ss(R, `no renditions with ${r} channel sound found (channels options: ${Object.keys(k.channels)})`), E;
|
|
29830
29830
|
} else if ((!o || c) && l && k.channels[2] === 0)
|
|
29831
|
-
return Ss(
|
|
29832
|
-
return k.minHeight > _ ? (Ss(
|
|
29831
|
+
return Ss(R, "no renditions with stereo sound found"), E;
|
|
29832
|
+
return k.minHeight > _ ? (Ss(R, `min resolution of ${k.minHeight} > maximum of ${_}`), E) : k.minFramerate > T ? (Ss(R, `min framerate of ${k.minFramerate} > maximum of ${T}`), E) : g.some((V) => k.videoRanges[V] > 0) ? k.maxScore < u ? (Ss(R, `max score of ${k.maxScore} < selected max of ${u}`), E) : E && (tn(R) >= tn(E) || k.fragmentError > s[E].fragmentError) ? E : (u = k.maxScore, R) : (Ss(R, `no variants with VIDEO-RANGE of ${JSON.stringify(g)} found`), E);
|
|
29833
29833
|
}, void 0),
|
|
29834
29834
|
videoRanges: g,
|
|
29835
29835
|
preferHDR: p,
|
|
@@ -29978,9 +29978,9 @@ class vP {
|
|
|
29978
29978
|
if (d <= Math.max(f, 1e3 * (l / (u * 2))))
|
|
29979
29979
|
return;
|
|
29980
29980
|
const g = m.len / u, p = c.loading.first ? c.loading.first - c.loading.start : -1, w = c.loaded && p > -1, _ = this.getBwEstimate(), T = a.levels, I = T[t.level], E = c.total || Math.max(c.loaded, Math.round(l * I.averageBitrate / 8));
|
|
29981
|
-
let
|
|
29982
|
-
|
|
29983
|
-
const k = w ? c.loaded * 1e3 /
|
|
29981
|
+
let R = w ? d - p : d;
|
|
29982
|
+
R < 1 && w && (R = Math.min(d, c.loaded * 8 / _));
|
|
29983
|
+
const k = w ? c.loaded * 1e3 / R : 0, V = k ? (E - c.loaded) / k : E * 8 / _ + f / 1e3;
|
|
29984
29984
|
if (V <= g)
|
|
29985
29985
|
return;
|
|
29986
29986
|
const M = k ? k * 8 : _;
|
|
@@ -30207,7 +30207,7 @@ class vP {
|
|
|
30207
30207
|
if (u.length === 1)
|
|
30208
30208
|
return 0;
|
|
30209
30209
|
const _ = u[h], T = !!(_ != null && (c = _.details) != null && c.live), I = p === -1 || d === -1;
|
|
30210
|
-
let E,
|
|
30210
|
+
let E, R = "SDR", k = (_ == null ? void 0 : _.frameRate) || 0;
|
|
30211
30211
|
const {
|
|
30212
30212
|
audioPreference: V,
|
|
30213
30213
|
videoPreference: M
|
|
@@ -30215,16 +30215,16 @@ class vP {
|
|
|
30215
30215
|
if (I) {
|
|
30216
30216
|
if (this.firstSelection !== -1)
|
|
30217
30217
|
return this.firstSelection;
|
|
30218
|
-
const ye = this.codecTiers || (this.codecTiers = pP(u, $, t, i)), fe = fP(ye,
|
|
30218
|
+
const ye = this.codecTiers || (this.codecTiers = pP(u, $, t, i)), fe = fP(ye, R, e, V, M), {
|
|
30219
30219
|
codecSet: ve,
|
|
30220
30220
|
videoRanges: Ce,
|
|
30221
30221
|
minFramerate: re,
|
|
30222
30222
|
minBitrate: ee,
|
|
30223
30223
|
preferHDR: we
|
|
30224
30224
|
} = fe;
|
|
30225
|
-
E = ve,
|
|
30225
|
+
E = ve, R = we ? Ce[Ce.length - 1] : Ce[0], k = re, e = Math.max(e, ee), F.log(`[abr] picked start tier ${JSON.stringify(fe)}`);
|
|
30226
30226
|
} else
|
|
30227
|
-
E = _ == null ? void 0 : _.codecSet,
|
|
30227
|
+
E = _ == null ? void 0 : _.codecSet, R = _ == null ? void 0 : _.videoRange;
|
|
30228
30228
|
const W = f ? f.duration : m ? m.duration : 0, Q = this.bwEstimator.getEstimateTTFB() / 1e3, J = [];
|
|
30229
30229
|
for (let ye = i; ye >= t; ye--) {
|
|
30230
30230
|
var he;
|
|
@@ -30233,7 +30233,7 @@ class vP {
|
|
|
30233
30233
|
continue;
|
|
30234
30234
|
if (w.useMediaCapabilities && !fe.supportedResult && !fe.supportedPromise) {
|
|
30235
30235
|
const Ee = navigator.mediaCapabilities;
|
|
30236
|
-
typeof (Ee == null ? void 0 : Ee.decodingInfo) == "function" && cP(fe, $,
|
|
30236
|
+
typeof (Ee == null ? void 0 : Ee.decodingInfo) == "function" && cP(fe, $, R, k, e, V) ? (fe.supportedPromise = dP(fe, $, Ee), fe.supportedPromise.then((Pe) => {
|
|
30237
30237
|
if (!this.hls)
|
|
30238
30238
|
return;
|
|
30239
30239
|
fe.supportedResult = Pe;
|
|
@@ -30241,7 +30241,7 @@ class vP {
|
|
|
30241
30241
|
Pe.error ? F.warn(`[abr] MediaCapabilities decodingInfo error: "${Pe.error}" for level ${ue} ${JSON.stringify(Pe)}`) : Pe.supported || (F.warn(`[abr] Unsupported MediaCapabilities decodingInfo result for level ${ue} ${JSON.stringify(Pe)}`), ue > -1 && Ge.length > 1 && (F.log(`[abr] Removing unsupported level ${ue}`), this.hls.removeLevel(ue)));
|
|
30242
30242
|
})) : fe.supportedResult = zg;
|
|
30243
30243
|
}
|
|
30244
|
-
if (E && fe.codecSet !== E ||
|
|
30244
|
+
if (E && fe.codecSet !== E || R && fe.videoRange !== R || ve && k > fe.frameRate || !ve && k > 0 && k < fe.frameRate || fe.supportedResult && !((he = fe.supportedResult.decodingInfoResults) != null && he[0].smooth)) {
|
|
30245
30245
|
J.push(ye);
|
|
30246
30246
|
continue;
|
|
30247
30247
|
}
|
|
@@ -30258,7 +30258,7 @@ class vP {
|
|
|
30258
30258
|
(se <= Q || !pe(se) || T && !this.bitrateTestDelay || se < l)
|
|
30259
30259
|
) {
|
|
30260
30260
|
const Ee = this.forcedAutoLevel;
|
|
30261
|
-
return ye !== p && (Ee === -1 || Ee !== p) && (J.length && F.trace(`[abr] Skipped level(s) ${J.join(",")} of ${i} max with CODECS and VIDEO-RANGE:"${u[J[0]].codecs}" ${u[J[0]].videoRange}; not compatible with "${_.codecs}" ${
|
|
30261
|
+
return ye !== p && (Ee === -1 || Ee !== p) && (J.length && F.trace(`[abr] Skipped level(s) ${J.join(",")} of ${i} max with CODECS and VIDEO-RANGE:"${u[J[0]].codecs}" ${u[J[0]].videoRange}; not compatible with "${_.codecs}" ${R}`), F.info(`[abr] switch candidate:${h}->${ye} adjustedbw(${Math.round(ee)})-bitrate=${Math.round(ee - we)} ttfb:${Q.toFixed(1)} avgDuration:${re.toFixed(1)} maxFetchDuration:${l.toFixed(1)} fetchDuration:${se.toFixed(1)} firstSelection:${I} codecSet:${E} videoRange:${R} hls.loadLevel:${p}`)), I && (this.firstSelection = ye), ye;
|
|
30262
30262
|
}
|
|
30263
30263
|
}
|
|
30264
30264
|
return -1;
|
|
@@ -31047,12 +31047,12 @@ class RP {
|
|
|
31047
31047
|
const a = this.keySize + 6, n = this.invKeySchedule, r = this.invSBox, o = this.invSubMix, c = o[0], l = o[1], d = o[2], h = o[3], m = this.uint8ArrayToUint32Array_(i);
|
|
31048
31048
|
let f = m[0], u = m[1], g = m[2], p = m[3];
|
|
31049
31049
|
const w = new Int32Array(e), _ = new Int32Array(w.length);
|
|
31050
|
-
let T, I, E,
|
|
31050
|
+
let T, I, E, R, k, V, M, $, W, Q, J, he, ye, fe;
|
|
31051
31051
|
const ve = this.networkToHostOrderSwap;
|
|
31052
31052
|
for (; t < w.length; ) {
|
|
31053
31053
|
for (W = ve(w[t]), Q = ve(w[t + 1]), J = ve(w[t + 2]), he = ve(w[t + 3]), k = W ^ n[0], V = he ^ n[1], M = J ^ n[2], $ = Q ^ n[3], ye = 4, fe = 1; fe < a; fe++)
|
|
31054
|
-
T = c[k >>> 24] ^ l[V >> 16 & 255] ^ d[M >> 8 & 255] ^ h[$ & 255] ^ n[ye], I = c[V >>> 24] ^ l[M >> 16 & 255] ^ d[$ >> 8 & 255] ^ h[k & 255] ^ n[ye + 1], E = c[M >>> 24] ^ l[$ >> 16 & 255] ^ d[k >> 8 & 255] ^ h[V & 255] ^ n[ye + 2],
|
|
31055
|
-
T = r[k >>> 24] << 24 ^ r[V >> 16 & 255] << 16 ^ r[M >> 8 & 255] << 8 ^ r[$ & 255] ^ n[ye], I = r[V >>> 24] << 24 ^ r[M >> 16 & 255] << 16 ^ r[$ >> 8 & 255] << 8 ^ r[k & 255] ^ n[ye + 1], E = r[M >>> 24] << 24 ^ r[$ >> 16 & 255] << 16 ^ r[k >> 8 & 255] << 8 ^ r[V & 255] ^ n[ye + 2],
|
|
31054
|
+
T = c[k >>> 24] ^ l[V >> 16 & 255] ^ d[M >> 8 & 255] ^ h[$ & 255] ^ n[ye], I = c[V >>> 24] ^ l[M >> 16 & 255] ^ d[$ >> 8 & 255] ^ h[k & 255] ^ n[ye + 1], E = c[M >>> 24] ^ l[$ >> 16 & 255] ^ d[k >> 8 & 255] ^ h[V & 255] ^ n[ye + 2], R = c[$ >>> 24] ^ l[k >> 16 & 255] ^ d[V >> 8 & 255] ^ h[M & 255] ^ n[ye + 3], k = T, V = I, M = E, $ = R, ye = ye + 4;
|
|
31055
|
+
T = r[k >>> 24] << 24 ^ r[V >> 16 & 255] << 16 ^ r[M >> 8 & 255] << 8 ^ r[$ & 255] ^ n[ye], I = r[V >>> 24] << 24 ^ r[M >> 16 & 255] << 16 ^ r[$ >> 8 & 255] << 8 ^ r[k & 255] ^ n[ye + 1], E = r[M >>> 24] << 24 ^ r[$ >> 16 & 255] << 16 ^ r[k >> 8 & 255] << 8 ^ r[V & 255] ^ n[ye + 2], R = r[$ >>> 24] << 24 ^ r[k >> 16 & 255] << 16 ^ r[V >> 8 & 255] << 8 ^ r[M & 255] ^ n[ye + 3], _[t] = ve(T ^ f), _[t + 1] = ve(R ^ u), _[t + 2] = ve(E ^ g), _[t + 3] = ve(I ^ p), f = W, u = Q, g = J, p = he, t = t + 4;
|
|
31056
31056
|
}
|
|
31057
31057
|
return _.buffer;
|
|
31058
31058
|
}
|
|
@@ -32546,9 +32546,9 @@ class _h {
|
|
|
32546
32546
|
c();
|
|
32547
32547
|
const p = c();
|
|
32548
32548
|
if (l(5), m(3), c(), u(), p === 100 || p === 110 || p === 122 || p === 244 || p === 44 || p === 83 || p === 86 || p === 118 || p === 128) {
|
|
32549
|
-
const
|
|
32550
|
-
if (
|
|
32551
|
-
for (r =
|
|
32549
|
+
const R = d();
|
|
32550
|
+
if (R === 3 && m(1), u(), u(), m(1), h())
|
|
32551
|
+
for (r = R !== 3 ? 8 : 12, o = 0; o < r; o++)
|
|
32552
32552
|
h() && (o < 6 ? g(16) : g(64));
|
|
32553
32553
|
}
|
|
32554
32554
|
u();
|
|
@@ -32939,13 +32939,13 @@ class Fs {
|
|
|
32939
32939
|
} else
|
|
32940
32940
|
E++;
|
|
32941
32941
|
E > 0 && dn(this.observer, new Error(`Found ${E} TS packet/s that do not start with 0x47`)), r.pesData = h, o.pesData = u, c.pesData = g;
|
|
32942
|
-
const
|
|
32942
|
+
const R = {
|
|
32943
32943
|
audioTrack: o,
|
|
32944
32944
|
videoTrack: r,
|
|
32945
32945
|
id3Track: c,
|
|
32946
32946
|
textTrack: l
|
|
32947
32947
|
};
|
|
32948
|
-
return a && this.extractRemainingSamples(
|
|
32948
|
+
return a && this.extractRemainingSamples(R), R;
|
|
32949
32949
|
}
|
|
32950
32950
|
flush() {
|
|
32951
32951
|
const {
|
|
@@ -34466,16 +34466,16 @@ class Fa {
|
|
|
34466
34466
|
}
|
|
34467
34467
|
}
|
|
34468
34468
|
f = Math.max(0, f);
|
|
34469
|
-
let E = 0,
|
|
34469
|
+
let E = 0, R = 0, k = f;
|
|
34470
34470
|
for (let re = 0; re < c; re++) {
|
|
34471
34471
|
const ee = r[re], we = ee.units, se = we.length;
|
|
34472
34472
|
let ne = 0;
|
|
34473
34473
|
for (let Ee = 0; Ee < se; Ee++)
|
|
34474
34474
|
ne += we[Ee].data.length;
|
|
34475
|
-
|
|
34475
|
+
R += ne, E += se, ee.length = ne, ee.dts < k ? (ee.dts = k, k += I / 4 | 0 || 1) : k = ee.dts, g = Math.min(ee.pts, g), p = Math.max(ee.pts, p);
|
|
34476
34476
|
}
|
|
34477
34477
|
u = r[c - 1].dts;
|
|
34478
|
-
const V =
|
|
34478
|
+
const V = R + 4 * E + 8;
|
|
34479
34479
|
let M;
|
|
34480
34480
|
try {
|
|
34481
34481
|
M = new Uint8Array(V);
|
|
@@ -34594,7 +34594,7 @@ class Fa {
|
|
|
34594
34594
|
re.pts = Ce, Ce += d;
|
|
34595
34595
|
}
|
|
34596
34596
|
}
|
|
34597
|
-
let I = null, E = null,
|
|
34597
|
+
let I = null, E = null, R, k = 0, V = g.length;
|
|
34598
34598
|
for (; V--; )
|
|
34599
34599
|
k += g[V].unit.byteLength;
|
|
34600
34600
|
for (let fe = 0, ve = g.length; fe < ve; fe++) {
|
|
@@ -34606,7 +34606,7 @@ class Fa {
|
|
|
34606
34606
|
} else if (i && e.segmentCodec === "aac" && (ee = w), I = ee, k > 0) {
|
|
34607
34607
|
k += p;
|
|
34608
34608
|
try {
|
|
34609
|
-
|
|
34609
|
+
R = new Uint8Array(k);
|
|
34610
34610
|
} catch (se) {
|
|
34611
34611
|
this.observer.emit(S.ERROR, S.ERROR, {
|
|
34612
34612
|
type: Le.MUX_ERROR,
|
|
@@ -34618,10 +34618,10 @@ class Fa {
|
|
|
34618
34618
|
});
|
|
34619
34619
|
return;
|
|
34620
34620
|
}
|
|
34621
|
-
m || (new DataView(
|
|
34621
|
+
m || (new DataView(R.buffer).setUint32(0, k), R.set(N.types.mdat, 4));
|
|
34622
34622
|
} else
|
|
34623
34623
|
return;
|
|
34624
|
-
|
|
34624
|
+
R.set(re, p);
|
|
34625
34625
|
const we = re.byteLength;
|
|
34626
34626
|
p += we, f.push(new Ch(!0, l, we, 0)), E = ee;
|
|
34627
34627
|
}
|
|
@@ -34636,7 +34636,7 @@ class Fa {
|
|
|
34636
34636
|
e.samples = [];
|
|
34637
34637
|
const Q = I / r, J = w / r, ye = {
|
|
34638
34638
|
data1: W,
|
|
34639
|
-
data2:
|
|
34639
|
+
data2: R,
|
|
34640
34640
|
startPTS: Q,
|
|
34641
34641
|
endPTS: J,
|
|
34642
34642
|
startDTS: Q,
|
|
@@ -34798,15 +34798,15 @@ class uO {
|
|
|
34798
34798
|
const _ = e ? w - l.baseTime / l.timescale : d, T = _ + g;
|
|
34799
34799
|
_D(u, m, l.baseTime / l.timescale), g > 0 ? this.lastEndTime = T : (F.warn("Duration parsed from mp4 should be greater than zero"), this.resetNextTimestamp());
|
|
34800
34800
|
const I = !!u.audio, E = !!u.video;
|
|
34801
|
-
let
|
|
34802
|
-
I && (
|
|
34801
|
+
let R = "";
|
|
34802
|
+
I && (R += "audio"), E && (R += "video");
|
|
34803
34803
|
const k = {
|
|
34804
34804
|
data1: m,
|
|
34805
34805
|
startPTS: _,
|
|
34806
34806
|
startDTS: _,
|
|
34807
34807
|
endPTS: T,
|
|
34808
34808
|
endDTS: T,
|
|
34809
|
-
type:
|
|
34809
|
+
type: R,
|
|
34810
34810
|
hasAudio: I,
|
|
34811
34811
|
hasVideo: E,
|
|
34812
34812
|
nb: 1,
|
|
@@ -34914,8 +34914,8 @@ class kh {
|
|
|
34914
34914
|
}), n.executeEnd = xs(), Lr(i);
|
|
34915
34915
|
}
|
|
34916
34916
|
(d || h || u || E) && this.resetInitSegment(T, g, p, _, t), (d || u || E) && this.resetInitialTimestamp(w), l || this.resetContiguity();
|
|
34917
|
-
const
|
|
34918
|
-
return k.contiguous = !0, k.discontinuity = !1, k.trackSwitch = !1, n.executeEnd = xs(),
|
|
34917
|
+
const R = this.transmux(r, I, f, m, i), k = this.currentTransmuxState;
|
|
34918
|
+
return k.contiguous = !0, k.discontinuity = !1, k.trackSwitch = !1, n.executeEnd = xs(), R;
|
|
34919
34919
|
}
|
|
34920
34920
|
// Due to data caching, flush calls can produce more than one TransmuxerResult (hence the Array type)
|
|
34921
34921
|
flush(e) {
|
|
@@ -35231,14 +35231,14 @@ class op {
|
|
|
35231
35231
|
l.transmuxing.start = self.performance.now();
|
|
35232
35232
|
const {
|
|
35233
35233
|
transmuxer: f
|
|
35234
|
-
} = this, u = r ? r.start : n.start, g = n.decryptdata, p = this.frag, w = !(p && n.cc === p.cc), _ = !(p && l.level === p.level), T = p ? l.sn - p.sn : -1, I = this.part ? l.part - this.part.index : -1, E = T === 0 && l.id > 1 && l.id === (p == null ? void 0 : p.stats.chunkCount),
|
|
35235
|
-
(_ || T || n.stats.parsing.start === 0) && (n.stats.parsing.start = k), r && (I || !
|
|
35236
|
-
const V = !(p && ((h = n.initSegment) == null ? void 0 : h.url) === ((m = p.initSegment) == null ? void 0 : m.url)), M = new gO(w,
|
|
35237
|
-
if (!
|
|
35234
|
+
} = this, u = r ? r.start : n.start, g = n.decryptdata, p = this.frag, w = !(p && n.cc === p.cc), _ = !(p && l.level === p.level), T = p ? l.sn - p.sn : -1, I = this.part ? l.part - this.part.index : -1, E = T === 0 && l.id > 1 && l.id === (p == null ? void 0 : p.stats.chunkCount), R = !_ && (T === 1 || T === 0 && (I === 1 || E && I <= 0)), k = self.performance.now();
|
|
35235
|
+
(_ || T || n.stats.parsing.start === 0) && (n.stats.parsing.start = k), r && (I || !R) && (r.stats.parsing.start = k);
|
|
35236
|
+
const V = !(p && ((h = n.initSegment) == null ? void 0 : h.url) === ((m = p.initSegment) == null ? void 0 : m.url)), M = new gO(w, R, c, _, u, V);
|
|
35237
|
+
if (!R || w || V) {
|
|
35238
35238
|
F.log(`[transmuxer-interface, ${n.type}]: Starting new transmux session for sn: ${l.sn} p: ${l.part} level: ${l.level} id: ${l.id}
|
|
35239
35239
|
discontinuity: ${w}
|
|
35240
35240
|
trackSwitch: ${_}
|
|
35241
|
-
contiguous: ${
|
|
35241
|
+
contiguous: ${R}
|
|
35242
35242
|
accurateTimeOffset: ${c}
|
|
35243
35243
|
timeOffset: ${u}
|
|
35244
35244
|
initSegmentChange: ${V}`);
|
|
@@ -36825,8 +36825,8 @@ class TO {
|
|
|
36825
36825
|
const {
|
|
36826
36826
|
sourceBuffer: I
|
|
36827
36827
|
} = this, E = {};
|
|
36828
|
-
for (const
|
|
36829
|
-
E[
|
|
36828
|
+
for (const R in I)
|
|
36829
|
+
E[R] = it.getBuffered(I[R]);
|
|
36830
36830
|
this.appendErrors[o] = 0, o === "audio" || o === "video" ? this.appendErrors.audiovideo = 0 : (this.appendErrors.audio = 0, this.appendErrors.video = 0), this.hls.trigger(S.BUFFER_APPENDED, {
|
|
36831
36831
|
type: o,
|
|
36832
36832
|
frag: c,
|
|
@@ -37984,7 +37984,7 @@ var dc = function() {
|
|
|
37984
37984
|
enumerable: !0
|
|
37985
37985
|
};
|
|
37986
37986
|
d.hasBeenReset = !1;
|
|
37987
|
-
let m = "", f = !1, u = o, g = c, p = l, w = null, _ = "", T = !0, I = "auto", E = "start",
|
|
37987
|
+
let m = "", f = !1, u = o, g = c, p = l, w = null, _ = "", T = !0, I = "auto", E = "start", R = 50, k = "middle", V = 50, M = "middle";
|
|
37988
37988
|
Object.defineProperty(d, "id", n({}, h, {
|
|
37989
37989
|
get: function() {
|
|
37990
37990
|
return m;
|
|
@@ -38069,12 +38069,12 @@ var dc = function() {
|
|
|
38069
38069
|
}
|
|
38070
38070
|
})), Object.defineProperty(d, "position", n({}, h, {
|
|
38071
38071
|
get: function() {
|
|
38072
|
-
return
|
|
38072
|
+
return R;
|
|
38073
38073
|
},
|
|
38074
38074
|
set: function($) {
|
|
38075
38075
|
if ($ < 0 || $ > 100)
|
|
38076
38076
|
throw new Error("Position must be between 0 and 100.");
|
|
38077
|
-
|
|
38077
|
+
R = $, this.hasBeenReset = !0;
|
|
38078
38078
|
}
|
|
38079
38079
|
})), Object.defineProperty(d, "positionAlign", n({}, h, {
|
|
38080
38080
|
get: function() {
|
|
@@ -38386,8 +38386,8 @@ function zO(s, e, t, i, a, n, r) {
|
|
|
38386
38386
|
}
|
|
38387
38387
|
const I = p.endTime - p.startTime, E = Gt((p.startTime + _ - f) * 9e4, a * 9e4) / 9e4;
|
|
38388
38388
|
p.startTime = Math.max(E, 0), p.endTime = Math.max(E + I, 0);
|
|
38389
|
-
const
|
|
38390
|
-
p.text = decodeURIComponent(encodeURIComponent(
|
|
38389
|
+
const R = p.text.trim();
|
|
38390
|
+
p.text = decodeURIComponent(encodeURIComponent(R)), p.id || (p.id = uc(p.startTime, p.endTime, R)), p.endTime > 0 && l.push(p);
|
|
38391
38391
|
}, o.onparsingerror = function(p) {
|
|
38392
38392
|
u = p;
|
|
38393
38393
|
}, o.onflush = function() {
|
|
@@ -41005,10 +41005,10 @@ class J8 extends tc {
|
|
|
41005
41005
|
CODECS: T,
|
|
41006
41006
|
"FRAME-RATE": I,
|
|
41007
41007
|
"HDCP-LEVEL": E,
|
|
41008
|
-
"PATHWAY-ID":
|
|
41008
|
+
"PATHWAY-ID": R,
|
|
41009
41009
|
RESOLUTION: k,
|
|
41010
41010
|
"VIDEO-RANGE": V
|
|
41011
|
-
} = f, $ = `${`${
|
|
41011
|
+
} = f, $ = `${`${R || "."}-`}${d.bitrate}-${k}-${I}-${T}-${V}-${E}`;
|
|
41012
41012
|
if (n[$])
|
|
41013
41013
|
if (n[$].uri !== d.url && !d.attrs["PATHWAY-ID"]) {
|
|
41014
41014
|
const W = r[$] += 1;
|
|
@@ -42178,14 +42178,14 @@ class nF extends ac {
|
|
|
42178
42178
|
const {
|
|
42179
42179
|
startPTS: I,
|
|
42180
42180
|
endPTS: E,
|
|
42181
|
-
startDTS:
|
|
42181
|
+
startDTS: R,
|
|
42182
42182
|
endDTS: k
|
|
42183
42183
|
} = h;
|
|
42184
42184
|
if (l)
|
|
42185
42185
|
l.elementaryStreams[h.type] = {
|
|
42186
42186
|
startPTS: I,
|
|
42187
42187
|
endPTS: E,
|
|
42188
|
-
startDTS:
|
|
42188
|
+
startDTS: R,
|
|
42189
42189
|
endDTS: k
|
|
42190
42190
|
};
|
|
42191
42191
|
else if (h.firstKeyFrame && h.independent && r.id === 1 && !T && (this.couldBacktrack = !0), h.dropped && h.independent) {
|
|
@@ -42196,7 +42196,7 @@ class nF extends ac {
|
|
|
42196
42196
|
} else T && (c.gap = !0);
|
|
42197
42197
|
c.setElementaryStreamInfo(h.type, c.start, E, c.start, k, !0);
|
|
42198
42198
|
} else _ && I > Ba && (c.gap = !0);
|
|
42199
|
-
c.setElementaryStreamInfo(h.type, I, E,
|
|
42199
|
+
c.setElementaryStreamInfo(h.type, I, E, R, k), this.backtrackFragment && (this.backtrackFragment = c), this.bufferFragmentData(h, c, l, r, _ || T);
|
|
42200
42200
|
} else if (_ || T)
|
|
42201
42201
|
c.gap = !0;
|
|
42202
42202
|
else {
|
|
@@ -42385,12 +42385,12 @@ class $s {
|
|
|
42385
42385
|
h.setStreamController(I), m.setStreamController(I);
|
|
42386
42386
|
const E = [f, w, I];
|
|
42387
42387
|
p && E.splice(1, 0, p), this.networkControllers = E;
|
|
42388
|
-
const
|
|
42388
|
+
const R = [l, d, h, m, u, _];
|
|
42389
42389
|
this.audioTrackController = this.createController(t.audioTrackController, E);
|
|
42390
42390
|
const k = t.audioStreamController;
|
|
42391
42391
|
k && E.push(new k(this, _, T)), this.subtitleTrackController = this.createController(t.subtitleTrackController, E);
|
|
42392
42392
|
const V = t.subtitleStreamController;
|
|
42393
|
-
V && E.push(new V(this, _, T)), this.createController(t.timelineController,
|
|
42393
|
+
V && E.push(new V(this, _, T)), this.createController(t.timelineController, R), T.emeController = this.emeController = this.createController(t.emeController, R), this.cmcdController = this.createController(t.cmcdController, R), this.latencyController = this.createController(KD, R), this.coreComponents = R, E.push(c);
|
|
42394
42394
|
const M = c.onErrorOut;
|
|
42395
42395
|
typeof M == "function" && this.on(S.ERROR, M, c);
|
|
42396
42396
|
}
|
|
@@ -42951,7 +42951,7 @@ const rF = (s) => (Ze("data-v-f4cec1ae"), s = s(), Qe(), s), oF = /* @__PURE__ *
|
|
|
42951
42951
|
Xe((ue) => ({
|
|
42952
42952
|
"3070998e": p.value,
|
|
42953
42953
|
a214a630: w.value,
|
|
42954
|
-
d712abe6:
|
|
42954
|
+
d712abe6: R.value
|
|
42955
42955
|
}));
|
|
42956
42956
|
const i = _l(), n = [
|
|
42957
42957
|
{
|
|
@@ -42980,7 +42980,7 @@ const rF = (s) => (Ze("data-v-f4cec1ae"), s = s(), Qe(), s), oF = /* @__PURE__ *
|
|
|
42980
42980
|
}
|
|
42981
42981
|
].reduce((ue, Ve) => (Ve.ids.forEach((ze) => {
|
|
42982
42982
|
ue.set(ze, Ve.name);
|
|
42983
|
-
}), ue), /* @__PURE__ */ new Map()), r =
|
|
42983
|
+
}), ue), /* @__PURE__ */ new Map()), r = D(null), o = D(null), c = D([]), l = D(0), d = D(null), h = D(0), m = D(0), f = D(0), u = D(!1), g = D(0), p = D("auto"), w = D("100%"), _ = D(null), T = D(0), I = D(null), E = D(null), R = X(() => ne() ? "7vw" : "16px"), k = X(() => c.value[l.value]), V = X(() => ({
|
|
42984
42984
|
"--icon-play": `url(${i}/icnplay1.svg)`
|
|
42985
42985
|
}));
|
|
42986
42986
|
function M() {
|
|
@@ -44510,7 +44510,7 @@ const Kt = $6(), _F = {
|
|
|
44510
44510
|
Stories: bF
|
|
44511
44511
|
},
|
|
44512
44512
|
setup() {
|
|
44513
|
-
const s =
|
|
44513
|
+
const s = D("landingref"), { elementSize: e } = my(s);
|
|
44514
44514
|
return {
|
|
44515
44515
|
landingref: s,
|
|
44516
44516
|
elementSize: e
|
|
@@ -45160,8 +45160,15 @@ const Kt = $6(), _F = {
|
|
|
45160
45160
|
(d) => d.season_id === t
|
|
45161
45161
|
), o = [...n.seasonsGames], c = n && n.seasonsGames ? n.seasonsGames.map((d) => {
|
|
45162
45162
|
const h = d.games.reduce((m, f) => {
|
|
45163
|
-
const u = { ...f }, g = /* @__PURE__ */ new Date(), p = new Date(
|
|
45164
|
-
|
|
45163
|
+
const u = { ...f }, g = /* @__PURE__ */ new Date(), [p, w, _] = u.date.split("-"), [T, I, E] = u.schedule.split(":"), R = new Date(
|
|
45164
|
+
Number(p),
|
|
45165
|
+
Number(w) - 1,
|
|
45166
|
+
Number(_),
|
|
45167
|
+
Number(T),
|
|
45168
|
+
Number(I),
|
|
45169
|
+
Number(E)
|
|
45170
|
+
);
|
|
45171
|
+
return u.dateTimeMillis = R.valueOf(), u.home_team = r.find((k) => k.team_id === f.home_team), u.visiting_team = r.find((k) => k.team_id === f.visiting_team), u.game_status === 4 && g.getFullYear() === R.getFullYear() && g.getMonth() === R.getMonth() && g.getDate() === R.getDate() && this.gamesOfTheDayPreMatchIds.add(u.game_id), this.seasonsGamesMap.set(u.game_id, u), m[f.matchday_abbreviation] ? m[f.matchday_abbreviation][f.game_status === 3 ? "canceled" : f.date] ? m[f.matchday_abbreviation][f.game_status === 3 ? "canceled" : f.date].push(u) : m[f.matchday_abbreviation][f.game_status === 3 ? "canceled" : f.date] = [u] : m[f.matchday_abbreviation] = {
|
|
45165
45172
|
[f.game_status === 3 ? "canceled" : f.date]: [u]
|
|
45166
45173
|
}, this.gsData && this.gsData.teamId && u.game_status === 4 && (u.home_team.team_id === this.gsData.teamId || u.visiting_team.team_id === this.gsData.teamId) && this.userTeamGames.push(u), m;
|
|
45167
45174
|
}, {});
|
|
@@ -45284,10 +45291,16 @@ const Kt = $6(), _F = {
|
|
|
45284
45291
|
this.gamesOfTheDayPreMatchIds.size && this.gamesOfTheDayPreMatchIds.forEach((s) => {
|
|
45285
45292
|
const e = this.seasonsGamesMap.get(s);
|
|
45286
45293
|
if (e) {
|
|
45287
|
-
const t = (/* @__PURE__ */ new Date()).valueOf()
|
|
45288
|
-
|
|
45289
|
-
|
|
45290
|
-
|
|
45294
|
+
const t = (/* @__PURE__ */ new Date()).valueOf();
|
|
45295
|
+
if (60 * 1e3 * 30 + e.dateTimeMillis - t > 0) {
|
|
45296
|
+
const a = e.dateTimeMillis - t - 3e5;
|
|
45297
|
+
setTimeout(
|
|
45298
|
+
() => {
|
|
45299
|
+
this.createCheckLiveGamesInterval();
|
|
45300
|
+
},
|
|
45301
|
+
a > 0 ? a : 0
|
|
45302
|
+
);
|
|
45303
|
+
}
|
|
45291
45304
|
}
|
|
45292
45305
|
});
|
|
45293
45306
|
},
|
|
@@ -45533,7 +45546,7 @@ const Kt = $6(), _F = {
|
|
|
45533
45546
|
beforeUnmount() {
|
|
45534
45547
|
this.resetGamesLiveInterval();
|
|
45535
45548
|
}
|
|
45536
|
-
}, Kn = (s) => (Ze("data-v-
|
|
45549
|
+
}, Kn = (s) => (Ze("data-v-087a20b0"), s = s(), Qe(), s), TF = {
|
|
45537
45550
|
class: "gsclanding",
|
|
45538
45551
|
ref: "landingref"
|
|
45539
45552
|
}, xF = {
|
|
@@ -45861,7 +45874,7 @@ function s7(s, e, t, i, a, n) {
|
|
|
45861
45874
|
], 2)
|
|
45862
45875
|
], 512);
|
|
45863
45876
|
}
|
|
45864
|
-
const h7 = /* @__PURE__ */ xt(_F, [["render", s7], ["__scopeId", "data-v-
|
|
45877
|
+
const h7 = /* @__PURE__ */ xt(_F, [["render", s7], ["__scopeId", "data-v-087a20b0"]]);
|
|
45865
45878
|
export {
|
|
45866
45879
|
h7 as GSCLanding
|
|
45867
45880
|
};
|