@maestro_io/maestro-web-sdk 3.3.1 → 4.0.0-beta.2

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 (269) hide show
  1. package/dist/f8820fca3a2a7957f753167da0884f9d.png +0 -0
  2. package/dist/maestro-web-sdk.esm.js +12 -12
  3. package/dist/maestro-web-sdk.esm.js.map +1 -1
  4. package/dist/maestro-web-sdk.umd.js +12 -12
  5. package/dist/maestro-web-sdk.umd.js.map +1 -1
  6. package/dist/package.json +87 -0
  7. package/dist/src/__mocks__/sentry.d.ts +4 -0
  8. package/dist/src/components/atoms/BaseButton/BaseButton.js +11 -0
  9. package/dist/src/components/atoms/BaseButton/index.js +2 -0
  10. package/dist/src/components/atoms/Image/index.js +34 -0
  11. package/dist/src/components/atoms/Rive/index.js +53 -0
  12. package/dist/src/components/atoms/SvgIcon/BetGeneralIcon.js +9 -0
  13. package/dist/src/components/atoms/SvgIcon/BetsIcon.js +11 -0
  14. package/dist/src/components/atoms/SvgIcon/BetsWarningIcon.js +11 -0
  15. package/dist/src/components/atoms/SvgIcon/CheckmarkIcon.js +6 -0
  16. package/dist/src/components/atoms/SvgIcon/CollapseIcon.js +6 -0
  17. package/dist/src/components/atoms/SvgIcon/ExpandIcon.js +6 -0
  18. package/dist/src/components/atoms/SvgIcon/FantasyIcon.js +15 -0
  19. package/dist/src/components/atoms/SvgIcon/FlameIcon.js +11 -0
  20. package/dist/src/components/atoms/SvgIcon/Icon.js +44 -0
  21. package/dist/src/components/atoms/SvgIcon/KeyPlaysIcon.js +10 -0
  22. package/dist/src/components/atoms/SvgIcon/MobilePhoneIcon.js +11 -0
  23. package/dist/src/components/atoms/SvgIcon/PlayIcon.js +8 -0
  24. package/dist/src/components/atoms/SvgIcon/ShopIcon.js +7 -0
  25. package/dist/src/components/atoms/SvgIcon/StatsIcon.js +12 -0
  26. package/dist/src/components/atoms/SvgIcon/TimesIcon.js +6 -0
  27. package/dist/src/components/atoms/SvgIcon/WarningIcon.js +8 -0
  28. package/dist/src/components/atoms/SvgIcon/index.js +2 -0
  29. package/dist/src/components/core/App/App.js +35 -0
  30. package/dist/src/components/core/App/index.js +2 -0
  31. package/dist/src/components/core/OverlayContainer.js +58 -0
  32. package/dist/src/components/core/PanelManager/PanelManager.js +86 -0
  33. package/dist/src/components/core/PanelManager/index.js +2 -0
  34. package/dist/src/components/core/ScrollableContainer/FocusableItem.js +38 -0
  35. package/dist/src/components/core/ScrollableContainer/ScrollableContainer.js +168 -0
  36. package/dist/src/components/core/ScrollableContainer/index.js +2 -0
  37. package/dist/src/components/molecules/ActionButton/ActionButton.js +10 -0
  38. package/dist/src/components/molecules/ActionButton/index.js +2 -0
  39. package/dist/src/components/molecules/HeadshotImage/HeadshotImage.js +50 -0
  40. package/dist/src/components/molecules/HeadshotImage/index.js +2 -0
  41. package/dist/src/components/molecules/Overlay/Overlay.js +139 -0
  42. package/dist/src/components/molecules/Overlay/index.js +2 -0
  43. package/dist/src/components/molecules/PanelNavButton/PanelNavButton.js +27 -0
  44. package/dist/src/components/molecules/PanelNavButton/index.js +2 -0
  45. package/dist/src/components/molecules/SegmentButton/SegmentButton.js +10 -0
  46. package/dist/src/components/molecules/SegmentButton/index.js +2 -0
  47. package/dist/src/components/molecules/TabLoadError/TabLoadError.js +14 -0
  48. package/dist/src/components/molecules/TabLoadError/index.js +2 -0
  49. package/dist/src/components/molecules/WatchButton/WatchButton.js +15 -0
  50. package/dist/src/components/molecules/WatchButton/index.js +2 -0
  51. package/dist/src/components/organisms/PanelNavigation/PanelNavigation.js +60 -0
  52. package/dist/src/components/organisms/PanelNavigation/index.js +2 -0
  53. package/dist/src/components/organisms/SegmentController/SegmentController.js +76 -0
  54. package/dist/src/components/organisms/SegmentController/index.js +2 -0
  55. package/dist/src/development/MaestroEventDelegate.js +109 -0
  56. package/dist/src/development/TimeSeek.js +218 -0
  57. package/dist/src/development/development.js +33 -0
  58. package/dist/src/external/AxiosNetworkClient.js +110 -0
  59. package/dist/src/external/LocalStorageCacheManager.js +213 -0
  60. package/dist/src/external/ReactRenderer.js +53 -0
  61. package/dist/src/external/mocks/MockExternalNetworkClient.js +187 -0
  62. package/dist/src/external/ports/cacheManager.js +1 -0
  63. package/dist/src/external/ports/networkClient.js +1 -0
  64. package/dist/src/external/ports/renderer.d.ts +1 -2
  65. package/dist/src/external/ports/renderer.js +1 -0
  66. package/dist/src/external/spatial-navigation/__mocks__/withFocusable.d.ts +8 -0
  67. package/dist/src/external/spatial-navigation/__mocks__/withFocusable.js +7 -0
  68. package/dist/src/external/spatial-navigation/index.js +3 -0
  69. package/dist/src/external/spatial-navigation/measureLayout.js +30 -0
  70. package/dist/src/external/spatial-navigation/spatialNavigation.js +876 -0
  71. package/dist/src/external/spatial-navigation/utils.js +6 -0
  72. package/dist/src/external/spatial-navigation/visualDebugger.js +76 -0
  73. package/dist/src/external/spatial-navigation/withFocusable.js +245 -0
  74. package/dist/src/helpers/Observable.js +37 -0
  75. package/dist/src/helpers/strings.js +14 -0
  76. package/dist/src/helpers/url.js +12 -0
  77. package/dist/src/index.d.ts +5 -5
  78. package/dist/src/index.js +165 -0
  79. package/dist/src/interfaces/IMaestroEvent.d.ts +12 -0
  80. package/dist/src/interfaces/IMaestroEvent.js +18 -0
  81. package/dist/src/interfaces/IMaestroEventDelegate.js +1 -0
  82. package/dist/src/interfaces/IMaestroManager.js +1 -0
  83. package/dist/src/interfaces/IUserSettings.js +20 -0
  84. package/dist/src/models/IModel.js +1 -0
  85. package/dist/src/models/IPanel.js +40 -0
  86. package/dist/src/models/ITheme.js +20 -0
  87. package/dist/src/models/IWinningBet.js +1 -0
  88. package/dist/src/modules/bets/interfaces/IBets.js +1 -0
  89. package/dist/src/modules/bets/mocks.js +573 -0
  90. package/dist/src/modules/bets/types/BetsAnalyticsTypes.js +1 -0
  91. package/dist/src/modules/bets/view/BetsView.js +143 -0
  92. package/dist/src/modules/bets/view/HotProps/HotPropsView.js +150 -0
  93. package/dist/src/modules/bets/view/SixPack/SixPackView.js +110 -0
  94. package/dist/src/modules/bets/view/UserBets/BetResult/BetResult.js +6 -0
  95. package/dist/src/modules/bets/view/UserBets/BetsCard/BetsCard.js +149 -0
  96. package/dist/src/modules/bets/view/UserBets/BetsCard/BetsCardEvent.js +34 -0
  97. package/dist/src/modules/bets/view/UserBets/BetsCard/BetsCardFooter.js +18 -0
  98. package/dist/src/modules/bets/view/UserBets/Boost/Boost.js +6 -0
  99. package/dist/src/modules/bets/view/UserBets/OutcomeBadge/OutcomeBadge.js +9 -0
  100. package/dist/src/modules/bets/view/UserBets/Parlay/Parlay.js +13 -0
  101. package/dist/src/modules/bets/view/UserBets/Straight/Straight.js +6 -0
  102. package/dist/src/modules/bets/view/UserBets/Teaser/Teaser.js +13 -0
  103. package/dist/src/modules/bets/view/UserBets/UserBetsView.js +107 -0
  104. package/dist/src/modules/bets/view/components/Bet/Bet.js +32 -0
  105. package/dist/src/modules/bets/view/components/BetPill/BetPill.js +6 -0
  106. package/dist/src/modules/bets/view/components/BetsCard/BetsCard.js +15 -0
  107. package/dist/src/modules/bets/view/components/BetsCard/BetsCardHeader.js +20 -0
  108. package/dist/src/modules/bets/view/components/GamblingDisclaimer/GamblingDisclaimer.js +14 -0
  109. package/dist/src/modules/bets/view/components/LocationWarning/LocationWarning.js +16 -0
  110. package/dist/src/modules/bets/view/components/PromoCodeBanner/PromoCodeBanner.js +78 -0
  111. package/dist/src/modules/bets/view/components/PromoCodeBanner/index.js +1 -0
  112. package/dist/src/modules/bets/view-model/BetsViewModel.js +974 -0
  113. package/dist/src/modules/fantasy/components/ExpandedAthleteList/ExpandedAthletesList.js +107 -0
  114. package/dist/src/modules/fantasy/components/ExpandedAthleteList/index.js +1 -0
  115. package/dist/src/modules/fantasy/components/LeagueCard/LeagueCard.js +20 -0
  116. package/dist/src/modules/fantasy/components/LeagueCard/index.js +2 -0
  117. package/dist/src/modules/fantasy/components/TopPlayerCard/TopPlayerCard.js +29 -0
  118. package/dist/src/modules/fantasy/components/TopPlayerCard/index.js +2 -0
  119. package/dist/src/modules/fantasy/mocks.js +3682 -0
  120. package/dist/src/modules/fantasy/types.js +6 -0
  121. package/dist/src/modules/fantasy/view/ActiveAthletesMarquee/ActiveAthletesMarquee.js +74 -0
  122. package/dist/src/modules/fantasy/view/ActiveAthletesMarquee/index.js +2 -0
  123. package/dist/src/modules/fantasy/view/ErrorBoundary.d.ts +13 -0
  124. package/dist/src/modules/fantasy/view/FantasyItemView.js +74 -0
  125. package/dist/src/modules/fantasy/view/FantasyView.js +133 -0
  126. package/dist/src/modules/fantasy/view/InactiveLeague/DraftDateCountdown.js +95 -0
  127. package/dist/src/modules/fantasy/view/InactiveLeague/InactiveLeague.js +13 -0
  128. package/dist/src/modules/fantasy/view/InactiveLeague/index.js +2 -0
  129. package/dist/src/modules/fantasy/view/LoginView/LoginView.js +27 -0
  130. package/dist/src/modules/fantasy/view/LoginView/index.js +2 -0
  131. package/dist/src/modules/fantasy/view/MatchupPair/DoubleAthleteCard/DoubleAthleteCard.js +25 -0
  132. package/dist/src/modules/fantasy/view/MatchupPair/DoubleAthleteCard/index.js +2 -0
  133. package/dist/src/modules/fantasy/view/MatchupPair/ExpandedDoubleAthleteCards.js +9 -0
  134. package/dist/src/modules/fantasy/view/MatchupPair/MatchupPair.js +118 -0
  135. package/dist/src/modules/fantasy/view/MatchupPair/index.js +2 -0
  136. package/dist/src/modules/fantasy/view/MatchupSingle/ExpandedSingleAthleteCards.js +9 -0
  137. package/dist/src/modules/fantasy/view/MatchupSingle/MatchupSingle.js +108 -0
  138. package/dist/src/modules/fantasy/view/MatchupSingle/SingleAthleteCard/SingleAthleteCard.js +18 -0
  139. package/dist/src/modules/fantasy/view/MatchupSingle/SingleAthleteCard/index.js +2 -0
  140. package/dist/src/modules/fantasy/view/MatchupSingle/index.js +2 -0
  141. package/dist/src/modules/fantasy/view/PromoView/PromoView.js +12 -0
  142. package/dist/src/modules/fantasy/view/PromoView/index.js +2 -0
  143. package/dist/src/modules/fantasy/view/index.js +2 -0
  144. package/dist/src/modules/fantasy/view-model/FantasyViewModel.FantasyPolling.js +132 -0
  145. package/dist/src/modules/fantasy/view-model/FantasyViewModel.LeagueManagerPolling.js +141 -0
  146. package/dist/src/modules/fantasy/view-model/FantasyViewModel.js +534 -0
  147. package/dist/src/modules/key-plays/constants.js +292 -0
  148. package/dist/src/modules/key-plays/interfaces/IKeyPlays.js +14 -0
  149. package/dist/src/modules/key-plays/interfaces/IKeyPlaysResponse.js +1 -0
  150. package/dist/src/modules/key-plays/view/KeyPlayCardScoreTagView.js +16 -0
  151. package/dist/src/modules/key-plays/view/KeyPlayCardView.js +144 -0
  152. package/dist/src/modules/key-plays/view/KeyPlayErrorStateView.js +65 -0
  153. package/dist/src/modules/key-plays/view/KeyPlaysView.js +151 -0
  154. package/dist/src/modules/key-plays/view-model/KeyPlaysViewModel.js +246 -0
  155. package/dist/src/modules/shop/mocks.js +390 -0
  156. package/dist/src/modules/shop/types.js +7 -0
  157. package/dist/src/modules/shop/view/ProductDetailView/ProductDetailView.js +56 -0
  158. package/dist/src/modules/shop/view/ProductDetailView/index.js +2 -0
  159. package/dist/src/modules/shop/view/ShopView.js +182 -0
  160. package/dist/src/modules/shop/view/components/BrowseCard/BrowseCard.js +23 -0
  161. package/dist/src/modules/shop/view/components/BrowseCard/index.js +2 -0
  162. package/dist/src/modules/shop/view/components/ProductSummaryCard/ProductSummaryCard.js +26 -0
  163. package/dist/src/modules/shop/view/components/ProductSummaryCard/index.js +1 -0
  164. package/dist/src/modules/shop/view/components/ShopPromoView/ShopPromoView.js +19 -0
  165. package/dist/src/modules/shop/view/components/ShopPromoView/index.js +1 -0
  166. package/dist/src/modules/shop/view/components/ShopSection/ShopSection.d.ts +1 -0
  167. package/dist/src/modules/shop/view/components/ShopSection/ShopSection.js +61 -0
  168. package/dist/src/modules/shop/view/components/ShopSection/ShopSectionItem.d.ts +18 -0
  169. package/dist/src/modules/shop/view/components/ShopSection/ShopSectionItem.js +22 -0
  170. package/dist/src/modules/shop/view/components/ShopSection/index.js +1 -0
  171. package/dist/src/modules/shop/view/index.js +2 -0
  172. package/dist/src/modules/shop/view-model/ShopViewModel.ShopPolling.js +111 -0
  173. package/dist/src/modules/shop/view-model/ShopViewModel.js +353 -0
  174. package/dist/src/modules/stats/interfaces/IStats.js +1 -0
  175. package/dist/src/modules/stats/mocks.js +746 -0
  176. package/dist/src/modules/stats/utils/driveSummaryUtils.js +48 -0
  177. package/dist/src/modules/stats/utils/renderTeamStatistic.js +16 -0
  178. package/dist/src/modules/stats/utils.js +62 -0
  179. package/dist/src/modules/stats/view/ActiveAthletes/ActiveAthletes.js +98 -0
  180. package/dist/src/modules/stats/view/ActiveAthletes/CollapsedAthletes/CollapsedAthletes.js +27 -0
  181. package/dist/src/modules/stats/view/ActiveAthletes/ExpandedAthletes/ExpandedAthletes.js +89 -0
  182. package/dist/src/modules/stats/view/ActiveAthletes/index.js +2 -0
  183. package/dist/src/modules/stats/view/DriveSummary/DrivePlayCard.js +70 -0
  184. package/dist/src/modules/stats/view/DriveSummary/DriveSummary.js +87 -0
  185. package/dist/src/modules/stats/view/DriveSummary/ExpandedItems/DriveSummaryExpanded.js +129 -0
  186. package/dist/src/modules/stats/view/DriveSummary/Header/DriveSummaryHeader.js +26 -0
  187. package/dist/src/modules/stats/view/DriveSummary/MainStat/MainStat.js +24 -0
  188. package/dist/src/modules/stats/view/DriveSummary/index.js +2 -0
  189. package/dist/src/modules/stats/view/GameLeaders/GameLeaders.js +48 -0
  190. package/dist/src/modules/stats/view/GameLeaders/index.js +2 -0
  191. package/dist/src/modules/stats/view/MatchPredictor/DonutChart/DonutChart.js +55 -0
  192. package/dist/src/modules/stats/view/MatchPredictor/DonutChart/index.js +1 -0
  193. package/dist/src/modules/stats/view/MatchPredictor/MatchPredictorView.js +60 -0
  194. package/dist/src/modules/stats/view/MatchPredictor/index.js +2 -0
  195. package/dist/src/modules/stats/view/Penalties/Penalties.js +6 -0
  196. package/dist/src/modules/stats/view/Penalties/index.js +2 -0
  197. package/dist/src/modules/stats/view/RecentGames/RecentGames.js +23 -0
  198. package/dist/src/modules/stats/view/RecentGames/index.js +2 -0
  199. package/dist/src/modules/stats/view/ScoringSummary/ExpandedScores/ExpandedScores.js +121 -0
  200. package/dist/src/modules/stats/view/ScoringSummary/ExpandedScores/index.js +2 -0
  201. package/dist/src/modules/stats/view/ScoringSummary/ScoreItem/ScoreItem.js +62 -0
  202. package/dist/src/modules/stats/view/ScoringSummary/ScoreItem/index.js +2 -0
  203. package/dist/src/modules/stats/view/ScoringSummary/ScoresSection/ScoresSection.js +23 -0
  204. package/dist/src/modules/stats/view/ScoringSummary/ScoresSection/index.js +2 -0
  205. package/dist/src/modules/stats/view/ScoringSummary/ScoringSummary.js +106 -0
  206. package/dist/src/modules/stats/view/ScoringSummary/index.js +2 -0
  207. package/dist/src/modules/stats/view/StatsItemView.js +92 -0
  208. package/dist/src/modules/stats/view/StatsQRCode/StatsQRCodeView.js +36 -0
  209. package/dist/src/modules/stats/view/StatsQRCode/index.js +1 -0
  210. package/dist/src/modules/stats/view/StatsView.js +137 -0
  211. package/dist/src/modules/stats/view/TeamStats/TeamStatsView.js +43 -0
  212. package/dist/src/modules/stats/view/TeamStats/index.js +1 -0
  213. package/dist/src/modules/stats/view/Teams/StatsCarousel.js +83 -0
  214. package/dist/src/modules/stats/view/Teams/StatsProgressBar.js +19 -0
  215. package/dist/src/modules/stats/view/Teams/Teams.js +27 -0
  216. package/dist/src/modules/stats/view/Teams/index.js +2 -0
  217. package/dist/src/modules/stats/view/WinProbability/WinProbability.js +28 -0
  218. package/dist/src/modules/stats/view/WinProbability/index.js +2 -0
  219. package/dist/src/modules/stats/view/components/AthletesStatistics/AthletesStatistics.js +89 -0
  220. package/dist/src/modules/stats/view/components/AthletesStatistics/StatisticTable.js +12 -0
  221. package/dist/src/modules/stats/view/components/AthletesStatistics/index.js +2 -0
  222. package/dist/src/modules/stats/view/index.js +2 -0
  223. package/dist/src/modules/stats/view-model/StatsViewModel.d.ts +5 -0
  224. package/dist/src/modules/stats/view-model/StatsViewModel.js +989 -0
  225. package/dist/src/sentry.js +31 -0
  226. package/dist/src/services/AnalyticsService/AnalyticsService.d.ts +12 -7
  227. package/dist/src/services/AnalyticsService/AnalyticsService.js +402 -0
  228. package/dist/src/services/AnalyticsService/types.js +1 -0
  229. package/dist/src/services/BetsService.js +122 -0
  230. package/dist/src/services/FantasyService.js +92 -0
  231. package/dist/src/services/GlobalService/GlobalService.d.ts +9 -0
  232. package/dist/src/services/GlobalService/PageService.d.ts +9 -0
  233. package/dist/src/services/GlobalService/index.d.ts +2 -0
  234. package/dist/src/services/GlobalService/mocks.d.ts +2 -0
  235. package/dist/src/services/GlobalService/types.d.ts +11 -0
  236. package/dist/src/services/InsightsService/InsightsPayloadBuilder.d.ts +1 -2
  237. package/dist/src/services/InsightsService/InsightsPayloadBuilder.js +386 -0
  238. package/dist/src/services/InsightsService/InsightsService.js +74 -0
  239. package/dist/src/services/NetworkManager/NetworkManager.js +457 -0
  240. package/dist/src/services/NetworkManager/NetworkManagerFactory.js +101 -0
  241. package/dist/src/services/NetworkManager/errors.js +45 -0
  242. package/dist/src/services/NetworkManager/types.js +10 -0
  243. package/dist/src/services/PageService/PageService.d.ts +9 -0
  244. package/dist/src/services/PageService/PageService.js +39 -0
  245. package/dist/src/services/PageService/index.d.ts +2 -0
  246. package/dist/src/services/PageService/index.js +2 -0
  247. package/dist/src/services/PageService/mocks.d.ts +2 -0
  248. package/dist/src/services/PageService/mocks.js +104 -0
  249. package/dist/src/services/PageService/types.d.ts +76 -0
  250. package/dist/src/services/PageService/types.js +1 -0
  251. package/dist/src/services/ShopService.js +46 -0
  252. package/dist/src/services/StaticService/PageService.d.ts +9 -0
  253. package/dist/src/services/StaticService/StaticService.d.ts +3 -1
  254. package/dist/src/services/StaticService/StaticService.js +59 -0
  255. package/dist/src/services/StaticService/index.js +2 -0
  256. package/dist/src/services/StaticService/mocks.js +104 -0
  257. package/dist/src/services/StaticService/types.js +1 -0
  258. package/dist/src/services/StatsService.d.ts +1 -0
  259. package/dist/src/services/StatsService.js +147 -0
  260. package/dist/src/services/ThemeManager/constants.js +47 -0
  261. package/dist/src/services/UserSettingsManager.js +155 -0
  262. package/dist/src/test-polyfills.js +15 -0
  263. package/dist/src/types/OverlayTypes.js +4 -0
  264. package/dist/src/view-models/MaestroEventViewModel.d.ts +1 -2
  265. package/dist/src/view-models/MaestroEventViewModel.js +307 -0
  266. package/dist/src/view-models/OverlayViewModel.js +222 -0
  267. package/dist/src/view-models/PanelManagerViewModel.js +212 -0
  268. package/dist/src/view-models/ViewModel.js +32 -0
  269. package/package.json +1 -1
