@streamlayer/react 1.24.7 → 1.24.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -52,7 +52,6 @@ require('core-js/modules/web.url-search-params.js');
52
52
  require('core-js/modules/web.url-search-params.delete.js');
53
53
  require('core-js/modules/web.url-search-params.has.js');
54
54
  require('core-js/modules/web.url-search-params.size.js');
55
- require('@storybook/blocks');
56
55
  require('core-js/modules/es.array.find-index.js');
57
56
  require('core-js/modules/es.array.reduce.js');
58
57
  require('core-js/modules/es.object.entries.js');
@@ -722,7 +721,7 @@ function M$2(e, t, n) {
722
721
  r.has(c) && n(o, a, c);
723
722
  });
724
723
  }
725
- var B$2 = function B() {
724
+ var B$3 = function B() {
726
725
  var t = Array.prototype.slice.call(arguments).filter(Boolean),
727
726
  n = {},
728
727
  r = [];
@@ -740,7 +739,7 @@ var B$2 = function B() {
740
739
  for (var a in n) Object.prototype.hasOwnProperty.call(n, a) && o.push(n[a]);
741
740
  return o.push.apply(o, r), o.join(" ");
742
741
  },
743
- T$1 = B$2;
742
+ T$1 = B$3;
744
743
  function D$4(e) {
745
744
  var t = /* @__PURE__ */Object.create(null);
746
745
  return function (n) {
@@ -983,10 +982,10 @@ var P$5;
983
982
  e.ORGANIZATION = "ORGANIZATION", e.STREAM = "STREAM";
984
983
  })(P$5 || (P$5 = {}));
985
984
  be$2.BETTING + "", be$2.GAMES + "", be$2.PUBLIC_CHAT + "", be$2.TWITTER + "";
986
- var L$5;
985
+ var L$4;
987
986
  (function (e) {
988
987
  e.Ready = "ready", e.Suspended = "suspended";
989
- })(L$5 || (L$5 = {}));
988
+ })(L$4 || (L$4 = {}));
990
989
 
991
990
  var r = "ttkj0ah";
992
991
 
@@ -1119,7 +1118,7 @@ var a = function a(C) {
1119
1118
  fill: "white"
1120
1119
  }));
1121
1120
  },
