@streamlayer/react-ui 1.0.0 → 1.2.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 (284) hide show
  1. package/lib/app/app/Advertisement/index.d.ts +10 -0
  2. package/lib/app/app/Advertisement/index.js +89 -0
  3. package/lib/{ui/app/masters → app/app}/Features/FeatureProvider.d.ts +2 -2
  4. package/lib/{ui/app → app}/app/Features/FeatureProvider.js +8 -8
  5. package/lib/{ui/app → app}/app/Features/Gamification/Friends.d.ts +0 -1
  6. package/lib/{ui/app → app}/app/Features/Gamification/Friends.js +2 -2
  7. package/lib/{ui/app → app}/app/Features/Gamification/Leaderboard.d.ts +3 -3
  8. package/lib/{ui/app → app}/app/Features/Gamification/Leaderboard.js +16 -16
  9. package/lib/{ui/app/masters → app/app}/Features/Gamification/Question.d.ts +1 -1
  10. package/lib/app/app/Features/Gamification/Question.js +69 -0
  11. package/lib/{ui/app → app}/app/Features/Gamification/QuestionsList.d.ts +2 -2
  12. package/lib/{ui/app → app}/app/Features/Gamification/QuestionsList.js +1 -1
  13. package/lib/{ui/app/masters → app/app}/Features/Gamification/Tabs.d.ts +3 -3
  14. package/lib/{ui/app → app}/app/Features/Gamification/Tabs.js +12 -12
  15. package/lib/{ui/app → app}/app/Features/Gamification/UserSummary.d.ts +2 -2
  16. package/lib/{ui/app/masters → app/app}/Features/Gamification/UserSummary.js +1 -1
  17. package/lib/{ui/app → app}/app/Features/Gamification/gamification-feature.d.ts +1 -0
  18. package/lib/{ui/app → app}/app/Features/Gamification/index.d.ts +3 -3
  19. package/lib/{ui/app/masters → app/app}/Features/Gamification/index.js +29 -29
  20. package/lib/{ui/app/masters → app/app}/Features/index.d.ts +4 -4
  21. package/lib/app/app/Navigation/index.d.ts +6 -0
  22. package/lib/app/app/Navigation/index.js +64 -0
  23. package/lib/{ui/app → app}/app/Notifications/Onboarding/Notification/index.d.ts +2 -2
  24. package/lib/app/app/Notifications/Onboarding/Notification/styles.d.ts +9 -0
  25. package/lib/app/app/Notifications/Onboarding/Notification/styles.js +50 -0
  26. package/lib/{ui/app/masters → app/app}/Notifications/Onboarding/index.d.ts +4 -4
  27. package/lib/app/app/Notifications/Onboarding/index.js +168 -0
  28. package/lib/{ui/app → app}/app/Notifications/index.d.ts +3 -3
  29. package/lib/{ui/app → app}/app/Notifications/index.js +27 -27
  30. package/lib/app/app/Notifications/styles.d.ts +9 -0
  31. package/lib/app/app/Notifications/styles.js +31 -0
  32. package/lib/{ui/app/app/Navigation → app/app/Points}/index.d.ts +2 -2
  33. package/lib/{ui/app → app}/app/Points/index.js +1 -1
  34. package/lib/{ui/app → app}/app/index.d.ts +2 -2
  35. package/lib/{ui/app → app}/app/index.js +32 -32
  36. package/lib/app/app/story/content.d.ts +4 -0
  37. package/lib/app/app/story/content.js +30 -0
  38. package/lib/app/app/story/index.d.ts +10 -0
  39. package/lib/app/app/story/index.js +113 -0
  40. package/lib/app/app/story/login.d.ts +1 -0
  41. package/lib/app/app/story/login.js +34 -0
  42. package/lib/app/app/story/styles.d.ts +9 -0
  43. package/lib/app/app/story/styles.js +49 -0
  44. package/lib/app/app/story/useResponsive.d.ts +1 -0
  45. package/lib/app/app/story/useResponsive.js +15 -0
  46. package/lib/app/app/story/video.d.ts +10 -0
  47. package/lib/app/app/story/video.js +67 -0
  48. package/lib/{ui/app → app}/app/useApp.d.ts +2 -1
  49. package/lib/{ui/app → app}/app/useApp.js +20 -17
  50. package/lib/app/app/useAppContext.d.ts +8 -0
  51. package/lib/{ui/app → app}/index.d.ts +0 -1
  52. package/lib/app/login/demo.d.ts +5 -0
  53. package/lib/{ui → app}/login/index.d.ts +0 -1
  54. package/lib/{ui → app}/login/index.js +1 -1
  55. package/lib/app/login/styles.d.ts +7 -0
  56. package/lib/app/login/styles.js +39 -0
  57. package/lib/{ui/app/app → app/masters}/Features/FeatureProvider.d.ts +2 -2
  58. package/lib/{ui/app → app}/masters/Features/FeatureProvider.js +8 -8
  59. package/lib/{ui/app → app}/masters/Features/Gamification/Friends.d.ts +0 -1
  60. package/lib/app/masters/Features/Gamification/Friends.js +19 -0
  61. package/lib/{ui/app → app}/masters/Features/Gamification/Leaderboard.d.ts +3 -3
  62. package/lib/{ui/app → app}/masters/Features/Gamification/Leaderboard.js +10 -10
  63. package/lib/{ui/app/app → app/masters}/Features/Gamification/Question.d.ts +1 -1
  64. package/lib/{ui/app → app}/masters/Features/Gamification/Question.js +11 -11
  65. package/lib/{ui/app → app}/masters/Features/Gamification/QuestionsList.d.ts +2 -2
  66. package/lib/{ui/app → app}/masters/Features/Gamification/QuestionsList.js +1 -1
  67. package/lib/{ui/app/app → app/masters}/Features/Gamification/Tabs.d.ts +3 -3
  68. package/lib/{ui/app → app}/masters/Features/Gamification/Tabs.js +12 -12
  69. package/lib/{ui/app → app}/masters/Features/Gamification/UserSummary.d.ts +2 -2
  70. package/lib/{ui/app/app → app/masters}/Features/Gamification/UserSummary.js +1 -1
  71. package/lib/{ui/app → app}/masters/Features/Gamification/gamification-feature.d.ts +1 -0
  72. package/lib/{ui/app → app}/masters/Features/Gamification/index.d.ts +3 -3
  73. package/lib/app/masters/Features/Gamification/index.js +88 -0
  74. package/lib/{ui/app/app → app/masters}/Features/index.d.ts +4 -4
  75. package/lib/{ui/app → app}/masters/Navigation/MastersNavigation/index.d.ts +5 -5
  76. package/lib/{ui/app → app}/masters/Navigation/MastersNavigation/index.js +5 -5
  77. package/lib/{ui/app → app}/masters/Notifications/Onboarding/Notification/index.d.ts +2 -2
  78. package/lib/app/masters/Notifications/Onboarding/Notification/styles.d.ts +9 -0
  79. package/lib/{ui/app/app → app/masters}/Notifications/Onboarding/Notification/styles.js +16 -16
  80. package/lib/{ui/app/app → app/masters}/Notifications/Onboarding/index.d.ts +4 -4
  81. package/lib/{mastersLogoSolid-B4Dz-vm1.js → app/masters/Notifications/Onboarding/index.js} +166 -2
  82. package/lib/{ui/app → app}/masters/Notifications/index.d.ts +3 -3
  83. package/lib/{ui/app → app}/masters/Notifications/index.js +48 -47
  84. package/lib/app/masters/Notifications/styles.d.ts +9 -0
  85. package/lib/{ui/app/app → app/masters}/Notifications/styles.js +10 -10
  86. package/lib/app/masters/Points/index.d.ts +5 -0
  87. package/lib/{ui/app → app}/masters/Points/index.js +1 -1
  88. package/lib/{ui/app → app}/masters/masters.d.ts +3 -3
  89. package/lib/{ui/app → app}/masters/masters.js +20 -20
  90. package/lib/{ui/app → app}/masters/useMastersApp.d.ts +2 -1
  91. package/lib/app/masters/useMastersApp.js +71 -0
  92. package/lib/app/masters/useMastersContext.d.ts +8 -0
  93. package/lib/app/styles.d.ts +20 -0
  94. package/lib/{ui/app → app}/styles.js +13 -13
  95. package/lib/{ui/app → app}/useClipboardCopy.d.ts +3 -3
  96. package/lib/{ui/app → app}/useClipboardCopy.js +2 -2
  97. package/lib/{ui/app → app}/useSdkFeature.d.ts +2 -1
  98. package/lib/{ui/app → app}/useSdkResponsive.d.ts +3 -1
  99. package/lib/{ui/app → app}/useSdkResponsive.js +2 -2
  100. package/lib/{ui/app → app}/useSdkScroll.d.ts +3 -2
  101. package/lib/{ui/app → app}/useSdkScroll.js +2 -2
  102. package/lib/assets/style.css +1 -1
  103. package/lib/hooks/showIn.js +1 -1
  104. package/lib/{index-Bicco-Aq.js → index-B1QdimmR.js} +7737 -8219
  105. package/lib/index.d.ts +1 -1
  106. package/lib/index.js +1 -1
  107. package/lib/ui/advertisement/banner/index.d.ts +8 -0
  108. package/lib/ui/advertisement/banner/index.js +32 -0
  109. package/lib/ui/advertisement/index.d.ts +10 -0
  110. package/lib/ui/advertisement/index.js +19 -0
  111. package/lib/ui/advertisement/mock.d.ts +4 -0
  112. package/lib/ui/advertisement/mock.js +67 -0
  113. package/lib/ui/advertisement/overlay/index.d.ts +7 -0
  114. package/lib/ui/advertisement/overlay/index.js +74 -0
  115. package/lib/ui/advertisement/overlay/styles.d.ts +18 -0
  116. package/lib/ui/advertisement/overlay/styles.js +95 -0
  117. package/lib/ui/advertisement/sidebar/index.d.ts +7 -0
  118. package/lib/ui/advertisement/sidebar/index.js +25 -0
  119. package/lib/ui/animated-counter/index.d.ts +1 -1
  120. package/lib/ui/button/index.d.ts +0 -1
  121. package/lib/ui/button/styles.d.ts +2 -3
  122. package/lib/ui/gamification/constants.d.ts +1 -0
  123. package/lib/ui/gamification/copyNotification/index.d.ts +0 -1
  124. package/lib/ui/gamification/copyNotification/styles.d.ts +3 -4
  125. package/lib/ui/gamification/detail/header/index.d.ts +1 -1
  126. package/lib/ui/gamification/detail/header/styles.d.ts +4 -5
  127. package/lib/ui/gamification/detail/sponsor/index.d.ts +1 -1
  128. package/lib/ui/gamification/detail/sponsor/index.js +13 -7
  129. package/lib/ui/gamification/insight/index.d.ts +1 -1
  130. package/lib/ui/gamification/insight/styles.d.ts +8 -9
  131. package/lib/ui/gamification/insight-list/index.d.ts +1 -1
  132. package/lib/ui/gamification/insight-list/styles.d.ts +2 -3
  133. package/lib/ui/gamification/invite-link/index.d.ts +0 -1
  134. package/lib/ui/gamification/invite-link/index.js +13 -13
  135. package/lib/ui/gamification/invite-link/styles.d.ts +5 -6
  136. package/lib/ui/gamification/invite-link/styles.js +11 -11
  137. package/lib/ui/gamification/leaderboard/index.d.ts +1 -1
  138. package/lib/ui/gamification/leaderboard/list-item/index.d.ts +2 -2
  139. package/lib/ui/gamification/leaderboard/list-item/styles.d.ts +7 -8
  140. package/lib/ui/gamification/leaderboard/static.d.ts +3 -3
  141. package/lib/ui/gamification/leaderboard/styles.d.ts +1 -2
  142. package/lib/ui/gamification/leaderboard/styles.js +1 -1
  143. package/lib/ui/gamification/onboarding/index.d.ts +3 -3
  144. package/lib/ui/gamification/onboarding/invitingUser/index.d.ts +0 -1
  145. package/lib/ui/gamification/onboarding/invitingUser/styles.d.ts +5 -6
  146. package/lib/ui/gamification/onboarding/slides/onboarding-instructions/index.d.ts +1 -0
  147. package/lib/ui/gamification/onboarding/slides/onboarding-instructions/styles.d.ts +10 -11
  148. package/lib/ui/gamification/onboarding/slides/onboarding-invite-card/index.d.ts +1 -1
  149. package/lib/ui/gamification/onboarding/slides/onboarding-invite-card/index.js +6 -6
  150. package/lib/ui/gamification/onboarding/slides/onboarding-invite-card/styles.d.ts +9 -10
  151. package/lib/ui/gamification/onboarding/slides/onboarding-rules/index.d.ts +1 -1
  152. package/lib/ui/gamification/onboarding/slides/onboarding-rules/styles.d.ts +8 -9
  153. package/lib/ui/gamification/onboarding/slides/onboarding-terms/index.d.ts +0 -1
  154. package/lib/ui/gamification/onboarding/slides/onboarding-terms/styles.d.ts +4 -5
  155. package/lib/ui/gamification/onboarding/styles.d.ts +5 -6
  156. package/lib/ui/gamification/points/index.d.ts +0 -1
  157. package/lib/ui/gamification/points/styles.d.ts +5 -6
  158. package/lib/ui/gamification/question/index.d.ts +2 -2
  159. package/lib/ui/gamification/question/index.js +27 -26
  160. package/lib/ui/gamification/question/insight/index.d.ts +1 -1
  161. package/lib/ui/gamification/question/insight/styles.d.ts +2 -3
  162. package/lib/ui/gamification/question/list/index.d.ts +2 -2
  163. package/lib/ui/gamification/question/list/styles.d.ts +1 -2
  164. package/lib/ui/gamification/question/notification/index.d.ts +2 -2
  165. package/lib/ui/gamification/question/notification/insight/index.d.ts +2 -2
  166. package/lib/ui/gamification/question/notification/insight/styles.d.ts +7 -8
  167. package/lib/ui/gamification/question/notification/pill/index.d.ts +0 -1
  168. package/lib/ui/gamification/question/notification/pill/styles.d.ts +3 -4
  169. package/lib/ui/gamification/question/notification/prediction-result/animation-lines/index.d.ts +0 -1
  170. package/lib/ui/gamification/question/notification/prediction-result/animation-lines/styles.d.ts +58 -31
  171. package/lib/ui/gamification/question/notification/prediction-result/index.d.ts +3 -2
  172. package/lib/ui/gamification/question/notification/prediction-result/index.js +55 -54
  173. package/lib/ui/gamification/question/notification/prediction-result/styles.d.ts +11 -10
  174. package/lib/ui/gamification/question/notification/styles.d.ts +6 -7
  175. package/lib/ui/gamification/question/notification/tweet/index.d.ts +3 -3
  176. package/lib/ui/gamification/question/notification/tweet/styles.d.ts +4 -5
  177. package/lib/ui/gamification/question/styles.d.ts +14 -14
  178. package/lib/ui/gamification/question/styles.js +48 -43
  179. package/lib/ui/gamification/question/twitter/index.d.ts +2 -2
  180. package/lib/ui/gamification/question/twitter/styles.d.ts +3 -4
  181. package/lib/ui/gamification/tabs/index.d.ts +0 -1
  182. package/lib/ui/gamification/tabs/styles.d.ts +4 -5
  183. package/lib/ui/gamification/user-statistics/components/rank/index.d.ts +0 -1
  184. package/lib/ui/gamification/user-statistics/components/rank/styles.d.ts +3 -4
  185. package/lib/ui/gamification/user-statistics/components/statistic/index.d.ts +0 -1
  186. package/lib/ui/gamification/user-statistics/components/statistic/styles.d.ts +3 -4
  187. package/lib/ui/gamification/user-statistics/index.d.ts +0 -1
  188. package/lib/ui/gamification/user-statistics/styles.d.ts +17 -18
  189. package/lib/ui/gamification/vote/alert/index.d.ts +2 -1
  190. package/lib/ui/gamification/vote/alert/styles.d.ts +3 -4
  191. package/lib/ui/gamification/vote/feedback/index.d.ts +1 -1
  192. package/lib/ui/gamification/vote/feedback/styles.d.ts +8 -9
  193. package/lib/ui/gamification/vote/index.d.ts +1 -1
  194. package/lib/ui/gamification/vote/insight-details/index.d.ts +1 -1
  195. package/lib/ui/gamification/vote/insight-details/styles.d.ts +2 -3
  196. package/lib/ui/gamification/vote/styles.d.ts +4 -5
  197. package/lib/ui/gamification/vote/styles.js +1 -1
  198. package/lib/ui/gamification/vote/twitter-details/index.d.ts +2 -2
  199. package/lib/ui/gamification/vote/twitter-details/styles.d.ts +2 -3
  200. package/lib/ui/gamification/vote/vote-option/index.d.ts +1 -1
  201. package/lib/ui/gamification/vote/vote-option/index.js +6 -6
  202. package/lib/ui/gamification/vote/vote-option/styles.d.ts +19 -16
  203. package/lib/ui/gamification/vote/win-bar/index.d.ts +1 -1
  204. package/lib/ui/gamification/vote/win-bar/styles.d.ts +6 -7
  205. package/lib/ui/icons/index.d.ts +1 -1
  206. package/lib/ui/icons/index.js +108 -47
  207. package/lib/ui/lottie/index.d.ts +0 -1
  208. package/lib/ui/modal/index.d.ts +0 -1
  209. package/lib/ui/modal/index.js +1 -1
  210. package/lib/ui/navigation/button/Channels.d.ts +1 -1
  211. package/lib/ui/navigation/button/FeaturedGroups.d.ts +1 -1
  212. package/lib/ui/navigation/button/LeaderBoard.d.ts +1 -1
  213. package/lib/ui/navigation/button/index.d.ts +1 -1
  214. package/lib/ui/navigation/button/styles.d.ts +6 -7
  215. package/lib/ui/navigation/index.d.ts +1 -1
  216. package/lib/ui/navigation/masters.d.ts +6 -5
  217. package/lib/ui/questions/insight/index.d.ts +1 -1
  218. package/lib/ui/questions/insight/styles.d.ts +6 -7
  219. package/lib/ui/questions/twitter/account/index.d.ts +0 -1
  220. package/lib/ui/questions/twitter/account/styles.d.ts +6 -7
  221. package/lib/ui/questions/twitter/index.d.ts +1 -1
  222. package/lib/ui/questions/twitter/styles.d.ts +14 -11
  223. package/lib/ui/show-in/index.d.ts +2 -1
  224. package/lib/ui/skeleton/index.d.ts +0 -1
  225. package/lib/ui/skeleton/styles.d.ts +1 -2
  226. package/lib/ui/slide-in/index.d.ts +11 -0
  227. package/lib/ui/slide-in/index.js +24 -0
  228. package/lib/ui/theme/ThemeColors.js +1 -1
  229. package/lib/ui/theme/ThemeColorsAdvertisement.d.ts +1 -0
  230. package/lib/ui/theme/ThemeColorsAdvertisement.js +15 -0
  231. package/lib/ui/theme/breakpoints.d.ts +1 -0
  232. package/lib/ui/theme/constants.d.ts +23 -59
  233. package/lib/ui/theme/constants.js +41 -56
  234. package/lib/ui/theme/index.d.ts +0 -1
  235. package/lib/ui/theme/masters-theme.d.ts +4 -24
  236. package/lib/ui/theme/masters-theme.js +26 -58
  237. package/lib/ui/theme/masters.d.ts +0 -1
  238. package/lib/ui/theme/theme.d.ts +1 -1
  239. package/lib/ui/theme/theme.js +14 -11
  240. package/lib/ui/timer/index.d.ts +3 -2
  241. package/lib/ui/timer/index.js +32 -32
  242. package/lib/ui/video-player/index.d.ts +1 -1
  243. package/lib/ui/video-player/index.js +70 -62
  244. package/lib/ui/video-player/styles.d.ts +5 -6
  245. package/lib/utils/debug/storage.js +1 -1
  246. package/lib/utils/storage.js +1 -1
  247. package/package.json +47 -41
  248. package/lib/styles_z07sl8-l0sNRNKZ.js +0 -1
  249. package/lib/ui/app/app/Features/Gamification/Question.js +0 -69
  250. package/lib/ui/app/app/Features/Gamification/index.js +0 -88
  251. package/lib/ui/app/app/Navigation/index.js +0 -42
  252. package/lib/ui/app/app/Notifications/Onboarding/Notification/styles.d.ts +0 -10
  253. package/lib/ui/app/app/Notifications/Onboarding/index.js +0 -172
  254. package/lib/ui/app/app/Notifications/styles.d.ts +0 -8
  255. package/lib/ui/app/app/Points/index.d.ts +0 -5
  256. package/lib/ui/app/app/useAppContext.d.ts +0 -8
  257. package/lib/ui/app/masters/Features/Gamification/Friends.js +0 -19
  258. package/lib/ui/app/masters/Navigation/index.d.ts +0 -9
  259. package/lib/ui/app/masters/Navigation/index.js +0 -30
  260. package/lib/ui/app/masters/Notifications/Onboarding/Notification/styles.d.ts +0 -10
  261. package/lib/ui/app/masters/Notifications/Onboarding/Notification/styles.js +0 -50
  262. package/lib/ui/app/masters/Notifications/Onboarding/index.js +0 -172
  263. package/lib/ui/app/masters/Notifications/styles.d.ts +0 -8
  264. package/lib/ui/app/masters/Notifications/styles.js +0 -31
  265. package/lib/ui/app/masters/Points/index.d.ts +0 -5
  266. package/lib/ui/app/masters/useMastersApp.js +0 -68
  267. package/lib/ui/app/masters/useMastersContext.d.ts +0 -8
  268. package/lib/ui/app/styles.d.ts +0 -15
  269. package/lib/ui/login/demo.d.ts +0 -6
  270. package/lib/ui/login/styles.d.ts +0 -8
  271. package/lib/ui/login/styles.js +0 -39
  272. /package/lib/{ui/app → app}/app/Features/Gamification/gamification-feature.js +0 -0
  273. /package/lib/{ui/app → app}/app/Features/index.js +0 -0
  274. /package/lib/{ui/app → app}/app/Notifications/Onboarding/Notification/index.js +0 -0
  275. /package/lib/{ui/app → app}/app/useAppContext.js +0 -0
  276. /package/lib/{ui/app → app}/index.js +0 -0
  277. /package/lib/{ui → app}/login/demo.js +0 -0
  278. /package/lib/{ui/app → app}/masters/Features/Gamification/gamification-feature.js +0 -0
  279. /package/lib/{ui/app → app}/masters/Features/index.js +0 -0
  280. /package/lib/{ui/app → app}/masters/Notifications/Onboarding/Notification/index.js +0 -0
  281. /package/lib/{ui/app → app}/masters/useMastersContext.js +0 -0
  282. /package/lib/{ui/app → app}/useImagesPreload.d.ts +0 -0
  283. /package/lib/{ui/app → app}/useImagesPreload.js +0 -0
  284. /package/lib/{ui/app → app}/useSdkFeature.js +0 -0
