@logora/debate 0.4.41 → 0.4.42

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 (196) hide show
  1. package/dist/assets/components/action/back_link/BackLink.module-nMAM5nvb.css +1 -0
  2. package/dist/assets/components/action/button/Button.module-BXkLuURK.css +1 -0
  3. package/dist/assets/components/action/icon_text_link/IconTextLink.module-B5PF-MMK.css +1 -0
  4. package/dist/assets/components/argument/argument/Argument.module-QZdPjj_i.css +1 -0
  5. package/dist/assets/components/argument/argument/ReplyFooter.module-x9Xlkt3Z.css +1 -0
  6. package/dist/assets/components/auth/sso_form/SSOForm.module-D5v2TrOv.css +1 -0
  7. package/dist/assets/components/consultation/consultation_box/ConsultationBox.module-DjNiVt-p.css +1 -0
  8. package/dist/assets/components/debate/debate_box/DebateBox.module-DTLafpl4.css +1 -0
  9. package/dist/assets/components/dialog/dialog_box/DialogBox.module-DKztqqmb.css +1 -0
  10. package/dist/assets/components/dialog/dropdown/Dropdown.module-FG2Sqrqs.css +1 -0
  11. package/dist/assets/components/dialog/modal/Modal.module-CIj-xCzY.css +1 -0
  12. package/dist/assets/components/dialog/toast/Toast.module-DJ2wSlJT.css +1 -0
  13. package/dist/assets/components/dialog/tooltip/Tooltip.module-zMXumgnX.css +1 -0
  14. package/dist/assets/components/embed/embed_header/EmbedHeader.module-CoyRY_jw.css +1 -0
  15. package/dist/assets/components/follow/follow_button/FollowButton.module-C9YXM8AM.css +1 -0
  16. package/dist/assets/components/gamification/badge_box/BadgeBox.module-BnskGH9b.css +1 -0
  17. package/dist/assets/components/gamification/point_box/{PointBox.module-Dj6cCgSB.css → PointBox.module-BlHdQyht.css} +1 -1
  18. package/dist/assets/components/information/information_box/InformationBox.module-B_MiEPn7.css +1 -0
  19. package/dist/assets/components/input/text_editor/TextEditor.module-CxuSL3l3.css +1 -0
  20. package/dist/assets/components/input/text_editor/plugins/ToolbarPlugin.module-CbPmMciY.css +1 -0
  21. package/dist/assets/components/input/toggle_position/TogglePosition.module-DDIigbfA.css +1 -0
  22. package/dist/assets/components/list/paginated_list/action_bar/ActionBar.module-DvwCbS9k.css +1 -0
  23. package/dist/assets/components/navigation/tabs/Tabs.module-CtDi0tAd.css +1 -0
  24. package/dist/assets/components/notification/notification_item/NotificationItem.module-BWdhgSy4.css +1 -0
  25. package/dist/assets/components/notification/notification_menu/NotificationMenu.module-BQwbvRIV.css +1 -0
  26. package/dist/assets/components/progress/progress_bar/ProgressBar.module-Dy-27Wf9.css +1 -0
  27. package/dist/assets/components/proposal/proposal_box/ProposalBox.module-Dm8XDnr1.css +1 -0
  28. package/dist/assets/components/section/section_box/SectionBox.module-qQs4B6bf.css +1 -0
  29. package/dist/assets/components/share/share_button/{ShareButton.module-BnVEYTzr.css → ShareButton.module-BS6STEUD.css} +1 -1
  30. package/dist/assets/components/skeleton/user_content_skeleton/UserContentSkeleton.module-DhZm1xTr.css +1 -0
  31. package/dist/assets/components/source/context_source_box/ContextSourceBox.module-78Gxjx0w.css +1 -0
  32. package/dist/assets/components/source/context_source_list/ContextSourceList.module-DUPbI-wb.css +1 -0
  33. package/dist/assets/components/source/source_box/SourceBox.module-Cu_m3E85.css +1 -0
  34. package/dist/assets/components/source/source_list_item/SourceListItem.module-fm_uHuY4.css +1 -0
  35. package/dist/assets/components/suggestion/suggestion_banner/SuggestionBanner.module-D37NVZLS.css +1 -0
  36. package/dist/assets/components/suggestion/suggestion_box/SuggestionBox.module-DHxoF0oe.css +1 -0
  37. package/dist/assets/components/suggestion/suggestion_input/SuggestionInput.module-BsEj7sF3.css +1 -0
  38. package/dist/assets/components/summary/argument_summary_box/ArgumentSummaryBox.module-DLcsyMSD.css +1 -0
  39. package/dist/assets/components/summary/keyword_box/KeywordBox.module-DHkYfW0l.css +1 -0
  40. package/dist/assets/components/summary/summary_box/SummaryBox.module-Dr9PevSJ.css +1 -0
  41. package/dist/assets/components/text/read_more/ReadMore.module-Ni_Mm8o8.css +1 -0
  42. package/dist/assets/components/user/author_box/AuthorBox.module-CbH2S-MT.css +1 -0
  43. package/dist/assets/components/user/update_user_info_modal/UpdateUserInfoModal.module-DJym6u4r.css +1 -0
  44. package/dist/assets/components/user/user_box/UserBox.module-DGKK1afI.css +1 -0
  45. package/dist/assets/components/user/user_box_small/UserBoxSmall.module-ibAw9gGE.css +1 -0
  46. package/dist/assets/components/user_content/content_footer/ContentFooter.module-ax3j7VNT.css +1 -0
  47. package/dist/assets/components/user_content/content_header/ContentHeader.module-B0VwpU-R.css +1 -0
  48. package/dist/assets/components/user_content/summary_content_box/SummaryContentBox.module-DdzWnPjq.css +1 -0
  49. package/dist/assets/components/user_content/use_report_content/ReportModal.module-BxF-D5C5.css +1 -0
  50. package/dist/assets/components/vote/suggestion_vote_box/SuggestionVoteBox.module-CZeQKWIw.css +1 -0
  51. package/dist/assets/components/vote/vote_box/VoteBox.module-D5sSSHpi.css +1 -0
  52. package/dist/assets/components/vote/vote_button/VoteButton.module-aP9ZrGSd.css +1 -0
  53. package/dist/components/action/back_link/BackLink.module.scss.js +1 -1
  54. package/dist/components/action/button/Button.module.scss.js +9 -9
  55. package/dist/components/action/icon_text_link/IconTextLink.module.scss.js +2 -2
  56. package/dist/components/argument/argument/Argument.js +112 -120
  57. package/dist/components/argument/argument/Argument.module.scss.js +40 -40
  58. package/dist/components/argument/argument/ReplyFooter.module.scss.js +8 -8
  59. package/dist/components/auth/auth_initializer/AuthInitializer.js +41 -59
  60. package/dist/components/auth/providers/FormAuth.js +3 -6
  61. package/dist/components/auth/providers/PasswordAuth.js +6 -6
  62. package/dist/components/auth/sso_form/SSOForm.module.scss.js +20 -20
  63. package/dist/components/auth/use_auth/useAuthActions.js +24 -24
  64. package/dist/components/consultation/consultation_box/ConsultationBox.js +3 -4
  65. package/dist/components/consultation/consultation_box/ConsultationBox.module.scss.js +25 -25
  66. package/dist/components/debate/debate_box/DebateBox.module.scss.js +20 -20
  67. package/dist/components/dialog/dialog_box/DialogBox.module.scss.js +14 -14
  68. package/dist/components/dialog/dropdown/Dropdown.js +17 -19
  69. package/dist/components/dialog/dropdown/Dropdown.module.scss.js +13 -17
  70. package/dist/components/dialog/modal/Modal.module.scss.js +9 -9
  71. package/dist/components/dialog/toast/Toast.module.scss.js +18 -18
  72. package/dist/components/dialog/tooltip/Tooltip.module.scss.js +8 -8
  73. package/dist/components/embed/embed_header/EmbedHeader.module.scss.js +18 -18
  74. package/dist/components/follow/follow_button/FollowButton.module.scss.js +1 -1
  75. package/dist/components/forms/use_form_validation/useFormValidation.js +1 -1
  76. package/dist/components/gamification/badge_box/BadgeBox.module.scss.js +18 -18
  77. package/dist/components/gamification/point_box/PointBox.module.scss.js +1 -1
  78. package/dist/components/information/information_box/InformationBox.module.scss.js +4 -4
  79. package/dist/components/input/argument_input/ArgumentInput.js +167 -172
  80. package/dist/components/input/text_editor/TextEditor.js +47 -49
  81. package/dist/components/input/text_editor/TextEditor.module.scss.js +28 -28
  82. package/dist/components/input/text_editor/plugins/ToolbarPlugin.js +94 -143
  83. package/dist/components/input/text_editor/plugins/ToolbarPlugin.module.scss.js +19 -19
  84. package/dist/components/input/toggle_position/TogglePosition.module.scss.js +4 -4
  85. package/dist/components/list/paginated_list/PaginatedList.js +124 -134
  86. package/dist/components/list/paginated_list/action_bar/ActionBar.module.scss.js +12 -12
  87. package/dist/components/navbar/navbar_modal/NavbarModal.js +14 -14
  88. package/dist/components/navigation/tabs/Tabs.js +24 -85
  89. package/dist/components/navigation/tabs/Tabs.module.scss.js +9 -19
  90. package/dist/components/notification/notification_item/NotificationItem.module.scss.js +5 -5
  91. package/dist/components/notification/notification_menu/NotificationMenu.module.scss.js +2 -2
  92. package/dist/components/progress/progress_bar/ProgressBar.module.scss.js +10 -10
  93. package/dist/components/proposal/proposal_box/ProposalBox.js +56 -58
  94. package/dist/components/proposal/proposal_box/ProposalBox.module.scss.js +1 -1
  95. package/dist/components/section/section_box/SectionBox.module.scss.js +12 -12
  96. package/dist/components/share/share_button/ShareButton.js +24 -26
  97. package/dist/components/share/share_button/ShareButton.module.scss.js +3 -5
  98. package/dist/components/skeleton/user_content_skeleton/UserContentSkeleton.module.scss.js +4 -4
  99. package/dist/components/source/context_source_box/ContextSourceBox.module.scss.js +4 -4
  100. package/dist/components/source/context_source_list/ContextSourceList.module.scss.js +5 -5
  101. package/dist/components/source/source_box/SourceBox.module.scss.js +8 -8
  102. package/dist/components/source/source_list_item/SourceListItem.module.scss.js +5 -7
  103. package/dist/components/suggestion/suggestion_banner/SuggestionBanner.module.scss.js +5 -5
  104. package/dist/components/suggestion/suggestion_box/SuggestionBox.module.scss.js +1 -1
  105. package/dist/components/suggestion/suggestion_input/SuggestionInput.module.scss.js +9 -9
  106. package/dist/components/summary/argument_summary_box/ArgumentSummaryBox.module.scss.js +10 -10
  107. package/dist/components/summary/keyword_box/KeywordBox.module.scss.js +1 -1
  108. package/dist/components/summary/summary_box/SummaryBox.module.scss.js +8 -8
  109. package/dist/components/text/read_more/ReadMore.module.scss.js +4 -4
  110. package/dist/components/user/author_box/AuthorBox.js +17 -18
  111. package/dist/components/user/author_box/AuthorBox.module.scss.js +24 -24
  112. package/dist/components/user/{onboarding_modal/OnboardingModal.js → update_user_info_modal/UpdateUserInfoModal.js} +110 -115
  113. package/dist/components/user/update_user_info_modal/UpdateUserInfoModal.module.scss.js +29 -0
  114. package/dist/components/user/update_user_info_modal/useUpdateUserInfo.js +27 -0
  115. package/dist/components/user/user_box/UserBox.js +38 -48
  116. package/dist/components/user/user_box/UserBox.module.scss.js +9 -9
  117. package/dist/components/user/user_box_small/UserBoxSmall.js +18 -19
  118. package/dist/components/user/user_box_small/UserBoxSmall.module.scss.js +6 -6
  119. package/dist/components/user_content/content_footer/ContentFooter.js +92 -95
  120. package/dist/components/user_content/content_footer/ContentFooter.module.scss.js +11 -11
  121. package/dist/components/user_content/content_header/ContentHeader.module.scss.js +22 -22
  122. package/dist/components/user_content/summary_content_box/SummaryContentBox.module.scss.js +1 -1
  123. package/dist/components/user_content/use_report_content/ReportModal.module.scss.js +8 -8
  124. package/dist/components/vote/suggestion_vote_box/SuggestionVoteBox.module.scss.js +1 -1
  125. package/dist/components/vote/vote_box/VoteBox.module.scss.js +42 -42
  126. package/dist/components/vote/vote_button/VoteButton.module.scss.js +5 -5
  127. package/dist/index.js +320 -324
  128. package/package.json +1 -1
  129. package/dist/assets/components/action/back_link/BackLink.module-B9Ok2t4H.css +0 -1
  130. package/dist/assets/components/action/button/Button.module-D7nbgOES.css +0 -1
  131. package/dist/assets/components/action/icon_text_link/IconTextLink.module-CZKufK9Y.css +0 -1
  132. package/dist/assets/components/argument/argument/Argument.module-CC40BY1L.css +0 -1
  133. package/dist/assets/components/argument/argument/ReplyFooter.module-CoC9dY8T.css +0 -1
  134. package/dist/assets/components/auth/sso_form/SSOForm.module-DOw9cmCF.css +0 -1
  135. package/dist/assets/components/consultation/consultation_box/ConsultationBox.module-97r47y_e.css +0 -1
  136. package/dist/assets/components/debate/debate_box/DebateBox.module-emnqIGNF.css +0 -1
  137. package/dist/assets/components/dialog/dialog_box/DialogBox.module-ZoM8d2Ly.css +0 -1
  138. package/dist/assets/components/dialog/dropdown/Dropdown.module-BmT3rAwz.css +0 -1
  139. package/dist/assets/components/dialog/modal/Modal.module-Dt4SWx6U.css +0 -1
  140. package/dist/assets/components/dialog/toast/Toast.module-CW6j5xe7.css +0 -1
  141. package/dist/assets/components/dialog/tooltip/Tooltip.module-bQbmPiMf.css +0 -1
  142. package/dist/assets/components/embed/embed_header/EmbedHeader.module-C8RPiVBp.css +0 -1
  143. package/dist/assets/components/follow/follow_button/FollowButton.module-BjwLVTeb.css +0 -1
  144. package/dist/assets/components/gamification/badge_box/BadgeBox.module-DWqqtICw.css +0 -1
  145. package/dist/assets/components/information/information_box/InformationBox.module-DJLT957y.css +0 -1
  146. package/dist/assets/components/input/text_editor/TextEditor.module-KPtqT1Y6.css +0 -1
  147. package/dist/assets/components/input/text_editor/plugins/ToolbarPlugin.module-C3yG2biv.css +0 -1
  148. package/dist/assets/components/input/toggle_position/TogglePosition.module-H4gGmJ0V.css +0 -1
  149. package/dist/assets/components/list/paginated_list/action_bar/ActionBar.module-BDMBrj2Y.css +0 -1
  150. package/dist/assets/components/navigation/tabs/Tabs.module-50P6bk0B.css +0 -1
  151. package/dist/assets/components/notification/notification_item/NotificationItem.module-BQcDopYB.css +0 -1
  152. package/dist/assets/components/notification/notification_menu/NotificationMenu.module-DrCrfzVk.css +0 -1
  153. package/dist/assets/components/progress/progress_bar/ProgressBar.module-DoCH9Qoo.css +0 -1
  154. package/dist/assets/components/proposal/proposal_box/ProposalBox.module-D1ccjSLm.css +0 -1
  155. package/dist/assets/components/section/section_box/SectionBox.module-DF7k7Vxq.css +0 -1
  156. package/dist/assets/components/skeleton/user_content_skeleton/UserContentSkeleton.module-d4r3QpYe.css +0 -1
  157. package/dist/assets/components/source/context_source_box/ContextSourceBox.module-doiSb_NR.css +0 -1
  158. package/dist/assets/components/source/context_source_list/ContextSourceList.module-Df4z4DN-.css +0 -1
  159. package/dist/assets/components/source/source_box/SourceBox.module-CQOBgJ5n.css +0 -1
  160. package/dist/assets/components/source/source_list_item/SourceListItem.module-C5YDjksb.css +0 -1
  161. package/dist/assets/components/suggestion/suggestion_banner/SuggestionBanner.module-P95xqaUA.css +0 -1
  162. package/dist/assets/components/suggestion/suggestion_box/SuggestionBox.module-CE_Wvk-K.css +0 -1
  163. package/dist/assets/components/suggestion/suggestion_input/SuggestionInput.module-r5N57bDp.css +0 -1
  164. package/dist/assets/components/summary/argument_summary_box/ArgumentSummaryBox.module-EDxcqwRa.css +0 -1
  165. package/dist/assets/components/summary/keyword_box/KeywordBox.module-yNHAvcRh.css +0 -1
  166. package/dist/assets/components/summary/summary_box/SummaryBox.module-Bu-AnMIG.css +0 -1
  167. package/dist/assets/components/text/read_more/ReadMore.module-Bs-YaspR.css +0 -1
  168. package/dist/assets/components/user/author_box/AuthorBox.module-B8Sl2v33.css +0 -1
  169. package/dist/assets/components/user/onboarding_modal/OnboardingModal.module-CTpt3xSh.css +0 -1
  170. package/dist/assets/components/user/user_box/UserBox.module-DMFhZDAH.css +0 -1
  171. package/dist/assets/components/user/user_box_small/UserBoxSmall.module-D4Ut5xmS.css +0 -1
  172. package/dist/assets/components/user_content/content_footer/ContentFooter.module-9A9E8k5l.css +0 -1
  173. package/dist/assets/components/user_content/content_header/ContentHeader.module-CXO2IRui.css +0 -1
  174. package/dist/assets/components/user_content/summary_content_box/SummaryContentBox.module-CBlL2Xii.css +0 -1
  175. package/dist/assets/components/user_content/use_report_content/ReportModal.module-mjFuOdmL.css +0 -1
  176. package/dist/assets/components/vote/suggestion_vote_box/SuggestionVoteBox.module-CKFriPV5.css +0 -1
  177. package/dist/assets/components/vote/vote_box/VoteBox.module-Bv7WY_vr.css +0 -1
  178. package/dist/assets/components/vote/vote_button/VoteButton.module-DqD79xv_.css +0 -1
  179. package/dist/components/auth/use_auth/base64.js +0 -4
  180. package/dist/components/icons/clarin_icons/Alarm.js +0 -6
  181. package/dist/components/icons/clarin_icons/Announcement.js +0 -6
  182. package/dist/components/icons/clarin_icons/Chat.js +0 -6
  183. package/dist/components/icons/clarin_icons/CheckCircle.js +0 -9
  184. package/dist/components/icons/clarin_icons/Clock.js +0 -6
  185. package/dist/components/icons/clarin_icons/Follow.js +0 -6
  186. package/dist/components/icons/clarin_icons/MobileClose.js +0 -9
  187. package/dist/components/icons/clarin_icons/Question.js +0 -6
  188. package/dist/components/icons/clarin_icons/Search.js +0 -6
  189. package/dist/components/icons/clarin_icons/Send.js +0 -6
  190. package/dist/components/icons/clarin_icons/Share.js +0 -6
  191. package/dist/components/icons/clarin_icons/Upvote.js +0 -9
  192. package/dist/components/icons/clarin_icons/User.js +0 -9
  193. package/dist/components/icons/clarin_icons/index.js +0 -106
  194. package/dist/components/input/text_editor/plugins/IOSInsertParagraphFallbackPlugin.js +0 -34
  195. package/dist/components/user/onboarding_modal/OnboardingModal.module.scss.js +0 -29
  196. package/dist/components/user/onboarding_modal/useOnboarding.js +0 -27
