@logora/debate 0.3.78 → 0.3.80

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 (49) 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 +29 -31
  14. package/dist/components/dialog/dropdown/Dropdown.js +28 -35
  15. package/dist/components/icons/spiegel_icons/index.js +46 -46
  16. package/dist/components/icons/stern_icons/index.js +70 -100
  17. package/dist/components/input/argument_input/ArgumentInput.js +142 -142
  18. package/dist/components/input/select/Select.js +19 -19
  19. package/dist/components/input/text_editor/TextEditor.js +124 -135
  20. package/dist/components/input/text_editor/TextEditor.module.scss.js +5 -5
  21. package/dist/components/input/text_editor/plugins/SetContentPlugin.js +13 -13
  22. package/dist/components/input/text_editor/plugins/SetRichContentPlugin.js +10 -10
  23. package/dist/components/list/paginated_list/PaginatedList.js +110 -112
  24. package/dist/components/notification/notification_menu/NotificationMenu.js +22 -23
  25. package/dist/components/proposal/proposal_box/ProposalBox.js +10 -8
  26. package/dist/components/section/section_box/SectionBox.js +10 -10
  27. package/dist/components/section/section_box/SectionBox.module.scss.js +9 -9
  28. package/dist/components/source/context_source_box/ContextSourceBox.js +8 -7
  29. package/dist/components/source/context_source_list/ContextSourceList.js +13 -10
  30. package/dist/components/source/context_source_list/ContextSourceList.module.scss.js +12 -14
  31. package/dist/components/source/source_list_item/SourceListItem.js +28 -42
  32. package/dist/components/source/source_list_item/SourceListItem.module.scss.js +6 -8
  33. package/dist/components/source/source_modal/SourceModal.js +15 -15
  34. package/dist/components/summary/summary/Summary.js +63 -41
  35. package/dist/components/summary/summary/Summary.module.scss.js +6 -10
  36. package/dist/components/summary/summary_box/SummaryBox.module.scss.js +9 -9
  37. package/dist/components/vote/vote_box/VoteBox.js +145 -123
  38. package/dist/components/vote/vote_box/VoteBox.module.scss.js +50 -50
  39. package/package.json +1 -1
  40. package/dist/assets/components/argument/argument/Argument.module-QZdPjj_i.css +0 -1
  41. package/dist/assets/components/consultation/consultation_box/ConsultationBox.module-DjNiVt-p.css +0 -1
  42. package/dist/assets/components/section/section_box/SectionBox.module-qQs4B6bf.css +0 -1
  43. package/dist/assets/components/source/context_source_list/ContextSourceList.module-DUPbI-wb.css +0 -1
  44. package/dist/assets/components/source/source_list_item/SourceListItem.module-fm_uHuY4.css +0 -1
  45. package/dist/assets/components/summary/summary/Summary.module-2bnx3egy.css +0 -1
  46. package/dist/assets/components/summary/summary_box/SummaryBox.module-Dr9PevSJ.css +0 -1
  47. package/dist/assets/components/vote/vote_box/VoteBox.module-C9Q6gBw3.css +0 -1
  48. package/dist/components/icons/spiegel_icons/Downvote.js +0 -6
  49. package/dist/components/icons/spiegel_icons/Upvote.js +0 -6
