@logora/debate 0.1.0 → 0.2.0
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/README.md +14 -23
- package/dist/_virtual/_rolldown/runtime.js +23 -0
- package/dist/assets/debate-Bv79XlHp.css +2 -0
- package/dist/components/action/back_link/BackLink.js +24 -0
- package/dist/components/action/back_link/BackLink.module.js +6 -0
- package/dist/components/action/button/Button.js +34 -0
- package/dist/components/action/button/Button.module.js +10 -0
- package/dist/components/action/icon_text_link/IconTextLink.js +37 -0
- package/dist/components/action/icon_text_link/IconTextLink.module.js +11 -0
- package/dist/components/action/link/Link.js +23 -0
- package/dist/components/ad/ad_unit/AdUnit.js +42 -0
- package/dist/components/ad/ad_unit/AdUnit.module.js +3 -0
- package/dist/components/ad/use_google_ad_manager/useGoogleAdManager.js +22 -0
- package/dist/components/ad/with_ad/WithAd.js +13 -0
- package/dist/components/argument/argument/Argument.js +266 -0
- package/dist/components/argument/argument/Argument.module.js +34 -0
- package/dist/components/argument/argument/ReplyFooter.js +39 -0
- package/dist/components/argument/argument/ReplyFooter.module.js +10 -0
- package/dist/components/argument/argument/useRichContent.js +14 -0
- package/dist/components/argument/top_arguments/TopArguments.js +63 -0
- package/dist/components/argument/top_arguments/TopArguments.module.js +9 -0
- package/dist/components/auth/auth_initializer/AuthInitializer.js +35 -0
- package/dist/components/auth/auth_modal/AuthModal.js +68 -0
- package/dist/components/auth/auth_modal/AuthModal.module.js +3 -0
- package/dist/components/auth/auth_modal/index.js +2 -0
- package/dist/components/auth/facebook_login_button/FacebookIcon.js +14 -0
- package/dist/components/auth/facebook_login_button/FacebookLoginButton.js +29 -0
- package/dist/components/auth/facebook_login_button/FacebookLoginButton.module.js +6 -0
- package/dist/components/auth/google_login_button/GoogleIcon.js +29 -0
- package/dist/components/auth/google_login_button/GoogleLoginButton.js +31 -0
- package/dist/components/auth/google_login_button/GoogleLoginButton.module.js +6 -0
- package/dist/components/auth/login_form/LoginForm.js +84 -0
- package/dist/components/auth/login_form/LoginForm.module.js +9 -0
- package/dist/components/auth/oauth2_button/OAuth2Button.js +37 -0
- package/dist/components/auth/oauth2_button/OAuth2Button.module.js +6 -0
- package/dist/components/auth/providers/AuthProvider.js +20 -0
- package/dist/components/auth/providers/AuthProviderFactory.js +10 -0
- package/dist/components/auth/providers/FormAuth.js +29 -0
- package/dist/components/auth/providers/JWTAuth.js +27 -0
- package/dist/components/auth/providers/OAuth2ServerAuth.js +35 -0
- package/dist/components/auth/providers/PasswordAuth.js +25 -0
- package/dist/components/auth/signup_form/SignupForm.js +155 -0
- package/dist/components/auth/signup_form/SignupForm.module.js +7 -0
- package/dist/components/auth/social_auth_form/SocialAuthForm.js +199 -0
- package/dist/components/auth/social_auth_form/SocialAuthForm.module.js +21 -0
- package/dist/components/auth/sso_form/SSOForm.js +147 -0
- package/dist/components/auth/sso_form/SSOForm.module.js +17 -0
- package/dist/components/auth/use_auth/AuthContext.js +5 -0
- package/dist/components/auth/use_auth/AuthProvider.js +25 -0
- package/dist/components/auth/use_auth/AuthStorage.js +29 -0
- package/dist/components/auth/use_auth/authTokenHandler.js +45 -0
- package/dist/components/auth/use_auth/useAuth.js +6 -0
- package/dist/components/auth/use_auth/useAuthActions.js +35 -0
- package/dist/components/auth/use_auth/useAuthInterceptor.js +27 -0
- package/dist/components/chart/line_chart/LineChart.js +101 -0
- package/dist/components/chart/line_chart/LineChart.module.js +9 -0
- package/dist/components/chart/pie_chart/PieChart.js +69 -0
- package/dist/components/chart/pie_chart/PieChart.module.js +3 -0
- package/dist/components/consultation/consultation_box/ConsultationBox.js +123 -0
- package/dist/components/consultation/consultation_box/ConsultationBox.module.js +21 -0
- package/dist/components/data/axios_client/httpClient.js +8 -0
- package/dist/components/data/config_provider/ConfigProvider.js +12 -0
- package/dist/components/data/config_provider/useConfig.js +9 -0
- package/dist/components/data/config_provider/useRoutes.js +9 -0
- package/dist/components/data/config_provider/withConfig.js +10 -0
- package/dist/components/data/data_provider/DataProvider.js +101 -0
- package/dist/components/data/data_provider/DataProviderContext.js +5 -0
- package/dist/components/data/data_provider/useData.js +9 -0
- package/dist/components/data/data_provider/useDataProvider.js +9 -0
- package/dist/components/debate/debate_box/DebateBox.js +156 -0
- package/dist/components/debate/debate_box/DebateBox.module.js +26 -0
- package/dist/components/dialog/announcement_dialog/AnnouncementDialog.js +30 -0
- package/dist/components/dialog/announcement_dialog/AnnouncementDialog.module.js +8 -0
- package/dist/components/dialog/confirm_modal/ConfirmModal.js +38 -0
- package/dist/components/dialog/confirm_modal/ConfirmModal.module.js +8 -0
- package/dist/components/dialog/countdown/Countdown.js +23 -0
- package/dist/components/dialog/dialog_box/DialogBox.js +51 -0
- package/dist/components/dialog/dialog_box/DialogBox.module.js +16 -0
- package/dist/components/dialog/drawer/Drawer.js +127 -0
- package/dist/components/dialog/drawer/Drawer.module.js +17 -0
- package/dist/components/dialog/dropdown/Dropdown.js +29 -0
- package/dist/components/dialog/dropdown/Dropdown.module.js +10 -0
- package/dist/components/dialog/modal/Modal.js +65 -0
- package/dist/components/dialog/modal/Modal.module.js +12 -0
- package/dist/components/dialog/modal/ModalProvider.js +20 -0
- package/dist/components/dialog/modal/useModal.js +6 -0
- package/dist/components/dialog/toast/Toast.js +41 -0
- package/dist/components/dialog/toast/Toast.module.js +14 -0
- package/dist/components/dialog/toast_provider/ToastContext.js +5 -0
- package/dist/components/dialog/toast_provider/ToastProvider.js +29 -0
- package/dist/components/dialog/toast_provider/ToastProvider.module.js +3 -0
- package/dist/components/dialog/toast_provider/useToast.js +12 -0
- package/dist/components/dialog/tooltip/Tooltip.js +32 -0
- package/dist/components/dialog/tooltip/Tooltip.module.js +12 -0
- package/dist/components/embed/embed_header/EmbedHeader.js +72 -0
- package/dist/components/embed/embed_header/EmbedHeader.module.js +18 -0
- package/dist/components/error/standard_error_boundary/StandardErrorBoundary.js +18 -0
- package/dist/components/error/standard_error_boundary/StandardErrorBoundary.module.js +3 -0
- package/dist/components/follow/follow_button/FollowButton.js +49 -0
- package/dist/components/follow/follow_button/FollowButton.module.js +6 -0
- package/dist/components/follow/use_follow/useFollow.js +36 -0
- package/dist/components/forms/form/extract-form-data.js +12 -0
- package/dist/components/forms/form/form-context.js +5 -0
- package/dist/components/forms/form/form.js +28 -0
- package/dist/components/forms/form/use-form-context.js +32 -0
- package/dist/components/forms/form/use-form.js +6 -0
- package/dist/components/forms/use_form_validation/useFormValidation.js +45 -0
- package/dist/components/gamification/badge_box/BadgeBox.js +94 -0
- package/dist/components/gamification/badge_box/BadgeBox.module.js +19 -0
- package/dist/components/gamification/point_box/PointBox.js +19 -0
- package/dist/components/gamification/point_box/PointBox.module.js +7 -0
- package/dist/components/hooks/use_auth_required/useAuthRequired.js +16 -0
- package/dist/components/hooks/use_css_theme/useCssTheme.js +16 -0
- package/dist/components/hooks/use_font_loader/useFontLoader.js +8 -0
- package/dist/components/hooks/use_matomo/useMatomo.js +10 -0
- package/dist/components/hooks/use_relative_time/useRelativeTime.js +53 -0
- package/dist/components/hooks/use_responsive/ResponsiveContext.js +5 -0
- package/dist/components/hooks/use_responsive/ResponsiveProvider.js +33 -0
- package/dist/components/hooks/use_responsive/useResponsive.js +14 -0
- package/dist/components/icons/icon/Icon.js +20 -0
- package/dist/components/icons/icon_provider/IconProvider.js +9 -0
- package/dist/components/icons/krone_icons/CheckBox.js +17 -0
- package/dist/components/input/argument_input/ArgumentInput.js +286 -0
- package/dist/components/input/argument_input/ArgumentInput.module.js +23 -0
- package/dist/components/input/argument_input/index.js +2 -0
- package/dist/components/input/checkbox/hidden/hidden-checkbox.js +16 -0
- package/dist/components/input/checkbox/hidden/hidden-checkbox.module.js +3 -0
- package/dist/components/input/checkbox/indicator/checkbox-indicator.js +19 -0
- package/dist/components/input/checkbox/indicator/checkbox-indicator.module.js +6 -0
- package/dist/components/input/checkbox/label/checkbox-label.js +27 -0
- package/dist/components/input/input_provider/InputProvider.js +21 -0
- package/dist/components/input/input_provider/useInput.js +6 -0
- package/dist/components/input/search_input/SearchInput.js +74 -0
- package/dist/components/input/search_input/SearchInput.module.js +8 -0
- package/dist/components/input/select/Select.js +76 -0
- package/dist/components/input/select/Select.module.js +12 -0
- package/dist/components/input/text_editor/EditorTheme.js +69 -0
- package/dist/components/input/text_editor/TextEditor.js +147 -0
- package/dist/components/input/text_editor/TextEditor.module.js +24 -0
- package/dist/components/input/text_editor/lexicalToHtml.js +22 -0
- package/dist/components/input/text_editor/plugins/AutoSavePlugin.js +25 -0
- package/dist/components/input/text_editor/plugins/FocusPlugin.js +14 -0
- package/dist/components/input/text_editor/plugins/MaxLengthPlugin.js +23 -0
- package/dist/components/input/text_editor/plugins/ResetPlugin.js +18 -0
- package/dist/components/input/text_editor/plugins/SetContentPlugin.js +18 -0
- package/dist/components/input/text_editor/plugins/SetRichContentPlugin.js +15 -0
- package/dist/components/input/text_editor/plugins/ToolbarPlugin.js +170 -0
- package/dist/components/input/text_editor/plugins/ToolbarPlugin.module.js +17 -0
- package/dist/components/input/text_input/TextInput.js +36 -0
- package/dist/components/input/text_input/TextInput.module.js +12 -0
- package/dist/components/input/text_input/color-accent.js +12 -0
- package/dist/components/input/text_input/message.js +16 -0
- package/dist/components/input/toggle/Toggle.js +28 -0
- package/dist/components/input/toggle/Toggle.module.js +9 -0
- package/dist/components/input/toggle_position/TogglePosition.js +48 -0
- package/dist/components/input/toggle_position/TogglePosition.module.js +10 -0
- package/dist/components/intl/intl_provider/IntlContext.js +5 -0
- package/dist/components/intl/intl_provider/IntlProvider.js +38 -0
- package/dist/components/intl/intl_provider/useLocale.js +12 -0
- package/dist/components/list/list_provider/ListProvider.js +45 -0
- package/dist/components/list/list_provider/useList.js +22 -0
- package/dist/components/list/paginated_list/PaginatedList.js +178 -0
- package/dist/components/list/paginated_list/PaginatedList.module.js +18 -0
- package/dist/components/list/paginated_list/VotePaginatedList.js +20 -0
- package/dist/components/list/paginated_list/action_bar/ActionBar.js +75 -0
- package/dist/components/list/paginated_list/action_bar/ActionBar.module.js +13 -0
- package/dist/components/list/pagination/Pagination.js +27 -0
- package/dist/components/list/pagination/Pagination.module.js +3 -0
- package/dist/components/modal/side_modal/SideModal.js +60 -0
- package/dist/components/modal/side_modal/SideModal.module.js +11 -0
- package/dist/components/modal/side_modal/index.js +2 -0
- package/dist/components/navbar/navbar_button/NavbarButton.js +29 -0
- package/dist/components/navbar/navbar_button/NavbarButton.module.js +6 -0
- package/dist/components/navbar/navbar_modal/NavbarModal.js +157 -0
- package/dist/components/navbar/navbar_modal/NavbarModal.module.js +16 -0
- package/dist/components/notification/notification_item/NotificationItem.js +50 -0
- package/dist/components/notification/notification_item/NotificationItem.module.js +10 -0
- package/dist/components/notification/notification_menu/NotificationMenu.js +53 -0
- package/dist/components/notification/notification_menu/NotificationMenu.module.js +8 -0
- package/dist/components/progress/loader/Loader.js +13 -0
- package/dist/components/progress/loader/Loader.module.js +7 -0
- package/dist/components/progress/progress_bar/ProgressBar.js +59 -0
- package/dist/components/progress/progress_bar/ProgressBar.module.js +14 -0
- package/dist/components/proposal/proposal_box/ProposalBox.js +108 -0
- package/dist/components/proposal/proposal_box/ProposalBox.module.js +11 -0
- package/dist/components/report/report_box/ReportBox.js +102 -0
- package/dist/components/report/report_box/ReportBox.module.js +11 -0
- package/dist/components/section/section_box/SectionBox.js +40 -0
- package/dist/components/section/section_box/SectionBox.module.js +14 -0
- package/dist/components/share/share_box/ShareBox.js +132 -0
- package/dist/components/share/share_box/ShareBox.module.js +10 -0
- package/dist/components/share/share_button/ShareButton.js +73 -0
- package/dist/components/share/share_button/ShareButton.module.js +9 -0
- package/dist/components/share/share_modal/ShareModal.js +28 -0
- package/dist/components/share/share_modal/ShareModal.module.js +3 -0
- package/dist/components/share/share_modal/index.js +2 -0
- package/dist/components/skeleton/box_skeleton/BoxSkeleton.js +63 -0
- package/dist/components/skeleton/user_content_skeleton/UserContentSkeleton.js +57 -0
- package/dist/components/skeleton/user_content_skeleton/UserContentSkeleton.module.js +13 -0
- package/dist/components/source/context_source_box/ContextSourceBox.js +45 -0
- package/dist/components/source/context_source_box/ContextSourceBox.module.js +10 -0
- package/dist/components/source/context_source_list/ContextSourceList.js +43 -0
- package/dist/components/source/context_source_list/ContextSourceList.module.js +10 -0
- package/dist/components/source/source_box/SourceBox.js +39 -0
- package/dist/components/source/source_box/SourceBox.module.js +11 -0
- package/dist/components/source/source_list_item/SourceListItem.js +32 -0
- package/dist/components/source/source_list_item/SourceListItem.module.js +6 -0
- package/dist/components/source/source_modal/SourceModal.js +110 -0
- package/dist/components/source/source_modal/SourceModal.module.js +11 -0
- package/dist/components/suggestion/suggestion_banner/SuggestionBanner.js +99 -0
- package/dist/components/suggestion/suggestion_banner/SuggestionBanner.module.js +13 -0
- package/dist/components/suggestion/suggestion_box/SuggestionBox.js +97 -0
- package/dist/components/suggestion/suggestion_box/SuggestionBox.module.js +13 -0
- package/dist/components/suggestion/suggestion_input/SuggestionInput.js +157 -0
- package/dist/components/suggestion/suggestion_input/SuggestionInput.module.js +11 -0
- package/dist/components/summary/argument_summary_box/ArgumentSummaryBox.js +62 -0
- package/dist/components/summary/argument_summary_box/ArgumentSummaryBox.module.js +13 -0
- package/dist/components/summary/keyword_box/KeywordBox.js +38 -0
- package/dist/components/summary/keyword_box/KeywordBox.module.js +11 -0
- package/dist/components/summary/summary/Summary.js +73 -0
- package/dist/components/summary/summary/Summary.module.js +6 -0
- package/dist/components/summary/summary_box/SummaryBox.js +22 -0
- package/dist/components/summary/summary_box/SummaryBox.module.js +10 -0
- package/dist/components/tag/tag/Tag.js +19 -0
- package/dist/components/tag/tag/Tag.module.js +6 -0
- package/dist/components/text/expandable_text/ArrowIcon.js +11 -0
- package/dist/components/text/expandable_text/ExpandableText.js +53 -0
- package/dist/components/text/expandable_text/ExpandableText.module.js +10 -0
- package/dist/components/text/read_more/ReadMore.js +63 -0
- package/dist/components/text/read_more/ReadMore.module.js +11 -0
- package/dist/components/tools/hash_scroll/HashScroll.js +18 -0
- package/dist/components/tools/scroll_to_top/ScrollToTop.js +15 -0
- package/dist/components/translation/translated_content/TranslatedContent.js +7 -0
- package/dist/components/translation/translated_content/useTranslatedContent.js +26 -0
- package/dist/components/translation/translation_button/TranslationButton.js +35 -0
- package/dist/components/translation/translation_button/TranslationButton.module.js +3 -0
- package/dist/components/user/author_box/AuthorBox.js +114 -0
- package/dist/components/user/author_box/AuthorBox.module.js +18 -0
- package/dist/components/user/avatar/Avatar.js +54 -0
- package/dist/components/user/avatar/Avatar.module.js +8 -0
- package/dist/components/user/avatar/DefaultAvatar.js +17 -0
- package/dist/components/user/avatar_selector/AvatarSelector.js +108 -0
- package/dist/components/user/avatar_selector/AvatarSelector.module.js +18 -0
- package/dist/components/user/update_user_info_modal/UpdateUserInfoModal.js +251 -0
- package/dist/components/user/update_user_info_modal/UpdateUserInfoModal.module.js +23 -0
- package/dist/components/user/update_user_info_modal/useUpdateUserInfo.js +26 -0
- package/dist/components/user/user_box/UserBox.js +82 -0
- package/dist/components/user/user_box/UserBox.module.js +13 -0
- package/dist/components/user/user_box_small/UserBoxSmall.js +44 -0
- package/dist/components/user/user_box_small/UserBoxSmall.module.js +6 -0
- package/dist/components/user_content/content_footer/ContentFooter.js +172 -0
- package/dist/components/user_content/content_footer/ContentFooter.module.js +11 -0
- package/dist/components/user_content/content_header/ContentHeader.js +121 -0
- package/dist/components/user_content/content_header/ContentHeader.module.js +16 -0
- package/dist/components/user_content/summary_content_box/SummaryContentBox.js +72 -0
- package/dist/components/user_content/summary_content_box/SummaryContentBox.module.js +10 -0
- package/dist/components/user_content/use_delete_content/useDeleteContent.js +46 -0
- package/dist/components/user_content/use_report_content/ReportModal.js +266 -0
- package/dist/components/user_content/use_report_content/ReportModal.module.js +15 -0
- package/dist/components/user_content/use_report_content/useReportContent.js +24 -0
- package/dist/components/util/lang_emojis/langEmojis.js +57 -0
- package/dist/components/util/location/Location.js +41 -0
- package/dist/components/util/unique_by/uniqueBy.js +7 -0
- package/dist/components/vote/suggestion_vote_box/SuggestionVoteBox.js +81 -0
- package/dist/components/vote/suggestion_vote_box/SuggestionVoteBox.module.js +6 -0
- package/dist/components/vote/up_down_vote_box/UpDownVoteBox.js +56 -0
- package/dist/components/vote/up_down_vote_box/UpDownVoteBox.module.js +10 -0
- package/dist/components/vote/use_vote/useVote.js +62 -0
- package/dist/components/vote/vote_box/VoteBox.js +297 -0
- package/dist/components/vote/vote_box/VoteBox.module.js +31 -0
- package/dist/components/vote/vote_button/VoteButton.js +40 -0
- package/dist/components/vote/vote_button/VoteButton.module.js +7 -0
- package/dist/components/vote/vote_provider/VoteProvider.js +40 -0
- package/dist/index.js +146 -0
- package/dist/node_modules/.pnpm/@formatjs_fast-memoize@2.2.7/node_modules/@formatjs/fast-memoize/lib/index.js +51 -0
- package/dist/node_modules/.pnpm/@formatjs_icu-messageformat-parser@2.11.4/node_modules/@formatjs/icu-messageformat-parser/lib/date-time-pattern-generator.js +28 -0
- package/dist/node_modules/.pnpm/@formatjs_icu-messageformat-parser@2.11.4/node_modules/@formatjs/icu-messageformat-parser/lib/error.js +7 -0
- package/dist/node_modules/.pnpm/@formatjs_icu-messageformat-parser@2.11.4/node_modules/@formatjs/icu-messageformat-parser/lib/index.js +26 -0
- package/dist/node_modules/.pnpm/@formatjs_icu-messageformat-parser@2.11.4/node_modules/@formatjs/icu-messageformat-parser/lib/manipulator.js +1 -0
- package/dist/node_modules/.pnpm/@formatjs_icu-messageformat-parser@2.11.4/node_modules/@formatjs/icu-messageformat-parser/lib/parser.js +499 -0
- package/dist/node_modules/.pnpm/@formatjs_icu-messageformat-parser@2.11.4/node_modules/@formatjs/icu-messageformat-parser/lib/regex.generated.js +4 -0
- package/dist/node_modules/.pnpm/@formatjs_icu-messageformat-parser@2.11.4/node_modules/@formatjs/icu-messageformat-parser/lib/time-data.generated.js +1159 -0
- package/dist/node_modules/.pnpm/@formatjs_icu-messageformat-parser@2.11.4/node_modules/@formatjs/icu-messageformat-parser/lib/types.js +44 -0
- package/dist/node_modules/.pnpm/@formatjs_icu-skeleton-parser@1.8.16/node_modules/@formatjs/icu-skeleton-parser/lib/date-time.js +101 -0
- package/dist/node_modules/.pnpm/@formatjs_icu-skeleton-parser@1.8.16/node_modules/@formatjs/icu-skeleton-parser/lib/number.js +182 -0
- package/dist/node_modules/.pnpm/@formatjs_icu-skeleton-parser@1.8.16/node_modules/@formatjs/icu-skeleton-parser/lib/regex.generated.js +4 -0
- package/dist/node_modules/.pnpm/@formatjs_intl@3.1.8_typescript@5.9.3/node_modules/@formatjs/intl/lib/src/create-intl.js +39 -0
- package/dist/node_modules/.pnpm/@formatjs_intl@3.1.8_typescript@5.9.3/node_modules/@formatjs/intl/lib/src/dateTime.js +80 -0
- package/dist/node_modules/.pnpm/@formatjs_intl@3.1.8_typescript@5.9.3/node_modules/@formatjs/intl/lib/src/displayName.js +22 -0
- package/dist/node_modules/.pnpm/@formatjs_intl@3.1.8_typescript@5.9.3/node_modules/@formatjs/intl/lib/src/error.js +66 -0
- package/dist/node_modules/.pnpm/@formatjs_intl@3.1.8_typescript@5.9.3/node_modules/@formatjs/intl/lib/src/list.js +39 -0
- package/dist/node_modules/.pnpm/@formatjs_intl@3.1.8_typescript@5.9.3/node_modules/@formatjs/intl/lib/src/message.js +59 -0
- package/dist/node_modules/.pnpm/@formatjs_intl@3.1.8_typescript@5.9.3/node_modules/@formatjs/intl/lib/src/number.js +53 -0
- package/dist/node_modules/.pnpm/@formatjs_intl@3.1.8_typescript@5.9.3/node_modules/@formatjs/intl/lib/src/plural.js +18 -0
- package/dist/node_modules/.pnpm/@formatjs_intl@3.1.8_typescript@5.9.3/node_modules/@formatjs/intl/lib/src/relativeTime.js +22 -0
- package/dist/node_modules/.pnpm/@formatjs_intl@3.1.8_typescript@5.9.3/node_modules/@formatjs/intl/lib/src/utils.js +115 -0
- package/dist/node_modules/.pnpm/@kurkle_color@0.3.4/node_modules/@kurkle/color/dist/color.esm.js +470 -0
- package/dist/node_modules/.pnpm/@lexical_clipboard@0.38.2/node_modules/@lexical/clipboard/LexicalClipboard.prod.js +163 -0
- package/dist/node_modules/.pnpm/@lexical_dragon@0.38.2/node_modules/@lexical/dragon/LexicalDragon.prod.js +51 -0
- package/dist/node_modules/.pnpm/@lexical_extension@0.38.2/node_modules/@lexical/extension/LexicalExtension.prod.js +796 -0
- package/dist/node_modules/.pnpm/@lexical_headless@0.38.2/node_modules/@lexical/headless/LexicalHeadless.prod.js +21 -0
- package/dist/node_modules/.pnpm/@lexical_history@0.38.2/node_modules/@lexical/history/LexicalHistory.prod.js +132 -0
- package/dist/node_modules/.pnpm/@lexical_html@0.38.2/node_modules/@lexical/html/LexicalHtml.prod.js +88 -0
- package/dist/node_modules/.pnpm/@lexical_list@0.38.2/node_modules/@lexical/list/LexicalList.prod.js +737 -0
- package/dist/node_modules/.pnpm/@lexical_overflow@0.38.2/node_modules/@lexical/overflow/LexicalOverflow.prod.js +37 -0
- 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 +136 -0
- 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 +53 -0
- 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 +20 -0
- 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 +85 -0
- 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 +11 -0
- 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 +20 -0
- 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 +17 -0
- 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 +16 -0
- 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 +20 -0
- 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 +5 -0
- 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 +96 -0
- 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 +23 -0
- package/dist/node_modules/.pnpm/@lexical_rich-text@0.38.2/node_modules/@lexical/rich-text/LexicalRichText.prod.js +418 -0
- package/dist/node_modules/.pnpm/@lexical_selection@0.38.2/node_modules/@lexical/selection/LexicalSelection.prod.js +170 -0
- package/dist/node_modules/.pnpm/@lexical_text@0.38.2/node_modules/@lexical/text/LexicalText.prod.js +33 -0
- package/dist/node_modules/.pnpm/@lexical_utils@0.38.2/node_modules/@lexical/utils/LexicalUtils.prod.js +112 -0
- 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 +50 -0
- package/dist/node_modules/.pnpm/@rooks_use-previous@4.11.2/node_modules/@rooks/use-previous/lib/index.esm.js +10 -0
- 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 +50 -0
- 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 +11 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/adapters/adapters.js +41 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/adapters/fetch.js +128 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/adapters/xhr.js +59 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/axios.js +30 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/cancel/CancelToken.js +59 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/cancel/CanceledError.js +9 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/cancel/isCancel.js +6 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/core/Axios.js +131 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/core/AxiosError.js +34 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/core/AxiosHeaders.js +171 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/core/InterceptorManager.js +28 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/core/buildFullPath.js +9 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/core/dispatchRequest.js +23 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/core/mergeConfig.js +67 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/core/settle.js +8 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/core/transformData.js +12 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/defaults/index.js +81 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/defaults/transitional.js +9 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/env/data.js +4 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/AxiosURLSearchParams.js +32 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/HttpStatusCode.js +77 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/bind.js +8 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/buildURL.js +17 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/combineURLs.js +6 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/composeSignals.js +27 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/cookies.js +26 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/formDataToJSON.js +27 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/isAbsoluteURL.js +6 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/isAxiosError.js +7 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/isURLSameOrigin.js +5 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/parseHeaders.js +28 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/parseProtocol.js +7 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/progressEventReducer.js +30 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/resolveConfig.js +28 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/speedometer.js +16 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/spread.js +8 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/throttle.js +14 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/toFormData.js +67 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/toURLEncodedForm.js +14 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/trackStream.js +51 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/validator.js +47 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/platform/browser/classes/Blob.js +4 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/platform/browser/classes/FormData.js +4 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js +5 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/platform/browser/index.js +22 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/platform/common/utils.js +15 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/platform/index.js +9 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/utils.js +235 -0
- package/dist/node_modules/.pnpm/chart.js@4.5.1/node_modules/chart.js/auto/auto.js +5 -0
- package/dist/node_modules/.pnpm/chart.js@4.5.1/node_modules/chart.js/dist/chart.js +6301 -0
- package/dist/node_modules/.pnpm/chart.js@4.5.1/node_modules/chart.js/dist/chunks/helpers.dataset.js +1381 -0
- 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 +354 -0
- package/dist/node_modules/.pnpm/classnames@2.5.1/node_modules/classnames/index.js +32 -0
- package/dist/node_modules/.pnpm/copy-to-clipboard@3.3.3/node_modules/copy-to-clipboard/index.js +43 -0
- package/dist/node_modules/.pnpm/dompurify@3.3.3/node_modules/dompurify/dist/purify.es.js +549 -0
- package/dist/node_modules/.pnpm/flat@5.0.2/node_modules/flat/index.js +59 -0
- package/dist/node_modules/.pnpm/goober@2.1.18_csstype@3.2.3/node_modules/goober/dist/goober.modern.js +75 -0
- 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 +68 -0
- package/dist/node_modules/.pnpm/intl-messageformat@10.7.18/node_modules/intl-messageformat/lib/src/core.js +154 -0
- package/dist/node_modules/.pnpm/intl-messageformat@10.7.18/node_modules/intl-messageformat/lib/src/error.js +36 -0
- package/dist/node_modules/.pnpm/intl-messageformat@10.7.18/node_modules/intl-messageformat/lib/src/formatters.js +107 -0
- package/dist/node_modules/.pnpm/lexical@0.38.2/node_modules/lexical/Lexical.prod.js +5093 -0
- package/dist/node_modules/.pnpm/path-to-regexp@6.3.0/node_modules/path-to-regexp/dist.es2015/index.js +198 -0
- 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 +76 -0
- 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 +160 -0
- 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 +10 -0
- 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 +58 -0
- 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 +494 -0
- 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 +13 -0
- 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 +35 -0
- 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 +39 -0
- 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 +9 -0
- 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 +22 -0
- 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 +45 -0
- 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 +10 -0
- 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 +33 -0
- package/dist/node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/cjs/react-is.development.js +82 -0
- package/dist/node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/cjs/react-is.production.min.js +62 -0
- package/dist/node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/index.js +10 -0
- package/dist/node_modules/.pnpm/react-loading-skeleton@3.5.0_react@18.3.1/node_modules/react-loading-skeleton/dist/index.js +49 -0
- package/dist/node_modules/.pnpm/react-modern-drawer@1.4.0_react@18.3.1/node_modules/react-modern-drawer/dist/index.modern.js +84 -0
- 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 +106 -0
- package/dist/node_modules/.pnpm/react@18.3.1/node_modules/react/cjs/react-jsx-runtime.development.js +453 -0
- package/dist/node_modules/.pnpm/react@18.3.1/node_modules/react/cjs/react-jsx-runtime.production.min.js +27 -0
- package/dist/node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js +10 -0
- package/dist/node_modules/.pnpm/toggle-selection@1.0.6/node_modules/toggle-selection/index.js +26 -0
- package/dist/node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/tslib.es6.js +34 -0
- package/dist/node_modules/.pnpm/use-debounce@10.1.1_react@18.3.1/node_modules/use-debounce/dist/index.module.js +70 -0
- 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 +5 -0
- 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 +11 -0
- 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 +26 -0
- package/dist/node_modules/.pnpm/webfontloader@1.6.28/node_modules/webfontloader/webfontloader.js +482 -0
- package/package.json +13 -7
- package/.changeset/config.json +0 -11
- package/.eslintrc.js +0 -12
- package/.github/dependabot.yml +0 -7
- package/.github/workflows/master.yml +0 -121
- package/.storybook/main.mjs +0 -47
- package/.storybook/preview.js +0 -11
- package/src/components/action/back_link/BackLink.docs.mdx +0 -25
- package/src/components/action/back_link/BackLink.jsx +0 -30
- package/src/components/action/back_link/BackLink.module.scss +0 -34
- package/src/components/action/back_link/BackLink.stories.jsx +0 -28
- package/src/components/action/back_link/BackLink.test.jsx +0 -105
- package/src/components/action/back_link/index.js +0 -1
- package/src/components/action/button/Button.docs.mdx +0 -43
- package/src/components/action/button/Button.examples.jsx +0 -60
- package/src/components/action/button/Button.jsx +0 -88
- package/src/components/action/button/Button.module.scss +0 -133
- package/src/components/action/button/Button.stories.jsx +0 -54
- package/src/components/action/button/Button.test.jsx +0 -54
- package/src/components/action/button/index.js +0 -1
- package/src/components/action/icon_text_link/HomeIcon.dev.jsx +0 -9
- package/src/components/action/icon_text_link/IconTextLink.docs.mdx +0 -37
- package/src/components/action/icon_text_link/IconTextLink.jsx +0 -57
- package/src/components/action/icon_text_link/IconTextLink.module.scss +0 -67
- package/src/components/action/icon_text_link/IconTextLink.stories.jsx +0 -44
- package/src/components/action/icon_text_link/IconTextLink.test.jsx +0 -134
- package/src/components/action/icon_text_link/index.js +0 -1
- package/src/components/action/link/Link.docs.mdx +0 -23
- package/src/components/action/link/Link.jsx +0 -50
- package/src/components/action/link/Link.stories.jsx +0 -43
- package/src/components/action/link/Link.test.jsx +0 -91
- package/src/components/action/link/index.js +0 -1
- package/src/components/ad/ad_unit/AdUnit.docs.mdx +0 -23
- package/src/components/ad/ad_unit/AdUnit.jsx +0 -75
- package/src/components/ad/ad_unit/AdUnit.module.scss +0 -9
- package/src/components/ad/ad_unit/AdUnit.stories.jsx +0 -30
- package/src/components/ad/ad_unit/AdUnit.test.jsx +0 -63
- package/src/components/ad/ad_unit/index.js +0 -1
- package/src/components/ad/use_google_ad_manager/index.js +0 -1
- package/src/components/ad/use_google_ad_manager/useGoogleAdManager.docs.mdx +0 -27
- package/src/components/ad/use_google_ad_manager/useGoogleAdManager.jsx +0 -37
- package/src/components/ad/use_google_ad_manager/useGoogleAdManager.test.jsx +0 -47
- package/src/components/ad/with_ad/WithAd.docs.mdx +0 -30
- package/src/components/ad/with_ad/WithAd.jsx +0 -51
- package/src/components/ad/with_ad/WithAd.test.jsx +0 -104
- package/src/components/ad/with_ad/index.js +0 -1
- package/src/components/argument/argument/Argument.docs.mdx +0 -60
- package/src/components/argument/argument/Argument.jsx +0 -358
- package/src/components/argument/argument/Argument.module.scss +0 -233
- package/src/components/argument/argument/Argument.stories.jsx +0 -232
- package/src/components/argument/argument/Argument.test.jsx +0 -303
- package/src/components/argument/argument/ReplyFooter.jsx +0 -47
- package/src/components/argument/argument/ReplyFooter.module.scss +0 -77
- package/src/components/argument/argument/index.js +0 -2
- package/src/components/argument/argument/useRichContent.jsx +0 -18
- package/src/components/argument/top_arguments/TopArguments.docs.mdx +0 -22
- package/src/components/argument/top_arguments/TopArguments.jsx +0 -90
- package/src/components/argument/top_arguments/TopArguments.module.scss +0 -37
- package/src/components/argument/top_arguments/TopArguments.stories.jsx +0 -156
- package/src/components/argument/top_arguments/TopArguments.test.jsx +0 -67
- package/src/components/argument/top_arguments/index.js +0 -1
- package/src/components/auth/auth_initializer/AuthInitializer.alltest.js +0 -21
- package/src/components/auth/auth_initializer/AuthInitializer.docs.mdx +0 -34
- package/src/components/auth/auth_initializer/AuthInitializer.jsx +0 -61
- package/src/components/auth/auth_initializer/index.js +0 -1
- package/src/components/auth/auth_modal/AuthModal.alltest.js +0 -30
- package/src/components/auth/auth_modal/AuthModal.docs.mdx +0 -26
- package/src/components/auth/auth_modal/AuthModal.jsx +0 -99
- package/src/components/auth/auth_modal/AuthModal.module.scss +0 -9
- package/src/components/auth/auth_modal/AuthModal.stories.jsx +0 -90
- package/src/components/auth/auth_modal/index.js +0 -1
- package/src/components/auth/facebook_login_button/FacebookIcon.jsx +0 -7
- package/src/components/auth/facebook_login_button/FacebookLoginButton.docs.mdx +0 -34
- package/src/components/auth/facebook_login_button/FacebookLoginButton.jsx +0 -25
- package/src/components/auth/facebook_login_button/FacebookLoginButton.module.scss +0 -32
- package/src/components/auth/facebook_login_button/FacebookLoginButton.stories.jsx +0 -35
- package/src/components/auth/facebook_login_button/FacebookLoginButton.test.jsx +0 -68
- package/src/components/auth/facebook_login_button/index.js +0 -1
- package/src/components/auth/google_login_button/GoogleIcon.jsx +0 -10
- package/src/components/auth/google_login_button/GoogleLoginButton.docs.mdx +0 -43
- package/src/components/auth/google_login_button/GoogleLoginButton.jsx +0 -27
- package/src/components/auth/google_login_button/GoogleLoginButton.module.scss +0 -28
- package/src/components/auth/google_login_button/GoogleLoginButton.stories.jsx +0 -35
- package/src/components/auth/google_login_button/GoogleLoginButton.test.jsx +0 -69
- package/src/components/auth/google_login_button/index.js +0 -1
- package/src/components/auth/login_form/LoginForm.docs.mdx +0 -24
- package/src/components/auth/login_form/LoginForm.jsx +0 -65
- package/src/components/auth/login_form/LoginForm.module.scss +0 -36
- package/src/components/auth/login_form/LoginForm.stories.jsx +0 -42
- package/src/components/auth/login_form/LoginForm.test.jsx +0 -94
- package/src/components/auth/login_form/index.js +0 -1
- package/src/components/auth/oauth2_button/OAuth2Button.docs.mdx +0 -32
- package/src/components/auth/oauth2_button/OAuth2Button.jsx +0 -79
- package/src/components/auth/oauth2_button/OAuth2Button.module.scss +0 -10
- package/src/components/auth/oauth2_button/OAuth2Button.stories.jsx +0 -48
- package/src/components/auth/oauth2_button/OAuth2Button.test.jsx +0 -306
- package/src/components/auth/oauth2_button/index.js +0 -1
- package/src/components/auth/providers/AuthProvider.docs.mdx +0 -35
- package/src/components/auth/providers/AuthProvider.js +0 -23
- package/src/components/auth/providers/AuthProviderFactory.js +0 -20
- package/src/components/auth/providers/FormAuth.js +0 -36
- package/src/components/auth/providers/JWTAuth.js +0 -35
- package/src/components/auth/providers/OAuth2ServerAuth.js +0 -47
- package/src/components/auth/providers/PasswordAuth.js +0 -31
- package/src/components/auth/providers/index.js +0 -1
- package/src/components/auth/providers/tests/AuthProviderFactory.test.jsx +0 -53
- package/src/components/auth/providers/tests/FormAuth.test.jsx +0 -45
- package/src/components/auth/providers/tests/JWTAuth.test.jsx +0 -57
- package/src/components/auth/providers/tests/OAuth2ServerAuth.test.jsx +0 -78
- package/src/components/auth/providers/tests/PasswordAuth.test.jsx +0 -43
- package/src/components/auth/signup_form/SignupForm.docs.mdx +0 -29
- package/src/components/auth/signup_form/SignupForm.jsx +0 -125
- package/src/components/auth/signup_form/SignupForm.module.scss +0 -21
- package/src/components/auth/signup_form/SignupForm.stories.jsx +0 -40
- package/src/components/auth/signup_form/SignupForm.test.jsx +0 -144
- package/src/components/auth/signup_form/index.js +0 -1
- package/src/components/auth/social_auth_form/SocialAuthForm.docs.mdx +0 -33
- package/src/components/auth/social_auth_form/SocialAuthForm.jsx +0 -170
- package/src/components/auth/social_auth_form/SocialAuthForm.module.scss +0 -141
- package/src/components/auth/social_auth_form/SocialAuthForm.stories.jsx +0 -82
- package/src/components/auth/social_auth_form/SocialAuthForm.test.jsx +0 -201
- package/src/components/auth/social_auth_form/index.js +0 -1
- package/src/components/auth/sso_form/SSOForm.docs.mdx +0 -39
- package/src/components/auth/sso_form/SSOForm.jsx +0 -243
- package/src/components/auth/sso_form/SSOForm.module.scss +0 -99
- package/src/components/auth/sso_form/SSOForm.stories.jsx +0 -117
- package/src/components/auth/sso_form/SSOForm.test.jsx +0 -83
- package/src/components/auth/sso_form/index.js +0 -1
- package/src/components/auth/use_auth/AuthContext.js +0 -3
- package/src/components/auth/use_auth/AuthProvider.jsx +0 -21
- package/src/components/auth/use_auth/AuthProvider.test.jsx +0 -26
- package/src/components/auth/use_auth/AuthStorage.js +0 -33
- package/src/components/auth/use_auth/AuthStorage.test.jsx +0 -165
- package/src/components/auth/use_auth/authTokenHandler.js +0 -67
- package/src/components/auth/use_auth/authTokenHandler.test.jsx +0 -117
- package/src/components/auth/use_auth/index.js +0 -7
- package/src/components/auth/use_auth/useAuth.docs.mdx +0 -34
- package/src/components/auth/use_auth/useAuth.js +0 -8
- package/src/components/auth/use_auth/useAuthActions.js +0 -77
- package/src/components/auth/use_auth/useAuthInterceptor.jsx +0 -42
- package/src/components/chart/line_chart/LineChart.docs.mdx +0 -34
- package/src/components/chart/line_chart/LineChart.jsx +0 -107
- package/src/components/chart/line_chart/LineChart.module.scss +0 -54
- package/src/components/chart/line_chart/LineChart.stories.jsx +0 -49
- package/src/components/chart/line_chart/LineChart.test.jsx +0 -12
- package/src/components/chart/line_chart/index.js +0 -1
- package/src/components/chart/pie_chart/PieChart.docs.mdx +0 -26
- package/src/components/chart/pie_chart/PieChart.jsx +0 -102
- package/src/components/chart/pie_chart/PieChart.module.scss +0 -17
- package/src/components/chart/pie_chart/PieChart.stories.jsx +0 -36
- package/src/components/chart/pie_chart/PieChart.test.jsx +0 -12
- package/src/components/chart/pie_chart/index.js +0 -1
- package/src/components/consultation/consultation_box/ConsultationBox.docs.mdx +0 -21
- package/src/components/consultation/consultation_box/ConsultationBox.jsx +0 -101
- package/src/components/consultation/consultation_box/ConsultationBox.module.scss +0 -105
- package/src/components/consultation/consultation_box/ConsultationBox.stories.jsx +0 -96
- package/src/components/consultation/consultation_box/ConsultationBox.test.jsx +0 -58
- package/src/components/consultation/consultation_box/index.js +0 -1
- package/src/components/data/axios_client/httpClient.docs.mdx +0 -4
- package/src/components/data/axios_client/httpClient.js +0 -11
- package/src/components/data/axios_client/index.js +0 -1
- package/src/components/data/config_provider/ConfigProvider.docs.mdx +0 -26
- package/src/components/data/config_provider/ConfigProvider.jsx +0 -21
- package/src/components/data/config_provider/ConfigProvider.test.jsx +0 -39
- package/src/components/data/config_provider/index.js +0 -4
- package/src/components/data/config_provider/useConfig.jsx +0 -8
- package/src/components/data/config_provider/useRoutes.jsx +0 -8
- package/src/components/data/config_provider/withConfig.jsx +0 -8
- package/src/components/data/data_provider/DataProvider.docs.mdx +0 -52
- package/src/components/data/data_provider/DataProvider.jsx +0 -165
- package/src/components/data/data_provider/DataProvider.test.jsx +0 -419
- package/src/components/data/data_provider/DataProviderContext.jsx +0 -3
- package/src/components/data/data_provider/index.js +0 -4
- package/src/components/data/data_provider/useData.jsx +0 -9
- package/src/components/data/data_provider/useDataProvider.jsx +0 -8
- package/src/components/data/data_provider/useDataProvider.test.jsx +0 -38
- package/src/components/debate/debate_box/DebateBox.docs.mdx +0 -23
- package/src/components/debate/debate_box/DebateBox.jsx +0 -136
- package/src/components/debate/debate_box/DebateBox.module.scss +0 -209
- package/src/components/debate/debate_box/DebateBox.stories.jsx +0 -157
- package/src/components/debate/debate_box/DebateBox.test.jsx +0 -117
- package/src/components/debate/debate_box/index.js +0 -1
- package/src/components/dialog/announcement_dialog/AnnouncementDialog.docs.mdx +0 -24
- package/src/components/dialog/announcement_dialog/AnnouncementDialog.jsx +0 -37
- package/src/components/dialog/announcement_dialog/AnnouncementDialog.module.scss +0 -35
- package/src/components/dialog/announcement_dialog/AnnouncementDialog.stories.jsx +0 -44
- package/src/components/dialog/announcement_dialog/AnnouncementDialog.test.jsx +0 -35
- package/src/components/dialog/announcement_dialog/HomeIcon.dev.jsx +0 -9
- package/src/components/dialog/announcement_dialog/index.js +0 -1
- package/src/components/dialog/confirm_modal/ConfirmModal.docs.mdx +0 -25
- package/src/components/dialog/confirm_modal/ConfirmModal.jsx +0 -53
- package/src/components/dialog/confirm_modal/ConfirmModal.module.scss +0 -30
- package/src/components/dialog/confirm_modal/ConfirmModal.stories.jsx +0 -36
- package/src/components/dialog/confirm_modal/ConfirmModal.test.jsx +0 -176
- package/src/components/dialog/confirm_modal/index.js +0 -1
- package/src/components/dialog/countdown/Countdown.docs.mdx +0 -23
- package/src/components/dialog/countdown/Countdown.jsx +0 -36
- package/src/components/dialog/countdown/Countdown.stories.jsx +0 -33
- package/src/components/dialog/countdown/Countdown.test.jsx +0 -51
- package/src/components/dialog/countdown/index.js +0 -1
- package/src/components/dialog/dialog_box/DialogBox.docs.mdx +0 -25
- package/src/components/dialog/dialog_box/DialogBox.jsx +0 -53
- package/src/components/dialog/dialog_box/DialogBox.module.scss +0 -145
- package/src/components/dialog/dialog_box/DialogBox.stories.jsx +0 -45
- package/src/components/dialog/dialog_box/DialogBox.test.jsx +0 -40
- package/src/components/dialog/dialog_box/index.js +0 -1
- package/src/components/dialog/drawer/Drawer.docs.mdx +0 -31
- package/src/components/dialog/drawer/Drawer.jsx +0 -159
- package/src/components/dialog/drawer/Drawer.module.scss +0 -136
- package/src/components/dialog/drawer/Drawer.stories.jsx +0 -194
- package/src/components/dialog/drawer/Drawer.test.jsx +0 -15
- package/src/components/dialog/drawer/index.js +0 -1
- package/src/components/dialog/dropdown/Dropdown.docs.mdx +0 -28
- package/src/components/dialog/dropdown/Dropdown.jsx +0 -59
- package/src/components/dialog/dropdown/Dropdown.module.scss +0 -41
- package/src/components/dialog/dropdown/Dropdown.stories.jsx +0 -42
- package/src/components/dialog/dropdown/Dropdown.test.jsx +0 -126
- package/src/components/dialog/dropdown/index.js +0 -1
- package/src/components/dialog/modal/Modal.docs.mdx +0 -39
- package/src/components/dialog/modal/Modal.jsx +0 -101
- package/src/components/dialog/modal/Modal.module.scss +0 -99
- package/src/components/dialog/modal/Modal.stories.jsx +0 -53
- package/src/components/dialog/modal/Modal.test.jsx +0 -115
- package/src/components/dialog/modal/ModalProvider.jsx +0 -26
- package/src/components/dialog/modal/ModalProvider.test.jsx +0 -39
- package/src/components/dialog/modal/index.js +0 -3
- package/src/components/dialog/modal/useModal.jsx +0 -6
- package/src/components/dialog/toast/Toast.docs.mdx +0 -21
- package/src/components/dialog/toast/Toast.jsx +0 -44
- package/src/components/dialog/toast/Toast.module.scss +0 -66
- package/src/components/dialog/toast/Toast.stories.jsx +0 -42
- package/src/components/dialog/toast/Toast.test.jsx +0 -21
- package/src/components/dialog/toast/index.js +0 -1
- package/src/components/dialog/toast_provider/ToastContext.js +0 -3
- package/src/components/dialog/toast_provider/ToastProvider.docs.mdx +0 -36
- package/src/components/dialog/toast_provider/ToastProvider.jsx +0 -35
- package/src/components/dialog/toast_provider/ToastProvider.module.scss +0 -14
- package/src/components/dialog/toast_provider/ToastProvider.test.jsx +0 -64
- package/src/components/dialog/toast_provider/index.js +0 -2
- package/src/components/dialog/toast_provider/useToast.jsx +0 -8
- package/src/components/dialog/tooltip/Tooltip.docs.mdx +0 -20
- package/src/components/dialog/tooltip/Tooltip.jsx +0 -53
- package/src/components/dialog/tooltip/Tooltip.module.scss +0 -92
- package/src/components/dialog/tooltip/Tooltip.stories.jsx +0 -76
- package/src/components/dialog/tooltip/Tooltip.test.jsx +0 -67
- package/src/components/dialog/tooltip/index.js +0 -3
- package/src/components/embed/embed_header/EmbedHeader.docs.mdx +0 -25
- package/src/components/embed/embed_header/EmbedHeader.jsx +0 -61
- package/src/components/embed/embed_header/EmbedHeader.module.scss +0 -148
- package/src/components/embed/embed_header/EmbedHeader.stories.jsx +0 -54
- package/src/components/embed/embed_header/EmbedHeader.test.jsx +0 -70
- package/src/components/embed/embed_header/index.js +0 -1
- package/src/components/error/standard_error_boundary/StandardErrorBoundary.docs.mdx +0 -26
- package/src/components/error/standard_error_boundary/StandardErrorBoundary.jsx +0 -27
- package/src/components/error/standard_error_boundary/StandardErrorBoundary.module.scss +0 -8
- package/src/components/error/standard_error_boundary/StandardErrorBoundary.test.jsx +0 -56
- package/src/components/error/standard_error_boundary/index.js +0 -1
- package/src/components/follow/follow_button/FollowButton.docs.mdx +0 -41
- package/src/components/follow/follow_button/FollowButton.jsx +0 -40
- package/src/components/follow/follow_button/FollowButton.module.scss +0 -17
- package/src/components/follow/follow_button/FollowButton.stories.jsx +0 -58
- package/src/components/follow/follow_button/FollowButton.test.jsx +0 -45
- package/src/components/follow/follow_button/index.js +0 -1
- package/src/components/follow/use_follow/index.js +0 -1
- package/src/components/follow/use_follow/useFollow.docs.mdx +0 -24
- package/src/components/follow/use_follow/useFollow.jsx +0 -60
- package/src/components/follow/use_follow/useFollow.test.jsx +0 -94
- package/src/components/forms/form/extract-form-data.js +0 -14
- package/src/components/forms/form/form-context.js +0 -3
- package/src/components/forms/form/form.docs.mdx +0 -232
- package/src/components/forms/form/form.jsx +0 -26
- package/src/components/forms/form/form.stories.jsx +0 -119
- package/src/components/forms/form/form.test.jsx +0 -3
- package/src/components/forms/form/index.js +0 -6
- package/src/components/forms/form/use-form-context.js +0 -43
- package/src/components/forms/form/use-form.js +0 -4
- package/src/components/forms/use_form_validation/index.js +0 -1
- package/src/components/forms/use_form_validation/useFormValidation.docs.mdx +0 -40
- package/src/components/forms/use_form_validation/useFormValidation.jsx +0 -114
- package/src/components/forms/use_form_validation/useFormValidation.test.jsx +0 -91
- package/src/components/gamification/badge_box/BadgeBox.docs.mdx +0 -25
- package/src/components/gamification/badge_box/BadgeBox.jsx +0 -74
- package/src/components/gamification/badge_box/BadgeBox.module.scss +0 -103
- package/src/components/gamification/badge_box/BadgeBox.stories.jsx +0 -64
- package/src/components/gamification/badge_box/BadgeBox.test.jsx +0 -113
- package/src/components/gamification/badge_box/index.js +0 -1
- package/src/components/gamification/point_box/PointBox.docs.mdx +0 -19
- package/src/components/gamification/point_box/PointBox.jsx +0 -28
- package/src/components/gamification/point_box/PointBox.module.scss +0 -38
- package/src/components/gamification/point_box/PointBox.stories.jsx +0 -32
- package/src/components/gamification/point_box/PointBox.test.jsx +0 -21
- package/src/components/gamification/point_box/index.js +0 -1
- package/src/components/hooks/use_auth_required/index.js +0 -1
- package/src/components/hooks/use_auth_required/useAuthRequired.docs.mdx +0 -22
- package/src/components/hooks/use_auth_required/useAuthRequired.jsx +0 -28
- package/src/components/hooks/use_auth_required/useAuthRequired.test.jsx +0 -85
- package/src/components/hooks/use_css_theme/index.js +0 -1
- package/src/components/hooks/use_css_theme/useCssTheme.docs.mdx +0 -34
- package/src/components/hooks/use_css_theme/useCssTheme.js +0 -27
- package/src/components/hooks/use_css_theme/useCssTheme.stories.jsx +0 -41
- package/src/components/hooks/use_css_theme/useCssTheme.test.jsx +0 -31
- package/src/components/hooks/use_font_loader/index.js +0 -1
- package/src/components/hooks/use_font_loader/useFontLoader.docs.mdx +0 -24
- package/src/components/hooks/use_font_loader/useFontLoader.js +0 -16
- package/src/components/hooks/use_font_loader/useFontLoader.test.jsx +0 -64
- package/src/components/hooks/use_matomo/index.js +0 -1
- package/src/components/hooks/use_matomo/useMatomo.docs.mdx +0 -28
- package/src/components/hooks/use_matomo/useMatomo.js +0 -17
- package/src/components/hooks/use_matomo/useMatomo.test.jsx +0 -24
- package/src/components/hooks/use_relative_time/index.js +0 -1
- package/src/components/hooks/use_relative_time/useRelativeTime.docs.mdx +0 -35
- package/src/components/hooks/use_relative_time/useRelativeTime.jsx +0 -40
- package/src/components/hooks/use_relative_time/useRelativeTime.test.jsx +0 -82
- package/src/components/hooks/use_responsive/ResponsiveContext.jsx +0 -3
- package/src/components/hooks/use_responsive/ResponsiveProvider.jsx +0 -52
- package/src/components/hooks/use_responsive/index.js +0 -2
- package/src/components/hooks/use_responsive/useResponsive.docs.mdx +0 -46
- package/src/components/hooks/use_responsive/useResponsive.jsx +0 -8
- package/src/components/hooks/use_responsive/useResponsive.stories.jsx +0 -49
- package/src/components/hooks/use_responsive/useResponsive.test.jsx +0 -54
- package/src/components/icons/bild_icons/Alarm.jsx +0 -7
- package/src/components/icons/bild_icons/Announcement.jsx +0 -16
- package/src/components/icons/bild_icons/Arrow.jsx +0 -7
- package/src/components/icons/bild_icons/BildIcons.docs.mdx +0 -21
- package/src/components/icons/bild_icons/BildIcons.stories.jsx +0 -123
- package/src/components/icons/bild_icons/BildIcons.test.jsx +0 -15
- package/src/components/icons/bild_icons/Blockquote.jsx +0 -7
- package/src/components/icons/bild_icons/Bold.jsx +0 -7
- package/src/components/icons/bild_icons/Camera.jsx +0 -8
- package/src/components/icons/bild_icons/Chat.jsx +0 -16
- package/src/components/icons/bild_icons/Check.jsx +0 -7
- package/src/components/icons/bild_icons/CheckCircle.jsx +0 -17
- package/src/components/icons/bild_icons/Checkbox.jsx +0 -8
- package/src/components/icons/bild_icons/Clap.jsx +0 -9
- package/src/components/icons/bild_icons/Clock.jsx +0 -7
- package/src/components/icons/bild_icons/Close.jsx +0 -7
- package/src/components/icons/bild_icons/Code.jsx +0 -18
- package/src/components/icons/bild_icons/Community.jsx +0 -7
- package/src/components/icons/bild_icons/Crown.jsx +0 -7
- package/src/components/icons/bild_icons/Document.jsx +0 -7
- package/src/components/icons/bild_icons/Downvote.jsx +0 -7
- package/src/components/icons/bild_icons/Ellipsis.jsx +0 -8
- package/src/components/icons/bild_icons/ExpertBadge.jsx +0 -11
- package/src/components/icons/bild_icons/Facebook.jsx +0 -7
- package/src/components/icons/bild_icons/Flag.jsx +0 -7
- package/src/components/icons/bild_icons/Home.jsx +0 -7
- package/src/components/icons/bild_icons/Italic.jsx +0 -7
- package/src/components/icons/bild_icons/LightArrow.jsx +0 -7
- package/src/components/icons/bild_icons/Link.jsx +0 -8
- package/src/components/icons/bild_icons/Login.jsx +0 -11
- package/src/components/icons/bild_icons/Logora.jsx +0 -24
- package/src/components/icons/bild_icons/Mail.jsx +0 -7
- package/src/components/icons/bild_icons/MinusCircle.jsx +0 -16
- package/src/components/icons/bild_icons/MobileClose.jsx +0 -8
- package/src/components/icons/bild_icons/MobileMenu.jsx +0 -10
- package/src/components/icons/bild_icons/Next.jsx +0 -10
- package/src/components/icons/bild_icons/OpenBlank.jsx +0 -15
- package/src/components/icons/bild_icons/OrderedList.jsx +0 -7
- package/src/components/icons/bild_icons/PauseCircle.jsx +0 -10
- package/src/components/icons/bild_icons/Point.jsx +0 -8
- package/src/components/icons/bild_icons/Question.jsx +0 -8
- package/src/components/icons/bild_icons/Refresh.jsx +0 -7
- package/src/components/icons/bild_icons/Reply.jsx +0 -7
- package/src/components/icons/bild_icons/Search.jsx +0 -7
- package/src/components/icons/bild_icons/Send.jsx +0 -7
- package/src/components/icons/bild_icons/Share.jsx +0 -14
- package/src/components/icons/bild_icons/SmallArrow.jsx +0 -11
- package/src/components/icons/bild_icons/Source.jsx +0 -7
- package/src/components/icons/bild_icons/Suggestion.jsx +0 -7
- package/src/components/icons/bild_icons/Twitter.jsx +0 -10
- package/src/components/icons/bild_icons/Underline.jsx +0 -7
- package/src/components/icons/bild_icons/Upvote.jsx +0 -7
- package/src/components/icons/bild_icons/User.jsx +0 -7
- package/src/components/icons/bild_icons/Versus.jsx +0 -11
- package/src/components/icons/bild_icons/Votebox.jsx +0 -7
- package/src/components/icons/bild_icons/index.js +0 -52
- package/src/components/icons/hero_icons/Alarm.jsx +0 -7
- package/src/components/icons/hero_icons/Announcement.jsx +0 -7
- package/src/components/icons/hero_icons/Arrow.jsx +0 -7
- package/src/components/icons/hero_icons/Blockquote.jsx +0 -14
- package/src/components/icons/hero_icons/Bold.jsx +0 -7
- package/src/components/icons/hero_icons/Camera.jsx +0 -8
- package/src/components/icons/hero_icons/Chat.jsx +0 -7
- package/src/components/icons/hero_icons/Check.jsx +0 -8
- package/src/components/icons/hero_icons/CheckCircle.jsx +0 -17
- package/src/components/icons/hero_icons/Checkbox.jsx +0 -7
- package/src/components/icons/hero_icons/Clap.jsx +0 -7
- package/src/components/icons/hero_icons/Clock.jsx +0 -7
- package/src/components/icons/hero_icons/Close.jsx +0 -8
- package/src/components/icons/hero_icons/Code.jsx +0 -7
- package/src/components/icons/hero_icons/Community.jsx +0 -7
- package/src/components/icons/hero_icons/Crown.jsx +0 -7
- package/src/components/icons/hero_icons/Downvote.jsx +0 -8
- package/src/components/icons/hero_icons/Ellipsis.jsx +0 -7
- package/src/components/icons/hero_icons/ExpertBadge.jsx +0 -7
- package/src/components/icons/hero_icons/Facebook.jsx +0 -7
- package/src/components/icons/hero_icons/Flag.jsx +0 -7
- package/src/components/icons/hero_icons/HeroIcons.docs.mdx +0 -19
- package/src/components/icons/hero_icons/HeroIcons.stories.jsx +0 -121
- package/src/components/icons/hero_icons/HeroIcons.test.jsx +0 -15
- package/src/components/icons/hero_icons/Home.jsx +0 -7
- package/src/components/icons/hero_icons/Italic.jsx +0 -7
- package/src/components/icons/hero_icons/LightArrow.jsx +0 -7
- package/src/components/icons/hero_icons/Link.jsx +0 -7
- package/src/components/icons/hero_icons/Login.jsx +0 -7
- package/src/components/icons/hero_icons/Logora.jsx +0 -24
- package/src/components/icons/hero_icons/Mail.jsx +0 -7
- package/src/components/icons/hero_icons/MinusCircle.jsx +0 -16
- package/src/components/icons/hero_icons/MobileClose.jsx +0 -7
- package/src/components/icons/hero_icons/MobileMenu.jsx +0 -7
- package/src/components/icons/hero_icons/Next.jsx +0 -8
- package/src/components/icons/hero_icons/OpenBlank.jsx +0 -7
- package/src/components/icons/hero_icons/OrderedList.jsx +0 -19
- package/src/components/icons/hero_icons/PauseCircle.jsx +0 -10
- package/src/components/icons/hero_icons/Point.jsx +0 -8
- package/src/components/icons/hero_icons/Question.jsx +0 -7
- package/src/components/icons/hero_icons/Refresh.jsx +0 -7
- package/src/components/icons/hero_icons/Reply.jsx +0 -7
- package/src/components/icons/hero_icons/Search.jsx +0 -7
- package/src/components/icons/hero_icons/Send.jsx +0 -7
- package/src/components/icons/hero_icons/Share.jsx +0 -8
- package/src/components/icons/hero_icons/SmallArrow.jsx +0 -7
- package/src/components/icons/hero_icons/Source.jsx +0 -8
- package/src/components/icons/hero_icons/Suggestion.jsx +0 -9
- package/src/components/icons/hero_icons/Twitter.jsx +0 -10
- package/src/components/icons/hero_icons/Underline.jsx +0 -14
- package/src/components/icons/hero_icons/Upvote.jsx +0 -7
- package/src/components/icons/hero_icons/User.jsx +0 -7
- package/src/components/icons/hero_icons/Versus.jsx +0 -7
- package/src/components/icons/hero_icons/Votebox.jsx +0 -7
- package/src/components/icons/hero_icons/index.js +0 -51
- package/src/components/icons/icon/Icon.docs.mdx +0 -20
- package/src/components/icons/icon/Icon.jsx +0 -32
- package/src/components/icons/icon/Icon.test.jsx +0 -33
- package/src/components/icons/icon/index.js +0 -1
- package/src/components/icons/icon_provider/IconProvider.docs.mdx +0 -28
- package/src/components/icons/icon_provider/IconProvider.jsx +0 -19
- package/src/components/icons/icon_provider/IconProvider.test.jsx +0 -24
- package/src/components/icons/icon_provider/index.js +0 -1
- package/src/components/icons/krone_icons/Alarm.jsx +0 -27
- package/src/components/icons/krone_icons/Announcement.jsx +0 -16
- package/src/components/icons/krone_icons/Arrow.jsx +0 -7
- package/src/components/icons/krone_icons/Blockquote.jsx +0 -7
- package/src/components/icons/krone_icons/Bold.jsx +0 -7
- package/src/components/icons/krone_icons/Camera.jsx +0 -8
- package/src/components/icons/krone_icons/Chat.jsx +0 -29
- package/src/components/icons/krone_icons/Check.jsx +0 -7
- package/src/components/icons/krone_icons/CheckBox.jsx +0 -7
- package/src/components/icons/krone_icons/CheckCircle.jsx +0 -17
- package/src/components/icons/krone_icons/Clap.jsx +0 -29
- package/src/components/icons/krone_icons/Clock.jsx +0 -7
- package/src/components/icons/krone_icons/Close.jsx +0 -7
- package/src/components/icons/krone_icons/Code.jsx +0 -18
- package/src/components/icons/krone_icons/Community.jsx +0 -7
- package/src/components/icons/krone_icons/Crown.jsx +0 -7
- package/src/components/icons/krone_icons/Document.jsx +0 -7
- package/src/components/icons/krone_icons/Downvote.jsx +0 -7
- package/src/components/icons/krone_icons/Ellipsis.jsx +0 -18
- package/src/components/icons/krone_icons/ExpertBadge.jsx +0 -29
- package/src/components/icons/krone_icons/Facebook.jsx +0 -7
- package/src/components/icons/krone_icons/Flag.jsx +0 -7
- package/src/components/icons/krone_icons/Home.jsx +0 -29
- package/src/components/icons/krone_icons/Italic.jsx +0 -7
- package/src/components/icons/krone_icons/KroneIcons.docs.mdx +0 -21
- package/src/components/icons/krone_icons/KroneIcons.stories.jsx +0 -124
- package/src/components/icons/krone_icons/KroneIcons.test.jsx +0 -15
- package/src/components/icons/krone_icons/LightArrow.jsx +0 -7
- package/src/components/icons/krone_icons/Link.jsx +0 -8
- package/src/components/icons/krone_icons/Login.jsx +0 -11
- package/src/components/icons/krone_icons/Logora.jsx +0 -24
- package/src/components/icons/krone_icons/Mail.jsx +0 -7
- package/src/components/icons/krone_icons/MinusCircle.jsx +0 -16
- package/src/components/icons/krone_icons/MobileClose.jsx +0 -8
- package/src/components/icons/krone_icons/MobileMenu.jsx +0 -10
- package/src/components/icons/krone_icons/Next.jsx +0 -10
- package/src/components/icons/krone_icons/OpenBlank.jsx +0 -15
- package/src/components/icons/krone_icons/OrderedList.jsx +0 -7
- package/src/components/icons/krone_icons/PauseCircle.jsx +0 -10
- package/src/components/icons/krone_icons/Point.jsx +0 -8
- package/src/components/icons/krone_icons/Question.jsx +0 -29
- package/src/components/icons/krone_icons/Refresh.jsx +0 -7
- package/src/components/icons/krone_icons/Reply.jsx +0 -18
- package/src/components/icons/krone_icons/Search.jsx +0 -7
- package/src/components/icons/krone_icons/Send.jsx +0 -19
- package/src/components/icons/krone_icons/Share.jsx +0 -16
- package/src/components/icons/krone_icons/SmallArrow.jsx +0 -11
- package/src/components/icons/krone_icons/Source.jsx +0 -7
- package/src/components/icons/krone_icons/Suggestion.jsx +0 -29
- package/src/components/icons/krone_icons/Twitter.jsx +0 -10
- package/src/components/icons/krone_icons/Underline.jsx +0 -7
- package/src/components/icons/krone_icons/Upvote.jsx +0 -29
- package/src/components/icons/krone_icons/User.jsx +0 -30
- package/src/components/icons/krone_icons/Versus.jsx +0 -9
- package/src/components/icons/krone_icons/Votebox.jsx +0 -29
- package/src/components/icons/krone_icons/index.js +0 -52
- package/src/components/icons/regular_icons/Alarm.jsx +0 -7
- package/src/components/icons/regular_icons/Announcement.jsx +0 -16
- package/src/components/icons/regular_icons/Arrow.jsx +0 -7
- package/src/components/icons/regular_icons/Blockquote.jsx +0 -7
- package/src/components/icons/regular_icons/Bold.jsx +0 -7
- package/src/components/icons/regular_icons/Camera.jsx +0 -8
- package/src/components/icons/regular_icons/Chat.jsx +0 -10
- package/src/components/icons/regular_icons/Check.jsx +0 -7
- package/src/components/icons/regular_icons/CheckCircle.jsx +0 -17
- package/src/components/icons/regular_icons/Checkbox.jsx +0 -8
- package/src/components/icons/regular_icons/Clap.jsx +0 -7
- package/src/components/icons/regular_icons/Clock.jsx +0 -7
- package/src/components/icons/regular_icons/Close.jsx +0 -7
- package/src/components/icons/regular_icons/Code.jsx +0 -18
- package/src/components/icons/regular_icons/Community.jsx +0 -7
- package/src/components/icons/regular_icons/Crown.jsx +0 -7
- package/src/components/icons/regular_icons/Document.jsx +0 -7
- package/src/components/icons/regular_icons/Downvote.jsx +0 -7
- package/src/components/icons/regular_icons/Ellipsis.jsx +0 -8
- package/src/components/icons/regular_icons/ExpertBadge.jsx +0 -11
- package/src/components/icons/regular_icons/Facebook.jsx +0 -7
- package/src/components/icons/regular_icons/Flag.jsx +0 -7
- package/src/components/icons/regular_icons/Home.jsx +0 -7
- package/src/components/icons/regular_icons/Italic.jsx +0 -7
- package/src/components/icons/regular_icons/LightArrow.jsx +0 -7
- package/src/components/icons/regular_icons/Link.jsx +0 -8
- package/src/components/icons/regular_icons/Login.jsx +0 -11
- package/src/components/icons/regular_icons/Logora.jsx +0 -24
- package/src/components/icons/regular_icons/Mail.jsx +0 -7
- package/src/components/icons/regular_icons/MinusCircle.jsx +0 -16
- package/src/components/icons/regular_icons/MobileClose.jsx +0 -8
- package/src/components/icons/regular_icons/MobileMenu.jsx +0 -10
- package/src/components/icons/regular_icons/Next.jsx +0 -10
- package/src/components/icons/regular_icons/OpenBlank.jsx +0 -15
- package/src/components/icons/regular_icons/OrderedList.jsx +0 -7
- package/src/components/icons/regular_icons/PauseCircle.jsx +0 -10
- package/src/components/icons/regular_icons/Point.jsx +0 -8
- package/src/components/icons/regular_icons/Question.jsx +0 -8
- package/src/components/icons/regular_icons/Refresh.jsx +0 -7
- package/src/components/icons/regular_icons/RegularIcons.docs.mdx +0 -21
- package/src/components/icons/regular_icons/RegularIcons.stories.jsx +0 -123
- package/src/components/icons/regular_icons/RegularIcons.test.jsx +0 -15
- package/src/components/icons/regular_icons/Reply.jsx +0 -7
- package/src/components/icons/regular_icons/Search.jsx +0 -7
- package/src/components/icons/regular_icons/Send.jsx +0 -7
- package/src/components/icons/regular_icons/Share.jsx +0 -14
- package/src/components/icons/regular_icons/SmallArrow.jsx +0 -11
- package/src/components/icons/regular_icons/Source.jsx +0 -7
- package/src/components/icons/regular_icons/Suggestion.jsx +0 -7
- package/src/components/icons/regular_icons/Twitter.jsx +0 -10
- package/src/components/icons/regular_icons/Underline.jsx +0 -7
- package/src/components/icons/regular_icons/Upvote.jsx +0 -7
- package/src/components/icons/regular_icons/User.jsx +0 -7
- package/src/components/icons/regular_icons/Versus.jsx +0 -9
- package/src/components/icons/regular_icons/Votebox.jsx +0 -7
- package/src/components/icons/regular_icons/index.js +0 -52
- package/src/components/icons/spiegel_icons/Alarm.jsx +0 -7
- package/src/components/icons/spiegel_icons/Announcement.jsx +0 -16
- package/src/components/icons/spiegel_icons/Arrow.jsx +0 -7
- package/src/components/icons/spiegel_icons/Blockquote.jsx +0 -14
- package/src/components/icons/spiegel_icons/Bold.jsx +0 -7
- package/src/components/icons/spiegel_icons/Camera.jsx +0 -8
- package/src/components/icons/spiegel_icons/Chat.jsx +0 -7
- package/src/components/icons/spiegel_icons/Check.jsx +0 -11
- package/src/components/icons/spiegel_icons/CheckCircle.jsx +0 -8
- package/src/components/icons/spiegel_icons/Checkbox.jsx +0 -14
- package/src/components/icons/spiegel_icons/Clap.jsx +0 -15
- package/src/components/icons/spiegel_icons/Clock.jsx +0 -15
- package/src/components/icons/spiegel_icons/Close.jsx +0 -7
- package/src/components/icons/spiegel_icons/Code.jsx +0 -18
- package/src/components/icons/spiegel_icons/Community.jsx +0 -7
- package/src/components/icons/spiegel_icons/Crown.jsx +0 -7
- package/src/components/icons/spiegel_icons/Downvote.jsx +0 -7
- package/src/components/icons/spiegel_icons/Ellipsis.jsx +0 -8
- package/src/components/icons/spiegel_icons/ExpertBadge.jsx +0 -16
- package/src/components/icons/spiegel_icons/Facebook.jsx +0 -7
- package/src/components/icons/spiegel_icons/Flag.jsx +0 -8
- package/src/components/icons/spiegel_icons/Home.jsx +0 -7
- package/src/components/icons/spiegel_icons/Italic.jsx +0 -7
- package/src/components/icons/spiegel_icons/LightArrow.jsx +0 -7
- package/src/components/icons/spiegel_icons/Link.jsx +0 -17
- package/src/components/icons/spiegel_icons/Login.jsx +0 -7
- package/src/components/icons/spiegel_icons/Logora.jsx +0 -24
- package/src/components/icons/spiegel_icons/Mail.jsx +0 -7
- package/src/components/icons/spiegel_icons/MinusCircle.jsx +0 -8
- package/src/components/icons/spiegel_icons/MobileClose.jsx +0 -8
- package/src/components/icons/spiegel_icons/MobileMenu.jsx +0 -10
- package/src/components/icons/spiegel_icons/Next.jsx +0 -10
- package/src/components/icons/spiegel_icons/OpenBlank.jsx +0 -15
- package/src/components/icons/spiegel_icons/OrderedList.jsx +0 -20
- package/src/components/icons/spiegel_icons/PauseCircle.jsx +0 -8
- package/src/components/icons/spiegel_icons/Point.jsx +0 -8
- package/src/components/icons/spiegel_icons/Question.jsx +0 -17
- package/src/components/icons/spiegel_icons/Refresh.jsx +0 -7
- package/src/components/icons/spiegel_icons/Reply.jsx +0 -7
- package/src/components/icons/spiegel_icons/Search.jsx +0 -7
- package/src/components/icons/spiegel_icons/Send.jsx +0 -7
- package/src/components/icons/spiegel_icons/Share.jsx +0 -14
- package/src/components/icons/spiegel_icons/SmallArrow.jsx +0 -7
- package/src/components/icons/spiegel_icons/Source.jsx +0 -7
- package/src/components/icons/spiegel_icons/SpiegelIcons.docs.mdx +0 -21
- package/src/components/icons/spiegel_icons/SpiegelIcons.stories.jsx +0 -121
- package/src/components/icons/spiegel_icons/SpiegelIcons.test.jsx +0 -15
- package/src/components/icons/spiegel_icons/Suggestion.jsx +0 -7
- package/src/components/icons/spiegel_icons/Twitter.jsx +0 -10
- package/src/components/icons/spiegel_icons/Underline.jsx +0 -14
- package/src/components/icons/spiegel_icons/Upvote.jsx +0 -7
- package/src/components/icons/spiegel_icons/User.jsx +0 -7
- package/src/components/icons/spiegel_icons/Versus.jsx +0 -11
- package/src/components/icons/spiegel_icons/Votebox.jsx +0 -14
- package/src/components/icons/spiegel_icons/index.js +0 -51
- package/src/components/information/information_box/InformationBox.docs.mdx +0 -28
- package/src/components/information/information_box/InformationBox.jsx +0 -54
- package/src/components/information/information_box/InformationBox.module.scss +0 -92
- package/src/components/information/information_box/InformationBox.stories.jsx +0 -50
- package/src/components/information/information_box/InformationBox.test.jsx +0 -94
- package/src/components/information/information_box/index.js +0 -1
- package/src/components/input/argument_input/ArgumentInput.docs.mdx +0 -29
- package/src/components/input/argument_input/ArgumentInput.jsx +0 -420
- package/src/components/input/argument_input/ArgumentInput.module.scss +0 -166
- package/src/components/input/argument_input/ArgumentInput.stories.jsx +0 -181
- package/src/components/input/argument_input/ArgumentInput.test.jsx +0 -482
- package/src/components/input/argument_input/index.js +0 -1
- package/src/components/input/checkbox/hidden/hidden-checkbox.docs.mdx +0 -4
- package/src/components/input/checkbox/hidden/hidden-checkbox.jsx +0 -8
- package/src/components/input/checkbox/hidden/hidden-checkbox.module.scss +0 -28
- package/src/components/input/checkbox/hidden/hidden-checkbox.stories.jsx +0 -73
- package/src/components/input/checkbox/hidden/index.js +0 -1
- package/src/components/input/checkbox/indicator/checkbox-indicator.docs.mdx +0 -9
- package/src/components/input/checkbox/indicator/checkbox-indicator.jsx +0 -17
- package/src/components/input/checkbox/indicator/checkbox-indicator.module.scss +0 -26
- package/src/components/input/checkbox/indicator/checkbox-indicator.stories.jsx +0 -51
- package/src/components/input/checkbox/indicator/index.js +0 -1
- package/src/components/input/checkbox/label/checkbox-label.docs.mdx +0 -39
- package/src/components/input/checkbox/label/checkbox-label.jsx +0 -40
- package/src/components/input/checkbox/label/checkbox.stories.jsx +0 -57
- package/src/components/input/checkbox/label/index.js +0 -1
- package/src/components/input/input_provider/InputProvider.docs.mdx +0 -38
- package/src/components/input/input_provider/InputProvider.jsx +0 -16
- package/src/components/input/input_provider/InputProvider.test.jsx +0 -102
- package/src/components/input/input_provider/index.js +0 -2
- package/src/components/input/input_provider/useInput.jsx +0 -8
- package/src/components/input/search_input/SearchInput.docs.mdx +0 -25
- package/src/components/input/search_input/SearchInput.jsx +0 -71
- package/src/components/input/search_input/SearchInput.module.scss +0 -18
- package/src/components/input/search_input/SearchInput.stories.jsx +0 -45
- package/src/components/input/search_input/SearchInput.test.jsx +0 -95
- package/src/components/input/search_input/index.js +0 -1
- package/src/components/input/select/Select.docs.mdx +0 -37
- package/src/components/input/select/Select.jsx +0 -102
- package/src/components/input/select/Select.module.scss +0 -72
- package/src/components/input/select/Select.stories.jsx +0 -75
- package/src/components/input/select/Select.test.jsx +0 -136
- package/src/components/input/select/index.js +0 -1
- package/src/components/input/text_editor/EditorTheme.js +0 -71
- package/src/components/input/text_editor/TextEditor.docs.mdx +0 -31
- package/src/components/input/text_editor/TextEditor.jsx +0 -205
- package/src/components/input/text_editor/TextEditor.module.scss +0 -140
- package/src/components/input/text_editor/TextEditor.stories.jsx +0 -227
- package/src/components/input/text_editor/TextEditor.test.jsx +0 -654
- package/src/components/input/text_editor/index.js +0 -2
- package/src/components/input/text_editor/lexicalToHtml.js +0 -23
- package/src/components/input/text_editor/plugins/AutoSavePlugin.jsx +0 -37
- package/src/components/input/text_editor/plugins/FocusPlugin.jsx +0 -19
- package/src/components/input/text_editor/plugins/MaxLengthPlugin.jsx +0 -44
- package/src/components/input/text_editor/plugins/ResetPlugin.jsx +0 -35
- package/src/components/input/text_editor/plugins/SetContentPlugin.jsx +0 -24
- package/src/components/input/text_editor/plugins/SetRichContentPlugin.jsx +0 -20
- package/src/components/input/text_editor/plugins/ToolbarPlugin.jsx +0 -233
- package/src/components/input/text_editor/plugins/ToolbarPlugin.module.scss +0 -77
- package/src/components/input/text_input/TextInput.docs.mdx +0 -73
- package/src/components/input/text_input/TextInput.jsx +0 -46
- package/src/components/input/text_input/TextInput.module.scss +0 -146
- package/src/components/input/text_input/TextInput.stories.jsx +0 -101
- package/src/components/input/text_input/TextInput.test.jsx +0 -64
- package/src/components/input/text_input/color-accent.js +0 -16
- package/src/components/input/text_input/index.js +0 -3
- package/src/components/input/text_input/message.jsx +0 -12
- package/src/components/input/toggle/Toggle.docs.mdx +0 -23
- package/src/components/input/toggle/Toggle.jsx +0 -25
- package/src/components/input/toggle/Toggle.module.scss +0 -73
- package/src/components/input/toggle/Toggle.stories.jsx +0 -42
- package/src/components/input/toggle/Toggle.test.jsx +0 -39
- package/src/components/input/toggle/index.js +0 -1
- package/src/components/input/toggle_position/TogglePosition.docs.mdx +0 -20
- package/src/components/input/toggle_position/TogglePosition.jsx +0 -55
- package/src/components/input/toggle_position/TogglePosition.module.scss +0 -46
- package/src/components/input/toggle_position/TogglePosition.stories.jsx +0 -96
- package/src/components/input/toggle_position/TogglePosition.test.jsx +0 -66
- package/src/components/input/toggle_position/index.js +0 -1
- package/src/components/intl/intl_provider/IntlContext.jsx +0 -3
- package/src/components/intl/intl_provider/IntlProvider.docs.mdx +0 -37
- package/src/components/intl/intl_provider/IntlProvider.jsx +0 -92
- package/src/components/intl/intl_provider/IntlProvider.test.jsx +0 -153
- package/src/components/intl/intl_provider/index.js +0 -3
- package/src/components/intl/intl_provider/locales/en.json +0 -4
- package/src/components/intl/intl_provider/locales/es.json +0 -4
- package/src/components/intl/intl_provider/locales/fr.json +0 -6
- package/src/components/intl/intl_provider/locales/index.js +0 -11
- package/src/components/intl/intl_provider/useLocale.jsx +0 -8
- package/src/components/list/list_provider/ListProvider.docs.mdx +0 -51
- package/src/components/list/list_provider/ListProvider.jsx +0 -32
- package/src/components/list/list_provider/ListProvider.stories.jsx +0 -92
- package/src/components/list/list_provider/ListProvider.test.jsx +0 -137
- package/src/components/list/list_provider/index.js +0 -2
- package/src/components/list/list_provider/useList.jsx +0 -8
- package/src/components/list/paginated_list/PaginatedList.docs.mdx +0 -68
- package/src/components/list/paginated_list/PaginatedList.jsx +0 -397
- package/src/components/list/paginated_list/PaginatedList.module.scss +0 -88
- package/src/components/list/paginated_list/PaginatedList.stories.jsx +0 -301
- package/src/components/list/paginated_list/PaginatedList.test.jsx +0 -1335
- package/src/components/list/paginated_list/VotePaginatedList.jsx +0 -26
- package/src/components/list/paginated_list/VotePaginatedList.test.jsx +0 -1518
- package/src/components/list/paginated_list/action_bar/ActionBar.jsx +0 -132
- package/src/components/list/paginated_list/action_bar/ActionBar.module.scss +0 -81
- package/src/components/list/paginated_list/index.js +0 -3
- package/src/components/list/pagination/Pagination.docs.mdx +0 -32
- package/src/components/list/pagination/Pagination.jsx +0 -58
- package/src/components/list/pagination/Pagination.module.scss +0 -10
- package/src/components/list/pagination/Pagination.stories.jsx +0 -44
- package/src/components/list/pagination/Pagination.test.jsx +0 -80
- package/src/components/list/pagination/index.js +0 -1
- package/src/components/modal/side_modal/SideModal.docs.mdx +0 -31
- package/src/components/modal/side_modal/SideModal.jsx +0 -85
- package/src/components/modal/side_modal/SideModal.module.scss +0 -83
- package/src/components/modal/side_modal/SideModal.stories.jsx +0 -112
- package/src/components/modal/side_modal/SideModal.test.jsx +0 -36
- package/src/components/modal/side_modal/index.js +0 -1
- package/src/components/navbar/navbar_button/NavbarButton.docs.mdx +0 -37
- package/src/components/navbar/navbar_button/NavbarButton.jsx +0 -43
- package/src/components/navbar/navbar_button/NavbarButton.module.scss +0 -45
- package/src/components/navbar/navbar_button/NavbarButton.stories.jsx +0 -93
- package/src/components/navbar/navbar_button/NavbarButton.test.jsx +0 -67
- package/src/components/navbar/navbar_button/index.js +0 -1
- package/src/components/navbar/navbar_modal/NavbarModal.docs.mdx +0 -24
- package/src/components/navbar/navbar_modal/NavbarModal.jsx +0 -175
- package/src/components/navbar/navbar_modal/NavbarModal.module.scss +0 -132
- package/src/components/navbar/navbar_modal/NavbarModal.stories.jsx +0 -96
- package/src/components/navbar/navbar_modal/NavbarModal.test.jsx +0 -155
- package/src/components/navbar/navbar_modal/index.js +0 -1
- package/src/components/notification/notification_item/NotificationItem.docs.mdx +0 -35
- package/src/components/notification/notification_item/NotificationItem.jsx +0 -71
- package/src/components/notification/notification_item/NotificationItem.module.scss +0 -56
- package/src/components/notification/notification_item/NotificationItem.stories.jsx +0 -121
- package/src/components/notification/notification_item/NotificationItem.test.jsx +0 -97
- package/src/components/notification/notification_item/index.js +0 -1
- package/src/components/notification/notification_menu/NotificationMenu.docs.mdx +0 -25
- package/src/components/notification/notification_menu/NotificationMenu.jsx +0 -61
- package/src/components/notification/notification_menu/NotificationMenu.module.scss +0 -49
- package/src/components/notification/notification_menu/NotificationMenu.stories.jsx +0 -94
- package/src/components/notification/notification_menu/NotificationMenu.test.jsx +0 -131
- package/src/components/notification/notification_menu/index.js +0 -1
- package/src/components/progress/loader/Loader.docs.mdx +0 -13
- package/src/components/progress/loader/Loader.jsx +0 -9
- package/src/components/progress/loader/Loader.module.scss +0 -26
- package/src/components/progress/loader/Loader.stories.jsx +0 -11
- package/src/components/progress/loader/Loader.test.jsx +0 -11
- package/src/components/progress/loader/index.js +0 -3
- package/src/components/progress/progress_bar/ProgressBar.docs.mdx +0 -29
- package/src/components/progress/progress_bar/ProgressBar.jsx +0 -75
- package/src/components/progress/progress_bar/ProgressBar.module.scss +0 -87
- package/src/components/progress/progress_bar/ProgressBar.stories.jsx +0 -43
- package/src/components/progress/progress_bar/ProgressBar.test.jsx +0 -126
- package/src/components/progress/progress_bar/index.js +0 -1
- package/src/components/proposal/proposal_box/ProposalBox.docs.mdx +0 -39
- package/src/components/proposal/proposal_box/ProposalBox.jsx +0 -108
- package/src/components/proposal/proposal_box/ProposalBox.module.scss +0 -80
- package/src/components/proposal/proposal_box/ProposalBox.stories.jsx +0 -161
- package/src/components/proposal/proposal_box/ProposalBox.test.jsx +0 -137
- package/src/components/proposal/proposal_box/index.js +0 -1
- package/src/components/report/report_box/ReportBox.docs.mdx +0 -35
- package/src/components/report/report_box/ReportBox.jsx +0 -120
- package/src/components/report/report_box/ReportBox.module.scss +0 -54
- package/src/components/report/report_box/ReportBox.stories.jsx +0 -247
- package/src/components/report/report_box/ReportBox.test.jsx +0 -232
- package/src/components/report/report_box/index.js +0 -1
- package/src/components/section/section_box/SectionBox.docs.mdx +0 -19
- package/src/components/section/section_box/SectionBox.jsx +0 -32
- package/src/components/section/section_box/SectionBox.module.scss +0 -57
- package/src/components/section/section_box/SectionBox.stories.jsx +0 -39
- package/src/components/section/section_box/SectionBox.test.jsx +0 -44
- package/src/components/section/section_box/index.js +0 -1
- package/src/components/share/share_box/ShareBox.docs.mdx +0 -27
- package/src/components/share/share_box/ShareBox.jsx +0 -71
- package/src/components/share/share_box/ShareBox.module.scss +0 -38
- package/src/components/share/share_box/ShareBox.stories.jsx +0 -42
- package/src/components/share/share_box/ShareBox.test.jsx +0 -142
- package/src/components/share/share_box/index.js +0 -1
- package/src/components/share/share_button/ShareButton.docs.mdx +0 -26
- package/src/components/share/share_button/ShareButton.jsx +0 -102
- package/src/components/share/share_button/ShareButton.module.scss +0 -68
- package/src/components/share/share_button/ShareButton.stories.jsx +0 -51
- package/src/components/share/share_button/ShareButton.test.jsx +0 -117
- package/src/components/share/share_button/index.js +0 -1
- package/src/components/share/share_modal/ShareModal.docs.mdx +0 -29
- package/src/components/share/share_modal/ShareModal.jsx +0 -49
- package/src/components/share/share_modal/ShareModal.module.scss +0 -21
- package/src/components/share/share_modal/ShareModal.stories.jsx +0 -48
- package/src/components/share/share_modal/ShareModal.test.jsx +0 -70
- package/src/components/share/share_modal/index.js +0 -1
- package/src/components/skeleton/box_skeleton/BoxSkeleton.docs.mdx +0 -14
- package/src/components/skeleton/box_skeleton/BoxSkeleton.jsx +0 -38
- package/src/components/skeleton/box_skeleton/BoxSkeleton.stories.jsx +0 -46
- package/src/components/skeleton/box_skeleton/BoxSkeleton.test.jsx +0 -39
- package/src/components/skeleton/box_skeleton/index.js +0 -1
- package/src/components/skeleton/user_content_skeleton/UserContentSkeleton.docs.mdx +0 -15
- package/src/components/skeleton/user_content_skeleton/UserContentSkeleton.jsx +0 -56
- package/src/components/skeleton/user_content_skeleton/UserContentSkeleton.module.scss +0 -78
- package/src/components/skeleton/user_content_skeleton/UserContentSkeleton.stories.jsx +0 -44
- package/src/components/skeleton/user_content_skeleton/UserContentSkeleton.test.jsx +0 -55
- package/src/components/skeleton/user_content_skeleton/index.js +0 -1
- package/src/components/source/context_source_box/ContextSourceBox.docs.mdx +0 -27
- package/src/components/source/context_source_box/ContextSourceBox.jsx +0 -38
- package/src/components/source/context_source_box/ContextSourceBox.module.scss +0 -50
- package/src/components/source/context_source_box/ContextSourceBox.stories.jsx +0 -36
- package/src/components/source/context_source_box/ContextSourceBox.test.jsx +0 -46
- package/src/components/source/context_source_box/index.js +0 -1
- package/src/components/source/context_source_list/ContextSourceList.docs.mdx +0 -37
- package/src/components/source/context_source_list/ContextSourceList.jsx +0 -42
- package/src/components/source/context_source_list/ContextSourceList.module.scss +0 -38
- package/src/components/source/context_source_list/ContextSourceList.stories.jsx +0 -39
- package/src/components/source/context_source_list/ContextSourceList.test.jsx +0 -47
- package/src/components/source/context_source_list/index.js +0 -1
- package/src/components/source/source_box/SourceBox.docs.mdx +0 -23
- package/src/components/source/source_box/SourceBox.jsx +0 -43
- package/src/components/source/source_box/SourceBox.module.scss +0 -43
- package/src/components/source/source_box/SourceBox.stories.jsx +0 -26
- package/src/components/source/source_box/SourceBox.test.jsx +0 -30
- package/src/components/source/source_box/index.js +0 -1
- package/src/components/source/source_list_item/SourceListItem.docs.mdx +0 -23
- package/src/components/source/source_list_item/SourceListItem.jsx +0 -28
- package/src/components/source/source_list_item/SourceListItem.module.scss +0 -33
- package/src/components/source/source_list_item/SourceListItem.stories.jsx +0 -40
- package/src/components/source/source_list_item/SourceListItem.test.jsx +0 -41
- package/src/components/source/source_list_item/index.js +0 -1
- package/src/components/source/source_modal/SourceModal.docs.mdx +0 -29
- package/src/components/source/source_modal/SourceModal.jsx +0 -157
- package/src/components/source/source_modal/SourceModal.module.scss +0 -45
- package/src/components/source/source_modal/SourceModal.stories.jsx +0 -82
- package/src/components/source/source_modal/SourceModal.test.jsx +0 -180
- package/src/components/source/source_modal/index.js +0 -1
- package/src/components/styles/display/_display.scss +0 -127
- package/src/components/styles/display/display.docs.mdx +0 -8
- package/src/components/styles/display/index.scss +0 -1
- package/src/components/styles/flex/_flex.scss +0 -55
- package/src/components/styles/flex/flex.docs.mdx +0 -8
- package/src/components/styles/flex/index.scss +0 -1
- package/src/components/styles/spacing/_spacing.scss +0 -107
- package/src/components/styles/spacing/index.scss +0 -1
- package/src/components/styles/spacing/spacing.docs.mdx +0 -8
- package/src/components/styles/tabs/_tabs.scss +0 -159
- package/src/components/styles/tabs/index.scss +0 -1
- package/src/components/styles/tabs/tabs.docs.mdx +0 -8
- package/src/components/styles/theme/_theme.scss +0 -51
- package/src/components/styles/theme/index.scss +0 -1
- package/src/components/styles/theme/theme.docs.mdx +0 -89
- package/src/components/suggestion/suggestion_banner/SuggestionBanner.docs.mdx +0 -35
- package/src/components/suggestion/suggestion_banner/SuggestionBanner.jsx +0 -86
- package/src/components/suggestion/suggestion_banner/SuggestionBanner.module.scss +0 -93
- package/src/components/suggestion/suggestion_banner/SuggestionBanner.stories.jsx +0 -128
- package/src/components/suggestion/suggestion_banner/SuggestionBanner.test.jsx +0 -237
- package/src/components/suggestion/suggestion_banner/index.js +0 -1
- package/src/components/suggestion/suggestion_box/SuggestionBox.docs.mdx +0 -39
- package/src/components/suggestion/suggestion_box/SuggestionBox.jsx +0 -112
- package/src/components/suggestion/suggestion_box/SuggestionBox.module.scss +0 -55
- package/src/components/suggestion/suggestion_box/SuggestionBox.stories.jsx +0 -147
- package/src/components/suggestion/suggestion_box/SuggestionBox.test.jsx +0 -184
- package/src/components/suggestion/suggestion_box/index.js +0 -1
- package/src/components/suggestion/suggestion_input/SuggestionInput.docs.mdx +0 -19
- package/src/components/suggestion/suggestion_input/SuggestionInput.jsx +0 -212
- package/src/components/suggestion/suggestion_input/SuggestionInput.module.scss +0 -50
- package/src/components/suggestion/suggestion_input/SuggestionInput.stories.jsx +0 -87
- package/src/components/suggestion/suggestion_input/SuggestionInput.test.jsx +0 -77
- package/src/components/suggestion/suggestion_input/index.js +0 -1
- package/src/components/summary/argument_summary_box/ArgumentSummaryBox.docs.mdx +0 -19
- package/src/components/summary/argument_summary_box/ArgumentSummaryBox.jsx +0 -40
- package/src/components/summary/argument_summary_box/ArgumentSummaryBox.module.scss +0 -67
- package/src/components/summary/argument_summary_box/ArgumentSummaryBox.stories.jsx +0 -57
- package/src/components/summary/argument_summary_box/ArgumentSummaryBox.test.jsx +0 -18
- package/src/components/summary/argument_summary_box/index.js +0 -1
- package/src/components/summary/keyword_box/KeywordBox.docs.mdx +0 -21
- package/src/components/summary/keyword_box/KeywordBox.jsx +0 -43
- package/src/components/summary/keyword_box/KeywordBox.module.scss +0 -54
- package/src/components/summary/keyword_box/KeywordBox.stories.jsx +0 -49
- package/src/components/summary/keyword_box/KeywordBox.test.jsx +0 -47
- package/src/components/summary/keyword_box/index.js +0 -1
- package/src/components/summary/summary/Summary.docs.mdx +0 -23
- package/src/components/summary/summary/Summary.jsx +0 -93
- package/src/components/summary/summary/Summary.module.scss +0 -26
- package/src/components/summary/summary/Summary.stories.jsx +0 -95
- package/src/components/summary/summary/Summary.test.jsx +0 -116
- package/src/components/summary/summary/index.js +0 -1
- package/src/components/summary/summary_box/SummaryBox.docs.mdx +0 -19
- package/src/components/summary/summary_box/SummaryBox.jsx +0 -39
- package/src/components/summary/summary_box/SummaryBox.module.scss +0 -56
- package/src/components/summary/summary_box/SummaryBox.stories.jsx +0 -83
- package/src/components/summary/summary_box/SummaryBox.test.jsx +0 -47
- package/src/components/summary/summary_box/SummaryBoxComposition.module.scss +0 -3
- package/src/components/summary/summary_box/index.js +0 -1
- package/src/components/tag/tag/Tag.docs.mdx +0 -19
- package/src/components/tag/tag/Tag.jsx +0 -35
- package/src/components/tag/tag/Tag.module.scss +0 -34
- package/src/components/tag/tag/Tag.stories.jsx +0 -70
- package/src/components/tag/tag/Tag.test.jsx +0 -29
- package/src/components/tag/tag/index.js +0 -1
- package/src/components/text/expandable_text/ArrowIcon.jsx +0 -7
- package/src/components/text/expandable_text/ExpandableText.docs.mdx +0 -42
- package/src/components/text/expandable_text/ExpandableText.jsx +0 -81
- package/src/components/text/expandable_text/ExpandableText.module.scss +0 -76
- package/src/components/text/expandable_text/ExpandableText.stories.jsx +0 -63
- package/src/components/text/expandable_text/ExpandableText.test.jsx +0 -23
- package/src/components/text/expandable_text/index.js +0 -1
- package/src/components/text/read_more/ReadMore.docs.mdx +0 -23
- package/src/components/text/read_more/ReadMore.jsx +0 -104
- package/src/components/text/read_more/ReadMore.module.scss +0 -51
- package/src/components/text/read_more/ReadMore.stories.jsx +0 -141
- package/src/components/text/read_more/ReadMore.test.jsx +0 -87
- package/src/components/text/read_more/index.js +0 -1
- package/src/components/tools/hash_scroll/HashScroll.docs.mdx +0 -27
- package/src/components/tools/hash_scroll/HashScroll.jsx +0 -36
- package/src/components/tools/hash_scroll/HashScroll.test.jsx +0 -66
- package/src/components/tools/hash_scroll/index.js +0 -1
- package/src/components/tools/scroll_to_top/ScrollToTop.docs.mdx +0 -28
- package/src/components/tools/scroll_to_top/ScrollToTop.jsx +0 -22
- package/src/components/tools/scroll_to_top/ScrollToTop.stories.jsx +0 -40
- package/src/components/tools/scroll_to_top/ScrollToTop.test.jsx +0 -36
- package/src/components/tools/scroll_to_top/index.js +0 -1
- package/src/components/translation/translated_content/TranslatedContent.jsx +0 -24
- package/src/components/translation/translated_content/TranslatedContent.test.jsx +0 -30
- package/src/components/translation/translated_content/index.js +0 -3
- package/src/components/translation/translated_content/useTranslatedContent.docs.mdx +0 -80
- package/src/components/translation/translated_content/useTranslatedContent.jsx +0 -57
- package/src/components/translation/translated_content/useTranslatedContent.test.jsx +0 -118
- package/src/components/translation/translation_button/TranslationButton.docs.mdx +0 -18
- package/src/components/translation/translation_button/TranslationButton.jsx +0 -46
- package/src/components/translation/translation_button/TranslationButton.module.scss +0 -10
- package/src/components/translation/translation_button/TranslationButton.stories.jsx +0 -30
- package/src/components/translation/translation_button/TranslationButton.test.jsx +0 -35
- package/src/components/translation/translation_button/index.js +0 -1
- package/src/components/user/author_box/AuthorBox.docs.mdx +0 -35
- package/src/components/user/author_box/AuthorBox.jsx +0 -128
- package/src/components/user/author_box/AuthorBox.module.scss +0 -110
- package/src/components/user/author_box/AuthorBox.stories.jsx +0 -193
- package/src/components/user/author_box/AuthorBox.test.jsx +0 -171
- package/src/components/user/author_box/index.js +0 -1
- package/src/components/user/avatar/Avatar.docs.mdx +0 -31
- package/src/components/user/avatar/Avatar.jsx +0 -63
- package/src/components/user/avatar/Avatar.module.scss +0 -30
- package/src/components/user/avatar/Avatar.stories.jsx +0 -79
- package/src/components/user/avatar/Avatar.test.jsx +0 -114
- package/src/components/user/avatar/DefaultAvatar.jsx +0 -13
- package/src/components/user/avatar/index.js +0 -1
- package/src/components/user/avatar_selector/AvatarSelector.docs.mdx +0 -25
- package/src/components/user/avatar_selector/AvatarSelector.jsx +0 -65
- package/src/components/user/avatar_selector/AvatarSelector.module.scss +0 -105
- package/src/components/user/avatar_selector/AvatarSelector.stories.jsx +0 -46
- package/src/components/user/avatar_selector/AvatarSelector.test.jsx +0 -98
- package/src/components/user/avatar_selector/index.js +0 -1
- package/src/components/user/update_user_info_modal/UpdateUserInfoModal.docs.mdx +0 -22
- package/src/components/user/update_user_info_modal/UpdateUserInfoModal.jsx +0 -254
- package/src/components/user/update_user_info_modal/UpdateUserInfoModal.module.scss +0 -176
- package/src/components/user/update_user_info_modal/UpdateUserInfoModal.stories.jsx +0 -113
- package/src/components/user/update_user_info_modal/UpdateUserInfoModal.test.jsx +0 -213
- package/src/components/user/update_user_info_modal/index.js +0 -2
- package/src/components/user/update_user_info_modal/useUpdateUserInfo.jsx +0 -40
- package/src/components/user/user_box/UserBox.docs.mdx +0 -21
- package/src/components/user/user_box/UserBox.jsx +0 -59
- package/src/components/user/user_box/UserBox.module.scss +0 -86
- package/src/components/user/user_box/UserBox.stories.jsx +0 -82
- package/src/components/user/user_box/UserBox.test.jsx +0 -95
- package/src/components/user/user_box/index.js +0 -1
- package/src/components/user/user_box_small/UserBoxSmall.docs.mdx +0 -20
- package/src/components/user/user_box_small/UserBoxSmall.jsx +0 -36
- package/src/components/user/user_box_small/UserBoxSmall.module.scss +0 -21
- package/src/components/user/user_box_small/UserBoxSmall.stories.jsx +0 -38
- package/src/components/user/user_box_small/UserBoxSmall.test.jsx +0 -49
- package/src/components/user/user_box_small/index.js +0 -1
- package/src/components/user_content/content_footer/ContentFooter.docs.mdx +0 -36
- package/src/components/user_content/content_footer/ContentFooter.jsx +0 -234
- package/src/components/user_content/content_footer/ContentFooter.module.scss +0 -79
- package/src/components/user_content/content_footer/ContentFooter.stories.jsx +0 -438
- package/src/components/user_content/content_footer/ContentFooter.test.jsx +0 -246
- package/src/components/user_content/content_footer/index.js +0 -1
- package/src/components/user_content/content_header/ContentHeader.docs.mdx +0 -27
- package/src/components/user_content/content_header/ContentHeader.jsx +0 -131
- package/src/components/user_content/content_header/ContentHeader.module.scss +0 -111
- package/src/components/user_content/content_header/ContentHeader.stories.jsx +0 -221
- package/src/components/user_content/content_header/ContentHeader.test.jsx +0 -98
- package/src/components/user_content/content_header/index.js +0 -1
- package/src/components/user_content/summary_content_box/SummaryContentBox.docs.mdx +0 -25
- package/src/components/user_content/summary_content_box/SummaryContentBox.jsx +0 -89
- package/src/components/user_content/summary_content_box/SummaryContentBox.module.scss +0 -65
- package/src/components/user_content/summary_content_box/SummaryContentBox.stories.jsx +0 -130
- package/src/components/user_content/summary_content_box/SummaryContentBox.test.jsx +0 -169
- package/src/components/user_content/summary_content_box/index.js +0 -1
- package/src/components/user_content/use_delete_content/index.js +0 -1
- package/src/components/user_content/use_delete_content/useDeleteContent.docs.mdx +0 -34
- package/src/components/user_content/use_delete_content/useDeleteContent.jsx +0 -55
- package/src/components/user_content/use_delete_content/useDeleteContent.test.jsx +0 -78
- package/src/components/user_content/use_report_content/ReportModal.docs.mdx +0 -54
- package/src/components/user_content/use_report_content/ReportModal.jsx +0 -187
- package/src/components/user_content/use_report_content/ReportModal.module.scss +0 -121
- package/src/components/user_content/use_report_content/ReportModal.stories.jsx +0 -61
- package/src/components/user_content/use_report_content/ReportModal.test.jsx +0 -51
- package/src/components/user_content/use_report_content/index.js +0 -2
- package/src/components/user_content/use_report_content/useReportContent.docs.mdx +0 -24
- package/src/components/user_content/use_report_content/useReportContent.jsx +0 -32
- package/src/components/user_content/use_report_content/useReportContent.test.jsx +0 -138
- package/src/components/util/lang_emojis/index.js +0 -1
- package/src/components/util/lang_emojis/langEmojis.docs.mdx +0 -10
- package/src/components/util/lang_emojis/langEmojis.js +0 -72
- package/src/components/util/lang_emojis/langEmojis.test.jsx +0 -63
- package/src/components/util/location/Location.docs.mdx +0 -18
- package/src/components/util/location/Location.js +0 -84
- package/src/components/util/location/Location.test.jsx +0 -24
- package/src/components/util/location/index.js +0 -1
- package/src/components/util/unique_by/index.js +0 -1
- package/src/components/util/unique_by/uniqueBy.docs.mdx +0 -24
- package/src/components/util/unique_by/uniqueBy.js +0 -9
- package/src/components/util/unique_by/uniqueBy.test.jsx +0 -29
- package/src/components/vote/suggestion_vote_box/SuggestionVoteBox.docs.mdx +0 -24
- package/src/components/vote/suggestion_vote_box/SuggestionVoteBox.jsx +0 -87
- package/src/components/vote/suggestion_vote_box/SuggestionVoteBox.module.scss +0 -17
- package/src/components/vote/suggestion_vote_box/SuggestionVoteBox.stories.jsx +0 -97
- package/src/components/vote/suggestion_vote_box/SuggestionVoteBox.test.jsx +0 -182
- package/src/components/vote/suggestion_vote_box/index.js +0 -1
- package/src/components/vote/up_down_vote_box/UpDownVoteBox.docs.mdx +0 -24
- package/src/components/vote/up_down_vote_box/UpDownVoteBox.jsx +0 -64
- package/src/components/vote/up_down_vote_box/UpDownVoteBox.module.scss +0 -35
- package/src/components/vote/up_down_vote_box/UpDownVoteBox.stories.jsx +0 -97
- package/src/components/vote/up_down_vote_box/UpDownVoteBox.test.jsx +0 -173
- package/src/components/vote/up_down_vote_box/index.js +0 -1
- package/src/components/vote/use_vote/index.js +0 -1
- package/src/components/vote/use_vote/useVote.docs.mdx +0 -42
- package/src/components/vote/use_vote/useVote.jsx +0 -165
- package/src/components/vote/use_vote/useVote.test.jsx +0 -294
- package/src/components/vote/vote_box/VoteBox.docs.mdx +0 -45
- package/src/components/vote/vote_box/VoteBox.jsx +0 -420
- package/src/components/vote/vote_box/VoteBox.module.scss +0 -254
- package/src/components/vote/vote_box/VoteBox.stories.jsx +0 -319
- package/src/components/vote/vote_box/VoteBox.test.jsx +0 -256
- package/src/components/vote/vote_box/index.js +0 -1
- package/src/components/vote/vote_button/VoteButton.docs.mdx +0 -24
- package/src/components/vote/vote_button/VoteButton.jsx +0 -59
- package/src/components/vote/vote_button/VoteButton.module.scss +0 -35
- package/src/components/vote/vote_button/VoteButton.stories.jsx +0 -97
- package/src/components/vote/vote_button/VoteButton.test.jsx +0 -167
- package/src/components/vote/vote_button/index.js +0 -1
- package/src/components/vote/vote_provider/VoteProvider.docs.mdx +0 -68
- package/src/components/vote/vote_provider/VoteProvider.jsx +0 -63
- package/src/components/vote/vote_provider/VoteProvider.stories.jsx +0 -99
- package/src/components/vote/vote_provider/VoteProvider.test.jsx +0 -137
- package/src/components/vote/vote_provider/index.js +0 -2
- package/src/index.js +0 -127
- package/vitest.config.mjs +0 -52
- package/vitest.setup.js +0 -4
package/dist/node_modules/.pnpm/chart.js@4.5.1/node_modules/chart.js/dist/chunks/helpers.dataset.js
ADDED
|
@@ -0,0 +1,1381 @@
|
|
|
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 };
|