@streamlayer/react-ui 1.33.3 → 1.34.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 (38) hide show
  1. package/lib/app/app/Polymarket/index.d.ts +4 -0
  2. package/lib/app/app/Polymarket/index.js +56 -0
  3. package/lib/app/app/Polymarket/story.d.ts +2 -0
  4. package/lib/app/app/Polymarket/story.js +17 -0
  5. package/lib/app/masters/useSdkResponsive.js +1 -1
  6. package/lib/app/masters/useSdkScroll.js +1 -1
  7. package/lib/app/useSdkResponsive.js +1 -1
  8. package/lib/app/useSdkScroll.js +1 -1
  9. package/lib/app/webos/Advertisement/index.js +61 -61
  10. package/lib/app/webos/ExposedPauseAd/PauseAd.js +130 -103
  11. package/lib/app/webos/Question/index.js +30 -27
  12. package/lib/app/webos/index.d.ts +1 -0
  13. package/lib/app/webos/ui/Sidebar/index.js +145 -141
  14. package/lib/app/webos/ui/Sidebar/styles.d.ts +2 -0
  15. package/lib/app/webos/ui/Sidebar/styles.js +95 -85
  16. package/lib/assets/style.css +1 -1
  17. package/lib/{index-tnt2CtQe.js → index-Deo5_bIg.js} +6 -12
  18. package/lib/{index-DSi8Qgfs.js → index-Fv2CC2QU.js} +4 -4
  19. package/lib/ui/advertisement/overlay/externalAd/vast-player/useGAMPlayer.js +1 -1
  20. package/lib/ui/advertisement/overlay/externalAd/vast-player/useVastAds.js +1 -1
  21. package/lib/ui/gamification/question/inapp/notification/AdNotification/index.d.ts +1 -0
  22. package/lib/ui/gamification/question/inapp/notification/AdNotification/index.js +62 -48
  23. package/lib/ui/gamification/question/inapp/prediction-result/index.d.ts +1 -0
  24. package/lib/ui/gamification/question/inapp/prediction-result/index.js +4 -4
  25. package/lib/ui/gamification/question/inapp/prediction-result-ad/index.d.ts +1 -0
  26. package/lib/ui/gamification/question/inapp/prediction-result-ad/index.js +27 -16
  27. package/lib/ui/gamification/vote/insight-details/index.js +5 -5
  28. package/lib/ui/polymarket/index.d.ts +21 -0
  29. package/lib/ui/polymarket/index.js +226 -0
  30. package/lib/ui/polymarket/styles.d.ts +13 -0
  31. package/lib/ui/polymarket/styles.js +69 -0
  32. package/lib/utils/decorators/container.d.ts +1 -0
  33. package/lib/utils/decorators/container.js +9 -8
  34. package/lib/utils/decorators/styles.d.ts +1 -0
  35. package/lib/utils/decorators/styles.js +9 -4
  36. package/package.json +19 -16
  37. package/lib/ui/advertisement/overlay/externalAd/vast-player/useGAMStatic.d.ts +0 -10
  38. package/lib/ui/advertisement/overlay/externalAd/vast-player/useGAMStatic.js +0 -69
@@ -1,32 +1,32 @@
1
- import { jsx as n } from "react/jsx-runtime";
2
- import { styled as N } from "@linaria/react";
3
- import { Question as O } from "../../app/Features/Gamification/Question.js";
4
- import { useHideTransition as R } from "../../../hooks/showIn.js";
5
- import { useState as g, useMemo as C, useEffect as l } from "react";
1
+ import { jsx as i } from "react/jsx-runtime";
2
+ import { styled as C } from "@linaria/react";
3
+ import { Question as q } from "../../app/Features/Gamification/Question.js";
4
+ import { useHideTransition as b } from "../../../hooks/showIn.js";
5
+ import { useState as E, useMemo as L, useEffect as l } from "react";
6
6
  import { useStore as A } from "@streamlayer/react-polyfills";