@@ -0,0 +1 @@
1
+ ._argument_1d1jw_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_1d1jw_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_1d1jw_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_1d1jw_23._position-1_1d1jw_34{border-left-color:var(--for-primary-color, #cc6a6d)!important}._argumentReply_1d1jw_23._position-2_1d1jw_37{border-left-color:var(--against-primary-color, #7980bb)!important}._argumentReply_1d1jw_23._position-3_1d1jw_40{border-left-color:var(--third-position-color-primary, #9b9b9b)!important}._argumentReply_1d1jw_23._level-1_1d1jw_43{margin-left:1em!important}._argumentReply_1d1jw_23._level-2_1d1jw_46{margin-left:2em!important}._argumentReply_1d1jw_23._level-3_1d1jw_49{margin-left:3em!important}._argumentReply_1d1jw_23._level-4_1d1jw_52{margin-left:4em!important}._argumentReply_1d1jw_23._level-5_1d1jw_55{margin-left:5em!important}._argumentReply_1d1jw_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_1d1jw_23{border-left:4px solid}}._flash_1d1jw_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_1d1jw_34._flash_1d1jw_73{border-color:var(--for-primary-color, #cc6a6d)}._position-2_1d1jw_37._flash_1d1jw_73{border-color:var(--against-primary-color, #7980bb)}._position-3_1d1jw_40._flash_1d1jw_73{border-color:var(--third-position-color-primary, #9b9b9b);margin-top:var(--spacer-sm, calc(var(--space-unit, 1em) * .5))!important}._argumentBody_1d1jw_94{font-size:var(--font-size-normal, 16px);line-height:var(--line-height-loose, 1.38em)}._argumentDeletedBody_1d1jw_99{font-size:var(--font-size-small, 16px);color:var(--text-secondary, #5F5F5F)}._fixedHeight_1d1jw_104{height:100px;overflow:hidden;position:relative}._fixedHeight_1d1jw_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_1d1jw_122{line-height:var(--line-height-loose, 1.38em);overflow-wrap:break-word;word-wrap:break-word}._argumentContent_1d1jw_122 *{font-size:var(--font-size-normal, 16px)}._argumentSourcesList_1d1jw_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_1d1jw_131 a{text-decoration:none}._repliesList_1d1jw_144{margin-top:var(--spacer-sm, calc(var(--space-unit, 1em) * .5))!important}._readMoreLink_1d1jw_148{margin-top:var(--spacer-md, calc(var(--space-unit, 1em) * .75))!important;display:flex;justify-content:center}._replyStyle_1d1jw_154{background:var(--text-tertiary, #fafafa)}._replyTo_1d1jw_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_1d1jw_158 span{padding-left:var(--spacer-xxs, calc(var(--space-unit, 1em) * .25))!important;cursor:pointer;text-decoration:underline}._replyTo_1d1jw_158 svg{padding:2px 0 0 2px;fill:var(--text-secondary, #5F5F5F)}._replyingTo_1d1jw_179{display:flex!important;align-items:center!important}._headerPosition-0_1d1jw_184{background-color:var(--call-primary-color, #434343)!important}._headerPosition-1_1d1jw_188{background-color:var(--for-primary-color, #cc6a6d)!important}._headerPosition-2_1d1jw_192{background-color:var(--against-primary-color, #7980bb)!important}._headerPosition-3_1d1jw_196{background-color:var(--third-position-color-primary, #9b9b9b)!important}._voteButtonPosition-1_1d1jw_200{color:var(--for-primary-color, #cc6a6d)!important}._voteButtonPosition-1_1d1jw_200 svg{fill:var(--for-primary-color, #cc6a6d)!important}._voteButtonPosition-2_1d1jw_207{color:var(--against-primary-color, #7980bb)!important}._voteButtonPosition-2_1d1jw_207 svg{fill:var(--against-primary-color, #7980bb)!important}._voteButtonPosition-3_1d1jw_214{color:var(--third-position-color-primary, #9b9b9b)!important}._voteButtonPosition-3_1d1jw_214 svg{fill:var(--third-position-color-primary, #9b9b9b)!important}@media(prefers-color-scheme:dark){._replyStyle_1d1jw_154{background-color:var(--text-tertiary, #fafafa)}._argumentStyle_1d1jw_225{background-color:var(--background-color-primary, white)}}
@@ -0,0 +1 @@
1
+ ._container_1k9w3_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_1k9w3_3 a{text-decoration:none!important;color:var(--text-primary, #222222)!important}._consultationImage_1k9w3_18{border-top-right-radius:var(--box-border-radius, 6px);border-top-left-radius:var(--box-border-radius, 6px);width:100%;aspect-ratio:16/9;object-fit:cover}._consultationTime_1k9w3_26{padding-top:var(--spacer-sm, calc(var(--space-unit, 1em) * .5))!important;padding-bottom:var(--spacer-sm, calc(var(--space-unit, 1em) * .5))!important;width:100%;background-color:var(--source-primary, #4485C3);font-size:var(--font-size-normal, 16px);font-weight:var(--font-weight-bold, 700);color:var(--text-light, white);text-align:center}._consultationTime_1k9w3_26._ended_1k9w3_36{background-color:var(--text-secondary, #5F5F5F)}._consultationTitle_1k9w3_40{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)}._consultationButtonContainer_1k9w3_49{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_1k9w3_49:hover{text-decoration:underline;text-decoration-color:var(--text-secondary, #5F5F5F)}._consultationButtonContainer_1k9w3_49 ._arrowIcon_1k9w3_61{margin-left:var(--spacer-xxs, calc(var(--space-unit, 1em) * .25))!important;transform:rotate(180deg);fill:var(--text-secondary, #5F5F5F)}._consultationInformations_1k9w3_67{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;border-top:1px solid var(--text-tertiary, #fafafa);min-height:50px}._consultationInformations_1k9w3_67 ._consultationLeft_1k9w3_78{display:flex!important}._consultationInformations_1k9w3_67 ._consultationGroupInformation_1k9w3_81{display:flex!important;align-items:center!important}._consultationInformations_1k9w3_67 ._consultationGroupInformation_1k9w3_81._consultationGroupRight_1k9w3_85{padding-right:var(--space-unit, 1em)!important}._consultationInformations_1k9w3_67 ._progressBarContainer_1k9w3_88{width:60%;display:flex!important;flex-direction:column!important;align-items:flex-end!important;font-size:var(--font-size-extra-small, 14px)}._consultationInformations_1k9w3_67 ._progressBarContainer_1k9w3_88 ._progress_1k9w3_88{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_1k9w3_67 ._progressBarContainer_1k9w3_88 ._bar_1k9w3_102{background-color:var(--call-primary-color, #434343)}._consultationInformations_1k9w3_67 ._progressBarContainer_1k9w3_88 ._totalVotes_1k9w3_105{margin-right:var(--spacer-xxs, calc(var(--space-unit, 1em) * .25))!important}._consultationInformations_1k9w3_67 ._progressBarContainer_1k9w3_88 ._totalVotesPercentage_1k9w3_108{margin-left:var(--spacer-xxs, calc(var(--space-unit, 1em) * .25))!important}._consultationInformations_1k9w3_67 ._consultationTextInformation_1k9w3_111{padding-right:var(--spacer-xxs, calc(var(--space-unit, 1em) * .25))!important}
@@ -1 +1 @@
1
- ._ltr_1k7lj_3{text-align:left}._editorContainer_1k7lj_7{color:var(--text-primary, #222222);line-height:var(--line-height-normal, 1.26em);font-weight:var(--font-weight-normal, 400);text-align:left}._editorInner_1k7lj_14{background:var(--background-color-primary, white);position:relative}._editorInner_1k7lj_14._editorInnerInactive_1k7lj_18{display:flex!important;justify-content:space-between!important}._editorPlaceholder_1k7lj_23{color:var(--text-primary, #222222);overflow:hidden;position:absolute;text-overflow:ellipsis;top:15px;font-size:var(--font-size-normal, 16px);-webkit-user-select:none;user-select:none;display:inline-block;pointer-events:none}._editorInput_1k7lj_35{min-height:25px;resize:none;font-size:var(--font-size-normal, 16px);position:relative;tab-size:1;outline:0;padding-top:var(--space-unit, 1em)!important;padding-bottom:var(--space-unit, 1em)!important;caret-color:var(--text-primary, #222222)}._editorInput_1k7lj_35._editorInputInactive_1k7lj_46{min-width:180px;width:100%}._editorTextBold_1k7lj_51{font-weight:var(--font-weight-bold, 700)}._editorTextItalic_1k7lj_55{font-style:italic}._editorTextUnderline_1k7lj_59{text-decoration:underline}._editorTextStrikethrough_1k7lj_63{text-decoration:line-through}._editorTextUnderlineStrikethrough_1k7lj_67{text-decoration:underline line-through}._editorParagraph_1k7lj_71{margin:0!important;margin-bottom:var(--spacer-xxs, calc(var(--space-unit, 1em) * .25))!important;position:relative}._editorParagraph_1k7lj_71:last-child{margin-bottom:0!important}._editorQuote_1k7lj_81{margin:0!important;padding-left:var(--space-unit, 1em)!important;font-size:var(--font-size-normal, 16px);color:var(--text-secondary, #5F5F5F);border-left-color:#ced0d4;border-left-width:4px;border-left-style:solid}._editorListOl_1k7lj_91{margin:0!important;margin-left:var(--spacer-sm, calc(var(--space-unit, 1em) * .5))!important;padding:var(--spacer-xxs, calc(var(--space-unit, 1em) * .25))!important;list-style-type:decimal!important}._editorListItem_1k7lj_98{margin-right:var(--space-unit, 1em)!important;margin-left:var(--space-unit, 1em)!important;margin-top:var(--spacer-sm, calc(var(--space-unit, 1em) * .5))!important;margin-bottom:var(--spacer-sm, calc(var(--space-unit, 1em) * .5))!important}._editorNestedListItem_1k7lj_105{list-style-type:none}pre::-webkit-scrollbar{background:transparent;width:10px}pre::-webkit-scrollbar-thumb{background:var(--text-secondary, #5F5F5F)}._sourcesBox_1k7lj_118{display:flex!important;justify-content:flex-start!important;align-items:center!important;margin-top:var(--spacer-sm, calc(var(--space-unit, 1em) * .5))!important;padding-right:0!important;padding-left:0!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}._sourceList_1k7lj_129{display:flex!important;flex-direction:column!important;justify-content:flex-start!important;align-items:flex-start!important;padding:0!important}._charactersCount_1k7lj_140{align-self:center;font-size:var(--font-size-small, 16px);color:var(--text-secondary, #5F5F5F);white-space:nowrap;margin-top:var(--spacer-sm, calc(var(--space-unit, 1em) * .5))!important}._editorInput_1k7lj_35 ol li::marker{content:normal!important}._editorInput_1k7lj_35 ul li::marker{content:normal!important}
1
+ ._ltr_1m7ly_3{text-align:left}._editorContainer_1m7ly_7{color:var(--text-primary, #222222);line-height:var(--line-height-normal, 1.26em);font-weight:var(--font-weight-normal, 400);text-align:left}._editorInner_1m7ly_14{background:var(--background-color-primary, white);position:relative}._editorInner_1m7ly_14._editorInnerInactive_1m7ly_18{display:flex!important;justify-content:space-between!important}._editorPlaceholder_1m7ly_23{color:var(--text-primary, #222222);overflow:hidden;position:absolute;text-overflow:ellipsis;top:15px;font-size:var(--font-size-normal, 16px);-webkit-user-select:none;user-select:none;display:inline-block;pointer-events:none}._editorInput_1m7ly_35{min-height:25px;resize:none;font-size:var(--font-size-normal, 16px);position:relative;tab-size:1;outline:0;padding-top:var(--space-unit, 1em)!important;padding-bottom:var(--space-unit, 1em)!important;caret-color:var(--text-primary, #222222)}._editorInput_1m7ly_35._editorInputInactive_1m7ly_46{min-width:180px;width:100%}._editorTextBold_1m7ly_51{font-weight:var(--font-weight-bold, 700)}._editorTextItalic_1m7ly_55{font-style:italic}._editorTextUnderline_1m7ly_59{text-decoration:underline}._editorTextStrikethrough_1m7ly_63{text-decoration:line-through}._editorTextUnderlineStrikethrough_1m7ly_67{text-decoration:underline line-through}._editorParagraph_1m7ly_71{margin:0!important;margin-bottom:var(--spacer-xxs, calc(var(--space-unit, 1em) * .25))!important;position:relative}._editorParagraph_1m7ly_71:last-child{margin-bottom:0!important}._editorQuote_1m7ly_81{margin:0!important;padding-left:var(--space-unit, 1em)!important;font-size:var(--font-size-normal, 16px);color:var(--text-secondary, #5F5F5F);border-left-color:#ced0d4;border-left-width:4px;border-left-style:solid}._editorListOl_1m7ly_91{margin:0!important;margin-left:var(--spacer-sm, calc(var(--space-unit, 1em) * .5))!important;padding:var(--spacer-xxs, calc(var(--space-unit, 1em) * .25))!important;list-style-type:decimal!important}._editorListItem_1m7ly_98{margin-right:var(--space-unit, 1em)!important;margin-left:var(--space-unit, 1em)!important;margin-top:var(--spacer-sm, calc(var(--space-unit, 1em) * .5))!important;margin-bottom:var(--spacer-sm, calc(var(--space-unit, 1em) * .5))!important}._editorNestedListItem_1m7ly_105{list-style-type:none}pre::-webkit-scrollbar{background:transparent;width:10px}pre::-webkit-scrollbar-thumb{background:var(--text-secondary, #5F5F5F)}._sourcesBox_1m7ly_118{display:flex!important;justify-content:flex-start!important;align-items:center!important;margin-top:var(--spacer-sm, calc(var(--space-unit, 1em) * .5))!important;padding-right:0!important;padding-left:0!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}._sourceList_1m7ly_129{display:flex!important;flex-direction:column!important;justify-content:flex-start!important;align-items:flex-start!important;padding:0!important}._charactersCount_1m7ly_140{align-self:center;font-size:var(--font-size-small, 16px);color:var(--text-secondary, #5F5F5F);white-space:nowrap;margin-top:var(--spacer-sm, calc(var(--space-unit, 1em) * .5))!important}
@@ -0,0 +1 @@
1
+ ._sectionBoxContainer_m9zal_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_m9zal_3{padding:var(--spacer-lg, calc(var(--space-unit, 1em) * 1.5))!important}}._sectionBoxContainer_m9zal_3._isMobile_m9zal_15{padding:var(--space-unit, 1em)!important}._header_m9zal_19{display:flex;justify-content:space-between;align-items:center;width:100%}._collapsible_m9zal_26{cursor:pointer}._iconLightArrow_m9zal_30{transition:transform .3s}._iconRotated_m9zal_34{transform:rotate(180deg)}._titleContainer_m9zal_38{display:flex;align-items:baseline;gap:.5em}._title_m9zal_38{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_m9zal_52{font-size:var(--font-size-small, 16px);color:var(--text-secondary, #5F5F5F)}._body_m9zal_57{padding-top:var(--space-unit, 1em)!important}
@@ -0,0 +1 @@
1
+ ._title_19ocx_3{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_19ocx_10{display:grid;gap:var(--space-unit, 1em)}._content_19ocx_10._contentMobile_19ocx_14{grid-template-columns:repeat(1,1fr)}._content_19ocx_10._contentTablet_19ocx_17{grid-template-columns:repeat(2,1fr)}._content_19ocx_10._contentDesktop_19ocx_20{grid-template-columns:repeat(3,1fr)}._listItem_19ocx_24{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_19ocx_24:hover{border:1px solid var(--text-primary, #222222)!important}
@@ -0,0 +1 @@
1
+ a._sourceListItem_1498g_3{display:flex;flex-direction:row;justify-content:flex-start;font-size:var(--font-size-extra-small, 14px);margin-top:5px;padding:5px;border:1px solid var(--background-color-secondary, #E8E8E8);border-radius:var(--box-border-radius, 6px);max-width:100%}a._sourceListItem_1498g_3 svg{margin-right:5px;flex-shrink:0!important;width:16px!important;height:16px!important}a._sourceListItem_1498g_3{color:var(--text-primary, #222222)!important;text-decoration:none!important;outline:none!important}._sourceListItemLink_1498g_26{display:-webkit-box;word-wrap:break-word;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis}._sourceListItemLink_1498g_26 span{margin-right:5px}
@@ -0,0 +1 @@
1
+ ._summaryContainer_1xdmt_3{display:flex!important;flex-direction:row;flex-wrap:wrap;align-items:stretch!important;gap:1em}@container (max-width: 767.98px){._summaryContainer_1xdmt_3{flex-direction:column!important}}._summaryContainer_1xdmt_3>div{flex:1;display:flex;flex-direction:column}._description_1xdmt_21{color:var(--text-secondary, #5F5F5F);font-size:var(--font-size-small, 16px);margin-bottom:1em}
@@ -0,0 +1 @@
1
+ ._box_5a37o_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}._stats_5a37o_14{display:flex!important;justify-content:flex-start!important;align-items:center;gap:10px}._stats_5a37o_14._withTag_5a37o_21{margin-bottom:.4em}._tag_5a37o_25{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_5a37o_44{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)}._emptySummaryText_5a37o_53{font-style:italic;color:var(--text-primary, #222222);font-size:var(--font-size-small, 16px);text-align:start;padding:10px 0}
@@ -0,0 +1 @@
1
+ ._voteBox_29yqs_3{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:center!important;width:100%}._voteResultsBox_29yqs_11{display:flex!important;flex-direction:column!important;padding:0!important;width:100%}._voteResults_29yqs_11{padding:0!important}._voteProgressHeader_29yqs_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_29yqs_35{margin-top:var(--spacer-md, calc(var(--space-unit, 1em) * .75))!important}._voteResultsNumberVoters_29yqs_39{display:flex!important;align-items:center!important;padding:0!important;font-size:var(--font-size-normal, 16px);color:var(--text-secondary, #5F5F5F)}._voteBoxFooter_29yqs_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_29yqs_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_29yqs_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_29yqs_74{grid-template-columns:1fr}._voteAction_29yqs_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_29yqs_78._buttonAlignLeft_29yqs_88{justify-content:flex-start!important}button._voteButton_29yqs_92,a._voteButton_29yqs_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_29yqs_103{justify-content:flex-start!important}._voteBoxShowResultContainer_29yqs_107{display:flex!important;flex-direction:row!important;justify-content:center;flex-wrap:wrap!important;margin-top:.3em}._voteBoxShowResult_29yqs_107{cursor:pointer}._voteBoxShowResult_29yqs_107 a{color:inherit;text-decoration:none;background:none!important}._voteBoxShowResult_29yqs_107 a:hover{text-decoration:none;background:none!important}._voteBoxShowResult_29yqs_107 a:focus:not(:focus-visible){outline:none;box-shadow:none}._voteBoxShowResult_29yqs_107 ._boldShowResult_29yqs_131{font-weight:var(--font-weight-bold, 700);color:var(--text-primary, #222222)}._outlined_29yqs_136{padding:7px 15px;border-radius:var(--box-border-radius, 6px);border:1px solid var(--text-primary, #222222)!important;white-space:nowrap}._voteButtonThesis_29yqs_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_29yqs_155{text-align:center!important}}._voteBoxActionsBody_29yqs_66 ._voteAction_29yqs_78:first-child ._voteButton_29yqs_92,._voteBoxActionsBody_29yqs_66 ._voteAction_29yqs_78:first-child ._voteButton_29yqs_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_29yqs_66 ._voteAction_29yqs_78:nth-child(2) ._voteButton_29yqs_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_29yqs_66 ._voteAction_29yqs_78:nth-child(2) ._voteButton_29yqs_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_29yqs_66 ._voteAction_29yqs_78:nth-child(3) ._voteButton_29yqs_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_29yqs_66 ._voteAction_29yqs_78:nth-child(3) ._voteButton_29yqs_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_29yqs_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_29yqs_194:focus:not(:focus-visible){outline:none;box-shadow:none}._sideIcon_29yqs_209 svg{margin-left:5px;fill:var(--text-primary, #222222)}._progress_29yqs_214{border-radius:10px;height:25px;color:var(--text-secondary, #5F5F5F)}._progressBar_29yqs_220{border-radius:10px;height:25px}._voteResults_29yqs_11>div:first-child ._progress_29yqs_214 ._progressBar_29yqs_220{background-color:var(--for-primary-color, #cc6a6d)!important}._voteResults_29yqs_11>div:nth-child(2) ._progress_29yqs_214 ._progressBar_29yqs_220{background-color:var(--against-primary-color, #7980bb)!important}._voteResults_29yqs_11 div:nth-child(3) ._progress_29yqs_214 ._progressBar_29yqs_220{background-color:var(--third-position-color-primary, #9b9b9b)!important}._voteCommentCounts_29yqs_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_29yqs_245{display:flex;align-items:center;gap:var(--spacer-sm, calc(var(--space-unit, 1em) * .5));font-size:var(--font-size-normal, 16px);color:var(--text-primary, #222222);white-space:nowrap}._debateNumberLabel_29yqs_254{white-space:nowrap}._showResultButton_29yqs_258{background:none;border:0;padding:0;font:inherit;color:inherit;cursor:pointer}._showResultButton_29yqs_258:focus:not(:focus-visible){outline:none;box-shadow:none}._voteResultInfoText_29yqs_271{font-size:var(--font-size-small, 16px);color:var(--text-secondary, #5F5F5F);text-align:left;width:100%;align-self:flex-start}
@@ -1,78 +1,76 @@
1
1
  import { jsx as o, jsxs as l, Fragment as h } from "react/jsx-runtime";
2
2
  import B from "classnames";
3
- import { useState as f, useEffect as le, useCallback as ne, Suspense as de, lazy as ce } from "react";
4
- import { useIntl as pe } from "react-intl";
3
+ import { useState as f, useEffect as ie, useCallback as ae, Suspense as le, lazy as ne } from "react";
4
+ import { useIntl as de } from "react-intl";
5
5
  import s from "./Argument.module.scss.js";
6
- import { ReplyFooter as me } from "./ReplyFooter.js";
7
- import { useRichContent as ue } from "./useRichContent.js";
8
- import { useAuth as he } from "../../auth/use_auth/useAuth.js";
9
- import { useConfig as fe } from "../../data/config_provider/useConfig.js";
10
- import { useList as ye } from "../../list/list_provider/useList.js";
11
- import { useTranslatedContent as D } from "../../translation/translated_content/useTranslatedContent.js";
12
- import { SourceListItem as _e } from "../../source/source_list_item/SourceListItem.js";
13
- import { HashScroll as ge } from "../../tools/hash_scroll/HashScroll.js";
14
- import { ContentHeader as be } from "../../user_content/content_header/ContentHeader.js";
15
- import { Icon as E } from "../../icons/icon/Icon.js";
16
- import { ReadMore as Me } from "../../text/read_more/ReadMore.js";
17
- import { TranslationButton as ve } from "../../translation/translation_button/TranslationButton.js";
18
- import { ContentFooter as Ie } from "../../user_content/content_footer/ContentFooter.js";
19
- import { VoteButton as Ce } from "../../vote/vote_button/VoteButton.js";
20
- import { VotePaginatedList as Se } from "../../list/paginated_list/VotePaginatedList.js";
21
- import { UserContentSkeleton as Re } from "../../skeleton/user_content_skeleton/UserContentSkeleton.js";
22
- import { Button as Te } from "../../action/button/Button.js";
23
- const Ne = ce(() => import("../../input/argument_input/index.js").then((e) => ({ default: e.ArgumentInput }))), P = (e) => e?.replace(/ /g, " "), we = ({
6
+ import { ReplyFooter as ce } from "./ReplyFooter.js";
7
+ import { useRichContent as pe } from "./useRichContent.js";
8
+ import { useAuth as me } from "../../auth/use_auth/useAuth.js";
9
+ import { useConfig as ue } from "../../data/config_provider/useConfig.js";
10
+ import { useTranslatedContent as $ } from "../../translation/translated_content/useTranslatedContent.js";
11
+ import { SourceListItem as he } from "../../source/source_list_item/SourceListItem.js";
12
+ import { HashScroll as fe } from "../../tools/hash_scroll/HashScroll.js";
13
+ import { ContentHeader as ye } from "../../user_content/content_header/ContentHeader.js";
14
+ import { Icon as D } from "../../icons/icon/Icon.js";
15
+ import { ReadMore as ge } from "../../text/read_more/ReadMore.js";
16
+ import { TranslationButton as _e } from "../../translation/translation_button/TranslationButton.js";
17
+ import { ContentFooter as be } from "../../user_content/content_footer/ContentFooter.js";
18
+ import { VoteButton as Me } from "../../vote/vote_button/VoteButton.js";
19
+ import { VotePaginatedList as ve } from "../../list/paginated_list/VotePaginatedList.js";
20
+ import { UserContentSkeleton as Ce } from "../../skeleton/user_content_skeleton/UserContentSkeleton.js";
21
+ import { Button as Ie } from "../../action/button/Button.js";
22
+ const Se = ne(() => import("../../input/argument_input/index.js").then((e) => ({ default: e.ArgumentInput }))), E = (e) => e?.replace(/ /g, " "), Re = ({
24
23
  argument: e,
25
24
  argumentReplies: n,
26
25
  nestingLevel: y = 0,
27
- maxNestingLevel: I = 2,
28
- groupType: C,
26
+ groupType: I,
29
27
  groupName: S,
30
- positions: _ = [],
31
- disableLinks: F = !1,
28
+ positions: g = [],
29
+ disableLinks: P = !1,
32
30
  parentArgument: d,
33
- flashParent: j,
34
- expandable: G,
35
- disabled: g = !1,
31
+ flashParent: F,
32
+ expandable: j,
33
+ disabled: _ = !1,
36
34
  hideFooter: R = !1,
37
35
  hideReplies: T,
38
- vote: H,
39
- fixedContentHeight: V = !1,
40
- enableEdition: z = !0,
41
- enableDeletion: O = !0,
42
- deleteListId: Y,
43
- showModerationFeedback: q,
44
- lineCount: J = 5,
45
- replyRedirectUrl: K,
46
- hideContent: Q = !1
36
+ vote: G,
37
+ fixedContentHeight: H = !1,
38
+ enableEdition: V = !0,
39
+ enableDeletion: z = !0,
40
+ deleteListId: O,
41
+ showModerationFeedback: Y,
42
+ lineCount: q = 5,
43
+ replyRedirectUrl: J,
44
+ hideContent: K = !1
47
45
  }) => {
48
- const i = pe(), { isLoggedIn: W, currentUser: c } = he(), N = c?.moderation_status === "banned", r = fe(), X = ye(), [p, b] = f(!1), [Z, w] = f(!1), [ee, te] = f(!1), A = ue(e), [m, x] = f(), u = D(
46
+ const i = de(), { isLoggedIn: Q, currentUser: c } = me(), N = c?.moderation_status === "banned", r = ue(), [p, b] = f(!1), [W, w] = f(!1), [X, Z] = f(!1), x = pe(e), [m, M] = f(), u = $(
49
47
  e.content,
50
48
  e.language,
51
49
  "content",
52
50
  e.translation_entries
53
- ), oe = D(
51
+ ), ee = $(
54
52
  e.position?.name,
55
53
  e.position?.language,
56
54
  "name",
57
55
  e.position?.translation_entries
58
- ), M = `argument_${e.id}`, v = e.position && _?.map((t) => t.id).indexOf(e.position.id) + 1;
59
- le(() => {
60
- n !== void 0 && ae();
56
+ ), v = `argument_${e.id}`, C = e.position && g?.map((t) => t.id).indexOf(e.position.id) + 1;
57
+ ie(() => {
58
+ n !== void 0 && re();
61
59
  }, [n]);
62
- const se = (t) => {
63
- if (M === t) {
64
- const $ = document.getElementById(t);
65
- $ && $.scrollIntoView({ behavior: "smooth" }), w(!0);
60
+ const te = (t) => {
61
+ if (v === t) {
62
+ const U = document.getElementById(t);
63
+ U && U.scrollIntoView({ behavior: "smooth" }), w(!0);
66
64
  }
65
+ }, A = () => {
66
+ Z((t) => !t);
67
67
  }, L = () => {
68
- te((t) => !t);
69
- }, k = () => {
70
- b((t) => !t), x([]);
71
- }, re = (t) => {
68
+ b((t) => !t), M([]);
69
+ }, oe = (t) => {
72
70
  if (!m?.find((a) => a.id === t.id))
73
71
  return t;
74
- }, ie = ne((t, a) => /* @__PURE__ */ o(
75
- _e,
72
+ }, se = ae((t, a) => /* @__PURE__ */ o(
73
+ he,
76
74
  {
77
75
  publisher: t.publisher,
78
76
  url: t.source_url,
@@ -80,54 +78,53 @@ const Ne = ce(() => import("../../input/argument_input/index.js").then((e) => ({
80
78
  index: a
81
79
  },
82
80
  a
83
- ), []), ae = () => {
81
+ ), []), re = () => {
84
82
  if (n && Array.isArray(n)) {
85
83
  const t = n.filter(
86
84
  (a) => a.reply_to_id === e.id
87
85
  );
88
- t.length > 0 && (x(t), b(!0));
86
+ t.length > 0 && (M(t), b(!0));
89
87
  }
90
- }, U = (t = null) => /* @__PURE__ */ o(
91
- Ae,
88
+ }, k = (t = null) => /* @__PURE__ */ o(
89
+ Te,
92
90
  {
93
91
  ...t ? { argument: t } : {},
94
92
  nestingLevel: y + 1,
95
- maxNestingLevel: I,
96
- disabled: g,
93
+ disabled: _,
97
94
  groupName: S,
98
- groupType: C,
99
- positions: _,
95
+ groupType: I,
96
+ positions: g,
100
97
  argumentReplies: n,
101
98
  parentArgument: e,
102
- flashParent: (a) => se(`argument_${a}`)
99
+ flashParent: (a) => te(`argument_${a}`)
103
100
  }
104
101
  );
105
- return /* @__PURE__ */ l(ge, { elementId: M, onScroll: () => w(!0), children: [
102
+ return /* @__PURE__ */ l(fe, { elementId: v, onScroll: () => w(!0), children: [
106
103
  /* @__PURE__ */ l(
107
104
  "div",
108
105
  {
109
106
  className: B(
110
107
  s.argument,
111
108
  {
112
- [s.flash]: Z,
109
+ [s.flash]: W,
113
110
  [s.argumentReply]: e.is_reply === !0
114
111
  },
115
112
  s[`level-${y}`],
116
- s[`position-${!(e.author.role === "editor" || e.author.role === "moderator") && v}`]
113
+ s[`position-${!(e.author.role === "editor" || e.author.role === "moderator") && C}`]
117
114
  ),
118
- id: M,
115
+ id: v,
119
116
  children: [
120
117
  /* @__PURE__ */ o(
121
- be,
118
+ ye,
122
119
  {
123
120
  selectedContent: e.is_selected,
124
121
  author: e.author,
125
- tag: (e.author.role === "editor" || e.author.role === "moderator") && e.is_reply ? null : oe.translatedContent,
122
+ tag: (e.author.role === "editor" || e.author.role === "moderator") && e.is_reply ? null : ee.translatedContent,
126
123
  date: e.created_at,
127
- tagClassName: s[`headerPosition-${v}`],
128
- disableLinks: F,
124
+ tagClassName: s[`headerPosition-${C}`],
125
+ disableLinks: P,
129
126
  isDeleted: e.is_deleted,
130
- showModerationFeedback: q ?? (e.status === "rejected" && r.moderation?.showFeedback === !0),
127
+ showModerationFeedback: Y ?? (e.status === "rejected" && r.moderation?.showFeedback === !0),
131
128
  moderationReason: e.moderation_entry?.moderation_reason,
132
129
  moderationNotes: e.moderation_entry?.moderator_notes,
133
130
  moderationPolicyUrl: r.provider?.userGuideUrl
@@ -136,7 +133,7 @@ const Ne = ce(() => import("../../input/argument_input/index.js").then((e) => ({
136
133
  e.is_deleted ? /* @__PURE__ */ o("div", { className: s.argumentDeletedBody, children: i.formatMessage({
137
134
  id: "info.deleted_by_user",
138
135
  defaultMessage: "Content deleted by the user"
139
- }) }) : Q ? /* @__PURE__ */ o("div", { className: s.argumentDeletedBody, children: i.formatMessage({
136
+ }) }) : K ? /* @__PURE__ */ o("div", { className: s.argumentDeletedBody, children: i.formatMessage({
140
137
  id: "argument.argument.content_deleted",
141
138
  defaultMessage: "This content has been removed."
142
139
  }) }) : /* @__PURE__ */ l(h, { children: [
@@ -144,14 +141,14 @@ const Ne = ce(() => import("../../input/argument_input/index.js").then((e) => ({
144
141
  "div",
145
142
  {
146
143
  className: B(s.argumentBody, {
147
- [s.fixedHeight]: r?.layout?.showAllArgumentInEmbed !== !0 ? V : !1
144
+ [s.fixedHeight]: r?.layout?.showAllArgumentInEmbed !== !0 ? H : !1
148
145
  }),
149
146
  children: [
150
147
  e.is_reply && d && /* @__PURE__ */ l(
151
148
  "div",
152
149
  {
153
150
  className: s.replyTo,
154
- onClick: () => j(d.id),
151
+ onClick: () => F(d.id),
155
152
  children: [
156
153
  i.formatMessage({
157
154
  id: "info.replying_to",
@@ -162,35 +159,35 @@ const Ne = ce(() => import("../../input/argument_input/index.js").then((e) => ({
162
159
  id: "info.deleted",
163
160
  defaultMessage: "Deleted"
164
161
  }) : d.author.full_name,
165
- /* @__PURE__ */ o(E, { name: "chat", height: 16 })
162
+ /* @__PURE__ */ o(D, { name: "chat", height: 16 })
166
163
  ] })
167
164
  ]
168
165
  }
169
166
  ),
170
167
  /* @__PURE__ */ o(
171
- Me,
168
+ ge,
172
169
  {
173
170
  content: /* @__PURE__ */ l(h, { children: [
174
171
  e.is_edited && /* @__PURE__ */ o("div", { className: s.edited, children: i.formatMessage({
175
172
  id: "argument.argument.updated",
176
173
  defaultMessage: "Updated argument"
177
174
  }) }),
178
- A && !u.isTranslated ? /* @__PURE__ */ o(
175
+ x && !u.isTranslated ? /* @__PURE__ */ o(
179
176
  "div",
180
177
  {
181
178
  className: s.argumentContent,
182
- dangerouslySetInnerHTML: { __html: P(A) }
179
+ dangerouslySetInnerHTML: { __html: E(x) }
183
180
  }
184
- ) : /* @__PURE__ */ o("div", { className: s.argumentContent, children: P(u.translatedContent) }),
181
+ ) : /* @__PURE__ */ o("div", { className: s.argumentContent, children: E(u.translatedContent) }),
185
182
  u.isTranslated && /* @__PURE__ */ o(
186
- ve,
183
+ _e,
187
184
  {
188
185
  language: e.language,
189
186
  callback: () => u.toggleContent()
190
187
  }
191
188
  )
192
189
  ] }),
193
- lineCount: r?.layout?.showAllArgumentInEmbed !== !0 ? J : void 0,
190
+ lineCount: r?.layout?.showAllArgumentInEmbed !== !0 ? q : void 0,
194
191
  readMoreText: i.formatMessage({
195
192
  id: "action.read_more",
196
193
  defaultMessage: "Read more"
@@ -199,27 +196,27 @@ const Ne = ce(() => import("../../input/argument_input/index.js").then((e) => ({
199
196
  id: "action.read_less",
200
197
  defaultMessage: "Read less"
201
198
  }),
202
- expandable: r?.layout?.showAllArgumentInEmbed !== !0 ? G : !1,
199
+ expandable: r?.layout?.showAllArgumentInEmbed !== !0 ? j : !1,
203
200
  readMoreClassName: e.is_reply ? s.replyStyle : s.argumentStyle
204
201
  }
205
202
  )
206
203
  ]
207
204
  }
208
205
  ),
209
- e.sources?.length > 0 && /* @__PURE__ */ o("div", { className: s.argumentSourcesList, children: e.sources.map(ie) })
206
+ e.sources?.length > 0 && /* @__PURE__ */ o("div", { className: s.argumentSourcesList, children: e.sources.map(se) })
210
207
  ] }),
211
208
  !R && !e.is_deleted && /* @__PURE__ */ o(
212
- Ie,
209
+ be,
213
210
  {
214
211
  resource: e,
215
- disabled: g || e.status === "rejected" || !W && r?.actions?.disableInputForVisitor === !0 || N,
212
+ disabled: _ || e.status === "rejected" || !Q && r?.actions?.disableInputForVisitor === !0 || N,
216
213
  reportType: "Message",
217
214
  softDelete: r.actions?.softDelete,
218
215
  deleteType: "messages",
219
- deleteListId: Y,
220
- enableReply: y <= I || c.role === "editor" || c.role === "moderator",
221
- handleReplyTo: L,
222
- replyRedirectUrl: K,
216
+ deleteListId: O,
217
+ enableReply: y <= 2 || c.role === "editor" || c.role === "moderator",
218
+ handleReplyTo: A,
219
+ replyRedirectUrl: J,
223
220
  shareUrl: `https://app.logora.fr/share/a/${e.id}`,
224
221
  shareTitle: i.formatMessage({
225
222
  id: "share.argument.title",
@@ -234,28 +231,28 @@ const Ne = ce(() => import("../../input/argument_input/index.js").then((e) => ({
234
231
  showShareText: !0,
235
232
  showShareButton: r?.actions?.hideShareButton !== !0,
236
233
  enableReport: !(e.score === 100 && e.manual_score),
237
- enableEdition: z,
238
- enableDeletion: O,
234
+ enableEdition: V,
235
+ enableDeletion: z,
239
236
  children: /* @__PURE__ */ o(
240
- Ce,
237
+ Me,
241
238
  {
242
239
  voteableType: "Message",
243
240
  voteableId: e.id,
244
241
  totalUpvote: e.upvotes,
245
242
  totalDownvote: 0,
246
- activeClassName: s[`voteButtonPosition-${v}`],
243
+ activeClassName: s[`voteButtonPosition-${C}`],
247
244
  disabled: e.status === "rejected" || c?.id === e?.author?.id || N
248
245
  }
249
246
  )
250
247
  }
251
248
  ),
252
249
  !R && !T && /* @__PURE__ */ o(
253
- me,
250
+ ce,
254
251
  {
255
252
  numberReplies: e.number_replies,
256
253
  repliesAuthors: e.replies_authors,
257
254
  expandReplies: p,
258
- onToggleReplies: k,
255
+ onToggleReplies: L,
259
256
  isReply: e.is_reply
260
257
  }
261
258
  )
@@ -263,20 +260,19 @@ const Ne = ce(() => import("../../input/argument_input/index.js").then((e) => ({
263
260
  }
264
261
  ),
265
262
  !T && /* @__PURE__ */ l(h, { children: [
266
- ee && /* @__PURE__ */ o(de, { fallback: null, children: /* @__PURE__ */ o(
267
- Ne,
263
+ X && /* @__PURE__ */ o(le, { fallback: null, children: /* @__PURE__ */ o(
264
+ Se,
268
265
  {
269
266
  groupId: e.group_id,
270
- groupType: C,
267
+ groupType: I,
271
268
  groupName: S,
272
- positions: _,
269
+ positions: g,
273
270
  parentId: e.id,
274
- positionId: H?.position_id,
275
- disabled: g,
271
+ positionId: G?.position_id,
272
+ disabled: _,
276
273
  hideSourceAction: r?.actions?.disableUserSources || !1,
277
274
  onSubmit: (t) => {
278
- const a = `argument_${e.id}_reply_list`;
279
- X.add(a, [t]), L(), b(!0);
275
+ A(), M([t]), b(!0);
280
276
  },
281
277
  isReply: !0,
282
278
  avatarSize: 40,
@@ -289,13 +285,13 @@ const Ne = ce(() => import("../../input/argument_input/index.js").then((e) => ({
289
285
  },
290
286
  `Reply${e.id}`
291
287
  ) }),
292
- m?.length > 0 && p && /* @__PURE__ */ o("div", { className: s.repliesList, children: m.map((t) => U(t)) }),
288
+ m?.length > 0 && p && /* @__PURE__ */ o("div", { className: s.repliesList, children: m.map((t) => k(t)) }),
293
289
  p && /* @__PURE__ */ o("div", { className: s.repliesList, children: /* @__PURE__ */ o(
294
- Se,
290
+ ve,
295
291
  {
296
292
  voteableType: "Message",
297
293
  currentListId: `argument_${e.id}_reply_list`,
298
- loadingComponent: /* @__PURE__ */ o(Re, {}),
294
+ loadingComponent: /* @__PURE__ */ o(Ce, {}),
299
295
  resource: "messages",
300
296
  sort: "+created_at",
301
297
  filters: {
@@ -307,16 +303,16 @@ const Ne = ce(() => import("../../input/argument_input/index.js").then((e) => ({
307
303
  display: "column",
308
304
  resourcePropName: "argument",
309
305
  emptyListComponent: /* @__PURE__ */ o(h, {}),
310
- transformData: (t) => re(t),
311
- children: U(e)
306
+ transformData: (t) => oe(t),
307
+ children: k(e)
312
308
  }
313
309
  ) }),
314
310
  m?.length > 0 && !p && /* @__PURE__ */ o("div", { className: s.repliesList, children: e.number_replies > 1 && /* @__PURE__ */ o("div", { className: s.readMoreLink, children: /* @__PURE__ */ o(
315
- Te,
311
+ Ie,
316
312
  {
317
313
  role: "link",
318
- rightIcon: /* @__PURE__ */ o(E, { name: "lightArrow", height: 10, width: 10 }),
319
- handleClick: k,
314
+ rightIcon: /* @__PURE__ */ o(D, { name: "lightArrow", height: 10, width: 10 }),
315
+ handleClick: L,
320
316
  children: i.formatMessage({
321
317
  id: "argument.argument.see_more",
322
318
  defaultMessage: "See more"
@@ -325,8 +321,8 @@ const Ne = ce(() => import("../../input/argument_input/index.js").then((e) => ({
325
321
  ) }) })
326
322
  ] })
327
323
  ] });
328
- }, Ae = we;
324
+ }, Te = Re;
329
325
  export {
330
- we as Argument,
331
- Ae as ArgumentContainer
326
+ Re as Argument,
327
+ Te as ArgumentContainer
332
328
  };
@@ -1,34 +1,34 @@
1
- import '../../../assets/components/argument/argument/Argument.module-QZdPjj_i.css';const e = "_argument_1dp33_3", t = "_edited_1dp33_16", o = "_argumentReply_1dp33_23", _ = "_flash_1dp33_73", n = "_argumentBody_1dp33_94", i = "_argumentDeletedBody_1dp33_99", d = "_fixedHeight_1dp33_104", s = "_argumentContent_1dp33_122", p = "_argumentSourcesList_1dp33_131", r = "_repliesList_1dp33_144", l = "_readMoreLink_1dp33_148", a = "_replyStyle_1dp33_154", u = "_replyTo_1dp33_158", g = "_replyingTo_1dp33_179", y = "_argumentStyle_1dp33_225", m = {
1
+ import '../../../assets/components/argument/argument/Argument.module-gLfNRLks.css';const e = "_argument_1d1jw_3", t = "_edited_1d1jw_16", o = "_argumentReply_1d1jw_23", _ = "_flash_1d1jw_73", n = "_argumentBody_1d1jw_94", i = "_argumentDeletedBody_1d1jw_99", d = "_fixedHeight_1d1jw_104", s = "_argumentContent_1d1jw_122", r = "_argumentSourcesList_1d1jw_131", l = "_repliesList_1d1jw_144", a = "_readMoreLink_1d1jw_148", u = "_replyStyle_1d1jw_154", j = "_replyTo_1d1jw_158", w = "_replyingTo_1d1jw_179", g = "_argumentStyle_1d1jw_225", y = {
2
2
  argument: e,
3
3
  edited: t,
4
4
  argumentReply: o,
5
- "position-1": "_position-1_1dp33_34",
6
- "position-2": "_position-2_1dp33_37",
7
- "position-3": "_position-3_1dp33_40",
8
- "level-1": "_level-1_1dp33_43",
9
- "level-2": "_level-2_1dp33_46",
10
- "level-3": "_level-3_1dp33_49",
11
- "level-4": "_level-4_1dp33_52",
12
- "level-5": "_level-5_1dp33_55",
5
+ "position-1": "_position-1_1d1jw_34",
6
+ "position-2": "_position-2_1d1jw_37",
7
+ "position-3": "_position-3_1d1jw_40",
8
+ "level-1": "_level-1_1d1jw_43",
9
+ "level-2": "_level-2_1d1jw_46",
10
+ "level-3": "_level-3_1d1jw_49",
11
+ "level-4": "_level-4_1d1jw_52",
12
+ "level-5": "_level-5_1d1jw_55",
13
13
  flash: _,
14
14
  argumentBody: n,
15
15
  argumentDeletedBody: i,
16
16
  fixedHeight: d,
17
17
  argumentContent: s,
18
- argumentSourcesList: p,
19
- repliesList: r,
20
- readMoreLink: l,
21
- replyStyle: a,
22
- replyTo: u,
23
- replyingTo: g,
24
- "headerPosition-0": "_headerPosition-0_1dp33_184",
25
- "headerPosition-1": "_headerPosition-1_1dp33_188",
26
- "headerPosition-2": "_headerPosition-2_1dp33_192",
27
- "headerPosition-3": "_headerPosition-3_1dp33_196",
28
- "voteButtonPosition-1": "_voteButtonPosition-1_1dp33_200",
29
- "voteButtonPosition-2": "_voteButtonPosition-2_1dp33_207",
30
- "voteButtonPosition-3": "_voteButtonPosition-3_1dp33_214",
31
- argumentStyle: y
18
+ argumentSourcesList: r,
19
+ repliesList: l,
20
+ readMoreLink: a,
21
+ replyStyle: u,
22
+ replyTo: j,
23
+ replyingTo: w,
24
+ "headerPosition-0": "_headerPosition-0_1d1jw_184",
25
+ "headerPosition-1": "_headerPosition-1_1d1jw_188",
26
+ "headerPosition-2": "_headerPosition-2_1d1jw_192",
27
+ "headerPosition-3": "_headerPosition-3_1d1jw_196",
28
+ "voteButtonPosition-1": "_voteButtonPosition-1_1d1jw_200",
29
+ "voteButtonPosition-2": "_voteButtonPosition-2_1d1jw_207",
30
+ "voteButtonPosition-3": "_voteButtonPosition-3_1d1jw_214",
31
+ argumentStyle: g
32
32
  };
33
33
  export {
34
34
  e as argument,
@@ -36,15 +36,15 @@ export {
36
36
  s as argumentContent,
37
37
  i as argumentDeletedBody,
38
38
  o as argumentReply,
39
- p as argumentSourcesList,
40
- y as argumentStyle,
41
- m as default,
39
+ r as argumentSourcesList,
40
+ g as argumentStyle,
41
+ y as default,
42
42
  t as edited,
43
43
  d as fixedHeight,
44
44
  _ as flash,
45
- l as readMoreLink,
46
- r as repliesList,
47
- a as replyStyle,
48
- u as replyTo,
49
- g as replyingTo
45
+ a as readMoreLink,
46
+ l as repliesList,
47
+ u as replyStyle,
48
+ j as replyTo,
49
+ w as replyingTo
50
50
  };