@tsed/react-formio 3.0.0-alpha.8 → 3.0.0-rc.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/dist/all.d.ts +0 -0
- package/dist/all.js +38 -0
- package/dist/all.js.map +1 -0
- package/dist/atoms/icon/Icon.d.ts +4 -3
- package/dist/atoms/icon/Icon.js +9 -8
- package/dist/atoms/icon/Icon.js.map +1 -1
- package/dist/chunks/_commonjsHelpers.js +30 -3
- package/dist/chunks/_commonjsHelpers.js.map +1 -1
- package/dist/chunks/index.js +33 -30
- package/dist/chunks/index.js.map +1 -1
- package/dist/chunks/index.module.js +16 -16
- package/dist/chunks/index.module.js.map +1 -1
- package/dist/chunks/index2.js +56953 -0
- package/dist/chunks/index2.js.map +1 -0
- package/dist/chunks/react-select-animated.esm.js +3616 -0
- package/dist/chunks/react-select-animated.esm.js.map +1 -0
- package/dist/contexts/FormioContext.d.ts +19 -0
- package/dist/contexts/FormioContext.js +35 -0
- package/dist/contexts/FormioContext.js.map +1 -0
- package/dist/hooks/keyboard.constants.d.ts +38 -0
- package/dist/hooks/keyboard.constants.js +7 -0
- package/dist/hooks/keyboard.constants.js.map +1 -0
- package/dist/hooks/useFormioContext.d.ts +10 -0
- package/dist/hooks/useFormioContext.js +12 -0
- package/dist/hooks/useFormioContext.js.map +1 -0
- package/dist/hooks/useI18n.d.ts +4 -0
- package/dist/hooks/useI18n.js +9 -0
- package/dist/hooks/useI18n.js.map +1 -0
- package/dist/hooks/useKeyboardControls.d.ts +12 -0
- package/dist/hooks/useKeyboardControls.js +35 -0
- package/dist/hooks/useKeyboardControls.js.map +1 -0
- package/dist/hooks/useTooltip.js.map +1 -1
- package/dist/index.d.ts +1 -6
- package/dist/index.js +18 -13
- package/dist/index.js.map +1 -1
- package/dist/interfaces/ComponentType.d.ts +6 -2
- package/dist/interfaces/FormBuilderOptions.d.ts +7 -0
- package/dist/interfaces/FormBuilderOptions.js +2 -0
- package/dist/interfaces/FormBuilderOptions.js.map +1 -0
- package/dist/interfaces/FormOptions.d.ts +6 -13
- package/dist/interfaces/FormType.d.ts +4 -11
- package/dist/interfaces/Operation.d.ts +13 -4
- package/dist/interfaces/SubmissionType.d.ts +5 -10
- package/dist/interfaces/index.d.ts +1 -0
- package/dist/molecules/alert/Alert.js.map +1 -1
- package/dist/molecules/button/Button.d.ts +18 -5
- package/dist/molecules/button/Button.js +24 -28
- package/dist/molecules/button/Button.js.map +1 -1
- package/dist/molecules/card/Card.js +9 -7
- package/dist/molecules/card/Card.js.map +1 -1
- package/dist/molecules/forms/form-control/FormControl.d.ts +14 -12
- package/dist/molecules/forms/form-control/FormControl.js +46 -22
- package/dist/molecules/forms/form-control/FormControl.js.map +1 -1
- package/dist/molecules/forms/input-tags/InputTags.d.ts +2 -8
- package/dist/molecules/forms/input-tags/InputTags.interface.d.ts +7 -0
- package/dist/molecules/forms/input-tags/InputTags.interface.js +2 -0
- package/dist/molecules/forms/input-tags/InputTags.interface.js.map +1 -0
- package/dist/molecules/forms/input-tags/InputTags.js +21 -27
- package/dist/molecules/forms/input-tags/InputTags.js.map +1 -1
- package/dist/molecules/forms/input-tags/all.d.ts +2 -0
- package/dist/molecules/forms/input-tags/all.js +9 -0
- package/dist/molecules/forms/input-tags/all.js.map +1 -0
- package/dist/molecules/forms/input-tags/components/ChoicesTags.d.ts +307 -0
- package/dist/molecules/forms/input-tags/components/ChoicesTags.js +51 -0
- package/dist/molecules/forms/input-tags/components/ChoicesTags.js.map +1 -0
- package/dist/molecules/forms/input-tags/components/ReactTags.d.ts +2 -0
- package/dist/molecules/forms/input-tags/components/ReactTags.js +1926 -0
- package/dist/molecules/forms/input-tags/components/ReactTags.js.map +1 -0
- package/dist/molecules/forms/input-text/InputText.d.ts +2 -14
- package/dist/molecules/forms/input-text/InputText.interface.d.ts +4 -0
- package/dist/molecules/forms/input-text/InputText.interface.js +2 -0
- package/dist/molecules/forms/input-text/InputText.interface.js.map +1 -0
- package/dist/molecules/forms/input-text/InputText.js +46 -56
- package/dist/molecules/forms/input-text/InputText.js.map +1 -1
- package/dist/molecules/forms/select/Select.d.ts +1 -1
- package/dist/molecules/forms/select/{Select.interfaces.d.ts → Select.interface.d.ts} +8 -10
- package/dist/molecules/forms/select/Select.interface.js +2 -0
- package/dist/molecules/forms/select/Select.interface.js.map +1 -0
- package/dist/molecules/forms/select/Select.js +9 -10
- package/dist/molecules/forms/select/Select.js.map +1 -1
- package/dist/molecules/forms/select/all.d.ts +1 -1
- package/dist/molecules/forms/select/all.js +1 -0
- package/dist/molecules/forms/select/all.js.map +1 -1
- package/dist/molecules/forms/select/components/ChoicesSelect.d.ts +1 -1
- package/dist/molecules/forms/select/components/ChoicesSelect.js +72 -83
- package/dist/molecules/forms/select/components/ChoicesSelect.js.map +1 -1
- package/dist/molecules/forms/select/components/HtmlSelect.d.ts +1 -1
- package/dist/molecules/forms/select/components/HtmlSelect.js +17 -16
- package/dist/molecules/forms/select/components/HtmlSelect.js.map +1 -1
- package/dist/molecules/forms/select/components/ReactSelect.d.ts +1 -1
- package/dist/molecules/forms/select/components/ReactSelect.js +28 -3034
- package/dist/molecules/forms/select/components/ReactSelect.js.map +1 -1
- package/dist/molecules/forms/select/components/choices.template.js +2340 -2257
- package/dist/molecules/forms/select/components/choices.template.js.map +1 -1
- package/dist/molecules/forms/select/hooks/useOptions.d.ts +3 -3
- package/dist/molecules/forms/select/hooks/useOptions.js +15 -15
- package/dist/molecules/forms/select/hooks/useOptions.js.map +1 -1
- package/dist/molecules/loader/Loader.d.ts +4 -4
- package/dist/molecules/loader/Loader.js +16 -8
- package/dist/molecules/loader/Loader.js.map +1 -1
- package/dist/molecules/modal/Modal.js +23 -24
- package/dist/molecules/modal/Modal.js.map +1 -1
- package/dist/molecules/pagination/Pagination.d.ts +7 -6
- package/dist/molecules/pagination/Pagination.js +48 -57
- package/dist/molecules/pagination/Pagination.js.map +1 -1
- package/dist/molecules/pagination/PaginationButton.js +10 -10
- package/dist/molecules/pagination/PaginationButton.js.map +1 -1
- package/dist/molecules/pagination/all.js +5 -4
- package/dist/molecules/pagination/all.js.map +1 -1
- package/dist/molecules/pagination/utils/getPageNumbers.js.map +1 -0
- package/dist/molecules/table/Table.d.ts +16 -2
- package/dist/molecules/table/Table.js +53 -77
- package/dist/molecules/table/Table.js.map +1 -1
- package/dist/molecules/table/all.d.ts +0 -0
- package/dist/molecules/table/all.js +19 -0
- package/dist/molecules/table/all.js.map +1 -0
- package/dist/molecules/table/components/DefaultArrowSort.d.ts +5 -1
- package/dist/molecules/table/components/DefaultArrowSort.js +17 -5
- package/dist/molecules/table/components/DefaultArrowSort.js.map +1 -1
- package/dist/molecules/table/components/DefaultCell.d.ts +5 -1
- package/dist/molecules/table/components/DefaultCell.js +8 -6
- package/dist/molecules/table/components/DefaultCell.js.map +1 -1
- package/dist/molecules/table/components/DefaultCellFooter.d.ts +6 -0
- package/dist/molecules/table/components/DefaultCellFooter.js +12 -0
- package/dist/molecules/table/components/DefaultCellFooter.js.map +1 -0
- package/dist/molecules/table/components/DefaultCellHeader.d.ts +5 -8
- package/dist/molecules/table/components/DefaultCellHeader.js +25 -9
- package/dist/molecules/table/components/DefaultCellHeader.js.map +1 -1
- package/dist/molecules/table/components/DefaultCellOperations.d.ts +16 -10
- package/dist/molecules/table/components/DefaultCellOperations.js +23 -14
- package/dist/molecules/table/components/DefaultCellOperations.js.map +1 -1
- package/dist/molecules/table/components/DefaultFilter.d.ts +11 -0
- package/dist/molecules/table/components/DefaultFilter.js +15 -0
- package/dist/molecules/table/components/DefaultFilter.js.map +1 -0
- package/dist/molecules/table/components/DefaultOperationButton.d.ts +16 -12
- package/dist/molecules/table/components/DefaultOperationButton.js +16 -31
- package/dist/molecules/table/components/DefaultOperationButton.js.map +1 -1
- package/dist/molecules/table/filters/Filters.d.js +2 -0
- package/dist/molecules/table/filters/Filters.d.js.map +1 -0
- package/dist/molecules/table/filters/RangeFilter.d.ts +3 -0
- package/dist/molecules/table/filters/RangeFilter.js +41 -0
- package/dist/molecules/table/filters/RangeFilter.js.map +1 -0
- package/dist/molecules/table/filters/SelectFilter.d.ts +3 -0
- package/dist/molecules/table/filters/SelectFilter.js +33 -0
- package/dist/molecules/table/filters/SelectFilter.js.map +1 -0
- package/dist/molecules/table/filters/TextFieldFilter.d.ts +3 -0
- package/dist/molecules/table/filters/TextFieldFilter.js +27 -0
- package/dist/molecules/table/filters/TextFieldFilter.js.map +1 -0
- package/dist/molecules/table/hooks/useTable.d.ts +23 -0
- package/dist/molecules/table/hooks/useTable.js +35 -0
- package/dist/molecules/table/hooks/useTable.js.map +1 -0
- package/dist/molecules/table/hooks/useUniqValues.d.ts +5 -0
- package/dist/molecules/table/hooks/useUniqValues.js +11 -0
- package/dist/molecules/table/hooks/useUniqValues.js.map +1 -0
- package/dist/molecules/table/interfaces/extends.d.ts +14 -0
- package/dist/molecules/table/interfaces/extends.js +2 -0
- package/dist/molecules/table/interfaces/extends.js.map +1 -0
- package/dist/molecules/table/utils/mapFormToColumns.d.ts +2 -2
- package/dist/molecules/table/utils/mapFormToColumns.js +34 -18
- package/dist/molecules/table/utils/mapFormToColumns.js.map +1 -1
- package/dist/molecules/tabs/Tab.d.ts +13 -0
- package/dist/molecules/tabs/Tab.js +66 -0
- package/dist/molecules/tabs/Tab.js.map +1 -0
- package/dist/molecules/tabs/TabList.d.ts +2 -0
- package/dist/molecules/tabs/TabList.js +23 -0
- package/dist/molecules/tabs/TabList.js.map +1 -0
- package/dist/molecules/tabs/TabPanel.d.ts +9 -0
- package/dist/molecules/tabs/TabPanel.js +27 -0
- package/dist/molecules/tabs/TabPanel.js.map +1 -0
- package/dist/molecules/tabs/Tabs.d.ts +4 -16
- package/dist/molecules/tabs/Tabs.js +7 -67
- package/dist/molecules/tabs/Tabs.js.map +1 -1
- package/dist/molecules/tabs/TabsBody.d.ts +1 -0
- package/dist/molecules/tabs/TabsBody.js +10 -0
- package/dist/molecules/tabs/TabsBody.js.map +1 -0
- package/dist/molecules/tabs/TabsLegacy.d.ts +18 -0
- package/dist/molecules/tabs/TabsLegacy.js +49 -0
- package/dist/molecules/tabs/TabsLegacy.js.map +1 -0
- package/dist/molecules/tabs/all.d.ts +5 -0
- package/dist/molecules/tabs/all.js +13 -0
- package/dist/molecules/tabs/all.js.map +1 -0
- package/dist/molecules/tabs/context/TabControl.d.ts +52 -0
- package/dist/molecules/tabs/context/TabControl.js +85 -0
- package/dist/molecules/tabs/context/TabControl.js.map +1 -0
- package/dist/molecules/tabs/hooks/tabControl.d.ts +44 -0
- package/dist/molecules/tabs/hooks/tabControl.js +34 -0
- package/dist/molecules/tabs/hooks/tabControl.js.map +1 -0
- package/dist/organisms/form/Form.js.map +1 -1
- package/dist/organisms/form/access/FormAccess.js +41 -41
- package/dist/organisms/form/access/FormAccess.js.map +1 -1
- package/dist/organisms/form/access/FormAccess.schema.js +1 -0
- package/dist/organisms/form/access/FormAccess.schema.js.map +1 -1
- package/dist/organisms/form/access/FormAccess.utils.js +2 -2
- package/dist/organisms/form/access/FormAccess.utils.js.map +1 -1
- package/dist/organisms/form/actions/FormAction.js +34 -0
- package/dist/organisms/form/actions/FormAction.js.map +1 -0
- package/dist/organisms/form/builder/FormBuilder.js.map +1 -1
- package/dist/organisms/form/builder/FormEdit.d.ts +7 -3
- package/dist/organisms/form/builder/FormEdit.js +46 -42
- package/dist/organisms/form/builder/FormEdit.js.map +1 -1
- package/dist/organisms/form/builder/FormEdit.reducer.js.map +1 -1
- package/dist/organisms/form/builder/FormEditCtas.d.ts +2 -2
- package/dist/organisms/form/builder/FormEditCtas.js +36 -35
- package/dist/organisms/form/builder/FormEditCtas.js.map +1 -1
- package/dist/organisms/form/builder/FormParameters.d.ts +3 -2
- package/dist/organisms/form/builder/FormParameters.js +19 -18
- package/dist/organisms/form/builder/FormParameters.js.map +1 -1
- package/dist/organisms/form/builder/all.js +17 -13
- package/dist/organisms/form/builder/all.js.map +1 -1
- package/dist/organisms/form/builder/useFormBuilder.d.ts +4 -4
- package/dist/organisms/form/builder/useFormBuilder.js +36 -33
- package/dist/organisms/form/builder/useFormBuilder.js.map +1 -1
- package/dist/organisms/form/builder/useFormEdit.d.ts +2 -2
- package/dist/organisms/form/builder/useFormEdit.js +1 -1
- package/dist/organisms/form/builder/useFormEdit.js.map +1 -1
- package/dist/organisms/form/exports/FormExport.d.ts +6 -0
- package/dist/organisms/form/exports/FormExport.js +56 -0
- package/dist/organisms/form/exports/FormExport.js.map +1 -0
- package/dist/organisms/form/preview/FormPreview.d.ts +6 -0
- package/dist/organisms/form/preview/FormPreview.js +12 -0
- package/dist/organisms/form/preview/FormPreview.js.map +1 -0
- package/dist/organisms/form/settings/FormSettings.js +28 -28
- package/dist/organisms/form/settings/FormSettings.js.map +1 -1
- package/dist/organisms/form/settings/FormSettings.schema.js.map +1 -1
- package/dist/organisms/form/settings/FormSettings.utils.js.map +1 -1
- package/dist/organisms/form/useForm.d.ts +2 -1
- package/dist/organisms/form/useForm.js +664 -661
- package/dist/organisms/form/useForm.js.map +1 -1
- package/dist/organisms/modal/RemoveModal.js +16 -17
- package/dist/organisms/modal/RemoveModal.js.map +1 -1
- package/dist/organisms/table/actions/ActionsTable.d.ts +4 -3
- package/dist/organisms/table/actions/ActionsTable.js +21 -33
- package/dist/organisms/table/actions/ActionsTable.js.map +1 -1
- package/dist/organisms/table/forms/FormsTable.d.ts +2 -3
- package/dist/organisms/table/forms/FormsTable.js +48 -27
- package/dist/organisms/table/forms/FormsTable.js.map +1 -1
- package/dist/organisms/table/forms/components/FormsCell.d.ts +5 -0
- package/dist/organisms/table/forms/components/FormsCell.js +50 -0
- package/dist/organisms/table/forms/components/FormsCell.js.map +1 -0
- package/dist/organisms/table/submissions/SubmissionsTable.d.ts +12 -4
- package/dist/organisms/table/submissions/SubmissionsTable.js +10 -17
- package/dist/organisms/table/submissions/SubmissionsTable.js.map +1 -1
- package/dist/organisms/views/FormViews.d.ts +24 -0
- package/dist/organisms/views/FormViews.js +97 -0
- package/dist/organisms/views/FormViews.js.map +1 -0
- package/dist/registries/components.js +12 -11
- package/dist/registries/components.js.map +1 -1
- package/dist/utils/getEventValue.js.map +1 -1
- package/dist/utils/iconClass.js +4 -5
- package/dist/utils/iconClass.js.map +1 -1
- package/dist/utils/mapPagination.js.map +1 -1
- package/dist/utils/stopPropagationWrapper.js.map +1 -1
- package/package.json +10 -8
- package/readme.md +7 -8
- package/src/all.ts +34 -0
- package/src/atoms/icon/Icon.stories.tsx +71 -22
- package/src/atoms/icon/Icon.tsx +14 -4
- package/src/contexts/FormioContext.tsx +89 -0
- package/src/hooks/keyboard.constants.ts +40 -0
- package/src/hooks/useFormioContext.ts +13 -0
- package/src/hooks/useI18n.ts +9 -0
- package/src/hooks/useKeyboardControls.spec.tsx +208 -0
- package/src/hooks/useKeyboardControls.ts +84 -0
- package/src/index.ts +17 -13
- package/src/interfaces/ComponentType.ts +2 -2
- package/src/interfaces/FormBuilderOptions.ts +9 -0
- package/src/interfaces/FormOptions.ts +7 -13
- package/src/interfaces/FormType.ts +5 -11
- package/src/interfaces/Operation.ts +10 -4
- package/src/interfaces/SubmissionType.ts +9 -8
- package/src/interfaces/index.ts +1 -0
- package/src/molecules/__fixtures__/build.js +28 -0
- package/src/molecules/__fixtures__/form-schema.json +76 -195
- package/src/molecules/__fixtures__/form-submissions.json +11846 -46
- package/src/molecules/__fixtures__/products.json +81539 -0
- package/src/molecules/button/Button.stories.tsx +1 -1
- package/src/molecules/button/Button.tsx +43 -24
- package/src/molecules/card/Card.tsx +4 -0
- package/src/molecules/forms/form-control/FormControl.spec.tsx +7 -4
- package/src/molecules/forms/form-control/FormControl.stories.tsx +4 -4
- package/src/molecules/forms/form-control/FormControl.tsx +46 -20
- package/src/molecules/forms/input-tags/InputTags.interface.ts +9 -0
- package/src/molecules/forms/input-tags/InputTags.tsx +20 -42
- package/src/molecules/forms/input-tags/all.ts +6 -0
- package/src/molecules/forms/input-tags/components/ChoicesTags.stories.tsx +110 -0
- package/src/molecules/forms/input-tags/components/ChoicesTags.tsx +72 -0
- package/src/molecules/forms/input-tags/components/ReactTags.stories.tsx +140 -0
- package/src/molecules/forms/input-tags/components/ReactTags.tsx +38 -0
- package/src/molecules/forms/input-text/InputText.interface.ts +5 -0
- package/src/molecules/forms/input-text/InputText.spec.tsx +1 -1
- package/src/molecules/forms/input-text/InputText.stories.tsx +4 -4
- package/src/molecules/forms/input-text/InputText.tsx +38 -53
- package/src/molecules/forms/select/{Select.interfaces.ts → Select.interface.ts} +8 -10
- package/src/molecules/forms/select/Select.tsx +5 -3
- package/src/molecules/forms/select/all.ts +2 -1
- package/src/molecules/forms/select/components/ChoicesSelect.stories.tsx +8 -7
- package/src/molecules/forms/select/components/ChoicesSelect.tsx +9 -18
- package/src/molecules/forms/select/components/HtmlSelect.stories.tsx +7 -7
- package/src/molecules/forms/select/components/HtmlSelect.tsx +3 -2
- package/src/molecules/forms/select/components/ReactSelect.stories.tsx +10 -8
- package/src/molecules/forms/select/components/ReactSelect.tsx +1 -1
- package/src/molecules/forms/select/hooks/useOptions.ts +6 -2
- package/src/molecules/loader/Loader.spec.tsx +2 -2
- package/src/molecules/loader/Loader.stories.tsx +7 -4
- package/src/molecules/loader/Loader.tsx +16 -6
- package/src/molecules/modal/Modal.stories.tsx +1 -1
- package/src/molecules/pagination/Pagination.spec.tsx +11 -11
- package/src/molecules/pagination/Pagination.stories.tsx +32 -10
- package/src/molecules/pagination/Pagination.tsx +29 -26
- package/src/molecules/table/Table.stories.tsx +284 -101
- package/src/molecules/table/Table.tsx +91 -86
- package/src/molecules/table/all.ts +16 -0
- package/src/molecules/table/components/DefaultArrowSort.tsx +20 -4
- package/src/molecules/table/components/DefaultCell.tsx +10 -1
- package/src/molecules/table/components/DefaultCellFooter.tsx +16 -0
- package/src/molecules/table/components/DefaultCellHeader.tsx +33 -13
- package/src/molecules/table/components/DefaultCellOperations.tsx +31 -20
- package/src/molecules/table/components/DefaultFilter.tsx +42 -0
- package/src/molecules/table/components/DefaultOperationButton.tsx +19 -34
- package/src/molecules/table/filters/Filters.d.ts +31 -0
- package/src/molecules/table/filters/RangeFilter.tsx +43 -0
- package/src/molecules/table/filters/SelectFilter.tsx +47 -0
- package/src/molecules/table/filters/TextFieldFilter.tsx +36 -0
- package/src/molecules/table/hooks/useTable.tsx +76 -0
- package/src/molecules/table/hooks/useUniqValues.tsx +10 -0
- package/src/molecules/table/interfaces/extends.ts +18 -0
- package/src/molecules/table/utils/mapFormToColumns.tsx +69 -26
- package/src/molecules/tabs/Tab.tsx +106 -0
- package/src/molecules/tabs/TabList.tsx +37 -0
- package/src/molecules/tabs/TabPanel.tsx +37 -0
- package/src/molecules/tabs/Tabs.spec.tsx +126 -73
- package/src/molecules/tabs/Tabs.stories.tsx +298 -65
- package/src/molecules/tabs/Tabs.tsx +10 -81
- package/src/molecules/tabs/TabsBody.tsx +11 -0
- package/src/molecules/tabs/TabsLegacy.stories.tsx +103 -0
- package/src/molecules/tabs/TabsLegacy.tsx +86 -0
- package/src/molecules/tabs/all.ts +5 -0
- package/src/molecules/tabs/context/TabControl.tsx +166 -0
- package/src/molecules/tabs/hooks/tabControl.spec.tsx +388 -0
- package/src/molecules/tabs/hooks/tabControl.ts +52 -0
- package/src/organisms/__fixtures__/form-firstname.fixture.json +1 -0
- package/src/organisms/__fixtures__/form.fixture.json +1 -0
- package/src/organisms/form/Form.stories.tsx +104 -124
- package/src/organisms/form/access/FormAccess.schema.ts +1 -0
- package/src/organisms/form/access/FormAccess.stories.tsx +6 -4
- package/src/organisms/form/actions/FormAction.stories.tsx +426 -0
- package/src/organisms/form/{action → actions}/FormAction.tsx +2 -2
- package/src/organisms/form/builder/FormBuilder.stories.tsx +7 -4
- package/src/organisms/form/builder/FormEdit.reducer.spec.ts +136 -0
- package/src/organisms/form/builder/FormEdit.stories.tsx +16 -13
- package/src/organisms/form/builder/FormEdit.tsx +15 -7
- package/src/organisms/form/builder/FormEditCtas.tsx +10 -10
- package/src/organisms/form/builder/FormParameters.tsx +8 -4
- package/src/organisms/form/builder/all.ts +4 -0
- package/src/organisms/form/builder/useFormBuilder.ts +12 -7
- package/src/organisms/form/builder/useFormEdit.ts +3 -3
- package/src/organisms/form/exports/FormExport.stories.tsx +68 -0
- package/src/organisms/form/exports/FormExport.tsx +61 -0
- package/src/organisms/form/preview/FormPreview.stories.tsx +58 -0
- package/src/organisms/form/preview/FormPreview.tsx +23 -0
- package/src/organisms/form/settings/FormSettings.component.spec.tsx +3 -1
- package/src/organisms/form/settings/FormSettings.stories.tsx +2 -2
- package/src/organisms/form/settings/FormSettings.tsx +6 -6
- package/src/organisms/form/useForm.ts +2 -3
- package/src/organisms/modal/RemoveModal.stories.tsx +1 -1
- package/src/organisms/table/actions/ActionsTable.spec.tsx +7 -5
- package/src/organisms/table/actions/ActionsTable.stories.tsx +48 -45
- package/src/organisms/table/actions/ActionsTable.tsx +14 -18
- package/src/organisms/table/forms/FormsTable.stories.tsx +2 -0
- package/src/organisms/table/forms/FormsTable.tsx +53 -23
- package/src/organisms/table/forms/components/FormsCell.tsx +53 -0
- package/src/organisms/table/submissions/SubmissionsTable.stories.tsx +101 -57
- package/src/organisms/table/submissions/SubmissionsTable.tsx +12 -5
- package/src/organisms/views/FormViews.stories.tsx +221 -0
- package/src/organisms/views/FormViews.tsx +148 -0
- package/src/registries/components.ts +7 -1
- package/src/utils/iconClass.ts +1 -3
- package/vite.config.mts +2 -2
- package/dist/molecules/forms/select/Select.interfaces.js +0 -2
- package/dist/molecules/forms/select/Select.interfaces.js.map +0 -1
- package/dist/molecules/table/components/DefaultCells.d.ts +0 -4
- package/dist/molecules/table/components/DefaultCells.js +0 -23
- package/dist/molecules/table/components/DefaultCells.js.map +0 -1
- package/dist/molecules/table/components/DefaultRow.d.ts +0 -12
- package/dist/molecules/table/components/DefaultRow.js +0 -26
- package/dist/molecules/table/components/DefaultRow.js.map +0 -1
- package/dist/molecules/table/components/DragNDropContainer.d.ts +0 -4
- package/dist/molecules/table/components/DragNDropContainer.js +0 -10
- package/dist/molecules/table/components/DragNDropContainer.js.map +0 -1
- package/dist/molecules/table/filters/DefaultColumnFilter.d.ts +0 -10
- package/dist/molecules/table/filters/DefaultColumnFilter.js +0 -29
- package/dist/molecules/table/filters/DefaultColumnFilter.js.map +0 -1
- package/dist/molecules/table/filters/SelectColumnFilter.d.ts +0 -10
- package/dist/molecules/table/filters/SelectColumnFilter.js +0 -34
- package/dist/molecules/table/filters/SelectColumnFilter.js.map +0 -1
- package/dist/molecules/table/filters/SliderColumnFilter.d.ts +0 -9
- package/dist/molecules/table/filters/SliderColumnFilter.js +0 -27
- package/dist/molecules/table/filters/SliderColumnFilter.js.map +0 -1
- package/dist/molecules/table/hooks/useCustomTable.d.ts +0 -128
- package/dist/molecules/table/hooks/useCustomTable.js +0 -130
- package/dist/molecules/table/hooks/useCustomTable.js.map +0 -1
- package/dist/molecules/table/hooks/useDragnDropRow.d.ts +0 -272
- package/dist/molecules/table/hooks/useDragnDropRow.js +0 -40
- package/dist/molecules/table/hooks/useDragnDropRow.js.map +0 -1
- package/dist/molecules/table/hooks/useOperations.d.ts +0 -11
- package/dist/molecules/table/hooks/useOperations.js +0 -25
- package/dist/molecules/table/hooks/useOperations.js.map +0 -1
- package/dist/molecules/table/index.d.ts +0 -15
- package/dist/molecules/table/index.js +0 -35
- package/dist/molecules/table/index.js.map +0 -1
- package/dist/molecules/table/utils/getPageNumbers.js.map +0 -1
- package/dist/molecules/table/utils/swapElements.d.ts +0 -1
- package/dist/molecules/table/utils/swapElements.js +0 -5
- package/dist/molecules/table/utils/swapElements.js.map +0 -1
- package/dist/organisms/form/action/FormAction.js +0 -32
- package/dist/organisms/form/action/FormAction.js.map +0 -1
- package/dist/organisms/table/forms/components/FormCell.d.ts +0 -6
- package/dist/organisms/table/forms/components/FormCell.js +0 -50
- package/dist/organisms/table/forms/components/FormCell.js.map +0 -1
- package/dist/typings.d.js +0 -2
- package/dist/typings.d.js.map +0 -1
- package/src/molecules/forms/input-tags/InputTags.stories.tsx +0 -81
- package/src/molecules/table/components/DefaultCells.tsx +0 -30
- package/src/molecules/table/components/DefaultRow.tsx +0 -52
- package/src/molecules/table/components/DragNDropContainer.tsx +0 -7
- package/src/molecules/table/filters/DefaultColumnFilter.spec.tsx +0 -33
- package/src/molecules/table/filters/DefaultColumnFilter.tsx +0 -38
- package/src/molecules/table/filters/SelectColumnFilter.spec.tsx +0 -68
- package/src/molecules/table/filters/SelectColumnFilter.tsx +0 -51
- package/src/molecules/table/filters/SliderColumnFilter.tsx +0 -28
- package/src/molecules/table/hooks/useCustomTable.tsx +0 -268
- package/src/molecules/table/hooks/useDragnDropRow.ts +0 -80
- package/src/molecules/table/hooks/useOperations.tsx +0 -39
- package/src/molecules/table/index.ts +0 -15
- package/src/molecules/table/utils/swapElements.spec.ts +0 -7
- package/src/molecules/table/utils/swapElements.ts +0 -7
- package/src/organisms/form/action/FormAction.stories.tsx +0 -364
- package/src/organisms/table/forms/components/FormCell.tsx +0 -47
- package/src/typings.d.ts +0 -3
- package/tsconfig.app.json +0 -11
- package/tsconfig.json +0 -21
- package/tsconfig.node.json +0 -13
- package/tsconfig.spec.json +0 -14
- /package/dist/molecules/{table → pagination}/utils/getPageNumbers.d.ts +0 -0
- /package/dist/molecules/{table → pagination}/utils/getPageNumbers.js +0 -0
- /package/dist/organisms/form/{action → actions}/FormAction.d.ts +0 -0
- /package/src/molecules/{table → pagination}/utils/getPageNumbers.ts +0 -0
|
@@ -0,0 +1,3616 @@
|
|
|
1
|
+
import * as F from "react";
|
|
2
|
+
import ue, { forwardRef as Un, useContext as bn, useLayoutEffect as Qn, useRef as we, useState as Ie, useMemo as _n, useCallback as ut, createContext as $n, isValidElement as Le, cloneElement as De, Children as Kn, useEffect as It } from "react";
|
|
3
|
+
import Me, { createPortal as qn } from "react-dom";
|
|
4
|
+
import { g as er } from "./_commonjsHelpers.js";
|
|
5
|
+
function Ae(t) {
|
|
6
|
+
"@babel/helpers - typeof";
|
|
7
|
+
return Ae = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
|
|
8
|
+
return typeof e;
|
|
9
|
+
} : function(e) {
|
|
10
|
+
return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
|
|
11
|
+
}, Ae(t);
|
|
12
|
+
}
|
|
13
|
+
function tr(t, e) {
|
|
14
|
+
if (Ae(t) != "object" || !t) return t;
|
|
15
|
+
var n = t[Symbol.toPrimitive];
|
|
16
|
+
if (n !== void 0) {
|
|
17
|
+
var r = n.call(t, e);
|
|
18
|
+
if (Ae(r) != "object") return r;
|
|
19
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
20
|
+
}
|
|
21
|
+
return (e === "string" ? String : Number)(t);
|
|
22
|
+
}
|
|
23
|
+
function nr(t) {
|
|
24
|
+
var e = tr(t, "string");
|
|
25
|
+
return Ae(e) == "symbol" ? e : e + "";
|
|
26
|
+
}
|
|
27
|
+
function Te(t, e, n) {
|
|
28
|
+
return (e = nr(e)) in t ? Object.defineProperty(t, e, {
|
|
29
|
+
value: n,
|
|
30
|
+
enumerable: !0,
|
|
31
|
+
configurable: !0,
|
|
32
|
+
writable: !0
|
|
33
|
+
}) : t[e] = n, t;
|
|
34
|
+
}
|
|
35
|
+
function zt(t, e) {
|
|
36
|
+
var n = Object.keys(t);
|
|
37
|
+
if (Object.getOwnPropertySymbols) {
|
|
38
|
+
var r = Object.getOwnPropertySymbols(t);
|
|
39
|
+
e && (r = r.filter(function(i) {
|
|
40
|
+
return Object.getOwnPropertyDescriptor(t, i).enumerable;
|
|
41
|
+
})), n.push.apply(n, r);
|
|
42
|
+
}
|
|
43
|
+
return n;
|
|
44
|
+
}
|
|
45
|
+
function P(t) {
|
|
46
|
+
for (var e = 1; e < arguments.length; e++) {
|
|
47
|
+
var n = arguments[e] != null ? arguments[e] : {};
|
|
48
|
+
e % 2 ? zt(Object(n), !0).forEach(function(r) {
|
|
49
|
+
Te(t, r, n[r]);
|
|
50
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n)) : zt(Object(n)).forEach(function(r) {
|
|
51
|
+
Object.defineProperty(t, r, Object.getOwnPropertyDescriptor(n, r));
|
|
52
|
+
});
|
|
53
|
+
}
|
|
54
|
+
return t;
|
|
55
|
+
}
|
|
56
|
+
function Tt(t, e) {
|
|
57
|
+
if (t == null) return {};
|
|
58
|
+
var n = {};
|
|
59
|
+
for (var r in t) if ({}.hasOwnProperty.call(t, r)) {
|
|
60
|
+
if (e.includes(r)) continue;
|
|
61
|
+
n[r] = t[r];
|
|
62
|
+
}
|
|
63
|
+
return n;
|
|
64
|
+
}
|
|
65
|
+
function ee(t, e) {
|
|
66
|
+
if (t == null) return {};
|
|
67
|
+
var n, r, i = Tt(t, e);
|
|
68
|
+
if (Object.getOwnPropertySymbols) {
|
|
69
|
+
var a = Object.getOwnPropertySymbols(t);
|
|
70
|
+
for (r = 0; r < a.length; r++) n = a[r], e.includes(n) || {}.propertyIsEnumerable.call(t, n) && (i[n] = t[n]);
|
|
71
|
+
}
|
|
72
|
+
return i;
|
|
73
|
+
}
|
|
74
|
+
var jt = Number.isNaN || function(e) {
|
|
75
|
+
return typeof e == "number" && e !== e;
|
|
76
|
+
};
|
|
77
|
+
function rr(t, e) {
|
|
78
|
+
return !!(t === e || jt(t) && jt(e));
|
|
79
|
+
}
|
|
80
|
+
function ir(t, e) {
|
|
81
|
+
if (t.length !== e.length)
|
|
82
|
+
return !1;
|
|
83
|
+
for (var n = 0; n < t.length; n++)
|
|
84
|
+
if (!rr(t[n], e[n]))
|
|
85
|
+
return !1;
|
|
86
|
+
return !0;
|
|
87
|
+
}
|
|
88
|
+
function ar(t, e) {
|
|
89
|
+
e === void 0 && (e = ir);
|
|
90
|
+
var n = null;
|
|
91
|
+
function r() {
|
|
92
|
+
for (var i = [], a = 0; a < arguments.length; a++)
|
|
93
|
+
i[a] = arguments[a];
|
|
94
|
+
if (n && n.lastThis === this && e(i, n.lastArgs))
|
|
95
|
+
return n.lastResult;
|
|
96
|
+
var o = t.apply(this, i);
|
|
97
|
+
return n = {
|
|
98
|
+
lastResult: o,
|
|
99
|
+
lastArgs: i,
|
|
100
|
+
lastThis: this
|
|
101
|
+
}, o;
|
|
102
|
+
}
|
|
103
|
+
return r.clear = function() {
|
|
104
|
+
n = null;
|
|
105
|
+
}, r;
|
|
106
|
+
}
|
|
107
|
+
function W() {
|
|
108
|
+
return W = Object.assign ? Object.assign.bind() : function(t) {
|
|
109
|
+
for (var e = 1; e < arguments.length; e++) {
|
|
110
|
+
var n = arguments[e];
|
|
111
|
+
for (var r in n) ({}).hasOwnProperty.call(n, r) && (t[r] = n[r]);
|
|
112
|
+
}
|
|
113
|
+
return t;
|
|
114
|
+
}, W.apply(null, arguments);
|
|
115
|
+
}
|
|
116
|
+
function or(t) {
|
|
117
|
+
if (t.sheet)
|
|
118
|
+
return t.sheet;
|
|
119
|
+
for (var e = 0; e < document.styleSheets.length; e++)
|
|
120
|
+
if (document.styleSheets[e].ownerNode === t)
|
|
121
|
+
return document.styleSheets[e];
|
|
122
|
+
}
|
|
123
|
+
function cr(t) {
|
|
124
|
+
var e = document.createElement("style");
|
|
125
|
+
return e.setAttribute("data-emotion", t.key), t.nonce !== void 0 && e.setAttribute("nonce", t.nonce), e.appendChild(document.createTextNode("")), e.setAttribute("data-s", ""), e;
|
|
126
|
+
}
|
|
127
|
+
var ur = /* @__PURE__ */ (function() {
|
|
128
|
+
function t(n) {
|
|
129
|
+
var r = this;
|
|
130
|
+
this._insertTag = function(i) {
|
|
131
|
+
var a;
|
|
132
|
+
r.tags.length === 0 ? r.insertionPoint ? a = r.insertionPoint.nextSibling : r.prepend ? a = r.container.firstChild : a = r.before : a = r.tags[r.tags.length - 1].nextSibling, r.container.insertBefore(i, a), r.tags.push(i);
|
|
133
|
+
}, this.isSpeedy = n.speedy === void 0 ? !0 : n.speedy, this.tags = [], this.ctr = 0, this.nonce = n.nonce, this.key = n.key, this.container = n.container, this.prepend = n.prepend, this.insertionPoint = n.insertionPoint, this.before = null;
|
|
134
|
+
}
|
|
135
|
+
var e = t.prototype;
|
|
136
|
+
return e.hydrate = function(r) {
|
|
137
|
+
r.forEach(this._insertTag);
|
|
138
|
+
}, e.insert = function(r) {
|
|
139
|
+
this.ctr % (this.isSpeedy ? 65e3 : 1) === 0 && this._insertTag(cr(this));
|
|
140
|
+
var i = this.tags[this.tags.length - 1];
|
|
141
|
+
if (this.isSpeedy) {
|
|
142
|
+
var a = or(i);
|
|
143
|
+
try {
|
|
144
|
+
a.insertRule(r, a.cssRules.length);
|
|
145
|
+
} catch {
|
|
146
|
+
}
|
|
147
|
+
} else
|
|
148
|
+
i.appendChild(document.createTextNode(r));
|
|
149
|
+
this.ctr++;
|
|
150
|
+
}, e.flush = function() {
|
|
151
|
+
this.tags.forEach(function(r) {
|
|
152
|
+
var i;
|
|
153
|
+
return (i = r.parentNode) == null ? void 0 : i.removeChild(r);
|
|
154
|
+
}), this.tags = [], this.ctr = 0;
|
|
155
|
+
}, t;
|
|
156
|
+
})(), Q = "-ms-", _e = "-moz-", Y = "-webkit-", vn = "comm", Bt = "rule", wt = "decl", sr = "@import", pn = "@keyframes", lr = "@layer", dr = Math.abs, nt = String.fromCharCode, gr = Object.assign;
|
|
157
|
+
function fr(t, e) {
|
|
158
|
+
return k(t, 0) ^ 45 ? (((e << 2 ^ k(t, 0)) << 2 ^ k(t, 1)) << 2 ^ k(t, 2)) << 2 ^ k(t, 3) : 0;
|
|
159
|
+
}
|
|
160
|
+
function mn(t) {
|
|
161
|
+
return t.trim();
|
|
162
|
+
}
|
|
163
|
+
function br(t, e) {
|
|
164
|
+
return (t = e.exec(t)) ? t[0] : t;
|
|
165
|
+
}
|
|
166
|
+
function O(t, e, n) {
|
|
167
|
+
return t.replace(e, n);
|
|
168
|
+
}
|
|
169
|
+
function ht(t, e) {
|
|
170
|
+
return t.indexOf(e);
|
|
171
|
+
}
|
|
172
|
+
function k(t, e) {
|
|
173
|
+
return t.charCodeAt(e) | 0;
|
|
174
|
+
}
|
|
175
|
+
function Ee(t, e, n) {
|
|
176
|
+
return t.slice(e, n);
|
|
177
|
+
}
|
|
178
|
+
function re(t) {
|
|
179
|
+
return t.length;
|
|
180
|
+
}
|
|
181
|
+
function Et(t) {
|
|
182
|
+
return t.length;
|
|
183
|
+
}
|
|
184
|
+
function Ye(t, e) {
|
|
185
|
+
return e.push(t), t;
|
|
186
|
+
}
|
|
187
|
+
function vr(t, e) {
|
|
188
|
+
return t.map(e).join("");
|
|
189
|
+
}
|
|
190
|
+
var rt = 1, Ge = 1, In = 0, $ = 0, D = 0, Re = "";
|
|
191
|
+
function it(t, e, n, r, i, a, o) {
|
|
192
|
+
return { value: t, root: e, parent: n, type: r, props: i, children: a, line: rt, column: Ge, length: o, return: "" };
|
|
193
|
+
}
|
|
194
|
+
function Se(t, e) {
|
|
195
|
+
return gr(it("", null, null, "", null, null, 0), t, { length: -t.length }, e);
|
|
196
|
+
}
|
|
197
|
+
function pr() {
|
|
198
|
+
return D;
|
|
199
|
+
}
|
|
200
|
+
function mr() {
|
|
201
|
+
return D = $ > 0 ? k(Re, --$) : 0, Ge--, D === 10 && (Ge = 1, rt--), D;
|
|
202
|
+
}
|
|
203
|
+
function q() {
|
|
204
|
+
return D = $ < In ? k(Re, $++) : 0, Ge++, D === 10 && (Ge = 1, rt++), D;
|
|
205
|
+
}
|
|
206
|
+
function ae() {
|
|
207
|
+
return k(Re, $);
|
|
208
|
+
}
|
|
209
|
+
function ke() {
|
|
210
|
+
return $;
|
|
211
|
+
}
|
|
212
|
+
function Ve(t, e) {
|
|
213
|
+
return Ee(Re, t, e);
|
|
214
|
+
}
|
|
215
|
+
function Xe(t) {
|
|
216
|
+
switch (t) {
|
|
217
|
+
// \0 \t \n \r \s whitespace token
|
|
218
|
+
case 0:
|
|
219
|
+
case 9:
|
|
220
|
+
case 10:
|
|
221
|
+
case 13:
|
|
222
|
+
case 32:
|
|
223
|
+
return 5;
|
|
224
|
+
// ! + , / > @ ~ isolate token
|
|
225
|
+
case 33:
|
|
226
|
+
case 43:
|
|
227
|
+
case 44:
|
|
228
|
+
case 47:
|
|
229
|
+
case 62:
|
|
230
|
+
case 64:
|
|
231
|
+
case 126:
|
|
232
|
+
// ; { } breakpoint token
|
|
233
|
+
case 59:
|
|
234
|
+
case 123:
|
|
235
|
+
case 125:
|
|
236
|
+
return 4;
|
|
237
|
+
// : accompanied token
|
|
238
|
+
case 58:
|
|
239
|
+
return 3;
|
|
240
|
+
// " ' ( [ opening delimit token
|
|
241
|
+
case 34:
|
|
242
|
+
case 39:
|
|
243
|
+
case 40:
|
|
244
|
+
case 91:
|
|
245
|
+
return 2;
|
|
246
|
+
// ) ] closing delimit token
|
|
247
|
+
case 41:
|
|
248
|
+
case 93:
|
|
249
|
+
return 1;
|
|
250
|
+
}
|
|
251
|
+
return 0;
|
|
252
|
+
}
|
|
253
|
+
function hn(t) {
|
|
254
|
+
return rt = Ge = 1, In = re(Re = t), $ = 0, [];
|
|
255
|
+
}
|
|
256
|
+
function Cn(t) {
|
|
257
|
+
return Re = "", t;
|
|
258
|
+
}
|
|
259
|
+
function Ue(t) {
|
|
260
|
+
return mn(Ve($ - 1, Ct(t === 91 ? t + 2 : t === 40 ? t + 1 : t)));
|
|
261
|
+
}
|
|
262
|
+
function Ir(t) {
|
|
263
|
+
for (; (D = ae()) && D < 33; )
|
|
264
|
+
q();
|
|
265
|
+
return Xe(t) > 2 || Xe(D) > 3 ? "" : " ";
|
|
266
|
+
}
|
|
267
|
+
function hr(t, e) {
|
|
268
|
+
for (; --e && q() && !(D < 48 || D > 102 || D > 57 && D < 65 || D > 70 && D < 97); )
|
|
269
|
+
;
|
|
270
|
+
return Ve(t, ke() + (e < 6 && ae() == 32 && q() == 32));
|
|
271
|
+
}
|
|
272
|
+
function Ct(t) {
|
|
273
|
+
for (; q(); )
|
|
274
|
+
switch (D) {
|
|
275
|
+
// ] ) " '
|
|
276
|
+
case t:
|
|
277
|
+
return $;
|
|
278
|
+
// " '
|
|
279
|
+
case 34:
|
|
280
|
+
case 39:
|
|
281
|
+
t !== 34 && t !== 39 && Ct(D);
|
|
282
|
+
break;
|
|
283
|
+
// (
|
|
284
|
+
case 40:
|
|
285
|
+
t === 41 && Ct(t);
|
|
286
|
+
break;
|
|
287
|
+
// \
|
|
288
|
+
case 92:
|
|
289
|
+
q();
|
|
290
|
+
break;
|
|
291
|
+
}
|
|
292
|
+
return $;
|
|
293
|
+
}
|
|
294
|
+
function Cr(t, e) {
|
|
295
|
+
for (; q() && t + D !== 57; )
|
|
296
|
+
if (t + D === 84 && ae() === 47)
|
|
297
|
+
break;
|
|
298
|
+
return "/*" + Ve(e, $ - 1) + "*" + nt(t === 47 ? t : q());
|
|
299
|
+
}
|
|
300
|
+
function yr(t) {
|
|
301
|
+
for (; !Xe(ae()); )
|
|
302
|
+
q();
|
|
303
|
+
return Ve(t, $);
|
|
304
|
+
}
|
|
305
|
+
function xr(t) {
|
|
306
|
+
return Cn(Qe("", null, null, null, [""], t = hn(t), 0, [0], t));
|
|
307
|
+
}
|
|
308
|
+
function Qe(t, e, n, r, i, a, o, c, u) {
|
|
309
|
+
for (var s = 0, l = 0, b = o, m = 0, x = 0, C = 0, v = 1, h = 1, f = 1, G = 0, A = "", R = i, d = a, T = r, y = A; h; )
|
|
310
|
+
switch (C = G, G = q()) {
|
|
311
|
+
// (
|
|
312
|
+
case 40:
|
|
313
|
+
if (C != 108 && k(y, b - 1) == 58) {
|
|
314
|
+
ht(y += O(Ue(G), "&", "&\f"), "&\f") != -1 && (f = -1);
|
|
315
|
+
break;
|
|
316
|
+
}
|
|
317
|
+
// " ' [
|
|
318
|
+
case 34:
|
|
319
|
+
case 39:
|
|
320
|
+
case 91:
|
|
321
|
+
y += Ue(G);
|
|
322
|
+
break;
|
|
323
|
+
// \t \n \r \s
|
|
324
|
+
case 9:
|
|
325
|
+
case 10:
|
|
326
|
+
case 13:
|
|
327
|
+
case 32:
|
|
328
|
+
y += Ir(C);
|
|
329
|
+
break;
|
|
330
|
+
// \
|
|
331
|
+
case 92:
|
|
332
|
+
y += hr(ke() - 1, 7);
|
|
333
|
+
continue;
|
|
334
|
+
// /
|
|
335
|
+
case 47:
|
|
336
|
+
switch (ae()) {
|
|
337
|
+
case 42:
|
|
338
|
+
case 47:
|
|
339
|
+
Ye(Ar(Cr(q(), ke()), e, n), u);
|
|
340
|
+
break;
|
|
341
|
+
default:
|
|
342
|
+
y += "/";
|
|
343
|
+
}
|
|
344
|
+
break;
|
|
345
|
+
// {
|
|
346
|
+
case 123 * v:
|
|
347
|
+
c[s++] = re(y) * f;
|
|
348
|
+
// } ; \0
|
|
349
|
+
case 125 * v:
|
|
350
|
+
case 59:
|
|
351
|
+
case 0:
|
|
352
|
+
switch (G) {
|
|
353
|
+
// \0 }
|
|
354
|
+
case 0:
|
|
355
|
+
case 125:
|
|
356
|
+
h = 0;
|
|
357
|
+
// ;
|
|
358
|
+
case 59 + l:
|
|
359
|
+
f == -1 && (y = O(y, /\f/g, "")), x > 0 && re(y) - b && Ye(x > 32 ? Lt(y + ";", r, n, b - 1) : Lt(O(y, " ", "") + ";", r, n, b - 2), u);
|
|
360
|
+
break;
|
|
361
|
+
// @ ;
|
|
362
|
+
case 59:
|
|
363
|
+
y += ";";
|
|
364
|
+
// { rule/at-rule
|
|
365
|
+
default:
|
|
366
|
+
if (Ye(T = Ft(y, e, n, s, l, i, c, A, R = [], d = [], b), a), G === 123)
|
|
367
|
+
if (l === 0)
|
|
368
|
+
Qe(y, e, T, T, R, a, b, c, d);
|
|
369
|
+
else
|
|
370
|
+
switch (m === 99 && k(y, 3) === 110 ? 100 : m) {
|
|
371
|
+
// d l m s
|
|
372
|
+
case 100:
|
|
373
|
+
case 108:
|
|
374
|
+
case 109:
|
|
375
|
+
case 115:
|
|
376
|
+
Qe(t, T, T, r && Ye(Ft(t, T, T, 0, 0, i, c, A, i, R = [], b), d), i, d, b, c, r ? R : d);
|
|
377
|
+
break;
|
|
378
|
+
default:
|
|
379
|
+
Qe(y, T, T, T, [""], d, 0, c, d);
|
|
380
|
+
}
|
|
381
|
+
}
|
|
382
|
+
s = l = x = 0, v = f = 1, A = y = "", b = o;
|
|
383
|
+
break;
|
|
384
|
+
// :
|
|
385
|
+
case 58:
|
|
386
|
+
b = 1 + re(y), x = C;
|
|
387
|
+
default:
|
|
388
|
+
if (v < 1) {
|
|
389
|
+
if (G == 123)
|
|
390
|
+
--v;
|
|
391
|
+
else if (G == 125 && v++ == 0 && mr() == 125)
|
|
392
|
+
continue;
|
|
393
|
+
}
|
|
394
|
+
switch (y += nt(G), G * v) {
|
|
395
|
+
// &
|
|
396
|
+
case 38:
|
|
397
|
+
f = l > 0 ? 1 : (y += "\f", -1);
|
|
398
|
+
break;
|
|
399
|
+
// ,
|
|
400
|
+
case 44:
|
|
401
|
+
c[s++] = (re(y) - 1) * f, f = 1;
|
|
402
|
+
break;
|
|
403
|
+
// @
|
|
404
|
+
case 64:
|
|
405
|
+
ae() === 45 && (y += Ue(q())), m = ae(), l = b = re(A = y += yr(ke())), G++;
|
|
406
|
+
break;
|
|
407
|
+
// -
|
|
408
|
+
case 45:
|
|
409
|
+
C === 45 && re(y) == 2 && (v = 0);
|
|
410
|
+
}
|
|
411
|
+
}
|
|
412
|
+
return a;
|
|
413
|
+
}
|
|
414
|
+
function Ft(t, e, n, r, i, a, o, c, u, s, l) {
|
|
415
|
+
for (var b = i - 1, m = i === 0 ? a : [""], x = Et(m), C = 0, v = 0, h = 0; C < r; ++C)
|
|
416
|
+
for (var f = 0, G = Ee(t, b + 1, b = dr(v = o[C])), A = t; f < x; ++f)
|
|
417
|
+
(A = mn(v > 0 ? m[f] + " " + G : O(G, /&\f/g, m[f]))) && (u[h++] = A);
|
|
418
|
+
return it(t, e, n, i === 0 ? Bt : c, u, s, l);
|
|
419
|
+
}
|
|
420
|
+
function Ar(t, e, n) {
|
|
421
|
+
return it(t, e, n, vn, nt(pr()), Ee(t, 2, -2), 0);
|
|
422
|
+
}
|
|
423
|
+
function Lt(t, e, n, r) {
|
|
424
|
+
return it(t, e, n, wt, Ee(t, 0, r), Ee(t, r + 1, -1), r);
|
|
425
|
+
}
|
|
426
|
+
function xe(t, e) {
|
|
427
|
+
for (var n = "", r = Et(t), i = 0; i < r; i++)
|
|
428
|
+
n += e(t[i], i, t, e) || "";
|
|
429
|
+
return n;
|
|
430
|
+
}
|
|
431
|
+
function Gr(t, e, n, r) {
|
|
432
|
+
switch (t.type) {
|
|
433
|
+
case lr:
|
|
434
|
+
if (t.children.length) break;
|
|
435
|
+
case sr:
|
|
436
|
+
case wt:
|
|
437
|
+
return t.return = t.return || t.value;
|
|
438
|
+
case vn:
|
|
439
|
+
return "";
|
|
440
|
+
case pn:
|
|
441
|
+
return t.return = t.value + "{" + xe(t.children, r) + "}";
|
|
442
|
+
case Bt:
|
|
443
|
+
t.value = t.props.join(",");
|
|
444
|
+
}
|
|
445
|
+
return re(n = xe(t.children, r)) ? t.return = t.value + "{" + n + "}" : "";
|
|
446
|
+
}
|
|
447
|
+
function Rr(t) {
|
|
448
|
+
var e = Et(t);
|
|
449
|
+
return function(n, r, i, a) {
|
|
450
|
+
for (var o = "", c = 0; c < e; c++)
|
|
451
|
+
o += t[c](n, r, i, a) || "";
|
|
452
|
+
return o;
|
|
453
|
+
};
|
|
454
|
+
}
|
|
455
|
+
function Pr(t) {
|
|
456
|
+
return function(e) {
|
|
457
|
+
e.root || (e = e.return) && t(e);
|
|
458
|
+
};
|
|
459
|
+
}
|
|
460
|
+
function Sr(t) {
|
|
461
|
+
var e = /* @__PURE__ */ Object.create(null);
|
|
462
|
+
return function(n) {
|
|
463
|
+
return e[n] === void 0 && (e[n] = t(n)), e[n];
|
|
464
|
+
};
|
|
465
|
+
}
|
|
466
|
+
var Tr = function(e, n, r) {
|
|
467
|
+
for (var i = 0, a = 0; i = a, a = ae(), i === 38 && a === 12 && (n[r] = 1), !Xe(a); )
|
|
468
|
+
q();
|
|
469
|
+
return Ve(e, $);
|
|
470
|
+
}, Br = function(e, n) {
|
|
471
|
+
var r = -1, i = 44;
|
|
472
|
+
do
|
|
473
|
+
switch (Xe(i)) {
|
|
474
|
+
case 0:
|
|
475
|
+
i === 38 && ae() === 12 && (n[r] = 1), e[r] += Tr($ - 1, n, r);
|
|
476
|
+
break;
|
|
477
|
+
case 2:
|
|
478
|
+
e[r] += Ue(i);
|
|
479
|
+
break;
|
|
480
|
+
case 4:
|
|
481
|
+
if (i === 44) {
|
|
482
|
+
e[++r] = ae() === 58 ? "&\f" : "", n[r] = e[r].length;
|
|
483
|
+
break;
|
|
484
|
+
}
|
|
485
|
+
// fallthrough
|
|
486
|
+
default:
|
|
487
|
+
e[r] += nt(i);
|
|
488
|
+
}
|
|
489
|
+
while (i = q());
|
|
490
|
+
return e;
|
|
491
|
+
}, wr = function(e, n) {
|
|
492
|
+
return Cn(Br(hn(e), n));
|
|
493
|
+
}, Dt = /* @__PURE__ */ new WeakMap(), Er = function(e) {
|
|
494
|
+
if (!(e.type !== "rule" || !e.parent || // positive .length indicates that this rule contains pseudo
|
|
495
|
+
// negative .length indicates that this rule has been already prefixed
|
|
496
|
+
e.length < 1)) {
|
|
497
|
+
for (var n = e.value, r = e.parent, i = e.column === r.column && e.line === r.line; r.type !== "rule"; )
|
|
498
|
+
if (r = r.parent, !r) return;
|
|
499
|
+
if (!(e.props.length === 1 && n.charCodeAt(0) !== 58 && !Dt.get(r)) && !i) {
|
|
500
|
+
Dt.set(e, !0);
|
|
501
|
+
for (var a = [], o = wr(n, a), c = r.props, u = 0, s = 0; u < o.length; u++)
|
|
502
|
+
for (var l = 0; l < c.length; l++, s++)
|
|
503
|
+
e.props[s] = a[u] ? o[u].replace(/&\f/g, c[l]) : c[l] + " " + o[u];
|
|
504
|
+
}
|
|
505
|
+
}
|
|
506
|
+
}, Xr = function(e) {
|
|
507
|
+
if (e.type === "decl") {
|
|
508
|
+
var n = e.value;
|
|
509
|
+
// charcode for l
|
|
510
|
+
n.charCodeAt(0) === 108 && // charcode for b
|
|
511
|
+
n.charCodeAt(2) === 98 && (e.return = "", e.value = "");
|
|
512
|
+
}
|
|
513
|
+
};
|
|
514
|
+
function yn(t, e) {
|
|
515
|
+
switch (fr(t, e)) {
|
|
516
|
+
// color-adjust
|
|
517
|
+
case 5103:
|
|
518
|
+
return Y + "print-" + t + t;
|
|
519
|
+
// animation, animation-(delay|direction|duration|fill-mode|iteration-count|name|play-state|timing-function)
|
|
520
|
+
case 5737:
|
|
521
|
+
case 4201:
|
|
522
|
+
case 3177:
|
|
523
|
+
case 3433:
|
|
524
|
+
case 1641:
|
|
525
|
+
case 4457:
|
|
526
|
+
case 2921:
|
|
527
|
+
// text-decoration, filter, clip-path, backface-visibility, column, box-decoration-break
|
|
528
|
+
case 5572:
|
|
529
|
+
case 6356:
|
|
530
|
+
case 5844:
|
|
531
|
+
case 3191:
|
|
532
|
+
case 6645:
|
|
533
|
+
case 3005:
|
|
534
|
+
// mask, mask-image, mask-(mode|clip|size), mask-(repeat|origin), mask-position, mask-composite,
|
|
535
|
+
case 6391:
|
|
536
|
+
case 5879:
|
|
537
|
+
case 5623:
|
|
538
|
+
case 6135:
|
|
539
|
+
case 4599:
|
|
540
|
+
case 4855:
|
|
541
|
+
// background-clip, columns, column-(count|fill|gap|rule|rule-color|rule-style|rule-width|span|width)
|
|
542
|
+
case 4215:
|
|
543
|
+
case 6389:
|
|
544
|
+
case 5109:
|
|
545
|
+
case 5365:
|
|
546
|
+
case 5621:
|
|
547
|
+
case 3829:
|
|
548
|
+
return Y + t + t;
|
|
549
|
+
// appearance, user-select, transform, hyphens, text-size-adjust
|
|
550
|
+
case 5349:
|
|
551
|
+
case 4246:
|
|
552
|
+
case 4810:
|
|
553
|
+
case 6968:
|
|
554
|
+
case 2756:
|
|
555
|
+
return Y + t + _e + t + Q + t + t;
|
|
556
|
+
// flex, flex-direction
|
|
557
|
+
case 6828:
|
|
558
|
+
case 4268:
|
|
559
|
+
return Y + t + Q + t + t;
|
|
560
|
+
// order
|
|
561
|
+
case 6165:
|
|
562
|
+
return Y + t + Q + "flex-" + t + t;
|
|
563
|
+
// align-items
|
|
564
|
+
case 5187:
|
|
565
|
+
return Y + t + O(t, /(\w+).+(:[^]+)/, Y + "box-$1$2" + Q + "flex-$1$2") + t;
|
|
566
|
+
// align-self
|
|
567
|
+
case 5443:
|
|
568
|
+
return Y + t + Q + "flex-item-" + O(t, /flex-|-self/, "") + t;
|
|
569
|
+
// align-content
|
|
570
|
+
case 4675:
|
|
571
|
+
return Y + t + Q + "flex-line-pack" + O(t, /align-content|flex-|-self/, "") + t;
|
|
572
|
+
// flex-shrink
|
|
573
|
+
case 5548:
|
|
574
|
+
return Y + t + Q + O(t, "shrink", "negative") + t;
|
|
575
|
+
// flex-basis
|
|
576
|
+
case 5292:
|
|
577
|
+
return Y + t + Q + O(t, "basis", "preferred-size") + t;
|
|
578
|
+
// flex-grow
|
|
579
|
+
case 6060:
|
|
580
|
+
return Y + "box-" + O(t, "-grow", "") + Y + t + Q + O(t, "grow", "positive") + t;
|
|
581
|
+
// transition
|
|
582
|
+
case 4554:
|
|
583
|
+
return Y + O(t, /([^-])(transform)/g, "$1" + Y + "$2") + t;
|
|
584
|
+
// cursor
|
|
585
|
+
case 6187:
|
|
586
|
+
return O(O(O(t, /(zoom-|grab)/, Y + "$1"), /(image-set)/, Y + "$1"), t, "") + t;
|
|
587
|
+
// background, background-image
|
|
588
|
+
case 5495:
|
|
589
|
+
case 3959:
|
|
590
|
+
return O(t, /(image-set\([^]*)/, Y + "$1$`$1");
|
|
591
|
+
// justify-content
|
|
592
|
+
case 4968:
|
|
593
|
+
return O(O(t, /(.+:)(flex-)?(.*)/, Y + "box-pack:$3" + Q + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + Y + t + t;
|
|
594
|
+
// (margin|padding)-inline-(start|end)
|
|
595
|
+
case 4095:
|
|
596
|
+
case 3583:
|
|
597
|
+
case 4068:
|
|
598
|
+
case 2532:
|
|
599
|
+
return O(t, /(.+)-inline(.+)/, Y + "$1$2") + t;
|
|
600
|
+
// (min|max)?(width|height|inline-size|block-size)
|
|
601
|
+
case 8116:
|
|
602
|
+
case 7059:
|
|
603
|
+
case 5753:
|
|
604
|
+
case 5535:
|
|
605
|
+
case 5445:
|
|
606
|
+
case 5701:
|
|
607
|
+
case 4933:
|
|
608
|
+
case 4677:
|
|
609
|
+
case 5533:
|
|
610
|
+
case 5789:
|
|
611
|
+
case 5021:
|
|
612
|
+
case 4765:
|
|
613
|
+
if (re(t) - 1 - e > 6) switch (k(t, e + 1)) {
|
|
614
|
+
// (m)ax-content, (m)in-content
|
|
615
|
+
case 109:
|
|
616
|
+
if (k(t, e + 4) !== 45) break;
|
|
617
|
+
// (f)ill-available, (f)it-content
|
|
618
|
+
case 102:
|
|
619
|
+
return O(t, /(.+:)(.+)-([^]+)/, "$1" + Y + "$2-$3$1" + _e + (k(t, e + 3) == 108 ? "$3" : "$2-$3")) + t;
|
|
620
|
+
// (s)tretch
|
|
621
|
+
case 115:
|
|
622
|
+
return ~ht(t, "stretch") ? yn(O(t, "stretch", "fill-available"), e) + t : t;
|
|
623
|
+
}
|
|
624
|
+
break;
|
|
625
|
+
// position: sticky
|
|
626
|
+
case 4949:
|
|
627
|
+
if (k(t, e + 1) !== 115) break;
|
|
628
|
+
// display: (flex|inline-flex)
|
|
629
|
+
case 6444:
|
|
630
|
+
switch (k(t, re(t) - 3 - (~ht(t, "!important") && 10))) {
|
|
631
|
+
// stic(k)y
|
|
632
|
+
case 107:
|
|
633
|
+
return O(t, ":", ":" + Y) + t;
|
|
634
|
+
// (inline-)?fl(e)x
|
|
635
|
+
case 101:
|
|
636
|
+
return O(t, /(.+:)([^;!]+)(;|!.+)?/, "$1" + Y + (k(t, 14) === 45 ? "inline-" : "") + "box$3$1" + Y + "$2$3$1" + Q + "$2box$3") + t;
|
|
637
|
+
}
|
|
638
|
+
break;
|
|
639
|
+
// writing-mode
|
|
640
|
+
case 5936:
|
|
641
|
+
switch (k(t, e + 11)) {
|
|
642
|
+
// vertical-l(r)
|
|
643
|
+
case 114:
|
|
644
|
+
return Y + t + Q + O(t, /[svh]\w+-[tblr]{2}/, "tb") + t;
|
|
645
|
+
// vertical-r(l)
|
|
646
|
+
case 108:
|
|
647
|
+
return Y + t + Q + O(t, /[svh]\w+-[tblr]{2}/, "tb-rl") + t;
|
|
648
|
+
// horizontal(-)tb
|
|
649
|
+
case 45:
|
|
650
|
+
return Y + t + Q + O(t, /[svh]\w+-[tblr]{2}/, "lr") + t;
|
|
651
|
+
}
|
|
652
|
+
return Y + t + Q + t + t;
|
|
653
|
+
}
|
|
654
|
+
return t;
|
|
655
|
+
}
|
|
656
|
+
var Nr = function(e, n, r, i) {
|
|
657
|
+
if (e.length > -1 && !e.return) switch (e.type) {
|
|
658
|
+
case wt:
|
|
659
|
+
e.return = yn(e.value, e.length);
|
|
660
|
+
break;
|
|
661
|
+
case pn:
|
|
662
|
+
return xe([Se(e, {
|
|
663
|
+
value: O(e.value, "@", "@" + Y)
|
|
664
|
+
})], i);
|
|
665
|
+
case Bt:
|
|
666
|
+
if (e.length) return vr(e.props, function(a) {
|
|
667
|
+
switch (br(a, /(::plac\w+|:read-\w+)/)) {
|
|
668
|
+
// :read-(only|write)
|
|
669
|
+
case ":read-only":
|
|
670
|
+
case ":read-write":
|
|
671
|
+
return xe([Se(e, {
|
|
672
|
+
props: [O(a, /:(read-\w+)/, ":" + _e + "$1")]
|
|
673
|
+
})], i);
|
|
674
|
+
// :placeholder
|
|
675
|
+
case "::placeholder":
|
|
676
|
+
return xe([Se(e, {
|
|
677
|
+
props: [O(a, /:(plac\w+)/, ":" + Y + "input-$1")]
|
|
678
|
+
}), Se(e, {
|
|
679
|
+
props: [O(a, /:(plac\w+)/, ":" + _e + "$1")]
|
|
680
|
+
}), Se(e, {
|
|
681
|
+
props: [O(a, /:(plac\w+)/, Q + "input-$1")]
|
|
682
|
+
})], i);
|
|
683
|
+
}
|
|
684
|
+
return "";
|
|
685
|
+
});
|
|
686
|
+
}
|
|
687
|
+
}, Vr = [Nr], Wr = function(e) {
|
|
688
|
+
var n = e.key;
|
|
689
|
+
if (n === "css") {
|
|
690
|
+
var r = document.querySelectorAll("style[data-emotion]:not([data-s])");
|
|
691
|
+
Array.prototype.forEach.call(r, function(v) {
|
|
692
|
+
var h = v.getAttribute("data-emotion");
|
|
693
|
+
h.indexOf(" ") !== -1 && (document.head.appendChild(v), v.setAttribute("data-s", ""));
|
|
694
|
+
});
|
|
695
|
+
}
|
|
696
|
+
var i = e.stylisPlugins || Vr, a = {}, o, c = [];
|
|
697
|
+
o = e.container || document.head, Array.prototype.forEach.call(
|
|
698
|
+
// this means we will ignore elements which don't have a space in them which
|
|
699
|
+
// means that the style elements we're looking at are only Emotion 11 server-rendered style elements
|
|
700
|
+
document.querySelectorAll('style[data-emotion^="' + n + ' "]'),
|
|
701
|
+
function(v) {
|
|
702
|
+
for (var h = v.getAttribute("data-emotion").split(" "), f = 1; f < h.length; f++)
|
|
703
|
+
a[h[f]] = !0;
|
|
704
|
+
c.push(v);
|
|
705
|
+
}
|
|
706
|
+
);
|
|
707
|
+
var u, s = [Er, Xr];
|
|
708
|
+
{
|
|
709
|
+
var l, b = [Gr, Pr(function(v) {
|
|
710
|
+
l.insert(v);
|
|
711
|
+
})], m = Rr(s.concat(i, b)), x = function(h) {
|
|
712
|
+
return xe(xr(h), m);
|
|
713
|
+
};
|
|
714
|
+
u = function(h, f, G, A) {
|
|
715
|
+
l = G, x(h ? h + "{" + f.styles + "}" : f.styles), A && (C.inserted[f.name] = !0);
|
|
716
|
+
};
|
|
717
|
+
}
|
|
718
|
+
var C = {
|
|
719
|
+
key: n,
|
|
720
|
+
sheet: new ur({
|
|
721
|
+
key: n,
|
|
722
|
+
container: o,
|
|
723
|
+
nonce: e.nonce,
|
|
724
|
+
speedy: e.speedy,
|
|
725
|
+
prepend: e.prepend,
|
|
726
|
+
insertionPoint: e.insertionPoint
|
|
727
|
+
}),
|
|
728
|
+
nonce: e.nonce,
|
|
729
|
+
inserted: a,
|
|
730
|
+
registered: {},
|
|
731
|
+
insert: u
|
|
732
|
+
};
|
|
733
|
+
return C.sheet.hydrate(c), C;
|
|
734
|
+
}, Oe = { exports: {} }, J = {};
|
|
735
|
+
/** @license React v16.13.1
|
|
736
|
+
* react-is.production.min.js
|
|
737
|
+
*
|
|
738
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
739
|
+
*
|
|
740
|
+
* This source code is licensed under the MIT license found in the
|
|
741
|
+
* LICENSE file in the root directory of this source tree.
|
|
742
|
+
*/
|
|
743
|
+
var kt;
|
|
744
|
+
function Hr() {
|
|
745
|
+
if (kt) return J;
|
|
746
|
+
kt = 1;
|
|
747
|
+
var t = typeof Symbol == "function" && Symbol.for, e = t ? Symbol.for("react.element") : 60103, n = t ? Symbol.for("react.portal") : 60106, r = t ? Symbol.for("react.fragment") : 60107, i = t ? Symbol.for("react.strict_mode") : 60108, a = t ? Symbol.for("react.profiler") : 60114, o = t ? Symbol.for("react.provider") : 60109, c = t ? Symbol.for("react.context") : 60110, u = t ? Symbol.for("react.async_mode") : 60111, s = t ? Symbol.for("react.concurrent_mode") : 60111, l = t ? Symbol.for("react.forward_ref") : 60112, b = t ? Symbol.for("react.suspense") : 60113, m = t ? Symbol.for("react.suspense_list") : 60120, x = t ? Symbol.for("react.memo") : 60115, C = t ? Symbol.for("react.lazy") : 60116, v = t ? Symbol.for("react.block") : 60121, h = t ? Symbol.for("react.fundamental") : 60117, f = t ? Symbol.for("react.responder") : 60118, G = t ? Symbol.for("react.scope") : 60119;
|
|
748
|
+
function A(d) {
|
|
749
|
+
if (typeof d == "object" && d !== null) {
|
|
750
|
+
var T = d.$$typeof;
|
|
751
|
+
switch (T) {
|
|
752
|
+
case e:
|
|
753
|
+
switch (d = d.type, d) {
|
|
754
|
+
case u:
|
|
755
|
+
case s:
|
|
756
|
+
case r:
|
|
757
|
+
case a:
|
|
758
|
+
case i:
|
|
759
|
+
case b:
|
|
760
|
+
return d;
|
|
761
|
+
default:
|
|
762
|
+
switch (d = d && d.$$typeof, d) {
|
|
763
|
+
case c:
|
|
764
|
+
case l:
|
|
765
|
+
case C:
|
|
766
|
+
case x:
|
|
767
|
+
case o:
|
|
768
|
+
return d;
|
|
769
|
+
default:
|
|
770
|
+
return T;
|
|
771
|
+
}
|
|
772
|
+
}
|
|
773
|
+
case n:
|
|
774
|
+
return T;
|
|
775
|
+
}
|
|
776
|
+
}
|
|
777
|
+
}
|
|
778
|
+
function R(d) {
|
|
779
|
+
return A(d) === s;
|
|
780
|
+
}
|
|
781
|
+
return J.AsyncMode = u, J.ConcurrentMode = s, J.ContextConsumer = c, J.ContextProvider = o, J.Element = e, J.ForwardRef = l, J.Fragment = r, J.Lazy = C, J.Memo = x, J.Portal = n, J.Profiler = a, J.StrictMode = i, J.Suspense = b, J.isAsyncMode = function(d) {
|
|
782
|
+
return R(d) || A(d) === u;
|
|
783
|
+
}, J.isConcurrentMode = R, J.isContextConsumer = function(d) {
|
|
784
|
+
return A(d) === c;
|
|
785
|
+
}, J.isContextProvider = function(d) {
|
|
786
|
+
return A(d) === o;
|
|
787
|
+
}, J.isElement = function(d) {
|
|
788
|
+
return typeof d == "object" && d !== null && d.$$typeof === e;
|
|
789
|
+
}, J.isForwardRef = function(d) {
|
|
790
|
+
return A(d) === l;
|
|
791
|
+
}, J.isFragment = function(d) {
|
|
792
|
+
return A(d) === r;
|
|
793
|
+
}, J.isLazy = function(d) {
|
|
794
|
+
return A(d) === C;
|
|
795
|
+
}, J.isMemo = function(d) {
|
|
796
|
+
return A(d) === x;
|
|
797
|
+
}, J.isPortal = function(d) {
|
|
798
|
+
return A(d) === n;
|
|
799
|
+
}, J.isProfiler = function(d) {
|
|
800
|
+
return A(d) === a;
|
|
801
|
+
}, J.isStrictMode = function(d) {
|
|
802
|
+
return A(d) === i;
|
|
803
|
+
}, J.isSuspense = function(d) {
|
|
804
|
+
return A(d) === b;
|
|
805
|
+
}, J.isValidElementType = function(d) {
|
|
806
|
+
return typeof d == "string" || typeof d == "function" || d === r || d === s || d === a || d === i || d === b || d === m || typeof d == "object" && d !== null && (d.$$typeof === C || d.$$typeof === x || d.$$typeof === o || d.$$typeof === c || d.$$typeof === l || d.$$typeof === h || d.$$typeof === f || d.$$typeof === G || d.$$typeof === v);
|
|
807
|
+
}, J.typeOf = A, J;
|
|
808
|
+
}
|
|
809
|
+
var z = {};
|
|
810
|
+
/** @license React v16.13.1
|
|
811
|
+
* react-is.development.js
|
|
812
|
+
*
|
|
813
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
814
|
+
*
|
|
815
|
+
* This source code is licensed under the MIT license found in the
|
|
816
|
+
* LICENSE file in the root directory of this source tree.
|
|
817
|
+
*/
|
|
818
|
+
var Ut;
|
|
819
|
+
function Zr() {
|
|
820
|
+
return Ut || (Ut = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
821
|
+
var t = typeof Symbol == "function" && Symbol.for, e = t ? Symbol.for("react.element") : 60103, n = t ? Symbol.for("react.portal") : 60106, r = t ? Symbol.for("react.fragment") : 60107, i = t ? Symbol.for("react.strict_mode") : 60108, a = t ? Symbol.for("react.profiler") : 60114, o = t ? Symbol.for("react.provider") : 60109, c = t ? Symbol.for("react.context") : 60110, u = t ? Symbol.for("react.async_mode") : 60111, s = t ? Symbol.for("react.concurrent_mode") : 60111, l = t ? Symbol.for("react.forward_ref") : 60112, b = t ? Symbol.for("react.suspense") : 60113, m = t ? Symbol.for("react.suspense_list") : 60120, x = t ? Symbol.for("react.memo") : 60115, C = t ? Symbol.for("react.lazy") : 60116, v = t ? Symbol.for("react.block") : 60121, h = t ? Symbol.for("react.fundamental") : 60117, f = t ? Symbol.for("react.responder") : 60118, G = t ? Symbol.for("react.scope") : 60119;
|
|
822
|
+
function A(p) {
|
|
823
|
+
return typeof p == "string" || typeof p == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
824
|
+
p === r || p === s || p === a || p === i || p === b || p === m || typeof p == "object" && p !== null && (p.$$typeof === C || p.$$typeof === x || p.$$typeof === o || p.$$typeof === c || p.$$typeof === l || p.$$typeof === h || p.$$typeof === f || p.$$typeof === G || p.$$typeof === v);
|
|
825
|
+
}
|
|
826
|
+
function R(p) {
|
|
827
|
+
if (typeof p == "object" && p !== null) {
|
|
828
|
+
var ne = p.$$typeof;
|
|
829
|
+
switch (ne) {
|
|
830
|
+
case e:
|
|
831
|
+
var Ze = p.type;
|
|
832
|
+
switch (Ze) {
|
|
833
|
+
case u:
|
|
834
|
+
case s:
|
|
835
|
+
case r:
|
|
836
|
+
case a:
|
|
837
|
+
case i:
|
|
838
|
+
case b:
|
|
839
|
+
return Ze;
|
|
840
|
+
default:
|
|
841
|
+
var Jt = Ze && Ze.$$typeof;
|
|
842
|
+
switch (Jt) {
|
|
843
|
+
case c:
|
|
844
|
+
case l:
|
|
845
|
+
case C:
|
|
846
|
+
case x:
|
|
847
|
+
case o:
|
|
848
|
+
return Jt;
|
|
849
|
+
default:
|
|
850
|
+
return ne;
|
|
851
|
+
}
|
|
852
|
+
}
|
|
853
|
+
case n:
|
|
854
|
+
return ne;
|
|
855
|
+
}
|
|
856
|
+
}
|
|
857
|
+
}
|
|
858
|
+
var d = u, T = s, y = c, U = o, te = e, ge = l, fe = r, de = C, Pe = x, ce = n, he = a, K = i, be = b, He = !1;
|
|
859
|
+
function ct(p) {
|
|
860
|
+
return He || (He = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), g(p) || R(p) === u;
|
|
861
|
+
}
|
|
862
|
+
function g(p) {
|
|
863
|
+
return R(p) === s;
|
|
864
|
+
}
|
|
865
|
+
function I(p) {
|
|
866
|
+
return R(p) === c;
|
|
867
|
+
}
|
|
868
|
+
function V(p) {
|
|
869
|
+
return R(p) === o;
|
|
870
|
+
}
|
|
871
|
+
function X(p) {
|
|
872
|
+
return typeof p == "object" && p !== null && p.$$typeof === e;
|
|
873
|
+
}
|
|
874
|
+
function w(p) {
|
|
875
|
+
return R(p) === l;
|
|
876
|
+
}
|
|
877
|
+
function H(p) {
|
|
878
|
+
return R(p) === r;
|
|
879
|
+
}
|
|
880
|
+
function E(p) {
|
|
881
|
+
return R(p) === C;
|
|
882
|
+
}
|
|
883
|
+
function N(p) {
|
|
884
|
+
return R(p) === x;
|
|
885
|
+
}
|
|
886
|
+
function Z(p) {
|
|
887
|
+
return R(p) === n;
|
|
888
|
+
}
|
|
889
|
+
function j(p) {
|
|
890
|
+
return R(p) === a;
|
|
891
|
+
}
|
|
892
|
+
function M(p) {
|
|
893
|
+
return R(p) === i;
|
|
894
|
+
}
|
|
895
|
+
function _(p) {
|
|
896
|
+
return R(p) === b;
|
|
897
|
+
}
|
|
898
|
+
z.AsyncMode = d, z.ConcurrentMode = T, z.ContextConsumer = y, z.ContextProvider = U, z.Element = te, z.ForwardRef = ge, z.Fragment = fe, z.Lazy = de, z.Memo = Pe, z.Portal = ce, z.Profiler = he, z.StrictMode = K, z.Suspense = be, z.isAsyncMode = ct, z.isConcurrentMode = g, z.isContextConsumer = I, z.isContextProvider = V, z.isElement = X, z.isForwardRef = w, z.isFragment = H, z.isLazy = E, z.isMemo = N, z.isPortal = Z, z.isProfiler = j, z.isStrictMode = M, z.isSuspense = _, z.isValidElementType = A, z.typeOf = R;
|
|
899
|
+
})()), z;
|
|
900
|
+
}
|
|
901
|
+
var Qt;
|
|
902
|
+
function Xt() {
|
|
903
|
+
return Qt || (Qt = 1, process.env.NODE_ENV === "production" ? Oe.exports = Hr() : Oe.exports = Zr()), Oe.exports;
|
|
904
|
+
}
|
|
905
|
+
var st, _t;
|
|
906
|
+
function Mr() {
|
|
907
|
+
if (_t) return st;
|
|
908
|
+
_t = 1;
|
|
909
|
+
var t = Xt(), e = {
|
|
910
|
+
childContextTypes: !0,
|
|
911
|
+
contextType: !0,
|
|
912
|
+
contextTypes: !0,
|
|
913
|
+
defaultProps: !0,
|
|
914
|
+
displayName: !0,
|
|
915
|
+
getDefaultProps: !0,
|
|
916
|
+
getDerivedStateFromError: !0,
|
|
917
|
+
getDerivedStateFromProps: !0,
|
|
918
|
+
mixins: !0,
|
|
919
|
+
propTypes: !0,
|
|
920
|
+
type: !0
|
|
921
|
+
}, n = {
|
|
922
|
+
name: !0,
|
|
923
|
+
length: !0,
|
|
924
|
+
prototype: !0,
|
|
925
|
+
caller: !0,
|
|
926
|
+
callee: !0,
|
|
927
|
+
arguments: !0,
|
|
928
|
+
arity: !0
|
|
929
|
+
}, r = {
|
|
930
|
+
$$typeof: !0,
|
|
931
|
+
render: !0,
|
|
932
|
+
defaultProps: !0,
|
|
933
|
+
displayName: !0,
|
|
934
|
+
propTypes: !0
|
|
935
|
+
}, i = {
|
|
936
|
+
$$typeof: !0,
|
|
937
|
+
compare: !0,
|
|
938
|
+
defaultProps: !0,
|
|
939
|
+
displayName: !0,
|
|
940
|
+
propTypes: !0,
|
|
941
|
+
type: !0
|
|
942
|
+
}, a = {};
|
|
943
|
+
a[t.ForwardRef] = r, a[t.Memo] = i;
|
|
944
|
+
function o(C) {
|
|
945
|
+
return t.isMemo(C) ? i : a[C.$$typeof] || e;
|
|
946
|
+
}
|
|
947
|
+
var c = Object.defineProperty, u = Object.getOwnPropertyNames, s = Object.getOwnPropertySymbols, l = Object.getOwnPropertyDescriptor, b = Object.getPrototypeOf, m = Object.prototype;
|
|
948
|
+
function x(C, v, h) {
|
|
949
|
+
if (typeof v != "string") {
|
|
950
|
+
if (m) {
|
|
951
|
+
var f = b(v);
|
|
952
|
+
f && f !== m && x(C, f, h);
|
|
953
|
+
}
|
|
954
|
+
var G = u(v);
|
|
955
|
+
s && (G = G.concat(s(v)));
|
|
956
|
+
for (var A = o(C), R = o(v), d = 0; d < G.length; ++d) {
|
|
957
|
+
var T = G[d];
|
|
958
|
+
if (!n[T] && !(h && h[T]) && !(R && R[T]) && !(A && A[T])) {
|
|
959
|
+
var y = l(v, T);
|
|
960
|
+
try {
|
|
961
|
+
c(C, T, y);
|
|
962
|
+
} catch {
|
|
963
|
+
}
|
|
964
|
+
}
|
|
965
|
+
}
|
|
966
|
+
}
|
|
967
|
+
return C;
|
|
968
|
+
}
|
|
969
|
+
return st = x, st;
|
|
970
|
+
}
|
|
971
|
+
Mr();
|
|
972
|
+
var Yr = !0;
|
|
973
|
+
function Or(t, e, n) {
|
|
974
|
+
var r = "";
|
|
975
|
+
return n.split(" ").forEach(function(i) {
|
|
976
|
+
t[i] !== void 0 ? e.push(t[i] + ";") : i && (r += i + " ");
|
|
977
|
+
}), r;
|
|
978
|
+
}
|
|
979
|
+
var xn = function(e, n, r) {
|
|
980
|
+
var i = e.key + "-" + n.name;
|
|
981
|
+
// we only need to add the styles to the registered cache if the
|
|
982
|
+
// class name could be used further down
|
|
983
|
+
// the tree but if it's a string tag, we know it won't
|
|
984
|
+
// so we don't have to add it to registered cache.
|
|
985
|
+
// this improves memory usage since we can avoid storing the whole style string
|
|
986
|
+
(r === !1 || // we need to always store it if we're in compat mode and
|
|
987
|
+
// in node since emotion-server relies on whether a style is in
|
|
988
|
+
// the registered cache to know whether a style is global or not
|
|
989
|
+
// also, note that this check will be dead code eliminated in the browser
|
|
990
|
+
Yr === !1) && e.registered[i] === void 0 && (e.registered[i] = n.styles);
|
|
991
|
+
}, Jr = function(e, n, r) {
|
|
992
|
+
xn(e, n, r);
|
|
993
|
+
var i = e.key + "-" + n.name;
|
|
994
|
+
if (e.inserted[n.name] === void 0) {
|
|
995
|
+
var a = n;
|
|
996
|
+
do
|
|
997
|
+
e.insert(n === a ? "." + i : "", a, e.sheet, !0), a = a.next;
|
|
998
|
+
while (a !== void 0);
|
|
999
|
+
}
|
|
1000
|
+
};
|
|
1001
|
+
function zr(t) {
|
|
1002
|
+
for (var e = 0, n, r = 0, i = t.length; i >= 4; ++r, i -= 4)
|
|
1003
|
+
n = t.charCodeAt(r) & 255 | (t.charCodeAt(++r) & 255) << 8 | (t.charCodeAt(++r) & 255) << 16 | (t.charCodeAt(++r) & 255) << 24, n = /* Math.imul(k, m): */
|
|
1004
|
+
(n & 65535) * 1540483477 + ((n >>> 16) * 59797 << 16), n ^= /* k >>> r: */
|
|
1005
|
+
n >>> 24, e = /* Math.imul(k, m): */
|
|
1006
|
+
(n & 65535) * 1540483477 + ((n >>> 16) * 59797 << 16) ^ /* Math.imul(h, m): */
|
|
1007
|
+
(e & 65535) * 1540483477 + ((e >>> 16) * 59797 << 16);
|
|
1008
|
+
switch (i) {
|
|
1009
|
+
case 3:
|
|
1010
|
+
e ^= (t.charCodeAt(r + 2) & 255) << 16;
|
|
1011
|
+
case 2:
|
|
1012
|
+
e ^= (t.charCodeAt(r + 1) & 255) << 8;
|
|
1013
|
+
case 1:
|
|
1014
|
+
e ^= t.charCodeAt(r) & 255, e = /* Math.imul(h, m): */
|
|
1015
|
+
(e & 65535) * 1540483477 + ((e >>> 16) * 59797 << 16);
|
|
1016
|
+
}
|
|
1017
|
+
return e ^= e >>> 13, e = /* Math.imul(h, m): */
|
|
1018
|
+
(e & 65535) * 1540483477 + ((e >>> 16) * 59797 << 16), ((e ^ e >>> 15) >>> 0).toString(36);
|
|
1019
|
+
}
|
|
1020
|
+
var jr = {
|
|
1021
|
+
animationIterationCount: 1,
|
|
1022
|
+
aspectRatio: 1,
|
|
1023
|
+
borderImageOutset: 1,
|
|
1024
|
+
borderImageSlice: 1,
|
|
1025
|
+
borderImageWidth: 1,
|
|
1026
|
+
boxFlex: 1,
|
|
1027
|
+
boxFlexGroup: 1,
|
|
1028
|
+
boxOrdinalGroup: 1,
|
|
1029
|
+
columnCount: 1,
|
|
1030
|
+
columns: 1,
|
|
1031
|
+
flex: 1,
|
|
1032
|
+
flexGrow: 1,
|
|
1033
|
+
flexPositive: 1,
|
|
1034
|
+
flexShrink: 1,
|
|
1035
|
+
flexNegative: 1,
|
|
1036
|
+
flexOrder: 1,
|
|
1037
|
+
gridRow: 1,
|
|
1038
|
+
gridRowEnd: 1,
|
|
1039
|
+
gridRowSpan: 1,
|
|
1040
|
+
gridRowStart: 1,
|
|
1041
|
+
gridColumn: 1,
|
|
1042
|
+
gridColumnEnd: 1,
|
|
1043
|
+
gridColumnSpan: 1,
|
|
1044
|
+
gridColumnStart: 1,
|
|
1045
|
+
msGridRow: 1,
|
|
1046
|
+
msGridRowSpan: 1,
|
|
1047
|
+
msGridColumn: 1,
|
|
1048
|
+
msGridColumnSpan: 1,
|
|
1049
|
+
fontWeight: 1,
|
|
1050
|
+
lineHeight: 1,
|
|
1051
|
+
opacity: 1,
|
|
1052
|
+
order: 1,
|
|
1053
|
+
orphans: 1,
|
|
1054
|
+
scale: 1,
|
|
1055
|
+
tabSize: 1,
|
|
1056
|
+
widows: 1,
|
|
1057
|
+
zIndex: 1,
|
|
1058
|
+
zoom: 1,
|
|
1059
|
+
WebkitLineClamp: 1,
|
|
1060
|
+
// SVG-related properties
|
|
1061
|
+
fillOpacity: 1,
|
|
1062
|
+
floodOpacity: 1,
|
|
1063
|
+
stopOpacity: 1,
|
|
1064
|
+
strokeDasharray: 1,
|
|
1065
|
+
strokeDashoffset: 1,
|
|
1066
|
+
strokeMiterlimit: 1,
|
|
1067
|
+
strokeOpacity: 1,
|
|
1068
|
+
strokeWidth: 1
|
|
1069
|
+
}, Fr = /[A-Z]|^ms/g, Lr = /_EMO_([^_]+?)_([^]*?)_EMO_/g, An = function(e) {
|
|
1070
|
+
return e.charCodeAt(1) === 45;
|
|
1071
|
+
}, $t = function(e) {
|
|
1072
|
+
return e != null && typeof e != "boolean";
|
|
1073
|
+
}, lt = /* @__PURE__ */ Sr(function(t) {
|
|
1074
|
+
return An(t) ? t : t.replace(Fr, "-$&").toLowerCase();
|
|
1075
|
+
}), Kt = function(e, n) {
|
|
1076
|
+
switch (e) {
|
|
1077
|
+
case "animation":
|
|
1078
|
+
case "animationName":
|
|
1079
|
+
if (typeof n == "string")
|
|
1080
|
+
return n.replace(Lr, function(r, i, a) {
|
|
1081
|
+
return ie = {
|
|
1082
|
+
name: i,
|
|
1083
|
+
styles: a,
|
|
1084
|
+
next: ie
|
|
1085
|
+
}, i;
|
|
1086
|
+
});
|
|
1087
|
+
}
|
|
1088
|
+
return jr[e] !== 1 && !An(e) && typeof n == "number" && n !== 0 ? n + "px" : n;
|
|
1089
|
+
};
|
|
1090
|
+
function Ne(t, e, n) {
|
|
1091
|
+
if (n == null)
|
|
1092
|
+
return "";
|
|
1093
|
+
var r = n;
|
|
1094
|
+
if (r.__emotion_styles !== void 0)
|
|
1095
|
+
return r;
|
|
1096
|
+
switch (typeof n) {
|
|
1097
|
+
case "boolean":
|
|
1098
|
+
return "";
|
|
1099
|
+
case "object": {
|
|
1100
|
+
var i = n;
|
|
1101
|
+
if (i.anim === 1)
|
|
1102
|
+
return ie = {
|
|
1103
|
+
name: i.name,
|
|
1104
|
+
styles: i.styles,
|
|
1105
|
+
next: ie
|
|
1106
|
+
}, i.name;
|
|
1107
|
+
var a = n;
|
|
1108
|
+
if (a.styles !== void 0) {
|
|
1109
|
+
var o = a.next;
|
|
1110
|
+
if (o !== void 0)
|
|
1111
|
+
for (; o !== void 0; )
|
|
1112
|
+
ie = {
|
|
1113
|
+
name: o.name,
|
|
1114
|
+
styles: o.styles,
|
|
1115
|
+
next: ie
|
|
1116
|
+
}, o = o.next;
|
|
1117
|
+
var c = a.styles + ";";
|
|
1118
|
+
return c;
|
|
1119
|
+
}
|
|
1120
|
+
return Dr(t, e, n);
|
|
1121
|
+
}
|
|
1122
|
+
case "function": {
|
|
1123
|
+
if (t !== void 0) {
|
|
1124
|
+
var u = ie, s = n(t);
|
|
1125
|
+
return ie = u, Ne(t, e, s);
|
|
1126
|
+
}
|
|
1127
|
+
break;
|
|
1128
|
+
}
|
|
1129
|
+
}
|
|
1130
|
+
var l = n;
|
|
1131
|
+
return l;
|
|
1132
|
+
}
|
|
1133
|
+
function Dr(t, e, n) {
|
|
1134
|
+
var r = "";
|
|
1135
|
+
if (Array.isArray(n))
|
|
1136
|
+
for (var i = 0; i < n.length; i++)
|
|
1137
|
+
r += Ne(t, e, n[i]) + ";";
|
|
1138
|
+
else
|
|
1139
|
+
for (var a in n) {
|
|
1140
|
+
var o = n[a];
|
|
1141
|
+
if (typeof o != "object") {
|
|
1142
|
+
var c = o;
|
|
1143
|
+
$t(c) && (r += lt(a) + ":" + Kt(a, c) + ";");
|
|
1144
|
+
} else if (Array.isArray(o) && typeof o[0] == "string" && e == null)
|
|
1145
|
+
for (var u = 0; u < o.length; u++)
|
|
1146
|
+
$t(o[u]) && (r += lt(a) + ":" + Kt(a, o[u]) + ";");
|
|
1147
|
+
else {
|
|
1148
|
+
var s = Ne(t, e, o);
|
|
1149
|
+
switch (a) {
|
|
1150
|
+
case "animation":
|
|
1151
|
+
case "animationName": {
|
|
1152
|
+
r += lt(a) + ":" + s + ";";
|
|
1153
|
+
break;
|
|
1154
|
+
}
|
|
1155
|
+
default:
|
|
1156
|
+
r += a + "{" + s + "}";
|
|
1157
|
+
}
|
|
1158
|
+
}
|
|
1159
|
+
}
|
|
1160
|
+
return r;
|
|
1161
|
+
}
|
|
1162
|
+
var qt = /label:\s*([^\s;{]+)\s*(;|$)/g, ie;
|
|
1163
|
+
function Gn(t, e, n) {
|
|
1164
|
+
if (t.length === 1 && typeof t[0] == "object" && t[0] !== null && t[0].styles !== void 0)
|
|
1165
|
+
return t[0];
|
|
1166
|
+
var r = !0, i = "";
|
|
1167
|
+
ie = void 0;
|
|
1168
|
+
var a = t[0];
|
|
1169
|
+
if (a == null || a.raw === void 0)
|
|
1170
|
+
r = !1, i += Ne(n, e, a);
|
|
1171
|
+
else {
|
|
1172
|
+
var o = a;
|
|
1173
|
+
i += o[0];
|
|
1174
|
+
}
|
|
1175
|
+
for (var c = 1; c < t.length; c++)
|
|
1176
|
+
if (i += Ne(n, e, t[c]), r) {
|
|
1177
|
+
var u = a;
|
|
1178
|
+
i += u[c];
|
|
1179
|
+
}
|
|
1180
|
+
qt.lastIndex = 0;
|
|
1181
|
+
for (var s = "", l; (l = qt.exec(i)) !== null; )
|
|
1182
|
+
s += "-" + l[1];
|
|
1183
|
+
var b = zr(i) + s;
|
|
1184
|
+
return {
|
|
1185
|
+
name: b,
|
|
1186
|
+
styles: i,
|
|
1187
|
+
next: ie
|
|
1188
|
+
};
|
|
1189
|
+
}
|
|
1190
|
+
var kr = function(e) {
|
|
1191
|
+
return e();
|
|
1192
|
+
}, Ur = F.useInsertionEffect ? F.useInsertionEffect : !1, Qr = Ur || kr, Rn = /* @__PURE__ */ F.createContext(
|
|
1193
|
+
// we're doing this to avoid preconstruct's dead code elimination in this one case
|
|
1194
|
+
// because this module is primarily intended for the browser and node
|
|
1195
|
+
// but it's also required in react native and similar environments sometimes
|
|
1196
|
+
// and we could have a special build just for that
|
|
1197
|
+
// but this is much easier and the native packages
|
|
1198
|
+
// might use a different theme context in the future anyway
|
|
1199
|
+
typeof HTMLElement < "u" ? /* @__PURE__ */ Wr({
|
|
1200
|
+
key: "css"
|
|
1201
|
+
}) : null
|
|
1202
|
+
);
|
|
1203
|
+
Rn.Provider;
|
|
1204
|
+
var _r = function(e) {
|
|
1205
|
+
return /* @__PURE__ */ Un(function(n, r) {
|
|
1206
|
+
var i = bn(Rn);
|
|
1207
|
+
return e(n, i, r);
|
|
1208
|
+
});
|
|
1209
|
+
}, $r = /* @__PURE__ */ F.createContext({}), Nt = {}.hasOwnProperty, yt = "__EMOTION_TYPE_PLEASE_DO_NOT_USE__", Kr = function(e, n) {
|
|
1210
|
+
var r = {};
|
|
1211
|
+
for (var i in n)
|
|
1212
|
+
Nt.call(n, i) && (r[i] = n[i]);
|
|
1213
|
+
return r[yt] = e, r;
|
|
1214
|
+
}, qr = function(e) {
|
|
1215
|
+
var n = e.cache, r = e.serialized, i = e.isStringTag;
|
|
1216
|
+
return xn(n, r, i), Qr(function() {
|
|
1217
|
+
return Jr(n, r, i);
|
|
1218
|
+
}), null;
|
|
1219
|
+
}, ei = /* @__PURE__ */ _r(function(t, e, n) {
|
|
1220
|
+
var r = t.css;
|
|
1221
|
+
typeof r == "string" && e.registered[r] !== void 0 && (r = e.registered[r]);
|
|
1222
|
+
var i = t[yt], a = [r], o = "";
|
|
1223
|
+
typeof t.className == "string" ? o = Or(e.registered, a, t.className) : t.className != null && (o = t.className + " ");
|
|
1224
|
+
var c = Gn(a, void 0, F.useContext($r));
|
|
1225
|
+
o += e.key + "-" + c.name;
|
|
1226
|
+
var u = {};
|
|
1227
|
+
for (var s in t)
|
|
1228
|
+
Nt.call(t, s) && s !== "css" && s !== yt && (u[s] = t[s]);
|
|
1229
|
+
return u.className = o, n && (u.ref = n), /* @__PURE__ */ F.createElement(F.Fragment, null, /* @__PURE__ */ F.createElement(qr, {
|
|
1230
|
+
cache: e,
|
|
1231
|
+
serialized: c,
|
|
1232
|
+
isStringTag: typeof i == "string"
|
|
1233
|
+
}), /* @__PURE__ */ F.createElement(i, u));
|
|
1234
|
+
}), ti = ei, B = function(e, n) {
|
|
1235
|
+
var r = arguments;
|
|
1236
|
+
if (n == null || !Nt.call(n, "css"))
|
|
1237
|
+
return F.createElement.apply(void 0, r);
|
|
1238
|
+
var i = r.length, a = new Array(i);
|
|
1239
|
+
a[0] = ti, a[1] = Kr(e, n);
|
|
1240
|
+
for (var o = 2; o < i; o++)
|
|
1241
|
+
a[o] = r[o];
|
|
1242
|
+
return F.createElement.apply(null, a);
|
|
1243
|
+
};
|
|
1244
|
+
(function(t) {
|
|
1245
|
+
var e;
|
|
1246
|
+
e || (e = t.JSX || (t.JSX = {}));
|
|
1247
|
+
})(B || (B = {}));
|
|
1248
|
+
function Pn() {
|
|
1249
|
+
for (var t = arguments.length, e = new Array(t), n = 0; n < t; n++)
|
|
1250
|
+
e[n] = arguments[n];
|
|
1251
|
+
return Gn(e);
|
|
1252
|
+
}
|
|
1253
|
+
function ni() {
|
|
1254
|
+
var t = Pn.apply(void 0, arguments), e = "animation-" + t.name;
|
|
1255
|
+
return {
|
|
1256
|
+
name: e,
|
|
1257
|
+
styles: "@keyframes " + e + "{" + t.styles + "}",
|
|
1258
|
+
anim: 1,
|
|
1259
|
+
toString: function() {
|
|
1260
|
+
return "_EMO_" + this.name + "_" + this.styles + "_EMO_";
|
|
1261
|
+
}
|
|
1262
|
+
};
|
|
1263
|
+
}
|
|
1264
|
+
function ri(t) {
|
|
1265
|
+
if (Array.isArray(t)) return t;
|
|
1266
|
+
}
|
|
1267
|
+
function ii(t, e) {
|
|
1268
|
+
var n = t == null ? null : typeof Symbol < "u" && t[Symbol.iterator] || t["@@iterator"];
|
|
1269
|
+
if (n != null) {
|
|
1270
|
+
var r, i, a, o, c = [], u = !0, s = !1;
|
|
1271
|
+
try {
|
|
1272
|
+
if (a = (n = n.call(t)).next, e === 0) {
|
|
1273
|
+
if (Object(n) !== n) return;
|
|
1274
|
+
u = !1;
|
|
1275
|
+
} else for (; !(u = (r = a.call(n)).done) && (c.push(r.value), c.length !== e); u = !0) ;
|
|
1276
|
+
} catch (l) {
|
|
1277
|
+
s = !0, i = l;
|
|
1278
|
+
} finally {
|
|
1279
|
+
try {
|
|
1280
|
+
if (!u && n.return != null && (o = n.return(), Object(o) !== o)) return;
|
|
1281
|
+
} finally {
|
|
1282
|
+
if (s) throw i;
|
|
1283
|
+
}
|
|
1284
|
+
}
|
|
1285
|
+
return c;
|
|
1286
|
+
}
|
|
1287
|
+
}
|
|
1288
|
+
function en(t, e) {
|
|
1289
|
+
(e == null || e > t.length) && (e = t.length);
|
|
1290
|
+
for (var n = 0, r = Array(e); n < e; n++) r[n] = t[n];
|
|
1291
|
+
return r;
|
|
1292
|
+
}
|
|
1293
|
+
function ai(t, e) {
|
|
1294
|
+
if (t) {
|
|
1295
|
+
if (typeof t == "string") return en(t, e);
|
|
1296
|
+
var n = {}.toString.call(t).slice(8, -1);
|
|
1297
|
+
return n === "Object" && t.constructor && (n = t.constructor.name), n === "Map" || n === "Set" ? Array.from(t) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? en(t, e) : void 0;
|
|
1298
|
+
}
|
|
1299
|
+
}
|
|
1300
|
+
function oi() {
|
|
1301
|
+
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
1302
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
1303
|
+
}
|
|
1304
|
+
function se(t, e) {
|
|
1305
|
+
return ri(t) || ii(t, e) || ai(t, e) || oi();
|
|
1306
|
+
}
|
|
1307
|
+
function ci(t, e) {
|
|
1308
|
+
return e || (e = t.slice(0)), Object.freeze(Object.defineProperties(t, {
|
|
1309
|
+
raw: {
|
|
1310
|
+
value: Object.freeze(e)
|
|
1311
|
+
}
|
|
1312
|
+
}));
|
|
1313
|
+
}
|
|
1314
|
+
const ui = Math.min, si = Math.max, $e = Math.round, Je = Math.floor, Ke = (t) => ({
|
|
1315
|
+
x: t,
|
|
1316
|
+
y: t
|
|
1317
|
+
});
|
|
1318
|
+
function li(t) {
|
|
1319
|
+
const {
|
|
1320
|
+
x: e,
|
|
1321
|
+
y: n,
|
|
1322
|
+
width: r,
|
|
1323
|
+
height: i
|
|
1324
|
+
} = t;
|
|
1325
|
+
return {
|
|
1326
|
+
width: r,
|
|
1327
|
+
height: i,
|
|
1328
|
+
top: n,
|
|
1329
|
+
left: e,
|
|
1330
|
+
right: e + r,
|
|
1331
|
+
bottom: n + i,
|
|
1332
|
+
x: e,
|
|
1333
|
+
y: n
|
|
1334
|
+
};
|
|
1335
|
+
}
|
|
1336
|
+
function at() {
|
|
1337
|
+
return typeof window < "u";
|
|
1338
|
+
}
|
|
1339
|
+
function Sn(t) {
|
|
1340
|
+
return Bn(t) ? (t.nodeName || "").toLowerCase() : "#document";
|
|
1341
|
+
}
|
|
1342
|
+
function le(t) {
|
|
1343
|
+
var e;
|
|
1344
|
+
return (t == null || (e = t.ownerDocument) == null ? void 0 : e.defaultView) || window;
|
|
1345
|
+
}
|
|
1346
|
+
function Tn(t) {
|
|
1347
|
+
var e;
|
|
1348
|
+
return (e = (Bn(t) ? t.ownerDocument : t.document) || window.document) == null ? void 0 : e.documentElement;
|
|
1349
|
+
}
|
|
1350
|
+
function Bn(t) {
|
|
1351
|
+
return at() ? t instanceof Node || t instanceof le(t).Node : !1;
|
|
1352
|
+
}
|
|
1353
|
+
function di(t) {
|
|
1354
|
+
return at() ? t instanceof Element || t instanceof le(t).Element : !1;
|
|
1355
|
+
}
|
|
1356
|
+
function Vt(t) {
|
|
1357
|
+
return at() ? t instanceof HTMLElement || t instanceof le(t).HTMLElement : !1;
|
|
1358
|
+
}
|
|
1359
|
+
function tn(t) {
|
|
1360
|
+
return !at() || typeof ShadowRoot > "u" ? !1 : t instanceof ShadowRoot || t instanceof le(t).ShadowRoot;
|
|
1361
|
+
}
|
|
1362
|
+
function wn(t) {
|
|
1363
|
+
const {
|
|
1364
|
+
overflow: e,
|
|
1365
|
+
overflowX: n,
|
|
1366
|
+
overflowY: r,
|
|
1367
|
+
display: i
|
|
1368
|
+
} = Wt(t);
|
|
1369
|
+
return /auto|scroll|overlay|hidden|clip/.test(e + r + n) && !["inline", "contents"].includes(i);
|
|
1370
|
+
}
|
|
1371
|
+
function gi() {
|
|
1372
|
+
return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
|
|
1373
|
+
}
|
|
1374
|
+
function fi(t) {
|
|
1375
|
+
return ["html", "body", "#document"].includes(Sn(t));
|
|
1376
|
+
}
|
|
1377
|
+
function Wt(t) {
|
|
1378
|
+
return le(t).getComputedStyle(t);
|
|
1379
|
+
}
|
|
1380
|
+
function bi(t) {
|
|
1381
|
+
if (Sn(t) === "html")
|
|
1382
|
+
return t;
|
|
1383
|
+
const e = (
|
|
1384
|
+
// Step into the shadow DOM of the parent of a slotted node.
|
|
1385
|
+
t.assignedSlot || // DOM Element detected.
|
|
1386
|
+
t.parentNode || // ShadowRoot detected.
|
|
1387
|
+
tn(t) && t.host || // Fallback.
|
|
1388
|
+
Tn(t)
|
|
1389
|
+
);
|
|
1390
|
+
return tn(e) ? e.host : e;
|
|
1391
|
+
}
|
|
1392
|
+
function En(t) {
|
|
1393
|
+
const e = bi(t);
|
|
1394
|
+
return fi(e) ? t.ownerDocument ? t.ownerDocument.body : t.body : Vt(e) && wn(e) ? e : En(e);
|
|
1395
|
+
}
|
|
1396
|
+
function qe(t, e, n) {
|
|
1397
|
+
var r;
|
|
1398
|
+
e === void 0 && (e = []), n === void 0 && (n = !0);
|
|
1399
|
+
const i = En(t), a = i === ((r = t.ownerDocument) == null ? void 0 : r.body), o = le(i);
|
|
1400
|
+
if (a) {
|
|
1401
|
+
const c = xt(o);
|
|
1402
|
+
return e.concat(o, o.visualViewport || [], wn(i) ? i : [], c && n ? qe(c) : []);
|
|
1403
|
+
}
|
|
1404
|
+
return e.concat(i, qe(i, [], n));
|
|
1405
|
+
}
|
|
1406
|
+
function xt(t) {
|
|
1407
|
+
return t.parent && Object.getPrototypeOf(t.parent) ? t.frameElement : null;
|
|
1408
|
+
}
|
|
1409
|
+
function vi(t) {
|
|
1410
|
+
const e = Wt(t);
|
|
1411
|
+
let n = parseFloat(e.width) || 0, r = parseFloat(e.height) || 0;
|
|
1412
|
+
const i = Vt(t), a = i ? t.offsetWidth : n, o = i ? t.offsetHeight : r, c = $e(n) !== a || $e(r) !== o;
|
|
1413
|
+
return c && (n = a, r = o), {
|
|
1414
|
+
width: n,
|
|
1415
|
+
height: r,
|
|
1416
|
+
$: c
|
|
1417
|
+
};
|
|
1418
|
+
}
|
|
1419
|
+
function Ht(t) {
|
|
1420
|
+
return di(t) ? t : t.contextElement;
|
|
1421
|
+
}
|
|
1422
|
+
function nn(t) {
|
|
1423
|
+
const e = Ht(t);
|
|
1424
|
+
if (!Vt(e))
|
|
1425
|
+
return Ke(1);
|
|
1426
|
+
const n = e.getBoundingClientRect(), {
|
|
1427
|
+
width: r,
|
|
1428
|
+
height: i,
|
|
1429
|
+
$: a
|
|
1430
|
+
} = vi(e);
|
|
1431
|
+
let o = (a ? $e(n.width) : n.width) / r, c = (a ? $e(n.height) : n.height) / i;
|
|
1432
|
+
return (!o || !Number.isFinite(o)) && (o = 1), (!c || !Number.isFinite(c)) && (c = 1), {
|
|
1433
|
+
x: o,
|
|
1434
|
+
y: c
|
|
1435
|
+
};
|
|
1436
|
+
}
|
|
1437
|
+
const pi = /* @__PURE__ */ Ke(0);
|
|
1438
|
+
function mi(t) {
|
|
1439
|
+
const e = le(t);
|
|
1440
|
+
return !gi() || !e.visualViewport ? pi : {
|
|
1441
|
+
x: e.visualViewport.offsetLeft,
|
|
1442
|
+
y: e.visualViewport.offsetTop
|
|
1443
|
+
};
|
|
1444
|
+
}
|
|
1445
|
+
function Ii(t, e, n) {
|
|
1446
|
+
return !1;
|
|
1447
|
+
}
|
|
1448
|
+
function rn(t, e, n, r) {
|
|
1449
|
+
e === void 0 && (e = !1);
|
|
1450
|
+
const i = t.getBoundingClientRect(), a = Ht(t);
|
|
1451
|
+
let o = Ke(1);
|
|
1452
|
+
e && (o = nn(t));
|
|
1453
|
+
const c = Ii() ? mi(a) : Ke(0);
|
|
1454
|
+
let u = (i.left + c.x) / o.x, s = (i.top + c.y) / o.y, l = i.width / o.x, b = i.height / o.y;
|
|
1455
|
+
if (a) {
|
|
1456
|
+
const m = le(a), x = r;
|
|
1457
|
+
let C = m, v = xt(C);
|
|
1458
|
+
for (; v && r && x !== C; ) {
|
|
1459
|
+
const h = nn(v), f = v.getBoundingClientRect(), G = Wt(v), A = f.left + (v.clientLeft + parseFloat(G.paddingLeft)) * h.x, R = f.top + (v.clientTop + parseFloat(G.paddingTop)) * h.y;
|
|
1460
|
+
u *= h.x, s *= h.y, l *= h.x, b *= h.y, u += A, s += R, C = le(v), v = xt(C);
|
|
1461
|
+
}
|
|
1462
|
+
}
|
|
1463
|
+
return li({
|
|
1464
|
+
width: l,
|
|
1465
|
+
height: b,
|
|
1466
|
+
x: u,
|
|
1467
|
+
y: s
|
|
1468
|
+
});
|
|
1469
|
+
}
|
|
1470
|
+
function Xn(t, e) {
|
|
1471
|
+
return t.x === e.x && t.y === e.y && t.width === e.width && t.height === e.height;
|
|
1472
|
+
}
|
|
1473
|
+
function hi(t, e) {
|
|
1474
|
+
let n = null, r;
|
|
1475
|
+
const i = Tn(t);
|
|
1476
|
+
function a() {
|
|
1477
|
+
var c;
|
|
1478
|
+
clearTimeout(r), (c = n) == null || c.disconnect(), n = null;
|
|
1479
|
+
}
|
|
1480
|
+
function o(c, u) {
|
|
1481
|
+
c === void 0 && (c = !1), u === void 0 && (u = 1), a();
|
|
1482
|
+
const s = t.getBoundingClientRect(), {
|
|
1483
|
+
left: l,
|
|
1484
|
+
top: b,
|
|
1485
|
+
width: m,
|
|
1486
|
+
height: x
|
|
1487
|
+
} = s;
|
|
1488
|
+
if (c || e(), !m || !x)
|
|
1489
|
+
return;
|
|
1490
|
+
const C = Je(b), v = Je(i.clientWidth - (l + m)), h = Je(i.clientHeight - (b + x)), f = Je(l), A = {
|
|
1491
|
+
rootMargin: -C + "px " + -v + "px " + -h + "px " + -f + "px",
|
|
1492
|
+
threshold: si(0, ui(1, u)) || 1
|
|
1493
|
+
};
|
|
1494
|
+
let R = !0;
|
|
1495
|
+
function d(T) {
|
|
1496
|
+
const y = T[0].intersectionRatio;
|
|
1497
|
+
if (y !== u) {
|
|
1498
|
+
if (!R)
|
|
1499
|
+
return o();
|
|
1500
|
+
y ? o(!1, y) : r = setTimeout(() => {
|
|
1501
|
+
o(!1, 1e-7);
|
|
1502
|
+
}, 1e3);
|
|
1503
|
+
}
|
|
1504
|
+
y === 1 && !Xn(s, t.getBoundingClientRect()) && o(), R = !1;
|
|
1505
|
+
}
|
|
1506
|
+
try {
|
|
1507
|
+
n = new IntersectionObserver(d, {
|
|
1508
|
+
...A,
|
|
1509
|
+
// Handle <iframe>s
|
|
1510
|
+
root: i.ownerDocument
|
|
1511
|
+
});
|
|
1512
|
+
} catch {
|
|
1513
|
+
n = new IntersectionObserver(d, A);
|
|
1514
|
+
}
|
|
1515
|
+
n.observe(t);
|
|
1516
|
+
}
|
|
1517
|
+
return o(!0), a;
|
|
1518
|
+
}
|
|
1519
|
+
function Ci(t, e, n, r) {
|
|
1520
|
+
r === void 0 && (r = {});
|
|
1521
|
+
const {
|
|
1522
|
+
ancestorScroll: i = !0,
|
|
1523
|
+
ancestorResize: a = !0,
|
|
1524
|
+
elementResize: o = typeof ResizeObserver == "function",
|
|
1525
|
+
layoutShift: c = typeof IntersectionObserver == "function",
|
|
1526
|
+
animationFrame: u = !1
|
|
1527
|
+
} = r, s = Ht(t), l = i || a ? [...s ? qe(s) : [], ...qe(e)] : [];
|
|
1528
|
+
l.forEach((f) => {
|
|
1529
|
+
i && f.addEventListener("scroll", n, {
|
|
1530
|
+
passive: !0
|
|
1531
|
+
}), a && f.addEventListener("resize", n);
|
|
1532
|
+
});
|
|
1533
|
+
const b = s && c ? hi(s, n) : null;
|
|
1534
|
+
let m = -1, x = null;
|
|
1535
|
+
o && (x = new ResizeObserver((f) => {
|
|
1536
|
+
let [G] = f;
|
|
1537
|
+
G && G.target === s && x && (x.unobserve(e), cancelAnimationFrame(m), m = requestAnimationFrame(() => {
|
|
1538
|
+
var A;
|
|
1539
|
+
(A = x) == null || A.observe(e);
|
|
1540
|
+
})), n();
|
|
1541
|
+
}), s && !u && x.observe(s), x.observe(e));
|
|
1542
|
+
let C, v = u ? rn(t) : null;
|
|
1543
|
+
u && h();
|
|
1544
|
+
function h() {
|
|
1545
|
+
const f = rn(t);
|
|
1546
|
+
v && !Xn(v, f) && n(), v = f, C = requestAnimationFrame(h);
|
|
1547
|
+
}
|
|
1548
|
+
return n(), () => {
|
|
1549
|
+
var f;
|
|
1550
|
+
l.forEach((G) => {
|
|
1551
|
+
i && G.removeEventListener("scroll", n), a && G.removeEventListener("resize", n);
|
|
1552
|
+
}), b?.(), (f = x) == null || f.disconnect(), x = null, u && cancelAnimationFrame(C);
|
|
1553
|
+
};
|
|
1554
|
+
}
|
|
1555
|
+
var At = Qn, yi = ["className", "clearValue", "cx", "getStyles", "getClassNames", "getValue", "hasValue", "isMulti", "isRtl", "options", "selectOption", "selectProps", "setValue", "theme"], Gt = function() {
|
|
1556
|
+
};
|
|
1557
|
+
function xi(t, e) {
|
|
1558
|
+
return e ? e[0] === "-" ? t + e : t + "__" + e : t;
|
|
1559
|
+
}
|
|
1560
|
+
function ro(t, e) {
|
|
1561
|
+
for (var n = arguments.length, r = new Array(n > 2 ? n - 2 : 0), i = 2; i < n; i++)
|
|
1562
|
+
r[i - 2] = arguments[i];
|
|
1563
|
+
var a = [].concat(r);
|
|
1564
|
+
if (e && t)
|
|
1565
|
+
for (var o in e)
|
|
1566
|
+
e.hasOwnProperty(o) && e[o] && a.push("".concat(xi(t, o)));
|
|
1567
|
+
return a.filter(function(c) {
|
|
1568
|
+
return c;
|
|
1569
|
+
}).map(function(c) {
|
|
1570
|
+
return String(c).trim();
|
|
1571
|
+
}).join(" ");
|
|
1572
|
+
}
|
|
1573
|
+
var io = function(e) {
|
|
1574
|
+
return Ti(e) ? e.filter(Boolean) : Ae(e) === "object" && e !== null ? [e] : [];
|
|
1575
|
+
}, Nn = function(e) {
|
|
1576
|
+
e.className, e.clearValue, e.cx, e.getStyles, e.getClassNames, e.getValue, e.hasValue, e.isMulti, e.isRtl, e.options, e.selectOption, e.selectProps, e.setValue, e.theme;
|
|
1577
|
+
var n = ee(e, yi);
|
|
1578
|
+
return P({}, n);
|
|
1579
|
+
}, L = function(e, n, r) {
|
|
1580
|
+
var i = e.cx, a = e.getStyles, o = e.getClassNames, c = e.className;
|
|
1581
|
+
return {
|
|
1582
|
+
css: a(n, e),
|
|
1583
|
+
className: i(r ?? {}, o(n, e), c)
|
|
1584
|
+
};
|
|
1585
|
+
};
|
|
1586
|
+
function Zt(t) {
|
|
1587
|
+
return [document.documentElement, document.body, window].indexOf(t) > -1;
|
|
1588
|
+
}
|
|
1589
|
+
function Ai(t) {
|
|
1590
|
+
return Zt(t) ? window.innerHeight : t.clientHeight;
|
|
1591
|
+
}
|
|
1592
|
+
function Vn(t) {
|
|
1593
|
+
return Zt(t) ? window.pageYOffset : t.scrollTop;
|
|
1594
|
+
}
|
|
1595
|
+
function et(t, e) {
|
|
1596
|
+
if (Zt(t)) {
|
|
1597
|
+
window.scrollTo(0, e);
|
|
1598
|
+
return;
|
|
1599
|
+
}
|
|
1600
|
+
t.scrollTop = e;
|
|
1601
|
+
}
|
|
1602
|
+
function Gi(t) {
|
|
1603
|
+
var e = getComputedStyle(t), n = e.position === "absolute", r = /(auto|scroll)/;
|
|
1604
|
+
if (e.position === "fixed") return document.documentElement;
|
|
1605
|
+
for (var i = t; i = i.parentElement; )
|
|
1606
|
+
if (e = getComputedStyle(i), !(n && e.position === "static") && r.test(e.overflow + e.overflowY + e.overflowX))
|
|
1607
|
+
return i;
|
|
1608
|
+
return document.documentElement;
|
|
1609
|
+
}
|
|
1610
|
+
function Ri(t, e, n, r) {
|
|
1611
|
+
return n * ((t = t / r - 1) * t * t + 1) + e;
|
|
1612
|
+
}
|
|
1613
|
+
function ze(t, e) {
|
|
1614
|
+
var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : 200, r = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : Gt, i = Vn(t), a = e - i, o = 10, c = 0;
|
|
1615
|
+
function u() {
|
|
1616
|
+
c += o;
|
|
1617
|
+
var s = Ri(c, i, a, n);
|
|
1618
|
+
et(t, s), c < n ? window.requestAnimationFrame(u) : r(t);
|
|
1619
|
+
}
|
|
1620
|
+
u();
|
|
1621
|
+
}
|
|
1622
|
+
function ao(t, e) {
|
|
1623
|
+
var n = t.getBoundingClientRect(), r = e.getBoundingClientRect(), i = e.offsetHeight / 3;
|
|
1624
|
+
r.bottom + i > n.bottom ? et(t, Math.min(e.offsetTop + e.clientHeight - t.offsetHeight + i, t.scrollHeight)) : r.top - i < n.top && et(t, Math.max(e.offsetTop - i, 0));
|
|
1625
|
+
}
|
|
1626
|
+
function Pi(t) {
|
|
1627
|
+
var e = t.getBoundingClientRect();
|
|
1628
|
+
return {
|
|
1629
|
+
bottom: e.bottom,
|
|
1630
|
+
height: e.height,
|
|
1631
|
+
left: e.left,
|
|
1632
|
+
right: e.right,
|
|
1633
|
+
top: e.top,
|
|
1634
|
+
width: e.width
|
|
1635
|
+
};
|
|
1636
|
+
}
|
|
1637
|
+
function oo() {
|
|
1638
|
+
try {
|
|
1639
|
+
return document.createEvent("TouchEvent"), !0;
|
|
1640
|
+
} catch {
|
|
1641
|
+
return !1;
|
|
1642
|
+
}
|
|
1643
|
+
}
|
|
1644
|
+
function co() {
|
|
1645
|
+
try {
|
|
1646
|
+
return /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);
|
|
1647
|
+
} catch {
|
|
1648
|
+
return !1;
|
|
1649
|
+
}
|
|
1650
|
+
}
|
|
1651
|
+
var Wn = !1, Si = {
|
|
1652
|
+
get passive() {
|
|
1653
|
+
return Wn = !0;
|
|
1654
|
+
}
|
|
1655
|
+
}, je = typeof window < "u" ? window : {};
|
|
1656
|
+
je.addEventListener && je.removeEventListener && (je.addEventListener("p", Gt, Si), je.removeEventListener("p", Gt, !1));
|
|
1657
|
+
var uo = Wn;
|
|
1658
|
+
function so(t) {
|
|
1659
|
+
return t != null;
|
|
1660
|
+
}
|
|
1661
|
+
function Ti(t) {
|
|
1662
|
+
return Array.isArray(t);
|
|
1663
|
+
}
|
|
1664
|
+
function lo(t, e, n) {
|
|
1665
|
+
return t ? e : n;
|
|
1666
|
+
}
|
|
1667
|
+
function go(t) {
|
|
1668
|
+
return t;
|
|
1669
|
+
}
|
|
1670
|
+
function fo(t) {
|
|
1671
|
+
return t;
|
|
1672
|
+
}
|
|
1673
|
+
var bo = function(e) {
|
|
1674
|
+
for (var n = arguments.length, r = new Array(n > 1 ? n - 1 : 0), i = 1; i < n; i++)
|
|
1675
|
+
r[i - 1] = arguments[i];
|
|
1676
|
+
var a = Object.entries(e).filter(function(o) {
|
|
1677
|
+
var c = se(o, 1), u = c[0];
|
|
1678
|
+
return !r.includes(u);
|
|
1679
|
+
});
|
|
1680
|
+
return a.reduce(function(o, c) {
|
|
1681
|
+
var u = se(c, 2), s = u[0], l = u[1];
|
|
1682
|
+
return o[s] = l, o;
|
|
1683
|
+
}, {});
|
|
1684
|
+
}, Bi = ["children", "innerProps"], wi = ["children", "innerProps"];
|
|
1685
|
+
function Ei(t) {
|
|
1686
|
+
var e = t.maxHeight, n = t.menuEl, r = t.minHeight, i = t.placement, a = t.shouldScroll, o = t.isFixedPosition, c = t.controlHeight, u = Gi(n), s = {
|
|
1687
|
+
placement: "bottom",
|
|
1688
|
+
maxHeight: e
|
|
1689
|
+
};
|
|
1690
|
+
if (!n || !n.offsetParent) return s;
|
|
1691
|
+
var l = u.getBoundingClientRect(), b = l.height, m = n.getBoundingClientRect(), x = m.bottom, C = m.height, v = m.top, h = n.offsetParent.getBoundingClientRect(), f = h.top, G = o ? window.innerHeight : Ai(u), A = Vn(u), R = parseInt(getComputedStyle(n).marginBottom, 10), d = parseInt(getComputedStyle(n).marginTop, 10), T = f - d, y = G - v, U = T + A, te = b - A - v, ge = x - G + A + R, fe = A + v - d, de = 160;
|
|
1692
|
+
switch (i) {
|
|
1693
|
+
case "auto":
|
|
1694
|
+
case "bottom":
|
|
1695
|
+
if (y >= C)
|
|
1696
|
+
return {
|
|
1697
|
+
placement: "bottom",
|
|
1698
|
+
maxHeight: e
|
|
1699
|
+
};
|
|
1700
|
+
if (te >= C && !o)
|
|
1701
|
+
return a && ze(u, ge, de), {
|
|
1702
|
+
placement: "bottom",
|
|
1703
|
+
maxHeight: e
|
|
1704
|
+
};
|
|
1705
|
+
if (!o && te >= r || o && y >= r) {
|
|
1706
|
+
a && ze(u, ge, de);
|
|
1707
|
+
var Pe = o ? y - R : te - R;
|
|
1708
|
+
return {
|
|
1709
|
+
placement: "bottom",
|
|
1710
|
+
maxHeight: Pe
|
|
1711
|
+
};
|
|
1712
|
+
}
|
|
1713
|
+
if (i === "auto" || o) {
|
|
1714
|
+
var ce = e, he = o ? T : U;
|
|
1715
|
+
return he >= r && (ce = Math.min(he - R - c, e)), {
|
|
1716
|
+
placement: "top",
|
|
1717
|
+
maxHeight: ce
|
|
1718
|
+
};
|
|
1719
|
+
}
|
|
1720
|
+
if (i === "bottom")
|
|
1721
|
+
return a && et(u, ge), {
|
|
1722
|
+
placement: "bottom",
|
|
1723
|
+
maxHeight: e
|
|
1724
|
+
};
|
|
1725
|
+
break;
|
|
1726
|
+
case "top":
|
|
1727
|
+
if (T >= C)
|
|
1728
|
+
return {
|
|
1729
|
+
placement: "top",
|
|
1730
|
+
maxHeight: e
|
|
1731
|
+
};
|
|
1732
|
+
if (U >= C && !o)
|
|
1733
|
+
return a && ze(u, fe, de), {
|
|
1734
|
+
placement: "top",
|
|
1735
|
+
maxHeight: e
|
|
1736
|
+
};
|
|
1737
|
+
if (!o && U >= r || o && T >= r) {
|
|
1738
|
+
var K = e;
|
|
1739
|
+
return (!o && U >= r || o && T >= r) && (K = o ? T - d : U - d), a && ze(u, fe, de), {
|
|
1740
|
+
placement: "top",
|
|
1741
|
+
maxHeight: K
|
|
1742
|
+
};
|
|
1743
|
+
}
|
|
1744
|
+
return {
|
|
1745
|
+
placement: "bottom",
|
|
1746
|
+
maxHeight: e
|
|
1747
|
+
};
|
|
1748
|
+
default:
|
|
1749
|
+
throw new Error('Invalid placement provided "'.concat(i, '".'));
|
|
1750
|
+
}
|
|
1751
|
+
return s;
|
|
1752
|
+
}
|
|
1753
|
+
function Xi(t) {
|
|
1754
|
+
var e = {
|
|
1755
|
+
bottom: "top",
|
|
1756
|
+
top: "bottom"
|
|
1757
|
+
};
|
|
1758
|
+
return t ? e[t] : "bottom";
|
|
1759
|
+
}
|
|
1760
|
+
var Hn = function(e) {
|
|
1761
|
+
return e === "auto" ? "bottom" : e;
|
|
1762
|
+
}, vo = function(e, n) {
|
|
1763
|
+
var r, i = e.placement, a = e.theme, o = a.borderRadius, c = a.spacing, u = a.colors;
|
|
1764
|
+
return P((r = {
|
|
1765
|
+
label: "menu"
|
|
1766
|
+
}, Te(r, Xi(i), "100%"), Te(r, "position", "absolute"), Te(r, "width", "100%"), Te(r, "zIndex", 1), r), n ? {} : {
|
|
1767
|
+
backgroundColor: u.neutral0,
|
|
1768
|
+
borderRadius: o,
|
|
1769
|
+
boxShadow: "0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",
|
|
1770
|
+
marginBottom: c.menuGutter,
|
|
1771
|
+
marginTop: c.menuGutter
|
|
1772
|
+
});
|
|
1773
|
+
}, Zn = /* @__PURE__ */ $n(null), po = function(e) {
|
|
1774
|
+
var n = e.children, r = e.minMenuHeight, i = e.maxMenuHeight, a = e.menuPlacement, o = e.menuPosition, c = e.menuShouldScrollIntoView, u = e.theme, s = bn(Zn) || {}, l = s.setPortalPlacement, b = we(null), m = Ie(i), x = se(m, 2), C = x[0], v = x[1], h = Ie(null), f = se(h, 2), G = f[0], A = f[1], R = u.spacing.controlHeight;
|
|
1775
|
+
return At(function() {
|
|
1776
|
+
var d = b.current;
|
|
1777
|
+
if (d) {
|
|
1778
|
+
var T = o === "fixed", y = c && !T, U = Ei({
|
|
1779
|
+
maxHeight: i,
|
|
1780
|
+
menuEl: d,
|
|
1781
|
+
minHeight: r,
|
|
1782
|
+
placement: a,
|
|
1783
|
+
shouldScroll: y,
|
|
1784
|
+
isFixedPosition: T,
|
|
1785
|
+
controlHeight: R
|
|
1786
|
+
});
|
|
1787
|
+
v(U.maxHeight), A(U.placement), l?.(U.placement);
|
|
1788
|
+
}
|
|
1789
|
+
}, [i, a, o, c, r, l, R]), n({
|
|
1790
|
+
ref: b,
|
|
1791
|
+
placerProps: P(P({}, e), {}, {
|
|
1792
|
+
placement: G || Hn(a),
|
|
1793
|
+
maxHeight: C
|
|
1794
|
+
})
|
|
1795
|
+
});
|
|
1796
|
+
}, Ni = function(e) {
|
|
1797
|
+
var n = e.children, r = e.innerRef, i = e.innerProps;
|
|
1798
|
+
return B("div", W({}, L(e, "menu", {
|
|
1799
|
+
menu: !0
|
|
1800
|
+
}), {
|
|
1801
|
+
ref: r
|
|
1802
|
+
}, i), n);
|
|
1803
|
+
}, Vi = Ni, mo = function(e, n) {
|
|
1804
|
+
var r = e.maxHeight, i = e.theme.spacing.baseUnit;
|
|
1805
|
+
return P({
|
|
1806
|
+
maxHeight: r,
|
|
1807
|
+
overflowY: "auto",
|
|
1808
|
+
position: "relative",
|
|
1809
|
+
// required for offset[Height, Top] > keyboard scroll
|
|
1810
|
+
WebkitOverflowScrolling: "touch"
|
|
1811
|
+
}, n ? {} : {
|
|
1812
|
+
paddingBottom: i,
|
|
1813
|
+
paddingTop: i
|
|
1814
|
+
});
|
|
1815
|
+
}, Wi = function(e) {
|
|
1816
|
+
var n = e.children, r = e.innerProps, i = e.innerRef, a = e.isMulti;
|
|
1817
|
+
return B("div", W({}, L(e, "menuList", {
|
|
1818
|
+
"menu-list": !0,
|
|
1819
|
+
"menu-list--is-multi": a
|
|
1820
|
+
}), {
|
|
1821
|
+
ref: i
|
|
1822
|
+
}, r), n);
|
|
1823
|
+
}, Mn = function(e, n) {
|
|
1824
|
+
var r = e.theme, i = r.spacing.baseUnit, a = r.colors;
|
|
1825
|
+
return P({
|
|
1826
|
+
textAlign: "center"
|
|
1827
|
+
}, n ? {} : {
|
|
1828
|
+
color: a.neutral40,
|
|
1829
|
+
padding: "".concat(i * 2, "px ").concat(i * 3, "px")
|
|
1830
|
+
});
|
|
1831
|
+
}, Io = Mn, ho = Mn, Hi = function(e) {
|
|
1832
|
+
var n = e.children, r = n === void 0 ? "No options" : n, i = e.innerProps, a = ee(e, Bi);
|
|
1833
|
+
return B("div", W({}, L(P(P({}, a), {}, {
|
|
1834
|
+
children: r,
|
|
1835
|
+
innerProps: i
|
|
1836
|
+
}), "noOptionsMessage", {
|
|
1837
|
+
"menu-notice": !0,
|
|
1838
|
+
"menu-notice--no-options": !0
|
|
1839
|
+
}), i), r);
|
|
1840
|
+
}, Zi = function(e) {
|
|
1841
|
+
var n = e.children, r = n === void 0 ? "Loading..." : n, i = e.innerProps, a = ee(e, wi);
|
|
1842
|
+
return B("div", W({}, L(P(P({}, a), {}, {
|
|
1843
|
+
children: r,
|
|
1844
|
+
innerProps: i
|
|
1845
|
+
}), "loadingMessage", {
|
|
1846
|
+
"menu-notice": !0,
|
|
1847
|
+
"menu-notice--loading": !0
|
|
1848
|
+
}), i), r);
|
|
1849
|
+
}, Co = function(e) {
|
|
1850
|
+
var n = e.rect, r = e.offset, i = e.position;
|
|
1851
|
+
return {
|
|
1852
|
+
left: n.left,
|
|
1853
|
+
position: i,
|
|
1854
|
+
top: r,
|
|
1855
|
+
width: n.width,
|
|
1856
|
+
zIndex: 1
|
|
1857
|
+
};
|
|
1858
|
+
}, Mi = function(e) {
|
|
1859
|
+
var n = e.appendTo, r = e.children, i = e.controlElement, a = e.innerProps, o = e.menuPlacement, c = e.menuPosition, u = we(null), s = we(null), l = Ie(Hn(o)), b = se(l, 2), m = b[0], x = b[1], C = _n(function() {
|
|
1860
|
+
return {
|
|
1861
|
+
setPortalPlacement: x
|
|
1862
|
+
};
|
|
1863
|
+
}, []), v = Ie(null), h = se(v, 2), f = h[0], G = h[1], A = ut(function() {
|
|
1864
|
+
if (i) {
|
|
1865
|
+
var y = Pi(i), U = c === "fixed" ? 0 : window.pageYOffset, te = y[m] + U;
|
|
1866
|
+
(te !== f?.offset || y.left !== f?.rect.left || y.width !== f?.rect.width) && G({
|
|
1867
|
+
offset: te,
|
|
1868
|
+
rect: y
|
|
1869
|
+
});
|
|
1870
|
+
}
|
|
1871
|
+
}, [i, c, m, f?.offset, f?.rect.left, f?.rect.width]);
|
|
1872
|
+
At(function() {
|
|
1873
|
+
A();
|
|
1874
|
+
}, [A]);
|
|
1875
|
+
var R = ut(function() {
|
|
1876
|
+
typeof s.current == "function" && (s.current(), s.current = null), i && u.current && (s.current = Ci(i, u.current, A, {
|
|
1877
|
+
elementResize: "ResizeObserver" in window
|
|
1878
|
+
}));
|
|
1879
|
+
}, [i, A]);
|
|
1880
|
+
At(function() {
|
|
1881
|
+
R();
|
|
1882
|
+
}, [R]);
|
|
1883
|
+
var d = ut(function(y) {
|
|
1884
|
+
u.current = y, R();
|
|
1885
|
+
}, [R]);
|
|
1886
|
+
if (!n && c !== "fixed" || !f) return null;
|
|
1887
|
+
var T = B("div", W({
|
|
1888
|
+
ref: d
|
|
1889
|
+
}, L(P(P({}, e), {}, {
|
|
1890
|
+
offset: f.offset,
|
|
1891
|
+
position: c,
|
|
1892
|
+
rect: f.rect
|
|
1893
|
+
}), "menuPortal", {
|
|
1894
|
+
"menu-portal": !0
|
|
1895
|
+
}), a), r);
|
|
1896
|
+
return B(Zn.Provider, {
|
|
1897
|
+
value: C
|
|
1898
|
+
}, n ? /* @__PURE__ */ qn(T, n) : T);
|
|
1899
|
+
}, yo = function(e) {
|
|
1900
|
+
var n = e.isDisabled, r = e.isRtl;
|
|
1901
|
+
return {
|
|
1902
|
+
label: "container",
|
|
1903
|
+
direction: r ? "rtl" : void 0,
|
|
1904
|
+
pointerEvents: n ? "none" : void 0,
|
|
1905
|
+
// cancel mouse events when disabled
|
|
1906
|
+
position: "relative"
|
|
1907
|
+
};
|
|
1908
|
+
}, Yi = function(e) {
|
|
1909
|
+
var n = e.children, r = e.innerProps, i = e.isDisabled, a = e.isRtl;
|
|
1910
|
+
return B("div", W({}, L(e, "container", {
|
|
1911
|
+
"--is-disabled": i,
|
|
1912
|
+
"--is-rtl": a
|
|
1913
|
+
}), r), n);
|
|
1914
|
+
}, xo = function(e, n) {
|
|
1915
|
+
var r = e.theme.spacing, i = e.isMulti, a = e.hasValue, o = e.selectProps.controlShouldRenderValue;
|
|
1916
|
+
return P({
|
|
1917
|
+
alignItems: "center",
|
|
1918
|
+
display: i && a && o ? "flex" : "grid",
|
|
1919
|
+
flex: 1,
|
|
1920
|
+
flexWrap: "wrap",
|
|
1921
|
+
WebkitOverflowScrolling: "touch",
|
|
1922
|
+
position: "relative",
|
|
1923
|
+
overflow: "hidden"
|
|
1924
|
+
}, n ? {} : {
|
|
1925
|
+
padding: "".concat(r.baseUnit / 2, "px ").concat(r.baseUnit * 2, "px")
|
|
1926
|
+
});
|
|
1927
|
+
}, Oi = function(e) {
|
|
1928
|
+
var n = e.children, r = e.innerProps, i = e.isMulti, a = e.hasValue;
|
|
1929
|
+
return B("div", W({}, L(e, "valueContainer", {
|
|
1930
|
+
"value-container": !0,
|
|
1931
|
+
"value-container--is-multi": i,
|
|
1932
|
+
"value-container--has-value": a
|
|
1933
|
+
}), r), n);
|
|
1934
|
+
}, Ao = function() {
|
|
1935
|
+
return {
|
|
1936
|
+
alignItems: "center",
|
|
1937
|
+
alignSelf: "stretch",
|
|
1938
|
+
display: "flex",
|
|
1939
|
+
flexShrink: 0
|
|
1940
|
+
};
|
|
1941
|
+
}, Ji = function(e) {
|
|
1942
|
+
var n = e.children, r = e.innerProps;
|
|
1943
|
+
return B("div", W({}, L(e, "indicatorsContainer", {
|
|
1944
|
+
indicators: !0
|
|
1945
|
+
}), r), n);
|
|
1946
|
+
}, an, zi = ["size"], ji = ["innerProps", "isRtl", "size"];
|
|
1947
|
+
function Fi() {
|
|
1948
|
+
return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop).";
|
|
1949
|
+
}
|
|
1950
|
+
var Li = process.env.NODE_ENV === "production" ? {
|
|
1951
|
+
name: "8mmkcg",
|
|
1952
|
+
styles: "display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"
|
|
1953
|
+
} : {
|
|
1954
|
+
name: "tj5bde-Svg",
|
|
1955
|
+
styles: "display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0;label:Svg;",
|
|
1956
|
+
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50Ij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gIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG4iXX0= */",
|
|
1957
|
+
toString: Fi
|
|
1958
|
+
}, Yn = function(e) {
|
|
1959
|
+
var n = e.size, r = ee(e, zi);
|
|
1960
|
+
return B("svg", W({
|
|
1961
|
+
height: n,
|
|
1962
|
+
width: n,
|
|
1963
|
+
viewBox: "0 0 20 20",
|
|
1964
|
+
"aria-hidden": "true",
|
|
1965
|
+
focusable: "false",
|
|
1966
|
+
css: Li
|
|
1967
|
+
}, r));
|
|
1968
|
+
}, Mt = function(e) {
|
|
1969
|
+
return B(Yn, W({
|
|
1970
|
+
size: 20
|
|
1971
|
+
}, e), B("path", {
|
|
1972
|
+
d: "M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"
|
|
1973
|
+
}));
|
|
1974
|
+
}, On = function(e) {
|
|
1975
|
+
return B(Yn, W({
|
|
1976
|
+
size: 20
|
|
1977
|
+
}, e), B("path", {
|
|
1978
|
+
d: "M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"
|
|
1979
|
+
}));
|
|
1980
|
+
}, Jn = function(e, n) {
|
|
1981
|
+
var r = e.isFocused, i = e.theme, a = i.spacing.baseUnit, o = i.colors;
|
|
1982
|
+
return P({
|
|
1983
|
+
label: "indicatorContainer",
|
|
1984
|
+
display: "flex",
|
|
1985
|
+
transition: "color 150ms"
|
|
1986
|
+
}, n ? {} : {
|
|
1987
|
+
color: r ? o.neutral60 : o.neutral20,
|
|
1988
|
+
padding: a * 2,
|
|
1989
|
+
":hover": {
|
|
1990
|
+
color: r ? o.neutral80 : o.neutral40
|
|
1991
|
+
}
|
|
1992
|
+
});
|
|
1993
|
+
}, Go = Jn, Di = function(e) {
|
|
1994
|
+
var n = e.children, r = e.innerProps;
|
|
1995
|
+
return B("div", W({}, L(e, "dropdownIndicator", {
|
|
1996
|
+
indicator: !0,
|
|
1997
|
+
"dropdown-indicator": !0
|
|
1998
|
+
}), r), n || B(On, null));
|
|
1999
|
+
}, Ro = Jn, ki = function(e) {
|
|
2000
|
+
var n = e.children, r = e.innerProps;
|
|
2001
|
+
return B("div", W({}, L(e, "clearIndicator", {
|
|
2002
|
+
indicator: !0,
|
|
2003
|
+
"clear-indicator": !0
|
|
2004
|
+
}), r), n || B(Mt, null));
|
|
2005
|
+
}, Po = function(e, n) {
|
|
2006
|
+
var r = e.isDisabled, i = e.theme, a = i.spacing.baseUnit, o = i.colors;
|
|
2007
|
+
return P({
|
|
2008
|
+
label: "indicatorSeparator",
|
|
2009
|
+
alignSelf: "stretch",
|
|
2010
|
+
width: 1
|
|
2011
|
+
}, n ? {} : {
|
|
2012
|
+
backgroundColor: r ? o.neutral10 : o.neutral20,
|
|
2013
|
+
marginBottom: a * 2,
|
|
2014
|
+
marginTop: a * 2
|
|
2015
|
+
});
|
|
2016
|
+
}, Ui = function(e) {
|
|
2017
|
+
var n = e.innerProps;
|
|
2018
|
+
return B("span", W({}, n, L(e, "indicatorSeparator", {
|
|
2019
|
+
"indicator-separator": !0
|
|
2020
|
+
})));
|
|
2021
|
+
}, Qi = ni(an || (an = ci([`
|
|
2022
|
+
0%, 80%, 100% { opacity: 0; }
|
|
2023
|
+
40% { opacity: 1; }
|
|
2024
|
+
`]))), So = function(e, n) {
|
|
2025
|
+
var r = e.isFocused, i = e.size, a = e.theme, o = a.colors, c = a.spacing.baseUnit;
|
|
2026
|
+
return P({
|
|
2027
|
+
label: "loadingIndicator",
|
|
2028
|
+
display: "flex",
|
|
2029
|
+
transition: "color 150ms",
|
|
2030
|
+
alignSelf: "center",
|
|
2031
|
+
fontSize: i,
|
|
2032
|
+
lineHeight: 1,
|
|
2033
|
+
marginRight: i,
|
|
2034
|
+
textAlign: "center",
|
|
2035
|
+
verticalAlign: "middle"
|
|
2036
|
+
}, n ? {} : {
|
|
2037
|
+
color: r ? o.neutral60 : o.neutral20,
|
|
2038
|
+
padding: c * 2
|
|
2039
|
+
});
|
|
2040
|
+
}, dt = function(e) {
|
|
2041
|
+
var n = e.delay, r = e.offset;
|
|
2042
|
+
return B("span", {
|
|
2043
|
+
css: /* @__PURE__ */ Pn({
|
|
2044
|
+
animation: "".concat(Qi, " 1s ease-in-out ").concat(n, "ms infinite;"),
|
|
2045
|
+
backgroundColor: "currentColor",
|
|
2046
|
+
borderRadius: "1em",
|
|
2047
|
+
display: "inline-block",
|
|
2048
|
+
marginLeft: r ? "1em" : void 0,
|
|
2049
|
+
height: "1em",
|
|
2050
|
+
verticalAlign: "top",
|
|
2051
|
+
width: "1em"
|
|
2052
|
+
}, process.env.NODE_ENV === "production" ? "" : ";label:LoadingDot;", process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW1RSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW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gICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG4iXX0= */")
|
|
2053
|
+
});
|
|
2054
|
+
}, _i = function(e) {
|
|
2055
|
+
var n = e.innerProps, r = e.isRtl, i = e.size, a = i === void 0 ? 4 : i, o = ee(e, ji);
|
|
2056
|
+
return B("div", W({}, L(P(P({}, o), {}, {
|
|
2057
|
+
innerProps: n,
|
|
2058
|
+
isRtl: r,
|
|
2059
|
+
size: a
|
|
2060
|
+
}), "loadingIndicator", {
|
|
2061
|
+
indicator: !0,
|
|
2062
|
+
"loading-indicator": !0
|
|
2063
|
+
}), n), B(dt, {
|
|
2064
|
+
delay: 0,
|
|
2065
|
+
offset: r
|
|
2066
|
+
}), B(dt, {
|
|
2067
|
+
delay: 160,
|
|
2068
|
+
offset: !0
|
|
2069
|
+
}), B(dt, {
|
|
2070
|
+
delay: 320,
|
|
2071
|
+
offset: !r
|
|
2072
|
+
}));
|
|
2073
|
+
}, To = function(e, n) {
|
|
2074
|
+
var r = e.isDisabled, i = e.isFocused, a = e.theme, o = a.colors, c = a.borderRadius, u = a.spacing;
|
|
2075
|
+
return P({
|
|
2076
|
+
label: "control",
|
|
2077
|
+
alignItems: "center",
|
|
2078
|
+
cursor: "default",
|
|
2079
|
+
display: "flex",
|
|
2080
|
+
flexWrap: "wrap",
|
|
2081
|
+
justifyContent: "space-between",
|
|
2082
|
+
minHeight: u.controlHeight,
|
|
2083
|
+
outline: "0 !important",
|
|
2084
|
+
position: "relative",
|
|
2085
|
+
transition: "all 100ms"
|
|
2086
|
+
}, n ? {} : {
|
|
2087
|
+
backgroundColor: r ? o.neutral5 : o.neutral0,
|
|
2088
|
+
borderColor: r ? o.neutral10 : i ? o.primary : o.neutral20,
|
|
2089
|
+
borderRadius: c,
|
|
2090
|
+
borderStyle: "solid",
|
|
2091
|
+
borderWidth: 1,
|
|
2092
|
+
boxShadow: i ? "0 0 0 1px ".concat(o.primary) : void 0,
|
|
2093
|
+
"&:hover": {
|
|
2094
|
+
borderColor: i ? o.primary : o.neutral30
|
|
2095
|
+
}
|
|
2096
|
+
});
|
|
2097
|
+
}, $i = function(e) {
|
|
2098
|
+
var n = e.children, r = e.isDisabled, i = e.isFocused, a = e.innerRef, o = e.innerProps, c = e.menuIsOpen;
|
|
2099
|
+
return B("div", W({
|
|
2100
|
+
ref: a
|
|
2101
|
+
}, L(e, "control", {
|
|
2102
|
+
control: !0,
|
|
2103
|
+
"control--is-disabled": r,
|
|
2104
|
+
"control--is-focused": i,
|
|
2105
|
+
"control--menu-is-open": c
|
|
2106
|
+
}), o, {
|
|
2107
|
+
"aria-disabled": r || void 0
|
|
2108
|
+
}), n);
|
|
2109
|
+
}, Ki = $i, qi = ["data"], Bo = function(e, n) {
|
|
2110
|
+
var r = e.theme.spacing;
|
|
2111
|
+
return n ? {} : {
|
|
2112
|
+
paddingBottom: r.baseUnit * 2,
|
|
2113
|
+
paddingTop: r.baseUnit * 2
|
|
2114
|
+
};
|
|
2115
|
+
}, ea = function(e) {
|
|
2116
|
+
var n = e.children, r = e.cx, i = e.getStyles, a = e.getClassNames, o = e.Heading, c = e.headingProps, u = e.innerProps, s = e.label, l = e.theme, b = e.selectProps;
|
|
2117
|
+
return B("div", W({}, L(e, "group", {
|
|
2118
|
+
group: !0
|
|
2119
|
+
}), u), B(o, W({}, c, {
|
|
2120
|
+
selectProps: b,
|
|
2121
|
+
theme: l,
|
|
2122
|
+
getStyles: i,
|
|
2123
|
+
getClassNames: a,
|
|
2124
|
+
cx: r
|
|
2125
|
+
}), s), B("div", null, n));
|
|
2126
|
+
}, wo = function(e, n) {
|
|
2127
|
+
var r = e.theme, i = r.colors, a = r.spacing;
|
|
2128
|
+
return P({
|
|
2129
|
+
label: "group",
|
|
2130
|
+
cursor: "default",
|
|
2131
|
+
display: "block"
|
|
2132
|
+
}, n ? {} : {
|
|
2133
|
+
color: i.neutral40,
|
|
2134
|
+
fontSize: "75%",
|
|
2135
|
+
fontWeight: 500,
|
|
2136
|
+
marginBottom: "0.25em",
|
|
2137
|
+
paddingLeft: a.baseUnit * 3,
|
|
2138
|
+
paddingRight: a.baseUnit * 3,
|
|
2139
|
+
textTransform: "uppercase"
|
|
2140
|
+
});
|
|
2141
|
+
}, ta = function(e) {
|
|
2142
|
+
var n = Nn(e);
|
|
2143
|
+
n.data;
|
|
2144
|
+
var r = ee(n, qi);
|
|
2145
|
+
return B("div", W({}, L(e, "groupHeading", {
|
|
2146
|
+
"group-heading": !0
|
|
2147
|
+
}), r));
|
|
2148
|
+
}, na = ea, ra = ["innerRef", "isDisabled", "isHidden", "inputClassName"], Eo = function(e, n) {
|
|
2149
|
+
var r = e.isDisabled, i = e.value, a = e.theme, o = a.spacing, c = a.colors;
|
|
2150
|
+
return P(P({
|
|
2151
|
+
visibility: r ? "hidden" : "visible",
|
|
2152
|
+
// force css to recompute when value change due to @emotion bug.
|
|
2153
|
+
// We can remove it whenever the bug is fixed.
|
|
2154
|
+
transform: i ? "translateZ(0)" : ""
|
|
2155
|
+
}, ia), n ? {} : {
|
|
2156
|
+
margin: o.baseUnit / 2,
|
|
2157
|
+
paddingBottom: o.baseUnit / 2,
|
|
2158
|
+
paddingTop: o.baseUnit / 2,
|
|
2159
|
+
color: c.neutral80
|
|
2160
|
+
});
|
|
2161
|
+
}, zn = {
|
|
2162
|
+
gridArea: "1 / 2",
|
|
2163
|
+
font: "inherit",
|
|
2164
|
+
minWidth: "2px",
|
|
2165
|
+
border: 0,
|
|
2166
|
+
margin: 0,
|
|
2167
|
+
outline: 0,
|
|
2168
|
+
padding: 0
|
|
2169
|
+
}, ia = {
|
|
2170
|
+
flex: "1 1 auto",
|
|
2171
|
+
display: "inline-grid",
|
|
2172
|
+
gridArea: "1 / 1 / 2 / 3",
|
|
2173
|
+
gridTemplateColumns: "0 min-content",
|
|
2174
|
+
"&:after": P({
|
|
2175
|
+
content: 'attr(data-value) " "',
|
|
2176
|
+
visibility: "hidden",
|
|
2177
|
+
whiteSpace: "pre"
|
|
2178
|
+
}, zn)
|
|
2179
|
+
}, aa = function(e) {
|
|
2180
|
+
return P({
|
|
2181
|
+
label: "input",
|
|
2182
|
+
color: "inherit",
|
|
2183
|
+
background: 0,
|
|
2184
|
+
opacity: e ? 0 : 1,
|
|
2185
|
+
width: "100%"
|
|
2186
|
+
}, zn);
|
|
2187
|
+
}, oa = function(e) {
|
|
2188
|
+
var n = e.cx, r = e.value, i = Nn(e), a = i.innerRef, o = i.isDisabled, c = i.isHidden, u = i.inputClassName, s = ee(i, ra);
|
|
2189
|
+
return B("div", W({}, L(e, "input", {
|
|
2190
|
+
"input-container": !0
|
|
2191
|
+
}), {
|
|
2192
|
+
"data-value": r || ""
|
|
2193
|
+
}), B("input", W({
|
|
2194
|
+
className: n({
|
|
2195
|
+
input: !0
|
|
2196
|
+
}, u),
|
|
2197
|
+
ref: a,
|
|
2198
|
+
style: aa(c),
|
|
2199
|
+
disabled: o
|
|
2200
|
+
}, s)));
|
|
2201
|
+
}, ca = oa, Xo = function(e, n) {
|
|
2202
|
+
var r = e.theme, i = r.spacing, a = r.borderRadius, o = r.colors;
|
|
2203
|
+
return P({
|
|
2204
|
+
label: "multiValue",
|
|
2205
|
+
display: "flex",
|
|
2206
|
+
minWidth: 0
|
|
2207
|
+
}, n ? {} : {
|
|
2208
|
+
backgroundColor: o.neutral10,
|
|
2209
|
+
borderRadius: a / 2,
|
|
2210
|
+
margin: i.baseUnit / 2
|
|
2211
|
+
});
|
|
2212
|
+
}, No = function(e, n) {
|
|
2213
|
+
var r = e.theme, i = r.borderRadius, a = r.colors, o = e.cropWithEllipsis;
|
|
2214
|
+
return P({
|
|
2215
|
+
overflow: "hidden",
|
|
2216
|
+
textOverflow: o || o === void 0 ? "ellipsis" : void 0,
|
|
2217
|
+
whiteSpace: "nowrap"
|
|
2218
|
+
}, n ? {} : {
|
|
2219
|
+
borderRadius: i / 2,
|
|
2220
|
+
color: a.neutral80,
|
|
2221
|
+
fontSize: "85%",
|
|
2222
|
+
padding: 3,
|
|
2223
|
+
paddingLeft: 6
|
|
2224
|
+
});
|
|
2225
|
+
}, Vo = function(e, n) {
|
|
2226
|
+
var r = e.theme, i = r.spacing, a = r.borderRadius, o = r.colors, c = e.isFocused;
|
|
2227
|
+
return P({
|
|
2228
|
+
alignItems: "center",
|
|
2229
|
+
display: "flex"
|
|
2230
|
+
}, n ? {} : {
|
|
2231
|
+
borderRadius: a / 2,
|
|
2232
|
+
backgroundColor: c ? o.dangerLight : void 0,
|
|
2233
|
+
paddingLeft: i.baseUnit,
|
|
2234
|
+
paddingRight: i.baseUnit,
|
|
2235
|
+
":hover": {
|
|
2236
|
+
backgroundColor: o.dangerLight,
|
|
2237
|
+
color: o.danger
|
|
2238
|
+
}
|
|
2239
|
+
});
|
|
2240
|
+
}, jn = function(e) {
|
|
2241
|
+
var n = e.children, r = e.innerProps;
|
|
2242
|
+
return B("div", r, n);
|
|
2243
|
+
}, ua = jn, sa = jn;
|
|
2244
|
+
function la(t) {
|
|
2245
|
+
var e = t.children, n = t.innerProps;
|
|
2246
|
+
return B("div", W({
|
|
2247
|
+
role: "button"
|
|
2248
|
+
}, n), e || B(Mt, {
|
|
2249
|
+
size: 14
|
|
2250
|
+
}));
|
|
2251
|
+
}
|
|
2252
|
+
var da = function(e) {
|
|
2253
|
+
var n = e.children, r = e.components, i = e.data, a = e.innerProps, o = e.isDisabled, c = e.removeProps, u = e.selectProps, s = r.Container, l = r.Label, b = r.Remove;
|
|
2254
|
+
return B(s, {
|
|
2255
|
+
data: i,
|
|
2256
|
+
innerProps: P(P({}, L(e, "multiValue", {
|
|
2257
|
+
"multi-value": !0,
|
|
2258
|
+
"multi-value--is-disabled": o
|
|
2259
|
+
})), a),
|
|
2260
|
+
selectProps: u
|
|
2261
|
+
}, B(l, {
|
|
2262
|
+
data: i,
|
|
2263
|
+
innerProps: P({}, L(e, "multiValueLabel", {
|
|
2264
|
+
"multi-value__label": !0
|
|
2265
|
+
})),
|
|
2266
|
+
selectProps: u
|
|
2267
|
+
}, n), B(b, {
|
|
2268
|
+
data: i,
|
|
2269
|
+
innerProps: P(P({}, L(e, "multiValueRemove", {
|
|
2270
|
+
"multi-value__remove": !0
|
|
2271
|
+
})), {}, {
|
|
2272
|
+
"aria-label": "Remove ".concat(n || "option")
|
|
2273
|
+
}, c),
|
|
2274
|
+
selectProps: u
|
|
2275
|
+
}));
|
|
2276
|
+
}, ga = da, Wo = function(e, n) {
|
|
2277
|
+
var r = e.isDisabled, i = e.isFocused, a = e.isSelected, o = e.theme, c = o.spacing, u = o.colors;
|
|
2278
|
+
return P({
|
|
2279
|
+
label: "option",
|
|
2280
|
+
cursor: "default",
|
|
2281
|
+
display: "block",
|
|
2282
|
+
fontSize: "inherit",
|
|
2283
|
+
width: "100%",
|
|
2284
|
+
userSelect: "none",
|
|
2285
|
+
WebkitTapHighlightColor: "rgba(0, 0, 0, 0)"
|
|
2286
|
+
}, n ? {} : {
|
|
2287
|
+
backgroundColor: a ? u.primary : i ? u.primary25 : "transparent",
|
|
2288
|
+
color: r ? u.neutral20 : a ? u.neutral0 : "inherit",
|
|
2289
|
+
padding: "".concat(c.baseUnit * 2, "px ").concat(c.baseUnit * 3, "px"),
|
|
2290
|
+
// provide some affordance on touch devices
|
|
2291
|
+
":active": {
|
|
2292
|
+
backgroundColor: r ? void 0 : a ? u.primary : u.primary50
|
|
2293
|
+
}
|
|
2294
|
+
});
|
|
2295
|
+
}, fa = function(e) {
|
|
2296
|
+
var n = e.children, r = e.isDisabled, i = e.isFocused, a = e.isSelected, o = e.innerRef, c = e.innerProps;
|
|
2297
|
+
return B("div", W({}, L(e, "option", {
|
|
2298
|
+
option: !0,
|
|
2299
|
+
"option--is-disabled": r,
|
|
2300
|
+
"option--is-focused": i,
|
|
2301
|
+
"option--is-selected": a
|
|
2302
|
+
}), {
|
|
2303
|
+
ref: o,
|
|
2304
|
+
"aria-disabled": r
|
|
2305
|
+
}, c), n);
|
|
2306
|
+
}, ba = fa, Ho = function(e, n) {
|
|
2307
|
+
var r = e.theme, i = r.spacing, a = r.colors;
|
|
2308
|
+
return P({
|
|
2309
|
+
label: "placeholder",
|
|
2310
|
+
gridArea: "1 / 1 / 2 / 3"
|
|
2311
|
+
}, n ? {} : {
|
|
2312
|
+
color: a.neutral50,
|
|
2313
|
+
marginLeft: i.baseUnit / 2,
|
|
2314
|
+
marginRight: i.baseUnit / 2
|
|
2315
|
+
});
|
|
2316
|
+
}, va = function(e) {
|
|
2317
|
+
var n = e.children, r = e.innerProps;
|
|
2318
|
+
return B("div", W({}, L(e, "placeholder", {
|
|
2319
|
+
placeholder: !0
|
|
2320
|
+
}), r), n);
|
|
2321
|
+
}, pa = va, Zo = function(e, n) {
|
|
2322
|
+
var r = e.isDisabled, i = e.theme, a = i.spacing, o = i.colors;
|
|
2323
|
+
return P({
|
|
2324
|
+
label: "singleValue",
|
|
2325
|
+
gridArea: "1 / 1 / 2 / 3",
|
|
2326
|
+
maxWidth: "100%",
|
|
2327
|
+
overflow: "hidden",
|
|
2328
|
+
textOverflow: "ellipsis",
|
|
2329
|
+
whiteSpace: "nowrap"
|
|
2330
|
+
}, n ? {} : {
|
|
2331
|
+
color: r ? o.neutral40 : o.neutral80,
|
|
2332
|
+
marginLeft: a.baseUnit / 2,
|
|
2333
|
+
marginRight: a.baseUnit / 2
|
|
2334
|
+
});
|
|
2335
|
+
}, ma = function(e) {
|
|
2336
|
+
var n = e.children, r = e.isDisabled, i = e.innerProps;
|
|
2337
|
+
return B("div", W({}, L(e, "singleValue", {
|
|
2338
|
+
"single-value": !0,
|
|
2339
|
+
"single-value--is-disabled": r
|
|
2340
|
+
}), i), n);
|
|
2341
|
+
}, Ia = ma, ha = {
|
|
2342
|
+
ClearIndicator: ki,
|
|
2343
|
+
Control: Ki,
|
|
2344
|
+
DropdownIndicator: Di,
|
|
2345
|
+
DownChevron: On,
|
|
2346
|
+
CrossIcon: Mt,
|
|
2347
|
+
Group: na,
|
|
2348
|
+
GroupHeading: ta,
|
|
2349
|
+
IndicatorsContainer: Ji,
|
|
2350
|
+
IndicatorSeparator: Ui,
|
|
2351
|
+
Input: ca,
|
|
2352
|
+
LoadingIndicator: _i,
|
|
2353
|
+
Menu: Vi,
|
|
2354
|
+
MenuList: Wi,
|
|
2355
|
+
MenuPortal: Mi,
|
|
2356
|
+
LoadingMessage: Zi,
|
|
2357
|
+
NoOptionsMessage: Hi,
|
|
2358
|
+
MultiValue: ga,
|
|
2359
|
+
MultiValueContainer: ua,
|
|
2360
|
+
MultiValueLabel: sa,
|
|
2361
|
+
MultiValueRemove: la,
|
|
2362
|
+
Option: ba,
|
|
2363
|
+
Placeholder: pa,
|
|
2364
|
+
SelectContainer: Yi,
|
|
2365
|
+
SingleValue: Ia,
|
|
2366
|
+
ValueContainer: Oi
|
|
2367
|
+
}, Ca = function(e) {
|
|
2368
|
+
return P(P({}, ha), e.components);
|
|
2369
|
+
};
|
|
2370
|
+
function Rt(t, e) {
|
|
2371
|
+
return Rt = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(n, r) {
|
|
2372
|
+
return n.__proto__ = r, n;
|
|
2373
|
+
}, Rt(t, e);
|
|
2374
|
+
}
|
|
2375
|
+
function Fn(t, e) {
|
|
2376
|
+
t.prototype = Object.create(e.prototype), t.prototype.constructor = t, Rt(t, e);
|
|
2377
|
+
}
|
|
2378
|
+
var Fe = { exports: {} };
|
|
2379
|
+
/*
|
|
2380
|
+
object-assign
|
|
2381
|
+
(c) Sindre Sorhus
|
|
2382
|
+
@license MIT
|
|
2383
|
+
*/
|
|
2384
|
+
var gt, on;
|
|
2385
|
+
function ya() {
|
|
2386
|
+
if (on) return gt;
|
|
2387
|
+
on = 1;
|
|
2388
|
+
var t = Object.getOwnPropertySymbols, e = Object.prototype.hasOwnProperty, n = Object.prototype.propertyIsEnumerable;
|
|
2389
|
+
function r(a) {
|
|
2390
|
+
if (a == null)
|
|
2391
|
+
throw new TypeError("Object.assign cannot be called with null or undefined");
|
|
2392
|
+
return Object(a);
|
|
2393
|
+
}
|
|
2394
|
+
function i() {
|
|
2395
|
+
try {
|
|
2396
|
+
if (!Object.assign)
|
|
2397
|
+
return !1;
|
|
2398
|
+
var a = new String("abc");
|
|
2399
|
+
if (a[5] = "de", Object.getOwnPropertyNames(a)[0] === "5")
|
|
2400
|
+
return !1;
|
|
2401
|
+
for (var o = {}, c = 0; c < 10; c++)
|
|
2402
|
+
o["_" + String.fromCharCode(c)] = c;
|
|
2403
|
+
var u = Object.getOwnPropertyNames(o).map(function(l) {
|
|
2404
|
+
return o[l];
|
|
2405
|
+
});
|
|
2406
|
+
if (u.join("") !== "0123456789")
|
|
2407
|
+
return !1;
|
|
2408
|
+
var s = {};
|
|
2409
|
+
return "abcdefghijklmnopqrst".split("").forEach(function(l) {
|
|
2410
|
+
s[l] = l;
|
|
2411
|
+
}), Object.keys(Object.assign({}, s)).join("") === "abcdefghijklmnopqrst";
|
|
2412
|
+
} catch {
|
|
2413
|
+
return !1;
|
|
2414
|
+
}
|
|
2415
|
+
}
|
|
2416
|
+
return gt = i() ? Object.assign : function(a, o) {
|
|
2417
|
+
for (var c, u = r(a), s, l = 1; l < arguments.length; l++) {
|
|
2418
|
+
c = Object(arguments[l]);
|
|
2419
|
+
for (var b in c)
|
|
2420
|
+
e.call(c, b) && (u[b] = c[b]);
|
|
2421
|
+
if (t) {
|
|
2422
|
+
s = t(c);
|
|
2423
|
+
for (var m = 0; m < s.length; m++)
|
|
2424
|
+
n.call(c, s[m]) && (u[s[m]] = c[s[m]]);
|
|
2425
|
+
}
|
|
2426
|
+
}
|
|
2427
|
+
return u;
|
|
2428
|
+
}, gt;
|
|
2429
|
+
}
|
|
2430
|
+
var ft, cn;
|
|
2431
|
+
function Yt() {
|
|
2432
|
+
if (cn) return ft;
|
|
2433
|
+
cn = 1;
|
|
2434
|
+
var t = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
|
|
2435
|
+
return ft = t, ft;
|
|
2436
|
+
}
|
|
2437
|
+
var bt, un;
|
|
2438
|
+
function Ln() {
|
|
2439
|
+
return un || (un = 1, bt = Function.call.bind(Object.prototype.hasOwnProperty)), bt;
|
|
2440
|
+
}
|
|
2441
|
+
var vt, sn;
|
|
2442
|
+
function xa() {
|
|
2443
|
+
if (sn) return vt;
|
|
2444
|
+
sn = 1;
|
|
2445
|
+
var t = function() {
|
|
2446
|
+
};
|
|
2447
|
+
if (process.env.NODE_ENV !== "production") {
|
|
2448
|
+
var e = /* @__PURE__ */ Yt(), n = {}, r = /* @__PURE__ */ Ln();
|
|
2449
|
+
t = function(a) {
|
|
2450
|
+
var o = "Warning: " + a;
|
|
2451
|
+
typeof console < "u" && console.error(o);
|
|
2452
|
+
try {
|
|
2453
|
+
throw new Error(o);
|
|
2454
|
+
} catch {
|
|
2455
|
+
}
|
|
2456
|
+
};
|
|
2457
|
+
}
|
|
2458
|
+
function i(a, o, c, u, s) {
|
|
2459
|
+
if (process.env.NODE_ENV !== "production") {
|
|
2460
|
+
for (var l in a)
|
|
2461
|
+
if (r(a, l)) {
|
|
2462
|
+
var b;
|
|
2463
|
+
try {
|
|
2464
|
+
if (typeof a[l] != "function") {
|
|
2465
|
+
var m = Error(
|
|
2466
|
+
(u || "React class") + ": " + c + " type `" + l + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof a[l] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
|
|
2467
|
+
);
|
|
2468
|
+
throw m.name = "Invariant Violation", m;
|
|
2469
|
+
}
|
|
2470
|
+
b = a[l](o, l, u, c, null, e);
|
|
2471
|
+
} catch (C) {
|
|
2472
|
+
b = C;
|
|
2473
|
+
}
|
|
2474
|
+
if (b && !(b instanceof Error) && t(
|
|
2475
|
+
(u || "React class") + ": type specification of " + c + " `" + l + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof b + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
|
|
2476
|
+
), b instanceof Error && !(b.message in n)) {
|
|
2477
|
+
n[b.message] = !0;
|
|
2478
|
+
var x = s ? s() : "";
|
|
2479
|
+
t(
|
|
2480
|
+
"Failed " + c + " type: " + b.message + (x ?? "")
|
|
2481
|
+
);
|
|
2482
|
+
}
|
|
2483
|
+
}
|
|
2484
|
+
}
|
|
2485
|
+
}
|
|
2486
|
+
return i.resetWarningCache = function() {
|
|
2487
|
+
process.env.NODE_ENV !== "production" && (n = {});
|
|
2488
|
+
}, vt = i, vt;
|
|
2489
|
+
}
|
|
2490
|
+
var pt, ln;
|
|
2491
|
+
function Aa() {
|
|
2492
|
+
if (ln) return pt;
|
|
2493
|
+
ln = 1;
|
|
2494
|
+
var t = Xt(), e = ya(), n = /* @__PURE__ */ Yt(), r = /* @__PURE__ */ Ln(), i = /* @__PURE__ */ xa(), a = function() {
|
|
2495
|
+
};
|
|
2496
|
+
process.env.NODE_ENV !== "production" && (a = function(c) {
|
|
2497
|
+
var u = "Warning: " + c;
|
|
2498
|
+
typeof console < "u" && console.error(u);
|
|
2499
|
+
try {
|
|
2500
|
+
throw new Error(u);
|
|
2501
|
+
} catch {
|
|
2502
|
+
}
|
|
2503
|
+
});
|
|
2504
|
+
function o() {
|
|
2505
|
+
return null;
|
|
2506
|
+
}
|
|
2507
|
+
return pt = function(c, u) {
|
|
2508
|
+
var s = typeof Symbol == "function" && Symbol.iterator, l = "@@iterator";
|
|
2509
|
+
function b(g) {
|
|
2510
|
+
var I = g && (s && g[s] || g[l]);
|
|
2511
|
+
if (typeof I == "function")
|
|
2512
|
+
return I;
|
|
2513
|
+
}
|
|
2514
|
+
var m = "<<anonymous>>", x = {
|
|
2515
|
+
array: f("array"),
|
|
2516
|
+
bigint: f("bigint"),
|
|
2517
|
+
bool: f("boolean"),
|
|
2518
|
+
func: f("function"),
|
|
2519
|
+
number: f("number"),
|
|
2520
|
+
object: f("object"),
|
|
2521
|
+
string: f("string"),
|
|
2522
|
+
symbol: f("symbol"),
|
|
2523
|
+
any: G(),
|
|
2524
|
+
arrayOf: A,
|
|
2525
|
+
element: R(),
|
|
2526
|
+
elementType: d(),
|
|
2527
|
+
instanceOf: T,
|
|
2528
|
+
node: ge(),
|
|
2529
|
+
objectOf: U,
|
|
2530
|
+
oneOf: y,
|
|
2531
|
+
oneOfType: te,
|
|
2532
|
+
shape: de,
|
|
2533
|
+
exact: Pe
|
|
2534
|
+
};
|
|
2535
|
+
function C(g, I) {
|
|
2536
|
+
return g === I ? g !== 0 || 1 / g === 1 / I : g !== g && I !== I;
|
|
2537
|
+
}
|
|
2538
|
+
function v(g, I) {
|
|
2539
|
+
this.message = g, this.data = I && typeof I == "object" ? I : {}, this.stack = "";
|
|
2540
|
+
}
|
|
2541
|
+
v.prototype = Error.prototype;
|
|
2542
|
+
function h(g) {
|
|
2543
|
+
if (process.env.NODE_ENV !== "production")
|
|
2544
|
+
var I = {}, V = 0;
|
|
2545
|
+
function X(H, E, N, Z, j, M, _) {
|
|
2546
|
+
if (Z = Z || m, M = M || N, _ !== n) {
|
|
2547
|
+
if (u) {
|
|
2548
|
+
var p = new Error(
|
|
2549
|
+
"Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
|
|
2550
|
+
);
|
|
2551
|
+
throw p.name = "Invariant Violation", p;
|
|
2552
|
+
} else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
|
|
2553
|
+
var ne = Z + ":" + N;
|
|
2554
|
+
!I[ne] && // Avoid spamming the console because they are often not actionable except for lib authors
|
|
2555
|
+
V < 3 && (a(
|
|
2556
|
+
"You are manually calling a React.PropTypes validation function for the `" + M + "` prop on `" + Z + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
|
|
2557
|
+
), I[ne] = !0, V++);
|
|
2558
|
+
}
|
|
2559
|
+
}
|
|
2560
|
+
return E[N] == null ? H ? E[N] === null ? new v("The " + j + " `" + M + "` is marked as required " + ("in `" + Z + "`, but its value is `null`.")) : new v("The " + j + " `" + M + "` is marked as required in " + ("`" + Z + "`, but its value is `undefined`.")) : null : g(E, N, Z, j, M);
|
|
2561
|
+
}
|
|
2562
|
+
var w = X.bind(null, !1);
|
|
2563
|
+
return w.isRequired = X.bind(null, !0), w;
|
|
2564
|
+
}
|
|
2565
|
+
function f(g) {
|
|
2566
|
+
function I(V, X, w, H, E, N) {
|
|
2567
|
+
var Z = V[X], j = K(Z);
|
|
2568
|
+
if (j !== g) {
|
|
2569
|
+
var M = be(Z);
|
|
2570
|
+
return new v(
|
|
2571
|
+
"Invalid " + H + " `" + E + "` of type " + ("`" + M + "` supplied to `" + w + "`, expected ") + ("`" + g + "`."),
|
|
2572
|
+
{ expectedType: g }
|
|
2573
|
+
);
|
|
2574
|
+
}
|
|
2575
|
+
return null;
|
|
2576
|
+
}
|
|
2577
|
+
return h(I);
|
|
2578
|
+
}
|
|
2579
|
+
function G() {
|
|
2580
|
+
return h(o);
|
|
2581
|
+
}
|
|
2582
|
+
function A(g) {
|
|
2583
|
+
function I(V, X, w, H, E) {
|
|
2584
|
+
if (typeof g != "function")
|
|
2585
|
+
return new v("Property `" + E + "` of component `" + w + "` has invalid PropType notation inside arrayOf.");
|
|
2586
|
+
var N = V[X];
|
|
2587
|
+
if (!Array.isArray(N)) {
|
|
2588
|
+
var Z = K(N);
|
|
2589
|
+
return new v("Invalid " + H + " `" + E + "` of type " + ("`" + Z + "` supplied to `" + w + "`, expected an array."));
|
|
2590
|
+
}
|
|
2591
|
+
for (var j = 0; j < N.length; j++) {
|
|
2592
|
+
var M = g(N, j, w, H, E + "[" + j + "]", n);
|
|
2593
|
+
if (M instanceof Error)
|
|
2594
|
+
return M;
|
|
2595
|
+
}
|
|
2596
|
+
return null;
|
|
2597
|
+
}
|
|
2598
|
+
return h(I);
|
|
2599
|
+
}
|
|
2600
|
+
function R() {
|
|
2601
|
+
function g(I, V, X, w, H) {
|
|
2602
|
+
var E = I[V];
|
|
2603
|
+
if (!c(E)) {
|
|
2604
|
+
var N = K(E);
|
|
2605
|
+
return new v("Invalid " + w + " `" + H + "` of type " + ("`" + N + "` supplied to `" + X + "`, expected a single ReactElement."));
|
|
2606
|
+
}
|
|
2607
|
+
return null;
|
|
2608
|
+
}
|
|
2609
|
+
return h(g);
|
|
2610
|
+
}
|
|
2611
|
+
function d() {
|
|
2612
|
+
function g(I, V, X, w, H) {
|
|
2613
|
+
var E = I[V];
|
|
2614
|
+
if (!t.isValidElementType(E)) {
|
|
2615
|
+
var N = K(E);
|
|
2616
|
+
return new v("Invalid " + w + " `" + H + "` of type " + ("`" + N + "` supplied to `" + X + "`, expected a single ReactElement type."));
|
|
2617
|
+
}
|
|
2618
|
+
return null;
|
|
2619
|
+
}
|
|
2620
|
+
return h(g);
|
|
2621
|
+
}
|
|
2622
|
+
function T(g) {
|
|
2623
|
+
function I(V, X, w, H, E) {
|
|
2624
|
+
if (!(V[X] instanceof g)) {
|
|
2625
|
+
var N = g.name || m, Z = ct(V[X]);
|
|
2626
|
+
return new v("Invalid " + H + " `" + E + "` of type " + ("`" + Z + "` supplied to `" + w + "`, expected ") + ("instance of `" + N + "`."));
|
|
2627
|
+
}
|
|
2628
|
+
return null;
|
|
2629
|
+
}
|
|
2630
|
+
return h(I);
|
|
2631
|
+
}
|
|
2632
|
+
function y(g) {
|
|
2633
|
+
if (!Array.isArray(g))
|
|
2634
|
+
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? a(
|
|
2635
|
+
"Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
|
|
2636
|
+
) : a("Invalid argument supplied to oneOf, expected an array.")), o;
|
|
2637
|
+
function I(V, X, w, H, E) {
|
|
2638
|
+
for (var N = V[X], Z = 0; Z < g.length; Z++)
|
|
2639
|
+
if (C(N, g[Z]))
|
|
2640
|
+
return null;
|
|
2641
|
+
var j = JSON.stringify(g, function(_, p) {
|
|
2642
|
+
var ne = be(p);
|
|
2643
|
+
return ne === "symbol" ? String(p) : p;
|
|
2644
|
+
});
|
|
2645
|
+
return new v("Invalid " + H + " `" + E + "` of value `" + String(N) + "` " + ("supplied to `" + w + "`, expected one of " + j + "."));
|
|
2646
|
+
}
|
|
2647
|
+
return h(I);
|
|
2648
|
+
}
|
|
2649
|
+
function U(g) {
|
|
2650
|
+
function I(V, X, w, H, E) {
|
|
2651
|
+
if (typeof g != "function")
|
|
2652
|
+
return new v("Property `" + E + "` of component `" + w + "` has invalid PropType notation inside objectOf.");
|
|
2653
|
+
var N = V[X], Z = K(N);
|
|
2654
|
+
if (Z !== "object")
|
|
2655
|
+
return new v("Invalid " + H + " `" + E + "` of type " + ("`" + Z + "` supplied to `" + w + "`, expected an object."));
|
|
2656
|
+
for (var j in N)
|
|
2657
|
+
if (r(N, j)) {
|
|
2658
|
+
var M = g(N, j, w, H, E + "." + j, n);
|
|
2659
|
+
if (M instanceof Error)
|
|
2660
|
+
return M;
|
|
2661
|
+
}
|
|
2662
|
+
return null;
|
|
2663
|
+
}
|
|
2664
|
+
return h(I);
|
|
2665
|
+
}
|
|
2666
|
+
function te(g) {
|
|
2667
|
+
if (!Array.isArray(g))
|
|
2668
|
+
return process.env.NODE_ENV !== "production" && a("Invalid argument supplied to oneOfType, expected an instance of array."), o;
|
|
2669
|
+
for (var I = 0; I < g.length; I++) {
|
|
2670
|
+
var V = g[I];
|
|
2671
|
+
if (typeof V != "function")
|
|
2672
|
+
return a(
|
|
2673
|
+
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + He(V) + " at index " + I + "."
|
|
2674
|
+
), o;
|
|
2675
|
+
}
|
|
2676
|
+
function X(w, H, E, N, Z) {
|
|
2677
|
+
for (var j = [], M = 0; M < g.length; M++) {
|
|
2678
|
+
var _ = g[M], p = _(w, H, E, N, Z, n);
|
|
2679
|
+
if (p == null)
|
|
2680
|
+
return null;
|
|
2681
|
+
p.data && r(p.data, "expectedType") && j.push(p.data.expectedType);
|
|
2682
|
+
}
|
|
2683
|
+
var ne = j.length > 0 ? ", expected one of type [" + j.join(", ") + "]" : "";
|
|
2684
|
+
return new v("Invalid " + N + " `" + Z + "` supplied to " + ("`" + E + "`" + ne + "."));
|
|
2685
|
+
}
|
|
2686
|
+
return h(X);
|
|
2687
|
+
}
|
|
2688
|
+
function ge() {
|
|
2689
|
+
function g(I, V, X, w, H) {
|
|
2690
|
+
return ce(I[V]) ? null : new v("Invalid " + w + " `" + H + "` supplied to " + ("`" + X + "`, expected a ReactNode."));
|
|
2691
|
+
}
|
|
2692
|
+
return h(g);
|
|
2693
|
+
}
|
|
2694
|
+
function fe(g, I, V, X, w) {
|
|
2695
|
+
return new v(
|
|
2696
|
+
(g || "React class") + ": " + I + " type `" + V + "." + X + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + w + "`."
|
|
2697
|
+
);
|
|
2698
|
+
}
|
|
2699
|
+
function de(g) {
|
|
2700
|
+
function I(V, X, w, H, E) {
|
|
2701
|
+
var N = V[X], Z = K(N);
|
|
2702
|
+
if (Z !== "object")
|
|
2703
|
+
return new v("Invalid " + H + " `" + E + "` of type `" + Z + "` " + ("supplied to `" + w + "`, expected `object`."));
|
|
2704
|
+
for (var j in g) {
|
|
2705
|
+
var M = g[j];
|
|
2706
|
+
if (typeof M != "function")
|
|
2707
|
+
return fe(w, H, E, j, be(M));
|
|
2708
|
+
var _ = M(N, j, w, H, E + "." + j, n);
|
|
2709
|
+
if (_)
|
|
2710
|
+
return _;
|
|
2711
|
+
}
|
|
2712
|
+
return null;
|
|
2713
|
+
}
|
|
2714
|
+
return h(I);
|
|
2715
|
+
}
|
|
2716
|
+
function Pe(g) {
|
|
2717
|
+
function I(V, X, w, H, E) {
|
|
2718
|
+
var N = V[X], Z = K(N);
|
|
2719
|
+
if (Z !== "object")
|
|
2720
|
+
return new v("Invalid " + H + " `" + E + "` of type `" + Z + "` " + ("supplied to `" + w + "`, expected `object`."));
|
|
2721
|
+
var j = e({}, V[X], g);
|
|
2722
|
+
for (var M in j) {
|
|
2723
|
+
var _ = g[M];
|
|
2724
|
+
if (r(g, M) && typeof _ != "function")
|
|
2725
|
+
return fe(w, H, E, M, be(_));
|
|
2726
|
+
if (!_)
|
|
2727
|
+
return new v(
|
|
2728
|
+
"Invalid " + H + " `" + E + "` key `" + M + "` supplied to `" + w + "`.\nBad object: " + JSON.stringify(V[X], null, " ") + `
|
|
2729
|
+
Valid keys: ` + JSON.stringify(Object.keys(g), null, " ")
|
|
2730
|
+
);
|
|
2731
|
+
var p = _(N, M, w, H, E + "." + M, n);
|
|
2732
|
+
if (p)
|
|
2733
|
+
return p;
|
|
2734
|
+
}
|
|
2735
|
+
return null;
|
|
2736
|
+
}
|
|
2737
|
+
return h(I);
|
|
2738
|
+
}
|
|
2739
|
+
function ce(g) {
|
|
2740
|
+
switch (typeof g) {
|
|
2741
|
+
case "number":
|
|
2742
|
+
case "string":
|
|
2743
|
+
case "undefined":
|
|
2744
|
+
return !0;
|
|
2745
|
+
case "boolean":
|
|
2746
|
+
return !g;
|
|
2747
|
+
case "object":
|
|
2748
|
+
if (Array.isArray(g))
|
|
2749
|
+
return g.every(ce);
|
|
2750
|
+
if (g === null || c(g))
|
|
2751
|
+
return !0;
|
|
2752
|
+
var I = b(g);
|
|
2753
|
+
if (I) {
|
|
2754
|
+
var V = I.call(g), X;
|
|
2755
|
+
if (I !== g.entries) {
|
|
2756
|
+
for (; !(X = V.next()).done; )
|
|
2757
|
+
if (!ce(X.value))
|
|
2758
|
+
return !1;
|
|
2759
|
+
} else
|
|
2760
|
+
for (; !(X = V.next()).done; ) {
|
|
2761
|
+
var w = X.value;
|
|
2762
|
+
if (w && !ce(w[1]))
|
|
2763
|
+
return !1;
|
|
2764
|
+
}
|
|
2765
|
+
} else
|
|
2766
|
+
return !1;
|
|
2767
|
+
return !0;
|
|
2768
|
+
default:
|
|
2769
|
+
return !1;
|
|
2770
|
+
}
|
|
2771
|
+
}
|
|
2772
|
+
function he(g, I) {
|
|
2773
|
+
return g === "symbol" ? !0 : I ? I["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && I instanceof Symbol : !1;
|
|
2774
|
+
}
|
|
2775
|
+
function K(g) {
|
|
2776
|
+
var I = typeof g;
|
|
2777
|
+
return Array.isArray(g) ? "array" : g instanceof RegExp ? "object" : he(I, g) ? "symbol" : I;
|
|
2778
|
+
}
|
|
2779
|
+
function be(g) {
|
|
2780
|
+
if (typeof g > "u" || g === null)
|
|
2781
|
+
return "" + g;
|
|
2782
|
+
var I = K(g);
|
|
2783
|
+
if (I === "object") {
|
|
2784
|
+
if (g instanceof Date)
|
|
2785
|
+
return "date";
|
|
2786
|
+
if (g instanceof RegExp)
|
|
2787
|
+
return "regexp";
|
|
2788
|
+
}
|
|
2789
|
+
return I;
|
|
2790
|
+
}
|
|
2791
|
+
function He(g) {
|
|
2792
|
+
var I = be(g);
|
|
2793
|
+
switch (I) {
|
|
2794
|
+
case "array":
|
|
2795
|
+
case "object":
|
|
2796
|
+
return "an " + I;
|
|
2797
|
+
case "boolean":
|
|
2798
|
+
case "date":
|
|
2799
|
+
case "regexp":
|
|
2800
|
+
return "a " + I;
|
|
2801
|
+
default:
|
|
2802
|
+
return I;
|
|
2803
|
+
}
|
|
2804
|
+
}
|
|
2805
|
+
function ct(g) {
|
|
2806
|
+
return !g.constructor || !g.constructor.name ? m : g.constructor.name;
|
|
2807
|
+
}
|
|
2808
|
+
return x.checkPropTypes = i, x.resetWarningCache = i.resetWarningCache, x.PropTypes = x, x;
|
|
2809
|
+
}, pt;
|
|
2810
|
+
}
|
|
2811
|
+
var mt, dn;
|
|
2812
|
+
function Ga() {
|
|
2813
|
+
if (dn) return mt;
|
|
2814
|
+
dn = 1;
|
|
2815
|
+
var t = /* @__PURE__ */ Yt();
|
|
2816
|
+
function e() {
|
|
2817
|
+
}
|
|
2818
|
+
function n() {
|
|
2819
|
+
}
|
|
2820
|
+
return n.resetWarningCache = e, mt = function() {
|
|
2821
|
+
function r(o, c, u, s, l, b) {
|
|
2822
|
+
if (b !== t) {
|
|
2823
|
+
var m = new Error(
|
|
2824
|
+
"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types"
|
|
2825
|
+
);
|
|
2826
|
+
throw m.name = "Invariant Violation", m;
|
|
2827
|
+
}
|
|
2828
|
+
}
|
|
2829
|
+
r.isRequired = r;
|
|
2830
|
+
function i() {
|
|
2831
|
+
return r;
|
|
2832
|
+
}
|
|
2833
|
+
var a = {
|
|
2834
|
+
array: r,
|
|
2835
|
+
bigint: r,
|
|
2836
|
+
bool: r,
|
|
2837
|
+
func: r,
|
|
2838
|
+
number: r,
|
|
2839
|
+
object: r,
|
|
2840
|
+
string: r,
|
|
2841
|
+
symbol: r,
|
|
2842
|
+
any: r,
|
|
2843
|
+
arrayOf: i,
|
|
2844
|
+
element: r,
|
|
2845
|
+
elementType: r,
|
|
2846
|
+
instanceOf: i,
|
|
2847
|
+
node: r,
|
|
2848
|
+
objectOf: i,
|
|
2849
|
+
oneOf: i,
|
|
2850
|
+
oneOfType: i,
|
|
2851
|
+
shape: i,
|
|
2852
|
+
exact: i,
|
|
2853
|
+
checkPropTypes: n,
|
|
2854
|
+
resetWarningCache: e
|
|
2855
|
+
};
|
|
2856
|
+
return a.PropTypes = a, a;
|
|
2857
|
+
}, mt;
|
|
2858
|
+
}
|
|
2859
|
+
var gn;
|
|
2860
|
+
function Ra() {
|
|
2861
|
+
if (gn) return Fe.exports;
|
|
2862
|
+
if (gn = 1, process.env.NODE_ENV !== "production") {
|
|
2863
|
+
var t = Xt(), e = !0;
|
|
2864
|
+
Fe.exports = /* @__PURE__ */ Aa()(t.isElement, e);
|
|
2865
|
+
} else
|
|
2866
|
+
Fe.exports = /* @__PURE__ */ Ga()();
|
|
2867
|
+
return Fe.exports;
|
|
2868
|
+
}
|
|
2869
|
+
var Pa = /* @__PURE__ */ Ra();
|
|
2870
|
+
const S = /* @__PURE__ */ er(Pa), fn = {
|
|
2871
|
+
disabled: !1
|
|
2872
|
+
};
|
|
2873
|
+
var Sa = process.env.NODE_ENV !== "production" ? S.oneOfType([S.number, S.shape({
|
|
2874
|
+
enter: S.number,
|
|
2875
|
+
exit: S.number,
|
|
2876
|
+
appear: S.number
|
|
2877
|
+
}).isRequired]) : null;
|
|
2878
|
+
process.env.NODE_ENV !== "production" && S.oneOfType([S.string, S.shape({
|
|
2879
|
+
enter: S.string,
|
|
2880
|
+
exit: S.string,
|
|
2881
|
+
active: S.string
|
|
2882
|
+
}), S.shape({
|
|
2883
|
+
enter: S.string,
|
|
2884
|
+
enterDone: S.string,
|
|
2885
|
+
enterActive: S.string,
|
|
2886
|
+
exit: S.string,
|
|
2887
|
+
exitDone: S.string,
|
|
2888
|
+
exitActive: S.string
|
|
2889
|
+
})]);
|
|
2890
|
+
const tt = ue.createContext(null);
|
|
2891
|
+
var Ta = function(e) {
|
|
2892
|
+
return e.scrollTop;
|
|
2893
|
+
}, Be = "unmounted", ve = "exited", pe = "entering", ye = "entered", Pt = "exiting", oe = /* @__PURE__ */ (function(t) {
|
|
2894
|
+
Fn(e, t);
|
|
2895
|
+
function e(r, i) {
|
|
2896
|
+
var a;
|
|
2897
|
+
a = t.call(this, r, i) || this;
|
|
2898
|
+
var o = i, c = o && !o.isMounting ? r.enter : r.appear, u;
|
|
2899
|
+
return a.appearStatus = null, r.in ? c ? (u = ve, a.appearStatus = pe) : u = ye : r.unmountOnExit || r.mountOnEnter ? u = Be : u = ve, a.state = {
|
|
2900
|
+
status: u
|
|
2901
|
+
}, a.nextCallback = null, a;
|
|
2902
|
+
}
|
|
2903
|
+
e.getDerivedStateFromProps = function(i, a) {
|
|
2904
|
+
var o = i.in;
|
|
2905
|
+
return o && a.status === Be ? {
|
|
2906
|
+
status: ve
|
|
2907
|
+
} : null;
|
|
2908
|
+
};
|
|
2909
|
+
var n = e.prototype;
|
|
2910
|
+
return n.componentDidMount = function() {
|
|
2911
|
+
this.updateStatus(!0, this.appearStatus);
|
|
2912
|
+
}, n.componentDidUpdate = function(i) {
|
|
2913
|
+
var a = null;
|
|
2914
|
+
if (i !== this.props) {
|
|
2915
|
+
var o = this.state.status;
|
|
2916
|
+
this.props.in ? o !== pe && o !== ye && (a = pe) : (o === pe || o === ye) && (a = Pt);
|
|
2917
|
+
}
|
|
2918
|
+
this.updateStatus(!1, a);
|
|
2919
|
+
}, n.componentWillUnmount = function() {
|
|
2920
|
+
this.cancelNextCallback();
|
|
2921
|
+
}, n.getTimeouts = function() {
|
|
2922
|
+
var i = this.props.timeout, a, o, c;
|
|
2923
|
+
return a = o = c = i, i != null && typeof i != "number" && (a = i.exit, o = i.enter, c = i.appear !== void 0 ? i.appear : o), {
|
|
2924
|
+
exit: a,
|
|
2925
|
+
enter: o,
|
|
2926
|
+
appear: c
|
|
2927
|
+
};
|
|
2928
|
+
}, n.updateStatus = function(i, a) {
|
|
2929
|
+
if (i === void 0 && (i = !1), a !== null)
|
|
2930
|
+
if (this.cancelNextCallback(), a === pe) {
|
|
2931
|
+
if (this.props.unmountOnExit || this.props.mountOnEnter) {
|
|
2932
|
+
var o = this.props.nodeRef ? this.props.nodeRef.current : Me.findDOMNode(this);
|
|
2933
|
+
o && Ta(o);
|
|
2934
|
+
}
|
|
2935
|
+
this.performEnter(i);
|
|
2936
|
+
} else
|
|
2937
|
+
this.performExit();
|
|
2938
|
+
else this.props.unmountOnExit && this.state.status === ve && this.setState({
|
|
2939
|
+
status: Be
|
|
2940
|
+
});
|
|
2941
|
+
}, n.performEnter = function(i) {
|
|
2942
|
+
var a = this, o = this.props.enter, c = this.context ? this.context.isMounting : i, u = this.props.nodeRef ? [c] : [Me.findDOMNode(this), c], s = u[0], l = u[1], b = this.getTimeouts(), m = c ? b.appear : b.enter;
|
|
2943
|
+
if (!i && !o || fn.disabled) {
|
|
2944
|
+
this.safeSetState({
|
|
2945
|
+
status: ye
|
|
2946
|
+
}, function() {
|
|
2947
|
+
a.props.onEntered(s);
|
|
2948
|
+
});
|
|
2949
|
+
return;
|
|
2950
|
+
}
|
|
2951
|
+
this.props.onEnter(s, l), this.safeSetState({
|
|
2952
|
+
status: pe
|
|
2953
|
+
}, function() {
|
|
2954
|
+
a.props.onEntering(s, l), a.onTransitionEnd(m, function() {
|
|
2955
|
+
a.safeSetState({
|
|
2956
|
+
status: ye
|
|
2957
|
+
}, function() {
|
|
2958
|
+
a.props.onEntered(s, l);
|
|
2959
|
+
});
|
|
2960
|
+
});
|
|
2961
|
+
});
|
|
2962
|
+
}, n.performExit = function() {
|
|
2963
|
+
var i = this, a = this.props.exit, o = this.getTimeouts(), c = this.props.nodeRef ? void 0 : Me.findDOMNode(this);
|
|
2964
|
+
if (!a || fn.disabled) {
|
|
2965
|
+
this.safeSetState({
|
|
2966
|
+
status: ve
|
|
2967
|
+
}, function() {
|
|
2968
|
+
i.props.onExited(c);
|
|
2969
|
+
});
|
|
2970
|
+
return;
|
|
2971
|
+
}
|
|
2972
|
+
this.props.onExit(c), this.safeSetState({
|
|
2973
|
+
status: Pt
|
|
2974
|
+
}, function() {
|
|
2975
|
+
i.props.onExiting(c), i.onTransitionEnd(o.exit, function() {
|
|
2976
|
+
i.safeSetState({
|
|
2977
|
+
status: ve
|
|
2978
|
+
}, function() {
|
|
2979
|
+
i.props.onExited(c);
|
|
2980
|
+
});
|
|
2981
|
+
});
|
|
2982
|
+
});
|
|
2983
|
+
}, n.cancelNextCallback = function() {
|
|
2984
|
+
this.nextCallback !== null && (this.nextCallback.cancel(), this.nextCallback = null);
|
|
2985
|
+
}, n.safeSetState = function(i, a) {
|
|
2986
|
+
a = this.setNextCallback(a), this.setState(i, a);
|
|
2987
|
+
}, n.setNextCallback = function(i) {
|
|
2988
|
+
var a = this, o = !0;
|
|
2989
|
+
return this.nextCallback = function(c) {
|
|
2990
|
+
o && (o = !1, a.nextCallback = null, i(c));
|
|
2991
|
+
}, this.nextCallback.cancel = function() {
|
|
2992
|
+
o = !1;
|
|
2993
|
+
}, this.nextCallback;
|
|
2994
|
+
}, n.onTransitionEnd = function(i, a) {
|
|
2995
|
+
this.setNextCallback(a);
|
|
2996
|
+
var o = this.props.nodeRef ? this.props.nodeRef.current : Me.findDOMNode(this), c = i == null && !this.props.addEndListener;
|
|
2997
|
+
if (!o || c) {
|
|
2998
|
+
setTimeout(this.nextCallback, 0);
|
|
2999
|
+
return;
|
|
3000
|
+
}
|
|
3001
|
+
if (this.props.addEndListener) {
|
|
3002
|
+
var u = this.props.nodeRef ? [this.nextCallback] : [o, this.nextCallback], s = u[0], l = u[1];
|
|
3003
|
+
this.props.addEndListener(s, l);
|
|
3004
|
+
}
|
|
3005
|
+
i != null && setTimeout(this.nextCallback, i);
|
|
3006
|
+
}, n.render = function() {
|
|
3007
|
+
var i = this.state.status;
|
|
3008
|
+
if (i === Be)
|
|
3009
|
+
return null;
|
|
3010
|
+
var a = this.props, o = a.children;
|
|
3011
|
+
a.in, a.mountOnEnter, a.unmountOnExit, a.appear, a.enter, a.exit, a.timeout, a.addEndListener, a.onEnter, a.onEntering, a.onEntered, a.onExit, a.onExiting, a.onExited, a.nodeRef;
|
|
3012
|
+
var c = Tt(a, ["children", "in", "mountOnEnter", "unmountOnExit", "appear", "enter", "exit", "timeout", "addEndListener", "onEnter", "onEntering", "onEntered", "onExit", "onExiting", "onExited", "nodeRef"]);
|
|
3013
|
+
return (
|
|
3014
|
+
// allows for nested Transitions
|
|
3015
|
+
/* @__PURE__ */ ue.createElement(tt.Provider, {
|
|
3016
|
+
value: null
|
|
3017
|
+
}, typeof o == "function" ? o(i, c) : ue.cloneElement(ue.Children.only(o), c))
|
|
3018
|
+
);
|
|
3019
|
+
}, e;
|
|
3020
|
+
})(ue.Component);
|
|
3021
|
+
oe.contextType = tt;
|
|
3022
|
+
oe.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
3023
|
+
/**
|
|
3024
|
+
* A React reference to DOM element that need to transition:
|
|
3025
|
+
* https://stackoverflow.com/a/51127130/4671932
|
|
3026
|
+
*
|
|
3027
|
+
* - When `nodeRef` prop is used, `node` is not passed to callback functions
|
|
3028
|
+
* (e.g. `onEnter`) because user already has direct access to the node.
|
|
3029
|
+
* - When changing `key` prop of `Transition` in a `TransitionGroup` a new
|
|
3030
|
+
* `nodeRef` need to be provided to `Transition` with changed `key` prop
|
|
3031
|
+
* (see
|
|
3032
|
+
* [test/CSSTransition-test.js](https://github.com/reactjs/react-transition-group/blob/13435f897b3ab71f6e19d724f145596f5910581c/test/CSSTransition-test.js#L362-L437)).
|
|
3033
|
+
*/
|
|
3034
|
+
nodeRef: S.shape({
|
|
3035
|
+
current: typeof Element > "u" ? S.any : function(t, e, n, r, i, a) {
|
|
3036
|
+
var o = t[e];
|
|
3037
|
+
return S.instanceOf(o && "ownerDocument" in o ? o.ownerDocument.defaultView.Element : Element)(t, e, n, r, i, a);
|
|
3038
|
+
}
|
|
3039
|
+
}),
|
|
3040
|
+
/**
|
|
3041
|
+
* A `function` child can be used instead of a React element. This function is
|
|
3042
|
+
* called with the current transition status (`'entering'`, `'entered'`,
|
|
3043
|
+
* `'exiting'`, `'exited'`), which can be used to apply context
|
|
3044
|
+
* specific props to a component.
|
|
3045
|
+
*
|
|
3046
|
+
* ```jsx
|
|
3047
|
+
* <Transition in={this.state.in} timeout={150}>
|
|
3048
|
+
* {state => (
|
|
3049
|
+
* <MyComponent className={`fade fade-${state}`} />
|
|
3050
|
+
* )}
|
|
3051
|
+
* </Transition>
|
|
3052
|
+
* ```
|
|
3053
|
+
*/
|
|
3054
|
+
children: S.oneOfType([S.func.isRequired, S.element.isRequired]).isRequired,
|
|
3055
|
+
/**
|
|
3056
|
+
* Show the component; triggers the enter or exit states
|
|
3057
|
+
*/
|
|
3058
|
+
in: S.bool,
|
|
3059
|
+
/**
|
|
3060
|
+
* By default the child component is mounted immediately along with
|
|
3061
|
+
* the parent `Transition` component. If you want to "lazy mount" the component on the
|
|
3062
|
+
* first `in={true}` you can set `mountOnEnter`. After the first enter transition the component will stay
|
|
3063
|
+
* mounted, even on "exited", unless you also specify `unmountOnExit`.
|
|
3064
|
+
*/
|
|
3065
|
+
mountOnEnter: S.bool,
|
|
3066
|
+
/**
|
|
3067
|
+
* By default the child component stays mounted after it reaches the `'exited'` state.
|
|
3068
|
+
* Set `unmountOnExit` if you'd prefer to unmount the component after it finishes exiting.
|
|
3069
|
+
*/
|
|
3070
|
+
unmountOnExit: S.bool,
|
|
3071
|
+
/**
|
|
3072
|
+
* By default the child component does not perform the enter transition when
|
|
3073
|
+
* it first mounts, regardless of the value of `in`. If you want this
|
|
3074
|
+
* behavior, set both `appear` and `in` to `true`.
|
|
3075
|
+
*
|
|
3076
|
+
* > **Note**: there are no special appear states like `appearing`/`appeared`, this prop
|
|
3077
|
+
* > only adds an additional enter transition. However, in the
|
|
3078
|
+
* > `<CSSTransition>` component that first enter transition does result in
|
|
3079
|
+
* > additional `.appear-*` classes, that way you can choose to style it
|
|
3080
|
+
* > differently.
|
|
3081
|
+
*/
|
|
3082
|
+
appear: S.bool,
|
|
3083
|
+
/**
|
|
3084
|
+
* Enable or disable enter transitions.
|
|
3085
|
+
*/
|
|
3086
|
+
enter: S.bool,
|
|
3087
|
+
/**
|
|
3088
|
+
* Enable or disable exit transitions.
|
|
3089
|
+
*/
|
|
3090
|
+
exit: S.bool,
|
|
3091
|
+
/**
|
|
3092
|
+
* The duration of the transition, in milliseconds.
|
|
3093
|
+
* Required unless `addEndListener` is provided.
|
|
3094
|
+
*
|
|
3095
|
+
* You may specify a single timeout for all transitions:
|
|
3096
|
+
*
|
|
3097
|
+
* ```jsx
|
|
3098
|
+
* timeout={500}
|
|
3099
|
+
* ```
|
|
3100
|
+
*
|
|
3101
|
+
* or individually:
|
|
3102
|
+
*
|
|
3103
|
+
* ```jsx
|
|
3104
|
+
* timeout={{
|
|
3105
|
+
* appear: 500,
|
|
3106
|
+
* enter: 300,
|
|
3107
|
+
* exit: 500,
|
|
3108
|
+
* }}
|
|
3109
|
+
* ```
|
|
3110
|
+
*
|
|
3111
|
+
* - `appear` defaults to the value of `enter`
|
|
3112
|
+
* - `enter` defaults to `0`
|
|
3113
|
+
* - `exit` defaults to `0`
|
|
3114
|
+
*
|
|
3115
|
+
* @type {number | { enter?: number, exit?: number, appear?: number }}
|
|
3116
|
+
*/
|
|
3117
|
+
timeout: function(e) {
|
|
3118
|
+
var n = Sa;
|
|
3119
|
+
e.addEndListener || (n = n.isRequired);
|
|
3120
|
+
for (var r = arguments.length, i = new Array(r > 1 ? r - 1 : 0), a = 1; a < r; a++)
|
|
3121
|
+
i[a - 1] = arguments[a];
|
|
3122
|
+
return n.apply(void 0, [e].concat(i));
|
|
3123
|
+
},
|
|
3124
|
+
/**
|
|
3125
|
+
* Add a custom transition end trigger. Called with the transitioning
|
|
3126
|
+
* DOM node and a `done` callback. Allows for more fine grained transition end
|
|
3127
|
+
* logic. Timeouts are still used as a fallback if provided.
|
|
3128
|
+
*
|
|
3129
|
+
* **Note**: when `nodeRef` prop is passed, `node` is not passed.
|
|
3130
|
+
*
|
|
3131
|
+
* ```jsx
|
|
3132
|
+
* addEndListener={(node, done) => {
|
|
3133
|
+
* // use the css transitionend event to mark the finish of a transition
|
|
3134
|
+
* node.addEventListener('transitionend', done, false);
|
|
3135
|
+
* }}
|
|
3136
|
+
* ```
|
|
3137
|
+
*/
|
|
3138
|
+
addEndListener: S.func,
|
|
3139
|
+
/**
|
|
3140
|
+
* Callback fired before the "entering" status is applied. An extra parameter
|
|
3141
|
+
* `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount
|
|
3142
|
+
*
|
|
3143
|
+
* **Note**: when `nodeRef` prop is passed, `node` is not passed.
|
|
3144
|
+
*
|
|
3145
|
+
* @type Function(node: HtmlElement, isAppearing: bool) -> void
|
|
3146
|
+
*/
|
|
3147
|
+
onEnter: S.func,
|
|
3148
|
+
/**
|
|
3149
|
+
* Callback fired after the "entering" status is applied. An extra parameter
|
|
3150
|
+
* `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount
|
|
3151
|
+
*
|
|
3152
|
+
* **Note**: when `nodeRef` prop is passed, `node` is not passed.
|
|
3153
|
+
*
|
|
3154
|
+
* @type Function(node: HtmlElement, isAppearing: bool)
|
|
3155
|
+
*/
|
|
3156
|
+
onEntering: S.func,
|
|
3157
|
+
/**
|
|
3158
|
+
* Callback fired after the "entered" status is applied. An extra parameter
|
|
3159
|
+
* `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount
|
|
3160
|
+
*
|
|
3161
|
+
* **Note**: when `nodeRef` prop is passed, `node` is not passed.
|
|
3162
|
+
*
|
|
3163
|
+
* @type Function(node: HtmlElement, isAppearing: bool) -> void
|
|
3164
|
+
*/
|
|
3165
|
+
onEntered: S.func,
|
|
3166
|
+
/**
|
|
3167
|
+
* Callback fired before the "exiting" status is applied.
|
|
3168
|
+
*
|
|
3169
|
+
* **Note**: when `nodeRef` prop is passed, `node` is not passed.
|
|
3170
|
+
*
|
|
3171
|
+
* @type Function(node: HtmlElement) -> void
|
|
3172
|
+
*/
|
|
3173
|
+
onExit: S.func,
|
|
3174
|
+
/**
|
|
3175
|
+
* Callback fired after the "exiting" status is applied.
|
|
3176
|
+
*
|
|
3177
|
+
* **Note**: when `nodeRef` prop is passed, `node` is not passed.
|
|
3178
|
+
*
|
|
3179
|
+
* @type Function(node: HtmlElement) -> void
|
|
3180
|
+
*/
|
|
3181
|
+
onExiting: S.func,
|
|
3182
|
+
/**
|
|
3183
|
+
* Callback fired after the "exited" status is applied.
|
|
3184
|
+
*
|
|
3185
|
+
* **Note**: when `nodeRef` prop is passed, `node` is not passed
|
|
3186
|
+
*
|
|
3187
|
+
* @type Function(node: HtmlElement) -> void
|
|
3188
|
+
*/
|
|
3189
|
+
onExited: S.func
|
|
3190
|
+
} : {};
|
|
3191
|
+
function Ce() {
|
|
3192
|
+
}
|
|
3193
|
+
oe.defaultProps = {
|
|
3194
|
+
in: !1,
|
|
3195
|
+
mountOnEnter: !1,
|
|
3196
|
+
unmountOnExit: !1,
|
|
3197
|
+
appear: !1,
|
|
3198
|
+
enter: !0,
|
|
3199
|
+
exit: !0,
|
|
3200
|
+
onEnter: Ce,
|
|
3201
|
+
onEntering: Ce,
|
|
3202
|
+
onEntered: Ce,
|
|
3203
|
+
onExit: Ce,
|
|
3204
|
+
onExiting: Ce,
|
|
3205
|
+
onExited: Ce
|
|
3206
|
+
};
|
|
3207
|
+
oe.UNMOUNTED = Be;
|
|
3208
|
+
oe.EXITED = ve;
|
|
3209
|
+
oe.ENTERING = pe;
|
|
3210
|
+
oe.ENTERED = ye;
|
|
3211
|
+
oe.EXITING = Pt;
|
|
3212
|
+
function Ba(t) {
|
|
3213
|
+
if (t === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
3214
|
+
return t;
|
|
3215
|
+
}
|
|
3216
|
+
function Ot(t, e) {
|
|
3217
|
+
var n = function(a) {
|
|
3218
|
+
return e && Le(a) ? e(a) : a;
|
|
3219
|
+
}, r = /* @__PURE__ */ Object.create(null);
|
|
3220
|
+
return t && Kn.map(t, function(i) {
|
|
3221
|
+
return i;
|
|
3222
|
+
}).forEach(function(i) {
|
|
3223
|
+
r[i.key] = n(i);
|
|
3224
|
+
}), r;
|
|
3225
|
+
}
|
|
3226
|
+
function wa(t, e) {
|
|
3227
|
+
t = t || {}, e = e || {};
|
|
3228
|
+
function n(l) {
|
|
3229
|
+
return l in e ? e[l] : t[l];
|
|
3230
|
+
}
|
|
3231
|
+
var r = /* @__PURE__ */ Object.create(null), i = [];
|
|
3232
|
+
for (var a in t)
|
|
3233
|
+
a in e ? i.length && (r[a] = i, i = []) : i.push(a);
|
|
3234
|
+
var o, c = {};
|
|
3235
|
+
for (var u in e) {
|
|
3236
|
+
if (r[u])
|
|
3237
|
+
for (o = 0; o < r[u].length; o++) {
|
|
3238
|
+
var s = r[u][o];
|
|
3239
|
+
c[r[u][o]] = n(s);
|
|
3240
|
+
}
|
|
3241
|
+
c[u] = n(u);
|
|
3242
|
+
}
|
|
3243
|
+
for (o = 0; o < i.length; o++)
|
|
3244
|
+
c[i[o]] = n(i[o]);
|
|
3245
|
+
return c;
|
|
3246
|
+
}
|
|
3247
|
+
function me(t, e, n) {
|
|
3248
|
+
return n[e] != null ? n[e] : t.props[e];
|
|
3249
|
+
}
|
|
3250
|
+
function Ea(t, e) {
|
|
3251
|
+
return Ot(t.children, function(n) {
|
|
3252
|
+
return De(n, {
|
|
3253
|
+
onExited: e.bind(null, n),
|
|
3254
|
+
in: !0,
|
|
3255
|
+
appear: me(n, "appear", t),
|
|
3256
|
+
enter: me(n, "enter", t),
|
|
3257
|
+
exit: me(n, "exit", t)
|
|
3258
|
+
});
|
|
3259
|
+
});
|
|
3260
|
+
}
|
|
3261
|
+
function Xa(t, e, n) {
|
|
3262
|
+
var r = Ot(t.children), i = wa(e, r);
|
|
3263
|
+
return Object.keys(i).forEach(function(a) {
|
|
3264
|
+
var o = i[a];
|
|
3265
|
+
if (Le(o)) {
|
|
3266
|
+
var c = a in e, u = a in r, s = e[a], l = Le(s) && !s.props.in;
|
|
3267
|
+
u && (!c || l) ? i[a] = De(o, {
|
|
3268
|
+
onExited: n.bind(null, o),
|
|
3269
|
+
in: !0,
|
|
3270
|
+
exit: me(o, "exit", t),
|
|
3271
|
+
enter: me(o, "enter", t)
|
|
3272
|
+
}) : !u && c && !l ? i[a] = De(o, {
|
|
3273
|
+
in: !1
|
|
3274
|
+
}) : u && c && Le(s) && (i[a] = De(o, {
|
|
3275
|
+
onExited: n.bind(null, o),
|
|
3276
|
+
in: s.props.in,
|
|
3277
|
+
exit: me(o, "exit", t),
|
|
3278
|
+
enter: me(o, "enter", t)
|
|
3279
|
+
}));
|
|
3280
|
+
}
|
|
3281
|
+
}), i;
|
|
3282
|
+
}
|
|
3283
|
+
var Na = Object.values || function(t) {
|
|
3284
|
+
return Object.keys(t).map(function(e) {
|
|
3285
|
+
return t[e];
|
|
3286
|
+
});
|
|
3287
|
+
}, Va = {
|
|
3288
|
+
component: "div",
|
|
3289
|
+
childFactory: function(e) {
|
|
3290
|
+
return e;
|
|
3291
|
+
}
|
|
3292
|
+
}, ot = /* @__PURE__ */ (function(t) {
|
|
3293
|
+
Fn(e, t);
|
|
3294
|
+
function e(r, i) {
|
|
3295
|
+
var a;
|
|
3296
|
+
a = t.call(this, r, i) || this;
|
|
3297
|
+
var o = a.handleExited.bind(Ba(a));
|
|
3298
|
+
return a.state = {
|
|
3299
|
+
contextValue: {
|
|
3300
|
+
isMounting: !0
|
|
3301
|
+
},
|
|
3302
|
+
handleExited: o,
|
|
3303
|
+
firstRender: !0
|
|
3304
|
+
}, a;
|
|
3305
|
+
}
|
|
3306
|
+
var n = e.prototype;
|
|
3307
|
+
return n.componentDidMount = function() {
|
|
3308
|
+
this.mounted = !0, this.setState({
|
|
3309
|
+
contextValue: {
|
|
3310
|
+
isMounting: !1
|
|
3311
|
+
}
|
|
3312
|
+
});
|
|
3313
|
+
}, n.componentWillUnmount = function() {
|
|
3314
|
+
this.mounted = !1;
|
|
3315
|
+
}, e.getDerivedStateFromProps = function(i, a) {
|
|
3316
|
+
var o = a.children, c = a.handleExited, u = a.firstRender;
|
|
3317
|
+
return {
|
|
3318
|
+
children: u ? Ea(i, c) : Xa(i, o, c),
|
|
3319
|
+
firstRender: !1
|
|
3320
|
+
};
|
|
3321
|
+
}, n.handleExited = function(i, a) {
|
|
3322
|
+
var o = Ot(this.props.children);
|
|
3323
|
+
i.key in o || (i.props.onExited && i.props.onExited(a), this.mounted && this.setState(function(c) {
|
|
3324
|
+
var u = W({}, c.children);
|
|
3325
|
+
return delete u[i.key], {
|
|
3326
|
+
children: u
|
|
3327
|
+
};
|
|
3328
|
+
}));
|
|
3329
|
+
}, n.render = function() {
|
|
3330
|
+
var i = this.props, a = i.component, o = i.childFactory, c = Tt(i, ["component", "childFactory"]), u = this.state.contextValue, s = Na(this.state.children).map(o);
|
|
3331
|
+
return delete c.appear, delete c.enter, delete c.exit, a === null ? /* @__PURE__ */ ue.createElement(tt.Provider, {
|
|
3332
|
+
value: u
|
|
3333
|
+
}, s) : /* @__PURE__ */ ue.createElement(tt.Provider, {
|
|
3334
|
+
value: u
|
|
3335
|
+
}, /* @__PURE__ */ ue.createElement(a, c, s));
|
|
3336
|
+
}, e;
|
|
3337
|
+
})(ue.Component);
|
|
3338
|
+
ot.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
3339
|
+
/**
|
|
3340
|
+
* `<TransitionGroup>` renders a `<div>` by default. You can change this
|
|
3341
|
+
* behavior by providing a `component` prop.
|
|
3342
|
+
* If you use React v16+ and would like to avoid a wrapping `<div>` element
|
|
3343
|
+
* you can pass in `component={null}`. This is useful if the wrapping div
|
|
3344
|
+
* borks your css styles.
|
|
3345
|
+
*/
|
|
3346
|
+
component: S.any,
|
|
3347
|
+
/**
|
|
3348
|
+
* A set of `<Transition>` components, that are toggled `in` and out as they
|
|
3349
|
+
* leave. the `<TransitionGroup>` will inject specific transition props, so
|
|
3350
|
+
* remember to spread them through if you are wrapping the `<Transition>` as
|
|
3351
|
+
* with our `<Fade>` example.
|
|
3352
|
+
*
|
|
3353
|
+
* While this component is meant for multiple `Transition` or `CSSTransition`
|
|
3354
|
+
* children, sometimes you may want to have a single transition child with
|
|
3355
|
+
* content that you want to be transitioned out and in when you change it
|
|
3356
|
+
* (e.g. routes, images etc.) In that case you can change the `key` prop of
|
|
3357
|
+
* the transition child as you change its content, this will cause
|
|
3358
|
+
* `TransitionGroup` to transition the child out and back in.
|
|
3359
|
+
*/
|
|
3360
|
+
children: S.node,
|
|
3361
|
+
/**
|
|
3362
|
+
* A convenience prop that enables or disables appear animations
|
|
3363
|
+
* for all children. Note that specifying this will override any defaults set
|
|
3364
|
+
* on individual children Transitions.
|
|
3365
|
+
*/
|
|
3366
|
+
appear: S.bool,
|
|
3367
|
+
/**
|
|
3368
|
+
* A convenience prop that enables or disables enter animations
|
|
3369
|
+
* for all children. Note that specifying this will override any defaults set
|
|
3370
|
+
* on individual children Transitions.
|
|
3371
|
+
*/
|
|
3372
|
+
enter: S.bool,
|
|
3373
|
+
/**
|
|
3374
|
+
* A convenience prop that enables or disables exit animations
|
|
3375
|
+
* for all children. Note that specifying this will override any defaults set
|
|
3376
|
+
* on individual children Transitions.
|
|
3377
|
+
*/
|
|
3378
|
+
exit: S.bool,
|
|
3379
|
+
/**
|
|
3380
|
+
* You may need to apply reactive updates to a child as it is exiting.
|
|
3381
|
+
* This is generally done by using `cloneElement` however in the case of an exiting
|
|
3382
|
+
* child the element has already been removed and not accessible to the consumer.
|
|
3383
|
+
*
|
|
3384
|
+
* If you do need to update a child as it leaves you can provide a `childFactory`
|
|
3385
|
+
* to wrap every child, even the ones that are leaving.
|
|
3386
|
+
*
|
|
3387
|
+
* @type Function(child: ReactElement) -> ReactElement
|
|
3388
|
+
*/
|
|
3389
|
+
childFactory: S.func
|
|
3390
|
+
} : {};
|
|
3391
|
+
ot.defaultProps = Va;
|
|
3392
|
+
var Wa = ["in", "onExited", "appear", "enter", "exit"], Ha = function(e) {
|
|
3393
|
+
return function(n) {
|
|
3394
|
+
n.in, n.onExited, n.appear, n.enter, n.exit;
|
|
3395
|
+
var r = ee(n, Wa);
|
|
3396
|
+
return /* @__PURE__ */ F.createElement(e, r);
|
|
3397
|
+
};
|
|
3398
|
+
}, Za = Ha, Ma = ["component", "duration", "in", "onExited"], Dn = function(e) {
|
|
3399
|
+
var n = e.component, r = e.duration, i = r === void 0 ? 1 : r, a = e.in;
|
|
3400
|
+
e.onExited;
|
|
3401
|
+
var o = ee(e, Ma), c = we(null), u = {
|
|
3402
|
+
entering: {
|
|
3403
|
+
opacity: 0
|
|
3404
|
+
},
|
|
3405
|
+
entered: {
|
|
3406
|
+
opacity: 1,
|
|
3407
|
+
transition: "opacity ".concat(i, "ms")
|
|
3408
|
+
},
|
|
3409
|
+
exiting: {
|
|
3410
|
+
opacity: 0
|
|
3411
|
+
},
|
|
3412
|
+
exited: {
|
|
3413
|
+
opacity: 0
|
|
3414
|
+
}
|
|
3415
|
+
};
|
|
3416
|
+
return /* @__PURE__ */ F.createElement(oe, {
|
|
3417
|
+
mountOnEnter: !0,
|
|
3418
|
+
unmountOnExit: !0,
|
|
3419
|
+
in: a,
|
|
3420
|
+
timeout: i,
|
|
3421
|
+
nodeRef: c
|
|
3422
|
+
}, function(s) {
|
|
3423
|
+
var l = {
|
|
3424
|
+
style: P({}, u[s]),
|
|
3425
|
+
ref: c
|
|
3426
|
+
};
|
|
3427
|
+
return /* @__PURE__ */ F.createElement(n, W({
|
|
3428
|
+
innerProps: l
|
|
3429
|
+
}, o));
|
|
3430
|
+
});
|
|
3431
|
+
}, St = 260, Ya = function(e) {
|
|
3432
|
+
var n = e.children, r = e.in, i = e.onExited, a = we(null), o = Ie("auto"), c = se(o, 2), u = c[0], s = c[1];
|
|
3433
|
+
It(function() {
|
|
3434
|
+
var b = a.current;
|
|
3435
|
+
if (b) {
|
|
3436
|
+
var m = window.requestAnimationFrame(function() {
|
|
3437
|
+
return s(b.getBoundingClientRect().width);
|
|
3438
|
+
});
|
|
3439
|
+
return function() {
|
|
3440
|
+
return window.cancelAnimationFrame(m);
|
|
3441
|
+
};
|
|
3442
|
+
}
|
|
3443
|
+
}, []);
|
|
3444
|
+
var l = function(m) {
|
|
3445
|
+
switch (m) {
|
|
3446
|
+
default:
|
|
3447
|
+
return {
|
|
3448
|
+
width: u
|
|
3449
|
+
};
|
|
3450
|
+
case "exiting":
|
|
3451
|
+
return {
|
|
3452
|
+
width: 0,
|
|
3453
|
+
transition: "width ".concat(St, "ms ease-out")
|
|
3454
|
+
};
|
|
3455
|
+
case "exited":
|
|
3456
|
+
return {
|
|
3457
|
+
width: 0
|
|
3458
|
+
};
|
|
3459
|
+
}
|
|
3460
|
+
};
|
|
3461
|
+
return /* @__PURE__ */ F.createElement(oe, {
|
|
3462
|
+
enter: !1,
|
|
3463
|
+
mountOnEnter: !0,
|
|
3464
|
+
unmountOnExit: !0,
|
|
3465
|
+
in: r,
|
|
3466
|
+
onExited: function() {
|
|
3467
|
+
var m = a.current;
|
|
3468
|
+
m && i?.(m);
|
|
3469
|
+
},
|
|
3470
|
+
timeout: St,
|
|
3471
|
+
nodeRef: a
|
|
3472
|
+
}, function(b) {
|
|
3473
|
+
return /* @__PURE__ */ F.createElement("div", {
|
|
3474
|
+
ref: a,
|
|
3475
|
+
style: P({
|
|
3476
|
+
overflow: "hidden",
|
|
3477
|
+
whiteSpace: "nowrap"
|
|
3478
|
+
}, l(b))
|
|
3479
|
+
}, n);
|
|
3480
|
+
});
|
|
3481
|
+
}, Oa = ["in", "onExited"], Ja = function(e) {
|
|
3482
|
+
return function(n) {
|
|
3483
|
+
var r = n.in, i = n.onExited, a = ee(n, Oa);
|
|
3484
|
+
return /* @__PURE__ */ F.createElement(Ya, {
|
|
3485
|
+
in: r,
|
|
3486
|
+
onExited: i
|
|
3487
|
+
}, /* @__PURE__ */ F.createElement(e, W({
|
|
3488
|
+
cropWithEllipsis: r
|
|
3489
|
+
}, a)));
|
|
3490
|
+
};
|
|
3491
|
+
}, za = Ja, ja = function(e) {
|
|
3492
|
+
return function(n) {
|
|
3493
|
+
return /* @__PURE__ */ F.createElement(Dn, W({
|
|
3494
|
+
component: e,
|
|
3495
|
+
duration: n.isMulti ? St : 1
|
|
3496
|
+
}, n));
|
|
3497
|
+
};
|
|
3498
|
+
}, Fa = ja, La = function(e) {
|
|
3499
|
+
return function(n) {
|
|
3500
|
+
return /* @__PURE__ */ F.createElement(Dn, W({
|
|
3501
|
+
component: e
|
|
3502
|
+
}, n));
|
|
3503
|
+
};
|
|
3504
|
+
}, Da = La, ka = ["component"], Ua = ["children"], Qa = function(e) {
|
|
3505
|
+
return function(n) {
|
|
3506
|
+
return n.isMulti ? /* @__PURE__ */ F.createElement(_a, W({
|
|
3507
|
+
component: e
|
|
3508
|
+
}, n)) : /* @__PURE__ */ F.createElement(ot, W({
|
|
3509
|
+
component: e
|
|
3510
|
+
}, n));
|
|
3511
|
+
};
|
|
3512
|
+
}, _a = function(e) {
|
|
3513
|
+
var n = e.component, r = ee(e, ka), i = $a(r);
|
|
3514
|
+
return /* @__PURE__ */ F.createElement(ot, W({
|
|
3515
|
+
component: n
|
|
3516
|
+
}, i));
|
|
3517
|
+
}, $a = function(e) {
|
|
3518
|
+
var n = e.children, r = ee(e, Ua), i = r.isMulti, a = r.hasValue, o = r.innerProps, c = r.selectProps, u = c.components, s = c.controlShouldRenderValue, l = Ie(i && s && a), b = se(l, 2), m = b[0], x = b[1], C = Ie(!1), v = se(C, 2), h = v[0], f = v[1];
|
|
3519
|
+
It(function() {
|
|
3520
|
+
a && !m && x(!0);
|
|
3521
|
+
}, [a, m]), It(function() {
|
|
3522
|
+
h && !a && m && x(!1), f(!1);
|
|
3523
|
+
}, [h, a, m]);
|
|
3524
|
+
var G = function() {
|
|
3525
|
+
return f(!0);
|
|
3526
|
+
}, A = function(y) {
|
|
3527
|
+
if (i && /* @__PURE__ */ F.isValidElement(y)) {
|
|
3528
|
+
if (y.type === u.MultiValue)
|
|
3529
|
+
return /* @__PURE__ */ F.cloneElement(y, {
|
|
3530
|
+
onExited: G
|
|
3531
|
+
});
|
|
3532
|
+
if (y.type === u.Placeholder && m)
|
|
3533
|
+
return null;
|
|
3534
|
+
}
|
|
3535
|
+
return y;
|
|
3536
|
+
}, R = P(P({}, o), {}, {
|
|
3537
|
+
style: P(P({}, o?.style), {}, {
|
|
3538
|
+
display: i && a || m ? "flex" : "grid"
|
|
3539
|
+
})
|
|
3540
|
+
}), d = P(P({}, r), {}, {
|
|
3541
|
+
innerProps: R,
|
|
3542
|
+
children: F.Children.toArray(n).map(A)
|
|
3543
|
+
});
|
|
3544
|
+
return d;
|
|
3545
|
+
}, Ka = Qa, qa = ["Input", "MultiValue", "Placeholder", "SingleValue", "ValueContainer"], kn = function() {
|
|
3546
|
+
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, n = Ca({
|
|
3547
|
+
components: e
|
|
3548
|
+
}), r = n.Input, i = n.MultiValue, a = n.Placeholder, o = n.SingleValue, c = n.ValueContainer, u = ee(n, qa);
|
|
3549
|
+
return P({
|
|
3550
|
+
Input: Za(r),
|
|
3551
|
+
MultiValue: za(i),
|
|
3552
|
+
Placeholder: Fa(a),
|
|
3553
|
+
SingleValue: Da(o),
|
|
3554
|
+
ValueContainer: Ka(c)
|
|
3555
|
+
}, u);
|
|
3556
|
+
}, We = kn();
|
|
3557
|
+
We.Input;
|
|
3558
|
+
We.MultiValue;
|
|
3559
|
+
We.Placeholder;
|
|
3560
|
+
We.SingleValue;
|
|
3561
|
+
We.ValueContainer;
|
|
3562
|
+
var Mo = ar(kn);
|
|
3563
|
+
export {
|
|
3564
|
+
wo as A,
|
|
3565
|
+
Bo as B,
|
|
3566
|
+
Go as C,
|
|
3567
|
+
To as D,
|
|
3568
|
+
yo as E,
|
|
3569
|
+
Ro as F,
|
|
3570
|
+
Ca as G,
|
|
3571
|
+
P as H,
|
|
3572
|
+
Zt as I,
|
|
3573
|
+
io as J,
|
|
3574
|
+
so as K,
|
|
3575
|
+
ar as L,
|
|
3576
|
+
co as M,
|
|
3577
|
+
oo as N,
|
|
3578
|
+
ao as O,
|
|
3579
|
+
W as P,
|
|
3580
|
+
Gt as Q,
|
|
3581
|
+
po as R,
|
|
3582
|
+
ee as S,
|
|
3583
|
+
bo as T,
|
|
3584
|
+
B as U,
|
|
3585
|
+
Pn as V,
|
|
3586
|
+
uo as W,
|
|
3587
|
+
se as X,
|
|
3588
|
+
Rt as _,
|
|
3589
|
+
Ae as a,
|
|
3590
|
+
Ba as b,
|
|
3591
|
+
en as c,
|
|
3592
|
+
ai as d,
|
|
3593
|
+
ro as e,
|
|
3594
|
+
xo as f,
|
|
3595
|
+
Zo as g,
|
|
3596
|
+
Vo as h,
|
|
3597
|
+
Mo as i,
|
|
3598
|
+
No as j,
|
|
3599
|
+
Xo as k,
|
|
3600
|
+
Co as l,
|
|
3601
|
+
fo as m,
|
|
3602
|
+
Io as n,
|
|
3603
|
+
Wo as o,
|
|
3604
|
+
Ho as p,
|
|
3605
|
+
mo as q,
|
|
3606
|
+
vo as r,
|
|
3607
|
+
go as s,
|
|
3608
|
+
nr as t,
|
|
3609
|
+
ho as u,
|
|
3610
|
+
lo as v,
|
|
3611
|
+
So as w,
|
|
3612
|
+
Eo as x,
|
|
3613
|
+
Po as y,
|
|
3614
|
+
Ao as z
|
|
3615
|
+
};
|
|
3616
|
+
//# sourceMappingURL=react-select-animated.esm.js.map
|