@@ -1,230 +1,225 @@
1
- import { jsx as a, jsxs as d, Fragment as O } from "react/jsx-runtime";
2
- import { useState as l } from "react";
3
- import { useIntl as ee, FormattedMessage as ae } from "react-intl";
4
- import t from "./OnboardingModal.module.scss.js";
5
- import { useAuth as te } from "../../auth/use_auth/useAuth.js";
6
- import { useDataProvider as se } from "../../data/data_provider/useDataProvider.js";
7
- import { useConfig as re } from "../../data/config_provider/useConfig.js";
8
- import { useResponsive as ie } from "../../hooks/use_responsive/useResponsive.js";
9
- import { useFormValidation as le } from "../../forms/use_form_validation/useFormValidation.js";
10
- import { useModal as oe } from "../../dialog/modal/useModal.js";
1
+ import { jsx as a, jsxs as o, Fragment as w } from "react/jsx-runtime";
2
+ import { useState as n } from "react";
3
+ import { useIntl as Y, FormattedMessage as Z } from "react-intl";
4
+ import t from "./UpdateUserInfoModal.module.scss.js";
5
+ import { useAuth as ee } from "../../auth/use_auth/useAuth.js";
6
+ import { useDataProvider as ae } from "../../data/data_provider/useDataProvider.js";
7
+ import { useConfig as te } from "../../data/config_provider/useConfig.js";
8
+ import { useResponsive as se } from "../../hooks/use_responsive/useResponsive.js";
9
+ import { useFormValidation as re } from "../../forms/use_form_validation/useFormValidation.js";
10
+ import { useModal as ie } from "../../dialog/modal/useModal.js";
11
11
  import { Modal as ne } from "../../dialog/modal/Modal.js";
