@streamlayer/react 1.23.1 → 1.24.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (159) hide show
  1. package/lib/app/masters.d.ts +0 -1
  2. package/lib/cjs/Question.js +1 -1
  3. package/lib/cjs/advertisement.js +33 -53
  4. package/lib/cjs/analytics.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 -1
  8. package/lib/cjs/hooks-n9ax4LRT.js +1 -0
  9. package/lib/cjs/index-ByUNFvMk.js +5 -0
  10. package/lib/cjs/index.js +1 -1
  11. package/lib/cjs/index10.js +1 -1
  12. package/lib/cjs/index11.js +1 -4
  13. package/lib/cjs/index12.js +1 -1
  14. package/lib/cjs/index13.js +1 -1
  15. package/lib/cjs/index14.js +4 -1
  16. package/lib/cjs/index15.js +1 -1
  17. package/lib/cjs/index16.js +2 -2
  18. package/lib/cjs/index2.js +1 -1
  19. package/lib/cjs/index4.js +3 -3
  20. package/lib/cjs/index5.js +1 -1
  21. package/lib/cjs/index6.js +1 -1
  22. package/lib/cjs/index7.js +1 -1
  23. package/lib/cjs/index8.js +1 -1
  24. package/lib/cjs/index9.js +7 -1
  25. package/lib/cjs/insight.js +1 -1
  26. package/lib/cjs/masters.js +1 -1
  27. package/lib/cjs/masters2.js +5 -10
  28. package/lib/cjs/notification.js +1 -1
  29. package/lib/cjs/pause-ad.js +1 -1
  30. package/lib/cjs/points.js +1 -1
  31. package/lib/cjs/polymarket.js +4 -9
  32. package/lib/cjs/sl-types.js +1 -15
  33. package/lib/cjs/storage.js +1 -1
  34. package/lib/cjs/theme.js +1 -17
  35. package/lib/cjs/useStreamLayerApp.js +1 -1
  36. package/lib/cjs/useStreamLayerApp2.js +15 -15
  37. package/lib/cjs/utils.js +8 -8
  38. package/lib/classic/app/masters.d.ts +0 -1
  39. package/lib/classic/cjs/Question.js +1 -1
  40. package/lib/classic/cjs/advertisement.js +33 -53
  41. package/lib/classic/cjs/analytics.js +1 -1
  42. package/lib/classic/cjs/auth.js +1 -1
  43. package/lib/classic/cjs/bet-pack.js +3 -3
  44. package/lib/classic/cjs/feature.js +1 -1
  45. package/lib/classic/cjs/hooks-n9ax4LRT.js +1 -0
  46. package/lib/classic/cjs/index-ByUNFvMk.js +5 -0
  47. package/lib/classic/cjs/index.js +1 -1
  48. package/lib/classic/cjs/index10.js +1 -1
  49. package/lib/classic/cjs/index11.js +1 -1
  50. package/lib/classic/cjs/index12.js +1 -1
  51. package/lib/classic/cjs/index13.js +3 -3
  52. package/lib/classic/cjs/index2.js +2 -2
  53. package/lib/classic/cjs/index3.js +1 -1
  54. package/lib/classic/cjs/index4.js +1 -1
  55. package/lib/classic/cjs/index5.js +1 -1
  56. package/lib/classic/cjs/index6.js +1 -1
  57. package/lib/classic/cjs/index7.js +7 -1
  58. package/lib/classic/cjs/index8.js +1 -1
  59. package/lib/classic/cjs/index9.js +1 -1
  60. package/lib/classic/cjs/insight.js +1 -1
  61. package/lib/classic/cjs/notification.js +1 -1
  62. package/lib/classic/cjs/notification2.js +1 -1
  63. package/lib/classic/cjs/pause-ad.js +1 -1
  64. package/lib/classic/cjs/points.js +1 -1
  65. package/lib/classic/cjs/polymarket.js +4 -9
  66. package/lib/classic/cjs/sl-types.js +1 -15
  67. package/lib/classic/cjs/useStreamLayerApp.js +1 -1
  68. package/lib/classic/cjs/useStreamLayerApp2.js +15 -15
  69. package/lib/classic/cjs/utils.js +8 -8
  70. package/lib/classic/es/Question.js +216 -220
  71. package/lib/classic/es/advertisement.js +14665 -15122
  72. package/lib/classic/es/analytics.js +9 -9
  73. package/lib/classic/es/auth.js +1 -1
  74. package/lib/classic/es/bet-pack.js +637 -650
  75. package/lib/classic/es/feature.js +29 -33
  76. package/lib/classic/es/hooks-n9ax4LRT.js +97 -0
  77. package/lib/classic/es/index-ByUNFvMk.js +3775 -0
  78. package/lib/classic/es/index.js +13 -16
  79. package/lib/classic/es/index10.js +2587 -82
  80. package/lib/classic/es/index11.js +306 -2344
  81. package/lib/classic/es/index12.js +103 -101
  82. package/lib/classic/es/index13.js +449 -464
  83. package/lib/classic/es/index2.js +1244 -1268
  84. package/lib/classic/es/index3.js +10 -10
  85. package/lib/classic/es/index4.js +4 -283
  86. package/lib/classic/es/index5.js +4 -5
  87. package/lib/classic/es/index6.js +285 -5
  88. package/lib/classic/es/index7.js +179 -5
  89. package/lib/classic/es/index8.js +5 -9
  90. package/lib/classic/es/index9.js +7 -315
  91. package/lib/classic/es/insight.js +39 -41
  92. package/lib/classic/es/notification.js +3 -3
  93. package/lib/classic/es/notification2.js +513 -528
  94. package/lib/classic/es/pause-ad.js +116 -116
  95. package/lib/classic/es/points.js +33 -34
  96. package/lib/classic/es/polymarket.js +1049 -1102
  97. package/lib/classic/es/sl-types.js +115 -217
  98. package/lib/classic/es/useStreamLayerApp.js +1 -1
  99. package/lib/classic/es/useStreamLayerApp2.js +6485 -6405
  100. package/lib/classic/es/utils.js +6 -6
  101. package/lib/classic/source.css +110 -0
  102. package/lib/dist/cjs/index-ByUNFvMk.js +5 -0
  103. package/lib/dist/cjs/index.js +1 -1
  104. package/lib/dist/cjs/masters.js +34 -42
  105. package/lib/dist/es/index-ByUNFvMk.js +3775 -0
  106. package/lib/dist/es/index.js +7 -11
  107. package/lib/dist/es/masters.js +13506 -12760
  108. package/lib/dist/index.d.ts +5 -5
  109. package/lib/dist/source.css +64 -0
  110. package/lib/es/Question.js +99 -101
  111. package/lib/es/advertisement.js +14665 -15122
  112. package/lib/es/analytics.js +29 -29
  113. package/lib/es/auth.js +1 -1
  114. package/lib/es/bet-pack.js +12 -11
  115. package/lib/es/feature.js +29 -33
  116. package/lib/es/hooks-n9ax4LRT.js +97 -0
  117. package/lib/es/index-ByUNFvMk.js +3775 -0
  118. package/lib/es/index.js +13 -16
  119. package/lib/es/index10.js +7 -263
  120. package/lib/es/index11.js +172 -822
  121. package/lib/es/index12.js +2587 -178
  122. package/lib/es/index13.js +248 -302
  123. package/lib/es/index14.js +815 -82
  124. package/lib/es/index15.js +306 -2344
  125. package/lib/es/index16.js +451 -454
  126. package/lib/es/index2.js +737 -757
  127. package/lib/es/index4.js +626 -639
  128. package/lib/es/index5.js +10 -10
  129. package/lib/es/index6.js +5 -285
  130. package/lib/es/index7.js +7 -5
  131. package/lib/es/index8.js +283 -5
  132. package/lib/es/index9.js +179 -8
  133. package/lib/es/insight.js +39 -41
  134. package/lib/es/masters.js +4 -5
  135. package/lib/es/masters2.js +408 -441
  136. package/lib/es/notification.js +469 -484
  137. package/lib/es/pause-ad.js +116 -116
  138. package/lib/es/points.js +42 -43
  139. package/lib/es/polymarket.js +1049 -1102
  140. package/lib/es/sl-types.js +114 -235
  141. package/lib/es/storage.js +22 -22
  142. package/lib/es/theme.js +3 -44
  143. package/lib/es/useStreamLayerApp.js +1 -1
  144. package/lib/es/useStreamLayerApp2.js +6485 -6405
  145. package/lib/es/utils.js +6 -6
  146. package/lib/source.css +120 -0
  147. package/lib/style.css +1 -1
  148. package/package.json +15 -15
  149. package/lib/cjs/hooks-WfHlJH12.js +0 -1
  150. package/lib/cjs/index-eShKGO10.js +0 -5
  151. package/lib/classic/cjs/hooks-WfHlJH12.js +0 -1
  152. package/lib/classic/cjs/index-eShKGO10.js +0 -5
  153. package/lib/classic/es/hooks-WfHlJH12.js +0 -98
  154. package/lib/classic/es/index-eShKGO10.js +0 -3757
  155. package/lib/dist/cjs/index-eShKGO10.js +0 -5
  156. package/lib/dist/es/index-eShKGO10.js +0 -3757
  157. package/lib/dist/style.css +0 -1
  158. package/lib/es/hooks-WfHlJH12.js +0 -98
  159. package/lib/es/index-eShKGO10.js +0 -3757