@@ -1,4 +1,168 @@
1
- const C = "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";
1
+ import { jsx as t, jsxs as Z, Fragment as w } from "react/jsx-runtime";
2
+ import { styled as v } from "@linaria/react";
3
+ import { useStore as I } from "@nanostores/react";
4
+ import { useImagesPreload as F } from "../../../useImagesPreload.js";
5
+ import { scrollIntoAppView as T } from "../../../useSdkScroll.js";
6
+ import { useRef as A, useState as S, useMemo as x, useLayoutEffect as _, useEffect as B } from "react";
7
+ import { FeatureType as j } from "@streamlayer/sdk-web-types";
8
+ import { OnboardingUI as E } from "../../../../ui/gamification/onboarding/index.js";
9
+ import { ModalPortal as G } from "../../../../ui/modal/index.js";
10
+ import { ShowIn as P } from "../../../../ui/show-in/index.js";
11
+ import { Onboarding as M } from "./Notification/index.js";
12
+ const R = "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 = [{
13
+ graphicSrc: "https://cdn.streamlayer.io/assets/sdk-web/onboarding-steps/step_1.png",
14
+ tagline: "Featured groups+ experience",
15
+ headline: /* @__PURE__ */ Z(w, {
16
+ children: ["Welcome to ", /* @__PURE__ */ t("br", {}), " Featured Groups +"]
17
+ })
18
+ }, {
19
+ graphicSrc: "https://cdn.streamlayer.io/assets/sdk-web/onboarding-steps/step_2.png",
20
+ headline: "Get real-time insights"
21
+ }, {
22
+ graphicSrc: "https://cdn.streamlayer.io/assets/sdk-web/onboarding-steps/step_3.png",
23
+ headline: "Predictions, trivia & polls synced to match play"
24
+ }, {
25
+ graphicSrc: "https://cdn.streamlayer.io/assets/sdk-web/onboarding-steps/step_4.png",
26
+ headline: "Win points for every answer you get right"
27
+ }, {
28
+ graphicSrc: "https://cdn.streamlayer.io/assets/sdk-web/onboarding-steps/step_5.png",
29
+ headline: "Compete against friends on the leaderboard"
30
+ }], W = /* @__PURE__ */ v("div")({
31
+ name: "OnboardingContainer",
32
+ class: "on59ra",
33
+ propsAsIs: !1
34
+ }), $ = () => P, O = /* @__PURE__ */ v($())({
35
+ name: "OnboardingNotificationContainer",
36
+ class: "op1wk5d",
37
+ propsAsIs: !0
38
+ }), y = /* @__PURE__ */ v("div")({
39
+ name: "InnerContainer",
40
+ class: "i1i1g2vj",
41
+ propsAsIs: !1
42
+ }), q = ({
43
+ deepLink: l,
44
+ onboardingOpts: r,
45
+ notification: i,
46
+ gamification: c,
47
+ loading: s,
48
+ sdk: a
49
+ }) => {
50
+ var d, o, m, h, g, V, L;
51
+ const p = I(c.friends.getStore()), [u, e] = S(void 0), f = x(() => {
52
+ var n, b;
53
+ const C = a.getInviter();
54
+ return C ? (b = (n = p.data) == null ? void 0 : n.find(({
55
+ slId: k
56
+ }) => k === C)) == null ? void 0 : b.name : "";
57
+ }, [p.data, a]);
58
+ return B(() => {
59
+ const C = l.$store.subscribe((n) => {
60
+ n && e(n.data);
61
+ });
62
+ return () => {
63
+ C();
64
+ };
65
+ }, [l.$store]), /* @__PURE__ */ t(W, {
66
+ children: /* @__PURE__ */ t(E, {
67
+ loading: s,
68
+ rules: [{
69
+ label: "Answer as many questions as you like.",
70
+ icon: "icon-btn-feature-groups"
71
+ }, {
72
+ label: "Win points for each correct trivia or prediction answer.",
73
+ icon: "icon-thumb-up"
74
+ }, {
75
+ label: "Top the leader board and best your friends.",
76
+ icon: "icon-trophy"
77
+ }],
78
+ rulesBtnLabel: (d = r.rules) == null ? void 0 : d.buttonLabel,
79
+ rulesTitle: (o = r.rules) == null ? void 0 : o.heading,
80
+ termsTitle: "Terms and Conditions",
81
+ termsText: (m = r.rules) == null ? void 0 : m.terms,
82
+ steps: H,
83
+ primaryColor: (h = r.inviteCard) == null ? void 0 : h.iconColor,
84
+ inviteLink: u,
85
+ inviteCardTitle: (g = r.inviteCard) == null ? void 0 : g.heading,
86
+ inviteCardSubtext: (V = r.inviteCard) == null ? void 0 : V.subtext,
87
+ inviteCardBtnLabel: (L = r.inviteCard) == null ? void 0 : L.buttonLabel,
88
+ onClose: () => {
89
+ var C;
90
+ (C = i.close) == null || C.call(i);
91
+ },
92
+ gamification: c,
93
+ sdk: a,
94
+ inviterName: f
95
+ })
96
+ });
97
+ }, r2 = ({
98
+ sdk: l,
99
+ notification: r,
100
+ saveHeight: i,
101
+ style: c,
102
+ appNode: s,
103
+ sdkInDesktopView: a,
104
+ responsiveStore: p
105
+ }) => {
106
+ var L;
107
+ const u = A(null), e = r.data.onboarding, [f, d] = S(e == null ? void 0 : e.instantOpen), o = l.getFeature(j.GAMES), m = x(() => H == null ? void 0 : H.map(({
108
+ graphicSrc: C
109
+ }) => C), []), {
110
+ screen: h
111
+ } = I(p, {
112
+ keys: ["screen"]
113
+ });
114
+ (L = e == null ? void 0 : e.titleCard) != null && L.media && (e.titleCard.media.sponsorLogo = R), _(() => {
115
+ var C;
116
+ i(((C = u.current) == null ? void 0 : C.getBoundingClientRect().height) || 0);
117
+ }, [i]);
118
+ const {
119
+ loading: g,
120
+ throttled: V
121
+ } = F(m);
122
+ return f && o && e && s.current && !V ? /* @__PURE__ */ t(G, {
123
+ container: s,
124
+ useContainer: !a,
125
+ children: /* @__PURE__ */ t(q, {
126
+ notification: r,
127
+ setOpened: d,
128
+ gamification: o,
129
+ onboardingOpts: e,
130
+ deepLink: o.deepLink,
131
+ loading: g,
132
+ sdk: l
133
+ })
134
+ }) : /* @__PURE__ */ Z(w, {
135
+ children: [/* @__PURE__ */ t(y, {
136
+ ref: u,
137
+ style: {
138
+ position: "absolute",
139
+ visibility: "hidden"
140
+ },
141
+ children: /* @__PURE__ */ t(M, {
142
+ close: () => {
143
+ },
144
+ action: () => {
145
+ },
146
+ onboarding: e
147
+ })
148
+ }), /* @__PURE__ */ t(O, {
149
+ style: c,
150
+ hiding: r.hiding,
151
+ children: /* @__PURE__ */ t(y, {
152
+ children: /* @__PURE__ */ t(M, {
153
+ close: r.close,
154
+ action: () => {
155
+ var n;
156
+ d(!0), (((n = s.current) == null ? void 0 : n.getBoundingClientRect().y) || 0) < 0 && T(s, h.size, {
157
+ behavior: "smooth"
158
+ });
159
+ },
160
+ onboarding: e
161
+ })
162
+ })
163
+ })]
164
+ });
165
+ };
2
166
  export {
3
- C as m
167
+ r2 as Onboarding
4
168
  };
