@streamlayer/react 1.23.0 → 1.23.1

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 (122) hide show
  1. package/lib/app/pause-ad.d.ts +2 -4
  2. package/lib/app/polymarket.d.ts +7 -0
  3. package/lib/cjs/Question.js +1 -1
  4. package/lib/cjs/advertisement.js +1 -1
  5. package/lib/cjs/auth.js +1 -1
  6. package/lib/cjs/bet-pack.js +1 -1
  7. package/lib/cjs/feature.js +1 -0
  8. package/lib/cjs/hooks-WfHlJH12.js +1 -0
  9. package/lib/cjs/index.js +1 -1
  10. package/lib/cjs/index10.js +1 -4
  11. package/lib/cjs/index11.js +4 -1
  12. package/lib/cjs/index12.js +1 -1
  13. package/lib/cjs/index13.js +1 -1
  14. package/lib/cjs/index14.js +1 -1
  15. package/lib/cjs/index15.js +1 -5
  16. package/lib/cjs/index16.js +5 -0
  17. package/lib/cjs/index2.js +1 -1
  18. package/lib/cjs/index3.js +1 -1
  19. package/lib/cjs/index4.js +1 -1
  20. package/lib/cjs/index7.js +1 -1
  21. package/lib/cjs/index8.js +1 -1
  22. package/lib/cjs/index9.js +1 -1
  23. package/lib/cjs/insight.js +1 -1
  24. package/lib/cjs/masters.js +1 -1
  25. package/lib/cjs/masters2.js +4 -4
  26. package/lib/cjs/notification.js +1 -1
  27. package/lib/cjs/pause-ad.js +1 -1
  28. package/lib/cjs/points.js +1 -1
  29. package/lib/cjs/polymarket.js +19 -0
  30. package/lib/cjs/storage.js +1 -1
  31. package/lib/cjs/useStreamLayerApp2.js +5 -5
  32. package/lib/classic/app/pause-ad.d.ts +2 -4
  33. package/lib/classic/app/polymarket.d.ts +7 -0
  34. package/lib/classic/cjs/Question.js +1 -1
  35. package/lib/classic/cjs/advertisement.js +1 -1
  36. package/lib/classic/cjs/analytics.js +1 -1
  37. package/lib/classic/cjs/auth.js +1 -1
  38. package/lib/classic/cjs/bet-pack.js +3 -3
  39. package/lib/classic/cjs/feature.js +1 -0
  40. package/lib/classic/cjs/hooks-WfHlJH12.js +1 -0
  41. package/lib/classic/cjs/index.js +1 -1
  42. package/lib/classic/cjs/index10.js +1 -1
  43. package/lib/classic/cjs/index11.js +1 -1
  44. package/lib/classic/cjs/index12.js +1 -4
  45. package/lib/classic/cjs/index13.js +4 -0
  46. package/lib/classic/cjs/index2.js +2 -2
  47. package/lib/classic/cjs/index5.js +1 -1
  48. package/lib/classic/cjs/index6.js +1 -1
  49. package/lib/classic/cjs/index7.js +1 -1
  50. package/lib/classic/cjs/index8.js +1 -1
  51. package/lib/classic/cjs/index9.js +1 -1
  52. package/lib/classic/cjs/insight.js +1 -1
  53. package/lib/classic/cjs/notification.js +1 -1
  54. package/lib/classic/cjs/notification2.js +1 -1
  55. package/lib/classic/cjs/pause-ad.js +1 -1
  56. package/lib/classic/cjs/points.js +1 -1
  57. package/lib/classic/cjs/polymarket.js +19 -0
  58. package/lib/classic/cjs/useStreamLayerApp2.js +5 -5
  59. package/lib/classic/es/Question.js +4 -4
  60. package/lib/classic/es/advertisement.js +6 -6
  61. package/lib/classic/es/analytics.js +1 -1
  62. package/lib/classic/es/auth.js +1 -1
  63. package/lib/classic/es/bet-pack.js +18 -17
  64. package/lib/classic/es/feature.js +63 -0
  65. package/lib/classic/es/hooks-WfHlJH12.js +98 -0
  66. package/lib/classic/es/index.js +2 -2
  67. package/lib/classic/es/index10.js +82 -2295
  68. package/lib/classic/es/index11.js +2351 -179
  69. package/lib/classic/es/index12.js +170 -822
  70. package/lib/classic/es/index13.js +835 -0
  71. package/lib/classic/es/index2.js +127 -126
  72. package/lib/classic/es/index5.js +4 -5
  73. package/lib/classic/es/index6.js +5 -11
  74. package/lib/classic/es/index7.js +5 -62
  75. package/lib/classic/es/index8.js +7 -315
  76. package/lib/classic/es/index9.js +313 -81
  77. package/lib/classic/es/insight.js +2 -2
  78. package/lib/classic/es/notification.js +2 -2
  79. package/lib/classic/es/notification2.js +14 -13
  80. package/lib/classic/es/pause-ad.js +20 -20
  81. package/lib/classic/es/points.js +15 -14
  82. package/lib/classic/es/polymarket.js +6670 -0
  83. package/lib/classic/es/useStreamLayerApp2.js +143 -119
  84. package/lib/dist/cjs/masters.js +23 -23
  85. package/lib/dist/es/masters.js +189 -165
  86. package/lib/dist/index.d.ts +17 -6
  87. package/lib/dist/style.css +1 -1
  88. package/lib/es/Question.js +2 -2
  89. package/lib/es/advertisement.js +5 -5
  90. package/lib/es/auth.js +1 -1
  91. package/lib/es/bet-pack.js +1 -1
  92. package/lib/es/feature.js +63 -0
  93. package/lib/es/hooks-WfHlJH12.js +98 -0
  94. package/lib/es/index.js +2 -2
  95. package/lib/es/index10.js +236 -804
  96. package/lib/es/index11.js +822 -170
  97. package/lib/es/index12.js +166 -302
  98. package/lib/es/index13.js +313 -81
  99. package/lib/es/index14.js +82 -2350
  100. package/lib/es/index15.js +2330 -1229
  101. package/lib/es/index16.js +1254 -0
  102. package/lib/es/index2.js +118 -117
  103. package/lib/es/index3.js +3 -61
  104. package/lib/es/index4.js +3 -3
  105. package/lib/es/index7.js +5 -7
  106. package/lib/es/index8.js +5 -9
  107. package/lib/es/index9.js +7 -263
  108. package/lib/es/insight.js +2 -2
  109. package/lib/es/masters.js +1 -1
  110. package/lib/es/masters2.js +25 -24
  111. package/lib/es/notification.js +8 -7
  112. package/lib/es/pause-ad.js +20 -20
  113. package/lib/es/points.js +6 -5
  114. package/lib/es/polymarket.js +6670 -0
  115. package/lib/es/storage.js +2 -2
  116. package/lib/es/useStreamLayerApp2.js +143 -119
  117. package/lib/style.css +1 -1
  118. package/package.json +24 -14
  119. package/lib/cjs/hooks-B0Qttldg.js +0 -1
  120. package/lib/classic/cjs/hooks-B0Qttldg.js +0 -1
  121. package/lib/classic/es/hooks-B0Qttldg.js +0 -98
  122. package/lib/es/hooks-B0Qttldg.js +0 -98