@@ -1,331 +1,324 @@
1
- import { jsx as s, jsxs as g, Fragment as D } from "react/jsx-runtime";
2
- import { s as c, u as m, A as N, c as A, a as w, R as a2, D as b } from "./sl-types.js";
3
- import V from "lodash.throttle";
4
- import { useRef as I, useState as _, useEffect as v, createContext as l2, useContext as Y, lazy as d2, useMemo as k, Suspense as c2, forwardRef as p2, useLayoutEffect as C2, useCallback as $, Component as u2 } from "react";
5
- import { f as j, b as X, A as J } from "./analytics.js";
6
- import { k as m2, z as f2, T as e2, I as g2, c as h2, t as v2, f as E2, w as z, D as L2, p as S2 } from "./index16.js";
7
- import { c as M, m as F } from "./theme.js";
8
- import { n as _2 } from "./index4.js";
9
- import { F as T2 } from "./feature.js";
1
+ import { jsx as n, jsxs as f, Fragment as I } from "react/jsx-runtime";
2
+ import { s as d, u as p, c as S, N as T } from "./sl-types.js";
3
+ import D from "lodash.throttle";
4
+ import { useRef as g, useState as L, useEffect as E, createContext as J, useContext as U, useMemo as _, Suspense as e2, lazy as s2, forwardRef as t2, useLayoutEffect as n2, useCallback as b, Component as r2 } from "react";
5
+ import { A as h, R as o2 } from "./index9.js";
6
+ import { f as G, A as M, a as Q } from "./analytics.js";
7
+ import { Q as i2, z as a2, T as K, I as l2, c as c2, n as d2, f as C2, w as B, a as p2, p as u2 } from "./index16.js";
8
+ import { m as A } from "./theme.js";
9
+ import { a as m2 } from "./index4.js";
10
+ import { F as f2 } from "./feature.js";
10
11
  import "nanostores";
11
- import { e as N2, t as I2, S as b2, f as P } from "./index11.js";
12
- import { y as R2, d as A2, u as k2, a as y2 } from "./index10.js";
13
- import { Q as w2, S as y } from "./useStreamLayerApp2.js";
14
- import { B as n2 } from "./index6.js";
15
- import { createPortal as D2 } from "react-dom";
16
- import { e as x2 } from "./index3.js";
12
+ import { Q as E2, Z as L2, y as h2, f as O } from "./index14.js";
13
+ import { O as g2, d as S2, f as _2, a as N2 } from "./index13.js";
14
+ import { Q as T2, S as N } from "./useStreamLayerApp2.js";
15
+ import { B as x } from "./index8.js";
16
+ import { createPortal as I2 } from "react-dom";
17
+ import { e as v2 } from "./index3.js";
17
18
  import "./storage.js";
