@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.
- package/dist/assets/components/action/back_link/BackLink.module-nMAM5nvb.css +1 -0
- package/dist/assets/components/action/button/Button.module-BDXB-NbU.css +1 -0
- package/dist/assets/components/action/icon_text_link/IconTextLink.module-B5PF-MMK.css +1 -0
- package/dist/assets/components/ad/ad_unit/AdUnit.module-C_5JFle_.css +1 -0
- package/dist/assets/components/argument/argument/Argument.module-ynS4ZRdG.css +1 -0
- package/dist/assets/components/argument/argument/ReplyFooter.module-DQL2iGS0.css +1 -0
- package/dist/assets/components/argument/top_arguments/TopArguments.module-BwLPbpJ0.css +1 -0
- package/dist/assets/components/auth/auth_modal/AuthModal.module-RhX-zUfZ.css +1 -0
- package/dist/assets/components/auth/facebook_login_button/FacebookLoginButton.module-DwTlkJ7n.css +1 -0
- package/dist/assets/components/auth/google_login_button/GoogleLoginButton.module-C9XnfW0J.css +1 -0
- package/dist/assets/components/auth/login_form/LoginForm.module-uN7oeX8e.css +1 -0
- package/dist/assets/components/auth/oauth2_button/OAuth2Button.module-BDxwikoC.css +1 -0
- package/dist/assets/components/auth/signup_form/SignupForm.module-BEj4tidE.css +1 -0
- package/dist/assets/components/auth/social_auth_form/SocialAuthForm.module-DYgKVEK4.css +1 -0
- package/dist/assets/components/auth/sso_form/SSOForm.module-D5v2TrOv.css +1 -0
- package/dist/assets/components/chart/line_chart/LineChart.module-DTKqDhLv.css +1 -0
- package/dist/assets/components/chart/pie_chart/PieChart.module-bTKTwTOZ.css +1 -0
- package/dist/assets/components/consultation/consultation_box/ConsultationBox.module-BnTr5IaF.css +1 -0
- package/dist/assets/components/debate/debate_box/DebateBox.module-ek6ldCNI.css +1 -0
- package/dist/assets/components/dialog/announcement_dialog/AnnouncementDialog.module-X5I5xt5N.css +1 -0
- package/dist/assets/components/dialog/confirm_modal/ConfirmModal.module-CWzzKcm5.css +1 -0
- package/dist/assets/components/dialog/dialog_box/DialogBox.module-DKztqqmb.css +1 -0
- package/dist/assets/components/dialog/drawer/Drawer.module-DlSpsEkA.css +1 -0
- package/dist/assets/components/dialog/dropdown/Dropdown.module-BL67cFpj.css +1 -0
- package/dist/assets/components/dialog/modal/Modal.module-CIj-xCzY.css +1 -0
- package/dist/assets/components/dialog/toast/Toast.module-DJ2wSlJT.css +1 -0
- package/dist/assets/components/dialog/toast_provider/ToastProvider.module-Dg1lvYKc.css +1 -0
- package/dist/assets/components/dialog/tooltip/Tooltip.module-zMXumgnX.css +1 -0
- package/dist/assets/components/embed/embed_header/EmbedHeader.module-DajJz2CY.css +1 -0
- package/dist/assets/components/error/standard_error_boundary/StandardErrorBoundary.module-nVUIMoUd.css +1 -0
- package/dist/assets/components/follow/follow_button/FollowButton.module-Da-cPgwT.css +1 -0
- package/dist/assets/components/gamification/badge_box/BadgeBox.module-BnskGH9b.css +1 -0
- package/dist/assets/components/gamification/point_box/PointBox.module-BzKRidYf.css +1 -0
- package/dist/assets/components/input/argument_input/ArgumentInput.module-CDv7j77K.css +1 -0
- package/dist/assets/components/input/checkbox/hidden/hidden-checkbox.module-BfKmji_8.css +1 -0
- package/dist/assets/components/input/checkbox/indicator/checkbox-indicator.module-4cSB11ys.css +1 -0
- package/dist/assets/components/input/search_input/SearchInput.module-C_q8rryY.css +1 -0
- package/dist/assets/components/input/select/Select.module-Bf-5XrJ1.css +1 -0
- package/dist/assets/components/input/text_editor/TextEditor.module-DePSfOvG.css +1 -0
- package/dist/assets/components/input/text_editor/plugins/ToolbarPlugin.module-CbPmMciY.css +1 -0
- package/dist/assets/components/input/text_input/TextInput.module-BBojTQEu.css +1 -0
- package/dist/assets/components/input/toggle/Toggle.module-B_g0Uxy3.css +1 -0
- package/dist/assets/components/input/toggle_position/TogglePosition.module-DDIigbfA.css +1 -0
- package/dist/assets/components/list/paginated_list/PaginatedList.module-DI1wH2Na.css +1 -0
- package/dist/assets/components/list/paginated_list/action_bar/ActionBar.module-pxwFC_Y2.css +1 -0
- package/dist/assets/components/list/pagination/Pagination.module-L9-ykJZ2.css +1 -0
- package/dist/assets/components/modal/side_modal/SideModal.module-57E9_p4y.css +1 -0
- package/dist/assets/components/navbar/navbar_button/NavbarButton.module-lKeBjoEX.css +1 -0
- package/dist/assets/components/navbar/navbar_modal/NavbarModal.module-B02ZOEuE.css +1 -0
- package/dist/assets/components/notification/notification_item/NotificationItem.module-BWdhgSy4.css +1 -0
- package/dist/assets/components/notification/notification_menu/NotificationMenu.module-BQwbvRIV.css +1 -0
- package/dist/assets/components/progress/loader/Loader.module-BK-wXEtx.css +1 -0
- package/dist/assets/components/progress/progress_bar/ProgressBar.module-Dy-27Wf9.css +1 -0
- package/dist/assets/components/proposal/proposal_box/ProposalBox.module-T4ms_LQ7.css +1 -0
- package/dist/assets/components/report/report_box/ReportBox.module-B-_0iQqX.css +1 -0
- package/dist/assets/components/section/section_box/SectionBox.module-DUeUtdWr.css +1 -0
- package/dist/assets/components/share/share_box/ShareBox.module-AIRPhwtg.css +1 -0
- package/dist/assets/components/share/share_button/ShareButton.module-BS6STEUD.css +1 -0
- package/dist/assets/components/share/share_modal/ShareModal.module-CczX4YRd.css +1 -0
- package/dist/assets/components/skeleton/user_content_skeleton/UserContentSkeleton.module-DhZm1xTr.css +1 -0
- package/dist/assets/components/source/context_source_box/ContextSourceBox.module-78Gxjx0w.css +1 -0
- package/dist/assets/components/source/context_source_list/ContextSourceList.module-D6X_0dB7.css +1 -0
- package/dist/assets/components/source/source_box/SourceBox.module-Cu_m3E85.css +1 -0
- package/dist/assets/components/source/source_list_item/SourceListItem.module-mTxHhXPV.css +1 -0
- package/dist/assets/components/source/source_modal/SourceModal.module-DfEHopJo.css +1 -0
- package/dist/assets/components/suggestion/suggestion_banner/SuggestionBanner.module-D37NVZLS.css +1 -0
- package/dist/assets/components/suggestion/suggestion_box/SuggestionBox.module-fwf3pCuJ.css +1 -0
- package/dist/assets/components/suggestion/suggestion_input/SuggestionInput.module-BsEj7sF3.css +1 -0
- package/dist/assets/components/summary/argument_summary_box/ArgumentSummaryBox.module-DLcsyMSD.css +1 -0
- package/dist/assets/components/summary/keyword_box/KeywordBox.module-DHkYfW0l.css +1 -0
- package/dist/assets/components/summary/summary/Summary.module-DjfmUlkW.css +1 -0
- package/dist/assets/components/summary/summary_box/SummaryBox.module-DQVkA8l7.css +1 -0
- package/dist/assets/components/tag/tag/Tag.module-DSSGWMKh.css +1 -0
- package/dist/assets/components/text/expandable_text/ExpandableText.module-C9NQVGvu.css +1 -0
- package/dist/assets/components/text/read_more/ReadMore.module-Ni_Mm8o8.css +1 -0
- package/dist/assets/components/translation/translation_button/TranslationButton.module-DZv7Csu4.css +1 -0
- package/dist/assets/components/user/author_box/AuthorBox.module-CbH2S-MT.css +1 -0
- package/dist/assets/components/user/avatar/Avatar.module-DmWuUR8K.css +1 -0
- package/dist/assets/components/user/avatar_selector/AvatarSelector.module-C2_Sfb_6.css +1 -0
- package/dist/assets/components/user/update_user_info_modal/UpdateUserInfoModal.module-DJym6u4r.css +1 -0
- package/dist/assets/components/user/user_box/UserBox.module-DGKK1afI.css +1 -0
- package/dist/assets/components/user/user_box_small/UserBoxSmall.module-ibAw9gGE.css +1 -0
- package/dist/assets/components/user_content/content_footer/ContentFooter.module-B9R3dZFl.css +1 -0
- package/dist/assets/components/user_content/content_header/ContentHeader.module-B0VwpU-R.css +1 -0
- package/dist/assets/components/user_content/summary_content_box/SummaryContentBox.module-DdzWnPjq.css +1 -0
- package/dist/assets/components/user_content/use_report_content/ReportModal.module-BxF-D5C5.css +1 -0
- package/dist/assets/components/vote/suggestion_vote_box/SuggestionVoteBox.module-CZeQKWIw.css +1 -0
- package/dist/assets/components/vote/up_down_vote_box/UpDownVoteBox.module-Bk_s4Ph0.css +1 -0
- package/dist/assets/components/vote/vote_box/VoteBox.module-BhTSjU8w.css +1 -0
- package/dist/assets/components/vote/vote_button/VoteButton.module-mxq12D3_.css +1 -0
- package/dist/components/action/back_link/BackLink.js +21 -23
- package/dist/components/action/back_link/BackLink.module.scss.js +9 -0
- package/dist/components/action/button/Button.js +74 -33
- package/dist/components/action/button/Button.module.scss.js +17 -0
- package/dist/components/action/icon_text_link/IconTextLink.js +51 -35
- package/dist/components/action/icon_text_link/IconTextLink.module.scss.js +19 -0
- package/dist/components/action/link/Link.js +36 -22
- package/dist/components/ad/ad_unit/AdUnit.js +41 -41
- package/dist/components/ad/ad_unit/AdUnit.module.scss.js +7 -0
- package/dist/components/ad/use_google_ad_manager/useGoogleAdManager.js +21 -21
- package/dist/components/ad/with_ad/WithAd.js +29 -13
- package/dist/components/argument/argument/Argument.js +327 -266
- package/dist/components/argument/argument/Argument.module.scss.js +50 -0
- package/dist/components/argument/argument/ReplyFooter.js +52 -38
- package/dist/components/argument/argument/ReplyFooter.module.scss.js +15 -0
- package/dist/components/argument/argument/useRichContent.js +16 -13
- package/dist/components/argument/top_arguments/TopArguments.js +93 -61
- package/dist/components/argument/top_arguments/TopArguments.module.scss.js +13 -0
- package/dist/components/auth/auth_initializer/AuthInitializer.js +51 -34
- package/dist/components/auth/auth_modal/AuthModal.js +77 -67
- package/dist/components/auth/auth_modal/AuthModal.module.scss.js +7 -0
- package/dist/components/auth/auth_modal/index.js +4 -2
- package/dist/components/auth/facebook_login_button/FacebookIcon.js +19 -13
- package/dist/components/auth/facebook_login_button/FacebookLoginButton.js +30 -28
- package/dist/components/auth/facebook_login_button/FacebookLoginButton.module.scss.js +9 -0
- package/dist/components/auth/google_login_button/GoogleIcon.js +43 -28
- package/dist/components/auth/google_login_button/GoogleLoginButton.js +33 -30
- package/dist/components/auth/google_login_button/GoogleLoginButton.module.scss.js +9 -0
- package/dist/components/auth/login_form/LoginForm.js +86 -83
- package/dist/components/auth/login_form/LoginForm.module.scss.js +15 -0
- package/dist/components/auth/oauth2_button/OAuth2Button.js +52 -35
- package/dist/components/auth/oauth2_button/OAuth2Button.module.scss.js +9 -0
- package/dist/components/auth/providers/AuthProvider.js +20 -19
- package/dist/components/auth/providers/AuthProviderFactory.js +9 -9
- package/dist/components/auth/providers/FormAuth.js +28 -28
- package/dist/components/auth/providers/JWTAuth.js +26 -26
- package/dist/components/auth/providers/OAuth2ServerAuth.js +35 -34
- package/dist/components/auth/providers/PasswordAuth.js +23 -23
- package/dist/components/auth/signup_form/SignupForm.js +164 -154
- package/dist/components/auth/signup_form/SignupForm.module.scss.js +11 -0
- package/dist/components/auth/social_auth_form/SocialAuthForm.js +225 -198
- package/dist/components/auth/social_auth_form/SocialAuthForm.module.scss.js +39 -0
- package/dist/components/auth/sso_form/SSOForm.js +191 -145
- package/dist/components/auth/sso_form/SSOForm.module.scss.js +31 -0
- package/dist/components/auth/use_auth/AuthContext.js +5 -5
- package/dist/components/auth/use_auth/AuthProvider.js +26 -25
- package/dist/components/auth/use_auth/AuthStorage.js +28 -28
- package/dist/components/auth/use_auth/authTokenHandler.js +46 -44
- package/dist/components/auth/use_auth/useAuth.js +5 -5
- package/dist/components/auth/use_auth/useAuthActions.js +46 -34
- package/dist/components/auth/use_auth/useAuthInterceptor.js +34 -26
- package/dist/components/chart/line_chart/LineChart.js +99 -100
- package/dist/components/chart/line_chart/LineChart.module.scss.js +15 -0
- package/dist/components/chart/pie_chart/PieChart.js +83 -68
- package/dist/components/chart/pie_chart/PieChart.module.scss.js +7 -0
- package/dist/components/consultation/consultation_box/ConsultationBox.js +164 -121
- package/dist/components/consultation/consultation_box/ConsultationBox.module.scss.js +35 -0
- package/dist/components/data/axios_client/httpClient.js +7 -7
- package/dist/components/data/config_provider/ConfigProvider.js +7 -12
- package/dist/components/data/config_provider/useConfig.js +7 -7
- package/dist/components/data/config_provider/useRoutes.js +7 -7
- package/dist/components/data/config_provider/withConfig.js +6 -9
- package/dist/components/data/data_provider/DataProvider.js +106 -99
- package/dist/components/data/data_provider/DataProviderContext.js +5 -5
- package/dist/components/data/data_provider/useData.js +10 -8
- package/dist/components/data/data_provider/useDataProvider.js +7 -7
- package/dist/components/debate/debate_box/DebateBox.js +185 -154
- package/dist/components/debate/debate_box/DebateBox.module.scss.js +49 -0
- package/dist/components/dialog/announcement_dialog/AnnouncementDialog.js +36 -29
- package/dist/components/dialog/announcement_dialog/AnnouncementDialog.module.scss.js +13 -0
- package/dist/components/dialog/confirm_modal/ConfirmModal.js +47 -36
- package/dist/components/dialog/confirm_modal/ConfirmModal.module.scss.js +13 -0
- package/dist/components/dialog/countdown/Countdown.js +22 -22
- package/dist/components/dialog/dialog_box/DialogBox.js +51 -50
- package/dist/components/dialog/dialog_box/DialogBox.module.scss.js +27 -0
- package/dist/components/dialog/drawer/Drawer.js +140 -126
- package/dist/components/dialog/drawer/Drawer.module.scss.js +31 -0
- package/dist/components/dialog/dropdown/Dropdown.js +48 -28
- package/dist/components/dialog/dropdown/Dropdown.module.scss.js +17 -0
- package/dist/components/dialog/modal/Modal.js +83 -64
- package/dist/components/dialog/modal/Modal.module.scss.js +19 -0
- package/dist/components/dialog/modal/ModalProvider.js +16 -19
- package/dist/components/dialog/modal/useModal.js +6 -6
- package/dist/components/dialog/toast/Toast.js +35 -39
- package/dist/components/dialog/toast/Toast.module.scss.js +25 -0
- package/dist/components/dialog/toast_provider/ToastContext.js +5 -5
- package/dist/components/dialog/toast_provider/ToastProvider.js +32 -27
- package/dist/components/dialog/toast_provider/ToastProvider.module.scss.js +7 -0
- package/dist/components/dialog/toast_provider/useToast.js +8 -11
- package/dist/components/dialog/tooltip/Tooltip.js +43 -31
- package/dist/components/dialog/tooltip/Tooltip.module.scss.js +21 -0
- package/dist/components/embed/embed_header/EmbedHeader.js +97 -71
- package/dist/components/embed/embed_header/EmbedHeader.module.scss.js +29 -0
- package/dist/components/error/standard_error_boundary/StandardErrorBoundary.js +16 -17
- package/dist/components/error/standard_error_boundary/StandardErrorBoundary.module.scss.js +7 -0
- package/dist/components/follow/follow_button/FollowButton.js +45 -47
- package/dist/components/follow/follow_button/FollowButton.module.scss.js +9 -0
- package/dist/components/follow/use_follow/useFollow.js +41 -35
- package/dist/components/forms/form/extract-form-data.js +10 -10
- package/dist/components/forms/form/form-context.js +5 -5
- package/dist/components/forms/form/form.js +22 -26
- package/dist/components/forms/form/use-form-context.js +28 -31
- package/dist/components/forms/form/use-form.js +6 -6
- package/dist/components/forms/use_form_validation/useFormValidation.js +50 -44
- package/dist/components/gamification/badge_box/BadgeBox.js +102 -92
- package/dist/components/gamification/badge_box/BadgeBox.module.scss.js +32 -0
- package/dist/components/gamification/point_box/PointBox.js +12 -18
- package/dist/components/gamification/point_box/PointBox.module.scss.js +11 -0
- package/dist/components/hooks/use_auth_required/useAuthRequired.js +22 -15
- package/dist/components/hooks/use_css_theme/useCssTheme.js +16 -15
- package/dist/components/hooks/use_font_loader/useFontLoader.js +12 -8
- package/dist/components/hooks/use_matomo/useMatomo.js +9 -9
- package/dist/components/hooks/use_relative_time/useRelativeTime.js +32 -52
- package/dist/components/hooks/use_responsive/ResponsiveContext.js +5 -5
- package/dist/components/hooks/use_responsive/ResponsiveProvider.js +41 -32
- package/dist/components/hooks/use_responsive/useResponsive.js +8 -13
- package/dist/components/icons/bild_icons/Alarm.js +12 -14
- package/dist/components/icons/bild_icons/Announcement.js +14 -19
- package/dist/components/icons/bild_icons/Arrow.js +5 -10
- package/dist/components/icons/bild_icons/Blockquote.js +5 -10
- package/dist/components/icons/bild_icons/Bold.js +5 -10
- package/dist/components/icons/bild_icons/Camera.js +8 -10
- package/dist/components/icons/bild_icons/Chat.js +37 -43
- package/dist/components/icons/bild_icons/Check.js +14 -11
- package/dist/components/icons/bild_icons/CheckCircle.js +21 -19
- package/dist/components/icons/bild_icons/Checkbox.js +8 -10
- package/dist/components/icons/bild_icons/Clap.js +32 -20
- package/dist/components/icons/bild_icons/Clock.js +5 -10
- package/dist/components/icons/bild_icons/Close.js +5 -10
- package/dist/components/icons/bild_icons/Code.js +35 -31
- package/dist/components/icons/bild_icons/Community.js +5 -10
- package/dist/components/icons/bild_icons/Crown.js +14 -11
- package/dist/components/icons/bild_icons/Document.js +5 -10
- package/dist/components/icons/bild_icons/Downvote.js +5 -10
- package/dist/components/icons/bild_icons/Ellipsis.js +14 -11
- package/dist/components/icons/bild_icons/ExpertBadge.js +50 -32
- package/dist/components/icons/bild_icons/Facebook.js +5 -10
- package/dist/components/icons/bild_icons/Flag.js +5 -10
- package/dist/components/icons/bild_icons/Home.js +5 -10
- package/dist/components/icons/bild_icons/Italic.js +5 -10
- package/dist/components/icons/bild_icons/LightArrow.js +14 -11
- package/dist/components/icons/bild_icons/Link.js +8 -10
- package/dist/components/icons/bild_icons/Login.js +30 -18
- package/dist/components/icons/bild_icons/Logora.js +55 -24
- package/dist/components/icons/bild_icons/Mail.js +5 -10
- package/dist/components/icons/bild_icons/MinusCircle.js +20 -23
- package/dist/components/icons/bild_icons/MobileClose.js +23 -18
- package/dist/components/icons/bild_icons/MobileMenu.js +28 -28
- package/dist/components/icons/bild_icons/Next.js +22 -21
- package/dist/components/icons/bild_icons/OpenBlank.js +20 -14
- package/dist/components/icons/bild_icons/OrderedList.js +5 -10
- package/dist/components/icons/bild_icons/PauseCircle.js +22 -33
- package/dist/components/icons/bild_icons/Point.js +24 -20
- package/dist/components/icons/bild_icons/Question.js +14 -17
- package/dist/components/icons/bild_icons/Refresh.js +8 -10
- package/dist/components/icons/bild_icons/Reply.js +8 -10
- package/dist/components/icons/bild_icons/Search.js +5 -10
- package/dist/components/icons/bild_icons/Send.js +5 -10
- package/dist/components/icons/bild_icons/Share.js +14 -11
- package/dist/components/icons/bild_icons/SmallArrow.js +5 -10
- package/dist/components/icons/bild_icons/Source.js +5 -10
- package/dist/components/icons/bild_icons/Suggestion.js +24 -18
- package/dist/components/icons/bild_icons/Twitter.js +43 -28
- package/dist/components/icons/bild_icons/Underline.js +5 -10
- package/dist/components/icons/bild_icons/Upvote.js +5 -10
- package/dist/components/icons/bild_icons/User.js +5 -10
- package/dist/components/icons/bild_icons/Versus.js +11 -13
- package/dist/components/icons/bild_icons/Votebox.js +14 -11
- package/dist/components/icons/bild_icons/index.js +105 -109
- package/dist/components/icons/hero_icons/Alarm.js +23 -17
- package/dist/components/icons/hero_icons/Announcement.js +23 -17
- package/dist/components/icons/hero_icons/Arrow.js +23 -17
- package/dist/components/icons/hero_icons/Blockquote.js +25 -26
- package/dist/components/icons/hero_icons/Bold.js +22 -16
- package/dist/components/icons/hero_icons/Camera.js +33 -21
- package/dist/components/icons/hero_icons/Chat.js +23 -17
- package/dist/components/icons/hero_icons/Check.js +23 -17
- package/dist/components/icons/hero_icons/CheckCircle.js +21 -19
- package/dist/components/icons/hero_icons/Checkbox.js +23 -17
- package/dist/components/icons/hero_icons/Clap.js +23 -17
- package/dist/components/icons/hero_icons/Clock.js +23 -17
- package/dist/components/icons/hero_icons/Close.js +23 -17
- package/dist/components/icons/hero_icons/Code.js +23 -17
- package/dist/components/icons/hero_icons/Community.js +23 -17
- package/dist/components/icons/hero_icons/Crown.js +23 -17
- package/dist/components/icons/hero_icons/Downvote.js +23 -17
- package/dist/components/icons/hero_icons/Ellipsis.js +23 -17
- package/dist/components/icons/hero_icons/ExpertBadge.js +23 -17
- package/dist/components/icons/hero_icons/Facebook.js +5 -10
- package/dist/components/icons/hero_icons/Flag.js +5 -10
- package/dist/components/icons/hero_icons/Home.js +23 -17
- package/dist/components/icons/hero_icons/Italic.js +22 -16
- package/dist/components/icons/hero_icons/LightArrow.js +14 -11
- package/dist/components/icons/hero_icons/Link.js +23 -17
- package/dist/components/icons/hero_icons/Login.js +24 -18
- package/dist/components/icons/hero_icons/Logora.js +55 -24
- package/dist/components/icons/hero_icons/Mail.js +23 -17
- package/dist/components/icons/hero_icons/MinusCircle.js +20 -23
- package/dist/components/icons/hero_icons/MobileClose.js +23 -17
- package/dist/components/icons/hero_icons/MobileMenu.js +23 -17
- package/dist/components/icons/hero_icons/Next.js +23 -17
- package/dist/components/icons/hero_icons/OpenBlank.js +23 -17
- package/dist/components/icons/hero_icons/OrderedList.js +60 -46
- package/dist/components/icons/hero_icons/PauseCircle.js +22 -33
- package/dist/components/icons/hero_icons/Point.js +24 -20
- package/dist/components/icons/hero_icons/Question.js +23 -17
- package/dist/components/icons/hero_icons/Refresh.js +23 -17
- package/dist/components/icons/hero_icons/Reply.js +23 -17
- package/dist/components/icons/hero_icons/Search.js +23 -17
- package/dist/components/icons/hero_icons/Send.js +23 -17
- package/dist/components/icons/hero_icons/Share.js +23 -17
- package/dist/components/icons/hero_icons/SmallArrow.js +23 -17
- package/dist/components/icons/hero_icons/Source.js +23 -17
- package/dist/components/icons/hero_icons/Suggestion.js +23 -17
- package/dist/components/icons/hero_icons/Twitter.js +43 -28
- package/dist/components/icons/hero_icons/Underline.js +25 -26
- package/dist/components/icons/hero_icons/Upvote.js +23 -17
- package/dist/components/icons/hero_icons/User.js +23 -17
- package/dist/components/icons/hero_icons/Versus.js +23 -17
- package/dist/components/icons/hero_icons/Votebox.js +23 -17
- package/dist/components/icons/hero_icons/index.js +103 -107
- package/dist/components/icons/icon/Icon.js +23 -19
- package/dist/components/icons/icon_provider/IconProvider.js +7 -9
- package/dist/components/icons/krone_icons/Alarm.js +29 -27
- package/dist/components/icons/krone_icons/Announcement.js +21 -15
- package/dist/components/icons/krone_icons/Arrow.js +5 -10
- package/dist/components/icons/krone_icons/Blockquote.js +5 -10
- package/dist/components/icons/krone_icons/Bold.js +5 -10
- package/dist/components/icons/krone_icons/Camera.js +8 -10
- package/dist/components/icons/krone_icons/Chat.js +31 -29
- package/dist/components/icons/krone_icons/Check.js +5 -10
- package/dist/components/icons/krone_icons/CheckBox.js +22 -16
- package/dist/components/icons/krone_icons/CheckCircle.js +21 -19
- package/dist/components/icons/krone_icons/Clap.js +31 -29
- package/dist/components/icons/krone_icons/Clock.js +5 -10
- package/dist/components/icons/krone_icons/Close.js +5 -10
- package/dist/components/icons/krone_icons/Code.js +35 -31
- package/dist/components/icons/krone_icons/Community.js +5 -10
- package/dist/components/icons/krone_icons/Crown.js +5 -10
- package/dist/components/icons/krone_icons/Document.js +5 -10
- package/dist/components/icons/krone_icons/Downvote.js +5 -10
- package/dist/components/icons/krone_icons/Ellipsis.js +23 -17
- package/dist/components/icons/krone_icons/ExpertBadge.js +31 -29
- package/dist/components/icons/krone_icons/Facebook.js +5 -10
- package/dist/components/icons/krone_icons/Flag.js +5 -10
- package/dist/components/icons/krone_icons/Home.js +31 -29
- package/dist/components/icons/krone_icons/Italic.js +5 -10
- package/dist/components/icons/krone_icons/LightArrow.js +5 -10
- package/dist/components/icons/krone_icons/Link.js +8 -10
- package/dist/components/icons/krone_icons/Login.js +29 -17
- package/dist/components/icons/krone_icons/Logora.js +55 -24
- package/dist/components/icons/krone_icons/Mail.js +5 -10
- package/dist/components/icons/krone_icons/MinusCircle.js +20 -23
- package/dist/components/icons/krone_icons/MobileClose.js +14 -17
- package/dist/components/icons/krone_icons/MobileMenu.js +28 -28
- package/dist/components/icons/krone_icons/Next.js +22 -21
- package/dist/components/icons/krone_icons/OpenBlank.js +20 -14
- package/dist/components/icons/krone_icons/OrderedList.js +5 -10
- package/dist/components/icons/krone_icons/PauseCircle.js +21 -32
- package/dist/components/icons/krone_icons/Point.js +24 -20
- package/dist/components/icons/krone_icons/Question.js +31 -29
- package/dist/components/icons/krone_icons/Refresh.js +8 -10
- package/dist/components/icons/krone_icons/Reply.js +23 -17
- package/dist/components/icons/krone_icons/Search.js +5 -10
- package/dist/components/icons/krone_icons/Send.js +30 -25
- package/dist/components/icons/krone_icons/Share.js +16 -13
- package/dist/components/icons/krone_icons/SmallArrow.js +5 -10
- package/dist/components/icons/krone_icons/Source.js +5 -10
- package/dist/components/icons/krone_icons/Suggestion.js +31 -29
- package/dist/components/icons/krone_icons/Twitter.js +43 -28
- package/dist/components/icons/krone_icons/Underline.js +5 -10
- package/dist/components/icons/krone_icons/Upvote.js +31 -29
- package/dist/components/icons/krone_icons/User.js +37 -32
- package/dist/components/icons/krone_icons/Versus.js +5 -10
- package/dist/components/icons/krone_icons/Votebox.js +31 -29
- package/dist/components/icons/krone_icons/index.js +105 -109
- package/dist/components/icons/regular_icons/Alarm.js +12 -14
- package/dist/components/icons/regular_icons/Announcement.js +14 -19
- package/dist/components/icons/regular_icons/Arrow.js +5 -10
- package/dist/components/icons/regular_icons/Blockquote.js +5 -10
- package/dist/components/icons/regular_icons/Bold.js +5 -10
- package/dist/components/icons/regular_icons/Camera.js +8 -10
- package/dist/components/icons/regular_icons/Chat.js +10 -15
- package/dist/components/icons/regular_icons/Check.js +5 -10
- package/dist/components/icons/regular_icons/CheckCircle.js +21 -19
- package/dist/components/icons/regular_icons/Checkbox.js +8 -10
- package/dist/components/icons/regular_icons/Clap.js +12 -14
- package/dist/components/icons/regular_icons/Clock.js +5 -10
- package/dist/components/icons/regular_icons/Close.js +5 -10
- package/dist/components/icons/regular_icons/Code.js +35 -31
- package/dist/components/icons/regular_icons/Community.js +5 -10
- package/dist/components/icons/regular_icons/Crown.js +5 -10
- package/dist/components/icons/regular_icons/Document.js +5 -10
- package/dist/components/icons/regular_icons/Downvote.js +5 -10
- package/dist/components/icons/regular_icons/Ellipsis.js +5 -10
- package/dist/components/icons/regular_icons/ExpertBadge.js +41 -31
- package/dist/components/icons/regular_icons/Facebook.js +5 -10
- package/dist/components/icons/regular_icons/Flag.js +5 -10
- package/dist/components/icons/regular_icons/Home.js +5 -10
- package/dist/components/icons/regular_icons/Italic.js +5 -10
- package/dist/components/icons/regular_icons/LightArrow.js +5 -10
- package/dist/components/icons/regular_icons/Link.js +8 -10
- package/dist/components/icons/regular_icons/Login.js +29 -17
- package/dist/components/icons/regular_icons/Logora.js +55 -24
- package/dist/components/icons/regular_icons/Mail.js +5 -10
- package/dist/components/icons/regular_icons/MinusCircle.js +20 -23
- package/dist/components/icons/regular_icons/MobileClose.js +14 -17
- package/dist/components/icons/regular_icons/MobileMenu.js +28 -28
- package/dist/components/icons/regular_icons/Next.js +22 -21
- package/dist/components/icons/regular_icons/OpenBlank.js +20 -14
- package/dist/components/icons/regular_icons/OrderedList.js +5 -10
- package/dist/components/icons/regular_icons/PauseCircle.js +21 -32
- package/dist/components/icons/regular_icons/Point.js +24 -20
- package/dist/components/icons/regular_icons/Question.js +14 -17
- package/dist/components/icons/regular_icons/Refresh.js +8 -10
- package/dist/components/icons/regular_icons/Reply.js +8 -10
- package/dist/components/icons/regular_icons/Search.js +5 -10
- package/dist/components/icons/regular_icons/Send.js +5 -10
- package/dist/components/icons/regular_icons/Share.js +14 -11
- package/dist/components/icons/regular_icons/SmallArrow.js +5 -10
- package/dist/components/icons/regular_icons/Source.js +5 -10
- package/dist/components/icons/regular_icons/Suggestion.js +24 -18
- package/dist/components/icons/regular_icons/Twitter.js +43 -28
- package/dist/components/icons/regular_icons/Underline.js +5 -10
- package/dist/components/icons/regular_icons/Upvote.js +5 -10
- package/dist/components/icons/regular_icons/User.js +5 -10
- package/dist/components/icons/regular_icons/Versus.js +5 -10
- package/dist/components/icons/regular_icons/Votebox.js +14 -11
- package/dist/components/icons/regular_icons/index.js +105 -109
- package/dist/components/icons/spiegel_icons/Alarm.js +12 -14
- package/dist/components/icons/spiegel_icons/Announcement.js +14 -19
- package/dist/components/icons/spiegel_icons/Arrow.js +5 -10
- package/dist/components/icons/spiegel_icons/Blockquote.js +24 -25
- package/dist/components/icons/spiegel_icons/Bold.js +21 -15
- package/dist/components/icons/spiegel_icons/Camera.js +8 -10
- package/dist/components/icons/spiegel_icons/Chat.js +14 -11
- package/dist/components/icons/spiegel_icons/Check.js +5 -10
- package/dist/components/icons/spiegel_icons/CheckCircle.js +31 -19
- package/dist/components/icons/spiegel_icons/Checkbox.js +24 -25
- package/dist/components/icons/spiegel_icons/Clap.js +24 -25
- package/dist/components/icons/spiegel_icons/Clock.js +27 -25
- package/dist/components/icons/spiegel_icons/Close.js +12 -14
- package/dist/components/icons/spiegel_icons/Code.js +35 -31
- package/dist/components/icons/spiegel_icons/Community.js +5 -10
- package/dist/components/icons/spiegel_icons/Crown.js +14 -11
- package/dist/components/icons/spiegel_icons/Downvote.js +5 -10
- package/dist/components/icons/spiegel_icons/Ellipsis.js +14 -11
- package/dist/components/icons/spiegel_icons/ExpertBadge.js +32 -27
- package/dist/components/icons/spiegel_icons/Facebook.js +21 -15
- package/dist/components/icons/spiegel_icons/Flag.js +31 -19
- package/dist/components/icons/spiegel_icons/Home.js +5 -10
- package/dist/components/icons/spiegel_icons/Italic.js +21 -15
- package/dist/components/icons/spiegel_icons/LightArrow.js +14 -11
- package/dist/components/icons/spiegel_icons/Link.js +21 -25
- package/dist/components/icons/spiegel_icons/Login.js +24 -18
- package/dist/components/icons/spiegel_icons/Logora.js +55 -24
- package/dist/components/icons/spiegel_icons/Mail.js +21 -15
- package/dist/components/icons/spiegel_icons/MinusCircle.js +31 -19
- package/dist/components/icons/spiegel_icons/MobileClose.js +23 -18
- package/dist/components/icons/spiegel_icons/MobileMenu.js +28 -28
- package/dist/components/icons/spiegel_icons/Next.js +22 -21
- package/dist/components/icons/spiegel_icons/OpenBlank.js +20 -14
- package/dist/components/icons/spiegel_icons/OrderedList.js +24 -28
- package/dist/components/icons/spiegel_icons/PauseCircle.js +31 -19
- package/dist/components/icons/spiegel_icons/Point.js +24 -20
- package/dist/components/icons/spiegel_icons/Question.js +28 -29
- package/dist/components/icons/spiegel_icons/Refresh.js +8 -10
- package/dist/components/icons/spiegel_icons/Reply.js +14 -11
- package/dist/components/icons/spiegel_icons/Search.js +5 -10
- package/dist/components/icons/spiegel_icons/Send.js +5 -10
- package/dist/components/icons/spiegel_icons/Share.js +24 -25
- package/dist/components/icons/spiegel_icons/SmallArrow.js +14 -11
- package/dist/components/icons/spiegel_icons/Source.js +5 -10
- package/dist/components/icons/spiegel_icons/Suggestion.js +21 -15
- package/dist/components/icons/spiegel_icons/Twitter.js +43 -28
- package/dist/components/icons/spiegel_icons/Underline.js +24 -25
- package/dist/components/icons/spiegel_icons/Upvote.js +5 -10
- package/dist/components/icons/spiegel_icons/User.js +5 -10
- package/dist/components/icons/spiegel_icons/Versus.js +11 -13
- package/dist/components/icons/spiegel_icons/Votebox.js +24 -25
- package/dist/components/icons/spiegel_icons/index.js +103 -107
- package/dist/components/input/argument_input/ArgumentInput.js +387 -285
- package/dist/components/input/argument_input/ArgumentInput.module.scss.js +43 -0
- package/dist/components/input/argument_input/index.js +4 -2
- package/dist/components/input/checkbox/hidden/hidden-checkbox.js +15 -14
- package/dist/components/input/checkbox/hidden/hidden-checkbox.module.scss.js +7 -0
- package/dist/components/input/checkbox/indicator/checkbox-indicator.js +19 -16
- package/dist/components/input/checkbox/indicator/checkbox-indicator.module.scss.js +9 -0
- package/dist/components/input/checkbox/label/checkbox-label.js +38 -25
- package/dist/components/input/input_provider/InputProvider.js +24 -20
- package/dist/components/input/input_provider/useInput.js +5 -5
- package/dist/components/input/search_input/SearchInput.js +99 -73
- package/dist/components/input/search_input/SearchInput.module.scss.js +11 -0
- package/dist/components/input/select/Select.js +85 -75
- package/dist/components/input/select/Select.module.scss.js +19 -0
- package/dist/components/input/text_editor/EditorTheme.js +70 -68
- package/dist/components/input/text_editor/TextEditor.js +170 -146
- package/dist/components/input/text_editor/TextEditor.module.scss.js +45 -0
- package/dist/components/input/text_editor/lexicalToHtml.js +19 -21
- package/dist/components/input/text_editor/plugins/AutoSavePlugin.js +33 -24
- package/dist/components/input/text_editor/plugins/FocusPlugin.js +13 -13
- package/dist/components/input/text_editor/plugins/MaxLengthPlugin.js +25 -22
- package/dist/components/input/text_editor/plugins/ResetPlugin.js +20 -17
- package/dist/components/input/text_editor/plugins/SetContentPlugin.js +17 -17
- package/dist/components/input/text_editor/plugins/SetRichContentPlugin.js +14 -14
- package/dist/components/input/text_editor/plugins/ToolbarPlugin.js +229 -169
- package/dist/components/input/text_editor/plugins/ToolbarPlugin.module.scss.js +25 -0
- package/dist/components/input/text_input/TextInput.js +61 -35
- package/dist/components/input/text_input/TextInput.module.scss.js +21 -0
- package/dist/components/input/text_input/color-accent.js +11 -11
- package/dist/components/input/text_input/message.js +8 -14
- package/dist/components/input/toggle/Toggle.js +23 -26
- package/dist/components/input/toggle/Toggle.module.scss.js +15 -0
- package/dist/components/input/toggle_position/TogglePosition.js +65 -47
- package/dist/components/input/toggle_position/TogglePosition.module.scss.js +15 -0
- package/dist/components/intl/intl_provider/IntlContext.js +5 -5
- package/dist/components/intl/intl_provider/IntlProvider.js +46 -37
- package/dist/components/intl/intl_provider/useLocale.js +8 -11
- package/dist/components/list/list_provider/ListProvider.js +45 -44
- package/dist/components/list/list_provider/useList.js +34 -21
- package/dist/components/list/paginated_list/PaginatedList.js +244 -177
- package/dist/components/list/paginated_list/PaginatedList.module.scss.js +33 -0
- package/dist/components/list/paginated_list/VotePaginatedList.js +22 -18
- package/dist/components/list/paginated_list/action_bar/ActionBar.js +109 -74
- package/dist/components/list/paginated_list/action_bar/ActionBar.module.scss.js +23 -0
- package/dist/components/list/pagination/Pagination.js +33 -26
- package/dist/components/list/pagination/Pagination.module.scss.js +7 -0
- package/dist/components/modal/side_modal/SideModal.js +72 -58
- package/dist/components/modal/side_modal/SideModal.module.scss.js +19 -0
- package/dist/components/modal/side_modal/index.js +3 -1
- package/dist/components/navbar/navbar_button/NavbarButton.js +32 -28
- package/dist/components/navbar/navbar_button/NavbarButton.module.scss.js +9 -0
- package/dist/components/navbar/navbar_modal/NavbarModal.js +182 -155
- package/dist/components/navbar/navbar_modal/NavbarModal.module.scss.js +25 -0
- package/dist/components/notification/notification_item/NotificationItem.js +77 -48
- package/dist/components/notification/notification_item/NotificationItem.module.scss.js +17 -0
- package/dist/components/notification/notification_menu/NotificationMenu.js +59 -52
- package/dist/components/notification/notification_menu/NotificationMenu.module.scss.js +13 -0
- package/dist/components/progress/loader/Loader.js +6 -12
- package/dist/components/progress/loader/Loader.module.scss.js +9 -0
- package/dist/components/progress/progress_bar/ProgressBar.js +48 -57
- package/dist/components/progress/progress_bar/ProgressBar.module.scss.js +23 -0
- package/dist/components/proposal/proposal_box/ProposalBox.js +139 -107
- package/dist/components/proposal/proposal_box/ProposalBox.module.scss.js +19 -0
- package/dist/components/report/report_box/ReportBox.js +103 -101
- package/dist/components/report/report_box/ReportBox.module.scss.js +19 -0
- package/dist/components/section/section_box/SectionBox.js +56 -39
- package/dist/components/section/section_box/SectionBox.module.scss.js +25 -0
- package/dist/components/share/share_box/ShareBox.js +182 -130
- package/dist/components/share/share_box/ShareBox.module.scss.js +17 -0
- package/dist/components/share/share_button/ShareButton.js +91 -72
- package/dist/components/share/share_button/ShareButton.module.scss.js +15 -0
- package/dist/components/share/share_modal/ShareModal.js +30 -26
- package/dist/components/share/share_modal/ShareModal.module.scss.js +7 -0
- package/dist/components/share/share_modal/index.js +4 -2
- package/dist/components/skeleton/box_skeleton/BoxSkeleton.js +84 -62
- package/dist/components/skeleton/user_content_skeleton/UserContentSkeleton.js +49 -56
- package/dist/components/skeleton/user_content_skeleton/UserContentSkeleton.module.scss.js +23 -0
- package/dist/components/source/context_source_box/ContextSourceBox.js +39 -43
- package/dist/components/source/context_source_box/ContextSourceBox.module.scss.js +17 -0
- package/dist/components/source/context_source_list/ContextSourceList.js +53 -41
- package/dist/components/source/context_source_list/ContextSourceList.module.scss.js +15 -0
- package/dist/components/source/source_box/SourceBox.js +31 -38
- package/dist/components/source/source_box/SourceBox.module.scss.js +19 -0
- package/dist/components/source/source_list_item/SourceListItem.js +33 -31
- package/dist/components/source/source_list_item/SourceListItem.module.scss.js +9 -0
- package/dist/components/source/source_modal/SourceModal.js +138 -109
- package/dist/components/source/source_modal/SourceModal.module.scss.js +19 -0
- package/dist/components/suggestion/suggestion_banner/SuggestionBanner.js +122 -98
- package/dist/components/suggestion/suggestion_banner/SuggestionBanner.module.scss.js +23 -0
- package/dist/components/suggestion/suggestion_box/SuggestionBox.js +117 -96
- package/dist/components/suggestion/suggestion_box/SuggestionBox.module.scss.js +23 -0
- package/dist/components/suggestion/suggestion_input/SuggestionInput.js +182 -156
- package/dist/components/suggestion/suggestion_input/SuggestionInput.module.scss.js +19 -0
- package/dist/components/summary/argument_summary_box/ArgumentSummaryBox.js +64 -61
- package/dist/components/summary/argument_summary_box/ArgumentSummaryBox.module.scss.js +23 -0
- package/dist/components/summary/keyword_box/KeywordBox.js +34 -36
- package/dist/components/summary/keyword_box/KeywordBox.module.scss.js +13 -0
- package/dist/components/summary/summary/Summary.js +87 -72
- package/dist/components/summary/summary/Summary.module.scss.js +9 -0
- package/dist/components/summary/summary_box/SummaryBox.js +17 -21
- package/dist/components/summary/summary_box/SummaryBox.module.scss.js +17 -0
- package/dist/components/tag/tag/Tag.js +34 -18
- package/dist/components/tag/tag/Tag.module.scss.js +9 -0
- package/dist/components/text/expandable_text/ArrowIcon.js +5 -10
- package/dist/components/text/expandable_text/ExpandableText.js +71 -52
- package/dist/components/text/expandable_text/ExpandableText.module.scss.js +17 -0
- package/dist/components/text/read_more/ReadMore.js +79 -62
- package/dist/components/text/read_more/ReadMore.module.scss.js +19 -0
- package/dist/components/tools/hash_scroll/HashScroll.js +17 -17
- package/dist/components/tools/scroll_to_top/ScrollToTop.js +16 -14
- package/dist/components/translation/translated_content/TranslatedContent.js +19 -6
- package/dist/components/translation/translated_content/useTranslatedContent.js +53 -25
- package/dist/components/translation/translation_button/TranslationButton.js +50 -34
- package/dist/components/translation/translation_button/TranslationButton.module.scss.js +7 -0
- package/dist/components/user/author_box/AuthorBox.js +116 -112
- package/dist/components/user/author_box/AuthorBox.module.scss.js +33 -0
- package/dist/components/user/avatar/Avatar.js +75 -53
- package/dist/components/user/avatar/Avatar.module.scss.js +13 -0
- package/dist/components/user/avatar/DefaultAvatar.js +11 -16
- package/dist/components/user/avatar_selector/AvatarSelector.js +127 -107
- package/dist/components/user/avatar_selector/AvatarSelector.module.scss.js +33 -0
- package/dist/components/user/update_user_info_modal/UpdateUserInfoModal.js +290 -250
- package/dist/components/user/update_user_info_modal/UpdateUserInfoModal.module.scss.js +29 -0
- package/dist/components/user/update_user_info_modal/useUpdateUserInfo.js +26 -25
- package/dist/components/user/user_box/UserBox.js +78 -80
- package/dist/components/user/user_box/UserBox.module.scss.js +17 -0
- package/dist/components/user/user_box_small/UserBoxSmall.js +40 -42
- package/dist/components/user/user_box_small/UserBoxSmall.module.scss.js +9 -0
- package/dist/components/user_content/content_footer/ContentFooter.js +245 -171
- package/dist/components/user_content/content_footer/ContentFooter.module.scss.js +19 -0
- package/dist/components/user_content/content_header/ContentHeader.js +126 -119
- package/dist/components/user_content/content_header/ContentHeader.module.scss.js +29 -0
- package/dist/components/user_content/summary_content_box/SummaryContentBox.js +102 -70
- package/dist/components/user_content/summary_content_box/SummaryContentBox.module.scss.js +17 -0
- package/dist/components/user_content/use_delete_content/useDeleteContent.js +52 -44
- package/dist/components/user_content/use_report_content/ReportModal.js +267 -265
- package/dist/components/user_content/use_report_content/ReportModal.module.scss.js +27 -0
- package/dist/components/user_content/use_report_content/useReportContent.js +25 -23
- package/dist/components/util/lang_emojis/langEmojis.js +59 -57
- package/dist/components/util/location/Location.js +49 -40
- package/dist/components/util/unique_by/uniqueBy.js +8 -6
- package/dist/components/vote/suggestion_vote_box/SuggestionVoteBox.js +93 -80
- package/dist/components/vote/suggestion_vote_box/SuggestionVoteBox.module.scss.js +9 -0
- package/dist/components/vote/up_down_vote_box/UpDownVoteBox.js +71 -54
- package/dist/components/vote/up_down_vote_box/UpDownVoteBox.module.scss.js +17 -0
- package/dist/components/vote/use_vote/useVote.js +74 -61
- package/dist/components/vote/vote_box/VoteBox.js +423 -296
- package/dist/components/vote/vote_box/VoteBox.module.scss.js +59 -0
- package/dist/components/vote/vote_button/VoteButton.js +55 -38
- package/dist/components/vote/vote_button/VoteButton.module.scss.js +11 -0
- package/dist/components/vote/vote_provider/VoteProvider.js +36 -39
- package/dist/index.js +310 -202
- package/package.json +23 -17
- package/dist/_virtual/_rolldown/runtime.js +0 -23
- package/dist/assets/debate-Bv79XlHp.css +0 -2
- package/dist/components/action/back_link/BackLink.module.js +0 -6
- package/dist/components/action/button/Button.module.js +0 -10
- package/dist/components/action/icon_text_link/IconTextLink.module.js +0 -11
- package/dist/components/ad/ad_unit/AdUnit.module.js +0 -3
- package/dist/components/argument/argument/Argument.module.js +0 -34
- package/dist/components/argument/argument/ReplyFooter.module.js +0 -10
- package/dist/components/argument/top_arguments/TopArguments.module.js +0 -9
- package/dist/components/auth/auth_modal/AuthModal.module.js +0 -3
- package/dist/components/auth/facebook_login_button/FacebookLoginButton.module.js +0 -6
- package/dist/components/auth/google_login_button/GoogleLoginButton.module.js +0 -6
- package/dist/components/auth/login_form/LoginForm.module.js +0 -9
- package/dist/components/auth/oauth2_button/OAuth2Button.module.js +0 -6
- package/dist/components/auth/signup_form/SignupForm.module.js +0 -7
- package/dist/components/auth/social_auth_form/SocialAuthForm.module.js +0 -21
- package/dist/components/auth/sso_form/SSOForm.module.js +0 -17
- package/dist/components/chart/line_chart/LineChart.module.js +0 -9
- package/dist/components/chart/pie_chart/PieChart.module.js +0 -3
- package/dist/components/consultation/consultation_box/ConsultationBox.module.js +0 -21
- package/dist/components/debate/debate_box/DebateBox.module.js +0 -26
- package/dist/components/dialog/announcement_dialog/AnnouncementDialog.module.js +0 -8
- package/dist/components/dialog/confirm_modal/ConfirmModal.module.js +0 -8
- package/dist/components/dialog/dialog_box/DialogBox.module.js +0 -16
- package/dist/components/dialog/drawer/Drawer.module.js +0 -17
- package/dist/components/dialog/dropdown/Dropdown.module.js +0 -10
- package/dist/components/dialog/modal/Modal.module.js +0 -12
- package/dist/components/dialog/toast/Toast.module.js +0 -14
- package/dist/components/dialog/toast_provider/ToastProvider.module.js +0 -3
- package/dist/components/dialog/tooltip/Tooltip.module.js +0 -12
- package/dist/components/embed/embed_header/EmbedHeader.module.js +0 -18
- package/dist/components/error/standard_error_boundary/StandardErrorBoundary.module.js +0 -3
- package/dist/components/follow/follow_button/FollowButton.module.js +0 -6
- package/dist/components/gamification/badge_box/BadgeBox.module.js +0 -19
- package/dist/components/gamification/point_box/PointBox.module.js +0 -7
- package/dist/components/input/argument_input/ArgumentInput.module.js +0 -23
- package/dist/components/input/checkbox/hidden/hidden-checkbox.module.js +0 -3
- package/dist/components/input/checkbox/indicator/checkbox-indicator.module.js +0 -6
- package/dist/components/input/search_input/SearchInput.module.js +0 -8
- package/dist/components/input/select/Select.module.js +0 -12
- package/dist/components/input/text_editor/TextEditor.module.js +0 -24
- package/dist/components/input/text_editor/plugins/ToolbarPlugin.module.js +0 -17
- package/dist/components/input/text_input/TextInput.module.js +0 -12
- package/dist/components/input/toggle/Toggle.module.js +0 -9
- package/dist/components/input/toggle_position/TogglePosition.module.js +0 -10
- package/dist/components/list/paginated_list/PaginatedList.module.js +0 -18
- package/dist/components/list/paginated_list/action_bar/ActionBar.module.js +0 -13
- package/dist/components/list/pagination/Pagination.module.js +0 -3
- package/dist/components/modal/side_modal/SideModal.module.js +0 -11
- package/dist/components/navbar/navbar_button/NavbarButton.module.js +0 -6
- package/dist/components/navbar/navbar_modal/NavbarModal.module.js +0 -16
- package/dist/components/notification/notification_item/NotificationItem.module.js +0 -10
- package/dist/components/notification/notification_menu/NotificationMenu.module.js +0 -8
- package/dist/components/progress/loader/Loader.module.js +0 -7
- package/dist/components/progress/progress_bar/ProgressBar.module.js +0 -14
- package/dist/components/proposal/proposal_box/ProposalBox.module.js +0 -11
- package/dist/components/report/report_box/ReportBox.module.js +0 -11
- package/dist/components/section/section_box/SectionBox.module.js +0 -14
- package/dist/components/share/share_box/ShareBox.module.js +0 -10
- package/dist/components/share/share_button/ShareButton.module.js +0 -9
- package/dist/components/share/share_modal/ShareModal.module.js +0 -3
- package/dist/components/skeleton/user_content_skeleton/UserContentSkeleton.module.js +0 -13
- package/dist/components/source/context_source_box/ContextSourceBox.module.js +0 -10
- package/dist/components/source/context_source_list/ContextSourceList.module.js +0 -10
- package/dist/components/source/source_box/SourceBox.module.js +0 -11
- package/dist/components/source/source_list_item/SourceListItem.module.js +0 -6
- package/dist/components/source/source_modal/SourceModal.module.js +0 -11
- package/dist/components/suggestion/suggestion_banner/SuggestionBanner.module.js +0 -13
- package/dist/components/suggestion/suggestion_box/SuggestionBox.module.js +0 -13
- package/dist/components/suggestion/suggestion_input/SuggestionInput.module.js +0 -11
- package/dist/components/summary/argument_summary_box/ArgumentSummaryBox.module.js +0 -13
- package/dist/components/summary/keyword_box/KeywordBox.module.js +0 -11
- package/dist/components/summary/summary/Summary.module.js +0 -6
- package/dist/components/summary/summary_box/SummaryBox.module.js +0 -10
- package/dist/components/tag/tag/Tag.module.js +0 -6
- package/dist/components/text/expandable_text/ExpandableText.module.js +0 -10
- package/dist/components/text/read_more/ReadMore.module.js +0 -11
- package/dist/components/translation/translation_button/TranslationButton.module.js +0 -3
- package/dist/components/user/author_box/AuthorBox.module.js +0 -18
- package/dist/components/user/avatar/Avatar.module.js +0 -8
- package/dist/components/user/avatar_selector/AvatarSelector.module.js +0 -18
- package/dist/components/user/update_user_info_modal/UpdateUserInfoModal.module.js +0 -23
- package/dist/components/user/user_box/UserBox.module.js +0 -13
- package/dist/components/user/user_box_small/UserBoxSmall.module.js +0 -6
- package/dist/components/user_content/content_footer/ContentFooter.module.js +0 -11
- package/dist/components/user_content/content_header/ContentHeader.module.js +0 -16
- package/dist/components/user_content/summary_content_box/SummaryContentBox.module.js +0 -10
- package/dist/components/user_content/use_report_content/ReportModal.module.js +0 -15
- package/dist/components/vote/suggestion_vote_box/SuggestionVoteBox.module.js +0 -6
- package/dist/components/vote/up_down_vote_box/UpDownVoteBox.module.js +0 -10
- package/dist/components/vote/vote_box/VoteBox.module.js +0 -31
- package/dist/components/vote/vote_button/VoteButton.module.js +0 -7
- package/dist/node_modules/.pnpm/@formatjs_fast-memoize@2.2.7/node_modules/@formatjs/fast-memoize/lib/index.js +0 -51
- 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
- package/dist/node_modules/.pnpm/@formatjs_icu-messageformat-parser@2.11.4/node_modules/@formatjs/icu-messageformat-parser/lib/error.js +0 -7
- package/dist/node_modules/.pnpm/@formatjs_icu-messageformat-parser@2.11.4/node_modules/@formatjs/icu-messageformat-parser/lib/index.js +0 -26
- package/dist/node_modules/.pnpm/@formatjs_icu-messageformat-parser@2.11.4/node_modules/@formatjs/icu-messageformat-parser/lib/manipulator.js +0 -1
- package/dist/node_modules/.pnpm/@formatjs_icu-messageformat-parser@2.11.4/node_modules/@formatjs/icu-messageformat-parser/lib/parser.js +0 -499
- package/dist/node_modules/.pnpm/@formatjs_icu-messageformat-parser@2.11.4/node_modules/@formatjs/icu-messageformat-parser/lib/regex.generated.js +0 -4
- 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
- package/dist/node_modules/.pnpm/@formatjs_icu-messageformat-parser@2.11.4/node_modules/@formatjs/icu-messageformat-parser/lib/types.js +0 -44
- package/dist/node_modules/.pnpm/@formatjs_icu-skeleton-parser@1.8.16/node_modules/@formatjs/icu-skeleton-parser/lib/date-time.js +0 -101
- package/dist/node_modules/.pnpm/@formatjs_icu-skeleton-parser@1.8.16/node_modules/@formatjs/icu-skeleton-parser/lib/number.js +0 -182
- package/dist/node_modules/.pnpm/@formatjs_icu-skeleton-parser@1.8.16/node_modules/@formatjs/icu-skeleton-parser/lib/regex.generated.js +0 -4
- 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
- package/dist/node_modules/.pnpm/@formatjs_intl@3.1.8_typescript@5.9.3/node_modules/@formatjs/intl/lib/src/dateTime.js +0 -80
- package/dist/node_modules/.pnpm/@formatjs_intl@3.1.8_typescript@5.9.3/node_modules/@formatjs/intl/lib/src/displayName.js +0 -22
- package/dist/node_modules/.pnpm/@formatjs_intl@3.1.8_typescript@5.9.3/node_modules/@formatjs/intl/lib/src/error.js +0 -66
- package/dist/node_modules/.pnpm/@formatjs_intl@3.1.8_typescript@5.9.3/node_modules/@formatjs/intl/lib/src/list.js +0 -39
- package/dist/node_modules/.pnpm/@formatjs_intl@3.1.8_typescript@5.9.3/node_modules/@formatjs/intl/lib/src/message.js +0 -59
- package/dist/node_modules/.pnpm/@formatjs_intl@3.1.8_typescript@5.9.3/node_modules/@formatjs/intl/lib/src/number.js +0 -53
- package/dist/node_modules/.pnpm/@formatjs_intl@3.1.8_typescript@5.9.3/node_modules/@formatjs/intl/lib/src/plural.js +0 -18
- package/dist/node_modules/.pnpm/@formatjs_intl@3.1.8_typescript@5.9.3/node_modules/@formatjs/intl/lib/src/relativeTime.js +0 -22
- package/dist/node_modules/.pnpm/@formatjs_intl@3.1.8_typescript@5.9.3/node_modules/@formatjs/intl/lib/src/utils.js +0 -115
- package/dist/node_modules/.pnpm/@kurkle_color@0.3.4/node_modules/@kurkle/color/dist/color.esm.js +0 -470
- package/dist/node_modules/.pnpm/@lexical_clipboard@0.38.2/node_modules/@lexical/clipboard/LexicalClipboard.prod.js +0 -163
- package/dist/node_modules/.pnpm/@lexical_dragon@0.38.2/node_modules/@lexical/dragon/LexicalDragon.prod.js +0 -51
- package/dist/node_modules/.pnpm/@lexical_extension@0.38.2/node_modules/@lexical/extension/LexicalExtension.prod.js +0 -796
- package/dist/node_modules/.pnpm/@lexical_headless@0.38.2/node_modules/@lexical/headless/LexicalHeadless.prod.js +0 -21
- package/dist/node_modules/.pnpm/@lexical_history@0.38.2/node_modules/@lexical/history/LexicalHistory.prod.js +0 -132
- package/dist/node_modules/.pnpm/@lexical_html@0.38.2/node_modules/@lexical/html/LexicalHtml.prod.js +0 -88
- package/dist/node_modules/.pnpm/@lexical_list@0.38.2/node_modules/@lexical/list/LexicalList.prod.js +0 -737
- package/dist/node_modules/.pnpm/@lexical_overflow@0.38.2/node_modules/@lexical/overflow/LexicalOverflow.prod.js +0 -37
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- package/dist/node_modules/.pnpm/@lexical_rich-text@0.38.2/node_modules/@lexical/rich-text/LexicalRichText.prod.js +0 -418
- package/dist/node_modules/.pnpm/@lexical_selection@0.38.2/node_modules/@lexical/selection/LexicalSelection.prod.js +0 -170
- package/dist/node_modules/.pnpm/@lexical_text@0.38.2/node_modules/@lexical/text/LexicalText.prod.js +0 -33
- package/dist/node_modules/.pnpm/@lexical_utils@0.38.2/node_modules/@lexical/utils/LexicalUtils.prod.js +0 -112
- 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
- package/dist/node_modules/.pnpm/@rooks_use-previous@4.11.2/node_modules/@rooks/use-previous/lib/index.esm.js +0 -10
- 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
- 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
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/adapters/adapters.js +0 -41
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/adapters/fetch.js +0 -128
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/adapters/xhr.js +0 -59
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/axios.js +0 -30
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/cancel/CancelToken.js +0 -59
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/cancel/CanceledError.js +0 -9
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/cancel/isCancel.js +0 -6
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/core/Axios.js +0 -131
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/core/AxiosError.js +0 -34
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/core/AxiosHeaders.js +0 -171
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/core/InterceptorManager.js +0 -28
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/core/buildFullPath.js +0 -9
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/core/dispatchRequest.js +0 -23
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/core/mergeConfig.js +0 -67
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/core/settle.js +0 -8
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/core/transformData.js +0 -12
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/defaults/index.js +0 -81
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/defaults/transitional.js +0 -9
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/env/data.js +0 -4
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/AxiosURLSearchParams.js +0 -32
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/HttpStatusCode.js +0 -77
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/bind.js +0 -8
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/buildURL.js +0 -17
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/combineURLs.js +0 -6
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/composeSignals.js +0 -27
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/cookies.js +0 -26
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/formDataToJSON.js +0 -27
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/isAbsoluteURL.js +0 -6
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/isAxiosError.js +0 -7
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/isURLSameOrigin.js +0 -5
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/parseHeaders.js +0 -28
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/parseProtocol.js +0 -7
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/progressEventReducer.js +0 -30
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/resolveConfig.js +0 -28
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/speedometer.js +0 -16
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/spread.js +0 -8
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/throttle.js +0 -14
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/toFormData.js +0 -67
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/toURLEncodedForm.js +0 -14
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/trackStream.js +0 -51
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/validator.js +0 -47
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/platform/browser/classes/Blob.js +0 -4
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/platform/browser/classes/FormData.js +0 -4
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js +0 -5
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/platform/browser/index.js +0 -22
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/platform/common/utils.js +0 -15
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/platform/index.js +0 -9
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/utils.js +0 -235
- package/dist/node_modules/.pnpm/chart.js@4.5.1/node_modules/chart.js/auto/auto.js +0 -5
- package/dist/node_modules/.pnpm/chart.js@4.5.1/node_modules/chart.js/dist/chart.js +0 -6301
- package/dist/node_modules/.pnpm/chart.js@4.5.1/node_modules/chart.js/dist/chunks/helpers.dataset.js +0 -1381
- 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
- package/dist/node_modules/.pnpm/classnames@2.5.1/node_modules/classnames/index.js +0 -32
- package/dist/node_modules/.pnpm/copy-to-clipboard@3.3.3/node_modules/copy-to-clipboard/index.js +0 -43
- package/dist/node_modules/.pnpm/dompurify@3.3.3/node_modules/dompurify/dist/purify.es.js +0 -549
- package/dist/node_modules/.pnpm/flat@5.0.2/node_modules/flat/index.js +0 -59
- package/dist/node_modules/.pnpm/goober@2.1.18_csstype@3.2.3/node_modules/goober/dist/goober.modern.js +0 -75
- 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
- package/dist/node_modules/.pnpm/intl-messageformat@10.7.18/node_modules/intl-messageformat/lib/src/core.js +0 -154
- package/dist/node_modules/.pnpm/intl-messageformat@10.7.18/node_modules/intl-messageformat/lib/src/error.js +0 -36
- package/dist/node_modules/.pnpm/intl-messageformat@10.7.18/node_modules/intl-messageformat/lib/src/formatters.js +0 -107
- package/dist/node_modules/.pnpm/lexical@0.38.2/node_modules/lexical/Lexical.prod.js +0 -5093
- package/dist/node_modules/.pnpm/path-to-regexp@6.3.0/node_modules/path-to-regexp/dist.es2015/index.js +0 -198
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- package/dist/node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/cjs/react-is.development.js +0 -82
- package/dist/node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/cjs/react-is.production.min.js +0 -62
- package/dist/node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/index.js +0 -10
- 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
- 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
- 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
- package/dist/node_modules/.pnpm/react@18.3.1/node_modules/react/cjs/react-jsx-runtime.development.js +0 -453
- package/dist/node_modules/.pnpm/react@18.3.1/node_modules/react/cjs/react-jsx-runtime.production.min.js +0 -27
- package/dist/node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js +0 -10
- package/dist/node_modules/.pnpm/toggle-selection@1.0.6/node_modules/toggle-selection/index.js +0 -26
- package/dist/node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/tslib.es6.js +0 -34
- package/dist/node_modules/.pnpm/use-debounce@10.1.1_react@18.3.1/node_modules/use-debounce/dist/index.module.js +0 -70
- 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
- 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
- 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
- package/dist/node_modules/.pnpm/webfontloader@1.6.28/node_modules/webfontloader/webfontloader.js +0 -482
package/dist/node_modules/.pnpm/chart.js@4.5.1/node_modules/chart.js/dist/chunks/helpers.dataset.js
DELETED
|
@@ -1,1381 +0,0 @@
|
|
|
1
|
-
import { Color as e } from "../../../../../@kurkle_color@0.3.4/node_modules/@kurkle/color/dist/color.esm.js";
|
|
2
|
-
//#region node_modules/.pnpm/chart.js@4.5.1/node_modules/chart.js/dist/chunks/helpers.dataset.js
|
|
3
|
-
function t() {}
|
|
4
|
-
var n = (() => {
|
|
5
|
-
let e = 0;
|
|
6
|
-
return () => e++;
|
|
7
|
-
})();
|
|
8
|
-
function r(e) {
|
|
9
|
-
return e == null;
|
|
10
|
-
}
|
|
11
|
-
function i(e) {
|
|
12
|
-
if (Array.isArray && Array.isArray(e)) return !0;
|
|
13
|
-
let t = Object.prototype.toString.call(e);
|
|
14
|
-
return t.slice(0, 7) === "[object" && t.slice(-6) === "Array]";
|
|
15
|
-
}
|
|
16
|
-
function a(e) {
|
|
17
|
-
return e !== null && Object.prototype.toString.call(e) === "[object Object]";
|
|
18
|
-
}
|
|
19
|
-
function o(e) {
|
|
20
|
-
return (typeof e == "number" || e instanceof Number) && isFinite(+e);
|
|
21
|
-
}
|
|
22
|
-
function s(e, t) {
|
|
23
|
-
return o(e) ? e : t;
|
|
24
|
-
}
|
|
25
|
-
function c(e, t) {
|
|
26
|
-
return e === void 0 ? t : e;
|
|
27
|
-
}
|
|
28
|
-
var l = (e, t) => typeof e == "string" && e.endsWith("%") ? parseFloat(e) / 100 : +e / t, u = (e, t) => typeof e == "string" && e.endsWith("%") ? parseFloat(e) / 100 * t : +e;
|
|
29
|
-
function d(e, t, n) {
|
|
30
|
-
if (e && typeof e.call == "function") return e.apply(n, t);
|
|
31
|
-
}
|
|
32
|
-
function f(e, t, n, r) {
|
|
33
|
-
let o, s, c;
|
|
34
|
-
if (i(e)) if (s = e.length, r) for (o = s - 1; o >= 0; o--) t.call(n, e[o], o);
|
|
35
|
-
else for (o = 0; o < s; o++) t.call(n, e[o], o);
|
|
36
|
-
else if (a(e)) for (c = Object.keys(e), s = c.length, o = 0; o < s; o++) t.call(n, e[c[o]], c[o]);
|
|
37
|
-
}
|
|
38
|
-
function p(e, t) {
|
|
39
|
-
let n, r, i, a;
|
|
40
|
-
if (!e || !t || e.length !== t.length) return !1;
|
|
41
|
-
for (n = 0, r = e.length; n < r; ++n) if (i = e[n], a = t[n], i.datasetIndex !== a.datasetIndex || i.index !== a.index) return !1;
|
|
42
|
-
return !0;
|
|
43
|
-
}
|
|
44
|
-
function m(e) {
|
|
45
|
-
if (i(e)) return e.map(m);
|
|
46
|
-
if (a(e)) {
|
|
47
|
-
let t = Object.create(null), n = Object.keys(e), r = n.length, i = 0;
|
|
48
|
-
for (; i < r; ++i) t[n[i]] = m(e[n[i]]);
|
|
49
|
-
return t;
|
|
50
|
-
}
|
|
51
|
-
return e;
|
|
52
|
-
}
|
|
53
|
-
function h(e) {
|
|
54
|
-
return [
|
|
55
|
-
"__proto__",
|
|
56
|
-
"prototype",
|
|
57
|
-
"constructor"
|
|
58
|
-
].indexOf(e) === -1;
|
|
59
|
-
}
|
|
60
|
-
function g(e, t, n, r) {
|
|
61
|
-
if (!h(e)) return;
|
|
62
|
-
let i = t[e], o = n[e];
|
|
63
|
-
a(i) && a(o) ? _(i, o, r) : t[e] = m(o);
|
|
64
|
-
}
|
|
65
|
-
function _(e, t, n) {
|
|
66
|
-
let r = i(t) ? t : [t], o = r.length;
|
|
67
|
-
if (!a(e)) return e;
|
|
68
|
-
n ||= {};
|
|
69
|
-
let s = n.merger || g, c;
|
|
70
|
-
for (let t = 0; t < o; ++t) {
|
|
71
|
-
if (c = r[t], !a(c)) continue;
|
|
72
|
-
let i = Object.keys(c);
|
|
73
|
-
for (let t = 0, r = i.length; t < r; ++t) s(i[t], e, c, n);
|
|
74
|
-
}
|
|
75
|
-
return e;
|
|
76
|
-
}
|
|
77
|
-
function v(e, t) {
|
|
78
|
-
return _(e, t, { merger: y });
|
|
79
|
-
}
|
|
80
|
-
function y(e, t, n) {
|
|
81
|
-
if (!h(e)) return;
|
|
82
|
-
let r = t[e], i = n[e];
|
|
83
|
-
a(r) && a(i) ? v(r, i) : Object.prototype.hasOwnProperty.call(t, e) || (t[e] = m(i));
|
|
84
|
-
}
|
|
85
|
-
var ee = {
|
|
86
|
-
"": (e) => e,
|
|
87
|
-
x: (e) => e.x,
|
|
88
|
-
y: (e) => e.y
|
|
89
|
-
};
|
|
90
|
-
function te(e) {
|
|
91
|
-
let t = e.split("."), n = [], r = "";
|
|
92
|
-
for (let e of t) r += e, r.endsWith("\\") ? r = r.slice(0, -1) + "." : (n.push(r), r = "");
|
|
93
|
-
return n;
|
|
94
|
-
}
|
|
95
|
-
function ne(e) {
|
|
96
|
-
let t = te(e);
|
|
97
|
-
return (e) => {
|
|
98
|
-
for (let n of t) {
|
|
99
|
-
if (n === "") break;
|
|
100
|
-
e &&= e[n];
|
|
101
|
-
}
|
|
102
|
-
return e;
|
|
103
|
-
};
|
|
104
|
-
}
|
|
105
|
-
function b(e, t) {
|
|
106
|
-
return (ee[t] || (ee[t] = ne(t)))(e);
|
|
107
|
-
}
|
|
108
|
-
function x(e) {
|
|
109
|
-
return e.charAt(0).toUpperCase() + e.slice(1);
|
|
110
|
-
}
|
|
111
|
-
var re = (e) => e !== void 0, S = (e) => typeof e == "function", ie = (e, t) => {
|
|
112
|
-
if (e.size !== t.size) return !1;
|
|
113
|
-
for (let n of e) if (!t.has(n)) return !1;
|
|
114
|
-
return !0;
|
|
115
|
-
};
|
|
116
|
-
function ae(e) {
|
|
117
|
-
return e.type === "mouseup" || e.type === "click" || e.type === "contextmenu";
|
|
118
|
-
}
|
|
119
|
-
var C = Math.PI, w = 2 * C, oe = w + C, T = Infinity, se = C / 180, E = C / 2, D = C / 4, ce = C * 2 / 3, O = Math.log10, k = Math.sign;
|
|
120
|
-
function A(e, t, n) {
|
|
121
|
-
return Math.abs(e - t) < n;
|
|
122
|
-
}
|
|
123
|
-
function le(e) {
|
|
124
|
-
let t = Math.round(e);
|
|
125
|
-
e = A(e, t, e / 1e3) ? t : e;
|
|
126
|
-
let n = 10 ** Math.floor(O(e)), r = e / n;
|
|
127
|
-
return (r <= 1 ? 1 : r <= 2 ? 2 : r <= 5 ? 5 : 10) * n;
|
|
128
|
-
}
|
|
129
|
-
function ue(e) {
|
|
130
|
-
let t = [], n = Math.sqrt(e), r;
|
|
131
|
-
for (r = 1; r < n; r++) e % r === 0 && (t.push(r), t.push(e / r));
|
|
132
|
-
return n === (n | 0) && t.push(n), t.sort((e, t) => e - t).pop(), t;
|
|
133
|
-
}
|
|
134
|
-
function de(e) {
|
|
135
|
-
return typeof e == "symbol" || typeof e == "object" && !!e && !(Symbol.toPrimitive in e || "toString" in e || "valueOf" in e);
|
|
136
|
-
}
|
|
137
|
-
function fe(e) {
|
|
138
|
-
return !de(e) && !isNaN(parseFloat(e)) && isFinite(e);
|
|
139
|
-
}
|
|
140
|
-
function pe(e, t) {
|
|
141
|
-
let n = Math.round(e);
|
|
142
|
-
return n - t <= e && n + t >= e;
|
|
143
|
-
}
|
|
144
|
-
function me(e, t, n) {
|
|
145
|
-
let r, i, a;
|
|
146
|
-
for (r = 0, i = e.length; r < i; r++) a = e[r][n], isNaN(a) || (t.min = Math.min(t.min, a), t.max = Math.max(t.max, a));
|
|
147
|
-
}
|
|
148
|
-
function he(e) {
|
|
149
|
-
return C / 180 * e;
|
|
150
|
-
}
|
|
151
|
-
function ge(e) {
|
|
152
|
-
return 180 / C * e;
|
|
153
|
-
}
|
|
154
|
-
function _e(e) {
|
|
155
|
-
if (!o(e)) return;
|
|
156
|
-
let t = 1, n = 0;
|
|
157
|
-
for (; Math.round(e * t) / t !== e;) t *= 10, n++;
|
|
158
|
-
return n;
|
|
159
|
-
}
|
|
160
|
-
function ve(e, t) {
|
|
161
|
-
let n = t.x - e.x, r = t.y - e.y, i = Math.sqrt(n * n + r * r), a = Math.atan2(r, n);
|
|
162
|
-
return a < -.5 * C && (a += w), {
|
|
163
|
-
angle: a,
|
|
164
|
-
distance: i
|
|
165
|
-
};
|
|
166
|
-
}
|
|
167
|
-
function j(e, t) {
|
|
168
|
-
return Math.sqrt((t.x - e.x) ** 2 + (t.y - e.y) ** 2);
|
|
169
|
-
}
|
|
170
|
-
function ye(e, t) {
|
|
171
|
-
return (e - t + oe) % w - C;
|
|
172
|
-
}
|
|
173
|
-
function M(e) {
|
|
174
|
-
return (e % w + w) % w;
|
|
175
|
-
}
|
|
176
|
-
function be(e, t, n, r) {
|
|
177
|
-
let i = M(e), a = M(t), o = M(n), s = M(a - i), c = M(o - i), l = M(i - a), u = M(i - o);
|
|
178
|
-
return i === a || i === o || r && a === o || s > c && l < u;
|
|
179
|
-
}
|
|
180
|
-
function N(e, t, n) {
|
|
181
|
-
return Math.max(t, Math.min(n, e));
|
|
182
|
-
}
|
|
183
|
-
function xe(e) {
|
|
184
|
-
return N(e, -32768, 32767);
|
|
185
|
-
}
|
|
186
|
-
function Se(e, t, n, r = 1e-6) {
|
|
187
|
-
return e >= Math.min(t, n) - r && e <= Math.max(t, n) + r;
|
|
188
|
-
}
|
|
189
|
-
function P(e, t, n) {
|
|
190
|
-
n ||= ((n) => e[n] < t);
|
|
191
|
-
let r = e.length - 1, i = 0, a;
|
|
192
|
-
for (; r - i > 1;) a = i + r >> 1, n(a) ? i = a : r = a;
|
|
193
|
-
return {
|
|
194
|
-
lo: i,
|
|
195
|
-
hi: r
|
|
196
|
-
};
|
|
197
|
-
}
|
|
198
|
-
var F = (e, t, n, r) => P(e, n, r ? (r) => {
|
|
199
|
-
let i = e[r][t];
|
|
200
|
-
return i < n || i === n && e[r + 1][t] === n;
|
|
201
|
-
} : (r) => e[r][t] < n), Ce = (e, t, n) => P(e, n, (r) => e[r][t] >= n);
|
|
202
|
-
function we(e, t, n) {
|
|
203
|
-
let r = 0, i = e.length;
|
|
204
|
-
for (; r < i && e[r] < t;) r++;
|
|
205
|
-
for (; i > r && e[i - 1] > n;) i--;
|
|
206
|
-
return r > 0 || i < e.length ? e.slice(r, i) : e;
|
|
207
|
-
}
|
|
208
|
-
var Te = [
|
|
209
|
-
"push",
|
|
210
|
-
"pop",
|
|
211
|
-
"shift",
|
|
212
|
-
"splice",
|
|
213
|
-
"unshift"
|
|
214
|
-
];
|
|
215
|
-
function Ee(e, t) {
|
|
216
|
-
if (e._chartjs) {
|
|
217
|
-
e._chartjs.listeners.push(t);
|
|
218
|
-
return;
|
|
219
|
-
}
|
|
220
|
-
Object.defineProperty(e, "_chartjs", {
|
|
221
|
-
configurable: !0,
|
|
222
|
-
enumerable: !1,
|
|
223
|
-
value: { listeners: [t] }
|
|
224
|
-
}), Te.forEach((t) => {
|
|
225
|
-
let n = "_onData" + x(t), r = e[t];
|
|
226
|
-
Object.defineProperty(e, t, {
|
|
227
|
-
configurable: !0,
|
|
228
|
-
enumerable: !1,
|
|
229
|
-
value(...t) {
|
|
230
|
-
let i = r.apply(this, t);
|
|
231
|
-
return e._chartjs.listeners.forEach((e) => {
|
|
232
|
-
typeof e[n] == "function" && e[n](...t);
|
|
233
|
-
}), i;
|
|
234
|
-
}
|
|
235
|
-
});
|
|
236
|
-
});
|
|
237
|
-
}
|
|
238
|
-
function De(e, t) {
|
|
239
|
-
let n = e._chartjs;
|
|
240
|
-
if (!n) return;
|
|
241
|
-
let r = n.listeners, i = r.indexOf(t);
|
|
242
|
-
i !== -1 && r.splice(i, 1), !(r.length > 0) && (Te.forEach((t) => {
|
|
243
|
-
delete e[t];
|
|
244
|
-
}), delete e._chartjs);
|
|
245
|
-
}
|
|
246
|
-
function Oe(e) {
|
|
247
|
-
let t = new Set(e);
|
|
248
|
-
return t.size === e.length ? e : Array.from(t);
|
|
249
|
-
}
|
|
250
|
-
var ke = function() {
|
|
251
|
-
return typeof window > "u" ? function(e) {
|
|
252
|
-
return e();
|
|
253
|
-
} : window.requestAnimationFrame;
|
|
254
|
-
}();
|
|
255
|
-
function Ae(e, t) {
|
|
256
|
-
let n = [], r = !1;
|
|
257
|
-
return function(...i) {
|
|
258
|
-
n = i, r || (r = !0, ke.call(window, () => {
|
|
259
|
-
r = !1, e.apply(t, n);
|
|
260
|
-
}));
|
|
261
|
-
};
|
|
262
|
-
}
|
|
263
|
-
function je(e, t) {
|
|
264
|
-
let n;
|
|
265
|
-
return function(...r) {
|
|
266
|
-
return t ? (clearTimeout(n), n = setTimeout(e, t, r)) : e.apply(this, r), t;
|
|
267
|
-
};
|
|
268
|
-
}
|
|
269
|
-
var Me = (e) => e === "start" ? "left" : e === "end" ? "right" : "center", Ne = (e, t, n) => e === "start" ? t : e === "end" ? n : (t + n) / 2, Pe = (e, t, n, r) => e === (r ? "left" : "right") ? n : e === "center" ? (t + n) / 2 : t;
|
|
270
|
-
function Fe(e, t, n) {
|
|
271
|
-
let i = t.length, a = 0, o = i;
|
|
272
|
-
if (e._sorted) {
|
|
273
|
-
let { iScale: s, vScale: c, _parsed: l } = e, u = e.dataset && e.dataset.options ? e.dataset.options.spanGaps : null, d = s.axis, { min: f, max: p, minDefined: m, maxDefined: h } = s.getUserBounds();
|
|
274
|
-
if (m) {
|
|
275
|
-
if (a = Math.min(F(l, d, f).lo, n ? i : F(t, d, s.getPixelForValue(f)).lo), u) {
|
|
276
|
-
let e = l.slice(0, a + 1).reverse().findIndex((e) => !r(e[c.axis]));
|
|
277
|
-
a -= Math.max(0, e);
|
|
278
|
-
}
|
|
279
|
-
a = N(a, 0, i - 1);
|
|
280
|
-
}
|
|
281
|
-
if (h) {
|
|
282
|
-
let e = Math.max(F(l, s.axis, p, !0).hi + 1, n ? 0 : F(t, d, s.getPixelForValue(p), !0).hi + 1);
|
|
283
|
-
if (u) {
|
|
284
|
-
let t = l.slice(e - 1).findIndex((e) => !r(e[c.axis]));
|
|
285
|
-
e += Math.max(0, t);
|
|
286
|
-
}
|
|
287
|
-
o = N(e, a, i) - a;
|
|
288
|
-
} else o = i - a;
|
|
289
|
-
}
|
|
290
|
-
return {
|
|
291
|
-
start: a,
|
|
292
|
-
count: o
|
|
293
|
-
};
|
|
294
|
-
}
|
|
295
|
-
function Ie(e) {
|
|
296
|
-
let { xScale: t, yScale: n, _scaleRanges: r } = e, i = {
|
|
297
|
-
xmin: t.min,
|
|
298
|
-
xmax: t.max,
|
|
299
|
-
ymin: n.min,
|
|
300
|
-
ymax: n.max
|
|
301
|
-
};
|
|
302
|
-
if (!r) return e._scaleRanges = i, !0;
|
|
303
|
-
let a = r.xmin !== t.min || r.xmax !== t.max || r.ymin !== n.min || r.ymax !== n.max;
|
|
304
|
-
return Object.assign(r, i), a;
|
|
305
|
-
}
|
|
306
|
-
var I = (e) => e === 0 || e === 1, Le = (e, t, n) => -(2 ** (10 * --e) * Math.sin((e - t) * w / n)), Re = (e, t, n) => 2 ** (-10 * e) * Math.sin((e - t) * w / n) + 1, L = {
|
|
307
|
-
linear: (e) => e,
|
|
308
|
-
easeInQuad: (e) => e * e,
|
|
309
|
-
easeOutQuad: (e) => -e * (e - 2),
|
|
310
|
-
easeInOutQuad: (e) => (e /= .5) < 1 ? .5 * e * e : -.5 * (--e * (e - 2) - 1),
|
|
311
|
-
easeInCubic: (e) => e * e * e,
|
|
312
|
-
easeOutCubic: (e) => --e * e * e + 1,
|
|
313
|
-
easeInOutCubic: (e) => (e /= .5) < 1 ? .5 * e * e * e : .5 * ((e -= 2) * e * e + 2),
|
|
314
|
-
easeInQuart: (e) => e * e * e * e,
|
|
315
|
-
easeOutQuart: (e) => -(--e * e * e * e - 1),
|
|
316
|
-
easeInOutQuart: (e) => (e /= .5) < 1 ? .5 * e * e * e * e : -.5 * ((e -= 2) * e * e * e - 2),
|
|
317
|
-
easeInQuint: (e) => e * e * e * e * e,
|
|
318
|
-
easeOutQuint: (e) => --e * e * e * e * e + 1,
|
|
319
|
-
easeInOutQuint: (e) => (e /= .5) < 1 ? .5 * e * e * e * e * e : .5 * ((e -= 2) * e * e * e * e + 2),
|
|
320
|
-
easeInSine: (e) => -Math.cos(e * E) + 1,
|
|
321
|
-
easeOutSine: (e) => Math.sin(e * E),
|
|
322
|
-
easeInOutSine: (e) => -.5 * (Math.cos(C * e) - 1),
|
|
323
|
-
easeInExpo: (e) => e === 0 ? 0 : 2 ** (10 * (e - 1)),
|
|
324
|
-
easeOutExpo: (e) => e === 1 ? 1 : -(2 ** (-10 * e)) + 1,
|
|
325
|
-
easeInOutExpo: (e) => I(e) ? e : e < .5 ? .5 * 2 ** (10 * (e * 2 - 1)) : .5 * (-(2 ** (-10 * (e * 2 - 1))) + 2),
|
|
326
|
-
easeInCirc: (e) => e >= 1 ? e : -(Math.sqrt(1 - e * e) - 1),
|
|
327
|
-
easeOutCirc: (e) => Math.sqrt(1 - --e * e),
|
|
328
|
-
easeInOutCirc: (e) => (e /= .5) < 1 ? -.5 * (Math.sqrt(1 - e * e) - 1) : .5 * (Math.sqrt(1 - (e -= 2) * e) + 1),
|
|
329
|
-
easeInElastic: (e) => I(e) ? e : Le(e, .075, .3),
|
|
330
|
-
easeOutElastic: (e) => I(e) ? e : Re(e, .075, .3),
|
|
331
|
-
easeInOutElastic(e) {
|
|
332
|
-
let t = .1125, n = .45;
|
|
333
|
-
return I(e) ? e : e < .5 ? .5 * Le(e * 2, t, n) : .5 + .5 * Re(e * 2 - 1, t, n);
|
|
334
|
-
},
|
|
335
|
-
easeInBack(e) {
|
|
336
|
-
let t = 1.70158;
|
|
337
|
-
return e * e * ((t + 1) * e - t);
|
|
338
|
-
},
|
|
339
|
-
easeOutBack(e) {
|
|
340
|
-
let t = 1.70158;
|
|
341
|
-
return --e * e * ((t + 1) * e + t) + 1;
|
|
342
|
-
},
|
|
343
|
-
easeInOutBack(e) {
|
|
344
|
-
let t = 1.70158;
|
|
345
|
-
return (e /= .5) < 1 ? .5 * (e * e * (((t *= 1.525) + 1) * e - t)) : .5 * ((e -= 2) * e * (((t *= 1.525) + 1) * e + t) + 2);
|
|
346
|
-
},
|
|
347
|
-
easeInBounce: (e) => 1 - L.easeOutBounce(1 - e),
|
|
348
|
-
easeOutBounce(e) {
|
|
349
|
-
let t = 7.5625, n = 2.75;
|
|
350
|
-
return e < 1 / n ? t * e * e : e < 2 / n ? t * (e -= 1.5 / n) * e + .75 : e < 2.5 / n ? t * (e -= 2.25 / n) * e + .9375 : t * (e -= 2.625 / n) * e + .984375;
|
|
351
|
-
},
|
|
352
|
-
easeInOutBounce: (e) => e < .5 ? L.easeInBounce(e * 2) * .5 : L.easeOutBounce(e * 2 - 1) * .5 + .5
|
|
353
|
-
};
|
|
354
|
-
function R(e) {
|
|
355
|
-
if (e && typeof e == "object") {
|
|
356
|
-
let t = e.toString();
|
|
357
|
-
return t === "[object CanvasPattern]" || t === "[object CanvasGradient]";
|
|
358
|
-
}
|
|
359
|
-
return !1;
|
|
360
|
-
}
|
|
361
|
-
function ze(t) {
|
|
362
|
-
return R(t) ? t : new e(t);
|
|
363
|
-
}
|
|
364
|
-
function z(t) {
|
|
365
|
-
return R(t) ? t : new e(t).saturate(.5).darken(.1).hexString();
|
|
366
|
-
}
|
|
367
|
-
var Be = [
|
|
368
|
-
"x",
|
|
369
|
-
"y",
|
|
370
|
-
"borderWidth",
|
|
371
|
-
"radius",
|
|
372
|
-
"tension"
|
|
373
|
-
], Ve = [
|
|
374
|
-
"color",
|
|
375
|
-
"borderColor",
|
|
376
|
-
"backgroundColor"
|
|
377
|
-
];
|
|
378
|
-
function He(e) {
|
|
379
|
-
e.set("animation", {
|
|
380
|
-
delay: void 0,
|
|
381
|
-
duration: 1e3,
|
|
382
|
-
easing: "easeOutQuart",
|
|
383
|
-
fn: void 0,
|
|
384
|
-
from: void 0,
|
|
385
|
-
loop: void 0,
|
|
386
|
-
to: void 0,
|
|
387
|
-
type: void 0
|
|
388
|
-
}), e.describe("animation", {
|
|
389
|
-
_fallback: !1,
|
|
390
|
-
_indexable: !1,
|
|
391
|
-
_scriptable: (e) => e !== "onProgress" && e !== "onComplete" && e !== "fn"
|
|
392
|
-
}), e.set("animations", {
|
|
393
|
-
colors: {
|
|
394
|
-
type: "color",
|
|
395
|
-
properties: Ve
|
|
396
|
-
},
|
|
397
|
-
numbers: {
|
|
398
|
-
type: "number",
|
|
399
|
-
properties: Be
|
|
400
|
-
}
|
|
401
|
-
}), e.describe("animations", { _fallback: "animation" }), e.set("transitions", {
|
|
402
|
-
active: { animation: { duration: 400 } },
|
|
403
|
-
resize: { animation: { duration: 0 } },
|
|
404
|
-
show: { animations: {
|
|
405
|
-
colors: { from: "transparent" },
|
|
406
|
-
visible: {
|
|
407
|
-
type: "boolean",
|
|
408
|
-
duration: 0
|
|
409
|
-
}
|
|
410
|
-
} },
|
|
411
|
-
hide: { animations: {
|
|
412
|
-
colors: { to: "transparent" },
|
|
413
|
-
visible: {
|
|
414
|
-
type: "boolean",
|
|
415
|
-
easing: "linear",
|
|
416
|
-
fn: (e) => e | 0
|
|
417
|
-
}
|
|
418
|
-
} }
|
|
419
|
-
});
|
|
420
|
-
}
|
|
421
|
-
function Ue(e) {
|
|
422
|
-
e.set("layout", {
|
|
423
|
-
autoPadding: !0,
|
|
424
|
-
padding: {
|
|
425
|
-
top: 0,
|
|
426
|
-
right: 0,
|
|
427
|
-
bottom: 0,
|
|
428
|
-
left: 0
|
|
429
|
-
}
|
|
430
|
-
});
|
|
431
|
-
}
|
|
432
|
-
var We = /* @__PURE__ */ new Map();
|
|
433
|
-
function Ge(e, t) {
|
|
434
|
-
t ||= {};
|
|
435
|
-
let n = e + JSON.stringify(t), r = We.get(n);
|
|
436
|
-
return r || (r = new Intl.NumberFormat(e, t), We.set(n, r)), r;
|
|
437
|
-
}
|
|
438
|
-
function Ke(e, t, n) {
|
|
439
|
-
return Ge(t, n).format(e);
|
|
440
|
-
}
|
|
441
|
-
var qe = {
|
|
442
|
-
values(e) {
|
|
443
|
-
return i(e) ? e : "" + e;
|
|
444
|
-
},
|
|
445
|
-
numeric(e, t, n) {
|
|
446
|
-
if (e === 0) return "0";
|
|
447
|
-
let r = this.chart.options.locale, i, a = e;
|
|
448
|
-
if (n.length > 1) {
|
|
449
|
-
let t = Math.max(Math.abs(n[0].value), Math.abs(n[n.length - 1].value));
|
|
450
|
-
(t < 1e-4 || t > 0x38d7ea4c68000) && (i = "scientific"), a = Je(e, n);
|
|
451
|
-
}
|
|
452
|
-
let o = O(Math.abs(a)), s = isNaN(o) ? 1 : Math.max(Math.min(-1 * Math.floor(o), 20), 0), c = {
|
|
453
|
-
notation: i,
|
|
454
|
-
minimumFractionDigits: s,
|
|
455
|
-
maximumFractionDigits: s
|
|
456
|
-
};
|
|
457
|
-
return Object.assign(c, this.options.ticks.format), Ke(e, r, c);
|
|
458
|
-
},
|
|
459
|
-
logarithmic(e, t, n) {
|
|
460
|
-
if (e === 0) return "0";
|
|
461
|
-
let r = n[t].significand || e / 10 ** Math.floor(O(e));
|
|
462
|
-
return [
|
|
463
|
-
1,
|
|
464
|
-
2,
|
|
465
|
-
3,
|
|
466
|
-
5,
|
|
467
|
-
10,
|
|
468
|
-
15
|
|
469
|
-
].includes(r) || t > .8 * n.length ? qe.numeric.call(this, e, t, n) : "";
|
|
470
|
-
}
|
|
471
|
-
};
|
|
472
|
-
function Je(e, t) {
|
|
473
|
-
let n = t.length > 3 ? t[2].value - t[1].value : t[1].value - t[0].value;
|
|
474
|
-
return Math.abs(n) >= 1 && e !== Math.floor(e) && (n = e - Math.floor(e)), n;
|
|
475
|
-
}
|
|
476
|
-
var Ye = { formatters: qe };
|
|
477
|
-
function Xe(e) {
|
|
478
|
-
e.set("scale", {
|
|
479
|
-
display: !0,
|
|
480
|
-
offset: !1,
|
|
481
|
-
reverse: !1,
|
|
482
|
-
beginAtZero: !1,
|
|
483
|
-
bounds: "ticks",
|
|
484
|
-
clip: !0,
|
|
485
|
-
grace: 0,
|
|
486
|
-
grid: {
|
|
487
|
-
display: !0,
|
|
488
|
-
lineWidth: 1,
|
|
489
|
-
drawOnChartArea: !0,
|
|
490
|
-
drawTicks: !0,
|
|
491
|
-
tickLength: 8,
|
|
492
|
-
tickWidth: (e, t) => t.lineWidth,
|
|
493
|
-
tickColor: (e, t) => t.color,
|
|
494
|
-
offset: !1
|
|
495
|
-
},
|
|
496
|
-
border: {
|
|
497
|
-
display: !0,
|
|
498
|
-
dash: [],
|
|
499
|
-
dashOffset: 0,
|
|
500
|
-
width: 1
|
|
501
|
-
},
|
|
502
|
-
title: {
|
|
503
|
-
display: !1,
|
|
504
|
-
text: "",
|
|
505
|
-
padding: {
|
|
506
|
-
top: 4,
|
|
507
|
-
bottom: 4
|
|
508
|
-
}
|
|
509
|
-
},
|
|
510
|
-
ticks: {
|
|
511
|
-
minRotation: 0,
|
|
512
|
-
maxRotation: 50,
|
|
513
|
-
mirror: !1,
|
|
514
|
-
textStrokeWidth: 0,
|
|
515
|
-
textStrokeColor: "",
|
|
516
|
-
padding: 3,
|
|
517
|
-
display: !0,
|
|
518
|
-
autoSkip: !0,
|
|
519
|
-
autoSkipPadding: 3,
|
|
520
|
-
labelOffset: 0,
|
|
521
|
-
callback: Ye.formatters.values,
|
|
522
|
-
minor: {},
|
|
523
|
-
major: {},
|
|
524
|
-
align: "center",
|
|
525
|
-
crossAlign: "near",
|
|
526
|
-
showLabelBackdrop: !1,
|
|
527
|
-
backdropColor: "rgba(255, 255, 255, 0.75)",
|
|
528
|
-
backdropPadding: 2
|
|
529
|
-
}
|
|
530
|
-
}), e.route("scale.ticks", "color", "", "color"), e.route("scale.grid", "color", "", "borderColor"), e.route("scale.border", "color", "", "borderColor"), e.route("scale.title", "color", "", "color"), e.describe("scale", {
|
|
531
|
-
_fallback: !1,
|
|
532
|
-
_scriptable: (e) => !e.startsWith("before") && !e.startsWith("after") && e !== "callback" && e !== "parser",
|
|
533
|
-
_indexable: (e) => e !== "borderDash" && e !== "tickBorderDash" && e !== "dash"
|
|
534
|
-
}), e.describe("scales", { _fallback: "scale" }), e.describe("scale.ticks", {
|
|
535
|
-
_scriptable: (e) => e !== "backdropPadding" && e !== "callback",
|
|
536
|
-
_indexable: (e) => e !== "backdropPadding"
|
|
537
|
-
});
|
|
538
|
-
}
|
|
539
|
-
var Ze = Object.create(null), Qe = Object.create(null);
|
|
540
|
-
function B(e, t) {
|
|
541
|
-
if (!t) return e;
|
|
542
|
-
let n = t.split(".");
|
|
543
|
-
for (let t = 0, r = n.length; t < r; ++t) {
|
|
544
|
-
let r = n[t];
|
|
545
|
-
e = e[r] || (e[r] = Object.create(null));
|
|
546
|
-
}
|
|
547
|
-
return e;
|
|
548
|
-
}
|
|
549
|
-
function V(e, t, n) {
|
|
550
|
-
return typeof t == "string" ? _(B(e, t), n) : _(B(e, ""), t);
|
|
551
|
-
}
|
|
552
|
-
var $e = /* @__PURE__ */ new class {
|
|
553
|
-
constructor(e, t) {
|
|
554
|
-
this.animation = void 0, this.backgroundColor = "rgba(0,0,0,0.1)", this.borderColor = "rgba(0,0,0,0.1)", this.color = "#666", this.datasets = {}, this.devicePixelRatio = (e) => e.chart.platform.getDevicePixelRatio(), this.elements = {}, this.events = [
|
|
555
|
-
"mousemove",
|
|
556
|
-
"mouseout",
|
|
557
|
-
"click",
|
|
558
|
-
"touchstart",
|
|
559
|
-
"touchmove"
|
|
560
|
-
], this.font = {
|
|
561
|
-
family: "'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",
|
|
562
|
-
size: 12,
|
|
563
|
-
style: "normal",
|
|
564
|
-
lineHeight: 1.2,
|
|
565
|
-
weight: null
|
|
566
|
-
}, this.hover = {}, this.hoverBackgroundColor = (e, t) => z(t.backgroundColor), this.hoverBorderColor = (e, t) => z(t.borderColor), this.hoverColor = (e, t) => z(t.color), this.indexAxis = "x", this.interaction = {
|
|
567
|
-
mode: "nearest",
|
|
568
|
-
intersect: !0,
|
|
569
|
-
includeInvisible: !1
|
|
570
|
-
}, this.maintainAspectRatio = !0, this.onHover = null, this.onClick = null, this.parsing = !0, this.plugins = {}, this.responsive = !0, this.scale = void 0, this.scales = {}, this.showLine = !0, this.drawActiveElementsOnTop = !0, this.describe(e), this.apply(t);
|
|
571
|
-
}
|
|
572
|
-
set(e, t) {
|
|
573
|
-
return V(this, e, t);
|
|
574
|
-
}
|
|
575
|
-
get(e) {
|
|
576
|
-
return B(this, e);
|
|
577
|
-
}
|
|
578
|
-
describe(e, t) {
|
|
579
|
-
return V(Qe, e, t);
|
|
580
|
-
}
|
|
581
|
-
override(e, t) {
|
|
582
|
-
return V(Ze, e, t);
|
|
583
|
-
}
|
|
584
|
-
route(e, t, n, r) {
|
|
585
|
-
let i = B(this, e), o = B(this, n), s = "_" + t;
|
|
586
|
-
Object.defineProperties(i, {
|
|
587
|
-
[s]: {
|
|
588
|
-
value: i[t],
|
|
589
|
-
writable: !0
|
|
590
|
-
},
|
|
591
|
-
[t]: {
|
|
592
|
-
enumerable: !0,
|
|
593
|
-
get() {
|
|
594
|
-
let e = this[s], t = o[r];
|
|
595
|
-
return a(e) ? Object.assign({}, t, e) : c(e, t);
|
|
596
|
-
},
|
|
597
|
-
set(e) {
|
|
598
|
-
this[s] = e;
|
|
599
|
-
}
|
|
600
|
-
}
|
|
601
|
-
});
|
|
602
|
-
}
|
|
603
|
-
apply(e) {
|
|
604
|
-
e.forEach((e) => e(this));
|
|
605
|
-
}
|
|
606
|
-
}({
|
|
607
|
-
_scriptable: (e) => !e.startsWith("on"),
|
|
608
|
-
_indexable: (e) => e !== "events",
|
|
609
|
-
hover: { _fallback: "interaction" },
|
|
610
|
-
interaction: {
|
|
611
|
-
_scriptable: !1,
|
|
612
|
-
_indexable: !1
|
|
613
|
-
}
|
|
614
|
-
}, [
|
|
615
|
-
He,
|
|
616
|
-
Ue,
|
|
617
|
-
Xe
|
|
618
|
-
]);
|
|
619
|
-
function et(e) {
|
|
620
|
-
return !e || r(e.size) || r(e.family) ? null : (e.style ? e.style + " " : "") + (e.weight ? e.weight + " " : "") + e.size + "px " + e.family;
|
|
621
|
-
}
|
|
622
|
-
function H(e, t, n, r, i) {
|
|
623
|
-
let a = t[i];
|
|
624
|
-
return a || (a = t[i] = e.measureText(i).width, n.push(i)), a > r && (r = a), r;
|
|
625
|
-
}
|
|
626
|
-
function tt(e, t, n, r) {
|
|
627
|
-
r ||= {};
|
|
628
|
-
let a = r.data = r.data || {}, o = r.garbageCollect = r.garbageCollect || [];
|
|
629
|
-
r.font !== t && (a = r.data = {}, o = r.garbageCollect = [], r.font = t), e.save(), e.font = t;
|
|
630
|
-
let s = 0, c = n.length, l, u, d, f, p;
|
|
631
|
-
for (l = 0; l < c; l++) if (f = n[l], f != null && !i(f)) s = H(e, a, o, s, f);
|
|
632
|
-
else if (i(f)) for (u = 0, d = f.length; u < d; u++) p = f[u], p != null && !i(p) && (s = H(e, a, o, s, p));
|
|
633
|
-
e.restore();
|
|
634
|
-
let m = o.length / 2;
|
|
635
|
-
if (m > n.length) {
|
|
636
|
-
for (l = 0; l < m; l++) delete a[o[l]];
|
|
637
|
-
o.splice(0, m);
|
|
638
|
-
}
|
|
639
|
-
return s;
|
|
640
|
-
}
|
|
641
|
-
function nt(e, t, n) {
|
|
642
|
-
let r = e.currentDevicePixelRatio, i = n === 0 ? 0 : Math.max(n / 2, .5);
|
|
643
|
-
return Math.round((t - i) * r) / r + i;
|
|
644
|
-
}
|
|
645
|
-
function rt(e, t) {
|
|
646
|
-
!t && !e || (t ||= e.getContext("2d"), t.save(), t.resetTransform(), t.clearRect(0, 0, e.width, e.height), t.restore());
|
|
647
|
-
}
|
|
648
|
-
function it(e, t, n, r) {
|
|
649
|
-
at(e, t, n, r, null);
|
|
650
|
-
}
|
|
651
|
-
function at(e, t, n, r, i) {
|
|
652
|
-
let a, o, s, c, l, u, d, f, p = t.pointStyle, m = t.rotation, h = t.radius, g = (m || 0) * se;
|
|
653
|
-
if (p && typeof p == "object" && (a = p.toString(), a === "[object HTMLImageElement]" || a === "[object HTMLCanvasElement]")) {
|
|
654
|
-
e.save(), e.translate(n, r), e.rotate(g), e.drawImage(p, -p.width / 2, -p.height / 2, p.width, p.height), e.restore();
|
|
655
|
-
return;
|
|
656
|
-
}
|
|
657
|
-
if (!(isNaN(h) || h <= 0)) {
|
|
658
|
-
switch (e.beginPath(), p) {
|
|
659
|
-
default:
|
|
660
|
-
i ? e.ellipse(n, r, i / 2, h, 0, 0, w) : e.arc(n, r, h, 0, w), e.closePath();
|
|
661
|
-
break;
|
|
662
|
-
case "triangle":
|
|
663
|
-
u = i ? i / 2 : h, e.moveTo(n + Math.sin(g) * u, r - Math.cos(g) * h), g += ce, e.lineTo(n + Math.sin(g) * u, r - Math.cos(g) * h), g += ce, e.lineTo(n + Math.sin(g) * u, r - Math.cos(g) * h), e.closePath();
|
|
664
|
-
break;
|
|
665
|
-
case "rectRounded":
|
|
666
|
-
l = h * .516, c = h - l, o = Math.cos(g + D) * c, d = Math.cos(g + D) * (i ? i / 2 - l : c), s = Math.sin(g + D) * c, f = Math.sin(g + D) * (i ? i / 2 - l : c), e.arc(n - d, r - s, l, g - C, g - E), e.arc(n + f, r - o, l, g - E, g), e.arc(n + d, r + s, l, g, g + E), e.arc(n - f, r + o, l, g + E, g + C), e.closePath();
|
|
667
|
-
break;
|
|
668
|
-
case "rect":
|
|
669
|
-
if (!m) {
|
|
670
|
-
c = Math.SQRT1_2 * h, u = i ? i / 2 : c, e.rect(n - u, r - c, 2 * u, 2 * c);
|
|
671
|
-
break;
|
|
672
|
-
}
|
|
673
|
-
g += D;
|
|
674
|
-
case "rectRot":
|
|
675
|
-
d = Math.cos(g) * (i ? i / 2 : h), o = Math.cos(g) * h, s = Math.sin(g) * h, f = Math.sin(g) * (i ? i / 2 : h), e.moveTo(n - d, r - s), e.lineTo(n + f, r - o), e.lineTo(n + d, r + s), e.lineTo(n - f, r + o), e.closePath();
|
|
676
|
-
break;
|
|
677
|
-
case "crossRot": g += D;
|
|
678
|
-
case "cross":
|
|
679
|
-
d = Math.cos(g) * (i ? i / 2 : h), o = Math.cos(g) * h, s = Math.sin(g) * h, f = Math.sin(g) * (i ? i / 2 : h), e.moveTo(n - d, r - s), e.lineTo(n + d, r + s), e.moveTo(n + f, r - o), e.lineTo(n - f, r + o);
|
|
680
|
-
break;
|
|
681
|
-
case "star":
|
|
682
|
-
d = Math.cos(g) * (i ? i / 2 : h), o = Math.cos(g) * h, s = Math.sin(g) * h, f = Math.sin(g) * (i ? i / 2 : h), e.moveTo(n - d, r - s), e.lineTo(n + d, r + s), e.moveTo(n + f, r - o), e.lineTo(n - f, r + o), g += D, d = Math.cos(g) * (i ? i / 2 : h), o = Math.cos(g) * h, s = Math.sin(g) * h, f = Math.sin(g) * (i ? i / 2 : h), e.moveTo(n - d, r - s), e.lineTo(n + d, r + s), e.moveTo(n + f, r - o), e.lineTo(n - f, r + o);
|
|
683
|
-
break;
|
|
684
|
-
case "line":
|
|
685
|
-
o = i ? i / 2 : Math.cos(g) * h, s = Math.sin(g) * h, e.moveTo(n - o, r - s), e.lineTo(n + o, r + s);
|
|
686
|
-
break;
|
|
687
|
-
case "dash":
|
|
688
|
-
e.moveTo(n, r), e.lineTo(n + Math.cos(g) * (i ? i / 2 : h), r + Math.sin(g) * h);
|
|
689
|
-
break;
|
|
690
|
-
case !1:
|
|
691
|
-
e.closePath();
|
|
692
|
-
break;
|
|
693
|
-
}
|
|
694
|
-
e.fill(), t.borderWidth > 0 && e.stroke();
|
|
695
|
-
}
|
|
696
|
-
}
|
|
697
|
-
function U(e, t, n) {
|
|
698
|
-
return n ||= .5, !t || e && e.x > t.left - n && e.x < t.right + n && e.y > t.top - n && e.y < t.bottom + n;
|
|
699
|
-
}
|
|
700
|
-
function ot(e, t) {
|
|
701
|
-
e.save(), e.beginPath(), e.rect(t.left, t.top, t.right - t.left, t.bottom - t.top), e.clip();
|
|
702
|
-
}
|
|
703
|
-
function st(e) {
|
|
704
|
-
e.restore();
|
|
705
|
-
}
|
|
706
|
-
function ct(e, t, n, r, i) {
|
|
707
|
-
if (!t) return e.lineTo(n.x, n.y);
|
|
708
|
-
if (i === "middle") {
|
|
709
|
-
let r = (t.x + n.x) / 2;
|
|
710
|
-
e.lineTo(r, t.y), e.lineTo(r, n.y);
|
|
711
|
-
} else i === "after" == !!r ? e.lineTo(n.x, t.y) : e.lineTo(t.x, n.y);
|
|
712
|
-
e.lineTo(n.x, n.y);
|
|
713
|
-
}
|
|
714
|
-
function lt(e, t, n, r) {
|
|
715
|
-
if (!t) return e.lineTo(n.x, n.y);
|
|
716
|
-
e.bezierCurveTo(r ? t.cp1x : t.cp2x, r ? t.cp1y : t.cp2y, r ? n.cp2x : n.cp1x, r ? n.cp2y : n.cp1y, n.x, n.y);
|
|
717
|
-
}
|
|
718
|
-
function ut(e, t) {
|
|
719
|
-
t.translation && e.translate(t.translation[0], t.translation[1]), r(t.rotation) || e.rotate(t.rotation), t.color && (e.fillStyle = t.color), t.textAlign && (e.textAlign = t.textAlign), t.textBaseline && (e.textBaseline = t.textBaseline);
|
|
720
|
-
}
|
|
721
|
-
function dt(e, t, n, r, i) {
|
|
722
|
-
if (i.strikethrough || i.underline) {
|
|
723
|
-
let a = e.measureText(r), o = t - a.actualBoundingBoxLeft, s = t + a.actualBoundingBoxRight, c = n - a.actualBoundingBoxAscent, l = n + a.actualBoundingBoxDescent, u = i.strikethrough ? (c + l) / 2 : l;
|
|
724
|
-
e.strokeStyle = e.fillStyle, e.beginPath(), e.lineWidth = i.decorationWidth || 2, e.moveTo(o, u), e.lineTo(s, u), e.stroke();
|
|
725
|
-
}
|
|
726
|
-
}
|
|
727
|
-
function ft(e, t) {
|
|
728
|
-
let n = e.fillStyle;
|
|
729
|
-
e.fillStyle = t.color, e.fillRect(t.left, t.top, t.width, t.height), e.fillStyle = n;
|
|
730
|
-
}
|
|
731
|
-
function pt(e, t, n, a, o, s = {}) {
|
|
732
|
-
let c = i(t) ? t : [t], l = s.strokeWidth > 0 && s.strokeColor !== "", u, d;
|
|
733
|
-
for (e.save(), e.font = o.string, ut(e, s), u = 0; u < c.length; ++u) d = c[u], s.backdrop && ft(e, s.backdrop), l && (s.strokeColor && (e.strokeStyle = s.strokeColor), r(s.strokeWidth) || (e.lineWidth = s.strokeWidth), e.strokeText(d, n, a, s.maxWidth)), e.fillText(d, n, a, s.maxWidth), dt(e, n, a, d, s), a += Number(o.lineHeight);
|
|
734
|
-
e.restore();
|
|
735
|
-
}
|
|
736
|
-
function mt(e, t) {
|
|
737
|
-
let { x: n, y: r, w: i, h: a, radius: o } = t;
|
|
738
|
-
e.arc(n + o.topLeft, r + o.topLeft, o.topLeft, 1.5 * C, C, !0), e.lineTo(n, r + a - o.bottomLeft), e.arc(n + o.bottomLeft, r + a - o.bottomLeft, o.bottomLeft, C, E, !0), e.lineTo(n + i - o.bottomRight, r + a), e.arc(n + i - o.bottomRight, r + a - o.bottomRight, o.bottomRight, E, 0, !0), e.lineTo(n + i, r + o.topRight), e.arc(n + i - o.topRight, r + o.topRight, o.topRight, 0, -E, !0), e.lineTo(n + o.topLeft, r);
|
|
739
|
-
}
|
|
740
|
-
var ht = /^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/, gt = /^(normal|italic|initial|inherit|unset|(oblique( -?[0-9]?[0-9]deg)?))$/;
|
|
741
|
-
function _t(e, t) {
|
|
742
|
-
let n = ("" + e).match(ht);
|
|
743
|
-
if (!n || n[1] === "normal") return t * 1.2;
|
|
744
|
-
switch (e = +n[2], n[3]) {
|
|
745
|
-
case "px": return e;
|
|
746
|
-
case "%":
|
|
747
|
-
e /= 100;
|
|
748
|
-
break;
|
|
749
|
-
}
|
|
750
|
-
return t * e;
|
|
751
|
-
}
|
|
752
|
-
var vt = (e) => +e || 0;
|
|
753
|
-
function W(e, t) {
|
|
754
|
-
let n = {}, r = a(t), i = r ? Object.keys(t) : t, o = a(e) ? r ? (n) => c(e[n], e[t[n]]) : (t) => e[t] : () => e;
|
|
755
|
-
for (let e of i) n[e] = vt(o(e));
|
|
756
|
-
return n;
|
|
757
|
-
}
|
|
758
|
-
function yt(e) {
|
|
759
|
-
return W(e, {
|
|
760
|
-
top: "y",
|
|
761
|
-
right: "x",
|
|
762
|
-
bottom: "y",
|
|
763
|
-
left: "x"
|
|
764
|
-
});
|
|
765
|
-
}
|
|
766
|
-
function bt(e) {
|
|
767
|
-
return W(e, [
|
|
768
|
-
"topLeft",
|
|
769
|
-
"topRight",
|
|
770
|
-
"bottomLeft",
|
|
771
|
-
"bottomRight"
|
|
772
|
-
]);
|
|
773
|
-
}
|
|
774
|
-
function xt(e) {
|
|
775
|
-
let t = yt(e);
|
|
776
|
-
return t.width = t.left + t.right, t.height = t.top + t.bottom, t;
|
|
777
|
-
}
|
|
778
|
-
function St(e, t) {
|
|
779
|
-
e ||= {}, t ||= $e.font;
|
|
780
|
-
let n = c(e.size, t.size);
|
|
781
|
-
typeof n == "string" && (n = parseInt(n, 10));
|
|
782
|
-
let r = c(e.style, t.style);
|
|
783
|
-
r && !("" + r).match(gt) && (console.warn("Invalid font style specified: \"" + r + "\""), r = void 0);
|
|
784
|
-
let i = {
|
|
785
|
-
family: c(e.family, t.family),
|
|
786
|
-
lineHeight: _t(c(e.lineHeight, t.lineHeight), n),
|
|
787
|
-
size: n,
|
|
788
|
-
style: r,
|
|
789
|
-
weight: c(e.weight, t.weight),
|
|
790
|
-
string: ""
|
|
791
|
-
};
|
|
792
|
-
return i.string = et(i), i;
|
|
793
|
-
}
|
|
794
|
-
function Ct(e, t, n, r) {
|
|
795
|
-
let a = !0, o, s, c;
|
|
796
|
-
for (o = 0, s = e.length; o < s; ++o) if (c = e[o], c !== void 0 && (t !== void 0 && typeof c == "function" && (c = c(t), a = !1), n !== void 0 && i(c) && (c = c[n % c.length], a = !1), c !== void 0)) return r && !a && (r.cacheable = !1), c;
|
|
797
|
-
}
|
|
798
|
-
function wt(e, t, n) {
|
|
799
|
-
let { min: r, max: i } = e, a = u(t, (i - r) / 2), o = (e, t) => n && e === 0 ? 0 : e + t;
|
|
800
|
-
return {
|
|
801
|
-
min: o(r, -Math.abs(a)),
|
|
802
|
-
max: o(i, a)
|
|
803
|
-
};
|
|
804
|
-
}
|
|
805
|
-
function Tt(e, t) {
|
|
806
|
-
return Object.assign(Object.create(e), t);
|
|
807
|
-
}
|
|
808
|
-
function Et(e, t = [""], n, r, i = () => e[0]) {
|
|
809
|
-
let a = n || e;
|
|
810
|
-
return r === void 0 && (r = Vt("_fallback", e)), new Proxy({
|
|
811
|
-
[Symbol.toStringTag]: "Object",
|
|
812
|
-
_cacheable: !0,
|
|
813
|
-
_scopes: e,
|
|
814
|
-
_rootScopes: a,
|
|
815
|
-
_fallback: r,
|
|
816
|
-
_getTarget: i,
|
|
817
|
-
override: (n) => Et([n, ...e], t, a, r)
|
|
818
|
-
}, {
|
|
819
|
-
deleteProperty(t, n) {
|
|
820
|
-
return delete t[n], delete t._keys, delete e[0][n], !0;
|
|
821
|
-
},
|
|
822
|
-
get(n, r) {
|
|
823
|
-
return At(n, r, () => Bt(r, t, e, n));
|
|
824
|
-
},
|
|
825
|
-
getOwnPropertyDescriptor(e, t) {
|
|
826
|
-
return Reflect.getOwnPropertyDescriptor(e._scopes[0], t);
|
|
827
|
-
},
|
|
828
|
-
getPrototypeOf() {
|
|
829
|
-
return Reflect.getPrototypeOf(e[0]);
|
|
830
|
-
},
|
|
831
|
-
has(e, t) {
|
|
832
|
-
return Ht(e).includes(t);
|
|
833
|
-
},
|
|
834
|
-
ownKeys(e) {
|
|
835
|
-
return Ht(e);
|
|
836
|
-
},
|
|
837
|
-
set(e, t, n) {
|
|
838
|
-
let r = e._storage ||= i();
|
|
839
|
-
return e[t] = r[t] = n, delete e._keys, !0;
|
|
840
|
-
}
|
|
841
|
-
});
|
|
842
|
-
}
|
|
843
|
-
function G(e, t, n, r) {
|
|
844
|
-
let i = {
|
|
845
|
-
_cacheable: !1,
|
|
846
|
-
_proxy: e,
|
|
847
|
-
_context: t,
|
|
848
|
-
_subProxy: n,
|
|
849
|
-
_stack: /* @__PURE__ */ new Set(),
|
|
850
|
-
_descriptors: Dt(e, r),
|
|
851
|
-
setContext: (t) => G(e, t, n, r),
|
|
852
|
-
override: (i) => G(e.override(i), t, n, r)
|
|
853
|
-
};
|
|
854
|
-
return new Proxy(i, {
|
|
855
|
-
deleteProperty(t, n) {
|
|
856
|
-
return delete t[n], delete e[n], !0;
|
|
857
|
-
},
|
|
858
|
-
get(e, t, n) {
|
|
859
|
-
return At(e, t, () => jt(e, t, n));
|
|
860
|
-
},
|
|
861
|
-
getOwnPropertyDescriptor(t, n) {
|
|
862
|
-
return t._descriptors.allKeys ? Reflect.has(e, n) ? {
|
|
863
|
-
enumerable: !0,
|
|
864
|
-
configurable: !0
|
|
865
|
-
} : void 0 : Reflect.getOwnPropertyDescriptor(e, n);
|
|
866
|
-
},
|
|
867
|
-
getPrototypeOf() {
|
|
868
|
-
return Reflect.getPrototypeOf(e);
|
|
869
|
-
},
|
|
870
|
-
has(t, n) {
|
|
871
|
-
return Reflect.has(e, n);
|
|
872
|
-
},
|
|
873
|
-
ownKeys() {
|
|
874
|
-
return Reflect.ownKeys(e);
|
|
875
|
-
},
|
|
876
|
-
set(t, n, r) {
|
|
877
|
-
return e[n] = r, delete t[n], !0;
|
|
878
|
-
}
|
|
879
|
-
});
|
|
880
|
-
}
|
|
881
|
-
function Dt(e, t = {
|
|
882
|
-
scriptable: !0,
|
|
883
|
-
indexable: !0
|
|
884
|
-
}) {
|
|
885
|
-
let { _scriptable: n = t.scriptable, _indexable: r = t.indexable, _allKeys: i = t.allKeys } = e;
|
|
886
|
-
return {
|
|
887
|
-
allKeys: i,
|
|
888
|
-
scriptable: n,
|
|
889
|
-
indexable: r,
|
|
890
|
-
isScriptable: S(n) ? n : () => n,
|
|
891
|
-
isIndexable: S(r) ? r : () => r
|
|
892
|
-
};
|
|
893
|
-
}
|
|
894
|
-
var Ot = (e, t) => e ? e + x(t) : t, kt = (e, t) => a(t) && e !== "adapters" && (Object.getPrototypeOf(t) === null || t.constructor === Object);
|
|
895
|
-
function At(e, t, n) {
|
|
896
|
-
if (Object.prototype.hasOwnProperty.call(e, t) || t === "constructor") return e[t];
|
|
897
|
-
let r = n();
|
|
898
|
-
return e[t] = r, r;
|
|
899
|
-
}
|
|
900
|
-
function jt(e, t, n) {
|
|
901
|
-
let { _proxy: r, _context: a, _subProxy: o, _descriptors: s } = e, c = r[t];
|
|
902
|
-
return S(c) && s.isScriptable(t) && (c = Mt(t, c, e, n)), i(c) && c.length && (c = Nt(t, c, e, s.isIndexable)), kt(t, c) && (c = G(c, a, o && o[t], s)), c;
|
|
903
|
-
}
|
|
904
|
-
function Mt(e, t, n, r) {
|
|
905
|
-
let { _proxy: i, _context: a, _subProxy: o, _stack: s } = n;
|
|
906
|
-
if (s.has(e)) throw Error("Recursion detected: " + Array.from(s).join("->") + "->" + e);
|
|
907
|
-
s.add(e);
|
|
908
|
-
let c = t(a, o || r);
|
|
909
|
-
return s.delete(e), kt(e, c) && (c = Lt(i._scopes, i, e, c)), c;
|
|
910
|
-
}
|
|
911
|
-
function Nt(e, t, n, r) {
|
|
912
|
-
let { _proxy: i, _context: o, _subProxy: s, _descriptors: c } = n;
|
|
913
|
-
if (o.index !== void 0 && r(e)) return t[o.index % t.length];
|
|
914
|
-
if (a(t[0])) {
|
|
915
|
-
let n = t, r = i._scopes.filter((e) => e !== n);
|
|
916
|
-
t = [];
|
|
917
|
-
for (let a of n) {
|
|
918
|
-
let n = Lt(r, i, e, a);
|
|
919
|
-
t.push(G(n, o, s && s[e], c));
|
|
920
|
-
}
|
|
921
|
-
}
|
|
922
|
-
return t;
|
|
923
|
-
}
|
|
924
|
-
function Pt(e, t, n) {
|
|
925
|
-
return S(e) ? e(t, n) : e;
|
|
926
|
-
}
|
|
927
|
-
var Ft = (e, t) => e === !0 ? t : typeof e == "string" ? b(t, e) : void 0;
|
|
928
|
-
function It(e, t, n, r, i) {
|
|
929
|
-
for (let a of t) {
|
|
930
|
-
let t = Ft(n, a);
|
|
931
|
-
if (t) {
|
|
932
|
-
e.add(t);
|
|
933
|
-
let a = Pt(t._fallback, n, i);
|
|
934
|
-
if (a !== void 0 && a !== n && a !== r) return a;
|
|
935
|
-
} else if (t === !1 && r !== void 0 && n !== r) return null;
|
|
936
|
-
}
|
|
937
|
-
return !1;
|
|
938
|
-
}
|
|
939
|
-
function Lt(e, t, n, r) {
|
|
940
|
-
let i = t._rootScopes, a = Pt(t._fallback, n, r), o = [...e, ...i], s = /* @__PURE__ */ new Set();
|
|
941
|
-
s.add(r);
|
|
942
|
-
let c = Rt(s, o, n, a || n, r);
|
|
943
|
-
return c === null || a !== void 0 && a !== n && (c = Rt(s, o, a, c, r), c === null) ? !1 : Et(Array.from(s), [""], i, a, () => zt(t, n, r));
|
|
944
|
-
}
|
|
945
|
-
function Rt(e, t, n, r, i) {
|
|
946
|
-
for (; n;) n = It(e, t, n, r, i);
|
|
947
|
-
return n;
|
|
948
|
-
}
|
|
949
|
-
function zt(e, t, n) {
|
|
950
|
-
let r = e._getTarget();
|
|
951
|
-
t in r || (r[t] = {});
|
|
952
|
-
let o = r[t];
|
|
953
|
-
return i(o) && a(n) ? n : o || {};
|
|
954
|
-
}
|
|
955
|
-
function Bt(e, t, n, r) {
|
|
956
|
-
let i;
|
|
957
|
-
for (let a of t) if (i = Vt(Ot(a, e), n), i !== void 0) return kt(e, i) ? Lt(n, r, e, i) : i;
|
|
958
|
-
}
|
|
959
|
-
function Vt(e, t) {
|
|
960
|
-
for (let n of t) {
|
|
961
|
-
if (!n) continue;
|
|
962
|
-
let t = n[e];
|
|
963
|
-
if (t !== void 0) return t;
|
|
964
|
-
}
|
|
965
|
-
}
|
|
966
|
-
function Ht(e) {
|
|
967
|
-
let t = e._keys;
|
|
968
|
-
return t ||= e._keys = Ut(e._scopes), t;
|
|
969
|
-
}
|
|
970
|
-
function Ut(e) {
|
|
971
|
-
let t = /* @__PURE__ */ new Set();
|
|
972
|
-
for (let n of e) for (let e of Object.keys(n).filter((e) => !e.startsWith("_"))) t.add(e);
|
|
973
|
-
return Array.from(t);
|
|
974
|
-
}
|
|
975
|
-
function Wt(e, t, n, r) {
|
|
976
|
-
let { iScale: i } = e, { key: a = "r" } = this._parsing, o = Array(r), s, c, l, u;
|
|
977
|
-
for (s = 0, c = r; s < c; ++s) l = s + n, u = t[l], o[s] = { r: i.parse(b(u, a), l) };
|
|
978
|
-
return o;
|
|
979
|
-
}
|
|
980
|
-
var Gt = 2 ** -52 || 1e-14, K = (e, t) => t < e.length && !e[t].skip && e[t], Kt = (e) => e === "x" ? "y" : "x";
|
|
981
|
-
function qt(e, t, n, r) {
|
|
982
|
-
let i = e.skip ? t : e, a = t, o = n.skip ? t : n, s = j(a, i), c = j(o, a), l = s / (s + c), u = c / (s + c);
|
|
983
|
-
l = isNaN(l) ? 0 : l, u = isNaN(u) ? 0 : u;
|
|
984
|
-
let d = r * l, f = r * u;
|
|
985
|
-
return {
|
|
986
|
-
previous: {
|
|
987
|
-
x: a.x - d * (o.x - i.x),
|
|
988
|
-
y: a.y - d * (o.y - i.y)
|
|
989
|
-
},
|
|
990
|
-
next: {
|
|
991
|
-
x: a.x + f * (o.x - i.x),
|
|
992
|
-
y: a.y + f * (o.y - i.y)
|
|
993
|
-
}
|
|
994
|
-
};
|
|
995
|
-
}
|
|
996
|
-
function Jt(e, t, n) {
|
|
997
|
-
let r = e.length, i, a, o, s, c, l = K(e, 0);
|
|
998
|
-
for (let u = 0; u < r - 1; ++u) if (c = l, l = K(e, u + 1), !(!c || !l)) {
|
|
999
|
-
if (A(t[u], 0, Gt)) {
|
|
1000
|
-
n[u] = n[u + 1] = 0;
|
|
1001
|
-
continue;
|
|
1002
|
-
}
|
|
1003
|
-
i = n[u] / t[u], a = n[u + 1] / t[u], s = i ** 2 + a ** 2, !(s <= 9) && (o = 3 / Math.sqrt(s), n[u] = i * o * t[u], n[u + 1] = a * o * t[u]);
|
|
1004
|
-
}
|
|
1005
|
-
}
|
|
1006
|
-
function Yt(e, t, n = "x") {
|
|
1007
|
-
let r = Kt(n), i = e.length, a, o, s, c = K(e, 0);
|
|
1008
|
-
for (let l = 0; l < i; ++l) {
|
|
1009
|
-
if (o = s, s = c, c = K(e, l + 1), !s) continue;
|
|
1010
|
-
let i = s[n], u = s[r];
|
|
1011
|
-
o && (a = (i - o[n]) / 3, s[`cp1${n}`] = i - a, s[`cp1${r}`] = u - a * t[l]), c && (a = (c[n] - i) / 3, s[`cp2${n}`] = i + a, s[`cp2${r}`] = u + a * t[l]);
|
|
1012
|
-
}
|
|
1013
|
-
}
|
|
1014
|
-
function Xt(e, t = "x") {
|
|
1015
|
-
let n = Kt(t), r = e.length, i = Array(r).fill(0), a = Array(r), o, s, c, l = K(e, 0);
|
|
1016
|
-
for (o = 0; o < r; ++o) if (s = c, c = l, l = K(e, o + 1), c) {
|
|
1017
|
-
if (l) {
|
|
1018
|
-
let e = l[t] - c[t];
|
|
1019
|
-
i[o] = e === 0 ? 0 : (l[n] - c[n]) / e;
|
|
1020
|
-
}
|
|
1021
|
-
a[o] = s ? l ? k(i[o - 1]) === k(i[o]) ? (i[o - 1] + i[o]) / 2 : 0 : i[o - 1] : i[o];
|
|
1022
|
-
}
|
|
1023
|
-
Jt(e, i, a), Yt(e, a, t);
|
|
1024
|
-
}
|
|
1025
|
-
function q(e, t, n) {
|
|
1026
|
-
return Math.max(Math.min(e, n), t);
|
|
1027
|
-
}
|
|
1028
|
-
function Zt(e, t) {
|
|
1029
|
-
let n, r, i, a, o, s = U(e[0], t);
|
|
1030
|
-
for (n = 0, r = e.length; n < r; ++n) o = a, a = s, s = n < r - 1 && U(e[n + 1], t), a && (i = e[n], o && (i.cp1x = q(i.cp1x, t.left, t.right), i.cp1y = q(i.cp1y, t.top, t.bottom)), s && (i.cp2x = q(i.cp2x, t.left, t.right), i.cp2y = q(i.cp2y, t.top, t.bottom)));
|
|
1031
|
-
}
|
|
1032
|
-
function Qt(e, t, n, r, i) {
|
|
1033
|
-
let a, o, s, c;
|
|
1034
|
-
if (t.spanGaps && (e = e.filter((e) => !e.skip)), t.cubicInterpolationMode === "monotone") Xt(e, i);
|
|
1035
|
-
else {
|
|
1036
|
-
let n = r ? e[e.length - 1] : e[0];
|
|
1037
|
-
for (a = 0, o = e.length; a < o; ++a) s = e[a], c = qt(n, s, e[Math.min(a + 1, o - +!r) % o], t.tension), s.cp1x = c.previous.x, s.cp1y = c.previous.y, s.cp2x = c.next.x, s.cp2y = c.next.y, n = s;
|
|
1038
|
-
}
|
|
1039
|
-
t.capBezierPoints && Zt(e, n);
|
|
1040
|
-
}
|
|
1041
|
-
function $t() {
|
|
1042
|
-
return typeof window < "u" && typeof document < "u";
|
|
1043
|
-
}
|
|
1044
|
-
function en(e) {
|
|
1045
|
-
let t = e.parentNode;
|
|
1046
|
-
return t && t.toString() === "[object ShadowRoot]" && (t = t.host), t;
|
|
1047
|
-
}
|
|
1048
|
-
function J(e, t, n) {
|
|
1049
|
-
let r;
|
|
1050
|
-
return typeof e == "string" ? (r = parseInt(e, 10), e.indexOf("%") !== -1 && (r = r / 100 * t.parentNode[n])) : r = e, r;
|
|
1051
|
-
}
|
|
1052
|
-
var Y = (e) => e.ownerDocument.defaultView.getComputedStyle(e, null);
|
|
1053
|
-
function tn(e, t) {
|
|
1054
|
-
return Y(e).getPropertyValue(t);
|
|
1055
|
-
}
|
|
1056
|
-
var nn = [
|
|
1057
|
-
"top",
|
|
1058
|
-
"right",
|
|
1059
|
-
"bottom",
|
|
1060
|
-
"left"
|
|
1061
|
-
];
|
|
1062
|
-
function X(e, t, n) {
|
|
1063
|
-
let r = {};
|
|
1064
|
-
n = n ? "-" + n : "";
|
|
1065
|
-
for (let i = 0; i < 4; i++) {
|
|
1066
|
-
let a = nn[i];
|
|
1067
|
-
r[a] = parseFloat(e[t + "-" + a + n]) || 0;
|
|
1068
|
-
}
|
|
1069
|
-
return r.width = r.left + r.right, r.height = r.top + r.bottom, r;
|
|
1070
|
-
}
|
|
1071
|
-
var rn = (e, t, n) => (e > 0 || t > 0) && (!n || !n.shadowRoot);
|
|
1072
|
-
function an(e, t) {
|
|
1073
|
-
let n = e.touches, r = n && n.length ? n[0] : e, { offsetX: i, offsetY: a } = r, o = !1, s, c;
|
|
1074
|
-
if (rn(i, a, e.target)) s = i, c = a;
|
|
1075
|
-
else {
|
|
1076
|
-
let e = t.getBoundingClientRect();
|
|
1077
|
-
s = r.clientX - e.left, c = r.clientY - e.top, o = !0;
|
|
1078
|
-
}
|
|
1079
|
-
return {
|
|
1080
|
-
x: s,
|
|
1081
|
-
y: c,
|
|
1082
|
-
box: o
|
|
1083
|
-
};
|
|
1084
|
-
}
|
|
1085
|
-
function on(e, t) {
|
|
1086
|
-
if ("native" in e) return e;
|
|
1087
|
-
let { canvas: n, currentDevicePixelRatio: r } = t, i = Y(n), a = i.boxSizing === "border-box", o = X(i, "padding"), s = X(i, "border", "width"), { x: c, y: l, box: u } = an(e, n), d = o.left + (u && s.left), f = o.top + (u && s.top), { width: p, height: m } = t;
|
|
1088
|
-
return a && (p -= o.width + s.width, m -= o.height + s.height), {
|
|
1089
|
-
x: Math.round((c - d) / p * n.width / r),
|
|
1090
|
-
y: Math.round((l - f) / m * n.height / r)
|
|
1091
|
-
};
|
|
1092
|
-
}
|
|
1093
|
-
function sn(e, t, n) {
|
|
1094
|
-
let r, i;
|
|
1095
|
-
if (t === void 0 || n === void 0) {
|
|
1096
|
-
let a = e && en(e);
|
|
1097
|
-
if (!a) t = e.clientWidth, n = e.clientHeight;
|
|
1098
|
-
else {
|
|
1099
|
-
let e = a.getBoundingClientRect(), o = Y(a), s = X(o, "border", "width"), c = X(o, "padding");
|
|
1100
|
-
t = e.width - c.width - s.width, n = e.height - c.height - s.height, r = J(o.maxWidth, a, "clientWidth"), i = J(o.maxHeight, a, "clientHeight");
|
|
1101
|
-
}
|
|
1102
|
-
}
|
|
1103
|
-
return {
|
|
1104
|
-
width: t,
|
|
1105
|
-
height: n,
|
|
1106
|
-
maxWidth: r || T,
|
|
1107
|
-
maxHeight: i || T
|
|
1108
|
-
};
|
|
1109
|
-
}
|
|
1110
|
-
var Z = (e) => Math.round(e * 10) / 10;
|
|
1111
|
-
function cn(e, t, n, r) {
|
|
1112
|
-
let i = Y(e), a = X(i, "margin"), o = J(i.maxWidth, e, "clientWidth") || T, s = J(i.maxHeight, e, "clientHeight") || T, c = sn(e, t, n), { width: l, height: u } = c;
|
|
1113
|
-
if (i.boxSizing === "content-box") {
|
|
1114
|
-
let e = X(i, "border", "width"), t = X(i, "padding");
|
|
1115
|
-
l -= t.width + e.width, u -= t.height + e.height;
|
|
1116
|
-
}
|
|
1117
|
-
return l = Math.max(0, l - a.width), u = Math.max(0, r ? l / r : u - a.height), l = Z(Math.min(l, o, c.maxWidth)), u = Z(Math.min(u, s, c.maxHeight)), l && !u && (u = Z(l / 2)), (t !== void 0 || n !== void 0) && r && c.height && u > c.height && (u = c.height, l = Z(Math.floor(u * r))), {
|
|
1118
|
-
width: l,
|
|
1119
|
-
height: u
|
|
1120
|
-
};
|
|
1121
|
-
}
|
|
1122
|
-
function ln(e, t, n) {
|
|
1123
|
-
let r = t || 1, i = Z(e.height * r), a = Z(e.width * r);
|
|
1124
|
-
e.height = Z(e.height), e.width = Z(e.width);
|
|
1125
|
-
let o = e.canvas;
|
|
1126
|
-
return o.style && (n || !o.style.height && !o.style.width) && (o.style.height = `${e.height}px`, o.style.width = `${e.width}px`), e.currentDevicePixelRatio !== r || o.height !== i || o.width !== a ? (e.currentDevicePixelRatio = r, o.height = i, o.width = a, e.ctx.setTransform(r, 0, 0, r, 0, 0), !0) : !1;
|
|
1127
|
-
}
|
|
1128
|
-
var un = function() {
|
|
1129
|
-
let e = !1;
|
|
1130
|
-
try {
|
|
1131
|
-
let t = { get passive() {
|
|
1132
|
-
return e = !0, !1;
|
|
1133
|
-
} };
|
|
1134
|
-
$t() && (window.addEventListener("test", null, t), window.removeEventListener("test", null, t));
|
|
1135
|
-
} catch {}
|
|
1136
|
-
return e;
|
|
1137
|
-
}();
|
|
1138
|
-
function dn(e, t) {
|
|
1139
|
-
let n = tn(e, t), r = n && n.match(/^(\d+)(\.\d+)?px$/);
|
|
1140
|
-
return r ? +r[1] : void 0;
|
|
1141
|
-
}
|
|
1142
|
-
function Q(e, t, n, r) {
|
|
1143
|
-
return {
|
|
1144
|
-
x: e.x + n * (t.x - e.x),
|
|
1145
|
-
y: e.y + n * (t.y - e.y)
|
|
1146
|
-
};
|
|
1147
|
-
}
|
|
1148
|
-
function fn(e, t, n, r) {
|
|
1149
|
-
return {
|
|
1150
|
-
x: e.x + n * (t.x - e.x),
|
|
1151
|
-
y: r === "middle" ? n < .5 ? e.y : t.y : r === "after" ? n < 1 ? e.y : t.y : n > 0 ? t.y : e.y
|
|
1152
|
-
};
|
|
1153
|
-
}
|
|
1154
|
-
function pn(e, t, n, r) {
|
|
1155
|
-
let i = {
|
|
1156
|
-
x: e.cp2x,
|
|
1157
|
-
y: e.cp2y
|
|
1158
|
-
}, a = {
|
|
1159
|
-
x: t.cp1x,
|
|
1160
|
-
y: t.cp1y
|
|
1161
|
-
}, o = Q(e, i, n), s = Q(i, a, n), c = Q(a, t, n);
|
|
1162
|
-
return Q(Q(o, s, n), Q(s, c, n), n);
|
|
1163
|
-
}
|
|
1164
|
-
var mn = function(e, t) {
|
|
1165
|
-
return {
|
|
1166
|
-
x(n) {
|
|
1167
|
-
return e + e + t - n;
|
|
1168
|
-
},
|
|
1169
|
-
setWidth(e) {
|
|
1170
|
-
t = e;
|
|
1171
|
-
},
|
|
1172
|
-
textAlign(e) {
|
|
1173
|
-
return e === "center" ? e : e === "right" ? "left" : "right";
|
|
1174
|
-
},
|
|
1175
|
-
xPlus(e, t) {
|
|
1176
|
-
return e - t;
|
|
1177
|
-
},
|
|
1178
|
-
leftForLtr(e, t) {
|
|
1179
|
-
return e - t;
|
|
1180
|
-
}
|
|
1181
|
-
};
|
|
1182
|
-
}, hn = function() {
|
|
1183
|
-
return {
|
|
1184
|
-
x(e) {
|
|
1185
|
-
return e;
|
|
1186
|
-
},
|
|
1187
|
-
setWidth(e) {},
|
|
1188
|
-
textAlign(e) {
|
|
1189
|
-
return e;
|
|
1190
|
-
},
|
|
1191
|
-
xPlus(e, t) {
|
|
1192
|
-
return e + t;
|
|
1193
|
-
},
|
|
1194
|
-
leftForLtr(e, t) {
|
|
1195
|
-
return e;
|
|
1196
|
-
}
|
|
1197
|
-
};
|
|
1198
|
-
};
|
|
1199
|
-
function gn(e, t, n) {
|
|
1200
|
-
return e ? mn(t, n) : hn();
|
|
1201
|
-
}
|
|
1202
|
-
function _n(e, t) {
|
|
1203
|
-
let n, r;
|
|
1204
|
-
(t === "ltr" || t === "rtl") && (n = e.canvas.style, r = [n.getPropertyValue("direction"), n.getPropertyPriority("direction")], n.setProperty("direction", t, "important"), e.prevTextDirection = r);
|
|
1205
|
-
}
|
|
1206
|
-
function vn(e, t) {
|
|
1207
|
-
t !== void 0 && (delete e.prevTextDirection, e.canvas.style.setProperty("direction", t[0], t[1]));
|
|
1208
|
-
}
|
|
1209
|
-
function yn(e) {
|
|
1210
|
-
return e === "angle" ? {
|
|
1211
|
-
between: be,
|
|
1212
|
-
compare: ye,
|
|
1213
|
-
normalize: M
|
|
1214
|
-
} : {
|
|
1215
|
-
between: Se,
|
|
1216
|
-
compare: (e, t) => e - t,
|
|
1217
|
-
normalize: (e) => e
|
|
1218
|
-
};
|
|
1219
|
-
}
|
|
1220
|
-
function bn({ start: e, end: t, count: n, loop: r, style: i }) {
|
|
1221
|
-
return {
|
|
1222
|
-
start: e % n,
|
|
1223
|
-
end: t % n,
|
|
1224
|
-
loop: r && (t - e + 1) % n === 0,
|
|
1225
|
-
style: i
|
|
1226
|
-
};
|
|
1227
|
-
}
|
|
1228
|
-
function xn(e, t, n) {
|
|
1229
|
-
let { property: r, start: i, end: a } = n, { between: o, normalize: s } = yn(r), c = t.length, { start: l, end: u, loop: d } = e, f, p;
|
|
1230
|
-
if (d) {
|
|
1231
|
-
for (l += c, u += c, f = 0, p = c; f < p && o(s(t[l % c][r]), i, a); ++f) l--, u--;
|
|
1232
|
-
l %= c, u %= c;
|
|
1233
|
-
}
|
|
1234
|
-
return u < l && (u += c), {
|
|
1235
|
-
start: l,
|
|
1236
|
-
end: u,
|
|
1237
|
-
loop: d,
|
|
1238
|
-
style: e.style
|
|
1239
|
-
};
|
|
1240
|
-
}
|
|
1241
|
-
function Sn(e, t, n) {
|
|
1242
|
-
if (!n) return [e];
|
|
1243
|
-
let { property: r, start: i, end: a } = n, o = t.length, { compare: s, between: c, normalize: l } = yn(r), { start: u, end: d, loop: f, style: p } = xn(e, t, n), m = [], h = !1, g = null, _, v, y, ee = () => c(i, y, _) && s(i, y) !== 0, te = () => s(a, _) === 0 || c(a, y, _), ne = () => h || ee(), b = () => !h || te();
|
|
1244
|
-
for (let e = u, n = u; e <= d; ++e) v = t[e % o], !v.skip && (_ = l(v[r]), _ !== y && (h = c(_, i, a), g === null && ne() && (g = s(_, i) === 0 ? e : n), g !== null && b() && (m.push(bn({
|
|
1245
|
-
start: g,
|
|
1246
|
-
end: e,
|
|
1247
|
-
loop: f,
|
|
1248
|
-
count: o,
|
|
1249
|
-
style: p
|
|
1250
|
-
})), g = null), n = e, y = _));
|
|
1251
|
-
return g !== null && m.push(bn({
|
|
1252
|
-
start: g,
|
|
1253
|
-
end: d,
|
|
1254
|
-
loop: f,
|
|
1255
|
-
count: o,
|
|
1256
|
-
style: p
|
|
1257
|
-
})), m;
|
|
1258
|
-
}
|
|
1259
|
-
function Cn(e, t) {
|
|
1260
|
-
let n = [], r = e.segments;
|
|
1261
|
-
for (let i = 0; i < r.length; i++) {
|
|
1262
|
-
let a = Sn(r[i], e.points, t);
|
|
1263
|
-
a.length && n.push(...a);
|
|
1264
|
-
}
|
|
1265
|
-
return n;
|
|
1266
|
-
}
|
|
1267
|
-
function wn(e, t, n, r) {
|
|
1268
|
-
let i = 0, a = t - 1;
|
|
1269
|
-
if (n && !r) for (; i < t && !e[i].skip;) i++;
|
|
1270
|
-
for (; i < t && e[i].skip;) i++;
|
|
1271
|
-
for (i %= t, n && (a += i); a > i && e[a % t].skip;) a--;
|
|
1272
|
-
return a %= t, {
|
|
1273
|
-
start: i,
|
|
1274
|
-
end: a
|
|
1275
|
-
};
|
|
1276
|
-
}
|
|
1277
|
-
function Tn(e, t, n, r) {
|
|
1278
|
-
let i = e.length, a = [], o = t, s = e[t], c;
|
|
1279
|
-
for (c = t + 1; c <= n; ++c) {
|
|
1280
|
-
let n = e[c % i];
|
|
1281
|
-
n.skip || n.stop ? s.skip || (r = !1, a.push({
|
|
1282
|
-
start: t % i,
|
|
1283
|
-
end: (c - 1) % i,
|
|
1284
|
-
loop: r
|
|
1285
|
-
}), t = o = n.stop ? c : null) : (o = c, s.skip && (t = c)), s = n;
|
|
1286
|
-
}
|
|
1287
|
-
return o !== null && a.push({
|
|
1288
|
-
start: t % i,
|
|
1289
|
-
end: o % i,
|
|
1290
|
-
loop: r
|
|
1291
|
-
}), a;
|
|
1292
|
-
}
|
|
1293
|
-
function En(e, t) {
|
|
1294
|
-
let n = e.points, r = e.options.spanGaps, i = n.length;
|
|
1295
|
-
if (!i) return [];
|
|
1296
|
-
let a = !!e._loop, { start: o, end: s } = wn(n, i, a, r);
|
|
1297
|
-
return r === !0 ? Dn(e, [{
|
|
1298
|
-
start: o,
|
|
1299
|
-
end: s,
|
|
1300
|
-
loop: a
|
|
1301
|
-
}], n, t) : Dn(e, Tn(n, o, s < o ? s + i : s, !!e._fullLoop && o === 0 && s === i - 1), n, t);
|
|
1302
|
-
}
|
|
1303
|
-
function Dn(e, t, n, r) {
|
|
1304
|
-
return !r || !r.setContext || !n ? t : On(e, t, n, r);
|
|
1305
|
-
}
|
|
1306
|
-
function On(e, t, n, r) {
|
|
1307
|
-
let i = e._chart.getContext(), a = kn(e.options), { _datasetIndex: o, options: { spanGaps: s } } = e, c = n.length, l = [], u = a, d = t[0].start, f = d;
|
|
1308
|
-
function p(e, t, r, i) {
|
|
1309
|
-
let a = s ? -1 : 1;
|
|
1310
|
-
if (e !== t) {
|
|
1311
|
-
for (e += c; n[e % c].skip;) e -= a;
|
|
1312
|
-
for (; n[t % c].skip;) t += a;
|
|
1313
|
-
e % c !== t % c && (l.push({
|
|
1314
|
-
start: e % c,
|
|
1315
|
-
end: t % c,
|
|
1316
|
-
loop: r,
|
|
1317
|
-
style: i
|
|
1318
|
-
}), u = i, d = t % c);
|
|
1319
|
-
}
|
|
1320
|
-
}
|
|
1321
|
-
for (let e of t) {
|
|
1322
|
-
d = s ? d : e.start;
|
|
1323
|
-
let t = n[d % c], a;
|
|
1324
|
-
for (f = d + 1; f <= e.end; f++) {
|
|
1325
|
-
let s = n[f % c];
|
|
1326
|
-
a = kn(r.setContext(Tt(i, {
|
|
1327
|
-
type: "segment",
|
|
1328
|
-
p0: t,
|
|
1329
|
-
p1: s,
|
|
1330
|
-
p0DataIndex: (f - 1) % c,
|
|
1331
|
-
p1DataIndex: f % c,
|
|
1332
|
-
datasetIndex: o
|
|
1333
|
-
}))), An(a, u) && p(d, f - 1, e.loop, u), t = s, u = a;
|
|
1334
|
-
}
|
|
1335
|
-
d < f - 1 && p(d, f - 1, e.loop, u);
|
|
1336
|
-
}
|
|
1337
|
-
return l;
|
|
1338
|
-
}
|
|
1339
|
-
function kn(e) {
|
|
1340
|
-
return {
|
|
1341
|
-
backgroundColor: e.backgroundColor,
|
|
1342
|
-
borderCapStyle: e.borderCapStyle,
|
|
1343
|
-
borderDash: e.borderDash,
|
|
1344
|
-
borderDashOffset: e.borderDashOffset,
|
|
1345
|
-
borderJoinStyle: e.borderJoinStyle,
|
|
1346
|
-
borderWidth: e.borderWidth,
|
|
1347
|
-
borderColor: e.borderColor
|
|
1348
|
-
};
|
|
1349
|
-
}
|
|
1350
|
-
function An(e, t) {
|
|
1351
|
-
if (!t) return !1;
|
|
1352
|
-
let n = [], r = function(e, t) {
|
|
1353
|
-
return R(t) ? (n.includes(t) || n.push(t), n.indexOf(t)) : t;
|
|
1354
|
-
};
|
|
1355
|
-
return JSON.stringify(e, r) !== JSON.stringify(t, r);
|
|
1356
|
-
}
|
|
1357
|
-
function $(e, t, n) {
|
|
1358
|
-
return e.options.clip ? e[n] : t[n];
|
|
1359
|
-
}
|
|
1360
|
-
function jn(e, t) {
|
|
1361
|
-
let { xScale: n, yScale: r } = e;
|
|
1362
|
-
return n && r ? {
|
|
1363
|
-
left: $(n, t, "left"),
|
|
1364
|
-
right: $(n, t, "right"),
|
|
1365
|
-
top: $(r, t, "top"),
|
|
1366
|
-
bottom: $(r, t, "bottom")
|
|
1367
|
-
} : t;
|
|
1368
|
-
}
|
|
1369
|
-
function Mn(e, t) {
|
|
1370
|
-
let n = t._clip;
|
|
1371
|
-
if (n.disabled) return !1;
|
|
1372
|
-
let r = jn(t, e.chartArea);
|
|
1373
|
-
return {
|
|
1374
|
-
left: n.left === !1 ? 0 : r.left - (n.left === !0 ? 0 : n.left),
|
|
1375
|
-
right: n.right === !1 ? e.width : r.right + (n.right === !0 ? 0 : n.right),
|
|
1376
|
-
top: n.top === !1 ? 0 : r.top - (n.top === !0 ? 0 : n.top),
|
|
1377
|
-
bottom: n.bottom === !1 ? e.height : r.bottom + (n.bottom === !0 ? 0 : n.bottom)
|
|
1378
|
-
};
|
|
1379
|
-
}
|
|
1380
|
-
//#endregion
|
|
1381
|
-
export { E as HALF_PI, C as PI, w as TAU, Ye as Ticks, wt as _addGrace, nt as _alignPixel, Ne as _alignStartEnd, be as _angleBetween, Oe as _arrayUnique, G as _attachContext, lt as _bezierCurveTo, pn as _bezierInterpolation, Sn as _boundSegment, Cn as _boundSegments, x as _capitalize, En as _computeSegments, Et as _createResolver, _e as _decimalPlaces, Dt as _descriptors, p as _elementsEqual, ue as _factorize, we as _filterBetween, en as _getParentNode, Fe as _getStartAndCountOfVisiblePoints, xe as _int16Range, Se as _isBetween, ae as _isClickEvent, $t as _isDomSupported, U as _isPointInArea, N as _limitValue, tt as _longestText, P as _lookup, F as _lookupByKey, H as _measureText, M as _normalizeAngle, Wt as _parseObjectDataRadialScale, Q as _pointInLine, W as _readValueToProps, Ce as _rlookupByKey, Ie as _scaleRangesChanged, me as _setMinAndMaxByKey, fn as _steppedInterpolation, ct as _steppedLineTo, Pe as _textX, Me as _toLeftRightCenter, Qt as _updateBezierControlPoints, mt as addRoundedRectPath, A as almostEquals, pe as almostWhole, d as callback, rt as clearCanvas, ot as clipArea, ze as color, Tt as createContext, je as debounce, $e as defaults, re as defined, Qe as descriptors, j as distanceBetweenPoints, it as drawPoint, at as drawPointLegend, f as each, L as effects, s as finiteOrDefault, Ke as formatNumber, ve as getAngleFromPoint, Mn as getDatasetClipArea, cn as getMaximumSize, on as getRelativePosition, gn as getRtlAdapter, i as isArray, S as isFunction, r as isNullOrUndef, fe as isNumber, o as isNumberFinite, a as isObject, Ee as listenArrayEvents, O as log10, _ as merge, v as mergeIf, le as niceNum, t as noop, _n as overrideTextDirection, Ze as overrides, dn as readUsedSize, pt as renderText, ke as requestAnimFrame, Ct as resolve, b as resolveObjectKey, vn as restoreTextDirection, ln as retinaScale, ie as setsEqual, k as sign, un as supportsEventListenerOptions, Ae as throttled, ge as toDegrees, u as toDimension, St as toFont, xt as toPadding, l as toPercentage, he as toRadians, yt as toTRBL, bt as toTRBLCorners, n as uid, st as unclipArea, De as unlistenArrayEvents, c as valueOrDefault };
|