@streamlayer/react 1.14.0 → 1.14.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 (39) hide show
  1. package/lib/cjs/advertisement.js +30 -30
  2. package/lib/cjs/bet-pack.js +1 -1
  3. package/lib/cjs/gamification-feature2.js +1 -1
  4. package/lib/cjs/index2.js +5 -5
  5. package/lib/cjs/masters2.js +3 -3
  6. package/lib/cjs/provider.js +1 -1
  7. package/lib/cjs/useStreamLayerApp2.js +6 -6
  8. package/lib/classic/cjs/advertisement.js +30 -30
  9. package/lib/classic/cjs/bet-pack.js +1 -1
  10. package/lib/classic/cjs/gamification-feature2.js +1 -1
  11. package/lib/classic/cjs/index2.js +5 -5
  12. package/lib/classic/cjs/masters2.js +3 -3
  13. package/lib/classic/cjs/provider.js +1 -1
  14. package/lib/classic/cjs/useStreamLayerApp2.js +6 -6
  15. package/lib/classic/es/advertisement.js +2205 -2193
  16. package/lib/classic/es/bet-pack.js +1 -1
  17. package/lib/classic/es/gamification-feature2.js +1 -1
  18. package/lib/classic/es/index2.js +697 -685
  19. package/lib/classic/es/masters2.js +202 -231
  20. package/lib/classic/es/provider.js +2 -2
  21. package/lib/classic/es/useStreamLayerApp2.js +147 -138
  22. package/lib/classic/style.css +1 -1
  23. package/lib/dist/cjs/gamification-feature.js +1 -1
  24. package/lib/dist/cjs/gamification-feature2.js +1 -1
  25. package/lib/dist/cjs/masters.js +22 -22
  26. package/lib/dist/es/gamification-feature.js +1 -1
  27. package/lib/dist/es/gamification-feature2.js +45 -45
  28. package/lib/dist/es/index.js +3 -3
  29. package/lib/dist/es/masters.js +3057 -3065
  30. package/lib/dist/style.css +1 -1
  31. package/lib/es/advertisement.js +2205 -2193
  32. package/lib/es/bet-pack.js +1 -1
  33. package/lib/es/gamification-feature2.js +1 -1
  34. package/lib/es/index2.js +697 -685
  35. package/lib/es/masters2.js +202 -231
  36. package/lib/es/provider.js +2 -2
  37. package/lib/es/useStreamLayerApp2.js +147 -138
  38. package/lib/style.css +1 -1
  39. package/package.json +14 -14