18
- import { e as F2 } from "./index12.js";
19
- import { q as O2, j as B2, i as V2, Y as $2 } from "./hooks-WfHlJH12.js";
20
- const H2 = /* @__PURE__ */ c("div")({
19
+ import { e as R2 } from "./index11.js";
20
+ import { V as A2, g as y2, i as k2, j as D2 } from "./hooks-n9ax4LRT.js";
21
+ const b2 = /* @__PURE__ */ d("div")({
21
22
  name: "SDKContainer",
22
23
  class: "s8zgqze",
23
24
  propsAsIs: !1
24
- }), P2 = "m6t897k", U2 = /* @__PURE__ */ c("div")({
25
+ }), O2 = "m6t897k", F2 = /* @__PURE__ */ d("div")({
25
26
  name: "SDKScrollContainer",
26
27
  class: "sw7pkvp",
27
28
  propsAsIs: !1
28
- }), t2 = /* @__PURE__ */ c("div")({
29
+ }), Z = /* @__PURE__ */ d("div")({
29
30
  name: "SDKContentContainer",
30
31
  class: "s14gkn7u",
31
32
  propsAsIs: !1
32
- }), G2 = () => t2, z2 = /* @__PURE__ */ c(G2())({
33
+ }), B2 = () => Z, V2 = /* @__PURE__ */ d(B2())({
33
34
  name: "SDKWhiteContainer",
34
35
  class: "s1yxstm9",
35
36
  propsAsIs: !0
36
- }), M2 = /* @__PURE__ */ c("div")({
37
+ }), w2 = /* @__PURE__ */ d("div")({
37
38
  name: "TabsContainer",
38
39
  class: "tdpty1s",
39
40
  propsAsIs: !1
40
- }), q2 = /* @__PURE__ */ c("div")({
41
+ }), $2 = /* @__PURE__ */ d("div")({
41
42
  name: "UserSummaryContainer",
42
43
  class: "u136a59y",
43
44
  propsAsIs: !1
44
- }), s2 = (n, e, t) => {
45
- var i;
46
- (i = n.current) == null || i.scrollTo({
45
+ }), z = (s, e, t) => {
46
+ s.current?.scrollTo({
47
47
  top: 0,
48
48
  ...t
49
49
  });
50
- }, K2 = 15, Q2 = (n, e, t) => {
51
- const i = I(null), o = I(0), [a] = _(
52
- j({
50
+ }, P2 = 15, H2 = (s, e, t) => {
51
+ const r = g(null), o = g(0), [a] = L(
52
+ G({
53
53
  scrollPosition: 0,
54
54
  tabsShown: !1,
55
55
  scrollDirection: "forward"
56
56
  })
57
- ), r = m(e);
58
- return v(() => {
59
- const d = window.innerWidth < N.lg && !t ? window : i.current;
60
- if (!d)
57
+ ), i = p(e);
58
+ return E(() => {
59
+ const l = window.innerWidth < h.lg && !t ? window : r.current;
60
+ if (!l)
61
61
  return () => {
62
62
  };
63
- const l = V((C) => {
64
- var u;
65
- const p = C.target;
66
- if (!p)
63
+ const u = D((m) => {
64
+ const C = m.target;
65
+ if (!C)
67
66
  return;
68
- let f = 0;
69
- r.screen.size < N.lg && !t ? f = ((u = n.current) == null ? void 0 : u.getBoundingClientRect().y) || 0 : f = p.scrollTop;
70
- const E = o.current - f;
71
- if (K2 > Math.abs(E))
67
+ let c = 0;
68
+ i.screen.size < h.lg && !t ? c = s.current?.getBoundingClientRect().y || 0 : c = C.scrollTop;
69
+ const v = o.current - c;
70
+ if (P2 > Math.abs(v))
72
71
  return;
73
- const S = o.current < f ? "forward" : "backward";
74
- o.current = f, a.set({
75
- scrollPosition: Math.round(f),
76
- scrollDirection: S,
72
+ const R = o.current < c ? "forward" : "backward";
73
+ o.current = c, a.set({
74
+ scrollPosition: Math.round(c),
75
+ scrollDirection: R,
77
76
  tabsShown: a.get().tabsShown
78
77
  });
79
78
  }, 200);
80
- return l({ target: d }), d.addEventListener("scroll", l), () => {
81
- d.removeEventListener("scroll", l);
79
+ return u({ target: l }), l.addEventListener("scroll", u), () => {
80
+ l.removeEventListener("scroll", u);
82
81
  };
83
- }, [a, n, r.screen, t]), [i, a];
84
- }, O = /* @__PURE__ */ c("div")({
82
+ }, [a, s, i.screen, t]), [r, a];
83
+ }, y = /* @__PURE__ */ d("div")({
85
84
  name: "LoadingContainer",
86
85
  class: "l7wseip",
87
86
  propsAsIs: !1
88
- }), Z2 = ({
89
- feature: n,
87
+ }), U2 = ({
88
+ feature: s,
90
89
  sdk: e,
91
90
  children: t,
92
- className: i,
91
+ className: r,
93
92
  noWait: o
94
93
  }) => {
95
- const a = m(n.status), r = m(e.sdkStore.slStreamId);
94
+ const a = p(s.status), i = p(e.sdkStore.slStreamId);
96
95
  if (!o) {
97
- if (r != null && r.loading && !r.data)
98
- return /* @__PURE__ */ s(O, {
99
- className: i,
96
+ if (i?.loading && !i.data)
97
+ return /* @__PURE__ */ n(y, {
98
+ className: r,
100
99
  children: "Event is loading..."
101
100
  });
102
- if (!(r != null && r.data))
103
- return /* @__PURE__ */ s(O, {
104
- className: i,
101
+ if (!i?.data)
102
+ return /* @__PURE__ */ n(y, {
103
+ className: r,
105
104
  children: "Event is forbidden..."
106
105
  });
107
- if (a !== T2.Ready)
108
- return /* @__PURE__ */ s(O, {
109
- className: i,
106
+ if (a !== f2.Ready)
107
+ return /* @__PURE__ */ n(y, {
108
+ className: r,
110
109
  children: "Wait feature..."
111
110
  });
112
111
  }
113
112
  return t;
114
- }, i2 = l2({
113
+ }, Y = J({
115
114
  sdk: null
116
- }), U = () => Y(i2), W2 = /* @__PURE__ */ c("div")({
115
+ }), F = () => U(Y), G2 = /* @__PURE__ */ d("div")({
117
116
  name: "QuestionContainer",
118
117
  class: "qwgkhsv",
119
118
  propsAsIs: !1
120
- }), Y2 = ({
121
- openedQuestion: n
119
+ }), M2 = ({
120
+ openedQuestion: s
122
121
  }) => {
123
- var e, t;
124
122
  const {
125
- sdk: i
126
- } = U();
127
- return ((e = n == null ? void 0 : n.attributes) == null ? void 0 : e.attributes.case) === "insight" ? /* @__PURE__ */ s(k2, {
128
- ...n.attributes.attributes.value,
129
- controlVideo: i == null ? void 0 : i.controlVideoPlayer
130
- }) : ((t = n == null ? void 0 : n.attributes) == null ? void 0 : t.attributes.case) === "tweet" ? /* @__PURE__ */ s(y2, {
131
- ...n.attributes.attributes.value,
132
- controlVideo: i == null ? void 0 : i.controlVideoPlayer
123
+ sdk: e
124
+ } = F();
125
+ return s?.attributes?.attributes.case === "insight" ? /* @__PURE__ */ n(_2, {
126
+ ...s.attributes.attributes.value,
127
+ controlVideo: e?.controlVideoPlayer
128
+ }) : s?.attributes?.attributes.case === "tweet" ? /* @__PURE__ */ n(N2, {
129
+ ...s.attributes.attributes.value,
130
+ controlVideo: e?.controlVideoPlayer
133
131
  }) : null;
134
- }, j2 = ({
135
- extendedQuestion: n,
132
+ }, Q2 = ({
133
+ extendedQuestion: s,
136
134
  vote: e,
137
135
  close: t
138
136
  }) => {
139
137
  const {
140
- loading: i,
138
+ loading: r,
141
139
  data: o
142
- } = n;
143
- return o ? /* @__PURE__ */ s(N2, {
140
+ } = s;
141
+ return o ? /* @__PURE__ */ n(E2, {
144
142
  vote: e,
145
143
  close: t,
146
144
  openedQuestion: o,
147
- isLoading: !!i,
145
+ isLoading: !!r,
148
146
  mastersApp: !0
149
- }) : /* @__PURE__ */ s(I2, {});
150
- }, X2 = ({
151
- gamification: n
147
+ }) : /* @__PURE__ */ n(L2, {});
148
+ }, K2 = ({
149
+ gamification: s
152
150
  }) => {
153
- var e;
154
- const t = m(n.openedQuestion.$store), i = m(n.openedQuestion.$extendedStore);
155
- if (!t)
151
+ const e = p(s.openedQuestion.$store), t = p(s.openedQuestion.$extendedStore);
152
+ if (!e)
156
153
  return null;
157
- const o = t.type;
158
- return /* @__PURE__ */ g(W2, {
159
- children: [/* @__PURE__ */ s(R2, {
160
- close: n.closeQuestion,
161
- type: ((e = t.attributes) == null ? void 0 : e.type) || w2.UNSET,
154
+ const r = e.type;
155
+ return /* @__PURE__ */ f(G2, {
156
+ children: [/* @__PURE__ */ n(g2, {
157
+ close: s.closeQuestion,
158
+ type: e.attributes?.type || T2.UNSET,
162
159
  mastersApp: !0
163
- }), o === "question" && /* @__PURE__ */ s(j2, {
164
- vote: n.submitAnswer,
165
- close: n.closeQuestion,
166
- extendedQuestion: i
167
- }), o !== "question" && /* @__PURE__ */ s(Y2, {
168
- openedQuestion: t
169
- }), /* @__PURE__ */ s(A2, {
160
+ }), r === "question" && /* @__PURE__ */ n(Q2, {
161
+ vote: s.submitAnswer,
162
+ close: s.closeQuestion,
163
+ extendedQuestion: t
164
+ }), r !== "question" && /* @__PURE__ */ n(M2, {
165
+ openedQuestion: e
166
+ }), /* @__PURE__ */ n(S2, {
170
167
  mastersApp: !0
171
168
  })]
172
169
  });
173
- }, J2 = ({ store: n, openQuestion: e }) => {
174
- const { sdk: t } = U(), i = m(n);
175
- return /* @__PURE__ */ s(m2, { openQuestion: e, questions: i.data, controlVideo: t == null ? void 0 : t.controlVideoPlayer });
176
- }, e0 = ({ userSummary: n }) => {
177
- var e;
178
- const t = m(n.$store);
179
- return /* @__PURE__ */ s(
180
- f2,
170
+ }, x2 = ({ store: s, openQuestion: e }) => {
171
+ const { sdk: t } = F(), r = p(s);
172
+ return /* @__PURE__ */ n(i2, { openQuestion: e, questions: r.data, controlVideo: t?.controlVideoPlayer });
173
+ }, Z2 = ({ userSummary: s }) => {
174
+ const e = p(s.$store);
175
+ return /* @__PURE__ */ n(
176
+ a2,
181
177
  {
182
178
  hideFriendsRank: !0,
183
- loading: !(t != null && t.summary),
184
- ...t == null ? void 0 : t.summary,
185
- successRate: (e = t == null ? void 0 : t.percentage) == null ? void 0 : e.correct
179
+ loading: !e?.summary,
180
+ ...e?.summary,
181
+ successRate: e?.percentage?.correct
186
182
  }
187
183
  );
188
- }, n0 = ({ gamification: n, className: e, style: t }) => /* @__PURE__ */ g(M2, { className: e, style: t, children: [
189
- /* @__PURE__ */ s(z2, { style: { paddingTop: "16px" }, children: /* @__PURE__ */ s(q2, { children: /* @__PURE__ */ s(e0, { userSummary: n.userSummary }) }) }),
190
- /* @__PURE__ */ s(t2, { style: { flex: 1 }, children: /* @__PURE__ */ s(J2, { openQuestion: n.openQuestion, store: n.feedList.getStore() }) })
191
- ] }), t0 = () => P, s0 = /* @__PURE__ */ c(t0())({
184
+ }, z2 = ({ gamification: s, className: e, style: t }) => /* @__PURE__ */ f(w2, { className: e, style: t, children: [
185
+ /* @__PURE__ */ n(V2, { style: { paddingTop: "16px" }, children: /* @__PURE__ */ n($2, { children: /* @__PURE__ */ n(Z2, { userSummary: s.userSummary }) }) }),
186
+ /* @__PURE__ */ n(Z, { style: { flex: 1 }, children: /* @__PURE__ */ n(x2, { openQuestion: s.openQuestion, store: s.feedList.getStore() }) })
187
+ ] }), Y2 = () => O, q2 = /* @__PURE__ */ d(Y2())({
192
188
  name: "OpenedContainer",
193
189
  class: "o1seszvt",
194
190
  propsAsIs: !0
195
- }), v1 = ({
196
- gamification: n,
191
+ }), d1 = ({
192
+ gamification: s,
197
193
  className: e
198
- }) => /* @__PURE__ */ s(n0, {
194
+ }) => /* @__PURE__ */ n(z2, {
199
195
  className: e,
200
- gamification: n
201
- }), i0 = `
196
+ gamification: s
197
+ }), j2 = `
202
198
  .SDKContainer {
203
199
  position: static !important;
204
200
  }
205
- `, o0 = ({
206
- gamification: n,
201
+ `, W2 = ({
202
+ gamification: s,
207
203
  responsiveStore: e,
208
204
  useContainer: t,
209
- className: i,
205
+ className: r,
210
206
  appNode: o
211
207
  }) => {
212
- const a = m(n.openedQuestion.$store), {
213
- sdkInDesktopView: r
214
- } = m(e, {
208
+ const a = p(s.openedQuestion.$store), {
209
+ sdkInDesktopView: i
210
+ } = p(e, {
215
211
  keys: ["sdkInDesktopView"]
216
212
  }), {
217
- hiding: d,
218
- onAnimationEnd: l
219
- } = b2();
220
- return !o.current || !a ? null : /* @__PURE__ */ s(e2, {
213
+ hiding: l,
214
+ onAnimationEnd: u
215
+ } = h2();
216
+ return !o.current || !a ? null : /* @__PURE__ */ n(K, {
221
217
  container: o,
222
- useContainer: typeof t == "boolean" ? !t : !r,
223
- staticStyles: typeof t == "boolean" ? i0 : "",
224
- children: /* @__PURE__ */ s(s0, {
225
- className: i,
226
- hiding: d,
227
- onAnimationEnd: l,
228
- children: /* @__PURE__ */ s(X2, {
229
- gamification: n
218
+ useContainer: typeof t == "boolean" ? !t : !i,
219
+ staticStyles: typeof t == "boolean" ? j2 : "",
220
+ children: /* @__PURE__ */ n(q2, {
221
+ className: r,
222
+ hiding: l,
223
+ onAnimationEnd: u,
224
+ children: /* @__PURE__ */ n(K2, {
225
+ gamification: s
230
226
  })
231
227
  })
232
228
  });
233
- }, r0 = d2(() => import("./gamification-feature2.js")), a0 = ({ sdk: n, feature: e, className: t }) => {
234
- const i = k(() => e && e.featureConfig.get().type === y.GAMES ? /* @__PURE__ */ s(Z2, { className: t, sdk: n, feature: e, children: /* @__PURE__ */ s(r0, { className: t, gamification: e }) }) : null, [n, e, t]);
235
- return /* @__PURE__ */ s(
236
- c2,
229
+ }, X2 = s2(() => import("./gamification-feature2.js")), J2 = ({ sdk: s, feature: e, className: t }) => {
230
+ const r = _(() => e && e.featureConfig.get().type === N.GAMES ? /* @__PURE__ */ n(U2, { className: t, sdk: s, feature: e, children: /* @__PURE__ */ n(X2, { className: t, gamification: e }) }) : null, [s, e, t]);
231
+ return /* @__PURE__ */ n(
232
+ e2,
237
233
  {
238
- fallback: /* @__PURE__ */ s("div", { style: { display: "flex", alignItems: "center", justifyContent: "center", width: "100%", height: "100%" }, children: "page loading..." }),
239
- children: i
234
+ fallback: /* @__PURE__ */ n("div", { style: { display: "flex", alignItems: "center", justifyContent: "center", width: "100%", height: "100%" }, children: "page loading..." }),
235
+ children: r
240
236
  }
241
237
  );
242
- }, l0 = ({ feature: n, className: e, useContainer: t, appNode: i, responsiveStore: o }) => n && n.featureConfig.get().type === y.GAMES ? /* @__PURE__ */ s(
243
- o0,
238
+ }, e0 = ({ feature: s, className: e, useContainer: t, appNode: r, responsiveStore: o }) => s && s.featureConfig.get().type === N.GAMES ? /* @__PURE__ */ n(
239
+ W2,
244
240
  {
245
241
  responsiveStore: o,
246
242
  className: e,
247
- appNode: i,
243
+ appNode: r,
248
244
  useContainer: t,
249
- gamification: n
245
+ gamification: s
250
246
  }
251
- ) : null, d0 = /* @__PURE__ */ c("div")({
247
+ ) : null, s0 = /* @__PURE__ */ d("div")({
252
248
  name: "Navigation",
253
249
  class: "n1o1tw60",
254
250
  propsAsIs: !1
255
- }), c0 = /* @__PURE__ */ c("div")({
251
+ }), t0 = /* @__PURE__ */ d("div")({
256
252
  name: "Container",
257
253
  class: "co2rstw",
258
254
  propsAsIs: !1
259
- }), p0 = /* @__PURE__ */ c("div")({
255
+ }), n0 = /* @__PURE__ */ d("div")({
260
256
  name: "Title",
261
257
  class: "t1bqnx9c",
262
258
  propsAsIs: !1
263
- }), C0 = "hlc2pcy", u0 = p2(({
264
- className: n
265
- }, e) => /* @__PURE__ */ g(d0, {
266
- className: A(n, C0),
267
- children: [/* @__PURE__ */ s(c0, {
268
- children: /* @__PURE__ */ g(p0, {
269
- children: [/* @__PURE__ */ s(n2, {
259
+ }), r0 = "hlc2pcy", o0 = t2(({
260
+ className: s
261
+ }, e) => /* @__PURE__ */ f(s0, {
262
+ className: S(s, r0),
263
+ children: [/* @__PURE__ */ n(t0, {
264
+ children: /* @__PURE__ */ f(n0, {
265
+ children: [/* @__PURE__ */ n(x, {
270
266
  name: "fgIcon"
271
267
  }), "FG+ Game Center", " "]
272
268
  })
273
- }), /* @__PURE__ */ s("div", {
269
+ }), /* @__PURE__ */ n("div", {
274
270
  ref: e
275
271
  })]
276
- })), m0 = /* @__PURE__ */ c("div")({
272
+ })), i0 = /* @__PURE__ */ d("div")({
277
273
  name: "Container",
278
274
  class: "czz4rjk",
279
275
  propsAsIs: !1
280
- }), f0 = /* @__PURE__ */ c("div")({
276
+ }), a0 = /* @__PURE__ */ d("div")({
281
277
  name: "CloseIconWrap",
282
278
  class: "cxmojsy",
283
279
  propsAsIs: !1
284
- }), g0 = () => n2, h0 = /* @__PURE__ */ c(g0())({
280
+ }), l0 = () => x, c0 = /* @__PURE__ */ d(l0())({
285
281
  name: "CloseIcon",
286
282
  class: "c1urm3yx",
287
283
  propsAsIs: !0
288
- }), v0 = /* @__PURE__ */ c("div")({
284
+ }), d0 = /* @__PURE__ */ d("div")({
289
285
  name: "Title",
290
286
  class: "tme976v",
291
287
  propsAsIs: !1
292
- }), E0 = /* @__PURE__ */ c("img")({
288
+ }), C0 = /* @__PURE__ */ d("img")({
293
289
  name: "SponsorLogo",
294
290
  class: "s1lal9yz",
295
291
  propsAsIs: !1
296
- }), L0 = /* @__PURE__ */ c("div")({
292
+ }), p0 = /* @__PURE__ */ d("div")({
297
293
  name: "PresentsTitle",
298
294
  class: "pnn1sv1",
299
295
  propsAsIs: !1
300
- }), S0 = /* @__PURE__ */ c("div")({
296
+ }), u0 = /* @__PURE__ */ d("div")({
301
297
  name: "Subtitle",
302
298
  class: "s1hjj1y8",
303
299
  propsAsIs: !1
304
- }), _0 = /* @__PURE__ */ c("div")({
300
+ }), m0 = /* @__PURE__ */ d("div")({
305
301
  name: "Description",
306
302
  class: "dz7yjzw",
307
303
  propsAsIs: !1
308
- }), T0 = /* @__PURE__ */ c("button")({
304
+ }), f0 = /* @__PURE__ */ d("button")({
309
305
  name: "ActionButton",
310
306
  class: "avpowqk",
311
307
  propsAsIs: !1
312
- }), q = ({ close: n, action: e, onboarding: t }) => {
313
- var i, o, a, r, d, l, C, u;
314
- return /* @__PURE__ */ g(m0, { children: [
315
- /* @__PURE__ */ s(f0, { onClick: n, children: /* @__PURE__ */ s(h0, { name: "icon-cross" }) }),
316
- ((o = (i = t == null ? void 0 : t.titleCard) == null ? void 0 : i.media) == null ? void 0 : o.sponsorLogo) && /* @__PURE__ */ g(v0, { children: [
317
- /* @__PURE__ */ s(E0, { alt: "sponsor-logo", src: (r = (a = t == null ? void 0 : t.titleCard) == null ? void 0 : a.media) == null ? void 0 : r.sponsorLogo }),
318
- /* @__PURE__ */ s(L0, { children: "PRESENTS" })
319
- ] }),
320
- ((d = t == null ? void 0 : t.titleCard) == null ? void 0 : d.title) && /* @__PURE__ */ s(S0, { children: (l = t == null ? void 0 : t.titleCard) == null ? void 0 : l.title }),
321
- ((C = t == null ? void 0 : t.titleCard) == null ? void 0 : C.subtitle) && /* @__PURE__ */ s(_0, { children: (u = t == null ? void 0 : t.titleCard) == null ? void 0 : u.subtitle }),
322
- /* @__PURE__ */ s(T0, { onClick: e, children: "Play Now" })
323
- ] });
324
- }, N0 = "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 = [{
308
+ }), V = ({ close: s, action: e, onboarding: t }) => /* @__PURE__ */ f(i0, { children: [
309
+ /* @__PURE__ */ n(a0, { onClick: s, children: /* @__PURE__ */ n(c0, { name: "icon-cross" }) }),
310
+ t?.titleCard?.media?.sponsorLogo && /* @__PURE__ */ f(d0, { children: [
311
+ /* @__PURE__ */ n(C0, { alt: "sponsor-logo", src: t?.titleCard?.media?.sponsorLogo }),
312
+ /* @__PURE__ */ n(p0, { children: "PRESENTS" })
313
+ ] }),
314
+ t?.titleCard?.title && /* @__PURE__ */ n(u0, { children: t?.titleCard?.title }),
315
+ t?.titleCard?.subtitle && /* @__PURE__ */ n(m0, { children: t?.titleCard?.subtitle }),
316
+ /* @__PURE__ */ n(f0, { onClick: e, children: "Play Now" })
317
+ ] }), E0 = "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", q = [{
325
318
  graphicSrc: "https://cdn.streamlayer.io/assets/sdk-web/onboarding-steps/step_1.png",
326
319
  tagline: "Featured groups+ experience",
327
- headline: /* @__PURE__ */ g(D, {
328
- children: ["Welcome to ", /* @__PURE__ */ s("br", {}), " Featured Groups +"]
320
+ headline: /* @__PURE__ */ f(I, {
321
+ children: ["Welcome to ", /* @__PURE__ */ n("br", {}), " Featured Groups +"]
329
322
  })
330
323
  }, {
331
324
  graphicSrc: "https://cdn.streamlayer.io/assets/sdk-web/onboarding-steps/step_2.png",
@@ -339,45 +332,43 @@ const H2 = /* @__PURE__ */ c("div")({
339
332
  }, {
340
333
  graphicSrc: "https://cdn.streamlayer.io/assets/sdk-web/onboarding-steps/step_5.png",
341
334
  headline: "Compete against friends on the leaderboard"
342
- }], I0 = /* @__PURE__ */ c("div")({
335
+ }], L0 = /* @__PURE__ */ d("div")({
343
336
  name: "OnboardingContainer",
344
337
  class: "on59ra",
345
338
  propsAsIs: !1
346
- }), b0 = () => P, R0 = /* @__PURE__ */ c(b0())({
339
+ }), h0 = () => O, g0 = /* @__PURE__ */ d(h0())({
347
340
  name: "OnboardingNotificationContainer",
348
341
  class: "op1wk5d",
349
342
  propsAsIs: !0
350
- }), K = /* @__PURE__ */ c("div")({
343
+ }), w = /* @__PURE__ */ d("div")({
351
344
  name: "InnerContainer",
352
345
  class: "i1i1g2vj",
353
346
  propsAsIs: !1
354
- }), A0 = ({
355
- deepLink: n,
347
+ }), S0 = ({
348
+ deepLink: s,
356
349
  onboardingOpts: e,
357
350
  notification: t,
358
- gamification: i,
351
+ gamification: r,
359
352
  loading: o,
360
353
  sdk: a
361
354
  }) => {
362
- var r, d, l, C, u, p, f;
363
- const E = m(i.friends ? i.friends.getStore() : h2({
355
+ const i = p(r.friends ? r.friends.getStore() : c2({
364
356
  data: []
365
- })), [S, x] = _(void 0), L = k(() => {
366
- var T, R;
367
- const G = a.getInviter();
368
- return G ? (R = (T = E.data) == null ? void 0 : T.find(({
369
- slId: r2
370
- }) => r2 === G)) == null ? void 0 : R.name : "";
371
- }, [E.data, a]);
372
- return v(() => {
373
- const T = n.$store.subscribe((R) => {
374
- R && x(R.data);
357
+ })), [l, u] = L(void 0), m = _(() => {
358
+ const C = a.getInviter();
359
+ return C ? i.data?.find(({
360
+ slId: c
361
+ }) => c === C)?.name : "";
362
+ }, [i.data, a]);
363
+ return E(() => {
364
+ const C = s.$store.subscribe((c) => {
365
+ c && u(c.data);
375
366
  });
376
367
  return () => {
377
- T();
368
+ C();
378
369
  };
379
- }, [n.$store]), /* @__PURE__ */ s(I0, {
380
- children: /* @__PURE__ */ s(v2, {
370
+ }, [s.$store]), /* @__PURE__ */ n(L0, {
371
+ children: /* @__PURE__ */ n(d2, {
381
372
  loading: o,
382
373
  rules: [{
383
374
  label: "Answer as many questions as you like.",
@@ -389,84 +380,80 @@ const H2 = /* @__PURE__ */ c("div")({
389
380
  label: "Top the leader board and best your friends.",
390
381
  icon: "icon-trophy"
391
382
  }],
392
- rulesBtnLabel: (r = e.rules) == null ? void 0 : r.buttonLabel,
393
- rulesTitle: (d = e.rules) == null ? void 0 : d.heading,
383
+ rulesBtnLabel: e.rules?.buttonLabel,
384
+ rulesTitle: e.rules?.heading,
394
385
  termsTitle: "Terms and Conditions",
395
- termsText: (l = e.rules) == null ? void 0 : l.terms,
396
- steps: H,
397
- primaryColor: (C = e.inviteCard) == null ? void 0 : C.iconColor,
398
- inviteLink: S,
399
- inviteCardTitle: (u = e.inviteCard) == null ? void 0 : u.heading,
400
- inviteCardSubtext: (p = e.inviteCard) == null ? void 0 : p.subtext,
401
- inviteCardBtnLabel: (f = e.inviteCard) == null ? void 0 : f.buttonLabel,
386
+ termsText: e.rules?.terms,
387
+ steps: q,
388
+ primaryColor: e.inviteCard?.iconColor,
389
+ inviteLink: l,
390
+ inviteCardTitle: e.inviteCard?.heading,
391
+ inviteCardSubtext: e.inviteCard?.subtext,
392
+ inviteCardBtnLabel: e.inviteCard?.buttonLabel,
402
393
  onClose: () => {
403
- var T;
404
- (T = t.close) == null || T.call(t);
394
+ t.close?.();
405
395
  },
406
- gamification: i,
396
+ gamification: r,
407
397
  sdk: a,
408
- inviterName: L
398
+ inviterName: m
409
399
  })
410
400
  });
411
- }, k0 = ({
412
- sdk: n,
401
+ }, _0 = ({
402
+ sdk: s,
413
403
  notification: e,
414
404
  saveHeight: t,
415
- style: i,
405
+ style: r,
416
406
  appNode: o,
417
407
  responsiveStore: a
418
408
  }) => {
419
- var r;
420
- const d = I(null), l = e.data.onboarding, [C, u] = _(l == null ? void 0 : l.instantOpen), p = n.getFeature(y.GAMES), f = k(() => H == null ? void 0 : H.map(({
421
- graphicSrc: L
422
- }) => L), []), {
423
- screen: E
424
- } = m(a, {
409
+ const i = g(null), l = e.data.onboarding, [u, m] = L(l?.instantOpen), C = s.getFeature(N.GAMES), c = _(() => q?.map(({
410
+ graphicSrc: X
411
+ }) => X), []), {
412
+ screen: v
413
+ } = p(a, {
425
414
  keys: ["screen"]
426
415
  });
427
- (r = l == null ? void 0 : l.titleCard) != null && r.media && (l.titleCard.media.sponsorLogo = N0), C2(() => {
428
- var L;
429
- t(((L = d.current) == null ? void 0 : L.getBoundingClientRect().height) || 0);
416
+ l?.titleCard?.media && (l.titleCard.media.sponsorLogo = E0), n2(() => {
417
+ t(i.current?.getBoundingClientRect().height || 0);
430
418
  }, [t]);
431
419
  const {
432
- loading: S,
433
- throttled: x
434
- } = g2(f);
435
- return C && p && l && o.current && !x ? /* @__PURE__ */ s(e2, {
420
+ loading: R,
421
+ throttled: W
422
+ } = l2(c);
423
+ return u && C && l && o.current && !W ? /* @__PURE__ */ n(K, {
436
424
  container: o,
437
425
  useContainer: !1,
438
- children: /* @__PURE__ */ s(A0, {
426
+ children: /* @__PURE__ */ n(S0, {
439
427
  notification: e,
440
- setOpened: u,
441
- gamification: p,
428
+ setOpened: m,
429
+ gamification: C,
442
430
  onboardingOpts: l,
443
- deepLink: p.deepLink,
444
- loading: S,
445
- sdk: n
431
+ deepLink: C.deepLink,
432
+ loading: R,
433
+ sdk: s
446
434
  })
447
- }) : /* @__PURE__ */ g(D, {
448
- children: [/* @__PURE__ */ s(K, {
449
- ref: d,
435
+ }) : /* @__PURE__ */ f(I, {
436
+ children: [/* @__PURE__ */ n(w, {
437
+ ref: i,
450
438
  style: {
451
439
  position: "absolute",
452
440
  visibility: "hidden"
453
441
  },
454
- children: /* @__PURE__ */ s(q, {
442
+ children: /* @__PURE__ */ n(V, {
455
443
  close: () => {
456
444
  },
457
445
  action: () => {
458
446
  },
459
447
  onboarding: l
460
448
  })
461
- }), /* @__PURE__ */ s(R0, {
462
- style: i,
449
+ }), /* @__PURE__ */ n(g0, {
450
+ style: r,
463
451
  hiding: e.hiding,
464
- children: /* @__PURE__ */ s(K, {
465
- children: /* @__PURE__ */ s(q, {
452
+ children: /* @__PURE__ */ n(w, {
453
+ children: /* @__PURE__ */ n(V, {
466
454
  close: e.close,
467
455
  action: () => {
468
- var L;
469
- u(!0), (((L = o.current) == null ? void 0 : L.getBoundingClientRect().y) || 0) < 0 && s2(o, E.size, {
456
+ m(!0), (o.current?.getBoundingClientRect().y || 0) < 0 && z(o, v.size, {
470
457
  behavior: "smooth"
471
458
  });
472
459
  },
@@ -475,210 +462,205 @@ const H2 = /* @__PURE__ */ c("div")({
475
462
  })
476
463
  })]
477
464
  });
478
- }, y0 = () => P, w0 = /* @__PURE__ */ c(y0())({
465
+ }, N0 = () => O, T0 = /* @__PURE__ */ d(N0())({
479
466
  name: "Container",
480
467
  class: "c1f0y7nw",
481
468
  propsAsIs: !0
482
- }), o2 = /* @__PURE__ */ c("div")({
469
+ }), j = /* @__PURE__ */ d("div")({
483
470
  name: "InnerContainer",
484
471
  class: "i1qa3p7a",
485
472
  propsAsIs: !1
486
- }), D0 = () => o2, x0 = /* @__PURE__ */ c(D0())({
473
+ }), I0 = () => j, v0 = /* @__PURE__ */ d(I0())({
487
474
  name: "HiddenContainer",
488
475
  class: "hrthymv",
489
476
  propsAsIs: !0
490
- }), F0 = /* @__PURE__ */ c("div")({
477
+ }), R0 = /* @__PURE__ */ d("div")({
491
478
  name: "NotificationRefreshing",
492
479
  class: "n13rok4i",
493
480
  propsAsIs: !1
494
- }), O0 = () => E2, B0 = /* @__PURE__ */ c(O0())({
481
+ }), A0 = () => C2, y0 = /* @__PURE__ */ d(A0())({
495
482
  name: "Pill",
496
483
  class: "pht79xf",
497
484
  propsAsIs: !0
498
- }), V0 = (n) => {
499
- const [e, t] = _(0), i = I(null), o = $((r) => {
500
- i.current = r;
485
+ }), k0 = (s) => {
486
+ const [e, t] = L(0), r = g(null), o = b((i) => {
487
+ r.current = i;
501
488
  }, []);
502
- v(() => {
503
- var r;
504
- const d = (r = i.current) == null ? void 0 : r.getBoundingClientRect();
505
- d && t(d.height);
506
- }, [n]);
507
- const a = $((r) => {
508
- t(r);
489
+ E(() => {
490
+ const i = r.current?.getBoundingClientRect();
491
+ i && t(i.height);
492
+ }, [s]);
493
+ const a = b((i) => {
494
+ t(i);
509
495
  }, []);
510
496
  return [o, e, a];
511
- }, $0 = ({
512
- sdk: n,
497
+ }, D0 = ({
498
+ sdk: s,
513
499
  notification: e,
514
500
  appNode: t,
515
- responsiveStore: i
501
+ responsiveStore: r
516
502
  }) => {
517
- var o, a;
518
503
  const {
519
- sdk: r
520
- } = U(), [d, l, C] = V0(e.id);
521
- return e.type === w.QUESTION ? /* @__PURE__ */ g(D, {
522
- children: [/* @__PURE__ */ s(x0, {
523
- ref: d,
524
- children: /* @__PURE__ */ s(z, {
504
+ sdk: o
505
+ } = F(), [a, i, l] = k0(e.id);
506
+ return e.type === T.QUESTION ? /* @__PURE__ */ f(I, {
507
+ children: [/* @__PURE__ */ n(v0, {
508
+ ref: a,
509
+ children: /* @__PURE__ */ n(B, {
525
510
  ...e
526
511
  })
527
- }), /* @__PURE__ */ g(w0, {
512
+ }), /* @__PURE__ */ f(T0, {
528
513
  style: {
529
- height: e.hiding ? 0 : l
514
+ height: e.hiding ? 0 : i
530
515
  },
531
516
  hiding: e.hiding,
532
- children: [/* @__PURE__ */ s(o2, {
517
+ children: [/* @__PURE__ */ n(j, {
533
518
  style: {
534
519
  height: "100%"
535
520
  },
536
- children: /* @__PURE__ */ s(z, {
521
+ children: /* @__PURE__ */ n(B, {
537
522
  ...e,
538
- controlVideo: r == null ? void 0 : r.controlVideoPlayer
523
+ controlVideo: o?.controlVideoPlayer
539
524
  })
540
- }), /* @__PURE__ */ s(F0, {}, e.id)]
525
+ }), /* @__PURE__ */ n(R0, {}, e.id)]
541
526
  })]
542
- }) : e.type === w.QUESTION_RESOLVED && (a = (o = e.data) == null ? void 0 : o.question) != null && a.predictionResult ? /* @__PURE__ */ s(L2, {
527
+ }) : e.type === T.QUESTION_RESOLVED && e.data?.question?.predictionResult ? /* @__PURE__ */ n(p2, {
543
528
  style: {
544
- height: e.hiding ? 0 : l
529
+ height: e.hiding ? 0 : i
545
530
  },
546
- saveHeight: C,
531
+ saveHeight: l,
547
532
  close: e.close,
548
533
  hiding: e.hiding,
549
534
  ...e.data.question,
550
535
  mastersApp: !0
551
- }) : e.type === w.ONBOARDING ? /* @__PURE__ */ s(k0, {
536
+ }) : e.type === T.ONBOARDING ? /* @__PURE__ */ n(_0, {
552
537
  style: {
553
- height: e.hiding ? 0 : l
538
+ height: e.hiding ? 0 : i
554
539
  },
555
- saveHeight: C,
556
- sdk: n,
540
+ saveHeight: l,
541
+ sdk: s,
557
542
  notification: e,
558
543
  appNode: t,
559
- responsiveStore: i
544
+ responsiveStore: r
560
545
  }) : null;
561
- }, H0 = "p1co32q0", P0 = ({
562
- pill: n,
546
+ }, b0 = "p1co32q0", O0 = ({
547
+ pill: s,
563
548
  setPill: e,
564
549
  appNode: t,
565
- headerNode: i,
550
+ headerNode: r,
566
551
  scrollNode: o,
567
552
  responsiveStore: a,
568
- scrollStore: r,
569
- useContainer: d
553
+ scrollStore: i,
554
+ useContainer: l
570
555
  }) => {
571
- var l, C;
572
556
  const {
573
557
  screen: u
574
- } = m(a, {
558
+ } = p(a, {
575
559
  keys: ["screen"]
576
560
  }), {
577
- tabsShown: p,
578
- scrollPosition: f
579
- } = m(r, {
561
+ tabsShown: m,
562
+ scrollPosition: C
563
+ } = p(i, {
580
564
  keys: ["tabsShown", "scrollPosition"]
581
565
  });
582
- v(() => {
583
- a.get().sdkInDesktopView || d ? f < 50 && e(null) : f > -50 && e(null);
584
- }, [f, a, e, d]);
585
- const E = a.get().sdkInDesktopView ? t : i;
586
- return !n || !E.current ? null : D2(/* @__PURE__ */ s(B0, {
587
- title: n.type === w.QUESTION_RESOLVED ? "Prediction result" : `New ${((C = F2[(l = n.data) == null ? void 0 : l.questionType]) == null ? void 0 : C.label) || "notification"}`,
566
+ E(() => {
567
+ a.get().sdkInDesktopView || l ? C < 50 && e(null) : C > -50 && e(null);
568
+ }, [C, a, e, l]);
569
+ const c = a.get().sdkInDesktopView ? t : r;
570
+ return !s || !c.current ? null : I2(/* @__PURE__ */ n(y0, {
571
+ title: s.type === T.QUESTION_RESOLVED ? "Prediction result" : `New ${R2[s.data?.questionType]?.label || "notification"}`,
588
572
  onClick: () => {
589
- var S;
590
- a.get().sdkInDesktopView ? (S = o.current) == null || S.scrollTo({
573
+ a.get().sdkInDesktopView ? o.current?.scrollTo({
591
574
  top: 0,
592
575
  behavior: "smooth"
593
- }) : s2(o, u.size, {
576
+ }) : z(o, u.size, {
594
577
  behavior: "smooth"
595
578
  }), e(null);
596
579
  },
597
- className: A(p && H0, "sl-pill-button")
598
- }), E.current);
599
- }, U0 = ({
600
- sdk: n,
580
+ className: S(m && b0, "sl-pill-button")
581
+ }), c.current);
582
+ }, F0 = ({
583
+ sdk: s,
601
584
  headerNode: e,
602
585
  scrollNode: t,
603
- useContainer: i,
586
+ useContainer: r,
604
587
  responsiveStore: o,
605
588
  appNode: a,
606
- scrollStore: r
589
+ scrollStore: i
607
590
  }) => {
608
- const [d] = _(n.getNotificationsStore()), l = m(d), [C, u] = _(null), p = k(() => n.getActiveNotification(), [n, l]);
609
- return v(() => {
610
- p && x2.emit("notification", {
591
+ const [l] = L(s.getNotificationsStore()), u = p(l), [m, C] = L(null), c = _(() => s.getActiveNotification(), [s, u]);
592
+ return E(() => {
593
+ c && v2.emit("notification", {
611
594
  action: "rendered",
612
595
  payload: {
613
- questionId: p.data.questionId,
614
- questionType: p.data.questionType
596
+ questionId: c.data.questionId,
597
+ questionType: c.data.questionType
615
598
  }
616
599
  });
617
- }, [p]), v(() => {
618
- p && (o.get().sdkInDesktopView || o.get().sdkInView) && (!o.get().sdkInDesktopView && o.get().sdkInView && u(p), o.get().sdkInDesktopView && window.requestAnimationFrame(() => {
619
- r.get().scrollPosition !== 0 && u(p);
600
+ }, [c]), E(() => {
601
+ c && (o.get().sdkInDesktopView || o.get().sdkInView) && (!o.get().sdkInDesktopView && o.get().sdkInView && C(c), o.get().sdkInDesktopView && window.requestAnimationFrame(() => {
602
+ i.get().scrollPosition !== 0 && C(c);
620
603
  }));
621
- }, [p]), v(() => {
622
- p || u(null);
623
- }, [p]), /* @__PURE__ */ g(D, {
624
- children: [!C && p && /* @__PURE__ */ s($0, {
604
+ }, [c]), E(() => {
605
+ c || C(null);
606
+ }, [c]), /* @__PURE__ */ f(I, {
607
+ children: [!m && c && /* @__PURE__ */ n(D0, {
625
608
  headerNode: e,
626
609
  appNode: a,
627
- sdk: n,
628
- notification: p,
610
+ sdk: s,
611
+ notification: c,
629
612
  responsiveStore: o
630
- }), C && /* @__PURE__ */ s(P0, {
631
- pill: C,
632
- setPill: u,
613
+ }), m && /* @__PURE__ */ n(O0, {
614
+ pill: m,
615
+ setPill: C,
633
616
  appNode: a,
634
- notification: p,
617
+ notification: c,
635
618
  headerNode: e,
636
619
  scrollNode: t,
637
- scrollStore: r,
638
- useContainer: i,
620
+ scrollStore: i,
621
+ useContainer: r,
639
622
  responsiveStore: o
640
623
  })]
641
624
  });
642
- }, Q = Object.keys(N), B = () => {
643
- const n = window.innerWidth;
625
+ }, $ = Object.keys(h), k = () => {
626
+ const s = window.innerWidth;
644
627
  let e = "sm";
645
- for (let t = Q.length - 1; t > 0; t--) {
646
- const i = Q[t];
647
- if (!(n < N[i]) && n >= N[i]) {
648
- e = i;
628
+ for (let t = $.length - 1; t > 0; t--) {
629
+ const r = $[t];
630
+ if (!(s < h[r]) && s >= h[r]) {
631
+ e = r;
649
632
  break;
650
633
  }
651
634
  }
652
635
  return {
653
636
  name: e,
654
- size: N[e]
637
+ size: h[e]
655
638
  };
656
- }, Z = (n) => {
657
- var e;
658
- const t = (e = n.current) == null ? void 0 : e.getBoundingClientRect();
659
- return t ? t.y > -t.height && t.y < window.innerHeight : !1;
660
- }, W = (n) => n >= N.lg, G0 = (n) => {
661
- const [e] = _(() => {
662
- const t = B();
663
- return j({
664
- screen: B(),
665
- sdkInView: Z(n),
666
- sdkInDesktopView: W(t.size)
639
+ }, P = (s) => {
640
+ const e = s.current?.getBoundingClientRect();
641
+ return e ? e.y > -e.height && e.y < window.innerHeight : !1;
642
+ }, H = (s) => s >= h.lg, B0 = (s) => {
643
+ const [e] = L(() => {
644
+ const t = k();
645
+ return G({
646
+ screen: k(),
647
+ sdkInView: P(s),
648
+ sdkInDesktopView: H(t.size)
667
649
  });
668
650
  });
669
- return v(() => {
670
- const t = V(() => {
671
- e.setKey("sdkInView", Z(n));
672
- }, 200), i = V(() => {
673
- const o = B();
674
- e.setKey("screen", o), e.setKey("sdkInDesktopView", W(o.size));
651
+ return E(() => {
652
+ const t = D(() => {
653
+ e.setKey("sdkInView", P(s));
654
+ }, 200), r = D(() => {
655
+ const o = k();
656
+ e.setKey("screen", o), e.setKey("sdkInDesktopView", H(o.size));
675
657
  }, 200);
676
- return t(), i(), window.addEventListener("scroll", t), window.addEventListener("resize", i), () => {
677
- window.removeEventListener("scroll", t), window.removeEventListener("resize", i);
658
+ return t(), r(), window.addEventListener("scroll", t), window.addEventListener("resize", r), () => {
659
+ window.removeEventListener("scroll", t), window.removeEventListener("resize", r);
678
660
  };
679
- }, [e, n]), [e];
680
- }, z0 = {
681
- ...a2,
661
+ }, [e, s]), [e];
662
+ }, V0 = {
663
+ ...o2,
682
664
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
683
665
  // @ts-expect-error
684
666
  BG_TRANSPARENT: "rgba(0,0,0, .8)",
@@ -744,30 +726,17 @@ const H2 = /* @__PURE__ */ c("div")({
744
726
  IN_APP_QUESTION_RESULT_SUBTITLE_BG: "#1D7BFF",
745
727
  IN_APP_QUESTION_RESULT_LINE: "#babfc5",
746
728
  QUOTE_TEXT: "#006944"
747
- }, h = {
748
- ...b,
749
- REGULAR: "'Benton Sans', BentonSans, Arial, Helvetica, sans-serif",
750
- REGULAR1: b.REGULAR,
751
- SERIF: "'Tiempos', 'Tiempos Text', Times New Roman, serif",
752
- SERIF1: "'Tiempos', 'Tiempos Headline', Times New Roman, serif",
753
- COLOR: "#fff",
754
- WEIGHT_DEFAULT: "500"
755
- }, M0 = Object.entries(z0).reduce((n, [e, t]) => `
756
- ${n}
729
+ };
730
+ Object.entries(V0).reduce((s, [e, t]) => `
731
+ ${s}
757
732
  --color-${e.toLowerCase().replaceAll("_", "-")}: ${t};
758
733
  `, "");
759
- `${M0}${h.REGULAR}${h.REGULAR}${h.REGULAR1}${h.COLOR}${h.SERIF}${h.SERIF1}${h.WEIGHT_DEFAULT}${h.WEIGHT_DEFAULT1}${h.WEIGHT_DEFAULT2}${h.WEIGHT_DEFAULT3}${b.SIZE_DEFAULT}${b.SIZE_DEFAULT1}${b.SIZE_DEFAULT2}${b.LINE_HEIGHT}${M.down("xl")`
760
- --header-offset: 0px;
761
- --watch-live-header: 0px;
762
- `}${M.intermediate("xl", "lg")`
763
- --header-offset: 0px;
764
- `}`;
765
- const q0 = "m1ojpy2l", K0 = ({ children: n, style: e }) => /* @__PURE__ */ s("div", { className: "StreamLayerSDKTheme", children: /* @__PURE__ */ s("div", { className: A("masters-theme", q0), style: e, children: n }) }), E1 = ({ sdkKey: n, plugins: e, children: t, event: i, onDeepLinkHandled: o, videoPlayerController: a, production: r = !0 }) => /* @__PURE__ */ g(
766
- O2,
734
+ const w0 = "m1ojpy2l", $0 = ({ children: s, style: e }) => /* @__PURE__ */ n("div", { className: "StreamLayerSDKTheme", children: /* @__PURE__ */ n("div", { className: S("masters-theme", w0), style: e, children: s }) }), C1 = ({ sdkKey: s, plugins: e, children: t, event: r, onDeepLinkHandled: o, videoPlayerController: a, production: i = !0 }) => /* @__PURE__ */ f(
735
+ A2,
767
736
  {
768
- sdkKey: n,
737
+ sdkKey: s,
769
738
  plugins: e,
770
- production: r,
739
+ production: i,
771
740
  autoEnable: !0,
772
741
  onDeepLinkHandled: o,
773
742
  videoPlayerController: a,
@@ -775,97 +744,95 @@ const q0 = "m1ojpy2l", K0 = ({ children: n, style: e }) => /* @__PURE__ */ s("di
775
744
  skipOnboarding: !0,
776
745
  hideFriends: !0,
777
746
  children: [
778
- /* @__PURE__ */ s(B2, { event: i }),
747
+ /* @__PURE__ */ n(y2, { event: r }),
779
748
  t
780
749
  ]
781
750
  }
782
- ), Q0 = ({ sdk: n, className: e }) => {
783
- const [, t] = S2(n);
784
- return /* @__PURE__ */ s(a0, { className: e, feature: t, sdk: n });
785
- }, Z0 = ({ sdk: n, className: e, appNode: t, responsiveStore: i, useContainer: o }) => {
786
- const a = m(n.featuresList.getStore());
787
- return a ? Array.from(a, (r) => {
788
- const d = n.getFeature(r);
789
- return d ? /* @__PURE__ */ s(
790
- l0,
751
+ ), P0 = ({ sdk: s, className: e }) => {
752
+ const [, t] = u2(s);
753
+ return /* @__PURE__ */ n(J2, { className: e, feature: t, sdk: s });
754
+ }, H0 = ({ sdk: s, className: e, appNode: t, responsiveStore: r, useContainer: o }) => {
755
+ const a = p(s.featuresList.getStore());
756
+ return a ? Array.from(a, (i) => {
757
+ const l = s.getFeature(i);
758
+ return l ? /* @__PURE__ */ n(
759
+ e0,
791
760
  {
792
761
  useContainer: o,
793
- responsiveStore: i,
762
+ responsiveStore: r,
794
763
  className: e,
795
764
  appNode: t,
796
- feature: d,
797
- sdk: n
765
+ feature: l,
766
+ sdk: s
798
767
  },
799
- r
768
+ i
800
769
  ) : null;
801
770
  }) : null;
802
- }, W0 = (n) => {
803
- const e = I(null);
804
- return X(e, { enabled: !0, event: "click", listener: J }), /* @__PURE__ */ s(_2, { ref: e, ...n });
805
- }, Y0 = ({ sdk: n, useContainer: e }) => {
806
- const t = I(null), i = m(n.status), o = m(n.sdkStore.slStreamId), a = I(null), [r] = G0(t), [d, l] = Q2(t, r, e), C = i === "ready" && !!o.data;
807
- return v(() => {
771
+ }, U0 = (s) => {
772
+ const e = g(null);
773
+ return M(e, { enabled: !0, event: "click", listener: Q }), /* @__PURE__ */ n(m2, { ref: e, ...s });
774
+ }, G0 = ({ sdk: s, useContainer: e }) => {
775
+ const t = g(null), r = p(s.status), o = p(s.sdkStore.slStreamId), a = g(null), [i] = B0(t), [l, u] = H2(t, i, e), m = r === "ready" && !!o.data;
776
+ return E(() => {
808
777
  window.requestAnimationFrame(() => {
809
- n.initializeApp().then(() => {
810
- n.openFeature(y.GAMES);
778
+ s.initializeApp().then(() => {
779
+ s.openFeature(N.GAMES);
811
780
  });
812
781
  });
813
- }, [n]), X(t, { enabled: !0, event: "click", listener: J }), v(() => {
782
+ }, [s]), M(t, { enabled: !0, event: "click", listener: Q }), E(() => {
814
783
  import("./gamification-feature2.js");
815
- }, []), /* @__PURE__ */ g(H2, { className: A("SDKContainer", !e && P2), ref: t, children: [
816
- /* @__PURE__ */ s(u0, { className: A(F), ref: a }),
817
- /* @__PURE__ */ g(U2, { className: "sl-hide-on-modal", ref: d, children: [
818
- C && /* @__PURE__ */ s(
819
- U0,
784
+ }, []), /* @__PURE__ */ f(b2, { className: S("SDKContainer", !e && O2), ref: t, children: [
785
+ /* @__PURE__ */ n(o0, { className: S(A), ref: a }),
786
+ /* @__PURE__ */ f(F2, { className: "sl-hide-on-modal", ref: l, children: [
787
+ m && /* @__PURE__ */ n(
788
+ F0,
820
789
  {
821
- sdk: n,
822
- scrollNode: d,
790
+ sdk: s,
791
+ scrollNode: l,
823
792
  headerNode: a,
824
793
  appNode: t,
825
- scrollStore: l,
826
- responsiveStore: r,
794
+ scrollStore: u,
795
+ responsiveStore: i,
827
796
  useContainer: e
828
797
  }
829
798
  ),
830
- C && /* @__PURE__ */ s(Q0, { className: F, sdk: n }),
831
- C && /* @__PURE__ */ s(
832
- Z0,
799
+ m && /* @__PURE__ */ n(P0, { className: A, sdk: s }),
800
+ m && /* @__PURE__ */ n(
801
+ H0,
833
802
  {
834
- responsiveStore: r,
803
+ responsiveStore: i,
835
804
  appNode: t,
836
- className: F,
837
- sdk: n,
805
+ className: A,
806
+ sdk: s,
838
807
  useContainer: e
839
808
  }
840
809
  )
841
810
  ] })
842
811
  ] });
843
- }, j0 = ({ sdk: n, betPack: e, useContainer: t }) => {
844
- const [i, o] = _(e), a = !!m(n.userId()), r = k(() => ({ sdk: n }), [n]), d = $(() => {
845
- o(!1);
846
- const l = n == null ? void 0 : n.getFeature(y.GAMES);
847
- l == null || l.closeQuestion();
848
- }, [n]);
849
- return /* @__PURE__ */ g(i2.Provider, { value: r, children: [
850
- i && a && /* @__PURE__ */ s(
851
- W0,
812
+ }, M0 = ({ sdk: s, betPack: e, useContainer: t }) => {
813
+ const [r, o] = L(e), a = !!p(s.userId()), i = _(() => ({ sdk: s }), [s]), l = b(() => {
814
+ o(!1), s?.getFeature(N.GAMES)?.closeQuestion();
815
+ }, [s]);
816
+ return /* @__PURE__ */ f(Y.Provider, { value: i, children: [
817
+ r && a && /* @__PURE__ */ n(
818
+ U0,
852
819
  {
853
- sdk: n,
854
- onEvent: ({ type: l }) => l === "slOpenGameCenter" ? d() : () => {
820
+ sdk: s,
821
+ onEvent: ({ type: u }) => u === "slOpenGameCenter" ? l() : () => {
855
822
  },
856
- close: () => d()
823
+ close: () => l()
857
824
  }
858
825
  ),
859
- !i && /* @__PURE__ */ s(Y0, { sdk: n, useContainer: t })
826
+ !r && /* @__PURE__ */ n(G0, { sdk: s, useContainer: t })
860
827
  ] });
861
- }, X0 = ({
862
- betPack: n,
828
+ }, Q0 = ({
829
+ betPack: s,
863
830
  useContainer: e
864
831
  }) => {
865
- const { sdk: t, status: i } = Y(V2);
866
- return i === $2.UNSET ? (console.error("Wrap app in `StreamLayerProvider`"), null) : t ? /* @__PURE__ */ s("div", { className: "StreamLayerSDK", children: /* @__PURE__ */ s(K0, { style: { height: "100%" }, children: /* @__PURE__ */ s(j0, { sdk: t, betPack: n, useContainer: e }) }) }) : null;
832
+ const { sdk: t, status: r } = U(k2);
833
+ return r === D2.UNSET ? (console.error("Wrap app in `StreamLayerProvider`"), null) : t ? /* @__PURE__ */ n("div", { className: "StreamLayerSDK", children: /* @__PURE__ */ n($0, { style: { height: "100%" }, children: /* @__PURE__ */ n(M0, { sdk: t, betPack: s, useContainer: e }) }) }) : null;
867
834
  };
868
- class L1 extends u2 {
835
+ class p1 extends r2 {
869
836
  constructor(e) {
870
837
  super(e), this.state = { hasError: !1 };
871
838
  }
@@ -876,11 +843,11 @@ class L1 extends u2 {
876
843
  console.error(e, t.componentStack);
877
844
  }
878
845
  render() {
879
- return this.state.hasError ? null : /* @__PURE__ */ s(X0, { ...this.props });
846
+ return this.state.hasError ? null : /* @__PURE__ */ n(Q0, { ...this.props });
880
847
  }
881
848
  }
882
849
  export {
883
- v1 as C,
884
- L1 as M,
885
- E1 as S
850
+ d1 as C,
851
+ p1 as M,
852
+ C1 as S
886
853
  };