@logora/debate 0.3.68 → 0.3.71

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 (44) hide show
  1. package/dist/assets/components/argument/argument/Argument.module-gLfNRLks.css +1 -0
  2. package/dist/assets/components/consultation/consultation_box/ConsultationBox.module-BnTr5IaF.css +1 -0
  3. package/dist/assets/components/input/text_editor/{TextEditor.module-CxuSL3l3.css → TextEditor.module-DePSfOvG.css} +1 -1
  4. package/dist/assets/components/section/section_box/SectionBox.module-DUeUtdWr.css +1 -0
  5. package/dist/assets/components/source/context_source_list/ContextSourceList.module-D6X_0dB7.css +1 -0
  6. package/dist/assets/components/source/source_list_item/SourceListItem.module-mTxHhXPV.css +1 -0
  7. package/dist/assets/components/summary/summary/Summary.module-DjfmUlkW.css +1 -0
  8. package/dist/assets/components/summary/summary_box/SummaryBox.module-DQVkA8l7.css +1 -0
  9. package/dist/assets/components/vote/vote_box/VoteBox.module-CDrqb2SZ.css +1 -0
  10. package/dist/components/argument/argument/Argument.js +108 -112
  11. package/dist/components/argument/argument/Argument.module.scss.js +31 -31
  12. package/dist/components/consultation/consultation_box/ConsultationBox.js +111 -80
  13. package/dist/components/consultation/consultation_box/ConsultationBox.module.scss.js +21 -23
  14. package/dist/components/icons/spiegel_icons/index.js +46 -46
  15. package/dist/components/icons/stern_icons/index.js +70 -100
  16. package/dist/components/input/argument_input/ArgumentInput.js +142 -142
  17. package/dist/components/input/text_editor/TextEditor.js +124 -135
  18. package/dist/components/input/text_editor/TextEditor.module.scss.js +5 -5
  19. package/dist/components/input/text_editor/plugins/SetContentPlugin.js +13 -13
  20. package/dist/components/input/text_editor/plugins/SetRichContentPlugin.js +10 -10
  21. package/dist/components/list/paginated_list/PaginatedList.js +110 -112
  22. package/dist/components/proposal/proposal_box/ProposalBox.js +10 -8
  23. package/dist/components/section/section_box/SectionBox.js +10 -10
  24. package/dist/components/section/section_box/SectionBox.module.scss.js +9 -9
  25. package/dist/components/source/context_source_list/ContextSourceList.js +7 -8
  26. package/dist/components/source/context_source_list/ContextSourceList.module.scss.js +12 -14
  27. package/dist/components/source/source_list_item/SourceListItem.js +28 -42
  28. package/dist/components/source/source_list_item/SourceListItem.module.scss.js +6 -8
  29. package/dist/components/summary/summary/Summary.js +63 -41
  30. package/dist/components/summary/summary/Summary.module.scss.js +6 -10
  31. package/dist/components/summary/summary_box/SummaryBox.module.scss.js +9 -9
  32. package/dist/components/vote/vote_box/VoteBox.js +145 -123
  33. package/dist/components/vote/vote_box/VoteBox.module.scss.js +50 -50
  34. package/package.json +1 -1
  35. package/dist/assets/components/argument/argument/Argument.module-QZdPjj_i.css +0 -1
  36. package/dist/assets/components/consultation/consultation_box/ConsultationBox.module-D2an6OmR.css +0 -1
  37. package/dist/assets/components/section/section_box/SectionBox.module-qQs4B6bf.css +0 -1
  38. package/dist/assets/components/source/context_source_list/ContextSourceList.module-DUPbI-wb.css +0 -1
  39. package/dist/assets/components/source/source_list_item/SourceListItem.module-fm_uHuY4.css +0 -1
  40. package/dist/assets/components/summary/summary/Summary.module-2bnx3egy.css +0 -1
  41. package/dist/assets/components/summary/summary_box/SummaryBox.module-Dr9PevSJ.css +0 -1
  42. package/dist/assets/components/vote/vote_box/VoteBox.module-C9Q6gBw3.css +0 -1
  43. package/dist/components/icons/spiegel_icons/Downvote.js +0 -6
  44. package/dist/components/icons/spiegel_icons/Upvote.js +0 -6
@@ -1,41 +1,43 @@
1
- import { jsx as s, Fragment as pe, jsxs as l } from "react/jsx-runtime";
2
- import Z from "@rooks/use-sessionstorage-state";
1
+ import { jsx as s, Fragment as be, jsxs as l } from "react/jsx-runtime";
2
+ import P from "@rooks/use-sessionstorage-state";
3
3
  import d from "classnames";
4
- import { useState as b, useEffect as L } from "react";
5
- import { useIntl as _e, FormattedMessage as m } from "react-intl";
6
- import { useLocation as be } from "react-router";
4
+ import { useState as N, useEffect as L } from "react";
5
+ import { useIntl as Ne, FormattedMessage as m } from "react-intl";
6
+ import { useLocation as Se } from "react-router";
7
7
  import o from "./VoteBox.module.scss.js";
8
8
  import { useTranslatedContent as k } from "../../translation/translated_content/useTranslatedContent.js";
9
- import { useToast as Ne } from "../../dialog/toast_provider/useToast.js";
10
- import { useAuthRequired as Se } from "../../hooks/use_auth_required/useAuthRequired.js";
11
- import { useDataProvider as we } from "../../data/data_provider/useDataProvider.js";
12
- import { useConfig as Ce } from "../../data/config_provider/useConfig.js";
13
- import { useAuth as Be } from "../../auth/use_auth/useAuth.js";
9
+ import { useToast as we } from "../../dialog/toast_provider/useToast.js";
10
+ import { useResponsive as Ce } from "../../hooks/use_responsive/useResponsive.js";
11
+ import { useAuthRequired as xe } from "../../hooks/use_auth_required/useAuthRequired.js";
12
+ import { useDataProvider as Be } from "../../data/data_provider/useDataProvider.js";
13
+ import { useConfig as Me } from "../../data/config_provider/useConfig.js";
14
+ import { useAuth as Ve } from "../../auth/use_auth/useAuth.js";
14
15
  import { Icon as T } from "../../icons/icon/Icon.js";
