@logora/debate 0.2.1 → 0.2.3

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 (859) 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-BDXB-NbU.css +1 -0
  3. package/dist/assets/components/action/icon_text_link/IconTextLink.module-B5PF-MMK.css +1 -0
  4. package/dist/assets/components/ad/ad_unit/AdUnit.module-C_5JFle_.css +1 -0
  5. package/dist/assets/components/argument/argument/Argument.module-ynS4ZRdG.css +1 -0
  6. package/dist/assets/components/argument/argument/ReplyFooter.module-DQL2iGS0.css +1 -0
  7. package/dist/assets/components/argument/top_arguments/TopArguments.module-BwLPbpJ0.css +1 -0
  8. package/dist/assets/components/auth/auth_modal/AuthModal.module-RhX-zUfZ.css +1 -0
  9. package/dist/assets/components/auth/facebook_login_button/FacebookLoginButton.module-DwTlkJ7n.css +1 -0
  10. package/dist/assets/components/auth/google_login_button/GoogleLoginButton.module-C9XnfW0J.css +1 -0
  11. package/dist/assets/components/auth/login_form/LoginForm.module-uN7oeX8e.css +1 -0
  12. package/dist/assets/components/auth/oauth2_button/OAuth2Button.module-BDxwikoC.css +1 -0
  13. package/dist/assets/components/auth/signup_form/SignupForm.module-BEj4tidE.css +1 -0
  14. package/dist/assets/components/auth/social_auth_form/SocialAuthForm.module-DYgKVEK4.css +1 -0
  15. package/dist/assets/components/auth/sso_form/SSOForm.module-D5v2TrOv.css +1 -0
  16. package/dist/assets/components/chart/line_chart/LineChart.module-DTKqDhLv.css +1 -0
  17. package/dist/assets/components/chart/pie_chart/PieChart.module-bTKTwTOZ.css +1 -0
  18. package/dist/assets/components/consultation/consultation_box/ConsultationBox.module-BnTr5IaF.css +1 -0
  19. package/dist/assets/components/debate/debate_box/DebateBox.module-ek6ldCNI.css +1 -0
  20. package/dist/assets/components/dialog/announcement_dialog/AnnouncementDialog.module-X5I5xt5N.css +1 -0
  21. package/dist/assets/components/dialog/confirm_modal/ConfirmModal.module-CWzzKcm5.css +1 -0
  22. package/dist/assets/components/dialog/dialog_box/DialogBox.module-DKztqqmb.css +1 -0
  23. package/dist/assets/components/dialog/drawer/Drawer.module-DlSpsEkA.css +1 -0
  24. package/dist/assets/components/dialog/dropdown/Dropdown.module-BL67cFpj.css +1 -0
  25. package/dist/assets/components/dialog/modal/Modal.module-CIj-xCzY.css +1 -0
  26. package/dist/assets/components/dialog/toast/Toast.module-DJ2wSlJT.css +1 -0
  27. package/dist/assets/components/dialog/toast_provider/ToastProvider.module-Dg1lvYKc.css +1 -0
  28. package/dist/assets/components/dialog/tooltip/Tooltip.module-zMXumgnX.css +1 -0
  29. package/dist/assets/components/embed/embed_header/EmbedHeader.module-DajJz2CY.css +1 -0
  30. package/dist/assets/components/error/standard_error_boundary/StandardErrorBoundary.module-nVUIMoUd.css +1 -0
  31. package/dist/assets/components/follow/follow_button/FollowButton.module-Da-cPgwT.css +1 -0
  32. package/dist/assets/components/gamification/badge_box/BadgeBox.module-BnskGH9b.css +1 -0
  33. package/dist/assets/components/gamification/point_box/PointBox.module-BzKRidYf.css +1 -0
  34. package/dist/assets/components/input/argument_input/ArgumentInput.module-CDv7j77K.css +1 -0
  35. package/dist/assets/components/input/checkbox/hidden/hidden-checkbox.module-BfKmji_8.css +1 -0
  36. package/dist/assets/components/input/checkbox/indicator/checkbox-indicator.module-4cSB11ys.css +1 -0
  37. package/dist/assets/components/input/search_input/SearchInput.module-C_q8rryY.css +1 -0
  38. package/dist/assets/components/input/select/Select.module-Bf-5XrJ1.css +1 -0
  39. package/dist/assets/components/input/text_editor/TextEditor.module-DePSfOvG.css +1 -0
  40. package/dist/assets/components/input/text_editor/plugins/ToolbarPlugin.module-CbPmMciY.css +1 -0
  41. package/dist/assets/components/input/text_input/TextInput.module-BBojTQEu.css +1 -0
  42. package/dist/assets/components/input/toggle/Toggle.module-B_g0Uxy3.css +1 -0
  43. package/dist/assets/components/input/toggle_position/TogglePosition.module-DDIigbfA.css +1 -0
  44. package/dist/assets/components/list/paginated_list/PaginatedList.module-DI1wH2Na.css +1 -0
  45. package/dist/assets/components/list/paginated_list/action_bar/ActionBar.module-pxwFC_Y2.css +1 -0
  46. package/dist/assets/components/list/pagination/Pagination.module-L9-ykJZ2.css +1 -0
  47. package/dist/assets/components/modal/side_modal/SideModal.module-57E9_p4y.css +1 -0
  48. package/dist/assets/components/navbar/navbar_button/NavbarButton.module-lKeBjoEX.css +1 -0
  49. package/dist/assets/components/navbar/navbar_modal/NavbarModal.module-B02ZOEuE.css +1 -0
  50. package/dist/assets/components/notification/notification_item/NotificationItem.module-BWdhgSy4.css +1 -0
  51. package/dist/assets/components/notification/notification_menu/NotificationMenu.module-BQwbvRIV.css +1 -0
  52. package/dist/assets/components/progress/loader/Loader.module-BK-wXEtx.css +1 -0
  53. package/dist/assets/components/progress/progress_bar/ProgressBar.module-Dy-27Wf9.css +1 -0
  54. package/dist/assets/components/proposal/proposal_box/ProposalBox.module-T4ms_LQ7.css +1 -0
  55. package/dist/assets/components/report/report_box/ReportBox.module-B-_0iQqX.css +1 -0
  56. package/dist/assets/components/section/section_box/SectionBox.module-DUeUtdWr.css +1 -0
  57. package/dist/assets/components/share/share_box/ShareBox.module-AIRPhwtg.css +1 -0
  58. package/dist/assets/components/share/share_button/ShareButton.module-BS6STEUD.css +1 -0
  59. package/dist/assets/components/share/share_modal/ShareModal.module-CczX4YRd.css +1 -0
  60. package/dist/assets/components/skeleton/user_content_skeleton/UserContentSkeleton.module-DhZm1xTr.css +1 -0
  61. package/dist/assets/components/source/context_source_box/ContextSourceBox.module-78Gxjx0w.css +1 -0
  62. package/dist/assets/components/source/context_source_list/ContextSourceList.module-D6X_0dB7.css +1 -0
  63. package/dist/assets/components/source/source_box/SourceBox.module-Cu_m3E85.css +1 -0
  64. package/dist/assets/components/source/source_list_item/SourceListItem.module-mTxHhXPV.css +1 -0
  65. package/dist/assets/components/source/source_modal/SourceModal.module-DfEHopJo.css +1 -0
  66. package/dist/assets/components/suggestion/suggestion_banner/SuggestionBanner.module-D37NVZLS.css +1 -0
  67. package/dist/assets/components/suggestion/suggestion_box/SuggestionBox.module-fwf3pCuJ.css +1 -0
  68. package/dist/assets/components/suggestion/suggestion_input/SuggestionInput.module-BsEj7sF3.css +1 -0
  69. package/dist/assets/components/summary/argument_summary_box/ArgumentSummaryBox.module-DLcsyMSD.css +1 -0
  70. package/dist/assets/components/summary/keyword_box/KeywordBox.module-DHkYfW0l.css +1 -0
  71. package/dist/assets/components/summary/summary/Summary.module-DjfmUlkW.css +1 -0
  72. package/dist/assets/components/summary/summary_box/SummaryBox.module-DQVkA8l7.css +1 -0
  73. package/dist/assets/components/tag/tag/Tag.module-DSSGWMKh.css +1 -0
  74. package/dist/assets/components/text/expandable_text/ExpandableText.module-C9NQVGvu.css +1 -0
  75. package/dist/assets/components/text/read_more/ReadMore.module-Ni_Mm8o8.css +1 -0
  76. package/dist/assets/components/translation/translation_button/TranslationButton.module-DZv7Csu4.css +1 -0
  77. package/dist/assets/components/user/author_box/AuthorBox.module-CbH2S-MT.css +1 -0
  78. package/dist/assets/components/user/avatar/Avatar.module-DmWuUR8K.css +1 -0
  79. package/dist/assets/components/user/avatar_selector/AvatarSelector.module-C2_Sfb_6.css +1 -0
  80. package/dist/assets/components/user/update_user_info_modal/UpdateUserInfoModal.module-DJym6u4r.css +1 -0
  81. package/dist/assets/components/user/user_box/UserBox.module-DGKK1afI.css +1 -0
  82. package/dist/assets/components/user/user_box_small/UserBoxSmall.module-ibAw9gGE.css +1 -0
  83. package/dist/assets/components/user_content/content_footer/ContentFooter.module-B9R3dZFl.css +1 -0
  84. package/dist/assets/components/user_content/content_header/ContentHeader.module-B0VwpU-R.css +1 -0
  85. package/dist/assets/components/user_content/summary_content_box/SummaryContentBox.module-DdzWnPjq.css +1 -0
  86. package/dist/assets/components/user_content/use_report_content/ReportModal.module-BxF-D5C5.css +1 -0
  87. package/dist/assets/components/vote/suggestion_vote_box/SuggestionVoteBox.module-CZeQKWIw.css +1 -0
  88. package/dist/assets/components/vote/up_down_vote_box/UpDownVoteBox.module-Bk_s4Ph0.css +1 -0
  89. package/dist/assets/components/vote/vote_box/VoteBox.module-BhTSjU8w.css +1 -0
  90. package/dist/assets/components/vote/vote_button/VoteButton.module-mxq12D3_.css +1 -0
  91. package/dist/components/action/back_link/BackLink.js +21 -23
  92. package/dist/components/action/back_link/BackLink.module.scss.js +9 -0
  93. package/dist/components/action/button/Button.js +74 -33
  94. package/dist/components/action/button/Button.module.scss.js +17 -0
  95. package/dist/components/action/icon_text_link/IconTextLink.js +51 -35
  96. package/dist/components/action/icon_text_link/IconTextLink.module.scss.js +19 -0
  97. package/dist/components/action/link/Link.js +36 -22
  98. package/dist/components/ad/ad_unit/AdUnit.js +41 -41
  99. package/dist/components/ad/ad_unit/AdUnit.module.scss.js +7 -0
  100. package/dist/components/ad/use_google_ad_manager/useGoogleAdManager.js +21 -21
  101. package/dist/components/ad/with_ad/WithAd.js +29 -13
  102. package/dist/components/argument/argument/Argument.js +327 -266
  103. package/dist/components/argument/argument/Argument.module.scss.js +50 -0
  104. package/dist/components/argument/argument/ReplyFooter.js +52 -38
  105. package/dist/components/argument/argument/ReplyFooter.module.scss.js +15 -0
  106. package/dist/components/argument/argument/useRichContent.js +16 -13
  107. package/dist/components/argument/top_arguments/TopArguments.js +93 -61
  108. package/dist/components/argument/top_arguments/TopArguments.module.scss.js +13 -0
  109. package/dist/components/auth/auth_initializer/AuthInitializer.js +51 -34
  110. package/dist/components/auth/auth_modal/AuthModal.js +77 -67
  111. package/dist/components/auth/auth_modal/AuthModal.module.scss.js +7 -0
  112. package/dist/components/auth/auth_modal/index.js +4 -2
  113. package/dist/components/auth/facebook_login_button/FacebookIcon.js +19 -13
  114. package/dist/components/auth/facebook_login_button/FacebookLoginButton.js +30 -28
  115. package/dist/components/auth/facebook_login_button/FacebookLoginButton.module.scss.js +9 -0
  116. package/dist/components/auth/google_login_button/GoogleIcon.js +43 -28
  117. package/dist/components/auth/google_login_button/GoogleLoginButton.js +33 -30
  118. package/dist/components/auth/google_login_button/GoogleLoginButton.module.scss.js +9 -0
  119. package/dist/components/auth/login_form/LoginForm.js +86 -83
  120. package/dist/components/auth/login_form/LoginForm.module.scss.js +15 -0
  121. package/dist/components/auth/oauth2_button/OAuth2Button.js +52 -35
  122. package/dist/components/auth/oauth2_button/OAuth2Button.module.scss.js +9 -0
  123. package/dist/components/auth/providers/AuthProvider.js +20 -19
  124. package/dist/components/auth/providers/AuthProviderFactory.js +9 -9
  125. package/dist/components/auth/providers/FormAuth.js +28 -28
  126. package/dist/components/auth/providers/JWTAuth.js +26 -26
  127. package/dist/components/auth/providers/OAuth2ServerAuth.js +35 -34
  128. package/dist/components/auth/providers/PasswordAuth.js +23 -23
  129. package/dist/components/auth/signup_form/SignupForm.js +164 -154
  130. package/dist/components/auth/signup_form/SignupForm.module.scss.js +11 -0
  131. package/dist/components/auth/social_auth_form/SocialAuthForm.js +225 -198
  132. package/dist/components/auth/social_auth_form/SocialAuthForm.module.scss.js +39 -0
  133. package/dist/components/auth/sso_form/SSOForm.js +191 -145
  134. package/dist/components/auth/sso_form/SSOForm.module.scss.js +31 -0
  135. package/dist/components/auth/use_auth/AuthContext.js +5 -5
  136. package/dist/components/auth/use_auth/AuthProvider.js +26 -25
  137. package/dist/components/auth/use_auth/AuthStorage.js +28 -28
  138. package/dist/components/auth/use_auth/authTokenHandler.js +46 -44
  139. package/dist/components/auth/use_auth/useAuth.js +5 -5
  140. package/dist/components/auth/use_auth/useAuthActions.js +46 -34
  141. package/dist/components/auth/use_auth/useAuthInterceptor.js +34 -26
  142. package/dist/components/chart/line_chart/LineChart.js +99 -100
  143. package/dist/components/chart/line_chart/LineChart.module.scss.js +15 -0
  144. package/dist/components/chart/pie_chart/PieChart.js +83 -68
  145. package/dist/components/chart/pie_chart/PieChart.module.scss.js +7 -0
  146. package/dist/components/consultation/consultation_box/ConsultationBox.js +164 -121
  147. package/dist/components/consultation/consultation_box/ConsultationBox.module.scss.js +35 -0
  148. package/dist/components/data/axios_client/httpClient.js +7 -7
  149. package/dist/components/data/config_provider/ConfigProvider.js +7 -12
  150. package/dist/components/data/config_provider/useConfig.js +7 -7
  151. package/dist/components/data/config_provider/useRoutes.js +7 -7
  152. package/dist/components/data/config_provider/withConfig.js +6 -9
  153. package/dist/components/data/data_provider/DataProvider.js +106 -99
  154. package/dist/components/data/data_provider/DataProviderContext.js +5 -5
  155. package/dist/components/data/data_provider/useData.js +10 -8
  156. package/dist/components/data/data_provider/useDataProvider.js +7 -7
  157. package/dist/components/debate/debate_box/DebateBox.js +185 -154
  158. package/dist/components/debate/debate_box/DebateBox.module.scss.js +49 -0
  159. package/dist/components/dialog/announcement_dialog/AnnouncementDialog.js +36 -29
  160. package/dist/components/dialog/announcement_dialog/AnnouncementDialog.module.scss.js +13 -0
  161. package/dist/components/dialog/confirm_modal/ConfirmModal.js +47 -36
  162. package/dist/components/dialog/confirm_modal/ConfirmModal.module.scss.js +13 -0
  163. package/dist/components/dialog/countdown/Countdown.js +22 -22
  164. package/dist/components/dialog/dialog_box/DialogBox.js +51 -50
  165. package/dist/components/dialog/dialog_box/DialogBox.module.scss.js +27 -0
  166. package/dist/components/dialog/drawer/Drawer.js +140 -126
  167. package/dist/components/dialog/drawer/Drawer.module.scss.js +31 -0
  168. package/dist/components/dialog/dropdown/Dropdown.js +48 -28
  169. package/dist/components/dialog/dropdown/Dropdown.module.scss.js +17 -0
  170. package/dist/components/dialog/modal/Modal.js +83 -64
  171. package/dist/components/dialog/modal/Modal.module.scss.js +19 -0
  172. package/dist/components/dialog/modal/ModalProvider.js +16 -19
  173. package/dist/components/dialog/modal/useModal.js +6 -6
  174. package/dist/components/dialog/toast/Toast.js +35 -39
  175. package/dist/components/dialog/toast/Toast.module.scss.js +25 -0
  176. package/dist/components/dialog/toast_provider/ToastContext.js +5 -5
  177. package/dist/components/dialog/toast_provider/ToastProvider.js +32 -27
  178. package/dist/components/dialog/toast_provider/ToastProvider.module.scss.js +7 -0
  179. package/dist/components/dialog/toast_provider/useToast.js +8 -11
  180. package/dist/components/dialog/tooltip/Tooltip.js +43 -31
  181. package/dist/components/dialog/tooltip/Tooltip.module.scss.js +21 -0
  182. package/dist/components/embed/embed_header/EmbedHeader.js +97 -71
  183. package/dist/components/embed/embed_header/EmbedHeader.module.scss.js +29 -0
  184. package/dist/components/error/standard_error_boundary/StandardErrorBoundary.js +16 -17
  185. package/dist/components/error/standard_error_boundary/StandardErrorBoundary.module.scss.js +7 -0
  186. package/dist/components/follow/follow_button/FollowButton.js +45 -47
  187. package/dist/components/follow/follow_button/FollowButton.module.scss.js +9 -0
  188. package/dist/components/follow/use_follow/useFollow.js +41 -35
  189. package/dist/components/forms/form/extract-form-data.js +10 -10
  190. package/dist/components/forms/form/form-context.js +5 -5
  191. package/dist/components/forms/form/form.js +22 -26
  192. package/dist/components/forms/form/use-form-context.js +28 -31
  193. package/dist/components/forms/form/use-form.js +6 -6
  194. package/dist/components/forms/use_form_validation/useFormValidation.js +50 -44
  195. package/dist/components/gamification/badge_box/BadgeBox.js +102 -92
  196. package/dist/components/gamification/badge_box/BadgeBox.module.scss.js +32 -0
  197. package/dist/components/gamification/point_box/PointBox.js +12 -18
  198. package/dist/components/gamification/point_box/PointBox.module.scss.js +11 -0
  199. package/dist/components/hooks/use_auth_required/useAuthRequired.js +22 -15
  200. package/dist/components/hooks/use_css_theme/useCssTheme.js +16 -15
  201. package/dist/components/hooks/use_font_loader/useFontLoader.js +12 -8
  202. package/dist/components/hooks/use_matomo/useMatomo.js +9 -9
  203. package/dist/components/hooks/use_relative_time/useRelativeTime.js +32 -52
  204. package/dist/components/hooks/use_responsive/ResponsiveContext.js +5 -5
  205. package/dist/components/hooks/use_responsive/ResponsiveProvider.js +41 -32
  206. package/dist/components/hooks/use_responsive/useResponsive.js +8 -13
  207. package/dist/components/icons/bild_icons/Alarm.js +12 -14
  208. package/dist/components/icons/bild_icons/Announcement.js +14 -19
  209. package/dist/components/icons/bild_icons/Arrow.js +5 -10
  210. package/dist/components/icons/bild_icons/Blockquote.js +5 -10
  211. package/dist/components/icons/bild_icons/Bold.js +5 -10
  212. package/dist/components/icons/bild_icons/Camera.js +8 -10
  213. package/dist/components/icons/bild_icons/Chat.js +37 -43
  214. package/dist/components/icons/bild_icons/Check.js +14 -11
  215. package/dist/components/icons/bild_icons/CheckCircle.js +21 -19
  216. package/dist/components/icons/bild_icons/Checkbox.js +8 -10
  217. package/dist/components/icons/bild_icons/Clap.js +32 -20
  218. package/dist/components/icons/bild_icons/Clock.js +5 -10
  219. package/dist/components/icons/bild_icons/Close.js +5 -10
  220. package/dist/components/icons/bild_icons/Code.js +35 -31
  221. package/dist/components/icons/bild_icons/Community.js +5 -10
  222. package/dist/components/icons/bild_icons/Crown.js +14 -11
  223. package/dist/components/icons/bild_icons/Document.js +5 -10
  224. package/dist/components/icons/bild_icons/Downvote.js +5 -10
  225. package/dist/components/icons/bild_icons/Ellipsis.js +14 -11
  226. package/dist/components/icons/bild_icons/ExpertBadge.js +50 -32
  227. package/dist/components/icons/bild_icons/Facebook.js +5 -10
  228. package/dist/components/icons/bild_icons/Flag.js +5 -10
  229. package/dist/components/icons/bild_icons/Home.js +5 -10
  230. package/dist/components/icons/bild_icons/Italic.js +5 -10
  231. package/dist/components/icons/bild_icons/LightArrow.js +14 -11
  232. package/dist/components/icons/bild_icons/Link.js +8 -10
  233. package/dist/components/icons/bild_icons/Login.js +30 -18
  234. package/dist/components/icons/bild_icons/Logora.js +55 -24
  235. package/dist/components/icons/bild_icons/Mail.js +5 -10
  236. package/dist/components/icons/bild_icons/MinusCircle.js +20 -23
  237. package/dist/components/icons/bild_icons/MobileClose.js +23 -18
  238. package/dist/components/icons/bild_icons/MobileMenu.js +28 -28
  239. package/dist/components/icons/bild_icons/Next.js +22 -21
  240. package/dist/components/icons/bild_icons/OpenBlank.js +20 -14
  241. package/dist/components/icons/bild_icons/OrderedList.js +5 -10
  242. package/dist/components/icons/bild_icons/PauseCircle.js +22 -33
  243. package/dist/components/icons/bild_icons/Point.js +24 -20
  244. package/dist/components/icons/bild_icons/Question.js +14 -17
  245. package/dist/components/icons/bild_icons/Refresh.js +8 -10
  246. package/dist/components/icons/bild_icons/Reply.js +8 -10
  247. package/dist/components/icons/bild_icons/Search.js +5 -10
  248. package/dist/components/icons/bild_icons/Send.js +5 -10
  249. package/dist/components/icons/bild_icons/Share.js +14 -11
  250. package/dist/components/icons/bild_icons/SmallArrow.js +5 -10
  251. package/dist/components/icons/bild_icons/Source.js +5 -10
  252. package/dist/components/icons/bild_icons/Suggestion.js +24 -18
  253. package/dist/components/icons/bild_icons/Twitter.js +43 -28
  254. package/dist/components/icons/bild_icons/Underline.js +5 -10
  255. package/dist/components/icons/bild_icons/Upvote.js +5 -10
  256. package/dist/components/icons/bild_icons/User.js +5 -10
  257. package/dist/components/icons/bild_icons/Versus.js +11 -13
  258. package/dist/components/icons/bild_icons/Votebox.js +14 -11
  259. package/dist/components/icons/bild_icons/index.js +105 -109
  260. package/dist/components/icons/hero_icons/Alarm.js +23 -17
  261. package/dist/components/icons/hero_icons/Announcement.js +23 -17
  262. package/dist/components/icons/hero_icons/Arrow.js +23 -17
  263. package/dist/components/icons/hero_icons/Blockquote.js +25 -26
  264. package/dist/components/icons/hero_icons/Bold.js +22 -16
  265. package/dist/components/icons/hero_icons/Camera.js +33 -21
  266. package/dist/components/icons/hero_icons/Chat.js +23 -17
  267. package/dist/components/icons/hero_icons/Check.js +23 -17
  268. package/dist/components/icons/hero_icons/CheckCircle.js +21 -19
  269. package/dist/components/icons/hero_icons/Checkbox.js +23 -17
  270. package/dist/components/icons/hero_icons/Clap.js +23 -17
  271. package/dist/components/icons/hero_icons/Clock.js +23 -17
  272. package/dist/components/icons/hero_icons/Close.js +23 -17
  273. package/dist/components/icons/hero_icons/Code.js +23 -17
  274. package/dist/components/icons/hero_icons/Community.js +23 -17
  275. package/dist/components/icons/hero_icons/Crown.js +23 -17
  276. package/dist/components/icons/hero_icons/Downvote.js +23 -17
  277. package/dist/components/icons/hero_icons/Ellipsis.js +23 -17
  278. package/dist/components/icons/hero_icons/ExpertBadge.js +23 -17
  279. package/dist/components/icons/hero_icons/Facebook.js +5 -10
  280. package/dist/components/icons/hero_icons/Flag.js +5 -10
  281. package/dist/components/icons/hero_icons/Home.js +23 -17
  282. package/dist/components/icons/hero_icons/Italic.js +22 -16
  283. package/dist/components/icons/hero_icons/LightArrow.js +14 -11
  284. package/dist/components/icons/hero_icons/Link.js +23 -17
  285. package/dist/components/icons/hero_icons/Login.js +24 -18
  286. package/dist/components/icons/hero_icons/Logora.js +55 -24
  287. package/dist/components/icons/hero_icons/Mail.js +23 -17
  288. package/dist/components/icons/hero_icons/MinusCircle.js +20 -23
  289. package/dist/components/icons/hero_icons/MobileClose.js +23 -17
  290. package/dist/components/icons/hero_icons/MobileMenu.js +23 -17
  291. package/dist/components/icons/hero_icons/Next.js +23 -17
  292. package/dist/components/icons/hero_icons/OpenBlank.js +23 -17
  293. package/dist/components/icons/hero_icons/OrderedList.js +60 -46
  294. package/dist/components/icons/hero_icons/PauseCircle.js +22 -33
  295. package/dist/components/icons/hero_icons/Point.js +24 -20
  296. package/dist/components/icons/hero_icons/Question.js +23 -17
  297. package/dist/components/icons/hero_icons/Refresh.js +23 -17
  298. package/dist/components/icons/hero_icons/Reply.js +23 -17
  299. package/dist/components/icons/hero_icons/Search.js +23 -17
  300. package/dist/components/icons/hero_icons/Send.js +23 -17
  301. package/dist/components/icons/hero_icons/Share.js +23 -17
  302. package/dist/components/icons/hero_icons/SmallArrow.js +23 -17
  303. package/dist/components/icons/hero_icons/Source.js +23 -17
  304. package/dist/components/icons/hero_icons/Suggestion.js +23 -17
  305. package/dist/components/icons/hero_icons/Twitter.js +43 -28
  306. package/dist/components/icons/hero_icons/Underline.js +25 -26
  307. package/dist/components/icons/hero_icons/Upvote.js +23 -17
  308. package/dist/components/icons/hero_icons/User.js +23 -17
  309. package/dist/components/icons/hero_icons/Versus.js +23 -17
  310. package/dist/components/icons/hero_icons/Votebox.js +23 -17
  311. package/dist/components/icons/hero_icons/index.js +103 -107
  312. package/dist/components/icons/icon/Icon.js +23 -19
  313. package/dist/components/icons/icon_provider/IconProvider.js +7 -9
  314. package/dist/components/icons/krone_icons/Alarm.js +29 -27
  315. package/dist/components/icons/krone_icons/Announcement.js +21 -15
  316. package/dist/components/icons/krone_icons/Arrow.js +5 -10
  317. package/dist/components/icons/krone_icons/Blockquote.js +5 -10
  318. package/dist/components/icons/krone_icons/Bold.js +5 -10
  319. package/dist/components/icons/krone_icons/Camera.js +8 -10
  320. package/dist/components/icons/krone_icons/Chat.js +31 -29
  321. package/dist/components/icons/krone_icons/Check.js +5 -10
  322. package/dist/components/icons/krone_icons/CheckBox.js +22 -16
  323. package/dist/components/icons/krone_icons/CheckCircle.js +21 -19
  324. package/dist/components/icons/krone_icons/Clap.js +31 -29
  325. package/dist/components/icons/krone_icons/Clock.js +5 -10
  326. package/dist/components/icons/krone_icons/Close.js +5 -10
  327. package/dist/components/icons/krone_icons/Code.js +35 -31
  328. package/dist/components/icons/krone_icons/Community.js +5 -10
  329. package/dist/components/icons/krone_icons/Crown.js +5 -10
  330. package/dist/components/icons/krone_icons/Document.js +5 -10
  331. package/dist/components/icons/krone_icons/Downvote.js +5 -10
  332. package/dist/components/icons/krone_icons/Ellipsis.js +23 -17
  333. package/dist/components/icons/krone_icons/ExpertBadge.js +31 -29
  334. package/dist/components/icons/krone_icons/Facebook.js +5 -10
  335. package/dist/components/icons/krone_icons/Flag.js +5 -10
  336. package/dist/components/icons/krone_icons/Home.js +31 -29
  337. package/dist/components/icons/krone_icons/Italic.js +5 -10
  338. package/dist/components/icons/krone_icons/LightArrow.js +5 -10
  339. package/dist/components/icons/krone_icons/Link.js +8 -10
  340. package/dist/components/icons/krone_icons/Login.js +29 -17
  341. package/dist/components/icons/krone_icons/Logora.js +55 -24
  342. package/dist/components/icons/krone_icons/Mail.js +5 -10
  343. package/dist/components/icons/krone_icons/MinusCircle.js +20 -23
  344. package/dist/components/icons/krone_icons/MobileClose.js +14 -17
  345. package/dist/components/icons/krone_icons/MobileMenu.js +28 -28
  346. package/dist/components/icons/krone_icons/Next.js +22 -21
  347. package/dist/components/icons/krone_icons/OpenBlank.js +20 -14
  348. package/dist/components/icons/krone_icons/OrderedList.js +5 -10
  349. package/dist/components/icons/krone_icons/PauseCircle.js +21 -32
  350. package/dist/components/icons/krone_icons/Point.js +24 -20
  351. package/dist/components/icons/krone_icons/Question.js +31 -29
  352. package/dist/components/icons/krone_icons/Refresh.js +8 -10
  353. package/dist/components/icons/krone_icons/Reply.js +23 -17
  354. package/dist/components/icons/krone_icons/Search.js +5 -10
  355. package/dist/components/icons/krone_icons/Send.js +30 -25
  356. package/dist/components/icons/krone_icons/Share.js +16 -13
  357. package/dist/components/icons/krone_icons/SmallArrow.js +5 -10
  358. package/dist/components/icons/krone_icons/Source.js +5 -10
  359. package/dist/components/icons/krone_icons/Suggestion.js +31 -29
  360. package/dist/components/icons/krone_icons/Twitter.js +43 -28
  361. package/dist/components/icons/krone_icons/Underline.js +5 -10
  362. package/dist/components/icons/krone_icons/Upvote.js +31 -29
  363. package/dist/components/icons/krone_icons/User.js +37 -32
  364. package/dist/components/icons/krone_icons/Versus.js +5 -10
  365. package/dist/components/icons/krone_icons/Votebox.js +31 -29
  366. package/dist/components/icons/krone_icons/index.js +105 -109
  367. package/dist/components/icons/regular_icons/Alarm.js +12 -14
  368. package/dist/components/icons/regular_icons/Announcement.js +14 -19
  369. package/dist/components/icons/regular_icons/Arrow.js +5 -10
  370. package/dist/components/icons/regular_icons/Blockquote.js +5 -10
  371. package/dist/components/icons/regular_icons/Bold.js +5 -10
  372. package/dist/components/icons/regular_icons/Camera.js +8 -10
  373. package/dist/components/icons/regular_icons/Chat.js +10 -15
  374. package/dist/components/icons/regular_icons/Check.js +5 -10
  375. package/dist/components/icons/regular_icons/CheckCircle.js +21 -19
  376. package/dist/components/icons/regular_icons/Checkbox.js +8 -10
  377. package/dist/components/icons/regular_icons/Clap.js +12 -14
  378. package/dist/components/icons/regular_icons/Clock.js +5 -10
  379. package/dist/components/icons/regular_icons/Close.js +5 -10
  380. package/dist/components/icons/regular_icons/Code.js +35 -31
  381. package/dist/components/icons/regular_icons/Community.js +5 -10
  382. package/dist/components/icons/regular_icons/Crown.js +5 -10
  383. package/dist/components/icons/regular_icons/Document.js +5 -10
  384. package/dist/components/icons/regular_icons/Downvote.js +5 -10
  385. package/dist/components/icons/regular_icons/Ellipsis.js +5 -10
  386. package/dist/components/icons/regular_icons/ExpertBadge.js +41 -31
  387. package/dist/components/icons/regular_icons/Facebook.js +5 -10
  388. package/dist/components/icons/regular_icons/Flag.js +5 -10
  389. package/dist/components/icons/regular_icons/Home.js +5 -10
  390. package/dist/components/icons/regular_icons/Italic.js +5 -10
  391. package/dist/components/icons/regular_icons/LightArrow.js +5 -10
  392. package/dist/components/icons/regular_icons/Link.js +8 -10
  393. package/dist/components/icons/regular_icons/Login.js +29 -17
  394. package/dist/components/icons/regular_icons/Logora.js +55 -24
  395. package/dist/components/icons/regular_icons/Mail.js +5 -10
  396. package/dist/components/icons/regular_icons/MinusCircle.js +20 -23
  397. package/dist/components/icons/regular_icons/MobileClose.js +14 -17
  398. package/dist/components/icons/regular_icons/MobileMenu.js +28 -28
  399. package/dist/components/icons/regular_icons/Next.js +22 -21
  400. package/dist/components/icons/regular_icons/OpenBlank.js +20 -14
  401. package/dist/components/icons/regular_icons/OrderedList.js +5 -10
  402. package/dist/components/icons/regular_icons/PauseCircle.js +21 -32
  403. package/dist/components/icons/regular_icons/Point.js +24 -20
  404. package/dist/components/icons/regular_icons/Question.js +14 -17
  405. package/dist/components/icons/regular_icons/Refresh.js +8 -10
  406. package/dist/components/icons/regular_icons/Reply.js +8 -10
  407. package/dist/components/icons/regular_icons/Search.js +5 -10
  408. package/dist/components/icons/regular_icons/Send.js +5 -10
  409. package/dist/components/icons/regular_icons/Share.js +14 -11
  410. package/dist/components/icons/regular_icons/SmallArrow.js +5 -10
  411. package/dist/components/icons/regular_icons/Source.js +5 -10
  412. package/dist/components/icons/regular_icons/Suggestion.js +24 -18
  413. package/dist/components/icons/regular_icons/Twitter.js +43 -28
  414. package/dist/components/icons/regular_icons/Underline.js +5 -10
  415. package/dist/components/icons/regular_icons/Upvote.js +5 -10
  416. package/dist/components/icons/regular_icons/User.js +5 -10
  417. package/dist/components/icons/regular_icons/Versus.js +5 -10
  418. package/dist/components/icons/regular_icons/Votebox.js +14 -11
  419. package/dist/components/icons/regular_icons/index.js +105 -109
  420. package/dist/components/icons/spiegel_icons/Alarm.js +12 -14
  421. package/dist/components/icons/spiegel_icons/Announcement.js +14 -19
  422. package/dist/components/icons/spiegel_icons/Arrow.js +5 -10
  423. package/dist/components/icons/spiegel_icons/Blockquote.js +24 -25
  424. package/dist/components/icons/spiegel_icons/Bold.js +21 -15
  425. package/dist/components/icons/spiegel_icons/Camera.js +8 -10
  426. package/dist/components/icons/spiegel_icons/Chat.js +14 -11
  427. package/dist/components/icons/spiegel_icons/Check.js +5 -10
  428. package/dist/components/icons/spiegel_icons/CheckCircle.js +31 -19
  429. package/dist/components/icons/spiegel_icons/Checkbox.js +24 -25
  430. package/dist/components/icons/spiegel_icons/Clap.js +24 -25
  431. package/dist/components/icons/spiegel_icons/Clock.js +27 -25
  432. package/dist/components/icons/spiegel_icons/Close.js +12 -14
  433. package/dist/components/icons/spiegel_icons/Code.js +35 -31
  434. package/dist/components/icons/spiegel_icons/Community.js +5 -10
  435. package/dist/components/icons/spiegel_icons/Crown.js +14 -11
  436. package/dist/components/icons/spiegel_icons/Downvote.js +5 -10
  437. package/dist/components/icons/spiegel_icons/Ellipsis.js +14 -11
  438. package/dist/components/icons/spiegel_icons/ExpertBadge.js +32 -27
  439. package/dist/components/icons/spiegel_icons/Facebook.js +21 -15
  440. package/dist/components/icons/spiegel_icons/Flag.js +31 -19
  441. package/dist/components/icons/spiegel_icons/Home.js +5 -10
  442. package/dist/components/icons/spiegel_icons/Italic.js +21 -15
  443. package/dist/components/icons/spiegel_icons/LightArrow.js +14 -11
  444. package/dist/components/icons/spiegel_icons/Link.js +21 -25
  445. package/dist/components/icons/spiegel_icons/Login.js +24 -18
  446. package/dist/components/icons/spiegel_icons/Logora.js +55 -24
  447. package/dist/components/icons/spiegel_icons/Mail.js +21 -15
  448. package/dist/components/icons/spiegel_icons/MinusCircle.js +31 -19
  449. package/dist/components/icons/spiegel_icons/MobileClose.js +23 -18
  450. package/dist/components/icons/spiegel_icons/MobileMenu.js +28 -28
  451. package/dist/components/icons/spiegel_icons/Next.js +22 -21
  452. package/dist/components/icons/spiegel_icons/OpenBlank.js +20 -14
  453. package/dist/components/icons/spiegel_icons/OrderedList.js +24 -28
  454. package/dist/components/icons/spiegel_icons/PauseCircle.js +31 -19
  455. package/dist/components/icons/spiegel_icons/Point.js +24 -20
  456. package/dist/components/icons/spiegel_icons/Question.js +28 -29
  457. package/dist/components/icons/spiegel_icons/Refresh.js +8 -10
  458. package/dist/components/icons/spiegel_icons/Reply.js +14 -11
  459. package/dist/components/icons/spiegel_icons/Search.js +5 -10
  460. package/dist/components/icons/spiegel_icons/Send.js +5 -10
  461. package/dist/components/icons/spiegel_icons/Share.js +24 -25
  462. package/dist/components/icons/spiegel_icons/SmallArrow.js +14 -11
  463. package/dist/components/icons/spiegel_icons/Source.js +5 -10
  464. package/dist/components/icons/spiegel_icons/Suggestion.js +21 -15
  465. package/dist/components/icons/spiegel_icons/Twitter.js +43 -28
  466. package/dist/components/icons/spiegel_icons/Underline.js +24 -25
  467. package/dist/components/icons/spiegel_icons/Upvote.js +5 -10
  468. package/dist/components/icons/spiegel_icons/User.js +5 -10
  469. package/dist/components/icons/spiegel_icons/Versus.js +11 -13
  470. package/dist/components/icons/spiegel_icons/Votebox.js +24 -25
  471. package/dist/components/icons/spiegel_icons/index.js +103 -107
  472. package/dist/components/input/argument_input/ArgumentInput.js +387 -285
  473. package/dist/components/input/argument_input/ArgumentInput.module.scss.js +43 -0
  474. package/dist/components/input/argument_input/index.js +4 -2
  475. package/dist/components/input/checkbox/hidden/hidden-checkbox.js +15 -14
  476. package/dist/components/input/checkbox/hidden/hidden-checkbox.module.scss.js +7 -0
  477. package/dist/components/input/checkbox/indicator/checkbox-indicator.js +19 -16
  478. package/dist/components/input/checkbox/indicator/checkbox-indicator.module.scss.js +9 -0
  479. package/dist/components/input/checkbox/label/checkbox-label.js +38 -25
  480. package/dist/components/input/input_provider/InputProvider.js +24 -20
  481. package/dist/components/input/input_provider/useInput.js +5 -5
  482. package/dist/components/input/search_input/SearchInput.js +99 -73
  483. package/dist/components/input/search_input/SearchInput.module.scss.js +11 -0
  484. package/dist/components/input/select/Select.js +85 -75
  485. package/dist/components/input/select/Select.module.scss.js +19 -0
  486. package/dist/components/input/text_editor/EditorTheme.js +70 -68
  487. package/dist/components/input/text_editor/TextEditor.js +170 -146
  488. package/dist/components/input/text_editor/TextEditor.module.scss.js +45 -0
  489. package/dist/components/input/text_editor/lexicalToHtml.js +19 -21
  490. package/dist/components/input/text_editor/plugins/AutoSavePlugin.js +33 -24
  491. package/dist/components/input/text_editor/plugins/FocusPlugin.js +13 -13
  492. package/dist/components/input/text_editor/plugins/MaxLengthPlugin.js +25 -22
  493. package/dist/components/input/text_editor/plugins/ResetPlugin.js +20 -17
  494. package/dist/components/input/text_editor/plugins/SetContentPlugin.js +17 -17
  495. package/dist/components/input/text_editor/plugins/SetRichContentPlugin.js +14 -14
  496. package/dist/components/input/text_editor/plugins/ToolbarPlugin.js +229 -169
  497. package/dist/components/input/text_editor/plugins/ToolbarPlugin.module.scss.js +25 -0
  498. package/dist/components/input/text_input/TextInput.js +61 -35
  499. package/dist/components/input/text_input/TextInput.module.scss.js +21 -0
  500. package/dist/components/input/text_input/color-accent.js +11 -11
  501. package/dist/components/input/text_input/message.js +8 -14
  502. package/dist/components/input/toggle/Toggle.js +23 -26
  503. package/dist/components/input/toggle/Toggle.module.scss.js +15 -0
  504. package/dist/components/input/toggle_position/TogglePosition.js +65 -47
  505. package/dist/components/input/toggle_position/TogglePosition.module.scss.js +15 -0
  506. package/dist/components/intl/intl_provider/IntlContext.js +5 -5
  507. package/dist/components/intl/intl_provider/IntlProvider.js +46 -37
  508. package/dist/components/intl/intl_provider/useLocale.js +8 -11
  509. package/dist/components/list/list_provider/ListProvider.js +45 -44
  510. package/dist/components/list/list_provider/useList.js +34 -21
  511. package/dist/components/list/paginated_list/PaginatedList.js +244 -177
  512. package/dist/components/list/paginated_list/PaginatedList.module.scss.js +33 -0
  513. package/dist/components/list/paginated_list/VotePaginatedList.js +22 -18
  514. package/dist/components/list/paginated_list/action_bar/ActionBar.js +109 -74
  515. package/dist/components/list/paginated_list/action_bar/ActionBar.module.scss.js +23 -0
  516. package/dist/components/list/pagination/Pagination.js +33 -26
  517. package/dist/components/list/pagination/Pagination.module.scss.js +7 -0
  518. package/dist/components/modal/side_modal/SideModal.js +72 -58
  519. package/dist/components/modal/side_modal/SideModal.module.scss.js +19 -0
  520. package/dist/components/modal/side_modal/index.js +3 -1
  521. package/dist/components/navbar/navbar_button/NavbarButton.js +32 -28
  522. package/dist/components/navbar/navbar_button/NavbarButton.module.scss.js +9 -0
  523. package/dist/components/navbar/navbar_modal/NavbarModal.js +182 -155
  524. package/dist/components/navbar/navbar_modal/NavbarModal.module.scss.js +25 -0
  525. package/dist/components/notification/notification_item/NotificationItem.js +77 -48
  526. package/dist/components/notification/notification_item/NotificationItem.module.scss.js +17 -0
  527. package/dist/components/notification/notification_menu/NotificationMenu.js +59 -52
  528. package/dist/components/notification/notification_menu/NotificationMenu.module.scss.js +13 -0
  529. package/dist/components/progress/loader/Loader.js +6 -12
  530. package/dist/components/progress/loader/Loader.module.scss.js +9 -0
  531. package/dist/components/progress/progress_bar/ProgressBar.js +48 -57
  532. package/dist/components/progress/progress_bar/ProgressBar.module.scss.js +23 -0
  533. package/dist/components/proposal/proposal_box/ProposalBox.js +139 -107
  534. package/dist/components/proposal/proposal_box/ProposalBox.module.scss.js +19 -0
  535. package/dist/components/report/report_box/ReportBox.js +103 -101
  536. package/dist/components/report/report_box/ReportBox.module.scss.js +19 -0
  537. package/dist/components/section/section_box/SectionBox.js +56 -39
  538. package/dist/components/section/section_box/SectionBox.module.scss.js +25 -0
  539. package/dist/components/share/share_box/ShareBox.js +182 -130
  540. package/dist/components/share/share_box/ShareBox.module.scss.js +17 -0
  541. package/dist/components/share/share_button/ShareButton.js +91 -72
  542. package/dist/components/share/share_button/ShareButton.module.scss.js +15 -0
  543. package/dist/components/share/share_modal/ShareModal.js +30 -26
  544. package/dist/components/share/share_modal/ShareModal.module.scss.js +7 -0
  545. package/dist/components/share/share_modal/index.js +4 -2
  546. package/dist/components/skeleton/box_skeleton/BoxSkeleton.js +84 -62
  547. package/dist/components/skeleton/user_content_skeleton/UserContentSkeleton.js +49 -56
  548. package/dist/components/skeleton/user_content_skeleton/UserContentSkeleton.module.scss.js +23 -0
  549. package/dist/components/source/context_source_box/ContextSourceBox.js +39 -43
  550. package/dist/components/source/context_source_box/ContextSourceBox.module.scss.js +17 -0
  551. package/dist/components/source/context_source_list/ContextSourceList.js +53 -41
  552. package/dist/components/source/context_source_list/ContextSourceList.module.scss.js +15 -0
  553. package/dist/components/source/source_box/SourceBox.js +31 -38
  554. package/dist/components/source/source_box/SourceBox.module.scss.js +19 -0
  555. package/dist/components/source/source_list_item/SourceListItem.js +33 -31
  556. package/dist/components/source/source_list_item/SourceListItem.module.scss.js +9 -0
  557. package/dist/components/source/source_modal/SourceModal.js +138 -109
  558. package/dist/components/source/source_modal/SourceModal.module.scss.js +19 -0
  559. package/dist/components/suggestion/suggestion_banner/SuggestionBanner.js +122 -98
  560. package/dist/components/suggestion/suggestion_banner/SuggestionBanner.module.scss.js +23 -0
  561. package/dist/components/suggestion/suggestion_box/SuggestionBox.js +117 -96
  562. package/dist/components/suggestion/suggestion_box/SuggestionBox.module.scss.js +23 -0
  563. package/dist/components/suggestion/suggestion_input/SuggestionInput.js +182 -156
  564. package/dist/components/suggestion/suggestion_input/SuggestionInput.module.scss.js +19 -0
  565. package/dist/components/summary/argument_summary_box/ArgumentSummaryBox.js +64 -61
  566. package/dist/components/summary/argument_summary_box/ArgumentSummaryBox.module.scss.js +23 -0
  567. package/dist/components/summary/keyword_box/KeywordBox.js +34 -36
  568. package/dist/components/summary/keyword_box/KeywordBox.module.scss.js +13 -0
  569. package/dist/components/summary/summary/Summary.js +87 -72
  570. package/dist/components/summary/summary/Summary.module.scss.js +9 -0
  571. package/dist/components/summary/summary_box/SummaryBox.js +17 -21
  572. package/dist/components/summary/summary_box/SummaryBox.module.scss.js +17 -0
  573. package/dist/components/tag/tag/Tag.js +34 -18
  574. package/dist/components/tag/tag/Tag.module.scss.js +9 -0
  575. package/dist/components/text/expandable_text/ArrowIcon.js +5 -10
  576. package/dist/components/text/expandable_text/ExpandableText.js +71 -52
  577. package/dist/components/text/expandable_text/ExpandableText.module.scss.js +17 -0
  578. package/dist/components/text/read_more/ReadMore.js +79 -62
  579. package/dist/components/text/read_more/ReadMore.module.scss.js +19 -0
  580. package/dist/components/tools/hash_scroll/HashScroll.js +17 -17
  581. package/dist/components/tools/scroll_to_top/ScrollToTop.js +16 -14
  582. package/dist/components/translation/translated_content/TranslatedContent.js +19 -6
  583. package/dist/components/translation/translated_content/useTranslatedContent.js +53 -25
  584. package/dist/components/translation/translation_button/TranslationButton.js +50 -34
  585. package/dist/components/translation/translation_button/TranslationButton.module.scss.js +7 -0
  586. package/dist/components/user/author_box/AuthorBox.js +116 -112
  587. package/dist/components/user/author_box/AuthorBox.module.scss.js +33 -0
  588. package/dist/components/user/avatar/Avatar.js +75 -53
  589. package/dist/components/user/avatar/Avatar.module.scss.js +13 -0
  590. package/dist/components/user/avatar/DefaultAvatar.js +11 -16
  591. package/dist/components/user/avatar_selector/AvatarSelector.js +127 -107
  592. package/dist/components/user/avatar_selector/AvatarSelector.module.scss.js +33 -0
  593. package/dist/components/user/update_user_info_modal/UpdateUserInfoModal.js +290 -250
  594. package/dist/components/user/update_user_info_modal/UpdateUserInfoModal.module.scss.js +29 -0
  595. package/dist/components/user/update_user_info_modal/useUpdateUserInfo.js +26 -25
  596. package/dist/components/user/user_box/UserBox.js +78 -80
  597. package/dist/components/user/user_box/UserBox.module.scss.js +17 -0
  598. package/dist/components/user/user_box_small/UserBoxSmall.js +40 -42
  599. package/dist/components/user/user_box_small/UserBoxSmall.module.scss.js +9 -0
  600. package/dist/components/user_content/content_footer/ContentFooter.js +245 -171
  601. package/dist/components/user_content/content_footer/ContentFooter.module.scss.js +19 -0
  602. package/dist/components/user_content/content_header/ContentHeader.js +126 -119
  603. package/dist/components/user_content/content_header/ContentHeader.module.scss.js +29 -0
  604. package/dist/components/user_content/summary_content_box/SummaryContentBox.js +102 -70
  605. package/dist/components/user_content/summary_content_box/SummaryContentBox.module.scss.js +17 -0
  606. package/dist/components/user_content/use_delete_content/useDeleteContent.js +52 -44
  607. package/dist/components/user_content/use_report_content/ReportModal.js +267 -265
  608. package/dist/components/user_content/use_report_content/ReportModal.module.scss.js +27 -0
  609. package/dist/components/user_content/use_report_content/useReportContent.js +25 -23
  610. package/dist/components/util/lang_emojis/langEmojis.js +59 -57
  611. package/dist/components/util/location/Location.js +49 -40
  612. package/dist/components/util/unique_by/uniqueBy.js +8 -6
  613. package/dist/components/vote/suggestion_vote_box/SuggestionVoteBox.js +93 -80
  614. package/dist/components/vote/suggestion_vote_box/SuggestionVoteBox.module.scss.js +9 -0
  615. package/dist/components/vote/up_down_vote_box/UpDownVoteBox.js +71 -54
  616. package/dist/components/vote/up_down_vote_box/UpDownVoteBox.module.scss.js +17 -0
  617. package/dist/components/vote/use_vote/useVote.js +74 -61
  618. package/dist/components/vote/vote_box/VoteBox.js +423 -296
  619. package/dist/components/vote/vote_box/VoteBox.module.scss.js +59 -0
  620. package/dist/components/vote/vote_button/VoteButton.js +55 -38
  621. package/dist/components/vote/vote_button/VoteButton.module.scss.js +11 -0
  622. package/dist/components/vote/vote_provider/VoteProvider.js +36 -39
  623. package/dist/index.js +310 -202
  624. package/package.json +23 -17
  625. package/dist/_virtual/_rolldown/runtime.js +0 -23
  626. package/dist/assets/debate-Bv79XlHp.css +0 -2
  627. package/dist/components/action/back_link/BackLink.module.js +0 -6
  628. package/dist/components/action/button/Button.module.js +0 -10
  629. package/dist/components/action/icon_text_link/IconTextLink.module.js +0 -11
  630. package/dist/components/ad/ad_unit/AdUnit.module.js +0 -3
  631. package/dist/components/argument/argument/Argument.module.js +0 -34
  632. package/dist/components/argument/argument/ReplyFooter.module.js +0 -10
  633. package/dist/components/argument/top_arguments/TopArguments.module.js +0 -9
  634. package/dist/components/auth/auth_modal/AuthModal.module.js +0 -3
  635. package/dist/components/auth/facebook_login_button/FacebookLoginButton.module.js +0 -6
  636. package/dist/components/auth/google_login_button/GoogleLoginButton.module.js +0 -6
  637. package/dist/components/auth/login_form/LoginForm.module.js +0 -9
  638. package/dist/components/auth/oauth2_button/OAuth2Button.module.js +0 -6
  639. package/dist/components/auth/signup_form/SignupForm.module.js +0 -7
  640. package/dist/components/auth/social_auth_form/SocialAuthForm.module.js +0 -21
  641. package/dist/components/auth/sso_form/SSOForm.module.js +0 -17
  642. package/dist/components/chart/line_chart/LineChart.module.js +0 -9
  643. package/dist/components/chart/pie_chart/PieChart.module.js +0 -3
  644. package/dist/components/consultation/consultation_box/ConsultationBox.module.js +0 -21
  645. package/dist/components/debate/debate_box/DebateBox.module.js +0 -26
  646. package/dist/components/dialog/announcement_dialog/AnnouncementDialog.module.js +0 -8
  647. package/dist/components/dialog/confirm_modal/ConfirmModal.module.js +0 -8
  648. package/dist/components/dialog/dialog_box/DialogBox.module.js +0 -16
  649. package/dist/components/dialog/drawer/Drawer.module.js +0 -17
  650. package/dist/components/dialog/dropdown/Dropdown.module.js +0 -10
  651. package/dist/components/dialog/modal/Modal.module.js +0 -12
  652. package/dist/components/dialog/toast/Toast.module.js +0 -14
  653. package/dist/components/dialog/toast_provider/ToastProvider.module.js +0 -3
  654. package/dist/components/dialog/tooltip/Tooltip.module.js +0 -12
  655. package/dist/components/embed/embed_header/EmbedHeader.module.js +0 -18
  656. package/dist/components/error/standard_error_boundary/StandardErrorBoundary.module.js +0 -3
  657. package/dist/components/follow/follow_button/FollowButton.module.js +0 -6
  658. package/dist/components/gamification/badge_box/BadgeBox.module.js +0 -19
  659. package/dist/components/gamification/point_box/PointBox.module.js +0 -7
  660. package/dist/components/input/argument_input/ArgumentInput.module.js +0 -23
  661. package/dist/components/input/checkbox/hidden/hidden-checkbox.module.js +0 -3
  662. package/dist/components/input/checkbox/indicator/checkbox-indicator.module.js +0 -6
  663. package/dist/components/input/search_input/SearchInput.module.js +0 -8
  664. package/dist/components/input/select/Select.module.js +0 -12
  665. package/dist/components/input/text_editor/TextEditor.module.js +0 -24
  666. package/dist/components/input/text_editor/plugins/ToolbarPlugin.module.js +0 -17
  667. package/dist/components/input/text_input/TextInput.module.js +0 -12
  668. package/dist/components/input/toggle/Toggle.module.js +0 -9
  669. package/dist/components/input/toggle_position/TogglePosition.module.js +0 -10
  670. package/dist/components/list/paginated_list/PaginatedList.module.js +0 -18
  671. package/dist/components/list/paginated_list/action_bar/ActionBar.module.js +0 -13
  672. package/dist/components/list/pagination/Pagination.module.js +0 -3
  673. package/dist/components/modal/side_modal/SideModal.module.js +0 -11
  674. package/dist/components/navbar/navbar_button/NavbarButton.module.js +0 -6
  675. package/dist/components/navbar/navbar_modal/NavbarModal.module.js +0 -16
  676. package/dist/components/notification/notification_item/NotificationItem.module.js +0 -10
  677. package/dist/components/notification/notification_menu/NotificationMenu.module.js +0 -8
  678. package/dist/components/progress/loader/Loader.module.js +0 -7
  679. package/dist/components/progress/progress_bar/ProgressBar.module.js +0 -14
  680. package/dist/components/proposal/proposal_box/ProposalBox.module.js +0 -11
  681. package/dist/components/report/report_box/ReportBox.module.js +0 -11
  682. package/dist/components/section/section_box/SectionBox.module.js +0 -14
  683. package/dist/components/share/share_box/ShareBox.module.js +0 -10
  684. package/dist/components/share/share_button/ShareButton.module.js +0 -9
  685. package/dist/components/share/share_modal/ShareModal.module.js +0 -3
  686. package/dist/components/skeleton/user_content_skeleton/UserContentSkeleton.module.js +0 -13
  687. package/dist/components/source/context_source_box/ContextSourceBox.module.js +0 -10
  688. package/dist/components/source/context_source_list/ContextSourceList.module.js +0 -10
  689. package/dist/components/source/source_box/SourceBox.module.js +0 -11
  690. package/dist/components/source/source_list_item/SourceListItem.module.js +0 -6
  691. package/dist/components/source/source_modal/SourceModal.module.js +0 -11
  692. package/dist/components/suggestion/suggestion_banner/SuggestionBanner.module.js +0 -13
  693. package/dist/components/suggestion/suggestion_box/SuggestionBox.module.js +0 -13
  694. package/dist/components/suggestion/suggestion_input/SuggestionInput.module.js +0 -11
  695. package/dist/components/summary/argument_summary_box/ArgumentSummaryBox.module.js +0 -13
  696. package/dist/components/summary/keyword_box/KeywordBox.module.js +0 -11
  697. package/dist/components/summary/summary/Summary.module.js +0 -6
  698. package/dist/components/summary/summary_box/SummaryBox.module.js +0 -10
  699. package/dist/components/tag/tag/Tag.module.js +0 -6
  700. package/dist/components/text/expandable_text/ExpandableText.module.js +0 -10
  701. package/dist/components/text/read_more/ReadMore.module.js +0 -11
  702. package/dist/components/translation/translation_button/TranslationButton.module.js +0 -3
  703. package/dist/components/user/author_box/AuthorBox.module.js +0 -18
  704. package/dist/components/user/avatar/Avatar.module.js +0 -8
  705. package/dist/components/user/avatar_selector/AvatarSelector.module.js +0 -18
  706. package/dist/components/user/update_user_info_modal/UpdateUserInfoModal.module.js +0 -23
  707. package/dist/components/user/user_box/UserBox.module.js +0 -13
  708. package/dist/components/user/user_box_small/UserBoxSmall.module.js +0 -6
  709. package/dist/components/user_content/content_footer/ContentFooter.module.js +0 -11
  710. package/dist/components/user_content/content_header/ContentHeader.module.js +0 -16
  711. package/dist/components/user_content/summary_content_box/SummaryContentBox.module.js +0 -10
  712. package/dist/components/user_content/use_report_content/ReportModal.module.js +0 -15
  713. package/dist/components/vote/suggestion_vote_box/SuggestionVoteBox.module.js +0 -6
  714. package/dist/components/vote/up_down_vote_box/UpDownVoteBox.module.js +0 -10
  715. package/dist/components/vote/vote_box/VoteBox.module.js +0 -31
  716. package/dist/components/vote/vote_button/VoteButton.module.js +0 -7
  717. package/dist/node_modules/.pnpm/@formatjs_fast-memoize@2.2.7/node_modules/@formatjs/fast-memoize/lib/index.js +0 -51
  718. package/dist/node_modules/.pnpm/@formatjs_icu-messageformat-parser@2.11.4/node_modules/@formatjs/icu-messageformat-parser/lib/date-time-pattern-generator.js +0 -28
  719. package/dist/node_modules/.pnpm/@formatjs_icu-messageformat-parser@2.11.4/node_modules/@formatjs/icu-messageformat-parser/lib/error.js +0 -7
  720. package/dist/node_modules/.pnpm/@formatjs_icu-messageformat-parser@2.11.4/node_modules/@formatjs/icu-messageformat-parser/lib/index.js +0 -26
  721. package/dist/node_modules/.pnpm/@formatjs_icu-messageformat-parser@2.11.4/node_modules/@formatjs/icu-messageformat-parser/lib/manipulator.js +0 -1
  722. package/dist/node_modules/.pnpm/@formatjs_icu-messageformat-parser@2.11.4/node_modules/@formatjs/icu-messageformat-parser/lib/parser.js +0 -499
  723. package/dist/node_modules/.pnpm/@formatjs_icu-messageformat-parser@2.11.4/node_modules/@formatjs/icu-messageformat-parser/lib/regex.generated.js +0 -4
  724. package/dist/node_modules/.pnpm/@formatjs_icu-messageformat-parser@2.11.4/node_modules/@formatjs/icu-messageformat-parser/lib/time-data.generated.js +0 -1159
  725. package/dist/node_modules/.pnpm/@formatjs_icu-messageformat-parser@2.11.4/node_modules/@formatjs/icu-messageformat-parser/lib/types.js +0 -44
  726. package/dist/node_modules/.pnpm/@formatjs_icu-skeleton-parser@1.8.16/node_modules/@formatjs/icu-skeleton-parser/lib/date-time.js +0 -101
  727. package/dist/node_modules/.pnpm/@formatjs_icu-skeleton-parser@1.8.16/node_modules/@formatjs/icu-skeleton-parser/lib/number.js +0 -182
  728. package/dist/node_modules/.pnpm/@formatjs_icu-skeleton-parser@1.8.16/node_modules/@formatjs/icu-skeleton-parser/lib/regex.generated.js +0 -4
  729. package/dist/node_modules/.pnpm/@formatjs_intl@3.1.8_typescript@5.9.3/node_modules/@formatjs/intl/lib/src/create-intl.js +0 -39
  730. package/dist/node_modules/.pnpm/@formatjs_intl@3.1.8_typescript@5.9.3/node_modules/@formatjs/intl/lib/src/dateTime.js +0 -80
  731. package/dist/node_modules/.pnpm/@formatjs_intl@3.1.8_typescript@5.9.3/node_modules/@formatjs/intl/lib/src/displayName.js +0 -22
  732. package/dist/node_modules/.pnpm/@formatjs_intl@3.1.8_typescript@5.9.3/node_modules/@formatjs/intl/lib/src/error.js +0 -66
  733. package/dist/node_modules/.pnpm/@formatjs_intl@3.1.8_typescript@5.9.3/node_modules/@formatjs/intl/lib/src/list.js +0 -39
  734. package/dist/node_modules/.pnpm/@formatjs_intl@3.1.8_typescript@5.9.3/node_modules/@formatjs/intl/lib/src/message.js +0 -59
  735. package/dist/node_modules/.pnpm/@formatjs_intl@3.1.8_typescript@5.9.3/node_modules/@formatjs/intl/lib/src/number.js +0 -53
  736. package/dist/node_modules/.pnpm/@formatjs_intl@3.1.8_typescript@5.9.3/node_modules/@formatjs/intl/lib/src/plural.js +0 -18
  737. package/dist/node_modules/.pnpm/@formatjs_intl@3.1.8_typescript@5.9.3/node_modules/@formatjs/intl/lib/src/relativeTime.js +0 -22
  738. package/dist/node_modules/.pnpm/@formatjs_intl@3.1.8_typescript@5.9.3/node_modules/@formatjs/intl/lib/src/utils.js +0 -115
  739. package/dist/node_modules/.pnpm/@kurkle_color@0.3.4/node_modules/@kurkle/color/dist/color.esm.js +0 -470
  740. package/dist/node_modules/.pnpm/@lexical_clipboard@0.38.2/node_modules/@lexical/clipboard/LexicalClipboard.prod.js +0 -163
  741. package/dist/node_modules/.pnpm/@lexical_dragon@0.38.2/node_modules/@lexical/dragon/LexicalDragon.prod.js +0 -51
  742. package/dist/node_modules/.pnpm/@lexical_extension@0.38.2/node_modules/@lexical/extension/LexicalExtension.prod.js +0 -796
  743. package/dist/node_modules/.pnpm/@lexical_headless@0.38.2/node_modules/@lexical/headless/LexicalHeadless.prod.js +0 -21
  744. package/dist/node_modules/.pnpm/@lexical_history@0.38.2/node_modules/@lexical/history/LexicalHistory.prod.js +0 -132
  745. package/dist/node_modules/.pnpm/@lexical_html@0.38.2/node_modules/@lexical/html/LexicalHtml.prod.js +0 -88
  746. package/dist/node_modules/.pnpm/@lexical_list@0.38.2/node_modules/@lexical/list/LexicalList.prod.js +0 -737
  747. package/dist/node_modules/.pnpm/@lexical_overflow@0.38.2/node_modules/@lexical/overflow/LexicalOverflow.prod.js +0 -37
  748. package/dist/node_modules/.pnpm/@lexical_react@0.38.2_react-dom@18.3.1_react@18.3.1__react@18.3.1_yjs@13.6.30/node_modules/@lexical/react/LexicalCharacterLimitPlugin.prod.js +0 -136
  749. package/dist/node_modules/.pnpm/@lexical_react@0.38.2_react-dom@18.3.1_react@18.3.1__react@18.3.1_yjs@13.6.30/node_modules/@lexical/react/LexicalComposer.prod.js +0 -53
  750. package/dist/node_modules/.pnpm/@lexical_react@0.38.2_react-dom@18.3.1_react@18.3.1__react@18.3.1_yjs@13.6.30/node_modules/@lexical/react/LexicalComposerContext.prod.js +0 -20
  751. package/dist/node_modules/.pnpm/@lexical_react@0.38.2_react-dom@18.3.1_react@18.3.1__react@18.3.1_yjs@13.6.30/node_modules/@lexical/react/LexicalContentEditable.prod.js +0 -85
  752. package/dist/node_modules/.pnpm/@lexical_react@0.38.2_react-dom@18.3.1_react@18.3.1__react@18.3.1_yjs@13.6.30/node_modules/@lexical/react/LexicalEditorRefPlugin.prod.js +0 -11
  753. package/dist/node_modules/.pnpm/@lexical_react@0.38.2_react-dom@18.3.1_react@18.3.1__react@18.3.1_yjs@13.6.30/node_modules/@lexical/react/LexicalErrorBoundary.prod.js +0 -20
  754. package/dist/node_modules/.pnpm/@lexical_react@0.38.2_react-dom@18.3.1_react@18.3.1__react@18.3.1_yjs@13.6.30/node_modules/@lexical/react/LexicalHistoryPlugin.prod.js +0 -17
  755. package/dist/node_modules/.pnpm/@lexical_react@0.38.2_react-dom@18.3.1_react@18.3.1__react@18.3.1_yjs@13.6.30/node_modules/@lexical/react/LexicalListPlugin.prod.js +0 -16
  756. package/dist/node_modules/.pnpm/@lexical_react@0.38.2_react-dom@18.3.1_react@18.3.1__react@18.3.1_yjs@13.6.30/node_modules/@lexical/react/LexicalOnChangePlugin.prod.js +0 -20
  757. package/dist/node_modules/.pnpm/@lexical_react@0.38.2_react-dom@18.3.1_react@18.3.1__react@18.3.1_yjs@13.6.30/node_modules/@lexical/react/LexicalReactProviderExtension.prod.js +0 -5
  758. package/dist/node_modules/.pnpm/@lexical_react@0.38.2_react-dom@18.3.1_react@18.3.1__react@18.3.1_yjs@13.6.30/node_modules/@lexical/react/LexicalRichTextPlugin.prod.js +0 -96
  759. package/dist/node_modules/.pnpm/@lexical_react@0.38.2_react-dom@18.3.1_react@18.3.1__react@18.3.1_yjs@13.6.30/node_modules/@lexical/react/useLexicalEditable.prod.js +0 -23
  760. package/dist/node_modules/.pnpm/@lexical_rich-text@0.38.2/node_modules/@lexical/rich-text/LexicalRichText.prod.js +0 -418
  761. package/dist/node_modules/.pnpm/@lexical_selection@0.38.2/node_modules/@lexical/selection/LexicalSelection.prod.js +0 -170
  762. package/dist/node_modules/.pnpm/@lexical_text@0.38.2/node_modules/@lexical/text/LexicalText.prod.js +0 -33
  763. package/dist/node_modules/.pnpm/@lexical_utils@0.38.2/node_modules/@lexical/utils/LexicalUtils.prod.js +0 -112
  764. package/dist/node_modules/.pnpm/@rooks_use-localstorage-state@4.11.2_react@18.3.1/node_modules/@rooks/use-localstorage-state/lib/index.esm.js +0 -50
  765. package/dist/node_modules/.pnpm/@rooks_use-previous@4.11.2/node_modules/@rooks/use-previous/lib/index.esm.js +0 -10
  766. package/dist/node_modules/.pnpm/@rooks_use-sessionstorage-state@4.11.2_react@18.3.1/node_modules/@rooks/use-sessionstorage-state/lib/index.esm.js +0 -50
  767. package/dist/node_modules/.pnpm/are-passive-events-supported@1.1.1/node_modules/are-passive-events-supported/dist/are-passive-events-supported.esm.browser.js +0 -11
  768. package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/adapters/adapters.js +0 -41
  769. package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/adapters/fetch.js +0 -128
  770. package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/adapters/xhr.js +0 -59
  771. package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/axios.js +0 -30
  772. package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/cancel/CancelToken.js +0 -59
  773. package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/cancel/CanceledError.js +0 -9
  774. package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/cancel/isCancel.js +0 -6
  775. package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/core/Axios.js +0 -131
  776. package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/core/AxiosError.js +0 -34
  777. package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/core/AxiosHeaders.js +0 -171
  778. package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/core/InterceptorManager.js +0 -28
  779. package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/core/buildFullPath.js +0 -9
  780. package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/core/dispatchRequest.js +0 -23
  781. package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/core/mergeConfig.js +0 -67
  782. package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/core/settle.js +0 -8
  783. package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/core/transformData.js +0 -12
  784. package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/defaults/index.js +0 -81
  785. package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/defaults/transitional.js +0 -9
  786. package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/env/data.js +0 -4
  787. package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/AxiosURLSearchParams.js +0 -32
  788. package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/HttpStatusCode.js +0 -77
  789. package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/bind.js +0 -8
  790. package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/buildURL.js +0 -17
  791. package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/combineURLs.js +0 -6
  792. package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/composeSignals.js +0 -27
  793. package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/cookies.js +0 -26
  794. package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/formDataToJSON.js +0 -27
  795. package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/isAbsoluteURL.js +0 -6
  796. package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/isAxiosError.js +0 -7
  797. package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/isURLSameOrigin.js +0 -5
  798. package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/parseHeaders.js +0 -28
  799. package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/parseProtocol.js +0 -7
  800. package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/progressEventReducer.js +0 -30
  801. package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/resolveConfig.js +0 -28
  802. package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/speedometer.js +0 -16
  803. package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/spread.js +0 -8
  804. package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/throttle.js +0 -14
  805. package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/toFormData.js +0 -67
  806. package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/toURLEncodedForm.js +0 -14
  807. package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/trackStream.js +0 -51
  808. package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/validator.js +0 -47
  809. package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/platform/browser/classes/Blob.js +0 -4
  810. package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/platform/browser/classes/FormData.js +0 -4
  811. package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js +0 -5
  812. package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/platform/browser/index.js +0 -22
  813. package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/platform/common/utils.js +0 -15
  814. package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/platform/index.js +0 -9
  815. package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/utils.js +0 -235
  816. package/dist/node_modules/.pnpm/chart.js@4.5.1/node_modules/chart.js/auto/auto.js +0 -5
  817. package/dist/node_modules/.pnpm/chart.js@4.5.1/node_modules/chart.js/dist/chart.js +0 -6301
  818. package/dist/node_modules/.pnpm/chart.js@4.5.1/node_modules/chart.js/dist/chunks/helpers.dataset.js +0 -1381
  819. package/dist/node_modules/.pnpm/chartjs-plugin-datalabels@2.2.0_chart.js@4.5.1/node_modules/chartjs-plugin-datalabels/dist/chartjs-plugin-datalabels.esm.js +0 -354
  820. package/dist/node_modules/.pnpm/classnames@2.5.1/node_modules/classnames/index.js +0 -32
  821. package/dist/node_modules/.pnpm/copy-to-clipboard@3.3.3/node_modules/copy-to-clipboard/index.js +0 -43
  822. package/dist/node_modules/.pnpm/dompurify@3.3.3/node_modules/dompurify/dist/purify.es.js +0 -549
  823. package/dist/node_modules/.pnpm/flat@5.0.2/node_modules/flat/index.js +0 -59
  824. package/dist/node_modules/.pnpm/goober@2.1.18_csstype@3.2.3/node_modules/goober/dist/goober.modern.js +0 -75
  825. package/dist/node_modules/.pnpm/hoist-non-react-statics@3.3.2/node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js +0 -68
  826. package/dist/node_modules/.pnpm/intl-messageformat@10.7.18/node_modules/intl-messageformat/lib/src/core.js +0 -154
  827. package/dist/node_modules/.pnpm/intl-messageformat@10.7.18/node_modules/intl-messageformat/lib/src/error.js +0 -36
  828. package/dist/node_modules/.pnpm/intl-messageformat@10.7.18/node_modules/intl-messageformat/lib/src/formatters.js +0 -107
  829. package/dist/node_modules/.pnpm/lexical@0.38.2/node_modules/lexical/Lexical.prod.js +0 -5093
  830. package/dist/node_modules/.pnpm/path-to-regexp@6.3.0/node_modules/path-to-regexp/dist.es2015/index.js +0 -198
  831. package/dist/node_modules/.pnpm/react-chartjs-2@5.3.1_chart.js@4.5.1_react@18.3.1/node_modules/react-chartjs-2/dist/index.js +0 -76
  832. package/dist/node_modules/.pnpm/react-copy-to-clipboard@5.1.1_react@18.3.1/node_modules/react-copy-to-clipboard/lib/Component.js +0 -160
  833. package/dist/node_modules/.pnpm/react-copy-to-clipboard@5.1.1_react@18.3.1/node_modules/react-copy-to-clipboard/lib/index.js +0 -10
  834. package/dist/node_modules/.pnpm/react-error-boundary@6.1.1_react@18.3.1/node_modules/react-error-boundary/dist/react-error-boundary.js +0 -58
  835. package/dist/node_modules/.pnpm/react-hot-toast@2.6.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-hot-toast/dist/index.js +0 -494
  836. package/dist/node_modules/.pnpm/react-intl@7.1.14_react@18.3.1_typescript@5.9.3/node_modules/react-intl/lib/index.js +0 -13
  837. package/dist/node_modules/.pnpm/react-intl@7.1.14_react@18.3.1_typescript@5.9.3/node_modules/react-intl/lib/src/components/createFormattedComponent.js +0 -35
  838. package/dist/node_modules/.pnpm/react-intl@7.1.14_react@18.3.1_typescript@5.9.3/node_modules/react-intl/lib/src/components/createIntl.js +0 -39
  839. package/dist/node_modules/.pnpm/react-intl@7.1.14_react@18.3.1_typescript@5.9.3/node_modules/react-intl/lib/src/components/injectIntl.js +0 -9
  840. package/dist/node_modules/.pnpm/react-intl@7.1.14_react@18.3.1_typescript@5.9.3/node_modules/react-intl/lib/src/components/message.js +0 -22
  841. package/dist/node_modules/.pnpm/react-intl@7.1.14_react@18.3.1_typescript@5.9.3/node_modules/react-intl/lib/src/components/provider.js +0 -45
  842. package/dist/node_modules/.pnpm/react-intl@7.1.14_react@18.3.1_typescript@5.9.3/node_modules/react-intl/lib/src/components/useIntl.js +0 -10
  843. package/dist/node_modules/.pnpm/react-intl@7.1.14_react@18.3.1_typescript@5.9.3/node_modules/react-intl/lib/src/utils.js +0 -33
  844. package/dist/node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/cjs/react-is.development.js +0 -82
  845. package/dist/node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/cjs/react-is.production.min.js +0 -62
  846. package/dist/node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/index.js +0 -10
  847. package/dist/node_modules/.pnpm/react-loading-skeleton@3.5.0_react@18.3.1/node_modules/react-loading-skeleton/dist/index.js +0 -49
  848. package/dist/node_modules/.pnpm/react-modern-drawer@1.4.0_react@18.3.1/node_modules/react-modern-drawer/dist/index.modern.js +0 -84
  849. package/dist/node_modules/.pnpm/react-oauth-popup@1.0.5_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-oauth-popup/dist/index.js +0 -106
  850. package/dist/node_modules/.pnpm/react@18.3.1/node_modules/react/cjs/react-jsx-runtime.development.js +0 -453
  851. package/dist/node_modules/.pnpm/react@18.3.1/node_modules/react/cjs/react-jsx-runtime.production.min.js +0 -27
  852. package/dist/node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js +0 -10
  853. package/dist/node_modules/.pnpm/toggle-selection@1.0.6/node_modules/toggle-selection/index.js +0 -26
  854. package/dist/node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/tslib.es6.js +0 -34
  855. package/dist/node_modules/.pnpm/use-debounce@10.1.1_react@18.3.1/node_modules/use-debounce/dist/index.module.js +0 -70
  856. package/dist/node_modules/.pnpm/use-isomorphic-layout-effect@1.2.1_@types_react@19.2.14_react@18.3.1/node_modules/use-isomorphic-layout-effect/dist/use-isomorphic-layout-effect.browser.esm.js +0 -5
  857. package/dist/node_modules/.pnpm/use-latest@1.3.0_@types_react@19.2.14_react@18.3.1/node_modules/use-latest/dist/use-latest.esm.js +0 -11
  858. package/dist/node_modules/.pnpm/use-onclickoutside@0.4.1_@types_react@19.2.14_react@18.3.1/node_modules/use-onclickoutside/dist/use-onclickoutside.browser.esm.js +0 -26
  859. package/dist/node_modules/.pnpm/webfontloader@1.6.28/node_modules/webfontloader/webfontloader.js +0 -482
