@streamlayer/react-ui 1.18.1 → 1.19.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (69) hide show
  1. package/lib/app/app/Notifications/index.js +1 -1
  2. package/lib/app/masters/BetPack/BetPackContent/EmergencyScreen/index.js +12 -8
  3. package/lib/app/masters/BetPack/BetPackContent/EndScreen/index.js +42 -14
  4. package/lib/app/masters/BetPack/BetPackContent/EndScreen/styles.d.ts +12 -0
  5. package/lib/app/masters/BetPack/BetPackContent/EndScreen/styles.js +40 -20
  6. package/lib/app/masters/BetPack/BetPackContent/ScreenContainer/index.js +8 -4
  7. package/lib/app/masters/BetPack/BetPackContent/ScreenContainer/useDynamicParentFont.d.ts +4 -0
  8. package/lib/app/masters/BetPack/BetPackContent/ScreenContainer/useDynamicParentFont.js +27 -0
  9. package/lib/app/masters/BetPack/BetPackContent/StartScreen/index.js +21 -19
  10. package/lib/app/masters/BetPack/BetPackContent/StartScreen/styles.d.ts +1 -0
  11. package/lib/app/masters/BetPack/BetPackContent/StartScreen/styles.js +22 -17
  12. package/lib/app/masters/BetPack/BetPackContent/index.js +88 -62
  13. package/lib/app/masters/BetPack/BetPackContent/styles.d.ts +1 -0
  14. package/lib/app/masters/BetPack/BetPackContent/styles.js +8 -7
  15. package/lib/app/masters/BetPack/index.js +59 -53
  16. package/lib/app/masters/Features/Gamification/Question.js +3 -3
  17. package/lib/app/masters/Features/Gamification/Tabs.d.ts +0 -7
  18. package/lib/app/masters/Features/Gamification/Tabs.js +9 -42
  19. package/lib/app/masters/Features/Gamification/UserSummary.js +15 -14
  20. package/lib/app/masters/Features/Gamification/index.d.ts +1 -6
  21. package/lib/app/masters/Features/Gamification/index.js +37 -76
  22. package/lib/app/masters/Features/index.d.ts +1 -6
  23. package/lib/app/masters/Features/index.js +15 -25
  24. package/lib/app/masters/Header/index.d.ts +3 -0
  25. package/lib/app/masters/Header/index.js +38 -0
  26. package/lib/app/masters/Notifications/index.js +1 -1
  27. package/lib/app/masters/masters.d.ts +1 -0
  28. package/lib/app/masters/masters.js +75 -92
  29. package/lib/app/masters/story/index.d.ts +1 -0
  30. package/lib/app/masters/story/index.js +21 -22
  31. package/lib/app/masters/styles.d.ts +0 -10
  32. package/lib/app/masters/styles.js +13 -23
  33. package/lib/app/masters/useSdkResponsive.js +1 -1
  34. package/lib/app/masters/useSdkScroll.js +1 -1
  35. package/lib/app/useClipboardCopy.js +1 -1
  36. package/lib/app/useSdkResponsive.js +1 -1
  37. package/lib/app/useSdkScroll.js +1 -1
  38. package/lib/assets/style.css +1 -1
  39. package/lib/index-BEm7B1u1.js +72 -0
  40. package/lib/index-DALxy-8N.js +5437 -0
  41. package/lib/ui/gamification/user-statistics/index.d.ts +1 -0
  42. package/lib/ui/gamification/user-statistics/index.js +47 -39
  43. package/lib/ui/gamification/user-statistics/styles.d.ts +2 -0
  44. package/lib/ui/gamification/user-statistics/styles.js +34 -24
  45. package/lib/ui/gamification/vote/feedback/index.d.ts +1 -0
  46. package/lib/ui/gamification/vote/feedback/index.js +60 -47
  47. package/lib/ui/gamification/vote/feedback/styles.d.ts +12 -0
  48. package/lib/ui/gamification/vote/feedback/styles.js +47 -27
  49. package/lib/ui/gamification/vote/index.js +145 -136
  50. package/lib/ui/gamification/vote/styles.d.ts +3 -1
  51. package/lib/ui/gamification/vote/styles.js +42 -32
  52. package/lib/ui/gamification/vote/vote-option/index.d.ts +1 -0
  53. package/lib/ui/gamification/vote/vote-option/index.js +59 -60
  54. package/lib/ui/gamification/vote/vote-option/styles.d.ts +1 -0
  55. package/lib/ui/gamification/vote/vote-option/styles.js +16 -11
  56. package/lib/ui/icons/index.d.ts +3 -0
  57. package/lib/ui/icons/index.js +69 -51
  58. package/lib/ui/loader/index.js +4 -3
  59. package/lib/ui/modal/index.js +1 -1
  60. package/lib/ui/theme/masters-theme.js +152 -32
  61. package/lib/ui/theme/theme.js +66 -20
  62. package/package.json +16 -15
  63. package/lib/app/masters/Features/Gamification/Friends.d.ts +0 -3
  64. package/lib/app/masters/Features/Gamification/Friends.js +0 -19
  65. package/lib/app/masters/Features/Gamification/Leaderboard.d.ts +0 -8
  66. package/lib/app/masters/Features/Gamification/Leaderboard.js +0 -56
  67. package/lib/index-B1QdimmR.js +0 -19047
  68. package/lib/index-CZvwzN5o.js +0 -75
  69. package/lib/index-xuotMAFm.js +0 -118