15
- import { ProgressBar as xe } from "../../progress/progress_bar/ProgressBar.js";
16
- import { Link as Ve } from "../../action/link/Link.js";
17
- import { Button as Me } from "../../action/button/Button.js";
18
- const We = ({
19
- numberVotes: N,
16
+ import { ProgressBar as Re } from "../../progress/progress_bar/ProgressBar.js";
17
+ import { Tooltip as ee } from "../../dialog/tooltip/Tooltip.js";
18
+ import { Link as Ae } from "../../action/link/Link.js";
19
+ import { Button as ye } from "../../action/button/Button.js";
20
+ const Xe = ({
21
+ numberVotes: S,
20
22
  votePositions: r,
21
- voteableType: v,
22
- voteableId: h,
23
- redirectUrl: S,
23
+ voteableType: h,
24
+ voteableId: g,
25
+ redirectUrl: w,
24
26
  displayColumn: j,
25
- textAlignLeft: P,
26
- showTotal: ee = !0,
27
+ textAlignLeft: te,
28
+ showTotal: oe = !0,
27
29
  voteBoxClassName: F,
28
30
  buttonContainerClassName: O,
29
31
  buttonClassName: E,
30
32
  showResultClassName: I,
31
- onVote: w,
32
- disabled: M = !1,
33
- showVotesCommentsNumber: te = !1,
34
- commentsCount: oe,
33
+ onVote: C,
34
+ disabled: V = !1,
35
+ showVotesCommentsNumber: se = !1,
36
+ commentsCount: ae,
35
37
  hideShowResultButton: U = !1
36
38
  }) => {
37
- const [H, g] = b(!0), [c, A] = b(void 0), [p, f] = b(!1), [u, se] = b(
38
- Number.parseFloat(N.total) || Object.values(N).reduce(
39
+ const [H, p] = N(!0), [c, R] = N(void 0), [_, f] = N(!1), [u, ne] = N(
40
+ Number.parseFloat(S.total) || Object.values(S).reduce(
39
41
  (e, t) => e + Number.parseFloat(t),
40
42
  0
41
43
  ) || 0
@@ -54,125 +56,125 @@ const We = ({
54
56
  r[2]?.language,
55
57
  "name",
56
58
  r[2]?.translation_entries
57
- ), [_, ae, D] = Z(
59
+ ), [b, re, D] = P(
58
60
  "storedUserVote",
59
61
  {}
60
- ), [Ae, ne, re] = Z("userSide", {}), { toast: G } = Ne() || {}, ie = () => {
62
+ ), [Le, ie, ce] = P("userSide", {}), { toast: G } = we() || {}, { isMobile: W } = Ce(), le = () => {
61
63
  const e = {};
62
64
  return r?.forEach(
63
65
  (t) => e[t.id] = {
64
- count: Number.parseFloat(N[t.id]) || 0,
66
+ count: Number.parseFloat(S[t.id]) || 0,
65
67
  percentage: u === 0 ? 0 : Math.round(
66
- 100 * ((N[t.id] || 0) / u)
68
+ 100 * ((S[t.id] || 0) / u)
67
69
  )
68
70
  }
69
71
  ), e;
70
- }, [i, W] = b(ie()), z = Se(), ce = be(), R = we(), le = Ce(), C = _e(), { isLoggedIn: B, isLoggingIn: J } = Be();
72
+ }, [i, z] = N(le()), J = xe(), de = Se(), A = Be(), ue = Me(), v = Ne(), { isLoggedIn: x, isLoggingIn: K } = Ve();
71
73
  L(() => {
72
- J === !1 && (B ? ue(h) : g(!1));
73
- }, [J, B]), L(() => {
74
- if (H === !1 && !S) {
75
- const [e, t] = de();
76
- e && (t ? Q(t) : f(!0));
74
+ K === !1 && (x ? fe(g) : p(!1));
75
+ }, [K, x]), L(() => {
76
+ if (H === !1 && !w) {
77
+ const [e, t] = me();
78
+ e && (t ? X(t) : f(!0));
77
79
  }
78
80
  }, [H]), L(() => {
79
- w && w(c);
81
+ C && C(c);
80
82
  }, [c]);
81
- const de = () => {
82
- if (_ && Object.keys(_).length !== 0)
83
- return _.groupId === h && _.voteableType === v ? [!0, _.positionId] : (D(), [!1, !1]);
83
+ const me = () => {
84
+ if (b && Object.keys(b).length !== 0)
85
+ return b.groupId === g && b.voteableType === h ? [!0, b.positionId] : (D(), [!1, !1]);
84
86
  const e = new URLSearchParams(
85
- typeof window < "u" ? window.location.search : ce.search
87
+ typeof window < "u" ? window.location.search : de.search
86
88
  ), t = !!e.get("initVote"), a = Number.parseInt(e.get("positionId")) || !1;
87
89
  return [t, a];
88
- }, ue = (e) => {
89
- g(!0), w && w(c), R.getOneWithToken("votes", `${v.toLowerCase()}/${e}`, {}).then((t) => {
90
- t.data.data.resource ? (A(t.data.data.resource), f(!0), g(!1)) : (g(!1), f(!1));
90
+ }, fe = (e) => {
91
+ p(!0), C && C(c), A.getOneWithToken("votes", `${h.toLowerCase()}/${e}`, {}).then((t) => {
92
+ t.data.data.resource ? (R(t.data.data.resource), f(!0), p(!1)) : (p(!1), f(!1));
91
93
  }).catch((t) => {
92
- g(!1);
94
+ p(!1);
93
95
  });
94
- }, x = (e, t) => t === 0 ? 0 : Math.round(100 * (e / t)), me = (e) => {
96
+ }, B = (e, t) => t === 0 ? 0 : Math.round(100 * (e / t)), ve = (e) => {
95
97
  const t = {
96
- voteable_id: h,
97
- voteable_type: v || "Group",
98
+ voteable_id: g,
99
+ voteable_type: h || "Group",
98
100
  position_id: e
99
101
  };
100
- ne({
101
- groupId: h,
102
- voteableType: v,
102
+ ie({
103
+ groupId: g,
104
+ voteableType: h,
103
105
  positionId: e
104
- }), c ? (ve(e, c.position_id), p === !1 && y(), e !== c.position_id && R.update("votes", c.id, t).then((n) => {
105
- n.data.success && (A(n.data.data.resource), G(
106
- C.formatMessage({
106
+ }), c ? (ge(e, c.position_id), _ === !1 && y(), e !== c.position_id && A.update("votes", c.id, t).then((n) => {
107
+ n.data.success && (R(n.data.data.resource), G(
108
+ v.formatMessage({
107
109
  id: "header.vote_confirm_modal",
108
110
  defaultMessage: "Your vote has been saved !"
109
111
  }),
110
112
  { type: "success" }
111
113
  ));
112
- })) : (fe(e), y(), R.create("votes", t).then((n) => {
113
- n.data.success && (A(n.data.data.resource), G(
114
- C.formatMessage({
114
+ })) : (he(e), y(), A.create("votes", t).then((n) => {
115
+ n.data.success && (R(n.data.data.resource), G(
116
+ v.formatMessage({
115
117
  id: "header.vote_confirm_modal",
116
118
  defaultMessage: "Your vote has been saved !"
117
119
  }),
118
120
  { type: "success" }
119
121
  ));
120
122
  }));
121
- }, fe = (e) => {
123
+ }, he = (e) => {
122
124
  const t = i[e].count + 1, a = u + 1, n = {};
123
- r.forEach((V) => {
124
- if (e === V.id)
125
- n[V.id] = {
125
+ r.forEach((M) => {
126
+ if (e === M.id)
127
+ n[M.id] = {
126
128
  count: t,
127
- percentage: x(t, a)
129
+ percentage: B(t, a)
128
130
  };
129
131
  else {
130
- const X = i[V.id].count;
131
- n[V.id] = {
132
- count: X,
133
- percentage: x(X, a)
132
+ const Z = i[M.id].count;
133
+ n[M.id] = {
134
+ count: Z,
135
+ percentage: B(Z, a)
134
136
  };
135
137
  }
136
- }), W(n), se(a);
137
- }, ve = (e, t) => {
138
+ }), z(n), ne(a);
139
+ }, ge = (e, t) => {
138
140
  if (t !== e) {
139
141
  const a = {
140
142
  ...i,
141
143
  [t]: {
142
144
  count: i[t].count - 1,
143
- percentage: x(
145
+ percentage: B(
144
146
  i[t].count - 1,
145
147
  u
146
148
  )
147
149
  },
148
150
  [e]: {
149
151
  count: i[e].count + 1,
150
- percentage: x(
152
+ percentage: B(
151
153
  i[e].count + 1,
152
154
  u
153
155
  )
154
156
  }
155
157
  };
156
- W(a);
158
+ z(a);
157
159
  }
158
- }, K = (e) => {
160
+ }, Q = (e) => {
159
161
  const t = new URLSearchParams({
160
162
  initVote: "true",
161
163
  ...e && { positionId: e }
162
164
  });
163
- return S + `?${t.toString()}`;
164
- }, Q = (e) => {
165
- B ? Object.keys(i).includes(e.toString()) && (me(e), D()) : (Object.keys(i).includes(e.toString()) && ae({
166
- groupId: h,
167
- voteableType: v,
165
+ return w + `?${t.toString()}`;
166
+ }, X = (e) => {
167
+ x ? Object.keys(i).includes(e.toString()) && (ve(e), D()) : (Object.keys(i).includes(e.toString()) && re({
168
+ groupId: g,
169
+ voteableType: h,
168
170
  positionId: e
169
- }), z({ loginAction: "vote" }));
171
+ }), J({ loginAction: "vote" }));
170
172
  }, y = () => {
171
- p && re(), f(!p);
172
- }, he = (e, t) => {
173
+ _ && ce(), f(!_);
174
+ }, pe = (e, t) => {
173
175
  let a;
174
176
  t === 0 ? a = $.translatedContent : t === 1 ? a = q.translatedContent : t === 2 && (a = Y.translatedContent);
175
- const n = typeof window < "u" && !S;
177
+ const n = typeof window < "u" && !w;
176
178
  return /* @__PURE__ */ s(
177
179
  "div",
178
180
  {
@@ -180,19 +182,19 @@ const We = ({
180
182
  [o.buttonAlignLeft]: o.buttonAlignLeft
181
183
  }),
182
184
  children: /* @__PURE__ */ s(
183
- Me,
185
+ ye,
184
186
  {
185
187
  "data-tid": "action_vote",
186
188
  type: "button",
187
189
  title: a,
188
190
  className: d(o.voteButton, {
189
- [o.textAlignLeft]: P,
191
+ [o.textAlignLeft]: te,
190
192
  [E]: E
191
193
  }),
192
- onClick: n ? () => Q(e.id) : null,
193
- disabled: M,
194
+ onClick: n ? () => X(e.id) : null,
195
+ disabled: V,
194
196
  "data-testid": "voteButton",
195
- to: n ? null : K(e.id),
197
+ to: n ? null : Q(e.id),
196
198
  target: n ? null : "_top",
197
199
  rel: n ? null : "nofollow",
198
200
  external: n ? null : !0,
@@ -211,14 +213,14 @@ const We = ({
211
213
  },
212
214
  t
213
215
  );
214
- }, ge = () => {
215
- B || le.actions?.unloggedVoteResults === !0 ? f(!0) : z({ loginAction: "vote" });
216
+ }, _e = () => {
217
+ x || ue.actions?.unloggedVoteResults === !0 ? f(!0) : J({ loginAction: "vote" });
216
218
  };
217
219
  return /* @__PURE__ */ s(
218
220
  "div",
219
221
  {
220
222
  className: d(o.voteBox, { [F]: F }),
221
- children: /* @__PURE__ */ s(pe, { children: p || M ? /* @__PURE__ */ l("div", { className: o.voteResultsBox, "data-testid": "voteResultsBox", children: [
223
+ children: /* @__PURE__ */ s(be, { children: _ || V ? /* @__PURE__ */ l("div", { className: o.voteResultsBox, "data-testid": "voteResultsBox", children: [
222
224
  /* @__PURE__ */ s("div", { className: o.voteResults, children: r.map((e, t) => {
223
225
  let a;
224
226
  return t === 0 ? a = $.translatedContent : t === 1 ? a = q.translatedContent : t === 2 && (a = Y.translatedContent), /* @__PURE__ */ l("div", { children: [
@@ -235,7 +237,7 @@ const We = ({
235
237
  c && c.position_id === e.id ? /* @__PURE__ */ s(
236
238
  "span",
237
239
  {
238
- title: C.formatMessage({
240
+ title: v.formatMessage({
239
241
  id: "vote.vote_box.vote_side"
240
242
  }) + a,
241
243
  className: o.sideIcon,
@@ -247,7 +249,7 @@ const We = ({
247
249
  }
248
250
  ),
249
251
  /* @__PURE__ */ l(
250
- xe,
252
+ Re,
251
253
  {
252
254
  progress: i[e.id].percentage / 100,
253
255
  goal: 1,
@@ -262,7 +264,7 @@ const We = ({
262
264
  ] }, t);
263
265
  }) }),
264
266
  /* @__PURE__ */ l("div", { className: o.voteBoxFooter, children: [
265
- ee && /* @__PURE__ */ s("div", { className: o.voteResultsNumberVoters, children: /* @__PURE__ */ s(
267
+ oe && /* @__PURE__ */ s("div", { className: o.voteResultsNumberVoters, children: /* @__PURE__ */ s(
266
268
  m,
267
269
  {
268
270
  id: "vote.vote_box.votes",
@@ -270,7 +272,7 @@ const We = ({
270
272
  defaultMessage: "{votesCount} votes"
271
273
  }
272
274
  ) }),
273
- !M && /* @__PURE__ */ s("div", { children: c ? /* @__PURE__ */ s(
275
+ !V && /* @__PURE__ */ s("div", { children: c ? /* @__PURE__ */ s(
274
276
  "button",
275
277
  {
276
278
  "data-tid": "action_edit_vote",
@@ -310,33 +312,53 @@ const We = ({
310
312
  [O]: O
311
313
  }),
312
314
  children: r.map(
313
- (e, t) => he(e, t)
315
+ (e, t) => pe(e, t)
314
316
  )
315
317
  }
316
318
  ),
317
- te && /* @__PURE__ */ l("div", { className: o.voteCommentCounts, children: [
318
- /* @__PURE__ */ l("div", { className: o.debateNumberItem, children: [
319
- /* @__PURE__ */ s(T, { name: "votebox", width: 20, height: 20 }),
320
- /* @__PURE__ */ s("div", { className: o.debateNumberLabel, children: /* @__PURE__ */ s(
321
- m,
322
- {
323
- id: "vote.vote_box.votes",
324
- values: { votesCount: u },
325
- defaultMessage: "{votesCount} votes"
326
- }
327
- ) })
328
- ] }),
329
- /* @__PURE__ */ l("div", { className: o.debateNumberItem, children: [
330
- /* @__PURE__ */ s(T, { name: "chat", width: 20, height: 20 }),
331
- /* @__PURE__ */ s("div", { className: o.debateNumberLabel, children: /* @__PURE__ */ s(
332
- m,
333
- {
334
- id: "vote.vote_box.comments",
335
- values: { count: oe ?? 0 },
336
- defaultMessage: "{count} comments"
337
- }
338
- ) })
339
- ] })
319
+ se && /* @__PURE__ */ l("div", { className: o.voteCommentCounts, children: [
320
+ /* @__PURE__ */ s(
321
+ ee,
322
+ {
323
+ position: W ? "right" : "bottom",
324
+ text: v.formatMessage({
325
+ id: "info.votes_count",
326
+ defaultMessage: "Votes"
327
+ }),
328
+ children: /* @__PURE__ */ l("div", { className: o.debateNumberItem, children: [
329
+ /* @__PURE__ */ s(T, { name: "votebox", width: 20, height: 20 }),
330
+ /* @__PURE__ */ s("div", { className: o.debateNumberLabel, children: /* @__PURE__ */ s(
331
+ m,
332
+ {
333
+ id: "vote.vote_box.votes",
334
+ values: { votesCount: u },
335
+ defaultMessage: "{votesCount} votes"
336
+ }
337
+ ) })
338
+ ] })
339
+ }
340
+ ),
341
+ /* @__PURE__ */ s(
342
+ ee,
343
+ {
344
+ position: W ? "right" : "bottom",
345
+ text: v.formatMessage({
346
+ id: "info.arguments_count",
347
+ defaultMessage: "Comments"
348
+ }),
349
+ children: /* @__PURE__ */ l("div", { className: o.debateNumberItem, children: [
350
+ /* @__PURE__ */ s(T, { name: "chat", width: 20, height: 20 }),
351
+ /* @__PURE__ */ s("div", { className: o.debateNumberLabel, children: /* @__PURE__ */ s(
352
+ m,
353
+ {
354
+ id: "vote.vote_box.comments",
355
+ values: { count: ae ?? 0 },
356
+ defaultMessage: "{count} comments"
357
+ }
358
+ ) })
359
+ ] })
360
+ }
361
+ )
340
362
  ] }),
341
363
  /* @__PURE__ */ s(
342
364
  "div",
@@ -346,14 +368,14 @@ const We = ({
346
368
  o.voteBoxShowResultContainer,
347
369
  { [I]: I }
348
370
  ),
349
- children: /* @__PURE__ */ s("div", { className: o.voteBoxShowResult, children: U ? !p && /* @__PURE__ */ s("div", { className: o.voteResultInfoText, children: C.formatMessage({
371
+ children: /* @__PURE__ */ s("div", { className: o.voteBoxShowResult, children: U ? !_ && /* @__PURE__ */ s("div", { className: o.voteResultInfoText, children: v.formatMessage({
350
372
  id: "vote.vote_box.result_after_vote",
351
373
  defaultMessage: "Le résultat s'affichera après le vote."
352
- }) }) : typeof window < "u" && !S ? /* @__PURE__ */ s(
374
+ }) }) : typeof window < "u" && !w ? /* @__PURE__ */ s(
353
375
  "button",
354
376
  {
355
377
  type: "button",
356
- onClick: ge,
378
+ onClick: _e,
357
379
  "data-tid": "show_vote_result",
358
380
  "data-testid": "show-result",
359
381
  className: o.showResultButton,
@@ -366,9 +388,9 @@ const We = ({
366
388
  ) })
367
389
  }
368
390
  ) : /* @__PURE__ */ s(
369
- Ve,
391
+ Ae,
370
392
  {
371
- to: K(null),
393
+ to: Q(null),
372
394
  rel: "nofollow",
373
395
  "data-tid": "show_vote_result",
374
396
  target: "_top",
@@ -390,5 +412,5 @@ const We = ({
390
412
  );
391
413
  };
392
414
  export {
393
- We as VoteBox
415
+ Xe as VoteBox
394
416
  };
@@ -1,63 +1,63 @@
1
- import '../../../assets/components/vote/vote_box/VoteBox.module-C9Q6gBw3.css';const t = "_voteBox_e0cdc_3", o = "_voteResultsBox_e0cdc_11", e = "_voteResults_e0cdc_11", s = "_voteProgressHeader_e0cdc_22", c = "_voteProgressHeaderAgainst_e0cdc_35", n = "_voteResultsNumberVoters_e0cdc_39", _ = "_voteBoxFooter_e0cdc_47", u = "_voteBoxActions_e0cdc_56", d = "_voteBoxActionsBody_e0cdc_66", v = "_voteBoxActionsBodyColumn_e0cdc_74", r = "_voteAction_e0cdc_78", B = "_buttonAlignLeft_e0cdc_88", l = "_voteButton_e0cdc_92", i = "_textAlignLeft_e0cdc_103", x = "_voteBoxShowResultContainer_e0cdc_107", b = "_voteBoxShowResult_e0cdc_107", a = "_boldShowResult_e0cdc_131", A = "_outlined_e0cdc_136", R = "_voteButtonThesis_e0cdc_143", g = "_voteButtonThesisSynthesisMobile_e0cdc_155", h = "_voteActionButton_e0cdc_194", m = "_sideIcon_e0cdc_209", w = "_progress_e0cdc_214", C = "_progressBar_e0cdc_220", S = "_voteCommentCounts_e0cdc_237", f = "_debateNumberItem_e0cdc_245", y = "_debateNumberLabel_e0cdc_254", I = "_showResultButton_e0cdc_258", L = "_voteResultInfoText_e0cdc_271", N = {
1
+ import '../../../assets/components/vote/vote_box/VoteBox.module-CDrqb2SZ.css';const t = "_voteBox_29yqs_3", o = "_voteResultsBox_29yqs_11", e = "_voteResults_29yqs_11", s = "_voteProgressHeader_29yqs_22", n = "_voteProgressHeaderAgainst_29yqs_35", _ = "_voteResultsNumberVoters_29yqs_39", u = "_voteBoxFooter_29yqs_47", v = "_voteBoxActions_29yqs_56", r = "_voteBoxActionsBody_29yqs_66", c = "_voteBoxActionsBodyColumn_29yqs_74", B = "_voteAction_29yqs_78", l = "_buttonAlignLeft_29yqs_88", i = "_voteButton_29yqs_92", y = "_textAlignLeft_29yqs_103", x = "_voteBoxShowResultContainer_29yqs_107", q = "_voteBoxShowResult_29yqs_107", d = "_boldShowResult_29yqs_131", b = "_outlined_29yqs_136", a = "_voteButtonThesis_29yqs_143", A = "_voteButtonThesisSynthesisMobile_29yqs_155", R = "_voteActionButton_29yqs_194", g = "_sideIcon_29yqs_209", h = "_progress_29yqs_214", m = "_progressBar_29yqs_220", w = "_voteCommentCounts_29yqs_237", C = "_debateNumberItem_29yqs_245", S = "_debateNumberLabel_29yqs_254", f = "_showResultButton_29yqs_258", I = "_voteResultInfoText_29yqs_271", L = {
2
2
  voteBox: t,
3
3
  voteResultsBox: o,
4
4
  voteResults: e,
5
5
  voteProgressHeader: s,
6
- voteProgressHeaderAgainst: c,
7
- voteResultsNumberVoters: n,
8
- voteBoxFooter: _,
9
- voteBoxActions: u,
10
- voteBoxActionsBody: d,
11
- voteBoxActionsBodyColumn: v,
12
- voteAction: r,
13
- buttonAlignLeft: B,
14
- voteButton: l,
15
- textAlignLeft: i,
6
+ voteProgressHeaderAgainst: n,
7
+ voteResultsNumberVoters: _,
8
+ voteBoxFooter: u,
9
+ voteBoxActions: v,
10
+ voteBoxActionsBody: r,
11
+ voteBoxActionsBodyColumn: c,
12
+ voteAction: B,
13
+ buttonAlignLeft: l,
14
+ voteButton: i,
15
+ textAlignLeft: y,
16
16
  voteBoxShowResultContainer: x,
17
- voteBoxShowResult: b,
18
- boldShowResult: a,
19
- outlined: A,
20
- voteButtonThesis: R,
21
- voteButtonThesisSynthesisMobile: g,
22
- voteActionButton: h,
23
- sideIcon: m,
24
- progress: w,
25
- progressBar: C,
26
- voteCommentCounts: S,
27
- debateNumberItem: f,
28
- debateNumberLabel: y,
29
- showResultButton: I,
30
- voteResultInfoText: L
17
+ voteBoxShowResult: q,
18
+ boldShowResult: d,
19
+ outlined: b,
20
+ voteButtonThesis: a,
21
+ voteButtonThesisSynthesisMobile: A,
22
+ voteActionButton: R,
23
+ sideIcon: g,
24
+ progress: h,
25
+ progressBar: m,
26
+ voteCommentCounts: w,
27
+ debateNumberItem: C,
28
+ debateNumberLabel: S,
29
+ showResultButton: f,
30
+ voteResultInfoText: I
31
31
  };
32
32
  export {
33
- a as boldShowResult,
34
- B as buttonAlignLeft,
35
- f as debateNumberItem,
36
- y as debateNumberLabel,
37
- N as default,
38
- A as outlined,
39
- w as progress,
40
- C as progressBar,
41
- I as showResultButton,
42
- m as sideIcon,
43
- i as textAlignLeft,
44
- r as voteAction,
45
- h as voteActionButton,
33
+ d as boldShowResult,
34
+ l as buttonAlignLeft,
35
+ C as debateNumberItem,
36
+ S as debateNumberLabel,
37
+ L as default,
38
+ b as outlined,
39
+ h as progress,
40
+ m as progressBar,
41
+ f as showResultButton,
42
+ g as sideIcon,
43
+ y as textAlignLeft,
44
+ B as voteAction,
45
+ R as voteActionButton,
46
46
  t as voteBox,
47
- u as voteBoxActions,
48
- d as voteBoxActionsBody,
49
- v as voteBoxActionsBodyColumn,
50
- _ as voteBoxFooter,
51
- b as voteBoxShowResult,
47
+ v as voteBoxActions,
48
+ r as voteBoxActionsBody,
49
+ c as voteBoxActionsBodyColumn,
50
+ u as voteBoxFooter,
51
+ q as voteBoxShowResult,
52
52
  x as voteBoxShowResultContainer,
53
- l as voteButton,
54
- R as voteButtonThesis,
55
- g as voteButtonThesisSynthesisMobile,
56
- S as voteCommentCounts,
53
+ i as voteButton,
54
+ a as voteButtonThesis,
55
+ A as voteButtonThesisSynthesisMobile,
56
+ w as voteCommentCounts,
57
57
  s as voteProgressHeader,
58
- c as voteProgressHeaderAgainst,
59
- L as voteResultInfoText,
58
+ n as voteProgressHeaderAgainst,
59
+ I as voteResultInfoText,
60
60
  e as voteResults,
61
61
  o as voteResultsBox,
62
- n as voteResultsNumberVoters
62
+ _ as voteResultsNumberVoters
63
63
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@logora/debate",
3
- "version": "0.3.68",
3
+ "version": "0.3.71",
4
4
  "type": "module",
5
5
  "license": "AGPL-3.0",
6
6
  "description": "Design system of @Logora made with React",
@@ -1 +0,0 @@
1
- ._argument_1dp33_3{border-radius:var(--box-border-radius, 6px);box-shadow:var(--box-shadow, 0px 2px 5px rgba(7, 42, 68, .1));transition:margin-top 2s;border:var(--box-border, 1px solid rgba(7, 42, 68, .1));scroll-margin-top:150px;background-color:var(--background-color-primary, white);padding:var(--space-unit, 1em)!important;display:flex;flex-direction:column;gap:var(--space-unit, 1em)}._edited_1dp33_16{font-size:var(--font-size-extra-small, 14px);color:var(--text-secondary, #5F5F5F);line-height:var(--line-height-loose, 1.38em);margin-bottom:var(--spacer-xs, calc(var(--space-unit, 1em) * .325))!important}._argumentReply_1dp33_23{position:relative;background-color:var(--text-tertiary, #fafafa);border-top-left-radius:0;border-bottom-left-radius:0;box-shadow:var(--box-shadow, 0px 2px 5px rgba(7, 42, 68, .1));border-top-right-radius:var(--box-border-radius, 6px);border-bottom-right-radius:var(--box-border-radius, 6px);border-left:6px solid;border-left-color:var(--call-primary-color, #434343)!important}._argumentReply_1dp33_23._position-1_1dp33_34{border-left-color:var(--for-primary-color, #cc6a6d)!important}._argumentReply_1dp33_23._position-2_1dp33_37{border-left-color:var(--against-primary-color, #7980bb)!important}._argumentReply_1dp33_23._position-3_1dp33_40{border-left-color:var(--third-position-color-primary, #9b9b9b)!important}._argumentReply_1dp33_23._level-1_1dp33_43{margin-left:1em!important}._argumentReply_1dp33_23._level-2_1dp33_46{margin-left:2em!important}._argumentReply_1dp33_23._level-3_1dp33_49{margin-left:3em!important}._argumentReply_1dp33_23._level-4_1dp33_52{margin-left:4em!important}._argumentReply_1dp33_23._level-5_1dp33_55{margin-left:5em!important}._argumentReply_1dp33_23:before{content:"";border-left:4px solid var(--text-secondary, #5F5F5F);position:absolute;width:4px;height:10px;top:-10px;left:2em}@container (max-width: 575.98px){._argumentReply_1dp33_23{border-left:4px solid}}._flash_1dp33_73{-webkit-transition:box-shadow .8s ease-in-out;-moz-transition:box-shadow .8s ease-in-out;-o-transition:box-shadow .8s ease-in-out;transition:box-shadow .8s ease-in-out;box-shadow:-4px 4px 15px 3px #00000026}._position-1_1dp33_34._flash_1dp33_73{border-color:var(--for-primary-color, #cc6a6d)}._position-2_1dp33_37._flash_1dp33_73{border-color:var(--against-primary-color, #7980bb)}._position-3_1dp33_40._flash_1dp33_73{border-color:var(--third-position-color-primary, #9b9b9b);margin-top:var(--spacer-sm, calc(var(--space-unit, 1em) * .5))!important}._argumentBody_1dp33_94{font-size:var(--font-size-normal, 16px);line-height:var(--line-height-loose, 1.38em)}._argumentDeletedBody_1dp33_99{font-size:var(--font-size-small, 16px);color:var(--text-secondary, #5F5F5F)}._fixedHeight_1dp33_104{height:100px;overflow:hidden;position:relative}._fixedHeight_1dp33_104:after{content:"";position:absolute;z-index:1;bottom:0;left:0;right:0;pointer-events:none;background-image:linear-gradient(to bottom,#fff0,#fff 90%);width:100%;height:5em}._argumentContent_1dp33_122{line-height:var(--line-height-loose, 1.38em);overflow-wrap:break-word;word-wrap:break-word}._argumentContent_1dp33_122 *{font-size:var(--font-size-normal, 16px)}._argumentSourcesList_1dp33_131{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;font-size:var(--font-size-extra-small, 14px);font-weight:var(--font-weight-normal, 400)}._argumentSourcesList_1dp33_131 a{text-decoration:none}._repliesList_1dp33_144{margin-top:var(--spacer-sm, calc(var(--space-unit, 1em) * .5))!important}._readMoreLink_1dp33_148{margin-top:var(--spacer-md, calc(var(--space-unit, 1em) * .75))!important;display:flex;justify-content:center}._replyStyle_1dp33_154{background:var(--text-tertiary, #fafafa)}._replyTo_1dp33_158{display:flex!important;flex-direction:row!important;align-items:center!important;padding-bottom:var(--spacer-sm, calc(var(--space-unit, 1em) * .5))!important;font-size:var(--font-size-extra-small, 14px);color:var(--text-secondary, #5F5F5F);cursor:pointer;overflow:hidden;white-space:nowrap}._replyTo_1dp33_158 span{padding-left:var(--spacer-xxs, calc(var(--space-unit, 1em) * .25))!important;cursor:pointer;text-decoration:underline}._replyTo_1dp33_158 svg{padding:2px 0 0 2px;fill:var(--text-secondary, #5F5F5F)}._replyingTo_1dp33_179{display:flex!important;align-items:center!important}._headerPosition-0_1dp33_184{background-color:var(--call-primary-color, #434343)!important}._headerPosition-1_1dp33_188{background-color:var(--for-primary-color, #cc6a6d)!important}._headerPosition-2_1dp33_192{background-color:var(--against-primary-color, #7980bb)!important}._headerPosition-3_1dp33_196{background-color:var(--third-position-color-primary, #9b9b9b)!important}._voteButtonPosition-1_1dp33_200{color:var(--for-primary-color, #cc6a6d)!important}._voteButtonPosition-1_1dp33_200 svg{fill:var(--for-primary-color, #cc6a6d)!important}._voteButtonPosition-2_1dp33_207{color:var(--against-primary-color, #7980bb)!important}._voteButtonPosition-2_1dp33_207 svg{fill:var(--against-primary-color, #7980bb)!important}._voteButtonPosition-3_1dp33_214{color:var(--third-position-color-primary, #9b9b9b)!important}._voteButtonPosition-3_1dp33_214 svg{fill:var(--third-position-color-primary, #9b9b9b)!important}@media(prefers-color-scheme:dark){._replyStyle_1dp33_154{background-color:var(--text-tertiary, #fafafa)}._argumentStyle_1dp33_225{background-color:var(--background-color-primary, white)}}._argumentContent_1dp33_122 ol{list-style-type:decimal!important;margin-left:var(--spacer-sm, calc(var(--space-unit, 1em) * .5))!important;padding-left:var(--spacer-xl, calc(var(--space-unit, 1em) * 3))!important}._argumentContent_1dp33_122 ul{list-style-type:disc!important;margin-left:var(--spacer-sm, calc(var(--space-unit, 1em) * .5))!important;padding-left:var(--spacer-xl, calc(var(--space-unit, 1em) * 3))!important}._argumentContent_1dp33_122 ol li::marker,._argumentContent_1dp33_122 ul li::marker{content:normal!important}
@@ -1 +0,0 @@
1
- ._container_1fmcx_3{display:flex!important;flex-direction:column!important;justify-content:space-between!important;box-shadow:var(--box-shadow, 0px 2px 5px rgba(7, 42, 68, .1));border:var(--box-border, 1px solid rgba(7, 42, 68, .1));color:var(--text-primary, #222222);border-radius:var(--box-border-radius, 6px);background:var(--background-color-primary, white)}._container_1fmcx_3 a{text-decoration:none!important;color:var(--text-primary, #222222)!important}._consultationImageBox_1fmcx_18{position:relative}._consultationImage_1fmcx_18{border-top-right-radius:var(--box-border-radius, 6px);border-top-left-radius:var(--box-border-radius, 6px);width:100%;aspect-ratio:var(--img-aspect-ratio, 16/9);object-fit:cover;display:block}._consultationTime_1fmcx_31{display:flex!important;align-items:center!important;position:absolute;left:var(--space-unit, 1em);bottom: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);font-size:var(--font-size-normal, 16px);color:var(--text-light, white);max-width:93%;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}._consultationTime_1fmcx_31 span{color:var(--text-light, white)}._consultationTime_1fmcx_31._ended_1fmcx_53{background-color:var(--call-primary-color, #434343)}._consultationTitle_1fmcx_57{padding-top:var(--spacer-lg, calc(var(--space-unit, 1em) * 1.5))!important;padding-bottom:var(--spacer-sm, calc(var(--space-unit, 1em) * .5))!important;padding-right:var(--space-unit, 1em)!important;padding-left:var(--space-unit, 1em)!important;font-size:var(--font-size-normal, 16px);font-weight:var(--font-weight-bold, 700)}._iconVote_1fmcx_66{padding-top:3px!important}._iconChat_1fmcx_70{padding-top:6px!important}._consultationButtonContainer_1fmcx_74{display:flex!important;padding-right:var(--space-unit, 1em)!important;padding-left:var(--space-unit, 1em)!important;padding-bottom:var(--spacer-lg, calc(var(--space-unit, 1em) * 1.5))!important;color:var(--text-secondary, #5F5F5F);font-size:var(--font-size-small, 16px)}._consultationButtonContainer_1fmcx_74:hover{text-decoration:underline;text-decoration-color:var(--text-secondary, #5F5F5F)}._consultationButtonContainer_1fmcx_74 ._arrowIcon_1fmcx_86{margin-left:var(--spacer-xxs, calc(var(--space-unit, 1em) * .25))!important;transform:rotate(180deg);fill:var(--text-secondary, #5F5F5F);top:1px;position:relative}._consultationInformations_1fmcx_94{display:flex!important;justify-content:space-between!important;align-items:center!important;padding-right:var(--space-unit, 1em)!important;padding-left:var(--space-unit, 1em)!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;min-height:50px}._consultationInformations_1fmcx_94 ._consultationLeft_1fmcx_104{display:flex!important}._consultationInformations_1fmcx_94 ._consultationGroupInformation_1fmcx_107{display:flex!important;align-items:center!important}._consultationInformations_1fmcx_94 ._consultationGroupInformation_1fmcx_107._consultationGroupRight_1fmcx_111{padding-right:var(--space-unit, 1em)!important}._consultationInformations_1fmcx_94 ._progressBarContainer_1fmcx_114{width:60%;display:flex!important;flex-direction:column!important;align-items:flex-end!important;font-size:var(--font-size-extra-small, 14px)}._consultationInformations_1fmcx_94 ._progressBarContainer_1fmcx_114 ._progress_1fmcx_114{margin-top:var(--spacer-xxs, calc(var(--space-unit, 1em) * .25))!important;height:15px;width:100%;border-radius:var(--box-border-radius, 6px);background-color:var(--background-color-secondary, #E8E8E8)!important}._consultationInformations_1fmcx_94 ._progressBarContainer_1fmcx_114 ._bar_1fmcx_128{background-color:var(--call-primary-color, #434343)}._consultationInformations_1fmcx_94 ._progressBarContainer_1fmcx_114 ._totalVotes_1fmcx_131{margin-right:var(--spacer-xxs, calc(var(--space-unit, 1em) * .25))!important}._consultationInformations_1fmcx_94 ._progressBarContainer_1fmcx_114 ._totalVotesPercentage_1fmcx_134{margin-left:var(--spacer-xxs, calc(var(--space-unit, 1em) * .25))!important}._consultationInformations_1fmcx_94 ._consultationTextInformation_1fmcx_137{padding-right:var(--spacer-xxs, calc(var(--space-unit, 1em) * .25))!important;padding-top:5px!important}
@@ -1 +0,0 @@
1
- ._sectionBoxContainer_tcujo_3{background-color:var(--background-color-primary, white);box-shadow:var(--box-shadow-main-container, var(--box-shadow, 0px 2px 5px rgba(7, 42, 68, .1)));border:var(--box-border-main-container, var(--box-border, 1px solid rgba(7, 42, 68, .1)));border-radius:var(--box-border-radius, 6px);color:var(--text-primary, #222222)}@container (min-width: 576px){._sectionBoxContainer_tcujo_3{padding:var(--spacer-lg, calc(var(--space-unit, 1em) * 1.5))!important}}._sectionBoxContainer_tcujo_3._isMobile_tcujo_15{padding:var(--space-unit, 1em)!important}._header_tcujo_19{display:flex;justify-content:space-between;align-items:center;width:100%}._collapsible_tcujo_26{cursor:pointer}._iconLightArrow_tcujo_30{flex-shrink:0;margin-left:.75em;transition:transform .3s}._iconRotated_tcujo_36{transform:rotate(180deg)}._titleContainer_tcujo_40{display:flex;align-items:baseline;gap:.5em}._title_tcujo_40{font-size:var(--font-size-large, 20px);line-height:var(--line-height-tight, 1.08em);font-weight:var(--font-weight-bold, 700);font-family:var(--title-font-family, var(--font-family, "Montserrat"));color:var(--text-primary, #222222)}._subtitle_tcujo_54{font-size:var(--font-size-small, 16px);color:var(--text-secondary, #5F5F5F)}._body_tcujo_59{padding-top:var(--space-unit, 1em)!important}
@@ -1 +0,0 @@
1
- ._sectionBox_15pa0_3{padding:1em}._title_15pa0_7{font-size:var(--font-size-large, 20px);line-height:var(--line-height-tight, 1.08em);font-weight:var(--font-weight-bold, 700);font-family:var(--title-font-family, var(--font-family, "Montserrat"))}._content_15pa0_14{display:grid;gap:var(--space-unit, 1em)}._content_15pa0_14._contentMobile_15pa0_18{grid-template-columns:repeat(1,1fr)}._content_15pa0_14._contentTablet_15pa0_21{grid-template-columns:repeat(2,1fr)}._content_15pa0_14._contentDesktop_15pa0_24{grid-template-columns:repeat(3,1fr)}._listItem_15pa0_28{text-decoration:none!important;color:inherit!important;border:var(--box-border, 1px solid rgba(7, 42, 68, .1))!important;border-radius:var(--box-border-radius, 6px)!important;padding:var(--space-unit, 1em)!important}._listItem_15pa0_28:hover{border:1px solid var(--text-primary, #222222)!important}
@@ -1 +0,0 @@
1
- ._sourceListItemContainer_as5dp_3{position:relative;display:inline-flex;align-items:center;max-width:100%}a._sourceListItem_as5dp_3{display:flex;flex-direction:row;justify-content:flex-start;font-size:var(--font-size-extra-small, 14px);margin-top:5px;padding:5px 26px 5px 5px;border:1px solid var(--background-color-secondary, #E8E8E8);border-radius:var(--box-border-radius, 6px);max-width:100%}a._sourceListItem_as5dp_3 svg{margin-right:5px;flex-shrink:0!important;width:16px!important;height:16px!important}a._sourceListItem_as5dp_3{color:var(--text-primary, #222222)!important;text-decoration:none!important;outline:none!important}._removeSourceButton_as5dp_33{position:absolute;top:calc(50% + 2px);right:6px;transform:translateY(-50%);border:none;background:transparent;cursor:pointer;padding:0;display:flex;align-items:center;justify-content:center;color:var(--text-primary, #222222);z-index:2}
@@ -1 +0,0 @@
1
- ._sectionBox_tui97_3{padding:1em}._content_tui97_7{padding-top:1em}._summaryContainer_tui97_11{display:flex;flex-direction:row;flex-wrap:wrap;align-items:stretch;gap:1em}._summaryContainer_tui97_11>div{flex:1 1 calc(50% - .5em);max-width:calc(50% - .5em);display:flex;flex-direction:column}@container (max-width: 767.98px){._summaryContainer_tui97_11{flex-direction:column}._summaryContainer_tui97_11>div{flex:1 1 100%;max-width:100%;width:100%}}._description_tui97_35{color:var(--text-secondary, #5F5F5F);font-size:var(--font-size-small, 16px);margin-bottom:1em}
@@ -1 +0,0 @@
1
- ._box_f4my1_3{display:flex;flex-direction:column;justify-content:flex-start;padding:.7em;border-radius:var(--box-border-radius, 6px);box-shadow:var(--box-shadow, 0px 2px 5px rgba(7, 42, 68, .1));border:var(--box-border, 1px solid rgba(7, 42, 68, .1));flex:1;width:100%;max-width:100%;box-sizing:border-box}._stats_f4my1_17{display:flex!important;justify-content:flex-start!important;align-items:center;gap:10px}._stats_f4my1_17._withTag_f4my1_24{margin-bottom:.4em}._tag_f4my1_28{padding:.5em .75em;color:var(--text-light, white);background-color:var(--call-primary-color, #434343);border-radius:var(--box-border-radius, 6px);font-size:var(--font-size-extra-small, 14px);font-weight:var(--font-weight-bold, 700);display:-webkit-box;word-wrap:break-word;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;max-height:3.4em;text-transform:uppercase}._summaryItem_f4my1_47{display:flex;gap:8px;padding:var(--spacer-xs, calc(var(--space-unit, 1em) * .325));align-items:flex-start;font-size:var(--font-size-small, 16px);color:var(--text-primary, #222222);overflow-wrap:anywhere}._emptySummaryText_f4my1_57{font-style:italic;color:var(--text-primary, #222222);font-size:var(--font-size-small, 16px);text-align:start;padding:10px 0}
@@ -1 +0,0 @@
1
- ._voteBox_e0cdc_3{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:center!important;width:100%}._voteResultsBox_e0cdc_11{display:flex!important;flex-direction:column!important;padding:0!important;width:100%}._voteResults_e0cdc_11{padding:0!important}._voteProgressHeader_e0cdc_22{margin-bottom:var(--spacer-xxs, calc(var(--space-unit, 1em) * .25))!important;display:flex!important;align-items:center!important;font-size:var(--font-size-normal, 16px);display:-webkit-box;word-wrap:break-word;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis}._voteProgressHeaderAgainst_e0cdc_35{margin-top:var(--spacer-md, calc(var(--space-unit, 1em) * .75))!important}._voteResultsNumberVoters_e0cdc_39{display:flex!important;align-items:center!important;padding:0!important;font-size:var(--font-size-normal, 16px);color:var(--text-secondary, #5F5F5F)}._voteBoxFooter_e0cdc_47{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:space-between!important;margin-top:var(--space-unit, 1em)!important;padding:0!important}._voteBoxActions_e0cdc_56{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center;gap:var(--space-unit, 1em);color:var(--text-secondary, #5F5F5F);width:100%}._voteBoxActionsBody_e0cdc_66{display:grid!important;grid-template-columns:repeat(2,1fr);gap:var(--spacer-md, calc(var(--space-unit, 1em) * .75));padding:0!important;width:100%}._voteBoxActionsBodyColumn_e0cdc_74{grid-template-columns:1fr}._voteAction_e0cdc_78{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:center!important;padding:0!important;max-width:100%!important;width:100%!important;text-align:center}._voteAction_e0cdc_78._buttonAlignLeft_e0cdc_88{justify-content:flex-start!important}button._voteButton_e0cdc_92,a._voteButton_e0cdc_92{-webkit-appearance:initial!important;width:100%;-webkit-hyphens:auto;-ms-hyphens:auto;-moz-hyphens:auto;hyphens:auto;padding:var(--spacer-sm, calc(var(--space-unit, 1em) * .5))!important}._textAlignLeft_e0cdc_103{justify-content:flex-start!important}._voteBoxShowResultContainer_e0cdc_107{display:flex!important;flex-direction:row!important;justify-content:center;flex-wrap:wrap!important;margin-top:.3em}._voteBoxShowResult_e0cdc_107{cursor:pointer}._voteBoxShowResult_e0cdc_107 a{color:inherit;text-decoration:none;background:none!important}._voteBoxShowResult_e0cdc_107 a:hover{text-decoration:none;background:none!important}._voteBoxShowResult_e0cdc_107 a:focus:not(:focus-visible){outline:none;box-shadow:none}._voteBoxShowResult_e0cdc_107 ._boldShowResult_e0cdc_131{font-weight:var(--font-weight-bold, 700);color:var(--text-primary, #222222)}._outlined_e0cdc_136{padding:7px 15px;border-radius:var(--box-border-radius, 6px);border:1px solid var(--text-primary, #222222)!important;white-space:nowrap}._voteButtonThesis_e0cdc_143{display:block;text-align:left;display:-webkit-box;word-wrap:break-word;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis}@container (max-width: 767.98px){._voteButtonThesisSynthesisMobile_e0cdc_155{text-align:center!important}}._voteBoxActionsBody_e0cdc_66 ._voteAction_e0cdc_78:first-child ._voteButton_e0cdc_92,._voteBoxActionsBody_e0cdc_66 ._voteAction_e0cdc_78:first-child ._voteButton_e0cdc_92:hover{background-color:var(--for-primary-color, #cc6a6d)!important;border-color:var(--for-primary-color, #cc6a6d)!important;border:1px solid var(--for-primary-color, #cc6a6d)!important}._voteBoxActionsBody_e0cdc_66 ._voteAction_e0cdc_78:nth-child(2) ._voteButton_e0cdc_92{background-color:var(--against-primary-color, #7980bb)!important;border-color:var(--against-primary-color, #7980bb)!important;border:1px var(--against-primary-color, #7980bb)!important}._voteBoxActionsBody_e0cdc_66 ._voteAction_e0cdc_78:nth-child(2) ._voteButton_e0cdc_92:hover{background-color:var(--against-primary-color, #7980bb)!important;border-color:var(--against-primary-color, #7980bb)!important;border:1px var(--against-primary-color, #7980bb)!important}._voteBoxActionsBody_e0cdc_66 ._voteAction_e0cdc_78:nth-child(3) ._voteButton_e0cdc_92{background-color:var(--text-light, white)!important;color:var(--third-position-color-primary, #9b9b9b)!important;border-color:var(--third-position-color-primary, #9b9b9b)!important;border:1px solid var(--third-position-color-primary, #9b9b9b)!important}._voteBoxActionsBody_e0cdc_66 ._voteAction_e0cdc_78:nth-child(3) ._voteButton_e0cdc_92:hover{background-color:var(--text-light, white)!important;color:var(--third-position-color-primary, #9b9b9b)!important;border-color:var(--third-position-color-primary, #9b9b9b)!important;border:1px solid var(--third-position-color-primary, #9b9b9b)!important}._voteActionButton_e0cdc_194{cursor:pointer;-webkit-appearance:initial!important;background:none;border:none;color:var(--text-secondary, #5F5F5F)!important;font-size:inherit;padding:0;font-weight:var(--font-weight-bold, 700)}._voteActionButton_e0cdc_194:focus:not(:focus-visible){outline:none;box-shadow:none}._sideIcon_e0cdc_209 svg{margin-left:5px;fill:var(--text-primary, #222222)}._progress_e0cdc_214{border-radius:10px;height:25px;color:var(--text-secondary, #5F5F5F)}._progressBar_e0cdc_220{border-radius:10px;height:25px}._voteResults_e0cdc_11>div:first-child ._progress_e0cdc_214 ._progressBar_e0cdc_220{background-color:var(--for-primary-color, #cc6a6d)!important}._voteResults_e0cdc_11>div:nth-child(2) ._progress_e0cdc_214 ._progressBar_e0cdc_220{background-color:var(--against-primary-color, #7980bb)!important}._voteResults_e0cdc_11 div:nth-child(3) ._progress_e0cdc_214 ._progressBar_e0cdc_220{background-color:var(--third-position-color-primary, #9b9b9b)!important}._voteCommentCounts_e0cdc_237{display:flex;align-items:center;gap:var(--space-unit, 1em);width:100%;margin-top:var(--spacer-xxs, calc(var(--space-unit, 1em) * .25))!important}._debateNumberItem_e0cdc_245{display:flex;align-items:center;gap:var(--spacer-xxs, calc(var(--space-unit, 1em) * .25));font-size:var(--font-size-normal, 16px);color:var(--text-primary, #222222);white-space:nowrap}._debateNumberLabel_e0cdc_254{white-space:nowrap}._showResultButton_e0cdc_258{background:none;border:0;padding:0;font:inherit;color:inherit;cursor:pointer}._showResultButton_e0cdc_258:focus:not(:focus-visible){outline:none;box-shadow:none}._voteResultInfoText_e0cdc_271{font-size:var(--font-size-small, 16px);color:var(--text-secondary, #5F5F5F);text-align:left;width:100%;align-self:flex-start}