@@ -1,796 +0,0 @@
1
- import { $i as e, Ae as t, Ar as n, Bl as r, Bn as i, Co as a, De as o, Di as s, Dn as c, Je as ee, Kl as l, Ks as te, Li as u, Lr as d, Me as ne, Mi as re, Ni as ie, No as f, Or as ae, Pe as p, Pr as oe, Ss as se, St as ce, Wl as le, Xn as ue, ar as de, ki as fe, re as pe, se as me, wo as he, xo as ge, xr as _e, yr as m } from "../../../../lexical@0.38.2/node_modules/lexical/Lexical.prod.js";
2
- import { Pt as ve, U as h, lt as ye, ut as be, xt as xe } from "../../../../@lexical_utils@0.38.2/node_modules/@lexical/utils/LexicalUtils.prod.js";
3
- //#region node_modules/.pnpm/@lexical+extension@0.38.2/node_modules/@lexical/extension/LexicalExtension.prod.mjs
4
- var Se = Symbol.for("preact-signals");
5
- function g() {
6
- if (b > 1) return void b--;
7
- let e, t = !1;
8
- for (; v !== void 0;) {
9
- let n = v;
10
- for (v = void 0, x++; n !== void 0;) {
11
- let r = n.o;
12
- if (n.o = void 0, n.f &= -3, !(8 & n.f) && E(n)) try {
13
- n.c();
14
- } catch (n) {
15
- t ||= (e = n, !0);
16
- }
17
- n = r;
18
- }
19
- }
20
- if (x = 0, b--, t) throw e;
21
- }
22
- function Ce(e) {
23
- if (b > 0) return e();
24
- b++;
25
- try {
26
- return e();
27
- } finally {
28
- g();
29
- }
30
- }
31
- var _, v;
32
- function y(e) {
33
- let t = _;
34
- _ = void 0;
35
- try {
36
- return e();
37
- } finally {
38
- _ = t;
39
- }
40
- }
41
- var b = 0, x = 0, S = 0;
42
- function C(e) {
43
- if (_ === void 0) return;
44
- let t = e.n;
45
- return t === void 0 || t.t !== _ ? (t = {
46
- i: 0,
47
- S: e,
48
- p: _.s,
49
- n: void 0,
50
- t: _,
51
- e: void 0,
52
- x: void 0,
53
- r: t
54
- }, _.s !== void 0 && (_.s.n = t), _.s = t, e.n = t, 32 & _.f && e.S(t), t) : t.i === -1 ? (t.i = 0, t.n !== void 0 && (t.n.p = t.p, t.p !== void 0 && (t.p.n = t.n), t.p = _.s, t.n = void 0, _.s.n = t, _.s = t), t) : void 0;
55
- }
56
- function w(e, t) {
57
- this.v = e, this.i = 0, this.n = void 0, this.t = void 0, this.W = t?.watched, this.Z = t?.unwatched, this.name = t?.name;
58
- }
59
- function T(e, t) {
60
- return new w(e, t);
61
- }
62
- function E(e) {
63
- for (let t = e.s; t !== void 0; t = t.n) if (t.S.i !== t.i || !t.S.h() || t.S.i !== t.i) return !0;
64
- return !1;
65
- }
66
- function D(e) {
67
- for (let t = e.s; t !== void 0; t = t.n) {
68
- let n = t.S.n;
69
- if (n !== void 0 && (t.r = n), t.S.n = t, t.i = -1, t.n === void 0) {
70
- e.s = t;
71
- break;
72
- }
73
- }
74
- }
75
- function O(e) {
76
- let t, n = e.s;
77
- for (; n !== void 0;) {
78
- let e = n.p;
79
- n.i === -1 ? (n.S.U(n), e !== void 0 && (e.n = n.n), n.n !== void 0 && (n.n.p = e)) : t = n, n.S.n = n.r, n.r !== void 0 && (n.r = void 0), n = e;
80
- }
81
- e.s = t;
82
- }
83
- function k(e, t) {
84
- w.call(this, void 0), this.x = e, this.s = void 0, this.g = S - 1, this.f = 4, this.W = t?.watched, this.Z = t?.unwatched, this.name = t?.name;
85
- }
86
- function we(e, t) {
87
- return new k(e, t);
88
- }
89
- function A(e) {
90
- let t = e.u;
91
- if (e.u = void 0, typeof t == "function") {
92
- b++;
93
- let n = _;
94
- _ = void 0;
95
- try {
96
- t();
97
- } catch (t) {
98
- throw e.f &= -2, e.f |= 8, j(e), t;
99
- } finally {
100
- _ = n, g();
101
- }
102
- }
103
- }
104
- function j(e) {
105
- for (let t = e.s; t !== void 0; t = t.n) t.S.U(t);
106
- e.x = void 0, e.s = void 0, A(e);
107
- }
108
- function Te(e) {
109
- if (_ !== this) throw Error("Out-of-order effect");
110
- O(this), _ = e, this.f &= -2, 8 & this.f && j(this), g();
111
- }
112
- function M(e, t) {
113
- this.x = e, this.u = void 0, this.s = void 0, this.o = void 0, this.f = 32, this.name = t?.name;
114
- }
115
- function N(e, t) {
116
- let n = new M(e, t);
117
- try {
118
- n.c();
119
- } catch (e) {
120
- throw n.d(), e;
121
- }
122
- let r = n.d.bind(n);
123
- return r[Symbol.dispose] = r, r;
124
- }
125
- function P(e, t = {}) {
126
- let n = {};
127
- for (let r in e) {
128
- let i = t[r];
129
- n[r] = T(i === void 0 ? e[r] : i);
130
- }
131
- return n;
132
- }
133
- w.prototype.brand = Se, w.prototype.h = function() {
134
- return !0;
135
- }, w.prototype.S = function(e) {
136
- let t = this.t;
137
- t !== e && e.e === void 0 && (e.x = t, this.t = e, t === void 0 ? y(() => {
138
- var e;
139
- (e = this.W) == null || e.call(this);
140
- }) : t.e = e);
141
- }, w.prototype.U = function(e) {
142
- if (this.t !== void 0) {
143
- let t = e.e, n = e.x;
144
- t !== void 0 && (t.x = n, e.e = void 0), n !== void 0 && (n.e = t, e.x = void 0), e === this.t && (this.t = n, n === void 0 && y(() => {
145
- var e;
146
- (e = this.Z) == null || e.call(this);
147
- }));
148
- }
149
- }, w.prototype.subscribe = function(e) {
150
- return N(() => {
151
- let t = this.value, n = _;
152
- _ = void 0;
153
- try {
154
- e(t);
155
- } finally {
156
- _ = n;
157
- }
158
- }, { name: "sub" });
159
- }, w.prototype.valueOf = function() {
160
- return this.value;
161
- }, w.prototype.toString = function() {
162
- return this.value + "";
163
- }, w.prototype.toJSON = function() {
164
- return this.value;
165
- }, w.prototype.peek = function() {
166
- let e = _;
167
- _ = void 0;
168
- try {
169
- return this.value;
170
- } finally {
171
- _ = e;
172
- }
173
- }, Object.defineProperty(w.prototype, "value", {
174
- get() {
175
- let e = C(this);
176
- return e !== void 0 && (e.i = this.i), this.v;
177
- },
178
- set(e) {
179
- if (e !== this.v) {
180
- if (x > 100) throw Error("Cycle detected");
181
- this.v = e, this.i++, S++, b++;
182
- try {
183
- for (let e = this.t; e !== void 0; e = e.x) e.t.N();
184
- } finally {
185
- g();
186
- }
187
- }
188
- }
189
- }), k.prototype = new w(), k.prototype.h = function() {
190
- if (this.f &= -3, 1 & this.f) return !1;
191
- if ((36 & this.f) == 32 || (this.f &= -5, this.g === S)) return !0;
192
- if (this.g = S, this.f |= 1, this.i > 0 && !E(this)) return this.f &= -2, !0;
193
- let e = _;
194
- try {
195
- D(this), _ = this;
196
- let e = this.x();
197
- (16 & this.f || this.v !== e || this.i === 0) && (this.v = e, this.f &= -17, this.i++);
198
- } catch (e) {
199
- this.v = e, this.f |= 16, this.i++;
200
- }
201
- return _ = e, O(this), this.f &= -2, !0;
202
- }, k.prototype.S = function(e) {
203
- if (this.t === void 0) {
204
- this.f |= 36;
205
- for (let e = this.s; e !== void 0; e = e.n) e.S.S(e);
206
- }
207
- w.prototype.S.call(this, e);
208
- }, k.prototype.U = function(e) {
209
- if (this.t !== void 0 && (w.prototype.U.call(this, e), this.t === void 0)) {
210
- this.f &= -33;
211
- for (let e = this.s; e !== void 0; e = e.n) e.S.U(e);
212
- }
213
- }, k.prototype.N = function() {
214
- if (!(2 & this.f)) {
215
- this.f |= 6;
216
- for (let e = this.t; e !== void 0; e = e.x) e.t.N();
217
- }
218
- }, Object.defineProperty(k.prototype, "value", { get() {
219
- if (1 & this.f) throw Error("Cycle detected");
220
- let e = C(this);
221
- if (this.h(), e !== void 0 && (e.i = this.i), 16 & this.f) throw this.v;
222
- return this.v;
223
- } }), M.prototype.c = function() {
224
- let e = this.S();
225
- try {
226
- if (8 & this.f || this.x === void 0) return;
227
- let e = this.x();
228
- typeof e == "function" && (this.u = e);
229
- } finally {
230
- e();
231
- }
232
- }, M.prototype.S = function() {
233
- if (1 & this.f) throw Error("Cycle detected");
234
- this.f |= 1, this.f &= -9, A(this), D(this), b++;
235
- let e = _;
236
- return _ = this, Te.bind(this, e);
237
- }, M.prototype.N = function() {
238
- 2 & this.f || (this.f |= 2, this.o = v, v = this);
239
- }, M.prototype.d = function() {
240
- this.f |= 8, 1 & this.f || j(this);
241
- }, M.prototype.dispose = function() {
242
- this.d();
243
- }, l({
244
- build: (e, t, n) => P(t),
245
- config: r({
246
- defaultSelection: "rootEnd",
247
- disabled: !1
248
- }),
249
- name: "@lexical/extension/AutoFocus",
250
- register(e, t, n) {
251
- let r = n.getOutput();
252
- return N(() => r.disabled.value ? void 0 : e.registerRootListener((t) => {
253
- e.focus(() => {
254
- let e = document.activeElement;
255
- t === null || e !== null && t.contains(e) || t.focus({ preventScroll: !0 });
256
- }, { defaultSelection: r.defaultSelection.peek() });
257
- }));
258
- }
259
- });
260
- function F() {
261
- let e = f(), t = d(), n = u();
262
- e.clear(), e.append(n), t !== null && n.select(), m(t) && (t.format = 0);
263
- }
264
- function Ee(e, t = F) {
265
- return e.registerCommand(ee, (n) => (e.update(t), !0), 0);
266
- }
267
- l({
268
- build: (e, t, n) => P(t),
269
- config: r({ $onClear: F }),
270
- name: "@lexical/extension/ClearEditor",
271
- register(e, t, n) {
272
- let { $onClear: r } = n.getOutput();
273
- return N(() => Ee(e, r.value));
274
- }
275
- });
276
- function De(e) {
277
- return (typeof e.nodes == "function" ? e.nodes() : e.nodes) || [];
278
- }
279
- function I(e, t) {
280
- let n;
281
- return T(e(), {
282
- unwatched() {
283
- n &&= (n(), void 0);
284
- },
285
- watched() {
286
- this.value = e(), n = t(this);
287
- }
288
- });
289
- }
290
- var L = l({
291
- build: (e) => I(() => e.getEditorState(), (t) => e.registerUpdateListener((e) => {
292
- t.value = e.editorState;
293
- })),
294
- name: "@lexical/extension/EditorState"
295
- });
296
- function R(e, ...t) {
297
- let n = new URL("https://lexical.dev/docs/error"), r = new URLSearchParams();
298
- r.append("code", e);
299
- for (let e of t) r.append("v", e);
300
- throw n.search = r.toString(), Error(`Minified Lexical error #${e}; visit ${n.toString()} for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`);
301
- }
302
- function z(e, t) {
303
- if (e && t && !Array.isArray(t) && typeof e == "object" && typeof t == "object") {
304
- let n = e, r = t;
305
- for (let e in r) n[e] = z(n[e], r[e]);
306
- return e;
307
- }
308
- return t;
309
- }
310
- var B = 0, V = 1, H = 2, U = 3, W = 4, G = 5, K = 6, q = 7;
311
- function J(e) {
312
- return e.id === B;
313
- }
314
- function Oe(e) {
315
- return e.id === H;
316
- }
317
- function ke(e) {
318
- return function(e) {
319
- return e.id === V;
320
- }(e) || R(305, String(e.id), String(V)), Object.assign(e, { id: H });
321
- }
322
- var Ae = /* @__PURE__ */ new Set(), je = class {
323
- builder;
324
- configs;
325
- _dependency;
326
- _peerNameSet;
327
- extension;
328
- state;
329
- _signal;
330
- constructor(e, t) {
331
- this.builder = e, this.extension = t, this.configs = /* @__PURE__ */ new Set(), this.state = { id: B };
332
- }
333
- mergeConfigs() {
334
- let e = this.extension.config || {}, t = this.extension.mergeConfig ? this.extension.mergeConfig.bind(this.extension) : le;
335
- for (let n of this.configs) e = t(e, n);
336
- return e;
337
- }
338
- init(e) {
339
- let t = this.state;
340
- Oe(t) || R(306, String(t.id));
341
- let n = {
342
- getDependency: this.getInitDependency.bind(this),
343
- getDirectDependentNames: this.getDirectDependentNames.bind(this),
344
- getPeer: this.getInitPeer.bind(this),
345
- getPeerNameSet: this.getPeerNameSet.bind(this)
346
- }, r = {
347
- ...n,
348
- getDependency: this.getDependency.bind(this),
349
- getInitResult: this.getInitResult.bind(this),
350
- getPeer: this.getPeer.bind(this)
351
- }, i = function(e, t, n) {
352
- return Object.assign(e, {
353
- config: t,
354
- id: U,
355
- registerState: n
356
- });
357
- }(t, this.mergeConfigs(), n), a;
358
- this.state = i, this.extension.init && (a = this.extension.init(e, i.config, n)), this.state = function(e, t, n) {
359
- return Object.assign(e, {
360
- id: W,
361
- initResult: t,
362
- registerState: n
363
- });
364
- }(i, a, r);
365
- }
366
- build(e) {
367
- let t = this.state, n;
368
- t.id !== W && R(307, String(t.id), String(G)), this.extension.build && (n = this.extension.build(e, t.config, t.registerState));
369
- let r = {
370
- ...t.registerState,
371
- getOutput: () => n,
372
- getSignal: this.getSignal.bind(this)
373
- };
374
- this.state = function(e, t, n) {
375
- return Object.assign(e, {
376
- id: G,
377
- output: t,
378
- registerState: n
379
- });
380
- }(t, n, r);
381
- }
382
- register(e, t) {
383
- this._signal = t;
384
- let n = this.state;
385
- n.id !== G && R(308, String(n.id), String(G));
386
- let r = this.extension.register && this.extension.register(e, n.config, n.registerState);
387
- return this.state = function(e) {
388
- return Object.assign(e, { id: K });
389
- }(n), () => {
390
- let e = this.state;
391
- e.id !== q && R(309, String(n.id), String(q)), this.state = function(e) {
392
- return Object.assign(e, { id: G });
393
- }(e), r && r();
394
- };
395
- }
396
- afterRegistration(e) {
397
- let t = this.state, n;
398
- return t.id !== K && R(310, String(t.id), String(K)), this.extension.afterRegistration && (n = this.extension.afterRegistration(e, t.config, t.registerState)), this.state = function(e) {
399
- return Object.assign(e, { id: q });
400
- }(t), n;
401
- }
402
- getSignal() {
403
- return this._signal === void 0 && R(311), this._signal;
404
- }
405
- getInitResult() {
406
- this.extension.init === void 0 && R(312, this.extension.name);
407
- let e = this.state;
408
- return function(e) {
409
- return e.id >= W;
410
- }(e) || R(313, String(e.id), String(W)), e.initResult;
411
- }
412
- getInitPeer(e) {
413
- let t = this.builder.extensionNameMap.get(e);
414
- return t ? t.getExtensionInitDependency() : void 0;
415
- }
416
- getExtensionInitDependency() {
417
- let e = this.state;
418
- return function(e) {
419
- return e.id >= U;
420
- }(e) || R(314, String(e.id), String(U)), { config: e.config };
421
- }
422
- getPeer(e) {
423
- let t = this.builder.extensionNameMap.get(e);
424
- return t ? t.getExtensionDependency() : void 0;
425
- }
426
- getInitDependency(e) {
427
- let t = this.builder.getExtensionRep(e);
428
- return t === void 0 && R(315, this.extension.name, e.name), t.getExtensionInitDependency();
429
- }
430
- getDependency(e) {
431
- let t = this.builder.getExtensionRep(e);
432
- return t === void 0 && R(315, this.extension.name, e.name), t.getExtensionDependency();
433
- }
434
- getState() {
435
- let e = this.state;
436
- return function(e) {
437
- return e.id >= q;
438
- }(e) || R(316, String(e.id), String(q)), e;
439
- }
440
- getDirectDependentNames() {
441
- return this.builder.incomingEdges.get(this.extension.name) || Ae;
442
- }
443
- getPeerNameSet() {
444
- let e = this._peerNameSet;
445
- return e || (e = new Set((this.extension.peerDependencies || []).map(([e]) => e)), this._peerNameSet = e), e;
446
- }
447
- getExtensionDependency() {
448
- if (!this._dependency) {
449
- let e = this.state;
450
- (function(e) {
451
- return e.id >= G;
452
- })(e) || R(317, this.extension.name), this._dependency = {
453
- config: e.config,
454
- init: e.initResult,
455
- output: e.output
456
- };
457
- }
458
- return this._dependency;
459
- }
460
- }, Me = { tag: c };
461
- function Ne() {
462
- let e = f();
463
- e.isEmpty() && e.append(u());
464
- }
465
- var Pe = l({
466
- config: r({
467
- setOptions: Me,
468
- updateOptions: Me
469
- }),
470
- init: ({ $initialEditorState: e = Ne }) => ({
471
- $initialEditorState: e,
472
- initialized: !1
473
- }),
474
- afterRegistration(e, { updateOptions: t, setOptions: n }, r) {
475
- let i = r.getInitResult();
476
- if (!i.initialized) {
477
- i.initialized = !0;
478
- let { $initialEditorState: r } = i;
479
- if (re(r)) e.setEditorState(r, n);
480
- else if (typeof r == "function") e.update(() => {
481
- r(e);
482
- }, t);
483
- else if (r && (typeof r == "string" || typeof r == "object")) {
484
- let t = e.parseEditorState(r);
485
- e.setEditorState(t, n);
486
- }
487
- }
488
- return () => {};
489
- },
490
- name: "@lexical/extension/InitialState",
491
- nodes: [
492
- ie,
493
- ue,
494
- i,
495
- de,
496
- s
497
- ]
498
- }), Y = Symbol.for("@lexical/extension/LexicalBuilder");
499
- function Fe() {}
500
- function Ie(e) {
501
- throw e;
502
- }
503
- function X(e) {
504
- return Array.isArray(e) ? e : [e];
505
- }
506
- var Z = "0.38.2+prod.esm", Le = class t {
507
- roots;
508
- extensionNameMap;
509
- outgoingConfigEdges;
510
- incomingEdges;
511
- conflicts;
512
- _sortedExtensionReps;
513
- PACKAGE_VERSION;
514
- constructor(e) {
515
- this.outgoingConfigEdges = /* @__PURE__ */ new Map(), this.incomingEdges = /* @__PURE__ */ new Map(), this.extensionNameMap = /* @__PURE__ */ new Map(), this.conflicts = /* @__PURE__ */ new Map(), this.PACKAGE_VERSION = Z, this.roots = e;
516
- for (let t of e) this.addExtension(t);
517
- }
518
- static fromExtensions(e) {
519
- let n = [X(Pe)];
520
- for (let t of e) n.push(X(t));
521
- return new t(n);
522
- }
523
- static maybeFromEditor(e) {
524
- let n = e[Y];
525
- return n && (n.PACKAGE_VERSION !== Z && R(292, n.PACKAGE_VERSION, Z), n instanceof t || R(293)), n;
526
- }
527
- static fromEditor(e) {
528
- let n = t.maybeFromEditor(e);
529
- return n === void 0 && R(294), n;
530
- }
531
- constructEditor() {
532
- let { $initialEditorState: t, onError: n, ...r } = this.buildCreateEditorArgs(), i = Object.assign(e({
533
- ...r,
534
- ...n ? { onError: (e) => {
535
- n(e, i);
536
- } } : {}
537
- }), { [Y]: this });
538
- for (let e of this.sortedExtensionReps()) e.build(i);
539
- return i;
540
- }
541
- buildEditor() {
542
- let e = Fe;
543
- function t() {
544
- try {
545
- e();
546
- } finally {
547
- e = Fe;
548
- }
549
- }
550
- let n = Object.assign(this.constructEditor(), {
551
- dispose: t,
552
- [Symbol.dispose]: t
553
- });
554
- return e = h(this.registerEditor(n), () => n.setRootElement(null)), n;
555
- }
556
- hasExtensionByName(e) {
557
- return this.extensionNameMap.has(e);
558
- }
559
- getExtensionRep(e) {
560
- let t = this.extensionNameMap.get(e.name);
561
- if (t) return t.extension !== e && R(295, e.name), t;
562
- }
563
- addEdge(e, t, n) {
564
- let r = this.outgoingConfigEdges.get(e);
565
- r ? r.set(t, n) : this.outgoingConfigEdges.set(e, new Map([[t, n]]));
566
- let i = this.incomingEdges.get(t);
567
- i ? i.add(e) : this.incomingEdges.set(t, new Set([e]));
568
- }
569
- addExtension(e) {
570
- this._sortedExtensionReps !== void 0 && R(296);
571
- let [t] = X(e);
572
- typeof t.name != "string" && R(297, typeof t.name);
573
- let n = this.extensionNameMap.get(t.name);
574
- if (n !== void 0 && n.extension !== t && R(298, t.name), !n) {
575
- n = new je(this, t), this.extensionNameMap.set(t.name, n);
576
- let e = this.conflicts.get(t.name);
577
- typeof e == "string" && R(299, t.name, e);
578
- for (let e of t.conflictsWith || []) this.extensionNameMap.has(e) && R(299, t.name, e), this.conflicts.set(e, t.name);
579
- for (let e of t.dependencies || []) {
580
- let n = X(e);
581
- this.addEdge(t.name, n[0].name, n.slice(1)), this.addExtension(n);
582
- }
583
- for (let [e, n] of t.peerDependencies || []) this.addEdge(t.name, e, n ? [n] : []);
584
- }
585
- }
586
- sortedExtensionReps() {
587
- if (this._sortedExtensionReps) return this._sortedExtensionReps;
588
- let e = [], t = (n, r) => {
589
- let i = n.state;
590
- if (Oe(i)) return;
591
- let a = n.extension.name;
592
- var o;
593
- J(i) || R(300, a, r || "[unknown]"), J(o = i) || R(304, String(o.id), String(B)), i = Object.assign(o, { id: V }), n.state = i;
594
- let s = this.outgoingConfigEdges.get(a);
595
- if (s) for (let e of s.keys()) {
596
- let n = this.extensionNameMap.get(e);
597
- n && t(n, a);
598
- }
599
- i = ke(i), n.state = i, e.push(n);
600
- };
601
- for (let e of this.extensionNameMap.values()) J(e.state) && t(e);
602
- for (let t of e) for (let [e, n] of this.outgoingConfigEdges.get(t.extension.name) || []) if (n.length > 0) {
603
- let t = this.extensionNameMap.get(e);
604
- if (t) for (let e of n) t.configs.add(e);
605
- }
606
- for (let [e, ...t] of this.roots) if (t.length > 0) {
607
- let n = this.extensionNameMap.get(e.name);
608
- n === void 0 && R(301, e.name);
609
- for (let e of t) n.configs.add(e);
610
- }
611
- return this._sortedExtensionReps = e, this._sortedExtensionReps;
612
- }
613
- registerEditor(e) {
614
- let t = this.sortedExtensionReps(), n = new AbortController(), r = [() => n.abort()], i = n.signal;
615
- for (let n of t) {
616
- let t = n.register(e, i);
617
- t && r.push(t);
618
- }
619
- for (let n of t) {
620
- let t = n.afterRegistration(e);
621
- t && r.push(t);
622
- }
623
- return h(...r);
624
- }
625
- buildCreateEditorArgs() {
626
- let e = {}, t = /* @__PURE__ */ new Set(), n = /* @__PURE__ */ new Map(), r = /* @__PURE__ */ new Map(), i = {}, a = {}, o = this.sortedExtensionReps();
627
- for (let s of o) {
628
- let { extension: o } = s;
629
- if (o.onError !== void 0 && (e.onError = o.onError), o.disableEvents !== void 0 && (e.disableEvents = o.disableEvents), o.parentEditor !== void 0 && (e.parentEditor = o.parentEditor), o.editable !== void 0 && (e.editable = o.editable), o.namespace !== void 0 && (e.namespace = o.namespace), o.$initialEditorState !== void 0 && (e.$initialEditorState = o.$initialEditorState), o.nodes) for (let e of De(o)) {
630
- if (typeof e != "function") {
631
- let t = n.get(e.replace);
632
- t && R(302, o.name, e.replace.name, t.extension.name), n.set(e.replace, s);
633
- }
634
- t.add(e);
635
- }
636
- if (o.html) {
637
- if (o.html.export) for (let [e, t] of o.html.export.entries()) r.set(e, t);
638
- o.html.import && Object.assign(i, o.html.import);
639
- }
640
- o.theme && z(a, o.theme);
641
- }
642
- Object.keys(a).length > 0 && (e.theme = a), t.size && (e.nodes = [...t]);
643
- let s = Object.keys(i).length > 0, c = r.size > 0;
644
- (s || c) && (e.html = {}, s && (e.html.import = i), c && (e.html.export = r));
645
- for (let t of o) t.init(e);
646
- return e.onError ||= Ie, e;
647
- }
648
- };
649
- function Re(e, t) {
650
- let n = Le.fromEditor(e).extensionNameMap.get(t);
651
- return n ? n.getExtensionDependency() : void 0;
652
- }
653
- var ze = /* @__PURE__ */ new Set(), Be = l({
654
- build(e, t, n) {
655
- let r = n.getDependency(L).output, i = T({ watchedNodeKeys: /* @__PURE__ */ new Map() }), a = I(() => {}, () => N(() => {
656
- let e = a.peek(), { watchedNodeKeys: t } = i.value, n, o = !1;
657
- r.value.read(() => {
658
- if (d()) for (let [r, i] of t.entries()) {
659
- if (i.size === 0) {
660
- t.delete(r);
661
- continue;
662
- }
663
- let a = ge(r), s = a && a.isSelected() || !1;
664
- o ||= s !== (!!e && e.has(r)), s && (n ||= /* @__PURE__ */ new Set(), n.add(r));
665
- }
666
- }), !o && n && e && n.size === e.size || (a.value = n);
667
- }));
668
- return { watchNodeKey: function(e) {
669
- let t = we(() => (a.value || ze).has(e)), { watchedNodeKeys: n } = i.peek(), r = n.get(e), o = r !== void 0;
670
- return r ||= /* @__PURE__ */ new Set(), r.add(t), o || (n.set(e, r), i.value = { watchedNodeKeys: n }), t;
671
- } };
672
- },
673
- dependencies: [L],
674
- name: "@lexical/extension/NodeSelection"
675
- });
676
- pe("INSERT_HORIZONTAL_RULE_COMMAND");
677
- var Q = class e extends fe {
678
- static getType() {
679
- return "horizontalrule";
680
- }
681
- static clone(t) {
682
- return new e(t.__key);
683
- }
684
- static importJSON(e) {
685
- return $().updateFromJSON(e);
686
- }
687
- static importDOM() {
688
- return { hr: () => ({
689
- conversion: Ve,
690
- priority: 0
691
- }) };
692
- }
693
- exportDOM() {
694
- return { element: document.createElement("hr") };
695
- }
696
- createDOM(e) {
697
- let t = document.createElement("hr");
698
- return ye(t, e.theme.hr), t;
699
- }
700
- getTextContent() {
701
- return "\n";
702
- }
703
- isInline() {
704
- return !1;
705
- }
706
- updateDOM() {
707
- return !1;
708
- }
709
- };
710
- function Ve() {
711
- return { node: $() };
712
- }
713
- function $() {
714
- return te(Q);
715
- }
716
- function He(e) {
717
- return e instanceof Q;
718
- }
719
- l({
720
- dependencies: [L, Be],
721
- name: "@lexical/extension/HorizontalRule",
722
- nodes: [Q],
723
- register(e, t, n) {
724
- let { watchNodeKey: r } = n.getDependency(Be).output, i = T({ nodeSelections: /* @__PURE__ */ new Map() }), o = e._config.theme.hrSelected ?? "selected";
725
- return h(e.registerCommand(me, (e) => {
726
- if (se(e.target)) {
727
- let t = a(e.target);
728
- if (He(t)) return function(e, t = !1) {
729
- let n = d(), r = e.isSelected(), i = e.getKey(), a;
730
- t && _e(n) ? a = n : (a = oe(), he(a)), r ? a.delete(i) : a.add(i);
731
- }(t, e.shiftKey), !0;
732
- }
733
- return !1;
734
- }, 1), e.registerMutationListener(Q, (t, n) => {
735
- Ce(() => {
736
- let n = !1, { nodeSelections: a } = i.peek();
737
- for (let [i, o] of t.entries()) if (o === "destroyed") a.delete(i), n = !0;
738
- else {
739
- let t = a.get(i), o = e.getElementByKey(i);
740
- t ? t.domNode.value = o : (n = !0, a.set(i, {
741
- domNode: T(o),
742
- selectedSignal: r(i)
743
- }));
744
- }
745
- n && (i.value = { nodeSelections: a });
746
- });
747
- }), N(() => {
748
- let e = [];
749
- for (let { domNode: t, selectedSignal: n } of i.value.nodeSelections.values()) e.push(N(() => {
750
- let e = t.value;
751
- e && (n.value ? ye(e, o) : be(e, o));
752
- }));
753
- return h(...e);
754
- }));
755
- }
756
- });
757
- function Ue(e, r) {
758
- return h(e.registerCommand(ne, (r) => {
759
- let i = d();
760
- if (!m(i)) return !1;
761
- r.preventDefault();
762
- let a = function(e) {
763
- if (ve(e.getNodes(), (e) => ae(e) && e.canIndent() ? e : null).length > 0) return !0;
764
- let t = e.anchor, r = e.focus, i = r.isBefore(t) ? r : t, a = xe(i.getNode());
765
- if (a.canIndent()) {
766
- let e = a.getKey(), t = n();
767
- if (t.anchor.set(e, 0, "element"), t.focus.set(e, 0, "element"), t = ce(t), t.anchor.is(i)) return !0;
768
- }
769
- return !1;
770
- }(i) ? r.shiftKey ? o : p : t;
771
- return e.dispatchCommand(a, void 0);
772
- }, 0), e.registerCommand(p, () => {
773
- let e = typeof r == "number" ? r : r ? r.peek() : null;
774
- if (e == null) return !1;
775
- let t = d();
776
- if (!m(t)) return !1;
777
- let n = t.getNodes().map((e) => xe(e).getIndent());
778
- return Math.max(...n) + 1 >= e;
779
- }, 4));
780
- }
781
- l({
782
- build: (e, t, n) => P(t),
783
- config: r({
784
- disabled: !1,
785
- maxIndent: null
786
- }),
787
- name: "@lexical/extension/TabIndentation",
788
- register(e, t, n) {
789
- let { disabled: r, maxIndent: i } = n.getOutput();
790
- return N(() => {
791
- if (!r.value) return Ue(e, i);
792
- });
793
- }
794
- });
795
- //#endregion
796
- export { Le as Bt, Ce as F, Re as Gt, P as at, N as dt };