7
- import { eventBus as D } from "@streamlayer/sdk-web-interfaces";
8
- import { NotificationType as Q } from "@streamlayer/sdk-web-notifications";
9
- import { FeatureType as b, QuestionType as h, AdUnit as S } from "@streamlayer/sdk-web-types";
10
- import { InAppNotification as w } from "../../../ui/gamification/question/inapp/notification/AdNotification/index.js";
11
- import { InAppPredictionResult as U } from "../../../ui/gamification/question/inapp/prediction-result/index.js";
12
- import { InAppPredictionResultAd as x } from "../../../ui/gamification/question/inapp/prediction-result-ad/index.js";
13
- import { ShowIn as L } from "../../../ui/show-in/index.js";
14
- const P = () => L, j = /* @__PURE__ */ N(P())({
7
+ import { eventBus as R } from "@streamlayer/sdk-web-interfaces";
8
+ import { NotificationType as g } from "@streamlayer/sdk-web-notifications";
9
+ import { FeatureType as D, QuestionType as Q, AdUnit as S } from "@streamlayer/sdk-web-types";
10
+ import { InAppNotification as W } from "../../../ui/gamification/question/inapp/notification/AdNotification/index.js";
11
+ import { InAppPredictionResult as h } from "../../../ui/gamification/question/inapp/prediction-result/index.js";
12
+ import { InAppPredictionResultAd as U } from "../../../ui/gamification/question/inapp/prediction-result-ad/index.js";
13
+ import { ShowIn as w } from "../../../ui/show-in/index.js";
14
+ const x = () => w, P = /* @__PURE__ */ C(x())({
15
15
  name: "OpenedContainer",
16
16
  class: "osyjgip",
17
17
  propsAsIs: !0
18
18
  }), Z = ({
19
19
  sdk: o,
20
- notification: i
20
+ notification: n
21
21
  }) => {
22
- var a, s, p, u, c, m, f, d;
22
+ var a, s, p, c, u, m, d, f;
23
23
  const T = A(o.featuresList.getStore()), {
24
24
  hiding: y,
25
- onAnimationEnd: I,
25
+ onAnimationEnd: N,
26
26
  finished: r
27
- } = R(), [q] = g(o.getNotificationsStore()), E = A(q), t = C(() => o.getActiveNotification(), [o, E]);
27
+ } = b(), [I] = E(o.getNotificationsStore()), O = A(I), t = L(() => o.getActiveNotification(), [o, O]);
28
28
  l(() => {
29
- t && D.emit("notification", {
29
+ t && R.emit("notification", {
30
30
  action: "rendered",
31
31
  payload: {
32
32
  questionId: t.data.questionId,
@@ -34,31 +34,34 @@ const P = () => L, j = /* @__PURE__ */ N(P())({
34
34
  }
35
35
  });
36
36
  }, [t]);
37
- const e = o.getFeature(b.GAMES);
37
+ const e = o.getFeature(D.GAMES);
38
38
  return l(() => {
39
39
  r && (e == null || e.closeQuestion());
40
- }, [r, e]), !T || !e ? null : i && t && t.type === Q.QUESTION_RESOLVED && t.data.questionType === h.PREDICTION && t.data.question ? ((a = t.data.inApp) == null ? void 0 : a.adUnit) === S.STANDART ? /* @__PURE__ */ n(x, {
40
+ }, [r, e]), !T || !e ? null : n && t && t.type === g.QUESTION_RESOLVED && t.data.questionType === Q.PREDICTION && t.data.question ? ((a = t.data.inApp) == null ? void 0 : a.adUnit) === S.STANDART ? /* @__PURE__ */ i(U, {
41
+ className: "SL-CardNotificationWebOs",
41
42
  action: t.action,
42
43
  close: t.close,
43
44
  ...t.data.question,
44
45
  inApp: t.data.inApp
45
- }) : /* @__PURE__ */ n(U, {
46
+ }) : /* @__PURE__ */ i(h, {
47
+ className: "SL-CardNotificationWebOs",
46
48
  action: t.action,
47
49
  close: t.close,
48
50
  ...t.data.question
49
- }) : i && t && ((s = t.data.inApp) == null ? void 0 : s.adUnit) === S.STANDART ? /* @__PURE__ */ n(w, {
51
+ }) : n && t && ((s = t.data.inApp) == null ? void 0 : s.adUnit) === S.STANDART ? /* @__PURE__ */ i(W, {
52
+ className: "SL-CardNotificationWebOs",
50
53
  ...t.data,
51
54
  action: t.action,
52
55
  close: t.close,
53
- color: ((c = (u = (p = t == null ? void 0 : t.data) == null ? void 0 : p.inApp) == null ? void 0 : u.notification) == null ? void 0 : c.indicatorColor) || ((d = (f = (m = t == null ? void 0 : t.data) == null ? void 0 : m.inApp) == null ? void 0 : f.appearance) == null ? void 0 : d.primaryColor) || "",
56
+ color: ((u = (c = (p = t == null ? void 0 : t.data) == null ? void 0 : p.inApp) == null ? void 0 : c.notification) == null ? void 0 : u.indicatorColor) || ((f = (d = (m = t == null ? void 0 : t.data) == null ? void 0 : m.inApp) == null ? void 0 : d.appearance) == null ? void 0 : f.primaryColor) || "",
54
57
  webos: !0
55
- }) : i ? null : /* @__PURE__ */ n(j, {
58
+ }) : n ? null : /* @__PURE__ */ i(P, {
56
59
  hiding: y,
57
- onAnimationEnd: I,
58
- children: /* @__PURE__ */ n(O, {
60
+ onAnimationEnd: N,
61
+ children: /* @__PURE__ */ i(q, {
59
62
  sdk: o,
60
63
  gamification: e,
61
- className: "webos",
64
+ className: "SL-CardWebOs",
62
65
  webos: !0
63
66
  })
64
67
  });
@@ -7,6 +7,7 @@ export { StreamLayerSDKAdvertisementWebOS, StreamLayerSDKQuestionWebOS, PauseAd,
7
7
  export type StreamLayerSDKTvOptions = {
8
8
  showPauseButton?: boolean;
9
9
  pauseAdDelay?: number;
10
+ pauseAdRefetchInterval?: number;
10
11
  };
11
12
  export type StreamLayerSDKTvProps = {
12
13
  persistent?: boolean;
@@ -1,71 +1,71 @@
1
- import { jsx as d, jsxs as l, Fragment as F } from "react/jsx-runtime";
2
- import { updateAllLayouts as ee } from "@noriginmedia/norigin-spatial-navigation";
3
- import { withFocusable as oe } from "../../useTvButton.js";
4
- import { useRef as k, useState as I, useEffect as h } from "react";
5
- import { eventBus as p } from "@streamlayer/sdk-web-interfaces";
6
- import { PromotionType as i, AutoPlayVideo as te, PlayVideoMuted as de } from "@streamlayer/sdk-web-types";
7
- import { SvgIcon as T } from "../../../../ui/icons/index.js";
8
- import { PromoAction as ae } from "./PromoAction.js";
9
- import { Wrap as ne, Container as re, Header as ie, BrandBlock as le, LogoIcon as pe, BrandText as se, BrandNameContainer as ce, BrandName as ye, Sponsored as ue, CloseIcon as me, VideoBlock as he, VideoWrapper as Ae, FocusableVideo as Be, VideoStatus as O, Title as Ie, Description as be, CloseButton as Me } from "./styles.js";
10
- const Re = oe(Me, {
1
+ import { jsx as d, jsxs as r } from "react/jsx-runtime";
2
+ import { updateAllLayouts as E } from "@noriginmedia/norigin-spatial-navigation";
3
+ import { withFocusable as ee } from "../../useTvButton.js";
4
+ import { useRef as O, useState as V, useEffect as h } from "react";
5
+ import { eventBus as s } from "@streamlayer/sdk-web-interfaces";
6
+ import { PromotionType as B, AutoPlayVideo as oe, PlayVideoMuted as te } from "@streamlayer/sdk-web-types";
7
+ import { SvgIcon as j } from "../../../../ui/icons/index.js";
8
+ import { PromoAction as de } from "./PromoAction.js";
9
+ import { Wrap as ae, Container as ne, Header as re, BrandBlock as ie, LogoIcon as le, BrandText as se, BrandNameContainer as pe, BrandName as ce, Sponsored as ue, CloseIcon as me, Content as ye, VideoBlock as he, VideoWrapper as be, FocusableVideo as fe, VideoStatus as G, ContentWrap as Ve, Title as Be, Description as Me, CloseButton as Ae } from "./styles.js";
10
+ const Re = ee(Ae, {
11
11
  isFocusBoundary: !0
12
- }), Ce = (j) => {
13
- var N, _, w, P, S, g, L, C, G, D, x, U, v, W;
12
+ }), De = (H) => {
13
+ var P, C, S, N, g, v, x, D, U, W, L, k, T, _;
14
14
  const {
15
15
  promotion: e,
16
16
  open: c,
17
17
  togglePause: a,
18
- controlVideo: s,
19
- promotionId: r,
20
- onClose: b,
21
- markAsViewed: A,
22
- advertisementPaused: H,
18
+ controlVideo: p,
19
+ promotionId: i,
20
+ onClose: M,
21
+ markAsViewed: b,
22
+ advertisementPaused: $,
23
23
  isEventFired: o,
24
24
  fireEvent: t,
25
- muted: $
26
- } = j, q = k(null), B = k(null), [M, z] = I(0), K = e.type === i.INGAME_IAB11_LBAR ? M : M / 2, R = !!((_ = (N = e.banner) == null ? void 0 : N.video) != null && _.url), y = e.autoPlayVideo === te.ENABLED, V = e.playVideoMuted === de.ENABLED, Q = V && y, J = e.type === i.INGAME_IAB11_LBAR || e.type === i.INGAME_IAB11 || e.type === i.INGAME_IAB11_SIDEBAR, [f, X] = I(!0), [Y, Z] = I(void 0);
27
- let u = (w = e.banner) == null ? void 0 : w.url;
28
- return u && !u.startsWith("http") && (u = `https://${u}`), h(() => {
29
- if (!B.current) return;
30
- const n = new ResizeObserver(([m]) => {
31
- const E = m.contentRect.width;
32
- z(E);
25
+ muted: q
26
+ } = H, z = O(null), f = O(null), [A, K] = V(0), l = e.type === B.INGAME_IAB11_LBAR || e.type === B.INGAME_IAB11 || e.type === B.INGAME_IAB11_SIDEBAR, Q = l ? A + 1 : A / 2, R = !!((C = (P = e.banner) == null ? void 0 : P.video) != null && C.url), u = e.autoPlayVideo === oe.ENABLED, w = e.playVideoMuted === te.ENABLED, J = w && u, [I, X] = V(!0), [Y, Z] = V(void 0);
27
+ let m = (S = e.banner) == null ? void 0 : S.url;
28
+ return m && !m.startsWith("http") && (m = `https://${m}`), h(() => {
29
+ if (!f.current) return;
30
+ const n = new ResizeObserver(([y]) => {
31
+ const F = y.contentRect.width;
32
+ K(F);
33
33
  });
34
- return n.observe(B.current), ee(), () => {
34
+ return n.observe(f.current), E(), () => {
35
35
  n.disconnect();
36
36
  };
37
37
  }, []), h(() => {
38
- a == null || a(R || y), c == null || c();
39
- }, [R, y, c, a]), h(() => {
40
- r && e.type && A && A();
41
- }, [r, e.type, A]), h(() => () => {
42
- s == null || s({ muted: !1 });
43
- }, [s]), /* @__PURE__ */ d(ne, { children: /* @__PURE__ */ l(re, { ref: B, children: [
44
- /* @__PURE__ */ l(ie, { children: [
45
- e.logoMode === 1 && /* @__PURE__ */ l(le, { children: [
46
- /* @__PURE__ */ d(pe, { src: (P = e.sponsor) == null ? void 0 : P.logo, alt: "Logo" }),
47
- /* @__PURE__ */ l(se, { children: [
48
- /* @__PURE__ */ d(ce, { children: /* @__PURE__ */ d(ye, { children: (S = e.sponsor) == null ? void 0 : S.name }) }),
38
+ a == null || a(R || u), c == null || c();
39
+ }, [R, u, c, a]), h(() => {
40
+ i && e.type && b && b();
41
+ }, [i, e.type, b]), h(() => () => {
42
+ p == null || p({ muted: !1 });
43
+ }, [p]), /* @__PURE__ */ d(ae, { children: /* @__PURE__ */ r(ne, { ref: f, children: [
44
+ /* @__PURE__ */ r(re, { children: [
45
+ e.logoMode === 1 && /* @__PURE__ */ r(ie, { children: [
46
+ /* @__PURE__ */ d(le, { src: (N = e.sponsor) == null ? void 0 : N.logo, alt: "Logo" }),
47
+ /* @__PURE__ */ r(se, { children: [
48
+ /* @__PURE__ */ d(pe, { children: /* @__PURE__ */ d(ce, { children: (g = e.sponsor) == null ? void 0 : g.name }) }),
49
49
  /* @__PURE__ */ d(ue, { children: "SPONSORED" })
50
50
  ] })
51
51
  ] }),
52
- e.logoMode === 2 && e.type === i.INGAME_IAB11_LBAR && /* @__PURE__ */ d("img", { src: (g = e.sponsor) == null ? void 0 : g.logo, alt: "Video paused preview", style: { height: "56px" } }),
52
+ e.logoMode === 2 && l && /* @__PURE__ */ d("img", { src: (v = e.sponsor) == null ? void 0 : v.logo, alt: "Video paused preview", style: { height: "56px" } }),
53
53
  /* @__PURE__ */ d(
54
54
  Re,
55
55
  {
56
56
  autoFocus: !0,
57
57
  options: { focusKey: "close-ad-button" },
58
58
  webos: !0,
59
- onClick: b,
59
+ onClick: M,
60
60
  "data-close-btn": "true",
61
61
  children: /* @__PURE__ */ d(me, {})
62
62
  }
63
63
  )
64
64
  ] }),
65
- e.logoMode === 2 && e.type !== i.INGAME_IAB11_LBAR && /* @__PURE__ */ d(
65
+ e.logoMode === 2 && !l && /* @__PURE__ */ d(
66
66
  "img",
67
67
  {
68
- src: (L = e.sponsor) == null ? void 0 : L.logo,
68
+ src: (x = e.sponsor) == null ? void 0 : x.logo,
69
69
  alt: "Video paused preview",
70
70
  style: {
71
71
  display: "block",
@@ -75,111 +75,115 @@ const Re = oe(Me, {
75
75
  }
76
76
  }
77
77
  ),
78
- ((C = e.banner) == null ? void 0 : C.imageUrl) && /* @__PURE__ */ d(he, { style: { height: K }, children: /* @__PURE__ */ d(
79
- "img",
80
- {
81
- src: (G = e.banner) == null ? void 0 : G.imageUrl,
82
- alt: "Video paused preview",
83
- style: { width: "100%", height: "100%", objectFit: "cover" }
84
- }
85
- ) }),
86
- ((D = e.banner) == null ? void 0 : D.video) && /* @__PURE__ */ l(Ae, { children: [
87
- /* @__PURE__ */ d(
88
- Be,
78
+ /* @__PURE__ */ r(ye, { "data-format11": l, children: [
79
+ ((D = e.banner) == null ? void 0 : D.imageUrl) && /* @__PURE__ */ d(he, { style: { height: Q }, children: /* @__PURE__ */ d(
80
+ "img",
89
81
  {
90
- source: e.banner.video.url,
91
- poster: (U = (x = e.banner) == null ? void 0 : x.video) == null ? void 0 : U.thumbnailUrl,
92
- webos: !0,
93
- aspectRatio: J ? "1/1" : "2/1",
94
- ref: q,
95
- onRender: () => {
96
- o != null && o("video-rendered") || (p.emit("advertisement", {
97
- action: "videoRendered",
98
- payload: {
99
- id: r,
100
- type: e.type
101
- }
102
- }), t == null || t("video-rendered"));
103
- },
104
- onQuartile: (n) => {
105
- o != null && o(`video-quartile-${n}`) || (p.emit("advertisement", {
106
- action: "quartileCompleted",
107
- payload: {
108
- id: r,
109
- type: e.type,
110
- quartile: n
111
- }
112
- }), t == null || t(`video-quartile-${n}`));
113
- },
114
- onMute: (n) => {
115
- const m = n ? "muted" : "unmuted";
116
- o != null && o(m) || (p.emit("advertisement", {
117
- action: n ? "videoMuted" : "videoUnmuted",
118
- payload: {
119
- id: r,
120
- type: e.type
121
- }
122
- }), t == null || t(m)), Z(n);
123
- },
124
- onPause: () => {
125
- a == null || a(!0), X(!1);
126
- },
127
- onReplay: () => {
128
- o != null && o("replayed") || (p.emit("advertisement", {
129
- action: "videoReplayed",
130
- payload: {
131
- id: r,
132
- type: e.type
133
- }
134
- }), t == null || t("replayed"));
135
- },
136
- onPlay: () => {
137
- o != null && o("played") || (p.emit("advertisement", {
138
- action: "videoPlay",
139
- payload: {
140
- id: r,
141
- type: e.type
142
- }
143
- }), t == null || t("played")), a == null || a(!1), o != null && o("played") && (o != null && o("ended")) && !(o != null && o("replayed")) && (p.emit("advertisement", {
144
- action: "videoReplayed",
145
- payload: {
146
- id: r,
147
- type: e.type
148
- }
149
- }), t == null || t("replayed"));
150
- },
151
- onEnd: () => {
152
- o != null && o("ended") || (p.emit("advertisement", {
153
- action: "videoEnd",
154
- payload: {
155
- id: r,
156
- type: e.type
157
- }
158
- }), t == null || t("ended"));
159
- },
160
- muted: $,
161
- autoPlay: y,
162
- playMuted: V,
163
- controlVideo: s,
164
- hasNotPausedVideo: f
82
+ src: (U = e.banner) == null ? void 0 : U.imageUrl,
83
+ alt: "Video paused preview",
84
+ style: { width: "100%", height: "100%", objectFit: "cover" }
165
85
  }
166
- ),
167
- H && !f && /* @__PURE__ */ l(O, { children: [
168
- /* @__PURE__ */ d(T, { name: "icon-pause" }),
169
- "PAUSED"
86
+ ) }),
87
+ ((W = e.banner) == null ? void 0 : W.video) && /* @__PURE__ */ r(be, { children: [
88
+ /* @__PURE__ */ d(
89
+ fe,
90
+ {
91
+ source: e.banner.video.url,
92
+ poster: (k = (L = e.banner) == null ? void 0 : L.video) == null ? void 0 : k.thumbnailUrl,
93
+ webos: !0,
94
+ aspectRatio: l ? "1/1" : "2/1",
95
+ ref: z,
96
+ onRender: () => {
97
+ o != null && o("video-rendered") || (s.emit("advertisement", {
98
+ action: "videoRendered",
99
+ payload: {
100
+ id: i,
101
+ type: e.type
102
+ }
103
+ }), t == null || t("video-rendered"));
104
+ },
105
+ onQuartile: (n) => {
106
+ o != null && o(`video-quartile-${n}`) || (s.emit("advertisement", {
107
+ action: "quartileCompleted",
108
+ payload: {
109
+ id: i,
110
+ type: e.type,
111
+ quartile: n
112
+ }
113
+ }), t == null || t(`video-quartile-${n}`));
114
+ },
115
+ onMute: (n) => {
116
+ const y = n ? "muted" : "unmuted";
117
+ o != null && o(y) || (s.emit("advertisement", {
118
+ action: n ? "videoMuted" : "videoUnmuted",
119
+ payload: {
120
+ id: i,
121
+ type: e.type
122
+ }
123
+ }), t == null || t(y)), Z(n);
124
+ },
125
+ onPause: () => {
126
+ a == null || a(!0), X(!1);
127
+ },
128
+ onReplay: () => {
129
+ o != null && o("replayed") || (s.emit("advertisement", {
130
+ action: "videoReplayed",
131
+ payload: {
132
+ id: i,
133
+ type: e.type
134
+ }
135
+ }), t == null || t("replayed"));
136
+ },
137
+ onPlay: () => {
138
+ o != null && o("played") || (s.emit("advertisement", {
139
+ action: "videoPlay",
140
+ payload: {
141
+ id: i,
142
+ type: e.type
143
+ }
144
+ }), t == null || t("played")), a == null || a(!1), o != null && o("played") && (o != null && o("ended")) && !(o != null && o("replayed")) && (s.emit("advertisement", {
145
+ action: "videoReplayed",
146
+ payload: {
147
+ id: i,
148
+ type: e.type
149
+ }
150
+ }), t == null || t("replayed"));
151
+ },
152
+ onEnd: () => {
153
+ o != null && o("ended") || (s.emit("advertisement", {
154
+ action: "videoEnd",
155
+ payload: {
156
+ id: i,
157
+ type: e.type
158
+ }
159
+ }), t == null || t("ended"));
160
+ },
161
+ muted: q,
162
+ autoPlay: u,
163
+ playMuted: w,
164
+ controlVideo: p,
165
+ hasNotPausedVideo: I
166
+ }
167
+ ),
168
+ $ && !I && /* @__PURE__ */ r(G, { children: [
169
+ /* @__PURE__ */ d(j, { name: "icon-pause" }),
170
+ "PAUSED"
171
+ ] }),
172
+ Y && J && /* @__PURE__ */ r(G, { children: [
173
+ /* @__PURE__ */ d(j, { name: "iconMute" }),
174
+ "MUTED"
175
+ ] })
170
176
  ] }),
171
- Y && Q && /* @__PURE__ */ l(O, { children: [
172
- /* @__PURE__ */ d(T, { name: "iconMute" }),
173
- "MUTED"
177
+ /* @__PURE__ */ r(Ve, { "data-format11": l, children: [
178
+ !l && /* @__PURE__ */ r("div", { children: [
179
+ /* @__PURE__ */ d(Be, { children: (T = e.banner) == null ? void 0 : T.title }),
180
+ /* @__PURE__ */ d(Me, { children: (_ = e.banner) == null ? void 0 : _.body })
181
+ ] }),
182
+ /* @__PURE__ */ d(de, { promotion: e, onClose: M })
174
183
  ] })
175
- ] }),
176
- e.type !== i.INGAME_IAB11 && e.type !== i.INGAME_IAB11_LBAR && e.type !== i.INGAME_IAB11_SIDEBAR && /* @__PURE__ */ l(F, { children: [
177
- /* @__PURE__ */ d(Ie, { children: (v = e.banner) == null ? void 0 : v.title }),
178
- /* @__PURE__ */ d(be, { children: (W = e.banner) == null ? void 0 : W.body })
179
- ] }),
180
- /* @__PURE__ */ d(ae, { promotion: e, onClose: b })
184
+ ] })
181
185
  ] }) });
182
186
  };
183
187
  export {
184
- Ce as TVSidebar
188
+ De as TVSidebar
185
189
  };
@@ -1,6 +1,8 @@
1
1
  import { default as React } from 'react';
2
2
  export declare const Wrap: import('@linaria/react').StyledComponent<React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
3
3
  export declare const Container: import('@linaria/react').StyledComponent<React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
4
+ export declare const Content: import('@linaria/react').StyledComponent<React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
5
+ export declare const ContentWrap: import('@linaria/react').StyledComponent<React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
4
6
  export declare const Header: import('@linaria/react').StyledComponent<React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
5
7
  export declare const BrandBlock: import('@linaria/react').StyledComponent<React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
6
8
  export declare const LogoIcon: import('@linaria/react').StyledComponent<React.ClassAttributes<HTMLImageElement> & React.ImgHTMLAttributes<HTMLImageElement> & Record<never, unknown>>;