@@ -1,8 +1,8 @@
1
- /// <reference types="react" />
2
- import { type StreamLayerSDK } from '@streamlayer/sdk-web-interfaces';
3
- import type { AppNodeRef, ScrollNodeRef, HeaderNodeRef } from '../..';
1
+ import { AppNodeRef, ScrollNodeRef, HeaderNodeRef } from '../..';
4
2
  import { ResponsiveStore } from '../../useSdkResponsive';
5
3
  import { ScrollStore } from '../../useSdkScroll';
4
+ import { StreamLayerSDK } from '@streamlayer/sdk-web-interfaces';
5
+
6
6
  export declare const SDKNotifications: React.FC<{
7
7
  sdk: StreamLayerSDK;
8
8
  scrollNode: ScrollNodeRef;
@@ -1,32 +1,32 @@
1
- import { jsxs as g, Fragment as D, jsx as c } from "react/jsx-runtime";
1
+ import { jsxs as f, Fragment as D, jsx as c } from "react/jsx-runtime";
2
2
  import { cx as N } from "@linaria/core";
3
- import { useStore as f } from "@nanostores/react";
4
- import { useState as p, useMemo as T, useEffect as h, useRef as E, useCallback as w } from "react";
5
- import { r as O } from "../../../../index-Bicco-Aq.js";
6
- import { eventBus as b } from "@streamlayer/sdk-web-interfaces";
3
+ import { useStore as g } from "@nanostores/react";
4
+ import { useMastersContext as T } from "../useMastersContext.js";
5
+ import { scrollIntoAppView as q } from "../../useSdkScroll.js";
6
+ import { useState as p, useMemo as E, useEffect as h, useRef as O, useCallback as w } from "react";
7
+ import { r as b } from "../../../index-B1QdimmR.js";
8
+ import { eventBus as C } from "@streamlayer/sdk-web-interfaces";
7
9
  import { NotificationType as a } from "@streamlayer/sdk-web-notifications";
8
- import { useMastersContext as q } from "../useMastersContext.js";
9
- import { scrollIntoAppView as C } from "../../useSdkScroll.js";
10
- import { QuestionTypeData as R } from "../../../gamification/constants.js";
11
- import { Notification as V } from "../../../gamification/question/notification/index.js";
12
- import { PredictionResult as P } from "../../../gamification/question/notification/prediction-result/index.js";
10
+ import { QuestionTypeData as R } from "../../../ui/gamification/constants.js";
11
+ import { Notification as V } from "../../../ui/gamification/question/notification/index.js";
12
+ import { PredictionResult as P } from "../../../ui/gamification/question/notification/prediction-result/index.js";
13
13
  import { Onboarding as x } from "./Onboarding/index.js";
14
- import { HiddenContainer as A, Container as B, InnerContainer as H, NotificationRefreshing as Q, Pill as z } from "./styles.js";
15
- const U = (o) => {
16
- const [t, u] = p(0), i = E(null), d = w((r) => {
14
+ import { HiddenContainer as A, Container as B, InnerContainer as H, NotificationRefreshing as Q, Pill as U } from "./styles.js";
15
+ const j = (n) => {
16
+ const [t, u] = p(0), i = O(null), d = w((r) => {
17
17
  i.current = r;
18
18
  }, []);
19
19
  h(() => {
20
20
  var l;
21
21
  const r = (l = i.current) == null ? void 0 : l.getBoundingClientRect();
22
22
  r && u(r.height);
23
- }, [o]);
24
- const n = w((r) => {
23
+ }, [n]);
24
+ const o = w((r) => {
25
25
  u(r);
26
26
  }, []);
27
- return [d, t, n];
28
- }, j = ({
29
- sdk: o,
27
+ return [d, t, o];
28
+ }, z = ({
29
+ sdk: n,
30
30
  notification: t,
31
31
  appNode: u,
32
32
  responsiveStore: i
@@ -34,18 +34,18 @@ const U = (o) => {
34
34
  var s, e;
35
35
  const {
36
36
  sdkInDesktopView: d
37
- } = f(i, {
37
+ } = g(i, {
38
38
  keys: ["sdkInDesktopView"]
39
39
  }), {
40
- sdk: n
41
- } = q(), [r, l, m] = U(t.id);
42
- return t.type === a.QUESTION ? /* @__PURE__ */ g(D, {
40
+ sdk: o
41
+ } = T(), [r, l, m] = j(t.id);
42
+ return t.type === a.QUESTION ? /* @__PURE__ */ f(D, {
43
43
  children: [/* @__PURE__ */ c(A, {
44
44
  ref: r,
45
45
  children: /* @__PURE__ */ c(V, {
46
46
  ...t
47
47
  })
48
- }), /* @__PURE__ */ g(B, {
48
+ }), /* @__PURE__ */ f(B, {
49
49
  style: {
50
50
  height: t.hiding ? 0 : l
51
51
  },
@@ -56,7 +56,7 @@ const U = (o) => {
56
56
  },
57
57
  children: /* @__PURE__ */ c(V, {
58
58
  ...t,
59
- controlVideo: n == null ? void 0 : n.controlVideoPlayer
59
+ controlVideo: o == null ? void 0 : o.controlVideoPlayer
60
60
  })
61
61
  }), /* @__PURE__ */ c(Q, {}, t.id)]
62
62
  })]
@@ -67,66 +67,67 @@ const U = (o) => {
67
67
  saveHeight: m,
68
68
  close: t.close,
69
69
  hiding: t.hiding,
70
- ...t.data.question
70
+ ...t.data.question,
71
+ mastersApp: !0
71
72
  }) : t.type === a.ONBOARDING ? /* @__PURE__ */ c(x, {
72
73
  style: {
73
74
  height: t.hiding ? 0 : l
74
75
  },
75
76
  saveHeight: m,
76
- sdk: o,
77
+ sdk: n,
77
78
  notification: t,
78
79
  sdkInDesktopView: d,
79
80
  appNode: u,
80
81
  responsiveStore: i
81
82
  }) : null;
82
- }, F = "p1k96f2z", L = ({
83
- pill: o,
83
+ }, F = "p1co32q0", L = ({
84
+ pill: n,
84
85
  setPill: t,
85
86
  appNode: u,
86
87
  headerNode: i,
87
88
  scrollNode: d,
88
- responsiveStore: n,
89
+ responsiveStore: o,
89
90
  scrollStore: r
90
91
  }) => {
91
92
  var k, y;
92
93
  const {
93
94
  screen: l
94
- } = f(n, {
95
+ } = g(o, {
95
96
  keys: ["screen"]
96
97
  }), {
97
98
  tabsShown: m,
98
99
  scrollPosition: s
99
- } = f(r, {
100
+ } = g(r, {
100
101
  keys: ["tabsShown", "scrollPosition"]
101
102
  });
102
103
  h(() => {
103
- n.get().sdkInDesktopView ? s < 50 && t(null) : s > -50 && t(null);
104
- }, [s, n, t]);
105
- const e = n.get().sdkInDesktopView ? u : i;
106
- return !o || !e.current ? null : O.createPortal(/* @__PURE__ */ c(z, {
107
- title: o.type === a.QUESTION_RESOLVED ? "Prediction result" : `New ${((y = R[(k = o.data) == null ? void 0 : k.questionType]) == null ? void 0 : y.label) || "notification"}`,
104
+ o.get().sdkInDesktopView ? s < 50 && t(null) : s > -50 && t(null);
105
+ }, [s, o, t]);
106
+ const e = o.get().sdkInDesktopView ? u : i;
107
+ return !n || !e.current ? null : b.createPortal(/* @__PURE__ */ c(U, {
108
+ title: n.type === a.QUESTION_RESOLVED ? "Prediction result" : `New ${((y = R[(k = n.data) == null ? void 0 : k.questionType]) == null ? void 0 : y.label) || "notification"}`,
108
109
  onClick: () => {
109
110
  var I;
110
- n.get().sdkInDesktopView ? (I = d.current) == null || I.scrollTo({
111
+ o.get().sdkInDesktopView ? (I = d.current) == null || I.scrollTo({
111
112
  top: 0,
112
113
  behavior: "smooth"
113
- }) : C(u, l.size, {
114
+ }) : q(u, l.size, {
114
115
  behavior: "smooth"
115
116
  }), t(null);
116
117
  },
117
118
  className: N(m && F, "sl-pill-button")
118
119
  }), e.current);
119
120
  }, it = ({
120
- sdk: o,
121
+ sdk: n,
121
122
  headerNode: t,
122
123
  scrollNode: u,
123
124
  responsiveStore: i,
124
125
  appNode: d,
125
- scrollStore: n
126
+ scrollStore: o
126
127
  }) => {
127
- const [r] = p(o.getNotificationsStore()), l = f(r), [m, s] = p(null), e = T(() => o.getActiveNotification(), [o, l]);
128
+ const [r] = p(n.getNotificationsStore()), l = g(r), [m, s] = p(null), e = E(() => n.getActiveNotification(), [n, l]);
128
129
  return h(() => {
129
- e && b.emit("notification", {
130
+ e && C.emit("notification", {
130
131
  action: "rendered",
131
132
  payload: {
132
133
  questionId: e.data.questionId,
@@ -135,15 +136,15 @@ const U = (o) => {
135
136
  });
136
137
  }, [e]), h(() => {
137
138
  e && (i.get().sdkInDesktopView || i.get().sdkInView) && (!i.get().sdkInDesktopView && i.get().sdkInView && s(e), i.get().sdkInDesktopView && window.requestAnimationFrame(() => {
138
- n.get().scrollPosition !== 0 && s(e);
139
+ o.get().scrollPosition !== 0 && s(e);
139
140
  }));
140
141
  }, [e]), h(() => {
141
142
  e || s(null);
142
- }, [e]), /* @__PURE__ */ g(D, {
143
- children: [!m && e && /* @__PURE__ */ c(j, {
143
+ }, [e]), /* @__PURE__ */ f(D, {
144
+ children: [!m && e && /* @__PURE__ */ c(z, {
144
145
  headerNode: t,
145
146
  appNode: d,
146
- sdk: o,
147
+ sdk: n,
147
148
  notification: e,
148
149
  responsiveStore: i
149
150
  }), m && /* @__PURE__ */ c(L, {
@@ -153,7 +154,7 @@ const U = (o) => {
153
154
  notification: e,
154
155
  headerNode: t,
155
156
  scrollNode: u,
156
- scrollStore: n,
157
+ scrollStore: o,
157
158
  responsiveStore: i
158
159
  })]
159
160
  });
@@ -0,0 +1,9 @@
1
+ export declare const Container: any;
2
+ export declare const InnerContainer: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
3
+ export declare const HiddenContainer: {
4
+ __wyw_meta: unknown;
5
+ } & import('react').FunctionComponent<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & Record<never, unknown> & {
6
+ as?: import('react').ElementType;
7
+ }>;
8
+ export declare const NotificationRefreshing: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
9
+ export declare const Pill: any;
@@ -1,31 +1,31 @@
1
1
  import { styled as s } from "@linaria/react";
2
- import { Pill as n } from "../../../gamification/question/notification/pill/index.js";
3
- import { ShowIn as o } from "../../../show-in/index.js";
2
+ import { Pill as n } from "../../../ui/gamification/question/notification/pill/index.js";
3
+ import { ShowIn as o } from "../../../ui/show-in/index.js";
4
4
  const e = () => o, l = /* @__PURE__ */ s(e())({
5
5
  name: "Container",
6
- class: "c1cu0box",
6
+ class: "c1f0y7nw",
7
7
  propsAsIs: !0
8
- }), i = /* @__PURE__ */ s("div")({
8
+ }), t = /* @__PURE__ */ s("div")({
9
9
  name: "InnerContainer",
10
- class: "i1p534h4",
10
+ class: "i1qa3p7a",
11
11
  propsAsIs: !1
12
- }), t = () => i, m = /* @__PURE__ */ s(t())({
12
+ }), i = () => t, m = /* @__PURE__ */ s(i())({
13
13
  name: "HiddenContainer",
14
- class: "hyh76ez",
14
+ class: "hrthymv",
15
15
  propsAsIs: !0
16
16
  }), f = /* @__PURE__ */ s("div")({
17
17
  name: "NotificationRefreshing",
18
- class: "n1pj3cvw",
18
+ class: "n13rok4i",
19
19
  propsAsIs: !1
20
20
  }), r = () => n, I = /* @__PURE__ */ s(r())({
21
21
  name: "Pill",
22
- class: "pk13by5",
22
+ class: "pht79xf",
23
23
  propsAsIs: !0
24
24
  });
25
25
  export {
26
26
  l as Container,
27
27
  m as HiddenContainer,
28
- i as InnerContainer,
28
+ t as InnerContainer,
29
29
  f as NotificationRefreshing,
30
30
  I as Pill
31
31
  };
@@ -0,0 +1,5 @@
1
+ import { StreamLayerSDK } from '@streamlayer/sdk-web-interfaces';
2
+
3
+ export declare const StreamLayerSDKPoints: React.FC<{
4
+ sdk: StreamLayerSDK;
5
+ }>;
@@ -3,7 +3,7 @@ import { useStore as i } from "@nanostores/react";
3
3
  import { useState as c, useEffect as f } from "react";
4
4
  import { FeatureStatus as p } from "@streamlayer/sdk-web-interfaces";
5
5
  import { FeatureType as S } from "@streamlayer/sdk-web-types";
6
- import { Points as l } from "../../../gamification/points/index.js";
6
+ import { Points as l } from "../../../ui/gamification/points/index.js";
7
7
  const a = ({ gamification: e }) => {
8
8
  const s = e.userSummary.$store, [r, u] = c(0);
9
9
  return f(() => {
@@ -1,6 +1,6 @@
1
- /// <reference types="react" />
2
- import { type StreamLayerSDK } from '@streamlayer/sdk-web-interfaces';
3
- export { StreamLayerMastersThemeProvider } from '../../theme/masters';
1
+ import { StreamLayerSDK } from '@streamlayer/sdk-web-interfaces';
2
+
3
+ export { StreamLayerMastersThemeProvider } from '../../ui/theme/masters';
4
4
  export type Overlays = {};
5
5
  export type MastersAppChildrenProps = {
6
6
  activateEventWithId: (event: string) => void;
@@ -1,23 +1,23 @@
1
1
  import { jsx as n, jsxs as v } from "react/jsx-runtime";
2
2
  import { useStore as C } from "@nanostores/react";
3
- import { useAnalyticsListener as d, newTabLinkListener as x, appScrollListener as A, appClickListener as F } from "../../../hooks/analytics.js";
4
- import { useRef as S, useMemo as M, useEffect as b } from "react";
5
- import { SDKContainer as D, SDKScrollContainer as I } from "../styles.js";
6
- import { useSdkFeature as B } from "../useSdkFeature.js";
7
- import { useSdkResponsive as T } from "../useSdkResponsive.js";
8
- import { useSdkScroll as j } from "../useSdkScroll.js";
9
- import { resetCss as p } from "../../theme/theme.js";
3
+ import { SDKContainer as x, SDKScrollContainer as A } from "../styles.js";
4
+ import { useSdkFeature as F } from "../useSdkFeature.js";
5
+ import { useSdkResponsive as M } from "../useSdkResponsive.js";
6
+ import { useSdkScroll as b } from "../useSdkScroll.js";
7
+ import { useAnalyticsListener as d, newTabLinkListener as D, appScrollListener as I, appClickListener as B } from "../../hooks/analytics.js";
8
+ import { useRef as S, useMemo as T, useEffect as j } from "react";
9
+ import { resetCss as p } from "../../ui/theme/theme.js";
10
10
  import { ActiveFeature as k, StandaloneFeature as E } from "./Features/index.js";
11
11
  import { MastersNavigation as K } from "./Navigation/MastersNavigation/index.js";
12
12
  import { SDKNotifications as O } from "./Notifications/index.js";
13
13
  import { useMastersApp as R } from "./useMastersApp.js";
14
14
  import { MastersContext as w } from "./useMastersContext.js";
15
- import { StreamLayerMastersThemeProvider as ce } from "../../theme/masters.js";
16
- import { ChannelsButtonId as P } from "../../navigation/button/Channels.js";
17
- import { LeaderBoardButtonId as G } from "../../navigation/button/LeaderBoard.js";
18
- import { FeaturedGroupsButtonId as V } from "../../navigation/button/FeaturedGroups.js";
15
+ import { StreamLayerMastersThemeProvider as ce } from "../../ui/theme/masters.js";
16
+ import { ChannelsButtonId as P } from "../../ui/navigation/button/Channels.js";
17
+ import { LeaderBoardButtonId as G } from "../../ui/navigation/button/LeaderBoard.js";
18
+ import { FeaturedGroupsButtonId as V } from "../../ui/navigation/button/FeaturedGroups.js";
19
19
  const W = ({ sdk: e, className: i, scrollStore: l, appNode: t, scrollNode: s, responsiveStore: o }) => {
20
- const [, r] = B(e);
20
+ const [, r] = F(e);
21
21
  return /* @__PURE__ */ n(
22
22
  k,
23
23
  {
@@ -47,22 +47,22 @@ const W = ({ sdk: e, className: i, scrollStore: l, appNode: t, scrollNode: s, re
47
47
  ) : null;
48
48
  }) : null;
49
49
  }, ie = ({ sdk: e, overlays: i, children: l }) => {
50
- const t = S(null), s = S(null), [o] = T(t), [r, f] = j(t, o), { sdkEnabled: a, sdkReady: c, activeOverlay: m, activateAndLoadOverlay: h, activateEventWithId: N, deactivate: g, isLogged: y } = R(e);
51
- d(t, { enabled: a, event: "click", listener: x }), d(r, {
50
+ const t = S(null), s = S(null), [o] = M(t), [r, f] = b(t, o), { sdkEnabled: a, sdkReady: c, activeOverlay: m, activateAndLoadOverlay: h, activateEventWithId: N, deactivate: g, isLogged: y } = R(e);
51
+ d(t, { enabled: a, event: "click", listener: D }), d(r, {
52
52
  enabled: a,
53
53
  event: "scrollend",
54
- listener: A,
54
+ listener: I,
55
55
  useDomNode: !0
56
56
  }), d(r, {
57
57
  enabled: a,
58
58
  event: "click",
59
- listener: F,
59
+ listener: B,
60
60
  useDomNode: !0
61
61
  });
62
- const L = M(() => ({ sdk: e }), [e]);
63
- return b(() => {
62
+ const L = T(() => ({ sdk: e }), [e]);
63
+ return j(() => {
64
64
  import("./Features/Gamification/gamification-feature.js");
65
- }, []), /* @__PURE__ */ n(w.Provider, { value: L, children: /* @__PURE__ */ v(D, { ref: t, children: [
65
+ }, []), /* @__PURE__ */ n(w.Provider, { value: L, children: /* @__PURE__ */ v(x, { ref: t, children: [
66
66
  a && /* @__PURE__ */ n(
67
67
  K,
68
68
  {
@@ -78,7 +78,7 @@ const W = ({ sdk: e, className: i, scrollStore: l, appNode: t, scrollNode: s, re
78
78
  responsiveStore: o
79
79
  }
80
80
  ),
81
- /* @__PURE__ */ v(I, { className: "sl-hide-on-modal", ref: r, "data-nav": a.toString(), children: [
81
+ /* @__PURE__ */ v(A, { className: "sl-hide-on-modal", ref: r, "data-nav": a.toString(), children: [
82
82
  c && /* @__PURE__ */ n(
83
83
  O,
84
84
  {
@@ -1,5 +1,6 @@
1
- import { type StreamLayerSDK } from '@streamlayer/sdk-web-interfaces';
1
+ import { StreamLayerSDK } from '@streamlayer/sdk-web-interfaces';
2
2
  import { AvailableOverlays } from './Navigation/MastersNavigation';
3
+
3
4
  /**
4
5
  * A hook that provides functionality for managing the StreamLayerSDK in the Masters app.
5
6
  * - On activate FG+ button, the SDK is initialized and the FG+ overlay is opened.