@streamlayer/react 1.19.0 → 1.20.0

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.
Files changed (38) hide show
  1. package/lib/app/pause-ad.d.ts +38 -0
  2. package/lib/cjs/advertisement.js +38 -42
  3. package/lib/cjs/index-l-eyvmpL.js +5 -0
  4. package/lib/cjs/index2.js +3 -3
  5. package/lib/cjs/pause-ad.js +1 -0
  6. package/lib/cjs/provider.js +23 -23
  7. package/lib/cjs/useStreamLayerApp2.js +1 -1
  8. package/lib/cjs/vast-client.min-B0NUra1B.js +1 -0
  9. package/lib/classic/app/pause-ad.d.ts +38 -0
  10. package/lib/classic/cjs/advertisement.js +38 -42
  11. package/lib/classic/cjs/bet-pack.js +3 -3
  12. package/lib/classic/cjs/index-l-eyvmpL.js +5 -0
  13. package/lib/classic/cjs/pause-ad.js +1 -0
  14. package/lib/classic/cjs/provider.js +17 -17
  15. package/lib/classic/cjs/useStreamLayerApp2.js +1 -1
  16. package/lib/classic/cjs/vast-client.min-B0NUra1B.js +1 -0
  17. package/lib/classic/es/advertisement.js +10211 -15019
  18. package/lib/classic/es/bet-pack.js +291 -304
  19. package/lib/classic/es/index-l-eyvmpL.js +3758 -0
  20. package/lib/classic/es/index.js +3 -3
  21. package/lib/classic/es/notification.js +1 -1
  22. package/lib/classic/es/pause-ad.js +250 -0
  23. package/lib/classic/es/provider.js +6776 -6354
  24. package/lib/classic/es/useStreamLayerApp2.js +1 -1
  25. package/lib/classic/es/vast-client.min-B0NUra1B.js +1060 -0
  26. package/lib/dist/cjs/masters.js +22 -22
  27. package/lib/dist/es/masters.js +2815 -2828
  28. package/lib/es/advertisement.js +10211 -15019
  29. package/lib/es/index-l-eyvmpL.js +3758 -0
  30. package/lib/es/index.js +1 -1
  31. package/lib/es/index2.js +275 -288
  32. package/lib/es/masters2.js +1 -1
  33. package/lib/es/notification.js +53 -53
  34. package/lib/es/pause-ad.js +250 -0
  35. package/lib/es/provider.js +5871 -5414
  36. package/lib/es/useStreamLayerApp2.js +1 -1
  37. package/lib/es/vast-client.min-B0NUra1B.js +1060 -0
  38. package/package.json +24 -14
package/lib/es/index2.js CHANGED
@@ -1,28 +1,15 @@
1
1
  import { jsx as P, jsxs as F } from "react/jsx-runtime";
