@logora/debate 0.2.3 → 0.2.5
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.
- package/dist/assets/components/argument/argument/ReplyFooter.module-x9Xlkt3Z.css +1 -0
- package/dist/assets/components/debate/debate_box/DebateBox.module-DTLafpl4.css +1 -0
- package/dist/assets/components/embed/embed_header/EmbedHeader.module-CoyRY_jw.css +1 -0
- package/dist/components/argument/argument/Argument.js +28 -27
- package/dist/components/argument/argument/ReplyFooter.js +22 -20
- package/dist/components/argument/argument/ReplyFooter.module.scss.js +10 -8
- package/dist/components/auth/use_auth/authTokenHandler.js +36 -34
- package/dist/components/debate/debate_box/DebateBox.module.scss.js +20 -20
- package/dist/components/embed/embed_header/EmbedHeader.module.scss.js +11 -11
- package/package.json +1 -1
- package/dist/assets/components/argument/argument/ReplyFooter.module-DQL2iGS0.css +0 -1
- package/dist/assets/components/debate/debate_box/DebateBox.module-ek6ldCNI.css +0 -1
- package/dist/assets/components/embed/embed_header/EmbedHeader.module-DajJz2CY.css +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
._replyFooter_1o2gi_3{font-size:var(--font-size-normal, 16px);font-weight:var(--font-weight-normal, 400);display:flex!important;align-items:center!important;justify-content:flex-start!important;cursor:pointer}._expandRepliesContainer_1o2gi_12{text-align:right;padding:0!important}._expandRepliesButton_1o2gi_17{border:none;position:relative;cursor:pointer;display:flex;align-items:center;gap:var(--spacer-sm, calc(var(--space-unit, 1em) * .5));background-color:var(--background-color-primary, white);font-size:var(--font-size-normal, 16px);font-weight:700;padding:0!important;padding-right:var(--spacer-md, calc(var(--space-unit, 1em) * .75))!important;padding-left:var(--spacer-md, calc(var(--space-unit, 1em) * .75))!important}._expandRepliesButton_1o2gi_17 ._expandRepliesButton_1o2gi_17:focus{outline:revert}._expandRepliesButton_1o2gi_17 svg{display:inline-block}._expandRepliesButton_1o2gi_17 svg path{stroke:var(--text-primary, #222222)}._expandRepliesButton_1o2gi_17._repliesExpanded_1o2gi_40 svg{transform:rotate(180deg)}._expandRepliesButton_1o2gi_17._isReply_1o2gi_43{background-color:var(--text-tertiary, #fafafa)}._replyAvatarRing_1o2gi_47{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;background:var(--call-primary-color, #434343);flex-shrink:0}._replyAvatarRingInner_1o2gi_58{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:50%;background:var(--background-color-primary, white)}._replyAvatarRing_1o2gi_47 img,._replyAvatarRing_1o2gi_47 svg{border-radius:50%;display:block}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
._debateBox_1ywvs_3{position:relative;font-size:var(--font-size-normal, 16px);border:var(--box-border, 1px solid rgba(7, 42, 68, .1));box-shadow:var(--box-shadow, 0px 2px 5px rgba(7, 42, 68, .1));border-radius:var(--box-border-radius, 6px);background-color:var(--background-color-primary, white);margin:0!important;padding:0!important}._imageLink_1ywvs_14{display:block!important}._debateBoxImage_1ywvs_18{width:100%;aspect-ratio:var(--img-aspect-ratio, 16/9);object-fit:cover;cursor:pointer;border-top-right-radius:var(--box-border-radius, 6px);border-top-left-radius:var(--box-border-radius, 6px)}._debateBoxImageBox_1ywvs_27{position:relative}._debateSuggestion_1ywvs_31,._inactiveDebate_1ywvs_31{display:flex!important;align-items:center!important;justify-content:center!important;position:absolute;gap:var(--spacer-xxs, calc(var(--space-unit, 1em) * .25));right:var(--space-unit, 1em);top:var(--space-unit, 1em);padding-right:var(--spacer-md, calc(var(--space-unit, 1em) * .75))!important;padding-left:var(--spacer-md, calc(var(--space-unit, 1em) * .75))!important;padding-top:var(--spacer-sm, calc(var(--space-unit, 1em) * .5))!important;padding-bottom:var(--spacer-sm, calc(var(--space-unit, 1em) * .5))!important;background-color:var(--call-primary-color, #434343);border-radius:var(--box-border-radius, 6px);max-width:80%;font-size:var(--font-size-small, 16px);color:var(--text-light, white)}._debateSuggestion_1ywvs_31 span,._inactiveDebate_1ywvs_31 span{color:var(--text-light, white);font-size:var(--font-size-extra-small, 14px)}._debateSuggestion_1ywvs_31 ._authorSuggestion_1ywvs_53,._inactiveDebate_1ywvs_31 ._authorSuggestion_1ywvs_53{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;max-width:93%}._debateSuggestion_1ywvs_31 ._authorName_1ywvs_59,._inactiveDebate_1ywvs_31 ._authorName_1ywvs_59{margin-left:var(--spacer-xxs, calc(var(--space-unit, 1em) * .25))!important}._debateSuggestion_1ywvs_31 svg,._inactiveDebate_1ywvs_31 svg{fill:var(--text-light, white)}._inactiveDebate_1ywvs_31{top:unset;left:var(--space-unit, 1em);bottom:var(--space-unit, 1em);right:unset;color:var(--text-light, white);padding-right:var(--spacer-md, calc(var(--space-unit, 1em) * .75))!important;padding-left:var(--spacer-md, calc(var(--space-unit, 1em) * .75))!important;padding-top:var(--spacer-sm, calc(var(--space-unit, 1em) * .5))!important;padding-bottom:var(--spacer-sm, calc(var(--space-unit, 1em) * .5))!important;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;max-width:93%;font-size:var(--font-size-normal, 16px)}._debateBoxBody_1ywvs_83{display:flex;flex-direction:column;gap:var(--box-spacing, var(--space-unit, 1em));padding:var(--box-spacing, var(--space-unit, 1em))}._subApplication_1ywvs_90>img{height:20px;margin-right:var(--spacer-sm, calc(var(--space-unit, 1em) * .5))!important}._subApplication_1ywvs_90{margin-bottom:var(--space-unit, 1em)!important;color:var(--text-secondary, #5F5F5F);font-size:var(--font-size-extra-small, 14px);display:flex;align-items:center}._debateBoxTitle_1ywvs_102{font-size:var(--font-size-medium, 18px);font-family:var(--box-title-font-family, var(--font-family, "Montserrat"))}._debateBoxTitle_1ywvs_102{font-weight:var(--font-weight-bold, 700);min-height:2.7em;line-height:var(--line-height-normal, 1.26em)}._debateBoxTitle_1ywvs_102 a{color:var(--text-primary, #222222)}._debateBoxTitle_1ywvs_102 a:hover{color:var(--text-primary, #222222);text-decoration:underline}._debateTitle_1ywvs_120{display:block;display:-webkit-box;word-wrap:break-word;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;font-size:var(--font-size-medium, 18px);line-height:var(--line-height-normal, 1.26em)}._debateTitle_1ywvs_120._debateTitleMobile_1ywvs_131{-webkit-line-clamp:3}._debateBoxFooter_1ywvs_135{font-size:var(--font-size-extra-small, 14px)!important;justify-content:space-between;min-height:40px;display:flex!important;flex-direction:row!important;align-items:center!important;padding:0!important;width:100%!important}._debateBoxFooter_1ywvs_135 svg{fill:var(--text-primary, #222222)}._debateParticipantsBox_1ywvs_150{display:flex!important;flex-direction:row!important;padding:0!important}._debateParticipantsEmpty_1ywvs_156{font-style:italic;font-size:var(--font-size-extra-small, 14px)}._debateParticipantItem_1ywvs_161{margin-right:-.5em!important;cursor:pointer;box-shadow:0 1px 4px #0000001a;border-radius:50%;z-index:1}._debateParticipantItem_1ywvs_161 a{text-decoration:none!important}._debateBoxNumbers_1ywvs_173{font-size:var(--font-size-normal, 16px);line-height:var(--line-height-none, 1em);display:flex!important;flex-direction:row!important;align-items:flex-end!important;justify-content:flex-end!important;padding:0!important;min-width:0;flex:1}._debateBoxNumbersText_1ywvs_185{margin-left:var(--space-unit, 1em)!important;display:flex!important;align-items:baseline!important;line-height:var(--line-height-loose, 1.38em);min-width:0;justify-content:flex-end!important}._debateBoxPercentage_1ywvs_194{flex-shrink:0;white-space:nowrap;margin-right:var(--spacer-xxs, calc(var(--space-unit, 1em) * .25))!important}._debateBoxPositionName_1ywvs_200{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}._participantsCountBox_1ywvs_207{min-width:40px;width:40px;height:40px;background:var(--background-color-secondary, #E8E8E8);border-radius:50%;display:flex;flex-direction:row;justify-content:center;align-items:center;color:var(--text-primary, #222222);font-size:var(--font-size-extra-small, 14px);line-height:var(--line-height-tight, 1.08em)}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
._headerBox_pi31m_3{display:flex!important;flex-direction:column!important;padding:0!important}._headerBoxLabel_pi31m_9{display:flex!important;justify-content:flex-start!important}._headerBoxLabel_pi31m_9>._titleRedirectUrl_pi31m_13{background:var(--background-color-primary, white)!important}._headerBoxLabel_pi31m_9>._titleRedirectUrl_pi31m_13:hover{background:var(--background-color-primary, white)!important}._headerBoxLabel_pi31m_9 a{text-decoration:none!important}._headerLiveStat_pi31m_24{margin-left:auto!important;margin-right:var(--spacer-sm, calc(var(--space-unit, 1em) * .5))!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;color:var(--call-primary-color, #434343);font-size:var(--font-size-small, 16px);margin-left:30px}._headerLiveStat_pi31m_24 span{margin-left:10px;margin-bottom:0!important}@media(prefers-color-scheme:dark){.logoraDarkMode ._headerLiveStat_pi31m_24{color:#fff!important}.logoraDarkMode ._headerLiveNow_pi31m_43{background-color:#fff!important}.logoraDarkMode ._headerLiveNow_pi31m_43:before{background-color:#fff!important}}._headerLiveNow_pi31m_43{min-width:8px;width:8px;height:8px;border-radius:50%;background-color:var(--call-primary-color, #434343);position:relative}._headerLiveNow_pi31m_43:before{content:"";position:absolute;width:100%;height:100%;border-radius:50%;background-color:var(--call-primary-color, #434343);opacity:.4;animation-name:_livePin_pi31m_1;animation-duration:1.6s;animation-iteration-count:infinite}@container (min-width: 576px){._headerLivePin_pi31m_72{display:block!important}}._headerLivePin_pi31m_72{display:none!important}@container (min-width: 576px){._headerLivePinMobile_pi31m_81{display:none!important}}._headerLivePinMobile_pi31m_81{display:block!important}@keyframes _livePin_pi31m_1{0%{transform:scale(2.3)}50%{transform:scale(0)}to{transform:scale(2.3)}}._headerLabelText_pi31m_100{background-color:var(--call-primary-color, #434343);color:var(--text-light, white);border-bottom:1px solid;border-color:var(--call-primary-color, #434343);border-radius:var(--box-border-radius, 6px) 0 var(--box-border-radius, 6px) 0;font-size:var(--font-size-normal, 16px);flex-wrap:nowrap;white-space:nowrap;padding-right:var(--spacer-sm, calc(var(--space-unit, 1em) * .5))!important;padding-left:var(--spacer-sm, calc(var(--space-unit, 1em) * .5))!important;padding-top:var(--spacer-sm, calc(var(--space-unit, 1em) * .5))!important;padding-bottom:var(--spacer-sm, calc(var(--space-unit, 1em) * .5))!important}._debateName_pi31m_115{color:var(--text-primary, #222222);font-weight:var(--font-weight-bold, 700);text-align:center;width:100%;display:flex!important;align-items:center!important;justify-content:center!important;padding-bottom:0!important;padding-top:var(--space-unit, 1em)!important;padding-right:var(--space-unit, 1em)!important;padding-left:var(--space-unit, 1em)!important}@container (min-width: 576px){._debateName_pi31m_115{padding-right:0!important}}@container (min-width: 576px){._debateName_pi31m_115{padding-left:0!important}}._debateName_pi31m_115 a._debateLink_pi31m_138{color:var(--text-primary, #222222)!important}._debateLink_pi31m_138{font-size:var(--font-size-large, 20px);line-height:var(--line-height-normal, 1.26em);background:var(--background-color-primary, white)!important;text-decoration:none!important;color:var(--text-primary, #222222);font-weight:var(--font-weight-bold, 700)}._debateLink_pi31m_138:hover{background:var(--background-color-primary, white)!important;text-decoration:underline!important}._left_pi31m_155{justify-content:flex-start!important;padding-right:var(--space-unit, 1em)!important;padding-left:var(--space-unit, 1em)!important;padding-top:var(--space-unit, 1em)!important;padding-bottom:0!important;text-align:left}._headerLogo_pi31m_164{width:100px!important;height:40px!important;object-fit:contain;object-position:left}._debateNameWithLogo_pi31m_171{padding-right:0!important;padding-left:0!important}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { jsx as o, jsxs as l, Fragment as
|
|
1
|
+
import { jsx as o, jsxs as l, Fragment as u } from "react/jsx-runtime";
|
|
2
2
|
import B from "classnames";
|
|
3
3
|
import { useState as f, useEffect as re, useCallback as ie, Suspense as ae, lazy as le } from "react";
|
|
4
4
|
import { useIntl as ne } from "react-intl";
|
|
@@ -8,13 +8,13 @@ import { useRichContent as ce } from "./useRichContent.js";
|
|
|
8
8
|
import { useAuth as pe } from "../../auth/use_auth/useAuth.js";
|
|
9
9
|
import { useConfig as me } from "../../data/config_provider/useConfig.js";
|
|
10
10
|
import { useTranslatedContent as $ } from "../../translation/translated_content/useTranslatedContent.js";
|
|
11
|
-
import { SourceListItem as
|
|
12
|
-
import { HashScroll as
|
|
11
|
+
import { SourceListItem as he } from "../../source/source_list_item/SourceListItem.js";
|
|
12
|
+
import { HashScroll as ue } from "../../tools/hash_scroll/HashScroll.js";
|
|
13
13
|
import { ContentHeader as fe } from "../../user_content/content_header/ContentHeader.js";
|
|
14
14
|
import { Icon as D } from "../../icons/icon/Icon.js";
|
|
15
15
|
import { ReadMore as ye } from "../../text/read_more/ReadMore.js";
|
|
16
|
-
import { TranslationButton as
|
|
17
|
-
import { ContentFooter as
|
|
16
|
+
import { TranslationButton as _e } from "../../translation/translation_button/TranslationButton.js";
|
|
17
|
+
import { ContentFooter as ge } from "../../user_content/content_footer/ContentFooter.js";
|
|
18
18
|
import { VoteButton as Me } from "../../vote/vote_button/VoteButton.js";
|
|
19
19
|
import { VotePaginatedList as be } from "../../list/paginated_list/VotePaginatedList.js";
|
|
20
20
|
import { UserContentSkeleton as ve } from "../../skeleton/user_content_skeleton/UserContentSkeleton.js";
|
|
@@ -25,12 +25,12 @@ const Ie = le(() => import("../../input/argument_input/index.js")), Se = ({
|
|
|
25
25
|
nestingLevel: y = 0,
|
|
26
26
|
groupType: I,
|
|
27
27
|
groupName: S,
|
|
28
|
-
positions:
|
|
28
|
+
positions: _ = [],
|
|
29
29
|
disableLinks: E = !1,
|
|
30
30
|
parentArgument: d,
|
|
31
31
|
flashParent: P,
|
|
32
32
|
expandable: F,
|
|
33
|
-
disabled:
|
|
33
|
+
disabled: g = !1,
|
|
34
34
|
hideFooter: R = !1,
|
|
35
35
|
hideReplies: T,
|
|
36
36
|
vote: j,
|
|
@@ -43,7 +43,7 @@ const Ie = le(() => import("../../input/argument_input/index.js")), Se = ({
|
|
|
43
43
|
replyRedirectUrl: q,
|
|
44
44
|
hideContent: J = !1
|
|
45
45
|
}) => {
|
|
46
|
-
const i = ne(), { isLoggedIn: K, currentUser: c } = pe(), N = c?.moderation_status === "banned", r = me(), [p, M] = f(!1), [Q, w] = f(!1), [W, X] = f(!1), x = ce(e), [m, b] = f(),
|
|
46
|
+
const i = ne(), { isLoggedIn: K, currentUser: c } = pe(), N = c?.moderation_status === "banned", r = me(), [p, M] = f(!1), [Q, w] = f(!1), [W, X] = f(!1), x = ce(e), [m, b] = f(), h = $(
|
|
47
47
|
e.content,
|
|
48
48
|
e.language,
|
|
49
49
|
"content",
|
|
@@ -53,7 +53,7 @@ const Ie = le(() => import("../../input/argument_input/index.js")), Se = ({
|
|
|
53
53
|
e.position?.language,
|
|
54
54
|
"name",
|
|
55
55
|
e.position?.translation_entries
|
|
56
|
-
), v = `argument_${e.id}`, C = e.position &&
|
|
56
|
+
), v = `argument_${e.id}`, C = e.position && _?.map((t) => t.id).indexOf(e.position.id) + 1;
|
|
57
57
|
re(() => {
|
|
58
58
|
n !== void 0 && se();
|
|
59
59
|
}, [n]);
|
|
@@ -70,7 +70,7 @@ const Ie = le(() => import("../../input/argument_input/index.js")), Se = ({
|
|
|
70
70
|
if (!m?.find((a) => a.id === t.id))
|
|
71
71
|
return t;
|
|
72
72
|
}, oe = ie((t, a) => /* @__PURE__ */ o(
|
|
73
|
-
|
|
73
|
+
he,
|
|
74
74
|
{
|
|
75
75
|
publisher: t.publisher,
|
|
76
76
|
url: t.source_url,
|
|
@@ -90,16 +90,16 @@ const Ie = le(() => import("../../input/argument_input/index.js")), Se = ({
|
|
|
90
90
|
{
|
|
91
91
|
...t ? { argument: t } : {},
|
|
92
92
|
nestingLevel: y + 1,
|
|
93
|
-
disabled:
|
|
93
|
+
disabled: g,
|
|
94
94
|
groupName: S,
|
|
95
95
|
groupType: I,
|
|
96
|
-
positions:
|
|
96
|
+
positions: _,
|
|
97
97
|
argumentReplies: n,
|
|
98
98
|
parentArgument: e,
|
|
99
99
|
flashParent: (a) => ee(`argument_${a}`)
|
|
100
100
|
}
|
|
101
101
|
);
|
|
102
|
-
return /* @__PURE__ */ l(
|
|
102
|
+
return /* @__PURE__ */ l(ue, { elementId: v, onScroll: () => w(!0), children: [
|
|
103
103
|
/* @__PURE__ */ l(
|
|
104
104
|
"div",
|
|
105
105
|
{
|
|
@@ -136,7 +136,7 @@ const Ie = le(() => import("../../input/argument_input/index.js")), Se = ({
|
|
|
136
136
|
}) }) : J ? /* @__PURE__ */ o("div", { className: s.argumentDeletedBody, children: i.formatMessage({
|
|
137
137
|
id: "argument.argument.content_deleted",
|
|
138
138
|
defaultMessage: "This content has been removed."
|
|
139
|
-
}) }) : /* @__PURE__ */ l(
|
|
139
|
+
}) }) : /* @__PURE__ */ l(u, { children: [
|
|
140
140
|
/* @__PURE__ */ l(
|
|
141
141
|
"div",
|
|
142
142
|
{
|
|
@@ -167,23 +167,23 @@ const Ie = le(() => import("../../input/argument_input/index.js")), Se = ({
|
|
|
167
167
|
/* @__PURE__ */ o(
|
|
168
168
|
ye,
|
|
169
169
|
{
|
|
170
|
-
content: /* @__PURE__ */ l(
|
|
170
|
+
content: /* @__PURE__ */ l(u, { children: [
|
|
171
171
|
e.is_edited && /* @__PURE__ */ o("div", { className: s.edited, children: i.formatMessage({
|
|
172
172
|
id: "argument.argument.updated",
|
|
173
173
|
defaultMessage: "Updated argument"
|
|
174
174
|
}) }),
|
|
175
|
-
x && !
|
|
175
|
+
x && !h.isTranslated ? /* @__PURE__ */ o(
|
|
176
176
|
"div",
|
|
177
177
|
{
|
|
178
178
|
className: s.argumentContent,
|
|
179
179
|
dangerouslySetInnerHTML: { __html: x }
|
|
180
180
|
}
|
|
181
|
-
) : /* @__PURE__ */ o("div", { className: s.argumentContent, children:
|
|
182
|
-
|
|
183
|
-
|
|
181
|
+
) : /* @__PURE__ */ o("div", { className: s.argumentContent, children: h.translatedContent }),
|
|
182
|
+
h.isTranslated && /* @__PURE__ */ o(
|
|
183
|
+
_e,
|
|
184
184
|
{
|
|
185
185
|
language: e.language,
|
|
186
|
-
callback: () =>
|
|
186
|
+
callback: () => h.toggleContent()
|
|
187
187
|
}
|
|
188
188
|
)
|
|
189
189
|
] }),
|
|
@@ -206,10 +206,10 @@ const Ie = le(() => import("../../input/argument_input/index.js")), Se = ({
|
|
|
206
206
|
e.sources?.length > 0 && /* @__PURE__ */ o("div", { className: s.argumentSourcesList, children: e.sources.map(oe) })
|
|
207
207
|
] }),
|
|
208
208
|
!R && !e.is_deleted && /* @__PURE__ */ o(
|
|
209
|
-
|
|
209
|
+
ge,
|
|
210
210
|
{
|
|
211
211
|
resource: e,
|
|
212
|
-
disabled:
|
|
212
|
+
disabled: g || e.status === "rejected" || !K && r?.actions?.disableInputForVisitor === !0 || N,
|
|
213
213
|
reportType: "Message",
|
|
214
214
|
softDelete: r.actions?.softDelete,
|
|
215
215
|
deleteType: "messages",
|
|
@@ -252,23 +252,24 @@ const Ie = le(() => import("../../input/argument_input/index.js")), Se = ({
|
|
|
252
252
|
numberReplies: e.number_replies,
|
|
253
253
|
repliesAuthors: e.replies_authors,
|
|
254
254
|
expandReplies: p,
|
|
255
|
-
onToggleReplies: L
|
|
255
|
+
onToggleReplies: L,
|
|
256
|
+
isReply: e.is_reply
|
|
256
257
|
}
|
|
257
258
|
)
|
|
258
259
|
]
|
|
259
260
|
}
|
|
260
261
|
),
|
|
261
|
-
!T && /* @__PURE__ */ l(
|
|
262
|
+
!T && /* @__PURE__ */ l(u, { children: [
|
|
262
263
|
W && /* @__PURE__ */ o(ae, { fallback: null, children: /* @__PURE__ */ o(
|
|
263
264
|
Ie,
|
|
264
265
|
{
|
|
265
266
|
groupId: e.group_id,
|
|
266
267
|
groupType: I,
|
|
267
268
|
groupName: S,
|
|
268
|
-
positions:
|
|
269
|
+
positions: _,
|
|
269
270
|
parentId: e.id,
|
|
270
271
|
positionId: j?.position_id,
|
|
271
|
-
disabled:
|
|
272
|
+
disabled: g,
|
|
272
273
|
hideSourceAction: r?.actions?.disableUserSources || !1,
|
|
273
274
|
onSubmit: (t) => {
|
|
274
275
|
A(), b([t]), M(!0);
|
|
@@ -301,7 +302,7 @@ const Ie = le(() => import("../../input/argument_input/index.js")), Se = ({
|
|
|
301
302
|
perPage: 5,
|
|
302
303
|
display: "column",
|
|
303
304
|
resourcePropName: "argument",
|
|
304
|
-
emptyListComponent: /* @__PURE__ */ o(
|
|
305
|
+
emptyListComponent: /* @__PURE__ */ o(u, {}),
|
|
305
306
|
transformData: (t) => te(t),
|
|
306
307
|
children: k(e)
|
|
307
308
|
}
|
|
@@ -1,49 +1,51 @@
|
|
|
1
1
|
import { jsxs as i, jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
2
|
+
import p from "classnames";
|
|
3
3
|
import "react";
|
|
4
|
-
import { FormattedMessage as
|
|
4
|
+
import { FormattedMessage as d } from "react-intl";
|
|
5
5
|
import e from "./ReplyFooter.module.scss.js";
|
|
6
|
-
import { Avatar as
|
|
7
|
-
import { Icon as
|
|
6
|
+
import { Avatar as c } from "../../user/avatar/Avatar.js";
|
|
7
|
+
import { Icon as f } from "../../icons/icon/Icon.js";
|
|
8
8
|
const N = ({
|
|
9
|
-
numberReplies:
|
|
10
|
-
repliesAuthors:
|
|
11
|
-
onToggleReplies:
|
|
12
|
-
expandReplies: a
|
|
13
|
-
|
|
14
|
-
|
|
9
|
+
numberReplies: t,
|
|
10
|
+
repliesAuthors: l = [],
|
|
11
|
+
onToggleReplies: o,
|
|
12
|
+
expandReplies: a,
|
|
13
|
+
isReply: m = !1
|
|
14
|
+
}) => t <= 0 ? null : /* @__PURE__ */ i("div", { className: e.replyFooter, onClick: o, children: [
|
|
15
|
+
l.map((s, n) => /* @__PURE__ */ r(
|
|
15
16
|
"span",
|
|
16
17
|
{
|
|
17
|
-
className:
|
|
18
|
+
className: s.role === "editor" ? e.replyAvatarRing : e.replyAvatarNormal,
|
|
18
19
|
children: /* @__PURE__ */ r(
|
|
19
|
-
|
|
20
|
+
c,
|
|
20
21
|
{
|
|
21
|
-
avatarUrl:
|
|
22
|
-
userName:
|
|
22
|
+
avatarUrl: s.image_url,
|
|
23
|
+
userName: s.full_name,
|
|
23
24
|
size: 32,
|
|
24
25
|
showTooltip: !0
|
|
25
26
|
}
|
|
26
27
|
)
|
|
27
28
|
},
|
|
28
|
-
|
|
29
|
+
n
|
|
29
30
|
)),
|
|
30
31
|
/* @__PURE__ */ r("div", { className: e.expandRepliesContainer, children: /* @__PURE__ */ i(
|
|
31
32
|
"button",
|
|
32
33
|
{
|
|
33
34
|
tabIndex: "0",
|
|
34
|
-
className:
|
|
35
|
-
[e.repliesExpanded]: a
|
|
35
|
+
className: p(e.expandRepliesButton, {
|
|
36
|
+
[e.repliesExpanded]: a,
|
|
37
|
+
[e.isReply]: m
|
|
36
38
|
}),
|
|
37
39
|
children: [
|
|
38
40
|
/* @__PURE__ */ r(
|
|
39
|
-
|
|
41
|
+
d,
|
|
40
42
|
{
|
|
41
43
|
id: a ? "alt.hide_answers" : "alt.view_answers",
|
|
42
|
-
values: { number_replies:
|
|
44
|
+
values: { number_replies: t },
|
|
43
45
|
defaultMessage: a ? "Hide answers" : "View answers"
|
|
44
46
|
}
|
|
45
47
|
),
|
|
46
|
-
/* @__PURE__ */ r(
|
|
48
|
+
/* @__PURE__ */ r(f, { name: "lightArrow", width: 10, height: 10 })
|
|
47
49
|
]
|
|
48
50
|
}
|
|
49
51
|
) })
|
|
@@ -1,15 +1,17 @@
|
|
|
1
|
-
import '../../../assets/components/argument/argument/ReplyFooter.module-
|
|
1
|
+
import '../../../assets/components/argument/argument/ReplyFooter.module-x9Xlkt3Z.css';const e = "_replyFooter_1o2gi_3", n = "_expandRepliesContainer_1o2gi_12", p = "_expandRepliesButton_1o2gi_17", o = "_repliesExpanded_1o2gi_40", t = "_isReply_1o2gi_43", i = "_replyAvatarRing_1o2gi_47", s = {
|
|
2
2
|
replyFooter: e,
|
|
3
3
|
expandRepliesContainer: n,
|
|
4
|
-
expandRepliesButton:
|
|
5
|
-
repliesExpanded:
|
|
6
|
-
|
|
4
|
+
expandRepliesButton: p,
|
|
5
|
+
repliesExpanded: o,
|
|
6
|
+
isReply: t,
|
|
7
|
+
replyAvatarRing: i
|
|
7
8
|
};
|
|
8
9
|
export {
|
|
9
|
-
|
|
10
|
-
|
|
10
|
+
s as default,
|
|
11
|
+
p as expandRepliesButton,
|
|
11
12
|
n as expandRepliesContainer,
|
|
12
|
-
|
|
13
|
-
|
|
13
|
+
t as isReply,
|
|
14
|
+
o as repliesExpanded,
|
|
15
|
+
i as replyAvatarRing,
|
|
14
16
|
e as replyFooter
|
|
15
17
|
};
|
|
@@ -1,47 +1,49 @@
|
|
|
1
|
-
import { makeStorage as
|
|
2
|
-
const
|
|
3
|
-
const c = f
|
|
1
|
+
import { makeStorage as u } from "./AuthStorage.js";
|
|
2
|
+
const m = (a, k, f) => {
|
|
3
|
+
const c = u(f), i = () => c.getToken(), d = () => {
|
|
4
4
|
c.removeToken();
|
|
5
|
-
}, _ = (
|
|
6
|
-
const
|
|
7
|
-
...
|
|
8
|
-
expires_at:
|
|
9
|
-
session_id:
|
|
5
|
+
}, _ = (e, s) => {
|
|
6
|
+
const t = {
|
|
7
|
+
...e,
|
|
8
|
+
expires_at: e.created_at + e.expires_in,
|
|
9
|
+
session_id: s
|
|
10
10
|
};
|
|
11
|
-
c.setToken(
|
|
11
|
+
c.setToken(t);
|
|
12
|
+
}, T = (e) => {
|
|
13
|
+
const s = e.session_id;
|
|
14
|
+
return new Promise((t, r) => a.post(k, e).then((n) => {
|
|
15
|
+
if (n.data.access_token) {
|
|
16
|
+
const h = n.data;
|
|
17
|
+
_(h, s), t(n);
|
|
18
|
+
} else
|
|
19
|
+
r(n);
|
|
20
|
+
}).catch((n) => {
|
|
21
|
+
r(n);
|
|
22
|
+
}));
|
|
12
23
|
};
|
|
24
|
+
let o = null;
|
|
13
25
|
return {
|
|
14
26
|
getToken: i,
|
|
15
|
-
removeToken:
|
|
16
|
-
fetchToken:
|
|
17
|
-
const n = t.session_id;
|
|
18
|
-
return new Promise((o, s) => a.post(k, t).then((e) => {
|
|
19
|
-
if (e.data.access_token) {
|
|
20
|
-
const r = e.data;
|
|
21
|
-
_(r, n), o(e);
|
|
22
|
-
} else
|
|
23
|
-
s(e);
|
|
24
|
-
}).catch((e) => {
|
|
25
|
-
s(e);
|
|
26
|
-
}));
|
|
27
|
-
},
|
|
27
|
+
removeToken: d,
|
|
28
|
+
fetchToken: T,
|
|
28
29
|
refreshToken: () => {
|
|
29
|
-
|
|
30
|
+
if (o) return o;
|
|
31
|
+
const e = i(), s = {
|
|
30
32
|
grant_type: "refresh_token",
|
|
31
|
-
refresh_token:
|
|
33
|
+
refresh_token: e.refresh_token
|
|
32
34
|
};
|
|
33
|
-
return
|
|
34
|
-
if (
|
|
35
|
-
const r =
|
|
36
|
-
_(r,
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
}).
|
|
40
|
-
|
|
41
|
-
})
|
|
35
|
+
return o = a.post(k, s).then((t) => {
|
|
36
|
+
if (t.data.access_token) {
|
|
37
|
+
const r = t.data;
|
|
38
|
+
return _(r, e.session_id), r.access_token;
|
|
39
|
+
}
|
|
40
|
+
return Promise.reject(t);
|
|
41
|
+
}).finally(() => {
|
|
42
|
+
o = null;
|
|
43
|
+
}), o;
|
|
42
44
|
}
|
|
43
45
|
};
|
|
44
46
|
};
|
|
45
47
|
export {
|
|
46
|
-
|
|
48
|
+
m as authTokenHandler
|
|
47
49
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import '../../../assets/components/debate/debate_box/DebateBox.module-
|
|
1
|
+
import '../../../assets/components/debate/debate_box/DebateBox.module-DTLafpl4.css';const e = "_debateBox_1ywvs_3", t = "_imageLink_1ywvs_14", a = "_debateBoxImage_1ywvs_18", o = "_debateBoxImageBox_1ywvs_27", s = "_debateSuggestion_1ywvs_31", i = "_inactiveDebate_1ywvs_31", _ = "_authorSuggestion_1ywvs_53", b = "_authorName_1ywvs_59", n = "_debateBoxBody_1ywvs_83", d = "_subApplication_1ywvs_90", c = "_debateBoxTitle_1ywvs_102", x = "_debateTitle_1ywvs_120", B = "_debateTitleMobile_1ywvs_131", r = "_debateBoxFooter_1ywvs_135", y = "_debateParticipantsBox_1ywvs_150", m = "_debateParticipantsEmpty_1ywvs_156", p = "_debateParticipantItem_1ywvs_161", u = "_debateBoxNumbers_1ywvs_173", v = "_debateBoxNumbersText_1ywvs_185", g = "_debateBoxPercentage_1ywvs_194", w = "_debateBoxPositionName_1ywvs_200", l = "_participantsCountBox_1ywvs_207", P = {
|
|
2
2
|
debateBox: e,
|
|
3
3
|
imageLink: t,
|
|
4
4
|
debateBoxImage: a,
|
|
5
5
|
debateBoxImageBox: o,
|
|
6
|
-
debateSuggestion:
|
|
7
|
-
inactiveDebate:
|
|
8
|
-
authorSuggestion:
|
|
9
|
-
authorName:
|
|
10
|
-
debateBoxBody:
|
|
6
|
+
debateSuggestion: s,
|
|
7
|
+
inactiveDebate: i,
|
|
8
|
+
authorSuggestion: _,
|
|
9
|
+
authorName: b,
|
|
10
|
+
debateBoxBody: n,
|
|
11
11
|
subApplication: d,
|
|
12
12
|
debateBoxTitle: c,
|
|
13
13
|
debateTitle: x,
|
|
@@ -17,33 +17,33 @@ import '../../../assets/components/debate/debate_box/DebateBox.module-ek6ldCNI.c
|
|
|
17
17
|
debateParticipantsEmpty: m,
|
|
18
18
|
debateParticipantItem: p,
|
|
19
19
|
debateBoxNumbers: u,
|
|
20
|
-
debateBoxNumbersText:
|
|
21
|
-
debateBoxPercentage:
|
|
22
|
-
debateBoxPositionName:
|
|
23
|
-
participantsCountBox:
|
|
20
|
+
debateBoxNumbersText: v,
|
|
21
|
+
debateBoxPercentage: g,
|
|
22
|
+
debateBoxPositionName: w,
|
|
23
|
+
participantsCountBox: l
|
|
24
24
|
};
|
|
25
25
|
export {
|
|
26
|
-
|
|
27
|
-
|
|
26
|
+
b as authorName,
|
|
27
|
+
_ as authorSuggestion,
|
|
28
28
|
e as debateBox,
|
|
29
|
-
|
|
29
|
+
n as debateBoxBody,
|
|
30
30
|
r as debateBoxFooter,
|
|
31
31
|
a as debateBoxImage,
|
|
32
32
|
o as debateBoxImageBox,
|
|
33
33
|
u as debateBoxNumbers,
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
34
|
+
v as debateBoxNumbersText,
|
|
35
|
+
g as debateBoxPercentage,
|
|
36
|
+
w as debateBoxPositionName,
|
|
37
37
|
c as debateBoxTitle,
|
|
38
38
|
p as debateParticipantItem,
|
|
39
39
|
y as debateParticipantsBox,
|
|
40
40
|
m as debateParticipantsEmpty,
|
|
41
|
-
|
|
41
|
+
s as debateSuggestion,
|
|
42
42
|
x as debateTitle,
|
|
43
43
|
B as debateTitleMobile,
|
|
44
|
-
|
|
44
|
+
P as default,
|
|
45
45
|
t as imageLink,
|
|
46
|
-
|
|
47
|
-
|
|
46
|
+
i as inactiveDebate,
|
|
47
|
+
l as participantsCountBox,
|
|
48
48
|
d as subApplication
|
|
49
49
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import '../../../assets/components/embed/embed_header/EmbedHeader.module-
|
|
1
|
+
import '../../../assets/components/embed/embed_header/EmbedHeader.module-CoyRY_jw.css';const e = "_headerBox_pi31m_3", a = "_headerBoxLabel_pi31m_9", t = "_headerLiveStat_pi31m_24", i = "_headerLiveNow_pi31m_43", o = "_headerLivePin_pi31m_72", _ = "_headerLivePinMobile_pi31m_81", d = "_headerLabelText_pi31m_100", h = "_debateName_pi31m_115", L = "_debateLink_pi31m_138", r = "_left_pi31m_155", n = "_headerLogo_pi31m_164", b = "_debateNameWithLogo_pi31m_171", m = {
|
|
2
2
|
headerBox: e,
|
|
3
3
|
headerBoxLabel: a,
|
|
4
|
-
headerLiveStat:
|
|
5
|
-
headerLiveNow:
|
|
6
|
-
headerLivePin:
|
|
7
|
-
headerLivePinMobile:
|
|
8
|
-
headerLabelText:
|
|
4
|
+
headerLiveStat: t,
|
|
5
|
+
headerLiveNow: i,
|
|
6
|
+
headerLivePin: o,
|
|
7
|
+
headerLivePinMobile: _,
|
|
8
|
+
headerLabelText: d,
|
|
9
9
|
debateName: h,
|
|
10
10
|
debateLink: L,
|
|
11
11
|
left: r,
|
|
@@ -19,11 +19,11 @@ export {
|
|
|
19
19
|
m as default,
|
|
20
20
|
e as headerBox,
|
|
21
21
|
a as headerBoxLabel,
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
22
|
+
d as headerLabelText,
|
|
23
|
+
i as headerLiveNow,
|
|
24
|
+
o as headerLivePin,
|
|
25
|
+
_ as headerLivePinMobile,
|
|
26
|
+
t as headerLiveStat,
|
|
27
27
|
n as headerLogo,
|
|
28
28
|
r as left
|
|
29
29
|
};
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
._replyFooter_1ar6l_3{font-size:var(--font-size-normal, 16px);font-weight:var(--font-weight-normal, 400);display:flex!important;align-items:center!important;justify-content:flex-start!important;cursor:pointer}._expandRepliesContainer_1ar6l_12{text-align:right;padding:0!important}._expandRepliesButton_1ar6l_17{border:none;position:relative;cursor:pointer;display:flex;align-items:center;gap:var(--spacer-sm, calc(var(--space-unit, 1em) * .5));background-color:var(--background-color-primary, white);font-size:var(--font-size-normal, 16px);font-weight:700;padding:0!important;padding-right:var(--spacer-md, calc(var(--space-unit, 1em) * .75))!important;padding-left:var(--spacer-md, calc(var(--space-unit, 1em) * .75))!important}._expandRepliesButton_1ar6l_17 ._expandRepliesButton_1ar6l_17:focus{outline:revert}._expandRepliesButton_1ar6l_17 svg{display:inline-block}._expandRepliesButton_1ar6l_17 svg path{stroke:var(--text-primary, #222222)}._expandRepliesButton_1ar6l_17._repliesExpanded_1ar6l_40 svg{transform:rotate(180deg)}._replyAvatarRing_1ar6l_44{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;background:var(--call-primary-color, #434343);flex-shrink:0}._replyAvatarRingInner_1ar6l_55{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:50%;background:var(--background-color-primary, white)}._replyAvatarRing_1ar6l_44 img,._replyAvatarRing_1ar6l_44 svg{border-radius:50%;display:block}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
._debateBox_178yw_3{position:relative;font-size:var(--font-size-normal, 16px);border:var(--box-border, 1px solid rgba(7, 42, 68, .1));box-shadow:var(--box-shadow, 0px 2px 5px rgba(7, 42, 68, .1));border-radius:var(--box-border-radius, 6px);background-color:var(--background-color-primary, white);margin:0!important;padding:0!important}._imageLink_178yw_14{display:block!important}._debateBoxImage_178yw_18{width:100%;aspect-ratio:var(--img-aspect-ratio, 16/9);object-fit:cover;cursor:pointer;border-top-right-radius:var(--box-border-radius, 6px);border-top-left-radius:var(--box-border-radius, 6px)}._debateBoxImageBox_178yw_27{position:relative}._debateSuggestion_178yw_31,._inactiveDebate_178yw_31{display:flex!important;align-items:center!important;justify-content:center!important;position:absolute;gap:var(--spacer-xxs, calc(var(--space-unit, 1em) * .25));right:var(--space-unit, 1em);top:var(--space-unit, 1em);padding-right:var(--spacer-md, calc(var(--space-unit, 1em) * .75))!important;padding-left:var(--spacer-md, calc(var(--space-unit, 1em) * .75))!important;padding-top:var(--spacer-sm, calc(var(--space-unit, 1em) * .5))!important;padding-bottom:var(--spacer-sm, calc(var(--space-unit, 1em) * .5))!important;background-color:var(--call-primary-color, #434343);border-radius:var(--box-border-radius, 6px);max-width:80%;font-size:var(--font-size-small, 16px)}._debateSuggestion_178yw_31 span,._inactiveDebate_178yw_31 span{color:var(--text-light, white);font-size:var(--font-size-extra-small, 14px)}._debateSuggestion_178yw_31 ._authorSuggestion_178yw_52,._inactiveDebate_178yw_31 ._authorSuggestion_178yw_52{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;max-width:93%}._debateSuggestion_178yw_31 ._authorName_178yw_58,._inactiveDebate_178yw_31 ._authorName_178yw_58{margin-left:var(--spacer-xxs, calc(var(--space-unit, 1em) * .25))!important}._debateSuggestion_178yw_31 svg,._inactiveDebate_178yw_31 svg{fill:var(--text-light, white)}._inactiveDebate_178yw_31{top:unset;left:var(--space-unit, 1em);bottom:var(--space-unit, 1em);right:unset;color:var(--text-light, white);padding-right:var(--spacer-md, calc(var(--space-unit, 1em) * .75))!important;padding-left:var(--spacer-md, calc(var(--space-unit, 1em) * .75))!important;padding-top:var(--spacer-sm, calc(var(--space-unit, 1em) * .5))!important;padding-bottom:var(--spacer-sm, calc(var(--space-unit, 1em) * .5))!important;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;max-width:93%;font-size:var(--font-size-normal, 16px)}._debateBoxBody_178yw_82{display:flex;flex-direction:column;gap:var(--box-spacing, var(--space-unit, 1em));padding:var(--box-spacing, var(--space-unit, 1em))}._subApplication_178yw_89>img{height:20px;margin-right:var(--spacer-sm, calc(var(--space-unit, 1em) * .5))!important}._subApplication_178yw_89{margin-bottom:var(--space-unit, 1em)!important;color:var(--text-secondary, #5F5F5F);font-size:var(--font-size-extra-small, 14px);display:flex;align-items:center}._debateBoxTitle_178yw_101{font-size:var(--font-size-medium, 18px);font-family:var(--box-title-font-family, var(--font-family, "Montserrat"))}._debateBoxTitle_178yw_101{font-weight:var(--font-weight-bold, 700);min-height:2.7em;line-height:var(--line-height-normal, 1.26em)}._debateBoxTitle_178yw_101 a{color:var(--text-primary, #222222)}._debateBoxTitle_178yw_101 a:hover{color:var(--text-primary, #222222);text-decoration:underline}._debateTitle_178yw_119{display:block;display:-webkit-box;word-wrap:break-word;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;font-size:var(--font-size-medium, 18px);line-height:var(--line-height-normal, 1.26em)}._debateTitle_178yw_119._debateTitleMobile_178yw_130{-webkit-line-clamp:3}._debateBoxFooter_178yw_134{font-size:var(--font-size-extra-small, 14px)!important;justify-content:space-between;min-height:40px;display:flex!important;flex-direction:row!important;align-items:center!important;padding:0!important;width:100%!important}._debateBoxFooter_178yw_134 svg{fill:var(--text-primary, #222222)}._debateParticipantsBox_178yw_149{display:flex!important;flex-direction:row!important;padding:0!important}._debateParticipantsEmpty_178yw_155{font-style:italic;font-size:var(--font-size-extra-small, 14px)}._debateParticipantItem_178yw_160{margin-right:-.5em!important;cursor:pointer;box-shadow:0 1px 4px #0000001a;border-radius:50%;z-index:1}._debateBoxNumbers_178yw_168{font-size:var(--font-size-normal, 16px);line-height:var(--line-height-none, 1em);display:flex!important;flex-direction:row!important;align-items:flex-end!important;justify-content:flex-end!important;padding:0!important;min-width:0;flex:1}._debateBoxNumbersText_178yw_180{margin-left:var(--space-unit, 1em)!important;display:flex!important;align-items:baseline!important;line-height:var(--line-height-loose, 1.38em);min-width:0;justify-content:flex-end!important}._debateBoxPercentage_178yw_189{flex-shrink:0;white-space:nowrap;margin-right:var(--spacer-xxs, calc(var(--space-unit, 1em) * .25))!important}._debateBoxPositionName_178yw_195{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}._participantsCountBox_178yw_202{min-width:40px;width:40px;height:40px;background:var(--background-color-secondary, #E8E8E8);border-radius:50%;display:flex;flex-direction:row;justify-content:center;align-items:center;color:var(--text-primary, #222222);font-size:var(--font-size-extra-small, 14px);line-height:var(--line-height-tight, 1.08em)}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
._headerBox_1mdik_3{display:flex!important;flex-direction:column!important;padding:0!important}._headerBoxLabel_1mdik_9{display:flex!important;justify-content:flex-start!important}._headerBoxLabel_1mdik_9>._titleRedirectUrl_1mdik_13{background:var(--background-color-primary, white)!important}._headerBoxLabel_1mdik_9>._titleRedirectUrl_1mdik_13:hover{background:var(--background-color-primary, white)!important}._headerLiveStat_1mdik_20{margin-left:auto!important;margin-right:var(--spacer-sm, calc(var(--space-unit, 1em) * .5))!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;color:var(--call-primary-color, #434343);font-size:var(--font-size-small, 16px);margin-left:30px}._headerLiveStat_1mdik_20 span{margin-left:10px;margin-bottom:0!important}@media(prefers-color-scheme:dark){.logoraDarkMode ._headerLiveStat_1mdik_20{color:#fff!important}.logoraDarkMode ._headerLiveNow_1mdik_39{background-color:#fff!important}.logoraDarkMode ._headerLiveNow_1mdik_39:before{background-color:#fff!important}}._headerLiveNow_1mdik_39{min-width:8px;width:8px;height:8px;border-radius:50%;background-color:var(--call-primary-color, #434343);position:relative}._headerLiveNow_1mdik_39:before{content:"";position:absolute;width:100%;height:100%;border-radius:50%;background-color:var(--call-primary-color, #434343);opacity:.4;animation-name:_livePin_1mdik_1;animation-duration:1.6s;animation-iteration-count:infinite}@container (min-width: 576px){._headerLivePin_1mdik_68{display:block!important}}._headerLivePin_1mdik_68{display:none!important}@container (min-width: 576px){._headerLivePinMobile_1mdik_77{display:none!important}}._headerLivePinMobile_1mdik_77{display:block!important}@keyframes _livePin_1mdik_1{0%{transform:scale(2.3)}50%{transform:scale(0)}to{transform:scale(2.3)}}._headerLabelText_1mdik_96{background-color:var(--call-primary-color, #434343);color:var(--text-light, white);border-bottom:1px solid;border-color:var(--call-primary-color, #434343);border-radius:var(--box-border-radius, 6px) 0 var(--box-border-radius, 6px) 0;font-size:var(--font-size-normal, 16px);flex-wrap:nowrap;white-space:nowrap;padding-right:var(--spacer-sm, calc(var(--space-unit, 1em) * .5))!important;padding-left:var(--spacer-sm, calc(var(--space-unit, 1em) * .5))!important;padding-top:var(--spacer-sm, calc(var(--space-unit, 1em) * .5))!important;padding-bottom:var(--spacer-sm, calc(var(--space-unit, 1em) * .5))!important}._debateName_1mdik_111{color:var(--text-primary, #222222);font-weight:var(--font-weight-bold, 700);text-align:center;width:100%;display:flex!important;align-items:center!important;justify-content:center!important;padding-bottom:0!important;padding-top:var(--space-unit, 1em)!important;padding-right:var(--space-unit, 1em)!important;padding-left:var(--space-unit, 1em)!important}@container (min-width: 576px){._debateName_1mdik_111{padding-right:0!important}}@container (min-width: 576px){._debateName_1mdik_111{padding-left:0!important}}._debateName_1mdik_111 a._debateLink_1mdik_134{color:var(--text-primary, #222222)!important}._debateLink_1mdik_134{font-size:var(--font-size-large, 20px);line-height:var(--line-height-normal, 1.26em);background:var(--background-color-primary, white)!important;text-decoration:none!important;color:var(--text-primary, #222222);font-weight:var(--font-weight-bold, 700)}._debateLink_1mdik_134:hover{background:var(--background-color-primary, white)!important;text-decoration:underline!important}._left_1mdik_151{justify-content:flex-start!important;padding-right:var(--space-unit, 1em)!important;padding-left:var(--space-unit, 1em)!important;padding-top:var(--space-unit, 1em)!important;padding-bottom:0!important;text-align:left}._headerLogo_1mdik_160{width:100px!important;height:40px!important;object-fit:contain;object-position:left}._debateNameWithLogo_1mdik_167{padding-right:0!important;padding-left:0!important}
|