package/lib/es/index2.js CHANGED
@@ -1,71 +1,73 @@
1
1
  var Ce = Object.defineProperty;
2
2
  var Ee = (e, t, n) => t in e ? Ce(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
3
  var k = (e, t, n) => Ee(e, typeof t != "symbol" ? t + "" : t, n);
4
- import { useState as S, useEffect as y, useRef as L, PureComponent as Re, useCallback as j, lazy as xe, useMemo as C, Suspense as Le, forwardRef as be, useLayoutEffect as Te, useContext as Y } from "react";
5
- import { c as Z, F as De, z as Oe, Y as X } from "./hooks-B0Qttldg.js";
6
- import { jsx as i, jsxs as f, Fragment as T } from "react/jsx-runtime";
7
- import { I as _e, S as N, f as x, h as ee, Q as w } from "./useStreamLayerApp2.js";
8
- import { h as Me } from "./index7.js";
9
- import { A as O, u as v, s as u, b as Ue, c as E, a as P } from "./sl-types.js";
10
- import { l as Be, a as Fe, m as ze, d as Pe, n as Ve, C as qe, S as je, b as Ke, f as W, p as Qe, c as We } from "./index10.js";
11
- import { M as Ge, a as He, k as Je, z as ke, c as ye, T as Ne, I as Ye, t as Ze, f as Xe, w as te, D as et, p as tt } from "./index15.js";
4
+ import { useState as S, useEffect as y, useRef as x, PureComponent as Re, useCallback as j, lazy as xe, useMemo as w, Suspense as Le, forwardRef as be, useLayoutEffect as De, useContext as Y } from "react";
5
+ import { i as Z, F as Te, z as Oe, Y as X } from "./hooks-WfHlJH12.js";
6
+ import { jsx as i, jsxs as f, Fragment as L } from "react/jsx-runtime";
7
+ import { I as _e, S as N, f as R, h as ee, Q as V } from "./useStreamLayerApp2.js";
8
+ import { h as Me } from "./index8.js";
9
+ import { A as T, u as v, s as u, b as Ue, c as C, a as z } from "./sl-types.js";
10
+ import { l as Be, a as Fe, m as ze, d as Pe, n as Ve, C as qe, S as je, b as Ke, f as G, p as Qe, c as Ge } from "./index11.js";
11
+ import { M as We, a as He, k as Je, z as ke, c as ye, T as Ne, I as Ye, t as Ze, f as Xe, w as te, D as et, p as tt } from "./index16.js";
12
12
  import K from "lodash.throttle";
13
13
  import { f as Se, a as nt, b as st, A as ot } from "./analytics.js";
14
- import { m as F } from "./theme.js";
15
- import { F as it, c as U, e as at } from "./index3.js";
14
+ import { m as B } from "./theme.js";
15
+ import { F as it, c as M } from "./feature.js";
16
16
  import "nanostores";
17
- import { p as G, h as rt, e as lt } from "./Question.js";
18
- import { y as dt } from "./index9.js";
17
+ import { p as W, h as at, e as rt } from "./Question.js";
18
+ import { y as lt } from "./index10.js";
19
19
  import { B as D } from "./index6.js";
20
- import ct from "react-infinite-scroller";
21
- import { I as pt, s as ut, e as mt } from "./index11.js";
20
+ import dt from "react-infinite-scroller";
21
+ import { I as ct, s as pt, e as ut } from "./index12.js";
22
22
  import "uuid";
23
23
  import "@nanostores/query";
24
24
  import "./storage.js";
25
- import { createPortal as ht } from "react-dom";
25
+ import "./index7.js";
26
+ import { createPortal as mt } from "react-dom";
27
+ import { e as ht } from "./index3.js";
26
28
  import "./notification.js";
27
- const ne = Object.keys(O), se = () => {
29
+ const ne = Object.keys(T), se = () => {
28
30
  const e = window.innerWidth;
29
31
  let t = "sm";
30
32
  for (let n = ne.length - 1; n > 0; n--) {
31
33
  const o = ne[n];
32
- if (!(e < O[o]) && e >= O[o]) {
34
+ if (!(e < T[o]) && e >= T[o]) {
33
35
  t = o;
34
36
  break;
35
37
  }
36
38
  }
37
39
  return {
38
40
  name: t,
39
- size: O[t]
41
+ size: T[t]
40
42
  };
41
43
  }, oe = (e) => {
42
44
  var t;
43
45
  return (((t = e.current) == null ? void 0 : t.getBoundingClientRect().y) || 0) < -68;
44
- }, V = () => window.matchMedia("(orientation: landscape)").matches, vt = (e) => {
46
+ }, P = () => window.matchMedia("(orientation: landscape)").matches, vt = (e) => {
45
47
  const [t] = S(() => Se({
46
48
  screen: se(),
47
49
  sdkInView: oe(e),
48
- sdkInDesktopView: V()
50
+ sdkInDesktopView: P()
49
51
  }));
50
52
  return y(() => {
51
53
  const n = K(() => {
52
54
  t.setKey("sdkInView", oe(e));
53
55
  }, 200), o = K(() => {
54
56
  const s = se();
55
- t.setKey("screen", s), t.setKey("sdkInDesktopView", V());
57
+ t.setKey("screen", s), t.setKey("sdkInDesktopView", P());
56
58
  }, 200);
57
59
  return window.addEventListener("scroll", n), window.addEventListener("resize", o), () => {
58
60
  window.removeEventListener("scroll", n), window.removeEventListener("resize", o);
59
61
  };
60
62
  }, [t, e]), [t];
61
63
  }, H = (e, t, n) => {
62
- const o = t >= O.lg && t < O.xl ? 75 : 52;
64
+ const o = t >= T.lg && t < T.xl ? 75 : 52;
63
65
  e.current && window.scrollTo({
64
66
  top: e.current.offsetTop - o,
65
67
  ...n
66
68
  });
67
69
  }, ft = 15, gt = (e, t) => {
68
- const n = L(null), o = L(0), [s] = S(
70
+ const n = x(null), o = x(0), [s] = S(
69
71
  Se({
70
72
  scrollPosition: 0,
71
73
  tabsShown: !0,
@@ -73,7 +75,7 @@ const ne = Object.keys(O), se = () => {
73
75
  })
74
76
  ), r = v(t);
75
77
  return y(() => {
76
- const l = V() ? n.current : window;
78
+ const l = P() ? n.current : window;
77
79
  if (!l)
78
80
  return () => {
79
81
  };
@@ -83,7 +85,7 @@ const ne = Object.keys(O), se = () => {
83
85
  if (!m)
84
86
  return;
85
87
  let p = 0;
86
- V() ? p = m.scrollTop : p = ((c = e.current) == null ? void 0 : c.getBoundingClientRect().y) || 0;
88
+ P() ? p = m.scrollTop : p = ((c = e.current) == null ? void 0 : c.getBoundingClientRect().y) || 0;
87
89
  const h = o.current - p;
88
90
  if (ft > Math.abs(h))
89
91
  return;
@@ -145,7 +147,7 @@ const ne = Object.keys(O), se = () => {
145
147
  class: "tspsaas",
146
148
  propsAsIs: !1
147
149
  });
148
- var M = /* @__PURE__ */ ((e) => (e.HOME = "home", e.LEADERBOARD = "leaderboard", e))(M || {});
150
+ var _ = /* @__PURE__ */ ((e) => (e.HOME = "home", e.LEADERBOARD = "leaderboard", e))(_ || {});
149
151
  const ie = ({ title: e, active: t, onClick: n }) => /* @__PURE__ */ i(yt, { "data-a": "intr", onClick: n, "data-selected": t, children: /* @__PURE__ */ i(Nt, { "data-a": "intr", children: e }) }), St = ({ activePage: e = "home", toggleActivePage: t }) => /* @__PURE__ */ i(bt, { children: /* @__PURE__ */ f(kt, { "data-position": e === "home" ? "left" : "right", children: [
150
152
  /* @__PURE__ */ i(ie, { title: "Home", active: e === "home", onClick: () => t(
151
153
  "home"
@@ -186,7 +188,7 @@ const ie = ({ title: e, active: t, onClick: n }) => /* @__PURE__ */ i(yt, { "dat
186
188
  name: "ArrowInviteIcon",
187
189
  class: "awohrz6",
188
190
  propsAsIs: !0
189
- }), Tt = ({ title: e, description: t, onClick: n, className: o }) => {
191
+ }), Dt = ({ title: e, description: t, onClick: n, className: o }) => {
190
192
  const [s] = nt({
191
193
  type: "invitation",
192
194
  action: "sent",
@@ -203,7 +205,7 @@ const ie = ({ title: e, active: t, onClick: n }) => /* @__PURE__ */ i(yt, { "dat
203
205
  /* @__PURE__ */ i(Lt, { name: "icon-copy" })
204
206
  ] });
205
207
  };
206
- function Dt(e) {
208
+ function Tt(e) {
207
209
  var t = e.lastRenderedStartIndex, n = e.lastRenderedStopIndex, o = e.startIndex, s = e.stopIndex;
208
210
  return !(o > n || s < t);
209
211
  }
@@ -309,7 +311,7 @@ var _t = function(e, t) {
309
311
  for (var s = this, r = this.props.loadMoreItems || this.props.loadMoreRows, l = function(c) {
310
312
  var m = o[c], p = o[c + 1], h = r(m, p);
311
313
  h != null && h.then(function() {
312
- if (Dt({
314
+ if (Tt({
313
315
  lastRenderedStartIndex: s._lastRenderedStartIndex,
314
316
  lastRenderedStopIndex: s._lastRenderedStopIndex,
315
317
  startIndex: m,
@@ -357,7 +359,7 @@ const Bt = /* @__PURE__ */ u("div")({
357
359
  name: "CurrentUserBadge",
358
360
  class: "c17uc4zr",
359
361
  propsAsIs: !0
360
- }), Wt = ({
362
+ }), Gt = ({
361
363
  friendsRank: e,
362
364
  avatar: t,
363
365
  name: n,
@@ -368,14 +370,14 @@ const Bt = /* @__PURE__ */ u("div")({
368
370
  }) => /* @__PURE__ */ f(Bt, { "data-name": o, style: l, children: [
369
371
  /* @__PURE__ */ i(Ft, { children: e || 0 }),
370
372
  /* @__PURE__ */ f(Vt, { children: [
371
- t ? /* @__PURE__ */ i(zt, { alt: "leaderboard-item-avatar", src: t }) : /* @__PURE__ */ i(Pt, { children: pt(n || "") }),
373
+ t ? /* @__PURE__ */ i(zt, { alt: "leaderboard-item-avatar", src: t }) : /* @__PURE__ */ i(Pt, { children: ct(n || "") }),
372
374
  /* @__PURE__ */ f(qt, { children: [
373
375
  /* @__PURE__ */ i(jt, { children: n || "" }),
374
376
  r && /* @__PURE__ */ i(Qt, { name: "icon-star" })
375
377
  ] })
376
378
  ] }),
377
- /* @__PURE__ */ i("div", { children: ut(s) })
378
- ] }), Gt = /* @__PURE__ */ u("div")({
379
+ /* @__PURE__ */ i("div", { children: pt(s) })
380
+ ] }), Wt = /* @__PURE__ */ u("div")({
379
381
  name: "Container",
380
382
  class: "c16btbfp",
381
383
  propsAsIs: !1
@@ -391,16 +393,16 @@ const Bt = /* @__PURE__ */ u("div")({
391
393
  const a = d.target.getAttribute("data-name");
392
394
  a && n(a);
393
395
  }, [n]);
394
- return /* @__PURE__ */ i(ct, {
396
+ return /* @__PURE__ */ i(dt, {
395
397
  loadMore: o,
396
398
  initialLoad: !1,
397
399
  hasMore: r,
398
400
  useWindow: !1,
399
401
  getScrollParent: () => s.current,
400
- children: /* @__PURE__ */ i(Gt, {
402
+ children: /* @__PURE__ */ i(Wt, {
401
403
  "data-a": "intr",
402
404
  onClick: l,
403
- children: e.map((d) => /* @__PURE__ */ i(Wt, {
405
+ children: e.map((d) => /* @__PURE__ */ i(Gt, {
404
406
  ...d,
405
407
  isCurrentUser: !!t && t === d.userId
406
408
  }, d.userId))
@@ -413,7 +415,7 @@ const Bt = /* @__PURE__ */ u("div")({
413
415
  }), Yt = ({
414
416
  deepLink: e
415
417
  }) => /* @__PURE__ */ i(Jt, {
416
- children: /* @__PURE__ */ i(Ge, {
418
+ children: /* @__PURE__ */ i(We, {
417
419
  inviteLink: e,
418
420
  inviteCardTitle: "It’s More Fun With Friends",
419
421
  inviteCardSubtext: "Invite and compete against your friends for the top spot on the leaderboard."
@@ -428,7 +430,7 @@ const Bt = /* @__PURE__ */ u("div")({
428
430
  scrollStore: n,
429
431
  leaderboardList: o
430
432
  }) => {
431
- const s = L(null), {
433
+ const s = x(null), {
432
434
  data: r,
433
435
  hasMore: l,
434
436
  loading: d,
@@ -438,7 +440,7 @@ const Bt = /* @__PURE__ */ u("div")({
438
440
  } = v(e.deepLink.$store), [m, p] = He(s);
439
441
  return !r.length && !d ? /* @__PURE__ */ i(Yt, {
440
442
  deepLink: c
441
- }) : /* @__PURE__ */ f(T, {
443
+ }) : /* @__PURE__ */ f(L, {
442
444
  children: [/* @__PURE__ */ i(Ht, {
443
445
  items: r,
444
446
  scrollNode: t,
@@ -449,7 +451,7 @@ const Bt = /* @__PURE__ */ u("div")({
449
451
  currentUserId: e.currentUserId.get()
450
452
  }, a), c && /* @__PURE__ */ i(Zt, {
451
453
  ref: s,
452
- children: /* @__PURE__ */ i(Tt, {
454
+ children: /* @__PURE__ */ i(Dt, {
453
455
  "data-a": "intr",
454
456
  onClick: () => m(c),
455
457
  title: "Invite Friends",
@@ -467,7 +469,7 @@ const Bt = /* @__PURE__ */ u("div")({
467
469
  scrollNode: t,
468
470
  scrollStore: n
469
471
  }) : null, tn = ({ store: e, openQuestion: t }) => {
470
- const { sdk: n } = G(), o = v(e);
472
+ const { sdk: n } = W(), o = v(e);
471
473
  return /* @__PURE__ */ i(Je, { openQuestion: t, questions: o.data, controlVideo: n == null ? void 0 : n.controlVideoPlayer });
472
474
  }, nn = ({ userSummary: e }) => {
473
475
  var t;
@@ -481,10 +483,10 @@ const Bt = /* @__PURE__ */ u("div")({
481
483
  };
482
484
  }, [e]), /* @__PURE__ */ i(ke, { loading: !(n != null && n.summary), ...n == null ? void 0 : n.summary, successRate: (t = n == null ? void 0 : n.percentage) == null ? void 0 : t.correct });
483
485
  }, sn = ({ gamification: e, className: t, scrollStore: n, scrollNode: o, appNode: s, style: r, responsiveStore: l }) => {
484
- const { tabsShown: d } = v(n, { keys: ["tabsShown"] }), a = v(e.friendsTabEnabled), [c, m] = S(M.HOME), [, p] = Ue(), { sdkInDesktopView: h, screen: g } = v(l, { keys: ["sdkInDesktopView"] }), b = (I) => {
486
+ const { tabsShown: d } = v(n, { keys: ["tabsShown"] }), a = v(e.friendsTabEnabled), [c, m] = S(_.HOME), [, p] = Ue(), { sdkInDesktopView: h, screen: g } = v(l, { keys: ["sdkInDesktopView"] }), b = (I) => {
485
487
  p(() => {
486
- var B;
487
- m(I), h === !1 && (((B = s.current) == null ? void 0 : B.getBoundingClientRect().y) || 0) < 0 && H(s, g.size, { behavior: "instant" });
488
+ var U;
489
+ m(I), h === !1 && (((U = s.current) == null ? void 0 : U.getBoundingClientRect().y) || 0) < 0 && H(s, g.size, { behavior: "instant" });
488
490
  });
489
491
  };
490
492
  y(() => n.subscribe((I) => {
@@ -494,10 +496,10 @@ const Bt = /* @__PURE__ */ u("div")({
494
496
  }
495
497
  l.get().sdkInDesktopView ? n.setKey("tabsShown", I.scrollDirection === "backward") : n.setKey("tabsShown", I.scrollDirection === "forward");
496
498
  }), [n, l]), y(() => {
497
- a || m(M.HOME);
499
+ a || m(_.HOME);
498
500
  }, [a]);
499
501
  let $ = "0px";
500
- return h ? $ = d ? "0px" : "calc(0px - var(--header-height))" : $ = d ? "var(--header-height)" : "0px", /* @__PURE__ */ f(Be, { className: E(t, "SL-Tabs", "sl-hide-on-modal"), style: r, children: [
502
+ return h ? $ = d ? "0px" : "calc(0px - var(--header-height))" : $ = d ? "var(--header-height)" : "0px", /* @__PURE__ */ f(Be, { className: C(t, "SL-Tabs", "sl-hide-on-modal"), style: r, children: [
501
503
  a && /* @__PURE__ */ i(
502
504
  Fe,
503
505
  {
@@ -507,13 +509,13 @@ const Bt = /* @__PURE__ */ u("div")({
507
509
  children: /* @__PURE__ */ i(St, { activePage: c, toggleActivePage: b })
508
510
  }
509
511
  ),
510
- c === M.HOME && /* @__PURE__ */ f(T, { children: [
512
+ c === _.HOME && /* @__PURE__ */ f(L, { children: [
511
513
  /* @__PURE__ */ i(ze, { children: /* @__PURE__ */ i(Pe, { children: /* @__PURE__ */ i(nn, { userSummary: e.userSummary }) }) }),
512
514
  /* @__PURE__ */ i(Ve, { style: { flex: 1 }, children: /* @__PURE__ */ i(tn, { openQuestion: e.openQuestion, store: e.feedList.getStore() }) })
513
515
  ] }),
514
- c === M.LEADERBOARD && /* @__PURE__ */ i(qe, { children: /* @__PURE__ */ i(en, { scrollStore: n, scrollNode: o, gamification: e }) })
516
+ c === _.LEADERBOARD && /* @__PURE__ */ i(qe, { children: /* @__PURE__ */ i(en, { scrollStore: n, scrollNode: o, gamification: e }) })
515
517
  ] });
516
- }, on = () => W, re = /* @__PURE__ */ u(on())({
518
+ }, on = () => G, re = /* @__PURE__ */ u(on())({
517
519
  name: "OpenedContainer",
518
520
  class: "ouvguos",
519
521
  propsAsIs: !0
@@ -527,7 +529,7 @@ const Bt = /* @__PURE__ */ u("div")({
527
529
  }) => {
528
530
  const n = e + t;
529
531
  return n === 0 ? 0 : Math.round(e / n * 100);
530
- }, Fs = ({
532
+ }, Ps = ({
531
533
  gamification: e,
532
534
  scrollStore: t,
533
535
  className: n,
@@ -551,7 +553,7 @@ const Bt = /* @__PURE__ */ u("div")({
551
553
  }) => {
552
554
  const {
553
555
  topNavigation: l
554
- } = G(), d = v(e.openedQuestionId), a = v(e.openedQuestion.$store), c = v(e.openedUser || ye(void 0)), {
556
+ } = W(), d = v(e.openedQuestionId), a = v(e.openedQuestion.$store), c = v(e.openedUser || ye(void 0)), {
555
557
  sdkInDesktopView: m
556
558
  } = v(r, {
557
559
  keys: ["sdkInDesktopView"]
@@ -562,20 +564,20 @@ const Bt = /* @__PURE__ */ u("div")({
562
564
  if (!d && !c)
563
565
  return null;
564
566
  const g = a ? /* @__PURE__ */ i(re, {
565
- className: E(o, !l && le),
567
+ className: C(o, !l && le),
566
568
  hiding: p,
567
569
  onAnimationEnd: h,
568
- children: /* @__PURE__ */ i(rt, {
570
+ children: /* @__PURE__ */ i(at, {
569
571
  muted: t,
570
572
  sdk: n,
571
573
  gamification: e
572
574
  })
573
575
  }) : c ? /* @__PURE__ */ i(re, {
574
- className: E(o, !l && le),
576
+ className: C(o, !l && le),
575
577
  hiding: p,
576
578
  onAnimationEnd: h,
577
579
  children: /* @__PURE__ */ f(an, {
578
- children: [/* @__PURE__ */ i(dt, {
580
+ children: [/* @__PURE__ */ i(lt, {
579
581
  label: "Friend's Rank",
580
582
  close: e.closeUser
581
583
  }), /* @__PURE__ */ i(Ke, {
@@ -592,7 +594,7 @@ const Bt = /* @__PURE__ */ u("div")({
592
594
  children: g
593
595
  });
594
596
  }, dn = xe(() => import("./gamification-feature.js")), cn = ({ sdk: e, feature: t, className: n, scrollStore: o, appNode: s, scrollNode: r, responsiveStore: l }) => {
595
- const d = C(() => t && t.featureConfig.get().type === N.GAMES ? /* @__PURE__ */ i(It, { className: n, sdk: e, feature: t, children: /* @__PURE__ */ i(
597
+ const d = w(() => t && t.featureConfig.get().type === N.GAMES ? /* @__PURE__ */ i(It, { className: n, sdk: e, feature: t, children: /* @__PURE__ */ i(
596
598
  dn,
597
599
  {
598
600
  appNode: s,
@@ -662,9 +664,9 @@ var de;
662
664
  (function(e) {
663
665
  e.Init = "init", e.Ready = "ready", e.Connecting = "connecting", e.Connected = "connected", e.Disconnected = "disconnected", e.Failed = "failed", e.Reconnect = "reconnect", e.Reconnecting = "reconnecting";
664
666
  })(de || (de = {}));
665
- U("grpc:stream");
666
- x.Unknown, x.Internal, x.DeadlineExceeded, x.ResourceExhausted, x.FailedPrecondition, x.Unavailable, x.DataLoss;
667
- U("grpc:retry");
667
+ M("grpc:stream");
668
+ R.Unknown, R.Internal, R.DeadlineExceeded, R.ResourceExhausted, R.FailedPrecondition, R.Unavailable, R.DataLoss;
669
+ M("grpc:retry");
668
670
  ee(10, { description: "Number of attempts to retry" }), ee(3e4, { description: "Max delay between retries in milliseconds" });
669
671
  var A;
670
672
  (function(e) {
@@ -713,16 +715,15 @@ var he;
713
715
  (function(e) {
714
716
  e.UNKNOWN = "unknown", e.ALREADY_VOTED = "already_voted";
715
717
  })(he || (he = {}));
716
- U("deep_link");
717
- U("bypass");
718
+ M("deep_link");
719
+ M("bypass");
718
720
  new hn();
719
- U("video_player");
720
- w.FACTOID + "", w.POLL + "", w.TRIVIA + "", w.PREDICTION + "", w.TWEET + "";
721
+ M("video_player");
721
722
  var ve;
722
723
  (function(e) {
723
724
  e.Unset = "unset", e.Required = "required", e.Optional = "optional", e.Completed = "completed", e.Disabled = "disabled", e.Unavailable = "unavailable";
724
725
  })(ve || (ve = {}));
725
- w.POLL, w.PREDICTION, w.TRIVIA;
726
+ V.POLL, V.PREDICTION, V.TRIVIA;
726
727
  const vn = {
727
728
  [N.GAMES]: !0
728
729
  }, fn = /* @__PURE__ */ u("div")({
@@ -755,18 +756,18 @@ const vn = {
755
756
  name: "ButtonLabel",
756
757
  class: "b40tuix",
757
758
  propsAsIs: !1
758
- }), Nn = "s14xk0af", Sn = "ha3mg7c", $n = "h103yr45", z = ({ disabled: e, active: t, onClick: n, label: o, icon: s, id: r }) => /* @__PURE__ */ i(
759
+ }), Nn = "s14xk0af", Sn = "ha3mg7c", $n = "h103yr45", F = ({ disabled: e, active: t, onClick: n, label: o, icon: s, id: r }) => /* @__PURE__ */ i(
759
760
  bn,
760
761
  {
761
762
  onClick: n,
762
763
  "data-a": "intr",
763
764
  disabled: e,
764
- className: E(
765
+ className: C(
765
766
  t && Nn,
766
767
  !t && (r === "channels" || r === "featuredGroups") && Sn,
767
768
  !t && r === "leaderboard" && $n
768
769
  ),
769
- children: /* @__PURE__ */ f(T, { children: [
770
+ children: /* @__PURE__ */ f(L, { children: [
770
771
  s && /* @__PURE__ */ i(kn, { children: s }),
771
772
  /* @__PURE__ */ i(yn, { children: o })
772
773
  ] })
@@ -791,7 +792,7 @@ const vn = {
791
792
  name: "CloseIcon",
792
793
  class: "clqia8k",
793
794
  propsAsIs: !0
794
- }), Tn = () => D, Dn = /* @__PURE__ */ u(Tn())({
795
+ }), Dn = () => D, Tn = /* @__PURE__ */ u(Dn())({
795
796
  name: "DashboardIcon",
796
797
  class: "df5w958",
797
798
  propsAsIs: !0
@@ -803,10 +804,10 @@ const vn = {
803
804
  e.closeFeature();
804
805
  };
805
806
  return /* @__PURE__ */ f($e, {
806
- className: E(t, On),
807
+ className: C(t, On),
807
808
  children: [/* @__PURE__ */ f(Cn, {
808
809
  children: [/* @__PURE__ */ f(En, {
809
- children: [/* @__PURE__ */ i(Dn, {
810
+ children: [/* @__PURE__ */ i(Tn, {
810
811
  name: "dashboard"
811
812
  }), "Dashboard"]
812
813
  }), /* @__PURE__ */ i(Rn, {
@@ -824,10 +825,10 @@ const vn = {
824
825
  sdk: e,
825
826
  className: t
826
827
  }, n) => {
827
- const o = v(e.sdkStore.organizationSettings), s = v(e.sdkStore.streamSettings), r = v(e.getActiveFeature()), l = C(() => {
828
+ const o = v(e.sdkStore.organizationSettings), s = v(e.sdkStore.streamSettings), r = v(e.getActiveFeature()), l = w(() => {
828
829
  const a = (s == null ? void 0 : s.data) || (o == null ? void 0 : o.data);
829
830
  return a != null && a.overlays ? a.overlays : [];
830
- }, [o, s]), d = C(() => [...l.filter(({
831
+ }, [o, s]), d = w(() => [...l.filter(({
831
832
  enableSdkButton: a,
832
833
  type: c
833
834
  }) => c === N.GAMES || a).map((a) => ({
@@ -845,12 +846,12 @@ const vn = {
845
846
  return /* @__PURE__ */ f($e, {
846
847
  className: t,
847
848
  children: [d.length !== 0 && /* @__PURE__ */ i(fe, {
848
- children: [/* @__PURE__ */ i(z, {
849
+ children: [/* @__PURE__ */ i(F, {
849
850
  id: "Channels",
850
851
  onClick: () => e.closeFeature(),
851
852
  label: "Channels",
852
853
  active: r === 0
853
- }, "Channels"), ...d.map((a) => a.id === N.GAMES ? /* @__PURE__ */ i(z, {
854
+ }, "Channels"), ...d.map((a) => a.id === N.GAMES ? /* @__PURE__ */ i(F, {
854
855
  ...a,
855
856
  active: a.id === r,
856
857
  label: "StreamLayer +",
@@ -859,13 +860,13 @@ const vn = {
859
860
  name: "icon-btn-feature-groups",
860
861
  "data-selected": a.id === r
861
862
  })
862
- }, a.id) : /* @__PURE__ */ i(z, {
863
+ }, a.id) : /* @__PURE__ */ i(F, {
863
864
  ...a,
864
865
  icon: void 0,
865
866
  active: a.id === r
866
867
  }, a.id))]
867
868
  }), !d.length && /* @__PURE__ */ i(fe, {
868
- children: [/* @__PURE__ */ i(z, {
869
+ children: [/* @__PURE__ */ i(F, {
869
870
  id: "empty",
870
871
  label: "No Features...",
871
872
  active: !1,
@@ -926,7 +927,7 @@ const vn = {
926
927
  }, Q = [{
927
928
  graphicSrc: "https://cdn.streamlayer.io/assets/sdk-web/onboarding-steps/dark/step_1.png",
928
929
  tagline: "",
929
- headline: /* @__PURE__ */ f(T, {
930
+ headline: /* @__PURE__ */ f(L, {
930
931
  children: ["Welcome to ", /* @__PURE__ */ i("br", {}), " Live Challenge"]
931
932
  })
932
933
  }, {
@@ -935,11 +936,11 @@ const vn = {
935
936
  }, {
936
937
  graphicSrc: "https://cdn.streamlayer.io/assets/sdk-web/onboarding-steps/dark/step_3.png",
937
938
  headline: "Win points and play against friends."
938
- }], Wn = /* @__PURE__ */ u("div")({
939
+ }], Gn = /* @__PURE__ */ u("div")({
939
940
  name: "OnboardingContainer",
940
941
  class: "o1xni1kr",
941
942
  propsAsIs: !1
942
- }), Gn = () => W, Hn = /* @__PURE__ */ u(Gn())({
943
+ }), Wn = () => G, Hn = /* @__PURE__ */ u(Wn())({
943
944
  name: "OnboardingNotificationContainer",
944
945
  class: "o1vnouv7",
945
946
  propsAsIs: !0
@@ -963,21 +964,21 @@ const vn = {
963
964
  var d, a, c, m, p, h, g;
964
965
  const b = v(o.friends ? o.friends.getStore() : ye({
965
966
  data: []
966
- })), [$, I] = S(void 0), B = C(() => {
967
- var R, _;
967
+ })), [$, I] = S(void 0), U = w(() => {
968
+ var E, O;
968
969
  const J = r.getInviter();
969
- return J ? (_ = (R = b.data) == null ? void 0 : R.find(({
970
+ return J ? (O = (E = b.data) == null ? void 0 : E.find(({
970
971
  slId: we
971
- }) => we === J)) == null ? void 0 : _.name : "";
972
+ }) => we === J)) == null ? void 0 : O.name : "";
972
973
  }, [b.data, r]);
973
974
  return y(() => {
974
- const R = e.$store.subscribe((_) => {
975
- _ && I(_.data);
975
+ const E = e.$store.subscribe((O) => {
976
+ O && I(O.data);
976
977
  });
977
978
  return () => {
978
- R();
979
+ E();
979
980
  };
980
- }, [e.$store]), /* @__PURE__ */ f(Wn, {
981
+ }, [e.$store]), /* @__PURE__ */ f(Gn, {
981
982
  children: [/* @__PURE__ */ i(Ze, {
982
983
  loading: s,
983
984
  rules: [{
@@ -1001,12 +1002,12 @@ const vn = {
1001
1002
  inviteCardSubtext: (h = t.inviteCard) == null ? void 0 : h.subtext,
1002
1003
  inviteCardBtnLabel: (g = t.inviteCard) == null ? void 0 : g.buttonLabel,
1003
1004
  onClose: () => {
1004
- var R;
1005
- (R = n.close) == null || R.call(n);
1005
+ var E;
1006
+ (E = n.close) == null || E.call(n);
1006
1007
  },
1007
1008
  gamification: o,
1008
1009
  sdk: r,
1009
- inviterName: B
1010
+ inviterName: U
1010
1011
  }), l && /* @__PURE__ */ i(Jn, {})]
1011
1012
  });
1012
1013
  }, Zn = ({
@@ -1018,14 +1019,14 @@ const vn = {
1018
1019
  sdkInDesktopView: r,
1019
1020
  responsiveStore: l
1020
1021
  }) => {
1021
- const d = L(null), a = t.data.onboarding, [c, m] = S(a == null ? void 0 : a.instantOpen), p = e.getFeature(N.GAMES), h = C(() => Q == null ? void 0 : Q.map(({
1022
+ const d = x(null), a = t.data.onboarding, [c, m] = S(a == null ? void 0 : a.instantOpen), p = e.getFeature(N.GAMES), h = w(() => Q == null ? void 0 : Q.map(({
1022
1023
  graphicSrc: I
1023
1024
  }) => I), []), {
1024
1025
  screen: g
1025
1026
  } = v(l, {
1026
1027
  keys: ["screen"]
1027
1028
  });
1028
- Te(() => {
1029
+ De(() => {
1029
1030
  var I;
1030
1031
  n(((I = d.current) == null ? void 0 : I.getBoundingClientRect().height) || 0);
1031
1032
  }, [n]);
@@ -1047,7 +1048,7 @@ const vn = {
1047
1048
  renderToNode: s,
1048
1049
  sdk: e
1049
1050
  })
1050
- }) : /* @__PURE__ */ f(T, {
1051
+ }) : /* @__PURE__ */ f(L, {
1051
1052
  children: [/* @__PURE__ */ i(Ie, {
1052
1053
  ref: d,
1053
1054
  style: {
@@ -1078,7 +1079,7 @@ const vn = {
1078
1079
  })
1079
1080
  })]
1080
1081
  });
1081
- }, Xn = () => W, es = /* @__PURE__ */ u(Xn())({
1082
+ }, Xn = () => G, es = /* @__PURE__ */ u(Xn())({
1082
1083
  name: "Container",
1083
1084
  class: "c8ol1ve",
1084
1085
  propsAsIs: !0
@@ -1099,7 +1100,7 @@ const vn = {
1099
1100
  class: "p1lha68t",
1100
1101
  propsAsIs: !0
1101
1102
  }), as = (e) => {
1102
- const [t, n] = S(0), o = L(null), s = C(() => new ResizeObserver((d) => {
1103
+ const [t, n] = S(0), o = x(null), s = w(() => new ResizeObserver((d) => {
1103
1104
  window.requestAnimationFrame(() => {
1104
1105
  var a;
1105
1106
  if (Array.isArray(d)) {
@@ -1138,9 +1139,9 @@ const vn = {
1138
1139
  keys: ["sdkInDesktopView"]
1139
1140
  }), {
1140
1141
  sdk: a
1141
- } = G(), [c, m, p] = as(t.id);
1142
+ } = W(), [c, m, p] = as(t.id);
1142
1143
  let h = m;
1143
- return s || (h = "auto"), t.type === P.QUESTION ? /* @__PURE__ */ f(T, {
1144
+ return s || (h = "auto"), t.type === z.QUESTION ? /* @__PURE__ */ f(L, {
1144
1145
  children: [/* @__PURE__ */ i(ns, {
1145
1146
  ref: c,
1146
1147
  children: /* @__PURE__ */ i(te, {
@@ -1161,7 +1162,7 @@ const vn = {
1161
1162
  })
1162
1163
  }), /* @__PURE__ */ i(ss, {}, t.id)]
1163
1164
  })]
1164
- }) : t.type === P.QUESTION_RESOLVED && (l = (r = t.data) == null ? void 0 : r.question) != null && l.predictionResult ? /* @__PURE__ */ i(et, {
1165
+ }) : t.type === z.QUESTION_RESOLVED && (l = (r = t.data) == null ? void 0 : r.question) != null && l.predictionResult ? /* @__PURE__ */ i(et, {
1165
1166
  style: {
1166
1167
  height: t.hiding ? 0 : m
1167
1168
  },
@@ -1169,7 +1170,7 @@ const vn = {
1169
1170
  close: t.close,
1170
1171
  hiding: t.hiding,
1171
1172
  ...t.data.question
1172
- }) : t.type === P.ONBOARDING ? /* @__PURE__ */ i(Zn, {
1173
+ }) : t.type === z.ONBOARDING ? /* @__PURE__ */ i(Zn, {
1173
1174
  style: {
1174
1175
  height: t.hiding ? 0 : h
1175
1176
  },
@@ -1204,8 +1205,8 @@ const vn = {
1204
1205
  r.get().sdkInDesktopView ? p < 50 && t(null) : p > -50 && t(null);
1205
1206
  }, [p, r, t]);
1206
1207
  const h = r.get().sdkInDesktopView ? n : o;
1207
- return !e || !h.current ? null : ht(/* @__PURE__ */ i(is, {
1208
- title: e.type === P.QUESTION_RESOLVED ? "Prediction result" : `New ${((a = mt[(d = e.data) == null ? void 0 : d.questionType]) == null ? void 0 : a.label) || "notification"}`,
1208
+ return !e || !h.current ? null : mt(/* @__PURE__ */ i(is, {
1209
+ title: e.type === z.QUESTION_RESOLVED ? "Prediction result" : `New ${((a = ut[(d = e.data) == null ? void 0 : d.questionType]) == null ? void 0 : a.label) || "notification"}`,
1209
1210
  "data-a": "intr",
1210
1211
  onClick: () => {
1211
1212
  var g;
@@ -1216,7 +1217,7 @@ const vn = {
1216
1217
  behavior: "smooth"
1217
1218
  }), t(null);
1218
1219
  },
1219
- className: E(m && ls, "sl-pill-button")
1220
+ className: C(m && ls, "sl-pill-button")
1220
1221
  }), h.current);
1221
1222
  }, cs = ({
1222
1223
  sdk: e,
@@ -1227,9 +1228,9 @@ const vn = {
1227
1228
  scrollStore: r,
1228
1229
  hasActiveFeature: l
1229
1230
  }) => {
1230
- const [d] = S(e.getNotificationsStore()), a = v(d), [c, m] = S(null), p = C(() => e.getActiveNotification(), [e, a]);
1231
+ const [d] = S(e.getNotificationsStore()), a = v(d), [c, m] = S(null), p = w(() => e.getActiveNotification(), [e, a]);
1231
1232
  return y(() => {
1232
- p && at.emit("notification", {
1233
+ p && ht.emit("notification", {
1233
1234
  action: "rendered",
1234
1235
  payload: {
1235
1236
  questionId: p.data.questionId,
@@ -1246,7 +1247,7 @@ const vn = {
1246
1247
  }));
1247
1248
  }, [p]), y(() => {
1248
1249
  p || m(null);
1249
- }, [p]), /* @__PURE__ */ f(T, {
1250
+ }, [p]), /* @__PURE__ */ f(L, {
1250
1251
  children: [!c && p && /* @__PURE__ */ i(rs, {
1251
1252
  appNode: s,
1252
1253
  sdk: e,
@@ -1318,7 +1319,7 @@ const vn = {
1318
1319
  muted: t,
1319
1320
  topNavigation: n
1320
1321
  }) => {
1321
- const [o, s] = S(!0), r = L(null), l = v(e.uiState), d = L(null), [a] = vt(r), [c, m] = gt(r, a), {
1322
+ const [o, s] = S(!0), r = x(null), l = v(e.uiState), d = x(null), [a] = vt(r), [c, m] = gt(r, a), {
1322
1323
  sdkReady: p,
1323
1324
  activeFeature: h,
1324
1325
  isLogged: g
@@ -1328,13 +1329,13 @@ const vn = {
1328
1329
  event: "click",
1329
1330
  listener: ot
1330
1331
  });
1331
- const $ = C(() => ({
1332
+ const $ = w(() => ({
1332
1333
  sdk: e,
1333
1334
  topNavigation: n
1334
1335
  }), [e, n]);
1335
1336
  return y(() => {
1336
1337
  import("./gamification-feature.js");
1337
- }, []), /* @__PURE__ */ i(lt.Provider, {
1338
+ }, []), /* @__PURE__ */ i(rt.Provider, {
1338
1339
  value: $,
1339
1340
  children: /* @__PURE__ */ f(Qe, {
1340
1341
  ref: (I) => {
@@ -1342,14 +1343,14 @@ const vn = {
1342
1343
  },
1343
1344
  className: n ? "" : "c10llmat",
1344
1345
  children: [b && n && l.app && /* @__PURE__ */ i(Mn, {
1345
- className: E(F, "sl-hide-on-modal"),
1346
+ className: C(B, "sl-hide-on-modal"),
1346
1347
  sdk: e,
1347
1348
  ref: d
1348
1349
  }), b && !n && !!h && l.app && /* @__PURE__ */ i(_n, {
1349
- className: E(F, "sl-hide-on-modal"),
1350
+ className: C(B, "sl-hide-on-modal"),
1350
1351
  sdk: e,
1351
1352
  ref: d
1352
- }), /* @__PURE__ */ f(We, {
1353
+ }), /* @__PURE__ */ f(Ge, {
1353
1354
  className: "sl-hide-on-modal",
1354
1355
  ref: c,
1355
1356
  "data-nav": (!!h && b).toString(),
@@ -1366,13 +1367,13 @@ const vn = {
1366
1367
  responsiveStore: a,
1367
1368
  scrollNode: c,
1368
1369
  appNode: r,
1369
- className: F,
1370
+ className: B,
1370
1371
  sdk: e
1371
1372
  }), b && o && /* @__PURE__ */ i(ms, {
1372
1373
  muted: t,
1373
1374
  responsiveStore: a,
1374
1375
  appNode: r,
1375
- className: F,
1376
+ className: B,
1376
1377
  sdk: e
1377
1378
  })]
1378
1379
  }), b && !g && o && l.app && /* @__PURE__ */ i("div", {
@@ -1387,13 +1388,13 @@ const vn = {
1387
1388
  })]
1388
1389
  })
1389
1390
  });
1390
- }, zs = ({ event: e, topNavigation: t, theme: n, muted: o, withSidebarNotification: s = !0 }) => {
1391
- const { sdk: r, status: l } = Y(Z), d = De(), a = Oe(), { event: c } = Y(Z);
1391
+ }, Vs = ({ event: e, topNavigation: t, theme: n, muted: o, withSidebarNotification: s = !0 }) => {
1392
+ const { sdk: r, status: l } = Y(Z), d = Te(), a = Oe(), { event: c } = Y(Z);
1392
1393
  if (l === X.UNSET)
1393
1394
  throw new Error("Wrap app in `StreamLayerProvider`");
1394
1395
  return l === X.CONNECTED ? /* @__PURE__ */ i("div", { className: "StreamLayerSDK", children: "wait" }) : r === null ? /* @__PURE__ */ i("div", { className: "StreamLayerSDK", children: "sdk not initialized" }) : !d.app && !d.appNotification && !d.appSidebar || !d.app && !d.appSidebar && d.appNotification && !s ? null : /* @__PURE__ */ i("div", { className: "StreamLayerSDK", children: /* @__PURE__ */ i(Me, { customTheme: n ?? a.theme, themeMode: a.themeMode, children: /* @__PURE__ */ i(hs, { sdk: r, muted: o, event: (c == null ? void 0 : c.current) || e, topNavigation: t }) }) });
1395
1396
  };
1396
1397
  export {
1397
- Fs as B,
1398
- zs as b
1398
+ Ps as B,
1399
+ Vs as b
1399
1400
  };