2
- import { s as _, B as te, c as ft, f as ht, i as gt, j as vt, k as Se, a as _e } from "./provider.js";
3
- import $, { useCallback as Le, useSyncExternalStore as wt, forwardRef as Ae, useState as W, useRef as D, useEffect as X, useLayoutEffect as bt, createContext as He, useMemo as Re, memo as yt } from "react";
4
- import { C as St, a as Et, S as qe } from "./useStreamLayerApp2.js";
5
- function xt(t, e, s) {
6
- let r = new Set(e).add(void 0);
7
- return t.listen((n, i, l) => {
8
- r.has(l) && s(n, i, l);
9
- });
10
- }
11
- function Tt(t, e = {}) {
12
- let s = Le(
13
- (n) => e.keys ? xt(t, e.keys, n) : t.listen(n),
14
- [e.keys, t]
15
- ), r = t.get.bind(t);
16
- return wt(s, r, r);
17
- }
18
- function $e(t) {
2
+ import { s as _, B as te, k as ft, l as ht, a as Se, n as gt, c as vt, j as Ee } from "./provider.js";
3
+ import $, { forwardRef as Ae, useState as W, useRef as D, useEffect as X, useLayoutEffect as wt, createContext as Ve, useMemo as He, useCallback as Re, memo as bt } from "react";
4
+ import { C as yt, a as St, S as qe } from "./useStreamLayerApp2.js";
5
+ function _e(t) {
19
6
  return t !== null && typeof t == "object" && "constructor" in t && t.constructor === Object;
20
7
  }
21
8
  function Oe(t, e) {
22
9
  t === void 0 && (t = {}), e === void 0 && (e = {});
23
10
  const s = ["__proto__", "constructor", "prototype"];
24
11
  Object.keys(e).filter((r) => s.indexOf(r) < 0).forEach((r) => {
25
- typeof t[r] > "u" ? t[r] = e[r] : $e(e[r]) && $e(t[r]) && Object.keys(e[r]).length > 0 && Oe(t[r], e[r]);
12
+ typeof t[r] > "u" ? t[r] = e[r] : _e(e[r]) && _e(t[r]) && Object.keys(e[r]).length > 0 && Oe(t[r], e[r]);
26
13
  });
27
14
  }
28
15
  const We = {
@@ -84,7 +71,7 @@ function K() {
84
71
  const t = typeof document < "u" ? document : {};
85
72
  return Oe(t, We), t;
86
73
  }
87
- const Ct = {
74
+ const Et = {
88
75
  document: We,
89
76
  navigator: {
90
77
  userAgent: ""
@@ -144,12 +131,12 @@ const Ct = {
144
131
  };
145
132
  function N() {
146
133
  const t = typeof window < "u" ? window : {};
147
- return Oe(t, Ct), t;
134
+ return Oe(t, Et), t;
148
135
  }
149
- function Pt(t) {
136
+ function xt(t) {
150
137
  return t === void 0 && (t = ""), t.trim().split(" ").filter((e) => !!e.trim());
151
138
  }
152
- function Mt(t) {
139
+ function Tt(t) {
153
140
  const e = t;
154
141
  Object.keys(e).forEach((s) => {
155
142
  try {
@@ -162,35 +149,35 @@ function Mt(t) {
162
149
  }
163
150
  });
164
151
  }
165
- function Ee(t, e) {
152
+ function xe(t, e) {
166
153
  return e === void 0 && (e = 0), setTimeout(t, e);
167
154
  }
168
155
  function le() {
169
156
  return Date.now();
170
157
  }
171
- function kt(t) {
158
+ function Ct(t) {
172
159
  const e = N();
173
160
  let s;
174
161
  return e.getComputedStyle && (s = e.getComputedStyle(t, null)), !s && t.currentStyle && (s = t.currentStyle), s || (s = t.style), s;
175
162
  }
176
- function It(t, e) {
163
+ function Pt(t, e) {
177
164
  e === void 0 && (e = "x");
178
165
  const s = N();
179
166
  let r, n, i;
180
- const l = kt(t);
167
+ const l = Ct(t);
181
168
  return s.WebKitCSSMatrix ? (n = l.transform || l.webkitTransform, n.split(",").length > 6 && (n = n.split(", ").map((a) => a.replace(",", ".")).join(", ")), i = new s.WebKitCSSMatrix(n === "none" ? "" : n)) : (i = l.MozTransform || l.OTransform || l.MsTransform || l.msTransform || l.transform || l.getPropertyValue("transform").replace("translate(", "matrix(1, 0, 0, 1,"), r = i.toString().split(",")), e === "x" && (s.WebKitCSSMatrix ? n = i.m41 : r.length === 16 ? n = parseFloat(r[12]) : n = parseFloat(r[4])), e === "y" && (s.WebKitCSSMatrix ? n = i.m42 : r.length === 16 ? n = parseFloat(r[13]) : n = parseFloat(r[5])), n || 0;
182
169
  }
183
170
  function se(t) {
184
171
  return typeof t == "object" && t !== null && t.constructor && Object.prototype.toString.call(t).slice(8, -1) === "Object";
185
172
  }
186
- function Lt(t) {
173
+ function Mt(t) {
187
174
  return typeof window < "u" && typeof window.HTMLElement < "u" ? t instanceof HTMLElement : t && (t.nodeType === 1 || t.nodeType === 11);
188
175
  }
189
176
  function B() {
190
177
  const t = Object(arguments.length <= 0 ? void 0 : arguments[0]), e = ["__proto__", "constructor", "prototype"];
191
178
  for (let s = 1; s < arguments.length; s += 1) {
192
179
  const r = s < 0 || arguments.length <= s ? void 0 : arguments[s];
193
- if (r != null && !Lt(r)) {
180
+ if (r != null && !Mt(r)) {
194
181
  const n = Object.keys(Object(r)).filter((i) => e.indexOf(i) < 0);
195
182
  for (let i = 0, l = n.length; i < l; i += 1) {
196
183
  const a = n[i], o = Object.getOwnPropertyDescriptor(r, a);
@@ -236,7 +223,7 @@ function H(t, e) {
236
223
  const s = N(), r = [...t.children];
237
224
  return s.HTMLSlotElement && t instanceof HTMLSlotElement && r.push(...t.assignedElements()), e ? r.filter((n) => n.matches(e)) : r;
238
225
  }
239
- function At(t, e) {
226
+ function kt(t, e) {
240
227
  const s = [e];
241
228
  for (; s.length > 0; ) {
242
229
  const r = s.shift();
@@ -245,10 +232,10 @@ function At(t, e) {
245
232
  s.push(...r.children, ...r.shadowRoot ? r.shadowRoot.children : [], ...r.assignedElements ? r.assignedElements() : []);
246
233
  }
247
234
  }
248
- function Ot(t, e) {
235
+ function It(t, e) {
249
236
  const s = N();
250
237
  let r = e.contains(t);
251
- return !r && s.HTMLSlotElement && e instanceof HTMLSlotElement && (r = [...e.assignedElements()].includes(t), r || (r = At(t, e))), r;
238
+ return !r && s.HTMLSlotElement && e instanceof HTMLSlotElement && (r = [...e.assignedElements()].includes(t), r || (r = kt(t, e))), r;
252
239
  }
253
240
  function oe(t) {
254
241
  try {
@@ -260,9 +247,9 @@ function oe(t) {
260
247
  function de(t, e) {
261
248
  e === void 0 && (e = []);
262
249
  const s = document.createElement(t);
263
- return s.classList.add(...Array.isArray(e) ? e : Pt(e)), s;
250
+ return s.classList.add(...Array.isArray(e) ? e : xt(e)), s;
264
251
  }
265
- function zt(t, e) {
252
+ function Lt(t, e) {
266
253
  const s = [];
267
254
  for (; t.previousElementSibling; ) {
268
255
  const r = t.previousElementSibling;
@@ -270,7 +257,7 @@ function zt(t, e) {
270
257
  }
271
258
  return s;
272
259
  }
273
- function _t(t, e) {
260
+ function At(t, e) {
274
261
  const s = [];
275
262
  for (; t.nextElementSibling; ) {
276
263
  const r = t.nextElementSibling;
@@ -296,7 +283,7 @@ function Xe(t, e) {
296
283
  e ? r.matches(e) && s.push(r) : s.push(r), r = r.parentElement;
297
284
  return s;
298
285
  }
299
- function xe(t, e, s) {
286
+ function Te(t, e, s) {
300
287
  const r = N();
301
288
  return t[e === "width" ? "offsetWidth" : "offsetHeight"] + parseFloat(r.getComputedStyle(t, null).getPropertyValue(e === "width" ? "margin-right" : "margin-top")) + parseFloat(r.getComputedStyle(t, null).getPropertyValue(e === "width" ? "margin-left" : "margin-bottom"));
302
289
  }
@@ -304,7 +291,7 @@ function R(t) {
304
291
  return (Array.isArray(t) ? t : [t]).filter((e) => !!e);
305
292
  }
306
293
  let fe;
307
- function $t() {
294
+ function Ot() {
308
295
  const t = N(), e = K();
309
296
  return {
310
297
  smoothScroll: e.documentElement && e.documentElement.style && "scrollBehavior" in e.documentElement.style,
@@ -312,10 +299,10 @@ function $t() {
312
299
  };
313
300
  }
314
301
  function Ue() {
315
- return fe || (fe = $t()), fe;
302
+ return fe || (fe = Ot()), fe;
316
303
  }
317
304
  let he;
318
- function Gt(t) {
305
+ function zt(t) {
319
306
  let {
320
307
  userAgent: e
321
308
  } = t === void 0 ? {} : t;
@@ -330,10 +317,10 @@ function Gt(t) {
330
317
  return !d && h && s.touch && b.indexOf(`${a}x${o}`) >= 0 && (d = i.match(/(Version)\/([\d.]+)/), d || (d = [0, 1, "13_0_0"]), h = !1), c && !g && (l.os = "android", l.android = !0), (d || f || u) && (l.os = "ios", l.ios = !0), l;
331
318
  }
332
319
  function Qe(t) {
333
- return t === void 0 && (t = {}), he || (he = Gt(t)), he;
320
+ return t === void 0 && (t = {}), he || (he = zt(t)), he;
334
321
  }
335
322
  let ge;
336
- function Nt() {
323
+ function _t() {
337
324
  const t = N(), e = Qe();
338
325
  let s = !1;
339
326
  function r() {
@@ -356,9 +343,9 @@ function Nt() {
356
343
  };
357
344
  }
358
345
  function Ke() {
359
- return ge || (ge = Nt()), ge;
346
+ return ge || (ge = _t()), ge;
360
347
  }
361
- function Bt(t) {
348
+ function $t(t) {
362
349
  let {
363
350
  swiper: e,
364
351
  on: s,
@@ -401,7 +388,7 @@ function Bt(t) {
401
388
  c(), n.removeEventListener("resize", a), n.removeEventListener("orientationchange", d);
402
389
  });
403
390
  }
404
- function Dt(t) {
391
+ function Gt(t) {
405
392
  let {
406
393
  swiper: e,
407
394
  extendParams: s,
@@ -450,7 +437,7 @@ function Dt(t) {
450
437
  observeSlideChildren: !1
451
438
  }), r("init", o), r("destroy", c);
452
439
  }
453
- var Ft = {
440
+ var Nt = {
454
441
  on(t, e, s) {
455
442
  const r = this;
456
443
  if (!r.eventsListeners || r.destroyed || typeof e != "function") return r;
@@ -505,7 +492,7 @@ var Ft = {
505
492
  }), t;
506
493
  }
507
494
  };
508
- function jt() {
495
+ function Bt() {
509
496
  const t = this;
510
497
  let e, s;
511
498
  const r = t.el;
@@ -515,7 +502,7 @@ function jt() {
515
502
  size: t.isHorizontal() ? e : s
516
503
  }));
517
504
  }
518
- function Vt() {
505
+ function Dt() {
519
506
  const t = this;
520
507
  function e(E, x) {
521
508
  return parseFloat(E.getPropertyValue(t.getDirectionLabel(x)) || 0);
@@ -552,7 +539,7 @@ function Vt() {
552
539
  S && (d[E].style[t.getDirectionLabel("width")] = "");
553
540
  const k = getComputedStyle(x), L = x.style.transform, O = x.style.webkitTransform;
554
541
  if (L && (x.style.transform = "none"), O && (x.style.webkitTransform = "none"), s.roundLengths)
555
- I = t.isHorizontal() ? xe(x, "width") : xe(x, "height");
542
+ I = t.isHorizontal() ? Te(x, "width") : Te(x, "height");
556
543
  else {
557
544
  const C = e(k, "width"), z = e(k, "padding-left"), U = e(k, "padding-right"), j = e(k, "margin-left"), G = e(k, "margin-right"), V = k.getPropertyValue("box-sizing");
558
545
  if (V && V === "border-box")
@@ -633,7 +620,7 @@ function Vt() {
633
620
  u <= s.maxBackfaceHiddenSlides ? x || t.el.classList.add(E) : x && t.el.classList.remove(E);
634
621
  }
635
622
  }
636
- function Ht(t) {
623
+ function Ft(t) {
637
624
  const e = this, s = [], r = e.virtual && e.params.virtual.enabled;
638
625
  let n = 0, i;
639
626
  typeof t == "number" ? e.setTransition(t) : t === !0 && e.setTransition(e.params.speed);
@@ -658,15 +645,15 @@ function Ht(t) {
658
645
  }
659
646
  (n || n === 0) && (e.wrapperEl.style.height = `${n}px`);
660
647
  }
661
- function Rt() {
648
+ function jt() {
662
649
  const t = this, e = t.slides, s = t.isElement ? t.isHorizontal() ? t.wrapperEl.offsetLeft : t.wrapperEl.offsetTop : 0;
663
650
  for (let r = 0; r < e.length; r += 1)
664
651
  e[r].swiperSlideOffset = (t.isHorizontal() ? e[r].offsetLeft : e[r].offsetTop) - s - t.cssOverflowAdjustment();
665
652
  }
666
- const Ge = (t, e, s) => {
653
+ const $e = (t, e, s) => {
667
654
  e && !t.classList.contains(s) ? t.classList.add(s) : !e && t.classList.contains(s) && t.classList.remove(s);
668
655
  };
669
- function qt(t) {
656
+ function Vt(t) {
670
657
  t === void 0 && (t = this && this.translate || 0);
671
658
  const e = this, s = e.params, {
672
659
  slides: r,
@@ -684,10 +671,10 @@ function qt(t) {
684
671
  let d = c.swiperSlideOffset;
685
672
  s.cssMode && s.centeredSlides && (d -= r[0].swiperSlideOffset);
686
673
  const u = (l + (s.centeredSlides ? e.minTranslate() : 0) - d) / (c.swiperSlideSize + a), f = (l - i[0] + (s.centeredSlides ? e.minTranslate() : 0) - d) / (c.swiperSlideSize + a), g = -(l - d), h = g + e.slidesSizesGrid[o], b = g >= 0 && g <= e.size - e.slidesSizesGrid[o], M = g >= 0 && g < e.size - 1 || h > 1 && h <= e.size || g <= 0 && h >= e.size;
687
- M && (e.visibleSlides.push(c), e.visibleSlidesIndexes.push(o)), Ge(c, M, s.slideVisibleClass), Ge(c, b, s.slideFullyVisibleClass), c.progress = n ? -u : u, c.originalProgress = n ? -f : f;
674
+ M && (e.visibleSlides.push(c), e.visibleSlidesIndexes.push(o)), $e(c, M, s.slideVisibleClass), $e(c, b, s.slideFullyVisibleClass), c.progress = n ? -u : u, c.originalProgress = n ? -f : f;
688
675
  }
689
676
  }
690
- function Wt(t) {
677
+ function Ht(t) {
691
678
  const e = this;
692
679
  if (typeof t > "u") {
693
680
  const d = e.rtlTranslate ? -1 : 1;
@@ -722,7 +709,7 @@ function Wt(t) {
722
709
  const ve = (t, e, s) => {
723
710
  e && !t.classList.contains(s) ? t.classList.add(s) : !e && t.classList.contains(s) && t.classList.remove(s);
724
711
  };
725
- function Yt() {
712
+ function Rt() {
726
713
  const t = this, {
727
714
  slides: e,
728
715
  params: s,
@@ -738,7 +725,7 @@ function Yt() {
738
725
  o = a(`[data-swiper-slide-index="${n}"]`);
739
726
  else
740
727
  l ? (o = e.find((u) => u.column === n), d = e.find((u) => u.column === n + 1), c = e.find((u) => u.column === n - 1)) : o = e[n];
741
- o && (l || (d = _t(o, `.${s.slideClass}, swiper-slide`)[0], s.loop && !d && (d = e[0]), c = zt(o, `.${s.slideClass}, swiper-slide`)[0], s.loop && !c === 0 && (c = e[e.length - 1]))), e.forEach((u) => {
728
+ o && (l || (d = At(o, `.${s.slideClass}, swiper-slide`)[0], s.loop && !d && (d = e[0]), c = Lt(o, `.${s.slideClass}, swiper-slide`)[0], s.loop && !c === 0 && (c = e[e.length - 1]))), e.forEach((u) => {
742
729
  ve(u, u === o, s.slideActiveClass), ve(u, u === d, s.slideNextClass), ve(u, u === c, s.slidePrevClass);
743
730
  }), t.emitSlidesClasses();
744
731
  }
@@ -755,7 +742,7 @@ const ne = (t, e) => {
755
742
  if (!t.slides[e]) return;
756
743
  const s = t.slides[e].querySelector('[loading="lazy"]');
757
744
  s && s.removeAttribute("loading");
758
- }, Te = (t) => {
745
+ }, Ce = (t) => {
759
746
  if (!t || t.destroyed || !t.params) return;
760
747
  let e = t.params.lazyPreloadPrevNext;
761
748
  const s = t.slides.length;
@@ -781,7 +768,7 @@ const ne = (t, e) => {
781
768
  for (let l = Math.max(n - e, 0); l <= Math.min(i + e, s - 1); l += 1)
782
769
  l !== n && (l > i || l < n) && we(t, l);
783
770
  };
784
- function Xt(t) {
771
+ function qt(t) {
785
772
  const {
786
773
  slidesGrid: e,
787
774
  params: s
@@ -791,7 +778,7 @@ function Xt(t) {
791
778
  typeof e[i + 1] < "u" ? r >= e[i] && r < e[i + 1] - (e[i + 1] - e[i]) / 2 ? n = i : r >= e[i] && r < e[i + 1] && (n = i + 1) : r >= e[i] && (n = i);
792
779
  return s.normalizeSlideIndex && (n < 0 || typeof n > "u") && (n = 0), n;
793
780
  }
794
- function Ut(t) {
781
+ function Wt(t) {
795
782
  const e = this, s = e.rtlTranslate ? e.translate : -e.translate, {
796
783
  snapGrid: r,
797
784
  params: n,
@@ -804,7 +791,7 @@ function Ut(t) {
804
791
  let h = g - e.virtual.slidesBefore;
805
792
  return h < 0 && (h = e.virtual.slides.length + h), h >= e.virtual.slides.length && (h -= e.virtual.slides.length), h;
806
793
  };
807
- if (typeof o > "u" && (o = Xt(e)), r.indexOf(s) >= 0)
794
+ if (typeof o > "u" && (o = qt(e)), r.indexOf(s) >= 0)
808
795
  c = r.indexOf(s);
809
796
  else {
810
797
  const g = Math.min(n.slidesPerGroupSkip, o);
@@ -838,9 +825,9 @@ function Ut(t) {
838
825
  realIndex: f,
839
826
  previousIndex: i,
840
827
  activeIndex: o
841
- }), e.initialized && Te(e), e.emit("activeIndexChange"), e.emit("snapIndexChange"), (e.initialized || e.params.runCallbacksOnInit) && (l !== f && e.emit("realIndexChange"), e.emit("slideChange"));
828
+ }), e.initialized && Ce(e), e.emit("activeIndexChange"), e.emit("snapIndexChange"), (e.initialized || e.params.runCallbacksOnInit) && (l !== f && e.emit("realIndexChange"), e.emit("slideChange"));
842
829
  }
843
- function Qt(t, e) {
830
+ function Yt(t, e) {
844
831
  const s = this, r = s.params;
845
832
  let n = t.closest(`.${r.slideClass}, swiper-slide`);
846
833
  !n && s.isElement && e && e.length > 1 && e.includes(t) && [...e.slice(e.indexOf(t) + 1, e.length)].forEach((a) => {
@@ -862,18 +849,18 @@ function Qt(t, e) {
862
849
  }
863
850
  r.slideToClickedSlide && s.clickedIndex !== void 0 && s.clickedIndex !== s.activeIndex && s.slideToClickedSlide();
864
851
  }
865
- var Kt = {
866
- updateSize: jt,
867
- updateSlides: Vt,
868
- updateAutoHeight: Ht,
869
- updateSlidesOffset: Rt,
870
- updateSlidesProgress: qt,
871
- updateProgress: Wt,
872
- updateSlidesClasses: Yt,
873
- updateActiveIndex: Ut,
874
- updateClickedSlide: Qt
852
+ var Xt = {
853
+ updateSize: Bt,
854
+ updateSlides: Dt,
855
+ updateAutoHeight: Ft,
856
+ updateSlidesOffset: jt,
857
+ updateSlidesProgress: Vt,
858
+ updateProgress: Ht,
859
+ updateSlidesClasses: Rt,
860
+ updateActiveIndex: Wt,
861
+ updateClickedSlide: Yt
875
862
  };
876
- function Jt(t) {
863
+ function Ut(t) {
877
864
  t === void 0 && (t = this.isHorizontal() ? "x" : "y");
878
865
  const e = this, {
879
866
  params: s,
@@ -885,10 +872,10 @@ function Jt(t) {
885
872
  return r ? -n : n;
886
873
  if (s.cssMode)
887
874
  return n;
888
- let l = It(i, t);
875
+ let l = Pt(i, t);
889
876
  return l += e.cssOverflowAdjustment(), r && (l = -l), l || 0;
890
877
  }
891
- function Zt(t, e) {
878
+ function Qt(t, e) {
892
879
  const s = this, {
893
880
  rtlTranslate: r,
894
881
  params: n,
@@ -902,13 +889,13 @@ function Zt(t, e) {
902
889
  const u = s.maxTranslate() - s.minTranslate();
903
890
  u === 0 ? d = 0 : d = (t - s.minTranslate()) / u, d !== l && s.updateProgress(t), s.emit("setTranslate", s.translate, e);
904
891
  }
905
- function es() {
892
+ function Kt() {
906
893
  return -this.snapGrid[0];
907
894
  }
908
- function ts() {
895
+ function Jt() {
909
896
  return -this.snapGrid[this.snapGrid.length - 1];
910
897
  }
911
- function ss(t, e, s, r, n) {
898
+ function Zt(t, e, s, r, n) {
912
899
  t === void 0 && (t = 0), e === void 0 && (e = this.params.speed), s === void 0 && (s = !0), r === void 0 && (r = !0);
913
900
  const i = this, {
914
901
  params: l,
@@ -940,14 +927,14 @@ function ss(t, e, s, r, n) {
940
927
  !i || i.destroyed || u.target === this && (i.wrapperEl.removeEventListener("transitionend", i.onTranslateToWrapperTransitionEnd), i.onTranslateToWrapperTransitionEnd = null, delete i.onTranslateToWrapperTransitionEnd, i.animating = !1, s && i.emit("transitionEnd"));
941
928
  }), i.wrapperEl.addEventListener("transitionend", i.onTranslateToWrapperTransitionEnd))), !0;
942
929
  }
943
- var rs = {
944
- getTranslate: Jt,
945
- setTranslate: Zt,
946
- minTranslate: es,
947
- maxTranslate: ts,
948
- translateTo: ss
930
+ var es = {
931
+ getTranslate: Ut,
932
+ setTranslate: Qt,
933
+ minTranslate: Kt,
934
+ maxTranslate: Jt,
935
+ translateTo: Zt
949
936
  };
950
- function is(t, e) {
937
+ function ts(t, e) {
951
938
  const s = this;
952
939
  s.params.cssMode || (s.wrapperEl.style.transitionDuration = `${t}ms`, s.wrapperEl.style.transitionDelay = t === 0 ? "0ms" : ""), s.emit("setTransition", t, e);
953
940
  }
@@ -971,7 +958,7 @@ function Je(t) {
971
958
  e.emit(`slideChangeTransition${n}`), a === "next" ? e.emit(`slideNextTransition${n}`) : e.emit(`slidePrevTransition${n}`);
972
959
  }
973
960
  }
974
- function ns(t, e) {
961
+ function ss(t, e) {
975
962
  t === void 0 && (t = !0);
976
963
  const s = this, {
977
964
  params: r
@@ -983,7 +970,7 @@ function ns(t, e) {
983
970
  step: "Start"
984
971
  }));
985
972
  }
986
- function as(t, e) {
973
+ function rs(t, e) {
987
974
  t === void 0 && (t = !0);
988
975
  const s = this, {
989
976
  params: r
@@ -995,12 +982,12 @@ function as(t, e) {
995
982
  step: "End"
996
983
  }));
997
984
  }
998
- var ls = {
999
- setTransition: is,
1000
- transitionStart: ns,
1001
- transitionEnd: as
985
+ var is = {
986
+ setTransition: ts,
987
+ transitionStart: ss,
988
+ transitionEnd: rs
1002
989
  };
1003
- function os(t, e, s, r, n) {
990
+ function ns(t, e, s, r, n) {
1004
991
  t === void 0 && (t = 0), s === void 0 && (s = !0), typeof t == "string" && (t = parseInt(t, 10));
1005
992
  const i = this;
1006
993
  let l = t;
@@ -1062,7 +1049,7 @@ function os(t, e, s, r, n) {
1062
1049
  !i || i.destroyed || y.target === this && (i.wrapperEl.removeEventListener("transitionend", i.onSlideToWrapperTransitionEnd), i.onSlideToWrapperTransitionEnd = null, delete i.onSlideToWrapperTransitionEnd, i.transitionEnd(s, p));
1063
1050
  }), i.wrapperEl.addEventListener("transitionend", i.onSlideToWrapperTransitionEnd)), !0;
1064
1051
  }
1065
- function ds(t, e, s, r) {
1052
+ function as(t, e, s, r) {
1066
1053
  t === void 0 && (t = 0), s === void 0 && (s = !0), typeof t == "string" && (t = parseInt(t, 10));
1067
1054
  const n = this;
1068
1055
  if (n.destroyed) return;
@@ -1104,7 +1091,7 @@ function ds(t, e, s, r) {
1104
1091
  n.slideTo(l, e, s, r);
1105
1092
  }), n;
1106
1093
  }
1107
- function cs(t, e, s) {
1094
+ function ls(t, e, s) {
1108
1095
  e === void 0 && (e = !0);
1109
1096
  const r = this, {
1110
1097
  enabled: n,
@@ -1127,7 +1114,7 @@ function cs(t, e, s) {
1127
1114
  }
1128
1115
  return i.rewind && r.isEnd ? r.slideTo(0, t, e, s) : r.slideTo(r.activeIndex + o, t, e, s);
1129
1116
  }
1130
- function ps(t, e, s) {
1117
+ function os(t, e, s) {
1131
1118
  e === void 0 && (e = !0);
1132
1119
  const r = this, {
1133
1120
  params: n,
@@ -1168,13 +1155,13 @@ function ps(t, e, s) {
1168
1155
  }), !0;
1169
1156
  return r.slideTo(w, t, e, s);
1170
1157
  }
1171
- function us(t, e, s) {
1158
+ function ds(t, e, s) {
1172
1159
  e === void 0 && (e = !0);
1173
1160
  const r = this;
1174
1161
  if (!r.destroyed)
1175
1162
  return typeof t > "u" && (t = r.params.speed), r.slideTo(r.activeIndex, t, e, s);
1176
1163
  }
1177
- function ms(t, e, s, r) {
1164
+ function cs(t, e, s, r) {
1178
1165
  e === void 0 && (e = !0), r === void 0 && (r = 0.5);
1179
1166
  const n = this;
1180
1167
  if (n.destroyed) return;
@@ -1190,7 +1177,7 @@ function ms(t, e, s, r) {
1190
1177
  }
1191
1178
  return i = Math.max(i, 0), i = Math.min(i, n.slidesGrid.length - 1), n.slideTo(i, t, e, s);
1192
1179
  }
1193
- function fs() {
1180
+ function ps() {
1194
1181
  const t = this;
1195
1182
  if (t.destroyed) return;
1196
1183
  const {
@@ -1201,24 +1188,24 @@ function fs() {
1201
1188
  const l = t.isElement ? "swiper-slide" : `.${e.slideClass}`;
1202
1189
  if (e.loop) {
1203
1190
  if (t.animating) return;
1204
- i = parseInt(t.clickedSlide.getAttribute("data-swiper-slide-index"), 10), e.centeredSlides ? n < t.loopedSlides - r / 2 || n > t.slides.length - t.loopedSlides + r / 2 ? (t.loopFix(), n = t.getSlideIndex(H(s, `${l}[data-swiper-slide-index="${i}"]`)[0]), Ee(() => {
1191
+ i = parseInt(t.clickedSlide.getAttribute("data-swiper-slide-index"), 10), e.centeredSlides ? n < t.loopedSlides - r / 2 || n > t.slides.length - t.loopedSlides + r / 2 ? (t.loopFix(), n = t.getSlideIndex(H(s, `${l}[data-swiper-slide-index="${i}"]`)[0]), xe(() => {
1205
1192
  t.slideTo(n);
1206
- })) : t.slideTo(n) : n > t.slides.length - r ? (t.loopFix(), n = t.getSlideIndex(H(s, `${l}[data-swiper-slide-index="${i}"]`)[0]), Ee(() => {
1193
+ })) : t.slideTo(n) : n > t.slides.length - r ? (t.loopFix(), n = t.getSlideIndex(H(s, `${l}[data-swiper-slide-index="${i}"]`)[0]), xe(() => {
1207
1194
  t.slideTo(n);
1208
1195
  })) : t.slideTo(n);
1209
1196
  } else
1210
1197
  t.slideTo(n);
1211
1198
  }
1212
- var hs = {
1213
- slideTo: os,
1214
- slideToLoop: ds,
1215
- slideNext: cs,
1216
- slidePrev: ps,
1217
- slideReset: us,
1218
- slideToClosest: ms,
1219
- slideToClickedSlide: fs
1199
+ var us = {
1200
+ slideTo: ns,
1201
+ slideToLoop: as,
1202
+ slideNext: ls,
1203
+ slidePrev: os,
1204
+ slideReset: ds,
1205
+ slideToClosest: cs,
1206
+ slideToClickedSlide: ps
1220
1207
  };
1221
- function gs(t, e) {
1208
+ function ms(t, e) {
1222
1209
  const s = this, {
1223
1210
  params: r,
1224
1211
  slidesEl: n
@@ -1256,7 +1243,7 @@ function gs(t, e) {
1256
1243
  initial: e
1257
1244
  });
1258
1245
  }
1259
- function vs(t) {
1246
+ function fs(t) {
1260
1247
  let {
1261
1248
  slideRealIndex: e,
1262
1249
  slideTo: s = !0,
@@ -1363,7 +1350,7 @@ function vs(t) {
1363
1350
  }
1364
1351
  c.emit("loopFix");
1365
1352
  }
1366
- function ws() {
1353
+ function hs() {
1367
1354
  const t = this, {
1368
1355
  params: e,
1369
1356
  slidesEl: s
@@ -1380,12 +1367,12 @@ function ws() {
1380
1367
  s.append(n);
1381
1368
  }), t.recalcSlides(), t.slideTo(t.realIndex, 0);
1382
1369
  }
1383
- var bs = {
1384
- loopCreate: gs,
1385
- loopFix: vs,
1386
- loopDestroy: ws
1370
+ var gs = {
1371
+ loopCreate: ms,
1372
+ loopFix: fs,
1373
+ loopDestroy: hs
1387
1374
  };
1388
- function ys(t) {
1375
+ function vs(t) {
1389
1376
  const e = this;
1390
1377
  if (!e.params.simulateTouch || e.params.watchOverflow && e.isLocked || e.params.cssMode) return;
1391
1378
  const s = e.params.touchEventsTarget === "container" ? e.el : e.wrapperEl;
@@ -1393,17 +1380,17 @@ function ys(t) {
1393
1380
  e.__preventObserver__ = !1;
1394
1381
  });
1395
1382
  }
1396
- function Ss() {
1383
+ function ws() {
1397
1384
  const t = this;
1398
1385
  t.params.watchOverflow && t.isLocked || t.params.cssMode || (t.isElement && (t.__preventObserver__ = !0), t[t.params.touchEventsTarget === "container" ? "el" : "wrapperEl"].style.cursor = "", t.isElement && requestAnimationFrame(() => {
1399
1386
  t.__preventObserver__ = !1;
1400
1387
  }));
1401
1388
  }
1402
- var Es = {
1403
- setGrabCursor: ys,
1404
- unsetGrabCursor: Ss
1389
+ var bs = {
1390
+ setGrabCursor: vs,
1391
+ unsetGrabCursor: ws
1405
1392
  };
1406
- function xs(t, e) {
1393
+ function ys(t, e) {
1407
1394
  e === void 0 && (e = this);
1408
1395
  function s(r) {
1409
1396
  if (!r || r === K() || r === N()) return null;
@@ -1413,13 +1400,13 @@ function xs(t, e) {
1413
1400
  }
1414
1401
  return s(e);
1415
1402
  }
1416
- function Ne(t, e, s) {
1403
+ function Ge(t, e, s) {
1417
1404
  const r = N(), {
1418
1405
  params: n
1419
1406
  } = t, i = n.edgeSwipeDetection, l = n.edgeSwipeThreshold;
1420
1407
  return i && (s <= l || s >= r.innerWidth - l) ? i === "prevent" ? (e.preventDefault(), !0) : !1 : !0;
1421
1408
  }
1422
- function Ts(t) {
1409
+ function Ss(t) {
1423
1410
  const e = this, s = K();
1424
1411
  let r = t;
1425
1412
  r.originalEvent && (r = r.originalEvent);
@@ -1430,7 +1417,7 @@ function Ts(t) {
1430
1417
  n.pointerId = r.pointerId;
1431
1418
  } else r.type === "touchstart" && r.targetTouches.length === 1 && (n.touchId = r.targetTouches[0].identifier);
1432
1419
  if (r.type === "touchstart") {
1433
- Ne(e, r, r.targetTouches[0].pageX);
1420
+ Ge(e, r, r.targetTouches[0].pageX);
1434
1421
  return;
1435
1422
  }
1436
1423
  const {
@@ -1442,11 +1429,11 @@ function Ts(t) {
1442
1429
  return;
1443
1430
  !e.animating && i.cssMode && i.loop && e.loopFix();
1444
1431
  let o = r.target;
1445
- if (i.touchEventsTarget === "wrapper" && !Ot(o, e.wrapperEl) || "which" in r && r.which === 3 || "button" in r && r.button > 0 || n.isTouched && n.isMoved) return;
1432
+ if (i.touchEventsTarget === "wrapper" && !It(o, e.wrapperEl) || "which" in r && r.which === 3 || "button" in r && r.button > 0 || n.isTouched && n.isMoved) return;
1446
1433
  const c = !!i.noSwipingClass && i.noSwipingClass !== "", d = r.composedPath ? r.composedPath() : r.path;
1447
1434
  c && r.target && r.target.shadowRoot && d && (o = d[0]);
1448
1435
  const u = i.noSwipingSelector ? i.noSwipingSelector : `.${i.noSwipingClass}`, f = !!(r.target && r.target.shadowRoot);
1449
- if (i.noSwiping && (f ? xs(u, o) : o.closest(u))) {
1436
+ if (i.noSwiping && (f ? ys(u, o) : o.closest(u))) {
1450
1437
  e.allowClick = !0;
1451
1438
  return;
1452
1439
  }
@@ -1454,7 +1441,7 @@ function Ts(t) {
1454
1441
  return;
1455
1442
  l.currentX = r.pageX, l.currentY = r.pageY;
1456
1443
  const g = l.currentX, h = l.currentY;
1457
- if (!Ne(e, r, g))
1444
+ if (!Ge(e, r, g))
1458
1445
  return;
1459
1446
  Object.assign(n, {
1460
1447
  isTouched: !0,
@@ -1468,7 +1455,7 @@ function Ts(t) {
1468
1455
  const M = b && e.allowTouchMove && i.touchStartPreventDefault;
1469
1456
  (i.touchStartForcePreventDefault || M) && !o.isContentEditable && r.preventDefault(), i.freeMode && i.freeMode.enabled && e.freeMode && e.animating && !i.cssMode && e.freeMode.onTouchStart(), e.emit("touchStart", r);
1470
1457
  }
1471
- function Cs(t) {
1458
+ function Es(t) {
1472
1459
  const e = K(), s = this, r = s.touchEventsData, {
1473
1460
  params: n,
1474
1461
  touches: i,
@@ -1582,7 +1569,7 @@ function Cs(t) {
1582
1569
  }
1583
1570
  !n.followFinger || n.cssMode || ((n.freeMode && n.freeMode.enabled && s.freeMode || n.watchSlidesProgress) && (s.updateActiveIndex(), s.updateSlidesClasses()), n.freeMode && n.freeMode.enabled && s.freeMode && s.freeMode.onTouchMove(), s.updateProgress(r.currentTranslate), s.setTranslate(r.currentTranslate));
1584
1571
  }
1585
- function Ps(t) {
1572
+ function xs(t) {
1586
1573
  const e = this, s = e.touchEventsData;
1587
1574
  let r = t;
1588
1575
  r.originalEvent && (r = r.originalEvent);
@@ -1614,7 +1601,7 @@ function Ps(t) {
1614
1601
  const v = r.path || r.composedPath && r.composedPath();
1615
1602
  e.updateClickedSlide(v && v[0] || r.target, v), e.emit("tap click", r), u < 300 && d - s.lastClickTime < 300 && e.emit("doubleTap doubleClick", r);
1616
1603
  }
1617
- if (s.lastClickTime = le(), Ee(() => {
1604
+ if (s.lastClickTime = le(), xe(() => {
1618
1605
  e.destroyed || (e.allowClick = !0);
1619
1606
  }), !s.isTouched || !s.isMoved || !e.swipeDirection || l.diff === 0 && !s.loopSwapReset || s.currentTranslate === s.startTranslate && !s.loopSwapReset) {
1620
1607
  s.isTouched = !1, s.isMoved = !1, s.startMoving = !1;
@@ -1653,7 +1640,7 @@ function Ps(t) {
1653
1640
  e.navigation && (r.target === e.navigation.nextEl || r.target === e.navigation.prevEl) ? r.target === e.navigation.nextEl ? e.slideTo(h + m) : e.slideTo(h) : (e.swipeDirection === "next" && e.slideTo(M !== null ? M : h + m), e.swipeDirection === "prev" && e.slideTo(w !== null ? w : h));
1654
1641
  }
1655
1642
  }
1656
- function Be() {
1643
+ function Ne() {
1657
1644
  const t = this, {
1658
1645
  params: e,
1659
1646
  el: s
@@ -1671,11 +1658,11 @@ function Be() {
1671
1658
  t.autoplay && t.autoplay.running && t.autoplay.paused && t.autoplay.resume();
1672
1659
  }, 500)), t.allowSlidePrev = n, t.allowSlideNext = r, t.params.watchOverflow && i !== t.snapGrid && t.checkOverflow();
1673
1660
  }
1674
- function Ms(t) {
1661
+ function Ts(t) {
1675
1662
  const e = this;
1676
1663
  e.enabled && (e.allowClick || (e.params.preventClicks && t.preventDefault(), e.params.preventClicksPropagation && e.animating && (t.stopPropagation(), t.stopImmediatePropagation())));
1677
1664
  }
1678
- function ks() {
1665
+ function Cs() {
1679
1666
  const t = this, {
1680
1667
  wrapperEl: e,
1681
1668
  rtlTranslate: s,
@@ -1687,11 +1674,11 @@ function ks() {
1687
1674
  const i = t.maxTranslate() - t.minTranslate();
1688
1675
  i === 0 ? n = 0 : n = (t.translate - t.minTranslate()) / i, n !== t.progress && t.updateProgress(s ? -t.translate : t.translate), t.emit("setTranslate", t.translate, !1);
1689
1676
  }
1690
- function Is(t) {
1677
+ function Ps(t) {
1691
1678
  const e = this;
1692
1679
  ne(e, t.target), !(e.params.cssMode || e.params.slidesPerView !== "auto" && !e.params.autoHeight) && e.update();
1693
1680
  }
1694
- function Ls() {
1681
+ function Ms() {
1695
1682
  const t = this;
1696
1683
  t.documentTouchHandlerProceeded || (t.documentTouchHandlerProceeded = !0, t.params.touchReleaseOnEdges && (t.el.style.touchAction = "auto"));
1697
1684
  }
@@ -1729,25 +1716,25 @@ const Ze = (t, e) => {
1729
1716
  passive: !0
1730
1717
  }), s[o]("contextmenu", t.onTouchEnd, {
1731
1718
  passive: !0
1732
- }), (r.preventClicks || r.preventClicksPropagation) && n[o]("click", t.onClick, !0), r.cssMode && i[o]("scroll", t.onScroll), r.updateOnWindowResize ? t[c](l.ios || l.android ? "resize orientationchange observerUpdate" : "resize observerUpdate", Be, !0) : t[c]("observerUpdate", Be, !0), n[o]("load", t.onLoad, {
1719
+ }), (r.preventClicks || r.preventClicksPropagation) && n[o]("click", t.onClick, !0), r.cssMode && i[o]("scroll", t.onScroll), r.updateOnWindowResize ? t[c](l.ios || l.android ? "resize orientationchange observerUpdate" : "resize observerUpdate", Ne, !0) : t[c]("observerUpdate", Ne, !0), n[o]("load", t.onLoad, {
1733
1720
  capture: !0
1734
1721
  }));
1735
1722
  };
1736
- function As() {
1723
+ function ks() {
1737
1724
  const t = this, {
1738
1725
  params: e
1739
1726
  } = t;
1740
- t.onTouchStart = Ts.bind(t), t.onTouchMove = Cs.bind(t), t.onTouchEnd = Ps.bind(t), t.onDocumentTouchStart = Ls.bind(t), e.cssMode && (t.onScroll = ks.bind(t)), t.onClick = Ms.bind(t), t.onLoad = Is.bind(t), Ze(t, "on");
1727
+ t.onTouchStart = Ss.bind(t), t.onTouchMove = Es.bind(t), t.onTouchEnd = xs.bind(t), t.onDocumentTouchStart = Ms.bind(t), e.cssMode && (t.onScroll = Cs.bind(t)), t.onClick = Ts.bind(t), t.onLoad = Ps.bind(t), Ze(t, "on");
1741
1728
  }
1742
- function Os() {
1729
+ function Is() {
1743
1730
  Ze(this, "off");
1744
1731
  }
1745
- var zs = {
1746
- attachEvents: As,
1747
- detachEvents: Os
1732
+ var Ls = {
1733
+ attachEvents: ks,
1734
+ detachEvents: Is
1748
1735
  };
1749
- const De = (t, e) => t.grid && e.grid && e.grid.rows > 1;
1750
- function _s() {
1736
+ const Be = (t, e) => t.grid && e.grid && e.grid.rows > 1;
1737
+ function As() {
1751
1738
  const t = this, {
1752
1739
  realIndex: e,
1753
1740
  initialized: s,
@@ -1757,7 +1744,7 @@ function _s() {
1757
1744
  if (!i || i && Object.keys(i).length === 0) return;
1758
1745
  const l = K(), a = r.breakpointsBase === "window" || !r.breakpointsBase ? r.breakpointsBase : "container", o = ["window", "container"].includes(r.breakpointsBase) || !r.breakpointsBase ? t.el : l.querySelector(r.breakpointsBase), c = t.getBreakpoint(i, a, o);
1759
1746
  if (!c || t.currentBreakpoint === c) return;
1760
- const d = (c in i ? i[c] : void 0) || t.originalParams, u = De(t, r), f = De(t, d), g = t.params.grabCursor, h = d.grabCursor, b = r.enabled;
1747
+ const d = (c in i ? i[c] : void 0) || t.originalParams, u = Be(t, r), f = Be(t, d), g = t.params.grabCursor, h = d.grabCursor, b = r.enabled;
1761
1748
  u && !f ? (n.classList.remove(`${r.containerModifierClass}grid`, `${r.containerModifierClass}grid-column`), t.emitContainerClasses()) : !u && f && (n.classList.add(`${r.containerModifierClass}grid`), (d.grid.fill && d.grid.fill === "column" || !d.grid.fill && r.grid.fill === "column") && n.classList.add(`${r.containerModifierClass}grid-column`), t.emitContainerClasses()), g && !h ? t.unsetGrabCursor() : !g && h && t.setGrabCursor(), ["navigation", "pagination", "scrollbar"].forEach((y) => {
1762
1749
  if (typeof d[y] > "u") return;
1763
1750
  const T = r[y] && r[y].enabled, A = d[y] && d[y].enabled;
@@ -1772,7 +1759,7 @@ function _s() {
1772
1759
  allowSlidePrev: t.params.allowSlidePrev
1773
1760
  }), b && !m ? t.disable() : !b && m && t.enable(), t.currentBreakpoint = c, t.emit("_beforeBreakpoint", d), s && (w ? (t.loopDestroy(), t.loopCreate(e), t.updateSlides()) : !p && v ? (t.loopCreate(e), t.updateSlides()) : p && !v && t.loopDestroy()), t.emit("breakpoint", d);
1774
1761
  }
1775
- function $s(t, e, s) {
1762
+ function Os(t, e, s) {
1776
1763
  if (e === void 0 && (e = "window"), !t || e === "container" && !s) return;
1777
1764
  let r = !1;
1778
1765
  const n = N(), i = e === "window" ? n.innerHeight : s.clientHeight, l = Object.keys(t).map((a) => {
@@ -1798,11 +1785,11 @@ function $s(t, e, s) {
1798
1785
  }
1799
1786
  return r || "max";
1800
1787
  }
1801
- var Gs = {
1802
- setBreakpoint: _s,
1803
- getBreakpoint: $s
1788
+ var zs = {
1789
+ setBreakpoint: As,
1790
+ getBreakpoint: Os
1804
1791
  };
1805
- function Ns(t, e) {
1792
+ function _s(t, e) {
1806
1793
  const s = [];
1807
1794
  return t.forEach((r) => {
1808
1795
  typeof r == "object" ? Object.keys(r).forEach((n) => {
@@ -1810,14 +1797,14 @@ function Ns(t, e) {
1810
1797
  }) : typeof r == "string" && s.push(e + r);
1811
1798
  }), s;
1812
1799
  }
1813
- function Bs() {
1800
+ function $s() {
1814
1801
  const t = this, {
1815
1802
  classNames: e,
1816
1803
  params: s,
1817
1804
  rtl: r,
1818
1805
  el: n,
1819
1806
  device: i
1820
- } = t, l = Ns(["initialized", s.direction, {
1807
+ } = t, l = _s(["initialized", s.direction, {
1821
1808
  "free-mode": t.params.freeMode && s.freeMode.enabled
1822
1809
  }, {
1823
1810
  autoheight: s.autoHeight
@@ -1840,18 +1827,18 @@ function Bs() {
1840
1827
  }], s.containerModifierClass);
1841
1828
  e.push(...l), n.classList.add(...e), t.emitContainerClasses();
1842
1829
  }
1843
- function Ds() {
1830
+ function Gs() {
1844
1831
  const t = this, {
1845
1832
  el: e,
1846
1833
  classNames: s
1847
1834
  } = t;
1848
1835
  !e || typeof e == "string" || (e.classList.remove(...s), t.emitContainerClasses());
1849
1836
  }
1850
- var Fs = {
1851
- addClasses: Bs,
1852
- removeClasses: Ds
1837
+ var Ns = {
1838
+ addClasses: $s,
1839
+ removeClasses: Gs
1853
1840
  };
1854
- function js() {
1841
+ function Bs() {
1855
1842
  const t = this, {
1856
1843
  isLocked: e,
1857
1844
  params: s
@@ -1865,9 +1852,9 @@ function js() {
1865
1852
  t.isLocked = t.snapGrid.length === 1;
1866
1853
  s.allowSlideNext === !0 && (t.allowSlideNext = !t.isLocked), s.allowSlidePrev === !0 && (t.allowSlidePrev = !t.isLocked), e && e !== t.isLocked && (t.isEnd = !1), e !== t.isLocked && t.emit(t.isLocked ? "lock" : "unlock");
1867
1854
  }
1868
- var Vs = {
1869
- checkOverflow: js
1870
- }, Ce = {
1855
+ var Ds = {
1856
+ checkOverflow: Bs
1857
+ }, Pe = {
1871
1858
  init: !0,
1872
1859
  direction: "horizontal",
1873
1860
  oneWayMovement: !1,
@@ -1988,7 +1975,7 @@ var Vs = {
1988
1975
  // Internals
1989
1976
  _emitClasses: !1
1990
1977
  };
1991
- function Hs(t, e) {
1978
+ function Fs(t, e) {
1992
1979
  return function(s) {
1993
1980
  s === void 0 && (s = {});
1994
1981
  const r = Object.keys(s)[0], n = s[r];
@@ -2008,17 +1995,17 @@ function Hs(t, e) {
2008
1995
  };
2009
1996
  }
2010
1997
  const be = {
2011
- eventsEmitter: Ft,
2012
- update: Kt,
2013
- translate: rs,
2014
- transition: ls,
2015
- slide: hs,
2016
- loop: bs,
2017
- grabCursor: Es,
2018
- events: zs,
2019
- breakpoints: Gs,
2020
- checkOverflow: Vs,
2021
- classes: Fs
1998
+ eventsEmitter: Nt,
1999
+ update: Xt,
2000
+ translate: es,
2001
+ transition: is,
2002
+ slide: us,
2003
+ loop: gs,
2004
+ grabCursor: bs,
2005
+ events: Ls,
2006
+ breakpoints: zs,
2007
+ checkOverflow: Ds,
2008
+ classes: Ns
2022
2009
  }, ye = {};
2023
2010
  let ze = class q {
2024
2011
  constructor() {
@@ -2045,14 +2032,14 @@ let ze = class q {
2045
2032
  d({
2046
2033
  params: s,
2047
2034
  swiper: a,
2048
- extendParams: Hs(s, o),
2035
+ extendParams: Fs(s, o),
2049
2036
  on: a.on.bind(a),
2050
2037
  once: a.once.bind(a),
2051
2038
  off: a.off.bind(a),
2052
2039
  emit: a.emit.bind(a)
2053
2040
  });
2054
2041
  });
2055
- const c = B({}, Ce, o);
2042
+ const c = B({}, Pe, o);
2056
2043
  return a.params = B({}, c, ye, s), a.originalParams = B({}, a.params), a.passedParams = B({}, s), a.params && a.params.on && Object.keys(a.params.on).forEach((d) => {
2057
2044
  a.on(d, a.params.on[d]);
2058
2045
  }), a.params && a.params.onAny && a.onAny(a.params.onAny), Object.assign(a, {
@@ -2289,7 +2276,7 @@ let ze = class q {
2289
2276
  n.complete ? ne(s, n) : n.addEventListener("load", (i) => {
2290
2277
  ne(s, i.target);
2291
2278
  });
2292
- }), Te(s), s.initialized = !0, Te(s), s.emit("init"), s.emit("afterInit"), s;
2279
+ }), Ce(s), s.initialized = !0, Ce(s), s.emit("init"), s.emit("afterInit"), s;
2293
2280
  }
2294
2281
  destroy(e, s) {
2295
2282
  e === void 0 && (e = !0), s === void 0 && (s = !0);
@@ -2303,7 +2290,7 @@ let ze = class q {
2303
2290
  o.classList.remove(n.slideVisibleClass, n.slideFullyVisibleClass, n.slideActiveClass, n.slideNextClass, n.slidePrevClass), o.removeAttribute("style"), o.removeAttribute("data-swiper-slide-index");
2304
2291
  })), r.emit("destroy"), Object.keys(r.eventsListeners).forEach((o) => {
2305
2292
  r.off(o);
2306
- }), e !== !1 && (r.el && typeof r.el != "string" && (r.el.swiper = null), Mt(r)), r.destroyed = !0), null;
2293
+ }), e !== !1 && (r.el && typeof r.el != "string" && (r.el.swiper = null), Tt(r)), r.destroyed = !0), null;
2307
2294
  }
2308
2295
  static extendDefaults(e) {
2309
2296
  B(ye, e);
@@ -2312,7 +2299,7 @@ let ze = class q {
2312
2299
  return ye;
2313
2300
  }
2314
2301
  static get defaults() {
2315
- return Ce;
2302
+ return Pe;
2316
2303
  }
2317
2304
  static installModule(e) {
2318
2305
  q.prototype.__modules__ || (q.prototype.__modules__ = []);
@@ -2328,7 +2315,7 @@ Object.keys(be).forEach((t) => {
2328
2315
  ze.prototype[e] = be[t][e];
2329
2316
  });
2330
2317
  });
2331
- ze.use([Bt, Dt]);
2318
+ ze.use([$t, Gt]);
2332
2319
  const et = [
2333
2320
  "eventsPrefix",
2334
2321
  "injectStyles",
@@ -2473,10 +2460,10 @@ function it(t) {
2473
2460
  s.indexOf(r) < 0 && s.push(r);
2474
2461
  }), s.join(" ");
2475
2462
  }
2476
- function Rs(t) {
2463
+ function js(t) {
2477
2464
  return t === void 0 && (t = ""), t ? t.includes("swiper-wrapper") ? t : `swiper-wrapper ${t}` : "swiper-wrapper";
2478
2465
  }
2479
- function qs(t) {
2466
+ function Vs(t) {
2480
2467
  let {
2481
2468
  swiper: e,
2482
2469
  slides: s,
@@ -2509,12 +2496,12 @@ function qs(t) {
2509
2496
  }
2510
2497
  }), c.includes("controller") && !w && e.controller && e.controller.control && d.controller && d.controller.control && (e.controller.control = d.controller.control), n.includes("children") && s && h && d.virtual.enabled ? (h.slides = s, h.update(!0)) : n.includes("virtual") && h && d.virtual.enabled && (s && (h.slides = s), h.update(!0)), n.includes("children") && s && d.loop && (A = !0), M && b.init() && b.update(!0), w && (e.controller.control = d.controller.control), p && (e.isElement && (!o || typeof o == "string") && (o = document.createElement("div"), o.classList.add("swiper-pagination"), o.part.add("pagination"), e.el.appendChild(o)), o && (d.pagination.el = o), u.init(), u.render(), u.update()), m && (e.isElement && (!a || typeof a == "string") && (a = document.createElement("div"), a.classList.add("swiper-scrollbar"), a.part.add("scrollbar"), e.el.appendChild(a)), a && (d.scrollbar.el = a), g.init(), g.updateSize(), g.setTranslate()), v && (e.isElement && ((!i || typeof i == "string") && (i = document.createElement("div"), i.classList.add("swiper-button-next"), i.innerHTML = e.hostEl.constructor.nextButtonSvg, i.part.add("button-next"), e.el.appendChild(i)), (!l || typeof l == "string") && (l = document.createElement("div"), l.classList.add("swiper-button-prev"), l.innerHTML = e.hostEl.constructor.prevButtonSvg, l.part.add("button-prev"), e.el.appendChild(l))), i && (d.navigation.nextEl = i), l && (d.navigation.prevEl = l), f.init(), f.update()), n.includes("allowSlideNext") && (e.allowSlideNext = r.allowSlideNext), n.includes("allowSlidePrev") && (e.allowSlidePrev = r.allowSlidePrev), n.includes("direction") && e.changeDirection(r.direction, !1), (y || A) && e.loopDestroy(), (T || A) && e.loopCreate(), e.update();
2511
2498
  }
2512
- function Ws(t, e) {
2499
+ function Hs(t, e) {
2513
2500
  t === void 0 && (t = {}), e === void 0 && (e = !0);
2514
2501
  const s = {
2515
2502
  on: {}
2516
2503
  }, r = {}, n = {};
2517
- J(s, Ce), s._emitClasses = !0, s.init = !1;
2504
+ J(s, Pe), s._emitClasses = !0, s.init = !1;
2518
2505
  const i = {}, l = et.map((o) => o.replace(/_/, "")), a = Object.assign({}, t);
2519
2506
  return Object.keys(a).forEach((o) => {
2520
2507
  typeof t[o] > "u" || (l.indexOf(o) >= 0 ? Q(t[o]) ? (s[o] = {}, n[o] = {}, J(s[o], t[o]), J(n[o], t[o])) : (s[o] = t[o], n[o] = t[o]) : o.search(/on[A-Z]/) === 0 && typeof t[o] == "function" ? e ? r[`${o[2].toLowerCase()}${o.substr(3)}`] = t[o] : s.on[`${o[2].toLowerCase()}${o.substr(3)}`] = t[o] : i[o] = t[o]);
@@ -2527,7 +2514,7 @@ function Ws(t, e) {
2527
2514
  events: r
2528
2515
  };
2529
2516
  }
2530
- function Ys(t, e) {
2517
+ function Rs(t, e) {
2531
2518
  let {
2532
2519
  el: s,
2533
2520
  nextEl: r,
@@ -2538,7 +2525,7 @@ function Ys(t, e) {
2538
2525
  } = t;
2539
2526
  tt(e) && r && n && (a.params.navigation.nextEl = r, a.originalParams.navigation.nextEl = r, a.params.navigation.prevEl = n, a.originalParams.navigation.prevEl = n), st(e) && i && (a.params.pagination.el = i, a.originalParams.pagination.el = i), rt(e) && l && (a.params.scrollbar.el = l, a.originalParams.scrollbar.el = l), a.init(s);
2540
2527
  }
2541
- function Xs(t, e, s, r, n) {
2528
+ function qs(t, e, s, r, n) {
2542
2529
  const i = [];
2543
2530
  if (!e) return i;
2544
2531
  const l = (a) => {
@@ -2560,7 +2547,7 @@ function Xs(t, e, s, r, n) {
2560
2547
  } else t[a] !== e[a] && l(a);
2561
2548
  }), i;
2562
2549
  }
2563
- const Us = (t) => {
2550
+ const Ws = (t) => {
2564
2551
  !t || t.destroyed || !t.params.virtual || t.params.virtual && !t.params.virtual.enabled || (t.updateSlides(), t.updateProgress(), t.updateSlidesClasses(), t.parallax && t.params.parallax && t.params.parallax.enabled && t.parallax.setTranslate());
2565
2552
  };
2566
2553
  function pe() {
@@ -2582,7 +2569,7 @@ function at(t) {
2582
2569
  nt(s) ? e.push(s) : s.props && s.props.children && at(s.props.children).forEach((r) => e.push(r));
2583
2570
  }), e;
2584
2571
  }
2585
- function Qs(t) {
2572
+ function Ys(t) {
2586
2573
  const e = [], s = {
2587
2574
  "container-start": [],
2588
2575
  "container-end": [],
@@ -2604,7 +2591,7 @@ function Qs(t) {
2604
2591
  slots: s
2605
2592
  };
2606
2593
  }
2607
- function Ks(t, e, s) {
2594
+ function Xs(t, e, s) {
2608
2595
  if (!s) return null;
2609
2596
  const r = (d) => {
2610
2597
  let u = d;
@@ -2626,9 +2613,9 @@ function Ks(t, e, s) {
2626
2613
  }));
2627
2614
  }
2628
2615
  function ee(t, e) {
2629
- return typeof window > "u" ? X(t, e) : bt(t, e);
2616
+ return typeof window > "u" ? X(t, e) : wt(t, e);
2630
2617
  }
2631
- const Fe = /* @__PURE__ */ He(null), Js = /* @__PURE__ */ He(null), lt = /* @__PURE__ */ Ae(function(t, e) {
2618
+ const De = /* @__PURE__ */ Ve(null), Us = /* @__PURE__ */ Ve(null), lt = /* @__PURE__ */ Ae(function(t, e) {
2632
2619
  let {
2633
2620
  className: s,
2634
2621
  tag: r = "div",
@@ -2642,10 +2629,10 @@ const Fe = /* @__PURE__ */ He(null), Js = /* @__PURE__ */ He(null), lt = /* @__P
2642
2629
  passedParams: S,
2643
2630
  rest: E,
2644
2631
  events: x
2645
- } = Ws(a), {
2632
+ } = Hs(a), {
2646
2633
  slides: k,
2647
2634
  slots: L
2648
- } = Qs(i), O = () => {
2635
+ } = Ys(i), O = () => {
2649
2636
  h(!g);
2650
2637
  };
2651
2638
  Object.assign(I.on, {
@@ -2685,7 +2672,7 @@ const Fe = /* @__PURE__ */ He(null), Js = /* @__PURE__ */ He(null), lt = /* @__P
2685
2672
  !b.current && w.current && (w.current.emitSlidesClasses(), b.current = !0);
2686
2673
  }), ee(() => {
2687
2674
  if (e && (e.current = M.current), !!M.current)
2688
- return w.current.destroyed && C(), Ys({
2675
+ return w.current.destroyed && C(), Rs({
2689
2676
  el: M.current,
2690
2677
  nextEl: v.current,
2691
2678
  prevEl: y.current,
@@ -2697,8 +2684,8 @@ const Fe = /* @__PURE__ */ He(null), Js = /* @__PURE__ */ He(null), lt = /* @__P
2697
2684
  };
2698
2685
  }, []), ee(() => {
2699
2686
  z();
2700
- const G = Xs(S, p.current, k, m.current, (V) => V.key);
2701
- return p.current = S, m.current = k, G.length && w.current && !w.current.destroyed && qs({
2687
+ const G = qs(S, p.current, k, m.current, (V) => V.key);
2688
+ return p.current = S, m.current = k, G.length && w.current && !w.current.destroyed && Vs({
2702
2689
  swiper: w.current,
2703
2690
  slides: k,
2704
2691
  passedParams: S,
@@ -2711,10 +2698,10 @@ const Fe = /* @__PURE__ */ He(null), Js = /* @__PURE__ */ He(null), lt = /* @__P
2711
2698
  U();
2712
2699
  };
2713
2700
  }), ee(() => {
2714
- Us(w.current);
2701
+ Ws(w.current);
2715
2702
  }, [u]);
2716
2703
  function j() {
2717
- return I.virtual ? Ks(w.current, k, u) : k.map((G, V) => /* @__PURE__ */ $.cloneElement(G, {
2704
+ return I.virtual ? Xs(w.current, k, u) : k.map((G, V) => /* @__PURE__ */ $.cloneElement(G, {
2718
2705
  swiper: w.current,
2719
2706
  swiperSlideIndex: V
2720
2707
  }));
@@ -2722,10 +2709,10 @@ const Fe = /* @__PURE__ */ He(null), Js = /* @__PURE__ */ He(null), lt = /* @__P
2722
2709
  return /* @__PURE__ */ $.createElement(r, pe({
2723
2710
  ref: M,
2724
2711
  className: it(`${c}${s ? ` ${s}` : ""}`)
2725
- }, E), /* @__PURE__ */ $.createElement(Js.Provider, {
2712
+ }, E), /* @__PURE__ */ $.createElement(Us.Provider, {
2726
2713
  value: w.current
2727
2714
  }, L["container-start"], /* @__PURE__ */ $.createElement(n, {
2728
- className: Rs(I.wrapperClass)
2715
+ className: js(I.wrapperClass)
2729
2716
  }, L["wrapper-start"], j(), L["wrapper-end"]), tt(I) && /* @__PURE__ */ $.createElement($.Fragment, null, /* @__PURE__ */ $.createElement("div", {
2730
2717
  ref: y,
2731
2718
  className: "swiper-button-prev"
@@ -2783,36 +2770,36 @@ const ae = /* @__PURE__ */ Ae(function(t, e) {
2783
2770
  className: it(`${f}${n ? ` ${n}` : ""}`),
2784
2771
  "data-swiper-slide-index": o,
2785
2772
  onLoad: m
2786
- }, d), l && /* @__PURE__ */ $.createElement(Fe.Provider, {
2773
+ }, d), l && /* @__PURE__ */ $.createElement(De.Provider, {
2787
2774
  value: w
2788
2775
  }, /* @__PURE__ */ $.createElement("div", {
2789
2776
  className: "swiper-zoom-container",
2790
2777
  "data-swiper-zoom": typeof l == "number" ? l : void 0
2791
2778
  }, p(), a && !h && /* @__PURE__ */ $.createElement("div", {
2792
2779
  className: "swiper-lazy-preloader"
2793
- }))), !l && /* @__PURE__ */ $.createElement(Fe.Provider, {
2780
+ }))), !l && /* @__PURE__ */ $.createElement(De.Provider, {
2794
2781
  value: w
2795
2782
  }, p(), a && !h && /* @__PURE__ */ $.createElement("div", {
2796
2783
  className: "swiper-lazy-preloader"
2797
2784
  })));
2798
2785
  });
2799
2786
  ae.displayName = "SwiperSlide";
2800
- const Zs = () => lt, er = /* @__PURE__ */ _(Zs())({
2787
+ const Qs = () => lt, Ks = /* @__PURE__ */ _(Qs())({
2801
2788
  name: "Carousel",
2802
2789
  class: "c1f9jjsn",
2803
2790
  propsAsIs: !0
2804
- }), Pe = /* @__PURE__ */ _("div")({
2791
+ }), Me = /* @__PURE__ */ _("div")({
2805
2792
  name: "ScreenWrap",
2806
2793
  class: "s25r51y",
2807
2794
  propsAsIs: !1
2808
- }), tr = () => te, sr = /* @__PURE__ */ _(tr())({
2795
+ }), Js = () => te, Zs = /* @__PURE__ */ _(Js())({
2809
2796
  name: "SponsorIconI",
2810
2797
  class: "s1lvrmx8",
2811
2798
  propsAsIs: !0
2812
2799
  }), ot = ({
2813
2800
  style: t,
2814
2801
  className: e
2815
- }) => /* @__PURE__ */ P(sr, {
2802
+ }) => /* @__PURE__ */ P(Zs, {
2816
2803
  className: e,
2817
2804
  style: t,
2818
2805
  name: "icon-masters-logo"
@@ -2824,7 +2811,7 @@ const Zs = () => lt, er = /* @__PURE__ */ _(Zs())({
2824
2811
  name: "ScreenTitle",
2825
2812
  class: "s14qstuv",
2826
2813
  propsAsIs: !1
2827
- }), Me = /* @__PURE__ */ _("div")({
2814
+ }), ke = /* @__PURE__ */ _("div")({
2828
2815
  name: "ScreenDescription",
2829
2816
  class: "s14mdh2e",
2830
2817
  propsAsIs: !1
@@ -2832,50 +2819,50 @@ const Zs = () => lt, er = /* @__PURE__ */ _(Zs())({
2832
2819
  name: "ScreenButton",
2833
2820
  class: "sqtjig9",
2834
2821
  propsAsIs: !1
2835
- }), rr = /* @__PURE__ */ _("div")({
2822
+ }), er = /* @__PURE__ */ _("div")({
2836
2823
  name: "EmergencyContainer",
2837
2824
  class: "e1f9mu2m",
2838
2825
  propsAsIs: !1
2839
- }), ir = /* @__PURE__ */ _("div")({
2826
+ }), tr = /* @__PURE__ */ _("div")({
2840
2827
  name: "EmergencyScreenTitle",
2841
2828
  class: "e1n10yo1",
2842
2829
  propsAsIs: !1
2843
- }), nr = /* @__PURE__ */ _("div")({
2830
+ }), sr = /* @__PURE__ */ _("div")({
2844
2831
  name: "EmergencyScreenDescription",
2845
2832
  class: "e1xecypc",
2846
2833
  propsAsIs: !1
2847
- }), ar = () => ue, lr = /* @__PURE__ */ _(ar())({
2834
+ }), rr = () => ue, ir = /* @__PURE__ */ _(rr())({
2848
2835
  name: "EmergencyScreenButton",
2849
2836
  class: "e1k6zoyu",
2850
2837
  propsAsIs: !0
2851
- }), ke = ({ actionFn: t, description: e, className: s, onEvent: r }) => (X(() => {
2838
+ }), Ie = ({ actionFn: t, description: e, className: s, onEvent: r }) => (X(() => {
2852
2839
  r({ type: "slBetPackReady" });
2853
- }, [r]), /* @__PURE__ */ F(rr, { className: s, children: [
2854
- /* @__PURE__ */ P(ir, { children: "Something went wrong." }),
2855
- /* @__PURE__ */ P(nr, { children: e }),
2856
- /* @__PURE__ */ P(lr, { onClick: t, children: "Try again" })
2857
- ] })), or = /* @__PURE__ */ _("div")({
2840
+ }, [r]), /* @__PURE__ */ F(er, { className: s, children: [
2841
+ /* @__PURE__ */ P(tr, { children: "Something went wrong." }),
2842
+ /* @__PURE__ */ P(sr, { children: e }),
2843
+ /* @__PURE__ */ P(ir, { onClick: t, children: "Try again" })
2844
+ ] })), nr = /* @__PURE__ */ _("div")({
2858
2845
  name: "ScreenContainerBox",
2859
2846
  class: "s28ooi9",
2860
2847
  propsAsIs: !1
2861
- }), me = ({ children: t }) => /* @__PURE__ */ P(or, { className: "ScreenContainer", children: /* @__PURE__ */ P("div", { children: t }) }), dr = /* @__PURE__ */ _("img")({
2848
+ }), me = ({ children: t }) => /* @__PURE__ */ P(nr, { className: "ScreenContainer", children: /* @__PURE__ */ P("div", { children: t }) }), ar = /* @__PURE__ */ _("img")({
2862
2849
  name: "EndScreenMedia",
2863
2850
  class: "e8s3kc9",
2864
2851
  propsAsIs: !1
2865
- }), cr = () => ot, pr = /* @__PURE__ */ _(cr())({
2852
+ }), lr = () => ot, or = /* @__PURE__ */ _(lr())({
2866
2853
  name: "EndScreenSponsorIcon",
2867
2854
  class: "e1uswib2",
2868
2855
  propsAsIs: !0
2869
- }), ur = ({ onEvent: t, height: e }) => {
2856
+ }), dr = ({ onEvent: t, height: e }) => {
2870
2857
  const [s, r] = W(
2871
2858
  0
2872
2859
  /* FIRST */
2873
2860
  );
2874
- return s === 0 ? /* @__PURE__ */ P(me, { height: e, children: /* @__PURE__ */ F(Pe, { children: [
2875
- /* @__PURE__ */ P(pr, {}),
2861
+ return s === 0 ? /* @__PURE__ */ P(me, { height: e, children: /* @__PURE__ */ F(Me, { children: [
2862
+ /* @__PURE__ */ P(or, {}),
2876
2863
  /* @__PURE__ */ F(dt, { children: [
2877
2864
  /* @__PURE__ */ P(ct, { children: "Great picks!" }),
2878
- /* @__PURE__ */ P(Me, { children: "Stay in the Enhanced Stream for live results, predictions, trivia, polls, and match insights." })
2865
+ /* @__PURE__ */ P(ke, { children: "Stay in the Enhanced Stream for live results, predictions, trivia, polls, and match insights." })
2879
2866
  ] }),
2880
2867
  /* @__PURE__ */ P(
2881
2868
  ue,
@@ -2891,44 +2878,44 @@ const Zs = () => lt, er = /* @__PURE__ */ _(Zs())({
2891
2878
  children: "Continue"
2892
2879
  }
2893
2880
  )
2894
- ] }) }, "end") : /* @__PURE__ */ P(me, { height: e, children: /* @__PURE__ */ F(Pe, { children: [
2895
- /* @__PURE__ */ P(dr, { src: "https://cdn.streamlayer.io/assets/sdk-web/onboarding-steps/bet_pack_end_screen.png" }),
2896
- /* @__PURE__ */ P(Me, { children: "Look for more live match insights, predictions and more." }),
2881
+ ] }) }, "end") : /* @__PURE__ */ P(me, { height: e, children: /* @__PURE__ */ F(Me, { children: [
2882
+ /* @__PURE__ */ P(ar, { src: "https://cdn.streamlayer.io/assets/sdk-web/onboarding-steps/bet_pack_end_screen.png" }),
2883
+ /* @__PURE__ */ P(ke, { children: "Look for more live match insights, predictions and more." }),
2897
2884
  /* @__PURE__ */ P(ue, { "data-a": "intr", onClick: () => t({ type: "slOpenGameCenter" }), children: "Open Game Center" })
2898
2885
  ] }) }, "end");
2899
- }, mr = /* @__PURE__ */ _("div")({
2886
+ }, cr = /* @__PURE__ */ _("div")({
2900
2887
  name: "Container",
2901
2888
  class: "cv31tt7",
2902
2889
  propsAsIs: !1
2903
- }), Ie = ({
2890
+ }), Le = ({
2904
2891
  className: t
2905
- }) => /* @__PURE__ */ P(mr, {
2892
+ }) => /* @__PURE__ */ P(cr, {
2906
2893
  className: t,
2907
2894
  children: /* @__PURE__ */ P(ft, {})
2908
- }), fr = ({ question: t, vote: e }) => t ? /* @__PURE__ */ P(ht, { close: () => {
2909
- }, openedQuestion: t, vote: e, isLoading: !1, isEarlyPrediction: !0 }) : null, hr = /* @__PURE__ */ _("span")({
2895
+ }), pr = ({ question: t, vote: e }) => t ? /* @__PURE__ */ P(ht, { close: () => {
2896
+ }, openedQuestion: t, vote: e, isLoading: !1, isEarlyPrediction: !0 }) : null, ur = /* @__PURE__ */ _("span")({
2910
2897
  name: "NextButton",
2911
2898
  class: "n991vvm",
2912
2899
  propsAsIs: !1
2913
- }), gr = () => te, vr = /* @__PURE__ */ _(gr())({
2900
+ }), mr = () => te, fr = /* @__PURE__ */ _(mr())({
2914
2901
  name: "IconArrowRight",
2915
2902
  class: "inbj36g",
2916
2903
  propsAsIs: !0
2917
- }), wr = /* @__PURE__ */ _("div")({
2904
+ }), hr = /* @__PURE__ */ _("div")({
2918
2905
  name: "StartScreenSponsor",
2919
2906
  class: "szrvgt",
2920
2907
  propsAsIs: !1
2921
- }), br = /* @__PURE__ */ _("div")({
2908
+ }), gr = /* @__PURE__ */ _("div")({
2922
2909
  name: "StartScreenNote",
2923
2910
  class: "swqs2ju",
2924
2911
  propsAsIs: !1
2925
- }), yr = ({ countQuestionsAvailable: t, sliderRef: e }) => /* @__PURE__ */ P(me, { children: /* @__PURE__ */ F(Pe, { children: [
2912
+ }), vr = ({ countQuestionsAvailable: t, sliderRef: e }) => /* @__PURE__ */ P(me, { children: /* @__PURE__ */ F(Me, { children: [
2926
2913
  /* @__PURE__ */ P(ot, {}),
2927
2914
  /* @__PURE__ */ F(dt, { children: [
2928
- /* @__PURE__ */ P(wr, { children: "FEATURED GROUPS+" }),
2915
+ /* @__PURE__ */ P(hr, { children: "FEATURED GROUPS+" }),
2929
2916
  /* @__PURE__ */ P(ct, { children: "The First Five" })
2930
2917
  ] }),
2931
- /* @__PURE__ */ P(Me, { children: "Tee off with these five initial predictions for today’s play." }),
2918
+ /* @__PURE__ */ P(ke, { children: "Tee off with these five initial predictions for today’s play." }),
2932
2919
  /* @__PURE__ */ F(
2933
2920
  ue,
2934
2921
  {
@@ -2939,13 +2926,13 @@ const Zs = () => lt, er = /* @__PURE__ */ _(Zs())({
2939
2926
  },
2940
2927
  children: [
2941
2928
  t ? `${t} questions available` : "See all questions",
2942
- /* @__PURE__ */ P(hr, { children: /* @__PURE__ */ P(vr, { name: "iconArrowRight" }) })
2929
+ /* @__PURE__ */ P(ur, { children: /* @__PURE__ */ P(fr, { name: "iconArrowRight" }) })
2943
2930
  ]
2944
2931
  }
2945
2932
  ),
2946
- /* @__PURE__ */ P(br, { children: "Note: Some questions may have been resolved as a result of today’s play." })
2933
+ /* @__PURE__ */ P(gr, { children: "Note: Some questions may have been resolved as a result of today’s play." })
2947
2934
  ] }) }, "start");
2948
- function Sr(t, e, s, r) {
2935
+ function wr(t, e, s, r) {
2949
2936
  return t.params.createElements && Object.keys(r).forEach((n) => {
2950
2937
  if (!s[n] && s.auto === !0) {
2951
2938
  let i = H(t.el, `.${r[n]}`)[0];
@@ -2956,7 +2943,7 @@ function Sr(t, e, s, r) {
2956
2943
  function Z(t) {
2957
2944
  return t === void 0 && (t = ""), `.${t.trim().replace(/([\.:!+\/])/g, "\\$1").replace(/ /g, ".")}`;
2958
2945
  }
2959
- function Er(t) {
2946
+ function br(t) {
2960
2947
  let {
2961
2948
  swiper: e,
2962
2949
  extendParams: s,
@@ -3038,7 +3025,7 @@ function Er(t) {
3038
3025
  if (e.params.loop ? (T = e.previousRealIndex || 0, y = e.params.slidesPerGroup > 1 ? Math.floor(e.realIndex / e.params.slidesPerGroup) : e.realIndex) : typeof e.snapIndex < "u" ? (y = e.snapIndex, T = e.previousSnapIndex) : (T = e.previousIndex || 0, y = e.activeIndex || 0), m.type === "bullets" && e.pagination.bullets && e.pagination.bullets.length > 0) {
3039
3026
  const S = e.pagination.bullets;
3040
3027
  let E, x, k;
3041
- if (m.dynamicBullets && (l = xe(S[0], e.isHorizontal() ? "width" : "height"), v.forEach((L) => {
3028
+ if (m.dynamicBullets && (l = Te(S[0], e.isHorizontal() ? "width" : "height"), v.forEach((L) => {
3042
3029
  L.style[e.isHorizontal() ? "width" : "height"] = `${l * (m.dynamicMainBullets + 4)}px`;
3043
3030
  }), m.dynamicMainBullets > 1 && T !== void 0 && (a += y - (T || 0), a > m.dynamicMainBullets - 1 ? a = m.dynamicMainBullets - 1 : a < 0 && (a = 0)), E = Math.max(y - a, 0), x = E + (Math.min(S.length, m.dynamicMainBullets) - 1), k = (x + E) / 2), S.forEach((L) => {
3044
3031
  const O = [...["", "-next", "-next-next", "-prev", "-prev-prev", "-main"].map((C) => `${m.bulletActiveClass}${C}`)].map((C) => typeof C == "string" && C.includes(" ") ? C.split(" ") : C).flat();
@@ -3101,7 +3088,7 @@ function Er(t) {
3101
3088
  }), p.type !== "custom" && n("paginationRender", v[0]);
3102
3089
  }
3103
3090
  function h() {
3104
- e.params.pagination = Sr(e, e.originalParams.pagination, e.params.pagination, {
3091
+ e.params.pagination = wr(e, e.originalParams.pagination, e.params.pagination, {
3105
3092
  el: "swiper-pagination"
3106
3093
  });
3107
3094
  const p = e.params.pagination;
@@ -3177,14 +3164,14 @@ function Er(t) {
3177
3164
  destroy: b
3178
3165
  });
3179
3166
  }
3180
- const xr = ({ data: t, gamification: e, onEvent: s, swipeable: r, autoplay: n }) => {
3181
- const i = D(), l = D(), { listOfQuestions: a, countQuestionsAvailable: o } = Re(() => {
3167
+ const yr = ({ data: t, gamification: e, onEvent: s, swipeable: r, autoplay: n }) => {
3168
+ const i = D(), l = D(), { listOfQuestions: a, countQuestionsAvailable: o } = He(() => {
3182
3169
  const g = t ? Object.values(t) : [];
3183
3170
  return {
3184
3171
  listOfQuestions: g,
3185
3172
  countQuestionsAvailable: g.filter(({ marketClosed: h }) => !h).length
3186
3173
  };
3187
- }, [t]), c = Le(
3174
+ }, [t]), c = Re(
3188
3175
  async (g, h) => {
3189
3176
  try {
3190
3177
  await e.betPackVote(g, h), s({
@@ -3262,7 +3249,7 @@ const xr = ({ data: t, gamification: e, onEvent: s, swipeable: r, autoplay: n })
3262
3249
  window.removeEventListener("resize", g);
3263
3250
  };
3264
3251
  }, []), /* @__PURE__ */ F(
3265
- er,
3252
+ Ks,
3266
3253
  {
3267
3254
  slidesPerView: u,
3268
3255
  spaceBetween: 12,
@@ -3272,7 +3259,7 @@ const xr = ({ data: t, gamification: e, onEvent: s, swipeable: r, autoplay: n })
3272
3259
  pagination: {
3273
3260
  clickable: !0
3274
3261
  },
3275
- modules: [Er],
3262
+ modules: [br],
3276
3263
  onSlideChange: d,
3277
3264
  onBeforeSlideChangeStart: () => {
3278
3265
  i.current && clearTimeout(i.current);
@@ -3281,25 +3268,25 @@ const xr = ({ data: t, gamification: e, onEvent: s, swipeable: r, autoplay: n })
3281
3268
  l.current = g;
3282
3269
  },
3283
3270
  children: [
3284
- /* @__PURE__ */ P(ae, { children: /* @__PURE__ */ P(yr, { sliderRef: l, countQuestionsAvailable: o }) }),
3285
- a.map((g) => g ? /* @__PURE__ */ P(ae, { children: /* @__PURE__ */ P(me, { children: /* @__PURE__ */ P(fr, { question: g, vote: c }) }, g.id) }) : null),
3286
- /* @__PURE__ */ P(ae, { children: /* @__PURE__ */ P(ur, { onEvent: s }) })
3271
+ /* @__PURE__ */ P(ae, { children: /* @__PURE__ */ P(vr, { sliderRef: l, countQuestionsAvailable: o }) }),
3272
+ a.map((g) => g ? /* @__PURE__ */ P(ae, { children: /* @__PURE__ */ P(me, { children: /* @__PURE__ */ P(pr, { question: g, vote: c }) }, g.id) }) : null),
3273
+ /* @__PURE__ */ P(ae, { children: /* @__PURE__ */ P(dr, { onEvent: s }) })
3287
3274
  ]
3288
3275
  }
3289
3276
  );
3290
- }, Tr = ({ gamification: t, autoplay: e, overlay: s, swipeable: r, onEvent: n }) => {
3291
- const i = Tt(t.betPack.getStore()), { error: l, loading: a, data: o } = i;
3292
- return a || !Object.hasOwn(i, "data") ? /* @__PURE__ */ P(Ie, {}) : l ? /* @__PURE__ */ P(
3293
- ke,
3277
+ }, Sr = ({ gamification: t, autoplay: e, overlay: s, swipeable: r, onEvent: n }) => {
3278
+ const i = Se(t.betPack.getStore()), { error: l, loading: a, data: o } = i;
3279
+ return a || !Object.hasOwn(i, "data") ? /* @__PURE__ */ P(Le, {}) : l ? /* @__PURE__ */ P(
3280
+ Ie,
3294
3281
  {
3295
3282
  onEvent: n,
3296
3283
  actionFn: () => n({ type: "slHardRefresh" }),
3297
- description: l instanceof St && l.code !== Et.InvalidArgument ? `The event ID was not
3284
+ description: l instanceof yt && l.code !== St.InvalidArgument ? `The event ID was not
3298
3285
  specified or is invalid.` : `The server is unable to
3299
3286
  handle this request.`
3300
3287
  }
3301
3288
  ) : !o || !o.timestamp || !o.data || !Object.keys(o.data).length ? /* @__PURE__ */ P(
3302
- ke,
3289
+ Ie,
3303
3290
  {
3304
3291
  onEvent: n,
3305
3292
  actionFn: () => n({ type: "slHardRefresh" }),
@@ -3307,7 +3294,7 @@ handle this request.`
3307
3294
  load the questions.`
3308
3295
  }
3309
3296
  ) : /* @__PURE__ */ P(
3310
- xr,
3297
+ yr,
3311
3298
  {
3312
3299
  data: o.data,
3313
3300
  gamification: t,
@@ -3317,54 +3304,54 @@ handle this request.`
3317
3304
  overlay: s
3318
3305
  }
3319
3306
  );
3320
- }, Cr = /* @__PURE__ */ _("div")({
3307
+ }, Er = /* @__PURE__ */ _("div")({
3321
3308
  name: "BetPackContainer",
3322
3309
  class: "b18vssq2",
3323
3310
  propsAsIs: !1
3324
- }), ie = "slBetPackCb", Pr = vt("betPack-ui"), Mr = (t, e = {}) => {
3311
+ }), ie = "slBetPackCb", xr = vt("betPack-ui"), Tr = (t, e = {}) => {
3325
3312
  var s, r;
3326
3313
  const { questionId: n, answerId: i } = e, l = { questionId: n, answerId: i };
3327
- Pr.debug({ id: ie, type: t, ...l }), (s = window.top) == null || s.postMessage({ id: ie, type: t, ...l }, "*"), window.webkit && window.webkit.messageHandlers && window.webkit.messageHandlers[ie] && window.webkit.messageHandlers[ie].postMessage({ type: t, ...l }), (r = window.slBetPackCb) != null && r.postMessage && window.slBetPackCb.postMessage(JSON.stringify({ type: t, ...l, from: "base" }));
3328
- }, kr = (t) => {
3329
- Mr(t.type, t.payload);
3330
- }, Ir = /* @__PURE__ */ _("div")({
3314
+ xr.debug({ id: ie, type: t, ...l }), (s = window.top) == null || s.postMessage({ id: ie, type: t, ...l }, "*"), window.webkit && window.webkit.messageHandlers && window.webkit.messageHandlers[ie] && window.webkit.messageHandlers[ie].postMessage({ type: t, ...l }), (r = window.slBetPackCb) != null && r.postMessage && window.slBetPackCb.postMessage(JSON.stringify({ type: t, ...l, from: "base" }));
3315
+ }, Cr = (t) => {
3316
+ Tr(t.type, t.payload);
3317
+ }, Pr = /* @__PURE__ */ _("div")({
3331
3318
  name: "Container",
3332
3319
  class: "c1mj28sn",
3333
3320
  propsAsIs: !1
3334
- }), Lr = /* @__PURE__ */ _("button")({
3321
+ }), Mr = /* @__PURE__ */ _("button")({
3335
3322
  name: "CloseButton",
3336
3323
  class: "coc9f01",
3337
3324
  propsAsIs: !1
3338
- }), je = "b590k5k", Ar = () => te, pt = /* @__PURE__ */ _(Ar())({
3325
+ }), Fe = "b590k5k", kr = () => te, pt = /* @__PURE__ */ _(kr())({
3339
3326
  name: "IconArrowPrev",
3340
3327
  class: "i1tkem14",
3341
3328
  propsAsIs: !0
3342
- }), Or = () => pt, zr = /* @__PURE__ */ _(Or())({
3329
+ }), Ir = () => pt, Lr = /* @__PURE__ */ _(Ir())({
3343
3330
  name: "IconArrowNext",
3344
3331
  class: "i175qlj5",
3345
3332
  propsAsIs: !0
3346
- }), _r = /* @__PURE__ */ _("div")({
3333
+ }), Ar = /* @__PURE__ */ _("div")({
3347
3334
  name: "Header",
3348
3335
  class: "h1foi3kz",
3349
3336
  propsAsIs: !1
3350
- }), $r = /* @__PURE__ */ _("div")({
3337
+ }), Or = /* @__PURE__ */ _("div")({
3351
3338
  name: "HeaderTitle",
3352
3339
  class: "hc2d48a",
3353
3340
  propsAsIs: !1
3354
- }), Gr = /* @__PURE__ */ _("div")({
3341
+ }), zr = /* @__PURE__ */ _("div")({
3355
3342
  name: "Main",
3356
3343
  class: "mgfyjlp",
3357
3344
  propsAsIs: !1
3358
- }), Nr = /* @__PURE__ */ _("div")({
3345
+ }), _r = /* @__PURE__ */ _("div")({
3359
3346
  name: "Footer",
3360
3347
  class: "f1vakhu9",
3361
3348
  propsAsIs: !1
3362
- }), Ve = /* @__PURE__ */ _("button")({
3349
+ }), je = /* @__PURE__ */ _("button")({
3363
3350
  name: "SlideSwitchButton",
3364
3351
  class: "spp13y7",
3365
3352
  propsAsIs: !1
3366
- }), Rr = Ae(({ sdk: t, onEvent: e, close: s }, r) => {
3367
- const [n, i] = W(), [l, a] = W(), o = Le(
3353
+ }), jr = Ae(({ sdk: t, onEvent: e, close: s }, r) => {
3354
+ const [n, i] = W(), [l, a] = W(), o = Re(
3368
3355
  (c) => {
3369
3356
  if (c.type === "slBetPackReady") {
3370
3357
  const { next: d, prev: u, current: f, canNext: g, canPrev: h } = c.payload || {};
@@ -3386,41 +3373,41 @@ handle this request.`
3386
3373
  var c;
3387
3374
  const d = t.getFeature(qe.GAMES);
3388
3375
  d && ((c = d.betPack) == null || c.off());
3389
- }, [t]), /* @__PURE__ */ F(Ir, { ref: r, children: [
3390
- /* @__PURE__ */ F(_r, { children: [
3391
- /* @__PURE__ */ F($r, { children: [
3376
+ }, [t]), /* @__PURE__ */ F(Pr, { ref: r, children: [
3377
+ /* @__PURE__ */ F(Ar, { children: [
3378
+ /* @__PURE__ */ F(Or, { children: [
3392
3379
  /* @__PURE__ */ P(te, { name: "fgIcon" }),
3393
3380
  "Featured Groups+"
3394
3381
  ] }),
3395
- /* @__PURE__ */ P(Lr, { "data-a": "intr", onClick: s, children: /* @__PURE__ */ P(te, { name: "icon-close-btn-gray" }) })
3382
+ /* @__PURE__ */ P(Mr, { "data-a": "intr", onClick: s, children: /* @__PURE__ */ P(te, { name: "icon-close-btn-gray" }) })
3396
3383
  ] }),
3397
- /* @__PURE__ */ P(Gr, { children: /* @__PURE__ */ P(Dr, { sdk: t, onEvent: o, overlay: !0 }) }),
3398
- /* @__PURE__ */ F(Nr, { children: [
3399
- /* @__PURE__ */ P(Ve, { "data-a": "intr", onClick: n == null ? void 0 : n.prev, disabled: !(l != null && l.canPrev), children: /* @__PURE__ */ P(pt, { "data-a": "intr", name: "iconArrowPrev", className: Se((l == null ? void 0 : l.canPrev) && je) }) }),
3400
- /* @__PURE__ */ P(Ve, { "data-a": "intr", onClick: n == null ? void 0 : n.next, disabled: !(l != null && l.canNext), children: /* @__PURE__ */ P(zr, { "data-a": "intr", name: "iconArrowPrev", className: Se((l == null ? void 0 : l.canNext) && je) }) })
3384
+ /* @__PURE__ */ P(zr, { children: /* @__PURE__ */ P(Gr, { sdk: t, onEvent: o, overlay: !0 }) }),
3385
+ /* @__PURE__ */ F(_r, { children: [
3386
+ /* @__PURE__ */ P(je, { "data-a": "intr", onClick: n == null ? void 0 : n.prev, disabled: !(l != null && l.canPrev), children: /* @__PURE__ */ P(pt, { "data-a": "intr", name: "iconArrowPrev", className: Ee((l == null ? void 0 : l.canPrev) && Fe) }) }),
3387
+ /* @__PURE__ */ P(je, { "data-a": "intr", onClick: n == null ? void 0 : n.next, disabled: !(l != null && l.canNext), children: /* @__PURE__ */ P(Lr, { "data-a": "intr", name: "iconArrowPrev", className: Ee((l == null ? void 0 : l.canNext) && Fe) }) })
3401
3388
  ] })
3402
3389
  ] });
3403
- }), Br = ({ user: t, gamification: e, overlay: s, swipeable: r, onEvent: n }) => t.data ? e ? /* @__PURE__ */ P(Tr, { overlay: s, gamification: e, onEvent: n, swipeable: r }) : /* @__PURE__ */ P(Ie, {}) : t.error && !t.loading ? /* @__PURE__ */ P(
3404
- ke,
3390
+ }), $r = ({ user: t, gamification: e, overlay: s, swipeable: r, onEvent: n }) => t.data ? e ? /* @__PURE__ */ P(Sr, { overlay: s, gamification: e, onEvent: n, swipeable: r }) : /* @__PURE__ */ P(Le, {}) : t.error && !t.loading ? /* @__PURE__ */ P(
3391
+ Ie,
3405
3392
  {
3406
3393
  onEvent: n,
3407
3394
  actionFn: () => n({ type: "slHardRefresh" }),
3408
3395
  description: `You are not authorized to
3409
3396
  view this resource.`
3410
3397
  }
3411
- ) : /* @__PURE__ */ P(Ie, {}), Dr = yt(({ sdk: t, swipeable: e = !0, onEvent: s = kr, overlay: r }) => {
3412
- const n = _e(t.featuresList.getStore()), i = Re(() => t.getFeature(qe.GAMES), [n]), l = _e(t.getUserStore());
3398
+ ) : /* @__PURE__ */ P(Le, {}), Gr = bt(({ sdk: t, swipeable: e = !0, onEvent: s = Cr, overlay: r }) => {
3399
+ const n = Se(t.featuresList.getStore()), i = He(() => t.getFeature(qe.GAMES), [n]), l = Se(t.getUserStore());
3413
3400
  return X(() => (t.writeOverlaySessionId(), () => {
3414
3401
  t.writeOverlaySessionId("");
3415
3402
  }), []), /* @__PURE__ */ P(
3416
- Cr,
3403
+ Er,
3417
3404
  {
3418
- className: Se("SL-BetPack", r && "SL-BetPack--overlay", !r && "SL-BetPack--standalone"),
3419
- children: /* @__PURE__ */ P(Br, { overlay: r, user: l, gamification: i, onEvent: s, swipeable: e })
3405
+ className: Ee("SL-BetPack", r && "SL-BetPack--overlay", !r && "SL-BetPack--standalone"),
3406
+ children: /* @__PURE__ */ P($r, { overlay: r, user: l, gamification: i, onEvent: s, swipeable: e })
3420
3407
  }
3421
3408
  );
3422
3409
  });
3423
3410
  export {
3424
- Dr as Q,
3425
- Rr as n
3411
+ Gr as Q,
3412
+ jr as n
3426
3413
  };