@@ -1,29 +1,29 @@
1
- import { jsx as t, jsxs as L, Fragment as k } from "react/jsx-runtime";
2
- import { s as l, v as q, a as p, A as g, g as A, F as o2, i as r2, j as i2, p as a2, k as l2, H as d2, l as c2, m as C2, n as u2, o as p2, x as Z, q as $, r as D, c as Y, I as v2, t as m2, w as L2, f as E2, N as R, y as G, B as h2, D as S2, C as g2, R as _2, E as W, G as j, d as w, J as N2, K as f2, S as I2, L as T2, M as R2 } from "./provider.js";
3
- import { useRef as N, useState as _, useEffect as h, createContext as A2, useContext as X, lazy as y2, useMemo as T, Suspense as k2, forwardRef as D2, useLayoutEffect as b2, useCallback as M, Component as O2 } from "react";
4
- import { t as F2 } from "./index2.js";
5
- import { Q as V2, S as b } from "./useStreamLayerApp2.js";
6
- const w2 = /* @__PURE__ */ l("div")({
1
+ import { jsx as t, jsxs as v, Fragment as D } from "react/jsx-runtime";
2
+ import { s as d, v as q, a as m, A as g, g as y, F as o2, i as r2, j as i2, p as a2, k as l2, H as d2, l as c2, m as C2, n as u2, o as p2, x as Z, q as P, r as k, c as Y, I as m2, t as v2, w as L2, f as E2, N as A, y as G, B as h2, D as S2, C as g2, R as _2, E as W, G as j, d as V, J as N2, K as f2, S as T2, L as I2, M as R2 } from "./provider.js";
3
+ import { useRef as f, useState as _, useEffect as L, createContext as A2, useContext as X, lazy as y2, useMemo as R, Suspense as b2, forwardRef as D2, useLayoutEffect as k2, useCallback as M, Component as O2 } from "react";
4
+ import { u as F2 } from "./index2.js";
5
+ import { Q as B2, S as O } from "./useStreamLayerApp2.js";
6
+ const V2 = /* @__PURE__ */ d("div")({
7
7
  name: "SDKContainer",
8
8
  class: "s8zgqze",
9
9
  propsAsIs: !1
10
- }), B2 = /* @__PURE__ */ l("div")({
10
+ }), w2 = /* @__PURE__ */ d("div")({
11
11
  name: "SDKScrollContainer",
12
12
  class: "s6t897k",
13
13
  propsAsIs: !1
14
- }), J = /* @__PURE__ */ l("div")({
14
+ }), J = /* @__PURE__ */ d("div")({
15
15
  name: "SDKContentContainer",
16
16
  class: "sw7pkvp",
17
17
  propsAsIs: !1
18
- }), H2 = () => J, $2 = /* @__PURE__ */ l(H2())({
18
+ }), H2 = () => J, P2 = /* @__PURE__ */ d(H2())({
19
19
  name: "SDKWhiteContainer",
20
20
  class: "s14gkn7u",
21
21
  propsAsIs: !0
22
- }), P2 = /* @__PURE__ */ l("div")({
22
+ }), $2 = /* @__PURE__ */ d("div")({
23
23
  name: "TabsContainer",
24
24
  class: "t1yxstm9",
25
25
  propsAsIs: !1
26
- }), U2 = /* @__PURE__ */ l("div")({
26
+ }), U2 = /* @__PURE__ */ d("div")({
27
27
  name: "UserSummaryContainer",
28
28
  class: "udpty1s",
29
29
  propsAsIs: !1
@@ -34,32 +34,32 @@ const w2 = /* @__PURE__ */ l("div")({
34
34
  ...n
35
35
  });
36
36
  }, G2 = 15, M2 = (s, e) => {
37
- const n = N(null), o = N(0), [r] = _(
37
+ const n = f(null), o = f(0), [r] = _(
38
38
  q({
39
39
  scrollPosition: 0,
40
40
  tabsShown: !0,
41
41
  scrollDirection: "forward"
42
42
  })
43
- ), i = p(e);
44
- return h(() => {
43
+ ), i = m(e);
44
+ return L(() => {
45
45
  const a = window.innerWidth < g.xl ? window : n.current;
46
46
  if (!a)
47
47
  return () => {
48
48
  };
49
- const C = A((u) => {
50
- var d;
51
- const c = u.target;
49
+ const C = y((l) => {
50
+ var u;
51
+ const c = l.target;
52
52
  if (!c)
53
53
  return;
54
- let v = 0;
55
- i.screen.size < g.xl ? v = ((d = s.current) == null ? void 0 : d.getBoundingClientRect().y) || 0 : v = c.scrollTop;
56
- const E = o.current - v;
54
+ let p = 0;
55
+ i.screen.size < g.xl ? p = ((u = s.current) == null ? void 0 : u.getBoundingClientRect().y) || 0 : p = c.scrollTop;
56
+ const E = o.current - p;
57
57
  if (G2 > Math.abs(E))
58
58
  return;
59
- const S = o.current < v ? "forward" : "backward";
60
- o.current = v, r.set({
61
- scrollPosition: Math.round(v),
62
- scrollDirection: S,
59
+ const h = o.current < p ? "forward" : "backward";
60
+ o.current = p, r.set({
61
+ scrollPosition: Math.round(p),
62
+ scrollDirection: h,
63
63
  tabsShown: r.get().tabsShown
64
64
  });
65
65
  }, 200);
@@ -67,7 +67,7 @@ const w2 = /* @__PURE__ */ l("div")({
67
67
  a.removeEventListener("scroll", C);
68
68
  };
69
69
  }, [r, s, i.screen]), [n, r];
70
- }, B = /* @__PURE__ */ l("div")({
70
+ }, w = /* @__PURE__ */ d("div")({
71
71
  name: "LoadingContainer",
72
72
  class: "l7wseip",
73
73
  propsAsIs: !1
@@ -78,20 +78,20 @@ const w2 = /* @__PURE__ */ l("div")({
78
78
  className: o,
79
79
  noWait: r
80
80
  }) => {
81
- const i = p(s.status), a = p(e.sdkStore.slStreamId);
81
+ const i = m(s.status), a = m(e.sdkStore.slStreamId);
82
82
  if (!r) {
83
83
  if (a != null && a.loading && !a.data)
84
- return /* @__PURE__ */ t(B, {
84
+ return /* @__PURE__ */ t(w, {
85
85
  className: o,
86
86
  children: "Event is loading..."
87
87
  });
88
88
  if (!(a != null && a.data))
89
- return /* @__PURE__ */ t(B, {
89
+ return /* @__PURE__ */ t(w, {
90
90
  className: o,
91
91
  children: "Event is forbidden..."
92
92
  });
93
93
  if (i !== o2.Ready)
94
- return /* @__PURE__ */ t(B, {
94
+ return /* @__PURE__ */ t(w, {
95
95
  className: o,
96
96
  children: "Wait feature..."
97
97
  });
@@ -99,7 +99,7 @@ const w2 = /* @__PURE__ */ l("div")({
99
99
  return n;
100
100
  }, s2 = A2({
101
101
  sdk: null
102
- }), P = () => X(s2), K2 = /* @__PURE__ */ l("div")({
102
+ }), $ = () => X(s2), K2 = /* @__PURE__ */ d("div")({
103
103
  name: "QuestionContainer",
104
104
  class: "qwgkhsv",
105
105
  propsAsIs: !1
@@ -109,7 +109,7 @@ const w2 = /* @__PURE__ */ l("div")({
109
109
  var e, n;
110
110
  const {
111
111
  sdk: o
112
- } = P();
112
+ } = $();
113
113
  return ((e = s == null ? void 0 : s.attributes) == null ? void 0 : e.attributes.case) === "insight" ? /* @__PURE__ */ t(a2, {
114
114
  ...s.attributes.attributes.value,
115
115
  controlVideo: o == null ? void 0 : o.controlVideoPlayer
@@ -136,14 +136,14 @@ const w2 = /* @__PURE__ */ l("div")({
136
136
  gamification: s
137
137
  }) => {
138
138
  var e;
139
- const n = p(s.openedQuestion.$store), o = p(s.openedQuestion.$extendedStore);
139
+ const n = m(s.openedQuestion.$store), o = m(s.openedQuestion.$extendedStore);
140
140
  if (!n)
141
141
  return null;
142
142
  const r = n.type;
143
- return /* @__PURE__ */ L(K2, {
143
+ return /* @__PURE__ */ v(K2, {
144
144
  children: [/* @__PURE__ */ t(r2, {
145
145
  close: s.closeQuestion,
146
- type: ((e = n.attributes) == null ? void 0 : e.type) || V2.UNSET
146
+ type: ((e = n.attributes) == null ? void 0 : e.type) || B2.UNSET
147
147
  }), r === "question" && /* @__PURE__ */ t(z2, {
148
148
  vote: s.submitAnswer,
149
149
  close: s.closeQuestion,
@@ -155,11 +155,11 @@ const w2 = /* @__PURE__ */ l("div")({
155
155
  })]
156
156
  });
157
157
  }, Z2 = ({ store: s, openQuestion: e }) => {
158
- const { sdk: n } = P(), o = p(s);
158
+ const { sdk: n } = $(), o = m(s);
159
159
  return /* @__PURE__ */ t(C2, { openQuestion: e, questions: o.data, controlVideo: n == null ? void 0 : n.controlVideoPlayer });
160
160
  }, Y2 = ({ userSummary: s }) => {
161
161
  var e;
162
- const n = p(s.$store);
162
+ const n = m(s.$store);
163
163
  return /* @__PURE__ */ t(
164
164
  u2,
165
165
  {
@@ -169,10 +169,10 @@ const w2 = /* @__PURE__ */ l("div")({
169
169
  successRate: (e = n == null ? void 0 : n.percentage) == null ? void 0 : e.correct
170
170
  }
171
171
  );
172
- }, W2 = ({ gamification: s, className: e, style: n }) => /* @__PURE__ */ L(P2, { className: e, style: n, children: [
173
- /* @__PURE__ */ t($2, { style: { paddingTop: "8px" }, children: /* @__PURE__ */ t(U2, { children: /* @__PURE__ */ t(Y2, { userSummary: s.userSummary }) }) }),
172
+ }, W2 = ({ gamification: s, className: e, style: n }) => /* @__PURE__ */ v($2, { className: e, style: n, children: [
173
+ /* @__PURE__ */ t(P2, { style: { paddingTop: "8px" }, children: /* @__PURE__ */ t(U2, { children: /* @__PURE__ */ t(Y2, { userSummary: s.userSummary }) }) }),
174
174
  /* @__PURE__ */ t(J, { style: { flex: 1 }, children: /* @__PURE__ */ t(Z2, { openQuestion: s.openQuestion, store: s.feedList.getStore() }) })
175
- ] }), j2 = () => $, X2 = /* @__PURE__ */ l(j2())({
175
+ ] }), j2 = () => P, X2 = /* @__PURE__ */ d(j2())({
176
176
  name: "OpenedContainer",
177
177
  class: "o1seszvt",
178
178
  propsAsIs: !0
@@ -185,68 +185,55 @@ const w2 = /* @__PURE__ */ l("div")({
185
185
  }), J2 = ({
186
186
  gamification: s,
187
187
  className: e,
188
- appNode: n,
189
- responsiveStore: o
188
+ appNode: n
190
189
  }) => {
191
- const r = p(s.openedQuestion.$store), {
192
- sdkInDesktopView: i
193
- } = p(o, {
194
- keys: ["sdkInDesktopView"]
195
- }), {
196
- hiding: a,
197
- onAnimationEnd: C
190
+ const o = m(s.openedQuestion.$store), {
191
+ hiding: r,
192
+ onAnimationEnd: i
198
193
  } = p2();
199
- return !n.current || !r ? null : /* @__PURE__ */ t(Z, {
194
+ return !n.current || !o ? null : /* @__PURE__ */ t(Z, {
200
195
  container: n,
201
- useContainer: !i,
196
+ useContainer: !1,
202
197
  children: /* @__PURE__ */ t(X2, {
203
198
  className: e,
204
- hiding: a,
205
- onAnimationEnd: C,
199
+ hiding: r,
200
+ onAnimationEnd: i,
206
201
  children: /* @__PURE__ */ t(q2, {
207
202
  gamification: s
208
203
  })
209
204
  })
210
205
  });
211
206
  }, e0 = y2(() => import("./gamification-feature2.js")), s0 = ({ sdk: s, feature: e, className: n }) => {
212
- const o = T(() => e && e.featureConfig.get().type === b.GAMES ? /* @__PURE__ */ t(x2, { className: n, sdk: s, feature: e, children: /* @__PURE__ */ t(e0, { className: n, gamification: e }) }) : null, [s, e, n]);
207
+ const o = R(() => e && e.featureConfig.get().type === O.GAMES ? /* @__PURE__ */ t(x2, { className: n, sdk: s, feature: e, children: /* @__PURE__ */ t(e0, { className: n, gamification: e }) }) : null, [s, e, n]);
213
208
  return /* @__PURE__ */ t(
214
- k2,
209
+ b2,
215
210
  {
216
211
  fallback: /* @__PURE__ */ t("div", { style: { display: "flex", alignItems: "center", justifyContent: "center", width: "100%", height: "100%" }, children: "page loading..." }),
217
212
  children: o
218
213
  }
219
214
  );
220
- }, n0 = ({ feature: s, className: e, appNode: n, responsiveStore: o }) => s && s.featureConfig.get().type === b.GAMES ? /* @__PURE__ */ t(
221
- J2,
222
- {
223
- className: e,
224
- appNode: n,
225
- responsiveStore: o,
226
- gamification: s
227
- }
228
- ) : null, t0 = /* @__PURE__ */ l("div")({
215
+ }, n0 = ({ feature: s, className: e, appNode: n }) => s && s.featureConfig.get().type === O.GAMES ? /* @__PURE__ */ t(J2, { className: e, appNode: n, gamification: s }) : null, t0 = /* @__PURE__ */ d("div")({
229
216
  name: "Navigation",
230
217
  class: "n1o1tw60",
231
218
  propsAsIs: !1
232
- }), o0 = /* @__PURE__ */ l("div")({
219
+ }), o0 = /* @__PURE__ */ d("div")({
233
220
  name: "Container",
234
221
  class: "co2rstw",
235
222
  propsAsIs: !1
236
- }), r0 = /* @__PURE__ */ l("div")({
223
+ }), r0 = /* @__PURE__ */ d("div")({
237
224
  name: "Title",
238
225
  class: "t1bqnx9c",
239
226
  propsAsIs: !1
240
- }), i0 = () => Y, a0 = /* @__PURE__ */ l(i0())({
227
+ }), i0 = () => Y, a0 = /* @__PURE__ */ d(i0())({
241
228
  name: "HeaderIcon",
242
229
  class: "hlc2pcy",
243
230
  propsAsIs: !0
244
231
  }), l0 = "h1aqxe8k", d0 = D2(({
245
232
  className: s
246
- }, e) => /* @__PURE__ */ L(t0, {
247
- className: D(s, l0),
233
+ }, e) => /* @__PURE__ */ v(t0, {
234
+ className: k(s, l0),
248
235
  children: [/* @__PURE__ */ t(o0, {
249
- children: /* @__PURE__ */ L(r0, {
236
+ children: /* @__PURE__ */ v(r0, {
250
237
  children: [/* @__PURE__ */ t(a0, {
251
238
  name: "icon-trivia-transparent"
252
239
  }), "Game Center"]
@@ -254,58 +241,58 @@ const w2 = /* @__PURE__ */ l("div")({
254
241
  }), /* @__PURE__ */ t("div", {
255
242
  ref: e
256
243
  })]
257
- })), c0 = /* @__PURE__ */ l("div")({
244
+ })), c0 = /* @__PURE__ */ d("div")({
258
245
  name: "Container",
259
246
  class: "czz4rjk",
260
247
  propsAsIs: !1
261
- }), C0 = /* @__PURE__ */ l("div")({
248
+ }), C0 = /* @__PURE__ */ d("div")({
262
249
  name: "CloseIconWrap",
263
250
  class: "cxmojsy",
264
251
  propsAsIs: !1
265
- }), u0 = () => Y, p0 = /* @__PURE__ */ l(u0())({
252
+ }), u0 = () => Y, p0 = /* @__PURE__ */ d(u0())({
266
253
  name: "CloseIcon",
267
254
  class: "c1urm3yx",
268
255
  propsAsIs: !0
269
- }), v0 = /* @__PURE__ */ l("div")({
256
+ }), m0 = /* @__PURE__ */ d("div")({
270
257
  name: "Title",
271
258
  class: "tme976v",
272
259
  propsAsIs: !1
273
- }), m0 = /* @__PURE__ */ l("img")({
260
+ }), v0 = /* @__PURE__ */ d("img")({
274
261
  name: "SponsorLogo",
275
262
  class: "s1lal9yz",
276
263
  propsAsIs: !1
277
- }), L0 = /* @__PURE__ */ l("div")({
264
+ }), L0 = /* @__PURE__ */ d("div")({
278
265
  name: "PresentsTitle",
279
266
  class: "pnn1sv1",
280
267
  propsAsIs: !1
281
- }), E0 = /* @__PURE__ */ l("div")({
268
+ }), E0 = /* @__PURE__ */ d("div")({
282
269
  name: "Subtitle",
283
270
  class: "s1hjj1y8",
284
271
  propsAsIs: !1
285
- }), h0 = /* @__PURE__ */ l("div")({
272
+ }), h0 = /* @__PURE__ */ d("div")({
286
273
  name: "Description",
287
274
  class: "dz7yjzw",
288
275
  propsAsIs: !1
289
- }), S0 = /* @__PURE__ */ l("button")({
276
+ }), S0 = /* @__PURE__ */ d("button")({
290
277
  name: "ActionButton",
291
278
  class: "avpowqk",
292
279
  propsAsIs: !1
293
280
  }), x = ({ close: s, action: e, onboarding: n }) => {
294
- var o, r, i, a, C, u, d, c;
295
- return /* @__PURE__ */ L(c0, { children: [
281
+ var o, r, i, a, C, l, u, c;
282
+ return /* @__PURE__ */ v(c0, { children: [
296
283
  /* @__PURE__ */ t(C0, { onClick: s, children: /* @__PURE__ */ t(p0, { name: "icon-cross" }) }),
297
- ((r = (o = n == null ? void 0 : n.titleCard) == null ? void 0 : o.media) == null ? void 0 : r.sponsorLogo) && /* @__PURE__ */ L(v0, { children: [
298
- /* @__PURE__ */ t(m0, { alt: "sponsor-logo", src: (a = (i = n == null ? void 0 : n.titleCard) == null ? void 0 : i.media) == null ? void 0 : a.sponsorLogo }),
284
+ ((r = (o = n == null ? void 0 : n.titleCard) == null ? void 0 : o.media) == null ? void 0 : r.sponsorLogo) && /* @__PURE__ */ v(m0, { children: [
285
+ /* @__PURE__ */ t(v0, { alt: "sponsor-logo", src: (a = (i = n == null ? void 0 : n.titleCard) == null ? void 0 : i.media) == null ? void 0 : a.sponsorLogo }),
299
286
  /* @__PURE__ */ t(L0, { children: "PRESENTS" })
300
287
  ] }),
301
- ((C = n == null ? void 0 : n.titleCard) == null ? void 0 : C.title) && /* @__PURE__ */ t(E0, { children: (u = n == null ? void 0 : n.titleCard) == null ? void 0 : u.title }),
302
- ((d = n == null ? void 0 : n.titleCard) == null ? void 0 : d.subtitle) && /* @__PURE__ */ t(h0, { children: (c = n == null ? void 0 : n.titleCard) == null ? void 0 : c.subtitle }),
288
+ ((C = n == null ? void 0 : n.titleCard) == null ? void 0 : C.title) && /* @__PURE__ */ t(E0, { children: (l = n == null ? void 0 : n.titleCard) == null ? void 0 : l.title }),
289
+ ((u = n == null ? void 0 : n.titleCard) == null ? void 0 : u.subtitle) && /* @__PURE__ */ t(h0, { children: (c = n == null ? void 0 : n.titleCard) == null ? void 0 : c.subtitle }),
303
290
  /* @__PURE__ */ t(S0, { onClick: e, children: "Play Now" })
304
291
  ] });
305
292
  }, g0 = "data:image/svg+xml,%3csvg%20width='92'%20height='19'%20viewBox='0%200%2092%2019'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M14.1701%200.953996C13.9047%200.873145%2013.6393%201.0177%2013.3739%201.1647C13.2797%201.21615%2013.2127%201.3068%2013.1904%201.4097L12.7736%203.33298C12.7588%203.40404%2012.8233%203.46774%2012.8952%203.45304C13.3342%203.35504%2013.7509%202.97528%2014.19%203.10758C14.6811%203.25703%2015.1722%202.64207%2015.6634%202.64942V0.429688C15.1698%200.432138%2014.6613%201.10345%2014.1701%200.953996Z'%20fill='%23006747'/%3e%3cpath%20d='M20.4404%206.84786C20.3362%206.77681%2020.2717%206.66166%2020.2717%206.53671V6.18635C20.2717%205.87275%2020.0138%205.61549%2019.6938%205.61549H19.4631C19.1878%205.61549%2018.9348%205.75269%2018.7859%205.98055L18.0418%207.11492C17.9674%207.22762%2017.8434%207.29377%2017.7094%207.29377H17.2084C16.9603%207.29377%2016.7321%207.42852%2016.6131%207.64412C16.4915%207.86708%2016.2757%208.02143%2016.0302%208.07288V0.181303C16.0302%200.0808513%2015.9483%200%2015.8466%200C15.7449%200%2015.663%200.0808513%2015.663%200.181303V0.426307V2.64604V8.07778C15.4175%208.02633%2015.2017%207.87198%2015.0801%207.64657C14.9636%207.43097%2014.7354%207.29622%2014.4848%207.29622H14.1475C13.8796%207.29622%2013.639%207.45057%2013.5298%207.69312L13.2496%208.31299C13.2049%208.41099%2013.1057%208.47469%2012.9965%208.47469C12.8874%208.47469%2012.7882%208.41099%2012.7435%208.31299L12.4633%207.69312C12.3541%207.45302%2012.1135%207.29622%2011.8456%207.29622H2.33802C2.26113%207.29622%202.19911%207.35747%202.19911%207.43342C2.19911%207.59512%202.06517%207.72498%201.90394%207.72498H1.49218C1.41529%207.72498%201.35328%207.78623%201.35328%207.86218V8.33504C1.35328%208.77849%201.26646%209.2097%201.09283%209.61886L0.842303%2010.2142C0.60914%2010.7655%200.5%2011.3363%200.5%2011.8974V13.2694C0.5%2013.6394%200.55457%2014.0142%200.66371%2014.3793C0.968807%2015.4034%201.66334%2016.2413%202.61831%2016.7362L4.13883%2017.5276C4.15868%2017.5374%204.181%2017.5423%204.20332%2017.5423L5.32697%2017.5521C5.5899%2017.5545%205.84787%2017.6207%206.07855%2017.7481L6.6813%2018.0813C6.70115%2018.0935%206.72595%2018.0984%206.75076%2018.0984H7.5569C7.83968%2018.0984%208.11997%2018.1744%208.36057%2018.3189C8.36057%2018.3189%208.75497%2018.5566%208.88891%2018.6326C9.10223%2018.7551%209.3602%2018.8727%209.80916%2018.8972C9.91086%2018.9021%2010.0126%2018.8653%2010.0895%2018.7943C10.1639%2018.7232%2010.2085%2018.6228%2010.2085%2018.5223V17.9882C10.2085%2017.6011%2010.4392%2017.2483%2010.7989%2017.0939L12.0317%2016.5598C12.2003%2016.4863%2012.3888%2016.4741%2012.5649%2016.528L13.0263%2016.6627C13.2223%2016.7191%2013.4306%2016.7215%2013.6266%2016.6627L14.718%2016.3418C14.8619%2016.3001%2015.0156%2016.3001%2015.162%2016.3442L15.606%2016.4667C15.8119%2016.5231%2015.9582%2016.7142%2015.9582%2016.9249V17.9931C15.9582%2018.4905%2016.3675%2018.8972%2016.871%2018.8972C17.2481%2018.8972%2017.578%2018.6595%2017.6921%2018.3042C17.8979%2017.6648%2018.0021%2016.9984%2018.0021%2016.3271V15.8714C18.0021%2015.548%2018.1385%2015.2368%2018.3767%2015.0138L18.8306%2014.59C19.1357%2014.3033%2019.3118%2013.8966%2019.3118%2013.4801V10.9468C19.3118%2010.5548%2019.4309%2010.175%2019.6591%209.85161C19.6764%209.82956%2019.6839%209.80016%2019.6839%209.77321V9.1754C19.6839%208.78584%2019.8029%208.40854%2020.0262%208.08758L20.4751%207.44322C20.4925%207.42117%2020.4999%207.39422%2020.4999%207.36482V6.96056C20.5024%206.88461%2020.4553%206.85766%2020.4404%206.84786ZM16.0302%2012.8554C16.3352%2012.9019%2016.5634%2013.0563%2016.5634%2013.2425C16.5634%2013.4287%2016.3377%2013.583%2016.0302%2013.6296V12.8554ZM2.98046%2016.6137L2.74978%2016.4937C2.12222%2016.1678%201.62117%2015.6827%201.27886%2015.0922V14.3523C1.67078%2014.9134%202.20407%2015.3912%202.85644%2015.7317L2.98046%2015.7954V16.6137ZM4.14131%2017.2189L3.52616%2016.9004V16.0821L4.13883%2016.4006H4.14131V17.2189ZM6.70115%2017.775L6.21498%2017.5055C5.94957%2017.3585%205.65191%2017.2801%205.34682%2017.2752V16.4226C5.6023%2016.4275%205.85531%2016.4937%206.07855%2016.6162L6.6813%2016.9494C6.68626%2016.9518%206.6937%2016.9518%206.70115%2016.9543V17.775ZM9.92822%2017.9882V18.4047V18.5223C9.92822%2018.5493%209.91582%2018.5762%209.89598%2018.5958C9.87613%2018.6154%209.85133%2018.6228%209.82404%2018.6228C9.43461%2018.6032%209.21137%2018.5027%209.0303%2018.3973C8.89883%2018.3214%208.50692%2018.0862%208.50444%2018.0862C8.25887%2017.9392%207.98106%2017.8583%207.69581%2017.8363V16.9788C7.92897%2017.0008%208.15718%2017.0694%208.36057%2017.1895L8.7004%2017.3904C9.07246%2017.6109%209.49662%2017.7358%209.92822%2017.7603V17.9882ZM13.2868%2016.4275C13.2272%2016.4251%2013.1652%2016.4153%2013.1057%2016.3981L12.6443%2016.2609C12.5451%2016.2315%2012.4434%2016.2217%2012.3417%2016.2217V15.3667C12.4161%2015.3667%2012.4905%2015.374%2012.5649%2015.3961L13.0263%2015.5308C13.1107%2015.5553%2013.1999%2015.5676%2013.2868%2015.5725V16.4275ZM16.1765%2016.6333C16.0872%2016.4275%2015.9111%2016.2634%2015.6854%2016.2021L15.2438%2016.0796C15.1397%2016.0478%2015.0305%2016.0355%2014.9214%2016.0355V15.1829C15.0057%2015.1804%2015.0901%2015.1902%2015.1719%2015.2172L15.5341%2015.3299C15.9185%2015.45%2016.1765%2015.7979%2016.1765%2016.1948V16.6333ZM17.449%2018.1474C17.4415%2018.1719%2017.4366%2018.1964%2017.4291%2018.2209C17.3522%2018.4611%2017.129%2018.6203%2016.876%2018.6203C16.8537%2018.6203%2016.8313%2018.6154%2016.809%2018.613V17.7628C16.8264%2017.7652%2016.8413%2017.7677%2016.8586%2017.7677C17.1067%2017.7677%2017.3324%2017.6305%2017.4515%2017.4222V18.1474H17.449ZM19.8302%207.48242C19.5524%207.87933%2019.4061%208.34484%2019.4061%208.82749V9.2489L19.1903%209.5576C18.91%209.95696%2018.7611%2010.4249%2018.7611%2010.91V13.0342C18.7611%2013.3772%2018.6173%2013.7129%2018.3643%2013.9481L17.9103%2014.3744C17.6052%2014.661%2017.4366%2015.0628%2017.449%2015.4794L17.4515%2015.5749C17.4688%2016.1262%2017.3969%2016.675%2017.2406%2017.2042C17.191%2017.3732%2017.0323%2017.4908%2016.8561%2017.4908C16.6354%2017.4908%2016.4543%2017.3144%2016.4543%2017.0939V16.1948C16.4543%2015.6754%2016.117%2015.2221%2015.6159%2015.0677L15.2538%2014.955C15.0528%2014.8938%2014.842%2014.8913%2014.6386%2014.9501L13.5472%2015.2686C13.4033%2015.3103%2013.2496%2015.3103%2013.1057%2015.2686L12.6443%2015.1339C12.4062%2015.0628%2012.1482%2015.08%2011.92%2015.178L10.9502%2015.5994C10.3301%2015.8689%209.9307%2016.4741%209.9307%2017.1429V17.4884C9.54871%2017.4663%209.17664%2017.3536%208.84674%2017.1576L8.50692%2016.9567C8.21919%2016.7877%207.89177%2016.697%207.5569%2016.697H6.78548L6.21498%2016.381C5.94461%2016.2315%205.63951%2016.1531%205.32945%2016.1507L4.23805%2016.1433L2.98542%2015.4916C1.08539%2014.5042%200.274278%2012.2821%201.10027%2010.322L1.3508%209.72666C1.53683%209.28565%201.63357%208.81769%201.63357%208.33749V8.00428H1.90394C2.17183%208.00428%202.40003%207.82053%202.46204%207.57307H11.8481C12.0044%207.57307%2012.1482%207.66372%2012.2102%207.80583L12.4905%208.42569C12.5798%208.62414%2012.7783%208.75154%2012.999%208.75154C13.2173%208.75154%2013.4182%208.62414%2013.5075%208.42569L13.7878%207.80338C13.8523%207.66127%2013.9937%207.57062%2014.15%207.57062H14.4873C14.6337%207.57062%2014.7676%207.64902%2014.837%207.77643C15.0082%208.09003%2015.3158%208.30074%2015.6655%208.35709V12.2575C15.1025%2012.3188%2014.6709%2012.6496%2014.6709%2013.0514C14.6709%2013.4973%2015.1967%2013.8574%2015.8466%2013.8574C16.4965%2013.8574%2017.0223%2013.4973%2017.0223%2013.0514C17.0223%2012.6496%2016.5907%2012.3163%2016.0277%2012.2575V8.35464C16.3774%208.29828%2016.685%208.08758%2016.8561%207.77398C16.9256%207.64657%2017.0595%207.56817%2017.2059%207.56817H17.7069C17.9376%207.56817%2018.1485%207.45302%2018.275%207.26192L19.0191%206.12755C19.1158%205.9781%2019.282%205.8899%2019.4631%205.8899H19.6938C19.8575%205.8899%2019.9914%206.0222%2019.9914%206.1839V6.53426C19.9914%206.70331%2020.0584%206.86501%2020.175%206.98506L19.8302%207.48242ZM15.663%2012.8554V13.6296C15.3579%2013.583%2015.1322%2013.4287%2015.1322%2013.2425C15.1322%2013.0563%2015.3579%2012.8995%2015.663%2012.8554Z'%20fill='%23006747'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M43.6355%2014.2212L45.783%206.63627C46.0175%205.80901%2046.629%205.14498%2047.4288%204.848L47.4874%204.60107H44.5028L39.434%2010.6989L37.4942%204.60107H34.7636L34.6978%204.848C35.1653%205.08213%2035.423%205.78176%2035.423%206.35097V6.38628C35.423%209.63469%2033.0443%2015.2183%2029.6984%2015.2183C28.3982%2015.2183%2027.7242%2014.2901%2027.7242%2013.5165C27.7242%2012.5794%2028.5003%2011.9129%2029.3191%2011.9129C30.112%2011.9129%2030.2342%2012.211%2030.6909%2012.211C30.9696%2012.211%2031.2366%2012.0667%2031.3701%2011.8195C31.5797%2011.4313%2031.4208%2010.9572%2031.0376%2010.7714L30.8283%2010.6705C28.8775%209.72228%2026.6152%2011.1582%2026.6152%2013.3453V13.3756C26.6152%2014.9675%2027.8525%2016.2989%2029.4275%2016.3545C33.4867%2016.4983%2036.2019%2010.9661%2036.6338%206.91684L36.9458%208.01243L38.5448%2012.8545H39.1504L44.1452%206.83425L42.0498%2014.229C41.8094%2015.0773%2041.1437%2015.7344%2040.2985%2015.958L40.2399%2016.2049H44.2561L44.3216%2015.958C43.7283%2015.6043%2043.4461%2014.8902%2043.6355%2014.2212Z'%20fill='%23006747'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M51.9847%2012.6335H50.0625C50.2808%2012.034%2050.4898%2011.4617%2050.5603%2011.2743C51.0465%209.97682%2051.971%209.45183%2052.8665%209.37842L52.8572%209.3862L51.9847%2012.6335ZM53.7159%208.72607H53.6817C51.8071%208.7283%2049.7916%208.91155%2048.719%2011.9903C47.8179%2014.5767%2047.5745%2015.6481%2046.8705%2015.6481C46.4204%2015.6481%2046.5297%2014.763%2045.8549%2014.763C45.5509%2014.763%2045.2332%2015.0093%2045.2104%2015.3661C45.1705%2015.9826%2045.9909%2016.3555%2046.6092%2016.3555C48.4929%2016.3555%2049.2148%2014.9671%2049.4505%2014.3203C49.481%2014.2358%2049.6473%2013.778%2049.8436%2013.2386H51.8231L51.4878%2014.4866C51.3107%2015.145%2050.9465%2015.6839%2050.3304%2015.9595L50.2772%2016.2062H53.5154L53.5755%2015.9595C53.1372%2015.5941%2052.9469%2015.0082%2053.089%2014.4627L54.3075%209.78302C54.4011%209.42403%2054.6472%209.12789%2054.9809%208.973L55.0338%208.72607H53.9785H53.7159Z'%20fill='%23006747'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M70.056%209.26026C70.1601%209.08619%2070.2595%208.82035%2070.2595%208.67186L70.2597%208.67103C70.2741%208.39018%2070.0208%208.17273%2069.7488%208.23196H69.7482C69.5304%208.27951%2069.373%208.47499%2069.3771%208.70023C69.3807%208.93436%2069.3341%209.18574%2069.2353%209.30836C69.0082%209.59116%2068.645%209.56697%2066.9717%209.08174V9.07896C66.8186%209.03363%2066.6504%208.98414%2066.4731%208.93492C66.4637%208.93241%2066.4549%208.92963%2066.4453%208.92657L66.4456%208.92741C65.6106%208.698%2064.5732%208.4875%2063.8929%208.82869C63.8874%208.83148%2063.8816%208.83453%2063.8764%208.83704C63.2118%209.17406%2062.7479%209.81223%2062.6086%2010.5502C62.5879%2010.6587%2062.5728%2010.7468%2062.5711%2010.7788V10.7799C62.5513%2011.1675%2062.9009%2011.4679%2063.2767%2011.3864L63.2773%2011.3858C63.5821%2011.3196%2063.7965%2011.0441%2063.7902%2010.7296C63.7836%2010.4117%2063.7205%209.98741%2063.8918%209.70267C64.1674%209.31059%2064.4537%209.28278%2065.7361%209.71462L64.3436%2014.4877C64.1514%2015.1456%2063.6812%2015.6848%2063.059%2015.9601L63.0001%2016.2073H66.3319L66.3977%2015.9601C65.9679%2015.595%2065.7906%2015.0088%2065.9453%2014.4635L67.1628%2010.1637C67.6969%2010.276%2068.2381%2010.305%2068.7651%2010.1531L68.9548%2010.0986C69.3787%209.97629%2069.8129%209.6668%2070.056%209.26026Z'%20fill='%23006747'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M71.3889%208.72607L71.3234%208.97328C71.736%209.26108%2071.9219%209.78079%2071.7886%2010.2671L70.5506%2014.4816C70.3584%2015.14%2069.8882%2015.6789%2069.2659%2015.9542L69.207%2016.2011H70.9696H71.1306H75.1868L75.7226%2014.2252H75.4709L75.3806%2014.4145C75.0447%2015.1206%2074.3372%2015.5699%2073.5614%2015.5699H71.8415L72.7572%2012.2623L73.4878%2012.2615C73.9807%2012.2612%2074.3512%2012.7153%2074.2568%2013.2036H74.5084L75.1094%2010.9679H74.8578C74.7122%2011.3814%2074.3253%2011.6578%2073.8904%2011.658L72.9243%2011.6592L73.5597%209.36341L75.3825%209.36202C75.9775%209.36146%2076.4229%209.9126%2076.304%2010.5015H76.5556L77.033%208.72607H71.3889Z'%20fill='%23006747'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M82.8655%2010.5324C82.6668%2011.2028%2082.0564%2011.6627%2081.3632%2011.6627L80.3076%2011.6636L80.9466%209.36726L82.0055%209.3667C82.6067%209.36642%2083.0379%209.9512%2082.8655%2010.5324ZM82.7978%208.72998H78.7711L78.7053%208.97691C79.0919%209.24636%2079.2791%209.71935%2079.1921%2010.1779L77.9311%2014.4846C77.739%2015.1431%2077.269%2015.682%2076.6465%2015.9573L76.5879%2016.2048H79.9164L79.9822%2015.9573C79.5524%2015.5922%2079.3754%2015.006%2079.5296%2014.4607L80.14%2012.2662H80.3944C80.7787%2012.2665%2081.1014%2012.5584%2081.1438%2012.9444C81.1578%2013.069%2081.3505%2014.5947%2081.5044%2015.1195C81.7059%2015.8052%2081.9705%2016.205%2082.5729%2016.205H84.0788L84.1375%2015.9578L83.9219%2015.8288C83.4966%2015.5738%2083.1885%2015.1773%2083.0508%2014.6531C82.9203%2014.1585%2082.677%2013.2372%2082.5578%2012.7495C82.4961%2012.4981%2082.1866%2012.2654%2081.8667%2012.2654L82.3741%2012.2651C83.284%2012.2645%2084.0827%2011.6525%2084.328%2010.7671C84.611%209.74382%2083.8495%208.72998%2082.7978%208.72998Z'%20fill='%23006747'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M60.6842%209.10931C60.576%209.10931%2060.3431%209.03478%2059.9858%208.88463C59.6281%208.73447%2059.2669%208.65967%2058.9027%208.65967C58.1467%208.65967%2057.5157%208.90687%2056.9997%209.4352C56.5703%209.87483%2056.3795%2010.3628%2056.3795%2010.7852C56.3795%2011.2349%2056.6399%2011.7635%2057.1616%2012.1909C57.6542%2012.5949%2058.1668%2012.982%2058.68%2013.3771C59.2196%2013.8134%2059.4897%2014.2158%2059.4897%2014.5431C59.4897%2015.2616%2059.0269%2015.6481%2058.0688%2015.6481C57.0953%2015.6481%2056.4221%2014.9276%2056.2063%2013.5782H55.9431L55.1777%2016.2045H55.4203C55.7366%2015.9807%2055.9615%2015.8366%2056.4202%2015.8366C56.858%2015.8366%2057.3257%2016.3558%2058.3229%2016.3558C59.1191%2016.3558%2059.7493%2016.189%2060.2892%2015.6434C60.7481%2015.1668%2060.9775%2014.4994%2060.9775%2013.9538C60.9775%2013.4494%2060.6644%2012.8613%2060.1174%2012.4375C59.648%2012.0741%2059.1453%2011.7496%2058.6596%2011.3948C58.1332%2010.9993%2057.87%2010.6637%2057.87%2010.2956C57.87%2010.0906%2057.9713%209.88651%2058.174%209.68213C58.43%209.42325%2058.773%209.36596%2059.232%209.36596C60.1529%209.36596%2060.7974%209.88429%2060.8516%2010.9746H61.0945L61.7368%208.65967H61.4939C61.2373%208.95971%2060.9675%209.10931%2060.6842%209.10931Z'%20fill='%23006747'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M89.1717%209.36569C90.0926%209.36569%2090.7374%209.88401%2090.7914%2010.9743H91.0345L91.6765%208.65967H91.4334C91.1771%208.95915%2090.9075%209.10903%2090.6237%209.10903C90.5158%209.10903%2090.2829%209.03423%2089.9252%208.88435C89.5676%208.73447%2089.2067%208.65967%2088.8422%208.65967C88.0864%208.65967%2087.4554%208.90687%2086.9395%209.43493C86.51%209.87455%2086.3192%2010.3628%2086.3192%2010.785C86.3192%2011.2351%2086.5796%2011.7629%2087.1014%2012.1909C87.5939%2012.5949%2088.1065%2012.9817%2088.6197%2013.3768C89.159%2013.8134%2089.4294%2014.2158%2089.4294%2014.5428C89.4294%2015.2613%2088.9666%2015.6478%2088.0085%2015.6478C87.035%2015.6478%2086.3619%2014.9274%2086.1458%2013.5782H85.8826L85.1172%2016.2045H85.3603C85.6763%2015.9807%2085.9013%2015.8366%2086.3597%2015.8366C86.7977%2015.8366%2087.2652%2016.3558%2088.2626%2016.3558C89.0588%2016.3558%2089.689%2016.1884%2090.2289%2015.6434C90.6878%2015.1662%2090.9172%2014.4991%2090.9172%2013.9538C90.9172%2013.4494%2090.6041%2012.8613%2090.0574%2012.4375C89.5877%2012.0738%2089.0853%2011.7493%2088.5996%2011.3945C88.0729%2010.9993%2087.8097%2010.6632%2087.8097%2010.295C87.8097%2010.0909%2087.911%209.88623%2088.1134%209.68185C88.3697%209.42297%2088.7128%209.36569%2089.1717%209.36569Z'%20fill='%23006747'/%3e%3c/svg%3e", H = [{
306
293
  graphicSrc: "https://cdn.streamlayer.io/assets/sdk-web/onboarding-steps/step_1.png",
307
294
  tagline: "Featured groups+ experience",
308
- headline: /* @__PURE__ */ L(k, {
295
+ headline: /* @__PURE__ */ v(D, {
309
296
  children: ["Welcome to ", /* @__PURE__ */ t("br", {}), " Featured Groups +"]
310
297
  })
311
298
  }, {
@@ -320,19 +307,19 @@ const w2 = /* @__PURE__ */ l("div")({
320
307
  }, {
321
308
  graphicSrc: "https://cdn.streamlayer.io/assets/sdk-web/onboarding-steps/step_5.png",
322
309
  headline: "Compete against friends on the leaderboard"
323
- }], _0 = /* @__PURE__ */ l("div")({
310
+ }], _0 = /* @__PURE__ */ d("div")({
324
311
  name: "OnboardingContainer",
325
312
  class: "on59ra",
326
313
  propsAsIs: !1
327
- }), N0 = () => $, f0 = /* @__PURE__ */ l(N0())({
314
+ }), N0 = () => P, f0 = /* @__PURE__ */ d(N0())({
328
315
  name: "OnboardingNotificationContainer",
329
316
  class: "op1wk5d",
330
317
  propsAsIs: !0
331
- }), K = /* @__PURE__ */ l("div")({
318
+ }), K = /* @__PURE__ */ d("div")({
332
319
  name: "InnerContainer",
333
320
  class: "i1i1g2vj",
334
321
  propsAsIs: !1
335
- }), I0 = ({
322
+ }), T0 = ({
336
323
  deepLink: s,
337
324
  onboardingOpts: e,
338
325
  notification: n,
@@ -340,23 +327,23 @@ const w2 = /* @__PURE__ */ l("div")({
340
327
  loading: r,
341
328
  sdk: i
342
329
  }) => {
343
- var a, C, u, d, c, v, E;
344
- const S = p(o.friends.getStore()), [O, F] = _(void 0), V = T(() => {
345
- var m, f;
330
+ var a, C, l, u, c, p, E;
331
+ const h = m(o.friends.getStore()), [F, B] = _(void 0), S = R(() => {
332
+ var N, T;
346
333
  const U = i.getInviter();
347
- return U ? (f = (m = S.data) == null ? void 0 : m.find(({
334
+ return U ? (T = (N = h.data) == null ? void 0 : N.find(({
348
335
  slId: t2
349
- }) => t2 === U)) == null ? void 0 : f.name : "";
350
- }, [S.data, i]);
351
- return h(() => {
352
- const m = s.$store.subscribe((f) => {
353
- f && F(f.data);
336
+ }) => t2 === U)) == null ? void 0 : T.name : "";
337
+ }, [h.data, i]);
338
+ return L(() => {
339
+ const N = s.$store.subscribe((T) => {
340
+ T && B(T.data);
354
341
  });
355
342
  return () => {
356
- m();
343
+ N();
357
344
  };
358
345
  }, [s.$store]), /* @__PURE__ */ t(_0, {
359
- children: /* @__PURE__ */ t(m2, {
346
+ children: /* @__PURE__ */ t(v2, {
360
347
  loading: r,
361
348
  rules: [{
362
349
  label: "Answer as many questions as you like.",
@@ -371,62 +358,61 @@ const w2 = /* @__PURE__ */ l("div")({
371
358
  rulesBtnLabel: (a = e.rules) == null ? void 0 : a.buttonLabel,
372
359
  rulesTitle: (C = e.rules) == null ? void 0 : C.heading,
373
360
  termsTitle: "Terms and Conditions",
374
- termsText: (u = e.rules) == null ? void 0 : u.terms,
361
+ termsText: (l = e.rules) == null ? void 0 : l.terms,
375
362
  steps: H,
376
- primaryColor: (d = e.inviteCard) == null ? void 0 : d.iconColor,
377
- inviteLink: O,
363
+ primaryColor: (u = e.inviteCard) == null ? void 0 : u.iconColor,
364
+ inviteLink: F,
378
365
  inviteCardTitle: (c = e.inviteCard) == null ? void 0 : c.heading,
379
- inviteCardSubtext: (v = e.inviteCard) == null ? void 0 : v.subtext,
366
+ inviteCardSubtext: (p = e.inviteCard) == null ? void 0 : p.subtext,
380
367
  inviteCardBtnLabel: (E = e.inviteCard) == null ? void 0 : E.buttonLabel,
381
368
  onClose: () => {
382
- var m;
383
- (m = n.close) == null || m.call(n);
369
+ var N;
370
+ (N = n.close) == null || N.call(n);
384
371
  },
385
372
  gamification: o,
386
373
  sdk: i,
387
- inviterName: V
374
+ inviterName: S
388
375
  })
389
376
  });
390
- }, T0 = ({
377
+ }, I0 = ({
391
378
  sdk: s,
392
379
  notification: e,
393
380
  saveHeight: n,
394
381
  style: o,
395
382
  appNode: r,
396
- sdkInDesktopView: i,
397
- responsiveStore: a
383
+ responsiveStore: i
398
384
  }) => {
399
- var C;
400
- const u = N(null), d = e.data.onboarding, [c, v] = _(d == null ? void 0 : d.instantOpen), E = s.getFeature(b.GAMES), S = T(() => H == null ? void 0 : H.map(({
401
- graphicSrc: m
402
- }) => m), []), {
403
- screen: O
404
- } = p(a, {
385
+ var a;
386
+ const C = f(null), l = e.data.onboarding, [u, c] = _(l == null ? void 0 : l.instantOpen), p = s.getFeature(O.GAMES), E = R(() => H == null ? void 0 : H.map(({
387
+ graphicSrc: S
388
+ }) => S), []), {
389
+ screen: h
390
+ } = m(i, {
405
391
  keys: ["screen"]
406
392
  });
407
- (C = d == null ? void 0 : d.titleCard) != null && C.media && (d.titleCard.media.sponsorLogo = g0), b2(() => {
408
- var m;
409
- n(((m = u.current) == null ? void 0 : m.getBoundingClientRect().height) || 0);
393
+ (a = l == null ? void 0 : l.titleCard) != null && a.media && (l.titleCard.media.sponsorLogo = g0), k2(() => {
394
+ var S;
395
+ n(((S = C.current) == null ? void 0 : S.getBoundingClientRect().height) || 0);
410
396
  }, [n]);
411
397
  const {
412
398
  loading: F,
413
- throttled: V
414
- } = v2(S);
415
- return c && E && d && r.current && !V ? /* @__PURE__ */ t(Z, {
399
+ throttled: B
400
+ } = m2(E);
401
+ return u && p && l && r.current && !B ? /* @__PURE__ */ t(Z, {
416
402
  container: r,
417
- useContainer: !i,
418
- children: /* @__PURE__ */ t(I0, {
403
+ useContainer: !1,
404
+ children: /* @__PURE__ */ t(T0, {
419
405
  notification: e,
420
- setOpened: v,
421
- gamification: E,
422
- onboardingOpts: d,
423
- deepLink: E.deepLink,
406
+ setOpened: c,
407
+ gamification: p,
408
+ onboardingOpts: l,
409
+ deepLink: p.deepLink,
424
410
  loading: F,
425
411
  sdk: s
426
412
  })
427
- }) : /* @__PURE__ */ L(k, {
413
+ }) : /* @__PURE__ */ v(D, {
428
414
  children: [/* @__PURE__ */ t(K, {
429
- ref: u,
415
+ ref: C,
430
416
  style: {
431
417
  position: "absolute",
432
418
  visibility: "hidden"
@@ -436,7 +422,7 @@ const w2 = /* @__PURE__ */ l("div")({
436
422
  },
437
423
  action: () => {
438
424
  },
439
- onboarding: d
425
+ onboarding: l
440
426
  })
441
427
  }), /* @__PURE__ */ t(f0, {
442
428
  style: o,
@@ -445,41 +431,41 @@ const w2 = /* @__PURE__ */ l("div")({
445
431
  children: /* @__PURE__ */ t(x, {
446
432
  close: e.close,
447
433
  action: () => {
448
- var m;
449
- v(!0), (((m = r.current) == null ? void 0 : m.getBoundingClientRect().y) || 0) < 0 && e2(r, O.size, {
434
+ var S;
435
+ c(!0), (((S = r.current) == null ? void 0 : S.getBoundingClientRect().y) || 0) < 0 && e2(r, h.size, {
450
436
  behavior: "smooth"
451
437
  });
452
438
  },
453
- onboarding: d
439
+ onboarding: l
454
440
  })
455
441
  })
456
442
  })]
457
443
  });
458
- }, R0 = () => $, A0 = /* @__PURE__ */ l(R0())({
444
+ }, R0 = () => P, A0 = /* @__PURE__ */ d(R0())({
459
445
  name: "Container",
460
446
  class: "c1f0y7nw",
461
447
  propsAsIs: !0
462
- }), n2 = /* @__PURE__ */ l("div")({
448
+ }), n2 = /* @__PURE__ */ d("div")({
463
449
  name: "InnerContainer",
464
450
  class: "i1qa3p7a",
465
451
  propsAsIs: !1
466
- }), y0 = () => n2, k0 = /* @__PURE__ */ l(y0())({
452
+ }), y0 = () => n2, b0 = /* @__PURE__ */ d(y0())({
467
453
  name: "HiddenContainer",
468
454
  class: "hrthymv",
469
455
  propsAsIs: !0
470
- }), D0 = /* @__PURE__ */ l("div")({
456
+ }), D0 = /* @__PURE__ */ d("div")({
471
457
  name: "NotificationRefreshing",
472
458
  class: "n13rok4i",
473
459
  propsAsIs: !1
474
- }), b0 = () => L2, O0 = /* @__PURE__ */ l(b0())({
460
+ }), k0 = () => L2, O0 = /* @__PURE__ */ d(k0())({
475
461
  name: "Pill",
476
462
  class: "pht79xf",
477
463
  propsAsIs: !0
478
464
  }), F0 = (s) => {
479
- const [e, n] = _(0), o = N(null), r = M((a) => {
465
+ const [e, n] = _(0), o = f(null), r = M((a) => {
480
466
  o.current = a;
481
467
  }, []);
482
- h(() => {
468
+ L(() => {
483
469
  var a;
484
470
  const C = (a = o.current) == null ? void 0 : a.getBoundingClientRect();
485
471
  C && n(C.height);
@@ -488,7 +474,7 @@ const w2 = /* @__PURE__ */ l("div")({
488
474
  n(a);
489
475
  }, []);
490
476
  return [r, e, i];
491
- }, V0 = ({
477
+ }, B0 = ({
492
478
  sdk: s,
493
479
  notification: e,
494
480
  appNode: n,
@@ -496,21 +482,17 @@ const w2 = /* @__PURE__ */ l("div")({
496
482
  }) => {
497
483
  var r, i;
498
484
  const {
499
- sdkInDesktopView: a
500
- } = p(o, {
501
- keys: ["sdkInDesktopView"]
502
- }), {
503
- sdk: C
504
- } = P(), [u, d, c] = F0(e.id);
505
- return e.type === R.QUESTION ? /* @__PURE__ */ L(k, {
506
- children: [/* @__PURE__ */ t(k0, {
507
- ref: u,
485
+ sdk: a
486
+ } = $(), [C, l, u] = F0(e.id);
487
+ return e.type === A.QUESTION ? /* @__PURE__ */ v(D, {
488
+ children: [/* @__PURE__ */ t(b0, {
489
+ ref: C,
508
490
  children: /* @__PURE__ */ t(G, {
509
491
  ...e
510
492
  })
511
- }), /* @__PURE__ */ L(A0, {
493
+ }), /* @__PURE__ */ v(A0, {
512
494
  style: {
513
- height: e.hiding ? 0 : d
495
+ height: e.hiding ? 0 : l
514
496
  },
515
497
  hiding: e.hiding,
516
498
  children: [/* @__PURE__ */ t(n2, {
@@ -519,31 +501,30 @@ const w2 = /* @__PURE__ */ l("div")({
519
501
  },
520
502
  children: /* @__PURE__ */ t(G, {
521
503
  ...e,
522
- controlVideo: C == null ? void 0 : C.controlVideoPlayer
504
+ controlVideo: a == null ? void 0 : a.controlVideoPlayer
523
505
  })
524
506
  }), /* @__PURE__ */ t(D0, {}, e.id)]
525
507
  })]
526
- }) : e.type === R.QUESTION_RESOLVED && (i = (r = e.data) == null ? void 0 : r.question) != null && i.predictionResult ? /* @__PURE__ */ t(h2, {
508
+ }) : e.type === A.QUESTION_RESOLVED && (i = (r = e.data) == null ? void 0 : r.question) != null && i.predictionResult ? /* @__PURE__ */ t(h2, {
527
509
  style: {
528
- height: e.hiding ? 0 : d
510
+ height: e.hiding ? 0 : l
529
511
  },
530
- saveHeight: c,
512
+ saveHeight: u,
531
513
  close: e.close,
532
514
  hiding: e.hiding,
533
515
  ...e.data.question,
534
516
  mastersApp: !0
535
- }) : e.type === R.ONBOARDING ? /* @__PURE__ */ t(T0, {
517
+ }) : e.type === A.ONBOARDING ? /* @__PURE__ */ t(I0, {
536
518
  style: {
537
- height: e.hiding ? 0 : d
519
+ height: e.hiding ? 0 : l
538
520
  },
539
- saveHeight: c,
521
+ saveHeight: u,
540
522
  sdk: s,
541
523
  notification: e,
542
- sdkInDesktopView: a,
543
524
  appNode: n,
544
525
  responsiveStore: o
545
526
  }) : null;
546
- }, w0 = "p1co32q0", B0 = ({
527
+ }, V0 = "p1co32q0", w0 = ({
547
528
  pill: s,
548
529
  setPill: e,
549
530
  appNode: n,
@@ -552,33 +533,33 @@ const w2 = /* @__PURE__ */ l("div")({
552
533
  responsiveStore: i,
553
534
  scrollStore: a
554
535
  }) => {
555
- var C, u;
536
+ var C, l;
556
537
  const {
557
- screen: d
558
- } = p(i, {
538
+ screen: u
539
+ } = m(i, {
559
540
  keys: ["screen"]
560
541
  }), {
561
542
  tabsShown: c,
562
- scrollPosition: v
563
- } = p(a, {
543
+ scrollPosition: p
544
+ } = m(a, {
564
545
  keys: ["tabsShown", "scrollPosition"]
565
546
  });
566
- h(() => {
567
- i.get().sdkInDesktopView ? v < 50 && e(null) : v > -50 && e(null);
568
- }, [v, i, e]);
547
+ L(() => {
548
+ i.get().sdkInDesktopView ? p < 50 && e(null) : p > -50 && e(null);
549
+ }, [p, i, e]);
569
550
  const E = i.get().sdkInDesktopView ? n : o;
570
551
  return !s || !E.current ? null : S2.createPortal(/* @__PURE__ */ t(O0, {
571
- title: s.type === R.QUESTION_RESOLVED ? "Prediction result" : `New ${((u = g2[(C = s.data) == null ? void 0 : C.questionType]) == null ? void 0 : u.label) || "notification"}`,
552
+ title: s.type === A.QUESTION_RESOLVED ? "Prediction result" : `New ${((l = g2[(C = s.data) == null ? void 0 : C.questionType]) == null ? void 0 : l.label) || "notification"}`,
572
553
  onClick: () => {
573
- var S;
574
- i.get().sdkInDesktopView ? (S = r.current) == null || S.scrollTo({
554
+ var h;
555
+ i.get().sdkInDesktopView ? (h = r.current) == null || h.scrollTo({
575
556
  top: 0,
576
557
  behavior: "smooth"
577
- }) : e2(n, d.size, {
558
+ }) : e2(n, u.size, {
578
559
  behavior: "smooth"
579
560
  }), e(null);
580
561
  },
581
- className: D(c && w0, "sl-pill-button")
562
+ className: k(c && V0, "sl-pill-button")
582
563
  }), E.current);
583
564
  }, H0 = ({
584
565
  sdk: s,
@@ -588,8 +569,8 @@ const w2 = /* @__PURE__ */ l("div")({
588
569
  appNode: r,
589
570
  scrollStore: i
590
571
  }) => {
591
- const [a] = _(s.getNotificationsStore()), C = p(a), [u, d] = _(null), c = T(() => s.getActiveNotification(), [s, C]);
592
- return h(() => {
572
+ const [a] = _(s.getNotificationsStore()), C = m(a), [l, u] = _(null), c = R(() => s.getActiveNotification(), [s, C]);
573
+ return L(() => {
593
574
  c && E2.emit("notification", {
594
575
  action: "rendered",
595
576
  payload: {
@@ -597,22 +578,22 @@ const w2 = /* @__PURE__ */ l("div")({
597
578
  questionType: c.data.questionType
598
579
  }
599
580
  });
600
- }, [c]), h(() => {
601
- c && (o.get().sdkInDesktopView || o.get().sdkInView) && (!o.get().sdkInDesktopView && o.get().sdkInView && d(c), o.get().sdkInDesktopView && window.requestAnimationFrame(() => {
602
- i.get().scrollPosition !== 0 && d(c);
581
+ }, [c]), L(() => {
582
+ c && (o.get().sdkInDesktopView || o.get().sdkInView) && (!o.get().sdkInDesktopView && o.get().sdkInView && u(c), o.get().sdkInDesktopView && window.requestAnimationFrame(() => {
583
+ i.get().scrollPosition !== 0 && u(c);
603
584
  }));
604
- }, [c]), h(() => {
605
- c || d(null);
606
- }, [c]), /* @__PURE__ */ L(k, {
607
- children: [!u && c && /* @__PURE__ */ t(V0, {
585
+ }, [c]), L(() => {
586
+ c || u(null);
587
+ }, [c]), /* @__PURE__ */ v(D, {
588
+ children: [!l && c && /* @__PURE__ */ t(B0, {
608
589
  headerNode: e,
609
590
  appNode: r,
610
591
  sdk: s,
611
592
  notification: c,
612
593
  responsiveStore: o
613
- }), u && /* @__PURE__ */ t(B0, {
614
- pill: u,
615
- setPill: d,
594
+ }), l && /* @__PURE__ */ t(w0, {
595
+ pill: l,
596
+ setPill: u,
616
597
  appNode: r,
617
598
  notification: c,
618
599
  headerNode: e,
@@ -638,27 +619,27 @@ const w2 = /* @__PURE__ */ l("div")({
638
619
  }, z = (s) => {
639
620
  var e;
640
621
  return (((e = s.current) == null ? void 0 : e.getBoundingClientRect().y) || 0) < -68;
641
- }, y = (s) => s >= g.xl, $0 = (s) => {
622
+ }, b = (s) => s >= g.xl, P0 = (s) => {
642
623
  const [e] = _(() => {
643
624
  const n = I();
644
625
  return q({
645
626
  screen: I(),
646
627
  sdkInView: z(s),
647
- sdkInDesktopView: y(n.size)
628
+ sdkInDesktopView: b(n.size)
648
629
  });
649
630
  });
650
- return h(() => {
651
- const n = A(() => {
631
+ return L(() => {
632
+ const n = y(() => {
652
633
  e.setKey("sdkInView", z(s));
653
- }, 200), o = A(() => {
634
+ }, 200), o = y(() => {
654
635
  const r = I();
655
- e.setKey("screen", r), e.setKey("sdkInDesktopView", y(r.size));
636
+ e.setKey("screen", r), e.setKey("sdkInDesktopView", b(r.size));
656
637
  }, 200);
657
638
  return window.addEventListener("scroll", n), window.addEventListener("resize", o), () => {
658
639
  window.removeEventListener("scroll", n), window.removeEventListener("resize", o);
659
640
  };
660
641
  }, [e, s]), [e];
661
- }, P0 = {
642
+ }, $0 = {
662
643
  ..._2,
663
644
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
664
645
  // @ts-expect-error
@@ -725,54 +706,44 @@ const w2 = /* @__PURE__ */ l("div")({
725
706
  IN_APP_QUESTION_RESULT_SUBTITLE_BG: "#1D7BFF",
726
707
  IN_APP_QUESTION_RESULT_LINE: "#babfc5"
727
708
  };
728
- Object.entries(P0).reduce((s, [e, n]) => `
709
+ Object.entries($0).reduce((s, [e, n]) => `
729
710
  ${s}
730
711
  --color-${e.toLowerCase().replaceAll("_", "-")}: ${n};
731
712
  `, "");
732
- const U0 = "m1ojpy2l", G0 = ({ children: s, style: e }) => /* @__PURE__ */ t("div", { className: "StreamLayerSDKTheme", children: /* @__PURE__ */ t("div", { className: D("masters-theme", U0), style: e, children: s }) }), M0 = ({ sdk: s, className: e }) => {
713
+ const U0 = "m1ojpy2l", G0 = ({ children: s, style: e }) => /* @__PURE__ */ t("div", { className: "StreamLayerSDKTheme", children: /* @__PURE__ */ t("div", { className: k("masters-theme", U0), style: e, children: s }) }), M0 = ({ sdk: s, className: e }) => {
733
714
  const [, n] = N2(s);
734
715
  return /* @__PURE__ */ t(s0, { className: e, feature: n, sdk: s });
735
- }, x0 = ({ sdk: s, className: e, appNode: n, responsiveStore: o }) => {
736
- const r = p(s.featuresList.getStore());
737
- return r ? Array.from(r, (i) => {
738
- const a = s.getFeature(i);
739
- return a ? /* @__PURE__ */ t(
740
- n0,
741
- {
742
- className: e,
743
- appNode: n,
744
- feature: a,
745
- responsiveStore: o,
746
- sdk: s
747
- },
748
- i
749
- ) : null;
716
+ }, x0 = ({ sdk: s, className: e, appNode: n }) => {
717
+ const o = m(s.featuresList.getStore());
718
+ return o ? Array.from(o, (r) => {
719
+ const i = s.getFeature(r);
720
+ return i ? /* @__PURE__ */ t(n0, { className: e, appNode: n, feature: i, sdk: s }, r) : null;
750
721
  }) : null;
751
722
  }, K0 = (s) => {
752
- const [e, n] = _(!y(I().size)), o = N(null);
753
- return h(() => {
754
- const r = A(() => {
723
+ const [e, n] = _(!b(I().size)), o = f(null);
724
+ return L(() => {
725
+ const r = y(() => {
755
726
  const i = I();
756
- n(!y(i.size));
727
+ n(!b(i.size));
757
728
  }, 200);
758
729
  return window.addEventListener("resize", r), () => {
759
730
  window.removeEventListener("resize", r);
760
731
  };
761
732
  }, []), W(o, { enabled: !0, event: "click", listener: j }), /* @__PURE__ */ t(F2, { ref: o, ...s, isMobile: e });
762
733
  }, Q0 = ({ sdk: s }) => {
763
- const e = N(null), n = p(s.status), o = p(s.sdkStore.slStreamId), r = N(null), [i] = $0(e), [a, C] = M2(e, i), u = n === "ready" && !!o.data;
764
- return h(() => {
734
+ const e = f(null), n = m(s.status), o = m(s.sdkStore.slStreamId), r = f(null), [i] = P0(e), [a, C] = M2(e, i), l = n === "ready" && !!o.data;
735
+ return L(() => {
765
736
  window.requestAnimationFrame(() => {
766
737
  s.initializeApp().then(() => {
767
- s.openFeature(b.GAMES);
738
+ s.openFeature(O.GAMES);
768
739
  });
769
740
  });
770
- }, [s]), W(e, { enabled: !0, event: "click", listener: j }), h(() => {
741
+ }, [s]), W(e, { enabled: !0, event: "click", listener: j }), L(() => {
771
742
  import("./gamification-feature2.js");
772
- }, []), /* @__PURE__ */ L(w2, { ref: e, children: [
773
- /* @__PURE__ */ t(d0, { className: D(w, "sl-hide-on-modal"), ref: r }),
774
- /* @__PURE__ */ L(B2, { "data-nav": !0, className: "sl-hide-on-modal", ref: a, children: [
775
- u && /* @__PURE__ */ t(
743
+ }, []), /* @__PURE__ */ v(V2, { ref: e, children: [
744
+ /* @__PURE__ */ t(d0, { className: k(V, "sl-hide-on-modal"), ref: r }),
745
+ /* @__PURE__ */ v(w2, { "data-nav": !0, className: "sl-hide-on-modal", ref: a, children: [
746
+ l && /* @__PURE__ */ t(
776
747
  H0,
777
748
  {
778
749
  sdk: s,
@@ -783,13 +754,13 @@ const U0 = "m1ojpy2l", G0 = ({ children: s, style: e }) => /* @__PURE__ */ t("di
783
754
  responsiveStore: i
784
755
  }
785
756
  ),
786
- u && /* @__PURE__ */ t(M0, { className: w, sdk: s }),
787
- u && /* @__PURE__ */ t(x0, { responsiveStore: i, appNode: e, className: w, sdk: s })
757
+ l && /* @__PURE__ */ t(M0, { className: V, sdk: s }),
758
+ l && /* @__PURE__ */ t(x0, { appNode: e, className: V, sdk: s })
788
759
  ] })
789
760
  ] });
790
761
  }, z0 = ({ sdk: s, betPack: e }) => {
791
- const [n, o] = _(e), r = !!p(s.userId()), i = T(() => ({ sdk: s }), [s]);
792
- return /* @__PURE__ */ L(s2.Provider, { value: i, children: [
762
+ const [n, o] = _(e), r = !!m(s.userId()), i = R(() => ({ sdk: s }), [s]);
763
+ return /* @__PURE__ */ v(s2.Provider, { value: i, children: [
793
764
  n && r && /* @__PURE__ */ t(
794
765
  K0,
795
766
  {
@@ -801,7 +772,7 @@ const U0 = "m1ojpy2l", G0 = ({ children: s, style: e }) => /* @__PURE__ */ t("di
801
772
  ),
802
773
  !n && /* @__PURE__ */ t(Q0, { sdk: s })
803
774
  ] });
804
- }, e1 = ({ sdkKey: s, plugins: e, children: n, event: o, onDeepLinkHandled: r, videoPlayerController: i, production: a = !0 }) => /* @__PURE__ */ L(
775
+ }, e1 = ({ sdkKey: s, plugins: e, children: n, event: o, onDeepLinkHandled: r, videoPlayerController: i, production: a = !0 }) => /* @__PURE__ */ v(
805
776
  f2,
806
777
  {
807
778
  sdkKey: s,
@@ -814,12 +785,12 @@ const U0 = "m1ojpy2l", G0 = ({ children: s, style: e }) => /* @__PURE__ */ t("di
814
785
  skipOnboarding: !0,
815
786
  hideFriends: !0,
816
787
  children: [
817
- /* @__PURE__ */ t(I2, { event: o }),
788
+ /* @__PURE__ */ t(T2, { event: o }),
818
789
  n
819
790
  ]
820
791
  }
821
792
  ), q0 = ({ betPack: s }) => {
822
- const { sdk: e, status: n } = X(T2);
793
+ const { sdk: e, status: n } = X(I2);
823
794
  return n === R2.UNSET ? (console.error("Wrap app in `StreamLayerProvider`"), null) : e ? /* @__PURE__ */ t("div", { className: "StreamLayerSDK", children: /* @__PURE__ */ t(G0, { style: { height: "100%" }, children: /* @__PURE__ */ t(z0, { sdk: e, betPack: s }) }) }) : null;
824
795
  };
825
796
  class s1 extends O2 {
@@ -837,7 +808,7 @@ class s1 extends O2 {
837
808
  }
838
809
  }
839
810
  export {
840
- J0 as A,
811
+ J0 as G,
841
812
  e1 as M,
842
813
  s1 as a
843
814
  };