@@ -0,0 +1,40 @@
1
+ export const MaestroPanelType = {
2
+ KEY_PLAYS: 'keyPlays',
3
+ STATS: 'stats',
4
+ BETS: 'bets',
5
+ FANTASY: 'fantasy',
6
+ SHOP: 'shop',
7
+ };
8
+ // The mapping information for each panel type
9
+ export const PANEL_TYPE_INFO = {
10
+ [MaestroPanelType.KEY_PLAYS]: {
11
+ id: MaestroPanelType.KEY_PLAYS,
12
+ name: 'Key Plays',
13
+ imageNamePrefix: 'Key-Plays',
14
+ iconName: 'keyPlays',
15
+ },
16
+ [MaestroPanelType.STATS]: {
17
+ id: MaestroPanelType.STATS,
18
+ name: 'Stats',
19
+ imageNamePrefix: 'Stats',
20
+ iconName: 'stats',
21
+ },
22
+ [MaestroPanelType.BETS]: {
23
+ id: MaestroPanelType.BETS,
24
+ name: 'Bets',
25
+ imageNamePrefix: 'Bets',
26
+ iconName: 'bets',
27
+ },
28
+ [MaestroPanelType.FANTASY]: {
29
+ iconName: 'fantasy',
30
+ id: MaestroPanelType.FANTASY,
31
+ imageNamePrefix: 'Fantasy',
32
+ name: 'Fantasy',
33
+ },
34
+ [MaestroPanelType.SHOP]: {
35
+ iconName: 'shop',
36
+ id: MaestroPanelType.SHOP,
37
+ imageNamePrefix: 'Shop',
38
+ name: 'Shop',
39
+ },
40
+ };
@@ -0,0 +1,20 @@
1
+ export const BORDER_RADIUS = {
2
+ rounded: 'rounded',
3
+ square: 'square',
4
+ pill: 'pill',
5
+ };
6
+ export const TEXT_CAPITALIZATION = {
7
+ lowercase: 'lowercase',
8
+ original: 'original',
9
+ uppercase: 'uppercase',
10
+ };
11
+ export const THEME_TYPES = {
12
+ ADMIN: 'admin',
13
+ ADVANCED: 'advanced',
14
+ CLASSIC: 'classic',
15
+ CUSTOM: 'custom',
16
+ };
17
+ export const THEME_MODES = {
18
+ DARK: 'dark',
19
+ LIGHT: 'light',
20
+ };
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,573 @@
1
+ const event = {
2
+ id: '401721458',
3
+ sport: 'basketball',
4
+ date: '2025-02-28T02:00Z',
5
+ gameState: 'post',
6
+ featured: [
7
+ {
8
+ date: '2024-06-09T17:35Z',
9
+ id: '00015c79-3454-4356-bab6-af050554b761',
10
+ selections: [
11
+ {
12
+ icon: 'https://a.espncdn.com/i/espnbet/mybets_under_caret_icon.png',
13
+ iconDark: 'https://a.espncdn.com/i/espnbet/dark/mybets_under_caret_icon.png',
14
+ id: 'f54ad0791-304e-43fe-a45a-96bd237c9c78',
15
+ odds: {},
16
+ outcome: 'PENDING',
17
+ status: 'upcoming',
18
+ text: 'Under 5.5',
19
+ type: 'under',
20
+ },
21
+ {
22
+ icon: 'https://a.espncdn.com/i/espnbet/mybets_under_caret_icon.png',
23
+ iconDark: 'https://a.espncdn.com/i/espnbet/dark/mybets_under_caret_icon.png',
24
+ id: 'f54ad079-3604e-43fe-a45a-96bd237c9c78',
25
+ odds: {},
26
+ outcome: 'PENDING',
27
+ status: 'upcoming',
28
+ text: 'Under 5.5',
29
+ type: 'under',
30
+ },
31
+ {
32
+ icon: 'https://a.espncdn.com/i/espnbet/mybets_under_caret_icon.png',
33
+ iconDark: 'https://a.espncdn.com/i/espnbet/dark/mybets_under_caret_icon.png',
34
+ id: 'f54ad079-5304e-43fe-a45a-96bd237c9c78',
35
+ odds: {},
36
+ outcome: 'PENDING',
37
+ status: 'upcoming',
38
+ text: 'Under 5.5',
39
+ type: 'under',
40
+ },
41
+ {
42
+ icon: 'https://a.espncdn.com/i/espnbet/mybets_under_caret_icon.png',
43
+ iconDark: 'https://a.espncdn.com/i/espnbet/dark/mybets_under_caret_icon.png',
44
+ id: 'f54ad079-3044e-43fe-a45a-96bd237c9c78',
45
+ odds: {},
46
+ outcome: 'PENDING',
47
+ status: 'upcoming',
48
+ text: 'Under 5.5',
49
+ type: 'under',
50
+ },
51
+ {
52
+ icon: 'https://a.espncdn.com/i/espnbet/mybets_under_caret_icon.png',
53
+ iconDark: 'https://a.espncdn.com/i/espnbet/dark/mybets_under_caret_icon.png',
54
+ id: 'f54ad079-304e-43fe-a45a-96bd237c9c278',
55
+ odds: {},
56
+ outcome: 'PENDING',
57
+ status: 'upcoming',
58
+ text: 'Under 5.5',
59
+ type: 'under',
60
+ },
61
+ {
62
+ icon: 'https://a.espncdn.com/i/espnbet/mybets_under_caret_icon.png',
63
+ iconDark: 'https://a.espncdn.com/i/espnbet/dark/mybets_under_caret_icon.png',
64
+ id: 'f54ad079-304e-43fe-a45a-96bd1237c9c78',
65
+ odds: {},
66
+ outcome: 'PENDING',
67
+ status: 'upcoming',
68
+ text: 'Under 5.5',
69
+ type: 'under',
70
+ },
71
+ ],
72
+ text: 'Carlos Santana Total Hits + Runs + RBIs',
73
+ },
74
+ ],
75
+ bets: {
76
+ odds: [
77
+ {
78
+ displayName: 'Moneyline',
79
+ abbreviation: 'ML',
80
+ type: 'moneyline',
81
+ state: 'close',
82
+ values: [
83
+ { odds: '-500', outcome: 'WIN', team: '130', type: 'home' },
84
+ { odds: '+360', outcome: 'LOSS', team: '164', type: 'away' },
85
+ ],
86
+ },
87
+ {
88
+ displayName: 'Moneyline',
89
+ abbreviation: 'ML',
90
+ type: 'moneyline',
91
+ state: 'open',
92
+ values: [
93
+ { odds: '-700', team: '130', type: 'home' },
94
+ { odds: '+450', team: '164', type: 'away' },
95
+ ],
96
+ },
97
+ {
98
+ displayName: 'Total Points',
99
+ abbreviation: 'Total',
100
+ type: 'total',
101
+ state: 'close',
102
+ values: [
103
+ { line: 'o154.5', odds: '-115', outcome: 'WIN', type: 'over' },
104
+ { line: 'u154.5', odds: '-105', outcome: 'LOSS', type: 'under' },
105
+ ],
106
+ },
107
+ {
108
+ displayName: 'Total Points',
109
+ abbreviation: 'Total',
110
+ type: 'total',
111
+ state: 'open',
112
+ values: [
113
+ { line: 'o154.5', odds: '-105', type: 'over' },
114
+ { line: 'u154.5', odds: '-115', type: 'under' },
115
+ ],
116
+ },
117
+ {
118
+ displayName: 'Spread',
119
+ abbreviation: 'Spread',
120
+ type: 'pointSpread',
121
+ state: 'close',
122
+ values: [
123
+ {
124
+ line: '-9.5',
125
+ odds: '-105',
126
+ outcome: 'LOSS',
127
+ team: '130',
128
+ type: 'home',
129
+ },
130
+ {
131
+ line: '+9.5',
132
+ odds: '-115',
133
+ outcome: 'WIN',
134
+ team: '164',
135
+ type: 'away',
136
+ },
137
+ ],
138
+ },
139
+ {
140
+ displayName: 'Spread',
141
+ abbreviation: 'Spread',
142
+ type: 'pointSpread',
143
+ state: 'open',
144
+ values: [
145
+ { line: '-11.5', odds: '-105', team: '130', type: 'home' },
146
+ { line: '+11.5', odds: '-115', team: '164', type: 'away' },
147
+ ],
148
+ },
149
+ ],
150
+ },
151
+ };
152
+ export const MOCK_BETS_API_RESPONSE = {
153
+ entities: {
154
+ teams: {
155
+ '130': {
156
+ id: '130',
157
+ uid: 's:40~l:41~t:130',
158
+ guid: 'c00151c6-cdd4-5aab-0130-37416052eb2a',
159
+ slug: 'michigan-wolverines',
160
+ abbreviation: 'MICH',
161
+ displayName: 'Michigan Wolverines',
162
+ shortDisplayName: 'Michigan',
163
+ name: 'Wolverines',
164
+ nickname: 'Michigan',
165
+ location: 'Michigan',
166
+ color: '00274c',
167
+ alternateColor: 'ffcb05',
168
+ favored: true,
169
+ },
170
+ '164': {
171
+ id: '164',
172
+ uid: 's:40~l:41~t:164',
173
+ guid: '425c8e51-59d0-75a1-0815-dc3556c5cfda',
174
+ slug: 'rutgers-scarlet-knights',
175
+ abbreviation: 'RUTG',
176
+ displayName: 'Rutgers Scarlet Knights',
177
+ shortDisplayName: 'Rutgers',
178
+ name: 'Scarlet Knights',
179
+ nickname: 'Rutgers',
180
+ location: 'Rutgers',
181
+ color: 'd21034',
182
+ alternateColor: 'ffffff',
183
+ favored: false,
184
+ },
185
+ },
186
+ },
187
+ event,
188
+ betsModule: {
189
+ defaultTab: 'live',
190
+ upcoming: [],
191
+ live: [
192
+ {
193
+ id: 'emnPo+hN/Q7CzX/obYcJZCYGql4=',
194
+ type: 'PARLAY',
195
+ betStatus: 'OPEN',
196
+ outcome: 'PENDING',
197
+ overrideOutcome: 'NOT_SET',
198
+ betAmount: '10',
199
+ payoutAmount: '171.55',
200
+ odds: '+1616',
201
+ startTime: '2022-11-29T17:54Z',
202
+ events: [
203
+ {
204
+ displayName: 'Investec South African Open Championship Future',
205
+ legs: [
206
+ {
207
+ id: '71acdfe8-611e-47ae-b7ee-ba6684c6fefa',
208
+ marketId: 'fc47f9f9-2852-4f63-9a70-4adf5b4addd2',
209
+ marketSelectionId: '92803c34-a8b7-476e-9136-b88729c7e51e',
210
+ marketType: 'list',
211
+ status: 'PENDING',
212
+ odds: '+370',
213
+ boostType: 'NONE',
214
+ selectionText: 'Aaron Baddeley',
215
+ type: 'list',
216
+ marketText: 'Tournament Winner',
217
+ icon: 'https://a.espncdn.com/i/espnbet/mybets_allsports_green_icon.png',
218
+ iconDark: 'https://a.espncdn.com/i/espnbet/dark/mybets_allsports_green_icon.png',
219
+ url: 'https://espnbet.test-app.link/qa_integrations?%243p=a_espn&clr=espnbettingintegration&$canonical_url=/sport/golf/organization/dp-world-tour/competition/investec-south-african-open-championship/event/56773312-5fdb-4cb5-b387-df8c18a2c857&market_selection_id[0]=92803c34-a8b7-476e-9136-b88729c7e51e&odds_numerator[0]=11&odds_denominator[0]=2',
220
+ marketStatus: 'LIVE',
221
+ },
222
+ ],
223
+ },
224
+ {
225
+ displayName: 'Lorem Ipsum Dolor Sit Amet',
226
+ legs: [
227
+ {
228
+ id: '472f176b-7575-4d1d-ac63-bcb2d4ec6da9',
229
+ marketId: '2e5fdfdf-7021-464f-939d-5497030fe765',
230
+ marketSelectionId: '3727a3f5-5143-4616-ab4f-713bcf40aa21',
231
+ marketType: 'list',
232
+ status: 'PENDING',
233
+ odds: '+265',
234
+ boostType: 'NONE',
235
+ selectionText: 'Aaron Pike',
236
+ type: 'list',
237
+ marketText: 'Tournament Winner',
238
+ icon: 'https://a.espncdn.com/i/espnbet/mybets_allsports_green_icon.png',
239
+ iconDark: 'https://a.espncdn.com/i/espnbet/dark/mybets_allsports_green_icon.png',
240
+ url: 'https://espnbet.test-app.link/qa_integrations?%243p=a_espn&clr=espnbettingintegration&$canonical_url=/sport/golf/organization/dp-world-tour/competition/isps-handa-australian-open/event/df8ba72f-4be8-4569-840e-954dbd9a7806&market_selection_id[0]=3727a3f5-5143-4616-ab4f-713bcf40aa21&odds_numerator[0]=73&odds_denominator[0]=20',
241
+ marketStatus: 'LIVE',
242
+ },
243
+ ],
244
+ },
245
+ {
246
+ displayName: 'Australian Open Future',
247
+ legs: [
248
+ {
249
+ id: '472f176b-7575-4d1d-ac63-bcb2d4ec6da9',
250
+ marketId: '2e5fdfdf-7021-464f-939d-5497030fe765',
251
+ marketSelectionId: '3727a3f5-5143-4616-ab4f-713bcf40aa21',
252
+ marketType: 'list',
253
+ status: 'PENDING',
254
+ odds: '+265',
255
+ boostType: 'NONE',
256
+ selectionText: 'Aaron Pike',
257
+ type: 'list',
258
+ marketText: 'Tournament Winner',
259
+ icon: 'https://a.espncdn.com/i/espnbet/mybets_allsports_green_icon.png',
260
+ iconDark: 'https://a.espncdn.com/i/espnbet/dark/mybets_allsports_green_icon.png',
261
+ url: 'https://espnbet.test-app.link/qa_integrations?%243p=a_espn&clr=espnbettingintegration&$canonical_url=/sport/golf/organization/dp-world-tour/competition/isps-handa-australian-open/event/df8ba72f-4be8-4569-840e-954dbd9a7806&market_selection_id[0]=3727a3f5-5143-4616-ab4f-713bcf40aa21&odds_numerator[0]=73&odds_denominator[0]=20',
262
+ marketStatus: 'LIVE',
263
+ },
264
+ ],
265
+ },
266
+ {
267
+ displayName: 'USA vs. Australia Future',
268
+ legs: [
269
+ {
270
+ id: '472f176b-7575-4d1d-ac63-bcb2d4ec6da9',
271
+ marketId: '2e5fdfdf-7021-464f-939d-5497030fe765',
272
+ marketSelectionId: '3727a3f5-5143-4616-ab4f-713bcf40aa21',
273
+ marketType: 'list',
274
+ status: 'PENDING',
275
+ odds: '+265',
276
+ boostType: 'NONE',
277
+ selectionText: 'Aaron Pike',
278
+ type: 'list',
279
+ marketText: 'Tournament Winner',
280
+ icon: 'https://a.espncdn.com/i/espnbet/mybets_allsports_green_icon.png',
281
+ iconDark: 'https://a.espncdn.com/i/espnbet/dark/mybets_allsports_green_icon.png',
282
+ url: 'https://espnbet.test-app.link/qa_integrations?%243p=a_espn&clr=espnbettingintegration&$canonical_url=/sport/golf/organization/dp-world-tour/competition/isps-handa-australian-open/event/df8ba72f-4be8-4569-840e-954dbd9a7806&market_selection_id[0]=3727a3f5-5143-4616-ab4f-713bcf40aa21&odds_numerator[0]=73&odds_denominator[0]=20',
283
+ marketStatus: 'LIVE',
284
+ },
285
+ ],
286
+ },
287
+ {
288
+ displayName: 'Championship Future',
289
+ legs: [
290
+ {
291
+ id: '472f176b-7575-4d1d-ac63-bcb2d4ec6da9',
292
+ marketId: '2e5fdfdf-7021-464f-939d-5497030fe765',
293
+ marketSelectionId: '3727a3f5-5143-4616-ab4f-713bcf40aa21',
294
+ marketType: 'list',
295
+ status: 'PENDING',
296
+ odds: '+265',
297
+ boostType: 'NONE',
298
+ selectionText: 'Aaron Pike',
299
+ type: 'list',
300
+ marketText: 'Tournament Winner',
301
+ icon: 'https://a.espncdn.com/i/espnbet/mybets_allsports_green_icon.png',
302
+ iconDark: 'https://a.espncdn.com/i/espnbet/dark/mybets_allsports_green_icon.png',
303
+ url: 'https://espnbet.test-app.link/qa_integrations?%243p=a_espn&clr=espnbettingintegration&$canonical_url=/sport/golf/organization/dp-world-tour/competition/isps-handa-australian-open/event/df8ba72f-4be8-4569-840e-954dbd9a7806&market_selection_id[0]=3727a3f5-5143-4616-ab4f-713bcf40aa21&odds_numerator[0]=73&odds_denominator[0]=20',
304
+ marketStatus: 'LIVE',
305
+ },
306
+ ],
307
+ },
308
+ ],
309
+ rewardInfo: { type: 'NONE' },
310
+ legCount: 5,
311
+ isNoAction: false,
312
+ betDisplayStatement: 'to win',
313
+ },
314
+ {
315
+ id: '9m1bBxUYPyPPjkpzT6buDlcuQng=',
316
+ type: 'STRAIGHT',
317
+ betStatus: 'OPEN',
318
+ outcome: 'PENDING',
319
+ overrideOutcome: 'NOT_SET',
320
+ betAmount: '2',
321
+ payoutAmount: '10.80',
322
+ odds: '+440',
323
+ startTime: '2025-04-30T15:12Z',
324
+ events: [
325
+ {
326
+ displayName: 'SBG/SBE Odds Boost Test',
327
+ legs: [
328
+ {
329
+ id: '8061671d-6d38-4193-a5a6-beab37855840',
330
+ marketId: '567d2a44-ba70-4881-86d7-d25fca94b592',
331
+ marketSelectionId: '59b2b7ee-46c1-4cbc-9286-77fd8670cf9d',
332
+ marketType: 'list',
333
+ status: 'PENDING',
334
+ odds: '+440',
335
+ boostType: 'ODDS_BOOST',
336
+ selectionText: 'Lauri Markkanen and Anfernee Simons to Each Record 20+ Points',
337
+ type: 'list',
338
+ marketText: 'SBG/SBE Odds Boost (Was +100)',
339
+ icon: 'https://a.espncdn.com/i/espnbet/mybets_allsports_green_icon.png',
340
+ iconDark: 'https://a.espncdn.com/i/espnbet/dark/mybets_allsports_green_icon.png',
341
+ url: 'https://espnbet.test-app.link/qa_integrations?%243p=a_espn&clr=espnbettingintegration&$canonical_url=/sport/odds-boost/organization/odds-boosts/competition/odds-boosts/event/218e1dca-f68d-4d61-9d79-394e7d752cae&market_selection_id[0]=59b2b7ee-46c1-4cbc-9286-77fd8670cf9d&odds_numerator[0]=27&odds_denominator[0]=5',
342
+ marketStatus: 'LIVE',
343
+ },
344
+ ],
345
+ },
346
+ ],
347
+ rewardInfo: {
348
+ type: 'ODDS_BOOST',
349
+ icon: {
350
+ light: 'https://a.espncdn.com/i/espnbet/boost.png',
351
+ dark: 'https://a.espncdn.com/i/espnbet/boost.png',
352
+ },
353
+ },
354
+ legCount: 1,
355
+ isNoAction: false,
356
+ betDisplayStatement: 'to win',
357
+ },
358
+ {
359
+ id: 'MCH06SyVYvu1UZkhj4KutmL9qKY=',
360
+ type: 'STRAIGHT',
361
+ betStatus: 'OPEN',
362
+ outcome: 'PENDING',
363
+ overrideOutcome: 'NOT_SET',
364
+ betAmount: '3',
365
+ payoutAmount: '16.20',
366
+ odds: '+440',
367
+ startTime: '2025-04-30T15:12Z',
368
+ events: [
369
+ {
370
+ displayName: 'SBG/SBE Odds Boost Test',
371
+ legs: [
372
+ {
373
+ id: '020d7a12-3aa8-459e-8aa2-34eaced4ad7d',
374
+ marketId: '567d2a44-ba70-4881-86d7-d25fca94b592',
375
+ marketSelectionId: '59b2b7ee-46c1-4cbc-9286-77fd8670cf9d',
376
+ marketType: 'list',
377
+ status: 'PENDING',
378
+ odds: '+440',
379
+ boostType: 'ODDS_BOOST',
380
+ selectionText: 'Lauri Markkanen and Anfernee Simons to Each Record 20+ Points',
381
+ type: 'list',
382
+ marketText: 'SBG/SBE Odds Boost (Was +100)',
383
+ icon: 'https://a.espncdn.com/i/espnbet/mybets_allsports_green_icon.png',
384
+ iconDark: 'https://a.espncdn.com/i/espnbet/dark/mybets_allsports_green_icon.png',
385
+ url: 'https://espnbet.test-app.link/qa_integrations?%243p=a_espn&clr=espnbettingintegration&$canonical_url=/sport/odds-boost/organization/odds-boosts/competition/odds-boosts/event/218e1dca-f68d-4d61-9d79-394e7d752cae&market_selection_id[0]=59b2b7ee-46c1-4cbc-9286-77fd8670cf9d&odds_numerator[0]=27&odds_denominator[0]=5',
386
+ marketStatus: 'LIVE',
387
+ },
388
+ ],
389
+ },
390
+ ],
391
+ rewardInfo: {
392
+ type: 'ODDS_BOOST',
393
+ icon: {
394
+ light: 'https://a.espncdn.com/i/espnbet/boost.png',
395
+ dark: 'https://a.espncdn.com/i/espnbet/boost.png',
396
+ },
397
+ },
398
+ legCount: 1,
399
+ isNoAction: false,
400
+ betDisplayStatement: 'to win',
401
+ },
402
+ {
403
+ id: 'xfFjqsLCjaFx93eH6c8bOQ9mEkI=',
404
+ type: 'STRAIGHT',
405
+ betStatus: 'OPEN',
406
+ outcome: 'PENDING',
407
+ overrideOutcome: 'NOT_SET',
408
+ betAmount: '2',
409
+ payoutAmount: '12.00',
410
+ odds: '+500',
411
+ startTime: '2025-04-30T17:11Z',
412
+ events: [
413
+ {
414
+ displayName: 'SBG NHL In The News Test',
415
+ legs: [
416
+ {
417
+ id: '910a1ebf-592d-4ae6-9471-6f648786b7e6',
418
+ marketId: 'c5252e65-0999-40af-b366-11967f009871',
419
+ marketSelectionId: 'c9b1446c-26af-43c4-9705-3a2275dc0ee5',
420
+ marketType: 'list',
421
+ status: 'PENDING',
422
+ odds: '+500',
423
+ boostType: 'NONE',
424
+ selectionText: 'Long Desc Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus non gravida mi. Aliquam volutpat felis ut tempor dictum.',
425
+ type: 'list',
426
+ marketText: 'SBG In The News NHL',
427
+ icon: 'https://a.espncdn.com/i/espnbet/mybets_allsports_green_icon.png',
428
+ iconDark: 'https://a.espncdn.com/i/espnbet/dark/mybets_allsports_green_icon.png',
429
+ url: 'https://espnbet.test-app.link/qa_integrations?%243p=a_espn&clr=espnbettingintegration&$canonical_url=/sport/odds-boost/organization/in-the-news/competition/in-the-news/event/4cd8e64d-472c-412f-b786-dd91c98ab74e&market_selection_id[0]=c9b1446c-26af-43c4-9705-3a2275dc0ee5&odds_numerator[0]=6&odds_denominator[0]=1',
430
+ marketStatus: 'LIVE',
431
+ },
432
+ ],
433
+ },
434
+ ],
435
+ rewardInfo: { type: 'NONE' },
436
+ legCount: 1,
437
+ isNoAction: false,
438
+ betDisplayStatement: 'to win',
439
+ },
440
+ {
441
+ id: 'A0RLmTR8mjEFSwaa21JeOhyVdXc=',
442
+ type: 'STRAIGHT',
443
+ betStatus: 'OPEN',
444
+ outcome: 'PENDING',
445
+ overrideOutcome: 'NOT_SET',
446
+ betAmount: '1',
447
+ payoutAmount: '3.00',
448
+ odds: '+200',
449
+ startTime: '2025-04-30T17:13Z',
450
+ events: [
451
+ {
452
+ displayName: 'SBG NBA Special Test',
453
+ legs: [
454
+ {
455
+ id: '1aa22098-57b7-4a77-bbf2-ca7ebf812083',
456
+ marketId: 'bc783144-0a2c-465b-9e8f-2ef55a17705c',
457
+ marketSelectionId: '7a91fb3d-1291-4163-b5e0-07fe63e8e706',
458
+ marketType: 'list',
459
+ status: 'PENDING',
460
+ odds: '+200',
461
+ boostType: 'NONE',
462
+ selectionText: 'Tyrese Haliburton to Record 12+ Assists',
463
+ type: 'list',
464
+ marketText: 'SBG NBA Special Test',
465
+ icon: 'https://a.espncdn.com/i/espnbet/mybets_allsports_green_icon.png',
466
+ iconDark: 'https://a.espncdn.com/i/espnbet/dark/mybets_allsports_green_icon.png',
467
+ url: 'https://espnbet.test-app.link/qa_integrations?%243p=a_espn&clr=espnbettingintegration&$canonical_url=/sport/odds-boost/organization/specials/competition/specials/event/d53171e2-f821-4da8-9b1c-ce1a4b735914&market_selection_id[0]=7a91fb3d-1291-4163-b5e0-07fe63e8e706&odds_numerator[0]=33&odds_denominator[0]=10',
468
+ marketStatus: 'LIVE',
469
+ },
470
+ ],
471
+ },
472
+ ],
473
+ rewardInfo: { type: 'NONE' },
474
+ legCount: 1,
475
+ isNoAction: false,
476
+ betDisplayStatement: 'to win',
477
+ },
478
+ {
479
+ id: 'Qhelx5np79zhAchzXXTL1HdDb80=',
480
+ type: 'STRAIGHT',
481
+ betStatus: 'OPEN',
482
+ outcome: 'PENDING',
483
+ overrideOutcome: 'NOT_SET',
484
+ betAmount: '2',
485
+ payoutAmount: '10.00',
486
+ odds: '+400',
487
+ startTime: '2025-04-30T17:13Z',
488
+ events: [
489
+ {
490
+ displayName: 'SBG NBA Special Test',
491
+ legs: [
492
+ {
493
+ id: '73f3af25-5e1a-47eb-bcec-5b23e911c14e',
494
+ marketId: 'bc783144-0a2c-465b-9e8f-2ef55a17705c',
495
+ marketSelectionId: '0a898e16-2a0a-44dd-a580-3ae3bade3684',
496
+ marketType: 'list',
497
+ status: 'PENDING',
498
+ odds: '+400',
499
+ boostType: 'NONE',
500
+ selectionText: 'Long Desc Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus non gravida mi. Aliquam volutpat felis ut tempor dictum.',
501
+ type: 'list',
502
+ marketText: 'SBG NBA Special Test',
503
+ icon: 'https://a.espncdn.com/i/espnbet/mybets_allsports_green_icon.png',
504
+ iconDark: 'https://a.espncdn.com/i/espnbet/dark/mybets_allsports_green_icon.png',
505
+ url: 'https://espnbet.test-app.link/qa_integrations?%243p=a_espn&clr=espnbettingintegration&$canonical_url=/sport/odds-boost/organization/specials/competition/specials/event/d53171e2-f821-4da8-9b1c-ce1a4b735914&market_selection_id[0]=0a898e16-2a0a-44dd-a580-3ae3bade3684&odds_numerator[0]=37&odds_denominator[0]=10',
506
+ marketStatus: 'LIVE',
507
+ },
508
+ ],
509
+ },
510
+ ],
511
+ rewardInfo: { type: 'NONE' },
512
+ legCount: 1,
513
+ isNoAction: false,
514
+ betDisplayStatement: 'to win',
515
+ },
516
+ ],
517
+ settled: [
518
+ {
519
+ id: 'z/WEFT7NDVjgb0d/+Elr45MfuRg=',
520
+ type: 'STRAIGHT',
521
+ betStatus: 'SETTLED',
522
+ outcome: 'WIN',
523
+ overrideOutcome: 'NOT_SET',
524
+ closedAtTime: '2025-03-08T05:33Z',
525
+ betAmount: '1',
526
+ payoutAmount: '1.91',
527
+ odds: '-110',
528
+ startTime: '2025-03-08T03:00Z',
529
+ events: [
530
+ {
531
+ displayName: 'San Antonio Spurs @ Sacramento Kings',
532
+ legs: [
533
+ {
534
+ id: '05011199-c88f-4c0d-be31-1b1c7549e273',
535
+ marketId: '728792c6-d2da-435b-920a-eb86bdc45e8c',
536
+ marketSelectionId: '60f8aef9-4c98-4ce2-b861-34e72c2ad13b',
537
+ marketType: 'total',
538
+ status: 'WIN',
539
+ odds: '-110',
540
+ boostType: 'NONE',
541
+ selectionText: 'Over 235',
542
+ type: 'over',
543
+ points: '235.0',
544
+ marketText: 'Total Points',
545
+ icon: 'https://a.espncdn.com/i/espnbet/mybets_green_check_icon.png',
546
+ iconDark: 'https://a.espncdn.com/i/espnbet/dark/mybets_green_check_icon.png',
547
+ url: 'https://espnbet.test-app.link/qa_integrations?%243p=a_espn&clr=espnbettingintegration&$canonical_url=/sport/basketball/organization/united-states/competition/nba/event/e1163795-ddfa-4bfc-9d52-018e8259e4b5&market_selection_id[0]=60f8aef9-4c98-4ce2-b861-34e72c2ad13b&odds_numerator[0]=2&odds_denominator[0]=1',
548
+ marketStatus: 'SETTLED',
549
+ accrued: { goal: 235.0 },
550
+ },
551
+ ],
552
+ },
553
+ ],
554
+ rewardInfo: { type: 'NONE' },
555
+ legCount: 1,
556
+ isNoAction: false,
557
+ betDisplayStatement: 'you won',
558
+ },
559
+ ],
560
+ },
561
+ promotion: {
562
+ title: 'The official sportsbook of ESPN',
563
+ description: 'Open the ESPN BET app on a mobile device and start betting!',
564
+ logo: 'https://a.espncdn.com/i/espnbet/ESPN_Bet_Sportsbook_Light.svg',
565
+ qrCode: 'https://assets.geo.hosted.espnsb.com/api/ext_mocks/qr.png',
566
+ backgroundImage: 'https://www.espn.com/redesign/assets/img/ictv/bkg_qr_bet.png',
567
+ },
568
+ disclaimers: {
569
+ location: 'Use a translation with a key based on location here',
570
+ gambling: 'Use a translation with some key based on gambling here',
571
+ },
572
+ ...event,
573
+ };
@@ -0,0 +1 @@
1
+ export {};