1122
- L$4 = function L(C) {
1121
+ L$3 = function L(C) {
1123
1122
  return /* @__PURE__ */e__namespace.createElement("svg", _objectSpread2({
1124
1123
  width: 48,
1125
1124
  height: 48,
@@ -1360,7 +1359,7 @@ var a = function a(C) {
1360
1359
  strokeLinecap: "round"
1361
1360
  }));
1362
1361
  },
1363
- y = function y(C) {
1362
+ y$1 = function y(C) {
1364
1363
  return /* @__PURE__ */e__namespace.createElement("svg", _objectSpread2({
1365
1364
  width: 10,
1366
1365
  height: 10,
@@ -1448,7 +1447,7 @@ var a = function a(C) {
1448
1447
  fill: "#107D57"
1449
1448
  }));
1450
1449
  },
1451
- B$1 = function B(C) {
1450
+ B$2 = function B(C) {
1452
1451
  return /* @__PURE__ */e__namespace.createElement("svg", _objectSpread2({
1453
1452
  width: 35,
1454
1453
  height: 35,
@@ -1484,7 +1483,7 @@ var a = function a(C) {
1484
1483
  fill: "white"
1485
1484
  }))));
1486
1485
  },
1487
- O$3 = function O(C) {
1486
+ O$2 = function O(C) {
1488
1487
  return /* @__PURE__ */e__namespace.createElement("svg", _objectSpread2({
1489
1488
  width: 12,
1490
1489
  height: 13,
@@ -2766,7 +2765,7 @@ var a = function a(C) {
2766
2765
  "icon-copy": k$2,
2767
2766
  "icon-cross": w$1,
2768
2767
  "icon-close": x$1,
2769
- "icon-close-btn-white": y,
2768
+ "icon-close-btn-white": y$1,
2770
2769
  "icon-close-btn-gray": Z$2,
2771
2770
  "icon-circle-arrow-right": M$1,
2772
2771
  "icon-chevron": H$4,
@@ -2776,7 +2775,7 @@ var a = function a(C) {
2776
2775
  "icon-check-white": v$1,
2777
2776
  "icon-check-green": g,
2778
2777
  "icon-check-circle": m,
2779
- "icon-correct": L$4,
2778
+ "icon-correct": L$3,
2780
2779
  "icon-btn-channels": n1,
2781
2780
  "icon-btn-feature-groups": o1,
2782
2781
  "icon-btn-leaderboard": r1,
@@ -2784,7 +2783,7 @@ var a = function a(C) {
2784
2783
  "icon-twitter-verified": Q,
2785
2784
  "icon-trophy-bet-pack": J$3,
2786
2785
  "icon-trivia-transparent": q$2,
2787
- dashboard: B$1,
2786
+ dashboard: B$2,
2788
2787
  iconMute: S$2,
2789
2788
  iconUnMute: X$2,
2790
2789
  correct: c1,
@@ -2803,13 +2802,13 @@ var a = function a(C) {
2803
2802
  chevronRight: h$2,
2804
2803
  noImageIcon: a1,
2805
2804
  iconArrowRight: f$1,
2806
- iconEarlyPrediction: O$3,
2805
+ iconEarlyPrediction: O$2,
2807
2806
  iconArrowPrev: p,
2808
2807
  mastersLogoWhite: i1,
2809
2808
  loader: t1,
2810
2809
  fgIcon: s
2811
2810
  },
2812
- H1 = function H1(_ref) {
2811
+ E1 = function E1(_ref) {
2813
2812
  var C = _ref.name,
2814
2813
  i = _ref.style,
2815
2814
  n = _ref.className,
@@ -6269,7 +6268,7 @@ function Te$2(t, e) {
6269
6268
  };
6270
6269
  }
6271
6270
  var U$1 = (typeof window === "undefined" ? "undefined" : _typeof(window)) > "u" ? e$1.useEffect : e$1.useLayoutEffect,
6272
- j$3 = function j(_ref6) {
6271
+ H$3 = function H(_ref6) {
6273
6272
  var t = _ref6.isPlaying,
6274
6273
  e = _ref6.duration,
6275
6274
  _ref6$startAt = _ref6.startAt,
@@ -6297,10 +6296,10 @@ var U$1 = (typeof window === "undefined" ? "undefined" : _typeof(window)) > "u"
6297
6296
  var F = u - o.current,
6298
6297
  C = T.current + F;
6299
6298
  o.current = u, T.current = C;
6300
- var O = R.current + (n === 0 ? C : (C / n | 0) * n),
6299
+ var B = R.current + (n === 0 ? C : (C / n | 0) * n),
6301
6300
  D = R.current + C,
6302
6301
  g = typeof e == "number" && D >= e;
6303
- l(g ? e : O), g || (_.current = requestAnimationFrame(_m));
6302
+ l(g ? e : B), g || (_.current = requestAnimationFrame(_m));
6304
6303
  },
6305
6304
  I = function I() {
6306
6305
  _.current && cancelAnimationFrame(_.current), c.current && clearTimeout(c.current), o.current = null;
@@ -6330,7 +6329,7 @@ var U$1 = (typeof window === "undefined" ? "undefined" : _typeof(window)) > "u"
6330
6329
  reset: N
6331
6330
  };
6332
6331
  },
6333
- z$2 = function z(t, e, i) {
6332
+ j$3 = function j(t, e, i) {
6334
6333
  var n = t / 2,
6335
6334
  r = e / 2,
6336
6335
  a = n - r,
@@ -6345,7 +6344,7 @@ var U$1 = (typeof window === "undefined" ? "undefined" : _typeof(window)) > "u"
6345
6344
  G$2 = function G(t, e) {
6346
6345
  return t === 0 || t === e ? 0 : typeof e == "number" ? t - e : 0;
6347
6346
  },
6348
- H$3 = function H(t) {
6347
+ z$2 = function z(t) {
6349
6348
  return {
6350
6349
  position: "relative",
6351
6350
  width: t,
@@ -6415,10 +6414,10 @@ var U$1 = (typeof window === "undefined" ? "undefined" : _typeof(window)) > "u"
6415
6414
  _ = t.onUpdate,
6416
6415
  o = e$1.useRef(),
6417
6416
  c = Math.max(a, E !== null && E !== void 0 ? E : 0),
6418
- _z = z$2(r, c, R),
6419
- m = _z.path,
6420
- I = _z.pathLength,
6421
- _j = j$3({
6417
+ _j = j$3(r, c, R),
6418
+ m = _j.path,
6419
+ I = _j.pathLength,
6420
+ _H = H$3({
6422
6421
  isPlaying: l,
6423
6422
  duration: e,
6424
6423
  startAt: G$2(e, i),
@@ -6431,16 +6430,16 @@ var U$1 = (typeof window === "undefined" ? "undefined" : _typeof(window)) > "u"
6431
6430
  var F;
6432
6431
  var _ref8 = (F = s(u)) != null ? F : {},
6433
6432
  C = _ref8.shouldRepeat,
6434
- O = _ref8.delay,
6433
+ B = _ref8.delay,
6435
6434
  D = _ref8.newInitialRemainingTime;
6436
6435
  if (C) return {
6437
6436
  shouldRepeat: C,
6438
- delay: O,
6437
+ delay: B,
6439
6438
  newStartAt: G$2(e, D)
6440
6439
  };
6441
6440
  } : void 0
6442
6441
  }),
6443
- N = _j.elapsedTime,
6442
+ N = _H.elapsedTime,
6444
6443
  f = e - N;
6445
6444
  return {
6446
6445
  elapsedTime: N,
@@ -6469,7 +6468,7 @@ var U$1 = (typeof window === "undefined" ? "undefined" : _typeof(window)) > "u"
6469
6468
  _ = _Z.size,
6470
6469
  o = _Z.strokeWidth;
6471
6470
  return e__namespace.default.createElement("div", {
6472
- style: H$3(_)
6471
+ style: z$2(_)
6473
6472
  }, e__namespace.default.createElement("svg", {
6474
6473
  viewBox: "0 0 ".concat(_, " ").concat(_),
6475
6474
  width: _,
@@ -6536,7 +6535,7 @@ var re$1 = /* @__PURE__ */ne$1("div")({
6536
6535
  height: t,
6537
6536
  width: e
6538
6537
  },
6539
- children: /* @__PURE__ */jsxRuntime.jsx(H1, {
6538
+ children: /* @__PURE__ */jsxRuntime.jsx(E1, {
6540
6539
  name: "loader"
6541
6540
  })
6542
6541
  });
@@ -6553,7 +6552,7 @@ var me$1 = /* @__PURE__ */ne$1("div")({
6553
6552
  propsAsIs: false
6554
6553
  }),
6555
6554
  ye$1 = function ye() {
6556
- return H1;
6555
+ return E1;
6557
6556
  },
6558
6557
  ge$1 = /* @__PURE__ */ne$1(ye$1())({
6559
6558
  name: "Icon",
@@ -6618,7 +6617,7 @@ var me$1 = /* @__PURE__ */ne$1("div")({
6618
6617
  class: "p12ow7zo",
6619
6618
  propsAsIs: false
6620
6619
  }),
6621
- R$1 = /* @__PURE__ */ne$1("div")({
6620
+ H$2 = /* @__PURE__ */ne$1("div")({
6622
6621
  name: "Control",
6623
6622
  class: "cdpal9o",
6624
6623
  propsAsIs: false
@@ -6667,13 +6666,13 @@ var me$1 = /* @__PURE__ */ne$1("div")({
6667
6666
  Ee$1 = function Ee() {
6668
6667
  return Y$1;
6669
6668
  },
6670
- L$3 = /* @__PURE__ */ne$1(Ee$1())({
6669
+ B$1 = /* @__PURE__ */ne$1(Ee$1())({
6671
6670
  name: "WebOSIconButtonAnimation",
6672
6671
  class: "wdlqvum",
6673
6672
  propsAsIs: true
6674
6673
  }),
6675
6674
  Ne$1 = function Ne() {
6676
- return L$3;
6675
+ return B$1;
6677
6676
  },
6678
6677
  Oe$1 = /* @__PURE__ */ne$1(Ne$1())({
6679
6678
  name: "WebOSIconButtonPlay",
@@ -6681,30 +6680,30 @@ var me$1 = /* @__PURE__ */ne$1("div")({
6681
6680
  propsAsIs: true
6682
6681
  }),
6683
6682
  Se$2 = function Se() {
6684
- return L$3;
6683
+ return B$1;
6685
6684
  },
6686
6685
  We$1 = /* @__PURE__ */ne$1(Se$2())({
6687
6686
  name: "WebOSIconButtonPause",
6688
6687
  class: "w1iylt55",
6689
6688
  propsAsIs: true
6690
6689
  }),
6691
- Be$1 = function Be() {
6692
- return L$3;
6690
+ Re$1 = function Re() {
6691
+ return B$1;
6693
6692
  },
6694
- Re$1 = /* @__PURE__ */ne$1(Be$1())({
6693
+ He$1 = /* @__PURE__ */ne$1(Re$1())({
6695
6694
  name: "WebOSIconButtonMute",
6696
6695
  class: "w8h4h7",
6697
6696
  propsAsIs: true
6698
6697
  }),
6699
6698
  Te$1 = function Te() {
6700
- return L$3;
6699
+ return B$1;
6701
6700
  },
6702
- Le$1 = /* @__PURE__ */ne$1(Te$1())({
6701
+ Be$1 = /* @__PURE__ */ne$1(Te$1())({
6703
6702
  name: "WebOSIconButtonUnmute",
6704
6703
  class: "w12l12kt",
6705
6704
  propsAsIs: true
6706
6705
  }),
6707
- Ue$1 = function Ue(t) {
6706
+ Le$1 = function Le(t) {
6708
6707
  var _iterator = _createForOfIteratorHelper(t),
6709
6708
  _step;
6710
6709
  try {
@@ -6718,17 +6717,17 @@ var me$1 = /* @__PURE__ */ne$1("div")({
6718
6717
  _iterator.f();
6719
6718
  }
6720
6719
  },
6721
- ee$1 = new IntersectionObserver(Ue$1, {
6720
+ ee$1 = new IntersectionObserver(Le$1, {
6722
6721
  threshold: 0.5
6723
6722
  }),
6724
6723
  F$2 = /* @__PURE__ */new Set(),
6725
- je$1 = function je(t) {
6724
+ Ue$1 = function Ue(t) {
6726
6725
  ee$1.observe(t), F$2.add(t);
6727
6726
  },
6728
- ze$1 = function ze(t) {
6727
+ je$1 = function je(t) {
6729
6728
  ee$1.unobserve(t), F$2.delete(t);
6730
6729
  },
6731
- He$1 = function He() {
6730
+ ze$1 = function ze() {
6732
6731
  var _iterator2 = _createForOfIteratorHelper(F$2),
6733
6732
  _step2;
6734
6733
  try {
@@ -6767,10 +6766,10 @@ var $e$1 = Te$2(he$2),
6767
6766
  c = _ref2.unmute,
6768
6767
  d = _ref2.mute,
6769
6768
  p = _ref2.togglePlaying;
6770
- return !t && !a && !o ? /* @__PURE__ */jsxRuntime.jsx(R$1, {
6771
- children: l ? /* @__PURE__ */jsxRuntime.jsx(H1, {
6769
+ return !t && !a && !o ? /* @__PURE__ */jsxRuntime.jsx(H$2, {
6770
+ children: l ? /* @__PURE__ */jsxRuntime.jsx(E1, {
6772
6771
  name: "icon-pause"
6773
- }) : /* @__PURE__ */jsxRuntime.jsx(H1, {
6772
+ }) : /* @__PURE__ */jsxRuntime.jsx(E1, {
6774
6773
  name: "icon-play"
6775
6774
  })
6776
6775
  }) : o ? /* @__PURE__ */jsxRuntime.jsxs(ve$1, {
@@ -6796,31 +6795,31 @@ var $e$1 = Te$2(he$2),
6796
6795
  y = _ref3.hasNotPausedVideo,
6797
6796
  C = _ref3.hasInteractedWithAudio;
6798
6797
  return /* @__PURE__ */jsxRuntime.jsxs(jsxRuntime.Fragment, {
6799
- children: [!t && !(a && o) && /* @__PURE__ */jsxRuntime.jsx(R$1, {
6798
+ children: [!t && !(a && o) && /* @__PURE__ */jsxRuntime.jsx(H$2, {
6800
6799
  "data-control-btn": "true",
6801
6800
  children: l ? y ? null : /* @__PURE__ */jsxRuntime.jsx(Oe$1, {
6802
- children: /* @__PURE__ */jsxRuntime.jsx(H1, {
6801
+ children: /* @__PURE__ */jsxRuntime.jsx(E1, {
6803
6802
  name: "icon-play"
6804
6803
  })
6805
6804
  }) : i ? /* @__PURE__ */jsxRuntime.jsx(We$1, {
6806
- children: /* @__PURE__ */jsxRuntime.jsx(H1, {
6805
+ children: /* @__PURE__ */jsxRuntime.jsx(E1, {
6807
6806
  name: "icon-pause"
6808
6807
  })
6809
6808
  }) : /* @__PURE__ */jsxRuntime.jsx(Y$1, {
6810
6809
  "data-control-icon": "true",
6811
- children: /* @__PURE__ */jsxRuntime.jsx(H1, {
6810
+ children: /* @__PURE__ */jsxRuntime.jsx(E1, {
6812
6811
  name: "icon-play"
6813
6812
  })
6814
6813
  })
6815
- }), !t && a && o && C && /* @__PURE__ */jsxRuntime.jsx(R$1, {
6816
- children: p ? /* @__PURE__ */jsxRuntime.jsx(Re$1, {
6814
+ }), !t && a && o && C && /* @__PURE__ */jsxRuntime.jsx(H$2, {
6815
+ children: p ? /* @__PURE__ */jsxRuntime.jsx(He$1, {
6817
6816
  onClick: c,
6818
- children: /* @__PURE__ */jsxRuntime.jsx(H1, {
6817
+ children: /* @__PURE__ */jsxRuntime.jsx(E1, {
6819
6818
  name: "iconMute"
6820
6819
  })
6821
- }) : /* @__PURE__ */jsxRuntime.jsx(Le$1, {
6820
+ }) : /* @__PURE__ */jsxRuntime.jsx(Be$1, {
6822
6821
  onClick: d,
6823
- children: /* @__PURE__ */jsxRuntime.jsx(H1, {
6822
+ children: /* @__PURE__ */jsxRuntime.jsx(E1, {
6824
6823
  name: "iconUnMute"
6825
6824
  })
6826
6825
  })
@@ -6839,7 +6838,7 @@ var $e$1 = Te$2(he$2),
6839
6838
  y = _ref4.onRender,
6840
6839
  C = _ref4.onMute,
6841
6840
  x = _ref4.onMuteClick,
6842
- U = _ref4.onQuartile,
6841
+ L = _ref4.onQuartile,
6843
6842
  M = _ref4.autoPlay,
6844
6843
  k = _ref4.playMuted,
6845
6844
  te = _ref4.className,
@@ -6848,8 +6847,8 @@ var $e$1 = Te$2(he$2),
6848
6847
  ae = _ref4.hasNotPausedVideo;
6849
6848
  var u = e$1.useRef(null),
6850
6849
  ne = qe$1(u, se),
6850
+ U = e$1.useRef(false),
6851
6851
  j = e$1.useRef(false),
6852
- z = e$1.useRef(false),
6853
6852
  m = e$1.useRef(/* @__PURE__ */new Set()),
6854
6853
  _I3 = e$1.useState(false),
6855
6854
  _I4 = _slicedToArray(_I3, 2),
@@ -6861,7 +6860,7 @@ var $e$1 = Te$2(he$2),
6861
6860
  O = _I6[1],
6862
6861
  _I7 = e$1.useState(false),
6863
6862
  _I8 = _slicedToArray(_I7, 2),
6864
- H = _I8[0],
6863
+ z = _I8[0],
6865
6864
  _ = _I8[1],
6866
6865
  _I9 = e$1.useState(true),
6867
6866
  _I0 = _slicedToArray(_I9, 2),
@@ -6904,7 +6903,7 @@ var $e$1 = Te$2(he$2),
6904
6903
  if (r) if (N) r.pause();else {
6905
6904
  var g = u === null || u === void 0 ? void 0 : u.current;
6906
6905
  if (!g) return;
6907
- He$1(), g.play().catch(function (h) {
6906
+ ze$1(), g.play().catch(function (h) {
6908
6907
  return console.log(h);
6909
6908
  }), S(false);
6910
6909
  }
@@ -6919,13 +6918,13 @@ var $e$1 = Te$2(he$2),
6919
6918
  };
6920
6919
  }, [P]), e$1.useEffect(function () {
6921
6920
  var s = u.current;
6922
- return s ? (z.current = s.muted, W(s.muted), je$1(s), function () {
6923
- ze$1(s);
6921
+ return s ? (j.current = s.muted, W(s.muted), Ue$1(s), function () {
6922
+ je$1(s);
6924
6923
  }) : function () {};
6925
6924
  }, []), e$1.useEffect(function () {
6926
6925
  y === null || y === void 0 || y();
6927
6926
  }, [y]), e$1.useEffect(function () {
6928
- m.current.clear(), j.current = false;
6927
+ m.current.clear(), U.current = false;
6929
6928
  }, [a]), /* @__PURE__ */jsxRuntime.jsxs($e$1, {
6930
6929
  webos: E,
6931
6930
  onClick: M && k ? q ? V : A : X,
@@ -6943,19 +6942,19 @@ var $e$1 = Te$2(he$2),
6943
6942
  src: a,
6944
6943
  autoPlay: M,
6945
6944
  onPlay: function onPlay() {
6946
- K(true), j.current && (i !== null && i !== void 0 && i(), m.current.clear()), O(true), S(false), c !== null && c !== void 0 && c(), k ? A() : Q();
6945
+ K(true), U.current && (i !== null && i !== void 0 && i(), m.current.clear()), O(true), S(false), c !== null && c !== void 0 && c(), k ? A() : Q();
6947
6946
  },
6948
6947
  onTimeUpdate: function onTimeUpdate(s) {
6949
6948
  var r = s.target.duration,
6950
6949
  g = s.target.currentTime;
6951
6950
  if (r && g) {
6952
6951
  var h = Math.floor(g / r * 100);
6953
- h >= 25 && h < 50 && !m.current.has(25) ? (U !== null && U !== void 0 && U(25), m.current.add(25)) : h >= 50 && h < 75 && !m.current.has(50) ? (U !== null && U !== void 0 && U(50), m.current.add(50)) : h >= 75 && !m.current.has(75) && (U !== null && U !== void 0 && U(75), m.current.add(75));
6952
+ h >= 25 && h < 50 && !m.current.has(25) ? (L !== null && L !== void 0 && L(25), m.current.add(25)) : h >= 50 && h < 75 && !m.current.has(50) ? (L !== null && L !== void 0 && L(50), m.current.add(50)) : h >= 75 && !m.current.has(75) && (L !== null && L !== void 0 && L(75), m.current.add(75));
6954
6953
  }
6955
6954
  },
6956
6955
  onVolumeChange: function onVolumeChange(s) {
6957
6956
  var r = s.target.muted;
6958
- z.current !== r && (C !== null && C !== void 0 && C(r), z.current = r, (r !== w || w === void 0) && (r ? P() : Q()));
6957
+ j.current !== r && (C !== null && C !== void 0 && C(r), j.current = r, (r !== w || w === void 0) && (r ? P() : Q()));
6959
6958
  },
6960
6959
  onError: function () {
6961
6960
  var _onError = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee(s) {
@@ -7003,7 +7002,7 @@ var $e$1 = Te$2(he$2),
7003
7002
  O(false), d !== null && d !== void 0 && d(), P();
7004
7003
  },
7005
7004
  onEnded: function onEnded() {
7006
- O(false), j.current = true, re(), p !== null && p !== void 0 && p(), P();
7005
+ O(false), U.current = true, re(), p !== null && p !== void 0 && p(), P();
7007
7006
  },
7008
7007
  style: {
7009
7008
  visibility: J ? "hidden" : "visible"
@@ -7016,7 +7015,7 @@ var $e$1 = Te$2(he$2),
7016
7015
  visibility: J ? "visible" : "hidden"
7017
7016
  }
7018
7017
  }), !E && /* @__PURE__ */jsxRuntime.jsx(De$1, {
7019
- loading: H,
7018
+ loading: z,
7020
7019
  autoPlay: M,
7021
7020
  played: G,
7022
7021
  playing: N,
@@ -7025,7 +7024,7 @@ var $e$1 = Te$2(he$2),
7025
7024
  mute: A,
7026
7025
  togglePlaying: X
7027
7026
  }), E && /* @__PURE__ */jsxRuntime.jsx(Fe$1, {
7028
- loading: H,
7027
+ loading: z,
7029
7028
  autoPlay: M,
7030
7029
  playMuted: k,
7031
7030
  playing: N,
@@ -7035,7 +7034,7 @@ var $e$1 = Te$2(he$2),
7035
7034
  isMuted: q,
7036
7035
  hasNotPausedVideo: ae,
7037
7036
  hasInteractedWithAudio: $
7038
- }), H && /* @__PURE__ */jsxRuntime.jsx(R$1, {
7037
+ }), z && /* @__PURE__ */jsxRuntime.jsx(H$2, {
7039
7038
  children: /* @__PURE__ */jsxRuntime.jsx(ue$1, {})
7040
7039
  })]
7041
7040
  });
@@ -7061,7 +7060,7 @@ var G$1 = _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defin
7061
7060
  iconName: "icon-prediction"
7062
7061
  }),
7063
7062
  J$1 = _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, ee$2.TWEET, "Learn more"), ee$2.FACTOID, "Learn more"), ee$2.POLL, "Answer"), ee$2.TRIVIA, "Answer"), ee$2.PREDICTION, "Answer"), ee$2.PROMOTION, ""), ee$2.UNSET, ""),
7064
- L$2 = function L(r) {
7063
+ y = function y(r) {
7065
7064
  var n = new Date(r);
7066
7065
  if (!n) return "";
7067
7066
  var c = /* @__PURE__ */new Date(),
@@ -7075,12 +7074,12 @@ var G$1 = _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defin
7075
7074
  year: "2-digit"
7076
7075
  }));
7077
7076
  },
7078
- D$1 = /* @__PURE__ */ne$1("div")({
7077
+ L$2 = /* @__PURE__ */ne$1("div")({
7079
7078
  name: "Container",
7080
7079
  class: "cjq447q",
7081
7080
  propsAsIs: false
7082
7081
  }),
7083
- H$2 = /* @__PURE__ */ne$1("div")({
7082
+ D$1 = /* @__PURE__ */ne$1("div")({
7084
7083
  name: "ImageContainer",
7085
7084
  class: "i14egogb",
7086
7085
  propsAsIs: false
@@ -7090,10 +7089,10 @@ var G$1 = _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defin
7090
7089
  class: "i2g9g4l",
7091
7090
  propsAsIs: false
7092
7091
  }),
7093
- O$2 = function O() {
7094
- return H1;
7092
+ O$1 = function O() {
7093
+ return E1;
7095
7094
  },
7096
- E$2 = /* @__PURE__ */ne$1(O$2())({
7095
+ E$2 = /* @__PURE__ */ne$1(O$1())({
7097
7096
  name: "TwitterIcon",
7098
7097
  class: "t1c454nm",
7099
7098
  propsAsIs: true
@@ -7119,9 +7118,9 @@ var G$1 = _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defin
7119
7118
  c = _ref.userName,
7120
7119
  o = _ref.verified,
7121
7120
  p = _ref.createdTweet;
7122
- var m = p && L$2(p);
7123
- return /* @__PURE__ */jsxRuntime.jsxs(D$1, {
7124
- children: [r && /* @__PURE__ */jsxRuntime.jsxs(H$2, {
7121
+ var m = p && y(p);
7122
+ return /* @__PURE__ */jsxRuntime.jsxs(L$2, {
7123
+ children: [r && /* @__PURE__ */jsxRuntime.jsxs(D$1, {
7125
7124
  children: [/* @__PURE__ */jsxRuntime.jsx(S$1, {
7126
7125
  className: "SL_AccountImage",
7127
7126
  src: r
@@ -7131,7 +7130,7 @@ var G$1 = _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defin
7131
7130
  }), /* @__PURE__ */jsxRuntime.jsxs(b$1, {
7132
7131
  children: [n && /* @__PURE__ */jsxRuntime.jsxs(x, {
7133
7132
  className: "SL_TweetAccountName",
7134
- children: [n, " ", o && /* @__PURE__ */jsxRuntime.jsx(H1, {
7133
+ children: [n, " ", o && /* @__PURE__ */jsxRuntime.jsx(E1, {
7135
7134
  name: "icon-twitter-verified"
7136
7135
  })]
7137
7136
  }), c && /* @__PURE__ */jsxRuntime.jsxs(C, {
@@ -7146,7 +7145,7 @@ var G$1 = _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defin
7146
7145
  class: "c1kzqw87",
7147
7146
  propsAsIs: false
7148
7147
  }),
7149
- R = /* @__PURE__ */ne$1("div")({
7148
+ R$1 = /* @__PURE__ */ne$1("div")({
7150
7149
  name: "Details",
7151
7150
  class: "d9r1hf9",
7152
7151
  propsAsIs: false
@@ -7216,7 +7215,7 @@ var G$1 = _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defin
7216
7215
  /* VIDEO */)) === null || _e$ === void 0 ? void 0 : _e$.url;
7217
7216
  }, [e]);
7218
7217
  return /* @__PURE__ */jsxRuntime.jsxs(M, {
7219
- children: [/* @__PURE__ */jsxRuntime.jsxs(R, {
7218
+ children: [/* @__PURE__ */jsxRuntime.jsxs(R$1, {
7220
7219
  children: [/* @__PURE__ */jsxRuntime.jsx(P$2, {
7221
7220
  image: r,
7222
7221
  name: m === null || m === void 0 || (_m$meta2 = m.meta) === null || _m$meta2 === void 0 ? void 0 : _m$meta2.accountName,
@@ -7281,7 +7280,7 @@ var S = /* @__PURE__ */ne$1("div")({
7281
7280
  propsAsIs: false
7282
7281
  }),
7283
7282
  L$1 = function L() {
7284
- return H1;
7283
+ return E1;
7285
7284
  },
7286
7285
  i = /* @__PURE__ */ne$1(L$1())({
7287
7286
  name: "QuestionActionIcon",
@@ -7297,7 +7296,7 @@ var S = /* @__PURE__ */ne$1("div")({
7297
7296
  propsAsIs: true
7298
7297
  }),
7299
7298
  N = function N() {
7300
- return H1;
7299
+ return E1;
7301
7300
  },
7302
7301
  P$1 = /* @__PURE__ */ne$1(N())({
7303
7302
  name: "QuestionTypeIcon",
@@ -7318,7 +7317,7 @@ var S = /* @__PURE__ */ne$1("div")({
7318
7317
  })), Rn$2.DNP, /* @__PURE__ */jsxRuntime.jsx(i, {
7319
7318
  name: "icon-arrow"
7320
7319
  }));
7321
- var O$1 = function O(_ref) {
7320
+ var R = function R(_ref) {
7322
7321
  var t = _ref.questionTypeData,
7323
7322
  a = _ref.questionType,
7324
7323
  r = _ref.questionStatus;
@@ -7926,7 +7925,7 @@ var w = /* @__PURE__ */ne$1("div")({
7926
7925
  src: n,
7927
7926
  alt: ""
7928
7927
  }), i && /* @__PURE__ */jsxRuntime.jsx(Bs, {
7929
- children: /* @__PURE__ */jsxRuntime.jsx(H1, {
7928
+ children: /* @__PURE__ */jsxRuntime.jsx(E1, {
7930
7929
  name: "icon-play"
7931
7930
  })
7932
7931
  })]
@@ -7942,7 +7941,7 @@ var w = /* @__PURE__ */ne$1("div")({
7942
7941
  class: "ns1nzpg",
7943
7942
  propsAsIs: false
7944
7943
  }),
7945
- X = /* @__PURE__ */ne$1("div")({
7944
+ H = /* @__PURE__ */ne$1("div")({
7946
7945
  name: "Body",
7947
7946
  class: "b1j59nzs",
7948
7947
  propsAsIs: false
@@ -7958,7 +7957,7 @@ var w = /* @__PURE__ */ne$1("div")({
7958
7957
  propsAsIs: false
7959
7958
  }),
7960
7959
  Ys = function Ys() {
7961
- return H1;
7960
+ return E1;
7962
7961
  },
7963
7962
  _s = /* @__PURE__ */ne$1(Ys())({
7964
7963
  name: "StyledChevronRight",
@@ -7985,7 +7984,7 @@ var w = /* @__PURE__ */ne$1("div")({
7985
7984
  class: "ccvukea",
7986
7985
  propsAsIs: false
7987
7986
  }),
7988
- Xs = function Xs(_ref2) {
7987
+ Hs = function Hs(_ref2) {
7989
7988
  var _o$meta;
7990
7989
  var n = _ref2.image,
7991
7990
  o = _ref2.tweet,
@@ -8009,12 +8008,12 @@ var w = /* @__PURE__ */ne$1("div")({
8009
8008
  })]
8010
8009
  });
8011
8010
  },
8012
- Zs = function Zs(_ref3) {
8011
+ Xs = function Xs(_ref3) {
8013
8012
  var n = _ref3.title,
8014
8013
  o = _ref3.questionType,
8015
8014
  i = _ref3.questionTypeData;
8016
- return /* @__PURE__ */jsxRuntime.jsxs(X, {
8017
- children: [/* @__PURE__ */jsxRuntime.jsx(O$1, {
8015
+ return /* @__PURE__ */jsxRuntime.jsxs(H, {
8016
+ children: [/* @__PURE__ */jsxRuntime.jsx(R, {
8018
8017
  questionTypeData: i,
8019
8018
  questionType: o,
8020
8019
  questionStatus: Ne$3.UNSET
@@ -8023,10 +8022,10 @@ var w = /* @__PURE__ */ne$1("div")({
8023
8022
  })]
8024
8023
  });
8025
8024
  },
8026
- Hs = function Hs(_ref4) {
8025
+ Zs = function Zs(_ref4) {
8027
8026
  var n = _ref4.tweet;
8028
- return n ? /* @__PURE__ */jsxRuntime.jsx(X, {
8029
- children: /* @__PURE__ */jsxRuntime.jsx(Xs, _objectSpread2(_objectSpread2({}, n), {}, {
8027
+ return n ? /* @__PURE__ */jsxRuntime.jsx(H, {
8028
+ children: /* @__PURE__ */jsxRuntime.jsx(Hs, _objectSpread2(_objectSpread2({}, n), {}, {
8030
8029
  controlVideo: function controlVideo() {}
8031
8030
  }))
8032
8031
  }) : null;
@@ -8065,9 +8064,9 @@ var w = /* @__PURE__ */ne$1("div")({
8065
8064
  src: g,
8066
8065
  fromInsight: true,
8067
8066
  withVideo: !!b
8068
- }), o === ee$2.TWEET ? /* @__PURE__ */jsxRuntime.jsx(Hs, {
8067
+ }), o === ee$2.TWEET ? /* @__PURE__ */jsxRuntime.jsx(Zs, {
8069
8068
  tweet: r
8070
- }) : /* @__PURE__ */jsxRuntime.jsx(Zs, {
8069
+ }) : /* @__PURE__ */jsxRuntime.jsx(Xs, {
8071
8070
  questionTypeData: t,
8072
8071
  questionType: o,
8073
8072
  title: c
@@ -8192,7 +8191,7 @@ var w = /* @__PURE__ */ne$1("div")({
8192
8191
  return n ? "0px" : "1rem";
8193
8192
  };
8194
8193
  },
8195
- Z = /* @__PURE__ */ne$1("div")({
8194
+ X = /* @__PURE__ */ne$1("div")({
8196
8195
  name: "NotificationContent",
8197
8196
  class: "n1p3bk1c",
8198
8197
  propsAsIs: false,
@@ -8206,14 +8205,14 @@ var w = /* @__PURE__ */ne$1("div")({
8206
8205
  propsAsIs: false
8207
8206
  }),
8208
8207
  $e = function $e() {
8209
- return H1;
8208
+ return E1;
8210
8209
  },
8211
8210
  ve = /* @__PURE__ */ne$1($e())({
8212
8211
  name: "StyledChevronRight",
8213
8212
  class: "sx1hq4c",
8214
8213
  propsAsIs: true
8215
8214
  }),
8216
- H = /* @__PURE__ */ne$1("div")({
8215
+ Z = /* @__PURE__ */ne$1("div")({
8217
8216
  name: "NotificationContainer",
8218
8217
  class: "n1fcriet",
8219
8218
  propsAsIs: false
@@ -8298,7 +8297,7 @@ var w = /* @__PURE__ */ne$1("div")({
8298
8297
  propsAsIs: false
8299
8298
  }),
8300
8299
  Se$1 = function Se() {
8301
- return H;
8300
+ return Z;
8302
8301
  },
8303
8302
  De = /* @__PURE__ */ne$1(Se$1())({
8304
8303
  name: "NotificationInterstitialContainer",
@@ -8342,7 +8341,7 @@ var w = /* @__PURE__ */ne$1("div")({
8342
8341
  imageMode: r,
8343
8342
  questionType: o,
8344
8343
  webos: t,
8345
- children: [/* @__PURE__ */jsxRuntime.jsx(O$1, {
8344
+ children: [/* @__PURE__ */jsxRuntime.jsx(R, {
8346
8345
  questionTypeData: i,
8347
8346
  questionType: o,
8348
8347
  questionStatus: Ne$3.UNSET
@@ -8368,7 +8367,7 @@ var w = /* @__PURE__ */ne$1("div")({
8368
8367
  webos: a,
8369
8368
  onClick: i,
8370
8369
  "data-webos": a,
8371
- children: /* @__PURE__ */jsxRuntime.jsx(Z, {
8370
+ children: /* @__PURE__ */jsxRuntime.jsx(X, {
8372
8371
  withoutPadding: true,
8373
8372
  children: /* @__PURE__ */jsxRuntime.jsx(J, {
8374
8373
  src: o
@@ -8417,7 +8416,7 @@ var w = /* @__PURE__ */ne$1("div")({
8417
8416
  onClick: function onClick() {
8418
8417
  return u(false);
8419
8418
  }
8420
- }) : /* @__PURE__ */jsxRuntime.jsxs(H, {
8419
+ }) : /* @__PURE__ */jsxRuntime.jsxs(Z, {
8421
8420
  "data-a": "intr",
8422
8421
  className: T$1("SL_InApp", c),
8423
8422
  onClick: function onClick(T) {
@@ -8429,7 +8428,7 @@ var w = /* @__PURE__ */ne$1("div")({
8429
8428
  children: /* @__PURE__ */jsxRuntime.jsx(J, {
8430
8429
  src: a === null || a === void 0 ? void 0 : a.sponsorLogo
8431
8430
  })
8432
- }), /* @__PURE__ */jsxRuntime.jsxs(Z, {
8431
+ }), /* @__PURE__ */jsxRuntime.jsxs(X, {
8433
8432
  children: [/* @__PURE__ */jsxRuntime.jsxs(Ie$1, {
8434
8433
  children: [!k && /* @__PURE__ */jsxRuntime.jsx(B, {
8435
8434
  src: ms,
@@ -8487,7 +8486,7 @@ var w = /* @__PURE__ */ne$1("div")({
8487
8486
  propsAsIs: false
8488
8487
  }),
8489
8488
  Qe = function Qe() {
8490
- return H1;
8489
+ return E1;
8491
8490
  },
8492
8491
  We = /* @__PURE__ */ne$1(Qe())({
8493
8492
  name: "TitleIcon",
@@ -8502,17 +8501,17 @@ var w = /* @__PURE__ */ne$1("div")({
8502
8501
  class: "c1sur0q2",
8503
8502
  propsAsIs: true
8504
8503
  }),
8505
- Xe = /* @__PURE__ */ne$1("div")({
8504
+ He = /* @__PURE__ */ne$1("div")({
8506
8505
  name: "Body",
8507
8506
  class: "bai9j52",
8508
8507
  propsAsIs: false
8509
8508
  }),
8510
- Ze$1 = /* @__PURE__ */ne$1("div")({
8509
+ Xe = /* @__PURE__ */ne$1("div")({
8511
8510
  name: "Title",
8512
8511
  class: "t1bnt25p",
8513
8512
  propsAsIs: false
8514
8513
  }),
8515
- He = /* @__PURE__ */ne$1("div")({
8514
+ Ze$1 = /* @__PURE__ */ne$1("div")({
8516
8515
  name: "Description",
8517
8516
  class: "dmixjec",
8518
8517
  propsAsIs: false
@@ -8540,12 +8539,12 @@ var w = /* @__PURE__ */ne$1("div")({
8540
8539
  className: "on-dark",
8541
8540
  src: "https://cdn.streamlayer.io/assets/sdk-web/onboarding-steps/notification-dark.png"
8542
8541
  })]
8543
- }), /* @__PURE__ */jsxRuntime.jsxs(Xe, {
8544
- children: [/* @__PURE__ */jsxRuntime.jsxs(Ze$1, {
8542
+ }), /* @__PURE__ */jsxRuntime.jsxs(He, {
8543
+ children: [/* @__PURE__ */jsxRuntime.jsxs(Xe, {
8545
8544
  children: [/* @__PURE__ */jsxRuntime.jsx(We, {
8546
8545
  name: "icon-trophy-solid"
8547
8546
  }), i === null || i === void 0 || (_i$titleCard = i.titleCard) === null || _i$titleCard === void 0 ? void 0 : _i$titleCard.title]
8548
- }), /* @__PURE__ */jsxRuntime.jsxs(He, {
8547
+ }), /* @__PURE__ */jsxRuntime.jsxs(Ze$1, {
8549
8548
  children: [/* @__PURE__ */jsxRuntime.jsx("span", {
8550
8549
  children: i === null || i === void 0 || (_i$titleCard2 = i.titleCard) === null || _i$titleCard2 === void 0 ? void 0 : _i$titleCard2.subtitle
8551
8550
  }), /* @__PURE__ */jsxRuntime.jsx(Je$1, {
@@ -8566,7 +8565,7 @@ var w = /* @__PURE__ */ne$1("div")({
8566
8565
  propsAsIs: false
8567
8566
  }),
8568
8567
  nn = function nn() {
8569
- return H1;
8568
+ return E1;
8570
8569
  },
8571
8570
  on = /* @__PURE__ */ne$1(nn())({
8572
8571
  name: "CheckIcon",
@@ -8574,7 +8573,7 @@ var w = /* @__PURE__ */ne$1("div")({
8574
8573
  propsAsIs: true
8575
8574
  }),
8576
8575
  tn = function tn() {
8577
- return H1;
8576
+ return E1;
8578
8577
  },
8579
8578
  an = /* @__PURE__ */ne$1(tn())({
8580
8579
  name: "PredictionIcon",
@@ -8702,7 +8701,7 @@ var w = /* @__PURE__ */ne$1("div")({
8702
8701
  propsAsIs: false
8703
8702
  }),
8704
8703
  wn = function wn() {
8705
- return H1;
8704
+ return E1;
8706
8705
  },
8707
8706
  bn = /* @__PURE__ */ne$1(wn())({
8708
8707
  name: "CheckIcon",
@@ -8752,7 +8751,7 @@ var w = /* @__PURE__ */ne$1("div")({
8752
8751
  propsAsIs: false
8753
8752
  }),
8754
8753
  qn = function qn() {
8755
- return H1;
8754
+ return E1;
8756
8755
  },
8757
8756
  os = /* @__PURE__ */ne$1(qn())({
8758
8757
  name: "CorrectIcon",
@@ -8797,7 +8796,7 @@ var w = /* @__PURE__ */ne$1("div")({
8797
8796
  propsAsIs: false
8798
8797
  }),
8799
8798
  Rn = function Rn() {
8800
- return H1;
8799
+ return E1;
8801
8800
  },
8802
8801
  jn = /* @__PURE__ */ne$1(Rn())({
8803
8802
  name: "CheckIcon",
@@ -8987,15 +8986,15 @@ var w = /* @__PURE__ */ne$1("div")({
8987
8986
  Gn = function Gn() {
8988
8987
  return L;
8989
8988
  },
8990
- Xn = /* @__PURE__ */ne$1(Gn())({
8989
+ Hn = /* @__PURE__ */ne$1(Gn())({
8991
8990
  name: "Line2",
8992
8991
  class: "l193yd7v",
8993
8992
  propsAsIs: true
8994
8993
  }),
8995
- Zn = function Zn() {
8994
+ Xn = function Xn() {
8996
8995
  return L;
8997
8996
  },
8998
- Hn = /* @__PURE__ */ne$1(Zn())({
8997
+ Zn = /* @__PURE__ */ne$1(Xn())({
8999
8998
  name: "Line3",
9000
8999
  class: "lhbflsp",
9001
9000
  propsAsIs: true
@@ -9004,10 +9003,10 @@ var w = /* @__PURE__ */ne$1("div")({
9004
9003
  return /* @__PURE__ */jsxRuntime.jsxs(Qn, {
9005
9004
  children: [/* @__PURE__ */jsxRuntime.jsx(Kn, {
9006
9005
  children: /* @__PURE__ */jsxRuntime.jsx("div", {})
9007
- }), /* @__PURE__ */jsxRuntime.jsx(Xn, {
9008
- children: /* @__PURE__ */jsxRuntime.jsx("div", {})
9009
9006
  }), /* @__PURE__ */jsxRuntime.jsx(Hn, {
9010
9007
  children: /* @__PURE__ */jsxRuntime.jsx("div", {})
9008
+ }), /* @__PURE__ */jsxRuntime.jsx(Zn, {
9009
+ children: /* @__PURE__ */jsxRuntime.jsx("div", {})
9011
9010
  })]
9012
9011
  });
9013
9012
  },
@@ -9017,7 +9016,7 @@ var w = /* @__PURE__ */ne$1("div")({
9017
9016
  propsAsIs: false
9018
9017
  }),
9019
9018
  eo = function eo() {
9020
- return H1;
9019
+ return E1;
9021
9020
  },
9022
9021
  no = /* @__PURE__ */ne$1(eo())({
9023
9022
  name: "PredictionIcon",
@@ -9032,7 +9031,7 @@ var w = /* @__PURE__ */ne$1("div")({
9032
9031
  });
9033
9032
  },
9034
9033
  to = function to() {
9035
- return H1;
9034
+ return E1;
9036
9035
  },
9037
9036
  ao = /* @__PURE__ */ne$1(to())({
9038
9037
  name: "CheckIcon",
@@ -9078,7 +9077,7 @@ var w = /* @__PURE__ */ne$1("div")({
9078
9077
  propsAsIs: false
9079
9078
  }),
9080
9079
  po = function po() {
9081
- return H1;
9080
+ return E1;
9082
9081
  },
9083
9082
  mo = /* @__PURE__ */ne$1(po())({
9084
9083
  name: "CorrectIcon",