@@ -1,124 +1,107 @@
1
- import { jsxs as d, jsx as n } from "react/jsx-runtime";
2
- import { SDKContainer as b, SDKScrollContainer as g } from "./styles.js";
1
+ import { jsxs as u, jsx as t } from "react/jsx-runtime";
2
+ import { cx as x } from "@linaria/core";
3
+ import { SDKContainer as y, SDKScrollContainer as A } from "./styles.js";
3
4
  import { useSdkScroll as C } from "./useSdkScroll.js";
4
- import { useSdkFeature as L } from "../useSdkFeature.js";
5
- import { useAnalyticsListener as m, newTabLinkListener as x, appScrollListener as A, appClickListener as I } from "../../hooks/analytics.js";
6
- import { useRef as f, useState as D, useEffect as S, useMemo as M } from "react";
7
- import { useStore as l } from "@streamlayer/react-polyfills";
8
- import { FeatureType as P } from "@streamlayer/sdk-web-types";
9
- import { resetCss as v } from "../../ui/theme/theme.js";
5
+ import { useSdkFeature as D } from "../useSdkFeature.js";
6
+ import { useAnalyticsListener as p, newTabLinkListener as I, appScrollListener as M, appClickListener as P } from "../../hooks/analytics.js";
7
+ import { useRef as d, useState as E, useEffect as S, useMemo as g } from "react";
8
+ import { useStore as i } from "@streamlayer/react-polyfills";
9
+ import { FeatureType as k } from "@streamlayer/sdk-web-types";
10
+ import { resetCss as f } from "../../ui/theme/theme.js";
10
11
  import { BetPackOverlay as w } from "./BetPack/index.js";
