@frontify/guideline-blocks-settings 0.27.0 → 0.28.1
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/.eslintrc.js +1 -1
- package/CHANGELOG.md +21 -0
- package/README.md +24 -5
- package/dist/_virtual/_commonjsHelpers.es.js +7 -0
- package/dist/_virtual/_commonjsHelpers.es.js.map +1 -0
- package/dist/_virtual/index.es.js +5 -0
- package/dist/_virtual/index.es.js.map +1 -0
- package/dist/_virtual/index.es2.js +5 -0
- package/dist/_virtual/index.es2.js.map +1 -0
- package/dist/_virtual/index.es3.js +5 -0
- package/dist/_virtual/index.es3.js.map +1 -0
- package/dist/_virtual/jsx-runtime.es.js +5 -0
- package/dist/_virtual/jsx-runtime.es.js.map +1 -0
- package/dist/_virtual/react-dom.development.es.js +5 -0
- package/dist/_virtual/react-dom.development.es.js.map +1 -0
- package/dist/_virtual/react-dom.production.min.es.js +5 -0
- package/dist/_virtual/react-dom.production.min.es.js.map +1 -0
- package/dist/_virtual/react-jsx-runtime.development.es.js +5 -0
- package/dist/_virtual/react-jsx-runtime.development.es.js.map +1 -0
- package/dist/_virtual/react-jsx-runtime.production.min.es.js +5 -0
- package/dist/_virtual/react-jsx-runtime.production.min.es.js.map +1 -0
- package/dist/_virtual/react.development.es.js +5 -0
- package/dist/_virtual/react.development.es.js.map +1 -0
- package/dist/_virtual/react.production.min.es.js +5 -0
- package/dist/_virtual/react.production.min.es.js.map +1 -0
- package/dist/_virtual/scheduler.development.es.js +5 -0
- package/dist/_virtual/scheduler.development.es.js.map +1 -0
- package/dist/_virtual/scheduler.production.min.es.js +5 -0
- package/dist/_virtual/scheduler.production.min.es.js.map +1 -0
- package/dist/components/Attachments/AttachmentItem.es.js +180 -0
- package/dist/components/Attachments/AttachmentItem.es.js.map +1 -0
- package/dist/components/Attachments/Attachments.es.js +145 -0
- package/dist/components/Attachments/Attachments.es.js.map +1 -0
- package/dist/components/BlockInjectButton/BlockInjectButton.es.js +150 -0
- package/dist/components/BlockInjectButton/BlockInjectButton.es.js.map +1 -0
- package/dist/components/BlockItemWrapper/BlockItemWrapper.es.js +73 -0
- package/dist/components/BlockItemWrapper/BlockItemWrapper.es.js.map +1 -0
- package/dist/components/BlockItemWrapper/Toolbar.es.js +113 -0
- package/dist/components/BlockItemWrapper/Toolbar.es.js.map +1 -0
- package/dist/components/BlockItemWrapper/constants.es.js +6 -0
- package/dist/components/BlockItemWrapper/constants.es.js.map +1 -0
- package/dist/components/DownloadButton/DownloadButton.es.js +39 -0
- package/dist/components/DownloadButton/DownloadButton.es.js.map +1 -0
- package/dist/components/RichTextEditor/RichTextEditor.es.js +42 -0
- package/dist/components/RichTextEditor/RichTextEditor.es.js.map +1 -0
- package/dist/components/RichTextEditor/SerializedText.es.js +13 -0
- package/dist/components/RichTextEditor/SerializedText.es.js.map +1 -0
- package/dist/components/RichTextEditor/constants.es.js +5 -0
- package/dist/components/RichTextEditor/constants.es.js.map +1 -0
- package/dist/components/RichTextEditor/pluginPresets/defaultPluginsWithLinkChooser.es.js +34 -0
- package/dist/components/RichTextEditor/pluginPresets/defaultPluginsWithLinkChooser.es.js.map +1 -0
- package/dist/components/RichTextEditor/plugins/ButtonPlugin/ButtonMarkupElement/ButtonMarkupElementNode.es.js +54 -0
- package/dist/components/RichTextEditor/plugins/ButtonPlugin/ButtonMarkupElement/ButtonMarkupElementNode.es.js.map +1 -0
- package/dist/components/RichTextEditor/plugins/ButtonPlugin/ButtonMarkupElement/index.es.js +12 -0
- package/dist/components/RichTextEditor/plugins/ButtonPlugin/ButtonMarkupElement/index.es.js.map +1 -0
- package/dist/components/RichTextEditor/plugins/ButtonPlugin/components/ButtonButton.es.js +17 -0
- package/dist/components/RichTextEditor/plugins/ButtonPlugin/components/ButtonButton.es.js.map +1 -0
- package/dist/components/RichTextEditor/plugins/ButtonPlugin/components/ButtonToolbarButton.es.js +30 -0
- package/dist/components/RichTextEditor/plugins/ButtonPlugin/components/ButtonToolbarButton.es.js.map +1 -0
- package/dist/components/RichTextEditor/plugins/ButtonPlugin/components/FloatingButton/CustomFloatingButton.es.js +16 -0
- package/dist/components/RichTextEditor/plugins/ButtonPlugin/components/FloatingButton/CustomFloatingButton.es.js.map +1 -0
- package/dist/components/RichTextEditor/plugins/ButtonPlugin/components/FloatingButton/EditButtonModal/EditModal.es.js +37 -0
- package/dist/components/RichTextEditor/plugins/ButtonPlugin/components/FloatingButton/EditButtonModal/EditModal.es.js.map +1 -0
- package/dist/components/RichTextEditor/plugins/ButtonPlugin/components/FloatingButton/FloatingButton.es.js +25 -0
- package/dist/components/RichTextEditor/plugins/ButtonPlugin/components/FloatingButton/FloatingButton.es.js.map +1 -0
- package/dist/components/RichTextEditor/plugins/ButtonPlugin/components/FloatingButton/FloatingButtonEditButton.es.js +20 -0
- package/dist/components/RichTextEditor/plugins/ButtonPlugin/components/FloatingButton/FloatingButtonEditButton.es.js.map +1 -0
- package/dist/components/RichTextEditor/plugins/ButtonPlugin/components/FloatingButton/FloatingButtonUrlInput.es.js +26 -0
- package/dist/components/RichTextEditor/plugins/ButtonPlugin/components/FloatingButton/FloatingButtonUrlInput.es.js.map +1 -0
- package/dist/components/RichTextEditor/plugins/ButtonPlugin/components/FloatingButton/InsertButtonModal/InsertButtonModal.es.js +69 -0
- package/dist/components/RichTextEditor/plugins/ButtonPlugin/components/FloatingButton/InsertButtonModal/InsertButtonModal.es.js.map +1 -0
- package/dist/components/RichTextEditor/plugins/ButtonPlugin/components/FloatingButton/InsertButtonModal/useInsertModal.es.js +105 -0
- package/dist/components/RichTextEditor/plugins/ButtonPlugin/components/FloatingButton/InsertButtonModal/useInsertModal.es.js.map +1 -0
- package/dist/components/RichTextEditor/plugins/ButtonPlugin/components/FloatingButton/UnlinkButton.es.js +20 -0
- package/dist/components/RichTextEditor/plugins/ButtonPlugin/components/FloatingButton/UnlinkButton.es.js.map +1 -0
- package/dist/components/RichTextEditor/plugins/ButtonPlugin/components/FloatingButton/floatingButtonStore.es.js +32 -0
- package/dist/components/RichTextEditor/plugins/ButtonPlugin/components/FloatingButton/floatingButtonStore.es.js.map +1 -0
- package/dist/components/RichTextEditor/plugins/ButtonPlugin/components/FloatingButton/useFloatingButtonEdit.es.js +58 -0
- package/dist/components/RichTextEditor/plugins/ButtonPlugin/components/FloatingButton/useFloatingButtonEdit.es.js.map +1 -0
- package/dist/components/RichTextEditor/plugins/ButtonPlugin/components/FloatingButton/useFloatingButtonEnter.es.js +19 -0
- package/dist/components/RichTextEditor/plugins/ButtonPlugin/components/FloatingButton/useFloatingButtonEnter.es.js.map +1 -0
- package/dist/components/RichTextEditor/plugins/ButtonPlugin/components/FloatingButton/useFloatingButtonEscape.es.js +26 -0
- package/dist/components/RichTextEditor/plugins/ButtonPlugin/components/FloatingButton/useFloatingButtonEscape.es.js.map +1 -0
- package/dist/components/RichTextEditor/plugins/ButtonPlugin/components/FloatingButton/useFloatingButtonInsert.es.js +43 -0
- package/dist/components/RichTextEditor/plugins/ButtonPlugin/components/FloatingButton/useFloatingButtonInsert.es.js.map +1 -0
- package/dist/components/RichTextEditor/plugins/ButtonPlugin/components/FloatingButton/useVirtualFloatingButton.es.js +18 -0
- package/dist/components/RichTextEditor/plugins/ButtonPlugin/components/FloatingButton/useVirtualFloatingButton.es.js.map +1 -0
- package/dist/components/RichTextEditor/plugins/ButtonPlugin/createButtonPlugin.es.js +62 -0
- package/dist/components/RichTextEditor/plugins/ButtonPlugin/createButtonPlugin.es.js.map +1 -0
- package/dist/components/RichTextEditor/plugins/ButtonPlugin/transforms/insertButton.es.js +13 -0
- package/dist/components/RichTextEditor/plugins/ButtonPlugin/transforms/insertButton.es.js.map +1 -0
- package/dist/components/RichTextEditor/plugins/ButtonPlugin/transforms/submitFloatingButton.es.js +25 -0
- package/dist/components/RichTextEditor/plugins/ButtonPlugin/transforms/submitFloatingButton.es.js.map +1 -0
- package/dist/components/RichTextEditor/plugins/ButtonPlugin/transforms/unwrapButton.es.js +35 -0
- package/dist/components/RichTextEditor/plugins/ButtonPlugin/transforms/unwrapButton.es.js.map +1 -0
- package/dist/components/RichTextEditor/plugins/ButtonPlugin/transforms/upsertButton.es.js +86 -0
- package/dist/components/RichTextEditor/plugins/ButtonPlugin/transforms/upsertButton.es.js.map +1 -0
- package/dist/components/RichTextEditor/plugins/ButtonPlugin/transforms/upsertButtonText.es.js +24 -0
- package/dist/components/RichTextEditor/plugins/ButtonPlugin/transforms/upsertButtonText.es.js.map +1 -0
- package/dist/components/RichTextEditor/plugins/ButtonPlugin/transforms/wrapButton.es.js +19 -0
- package/dist/components/RichTextEditor/plugins/ButtonPlugin/transforms/wrapButton.es.js.map +1 -0
- package/dist/components/RichTextEditor/plugins/ButtonPlugin/utils/createButtonNode.es.js +13 -0
- package/dist/components/RichTextEditor/plugins/ButtonPlugin/utils/createButtonNode.es.js.map +1 -0
- package/dist/components/RichTextEditor/plugins/ButtonPlugin/utils/getButtonStyle.es.js +11 -0
- package/dist/components/RichTextEditor/plugins/ButtonPlugin/utils/getButtonStyle.es.js.map +1 -0
- package/dist/components/RichTextEditor/plugins/ButtonPlugin/utils/getUrl.es.js +10 -0
- package/dist/components/RichTextEditor/plugins/ButtonPlugin/utils/getUrl.es.js.map +1 -0
- package/dist/components/RichTextEditor/plugins/ButtonPlugin/utils/styles.es.js +75 -0
- package/dist/components/RichTextEditor/plugins/ButtonPlugin/utils/styles.es.js.map +1 -0
- package/dist/components/RichTextEditor/plugins/ButtonPlugin/utils/triggerFloatingButton.es.js +18 -0
- package/dist/components/RichTextEditor/plugins/ButtonPlugin/utils/triggerFloatingButton.es.js.map +1 -0
- package/dist/components/RichTextEditor/plugins/ButtonPlugin/utils/triggerFloatingButtonEdit.es.js +17 -0
- package/dist/components/RichTextEditor/plugins/ButtonPlugin/utils/triggerFloatingButtonEdit.es.js.map +1 -0
- package/dist/components/RichTextEditor/plugins/ButtonPlugin/utils/triggerFloatingButtonInsert.es.js +14 -0
- package/dist/components/RichTextEditor/plugins/ButtonPlugin/utils/triggerFloatingButtonInsert.es.js.map +1 -0
- package/dist/components/RichTextEditor/plugins/ButtonPlugin/withButton.es.js +53 -0
- package/dist/components/RichTextEditor/plugins/ButtonPlugin/withButton.es.js.map +1 -0
- package/dist/components/RichTextEditor/plugins/LinkPlugin/FloatingLink/CustomFloatingLink.es.js +19 -0
- package/dist/components/RichTextEditor/plugins/LinkPlugin/FloatingLink/CustomFloatingLink.es.js.map +1 -0
- package/dist/components/RichTextEditor/plugins/LinkPlugin/FloatingLink/EditLinkModal/EditModal.es.js +37 -0
- package/dist/components/RichTextEditor/plugins/LinkPlugin/FloatingLink/EditLinkModal/EditModal.es.js.map +1 -0
- package/dist/components/RichTextEditor/plugins/LinkPlugin/FloatingLink/EditLinkModal/useFloatingLinkEdit.es.js +53 -0
- package/dist/components/RichTextEditor/plugins/LinkPlugin/FloatingLink/EditLinkModal/useFloatingLinkEdit.es.js.map +1 -0
- package/dist/components/RichTextEditor/plugins/LinkPlugin/FloatingLink/FloatingLink.es.js +29 -0
- package/dist/components/RichTextEditor/plugins/LinkPlugin/FloatingLink/FloatingLink.es.js.map +1 -0
- package/dist/components/RichTextEditor/plugins/LinkPlugin/FloatingLink/InsertLinkModal/InsertLinkModal.es.js +8 -0
- package/dist/components/RichTextEditor/plugins/LinkPlugin/FloatingLink/InsertLinkModal/InsertLinkModal.es.js.map +1 -0
- package/dist/components/RichTextEditor/plugins/LinkPlugin/FloatingLink/InsertLinkModal/InsertModal.es.js +80 -0
- package/dist/components/RichTextEditor/plugins/LinkPlugin/FloatingLink/InsertLinkModal/InsertModal.es.js.map +1 -0
- package/dist/components/RichTextEditor/plugins/LinkPlugin/FloatingLink/InsertLinkModal/useFloatingLinkInsert.es.js +40 -0
- package/dist/components/RichTextEditor/plugins/LinkPlugin/FloatingLink/InsertLinkModal/useFloatingLinkInsert.es.js.map +1 -0
- package/dist/components/RichTextEditor/plugins/LinkPlugin/FloatingLink/InsertLinkModal/useInsertModal.es.js +93 -0
- package/dist/components/RichTextEditor/plugins/LinkPlugin/FloatingLink/InsertLinkModal/useInsertModal.es.js.map +1 -0
- package/dist/components/RichTextEditor/plugins/LinkPlugin/LinkButton.es.js +25 -0
- package/dist/components/RichTextEditor/plugins/LinkPlugin/LinkButton.es.js.map +1 -0
- package/dist/components/RichTextEditor/plugins/LinkPlugin/LinkMarkupElement/LinkMarkupElementNode.es.js +27 -0
- package/dist/components/RichTextEditor/plugins/LinkPlugin/LinkMarkupElement/LinkMarkupElementNode.es.js.map +1 -0
- package/dist/components/RichTextEditor/plugins/LinkPlugin/LinkMarkupElement/index.es.js +12 -0
- package/dist/components/RichTextEditor/plugins/LinkPlugin/LinkMarkupElement/index.es.js.map +1 -0
- package/dist/components/RichTextEditor/plugins/LinkPlugin/id.es.js +5 -0
- package/dist/components/RichTextEditor/plugins/LinkPlugin/id.es.js.map +1 -0
- package/dist/components/RichTextEditor/plugins/LinkPlugin/index.es.js +39 -0
- package/dist/components/RichTextEditor/plugins/LinkPlugin/index.es.js.map +1 -0
- package/dist/components/RichTextEditor/plugins/LinkPlugin/utils/getUrl.es.js +18 -0
- package/dist/components/RichTextEditor/plugins/LinkPlugin/utils/getUrl.es.js.map +1 -0
- package/dist/components/RichTextEditor/plugins/LinkPlugin/utils/relativeUrlRegex.es.js +5 -0
- package/dist/components/RichTextEditor/plugins/LinkPlugin/utils/relativeUrlRegex.es.js.map +1 -0
- package/dist/components/RichTextEditor/plugins/LinkPlugin/utils/url.es.js +17 -0
- package/dist/components/RichTextEditor/plugins/LinkPlugin/utils/url.es.js.map +1 -0
- package/dist/components/RichTextEditor/plugins/TextStylePlugins/custom1Plugin.es.js +45 -0
- package/dist/components/RichTextEditor/plugins/TextStylePlugins/custom1Plugin.es.js.map +1 -0
- package/dist/components/RichTextEditor/plugins/TextStylePlugins/custom2Plugin.es.js +45 -0
- package/dist/components/RichTextEditor/plugins/TextStylePlugins/custom2Plugin.es.js.map +1 -0
- package/dist/components/RichTextEditor/plugins/TextStylePlugins/custom3Plugin.es.js +45 -0
- package/dist/components/RichTextEditor/plugins/TextStylePlugins/custom3Plugin.es.js.map +1 -0
- package/dist/components/RichTextEditor/plugins/TextStylePlugins/heading1Plugin.es.js +46 -0
- package/dist/components/RichTextEditor/plugins/TextStylePlugins/heading1Plugin.es.js.map +1 -0
- package/dist/components/RichTextEditor/plugins/TextStylePlugins/heading2Plugin.es.js +39 -0
- package/dist/components/RichTextEditor/plugins/TextStylePlugins/heading2Plugin.es.js.map +1 -0
- package/dist/components/RichTextEditor/plugins/TextStylePlugins/heading3Plugin.es.js +39 -0
- package/dist/components/RichTextEditor/plugins/TextStylePlugins/heading3Plugin.es.js.map +1 -0
- package/dist/components/RichTextEditor/plugins/TextStylePlugins/heading4Plugin.es.js +39 -0
- package/dist/components/RichTextEditor/plugins/TextStylePlugins/heading4Plugin.es.js.map +1 -0
- package/dist/components/RichTextEditor/plugins/TextStylePlugins/helpers.es.js +40 -0
- package/dist/components/RichTextEditor/plugins/TextStylePlugins/helpers.es.js.map +1 -0
- package/dist/components/RichTextEditor/plugins/TextStylePlugins/imageCaptionPlugin.es.js +46 -0
- package/dist/components/RichTextEditor/plugins/TextStylePlugins/imageCaptionPlugin.es.js.map +1 -0
- package/dist/components/RichTextEditor/plugins/TextStylePlugins/imageTitlePlugin.es.js +46 -0
- package/dist/components/RichTextEditor/plugins/TextStylePlugins/imageTitlePlugin.es.js.map +1 -0
- package/dist/components/RichTextEditor/plugins/TextStylePlugins/paragraphPlugin.es.js +41 -0
- package/dist/components/RichTextEditor/plugins/TextStylePlugins/paragraphPlugin.es.js.map +1 -0
- package/dist/components/RichTextEditor/plugins/TextStylePlugins/quotePlugin.es.js +48 -0
- package/dist/components/RichTextEditor/plugins/TextStylePlugins/quotePlugin.es.js.map +1 -0
- package/dist/components/RichTextEditor/plugins/shared/LinkSelector/DocumentLink.es.js +68 -0
- package/dist/components/RichTextEditor/plugins/shared/LinkSelector/DocumentLink.es.js.map +1 -0
- package/dist/components/RichTextEditor/plugins/shared/LinkSelector/DocumentLinks.es.js +55 -0
- package/dist/components/RichTextEditor/plugins/shared/LinkSelector/DocumentLinks.es.js.map +1 -0
- package/dist/components/RichTextEditor/plugins/shared/LinkSelector/LinkSelector.es.js +62 -0
- package/dist/components/RichTextEditor/plugins/shared/LinkSelector/LinkSelector.es.js.map +1 -0
- package/dist/components/RichTextEditor/plugins/shared/LinkSelector/PageLink.es.js +61 -0
- package/dist/components/RichTextEditor/plugins/shared/LinkSelector/PageLink.es.js.map +1 -0
- package/dist/components/RichTextEditor/plugins/shared/LinkSelector/PageLinks.es.js +34 -0
- package/dist/components/RichTextEditor/plugins/shared/LinkSelector/PageLinks.es.js.map +1 -0
- package/dist/components/RichTextEditor/plugins/shared/LinkSelector/SectionLink.es.js +26 -0
- package/dist/components/RichTextEditor/plugins/shared/LinkSelector/SectionLink.es.js.map +1 -0
- package/dist/components/RichTextEditor/plugins/styles.es.js +168 -0
- package/dist/components/RichTextEditor/plugins/styles.es.js.map +1 -0
- package/dist/components/RichTextEditor/serializer/nodes/button.es.js +16 -0
- package/dist/components/RichTextEditor/serializer/nodes/button.es.js.map +1 -0
- package/dist/components/RichTextEditor/serializer/nodes/checkItemNode.es.js +19 -0
- package/dist/components/RichTextEditor/serializer/nodes/checkItemNode.es.js.map +1 -0
- package/dist/components/RichTextEditor/serializer/nodes/default.es.js +17 -0
- package/dist/components/RichTextEditor/serializer/nodes/default.es.js.map +1 -0
- package/dist/components/RichTextEditor/serializer/nodes/link.es.js +15 -0
- package/dist/components/RichTextEditor/serializer/nodes/link.es.js.map +1 -0
- package/dist/components/RichTextEditor/serializer/nodes/mentionHtmlNode.es.js +12 -0
- package/dist/components/RichTextEditor/serializer/nodes/mentionHtmlNode.es.js.map +1 -0
- package/dist/components/RichTextEditor/serializer/serializeNodesToHtmlRecursive.es.js +61 -0
- package/dist/components/RichTextEditor/serializer/serializeNodesToHtmlRecursive.es.js.map +1 -0
- package/dist/components/RichTextEditor/serializer/serializeToHtml.es.js +25 -0
- package/dist/components/RichTextEditor/serializer/serializeToHtml.es.js.map +1 -0
- package/dist/components/RichTextEditor/serializer/utlis/reactCssPropsToCss.es.js +8 -0
- package/dist/components/RichTextEditor/serializer/utlis/reactCssPropsToCss.es.js.map +1 -0
- package/dist/components/RichTextEditor/serializer/utlis/serializeLeafToHtml.es.js +13 -0
- package/dist/components/RichTextEditor/serializer/utlis/serializeLeafToHtml.es.js.map +1 -0
- package/dist/helpers/addHttps.es.js +14 -0
- package/dist/helpers/addHttps.es.js.map +1 -0
- package/dist/helpers/convertToRichTextValue.es.js +6 -0
- package/dist/helpers/convertToRichTextValue.es.js.map +1 -0
- package/dist/helpers/customCoordinatesGetterFactory.es.js +32 -0
- package/dist/helpers/customCoordinatesGetterFactory.es.js.map +1 -0
- package/dist/helpers/hasRichTextValue.es.js +15 -0
- package/dist/helpers/hasRichTextValue.es.js.map +1 -0
- package/dist/helpers/isDownloadable.es.js +6 -0
- package/dist/helpers/isDownloadable.es.js.map +1 -0
- package/dist/helpers/mapColorPalettes.es.js +16 -0
- package/dist/helpers/mapColorPalettes.es.js.map +1 -0
- package/dist/hooks/useAttachments.es.js +31 -0
- package/dist/hooks/useAttachments.es.js.map +1 -0
- package/dist/hooks/useDndSensors.es.js +20 -0
- package/dist/hooks/useDndSensors.es.js.map +1 -0
- package/dist/index.cjs.js +252 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +816 -1
- package/dist/index.es.js +172 -3
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +252 -1
- package/dist/index.umd.js.map +1 -1
- package/dist/settings/background.es.js +22 -0
- package/dist/settings/background.es.js.map +1 -0
- package/dist/settings/border.es.js +61 -0
- package/dist/settings/border.es.js.map +1 -0
- package/dist/settings/borderRadius.es.js +56 -0
- package/dist/settings/borderRadius.es.js.map +1 -0
- package/dist/settings/borderRadiusExtended.es.js +64 -0
- package/dist/settings/borderRadiusExtended.es.js.map +1 -0
- package/dist/settings/defaultValues.es.js +19 -0
- package/dist/settings/defaultValues.es.js.map +1 -0
- package/dist/settings/gutter.es.js +56 -0
- package/dist/settings/gutter.es.js.map +1 -0
- package/dist/settings/margin.es.js +53 -0
- package/dist/settings/margin.es.js.map +1 -0
- package/dist/settings/marginExtended.es.js +65 -0
- package/dist/settings/marginExtended.es.js.map +1 -0
- package/dist/settings/padding.es.js +53 -0
- package/dist/settings/padding.es.js.map +1 -0
- package/dist/settings/paddingExtended.es.js +65 -0
- package/dist/settings/paddingExtended.es.js.map +1 -0
- package/dist/settings/securityDownloadable.es.js +19 -0
- package/dist/settings/securityDownloadable.es.js.map +1 -0
- package/dist/settings/securityGlobalControl.es.js +33 -0
- package/dist/settings/securityGlobalControl.es.js.map +1 -0
- package/dist/settings/types.es.js +48 -0
- package/dist/settings/types.es.js.map +1 -0
- package/dist/style.css +1 -0
- package/dist/utilities/color/getReadableColor.es.js +14 -0
- package/dist/utilities/color/getReadableColor.es.js.map +1 -0
- package/dist/utilities/color/isDark.es.js +10 -0
- package/dist/utilities/color/isDark.es.js.map +1 -0
- package/dist/utilities/color/setAlpha.es.js +6 -0
- package/dist/utilities/color/setAlpha.es.js.map +1 -0
- package/dist/utilities/color/toColorObject.es.js +9 -0
- package/dist/utilities/color/toColorObject.es.js.map +1 -0
- package/dist/utilities/color/toHex8String.es.js +7 -0
- package/dist/utilities/color/toHex8String.es.js.map +1 -0
- package/dist/utilities/color/toHexString.es.js +7 -0
- package/dist/utilities/color/toHexString.es.js.map +1 -0
- package/dist/utilities/color/toRgbaString.es.js +7 -0
- package/dist/utilities/color/toRgbaString.es.js.map +1 -0
- package/dist/utilities/color/toShortRgba.es.js +11 -0
- package/dist/utilities/color/toShortRgba.es.js.map +1 -0
- package/dist/utilities/moveItemInArray.es.js +12 -0
- package/dist/utilities/moveItemInArray.es.js.map +1 -0
- package/dist/utilities/react/getBackgroundColorStyles.es.js +8 -0
- package/dist/utilities/react/getBackgroundColorStyles.es.js.map +1 -0
- package/dist/utilities/react/getBorderStyles.es.js +12 -0
- package/dist/utilities/react/getBorderStyles.es.js.map +1 -0
- package/dist/utilities/react/getRadiusStyles.es.js +8 -0
- package/dist/utilities/react/getRadiusStyles.es.js.map +1 -0
- package/dist/utilities/react/joinClassNames.es.js +5 -0
- package/dist/utilities/react/joinClassNames.es.js.map +1 -0
- package/package.json +46 -10
- package/postcss.config.js +8 -0
- package/setupTests.ts +13 -0
- package/src/components/Attachments/AttachmentItem.tsx +257 -0
- package/src/components/Attachments/Attachments.spec.ct.tsx +151 -0
- package/src/components/Attachments/Attachments.tsx +221 -0
- package/src/components/Attachments/index.ts +4 -0
- package/src/components/Attachments/types.ts +30 -0
- package/src/components/BlockInjectButton/BlockInjectButton.spec.ct.tsx +48 -0
- package/src/components/BlockInjectButton/BlockInjectButton.tsx +212 -0
- package/src/components/BlockInjectButton/index.ts +4 -0
- package/src/components/BlockInjectButton/types.ts +18 -0
- package/src/components/BlockItemWrapper/BlockItemWrapper.spec.ct.tsx +146 -0
- package/src/components/BlockItemWrapper/BlockItemWrapper.tsx +76 -0
- package/src/components/BlockItemWrapper/Toolbar.tsx +128 -0
- package/src/components/BlockItemWrapper/constants.ts +4 -0
- package/src/components/BlockItemWrapper/index.ts +5 -0
- package/src/components/BlockItemWrapper/types.ts +46 -0
- package/src/components/DownloadButton/DownloadButton.spec.ct.tsx +20 -0
- package/src/components/DownloadButton/DownloadButton.tsx +36 -0
- package/src/components/DownloadButton/index.ts +3 -0
- package/src/components/DownloadButton/types.ts +5 -0
- package/src/components/RichTextEditor/RichTextEditor.spec.ct.tsx +204 -0
- package/src/components/RichTextEditor/RichTextEditor.tsx +62 -0
- package/src/components/RichTextEditor/SerializedText.tsx +25 -0
- package/src/components/RichTextEditor/constants.ts +3 -0
- package/src/components/RichTextEditor/index.ts +6 -0
- package/src/components/RichTextEditor/pluginPresets/defaultPluginsWithLinkChooser.tsx +53 -0
- package/src/components/RichTextEditor/pluginPresets/index.ts +3 -0
- package/src/components/RichTextEditor/plugins/ButtonPlugin/ButtonMarkupElement/ButtonMarkupElementNode.tsx +74 -0
- package/src/components/RichTextEditor/plugins/ButtonPlugin/ButtonMarkupElement/index.ts +11 -0
- package/src/components/RichTextEditor/plugins/ButtonPlugin/components/ButtonButton.tsx +20 -0
- package/src/components/RichTextEditor/plugins/ButtonPlugin/components/ButtonToolbarButton.tsx +56 -0
- package/src/components/RichTextEditor/plugins/ButtonPlugin/components/FloatingButton/CustomFloatingButton.tsx +19 -0
- package/src/components/RichTextEditor/plugins/ButtonPlugin/components/FloatingButton/EditButtonModal/EditModal.tsx +42 -0
- package/src/components/RichTextEditor/plugins/ButtonPlugin/components/FloatingButton/FloatingButton.tsx +37 -0
- package/src/components/RichTextEditor/plugins/ButtonPlugin/components/FloatingButton/FloatingButtonEditButton.tsx +22 -0
- package/src/components/RichTextEditor/plugins/ButtonPlugin/components/FloatingButton/FloatingButtonUrlInput.tsx +30 -0
- package/src/components/RichTextEditor/plugins/ButtonPlugin/components/FloatingButton/InsertButtonModal/InsertButtonModal.tsx +81 -0
- package/src/components/RichTextEditor/plugins/ButtonPlugin/components/FloatingButton/InsertButtonModal/types.ts +13 -0
- package/src/components/RichTextEditor/plugins/ButtonPlugin/components/FloatingButton/InsertButtonModal/useInsertModal.ts +143 -0
- package/src/components/RichTextEditor/plugins/ButtonPlugin/components/FloatingButton/UnlinkButton.tsx +31 -0
- package/src/components/RichTextEditor/plugins/ButtonPlugin/components/FloatingButton/floatingButtonStore.ts +46 -0
- package/src/components/RichTextEditor/plugins/ButtonPlugin/components/FloatingButton/index.ts +12 -0
- package/src/components/RichTextEditor/plugins/ButtonPlugin/components/FloatingButton/useFloatingButtonEdit.ts +113 -0
- package/src/components/RichTextEditor/plugins/ButtonPlugin/components/FloatingButton/useFloatingButtonEnter.ts +21 -0
- package/src/components/RichTextEditor/plugins/ButtonPlugin/components/FloatingButton/useFloatingButtonEscape.ts +30 -0
- package/src/components/RichTextEditor/plugins/ButtonPlugin/components/FloatingButton/useFloatingButtonInsert.ts +71 -0
- package/src/components/RichTextEditor/plugins/ButtonPlugin/components/FloatingButton/useVirtualFloatingButton.ts +22 -0
- package/src/components/RichTextEditor/plugins/ButtonPlugin/components/index.ts +3 -0
- package/src/components/RichTextEditor/plugins/ButtonPlugin/createButtonPlugin.ts +116 -0
- package/src/components/RichTextEditor/plugins/ButtonPlugin/index.ts +7 -0
- package/src/components/RichTextEditor/plugins/ButtonPlugin/transforms/index.ts +8 -0
- package/src/components/RichTextEditor/plugins/ButtonPlugin/transforms/insertButton.ts +17 -0
- package/src/components/RichTextEditor/plugins/ButtonPlugin/transforms/submitFloatingButton.ts +40 -0
- package/src/components/RichTextEditor/plugins/ButtonPlugin/transforms/unwrapButton.ts +68 -0
- package/src/components/RichTextEditor/plugins/ButtonPlugin/transforms/upsertButton.ts +198 -0
- package/src/components/RichTextEditor/plugins/ButtonPlugin/transforms/upsertButtonText.ts +40 -0
- package/src/components/RichTextEditor/plugins/ButtonPlugin/transforms/wrapButton.ts +30 -0
- package/src/components/RichTextEditor/plugins/ButtonPlugin/types.ts +13 -0
- package/src/components/RichTextEditor/plugins/ButtonPlugin/utils/createButtonNode.ts +28 -0
- package/src/components/RichTextEditor/plugins/ButtonPlugin/utils/getButtonStyle.ts +14 -0
- package/src/components/RichTextEditor/plugins/ButtonPlugin/utils/getUrl.ts +18 -0
- package/src/components/RichTextEditor/plugins/ButtonPlugin/utils/index.ts +8 -0
- package/src/components/RichTextEditor/plugins/ButtonPlugin/utils/styles.ts +77 -0
- package/src/components/RichTextEditor/plugins/ButtonPlugin/utils/triggerFloatingButton.ts +23 -0
- package/src/components/RichTextEditor/plugins/ButtonPlugin/utils/triggerFloatingButtonEdit.ts +30 -0
- package/src/components/RichTextEditor/plugins/ButtonPlugin/utils/triggerFloatingButtonInsert.ts +45 -0
- package/src/components/RichTextEditor/plugins/ButtonPlugin/withButton.ts +106 -0
- package/src/components/RichTextEditor/plugins/LinkPlugin/FloatingLink/CustomFloatingLink.tsx +26 -0
- package/src/components/RichTextEditor/plugins/LinkPlugin/FloatingLink/EditLinkModal/EditModal.tsx +43 -0
- package/src/components/RichTextEditor/plugins/LinkPlugin/FloatingLink/EditLinkModal/index.ts +4 -0
- package/src/components/RichTextEditor/plugins/LinkPlugin/FloatingLink/EditLinkModal/useFloatingLinkEdit.ts +113 -0
- package/src/components/RichTextEditor/plugins/LinkPlugin/FloatingLink/FloatingLink.tsx +45 -0
- package/src/components/RichTextEditor/plugins/LinkPlugin/FloatingLink/InsertLinkModal/InsertLinkModal.tsx +5 -0
- package/src/components/RichTextEditor/plugins/LinkPlugin/FloatingLink/InsertLinkModal/InsertModal.tsx +105 -0
- package/src/components/RichTextEditor/plugins/LinkPlugin/FloatingLink/InsertLinkModal/index.ts +4 -0
- package/src/components/RichTextEditor/plugins/LinkPlugin/FloatingLink/InsertLinkModal/types.ts +16 -0
- package/src/components/RichTextEditor/plugins/LinkPlugin/FloatingLink/InsertLinkModal/useFloatingLinkInsert.ts +73 -0
- package/src/components/RichTextEditor/plugins/LinkPlugin/FloatingLink/InsertLinkModal/useInsertModal.ts +136 -0
- package/src/components/RichTextEditor/plugins/LinkPlugin/LinkButton.tsx +38 -0
- package/src/components/RichTextEditor/plugins/LinkPlugin/LinkMarkupElement/LinkMarkupElementNode.tsx +36 -0
- package/src/components/RichTextEditor/plugins/LinkPlugin/LinkMarkupElement/index.ts +11 -0
- package/src/components/RichTextEditor/plugins/LinkPlugin/id.ts +3 -0
- package/src/components/RichTextEditor/plugins/LinkPlugin/index.ts +48 -0
- package/src/components/RichTextEditor/plugins/LinkPlugin/types.ts +12 -0
- package/src/components/RichTextEditor/plugins/LinkPlugin/utils/getUrl.ts +30 -0
- package/src/components/RichTextEditor/plugins/LinkPlugin/utils/index.ts +4 -0
- package/src/components/RichTextEditor/plugins/LinkPlugin/utils/relativeUrlRegex.spec.ts +35 -0
- package/src/components/RichTextEditor/plugins/LinkPlugin/utils/relativeUrlRegex.ts +3 -0
- package/src/components/RichTextEditor/plugins/LinkPlugin/utils/url.spec.ts +75 -0
- package/src/components/RichTextEditor/plugins/LinkPlugin/utils/url.ts +21 -0
- package/src/components/RichTextEditor/plugins/TextStylePlugins/custom1Plugin.tsx +61 -0
- package/src/components/RichTextEditor/plugins/TextStylePlugins/custom2Plugin.tsx +61 -0
- package/src/components/RichTextEditor/plugins/TextStylePlugins/custom3Plugin.tsx +62 -0
- package/src/components/RichTextEditor/plugins/TextStylePlugins/heading1Plugin.tsx +61 -0
- package/src/components/RichTextEditor/plugins/TextStylePlugins/heading2Plugin.tsx +58 -0
- package/src/components/RichTextEditor/plugins/TextStylePlugins/heading3Plugin.tsx +58 -0
- package/src/components/RichTextEditor/plugins/TextStylePlugins/heading4Plugin.tsx +59 -0
- package/src/components/RichTextEditor/plugins/TextStylePlugins/helpers.tsx +44 -0
- package/src/components/RichTextEditor/plugins/TextStylePlugins/imageCaptionPlugin.tsx +61 -0
- package/src/components/RichTextEditor/plugins/TextStylePlugins/imageTitlePlugin.tsx +61 -0
- package/src/components/RichTextEditor/plugins/TextStylePlugins/index.ts +15 -0
- package/src/components/RichTextEditor/plugins/TextStylePlugins/paragraphPlugin.tsx +58 -0
- package/src/components/RichTextEditor/plugins/TextStylePlugins/quotePlugin.tsx +62 -0
- package/src/components/RichTextEditor/plugins/index.ts +6 -0
- package/src/components/RichTextEditor/plugins/shared/LinkSelector/DocumentLink.tsx +80 -0
- package/src/components/RichTextEditor/plugins/shared/LinkSelector/DocumentLinks.tsx +97 -0
- package/src/components/RichTextEditor/plugins/shared/LinkSelector/LinkSelector.spec.ct.tsx +138 -0
- package/src/components/RichTextEditor/plugins/shared/LinkSelector/LinkSelector.tsx +80 -0
- package/src/components/RichTextEditor/plugins/shared/LinkSelector/PageLink.tsx +83 -0
- package/src/components/RichTextEditor/plugins/shared/LinkSelector/PageLinks.tsx +68 -0
- package/src/components/RichTextEditor/plugins/shared/LinkSelector/SectionLink.tsx +37 -0
- package/src/components/RichTextEditor/plugins/shared/LinkSelector/index.ts +3 -0
- package/src/components/RichTextEditor/plugins/styles.ts +179 -0
- package/src/components/RichTextEditor/serializer/index.ts +3 -0
- package/src/components/RichTextEditor/serializer/nodes/button.ts +25 -0
- package/src/components/RichTextEditor/serializer/nodes/checkItemNode.ts +29 -0
- package/src/components/RichTextEditor/serializer/nodes/default.ts +52 -0
- package/src/components/RichTextEditor/serializer/nodes/link.ts +25 -0
- package/src/components/RichTextEditor/serializer/nodes/mentionHtmlNode.ts +17 -0
- package/src/components/RichTextEditor/serializer/serializeNodesToHtmlRecursive.ts +134 -0
- package/src/components/RichTextEditor/serializer/serializeToHtml.ts +49 -0
- package/src/components/RichTextEditor/serializer/utlis/reactCssPropsToCss.ts +21 -0
- package/src/components/RichTextEditor/serializer/utlis/serializeLeafToHtml.ts +32 -0
- package/src/components/RichTextEditor/types.ts +23 -0
- package/src/components/index.ts +7 -0
- package/src/helpers/addHttps.spec.ts +42 -0
- package/src/helpers/addHttps.ts +15 -0
- package/src/helpers/convertToRichTextValue.spec.ts +32 -0
- package/src/helpers/convertToRichTextValue.ts +6 -0
- package/src/helpers/customCoordinatesGetterFactory.spec.ts +69 -0
- package/src/helpers/customCoordinatesGetterFactory.ts +39 -0
- package/src/helpers/hasRichTextValue.spec.ts +63 -0
- package/src/helpers/hasRichTextValue.ts +29 -0
- package/src/helpers/index.ts +8 -0
- package/src/helpers/isDownloadable.spec.ts +47 -0
- package/src/helpers/isDownloadable.ts +7 -0
- package/src/helpers/mapColorPalettes.spec.ts +146 -0
- package/src/helpers/mapColorPalettes.ts +22 -0
- package/src/hooks/index.ts +4 -0
- package/src/hooks/useAttachments.spec.ts +79 -0
- package/src/hooks/useAttachments.ts +46 -0
- package/src/hooks/useDndSensors.spec.ts +40 -0
- package/src/hooks/useDndSensors.ts +23 -0
- package/src/index.ts +8 -0
- package/src/settings/background.spec.ts +173 -0
- package/src/settings/background.ts +49 -0
- package/src/settings/border.spec.ts +76 -0
- package/src/settings/border.ts +90 -0
- package/src/settings/borderRadius.spec.ts +30 -0
- package/src/settings/borderRadius.ts +73 -0
- package/src/settings/borderRadiusExtended.spec.ts +52 -0
- package/src/settings/borderRadiusExtended.ts +84 -0
- package/src/settings/defaultValues.ts +21 -0
- package/src/settings/gutter.spec.ts +60 -0
- package/src/settings/gutter.ts +75 -0
- package/src/settings/index.ts +14 -0
- package/src/settings/margin.spec.ts +42 -0
- package/src/settings/margin.ts +72 -0
- package/src/settings/marginExtended.spec.ts +45 -0
- package/src/settings/marginExtended.ts +91 -0
- package/src/settings/padding.spec.ts +42 -0
- package/src/settings/padding.ts +73 -0
- package/src/settings/paddingExtended.spec.ts +45 -0
- package/src/settings/paddingExtended.ts +91 -0
- package/src/settings/security.spec.ts +87 -0
- package/src/settings/security.ts +61 -0
- package/src/settings/securityDownloadable.spec.ts +46 -0
- package/src/settings/securityDownloadable.ts +33 -0
- package/src/settings/securityGlobalControl.ts +42 -0
- package/src/settings/types.ts +128 -0
- package/src/utilities/color/getReadableColor.spec.ts +32 -0
- package/src/utilities/color/getReadableColor.ts +34 -0
- package/src/utilities/color/index.ts +10 -0
- package/src/utilities/color/isDark.spec.ts +33 -0
- package/src/utilities/color/isDark.ts +29 -0
- package/src/utilities/color/setAlpha.spec.ts +28 -0
- package/src/utilities/color/setAlpha.ts +14 -0
- package/src/utilities/color/toColorObject.spec.ts +19 -0
- package/src/utilities/color/toColorObject.ts +16 -0
- package/src/utilities/color/toHex8String.spec.ts +17 -0
- package/src/utilities/color/toHex8String.ts +14 -0
- package/src/utilities/color/toHexString.spec.ts +17 -0
- package/src/utilities/color/toHexString.ts +10 -0
- package/src/utilities/color/toRgbaString.spec.ts +12 -0
- package/src/utilities/color/toRgbaString.ts +14 -0
- package/src/utilities/color/toShortRgba.spec.ts +16 -0
- package/src/utilities/color/toShortRgba.ts +35 -0
- package/src/utilities/index.ts +5 -0
- package/src/utilities/moveItemInArray.spec.ts +17 -0
- package/src/utilities/moveItemInArray.ts +21 -0
- package/src/utilities/react/getBackgroundColorStyles.spec.ts +18 -0
- package/src/utilities/react/getBackgroundColorStyles.ts +11 -0
- package/src/utilities/react/getBorderStyles.spec.ts +39 -0
- package/src/utilities/react/getBorderStyles.ts +21 -0
- package/src/utilities/react/getRadiusStyles.spec.ts +25 -0
- package/src/utilities/react/getRadiusStyles.ts +8 -0
- package/src/utilities/react/index.ts +6 -0
- package/src/utilities/react/joinClassNames.spec.ts +18 -0
- package/src/utilities/react/joinClassNames.ts +10 -0
- package/tailwind.config.js +27 -0
- package/tsconfig.json +3 -1
- package/vite.config.ts +11 -1
package/dist/index.umd.js
CHANGED
|
@@ -1,2 +1,253 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(J,Ce){typeof exports=="object"&&typeof module<"u"?Ce(exports,require("@frontify/sidebar-settings"),require("@frontify/fondue"),require("@frontify/app-bridge"),require("@dnd-kit/core"),require("@dnd-kit/sortable"),require("@react-aria/focus"),require("@dnd-kit/modifiers"),require("@udecode/plate"),require("escape-html"),require("slate-react"),require("@react-stately/overlays"),require("slate"),require("@ctrl/tinycolor")):typeof define=="function"&&define.amd?define(["exports","@frontify/sidebar-settings","@frontify/fondue","@frontify/app-bridge","@dnd-kit/core","@dnd-kit/sortable","@react-aria/focus","@dnd-kit/modifiers","@udecode/plate","escape-html","slate-react","@react-stately/overlays","slate","@ctrl/tinycolor"],Ce):(J=typeof globalThis<"u"?globalThis:J||self,Ce(J.GuidelineBlocksSettings={},J.sidebarSettings,J.fondue,J.appBridge,J.core,J.sortable,J.focus,J.modifiers,J.plate,J.escapeHtml,J.slateReact,J.overlays,J.slate,J.tinycolor))})(this,function(J,Ce,L,ss,$n,kv,CC,iT,N,wg,wC,lT,uT,ou){"use strict";const jN="";function oT(s){return s&&s.__esModule&&Object.prototype.hasOwnProperty.call(s,"default")?s.default:s}var xg={exports:{}},pd={},bg={exports:{}},Ot={};/**
|
|
2
|
+
* @license React
|
|
3
|
+
* react.production.min.js
|
|
4
|
+
*
|
|
5
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
6
|
+
*
|
|
7
|
+
* This source code is licensed under the MIT license found in the
|
|
8
|
+
* LICENSE file in the root directory of this source tree.
|
|
9
|
+
*/var xC;function sT(){if(xC)return Ot;xC=1;var s=Symbol.for("react.element"),h=Symbol.for("react.portal"),v=Symbol.for("react.fragment"),x=Symbol.for("react.strict_mode"),b=Symbol.for("react.profiler"),j=Symbol.for("react.provider"),E=Symbol.for("react.context"),Q=Symbol.for("react.forward_ref"),A=Symbol.for("react.suspense"),G=Symbol.for("react.memo"),re=Symbol.for("react.lazy"),F=Symbol.iterator;function ne(D){return D===null||typeof D!="object"?null:(D=F&&D[F]||D["@@iterator"],typeof D=="function"?D:null)}var ue={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},be=Object.assign,Xe={};function et(D,te,Se){this.props=D,this.context=te,this.refs=Xe,this.updater=Se||ue}et.prototype.isReactComponent={},et.prototype.setState=function(D,te){if(typeof D!="object"&&typeof D!="function"&&D!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,D,te,"setState")},et.prototype.forceUpdate=function(D){this.updater.enqueueForceUpdate(this,D,"forceUpdate")};function lt(){}lt.prototype=et.prototype;function Qe(D,te,Se){this.props=D,this.context=te,this.refs=Xe,this.updater=Se||ue}var Ve=Qe.prototype=new lt;Ve.constructor=Qe,be(Ve,et.prototype),Ve.isPureReactComponent=!0;var vt=Array.isArray,_e=Object.prototype.hasOwnProperty,De={current:null},Oe={key:!0,ref:!0,__self:!0,__source:!0};function Rt(D,te,Se){var ot,nt={},Nt=null,St=null;if(te!=null)for(ot in te.ref!==void 0&&(St=te.ref),te.key!==void 0&&(Nt=""+te.key),te)_e.call(te,ot)&&!Oe.hasOwnProperty(ot)&&(nt[ot]=te[ot]);var kt=arguments.length-2;if(kt===1)nt.children=Se;else if(1<kt){for(var Et=Array(kt),Qt=0;Qt<kt;Qt++)Et[Qt]=arguments[Qt+2];nt.children=Et}if(D&&D.defaultProps)for(ot in kt=D.defaultProps,kt)nt[ot]===void 0&&(nt[ot]=kt[ot]);return{$$typeof:s,type:D,key:Nt,ref:St,props:nt,_owner:De.current}}function nn(D,te){return{$$typeof:s,type:D.type,key:te,ref:D.ref,props:D.props,_owner:D._owner}}function jt(D){return typeof D=="object"&&D!==null&&D.$$typeof===s}function wt(D){var te={"=":"=0",":":"=2"};return"$"+D.replace(/[=:]/g,function(Se){return te[Se]})}var vn=/\/+/g;function Ge(D,te){return typeof D=="object"&&D!==null&&D.key!=null?wt(""+D.key):te.toString(36)}function dt(D,te,Se,ot,nt){var Nt=typeof D;(Nt==="undefined"||Nt==="boolean")&&(D=null);var St=!1;if(D===null)St=!0;else switch(Nt){case"string":case"number":St=!0;break;case"object":switch(D.$$typeof){case s:case h:St=!0}}if(St)return St=D,nt=nt(St),D=ot===""?"."+Ge(St,0):ot,vt(nt)?(Se="",D!=null&&(Se=D.replace(vn,"$&/")+"/"),dt(nt,te,Se,"",function(Qt){return Qt})):nt!=null&&(jt(nt)&&(nt=nn(nt,Se+(!nt.key||St&&St.key===nt.key?"":(""+nt.key).replace(vn,"$&/")+"/")+D)),te.push(nt)),1;if(St=0,ot=ot===""?".":ot+":",vt(D))for(var kt=0;kt<D.length;kt++){Nt=D[kt];var Et=ot+Ge(Nt,kt);St+=dt(Nt,te,Se,Et,nt)}else if(Et=ne(D),typeof Et=="function")for(D=Et.call(D),kt=0;!(Nt=D.next()).done;)Nt=Nt.value,Et=ot+Ge(Nt,kt++),St+=dt(Nt,te,Se,Et,nt);else if(Nt==="object")throw te=String(D),Error("Objects are not valid as a React child (found: "+(te==="[object Object]"?"object with keys {"+Object.keys(D).join(", ")+"}":te)+"). If you meant to render a collection of children, use an array instead.");return St}function Ue(D,te,Se){if(D==null)return D;var ot=[],nt=0;return dt(D,ot,"","",function(Nt){return te.call(Se,Nt,nt++)}),ot}function ut(D){if(D._status===-1){var te=D._result;te=te(),te.then(function(Se){(D._status===0||D._status===-1)&&(D._status=1,D._result=Se)},function(Se){(D._status===0||D._status===-1)&&(D._status=2,D._result=Se)}),D._status===-1&&(D._status=0,D._result=te)}if(D._status===1)return D._result.default;throw D._result}var ye={current:null},fe={transition:null},je={ReactCurrentDispatcher:ye,ReactCurrentBatchConfig:fe,ReactCurrentOwner:De};return Ot.Children={map:Ue,forEach:function(D,te,Se){Ue(D,function(){te.apply(this,arguments)},Se)},count:function(D){var te=0;return Ue(D,function(){te++}),te},toArray:function(D){return Ue(D,function(te){return te})||[]},only:function(D){if(!jt(D))throw Error("React.Children.only expected to receive a single React element child.");return D}},Ot.Component=et,Ot.Fragment=v,Ot.Profiler=b,Ot.PureComponent=Qe,Ot.StrictMode=x,Ot.Suspense=A,Ot.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=je,Ot.cloneElement=function(D,te,Se){if(D==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+D+".");var ot=be({},D.props),nt=D.key,Nt=D.ref,St=D._owner;if(te!=null){if(te.ref!==void 0&&(Nt=te.ref,St=De.current),te.key!==void 0&&(nt=""+te.key),D.type&&D.type.defaultProps)var kt=D.type.defaultProps;for(Et in te)_e.call(te,Et)&&!Oe.hasOwnProperty(Et)&&(ot[Et]=te[Et]===void 0&&kt!==void 0?kt[Et]:te[Et])}var Et=arguments.length-2;if(Et===1)ot.children=Se;else if(1<Et){kt=Array(Et);for(var Qt=0;Qt<Et;Qt++)kt[Qt]=arguments[Qt+2];ot.children=kt}return{$$typeof:s,type:D.type,key:nt,ref:Nt,props:ot,_owner:St}},Ot.createContext=function(D){return D={$$typeof:E,_currentValue:D,_currentValue2:D,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},D.Provider={$$typeof:j,_context:D},D.Consumer=D},Ot.createElement=Rt,Ot.createFactory=function(D){var te=Rt.bind(null,D);return te.type=D,te},Ot.createRef=function(){return{current:null}},Ot.forwardRef=function(D){return{$$typeof:Q,render:D}},Ot.isValidElement=jt,Ot.lazy=function(D){return{$$typeof:re,_payload:{_status:-1,_result:D},_init:ut}},Ot.memo=function(D,te){return{$$typeof:G,type:D,compare:te===void 0?null:te}},Ot.startTransition=function(D){var te=fe.transition;fe.transition={};try{D()}finally{fe.transition=te}},Ot.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},Ot.useCallback=function(D,te){return ye.current.useCallback(D,te)},Ot.useContext=function(D){return ye.current.useContext(D)},Ot.useDebugValue=function(){},Ot.useDeferredValue=function(D){return ye.current.useDeferredValue(D)},Ot.useEffect=function(D,te){return ye.current.useEffect(D,te)},Ot.useId=function(){return ye.current.useId()},Ot.useImperativeHandle=function(D,te,Se){return ye.current.useImperativeHandle(D,te,Se)},Ot.useInsertionEffect=function(D,te){return ye.current.useInsertionEffect(D,te)},Ot.useLayoutEffect=function(D,te){return ye.current.useLayoutEffect(D,te)},Ot.useMemo=function(D,te){return ye.current.useMemo(D,te)},Ot.useReducer=function(D,te,Se){return ye.current.useReducer(D,te,Se)},Ot.useRef=function(D){return ye.current.useRef(D)},Ot.useState=function(D){return ye.current.useState(D)},Ot.useSyncExternalStore=function(D,te,Se){return ye.current.useSyncExternalStore(D,te,Se)},Ot.useTransition=function(){return ye.current.useTransition()},Ot.version="18.2.0",Ot}var vd={exports:{}};/**
|
|
10
|
+
* @license React
|
|
11
|
+
* react.development.js
|
|
12
|
+
*
|
|
13
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
14
|
+
*
|
|
15
|
+
* This source code is licensed under the MIT license found in the
|
|
16
|
+
* LICENSE file in the root directory of this source tree.
|
|
17
|
+
*/vd.exports;var bC;function cT(){return bC||(bC=1,function(s,h){process.env.NODE_ENV!=="production"&&function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var v="18.2.0",x=Symbol.for("react.element"),b=Symbol.for("react.portal"),j=Symbol.for("react.fragment"),E=Symbol.for("react.strict_mode"),Q=Symbol.for("react.profiler"),A=Symbol.for("react.provider"),G=Symbol.for("react.context"),re=Symbol.for("react.forward_ref"),F=Symbol.for("react.suspense"),ne=Symbol.for("react.suspense_list"),ue=Symbol.for("react.memo"),be=Symbol.for("react.lazy"),Xe=Symbol.for("react.offscreen"),et=Symbol.iterator,lt="@@iterator";function Qe(y){if(y===null||typeof y!="object")return null;var R=et&&y[et]||y[lt];return typeof R=="function"?R:null}var Ve={current:null},vt={transition:null},_e={current:null,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1},De={current:null},Oe={},Rt=null;function nn(y){Rt=y}Oe.setExtraStackFrame=function(y){Rt=y},Oe.getCurrentStack=null,Oe.getStackAddendum=function(){var y="";Rt&&(y+=Rt);var R=Oe.getCurrentStack;return R&&(y+=R()||""),y};var jt=!1,wt=!1,vn=!1,Ge=!1,dt=!1,Ue={ReactCurrentDispatcher:Ve,ReactCurrentBatchConfig:vt,ReactCurrentOwner:De};Ue.ReactDebugCurrentFrame=Oe,Ue.ReactCurrentActQueue=_e;function ut(y){{for(var R=arguments.length,$=new Array(R>1?R-1:0),q=1;q<R;q++)$[q-1]=arguments[q];fe("warn",y,$)}}function ye(y){{for(var R=arguments.length,$=new Array(R>1?R-1:0),q=1;q<R;q++)$[q-1]=arguments[q];fe("error",y,$)}}function fe(y,R,$){{var q=Ue.ReactDebugCurrentFrame,ce=q.getStackAddendum();ce!==""&&(R+="%s",$=$.concat([ce]));var Ze=$.map(function(ge){return String(ge)});Ze.unshift("Warning: "+R),Function.prototype.apply.call(console[y],console,Ze)}}var je={};function D(y,R){{var $=y.constructor,q=$&&($.displayName||$.name)||"ReactClass",ce=q+"."+R;if(je[ce])return;ye("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",R,q),je[ce]=!0}}var te={isMounted:function(y){return!1},enqueueForceUpdate:function(y,R,$){D(y,"forceUpdate")},enqueueReplaceState:function(y,R,$,q){D(y,"replaceState")},enqueueSetState:function(y,R,$,q){D(y,"setState")}},Se=Object.assign,ot={};Object.freeze(ot);function nt(y,R,$){this.props=y,this.context=R,this.refs=ot,this.updater=$||te}nt.prototype.isReactComponent={},nt.prototype.setState=function(y,R){if(typeof y!="object"&&typeof y!="function"&&y!=null)throw new Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,y,R,"setState")},nt.prototype.forceUpdate=function(y){this.updater.enqueueForceUpdate(this,y,"forceUpdate")};{var Nt={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]},St=function(y,R){Object.defineProperty(nt.prototype,y,{get:function(){ut("%s(...) is deprecated in plain JavaScript React classes. %s",R[0],R[1])}})};for(var kt in Nt)Nt.hasOwnProperty(kt)&&St(kt,Nt[kt])}function Et(){}Et.prototype=nt.prototype;function Qt(y,R,$){this.props=y,this.context=R,this.refs=ot,this.updater=$||te}var Xr=Qt.prototype=new Et;Xr.constructor=Qt,Se(Xr,nt.prototype),Xr.isPureReactComponent=!0;function br(){var y={current:null};return Object.seal(y),y}var Zr=Array.isArray;function wn(y){return Zr(y)}function tr(y){{var R=typeof Symbol=="function"&&Symbol.toStringTag,$=R&&y[Symbol.toStringTag]||y.constructor.name||"Object";return $}}function Yn(y){try{return Wn(y),!1}catch{return!0}}function Wn(y){return""+y}function An(y){if(Yn(y))return ye("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",tr(y)),Wn(y)}function Jr(y,R,$){var q=y.displayName;if(q)return q;var ce=R.displayName||R.name||"";return ce!==""?$+"("+ce+")":$}function ea(y){return y.displayName||"Context"}function nr(y){if(y==null)return null;if(typeof y.tag=="number"&&ye("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof y=="function")return y.displayName||y.name||null;if(typeof y=="string")return y;switch(y){case j:return"Fragment";case b:return"Portal";case Q:return"Profiler";case E:return"StrictMode";case F:return"Suspense";case ne:return"SuspenseList"}if(typeof y=="object")switch(y.$$typeof){case G:var R=y;return ea(R)+".Consumer";case A:var $=y;return ea($._context)+".Provider";case re:return Jr(y,y.render,"ForwardRef");case ue:var q=y.displayName||null;return q!==null?q:nr(y.type)||"Memo";case be:{var ce=y,Ze=ce._payload,ge=ce._init;try{return nr(ge(Ze))}catch{return null}}}return null}var Tr=Object.prototype.hasOwnProperty,ta={key:!0,ref:!0,__self:!0,__source:!0},Rr,Ca,fr;fr={};function na(y){if(Tr.call(y,"ref")){var R=Object.getOwnPropertyDescriptor(y,"ref").get;if(R&&R.isReactWarning)return!1}return y.ref!==void 0}function xn(y){if(Tr.call(y,"key")){var R=Object.getOwnPropertyDescriptor(y,"key").get;if(R&&R.isReactWarning)return!1}return y.key!==void 0}function Ur(y,R){var $=function(){Rr||(Rr=!0,ye("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",R))};$.isReactWarning=!0,Object.defineProperty(y,"key",{get:$,configurable:!0})}function yi(y,R){var $=function(){Ca||(Ca=!0,ye("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",R))};$.isReactWarning=!0,Object.defineProperty(y,"ref",{get:$,configurable:!0})}function wa(y){if(typeof y.ref=="string"&&De.current&&y.__self&&De.current.stateNode!==y.__self){var R=nr(De.current.type);fr[R]||(ye('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',R,y.ref),fr[R]=!0)}}var pe=function(y,R,$,q,ce,Ze,ge){var qe={$$typeof:x,type:y,key:R,ref:$,props:ge,_owner:Ze};return qe._store={},Object.defineProperty(qe._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(qe,"_self",{configurable:!1,enumerable:!1,writable:!1,value:q}),Object.defineProperty(qe,"_source",{configurable:!1,enumerable:!1,writable:!1,value:ce}),Object.freeze&&(Object.freeze(qe.props),Object.freeze(qe)),qe};function He(y,R,$){var q,ce={},Ze=null,ge=null,qe=null,bt=null;if(R!=null){na(R)&&(ge=R.ref,wa(R)),xn(R)&&(An(R.key),Ze=""+R.key),qe=R.__self===void 0?null:R.__self,bt=R.__source===void 0?null:R.__source;for(q in R)Tr.call(R,q)&&!ta.hasOwnProperty(q)&&(ce[q]=R[q])}var Bt=arguments.length-2;if(Bt===1)ce.children=$;else if(Bt>1){for(var ln=Array(Bt),tn=0;tn<Bt;tn++)ln[tn]=arguments[tn+2];Object.freeze&&Object.freeze(ln),ce.children=ln}if(y&&y.defaultProps){var un=y.defaultProps;for(q in un)ce[q]===void 0&&(ce[q]=un[q])}if(Ze||ge){var pn=typeof y=="function"?y.displayName||y.name||"Unknown":y;Ze&&Ur(ce,pn),ge&&yi(ce,pn)}return pe(y,Ze,ge,qe,bt,De.current,ce)}function Ct(y,R){var $=pe(y.type,R,y.ref,y._self,y._source,y._owner,y.props);return $}function Yt(y,R,$){if(y==null)throw new Error("React.cloneElement(...): The argument must be a React element, but you passed "+y+".");var q,ce=Se({},y.props),Ze=y.key,ge=y.ref,qe=y._self,bt=y._source,Bt=y._owner;if(R!=null){na(R)&&(ge=R.ref,Bt=De.current),xn(R)&&(An(R.key),Ze=""+R.key);var ln;y.type&&y.type.defaultProps&&(ln=y.type.defaultProps);for(q in R)Tr.call(R,q)&&!ta.hasOwnProperty(q)&&(R[q]===void 0&&ln!==void 0?ce[q]=ln[q]:ce[q]=R[q])}var tn=arguments.length-2;if(tn===1)ce.children=$;else if(tn>1){for(var un=Array(tn),pn=0;pn<tn;pn++)un[pn]=arguments[pn+2];ce.children=un}return pe(y.type,Ze,ge,qe,bt,Bt,ce)}function Gt(y){return typeof y=="object"&&y!==null&&y.$$typeof===x}var Un=".",bn=":";function kr(y){var R=/[=:]/g,$={"=":"=0",":":"=2"},q=y.replace(R,function(ce){return $[ce]});return"$"+q}var en=!1,zr=/\/+/g;function qt(y){return y.replace(zr,"$&/")}function Kt(y,R){return typeof y=="object"&&y!==null&&y.key!=null?(An(y.key),kr(""+y.key)):R.toString(36)}function ii(y,R,$,q,ce){var Ze=typeof y;(Ze==="undefined"||Ze==="boolean")&&(y=null);var ge=!1;if(y===null)ge=!0;else switch(Ze){case"string":case"number":ge=!0;break;case"object":switch(y.$$typeof){case x:case b:ge=!0}}if(ge){var qe=y,bt=ce(qe),Bt=q===""?Un+Kt(qe,0):q;if(wn(bt)){var ln="";Bt!=null&&(ln=qt(Bt)+"/"),ii(bt,R,ln,"",function(Cd){return Cd})}else bt!=null&&(Gt(bt)&&(bt.key&&(!qe||qe.key!==bt.key)&&An(bt.key),bt=Ct(bt,$+(bt.key&&(!qe||qe.key!==bt.key)?qt(""+bt.key)+"/":"")+Bt)),R.push(bt));return 1}var tn,un,pn=0,Lt=q===""?Un:q+bn;if(wn(y))for(var $i=0;$i<y.length;$i++)tn=y[$i],un=Lt+Kt(tn,$i),pn+=ii(tn,R,$,un,ce);else{var ho=Qe(y);if(typeof ho=="function"){var Es=y;ho===Es.entries&&(en||ut("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),en=!0);for(var Ed=ho.call(Es),si,Cs=0;!(si=Ed.next()).done;)tn=si.value,un=Lt+Kt(tn,Cs++),pn+=ii(tn,R,$,un,ce)}else if(Ze==="object"){var ws=String(y);throw new Error("Objects are not valid as a React child (found: "+(ws==="[object Object]"?"object with keys {"+Object.keys(y).join(", ")+"}":ws)+"). If you meant to render a collection of children, use an array instead.")}}return pn}function Fa(y,R,$){if(y==null)return y;var q=[],ce=0;return ii(y,q,"","",function(Ze){return R.call($,Ze,ce++)}),q}function yl(y){var R=0;return Fa(y,function(){R++}),R}function fu(y,R,$){Fa(y,function(){R.apply(this,arguments)},$)}function no(y){return Fa(y,function(R){return R})||[]}function Hi(y){if(!Gt(y))throw new Error("React.Children.only expected to receive a single React element child.");return y}function Sl(y){var R={$$typeof:G,_currentValue:y,_currentValue2:y,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null};R.Provider={$$typeof:A,_context:R};var $=!1,q=!1,ce=!1;{var Ze={$$typeof:G,_context:R};Object.defineProperties(Ze,{Provider:{get:function(){return q||(q=!0,ye("Rendering <Context.Consumer.Provider> is not supported and will be removed in a future major release. Did you mean to render <Context.Provider> instead?")),R.Provider},set:function(ge){R.Provider=ge}},_currentValue:{get:function(){return R._currentValue},set:function(ge){R._currentValue=ge}},_currentValue2:{get:function(){return R._currentValue2},set:function(ge){R._currentValue2=ge}},_threadCount:{get:function(){return R._threadCount},set:function(ge){R._threadCount=ge}},Consumer:{get:function(){return $||($=!0,ye("Rendering <Context.Consumer.Consumer> is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?")),R.Consumer}},displayName:{get:function(){return R.displayName},set:function(ge){ce||(ut("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.",ge),ce=!0)}}}),R.Consumer=Ze}return R._currentRenderer=null,R._currentRenderer2=null,R}var xa=-1,Si=0,ba=1,Ei=2;function jr(y){if(y._status===xa){var R=y._result,$=R();if($.then(function(Ze){if(y._status===Si||y._status===xa){var ge=y;ge._status=ba,ge._result=Ze}},function(Ze){if(y._status===Si||y._status===xa){var ge=y;ge._status=Ei,ge._result=Ze}}),y._status===xa){var q=y;q._status=Si,q._result=$}}if(y._status===ba){var ce=y._result;return ce===void 0&&ye(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
18
|
+
|
|
19
|
+
Your code should look like:
|
|
20
|
+
const MyComponent = lazy(() => import('./MyComponent'))
|
|
21
|
+
|
|
22
|
+
Did you accidentally put curly braces around the import?`,ce),"default"in ce||ye(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
23
|
+
|
|
24
|
+
Your code should look like:
|
|
25
|
+
const MyComponent = lazy(() => import('./MyComponent'))`,ce),ce.default}else throw y._result}function Ta(y){var R={_status:xa,_result:y},$={$$typeof:be,_payload:R,_init:jr};{var q,ce;Object.defineProperties($,{defaultProps:{configurable:!0,get:function(){return q},set:function(Ze){ye("React.lazy(...): It is not supported to assign `defaultProps` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),q=Ze,Object.defineProperty($,"defaultProps",{enumerable:!0})}},propTypes:{configurable:!0,get:function(){return ce},set:function(Ze){ye("React.lazy(...): It is not supported to assign `propTypes` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),ce=Ze,Object.defineProperty($,"propTypes",{enumerable:!0})}}})}return $}function Ci(y){y!=null&&y.$$typeof===ue?ye("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof y!="function"?ye("forwardRef requires a render function but was given %s.",y===null?"null":typeof y):y.length!==0&&y.length!==2&&ye("forwardRef render functions accept exactly two parameters: props and ref. %s",y.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),y!=null&&(y.defaultProps!=null||y.propTypes!=null)&&ye("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?");var R={$$typeof:re,render:y};{var $;Object.defineProperty(R,"displayName",{enumerable:!1,configurable:!0,get:function(){return $},set:function(q){$=q,!y.name&&!y.displayName&&(y.displayName=q)}})}return R}var k;k=Symbol.for("react.module.reference");function ae(y){return!!(typeof y=="string"||typeof y=="function"||y===j||y===Q||dt||y===E||y===F||y===ne||Ge||y===Xe||jt||wt||vn||typeof y=="object"&&y!==null&&(y.$$typeof===be||y.$$typeof===ue||y.$$typeof===A||y.$$typeof===G||y.$$typeof===re||y.$$typeof===k||y.getModuleId!==void 0))}function ve(y,R){ae(y)||ye("memo: The first argument must be a component. Instead received: %s",y===null?"null":typeof y);var $={$$typeof:ue,type:y,compare:R===void 0?null:R};{var q;Object.defineProperty($,"displayName",{enumerable:!1,configurable:!0,get:function(){return q},set:function(ce){q=ce,!y.name&&!y.displayName&&(y.displayName=ce)}})}return $}function Te(){var y=Ve.current;return y===null&&ye(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
|
26
|
+
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
27
|
+
2. You might be breaking the Rules of Hooks
|
|
28
|
+
3. You might have more than one copy of React in the same app
|
|
29
|
+
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`),y}function ht(y){var R=Te();if(y._context!==void 0){var $=y._context;$.Consumer===y?ye("Calling useContext(Context.Consumer) is not supported, may cause bugs, and will be removed in a future major release. Did you mean to call useContext(Context) instead?"):$.Provider===y&&ye("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?")}return R.useContext(y)}function Mt(y){var R=Te();return R.useState(y)}function mt(y,R,$){var q=Te();return q.useReducer(y,R,$)}function Ye(y){var R=Te();return R.useRef(y)}function Fn(y,R){var $=Te();return $.useEffect(y,R)}function fn(y,R){var $=Te();return $.useInsertionEffect(y,R)}function dn(y,R){var $=Te();return $.useLayoutEffect(y,R)}function dr(y,R){var $=Te();return $.useCallback(y,R)}function wi(y,R){var $=Te();return $.useMemo(y,R)}function ro(y,R,$){var q=Te();return q.useImperativeHandle(y,R,$)}function Pt(y,R){{var $=Te();return $.useDebugValue(y,R)}}function yd(){var y=Te();return y.useTransition()}function li(y){var R=Te();return R.useDeferredValue(y)}function xt(){var y=Te();return y.useId()}function xi(y,R,$){var q=Te();return q.useSyncExternalStore(y,R,$)}var El=0,ao,Cl,ra,ms,Pr,gs,ys;function Rc(){}Rc.__reactDisabledLog=!0;function io(){{if(El===0){ao=console.log,Cl=console.info,ra=console.warn,ms=console.error,Pr=console.group,gs=console.groupCollapsed,ys=console.groupEnd;var y={configurable:!0,enumerable:!0,value:Rc,writable:!0};Object.defineProperties(console,{info:y,log:y,warn:y,error:y,group:y,groupCollapsed:y,groupEnd:y})}El++}}function wl(){{if(El--,El===0){var y={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Se({},y,{value:ao}),info:Se({},y,{value:Cl}),warn:Se({},y,{value:ra}),error:Se({},y,{value:ms}),group:Se({},y,{value:Pr}),groupCollapsed:Se({},y,{value:gs}),groupEnd:Se({},y,{value:ys})})}El<0&&ye("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var ui=Ue.ReactCurrentDispatcher,Fr;function xl(y,R,$){{if(Fr===void 0)try{throw Error()}catch(ce){var q=ce.stack.trim().match(/\n( *(at )?)/);Fr=q&&q[1]||""}return`
|
|
30
|
+
`+Fr+y}}var bl=!1,Tl;{var lo=typeof WeakMap=="function"?WeakMap:Map;Tl=new lo}function uo(y,R){if(!y||bl)return"";{var $=Tl.get(y);if($!==void 0)return $}var q;bl=!0;var ce=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var Ze;Ze=ui.current,ui.current=null,io();try{if(R){var ge=function(){throw Error()};if(Object.defineProperty(ge.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(ge,[])}catch(Lt){q=Lt}Reflect.construct(y,[],ge)}else{try{ge.call()}catch(Lt){q=Lt}y.call(ge.prototype)}}else{try{throw Error()}catch(Lt){q=Lt}y()}}catch(Lt){if(Lt&&q&&typeof Lt.stack=="string"){for(var qe=Lt.stack.split(`
|
|
31
|
+
`),bt=q.stack.split(`
|
|
32
|
+
`),Bt=qe.length-1,ln=bt.length-1;Bt>=1&&ln>=0&&qe[Bt]!==bt[ln];)ln--;for(;Bt>=1&&ln>=0;Bt--,ln--)if(qe[Bt]!==bt[ln]){if(Bt!==1||ln!==1)do if(Bt--,ln--,ln<0||qe[Bt]!==bt[ln]){var tn=`
|
|
33
|
+
`+qe[Bt].replace(" at new "," at ");return y.displayName&&tn.includes("<anonymous>")&&(tn=tn.replace("<anonymous>",y.displayName)),typeof y=="function"&&Tl.set(y,tn),tn}while(Bt>=1&&ln>=0);break}}}finally{bl=!1,ui.current=Ze,wl(),Error.prepareStackTrace=ce}var un=y?y.displayName||y.name:"",pn=un?xl(un):"";return typeof y=="function"&&Tl.set(y,pn),pn}function Ii(y,R,$){return uo(y,!1)}function Sd(y){var R=y.prototype;return!!(R&&R.isReactComponent)}function bi(y,R,$){if(y==null)return"";if(typeof y=="function")return uo(y,Sd(y));if(typeof y=="string")return xl(y);switch(y){case F:return xl("Suspense");case ne:return xl("SuspenseList")}if(typeof y=="object")switch(y.$$typeof){case re:return Ii(y.render);case ue:return bi(y.type,R,$);case be:{var q=y,ce=q._payload,Ze=q._init;try{return bi(Ze(ce),R,$)}catch{}}}return""}var It={},oo=Ue.ReactDebugCurrentFrame;function du(y){if(y){var R=y._owner,$=bi(y.type,y._source,R?R.type:null);oo.setExtraStackFrame($)}else oo.setExtraStackFrame(null)}function so(y,R,$,q,ce){{var Ze=Function.call.bind(Tr);for(var ge in y)if(Ze(y,ge)){var qe=void 0;try{if(typeof y[ge]!="function"){var bt=Error((q||"React class")+": "+$+" type `"+ge+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof y[ge]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw bt.name="Invariant Violation",bt}qe=y[ge](R,ge,q,$,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(Bt){qe=Bt}qe&&!(qe instanceof Error)&&(du(ce),ye("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",q||"React class",$,ge,typeof qe),du(null)),qe instanceof Error&&!(qe.message in It)&&(It[qe.message]=!0,du(ce),ye("Failed %s type: %s",$,qe.message),du(null))}}}function Ft(y){if(y){var R=y._owner,$=bi(y.type,y._source,R?R.type:null);nn($)}else nn(null)}var co;co=!1;function fo(){if(De.current){var y=nr(De.current.type);if(y)return`
|
|
34
|
+
|
|
35
|
+
Check the render method of \``+y+"`."}return""}function ct(y){if(y!==void 0){var R=y.fileName.replace(/^.*[\\\/]/,""),$=y.lineNumber;return`
|
|
36
|
+
|
|
37
|
+
Check your code at `+R+":"+$+"."}return""}function pu(y){return y!=null?ct(y.__source):""}var Tn={};function aa(y){var R=fo();if(!R){var $=typeof y=="string"?y:y.displayName||y.name;$&&(R=`
|
|
38
|
+
|
|
39
|
+
Check the top-level render call using <`+$+">.")}return R}function Br(y,R){if(!(!y._store||y._store.validated||y.key!=null)){y._store.validated=!0;var $=aa(R);if(!Tn[$]){Tn[$]=!0;var q="";y&&y._owner&&y._owner!==De.current&&(q=" It was passed a child from "+nr(y._owner.type)+"."),Ft(y),ye('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',$,q),Ft(null)}}}function Rl(y,R){if(typeof y=="object"){if(wn(y))for(var $=0;$<y.length;$++){var q=y[$];Gt(q)&&Br(q,R)}else if(Gt(y))y._store&&(y._store.validated=!0);else if(y){var ce=Qe(y);if(typeof ce=="function"&&ce!==y.entries)for(var Ze=ce.call(y),ge;!(ge=Ze.next()).done;)Gt(ge.value)&&Br(ge.value,R)}}}function Ln(y){{var R=y.type;if(R==null||typeof R=="string")return;var $;if(typeof R=="function")$=R.propTypes;else if(typeof R=="object"&&(R.$$typeof===re||R.$$typeof===ue))$=R.propTypes;else return;if($){var q=nr(R);so($,y.props,"prop",q,y)}else if(R.PropTypes!==void 0&&!co){co=!0;var ce=nr(R);ye("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",ce||"Unknown")}typeof R.getDefaultProps=="function"&&!R.getDefaultProps.isReactClassApproved&&ye("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Xt(y){{for(var R=Object.keys(y.props),$=0;$<R.length;$++){var q=R[$];if(q!=="children"&&q!=="key"){Ft(y),ye("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",q),Ft(null);break}}y.ref!==null&&(Ft(y),ye("Invalid attribute `ref` supplied to `React.Fragment`."),Ft(null))}}function kc(y,R,$){var q=ae(y);if(!q){var ce="";(y===void 0||typeof y=="object"&&y!==null&&Object.keys(y).length===0)&&(ce+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var Ze=pu(R);Ze?ce+=Ze:ce+=fo();var ge;y===null?ge="null":wn(y)?ge="array":y!==void 0&&y.$$typeof===x?(ge="<"+(nr(y.type)||"Unknown")+" />",ce=" Did you accidentally export a JSX literal instead of a component?"):ge=typeof y,ye("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",ge,ce)}var qe=He.apply(this,arguments);if(qe==null)return qe;if(q)for(var bt=2;bt<arguments.length;bt++)Rl(arguments[bt],y);return y===j?Xt(qe):Ln(qe),qe}var ia=!1;function rr(y){var R=kc.bind(null,y);return R.type=y,ia||(ia=!0,ut("React.createFactory() is deprecated and will be removed in a future major release. Consider using JSX or use React.createElement() directly instead.")),Object.defineProperty(R,"type",{enumerable:!1,get:function(){return ut("Factory.type is deprecated. Access the class directly before passing it to createFactory."),Object.defineProperty(this,"type",{value:y}),y}}),R}function Ti(y,R,$){for(var q=Yt.apply(this,arguments),ce=2;ce<arguments.length;ce++)Rl(arguments[ce],q.type);return Ln(q),q}function _c(y,R){var $=vt.transition;vt.transition={};var q=vt.transition;vt.transition._updatedFibers=new Set;try{y()}finally{if(vt.transition=$,$===null&&q._updatedFibers){var ce=q._updatedFibers.size;ce>10&&ut("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."),q._updatedFibers.clear()}}}var Vi=!1,kl=null;function Dc(y){if(kl===null)try{var R=("require"+Math.random()).slice(0,7),$=s&&s[R];kl=$.call(s,"timers").setImmediate}catch{kl=function(ce){Vi===!1&&(Vi=!0,typeof MessageChannel>"u"&&ye("This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."));var Ze=new MessageChannel;Ze.port1.onmessage=ce,Ze.port2.postMessage(void 0)}}return kl(y)}var Ba=0,_l=!1;function Dl(y){{var R=Ba;Ba++,_e.current===null&&(_e.current=[]);var $=_e.isBatchingLegacy,q;try{if(_e.isBatchingLegacy=!0,q=y(),!$&&_e.didScheduleLegacyUpdate){var ce=_e.current;ce!==null&&(_e.didScheduleLegacyUpdate=!1,Ol(ce))}}catch(un){throw Ha(R),un}finally{_e.isBatchingLegacy=$}if(q!==null&&typeof q=="object"&&typeof q.then=="function"){var Ze=q,ge=!1,qe={then:function(un,pn){ge=!0,Ze.then(function(Lt){Ha(R),Ba===0?po(Lt,un,pn):un(Lt)},function(Lt){Ha(R),pn(Lt)})}};return!_l&&typeof Promise<"u"&&Promise.resolve().then(function(){}).then(function(){ge||(_l=!0,ye("You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);"))}),qe}else{var bt=q;if(Ha(R),Ba===0){var Bt=_e.current;Bt!==null&&(Ol(Bt),_e.current=null);var ln={then:function(un,pn){_e.current===null?(_e.current=[],po(bt,un,pn)):un(bt)}};return ln}else{var tn={then:function(un,pn){un(bt)}};return tn}}}}function Ha(y){y!==Ba-1&&ye("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "),Ba=y}function po(y,R,$){{var q=_e.current;if(q!==null)try{Ol(q),Dc(function(){q.length===0?(_e.current=null,R(y)):po(y,R,$)})}catch(ce){$(ce)}else R(y)}}var Ll=!1;function Ol(y){if(!Ll){Ll=!0;var R=0;try{for(;R<y.length;R++){var $=y[R];do $=$(!0);while($!==null)}y.length=0}catch(q){throw y=y.slice(R+1),q}finally{Ll=!1}}}var vu=kc,vo=Ti,Ss=rr,oi={map:Fa,forEach:fu,count:yl,toArray:no,only:Hi};h.Children=oi,h.Component=nt,h.Fragment=j,h.Profiler=Q,h.PureComponent=Qt,h.StrictMode=E,h.Suspense=F,h.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Ue,h.cloneElement=vo,h.createContext=Sl,h.createElement=vu,h.createFactory=Ss,h.createRef=br,h.forwardRef=Ci,h.isValidElement=Gt,h.lazy=Ta,h.memo=ve,h.startTransition=_c,h.unstable_act=Dl,h.useCallback=dr,h.useContext=ht,h.useDebugValue=Pt,h.useDeferredValue=li,h.useEffect=Fn,h.useId=xt,h.useImperativeHandle=ro,h.useInsertionEffect=fn,h.useLayoutEffect=dn,h.useMemo=wi,h.useReducer=mt,h.useRef=Ye,h.useState=Mt,h.useSyncExternalStore=xi,h.useTransition=yd,h.version=v,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()}(vd,vd.exports)),vd.exports}process.env.NODE_ENV==="production"?bg.exports=sT():bg.exports=cT();var Be=bg.exports;/**
|
|
40
|
+
* @license React
|
|
41
|
+
* react-jsx-runtime.production.min.js
|
|
42
|
+
*
|
|
43
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
44
|
+
*
|
|
45
|
+
* This source code is licensed under the MIT license found in the
|
|
46
|
+
* LICENSE file in the root directory of this source tree.
|
|
47
|
+
*/var TC;function fT(){if(TC)return pd;TC=1;var s=Be,h=Symbol.for("react.element"),v=Symbol.for("react.fragment"),x=Object.prototype.hasOwnProperty,b=s.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,j={key:!0,ref:!0,__self:!0,__source:!0};function E(Q,A,G){var re,F={},ne=null,ue=null;G!==void 0&&(ne=""+G),A.key!==void 0&&(ne=""+A.key),A.ref!==void 0&&(ue=A.ref);for(re in A)x.call(A,re)&&!j.hasOwnProperty(re)&&(F[re]=A[re]);if(Q&&Q.defaultProps)for(re in A=Q.defaultProps,A)F[re]===void 0&&(F[re]=A[re]);return{$$typeof:h,type:Q,key:ne,ref:ue,props:F,_owner:b.current}}return pd.Fragment=v,pd.jsx=E,pd.jsxs=E,pd}var hd={};/**
|
|
48
|
+
* @license React
|
|
49
|
+
* react-jsx-runtime.development.js
|
|
50
|
+
*
|
|
51
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
52
|
+
*
|
|
53
|
+
* This source code is licensed under the MIT license found in the
|
|
54
|
+
* LICENSE file in the root directory of this source tree.
|
|
55
|
+
*/var RC;function dT(){return RC||(RC=1,process.env.NODE_ENV!=="production"&&function(){var s=Be,h=Symbol.for("react.element"),v=Symbol.for("react.portal"),x=Symbol.for("react.fragment"),b=Symbol.for("react.strict_mode"),j=Symbol.for("react.profiler"),E=Symbol.for("react.provider"),Q=Symbol.for("react.context"),A=Symbol.for("react.forward_ref"),G=Symbol.for("react.suspense"),re=Symbol.for("react.suspense_list"),F=Symbol.for("react.memo"),ne=Symbol.for("react.lazy"),ue=Symbol.for("react.offscreen"),be=Symbol.iterator,Xe="@@iterator";function et(k){if(k===null||typeof k!="object")return null;var ae=be&&k[be]||k[Xe];return typeof ae=="function"?ae:null}var lt=s.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function Qe(k){{for(var ae=arguments.length,ve=new Array(ae>1?ae-1:0),Te=1;Te<ae;Te++)ve[Te-1]=arguments[Te];Ve("error",k,ve)}}function Ve(k,ae,ve){{var Te=lt.ReactDebugCurrentFrame,ht=Te.getStackAddendum();ht!==""&&(ae+="%s",ve=ve.concat([ht]));var Mt=ve.map(function(mt){return String(mt)});Mt.unshift("Warning: "+ae),Function.prototype.apply.call(console[k],console,Mt)}}var vt=!1,_e=!1,De=!1,Oe=!1,Rt=!1,nn;nn=Symbol.for("react.module.reference");function jt(k){return!!(typeof k=="string"||typeof k=="function"||k===x||k===j||Rt||k===b||k===G||k===re||Oe||k===ue||vt||_e||De||typeof k=="object"&&k!==null&&(k.$$typeof===ne||k.$$typeof===F||k.$$typeof===E||k.$$typeof===Q||k.$$typeof===A||k.$$typeof===nn||k.getModuleId!==void 0))}function wt(k,ae,ve){var Te=k.displayName;if(Te)return Te;var ht=ae.displayName||ae.name||"";return ht!==""?ve+"("+ht+")":ve}function vn(k){return k.displayName||"Context"}function Ge(k){if(k==null)return null;if(typeof k.tag=="number"&&Qe("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof k=="function")return k.displayName||k.name||null;if(typeof k=="string")return k;switch(k){case x:return"Fragment";case v:return"Portal";case j:return"Profiler";case b:return"StrictMode";case G:return"Suspense";case re:return"SuspenseList"}if(typeof k=="object")switch(k.$$typeof){case Q:var ae=k;return vn(ae)+".Consumer";case E:var ve=k;return vn(ve._context)+".Provider";case A:return wt(k,k.render,"ForwardRef");case F:var Te=k.displayName||null;return Te!==null?Te:Ge(k.type)||"Memo";case ne:{var ht=k,Mt=ht._payload,mt=ht._init;try{return Ge(mt(Mt))}catch{return null}}}return null}var dt=Object.assign,Ue=0,ut,ye,fe,je,D,te,Se;function ot(){}ot.__reactDisabledLog=!0;function nt(){{if(Ue===0){ut=console.log,ye=console.info,fe=console.warn,je=console.error,D=console.group,te=console.groupCollapsed,Se=console.groupEnd;var k={configurable:!0,enumerable:!0,value:ot,writable:!0};Object.defineProperties(console,{info:k,log:k,warn:k,error:k,group:k,groupCollapsed:k,groupEnd:k})}Ue++}}function Nt(){{if(Ue--,Ue===0){var k={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:dt({},k,{value:ut}),info:dt({},k,{value:ye}),warn:dt({},k,{value:fe}),error:dt({},k,{value:je}),group:dt({},k,{value:D}),groupCollapsed:dt({},k,{value:te}),groupEnd:dt({},k,{value:Se})})}Ue<0&&Qe("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var St=lt.ReactCurrentDispatcher,kt;function Et(k,ae,ve){{if(kt===void 0)try{throw Error()}catch(ht){var Te=ht.stack.trim().match(/\n( *(at )?)/);kt=Te&&Te[1]||""}return`
|
|
56
|
+
`+kt+k}}var Qt=!1,Xr;{var br=typeof WeakMap=="function"?WeakMap:Map;Xr=new br}function Zr(k,ae){if(!k||Qt)return"";{var ve=Xr.get(k);if(ve!==void 0)return ve}var Te;Qt=!0;var ht=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var Mt;Mt=St.current,St.current=null,nt();try{if(ae){var mt=function(){throw Error()};if(Object.defineProperty(mt.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(mt,[])}catch(Pt){Te=Pt}Reflect.construct(k,[],mt)}else{try{mt.call()}catch(Pt){Te=Pt}k.call(mt.prototype)}}else{try{throw Error()}catch(Pt){Te=Pt}k()}}catch(Pt){if(Pt&&Te&&typeof Pt.stack=="string"){for(var Ye=Pt.stack.split(`
|
|
57
|
+
`),Fn=Te.stack.split(`
|
|
58
|
+
`),fn=Ye.length-1,dn=Fn.length-1;fn>=1&&dn>=0&&Ye[fn]!==Fn[dn];)dn--;for(;fn>=1&&dn>=0;fn--,dn--)if(Ye[fn]!==Fn[dn]){if(fn!==1||dn!==1)do if(fn--,dn--,dn<0||Ye[fn]!==Fn[dn]){var dr=`
|
|
59
|
+
`+Ye[fn].replace(" at new "," at ");return k.displayName&&dr.includes("<anonymous>")&&(dr=dr.replace("<anonymous>",k.displayName)),typeof k=="function"&&Xr.set(k,dr),dr}while(fn>=1&&dn>=0);break}}}finally{Qt=!1,St.current=Mt,Nt(),Error.prepareStackTrace=ht}var wi=k?k.displayName||k.name:"",ro=wi?Et(wi):"";return typeof k=="function"&&Xr.set(k,ro),ro}function wn(k,ae,ve){return Zr(k,!1)}function tr(k){var ae=k.prototype;return!!(ae&&ae.isReactComponent)}function Yn(k,ae,ve){if(k==null)return"";if(typeof k=="function")return Zr(k,tr(k));if(typeof k=="string")return Et(k);switch(k){case G:return Et("Suspense");case re:return Et("SuspenseList")}if(typeof k=="object")switch(k.$$typeof){case A:return wn(k.render);case F:return Yn(k.type,ae,ve);case ne:{var Te=k,ht=Te._payload,Mt=Te._init;try{return Yn(Mt(ht),ae,ve)}catch{}}}return""}var Wn=Object.prototype.hasOwnProperty,An={},Jr=lt.ReactDebugCurrentFrame;function ea(k){if(k){var ae=k._owner,ve=Yn(k.type,k._source,ae?ae.type:null);Jr.setExtraStackFrame(ve)}else Jr.setExtraStackFrame(null)}function nr(k,ae,ve,Te,ht){{var Mt=Function.call.bind(Wn);for(var mt in k)if(Mt(k,mt)){var Ye=void 0;try{if(typeof k[mt]!="function"){var Fn=Error((Te||"React class")+": "+ve+" type `"+mt+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof k[mt]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw Fn.name="Invariant Violation",Fn}Ye=k[mt](ae,mt,Te,ve,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(fn){Ye=fn}Ye&&!(Ye instanceof Error)&&(ea(ht),Qe("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",Te||"React class",ve,mt,typeof Ye),ea(null)),Ye instanceof Error&&!(Ye.message in An)&&(An[Ye.message]=!0,ea(ht),Qe("Failed %s type: %s",ve,Ye.message),ea(null))}}}var Tr=Array.isArray;function ta(k){return Tr(k)}function Rr(k){{var ae=typeof Symbol=="function"&&Symbol.toStringTag,ve=ae&&k[Symbol.toStringTag]||k.constructor.name||"Object";return ve}}function Ca(k){try{return fr(k),!1}catch{return!0}}function fr(k){return""+k}function na(k){if(Ca(k))return Qe("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Rr(k)),fr(k)}var xn=lt.ReactCurrentOwner,Ur={key:!0,ref:!0,__self:!0,__source:!0},yi,wa,pe;pe={};function He(k){if(Wn.call(k,"ref")){var ae=Object.getOwnPropertyDescriptor(k,"ref").get;if(ae&&ae.isReactWarning)return!1}return k.ref!==void 0}function Ct(k){if(Wn.call(k,"key")){var ae=Object.getOwnPropertyDescriptor(k,"key").get;if(ae&&ae.isReactWarning)return!1}return k.key!==void 0}function Yt(k,ae){if(typeof k.ref=="string"&&xn.current&&ae&&xn.current.stateNode!==ae){var ve=Ge(xn.current.type);pe[ve]||(Qe('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',Ge(xn.current.type),k.ref),pe[ve]=!0)}}function Gt(k,ae){{var ve=function(){yi||(yi=!0,Qe("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",ae))};ve.isReactWarning=!0,Object.defineProperty(k,"key",{get:ve,configurable:!0})}}function Un(k,ae){{var ve=function(){wa||(wa=!0,Qe("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",ae))};ve.isReactWarning=!0,Object.defineProperty(k,"ref",{get:ve,configurable:!0})}}var bn=function(k,ae,ve,Te,ht,Mt,mt){var Ye={$$typeof:h,type:k,key:ae,ref:ve,props:mt,_owner:Mt};return Ye._store={},Object.defineProperty(Ye._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(Ye,"_self",{configurable:!1,enumerable:!1,writable:!1,value:Te}),Object.defineProperty(Ye,"_source",{configurable:!1,enumerable:!1,writable:!1,value:ht}),Object.freeze&&(Object.freeze(Ye.props),Object.freeze(Ye)),Ye};function kr(k,ae,ve,Te,ht){{var Mt,mt={},Ye=null,Fn=null;ve!==void 0&&(na(ve),Ye=""+ve),Ct(ae)&&(na(ae.key),Ye=""+ae.key),He(ae)&&(Fn=ae.ref,Yt(ae,ht));for(Mt in ae)Wn.call(ae,Mt)&&!Ur.hasOwnProperty(Mt)&&(mt[Mt]=ae[Mt]);if(k&&k.defaultProps){var fn=k.defaultProps;for(Mt in fn)mt[Mt]===void 0&&(mt[Mt]=fn[Mt])}if(Ye||Fn){var dn=typeof k=="function"?k.displayName||k.name||"Unknown":k;Ye&&Gt(mt,dn),Fn&&Un(mt,dn)}return bn(k,Ye,Fn,ht,Te,xn.current,mt)}}var en=lt.ReactCurrentOwner,zr=lt.ReactDebugCurrentFrame;function qt(k){if(k){var ae=k._owner,ve=Yn(k.type,k._source,ae?ae.type:null);zr.setExtraStackFrame(ve)}else zr.setExtraStackFrame(null)}var Kt;Kt=!1;function ii(k){return typeof k=="object"&&k!==null&&k.$$typeof===h}function Fa(){{if(en.current){var k=Ge(en.current.type);if(k)return`
|
|
60
|
+
|
|
61
|
+
Check the render method of \``+k+"`."}return""}}function yl(k){{if(k!==void 0){var ae=k.fileName.replace(/^.*[\\\/]/,""),ve=k.lineNumber;return`
|
|
62
|
+
|
|
63
|
+
Check your code at `+ae+":"+ve+"."}return""}}var fu={};function no(k){{var ae=Fa();if(!ae){var ve=typeof k=="string"?k:k.displayName||k.name;ve&&(ae=`
|
|
64
|
+
|
|
65
|
+
Check the top-level render call using <`+ve+">.")}return ae}}function Hi(k,ae){{if(!k._store||k._store.validated||k.key!=null)return;k._store.validated=!0;var ve=no(ae);if(fu[ve])return;fu[ve]=!0;var Te="";k&&k._owner&&k._owner!==en.current&&(Te=" It was passed a child from "+Ge(k._owner.type)+"."),qt(k),Qe('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',ve,Te),qt(null)}}function Sl(k,ae){{if(typeof k!="object")return;if(ta(k))for(var ve=0;ve<k.length;ve++){var Te=k[ve];ii(Te)&&Hi(Te,ae)}else if(ii(k))k._store&&(k._store.validated=!0);else if(k){var ht=et(k);if(typeof ht=="function"&&ht!==k.entries)for(var Mt=ht.call(k),mt;!(mt=Mt.next()).done;)ii(mt.value)&&Hi(mt.value,ae)}}}function xa(k){{var ae=k.type;if(ae==null||typeof ae=="string")return;var ve;if(typeof ae=="function")ve=ae.propTypes;else if(typeof ae=="object"&&(ae.$$typeof===A||ae.$$typeof===F))ve=ae.propTypes;else return;if(ve){var Te=Ge(ae);nr(ve,k.props,"prop",Te,k)}else if(ae.PropTypes!==void 0&&!Kt){Kt=!0;var ht=Ge(ae);Qe("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",ht||"Unknown")}typeof ae.getDefaultProps=="function"&&!ae.getDefaultProps.isReactClassApproved&&Qe("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Si(k){{for(var ae=Object.keys(k.props),ve=0;ve<ae.length;ve++){var Te=ae[ve];if(Te!=="children"&&Te!=="key"){qt(k),Qe("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",Te),qt(null);break}}k.ref!==null&&(qt(k),Qe("Invalid attribute `ref` supplied to `React.Fragment`."),qt(null))}}function ba(k,ae,ve,Te,ht,Mt){{var mt=jt(k);if(!mt){var Ye="";(k===void 0||typeof k=="object"&&k!==null&&Object.keys(k).length===0)&&(Ye+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var Fn=yl(ht);Fn?Ye+=Fn:Ye+=Fa();var fn;k===null?fn="null":ta(k)?fn="array":k!==void 0&&k.$$typeof===h?(fn="<"+(Ge(k.type)||"Unknown")+" />",Ye=" Did you accidentally export a JSX literal instead of a component?"):fn=typeof k,Qe("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",fn,Ye)}var dn=kr(k,ae,ve,ht,Mt);if(dn==null)return dn;if(mt){var dr=ae.children;if(dr!==void 0)if(Te)if(ta(dr)){for(var wi=0;wi<dr.length;wi++)Sl(dr[wi],k);Object.freeze&&Object.freeze(dr)}else Qe("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else Sl(dr,k)}return k===x?Si(dn):xa(dn),dn}}function Ei(k,ae,ve){return ba(k,ae,ve,!0)}function jr(k,ae,ve){return ba(k,ae,ve,!1)}var Ta=jr,Ci=Ei;hd.Fragment=x,hd.jsx=Ta,hd.jsxs=Ci}()),hd}process.env.NODE_ENV==="production"?xg.exports=fT():xg.exports=dT();var _=xg.exports;const su=s=>s.filter(Boolean).join(" "),pT=({onDrop:s,label:h,icon:v,secondaryLabel:x,isLoading:b,fillParentContainer:j,onAssetChooseClick:E,onUploadClick:Q,withMenu:A=!0,onClick:G,validFileType:re,verticalLayout:F})=>{const[ne,ue]=Be.useState(!1),[be,Xe]=Be.useState(),et=Be.useRef(null),[lt,Qe]=Be.useState(void 0),Ve=De=>{if(De.preventDefault(),ue(!1),!vt(De.dataTransfer.files)){Qe("Invalid"),setTimeout(()=>{Qe(void 0)},1e3);return}s==null||s(De.dataTransfer.files)},vt=De=>{if(!re)return!0;for(let Oe=0;Oe<De.length;Oe++){const Rt=De[Oe].name.split(".").pop()??"";if(!ss.FileExtensionSets[re].includes(Rt))return!1}return!0},_e=De=>{if(!et.current||b)return;const{left:Oe,top:Rt}=et.current.getBoundingClientRect(),nn=De.clientX-Oe,jt=De.clientY-Rt;Xe([nn,jt])};return _.jsxs("button",{ref:et,"data-test-id":"block-inject-button",className:su(["tw-font-body tw-relative tw-text-sm tw-leading-4 tw-border tw-flex tw-items-center tw-justify-center tw-cursor-pointer tw-gap-3 tw-w-full first:tw-rounded-tl last:tw-rounded-br",F?"[&:not(:first-child)]:tw-border-t-0 first:tw-rounded-tr last:tw-rounded-bl":"[&:not(:first-child)]:tw-border-l-0 first:tw-rounded-bl last:tw-rounded-tr",j?"tw-h-full":"tw-h-[72px]",ne&&!b?"tw-border-dashed":"tw-border-solid",be&&"tw-bg-blank-state-pressed-inverse",ne&&"tw-bg-blank-state-weak-inverse",lt?"!tw-border-red-50 !tw-cursor-not-allowed":" tw-border-blank-state-line",b||be||ne||lt?"":"tw-text-text-weak hover:tw-text-blank-state-hover hover:tw-bg-blank-state-hover-inverse hover:tw-border-blank-state-line-hover active:tw-text-blank-state-pressed active:tw-bg-blank-state-pressed-inverse active:tw-border-blank-state-line-hover",(ne||be)&&!lt?"[&>*]:tw-pointer-events-none tw-border-blank-state-line-hover":"tw-bg-blank-state-shaded-inverse tw-text-blank-state-shaded"]),onDragEnter:s?De=>{var Oe;if(ue(!0),re==="Images")for(const Rt of Array.from(De.dataTransfer.items))(Oe=Rt==null?void 0:Rt.type)!=null&&Oe.startsWith("image/")?Qe(void 0):Qe("Invalid")}:void 0,onDragLeave:s?()=>{ue(!1),Qe(void 0)}:void 0,onDrop:s?Ve:void 0,onClick:De=>{A&&_e(De),G==null||G()},children:[b?_.jsx(L.LoadingCircle,{}):lt?_.jsxs("div",{className:" tw-flex tw-items-center tw-justify-center tw-text-red-60 tw-font-medium",children:[_.jsx(L.IconExclamationMarkTriangle,{}),lt]}):_.jsxs(_.Fragment,{children:[v&&_.jsx("div",{children:v}),(h||x)&&_.jsxs("div",{className:"tw-flex tw-flex-col tw-items-start",children:[h&&_.jsx("div",{className:"tw-font-medium",children:h}),x&&_.jsx("div",{className:"tw-font-normal",children:x})]})]}),be&&_.jsx("div",{className:"tw-absolute tw-left-0 tw-top-full tw-z-20",style:{left:be[0],top:be[1]},children:_.jsx(L.Flyout,{onOpenChange:De=>!De&&Xe(void 0),isOpen:!0,fitContent:!0,hug:!1,legacyFooter:!1,trigger:_.jsx("div",{}),children:_.jsx(L.ActionMenu,{menuBlocks:[{id:"menu",menuItems:[...Q?[{id:"upload",size:L.MenuItemContentSize.XSmall,title:"Upload asset",onClick:()=>{Q(),Xe(void 0)},initialValue:!0,decorator:_.jsx("div",{className:"tw-mr-2",children:_.jsx(L.IconArrowCircleUp20,{})})}]:[],...E?[{id:"asset",size:L.MenuItemContentSize.XSmall,title:"Browse asset",onClick:()=>{E(),Xe(void 0)},initialValue:!0,decorator:_.jsx("div",{className:"tw-mr-2",children:_.jsx(L.IconImageStack20,{})})}]:[]]}]})})})]})},cs=s=>{const h=x=>typeof x=="object"&&["red","green","blue"].every(j=>x.hasOwnProperty(j)),v=x=>{const b=typeof x.alpha=="number"?x.alpha:1;return{r:x.red,g:x.green,b:x.blue,a:b}};return h(s)?v(s):s},vT=s=>typeof s=="object"&&["red","green","blue"].every(v=>s==null?void 0:s.hasOwnProperty(v)),hT=(s,h)=>{const v=vT(s)?cs(s):s,x=ou(v);return h?x.getBrightness()<h:x.isDark()||x.getAlpha()>.25&&x.getAlpha()<1},mT=s=>ou(cs(s)).toHex8String(),gT=s=>ou(cs(s)).toHexString(),Tg=s=>ou(cs(s)).toRgbString(),yT=(s,h)=>ou(h).setAlpha(s).toRgbString(),ST=s=>{const{r:h,g:v,b:x,a:b}=ou(s);return{red:h,green:v,blue:x,alpha:b}},kC=s=>typeof s=="object"&&["red","green","blue"].every(v=>s==null?void 0:s.hasOwnProperty(v)),ET=(s,h)=>{const v=kC(s)?cs(s):s,x=kC(h)?cs(h):h;let b=ou(v);const j=ou(x);for(;ou.readability(b,j)<4.5;)b=b.darken(1);return b.toRgbString()},CT=(s,h,v)=>{const x=[...s],b=v<0?x.length+v:v;if(b>=0&&b<x.length){const j=x.splice(h,1)[0];x.splice(b,0,j)}return x},wT=s=>({backgroundColor:Tg(s)});var gl=(s=>(s.Solid="Solid",s.Dashed="Dashed",s.Dotted="Dotted",s))(gl||{});const _C={Solid:"solid",Dotted:"dotted",Dashed:"dashed"};var to=(s=>(s.None="None",s.Small="Small",s.Medium="Medium",s.Large="Large",s))(to||{});const fs={None:"0px",Small:"2px",Medium:"4px",Large:"12px"};var ds=(s=>(s.None="None",s.Small="Small",s.Medium="Medium",s.Large="Large",s))(ds||{});const Ec={None:"0px",Small:"24px",Medium:"36px",Large:"60px"};var ps=(s=>(s.None="None",s.Small="Small",s.Medium="Medium",s.Large="Large",s))(ps||{});const Cc={None:"0px",Small:"24px",Medium:"36px",Large:"60px"};var vs=(s=>(s.Global="Global",s.Custom="Custom",s))(vs||{}),hs=(s=>(s.Auto="Auto",s.S="S",s.M="M",s.L="L",s))(hs||{});const DC={Auto:"4px",S:"10px",M:"30px",L:"50px"},xT={red:241,green:241,blue:241,alpha:1},LC={red:234,green:235,blue:235,alpha:1},bT="1px",md="24px",gd="24px",TT=(s=gl.Solid,h="1px",v=LC)=>({borderStyle:_C[s],borderWidth:h,borderColor:Tg(v)}),RT=(s,h=!1,v)=>({borderRadius:h?v:fs[s]}),OC="Drag or press ↵ to move",NC="Move with ↑↓←→ and confirm with ↵",kT=({items:s,flyoutItems:h,isFlyoutOpen:v,setIsFlyoutOpen:x,isDragging:b,isFlyoutDisabled:j})=>_.jsx("div",{"data-test-id":"block-item-wrapper-toolbar",className:"tw-flex tw-justify-end",children:_.jsxs("div",{className:"tw-bg-white tw-text-box-selected-inverse tw-pointer-events-auto tw-flex tw-flex-shrink-0 tw-gap-[2px] tw-px-[1px] tw-spacing tw-items-center tw-h-7 tw-self-start tw-border tw-border-box-selected-inverse tw-rounded",children:[s.map((E,Q)=>"draggableProps"in E?_.jsx(L.Tooltip,{withArrow:!0,hoverDelay:0,enterDelay:300,open:b,position:L.TooltipPosition.Top,content:_.jsx("div",{children:b?NC:E.tooltip??OC}),triggerElement:_.jsx("button",{ref:E.setActivatorNodeRef,"data-test-id":"block-item-wrapper-toolbar-btn",...E.draggableProps,className:su(["tw-bg-base tw-inline-flex tw-items-center tw-justify-center tw-w-6 tw-h-6 tw-rounded-sm",b?"tw-cursor-grabbing tw-bg-box-selected-pressed":"tw-cursor-grab hover:tw-bg-box-selected-hover"]),children:E.icon})},Q):_.jsx(L.Tooltip,{withArrow:!0,enterDelay:300,hoverDelay:0,disabled:b,position:L.TooltipPosition.Top,content:_.jsx("div",{children:E.tooltip??""}),triggerElement:_.jsx("button",{"data-test-id":"block-item-wrapper-toolbar-btn",onClick:E.onClick,className:"tw-bg-base hover:tw-bg-box-selected-hover active:tw-bg-box-selected-pressed tw-cursor-pointer tw-inline-flex tw-items-center tw-justify-center tw-w-6 tw-h-6 tw-rounded-sm",children:E.icon})},Q)),h.length>0&&_.jsx("div",{className:"tw-flex tw-flex-shrink-0 tw-flex-1 tw-h-6",children:_.jsx(L.Flyout,{isOpen:v&&!b,isTriggerDisabled:j,legacyFooter:!1,fitContent:!0,hug:!1,onOpenChange:x,trigger:_.jsx(L.Tooltip,{withArrow:!0,hoverDelay:0,enterDelay:300,disabled:b,position:L.TooltipPosition.Top,content:_.jsx("div",{children:"Options"}),triggerElement:_.jsx("div",{"data-test-id":"block-item-wrapper-toolbar-flyout",className:"tw-bg-base hover:tw-bg-box-selected-hover active:tw-bg-box-selected-pressed tw-cursor-pointer tw-inline-flex tw-items-center tw-justify-center tw-w-6 tw-h-6 tw-rounded-sm",children:_.jsx(L.IconDotsHorizontal16,{})})}),children:_.jsx(L.ActionMenu,{menuBlocks:h.map((E,Q)=>({id:Q.toString(),menuItems:E.map((A,G)=>({id:Q.toString()+G.toString(),size:L.MenuItemContentSize.XSmall,title:A.title,style:A.style,onClick:()=>{x(!1),A.onClick()},initialValue:!0,decorator:_.jsx("div",{className:"tw-mr-2",children:A.icon})}))}))})})})]})}),_T=({children:s,toolbarFlyoutItems:h,toolbarItems:v,shouldHideWrapper:x,shouldHideComponent:b=!1,isDragging:j,shouldFillContainer:E,outlineOffset:Q=2,shouldBeShown:A=!1})=>{const[G,re]=Be.useState(A),[F,ne]=Be.useState(!1),ue=Be.useRef(null);if(Be.useEffect(()=>{G||ne(!0)},[G]),x)return s;const be=v==null?void 0:v.filter(Xe=>Xe!==void 0);return _.jsxs("div",{ref:ue,onFocus:()=>ne(!1),onPointerEnter:()=>ne(!1),"data-test-id":"block-item-wrapper",style:{outlineOffset:Q},className:su(["tw-relative tw-group tw-outline-1 tw-outline-box-selected-inverse",E&&"tw-flex-1 tw-h-full tw-w-full","hover:tw-outline focus-within:tw-outline",(G||A)&&"tw-outline",b&&"tw-opacity-0"]),children:[_.jsx("div",{style:{right:-1-Q,bottom:`calc(100% - ${2+Q}px)`},className:su(["tw-pointer-events-none tw-absolute tw-bottom-[calc(100%-4px)] tw-right-[-3px] tw-w-full tw-opacity-0 tw-z-10","group-hover:tw-opacity-100 group-focus:tw-opacity-100 focus-within:tw-opacity-100",(G||A)&&"tw-opacity-100"]),children:_.jsx(kT,{isFlyoutOpen:G,isFlyoutDisabled:F,setIsFlyoutOpen:re,flyoutItems:h,items:be,isDragging:j})}),s]})},DT=s=>s==="IMAGE"?_.jsx(L.IconImage24,{}):s==="VIDEO"?_.jsx(L.IconPlayFrame24,{}):s==="AUDIO"?_.jsx(L.IconMusicNote24,{}):_.jsx(L.IconDocument24,{}),Rg=Be.forwardRef(({item:s,isEditing:h,draggableProps:v,transformStyle:x,isDragging:b,isOverlay:j,isLoading:E,onDelete:Q,onReplaceWithBrowse:A,onReplaceWithUpload:G},re)=>{const[F,ne]=Be.useState(),[ue,{selectedFiles:be}]=ss.useFileInput({multiple:!0,accept:"image/*"}),[Xe,{results:et,doneAll:lt}]=ss.useAssetUpload(),{focusProps:Qe,isFocusVisible:Ve}=CC.useFocusRing();Be.useEffect(()=>{be&&Xe(be[0])},[be]),Be.useEffect(()=>{lt&&G(et[0])},[lt,et]);const vt=(De,Oe)=>{fetch(De).then(Rt=>{Rt.blob().then(nn=>{const jt=URL.createObjectURL(nn),wt=document.createElement("a");wt.href=jt,wt.download=Oe,wt.click()})})},_e=E||be&&!lt;return _.jsxs("button",{"aria-label":"Download attachment","data-test-id":"attachments-item",onClick:()=>vt(s.genericUrl,s.fileName),ref:re,style:{...x,opacity:b&&!j?.3:1,fontFamily:"var(-f-theme-settings-body-font-family)"},className:su(["tw-cursor-pointer tw-text-left tw-w-full tw-relative tw-flex tw-gap-3 tw-px-5 tw-py-3 tw-items-center tw-group hover:tw-bg-box-neutral-hover",b?"tw-bg-box-neutral-hover":""]),children:[_.jsx("div",{className:"tw-text-text-weak group-hover:tw-text-box-neutral-inverse-hover",children:_e?_.jsx(L.LoadingCircle,{size:L.LoadingCircleSize.Small}):DT(s.objectType)}),_.jsxs("div",{className:"tw-text-s tw-flex-1 tw-min-w-0",children:[_.jsx("div",{className:"tw-whitespace-nowrap tw-overflow-hidden tw-text-ellipsis tw-font-bold tw-text-text-weak group-hover:tw-text-box-neutral-inverse-hover",children:s.title}),_.jsx("div",{className:"tw-text-text-weak",children:`${s.fileSizeHumanReadable} - ${s.extension}`})]}),h&&_.jsxs("div",{"data-test-id":"attachments-actionbar",className:su(["tw-flex tw-gap-0.5 group-focus:tw-opacity-100 focus-visible:tw-opacity-100 focus-within:tw-opacity-100 group-hover:tw-opacity-100",j||(F==null?void 0:F.id)===s.id?"tw-opacity-100":"tw-opacity-0"]),children:[_.jsx("button",{...Qe,...v,"aria-label":"Drag attachment",className:su([" tw-border-button-border tw-bg-button-background active:tw-bg-button-background-pressed tw-group tw-border tw-box-box tw-relative tw-flex tw-items-center tw-justify-center tw-outline-none tw-font-medium tw-rounded tw-h-9 tw-w-9 ",b||j?"tw-cursor-grabbing tw-bg-button-background-pressed hover:tw-bg-button-background-pressed":"tw-cursor-grab hover:tw-bg-button-background-hover",Ve&&L.FOCUS_STYLE,Ve&&"tw-z-[2]"]),children:_.jsx(L.IconGrabHandle20,{})}),_.jsx("div",{"data-test-id":"attachments-actionbar-flyout",children:_.jsx(L.Flyout,{placement:L.FlyoutPlacement.Right,isOpen:(F==null?void 0:F.id)===s.id,fitContent:!0,legacyFooter:!1,onOpenChange:De=>ne(De?s:void 0),trigger:(De,Oe)=>_.jsx(L.Button,{ref:Oe,icon:_.jsx(L.IconPen20,{}),emphasis:L.ButtonEmphasis.Default,onClick:()=>ne(s)}),children:_.jsx(L.ActionMenu,{menuBlocks:[{id:"menu",menuItems:[{id:"upload",size:L.MenuItemContentSize.XSmall,title:"Replace with upload",onClick:()=>{ue(),ne(void 0)},initialValue:!0,decorator:_.jsx("div",{className:"tw-mr-2",children:_.jsx(L.IconArrowCircleUp20,{})})},{id:"asset",size:L.MenuItemContentSize.XSmall,title:"Replace with asset",onClick:()=>{A(),ne(void 0)},initialValue:!0,decorator:_.jsx("div",{className:"tw-mr-2",children:_.jsx(L.IconImageStack20,{})})}]},{id:"menu-delete",menuItems:[{id:"delete",size:L.MenuItemContentSize.XSmall,title:"Delete",style:L.MenuItemStyle.Danger,onClick:()=>{Q(),ne(void 0)},initialValue:!0,decorator:_.jsx("div",{className:"tw-mr-2",children:_.jsx(L.IconTrashBin20,{})})}]}]})})})]})]})});Rg.displayName="AttachmentItem";const LT=s=>{const{attributes:h,listeners:v,setNodeRef:x,transform:b,transition:j,isDragging:E}=kv.useSortable({id:s.item.id}),Q={transform:b?`translate(${b.x}px, ${b.y}px)`:"",transition:j,zIndex:E?2:1},A={...h,...v};return _.jsx(Rg,{ref:x,isDragging:E,transformStyle:Q,draggableProps:A,...s})},OT=({items:s=[],onDelete:h,onReplaceWithBrowse:v,onReplaceWithUpload:x,onBrowse:b,onUpload:j,onSorted:E,appBridge:Q})=>{const[A,G]=Be.useState(s),[re,F]=Be.useState(!1),ne=$n.useSensors($n.useSensor($n.PointerSensor),$n.useSensor($n.KeyboardSensor)),[ue,be]=Be.useState(void 0),[Xe,et]=Be.useState(!1),[lt,Qe]=Be.useState([]),[Ve,vt]=Be.useState(null),_e=ss.useEditorState(Q),De=A==null?void 0:A.find(Ue=>Ue.id===ue),[Oe,{results:Rt,doneAll:nn}]=ss.useAssetUpload({onUploadProgress:()=>!Xe&&et(!0)});Be.useEffect(()=>{G(s)},[s]),Be.useEffect(()=>{Ve&&(et(!0),Oe(Ve))},[Ve]),Be.useEffect(()=>{(async()=>{nn&&(await j(Rt),et(!1))})()},[nn,Rt]);const jt=()=>{F(!1),Q.openAssetChooser(Ue=>{b(Ue),Q.closeAssetChooser(),F(!0)},{multiSelection:!0,selectedValueIds:A.map(Ue=>Ue.id)})},wt=Ue=>{F(!1),Q.openAssetChooser(async ut=>{F(!0),Q.closeAssetChooser(),Qe([...lt,Ue.id]),await v(Ue,ut[0]),Qe(lt.filter(ye=>ye!==Ue.id))},{multiSelection:!1,selectedValueIds:A.map(ut=>ut.id)})},vn=async(Ue,ut)=>{Qe([...lt,Ue.id]),await x(Ue,ut),Qe(lt.filter(ye=>ye!==Ue.id))},Ge=Ue=>{const{active:ut}=Ue;be(ut.id)},dt=Ue=>{const{active:ut,over:ye}=Ue;if(ye&&ut.id!==ye.id&&A){const fe=A.findIndex(te=>te.id===ut.id),je=A.findIndex(te=>te.id===ye.id),D=kv.arrayMove(A,fe,je);G(D),E(D)}be(void 0)};return _e||((A==null?void 0:A.length)??0)>0?_.jsx(L.Tooltip,{withArrow:!0,position:L.TooltipPosition.Top,content:"Attachments",disabled:re,enterDelay:500,triggerElement:_.jsx("div",{"data-test-id":"attachments-flyout-button",children:_.jsx(L.Flyout,{placement:L.FlyoutPlacement.BottomRight,onOpenChange:Ue=>F(De?!0:Ue),isOpen:re,hug:!1,fitContent:!0,legacyFooter:!1,trigger:_.jsxs("div",{className:"tw-flex tw-text-[13px] tw-font-body tw-items-center tw-gap-1 tw-rounded-full tw-bg-box-neutral-strong-inverse hover:tw-bg-box-neutral-strong-inverse-hover active:tw-bg-box-neutral-strong-inverse-pressed tw-text-box-neutral-strong tw-outline tw-outline-1 tw-outline-offset-[1px] tw-p-[6px] tw-outline-line",children:[_.jsx(L.IconPaperclip16,{}),_.jsx("div",{children:s.length>0?s.length:"Add"}),_.jsx(L.IconCaretDown12,{})]}),children:_.jsxs("div",{className:"tw-w-[300px]",children:[A.length>0&&_.jsxs($n.DndContext,{sensors:ne,collisionDetection:$n.closestCenter,onDragStart:Ge,onDragEnd:dt,modifiers:[iT.restrictToWindowEdges],children:[_.jsx(kv.SortableContext,{items:A,strategy:kv.rectSortingStrategy,children:_.jsx("div",{className:"tw-border-b tw-border-b-line",children:A.map(Ue=>_.jsx(LT,{isEditing:_e,isLoading:lt.includes(Ue.id),item:Ue,onDelete:()=>h(Ue),onReplaceWithBrowse:()=>wt(Ue),onReplaceWithUpload:ut=>vn(Ue,ut)},Ue.id))})}),_.jsx($n.DragOverlay,{children:De&&_.jsx(Rg,{isOverlay:!0,isEditing:_e,item:De,isDragging:!0,onDelete:()=>h(De),onReplaceWithBrowse:()=>wt(De),onReplaceWithUpload:Ue=>vn(De,Ue)},ue)})]}),_e&&_.jsxs("div",{className:"tw-px-5 tw-py-3",children:[_.jsx("div",{className:"tw-font-body tw-font-medium tw-text-text tw-text-s tw-my-4",children:"Add attachments"}),_.jsx(L.AssetInput,{isLoading:Xe,size:L.AssetInputSize.Small,onUploadClick:Ue=>vt(Ue),onLibraryClick:jt})]})]})})})}):null},NT=({onDownload:s})=>{const{isFocused:h,focusProps:v}=CC.useFocusRing();return _.jsx(L.Tooltip,{withArrow:!0,position:L.TooltipPosition.Top,content:"Download",enterDelay:500,triggerElement:_.jsx("button",{tabIndex:0,"aria-label":"Download",...v,className:su(["tw-outline-none tw-rounded",h&&L.FOCUS_STYLE]),onClick:s,onPointerDown:x=>x.preventDefault(),children:_.jsx("span",{"data-test-id":"download-button",className:"tw-flex tw-text-xs tw-font-body tw-items-center tw-gap-1 tw-rounded-full tw-bg-box-neutral-strong-inverse hover:tw-bg-box-neutral-strong-inverse-hover active:tw-bg-box-neutral-strong-inverse-pressed tw-text-box-neutral-strong tw-outline tw-outline-1 tw-outline-offset-1 tw-p-1.5 tw-outline-line",children:_.jsx(L.IconArrowCircleDown16,{})})})})},MT=({floatingOptions:s,...h})=>{const v=N.useEditorRef(),x=wC.useFocused(),b=N.useFloatingLinkSelectors().mode(),j=N.useFloatingLinkSelectors().isOpen(v.id),{triggerFloatingLinkHotkeys:E}=N.getPluginOptions(v,N.ELEMENT_LINK);N.useHotkeys(E,re=>{N.triggerFloatingLinkInsert(v,{focused:x})&&re.preventDefault()},{enableOnContentEditable:!0},[x]);const{update:Q,style:A,floating:G}=N.useVirtualFloatingLink({editorId:v.id,open:j&&b==="insert",getBoundingClientRect:N.getSelectionBoundingClientRect,whileElementsMounted:()=>{},...s});return Be.useEffect(()=>{j?(Q(),N.floatingLinkActions.updated(!0)):N.floatingLinkActions.updated(!1)},[j,Q]),N.useFloatingLinkEscape(),{style:{...A,zIndex:1e3},...h,ref:N.useComposedRef(h.ref,G)}},AT=N.createComponentAs(s=>{var v;const h=MT({...s,floatingOptions:{strategy:"absolute"}});return((v=h.style)==null?void 0:v.display)==="none"?null:N.createElementAs("div",h)}),UT=N.createComponentAs(s=>{var v;const h=kR({...s,floatingOptions:{strategy:"absolute"}});return((v=h.style)==null?void 0:v.display)==="none"?null:N.createElementAs("div",h)});N.FloatingLink.EditRoot=UT,N.FloatingLink.InsertRoot=AT;const _v=N.FloatingLink,wc="link-plugin",MC=s=>{if(!s)return!1;const h=v=>v.some(x=>x.text?x.text!=="":x.children?h(x.children):!1);try{const v=JSON.parse(s);return h(v)}catch{return!1}},zT=(s="p",h="",v)=>MC(h)?h:JSON.stringify([{type:s,children:[{text:h,textStyle:s}],align:v}]),jT=[$n.KeyboardCode.Down,$n.KeyboardCode.Right,$n.KeyboardCode.Up,$n.KeyboardCode.Left],AC=(s,h)=>(v,{currentCoordinates:x,context:{activeNode:b}})=>{if(v.preventDefault(),jT.includes(v.code)){const j=(b==null?void 0:b.offsetWidth)??0,E=(b==null?void 0:b.offsetHeight)??0;switch(v.code){case $n.KeyboardCode.Right:return{...x,x:x.x+j+s};case $n.KeyboardCode.Left:return{...x,x:x.x-j-s};case $n.KeyboardCode.Down:return{...x,y:x.y+E+h};case $n.KeyboardCode.Up:return{...x,y:x.y-E-h}}}},PT=(s,h,v)=>s===vs.Custom?h:v,FT=s=>s.map(UC),UC=s=>({id:s.id,title:s.name,colors:s.colors.map(h=>({alpha:h.alpha?h.alpha/255:1,red:h.red??0,green:h.green??0,blue:h.blue??0,name:h.name??""}))}),kg=(s,h)=>{const v=N.getAboveNode(s,{match:{type:N.ELEMENT_LINK}});return Array.isArray(v)?h(v[0]):""},BT=s=>kg(s,h=>{var v,x;return((x=(v=h.chosenLink)==null?void 0:v.searchResult)==null?void 0:x.link)||""}),HT=s=>kg(s,h=>h.url||""),IT=s=>{var h,v;return s.url||((v=(h=s.chosenLink)==null?void 0:h.searchResult)==null?void 0:v.link)||""},VT=s=>kg(s,IT),zC=/^\/(document|r)\/\S+$/i,Dv=s=>{if(zC.test(s))return s;try{return new URL(s),s}catch{return`https://${s}`}},_g=s=>{if(zC.test(s))return!0;try{const h=new URL(s);return["http:","https:","mailto:","tel:"].includes(h.protocol)&&h.pathname!==""}catch{return!1}},Lv=s=>_g(Dv(s))||s==="",$T=(s,h)=>{const v=N.getAboveNode(s,{match:{type:cn}});return Array.isArray(v)?h(v[0]):""},jC=s=>$T(s,h=>h.url??""),PC=(s,{url:h,text:v="",buttonStyle:x="primary",target:b,children:j})=>({type:N.getPluginType(s,cn),url:h,target:b,buttonStyle:x,children:j??[{text:v}]}),Dg=N.createStore("floatingButton")({openEditorId:null,mouseDown:!1,updated:!1,url:"",text:"",buttonStyle:"primary",newTab:!1,mode:"",isEditing:!1}).extendActions(s=>({reset:()=>{s.url(""),s.text(""),s.buttonStyle("primary"),s.newTab(!1),s.mode(""),s.isEditing(!1)}})).extendActions(s=>({show:(h,v)=>{s.mode(h),s.isEditing(!1),s.openEditorId(v)},hide:()=>{s.reset(),s.openEditorId(null)}})).extendSelectors(s=>({isOpen:h=>s.openEditorId===h})),Jn=Dg.set,Ea=Dg.get,xc=()=>Dg.use,Ov=s=>{const h=N.findNode(s,{match:{type:N.getPluginType(s,cn)}});if(!h)return;const[v,x]=h;let b=N.getEditorString(s,x);Jn.url(v.url),Jn.newTab(v.target===void 0),b===v.url&&(b=""),Jn.text(b),Jn.isEditing(!0)},YT=({floatingOptions:s,...h})=>{const v=N.useEditorRef(),x=N.usePlateSelectors(v.id).keyEditor(),b=xc().mode(),j=xc().isOpen(v.id),{triggerFloatingButtonHotkeys:E}=N.getPluginOptions(v,cn),Q=Be.useCallback(()=>{const ne=N.getAboveNode(v,{match:{type:N.getPluginType(v,cn)}});if(ne){const[,ue]=ne;return N.getRangeBoundingClientRect(v,{anchor:N.getStartPoint(v,ue),focus:N.getEndPoint(v,ue)})}return N.getDefaultBoundingClientRect()},[v]),A=j&&b==="edit",{update:G,style:re,floating:F}=VC({open:A,getBoundingClientRect:Q,...s});return Be.useEffect(()=>{const ne=jC(v);if(ne&&Jn.url(ne),v.selection&&N.someNode(v,{match:{type:N.getPluginType(v,cn)}})){Jn.show("edit",v.id),G();return}Ea.mode()==="edit"&&Jn.hide()},[v,x,G]),N.useHotkeys(E,ne=>{ne.preventDefault(),Ea.mode()==="edit"&&Ov(v)},{enableOnContentEditable:!0},[]),rR(),IC(),{style:{...re,zIndex:1e3},...h,ref:N.useComposedRef(h.ref,F)}},Lg=(s,{focused:h}={})=>{Ea.mode()||!h||N.isRangeAcrossBlocks(s,{at:s.selection})||N.someNode(s,{match:{type:N.getPluginType(s,cn)}})||(Jn.text(N.getEditorString(s,s.selection)),Jn.show("insert",s.id))},WT=({floatingOptions:s,...h})=>{const v=N.useEditorRef(),x=wC.useFocused(),b=xc().mode(),j=xc().isOpen(v.id),{triggerFloatingButtonHotkeys:E}=N.getPluginOptions(v,cn);N.useHotkeys(E,re=>{re.preventDefault(),Lg(v,{focused:x})},{enableOnContentEditable:!0},[x]);const{update:Q,style:A,floating:G}=VC({open:j&&b==="insert",getBoundingClientRect:N.getSelectionBoundingClientRect,whileElementsMounted:void 0,...s});return Be.useEffect(()=>{j&&Q(),Jn.updated(j)},[j,Q]),IC(),{style:{...A,zIndex:1e3},...h,ref:N.useComposedRef(h.ref,G)}},QT=s=>{const h=N.useEditorRef();return{onClick:Be.useCallback(()=>{Ov(h)},[h]),...s}},GT=N.createComponentAs(s=>{const h=QT(s);return N.createElementAs("button",h)}),FC=(s,h,v)=>{N.insertNodes(s,[PC(s,h)],v)},Og=s=>{if(!s.selection)return;const{isUrl:h,forceSubmit:v}=N.getPluginOptions(s,cn),x=Ea.url();if(!((h==null?void 0:h(x))||v))return;const j=Ea.text(),E=Ea.buttonStyle(),Q=Ea.newTab()?void 0:"_self";return Jn.hide(),BC(s,{url:x,text:j,buttonStyle:E,target:Q,isUrl:A=>v||!h?!0:h(A)}),setTimeout(()=>{N.focusEditor(s,s.selection??void 0)},0),!0},bc=(s,h)=>N.withoutNormalizing(s,()=>{var v,x,b,j,E,Q;if(h!=null&&h.split){if(N.getAboveNode(s,{at:(v=s.selection)==null?void 0:v.anchor,match:{type:N.getPluginType(s,cn)}}))return N.splitNodes(s,{at:(x=s.selection)==null?void 0:x.anchor,match:re=>N.isElement(re)&&re.type===N.getPluginType(s,cn)}),bc(s,{at:(b=s.selection)==null?void 0:b.anchor}),!0;if(N.getAboveNode(s,{at:(j=s.selection)==null?void 0:j.focus,match:{type:N.getPluginType(s,cn)}}))return N.splitNodes(s,{at:(E=s.selection)==null?void 0:E.focus,match:re=>N.isElement(re)&&re.type===N.getPluginType(s,cn)}),bc(s,{at:(Q=s.selection)==null?void 0:Q.focus}),!0}N.unwrapNodes(s,{match:{type:N.getPluginType(s,cn)},...h})}),BC=(s,{url:h,text:v,buttonStyle:x,target:b,insertTextInButton:j,insertNodesOptions:E,isUrl:Q=N.getPluginOptions(s,cn).isUrl})=>{var lt;const A=s.selection;if(!A)return;const G=N.getAboveNode(s,{at:A,match:{type:N.getPluginType(s,cn)}});if(j&&G)return s.insertText(h),!0;if(!(Q!=null&&Q(h)))return;if(N.isDefined(v)&&v.length===0&&(v=h),G)return XT(h,s,G,b,x,v),!0;const re=N.findNode(s,{at:A,match:{type:N.getPluginType(s,cn)}}),[F,ne]=re??[],ue=qT(s,ne,v);if(N.isExpanded(A))return KT(G,s,h,x,b,v),!0;ue&&N.removeNodes(s,{at:ne});const be=N.getNodeProps(F??{}),Xe=(lt=s.selection)==null?void 0:lt.focus.path;if(!Xe)return;const et=N.getNodeLeaf(s,Xe);return v!=null&&v.length||(v=h),FC(s,{...be,url:h,target:b,children:[{...et,text:v}]},E),!0};function qT(s,h,v){return h&&(v==null?void 0:v.length)&&v!==N.getEditorString(s,h)}function KT(s,h,v,x,b,j){s?bc(h,{at:s[1]}):bc(h,{split:!0}),HC(h,{url:v,buttonStyle:x,target:b}),Ng(h,{url:v,target:b,text:j})}function XT(s,h,v,x,b,j){var E,Q,A;(s!==((E=v[0])==null?void 0:E.url)||x!==((Q=v[0])==null?void 0:Q.target)||b!==((A=v[0])==null?void 0:A.buttonStyle))&&N.setNodes(h,{url:s,target:x,buttonStyle:b},{at:v[1]}),Ng(h,{url:s,text:j,target:x})}const Ng=(s,{text:h})=>{const v=N.getAboveNode(s,{match:{type:N.getPluginType(s,cn)}});if(v){const[x,b]=v;if(h!=null&&h.length&&h!==N.getEditorString(s,b)){const j=x.children[0];N.replaceNodeChildren(s,{at:b,nodes:{...j,text:h},insertOptions:{select:!0}})}}},HC=(s,{url:h,buttonStyle:v,target:x,...b})=>{N.wrapNodes(s,{type:N.getPluginType(s,cn),url:h,buttonStyle:v,target:x,children:[]},{split:!0,...b})},ZT=s=>{const h=N.useEditorRef();return{onClick:Be.useCallback(()=>{bc(h),N.focusEditor(h,h.selection??void 0)},[h]),...s}},JT=N.createComponentAs(s=>{const h=ZT(s);return N.createElementAs(N.Button,h)}),eR=N.createComponentAs(s=>{var v;const h=YT(s);return((v=h.style)==null?void 0:v.display)==="none"?null:N.createElementAs("div",h)}),tR=N.createComponentAs(s=>{var v;const h=WT(s);return((v=h.style)==null?void 0:v.display)==="none"?null:N.createElementAs("div",h)}),Nv={EditRoot:eR,InsertRoot:tR,EditButton:GT,UnlinkButton:JT},nR=s=>{const h=xc().updated(),v=Be.useRef(null);Be.useEffect(()=>{v.current&&h&&setTimeout(()=>{var b;(b=v.current)==null||b.focus()},0)},[h]);const x=Be.useCallback(b=>{Jn.url(b.target.value)},[]);return N.mergeProps({onChange:x,defaultValue:Ea.url()},{...s,ref:N.useComposedRef(s.ref,v)})},rR=()=>{const s=N.useEditorRef();N.useHotkeys("*",h=>{h.key==="Enter"&&Og(s)&&h.preventDefault()},{enableOnFormTags:["INPUT"]},[])},IC=()=>{const s=N.useEditorRef();N.useHotkeys("escape",()=>{if(Ea.mode()==="edit"){if(Ea.isEditing()){Jn.show("edit",s.id),N.focusEditor(s,s.selection??void 0);return}Jn.hide()}},{enableOnFormTags:["INPUT"],enableOnContentEditable:!0},[])},aR=12,iR=-22,lR=96,VC=s=>N.useVirtualFloating({placement:"bottom-start",middleware:[N.offset({mainAxis:aR,alignmentAxis:iR}),N.flip({padding:lR})],...s}),$C=(s,{focused:h}={})=>{if(Ea.mode()==="edit"){Ov(s);return}Lg(s,{focused:h})},Mv={buttonPrimary:{fontFamily:"var(--f-theme-settings-button-primary-font-family)",fontSize:"var(--f-theme-settings-button-primary-font-size)",fontWeight:"var(--f-theme-settings-button-primary-font-weight)",lineHeight:"var(--f-theme-settings-button-primary-line-height)",paddingTop:"var(--f-theme-settings-button-primary-padding-top)",paddingRight:"var(--f-theme-settings-button-primary-padding-right)",paddingBottom:"var(--f-theme-settings-button-primary-padding-bottom)",paddingLeft:"var(--f-theme-settings-button-primary-padding-left)",fontStyle:"var(--f-theme-settings-button-primary-font-style)",textTransform:"var(--f-theme-settings-button-primary-text-transform)",backgroundColor:"var(--f-theme-settings-button-primary-background-color)",borderColor:"var(--f-theme-settings-button-primary-border-color)",borderRadius:"var(--f-theme-settings-button-primary-border-radius)",borderWidth:"var(--f-theme-settings-button-primary-border-width)",color:"var(--f-theme-settings-button-primary-color)",display:"inline-block",hover:{backgroundColor:"var(--f-theme-settings-button-primary-background-color-hover)",borderColor:"var(--f-theme-settings-button-primary-border-color-hover)",color:"var(--f-theme-settings-button-primary-color-hover)"}},buttonSecondary:{fontFamily:"var(--f-theme-settings-button-secondary-font-family)",fontSize:"var(--f-theme-settings-button-secondary-font-size)",fontWeight:"var(--f-theme-settings-button-secondary-font-weight)",lineHeight:"var(--f-theme-settings-button-secondary-line-height)",paddingTop:"var(--f-theme-settings-button-secondary-padding-top)",paddingRight:"var(--f-theme-settings-button-secondary-padding-right)",paddingBottom:"var(--f-theme-settings-button-secondary-padding-bottom)",paddingLeft:"var(--f-theme-settings-button-secondary-padding-left)",fontStyle:"var(--f-theme-settings-button-secondary-font-style)",textTransform:"var(--f-theme-settings-button-secondary-text-transform)",backgroundColor:"var(--f-theme-settings-button-secondary-background-color)",borderColor:"var(--f-theme-settings-button-secondary-border-color)",borderRadius:"var(--f-theme-settings-button-secondary-border-radius)",borderWidth:"var(--f-theme-settings-button-secondary-border-width)",color:"var(--f-theme-settings-button-secondary-color)",display:"inline-block",hover:{backgroundColor:"var(--f-theme-settings-button-secondary-background-color-hover)",borderColor:"var(--f-theme-settings-button-secondary-border-color-hover)",color:"var(--f-theme-settings-button-secondary-color-hover)"}},buttonTertiary:{fontFamily:"var(--f-theme-settings-button-tertiary-font-family)",fontSize:"var(--f-theme-settings-button-tertiary-font-size)",fontWeight:"var(--f-theme-settings-button-tertiary-font-weight)",lineHeight:"var(--f-theme-settings-button-tertiary-line-height)",paddingTop:"var(--f-theme-settings-button-tertiary-padding-top)",paddingRight:"var(--f-theme-settings-button-tertiary-padding-right)",paddingBottom:"var(--f-theme-settings-button-tertiary-padding-bottom)",paddingLeft:"var(--f-theme-settings-button-tertiary-padding-left)",fontStyle:"var(--f-theme-settings-button-tertiary-font-style)",textTransform:"var(--f-theme-settings-button-tertiary-text-transform)",backgroundColor:"var(--f-theme-settings-button-tertiary-background-color)",borderColor:"var(--f-theme-settings-button-tertiary-border-color)",borderRadius:"var(--f-theme-settings-button-tertiary-border-radius)",borderWidth:"var(--f-theme-settings-button-tertiary-border-width)",color:"var(--f-theme-settings-button-tertiary-color)",display:"inline-block",hover:{backgroundColor:"var(--f-theme-settings-button-tertiary-background-color-hover)",borderColor:"var(--f-theme-settings-button-tertiary-border-color-hover)",color:"var(--f-theme-settings-button-tertiary-color-hover)"}}},uR=s=>({...N.useElementProps({...s,elementToAttributes:v=>({url:v.href,buttonStyle:v.buttonStyle||"primary",target:v.target||"_blank"})}),onMouseOver:v=>{v.stopPropagation()}}),oR=s=>{const{href:h,target:v,buttonStyle:x}=uR(s),{attributes:b,children:j}=s;return _.jsx(sR,{attributes:b,href:h,target:v,styles:Mv[`button${x.charAt(0).toUpperCase()+x.slice(1)}`],children:j})},sR=({attributes:s,styles:h={hover:{}},children:v,href:x="#",target:b})=>{const[j,E]=Be.useState(!1);return _.jsx("a",{...s,onMouseEnter:()=>E(!0),onMouseLeave:()=>E(!1),href:x,target:b,style:j?{...h,...h.hover}:h,children:v})};class cR extends L.MarkupElement{constructor(h=cn,v=oR){super(h,v)}}const fR=({type:s,...h})=>{const v=N.useEditorRef(),x=!!N.isRangeInSameBlock(v,{at:v.selection}),b=!!(v!=null&&v.selection)&&N.someNode(v,{match:{type:s}});return _.jsx(N.ToolbarButton,{tooltip:L.getTooltip(x?`Button
|
|
66
|
+
${L.getHotkeyByPlatform("Ctrl+Shift+K")}`:"Buttons can only be set for a single text block."),classNames:L.getButtonClassNames(x),active:b,onMouseDown:async j=>{v&&(j.preventDefault(),j.stopPropagation(),N.focusEditor(v,v.selection??v.prevSelection??void 0),setTimeout(()=>{$C(v,{focused:!0})},0))},...h})},dR=({editor:s,id:h})=>_.jsx("div",{"data-plugin-id":h,children:_.jsx(fR,{type:N.getPluginType(s,cn),icon:_.jsx("span",{className:"tw-p-2 tw-h-8 tw-justify-center tw-items-center tw-flex",children:_.jsx(L.IconButton16,{})}),styles:L.buttonStyles})}),pR=()=>{const s=nR({});return _.jsx("div",{"data-test-id":"floating-button-edit",className:"tw-bg-white tw-rounded tw-shadow tw-p-4 tw-min-w-[400px]",children:_.jsxs("span",{"data-test-id":"preview-button-flyout",className:"tw-flex tw-justify-between",children:[_.jsx("span",{className:"tw-pointer-events-none",style:er.p,children:s.defaultValue}),_.jsxs("span",{className:"tw-flex tw-gap-2",children:[_.jsx("span",{role:"button",tabIndex:0,"data-test-id":"edit-button-button",className:"tw-transition tw-cursor-pointer tw-rounded hover:tw-bg-black-10 tw-p-1",children:_.jsx(Nv.EditButton,{children:_.jsx(L.IconPen16,{})})}),_.jsx("span",{role:"button",tabIndex:0,"data-test-id":"remove-button-button",className:"tw-transition tw-cursor-pointer tw-rounded hover:tw-bg-black-10 tw-p-1",children:_.jsx(Nv.UnlinkButton,{children:_.jsx(L.IconTrashBin16,{})})})]})]})})},vR=({section:s,selectedUrl:h,onSelectUrl:v})=>{const x=s.permanentLink===h;return _.jsx("button",{"data-test-id":"internal-link-selector-section-link",className:L.merge(["tw-py-2 tw-px-2.5 tw-pl-14 tw-leading-5 tw-cursor-pointer tw-w-full",x?"tw-bg-box-selected-strong tw-text-box-selected-strong-inverse hover:tw-bg-box-selected-strong-hover:hover hover:tw-text-box-selected-strong-inverse-hover:hover":"hover:tw-bg-box-neutral-hover hover:tw-text-box-neutral-inverse-hover"]),onClick:()=>v(s.permanentLink),onFocus:()=>v(s.permanentLink),children:_.jsxs("div",{className:"tw-flex tw-flex-1 tw-space-x-2 tw-items-center tw-h-6",children:[_.jsx(L.IconDocumentText16,{}),_.jsx("span",{className:"tw-text-s",children:s.title}),_.jsx("span",{className:"tw-flex-auto tw-font-sans tw-text-xs tw-text-right",children:"Section"})]})})},hR=({page:s,selectedUrl:h,onSelectUrl:v,itemsToExpandInitially:x,appBridge:b})=>{const[j,E]=Be.useState(s.id===x.documentId),Q=s.permanentLink===h,{documentSections:A}=ss.useDocumentSection(b,s.id),G=[...A.values()],re=G.length>0;return Be.useEffect(()=>{s.id===x.pageId&&E(!0)},[x,s.id]),_.jsxs(_.Fragment,{children:[_.jsx("div",{tabIndex:0,"data-test-id":"internal-link-selector-page-link",className:L.merge(["tw-py-2 tw-px-2.5 tw-leading-5 tw-cursor-pointer",re?"tw-pl-7":"tw-pl-12",Q?"tw-bg-box-selected-strong tw-text-box-selected-strong-inverse hover:tw-bg-box-selected-strong-hover:hover hover:tw-text-box-selected-strong-inverse-hover:hover":"hover:tw-bg-box-neutral-hover hover:tw-text-box-neutral-inverse-hover"]),onClick:()=>v(s.permanentLink),onFocus:()=>v(s.permanentLink),children:_.jsxs("div",{className:"tw-flex tw-flex-1 tw-space-x-1 tw-items-center tw-h-6",children:[re&&_.jsx("button",{"data-test-id":"tree-item-toggle",className:"tw-flex tw-items-center tw-justify-center tw-p-1.5 tw-cursor-pointer",onClick:()=>E(!j),onFocus:()=>E(!j),children:_.jsx("div",{className:L.merge(["tw-transition-transform tw-w-0 tw-h-0 tw-font-normal tw-border-t-4 tw-border-t-transparent tw-border-b-4 tw-border-b-transparent tw-border-l-4 tw-border-l-x-strong",j?"tw-rotate-90":""])})}),_.jsx("span",{className:"tw-text-s",children:s.title}),_.jsx("span",{className:"tw-flex-auto tw-font-sans tw-text-xs tw-text-right",children:"Page"})]},s.id)}),j&&G.length>0&&G.map(F=>_.jsx(vR,{section:F,selectedUrl:h,onSelectUrl:v},F.id))]})},mR=({appBridge:s,documentId:h,selectedUrl:v,onSelectUrl:x,itemsToExpandInitially:b})=>{const[j,E]=Be.useState([]),[Q,A]=Be.useState(!0),G=[...j.values()],re=!Q&&G.length>0;return Be.useEffect(()=>{s.getDocumentPagesByDocumentId(h).then(F=>{E(F)}).finally(()=>{A(!1)})},[]),Q?_.jsx("div",{className:"tw-flex tw-justify-center tw-p-4",children:_.jsx(L.LoadingCircle,{})}):re?_.jsx(_.Fragment,{children:G.map(F=>_.jsx(hR,{page:F,appBridge:s,selectedUrl:v,onSelectUrl:x,itemsToExpandInitially:b},F.id))}):_.jsx("div",{className:"tw-py-2 tw-px-2.5 tw-pl-7 tw-leading-5 tw-text-s tw-text-text-weak",children:"This document does not contain any pages."})},gR=({document:s,appBridge:h,selectedUrl:v,onSelectUrl:x,itemsToExpandInitially:b})=>{const[j,E]=Be.useState(s.id===b.documentId),Q=s.permanentLink===v;return Be.useEffect(()=>{s.id===b.documentId&&E(!0)},[b,s.id]),_.jsxs(_.Fragment,{children:[_.jsxs("button",{"data-test-id":"internal-link-selector-document-link",className:L.merge(["tw-flex tw-flex-1 tw-space-x-2 tw-items-center tw-py-2 tw-px-2.5 tw-leading-5 tw-cursor-pointer tw-w-full",Q?"tw-bg-box-selected-strong tw-text-box-selected-strong-inverse hover:tw-bg-box-selected-strong-hover:hover hover:tw-text-box-selected-strong-inverse-hover:hover":"hover:tw-bg-box-neutral-hover hover:tw-text-box-neutral-inverse-hover"]),onClick:()=>x(s.permanentLink),onFocus:()=>x(s.permanentLink),children:[_.jsx("div",{role:"button",tabIndex:0,"data-test-id":"tree-item-toggle",className:"tw-flex tw-items-center tw-justify-center tw-p-1.5 tw-cursor-pointer",onClick:()=>E(!j),onFocus:()=>E(!j),children:_.jsx("div",{className:L.merge(["tw-transition-transform tw-w-0 tw-h-0 tw-font-normal tw-border-t-4 tw-border-t-transparent tw-border-b-4 tw-border-b-transparent tw-border-l-4 tw-border-l-x-strong",j?"tw-rotate-90":""])})}),_.jsx(L.IconColorFan16,{}),_.jsx("span",{className:"tw-text-s",children:s.title}),_.jsx("span",{className:"tw-flex-auto tw-font-sans tw-text-xs tw-text-right",children:"Document"})]}),j&&_.jsx(mR,{appBridge:h,documentId:s.id,selectedUrl:v,onSelectUrl:x,itemsToExpandInitially:b})]})},yR=({appBridge:s,selectedUrl:h,onSelectUrl:v})=>{const[x,b]=Be.useState(!0),[j,E]=Be.useState([]),[Q,A]=Be.useState({documentId:void 0,pageId:void 0}),G=[...j.values()];Be.useEffect(()=>{h&&G.length>0&&re().then(F=>{A(F)})},[G.length]),Be.useEffect(()=>{s.getAllDocuments().then(F=>{E(F)}).finally(()=>{b(!1)})},[]);const re=async()=>{const F={documentId:void 0,pageId:void 0};if(G.find(ue=>ue.permanentLink===h))return F;for(const ue of G){const be=await s.getDocumentPagesByDocumentId(ue.id);s.getAllDocuments();const Xe=[...be.values()];if(!!Xe.find(lt=>lt.permanentLink===h))return F.documentId=ue.id,F;for(const lt of Xe)if(!![...(await s.getDocumentSectionsByDocumentPageId(lt.id)).values()].find(_e=>_e.permanentLink===h))return F.documentId=ue.id,F.pageId=lt.id,F}return F};return x?_.jsx("div",{className:"tw-flex tw-justify-center tw-p-4",children:_.jsx(L.LoadingCircle,{})}):_.jsx(_.Fragment,{children:G.map(F=>_.jsx(gR,{document:F,appBridge:s,selectedUrl:h,onSelectUrl:v,itemsToExpandInitially:Q},F.id))})},SR=({appBridge:s,url:h,onUrlChange:v})=>{const{open:x,isOpen:b,close:j}=lT.useOverlayTriggerState({}),[E,Q]=Be.useState(h),A=F=>{Q(F)},G=F=>{F.key==="Enter"&&re()};Be.useEffect(()=>{h&&!E&&Q(h)},[h,E]);const re=()=>{v(E),j()};return _.jsxs("div",{"data-test-id":"internal-link-selector",onKeyDown:G,children:[_.jsx(L.Button,{icon:_.jsx(L.IconLink,{}),size:L.ButtonSize.Medium,type:L.ButtonType.Button,style:L.ButtonStyle.Default,emphasis:L.ButtonEmphasis.Default,onClick:()=>x(),children:"Internal link"}),_.jsxs(L.Modal,{zIndex:1001,onClose:()=>j(),isOpen:b,isDismissable:!0,children:[_.jsx(L.Modal.Header,{title:"Select internal link"}),_.jsx(L.Modal.Body,{children:_.jsx(yR,{appBridge:s,selectedUrl:E,onSelectUrl:A})}),_.jsx(L.Modal.Footer,{buttons:[{children:"Cancel",onClick:()=>j(),style:L.ButtonStyle.Default,emphasis:L.ButtonEmphasis.Default},{children:"Choose",onClick:F=>{F==null||F.preventDefault(),re()},style:L.ButtonStyle.Default,emphasis:L.ButtonEmphasis.Strong,disabled:!E}]})]})]})},YC=({state:s,onTextChange:h,onUrlChange:v,onToggleTab:x,onCancel:b,onSave:j,isValidUrlOrEmpty:E,hasValues:Q,testId:A,appBridge:G,children:re})=>_.jsxs("div",{"data-test-id":A,className:"tw-bg-white tw-rounded tw-shadow tw-p-7 tw-min-w-[400px] tw-overflow-y-auto",children:[_.jsx(L.FormControl,{label:{children:"Text",htmlFor:"linkText",required:!0},children:_.jsx(L.TextInput,{id:"linkText",value:s.text,placeholder:"Link Text",onChange:h})}),re,_.jsxs("div",{className:"tw-pt-5",children:[_.jsx(L.FormControl,{label:{children:"URL",htmlFor:"url",required:!0},children:_.jsx(L.TextInput,{id:"url",value:s.url,placeholder:"https://example.com",focusOnMount:!0,onChange:v})}),!E(s==null?void 0:s.url)&&_.jsx("div",{className:"tw-text-red-65 tw-mt-3",children:"Please enter a valid URL."})]}),_.jsx("div",{className:"tw-mt-3",children:_.jsx(SR,{url:s.url,appBridge:G,onUrlChange:v})}),_.jsx("div",{className:"tw-mt-3",children:_.jsx(L.Checkbox,{value:"new-tab",label:"Open in new tab",state:s.newTab,onChange:x})}),_.jsx("div",{className:"tw-mt-3",children:_.jsxs("div",{className:"tw-pt-5 tw-flex tw-gap-x-3 tw-justify-end tw-border-t tw-border-t-black-10",children:[_.jsx(L.Button,{onClick:b,size:L.ButtonSize.Medium,style:L.ButtonStyle.Default,emphasis:L.ButtonEmphasis.Default,children:"Cancel"}),_.jsx(L.Button,{onClick:j,size:L.ButtonSize.Medium,icon:_.jsx(L.IconCheckMark20,{}),disabled:!Q||!E(s==null?void 0:s.url),children:"Save"})]})})]}),ER=s=>{var v;const h=N.getAboveNode(s,{match:{type:cn}});return Array.isArray(h)&&((v=h[0])==null?void 0:v.buttonStyle)||"primary"},CR={url:"",text:"",buttonStyle:"primary",newTab:L.CheckboxState.Unchecked},wR=()=>{const[s,h]=Be.useReducer((v,x)=>{const{type:b,payload:j}=x;switch(b){case"NEW_TAB":return{...v,newTab:L.CheckboxState.Checked};case"SAME_TAB":return{...v,newTab:L.CheckboxState.Unchecked};case"URL":case"TEXT":case"BUTTON_STYLE":case"INIT":return{...v,...j};default:return v}},CR);return[s,h]},xR=()=>{const s=N.useEditorRef(),[h,v]=wR();Be.useEffect(()=>{const F=ER(s);v({type:"INIT",payload:{text:Ea.text(),buttonStyle:F,newTab:Ea.newTab()?L.CheckboxState.Checked:L.CheckboxState.Unchecked,url:Ea.url()}})},[v,s]);const x=F=>{v({type:"TEXT",payload:{text:F}})},b=F=>{v({type:"BUTTON_STYLE",payload:{buttonStyle:F}})},j=F=>{v({type:"URL",payload:{url:F}})},E=F=>{v(F?{type:"NEW_TAB"}:{type:"SAME_TAB"})},Q=()=>{Jn.hide()},A=F=>{if(!Lv(h.url)||!G)return;const ne=Dv(h.url);Jn.text(h.text),Jn.url(ne),Jn.buttonStyle(h.buttonStyle),Jn.newTab(h.newTab===L.CheckboxState.Checked),Og(s)&&(F==null||F.preventDefault())},G=h.url!==""&&h.text!=="",{appBridge:re}=N.getPluginOptions(s,cn);return N.useHotkeys("enter",A,{enableOnFormTags:["INPUT"]},[]),{state:h,onTextChange:x,onButtonStyleChange:b,onUrlChange:j,onToggleTab:E,onCancel:Q,onSave:A,hasValues:G,isValidUrlOrEmpty:Lv,appBridge:re}},bR=()=>{const s=xR(),{state:h,onButtonStyleChange:v}=s;return _.jsx(YC,{...s,testId:"floating-button-insert",children:_.jsx("div",{className:"tw-pt-5",children:_.jsxs(L.FormControl,{label:{children:"Button Style",htmlFor:"buttonStyle",required:!0},children:[_.jsx(Mg,{id:"primary",styles:er.buttonPrimary,isActive:h.buttonStyle==="primary",onClick:()=>v("primary"),children:h.text||"Primary Button"}),_.jsx(Mg,{id:"secondary",styles:er.buttonSecondary,isActive:h.buttonStyle==="secondary",onClick:()=>v("secondary"),children:h.text||"Secondary Button"}),_.jsx(Mg,{id:"tertiary",styles:er.buttonTertiary,isActive:h.buttonStyle==="tertiary",onClick:()=>v("tertiary"),children:h.text||"Tertiary Button"})]})})})},Mg=({id:s,styles:h,isActive:v,onClick:x,children:b})=>{const[j,E]=Be.useState(!1),Q=()=>h&&h.hover&&j?{...h,...h.hover}:h;return _.jsx("button",{"data-test-id":`floating-button-insert-${s}`,onMouseEnter:()=>E(!0),onMouseLeave:()=>E(!1),onClick:x,style:Q(),className:v?"tw-outline tw-outline-1 tw-outline-violet-60 tw-outline-offset-2 tw-w-fit":"tw-w-fit",children:b})},TR=()=>{const s=xc().isEditing(),h=_.jsx(bR,{}),v=s?h:_.jsx(pR,{});return _.jsxs(_.Fragment,{children:[_.jsx(Nv.InsertRoot,{children:h}),_.jsx(Nv.EditRoot,{children:v})]})},WC=(s,{type:h})=>{const{apply:v,normalizeNode:x}=s;return s.apply=b=>{if(b.type!=="set_selection"){v(b);return}const j=b.newProperties;if(!(j!=null&&j.focus)||!j.anchor||!N.isCollapsed(j)){v(b);return}const E=N.getAboveNode(s,{at:j,match:{type:N.getPluginType(s,cn)}});if(E){const[,Q]=E;let A;N.isStartPoint(s,j.focus,Q)&&(A=N.getPreviousNodeEndPoint(s,Q)),N.isEndPoint(s,j.focus,Q)&&(A=N.getNextNodeStartPoint(s,Q)),A&&(b.newProperties={anchor:A,focus:A})}v(b)},s.normalizeNode=([b,j])=>{if(b.type===N.getPluginType(s,cn)){const E=s.selection;if(E&&N.isCollapsed(E)&&N.isEndPoint(s,E.focus,j)){const Q=N.getNextNodeStartPoint(s,j);if(Q)N.select(s,Q);else{const A=uT.Path.next(j);N.insertNodes(s,{text:""},{at:A}),N.select(s,A)}}}x([b,j])},N.withRemoveEmptyNodes(s,N.mockPlugin({options:{types:h}}))},cn="button",Ag="button-plugin",QC=s=>N.createPluginFactory({key:cn,isElement:!0,isInline:!0,props:({element:h})=>({nodeProps:{href:h==null?void 0:h.url,target:h==null?void 0:h.target}}),withOverrides:WC,renderAfterEditable:TR,options:{isUrl:_g,rangeBeforeOptions:{matchString:" ",skipInvalid:!0,afterMatch:!0},triggerFloatingButtonHotkeys:"command+shift+k, ctrl+shift+k",appBridge:s},then:(h,{type:v})=>({deserializeHtml:{rules:[{validNodeName:"A",validClassName:"btn"}],getNode:x=>({type:v,url:x.getAttribute("href"),target:x.getAttribute("target")||"_blank"})}})})();class GC extends L.Plugin{constructor({styles:h=Mv,...v}){super(Ag,{button:dR,markupElement:new cR,...v}),this.styles={},this.styles=h,this.appBridge=v==null?void 0:v.appBridge}plugins(){return[QC(this.appBridge)]}}var st=(s=>(s.heading1="heading1",s.heading2="heading2",s.heading3="heading3",s.heading4="heading4",s.custom1="custom1",s.custom2="custom2",s.custom3="custom3",s.quote="quote",s.imageCaption="imageCaption",s.imageTitle="imageTitle",s.p="p",s))(st||{});const er={heading1:{display:"inline-block",fontSize:"var(--f-theme-settings-heading1-font-size)",lineHeight:"var(--f-theme-settings-heading1-line-height)",marginTop:"var(--f-theme-settings-heading1-margin-top)",marginBottom:"var(--f-theme-settings-heading1-margin-bottom)",textDecoration:"var(--f-theme-settings-heading1-text-decoration)",fontStyle:"var(--f-theme-settings-heading1-font-style)",textTransform:"var(--f-theme-settings-heading1-text-transform)",letterSpacing:"var(--f-theme-settings-heading1-letter-spacing)",fontWeight:"var(--f-theme-settings-heading1-font-weight)",fontFamily:"var(--f-theme-settings-heading1-font-family)",color:"var(--f-theme-settings-heading1-color)"},heading2:{fontSize:"var(--f-theme-settings-heading2-font-size)",lineHeight:"var(--f-theme-settings-heading2-line-height)",marginTop:"var(--f-theme-settings-heading2-margin-top)",marginBottom:"var(--f-theme-settings-heading2-margin-bottom)",textDecoration:"var(--f-theme-settings-heading2-text-decoration)",fontStyle:"var(--f-theme-settings-heading2-font-style)",textTransform:"var(--f-theme-settings-heading2-text-transform)",letterSpacing:"var(--f-theme-settings-heading2-letter-spacing)",fontWeight:"var(--f-theme-settings-heading2-font-weight)",fontFamily:"var(--f-theme-settings-heading2-font-family)",color:"var(--f-theme-settings-heading2-color)"},heading3:{fontSize:"var(--f-theme-settings-heading3-font-size)",lineHeight:"var(--f-theme-settings-heading3-line-height)",marginTop:"var(--f-theme-settings-heading3-margin-top)",marginBottom:"var(--f-theme-settings-heading3-margin-bottom)",textDecoration:"var(--f-theme-settings-heading3-text-decoration)",fontStyle:"var(--f-theme-settings-heading3-font-style)",textTransform:"var(--f-theme-settings-heading3-text-transform)",letterSpacing:"var(--f-theme-settings-heading3-letter-spacing)",fontWeight:"var(--f-theme-settings-heading3-font-weight)",fontFamily:"var(--f-theme-settings-heading3-font-family)",color:"var(--f-theme-settings-heading3-color)"},heading4:{fontSize:"var(--f-theme-settings-heading4-font-size)",lineHeight:"var(--f-theme-settings-heading4-line-height)",marginTop:"var(--f-theme-settings-heading4-margin-top)",marginBottom:"var(--f-theme-settings-heading4-margin-bottom)",textDecoration:"var(--f-theme-settings-heading4-text-decoration)",fontStyle:"var(--f-theme-settings-heading4-font-style)",textTransform:"var(--f-theme-settings-heading4-text-transform)",letterSpacing:"var(--f-theme-settings-heading4-letter-spacing)",fontWeight:"var(--f-theme-settings-heading4-font-weight)",fontFamily:"var(--f-theme-settings-heading4-font-family)",color:"var(--f-theme-settings-heading4-color)"},custom1:{fontSize:"var(--f-theme-settings-custom1-font-size)",lineHeight:"var(--f-theme-settings-custom1-line-height)",marginTop:"var(--f-theme-settings-custom1-margin-top)",marginBottom:"var(--f-theme-settings-custom1-margin-bottom)",textDecoration:"var(--f-theme-settings-custom1-text-decoration)",fontStyle:"var(--f-theme-settings-custom1-font-style)",textTransform:"var(--f-theme-settings-custom1-text-transform)",letterSpacing:"var(--f-theme-settings-custom1-letter-spacing)",fontWeight:"var(--f-theme-settings-custom1-font-weight)",fontFamily:"var(--f-theme-settings-custom1-font-family)",color:"var(--f-theme-settings-custom1-color)"},custom2:{fontSize:"var(--f-theme-settings-custom2-font-size)",lineHeight:"var(--f-theme-settings-custom2-line-height)",marginTop:"var(--f-theme-settings-custom2-margin-top)",marginBottom:"var(--f-theme-settings-custom2-margin-bottom)",textDecoration:"var(--f-theme-settings-custom2-text-decoration)",fontStyle:"var(--f-theme-settings-custom2-font-style)",textTransform:"var(--f-theme-settings-custom2-text-transform)",letterSpacing:"var(--f-theme-settings-custom2-letter-spacing)",fontWeight:"var(--f-theme-settings-custom2-font-weight)",fontFamily:"var(--f-theme-settings-custom2-font-family)",color:"var(--f-theme-settings-custom2-color)"},custom3:{fontSize:"var(--f-theme-settings-custom3-font-size)",lineHeight:"var(--f-theme-settings-custom3-line-height)",marginTop:"var(--f-theme-settings-custom3-margin-top)",marginBottom:"var(--f-theme-settings-custom3-margin-bottom)",textDecoration:"var(--f-theme-settings-custom3-text-decoration)",fontStyle:"var(--f-theme-settings-custom3-font-style)",textTransform:"var(--f-theme-settings-custom3-text-transform)",letterSpacing:"var(--f-theme-settings-custom3-letter-spacing)",fontWeight:"var(--f-theme-settings-custom3-font-weight)",fontFamily:"var(--f-theme-settings-custom3-font-family)",color:"var(--f-theme-settings-custom3-color)"},p:{fontSize:"var(--f-theme-settings-body-font-size)",lineHeight:"var(--f-theme-settings-body-line-height)",marginTop:"var(--f-theme-settings-body-margin-top)",marginBottom:"var(--f-theme-settings-body-margin-bottom)",textDecoration:"var(--f-theme-settings-body-text-decoration)",fontStyle:"var(--f-theme-settings-body-font-style)",textTransform:"var(--f-theme-settings-body-text-transform)",letterSpacing:"var(--f-theme-settings-body-letter-spacing)",fontWeight:"var(--f-theme-settings-body-font-weight)",fontFamily:"var(--f-theme-settings-body-font-family)",color:"var(--f-theme-settings-body-color)"},quote:{fontSize:"var(--f-theme-settings-quote-font-size)",lineHeight:"var(--f-theme-settings-quote-line-height)",marginTop:"var(--f-theme-settings-quote-margin-top)",marginBottom:"var(--f-theme-settings-quote-margin-bottom)",textDecoration:"var(--f-theme-settings-quote-text-decoration)",fontStyle:"var(--f-theme-settings-quote-font-style)",textTransform:"var(--f-theme-settings-quote-text-transform)",letterSpacing:"var(--f-theme-settings-quote-letter-spacing)",fontWeight:"var(--f-theme-settings-quote-font-weight)",fontFamily:"var(--f-theme-settings-quote-font-family)",color:"var(--f-theme-settings-quote-color)"},imageCaption:{fontSize:"var(--f-theme-settings-image-caption-font-size)",lineHeight:"var(--f-theme-settings-image-caption-line-height)",marginTop:"var(--f-theme-settings-image-caption-margin-top)",marginBottom:"var(--f-theme-settings-image-caption-margin-bottom)",textDecoration:"var(--f-theme-settings-image-caption-text-decoration)",fontStyle:"var(--f-theme-settings-image-caption-font-style)",textTransform:"var(--f-theme-settings-image-caption-text-transform)",letterSpacing:"var(--f-theme-settings-image-caption-letter-spacing)",fontWeight:"var(--f-theme-settings-image-caption-font-weight)",fontFamily:"var(--f-theme-settings-image-caption-font-family)",color:"var(--f-theme-settings-image-caption-color)"},imageTitle:{fontSize:"var(--f-theme-settings-image-title-font-size)",lineHeight:"var(--f-theme-settings-image-title-line-height)",marginTop:"var(--f-theme-settings-image-title-margin-top)",marginBottom:"var(--f-theme-settings-image-title-margin-bottom)",textDecoration:"var(--f-theme-settings-image-title-text-decoration)",fontStyle:"var(--f-theme-settings-image-title-font-style)",textTransform:"var(--f-theme-settings-image-title-text-transform)",letterSpacing:"var(--f-theme-settings-image-title-letter-spacing)",fontWeight:"var(--f-theme-settings-image-title-font-weight)",fontFamily:"var(--f-theme-settings-image-title-font-family)",color:"var(--f-theme-settings-image-title-color)"},[wc]:{fontSize:"var(--f-theme-settings-link-font-size)",lineHeight:"var(--f-theme-settings-link-line-height)",marginTop:"var(--f-theme-settings-link-margin-top)",marginBottom:"var(--f-theme-settings-link-margin-bottom)",textDecoration:"var(--f-theme-settings-link-text-decoration)",fontStyle:"var(--f-theme-settings-link-font-style)",textTransform:"var(--f-theme-settings-link-text-transform)",letterSpacing:"var(--f-theme-settings-link-letter-spacing)",fontWeight:"var(--f-theme-settings-link-font-weight)",fontFamily:"var(--f-theme-settings-link-font-family)",color:"var(--f-theme-settings-link-color)"},...Mv},RR=()=>{const s=N.useFloatingLinkUrlInput({});return _.jsx("div",{"data-test-id":"floating-link-edit",className:"tw-bg-white tw-rounded tw-shadow tw-p-4 tw-min-w-[400px]",children:_.jsxs("span",{"data-test-id":"preview-link-flyout",className:"tw-flex tw-justify-between",children:[_.jsx("span",{className:"tw-pointer-events-none",style:er.p,children:s.defaultValue}),_.jsxs("span",{className:"tw-flex tw-gap-2",children:[_.jsx("span",{role:"button",tabIndex:0,"data-test-id":"edit-link-button",className:"tw-transition tw-cursor-pointer tw-rounded hover:tw-bg-black-10 tw-p-1",children:_.jsx(_v.EditButton,{children:_.jsx(L.IconPen16,{})})}),_.jsx("span",{role:"button",tabIndex:0,"data-test-id":"remove-link-button",className:"tw-transition tw-cursor-pointer tw-rounded hover:tw-bg-black-10 tw-p-1",children:_.jsx(_v.UnlinkButton,{children:_.jsx(L.IconTrashBin16,{})})})]})]})})},kR=({floatingOptions:s,...h})=>{const v=N.useEditorRef(),x=N.usePlateSelectors().keyEditor(),b=N.useFloatingLinkSelectors().mode(),j=N.useFloatingLinkSelectors().isOpen(v.id),{triggerFloatingLinkHotkeys:E="command+k, ctrl+k"}=N.getPluginOptions(v,N.ELEMENT_LINK),Q=Be.useCallback(()=>{const ne=N.getAboveNode(v,{match:{type:N.getPluginType(v,N.ELEMENT_LINK)}});if(ne){const[,ue]=ne;return N.getRangeBoundingClientRect(v,{anchor:N.getStartPoint(v,ue),focus:N.getEndPoint(v,ue)})}return N.getDefaultBoundingClientRect()},[v]),A=j&&b==="edit",{update:G,style:re,floating:F}=N.useVirtualFloatingLink({editorId:v.id,open:A,getBoundingClientRect:Q,...s});return Be.useEffect(()=>{const ne=VT(v);if(ne&&N.floatingLinkActions.url(ne),v.selection&&N.someNode(v,{match:{type:N.getPluginType(v,N.ELEMENT_LINK)}})){N.floatingLinkActions.show("edit",v.id),G();return}N.floatingLinkSelectors.mode()==="edit"&&N.floatingLinkActions.hide()},[v,x,G]),N.useHotkeys(E,ne=>{ne.preventDefault(),N.floatingLinkSelectors.mode()==="edit"&&N.triggerFloatingLinkEdit(v)},{enableOnContentEditable:!0},[]),N.useFloatingLinkEnter(),N.useFloatingLinkEscape(),{style:{...re,zIndex:1e3},...h,ref:N.useComposedRef(h.ref,F)}},_R={url:"",text:"",newTab:L.CheckboxState.Unchecked},DR=()=>{const[s,h]=Be.useReducer((v,x)=>{const{type:b,payload:j}=x;switch(b){case"NEW_TAB":return{...v,newTab:L.CheckboxState.Checked};case"SAME_TAB":return{...v,newTab:L.CheckboxState.Unchecked};case"URL":case"TEXT":case"INIT":return{...v,...j};default:return v}},_R);return[s,h]},LR=()=>{const s=N.useEditorRef(),[h,v]=DR();Be.useEffect(()=>{const re=BT(s),F=HT(s);v({type:"INIT",payload:{text:N.floatingLinkSelectors.text(),newTab:N.floatingLinkSelectors.newTab()?L.CheckboxState.Checked:L.CheckboxState.Unchecked,url:re&&F===""?re:N.floatingLinkSelectors.url()}})},[v,s]);const x=re=>{v({type:"TEXT",payload:{text:re}})},b=re=>{v({type:"URL",payload:{url:re}})},j=re=>{v(re?{type:"NEW_TAB"}:{type:"SAME_TAB"})},E=()=>{N.floatingLinkActions.hide()},Q=re=>{if(!Lv(h.url)||!A)return;const F=Dv(h.url);N.floatingLinkActions.text(h.text),N.floatingLinkActions.url(F),N.floatingLinkActions.newTab(h.newTab===L.CheckboxState.Checked),N.submitFloatingLink(s)&&(re==null||re.preventDefault())},A=h.url!==""&&h.text!=="",{appBridge:G}=N.getPluginOptions(s,N.ELEMENT_LINK);return N.useHotkeys("enter",Q,{enableOnFormTags:["INPUT"]},[]),{state:h,onTextChange:x,onUrlChange:b,onToggleTab:j,onCancel:E,onSave:Q,hasValues:A,isValidUrlOrEmpty:Lv,appBridge:G}},OR=()=>_.jsx(YC,{...LR(),testId:"floating-link-insert"}),NR=({readOnly:s})=>{const h=N.useFloatingLinkSelectors().isEditing();if(s)return null;const v=_.jsx(OR,{}),x=h?v:_.jsx(RR,{});return _.jsxs(_.Fragment,{children:[_.jsx(_v.InsertRoot,{children:v}),_.jsx(_v.EditRoot,{children:x})]})},MR=({id:s,editorId:h})=>{const v=N.usePlateEditorState(N.useEventPlateId(h)),x=!!N.isRangeInSameBlock(v,{at:v.selection});return _.jsx("div",{"data-plugin-id":s,children:_.jsx(N.LinkToolbarButton,{tooltip:L.getTooltip(x?`Link
|
|
67
|
+
${L.getHotkeyByPlatform("Ctrl+K")}`:"Links can only be set for a single text block."),icon:_.jsx("span",{className:"tw-p-2 tw-h-8 tw-justify-center tw-items-center tw-flex",children:_.jsx(L.IconLink,{size:L.IconSize.Size16})}),classNames:L.getButtonClassNames(x),styles:{root:{width:"24px",height:"24px"}},actionHandler:"onMouseDown"})})},AR=s=>({...N.useElementProps({...s,elementToAttributes:v=>{var x,b;return{href:v.url||((b=(x=v.chosenLink)==null?void 0:x.searchResult)==null?void 0:b.link)||"",target:v.target||"_blank"}}}),onMouseOver:v=>{v.stopPropagation()}}),UR=s=>{const h=AR(s),{attributes:v,children:x}=s;return _.jsx("a",{...v,href:h.href,target:h.target,style:er[wc],children:x})};class zR extends L.MarkupElement{constructor(h=N.ELEMENT_LINK,v=UR){super(h,v)}}const qC=s=>N.createPluginFactory({...N.createLinkPlugin(),renderAfterEditable:NR,options:{isUrl:_g,rangeBeforeOptions:{matchString:" ",skipInvalid:!0,afterMatch:!0},triggerFloatingLinkHotkeys:"command+k, ctrl+k",appBridge:s}})();class KC extends L.Plugin{constructor(h,v=er[wc]){super(wc,{button:MR,markupElement:new zR,...h}),this.styles={},this.styles=v,this.appBridge=h==null?void 0:h.appBridge}plugins(){return[qC(this.appBridge)]}}const jR="textstyle-custom1-plugin";class XC extends L.Plugin{constructor({styles:h=er.custom1,...v}={}){super(st.custom1,{label:"Custom 1",markupElement:new PR,...v}),this.styles={},this.styles=h}plugins(){return[FR(this.styles)]}}class PR extends L.MarkupElement{constructor(h=jR,v=ZC){super(h,v)}}const ZC=({element:s,attributes:h,children:v,styles:x})=>{const b=s.align;return _.jsx("p",{...h,className:L.merge([b&&L.alignmentClassnames[b],L.getColumnBreakClasses(s),"a-custom1"]),children:_.jsx("span",{style:x,children:v})})},FR=s=>N.createPluginFactory({key:st.custom1,isElement:!0,deserializeHtml:{rules:[{validClassName:st.custom1}]}})({component:h=>_.jsx(ZC,{...h,styles:s})}),BR="textstyle-custom2-plugin";class JC extends L.Plugin{constructor({styles:h=er.custom2,...v}={}){super(st.custom2,{label:"Custom 2",markupElement:new HR,...v}),this.styles={},this.styles=h}plugins(){return[IR(this.styles)]}}class HR extends L.MarkupElement{constructor(h=BR,v=e0){super(h,v)}}const e0=({element:s,attributes:h,children:v,styles:x})=>{const b=s.align;return _.jsx("p",{...h,className:L.merge([b&&L.alignmentClassnames[b],L.getColumnBreakClasses(s),"a-custom2"]),children:_.jsx("span",{style:x,children:v})})},IR=s=>N.createPluginFactory({key:st.custom2,isElement:!0,deserializeHtml:{rules:[{validClassName:st.custom2}]}})({component:h=>_.jsx(e0,{...h,styles:s})}),VR="textstyle-custom3-plugin";class t0 extends L.Plugin{constructor({styles:h=er.custom3,...v}={}){super(L.TextStyles.custom3,{label:"Custom 3",markupElement:new $R,...v}),this.styles={},this.styles=h}plugins(){return[YR(this.styles)]}}class $R extends L.MarkupElement{constructor(h=VR,v=n0){super(h,v)}}const n0=({element:s,attributes:h,children:v,styles:x})=>{const b=s.align;return _.jsx("p",{...h,className:L.merge([b&&L.alignmentClassnames[b],L.getColumnBreakClasses(s),"a-custom3"]),children:_.jsx("span",{style:x,children:v})})},YR=s=>N.createPluginFactory({key:L.TextStyles.custom3,isElement:!0,deserializeHtml:{rules:[{validClassName:L.TextStyles.custom3}]}})({component:h=>_.jsx(n0,{...h,styles:s})}),WR="textstyle-heading1-plugin";class r0 extends L.Plugin{constructor({styles:h=er.heading1,...v}={}){super(st.heading1,{label:"Heading 1",markupElement:new QR,...v}),this.styles={},this.styles=h}plugins(){return[GR(this.styles)]}}class QR extends L.MarkupElement{constructor(h=WR,v=Ug){super(h,v)}}const Ug=({element:s,attributes:h,children:v,styles:x})=>{const b=s.align;return _.jsx("h1",{...h,className:L.merge([b&&L.alignmentClassnames[b],L.getColumnBreakClasses(s),"a-h1"]),children:_.jsx("span",{style:x,children:v})})},GR=s=>N.createPluginFactory({key:st.heading1,isElement:!0,component:Ug,deserializeHtml:{rules:[{validNodeName:["h1","H1"]}]}})({component:h=>_.jsx(Ug,{...h,styles:s})}),qR="textstyle-heading2-plugin";class a0 extends L.Plugin{constructor({styles:h=er.heading2,...v}={}){super(st.heading2,{label:"Heading 2",markupElement:new KR,...v}),this.styles={},this.styles=h}plugins(){return[XR(this.styles)]}}class KR extends L.MarkupElement{constructor(h=qR,v=zg){super(h,v)}}const zg=({element:s,attributes:h,children:v,styles:x})=>{const b=s.align;return _.jsx("h2",{...h,className:L.merge([b&&L.alignmentClassnames[b],L.getColumnBreakClasses(s)]),children:_.jsx("span",{style:x,children:v})})},XR=s=>N.createPluginFactory({key:st.heading2,isElement:!0,component:zg,deserializeHtml:{rules:[{validNodeName:["h2","H2"]}]}})({component:h=>_.jsx(zg,{...h,styles:s})}),ZR="textstyle-heading3-plugin";class i0 extends L.Plugin{constructor({styles:h=er.heading3,...v}={}){super(st.heading3,{label:"Heading 3",markupElement:new JR,...v}),this.styles={},this.styles=h}plugins(){return[e1(this.styles)]}}class JR extends L.MarkupElement{constructor(h=ZR,v=jg){super(h,v)}}const jg=({element:s,attributes:h,children:v,styles:x})=>{const b=s.align;return _.jsx("h3",{...h,className:L.merge([b&&L.alignmentClassnames[b],L.getColumnBreakClasses(s)]),children:_.jsx("span",{style:x,children:v})})},e1=s=>N.createPluginFactory({key:st.heading3,isElement:!0,component:jg,deserializeHtml:{rules:[{validNodeName:["h3","H3"]}]}})({component:h=>_.jsx(jg,{...h,styles:s})}),t1="textstyle-heading4-plugin";class l0 extends L.Plugin{constructor({styles:h=er.heading4,...v}={}){super(st.heading4,{label:"Heading 4",markupElement:new n1,...v}),this.styles={},this.styles=h}plugins(){return[r1(this.styles)]}}class n1 extends L.MarkupElement{constructor(h=t1,v=Pg){super(h,v)}}const Pg=({element:s,attributes:h,children:v,styles:x})=>{const b=s.align;return _.jsx("h4",{...h,className:L.merge([b&&L.alignmentClassnames[b],L.getColumnBreakClasses(s)]),children:_.jsx("span",{style:x,children:v})})},r1=s=>N.createPluginFactory({key:st.heading4,isElement:!0,component:Pg,deserializeHtml:{rules:[{validNodeName:["h4","H4"]}]}})({component:h=>_.jsx(Pg,{...h,styles:s})}),a1="textstyle-imageCaption-plugin";class u0 extends L.Plugin{constructor({styles:h=er.imageCaption,...v}={}){super(st.imageCaption,{label:"Image Caption",markupElement:new i1,...v}),this.styles={},this.styles=h}plugins(){return[l1(this.styles)]}}class i1 extends L.MarkupElement{constructor(h=a1,v=Fg){super(h,v)}}const Fg=({element:s,attributes:h,children:v,styles:x})=>{const b=s.align;return _.jsx("p",{...h,className:L.merge([b&&L.alignmentClassnames[b],L.getColumnBreakClasses(s),"a-image-caption"]),children:_.jsx("span",{style:x,children:v})})},l1=s=>N.createPluginFactory({key:st.imageCaption,isElement:!0,component:Fg,deserializeHtml:{rules:[{validClassName:st.imageCaption}]}})({component:h=>_.jsx(Fg,{...h,styles:s})}),u1="textstyle-imageTitle-plugin";class o0 extends L.Plugin{constructor({styles:h=er.imageTitle,...v}={}){super(st.imageTitle,{label:"Image Title",markupElement:new o1,...v}),this.styles={},this.styles=h}plugins(){return[s1(this.styles)]}}class o1 extends L.MarkupElement{constructor(h=u1,v=Bg){super(h,v)}}const Bg=({element:s,attributes:h,children:v,styles:x})=>{const b=s.align;return _.jsx("p",{...h,className:L.merge([b&&L.alignmentClassnames[b],L.getColumnBreakClasses(s),"a-image-title"]),children:_.jsx("span",{style:x,children:v})})},s1=s=>N.createPluginFactory({key:st.imageTitle,isElement:!0,component:Bg,deserializeHtml:{rules:[{validClassName:st.imageTitle}]}})({component:h=>_.jsx(Bg,{...h,styles:s})});class s0 extends L.Plugin{constructor({styles:h=er.p,...v}={}){super(st.p,{markupElement:new f0,label:"Body Text",...v}),this.styles={},this.styles=h}plugins(){return[d0(this.styles)]}}const c0="tw-m-0 tw-px-0 tw-py-0",Av=({element:s,attributes:h,children:v,styles:x})=>{const b=s.align,j=L.merge([b&&L.alignmentClassnames[b],c0,L.getColumnBreakClasses(s)]);return _.jsx("p",{...h,className:j,style:x,children:v})};class f0 extends L.MarkupElement{constructor(h=st.p,v=Av){super(h,v)}}const d0=s=>N.createPluginFactory({...N.createParagraphPlugin(),key:st.p,isElement:!0,component:Av})({component:h=>_.jsx(Av,{...h,styles:s})}),c1="textstyle-quote-plugin";class p0 extends L.Plugin{constructor({styles:h=er.quote,...v}={}){super(st.quote,{label:"Quote",markupElement:new f1,...v}),this.styles={},this.styles=h}plugins(){return[v0(this.styles)]}}class f1 extends L.MarkupElement{constructor(h=c1,v=Uv){super(h,v)}}const Uv=({element:s,attributes:h,children:v,styles:x})=>{const b=s.align;return _.jsx("blockquote",{...h,className:L.merge([b&&L.alignmentClassnames[b],L.getColumnBreakClasses(s),"a-quote"]),children:_.jsx("span",{style:x,children:v})})},v0=s=>N.createPluginFactory({key:st.quote,isElement:!0,component:Uv,deserializeHtml:{rules:[{validNodeName:["blockquote","BLOCKQUOTE"]}]}})({component:h=>_.jsx(Uv,{...h,styles:s})}),Hg=[new r0,new a0,new i0,new l0,new XC,new JC,new t0,new p0,new s0],Tc=[st.heading1,st.heading2,st.heading3,st.heading4,st.custom1,st.custom2,st.custom3,st.quote,st.p],d1=[...Hg,new u0,new o0],p1=[...Tc,st.imageCaption,st.imageTitle],v1=s=>{let h=wg(s.text);h=h.replaceAll(`
|
|
68
|
+
`,"<br />");const{bold:v,italic:x,underline:b,strikethrough:j,code:E,subscript:Q,superscript:A}=s;return v&&(h=`<span class="${L.BOLD_CLASSES}">${h}</span>`),x&&(h=`<span class="${L.ITALIC_CLASSES}">${h}</span>`),b&&(h=`<span class="${L.UNDERLINE_CLASSES}">${h}</span>`),j&&(h=`<span class="${L.STRIKETHROUGH_CLASSES}">${h}</span>`),E&&(h=`<span class="${L.CODE_CLASSES}">${h}</span>`),Q?h=`<sub>${h}</sub>`:A&&(h=`<sup>${h}</sup>`),h},cu=s=>s?Object.keys(s).reduce((h,v)=>{const x=s[v];return x?`${h}${h1(v)}: ${x}; `:h},"").trim().replaceAll('"',"'"):"",h1=s=>s.replaceAll(/([A-Z])/g,"-$1").toLowerCase(),m1=(s,h,v,x)=>{const b=x[Ag],j=s.buttonStyle??"primary",E=`button${j.charAt(0).toUpperCase()}${j.slice(1)}`,Q=b[E],A=cu(Q);return`<a href="${s.url}"
|
|
69
|
+
target="${s.target??"_blank"}"
|
|
70
|
+
style="${A}"
|
|
71
|
+
class="${v}"
|
|
72
|
+
onmouseenter="this.setAttribute('style', '${A} ${cu(Q==null?void 0:Q.hover)}');"
|
|
73
|
+
onmouseleave="this.setAttribute('style', '${cu(Q)}');"
|
|
74
|
+
>${h}</a>`},g1=(s,h,v,x)=>{var b;if(s.chosenLink){const{chosenLink:j}=s;return`<a class="${v}" style="${cu(x[wc])}" target=${j!=null&&j.openInNewTab?"_blank":"_self"} href="${wg((b=j==null?void 0:j.searchResult)==null?void 0:b.link)}">${h}</a>`}return`<a class="${v}" style="${cu(x[wc])}" target="${(s==null?void 0:s.target)??"_blank"}" href="${wg(s.url)}">${h}</a>`},y1=(s,h,v,x)=>{const b=cu(v);return s.type===st.heading1?`<h1 class="${L.merge([x,"a-h1"])}">${Bi(h,b)}</h1>`:s.type===st.heading2?`<h2 class="${x}">${Bi(h,b)}</h2>`:s.type===st.heading3?`<h3 class="${x}">${Bi(h,b)}</h3>`:s.type===st.heading4?`<h4 class="${x}">${Bi(h,b)}</h4>`:s.type===st.custom1?`<p class="${L.merge([x,"a-custom1"])}">${Bi(h,b)}</p>`:s.type===st.custom2?`<p class="${L.merge([x,"a-custom2"])}">${Bi(h,b)}</p>`:s.type===st.custom3?`<p class="${L.merge([x,"a-custom3"])}">${Bi(h,b)}</p>`:s.type===st.quote?`<p class="${L.merge([x,"a-quote"])}">${Bi(h,b)}</p>`:s.type===st.imageTitle?`<p class="${L.merge([x,"a-image-title"])}">${Bi(h,b)}</p>`:s.type===st.imageCaption?`<p class="${L.merge([x,"a-image-caption"])}">${Bi(h,b)}</p>`:`<p class="${x}">${Bi(h,b)}</p>`},Bi=(s,h)=>`<span style="${h}">${s}</span>`,S1=(s,h,v,x)=>`<div disabled class="tw-flex tw-flex-row tw-pb-2 first-of-type:tw-ml-0 ${v}" style="margin-left:${(s.indent??0)*24}px;">
|
|
75
|
+
<div class="tw-flex tw-items-center tw-justify-center tw-select-none tw-mr-1.5">
|
|
76
|
+
<input
|
|
77
|
+
class="tw-w-4 tw-h-4 tw-m-0"
|
|
78
|
+
type="checkbox"
|
|
79
|
+
${s.checked?"checked":""}
|
|
80
|
+
onclick="return false;" />
|
|
81
|
+
</div>
|
|
82
|
+
<span class="${L.merge(["tw-flex-1 tw-focus:outline-none",s.checked?"!tw-line-through":""])}" style="${cu(x[s.children[0].textStyle])}">${h}</span>
|
|
83
|
+
</div>`;var Ig={exports:{}},ja={},zv={exports:{}},Vg={};/**
|
|
84
|
+
* @license React
|
|
85
|
+
* scheduler.production.min.js
|
|
86
|
+
*
|
|
87
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
88
|
+
*
|
|
89
|
+
* This source code is licensed under the MIT license found in the
|
|
90
|
+
* LICENSE file in the root directory of this source tree.
|
|
91
|
+
*/var h0;function E1(){return h0||(h0=1,function(s){function h(fe,je){var D=fe.length;fe.push(je);e:for(;0<D;){var te=D-1>>>1,Se=fe[te];if(0<b(Se,je))fe[te]=je,fe[D]=Se,D=te;else break e}}function v(fe){return fe.length===0?null:fe[0]}function x(fe){if(fe.length===0)return null;var je=fe[0],D=fe.pop();if(D!==je){fe[0]=D;e:for(var te=0,Se=fe.length,ot=Se>>>1;te<ot;){var nt=2*(te+1)-1,Nt=fe[nt],St=nt+1,kt=fe[St];if(0>b(Nt,D))St<Se&&0>b(kt,Nt)?(fe[te]=kt,fe[St]=D,te=St):(fe[te]=Nt,fe[nt]=D,te=nt);else if(St<Se&&0>b(kt,D))fe[te]=kt,fe[St]=D,te=St;else break e}}return je}function b(fe,je){var D=fe.sortIndex-je.sortIndex;return D!==0?D:fe.id-je.id}if(typeof performance=="object"&&typeof performance.now=="function"){var j=performance;s.unstable_now=function(){return j.now()}}else{var E=Date,Q=E.now();s.unstable_now=function(){return E.now()-Q}}var A=[],G=[],re=1,F=null,ne=3,ue=!1,be=!1,Xe=!1,et=typeof setTimeout=="function"?setTimeout:null,lt=typeof clearTimeout=="function"?clearTimeout:null,Qe=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function Ve(fe){for(var je=v(G);je!==null;){if(je.callback===null)x(G);else if(je.startTime<=fe)x(G),je.sortIndex=je.expirationTime,h(A,je);else break;je=v(G)}}function vt(fe){if(Xe=!1,Ve(fe),!be)if(v(A)!==null)be=!0,ut(_e);else{var je=v(G);je!==null&&ye(vt,je.startTime-fe)}}function _e(fe,je){be=!1,Xe&&(Xe=!1,lt(Rt),Rt=-1),ue=!0;var D=ne;try{for(Ve(je),F=v(A);F!==null&&(!(F.expirationTime>je)||fe&&!wt());){var te=F.callback;if(typeof te=="function"){F.callback=null,ne=F.priorityLevel;var Se=te(F.expirationTime<=je);je=s.unstable_now(),typeof Se=="function"?F.callback=Se:F===v(A)&&x(A),Ve(je)}else x(A);F=v(A)}if(F!==null)var ot=!0;else{var nt=v(G);nt!==null&&ye(vt,nt.startTime-je),ot=!1}return ot}finally{F=null,ne=D,ue=!1}}var De=!1,Oe=null,Rt=-1,nn=5,jt=-1;function wt(){return!(s.unstable_now()-jt<nn)}function vn(){if(Oe!==null){var fe=s.unstable_now();jt=fe;var je=!0;try{je=Oe(!0,fe)}finally{je?Ge():(De=!1,Oe=null)}}else De=!1}var Ge;if(typeof Qe=="function")Ge=function(){Qe(vn)};else if(typeof MessageChannel<"u"){var dt=new MessageChannel,Ue=dt.port2;dt.port1.onmessage=vn,Ge=function(){Ue.postMessage(null)}}else Ge=function(){et(vn,0)};function ut(fe){Oe=fe,De||(De=!0,Ge())}function ye(fe,je){Rt=et(function(){fe(s.unstable_now())},je)}s.unstable_IdlePriority=5,s.unstable_ImmediatePriority=1,s.unstable_LowPriority=4,s.unstable_NormalPriority=3,s.unstable_Profiling=null,s.unstable_UserBlockingPriority=2,s.unstable_cancelCallback=function(fe){fe.callback=null},s.unstable_continueExecution=function(){be||ue||(be=!0,ut(_e))},s.unstable_forceFrameRate=function(fe){0>fe||125<fe?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):nn=0<fe?Math.floor(1e3/fe):5},s.unstable_getCurrentPriorityLevel=function(){return ne},s.unstable_getFirstCallbackNode=function(){return v(A)},s.unstable_next=function(fe){switch(ne){case 1:case 2:case 3:var je=3;break;default:je=ne}var D=ne;ne=je;try{return fe()}finally{ne=D}},s.unstable_pauseExecution=function(){},s.unstable_requestPaint=function(){},s.unstable_runWithPriority=function(fe,je){switch(fe){case 1:case 2:case 3:case 4:case 5:break;default:fe=3}var D=ne;ne=fe;try{return je()}finally{ne=D}},s.unstable_scheduleCallback=function(fe,je,D){var te=s.unstable_now();switch(typeof D=="object"&&D!==null?(D=D.delay,D=typeof D=="number"&&0<D?te+D:te):D=te,fe){case 1:var Se=-1;break;case 2:Se=250;break;case 5:Se=1073741823;break;case 4:Se=1e4;break;default:Se=5e3}return Se=D+Se,fe={id:re++,callback:je,priorityLevel:fe,startTime:D,expirationTime:Se,sortIndex:-1},D>te?(fe.sortIndex=D,h(G,fe),v(A)===null&&fe===v(G)&&(Xe?(lt(Rt),Rt=-1):Xe=!0,ye(vt,D-te))):(fe.sortIndex=Se,h(A,fe),be||ue||(be=!0,ut(_e))),fe},s.unstable_shouldYield=wt,s.unstable_wrapCallback=function(fe){var je=ne;return function(){var D=ne;ne=je;try{return fe.apply(this,arguments)}finally{ne=D}}}}(Vg)),Vg}var $g={};/**
|
|
92
|
+
* @license React
|
|
93
|
+
* scheduler.development.js
|
|
94
|
+
*
|
|
95
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
96
|
+
*
|
|
97
|
+
* This source code is licensed under the MIT license found in the
|
|
98
|
+
* LICENSE file in the root directory of this source tree.
|
|
99
|
+
*/var m0;function C1(){return m0||(m0=1,function(s){process.env.NODE_ENV!=="production"&&function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var h=!1,v=!1,x=5;function b(pe,He){var Ct=pe.length;pe.push(He),Q(pe,He,Ct)}function j(pe){return pe.length===0?null:pe[0]}function E(pe){if(pe.length===0)return null;var He=pe[0],Ct=pe.pop();return Ct!==He&&(pe[0]=Ct,A(pe,Ct,0)),He}function Q(pe,He,Ct){for(var Yt=Ct;Yt>0;){var Gt=Yt-1>>>1,Un=pe[Gt];if(G(Un,He)>0)pe[Gt]=He,pe[Yt]=Un,Yt=Gt;else return}}function A(pe,He,Ct){for(var Yt=Ct,Gt=pe.length,Un=Gt>>>1;Yt<Un;){var bn=(Yt+1)*2-1,kr=pe[bn],en=bn+1,zr=pe[en];if(G(kr,He)<0)en<Gt&&G(zr,kr)<0?(pe[Yt]=zr,pe[en]=He,Yt=en):(pe[Yt]=kr,pe[bn]=He,Yt=bn);else if(en<Gt&&G(zr,He)<0)pe[Yt]=zr,pe[en]=He,Yt=en;else return}}function G(pe,He){var Ct=pe.sortIndex-He.sortIndex;return Ct!==0?Ct:pe.id-He.id}var re=1,F=2,ne=3,ue=4,be=5;function Xe(pe,He){}var et=typeof performance=="object"&&typeof performance.now=="function";if(et){var lt=performance;s.unstable_now=function(){return lt.now()}}else{var Qe=Date,Ve=Qe.now();s.unstable_now=function(){return Qe.now()-Ve}}var vt=1073741823,_e=-1,De=250,Oe=5e3,Rt=1e4,nn=vt,jt=[],wt=[],vn=1,Ge=null,dt=ne,Ue=!1,ut=!1,ye=!1,fe=typeof setTimeout=="function"?setTimeout:null,je=typeof clearTimeout=="function"?clearTimeout:null,D=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function te(pe){for(var He=j(wt);He!==null;){if(He.callback===null)E(wt);else if(He.startTime<=pe)E(wt),He.sortIndex=He.expirationTime,b(jt,He);else return;He=j(wt)}}function Se(pe){if(ye=!1,te(pe),!ut)if(j(jt)!==null)ut=!0,na(ot);else{var He=j(wt);He!==null&&xn(Se,He.startTime-pe)}}function ot(pe,He){ut=!1,ye&&(ye=!1,Ur()),Ue=!0;var Ct=dt;try{var Yt;if(!v)return nt(pe,He)}finally{Ge=null,dt=Ct,Ue=!1}}function nt(pe,He){var Ct=He;for(te(Ct),Ge=j(jt);Ge!==null&&!h&&!(Ge.expirationTime>Ct&&(!pe||ea()));){var Yt=Ge.callback;if(typeof Yt=="function"){Ge.callback=null,dt=Ge.priorityLevel;var Gt=Ge.expirationTime<=Ct,Un=Yt(Gt);Ct=s.unstable_now(),typeof Un=="function"?Ge.callback=Un:Ge===j(jt)&&E(jt),te(Ct)}else E(jt);Ge=j(jt)}if(Ge!==null)return!0;var bn=j(wt);return bn!==null&&xn(Se,bn.startTime-Ct),!1}function Nt(pe,He){switch(pe){case re:case F:case ne:case ue:case be:break;default:pe=ne}var Ct=dt;dt=pe;try{return He()}finally{dt=Ct}}function St(pe){var He;switch(dt){case re:case F:case ne:He=ne;break;default:He=dt;break}var Ct=dt;dt=He;try{return pe()}finally{dt=Ct}}function kt(pe){var He=dt;return function(){var Ct=dt;dt=He;try{return pe.apply(this,arguments)}finally{dt=Ct}}}function Et(pe,He,Ct){var Yt=s.unstable_now(),Gt;if(typeof Ct=="object"&&Ct!==null){var Un=Ct.delay;typeof Un=="number"&&Un>0?Gt=Yt+Un:Gt=Yt}else Gt=Yt;var bn;switch(pe){case re:bn=_e;break;case F:bn=De;break;case be:bn=nn;break;case ue:bn=Rt;break;case ne:default:bn=Oe;break}var kr=Gt+bn,en={id:vn++,callback:He,priorityLevel:pe,startTime:Gt,expirationTime:kr,sortIndex:-1};return Gt>Yt?(en.sortIndex=Gt,b(wt,en),j(jt)===null&&en===j(wt)&&(ye?Ur():ye=!0,xn(Se,Gt-Yt))):(en.sortIndex=kr,b(jt,en),!ut&&!Ue&&(ut=!0,na(ot))),en}function Qt(){}function Xr(){!ut&&!Ue&&(ut=!0,na(ot))}function br(){return j(jt)}function Zr(pe){pe.callback=null}function wn(){return dt}var tr=!1,Yn=null,Wn=-1,An=x,Jr=-1;function ea(){var pe=s.unstable_now()-Jr;return!(pe<An)}function nr(){}function Tr(pe){if(pe<0||pe>125){console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported");return}pe>0?An=Math.floor(1e3/pe):An=x}var ta=function(){if(Yn!==null){var pe=s.unstable_now();Jr=pe;var He=!0,Ct=!0;try{Ct=Yn(He,pe)}finally{Ct?Rr():(tr=!1,Yn=null)}}else tr=!1},Rr;if(typeof D=="function")Rr=function(){D(ta)};else if(typeof MessageChannel<"u"){var Ca=new MessageChannel,fr=Ca.port2;Ca.port1.onmessage=ta,Rr=function(){fr.postMessage(null)}}else Rr=function(){fe(ta,0)};function na(pe){Yn=pe,tr||(tr=!0,Rr())}function xn(pe,He){Wn=fe(function(){pe(s.unstable_now())},He)}function Ur(){je(Wn),Wn=-1}var yi=nr,wa=null;s.unstable_IdlePriority=be,s.unstable_ImmediatePriority=re,s.unstable_LowPriority=ue,s.unstable_NormalPriority=ne,s.unstable_Profiling=wa,s.unstable_UserBlockingPriority=F,s.unstable_cancelCallback=Zr,s.unstable_continueExecution=Xr,s.unstable_forceFrameRate=Tr,s.unstable_getCurrentPriorityLevel=wn,s.unstable_getFirstCallbackNode=br,s.unstable_next=St,s.unstable_pauseExecution=Qt,s.unstable_requestPaint=yi,s.unstable_runWithPriority=Nt,s.unstable_scheduleCallback=Et,s.unstable_shouldYield=ea,s.unstable_wrapCallback=kt,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()}($g)),$g}var g0;function y0(){return g0||(g0=1,process.env.NODE_ENV==="production"?zv.exports=E1():zv.exports=C1()),zv.exports}/**
|
|
100
|
+
* @license React
|
|
101
|
+
* react-dom.production.min.js
|
|
102
|
+
*
|
|
103
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
104
|
+
*
|
|
105
|
+
* This source code is licensed under the MIT license found in the
|
|
106
|
+
* LICENSE file in the root directory of this source tree.
|
|
107
|
+
*/var S0;function w1(){if(S0)return ja;S0=1;var s=Be,h=y0();function v(n){for(var r="https://reactjs.org/docs/error-decoder.html?invariant="+n,l=1;l<arguments.length;l++)r+="&args[]="+encodeURIComponent(arguments[l]);return"Minified React error #"+n+"; visit "+r+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var x=new Set,b={};function j(n,r){E(n,r),E(n+"Capture",r)}function E(n,r){for(b[n]=r,n=0;n<r.length;n++)x.add(r[n])}var Q=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),A=Object.prototype.hasOwnProperty,G=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,re={},F={};function ne(n){return A.call(F,n)?!0:A.call(re,n)?!1:G.test(n)?F[n]=!0:(re[n]=!0,!1)}function ue(n,r,l,o){if(l!==null&&l.type===0)return!1;switch(typeof r){case"function":case"symbol":return!0;case"boolean":return o?!1:l!==null?!l.acceptsBooleans:(n=n.toLowerCase().slice(0,5),n!=="data-"&&n!=="aria-");default:return!1}}function be(n,r,l,o){if(r===null||typeof r>"u"||ue(n,r,l,o))return!0;if(o)return!1;if(l!==null)switch(l.type){case 3:return!r;case 4:return r===!1;case 5:return isNaN(r);case 6:return isNaN(r)||1>r}return!1}function Xe(n,r,l,o,f,p,S){this.acceptsBooleans=r===2||r===3||r===4,this.attributeName=o,this.attributeNamespace=f,this.mustUseProperty=l,this.propertyName=n,this.type=r,this.sanitizeURL=p,this.removeEmptyString=S}var et={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(n){et[n]=new Xe(n,0,!1,n,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(n){var r=n[0];et[r]=new Xe(r,1,!1,n[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(n){et[n]=new Xe(n,2,!1,n.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(n){et[n]=new Xe(n,2,!1,n,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(n){et[n]=new Xe(n,3,!1,n.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(n){et[n]=new Xe(n,3,!0,n,null,!1,!1)}),["capture","download"].forEach(function(n){et[n]=new Xe(n,4,!1,n,null,!1,!1)}),["cols","rows","size","span"].forEach(function(n){et[n]=new Xe(n,6,!1,n,null,!1,!1)}),["rowSpan","start"].forEach(function(n){et[n]=new Xe(n,5,!1,n.toLowerCase(),null,!1,!1)});var lt=/[\-:]([a-z])/g;function Qe(n){return n[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(n){var r=n.replace(lt,Qe);et[r]=new Xe(r,1,!1,n,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(n){var r=n.replace(lt,Qe);et[r]=new Xe(r,1,!1,n,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(n){var r=n.replace(lt,Qe);et[r]=new Xe(r,1,!1,n,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(n){et[n]=new Xe(n,1,!1,n.toLowerCase(),null,!1,!1)}),et.xlinkHref=new Xe("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(n){et[n]=new Xe(n,1,!1,n.toLowerCase(),null,!0,!0)});function Ve(n,r,l,o){var f=et.hasOwnProperty(r)?et[r]:null;(f!==null?f.type!==0:o||!(2<r.length)||r[0]!=="o"&&r[0]!=="O"||r[1]!=="n"&&r[1]!=="N")&&(be(r,l,f,o)&&(l=null),o||f===null?ne(r)&&(l===null?n.removeAttribute(r):n.setAttribute(r,""+l)):f.mustUseProperty?n[f.propertyName]=l===null?f.type===3?!1:"":l:(r=f.attributeName,o=f.attributeNamespace,l===null?n.removeAttribute(r):(f=f.type,l=f===3||f===4&&l===!0?"":""+l,o?n.setAttributeNS(o,r,l):n.setAttribute(r,l))))}var vt=s.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,_e=Symbol.for("react.element"),De=Symbol.for("react.portal"),Oe=Symbol.for("react.fragment"),Rt=Symbol.for("react.strict_mode"),nn=Symbol.for("react.profiler"),jt=Symbol.for("react.provider"),wt=Symbol.for("react.context"),vn=Symbol.for("react.forward_ref"),Ge=Symbol.for("react.suspense"),dt=Symbol.for("react.suspense_list"),Ue=Symbol.for("react.memo"),ut=Symbol.for("react.lazy"),ye=Symbol.for("react.offscreen"),fe=Symbol.iterator;function je(n){return n===null||typeof n!="object"?null:(n=fe&&n[fe]||n["@@iterator"],typeof n=="function"?n:null)}var D=Object.assign,te;function Se(n){if(te===void 0)try{throw Error()}catch(l){var r=l.stack.trim().match(/\n( *(at )?)/);te=r&&r[1]||""}return`
|
|
108
|
+
`+te+n}var ot=!1;function nt(n,r){if(!n||ot)return"";ot=!0;var l=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(r)if(r=function(){throw Error()},Object.defineProperty(r.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(r,[])}catch(W){var o=W}Reflect.construct(n,[],r)}else{try{r.call()}catch(W){o=W}n.call(r.prototype)}else{try{throw Error()}catch(W){o=W}n()}}catch(W){if(W&&o&&typeof W.stack=="string"){for(var f=W.stack.split(`
|
|
109
|
+
`),p=o.stack.split(`
|
|
110
|
+
`),S=f.length-1,T=p.length-1;1<=S&&0<=T&&f[S]!==p[T];)T--;for(;1<=S&&0<=T;S--,T--)if(f[S]!==p[T]){if(S!==1||T!==1)do if(S--,T--,0>T||f[S]!==p[T]){var O=`
|
|
111
|
+
`+f[S].replace(" at new "," at ");return n.displayName&&O.includes("<anonymous>")&&(O=O.replace("<anonymous>",n.displayName)),O}while(1<=S&&0<=T);break}}}finally{ot=!1,Error.prepareStackTrace=l}return(n=n?n.displayName||n.name:"")?Se(n):""}function Nt(n){switch(n.tag){case 5:return Se(n.type);case 16:return Se("Lazy");case 13:return Se("Suspense");case 19:return Se("SuspenseList");case 0:case 2:case 15:return n=nt(n.type,!1),n;case 11:return n=nt(n.type.render,!1),n;case 1:return n=nt(n.type,!0),n;default:return""}}function St(n){if(n==null)return null;if(typeof n=="function")return n.displayName||n.name||null;if(typeof n=="string")return n;switch(n){case Oe:return"Fragment";case De:return"Portal";case nn:return"Profiler";case Rt:return"StrictMode";case Ge:return"Suspense";case dt:return"SuspenseList"}if(typeof n=="object")switch(n.$$typeof){case wt:return(n.displayName||"Context")+".Consumer";case jt:return(n._context.displayName||"Context")+".Provider";case vn:var r=n.render;return n=n.displayName,n||(n=r.displayName||r.name||"",n=n!==""?"ForwardRef("+n+")":"ForwardRef"),n;case Ue:return r=n.displayName||null,r!==null?r:St(n.type)||"Memo";case ut:r=n._payload,n=n._init;try{return St(n(r))}catch{}}return null}function kt(n){var r=n.type;switch(n.tag){case 24:return"Cache";case 9:return(r.displayName||"Context")+".Consumer";case 10:return(r._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return n=r.render,n=n.displayName||n.name||"",r.displayName||(n!==""?"ForwardRef("+n+")":"ForwardRef");case 7:return"Fragment";case 5:return r;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return St(r);case 8:return r===Rt?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof r=="function")return r.displayName||r.name||null;if(typeof r=="string")return r}return null}function Et(n){switch(typeof n){case"boolean":case"number":case"string":case"undefined":return n;case"object":return n;default:return""}}function Qt(n){var r=n.type;return(n=n.nodeName)&&n.toLowerCase()==="input"&&(r==="checkbox"||r==="radio")}function Xr(n){var r=Qt(n)?"checked":"value",l=Object.getOwnPropertyDescriptor(n.constructor.prototype,r),o=""+n[r];if(!n.hasOwnProperty(r)&&typeof l<"u"&&typeof l.get=="function"&&typeof l.set=="function"){var f=l.get,p=l.set;return Object.defineProperty(n,r,{configurable:!0,get:function(){return f.call(this)},set:function(S){o=""+S,p.call(this,S)}}),Object.defineProperty(n,r,{enumerable:l.enumerable}),{getValue:function(){return o},setValue:function(S){o=""+S},stopTracking:function(){n._valueTracker=null,delete n[r]}}}}function br(n){n._valueTracker||(n._valueTracker=Xr(n))}function Zr(n){if(!n)return!1;var r=n._valueTracker;if(!r)return!0;var l=r.getValue(),o="";return n&&(o=Qt(n)?n.checked?"true":"false":n.value),n=o,n!==l?(r.setValue(n),!0):!1}function wn(n){if(n=n||(typeof document<"u"?document:void 0),typeof n>"u")return null;try{return n.activeElement||n.body}catch{return n.body}}function tr(n,r){var l=r.checked;return D({},r,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:l??n._wrapperState.initialChecked})}function Yn(n,r){var l=r.defaultValue==null?"":r.defaultValue,o=r.checked!=null?r.checked:r.defaultChecked;l=Et(r.value!=null?r.value:l),n._wrapperState={initialChecked:o,initialValue:l,controlled:r.type==="checkbox"||r.type==="radio"?r.checked!=null:r.value!=null}}function Wn(n,r){r=r.checked,r!=null&&Ve(n,"checked",r,!1)}function An(n,r){Wn(n,r);var l=Et(r.value),o=r.type;if(l!=null)o==="number"?(l===0&&n.value===""||n.value!=l)&&(n.value=""+l):n.value!==""+l&&(n.value=""+l);else if(o==="submit"||o==="reset"){n.removeAttribute("value");return}r.hasOwnProperty("value")?ea(n,r.type,l):r.hasOwnProperty("defaultValue")&&ea(n,r.type,Et(r.defaultValue)),r.checked==null&&r.defaultChecked!=null&&(n.defaultChecked=!!r.defaultChecked)}function Jr(n,r,l){if(r.hasOwnProperty("value")||r.hasOwnProperty("defaultValue")){var o=r.type;if(!(o!=="submit"&&o!=="reset"||r.value!==void 0&&r.value!==null))return;r=""+n._wrapperState.initialValue,l||r===n.value||(n.value=r),n.defaultValue=r}l=n.name,l!==""&&(n.name=""),n.defaultChecked=!!n._wrapperState.initialChecked,l!==""&&(n.name=l)}function ea(n,r,l){(r!=="number"||wn(n.ownerDocument)!==n)&&(l==null?n.defaultValue=""+n._wrapperState.initialValue:n.defaultValue!==""+l&&(n.defaultValue=""+l))}var nr=Array.isArray;function Tr(n,r,l,o){if(n=n.options,r){r={};for(var f=0;f<l.length;f++)r["$"+l[f]]=!0;for(l=0;l<n.length;l++)f=r.hasOwnProperty("$"+n[l].value),n[l].selected!==f&&(n[l].selected=f),f&&o&&(n[l].defaultSelected=!0)}else{for(l=""+Et(l),r=null,f=0;f<n.length;f++){if(n[f].value===l){n[f].selected=!0,o&&(n[f].defaultSelected=!0);return}r!==null||n[f].disabled||(r=n[f])}r!==null&&(r.selected=!0)}}function ta(n,r){if(r.dangerouslySetInnerHTML!=null)throw Error(v(91));return D({},r,{value:void 0,defaultValue:void 0,children:""+n._wrapperState.initialValue})}function Rr(n,r){var l=r.value;if(l==null){if(l=r.children,r=r.defaultValue,l!=null){if(r!=null)throw Error(v(92));if(nr(l)){if(1<l.length)throw Error(v(93));l=l[0]}r=l}r==null&&(r=""),l=r}n._wrapperState={initialValue:Et(l)}}function Ca(n,r){var l=Et(r.value),o=Et(r.defaultValue);l!=null&&(l=""+l,l!==n.value&&(n.value=l),r.defaultValue==null&&n.defaultValue!==l&&(n.defaultValue=l)),o!=null&&(n.defaultValue=""+o)}function fr(n){var r=n.textContent;r===n._wrapperState.initialValue&&r!==""&&r!==null&&(n.value=r)}function na(n){switch(n){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function xn(n,r){return n==null||n==="http://www.w3.org/1999/xhtml"?na(r):n==="http://www.w3.org/2000/svg"&&r==="foreignObject"?"http://www.w3.org/1999/xhtml":n}var Ur,yi=function(n){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(r,l,o,f){MSApp.execUnsafeLocalFunction(function(){return n(r,l,o,f)})}:n}(function(n,r){if(n.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in n)n.innerHTML=r;else{for(Ur=Ur||document.createElement("div"),Ur.innerHTML="<svg>"+r.valueOf().toString()+"</svg>",r=Ur.firstChild;n.firstChild;)n.removeChild(n.firstChild);for(;r.firstChild;)n.appendChild(r.firstChild)}});function wa(n,r){if(r){var l=n.firstChild;if(l&&l===n.lastChild&&l.nodeType===3){l.nodeValue=r;return}}n.textContent=r}var pe={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},He=["Webkit","ms","Moz","O"];Object.keys(pe).forEach(function(n){He.forEach(function(r){r=r+n.charAt(0).toUpperCase()+n.substring(1),pe[r]=pe[n]})});function Ct(n,r,l){return r==null||typeof r=="boolean"||r===""?"":l||typeof r!="number"||r===0||pe.hasOwnProperty(n)&&pe[n]?(""+r).trim():r+"px"}function Yt(n,r){n=n.style;for(var l in r)if(r.hasOwnProperty(l)){var o=l.indexOf("--")===0,f=Ct(l,r[l],o);l==="float"&&(l="cssFloat"),o?n.setProperty(l,f):n[l]=f}}var Gt=D({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Un(n,r){if(r){if(Gt[n]&&(r.children!=null||r.dangerouslySetInnerHTML!=null))throw Error(v(137,n));if(r.dangerouslySetInnerHTML!=null){if(r.children!=null)throw Error(v(60));if(typeof r.dangerouslySetInnerHTML!="object"||!("__html"in r.dangerouslySetInnerHTML))throw Error(v(61))}if(r.style!=null&&typeof r.style!="object")throw Error(v(62))}}function bn(n,r){if(n.indexOf("-")===-1)return typeof r.is=="string";switch(n){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var kr=null;function en(n){return n=n.target||n.srcElement||window,n.correspondingUseElement&&(n=n.correspondingUseElement),n.nodeType===3?n.parentNode:n}var zr=null,qt=null,Kt=null;function ii(n){if(n=Ms(n)){if(typeof zr!="function")throw Error(v(280));var r=n.stateNode;r&&(r=$e(r),zr(n.stateNode,n.type,r))}}function Fa(n){qt?Kt?Kt.push(n):Kt=[n]:qt=n}function yl(){if(qt){var n=qt,r=Kt;if(Kt=qt=null,ii(n),r)for(n=0;n<r.length;n++)ii(r[n])}}function fu(n,r){return n(r)}function no(){}var Hi=!1;function Sl(n,r,l){if(Hi)return n(r,l);Hi=!0;try{return fu(n,r,l)}finally{Hi=!1,(qt!==null||Kt!==null)&&(no(),yl())}}function xa(n,r){var l=n.stateNode;if(l===null)return null;var o=$e(l);if(o===null)return null;l=o[r];e:switch(r){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(o=!o.disabled)||(n=n.type,o=!(n==="button"||n==="input"||n==="select"||n==="textarea")),n=!o;break e;default:n=!1}if(n)return null;if(l&&typeof l!="function")throw Error(v(231,r,typeof l));return l}var Si=!1;if(Q)try{var ba={};Object.defineProperty(ba,"passive",{get:function(){Si=!0}}),window.addEventListener("test",ba,ba),window.removeEventListener("test",ba,ba)}catch{Si=!1}function Ei(n,r,l,o,f,p,S,T,O){var W=Array.prototype.slice.call(arguments,3);try{r.apply(l,W)}catch(le){this.onError(le)}}var jr=!1,Ta=null,Ci=!1,k=null,ae={onError:function(n){jr=!0,Ta=n}};function ve(n,r,l,o,f,p,S,T,O){jr=!1,Ta=null,Ei.apply(ae,arguments)}function Te(n,r,l,o,f,p,S,T,O){if(ve.apply(this,arguments),jr){if(jr){var W=Ta;jr=!1,Ta=null}else throw Error(v(198));Ci||(Ci=!0,k=W)}}function ht(n){var r=n,l=n;if(n.alternate)for(;r.return;)r=r.return;else{n=r;do r=n,r.flags&4098&&(l=r.return),n=r.return;while(n)}return r.tag===3?l:null}function Mt(n){if(n.tag===13){var r=n.memoizedState;if(r===null&&(n=n.alternate,n!==null&&(r=n.memoizedState)),r!==null)return r.dehydrated}return null}function mt(n){if(ht(n)!==n)throw Error(v(188))}function Ye(n){var r=n.alternate;if(!r){if(r=ht(n),r===null)throw Error(v(188));return r!==n?null:n}for(var l=n,o=r;;){var f=l.return;if(f===null)break;var p=f.alternate;if(p===null){if(o=f.return,o!==null){l=o;continue}break}if(f.child===p.child){for(p=f.child;p;){if(p===l)return mt(f),n;if(p===o)return mt(f),r;p=p.sibling}throw Error(v(188))}if(l.return!==o.return)l=f,o=p;else{for(var S=!1,T=f.child;T;){if(T===l){S=!0,l=f,o=p;break}if(T===o){S=!0,o=f,l=p;break}T=T.sibling}if(!S){for(T=p.child;T;){if(T===l){S=!0,l=p,o=f;break}if(T===o){S=!0,o=p,l=f;break}T=T.sibling}if(!S)throw Error(v(189))}}if(l.alternate!==o)throw Error(v(190))}if(l.tag!==3)throw Error(v(188));return l.stateNode.current===l?n:r}function Fn(n){return n=Ye(n),n!==null?fn(n):null}function fn(n){if(n.tag===5||n.tag===6)return n;for(n=n.child;n!==null;){var r=fn(n);if(r!==null)return r;n=n.sibling}return null}var dn=h.unstable_scheduleCallback,dr=h.unstable_cancelCallback,wi=h.unstable_shouldYield,ro=h.unstable_requestPaint,Pt=h.unstable_now,yd=h.unstable_getCurrentPriorityLevel,li=h.unstable_ImmediatePriority,xt=h.unstable_UserBlockingPriority,xi=h.unstable_NormalPriority,El=h.unstable_LowPriority,ao=h.unstable_IdlePriority,Cl=null,ra=null;function ms(n){if(ra&&typeof ra.onCommitFiberRoot=="function")try{ra.onCommitFiberRoot(Cl,n,void 0,(n.current.flags&128)===128)}catch{}}var Pr=Math.clz32?Math.clz32:Rc,gs=Math.log,ys=Math.LN2;function Rc(n){return n>>>=0,n===0?32:31-(gs(n)/ys|0)|0}var io=64,wl=4194304;function ui(n){switch(n&-n){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return n&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return n&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return n}}function Fr(n,r){var l=n.pendingLanes;if(l===0)return 0;var o=0,f=n.suspendedLanes,p=n.pingedLanes,S=l&268435455;if(S!==0){var T=S&~f;T!==0?o=ui(T):(p&=S,p!==0&&(o=ui(p)))}else S=l&~f,S!==0?o=ui(S):p!==0&&(o=ui(p));if(o===0)return 0;if(r!==0&&r!==o&&!(r&f)&&(f=o&-o,p=r&-r,f>=p||f===16&&(p&4194240)!==0))return r;if(o&4&&(o|=l&16),r=n.entangledLanes,r!==0)for(n=n.entanglements,r&=o;0<r;)l=31-Pr(r),f=1<<l,o|=n[l],r&=~f;return o}function xl(n,r){switch(n){case 1:case 2:case 4:return r+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return r+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function bl(n,r){for(var l=n.suspendedLanes,o=n.pingedLanes,f=n.expirationTimes,p=n.pendingLanes;0<p;){var S=31-Pr(p),T=1<<S,O=f[S];O===-1?(!(T&l)||T&o)&&(f[S]=xl(T,r)):O<=r&&(n.expiredLanes|=T),p&=~T}}function Tl(n){return n=n.pendingLanes&-1073741825,n!==0?n:n&1073741824?1073741824:0}function lo(){var n=io;return io<<=1,!(io&4194240)&&(io=64),n}function uo(n){for(var r=[],l=0;31>l;l++)r.push(n);return r}function Ii(n,r,l){n.pendingLanes|=r,r!==536870912&&(n.suspendedLanes=0,n.pingedLanes=0),n=n.eventTimes,r=31-Pr(r),n[r]=l}function Sd(n,r){var l=n.pendingLanes&~r;n.pendingLanes=r,n.suspendedLanes=0,n.pingedLanes=0,n.expiredLanes&=r,n.mutableReadLanes&=r,n.entangledLanes&=r,r=n.entanglements;var o=n.eventTimes;for(n=n.expirationTimes;0<l;){var f=31-Pr(l),p=1<<f;r[f]=0,o[f]=-1,n[f]=-1,l&=~p}}function bi(n,r){var l=n.entangledLanes|=r;for(n=n.entanglements;l;){var o=31-Pr(l),f=1<<o;f&r|n[o]&r&&(n[o]|=r),l&=~f}}var It=0;function oo(n){return n&=-n,1<n?4<n?n&268435455?16:536870912:4:1}var du,so,Ft,co,fo,ct=!1,pu=[],Tn=null,aa=null,Br=null,Rl=new Map,Ln=new Map,Xt=[],kc="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function ia(n,r){switch(n){case"focusin":case"focusout":Tn=null;break;case"dragenter":case"dragleave":aa=null;break;case"mouseover":case"mouseout":Br=null;break;case"pointerover":case"pointerout":Rl.delete(r.pointerId);break;case"gotpointercapture":case"lostpointercapture":Ln.delete(r.pointerId)}}function rr(n,r,l,o,f,p){return n===null||n.nativeEvent!==p?(n={blockedOn:r,domEventName:l,eventSystemFlags:o,nativeEvent:p,targetContainers:[f]},r!==null&&(r=Ms(r),r!==null&&so(r)),n):(n.eventSystemFlags|=o,r=n.targetContainers,f!==null&&r.indexOf(f)===-1&&r.push(f),n)}function Ti(n,r,l,o,f){switch(r){case"focusin":return Tn=rr(Tn,n,r,l,o,f),!0;case"dragenter":return aa=rr(aa,n,r,l,o,f),!0;case"mouseover":return Br=rr(Br,n,r,l,o,f),!0;case"pointerover":var p=f.pointerId;return Rl.set(p,rr(Rl.get(p)||null,n,r,l,o,f)),!0;case"gotpointercapture":return p=f.pointerId,Ln.set(p,rr(Ln.get(p)||null,n,r,l,o,f)),!0}return!1}function _c(n){var r=Va(n.target);if(r!==null){var l=ht(r);if(l!==null){if(r=l.tag,r===13){if(r=Mt(l),r!==null){n.blockedOn=r,fo(n.priority,function(){Ft(l)});return}}else if(r===3&&l.stateNode.current.memoizedState.isDehydrated){n.blockedOn=l.tag===3?l.stateNode.containerInfo:null;return}}}n.blockedOn=null}function Vi(n){if(n.blockedOn!==null)return!1;for(var r=n.targetContainers;0<r.length;){var l=vo(n.domEventName,n.eventSystemFlags,r[0],n.nativeEvent);if(l===null){l=n.nativeEvent;var o=new l.constructor(l.type,l);kr=o,l.target.dispatchEvent(o),kr=null}else return r=Ms(l),r!==null&&so(r),n.blockedOn=l,!1;r.shift()}return!0}function kl(n,r,l){Vi(n)&&l.delete(r)}function Dc(){ct=!1,Tn!==null&&Vi(Tn)&&(Tn=null),aa!==null&&Vi(aa)&&(aa=null),Br!==null&&Vi(Br)&&(Br=null),Rl.forEach(kl),Ln.forEach(kl)}function Ba(n,r){n.blockedOn===r&&(n.blockedOn=null,ct||(ct=!0,h.unstable_scheduleCallback(h.unstable_NormalPriority,Dc)))}function _l(n){function r(f){return Ba(f,n)}if(0<pu.length){Ba(pu[0],n);for(var l=1;l<pu.length;l++){var o=pu[l];o.blockedOn===n&&(o.blockedOn=null)}}for(Tn!==null&&Ba(Tn,n),aa!==null&&Ba(aa,n),Br!==null&&Ba(Br,n),Rl.forEach(r),Ln.forEach(r),l=0;l<Xt.length;l++)o=Xt[l],o.blockedOn===n&&(o.blockedOn=null);for(;0<Xt.length&&(l=Xt[0],l.blockedOn===null);)_c(l),l.blockedOn===null&&Xt.shift()}var Dl=vt.ReactCurrentBatchConfig,Ha=!0;function po(n,r,l,o){var f=It,p=Dl.transition;Dl.transition=null;try{It=1,Ol(n,r,l,o)}finally{It=f,Dl.transition=p}}function Ll(n,r,l,o){var f=It,p=Dl.transition;Dl.transition=null;try{It=4,Ol(n,r,l,o)}finally{It=f,Dl.transition=p}}function Ol(n,r,l,o){if(Ha){var f=vo(n,r,l,o);if(f===null)Pc(n,r,o,vu,l),ia(n,o);else if(Ti(f,n,r,l,o))o.stopPropagation();else if(ia(n,o),r&4&&-1<kc.indexOf(n)){for(;f!==null;){var p=Ms(f);if(p!==null&&du(p),p=vo(n,r,l,o),p===null&&Pc(n,r,o,vu,l),p===f)break;f=p}f!==null&&o.stopPropagation()}else Pc(n,r,o,null,l)}}var vu=null;function vo(n,r,l,o){if(vu=null,n=en(o),n=Va(n),n!==null)if(r=ht(n),r===null)n=null;else if(l=r.tag,l===13){if(n=Mt(r),n!==null)return n;n=null}else if(l===3){if(r.stateNode.current.memoizedState.isDehydrated)return r.tag===3?r.stateNode.containerInfo:null;n=null}else r!==n&&(n=null);return vu=n,null}function Ss(n){switch(n){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(yd()){case li:return 1;case xt:return 4;case xi:case El:return 16;case ao:return 536870912;default:return 16}default:return 16}}var oi=null,y=null,R=null;function $(){if(R)return R;var n,r=y,l=r.length,o,f="value"in oi?oi.value:oi.textContent,p=f.length;for(n=0;n<l&&r[n]===f[n];n++);var S=l-n;for(o=1;o<=S&&r[l-o]===f[p-o];o++);return R=f.slice(n,1<o?1-o:void 0)}function q(n){var r=n.keyCode;return"charCode"in n?(n=n.charCode,n===0&&r===13&&(n=13)):n=r,n===10&&(n=13),32<=n||n===13?n:0}function ce(){return!0}function Ze(){return!1}function ge(n){function r(l,o,f,p,S){this._reactName=l,this._targetInst=f,this.type=o,this.nativeEvent=p,this.target=S,this.currentTarget=null;for(var T in n)n.hasOwnProperty(T)&&(l=n[T],this[T]=l?l(p):p[T]);return this.isDefaultPrevented=(p.defaultPrevented!=null?p.defaultPrevented:p.returnValue===!1)?ce:Ze,this.isPropagationStopped=Ze,this}return D(r.prototype,{preventDefault:function(){this.defaultPrevented=!0;var l=this.nativeEvent;l&&(l.preventDefault?l.preventDefault():typeof l.returnValue!="unknown"&&(l.returnValue=!1),this.isDefaultPrevented=ce)},stopPropagation:function(){var l=this.nativeEvent;l&&(l.stopPropagation?l.stopPropagation():typeof l.cancelBubble!="unknown"&&(l.cancelBubble=!0),this.isPropagationStopped=ce)},persist:function(){},isPersistent:ce}),r}var qe={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(n){return n.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},bt=ge(qe),Bt=D({},qe,{view:0,detail:0}),ln=ge(Bt),tn,un,pn,Lt=D({},Bt,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:bd,button:0,buttons:0,relatedTarget:function(n){return n.relatedTarget===void 0?n.fromElement===n.srcElement?n.toElement:n.fromElement:n.relatedTarget},movementX:function(n){return"movementX"in n?n.movementX:(n!==pn&&(pn&&n.type==="mousemove"?(tn=n.screenX-pn.screenX,un=n.screenY-pn.screenY):un=tn=0,pn=n),tn)},movementY:function(n){return"movementY"in n?n.movementY:un}}),$i=ge(Lt),ho=D({},Lt,{dataTransfer:0}),Es=ge(ho),Ed=D({},Bt,{relatedTarget:0}),si=ge(Ed),Cs=D({},qe,{animationName:0,elapsedTime:0,pseudoElement:0}),ws=ge(Cs),Cd=D({},qe,{clipboardData:function(n){return"clipboardData"in n?n.clipboardData:window.clipboardData}}),Kg=ge(Cd),Xg=D({},qe,{data:0}),wd=ge(Xg),xd={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},jv={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Pv={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Fv(n){var r=this.nativeEvent;return r.getModifierState?r.getModifierState(n):(n=Pv[n])?!!r[n]:!1}function bd(){return Fv}var Yi=D({},Bt,{key:function(n){if(n.key){var r=xd[n.key]||n.key;if(r!=="Unidentified")return r}return n.type==="keypress"?(n=q(n),n===13?"Enter":String.fromCharCode(n)):n.type==="keydown"||n.type==="keyup"?jv[n.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:bd,charCode:function(n){return n.type==="keypress"?q(n):0},keyCode:function(n){return n.type==="keydown"||n.type==="keyup"?n.keyCode:0},which:function(n){return n.type==="keypress"?q(n):n.type==="keydown"||n.type==="keyup"?n.keyCode:0}}),Zg=ge(Yi),Td=D({},Lt,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Lc=ge(Td),Rd=D({},Bt,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:bd}),Jg=ge(Rd),Oc=D({},qe,{propertyName:0,elapsedTime:0,pseudoElement:0}),Bv=ge(Oc),la=D({},Lt,{deltaX:function(n){return"deltaX"in n?n.deltaX:"wheelDeltaX"in n?-n.wheelDeltaX:0},deltaY:function(n){return"deltaY"in n?n.deltaY:"wheelDeltaY"in n?-n.wheelDeltaY:"wheelDelta"in n?-n.wheelDelta:0},deltaZ:0,deltaMode:0}),Wi=ge(la),Bn=[9,13,27,32],ci=Q&&"CompositionEvent"in window,hu=null;Q&&"documentMode"in document&&(hu=document.documentMode);var Nc=Q&&"TextEvent"in window&&!hu,Hv=Q&&(!ci||hu&&8<hu&&11>=hu),mo=String.fromCharCode(32),Iv=!1;function Vv(n,r){switch(n){case"keyup":return Bn.indexOf(r.keyCode)!==-1;case"keydown":return r.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Mc(n){return n=n.detail,typeof n=="object"&&"data"in n?n.data:null}var go=!1;function ey(n,r){switch(n){case"compositionend":return Mc(r);case"keypress":return r.which!==32?null:(Iv=!0,mo);case"textInput":return n=r.data,n===mo&&Iv?null:n;default:return null}}function ty(n,r){if(go)return n==="compositionend"||!ci&&Vv(n,r)?(n=$(),R=y=oi=null,go=!1,n):null;switch(n){case"paste":return null;case"keypress":if(!(r.ctrlKey||r.altKey||r.metaKey)||r.ctrlKey&&r.altKey){if(r.char&&1<r.char.length)return r.char;if(r.which)return String.fromCharCode(r.which)}return null;case"compositionend":return Hv&&r.locale!=="ko"?null:r.data;default:return null}}var $v={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Yv(n){var r=n&&n.nodeName&&n.nodeName.toLowerCase();return r==="input"?!!$v[n.type]:r==="textarea"}function Wv(n,r,l,o){Fa(o),r=Ls(r,"onChange"),0<r.length&&(l=new bt("onChange","change",null,l,o),n.push({event:l,listeners:r}))}var xs=null,yo=null;function So(n){jc(n,0)}function Eo(n){var r=wo(n);if(Zr(r))return n}function Qv(n,r){if(n==="change")return r}var kd=!1;if(Q){var _d;if(Q){var Dd="oninput"in document;if(!Dd){var Gv=document.createElement("div");Gv.setAttribute("oninput","return;"),Dd=typeof Gv.oninput=="function"}_d=Dd}else _d=!1;kd=_d&&(!document.documentMode||9<document.documentMode)}function qv(){xs&&(xs.detachEvent("onpropertychange",Kv),yo=xs=null)}function Kv(n){if(n.propertyName==="value"&&Eo(yo)){var r=[];Wv(r,yo,n,en(n)),Sl(So,r)}}function ny(n,r,l){n==="focusin"?(qv(),xs=r,yo=l,xs.attachEvent("onpropertychange",Kv)):n==="focusout"&&qv()}function ry(n){if(n==="selectionchange"||n==="keyup"||n==="keydown")return Eo(yo)}function ay(n,r){if(n==="click")return Eo(r)}function Xv(n,r){if(n==="input"||n==="change")return Eo(r)}function iy(n,r){return n===r&&(n!==0||1/n===1/r)||n!==n&&r!==r}var Ia=typeof Object.is=="function"?Object.is:iy;function bs(n,r){if(Ia(n,r))return!0;if(typeof n!="object"||n===null||typeof r!="object"||r===null)return!1;var l=Object.keys(n),o=Object.keys(r);if(l.length!==o.length)return!1;for(o=0;o<l.length;o++){var f=l[o];if(!A.call(r,f)||!Ia(n[f],r[f]))return!1}return!0}function Zv(n){for(;n&&n.firstChild;)n=n.firstChild;return n}function Jv(n,r){var l=Zv(n);n=0;for(var o;l;){if(l.nodeType===3){if(o=n+l.textContent.length,n<=r&&o>=r)return{node:l,offset:r-n};n=o}e:{for(;l;){if(l.nextSibling){l=l.nextSibling;break e}l=l.parentNode}l=void 0}l=Zv(l)}}function eh(n,r){return n&&r?n===r?!0:n&&n.nodeType===3?!1:r&&r.nodeType===3?eh(n,r.parentNode):"contains"in n?n.contains(r):n.compareDocumentPosition?!!(n.compareDocumentPosition(r)&16):!1:!1}function Ac(){for(var n=window,r=wn();r instanceof n.HTMLIFrameElement;){try{var l=typeof r.contentWindow.location.href=="string"}catch{l=!1}if(l)n=r.contentWindow;else break;r=wn(n.document)}return r}function Qi(n){var r=n&&n.nodeName&&n.nodeName.toLowerCase();return r&&(r==="input"&&(n.type==="text"||n.type==="search"||n.type==="tel"||n.type==="url"||n.type==="password")||r==="textarea"||n.contentEditable==="true")}function Uc(n){var r=Ac(),l=n.focusedElem,o=n.selectionRange;if(r!==l&&l&&l.ownerDocument&&eh(l.ownerDocument.documentElement,l)){if(o!==null&&Qi(l)){if(r=o.start,n=o.end,n===void 0&&(n=r),"selectionStart"in l)l.selectionStart=r,l.selectionEnd=Math.min(n,l.value.length);else if(n=(r=l.ownerDocument||document)&&r.defaultView||window,n.getSelection){n=n.getSelection();var f=l.textContent.length,p=Math.min(o.start,f);o=o.end===void 0?p:Math.min(o.end,f),!n.extend&&p>o&&(f=o,o=p,p=f),f=Jv(l,p);var S=Jv(l,o);f&&S&&(n.rangeCount!==1||n.anchorNode!==f.node||n.anchorOffset!==f.offset||n.focusNode!==S.node||n.focusOffset!==S.offset)&&(r=r.createRange(),r.setStart(f.node,f.offset),n.removeAllRanges(),p>o?(n.addRange(r),n.extend(S.node,S.offset)):(r.setEnd(S.node,S.offset),n.addRange(r)))}}for(r=[],n=l;n=n.parentNode;)n.nodeType===1&&r.push({element:n,left:n.scrollLeft,top:n.scrollTop});for(typeof l.focus=="function"&&l.focus(),l=0;l<r.length;l++)n=r[l],n.element.scrollLeft=n.left,n.element.scrollTop=n.top}}var th=Q&&"documentMode"in document&&11>=document.documentMode,fi=null,Ld=null,Ts=null,Od=!1;function nh(n,r,l){var o=l.window===l?l.document:l.nodeType===9?l:l.ownerDocument;Od||fi==null||fi!==wn(o)||(o=fi,"selectionStart"in o&&Qi(o)?o={start:o.selectionStart,end:o.selectionEnd}:(o=(o.ownerDocument&&o.ownerDocument.defaultView||window).getSelection(),o={anchorNode:o.anchorNode,anchorOffset:o.anchorOffset,focusNode:o.focusNode,focusOffset:o.focusOffset}),Ts&&bs(Ts,o)||(Ts=o,o=Ls(Ld,"onSelect"),0<o.length&&(r=new bt("onSelect","select",null,r,l),n.push({event:r,listeners:o}),r.target=fi)))}function zc(n,r){var l={};return l[n.toLowerCase()]=r.toLowerCase(),l["Webkit"+n]="webkit"+r,l["Moz"+n]="moz"+r,l}var mu={animationend:zc("Animation","AnimationEnd"),animationiteration:zc("Animation","AnimationIteration"),animationstart:zc("Animation","AnimationStart"),transitionend:zc("Transition","TransitionEnd")},Nd={},Md={};Q&&(Md=document.createElement("div").style,"AnimationEvent"in window||(delete mu.animationend.animation,delete mu.animationiteration.animation,delete mu.animationstart.animation),"TransitionEvent"in window||delete mu.transitionend.transition);function ar(n){if(Nd[n])return Nd[n];if(!mu[n])return n;var r=mu[n],l;for(l in r)if(r.hasOwnProperty(l)&&l in Md)return Nd[n]=r[l];return n}var Ad=ar("animationend"),rh=ar("animationiteration"),ah=ar("animationstart"),ih=ar("transitionend"),lh=new Map,uh="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Gi(n,r){lh.set(n,r),j(r,[n])}for(var Rs=0;Rs<uh.length;Rs++){var gu=uh[Rs],ly=gu.toLowerCase(),ks=gu[0].toUpperCase()+gu.slice(1);Gi(ly,"on"+ks)}Gi(Ad,"onAnimationEnd"),Gi(rh,"onAnimationIteration"),Gi(ah,"onAnimationStart"),Gi("dblclick","onDoubleClick"),Gi("focusin","onFocus"),Gi("focusout","onBlur"),Gi(ih,"onTransitionEnd"),E("onMouseEnter",["mouseout","mouseover"]),E("onMouseLeave",["mouseout","mouseover"]),E("onPointerEnter",["pointerout","pointerover"]),E("onPointerLeave",["pointerout","pointerover"]),j("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),j("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),j("onBeforeInput",["compositionend","keypress","textInput","paste"]),j("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),j("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),j("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var _s="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),uy=new Set("cancel close invalid load scroll toggle".split(" ").concat(_s));function oh(n,r,l){var o=n.type||"unknown-event";n.currentTarget=l,Te(o,r,void 0,n),n.currentTarget=null}function jc(n,r){r=(r&4)!==0;for(var l=0;l<n.length;l++){var o=n[l],f=o.event;o=o.listeners;e:{var p=void 0;if(r)for(var S=o.length-1;0<=S;S--){var T=o[S],O=T.instance,W=T.currentTarget;if(T=T.listener,O!==p&&f.isPropagationStopped())break e;oh(f,T,W),p=O}else for(S=0;S<o.length;S++){if(T=o[S],O=T.instance,W=T.currentTarget,T=T.listener,O!==p&&f.isPropagationStopped())break e;oh(f,T,W),p=O}}}if(Ci)throw n=k,Ci=!1,k=null,n}function on(n,r){var l=r[Hd];l===void 0&&(l=r[Hd]=new Set);var o=n+"__bubble";l.has(o)||(sh(r,n,2,!1),l.add(o))}function Nl(n,r,l){var o=0;r&&(o|=4),sh(l,n,o,r)}var qi="_reactListening"+Math.random().toString(36).slice(2);function Co(n){if(!n[qi]){n[qi]=!0,x.forEach(function(l){l!=="selectionchange"&&(uy.has(l)||Nl(l,!1,n),Nl(l,!0,n))});var r=n.nodeType===9?n:n.ownerDocument;r===null||r[qi]||(r[qi]=!0,Nl("selectionchange",!1,r))}}function sh(n,r,l,o){switch(Ss(r)){case 1:var f=po;break;case 4:f=Ll;break;default:f=Ol}l=f.bind(null,r,l,n),f=void 0,!Si||r!=="touchstart"&&r!=="touchmove"&&r!=="wheel"||(f=!0),o?f!==void 0?n.addEventListener(r,l,{capture:!0,passive:f}):n.addEventListener(r,l,!0):f!==void 0?n.addEventListener(r,l,{passive:f}):n.addEventListener(r,l,!1)}function Pc(n,r,l,o,f){var p=o;if(!(r&1)&&!(r&2)&&o!==null)e:for(;;){if(o===null)return;var S=o.tag;if(S===3||S===4){var T=o.stateNode.containerInfo;if(T===f||T.nodeType===8&&T.parentNode===f)break;if(S===4)for(S=o.return;S!==null;){var O=S.tag;if((O===3||O===4)&&(O=S.stateNode.containerInfo,O===f||O.nodeType===8&&O.parentNode===f))return;S=S.return}for(;T!==null;){if(S=Va(T),S===null)return;if(O=S.tag,O===5||O===6){o=p=S;continue e}T=T.parentNode}}o=o.return}Sl(function(){var W=p,le=en(l),oe=[];e:{var ie=lh.get(n);if(ie!==void 0){var we=bt,Ne=n;switch(n){case"keypress":if(q(l)===0)break e;case"keydown":case"keyup":we=Zg;break;case"focusin":Ne="focus",we=si;break;case"focusout":Ne="blur",we=si;break;case"beforeblur":case"afterblur":we=si;break;case"click":if(l.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":we=$i;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":we=Es;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":we=Jg;break;case Ad:case rh:case ah:we=ws;break;case ih:we=Bv;break;case"scroll":we=ln;break;case"wheel":we=Wi;break;case"copy":case"cut":case"paste":we=Kg;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":we=Lc}var ze=(r&4)!==0,jn=!ze&&n==="scroll",P=ze?ie!==null?ie+"Capture":null:ie;ze=[];for(var U=W,I;U!==null;){I=U;var de=I.stateNode;if(I.tag===5&&de!==null&&(I=de,P!==null&&(de=xa(U,P),de!=null&&ze.push(Ds(U,de,I)))),jn)break;U=U.return}0<ze.length&&(ie=new we(ie,Ne,null,l,le),oe.push({event:ie,listeners:ze}))}}if(!(r&7)){e:{if(ie=n==="mouseover"||n==="pointerover",we=n==="mouseout"||n==="pointerout",ie&&l!==kr&&(Ne=l.relatedTarget||l.fromElement)&&(Va(Ne)||Ne[Ki]))break e;if((we||ie)&&(ie=le.window===le?le:(ie=le.ownerDocument)?ie.defaultView||ie.parentWindow:window,we?(Ne=l.relatedTarget||l.toElement,we=W,Ne=Ne?Va(Ne):null,Ne!==null&&(jn=ht(Ne),Ne!==jn||Ne.tag!==5&&Ne.tag!==6)&&(Ne=null)):(we=null,Ne=W),we!==Ne)){if(ze=$i,de="onMouseLeave",P="onMouseEnter",U="mouse",(n==="pointerout"||n==="pointerover")&&(ze=Lc,de="onPointerLeave",P="onPointerEnter",U="pointer"),jn=we==null?ie:wo(we),I=Ne==null?ie:wo(Ne),ie=new ze(de,U+"leave",we,l,le),ie.target=jn,ie.relatedTarget=I,de=null,Va(le)===W&&(ze=new ze(P,U+"enter",Ne,l,le),ze.target=I,ze.relatedTarget=jn,de=ze),jn=de,we&&Ne)t:{for(ze=we,P=Ne,U=0,I=ze;I;I=yu(I))U++;for(I=0,de=P;de;de=yu(de))I++;for(;0<U-I;)ze=yu(ze),U--;for(;0<I-U;)P=yu(P),I--;for(;U--;){if(ze===P||P!==null&&ze===P.alternate)break t;ze=yu(ze),P=yu(P)}ze=null}else ze=null;we!==null&&Ud(oe,ie,we,ze,!1),Ne!==null&&jn!==null&&Ud(oe,jn,Ne,ze,!0)}}e:{if(ie=W?wo(W):window,we=ie.nodeName&&ie.nodeName.toLowerCase(),we==="select"||we==="input"&&ie.type==="file")var Pe=Qv;else if(Yv(ie))if(kd)Pe=Xv;else{Pe=ry;var Me=ny}else(we=ie.nodeName)&&we.toLowerCase()==="input"&&(ie.type==="checkbox"||ie.type==="radio")&&(Pe=ay);if(Pe&&(Pe=Pe(n,W))){Wv(oe,Pe,l,le);break e}Me&&Me(n,ie,W),n==="focusout"&&(Me=ie._wrapperState)&&Me.controlled&&ie.type==="number"&&ea(ie,"number",ie.value)}switch(Me=W?wo(W):window,n){case"focusin":(Yv(Me)||Me.contentEditable==="true")&&(fi=Me,Ld=W,Ts=null);break;case"focusout":Ts=Ld=fi=null;break;case"mousedown":Od=!0;break;case"contextmenu":case"mouseup":case"dragend":Od=!1,nh(oe,l,le);break;case"selectionchange":if(th)break;case"keydown":case"keyup":nh(oe,l,le)}var Ie;if(ci)e:{switch(n){case"compositionstart":var it="onCompositionStart";break e;case"compositionend":it="onCompositionEnd";break e;case"compositionupdate":it="onCompositionUpdate";break e}it=void 0}else go?Vv(n,l)&&(it="onCompositionEnd"):n==="keydown"&&l.keyCode===229&&(it="onCompositionStart");it&&(Hv&&l.locale!=="ko"&&(go||it!=="onCompositionStart"?it==="onCompositionEnd"&&go&&(Ie=$()):(oi=le,y="value"in oi?oi.value:oi.textContent,go=!0)),Me=Ls(W,it),0<Me.length&&(it=new wd(it,n,null,l,le),oe.push({event:it,listeners:Me}),Ie?it.data=Ie:(Ie=Mc(l),Ie!==null&&(it.data=Ie)))),(Ie=Nc?ey(n,l):ty(n,l))&&(W=Ls(W,"onBeforeInput"),0<W.length&&(le=new wd("onBeforeInput","beforeinput",null,l,le),oe.push({event:le,listeners:W}),le.data=Ie))}jc(oe,r)})}function Ds(n,r,l){return{instance:n,listener:r,currentTarget:l}}function Ls(n,r){for(var l=r+"Capture",o=[];n!==null;){var f=n,p=f.stateNode;f.tag===5&&p!==null&&(f=p,p=xa(n,l),p!=null&&o.unshift(Ds(n,p,f)),p=xa(n,r),p!=null&&o.push(Ds(n,p,f))),n=n.return}return o}function yu(n){if(n===null)return null;do n=n.return;while(n&&n.tag!==5);return n||null}function Ud(n,r,l,o,f){for(var p=r._reactName,S=[];l!==null&&l!==o;){var T=l,O=T.alternate,W=T.stateNode;if(O!==null&&O===o)break;T.tag===5&&W!==null&&(T=W,f?(O=xa(l,p),O!=null&&S.unshift(Ds(l,O,T))):f||(O=xa(l,p),O!=null&&S.push(Ds(l,O,T)))),l=l.return}S.length!==0&&n.push({event:r,listeners:S})}var zd=/\r\n?/g,oy=/\u0000|\uFFFD/g;function jd(n){return(typeof n=="string"?n:""+n).replace(zd,`
|
|
112
|
+
`).replace(oy,"")}function Fc(n,r,l){if(r=jd(r),jd(n)!==r&&l)throw Error(v(425))}function Bc(){}var Pd=null,Su=null;function Os(n,r){return n==="textarea"||n==="noscript"||typeof r.children=="string"||typeof r.children=="number"||typeof r.dangerouslySetInnerHTML=="object"&&r.dangerouslySetInnerHTML!==null&&r.dangerouslySetInnerHTML.__html!=null}var Eu=typeof setTimeout=="function"?setTimeout:void 0,ch=typeof clearTimeout=="function"?clearTimeout:void 0,Fd=typeof Promise=="function"?Promise:void 0,Bd=typeof queueMicrotask=="function"?queueMicrotask:typeof Fd<"u"?function(n){return Fd.resolve(null).then(n).catch(sy)}:Eu;function sy(n){setTimeout(function(){throw n})}function Ml(n,r){var l=r,o=0;do{var f=l.nextSibling;if(n.removeChild(l),f&&f.nodeType===8)if(l=f.data,l==="/$"){if(o===0){n.removeChild(f),_l(r);return}o--}else l!=="$"&&l!=="$?"&&l!=="$!"||o++;l=f}while(l);_l(r)}function di(n){for(;n!=null;n=n.nextSibling){var r=n.nodeType;if(r===1||r===3)break;if(r===8){if(r=n.data,r==="$"||r==="$!"||r==="$?")break;if(r==="/$")return null}}return n}function Ns(n){n=n.previousSibling;for(var r=0;n;){if(n.nodeType===8){var l=n.data;if(l==="$"||l==="$!"||l==="$?"){if(r===0)return n;r--}else l==="/$"&&r++}n=n.previousSibling}return null}var Al=Math.random().toString(36).slice(2),Ri="__reactFiber$"+Al,Cu="__reactProps$"+Al,Ki="__reactContainer$"+Al,Hd="__reactEvents$"+Al,cy="__reactListeners$"+Al,Id="__reactHandles$"+Al;function Va(n){var r=n[Ri];if(r)return r;for(var l=n.parentNode;l;){if(r=l[Ki]||l[Ri]){if(l=r.alternate,r.child!==null||l!==null&&l.child!==null)for(n=Ns(n);n!==null;){if(l=n[Ri])return l;n=Ns(n)}return r}n=l,l=n.parentNode}return null}function Ms(n){return n=n[Ri]||n[Ki],!n||n.tag!==5&&n.tag!==6&&n.tag!==13&&n.tag!==3?null:n}function wo(n){if(n.tag===5||n.tag===6)return n.stateNode;throw Error(v(33))}function $e(n){return n[Cu]||null}var Ul=[],hn=-1;function gt(n){return{current:n}}function Wt(n){0>hn||(n.current=Ul[hn],Ul[hn]=null,hn--)}function Zt(n,r){hn++,Ul[hn]=n.current,n.current=r}var ki={},at=gt(ki),On=gt(!1),ua=ki;function $a(n,r){var l=n.type.contextTypes;if(!l)return ki;var o=n.stateNode;if(o&&o.__reactInternalMemoizedUnmaskedChildContext===r)return o.__reactInternalMemoizedMaskedChildContext;var f={},p;for(p in l)f[p]=r[p];return o&&(n=n.stateNode,n.__reactInternalMemoizedUnmaskedChildContext=r,n.__reactInternalMemoizedMaskedChildContext=f),f}function En(n){return n=n.childContextTypes,n!=null}function Ya(){Wt(On),Wt(at)}function zl(n,r,l){if(at.current!==ki)throw Error(v(168));Zt(at,r),Zt(On,l)}function As(n,r,l){var o=n.stateNode;if(r=r.childContextTypes,typeof o.getChildContext!="function")return l;o=o.getChildContext();for(var f in o)if(!(f in r))throw Error(v(108,kt(n)||"Unknown",f));return D({},l,o)}function Hc(n){return n=(n=n.stateNode)&&n.__reactInternalMemoizedMergedChildContext||ki,ua=at.current,Zt(at,n),Zt(On,On.current),!0}function fh(n,r,l){var o=n.stateNode;if(!o)throw Error(v(169));l?(n=As(n,r,ua),o.__reactInternalMemoizedMergedChildContext=n,Wt(On),Wt(at),Zt(at,n)):Wt(On),Zt(On,l)}var Ra=null,ir=!1,Us=!1;function Vd(n){Ra===null?Ra=[n]:Ra.push(n)}function $d(n){ir=!0,Vd(n)}function oa(){if(!Us&&Ra!==null){Us=!0;var n=0,r=It;try{var l=Ra;for(It=1;n<l.length;n++){var o=l[n];do o=o(!0);while(o!==null)}Ra=null,ir=!1}catch(f){throw Ra!==null&&(Ra=Ra.slice(n+1)),dn(li,oa),f}finally{It=r,Us=!1}}return null}var jl=[],sa=0,wu=null,xo=0,ca=[],_r=0,Wa=null,pr=1,Xi="";function ka(n,r){jl[sa++]=xo,jl[sa++]=wu,wu=n,xo=r}function Yd(n,r,l){ca[_r++]=pr,ca[_r++]=Xi,ca[_r++]=Wa,Wa=n;var o=pr;n=Xi;var f=32-Pr(o)-1;o&=~(1<<f),l+=1;var p=32-Pr(r)+f;if(30<p){var S=f-f%5;p=(o&(1<<S)-1).toString(32),o>>=S,f-=S,pr=1<<32-Pr(r)+f|l<<f|o,Xi=p+n}else pr=1<<p|l<<f|o,Xi=n}function Ic(n){n.return!==null&&(ka(n,1),Yd(n,1,0))}function Wd(n){for(;n===wu;)wu=jl[--sa],jl[sa]=null,xo=jl[--sa],jl[sa]=null;for(;n===Wa;)Wa=ca[--_r],ca[_r]=null,Xi=ca[--_r],ca[_r]=null,pr=ca[--_r],ca[_r]=null}var _a=null,fa=null,mn=!1,Qa=null;function Qd(n,r){var l=Ja(5,null,null,0);l.elementType="DELETED",l.stateNode=r,l.return=n,r=n.deletions,r===null?(n.deletions=[l],n.flags|=16):r.push(l)}function dh(n,r){switch(n.tag){case 5:var l=n.type;return r=r.nodeType!==1||l.toLowerCase()!==r.nodeName.toLowerCase()?null:r,r!==null?(n.stateNode=r,_a=n,fa=di(r.firstChild),!0):!1;case 6:return r=n.pendingProps===""||r.nodeType!==3?null:r,r!==null?(n.stateNode=r,_a=n,fa=null,!0):!1;case 13:return r=r.nodeType!==8?null:r,r!==null?(l=Wa!==null?{id:pr,overflow:Xi}:null,n.memoizedState={dehydrated:r,treeContext:l,retryLane:1073741824},l=Ja(18,null,null,0),l.stateNode=r,l.return=n,n.child=l,_a=n,fa=null,!0):!1;default:return!1}}function Vc(n){return(n.mode&1)!==0&&(n.flags&128)===0}function $c(n){if(mn){var r=fa;if(r){var l=r;if(!dh(n,r)){if(Vc(n))throw Error(v(418));r=di(l.nextSibling);var o=_a;r&&dh(n,r)?Qd(o,l):(n.flags=n.flags&-4097|2,mn=!1,_a=n)}}else{if(Vc(n))throw Error(v(418));n.flags=n.flags&-4097|2,mn=!1,_a=n}}}function ph(n){for(n=n.return;n!==null&&n.tag!==5&&n.tag!==3&&n.tag!==13;)n=n.return;_a=n}function Yc(n){if(n!==_a)return!1;if(!mn)return ph(n),mn=!0,!1;var r;if((r=n.tag!==3)&&!(r=n.tag!==5)&&(r=n.type,r=r!=="head"&&r!=="body"&&!Os(n.type,n.memoizedProps)),r&&(r=fa)){if(Vc(n))throw vh(),Error(v(418));for(;r;)Qd(n,r),r=di(r.nextSibling)}if(ph(n),n.tag===13){if(n=n.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(v(317));e:{for(n=n.nextSibling,r=0;n;){if(n.nodeType===8){var l=n.data;if(l==="/$"){if(r===0){fa=di(n.nextSibling);break e}r--}else l!=="$"&&l!=="$!"&&l!=="$?"||r++}n=n.nextSibling}fa=null}}else fa=_a?di(n.stateNode.nextSibling):null;return!0}function vh(){for(var n=fa;n;)n=di(n.nextSibling)}function Rn(){fa=_a=null,mn=!1}function Gd(n){Qa===null?Qa=[n]:Qa.push(n)}var Wc=vt.ReactCurrentBatchConfig;function Da(n,r){if(n&&n.defaultProps){r=D({},r),n=n.defaultProps;for(var l in n)r[l]===void 0&&(r[l]=n[l]);return r}return r}var _i=gt(null),Qc=null,Pl=null,qd=null;function Kd(){qd=Pl=Qc=null}function Fl(n){var r=_i.current;Wt(_i),n._currentValue=r}function lr(n,r,l){for(;n!==null;){var o=n.alternate;if((n.childLanes&r)!==r?(n.childLanes|=r,o!==null&&(o.childLanes|=r)):o!==null&&(o.childLanes&r)!==r&&(o.childLanes|=r),n===l)break;n=n.return}}function he(n,r){Qc=n,qd=Pl=null,n=n.dependencies,n!==null&&n.firstContext!==null&&(n.lanes&r&&(Hn=!0),n.firstContext=null)}function zn(n){var r=n._currentValue;if(qd!==n)if(n={context:n,memoizedValue:r,next:null},Pl===null){if(Qc===null)throw Error(v(308));Pl=n,Qc.dependencies={lanes:0,firstContext:n}}else Pl=Pl.next=n;return r}var vr=null;function Xd(n){vr===null?vr=[n]:vr.push(n)}function hh(n,r,l,o){var f=r.interleaved;return f===null?(l.next=l,Xd(r)):(l.next=f.next,f.next=l),r.interleaved=l,Zi(n,o)}function Zi(n,r){n.lanes|=r;var l=n.alternate;for(l!==null&&(l.lanes|=r),l=n,n=n.return;n!==null;)n.childLanes|=r,l=n.alternate,l!==null&&(l.childLanes|=r),l=n,n=n.return;return l.tag===3?l.stateNode:null}var Bl=!1;function Zd(n){n.updateQueue={baseState:n.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Qn(n,r){n=n.updateQueue,r.updateQueue===n&&(r.updateQueue={baseState:n.baseState,firstBaseUpdate:n.firstBaseUpdate,lastBaseUpdate:n.lastBaseUpdate,shared:n.shared,effects:n.effects})}function Ji(n,r){return{eventTime:n,lane:r,tag:0,payload:null,callback:null,next:null}}function Hl(n,r,l){var o=n.updateQueue;if(o===null)return null;if(o=o.shared,_t&2){var f=o.pending;return f===null?r.next=r:(r.next=f.next,f.next=r),o.pending=r,Zi(n,l)}return f=o.interleaved,f===null?(r.next=r,Xd(o)):(r.next=f.next,f.next=r),o.interleaved=r,Zi(n,l)}function Gc(n,r,l){if(r=r.updateQueue,r!==null&&(r=r.shared,(l&4194240)!==0)){var o=r.lanes;o&=n.pendingLanes,l|=o,r.lanes=l,bi(n,l)}}function Jd(n,r){var l=n.updateQueue,o=n.alternate;if(o!==null&&(o=o.updateQueue,l===o)){var f=null,p=null;if(l=l.firstBaseUpdate,l!==null){do{var S={eventTime:l.eventTime,lane:l.lane,tag:l.tag,payload:l.payload,callback:l.callback,next:null};p===null?f=p=S:p=p.next=S,l=l.next}while(l!==null);p===null?f=p=r:p=p.next=r}else f=p=r;l={baseState:o.baseState,firstBaseUpdate:f,lastBaseUpdate:p,shared:o.shared,effects:o.effects},n.updateQueue=l;return}n=l.lastBaseUpdate,n===null?l.firstBaseUpdate=r:n.next=r,l.lastBaseUpdate=r}function Il(n,r,l,o){var f=n.updateQueue;Bl=!1;var p=f.firstBaseUpdate,S=f.lastBaseUpdate,T=f.shared.pending;if(T!==null){f.shared.pending=null;var O=T,W=O.next;O.next=null,S===null?p=W:S.next=W,S=O;var le=n.alternate;le!==null&&(le=le.updateQueue,T=le.lastBaseUpdate,T!==S&&(T===null?le.firstBaseUpdate=W:T.next=W,le.lastBaseUpdate=O))}if(p!==null){var oe=f.baseState;S=0,le=W=O=null,T=p;do{var ie=T.lane,we=T.eventTime;if((o&ie)===ie){le!==null&&(le=le.next={eventTime:we,lane:0,tag:T.tag,payload:T.payload,callback:T.callback,next:null});e:{var Ne=n,ze=T;switch(ie=r,we=l,ze.tag){case 1:if(Ne=ze.payload,typeof Ne=="function"){oe=Ne.call(we,oe,ie);break e}oe=Ne;break e;case 3:Ne.flags=Ne.flags&-65537|128;case 0:if(Ne=ze.payload,ie=typeof Ne=="function"?Ne.call(we,oe,ie):Ne,ie==null)break e;oe=D({},oe,ie);break e;case 2:Bl=!0}}T.callback!==null&&T.lane!==0&&(n.flags|=64,ie=f.effects,ie===null?f.effects=[T]:ie.push(T))}else we={eventTime:we,lane:ie,tag:T.tag,payload:T.payload,callback:T.callback,next:null},le===null?(W=le=we,O=oe):le=le.next=we,S|=ie;if(T=T.next,T===null){if(T=f.shared.pending,T===null)break;ie=T,T=ie.next,ie.next=null,f.lastBaseUpdate=ie,f.shared.pending=null}}while(1);if(le===null&&(O=oe),f.baseState=O,f.firstBaseUpdate=W,f.lastBaseUpdate=le,r=f.shared.interleaved,r!==null){f=r;do S|=f.lane,f=f.next;while(f!==r)}else p===null&&(f.shared.lanes=0);rl|=S,n.lanes=S,n.memoizedState=oe}}function xu(n,r,l){if(n=r.effects,r.effects=null,n!==null)for(r=0;r<n.length;r++){var o=n[r],f=o.callback;if(f!==null){if(o.callback=null,o=l,typeof f!="function")throw Error(v(191,f));f.call(o)}}}var mh=new s.Component().refs;function ep(n,r,l,o){r=n.memoizedState,l=l(o,r),l=l==null?r:D({},r,l),n.memoizedState=l,n.lanes===0&&(n.updateQueue.baseState=l)}var qc={isMounted:function(n){return(n=n._reactInternals)?ht(n)===n:!1},enqueueSetState:function(n,r,l){n=n._reactInternals;var o=Nr(),f=In(n),p=Ji(o,f);p.payload=r,l!=null&&(p.callback=l),r=Hl(n,p,f),r!==null&&(Mr(r,n,f,o),Gc(r,n,f))},enqueueReplaceState:function(n,r,l){n=n._reactInternals;var o=Nr(),f=In(n),p=Ji(o,f);p.tag=1,p.payload=r,l!=null&&(p.callback=l),r=Hl(n,p,f),r!==null&&(Mr(r,n,f,o),Gc(r,n,f))},enqueueForceUpdate:function(n,r){n=n._reactInternals;var l=Nr(),o=In(n),f=Ji(l,o);f.tag=2,r!=null&&(f.callback=r),r=Hl(n,f,o),r!==null&&(Mr(r,n,o,l),Gc(r,n,o))}};function gh(n,r,l,o,f,p,S){return n=n.stateNode,typeof n.shouldComponentUpdate=="function"?n.shouldComponentUpdate(o,p,S):r.prototype&&r.prototype.isPureReactComponent?!bs(l,o)||!bs(f,p):!0}function yh(n,r,l){var o=!1,f=ki,p=r.contextType;return typeof p=="object"&&p!==null?p=zn(p):(f=En(r)?ua:at.current,o=r.contextTypes,p=(o=o!=null)?$a(n,f):ki),r=new r(l,p),n.memoizedState=r.state!==null&&r.state!==void 0?r.state:null,r.updater=qc,n.stateNode=r,r._reactInternals=n,o&&(n=n.stateNode,n.__reactInternalMemoizedUnmaskedChildContext=f,n.__reactInternalMemoizedMaskedChildContext=p),r}function Sh(n,r,l,o){n=r.state,typeof r.componentWillReceiveProps=="function"&&r.componentWillReceiveProps(l,o),typeof r.UNSAFE_componentWillReceiveProps=="function"&&r.UNSAFE_componentWillReceiveProps(l,o),r.state!==n&&qc.enqueueReplaceState(r,r.state,null)}function Kc(n,r,l,o){var f=n.stateNode;f.props=l,f.state=n.memoizedState,f.refs=mh,Zd(n);var p=r.contextType;typeof p=="object"&&p!==null?f.context=zn(p):(p=En(r)?ua:at.current,f.context=$a(n,p)),f.state=n.memoizedState,p=r.getDerivedStateFromProps,typeof p=="function"&&(ep(n,r,p,l),f.state=n.memoizedState),typeof r.getDerivedStateFromProps=="function"||typeof f.getSnapshotBeforeUpdate=="function"||typeof f.UNSAFE_componentWillMount!="function"&&typeof f.componentWillMount!="function"||(r=f.state,typeof f.componentWillMount=="function"&&f.componentWillMount(),typeof f.UNSAFE_componentWillMount=="function"&&f.UNSAFE_componentWillMount(),r!==f.state&&qc.enqueueReplaceState(f,f.state,null),Il(n,l,f,o),f.state=n.memoizedState),typeof f.componentDidMount=="function"&&(n.flags|=4194308)}function bo(n,r,l){if(n=l.ref,n!==null&&typeof n!="function"&&typeof n!="object"){if(l._owner){if(l=l._owner,l){if(l.tag!==1)throw Error(v(309));var o=l.stateNode}if(!o)throw Error(v(147,n));var f=o,p=""+n;return r!==null&&r.ref!==null&&typeof r.ref=="function"&&r.ref._stringRef===p?r.ref:(r=function(S){var T=f.refs;T===mh&&(T=f.refs={}),S===null?delete T[p]:T[p]=S},r._stringRef=p,r)}if(typeof n!="string")throw Error(v(284));if(!l._owner)throw Error(v(290,n))}return n}function Xc(n,r){throw n=Object.prototype.toString.call(r),Error(v(31,n==="[object Object]"?"object with keys {"+Object.keys(r).join(", ")+"}":n))}function Eh(n){var r=n._init;return r(n._payload)}function Ch(n){function r(P,U){if(n){var I=P.deletions;I===null?(P.deletions=[U],P.flags|=16):I.push(U)}}function l(P,U){if(!n)return null;for(;U!==null;)r(P,U),U=U.sibling;return null}function o(P,U){for(P=new Map;U!==null;)U.key!==null?P.set(U.key,U):P.set(U.index,U),U=U.sibling;return P}function f(P,U){return P=Kl(P,U),P.index=0,P.sibling=null,P}function p(P,U,I){return P.index=I,n?(I=P.alternate,I!==null?(I=I.index,I<U?(P.flags|=2,U):I):(P.flags|=2,U)):(P.flags|=1048576,U)}function S(P){return n&&P.alternate===null&&(P.flags|=2),P}function T(P,U,I,de){return U===null||U.tag!==6?(U=ec(I,P.mode,de),U.return=P,U):(U=f(U,I),U.return=P,U)}function O(P,U,I,de){var Pe=I.type;return Pe===Oe?le(P,U,I.props.children,de,I.key):U!==null&&(U.elementType===Pe||typeof Pe=="object"&&Pe!==null&&Pe.$$typeof===ut&&Eh(Pe)===U.type)?(de=f(U,I.props),de.ref=bo(P,U,I),de.return=P,de):(de=Lf(I.type,I.key,I.props,null,P.mode,de),de.ref=bo(P,U,I),de.return=P,de)}function W(P,U,I,de){return U===null||U.tag!==4||U.stateNode.containerInfo!==I.containerInfo||U.stateNode.implementation!==I.implementation?(U=Iu(I,P.mode,de),U.return=P,U):(U=f(U,I.children||[]),U.return=P,U)}function le(P,U,I,de,Pe){return U===null||U.tag!==7?(U=Hu(I,P.mode,de,Pe),U.return=P,U):(U=f(U,I),U.return=P,U)}function oe(P,U,I){if(typeof U=="string"&&U!==""||typeof U=="number")return U=ec(""+U,P.mode,I),U.return=P,U;if(typeof U=="object"&&U!==null){switch(U.$$typeof){case _e:return I=Lf(U.type,U.key,U.props,null,P.mode,I),I.ref=bo(P,null,U),I.return=P,I;case De:return U=Iu(U,P.mode,I),U.return=P,U;case ut:var de=U._init;return oe(P,de(U._payload),I)}if(nr(U)||je(U))return U=Hu(U,P.mode,I,null),U.return=P,U;Xc(P,U)}return null}function ie(P,U,I,de){var Pe=U!==null?U.key:null;if(typeof I=="string"&&I!==""||typeof I=="number")return Pe!==null?null:T(P,U,""+I,de);if(typeof I=="object"&&I!==null){switch(I.$$typeof){case _e:return I.key===Pe?O(P,U,I,de):null;case De:return I.key===Pe?W(P,U,I,de):null;case ut:return Pe=I._init,ie(P,U,Pe(I._payload),de)}if(nr(I)||je(I))return Pe!==null?null:le(P,U,I,de,null);Xc(P,I)}return null}function we(P,U,I,de,Pe){if(typeof de=="string"&&de!==""||typeof de=="number")return P=P.get(I)||null,T(U,P,""+de,Pe);if(typeof de=="object"&&de!==null){switch(de.$$typeof){case _e:return P=P.get(de.key===null?I:de.key)||null,O(U,P,de,Pe);case De:return P=P.get(de.key===null?I:de.key)||null,W(U,P,de,Pe);case ut:var Me=de._init;return we(P,U,I,Me(de._payload),Pe)}if(nr(de)||je(de))return P=P.get(I)||null,le(U,P,de,Pe,null);Xc(U,de)}return null}function Ne(P,U,I,de){for(var Pe=null,Me=null,Ie=U,it=U=0,sr=null;Ie!==null&&it<I.length;it++){Ie.index>it?(sr=Ie,Ie=null):sr=Ie.sibling;var Ht=ie(P,Ie,I[it],de);if(Ht===null){Ie===null&&(Ie=sr);break}n&&Ie&&Ht.alternate===null&&r(P,Ie),U=p(Ht,U,it),Me===null?Pe=Ht:Me.sibling=Ht,Me=Ht,Ie=sr}if(it===I.length)return l(P,Ie),mn&&ka(P,it),Pe;if(Ie===null){for(;it<I.length;it++)Ie=oe(P,I[it],de),Ie!==null&&(U=p(Ie,U,it),Me===null?Pe=Ie:Me.sibling=Ie,Me=Ie);return mn&&ka(P,it),Pe}for(Ie=o(P,Ie);it<I.length;it++)sr=we(Ie,P,it,I[it],de),sr!==null&&(n&&sr.alternate!==null&&Ie.delete(sr.key===null?it:sr.key),U=p(sr,U,it),Me===null?Pe=sr:Me.sibling=sr,Me=sr);return n&&Ie.forEach(function(Xl){return r(P,Xl)}),mn&&ka(P,it),Pe}function ze(P,U,I,de){var Pe=je(I);if(typeof Pe!="function")throw Error(v(150));if(I=Pe.call(I),I==null)throw Error(v(151));for(var Me=Pe=null,Ie=U,it=U=0,sr=null,Ht=I.next();Ie!==null&&!Ht.done;it++,Ht=I.next()){Ie.index>it?(sr=Ie,Ie=null):sr=Ie.sibling;var Xl=ie(P,Ie,Ht.value,de);if(Xl===null){Ie===null&&(Ie=sr);break}n&&Ie&&Xl.alternate===null&&r(P,Ie),U=p(Xl,U,it),Me===null?Pe=Xl:Me.sibling=Xl,Me=Xl,Ie=sr}if(Ht.done)return l(P,Ie),mn&&ka(P,it),Pe;if(Ie===null){for(;!Ht.done;it++,Ht=I.next())Ht=oe(P,Ht.value,de),Ht!==null&&(U=p(Ht,U,it),Me===null?Pe=Ht:Me.sibling=Ht,Me=Ht);return mn&&ka(P,it),Pe}for(Ie=o(P,Ie);!Ht.done;it++,Ht=I.next())Ht=we(Ie,P,it,Ht.value,de),Ht!==null&&(n&&Ht.alternate!==null&&Ie.delete(Ht.key===null?it:Ht.key),U=p(Ht,U,it),Me===null?Pe=Ht:Me.sibling=Ht,Me=Ht);return n&&Ie.forEach(function(Ly){return r(P,Ly)}),mn&&ka(P,it),Pe}function jn(P,U,I,de){if(typeof I=="object"&&I!==null&&I.type===Oe&&I.key===null&&(I=I.props.children),typeof I=="object"&&I!==null){switch(I.$$typeof){case _e:e:{for(var Pe=I.key,Me=U;Me!==null;){if(Me.key===Pe){if(Pe=I.type,Pe===Oe){if(Me.tag===7){l(P,Me.sibling),U=f(Me,I.props.children),U.return=P,P=U;break e}}else if(Me.elementType===Pe||typeof Pe=="object"&&Pe!==null&&Pe.$$typeof===ut&&Eh(Pe)===Me.type){l(P,Me.sibling),U=f(Me,I.props),U.ref=bo(P,Me,I),U.return=P,P=U;break e}l(P,Me);break}else r(P,Me);Me=Me.sibling}I.type===Oe?(U=Hu(I.props.children,P.mode,de,I.key),U.return=P,P=U):(de=Lf(I.type,I.key,I.props,null,P.mode,de),de.ref=bo(P,U,I),de.return=P,P=de)}return S(P);case De:e:{for(Me=I.key;U!==null;){if(U.key===Me)if(U.tag===4&&U.stateNode.containerInfo===I.containerInfo&&U.stateNode.implementation===I.implementation){l(P,U.sibling),U=f(U,I.children||[]),U.return=P,P=U;break e}else{l(P,U);break}else r(P,U);U=U.sibling}U=Iu(I,P.mode,de),U.return=P,P=U}return S(P);case ut:return Me=I._init,jn(P,U,Me(I._payload),de)}if(nr(I))return Ne(P,U,I,de);if(je(I))return ze(P,U,I,de);Xc(P,I)}return typeof I=="string"&&I!==""||typeof I=="number"?(I=""+I,U!==null&&U.tag===6?(l(P,U.sibling),U=f(U,I),U.return=P,P=U):(l(P,U),U=ec(I,P.mode,de),U.return=P,P=U),S(P)):l(P,U)}return jn}var To=Ch(!0),wh=Ch(!1),zs={},pi=gt(zs),js=gt(zs),Ro=gt(zs);function bu(n){if(n===zs)throw Error(v(174));return n}function tp(n,r){switch(Zt(Ro,r),Zt(js,n),Zt(pi,zs),n=r.nodeType,n){case 9:case 11:r=(r=r.documentElement)?r.namespaceURI:xn(null,"");break;default:n=n===8?r.parentNode:r,r=n.namespaceURI||null,n=n.tagName,r=xn(r,n)}Wt(pi),Zt(pi,r)}function Vl(){Wt(pi),Wt(js),Wt(Ro)}function Ke(n){bu(Ro.current);var r=bu(pi.current),l=xn(r,n.type);r!==l&&(Zt(js,n),Zt(pi,l))}function Tt(n){js.current===n&&(Wt(pi),Wt(js))}var Je=gt(0);function kn(n){for(var r=n;r!==null;){if(r.tag===13){var l=r.memoizedState;if(l!==null&&(l=l.dehydrated,l===null||l.data==="$?"||l.data==="$!"))return r}else if(r.tag===19&&r.memoizedProps.revealOrder!==void 0){if(r.flags&128)return r}else if(r.child!==null){r.child.return=r,r=r.child;continue}if(r===n)break;for(;r.sibling===null;){if(r.return===null||r.return===n)return null;r=r.return}r.sibling.return=r.return,r=r.sibling}return null}var Ga=[];function Zc(){for(var n=0;n<Ga.length;n++)Ga[n]._workInProgressVersionPrimary=null;Ga.length=0}var Jc=vt.ReactCurrentDispatcher,np=vt.ReactCurrentBatchConfig,Tu=0,gn=null,Z=null,At=null,tt=!1,Di=!1,La=0,Ru=0;function yn(){throw Error(v(321))}function ku(n,r){if(r===null)return!1;for(var l=0;l<r.length&&l<n.length;l++)if(!Ia(n[l],r[l]))return!1;return!0}function $l(n,r,l,o,f,p){if(Tu=p,gn=r,r.memoizedState=null,r.updateQueue=null,r.lanes=0,Jc.current=n===null||n.memoizedState===null?dy:py,n=l(o,f),Di){p=0;do{if(Di=!1,La=0,25<=p)throw Error(v(301));p+=1,At=Z=null,r.updateQueue=null,Jc.current=ap,n=l(o,f)}while(Di)}if(Jc.current=mf,r=Z!==null&&Z.next!==null,Tu=0,At=Z=gn=null,tt=!1,r)throw Error(v(300));return n}function _u(){var n=La!==0;return La=0,n}function qa(){var n={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return At===null?gn.memoizedState=At=n:At=At.next=n,At}function da(){if(Z===null){var n=gn.alternate;n=n!==null?n.memoizedState:null}else n=Z.next;var r=At===null?gn.memoizedState:At.next;if(r!==null)At=r,Z=n;else{if(n===null)throw Error(v(310));Z=n,n={memoizedState:Z.memoizedState,baseState:Z.baseState,baseQueue:Z.baseQueue,queue:Z.queue,next:null},At===null?gn.memoizedState=At=n:At=At.next=n}return At}function Du(n,r){return typeof r=="function"?r(n):r}function Ps(n){var r=da(),l=r.queue;if(l===null)throw Error(v(311));l.lastRenderedReducer=n;var o=Z,f=o.baseQueue,p=l.pending;if(p!==null){if(f!==null){var S=f.next;f.next=p.next,p.next=S}o.baseQueue=f=p,l.pending=null}if(f!==null){p=f.next,o=o.baseState;var T=S=null,O=null,W=p;do{var le=W.lane;if((Tu&le)===le)O!==null&&(O=O.next={lane:0,action:W.action,hasEagerState:W.hasEagerState,eagerState:W.eagerState,next:null}),o=W.hasEagerState?W.eagerState:n(o,W.action);else{var oe={lane:le,action:W.action,hasEagerState:W.hasEagerState,eagerState:W.eagerState,next:null};O===null?(T=O=oe,S=o):O=O.next=oe,gn.lanes|=le,rl|=le}W=W.next}while(W!==null&&W!==p);O===null?S=o:O.next=T,Ia(o,r.memoizedState)||(Hn=!0),r.memoizedState=o,r.baseState=S,r.baseQueue=O,l.lastRenderedState=o}if(n=l.interleaved,n!==null){f=n;do p=f.lane,gn.lanes|=p,rl|=p,f=f.next;while(f!==n)}else f===null&&(l.lanes=0);return[r.memoizedState,l.dispatch]}function Fs(n){var r=da(),l=r.queue;if(l===null)throw Error(v(311));l.lastRenderedReducer=n;var o=l.dispatch,f=l.pending,p=r.memoizedState;if(f!==null){l.pending=null;var S=f=f.next;do p=n(p,S.action),S=S.next;while(S!==f);Ia(p,r.memoizedState)||(Hn=!0),r.memoizedState=p,r.baseQueue===null&&(r.baseState=p),l.lastRenderedState=p}return[p,o]}function ef(){}function tf(n,r){var l=gn,o=da(),f=r(),p=!Ia(o.memoizedState,f);if(p&&(o.memoizedState=f,Hn=!0),o=o.queue,Bs(af.bind(null,l,o,n),[n]),o.getSnapshot!==r||p||At!==null&&At.memoizedState.tag&1){if(l.flags|=2048,Lu(9,rf.bind(null,l,o,f,r),void 0,null),_n===null)throw Error(v(349));Tu&30||nf(l,r,f)}return f}function nf(n,r,l){n.flags|=16384,n={getSnapshot:r,value:l},r=gn.updateQueue,r===null?(r={lastEffect:null,stores:null},gn.updateQueue=r,r.stores=[n]):(l=r.stores,l===null?r.stores=[n]:l.push(n))}function rf(n,r,l,o){r.value=l,r.getSnapshot=o,lf(r)&&uf(n)}function af(n,r,l){return l(function(){lf(r)&&uf(n)})}function lf(n){var r=n.getSnapshot;n=n.value;try{var l=r();return!Ia(n,l)}catch{return!0}}function uf(n){var r=Zi(n,1);r!==null&&Mr(r,n,1,-1)}function of(n){var r=qa();return typeof n=="function"&&(n=n()),r.memoizedState=r.baseState=n,n={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Du,lastRenderedState:n},r.queue=n,n=n.dispatch=hf.bind(null,gn,n),[r.memoizedState,n]}function Lu(n,r,l,o){return n={tag:n,create:r,destroy:l,deps:o,next:null},r=gn.updateQueue,r===null?(r={lastEffect:null,stores:null},gn.updateQueue=r,r.lastEffect=n.next=n):(l=r.lastEffect,l===null?r.lastEffect=n.next=n:(o=l.next,l.next=n,n.next=o,r.lastEffect=n)),n}function sf(){return da().memoizedState}function Ou(n,r,l,o){var f=qa();gn.flags|=n,f.memoizedState=Lu(1|r,l,void 0,o===void 0?null:o)}function el(n,r,l,o){var f=da();o=o===void 0?null:o;var p=void 0;if(Z!==null){var S=Z.memoizedState;if(p=S.destroy,o!==null&&ku(o,S.deps)){f.memoizedState=Lu(r,l,p,o);return}}gn.flags|=n,f.memoizedState=Lu(1|r,l,p,o)}function cf(n,r){return Ou(8390656,8,n,r)}function Bs(n,r){return el(2048,8,n,r)}function ff(n,r){return el(4,2,n,r)}function df(n,r){return el(4,4,n,r)}function rp(n,r){if(typeof r=="function")return n=n(),r(n),function(){r(null)};if(r!=null)return n=n(),r.current=n,function(){r.current=null}}function ko(n,r,l){return l=l!=null?l.concat([n]):null,el(4,4,rp.bind(null,r,n),l)}function pf(){}function _o(n,r){var l=da();r=r===void 0?null:r;var o=l.memoizedState;return o!==null&&r!==null&&ku(r,o[1])?o[0]:(l.memoizedState=[n,r],n)}function Yl(n,r){var l=da();r=r===void 0?null:r;var o=l.memoizedState;return o!==null&&r!==null&&ku(r,o[1])?o[0]:(n=n(),l.memoizedState=[n,r],n)}function pa(n,r,l){return Tu&21?(Ia(l,r)||(l=lo(),gn.lanes|=l,rl|=l,n.baseState=!0),r):(n.baseState&&(n.baseState=!1,Hn=!0),n.memoizedState=l)}function fy(n,r){var l=It;It=l!==0&&4>l?l:4,n(!0);var o=np.transition;np.transition={};try{n(!1),r()}finally{It=l,np.transition=o}}function sn(){return da().memoizedState}function vf(n,r,l){var o=In(n);if(l={lane:o,action:l,hasEagerState:!1,eagerState:null,next:null},Do(n))Hs(r,l);else if(l=hh(n,r,l,o),l!==null){var f=Nr();Mr(l,n,o,f),xh(l,r,o)}}function hf(n,r,l){var o=In(n),f={lane:o,action:l,hasEagerState:!1,eagerState:null,next:null};if(Do(n))Hs(r,f);else{var p=n.alternate;if(n.lanes===0&&(p===null||p.lanes===0)&&(p=r.lastRenderedReducer,p!==null))try{var S=r.lastRenderedState,T=p(S,l);if(f.hasEagerState=!0,f.eagerState=T,Ia(T,S)){var O=r.interleaved;O===null?(f.next=f,Xd(r)):(f.next=O.next,O.next=f),r.interleaved=f;return}}catch{}finally{}l=hh(n,r,f,o),l!==null&&(f=Nr(),Mr(l,n,o,f),xh(l,r,o))}}function Do(n){var r=n.alternate;return n===gn||r!==null&&r===gn}function Hs(n,r){Di=tt=!0;var l=n.pending;l===null?r.next=r:(r.next=l.next,l.next=r),n.pending=r}function xh(n,r,l){if(l&4194240){var o=r.lanes;o&=n.pendingLanes,l|=o,r.lanes=l,bi(n,l)}}var mf={readContext:zn,useCallback:yn,useContext:yn,useEffect:yn,useImperativeHandle:yn,useInsertionEffect:yn,useLayoutEffect:yn,useMemo:yn,useReducer:yn,useRef:yn,useState:yn,useDebugValue:yn,useDeferredValue:yn,useTransition:yn,useMutableSource:yn,useSyncExternalStore:yn,useId:yn,unstable_isNewReconciler:!1},dy={readContext:zn,useCallback:function(n,r){return qa().memoizedState=[n,r===void 0?null:r],n},useContext:zn,useEffect:cf,useImperativeHandle:function(n,r,l){return l=l!=null?l.concat([n]):null,Ou(4194308,4,rp.bind(null,r,n),l)},useLayoutEffect:function(n,r){return Ou(4194308,4,n,r)},useInsertionEffect:function(n,r){return Ou(4,2,n,r)},useMemo:function(n,r){var l=qa();return r=r===void 0?null:r,n=n(),l.memoizedState=[n,r],n},useReducer:function(n,r,l){var o=qa();return r=l!==void 0?l(r):r,o.memoizedState=o.baseState=r,n={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:n,lastRenderedState:r},o.queue=n,n=n.dispatch=vf.bind(null,gn,n),[o.memoizedState,n]},useRef:function(n){var r=qa();return n={current:n},r.memoizedState=n},useState:of,useDebugValue:pf,useDeferredValue:function(n){return qa().memoizedState=n},useTransition:function(){var n=of(!1),r=n[0];return n=fy.bind(null,n[1]),qa().memoizedState=n,[r,n]},useMutableSource:function(){},useSyncExternalStore:function(n,r,l){var o=gn,f=qa();if(mn){if(l===void 0)throw Error(v(407));l=l()}else{if(l=r(),_n===null)throw Error(v(349));Tu&30||nf(o,r,l)}f.memoizedState=l;var p={value:l,getSnapshot:r};return f.queue=p,cf(af.bind(null,o,p,n),[n]),o.flags|=2048,Lu(9,rf.bind(null,o,p,l,r),void 0,null),l},useId:function(){var n=qa(),r=_n.identifierPrefix;if(mn){var l=Xi,o=pr;l=(o&~(1<<32-Pr(o)-1)).toString(32)+l,r=":"+r+"R"+l,l=La++,0<l&&(r+="H"+l.toString(32)),r+=":"}else l=Ru++,r=":"+r+"r"+l.toString(32)+":";return n.memoizedState=r},unstable_isNewReconciler:!1},py={readContext:zn,useCallback:_o,useContext:zn,useEffect:Bs,useImperativeHandle:ko,useInsertionEffect:ff,useLayoutEffect:df,useMemo:Yl,useReducer:Ps,useRef:sf,useState:function(){return Ps(Du)},useDebugValue:pf,useDeferredValue:function(n){var r=da();return pa(r,Z.memoizedState,n)},useTransition:function(){var n=Ps(Du)[0],r=da().memoizedState;return[n,r]},useMutableSource:ef,useSyncExternalStore:tf,useId:sn,unstable_isNewReconciler:!1},ap={readContext:zn,useCallback:_o,useContext:zn,useEffect:Bs,useImperativeHandle:ko,useInsertionEffect:ff,useLayoutEffect:df,useMemo:Yl,useReducer:Fs,useRef:sf,useState:function(){return Fs(Du)},useDebugValue:pf,useDeferredValue:function(n){var r=da();return Z===null?r.memoizedState=n:pa(r,Z.memoizedState,n)},useTransition:function(){var n=Fs(Du)[0],r=da().memoizedState;return[n,r]},useMutableSource:ef,useSyncExternalStore:tf,useId:sn,unstable_isNewReconciler:!1};function Lo(n,r){try{var l="",o=r;do l+=Nt(o),o=o.return;while(o);var f=l}catch(p){f=`
|
|
113
|
+
Error generating stack: `+p.message+`
|
|
114
|
+
`+p.stack}return{value:n,source:r,stack:f,digest:null}}function Is(n,r,l){return{value:n,source:null,stack:l??null,digest:r??null}}function gf(n,r){try{console.error(r.value)}catch(l){setTimeout(function(){throw l})}}var vy=typeof WeakMap=="function"?WeakMap:Map;function bh(n,r,l){l=Ji(-1,l),l.tag=3,l.payload={element:null};var o=r.value;return l.callback=function(){bf||(bf=!0,zu=o),gf(n,r)},l}function Vs(n,r,l){l=Ji(-1,l),l.tag=3;var o=n.type.getDerivedStateFromError;if(typeof o=="function"){var f=r.value;l.payload=function(){return o(f)},l.callback=function(){gf(n,r)}}var p=n.stateNode;return p!==null&&typeof p.componentDidCatch=="function"&&(l.callback=function(){gf(n,r),typeof o!="function"&&(Ni===null?Ni=new Set([this]):Ni.add(this));var S=r.stack;this.componentDidCatch(r.value,{componentStack:S!==null?S:""})}),l}function Th(n,r,l){var o=n.pingCache;if(o===null){o=n.pingCache=new vy;var f=new Set;o.set(r,f)}else f=o.get(r),f===void 0&&(f=new Set,o.set(r,f));f.has(l)||(f.add(l),n=Cy.bind(null,n,r,l),r.then(n,n))}function ip(n){do{var r;if((r=n.tag===13)&&(r=n.memoizedState,r=r!==null?r.dehydrated!==null:!0),r)return n;n=n.return}while(n!==null);return null}function lp(n,r,l,o,f){return n.mode&1?(n.flags|=65536,n.lanes=f,n):(n===r?n.flags|=65536:(n.flags|=128,l.flags|=131072,l.flags&=-52805,l.tag===1&&(l.alternate===null?l.tag=17:(r=Ji(-1,1),r.tag=2,Hl(l,r,1))),l.lanes|=1),n)}var hy=vt.ReactCurrentOwner,Hn=!1;function Gn(n,r,l,o){r.child=n===null?wh(r,null,l,o):To(r,n.child,l,o)}function Wl(n,r,l,o,f){l=l.render;var p=r.ref;return he(r,f),o=$l(n,r,l,o,p,f),l=_u(),n!==null&&!Hn?(r.updateQueue=n.updateQueue,r.flags&=-2053,n.lanes&=~f,hr(n,r,f)):(mn&&l&&Ic(r),r.flags|=1,Gn(n,r,o,f),r.child)}function yf(n,r,l,o,f){if(n===null){var p=l.type;return typeof p=="function"&&!Tp(p)&&p.defaultProps===void 0&&l.compare===null&&l.defaultProps===void 0?(r.tag=15,r.type=p,va(n,r,p,o,f)):(n=Lf(l.type,null,o,r,r.mode,f),n.ref=r.ref,n.return=r,r.child=n)}if(p=n.child,!(n.lanes&f)){var S=p.memoizedProps;if(l=l.compare,l=l!==null?l:bs,l(S,o)&&n.ref===r.ref)return hr(n,r,f)}return r.flags|=1,n=Kl(p,o),n.ref=r.ref,n.return=r,r.child=n}function va(n,r,l,o,f){if(n!==null){var p=n.memoizedProps;if(bs(p,o)&&n.ref===r.ref)if(Hn=!1,r.pendingProps=o=p,(n.lanes&f)!==0)n.flags&131072&&(Hn=!0);else return r.lanes=n.lanes,hr(n,r,f)}return Oo(n,r,l,o,f)}function Nu(n,r,l){var o=r.pendingProps,f=o.children,p=n!==null?n.memoizedState:null;if(o.mode==="hidden")if(!(r.mode&1))r.memoizedState={baseLanes:0,cachePool:null,transitions:null},Zt(jo,Oa),Oa|=l;else{if(!(l&1073741824))return n=p!==null?p.baseLanes|l:l,r.lanes=r.childLanes=1073741824,r.memoizedState={baseLanes:n,cachePool:null,transitions:null},r.updateQueue=null,Zt(jo,Oa),Oa|=n,null;r.memoizedState={baseLanes:0,cachePool:null,transitions:null},o=p!==null?p.baseLanes:l,Zt(jo,Oa),Oa|=o}else p!==null?(o=p.baseLanes|l,r.memoizedState=null):o=l,Zt(jo,Oa),Oa|=o;return Gn(n,r,f,l),r.child}function yt(n,r){var l=r.ref;(n===null&&l!==null||n!==null&&n.ref!==l)&&(r.flags|=512,r.flags|=2097152)}function Oo(n,r,l,o,f){var p=En(l)?ua:at.current;return p=$a(r,p),he(r,f),l=$l(n,r,l,o,p,f),o=_u(),n!==null&&!Hn?(r.updateQueue=n.updateQueue,r.flags&=-2053,n.lanes&=~f,hr(n,r,f)):(mn&&o&&Ic(r),r.flags|=1,Gn(n,r,l,f),r.child)}function up(n,r,l,o,f){if(En(l)){var p=!0;Hc(r)}else p=!1;if(he(r,f),r.stateNode===null)Dr(n,r),yh(r,l,o),Kc(r,l,o,f),o=!0;else if(n===null){var S=r.stateNode,T=r.memoizedProps;S.props=T;var O=S.context,W=l.contextType;typeof W=="object"&&W!==null?W=zn(W):(W=En(l)?ua:at.current,W=$a(r,W));var le=l.getDerivedStateFromProps,oe=typeof le=="function"||typeof S.getSnapshotBeforeUpdate=="function";oe||typeof S.UNSAFE_componentWillReceiveProps!="function"&&typeof S.componentWillReceiveProps!="function"||(T!==o||O!==W)&&Sh(r,S,o,W),Bl=!1;var ie=r.memoizedState;S.state=ie,Il(r,o,S,f),O=r.memoizedState,T!==o||ie!==O||On.current||Bl?(typeof le=="function"&&(ep(r,l,le,o),O=r.memoizedState),(T=Bl||gh(r,l,T,o,ie,O,W))?(oe||typeof S.UNSAFE_componentWillMount!="function"&&typeof S.componentWillMount!="function"||(typeof S.componentWillMount=="function"&&S.componentWillMount(),typeof S.UNSAFE_componentWillMount=="function"&&S.UNSAFE_componentWillMount()),typeof S.componentDidMount=="function"&&(r.flags|=4194308)):(typeof S.componentDidMount=="function"&&(r.flags|=4194308),r.memoizedProps=o,r.memoizedState=O),S.props=o,S.state=O,S.context=W,o=T):(typeof S.componentDidMount=="function"&&(r.flags|=4194308),o=!1)}else{S=r.stateNode,Qn(n,r),T=r.memoizedProps,W=r.type===r.elementType?T:Da(r.type,T),S.props=W,oe=r.pendingProps,ie=S.context,O=l.contextType,typeof O=="object"&&O!==null?O=zn(O):(O=En(l)?ua:at.current,O=$a(r,O));var we=l.getDerivedStateFromProps;(le=typeof we=="function"||typeof S.getSnapshotBeforeUpdate=="function")||typeof S.UNSAFE_componentWillReceiveProps!="function"&&typeof S.componentWillReceiveProps!="function"||(T!==oe||ie!==O)&&Sh(r,S,o,O),Bl=!1,ie=r.memoizedState,S.state=ie,Il(r,o,S,f);var Ne=r.memoizedState;T!==oe||ie!==Ne||On.current||Bl?(typeof we=="function"&&(ep(r,l,we,o),Ne=r.memoizedState),(W=Bl||gh(r,l,W,o,ie,Ne,O)||!1)?(le||typeof S.UNSAFE_componentWillUpdate!="function"&&typeof S.componentWillUpdate!="function"||(typeof S.componentWillUpdate=="function"&&S.componentWillUpdate(o,Ne,O),typeof S.UNSAFE_componentWillUpdate=="function"&&S.UNSAFE_componentWillUpdate(o,Ne,O)),typeof S.componentDidUpdate=="function"&&(r.flags|=4),typeof S.getSnapshotBeforeUpdate=="function"&&(r.flags|=1024)):(typeof S.componentDidUpdate!="function"||T===n.memoizedProps&&ie===n.memoizedState||(r.flags|=4),typeof S.getSnapshotBeforeUpdate!="function"||T===n.memoizedProps&&ie===n.memoizedState||(r.flags|=1024),r.memoizedProps=o,r.memoizedState=Ne),S.props=o,S.state=Ne,S.context=O,o=W):(typeof S.componentDidUpdate!="function"||T===n.memoizedProps&&ie===n.memoizedState||(r.flags|=4),typeof S.getSnapshotBeforeUpdate!="function"||T===n.memoizedProps&&ie===n.memoizedState||(r.flags|=1024),o=!1)}return Rh(n,r,l,o,p,f)}function Rh(n,r,l,o,f,p){yt(n,r);var S=(r.flags&128)!==0;if(!o&&!S)return f&&fh(r,l,!1),hr(n,r,p);o=r.stateNode,hy.current=r;var T=S&&typeof l.getDerivedStateFromError!="function"?null:o.render();return r.flags|=1,n!==null&&S?(r.child=To(r,n.child,null,p),r.child=To(r,null,T,p)):Gn(n,r,T,p),r.memoizedState=o.state,f&&fh(r,l,!0),r.child}function kh(n){var r=n.stateNode;r.pendingContext?zl(n,r.pendingContext,r.pendingContext!==r.context):r.context&&zl(n,r.context,!1),tp(n,r.containerInfo)}function Sf(n,r,l,o,f){return Rn(),Gd(f),r.flags|=256,Gn(n,r,l,o),r.child}var Mu={dehydrated:null,treeContext:null,retryLane:0};function op(n){return{baseLanes:n,cachePool:null,transitions:null}}function sp(n,r,l){var o=r.pendingProps,f=Je.current,p=!1,S=(r.flags&128)!==0,T;if((T=S)||(T=n!==null&&n.memoizedState===null?!1:(f&2)!==0),T?(p=!0,r.flags&=-129):(n===null||n.memoizedState!==null)&&(f|=1),Zt(Je,f&1),n===null)return $c(r),n=r.memoizedState,n!==null&&(n=n.dehydrated,n!==null)?(r.mode&1?n.data==="$!"?r.lanes=8:r.lanes=1073741824:r.lanes=1,null):(S=o.children,n=o.fallback,p?(o=r.mode,p=r.child,S={mode:"hidden",children:S},!(o&1)&&p!==null?(p.childLanes=0,p.pendingProps=S):p=Js(S,o,0,null),n=Hu(n,o,l,null),p.return=r,n.return=r,p.sibling=n,r.child=p,r.child.memoizedState=op(l),r.memoizedState=Mu,n):cp(r,S));if(f=n.memoizedState,f!==null&&(T=f.dehydrated,T!==null))return my(n,r,S,o,T,f,l);if(p){p=o.fallback,S=r.mode,f=n.child,T=f.sibling;var O={mode:"hidden",children:o.children};return!(S&1)&&r.child!==f?(o=r.child,o.childLanes=0,o.pendingProps=O,r.deletions=null):(o=Kl(f,O),o.subtreeFlags=f.subtreeFlags&14680064),T!==null?p=Kl(T,p):(p=Hu(p,S,l,null),p.flags|=2),p.return=r,o.return=r,o.sibling=p,r.child=o,o=p,p=r.child,S=n.child.memoizedState,S=S===null?op(l):{baseLanes:S.baseLanes|l,cachePool:null,transitions:S.transitions},p.memoizedState=S,p.childLanes=n.childLanes&~l,r.memoizedState=Mu,o}return p=n.child,n=p.sibling,o=Kl(p,{mode:"visible",children:o.children}),!(r.mode&1)&&(o.lanes=l),o.return=r,o.sibling=null,n!==null&&(l=r.deletions,l===null?(r.deletions=[n],r.flags|=16):l.push(n)),r.child=o,r.memoizedState=null,o}function cp(n,r){return r=Js({mode:"visible",children:r},n.mode,0,null),r.return=n,n.child=r}function No(n,r,l,o){return o!==null&&Gd(o),To(r,n.child,null,l),n=cp(r,r.pendingProps.children),n.flags|=2,r.memoizedState=null,n}function my(n,r,l,o,f,p,S){if(l)return r.flags&256?(r.flags&=-257,o=Is(Error(v(422))),No(n,r,S,o)):r.memoizedState!==null?(r.child=n.child,r.flags|=128,null):(p=o.fallback,f=r.mode,o=Js({mode:"visible",children:o.children},f,0,null),p=Hu(p,f,S,null),p.flags|=2,o.return=r,p.return=r,o.sibling=p,r.child=o,r.mode&1&&To(r,n.child,null,S),r.child.memoizedState=op(S),r.memoizedState=Mu,p);if(!(r.mode&1))return No(n,r,S,null);if(f.data==="$!"){if(o=f.nextSibling&&f.nextSibling.dataset,o)var T=o.dgst;return o=T,p=Error(v(419)),o=Is(p,o,void 0),No(n,r,S,o)}if(T=(S&n.childLanes)!==0,Hn||T){if(o=_n,o!==null){switch(S&-S){case 4:f=2;break;case 16:f=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:f=32;break;case 536870912:f=268435456;break;default:f=0}f=f&(o.suspendedLanes|S)?0:f,f!==0&&f!==p.retryLane&&(p.retryLane=f,Zi(n,f),Mr(o,n,f,-1))}return wp(),o=Is(Error(v(421))),No(n,r,S,o)}return f.data==="$?"?(r.flags|=128,r.child=n.child,r=wy.bind(null,n),f._reactRetry=r,null):(n=p.treeContext,fa=di(f.nextSibling),_a=r,mn=!0,Qa=null,n!==null&&(ca[_r++]=pr,ca[_r++]=Xi,ca[_r++]=Wa,pr=n.id,Xi=n.overflow,Wa=r),r=cp(r,o.children),r.flags|=4096,r)}function fp(n,r,l){n.lanes|=r;var o=n.alternate;o!==null&&(o.lanes|=r),lr(n.return,r,l)}function Ef(n,r,l,o,f){var p=n.memoizedState;p===null?n.memoizedState={isBackwards:r,rendering:null,renderingStartTime:0,last:o,tail:l,tailMode:f}:(p.isBackwards=r,p.rendering=null,p.renderingStartTime=0,p.last=o,p.tail=l,p.tailMode=f)}function dp(n,r,l){var o=r.pendingProps,f=o.revealOrder,p=o.tail;if(Gn(n,r,o.children,l),o=Je.current,o&2)o=o&1|2,r.flags|=128;else{if(n!==null&&n.flags&128)e:for(n=r.child;n!==null;){if(n.tag===13)n.memoizedState!==null&&fp(n,l,r);else if(n.tag===19)fp(n,l,r);else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===r)break e;for(;n.sibling===null;){if(n.return===null||n.return===r)break e;n=n.return}n.sibling.return=n.return,n=n.sibling}o&=1}if(Zt(Je,o),!(r.mode&1))r.memoizedState=null;else switch(f){case"forwards":for(l=r.child,f=null;l!==null;)n=l.alternate,n!==null&&kn(n)===null&&(f=l),l=l.sibling;l=f,l===null?(f=r.child,r.child=null):(f=l.sibling,l.sibling=null),Ef(r,!1,f,l,p);break;case"backwards":for(l=null,f=r.child,r.child=null;f!==null;){if(n=f.alternate,n!==null&&kn(n)===null){r.child=f;break}n=f.sibling,f.sibling=l,l=f,f=n}Ef(r,!0,l,null,p);break;case"together":Ef(r,!1,null,null,void 0);break;default:r.memoizedState=null}return r.child}function Dr(n,r){!(r.mode&1)&&n!==null&&(n.alternate=null,r.alternate=null,r.flags|=2)}function hr(n,r,l){if(n!==null&&(r.dependencies=n.dependencies),rl|=r.lanes,!(l&r.childLanes))return null;if(n!==null&&r.child!==n.child)throw Error(v(153));if(r.child!==null){for(n=r.child,l=Kl(n,n.pendingProps),r.child=l,l.return=r;n.sibling!==null;)n=n.sibling,l=l.sibling=Kl(n,n.pendingProps),l.return=r;l.sibling=null}return r.child}function tl(n,r,l){switch(r.tag){case 3:kh(r),Rn();break;case 5:Ke(r);break;case 1:En(r.type)&&Hc(r);break;case 4:tp(r,r.stateNode.containerInfo);break;case 10:var o=r.type._context,f=r.memoizedProps.value;Zt(_i,o._currentValue),o._currentValue=f;break;case 13:if(o=r.memoizedState,o!==null)return o.dehydrated!==null?(Zt(Je,Je.current&1),r.flags|=128,null):l&r.child.childLanes?sp(n,r,l):(Zt(Je,Je.current&1),n=hr(n,r,l),n!==null?n.sibling:null);Zt(Je,Je.current&1);break;case 19:if(o=(l&r.childLanes)!==0,n.flags&128){if(o)return dp(n,r,l);r.flags|=128}if(f=r.memoizedState,f!==null&&(f.rendering=null,f.tail=null,f.lastEffect=null),Zt(Je,Je.current),o)break;return null;case 22:case 23:return r.lanes=0,Nu(n,r,l)}return hr(n,r,l)}var $s,Au,Ka,qn;$s=function(n,r){for(var l=r.child;l!==null;){if(l.tag===5||l.tag===6)n.appendChild(l.stateNode);else if(l.tag!==4&&l.child!==null){l.child.return=l,l=l.child;continue}if(l===r)break;for(;l.sibling===null;){if(l.return===null||l.return===r)return;l=l.return}l.sibling.return=l.return,l=l.sibling}},Au=function(){},Ka=function(n,r,l,o){var f=n.memoizedProps;if(f!==o){n=r.stateNode,bu(pi.current);var p=null;switch(l){case"input":f=tr(n,f),o=tr(n,o),p=[];break;case"select":f=D({},f,{value:void 0}),o=D({},o,{value:void 0}),p=[];break;case"textarea":f=ta(n,f),o=ta(n,o),p=[];break;default:typeof f.onClick!="function"&&typeof o.onClick=="function"&&(n.onclick=Bc)}Un(l,o);var S;l=null;for(W in f)if(!o.hasOwnProperty(W)&&f.hasOwnProperty(W)&&f[W]!=null)if(W==="style"){var T=f[W];for(S in T)T.hasOwnProperty(S)&&(l||(l={}),l[S]="")}else W!=="dangerouslySetInnerHTML"&&W!=="children"&&W!=="suppressContentEditableWarning"&&W!=="suppressHydrationWarning"&&W!=="autoFocus"&&(b.hasOwnProperty(W)?p||(p=[]):(p=p||[]).push(W,null));for(W in o){var O=o[W];if(T=f!=null?f[W]:void 0,o.hasOwnProperty(W)&&O!==T&&(O!=null||T!=null))if(W==="style")if(T){for(S in T)!T.hasOwnProperty(S)||O&&O.hasOwnProperty(S)||(l||(l={}),l[S]="");for(S in O)O.hasOwnProperty(S)&&T[S]!==O[S]&&(l||(l={}),l[S]=O[S])}else l||(p||(p=[]),p.push(W,l)),l=O;else W==="dangerouslySetInnerHTML"?(O=O?O.__html:void 0,T=T?T.__html:void 0,O!=null&&T!==O&&(p=p||[]).push(W,O)):W==="children"?typeof O!="string"&&typeof O!="number"||(p=p||[]).push(W,""+O):W!=="suppressContentEditableWarning"&&W!=="suppressHydrationWarning"&&(b.hasOwnProperty(W)?(O!=null&&W==="onScroll"&&on("scroll",n),p||T===O||(p=[])):(p=p||[]).push(W,O))}l&&(p=p||[]).push("style",l);var W=p;(r.updateQueue=W)&&(r.flags|=4)}},qn=function(n,r,l,o){l!==o&&(r.flags|=4)};function Ys(n,r){if(!mn)switch(n.tailMode){case"hidden":r=n.tail;for(var l=null;r!==null;)r.alternate!==null&&(l=r),r=r.sibling;l===null?n.tail=null:l.sibling=null;break;case"collapsed":l=n.tail;for(var o=null;l!==null;)l.alternate!==null&&(o=l),l=l.sibling;o===null?r||n.tail===null?n.tail=null:n.tail.sibling=null:o.sibling=null}}function Lr(n){var r=n.alternate!==null&&n.alternate.child===n.child,l=0,o=0;if(r)for(var f=n.child;f!==null;)l|=f.lanes|f.childLanes,o|=f.subtreeFlags&14680064,o|=f.flags&14680064,f.return=n,f=f.sibling;else for(f=n.child;f!==null;)l|=f.lanes|f.childLanes,o|=f.subtreeFlags,o|=f.flags,f.return=n,f=f.sibling;return n.subtreeFlags|=o,n.childLanes=l,r}function gy(n,r,l){var o=r.pendingProps;switch(Wd(r),r.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Lr(r),null;case 1:return En(r.type)&&Ya(),Lr(r),null;case 3:return o=r.stateNode,Vl(),Wt(On),Wt(at),Zc(),o.pendingContext&&(o.context=o.pendingContext,o.pendingContext=null),(n===null||n.child===null)&&(Yc(r)?r.flags|=4:n===null||n.memoizedState.isDehydrated&&!(r.flags&256)||(r.flags|=1024,Qa!==null&&(Zs(Qa),Qa=null))),Au(n,r),Lr(r),null;case 5:Tt(r);var f=bu(Ro.current);if(l=r.type,n!==null&&r.stateNode!=null)Ka(n,r,l,o,f),n.ref!==r.ref&&(r.flags|=512,r.flags|=2097152);else{if(!o){if(r.stateNode===null)throw Error(v(166));return Lr(r),null}if(n=bu(pi.current),Yc(r)){o=r.stateNode,l=r.type;var p=r.memoizedProps;switch(o[Ri]=r,o[Cu]=p,n=(r.mode&1)!==0,l){case"dialog":on("cancel",o),on("close",o);break;case"iframe":case"object":case"embed":on("load",o);break;case"video":case"audio":for(f=0;f<_s.length;f++)on(_s[f],o);break;case"source":on("error",o);break;case"img":case"image":case"link":on("error",o),on("load",o);break;case"details":on("toggle",o);break;case"input":Yn(o,p),on("invalid",o);break;case"select":o._wrapperState={wasMultiple:!!p.multiple},on("invalid",o);break;case"textarea":Rr(o,p),on("invalid",o)}Un(l,p),f=null;for(var S in p)if(p.hasOwnProperty(S)){var T=p[S];S==="children"?typeof T=="string"?o.textContent!==T&&(p.suppressHydrationWarning!==!0&&Fc(o.textContent,T,n),f=["children",T]):typeof T=="number"&&o.textContent!==""+T&&(p.suppressHydrationWarning!==!0&&Fc(o.textContent,T,n),f=["children",""+T]):b.hasOwnProperty(S)&&T!=null&&S==="onScroll"&&on("scroll",o)}switch(l){case"input":br(o),Jr(o,p,!0);break;case"textarea":br(o),fr(o);break;case"select":case"option":break;default:typeof p.onClick=="function"&&(o.onclick=Bc)}o=f,r.updateQueue=o,o!==null&&(r.flags|=4)}else{S=f.nodeType===9?f:f.ownerDocument,n==="http://www.w3.org/1999/xhtml"&&(n=na(l)),n==="http://www.w3.org/1999/xhtml"?l==="script"?(n=S.createElement("div"),n.innerHTML="<script><\/script>",n=n.removeChild(n.firstChild)):typeof o.is=="string"?n=S.createElement(l,{is:o.is}):(n=S.createElement(l),l==="select"&&(S=n,o.multiple?S.multiple=!0:o.size&&(S.size=o.size))):n=S.createElementNS(n,l),n[Ri]=r,n[Cu]=o,$s(n,r,!1,!1),r.stateNode=n;e:{switch(S=bn(l,o),l){case"dialog":on("cancel",n),on("close",n),f=o;break;case"iframe":case"object":case"embed":on("load",n),f=o;break;case"video":case"audio":for(f=0;f<_s.length;f++)on(_s[f],n);f=o;break;case"source":on("error",n),f=o;break;case"img":case"image":case"link":on("error",n),on("load",n),f=o;break;case"details":on("toggle",n),f=o;break;case"input":Yn(n,o),f=tr(n,o),on("invalid",n);break;case"option":f=o;break;case"select":n._wrapperState={wasMultiple:!!o.multiple},f=D({},o,{value:void 0}),on("invalid",n);break;case"textarea":Rr(n,o),f=ta(n,o),on("invalid",n);break;default:f=o}Un(l,f),T=f;for(p in T)if(T.hasOwnProperty(p)){var O=T[p];p==="style"?Yt(n,O):p==="dangerouslySetInnerHTML"?(O=O?O.__html:void 0,O!=null&&yi(n,O)):p==="children"?typeof O=="string"?(l!=="textarea"||O!=="")&&wa(n,O):typeof O=="number"&&wa(n,""+O):p!=="suppressContentEditableWarning"&&p!=="suppressHydrationWarning"&&p!=="autoFocus"&&(b.hasOwnProperty(p)?O!=null&&p==="onScroll"&&on("scroll",n):O!=null&&Ve(n,p,O,S))}switch(l){case"input":br(n),Jr(n,o,!1);break;case"textarea":br(n),fr(n);break;case"option":o.value!=null&&n.setAttribute("value",""+Et(o.value));break;case"select":n.multiple=!!o.multiple,p=o.value,p!=null?Tr(n,!!o.multiple,p,!1):o.defaultValue!=null&&Tr(n,!!o.multiple,o.defaultValue,!0);break;default:typeof f.onClick=="function"&&(n.onclick=Bc)}switch(l){case"button":case"input":case"select":case"textarea":o=!!o.autoFocus;break e;case"img":o=!0;break e;default:o=!1}}o&&(r.flags|=4)}r.ref!==null&&(r.flags|=512,r.flags|=2097152)}return Lr(r),null;case 6:if(n&&r.stateNode!=null)qn(n,r,n.memoizedProps,o);else{if(typeof o!="string"&&r.stateNode===null)throw Error(v(166));if(l=bu(Ro.current),bu(pi.current),Yc(r)){if(o=r.stateNode,l=r.memoizedProps,o[Ri]=r,(p=o.nodeValue!==l)&&(n=_a,n!==null))switch(n.tag){case 3:Fc(o.nodeValue,l,(n.mode&1)!==0);break;case 5:n.memoizedProps.suppressHydrationWarning!==!0&&Fc(o.nodeValue,l,(n.mode&1)!==0)}p&&(r.flags|=4)}else o=(l.nodeType===9?l:l.ownerDocument).createTextNode(o),o[Ri]=r,r.stateNode=o}return Lr(r),null;case 13:if(Wt(Je),o=r.memoizedState,n===null||n.memoizedState!==null&&n.memoizedState.dehydrated!==null){if(mn&&fa!==null&&r.mode&1&&!(r.flags&128))vh(),Rn(),r.flags|=98560,p=!1;else if(p=Yc(r),o!==null&&o.dehydrated!==null){if(n===null){if(!p)throw Error(v(318));if(p=r.memoizedState,p=p!==null?p.dehydrated:null,!p)throw Error(v(317));p[Ri]=r}else Rn(),!(r.flags&128)&&(r.memoizedState=null),r.flags|=4;Lr(r),p=!1}else Qa!==null&&(Zs(Qa),Qa=null),p=!0;if(!p)return r.flags&65536?r:null}return r.flags&128?(r.lanes=l,r):(o=o!==null,o!==(n!==null&&n.memoizedState!==null)&&o&&(r.child.flags|=8192,r.mode&1&&(n===null||Je.current&1?Xn===0&&(Xn=3):wp())),r.updateQueue!==null&&(r.flags|=4),Lr(r),null);case 4:return Vl(),Au(n,r),n===null&&Co(r.stateNode.containerInfo),Lr(r),null;case 10:return Fl(r.type._context),Lr(r),null;case 17:return En(r.type)&&Ya(),Lr(r),null;case 19:if(Wt(Je),p=r.memoizedState,p===null)return Lr(r),null;if(o=(r.flags&128)!==0,S=p.rendering,S===null)if(o)Ys(p,!1);else{if(Xn!==0||n!==null&&n.flags&128)for(n=r.child;n!==null;){if(S=kn(n),S!==null){for(r.flags|=128,Ys(p,!1),o=S.updateQueue,o!==null&&(r.updateQueue=o,r.flags|=4),r.subtreeFlags=0,o=l,l=r.child;l!==null;)p=l,n=o,p.flags&=14680066,S=p.alternate,S===null?(p.childLanes=0,p.lanes=n,p.child=null,p.subtreeFlags=0,p.memoizedProps=null,p.memoizedState=null,p.updateQueue=null,p.dependencies=null,p.stateNode=null):(p.childLanes=S.childLanes,p.lanes=S.lanes,p.child=S.child,p.subtreeFlags=0,p.deletions=null,p.memoizedProps=S.memoizedProps,p.memoizedState=S.memoizedState,p.updateQueue=S.updateQueue,p.type=S.type,n=S.dependencies,p.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext}),l=l.sibling;return Zt(Je,Je.current&1|2),r.child}n=n.sibling}p.tail!==null&&Pt()>Fo&&(r.flags|=128,o=!0,Ys(p,!1),r.lanes=4194304)}else{if(!o)if(n=kn(S),n!==null){if(r.flags|=128,o=!0,l=n.updateQueue,l!==null&&(r.updateQueue=l,r.flags|=4),Ys(p,!0),p.tail===null&&p.tailMode==="hidden"&&!S.alternate&&!mn)return Lr(r),null}else 2*Pt()-p.renderingStartTime>Fo&&l!==1073741824&&(r.flags|=128,o=!0,Ys(p,!1),r.lanes=4194304);p.isBackwards?(S.sibling=r.child,r.child=S):(l=p.last,l!==null?l.sibling=S:r.child=S,p.last=S)}return p.tail!==null?(r=p.tail,p.rendering=r,p.tail=r.sibling,p.renderingStartTime=Pt(),r.sibling=null,l=Je.current,Zt(Je,o?l&1|2:l&1),r):(Lr(r),null);case 22:case 23:return Cp(),o=r.memoizedState!==null,n!==null&&n.memoizedState!==null!==o&&(r.flags|=8192),o&&r.mode&1?Oa&1073741824&&(Lr(r),r.subtreeFlags&6&&(r.flags|=8192)):Lr(r),null;case 24:return null;case 25:return null}throw Error(v(156,r.tag))}function pp(n,r){switch(Wd(r),r.tag){case 1:return En(r.type)&&Ya(),n=r.flags,n&65536?(r.flags=n&-65537|128,r):null;case 3:return Vl(),Wt(On),Wt(at),Zc(),n=r.flags,n&65536&&!(n&128)?(r.flags=n&-65537|128,r):null;case 5:return Tt(r),null;case 13:if(Wt(Je),n=r.memoizedState,n!==null&&n.dehydrated!==null){if(r.alternate===null)throw Error(v(340));Rn()}return n=r.flags,n&65536?(r.flags=n&-65537|128,r):null;case 19:return Wt(Je),null;case 4:return Vl(),null;case 10:return Fl(r.type._context),null;case 22:case 23:return Cp(),null;case 24:return null;default:return null}}var Ws=!1,Kn=!1,_h=typeof WeakSet=="function"?WeakSet:Set,Le=null;function Mo(n,r){var l=n.ref;if(l!==null)if(typeof l=="function")try{l(null)}catch(o){Mn(n,r,o)}else l.current=null}function Qs(n,r,l){try{l()}catch(o){Mn(n,r,o)}}var Dh=!1;function Lh(n,r){if(Pd=Ha,n=Ac(),Qi(n)){if("selectionStart"in n)var l={start:n.selectionStart,end:n.selectionEnd};else e:{l=(l=n.ownerDocument)&&l.defaultView||window;var o=l.getSelection&&l.getSelection();if(o&&o.rangeCount!==0){l=o.anchorNode;var f=o.anchorOffset,p=o.focusNode;o=o.focusOffset;try{l.nodeType,p.nodeType}catch{l=null;break e}var S=0,T=-1,O=-1,W=0,le=0,oe=n,ie=null;t:for(;;){for(var we;oe!==l||f!==0&&oe.nodeType!==3||(T=S+f),oe!==p||o!==0&&oe.nodeType!==3||(O=S+o),oe.nodeType===3&&(S+=oe.nodeValue.length),(we=oe.firstChild)!==null;)ie=oe,oe=we;for(;;){if(oe===n)break t;if(ie===l&&++W===f&&(T=S),ie===p&&++le===o&&(O=S),(we=oe.nextSibling)!==null)break;oe=ie,ie=oe.parentNode}oe=we}l=T===-1||O===-1?null:{start:T,end:O}}else l=null}l=l||{start:0,end:0}}else l=null;for(Su={focusedElem:n,selectionRange:l},Ha=!1,Le=r;Le!==null;)if(r=Le,n=r.child,(r.subtreeFlags&1028)!==0&&n!==null)n.return=r,Le=n;else for(;Le!==null;){r=Le;try{var Ne=r.alternate;if(r.flags&1024)switch(r.tag){case 0:case 11:case 15:break;case 1:if(Ne!==null){var ze=Ne.memoizedProps,jn=Ne.memoizedState,P=r.stateNode,U=P.getSnapshotBeforeUpdate(r.elementType===r.type?ze:Da(r.type,ze),jn);P.__reactInternalSnapshotBeforeUpdate=U}break;case 3:var I=r.stateNode.containerInfo;I.nodeType===1?I.textContent="":I.nodeType===9&&I.documentElement&&I.removeChild(I.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(v(163))}}catch(de){Mn(r,r.return,de)}if(n=r.sibling,n!==null){n.return=r.return,Le=n;break}Le=r.return}return Ne=Dh,Dh=!1,Ne}function Gs(n,r,l){var o=r.updateQueue;if(o=o!==null?o.lastEffect:null,o!==null){var f=o=o.next;do{if((f.tag&n)===n){var p=f.destroy;f.destroy=void 0,p!==void 0&&Qs(r,l,p)}f=f.next}while(f!==o)}}function qs(n,r){if(r=r.updateQueue,r=r!==null?r.lastEffect:null,r!==null){var l=r=r.next;do{if((l.tag&n)===n){var o=l.create;l.destroy=o()}l=l.next}while(l!==r)}}function vp(n){var r=n.ref;if(r!==null){var l=n.stateNode;switch(n.tag){case 5:n=l;break;default:n=l}typeof r=="function"?r(n):r.current=n}}function hp(n){var r=n.alternate;r!==null&&(n.alternate=null,hp(r)),n.child=null,n.deletions=null,n.sibling=null,n.tag===5&&(r=n.stateNode,r!==null&&(delete r[Ri],delete r[Cu],delete r[Hd],delete r[cy],delete r[Id])),n.stateNode=null,n.return=null,n.dependencies=null,n.memoizedProps=null,n.memoizedState=null,n.pendingProps=null,n.stateNode=null,n.updateQueue=null}function Oh(n){return n.tag===5||n.tag===3||n.tag===4}function Cf(n){e:for(;;){for(;n.sibling===null;){if(n.return===null||Oh(n.return))return null;n=n.return}for(n.sibling.return=n.return,n=n.sibling;n.tag!==5&&n.tag!==6&&n.tag!==18;){if(n.flags&2||n.child===null||n.tag===4)continue e;n.child.return=n,n=n.child}if(!(n.flags&2))return n.stateNode}}function Ao(n,r,l){var o=n.tag;if(o===5||o===6)n=n.stateNode,r?l.nodeType===8?l.parentNode.insertBefore(n,r):l.insertBefore(n,r):(l.nodeType===8?(r=l.parentNode,r.insertBefore(n,l)):(r=l,r.appendChild(n)),l=l._reactRootContainer,l!=null||r.onclick!==null||(r.onclick=Bc));else if(o!==4&&(n=n.child,n!==null))for(Ao(n,r,l),n=n.sibling;n!==null;)Ao(n,r,l),n=n.sibling}function Li(n,r,l){var o=n.tag;if(o===5||o===6)n=n.stateNode,r?l.insertBefore(n,r):l.appendChild(n);else if(o!==4&&(n=n.child,n!==null))for(Li(n,r,l),n=n.sibling;n!==null;)Li(n,r,l),n=n.sibling}var Cn=null,ur=!1;function Xa(n,r,l){for(l=l.child;l!==null;)Uo(n,r,l),l=l.sibling}function Uo(n,r,l){if(ra&&typeof ra.onCommitFiberUnmount=="function")try{ra.onCommitFiberUnmount(Cl,l)}catch{}switch(l.tag){case 5:Kn||Mo(l,r);case 6:var o=Cn,f=ur;Cn=null,Xa(n,r,l),Cn=o,ur=f,Cn!==null&&(ur?(n=Cn,l=l.stateNode,n.nodeType===8?n.parentNode.removeChild(l):n.removeChild(l)):Cn.removeChild(l.stateNode));break;case 18:Cn!==null&&(ur?(n=Cn,l=l.stateNode,n.nodeType===8?Ml(n.parentNode,l):n.nodeType===1&&Ml(n,l),_l(n)):Ml(Cn,l.stateNode));break;case 4:o=Cn,f=ur,Cn=l.stateNode.containerInfo,ur=!0,Xa(n,r,l),Cn=o,ur=f;break;case 0:case 11:case 14:case 15:if(!Kn&&(o=l.updateQueue,o!==null&&(o=o.lastEffect,o!==null))){f=o=o.next;do{var p=f,S=p.destroy;p=p.tag,S!==void 0&&(p&2||p&4)&&Qs(l,r,S),f=f.next}while(f!==o)}Xa(n,r,l);break;case 1:if(!Kn&&(Mo(l,r),o=l.stateNode,typeof o.componentWillUnmount=="function"))try{o.props=l.memoizedProps,o.state=l.memoizedState,o.componentWillUnmount()}catch(T){Mn(l,r,T)}Xa(n,r,l);break;case 21:Xa(n,r,l);break;case 22:l.mode&1?(Kn=(o=Kn)||l.memoizedState!==null,Xa(n,r,l),Kn=o):Xa(n,r,l);break;default:Xa(n,r,l)}}function nl(n){var r=n.updateQueue;if(r!==null){n.updateQueue=null;var l=n.stateNode;l===null&&(l=n.stateNode=new _h),r.forEach(function(o){var f=xy.bind(null,n,o);l.has(o)||(l.add(o),o.then(f,f))})}}function vi(n,r){var l=r.deletions;if(l!==null)for(var o=0;o<l.length;o++){var f=l[o];try{var p=n,S=r,T=S;e:for(;T!==null;){switch(T.tag){case 5:Cn=T.stateNode,ur=!1;break e;case 3:Cn=T.stateNode.containerInfo,ur=!0;break e;case 4:Cn=T.stateNode.containerInfo,ur=!0;break e}T=T.return}if(Cn===null)throw Error(v(160));Uo(p,S,f),Cn=null,ur=!1;var O=f.alternate;O!==null&&(O.return=null),f.return=null}catch(W){Mn(f,r,W)}}if(r.subtreeFlags&12854)for(r=r.child;r!==null;)Nh(r,n),r=r.sibling}function Nh(n,r){var l=n.alternate,o=n.flags;switch(n.tag){case 0:case 11:case 14:case 15:if(vi(r,n),Oi(n),o&4){try{Gs(3,n,n.return),qs(3,n)}catch(ze){Mn(n,n.return,ze)}try{Gs(5,n,n.return)}catch(ze){Mn(n,n.return,ze)}}break;case 1:vi(r,n),Oi(n),o&512&&l!==null&&Mo(l,l.return);break;case 5:if(vi(r,n),Oi(n),o&512&&l!==null&&Mo(l,l.return),n.flags&32){var f=n.stateNode;try{wa(f,"")}catch(ze){Mn(n,n.return,ze)}}if(o&4&&(f=n.stateNode,f!=null)){var p=n.memoizedProps,S=l!==null?l.memoizedProps:p,T=n.type,O=n.updateQueue;if(n.updateQueue=null,O!==null)try{T==="input"&&p.type==="radio"&&p.name!=null&&Wn(f,p),bn(T,S);var W=bn(T,p);for(S=0;S<O.length;S+=2){var le=O[S],oe=O[S+1];le==="style"?Yt(f,oe):le==="dangerouslySetInnerHTML"?yi(f,oe):le==="children"?wa(f,oe):Ve(f,le,oe,W)}switch(T){case"input":An(f,p);break;case"textarea":Ca(f,p);break;case"select":var ie=f._wrapperState.wasMultiple;f._wrapperState.wasMultiple=!!p.multiple;var we=p.value;we!=null?Tr(f,!!p.multiple,we,!1):ie!==!!p.multiple&&(p.defaultValue!=null?Tr(f,!!p.multiple,p.defaultValue,!0):Tr(f,!!p.multiple,p.multiple?[]:"",!1))}f[Cu]=p}catch(ze){Mn(n,n.return,ze)}}break;case 6:if(vi(r,n),Oi(n),o&4){if(n.stateNode===null)throw Error(v(162));f=n.stateNode,p=n.memoizedProps;try{f.nodeValue=p}catch(ze){Mn(n,n.return,ze)}}break;case 3:if(vi(r,n),Oi(n),o&4&&l!==null&&l.memoizedState.isDehydrated)try{_l(r.containerInfo)}catch(ze){Mn(n,n.return,ze)}break;case 4:vi(r,n),Oi(n);break;case 13:vi(r,n),Oi(n),f=n.child,f.flags&8192&&(p=f.memoizedState!==null,f.stateNode.isHidden=p,!p||f.alternate!==null&&f.alternate.memoizedState!==null||(yp=Pt())),o&4&&nl(n);break;case 22:if(le=l!==null&&l.memoizedState!==null,n.mode&1?(Kn=(W=Kn)||le,vi(r,n),Kn=W):vi(r,n),Oi(n),o&8192){if(W=n.memoizedState!==null,(n.stateNode.isHidden=W)&&!le&&n.mode&1)for(Le=n,le=n.child;le!==null;){for(oe=Le=le;Le!==null;){switch(ie=Le,we=ie.child,ie.tag){case 0:case 11:case 14:case 15:Gs(4,ie,ie.return);break;case 1:Mo(ie,ie.return);var Ne=ie.stateNode;if(typeof Ne.componentWillUnmount=="function"){o=ie,l=ie.return;try{r=o,Ne.props=r.memoizedProps,Ne.state=r.memoizedState,Ne.componentWillUnmount()}catch(ze){Mn(o,l,ze)}}break;case 5:Mo(ie,ie.return);break;case 22:if(ie.memoizedState!==null){mp(oe);continue}}we!==null?(we.return=ie,Le=we):mp(oe)}le=le.sibling}e:for(le=null,oe=n;;){if(oe.tag===5){if(le===null){le=oe;try{f=oe.stateNode,W?(p=f.style,typeof p.setProperty=="function"?p.setProperty("display","none","important"):p.display="none"):(T=oe.stateNode,O=oe.memoizedProps.style,S=O!=null&&O.hasOwnProperty("display")?O.display:null,T.style.display=Ct("display",S))}catch(ze){Mn(n,n.return,ze)}}}else if(oe.tag===6){if(le===null)try{oe.stateNode.nodeValue=W?"":oe.memoizedProps}catch(ze){Mn(n,n.return,ze)}}else if((oe.tag!==22&&oe.tag!==23||oe.memoizedState===null||oe===n)&&oe.child!==null){oe.child.return=oe,oe=oe.child;continue}if(oe===n)break e;for(;oe.sibling===null;){if(oe.return===null||oe.return===n)break e;le===oe&&(le=null),oe=oe.return}le===oe&&(le=null),oe.sibling.return=oe.return,oe=oe.sibling}}break;case 19:vi(r,n),Oi(n),o&4&&nl(n);break;case 21:break;default:vi(r,n),Oi(n)}}function Oi(n){var r=n.flags;if(r&2){try{e:{for(var l=n.return;l!==null;){if(Oh(l)){var o=l;break e}l=l.return}throw Error(v(160))}switch(o.tag){case 5:var f=o.stateNode;o.flags&32&&(wa(f,""),o.flags&=-33);var p=Cf(n);Li(n,p,f);break;case 3:case 4:var S=o.stateNode.containerInfo,T=Cf(n);Ao(n,T,S);break;default:throw Error(v(161))}}catch(O){Mn(n,n.return,O)}n.flags&=-3}r&4096&&(n.flags&=-4097)}function Mh(n,r,l){Le=n,zo(n)}function zo(n,r,l){for(var o=(n.mode&1)!==0;Le!==null;){var f=Le,p=f.child;if(f.tag===22&&o){var S=f.memoizedState!==null||Ws;if(!S){var T=f.alternate,O=T!==null&&T.memoizedState!==null||Kn;T=Ws;var W=Kn;if(Ws=S,(Kn=O)&&!W)for(Le=f;Le!==null;)S=Le,O=S.child,S.tag===22&&S.memoizedState!==null?Uh(f):O!==null?(O.return=S,Le=O):Uh(f);for(;p!==null;)Le=p,zo(p),p=p.sibling;Le=f,Ws=T,Kn=W}Ah(n)}else f.subtreeFlags&8772&&p!==null?(p.return=f,Le=p):Ah(n)}}function Ah(n){for(;Le!==null;){var r=Le;if(r.flags&8772){var l=r.alternate;try{if(r.flags&8772)switch(r.tag){case 0:case 11:case 15:Kn||qs(5,r);break;case 1:var o=r.stateNode;if(r.flags&4&&!Kn)if(l===null)o.componentDidMount();else{var f=r.elementType===r.type?l.memoizedProps:Da(r.type,l.memoizedProps);o.componentDidUpdate(f,l.memoizedState,o.__reactInternalSnapshotBeforeUpdate)}var p=r.updateQueue;p!==null&&xu(r,p,o);break;case 3:var S=r.updateQueue;if(S!==null){if(l=null,r.child!==null)switch(r.child.tag){case 5:l=r.child.stateNode;break;case 1:l=r.child.stateNode}xu(r,S,l)}break;case 5:var T=r.stateNode;if(l===null&&r.flags&4){l=T;var O=r.memoizedProps;switch(r.type){case"button":case"input":case"select":case"textarea":O.autoFocus&&l.focus();break;case"img":O.src&&(l.src=O.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(r.memoizedState===null){var W=r.alternate;if(W!==null){var le=W.memoizedState;if(le!==null){var oe=le.dehydrated;oe!==null&&_l(oe)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(v(163))}Kn||r.flags&512&&vp(r)}catch(ie){Mn(r,r.return,ie)}}if(r===n){Le=null;break}if(l=r.sibling,l!==null){l.return=r.return,Le=l;break}Le=r.return}}function mp(n){for(;Le!==null;){var r=Le;if(r===n){Le=null;break}var l=r.sibling;if(l!==null){l.return=r.return,Le=l;break}Le=r.return}}function Uh(n){for(;Le!==null;){var r=Le;try{switch(r.tag){case 0:case 11:case 15:var l=r.return;try{qs(4,r)}catch(O){Mn(r,l,O)}break;case 1:var o=r.stateNode;if(typeof o.componentDidMount=="function"){var f=r.return;try{o.componentDidMount()}catch(O){Mn(r,f,O)}}var p=r.return;try{vp(r)}catch(O){Mn(r,p,O)}break;case 5:var S=r.return;try{vp(r)}catch(O){Mn(r,S,O)}}}catch(O){Mn(r,r.return,O)}if(r===n){Le=null;break}var T=r.sibling;if(T!==null){T.return=r.return,Le=T;break}Le=r.return}}var wf=Math.ceil,Ks=vt.ReactCurrentDispatcher,gp=vt.ReactCurrentOwner,Or=vt.ReactCurrentBatchConfig,_t=0,_n=null,Nn=null,or=0,Oa=0,jo=gt(0),Xn=0,Xs=null,rl=0,xf=0,Po=0,Uu=null,Hr=null,yp=0,Fo=1/0,al=null,bf=!1,zu=null,Ni=null,Ql=!1,Gl=null,Tf=0,Bo=0,Rf=null,ju=-1,Pu=0;function Nr(){return _t&6?Pt():ju!==-1?ju:ju=Pt()}function In(n){return n.mode&1?_t&2&&or!==0?or&-or:Wc.transition!==null?(Pu===0&&(Pu=lo()),Pu):(n=It,n!==0||(n=window.event,n=n===void 0?16:Ss(n.type)),n):1}function Mr(n,r,l,o){if(50<Bo)throw Bo=0,Rf=null,Error(v(185));Ii(n,l,o),(!(_t&2)||n!==_n)&&(n===_n&&(!(_t&2)&&(xf|=l),Xn===4&&Za(n,or)),Ar(n,o),l===1&&_t===0&&!(r.mode&1)&&(Fo=Pt()+500,ir&&oa()))}function Ar(n,r){var l=n.callbackNode;bl(n,r);var o=Fr(n,n===_n?or:0);if(o===0)l!==null&&dr(l),n.callbackNode=null,n.callbackPriority=0;else if(r=o&-o,n.callbackPriority!==r){if(l!=null&&dr(l),r===1)n.tag===0?$d(zh.bind(null,n)):Vd(zh.bind(null,n)),Bd(function(){!(_t&6)&&oa()}),l=null;else{switch(oo(o)){case 1:l=li;break;case 4:l=xt;break;case 16:l=xi;break;case 536870912:l=ao;break;default:l=xi}l=bp(l,Ho.bind(null,n))}n.callbackPriority=r,n.callbackNode=l}}function Ho(n,r){if(ju=-1,Pu=0,_t&6)throw Error(v(327));var l=n.callbackNode;if(Vo()&&n.callbackNode!==l)return null;var o=Fr(n,n===_n?or:0);if(o===0)return null;if(o&30||o&n.expiredLanes||r)r=_f(n,o);else{r=o;var f=_t;_t|=2;var p=kf();(_n!==n||or!==r)&&(al=null,Fo=Pt()+500,Fu(n,r));do try{Sy();break}catch(T){jh(n,T)}while(1);Kd(),Ks.current=p,_t=f,Nn!==null?r=0:(_n=null,or=0,r=Xn)}if(r!==0){if(r===2&&(f=Tl(n),f!==0&&(o=f,r=Sp(n,f))),r===1)throw l=Xs,Fu(n,0),Za(n,o),Ar(n,Pt()),l;if(r===6)Za(n,o);else{if(f=n.current.alternate,!(o&30)&&!Ep(f)&&(r=_f(n,o),r===2&&(p=Tl(n),p!==0&&(o=p,r=Sp(n,p))),r===1))throw l=Xs,Fu(n,0),Za(n,o),Ar(n,Pt()),l;switch(n.finishedWork=f,n.finishedLanes=o,r){case 0:case 1:throw Error(v(345));case 2:Bu(n,Hr,al);break;case 3:if(Za(n,o),(o&130023424)===o&&(r=yp+500-Pt(),10<r)){if(Fr(n,0)!==0)break;if(f=n.suspendedLanes,(f&o)!==o){Nr(),n.pingedLanes|=n.suspendedLanes&f;break}n.timeoutHandle=Eu(Bu.bind(null,n,Hr,al),r);break}Bu(n,Hr,al);break;case 4:if(Za(n,o),(o&4194240)===o)break;for(r=n.eventTimes,f=-1;0<o;){var S=31-Pr(o);p=1<<S,S=r[S],S>f&&(f=S),o&=~p}if(o=f,o=Pt()-o,o=(120>o?120:480>o?480:1080>o?1080:1920>o?1920:3e3>o?3e3:4320>o?4320:1960*wf(o/1960))-o,10<o){n.timeoutHandle=Eu(Bu.bind(null,n,Hr,al),o);break}Bu(n,Hr,al);break;case 5:Bu(n,Hr,al);break;default:throw Error(v(329))}}}return Ar(n,Pt()),n.callbackNode===l?Ho.bind(null,n):null}function Sp(n,r){var l=Uu;return n.current.memoizedState.isDehydrated&&(Fu(n,r).flags|=256),n=_f(n,r),n!==2&&(r=Hr,Hr=l,r!==null&&Zs(r)),n}function Zs(n){Hr===null?Hr=n:Hr.push.apply(Hr,n)}function Ep(n){for(var r=n;;){if(r.flags&16384){var l=r.updateQueue;if(l!==null&&(l=l.stores,l!==null))for(var o=0;o<l.length;o++){var f=l[o],p=f.getSnapshot;f=f.value;try{if(!Ia(p(),f))return!1}catch{return!1}}}if(l=r.child,r.subtreeFlags&16384&&l!==null)l.return=r,r=l;else{if(r===n)break;for(;r.sibling===null;){if(r.return===null||r.return===n)return!0;r=r.return}r.sibling.return=r.return,r=r.sibling}}return!0}function Za(n,r){for(r&=~Po,r&=~xf,n.suspendedLanes|=r,n.pingedLanes&=~r,n=n.expirationTimes;0<r;){var l=31-Pr(r),o=1<<l;n[l]=-1,r&=~o}}function zh(n){if(_t&6)throw Error(v(327));Vo();var r=Fr(n,0);if(!(r&1))return Ar(n,Pt()),null;var l=_f(n,r);if(n.tag!==0&&l===2){var o=Tl(n);o!==0&&(r=o,l=Sp(n,o))}if(l===1)throw l=Xs,Fu(n,0),Za(n,r),Ar(n,Pt()),l;if(l===6)throw Error(v(345));return n.finishedWork=n.current.alternate,n.finishedLanes=r,Bu(n,Hr,al),Ar(n,Pt()),null}function Io(n,r){var l=_t;_t|=1;try{return n(r)}finally{_t=l,_t===0&&(Fo=Pt()+500,ir&&oa())}}function ql(n){Gl!==null&&Gl.tag===0&&!(_t&6)&&Vo();var r=_t;_t|=1;var l=Or.transition,o=It;try{if(Or.transition=null,It=1,n)return n()}finally{It=o,Or.transition=l,_t=r,!(_t&6)&&oa()}}function Cp(){Oa=jo.current,Wt(jo)}function Fu(n,r){n.finishedWork=null,n.finishedLanes=0;var l=n.timeoutHandle;if(l!==-1&&(n.timeoutHandle=-1,ch(l)),Nn!==null)for(l=Nn.return;l!==null;){var o=l;switch(Wd(o),o.tag){case 1:o=o.type.childContextTypes,o!=null&&Ya();break;case 3:Vl(),Wt(On),Wt(at),Zc();break;case 5:Tt(o);break;case 4:Vl();break;case 13:Wt(Je);break;case 19:Wt(Je);break;case 10:Fl(o.type._context);break;case 22:case 23:Cp()}l=l.return}if(_n=n,Nn=n=Kl(n.current,null),or=Oa=r,Xn=0,Xs=null,Po=xf=rl=0,Hr=Uu=null,vr!==null){for(r=0;r<vr.length;r++)if(l=vr[r],o=l.interleaved,o!==null){l.interleaved=null;var f=o.next,p=l.pending;if(p!==null){var S=p.next;p.next=f,o.next=S}l.pending=o}vr=null}return n}function jh(n,r){do{var l=Nn;try{if(Kd(),Jc.current=mf,tt){for(var o=gn.memoizedState;o!==null;){var f=o.queue;f!==null&&(f.pending=null),o=o.next}tt=!1}if(Tu=0,At=Z=gn=null,Di=!1,La=0,gp.current=null,l===null||l.return===null){Xn=1,Xs=r,Nn=null;break}e:{var p=n,S=l.return,T=l,O=r;if(r=or,T.flags|=32768,O!==null&&typeof O=="object"&&typeof O.then=="function"){var W=O,le=T,oe=le.tag;if(!(le.mode&1)&&(oe===0||oe===11||oe===15)){var ie=le.alternate;ie?(le.updateQueue=ie.updateQueue,le.memoizedState=ie.memoizedState,le.lanes=ie.lanes):(le.updateQueue=null,le.memoizedState=null)}var we=ip(S);if(we!==null){we.flags&=-257,lp(we,S,T,p,r),we.mode&1&&Th(p,W,r),r=we,O=W;var Ne=r.updateQueue;if(Ne===null){var ze=new Set;ze.add(O),r.updateQueue=ze}else Ne.add(O);break e}else{if(!(r&1)){Th(p,W,r),wp();break e}O=Error(v(426))}}else if(mn&&T.mode&1){var jn=ip(S);if(jn!==null){!(jn.flags&65536)&&(jn.flags|=256),lp(jn,S,T,p,r),Gd(Lo(O,T));break e}}p=O=Lo(O,T),Xn!==4&&(Xn=2),Uu===null?Uu=[p]:Uu.push(p),p=S;do{switch(p.tag){case 3:p.flags|=65536,r&=-r,p.lanes|=r;var P=bh(p,O,r);Jd(p,P);break e;case 1:T=O;var U=p.type,I=p.stateNode;if(!(p.flags&128)&&(typeof U.getDerivedStateFromError=="function"||I!==null&&typeof I.componentDidCatch=="function"&&(Ni===null||!Ni.has(I)))){p.flags|=65536,r&=-r,p.lanes|=r;var de=Vs(p,T,r);Jd(p,de);break e}}p=p.return}while(p!==null)}xp(l)}catch(Pe){r=Pe,Nn===l&&l!==null&&(Nn=l=l.return);continue}break}while(1)}function kf(){var n=Ks.current;return Ks.current=mf,n===null?mf:n}function wp(){(Xn===0||Xn===3||Xn===2)&&(Xn=4),_n===null||!(rl&268435455)&&!(xf&268435455)||Za(_n,or)}function _f(n,r){var l=_t;_t|=2;var o=kf();(_n!==n||or!==r)&&(al=null,Fu(n,r));do try{yy();break}catch(f){jh(n,f)}while(1);if(Kd(),_t=l,Ks.current=o,Nn!==null)throw Error(v(261));return _n=null,or=0,Xn}function yy(){for(;Nn!==null;)Ph(Nn)}function Sy(){for(;Nn!==null&&!wi();)Ph(Nn)}function Ph(n){var r=Bh(n.alternate,n,Oa);n.memoizedProps=n.pendingProps,r===null?xp(n):Nn=r,gp.current=null}function xp(n){var r=n;do{var l=r.alternate;if(n=r.return,r.flags&32768){if(l=pp(l,r),l!==null){l.flags&=32767,Nn=l;return}if(n!==null)n.flags|=32768,n.subtreeFlags=0,n.deletions=null;else{Xn=6,Nn=null;return}}else if(l=gy(l,r,Oa),l!==null){Nn=l;return}if(r=r.sibling,r!==null){Nn=r;return}Nn=r=n}while(r!==null);Xn===0&&(Xn=5)}function Bu(n,r,l){var o=It,f=Or.transition;try{Or.transition=null,It=1,Ey(n,r,l,o)}finally{Or.transition=f,It=o}return null}function Ey(n,r,l,o){do Vo();while(Gl!==null);if(_t&6)throw Error(v(327));l=n.finishedWork;var f=n.finishedLanes;if(l===null)return null;if(n.finishedWork=null,n.finishedLanes=0,l===n.current)throw Error(v(177));n.callbackNode=null,n.callbackPriority=0;var p=l.lanes|l.childLanes;if(Sd(n,p),n===_n&&(Nn=_n=null,or=0),!(l.subtreeFlags&2064)&&!(l.flags&2064)||Ql||(Ql=!0,bp(xi,function(){return Vo(),null})),p=(l.flags&15990)!==0,l.subtreeFlags&15990||p){p=Or.transition,Or.transition=null;var S=It;It=1;var T=_t;_t|=4,gp.current=null,Lh(n,l),Nh(l,n),Uc(Su),Ha=!!Pd,Su=Pd=null,n.current=l,Mh(l),ro(),_t=T,It=S,Or.transition=p}else n.current=l;if(Ql&&(Ql=!1,Gl=n,Tf=f),p=n.pendingLanes,p===0&&(Ni=null),ms(l.stateNode),Ar(n,Pt()),r!==null)for(o=n.onRecoverableError,l=0;l<r.length;l++)f=r[l],o(f.value,{componentStack:f.stack,digest:f.digest});if(bf)throw bf=!1,n=zu,zu=null,n;return Tf&1&&n.tag!==0&&Vo(),p=n.pendingLanes,p&1?n===Rf?Bo++:(Bo=0,Rf=n):Bo=0,oa(),null}function Vo(){if(Gl!==null){var n=oo(Tf),r=Or.transition,l=It;try{if(Or.transition=null,It=16>n?16:n,Gl===null)var o=!1;else{if(n=Gl,Gl=null,Tf=0,_t&6)throw Error(v(331));var f=_t;for(_t|=4,Le=n.current;Le!==null;){var p=Le,S=p.child;if(Le.flags&16){var T=p.deletions;if(T!==null){for(var O=0;O<T.length;O++){var W=T[O];for(Le=W;Le!==null;){var le=Le;switch(le.tag){case 0:case 11:case 15:Gs(8,le,p)}var oe=le.child;if(oe!==null)oe.return=le,Le=oe;else for(;Le!==null;){le=Le;var ie=le.sibling,we=le.return;if(hp(le),le===W){Le=null;break}if(ie!==null){ie.return=we,Le=ie;break}Le=we}}}var Ne=p.alternate;if(Ne!==null){var ze=Ne.child;if(ze!==null){Ne.child=null;do{var jn=ze.sibling;ze.sibling=null,ze=jn}while(ze!==null)}}Le=p}}if(p.subtreeFlags&2064&&S!==null)S.return=p,Le=S;else e:for(;Le!==null;){if(p=Le,p.flags&2048)switch(p.tag){case 0:case 11:case 15:Gs(9,p,p.return)}var P=p.sibling;if(P!==null){P.return=p.return,Le=P;break e}Le=p.return}}var U=n.current;for(Le=U;Le!==null;){S=Le;var I=S.child;if(S.subtreeFlags&2064&&I!==null)I.return=S,Le=I;else e:for(S=U;Le!==null;){if(T=Le,T.flags&2048)try{switch(T.tag){case 0:case 11:case 15:qs(9,T)}}catch(Pe){Mn(T,T.return,Pe)}if(T===S){Le=null;break e}var de=T.sibling;if(de!==null){de.return=T.return,Le=de;break e}Le=T.return}}if(_t=f,oa(),ra&&typeof ra.onPostCommitFiberRoot=="function")try{ra.onPostCommitFiberRoot(Cl,n)}catch{}o=!0}return o}finally{It=l,Or.transition=r}}return!1}function Fh(n,r,l){r=Lo(l,r),r=bh(n,r,1),n=Hl(n,r,1),r=Nr(),n!==null&&(Ii(n,1,r),Ar(n,r))}function Mn(n,r,l){if(n.tag===3)Fh(n,n,l);else for(;r!==null;){if(r.tag===3){Fh(r,n,l);break}else if(r.tag===1){var o=r.stateNode;if(typeof r.type.getDerivedStateFromError=="function"||typeof o.componentDidCatch=="function"&&(Ni===null||!Ni.has(o))){n=Lo(l,n),n=Vs(r,n,1),r=Hl(r,n,1),n=Nr(),r!==null&&(Ii(r,1,n),Ar(r,n));break}}r=r.return}}function Cy(n,r,l){var o=n.pingCache;o!==null&&o.delete(r),r=Nr(),n.pingedLanes|=n.suspendedLanes&l,_n===n&&(or&l)===l&&(Xn===4||Xn===3&&(or&130023424)===or&&500>Pt()-yp?Fu(n,0):Po|=l),Ar(n,r)}function Df(n,r){r===0&&(n.mode&1?(r=wl,wl<<=1,!(wl&130023424)&&(wl=4194304)):r=1);var l=Nr();n=Zi(n,r),n!==null&&(Ii(n,r,l),Ar(n,l))}function wy(n){var r=n.memoizedState,l=0;r!==null&&(l=r.retryLane),Df(n,l)}function xy(n,r){var l=0;switch(n.tag){case 13:var o=n.stateNode,f=n.memoizedState;f!==null&&(l=f.retryLane);break;case 19:o=n.stateNode;break;default:throw Error(v(314))}o!==null&&o.delete(r),Df(n,l)}var Bh;Bh=function(n,r,l){if(n!==null)if(n.memoizedProps!==r.pendingProps||On.current)Hn=!0;else{if(!(n.lanes&l)&&!(r.flags&128))return Hn=!1,tl(n,r,l);Hn=!!(n.flags&131072)}else Hn=!1,mn&&r.flags&1048576&&Yd(r,xo,r.index);switch(r.lanes=0,r.tag){case 2:var o=r.type;Dr(n,r),n=r.pendingProps;var f=$a(r,at.current);he(r,l),f=$l(null,r,o,n,f,l);var p=_u();return r.flags|=1,typeof f=="object"&&f!==null&&typeof f.render=="function"&&f.$$typeof===void 0?(r.tag=1,r.memoizedState=null,r.updateQueue=null,En(o)?(p=!0,Hc(r)):p=!1,r.memoizedState=f.state!==null&&f.state!==void 0?f.state:null,Zd(r),f.updater=qc,r.stateNode=f,f._reactInternals=r,Kc(r,o,n,l),r=Rh(null,r,o,!0,p,l)):(r.tag=0,mn&&p&&Ic(r),Gn(null,r,f,l),r=r.child),r;case 16:o=r.elementType;e:{switch(Dr(n,r),n=r.pendingProps,f=o._init,o=f(o._payload),r.type=o,f=r.tag=Ty(o),n=Da(o,n),f){case 0:r=Oo(null,r,o,n,l);break e;case 1:r=up(null,r,o,n,l);break e;case 11:r=Wl(null,r,o,n,l);break e;case 14:r=yf(null,r,o,Da(o.type,n),l);break e}throw Error(v(306,o,""))}return r;case 0:return o=r.type,f=r.pendingProps,f=r.elementType===o?f:Da(o,f),Oo(n,r,o,f,l);case 1:return o=r.type,f=r.pendingProps,f=r.elementType===o?f:Da(o,f),up(n,r,o,f,l);case 3:e:{if(kh(r),n===null)throw Error(v(387));o=r.pendingProps,p=r.memoizedState,f=p.element,Qn(n,r),Il(r,o,null,l);var S=r.memoizedState;if(o=S.element,p.isDehydrated)if(p={element:o,isDehydrated:!1,cache:S.cache,pendingSuspenseBoundaries:S.pendingSuspenseBoundaries,transitions:S.transitions},r.updateQueue.baseState=p,r.memoizedState=p,r.flags&256){f=Lo(Error(v(423)),r),r=Sf(n,r,o,l,f);break e}else if(o!==f){f=Lo(Error(v(424)),r),r=Sf(n,r,o,l,f);break e}else for(fa=di(r.stateNode.containerInfo.firstChild),_a=r,mn=!0,Qa=null,l=wh(r,null,o,l),r.child=l;l;)l.flags=l.flags&-3|4096,l=l.sibling;else{if(Rn(),o===f){r=hr(n,r,l);break e}Gn(n,r,o,l)}r=r.child}return r;case 5:return Ke(r),n===null&&$c(r),o=r.type,f=r.pendingProps,p=n!==null?n.memoizedProps:null,S=f.children,Os(o,f)?S=null:p!==null&&Os(o,p)&&(r.flags|=32),yt(n,r),Gn(n,r,S,l),r.child;case 6:return n===null&&$c(r),null;case 13:return sp(n,r,l);case 4:return tp(r,r.stateNode.containerInfo),o=r.pendingProps,n===null?r.child=To(r,null,o,l):Gn(n,r,o,l),r.child;case 11:return o=r.type,f=r.pendingProps,f=r.elementType===o?f:Da(o,f),Wl(n,r,o,f,l);case 7:return Gn(n,r,r.pendingProps,l),r.child;case 8:return Gn(n,r,r.pendingProps.children,l),r.child;case 12:return Gn(n,r,r.pendingProps.children,l),r.child;case 10:e:{if(o=r.type._context,f=r.pendingProps,p=r.memoizedProps,S=f.value,Zt(_i,o._currentValue),o._currentValue=S,p!==null)if(Ia(p.value,S)){if(p.children===f.children&&!On.current){r=hr(n,r,l);break e}}else for(p=r.child,p!==null&&(p.return=r);p!==null;){var T=p.dependencies;if(T!==null){S=p.child;for(var O=T.firstContext;O!==null;){if(O.context===o){if(p.tag===1){O=Ji(-1,l&-l),O.tag=2;var W=p.updateQueue;if(W!==null){W=W.shared;var le=W.pending;le===null?O.next=O:(O.next=le.next,le.next=O),W.pending=O}}p.lanes|=l,O=p.alternate,O!==null&&(O.lanes|=l),lr(p.return,l,r),T.lanes|=l;break}O=O.next}}else if(p.tag===10)S=p.type===r.type?null:p.child;else if(p.tag===18){if(S=p.return,S===null)throw Error(v(341));S.lanes|=l,T=S.alternate,T!==null&&(T.lanes|=l),lr(S,l,r),S=p.sibling}else S=p.child;if(S!==null)S.return=p;else for(S=p;S!==null;){if(S===r){S=null;break}if(p=S.sibling,p!==null){p.return=S.return,S=p;break}S=S.return}p=S}Gn(n,r,f.children,l),r=r.child}return r;case 9:return f=r.type,o=r.pendingProps.children,he(r,l),f=zn(f),o=o(f),r.flags|=1,Gn(n,r,o,l),r.child;case 14:return o=r.type,f=Da(o,r.pendingProps),f=Da(o.type,f),yf(n,r,o,f,l);case 15:return va(n,r,r.type,r.pendingProps,l);case 17:return o=r.type,f=r.pendingProps,f=r.elementType===o?f:Da(o,f),Dr(n,r),r.tag=1,En(o)?(n=!0,Hc(r)):n=!1,he(r,l),yh(r,o,f),Kc(r,o,f,l),Rh(null,r,o,!0,n,l);case 19:return dp(n,r,l);case 22:return Nu(n,r,l)}throw Error(v(156,r.tag))};function bp(n,r){return dn(n,r)}function by(n,r,l,o){this.tag=n,this.key=l,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=r,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=o,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ja(n,r,l,o){return new by(n,r,l,o)}function Tp(n){return n=n.prototype,!(!n||!n.isReactComponent)}function Ty(n){if(typeof n=="function")return Tp(n)?1:0;if(n!=null){if(n=n.$$typeof,n===vn)return 11;if(n===Ue)return 14}return 2}function Kl(n,r){var l=n.alternate;return l===null?(l=Ja(n.tag,r,n.key,n.mode),l.elementType=n.elementType,l.type=n.type,l.stateNode=n.stateNode,l.alternate=n,n.alternate=l):(l.pendingProps=r,l.type=n.type,l.flags=0,l.subtreeFlags=0,l.deletions=null),l.flags=n.flags&14680064,l.childLanes=n.childLanes,l.lanes=n.lanes,l.child=n.child,l.memoizedProps=n.memoizedProps,l.memoizedState=n.memoizedState,l.updateQueue=n.updateQueue,r=n.dependencies,l.dependencies=r===null?null:{lanes:r.lanes,firstContext:r.firstContext},l.sibling=n.sibling,l.index=n.index,l.ref=n.ref,l}function Lf(n,r,l,o,f,p){var S=2;if(o=n,typeof n=="function")Tp(n)&&(S=1);else if(typeof n=="string")S=5;else e:switch(n){case Oe:return Hu(l.children,f,p,r);case Rt:S=8,f|=8;break;case nn:return n=Ja(12,l,r,f|2),n.elementType=nn,n.lanes=p,n;case Ge:return n=Ja(13,l,r,f),n.elementType=Ge,n.lanes=p,n;case dt:return n=Ja(19,l,r,f),n.elementType=dt,n.lanes=p,n;case ye:return Js(l,f,p,r);default:if(typeof n=="object"&&n!==null)switch(n.$$typeof){case jt:S=10;break e;case wt:S=9;break e;case vn:S=11;break e;case Ue:S=14;break e;case ut:S=16,o=null;break e}throw Error(v(130,n==null?n:typeof n,""))}return r=Ja(S,l,r,f),r.elementType=n,r.type=o,r.lanes=p,r}function Hu(n,r,l,o){return n=Ja(7,n,o,r),n.lanes=l,n}function Js(n,r,l,o){return n=Ja(22,n,o,r),n.elementType=ye,n.lanes=l,n.stateNode={isHidden:!1},n}function ec(n,r,l){return n=Ja(6,n,null,r),n.lanes=l,n}function Iu(n,r,l){return r=Ja(4,n.children!==null?n.children:[],n.key,r),r.lanes=l,r.stateNode={containerInfo:n.containerInfo,pendingChildren:null,implementation:n.implementation},r}function Ry(n,r,l,o,f){this.tag=r,this.containerInfo=n,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=uo(0),this.expirationTimes=uo(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=uo(0),this.identifierPrefix=o,this.onRecoverableError=f,this.mutableSourceEagerHydrationData=null}function Of(n,r,l,o,f,p,S,T,O){return n=new Ry(n,r,l,T,O),r===1?(r=1,p===!0&&(r|=8)):r=0,p=Ja(3,null,null,r),n.current=p,p.stateNode=n,p.memoizedState={element:o,isDehydrated:l,cache:null,transitions:null,pendingSuspenseBoundaries:null},Zd(p),n}function Hh(n,r,l){var o=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:De,key:o==null?null:""+o,children:n,containerInfo:r,implementation:l}}function Rp(n){if(!n)return ki;n=n._reactInternals;e:{if(ht(n)!==n||n.tag!==1)throw Error(v(170));var r=n;do{switch(r.tag){case 3:r=r.stateNode.context;break e;case 1:if(En(r.type)){r=r.stateNode.__reactInternalMemoizedMergedChildContext;break e}}r=r.return}while(r!==null);throw Error(v(171))}if(n.tag===1){var l=n.type;if(En(l))return As(n,l,r)}return r}function Ih(n,r,l,o,f,p,S,T,O){return n=Of(l,o,!0,n,f,p,S,T,O),n.context=Rp(null),l=n.current,o=Nr(),f=In(l),p=Ji(o,f),p.callback=r??null,Hl(l,p,f),n.current.lanes=f,Ii(n,f,o),Ar(n,o),n}function tc(n,r,l,o){var f=r.current,p=Nr(),S=In(f);return l=Rp(l),r.context===null?r.context=l:r.pendingContext=l,r=Ji(p,S),r.payload={element:n},o=o===void 0?null:o,o!==null&&(r.callback=o),n=Hl(f,r,S),n!==null&&(Mr(n,f,S,p),Gc(n,f,S)),S}function Nf(n){if(n=n.current,!n.child)return null;switch(n.child.tag){case 5:return n.child.stateNode;default:return n.child.stateNode}}function Vh(n,r){if(n=n.memoizedState,n!==null&&n.dehydrated!==null){var l=n.retryLane;n.retryLane=l!==0&&l<r?l:r}}function kp(n,r){Vh(n,r),(n=n.alternate)&&Vh(n,r)}function $h(){return null}var _p=typeof reportError=="function"?reportError:function(n){console.error(n)};function Mf(n){this._internalRoot=n}il.prototype.render=Mf.prototype.render=function(n){var r=this._internalRoot;if(r===null)throw Error(v(409));tc(n,r,null,null)},il.prototype.unmount=Mf.prototype.unmount=function(){var n=this._internalRoot;if(n!==null){this._internalRoot=null;var r=n.containerInfo;ql(function(){tc(null,n,null,null)}),r[Ki]=null}};function il(n){this._internalRoot=n}il.prototype.unstable_scheduleHydration=function(n){if(n){var r=co();n={blockedOn:null,target:n,priority:r};for(var l=0;l<Xt.length&&r!==0&&r<Xt[l].priority;l++);Xt.splice(l,0,n),l===0&&_c(n)}};function Dp(n){return!(!n||n.nodeType!==1&&n.nodeType!==9&&n.nodeType!==11)}function Af(n){return!(!n||n.nodeType!==1&&n.nodeType!==9&&n.nodeType!==11&&(n.nodeType!==8||n.nodeValue!==" react-mount-point-unstable "))}function Yh(){}function ky(n,r,l,o,f){if(f){if(typeof o=="function"){var p=o;o=function(){var W=Nf(S);p.call(W)}}var S=Ih(r,o,n,0,null,!1,!1,"",Yh);return n._reactRootContainer=S,n[Ki]=S.current,Co(n.nodeType===8?n.parentNode:n),ql(),S}for(;f=n.lastChild;)n.removeChild(f);if(typeof o=="function"){var T=o;o=function(){var W=Nf(O);T.call(W)}}var O=Of(n,0,!1,null,null,!1,!1,"",Yh);return n._reactRootContainer=O,n[Ki]=O.current,Co(n.nodeType===8?n.parentNode:n),ql(function(){tc(r,O,l,o)}),O}function Uf(n,r,l,o,f){var p=l._reactRootContainer;if(p){var S=p;if(typeof f=="function"){var T=f;f=function(){var O=Nf(S);T.call(O)}}tc(r,S,n,f)}else S=ky(l,r,n,f,o);return Nf(S)}du=function(n){switch(n.tag){case 3:var r=n.stateNode;if(r.current.memoizedState.isDehydrated){var l=ui(r.pendingLanes);l!==0&&(bi(r,l|1),Ar(r,Pt()),!(_t&6)&&(Fo=Pt()+500,oa()))}break;case 13:ql(function(){var o=Zi(n,1);if(o!==null){var f=Nr();Mr(o,n,1,f)}}),kp(n,1)}},so=function(n){if(n.tag===13){var r=Zi(n,134217728);if(r!==null){var l=Nr();Mr(r,n,134217728,l)}kp(n,134217728)}},Ft=function(n){if(n.tag===13){var r=In(n),l=Zi(n,r);if(l!==null){var o=Nr();Mr(l,n,r,o)}kp(n,r)}},co=function(){return It},fo=function(n,r){var l=It;try{return It=n,r()}finally{It=l}},zr=function(n,r,l){switch(r){case"input":if(An(n,l),r=l.name,l.type==="radio"&&r!=null){for(l=n;l.parentNode;)l=l.parentNode;for(l=l.querySelectorAll("input[name="+JSON.stringify(""+r)+'][type="radio"]'),r=0;r<l.length;r++){var o=l[r];if(o!==n&&o.form===n.form){var f=$e(o);if(!f)throw Error(v(90));Zr(o),An(o,f)}}}break;case"textarea":Ca(n,l);break;case"select":r=l.value,r!=null&&Tr(n,!!l.multiple,r,!1)}},fu=Io,no=ql;var _y={usingClientEntryPoint:!1,Events:[Ms,wo,$e,Fa,yl,Io]},$o={findFiberByHostInstance:Va,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},Dy={bundleType:$o.bundleType,version:$o.version,rendererPackageName:$o.rendererPackageName,rendererConfig:$o.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:vt.ReactCurrentDispatcher,findHostInstanceByFiber:function(n){return n=Fn(n),n===null?null:n.stateNode},findFiberByHostInstance:$o.findFiberByHostInstance||$h,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var zf=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!zf.isDisabled&&zf.supportsFiber)try{Cl=zf.inject(Dy),ra=zf}catch{}}return ja.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=_y,ja.createPortal=function(n,r){var l=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Dp(r))throw Error(v(200));return Hh(n,r,null,l)},ja.createRoot=function(n,r){if(!Dp(n))throw Error(v(299));var l=!1,o="",f=_p;return r!=null&&(r.unstable_strictMode===!0&&(l=!0),r.identifierPrefix!==void 0&&(o=r.identifierPrefix),r.onRecoverableError!==void 0&&(f=r.onRecoverableError)),r=Of(n,1,!1,null,null,l,!1,o,f),n[Ki]=r.current,Co(n.nodeType===8?n.parentNode:n),new Mf(r)},ja.findDOMNode=function(n){if(n==null)return null;if(n.nodeType===1)return n;var r=n._reactInternals;if(r===void 0)throw typeof n.render=="function"?Error(v(188)):(n=Object.keys(n).join(","),Error(v(268,n)));return n=Fn(r),n=n===null?null:n.stateNode,n},ja.flushSync=function(n){return ql(n)},ja.hydrate=function(n,r,l){if(!Af(r))throw Error(v(200));return Uf(null,n,r,!0,l)},ja.hydrateRoot=function(n,r,l){if(!Dp(n))throw Error(v(405));var o=l!=null&&l.hydratedSources||null,f=!1,p="",S=_p;if(l!=null&&(l.unstable_strictMode===!0&&(f=!0),l.identifierPrefix!==void 0&&(p=l.identifierPrefix),l.onRecoverableError!==void 0&&(S=l.onRecoverableError)),r=Ih(r,null,n,1,l??null,f,!1,p,S),n[Ki]=r.current,Co(n),o)for(n=0;n<o.length;n++)l=o[n],f=l._getVersion,f=f(l._source),r.mutableSourceEagerHydrationData==null?r.mutableSourceEagerHydrationData=[l,f]:r.mutableSourceEagerHydrationData.push(l,f);return new il(r)},ja.render=function(n,r,l){if(!Af(r))throw Error(v(200));return Uf(null,n,r,!1,l)},ja.unmountComponentAtNode=function(n){if(!Af(n))throw Error(v(40));return n._reactRootContainer?(ql(function(){Uf(null,null,n,!1,function(){n._reactRootContainer=null,n[Ki]=null})}),!0):!1},ja.unstable_batchedUpdates=Io,ja.unstable_renderSubtreeIntoContainer=function(n,r,l,o){if(!Af(l))throw Error(v(200));if(n==null||n._reactInternals===void 0)throw Error(v(38));return Uf(n,r,l,!1,o)},ja.version="18.2.0-next-9e3b772b8-20220608",ja}var Pa={};/**
|
|
115
|
+
* @license React
|
|
116
|
+
* react-dom.development.js
|
|
117
|
+
*
|
|
118
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
119
|
+
*
|
|
120
|
+
* This source code is licensed under the MIT license found in the
|
|
121
|
+
* LICENSE file in the root directory of this source tree.
|
|
122
|
+
*/var E0;function x1(){return E0||(E0=1,process.env.NODE_ENV!=="production"&&function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var s=Be,h=y0(),v=s.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,x=!1;function b(e){x=e}function j(e){if(!x){for(var t=arguments.length,a=new Array(t>1?t-1:0),i=1;i<t;i++)a[i-1]=arguments[i];Q("warn",e,a)}}function E(e){if(!x){for(var t=arguments.length,a=new Array(t>1?t-1:0),i=1;i<t;i++)a[i-1]=arguments[i];Q("error",e,a)}}function Q(e,t,a){{var i=v.ReactDebugCurrentFrame,u=i.getStackAddendum();u!==""&&(t+="%s",a=a.concat([u]));var c=a.map(function(d){return String(d)});c.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,c)}}var A=0,G=1,re=2,F=3,ne=4,ue=5,be=6,Xe=7,et=8,lt=9,Qe=10,Ve=11,vt=12,_e=13,De=14,Oe=15,Rt=16,nn=17,jt=18,wt=19,vn=21,Ge=22,dt=23,Ue=24,ut=25,ye=!0,fe=!1,je=!1,D=!1,te=!1,Se=!0,ot=!1,nt=!1,Nt=!0,St=!0,kt=!0,Et=new Set,Qt={},Xr={};function br(e,t){Zr(e,t),Zr(e+"Capture",t)}function Zr(e,t){Qt[e]&&E("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",e),Qt[e]=t;{var a=e.toLowerCase();Xr[a]=e,e==="onDoubleClick"&&(Xr.ondblclick=e)}for(var i=0;i<t.length;i++)Et.add(t[i])}var wn=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",tr=Object.prototype.hasOwnProperty;function Yn(e){{var t=typeof Symbol=="function"&&Symbol.toStringTag,a=t&&e[Symbol.toStringTag]||e.constructor.name||"Object";return a}}function Wn(e){try{return An(e),!1}catch{return!0}}function An(e){return""+e}function Jr(e,t){if(Wn(e))return E("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",t,Yn(e)),An(e)}function ea(e){if(Wn(e))return E("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Yn(e)),An(e)}function nr(e,t){if(Wn(e))return E("The provided `%s` prop is an unsupported type %s. This value must be coerced to a string before before using it here.",t,Yn(e)),An(e)}function Tr(e,t){if(Wn(e))return E("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",t,Yn(e)),An(e)}function ta(e){if(Wn(e))return E("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",Yn(e)),An(e)}function Rr(e){if(Wn(e))return E("Form field values (value, checked, defaultValue, or defaultChecked props) must be strings, not %s. This value must be coerced to a string before before using it here.",Yn(e)),An(e)}var Ca=0,fr=1,na=2,xn=3,Ur=4,yi=5,wa=6,pe=":A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",He=pe+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",Ct=new RegExp("^["+pe+"]["+He+"]*$"),Yt={},Gt={};function Un(e){return tr.call(Gt,e)?!0:tr.call(Yt,e)?!1:Ct.test(e)?(Gt[e]=!0,!0):(Yt[e]=!0,E("Invalid attribute name: `%s`",e),!1)}function bn(e,t,a){return t!==null?t.type===Ca:a?!1:e.length>2&&(e[0]==="o"||e[0]==="O")&&(e[1]==="n"||e[1]==="N")}function kr(e,t,a,i){if(a!==null&&a.type===Ca)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":{if(i)return!1;if(a!==null)return!a.acceptsBooleans;var u=e.toLowerCase().slice(0,5);return u!=="data-"&&u!=="aria-"}default:return!1}}function en(e,t,a,i){if(t===null||typeof t>"u"||kr(e,t,a,i))return!0;if(i)return!1;if(a!==null)switch(a.type){case xn:return!t;case Ur:return t===!1;case yi:return isNaN(t);case wa:return isNaN(t)||t<1}return!1}function zr(e){return Kt.hasOwnProperty(e)?Kt[e]:null}function qt(e,t,a,i,u,c,d){this.acceptsBooleans=t===na||t===xn||t===Ur,this.attributeName=i,this.attributeNamespace=u,this.mustUseProperty=a,this.propertyName=e,this.type=t,this.sanitizeURL=c,this.removeEmptyString=d}var Kt={},ii=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];ii.forEach(function(e){Kt[e]=new qt(e,Ca,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0],a=e[1];Kt[t]=new qt(t,fr,!1,a,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){Kt[e]=new qt(e,na,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Kt[e]=new qt(e,na,!1,e,null,!1,!1)}),["allowFullScreen","async","autoFocus","autoPlay","controls","default","defer","disabled","disablePictureInPicture","disableRemotePlayback","formNoValidate","hidden","loop","noModule","noValidate","open","playsInline","readOnly","required","reversed","scoped","seamless","itemScope"].forEach(function(e){Kt[e]=new qt(e,xn,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){Kt[e]=new qt(e,xn,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){Kt[e]=new qt(e,Ur,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){Kt[e]=new qt(e,wa,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){Kt[e]=new qt(e,yi,!1,e.toLowerCase(),null,!1,!1)});var Fa=/[\-\:]([a-z])/g,yl=function(e){return e[1].toUpperCase()};["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach(function(e){var t=e.replace(Fa,yl);Kt[t]=new qt(t,fr,!1,e,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(e){var t=e.replace(Fa,yl);Kt[t]=new qt(t,fr,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(Fa,yl);Kt[t]=new qt(t,fr,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){Kt[e]=new qt(e,fr,!1,e.toLowerCase(),null,!1,!1)});var fu="xlinkHref";Kt[fu]=new qt("xlinkHref",fr,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){Kt[e]=new qt(e,fr,!1,e.toLowerCase(),null,!0,!0)});var no=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*\:/i,Hi=!1;function Sl(e){!Hi&&no.test(e)&&(Hi=!0,E("A future version of React will block javascript: URLs as a security precaution. Use event handlers instead if you can. If you need to generate unsafe HTML try using dangerouslySetInnerHTML instead. React was passed %s.",JSON.stringify(e)))}function xa(e,t,a,i){if(i.mustUseProperty){var u=i.propertyName;return e[u]}else{Jr(a,t),i.sanitizeURL&&Sl(""+a);var c=i.attributeName,d=null;if(i.type===Ur){if(e.hasAttribute(c)){var m=e.getAttribute(c);return m===""?!0:en(t,a,i,!1)?m:m===""+a?a:m}}else if(e.hasAttribute(c)){if(en(t,a,i,!1))return e.getAttribute(c);if(i.type===xn)return a;d=e.getAttribute(c)}return en(t,a,i,!1)?d===null?a:d:d===""+a?a:d}}function Si(e,t,a,i){{if(!Un(t))return;if(!e.hasAttribute(t))return a===void 0?void 0:null;var u=e.getAttribute(t);return Jr(a,t),u===""+a?a:u}}function ba(e,t,a,i){var u=zr(t);if(!bn(t,u,i)){if(en(t,a,u,i)&&(a=null),i||u===null){if(Un(t)){var c=t;a===null?e.removeAttribute(c):(Jr(a,t),e.setAttribute(c,""+a))}return}var d=u.mustUseProperty;if(d){var m=u.propertyName;if(a===null){var g=u.type;e[m]=g===xn?!1:""}else e[m]=a;return}var C=u.attributeName,w=u.attributeNamespace;if(a===null)e.removeAttribute(C);else{var z=u.type,M;z===xn||z===Ur&&a===!0?M="":(Jr(a,C),M=""+a,u.sanitizeURL&&Sl(M.toString())),w?e.setAttributeNS(w,C,M):e.setAttribute(C,M)}}}var Ei=Symbol.for("react.element"),jr=Symbol.for("react.portal"),Ta=Symbol.for("react.fragment"),Ci=Symbol.for("react.strict_mode"),k=Symbol.for("react.profiler"),ae=Symbol.for("react.provider"),ve=Symbol.for("react.context"),Te=Symbol.for("react.forward_ref"),ht=Symbol.for("react.suspense"),Mt=Symbol.for("react.suspense_list"),mt=Symbol.for("react.memo"),Ye=Symbol.for("react.lazy"),Fn=Symbol.for("react.scope"),fn=Symbol.for("react.debug_trace_mode"),dn=Symbol.for("react.offscreen"),dr=Symbol.for("react.legacy_hidden"),wi=Symbol.for("react.cache"),ro=Symbol.for("react.tracing_marker"),Pt=Symbol.iterator,yd="@@iterator";function li(e){if(e===null||typeof e!="object")return null;var t=Pt&&e[Pt]||e[yd];return typeof t=="function"?t:null}var xt=Object.assign,xi=0,El,ao,Cl,ra,ms,Pr,gs;function ys(){}ys.__reactDisabledLog=!0;function Rc(){{if(xi===0){El=console.log,ao=console.info,Cl=console.warn,ra=console.error,ms=console.group,Pr=console.groupCollapsed,gs=console.groupEnd;var e={configurable:!0,enumerable:!0,value:ys,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}xi++}}function io(){{if(xi--,xi===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:xt({},e,{value:El}),info:xt({},e,{value:ao}),warn:xt({},e,{value:Cl}),error:xt({},e,{value:ra}),group:xt({},e,{value:ms}),groupCollapsed:xt({},e,{value:Pr}),groupEnd:xt({},e,{value:gs})})}xi<0&&E("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var wl=v.ReactCurrentDispatcher,ui;function Fr(e,t,a){{if(ui===void 0)try{throw Error()}catch(u){var i=u.stack.trim().match(/\n( *(at )?)/);ui=i&&i[1]||""}return`
|
|
123
|
+
`+ui+e}}var xl=!1,bl;{var Tl=typeof WeakMap=="function"?WeakMap:Map;bl=new Tl}function lo(e,t){if(!e||xl)return"";{var a=bl.get(e);if(a!==void 0)return a}var i;xl=!0;var u=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var c;c=wl.current,wl.current=null,Rc();try{if(t){var d=function(){throw Error()};if(Object.defineProperty(d.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(d,[])}catch(Y){i=Y}Reflect.construct(e,[],d)}else{try{d.call()}catch(Y){i=Y}e.call(d.prototype)}}else{try{throw Error()}catch(Y){i=Y}e()}}catch(Y){if(Y&&i&&typeof Y.stack=="string"){for(var m=Y.stack.split(`
|
|
124
|
+
`),g=i.stack.split(`
|
|
125
|
+
`),C=m.length-1,w=g.length-1;C>=1&&w>=0&&m[C]!==g[w];)w--;for(;C>=1&&w>=0;C--,w--)if(m[C]!==g[w]){if(C!==1||w!==1)do if(C--,w--,w<0||m[C]!==g[w]){var z=`
|
|
126
|
+
`+m[C].replace(" at new "," at ");return e.displayName&&z.includes("<anonymous>")&&(z=z.replace("<anonymous>",e.displayName)),typeof e=="function"&&bl.set(e,z),z}while(C>=1&&w>=0);break}}}finally{xl=!1,wl.current=c,io(),Error.prepareStackTrace=u}var M=e?e.displayName||e.name:"",V=M?Fr(M):"";return typeof e=="function"&&bl.set(e,V),V}function uo(e,t,a){return lo(e,!0)}function Ii(e,t,a){return lo(e,!1)}function Sd(e){var t=e.prototype;return!!(t&&t.isReactComponent)}function bi(e,t,a){if(e==null)return"";if(typeof e=="function")return lo(e,Sd(e));if(typeof e=="string")return Fr(e);switch(e){case ht:return Fr("Suspense");case Mt:return Fr("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case Te:return Ii(e.render);case mt:return bi(e.type,t,a);case Ye:{var i=e,u=i._payload,c=i._init;try{return bi(c(u),t,a)}catch{}}}return""}function It(e){switch(e._debugOwner&&e._debugOwner.type,e._debugSource,e.tag){case ue:return Fr(e.type);case Rt:return Fr("Lazy");case _e:return Fr("Suspense");case wt:return Fr("SuspenseList");case A:case re:case Oe:return Ii(e.type);case Ve:return Ii(e.type.render);case G:return uo(e.type);default:return""}}function oo(e){try{var t="",a=e;do t+=It(a),a=a.return;while(a);return t}catch(i){return`
|
|
127
|
+
Error generating stack: `+i.message+`
|
|
128
|
+
`+i.stack}}function du(e,t,a){var i=e.displayName;if(i)return i;var u=t.displayName||t.name||"";return u!==""?a+"("+u+")":a}function so(e){return e.displayName||"Context"}function Ft(e){if(e==null)return null;if(typeof e.tag=="number"&&E("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Ta:return"Fragment";case jr:return"Portal";case k:return"Profiler";case Ci:return"StrictMode";case ht:return"Suspense";case Mt:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case ve:var t=e;return so(t)+".Consumer";case ae:var a=e;return so(a._context)+".Provider";case Te:return du(e,e.render,"ForwardRef");case mt:var i=e.displayName||null;return i!==null?i:Ft(e.type)||"Memo";case Ye:{var u=e,c=u._payload,d=u._init;try{return Ft(d(c))}catch{return null}}}return null}function co(e,t,a){var i=t.displayName||t.name||"";return e.displayName||(i!==""?a+"("+i+")":a)}function fo(e){return e.displayName||"Context"}function ct(e){var t=e.tag,a=e.type;switch(t){case Ue:return"Cache";case lt:var i=a;return fo(i)+".Consumer";case Qe:var u=a;return fo(u._context)+".Provider";case jt:return"DehydratedFragment";case Ve:return co(a,a.render,"ForwardRef");case Xe:return"Fragment";case ue:return a;case ne:return"Portal";case F:return"Root";case be:return"Text";case Rt:return Ft(a);case et:return a===Ci?"StrictMode":"Mode";case Ge:return"Offscreen";case vt:return"Profiler";case vn:return"Scope";case _e:return"Suspense";case wt:return"SuspenseList";case ut:return"TracingMarker";case G:case A:case nn:case re:case De:case Oe:if(typeof a=="function")return a.displayName||a.name||null;if(typeof a=="string")return a;break}return null}var pu=v.ReactDebugCurrentFrame,Tn=null,aa=!1;function Br(){{if(Tn===null)return null;var e=Tn._debugOwner;if(e!==null&&typeof e<"u")return ct(e)}return null}function Rl(){return Tn===null?"":oo(Tn)}function Ln(){pu.getCurrentStack=null,Tn=null,aa=!1}function Xt(e){pu.getCurrentStack=e===null?null:Rl,Tn=e,aa=!1}function kc(){return Tn}function ia(e){aa=e}function rr(e){return""+e}function Ti(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return Rr(e),e;default:return""}}var _c={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function Vi(e,t){_c[t.type]||t.onChange||t.onInput||t.readOnly||t.disabled||t.value==null||E("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`."),t.onChange||t.readOnly||t.disabled||t.checked==null||E("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function kl(e){var t=e.type,a=e.nodeName;return a&&a.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Dc(e){return e._valueTracker}function Ba(e){e._valueTracker=null}function _l(e){var t="";return e&&(kl(e)?t=e.checked?"true":"false":t=e.value),t}function Dl(e){var t=kl(e)?"checked":"value",a=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);Rr(e[t]);var i=""+e[t];if(!(e.hasOwnProperty(t)||typeof a>"u"||typeof a.get!="function"||typeof a.set!="function")){var u=a.get,c=a.set;Object.defineProperty(e,t,{configurable:!0,get:function(){return u.call(this)},set:function(m){Rr(m),i=""+m,c.call(this,m)}}),Object.defineProperty(e,t,{enumerable:a.enumerable});var d={getValue:function(){return i},setValue:function(m){Rr(m),i=""+m},stopTracking:function(){Ba(e),delete e[t]}};return d}}function Ha(e){Dc(e)||(e._valueTracker=Dl(e))}function po(e){if(!e)return!1;var t=Dc(e);if(!t)return!0;var a=t.getValue(),i=_l(e);return i!==a?(t.setValue(i),!0):!1}function Ll(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}var Ol=!1,vu=!1,vo=!1,Ss=!1;function oi(e){var t=e.type==="checkbox"||e.type==="radio";return t?e.checked!=null:e.value!=null}function y(e,t){var a=e,i=t.checked,u=xt({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:i??a._wrapperState.initialChecked});return u}function R(e,t){Vi("input",t),t.checked!==void 0&&t.defaultChecked!==void 0&&!vu&&(E("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components",Br()||"A component",t.type),vu=!0),t.value!==void 0&&t.defaultValue!==void 0&&!Ol&&(E("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components",Br()||"A component",t.type),Ol=!0);var a=e,i=t.defaultValue==null?"":t.defaultValue;a._wrapperState={initialChecked:t.checked!=null?t.checked:t.defaultChecked,initialValue:Ti(t.value!=null?t.value:i),controlled:oi(t)}}function $(e,t){var a=e,i=t.checked;i!=null&&ba(a,"checked",i,!1)}function q(e,t){var a=e;{var i=oi(t);!a._wrapperState.controlled&&i&&!Ss&&(E("A component is changing an uncontrolled input to be controlled. This is likely caused by the value changing from undefined to a defined value, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://reactjs.org/link/controlled-components"),Ss=!0),a._wrapperState.controlled&&!i&&!vo&&(E("A component is changing a controlled input to be uncontrolled. This is likely caused by the value changing from a defined to undefined, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://reactjs.org/link/controlled-components"),vo=!0)}$(e,t);var u=Ti(t.value),c=t.type;if(u!=null)c==="number"?(u===0&&a.value===""||a.value!=u)&&(a.value=rr(u)):a.value!==rr(u)&&(a.value=rr(u));else if(c==="submit"||c==="reset"){a.removeAttribute("value");return}t.hasOwnProperty("value")?qe(a,t.type,u):t.hasOwnProperty("defaultValue")&&qe(a,t.type,Ti(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(a.defaultChecked=!!t.defaultChecked)}function ce(e,t,a){var i=e;if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var u=t.type,c=u==="submit"||u==="reset";if(c&&(t.value===void 0||t.value===null))return;var d=rr(i._wrapperState.initialValue);a||d!==i.value&&(i.value=d),i.defaultValue=d}var m=i.name;m!==""&&(i.name=""),i.defaultChecked=!i.defaultChecked,i.defaultChecked=!!i._wrapperState.initialChecked,m!==""&&(i.name=m)}function Ze(e,t){var a=e;q(a,t),ge(a,t)}function ge(e,t){var a=t.name;if(t.type==="radio"&&a!=null){for(var i=e;i.parentNode;)i=i.parentNode;Jr(a,"name");for(var u=i.querySelectorAll("input[name="+JSON.stringify(""+a)+'][type="radio"]'),c=0;c<u.length;c++){var d=u[c];if(!(d===e||d.form!==e.form)){var m=om(d);if(!m)throw new Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");po(d),q(d,m)}}}}function qe(e,t,a){(t!=="number"||Ll(e.ownerDocument)!==e)&&(a==null?e.defaultValue=rr(e._wrapperState.initialValue):e.defaultValue!==rr(a)&&(e.defaultValue=rr(a)))}var bt=!1,Bt=!1,ln=!1;function tn(e,t){t.value==null&&(typeof t.children=="object"&&t.children!==null?s.Children.forEach(t.children,function(a){a!=null&&(typeof a=="string"||typeof a=="number"||Bt||(Bt=!0,E("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")))}):t.dangerouslySetInnerHTML!=null&&(ln||(ln=!0,E("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected.")))),t.selected!=null&&!bt&&(E("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),bt=!0)}function un(e,t){t.value!=null&&e.setAttribute("value",rr(Ti(t.value)))}var pn=Array.isArray;function Lt(e){return pn(e)}var $i;$i=!1;function ho(){var e=Br();return e?`
|
|
129
|
+
|
|
130
|
+
Check the render method of \``+e+"`.":""}var Es=["value","defaultValue"];function Ed(e){{Vi("select",e);for(var t=0;t<Es.length;t++){var a=Es[t];if(e[a]!=null){var i=Lt(e[a]);e.multiple&&!i?E("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",a,ho()):!e.multiple&&i&&E("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",a,ho())}}}}function si(e,t,a,i){var u=e.options;if(t){for(var c=a,d={},m=0;m<c.length;m++)d["$"+c[m]]=!0;for(var g=0;g<u.length;g++){var C=d.hasOwnProperty("$"+u[g].value);u[g].selected!==C&&(u[g].selected=C),C&&i&&(u[g].defaultSelected=!0)}}else{for(var w=rr(Ti(a)),z=null,M=0;M<u.length;M++){if(u[M].value===w){u[M].selected=!0,i&&(u[M].defaultSelected=!0);return}z===null&&!u[M].disabled&&(z=u[M])}z!==null&&(z.selected=!0)}}function Cs(e,t){return xt({},t,{value:void 0})}function ws(e,t){var a=e;Ed(t),a._wrapperState={wasMultiple:!!t.multiple},t.value!==void 0&&t.defaultValue!==void 0&&!$i&&(E("Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://reactjs.org/link/controlled-components"),$i=!0)}function Cd(e,t){var a=e;a.multiple=!!t.multiple;var i=t.value;i!=null?si(a,!!t.multiple,i,!1):t.defaultValue!=null&&si(a,!!t.multiple,t.defaultValue,!0)}function Kg(e,t){var a=e,i=a._wrapperState.wasMultiple;a._wrapperState.wasMultiple=!!t.multiple;var u=t.value;u!=null?si(a,!!t.multiple,u,!1):i!==!!t.multiple&&(t.defaultValue!=null?si(a,!!t.multiple,t.defaultValue,!0):si(a,!!t.multiple,t.multiple?[]:"",!1))}function Xg(e,t){var a=e,i=t.value;i!=null&&si(a,!!t.multiple,i,!1)}var wd=!1;function xd(e,t){var a=e;if(t.dangerouslySetInnerHTML!=null)throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");var i=xt({},t,{value:void 0,defaultValue:void 0,children:rr(a._wrapperState.initialValue)});return i}function jv(e,t){var a=e;Vi("textarea",t),t.value!==void 0&&t.defaultValue!==void 0&&!wd&&(E("%s contains a textarea with both value and defaultValue props. Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://reactjs.org/link/controlled-components",Br()||"A component"),wd=!0);var i=t.value;if(i==null){var u=t.children,c=t.defaultValue;if(u!=null){E("Use the `defaultValue` or `value` props instead of setting children on <textarea>.");{if(c!=null)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(Lt(u)){if(u.length>1)throw new Error("<textarea> can only have at most one child.");u=u[0]}c=u}}c==null&&(c=""),i=c}a._wrapperState={initialValue:Ti(i)}}function Pv(e,t){var a=e,i=Ti(t.value),u=Ti(t.defaultValue);if(i!=null){var c=rr(i);c!==a.value&&(a.value=c),t.defaultValue==null&&a.defaultValue!==c&&(a.defaultValue=c)}u!=null&&(a.defaultValue=rr(u))}function Fv(e,t){var a=e,i=a.textContent;i===a._wrapperState.initialValue&&i!==""&&i!==null&&(a.value=i)}function bd(e,t){Pv(e,t)}var Yi="http://www.w3.org/1999/xhtml",Zg="http://www.w3.org/1998/Math/MathML",Td="http://www.w3.org/2000/svg";function Lc(e){switch(e){case"svg":return Td;case"math":return Zg;default:return Yi}}function Rd(e,t){return e==null||e===Yi?Lc(t):e===Td&&t==="foreignObject"?Yi:e}var Jg=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,a,i,u){MSApp.execUnsafeLocalFunction(function(){return e(t,a,i,u)})}:e},Oc,Bv=Jg(function(e,t){if(e.namespaceURI===Td&&!("innerHTML"in e)){Oc=Oc||document.createElement("div"),Oc.innerHTML="<svg>"+t.valueOf().toString()+"</svg>";for(var a=Oc.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;a.firstChild;)e.appendChild(a.firstChild);return}e.innerHTML=t}),la=1,Wi=3,Bn=8,ci=9,hu=11,Nc=function(e,t){if(t){var a=e.firstChild;if(a&&a===e.lastChild&&a.nodeType===Wi){a.nodeValue=t;return}}e.textContent=t},Hv={animation:["animationDelay","animationDirection","animationDuration","animationFillMode","animationIterationCount","animationName","animationPlayState","animationTimingFunction"],background:["backgroundAttachment","backgroundClip","backgroundColor","backgroundImage","backgroundOrigin","backgroundPositionX","backgroundPositionY","backgroundRepeat","backgroundSize"],backgroundPosition:["backgroundPositionX","backgroundPositionY"],border:["borderBottomColor","borderBottomStyle","borderBottomWidth","borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth","borderLeftColor","borderLeftStyle","borderLeftWidth","borderRightColor","borderRightStyle","borderRightWidth","borderTopColor","borderTopStyle","borderTopWidth"],borderBlockEnd:["borderBlockEndColor","borderBlockEndStyle","borderBlockEndWidth"],borderBlockStart:["borderBlockStartColor","borderBlockStartStyle","borderBlockStartWidth"],borderBottom:["borderBottomColor","borderBottomStyle","borderBottomWidth"],borderColor:["borderBottomColor","borderLeftColor","borderRightColor","borderTopColor"],borderImage:["borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth"],borderInlineEnd:["borderInlineEndColor","borderInlineEndStyle","borderInlineEndWidth"],borderInlineStart:["borderInlineStartColor","borderInlineStartStyle","borderInlineStartWidth"],borderLeft:["borderLeftColor","borderLeftStyle","borderLeftWidth"],borderRadius:["borderBottomLeftRadius","borderBottomRightRadius","borderTopLeftRadius","borderTopRightRadius"],borderRight:["borderRightColor","borderRightStyle","borderRightWidth"],borderStyle:["borderBottomStyle","borderLeftStyle","borderRightStyle","borderTopStyle"],borderTop:["borderTopColor","borderTopStyle","borderTopWidth"],borderWidth:["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth"],columnRule:["columnRuleColor","columnRuleStyle","columnRuleWidth"],columns:["columnCount","columnWidth"],flex:["flexBasis","flexGrow","flexShrink"],flexFlow:["flexDirection","flexWrap"],font:["fontFamily","fontFeatureSettings","fontKerning","fontLanguageOverride","fontSize","fontSizeAdjust","fontStretch","fontStyle","fontVariant","fontVariantAlternates","fontVariantCaps","fontVariantEastAsian","fontVariantLigatures","fontVariantNumeric","fontVariantPosition","fontWeight","lineHeight"],fontVariant:["fontVariantAlternates","fontVariantCaps","fontVariantEastAsian","fontVariantLigatures","fontVariantNumeric","fontVariantPosition"],gap:["columnGap","rowGap"],grid:["gridAutoColumns","gridAutoFlow","gridAutoRows","gridTemplateAreas","gridTemplateColumns","gridTemplateRows"],gridArea:["gridColumnEnd","gridColumnStart","gridRowEnd","gridRowStart"],gridColumn:["gridColumnEnd","gridColumnStart"],gridColumnGap:["columnGap"],gridGap:["columnGap","rowGap"],gridRow:["gridRowEnd","gridRowStart"],gridRowGap:["rowGap"],gridTemplate:["gridTemplateAreas","gridTemplateColumns","gridTemplateRows"],listStyle:["listStyleImage","listStylePosition","listStyleType"],margin:["marginBottom","marginLeft","marginRight","marginTop"],marker:["markerEnd","markerMid","markerStart"],mask:["maskClip","maskComposite","maskImage","maskMode","maskOrigin","maskPositionX","maskPositionY","maskRepeat","maskSize"],maskPosition:["maskPositionX","maskPositionY"],outline:["outlineColor","outlineStyle","outlineWidth"],overflow:["overflowX","overflowY"],padding:["paddingBottom","paddingLeft","paddingRight","paddingTop"],placeContent:["alignContent","justifyContent"],placeItems:["alignItems","justifyItems"],placeSelf:["alignSelf","justifySelf"],textDecoration:["textDecorationColor","textDecorationLine","textDecorationStyle"],textEmphasis:["textEmphasisColor","textEmphasisStyle"],transition:["transitionDelay","transitionDuration","transitionProperty","transitionTimingFunction"],wordWrap:["overflowWrap"]},mo={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0};function Iv(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}var Vv=["Webkit","ms","Moz","O"];Object.keys(mo).forEach(function(e){Vv.forEach(function(t){mo[Iv(t,e)]=mo[e]})});function Mc(e,t,a){var i=t==null||typeof t=="boolean"||t==="";return i?"":!a&&typeof t=="number"&&t!==0&&!(mo.hasOwnProperty(e)&&mo[e])?t+"px":(Tr(t,e),(""+t).trim())}var go=/([A-Z])/g,ey=/^ms-/;function ty(e){return e.replace(go,"-$1").toLowerCase().replace(ey,"-ms-")}var $v=function(){};{var Yv=/^(?:webkit|moz|o)[A-Z]/,Wv=/^-ms-/,xs=/-(.)/g,yo=/;\s*$/,So={},Eo={},Qv=!1,kd=!1,_d=function(e){return e.replace(xs,function(t,a){return a.toUpperCase()})},Dd=function(e){So.hasOwnProperty(e)&&So[e]||(So[e]=!0,E("Unsupported style property %s. Did you mean %s?",e,_d(e.replace(Wv,"ms-"))))},Gv=function(e){So.hasOwnProperty(e)&&So[e]||(So[e]=!0,E("Unsupported vendor-prefixed style property %s. Did you mean %s?",e,e.charAt(0).toUpperCase()+e.slice(1)))},qv=function(e,t){Eo.hasOwnProperty(t)&&Eo[t]||(Eo[t]=!0,E(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,e,t.replace(yo,"")))},Kv=function(e,t){Qv||(Qv=!0,E("`NaN` is an invalid value for the `%s` css style property.",e))},ny=function(e,t){kd||(kd=!0,E("`Infinity` is an invalid value for the `%s` css style property.",e))};$v=function(e,t){e.indexOf("-")>-1?Dd(e):Yv.test(e)?Gv(e):yo.test(t)&&qv(e,t),typeof t=="number"&&(isNaN(t)?Kv(e,t):isFinite(t)||ny(e,t))}}var ry=$v;function ay(e){{var t="",a="";for(var i in e)if(e.hasOwnProperty(i)){var u=e[i];if(u!=null){var c=i.indexOf("--")===0;t+=a+(c?i:ty(i))+":",t+=Mc(i,u,c),a=";"}}return t||null}}function Xv(e,t){var a=e.style;for(var i in t)if(t.hasOwnProperty(i)){var u=i.indexOf("--")===0;u||ry(i,t[i]);var c=Mc(i,t[i],u);i==="float"&&(i="cssFloat"),u?a.setProperty(i,c):a[i]=c}}function iy(e){return e==null||typeof e=="boolean"||e===""}function Ia(e){var t={};for(var a in e)for(var i=Hv[a]||[a],u=0;u<i.length;u++)t[i[u]]=a;return t}function bs(e,t){{if(!t)return;var a=Ia(e),i=Ia(t),u={};for(var c in a){var d=a[c],m=i[c];if(m&&d!==m){var g=d+","+m;if(u[g])continue;u[g]=!0,E("%s a style property during rerender (%s) when a conflicting property is set (%s) can lead to styling bugs. To avoid this, don't mix shorthand and non-shorthand properties for the same value; instead, replace the shorthand with separate values.",iy(e[d])?"Removing":"Updating",d,m)}}}}var Zv={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},Jv=xt({menuitem:!0},Zv),eh="__html";function Ac(e,t){if(t){if(Jv[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw new Error(e+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof t.dangerouslySetInnerHTML!="object"||!(eh in t.dangerouslySetInnerHTML))throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.")}if(!t.suppressContentEditableWarning&&t.contentEditable&&t.children!=null&&E("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional."),t.style!=null&&typeof t.style!="object")throw new Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.")}}function Qi(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Uc={accept:"accept",acceptcharset:"acceptCharset","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",alt:"alt",as:"as",async:"async",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",children:"children",cite:"cite",class:"className",classid:"classID",classname:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlslist:"controlsList",coords:"coords",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",data:"data",datetime:"dateTime",default:"default",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",defer:"defer",dir:"dir",disabled:"disabled",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback",download:"download",draggable:"draggable",enctype:"encType",enterkeyhint:"enterKeyHint",for:"htmlFor",form:"form",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",id:"id",imagesizes:"imageSizes",imagesrcset:"imageSrcSet",innerhtml:"innerHTML",inputmode:"inputMode",integrity:"integrity",is:"is",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginwidth:"marginWidth",marginheight:"marginHeight",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nomodule:"noModule",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",accentheight:"accentHeight","accent-height":"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm","arabic-form":"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clip:"clip",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",color:"color",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",datatype:"datatype",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground","enable-background":"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",focusable:"focusable",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering","image-rendering":"imageRendering",in2:"in2",in:"in",inlist:"inlist",intercept:"intercept",k1:"k1",k2:"k2",k3:"k3",k4:"k4",k:"k",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder",panose1:"panose1","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",prefix:"prefix",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",property:"property",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",resource:"resource",restart:"restart",result:"result",results:"results",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",security:"security",seed:"seed",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",to:"to",transform:"transform",typeof:"typeof",u1:"u1",u2:"u2",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",values:"values",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",version:"version",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",vmathematical:"vMathematical","v-mathematical":"vMathematical",vocab:"vocab",widths:"widths",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",x1:"x1",x2:"x2",x:"x",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang",xmlns:"xmlns","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",y1:"y1",y2:"y2",y:"y",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"},th={"aria-current":0,"aria-description":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0},fi={},Ld=new RegExp("^(aria)-["+He+"]*$"),Ts=new RegExp("^(aria)[A-Z]["+He+"]*$");function Od(e,t){{if(tr.call(fi,t)&&fi[t])return!0;if(Ts.test(t)){var a="aria-"+t.slice(4).toLowerCase(),i=th.hasOwnProperty(a)?a:null;if(i==null)return E("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",t),fi[t]=!0,!0;if(t!==i)return E("Invalid ARIA attribute `%s`. Did you mean `%s`?",t,i),fi[t]=!0,!0}if(Ld.test(t)){var u=t.toLowerCase(),c=th.hasOwnProperty(u)?u:null;if(c==null)return fi[t]=!0,!1;if(t!==c)return E("Unknown ARIA attribute `%s`. Did you mean `%s`?",t,c),fi[t]=!0,!0}}return!0}function nh(e,t){{var a=[];for(var i in t){var u=Od(e,i);u||a.push(i)}var c=a.map(function(d){return"`"+d+"`"}).join(", ");a.length===1?E("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",c,e):a.length>1&&E("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",c,e)}}function zc(e,t){Qi(e,t)||nh(e,t)}var mu=!1;function Nd(e,t){{if(e!=="input"&&e!=="textarea"&&e!=="select")return;t!=null&&t.value===null&&!mu&&(mu=!0,e==="select"&&t.multiple?E("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",e):E("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",e))}}var Md=function(){};{var ar={},Ad=/^on./,rh=/^on[^A-Z]/,ah=new RegExp("^(aria)-["+He+"]*$"),ih=new RegExp("^(aria)[A-Z]["+He+"]*$");Md=function(e,t,a,i){if(tr.call(ar,t)&&ar[t])return!0;var u=t.toLowerCase();if(u==="onfocusin"||u==="onfocusout")return E("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),ar[t]=!0,!0;if(i!=null){var c=i.registrationNameDependencies,d=i.possibleRegistrationNames;if(c.hasOwnProperty(t))return!0;var m=d.hasOwnProperty(u)?d[u]:null;if(m!=null)return E("Invalid event handler property `%s`. Did you mean `%s`?",t,m),ar[t]=!0,!0;if(Ad.test(t))return E("Unknown event handler property `%s`. It will be ignored.",t),ar[t]=!0,!0}else if(Ad.test(t))return rh.test(t)&&E("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",t),ar[t]=!0,!0;if(ah.test(t)||ih.test(t))return!0;if(u==="innerhtml")return E("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),ar[t]=!0,!0;if(u==="aria")return E("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),ar[t]=!0,!0;if(u==="is"&&a!==null&&a!==void 0&&typeof a!="string")return E("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof a),ar[t]=!0,!0;if(typeof a=="number"&&isNaN(a))return E("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",t),ar[t]=!0,!0;var g=zr(t),C=g!==null&&g.type===Ca;if(Uc.hasOwnProperty(u)){var w=Uc[u];if(w!==t)return E("Invalid DOM property `%s`. Did you mean `%s`?",t,w),ar[t]=!0,!0}else if(!C&&t!==u)return E("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",t,u),ar[t]=!0,!0;return typeof a=="boolean"&&kr(t,a,g,!1)?(a?E('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',a,t,t,a,t):E('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',a,t,t,a,t,t,t),ar[t]=!0,!0):C?!0:kr(t,a,g,!1)?(ar[t]=!0,!1):((a==="false"||a==="true")&&g!==null&&g.type===xn&&(E("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",a,t,a==="false"?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',t,a),ar[t]=!0),!0)}}var lh=function(e,t,a){{var i=[];for(var u in t){var c=Md(e,u,t[u],a);c||i.push(u)}var d=i.map(function(m){return"`"+m+"`"}).join(", ");i.length===1?E("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",d,e):i.length>1&&E("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",d,e)}};function uh(e,t,a){Qi(e,t)||lh(e,t,a)}var Gi=1,Rs=1<<1,gu=1<<2,ly=Gi|Rs|gu,ks=null;function _s(e){ks!==null&&E("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),ks=e}function uy(){ks===null&&E("Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue."),ks=null}function oh(e){return e===ks}function jc(e){var t=e.target||e.srcElement||window;return t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===Wi?t.parentNode:t}var on=null,Nl=null,qi=null;function Co(e){var t=Qo(e);if(t){if(typeof on!="function")throw new Error("setRestoreImplementation() needs to be called to handle a target for controlled events. This error is likely caused by a bug in React. Please file an issue.");var a=t.stateNode;if(a){var i=om(a);on(t.stateNode,t.type,i)}}}function sh(e){on=e}function Pc(e){Nl?qi?qi.push(e):qi=[e]:Nl=e}function Ds(){return Nl!==null||qi!==null}function Ls(){if(Nl){var e=Nl,t=qi;if(Nl=null,qi=null,Co(e),t)for(var a=0;a<t.length;a++)Co(t[a])}}var yu=function(e,t){return e(t)},Ud=function(){},zd=!1;function oy(){var e=Ds();e&&(Ud(),Ls())}function jd(e,t,a){if(zd)return e(t,a);zd=!0;try{return yu(e,t,a)}finally{zd=!1,oy()}}function Fc(e,t,a){yu=e,Ud=a}function Bc(e){return e==="button"||e==="input"||e==="select"||e==="textarea"}function Pd(e,t,a){switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":return!!(a.disabled&&Bc(t));default:return!1}}function Su(e,t){var a=e.stateNode;if(a===null)return null;var i=om(a);if(i===null)return null;var u=i[t];if(Pd(t,e.type,i))return null;if(u&&typeof u!="function")throw new Error("Expected `"+t+"` listener to be a function, instead got a value of `"+typeof u+"` type.");return u}var Os=!1;if(wn)try{var Eu={};Object.defineProperty(Eu,"passive",{get:function(){Os=!0}}),window.addEventListener("test",Eu,Eu),window.removeEventListener("test",Eu,Eu)}catch{Os=!1}function ch(e,t,a,i,u,c,d,m,g){var C=Array.prototype.slice.call(arguments,3);try{t.apply(a,C)}catch(w){this.onError(w)}}var Fd=ch;if(typeof window<"u"&&typeof window.dispatchEvent=="function"&&typeof document<"u"&&typeof document.createEvent=="function"){var Bd=document.createElement("react");Fd=function(t,a,i,u,c,d,m,g,C){if(typeof document>"u"||document===null)throw new Error("The `document` global was defined when React was initialized, but is not defined anymore. This can happen in a test environment if a component schedules an update from an asynchronous callback, but the test has already finished running. To solve this, you can either unmount the component at the end of your test (and ensure that any asynchronous operations get canceled in `componentWillUnmount`), or you can change the test itself to be asynchronous.");var w=document.createEvent("Event"),z=!1,M=!0,V=window.event,Y=Object.getOwnPropertyDescriptor(window,"event");function K(){Bd.removeEventListener(X,We,!1),typeof window.event<"u"&&window.hasOwnProperty("event")&&(window.event=V)}var Re=Array.prototype.slice.call(arguments,3);function We(){z=!0,K(),a.apply(i,Re),M=!1}var Fe,zt=!1,Dt=!1;function B(H){if(Fe=H.error,zt=!0,Fe===null&&H.colno===0&&H.lineno===0&&(Dt=!0),H.defaultPrevented&&Fe!=null&&typeof Fe=="object")try{Fe._suppressLogging=!0}catch{}}var X="react-"+(t||"invokeguardedcallback");if(window.addEventListener("error",B),Bd.addEventListener(X,We,!1),w.initEvent(X,!1,!1),Bd.dispatchEvent(w),Y&&Object.defineProperty(window,"event",Y),z&&M&&(zt?Dt&&(Fe=new Error("A cross-origin error was thrown. React doesn't have access to the actual error object in development. See https://reactjs.org/link/crossorigin-error for more information.")):Fe=new Error(`An error was thrown inside one of your components, but React doesn't know what it was. This is likely due to browser flakiness. React does its best to preserve the "Pause on exceptions" behavior of the DevTools, which requires some DEV-mode only tricks. It's possible that these don't work in your browser. Try triggering the error in production mode, or switching to a modern browser. If you suspect that this is actually an issue with React, please file an issue.`),this.onError(Fe)),window.removeEventListener("error",B),!z)return K(),ch.apply(this,arguments)}}var sy=Fd,Ml=!1,di=null,Ns=!1,Al=null,Ri={onError:function(e){Ml=!0,di=e}};function Cu(e,t,a,i,u,c,d,m,g){Ml=!1,di=null,sy.apply(Ri,arguments)}function Ki(e,t,a,i,u,c,d,m,g){if(Cu.apply(this,arguments),Ml){var C=Id();Ns||(Ns=!0,Al=C)}}function Hd(){if(Ns){var e=Al;throw Ns=!1,Al=null,e}}function cy(){return Ml}function Id(){if(Ml){var e=di;return Ml=!1,di=null,e}else throw new Error("clearCaughtError was called but no error was captured. This error is likely caused by a bug in React. Please file an issue.")}function Va(e){return e._reactInternals}function Ms(e){return e._reactInternals!==void 0}function wo(e,t){e._reactInternals=t}var $e=0,Ul=1,hn=2,gt=4,Wt=16,Zt=32,ki=64,at=128,On=256,ua=512,$a=1024,En=2048,Ya=4096,zl=8192,As=16384,Hc=En|gt|ki|ua|$a|As,fh=32767,Ra=32768,ir=65536,Us=131072,Vd=1048576,$d=2097152,oa=4194304,jl=8388608,sa=16777216,wu=33554432,xo=gt|$a|0,ca=hn|gt|Wt|Zt|ua|Ya|zl,_r=gt|ki|ua|zl,Wa=En|Wt,pr=oa|jl|$d,Xi=v.ReactCurrentOwner;function ka(e){var t=e,a=e;if(e.alternate)for(;t.return;)t=t.return;else{var i=t;do t=i,(t.flags&(hn|Ya))!==$e&&(a=t.return),i=t.return;while(i)}return t.tag===F?a:null}function Yd(e){if(e.tag===_e){var t=e.memoizedState;if(t===null){var a=e.alternate;a!==null&&(t=a.memoizedState)}if(t!==null)return t.dehydrated}return null}function Ic(e){return e.tag===F?e.stateNode.containerInfo:null}function Wd(e){return ka(e)===e}function _a(e){{var t=Xi.current;if(t!==null&&t.tag===G){var a=t,i=a.stateNode;i._warnedAboutRefsInRender||E("%s is accessing isMounted inside its render() function. render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.",ct(a)||"A component"),i._warnedAboutRefsInRender=!0}}var u=Va(e);return u?ka(u)===u:!1}function fa(e){if(ka(e)!==e)throw new Error("Unable to find node on an unmounted component.")}function mn(e){var t=e.alternate;if(!t){var a=ka(e);if(a===null)throw new Error("Unable to find node on an unmounted component.");return a!==e?null:e}for(var i=e,u=t;;){var c=i.return;if(c===null)break;var d=c.alternate;if(d===null){var m=c.return;if(m!==null){i=u=m;continue}break}if(c.child===d.child){for(var g=c.child;g;){if(g===i)return fa(c),e;if(g===u)return fa(c),t;g=g.sibling}throw new Error("Unable to find node on an unmounted component.")}if(i.return!==u.return)i=c,u=d;else{for(var C=!1,w=c.child;w;){if(w===i){C=!0,i=c,u=d;break}if(w===u){C=!0,u=c,i=d;break}w=w.sibling}if(!C){for(w=d.child;w;){if(w===i){C=!0,i=d,u=c;break}if(w===u){C=!0,u=d,i=c;break}w=w.sibling}if(!C)throw new Error("Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.")}}if(i.alternate!==u)throw new Error("Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.")}if(i.tag!==F)throw new Error("Unable to find node on an unmounted component.");return i.stateNode.current===i?e:t}function Qa(e){var t=mn(e);return t!==null?Qd(t):null}function Qd(e){if(e.tag===ue||e.tag===be)return e;for(var t=e.child;t!==null;){var a=Qd(t);if(a!==null)return a;t=t.sibling}return null}function dh(e){var t=mn(e);return t!==null?Vc(t):null}function Vc(e){if(e.tag===ue||e.tag===be)return e;for(var t=e.child;t!==null;){if(t.tag!==ne){var a=Vc(t);if(a!==null)return a}t=t.sibling}return null}var $c=h.unstable_scheduleCallback,ph=h.unstable_cancelCallback,Yc=h.unstable_shouldYield,vh=h.unstable_requestPaint,Rn=h.unstable_now,Gd=h.unstable_getCurrentPriorityLevel,Wc=h.unstable_ImmediatePriority,Da=h.unstable_UserBlockingPriority,_i=h.unstable_NormalPriority,Qc=h.unstable_LowPriority,Pl=h.unstable_IdlePriority,qd=h.unstable_yieldValue,Kd=h.unstable_setDisableYieldValue,Fl=null,lr=null,he=null,zn=!1,vr=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u";function Xd(e){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u")return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled)return!0;if(!t.supportsFiber)return E("The installed version of React DevTools is too old and will not work with the current version of React. Please update React DevTools. https://reactjs.org/link/react-devtools"),!0;try{Nt&&(e=xt({},e,{getLaneLabelMap:Hl,injectProfilingHooks:Ji})),Fl=t.inject(e),lr=t}catch(a){E("React instrumentation encountered an error: %s.",a)}return!!t.checkDCE}function hh(e,t){if(lr&&typeof lr.onScheduleFiberRoot=="function")try{lr.onScheduleFiberRoot(Fl,e,t)}catch(a){zn||(zn=!0,E("React instrumentation encountered an error: %s",a))}}function Zi(e,t){if(lr&&typeof lr.onCommitFiberRoot=="function")try{var a=(e.current.flags&at)===at;if(St){var i;switch(t){case Dr:i=Wc;break;case hr:i=Da;break;case tl:i=_i;break;case $s:i=Pl;break;default:i=_i;break}lr.onCommitFiberRoot(Fl,e,i,a)}}catch(u){zn||(zn=!0,E("React instrumentation encountered an error: %s",u))}}function Bl(e){if(lr&&typeof lr.onPostCommitFiberRoot=="function")try{lr.onPostCommitFiberRoot(Fl,e)}catch(t){zn||(zn=!0,E("React instrumentation encountered an error: %s",t))}}function Zd(e){if(lr&&typeof lr.onCommitFiberUnmount=="function")try{lr.onCommitFiberUnmount(Fl,e)}catch(t){zn||(zn=!0,E("React instrumentation encountered an error: %s",t))}}function Qn(e){if(typeof qd=="function"&&(Kd(e),b(e)),lr&&typeof lr.setStrictMode=="function")try{lr.setStrictMode(Fl,e)}catch(t){zn||(zn=!0,E("React instrumentation encountered an error: %s",t))}}function Ji(e){he=e}function Hl(){{for(var e=new Map,t=1,a=0;a<gn;a++){var i=fy(t);e.set(t,i),t*=2}return e}}function Gc(e){he!==null&&typeof he.markCommitStarted=="function"&&he.markCommitStarted(e)}function Jd(){he!==null&&typeof he.markCommitStopped=="function"&&he.markCommitStopped()}function Il(e){he!==null&&typeof he.markComponentRenderStarted=="function"&&he.markComponentRenderStarted(e)}function xu(){he!==null&&typeof he.markComponentRenderStopped=="function"&&he.markComponentRenderStopped()}function mh(e){he!==null&&typeof he.markComponentPassiveEffectMountStarted=="function"&&he.markComponentPassiveEffectMountStarted(e)}function ep(){he!==null&&typeof he.markComponentPassiveEffectMountStopped=="function"&&he.markComponentPassiveEffectMountStopped()}function qc(e){he!==null&&typeof he.markComponentPassiveEffectUnmountStarted=="function"&&he.markComponentPassiveEffectUnmountStarted(e)}function gh(){he!==null&&typeof he.markComponentPassiveEffectUnmountStopped=="function"&&he.markComponentPassiveEffectUnmountStopped()}function yh(e){he!==null&&typeof he.markComponentLayoutEffectMountStarted=="function"&&he.markComponentLayoutEffectMountStarted(e)}function Sh(){he!==null&&typeof he.markComponentLayoutEffectMountStopped=="function"&&he.markComponentLayoutEffectMountStopped()}function Kc(e){he!==null&&typeof he.markComponentLayoutEffectUnmountStarted=="function"&&he.markComponentLayoutEffectUnmountStarted(e)}function bo(){he!==null&&typeof he.markComponentLayoutEffectUnmountStopped=="function"&&he.markComponentLayoutEffectUnmountStopped()}function Xc(e,t,a){he!==null&&typeof he.markComponentErrored=="function"&&he.markComponentErrored(e,t,a)}function Eh(e,t,a){he!==null&&typeof he.markComponentSuspended=="function"&&he.markComponentSuspended(e,t,a)}function Ch(e){he!==null&&typeof he.markLayoutEffectsStarted=="function"&&he.markLayoutEffectsStarted(e)}function To(){he!==null&&typeof he.markLayoutEffectsStopped=="function"&&he.markLayoutEffectsStopped()}function wh(e){he!==null&&typeof he.markPassiveEffectsStarted=="function"&&he.markPassiveEffectsStarted(e)}function zs(){he!==null&&typeof he.markPassiveEffectsStopped=="function"&&he.markPassiveEffectsStopped()}function pi(e){he!==null&&typeof he.markRenderStarted=="function"&&he.markRenderStarted(e)}function js(){he!==null&&typeof he.markRenderYielded=="function"&&he.markRenderYielded()}function Ro(){he!==null&&typeof he.markRenderStopped=="function"&&he.markRenderStopped()}function bu(e){he!==null&&typeof he.markRenderScheduled=="function"&&he.markRenderScheduled(e)}function tp(e,t){he!==null&&typeof he.markForceUpdateScheduled=="function"&&he.markForceUpdateScheduled(e,t)}function Vl(e,t){he!==null&&typeof he.markStateUpdateScheduled=="function"&&he.markStateUpdateScheduled(e,t)}var Ke=0,Tt=1,Je=2,kn=8,Ga=16,Zc=Math.clz32?Math.clz32:Tu,Jc=Math.log,np=Math.LN2;function Tu(e){var t=e>>>0;return t===0?32:31-(Jc(t)/np|0)|0}var gn=31,Z=0,At=0,tt=1,Di=2,La=4,Ru=8,yn=16,ku=32,$l=4194240,_u=64,qa=128,da=256,Du=512,Ps=1024,Fs=2048,ef=4096,tf=8192,nf=16384,rf=32768,af=65536,lf=131072,uf=262144,of=524288,Lu=1048576,sf=2097152,Ou=130023424,el=4194304,cf=8388608,Bs=16777216,ff=33554432,df=67108864,rp=el,ko=134217728,pf=268435455,_o=268435456,Yl=536870912,pa=1073741824;function fy(e){{if(e&tt)return"Sync";if(e&Di)return"InputContinuousHydration";if(e&La)return"InputContinuous";if(e&Ru)return"DefaultHydration";if(e&yn)return"Default";if(e&ku)return"TransitionHydration";if(e&$l)return"Transition";if(e&Ou)return"Retry";if(e&ko)return"SelectiveHydration";if(e&_o)return"IdleHydration";if(e&Yl)return"Idle";if(e&pa)return"Offscreen"}}var sn=-1,vf=_u,hf=el;function Do(e){switch(Hn(e)){case tt:return tt;case Di:return Di;case La:return La;case Ru:return Ru;case yn:return yn;case ku:return ku;case _u:case qa:case da:case Du:case Ps:case Fs:case ef:case tf:case nf:case rf:case af:case lf:case uf:case of:case Lu:case sf:return e&$l;case el:case cf:case Bs:case ff:case df:return e&Ou;case ko:return ko;case _o:return _o;case Yl:return Yl;case pa:return pa;default:return E("Should have found matching lanes. This is a bug in React."),e}}function Hs(e,t){var a=e.pendingLanes;if(a===Z)return Z;var i=Z,u=e.suspendedLanes,c=e.pingedLanes,d=a&pf;if(d!==Z){var m=d&~u;if(m!==Z)i=Do(m);else{var g=d&c;g!==Z&&(i=Do(g))}}else{var C=a&~u;C!==Z?i=Do(C):c!==Z&&(i=Do(c))}if(i===Z)return Z;if(t!==Z&&t!==i&&(t&u)===Z){var w=Hn(i),z=Hn(t);if(w>=z||w===yn&&(z&$l)!==Z)return t}(i&La)!==Z&&(i|=a&yn);var M=e.entangledLanes;if(M!==Z)for(var V=e.entanglements,Y=i&M;Y>0;){var K=Wl(Y),Re=1<<K;i|=V[K],Y&=~Re}return i}function xh(e,t){for(var a=e.eventTimes,i=sn;t>0;){var u=Wl(t),c=1<<u,d=a[u];d>i&&(i=d),t&=~c}return i}function mf(e,t){switch(e){case tt:case Di:case La:return t+250;case Ru:case yn:case ku:case _u:case qa:case da:case Du:case Ps:case Fs:case ef:case tf:case nf:case rf:case af:case lf:case uf:case of:case Lu:case sf:return t+5e3;case el:case cf:case Bs:case ff:case df:return sn;case ko:case _o:case Yl:case pa:return sn;default:return E("Should have found matching lanes. This is a bug in React."),sn}}function dy(e,t){for(var a=e.pendingLanes,i=e.suspendedLanes,u=e.pingedLanes,c=e.expirationTimes,d=a;d>0;){var m=Wl(d),g=1<<m,C=c[m];C===sn?((g&i)===Z||(g&u)!==Z)&&(c[m]=mf(g,t)):C<=t&&(e.expiredLanes|=g),d&=~g}}function py(e){return Do(e.pendingLanes)}function ap(e){var t=e.pendingLanes&~pa;return t!==Z?t:t&pa?pa:Z}function Lo(e){return(e&tt)!==Z}function Is(e){return(e&pf)!==Z}function gf(e){return(e&Ou)===e}function vy(e){var t=tt|La|yn;return(e&t)===Z}function bh(e){return(e&$l)===e}function Vs(e,t){var a=Di|La|Ru|yn;return(t&a)!==Z}function Th(e,t){return(t&e.expiredLanes)!==Z}function ip(e){return(e&$l)!==Z}function lp(){var e=vf;return vf<<=1,(vf&$l)===Z&&(vf=_u),e}function hy(){var e=hf;return hf<<=1,(hf&Ou)===Z&&(hf=el),e}function Hn(e){return e&-e}function Gn(e){return Hn(e)}function Wl(e){return 31-Zc(e)}function yf(e){return Wl(e)}function va(e,t){return(e&t)!==Z}function Nu(e,t){return(e&t)===t}function yt(e,t){return e|t}function Oo(e,t){return e&~t}function up(e,t){return e&t}function Rh(e){return e}function kh(e,t){return e!==At&&e<t?e:t}function Sf(e){for(var t=[],a=0;a<gn;a++)t.push(e);return t}function Mu(e,t,a){e.pendingLanes|=t,t!==Yl&&(e.suspendedLanes=Z,e.pingedLanes=Z);var i=e.eventTimes,u=yf(t);i[u]=a}function op(e,t){e.suspendedLanes|=t,e.pingedLanes&=~t;for(var a=e.expirationTimes,i=t;i>0;){var u=Wl(i),c=1<<u;a[u]=sn,i&=~c}}function sp(e,t,a){e.pingedLanes|=e.suspendedLanes&t}function cp(e,t){var a=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=Z,e.pingedLanes=Z,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t;for(var i=e.entanglements,u=e.eventTimes,c=e.expirationTimes,d=a;d>0;){var m=Wl(d),g=1<<m;i[m]=Z,u[m]=sn,c[m]=sn,d&=~g}}function No(e,t){for(var a=e.entangledLanes|=t,i=e.entanglements,u=a;u;){var c=Wl(u),d=1<<c;d&t|i[c]&t&&(i[c]|=t),u&=~d}}function my(e,t){var a=Hn(t),i;switch(a){case La:i=Di;break;case yn:i=Ru;break;case _u:case qa:case da:case Du:case Ps:case Fs:case ef:case tf:case nf:case rf:case af:case lf:case uf:case of:case Lu:case sf:case el:case cf:case Bs:case ff:case df:i=ku;break;case Yl:i=_o;break;default:i=At;break}return(i&(e.suspendedLanes|t))!==At?At:i}function fp(e,t,a){if(vr)for(var i=e.pendingUpdatersLaneMap;a>0;){var u=yf(a),c=1<<u,d=i[u];d.add(t),a&=~c}}function Ef(e,t){if(vr)for(var a=e.pendingUpdatersLaneMap,i=e.memoizedUpdaters;t>0;){var u=yf(t),c=1<<u,d=a[u];d.size>0&&(d.forEach(function(m){var g=m.alternate;(g===null||!i.has(g))&&i.add(m)}),d.clear()),t&=~c}}function dp(e,t){return null}var Dr=tt,hr=La,tl=yn,$s=Yl,Au=At;function Ka(){return Au}function qn(e){Au=e}function Ys(e,t){var a=Au;try{return Au=e,t()}finally{Au=a}}function Lr(e,t){return e!==0&&e<t?e:t}function gy(e,t){return e===0||e>t?e:t}function pp(e,t){return e!==0&&e<t}function Ws(e){var t=Hn(e);return pp(Dr,t)?pp(hr,t)?Is(t)?tl:$s:hr:Dr}function Kn(e){var t=e.current.memoizedState;return t.isDehydrated}var _h;function Le(e){_h=e}function Mo(e){_h(e)}var Qs;function Dh(e){Qs=e}var Lh;function Gs(e){Lh=e}var qs;function vp(e){qs=e}var hp;function Oh(e){hp=e}var Cf=!1,Ao=[],Li=null,Cn=null,ur=null,Xa=new Map,Uo=new Map,nl=[],vi=["mousedown","mouseup","touchcancel","touchend","touchstart","auxclick","dblclick","pointercancel","pointerdown","pointerup","dragend","dragstart","drop","compositionend","compositionstart","keydown","keypress","keyup","input","textInput","copy","cut","paste","click","change","contextmenu","reset","submit"];function Nh(e){return vi.indexOf(e)>-1}function Oi(e,t,a,i,u){return{blockedOn:e,domEventName:t,eventSystemFlags:a,nativeEvent:u,targetContainers:[i]}}function Mh(e,t){switch(e){case"focusin":case"focusout":Li=null;break;case"dragenter":case"dragleave":Cn=null;break;case"mouseover":case"mouseout":ur=null;break;case"pointerover":case"pointerout":{var a=t.pointerId;Xa.delete(a);break}case"gotpointercapture":case"lostpointercapture":{var i=t.pointerId;Uo.delete(i);break}}}function zo(e,t,a,i,u,c){if(e===null||e.nativeEvent!==c){var d=Oi(t,a,i,u,c);if(t!==null){var m=Qo(t);m!==null&&Qs(m)}return d}e.eventSystemFlags|=i;var g=e.targetContainers;return u!==null&&g.indexOf(u)===-1&&g.push(u),e}function Ah(e,t,a,i,u){switch(t){case"focusin":{var c=u;return Li=zo(Li,e,t,a,i,c),!0}case"dragenter":{var d=u;return Cn=zo(Cn,e,t,a,i,d),!0}case"mouseover":{var m=u;return ur=zo(ur,e,t,a,i,m),!0}case"pointerover":{var g=u,C=g.pointerId;return Xa.set(C,zo(Xa.get(C)||null,e,t,a,i,g)),!0}case"gotpointercapture":{var w=u,z=w.pointerId;return Uo.set(z,zo(Uo.get(z)||null,e,t,a,i,w)),!0}}return!1}function mp(e){var t=ac(e.target);if(t!==null){var a=ka(t);if(a!==null){var i=a.tag;if(i===_e){var u=Yd(a);if(u!==null){e.blockedOn=u,hp(e.priority,function(){Lh(a)});return}}else if(i===F){var c=a.stateNode;if(Kn(c)){e.blockedOn=Ic(a);return}}}}e.blockedOn=null}function Uh(e){for(var t=qs(),a={blockedOn:null,target:e,priority:t},i=0;i<nl.length&&pp(t,nl[i].priority);i++);nl.splice(i,0,a),i===0&&mp(a)}function wf(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;t.length>0;){var a=t[0],i=Uu(e.domEventName,e.eventSystemFlags,a,e.nativeEvent);if(i===null){var u=e.nativeEvent,c=new u.constructor(u.type,u);_s(c),u.target.dispatchEvent(c),uy()}else{var d=Qo(i);return d!==null&&Qs(d),e.blockedOn=i,!1}t.shift()}return!0}function Ks(e,t,a){wf(e)&&a.delete(t)}function gp(){Cf=!1,Li!==null&&wf(Li)&&(Li=null),Cn!==null&&wf(Cn)&&(Cn=null),ur!==null&&wf(ur)&&(ur=null),Xa.forEach(Ks),Uo.forEach(Ks)}function Or(e,t){e.blockedOn===t&&(e.blockedOn=null,Cf||(Cf=!0,h.unstable_scheduleCallback(h.unstable_NormalPriority,gp)))}function _t(e){if(Ao.length>0){Or(Ao[0],e);for(var t=1;t<Ao.length;t++){var a=Ao[t];a.blockedOn===e&&(a.blockedOn=null)}}Li!==null&&Or(Li,e),Cn!==null&&Or(Cn,e),ur!==null&&Or(ur,e);var i=function(m){return Or(m,e)};Xa.forEach(i),Uo.forEach(i);for(var u=0;u<nl.length;u++){var c=nl[u];c.blockedOn===e&&(c.blockedOn=null)}for(;nl.length>0;){var d=nl[0];if(d.blockedOn!==null)break;mp(d),d.blockedOn===null&&nl.shift()}}var _n=v.ReactCurrentBatchConfig,Nn=!0;function or(e){Nn=!!e}function Oa(){return Nn}function jo(e,t,a){var i=Hr(t),u;switch(i){case Dr:u=Xn;break;case hr:u=Xs;break;case tl:default:u=rl;break}return u.bind(null,t,a,e)}function Xn(e,t,a,i){var u=Ka(),c=_n.transition;_n.transition=null;try{qn(Dr),rl(e,t,a,i)}finally{qn(u),_n.transition=c}}function Xs(e,t,a,i){var u=Ka(),c=_n.transition;_n.transition=null;try{qn(hr),rl(e,t,a,i)}finally{qn(u),_n.transition=c}}function rl(e,t,a,i){Nn&&xf(e,t,a,i)}function xf(e,t,a,i){var u=Uu(e,t,a,i);if(u===null){jy(e,t,i,Po,a),Mh(e,i);return}if(Ah(u,e,t,a,i)){i.stopPropagation();return}if(Mh(e,i),t&gu&&Nh(e)){for(;u!==null;){var c=Qo(u);c!==null&&Mo(c);var d=Uu(e,t,a,i);if(d===null&&jy(e,t,i,Po,a),d===u)break;u=d}u!==null&&i.stopPropagation();return}jy(e,t,i,null,a)}var Po=null;function Uu(e,t,a,i){Po=null;var u=jc(i),c=ac(u);if(c!==null){var d=ka(c);if(d===null)c=null;else{var m=d.tag;if(m===_e){var g=Yd(d);if(g!==null)return g;c=null}else if(m===F){var C=d.stateNode;if(Kn(C))return Ic(d);c=null}else d!==c&&(c=null)}}return Po=c,null}function Hr(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return Dr;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return hr;case"message":{var t=Gd();switch(t){case Wc:return Dr;case Da:return hr;case _i:case Qc:return tl;case Pl:return $s;default:return tl}}default:return tl}}function yp(e,t,a){return e.addEventListener(t,a,!1),a}function Fo(e,t,a){return e.addEventListener(t,a,!0),a}function al(e,t,a,i){return e.addEventListener(t,a,{capture:!0,passive:i}),a}function bf(e,t,a,i){return e.addEventListener(t,a,{passive:i}),a}var zu=null,Ni=null,Ql=null;function Gl(e){return zu=e,Ni=Rf(),!0}function Tf(){zu=null,Ni=null,Ql=null}function Bo(){if(Ql)return Ql;var e,t=Ni,a=t.length,i,u=Rf(),c=u.length;for(e=0;e<a&&t[e]===u[e];e++);var d=a-e;for(i=1;i<=d&&t[a-i]===u[c-i];i++);var m=i>1?1-i:void 0;return Ql=u.slice(e,m),Ql}function Rf(){return"value"in zu?zu.value:zu.textContent}function ju(e){var t,a=e.keyCode;return"charCode"in e?(t=e.charCode,t===0&&a===13&&(t=13)):t=a,t===10&&(t=13),t>=32||t===13?t:0}function Pu(){return!0}function Nr(){return!1}function In(e){function t(a,i,u,c,d){this._reactName=a,this._targetInst=u,this.type=i,this.nativeEvent=c,this.target=d,this.currentTarget=null;for(var m in e)if(e.hasOwnProperty(m)){var g=e[m];g?this[m]=g(c):this[m]=c[m]}var C=c.defaultPrevented!=null?c.defaultPrevented:c.returnValue===!1;return C?this.isDefaultPrevented=Pu:this.isDefaultPrevented=Nr,this.isPropagationStopped=Nr,this}return xt(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var a=this.nativeEvent;a&&(a.preventDefault?a.preventDefault():typeof a.returnValue!="unknown"&&(a.returnValue=!1),this.isDefaultPrevented=Pu)},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():typeof a.cancelBubble!="unknown"&&(a.cancelBubble=!0),this.isPropagationStopped=Pu)},persist:function(){},isPersistent:Pu}),t}var Mr={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Ar=In(Mr),Ho=xt({},Mr,{view:0,detail:0}),Sp=In(Ho),Zs,Ep,Za;function zh(e){e!==Za&&(Za&&e.type==="mousemove"?(Zs=e.screenX-Za.screenX,Ep=e.screenY-Za.screenY):(Zs=0,Ep=0),Za=e)}var Io=xt({},Ho,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Df,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(zh(e),Zs)},movementY:function(e){return"movementY"in e?e.movementY:Ep}}),ql=In(Io),Cp=xt({},Io,{dataTransfer:0}),Fu=In(Cp),jh=xt({},Ho,{relatedTarget:0}),kf=In(jh),wp=xt({},Mr,{animationName:0,elapsedTime:0,pseudoElement:0}),_f=In(wp),yy=xt({},Mr,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Sy=In(yy),Ph=xt({},Mr,{data:0}),xp=In(Ph),Bu=xp,Ey={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Vo={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"};function Fh(e){if(e.key){var t=Ey[e.key]||e.key;if(t!=="Unidentified")return t}if(e.type==="keypress"){var a=ju(e);return a===13?"Enter":String.fromCharCode(a)}return e.type==="keydown"||e.type==="keyup"?Vo[e.keyCode]||"Unidentified":""}var Mn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Cy(e){var t=this,a=t.nativeEvent;if(a.getModifierState)return a.getModifierState(e);var i=Mn[e];return i?!!a[i]:!1}function Df(e){return Cy}var wy=xt({},Ho,{key:Fh,code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Df,charCode:function(e){return e.type==="keypress"?ju(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?ju(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),xy=In(wy),Bh=xt({},Io,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),bp=In(Bh),by=xt({},Ho,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Df}),Ja=In(by),Tp=xt({},Mr,{propertyName:0,elapsedTime:0,pseudoElement:0}),Ty=In(Tp),Kl=xt({},Io,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Lf=In(Kl),Hu=[9,13,27,32],Js=229,ec=wn&&"CompositionEvent"in window,Iu=null;wn&&"documentMode"in document&&(Iu=document.documentMode);var Ry=wn&&"TextEvent"in window&&!Iu,Of=wn&&(!ec||Iu&&Iu>8&&Iu<=11),Hh=32,Rp=String.fromCharCode(Hh);function Ih(){br("onBeforeInput",["compositionend","keypress","textInput","paste"]),br("onCompositionEnd",["compositionend","focusout","keydown","keypress","keyup","mousedown"]),br("onCompositionStart",["compositionstart","focusout","keydown","keypress","keyup","mousedown"]),br("onCompositionUpdate",["compositionupdate","focusout","keydown","keypress","keyup","mousedown"])}var tc=!1;function Nf(e){return(e.ctrlKey||e.altKey||e.metaKey)&&!(e.ctrlKey&&e.altKey)}function Vh(e){switch(e){case"compositionstart":return"onCompositionStart";case"compositionend":return"onCompositionEnd";case"compositionupdate":return"onCompositionUpdate"}}function kp(e,t){return e==="keydown"&&t.keyCode===Js}function $h(e,t){switch(e){case"keyup":return Hu.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==Js;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function _p(e){var t=e.detail;return typeof t=="object"&&"data"in t?t.data:null}function Mf(e){return e.locale==="ko"}var il=!1;function Dp(e,t,a,i,u){var c,d;if(ec?c=Vh(t):il?$h(t,i)&&(c="onCompositionEnd"):kp(t,i)&&(c="onCompositionStart"),!c)return null;Of&&!Mf(i)&&(!il&&c==="onCompositionStart"?il=Gl(u):c==="onCompositionEnd"&&il&&(d=Bo()));var m=qh(a,c);if(m.length>0){var g=new xp(c,t,null,i,u);if(e.push({event:g,listeners:m}),d)g.data=d;else{var C=_p(i);C!==null&&(g.data=C)}}}function Af(e,t){switch(e){case"compositionend":return _p(t);case"keypress":var a=t.which;return a!==Hh?null:(tc=!0,Rp);case"textInput":var i=t.data;return i===Rp&&tc?null:i;default:return null}}function Yh(e,t){if(il){if(e==="compositionend"||!ec&&$h(e,t)){var a=Bo();return Tf(),il=!1,a}return null}switch(e){case"paste":return null;case"keypress":if(!Nf(t)){if(t.char&&t.char.length>1)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Of&&!Mf(t)?null:t.data;default:return null}}function ky(e,t,a,i,u){var c;if(Ry?c=Af(t,i):c=Yh(t,i),!c)return null;var d=qh(a,"onBeforeInput");if(d.length>0){var m=new Bu("onBeforeInput","beforeinput",null,i,u);e.push({event:m,listeners:d}),m.data=c}}function Uf(e,t,a,i,u,c,d){Dp(e,t,a,i,u),ky(e,t,a,i,u)}var _y={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function $o(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!_y[e.type]:t==="textarea"}/**
|
|
131
|
+
* Checks if an event is supported in the current execution environment.
|
|
132
|
+
*
|
|
133
|
+
* NOTE: This will not work correctly for non-generic events such as `change`,
|
|
134
|
+
* `reset`, `load`, `error`, and `select`.
|
|
135
|
+
*
|
|
136
|
+
* Borrows from Modernizr.
|
|
137
|
+
*
|
|
138
|
+
* @param {string} eventNameSuffix Event name, e.g. "click".
|
|
139
|
+
* @return {boolean} True if the event is supported.
|
|
140
|
+
* @internal
|
|
141
|
+
* @license Modernizr 3.0.0pre (Custom Build) | MIT
|
|
142
|
+
*/function Dy(e){if(!wn)return!1;var t="on"+e,a=t in document;if(!a){var i=document.createElement("div");i.setAttribute(t,"return;"),a=typeof i[t]=="function"}return a}function zf(){br("onChange",["change","click","focusin","focusout","input","keydown","keyup","selectionchange"])}function n(e,t,a,i){Pc(i);var u=qh(t,"onChange");if(u.length>0){var c=new Ar("onChange","change",null,a,i);e.push({event:c,listeners:u})}}var r=null,l=null;function o(e){var t=e.nodeName&&e.nodeName.toLowerCase();return t==="select"||t==="input"&&e.type==="file"}function f(e){var t=[];n(t,l,e,jc(e)),jd(p,t)}function p(e){j0(e,0)}function S(e){var t=If(e);if(po(t))return e}function T(e,t){if(e==="change")return t}var O=!1;wn&&(O=Dy("input")&&(!document.documentMode||document.documentMode>9));function W(e,t){r=e,l=t,r.attachEvent("onpropertychange",oe)}function le(){r&&(r.detachEvent("onpropertychange",oe),r=null,l=null)}function oe(e){e.propertyName==="value"&&S(l)&&f(e)}function ie(e,t,a){e==="focusin"?(le(),W(t,a)):e==="focusout"&&le()}function we(e,t){if(e==="selectionchange"||e==="keyup"||e==="keydown")return S(l)}function Ne(e){var t=e.nodeName;return t&&t.toLowerCase()==="input"&&(e.type==="checkbox"||e.type==="radio")}function ze(e,t){if(e==="click")return S(t)}function jn(e,t){if(e==="input"||e==="change")return S(t)}function P(e){var t=e._wrapperState;!t||!t.controlled||e.type!=="number"||qe(e,"number",e.value)}function U(e,t,a,i,u,c,d){var m=a?If(a):window,g,C;if(o(m)?g=T:$o(m)?O?g=jn:(g=we,C=ie):Ne(m)&&(g=ze),g){var w=g(t,a);if(w){n(e,w,i,u);return}}C&&C(t,m,a),t==="focusout"&&P(m)}function I(){Zr("onMouseEnter",["mouseout","mouseover"]),Zr("onMouseLeave",["mouseout","mouseover"]),Zr("onPointerEnter",["pointerout","pointerover"]),Zr("onPointerLeave",["pointerout","pointerover"])}function de(e,t,a,i,u,c,d){var m=t==="mouseover"||t==="pointerover",g=t==="mouseout"||t==="pointerout";if(m&&!oh(i)){var C=i.relatedTarget||i.fromElement;if(C&&(ac(C)||Vp(C)))return}if(!(!g&&!m)){var w;if(u.window===u)w=u;else{var z=u.ownerDocument;z?w=z.defaultView||z.parentWindow:w=window}var M,V;if(g){var Y=i.relatedTarget||i.toElement;if(M=a,V=Y?ac(Y):null,V!==null){var K=ka(V);(V!==K||V.tag!==ue&&V.tag!==be)&&(V=null)}}else M=null,V=a;if(M!==V){var Re=ql,We="onMouseLeave",Fe="onMouseEnter",zt="mouse";(t==="pointerout"||t==="pointerover")&&(Re=bp,We="onPointerLeave",Fe="onPointerEnter",zt="pointer");var Dt=M==null?w:If(M),B=V==null?w:If(V),X=new Re(We,zt+"leave",M,i,u);X.target=Dt,X.relatedTarget=B;var H=null,se=ac(u);if(se===a){var ke=new Re(Fe,zt+"enter",V,i,u);ke.target=B,ke.relatedTarget=Dt,H=ke}mk(e,X,H,M,V)}}}function Pe(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Me=typeof Object.is=="function"?Object.is:Pe;function Ie(e,t){if(Me(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var a=Object.keys(e),i=Object.keys(t);if(a.length!==i.length)return!1;for(var u=0;u<a.length;u++){var c=a[u];if(!tr.call(t,c)||!Me(e[c],t[c]))return!1}return!0}function it(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function sr(e){for(;e;){if(e.nextSibling)return e.nextSibling;e=e.parentNode}}function Ht(e,t){for(var a=it(e),i=0,u=0;a;){if(a.nodeType===Wi){if(u=i+a.textContent.length,i<=t&&u>=t)return{node:a,offset:t-i};i=u}a=it(sr(a))}}function Xl(e){var t=e.ownerDocument,a=t&&t.defaultView||window,i=a.getSelection&&a.getSelection();if(!i||i.rangeCount===0)return null;var u=i.anchorNode,c=i.anchorOffset,d=i.focusNode,m=i.focusOffset;try{u.nodeType,d.nodeType}catch{return null}return Ly(e,u,c,d,m)}function Ly(e,t,a,i,u){var c=0,d=-1,m=-1,g=0,C=0,w=e,z=null;e:for(;;){for(var M=null;w===t&&(a===0||w.nodeType===Wi)&&(d=c+a),w===i&&(u===0||w.nodeType===Wi)&&(m=c+u),w.nodeType===Wi&&(c+=w.nodeValue.length),(M=w.firstChild)!==null;)z=w,w=M;for(;;){if(w===e)break e;if(z===t&&++g===a&&(d=c),z===i&&++C===u&&(m=c),(M=w.nextSibling)!==null)break;w=z,z=w.parentNode}w=M}return d===-1||m===-1?null:{start:d,end:m}}function X1(e,t){var a=e.ownerDocument||document,i=a&&a.defaultView||window;if(i.getSelection){var u=i.getSelection(),c=e.textContent.length,d=Math.min(t.start,c),m=t.end===void 0?d:Math.min(t.end,c);if(!u.extend&&d>m){var g=m;m=d,d=g}var C=Ht(e,d),w=Ht(e,m);if(C&&w){if(u.rangeCount===1&&u.anchorNode===C.node&&u.anchorOffset===C.offset&&u.focusNode===w.node&&u.focusOffset===w.offset)return;var z=a.createRange();z.setStart(C.node,C.offset),u.removeAllRanges(),d>m?(u.addRange(z),u.extend(w.node,w.offset)):(z.setEnd(w.node,w.offset),u.addRange(z))}}}function T0(e){return e&&e.nodeType===Wi}function R0(e,t){return!e||!t?!1:e===t?!0:T0(e)?!1:T0(t)?R0(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1}function Z1(e){return e&&e.ownerDocument&&R0(e.ownerDocument.documentElement,e)}function J1(e){try{return typeof e.contentWindow.location.href=="string"}catch{return!1}}function k0(){for(var e=window,t=Ll();t instanceof e.HTMLIFrameElement;){if(J1(t))e=t.contentWindow;else return t;t=Ll(e.document)}return t}function Oy(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function ek(){var e=k0();return{focusedElem:e,selectionRange:Oy(e)?nk(e):null}}function tk(e){var t=k0(),a=e.focusedElem,i=e.selectionRange;if(t!==a&&Z1(a)){i!==null&&Oy(a)&&rk(a,i);for(var u=[],c=a;c=c.parentNode;)c.nodeType===la&&u.push({element:c,left:c.scrollLeft,top:c.scrollTop});typeof a.focus=="function"&&a.focus();for(var d=0;d<u.length;d++){var m=u[d];m.element.scrollLeft=m.left,m.element.scrollTop=m.top}}}function nk(e){var t;return"selectionStart"in e?t={start:e.selectionStart,end:e.selectionEnd}:t=Xl(e),t||{start:0,end:0}}function rk(e,t){var a=t.start,i=t.end;i===void 0&&(i=a),"selectionStart"in e?(e.selectionStart=a,e.selectionEnd=Math.min(i,e.value.length)):X1(e,t)}var ak=wn&&"documentMode"in document&&document.documentMode<=11;function ik(){br("onSelect",["focusout","contextmenu","dragend","focusin","keydown","keyup","mousedown","mouseup","selectionchange"])}var jf=null,Ny=null,Lp=null,My=!1;function lk(e){if("selectionStart"in e&&Oy(e))return{start:e.selectionStart,end:e.selectionEnd};var t=e.ownerDocument&&e.ownerDocument.defaultView||window,a=t.getSelection();return{anchorNode:a.anchorNode,anchorOffset:a.anchorOffset,focusNode:a.focusNode,focusOffset:a.focusOffset}}function uk(e){return e.window===e?e.document:e.nodeType===ci?e:e.ownerDocument}function _0(e,t,a){var i=uk(a);if(!(My||jf==null||jf!==Ll(i))){var u=lk(jf);if(!Lp||!Ie(Lp,u)){Lp=u;var c=qh(Ny,"onSelect");if(c.length>0){var d=new Ar("onSelect","select",null,t,a);e.push({event:d,listeners:c}),d.target=jf}}}}function ok(e,t,a,i,u,c,d){var m=a?If(a):window;switch(t){case"focusin":($o(m)||m.contentEditable==="true")&&(jf=m,Ny=a,Lp=null);break;case"focusout":jf=null,Ny=null,Lp=null;break;case"mousedown":My=!0;break;case"contextmenu":case"mouseup":case"dragend":My=!1,_0(e,i,u);break;case"selectionchange":if(ak)break;case"keydown":case"keyup":_0(e,i,u)}}function Wh(e,t){var a={};return a[e.toLowerCase()]=t.toLowerCase(),a["Webkit"+e]="webkit"+t,a["Moz"+e]="moz"+t,a}var Pf={animationend:Wh("Animation","AnimationEnd"),animationiteration:Wh("Animation","AnimationIteration"),animationstart:Wh("Animation","AnimationStart"),transitionend:Wh("Transition","TransitionEnd")},Ay={},D0={};wn&&(D0=document.createElement("div").style,"AnimationEvent"in window||(delete Pf.animationend.animation,delete Pf.animationiteration.animation,delete Pf.animationstart.animation),"TransitionEvent"in window||delete Pf.transitionend.transition);function Qh(e){if(Ay[e])return Ay[e];if(!Pf[e])return e;var t=Pf[e];for(var a in t)if(t.hasOwnProperty(a)&&a in D0)return Ay[e]=t[a];return e}var L0=Qh("animationend"),O0=Qh("animationiteration"),N0=Qh("animationstart"),M0=Qh("transitionend"),A0=new Map,U0=["abort","auxClick","cancel","canPlay","canPlayThrough","click","close","contextMenu","copy","cut","drag","dragEnd","dragEnter","dragExit","dragLeave","dragOver","dragStart","drop","durationChange","emptied","encrypted","ended","error","gotPointerCapture","input","invalid","keyDown","keyPress","keyUp","load","loadedData","loadedMetadata","loadStart","lostPointerCapture","mouseDown","mouseMove","mouseOut","mouseOver","mouseUp","paste","pause","play","playing","pointerCancel","pointerDown","pointerMove","pointerOut","pointerOver","pointerUp","progress","rateChange","reset","resize","seeked","seeking","stalled","submit","suspend","timeUpdate","touchCancel","touchEnd","touchStart","volumeChange","scroll","toggle","touchMove","waiting","wheel"];function Yo(e,t){A0.set(e,t),br(t,[e])}function sk(){for(var e=0;e<U0.length;e++){var t=U0[e],a=t.toLowerCase(),i=t[0].toUpperCase()+t.slice(1);Yo(a,"on"+i)}Yo(L0,"onAnimationEnd"),Yo(O0,"onAnimationIteration"),Yo(N0,"onAnimationStart"),Yo("dblclick","onDoubleClick"),Yo("focusin","onFocus"),Yo("focusout","onBlur"),Yo(M0,"onTransitionEnd")}function ck(e,t,a,i,u,c,d){var m=A0.get(t);if(m!==void 0){var g=Ar,C=t;switch(t){case"keypress":if(ju(i)===0)return;case"keydown":case"keyup":g=xy;break;case"focusin":C="focus",g=kf;break;case"focusout":C="blur",g=kf;break;case"beforeblur":case"afterblur":g=kf;break;case"click":if(i.button===2)return;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":g=ql;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":g=Fu;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":g=Ja;break;case L0:case O0:case N0:g=_f;break;case M0:g=Ty;break;case"scroll":g=Sp;break;case"wheel":g=Lf;break;case"copy":case"cut":case"paste":g=Sy;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":g=bp;break}var w=(c&gu)!==0;{var z=!w&&t==="scroll",M=vk(a,m,i.type,w,z);if(M.length>0){var V=new g(m,C,null,i,u);e.push({event:V,listeners:M})}}}}sk(),I(),zf(),ik(),Ih();function fk(e,t,a,i,u,c,d){ck(e,t,a,i,u,c);var m=(c&ly)===0;m&&(de(e,t,a,i,u),U(e,t,a,i,u),ok(e,t,a,i,u),Uf(e,t,a,i,u))}var Op=["abort","canplay","canplaythrough","durationchange","emptied","encrypted","ended","error","loadeddata","loadedmetadata","loadstart","pause","play","playing","progress","ratechange","resize","seeked","seeking","stalled","suspend","timeupdate","volumechange","waiting"],Uy=new Set(["cancel","close","invalid","load","scroll","toggle"].concat(Op));function z0(e,t,a){var i=e.type||"unknown-event";e.currentTarget=a,Ki(i,t,void 0,e),e.currentTarget=null}function dk(e,t,a){var i;if(a)for(var u=t.length-1;u>=0;u--){var c=t[u],d=c.instance,m=c.currentTarget,g=c.listener;if(d!==i&&e.isPropagationStopped())return;z0(e,g,m),i=d}else for(var C=0;C<t.length;C++){var w=t[C],z=w.instance,M=w.currentTarget,V=w.listener;if(z!==i&&e.isPropagationStopped())return;z0(e,V,M),i=z}}function j0(e,t){for(var a=(t&gu)!==0,i=0;i<e.length;i++){var u=e[i],c=u.event,d=u.listeners;dk(c,d,a)}Hd()}function pk(e,t,a,i,u){var c=jc(a),d=[];fk(d,e,i,a,c,t),j0(d,t)}function Dn(e,t){Uy.has(e)||E('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',e);var a=!1,i=V_(t),u=gk(e,a);i.has(u)||(P0(t,e,Rs,a),i.add(u))}function zy(e,t,a){Uy.has(e)&&!t&&E('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',e);var i=0;t&&(i|=gu),P0(a,e,i,t)}var Gh="_reactListening"+Math.random().toString(36).slice(2);function Np(e){if(!e[Gh]){e[Gh]=!0,Et.forEach(function(a){a!=="selectionchange"&&(Uy.has(a)||zy(a,!1,e),zy(a,!0,e))});var t=e.nodeType===ci?e:e.ownerDocument;t!==null&&(t[Gh]||(t[Gh]=!0,zy("selectionchange",!1,t)))}}function P0(e,t,a,i,u){var c=jo(e,t,a),d=void 0;Os&&(t==="touchstart"||t==="touchmove"||t==="wheel")&&(d=!0),e=e,i?d!==void 0?al(e,t,c,d):Fo(e,t,c):d!==void 0?bf(e,t,c,d):yp(e,t,c)}function F0(e,t){return e===t||e.nodeType===Bn&&e.parentNode===t}function jy(e,t,a,i,u){var c=i;if(!(t&Gi)&&!(t&Rs)){var d=u;if(i!==null){var m=i;e:for(;;){if(m===null)return;var g=m.tag;if(g===F||g===ne){var C=m.stateNode.containerInfo;if(F0(C,d))break;if(g===ne)for(var w=m.return;w!==null;){var z=w.tag;if(z===F||z===ne){var M=w.stateNode.containerInfo;if(F0(M,d))return}w=w.return}for(;C!==null;){var V=ac(C);if(V===null)return;var Y=V.tag;if(Y===ue||Y===be){m=c=V;continue e}C=C.parentNode}}m=m.return}}}jd(function(){return pk(e,t,a,c)})}function Mp(e,t,a){return{instance:e,listener:t,currentTarget:a}}function vk(e,t,a,i,u,c){for(var d=t!==null?t+"Capture":null,m=i?d:t,g=[],C=e,w=null;C!==null;){var z=C,M=z.stateNode,V=z.tag;if(V===ue&&M!==null&&(w=M,m!==null)){var Y=Su(C,m);Y!=null&&g.push(Mp(C,Y,w))}if(u)break;C=C.return}return g}function qh(e,t){for(var a=t+"Capture",i=[],u=e;u!==null;){var c=u,d=c.stateNode,m=c.tag;if(m===ue&&d!==null){var g=d,C=Su(u,a);C!=null&&i.unshift(Mp(u,C,g));var w=Su(u,t);w!=null&&i.push(Mp(u,w,g))}u=u.return}return i}function Ff(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==ue);return e||null}function hk(e,t){for(var a=e,i=t,u=0,c=a;c;c=Ff(c))u++;for(var d=0,m=i;m;m=Ff(m))d++;for(;u-d>0;)a=Ff(a),u--;for(;d-u>0;)i=Ff(i),d--;for(var g=u;g--;){if(a===i||i!==null&&a===i.alternate)return a;a=Ff(a),i=Ff(i)}return null}function B0(e,t,a,i,u){for(var c=t._reactName,d=[],m=a;m!==null&&m!==i;){var g=m,C=g.alternate,w=g.stateNode,z=g.tag;if(C!==null&&C===i)break;if(z===ue&&w!==null){var M=w;if(u){var V=Su(m,c);V!=null&&d.unshift(Mp(m,V,M))}else if(!u){var Y=Su(m,c);Y!=null&&d.push(Mp(m,Y,M))}}m=m.return}d.length!==0&&e.push({event:t,listeners:d})}function mk(e,t,a,i,u){var c=i&&u?hk(i,u):null;i!==null&&B0(e,t,i,c,!1),u!==null&&a!==null&&B0(e,a,u,c,!0)}function gk(e,t){return e+"__"+(t?"capture":"bubble")}var ei=!1,Ap="dangerouslySetInnerHTML",Kh="suppressContentEditableWarning",Wo="suppressHydrationWarning",H0="autoFocus",nc="children",rc="style",Xh="__html",Py,Zh,Up,I0,Jh,V0,$0;Py={dialog:!0,webview:!0},Zh=function(e,t){zc(e,t),Nd(e,t),uh(e,t,{registrationNameDependencies:Qt,possibleRegistrationNames:Xr})},V0=wn&&!document.documentMode,Up=function(e,t,a){if(!ei){var i=em(a),u=em(t);u!==i&&(ei=!0,E("Prop `%s` did not match. Server: %s Client: %s",e,JSON.stringify(u),JSON.stringify(i)))}},I0=function(e){if(!ei){ei=!0;var t=[];e.forEach(function(a){t.push(a)}),E("Extra attributes from the server: %s",t)}},Jh=function(e,t){t===!1?E("Expected `%s` listener to be a function, instead got `false`.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.",e,e,e):E("Expected `%s` listener to be a function, instead got a value of `%s` type.",e,typeof t)},$0=function(e,t){var a=e.namespaceURI===Yi?e.ownerDocument.createElement(e.tagName):e.ownerDocument.createElementNS(e.namespaceURI,e.tagName);return a.innerHTML=t,a.innerHTML};var yk=/\r\n?/g,Sk=/\u0000|\uFFFD/g;function em(e){ta(e);var t=typeof e=="string"?e:""+e;return t.replace(yk,`
|
|
143
|
+
`).replace(Sk,"")}function tm(e,t,a,i){var u=em(t),c=em(e);if(c!==u&&(i&&(ei||(ei=!0,E('Text content did not match. Server: "%s" Client: "%s"',c,u))),a&&ye))throw new Error("Text content does not match server-rendered HTML.")}function Y0(e){return e.nodeType===ci?e:e.ownerDocument}function Ek(){}function nm(e){e.onclick=Ek}function Ck(e,t,a,i,u){for(var c in i)if(i.hasOwnProperty(c)){var d=i[c];if(c===rc)d&&Object.freeze(d),Xv(t,d);else if(c===Ap){var m=d?d[Xh]:void 0;m!=null&&Bv(t,m)}else if(c===nc)if(typeof d=="string"){var g=e!=="textarea"||d!=="";g&&Nc(t,d)}else typeof d=="number"&&Nc(t,""+d);else c===Kh||c===Wo||c===H0||(Qt.hasOwnProperty(c)?d!=null&&(typeof d!="function"&&Jh(c,d),c==="onScroll"&&Dn("scroll",t)):d!=null&&ba(t,c,d,u))}}function wk(e,t,a,i){for(var u=0;u<t.length;u+=2){var c=t[u],d=t[u+1];c===rc?Xv(e,d):c===Ap?Bv(e,d):c===nc?Nc(e,d):ba(e,c,d,i)}}function xk(e,t,a,i){var u,c=Y0(a),d,m=i;if(m===Yi&&(m=Lc(e)),m===Yi){if(u=Qi(e,t),!u&&e!==e.toLowerCase()&&E("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",e),e==="script"){var g=c.createElement("div");g.innerHTML="<script><\/script>";var C=g.firstChild;d=g.removeChild(C)}else if(typeof t.is=="string")d=c.createElement(e,{is:t.is});else if(d=c.createElement(e),e==="select"){var w=d;t.multiple?w.multiple=!0:t.size&&(w.size=t.size)}}else d=c.createElementNS(m,e);return m===Yi&&!u&&Object.prototype.toString.call(d)==="[object HTMLUnknownElement]"&&!tr.call(Py,e)&&(Py[e]=!0,E("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",e)),d}function bk(e,t){return Y0(t).createTextNode(e)}function Tk(e,t,a,i){var u=Qi(t,a);Zh(t,a);var c;switch(t){case"dialog":Dn("cancel",e),Dn("close",e),c=a;break;case"iframe":case"object":case"embed":Dn("load",e),c=a;break;case"video":case"audio":for(var d=0;d<Op.length;d++)Dn(Op[d],e);c=a;break;case"source":Dn("error",e),c=a;break;case"img":case"image":case"link":Dn("error",e),Dn("load",e),c=a;break;case"details":Dn("toggle",e),c=a;break;case"input":R(e,a),c=y(e,a),Dn("invalid",e);break;case"option":tn(e,a),c=a;break;case"select":ws(e,a),c=Cs(e,a),Dn("invalid",e);break;case"textarea":jv(e,a),c=xd(e,a),Dn("invalid",e);break;default:c=a}switch(Ac(t,c),Ck(t,e,i,c,u),t){case"input":Ha(e),ce(e,a,!1);break;case"textarea":Ha(e),Fv(e);break;case"option":un(e,a);break;case"select":Cd(e,a);break;default:typeof c.onClick=="function"&&nm(e);break}}function Rk(e,t,a,i,u){Zh(t,i);var c=null,d,m;switch(t){case"input":d=y(e,a),m=y(e,i),c=[];break;case"select":d=Cs(e,a),m=Cs(e,i),c=[];break;case"textarea":d=xd(e,a),m=xd(e,i),c=[];break;default:d=a,m=i,typeof d.onClick!="function"&&typeof m.onClick=="function"&&nm(e);break}Ac(t,m);var g,C,w=null;for(g in d)if(!(m.hasOwnProperty(g)||!d.hasOwnProperty(g)||d[g]==null))if(g===rc){var z=d[g];for(C in z)z.hasOwnProperty(C)&&(w||(w={}),w[C]="")}else g===Ap||g===nc||g===Kh||g===Wo||g===H0||(Qt.hasOwnProperty(g)?c||(c=[]):(c=c||[]).push(g,null));for(g in m){var M=m[g],V=d!=null?d[g]:void 0;if(!(!m.hasOwnProperty(g)||M===V||M==null&&V==null))if(g===rc)if(M&&Object.freeze(M),V){for(C in V)V.hasOwnProperty(C)&&(!M||!M.hasOwnProperty(C))&&(w||(w={}),w[C]="");for(C in M)M.hasOwnProperty(C)&&V[C]!==M[C]&&(w||(w={}),w[C]=M[C])}else w||(c||(c=[]),c.push(g,w)),w=M;else if(g===Ap){var Y=M?M[Xh]:void 0,K=V?V[Xh]:void 0;Y!=null&&K!==Y&&(c=c||[]).push(g,Y)}else g===nc?(typeof M=="string"||typeof M=="number")&&(c=c||[]).push(g,""+M):g===Kh||g===Wo||(Qt.hasOwnProperty(g)?(M!=null&&(typeof M!="function"&&Jh(g,M),g==="onScroll"&&Dn("scroll",e)),!c&&V!==M&&(c=[])):(c=c||[]).push(g,M))}return w&&(bs(w,m[rc]),(c=c||[]).push(rc,w)),c}function kk(e,t,a,i,u){a==="input"&&u.type==="radio"&&u.name!=null&&$(e,u);var c=Qi(a,i),d=Qi(a,u);switch(wk(e,t,c,d),a){case"input":q(e,u);break;case"textarea":Pv(e,u);break;case"select":Kg(e,u);break}}function _k(e){{var t=e.toLowerCase();return Uc.hasOwnProperty(t)&&Uc[t]||null}}function Dk(e,t,a,i,u,c,d){var m,g;switch(m=Qi(t,a),Zh(t,a),t){case"dialog":Dn("cancel",e),Dn("close",e);break;case"iframe":case"object":case"embed":Dn("load",e);break;case"video":case"audio":for(var C=0;C<Op.length;C++)Dn(Op[C],e);break;case"source":Dn("error",e);break;case"img":case"image":case"link":Dn("error",e),Dn("load",e);break;case"details":Dn("toggle",e);break;case"input":R(e,a),Dn("invalid",e);break;case"option":tn(e,a);break;case"select":ws(e,a),Dn("invalid",e);break;case"textarea":jv(e,a),Dn("invalid",e);break}Ac(t,a);{g=new Set;for(var w=e.attributes,z=0;z<w.length;z++){var M=w[z].name.toLowerCase();switch(M){case"value":break;case"checked":break;case"selected":break;default:g.add(w[z].name)}}}var V=null;for(var Y in a)if(a.hasOwnProperty(Y)){var K=a[Y];if(Y===nc)typeof K=="string"?e.textContent!==K&&(a[Wo]!==!0&&tm(e.textContent,K,c,d),V=[nc,K]):typeof K=="number"&&e.textContent!==""+K&&(a[Wo]!==!0&&tm(e.textContent,K,c,d),V=[nc,""+K]);else if(Qt.hasOwnProperty(Y))K!=null&&(typeof K!="function"&&Jh(Y,K),Y==="onScroll"&&Dn("scroll",e));else if(d&&typeof m=="boolean"){var Re=void 0,We=m&&ot?null:zr(Y);if(a[Wo]!==!0){if(!(Y===Kh||Y===Wo||Y==="value"||Y==="checked"||Y==="selected")){if(Y===Ap){var Fe=e.innerHTML,zt=K?K[Xh]:void 0;if(zt!=null){var Dt=$0(e,zt);Dt!==Fe&&Up(Y,Fe,Dt)}}else if(Y===rc){if(g.delete(Y),V0){var B=ay(K);Re=e.getAttribute("style"),B!==Re&&Up(Y,Re,B)}}else if(m&&!ot)g.delete(Y.toLowerCase()),Re=Si(e,Y,K),K!==Re&&Up(Y,Re,K);else if(!bn(Y,We,m)&&!en(Y,K,We,m)){var X=!1;if(We!==null)g.delete(We.attributeName),Re=xa(e,Y,K,We);else{var H=i;if(H===Yi&&(H=Lc(t)),H===Yi)g.delete(Y.toLowerCase());else{var se=_k(Y);se!==null&&se!==Y&&(X=!0,g.delete(se)),g.delete(Y)}Re=Si(e,Y,K)}var ke=ot;!ke&&K!==Re&&!X&&Up(Y,Re,K)}}}}}switch(d&&g.size>0&&a[Wo]!==!0&&I0(g),t){case"input":Ha(e),ce(e,a,!0);break;case"textarea":Ha(e),Fv(e);break;case"select":case"option":break;default:typeof a.onClick=="function"&&nm(e);break}return V}function Lk(e,t,a){var i=e.nodeValue!==t;return i}function Fy(e,t){{if(ei)return;ei=!0,E("Did not expect server HTML to contain a <%s> in <%s>.",t.nodeName.toLowerCase(),e.nodeName.toLowerCase())}}function By(e,t){{if(ei)return;ei=!0,E('Did not expect server HTML to contain the text node "%s" in <%s>.',t.nodeValue,e.nodeName.toLowerCase())}}function Hy(e,t,a){{if(ei)return;ei=!0,E("Expected server HTML to contain a matching <%s> in <%s>.",t,e.nodeName.toLowerCase())}}function Iy(e,t){{if(t===""||ei)return;ei=!0,E('Expected server HTML to contain a matching text node for "%s" in <%s>.',t,e.nodeName.toLowerCase())}}function Ok(e,t,a){switch(t){case"input":Ze(e,a);return;case"textarea":bd(e,a);return;case"select":Xg(e,a);return}}var zp=function(){},jp=function(){};{var Nk=["address","applet","area","article","aside","base","basefont","bgsound","blockquote","body","br","button","caption","center","col","colgroup","dd","details","dir","div","dl","dt","embed","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","iframe","img","input","isindex","li","link","listing","main","marquee","menu","menuitem","meta","nav","noembed","noframes","noscript","object","ol","p","param","plaintext","pre","script","section","select","source","style","summary","table","tbody","td","template","textarea","tfoot","th","thead","title","tr","track","ul","wbr","xmp"],W0=["applet","caption","html","table","td","th","marquee","object","template","foreignObject","desc","title"],Mk=W0.concat(["button"]),Ak=["dd","dt","li","option","optgroup","p","rp","rt"],Q0={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null};jp=function(e,t){var a=xt({},e||Q0),i={tag:t};return W0.indexOf(t)!==-1&&(a.aTagInScope=null,a.buttonTagInScope=null,a.nobrTagInScope=null),Mk.indexOf(t)!==-1&&(a.pTagInButtonScope=null),Nk.indexOf(t)!==-1&&t!=="address"&&t!=="div"&&t!=="p"&&(a.listItemTagAutoclosing=null,a.dlItemTagAutoclosing=null),a.current=i,t==="form"&&(a.formTag=i),t==="a"&&(a.aTagInScope=i),t==="button"&&(a.buttonTagInScope=i),t==="nobr"&&(a.nobrTagInScope=i),t==="p"&&(a.pTagInButtonScope=i),t==="li"&&(a.listItemTagAutoclosing=i),(t==="dd"||t==="dt")&&(a.dlItemTagAutoclosing=i),a};var Uk=function(e,t){switch(t){case"select":return e==="option"||e==="optgroup"||e==="#text";case"optgroup":return e==="option"||e==="#text";case"option":return e==="#text";case"tr":return e==="th"||e==="td"||e==="style"||e==="script"||e==="template";case"tbody":case"thead":case"tfoot":return e==="tr"||e==="style"||e==="script"||e==="template";case"colgroup":return e==="col"||e==="template";case"table":return e==="caption"||e==="colgroup"||e==="tbody"||e==="tfoot"||e==="thead"||e==="style"||e==="script"||e==="template";case"head":return e==="base"||e==="basefont"||e==="bgsound"||e==="link"||e==="meta"||e==="title"||e==="noscript"||e==="noframes"||e==="style"||e==="script"||e==="template";case"html":return e==="head"||e==="body"||e==="frameset";case"frameset":return e==="frame";case"#document":return e==="html"}switch(e){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t!=="h1"&&t!=="h2"&&t!=="h3"&&t!=="h4"&&t!=="h5"&&t!=="h6";case"rp":case"rt":return Ak.indexOf(t)===-1;case"body":case"caption":case"col":case"colgroup":case"frameset":case"frame":case"head":case"html":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return t==null}return!0},zk=function(e,t){switch(e){case"address":case"article":case"aside":case"blockquote":case"center":case"details":case"dialog":case"dir":case"div":case"dl":case"fieldset":case"figcaption":case"figure":case"footer":case"header":case"hgroup":case"main":case"menu":case"nav":case"ol":case"p":case"section":case"summary":case"ul":case"pre":case"listing":case"table":case"hr":case"xmp":case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t.pTagInButtonScope;case"form":return t.formTag||t.pTagInButtonScope;case"li":return t.listItemTagAutoclosing;case"dd":case"dt":return t.dlItemTagAutoclosing;case"button":return t.buttonTagInScope;case"a":return t.aTagInScope;case"nobr":return t.nobrTagInScope}return null},G0={};zp=function(e,t,a){a=a||Q0;var i=a.current,u=i&&i.tag;t!=null&&(e!=null&&E("validateDOMNesting: when childText is passed, childTag should be null"),e="#text");var c=Uk(e,u)?null:i,d=c?null:zk(e,a),m=c||d;if(m){var g=m.tag,C=!!c+"|"+e+"|"+g;if(!G0[C]){G0[C]=!0;var w=e,z="";if(e==="#text"?/\S/.test(t)?w="Text nodes":(w="Whitespace text nodes",z=" Make sure you don't have any extra whitespace between tags on each line of your source code."):w="<"+e+">",c){var M="";g==="table"&&e==="tr"&&(M+=" Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."),E("validateDOMNesting(...): %s cannot appear as a child of <%s>.%s%s",w,g,z,M)}else E("validateDOMNesting(...): %s cannot appear as a descendant of <%s>.",w,g)}}}}var rm="suppressHydrationWarning",am="$",im="/$",Pp="$?",Fp="$!",jk="style",Vy=null,$y=null;function Pk(e){var t,a,i=e.nodeType;switch(i){case ci:case hu:{t=i===ci?"#document":"#fragment";var u=e.documentElement;a=u?u.namespaceURI:Rd(null,"");break}default:{var c=i===Bn?e.parentNode:e,d=c.namespaceURI||null;t=c.tagName,a=Rd(d,t);break}}{var m=t.toLowerCase(),g=jp(null,m);return{namespace:a,ancestorInfo:g}}}function Fk(e,t,a){{var i=e,u=Rd(i.namespace,t),c=jp(i.ancestorInfo,t);return{namespace:u,ancestorInfo:c}}}function PN(e){return e}function Bk(e){Vy=Oa(),$y=ek();var t=null;return or(!1),t}function Hk(e){tk($y),or(Vy),Vy=null,$y=null}function Ik(e,t,a,i,u){var c;{var d=i;if(zp(e,null,d.ancestorInfo),typeof t.children=="string"||typeof t.children=="number"){var m=""+t.children,g=jp(d.ancestorInfo,e);zp(null,m,g)}c=d.namespace}var C=xk(e,t,a,c);return Ip(u,C),Zy(C,t),C}function Vk(e,t){e.appendChild(t)}function $k(e,t,a,i,u){switch(Tk(e,t,a,i),t){case"button":case"input":case"select":case"textarea":return!!a.autoFocus;case"img":return!0;default:return!1}}function Yk(e,t,a,i,u,c){{var d=c;if(typeof i.children!=typeof a.children&&(typeof i.children=="string"||typeof i.children=="number")){var m=""+i.children,g=jp(d.ancestorInfo,t);zp(null,m,g)}}return Rk(e,t,a,i)}function Yy(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}function Wk(e,t,a,i){{var u=a;zp(null,e,u.ancestorInfo)}var c=bk(e,t);return Ip(i,c),c}function Qk(){var e=window.event;return e===void 0?tl:Hr(e.type)}var Wy=typeof setTimeout=="function"?setTimeout:void 0,Gk=typeof clearTimeout=="function"?clearTimeout:void 0,Qy=-1,q0=typeof Promise=="function"?Promise:void 0,qk=typeof queueMicrotask=="function"?queueMicrotask:typeof q0<"u"?function(e){return q0.resolve(null).then(e).catch(Kk)}:Wy;function Kk(e){setTimeout(function(){throw e})}function Xk(e,t,a,i){switch(t){case"button":case"input":case"select":case"textarea":a.autoFocus&&e.focus();return;case"img":{a.src&&(e.src=a.src);return}}}function Zk(e,t,a,i,u,c){kk(e,t,a,i,u),Zy(e,u)}function K0(e){Nc(e,"")}function Jk(e,t,a){e.nodeValue=a}function e_(e,t){e.appendChild(t)}function t_(e,t){var a;e.nodeType===Bn?(a=e.parentNode,a.insertBefore(t,e)):(a=e,a.appendChild(t));var i=e._reactRootContainer;i==null&&a.onclick===null&&nm(a)}function n_(e,t,a){e.insertBefore(t,a)}function r_(e,t,a){e.nodeType===Bn?e.parentNode.insertBefore(t,a):e.insertBefore(t,a)}function a_(e,t){e.removeChild(t)}function i_(e,t){e.nodeType===Bn?e.parentNode.removeChild(t):e.removeChild(t)}function Gy(e,t){var a=t,i=0;do{var u=a.nextSibling;if(e.removeChild(a),u&&u.nodeType===Bn){var c=u.data;if(c===im)if(i===0){e.removeChild(u),_t(t);return}else i--;else(c===am||c===Pp||c===Fp)&&i++}a=u}while(a);_t(t)}function l_(e,t){e.nodeType===Bn?Gy(e.parentNode,t):e.nodeType===la&&Gy(e,t),_t(e)}function u_(e){e=e;var t=e.style;typeof t.setProperty=="function"?t.setProperty("display","none","important"):t.display="none"}function o_(e){e.nodeValue=""}function s_(e,t){e=e;var a=t[jk],i=a!=null&&a.hasOwnProperty("display")?a.display:null;e.style.display=Mc("display",i)}function c_(e,t){e.nodeValue=t}function f_(e){e.nodeType===la?e.textContent="":e.nodeType===ci&&e.documentElement&&e.removeChild(e.documentElement)}function d_(e,t,a){return e.nodeType!==la||t.toLowerCase()!==e.nodeName.toLowerCase()?null:e}function p_(e,t){return t===""||e.nodeType!==Wi?null:e}function v_(e){return e.nodeType!==Bn?null:e}function X0(e){return e.data===Pp}function qy(e){return e.data===Fp}function h_(e){var t=e.nextSibling&&e.nextSibling.dataset,a,i,u;return t&&(a=t.dgst,i=t.msg,u=t.stck),{message:i,digest:a,stack:u}}function m_(e,t){e._reactRetry=t}function lm(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===la||t===Wi)break;if(t===Bn){var a=e.data;if(a===am||a===Fp||a===Pp)break;if(a===im)return null}}return e}function Bp(e){return lm(e.nextSibling)}function g_(e){return lm(e.firstChild)}function y_(e){return lm(e.firstChild)}function S_(e){return lm(e.nextSibling)}function E_(e,t,a,i,u,c,d){Ip(c,e),Zy(e,a);var m;{var g=u;m=g.namespace}var C=(c.mode&Tt)!==Ke;return Dk(e,t,a,m,i,C,d)}function C_(e,t,a,i){return Ip(a,e),a.mode&Tt,Lk(e,t)}function w_(e,t){Ip(t,e)}function x_(e){for(var t=e.nextSibling,a=0;t;){if(t.nodeType===Bn){var i=t.data;if(i===im){if(a===0)return Bp(t);a--}else(i===am||i===Fp||i===Pp)&&a++}t=t.nextSibling}return null}function Z0(e){for(var t=e.previousSibling,a=0;t;){if(t.nodeType===Bn){var i=t.data;if(i===am||i===Fp||i===Pp){if(a===0)return t;a--}else i===im&&a++}t=t.previousSibling}return null}function b_(e){_t(e)}function T_(e){_t(e)}function R_(e){return e!=="head"&&e!=="body"}function k_(e,t,a,i){var u=!0;tm(t.nodeValue,a,i,u)}function __(e,t,a,i,u,c){if(t[rm]!==!0){var d=!0;tm(i.nodeValue,u,c,d)}}function D_(e,t){t.nodeType===la?Fy(e,t):t.nodeType===Bn||By(e,t)}function L_(e,t){{var a=e.parentNode;a!==null&&(t.nodeType===la?Fy(a,t):t.nodeType===Bn||By(a,t))}}function O_(e,t,a,i,u){(u||t[rm]!==!0)&&(i.nodeType===la?Fy(a,i):i.nodeType===Bn||By(a,i))}function N_(e,t,a){Hy(e,t)}function M_(e,t){Iy(e,t)}function A_(e,t,a){{var i=e.parentNode;i!==null&&Hy(i,t)}}function U_(e,t){{var a=e.parentNode;a!==null&&Iy(a,t)}}function z_(e,t,a,i,u,c){(c||t[rm]!==!0)&&Hy(a,i)}function j_(e,t,a,i,u){(u||t[rm]!==!0)&&Iy(a,i)}function P_(e){E("An error occurred during hydration. The server HTML was replaced with client content in <%s>.",e.nodeName.toLowerCase())}function F_(e){Np(e)}var Bf=Math.random().toString(36).slice(2),Hf="__reactFiber$"+Bf,Ky="__reactProps$"+Bf,Hp="__reactContainer$"+Bf,Xy="__reactEvents$"+Bf,B_="__reactListeners$"+Bf,H_="__reactHandles$"+Bf;function I_(e){delete e[Hf],delete e[Ky],delete e[Xy],delete e[B_],delete e[H_]}function Ip(e,t){t[Hf]=e}function um(e,t){t[Hp]=e}function J0(e){e[Hp]=null}function Vp(e){return!!e[Hp]}function ac(e){var t=e[Hf];if(t)return t;for(var a=e.parentNode;a;){if(t=a[Hp]||a[Hf],t){var i=t.alternate;if(t.child!==null||i!==null&&i.child!==null)for(var u=Z0(e);u!==null;){var c=u[Hf];if(c)return c;u=Z0(u)}return t}e=a,a=e.parentNode}return null}function Qo(e){var t=e[Hf]||e[Hp];return t&&(t.tag===ue||t.tag===be||t.tag===_e||t.tag===F)?t:null}function If(e){if(e.tag===ue||e.tag===be)return e.stateNode;throw new Error("getNodeFromInstance: Invalid argument.")}function om(e){return e[Ky]||null}function Zy(e,t){e[Ky]=t}function V_(e){var t=e[Xy];return t===void 0&&(t=e[Xy]=new Set),t}var ew={},tw=v.ReactDebugCurrentFrame;function sm(e){if(e){var t=e._owner,a=bi(e.type,e._source,t?t.type:null);tw.setExtraStackFrame(a)}else tw.setExtraStackFrame(null)}function ll(e,t,a,i,u){{var c=Function.call.bind(tr);for(var d in e)if(c(e,d)){var m=void 0;try{if(typeof e[d]!="function"){var g=Error((i||"React class")+": "+a+" type `"+d+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[d]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw g.name="Invariant Violation",g}m=e[d](t,d,i,a,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(C){m=C}m&&!(m instanceof Error)&&(sm(u),E("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",i||"React class",a,d,typeof m),sm(null)),m instanceof Error&&!(m.message in ew)&&(ew[m.message]=!0,sm(u),E("Failed %s type: %s",a,m.message),sm(null))}}}var Jy=[],cm;cm=[];var Vu=-1;function Go(e){return{current:e}}function ha(e,t){if(Vu<0){E("Unexpected pop.");return}t!==cm[Vu]&&E("Unexpected Fiber popped."),e.current=Jy[Vu],Jy[Vu]=null,cm[Vu]=null,Vu--}function ma(e,t,a){Vu++,Jy[Vu]=e.current,cm[Vu]=a,e.current=t}var eS;eS={};var hi={};Object.freeze(hi);var $u=Go(hi),Zl=Go(!1),tS=hi;function Vf(e,t,a){return a&&Jl(t)?tS:$u.current}function nw(e,t,a){{var i=e.stateNode;i.__reactInternalMemoizedUnmaskedChildContext=t,i.__reactInternalMemoizedMaskedChildContext=a}}function $f(e,t){{var a=e.type,i=a.contextTypes;if(!i)return hi;var u=e.stateNode;if(u&&u.__reactInternalMemoizedUnmaskedChildContext===t)return u.__reactInternalMemoizedMaskedChildContext;var c={};for(var d in i)c[d]=t[d];{var m=ct(e)||"Unknown";ll(i,c,"context",m)}return u&&nw(e,t,c),c}}function fm(){return Zl.current}function Jl(e){{var t=e.childContextTypes;return t!=null}}function dm(e){ha(Zl,e),ha($u,e)}function nS(e){ha(Zl,e),ha($u,e)}function rw(e,t,a){{if($u.current!==hi)throw new Error("Unexpected context found on stack. This error is likely caused by a bug in React. Please file an issue.");ma($u,t,e),ma(Zl,a,e)}}function aw(e,t,a){{var i=e.stateNode,u=t.childContextTypes;if(typeof i.getChildContext!="function"){{var c=ct(e)||"Unknown";eS[c]||(eS[c]=!0,E("%s.childContextTypes is specified but there is no getChildContext() method on the instance. You can either define getChildContext() on %s or remove childContextTypes from it.",c,c))}return a}var d=i.getChildContext();for(var m in d)if(!(m in u))throw new Error((ct(e)||"Unknown")+'.getChildContext(): key "'+m+'" is not defined in childContextTypes.');{var g=ct(e)||"Unknown";ll(u,d,"child context",g)}return xt({},a,d)}}function pm(e){{var t=e.stateNode,a=t&&t.__reactInternalMemoizedMergedChildContext||hi;return tS=$u.current,ma($u,a,e),ma(Zl,Zl.current,e),!0}}function iw(e,t,a){{var i=e.stateNode;if(!i)throw new Error("Expected to have an instance by this point. This error is likely caused by a bug in React. Please file an issue.");if(a){var u=aw(e,t,tS);i.__reactInternalMemoizedMergedChildContext=u,ha(Zl,e),ha($u,e),ma($u,u,e),ma(Zl,a,e)}else ha(Zl,e),ma(Zl,a,e)}}function $_(e){{if(!Wd(e)||e.tag!==G)throw new Error("Expected subtree parent to be a mounted class component. This error is likely caused by a bug in React. Please file an issue.");var t=e;do{switch(t.tag){case F:return t.stateNode.context;case G:{var a=t.type;if(Jl(a))return t.stateNode.__reactInternalMemoizedMergedChildContext;break}}t=t.return}while(t!==null);throw new Error("Found unexpected detached subtree parent. This error is likely caused by a bug in React. Please file an issue.")}}var qo=0,vm=1,Yu=null,rS=!1,aS=!1;function lw(e){Yu===null?Yu=[e]:Yu.push(e)}function Y_(e){rS=!0,lw(e)}function uw(){rS&&Ko()}function Ko(){if(!aS&&Yu!==null){aS=!0;var e=0,t=Ka();try{var a=!0,i=Yu;for(qn(Dr);e<i.length;e++){var u=i[e];do u=u(a);while(u!==null)}Yu=null,rS=!1}catch(c){throw Yu!==null&&(Yu=Yu.slice(e+1)),$c(Wc,Ko),c}finally{qn(t),aS=!1}}return null}var Yf=[],Wf=0,hm=null,mm=0,Mi=[],Ai=0,ic=null,Wu=1,Qu="";function W_(e){return uc(),(e.flags&Vd)!==$e}function Q_(e){return uc(),mm}function G_(){var e=Qu,t=Wu,a=t&~q_(t);return a.toString(32)+e}function lc(e,t){uc(),Yf[Wf++]=mm,Yf[Wf++]=hm,hm=e,mm=t}function ow(e,t,a){uc(),Mi[Ai++]=Wu,Mi[Ai++]=Qu,Mi[Ai++]=ic,ic=e;var i=Wu,u=Qu,c=gm(i)-1,d=i&~(1<<c),m=a+1,g=gm(t)+c;if(g>30){var C=c-c%5,w=(1<<C)-1,z=(d&w).toString(32),M=d>>C,V=c-C,Y=gm(t)+V,K=m<<V,Re=K|M,We=z+u;Wu=1<<Y|Re,Qu=We}else{var Fe=m<<c,zt=Fe|d,Dt=u;Wu=1<<g|zt,Qu=Dt}}function iS(e){uc();var t=e.return;if(t!==null){var a=1,i=0;lc(e,a),ow(e,a,i)}}function gm(e){return 32-Zc(e)}function q_(e){return 1<<gm(e)-1}function lS(e){for(;e===hm;)hm=Yf[--Wf],Yf[Wf]=null,mm=Yf[--Wf],Yf[Wf]=null;for(;e===ic;)ic=Mi[--Ai],Mi[Ai]=null,Qu=Mi[--Ai],Mi[Ai]=null,Wu=Mi[--Ai],Mi[Ai]=null}function K_(){return uc(),ic!==null?{id:Wu,overflow:Qu}:null}function X_(e,t){uc(),Mi[Ai++]=Wu,Mi[Ai++]=Qu,Mi[Ai++]=ic,Wu=t.id,Qu=t.overflow,ic=e}function uc(){Vr()||E("Expected to be hydrating. This is a bug in React. Please file an issue.")}var Ir=null,Ui=null,ul=!1,oc=!1,Xo=null;function Z_(){ul&&E("We should not be hydrating here. This is a bug in React. Please file a bug.")}function sw(){oc=!0}function J_(){return oc}function eD(e){var t=e.stateNode.containerInfo;return Ui=y_(t),Ir=e,ul=!0,Xo=null,oc=!1,!0}function tD(e,t,a){return Ui=S_(t),Ir=e,ul=!0,Xo=null,oc=!1,a!==null&&X_(e,a),!0}function cw(e,t){switch(e.tag){case F:{D_(e.stateNode.containerInfo,t);break}case ue:{var a=(e.mode&Tt)!==Ke;O_(e.type,e.memoizedProps,e.stateNode,t,a);break}case _e:{var i=e.memoizedState;i.dehydrated!==null&&L_(i.dehydrated,t);break}}}function fw(e,t){cw(e,t);var a=aN();a.stateNode=t,a.return=e;var i=e.deletions;i===null?(e.deletions=[a],e.flags|=Wt):i.push(a)}function uS(e,t){{if(oc)return;switch(e.tag){case F:{var a=e.stateNode.containerInfo;switch(t.tag){case ue:var i=t.type;t.pendingProps,N_(a,i);break;case be:var u=t.pendingProps;M_(a,u);break}break}case ue:{var c=e.type,d=e.memoizedProps,m=e.stateNode;switch(t.tag){case ue:{var g=t.type,C=t.pendingProps,w=(e.mode&Tt)!==Ke;z_(c,d,m,g,C,w);break}case be:{var z=t.pendingProps,M=(e.mode&Tt)!==Ke;j_(c,d,m,z,M);break}}break}case _e:{var V=e.memoizedState,Y=V.dehydrated;if(Y!==null)switch(t.tag){case ue:var K=t.type;t.pendingProps,A_(Y,K);break;case be:var Re=t.pendingProps;U_(Y,Re);break}break}default:return}}}function dw(e,t){t.flags=t.flags&~Ya|hn,uS(e,t)}function pw(e,t){switch(e.tag){case ue:{var a=e.type;e.pendingProps;var i=d_(t,a);return i!==null?(e.stateNode=i,Ir=e,Ui=g_(i),!0):!1}case be:{var u=e.pendingProps,c=p_(t,u);return c!==null?(e.stateNode=c,Ir=e,Ui=null,!0):!1}case _e:{var d=v_(t);if(d!==null){var m={dehydrated:d,treeContext:K_(),retryLane:pa};e.memoizedState=m;var g=iN(d);return g.return=e,e.child=g,Ir=e,Ui=null,!0}return!1}default:return!1}}function oS(e){return(e.mode&Tt)!==Ke&&(e.flags&at)===$e}function sS(e){throw new Error("Hydration failed because the initial UI does not match what was rendered on the server.")}function cS(e){if(ul){var t=Ui;if(!t){oS(e)&&(uS(Ir,e),sS()),dw(Ir,e),ul=!1,Ir=e;return}var a=t;if(!pw(e,t)){oS(e)&&(uS(Ir,e),sS()),t=Bp(a);var i=Ir;if(!t||!pw(e,t)){dw(Ir,e),ul=!1,Ir=e;return}fw(i,a)}}}function nD(e,t,a){var i=e.stateNode,u=!oc,c=E_(i,e.type,e.memoizedProps,t,a,e,u);return e.updateQueue=c,c!==null}function rD(e){var t=e.stateNode,a=e.memoizedProps,i=C_(t,a,e);if(i){var u=Ir;if(u!==null)switch(u.tag){case F:{var c=u.stateNode.containerInfo,d=(u.mode&Tt)!==Ke;k_(c,t,a,d);break}case ue:{var m=u.type,g=u.memoizedProps,C=u.stateNode,w=(u.mode&Tt)!==Ke;__(m,g,C,t,a,w);break}}}return i}function aD(e){var t=e.memoizedState,a=t!==null?t.dehydrated:null;if(!a)throw new Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");w_(a,e)}function iD(e){var t=e.memoizedState,a=t!==null?t.dehydrated:null;if(!a)throw new Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");return x_(a)}function vw(e){for(var t=e.return;t!==null&&t.tag!==ue&&t.tag!==F&&t.tag!==_e;)t=t.return;Ir=t}function ym(e){if(e!==Ir)return!1;if(!ul)return vw(e),ul=!0,!1;if(e.tag!==F&&(e.tag!==ue||R_(e.type)&&!Yy(e.type,e.memoizedProps))){var t=Ui;if(t)if(oS(e))hw(e),sS();else for(;t;)fw(e,t),t=Bp(t)}return vw(e),e.tag===_e?Ui=iD(e):Ui=Ir?Bp(e.stateNode):null,!0}function lD(){return ul&&Ui!==null}function hw(e){for(var t=Ui;t;)cw(e,t),t=Bp(t)}function Qf(){Ir=null,Ui=null,ul=!1,oc=!1}function mw(){Xo!==null&&(cb(Xo),Xo=null)}function Vr(){return ul}function fS(e){Xo===null?Xo=[e]:Xo.push(e)}var uD=v.ReactCurrentBatchConfig,oD=null;function sD(){return uD.transition}var ol={recordUnsafeLifecycleWarnings:function(e,t){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(e,t){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}};{var cD=function(e){for(var t=null,a=e;a!==null;)a.mode&kn&&(t=a),a=a.return;return t},sc=function(e){var t=[];return e.forEach(function(a){t.push(a)}),t.sort().join(", ")},$p=[],Yp=[],Wp=[],Qp=[],Gp=[],qp=[],cc=new Set;ol.recordUnsafeLifecycleWarnings=function(e,t){cc.has(e.type)||(typeof t.componentWillMount=="function"&&t.componentWillMount.__suppressDeprecationWarning!==!0&&$p.push(e),e.mode&kn&&typeof t.UNSAFE_componentWillMount=="function"&&Yp.push(e),typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&Wp.push(e),e.mode&kn&&typeof t.UNSAFE_componentWillReceiveProps=="function"&&Qp.push(e),typeof t.componentWillUpdate=="function"&&t.componentWillUpdate.__suppressDeprecationWarning!==!0&&Gp.push(e),e.mode&kn&&typeof t.UNSAFE_componentWillUpdate=="function"&&qp.push(e))},ol.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;$p.length>0&&($p.forEach(function(M){e.add(ct(M)||"Component"),cc.add(M.type)}),$p=[]);var t=new Set;Yp.length>0&&(Yp.forEach(function(M){t.add(ct(M)||"Component"),cc.add(M.type)}),Yp=[]);var a=new Set;Wp.length>0&&(Wp.forEach(function(M){a.add(ct(M)||"Component"),cc.add(M.type)}),Wp=[]);var i=new Set;Qp.length>0&&(Qp.forEach(function(M){i.add(ct(M)||"Component"),cc.add(M.type)}),Qp=[]);var u=new Set;Gp.length>0&&(Gp.forEach(function(M){u.add(ct(M)||"Component"),cc.add(M.type)}),Gp=[]);var c=new Set;if(qp.length>0&&(qp.forEach(function(M){c.add(ct(M)||"Component"),cc.add(M.type)}),qp=[]),t.size>0){var d=sc(t);E(`Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
144
|
+
|
|
145
|
+
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
146
|
+
|
|
147
|
+
Please update the following components: %s`,d)}if(i.size>0){var m=sc(i);E(`Using UNSAFE_componentWillReceiveProps in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
148
|
+
|
|
149
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
150
|
+
* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://reactjs.org/link/derived-state
|
|
151
|
+
|
|
152
|
+
Please update the following components: %s`,m)}if(c.size>0){var g=sc(c);E(`Using UNSAFE_componentWillUpdate in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
153
|
+
|
|
154
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
155
|
+
|
|
156
|
+
Please update the following components: %s`,g)}if(e.size>0){var C=sc(e);j(`componentWillMount has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
157
|
+
|
|
158
|
+
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
159
|
+
* Rename componentWillMount to UNSAFE_componentWillMount to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
|
|
160
|
+
|
|
161
|
+
Please update the following components: %s`,C)}if(a.size>0){var w=sc(a);j(`componentWillReceiveProps has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
162
|
+
|
|
163
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
164
|
+
* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://reactjs.org/link/derived-state
|
|
165
|
+
* Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
|
|
166
|
+
|
|
167
|
+
Please update the following components: %s`,w)}if(u.size>0){var z=sc(u);j(`componentWillUpdate has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
168
|
+
|
|
169
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
170
|
+
* Rename componentWillUpdate to UNSAFE_componentWillUpdate to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
|
|
171
|
+
|
|
172
|
+
Please update the following components: %s`,z)}};var Sm=new Map,gw=new Set;ol.recordLegacyContextWarning=function(e,t){var a=cD(e);if(a===null){E("Expected to find a StrictMode component in a strict mode tree. This error is likely caused by a bug in React. Please file an issue.");return}if(!gw.has(e.type)){var i=Sm.get(a);(e.type.contextTypes!=null||e.type.childContextTypes!=null||t!==null&&typeof t.getChildContext=="function")&&(i===void 0&&(i=[],Sm.set(a,i)),i.push(e))}},ol.flushLegacyContextWarning=function(){Sm.forEach(function(e,t){if(e.length!==0){var a=e[0],i=new Set;e.forEach(function(c){i.add(ct(c)||"Component"),gw.add(c.type)});var u=sc(i);try{Xt(a),E(`Legacy context API has been detected within a strict-mode tree.
|
|
173
|
+
|
|
174
|
+
The old API will be supported in all 16.x releases, but applications using it should migrate to the new version.
|
|
175
|
+
|
|
176
|
+
Please update the following components: %s
|
|
177
|
+
|
|
178
|
+
Learn more about this warning here: https://reactjs.org/link/legacy-context`,u)}finally{Ln()}}})},ol.discardPendingWarnings=function(){$p=[],Yp=[],Wp=[],Qp=[],Gp=[],qp=[],Sm=new Map}}function sl(e,t){if(e&&e.defaultProps){var a=xt({},t),i=e.defaultProps;for(var u in i)a[u]===void 0&&(a[u]=i[u]);return a}return t}var dS=Go(null),pS;pS={};var Em=null,Gf=null,vS=null,Cm=!1;function wm(){Em=null,Gf=null,vS=null,Cm=!1}function yw(){Cm=!0}function Sw(){Cm=!1}function Ew(e,t,a){ma(dS,t._currentValue,e),t._currentValue=a,t._currentRenderer!==void 0&&t._currentRenderer!==null&&t._currentRenderer!==pS&&E("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),t._currentRenderer=pS}function hS(e,t){var a=dS.current;ha(dS,t),e._currentValue=a}function mS(e,t,a){for(var i=e;i!==null;){var u=i.alternate;if(Nu(i.childLanes,t)?u!==null&&!Nu(u.childLanes,t)&&(u.childLanes=yt(u.childLanes,t)):(i.childLanes=yt(i.childLanes,t),u!==null&&(u.childLanes=yt(u.childLanes,t))),i===a)break;i=i.return}i!==a&&E("Expected to find the propagation root when scheduling context work. This error is likely caused by a bug in React. Please file an issue.")}function fD(e,t,a){dD(e,t,a)}function dD(e,t,a){var i=e.child;for(i!==null&&(i.return=e);i!==null;){var u=void 0,c=i.dependencies;if(c!==null){u=i.child;for(var d=c.firstContext;d!==null;){if(d.context===t){if(i.tag===G){var m=Gn(a),g=Gu(sn,m);g.tag=bm;var C=i.updateQueue;if(C!==null){var w=C.shared,z=w.pending;z===null?g.next=g:(g.next=z.next,z.next=g),w.pending=g}}i.lanes=yt(i.lanes,a);var M=i.alternate;M!==null&&(M.lanes=yt(M.lanes,a)),mS(i.return,a,e),c.lanes=yt(c.lanes,a);break}d=d.next}}else if(i.tag===Qe)u=i.type===e.type?null:i.child;else if(i.tag===jt){var V=i.return;if(V===null)throw new Error("We just came from a parent so we must have had a parent. This is a bug in React.");V.lanes=yt(V.lanes,a);var Y=V.alternate;Y!==null&&(Y.lanes=yt(Y.lanes,a)),mS(V,a,e),u=i.sibling}else u=i.child;if(u!==null)u.return=i;else for(u=i;u!==null;){if(u===e){u=null;break}var K=u.sibling;if(K!==null){K.return=u.return,u=K;break}u=u.return}i=u}}function qf(e,t){Em=e,Gf=null,vS=null;var a=e.dependencies;if(a!==null){var i=a.firstContext;i!==null&&(va(a.lanes,t)&&sv(),a.firstContext=null)}}function cr(e){Cm&&E("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");var t=e._currentValue;if(vS!==e){var a={context:e,memoizedValue:t,next:null};if(Gf===null){if(Em===null)throw new Error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");Gf=a,Em.dependencies={lanes:Z,firstContext:a}}else Gf=Gf.next=a}return t}var fc=null;function gS(e){fc===null?fc=[e]:fc.push(e)}function pD(){if(fc!==null){for(var e=0;e<fc.length;e++){var t=fc[e],a=t.interleaved;if(a!==null){t.interleaved=null;var i=a.next,u=t.pending;if(u!==null){var c=u.next;u.next=i,a.next=c}t.pending=a}}fc=null}}function Cw(e,t,a,i){var u=t.interleaved;return u===null?(a.next=a,gS(t)):(a.next=u.next,u.next=a),t.interleaved=a,xm(e,i)}function vD(e,t,a,i){var u=t.interleaved;u===null?(a.next=a,gS(t)):(a.next=u.next,u.next=a),t.interleaved=a}function hD(e,t,a,i){var u=t.interleaved;return u===null?(a.next=a,gS(t)):(a.next=u.next,u.next=a),t.interleaved=a,xm(e,i)}function ti(e,t){return xm(e,t)}var mD=xm;function xm(e,t){e.lanes=yt(e.lanes,t);var a=e.alternate;a!==null&&(a.lanes=yt(a.lanes,t)),a===null&&(e.flags&(hn|Ya))!==$e&&wb(e);for(var i=e,u=e.return;u!==null;)u.childLanes=yt(u.childLanes,t),a=u.alternate,a!==null?a.childLanes=yt(a.childLanes,t):(u.flags&(hn|Ya))!==$e&&wb(e),i=u,u=u.return;if(i.tag===F){var c=i.stateNode;return c}else return null}var ww=0,xw=1,bm=2,yS=3,Tm=!1,SS,Rm;SS=!1,Rm=null;function ES(e){var t={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:Z},effects:null};e.updateQueue=t}function bw(e,t){var a=t.updateQueue,i=e.updateQueue;if(a===i){var u={baseState:i.baseState,firstBaseUpdate:i.firstBaseUpdate,lastBaseUpdate:i.lastBaseUpdate,shared:i.shared,effects:i.effects};t.updateQueue=u}}function Gu(e,t){var a={eventTime:e,lane:t,tag:ww,payload:null,callback:null,next:null};return a}function Zo(e,t,a){var i=e.updateQueue;if(i===null)return null;var u=i.shared;if(Rm===u&&!SS&&(E("An update (setState, replaceState, or forceUpdate) was scheduled from inside an update function. Update functions should be pure, with zero side-effects. Consider using componentDidUpdate or a callback."),SS=!0),mO()){var c=u.pending;return c===null?t.next=t:(t.next=c.next,c.next=t),u.pending=t,mD(e,a)}else return hD(e,u,t,a)}function km(e,t,a){var i=t.updateQueue;if(i!==null){var u=i.shared;if(ip(a)){var c=u.lanes;c=up(c,e.pendingLanes);var d=yt(c,a);u.lanes=d,No(e,d)}}}function CS(e,t){var a=e.updateQueue,i=e.alternate;if(i!==null){var u=i.updateQueue;if(a===u){var c=null,d=null,m=a.firstBaseUpdate;if(m!==null){var g=m;do{var C={eventTime:g.eventTime,lane:g.lane,tag:g.tag,payload:g.payload,callback:g.callback,next:null};d===null?c=d=C:(d.next=C,d=C),g=g.next}while(g!==null);d===null?c=d=t:(d.next=t,d=t)}else c=d=t;a={baseState:u.baseState,firstBaseUpdate:c,lastBaseUpdate:d,shared:u.shared,effects:u.effects},e.updateQueue=a;return}}var w=a.lastBaseUpdate;w===null?a.firstBaseUpdate=t:w.next=t,a.lastBaseUpdate=t}function gD(e,t,a,i,u,c){switch(a.tag){case xw:{var d=a.payload;if(typeof d=="function"){yw();var m=d.call(c,i,u);{if(e.mode&kn){Qn(!0);try{d.call(c,i,u)}finally{Qn(!1)}}Sw()}return m}return d}case yS:e.flags=e.flags&~ir|at;case ww:{var g=a.payload,C;if(typeof g=="function"){yw(),C=g.call(c,i,u);{if(e.mode&kn){Qn(!0);try{g.call(c,i,u)}finally{Qn(!1)}}Sw()}}else C=g;return C==null?i:xt({},i,C)}case bm:return Tm=!0,i}return i}function _m(e,t,a,i){var u=e.updateQueue;Tm=!1,Rm=u.shared;var c=u.firstBaseUpdate,d=u.lastBaseUpdate,m=u.shared.pending;if(m!==null){u.shared.pending=null;var g=m,C=g.next;g.next=null,d===null?c=C:d.next=C,d=g;var w=e.alternate;if(w!==null){var z=w.updateQueue,M=z.lastBaseUpdate;M!==d&&(M===null?z.firstBaseUpdate=C:M.next=C,z.lastBaseUpdate=g)}}if(c!==null){var V=u.baseState,Y=Z,K=null,Re=null,We=null,Fe=c;do{var zt=Fe.lane,Dt=Fe.eventTime;if(Nu(i,zt)){if(We!==null){var X={eventTime:Dt,lane:At,tag:Fe.tag,payload:Fe.payload,callback:Fe.callback,next:null};We=We.next=X}V=gD(e,u,Fe,V,t,a);var H=Fe.callback;if(H!==null&&Fe.lane!==At){e.flags|=ki;var se=u.effects;se===null?u.effects=[Fe]:se.push(Fe)}}else{var B={eventTime:Dt,lane:zt,tag:Fe.tag,payload:Fe.payload,callback:Fe.callback,next:null};We===null?(Re=We=B,K=V):We=We.next=B,Y=yt(Y,zt)}if(Fe=Fe.next,Fe===null){if(m=u.shared.pending,m===null)break;var ke=m,Ee=ke.next;ke.next=null,Fe=Ee,u.lastBaseUpdate=ke,u.shared.pending=null}}while(!0);We===null&&(K=V),u.baseState=K,u.firstBaseUpdate=Re,u.lastBaseUpdate=We;var rt=u.shared.interleaved;if(rt!==null){var pt=rt;do Y=yt(Y,pt.lane),pt=pt.next;while(pt!==rt)}else c===null&&(u.shared.lanes=Z);Cv(Y),e.lanes=Y,e.memoizedState=V}Rm=null}function yD(e,t){if(typeof e!="function")throw new Error("Invalid argument passed as callback. Expected a function. Instead "+("received: "+e));e.call(t)}function Tw(){Tm=!1}function Dm(){return Tm}function Rw(e,t,a){var i=t.effects;if(t.effects=null,i!==null)for(var u=0;u<i.length;u++){var c=i[u],d=c.callback;d!==null&&(c.callback=null,yD(d,a))}}var wS={},kw=new s.Component().refs,xS,bS,TS,RS,kS,_w,Lm,_S,DS,LS;{xS=new Set,bS=new Set,TS=new Set,RS=new Set,_S=new Set,kS=new Set,DS=new Set,LS=new Set;var Dw=new Set;Lm=function(e,t){if(!(e===null||typeof e=="function")){var a=t+"_"+e;Dw.has(a)||(Dw.add(a),E("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e))}},_w=function(e,t){if(t===void 0){var a=Ft(e)||"Component";kS.has(a)||(kS.add(a),E("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",a))}},Object.defineProperty(wS,"_processChildContext",{enumerable:!1,value:function(){throw new Error("_processChildContext is not available in React 16+. This likely means you have multiple copies of React and are attempting to nest a React 15 tree inside a React 16 tree using unstable_renderSubtreeIntoContainer, which isn't supported. Try to make sure you have only one copy of React (and ideally, switch to ReactDOM.createPortal).")}}),Object.freeze(wS)}function OS(e,t,a,i){var u=e.memoizedState,c=a(i,u);{if(e.mode&kn){Qn(!0);try{c=a(i,u)}finally{Qn(!1)}}_w(t,c)}var d=c==null?u:xt({},u,c);if(e.memoizedState=d,e.lanes===Z){var m=e.updateQueue;m.baseState=d}}var NS={isMounted:_a,enqueueSetState:function(e,t,a){var i=Va(e),u=Aa(),c=ls(i),d=Gu(u,c);d.payload=t,a!=null&&(Lm(a,"setState"),d.callback=a);var m=Zo(i,d,c);m!==null&&(xr(m,i,c,u),km(m,i,c)),Vl(i,c)},enqueueReplaceState:function(e,t,a){var i=Va(e),u=Aa(),c=ls(i),d=Gu(u,c);d.tag=xw,d.payload=t,a!=null&&(Lm(a,"replaceState"),d.callback=a);var m=Zo(i,d,c);m!==null&&(xr(m,i,c,u),km(m,i,c)),Vl(i,c)},enqueueForceUpdate:function(e,t){var a=Va(e),i=Aa(),u=ls(a),c=Gu(i,u);c.tag=bm,t!=null&&(Lm(t,"forceUpdate"),c.callback=t);var d=Zo(a,c,u);d!==null&&(xr(d,a,u,i),km(d,a,u)),tp(a,u)}};function Lw(e,t,a,i,u,c,d){var m=e.stateNode;if(typeof m.shouldComponentUpdate=="function"){var g=m.shouldComponentUpdate(i,c,d);{if(e.mode&kn){Qn(!0);try{g=m.shouldComponentUpdate(i,c,d)}finally{Qn(!1)}}g===void 0&&E("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",Ft(t)||"Component")}return g}return t.prototype&&t.prototype.isPureReactComponent?!Ie(a,i)||!Ie(u,c):!0}function SD(e,t,a){var i=e.stateNode;{var u=Ft(t)||"Component",c=i.render;c||(t.prototype&&typeof t.prototype.render=="function"?E("%s(...): No `render` method found on the returned component instance: did you accidentally return an object from the constructor?",u):E("%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.",u)),i.getInitialState&&!i.getInitialState.isReactClassApproved&&!i.state&&E("getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",u),i.getDefaultProps&&!i.getDefaultProps.isReactClassApproved&&E("getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",u),i.propTypes&&E("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",u),i.contextType&&E("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",u),i.contextTypes&&E("contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.",u),t.contextType&&t.contextTypes&&!DS.has(t)&&(DS.add(t),E("%s declares both contextTypes and contextType static properties. The legacy contextTypes property will be ignored.",u)),typeof i.componentShouldUpdate=="function"&&E("%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",u),t.prototype&&t.prototype.isPureReactComponent&&typeof i.shouldComponentUpdate<"u"&&E("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",Ft(t)||"A pure component"),typeof i.componentDidUnmount=="function"&&E("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",u),typeof i.componentDidReceiveProps=="function"&&E("%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().",u),typeof i.componentWillRecieveProps=="function"&&E("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",u),typeof i.UNSAFE_componentWillRecieveProps=="function"&&E("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",u);var d=i.props!==a;i.props!==void 0&&d&&E("%s(...): When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",u,u),i.defaultProps&&E("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",u,u),typeof i.getSnapshotBeforeUpdate=="function"&&typeof i.componentDidUpdate!="function"&&!TS.has(t)&&(TS.add(t),E("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",Ft(t))),typeof i.getDerivedStateFromProps=="function"&&E("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",u),typeof i.getDerivedStateFromError=="function"&&E("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",u),typeof t.getSnapshotBeforeUpdate=="function"&&E("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",u);var m=i.state;m&&(typeof m!="object"||Lt(m))&&E("%s.state: must be set to an object or null",u),typeof i.getChildContext=="function"&&typeof t.childContextTypes!="object"&&E("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",u)}}function Ow(e,t){t.updater=NS,e.stateNode=t,wo(t,e),t._reactInternalInstance=wS}function Nw(e,t,a){var i=!1,u=hi,c=hi,d=t.contextType;if("contextType"in t){var m=d===null||d!==void 0&&d.$$typeof===ve&&d._context===void 0;if(!m&&!LS.has(t)){LS.add(t);var g="";d===void 0?g=" However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file.":typeof d!="object"?g=" However, it is set to a "+typeof d+".":d.$$typeof===ae?g=" Did you accidentally pass the Context.Provider instead?":d._context!==void 0?g=" Did you accidentally pass the Context.Consumer instead?":g=" However, it is set to an object with keys {"+Object.keys(d).join(", ")+"}.",E("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",Ft(t)||"Component",g)}}if(typeof d=="object"&&d!==null)c=cr(d);else{u=Vf(e,t,!0);var C=t.contextTypes;i=C!=null,c=i?$f(e,u):hi}var w=new t(a,c);if(e.mode&kn){Qn(!0);try{w=new t(a,c)}finally{Qn(!1)}}var z=e.memoizedState=w.state!==null&&w.state!==void 0?w.state:null;Ow(e,w);{if(typeof t.getDerivedStateFromProps=="function"&&z===null){var M=Ft(t)||"Component";bS.has(M)||(bS.add(M),E("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.",M,w.state===null?"null":"undefined",M))}if(typeof t.getDerivedStateFromProps=="function"||typeof w.getSnapshotBeforeUpdate=="function"){var V=null,Y=null,K=null;if(typeof w.componentWillMount=="function"&&w.componentWillMount.__suppressDeprecationWarning!==!0?V="componentWillMount":typeof w.UNSAFE_componentWillMount=="function"&&(V="UNSAFE_componentWillMount"),typeof w.componentWillReceiveProps=="function"&&w.componentWillReceiveProps.__suppressDeprecationWarning!==!0?Y="componentWillReceiveProps":typeof w.UNSAFE_componentWillReceiveProps=="function"&&(Y="UNSAFE_componentWillReceiveProps"),typeof w.componentWillUpdate=="function"&&w.componentWillUpdate.__suppressDeprecationWarning!==!0?K="componentWillUpdate":typeof w.UNSAFE_componentWillUpdate=="function"&&(K="UNSAFE_componentWillUpdate"),V!==null||Y!==null||K!==null){var Re=Ft(t)||"Component",We=typeof t.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";RS.has(Re)||(RS.add(Re),E(`Unsafe legacy lifecycles will not be called for components using new component APIs.
|
|
179
|
+
|
|
180
|
+
%s uses %s but also contains the following legacy lifecycles:%s%s%s
|
|
181
|
+
|
|
182
|
+
The above lifecycles should be removed. Learn more about this warning here:
|
|
183
|
+
https://reactjs.org/link/unsafe-component-lifecycles`,Re,We,V!==null?`
|
|
184
|
+
`+V:"",Y!==null?`
|
|
185
|
+
`+Y:"",K!==null?`
|
|
186
|
+
`+K:""))}}}return i&&nw(e,u,c),w}function ED(e,t){var a=t.state;typeof t.componentWillMount=="function"&&t.componentWillMount(),typeof t.UNSAFE_componentWillMount=="function"&&t.UNSAFE_componentWillMount(),a!==t.state&&(E("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",ct(e)||"Component"),NS.enqueueReplaceState(t,t.state,null))}function Mw(e,t,a,i){var u=t.state;if(typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(a,i),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(a,i),t.state!==u){{var c=ct(e)||"Component";xS.has(c)||(xS.add(c),E("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",c))}NS.enqueueReplaceState(t,t.state,null)}}function MS(e,t,a,i){SD(e,t,a);var u=e.stateNode;u.props=a,u.state=e.memoizedState,u.refs=kw,ES(e);var c=t.contextType;if(typeof c=="object"&&c!==null)u.context=cr(c);else{var d=Vf(e,t,!0);u.context=$f(e,d)}{if(u.state===a){var m=Ft(t)||"Component";_S.has(m)||(_S.add(m),E("%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.",m))}e.mode&kn&&ol.recordLegacyContextWarning(e,u),ol.recordUnsafeLifecycleWarnings(e,u)}u.state=e.memoizedState;var g=t.getDerivedStateFromProps;if(typeof g=="function"&&(OS(e,t,g,a),u.state=e.memoizedState),typeof t.getDerivedStateFromProps!="function"&&typeof u.getSnapshotBeforeUpdate!="function"&&(typeof u.UNSAFE_componentWillMount=="function"||typeof u.componentWillMount=="function")&&(ED(e,u),_m(e,a,u,i),u.state=e.memoizedState),typeof u.componentDidMount=="function"){var C=gt;C|=oa,(e.mode&Ga)!==Ke&&(C|=sa),e.flags|=C}}function CD(e,t,a,i){var u=e.stateNode,c=e.memoizedProps;u.props=c;var d=u.context,m=t.contextType,g=hi;if(typeof m=="object"&&m!==null)g=cr(m);else{var C=Vf(e,t,!0);g=$f(e,C)}var w=t.getDerivedStateFromProps,z=typeof w=="function"||typeof u.getSnapshotBeforeUpdate=="function";!z&&(typeof u.UNSAFE_componentWillReceiveProps=="function"||typeof u.componentWillReceiveProps=="function")&&(c!==a||d!==g)&&Mw(e,u,a,g),Tw();var M=e.memoizedState,V=u.state=M;if(_m(e,a,u,i),V=e.memoizedState,c===a&&M===V&&!fm()&&!Dm()){if(typeof u.componentDidMount=="function"){var Y=gt;Y|=oa,(e.mode&Ga)!==Ke&&(Y|=sa),e.flags|=Y}return!1}typeof w=="function"&&(OS(e,t,w,a),V=e.memoizedState);var K=Dm()||Lw(e,t,c,a,M,V,g);if(K){if(!z&&(typeof u.UNSAFE_componentWillMount=="function"||typeof u.componentWillMount=="function")&&(typeof u.componentWillMount=="function"&&u.componentWillMount(),typeof u.UNSAFE_componentWillMount=="function"&&u.UNSAFE_componentWillMount()),typeof u.componentDidMount=="function"){var Re=gt;Re|=oa,(e.mode&Ga)!==Ke&&(Re|=sa),e.flags|=Re}}else{if(typeof u.componentDidMount=="function"){var We=gt;We|=oa,(e.mode&Ga)!==Ke&&(We|=sa),e.flags|=We}e.memoizedProps=a,e.memoizedState=V}return u.props=a,u.state=V,u.context=g,K}function wD(e,t,a,i,u){var c=t.stateNode;bw(e,t);var d=t.memoizedProps,m=t.type===t.elementType?d:sl(t.type,d);c.props=m;var g=t.pendingProps,C=c.context,w=a.contextType,z=hi;if(typeof w=="object"&&w!==null)z=cr(w);else{var M=Vf(t,a,!0);z=$f(t,M)}var V=a.getDerivedStateFromProps,Y=typeof V=="function"||typeof c.getSnapshotBeforeUpdate=="function";!Y&&(typeof c.UNSAFE_componentWillReceiveProps=="function"||typeof c.componentWillReceiveProps=="function")&&(d!==g||C!==z)&&Mw(t,c,i,z),Tw();var K=t.memoizedState,Re=c.state=K;if(_m(t,i,c,u),Re=t.memoizedState,d===g&&K===Re&&!fm()&&!Dm()&&!je)return typeof c.componentDidUpdate=="function"&&(d!==e.memoizedProps||K!==e.memoizedState)&&(t.flags|=gt),typeof c.getSnapshotBeforeUpdate=="function"&&(d!==e.memoizedProps||K!==e.memoizedState)&&(t.flags|=$a),!1;typeof V=="function"&&(OS(t,a,V,i),Re=t.memoizedState);var We=Dm()||Lw(t,a,m,i,K,Re,z)||je;return We?(!Y&&(typeof c.UNSAFE_componentWillUpdate=="function"||typeof c.componentWillUpdate=="function")&&(typeof c.componentWillUpdate=="function"&&c.componentWillUpdate(i,Re,z),typeof c.UNSAFE_componentWillUpdate=="function"&&c.UNSAFE_componentWillUpdate(i,Re,z)),typeof c.componentDidUpdate=="function"&&(t.flags|=gt),typeof c.getSnapshotBeforeUpdate=="function"&&(t.flags|=$a)):(typeof c.componentDidUpdate=="function"&&(d!==e.memoizedProps||K!==e.memoizedState)&&(t.flags|=gt),typeof c.getSnapshotBeforeUpdate=="function"&&(d!==e.memoizedProps||K!==e.memoizedState)&&(t.flags|=$a),t.memoizedProps=i,t.memoizedState=Re),c.props=i,c.state=Re,c.context=z,We}var AS,US,zS,jS,PS,Aw=function(e,t){};AS=!1,US=!1,zS={},jS={},PS={},Aw=function(e,t){if(!(e===null||typeof e!="object")&&!(!e._store||e._store.validated||e.key!=null)){if(typeof e._store!="object")throw new Error("React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue.");e._store.validated=!0;var a=ct(t)||"Component";jS[a]||(jS[a]=!0,E('Each child in a list should have a unique "key" prop. See https://reactjs.org/link/warning-keys for more information.'))}};function Kp(e,t,a){var i=a.ref;if(i!==null&&typeof i!="function"&&typeof i!="object"){if((e.mode&kn||nt)&&!(a._owner&&a._self&&a._owner.stateNode!==a._self)){var u=ct(e)||"Component";zS[u]||(E('A string ref, "%s", has been found within a strict mode tree. String refs are a source of potential bugs and should be avoided. We recommend using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',i),zS[u]=!0)}if(a._owner){var c=a._owner,d;if(c){var m=c;if(m.tag!==G)throw new Error("Function components cannot have string refs. We recommend using useRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref");d=m.stateNode}if(!d)throw new Error("Missing owner for string ref "+i+". This error is likely caused by a bug in React. Please file an issue.");var g=d;nr(i,"ref");var C=""+i;if(t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===C)return t.ref;var w=function(z){var M=g.refs;M===kw&&(M=g.refs={}),z===null?delete M[C]:M[C]=z};return w._stringRef=C,w}else{if(typeof i!="string")throw new Error("Expected ref to be a function, a string, an object returned by React.createRef(), or null.");if(!a._owner)throw new Error("Element ref was specified as a string ("+i+`) but no owner was set. This could happen for one of the following reasons:
|
|
187
|
+
1. You may be adding a ref to a function component
|
|
188
|
+
2. You may be adding a ref to a component that was not created inside a component's render method
|
|
189
|
+
3. You have multiple copies of React loaded
|
|
190
|
+
See https://reactjs.org/link/refs-must-have-owner for more information.`)}}return i}function Om(e,t){var a=Object.prototype.toString.call(t);throw new Error("Objects are not valid as a React child (found: "+(a==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":a)+"). If you meant to render a collection of children, use an array instead.")}function Nm(e){{var t=ct(e)||"Component";if(PS[t])return;PS[t]=!0,E("Functions are not valid as a React child. This may happen if you return a Component instead of <Component /> from render. Or maybe you meant to call this function rather than return it.")}}function Uw(e){var t=e._payload,a=e._init;return a(t)}function zw(e){function t(B,X){if(e){var H=B.deletions;H===null?(B.deletions=[X],B.flags|=Wt):H.push(X)}}function a(B,X){if(!e)return null;for(var H=X;H!==null;)t(B,H),H=H.sibling;return null}function i(B,X){for(var H=new Map,se=X;se!==null;)se.key!==null?H.set(se.key,se):H.set(se.index,se),se=se.sibling;return H}function u(B,X){var H=Sc(B,X);return H.index=0,H.sibling=null,H}function c(B,X,H){if(B.index=H,!e)return B.flags|=Vd,X;var se=B.alternate;if(se!==null){var ke=se.index;return ke<X?(B.flags|=hn,X):ke}else return B.flags|=hn,X}function d(B){return e&&B.alternate===null&&(B.flags|=hn),B}function m(B,X,H,se){if(X===null||X.tag!==be){var ke=fC(H,B.mode,se);return ke.return=B,ke}else{var Ee=u(X,H);return Ee.return=B,Ee}}function g(B,X,H,se){var ke=H.type;if(ke===Ta)return w(B,X,H.props.children,se,H.key);if(X!==null&&(X.elementType===ke||Rb(X,H)||typeof ke=="object"&&ke!==null&&ke.$$typeof===Ye&&Uw(ke)===X.type)){var Ee=u(X,H.props);return Ee.ref=Kp(B,X,H),Ee.return=B,Ee._debugSource=H._source,Ee._debugOwner=H._owner,Ee}var rt=cC(H,B.mode,se);return rt.ref=Kp(B,X,H),rt.return=B,rt}function C(B,X,H,se){if(X===null||X.tag!==ne||X.stateNode.containerInfo!==H.containerInfo||X.stateNode.implementation!==H.implementation){var ke=dC(H,B.mode,se);return ke.return=B,ke}else{var Ee=u(X,H.children||[]);return Ee.return=B,Ee}}function w(B,X,H,se,ke){if(X===null||X.tag!==Xe){var Ee=os(H,B.mode,se,ke);return Ee.return=B,Ee}else{var rt=u(X,H);return rt.return=B,rt}}function z(B,X,H){if(typeof X=="string"&&X!==""||typeof X=="number"){var se=fC(""+X,B.mode,H);return se.return=B,se}if(typeof X=="object"&&X!==null){switch(X.$$typeof){case Ei:{var ke=cC(X,B.mode,H);return ke.ref=Kp(B,null,X),ke.return=B,ke}case jr:{var Ee=dC(X,B.mode,H);return Ee.return=B,Ee}case Ye:{var rt=X._payload,pt=X._init;return z(B,pt(rt),H)}}if(Lt(X)||li(X)){var an=os(X,B.mode,H,null);return an.return=B,an}Om(B,X)}return typeof X=="function"&&Nm(B),null}function M(B,X,H,se){var ke=X!==null?X.key:null;if(typeof H=="string"&&H!==""||typeof H=="number")return ke!==null?null:m(B,X,""+H,se);if(typeof H=="object"&&H!==null){switch(H.$$typeof){case Ei:return H.key===ke?g(B,X,H,se):null;case jr:return H.key===ke?C(B,X,H,se):null;case Ye:{var Ee=H._payload,rt=H._init;return M(B,X,rt(Ee),se)}}if(Lt(H)||li(H))return ke!==null?null:w(B,X,H,se,null);Om(B,H)}return typeof H=="function"&&Nm(B),null}function V(B,X,H,se,ke){if(typeof se=="string"&&se!==""||typeof se=="number"){var Ee=B.get(H)||null;return m(X,Ee,""+se,ke)}if(typeof se=="object"&&se!==null){switch(se.$$typeof){case Ei:{var rt=B.get(se.key===null?H:se.key)||null;return g(X,rt,se,ke)}case jr:{var pt=B.get(se.key===null?H:se.key)||null;return C(X,pt,se,ke)}case Ye:var an=se._payload,Vt=se._init;return V(B,X,H,Vt(an),ke)}if(Lt(se)||li(se)){var Zn=B.get(H)||null;return w(X,Zn,se,ke,null)}Om(X,se)}return typeof se=="function"&&Nm(X),null}function Y(B,X,H){{if(typeof B!="object"||B===null)return X;switch(B.$$typeof){case Ei:case jr:Aw(B,H);var se=B.key;if(typeof se!="string")break;if(X===null){X=new Set,X.add(se);break}if(!X.has(se)){X.add(se);break}E("Encountered two children with the same key, `%s`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.",se);break;case Ye:var ke=B._payload,Ee=B._init;Y(Ee(ke),X,H);break}}return X}function K(B,X,H,se){for(var ke=null,Ee=0;Ee<H.length;Ee++){var rt=H[Ee];ke=Y(rt,ke,B)}for(var pt=null,an=null,Vt=X,Zn=0,$t=0,Vn=null;Vt!==null&&$t<H.length;$t++){Vt.index>$t?(Vn=Vt,Vt=null):Vn=Vt.sibling;var ya=M(B,Vt,H[$t],se);if(ya===null){Vt===null&&(Vt=Vn);break}e&&Vt&&ya.alternate===null&&t(B,Vt),Zn=c(ya,Zn,$t),an===null?pt=ya:an.sibling=ya,an=ya,Vt=Vn}if($t===H.length){if(a(B,Vt),Vr()){var Kr=$t;lc(B,Kr)}return pt}if(Vt===null){for(;$t<H.length;$t++){var gi=z(B,H[$t],se);gi!==null&&(Zn=c(gi,Zn,$t),an===null?pt=gi:an.sibling=gi,an=gi)}if(Vr()){var Ua=$t;lc(B,Ua)}return pt}for(var za=i(B,Vt);$t<H.length;$t++){var Sa=V(za,B,$t,H[$t],se);Sa!==null&&(e&&Sa.alternate!==null&&za.delete(Sa.key===null?$t:Sa.key),Zn=c(Sa,Zn,$t),an===null?pt=Sa:an.sibling=Sa,an=Sa)}if(e&&za.forEach(function(dd){return t(B,dd)}),Vr()){var eo=$t;lc(B,eo)}return pt}function Re(B,X,H,se){var ke=li(H);if(typeof ke!="function")throw new Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");{typeof Symbol=="function"&&H[Symbol.toStringTag]==="Generator"&&(US||E("Using Generators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. Keep in mind you might need to polyfill these features for older browsers."),US=!0),H.entries===ke&&(AS||E("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),AS=!0);var Ee=ke.call(H);if(Ee)for(var rt=null,pt=Ee.next();!pt.done;pt=Ee.next()){var an=pt.value;rt=Y(an,rt,B)}}var Vt=ke.call(H);if(Vt==null)throw new Error("An iterable object provided no iterator.");for(var Zn=null,$t=null,Vn=X,ya=0,Kr=0,gi=null,Ua=Vt.next();Vn!==null&&!Ua.done;Kr++,Ua=Vt.next()){Vn.index>Kr?(gi=Vn,Vn=null):gi=Vn.sibling;var za=M(B,Vn,Ua.value,se);if(za===null){Vn===null&&(Vn=gi);break}e&&Vn&&za.alternate===null&&t(B,Vn),ya=c(za,ya,Kr),$t===null?Zn=za:$t.sibling=za,$t=za,Vn=gi}if(Ua.done){if(a(B,Vn),Vr()){var Sa=Kr;lc(B,Sa)}return Zn}if(Vn===null){for(;!Ua.done;Kr++,Ua=Vt.next()){var eo=z(B,Ua.value,se);eo!==null&&(ya=c(eo,ya,Kr),$t===null?Zn=eo:$t.sibling=eo,$t=eo)}if(Vr()){var dd=Kr;lc(B,dd)}return Zn}for(var Rv=i(B,Vn);!Ua.done;Kr++,Ua=Vt.next()){var uu=V(Rv,B,Kr,Ua.value,se);uu!==null&&(e&&uu.alternate!==null&&Rv.delete(uu.key===null?Kr:uu.key),ya=c(uu,ya,Kr),$t===null?Zn=uu:$t.sibling=uu,$t=uu)}if(e&&Rv.forEach(function(zN){return t(B,zN)}),Vr()){var UN=Kr;lc(B,UN)}return Zn}function We(B,X,H,se){if(X!==null&&X.tag===be){a(B,X.sibling);var ke=u(X,H);return ke.return=B,ke}a(B,X);var Ee=fC(H,B.mode,se);return Ee.return=B,Ee}function Fe(B,X,H,se){for(var ke=H.key,Ee=X;Ee!==null;){if(Ee.key===ke){var rt=H.type;if(rt===Ta){if(Ee.tag===Xe){a(B,Ee.sibling);var pt=u(Ee,H.props.children);return pt.return=B,pt._debugSource=H._source,pt._debugOwner=H._owner,pt}}else if(Ee.elementType===rt||Rb(Ee,H)||typeof rt=="object"&&rt!==null&&rt.$$typeof===Ye&&Uw(rt)===Ee.type){a(B,Ee.sibling);var an=u(Ee,H.props);return an.ref=Kp(B,Ee,H),an.return=B,an._debugSource=H._source,an._debugOwner=H._owner,an}a(B,Ee);break}else t(B,Ee);Ee=Ee.sibling}if(H.type===Ta){var Vt=os(H.props.children,B.mode,se,H.key);return Vt.return=B,Vt}else{var Zn=cC(H,B.mode,se);return Zn.ref=Kp(B,X,H),Zn.return=B,Zn}}function zt(B,X,H,se){for(var ke=H.key,Ee=X;Ee!==null;){if(Ee.key===ke)if(Ee.tag===ne&&Ee.stateNode.containerInfo===H.containerInfo&&Ee.stateNode.implementation===H.implementation){a(B,Ee.sibling);var rt=u(Ee,H.children||[]);return rt.return=B,rt}else{a(B,Ee);break}else t(B,Ee);Ee=Ee.sibling}var pt=dC(H,B.mode,se);return pt.return=B,pt}function Dt(B,X,H,se){var ke=typeof H=="object"&&H!==null&&H.type===Ta&&H.key===null;if(ke&&(H=H.props.children),typeof H=="object"&&H!==null){switch(H.$$typeof){case Ei:return d(Fe(B,X,H,se));case jr:return d(zt(B,X,H,se));case Ye:var Ee=H._payload,rt=H._init;return Dt(B,X,rt(Ee),se)}if(Lt(H))return K(B,X,H,se);if(li(H))return Re(B,X,H,se);Om(B,H)}return typeof H=="string"&&H!==""||typeof H=="number"?d(We(B,X,""+H,se)):(typeof H=="function"&&Nm(B),a(B,X))}return Dt}var Kf=zw(!0),jw=zw(!1);function xD(e,t){if(e!==null&&t.child!==e.child)throw new Error("Resuming work not yet implemented.");if(t.child!==null){var a=t.child,i=Sc(a,a.pendingProps);for(t.child=i,i.return=t;a.sibling!==null;)a=a.sibling,i=i.sibling=Sc(a,a.pendingProps),i.return=t;i.sibling=null}}function bD(e,t){for(var a=e.child;a!==null;)JO(a,t),a=a.sibling}var Xp={},Jo=Go(Xp),Zp=Go(Xp),Mm=Go(Xp);function Am(e){if(e===Xp)throw new Error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue.");return e}function Pw(){var e=Am(Mm.current);return e}function FS(e,t){ma(Mm,t,e),ma(Zp,e,e),ma(Jo,Xp,e);var a=Pk(t);ha(Jo,e),ma(Jo,a,e)}function Xf(e){ha(Jo,e),ha(Zp,e),ha(Mm,e)}function BS(){var e=Am(Jo.current);return e}function Fw(e){Am(Mm.current);var t=Am(Jo.current),a=Fk(t,e.type);t!==a&&(ma(Zp,e,e),ma(Jo,a,e))}function HS(e){Zp.current===e&&(ha(Jo,e),ha(Zp,e))}var TD=0,Bw=1,Hw=1,Jp=2,cl=Go(TD);function IS(e,t){return(e&t)!==0}function Zf(e){return e&Bw}function VS(e,t){return e&Bw|t}function RD(e,t){return e|t}function es(e,t){ma(cl,t,e)}function Jf(e){ha(cl,e)}function kD(e,t){var a=e.memoizedState;return a!==null?a.dehydrated!==null:(e.memoizedProps,!0)}function Um(e){for(var t=e;t!==null;){if(t.tag===_e){var a=t.memoizedState;if(a!==null){var i=a.dehydrated;if(i===null||X0(i)||qy(i))return t}}else if(t.tag===wt&&t.memoizedProps.revealOrder!==void 0){var u=(t.flags&at)!==$e;if(u)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)return null;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var ni=0,mr=1,eu=2,gr=4,$r=8,$S=[];function YS(){for(var e=0;e<$S.length;e++){var t=$S[e];t._workInProgressVersionPrimary=null}$S.length=0}function _D(e,t){var a=t._getVersion,i=a(t._source);e.mutableSourceEagerHydrationData==null?e.mutableSourceEagerHydrationData=[t,i]:e.mutableSourceEagerHydrationData.push(t,i)}var xe=v.ReactCurrentDispatcher,ev=v.ReactCurrentBatchConfig,WS,ed;WS=new Set;var dc=Z,rn=null,yr=null,Sr=null,zm=!1,tv=!1,nv=0,DD=0,LD=25,ee=null,zi=null,ts=-1,QS=!1;function Jt(){{var e=ee;zi===null?zi=[e]:zi.push(e)}}function me(){{var e=ee;zi!==null&&(ts++,zi[ts]!==e&&OD(e))}}function td(e){e!=null&&!Lt(e)&&E("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",ee,typeof e)}function OD(e){{var t=ct(rn);if(!WS.has(t)&&(WS.add(t),zi!==null)){for(var a="",i=30,u=0;u<=ts;u++){for(var c=zi[u],d=u===ts?e:c,m=u+1+". "+c;m.length<i;)m+=" ";m+=d+`
|
|
191
|
+
`,a+=m}E(`React has detected a change in the order of Hooks called by %s. This will lead to bugs and errors if not fixed. For more information, read the Rules of Hooks: https://reactjs.org/link/rules-of-hooks
|
|
192
|
+
|
|
193
|
+
Previous render Next render
|
|
194
|
+
------------------------------------------------------
|
|
195
|
+
%s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
196
|
+
`,t,a)}}}function ga(){throw new Error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
|
197
|
+
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
198
|
+
2. You might be breaking the Rules of Hooks
|
|
199
|
+
3. You might have more than one copy of React in the same app
|
|
200
|
+
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function GS(e,t){if(QS)return!1;if(t===null)return E("%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.",ee),!1;e.length!==t.length&&E(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
|
|
201
|
+
|
|
202
|
+
Previous: %s
|
|
203
|
+
Incoming: %s`,ee,"["+t.join(", ")+"]","["+e.join(", ")+"]");for(var a=0;a<t.length&&a<e.length;a++)if(!Me(e[a],t[a]))return!1;return!0}function nd(e,t,a,i,u,c){dc=c,rn=t,zi=e!==null?e._debugHookTypes:null,ts=-1,QS=e!==null&&e.type!==t.type,t.memoizedState=null,t.updateQueue=null,t.lanes=Z,e!==null&&e.memoizedState!==null?xe.current=sx:zi!==null?xe.current=ox:xe.current=ux;var d=a(i,u);if(tv){var m=0;do{if(tv=!1,nv=0,m>=LD)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");m+=1,QS=!1,yr=null,Sr=null,t.updateQueue=null,ts=-1,xe.current=cx,d=a(i,u)}while(tv)}xe.current=qm,t._debugHookTypes=zi;var g=yr!==null&&yr.next!==null;if(dc=Z,rn=null,yr=null,Sr=null,ee=null,zi=null,ts=-1,e!==null&&(e.flags&pr)!==(t.flags&pr)&&(e.mode&Tt)!==Ke&&E("Internal React error: Expected static flag was missing. Please notify the React team."),zm=!1,g)throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return d}function rd(){var e=nv!==0;return nv=0,e}function Iw(e,t,a){t.updateQueue=e.updateQueue,(t.mode&Ga)!==Ke?t.flags&=~(wu|sa|En|gt):t.flags&=~(En|gt),e.lanes=Oo(e.lanes,a)}function Vw(){if(xe.current=qm,zm){for(var e=rn.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}zm=!1}dc=Z,rn=null,yr=null,Sr=null,zi=null,ts=-1,ee=null,nx=!1,tv=!1,nv=0}function tu(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Sr===null?rn.memoizedState=Sr=e:Sr=Sr.next=e,Sr}function ji(){var e;if(yr===null){var t=rn.alternate;t!==null?e=t.memoizedState:e=null}else e=yr.next;var a;if(Sr===null?a=rn.memoizedState:a=Sr.next,a!==null)Sr=a,a=Sr.next,yr=e;else{if(e===null)throw new Error("Rendered more hooks than during the previous render.");yr=e;var i={memoizedState:yr.memoizedState,baseState:yr.baseState,baseQueue:yr.baseQueue,queue:yr.queue,next:null};Sr===null?rn.memoizedState=Sr=i:Sr=Sr.next=i}return Sr}function $w(){return{lastEffect:null,stores:null}}function qS(e,t){return typeof t=="function"?t(e):t}function KS(e,t,a){var i=tu(),u;a!==void 0?u=a(t):u=t,i.memoizedState=i.baseState=u;var c={pending:null,interleaved:null,lanes:Z,dispatch:null,lastRenderedReducer:e,lastRenderedState:u};i.queue=c;var d=c.dispatch=UD.bind(null,rn,c);return[i.memoizedState,d]}function XS(e,t,a){var i=ji(),u=i.queue;if(u===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");u.lastRenderedReducer=e;var c=yr,d=c.baseQueue,m=u.pending;if(m!==null){if(d!==null){var g=d.next,C=m.next;d.next=C,m.next=g}c.baseQueue!==d&&E("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),c.baseQueue=d=m,u.pending=null}if(d!==null){var w=d.next,z=c.baseState,M=null,V=null,Y=null,K=w;do{var Re=K.lane;if(Nu(dc,Re)){if(Y!==null){var Fe={lane:At,action:K.action,hasEagerState:K.hasEagerState,eagerState:K.eagerState,next:null};Y=Y.next=Fe}if(K.hasEagerState)z=K.eagerState;else{var zt=K.action;z=e(z,zt)}}else{var We={lane:Re,action:K.action,hasEagerState:K.hasEagerState,eagerState:K.eagerState,next:null};Y===null?(V=Y=We,M=z):Y=Y.next=We,rn.lanes=yt(rn.lanes,Re),Cv(Re)}K=K.next}while(K!==null&&K!==w);Y===null?M=z:Y.next=V,Me(z,i.memoizedState)||sv(),i.memoizedState=z,i.baseState=M,i.baseQueue=Y,u.lastRenderedState=z}var Dt=u.interleaved;if(Dt!==null){var B=Dt;do{var X=B.lane;rn.lanes=yt(rn.lanes,X),Cv(X),B=B.next}while(B!==Dt)}else d===null&&(u.lanes=Z);var H=u.dispatch;return[i.memoizedState,H]}function ZS(e,t,a){var i=ji(),u=i.queue;if(u===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");u.lastRenderedReducer=e;var c=u.dispatch,d=u.pending,m=i.memoizedState;if(d!==null){u.pending=null;var g=d.next,C=g;do{var w=C.action;m=e(m,w),C=C.next}while(C!==g);Me(m,i.memoizedState)||sv(),i.memoizedState=m,i.baseQueue===null&&(i.baseState=m),u.lastRenderedState=m}return[m,c]}function FN(e,t,a){}function BN(e,t,a){}function JS(e,t,a){var i=rn,u=tu(),c,d=Vr();if(d){if(a===void 0)throw new Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");c=a(),ed||c!==a()&&(E("The result of getServerSnapshot should be cached to avoid an infinite loop"),ed=!0)}else{if(c=t(),!ed){var m=t();Me(c,m)||(E("The result of getSnapshot should be cached to avoid an infinite loop"),ed=!0)}var g=pg();if(g===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");Vs(g,dc)||Yw(i,t,c)}u.memoizedState=c;var C={value:c,getSnapshot:t};return u.queue=C,Hm(Qw.bind(null,i,C,e),[e]),i.flags|=En,rv(mr|$r,Ww.bind(null,i,C,c,t),void 0,null),c}function jm(e,t,a){var i=rn,u=ji(),c=t();if(!ed){var d=t();Me(c,d)||(E("The result of getSnapshot should be cached to avoid an infinite loop"),ed=!0)}var m=u.memoizedState,g=!Me(m,c);g&&(u.memoizedState=c,sv());var C=u.queue;if(iv(Qw.bind(null,i,C,e),[e]),C.getSnapshot!==t||g||Sr!==null&&Sr.memoizedState.tag&mr){i.flags|=En,rv(mr|$r,Ww.bind(null,i,C,c,t),void 0,null);var w=pg();if(w===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");Vs(w,dc)||Yw(i,t,c)}return c}function Yw(e,t,a){e.flags|=As;var i={getSnapshot:t,value:a},u=rn.updateQueue;if(u===null)u=$w(),rn.updateQueue=u,u.stores=[i];else{var c=u.stores;c===null?u.stores=[i]:c.push(i)}}function Ww(e,t,a,i){t.value=a,t.getSnapshot=i,Gw(t)&&qw(e)}function Qw(e,t,a){var i=function(){Gw(t)&&qw(e)};return a(i)}function Gw(e){var t=e.getSnapshot,a=e.value;try{var i=t();return!Me(a,i)}catch{return!0}}function qw(e){var t=ti(e,tt);t!==null&&xr(t,e,tt,sn)}function Pm(e){var t=tu();typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e;var a={pending:null,interleaved:null,lanes:Z,dispatch:null,lastRenderedReducer:qS,lastRenderedState:e};t.queue=a;var i=a.dispatch=zD.bind(null,rn,a);return[t.memoizedState,i]}function eE(e){return XS(qS)}function tE(e){return ZS(qS)}function rv(e,t,a,i){var u={tag:e,create:t,destroy:a,deps:i,next:null},c=rn.updateQueue;if(c===null)c=$w(),rn.updateQueue=c,c.lastEffect=u.next=u;else{var d=c.lastEffect;if(d===null)c.lastEffect=u.next=u;else{var m=d.next;d.next=u,u.next=m,c.lastEffect=u}}return u}function nE(e){var t=tu();{var a={current:e};return t.memoizedState=a,a}}function Fm(e){var t=ji();return t.memoizedState}function av(e,t,a,i){var u=tu(),c=i===void 0?null:i;rn.flags|=e,u.memoizedState=rv(mr|t,a,void 0,c)}function Bm(e,t,a,i){var u=ji(),c=i===void 0?null:i,d=void 0;if(yr!==null){var m=yr.memoizedState;if(d=m.destroy,c!==null){var g=m.deps;if(GS(c,g)){u.memoizedState=rv(t,a,d,c);return}}}rn.flags|=e,u.memoizedState=rv(mr|t,a,d,c)}function Hm(e,t){return(rn.mode&Ga)!==Ke?av(wu|En|jl,$r,e,t):av(En|jl,$r,e,t)}function iv(e,t){return Bm(En,$r,e,t)}function rE(e,t){return av(gt,eu,e,t)}function Im(e,t){return Bm(gt,eu,e,t)}function aE(e,t){var a=gt;return a|=oa,(rn.mode&Ga)!==Ke&&(a|=sa),av(a,gr,e,t)}function Vm(e,t){return Bm(gt,gr,e,t)}function Kw(e,t){if(typeof t=="function"){var a=t,i=e();return a(i),function(){a(null)}}else if(t!=null){var u=t;u.hasOwnProperty("current")||E("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.","an object with keys {"+Object.keys(u).join(", ")+"}");var c=e();return u.current=c,function(){u.current=null}}}function iE(e,t,a){typeof t!="function"&&E("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null");var i=a!=null?a.concat([e]):null,u=gt;return u|=oa,(rn.mode&Ga)!==Ke&&(u|=sa),av(u,gr,Kw.bind(null,t,e),i)}function $m(e,t,a){typeof t!="function"&&E("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null");var i=a!=null?a.concat([e]):null;return Bm(gt,gr,Kw.bind(null,t,e),i)}function ND(e,t){}var Ym=ND;function lE(e,t){var a=tu(),i=t===void 0?null:t;return a.memoizedState=[e,i],e}function Wm(e,t){var a=ji(),i=t===void 0?null:t,u=a.memoizedState;if(u!==null&&i!==null){var c=u[1];if(GS(i,c))return u[0]}return a.memoizedState=[e,i],e}function uE(e,t){var a=tu(),i=t===void 0?null:t,u=e();return a.memoizedState=[u,i],u}function Qm(e,t){var a=ji(),i=t===void 0?null:t,u=a.memoizedState;if(u!==null&&i!==null){var c=u[1];if(GS(i,c))return u[0]}var d=e();return a.memoizedState=[d,i],d}function oE(e){var t=tu();return t.memoizedState=e,e}function Xw(e){var t=ji(),a=yr,i=a.memoizedState;return Jw(t,i,e)}function Zw(e){var t=ji();if(yr===null)return t.memoizedState=e,e;var a=yr.memoizedState;return Jw(t,a,e)}function Jw(e,t,a){var i=!vy(dc);if(i){if(!Me(a,t)){var u=lp();rn.lanes=yt(rn.lanes,u),Cv(u),e.baseState=!0}return t}else return e.baseState&&(e.baseState=!1,sv()),e.memoizedState=a,a}function MD(e,t,a){var i=Ka();qn(Lr(i,hr)),e(!0);var u=ev.transition;ev.transition={};var c=ev.transition;ev.transition._updatedFibers=new Set;try{e(!1),t()}finally{if(qn(i),ev.transition=u,u===null&&c._updatedFibers){var d=c._updatedFibers.size;d>10&&j("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."),c._updatedFibers.clear()}}}function sE(){var e=Pm(!1),t=e[0],a=e[1],i=MD.bind(null,a),u=tu();return u.memoizedState=i,[t,i]}function ex(){var e=eE(),t=e[0],a=ji(),i=a.memoizedState;return[t,i]}function tx(){var e=tE(),t=e[0],a=ji(),i=a.memoizedState;return[t,i]}var nx=!1;function AD(){return nx}function cE(){var e=tu(),t=pg(),a=t.identifierPrefix,i;if(Vr()){var u=G_();i=":"+a+"R"+u;var c=nv++;c>0&&(i+="H"+c.toString(32)),i+=":"}else{var d=DD++;i=":"+a+"r"+d.toString(32)+":"}return e.memoizedState=i,i}function Gm(){var e=ji(),t=e.memoizedState;return t}function UD(e,t,a){typeof arguments[3]=="function"&&E("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect().");var i=ls(e),u={lane:i,action:a,hasEagerState:!1,eagerState:null,next:null};if(rx(e))ax(t,u);else{var c=Cw(e,t,u,i);if(c!==null){var d=Aa();xr(c,e,i,d),ix(c,t,i)}}lx(e,i)}function zD(e,t,a){typeof arguments[3]=="function"&&E("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect().");var i=ls(e),u={lane:i,action:a,hasEagerState:!1,eagerState:null,next:null};if(rx(e))ax(t,u);else{var c=e.alternate;if(e.lanes===Z&&(c===null||c.lanes===Z)){var d=t.lastRenderedReducer;if(d!==null){var m;m=xe.current,xe.current=fl;try{var g=t.lastRenderedState,C=d(g,a);if(u.hasEagerState=!0,u.eagerState=C,Me(C,g)){vD(e,t,u,i);return}}catch{}finally{xe.current=m}}}var w=Cw(e,t,u,i);if(w!==null){var z=Aa();xr(w,e,i,z),ix(w,t,i)}}lx(e,i)}function rx(e){var t=e.alternate;return e===rn||t!==null&&t===rn}function ax(e,t){tv=zm=!0;var a=e.pending;a===null?t.next=t:(t.next=a.next,a.next=t),e.pending=t}function ix(e,t,a){if(ip(a)){var i=t.lanes;i=up(i,e.pendingLanes);var u=yt(i,a);t.lanes=u,No(e,u)}}function lx(e,t,a){Vl(e,t)}var qm={readContext:cr,useCallback:ga,useContext:ga,useEffect:ga,useImperativeHandle:ga,useInsertionEffect:ga,useLayoutEffect:ga,useMemo:ga,useReducer:ga,useRef:ga,useState:ga,useDebugValue:ga,useDeferredValue:ga,useTransition:ga,useMutableSource:ga,useSyncExternalStore:ga,useId:ga,unstable_isNewReconciler:fe},ux=null,ox=null,sx=null,cx=null,nu=null,fl=null,Km=null;{var fE=function(){E("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().")},ft=function(){E("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://reactjs.org/link/rules-of-hooks")};ux={readContext:function(e){return cr(e)},useCallback:function(e,t){return ee="useCallback",Jt(),td(t),lE(e,t)},useContext:function(e){return ee="useContext",Jt(),cr(e)},useEffect:function(e,t){return ee="useEffect",Jt(),td(t),Hm(e,t)},useImperativeHandle:function(e,t,a){return ee="useImperativeHandle",Jt(),td(a),iE(e,t,a)},useInsertionEffect:function(e,t){return ee="useInsertionEffect",Jt(),td(t),rE(e,t)},useLayoutEffect:function(e,t){return ee="useLayoutEffect",Jt(),td(t),aE(e,t)},useMemo:function(e,t){ee="useMemo",Jt(),td(t);var a=xe.current;xe.current=nu;try{return uE(e,t)}finally{xe.current=a}},useReducer:function(e,t,a){ee="useReducer",Jt();var i=xe.current;xe.current=nu;try{return KS(e,t,a)}finally{xe.current=i}},useRef:function(e){return ee="useRef",Jt(),nE(e)},useState:function(e){ee="useState",Jt();var t=xe.current;xe.current=nu;try{return Pm(e)}finally{xe.current=t}},useDebugValue:function(e,t){return ee="useDebugValue",Jt(),void 0},useDeferredValue:function(e){return ee="useDeferredValue",Jt(),oE(e)},useTransition:function(){return ee="useTransition",Jt(),sE()},useMutableSource:function(e,t,a){return ee="useMutableSource",Jt(),void 0},useSyncExternalStore:function(e,t,a){return ee="useSyncExternalStore",Jt(),JS(e,t,a)},useId:function(){return ee="useId",Jt(),cE()},unstable_isNewReconciler:fe},ox={readContext:function(e){return cr(e)},useCallback:function(e,t){return ee="useCallback",me(),lE(e,t)},useContext:function(e){return ee="useContext",me(),cr(e)},useEffect:function(e,t){return ee="useEffect",me(),Hm(e,t)},useImperativeHandle:function(e,t,a){return ee="useImperativeHandle",me(),iE(e,t,a)},useInsertionEffect:function(e,t){return ee="useInsertionEffect",me(),rE(e,t)},useLayoutEffect:function(e,t){return ee="useLayoutEffect",me(),aE(e,t)},useMemo:function(e,t){ee="useMemo",me();var a=xe.current;xe.current=nu;try{return uE(e,t)}finally{xe.current=a}},useReducer:function(e,t,a){ee="useReducer",me();var i=xe.current;xe.current=nu;try{return KS(e,t,a)}finally{xe.current=i}},useRef:function(e){return ee="useRef",me(),nE(e)},useState:function(e){ee="useState",me();var t=xe.current;xe.current=nu;try{return Pm(e)}finally{xe.current=t}},useDebugValue:function(e,t){return ee="useDebugValue",me(),void 0},useDeferredValue:function(e){return ee="useDeferredValue",me(),oE(e)},useTransition:function(){return ee="useTransition",me(),sE()},useMutableSource:function(e,t,a){return ee="useMutableSource",me(),void 0},useSyncExternalStore:function(e,t,a){return ee="useSyncExternalStore",me(),JS(e,t,a)},useId:function(){return ee="useId",me(),cE()},unstable_isNewReconciler:fe},sx={readContext:function(e){return cr(e)},useCallback:function(e,t){return ee="useCallback",me(),Wm(e,t)},useContext:function(e){return ee="useContext",me(),cr(e)},useEffect:function(e,t){return ee="useEffect",me(),iv(e,t)},useImperativeHandle:function(e,t,a){return ee="useImperativeHandle",me(),$m(e,t,a)},useInsertionEffect:function(e,t){return ee="useInsertionEffect",me(),Im(e,t)},useLayoutEffect:function(e,t){return ee="useLayoutEffect",me(),Vm(e,t)},useMemo:function(e,t){ee="useMemo",me();var a=xe.current;xe.current=fl;try{return Qm(e,t)}finally{xe.current=a}},useReducer:function(e,t,a){ee="useReducer",me();var i=xe.current;xe.current=fl;try{return XS(e,t,a)}finally{xe.current=i}},useRef:function(e){return ee="useRef",me(),Fm()},useState:function(e){ee="useState",me();var t=xe.current;xe.current=fl;try{return eE(e)}finally{xe.current=t}},useDebugValue:function(e,t){return ee="useDebugValue",me(),Ym()},useDeferredValue:function(e){return ee="useDeferredValue",me(),Xw(e)},useTransition:function(){return ee="useTransition",me(),ex()},useMutableSource:function(e,t,a){return ee="useMutableSource",me(),void 0},useSyncExternalStore:function(e,t,a){return ee="useSyncExternalStore",me(),jm(e,t)},useId:function(){return ee="useId",me(),Gm()},unstable_isNewReconciler:fe},cx={readContext:function(e){return cr(e)},useCallback:function(e,t){return ee="useCallback",me(),Wm(e,t)},useContext:function(e){return ee="useContext",me(),cr(e)},useEffect:function(e,t){return ee="useEffect",me(),iv(e,t)},useImperativeHandle:function(e,t,a){return ee="useImperativeHandle",me(),$m(e,t,a)},useInsertionEffect:function(e,t){return ee="useInsertionEffect",me(),Im(e,t)},useLayoutEffect:function(e,t){return ee="useLayoutEffect",me(),Vm(e,t)},useMemo:function(e,t){ee="useMemo",me();var a=xe.current;xe.current=Km;try{return Qm(e,t)}finally{xe.current=a}},useReducer:function(e,t,a){ee="useReducer",me();var i=xe.current;xe.current=Km;try{return ZS(e,t,a)}finally{xe.current=i}},useRef:function(e){return ee="useRef",me(),Fm()},useState:function(e){ee="useState",me();var t=xe.current;xe.current=Km;try{return tE(e)}finally{xe.current=t}},useDebugValue:function(e,t){return ee="useDebugValue",me(),Ym()},useDeferredValue:function(e){return ee="useDeferredValue",me(),Zw(e)},useTransition:function(){return ee="useTransition",me(),tx()},useMutableSource:function(e,t,a){return ee="useMutableSource",me(),void 0},useSyncExternalStore:function(e,t,a){return ee="useSyncExternalStore",me(),jm(e,t)},useId:function(){return ee="useId",me(),Gm()},unstable_isNewReconciler:fe},nu={readContext:function(e){return fE(),cr(e)},useCallback:function(e,t){return ee="useCallback",ft(),Jt(),lE(e,t)},useContext:function(e){return ee="useContext",ft(),Jt(),cr(e)},useEffect:function(e,t){return ee="useEffect",ft(),Jt(),Hm(e,t)},useImperativeHandle:function(e,t,a){return ee="useImperativeHandle",ft(),Jt(),iE(e,t,a)},useInsertionEffect:function(e,t){return ee="useInsertionEffect",ft(),Jt(),rE(e,t)},useLayoutEffect:function(e,t){return ee="useLayoutEffect",ft(),Jt(),aE(e,t)},useMemo:function(e,t){ee="useMemo",ft(),Jt();var a=xe.current;xe.current=nu;try{return uE(e,t)}finally{xe.current=a}},useReducer:function(e,t,a){ee="useReducer",ft(),Jt();var i=xe.current;xe.current=nu;try{return KS(e,t,a)}finally{xe.current=i}},useRef:function(e){return ee="useRef",ft(),Jt(),nE(e)},useState:function(e){ee="useState",ft(),Jt();var t=xe.current;xe.current=nu;try{return Pm(e)}finally{xe.current=t}},useDebugValue:function(e,t){return ee="useDebugValue",ft(),Jt(),void 0},useDeferredValue:function(e){return ee="useDeferredValue",ft(),Jt(),oE(e)},useTransition:function(){return ee="useTransition",ft(),Jt(),sE()},useMutableSource:function(e,t,a){return ee="useMutableSource",ft(),Jt(),void 0},useSyncExternalStore:function(e,t,a){return ee="useSyncExternalStore",ft(),Jt(),JS(e,t,a)},useId:function(){return ee="useId",ft(),Jt(),cE()},unstable_isNewReconciler:fe},fl={readContext:function(e){return fE(),cr(e)},useCallback:function(e,t){return ee="useCallback",ft(),me(),Wm(e,t)},useContext:function(e){return ee="useContext",ft(),me(),cr(e)},useEffect:function(e,t){return ee="useEffect",ft(),me(),iv(e,t)},useImperativeHandle:function(e,t,a){return ee="useImperativeHandle",ft(),me(),$m(e,t,a)},useInsertionEffect:function(e,t){return ee="useInsertionEffect",ft(),me(),Im(e,t)},useLayoutEffect:function(e,t){return ee="useLayoutEffect",ft(),me(),Vm(e,t)},useMemo:function(e,t){ee="useMemo",ft(),me();var a=xe.current;xe.current=fl;try{return Qm(e,t)}finally{xe.current=a}},useReducer:function(e,t,a){ee="useReducer",ft(),me();var i=xe.current;xe.current=fl;try{return XS(e,t,a)}finally{xe.current=i}},useRef:function(e){return ee="useRef",ft(),me(),Fm()},useState:function(e){ee="useState",ft(),me();var t=xe.current;xe.current=fl;try{return eE(e)}finally{xe.current=t}},useDebugValue:function(e,t){return ee="useDebugValue",ft(),me(),Ym()},useDeferredValue:function(e){return ee="useDeferredValue",ft(),me(),Xw(e)},useTransition:function(){return ee="useTransition",ft(),me(),ex()},useMutableSource:function(e,t,a){return ee="useMutableSource",ft(),me(),void 0},useSyncExternalStore:function(e,t,a){return ee="useSyncExternalStore",ft(),me(),jm(e,t)},useId:function(){return ee="useId",ft(),me(),Gm()},unstable_isNewReconciler:fe},Km={readContext:function(e){return fE(),cr(e)},useCallback:function(e,t){return ee="useCallback",ft(),me(),Wm(e,t)},useContext:function(e){return ee="useContext",ft(),me(),cr(e)},useEffect:function(e,t){return ee="useEffect",ft(),me(),iv(e,t)},useImperativeHandle:function(e,t,a){return ee="useImperativeHandle",ft(),me(),$m(e,t,a)},useInsertionEffect:function(e,t){return ee="useInsertionEffect",ft(),me(),Im(e,t)},useLayoutEffect:function(e,t){return ee="useLayoutEffect",ft(),me(),Vm(e,t)},useMemo:function(e,t){ee="useMemo",ft(),me();var a=xe.current;xe.current=fl;try{return Qm(e,t)}finally{xe.current=a}},useReducer:function(e,t,a){ee="useReducer",ft(),me();var i=xe.current;xe.current=fl;try{return ZS(e,t,a)}finally{xe.current=i}},useRef:function(e){return ee="useRef",ft(),me(),Fm()},useState:function(e){ee="useState",ft(),me();var t=xe.current;xe.current=fl;try{return tE(e)}finally{xe.current=t}},useDebugValue:function(e,t){return ee="useDebugValue",ft(),me(),Ym()},useDeferredValue:function(e){return ee="useDeferredValue",ft(),me(),Zw(e)},useTransition:function(){return ee="useTransition",ft(),me(),tx()},useMutableSource:function(e,t,a){return ee="useMutableSource",ft(),me(),void 0},useSyncExternalStore:function(e,t,a){return ee="useSyncExternalStore",ft(),me(),jm(e,t)},useId:function(){return ee="useId",ft(),me(),Gm()},unstable_isNewReconciler:fe}}var ns=h.unstable_now,fx=0,Xm=-1,lv=-1,Zm=-1,dE=!1,Jm=!1;function dx(){return dE}function jD(){Jm=!0}function PD(){dE=!1,Jm=!1}function FD(){dE=Jm,Jm=!1}function px(){return fx}function vx(){fx=ns()}function pE(e){lv=ns(),e.actualStartTime<0&&(e.actualStartTime=ns())}function hx(e){lv=-1}function eg(e,t){if(lv>=0){var a=ns()-lv;e.actualDuration+=a,t&&(e.selfBaseDuration=a),lv=-1}}function ru(e){if(Xm>=0){var t=ns()-Xm;Xm=-1;for(var a=e.return;a!==null;){switch(a.tag){case F:var i=a.stateNode;i.effectDuration+=t;return;case vt:var u=a.stateNode;u.effectDuration+=t;return}a=a.return}}}function vE(e){if(Zm>=0){var t=ns()-Zm;Zm=-1;for(var a=e.return;a!==null;){switch(a.tag){case F:var i=a.stateNode;i!==null&&(i.passiveEffectDuration+=t);return;case vt:var u=a.stateNode;u!==null&&(u.passiveEffectDuration+=t);return}a=a.return}}}function au(){Xm=ns()}function hE(){Zm=ns()}function mE(e){for(var t=e.child;t;)e.actualDuration+=t.actualDuration,t=t.sibling}function pc(e,t){return{value:e,source:t,stack:oo(t),digest:null}}function gE(e,t,a){return{value:e,source:null,stack:a??null,digest:t??null}}function BD(e,t){return!0}function yE(e,t){try{var a=BD(e,t);if(a===!1)return;var i=t.value,u=t.source,c=t.stack,d=c!==null?c:"";if(i!=null&&i._suppressLogging){if(e.tag===G)return;console.error(i)}var m=u?ct(u):null,g=m?"The above error occurred in the <"+m+"> component:":"The above error occurred in one of your React components:",C;if(e.tag===F)C=`Consider adding an error boundary to your tree to customize error handling behavior.
|
|
204
|
+
Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.`;else{var w=ct(e)||"Anonymous";C="React will try to recreate this component tree from scratch "+("using the error boundary you provided, "+w+".")}var z=g+`
|
|
205
|
+
`+d+`
|
|
206
|
+
|
|
207
|
+
`+(""+C);console.error(z)}catch(M){setTimeout(function(){throw M})}}var HD=typeof WeakMap=="function"?WeakMap:Map;function mx(e,t,a){var i=Gu(sn,a);i.tag=yS,i.payload={element:null};var u=t.value;return i.callback=function(){MO(u),yE(e,t)},i}function SE(e,t,a){var i=Gu(sn,a);i.tag=yS;var u=e.type.getDerivedStateFromError;if(typeof u=="function"){var c=t.value;i.payload=function(){return u(c)},i.callback=function(){kb(e),yE(e,t)}}var d=e.stateNode;return d!==null&&typeof d.componentDidCatch=="function"&&(i.callback=function(){kb(e),yE(e,t),typeof u!="function"&&OO(this);var g=t.value,C=t.stack;this.componentDidCatch(g,{componentStack:C!==null?C:""}),typeof u!="function"&&(va(e.lanes,tt)||E("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",ct(e)||"Unknown"))}),i}function gx(e,t,a){var i=e.pingCache,u;if(i===null?(i=e.pingCache=new HD,u=new Set,i.set(t,u)):(u=i.get(t),u===void 0&&(u=new Set,i.set(t,u))),!u.has(a)){u.add(a);var c=AO.bind(null,e,t,a);vr&&wv(e,a),t.then(c,c)}}function ID(e,t,a,i){var u=e.updateQueue;if(u===null){var c=new Set;c.add(a),e.updateQueue=c}else u.add(a)}function VD(e,t){var a=e.tag;if((e.mode&Tt)===Ke&&(a===A||a===Ve||a===Oe)){var i=e.alternate;i?(e.updateQueue=i.updateQueue,e.memoizedState=i.memoizedState,e.lanes=i.lanes):(e.updateQueue=null,e.memoizedState=null)}}function yx(e){var t=e;do{if(t.tag===_e&&kD(t))return t;t=t.return}while(t!==null);return null}function Sx(e,t,a,i,u){if((e.mode&Tt)===Ke){if(e===t)e.flags|=ir;else{if(e.flags|=at,a.flags|=Us,a.flags&=~(Hc|Ra),a.tag===G){var c=a.alternate;if(c===null)a.tag=nn;else{var d=Gu(sn,tt);d.tag=bm,Zo(a,d,tt)}}a.lanes=yt(a.lanes,tt)}return e}return e.flags|=ir,e.lanes=u,e}function $D(e,t,a,i,u){if(a.flags|=Ra,vr&&wv(e,u),i!==null&&typeof i=="object"&&typeof i.then=="function"){var c=i;VD(a),Vr()&&a.mode&Tt&&sw();var d=yx(t);if(d!==null){d.flags&=~On,Sx(d,t,a,e,u),d.mode&Tt&&gx(e,c,u),ID(d,e,c);return}else{if(!Lo(u)){gx(e,c,u),ZE();return}var m=new Error("A component suspended while responding to synchronous input. This will cause the UI to be replaced with a loading indicator. To fix, updates that suspend should be wrapped with startTransition.");i=m}}else if(Vr()&&a.mode&Tt){sw();var g=yx(t);if(g!==null){(g.flags&ir)===$e&&(g.flags|=On),Sx(g,t,a,e,u),fS(pc(i,a));return}}i=pc(i,a),xO(i);var C=t;do{switch(C.tag){case F:{var w=i;C.flags|=ir;var z=Gn(u);C.lanes=yt(C.lanes,z);var M=mx(C,w,z);CS(C,M);return}case G:var V=i,Y=C.type,K=C.stateNode;if((C.flags&at)===$e&&(typeof Y.getDerivedStateFromError=="function"||K!==null&&typeof K.componentDidCatch=="function"&&!yb(K))){C.flags|=ir;var Re=Gn(u);C.lanes=yt(C.lanes,Re);var We=SE(C,V,Re);CS(C,We);return}break}C=C.return}while(C!==null)}function YD(){return null}var uv=v.ReactCurrentOwner,dl=!1,EE,ov,CE,wE,xE,vc,bE,tg;EE={},ov={},CE={},wE={},xE={},vc=!1,bE={},tg={};function Na(e,t,a,i){e===null?t.child=jw(t,null,a,i):t.child=Kf(t,e.child,a,i)}function WD(e,t,a,i){t.child=Kf(t,e.child,null,i),t.child=Kf(t,null,a,i)}function Ex(e,t,a,i,u){if(t.type!==t.elementType){var c=a.propTypes;c&&ll(c,i,"prop",Ft(a))}var d=a.render,m=t.ref,g,C;qf(t,u),Il(t);{if(uv.current=t,ia(!0),g=nd(e,t,d,i,m,u),C=rd(),t.mode&kn){Qn(!0);try{g=nd(e,t,d,i,m,u),C=rd()}finally{Qn(!1)}}ia(!1)}return xu(),e!==null&&!dl?(Iw(e,t,u),qu(e,t,u)):(Vr()&&C&&iS(t),t.flags|=Ul,Na(e,t,g,u),t.child)}function Cx(e,t,a,i,u){if(e===null){var c=a.type;if(XO(c)&&a.compare===null&&a.defaultProps===void 0){var d=c;return d=fd(c),t.tag=Oe,t.type=d,kE(t,c),wx(e,t,d,i,u)}{var m=c.propTypes;m&&ll(m,i,"prop",Ft(c))}var g=sC(a.type,null,i,t,t.mode,u);return g.ref=t.ref,g.return=t,t.child=g,g}{var C=a.type,w=C.propTypes;w&&ll(w,i,"prop",Ft(C))}var z=e.child,M=ME(e,u);if(!M){var V=z.memoizedProps,Y=a.compare;if(Y=Y!==null?Y:Ie,Y(V,i)&&e.ref===t.ref)return qu(e,t,u)}t.flags|=Ul;var K=Sc(z,i);return K.ref=t.ref,K.return=t,t.child=K,K}function wx(e,t,a,i,u){if(t.type!==t.elementType){var c=t.elementType;if(c.$$typeof===Ye){var d=c,m=d._payload,g=d._init;try{c=g(m)}catch{c=null}var C=c&&c.propTypes;C&&ll(C,i,"prop",Ft(c))}}if(e!==null){var w=e.memoizedProps;if(Ie(w,i)&&e.ref===t.ref&&t.type===e.type)if(dl=!1,t.pendingProps=i=w,ME(e,u))(e.flags&Us)!==$e&&(dl=!0);else return t.lanes=e.lanes,qu(e,t,u)}return TE(e,t,a,i,u)}function xx(e,t,a){var i=t.pendingProps,u=i.children,c=e!==null?e.memoizedState:null;if(i.mode==="hidden"||D)if((t.mode&Tt)===Ke){var d={baseLanes:Z,cachePool:null,transitions:null};t.memoizedState=d,vg(t,a)}else if(va(a,pa)){var z={baseLanes:Z,cachePool:null,transitions:null};t.memoizedState=z;var M=c!==null?c.baseLanes:a;vg(t,M)}else{var m=null,g;if(c!==null){var C=c.baseLanes;g=yt(C,a)}else g=a;t.lanes=t.childLanes=pa;var w={baseLanes:g,cachePool:m,transitions:null};return t.memoizedState=w,t.updateQueue=null,vg(t,g),null}else{var V;c!==null?(V=yt(c.baseLanes,a),t.memoizedState=null):V=a,vg(t,V)}return Na(e,t,u,a),t.child}function QD(e,t,a){var i=t.pendingProps;return Na(e,t,i,a),t.child}function GD(e,t,a){var i=t.pendingProps.children;return Na(e,t,i,a),t.child}function qD(e,t,a){{t.flags|=gt;{var i=t.stateNode;i.effectDuration=0,i.passiveEffectDuration=0}}var u=t.pendingProps,c=u.children;return Na(e,t,c,a),t.child}function bx(e,t){var a=t.ref;(e===null&&a!==null||e!==null&&e.ref!==a)&&(t.flags|=ua,t.flags|=$d)}function TE(e,t,a,i,u){if(t.type!==t.elementType){var c=a.propTypes;c&&ll(c,i,"prop",Ft(a))}var d;{var m=Vf(t,a,!0);d=$f(t,m)}var g,C;qf(t,u),Il(t);{if(uv.current=t,ia(!0),g=nd(e,t,a,i,d,u),C=rd(),t.mode&kn){Qn(!0);try{g=nd(e,t,a,i,d,u),C=rd()}finally{Qn(!1)}}ia(!1)}return xu(),e!==null&&!dl?(Iw(e,t,u),qu(e,t,u)):(Vr()&&C&&iS(t),t.flags|=Ul,Na(e,t,g,u),t.child)}function Tx(e,t,a,i,u){{switch(dN(t)){case!1:{var c=t.stateNode,d=t.type,m=new d(t.memoizedProps,c.context),g=m.state;c.updater.enqueueSetState(c,g,null);break}case!0:{t.flags|=at,t.flags|=ir;var C=new Error("Simulated error coming from DevTools"),w=Gn(u);t.lanes=yt(t.lanes,w);var z=SE(t,pc(C,t),w);CS(t,z);break}}if(t.type!==t.elementType){var M=a.propTypes;M&&ll(M,i,"prop",Ft(a))}}var V;Jl(a)?(V=!0,pm(t)):V=!1,qf(t,u);var Y=t.stateNode,K;Y===null?(rg(e,t),Nw(t,a,i),MS(t,a,i,u),K=!0):e===null?K=CD(t,a,i,u):K=wD(e,t,a,i,u);var Re=RE(e,t,a,K,V,u);{var We=t.stateNode;K&&We.props!==i&&(vc||E("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",ct(t)||"a component"),vc=!0)}return Re}function RE(e,t,a,i,u,c){bx(e,t);var d=(t.flags&at)!==$e;if(!i&&!d)return u&&iw(t,a,!1),qu(e,t,c);var m=t.stateNode;uv.current=t;var g;if(d&&typeof a.getDerivedStateFromError!="function")g=null,hx();else{Il(t);{if(ia(!0),g=m.render(),t.mode&kn){Qn(!0);try{m.render()}finally{Qn(!1)}}ia(!1)}xu()}return t.flags|=Ul,e!==null&&d?WD(e,t,g,c):Na(e,t,g,c),t.memoizedState=m.state,u&&iw(t,a,!0),t.child}function Rx(e){var t=e.stateNode;t.pendingContext?rw(e,t.pendingContext,t.pendingContext!==t.context):t.context&&rw(e,t.context,!1),FS(e,t.containerInfo)}function KD(e,t,a){if(Rx(t),e===null)throw new Error("Should have a current fiber. This is a bug in React.");var i=t.pendingProps,u=t.memoizedState,c=u.element;bw(e,t),_m(t,i,null,a);var d=t.memoizedState;t.stateNode;var m=d.element;if(u.isDehydrated){var g={element:m,isDehydrated:!1,cache:d.cache,pendingSuspenseBoundaries:d.pendingSuspenseBoundaries,transitions:d.transitions},C=t.updateQueue;if(C.baseState=g,t.memoizedState=g,t.flags&On){var w=pc(new Error("There was an error while hydrating. Because the error happened outside of a Suspense boundary, the entire root will switch to client rendering."),t);return kx(e,t,m,a,w)}else if(m!==c){var z=pc(new Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),t);return kx(e,t,m,a,z)}else{eD(t);var M=jw(t,null,m,a);t.child=M;for(var V=M;V;)V.flags=V.flags&~hn|Ya,V=V.sibling}}else{if(Qf(),m===c)return qu(e,t,a);Na(e,t,m,a)}return t.child}function kx(e,t,a,i,u){return Qf(),fS(u),t.flags|=On,Na(e,t,a,i),t.child}function XD(e,t,a){Fw(t),e===null&&cS(t);var i=t.type,u=t.pendingProps,c=e!==null?e.memoizedProps:null,d=u.children,m=Yy(i,u);return m?d=null:c!==null&&Yy(i,c)&&(t.flags|=Zt),bx(e,t),Na(e,t,d,a),t.child}function ZD(e,t){return e===null&&cS(t),null}function JD(e,t,a,i){rg(e,t);var u=t.pendingProps,c=a,d=c._payload,m=c._init,g=m(d);t.type=g;var C=t.tag=ZO(g),w=sl(g,u),z;switch(C){case A:return kE(t,g),t.type=g=fd(g),z=TE(null,t,g,w,i),z;case G:return t.type=g=rC(g),z=Tx(null,t,g,w,i),z;case Ve:return t.type=g=aC(g),z=Ex(null,t,g,w,i),z;case De:{if(t.type!==t.elementType){var M=g.propTypes;M&&ll(M,w,"prop",Ft(g))}return z=Cx(null,t,g,sl(g.type,w),i),z}}var V="";throw g!==null&&typeof g=="object"&&g.$$typeof===Ye&&(V=" Did you wrap a component in React.lazy() more than once?"),new Error("Element type is invalid. Received a promise that resolves to: "+g+". "+("Lazy element type must resolve to a class or function."+V))}function eL(e,t,a,i,u){rg(e,t),t.tag=G;var c;return Jl(a)?(c=!0,pm(t)):c=!1,qf(t,u),Nw(t,a,i),MS(t,a,i,u),RE(null,t,a,!0,c,u)}function tL(e,t,a,i){rg(e,t);var u=t.pendingProps,c;{var d=Vf(t,a,!1);c=$f(t,d)}qf(t,i);var m,g;Il(t);{if(a.prototype&&typeof a.prototype.render=="function"){var C=Ft(a)||"Unknown";EE[C]||(E("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",C,C),EE[C]=!0)}t.mode&kn&&ol.recordLegacyContextWarning(t,null),ia(!0),uv.current=t,m=nd(null,t,a,u,c,i),g=rd(),ia(!1)}if(xu(),t.flags|=Ul,typeof m=="object"&&m!==null&&typeof m.render=="function"&&m.$$typeof===void 0){var w=Ft(a)||"Unknown";ov[w]||(E("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",w,w,w),ov[w]=!0)}if(typeof m=="object"&&m!==null&&typeof m.render=="function"&&m.$$typeof===void 0){{var z=Ft(a)||"Unknown";ov[z]||(E("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",z,z,z),ov[z]=!0)}t.tag=G,t.memoizedState=null,t.updateQueue=null;var M=!1;return Jl(a)?(M=!0,pm(t)):M=!1,t.memoizedState=m.state!==null&&m.state!==void 0?m.state:null,ES(t),Ow(t,m),MS(t,a,u,i),RE(null,t,a,!0,M,i)}else{if(t.tag=A,t.mode&kn){Qn(!0);try{m=nd(null,t,a,u,c,i),g=rd()}finally{Qn(!1)}}return Vr()&&g&&iS(t),Na(null,t,m,i),kE(t,a),t.child}}function kE(e,t){{if(t&&t.childContextTypes&&E("%s(...): childContextTypes cannot be defined on a function component.",t.displayName||t.name||"Component"),e.ref!==null){var a="",i=Br();i&&(a+=`
|
|
208
|
+
|
|
209
|
+
Check the render method of \``+i+"`.");var u=i||"",c=e._debugSource;c&&(u=c.fileName+":"+c.lineNumber),xE[u]||(xE[u]=!0,E("Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()?%s",a))}if(typeof t.getDerivedStateFromProps=="function"){var d=Ft(t)||"Unknown";wE[d]||(E("%s: Function components do not support getDerivedStateFromProps.",d),wE[d]=!0)}if(typeof t.contextType=="object"&&t.contextType!==null){var m=Ft(t)||"Unknown";CE[m]||(E("%s: Function components do not support contextType.",m),CE[m]=!0)}}}var _E={dehydrated:null,treeContext:null,retryLane:At};function DE(e){return{baseLanes:e,cachePool:YD(),transitions:null}}function nL(e,t){var a=null;return{baseLanes:yt(e.baseLanes,t),cachePool:a,transitions:e.transitions}}function rL(e,t,a,i){if(t!==null){var u=t.memoizedState;if(u===null)return!1}return IS(e,Jp)}function aL(e,t){return Oo(e.childLanes,t)}function _x(e,t,a){var i=t.pendingProps;pN(t)&&(t.flags|=at);var u=cl.current,c=!1,d=(t.flags&at)!==$e;if(d||rL(u,e)?(c=!0,t.flags&=~at):(e===null||e.memoizedState!==null)&&(u=RD(u,Hw)),u=Zf(u),es(t,u),e===null){cS(t);var m=t.memoizedState;if(m!==null){var g=m.dehydrated;if(g!==null)return sL(t,g)}var C=i.children,w=i.fallback;if(c){var z=iL(t,C,w,a),M=t.child;return M.memoizedState=DE(a),t.memoizedState=_E,z}else return LE(t,C)}else{var V=e.memoizedState;if(V!==null){var Y=V.dehydrated;if(Y!==null)return cL(e,t,d,i,Y,V,a)}if(c){var K=i.fallback,Re=i.children,We=uL(e,t,Re,K,a),Fe=t.child,zt=e.child.memoizedState;return Fe.memoizedState=zt===null?DE(a):nL(zt,a),Fe.childLanes=aL(e,a),t.memoizedState=_E,We}else{var Dt=i.children,B=lL(e,t,Dt,a);return t.memoizedState=null,B}}}function LE(e,t,a){var i=e.mode,u={mode:"visible",children:t},c=OE(u,i);return c.return=e,e.child=c,c}function iL(e,t,a,i){var u=e.mode,c=e.child,d={mode:"hidden",children:t},m,g;return(u&Tt)===Ke&&c!==null?(m=c,m.childLanes=Z,m.pendingProps=d,e.mode&Je&&(m.actualDuration=0,m.actualStartTime=-1,m.selfBaseDuration=0,m.treeBaseDuration=0),g=os(a,u,i,null)):(m=OE(d,u),g=os(a,u,i,null)),m.return=e,g.return=e,m.sibling=g,e.child=m,g}function OE(e,t,a){return Db(e,t,Z,null)}function Dx(e,t){return Sc(e,t)}function lL(e,t,a,i){var u=e.child,c=u.sibling,d=Dx(u,{mode:"visible",children:a});if((t.mode&Tt)===Ke&&(d.lanes=i),d.return=t,d.sibling=null,c!==null){var m=t.deletions;m===null?(t.deletions=[c],t.flags|=Wt):m.push(c)}return t.child=d,d}function uL(e,t,a,i,u){var c=t.mode,d=e.child,m=d.sibling,g={mode:"hidden",children:a},C;if((c&Tt)===Ke&&t.child!==d){var w=t.child;C=w,C.childLanes=Z,C.pendingProps=g,t.mode&Je&&(C.actualDuration=0,C.actualStartTime=-1,C.selfBaseDuration=d.selfBaseDuration,C.treeBaseDuration=d.treeBaseDuration),t.deletions=null}else C=Dx(d,g),C.subtreeFlags=d.subtreeFlags≺var z;return m!==null?z=Sc(m,i):(z=os(i,c,u,null),z.flags|=hn),z.return=t,C.return=t,C.sibling=z,t.child=C,z}function ng(e,t,a,i){i!==null&&fS(i),Kf(t,e.child,null,a);var u=t.pendingProps,c=u.children,d=LE(t,c);return d.flags|=hn,t.memoizedState=null,d}function oL(e,t,a,i,u){var c=t.mode,d={mode:"visible",children:a},m=OE(d,c),g=os(i,c,u,null);return g.flags|=hn,m.return=t,g.return=t,m.sibling=g,t.child=m,(t.mode&Tt)!==Ke&&Kf(t,e.child,null,u),g}function sL(e,t,a){return(e.mode&Tt)===Ke?(E("Cannot hydrate Suspense in legacy mode. Switch from ReactDOM.hydrate(element, container) to ReactDOMClient.hydrateRoot(container, <App />).render(element) or remove the Suspense components from the server rendered components."),e.lanes=tt):qy(t)?e.lanes=Ru:e.lanes=pa,null}function cL(e,t,a,i,u,c,d){if(a)if(t.flags&On){t.flags&=~On;var B=gE(new Error("There was an error while hydrating this Suspense boundary. Switched to client rendering."));return ng(e,t,d,B)}else{if(t.memoizedState!==null)return t.child=e.child,t.flags|=at,null;var X=i.children,H=i.fallback,se=oL(e,t,X,H,d),ke=t.child;return ke.memoizedState=DE(d),t.memoizedState=_E,se}else{if(Z_(),(t.mode&Tt)===Ke)return ng(e,t,d,null);if(qy(u)){var m,g,C;{var w=h_(u);m=w.digest,g=w.message,C=w.stack}var z;g?z=new Error(g):z=new Error("The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering.");var M=gE(z,m,C);return ng(e,t,d,M)}var V=va(d,e.childLanes);if(dl||V){var Y=pg();if(Y!==null){var K=my(Y,d);if(K!==At&&K!==c.retryLane){c.retryLane=K;var Re=sn;ti(e,K),xr(Y,e,K,Re)}}ZE();var We=gE(new Error("This Suspense boundary received an update before it finished hydrating. This caused the boundary to switch to client rendering. The usual way to fix this is to wrap the original update in startTransition."));return ng(e,t,d,We)}else if(X0(u)){t.flags|=at,t.child=e.child;var Fe=UO.bind(null,e);return m_(u,Fe),null}else{tD(t,u,c.treeContext);var zt=i.children,Dt=LE(t,zt);return Dt.flags|=Ya,Dt}}}function Lx(e,t,a){e.lanes=yt(e.lanes,t);var i=e.alternate;i!==null&&(i.lanes=yt(i.lanes,t)),mS(e.return,t,a)}function fL(e,t,a){for(var i=t;i!==null;){if(i.tag===_e){var u=i.memoizedState;u!==null&&Lx(i,a,e)}else if(i.tag===wt)Lx(i,a,e);else if(i.child!==null){i.child.return=i,i=i.child;continue}if(i===e)return;for(;i.sibling===null;){if(i.return===null||i.return===e)return;i=i.return}i.sibling.return=i.return,i=i.sibling}}function dL(e){for(var t=e,a=null;t!==null;){var i=t.alternate;i!==null&&Um(i)===null&&(a=t),t=t.sibling}return a}function pL(e){if(e!==void 0&&e!=="forwards"&&e!=="backwards"&&e!=="together"&&!bE[e])if(bE[e]=!0,typeof e=="string")switch(e.toLowerCase()){case"together":case"forwards":case"backwards":{E('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',e,e.toLowerCase());break}case"forward":case"backward":{E('"%s" is not a valid value for revealOrder on <SuspenseList />. React uses the -s suffix in the spelling. Use "%ss" instead.',e,e.toLowerCase());break}default:E('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e);break}else E('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e)}function vL(e,t){e!==void 0&&!tg[e]&&(e!=="collapsed"&&e!=="hidden"?(tg[e]=!0,E('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "collapsed" or "hidden"?',e)):t!=="forwards"&&t!=="backwards"&&(tg[e]=!0,E('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',e)))}function Ox(e,t){{var a=Lt(e),i=!a&&typeof li(e)=="function";if(a||i){var u=a?"array":"iterable";return E("A nested %s was passed to row #%s in <SuspenseList />. Wrap it in an additional SuspenseList to configure its revealOrder: <SuspenseList revealOrder=...> ... <SuspenseList revealOrder=...>{%s}</SuspenseList> ... </SuspenseList>",u,t,u),!1}}return!0}function hL(e,t){if((t==="forwards"||t==="backwards")&&e!==void 0&&e!==null&&e!==!1)if(Lt(e)){for(var a=0;a<e.length;a++)if(!Ox(e[a],a))return}else{var i=li(e);if(typeof i=="function"){var u=i.call(e);if(u)for(var c=u.next(),d=0;!c.done;c=u.next()){if(!Ox(c.value,d))return;d++}}else E('A single row was passed to a <SuspenseList revealOrder="%s" />. This is not useful since it needs multiple rows. Did you mean to pass multiple children or an array?',t)}}function NE(e,t,a,i,u){var c=e.memoizedState;c===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:i,tail:a,tailMode:u}:(c.isBackwards=t,c.rendering=null,c.renderingStartTime=0,c.last=i,c.tail=a,c.tailMode=u)}function Nx(e,t,a){var i=t.pendingProps,u=i.revealOrder,c=i.tail,d=i.children;pL(u),vL(c,u),hL(d,u),Na(e,t,d,a);var m=cl.current,g=IS(m,Jp);if(g)m=VS(m,Jp),t.flags|=at;else{var C=e!==null&&(e.flags&at)!==$e;C&&fL(t,t.child,a),m=Zf(m)}if(es(t,m),(t.mode&Tt)===Ke)t.memoizedState=null;else switch(u){case"forwards":{var w=dL(t.child),z;w===null?(z=t.child,t.child=null):(z=w.sibling,w.sibling=null),NE(t,!1,z,w,c);break}case"backwards":{var M=null,V=t.child;for(t.child=null;V!==null;){var Y=V.alternate;if(Y!==null&&Um(Y)===null){t.child=V;break}var K=V.sibling;V.sibling=M,M=V,V=K}NE(t,!0,M,null,c);break}case"together":{NE(t,!1,null,null,void 0);break}default:t.memoizedState=null}return t.child}function mL(e,t,a){FS(t,t.stateNode.containerInfo);var i=t.pendingProps;return e===null?t.child=Kf(t,null,i,a):Na(e,t,i,a),t.child}var Mx=!1;function gL(e,t,a){var i=t.type,u=i._context,c=t.pendingProps,d=t.memoizedProps,m=c.value;{"value"in c||Mx||(Mx=!0,E("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?"));var g=t.type.propTypes;g&&ll(g,c,"prop","Context.Provider")}if(Ew(t,u,m),d!==null){var C=d.value;if(Me(C,m)){if(d.children===c.children&&!fm())return qu(e,t,a)}else fD(t,u,a)}var w=c.children;return Na(e,t,w,a),t.child}var Ax=!1;function yL(e,t,a){var i=t.type;i._context===void 0?i!==i.Consumer&&(Ax||(Ax=!0,E("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?"))):i=i._context;var u=t.pendingProps,c=u.children;typeof c!="function"&&E("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it."),qf(t,a);var d=cr(i);Il(t);var m;return uv.current=t,ia(!0),m=c(d),ia(!1),xu(),t.flags|=Ul,Na(e,t,m,a),t.child}function sv(){dl=!0}function rg(e,t){(t.mode&Tt)===Ke&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=hn)}function qu(e,t,a){return e!==null&&(t.dependencies=e.dependencies),hx(),Cv(t.lanes),va(a,t.childLanes)?(xD(e,t),t.child):null}function SL(e,t,a){{var i=t.return;if(i===null)throw new Error("Cannot swap the root fiber.");if(e.alternate=null,t.alternate=null,a.index=t.index,a.sibling=t.sibling,a.return=t.return,a.ref=t.ref,t===i.child)i.child=a;else{var u=i.child;if(u===null)throw new Error("Expected parent to have a child.");for(;u.sibling!==t;)if(u=u.sibling,u===null)throw new Error("Expected to find the previous sibling.");u.sibling=a}var c=i.deletions;return c===null?(i.deletions=[e],i.flags|=Wt):c.push(e),a.flags|=hn,a}}function ME(e,t){var a=e.lanes;return!!va(a,t)}function EL(e,t,a){switch(t.tag){case F:Rx(t),t.stateNode,Qf();break;case ue:Fw(t);break;case G:{var i=t.type;Jl(i)&&pm(t);break}case ne:FS(t,t.stateNode.containerInfo);break;case Qe:{var u=t.memoizedProps.value,c=t.type._context;Ew(t,c,u);break}case vt:{var d=va(a,t.childLanes);d&&(t.flags|=gt);{var m=t.stateNode;m.effectDuration=0,m.passiveEffectDuration=0}}break;case _e:{var g=t.memoizedState;if(g!==null){if(g.dehydrated!==null)return es(t,Zf(cl.current)),t.flags|=at,null;var C=t.child,w=C.childLanes;if(va(a,w))return _x(e,t,a);es(t,Zf(cl.current));var z=qu(e,t,a);return z!==null?z.sibling:null}else es(t,Zf(cl.current));break}case wt:{var M=(e.flags&at)!==$e,V=va(a,t.childLanes);if(M){if(V)return Nx(e,t,a);t.flags|=at}var Y=t.memoizedState;if(Y!==null&&(Y.rendering=null,Y.tail=null,Y.lastEffect=null),es(t,cl.current),V)break;return null}case Ge:case dt:return t.lanes=Z,xx(e,t,a)}return qu(e,t,a)}function Ux(e,t,a){if(t._debugNeedsRemount&&e!==null)return SL(e,t,sC(t.type,t.key,t.pendingProps,t._debugOwner||null,t.mode,t.lanes));if(e!==null){var i=e.memoizedProps,u=t.pendingProps;if(i!==u||fm()||t.type!==e.type)dl=!0;else{var c=ME(e,a);if(!c&&(t.flags&at)===$e)return dl=!1,EL(e,t,a);(e.flags&Us)!==$e?dl=!0:dl=!1}}else if(dl=!1,Vr()&&W_(t)){var d=t.index,m=Q_();ow(t,m,d)}switch(t.lanes=Z,t.tag){case re:return tL(e,t,t.type,a);case Rt:{var g=t.elementType;return JD(e,t,g,a)}case A:{var C=t.type,w=t.pendingProps,z=t.elementType===C?w:sl(C,w);return TE(e,t,C,z,a)}case G:{var M=t.type,V=t.pendingProps,Y=t.elementType===M?V:sl(M,V);return Tx(e,t,M,Y,a)}case F:return KD(e,t,a);case ue:return XD(e,t,a);case be:return ZD(e,t);case _e:return _x(e,t,a);case ne:return mL(e,t,a);case Ve:{var K=t.type,Re=t.pendingProps,We=t.elementType===K?Re:sl(K,Re);return Ex(e,t,K,We,a)}case Xe:return QD(e,t,a);case et:return GD(e,t,a);case vt:return qD(e,t,a);case Qe:return gL(e,t,a);case lt:return yL(e,t,a);case De:{var Fe=t.type,zt=t.pendingProps,Dt=sl(Fe,zt);if(t.type!==t.elementType){var B=Fe.propTypes;B&&ll(B,Dt,"prop",Ft(Fe))}return Dt=sl(Fe.type,Dt),Cx(e,t,Fe,Dt,a)}case Oe:return wx(e,t,t.type,t.pendingProps,a);case nn:{var X=t.type,H=t.pendingProps,se=t.elementType===X?H:sl(X,H);return eL(e,t,X,se,a)}case wt:return Nx(e,t,a);case vn:break;case Ge:return xx(e,t,a)}throw new Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function ad(e){e.flags|=gt}function zx(e){e.flags|=ua,e.flags|=$d}var jx,AE,Px,Fx;jx=function(e,t,a,i){for(var u=t.child;u!==null;){if(u.tag===ue||u.tag===be)Vk(e,u.stateNode);else if(u.tag!==ne){if(u.child!==null){u.child.return=u,u=u.child;continue}}if(u===t)return;for(;u.sibling===null;){if(u.return===null||u.return===t)return;u=u.return}u.sibling.return=u.return,u=u.sibling}},AE=function(e,t){},Px=function(e,t,a,i,u){var c=e.memoizedProps;if(c!==i){var d=t.stateNode,m=BS(),g=Yk(d,a,c,i,u,m);t.updateQueue=g,g&&ad(t)}},Fx=function(e,t,a,i){a!==i&&ad(t)};function cv(e,t){if(!Vr())switch(e.tailMode){case"hidden":{for(var a=e.tail,i=null;a!==null;)a.alternate!==null&&(i=a),a=a.sibling;i===null?e.tail=null:i.sibling=null;break}case"collapsed":{for(var u=e.tail,c=null;u!==null;)u.alternate!==null&&(c=u),u=u.sibling;c===null?!t&&e.tail!==null?e.tail.sibling=null:e.tail=null:c.sibling=null;break}}}function Yr(e){var t=e.alternate!==null&&e.alternate.child===e.child,a=Z,i=$e;if(t){if((e.mode&Je)!==Ke){for(var g=e.selfBaseDuration,C=e.child;C!==null;)a=yt(a,yt(C.lanes,C.childLanes)),i|=C.subtreeFlags&pr,i|=C.flags&pr,g+=C.treeBaseDuration,C=C.sibling;e.treeBaseDuration=g}else for(var w=e.child;w!==null;)a=yt(a,yt(w.lanes,w.childLanes)),i|=w.subtreeFlags&pr,i|=w.flags&pr,w.return=e,w=w.sibling;e.subtreeFlags|=i}else{if((e.mode&Je)!==Ke){for(var u=e.actualDuration,c=e.selfBaseDuration,d=e.child;d!==null;)a=yt(a,yt(d.lanes,d.childLanes)),i|=d.subtreeFlags,i|=d.flags,u+=d.actualDuration,c+=d.treeBaseDuration,d=d.sibling;e.actualDuration=u,e.treeBaseDuration=c}else for(var m=e.child;m!==null;)a=yt(a,yt(m.lanes,m.childLanes)),i|=m.subtreeFlags,i|=m.flags,m.return=e,m=m.sibling;e.subtreeFlags|=i}return e.childLanes=a,t}function CL(e,t,a){if(lD()&&(t.mode&Tt)!==Ke&&(t.flags&at)===$e)return hw(t),Qf(),t.flags|=On|Ra|ir,!1;var i=ym(t);if(a!==null&&a.dehydrated!==null)if(e===null){if(!i)throw new Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(aD(t),Yr(t),(t.mode&Je)!==Ke){var u=a!==null;if(u){var c=t.child;c!==null&&(t.treeBaseDuration-=c.treeBaseDuration)}}return!1}else{if(Qf(),(t.flags&at)===$e&&(t.memoizedState=null),t.flags|=gt,Yr(t),(t.mode&Je)!==Ke){var d=a!==null;if(d){var m=t.child;m!==null&&(t.treeBaseDuration-=m.treeBaseDuration)}}return!1}else return mw(),!0}function Bx(e,t,a){var i=t.pendingProps;switch(lS(t),t.tag){case re:case Rt:case Oe:case A:case Ve:case Xe:case et:case vt:case lt:case De:return Yr(t),null;case G:{var u=t.type;return Jl(u)&&dm(t),Yr(t),null}case F:{var c=t.stateNode;if(Xf(t),nS(t),YS(),c.pendingContext&&(c.context=c.pendingContext,c.pendingContext=null),e===null||e.child===null){var d=ym(t);if(d)ad(t);else if(e!==null){var m=e.memoizedState;(!m.isDehydrated||(t.flags&On)!==$e)&&(t.flags|=$a,mw())}}return AE(e,t),Yr(t),null}case ue:{HS(t);var g=Pw(),C=t.type;if(e!==null&&t.stateNode!=null)Px(e,t,C,i,g),e.ref!==t.ref&&zx(t);else{if(!i){if(t.stateNode===null)throw new Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return Yr(t),null}var w=BS(),z=ym(t);if(z)nD(t,g,w)&&ad(t);else{var M=Ik(C,i,g,w,t);jx(M,t,!1,!1),t.stateNode=M,$k(M,C,i,g)&&ad(t)}t.ref!==null&&zx(t)}return Yr(t),null}case be:{var V=i;if(e&&t.stateNode!=null){var Y=e.memoizedProps;Fx(e,t,Y,V)}else{if(typeof V!="string"&&t.stateNode===null)throw new Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");var K=Pw(),Re=BS(),We=ym(t);We?rD(t)&&ad(t):t.stateNode=Wk(V,K,Re,t)}return Yr(t),null}case _e:{Jf(t);var Fe=t.memoizedState;if(e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){var zt=CL(e,t,Fe);if(!zt)return t.flags&ir?t:null}if((t.flags&at)!==$e)return t.lanes=a,(t.mode&Je)!==Ke&&mE(t),t;var Dt=Fe!==null,B=e!==null&&e.memoizedState!==null;if(Dt!==B&&Dt){var X=t.child;if(X.flags|=zl,(t.mode&Tt)!==Ke){var H=e===null&&(t.memoizedProps.unstable_avoidThisFallback!==!0||!te);H||IS(cl.current,Hw)?wO():ZE()}}var se=t.updateQueue;if(se!==null&&(t.flags|=gt),Yr(t),(t.mode&Je)!==Ke&&Dt){var ke=t.child;ke!==null&&(t.treeBaseDuration-=ke.treeBaseDuration)}return null}case ne:return Xf(t),AE(e,t),e===null&&F_(t.stateNode.containerInfo),Yr(t),null;case Qe:var Ee=t.type._context;return hS(Ee,t),Yr(t),null;case nn:{var rt=t.type;return Jl(rt)&&dm(t),Yr(t),null}case wt:{Jf(t);var pt=t.memoizedState;if(pt===null)return Yr(t),null;var an=(t.flags&at)!==$e,Vt=pt.rendering;if(Vt===null)if(an)cv(pt,!1);else{var Zn=bO()&&(e===null||(e.flags&at)===$e);if(!Zn)for(var $t=t.child;$t!==null;){var Vn=Um($t);if(Vn!==null){an=!0,t.flags|=at,cv(pt,!1);var ya=Vn.updateQueue;return ya!==null&&(t.updateQueue=ya,t.flags|=gt),t.subtreeFlags=$e,bD(t,a),es(t,VS(cl.current,Jp)),t.child}$t=$t.sibling}pt.tail!==null&&Rn()>ub()&&(t.flags|=at,an=!0,cv(pt,!1),t.lanes=rp)}else{if(!an){var Kr=Um(Vt);if(Kr!==null){t.flags|=at,an=!0;var gi=Kr.updateQueue;if(gi!==null&&(t.updateQueue=gi,t.flags|=gt),cv(pt,!0),pt.tail===null&&pt.tailMode==="hidden"&&!Vt.alternate&&!Vr())return Yr(t),null}else Rn()*2-pt.renderingStartTime>ub()&&a!==pa&&(t.flags|=at,an=!0,cv(pt,!1),t.lanes=rp)}if(pt.isBackwards)Vt.sibling=t.child,t.child=Vt;else{var Ua=pt.last;Ua!==null?Ua.sibling=Vt:t.child=Vt,pt.last=Vt}}if(pt.tail!==null){var za=pt.tail;pt.rendering=za,pt.tail=za.sibling,pt.renderingStartTime=Rn(),za.sibling=null;var Sa=cl.current;return an?Sa=VS(Sa,Jp):Sa=Zf(Sa),es(t,Sa),za}return Yr(t),null}case vn:break;case Ge:case dt:{XE(t);var eo=t.memoizedState,dd=eo!==null;if(e!==null){var Rv=e.memoizedState,uu=Rv!==null;uu!==dd&&!D&&(t.flags|=zl)}return!dd||(t.mode&Tt)===Ke?Yr(t):va(lu,pa)&&(Yr(t),t.subtreeFlags&(hn|gt)&&(t.flags|=zl)),null}case Ue:return null;case ut:return null}throw new Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function wL(e,t,a){switch(lS(t),t.tag){case G:{var i=t.type;Jl(i)&&dm(t);var u=t.flags;return u&ir?(t.flags=u&~ir|at,(t.mode&Je)!==Ke&&mE(t),t):null}case F:{t.stateNode,Xf(t),nS(t),YS();var c=t.flags;return(c&ir)!==$e&&(c&at)===$e?(t.flags=c&~ir|at,t):null}case ue:return HS(t),null;case _e:{Jf(t);var d=t.memoizedState;if(d!==null&&d.dehydrated!==null){if(t.alternate===null)throw new Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");Qf()}var m=t.flags;return m&ir?(t.flags=m&~ir|at,(t.mode&Je)!==Ke&&mE(t),t):null}case wt:return Jf(t),null;case ne:return Xf(t),null;case Qe:var g=t.type._context;return hS(g,t),null;case Ge:case dt:return XE(t),null;case Ue:return null;default:return null}}function Hx(e,t,a){switch(lS(t),t.tag){case G:{var i=t.type.childContextTypes;i!=null&&dm(t);break}case F:{t.stateNode,Xf(t),nS(t),YS();break}case ue:{HS(t);break}case ne:Xf(t);break;case _e:Jf(t);break;case wt:Jf(t);break;case Qe:var u=t.type._context;hS(u,t);break;case Ge:case dt:XE(t);break}}var Ix=null;Ix=new Set;var ag=!1,Wr=!1,xL=typeof WeakSet=="function"?WeakSet:Set,Ae=null,id=null,ld=null;function bL(e){Cu(null,function(){throw e}),Id()}var TL=function(e,t){if(t.props=e.memoizedProps,t.state=e.memoizedState,e.mode&Je)try{au(),t.componentWillUnmount()}finally{ru(e)}else t.componentWillUnmount()};function Vx(e,t){try{rs(gr,e)}catch(a){Sn(e,t,a)}}function UE(e,t,a){try{TL(e,a)}catch(i){Sn(e,t,i)}}function RL(e,t,a){try{a.componentDidMount()}catch(i){Sn(e,t,i)}}function $x(e,t){try{Wx(e)}catch(a){Sn(e,t,a)}}function ud(e,t){var a=e.ref;if(a!==null)if(typeof a=="function"){var i;try{if(St&&kt&&e.mode&Je)try{au(),i=a(null)}finally{ru(e)}else i=a(null)}catch(u){Sn(e,t,u)}typeof i=="function"&&E("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",ct(e))}else a.current=null}function ig(e,t,a){try{a()}catch(i){Sn(e,t,i)}}var Yx=!1;function kL(e,t){Bk(e.containerInfo),Ae=t,_L();var a=Yx;return Yx=!1,a}function _L(){for(;Ae!==null;){var e=Ae,t=e.child;(e.subtreeFlags&xo)!==$e&&t!==null?(t.return=e,Ae=t):DL()}}function DL(){for(;Ae!==null;){var e=Ae;Xt(e);try{LL(e)}catch(a){Sn(e,e.return,a)}Ln();var t=e.sibling;if(t!==null){t.return=e.return,Ae=t;return}Ae=e.return}}function LL(e){var t=e.alternate,a=e.flags;if((a&$a)!==$e){switch(Xt(e),e.tag){case A:case Ve:case Oe:break;case G:{if(t!==null){var i=t.memoizedProps,u=t.memoizedState,c=e.stateNode;e.type===e.elementType&&!vc&&(c.props!==e.memoizedProps&&E("Expected %s props to match memoized props before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",ct(e)||"instance"),c.state!==e.memoizedState&&E("Expected %s state to match memoized state before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",ct(e)||"instance"));var d=c.getSnapshotBeforeUpdate(e.elementType===e.type?i:sl(e.type,i),u);{var m=Ix;d===void 0&&!m.has(e.type)&&(m.add(e.type),E("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",ct(e)))}c.__reactInternalSnapshotBeforeUpdate=d}break}case F:{{var g=e.stateNode;f_(g.containerInfo)}break}case ue:case be:case ne:case nn:break;default:throw new Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}Ln()}}function pl(e,t,a){var i=t.updateQueue,u=i!==null?i.lastEffect:null;if(u!==null){var c=u.next,d=c;do{if((d.tag&e)===e){var m=d.destroy;d.destroy=void 0,m!==void 0&&((e&$r)!==ni?qc(t):(e&gr)!==ni&&Kc(t),(e&eu)!==ni&&xv(!0),ig(t,a,m),(e&eu)!==ni&&xv(!1),(e&$r)!==ni?gh():(e&gr)!==ni&&bo())}d=d.next}while(d!==c)}}function rs(e,t){var a=t.updateQueue,i=a!==null?a.lastEffect:null;if(i!==null){var u=i.next,c=u;do{if((c.tag&e)===e){(e&$r)!==ni?mh(t):(e&gr)!==ni&&yh(t);var d=c.create;(e&eu)!==ni&&xv(!0),c.destroy=d(),(e&eu)!==ni&&xv(!1),(e&$r)!==ni?ep():(e&gr)!==ni&&Sh();{var m=c.destroy;if(m!==void 0&&typeof m!="function"){var g=void 0;(c.tag&gr)!==$e?g="useLayoutEffect":(c.tag&eu)!==$e?g="useInsertionEffect":g="useEffect";var C=void 0;m===null?C=" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof m.then=="function"?C=`
|
|
210
|
+
|
|
211
|
+
It looks like you wrote `+g+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
|
|
212
|
+
|
|
213
|
+
`+g+`(() => {
|
|
214
|
+
async function fetchData() {
|
|
215
|
+
// You can await here
|
|
216
|
+
const response = await MyAPI.getData(someId);
|
|
217
|
+
// ...
|
|
218
|
+
}
|
|
219
|
+
fetchData();
|
|
220
|
+
}, [someId]); // Or [] if effect doesn't need props or state
|
|
221
|
+
|
|
222
|
+
Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-fetching`:C=" You returned: "+m,E("%s must not return anything besides a function, which is used for clean-up.%s",g,C)}}}c=c.next}while(c!==u)}}function OL(e,t){if((t.flags>)!==$e)switch(t.tag){case vt:{var a=t.stateNode.passiveEffectDuration,i=t.memoizedProps,u=i.id,c=i.onPostCommit,d=px(),m=t.alternate===null?"mount":"update";dx()&&(m="nested-update"),typeof c=="function"&&c(u,m,a,d);var g=t.return;e:for(;g!==null;){switch(g.tag){case F:var C=g.stateNode;C.passiveEffectDuration+=a;break e;case vt:var w=g.stateNode;w.passiveEffectDuration+=a;break e}g=g.return}break}}}function NL(e,t,a,i){if((a.flags&_r)!==$e)switch(a.tag){case A:case Ve:case Oe:{if(!Wr)if(a.mode&Je)try{au(),rs(gr|mr,a)}finally{ru(a)}else rs(gr|mr,a);break}case G:{var u=a.stateNode;if(a.flags>&&!Wr)if(t===null)if(a.type===a.elementType&&!vc&&(u.props!==a.memoizedProps&&E("Expected %s props to match memoized props before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",ct(a)||"instance"),u.state!==a.memoizedState&&E("Expected %s state to match memoized state before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",ct(a)||"instance")),a.mode&Je)try{au(),u.componentDidMount()}finally{ru(a)}else u.componentDidMount();else{var c=a.elementType===a.type?t.memoizedProps:sl(a.type,t.memoizedProps),d=t.memoizedState;if(a.type===a.elementType&&!vc&&(u.props!==a.memoizedProps&&E("Expected %s props to match memoized props before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",ct(a)||"instance"),u.state!==a.memoizedState&&E("Expected %s state to match memoized state before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",ct(a)||"instance")),a.mode&Je)try{au(),u.componentDidUpdate(c,d,u.__reactInternalSnapshotBeforeUpdate)}finally{ru(a)}else u.componentDidUpdate(c,d,u.__reactInternalSnapshotBeforeUpdate)}var m=a.updateQueue;m!==null&&(a.type===a.elementType&&!vc&&(u.props!==a.memoizedProps&&E("Expected %s props to match memoized props before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",ct(a)||"instance"),u.state!==a.memoizedState&&E("Expected %s state to match memoized state before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",ct(a)||"instance")),Rw(a,m,u));break}case F:{var g=a.updateQueue;if(g!==null){var C=null;if(a.child!==null)switch(a.child.tag){case ue:C=a.child.stateNode;break;case G:C=a.child.stateNode;break}Rw(a,g,C)}break}case ue:{var w=a.stateNode;if(t===null&&a.flags>){var z=a.type,M=a.memoizedProps;Xk(w,z,M)}break}case be:break;case ne:break;case vt:{{var V=a.memoizedProps,Y=V.onCommit,K=V.onRender,Re=a.stateNode.effectDuration,We=px(),Fe=t===null?"mount":"update";dx()&&(Fe="nested-update"),typeof K=="function"&&K(a.memoizedProps.id,Fe,a.actualDuration,a.treeBaseDuration,a.actualStartTime,We);{typeof Y=="function"&&Y(a.memoizedProps.id,Fe,Re,We),DO(a);var zt=a.return;e:for(;zt!==null;){switch(zt.tag){case F:var Dt=zt.stateNode;Dt.effectDuration+=Re;break e;case vt:var B=zt.stateNode;B.effectDuration+=Re;break e}zt=zt.return}}}break}case _e:{BL(e,a);break}case wt:case nn:case vn:case Ge:case dt:case ut:break;default:throw new Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}Wr||a.flags&ua&&Wx(a)}function ML(e){switch(e.tag){case A:case Ve:case Oe:{if(e.mode&Je)try{au(),Vx(e,e.return)}finally{ru(e)}else Vx(e,e.return);break}case G:{var t=e.stateNode;typeof t.componentDidMount=="function"&&RL(e,e.return,t),$x(e,e.return);break}case ue:{$x(e,e.return);break}}}function AL(e,t){for(var a=null,i=e;;){if(i.tag===ue){if(a===null){a=i;try{var u=i.stateNode;t?u_(u):s_(i.stateNode,i.memoizedProps)}catch(d){Sn(e,e.return,d)}}}else if(i.tag===be){if(a===null)try{var c=i.stateNode;t?o_(c):c_(c,i.memoizedProps)}catch(d){Sn(e,e.return,d)}}else if(!((i.tag===Ge||i.tag===dt)&&i.memoizedState!==null&&i!==e)){if(i.child!==null){i.child.return=i,i=i.child;continue}}if(i===e)return;for(;i.sibling===null;){if(i.return===null||i.return===e)return;a===i&&(a=null),i=i.return}a===i&&(a=null),i.sibling.return=i.return,i=i.sibling}}function Wx(e){var t=e.ref;if(t!==null){var a=e.stateNode,i;switch(e.tag){case ue:i=a;break;default:i=a}if(typeof t=="function"){var u;if(e.mode&Je)try{au(),u=t(i)}finally{ru(e)}else u=t(i);typeof u=="function"&&E("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",ct(e))}else t.hasOwnProperty("current")||E("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",ct(e)),t.current=i}}function UL(e){var t=e.alternate;t!==null&&(t.return=null),e.return=null}function Qx(e){var t=e.alternate;t!==null&&(e.alternate=null,Qx(t));{if(e.child=null,e.deletions=null,e.sibling=null,e.tag===ue){var a=e.stateNode;a!==null&&I_(a)}e.stateNode=null,e._debugOwner=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}}function zL(e){for(var t=e.return;t!==null;){if(Gx(t))return t;t=t.return}throw new Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.")}function Gx(e){return e.tag===ue||e.tag===F||e.tag===ne}function qx(e){var t=e;e:for(;;){for(;t.sibling===null;){if(t.return===null||Gx(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==ue&&t.tag!==be&&t.tag!==jt;){if(t.flags&hn||t.child===null||t.tag===ne)continue e;t.child.return=t,t=t.child}if(!(t.flags&hn))return t.stateNode}}function jL(e){var t=zL(e);switch(t.tag){case ue:{var a=t.stateNode;t.flags&Zt&&(K0(a),t.flags&=~Zt);var i=qx(e);jE(e,i,a);break}case F:case ne:{var u=t.stateNode.containerInfo,c=qx(e);zE(e,c,u);break}default:throw new Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function zE(e,t,a){var i=e.tag,u=i===ue||i===be;if(u){var c=e.stateNode;t?r_(a,c,t):t_(a,c)}else if(i!==ne){var d=e.child;if(d!==null){zE(d,t,a);for(var m=d.sibling;m!==null;)zE(m,t,a),m=m.sibling}}}function jE(e,t,a){var i=e.tag,u=i===ue||i===be;if(u){var c=e.stateNode;t?n_(a,c,t):e_(a,c)}else if(i!==ne){var d=e.child;if(d!==null){jE(d,t,a);for(var m=d.sibling;m!==null;)jE(m,t,a),m=m.sibling}}}var Qr=null,vl=!1;function PL(e,t,a){{var i=t;e:for(;i!==null;){switch(i.tag){case ue:{Qr=i.stateNode,vl=!1;break e}case F:{Qr=i.stateNode.containerInfo,vl=!0;break e}case ne:{Qr=i.stateNode.containerInfo,vl=!0;break e}}i=i.return}if(Qr===null)throw new Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");Kx(e,t,a),Qr=null,vl=!1}UL(a)}function as(e,t,a){for(var i=a.child;i!==null;)Kx(e,t,i),i=i.sibling}function Kx(e,t,a){switch(Zd(a),a.tag){case ue:Wr||ud(a,t);case be:{{var i=Qr,u=vl;Qr=null,as(e,t,a),Qr=i,vl=u,Qr!==null&&(vl?i_(Qr,a.stateNode):a_(Qr,a.stateNode))}return}case jt:{Qr!==null&&(vl?l_(Qr,a.stateNode):Gy(Qr,a.stateNode));return}case ne:{{var c=Qr,d=vl;Qr=a.stateNode.containerInfo,vl=!0,as(e,t,a),Qr=c,vl=d}return}case A:case Ve:case De:case Oe:{if(!Wr){var m=a.updateQueue;if(m!==null){var g=m.lastEffect;if(g!==null){var C=g.next,w=C;do{var z=w,M=z.destroy,V=z.tag;M!==void 0&&((V&eu)!==ni?ig(a,t,M):(V&gr)!==ni&&(Kc(a),a.mode&Je?(au(),ig(a,t,M),ru(a)):ig(a,t,M),bo())),w=w.next}while(w!==C)}}}as(e,t,a);return}case G:{if(!Wr){ud(a,t);var Y=a.stateNode;typeof Y.componentWillUnmount=="function"&&UE(a,t,Y)}as(e,t,a);return}case vn:{as(e,t,a);return}case Ge:{if(a.mode&Tt){var K=Wr;Wr=K||a.memoizedState!==null,as(e,t,a),Wr=K}else as(e,t,a);break}default:{as(e,t,a);return}}}function FL(e){e.memoizedState}function BL(e,t){var a=t.memoizedState;if(a===null){var i=t.alternate;if(i!==null){var u=i.memoizedState;if(u!==null){var c=u.dehydrated;c!==null&&T_(c)}}}}function Xx(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var a=e.stateNode;a===null&&(a=e.stateNode=new xL),t.forEach(function(i){var u=zO.bind(null,e,i);if(!a.has(i)){if(a.add(i),vr)if(id!==null&&ld!==null)wv(ld,id);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");i.then(u,u)}})}}function HL(e,t,a){id=a,ld=e,Xt(t),Zx(t,e),Xt(t),id=null,ld=null}function hl(e,t,a){var i=t.deletions;if(i!==null)for(var u=0;u<i.length;u++){var c=i[u];try{PL(e,t,c)}catch(g){Sn(c,t,g)}}var d=kc();if(t.subtreeFlags&ca)for(var m=t.child;m!==null;)Xt(m),Zx(m,e),m=m.sibling;Xt(d)}function Zx(e,t,a){var i=e.alternate,u=e.flags;switch(e.tag){case A:case Ve:case De:case Oe:{if(hl(t,e),iu(e),u>){try{pl(eu|mr,e,e.return),rs(eu|mr,e)}catch(rt){Sn(e,e.return,rt)}if(e.mode&Je){try{au(),pl(gr|mr,e,e.return)}catch(rt){Sn(e,e.return,rt)}ru(e)}else try{pl(gr|mr,e,e.return)}catch(rt){Sn(e,e.return,rt)}}return}case G:{hl(t,e),iu(e),u&ua&&i!==null&&ud(i,i.return);return}case ue:{hl(t,e),iu(e),u&ua&&i!==null&&ud(i,i.return);{if(e.flags&Zt){var c=e.stateNode;try{K0(c)}catch(rt){Sn(e,e.return,rt)}}if(u>){var d=e.stateNode;if(d!=null){var m=e.memoizedProps,g=i!==null?i.memoizedProps:m,C=e.type,w=e.updateQueue;if(e.updateQueue=null,w!==null)try{Zk(d,w,C,g,m,e)}catch(rt){Sn(e,e.return,rt)}}}}return}case be:{if(hl(t,e),iu(e),u>){if(e.stateNode===null)throw new Error("This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.");var z=e.stateNode,M=e.memoizedProps,V=i!==null?i.memoizedProps:M;try{Jk(z,V,M)}catch(rt){Sn(e,e.return,rt)}}return}case F:{if(hl(t,e),iu(e),u>&&i!==null){var Y=i.memoizedState;if(Y.isDehydrated)try{b_(t.containerInfo)}catch(rt){Sn(e,e.return,rt)}}return}case ne:{hl(t,e),iu(e);return}case _e:{hl(t,e),iu(e);var K=e.child;if(K.flags&zl){var Re=K.stateNode,We=K.memoizedState,Fe=We!==null;if(Re.isHidden=Fe,Fe){var zt=K.alternate!==null&&K.alternate.memoizedState!==null;zt||CO()}}if(u>){try{FL(e)}catch(rt){Sn(e,e.return,rt)}Xx(e)}return}case Ge:{var Dt=i!==null&&i.memoizedState!==null;if(e.mode&Tt){var B=Wr;Wr=B||Dt,hl(t,e),Wr=B}else hl(t,e);if(iu(e),u&zl){var X=e.stateNode,H=e.memoizedState,se=H!==null,ke=e;if(X.isHidden=se,se&&!Dt&&(ke.mode&Tt)!==Ke){Ae=ke;for(var Ee=ke.child;Ee!==null;)Ae=Ee,VL(Ee),Ee=Ee.sibling}AL(ke,se)}return}case wt:{hl(t,e),iu(e),u>&&Xx(e);return}case vn:return;default:{hl(t,e),iu(e);return}}}function iu(e){var t=e.flags;if(t&hn){try{jL(e)}catch(a){Sn(e,e.return,a)}e.flags&=~hn}t&Ya&&(e.flags&=~Ya)}function IL(e,t,a){id=a,ld=t,Ae=e,Jx(e,t,a),id=null,ld=null}function Jx(e,t,a){for(var i=(e.mode&Tt)!==Ke;Ae!==null;){var u=Ae,c=u.child;if(u.tag===Ge&&i){var d=u.memoizedState!==null,m=d||ag;if(m){PE(e,t,a);continue}else{var g=u.alternate,C=g!==null&&g.memoizedState!==null,w=C||Wr,z=ag,M=Wr;ag=m,Wr=w,Wr&&!M&&(Ae=u,$L(u));for(var V=c;V!==null;)Ae=V,Jx(V,t,a),V=V.sibling;Ae=u,ag=z,Wr=M,PE(e,t,a);continue}}(u.subtreeFlags&_r)!==$e&&c!==null?(c.return=u,Ae=c):PE(e,t,a)}}function PE(e,t,a){for(;Ae!==null;){var i=Ae;if((i.flags&_r)!==$e){var u=i.alternate;Xt(i);try{NL(t,u,i,a)}catch(d){Sn(i,i.return,d)}Ln()}if(i===e){Ae=null;return}var c=i.sibling;if(c!==null){c.return=i.return,Ae=c;return}Ae=i.return}}function VL(e){for(;Ae!==null;){var t=Ae,a=t.child;switch(t.tag){case A:case Ve:case De:case Oe:{if(t.mode&Je)try{au(),pl(gr,t,t.return)}finally{ru(t)}else pl(gr,t,t.return);break}case G:{ud(t,t.return);var i=t.stateNode;typeof i.componentWillUnmount=="function"&&UE(t,t.return,i);break}case ue:{ud(t,t.return);break}case Ge:{var u=t.memoizedState!==null;if(u){eb(e);continue}break}}a!==null?(a.return=t,Ae=a):eb(e)}}function eb(e){for(;Ae!==null;){var t=Ae;if(t===e){Ae=null;return}var a=t.sibling;if(a!==null){a.return=t.return,Ae=a;return}Ae=t.return}}function $L(e){for(;Ae!==null;){var t=Ae,a=t.child;if(t.tag===Ge){var i=t.memoizedState!==null;if(i){tb(e);continue}}a!==null?(a.return=t,Ae=a):tb(e)}}function tb(e){for(;Ae!==null;){var t=Ae;Xt(t);try{ML(t)}catch(i){Sn(t,t.return,i)}if(Ln(),t===e){Ae=null;return}var a=t.sibling;if(a!==null){a.return=t.return,Ae=a;return}Ae=t.return}}function YL(e,t,a,i){Ae=t,WL(t,e,a,i)}function WL(e,t,a,i){for(;Ae!==null;){var u=Ae,c=u.child;(u.subtreeFlags&Wa)!==$e&&c!==null?(c.return=u,Ae=c):QL(e,t,a,i)}}function QL(e,t,a,i){for(;Ae!==null;){var u=Ae;if((u.flags&En)!==$e){Xt(u);try{GL(t,u,a,i)}catch(d){Sn(u,u.return,d)}Ln()}if(u===e){Ae=null;return}var c=u.sibling;if(c!==null){c.return=u.return,Ae=c;return}Ae=u.return}}function GL(e,t,a,i){switch(t.tag){case A:case Ve:case Oe:{if(t.mode&Je){hE();try{rs($r|mr,t)}finally{vE(t)}}else rs($r|mr,t);break}}}function qL(e){Ae=e,KL()}function KL(){for(;Ae!==null;){var e=Ae,t=e.child;if((Ae.flags&Wt)!==$e){var a=e.deletions;if(a!==null){for(var i=0;i<a.length;i++){var u=a[i];Ae=u,JL(u,e)}{var c=e.alternate;if(c!==null){var d=c.child;if(d!==null){c.child=null;do{var m=d.sibling;d.sibling=null,d=m}while(d!==null)}}}Ae=e}}(e.subtreeFlags&Wa)!==$e&&t!==null?(t.return=e,Ae=t):XL()}}function XL(){for(;Ae!==null;){var e=Ae;(e.flags&En)!==$e&&(Xt(e),ZL(e),Ln());var t=e.sibling;if(t!==null){t.return=e.return,Ae=t;return}Ae=e.return}}function ZL(e){switch(e.tag){case A:case Ve:case Oe:{e.mode&Je?(hE(),pl($r|mr,e,e.return),vE(e)):pl($r|mr,e,e.return);break}}}function JL(e,t){for(;Ae!==null;){var a=Ae;Xt(a),tO(a,t),Ln();var i=a.child;i!==null?(i.return=a,Ae=i):eO(e)}}function eO(e){for(;Ae!==null;){var t=Ae,a=t.sibling,i=t.return;if(Qx(t),t===e){Ae=null;return}if(a!==null){a.return=i,Ae=a;return}Ae=i}}function tO(e,t){switch(e.tag){case A:case Ve:case Oe:{e.mode&Je?(hE(),pl($r,e,t),vE(e)):pl($r,e,t);break}}}function nO(e){switch(e.tag){case A:case Ve:case Oe:{try{rs(gr|mr,e)}catch(a){Sn(e,e.return,a)}break}case G:{var t=e.stateNode;try{t.componentDidMount()}catch(a){Sn(e,e.return,a)}break}}}function rO(e){switch(e.tag){case A:case Ve:case Oe:{try{rs($r|mr,e)}catch(t){Sn(e,e.return,t)}break}}}function aO(e){switch(e.tag){case A:case Ve:case Oe:{try{pl(gr|mr,e,e.return)}catch(a){Sn(e,e.return,a)}break}case G:{var t=e.stateNode;typeof t.componentWillUnmount=="function"&&UE(e,e.return,t);break}}}function iO(e){switch(e.tag){case A:case Ve:case Oe:try{pl($r|mr,e,e.return)}catch(t){Sn(e,e.return,t)}}}if(typeof Symbol=="function"&&Symbol.for){var fv=Symbol.for;fv("selector.component"),fv("selector.has_pseudo_class"),fv("selector.role"),fv("selector.test_id"),fv("selector.text")}var lO=[];function uO(){lO.forEach(function(e){return e()})}var oO=v.ReactCurrentActQueue;function sO(e){{var t=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0,a=typeof jest<"u";return a&&t!==!1}}function nb(){{var e=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return!e&&oO.current!==null&&E("The current testing environment is not configured to support act(...)"),e}}var cO=Math.ceil,FE=v.ReactCurrentDispatcher,BE=v.ReactCurrentOwner,Gr=v.ReactCurrentBatchConfig,ml=v.ReactCurrentActQueue,Er=0,rb=1,qr=2,Pi=4,Ku=0,dv=1,hc=2,lg=3,pv=4,ab=5,HE=6,Ut=Er,Ma=null,Pn=null,Cr=Z,lu=Z,IE=Go(Z),wr=Ku,vv=null,ug=Z,hv=Z,og=Z,mv=null,ri=null,VE=0,ib=500,lb=1/0,fO=500,Xu=null;function gv(){lb=Rn()+fO}function ub(){return lb}var sg=!1,$E=null,od=null,mc=!1,is=null,yv=Z,YE=[],WE=null,dO=50,Sv=0,QE=null,GE=!1,cg=!1,pO=50,sd=0,fg=null,Ev=sn,dg=Z,ob=!1;function pg(){return Ma}function Aa(){return(Ut&(qr|Pi))!==Er?Rn():(Ev!==sn||(Ev=Rn()),Ev)}function ls(e){var t=e.mode;if((t&Tt)===Ke)return tt;if((Ut&qr)!==Er&&Cr!==Z)return Gn(Cr);var a=sD()!==oD;if(a){if(Gr.transition!==null){var i=Gr.transition;i._updatedFibers||(i._updatedFibers=new Set),i._updatedFibers.add(e)}return dg===At&&(dg=lp()),dg}var u=Ka();if(u!==At)return u;var c=Qk();return c}function vO(e){var t=e.mode;return(t&Tt)===Ke?tt:hy()}function xr(e,t,a,i){PO(),ob&&E("useInsertionEffect must not schedule updates."),GE&&(cg=!0),Mu(e,a,i),(Ut&qr)!==Z&&e===Ma?HO(t):(vr&&fp(e,t,a),IO(t),e===Ma&&((Ut&qr)===Er&&(hv=yt(hv,a)),wr===pv&&us(e,Cr)),ai(e,i),a===tt&&Ut===Er&&(t.mode&Tt)===Ke&&!ml.isBatchingLegacy&&(gv(),uw()))}function hO(e,t,a){var i=e.current;i.lanes=t,Mu(e,t,a),ai(e,a)}function mO(e){return(Ut&qr)!==Er}function ai(e,t){var a=e.callbackNode;dy(e,t);var i=Hs(e,e===Ma?Cr:Z);if(i===Z){a!==null&&bb(a),e.callbackNode=null,e.callbackPriority=At;return}var u=Hn(i),c=e.callbackPriority;if(c===u&&!(ml.current!==null&&a!==tC)){a==null&&c!==tt&&E("Expected scheduled callback to exist. This error is likely caused by a bug in React. Please file an issue.");return}a!=null&&bb(a);var d;if(u===tt)e.tag===qo?(ml.isBatchingLegacy!==null&&(ml.didScheduleLegacyUpdate=!0),Y_(fb.bind(null,e))):lw(fb.bind(null,e)),ml.current!==null?ml.current.push(Ko):qk(function(){(Ut&(qr|Pi))===Er&&Ko()}),d=null;else{var m;switch(Ws(i)){case Dr:m=Wc;break;case hr:m=Da;break;case tl:m=_i;break;case $s:m=Pl;break;default:m=_i;break}d=nC(m,sb.bind(null,e))}e.callbackPriority=u,e.callbackNode=d}function sb(e,t){if(PD(),Ev=sn,dg=Z,(Ut&(qr|Pi))!==Er)throw new Error("Should not already be working.");var a=e.callbackNode,i=Ju();if(i&&e.callbackNode!==a)return null;var u=Hs(e,e===Ma?Cr:Z);if(u===Z)return null;var c=!Vs(e,u)&&!Th(e,u)&&!t,d=c?RO(e,u):hg(e,u);if(d!==Ku){if(d===hc){var m=ap(e);m!==Z&&(u=m,d=qE(e,m))}if(d===dv){var g=vv;throw gc(e,Z),us(e,u),ai(e,Rn()),g}if(d===HE)us(e,u);else{var C=!Vs(e,u),w=e.current.alternate;if(C&&!yO(w)){if(d=hg(e,u),d===hc){var z=ap(e);z!==Z&&(u=z,d=qE(e,z))}if(d===dv){var M=vv;throw gc(e,Z),us(e,u),ai(e,Rn()),M}}e.finishedWork=w,e.finishedLanes=u,gO(e,d,u)}}return ai(e,Rn()),e.callbackNode===a?sb.bind(null,e):null}function qE(e,t){var a=mv;if(Kn(e)){var i=gc(e,t);i.flags|=On,P_(e.containerInfo)}var u=hg(e,t);if(u!==hc){var c=ri;ri=a,c!==null&&cb(c)}return u}function cb(e){ri===null?ri=e:ri.push.apply(ri,e)}function gO(e,t,a){switch(t){case Ku:case dv:throw new Error("Root did not complete. This is a bug in React.");case hc:{yc(e,ri,Xu);break}case lg:{if(us(e,a),gf(a)&&!Tb()){var i=VE+ib-Rn();if(i>10){var u=Hs(e,Z);if(u!==Z)break;var c=e.suspendedLanes;if(!Nu(c,a)){Aa(),sp(e,c);break}e.timeoutHandle=Wy(yc.bind(null,e,ri,Xu),i);break}}yc(e,ri,Xu);break}case pv:{if(us(e,a),bh(a))break;if(!Tb()){var d=xh(e,a),m=d,g=Rn()-m,C=jO(g)-g;if(C>10){e.timeoutHandle=Wy(yc.bind(null,e,ri,Xu),C);break}}yc(e,ri,Xu);break}case ab:{yc(e,ri,Xu);break}default:throw new Error("Unknown root exit status.")}}function yO(e){for(var t=e;;){if(t.flags&As){var a=t.updateQueue;if(a!==null){var i=a.stores;if(i!==null)for(var u=0;u<i.length;u++){var c=i[u],d=c.getSnapshot,m=c.value;try{if(!Me(d(),m))return!1}catch{return!1}}}}var g=t.child;if(t.subtreeFlags&As&&g!==null){g.return=t,t=g;continue}if(t===e)return!0;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}return!0}function us(e,t){t=Oo(t,og),t=Oo(t,hv),op(e,t)}function fb(e){if(FD(),(Ut&(qr|Pi))!==Er)throw new Error("Should not already be working.");Ju();var t=Hs(e,Z);if(!va(t,tt))return ai(e,Rn()),null;var a=hg(e,t);if(e.tag!==qo&&a===hc){var i=ap(e);i!==Z&&(t=i,a=qE(e,i))}if(a===dv){var u=vv;throw gc(e,Z),us(e,t),ai(e,Rn()),u}if(a===HE)throw new Error("Root did not complete. This is a bug in React.");var c=e.current.alternate;return e.finishedWork=c,e.finishedLanes=t,yc(e,ri,Xu),ai(e,Rn()),null}function SO(e,t){t!==Z&&(No(e,yt(t,tt)),ai(e,Rn()),(Ut&(qr|Pi))===Er&&(gv(),Ko()))}function KE(e,t){var a=Ut;Ut|=rb;try{return e(t)}finally{Ut=a,Ut===Er&&!ml.isBatchingLegacy&&(gv(),uw())}}function EO(e,t,a,i,u){var c=Ka(),d=Gr.transition;try{return Gr.transition=null,qn(Dr),e(t,a,i,u)}finally{qn(c),Gr.transition=d,Ut===Er&&gv()}}function Zu(e){is!==null&&is.tag===qo&&(Ut&(qr|Pi))===Er&&Ju();var t=Ut;Ut|=rb;var a=Gr.transition,i=Ka();try{return Gr.transition=null,qn(Dr),e?e():void 0}finally{qn(i),Gr.transition=a,Ut=t,(Ut&(qr|Pi))===Er&&Ko()}}function db(){return(Ut&(qr|Pi))!==Er}function vg(e,t){ma(IE,lu,e),lu=yt(lu,t)}function XE(e){lu=IE.current,ha(IE,e)}function gc(e,t){e.finishedWork=null,e.finishedLanes=Z;var a=e.timeoutHandle;if(a!==Qy&&(e.timeoutHandle=Qy,Gk(a)),Pn!==null)for(var i=Pn.return;i!==null;){var u=i.alternate;Hx(u,i),i=i.return}Ma=e;var c=Sc(e.current,null);return Pn=c,Cr=lu=t,wr=Ku,vv=null,ug=Z,hv=Z,og=Z,mv=null,ri=null,pD(),ol.discardPendingWarnings(),c}function pb(e,t){do{var a=Pn;try{if(wm(),Vw(),Ln(),BE.current=null,a===null||a.return===null){wr=dv,vv=t,Pn=null;return}if(St&&a.mode&Je&&eg(a,!0),Nt)if(xu(),t!==null&&typeof t=="object"&&typeof t.then=="function"){var i=t;Eh(a,i,Cr)}else Xc(a,t,Cr);$D(e,a.return,a,t,Cr),gb(a)}catch(u){t=u,Pn===a&&a!==null?(a=a.return,Pn=a):a=Pn;continue}return}while(!0)}function vb(){var e=FE.current;return FE.current=qm,e===null?qm:e}function hb(e){FE.current=e}function CO(){VE=Rn()}function Cv(e){ug=yt(e,ug)}function wO(){wr===Ku&&(wr=lg)}function ZE(){(wr===Ku||wr===lg||wr===hc)&&(wr=pv),Ma!==null&&(Is(ug)||Is(hv))&&us(Ma,Cr)}function xO(e){wr!==pv&&(wr=hc),mv===null?mv=[e]:mv.push(e)}function bO(){return wr===Ku}function hg(e,t){var a=Ut;Ut|=qr;var i=vb();if(Ma!==e||Cr!==t){if(vr){var u=e.memoizedUpdaters;u.size>0&&(wv(e,Cr),u.clear()),Ef(e,t)}Xu=dp(),gc(e,t)}pi(t);do try{TO();break}catch(c){pb(e,c)}while(!0);if(wm(),Ut=a,hb(i),Pn!==null)throw new Error("Cannot commit an incomplete root. This error is likely caused by a bug in React. Please file an issue.");return Ro(),Ma=null,Cr=Z,wr}function TO(){for(;Pn!==null;)mb(Pn)}function RO(e,t){var a=Ut;Ut|=qr;var i=vb();if(Ma!==e||Cr!==t){if(vr){var u=e.memoizedUpdaters;u.size>0&&(wv(e,Cr),u.clear()),Ef(e,t)}Xu=dp(),gv(),gc(e,t)}pi(t);do try{kO();break}catch(c){pb(e,c)}while(!0);return wm(),hb(i),Ut=a,Pn!==null?(js(),Ku):(Ro(),Ma=null,Cr=Z,wr)}function kO(){for(;Pn!==null&&!Yc();)mb(Pn)}function mb(e){var t=e.alternate;Xt(e);var a;(e.mode&Je)!==Ke?(pE(e),a=JE(t,e,lu),eg(e,!0)):a=JE(t,e,lu),Ln(),e.memoizedProps=e.pendingProps,a===null?gb(e):Pn=a,BE.current=null}function gb(e){var t=e;do{var a=t.alternate,i=t.return;if((t.flags&Ra)===$e){Xt(t);var u=void 0;if((t.mode&Je)===Ke?u=Bx(a,t,lu):(pE(t),u=Bx(a,t,lu),eg(t,!1)),Ln(),u!==null){Pn=u;return}}else{var c=wL(a,t);if(c!==null){c.flags&=fh,Pn=c;return}if((t.mode&Je)!==Ke){eg(t,!1);for(var d=t.actualDuration,m=t.child;m!==null;)d+=m.actualDuration,m=m.sibling;t.actualDuration=d}if(i!==null)i.flags|=Ra,i.subtreeFlags=$e,i.deletions=null;else{wr=HE,Pn=null;return}}var g=t.sibling;if(g!==null){Pn=g;return}t=i,Pn=t}while(t!==null);wr===Ku&&(wr=ab)}function yc(e,t,a){var i=Ka(),u=Gr.transition;try{Gr.transition=null,qn(Dr),_O(e,t,a,i)}finally{Gr.transition=u,qn(i)}return null}function _O(e,t,a,i){do Ju();while(is!==null);if(FO(),(Ut&(qr|Pi))!==Er)throw new Error("Should not already be working.");var u=e.finishedWork,c=e.finishedLanes;if(Gc(c),u===null)return Jd(),null;if(c===Z&&E("root.finishedLanes should not be empty during a commit. This is a bug in React."),e.finishedWork=null,e.finishedLanes=Z,u===e.current)throw new Error("Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue.");e.callbackNode=null,e.callbackPriority=At;var d=yt(u.lanes,u.childLanes);cp(e,d),e===Ma&&(Ma=null,Pn=null,Cr=Z),((u.subtreeFlags&Wa)!==$e||(u.flags&Wa)!==$e)&&(mc||(mc=!0,WE=a,nC(_i,function(){return Ju(),null})));var m=(u.subtreeFlags&(xo|ca|_r|Wa))!==$e,g=(u.flags&(xo|ca|_r|Wa))!==$e;if(m||g){var C=Gr.transition;Gr.transition=null;var w=Ka();qn(Dr);var z=Ut;Ut|=Pi,BE.current=null,kL(e,u),vx(),HL(e,u,c),Hk(e.containerInfo),e.current=u,Ch(c),IL(u,e,c),To(),vh(),Ut=z,qn(w),Gr.transition=C}else e.current=u,vx();var M=mc;if(mc?(mc=!1,is=e,yv=c):(sd=0,fg=null),d=e.pendingLanes,d===Z&&(od=null),M||Cb(e.current,!1),Zi(u.stateNode,i),vr&&e.memoizedUpdaters.clear(),uO(),ai(e,Rn()),t!==null)for(var V=e.onRecoverableError,Y=0;Y<t.length;Y++){var K=t[Y],Re=K.stack,We=K.digest;V(K.value,{componentStack:Re,digest:We})}if(sg){sg=!1;var Fe=$E;throw $E=null,Fe}return va(yv,tt)&&e.tag!==qo&&Ju(),d=e.pendingLanes,va(d,tt)?(jD(),e===QE?Sv++:(Sv=0,QE=e)):Sv=0,Ko(),Jd(),null}function Ju(){if(is!==null){var e=Ws(yv),t=gy(tl,e),a=Gr.transition,i=Ka();try{return Gr.transition=null,qn(t),LO()}finally{qn(i),Gr.transition=a}}return!1}function DO(e){YE.push(e),mc||(mc=!0,nC(_i,function(){return Ju(),null}))}function LO(){if(is===null)return!1;var e=WE;WE=null;var t=is,a=yv;if(is=null,yv=Z,(Ut&(qr|Pi))!==Er)throw new Error("Cannot flush passive effects while already rendering.");GE=!0,cg=!1,wh(a);var i=Ut;Ut|=Pi,qL(t.current),YL(t,t.current,a,e);{var u=YE;YE=[];for(var c=0;c<u.length;c++){var d=u[c];OL(t,d)}}zs(),Cb(t.current,!0),Ut=i,Ko(),cg?t===fg?sd++:(sd=0,fg=t):sd=0,GE=!1,cg=!1,Bl(t);{var m=t.current.stateNode;m.effectDuration=0,m.passiveEffectDuration=0}return!0}function yb(e){return od!==null&&od.has(e)}function OO(e){od===null?od=new Set([e]):od.add(e)}function NO(e){sg||(sg=!0,$E=e)}var MO=NO;function Sb(e,t,a){var i=pc(a,t),u=mx(e,i,tt),c=Zo(e,u,tt),d=Aa();c!==null&&(Mu(c,tt,d),ai(c,d))}function Sn(e,t,a){if(bL(a),xv(!1),e.tag===F){Sb(e,e,a);return}var i=null;for(i=t;i!==null;){if(i.tag===F){Sb(i,e,a);return}else if(i.tag===G){var u=i.type,c=i.stateNode;if(typeof u.getDerivedStateFromError=="function"||typeof c.componentDidCatch=="function"&&!yb(c)){var d=pc(a,e),m=SE(i,d,tt),g=Zo(i,m,tt),C=Aa();g!==null&&(Mu(g,tt,C),ai(g,C));return}}i=i.return}E(`Internal React error: Attempted to capture a commit phase error inside a detached tree. This indicates a bug in React. Likely causes include deleting the same fiber more than once, committing an already-finished tree, or an inconsistent return pointer.
|
|
223
|
+
|
|
224
|
+
Error message:
|
|
225
|
+
|
|
226
|
+
%s`,a)}function AO(e,t,a){var i=e.pingCache;i!==null&&i.delete(t);var u=Aa();sp(e,a),VO(e),Ma===e&&Nu(Cr,a)&&(wr===pv||wr===lg&&gf(Cr)&&Rn()-VE<ib?gc(e,Z):og=yt(og,a)),ai(e,u)}function Eb(e,t){t===At&&(t=vO(e));var a=Aa(),i=ti(e,t);i!==null&&(Mu(i,t,a),ai(i,a))}function UO(e){var t=e.memoizedState,a=At;t!==null&&(a=t.retryLane),Eb(e,a)}function zO(e,t){var a=At,i;switch(e.tag){case _e:i=e.stateNode;var u=e.memoizedState;u!==null&&(a=u.retryLane);break;case wt:i=e.stateNode;break;default:throw new Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}i!==null&&i.delete(t),Eb(e,a)}function jO(e){return e<120?120:e<480?480:e<1080?1080:e<1920?1920:e<3e3?3e3:e<4320?4320:cO(e/1960)*1960}function PO(){if(Sv>dO)throw Sv=0,QE=null,new Error("Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.");sd>pO&&(sd=0,fg=null,E("Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render."))}function FO(){ol.flushLegacyContextWarning(),ol.flushPendingUnsafeLifecycleWarnings()}function Cb(e,t){Xt(e),mg(e,sa,aO),t&&mg(e,wu,iO),mg(e,sa,nO),t&&mg(e,wu,rO),Ln()}function mg(e,t,a){for(var i=e,u=null;i!==null;){var c=i.subtreeFlags&t;i!==u&&i.child!==null&&c!==$e?i=i.child:((i.flags&t)!==$e&&a(i),i.sibling!==null?i=i.sibling:i=u=i.return)}}var gg=null;function wb(e){{if((Ut&qr)!==Er||!(e.mode&Tt))return;var t=e.tag;if(t!==re&&t!==F&&t!==G&&t!==A&&t!==Ve&&t!==De&&t!==Oe)return;var a=ct(e)||"ReactComponent";if(gg!==null){if(gg.has(a))return;gg.add(a)}else gg=new Set([a]);var i=Tn;try{Xt(e),E("Can't perform a React state update on a component that hasn't mounted yet. This indicates that you have a side-effect in your render function that asynchronously later calls tries to update the component. Move this work to useEffect instead.")}finally{i?Xt(e):Ln()}}}var JE;{var BO=null;JE=function(e,t,a){var i=Lb(BO,t);try{return Ux(e,t,a)}catch(c){if(J_()||c!==null&&typeof c=="object"&&typeof c.then=="function")throw c;if(wm(),Vw(),Hx(e,t),Lb(t,i),t.mode&Je&&pE(t),Cu(null,Ux,null,e,t,a),cy()){var u=Id();typeof u=="object"&&u!==null&&u._suppressLogging&&typeof c=="object"&&c!==null&&!c._suppressLogging&&(c._suppressLogging=!0)}throw c}}}var xb=!1,eC;eC=new Set;function HO(e){if(aa&&!AD())switch(e.tag){case A:case Ve:case Oe:{var t=Pn&&ct(Pn)||"Unknown",a=t;if(!eC.has(a)){eC.add(a);var i=ct(e)||"Unknown";E("Cannot update a component (`%s`) while rendering a different component (`%s`). To locate the bad setState() call inside `%s`, follow the stack trace as described in https://reactjs.org/link/setstate-in-render",i,t,t)}break}case G:{xb||(E("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),xb=!0);break}}}function wv(e,t){if(vr){var a=e.memoizedUpdaters;a.forEach(function(i){fp(e,i,t)})}}var tC={};function nC(e,t){{var a=ml.current;return a!==null?(a.push(t),tC):$c(e,t)}}function bb(e){if(e!==tC)return ph(e)}function Tb(){return ml.current!==null}function IO(e){{if(e.mode&Tt){if(!nb())return}else if(!sO()||Ut!==Er||e.tag!==A&&e.tag!==Ve&&e.tag!==Oe)return;if(ml.current===null){var t=Tn;try{Xt(e),E(`An update to %s inside a test was not wrapped in act(...).
|
|
227
|
+
|
|
228
|
+
When testing, code that causes React state updates should be wrapped into act(...):
|
|
229
|
+
|
|
230
|
+
act(() => {
|
|
231
|
+
/* fire events that update state */
|
|
232
|
+
});
|
|
233
|
+
/* assert on the output */
|
|
234
|
+
|
|
235
|
+
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act`,ct(e))}finally{t?Xt(e):Ln()}}}}function VO(e){e.tag!==qo&&nb()&&ml.current===null&&E(`A suspended resource finished loading inside a test, but the event was not wrapped in act(...).
|
|
236
|
+
|
|
237
|
+
When testing, code that resolves suspended data should be wrapped into act(...):
|
|
238
|
+
|
|
239
|
+
act(() => {
|
|
240
|
+
/* finish loading suspended data */
|
|
241
|
+
});
|
|
242
|
+
/* assert on the output */
|
|
243
|
+
|
|
244
|
+
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act`)}function xv(e){ob=e}var Fi=null,cd=null,$O=function(e){Fi=e};function fd(e){{if(Fi===null)return e;var t=Fi(e);return t===void 0?e:t.current}}function rC(e){return fd(e)}function aC(e){{if(Fi===null)return e;var t=Fi(e);if(t===void 0){if(e!=null&&typeof e.render=="function"){var a=fd(e.render);if(e.render!==a){var i={$$typeof:Te,render:a};return e.displayName!==void 0&&(i.displayName=e.displayName),i}}return e}return t.current}}function Rb(e,t){{if(Fi===null)return!1;var a=e.elementType,i=t.type,u=!1,c=typeof i=="object"&&i!==null?i.$$typeof:null;switch(e.tag){case G:{typeof i=="function"&&(u=!0);break}case A:{(typeof i=="function"||c===Ye)&&(u=!0);break}case Ve:{(c===Te||c===Ye)&&(u=!0);break}case De:case Oe:{(c===mt||c===Ye)&&(u=!0);break}default:return!1}if(u){var d=Fi(a);if(d!==void 0&&d===Fi(i))return!0}return!1}}function kb(e){{if(Fi===null||typeof WeakSet!="function")return;cd===null&&(cd=new WeakSet),cd.add(e)}}var YO=function(e,t){{if(Fi===null)return;var a=t.staleFamilies,i=t.updatedFamilies;Ju(),Zu(function(){iC(e.current,i,a)})}},WO=function(e,t){{if(e.context!==hi)return;Ju(),Zu(function(){bv(t,e,null,null)})}};function iC(e,t,a){{var i=e.alternate,u=e.child,c=e.sibling,d=e.tag,m=e.type,g=null;switch(d){case A:case Oe:case G:g=m;break;case Ve:g=m.render;break}if(Fi===null)throw new Error("Expected resolveFamily to be set during hot reload.");var C=!1,w=!1;if(g!==null){var z=Fi(g);z!==void 0&&(a.has(z)?w=!0:t.has(z)&&(d===G?w=!0:C=!0))}if(cd!==null&&(cd.has(e)||i!==null&&cd.has(i))&&(w=!0),w&&(e._debugNeedsRemount=!0),w||C){var M=ti(e,tt);M!==null&&xr(M,e,tt,sn)}u!==null&&!w&&iC(u,t,a),c!==null&&iC(c,t,a)}}var QO=function(e,t){{var a=new Set,i=new Set(t.map(function(u){return u.current}));return lC(e.current,i,a),a}};function lC(e,t,a){{var i=e.child,u=e.sibling,c=e.tag,d=e.type,m=null;switch(c){case A:case Oe:case G:m=d;break;case Ve:m=d.render;break}var g=!1;m!==null&&t.has(m)&&(g=!0),g?GO(e,a):i!==null&&lC(i,t,a),u!==null&&lC(u,t,a)}}function GO(e,t){{var a=qO(e,t);if(a)return;for(var i=e;;){switch(i.tag){case ue:t.add(i.stateNode);return;case ne:t.add(i.stateNode.containerInfo);return;case F:t.add(i.stateNode.containerInfo);return}if(i.return===null)throw new Error("Expected to reach root first.");i=i.return}}}function qO(e,t){for(var a=e,i=!1;;){if(a.tag===ue)i=!0,t.add(a.stateNode);else if(a.child!==null){a.child.return=a,a=a.child;continue}if(a===e)return i;for(;a.sibling===null;){if(a.return===null||a.return===e)return i;a=a.return}a.sibling.return=a.return,a=a.sibling}return!1}var uC;{uC=!1;try{var _b=Object.preventExtensions({})}catch{uC=!0}}function KO(e,t,a,i){this.tag=e,this.key=a,this.elementType=null,this.type=null,this.stateNode=null,this.return=null,this.child=null,this.sibling=null,this.index=0,this.ref=null,this.pendingProps=t,this.memoizedProps=null,this.updateQueue=null,this.memoizedState=null,this.dependencies=null,this.mode=i,this.flags=$e,this.subtreeFlags=$e,this.deletions=null,this.lanes=Z,this.childLanes=Z,this.alternate=null,this.actualDuration=Number.NaN,this.actualStartTime=Number.NaN,this.selfBaseDuration=Number.NaN,this.treeBaseDuration=Number.NaN,this.actualDuration=0,this.actualStartTime=-1,this.selfBaseDuration=0,this.treeBaseDuration=0,this._debugSource=null,this._debugOwner=null,this._debugNeedsRemount=!1,this._debugHookTypes=null,!uC&&typeof Object.preventExtensions=="function"&&Object.preventExtensions(this)}var mi=function(e,t,a,i){return new KO(e,t,a,i)};function oC(e){var t=e.prototype;return!!(t&&t.isReactComponent)}function XO(e){return typeof e=="function"&&!oC(e)&&e.defaultProps===void 0}function ZO(e){if(typeof e=="function")return oC(e)?G:A;if(e!=null){var t=e.$$typeof;if(t===Te)return Ve;if(t===mt)return De}return re}function Sc(e,t){var a=e.alternate;a===null?(a=mi(e.tag,t,e.key,e.mode),a.elementType=e.elementType,a.type=e.type,a.stateNode=e.stateNode,a._debugSource=e._debugSource,a._debugOwner=e._debugOwner,a._debugHookTypes=e._debugHookTypes,a.alternate=e,e.alternate=a):(a.pendingProps=t,a.type=e.type,a.flags=$e,a.subtreeFlags=$e,a.deletions=null,a.actualDuration=0,a.actualStartTime=-1),a.flags=e.flags&pr,a.childLanes=e.childLanes,a.lanes=e.lanes,a.child=e.child,a.memoizedProps=e.memoizedProps,a.memoizedState=e.memoizedState,a.updateQueue=e.updateQueue;var i=e.dependencies;switch(a.dependencies=i===null?null:{lanes:i.lanes,firstContext:i.firstContext},a.sibling=e.sibling,a.index=e.index,a.ref=e.ref,a.selfBaseDuration=e.selfBaseDuration,a.treeBaseDuration=e.treeBaseDuration,a._debugNeedsRemount=e._debugNeedsRemount,a.tag){case re:case A:case Oe:a.type=fd(e.type);break;case G:a.type=rC(e.type);break;case Ve:a.type=aC(e.type);break}return a}function JO(e,t){e.flags&=pr|hn;var a=e.alternate;if(a===null)e.childLanes=Z,e.lanes=t,e.child=null,e.subtreeFlags=$e,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null,e.selfBaseDuration=0,e.treeBaseDuration=0;else{e.childLanes=a.childLanes,e.lanes=a.lanes,e.child=a.child,e.subtreeFlags=$e,e.deletions=null,e.memoizedProps=a.memoizedProps,e.memoizedState=a.memoizedState,e.updateQueue=a.updateQueue,e.type=a.type;var i=a.dependencies;e.dependencies=i===null?null:{lanes:i.lanes,firstContext:i.firstContext},e.selfBaseDuration=a.selfBaseDuration,e.treeBaseDuration=a.treeBaseDuration}return e}function eN(e,t,a){var i;return e===vm?(i=Tt,t===!0&&(i|=kn,i|=Ga)):i=Ke,vr&&(i|=Je),mi(F,null,null,i)}function sC(e,t,a,i,u,c){var d=re,m=e;if(typeof e=="function")oC(e)?(d=G,m=rC(m)):m=fd(m);else if(typeof e=="string")d=ue;else e:switch(e){case Ta:return os(a.children,u,c,t);case Ci:d=et,u|=kn,(u&Tt)!==Ke&&(u|=Ga);break;case k:return tN(a,u,c,t);case ht:return nN(a,u,c,t);case Mt:return rN(a,u,c,t);case dn:return Db(a,u,c,t);case dr:case Fn:case wi:case ro:case fn:default:{if(typeof e=="object"&&e!==null)switch(e.$$typeof){case ae:d=Qe;break e;case ve:d=lt;break e;case Te:d=Ve,m=aC(m);break e;case mt:d=De;break e;case Ye:d=Rt,m=null;break e}var g="";{(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(g+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var C=i?ct(i):null;C&&(g+=`
|
|
245
|
+
|
|
246
|
+
Check the render method of \``+C+"`.")}throw new Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) "+("but got: "+(e==null?e:typeof e)+"."+g))}}var w=mi(d,a,t,u);return w.elementType=e,w.type=m,w.lanes=c,w._debugOwner=i,w}function cC(e,t,a){var i=null;i=e._owner;var u=e.type,c=e.key,d=e.props,m=sC(u,c,d,i,t,a);return m._debugSource=e._source,m._debugOwner=e._owner,m}function os(e,t,a,i){var u=mi(Xe,e,i,t);return u.lanes=a,u}function tN(e,t,a,i){typeof e.id!="string"&&E('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof e.id);var u=mi(vt,e,i,t|Je);return u.elementType=k,u.lanes=a,u.stateNode={effectDuration:0,passiveEffectDuration:0},u}function nN(e,t,a,i){var u=mi(_e,e,i,t);return u.elementType=ht,u.lanes=a,u}function rN(e,t,a,i){var u=mi(wt,e,i,t);return u.elementType=Mt,u.lanes=a,u}function Db(e,t,a,i){var u=mi(Ge,e,i,t);u.elementType=dn,u.lanes=a;var c={isHidden:!1};return u.stateNode=c,u}function fC(e,t,a){var i=mi(be,e,null,t);return i.lanes=a,i}function aN(){var e=mi(ue,null,null,Ke);return e.elementType="DELETED",e}function iN(e){var t=mi(jt,null,null,Ke);return t.stateNode=e,t}function dC(e,t,a){var i=e.children!==null?e.children:[],u=mi(ne,i,e.key,t);return u.lanes=a,u.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},u}function Lb(e,t){return e===null&&(e=mi(re,null,null,Ke)),e.tag=t.tag,e.key=t.key,e.elementType=t.elementType,e.type=t.type,e.stateNode=t.stateNode,e.return=t.return,e.child=t.child,e.sibling=t.sibling,e.index=t.index,e.ref=t.ref,e.pendingProps=t.pendingProps,e.memoizedProps=t.memoizedProps,e.updateQueue=t.updateQueue,e.memoizedState=t.memoizedState,e.dependencies=t.dependencies,e.mode=t.mode,e.flags=t.flags,e.subtreeFlags=t.subtreeFlags,e.deletions=t.deletions,e.lanes=t.lanes,e.childLanes=t.childLanes,e.alternate=t.alternate,e.actualDuration=t.actualDuration,e.actualStartTime=t.actualStartTime,e.selfBaseDuration=t.selfBaseDuration,e.treeBaseDuration=t.treeBaseDuration,e._debugSource=t._debugSource,e._debugOwner=t._debugOwner,e._debugNeedsRemount=t._debugNeedsRemount,e._debugHookTypes=t._debugHookTypes,e}function lN(e,t,a,i,u){this.tag=t,this.containerInfo=e,this.pendingChildren=null,this.current=null,this.pingCache=null,this.finishedWork=null,this.timeoutHandle=Qy,this.context=null,this.pendingContext=null,this.callbackNode=null,this.callbackPriority=At,this.eventTimes=Sf(Z),this.expirationTimes=Sf(sn),this.pendingLanes=Z,this.suspendedLanes=Z,this.pingedLanes=Z,this.expiredLanes=Z,this.mutableReadLanes=Z,this.finishedLanes=Z,this.entangledLanes=Z,this.entanglements=Sf(Z),this.identifierPrefix=i,this.onRecoverableError=u,this.mutableSourceEagerHydrationData=null,this.effectDuration=0,this.passiveEffectDuration=0;{this.memoizedUpdaters=new Set;for(var c=this.pendingUpdatersLaneMap=[],d=0;d<gn;d++)c.push(new Set)}switch(t){case vm:this._debugRootType=a?"hydrateRoot()":"createRoot()";break;case qo:this._debugRootType=a?"hydrate()":"render()";break}}function Ob(e,t,a,i,u,c,d,m,g,C){var w=new lN(e,t,a,m,g),z=eN(t,c);w.current=z,z.stateNode=w;{var M={element:i,isDehydrated:a,cache:null,transitions:null,pendingSuspenseBoundaries:null};z.memoizedState=M}return ES(z),w}var pC="18.2.0";function uN(e,t,a){var i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;return ea(i),{$$typeof:jr,key:i==null?null:""+i,children:e,containerInfo:t,implementation:a}}var vC,hC;vC=!1,hC={};function Nb(e){if(!e)return hi;var t=Va(e),a=$_(t);if(t.tag===G){var i=t.type;if(Jl(i))return aw(t,i,a)}return a}function oN(e,t){{var a=Va(e);if(a===void 0){if(typeof e.render=="function")throw new Error("Unable to find node on an unmounted component.");var i=Object.keys(e).join(",");throw new Error("Argument appears to not be a ReactComponent. Keys: "+i)}var u=Qa(a);if(u===null)return null;if(u.mode&kn){var c=ct(a)||"Component";if(!hC[c]){hC[c]=!0;var d=Tn;try{Xt(u),a.mode&kn?E("%s is deprecated in StrictMode. %s was passed an instance of %s which is inside StrictMode. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node",t,t,c):E("%s is deprecated in StrictMode. %s was passed an instance of %s which renders StrictMode children. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node",t,t,c)}finally{d?Xt(d):Ln()}}}return u.stateNode}}function Mb(e,t,a,i,u,c,d,m){var g=!1,C=null;return Ob(e,t,g,C,a,i,u,c,d)}function Ab(e,t,a,i,u,c,d,m,g,C){var w=!0,z=Ob(a,i,w,e,u,c,d,m,g);z.context=Nb(null);var M=z.current,V=Aa(),Y=ls(M),K=Gu(V,Y);return K.callback=t??null,Zo(M,K,Y),hO(z,Y,V),z}function bv(e,t,a,i){hh(t,e);var u=t.current,c=Aa(),d=ls(u);bu(d);var m=Nb(a);t.context===null?t.context=m:t.pendingContext=m,aa&&Tn!==null&&!vC&&(vC=!0,E(`Render methods should be a pure function of props and state; triggering nested component updates from render is not allowed. If necessary, trigger nested updates in componentDidUpdate.
|
|
247
|
+
|
|
248
|
+
Check the render method of %s.`,ct(Tn)||"Unknown"));var g=Gu(c,d);g.payload={element:e},i=i===void 0?null:i,i!==null&&(typeof i!="function"&&E("render(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",i),g.callback=i);var C=Zo(u,g,d);return C!==null&&(xr(C,u,d,c),km(C,u,d)),d}function yg(e){var t=e.current;if(!t.child)return null;switch(t.child.tag){case ue:return t.child.stateNode;default:return t.child.stateNode}}function sN(e){switch(e.tag){case F:{var t=e.stateNode;if(Kn(t)){var a=py(t);SO(t,a)}break}case _e:{Zu(function(){var u=ti(e,tt);if(u!==null){var c=Aa();xr(u,e,tt,c)}});var i=tt;mC(e,i);break}}}function Ub(e,t){var a=e.memoizedState;a!==null&&a.dehydrated!==null&&(a.retryLane=kh(a.retryLane,t))}function mC(e,t){Ub(e,t);var a=e.alternate;a&&Ub(a,t)}function cN(e){if(e.tag===_e){var t=ko,a=ti(e,t);if(a!==null){var i=Aa();xr(a,e,t,i)}mC(e,t)}}function fN(e){if(e.tag===_e){var t=ls(e),a=ti(e,t);if(a!==null){var i=Aa();xr(a,e,t,i)}mC(e,t)}}function zb(e){var t=dh(e);return t===null?null:t.stateNode}var jb=function(e){return null};function dN(e){return jb(e)}var Pb=function(e){return!1};function pN(e){return Pb(e)}var Fb=null,Bb=null,Hb=null,Ib=null,Vb=null,$b=null,Yb=null,Wb=null,Qb=null;{var Gb=function(e,t,a){var i=t[a],u=Lt(e)?e.slice():xt({},e);return a+1===t.length?(Lt(u)?u.splice(i,1):delete u[i],u):(u[i]=Gb(e[i],t,a+1),u)},qb=function(e,t){return Gb(e,t,0)},Kb=function(e,t,a,i){var u=t[i],c=Lt(e)?e.slice():xt({},e);if(i+1===t.length){var d=a[i];c[d]=c[u],Lt(c)?c.splice(u,1):delete c[u]}else c[u]=Kb(e[u],t,a,i+1);return c},Xb=function(e,t,a){if(t.length!==a.length){j("copyWithRename() expects paths of the same length");return}else for(var i=0;i<a.length-1;i++)if(t[i]!==a[i]){j("copyWithRename() expects paths to be the same except for the deepest key");return}return Kb(e,t,a,0)},Zb=function(e,t,a,i){if(a>=t.length)return i;var u=t[a],c=Lt(e)?e.slice():xt({},e);return c[u]=Zb(e[u],t,a+1,i),c},Jb=function(e,t,a){return Zb(e,t,0,a)},gC=function(e,t){for(var a=e.memoizedState;a!==null&&t>0;)a=a.next,t--;return a};Fb=function(e,t,a,i){var u=gC(e,t);if(u!==null){var c=Jb(u.memoizedState,a,i);u.memoizedState=c,u.baseState=c,e.memoizedProps=xt({},e.memoizedProps);var d=ti(e,tt);d!==null&&xr(d,e,tt,sn)}},Bb=function(e,t,a){var i=gC(e,t);if(i!==null){var u=qb(i.memoizedState,a);i.memoizedState=u,i.baseState=u,e.memoizedProps=xt({},e.memoizedProps);var c=ti(e,tt);c!==null&&xr(c,e,tt,sn)}},Hb=function(e,t,a,i){var u=gC(e,t);if(u!==null){var c=Xb(u.memoizedState,a,i);u.memoizedState=c,u.baseState=c,e.memoizedProps=xt({},e.memoizedProps);var d=ti(e,tt);d!==null&&xr(d,e,tt,sn)}},Ib=function(e,t,a){e.pendingProps=Jb(e.memoizedProps,t,a),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var i=ti(e,tt);i!==null&&xr(i,e,tt,sn)},Vb=function(e,t){e.pendingProps=qb(e.memoizedProps,t),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var a=ti(e,tt);a!==null&&xr(a,e,tt,sn)},$b=function(e,t,a){e.pendingProps=Xb(e.memoizedProps,t,a),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var i=ti(e,tt);i!==null&&xr(i,e,tt,sn)},Yb=function(e){var t=ti(e,tt);t!==null&&xr(t,e,tt,sn)},Wb=function(e){jb=e},Qb=function(e){Pb=e}}function vN(e){var t=Qa(e);return t===null?null:t.stateNode}function hN(e){return null}function mN(){return Tn}function gN(e){var t=e.findFiberByHostInstance,a=v.ReactCurrentDispatcher;return Xd({bundleType:e.bundleType,version:e.version,rendererPackageName:e.rendererPackageName,rendererConfig:e.rendererConfig,overrideHookState:Fb,overrideHookStateDeletePath:Bb,overrideHookStateRenamePath:Hb,overrideProps:Ib,overridePropsDeletePath:Vb,overridePropsRenamePath:$b,setErrorHandler:Wb,setSuspenseHandler:Qb,scheduleUpdate:Yb,currentDispatcherRef:a,findHostInstanceByFiber:vN,findFiberByHostInstance:t||hN,findHostInstancesForRefresh:QO,scheduleRefresh:YO,scheduleRoot:WO,setRefreshHandler:$O,getCurrentFiber:mN,reconcilerVersion:pC})}var eT=typeof reportError=="function"?reportError:function(e){console.error(e)};function yC(e){this._internalRoot=e}Sg.prototype.render=yC.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw new Error("Cannot update an unmounted root.");{typeof arguments[1]=="function"?E("render(...): does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."):Eg(arguments[1])?E("You passed a container to the second argument of root.render(...). You don't need to pass it again since you already passed it to create the root."):typeof arguments[1]<"u"&&E("You passed a second argument to root.render(...) but it only accepts one argument.");var a=t.containerInfo;if(a.nodeType!==Bn){var i=zb(t.current);i&&i.parentNode!==a&&E("render(...): It looks like the React-rendered content of the root container was removed without using React. This is not supported and will cause errors. Instead, call root.unmount() to empty a root's container.")}}bv(e,t,null,null)},Sg.prototype.unmount=yC.prototype.unmount=function(){typeof arguments[0]=="function"&&E("unmount(...): does not support a callback argument. To execute a side effect after rendering, declare it in a component body with useEffect().");var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;db()&&E("Attempted to synchronously unmount a root while React was already rendering. React cannot finish unmounting the root until the current render has completed, which may lead to a race condition."),Zu(function(){bv(null,e,null,null)}),J0(t)}};function yN(e,t){if(!Eg(e))throw new Error("createRoot(...): Target container is not a DOM element.");tT(e);var a=!1,i=!1,u="",c=eT;t!=null&&(t.hydrate?j("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):typeof t=="object"&&t!==null&&t.$$typeof===Ei&&E(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:
|
|
249
|
+
|
|
250
|
+
let root = createRoot(domContainer);
|
|
251
|
+
root.render(<App />);`),t.unstable_strictMode===!0&&(a=!0),t.identifierPrefix!==void 0&&(u=t.identifierPrefix),t.onRecoverableError!==void 0&&(c=t.onRecoverableError),t.transitionCallbacks!==void 0&&t.transitionCallbacks);var d=Mb(e,vm,null,a,i,u,c);um(d.current,e);var m=e.nodeType===Bn?e.parentNode:e;return Np(m),new yC(d)}function Sg(e){this._internalRoot=e}function SN(e){e&&Uh(e)}Sg.prototype.unstable_scheduleHydration=SN;function EN(e,t,a){if(!Eg(e))throw new Error("hydrateRoot(...): Target container is not a DOM element.");tT(e),t===void 0&&E("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var i=a??null,u=a!=null&&a.hydratedSources||null,c=!1,d=!1,m="",g=eT;a!=null&&(a.unstable_strictMode===!0&&(c=!0),a.identifierPrefix!==void 0&&(m=a.identifierPrefix),a.onRecoverableError!==void 0&&(g=a.onRecoverableError));var C=Ab(t,null,e,vm,i,c,d,m,g);if(um(C.current,e),Np(e),u)for(var w=0;w<u.length;w++){var z=u[w];_D(C,z)}return new Sg(C)}function Eg(e){return!!(e&&(e.nodeType===la||e.nodeType===ci||e.nodeType===hu||!Se))}function Tv(e){return!!(e&&(e.nodeType===la||e.nodeType===ci||e.nodeType===hu||e.nodeType===Bn&&e.nodeValue===" react-mount-point-unstable "))}function tT(e){e.nodeType===la&&e.tagName&&e.tagName.toUpperCase()==="BODY"&&E("createRoot(): Creating roots directly with document.body is discouraged, since its children are often manipulated by third-party scripts and browser extensions. This may lead to subtle reconciliation issues. Try using a container element created for your app."),Vp(e)&&(e._reactRootContainer?E("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported."):E("You are calling ReactDOMClient.createRoot() on a container that has already been passed to createRoot() before. Instead, call root.render() on the existing root instead if you want to update it."))}var CN=v.ReactCurrentOwner,nT;nT=function(e){if(e._reactRootContainer&&e.nodeType!==Bn){var t=zb(e._reactRootContainer.current);t&&t.parentNode!==e&&E("render(...): It looks like the React-rendered content of this container was removed without using React. This is not supported and will cause errors. Instead, call ReactDOM.unmountComponentAtNode to empty a container.")}var a=!!e._reactRootContainer,i=SC(e),u=!!(i&&Qo(i));u&&!a&&E("render(...): Replacing React-rendered children with a new root component. If you intended to update the children of this node, you should instead have the existing children update their state and render the new components instead of calling ReactDOM.render."),e.nodeType===la&&e.tagName&&e.tagName.toUpperCase()==="BODY"&&E("render(): Rendering components directly into document.body is discouraged, since its children are often manipulated by third-party scripts and browser extensions. This may lead to subtle reconciliation issues. Try rendering into a container element created for your app.")};function SC(e){return e?e.nodeType===ci?e.documentElement:e.firstChild:null}function rT(){}function wN(e,t,a,i,u){if(u){if(typeof i=="function"){var c=i;i=function(){var M=yg(d);c.call(M)}}var d=Ab(t,i,e,qo,null,!1,!1,"",rT);e._reactRootContainer=d,um(d.current,e);var m=e.nodeType===Bn?e.parentNode:e;return Np(m),Zu(),d}else{for(var g;g=e.lastChild;)e.removeChild(g);if(typeof i=="function"){var C=i;i=function(){var M=yg(w);C.call(M)}}var w=Mb(e,qo,null,!1,!1,"",rT);e._reactRootContainer=w,um(w.current,e);var z=e.nodeType===Bn?e.parentNode:e;return Np(z),Zu(function(){bv(t,w,a,i)}),w}}function xN(e,t){e!==null&&typeof e!="function"&&E("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e)}function Cg(e,t,a,i,u){nT(a),xN(u===void 0?null:u,"render");var c=a._reactRootContainer,d;if(!c)d=wN(a,t,e,u,i);else{if(d=c,typeof u=="function"){var m=u;u=function(){var g=yg(d);m.call(g)}}bv(t,d,e,u)}return yg(d)}function bN(e){{var t=CN.current;if(t!==null&&t.stateNode!==null){var a=t.stateNode._warnedAboutRefsInRender;a||E("%s is accessing findDOMNode inside its render(). render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.",Ft(t.type)||"A component"),t.stateNode._warnedAboutRefsInRender=!0}}return e==null?null:e.nodeType===la?e:oN(e,"findDOMNode")}function TN(e,t,a){if(E("ReactDOM.hydrate is no longer supported in React 18. Use hydrateRoot instead. Until you switch to the new API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!Tv(t))throw new Error("Target container is not a DOM element.");{var i=Vp(t)&&t._reactRootContainer===void 0;i&&E("You are calling ReactDOM.hydrate() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call hydrateRoot(container, element)?")}return Cg(null,e,t,!0,a)}function RN(e,t,a){if(E("ReactDOM.render is no longer supported in React 18. Use createRoot instead. Until you switch to the new API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!Tv(t))throw new Error("Target container is not a DOM element.");{var i=Vp(t)&&t._reactRootContainer===void 0;i&&E("You are calling ReactDOM.render() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call root.render(element)?")}return Cg(null,e,t,!1,a)}function kN(e,t,a,i){if(E("ReactDOM.unstable_renderSubtreeIntoContainer() is no longer supported in React 18. Consider using a portal instead. Until you switch to the createRoot API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!Tv(a))throw new Error("Target container is not a DOM element.");if(e==null||!Ms(e))throw new Error("parentComponent must be a valid React Component");return Cg(e,t,a,!1,i)}function _N(e){if(!Tv(e))throw new Error("unmountComponentAtNode(...): Target container is not a DOM element.");{var t=Vp(e)&&e._reactRootContainer===void 0;t&&E("You are calling ReactDOM.unmountComponentAtNode() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call root.unmount()?")}if(e._reactRootContainer){{var a=SC(e),i=a&&!Qo(a);i&&E("unmountComponentAtNode(): The node you're attempting to unmount was rendered by another copy of React.")}return Zu(function(){Cg(null,null,e,!1,function(){e._reactRootContainer=null,J0(e)})}),!0}else{{var u=SC(e),c=!!(u&&Qo(u)),d=e.nodeType===la&&Tv(e.parentNode)&&!!e.parentNode._reactRootContainer;c&&E("unmountComponentAtNode(): The node you're attempting to unmount was rendered by React and is not a top-level container. %s",d?"You may have accidentally passed in a React root node instead of its container.":"Instead, have the parent component update its state and rerender in order to remove this component.")}return!1}}Le(sN),Dh(cN),Gs(fN),vp(Ka),Oh(Ys),(typeof Map!="function"||Map.prototype==null||typeof Map.prototype.forEach!="function"||typeof Set!="function"||Set.prototype==null||typeof Set.prototype.clear!="function"||typeof Set.prototype.forEach!="function")&&E("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),sh(Ok),Fc(KE,EO,Zu);function DN(e,t){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!Eg(t))throw new Error("Target container is not a DOM element.");return uN(e,t,null,a)}function LN(e,t,a,i){return kN(e,t,a,i)}var EC={usingClientEntryPoint:!1,Events:[Qo,If,om,Pc,Ls,KE]};function ON(e,t){return EC.usingClientEntryPoint||E('You are importing createRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),yN(e,t)}function NN(e,t,a){return EC.usingClientEntryPoint||E('You are importing hydrateRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),EN(e,t,a)}function MN(e){return db()&&E("flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task."),Zu(e)}var AN=gN({findFiberByHostInstance:ac,bundleType:1,version:pC,rendererPackageName:"react-dom"});if(!AN&&wn&&window.top===window.self&&(navigator.userAgent.indexOf("Chrome")>-1&&navigator.userAgent.indexOf("Edge")===-1||navigator.userAgent.indexOf("Firefox")>-1)){var aT=window.location.protocol;/^(https?|file):$/.test(aT)&&console.info("%cDownload the React DevTools for a better development experience: https://reactjs.org/link/react-devtools"+(aT==="file:"?`
|
|
252
|
+
You might need to use a local HTTP server (instead of file://): https://reactjs.org/link/react-devtools-faq`:""),"font-weight:bold")}Pa.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=EC,Pa.createPortal=DN,Pa.createRoot=ON,Pa.findDOMNode=bN,Pa.flushSync=MN,Pa.hydrate=TN,Pa.hydrateRoot=NN,Pa.render=RN,Pa.unmountComponentAtNode=_N,Pa.unstable_batchedUpdates=KE,Pa.unstable_renderSubtreeIntoContainer=LN,Pa.version=pC,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()),Pa}function C0(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function")){if(process.env.NODE_ENV!=="production")throw new Error("^_^");try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(C0)}catch(s){console.error(s)}}}process.env.NODE_ENV==="production"?(C0(),Ig.exports=w1()):Ig.exports=x1();var b1=Ig.exports;const T1=oT(b1),R1=(s,{mentionable:h}={})=>{if(!h)return"";const v=document.createElement("div");return T1.render(L.MentionMarkupElementNode(h)({element:s}),v),v.innerHTML},Yg=(s,h)=>s.reduce((v,x)=>(x.type===h&&v++,x.children?v+Yg(x.children,h):v),0),w0=(s,h,{mappedMentionable:v,nestingCount:x={}})=>{if(N.isText(s))return v1(s);const b=x[s.type]||Yg([s],s.type);let j="";for(const Q of s.children)j+=w0(Q,h,{nestingCount:{...x,[Q.type]:b},mappedMentionable:v});const E=k1[s.type];return typeof E<"u"?E({classNames:x0(s.breakAfterColumn,s.align),children:j,rootNestingCount:b,node:s,mappedMentionable:v,styles:h}):y1(s,j,h[s.type],x0(s.breakAfterColumn,s.align))},k1={[N.ELEMENT_UL]:s=>`<ul class="${L.UL_CLASSES} ${s.classNames}">${s.children}</ul>`,[N.ELEMENT_OL]:({classNames:s,children:h,node:v,rootNestingCount:x})=>{const b=Math.max(x-Yg([v],N.ELEMENT_OL),0);return`<ol class="${L.getOrderedListClasses(b)} ${s}" style="${cu(L.OL_STYLES)}">${h}</ol>`},[N.ELEMENT_LI]:({classNames:s,children:h,node:v,styles:x})=>`<li class="${s} ${L.LI_CLASSNAMES}" style="${cu(L.getLiStyles(v,x))}">${h}</li>`,[N.ELEMENT_LIC]:({classNames:s,children:h,node:v})=>`<p class="${s} ${L.getLicElementClassNames(v)}"><span>${h}</span></p>`,[N.ELEMENT_LINK]:({node:s,children:h,classNames:v,styles:x})=>g1(s,h,v,x),[cn]:({node:s,children:h,classNames:v,styles:x})=>m1(s,h,v,x),[L.ELEMENT_CHECK_ITEM]:({node:s,children:h,classNames:v,styles:x})=>S1(s,h,v,x),[N.ELEMENT_MENTION]:({node:s,mappedMentionable:h})=>R1(s,{mentionable:h})},x0=(s,h)=>{const v="tw-break-words",x=s==="active"?"tw-break-after-column tw-break-inside-avoid-column":"",b=h?L.alignmentClassnames[h]:"";return L.merge([b,v,x])},_1=async(s,h=1,v="normal",x=new L.PluginComposer)=>{const b=L.parseRawValue({raw:s,plugins:x}),j=x.getStyles;return Promise.resolve(D1(b,{columns:h,columnGap:v,styles:j}))},D1=(s,{mentionable:h,columns:v=1,columnGap:x="normal",styles:b=er}={})=>{const j=h?L.mapMentionable(h):new Map;let E="";for(let Q=0,A=s.length;Q<A;Q++){const G=s[Q];L1(G)?E+="<br />":E+=w0(G,b,{mappedMentionable:j})}return v>1?`<div style="columns:${v}; column-gap:${x};">${E}</div>`:E},L1=s=>{var h;return Array.isArray(s==null?void 0:s.children)?(h=s==null?void 0:s.children)==null?void 0:h.every(v=>v.text===""):!1},O1=({value:s="",gap:h,columns:v,show:x=!0,plugins:b})=>{const[j,E]=Be.useState(null);return Be.useEffect(()=>{(async()=>E(await _1(s,v,h,b)))()},[s,v,h,b]),!x||j==="<br />"?null:j!==null?_.jsx("div",{className:"tw-w-full","data-test-id":"rte-content-html",dangerouslySetInnerHTML:{__html:j}}):_.jsx("div",{className:"tw-rounded-sm tw-bg-base-alt tw-animate-pulse tw-h-full tw-min-h-[10px] tw-w-full"})},N1=({id:s="rte",isEditing:h,value:v,columns:x,gap:b,placeholder:j,plugins:E,onTextChange:Q,showSerializedText:A})=>{const[G,re]=Be.useState(!1),F=ne=>{Q&&ne!==v&&Q(ne),re(!1)};return Be.useEffect(()=>{const ne=ue=>(ue.preventDefault(),ue.returnValue="Unprocessed changes");return G&&window.addEventListener("beforeunload",ne),()=>window.removeEventListener("beforeunload",ne)},[G]),h?_.jsx(L.RichTextEditor,{id:s,value:v,border:!1,placeholder:j,plugins:E,onValueChanged:()=>re(!0),onTextChange:F,hideExternalFloatingModals:ne=>{Ea.isOpen(ne)&&Jn.reset()}}):_.jsx(O1,{value:v,columns:x,gap:b,show:A,plugins:E})},M1=s=>new L.PluginComposer().setPlugin(new L.SoftBreakPlugin,new L.TextStylePlugin({textStyles:Hg})).setPlugin([new L.BoldPlugin,new L.ItalicPlugin,new L.UnderlinePlugin,new L.StrikethroughPlugin,new KC({appBridge:s}),new GC({appBridge:s}),new L.CodePlugin],[new L.AlignLeftPlugin({validTypes:Tc}),new L.AlignCenterPlugin({validTypes:Tc}),new L.AlignRightPlugin({validTypes:Tc}),new L.AlignJustifyPlugin({validTypes:Tc}),new L.UnorderedListPlugin,new L.CheckboxListPlugin,new L.OrderedListPlugin,new L.ResetFormattingPlugin]),A1="--f-theme-settings-",U1=(s,h)=>{const{blockAssets:v,updateAssetIdsFromKey:x}=ss.useBlockAssets(s),b=(v==null?void 0:v[h])||[];return{onAddAttachments:async G=>{const re=b.map(F=>F.id);for(const F of G)re.push(F.id);await x(h,re)},onAttachmentDelete:async G=>{const re=b.filter(F=>F.id!==G.id).map(F=>F.id);await x(h,re)},onAttachmentReplace:async(G,re)=>{const F=b.map(ne=>ne.id===G.id?re.id:ne.id);await x(h,F)},onAttachmentsSorted:async G=>{const re=G.map(F=>F.id);await x(h,re)},attachments:b}},z1={start:["Space","Enter"],cancel:[],end:["Space","Enter","Escape"]},j1=(s=0,h=0)=>{const v=AC(s,h);return $n.useSensors($n.useSensor($n.PointerSensor),$n.useSensor($n.KeyboardSensor,{coordinateGetter:v,keyboardCodes:z1}))},P1=s=>{const h=s!=null&&s.id?`hasBackground${s.id}`:"hasBackground",v=s!=null&&s.id?`backgroundColor${s.id}`:"backgroundColor",x=s!=null&&s.preventDefaultColor?void 0:(s==null?void 0:s.defaultColor)||xT,b=s!=null&&s.switchLabel?s.switchLabel:void 0;return{id:h,label:"Background",type:"switch",switchLabel:b,defaultValue:!!(s!=null&&s.defaultValue),on:[{id:v,defaultValue:x,type:"colorInput"}]}},F1=s=>{const h=s!=null&&s.id?`hasBorder_${s.id}`:"hasBorder",v=s!=null&&s.id?`borderSelection_${s.id}`:"borderSelection",x=s!=null&&s.id?`borderStyle_${s.id}`:"borderStyle",b=s!=null&&s.id?`borderWidth_${s.id}`:"borderWidth",j=s!=null&&s.id?`borderColor_${s.id}`:"borderColor",E=(s==null?void 0:s.defaultColor)||LC,Q=s!=null&&s.switchLabel?s.switchLabel:void 0;return{id:h,label:"Border",type:"switch",switchLabel:Q,defaultValue:!!(s!=null&&s.defaultValue),on:[{id:v,type:"multiInput",onChange:A=>Ce.appendUnit(A,b),layout:Ce.MultiInputLayout.Columns,lastItemFullWidth:!0,blocks:[{id:x,type:"dropdown",defaultValue:gl.Solid,choices:[{value:gl.Solid,label:gl.Solid},{value:gl.Dotted,label:gl.Dotted},{value:gl.Dashed,label:gl.Dashed}]},{id:b,type:"input",defaultValue:bT,rules:[Ce.numericalOrPixelRule,Ce.maximumNumericalOrPixelOrAutoRule(500)],placeholder:"e.g. 3px"},{id:j,type:"colorInput",defaultValue:E}]}],off:[]}},Wg=(s,h=to.None)=>({id:s,type:"segmentedControls",defaultValue:h,choices:[{value:to.None,label:"None"},{value:to.Small,label:"S"},{value:to.Medium,label:"M"},{value:to.Large,label:"L"}]}),B1=s=>{const h=s!=null&&s.id?`hasRadius_${s.id}`:"hasRadius",v=s!=null&&s.id?`radiusValue_${s.id}`:"radiusValue",x=s!=null&&s.id?`radiusChoice_${s.id}`:"radiusChoice",b=(s==null?void 0:s.defaultRadius)||to.None;return{id:h,label:"Corner radius",type:"switch",switchLabel:"Custom",defaultValue:!1,info:"Determining how rounded the corners are.",show:j=>{var E;return s!=null&&s.dependentSettingId?!!((E=j.getBlock(s.dependentSettingId))!=null&&E.value):!0},onChange:j=>Ce.presetCustomValue(j,x,v,(s==null?void 0:s.radiusStyleMap)||fs),on:[{id:v,type:"input",placeholder:"e.g. 10px",rules:[Ce.numericalOrPixelRule],onChange:j=>Ce.appendUnit(j,v)}],off:[Wg(x,b)]}},H1=s=>{const h=s!=null&&s.id?`hasExtendedCustomRadius_${s.id}`:"hasExtendedCustomRadius",v=s!=null&&s.id?`extendedRadiusValue_${s.id}`:"extendedRadiusValue",x=s!=null&&s.id?`extendedRadiusChoice_${s.id}`:"extendedRadiusChoice",b=s!=null&&s.id?`extendedRadiusTopLeft_${s.id}`:"extendedRadiusTopLeft",j=s!=null&&s.id?`extendedRadiusTopRight_${s.id}`:"extendedRadiusTopRight",E=s!=null&&s.id?`extendedRadiusBottomLeft_${s.id}`:"extendedRadiusBottomLeft",Q=s!=null&&s.id?`extendedRadiusBottomRight_${s.id}`:"extendedRadiusBottomRight";return{id:h,label:"Corner radius",type:"switch",switchLabel:"Custom",defaultValue:!1,info:"Determining how rounded the corners are.",show:A=>{var G;return s!=null&&s.dependentSettingId?!!((G=A.getBlock(s.dependentSettingId))!=null&&G.value):!0},onChange:A=>{Ce.presetCustomValue(A,x,b,fs),Ce.presetCustomValue(A,x,j,fs),Ce.presetCustomValue(A,x,E,fs),Ce.presetCustomValue(A,x,Q,fs)},on:[{id:v,type:"multiInput",layout:Ce.MultiInputLayout.Columns,blocks:[{id:b,type:"input",label:"Top Left",rules:[Ce.numericalOrPixelRule],onChange:A=>Ce.appendUnit(A,b)},{id:j,type:"input",label:"Top Right",rules:[Ce.numericalOrPixelRule],onChange:A=>Ce.appendUnit(A,j)},{id:E,type:"input",label:"Bottom Left",rules:[Ce.numericalOrPixelRule],onChange:A=>Ce.appendUnit(A,E)},{id:Q,type:"input",label:"Bottom Right",rules:[Ce.numericalOrPixelRule],onChange:A=>Ce.appendUnit(A,Q)}]}],off:[Wg(x,s==null?void 0:s.defaultValue)]}},I1=s=>{const h=s!=null&&s.id?s.id:"hasCustomSpacing",v=s!=null&&s.dependentSettingId?s.dependentSettingId:"columns",x=s!=null&&s.spacingChoiceId?s.spacingChoiceId:"spacingChoice",b=s!=null&&s.spacingCustomId?s.spacingCustomId:"spacingCustom",j=s!=null&&s.defaultValueChoices?s.defaultValueChoices:hs.M;return{id:h,type:"switch",defaultValue:!1,switchLabel:"Custom",label:"Gutter",info:"An official nerds term for ‘gap’",onChange:E=>Ce.presetCustomValue(E,x,b,DC),show:E=>{var Q;return((Q=E.getBlock(v))==null?void 0:Q.value)!=="1"},on:[{id:b,type:"input",rules:[Ce.numericalOrPixelRule],onChange:E=>Ce.appendUnit(E,b)}],off:[{id:x,type:"slider",defaultValue:j,choices:[{value:hs.Auto,label:"Auto"},{value:hs.S,label:"S"},{value:hs.M,label:"M"},{value:hs.L,label:"L"}]}]}},Qg=s=>({id:s,type:"segmentedControls",defaultValue:ps.None,choices:[{value:ps.None,label:"None"},{value:ps.Small,label:"S"},{value:ps.Medium,label:"M"},{value:ps.Large,label:"L"}]}),V1=s=>{const h=s!=null&&s.id?`hasCustomMarginValue_${s==null?void 0:s.id}`:"hasCustomMarginValue",v=s!=null&&s.id?`marginValue_${s==null?void 0:s.id}`:"marginValue",x=s!=null&&s.id?`marginChoice_${s==null?void 0:s.id}`:"marginChoice";return{id:h,label:"Margin",type:"switch",switchLabel:"Custom",defaultValue:!1,info:"The spacing around UI elements to create more space",onChange:b=>Ce.presetCustomValue(b,x,v,(s==null?void 0:s.marginStyleMap)||Cc),on:[{id:v,type:"input",placeholder:gd,rules:[Ce.numericalOrPixelRule,Ce.maximumNumericalOrPixelOrAutoRule(500)],onChange:b=>Ce.appendUnit(b,v)}],off:[Qg(x)]}},$1=s=>{const h=s!=null&&s.id?`hasExtendedCustomMargin_${s==null?void 0:s.id}`:"hasExtendedCustomMargin",v=s!=null&&s.id?`extendedMarginValues_${s==null?void 0:s.id}`:"extendedMarginValues",x=s!=null&&s.id?`extendedMarginChoice_${s==null?void 0:s.id}`:"extendedMarginChoice",b=s!=null&&s.id?`extendedMarginTop_${s==null?void 0:s.id}`:"extendedMarginTop",j=s!=null&&s.id?`extendedMarginLeft_${s==null?void 0:s.id}`:"extendedMarginLeft",E=s!=null&&s.id?`extendedMarginRight_${s==null?void 0:s.id}`:"extendedMarginRight",Q=s!=null&&s.id?`extendedMarginBottom_${s==null?void 0:s.id}`:"extendedMarginBottom";return{id:h,label:"Margin",type:"switch",switchLabel:"Custom",defaultValue:!1,info:"The spacing around UI elements to create more negative space",onChange:A=>{Ce.presetCustomValue(A,x,b,Cc),Ce.presetCustomValue(A,x,j,Cc),Ce.presetCustomValue(A,x,E,Cc),Ce.presetCustomValue(A,x,Q,Cc)},on:[{id:v,type:"multiInput",layout:Ce.MultiInputLayout.Spider,blocks:[{id:b,type:"input",label:"Top",placeholder:gd,onChange:A=>Ce.appendUnit(A,b),rules:[Ce.numericalOrPixelRule,Ce.maximumNumericalOrPixelOrAutoRule(500)]},{id:j,type:"input",label:"Left",placeholder:gd,onChange:A=>Ce.appendUnit(A,j),rules:[Ce.numericalOrPixelRule,Ce.maximumNumericalOrPixelOrAutoRule(500)]},{id:E,type:"input",label:"Right",placeholder:gd,onChange:A=>Ce.appendUnit(A,E),rules:[Ce.numericalOrPixelRule,Ce.maximumNumericalOrPixelOrAutoRule(500)]},{id:Q,type:"input",label:"Bottom",placeholder:gd,onChange:A=>Ce.appendUnit(A,Q),rules:[Ce.numericalOrPixelRule,Ce.maximumNumericalOrPixelOrAutoRule(500)]}]}],off:[Qg(x)]}},Gg=s=>({id:s,type:"segmentedControls",defaultValue:ds.Small,choices:[{value:ds.None,label:"None"},{value:ds.Small,label:"S"},{value:ds.Medium,label:"M"},{value:ds.Large,label:"L"}]}),Y1=s=>{const h=s!=null&&s.id?`hasCustomPaddingValue_${s==null?void 0:s.id}`:"hasCustomPaddingValue",v=s!=null&&s.id?`paddingValue_${s==null?void 0:s.id}`:"paddingValue",x=s!=null&&s.id?`paddingChoice_${s==null?void 0:s.id}`:"paddingChoice";return{id:h,label:"Padding",type:"switch",switchLabel:"Custom",defaultValue:!1,info:"The spacing around UI elements to create more negative space",onChange:b=>Ce.presetCustomValue(b,x,v,(s==null?void 0:s.paddingStyleMap)||Ec),on:[{id:v,type:"input",placeholder:md,rules:[Ce.numericalOrPixelRule,Ce.maximumNumericalOrPixelOrAutoRule(500)],onChange:b=>Ce.appendUnit(b,v)}],off:[Gg(x)]}},W1=s=>{const h=s!=null&&s.id?`hasExtendedCustomPadding_${s==null?void 0:s.id}`:"hasExtendedCustomPadding",v=s!=null&&s.id?`extendedPaddingValues_${s==null?void 0:s.id}`:"extendedPaddingValues",x=s!=null&&s.id?`extendedPaddingChoice_${s==null?void 0:s.id}`:"extendedPaddingChoice",b=s!=null&&s.id?`extendedPaddingTop_${s==null?void 0:s.id}`:"extendedPaddingTop",j=s!=null&&s.id?`extendedPaddingLeft_${s==null?void 0:s.id}`:"extendedPaddingLeft",E=s!=null&&s.id?`extendedPaddingRight_${s==null?void 0:s.id}`:"extendedPaddingRight",Q=s!=null&&s.id?`extendedPaddingBottom_${s==null?void 0:s.id}`:"extendedPaddingBottom";return{id:h,label:"Padding",type:"switch",switchLabel:"Custom",defaultValue:!1,info:"The spacing around UI elements to create more negative space",onChange:A=>{Ce.presetCustomValue(A,x,b,Ec),Ce.presetCustomValue(A,x,j,Ec),Ce.presetCustomValue(A,x,E,Ec),Ce.presetCustomValue(A,x,Q,Ec)},on:[{id:v,type:"multiInput",layout:Ce.MultiInputLayout.Spider,blocks:[{id:b,type:"input",label:"Top",placeholder:md,onChange:A=>Ce.appendUnit(A,b),rules:[Ce.numericalOrPixelRule,Ce.maximumNumericalOrPixelOrAutoRule(500)]},{id:j,type:"input",label:"Left",placeholder:md,onChange:A=>Ce.appendUnit(A,j),rules:[Ce.numericalOrPixelRule,Ce.maximumNumericalOrPixelOrAutoRule(500)]},{id:E,type:"input",label:"Right",placeholder:md,onChange:A=>Ce.appendUnit(A,E),rules:[Ce.numericalOrPixelRule,Ce.maximumNumericalOrPixelOrAutoRule(500)]},{id:Q,type:"input",label:"Bottom",placeholder:md,onChange:A=>Ce.appendUnit(A,Q),rules:[Ce.numericalOrPixelRule,Ce.maximumNumericalOrPixelOrAutoRule(500)]}]}],off:[Gg(x)]}},Q1=s=>{const h=qg(s==null?void 0:s.globalControlId);return{id:s!=null&&s.id?s.id:"downloadable",type:"switch",defaultValue:!1,label:"Downloadable",show:v=>{var x;return((x=v.getBlock(h))==null?void 0:x.value)===vs.Custom}}},qg=s=>s||"security",G1=s=>[{id:qg(s),type:"segmentedControls",defaultValue:vs.Global,choices:[{value:vs.Global,label:"Global Settings"},{value:vs.Custom,label:"Custom"}]},{id:"globalSettingsInfo",type:"notification",footer:Ce.createFooter({label:"Change global settings [here].",replace:{here:{event:"general-settings.open"}}})}];var b0=(s=>(s.Main="main",s.Basics="basics",s.Layout="layout",s.Style="style",s.Security="security",s.Targets="targets",s))(b0||{});const q1=s=>s,K1=s=>s;J.AllTextStylePlugins=d1,J.AllTextStyles=p1,J.Attachments=OT,J.BUTTON_PLUGIN=Ag,J.BlockButtonStyles=Mv,J.BlockInjectButton=pT,J.BlockItemWrapper=_T,J.BlockStyles=er,J.BorderStyle=gl,J.ButtonPlugin=GC,J.Custom1Plugin=XC,J.Custom2Plugin=JC,J.Custom3Plugin=t0,J.DEFAULT_DRAGGING_TOOLTIP=NC,J.DEFAULT_DRAG_TOOLTIP=OC,J.DownloadButton=NT,J.ELEMENT_BUTTON=cn,J.GutterSpacing=hs,J.Heading1Plugin=r0,J.Heading2Plugin=a0,J.Heading3Plugin=i0,J.Heading4Plugin=l0,J.ImageCaptionPlugin=u0,J.ImageTitlePlugin=o0,J.LinkPlugin=KC,J.Margin=ps,J.PARAGRAPH_CLASSES=c0,J.Padding=ds,J.ParagraphMarkupElement=f0,J.ParagraphMarkupElementNode=Av,J.ParagraphPlugin=s0,J.QuoteMarkupElementNode=Uv,J.QuotePlugin=p0,J.Radius=to,J.RichTextEditor=N1,J.Sections=b0,J.Security=vs,J.THEME_PREFIX=A1,J.TextStylePluginsWithoutImage=Hg,J.TextStyles=st,J.TextStylesWithoutImage=Tc,J.addHttps=Dv,J.borderStyleMap=_C,J.convertToRteValue=zT,J.createButtonNode=PC,J.createButtonPlugin=QC,J.createLinkPlugin=qC,J.createParagraphPlugin=d0,J.createQuotePlugin=v0,J.customCoordinatesGetterFactory=AC,J.defineBlock=q1,J.defineSettings=K1,J.getBackgroundColorStyles=wT,J.getBackgroundSettings=P1,J.getBorderRadiusSettings=B1,J.getBorderRadiusSlider=Wg,J.getBorderSettings=F1,J.getBorderStyles=TT,J.getDefaultPluginsWithLinkChooser=M1,J.getExtendedBorderRadiusSettings=H1,J.getGutterSettings=I1,J.getMarginExtendedSettings=$1,J.getMarginSettings=V1,J.getMarginSlider=Qg,J.getPaddingExtendedSettings=W1,J.getPaddingSettings=Y1,J.getPaddingSlider=Gg,J.getRadiusStyles=RT,J.getReadableColor=ET,J.getSecurityDownloadableSetting=Q1,J.getSecurityGlobalControlId=qg,J.getSecurityGlobalControlSetting=G1,J.getUrlFromEditor=jC,J.gutterSpacingStyleMap=DC,J.hasRichTextValue=MC,J.insertButton=FC,J.isDark=hT,J.isDownloadable=PT,J.joinClassNames=su,J.mapAppBridgeColorPaletteToFonduePalette=UC,J.mapAppBridgeColorPalettesToFonduePalettes=FT,J.marginStyleMap=Cc,J.moveItemInArray=CT,J.paddingStyleMap=Ec,J.radiusStyleMap=fs,J.setAlpha=yT,J.submitFloatingButton=Og,J.toColorObject=ST,J.toHex8String=mT,J.toHexString=gT,J.toRgbaString=Tg,J.toShortRgba=cs,J.triggerFloatingButton=$C,J.triggerFloatingButtonEdit=Ov,J.triggerFloatingButtonInsert=Lg,J.unwrapButton=bc,J.upsertButton=BC,J.upsertButtonText=Ng,J.useAttachments=U1,J.useDndSensors=j1,J.withButton=WC,J.wrapButton=HC,Object.keys(Ce).forEach(s=>{s!=="default"&&!J.hasOwnProperty(s)&&Object.defineProperty(J,s,{enumerable:!0,get:()=>Ce[s]})}),Object.defineProperty(J,Symbol.toStringTag,{value:"Module"})});
|
|
2
253
|
//# sourceMappingURL=index.umd.js.map
|