12
- import { Loader as de } from "../../progress/loader/Loader.js";
12
+ import { Loader as le } from "../../progress/loader/Loader.js";
13
+ import { Icon as oe } from "../../icons/icon/Icon.js";
14
+ import { Button as I } from "../../action/button/Button.js";
15
+ import { TextInput as A } from "../../input/text_input/TextInput.js";
16
+ import { Select as de } from "../../input/select/Select.js";
17
+ import { Toggle as S } from "../../input/toggle/Toggle.js";
13
18
  import { AvatarSelector as ce } from "../avatar_selector/AvatarSelector.js";
14
- import { Icon as me } from "../../icons/icon/Icon.js";
15
- import { Button as S } from "../../action/button/Button.js";
16
- import { TextInput as F } from "../../input/text_input/TextInput.js";
17
- import { Select as ue } from "../../input/select/Select.js";
18
- import { Toggle as D } from "../../input/toggle/Toggle.js";
19
- const Se = ({
20
- termsUrl: L,
21
- privacyUrl: B,
22
- showEmailConsent: U = !1,
23
- showTerms: f = !1,
24
- pendingAuth: n = !1,
25
- onConsentConfirmed: y = null
19
+ const Ie = ({
20
+ termsUrl: O,
21
+ privacyUrl: F,
22
+ showEmailConsent: M = !1,
23
+ showTerms: u = !1
26
24
  }) => {
27
- const o = te(), A = se(), r = ee(), i = re(), $ = [...Array(i.avatars?.maxFileName || 0).keys()].map(
28
- (e) => `${i.avatars?.baseUrl}/${e + 1}.${i.avatars?.fileExtension}`
29
- ), [p, j] = l(o.currentUser.first_name || ""), [g, R] = l(
30
- o.currentUser.description || ""
31
- ), [_, q] = l(o.currentUser.last_name || ""), [h, E] = l(o.currentUser.language), [z, v] = l(!1), [C, x] = l(
32
- o.currentUser.image_url
33
- ), [m, T] = l(null), [k, P] = l(!1), [V, W] = l(!1), { isMobile: w } = ie(), { errors: c, validate: G } = le(), { hideModal: I } = oe(), [b, H] = l(!1), [M, J] = l(!1), K = (e) => {
25
+ const l = ee(), D = ae(), i = Y(), r = te(), L = [...Array(r.avatars?.maxFileName || 0).keys()].map(
26
+ (e) => `${r.avatars?.baseUrl}/${e + 1}.${r.avatars?.fileExtension}`
27
+ ), [f, B] = n(l.currentUser.first_name || ""), [p, $] = n(
28
+ l.currentUser.description || ""
29
+ ), [g, j] = n(l.currentUser.last_name || ""), [_, R] = n(l.currentUser.language), [q, h] = n(!1), [N, U] = n(
30
+ l.currentUser.image_url
31
+ ), [c, E] = n(null), [C, x] = n(!1), [z, T] = n(!1), { isMobile: y } = se(), { errors: d, validate: V } = re(), { hideModal: k } = ie(), [v, W] = n(!1), [b, G] = n(!1), H = (e) => {
34
32
  const s = new FileReader();
35
33
  s.onloadend = () => {
36
- x(s.result);
34
+ U(s.result);
37
35
  }, s.readAsDataURL(e);
38
- }, Q = [
36
+ }, J = [
39
37
  { first_name: ["required", null] },
40
38
  { first_name: ["minChar", 2] },
41
39
  { last_name: ["required", null] },
42
40
  { last_name: ["minChar", 2] },
43
- ...n ? [] : [{ language: ["required", null] }],
44
- ...f ? [{ accepts_terms: ["enforceValue", !0] }] : []
45
- ], X = (e) => {
41
+ { language: ["required", null] },
42
+ ...u ? [{ accepts_terms: ["enforceValue", !0] }] : []
43
+ ], K = (e) => {
46
44
  e.preventDefault();
47
45
  const s = {};
48
- if (p && (s.first_name = p), _ && (s.last_name = _), h && (s.language = h), m && k && (s.image = m), m && !k && (s.origin_image_url = m), g && (s.description = g), U && (s.accepts_provider_email = M), f && (s.accepts_terms = b), s.is_onboarded = !0, G(s, Q)) {
49
- W(!0);
50
- const N = new FormData();
51
- Object.entries(s).forEach(([u, Z]) => {
52
- N.append(u, Z);
53
- }), n && y ? y(N) : A.update("users", o.currentUser.slug, N).then((u) => {
54
- u.data.success && o.setCurrentUser(u.data.data.resource), I();
46
+ if (f && (s.first_name = f), g && (s.last_name = g), _ && (s.language = _), c && C && (s.image = c), c && !C && (s.origin_image_url = c), p && (s.description = p), M && (s.accepts_provider_email = b), u && (s.accepts_terms = v), s.is_onboarded = !0, V(s, J)) {
47
+ T(!0);
48
+ const P = new FormData();
49
+ Object.entries(s).forEach(([m, X]) => {
50
+ P.append(m, X);
51
+ }), D.update("users", l.currentUser.slug, P).then((m) => {
52
+ m.data.success && l.setCurrentUser(m.data.data.resource), k();
55
53
  });
56
54
  }
57
- }, Y = (e) => {
55
+ }, Q = (e) => {
58
56
  const s = /^(https?|ftp):\/\/[^\s/$.?#].[^\s]*$/i;
59
- T(e), v(!1), s.test(e) ? (x(e), P(!1)) : (P(!0), K(e));
57
+ E(e), h(!1), s.test(e) ? (U(e), x(!1)) : (x(!0), H(e));
60
58
  };
61
59
  return /* @__PURE__ */ a(
62
60
  ne,
63
61
  {
64
62
  "data-vid": "update_user_info_modal",
65
- title: n ? r.formatMessage({
66
- id: "modal.update_user_info_modal.complete_registration",
67
- defaultMessage: "Complete your registration"
68
- }) : r.formatMessage({
63
+ title: i.formatMessage({
69
64
  id: "modal.update_user_info_modal.modal_title",
70
65
  defaultMessage: "Update your profile"
71
66
  }),
72
67
  style: {
73
- width: w ? "unset" : "max-content",
74
- minWidth: w ? "unset" : "500px",
68
+ width: y ? "unset" : "max-content",
69
+ minWidth: y ? "unset" : "500px",
75
70
  maxWidth: "800px"
76
71
  },
77
72
  showCloseButton: !1,
78
73
  disableClickOutside: !0,
79
- children: V ? /* @__PURE__ */ a(de, {}) : z && !n ? /* @__PURE__ */ d(O, { children: [
74
+ children: z ? /* @__PURE__ */ a(le, {}) : q ? /* @__PURE__ */ o(w, { children: [
80
75
  /* @__PURE__ */ a(
81
76
  ce,
82
77
  {
83
- onChooseAvatar: Y,
84
- avatarUrlList: $,
85
- userName: o.currentUser.full_name,
86
- allowUserImage: i.avatars?.allowUserImage
78
+ onChooseAvatar: Q,
79
+ avatarUrlList: L,
80
+ userName: l.currentUser.full_name,
81
+ allowUserImage: r.avatars?.allowUserImage
87
82
  }
88
83
  ),
89
84
  /* @__PURE__ */ a(
90
85
  "div",
91
86
  {
92
87
  className: t.backButton,
93
- onClick: () => v(!1),
94
- children: r.formatMessage({
88
+ onClick: () => h(!1),
89
+ children: i.formatMessage({
95
90
  id: "user.user_edit.back",
96
91
  defaultMessage: "Back"
97
92
  })
98
93
  }
99
94
  )
100
- ] }) : /* @__PURE__ */ d(O, { children: [
101
- /* @__PURE__ */ d("div", { className: t.container, children: [
102
- /* @__PURE__ */ d("div", { className: t.userImageContainer, children: [
103
- C ? /* @__PURE__ */ a(
95
+ ] }) : /* @__PURE__ */ o(w, { children: [
96
+ /* @__PURE__ */ o("div", { className: t.container, children: [
97
+ /* @__PURE__ */ o("div", { className: t.userImageContainer, children: [
98
+ N ? /* @__PURE__ */ a(
104
99
  "img",
105
100
  {
106
101
  className: t.userPictureUpload,
107
- src: C,
108
- alt: r.formatMessage({
102
+ src: N,
103
+ alt: i.formatMessage({
109
104
  id: "alt.my_profile_picture",
110
105
  defaultMessage: "Ma photo de profil"
111
106
  })
112
107
  }
113
108
  ) : /* @__PURE__ */ a("div", { className: t.userPictureUpload, children: /* @__PURE__ */ a(
114
- me,
109
+ oe,
115
110
  {
116
111
  name: "camera",
117
112
  height: 20,
118
113
  width: 20,
119
- alt: r.formatMessage({
114
+ alt: i.formatMessage({
120
115
  id: "user.user_edit.profile_picture",
121
116
  defaultMessage: "Profile picture"
122
117
  })
123
118
  }
124
119
  ) }),
125
- !n && /* @__PURE__ */ a(
126
- S,
120
+ /* @__PURE__ */ a(
121
+ I,
127
122
  {
128
123
  "data-testid": "avatar-button",
129
124
  "data-tid": "action_save_profile",
130
- onClick: () => v(!0),
125
+ onClick: () => h(!0),
131
126
  style: { whiteSpace: "nowrap" },
132
- children: r.formatMessage({
127
+ children: i.formatMessage({
133
128
  id: "user.user_edit.avatar",
134
129
  defaultMessage: "Select an avatar"
135
130
  })
136
131
  }
137
132
  )
138
133
  ] }),
139
- /* @__PURE__ */ d("div", { className: t.inputsContainer, children: [
140
- /* @__PURE__ */ d("div", { className: t.nameContainer, children: [
134
+ /* @__PURE__ */ o("div", { className: t.inputsContainer, children: [
135
+ /* @__PURE__ */ o("div", { className: t.nameContainer, children: [
141
136
  /* @__PURE__ */ a("div", { className: t.updateProfileInput, children: /* @__PURE__ */ a(
142
- F,
137
+ A,
143
138
  {
144
139
  type: "text",
145
140
  name: "first_name",
146
- "aria-label": r.formatMessage({
141
+ "aria-label": i.formatMessage({
147
142
  id: "auth.signup_form.first_name.aria_label",
148
143
  defaultMessage: "First name"
149
144
  }),
150
- placeholder: r.formatMessage({
145
+ placeholder: i.formatMessage({
151
146
  id: "auth_signup_form_first_name_placeholder",
152
147
  defaultMessage: "First name"
153
148
  }),
154
- onChange: (e) => i.actions?.disableOnboardingNameUpdate === !0 ? null : j(e.target.value),
155
- value: p,
156
- error: !!c.first_name,
157
- message: c.first_name,
149
+ onChange: (e) => r.actions?.disableOnboardingNameUpdate === !0 ? null : B(e.target.value),
150
+ value: f,
151
+ error: !!d.first_name,
152
+ message: d.first_name,
158
153
  "data-testid": "first-name",
159
- disabled: i.actions?.disableOnboardingNameUpdate === !0
154
+ disabled: r.actions?.disableOnboardingNameUpdate === !0
160
155
  }
161
156
  ) }),
162
157
  /* @__PURE__ */ a("div", { className: t.updateProfileInput, children: /* @__PURE__ */ a(
163
- F,
158
+ A,
164
159
  {
165
160
  type: "text",
166
161
  name: "last_name",
167
- "aria-label": r.formatMessage({
162
+ "aria-label": i.formatMessage({
168
163
  id: "auth.signup_form.last_name.aria_label",
169
164
  defaultMessage: "Last name"
170
165
  }),
171
- placeholder: r.formatMessage({
166
+ placeholder: i.formatMessage({
172
167
  id: "auth_signup_form_last_name_placeholder",
173
168
  defaultMessage: "Last name"
174
169
  }),
175
- onChange: (e) => i.actions?.disableOnboardingNameUpdate === !0 ? null : q(e.target.value),
176
- value: _,
177
- error: !!c.last_name,
178
- message: c.last_name,
170
+ onChange: (e) => r.actions?.disableOnboardingNameUpdate === !0 ? null : j(e.target.value),
171
+ value: g,
172
+ error: !!d.last_name,
173
+ message: d.last_name,
179
174
  "data-testid": "last-name",
180
- disabled: i.actions?.disableOnboardingNameUpdate === !0
175
+ disabled: r.actions?.disableOnboardingNameUpdate === !0
181
176
  }
182
177
  ) })
183
178
  ] }),
184
- i.actions?.disableNameUpdate == !0 && i.actions?.disableOnboardingNameUpdate != !0 && /* @__PURE__ */ a("div", { className: t.hint, children: r.formatMessage({
179
+ r.actions?.disableNameUpdate == !0 && r.actions?.disableOnboardingNameUpdate != !0 && /* @__PURE__ */ a("div", { className: t.hint, children: i.formatMessage({
185
180
  id: "user.user_edit.user_name_hint",
186
181
  defaultMessage: "last name"
187
182
  }) }),
188
- !n && i.translation?.translationMethods && Object.keys(i.translation.translationMethods).length > 0 && /* @__PURE__ */ a(
189
- ue,
183
+ r.translation?.translationMethods && Object.keys(r.translation.translationMethods).length > 0 && /* @__PURE__ */ a(
184
+ de,
190
185
  {
191
186
  selectClassName: t.langSelect,
192
187
  options: Object.keys(
193
- i.translation.translationMethods
188
+ r.translation.translationMethods
194
189
  ).map((e) => ({
195
190
  name: e,
196
191
  value: e,
197
192
  text: `${e.toUpperCase()}`
198
193
  })),
199
- defaultOption: h,
200
- onChange: (e) => E(e.value)
194
+ defaultOption: _,
195
+ onChange: (e) => R(e.value)
201
196
  }
202
197
  ),
203
- !n && /* @__PURE__ */ a("div", { className: t.userDescription, children: /* @__PURE__ */ a(
198
+ /* @__PURE__ */ a("div", { className: t.userDescription, children: /* @__PURE__ */ a(
204
199
  "textarea",
205
200
  {
206
201
  className: t.textArea,
207
- placeholder: r.formatMessage({
202
+ placeholder: i.formatMessage({
208
203
  id: "user.user_edit.user_description",
209
204
  defaultMessage: "Describe yourself in a few words"
210
205
  }),
211
- value: g,
212
- onChange: (e) => R(e.target.value),
206
+ value: p,
207
+ onChange: (e) => $(e.target.value),
213
208
  maxLength: 500,
214
209
  "data-testid": "description"
215
210
  }
216
211
  ) })
217
212
  ] })
218
213
  ] }),
219
- f && /* @__PURE__ */ a("div", { className: t.toggle, children: /* @__PURE__ */ a(
220
- D,
214
+ u && /* @__PURE__ */ a("div", { className: t.toggle, children: /* @__PURE__ */ a(
215
+ S,
221
216
  {
222
217
  type: "checkbox",
223
218
  name: "accepts_terms",
224
219
  style: { fontSize: 18 },
225
- checked: b,
220
+ checked: v,
226
221
  label: /* @__PURE__ */ a(
227
- ae,
222
+ Z,
228
223
  {
229
224
  id: "modal.update_user_info_modal.accepts_terms",
230
225
  defaultMessage: "I declare I have read the <var1>General Conditions of Use</var1> and the <var2>Privacy policy</var2> of the debate space and accept them.",
@@ -234,7 +229,7 @@ const Se = ({
234
229
  {
235
230
  className: t.cgu,
236
231
  target: "_blank",
237
- href: L,
232
+ href: O,
238
233
  rel: "noreferrer",
239
234
  children: e
240
235
  }
@@ -244,7 +239,7 @@ const Se = ({
244
239
  {
245
240
  className: t.cgu,
246
241
  target: "_blank",
247
- href: B,
242
+ href: F,
248
243
  rel: "noreferrer",
249
244
  children: e
250
245
  }
@@ -252,36 +247,36 @@ const Se = ({
252
247
  }
253
248
  }
254
249
  ),
255
- onInputChanged: (e) => H(!b),
256
- message: c.accepts_terms,
250
+ onInputChanged: (e) => W(!v),
251
+ message: d.accepts_terms,
257
252
  "data-testid": "accepts-terms-input"
258
253
  }
259
254
  ) }),
260
- U && /* @__PURE__ */ a("div", { className: t.toggle, children: /* @__PURE__ */ a(
261
- D,
255
+ M && /* @__PURE__ */ a("div", { className: t.toggle, children: /* @__PURE__ */ a(
256
+ S,
262
257
  {
263
258
  type: "checkbox",
264
259
  name: "accepts_provider_email",
265
260
  style: { fontSize: 18 },
266
- checked: M,
267
- label: r.formatMessage(
261
+ checked: b,
262
+ label: i.formatMessage(
268
263
  {
269
264
  id: "modal.update_user_info_modal.consent_label",
270
265
  defaultMessage: "I agree to receive emails from the editor"
271
266
  },
272
- { provider: i.provider?.companyName }
267
+ { provider: r.provider?.companyName }
273
268
  ),
274
- onInputChanged: (e) => J(!M),
269
+ onInputChanged: (e) => G(!b),
275
270
  "data-testid": "accepts-email-input"
276
271
  }
277
272
  ) }),
278
273
  /* @__PURE__ */ a("div", { className: t.userSaveBox, children: /* @__PURE__ */ a(
279
- S,
274
+ I,
280
275
  {
281
276
  "data-testid": "save-button",
282
277
  "data-tid": "action_save_profile",
283
- onClick: (e) => X(e),
284
- children: r.formatMessage({
278
+ onClick: (e) => K(e),
279
+ children: i.formatMessage({
285
280
  id: "user.user_edit.save",
286
281
  defaultMessage: "Save"
287
282
  })
@@ -292,5 +287,5 @@ const Se = ({
292
287
  );
293
288
  };
294
289
  export {
295
- Se as OnboardingModal
290
+ Ie as UpdateUserInfoModal
296
291
  };
@@ -0,0 +1,29 @@
1
+ import '../../../assets/components/user/update_user_info_modal/UpdateUserInfoModal.module-DJym6u4r.css';const t = "_container_6t85s_3", n = "_nameContainer_6t85s_22", e = "_inputsContainer_6t85s_48", s = "_hint_6t85s_61", o = "_langSelect_6t85s_67", _ = "_textArea_6t85s_71", a = "_userSaveBox_6t85s_129", c = "_userPictureUpload_6t85s_138", r = "_userImageContainer_6t85s_156", u = "_backButton_6t85s_172", i = "_toggle_6t85s_179", g = "_cgu_6t85s_184", l = {
2
+ container: t,
3
+ nameContainer: n,
4
+ inputsContainer: e,
5
+ hint: s,
6
+ langSelect: o,
7
+ textArea: _,
8
+ userSaveBox: a,
9
+ userPictureUpload: c,
10
+ userImageContainer: r,
11
+ backButton: u,
12
+ toggle: i,
13
+ cgu: g
14
+ };
15
+ export {
16
+ u as backButton,
17
+ g as cgu,
18
+ t as container,
19
+ l as default,
20
+ s as hint,
21
+ e as inputsContainer,
22
+ o as langSelect,
23
+ n as nameContainer,
24
+ _ as textArea,
25
+ i as toggle,
26
+ r as userImageContainer,
27
+ c as userPictureUpload,
28
+ a as userSaveBox
29
+ };
@@ -0,0 +1,27 @@
1
+ import { jsx as a } from "react/jsx-runtime";
2
+ import { useEffect as i } from "react";
3
+ import { UpdateUserInfoModal as p } from "./UpdateUserInfoModal.js";
4
+ import { useAuth as l } from "../../auth/use_auth/useAuth.js";
5
+ import { useModal as m } from "../../dialog/modal/useModal.js";
6
+ import { useConfig as u } from "../../data/config_provider/useConfig.js";
7
+ const U = () => {
8
+ const { currentUser: t, isLoggedIn: r } = l(), { showModal: e, isModalPresent: s } = m(), o = u(), n = () => {
9
+ e(
10
+ /* @__PURE__ */ a(
11
+ p,
12
+ {
13
+ showEmailConsent: o.auth?.showEmailConsent,
14
+ showTerms: o.auth?.hideCgu !== !0,
15
+ termsUrl: o.provider?.cguUrl || "https://www.logora.com/blog-posts/cgu",
16
+ privacyUrl: o.provider?.privacyUrl || "https://www.logora.com/blog-posts/privacy-policy"
17
+ }
18
+ )
19
+ );
20
+ };
21
+ return i(() => {
22
+ !s && r && t.is_onboarded === !1 && o.auth?.showOnboarding === !0 && n();
23
+ }, [s, r, o.auth?.showOnboarding]), null;
24
+ };
25
+ export {
26
+ U as useUpdateUserInfo
27
+ };
@@ -1,83 +1,73 @@
1
- import { jsxs as i, jsx as a } from "react/jsx-runtime";
2
- import c from "classnames";
1
+ import { jsxs as r, jsx as e } from "react/jsx-runtime";
2
+ import n from "classnames";
3
3
  import "react";
4
- import { useIntl as d, FormattedMessage as r } from "react-intl";
5
- import s from "./UserBox.module.scss.js";
6
- import { useRoutes as m } from "../../data/config_provider/useRoutes.js";
7
- import { useConfig as _ } from "../../data/config_provider/useConfig.js";
8
- import { Avatar as l } from "../avatar/Avatar.js";
9
- import { Link as o } from "../../action/link/Link.js";
10
- const B = ({ user: e }) => {
11
- const n = d(), t = m(), u = _()?.layout?.disableProfileLinks === !0;
12
- return /* @__PURE__ */ i("div", { className: c(s.userBox, "author-box"), children: [
13
- /* @__PURE__ */ a("div", { className: s.userBoxHeader, children: u ? /* @__PURE__ */ a(
14
- l,
4
+ import { useIntl as u, FormattedMessage as i } from "react-intl";
5
+ import o from "./UserBox.module.scss.js";
6
+ import { useRoutes as c } from "../../data/config_provider/useRoutes.js";
7
+ import { Link as t } from "../../action/link/Link.js";
8
+ import { Avatar as d } from "../avatar/Avatar.js";
9
+ const N = ({ user: s }) => {
10
+ const l = u(), a = c();
11
+ return /* @__PURE__ */ r("div", { className: n(o.userBox, "author-box"), children: [
12
+ /* @__PURE__ */ e("div", { className: o.userBoxHeader, children: /* @__PURE__ */ e(
13
+ t,
15
14
  {
16
- "data-tid": "action_view_user_image",
17
- userName: e.full_name,
18
- avatarUrl: e.image_url,
19
- isOnline: new Date(e.last_activity) > Date.now(),
20
- size: 60
21
- }
22
- ) : /* @__PURE__ */ a(
23
- o,
24
- {
25
- to: t.userShowLocation.toUrl({ userSlug: e.hash_id }),
26
- "aria-label": n.formatMessage({
15
+ to: a.userShowLocation.toUrl({ userSlug: s.hash_id }),
16
+ "aria-label": l.formatMessage({
27
17
  id: "user.user_box.author_link.aria_label",
28
18
  defaultMessage: "View profile"
29
19
  }),
30
- children: /* @__PURE__ */ a(
31
- l,
20
+ children: /* @__PURE__ */ e(
21
+ d,
32
22
  {
33
23
  "data-tid": "action_view_user_image",
34
- userName: e.full_name,
35
- avatarUrl: e.image_url,
36
- isOnline: new Date(e.last_activity) > Date.now(),
24
+ userName: s.full_name,
25
+ avatarUrl: s.image_url,
26
+ isOnline: new Date(s.last_activity) > Date.now(),
37
27
  size: 60
38
28
  }
39
29
  )
40
30
  }
41
31
  ) }),
42
- /* @__PURE__ */ i("div", { className: s.userBoxDescription, children: [
43
- /* @__PURE__ */ a(o, { to: t.userShowLocation.toUrl({ userSlug: e.hash_id }), children: /* @__PURE__ */ a(
32
+ /* @__PURE__ */ r("div", { className: o.userBoxDescription, children: [
33
+ /* @__PURE__ */ e(t, { to: a.userShowLocation.toUrl({ userSlug: s.hash_id }), children: /* @__PURE__ */ e(
44
34
  "div",
45
35
  {
46
36
  "data-tid": "action_view_user_name",
47
- className: s.userBoxName,
48
- title: e.full_name,
49
- children: e.full_name
37
+ className: o.userBoxName,
38
+ title: s.full_name,
39
+ children: s.full_name
50
40
  }
51
41
  ) }),
52
- e.role === "contributor" && /* @__PURE__ */ a(
53
- o,
42
+ s.role === "contributor" && /* @__PURE__ */ e(
43
+ t,
54
44
  {
55
- to: t.userShowLocation.toUrl({ userSlug: e.hash_id }),
45
+ to: a.userShowLocation.toUrl({ userSlug: s.hash_id }),
56
46
  hash: "activity",
57
- children: /* @__PURE__ */ a("div", { className: s.userBoxPoints, children: /* @__PURE__ */ a("span", { children: /* @__PURE__ */ a(
58
- r,
47
+ children: /* @__PURE__ */ e("div", { className: o.userBoxPoints, children: /* @__PURE__ */ e("span", { children: /* @__PURE__ */ e(
48
+ i,
59
49
  {
60
50
  id: "user.user_box.points",
61
- values: { count: e.points },
51
+ values: { count: s.points },
62
52
  defaultMessage: "{count} points"
63
53
  }
64
54
  ) }) })
65
55
  }
66
56
  ),
67
- /* @__PURE__ */ a(o, { to: t.userShowLocation.toUrl({ userSlug: e.hash_id }), children: /* @__PURE__ */ i("div", { className: s.userBoxStats, children: [
68
- /* @__PURE__ */ a("div", { className: s.userDebates, children: /* @__PURE__ */ a(
69
- r,
57
+ /* @__PURE__ */ e(t, { to: a.userShowLocation.toUrl({ userSlug: s.hash_id }), children: /* @__PURE__ */ r("div", { className: o.userBoxStats, children: [
58
+ /* @__PURE__ */ e("div", { className: o.userDebates, children: /* @__PURE__ */ e(
59
+ i,
70
60
  {
71
61
  id: "user.user_box.user_arguments",
72
- values: { count: e.messages_count },
62
+ values: { count: s.messages_count },
73
63
  defaultMessage: "{count} arguments"
74
64
  }
75
65
  ) }),
76
- /* @__PURE__ */ a("div", { className: s.userVotes, children: /* @__PURE__ */ a(
77
- r,
66
+ /* @__PURE__ */ e("div", { className: o.userVotes, children: /* @__PURE__ */ e(
67
+ i,
78
68
  {
79
69
  id: "user.user_box.user_votes",
80
- values: { count: e.upvotes },
70
+ values: { count: s.upvotes },
81
71
  defaultMessage: "{count} votes"
82
72
  }
83
73
  ) })
@@ -86,5 +76,5 @@ const B = ({ user: e }) => {
86
76
  ] });
87
77
  };
88
78
  export {
89
- B as UserBox
79
+ N as UserBox
90
80
  };
@@ -1,17 +1,17 @@
1
- import '../../../assets/components/user/user_box/UserBox.module-DMFhZDAH.css';const e = "_userBox_ifte1_3", s = "_userBoxHeader_ifte1_20", o = "_userBoxDescription_ifte1_44", t = "_userBoxName_ifte1_53", r = "_userBoxPoints_ifte1_71", u = "_userBoxStats_ifte1_82", x = {
2
- userBox: e,
1
+ import '../../../assets/components/user/user_box/UserBox.module-DGKK1afI.css';const o = "_userBox_1hkol_3", s = "_userBoxHeader_1hkol_20", e = "_userBoxDescription_1hkol_44", r = "_userBoxName_1hkol_53", t = "_userBoxPoints_1hkol_70", u = "_userBoxStats_1hkol_81", x = {
2
+ userBox: o,
3
3
  userBoxHeader: s,
4
- userBoxDescription: o,
5
- userBoxName: t,
6
- userBoxPoints: r,
4
+ userBoxDescription: e,
5
+ userBoxName: r,
6
+ userBoxPoints: t,
7
7
  userBoxStats: u
8
8
  };
9
9
  export {
10
10
  x as default,
11
- e as userBox,
12
- o as userBoxDescription,
11
+ o as userBox,
12
+ e as userBoxDescription,
13
13
  s as userBoxHeader,
14
- t as userBoxName,
15
- r as userBoxPoints,
14
+ r as userBoxName,
15
+ t as userBoxPoints,
16
16
  u as userBoxStats
17
17
  };