11
- import { ActiveFeature as E, StandaloneFeature as k } from "./Features/index.js";
12
- import { SDKNotifications as j } from "./Notifications/index.js";
13
- import { MastersContext as B } from "./useMastersContext.js";
14
- import { useSdkResponsive as K } from "./useSdkResponsive.js";
15
- import { StreamLayerMastersThemeProvider as ne } from "../../ui/theme/masters.js";
16
- const O = ({ sdk: e, className: t, scrollStore: s, appNode: a, scrollNode: i, responsiveStore: r }) => {
17
- const [, o] = L(e);
18
- return /* @__PURE__ */ n(
19
- E,
20
- {
21
- className: t,
22
- scrollNode: i,
23
- appNode: a,
24
- scrollStore: s,
25
- feature: o,
26
- responsiveStore: r,
27
- sdk: e
28
- }
29
- );
30
- }, R = ({ sdk: e, className: t, appNode: s, responsiveStore: a }) => {
31
- const i = l(e.featuresList.getStore());
32
- return i ? Array.from(i, (r) => {
33
- const o = e.getFeature(r);
34
- return o ? /* @__PURE__ */ n(
35
- k,
12
+ import { ActiveFeature as K, StandaloneFeature as B } from "./Features/index.js";
13
+ import { SDKHeader as O } from "./Header/index.js";
14
+ import { SDKNotifications as R } from "./Notifications/index.js";
15
+ import { MastersContext as j } from "./useMastersContext.js";
16
+ import { useSdkResponsive as G } from "./useSdkResponsive.js";
17
+ import { StreamLayerMastersThemeProvider as me } from "../../ui/theme/masters.js";
18
+ const T = ({ sdk: e, className: o }) => {
19
+ const [, r] = D(e);
20
+ return /* @__PURE__ */ t(K, { className: o, feature: r, sdk: e });
21
+ }, V = ({ sdk: e, className: o, appNode: r, responsiveStore: l }) => {
22
+ const n = i(e.featuresList.getStore());
23
+ return n ? Array.from(n, (a) => {
24
+ const s = e.getFeature(a);
25
+ return s ? /* @__PURE__ */ t(
26
+ B,
36
27
  {
37
- className: t,
38
- appNode: s,
39
- feature: o,
40
- responsiveStore: a,
28
+ className: o,
29
+ appNode: r,
30
+ feature: s,
31
+ responsiveStore: l,
41
32
  sdk: e
42
33
  },
43
- r
34
+ a
44
35
  ) : null;
45
36
  }) : null;
46
- }, G = ({
37
+ }, q = ({
47
38
  responsiveStore: e,
48
- ...t
39
+ ...o
49
40
  }) => {
50
- const { sdkInDesktopView: s } = l(e);
51
- return /* @__PURE__ */ n(w, { ...t, isMobile: !s });
52
- }, te = ({ sdk: e }) => {
53
- const t = f(null), [s, a] = D(!0), i = f(null), [r] = K(t), [o, p] = C(t, r), h = l(e.status), y = l(e.sdkStore.slStreamId), u = !!l(e.userId()), c = h === "ready" && !!y.data;
41
+ const { sdkInDesktopView: r } = i(e);
42
+ return /* @__PURE__ */ t(w, { ...o, isMobile: !r });
43
+ }, ae = ({ sdk: e, betPack: o }) => {
44
+ const r = d(null), [l, n] = E(o), a = d(null), [s] = G(r), [m, v] = C(r, s), N = i(e.status), F = i(e.sdkStore.slStreamId), b = !!i(e.userId()), c = N === "ready" && !!F.data;
54
45
  S(() => {
55
46
  window.requestAnimationFrame(() => {
56
47
  e.initializeApp().then(() => {
57
- e.openFeature(P.GAMES);
48
+ e.openFeature(k.GAMES);
58
49
  });
59
50
  });
60
- }, [e]), m(t, { enabled: !0, event: "click", listener: x }), m(o, {
51
+ }, [e]), p(r, { enabled: !0, event: "click", listener: I }), p(m, {
61
52
  enabled: !0,
62
53
  event: "scrollend",
63
- listener: A,
54
+ listener: M,
64
55
  useDomNode: !0
65
- }), m(o, {
56
+ }), p(m, {
66
57
  enabled: !0,
67
58
  event: "click",
68
- listener: I,
59
+ listener: P,
69
60
  useDomNode: !0
70
61
  });
71
- const F = M(() => ({ sdk: e }), [e]);
62
+ const h = g(() => ({ sdk: e }), [e]);
72
63
  return S(() => {
73
64
  import("./Features/Gamification/gamification-feature.js");
74
- }, []), /* @__PURE__ */ d(B.Provider, { value: F, children: [
75
- s && u && /* @__PURE__ */ n(
76
- G,
65
+ }, []), /* @__PURE__ */ u(j.Provider, { value: h, children: [
66
+ l && b && /* @__PURE__ */ t(
67
+ q,
77
68
  {
78
69
  sdk: e,
79
- onEvent: ({ type: N }) => N === "slOpenGameCenter" ? a(!1) : () => {
70
+ onEvent: ({ type: L }) => L === "slOpenGameCenter" ? n(!1) : () => {
80
71
  },
81
- close: () => a(!1),
82
- responsiveStore: r
72
+ close: () => n(!1),
73
+ responsiveStore: s
83
74
  }
84
75
  ),
85
- !s && u && /* @__PURE__ */ n(b, { ref: t, children: /* @__PURE__ */ d(g, { className: "sl-hide-on-modal", ref: o, children: [
86
- c && /* @__PURE__ */ n(
87
- j,
88
- {
89
- sdk: e,
90
- scrollNode: o,
91
- headerNode: i,
92
- appNode: t,
93
- scrollStore: p,
94
- responsiveStore: r
95
- }
96
- ),
97
- c && /* @__PURE__ */ n(
98
- O,
99
- {
100
- scrollStore: p,
101
- responsiveStore: r,
102
- scrollNode: o,
103
- appNode: t,
104
- className: v,
105
- sdk: e
106
- }
107
- ),
108
- c && /* @__PURE__ */ n(
109
- R,
110
- {
111
- responsiveStore: r,
112
- appNode: t,
113
- className: v,
114
- sdk: e
115
- }
116
- )
117
- ] }) }),
118
- !u && /* @__PURE__ */ n("div", { style: { display: "flex", alignItems: "center", justifyContent: "center", width: "100%", height: "100%" }, children: "You are not logged in." })
76
+ !l && /* @__PURE__ */ u(y, { ref: r, children: [
77
+ /* @__PURE__ */ t(O, { className: x(f, "sl-hide-on-modal"), ref: a }),
78
+ /* @__PURE__ */ u(A, { "data-nav": !0, className: "sl-hide-on-modal", ref: m, children: [
79
+ c && /* @__PURE__ */ t(
80
+ R,
81
+ {
82
+ sdk: e,
83
+ scrollNode: m,
84
+ headerNode: a,
85
+ appNode: r,
86
+ scrollStore: v,
87
+ responsiveStore: s
88
+ }
89
+ ),
90
+ c && /* @__PURE__ */ t(T, { className: f, sdk: e }),
91
+ c && /* @__PURE__ */ t(
92
+ V,
93
+ {
94
+ responsiveStore: s,
95
+ appNode: r,
96
+ className: f,
97
+ sdk: e
98
+ }
99
+ )
100
+ ] })
101
+ ] })
119
102
  ] });
120
103
  };
121
104
  export {
122
- te as MastersApp,
123
- ne as StreamLayerMastersThemeProvider
105
+ ae as MastersApp,
106
+ me as StreamLayerMastersThemeProvider
124
107
  };
@@ -1,3 +1,4 @@
1
1
  export declare const MastersStory: React.FC<{
2
2
  settings?: boolean;
3
+ betPack?: boolean;
3
4
  }>;
@@ -1,53 +1,52 @@
1
- import { jsxs as n, jsx as e } from "react/jsx-runtime";
2
- import { StreamLayerProvider as t, StreamLayerSDKEvent as l, useStreamLayer as c } from "@streamlayer/react";
1
+ import { jsxs as t, jsx as e } from "react/jsx-runtime";
2
+ import { MastersStreamLayerProvider as d, useStreamLayer as c } from "@streamlayer/react/masters";
3
3
  import { MastersApp as s } from "../masters.js";
4
4
  import { StreamLayerMastersThemeProvider as p } from "../../../ui/theme/masters.js";
5
5
  import { useStreamLayerDebug as m, StreamLayerDebug as h } from "../../../utils/debug/index.js";
6
- import { MastersLogin as u, MobileHeader as y, HostAppContent as d, Body as k, Video as v, Container as L, AppContainer as f, BackToTop as S, BackToTopLink as T } from "./components.js";
7
- const C = () => {
6
+ import { MastersLogin as u, MobileHeader as y, HostAppContent as i, Body as k, Video as v, Container as L, AppContainer as T, BackToTop as f, BackToTopLink as C } from "./components.js";
7
+ const S = ({ betPack: n }) => {
8
8
  const o = c();
9
- return o ? /* @__PURE__ */ e(p, { style: { height: "100%" }, children: /* @__PURE__ */ e(s, { sdk: o }) }) : null;
9
+ return o ? /* @__PURE__ */ e(p, { style: { height: "100%" }, children: /* @__PURE__ */ e(s, { sdk: o, betPack: n }) }) : null;
10
10
  }, a = () => {
11
11
  console.log("deep link handled cb");
12
- }, i = () => {
12
+ }, l = () => {
13
13
  console.log("video player handled cb");
14
- }, D = ({ settings: o }) => {
14
+ }, K = ({ settings: n, betPack: o }) => {
15
15
  const r = m();
16
- return o ? /* @__PURE__ */ n(
17
- t,
16
+ return n ? /* @__PURE__ */ t(
17
+ d,
18
18
  {
19
19
  sdkKey: r.sdkKey,
20
20
  production: r.env === "production",
21
21
  onDeepLinkHandled: a,
22
- videoPlayerController: i,
22
+ videoPlayerController: l,
23
23
  children: [
24
24
  /* @__PURE__ */ e(u, {}),
25
25
  /* @__PURE__ */ e(h, { ...r, standalone: !0, hideAuth: !0 })
26
26
  ]
27
27
  }
28
- ) : /* @__PURE__ */ n(
29
- t,
28
+ ) : /* @__PURE__ */ t(
29
+ d,
30
30
  {
31
31
  sdkKey: r.sdkKey,
32
32
  production: r.env === "production",
33
- autoEnable: !1,
34
33
  onDeepLinkHandled: a,
35
- videoPlayerController: i,
34
+ videoPlayerController: l,
35
+ event: r.event,
36
36
  children: [
37
- /* @__PURE__ */ e(l, { event: r.event }),
38
37
  /* @__PURE__ */ e(y, { children: "header" }),
39
- /* @__PURE__ */ e(d, { children: "...host app content..." }),
40
- /* @__PURE__ */ n(k, { children: [
38
+ /* @__PURE__ */ e(i, { children: "...host app content..." }),
39
+ /* @__PURE__ */ t(k, { children: [
41
40
  /* @__PURE__ */ e(v, {}),
42
- /* @__PURE__ */ e(L, { children: /* @__PURE__ */ e(f, { className: "StreamLayerSDK", children: /* @__PURE__ */ e(C, {}) }) })
41
+ /* @__PURE__ */ e(L, { children: /* @__PURE__ */ e(T, { className: "StreamLayerSDK", children: /* @__PURE__ */ e(S, { betPack: o }) }) })
43
42
  ] }),
44
- /* @__PURE__ */ e(d, { children: "...host app content..." }),
45
- /* @__PURE__ */ e(S, { onClick: () => document.documentElement.scrollTop = 0, children: "BackToTop" }),
46
- /* @__PURE__ */ e(T, { href: "#", children: "BackToTop Link" })
43
+ /* @__PURE__ */ e(i, { children: "...host app content..." }),
44
+ /* @__PURE__ */ e(f, { onClick: () => document.documentElement.scrollTop = 0, children: "BackToTop" }),
45
+ /* @__PURE__ */ e(C, { href: "#", children: "BackToTop Link" })
47
46
  ]
48
47
  }
49
48
  );
50
49
  };
51
50
  export {
52
- D as MastersStory
51
+ K as MastersStory
53
52
  };
@@ -7,14 +7,4 @@ export declare const SDKWhiteContainer: {
7
7
  as?: React.ElementType;
8
8
  }>;
9
9
  export declare const TabsContainer: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
10
- export declare const LeaderboardContainer: {
11
- __wyw_meta: unknown;
12
- } & import('react').FunctionComponent<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & Record<never, unknown> & {
13
- as?: React.ElementType;
14
- }>;
15
- export declare const TabsNavContainer: {
16
- __wyw_meta: unknown;
17
- } & import('react').FunctionComponent<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & Record<never, unknown> & {
18
- as?: React.ElementType;
19
- }>;
20
10
  export declare const UserSummaryContainer: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
@@ -1,44 +1,34 @@
1
1
  import { styled as s } from "@linaria/react";
2
- const i = /* @__PURE__ */ s("div")({
2
+ const t = /* @__PURE__ */ s("div")({
3
3
  name: "SDKContainer",
4
4
  class: "s8zgqze",
5
5
  propsAsIs: !1
6
- }), p = /* @__PURE__ */ s("div")({
6
+ }), o = /* @__PURE__ */ s("div")({
7
7
  name: "SDKScrollContainer",
8
8
  class: "s6t897k",
9
9
  propsAsIs: !1
10
- }), a = /* @__PURE__ */ s("div")({
10
+ }), n = /* @__PURE__ */ s("div")({
11
11
  name: "SDKContentContainer",
12
12
  class: "sw7pkvp",
13
13
  propsAsIs: !1
14
- }), e = () => a, n = /* @__PURE__ */ s(e())({
14
+ }), e = () => n, r = /* @__PURE__ */ s(e())({
15
15
  name: "SDKWhiteContainer",
16
16
  class: "s14gkn7u",
17
17
  propsAsIs: !0
18
- }), c = /* @__PURE__ */ s("div")({
18
+ }), i = /* @__PURE__ */ s("div")({
19
19
  name: "TabsContainer",
20
20
  class: "t1yxstm9",
21
21
  propsAsIs: !1
22
- }), o = () => n, l = /* @__PURE__ */ s(o())({
23
- name: "LeaderboardContainer",
24
- class: "ldpty1s",
25
- propsAsIs: !0
26
- }), t = () => n, C = /* @__PURE__ */ s(t())({
27
- name: "TabsNavContainer",
28
- class: "t136a59y",
29
- propsAsIs: !0
30
- }), m = /* @__PURE__ */ s("div")({
22
+ }), p = /* @__PURE__ */ s("div")({
31
23
  name: "UserSummaryContainer",
32
- class: "u11vnm9m",
24
+ class: "udpty1s",
33
25
  propsAsIs: !1
34
26
  });
35
27
  export {
36
- l as LeaderboardContainer,
37
- i as SDKContainer,
38
- a as SDKContentContainer,
39
- p as SDKScrollContainer,
40
- n as SDKWhiteContainer,
41
- c as TabsContainer,
42
- C as TabsNavContainer,
43
- m as UserSummaryContainer
28
+ t as SDKContainer,
29
+ n as SDKContentContainer,
30
+ o as SDKScrollContainer,
31
+ r as SDKWhiteContainer,
32
+ i as TabsContainer,
33
+ p as UserSummaryContainer
44
34
  };
@@ -1,7 +1,7 @@
1
1
  import c from "lodash.throttle";
2
2
  import { useState as m, useEffect as u } from "react";
3
3
  import { BREAKPOINTS as r } from "../../ui/theme/constants.js";
4
- import { m as l } from "../../index-CZvwzN5o.js";
4
+ import { m as l } from "../../index-BEm7B1u1.js";
5
5
  const d = Object.keys(r), i = () => {
6
6
  const n = window.innerWidth;
7
7
  let e = "sm";
@@ -2,7 +2,7 @@ import S from "lodash.throttle";
2
2
  import { useRef as m, useState as h, useEffect as b } from "react";
3
3
  import { useStore as g } from "@streamlayer/react-polyfills";
4
4
  import { BREAKPOINTS as c } from "../../ui/theme/constants.js";
5
- import { m as v } from "../../index-CZvwzN5o.js";
5
+ import { m as v } from "../../index-BEm7B1u1.js";
6
6
  const C = (o, e, n) => {
7
7
  const t = e >= c.lg && e < c.xl ? 75 : 52;
8
8
  o.current && window.scrollTo({
@@ -1,6 +1,6 @@
1
1
  import { jsx as u } from "react/jsx-runtime";
2
2
  import { useRef as l, useState as s, useCallback as p, useEffect as f } from "react";
3
- import { r as m } from "../index-B1QdimmR.js";
3
+ import { r as m } from "../index-DALxy-8N.js";
4
4
  import { CopyNotification as b } from "../ui/gamification/copyNotification/index.js";
5
5
  const T = (r) => {
6
6
  const t = l(), [i, o] = s(null), a = p(
@@ -1,7 +1,7 @@
1
1
  import i from "lodash.throttle";
2
2
  import { useState as m, useEffect as a } from "react";
3
3
  import { BREAKPOINTS as r } from "../ui/theme/constants.js";
4
- import { m as u } from "../index-CZvwzN5o.js";
4
+ import { m as u } from "../index-BEm7B1u1.js";
5
5
  const o = Object.keys(r), c = () => {
6
6
  const t = window.innerWidth;
7
7
  let e = "sm";
@@ -3,7 +3,7 @@ import { useRef as u, useState as b, useEffect as g } from "react";
3
3
  import { useStore as k } from "@streamlayer/react-polyfills";
4
4
  import { BREAKPOINTS as a } from "../ui/theme/constants.js";
5
5
  import { checkSdkInDesktopView as m } from "./useSdkResponsive.js";
6
- import { m as v } from "../index-CZvwzN5o.js";
6
+ import { m as v } from "../index-BEm7B1u1.js";
7
7
  const I = (o, e, n) => {
8
8
  const t = e >= a.lg && e < a.xl ? 75 : 52;
9
9
  o.current && window.scrollTo({