@app-studio/web 0.8.73 → 0.8.76
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/components/Accordion/Accordion/Accordion.props.d.ts +112 -0
- package/dist/components/Accordion/Accordion/Accordion.state.d.ts +9 -0
- package/dist/components/Accordion/Accordion/Accordion.style.d.ts +4 -0
- package/dist/components/Accordion/Accordion/Accordion.type.d.ts +38 -0
- package/dist/components/Accordion/Accordion/Accordion.view.d.ts +31 -0
- package/dist/components/Accordion/Accordion.d.ts +2 -0
- package/dist/components/Accordion/examples/collapsible.d.ts +2 -0
- package/dist/components/Accordion/examples/default.d.ts +2 -0
- package/dist/components/Accordion/examples/disabled.d.ts +2 -0
- package/dist/components/Accordion/examples/index.d.ts +5 -0
- package/dist/components/Accordion/examples/multiple.d.ts +2 -0
- package/dist/components/Accordion/examples/variants.d.ts +2 -0
- package/dist/components/Alert/Alert/Alert.props.d.ts +2 -2
- package/dist/components/Alert/Alert/Alert.style.d.ts +20 -47
- package/dist/components/Alert/Alert/Alert.view.d.ts +8 -0
- package/dist/components/Alert/examples/designSystem.d.ts +12 -0
- package/dist/components/Avatar/Avatar/Avatar.style.d.ts +22 -0
- package/dist/components/Avatar/Avatar/Avatar.view.d.ts +6 -0
- package/dist/components/Avatar/examples/designSystem.d.ts +12 -0
- package/dist/components/Avatar/examples/index.d.ts +1 -0
- package/dist/components/Badge/Badge/Badge.style.d.ts +24 -2
- package/dist/components/Badge/Badge/Badge.view.d.ts +8 -0
- package/dist/components/Badge/examples/designSystem.d.ts +12 -0
- package/dist/components/Badge/examples/index.d.ts +1 -0
- package/dist/components/Button/Button/Button.style.d.ts +24 -1
- package/dist/components/Button/Button/Button.view.d.ts +5 -0
- package/dist/components/Button/examples/designSystem.d.ts +12 -0
- package/dist/components/Button/examples/index.d.ts +1 -0
- package/dist/components/Card/Card/Card.context.d.ts +7 -0
- package/dist/components/Card/Card/Card.props.d.ts +81 -0
- package/dist/components/Card/Card/Card.state.d.ts +5 -0
- package/dist/components/Card/Card/Card.style.d.ts +29 -0
- package/dist/components/Card/Card/Card.type.d.ts +10 -0
- package/dist/components/Card/Card/Card.view.d.ts +6 -0
- package/dist/components/Card/Card.d.ts +2 -0
- package/dist/components/Card/examples/contextStyling.d.ts +2 -0
- package/dist/components/Card/examples/custom.d.ts +2 -0
- package/dist/components/Card/examples/default.d.ts +2 -0
- package/dist/components/Card/examples/designSystem.d.ts +12 -0
- package/dist/components/Card/examples/index.d.ts +8 -0
- package/dist/components/Card/examples/shapes.d.ts +2 -0
- package/dist/components/Card/examples/sizes.d.ts +2 -0
- package/dist/components/Card/examples/structured.d.ts +2 -0
- package/dist/components/Card/examples/variants.d.ts +2 -0
- package/dist/components/Carousel/Carousel/Carousel.context.d.ts +4 -0
- package/dist/components/Carousel/Carousel/Carousel.props.d.ts +155 -0
- package/dist/components/Carousel/Carousel/Carousel.state.d.ts +29 -0
- package/dist/components/Carousel/Carousel/Carousel.style.d.ts +6 -0
- package/dist/components/Carousel/Carousel/Carousel.type.d.ts +32 -0
- package/dist/components/Carousel/Carousel/Carousel.view.d.ts +8 -0
- package/dist/components/Carousel/Carousel.d.ts +2 -0
- package/dist/components/Carousel/examples/autoplay.d.ts +2 -0
- package/dist/components/Carousel/examples/compound.d.ts +3 -0
- package/dist/components/Carousel/examples/custom.d.ts +2 -0
- package/dist/components/Carousel/examples/default.d.ts +2 -0
- package/dist/components/Carousel/examples/index.d.ts +7 -0
- package/dist/components/Carousel/examples/indicators.d.ts +2 -0
- package/dist/components/Carousel/examples/navigation.d.ts +2 -0
- package/dist/components/Carousel/examples/stepIndices.d.ts +2 -0
- package/dist/components/Chart/Chart/BarChart.d.ts +15 -0
- package/dist/components/Chart/Chart/Chart.props.d.ts +101 -0
- package/dist/components/Chart/Chart/Chart.state.d.ts +37 -0
- package/dist/components/Chart/Chart/Chart.style.d.ts +20 -0
- package/dist/components/Chart/Chart/Chart.type.d.ts +36 -0
- package/dist/components/Chart/Chart/Chart.view.d.ts +3 -0
- package/dist/components/Chart/Chart/LineChart.d.ts +15 -0
- package/dist/components/Chart/Chart/PieChart.d.ts +15 -0
- package/dist/components/Chart/Chart.d.ts +3 -0
- package/dist/components/Chart/examples/area.d.ts +2 -0
- package/dist/components/Chart/examples/bar.d.ts +2 -0
- package/dist/components/Chart/examples/custom.d.ts +2 -0
- package/dist/components/Chart/examples/designSystem.d.ts +12 -0
- package/dist/components/Chart/examples/donut.d.ts +2 -0
- package/dist/components/Chart/examples/index.d.ts +8 -0
- package/dist/components/Chart/examples/line.d.ts +2 -0
- package/dist/components/Chart/examples/pie.d.ts +2 -0
- package/dist/components/Chart/examples/states.d.ts +2 -0
- package/dist/components/Chat/AIResponseDisplay/AIResponseDisplay/AIResponseDisplay.props.d.ts +40 -0
- package/dist/components/Chat/AIResponseDisplay/AIResponseDisplay/AIResponseDisplay.style.d.ts +10 -0
- package/dist/components/Chat/AIResponseDisplay/AIResponseDisplay/AIResponseDisplay.type.d.ts +23 -0
- package/dist/components/Chat/AIResponseDisplay/AIResponseDisplay/AIResponseDisplay.view.d.ts +9 -0
- package/dist/components/Chat/AIResponseDisplay/AIResponseDisplay.d.ts +10 -0
- package/dist/components/Chat/AIResponseDisplay/examples/basic.d.ts +5 -0
- package/dist/components/Chat/AIResponseDisplay/examples/index.d.ts +4 -0
- package/dist/components/Chat/ChatInterface/ChatInterface/ChatInterface.props.d.ts +56 -0
- package/dist/components/Chat/ChatInterface/ChatInterface/ChatInterface.state.d.ts +12 -0
- package/dist/components/Chat/ChatInterface/ChatInterface/ChatInterface.style.d.ts +10 -0
- package/dist/components/Chat/ChatInterface/ChatInterface/ChatInterface.type.d.ts +19 -0
- package/dist/components/Chat/ChatInterface/ChatInterface/ChatInterface.view.d.ts +14 -0
- package/dist/components/Chat/ChatInterface/ChatInterface.d.ts +11 -0
- package/dist/components/Chat/CodeBlock/CodeBlock/CodeBlock.props.d.ts +35 -0
- package/dist/components/Chat/CodeBlock/CodeBlock/CodeBlock.state.d.ts +7 -0
- package/dist/components/Chat/CodeBlock/CodeBlock/CodeBlock.style.d.ts +12 -0
- package/dist/components/Chat/CodeBlock/CodeBlock/CodeBlock.type.d.ts +11 -0
- package/dist/components/Chat/CodeBlock/CodeBlock/CodeBlock.view.d.ts +11 -0
- package/dist/components/Chat/CodeBlock/CodeBlock.d.ts +10 -0
- package/dist/components/Chat/FileUploader/FileUploader/FileUploader.props.d.ts +47 -0
- package/dist/components/Chat/FileUploader/FileUploader/FileUploader.state.d.ts +15 -0
- package/dist/components/Chat/FileUploader/FileUploader/FileUploader.style.d.ts +15 -0
- package/dist/components/Chat/FileUploader/FileUploader/FileUploader.type.d.ts +24 -0
- package/dist/components/Chat/FileUploader/FileUploader/FileUploader.view.d.ts +18 -0
- package/dist/components/Chat/FileUploader/FileUploader.d.ts +11 -0
- package/dist/components/Chat/LoadingIndicator/LoadingIndicator/LoadingIndicator.props.d.ts +27 -0
- package/dist/components/Chat/LoadingIndicator/LoadingIndicator/LoadingIndicator.style.d.ts +13 -0
- package/dist/components/Chat/LoadingIndicator/LoadingIndicator/LoadingIndicator.type.d.ts +11 -0
- package/dist/components/Chat/LoadingIndicator/LoadingIndicator/LoadingIndicator.view.d.ts +6 -0
- package/dist/components/Chat/LoadingIndicator/LoadingIndicator.d.ts +10 -0
- package/dist/components/Chat/MessageBubble/MessageBubble/MessageBubble.props.d.ts +36 -0
- package/dist/components/Chat/MessageBubble/MessageBubble/MessageBubble.state.d.ts +14 -0
- package/dist/components/Chat/MessageBubble/MessageBubble/MessageBubble.style.d.ts +10 -0
- package/dist/components/Chat/MessageBubble/MessageBubble/MessageBubble.type.d.ts +11 -0
- package/dist/components/Chat/MessageBubble/MessageBubble/MessageBubble.view.d.ts +17 -0
- package/dist/components/Chat/MessageBubble/MessageBubble.d.ts +10 -0
- package/dist/components/Chat/ModelSelector/ModelSelector/ModelSelector.props.d.ts +39 -0
- package/dist/components/Chat/ModelSelector/ModelSelector/ModelSelector.state.d.ts +12 -0
- package/dist/components/Chat/ModelSelector/ModelSelector/ModelSelector.style.d.ts +11 -0
- package/dist/components/Chat/ModelSelector/ModelSelector/ModelSelector.type.d.ts +21 -0
- package/dist/components/Chat/ModelSelector/ModelSelector/ModelSelector.view.d.ts +16 -0
- package/dist/components/Chat/ModelSelector/ModelSelector.d.ts +10 -0
- package/dist/components/Chat/PromptInput/PromptInput/PromptInput.props.d.ts +59 -0
- package/dist/components/Chat/PromptInput/PromptInput/PromptInput.state.d.ts +13 -0
- package/dist/components/Chat/PromptInput/PromptInput/PromptInput.style.d.ts +10 -0
- package/dist/components/Chat/PromptInput/PromptInput/PromptInput.type.d.ts +11 -0
- package/dist/components/Chat/PromptInput/PromptInput/PromptInput.view.d.ts +16 -0
- package/dist/components/Chat/PromptInput/PromptInput.d.ts +10 -0
- package/dist/components/Chat/SettingsPanel/SettingsPanel/SettingsPanel.props.d.ts +31 -0
- package/dist/components/Chat/SettingsPanel/SettingsPanel/SettingsPanel.style.d.ts +11 -0
- package/dist/components/Chat/SettingsPanel/SettingsPanel/SettingsPanel.type.d.ts +30 -0
- package/dist/components/Chat/SettingsPanel/SettingsPanel/SettingsPanel.view.d.ts +6 -0
- package/dist/components/Chat/SettingsPanel/SettingsPanel.d.ts +10 -0
- package/dist/components/Chat/ToolSelector/ToolSelector/ToolSelector.props.d.ts +39 -0
- package/dist/components/Chat/ToolSelector/ToolSelector/ToolSelector.style.d.ts +10 -0
- package/dist/components/Chat/ToolSelector/ToolSelector/ToolSelector.type.d.ts +20 -0
- package/dist/components/Chat/ToolSelector/ToolSelector/ToolSelector.view.d.ts +6 -0
- package/dist/components/Chat/ToolSelector/ToolSelector.d.ts +10 -0
- package/dist/components/Chat/index.d.ts +16 -0
- package/dist/components/Command/Command/Command.props.d.ts +162 -0
- package/dist/components/Command/Command/Command.state.d.ts +18 -0
- package/dist/components/Command/Command/Command.style.d.ts +18 -0
- package/dist/components/Command/Command/Command.type.d.ts +114 -0
- package/dist/components/Command/Command/Command.view.d.ts +31 -0
- package/dist/components/Command/Command.d.ts +2 -0
- package/dist/components/Command/examples/customized.d.ts +2 -0
- package/dist/components/Command/examples/default.d.ts +2 -0
- package/dist/components/Command/examples/groups.d.ts +2 -0
- package/dist/components/Command/examples/index.d.ts +5 -0
- package/dist/components/Command/examples/sizes.d.ts +2 -0
- package/dist/components/Command/examples/variants.d.ts +2 -0
- package/dist/components/Command/index.d.ts +1 -0
- package/dist/components/ContextMenu/ContextMenu/ContextMenu.props.d.ts +163 -0
- package/dist/components/ContextMenu/ContextMenu/ContextMenu.state.d.ts +26 -0
- package/dist/components/ContextMenu/ContextMenu/ContextMenu.style.d.ts +20 -0
- package/dist/components/ContextMenu/ContextMenu/ContextMenu.type.d.ts +52 -0
- package/dist/components/ContextMenu/ContextMenu/ContextMenu.view.d.ts +21 -0
- package/dist/components/ContextMenu/ContextMenu.d.ts +2 -0
- package/dist/components/ContextMenu/examples/compound.d.ts +2 -0
- package/dist/components/ContextMenu/examples/custom.d.ts +2 -0
- package/dist/components/ContextMenu/examples/default.d.ts +2 -0
- package/dist/components/ContextMenu/examples/index.d.ts +5 -0
- package/dist/components/ContextMenu/examples/sizes.d.ts +2 -0
- package/dist/components/ContextMenu/examples/variants.d.ts +2 -0
- package/dist/components/DropdownMenu/DropdownMenu/DropdownMenu.props.d.ts +117 -0
- package/dist/components/DropdownMenu/DropdownMenu/DropdownMenu.state.d.ts +7 -0
- package/dist/components/DropdownMenu/DropdownMenu/DropdownMenu.style.d.ts +17 -0
- package/dist/components/DropdownMenu/DropdownMenu/DropdownMenu.type.d.ts +34 -0
- package/dist/components/DropdownMenu/DropdownMenu/DropdownMenu.view.d.ts +19 -0
- package/dist/components/DropdownMenu/DropdownMenu.d.ts +2 -0
- package/dist/components/DropdownMenu/examples/custom.d.ts +2 -0
- package/dist/components/DropdownMenu/examples/default.d.ts +2 -0
- package/dist/components/DropdownMenu/examples/index.d.ts +5 -0
- package/dist/components/DropdownMenu/examples/positions.d.ts +2 -0
- package/dist/components/DropdownMenu/examples/sizes.d.ts +2 -0
- package/dist/components/DropdownMenu/examples/variants.d.ts +2 -0
- package/dist/components/Form/Checkbox/Checkbox/Checkbox.style.d.ts +70 -1
- package/dist/components/Form/Checkbox/Checkbox/Checkbox.view.d.ts +6 -0
- package/dist/components/Form/Checkbox/examples/designSystem.d.ts +12 -0
- package/dist/components/Form/Checkbox/examples/index.d.ts +1 -0
- package/dist/components/Form/Radio/Radio/Radio.props.d.ts +104 -0
- package/dist/components/Form/Radio/Radio/Radio.state.d.ts +16 -0
- package/dist/components/Form/Radio/Radio/Radio.style.d.ts +92 -0
- package/dist/components/Form/Radio/Radio/Radio.view.d.ts +10 -0
- package/dist/components/Form/Radio/Radio.d.ts +11 -0
- package/dist/components/Form/Radio/RadioGroup/RadioGroup.props.d.ts +78 -0
- package/dist/components/Form/Radio/RadioGroup/RadioGroup.state.d.ts +13 -0
- package/dist/components/Form/Radio/RadioGroup/RadioGroup.view.d.ts +10 -0
- package/dist/components/Form/Radio/RadioGroup.d.ts +11 -0
- package/dist/components/Form/Radio/examples/Default.d.ts +5 -0
- package/dist/components/Form/Radio/examples/DefaultGroup.d.ts +5 -0
- package/dist/components/Form/Radio/examples/designSystem.d.ts +12 -0
- package/dist/components/Form/Radio/examples/index.d.ts +3 -0
- package/dist/components/Form/Radio/index.d.ts +2 -0
- package/dist/components/Form/Select/Select/Select.style.d.ts +22 -0
- package/dist/components/Form/Select/Select/Select.view.d.ts +5 -0
- package/dist/components/Form/Select/examples/designSystem.d.ts +12 -0
- package/dist/components/Form/Select/examples/index.d.ts +1 -0
- package/dist/components/Form/Switch/Switch/Switch.style.d.ts +44 -0
- package/dist/components/Form/Switch/Switch/Switch.view.d.ts +6 -0
- package/dist/components/Form/Switch/examples/designSystem.d.ts +12 -0
- package/dist/components/Form/Switch/examples/index.d.ts +1 -0
- package/dist/components/Form/TextArea/TextArea/TextArea.view.d.ts +6 -0
- package/dist/components/Form/TextArea/examples/designSystem.d.ts +12 -0
- package/dist/components/Form/TextArea/examples/index.d.ts +1 -0
- package/dist/components/Form/TextField/TextField/TextField.view.d.ts +6 -0
- package/dist/components/Form/TextField/examples/designSystem.d.ts +12 -0
- package/dist/components/Form/TextField/examples/index.d.ts +1 -0
- package/dist/components/Formik/Formik.OTPInput.d.ts +8 -0
- package/dist/components/Formik/Formik.Slider.d.ts +7 -0
- package/dist/components/Formik/examples/FormikOTPInput.d.ts +5 -0
- package/dist/components/Formik/examples/FormikSlider.d.ts +2 -0
- package/dist/components/Formik/examples/index.d.ts +2 -0
- package/dist/components/Formik/index.d.ts +2 -0
- package/dist/components/Gradient/Gradient/Gradient.props.d.ts +64 -0
- package/dist/components/Gradient/Gradient/Gradient.style.d.ts +82 -0
- package/dist/components/Gradient/Gradient/Gradient.type.d.ts +37 -0
- package/dist/components/Gradient/Gradient/Gradient.view.d.ts +9 -0
- package/dist/components/Gradient/Gradient.d.ts +30 -0
- package/dist/components/Gradient/examples/animated.d.ts +2 -0
- package/dist/components/Gradient/examples/default.d.ts +2 -0
- package/dist/components/Gradient/examples/designSystem.d.ts +12 -0
- package/dist/components/Gradient/examples/directions.d.ts +2 -0
- package/dist/components/Gradient/examples/index.d.ts +7 -0
- package/dist/components/Gradient/examples/multicolor.d.ts +2 -0
- package/dist/components/Gradient/examples/types.d.ts +2 -0
- package/dist/components/Gradient/examples/withContent.d.ts +2 -0
- package/dist/components/Gradient/index.d.ts +1 -0
- package/dist/components/HoverCard/HoverCard/HoverCard.props.d.ts +21 -0
- package/dist/components/HoverCard/HoverCard/HoverCard.state.d.ts +9 -2
- package/dist/components/HoverCard/HoverCard/HoverCard.style.d.ts +3 -1
- package/dist/components/HoverCard/HoverCard/HoverCard.type.d.ts +8 -1
- package/dist/components/HoverCard/examples/delays.d.ts +2 -0
- package/dist/components/HoverCard/examples/index.d.ts +1 -0
- package/dist/components/Icon/Icon.d.ts +5 -0
- package/dist/components/{Layout/Input → Input}/FieldContainer/FieldContainer/FieldContainer.props.d.ts +1 -1
- package/dist/components/Input/FieldContainer/FieldContainer.d.ts +9 -0
- package/dist/components/{Layout/Input → Input}/FieldContent/FieldContent/FieldContent.props.d.ts +3 -8
- package/dist/components/Input/FieldContent/FieldContent.d.ts +9 -0
- package/dist/components/{Layout/Input → Input}/FieldLabel/FieldLabel/FieldLabel.props.d.ts +1 -1
- package/dist/components/Input/FieldLabel/FieldLabel.d.ts +9 -0
- package/dist/components/{Layout/Input → Input}/FieldLayout/FieldLayout/FieldLayout.props.d.ts +1 -1
- package/dist/components/Input/FieldWrapper/FieldWrapper.d.ts +9 -0
- package/dist/components/Input/HelperText/HelperText.d.ts +9 -0
- package/dist/components/{Layout/Input → Input}/HelperText/HelperText.props.d.ts +1 -1
- package/dist/components/Input/Input.style.d.ts +42 -0
- package/dist/components/Input/index.d.ts +7 -0
- package/dist/components/Menubar/Menubar/Menubar.props.d.ts +185 -0
- package/dist/components/Menubar/Menubar/Menubar.state.d.ts +9 -0
- package/dist/components/Menubar/Menubar/Menubar.style.d.ts +19 -0
- package/dist/components/Menubar/Menubar/Menubar.type.d.ts +35 -0
- package/dist/components/Menubar/Menubar/Menubar.view.d.ts +21 -0
- package/dist/components/Menubar/Menubar.d.ts +2 -0
- package/dist/components/Menubar/examples/composite.d.ts +2 -0
- package/dist/components/Menubar/examples/default.d.ts +2 -0
- package/dist/components/Menubar/examples/index.d.ts +5 -0
- package/dist/components/Menubar/examples/sizes.d.ts +2 -0
- package/dist/components/Menubar/examples/variants.d.ts +2 -0
- package/dist/components/Menubar/examples/vertical.d.ts +2 -0
- package/dist/components/Menubar/index.d.ts +1 -0
- package/dist/components/Modal/Examples/designSystem.d.ts +12 -0
- package/dist/components/Modal/Examples/index.d.ts +1 -0
- package/dist/components/Modal/Modal/Modal.style.d.ts +53 -0
- package/dist/components/Modal/Modal/Modal.view.d.ts +6 -0
- package/dist/components/NavigationMenu/NavigationMenu/NavigationMenu.props.d.ts +164 -0
- package/dist/components/NavigationMenu/NavigationMenu/NavigationMenu.state.d.ts +8 -0
- package/dist/components/NavigationMenu/NavigationMenu/NavigationMenu.style.d.ts +59 -0
- package/dist/components/NavigationMenu/NavigationMenu/NavigationMenu.type.d.ts +34 -0
- package/dist/components/NavigationMenu/NavigationMenu/NavigationMenu.view.d.ts +25 -0
- package/dist/components/NavigationMenu/NavigationMenu.d.ts +2 -0
- package/dist/components/NavigationMenu/examples/compound.d.ts +2 -0
- package/dist/components/NavigationMenu/examples/default.d.ts +2 -0
- package/dist/components/NavigationMenu/examples/designSystem.d.ts +12 -0
- package/dist/components/NavigationMenu/examples/horizontal.d.ts +2 -0
- package/dist/components/NavigationMenu/examples/index.d.ts +6 -0
- package/dist/components/NavigationMenu/examples/sizes.d.ts +2 -0
- package/dist/components/NavigationMenu/examples/variants.d.ts +2 -0
- package/dist/components/OTPInput/OTPInput/OTPInput.props.d.ts +142 -0
- package/dist/components/OTPInput/OTPInput/OTPInput.state.d.ts +22 -0
- package/dist/components/OTPInput/OTPInput/OTPInput.type.d.ts +16 -0
- package/dist/components/OTPInput/OTPInput/OTPInput.view.d.ts +28 -0
- package/dist/components/OTPInput/OTPInput/sync-timeouts.d.ts +1 -0
- package/dist/components/OTPInput/OTPInput.d.ts +3 -0
- package/dist/components/OTPInput/examples/Default.d.ts +4 -0
- package/dist/components/OTPInput/examples/OnComplete.d.ts +2 -0
- package/dist/components/OTPInput/examples/PasswordOTP.d.ts +3 -0
- package/dist/components/OTPInput/examples/StepValues.d.ts +3 -0
- package/dist/components/OTPInput/examples/index.d.ts +4 -0
- package/dist/components/Pagination/Pagination/Pagination.props.d.ts +60 -0
- package/dist/components/Pagination/Pagination/Pagination.state.d.ts +3 -0
- package/dist/components/Pagination/Pagination/Pagination.style.d.ts +7 -0
- package/dist/components/Pagination/Pagination/Pagination.type.d.ts +17 -0
- package/dist/components/Pagination/Pagination/Pagination.view.d.ts +3 -0
- package/dist/components/Pagination/Pagination.d.ts +3 -0
- package/dist/components/Pagination/examples/advanced.d.ts +2 -0
- package/dist/components/Pagination/examples/default.d.ts +2 -0
- package/dist/components/Pagination/examples/index.d.ts +6 -0
- package/dist/components/Pagination/examples/shapes.d.ts +2 -0
- package/dist/components/Pagination/examples/sizes.d.ts +2 -0
- package/dist/components/Pagination/examples/table.d.ts +2 -0
- package/dist/components/Pagination/examples/variants.d.ts +2 -0
- package/dist/components/Pagination/index.d.ts +1 -0
- package/dist/components/Resizable/Resizable/Resizable.props.d.ts +160 -0
- package/dist/components/Resizable/Resizable/Resizable.state.d.ts +17 -0
- package/dist/components/Resizable/Resizable/Resizable.style.d.ts +6 -0
- package/dist/components/Resizable/Resizable/Resizable.type.d.ts +56 -0
- package/dist/components/Resizable/Resizable/Resizable.view.d.ts +13 -0
- package/dist/components/Resizable/Resizable.d.ts +2 -0
- package/dist/components/Resizable/examples/codeEditor.d.ts +2 -0
- package/dist/components/Resizable/examples/collapsible.d.ts +2 -0
- package/dist/components/Resizable/examples/controlled.d.ts +2 -0
- package/dist/components/Resizable/examples/default.d.ts +2 -0
- package/dist/components/Resizable/examples/index.d.ts +9 -0
- package/dist/components/Resizable/examples/nested.d.ts +2 -0
- package/dist/components/Resizable/examples/sizes.d.ts +2 -0
- package/dist/components/Resizable/examples/test.d.ts +2 -0
- package/dist/components/Resizable/examples/variants.d.ts +2 -0
- package/dist/components/Resizable/examples/vertical.d.ts +2 -0
- package/dist/components/Resizable/index.d.ts +1 -0
- package/dist/components/Separator/Separator/Separator.props.d.ts +38 -0
- package/dist/components/Separator/Separator/Separator.style.d.ts +38 -0
- package/dist/components/Separator/Separator/Separator.type.d.ts +8 -0
- package/dist/components/Separator/Separator/Separator.view.d.ts +9 -0
- package/dist/components/Separator/Separator.d.ts +3 -0
- package/dist/components/Separator/examples/colors.d.ts +2 -0
- package/dist/components/Separator/examples/customized.d.ts +2 -0
- package/dist/components/Separator/examples/default.d.ts +2 -0
- package/dist/components/Separator/examples/designSystem.d.ts +12 -0
- package/dist/components/Separator/examples/inCard.d.ts +2 -0
- package/dist/components/Separator/examples/index.d.ts +9 -0
- package/dist/components/Separator/examples/orientations.d.ts +2 -0
- package/dist/components/Separator/examples/thicknesses.d.ts +2 -0
- package/dist/components/Separator/examples/variants.d.ts +2 -0
- package/dist/components/Separator/examples/withLabel.d.ts +2 -0
- package/dist/components/Separator/index.d.ts +1 -0
- package/dist/components/Sidebar/Sidebar/Sidebar.props.d.ts +153 -0
- package/dist/components/Sidebar/Sidebar/Sidebar.state.d.ts +7 -0
- package/dist/components/Sidebar/Sidebar/Sidebar.style.d.ts +44 -0
- package/dist/components/Sidebar/Sidebar/Sidebar.type.d.ts +32 -0
- package/dist/components/Sidebar/Sidebar/Sidebar.view.d.ts +21 -0
- package/dist/components/Sidebar/Sidebar.d.ts +2 -0
- package/dist/components/Sidebar/examples/accessibleSidebar.d.ts +2 -0
- package/dist/components/Sidebar/examples/controlled.d.ts +2 -0
- package/dist/components/Sidebar/examples/customized.d.ts +2 -0
- package/dist/components/Sidebar/examples/default.d.ts +2 -0
- package/dist/components/Sidebar/examples/designSystem.d.ts +12 -0
- package/dist/components/Sidebar/examples/index.d.ts +8 -0
- package/dist/components/Sidebar/examples/positions.d.ts +2 -0
- package/dist/components/Sidebar/examples/sizes.d.ts +2 -0
- package/dist/components/Sidebar/examples/variants.d.ts +2 -0
- package/dist/components/Sidebar/index.d.ts +1 -0
- package/dist/components/Slider/examples/index.d.ts +12 -0
- package/dist/components/Slider/examples/tooltipIntegration.d.ts +2 -0
- package/dist/components/Table/Table/Table.style.d.ts +31 -0
- package/dist/components/Table/Table/Table.view.d.ts +6 -0
- package/dist/components/Table/examples/designSystem.d.ts +12 -0
- package/dist/components/Table/examples/index.d.ts +1 -0
- package/dist/components/Tabs/Tabs/TabHeader.d.ts +22 -0
- package/dist/components/Tabs/Tabs/Tabs.props.d.ts +4 -2
- package/dist/components/Tabs/examples/customHeader.d.ts +2 -0
- package/dist/components/Tabs/examples/index.d.ts +1 -0
- package/dist/components/Text/Text/Text.style.d.ts +26 -2
- package/dist/components/Text/Text/Text.view.d.ts +8 -0
- package/dist/components/Text/examples/designSystem.d.ts +10 -0
- package/dist/components/Text/examples/index.d.ts +1 -0
- package/dist/components/Toast/Toast/Toast.hook.d.ts +35 -0
- package/dist/components/Toast/Toast/Toast.props.d.ts +91 -0
- package/dist/components/Toast/Toast/Toast.store.d.ts +9 -0
- package/dist/components/Toast/Toast/Toast.style.d.ts +37 -0
- package/dist/components/Toast/Toast/Toast.type.d.ts +63 -0
- package/dist/components/Toast/Toast/Toast.view.d.ts +4 -0
- package/dist/components/Toast/Toast.d.ts +22 -0
- package/dist/components/Toast/examples/actions.d.ts +2 -0
- package/dist/components/Toast/examples/customization.d.ts +2 -0
- package/dist/components/Toast/examples/default.d.ts +2 -0
- package/dist/components/Toast/examples/designSystem.d.ts +12 -0
- package/dist/components/Toast/examples/duration.d.ts +2 -0
- package/dist/components/Toast/examples/hookUsage.d.ts +2 -0
- package/dist/components/Toast/examples/index.d.ts +8 -0
- package/dist/components/Toast/examples/positions.d.ts +2 -0
- package/dist/components/Toast/examples/variants.d.ts +2 -0
- package/dist/components/Toast/index.d.ts +1 -0
- package/dist/components/Tooltip/Tooltip/Tooltip.props.d.ts +108 -0
- package/dist/components/Tooltip/Tooltip/Tooltip.state.d.ts +18 -0
- package/dist/components/Tooltip/Tooltip/Tooltip.style.d.ts +6 -0
- package/dist/components/Tooltip/Tooltip/Tooltip.type.d.ts +21 -0
- package/dist/components/Tooltip/Tooltip/Tooltip.view.d.ts +20 -0
- package/dist/components/Tooltip/Tooltip.d.ts +2 -0
- package/dist/components/Tooltip/examples/custom.d.ts +2 -0
- package/dist/components/Tooltip/examples/default.d.ts +2 -0
- package/dist/components/Tooltip/examples/index.d.ts +6 -0
- package/dist/components/Tooltip/examples/integration.d.ts +2 -0
- package/dist/components/Tooltip/examples/positions.d.ts +2 -0
- package/dist/components/Tooltip/examples/sizes.d.ts +2 -0
- package/dist/components/Tooltip/examples/variants.d.ts +2 -0
- package/dist/components/Tooltip/index.d.ts +1 -0
- package/dist/components/index.d.ts +32 -7
- package/dist/hooks/useRect.d.ts +7 -0
- package/dist/pages/accordion.page.d.ts +3 -0
- package/dist/pages/card.page.d.ts +3 -0
- package/dist/pages/carousel.page.d.ts +3 -0
- package/dist/pages/chart.page.d.ts +3 -0
- package/dist/pages/chat.page.d.ts +3 -0
- package/dist/pages/command.page.d.ts +3 -0
- package/dist/pages/components.page.d.ts +5 -0
- package/dist/pages/contextMenu.page.d.ts +3 -0
- package/dist/pages/dropdownMenu.page.d.ts +3 -0
- package/dist/pages/gradient.page.d.ts +3 -0
- package/dist/pages/menubar.page.d.ts +3 -0
- package/dist/pages/navigationMenu.page.d.ts +3 -0
- package/dist/pages/otpInput.page.d.ts +3 -0
- package/dist/pages/pagination.page.d.ts +3 -0
- package/dist/pages/radio.page.d.ts +2 -0
- package/dist/pages/resizable.page.d.ts +3 -0
- package/dist/pages/separator.page.d.ts +3 -0
- package/dist/pages/sidebar.page.d.ts +3 -0
- package/dist/pages/slider.page.d.ts +2 -2
- package/dist/pages/toast.page.d.ts +3 -0
- package/dist/pages/tooltip.page.d.ts +3 -0
- package/dist/utils/generateId.d.ts +5 -0
- package/dist/utils/id.d.ts +6 -0
- package/dist/web.cjs.development.js +13438 -4789
- package/dist/web.cjs.development.js.map +1 -1
- package/dist/web.cjs.production.min.js +1 -1
- package/dist/web.cjs.production.min.js.map +1 -1
- package/dist/web.esm.js +13396 -4759
- package/dist/web.esm.js.map +1 -1
- package/dist/web.umd.development.js +13294 -4656
- package/dist/web.umd.development.js.map +1 -1
- package/dist/web.umd.production.min.js +1 -1
- package/dist/web.umd.production.min.js.map +1 -1
- package/package.json +6 -5
- package/dist/components/Alert/examples/index.d.ts +0 -4
- package/dist/components/Layout/Center/Center.d.ts +0 -4
- package/dist/components/Layout/Center/Center.props.d.ts +0 -3
- package/dist/components/Layout/Horizontal/Horizontal.d.ts +0 -4
- package/dist/components/Layout/Horizontal/Horizontal.props.d.ts +0 -4
- package/dist/components/Layout/Horizontal/examples/Default.d.ts +0 -2
- package/dist/components/Layout/Horizontal/examples/Justify.d.ts +0 -2
- package/dist/components/Layout/Horizontal/examples/Reversed.d.ts +0 -2
- package/dist/components/Layout/Horizontal/examples/Wrap.d.ts +0 -2
- package/dist/components/Layout/Horizontal/examples/index.d.ts +0 -4
- package/dist/components/Layout/Input/FieldContainer/FieldContainer.d.ts +0 -3
- package/dist/components/Layout/Input/FieldContent/FieldContent.d.ts +0 -3
- package/dist/components/Layout/Input/FieldLabel/FieldLabel.d.ts +0 -3
- package/dist/components/Layout/Input/FieldWrapper/FieldWrapper.d.ts +0 -3
- package/dist/components/Layout/Input/HelperText/HelperText.d.ts +0 -3
- package/dist/components/Layout/Input/index.d.ts +0 -7
- package/dist/components/Layout/Vertical/Vertical.d.ts +0 -4
- package/dist/components/Layout/Vertical/Vertical.props.d.ts +0 -4
- package/dist/components/Layout/Vertical/examples/Default.d.ts +0 -2
- package/dist/components/Layout/Vertical/examples/Justify.d.ts +0 -2
- package/dist/components/Layout/Vertical/examples/Reversed.d.ts +0 -2
- package/dist/components/Layout/Vertical/examples/Wrap.d.ts +0 -2
- package/dist/components/Layout/Vertical/examples/index.d.ts +0 -5
- package/dist/components/Layout/View/View.d.ts +0 -9
- package/dist/components/Layout/configs/Input.style.d.ts +0 -17
- package/dist/components/Layout/index.d.ts +0 -4
- package/dist/components/Slider/SliderDemo.d.ts +0 -3
- package/dist/pages/center.page.d.ts +0 -3
- package/dist/pages/horizontal.page.d.ts +0 -3
- package/dist/pages/vertical.page.d.ts +0 -3
- package/dist/utils/componentsPageImports.d.ts +0 -6
- /package/dist/components/{Layout/Input → Input}/FieldIcons/FieldIcons/FieldIcons.props.d.ts +0 -0
- /package/dist/components/{Layout/Input → Input}/FieldIcons/FieldIcons.d.ts +0 -0
- /package/dist/components/{Layout/Input → Input}/FieldLayout/FieldLayout.d.ts +0 -0
- /package/dist/components/{Layout/Input → Input}/FieldWrapper/FieldWrapper.props.d.ts +0 -0
- /package/dist/components/{Layout/configs → Input}/Input.type.d.ts +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("core-js/modules/es.symbol.description.js"),require("react"),require("core-js/modules/es.object.assign.js"),require("app-studio"),require("core-js/modules/es.array.iterator.js"),require("core-js/modules/es.parse-float.js"),require("core-js/modules/web.dom-collections.iterator.js"),require("core-js/modules/es.array.includes.js"),require("react-router-dom"),require("core-js/modules/es.string.includes.js"),require("core-js/modules/es.string.starts-with.js"),require("date-fns/format"),require("formik"),require("core-js/modules/es.number.to-fixed.js"),require("core-js/modules/web.url.js"),require("core-js/modules/web.url.to-json.js"),require("core-js/modules/web.url-search-params.js"),require("zustand"),require("src/components/Layout")):"function"==typeof define&&define.amd?define(["exports","core-js/modules/es.symbol.description.js","react","core-js/modules/es.object.assign.js","app-studio","core-js/modules/es.array.iterator.js","core-js/modules/es.parse-float.js","core-js/modules/web.dom-collections.iterator.js","core-js/modules/es.array.includes.js","react-router-dom","core-js/modules/es.string.includes.js","core-js/modules/es.string.starts-with.js","date-fns/format","formik","core-js/modules/es.number.to-fixed.js","core-js/modules/web.url.js","core-js/modules/web.url.to-json.js","core-js/modules/web.url-search-params.js","zustand","src/components/Layout"],t):t((e=e||self)["@app-studio/web"]={},0,e.React,0,e.appStudio,0,0,0,0,e.reactRouterDom,0,0,e.format,e.formik,0,0,0,0,e.zustand,e.Layout)}(this,(function(e,t,o,i,r,a,n,l,s,d,c,h,m,u,g,v,b,p,w,f){"use strict";var E="default"in o?o.default:o;m=m&&Object.prototype.hasOwnProperty.call(m,"default")?m.default:m;var x=r.View;function j(e,t){if(null==e)return{};var o={};for(var i in e)if({}.hasOwnProperty.call(e,i)){if(t.includes(i))continue;o[i]=e[i]}return o}var y={h1:{fontSize:60,lineHeight:71,letterSpacing:-.5},h2:{fontSize:48,lineHeight:57,letterSpacing:0},h3:{fontSize:34,lineHeight:40,letterSpacing:.25},h4:{fontSize:24,lineHeight:28,letterSpacing:0},h5:{fontSize:18,lineHeight:22,letterSpacing:.15},h6:{fontSize:14,lineHeight:18,letterSpacing:.15}},C=["children","heading","maxLines","isItalic","isUnderlined","isSub","isSup","isStriked","weight","size","views"],k=e=>{var{children:t,isSub:o,isSup:i,views:a}=e;return E.createElement(E.Fragment,null,"string"==typeof t?E.createElement(E.Fragment,null,o&&E.createElement(r.View,Object.assign({as:"sup"},null==a?void 0:a.sup),t),i&&E.createElement(r.View,Object.assign({as:"sup"},null==a?void 0:a.sup),t),!o&&!i&&E.createElement(E.Fragment,null,t)):t)},H=e=>{var{text:t,maxLines:i=1,views:a}=e,n=o.useRef(null),[l,s]=o.useState(t.length);o.useEffect(()=>{var e=n.current;e&&(()=>{for(var o,r=getComputedStyle(e).lineHeight,a=("normal"!==r?parseFloat(r):20)*i,n=0,l=t.length;n<=l;)o=Math.floor((n+l)/2),e.innerText=t.substring(0,o)+"...",e.offsetHeight>a?l=o-1:n=o+1;s(l)})()},[t,i]);var d=t.length>l?t.substring(0,l)+"...":t;return E.createElement(r.View,Object.assign({ref:n},null==a?void 0:a.truncateText),d)},O=e=>{var{children:t,heading:o,maxLines:i,isItalic:a=!1,isUnderlined:n=!1,isSub:l=!1,isSup:s=!1,isStriked:d=!1,weight:c="normal",size:h="md",views:m}=e,u=j(e,C);return E.createElement(r.Element,Object.assign({fontSize:r.Typography.fontSizes[h],lineHeight:r.Typography.lineHeights[h],fontStyle:a?"italic":"normal",fontWeight:r.Typography.fontWeights[c],textDecoration:d?"line-through":n?"underline":"none"},l||s?{display:"inline"}:{},o?y[o]:{},u,null==m?void 0:m.container),i&&"string"==typeof t?E.createElement(H,{text:t,maxLines:i}):E.createElement(k,{isSub:l,isSup:s},t))},I=e=>E.createElement(O,Object.assign({},e)),S=["justifyContent","isReversed"],z=E.forwardRef((e,t)=>{var{justifyContent:o="flex-start",isReversed:i=!1}=e,a=j(e,S);return E.createElement(r.View,Object.assign({display:"flex",justifyContent:o,flexDirection:i?"column-reverse":"column"},a,{ref:t}))});z.displayName="Vertical";var M=z,T=["justifyContent","isReversed"],_=E.forwardRef((e,t)=>{var{justifyContent:o="flex-start",isReversed:i=!1}=e,a=j(e,T);return E.createElement(r.View,Object.assign({display:"flex",justifyContent:o,flexDirection:i?"row-reverse":"row"},a,{ref:t}))});_.displayName="Horizontal";var W=_,L=["justifyContent","isReversed"],R=E.forwardRef((e,t)=>{var o=j(e,L);return E.createElement(r.View,Object.assign({display:"flex",justifyContent:"center",alignItems:"center"},o,{ref:t}))});R.displayName="Center";var V=R,B=["widthHeight","color","transform","orientation","children"],F=["widthHeight","color","filled","strokeWidth"],D=["widthHeight","color","filled","strokeWidth"],P=["widthHeight","color","filled","strokeWidth"],A=["widthHeight","color","filled","strokeWidth"],G=["widthHeight","color","filled","strokeWidth"],U=["widthHeight","color","filled","strokeWidth"],N=["widthHeight","color","filled","strokeWidth"],K=["widthHeight","color","filled","strokeWidth"],Z=["widthHeight","color","filled","strokeWidth"],Y=["widthHeight","color","filled","strokeWidth"],q=["widthHeight","color","filled","strokeWidth"],X=["widthHeight","color","filled","strokeWidth"],J=["widthHeight","color","filled","strokeWidth"],Q=["widthHeight","color","filled","strokeWidth"],$=["widthHeight","color","filled","strokeWidth"],ee=["widthHeight","color","filled","strokeWidth"],te=["widthHeight","color","filled","strokeWidth"],oe=["widthHeight","color","filled","strokeWidth"],ie=["widthHeight","color","filled","strokeWidth"],re=["widthHeight","color","filled","strokeWidth"],ae=["widthHeight","color","filled","strokeWidth"],ne=["widthHeight","color","filled","strokeWidth"],le=["widthHeight","color","filled","strokeWidth"],se=["widthHeight","color","filled","strokeWidth"],de=["widthHeight","color","filled","strokeWidth"],ce=["widthHeight","color","filled","strokeWidth"],he=["widthHeight","color","filled","strokeWidth"],me=["widthHeight","color","filled","strokeWidth"],ue=["widthHeight","color","strokeWidth","filled"],ge=["widthHeight","color","filled","strokeWidth"],ve=["widthHeight","color","strokeWidth","filled"],be=["widthHeight","color","filled","strokeWidth"],pe=["widthHeight","color","strokeWidth","filled"],we=["widthHeight","color","filled","strokeWidth"],fe=["widthHeight","color","strokeWidth","filled"],Ee=["widthHeight","color","strokeWidth","filled"],xe=["widthHeight","color","strokeWidth","filled"],je=["widthHeight","color","filled","strokeWidth"],ye=["widthHeight","color","filled","strokeWidth"],Ce=["widthHeight","color","filled","strokeWidth"],ke=["widthHeight","color","filled","strokeWidth"],He=["widthHeight","color","filled","strokeWidth"],Oe=["widthHeight","color","filled","strokeWidth"],Ie=["widthHeight","color","filled","strokeWidth"],Se=["widthHeight","color","filled","strokeWidth"],ze=["widthHeight","color","filled","strokeWidth"],Me=["widthHeight","color","filled","strokeWidth"],Te=["widthHeight","color","filled","strokeWidth"],_e=["widthHeight","color","filled","strokeWidth"],We=["widthHeight","color","strokeWidth","filled"],Le=["widthHeight","color","strokeWidth","filled"],Re=["widthHeight","color","filled","strokeWidth"],Ve=["widthHeight","color","filled","strokeWidth"],Be=["widthHeight","color","filled","strokeWidth"],Fe=["widthHeight","color","filled","strokeWidth"],De=["widthHeight","color","filled","strokeWidth"],Pe=["widthHeight","color","filled","strokeWidth"],Ae=["widthHeight","color","filled","strokeWidth"],Ge=["widthHeight","color","filled","strokeWidth"],Ue=["widthHeight","color","filled","strokeWidth"],Ne=["widthHeight","color","filled","strokeWidth"],Ke=["widthHeight","color","filled","strokeWidth"],Ze=["widthHeight","color","filled","strokeWidth"],Ye=["widthHeight","color","filled","strokeWidth"],qe=["widthHeight","color","strokeWidth","filled"],Xe=["widthHeight","color","strokeWidth","filled"],Je=["widthHeight","color","strokeWidth","filled"],Qe=["widthHeight","color","strokeWidth","filled"],$e=["widthHeight","color","strokeWidth","filled"],et=["widthHeight","color","strokeWidth","filled"],tt=["widthHeight","color","strokeWidth","filled"],ot=["widthHeight","color","strokeWidth","filled"],it=e=>{var{widthHeight:t,color:o="black",transform:i,orientation:r="up",children:a}=e,n=j(e,B);return E.createElement(V,Object.assign({widthHeight:t,lineHeight:t,color:o,display:"flex",transform:i||("left"===r?"rotate(-90deg)":"right"===r?"rotate(90deg)":"up"===r?"rotate(0deg)":"down"===r?"rotate(180deg)":"none")},n),a)},rt=(e,t,o)=>({fill:e?t:"none",stroke:e?"none":t,strokeWidth:o,strokeLinecap:"round",strokeLinejoin:"round"}),at=e=>{var{widthHeight:t=24,color:o="currentColor",filled:i=!0,strokeWidth:r=1}=e,a=j(e,F);return E.createElement(it,Object.assign({widthHeight:t,color:o},a),E.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"true",focusable:"false"},rt(i,o,r)),E.createElement("path",{d:"M12.771 7.115a.829.829 0 0 0-1.2 0L3 15.686l1.2 1.2 7.971-7.971 7.972 7.971 1.2-1.2-8.572-8.571Z"})))},nt=e=>{var{widthHeight:t=24,color:o="currentColor",filled:i=!0,strokeWidth:r=1}=e,a=j(e,D);return E.createElement(it,Object.assign({widthHeight:t,color:o},a),E.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"true",focusable:"false"},rt(i,o,r)),E.createElement("g",null,E.createElement("circle",{cx:"9",cy:"6",r:"2"}),E.createElement("circle",{cx:"9",cy:"12",r:"2"}),E.createElement("circle",{cx:"9",cy:"18",r:"2"}),E.createElement("circle",{cx:"15",cy:"6",r:"2"}),E.createElement("circle",{cx:"15",cy:"12",r:"2"}),E.createElement("circle",{cx:"15",cy:"18",r:"2"}))))},lt=e=>{var{widthHeight:t=24,color:o="currentColor",filled:i=!0,strokeWidth:r=1}=e,a=j(e,P);return E.createElement(it,Object.assign({widthHeight:t,color:o},a),E.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"true",focusable:"false"},rt(i,o,r)),E.createElement("path",{d:"M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8l-6-6z",fill:i?o:"none",stroke:i?"none":o,strokeWidth:i?0:r}),E.createElement("polyline",{points:"14 2 14 8 20 8",fill:"none",stroke:o,strokeWidth:r})))},st=e=>{var{widthHeight:t=24,color:o="currentColor",filled:i=!0,strokeWidth:r=1}=e,a=j(e,A);return E.createElement(it,Object.assign({widthHeight:t,color:o},a),E.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"true",focusable:"false"},rt(i,o,r)),E.createElement("rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",ry:"2",fill:i?o:"none",stroke:i?"none":o,strokeWidth:i?0:r}),E.createElement("polygon",{points:"10 8 16 12 10 16 10 8",fill:i?i?"white":o:"none",stroke:i?"none":o,strokeWidth:i?0:r})))},dt=e=>{var{widthHeight:t=24,color:o="currentColor",filled:i=!0,strokeWidth:r=1}=e,a=j(e,G);return E.createElement(it,Object.assign({widthHeight:t,color:o},a),E.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"true",focusable:"false"},rt(i,o,r)),E.createElement("rect",{x:"2",y:"2",width:"20",height:"20",rx:"2",ry:"2",fill:i?o:"none",stroke:i?"none":o,strokeWidth:i?0:r}),E.createElement("circle",{cx:"8.5",cy:"8.5",r:"1.5",fill:i?i?"white":o:"none",stroke:i?"none":o,strokeWidth:i?0:r}),E.createElement("polyline",{points:"21 15 16 10 5 21",fill:"none",stroke:i?"white":o,strokeWidth:r})))},ct=e=>{var{widthHeight:t=24,color:o="currentColor",filled:i=!0,strokeWidth:r=1}=e,a=j(e,U);return E.createElement(it,Object.assign({widthHeight:t,color:o},a),E.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"true",focusable:"false"},rt(i,o,r)),E.createElement("path",{d:"M22.46 6.01c-.83.37-1.72.62-2.65.74a4.6 4.6 0 0 0 2.01-2.54 9.2 9.2 0 0 1-2.91 1.11 4.54 4.54 0 0 0-7.75 4.14A12.86 12.86 0 0 1 3.15 4.47a4.54 4.54 0 0 0 1.4 6.06 4.5 4.5 0 0 1-2.06-.57v.06a4.54 4.54 0 0 0 3.64 4.45 4.61 4.61 0 0 1-2.05.08 4.54 4.54 0 0 0 4.23 3.15 9.12 9.12 0 0 1-5.64 1.94c-.37 0-.74-.02-1.1-.07A12.86 12.86 0 0 0 8.21 21c8.38 0 12.96-6.94 12.96-12.96 0-.2 0-.4-.01-.6a9.28 9.28 0 0 0 2.3-2.37z",fill:i?o:"none",stroke:i?"none":o,strokeWidth:i?0:r})))},ht=e=>{var{widthHeight:t=24,color:o="currentColor",filled:i=!0,strokeWidth:r=1}=e,a=j(e,N);return E.createElement(it,Object.assign({widthHeight:t,color:o},a),E.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"true",focusable:"false"},rt(i,o,r)),E.createElement("path",{d:"M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z",fill:i?o:"none",stroke:o,strokeWidth:r})))},mt=e=>{var{widthHeight:t=24,color:o="currentColor",filled:i=!0,strokeWidth:r=1}=e,a=j(e,K);return E.createElement(it,Object.assign({widthHeight:t,color:o},a),E.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"true",focusable:"false"},rt(i,o,r)),E.createElement("path",{d:"M2 2v16h5v4l4-4h5l6-6V2H2zm18 10-3 3h-5l-3 3v-3H4V4h16v8z",fill:i?o:"none",stroke:o,strokeWidth:i?0:r}),E.createElement("path",{d:"M14 7h2v5h-2V7zm-4 0h2v5H10V7z",fill:i?o:"none",stroke:o,strokeWidth:i?0:r})))},ut=e=>{var{widthHeight:t=24,color:o="currentColor",filled:i=!1,strokeWidth:r=1}=e,a=j(e,Z);return E.createElement(it,Object.assign({widthHeight:t,color:o},a),E.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"true",focusable:"false"},rt(i,o,r)),E.createElement("line",{stroke:o,x1:"18",y1:"6",x2:"6",y2:"18"}),E.createElement("line",{stroke:o,x1:"6",y1:"6",x2:"18",y2:"18"})))},gt=e=>{var{widthHeight:t=24,color:o="currentColor",filled:i=!1,strokeWidth:r=1}=e,a=j(e,Y);return E.createElement(it,Object.assign({widthHeight:t,color:o},a),E.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"true",focusable:"false"},rt(i,o,r)),E.createElement("rect",{x:"2",y:"2",width:"20",height:"20",rx:"5",ry:"5"}),E.createElement("path",{d:"M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z"}),E.createElement("line",{x1:"17.5",y1:"6.5",x2:"17.51",y2:"6.5"})))},vt=e=>{var{widthHeight:t=24,color:o="currentColor",filled:i=!0,strokeWidth:r=1}=e,a=j(e,q);return E.createElement(it,Object.assign({widthHeight:t,color:o},a),E.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"true",focusable:"false"},rt(i,o,r)),E.createElement("path",{d:"M21.8 8.001A2.8 2.8 0 0 0 19 5.2C17.793 5 12 5 12 5s-5.793 0-7 0.2a2.8 2.8 0 0 0-2.8 2.8c-0.2 1.207-0.2 3-0.2 3s0 1.793 0.2 3a2.8 2.8 0 0 0 2.8 2.8c1.207 0.2 7 0.2 7 0.2s5.793 0 7-0.2a2.8 2.8 0 0 0 2.8-2.8c0.2-1.207 0.2-3 0.2-3s0-1.793-0.2-3z",fill:i?o:"none",stroke:i?"none":o,strokeWidth:i?0:r}),E.createElement("polygon",{points:"10 8 10 14 14 10",fill:"white",stroke:"white",strokeWidth:r})))},bt=e=>{var{widthHeight:t=24,color:o="currentColor",filled:i=!0,strokeWidth:r=1}=e,a=j(e,X);return E.createElement(it,Object.assign({widthHeight:t,color:o},a),E.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"true",focusable:"false"},rt(i,o,r)),E.createElement("path",{d:"M22 2H2v20h10v-7h-2v-3h2V9.5a4 4 0 0 1 4-4h3v3h-3a1 1 0 0 0-1 1V12h4l-1 3h-3v7h6V2z",fill:i?o:"none",stroke:o,strokeWidth:i?0:r})))},pt=e=>{var{widthHeight:t=24,color:o="currentColor",filled:i=!0,strokeWidth:r=1}=e,a=j(e,J);return E.createElement(it,Object.assign({widthHeight:t,color:o},a),E.createElement("svg",Object.assign({viewBox:"0 0 24 24"},rt(i,o,r)),E.createElement("path",{d:"M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-2-2 2 2 0 0 0-2 2v7h-4v-7a6 6 0 0 1 6-6z"}),E.createElement("rect",{x:"2",y:"9",width:"4",height:"12"}),E.createElement("circle",{cx:"4",cy:"4",r:"2"})))},wt=e=>{var{widthHeight:t=24,color:o="currentColor",filled:i=!1,strokeWidth:r=1}=e,a=j(e,Q);return E.createElement(it,Object.assign({widthHeight:t,color:o},a),E.createElement("svg",Object.assign({viewBox:"0 0 24 24"},rt(i,o,r)),E.createElement("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),E.createElement("path",{d:"M19 7.5c-1.333 -3 -3.667 -4.5 -7 -4.5c-5 0 -8 2.5 -8 9s3.5 9 8 9s7 -3 7\n -5s-1 -5 -7 -5c-2.5 0 -3 1.25 -3 2.5c0 1.5 1 2.5 2.5 2.5c2.5 0 3.5 -1.5\n 3.5 -5s-2 -4 -3 -4s-1.833 .333 -2.5 1"})))},ft=e=>{var{widthHeight:t=24,color:o="currentColor",filled:i=!1,strokeWidth:r=1}=e,a=j(e,$);return E.createElement(it,Object.assign({widthHeight:t,color:o},a),E.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"true",focusable:"false"},rt(i,o,r)),E.createElement("line",{stroke:o,x1:"8",y1:"12",x2:"16",y2:"12"})))},Et=e=>{var{widthHeight:t=24,color:o="currentColor",filled:i=!1,strokeWidth:r=1}=e,a=j(e,ee);return E.createElement(it,Object.assign({widthHeight:t,color:o},a,{"aria-label":"Information"}),E.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},rt(i,o,r)),E.createElement("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z"})))},xt=e=>{var{widthHeight:t=24,color:o="currentColor",filled:i=!0,strokeWidth:r=1}=e,a=j(e,te);return E.createElement(it,Object.assign({widthHeight:t,color:o},a),E.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},rt(i,o,r)),E.createElement("path",{d:"M8 5v14l11-7z"})))},jt=e=>{var{widthHeight:t=24,color:o="currentColor",filled:i=!0,strokeWidth:r=1}=e,a=j(e,oe);return E.createElement(it,Object.assign({widthHeight:t,color:o},a),E.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},rt(i,o,r)),E.createElement("path",{d:"M6 4h4v16H6V4zm8 0h4v16h-4V4z"})))},yt=e=>{var{widthHeight:t=24,color:o="currentColor",filled:i=!0,strokeWidth:r=1}=e,a=j(e,ie);return E.createElement(it,Object.assign({widthHeight:t,color:o},a),E.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},rt(i,o,r)),E.createElement("path",{d:"M20.84 4.61c-1.54-1.56-4.04-1.56-5.59 0l-.7.72-.7-.72a3.95 3.95 0 0 0-5.59 0c-1.56 1.56-1.56 4.09 0 5.66l6.29 6.36 6.29-6.36c1.56-1.56 1.56-4.09 0-5.66z"})))},Ct=e=>{var{widthHeight:t=24,color:o="currentColor",filled:i=!0,strokeWidth:r=1}=e,a=j(e,re);return E.createElement(it,Object.assign({widthHeight:t,color:o},a),E.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},rt(i,o,r)),E.createElement("polygon",{points:"12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2"})))},kt=e=>{var{widthHeight:t=24,color:o="currentColor",filled:i=!1,strokeWidth:r=1}=e,a=j(e,ae);return E.createElement(it,Object.assign({widthHeight:t,color:o},a),E.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},rt(i,o,r)),E.createElement("path",{d:"M19 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h11l5 5v11a2 2 0 0 1-2 2z"}),E.createElement("polyline",{points:"17 21 17 13 7 13 7 21"}),E.createElement("polyline",{points:"7 3 7 8 15 8"})))},Ht=e=>{var{widthHeight:t=24,color:o="currentColor",filled:i=!1,strokeWidth:r=1}=e,a=j(e,ne);return E.createElement(it,Object.assign({widthHeight:t,color:o},a),E.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},rt(i,o,r)),E.createElement("path",{d:"M10.29 3.86l-6.6 11.4c-.78 1.36.2 3.1 1.71 3.1h13.2c1.51 0 2.49-1.74 1.71-3.1l-6.6-11.4a2 2 0 0 0-3.42 0z"}),E.createElement("line",{stroke:o,x1:"12",y1:"6",x2:"12",y2:"13"}),E.createElement("line",{stroke:o,x1:"12",y1:"15",x2:"12",y2:"15"})))},Ot=e=>{var{widthHeight:t=24,color:o="currentColor",filled:i=!0,strokeWidth:r=1}=e,a=j(e,le);return E.createElement(it,Object.assign({widthHeight:t,color:o},a),E.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},rt(i,o,r)),E.createElement("path",{d:"M15.67 4H14V2h-4v2H8.33C7.6 4 7 4.6 7 5.33v15.33C7 21.4 7.6 22 8.33 22h7.33c.74 0 1.34-.6 1.34-1.33V5.33C17 4.6 16.4 4 15.67 4z"})))},It=e=>{var{widthHeight:t=24,color:o="currentColor",filled:i=!1,strokeWidth:r=1}=e,a=j(e,se);return E.createElement(it,Object.assign({widthHeight:t,color:o},a),E.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},rt(i,o,r)),E.createElement("path",{d:"M17 3H7c-1.1 0-2 .9-2 2v16l7-3 7 3V5c0-1.1-.9-2-2-2z"})))},St=e=>{var{widthHeight:t=24,color:o="currentColor",filled:i=!0,strokeWidth:r=1}=e,a=j(e,de);return E.createElement(it,Object.assign({widthHeight:t,color:o},a),E.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},rt(i,o,r)),E.createElement("path",{d:"M18 10h-1.26A8 8 0 109 20h9a5 5 0 000-10z"})))},zt=e=>{var{widthHeight:t=24,color:o="currentColor",filled:i=!1,strokeWidth:r=1}=e,a=j(e,ce);return E.createElement(it,Object.assign({widthHeight:t,color:o},a),E.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},rt(i,o,r)),E.createElement("rect",{x:"9",y:"9",width:"13",height:"13",rx:"2",ry:"2"}),E.createElement("path",{d:"M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"})))},Mt=e=>{var{widthHeight:t=24,color:o="currentColor",filled:i=!1,strokeWidth:r=1}=e,a=j(e,he);return E.createElement(it,Object.assign({widthHeight:t,color:o},a),E.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},rt(i,o,r)),E.createElement("path",{d:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zM19 4h-3.5l-1-1h-5l-1 1H5v2h14V4z"})))},Tt=e=>{var{widthHeight:t=24,color:o="currentColor",filled:i=!1,strokeWidth:r=1}=e,a=j(e,me);return E.createElement(it,Object.assign({widthHeight:t,color:o},a),E.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},rt(i,o,r)),E.createElement("path",{d:"M18.3785 8.44975L8.9636 17.8648C8.6844 18.144 8.3288 18.3343 7.94161 18.4117L4.99988 19.0001L5.58823 16.0583C5.66566 15.6711 5.85597 15.3155 6.13517 15.0363L15.5501 5.62132M18.3785 8.44975L19.7927 7.03553C20.1832 6.64501 20.1832 6.01184 19.7927 5.62132L18.3785 4.20711C17.988 3.81658 17.3548 3.81658 16.9643 4.20711L15.5501 5.62132M18.3785 8.44975L15.5501 5.62132"})))},_t=e=>{var{widthHeight:t=24,color:o="currentColor",strokeWidth:i=1,filled:r=!0}=e,a=j(e,ue);return E.createElement(it,Object.assign({widthHeight:t,color:o},a),E.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},rt(r,o,i)),E.createElement("circle",{cx:"12",cy:"12",r:"10"}),E.createElement("line",{x1:"15",y1:"9",x2:"9",y2:"15",stroke:r?"white":o}),E.createElement("line",{x1:"9",y1:"9",x2:"15",y2:"15",stroke:r?"white":o})))},Wt=e=>{var{widthHeight:t=24,color:o="currentColor",filled:i=!0,strokeWidth:r=1}=e,a=j(e,ge);return E.createElement(it,Object.assign({widthHeight:t,color:o},a),E.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},rt(i,o,r)),E.createElement("path",{d:"M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z"})))},Lt=e=>{var{widthHeight:t=24,color:o="currentColor",strokeWidth:i=1,filled:r=!1}=e,a=j(e,ve);return E.createElement(it,Object.assign({widthHeight:t,color:o},a),E.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},rt(r,o,i)),E.createElement("line",{stroke:o,x1:"3",y1:"12",x2:"21",y2:"12"}),E.createElement("line",{stroke:o,x1:"3",y1:"6",x2:"21",y2:"6"}),E.createElement("line",{stroke:o,x1:"3",y1:"18",x2:"21",y2:"18"})))},Rt=e=>{var{widthHeight:t=24,color:o="currentColor",filled:i=!1,strokeWidth:r=1}=e,a=j(e,be);return E.createElement(it,Object.assign({widthHeight:t,color:o},a),E.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},rt(i,o,r)),E.createElement("circle",{cx:"18",cy:"5",r:"3"}),E.createElement("circle",{cx:"6",cy:"12",r:"3"}),E.createElement("circle",{cx:"18",cy:"19",r:"3"}),E.createElement("line",{stroke:o,x1:"8.59",y1:"13.51",x2:"15.42",y2:"17.49"}),E.createElement("line",{stroke:o,x1:"15.41",y1:"6.51",x2:"8.59",y2:"10.49"})))},Vt=e=>{var{widthHeight:t=24,color:o="currentColor",strokeWidth:i=1,filled:r=!1}=e,a=j(e,pe);return E.createElement(it,Object.assign({widthHeight:t,color:o},a),E.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},rt(r,o,i)),E.createElement("polyline",{points:"23 4 23 10 17 10"}),E.createElement("path",{d:"M20.49 15a9 9 0 1 1-2.13-9.36L23 10"})))},Bt=e=>{var{widthHeight:t=24,color:o="currentColor",filled:i=!0,strokeWidth:r=1}=e,a=j(e,we);return E.createElement(it,Object.assign({widthHeight:t,color:o},a),E.createElement("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1"},E.createElement("path",{d:"M19 8H5c-1.66 0-3 1.34-3 3v6h4v4h12v-4h4v-6c0-1.66-1.34-3-3-3zm-3 11H8v-5h8v5zm3-7c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1zm-1-9H6v4h12V3z"})))},Ft=e=>{var{widthHeight:t=24,color:o="currentColor",strokeWidth:i=1,filled:r=!0}=e,a=j(e,fe);return E.createElement(it,Object.assign({widthHeight:t,color:o},a),E.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},rt(r,o,i)),E.createElement("rect",{x:"-3",y:"17",width:"15",height:"4",rx:"1",transform:"rotate(-40 2 13)"}),E.createElement("path",{d:"M17 3L18 6L21 7L18 8L17 11L16 8L13 7L16 6L17 3Z"}),E.createElement("path",{d:"M21 9L21.7 11L23.5 12L21.7 13L21 15L20.3 13L18.5 12L20.3 11L21 9Z"}),E.createElement("path",{d:"M16 15L16.7 16.5L18 17L16.7 17.5L16 19L15.3 17.5L14 17L15.3 16.5L16 15Z"})))},Dt=e=>{var{widthHeight:t=24,color:o="currentColor",strokeWidth:i=1,filled:r=!1}=e,a=j(e,Ee);return E.createElement(it,Object.assign({widthHeight:t,color:o},a),E.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},rt(r,o,i)),E.createElement("line",{stroke:o,x1:"4",y1:"21",x2:"4",y2:"14"}),E.createElement("line",{stroke:o,x1:"4",y1:"10",x2:"4",y2:"3"}),E.createElement("line",{stroke:o,x1:"12",y1:"21",x2:"12",y2:"12"}),E.createElement("line",{stroke:o,x1:"12",y1:"8",x2:"12",y2:"3"}),E.createElement("line",{stroke:o,x1:"20",y1:"21",x2:"20",y2:"16"}),E.createElement("line",{stroke:o,x1:"20",y1:"12",x2:"20",y2:"3"}),E.createElement("line",{stroke:o,x1:"1",y1:"14",x2:"7",y2:"14"}),E.createElement("line",{stroke:o,x1:"9",y1:"8",x2:"15",y2:"8"}),E.createElement("line",{stroke:o,x1:"17",y1:"16",x2:"23",y2:"16"})))},Pt=e=>{var{widthHeight:t=24,color:o="currentColor",strokeWidth:i=1,filled:r=!1}=e,a=j(e,xe);return E.createElement(it,Object.assign({widthHeight:t,color:o},a),E.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},rt(r,o,i)),E.createElement("rect",{x:"3",y:"3",width:"18",height:"18",rx:"2"}),E.createElement("line",{x1:"9",y1:"3",x2:"9",y2:"21"}),E.createElement("line",{x1:"12",y1:"7",x2:"17",y2:"7"}),E.createElement("line",{x1:"12",y1:"11",x2:"17",y2:"11"}),E.createElement("line",{x1:"12",y1:"15",x2:"17",y2:"15"})))},At=e=>{var{widthHeight:t=24,color:o="currentColor",filled:i=!1,strokeWidth:r=1}=e,a=j(e,je);return E.createElement(it,Object.assign({widthHeight:t,color:o},a),E.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},rt(i,o,r)),E.createElement("path",{d:"M3 4h18l-7 10v5l-4 2v-7L3 4z"})))},Gt=e=>{var{widthHeight:t=24,color:o="currentColor",filled:i=!0,strokeWidth:r=1}=e,a=j(e,ye);return E.createElement(it,Object.assign({widthHeight:t,color:o},a),E.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},rt(i,o,r)),E.createElement("path",{d:"M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8h5z"})))},Ut=e=>{var{widthHeight:t=24,color:o="currentColor",filled:i=!0,strokeWidth:r=1}=e,a=j(e,Ce);return E.createElement(it,Object.assign({widthHeight:t,color:o},a),E.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},rt(i,o,r)),E.createElement("path",{d:"M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z"})))},Nt=e=>{var{widthHeight:t=24,color:o="currentColor",filled:i=!1,strokeWidth:r=1}=e,a=j(e,ke);return E.createElement(it,Object.assign({widthHeight:t,color:o},a),E.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},rt(i,o,r)),i?E.createElement("path",{d:"M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2zm-6 9c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zm3.1-9H8.9V6c0-1.71 1.39-3.1 3.1-3.1 1.71 0 3.1 1.39 3.1 3.1v2z"}):E.createElement(E.Fragment,null,E.createElement("rect",{x:"3",y:"11",width:"18",height:"11",rx:"2",ry:"2"}),E.createElement("path",{d:"M7 11V7a5 5 0 0 1 10 0v4"}),E.createElement("circle",{cx:"12",cy:"16",r:"1.5"}))))},Kt=e=>{var{widthHeight:t=24,color:o="currentColor",filled:i=!1,strokeWidth:r=1}=e,a=j(e,He);return E.createElement(it,Object.assign({widthHeight:t,color:o},a),E.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},rt(i,o,r)),E.createElement("path",{d:"M12 1a4 4 0 0 0-4 4v6a4 4 0 0 0 8 0V5a4 4 0 0 0-4-4z"}),E.createElement("path",{d:"M19 10v2a7 7 0 0 1-14 0v-2"}),E.createElement("line",{stroke:o,x1:"12",y1:"19",x2:"12",y2:"23"}),E.createElement("line",{stroke:o,x1:"8",y1:"23",x2:"16",y2:"23"})))},Zt=e=>{var{widthHeight:t=24,color:o="currentColor",filled:i=!0,strokeWidth:r=1}=e,a=j(e,Oe);return E.createElement(it,Object.assign({widthHeight:t,color:o},a),E.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},rt(i,o,r)),E.createElement("path",{d:"M21 12.79A9 9 0 1111.21 3 7 7 0 0021 12.79z"})))},Yt=e=>{var{widthHeight:t=24,color:o="currentColor",filled:i=!1,strokeWidth:r=1}=e,a=j(e,Ie);return E.createElement(it,Object.assign({widthHeight:t,color:o},a),E.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},rt(i,o,r)),E.createElement("path",{d:"M18 8a6 6 0 0 0-12 0c0 7-3 9-3 9h18s-3-2-3-9"}),E.createElement("path",{d:"M13.73 21a2 2 0 0 1-3.46 0"})))},qt=e=>{var{widthHeight:t=24,color:o="currentColor",filled:i=!0,strokeWidth:r=1}=e,a=j(e,Se);return E.createElement(it,Object.assign({widthHeight:t,color:o},a),E.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},rt(i,o,r)),E.createElement("path",{d:"M12 4C7 4 2.73 7.11 1 12c1.73 4.89 6 8 11 8s9.27-3.11 11-8c-1.73-4.89-6-8-11-8zm0 12.5c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z"})))},Xt=e=>{var{widthHeight:t=24,color:o="currentColor",filled:i=!0,strokeWidth:r=1}=e,a=j(e,ze);return E.createElement(it,Object.assign({widthHeight:t,color:o},a),E.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},rt(i,o,r)),E.createElement("path",{fill:i?o:"none",d:"M12 13c-2.67 0-8 1.34-8 4v2c0 .55.45 1 1 1h14c.55 0 1-.45 1-1v-2c0-2.66-5.33-4-8-4zm0-9c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z M12 2C9.79 2 8 3.79 8 6s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4z M12 13c-2.67 0-8 1.34-8 4v3h16v-3c0-2.66-5.33-4-8-4z"})," "))},Jt=e=>{var{widthHeight:t=24,color:o="currentColor",filled:i=!1,strokeWidth:r=1}=e,a=j(e,Me);return E.createElement(it,Object.assign({widthHeight:t,color:o},a),E.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},rt(i,o,r)),E.createElement("path",{d:"M19.4 13c0-.3.1-.6.1-1s0-.7-.1-1l2.1-1.6c.2-.2.2-.4.1-.6l-2-3.5c-.1-.2-.4-.3-.6-.2l-2.5 1c-.5-.4-1.1-.7-1.7-.9l-.4-2.6c0-.2-.3-.4-.5-.4h-4c-.2 0-.5.2-.5.4l-.4 2.6c-.6.2-1.2.5-1.7.9l-2.5-1c-.2-.1-.5 0-.6.2l-2 3.5c-.1.2-.1.4.1.6L4.6 11c0 .3-.1.6-.1 1s0 .7.1 1l-2.1 1.6c-.2.2-.2.4-.1.6l2 3.5c.1.2.4.3.6.2l2.5-1c.5.4 1.1.7 1.7.9l.4 2.6c0 .2.3.4.5.4h4c.2 0 .5-.2.5-.4l.4-2.6c.6-.2 1.2-.5 1.7-.9l2.5 1c.2.1.5 0 .6-.2l2-3.5c.1-.2.1-.4-.1-.6L19.4 13zM12 15.5c-1.9 0-3.5-1.6-3.5-3.5s1.6-3.5 3.5-3.5 3.5 1.6 3.5 3.5-1.6 3.5-3.5 3.5z"})))},Qt=e=>{var{widthHeight:t=24,color:o="currentColor",filled:i=!0,strokeWidth:r=1}=e,a=j(e,Te);return E.createElement(it,Object.assign({widthHeight:t,color:o},a),E.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},rt(i,o,r)),E.createElement("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"})))},$t=e=>{var{widthHeight:t=24,color:o="currentColor",filled:i=!0,strokeWidth:r=1}=e,a=j(e,_e);return E.createElement(it,Object.assign({widthHeight:t,color:o},a),E.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},rt(i,o,r)),E.createElement("path",{d:"M15 3H6c-.83 0-1.54.5-1.84 1.22l-3.02 7.05c-.09.23-.14.47-.14.73v2c0 1.1.9 2 2 2h6.31l-.95 4.57-.03.32c0 .41.17.79.44 1.06L9.83 23l6.59-6.59c.36-.36.58-.86.58-1.41V5c0-1.1-.9-2-2-2zm4 0v12h4V3h-4z"})))},eo=e=>{var{widthHeight:t=24,color:o="currentColor",strokeWidth:i=1,filled:r=!1}=e,a=j(e,We);return E.createElement(it,Object.assign({widthHeight:t,color:o},a),E.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},rt(r,o,i)),E.createElement("circle",{cx:"12",cy:"12",r:"10"}),E.createElement("polyline",{points:"12 6 12 12 16 14"})))},to=e=>{var{widthHeight:t=24,color:o="currentColor",strokeWidth:i=1,filled:r=!1}=e,a=j(e,Le);return E.createElement(it,Object.assign({widthHeight:t,color:o},a),E.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},rt(r,o,i)),E.createElement("path",{d:"M23 19a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2h3l2-3h8l2 3h3a2 2 0 0 1 2 2z"}),E.createElement("circle",{cx:"12",cy:"13",r:"4"})))},oo=e=>{var{widthHeight:t=24,color:o="currentColor",filled:i=!0,strokeWidth:r=1}=e,a=j(e,Re);return E.createElement(it,Object.assign({widthHeight:t,color:o},a),E.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},rt(i,o,r)),E.createElement("path",{d:"M17.71 7.71L12 2h-1v7.59L6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 11 14.41V22h1l5.71-5.71-4.3-4.29 4.3-4.29zM13 5.83l1.88 1.88L13 9.59V5.83zm1.88 10.46L13 18.17v-3.76l1.88 1.88z"})))},io=e=>{var{widthHeight:t=24,color:o="currentColor",filled:i=!0,strokeWidth:r=1}=e,a=j(e,Ve);return E.createElement(it,Object.assign({widthHeight:t,color:o},a),E.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},rt(i,o,r)),E.createElement("path",{d:"M1 21h4V9H1v12zm22-11c0-1.1-.9-2-2-2h-6.31l.95-4.57.03-.32c0-.41-.17-.79-.44-1.06L14.17 1 7.59 7.59C7.22 7.95 7 8.45 7 9v10c0 1.1.9 2 2 2h9c.83 0 1.54-.5 1.84-1.22l3.02-7.05c.09-.23.14-.47.14-.73v-2z"})))},ro=e=>{var{widthHeight:t=24,color:o="currentColor",filled:i=!1,strokeWidth:r=1}=e,a=j(e,Be);return E.createElement(it,Object.assign({widthHeight:t,color:o},a),E.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},rt(i,o,r)),i?E.createElement("path",{d:"M12 17c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm6-9h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6h1.9c0-1.71 1.39-3.1 3.1-3.1 1.71 0 3.1 1.39 3.1 3.1v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2z"}):E.createElement(E.Fragment,null,E.createElement("rect",{x:"3",y:"11",width:"18",height:"11",rx:"2",ry:"2"}),E.createElement("path",{d:"M7 11V7a5 5 0 0 1 9.9-1"}),E.createElement("circle",{cx:"12",cy:"16",r:"1.5"}))))},ao=e=>{var{widthHeight:t=24,color:o="currentColor",filled:i=!1,strokeWidth:r=1}=e,a=j(e,Fe);return E.createElement(it,Object.assign({widthHeight:t,color:o},a),E.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},rt(i,o,r)),E.createElement("path",{d:"M1 9l2 2c4.97-4.97 13.03-4.97 18 0l2-2C16.93 2.93 7.08 2.93 1 9zm8 8l3 3 3-3c-1.65-1.66-4.34-1.66-6 0zm-4-4l2 2c2.76-2.76 7.24-2.76 10 0l2-2C15.14 9.14 8.87 9.14 5 13z"})))},no=e=>{var{widthHeight:t=24,color:o="currentColor",filled:i=!1,strokeWidth:r=1}=e,a=j(e,De);return E.createElement(it,Object.assign({widthHeight:t,color:o},a),E.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},rt(i,o,r)),E.createElement("path",{d:"M7 18a4.6 4.4 0 0 1 0 -9a5 4.5 0 0 1 11 2h1a3.5 3.5 0 0 1 0 7h-1"}),E.createElement("path",{d:"M9 15l3 -3l3 3"}),E.createElement("path",{d:"M12 12l0 9"})))},lo=e=>{var{widthHeight:t=24,color:o="currentColor",filled:i=!0,strokeWidth:r=1}=e,a=j(e,Pe);return E.createElement(it,Object.assign({widthHeight:t,color:o},a),E.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},rt(i,o,r)),E.createElement("path",{d:"M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"})))},so=e=>{var{widthHeight:t=24,color:o="currentColor",filled:i=!0,strokeWidth:r=1}=e,a=j(e,Ae);return E.createElement(it,Object.assign({widthHeight:t,color:o},a),E.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},rt(i,o,r)),E.createElement("path",{d:"M19.7071 5.70711C20.0976 5.31658 20.0976 4.68342 19.7071 4.29289C19.3166 3.90237 18.6834 3.90237 18.2929 4.29289L14.032 8.55382C13.4365 8.20193 12.7418 8 12 8C9.79086 8 8 9.79086 8 12C8 12.7418 8.20193 13.4365 8.55382 14.032L4.29289 18.2929C3.90237 18.6834 3.90237 19.3166 4.29289 19.7071C4.68342 20.0976 5.31658 20.0976 5.70711 19.7071L9.96803 15.4462C10.5635 15.7981 11.2582 16 12 16C14.2091 16 16 14.2091 16 12C16 11.2582 15.7981 10.5635 15.4462 9.96803L19.7071 5.70711ZM12.518 10.0677C12.3528 10.0236 12.1792 10 12 10C10.8954 10 10 10.8954 10 12C10 12.1792 10.0236 12.3528 10.0677 12.518L12.518 10.0677ZM11.482 13.9323L13.9323 11.482C13.9764 11.6472 14 11.8208 14 12C14 13.1046 13.1046 14 12 14C11.8208 14 11.6472 13.9764 11.482 13.9323ZM15.7651 4.8207C14.6287 4.32049 13.3675 4 12 4C9.14754 4 6.75717 5.39462 4.99812 6.90595C3.23268 8.42276 2.00757 10.1376 1.46387 10.9698C1.05306 11.5985 1.05306 12.4015 1.46387 13.0302C1.92276 13.7326 2.86706 15.0637 4.21194 16.3739L5.62626 14.9596C4.4555 13.8229 3.61144 12.6531 3.18002 12C3.6904 11.2274 4.77832 9.73158 6.30147 8.42294C7.87402 7.07185 9.81574 6 12 6C12.7719 6 13.5135 6.13385 14.2193 6.36658L15.7651 4.8207ZM12 18C11.2282 18 10.4866 17.8661 9.78083 17.6334L8.23496 19.1793C9.37136 19.6795 10.6326 20 12 20C14.8525 20 17.2429 18.6054 19.002 17.0941C20.7674 15.5772 21.9925 13.8624 22.5362 13.0302C22.947 12.4015 22.947 11.5985 22.5362 10.9698C22.0773 10.2674 21.133 8.93627 19.7881 7.62611L18.3738 9.04043C19.5446 10.1771 20.3887 11.3469 20.8201 12C20.3097 12.7726 19.2218 14.2684 17.6986 15.5771C16.1261 16.9282 14.1843 18 12 18Z",fill:"currentColor"})))},co=e=>{var{widthHeight:t=24,color:o="currentColor",filled:i=!0,strokeWidth:r=1}=e,a=j(e,Ge);return E.createElement(it,Object.assign({widthHeight:t,color:o},a),E.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},rt(!0,o,r)),E.createElement("path",{d:"M14 3h7v7h-2V5.41l-9.29 9.3-1.42-1.42 9.3-9.29H14V3ZM5 5h5v2H6v11h11v-4h2v5a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1Z"})))},ho=e=>{var{widthHeight:t=24,color:o="currentColor",filled:i=!1,strokeWidth:r=1}=e,a=j(e,Ue);return E.createElement(it,Object.assign({widthHeight:t,color:o},a),E.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},rt(i,o,r)),E.createElement("line",{stroke:o,x1:"12",y1:"5",x2:"12",y2:"19"}),E.createElement("line",{stroke:o,x1:"5",y1:"12",x2:"19",y2:"12"})))},mo=e=>{var{widthHeight:t=24,color:o="currentColor",filled:i=!1,strokeWidth:r=1}=e,a=j(e,Ne);return E.createElement(it,Object.assign({widthHeight:t,color:o},a),E.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},rt(i,o,r)),E.createElement("path",{d:"M5 13l4 4L19 7",strokeLinecap:"round",strokeLinejoin:"round"})))},uo=e=>{var{widthHeight:t=24,color:o="currentColor",filled:i=!0,strokeWidth:r=1}=e,a=j(e,Ke);return E.createElement(it,Object.assign({widthHeight:t,color:o},a),E.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},rt(i,o,r)),E.createElement("path",{d:"M12 4l7 7h-4v7h-6v-7H5l7-7z"})))},go=e=>{var{widthHeight:t=24,color:o="currentColor",filled:i=!1,strokeWidth:r=1}=e,a=j(e,Ze);return E.createElement(it,Object.assign({widthHeight:t,color:o},a),E.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},rt(i,o,r)),E.createElement("line",{stroke:o,x1:"12",y1:"20",x2:"12",y2:"8"}),E.createElement("polyline",{points:"6 12 12 6 18 12"})))},vo=e=>{var{widthHeight:t=24,color:o="currentColor",filled:i=!1,strokeWidth:r=1}=e,a=j(e,Ye);return E.createElement(it,Object.assign({widthHeight:t,color:o},a),E.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},rt(i,o,r)),E.createElement("circle",{cx:"12",cy:"12",r:"10",strokeOpacity:"0.25"}),E.createElement("path",{d:"M12 2a10 10 0 0 1 10 10",strokeOpacity:"1"})))},bo=e=>{var{widthHeight:t=24,color:o="currentColor",strokeWidth:i=1,filled:r=!1}=e,a=j(e,qe);return E.createElement(it,Object.assign({widthHeight:t,color:o},a),E.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},rt(r,o,i)),E.createElement("rect",{x:"3",y:"4",width:"18",height:"18",rx:"2",ry:"2"}),E.createElement("line",{stroke:o,x1:"16",y1:"2",x2:"16",y2:"6"}),E.createElement("line",{stroke:o,x1:"8",y1:"2",x2:"8",y2:"6"}),E.createElement("line",{stroke:o,x1:"3",y1:"10",x2:"21",y2:"10"})))},po=e=>{var{widthHeight:t=24,color:o="currentColor",strokeWidth:i=1,filled:r=!1}=e,a=j(e,Xe);return E.createElement(it,Object.assign({widthHeight:t,color:o},a),E.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},rt(r,o,i)),E.createElement("line",{x1:"3",y1:"4",x2:"10",y2:"4"}),E.createElement("line",{x1:"14",y1:"4",x2:"21",y2:"4"}),E.createElement("line",{x1:"3",y1:"12",x2:"12",y2:"12"}),E.createElement("line",{x1:"16",y1:"12",x2:"21",y2:"12"}),E.createElement("line",{x1:"3",y1:"20",x2:"8",y2:"20"}),E.createElement("line",{x1:"12",y1:"20",x2:"21",y2:"20"}),E.createElement("line",{x1:"10",y1:"1",x2:"10",y2:"7"}),E.createElement("line",{x1:"16",y1:"9",x2:"16",y2:"15"}),E.createElement("line",{x1:"8",y1:"17",x2:"8",y2:"23"})))},wo=e=>{var{widthHeight:t=24,color:o="currentColor",strokeWidth:i=1,filled:r=!1}=e,a=j(e,Je);return E.createElement(it,Object.assign({widthHeight:t,color:o},a),E.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},rt(r,o,i)),E.createElement("path",{d:"M6 2v14a2 2 0 0 0 2 2h14"}),E.createElement("path",{d:"M18 22V8a2 2 0 0 0-2-2H2"})))},fo=e=>{var{widthHeight:t=24,color:o="currentColor",strokeWidth:i=1,filled:r=!1}=e,a=j(e,Qe);return E.createElement(it,Object.assign({widthHeight:t,color:o},a),E.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},rt(r,o,i)),E.createElement("circle",{cx:"11",cy:"11",r:"8"}),E.createElement("line",{x1:"21",y1:"21",x2:"16.65",y2:"16.65"}),E.createElement("line",{x1:"11",y1:"8",x2:"11",y2:"14"}),E.createElement("line",{x1:"8",y1:"11",x2:"14",y2:"11"})))},Eo=e=>{var{widthHeight:t=24,color:o="currentColor",strokeWidth:i=1,filled:r=!1}=e,a=j(e,$e);return E.createElement(it,Object.assign({widthHeight:t,color:o},a),E.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},rt(r,o,i)),E.createElement("circle",{cx:"11",cy:"11",r:"8"}),E.createElement("line",{x1:"21",y1:"21",x2:"16.65",y2:"16.65"}),E.createElement("line",{x1:"8",y1:"11",x2:"14",y2:"11"})))},xo=e=>{var{widthHeight:t=24,color:o="currentColor",strokeWidth:i=1,filled:r=!1}=e,a=j(e,et);return E.createElement(it,Object.assign({widthHeight:t,color:o},a),E.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},rt(r,o,i)),E.createElement("line",{x1:"4",y1:"6",x2:"20",y2:"6"}),E.createElement("line",{x1:"12",y1:"6",x2:"12",y2:"18"}),E.createElement("line",{x1:"8",y1:"18",x2:"16",y2:"18"})))},jo=e=>{var{widthHeight:t=24,color:o="currentColor",strokeWidth:i=1,filled:r=!1}=e,a=j(e,tt);return E.createElement(it,Object.assign({widthHeight:t,color:o},a),E.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},rt(r,o,i)),E.createElement("rect",{x:"4",y:"8",width:"8",height:"8"}),E.createElement("circle",{cx:"16",cy:"16",r:"4"}),E.createElement("polygon",{points:"16,4 19,8 13,8"})))},yo=e=>{var{widthHeight:t=24,color:o="currentColor",strokeWidth:i=1,filled:r=!1}=e,a=j(e,ot);return E.createElement(it,Object.assign({widthHeight:t,color:o},a),E.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},rt(r,o,i)),E.createElement("polyline",{points:"1 4 1 10 7 10"}),E.createElement("path",{d:"M3.51 15a9 9 0 1 0 2.13-9.36L1 10"})))},Co={__proto__:null,ChevronIcon:at,DragHandleIcon:nt,FileIcon:lt,VideoIcon:st,ImageIcon:dt,TwitterIcon:ct,XIcon:ht,TwitchIcon:mt,CloseIcon:ut,InstagramIcon:gt,YoutubeIcon:vt,FacebookIcon:bt,LinkedinIcon:pt,ThreadsIcon:wt,MinusIcon:ft,InfoIcon:Et,PlayIcon:xt,PauseIcon:jt,HeartIcon:yt,StarIcon:Ct,SaveIcon:kt,WarningIcon:Ht,BatteryIcon:Ot,BookmarkIcon:It,CloudIcon:St,CopyIcon:zt,DustBinIcon:Mt,EditIcon:Tt,ErrorIcon:_t,DownloadIcon:Wt,MenuIcon:Lt,ShareIcon:Rt,RefreshIcon:Vt,PrintIcon:Bt,MagicWandIcon:Ft,SliderVerticalIcon:Dt,PanelIcon:Pt,FilterIcon:At,HomeIcon:Gt,LocationIcon:Ut,LockIcon:Nt,MicrophoneIcon:Kt,MoonIcon:Zt,NotificationIcon:Yt,OpenEyeIcon:qt,ProfileIcon:Xt,SettingsIcon:Jt,SuccessIcon:Qt,UnLikeIcon:$t,ClockIcon:eo,CameraIcon:to,BluetoothIcon:oo,LikeIcon:io,UnlockIcon:ro,WifiIcon:ao,UploadIcon:no,SearchIcon:lo,CloseEyeIcon:so,ExternalLinkIcon:co,PlusIcon:ho,TickIcon:mo,BoldArrowIcon:uo,ArrowIcon:go,SpinnerIcon:vo,CalendarIcon:bo,SliderIcon:po,CropIcon:wo,ZoomInIcon:fo,ZoomOutIcon:Eo,TextIcon:xo,ShapeIcon:jo,RotateIcon:yo},ko={default:{container:{backgroundColor:"white",border:"color.blackAlpha.800"},content:{color:"color.blackAlpha.800"}},info:{container:{backgroundColor:"color.blue.200",border:"color.blue.400"},content:{color:"#60a5fa"}},success:{container:{backgroundColor:"color.green.200",border:"color.green.400"},content:{color:"#22c55e"}},error:{container:{backgroundColor:"color.red.200",border:"color.red.400"},content:{color:"#ef4444"}},warning:{container:{backgroundColor:"color.orange.200",border:"color.orange.400"},content:{color:"#f97316"}}},Ho=e=>{var t,o,{icon:i,title:r,views:a,description:n,variant:l="default"}=e;return E.createElement(W,Object.assign({gap:15,borderRadius:10,borderWidth:1,borderStyle:"solid",padding:16,flexWrap:"nowrap"},null==a?void 0:a.container),E.createElement(x,{alignSelf:"center"},i||E.createElement(Ht,{widthHeight:24,color:null!=(t=null==a||null==(o=a.icon)?void 0:o.color)?t:ko[l].content.color})),E.createElement(M,{gap:10},E.createElement(I,Object.assign({fontSize:"16px",color:ko[l].content.color},null==a?void 0:a.title),r),E.createElement(I,Object.assign({fontSize:"14px",color:ko[l].content.color},null==a?void 0:a.description),n)))},Oo=["ratio","children","views"],Io=e=>{var{ratio:t=16/9,children:o,views:i}=e,r=j(e,Oo);return E.createElement(V,Object.assign({width:"100%",position:"relative",overflow:"hidden",paddingTop:1/t*100+"%",borderRadius:8},r,null==i?void 0:i.center),E.createElement(x,Object.assign({position:"absolute",top:0,right:0,bottom:0,left:0},null==i?void 0:i.view),o))},So=["ratio","children"],zo={xs:24,sm:32,md:48,lg:64,xl:80},Mo=e=>{var{src:t,size:o="md",fallback:i="IM",views:a,imageError:n,setImageError:l,onClick:s=(()=>{})}=e,d=zo[o],c=Object.assign({objectFit:"cover"},(null==a?void 0:a.image)||{});return E.createElement(V,Object.assign({role:"avatar",width:d,height:d,borderRadius:"50%",overflow:"hidden",borderWidth:"1px",borderStyle:"solid",borderColor:n?"black":"transparent",boxShadow:"0px 2px 4px rgba(0, 0, 0, 0.25)",onClick:s},null==a?void 0:a.container),n?E.createElement(I,Object.assign({size:o},null==a?void 0:a.fallback),i):E.createElement(r.Image,{alt:"IM",src:t,style:c,width:d,height:d,onError:()=>l(!0)}))},To={xs:{minWidth:"20px",height:"20px",padding:"0 6px"},sm:{minWidth:"24px",height:"24px",padding:"0 8px"},md:{minWidth:"28px",height:"28px",padding:"0 10px"},lg:{minWidth:"32px",height:"32px",padding:"0 12px"},xl:{minWidth:"36px",height:"36px",padding:"0 14px"}},_o={sharp:0,rounded:4,pillShaped:24},Wo={"top-right":{top:0,right:0,position:"absolute"},"top-left":{top:0,left:0,position:"absolute"},"bottom-right":{bottom:0,right:0,position:"absolute"},"bottom-left":{bottom:0,left:0,position:"absolute"}},Lo=e=>{var{content:t,position:o,shape:i="pillShaped",variant:r="filled",size:a="md",views:n}=e,l=Object.assign({width:"fit-content",borderRadius:_o[i]},To[a],{filled:{backgroundColor:"theme.primary",color:"color.white",borderWidth:1,borderStyle:"solid",borderColor:"transparent"},outline:{backgroundColor:"transparent",borderWidth:1,borderStyle:"solid",borderColor:"theme.primary",color:"theme.primary"},link:{backgroundColor:"transparent",borderWidth:1,borderStyle:"solid",borderColor:"transparent",color:"theme.primary",textDecoration:"underline"},ghost:{backgroundColor:"transparent",color:"color.trueGray.400",borderWidth:1,borderStyle:"solid",borderColor:"transparent"}}[r],o?Wo[o]:{},null==n?void 0:n.container);return E.createElement(V,Object.assign({role:"badge"},l),E.createElement(I,Object.assign({role:"badgeText",size:a},null==n?void 0:n.text),t))},Ro={xs:12,sm:14,md:16,lg:18,xl:20,"2xl":24,"3xl":30,"4xl":36,"5xl":48,"6xl":64},Vo=["children","to","iconSize","underline","isHovered","isExternal","views","setIsHovered"],Bo=e=>{var{children:t,to:o="/",iconSize:i="sm",underline:a="default",isHovered:n=!1,isExternal:l=!1,views:s={icon:{},text:{}},setIsHovered:c=(()=>{})}=e,h=j(e,Vo),m=()=>{"hover"===a&&c(!0)};return E.createElement(d.Link,{to:o,target:l?"_blank":"_self"},E.createElement(r.Element,Object.assign({onMouseEnter:m,onMouseLeave:m,textDecoration:n||"underline"===a?"underline !important":"none"},s.text,h),E.createElement(W,{gap:3,alignItems:"center",flexWrap:"nowrap"},t,l&&E.createElement(co,{widthHeight:Ro[i]}))))},Fo=e=>{var t=(()=>{var[e,t]=o.useState(!1);return{isHovered:e,setIsHovered:t}})();return E.createElement(Bo,Object.assign({},t,e))},Do={xs:{width:79,paddingTop:8,paddingBottom:8,paddingLeft:12,paddingRight:12,fontWeight:400,fontSize:11,lineHeight:14,letterSpacing:1.25},sm:{width:128,paddingTop:10,paddingBottom:10,paddingLeft:16,paddingRight:16,fontWeight:400,fontSize:12,lineHeight:16,letterSpacing:1.25},md:{width:144,paddingTop:12,paddingBottom:12,paddingLeft:18,paddingRight:18,fontSize:14,fontWeight:400,lineHeight:18,letterSpacing:1.25},lg:{width:178,paddingTop:14,paddingBottom:14,paddingLeft:22,paddingRight:22,fontWeight:400,fontSize:18,lineHeight:24,letterSpacing:1.25},xl:{width:220,paddingTop:16,paddingBottom:16,paddingLeft:26,paddingRight:26,fontWeight:400,fontSize:22,lineHeight:28,letterSpacing:1.25}},Po={sharp:0,rounded:4,pillShaped:24},Ao={xs:{width:24,height:24,padding:12},sm:{width:24,height:24,padding:15},md:{width:36,height:36,padding:15},lg:{width:36,height:36,padding:18},xl:{width:36,height:36,padding:24}},Go={xs:14,sm:18,md:22,lg:26,xl:30,"2xl":40,"3xl":50,"4xl":60,"5xl":70,"6xl":80},Uo={fast:50,normal:100,slow:300},No=["size","speed","color","themeMode"],Ko=["size","speed","color","themeMode"],Zo=["size","speed","color","themeMode"],Yo=["size","children","textColor","loaderColor","type","speed","textPosition","views"],qo=e=>{var{size:t="md",speed:i="normal",color:a="theme.loading",themeMode:n}=e,l=j(e,No),{getColor:s,themeMode:d}=r.useTheme(),c=s(a,n||d),h="number"==typeof t?t:Go[t],[m,u]=o.useState(0);return o.useEffect(()=>{var e=setInterval(()=>{u(e=>e+45)},Uo[i]);return()=>clearInterval(e)},[i]),E.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:h+"px",height:h+"px",viewBox:"0 0 24 24",fill:"none",stroke:c,strokeWidth:"1",strokeLinecap:"round",strokeLinejoin:"round",style:{transform:"rotate("+m+"deg)"}},l),E.createElement("g",{id:"SVGRepo_bgCarrier",strokeWidth:"0"}),E.createElement("g",{id:"SVGRepo_tracerCarrier",strokeLinecap:"round",strokeLinejoin:"round"}),E.createElement("g",{id:"SVGRepo_iconCarrier"},E.createElement("path",{d:"M21 12a9 9 0 11-6.219-8.56"})))},Xo=e=>{var{size:t="md",speed:i="normal",color:a="theme.loading",themeMode:n}=e,l=j(e,Ko),{getColor:s,themeMode:d}=r.useTheme(),c=s(a,n||d),h="number"==typeof t?t:Go[t],[m,u]=o.useState(0);return o.useEffect(()=>{var e=setInterval(()=>{u(e=>e+45)},Uo[i]);return()=>clearInterval(e)},[i]),E.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 50 50",width:h+"px",height:h+"px",style:{transform:"rotate("+m+"deg)"}},l),E.createElement("circle",{cx:"10",cy:"25",r:"4",fill:c}),E.createElement("circle",{cx:"25",cy:"25",r:"4",fill:c}),E.createElement("circle",{cx:"40",cy:"25",r:"4",fill:c}))},Jo=e=>{var{size:t="md",speed:i="normal",color:a="theme.loading",themeMode:n}=e,l=j(e,Zo),{getColor:s,themeMode:d}=r.useTheme(),c=s(a,n||d),h="number"==typeof t?t:Go[t],[m,u]=o.useState(0);return o.useEffect(()=>{var e=setInterval(()=>{u(e=>e+45)},Uo[i]);return()=>clearInterval(e)},[i]),E.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 50 50",width:h+"px",height:h+"px",style:{transform:"rotate("+m+"deg)"}},l),E.createElement("circle",{cx:"25",cy:"25",r:"20",fill:"none",stroke:c,strokeWidth:"5",strokeDasharray:"1,10"}))},Qo=e=>{var{size:t,children:o,textColor:i,loaderColor:a,type:n="default",speed:l="normal",textPosition:s="right",views:d}=e,c=j(e,Yo),h={size:t,speed:l,color:a},m={default:E.createElement(qo,Object.assign({},h)),dotted:E.createElement(Xo,Object.assign({},h)),quarter:E.createElement(Jo,Object.assign({},h))};return E.createElement(V,Object.assign({gap:10,flexDirection:"top"===s||"bottom"===s?"column":"row"},c,null==d?void 0:d.container),("left"===s||"top"===s)&&o&&E.createElement(r.View,Object.assign({color:i},null==d?void 0:d.text),o),m[n],("right"===s||"bottom"===s)&&o&&E.createElement(r.View,Object.assign({color:i},null==d?void 0:d.text),o))},$o=e=>E.createElement(Qo,Object.assign({},e)),ei=["icon","shadow","children","ariaLabel","to","isAuto","isFilled","isIconRounded","isLoading","isDisabled","size","variant","iconPosition","shape","onClick","loaderProps","loaderPosition","effect","isHovered","setIsHovered","isExternal","themeMode","containerProps","linkProps","views"],ti=require("contrast"),oi=e=>{var t,{icon:o,shadow:i,children:a,ariaLabel:n,to:l,isAuto:s=!1,isFilled:d=!1,isIconRounded:c=!1,isLoading:h=!1,isDisabled:m=!1,size:u="md",variant:g="filled",iconPosition:v="left",shape:b="rounded",onClick:p=(()=>{}),loaderProps:w={},loaderPosition:f="left",effect:x="default",isHovered:y,setIsHovered:C=(()=>{}),isExternal:k=!1,themeMode:H,linkProps:O,views:I}=e,S=j(e,ei),{getColor:z,themeMode:M}=r.useTheme(),T=e=>C(e),_=!(m||h),L={disabled:!_},R=_?"theme.primary":"theme.disabled",V=y&&"hover"===x,B=y&&"reverse"===x,F="light"==ti(z(R,H||M)),D=Do[u],P={filled:{backgroundColor:B?"transparent":R,color:B?F?"white":R:F?R:"white",borderWidth:1,borderStyle:"solid",borderColor:B?R:"transparent"},outline:{backgroundColor:B?R:"transparent",borderWidth:1,borderStyle:"solid",borderColor:B?R:"theme.primary",color:B?"white":R},link:{backgroundColor:"transparent",borderWidth:1,borderStyle:"solid",borderColor:B?R:"transparent",color:R,textDecoration:B?"none":"underline"},ghost:{backgroundColor:"transparent",color:B?"white":R,borderWidth:1,borderStyle:"solid",borderColor:B?R:"transparent"}}[g],A={width:!0===s?"fit-content":d?"100%":D.width},G=c?Ao[u]:Do[u],U=["left","right"].includes(v)?W:r.Vertical,N=E.createElement(U,Object.assign({gap:5,alignItems:"center"},null==I?void 0:I.container),h&&"left"===f&&E.createElement($o,Object.assign({},w)),o&&["left","top"].includes(v)&&!h&&E.createElement(r.View,Object.assign({},null==I?void 0:I.icon),o),a,o&&["right","bottom"].includes(v)&&!h&&E.createElement(r.View,Object.assign({},null==I?void 0:I.icon),o),h&&"right"===f&&E.createElement($o,Object.assign({},w)));return E.createElement(r.Element,Object.assign({gap:8,as:"button",type:"button",border:"none",color:"color.white",display:"flex",alignItems:"center",justifyContent:"center","aria-label":n,backgroundColor:R,borderRadius:Po[b],onClick:null!=(t=S.onClick)?t:p,onMouseEnter:()=>T(!0),onMouseLeave:()=>T(!1),cursor:_?"pointer":"default",filter:V?"brightness(0.85)":"brightness(1)"},V&&!S.isDisabled?{transition:"transform 0.3s ease",transform:"translateY(-5px)"}:{},L,D,P,A,S.padding||S.paddingHorizontal||S.paddingVertical||S.paddingLeft||S.paddingRight||S.paddingTop||S.paddingBottom?{}:G,i,S,null==I?void 0:I.container),"link"===g&&l?E.createElement(Fo,Object.assign({to:l,textDecorationColor:"theme.primary",isExternal:k},O,null==I?void 0:I.link),N):N)},ii=e=>{var{isHovered:t,setIsHovered:o}=(()=>{var[e,t]=E.useState(!1);return{isHovered:e,setIsHovered:t}})(),i=()=>o(!t);return E.createElement(oi,Object.assign({isHovered:t,setIsHovered:o,onMouseEnter:i,onMouseLeave:i},e))},ri=["src","color","views","themeMode"],ai=["path"],ni=e=>{var{placeholder:t,isMulti:o,options:i}=e,r=t?o?[]:"":Array.isArray(i)&&i.length>0?i[0].value:"",[a,n]=E.useState(!0),[l,s]=E.useState(!1),[d,c]=E.useState(!1),[h,m]=E.useState(r),[u,g]=E.useState(0);return{value:h,setValue:m,hide:a,setHide:n,isHovered:l,setIsHovered:s,isFocused:d,setIsFocused:c,highlightedIndex:u,setHighlightedIndex:g}},li=["children","views"],si=e=>{var{children:t,views:o={helperText:{}}}=e,i=j(e,li);return E.createElement(I,Object.assign({size:"xs",marginVertical:0,marginHorizontal:0,color:"theme.text.dark"},o.helperText,i),t)},di=["children","helperText","error","views"],ci=e=>{var{children:t,helperText:o,error:i=!1,views:r}=e,a=j(e,di);return E.createElement(M,Object.assign({gap:5,position:"relative"},a),t,!i&&o&&E.createElement(si,Object.assign({},r),o),i&&E.createElement(I,{size:"xs",marginVertical:0,marginHorizontal:0,color:"theme.error"},i))},hi={default:{borderRadius:0},sharp:{borderRadius:0},rounded:{borderRadius:4},pillShaped:{borderRadius:24}},mi={xs:6,sm:8,md:10,lg:12,xl:14},ui={outline:{borderWidth:1},default:{borderWidth:0,borderBottomWidth:1},none:{border:"none",backgroundColor:"transparent"}},gi={paddingTop:14,paddingBottom:0,paddingLeft:16,paddingRight:16},vi={paddingTop:10,paddingBottom:4,paddingLeft:16,paddingRight:16},bi=["label","shadow","children","value","size","shape","variant","error","isWithLabel","isFocused","isHovered","isDisabled","isReadOnly","views"],pi=e=>{var{shadow:t,children:o,size:i="md",shape:a="default",variant:n="default",error:l=!1,isWithLabel:s=!1,isFocused:d=!1,isHovered:c=!1,isDisabled:h=!1,isReadOnly:m=!1,views:u={pickerBox:{}}}=e,g=j(e,bi);return E.createElement(W,Object.assign({gap:10,width:"100%",display:"flex",flexWrap:"nowrap",borderStyle:"solid",alignItems:"center",borderColor:l?"error":!c&&!d||h?"midgray":"theme.primary",backgroundColor:"color.white",transition:"padding 0.2s ease",justifyContent:"space-between",marginBottom:5,fontSize:r.Typography.fontSizes[i],cursor:h?"not-allowed":m?"auto":"pointer"},s?gi:vi,t,hi[a],ui[n],u.box,g),o)},wi=["children"],fi=e=>{var{children:t}=e,o=j(e,wi);return E.createElement(V,Object.assign({gap:10,right:16,zIndex:500,flexWrap:"nowrap",position:"absolute"},o),t)},Ei={h1:{fontSize:96,lineHeight:112,letterSpacing:-1.5},h2:{fontSize:60,lineHeight:71,letterSpacing:-.5},h3:{fontSize:48,lineHeight:57,letterSpacing:0},h4:{fontSize:34,lineHeight:40,letterSpacing:.25},h5:{fontSize:24,lineHeight:28,letterSpacing:0},h6:{fontSize:20,lineHeight:24,letterSpacing:.15}},xi=["children","heading","isItalic","isUnderlined","isStriked","weight","size"],ji=e=>{var{children:t,heading:o,isItalic:i=!1,isUnderlined:a=!1,isStriked:n=!1,weight:l="normal",size:s="sm"}=e,d=j(e,xi);return E.createElement(r.Element,Object.assign({as:"label",width:"100%",fontSize:s,fontStyle:i?"italic":"normal",fontWeight:r.Typography.fontWeights[l],textDecoration:n?"line-through":a?"underline":"none"},o?Ei[o]:{},d),t)},yi=e=>E.createElement(ji,Object.assign({},e)),Ci=["children","size","error","color","views","helperText"],ki=e=>{var{children:t,size:o="md",error:i=!1,color:r="theme.primary",views:a={label:{}}}=e,n=j(e,Ci);return E.createElement(yi,Object.assign({top:6,zIndex:1e3,lineHeight:mi[o],letterSpacing:.25,whiteSpace:"noWrap",position:"absolute",color:i?"error":r,fontSize:mi[o]},a.label,n),t)},Hi=["children"],Oi=e=>{var{children:t}=e,o=j(e,Hi);return E.createElement(M,Object.assign({width:"100%",maxWidth:"100%"},o),t)},Ii={xs:8,sm:10,md:12,lg:14,xl:16},Si=["isHovered","setIsHovered","option","size","callback","style"],zi=["id","name","value","onChange","isMulti","isDisabled","isReadOnly","options"],Mi=["option","size","removeOption"],Ti=["id","name","label","value","placeholder","helperText","hide","error","isMulti","isFocused","isHovered","isDisabled","isReadOnly","options","shadow","size","shape","variant","views","onChange","setHide","setValue","setIsHovered","setIsFocused","setHighlightedIndex","highlightedIndex"],_i=e=>{var{isHovered:t,setIsHovered:o,option:i,size:a="md",callback:n=(()=>{}),style:l}=e,s=j(e,Si),d=()=>o(!t);return E.createElement(r.Element,Object.assign({as:"li",margin:0,paddingVertical:10,paddingHorizontal:12,listStyleType:"none",onMouseEnter:d,onMouseLeave:d,onClick:()=>(e=>n(e))(i.value),backgroundColor:t?"trueGray.100":"transparent"},s),E.createElement(I,Object.assign({fontSize:r.Typography.fontSizes[a]},l),i.label))},Wi=e=>{var t,{size:o="md",views:i={field:{},text:{}},value:a,isDisabled:n,placeholder:l,removeOption:s=(()=>{}),options:d}=e,c=Object.assign({margin:0,width:"95%",heigth:"100%",border:"none",paddingVertical:8,paddingHorizontal:0,fontSize:r.Typography.fontSizes[o],backgroundColor:"transparent",color:n?"color.trueGray.600":"color.blueGray.700",cursor:n?"not-allowed":"auto"},i.field,i.text),h=d.length>0&&d.find(e=>e.value===a);return E.createElement(I,Object.assign({},c),(""===a||Array.isArray(a)&&0===a.length)&&l?l:E.createElement(E.Fragment,null,"string"==typeof a?null!=(t=h&&h.label)?t:a:Array.isArray(a)&&a.length>0?E.createElement(W,{gap:6},a.map(e=>E.createElement(Vi,{key:e,option:e,removeOption:s}))):E.createElement("span",null,a)))},Li=e=>{var{id:t,name:o,value:i,onChange:a,isMulti:n=!1,isDisabled:l=!1,isReadOnly:s=!1,options:d=[]}=e,c=j(e,zi);return E.createElement(r.Element,Object.assign({id:t,name:o,as:"select",opacity:0,width:0,height:0,position:"absolute",value:i,disabled:l,readOnly:s,onChange:e=>{a&&a(e)},multiple:n},c),d.length>0&&d.map(e=>E.createElement("option",{key:e.value,value:e.value},e.label)))},Ri=e=>{var{size:t,views:o={dropDown:{}},options:i,callback:a=(()=>{}),highlightedIndex:n,setHighlightedIndex:l}=e,s=(()=>{var[e,t]=E.useState(!1);return{isHovered:e,setIsHovered:t}})(),d=e=>a(e),c=void 0!==typeof document?{boxShadow:"rgba(0, 0, 0, 0.07) 0px 1px 1px, rgba(0, 0, 0, 0.07) 0px 2px 2px, rgba(0, 0, 0, 0.07) 0px 4px 4px, rgba(0, 0, 0, 0.07) 0px 8px 8px, rgba(0, 0, 0, 0.07) 0px 16px 16px"}:{elevation:2,shadowColor:"rgba(0, 0, 0, 0.07)",shadowOffset:{width:0,height:1},shadowOpacity:1,shadowRadius:1};return E.createElement(r.Element,Object.assign({as:"ul",role:"dropdown",top:"100%",width:"100%",display:"flex",zIndex:1e5,overflowY:"scroll",marginTop:5,marginLeft:0,marginRight:0,marginBottom:0,padding:0,borderRadius:4,position:"absolute",flexDirection:"column",backgroundColor:"white",maxHeight:"200px",style:{scrollbarWidth:"none",msOverflowStyle:"none","&::-webkit-scrollbar":{display:"none"}}},c,o.dropDown),i.length>0&&i.map((e,i)=>E.createElement(_i,Object.assign({key:e.value,size:t,style:o.text,option:e,callback:d,backgroundColor:i===n?"color.gray.100":"transparent",onMouseEnter:()=>l(i)},s))))},Vi=e=>{var{option:t,size:o="md",removeOption:i=(()=>{})}=e,a=j(e,Mi);return E.createElement(W,Object.assign({gap:10,padding:6,borderRadius:4,alignItems:"center",fontSize:r.Typography.fontSizes[o],backgroundColor:"color.trueGray.300",onClick:e=>e.stopPropagation()},a),E.createElement(I,{size:o},t),E.createElement(ut,{role:"close-button",color:"inherit",widthHeight:Ii[o],onClick:()=>i(t)}))},Bi=e=>{var{id:t,name:i,label:r,value:a,placeholder:n,helperText:l,hide:s=!1,error:d=!1,isMulti:c=!1,isFocused:h=!1,isHovered:m=!1,isDisabled:u=!1,isReadOnly:g=!1,options:v=[],shadow:b={},size:p="md",shape:w="default",variant:f="default",views:x={text:{},icon:{},dropDown:{},selectBox:{},label:{},helperText:{}},onChange:y=(()=>{}),setHide:C=(()=>{}),setValue:k=(()=>{}),setIsHovered:H=(()=>{}),setIsFocused:O=(()=>{}),setHighlightedIndex:I,highlightedIndex:S}=e,z=j(e,Ti),M=!(!h||!r),T=()=>H(!m),_=o.useCallback(e=>{C(!s),c&&Array.isArray(a)?!a.includes(e)&&k([...a,e]):k(e),y&&y(e)},[s,c,a]);return E.createElement(ci,{role:"SelectBox",helperText:l,error:d,views:x,onClick:u||g?()=>{}:e=>{e&&e.stopPropagation&&e.stopPropagation(),C(!s),O(!h)}},E.createElement(pi,{label:r,size:p,error:d,shape:w,views:x,shadow:b,variant:f,value:a,color:"theme.primary",isHovered:m,isDisabled:u,isReadOnly:g,isFocused:h,isWithLabel:M,onMouseEnter:T,onMouseLeave:T},E.createElement(Oi,null,M&&E.createElement(ki,Object.assign({htmlFor:t,color:"theme.primary",error:d},x),r),E.createElement(Li,Object.assign({id:t,name:i,options:v,onChange:y,value:a,isDisabled:u,isReadOnly:g,isMulti:c,onFocus:()=>O(!0)},z)),E.createElement(Wi,{options:v,size:p,views:x,value:a,isDisabled:u,placeholder:n,removeOption:e=>{if(Array.isArray(a)&&a.includes(e)){var t=a.filter(t=>t!==e);k(0===t.length?[]:t)}}})),E.createElement(fi,null,!g&&!u&&E.createElement(E.Fragment,null,E.createElement(at,s?{color:"inherit",widthHeight:Ii[p],style:x.icon,orientation:"down"}:{color:"inherit",orientation:"up",widthHeight:Ii[p],style:x.icon})))),!s&&E.createElement(Ri,{size:p,views:x,options:v,callback:_,highlightedIndex:S,setHighlightedIndex:I}))},Fi=e=>{var{isDisabled:t,isChecked:o}=e,[i,r]=E.useState(!1),[a,n]=E.useState(t?!t:o);return{isHovered:i,setIsHovered:r,on:a,setOn:n}},Di={xs:{height:6,width:6},sm:{height:9,width:9},md:{height:12,width:12},lg:{height:15,width:15},xl:{height:18,width:18},"2xl":{height:21,width:21},"3xl":{height:24,width:24},"4xl":{height:27,width:27},"5xl":{height:30,width:30},"6xl":{height:33,width:33}},Pi={xs:{height:16,width:28},sm:{height:20,width:36},md:{height:24,width:44},lg:{height:28,width:52},xl:{height:32,width:60},"2xl":{height:36,width:68},"3xl":{height:40,width:76},"4xl":{height:44,width:84},"5xl":{height:48,width:92},"6xl":{height:52,width:100}},Ai={xs:{paddingVertical:0,paddingHorizontal:2},sm:{paddingVertical:0,paddingHorizontal:3},md:{paddingVertical:0,paddingHorizontal:5},lg:{paddingVertical:0,paddingHorizontal:6},xl:{paddingVertical:0,paddingHorizontal:8},"2xl":{paddingVertical:0,paddingHorizontal:9},"3xl":{paddingVertical:0,paddingHorizontal:10},"4xl":{paddingVertical:0,paddingHorizontal:13},"5xl":{paddingVertical:0,paddingHorizontal:15},"6xl":{paddingVertical:0,paddingHorizontal:16}},Gi=["id","name","label","inActiveChild","activeChild","labelPosition","shadow","size","value","isHovered","isDisabled","isReadOnly","on","setOn","onChange","setValue","setIsHovered","helperText","views"],Ui=e=>E.createElement(r.Input,Object.assign({type:"checkbox"},e)),Ni=e=>{var{id:t,name:o,label:i,inActiveChild:r,activeChild:a,labelPosition:n="right",shadow:l={},size:s="sm",value:d=!1,isHovered:c=!1,isDisabled:h=!1,isReadOnly:m=!1,on:u,setOn:g,onChange:v,setValue:b=(()=>{}),setIsHovered:p=(()=>{}),views:w={slider:{},circle:{},label:{}}}=e,f=j(e,Gi),y=()=>p(!c),C={container:Object.assign({gap:10,display:"flex",height:"fit-content",width:"fit-content",cursor:h?"not-allowed":m?"default":"pointer"},w.label)};return E.createElement(yi,Object.assign({htmlFor:t,onMouseEnter:y,onMouseLeave:y},C.container,f),E.createElement(Ui,Object.assign({id:t,name:o,opacity:0,width:0,height:0,checked:d,onChange:e=>{m||(b(!d),g(!u),v&&v(e.target.checked))},disabled:h,readOnly:m},f)),"left"===n&&i&&E.createElement(x,null,i),E.createElement(x,Object.assign({display:"flex",cursor:"pointer",alignItems:"center",borderRadius:24,marginBottom:5,filter:c&&d?"brightness(0.9)":"brightness(1)",transition:"justify-content 0.3s cubic-bezier(0.4, 0, 0.2, 1)",backgroundColor:h?"disabled":d?"theme.primary":"lightgray",justifyContent:a?"space-between":d?"flex-end":"flex-start"},l,Ai[s],Pi[s],w.slider),a&&d&&E.createElement(x,null,a),E.createElement(x,Object.assign({borderRadius:"50%",backgroundColor:"white"},Di[s],w.circle)),r&&!d&&E.createElement(x,null,r)),"right"===n&&i&&E.createElement(x,null,i))},Ki=e=>{var{label:t,placeholder:i,value:r}=e,[a,n]=o.useState(null!=t?t:i),[l,s]=o.useState(!1),[d,c]=o.useState(r||""),[h,m]=o.useState(!1);return o.useMemo(()=>{n(h&&!d?null!=i?i:"":null!=t?t:i)},[d,h,t,i]),{hint:a,setHint:n,isHovered:l,setIsHovered:s,value:d,setValue:c,isFocused:h,setIsFocused:m}},Zi=["id","name","hint","error","value","label","shadow","helperText","placeholder","size","shape","variant","isHovered","isFocused","isEditable","isReadOnly","isDisabled","isAutoFocus","isMultiline","maxRows","maxCols","onBlur","onChange","onFocus","onChangeText","setHint","setValue","setIsFocused","setIsHovered","views"],Yi=e=>{var{id:t,name:o,hint:i,error:a,value:n,label:l,shadow:s,helperText:d,size:c="sm",shape:h="default",variant:m="default",isHovered:u=!1,isFocused:g=!1,isEditable:v=!1,isReadOnly:b=!1,isDisabled:p=!1,isAutoFocus:w=!1,isMultiline:f=!1,maxRows:x=3,maxCols:y=30,onBlur:C=(()=>{}),onChange:k,onFocus:H,onChangeText:O,setHint:I=(()=>{}),setValue:S=(()=>{}),setIsFocused:z=(()=>{}),setIsHovered:M=(()=>{}),views:T={box:{},text:{},label:{},helperText:{},field:{}}}=e,_=j(e,Zi),W=!(!g||!l),L=Object.assign({margin:0,paddingVertical:8,paddingHorizontal:0,width:"100%",heigth:"100%",border:"none",on:{focus:{outline:"none"}},fontSize:r.Typography.fontSizes[c],backgroundColor:"transparent",color:p?"color.trueGray.600":"color.blueGray.700",cursor:p?"not-allowed":"auto"},T.field),R=()=>M(!u),V=e=>{"string"==typeof e?(S(e),O&&O(e),k&&k(e)):(S(e.target.value),O&&O(e.target.value),k&&k(e.target.value))};return E.createElement(ci,{helperText:d,error:a,views:T},E.createElement(pi,{label:l,size:c,error:a,shape:h,views:T,shadow:s,variant:m,value:n,color:"theme.primary",isHovered:u,isDisabled:p,isReadOnly:b,isFocused:g,isWithLabel:W,onMouseEnter:R,onMouseLeave:R},E.createElement(Oi,null,W&&E.createElement(ki,Object.assign({htmlFor:t,color:"theme.primary",error:a},T),l),E.createElement(r.Element,Object.assign({as:"textarea",id:t,name:o,rows:x,cols:y,value:n,readOnly:b,disabled:p,autoFocus:w,editable:v,placeholder:i,onBlur:e=>{C(e),z(!1)},onFocus:()=>{z(!0),H&&H()},multiline:f},L,_,{onChange:V,onChangeText:V})))))},qi=e=>{var{label:t,placeholder:i,value:r}=e,[a,n]=o.useState(null!=t?t:i),[l,s]=o.useState(!1),[d,c]=o.useState(!1),[h,m]=o.useState(r);return o.useMemo(()=>{n(l&&!h?null!=i?i:"":null!=t?t:i)},[h,l,t,i]),{hint:a,setHint:n,isFocused:l,setIsFocused:s,isHovered:d,setIsHovered:c,setValue:m,value:h}},Xi=["id","name","label","hint","value","onChange","left","right","helperText","placeholder","onChangeText","shadow","views","size","shape","variant","error","isFocused","isHovered","isDisabled","isReadOnly","isClearable","isAutoFocus","setHint","setIsFocused","setIsHovered","setValue","onClick","onFocus","onBlur","themeMode"],Ji=e=>E.createElement(r.Input,Object.assign({type:"text"},e)),Qi=e=>{var{id:t,name:o,label:i,hint:a,value:n,onChange:l,left:s,right:d,helperText:c,onChangeText:h,shadow:m={},views:u={box:{},field:{},label:{},helperText:{},text:{}},size:g="md",shape:v="default",variant:b="default",error:p=!1,isFocused:w=!1,isHovered:f=!1,isDisabled:x=!1,isReadOnly:y=!1,isClearable:C=!0,isAutoFocus:k=!1,setHint:H=(()=>{}),setIsFocused:O=(()=>{}),setIsHovered:I=(()=>{}),setValue:S=(()=>{}),onClick:z=(()=>{}),onFocus:M,onBlur:T=(()=>{}),themeMode:_}=e,W=j(e,Xi),{getColor:L,themeMode:R}=r.useTheme(),V=L("color.blueGray.700",_||R),B=!(!w||!i),F=Object.assign({margin:0,paddingVertical:8,paddingHorizontal:0,width:"100%",heigth:"100%",border:"none",on:{focus:{outline:"none"}},fontSize:r.Typography.fontSizes[g],lineHeight:r.Typography.fontSizes[g],backgroundColor:"transparent",color:x?"color.trueGray.600":"color.blueGray.700",cursor:x?"not-allowed":"auto"},u.field),D=()=>I(!f);return E.createElement(ci,{helperText:c,error:p,views:u},E.createElement(pi,{label:i,size:g,error:p,shape:v,views:u,shadow:m,variant:b,value:n,color:"theme.primary",isHovered:f,isDisabled:x,isReadOnly:y,isFocused:w,isWithLabel:B,onMouseEnter:D,onMouseLeave:D},s,E.createElement(Oi,null,B&&E.createElement(ki,Object.assign({htmlFor:t,color:"theme.primary",error:p},u),i),E.createElement(Ji,Object.assign({id:t,name:o,readOnly:y,disabled:x,autoFocus:k,placeholder:a,onFocus:()=>{O(!0),M&&M()},onBlur:e=>{T&&T(e),O(!1)},autoComplete:"off"},F,W,{onChange:e=>{"string"==typeof e?(S(e),h&&h(e),l&&l(e)):(S(e.target.value),h&&h(e.target.value),l&&l(e.target.value))},value:n}))),C&&n&&!y&&!x&&E.createElement(fi,null,E.createElement(ut,{widthHeight:r.Typography.fontSizes[g],color:V,onClick:()=>{S(""),l&&(T({target:{name:o}}),h&&h(""),l&&l("")),"undefined"==typeof document&&h&&h("")}})),d))},$i=e=>{var{defaultIsSelected:t=!1}=e,[o,i]=E.useState(!1),[r,a]=E.useState(t);return{isHovered:o,setIsHovered:i,isSelected:r,setIsSelected:a}},er={xs:{height:8,width:8},sm:{height:12,width:12},md:{height:18,width:18},lg:{height:24,width:24},xl:{height:30,width:30},"2xl":{height:36,width:36},"3xl":{height:42,width:42},"4xl":{height:48,width:48},"5xl":{height:54,width:54},"6xl":{height:60,width:60}},tr={xs:6,sm:12,md:18,lg:24,xl:30,"2xl":36,"3xl":42,"4xl":48,"5xl":54,"6xl":60},or=["id","icon","name","label","isChecked","onChange","onValueChange","shadow","labelPosition","size","error","isSelected","isHovered","isDisabled","isReadOnly","isIndeterminate","defaultIsSelected","setIsSelected","setIsHovered","views","infoText","helperText"],ir=e=>{var{id:t,icon:o,label:i,isChecked:a,onChange:n,onValueChange:l,shadow:s={},labelPosition:d="right",size:c="md",error:h=!1,isSelected:m=!1,isHovered:u=!1,isDisabled:g=!1,isReadOnly:v=!1,isIndeterminate:b=!1,defaultIsSelected:p=!1,setIsSelected:w=(()=>{}),setIsHovered:f=(()=>{}),views:x={checkbox:{},label:{}},infoText:y}=e,C=j(e,or),k=()=>f(!u),H={container:Object.assign({gap:10,display:"flex",height:"fit-content",flexDirection:"column",width:"fit-content",color:h?"theme.error":g?"theme.disabled":"color.blueGray.700",cursor:g?"not-allowed":v?"default":"pointer"},x.label),checkbox:Object.assign({},g?{backgroundColor:"theme.disabled"}:(a||m)&&!b||b?{backgroundColor:"theme.primary"}:{borderWidth:2,borderColor:h?"theme.error":u?"color.gray.500":"color.gray.300",borderStyle:"solid"},{borderRadius:3},u?{filter:"brightness(0.9)"}:{},er[c],s,x.checkbox)};return E.createElement(yi,Object.assign({htmlFor:t,as:"div",onClick:()=>{v||g||(w&&w(!m),n&&n(!a),l&&l(!a))},onMouseEnter:k,onMouseLeave:k,size:r.Typography.fontSizes[c]},H.container,C),E.createElement(M,{gap:8},E.createElement(W,{gap:10,alignItems:"center"},"left"===d&&i&&E.createElement(I,Object.assign({size:c},null==x?void 0:x.label),i),E.createElement(V,Object.assign({},H.checkbox),b?E.createElement(ft,{widthHeight:tr[c],color:"white"}):(a||m)&&(null!=o?o:E.createElement(mo,{widthHeight:tr[c],color:"white"}))),"right"===d&&i&&E.createElement(I,Object.assign({size:c},null==x?void 0:x.label),i)),y&&E.createElement(I,Object.assign({marginLeft:"left"===d?0:27,color:"color.gray.400",size:"sm"},null==x?void 0:x.infoText),y)),h&&E.createElement(I,{size:"xs",marginVertical:0,marginHorizontal:0,color:"theme.error"},h))},rr=[{name:"Afghanistan",dial_code:"+93",emoji:"🇦🇫",code:"AF"},{name:"Aland Islands",dial_code:"+358",emoji:"🇦🇽",code:"AX"},{name:"Albania",dial_code:"+355",emoji:"🇦🇱",code:"AL"},{name:"Algeria",dial_code:"+213",emoji:"🇩🇿",code:"DZ"},{name:"AmericanSamoa",dial_code:"+1684",emoji:"🇦🇸",code:"AS"},{name:"Andorra",dial_code:"+376",emoji:"🇦🇩",code:"AD"},{name:"Angola",dial_code:"+244",emoji:"🇦🇴",code:"AO"},{name:"Anguilla",dial_code:"+1264",emoji:"🇦🇮",code:"AI"},{name:"Antarctica",dial_code:"+672",emoji:"🇦🇶",code:"AQ"},{name:"Antigua and Barbuda",dial_code:"+1268",emoji:"🇦🇬",code:"AG"},{name:"Argentina",dial_code:"+54",emoji:"🇦🇷",code:"AR"},{name:"Armenia",dial_code:"+374",emoji:"🇦🇲",code:"AM"},{name:"Aruba",dial_code:"+297",emoji:"🇦🇼",code:"AW"},{name:"Australia",dial_code:"+61",emoji:"🇦🇺",code:"AU"},{name:"Austria",dial_code:"+43",emoji:"🇦🇹",code:"AT"},{name:"Azerbaijan",dial_code:"+994",emoji:"🇦🇿",code:"AZ"},{name:"Bahamas",dial_code:"+1242",emoji:"🇧🇸",code:"BS"},{name:"Bahrain",dial_code:"+973",emoji:"🇧🇭",code:"BH"},{name:"Bangladesh",dial_code:"+880",emoji:"🇧🇩",code:"BD"},{name:"Barbados",dial_code:"+1246",emoji:"🇧🇧",code:"BB"},{name:"Belarus",dial_code:"+375",emoji:"🇧🇾",code:"BY"},{name:"Belgium",dial_code:"+32",emoji:"🇧🇪",code:"BE"},{name:"Belize",dial_code:"+501",emoji:"🇧🇿",code:"BZ"},{name:"Benin",dial_code:"+229",emoji:"🇧🇯",code:"BJ"},{name:"Bermuda",dial_code:"+1441",emoji:"🇧🇲",code:"BM"},{name:"Bhutan",dial_code:"+975",emoji:"🇧🇹",code:"BT"},{name:"Bolivia, Plurinational State of",dial_code:"+591",emoji:"🇧🇴",code:"BO"},{name:"Bosnia and Herzegovina",dial_code:"+387",emoji:"🇧🇦",code:"BA"},{name:"Botswana",dial_code:"+267",emoji:"🇧🇼",code:"BW"},{name:"Brazil",dial_code:"+55",emoji:"🇧🇷",code:"BR"},{name:"British Indian Ocean Territory",dial_code:"+246",emoji:"🇮🇴",code:"IO"},{name:"Brunei Darussalam",dial_code:"+673",emoji:"🇧🇳",code:"BN"},{name:"Bulgaria",dial_code:"+359",emoji:"🇧🇬",code:"BG"},{name:"Burkina Faso",dial_code:"+226",emoji:"🇧🇫",code:"BF"},{name:"Burundi",dial_code:"+257",emoji:"🇧🇮",code:"BI"},{name:"Cambodia",dial_code:"+855",emoji:"🇰🇭",code:"KH"},{name:"Cameroon",dial_code:"+237",emoji:"🇨🇲",code:"CM"},{name:"Canada",dial_code:"+1",emoji:"🇨🇦",code:"CA"},{name:"Cape Verde",dial_code:"+238",emoji:"🇨🇻",code:"CV"},{name:"Cayman Islands",dial_code:"+345",emoji:"🇰🇾",code:"KY"},{name:"Central African Republic",dial_code:"+236",emoji:"🇨🇫",code:"CF"},{name:"Chad",dial_code:"+235",emoji:"🇹🇩",code:"TD"},{name:"Chile",dial_code:"+56",emoji:"🇨🇱",code:"CL"},{name:"China",dial_code:"+86",emoji:"🇨🇳",code:"CN"},{name:"Christmas Island",dial_code:"+61",emoji:"🇨🇽",code:"CX"},{name:"Cocos (Keeling) Islands",dial_code:"+61",emoji:"🇨🇨",code:"CC"},{name:"Colombia",dial_code:"+57",emoji:"🇨🇴",code:"CO"},{name:"Comoros",dial_code:"+269",emoji:"🇰🇲",code:"KM"},{name:"Congo",dial_code:"+242",emoji:"🇨🇬",code:"CG"},{name:"Congo, The Democratic Republic of the Congo",dial_code:"+243",emoji:"🇨🇩",code:"CD"},{name:"Cook Islands",dial_code:"+682",emoji:"🇨🇰",code:"CK"},{name:"Costa Rica",dial_code:"+506",emoji:"🇨🇷",code:"CR"},{name:"Cote d'Ivoire",dial_code:"+225",emoji:"🇨🇮",code:"CI"},{name:"Croatia",dial_code:"+385",emoji:"🇭🇷",code:"HR"},{name:"Cuba",dial_code:"+53",emoji:"🇨🇺",code:"CU"},{name:"Cyprus",dial_code:"+357",emoji:"🇨🇾",code:"CY"},{name:"Czech Republic",dial_code:"+420",emoji:"🇨🇿",code:"CZ"},{name:"Denmark",dial_code:"+45",emoji:"🇩🇰",code:"DK"},{name:"Djibouti",dial_code:"+253",emoji:"🇩🇯",code:"DJ"},{name:"Dominica",dial_code:"+1767",emoji:"🇩🇲",code:"DM"},{name:"Dominican Republic",dial_code:"+1849",emoji:"🇩🇴",code:"DO"},{name:"Ecuador",dial_code:"+593",emoji:"🇪🇨",code:"EC"},{name:"Egypt",dial_code:"+20",emoji:"🇪🇬",code:"EG"},{name:"El Salvador",dial_code:"+503",emoji:"🇸🇻",code:"SV"},{name:"Equatorial Guinea",dial_code:"+240",emoji:"🇬🇶",code:"GQ"},{name:"Eritrea",dial_code:"+291",emoji:"🇪🇷",code:"ER"},{name:"Estonia",dial_code:"+372",emoji:"🇪🇪",code:"EE"},{name:"Ethiopia",dial_code:"+251",emoji:"🇪🇹",code:"ET"},{name:"Falkland Islands (Malvinas)",dial_code:"+500",emoji:"🇫🇰",code:"FK"},{name:"Faroe Islands",dial_code:"+298",emoji:"🇫🇴",code:"FO"},{name:"Fiji",dial_code:"+679",emoji:"🇫🇯",code:"FJ"},{name:"Finland",dial_code:"+358",emoji:"🇫🇮",code:"FI"},{name:"France",dial_code:"+33",emoji:"🇫🇷",code:"FR"},{name:"French Guiana",dial_code:"+594",emoji:"🇬🇫",code:"GF"},{name:"French Polynesia",dial_code:"+689",emoji:"🇵🇫",code:"PF"},{name:"Gabon",dial_code:"+241",emoji:"🇬🇦",code:"GA"},{name:"Gambia",dial_code:"+220",emoji:"🇬🇲",code:"GM"},{name:"Georgia",dial_code:"+995",emoji:"🇬🇪",code:"GE"},{name:"Germany",dial_code:"+49",emoji:"🇩🇪",code:"DE"},{name:"Ghana",dial_code:"+233",emoji:"🇬🇭",code:"GH"},{name:"Gibraltar",dial_code:"+350",emoji:"🇬🇮",code:"GI"},{name:"Greece",dial_code:"+30",emoji:"🇬🇷",code:"GR"},{name:"Greenland",dial_code:"+299",emoji:"🇬🇱",code:"GL"},{name:"Grenada",dial_code:"+1473",emoji:"🇬🇩",code:"GD"},{name:"Guadeloupe",dial_code:"+590",emoji:"🇬🇵",code:"GP"},{name:"Guam",dial_code:"+1671",emoji:"🇬🇺",code:"GU"},{name:"Guatemala",dial_code:"+502",emoji:"🇬🇹",code:"GT"},{name:"Guernsey",dial_code:"+44",emoji:"🇬🇬",code:"GG"},{name:"Guinea",dial_code:"+224",emoji:"🇬🇳",code:"GN"},{name:"Guinea-Bissau",dial_code:"+245",emoji:"🇬🇼",code:"GW"},{name:"Guyana",dial_code:"+595",emoji:"🇬🇾",code:"GY"},{name:"Haiti",dial_code:"+509",emoji:"🇭🇹",code:"HT"},{name:"Holy See (Vatican City State)",dial_code:"+379",emoji:"🇻🇦",code:"VA"},{name:"Honduras",dial_code:"+504",emoji:"🇭🇳",code:"HN"},{name:"Hong Kong",dial_code:"+852",emoji:"🇭🇰",code:"HK"},{name:"Hungary",dial_code:"+36",emoji:"🇭🇺",code:"HU"},{name:"Iceland",dial_code:"+354",emoji:"🇮🇸",code:"IS"},{name:"India",dial_code:"+91",emoji:"🇮🇳",code:"IN"},{name:"Indonesia",dial_code:"+62",emoji:"🇮🇩",code:"ID"},{name:"Iran, Islamic Republic of Persian Gulf",dial_code:"+98",emoji:"🇮🇷",code:"IR"},{name:"Iraq",dial_code:"+964",emoji:"🇮🇷",code:"IQ"},{name:"Ireland",dial_code:"+353",emoji:"🇮🇪",code:"IE"},{name:"Isle of Man",dial_code:"+44",emoji:"🇮🇲",code:"IM"},{name:"Israel",dial_code:"+972",emoji:"🇮🇱",code:"IL"},{name:"Italy",dial_code:"+39",emoji:"🇮🇹",code:"IT"},{name:"Jamaica",dial_code:"+1876",emoji:"🇯🇲",code:"JM"},{name:"Japan",dial_code:"+81",emoji:"🇯🇵",code:"JP"},{name:"Jersey",dial_code:"+44",emoji:"🇯🇪",code:"JE"},{name:"Jordan",dial_code:"+962",emoji:"🇯🇴",code:"JO"},{name:"Kazakhstan",dial_code:"+77",emoji:"🇰🇿",code:"KZ"},{name:"Kenya",dial_code:"+254",emoji:"🇰🇪",code:"KE"},{name:"Kiribati",dial_code:"+686",emoji:"🇰🇮",code:"KI"},{name:"Korea, Democratic People's Republic of Korea",dial_code:"+850",emoji:"🇰🇵",code:"KP"},{name:"Korea, Republic of South Korea",dial_code:"+82",emoji:"🇰🇷",code:"KR"},{name:"Kuwait",dial_code:"+965",emoji:"🇰🇼",code:"KW"},{name:"Kyrgyzstan",dial_code:"+996",emoji:"🇰🇬",code:"KG"},{name:"Laos",dial_code:"+856",emoji:"🇱🇦",code:"LA"},{name:"Latvia",dial_code:"+371",emoji:"🇱🇻",code:"LV"},{name:"Lebanon",dial_code:"+961",emoji:"🇱🇧",code:"LB"},{name:"Lesotho",dial_code:"+266",emoji:"🇱🇸",code:"LS"},{name:"Liberia",dial_code:"+231",emoji:"🇱🇷",code:"LR"},{name:"Libyan Arab Jamahiriya",dial_code:"+218",emoji:"🇱🇾",code:"LY"},{name:"Liechtenstein",dial_code:"+423",emoji:"🇱🇮",code:"LI"},{name:"Lithuania",dial_code:"+370",emoji:"🇱🇹",code:"LT"},{name:"Luxembourg",dial_code:"+352",emoji:"🇱🇺",code:"LU"},{name:"Macao",dial_code:"+853",emoji:"🇲🇴",code:"MO"},{name:"Macedonia",dial_code:"+389",emoji:"🇲🇰",code:"MK"},{name:"Madagascar",dial_code:"+261",emoji:"🇲🇬",code:"MG"},{name:"Malawi",dial_code:"+265",emoji:"🇲🇼",code:"MW"},{name:"Malaysia",dial_code:"+60",emoji:"🇲🇾",code:"MY"},{name:"Maldives",dial_code:"+960",emoji:"🇲🇻",code:"MV"},{name:"Mali",dial_code:"+223",emoji:"🇲🇱",code:"ML"},{name:"Malta",dial_code:"+356",emoji:"🇲🇹",code:"MT"},{name:"Marshall Islands",dial_code:"+692",emoji:"🇲🇭",code:"MH"},{name:"Martinique",dial_code:"+596",emoji:"🇲🇶",code:"MQ"},{name:"Mauritania",dial_code:"+222",emoji:"🇲🇷",code:"MR"},{name:"Mauritius",dial_code:"+230",emoji:"🇲🇺",code:"MU"},{name:"Mayotte",dial_code:"+262",emoji:"🇾🇹",code:"YT"},{name:"Mexico",dial_code:"+52",emoji:"🇲🇽",code:"MX"},{name:"Micronesia, Federated States of Micronesia",dial_code:"+691",emoji:"🇫🇲",code:"FM"},{name:"Moldova",dial_code:"+373",emoji:"🇲🇩",code:"MD"},{name:"Monaco",dial_code:"+377",emoji:"🇲🇨",code:"MC"},{name:"Mongolia",dial_code:"+976",emoji:"🇲🇳",code:"MN"},{name:"Montenegro",dial_code:"+382",emoji:"🇲🇪",code:"ME"},{name:"Montserrat",dial_code:"+1664",emoji:"🇲🇸",code:"MS"},{name:"Morocco",dial_code:"+212",emoji:"🇲🇦",code:"MA"},{name:"Mozambique",dial_code:"+258",emoji:"🇲🇿",code:"MZ"},{name:"Myanmar",dial_code:"+95",emoji:"🇲🇲",code:"MM"},{name:"Namibia",emoji:"🇳🇦",dial_code:"+264",code:"NA"},{name:"Nauru",dial_code:"+674",emoji:"🇳🇷",code:"NR"},{name:"Nepal",dial_code:"+977",emoji:"🇳🇵",code:"NP"},{name:"Netherlands",dial_code:"+31",emoji:"🇳🇱",code:"NL"},{name:"Netherlands Antilles",dial_code:"+599",emoji:"🇧🇶",code:"AN"},{name:"New Caledonia",dial_code:"+687",emoji:"🇳🇨",code:"NC"},{name:"New Zealand",dial_code:"+64",emoji:"🇳🇿",code:"NZ"},{name:"Nicaragua",dial_code:"+505",emoji:"🇳🇮",code:"NI"},{name:"Niger",dial_code:"+227",emoji:"🇳🇪",code:"NE"},{name:"Nigeria",dial_code:"+234",emoji:"🇳🇬",code:"NG"},{name:"Niue",dial_code:"+683",emoji:"🇳🇺",code:"NU"},{name:"Norfolk Island",dial_code:"+672",emoji:"🇳🇫",code:"NF"},{name:"Northern Mariana Islands",dial_code:"+1670",emoji:"🇲🇵",code:"MP"},{name:"Norway",dial_code:"+47",emoji:"🇳🇴",code:"NO"},{name:"Oman",dial_code:"+968",emoji:"🇴🇲",code:"OM"},{name:"Pakistan",dial_code:"+92",emoji:"🇵🇰",code:"PK"},{name:"Palau",dial_code:"+680",emoji:"🇵🇼",code:"PW"},{name:"Palestinian Territory, Occupied",dial_code:"+970",emoji:"🇵🇸",code:"PS"},{name:"Panama",dial_code:"+507",emoji:"🇵🇦",code:"PA"},{name:"Papua New Guinea",dial_code:"+675",emoji:"🇵🇬",code:"PG"},{name:"Paraguay",dial_code:"+595",emoji:"🇵🇾",code:"PY"},{name:"Peru",dial_code:"+51",emoji:"🇵🇪",code:"PE"},{name:"Philippines",dial_code:"+63",emoji:"🇵🇭",code:"PH"},{name:"Pitcairn",dial_code:"+872",emoji:"🇵🇳",code:"PN"},{name:"Poland",dial_code:"+48",emoji:"🇵🇱",code:"PL"},{name:"Portugal",dial_code:"+351",emoji:"🇵🇹",code:"PT"},{name:"Puerto Rico",dial_code:"+1939",emoji:"🇵🇷",code:"PR"},{name:"Qatar",dial_code:"+974",emoji:"🇶🇦",code:"QA"},{name:"Romania",dial_code:"+40",emoji:"🇷🇴",code:"RO"},{name:"Russia",dial_code:"+7",emoji:"🇷🇺",code:"RU"},{name:"Rwanda",dial_code:"+250",emoji:"🇷🇼",code:"RW"},{name:"Reunion",dial_code:"+262",emoji:"🇷🇪",code:"RE"},{name:"Saint Barthelemy",dial_code:"+590",emoji:"🇧🇱",code:"BL"},{name:"Saint Helena, Ascension and Tristan Da Cunha",dial_code:"+290",emoji:"🇸🇭",code:"SH"},{name:"Saint Kitts and Nevis",dial_code:"+1869",emoji:"🇰🇳",code:"KN"},{name:"Saint Lucia",dial_code:"+1758",emoji:"🇱🇨",code:"LC"},{name:"Saint Martin",dial_code:"+590",emoji:"🇲🇫",code:"MF"},{name:"Saint Pierre and Miquelon",dial_code:"+508",emoji:"🇵🇲",code:"PM"},{name:"Saint Vincent and the Grenadines",dial_code:"+1784",emoji:"🇻🇨",code:"VC"},{name:"Samoa",dial_code:"+685",emoji:"🇼🇸",code:"WS"},{name:"San Marino",dial_code:"+378",emoji:"🇸🇲",code:"SM"},{name:"Sao Tome and Principe",dial_code:"+239",emoji:"🇸🇹",code:"ST"},{name:"Saudi Arabia",dial_code:"+966",emoji:"🇸🇦",code:"SA"},{name:"Senegal",dial_code:"+221",emoji:"🇸🇳",code:"SN"},{name:"Serbia",dial_code:"+381",emoji:"🇷🇸",code:"RS"},{name:"Seychelles",dial_code:"+248",emoji:"🇸🇨",code:"SC"},{name:"Sierra Leone",dial_code:"+232",emoji:"🇸🇱",code:"SL"},{name:"Singapore",dial_code:"+65",emoji:"🇸🇬",code:"SG"},{name:"Slovakia",dial_code:"+421",emoji:"🇸🇰",code:"SK"},{name:"Slovenia",dial_code:"+386",emoji:"🇸🇮",code:"SI"},{name:"Solomon Islands",dial_code:"+677",emoji:"🇸🇧",code:"SB"},{name:"Somalia",dial_code:"+252",emoji:"🇸🇴",code:"SO"},{name:"South Africa",dial_code:"+27",emoji:"🇿🇦",code:"ZA"},{name:"South Sudan",dial_code:"+211",emoji:"🇸🇸",code:"SS"},{name:"South Georgia and the South Sandwich Islands",dial_code:"+500",emoji:"🇬🇸",code:"GS"},{name:"Spain",dial_code:"+34",emoji:"🇪🇸",code:"ES"},{name:"Sri Lanka",dial_code:"+94",emoji:"🇱🇰",code:"LK"},{name:"Sudan",dial_code:"+249",emoji:"🇸🇩",code:"SD"},{name:"Suriname",dial_code:"+597",emoji:"🇸🇷",code:"SR"},{name:"Svalbard and Jan Mayen",dial_code:"+47",emoji:"🇸🇯",code:"SJ"},{name:"Swaziland",dial_code:"+268",emoji:"🇸🇿",code:"SZ"},{name:"Sweden",dial_code:"+46",emoji:"🇸🇪",code:"SE"},{name:"Switzerland",dial_code:"+41",emoji:"🇨🇭",code:"CH"},{name:"Syrian Arab Republic",dial_code:"+963",emoji:"🇸🇾",code:"SY"},{name:"Taiwan",dial_code:"+886",emoji:"🇹🇼",code:"TW"},{name:"Tajikistan",dial_code:"+992",emoji:"🇹🇯",code:"TJ"},{name:"Tanzania, United Republic of Tanzania",dial_code:"+255",emoji:"🇹🇿",code:"TZ"},{name:"Thailand",dial_code:"+66",emoji:"🇹🇭",code:"TH"},{name:"Timor-Leste",dial_code:"+670",emoji:"🇹🇱",code:"TL"},{name:"Togo",dial_code:"+228",emoji:"🇹🇬",code:"TG"},{name:"Tokelau",dial_code:"+690",emoji:"🇹🇰",code:"TK"},{name:"Tonga",dial_code:"+676",emoji:"🇹🇴",code:"TO"},{name:"Trinidad and Tobago",dial_code:"+1868",emoji:"🇹🇹",code:"TT"},{name:"Tunisia",dial_code:"+216",emoji:"🇹🇳",code:"TN"},{name:"Turkey",dial_code:"+90",emoji:"🇹🇷",code:"TR"},{name:"Turkmenistan",dial_code:"+993",emoji:"🇹🇲",code:"TM"},{name:"Turks and Caicos Islands",dial_code:"+1649",emoji:"🇹🇨",code:"TC"},{name:"Tuvalu",dial_code:"+688",emoji:"🇹🇻",code:"TV"},{name:"Uganda",dial_code:"+256",emoji:"🇺🇬",code:"UG"},{name:"Ukraine",dial_code:"+380",emoji:"🇺🇦",code:"UA"},{name:"United Arab Emirates",dial_code:"+971",emoji:"🇦🇪",code:"AE"},{name:"United Kingdom",dial_code:"+44",emoji:"🇬🇧",code:"GB"},{name:"United States",dial_code:"+1",emoji:"🇺🇸",code:"US"},{name:"Uruguay",dial_code:"+598",emoji:"🇺🇾",code:"UY"},{name:"Uzbekistan",dial_code:"+998",emoji:"🇺🇿",code:"UZ"},{name:"Vanuatu",dial_code:"+678",emoji:"🇻🇺",code:"VU"},{name:"Venezuela, Bolivarian Republic of Venezuela",dial_code:"+58",emoji:"🇻🇪",code:"VE"},{name:"Vietnam",dial_code:"+84",emoji:"🇻🇳",code:"VN"},{name:"Virgin Islands, British",dial_code:"+1284",emoji:"🇻🇬",code:"VG"},{name:"Virgin Islands, U.S.",dial_code:"+1340",emoji:"🇻🇮",code:"VI"},{name:"Wallis and Futuna",dial_code:"+681",emoji:"🇼🇫",code:"WF"},{name:"Yemen",dial_code:"+967",emoji:"🇾🇪",code:"YE"},{name:"Zambia",dial_code:"+260",emoji:"🇿🇲",code:"ZM"},{name:"Zimbabwe",dial_code:"+263",emoji:"🇿🇼",code:"ZW"}],ar=e=>{var{placeholder:t}=e,[o,i]=E.useState(rr),[r,a]=E.useState(null!=t?t:rr[0].name),[n,l]=E.useState(!0),[s,d]=E.useState(!1),[c,h]=E.useState(!1);return{hide:n,setHide:l,newOptions:o,setNewOptions:i,isHovered:c,setIsHovered:h,isFocused:s,setIsFocused:d,value:r,setValue:a}},nr={xs:8,sm:10,md:12,lg:14,xl:16},lr=["size"],sr=["size"],dr=["id","name","label","value","placeholder","helperText","hide","error","isHovered","isFocused","isAutoFocus","isDisabled","isReadOnly","shadow","newOptions","size","variant","shape","onChange","onBlur","setHide","setNewOptions","setIsHovered","setIsFocused","setValue","views","themeMode"],cr=e=>{var t=j(e,lr);return E.createElement(r.Element,Object.assign({as:"ul"},t))},hr=e=>E.createElement(r.Input,Object.assign({type:"country"},e)),mr=e=>{var t=j(e,sr);return E.createElement(r.Element,Object.assign({as:"li"},t))},ur=e=>{var{option:t,size:i="md",callback:a=(()=>{}),views:n={text:{}}}=e,[l,s]=o.useState(!1),d=()=>s(!l);return E.createElement(mr,Object.assign({margin:0,role:"DropDownItem",listStyleType:"none",fontWeight:"normal",paddingVertical:6,paddingHorizontal:12,onMouseEnter:d,onMouseLeave:d,onClick:e=>{e&&e.stopPropagation&&e.stopPropagation(),a(t)},fontSize:r.Typography.fontSizes[i],backgroundColor:l?"trueGray.100":"transparent"},n.text),t)},gr=e=>{var{size:t,views:o={dropDown:{}},options:i=[],callback:r=(()=>{})}=e,a=e=>r(e);return E.createElement(cr,Object.assign({role:"dropDown",margin:0,padding:0,top:"100%",width:"100%",display:"flex",zIndex:1e3,overflow:"auto",maxHeight:"300px",borderRadius:4,position:"absolute",flexDirection:"column",backgroundColor:"white",boxShadow:"rgba(0, 0, 0, 0.07) 0px 1px 1px, rgba(0, 0, 0, 0.07) 0px 2px 2px, rgba(0, 0, 0, 0.07) 0px 4px 4px, rgba(0, 0, 0, 0.07) 0px 8px 8px, rgba(0, 0, 0, 0.07) 0px 16px 16px"},o.dropDown),i.map(e=>E.createElement(ur,Object.assign({key:e.code,size:t,option:e.name,callback:a},o.text))))},vr=e=>{var{id:t,name:o,label:i,value:a,placeholder:n,helperText:l,hide:s=!1,error:d=!1,isHovered:c=!1,isFocused:h=!1,isAutoFocus:m=!1,isDisabled:u=!1,isReadOnly:g=!1,shadow:v={},newOptions:b=[],size:p="md",variant:w="default",shape:f="default",onChange:x,onBlur:y=(()=>{}),setHide:C=(()=>{}),setNewOptions:k=(()=>{}),setIsHovered:H=(()=>{}),setIsFocused:O=(()=>{}),setValue:I=(()=>{}),views:S={text:{},icon:{},label:{},dropDown:{},helperText:{},box:{}},themeMode:z}=e,M=j(e,dr),{getColor:T,themeMode:_}=r.useTheme(),W=T("color.blueGray.700",z||_),L=()=>H(!c),R=!(!h||!i),V=Object.assign({margin:0,paddingVerical:8,paddingHorizonatl:0,width:"100%",heigth:"100%",border:"none",on:{focus:{outline:"none"}},fontSize:r.Typography.fontSizes[p],backgroundColor:"transparent",color:u?"color.trueGray.600":"color.blueGray.700",cursor:u?"not-allowed":g?"auto":"pointer"},S.field);return E.createElement(ci,{helperText:l,error:d,views:S,onClick:()=>{u||g||C(!s)}},E.createElement(pi,{label:i,size:p,error:d,shape:f,views:S,shadow:v,variant:w,value:a,color:"theme.primary",isHovered:c,isDisabled:u,isReadOnly:g,isFocused:h,isWithLabel:R,onMouseEnter:L,onMouseLeave:L},E.createElement(Oi,null,R&&E.createElement(ki,Object.assign({htmlFor:t,color:"theme.primary",error:d},S),i),E.createElement(hr,Object.assign({id:t,name:o,placeholder:n,readOnly:g,disabled:u,autoFocus:m,onBlur:e=>{y(e),O(!1)},onFocus:()=>O(!0)},V,M,{value:a,onChange:e=>{var t=e.target.value,o=rr.filter(e=>e.name.toLowerCase().startsWith(t.toLowerCase()));s&&C(!1),k(o),x&&x(t)}}))),E.createElement(fi,null,E.createElement(at,s?{orientation:"down",widthHeight:nr[p],color:W,style:S.icon}:{orientation:"up",widthHeight:nr[p],color:W,style:S.icon}))),!s&&E.createElement(gr,{size:p,views:S,options:b,callback:e=>{C(!s),I(e),x&&x(e)}}))},br=()=>{var[e,t]=E.useState(!1),[o,i]=E.useState(!1),[r,a]=E.useState(m(new Date,"yyyy-MM-dd"));return{date:r,setDate:a,isHovered:e,setIsHovered:t,isFocused:o,setIsFocused:i}},pr=["id","icon","name","label","date","children","helperText","shadow","size","variant","shape","views","error","isHovered","isFocused","isDisabled","isReadOnly","setDate","setIsFocused","setIsHovered","onChange","onChangeText"],wr=e=>E.createElement(r.Input,Object.assign({type:"date"},e)),fr=e=>{var{id:t,name:o,label:i,date:a,helperText:n,shadow:l={},size:s="md",variant:d="default",shape:c="default",views:h={box:{},label:{},helperText:{},text:{},field:{}},error:m=!1,isHovered:u=!1,isFocused:g=!1,isDisabled:v=!1,isReadOnly:b=!1,setDate:p=(()=>{}),setIsFocused:w=(()=>{}),setIsHovered:f=(()=>{}),onChange:x,onChangeText:y}=e,C=j(e,pr),k=!(!g||!i),H=()=>f(!u),O=e=>{"string"==typeof e?(p(e),y&&y(e)):(p(e.target.value),x&&x(e.target.value))},I=Object.assign({margin:0,paddingVertical:8,paddingHorizontal:0,width:"100%",heigth:"100%",border:"none",on:{focus:{outline:"none",backgroundColor:"transparent"}},fontSize:r.Typography.fontSizes[s],backgroundColor:"transparent",color:v?"color.trueGray.600":"color.blueGray.700",cursor:v?"not-allowed":b?"auto":"pointer"},h.field);return E.createElement(ci,{helperText:n,error:m,views:h},E.createElement(pi,{label:i,size:s,error:m,shape:c,views:h,shadow:l,color:"theme.primary",variant:d,value:a,isHovered:u,isDisabled:v,isReadOnly:b,isFocused:g,isWithLabel:k,onMouseEnter:H,onMouseLeave:H},E.createElement(Oi,null,k&&E.createElement(ki,Object.assign({htmlFor:t,color:"theme.primary",error:m},h),i),E.createElement(wr,Object.assign({id:t,name:o,onFocus:()=>w(!0),disabled:v,readOnly:b},I,C,y&&{onChangeText:O},{onChange:O})))))},Er=e=>{var t=qi(e),[i,r]=o.useState(!1);return Object.assign({isVisible:i,setIsVisible:r},e,t)},xr=["visibleIcon","hiddenIcon"],jr=["isVisible","setIsVisible"],yr=(e,t,i)=>{var[r,a]=o.useState(e),[n,l]=o.useState(t?{value:t,label:t}:e[0]),[s,d]=o.useState(0),[c,h]=o.useState(null!=i?i:""),[m,u]=o.useState(!1);return{filteredItems:r,setFilteredItems:a,selectedItem:n,setSelectedItem:l,highlightedIndex:s,setHighlightedIndex:d,searchQuery:c,setSearchQuery:h,isDropdownVisible:m,setIsDropdownVisible:u}},Cr=["placeholder","items","showTick","onSelect","searchEnabled","left","right","label","filteredItems","setSelectedItem","selectedItem","highlightedIndex","setHighlightedIndex","searchQuery","setSearchQuery","setFilteredItems","views","isDropdownVisible","setIsDropdownVisible"],kr=e=>{var{placeholder:t,items:i,showTick:r=!0,onSelect:a,searchEnabled:n=!0,left:l,right:s,label:d,filteredItems:c,setSelectedItem:h,selectedItem:m,highlightedIndex:u,setHighlightedIndex:g,searchQuery:v,setSearchQuery:b,setFilteredItems:p,views:w,isDropdownVisible:f,setIsDropdownVisible:y}=e,C=j(e,Cr);return o.useEffect(()=>{var e=e=>{!e.composedPath().some(e=>"combobox-dropdown"===(null==e?void 0:e.id))&&y(!1)};return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[]),E.createElement(W,Object.assign({role:"combobox",flexWrap:"nowrap",gap:15,alignItems:"center",width:"100%"},C),d&&E.createElement(I,{views:null==w?void 0:w.label,htmlFor:C.id},d),E.createElement(x,{position:"relative"},E.createElement(W,Object.assign({cursor:"pointer",backgroundColor:"white",boxShadow:"rgba(0, 0, 0, 0.16) 0px 1px 4px",padding:"12px",display:"flex",alignItems:"center",borderRadius:"4px",justifyContent:"space-between",minWidth:300,flexWrap:"nowrap"},null==w?void 0:w.container),E.createElement(W,Object.assign({gap:15,alignItems:"center",position:"relative",width:"100%",onClick:()=>y(!f)},null==w?void 0:w.labelContainer),l,E.createElement(I,Object.assign({weight:"medium",flexGrow:1},null==w?void 0:w.label),m.label)),s,f&&E.createElement(x,Object.assign({id:"combobox-dropdown",position:"absolute",backgroundColor:"white",boxShadow:"rgba(0, 0 ,0 ,0.16) 0px 1px 4px",width:"100%",overflowY:"auto",zIndex:1e4,bottom:-8,left:0,transform:"translateY(100%)",marginTop:"4px",borderRadius:"4px"},null==w?void 0:w.dropdown),n&&E.createElement(Qi,{id:C.id,name:C.name,width:"100%",type:"search",value:v,onChange:e=>(e=>{if(b(e),""===e)p(i);else{var t=i.filter(t=>t.label.toLowerCase().includes(e.toLowerCase()));p(t)}g(0)})(e),hint:t,isClearable:!1,left:E.createElement(lo,{widthHeight:12}),views:{box:Object.assign({width:"100%",padding:"6px 12px",borderBottom:c.length>0?"1px solid #ccc":"1px solid transparent"},null==w?void 0:w.text)}}),c.length>0&&E.createElement(x,{margin:0,padding:4},c.map((e,t)=>E.createElement(W,Object.assign({justifyContent:"space-between",key:e.value,padding:"12px",cursor:"pointer",borderRadius:4,backgroundColor:t===u?"color.gray.100":"transparent",onMouseEnter:()=>g(t),onClick:()=>(e=>{h(e),null==a||a(e),y(!1)})(e)},null==w?void 0:w.item),E.createElement(I,null,e.label),E.createElement(E.Fragment,null,e.icon&&e.icon,e.value===m.value&&r&&!e.icon&&E.createElement(mo,{widthHeight:20})))))))))},Hr=["id","name","items","placeholder","searchPlaceholder"],Or=["children","autoFocus","initFocus","onChange"],Ir=o.createContext({active:!1,focusNextInput:()=>{},setInputRef:()=>{},handleSubmitEditing:()=>{},getReturnKeyType:()=>"next"}),Sr=["name","type"],zr=e=>{var{name:t,type:i}=e,r=j(e,Sr),a=o.useContext(Ir),{touched:n,errors:l,submitCount:s,values:d,setFieldTouched:c,setFieldValue:h}=u.useFormikContext(),m=e=>{"Enter"===e.key&&(e.preventDefault(),a.focusNextInput(t))},g=["text","password","email","digits"].includes(i),v=u.getIn(n,t)||s>0?u.getIn(l,t):void 0,b=u.getIn(d,t);return Object.assign({},(e=>{switch(e){case"email":return{autoCorrect:"off",inputMode:"email",autoCapitalize:"none"};case"password":return{autoCorrect:"off",secureTextEntry:!0,autoCapitalize:"none"};case"digits":return{inputMode:"tel"};case"numeric":return{inputMode:"numeric"};case"name":return{autoCorrect:"off"};default:return{}}})(i),r,{value:b,error:v,onBlur:()=>{c(t,!0)},onKeyPress:m},g?{onChangeText:e=>{h(t,e),null==r.onChangeText||r.onChangeText(e)}}:{onChange:e=>{h(t,e),null==r.onChange||r.onChange(e)}},a.active?{handleKeyPress:m}:{})},Mr=["value"],Tr=["value"],_r=["visibleIcon","hiddenIcon"],Wr=["isVisible","setIsVisible"],Lr=["items","placeholder","searchPlaceholder"],Rr=(e,t,o)=>Math.min(Math.max(e,t),o),Vr={xs:{height:4,width:"100%"},sm:{height:6,width:"100%"},md:{height:8,width:"100%"},lg:{height:10,width:"100%"},xl:{height:12,width:"100%"}},Br={xs:{width:12,height:12},sm:{width:16,height:16},md:{width:20,height:20},lg:{width:24,height:24},xl:{width:28,height:28}},Fr={sharp:0,rounded:4,pillShaped:24},Dr={default:{backgroundColor:"color.blueGray.200"},outline:{backgroundColor:"transparent",borderWidth:1,borderStyle:"solid",borderColor:"color.blueGray.300"}},Pr={xs:{trackCrossAxisSize:4,thumbSize:12},sm:{trackCrossAxisSize:6,thumbSize:16},md:{trackCrossAxisSize:8,thumbSize:20},lg:{trackCrossAxisSize:10,thumbSize:24},xl:{trackCrossAxisSize:12,thumbSize:28}},Ar={horizontal:{width:"100%",minWidth:"120px",height:"auto",flexDirection:"row",paddingVertical:8},vertical:{height:"100%",minHeight:"120px",width:"auto",flexDirection:"column-reverse",paddingHorizontal:8}},Gr=["min","max","step","currentValue","stepValues","shape","size","variant","orientation","isDisabled","showValue","showTooltip","colorScheme","label","helperText","themeMode","shadow","isDragging","isHovered","setIsHovered","trackRef","thumbRef","handleThumbMouseDown","handleTrackMouseDown","handleKeyDown","thumbPositionPercent","ariaLabel","views"],Ur=e=>{var t,o,{min:i=0,max:a=100,step:n=1,currentValue:l,stepValues:s,shape:d="rounded",size:c="md",variant:h="default",orientation:m="horizontal",isDisabled:u=!1,showValue:g=!1,showTooltip:v=!1,colorScheme:b="theme.primary",label:p,helperText:w,themeMode:f,shadow:x={},isDragging:y,isHovered:C,setIsHovered:k,trackRef:H,thumbRef:O,handleThumbMouseDown:I,handleTrackMouseDown:S,handleKeyDown:z,thumbPositionPercent:T,ariaLabel:_="Slider",views:L={container:{},track:{},progress:{},filledTrack:{},thumb:{},label:{},valueLabel:{},stepMarks:{},tooltip:{}}}=e,R=j(e,Gr),{getColor:B,themeMode:F}=r.useTheme(),D=B(b,f||F),P=B("theme.disabled",f||F),A=B(Dr[h].backgroundColor,f||F),G="vertical"===m,{trackCrossAxisSize:U,thumbSize:N}=Pr[c]||{trackCrossAxisSize:Vr[c].height,thumbSize:Br[c].width||16},K=E.createElement(M,Object.assign({width:"100%",gap:8},L.container,R),p&&E.createElement(W,{justifyContent:"space-between",alignItems:"center"},E.createElement(r.Text,Object.assign({fontSize:14,fontWeight:500},L.label),p),g&&E.createElement(r.Text,Object.assign({fontSize:14,color:"color.blueGray.500"},L.valueLabel),l)),E.createElement(r.View,Object.assign({ref:H,position:"relative",cursor:u?"not-allowed":"pointer",opacity:u?.6:1,onMouseDown:S,onMouseEnter:()=>k(!0),onMouseLeave:()=>k(!1)},Vr[c],{borderRadius:Fr[d],backgroundColor:A},Dr[h],x,L.track),s&&s.length>0&&E.createElement(E.Fragment,null,s.map(e=>E.createElement(r.View,Object.assign({key:e,position:"absolute",top:"50%",left:(e-i)/(a-i)*100+"%",transform:"translate(-50%, -50%)",width:4,height:4,borderRadius:"50%",backgroundColor:u?P:D,zIndex:1},L.stepMarks)))),E.createElement(r.View,Object.assign({position:"absolute",top:0,left:0,height:"100%",width:T+"%",backgroundColor:u?P:D,borderRadius:Fr[d],transition:"width 0.1s ease-in-out"},L.progress,L.filledTrack)),E.createElement(r.View,Object.assign({ref:O,role:"slider",tabIndex:u?-1:0,"aria-valuemin":i,"aria-valuemax":a,"aria-valuenow":l,"aria-orientation":m,"aria-disabled":u,"aria-label":_,position:"absolute",top:"50%",left:T+"%",borderRadius:"50%",backgroundColor:"white",boxShadow:"0 2px 4px rgba(0, 0, 0, 0.2)",border:"2px solid "+(u?P:D),transition:y?"none":"transform 0.1s ease-in-out",transform:C?"translate(-50%, -50%) scale(1.1)":"translate(-50%, -50%)",zIndex:2,onMouseDown:I,onTouchStart:I,onKeyDown:z},Br[c],L.thumb),v&&(C||y)&&E.createElement(r.View,Object.assign({position:"absolute",bottom:"100%",left:"50%",transform:"translateX(-50%)",marginBottom:8,padding:"4px 8px",backgroundColor:"color.black",color:"color.white",borderRadius:4,fontSize:12,whiteSpace:"nowrap",zIndex:3},L.tooltip),E.createElement(r.Text,Object.assign({},null==(t=L.tooltip)?void 0:t.text),null==l?void 0:l.toFixed(n<1?1:0))))),w&&E.createElement(si,null,w)),Z=E.createElement(V,Object.assign({},Ar[m],{position:"relative",onMouseEnter:()=>!u&&k(!0),onMouseLeave:()=>!u&&k(!1)},R,null==L?void 0:L.container),p&&E.createElement(W,{justifyContent:"space-between",alignItems:"center",marginBottom:8,width:"100%"},E.createElement(r.Text,Object.assign({fontSize:14,fontWeight:500},L.label),p),g&&E.createElement(r.Text,Object.assign({fontSize:14,color:"color.blueGray.500"},L.valueLabel),l)),E.createElement(r.View,Object.assign({ref:H,position:"relative",borderRadius:U/2,backgroundColor:u?P:A,cursor:u?"not-allowed":"pointer",width:G?U+"px":"100%",height:G?"100%":U+"px",onMouseDown:S,onTouchStart:S},null==L?void 0:L.track),s&&s.length>0&&E.createElement(E.Fragment,null,s.map(e=>{var t=(e-i)/(a-i)*100;return E.createElement(r.View,Object.assign({key:e,position:"absolute",width:4,height:4,borderRadius:"50%",backgroundColor:u?P:D,zIndex:1},G?{bottom:t+"%",left:"50%",transform:"translate(-50%, 50%)"}:{left:t+"%",top:"50%",transform:"translate(-50%, -50%)"},L.stepMarks))})),E.createElement(r.View,Object.assign({position:"absolute",borderRadius:U/2,backgroundColor:u?P:D},G?{bottom:0,left:0,width:"100%",height:T+"%"}:{top:0,left:0,height:"100%",width:T+"%"},null==L?void 0:L.filledTrack,null==L?void 0:L.progress)),E.createElement(r.View,Object.assign({ref:O,role:"slider",tabIndex:u?-1:0,"aria-valuemin":i,"aria-valuemax":a,"aria-valuenow":l,"aria-orientation":m,"aria-disabled":u,"aria-label":_,position:"absolute",width:N+"px",height:N+"px",borderRadius:"50%",backgroundColor:u?P:D,border:"2px solid "+B("color.white"),boxShadow:"0 1px 3px rgba(0, 0, 0, 0.2)",cursor:u?"not-allowed":"grab",transform:G?"translateX(-50%)":"translateY(-50%)",zIndex:2,transition:y?"none":"left 0.1s, bottom 0.1s"},G?{left:"50%",bottom:T+"%"}:{top:"50%",left:T+"%"},{onMouseDown:I,onTouchStart:I,onKeyDown:z},null==L?void 0:L.thumb),v&&(C||y)&&E.createElement(r.View,Object.assign({position:"absolute",padding:"4px 8px",backgroundColor:B("color.black"),color:B("color.white"),borderRadius:"4px",fontSize:"12px",whiteSpace:"nowrap",zIndex:3},G?{left:"100%",marginLeft:"8px",bottom:"0",transform:"translateY(50%)"}:{bottom:"100%",left:"50%",marginBottom:"8px",transform:"translateX(-50%)"},null==L?void 0:L.tooltip),E.createElement(r.Text,Object.assign({},null==L||null==(o=L.tooltip)?void 0:o.text),null==l?void 0:l.toFixed(n<1?1:0))))),w&&E.createElement(si,{marginTop:8},w));return G||v?Z:K},Nr=w.create(e=>({visible:!1,title:"",subtitle:"",variant:"info",isClosable:!1,views:{},action:()=>{},actionText:"",showIcon:!1,timeout:3e3,show:function(t,o,i,r,a,n,l,s,d){return void 0===o&&(o=""),void 0===i&&(i=""),e({visible:!0,variant:t,title:o,subtitle:i,isClosable:r,views:a,action:n,actionText:l,showIcon:s,timeout:d})},hide:()=>e({visible:!1})})),Kr=(e,t,o,i)=>{Nr.getState().show(e,t,o,null==i?void 0:i.isClosable,null==i?void 0:i.views,null==i?void 0:i.action,null==i?void 0:i.actionText,null==i?void 0:i.showIcon,null==i?void 0:i.timeout)},Zr=()=>{Nr.getState().hide()},Yr={info:{container:{backgroundColor:"color.blue.200",border:"color.blue.400"},icon:{color:"color.blue.500",name:"InformationIcon"},content:{color:"color.blue.500"},close:{color:"color.blue.500",name:"CloseIcon"}},success:{container:{backgroundColor:"color.green.200",border:"color.green.400"},icon:{color:"color.green.500",name:"CheckCircleIcon"},content:{color:"color.green.500"},close:{color:"color.green.500",name:"CloseIcon"}},error:{container:{backgroundColor:"color.red.200",border:"color.red.400"},icon:{color:"color.red.500",name:"ErrrorIcon"},content:{color:"color.red.500"},close:{color:"color.red.500",name:"CloseIcon"}},warning:{container:{backgroundColor:"color.orange.200",border:"color.orange.400"},icon:{color:"color.orange.500",name:"ErrrorIcon"},content:{color:"color.orange.500"},close:{color:"color.orange.500",name:"CloseIcon"}}},qr=e=>{var t,i,{variant:r,hide:a,title:n,subtitle:l,theme:s,action:d,actionText:c,showIcon:h=!1,isClosable:m=!1,timeout:u=3e3,views:g}=e;o.useEffect(()=>{if(u&&!m){var e=setTimeout(()=>{a()},u);return()=>{clearTimeout(e)}}},[]);var v=null!=s?s:Yr,b=!(!d||!c),p={borderWidth:1,borderStyle:"solid",borderRadius:8,borderColor:""+v[r].container.border},w={info:"#3b82f6",success:"#4ade80",warning:"#f97316",error:"#ef4444"}[r],f={info:E.createElement(Et,Object.assign({widthHeight:24,color:w},null==g?void 0:g.icon)),success:E.createElement(Qt,Object.assign({widthHeight:24,color:w},null==g?void 0:g.icon)),warning:E.createElement(Ht,Object.assign({widthHeight:24,color:w},null==g?void 0:g.icon)),error:E.createElement(_t,Object.assign({widthHeight:24,color:w},null==g?void 0:g.icon))}[r],j=h&&f;return E.createElement(W,Object.assign({role:"messageContent",gap:16,width:400,flexWrap:"nowrap",position:"relative",alignItems:"center",padding:"14px 24px 14px 14px",color:""+v[r].content.color,backgroundColor:""+v[r].container.backgroundColor,onClick:m?()=>{}:()=>{a()}},p,null==g?void 0:g.container),j&&f,E.createElement(M,{gap:8,width:"100%"},E.createElement(I,Object.assign({size:"md",weight:"semiBold"},null==g?void 0:g.title),n),l&&E.createElement(I,Object.assign({size:"sm"},null==g?void 0:g.subtitle),l)),b&&E.createElement(I,Object.assign({marginRight:10,onClick:d,padding:"6px 10px",whiteSpace:"nowrap"},p,null==g?void 0:g.actionText),c),m&&E.createElement(x,Object.assign({position:"absolute",zIndex:1e4,right:8,top:6,onClick:()=>{a()}},null==g||null==(t=g.closingIcon)?void 0:t.container),E.createElement(ut,Object.assign({widthHeight:18,color:w},null==g||null==(i=g.closingIcon)?void 0:i.icon))))},Xr=e=>{var{accept:t,isLoading:o=!1,progress:i=0,icon:a,text:n,previewUrl:l,thumbnailUrl:s,errorMessage:d,fileInputRef:c,videoRef:h,selectedFile:m,handleFileChange:u,handleClick:g,containerProps:v,errorMessageProps:b,progressProps:p,videoProps:w,imageProps:f,iconProps:x,textProps:j,fileType:y,previewUrl:C,renderError:k=(e=>{var{errorMessage:t,errorMessageProps:o}=e;return E.createElement(r.Text,Object.assign({color:"red",fontSize:12,marginTop:8},o,null==M?void 0:M.text),t)}),renderText:H=(e=>{var{text:t,textProps:o}=e;return E.createElement(r.Text,Object.assign({marginTop:8},o,null==M?void 0:M.text),t)}),renderFile:O=(e=>{var{selectedFile:t,textProps:o}=e;return t?E.createElement(V,Object.assign({marginTop:8,gap:10,flexDirection:"column"},null==M?void 0:M.container),E.createElement(r.Text,Object.assign({maxLines:2},o,null==M?void 0:M.text),t.name),E.createElement(r.Text,Object.assign({},o,null==M?void 0:M.text),"(",Math.round(t.size/1024)," KB)")):null}),renderVideo:I=(e=>{var{selectedFile:t,thumbnailUrl:o,videoRef:i,videoProps:a,imageProps:n}=e;return E.createElement(r.View,Object.assign({width:"100%",height:"100%",position:"relative"},null==M?void 0:M.view),E.createElement(r.View,Object.assign({as:"video",width:"100%",height:"100%",src:t?URL.createObjectURL(t):void 0,style:{objectFit:"cover"},ref:i},a,null==M?void 0:M.view)),o&&E.createElement(r.Image,Object.assign({src:o,alt:"Video Thumbnail",width:"100%",height:"100%",objectFit:"cover"},n,null==M?void 0:M.image)))}),renderImage:S=(e=>{var{previewUrl:t,imageProps:o}=e;return E.createElement(r.Image,Object.assign({src:t,alt:"Preview",width:"100%",height:"100%",objectFit:"cover"},o,null==M?void 0:M.image))}),renderProgress:z=(e=>{var{progress:t,progressProps:o}=e;return E.createElement(r.Horizontal,Object.assign({gap:8,alignItems:"center"},o,null==M?void 0:M.horizontal),E.createElement(r.View,Object.assign({height:4,backgroundColor:"rgba(0,0,0,0.1)",width:"100%",borderRadius:2},null==M?void 0:M.view),E.createElement(r.View,Object.assign({height:4,width:t+"%",borderRadius:2,backgroundColor:"#000"},null==M?void 0:M.view))),E.createElement(r.Text,Object.assign({fontSize:12},null==M?void 0:M.text),t,"%"))}),views:M={}}=e,T=C||l;return E.createElement(V,Object.assign({onClick:g,cursor:"pointer",border:"1px solid rgba(0,0,0,0.1)",borderRadius:8,padding:16,flexDirection:"column",overflow:"hidden",position:"relative"},v,null==M?void 0:M.container),100===i&&"image"===y&&T&&S({previewUrl:T,imageProps:f}),100===i&&"video"===y&&s&&I({selectedFile:m,thumbnailUrl:s,videoRef:h,videoProps:w,imageProps:f}),100===i&&"file"===y&&m&&O({selectedFile:m,textProps:j}),i<100&&(a||E.createElement(no,Object.assign({widthHeight:32},x))),!m&&n&&H({text:n,textProps:j}),o&&z({progress:i,progressProps:p}),d&&k({errorMessage:d,errorMessageProps:b}),E.createElement(r.View,Object.assign({as:"input",type:"file",ref:c,onChange:u,accept:t,style:{display:"none"}},null==M?void 0:M.view)))},Jr=["accept","icon","text","maxSize","onFileSelect","validateFile","isLoading","progress"],Qr=w.create(e=>({modals:[],onHide:e=>e,onShow:(e,t)=>({name:e,props:t}),show:function(t,o,i){void 0===o&&(o={}),void 0===i&&(i={}),e(e=>Object.assign({},e,{modals:[...e.modals,{name:t,props:Object.assign({},o,{isVisible:!0}),overlayProps:i}]}))},hide:t=>{e(e=>t?Object.assign({},e,{modals:e.modals.filter(e=>e.name!==t)}):{modals:[]})},setOnHide:t=>{e(e=>Object.assign({},e,{onHide:t}))},setOnShow:t=>{e(e=>Object.assign({},e,{onShow:t}))}})),$r=e=>{console.log("hideModal",e),Qr.getState().onHide(e),Qr.getState().hide("string"==typeof e?e:void 0)},ea={sharp:{borderRadius:0},rounded:{borderRadius:4}},ta={center:{justifyContent:"center",alignItems:"center"},top:{justifyContent:"center"},right:{justifyContent:"flex-end",alignItems:"center"},bottom:{justifyContent:"center",alignItems:"flex-end"},left:{alignItems:"center"}},oa={xs:12,sm:16,md:20,lg:24,xl:28},ia=["children","blur","isOpen","isClosePrevented","onClose","position","views"],ra=["children","shadow","isFullScreen","shape","views"],aa=["children","buttonColor","iconSize","buttonPosition","views"],na=["children","views"],la=["children","views"],sa=e=>{var{children:t,blur:o,isOpen:i=!1,isClosePrevented:a=!1,onClose:n=(()=>{}),position:l="center",views:s}=e,d=j(e,ia),c=()=>{a||n()};return E.createElement(f.Center,Object.assign({position:"fixed",top:0,left:0,width:"100%",height:"100%",zIndex:1e3,onClick:c,visibility:i?"visible":"hidden"},null==s?void 0:s.container),E.createElement(r.View,Object.assign({position:"absolute",top:0,left:0,zIndex:1e3,width:"100vw",height:"100vh",display:"flex",backgroundColor:"color.blackAlpha.500",backdropFilter:o?"blur("+o+"px)":void 0,onClick:c},ta[l],d,null==s?void 0:s.view),t))},da=e=>{var{children:t}=e;return E.createElement(E.Fragment,null,t)};da.Overlay=sa,da.Container=e=>{var{children:t,shadow:o,isFullScreen:i=!1,shape:a="rounded",views:n}=e,l=j(e,ra),s=void 0!==typeof document?{boxShadow:"0px 2px 8px rgba(0, 0, 0, 0.3)"}:{elevation:5,shadowColor:"rgba(0, 0, 0, 0.3)",shadowOffset:{width:0,height:2},shadowOpacity:1,shadowRadius:8};return E.createElement(r.Vertical,Object.assign({cursor:"default",backgroundColor:"white",width:i?"100%":600,height:i?"100%":"fit-content",onClick:e=>{e&&e.stopPropagation&&e.stopPropagation()}},o||s,ea[a],l,null==n?void 0:n.container),t)},da.Header=e=>{var{children:t,buttonColor:o="theme.primary",iconSize:i="md",buttonPosition:a="right",views:n}=e,l=j(e,aa),s=E.createElement(ii,{onClick:l.onClose?l.onClose:$r,icon:E.createElement(ut,{widthHeight:oa[i],color:o}),padding:0,margin:0,filter:"none",width:0});return E.createElement(r.Horizontal,Object.assign({justifyContent:"none"===a?"center":"space-between",alignItems:"center",paddingVertical:15,paddingHorizontal:20},l,null==n?void 0:n.header),"left"===a&&s,t,"right"===a&&s)},da.Body=e=>{var{children:t,views:o}=e,i=j(e,na);return E.createElement(r.View,Object.assign({paddingVertical:15,paddingHorizontal:20},{borderBottomWidth:2,borderTopWidth:2,borderColor:"rgba(250, 250, 250, 1)",borderStyle:"solid"},i,null==o?void 0:o.view),t)},da.Footer=e=>{var{children:t,views:o}=e,i=j(e,la);return E.createElement(r.Horizontal,Object.assign({marginTop:"auto",alignItems:"center",justifyContent:"flex-end",paddingVertical:15,paddingHorizontal:20},i,null==o?void 0:o.container),t)},da.Layout=e=>{var{modals:t,onShow:i,onHide:r}=e,a=Qr(e=>e.modals);return i&&Qr.getState().setOnShow(i),r&&Qr.getState().setOnHide(r),0===a.length?null:E.createElement(o.Fragment,null,a.map((e,o)=>{var i=t[e.name];return i?E.createElement(sa,Object.assign({key:o,isOpen:e.props.isVisible,onClose:()=>$r(e.name),blur:5},e.overlayProps,{style:{zIndex:1e3+o}}),E.createElement(i,Object.assign({},e.props))):(console.error(e.name+" modal doesn't exist"),null)}))};var ca={},ha=o.createContext({views:ca,onRowClick:()=>{}}),ma=e=>{var{children:t,views:o=ca,onRowClick:i}=e;return E.createElement(ha.Provider,{value:{views:o,onRowClick:i}},t)},ua=()=>o.useContext(ha),ga=e=>{var{views:t}=ua();return E.createElement(r.Element,Object.assign({as:"table",borderCollapse:"collapse"},null==t?void 0:t.table,e))},va=e=>{var{views:t}=ua();return E.createElement(r.Element,Object.assign({as:"thead",borderBottom:"0.5px solid #ddd",textAlign:"left",color:"color.gray.400"},null==t?void 0:t.thead,e))},ba=e=>{var{views:t}=ua();return E.createElement(r.Element,Object.assign({as:"th",padding:"14px",whiteSpace:"nowrap",fontWeight:"500"},null==t?void 0:t.th,e))},pa=e=>{var{views:t,onRowClick:o}=ua();return E.createElement(r.Element,Object.assign({as:"tr"},null==t?void 0:t.tr,{onClick:o},e))},wa=e=>{var{views:t}=ua();return E.createElement(r.Element,Object.assign({as:"td",padding:"14px",whiteSpace:"nowrap",fontWeight:e.isFirstColumn?"400":"300"},null==t?void 0:t.td,e))},fa=e=>{var{views:t}=ua();return E.createElement(r.Element,Object.assign({as:"tbody"},null==t?void 0:t.tbody,e))},Ea=e=>{var{views:t}=ua();return E.createElement(r.Element,Object.assign({as:"tfoot"},null==t?void 0:t.tfoot,e))},xa=e=>{var{views:t}=ua();return E.createElement(r.Element,Object.assign({as:"caption",margin:"10px 0",color:"color.gray.400"},null==t?void 0:t.caption,e))},ja=e=>{var{children:t,views:o,onClick:i}=e;return E.createElement(ma,{views:o,onRowClick:i},t)};ja.Head=va,ja.HeadCell=ba,ja.Body=fa,ja.Row=pa,ja.Cell=wa,ja.Footer=Ea,ja.Caption=xa,ja.Container=ga,ja.Template=e=>{var{data:t,columns:o,footer:i,caption:r}=e;return E.createElement(ga,{role:"Table"},r&&E.createElement(xa,null,r),E.createElement(va,null,E.createElement(pa,null,o.map(e=>E.createElement(ba,{key:e.field},e.title)))),E.createElement(fa,null,t.map((e,t)=>E.createElement(pa,{key:t},o.map((t,o)=>E.createElement(wa,{key:t.field,isFirstColumn:0===o},e[t.field]))))),i&&E.createElement(Ea,null,E.createElement(pa,null,i.map((e,t)=>E.createElement(wa,Object.assign({key:t},e.props),e.value)))))};var ya=e=>{var{tabs:t=[],activeTab:o,handleTabClick:i,views:r={},renderTab:a,renderContent:n,iconPosition:l="left"}=e;return o?E.createElement(M,Object.assign({width:"100%",height:"100%"},r.container),E.createElement(W,Object.assign({},r.headerTabs),t.map(e=>{var t=e.title===o.title,n=()=>i(e);return a?a(e,t,n):E.createElement(ii,Object.assign({key:e.title,onClick:n,borderBottomLeftRadius:0,borderBottomRightRadius:0},r.tab,t?r.activeTab:{},{variant:t?"filled":"ghost",cursor:"pointer",iconPosition:l,icon:e.icon}),E.createElement(I,Object.assign({},r.title,t?r.activeText:{}),e.title))})),E.createElement(x,Object.assign({width:"100%",height:"100%"},r.content),n?n(o):o.content)):null},Ca=E.memo(e=>{var{tabs:t,views:i,initialTabValue:r,onTabChange:a,renderTab:n,renderContent:l}=e,{activeTab:s,setActiveTab:d}=((e,t)=>{var i=()=>{if(e&&0!==e.length){if(void 0!==t){var o=e.find(e=>e.title===t);if(o)return o;console.warn('Tabs: initialTabValue "'+t+'" not found in tabs. Defaulting to the first tab.')}return e[0]}},[r,a]=o.useState(i);return o.useEffect(()=>{var o=i(),n=r&&e.some(e=>e.title===r.title);o&&(!n||void 0!==t&&(null==r?void 0:r.title)!==t)?a(o):!o&&r&&a(void 0)},[e,t]),{activeTab:r,setActiveTab:a}})(t,r);return E.createElement(ya,{tabs:t,views:i,activeTab:s,handleTabClick:e=>{(null==s?void 0:s.title)!==e.title&&(d(e),a&&a(e))},renderTab:n,renderContent:l})}),ka=["children","shape","variant","isHovered","setIsHovered","isDisabled","isToggle","setIsToggled","onToggle","views"],Ha=e=>{var{children:t,shape:o="rounded",variant:i="ghost",isHovered:r,setIsHovered:a,isDisabled:n,isToggle:l,setIsToggled:s,onToggle:d,views:c}=e,h=j(e,ka),m=n?"theme.disabled":"color.trueGray.400",u=!(!l&&!r);return E.createElement(V,Object.assign({role:"Toggle",padding:"pillShaped"===o?"10px 12px":"8px",width:"fit-content",color:u?"color.white":m,backgroundColor:u?m:"transparent",onMouseEnter:()=>a(!r),onMouseLeave:()=>a(!1),cursor:n?"not-allowed":"pointer",borderRadius:"pillShaped"===o?"50px":"8px",onClick:()=>{n||s(e=>{var t=!e;return d&&d(t),t})}},{outline:{borderWidth:1,borderStyle:"solid",borderColor:"color.trueGray.400"},link:{borderWidth:1,borderStyle:"solid",borderColor:u?m:"transparent",textDecoration:"underline"},ghost:{}}[i],h,null==c?void 0:c.container),t)},Oa=["children","shape","variant","isDisabled","isToggled","onToggle"],Ia=e=>{var{children:t,shape:i,variant:r,isDisabled:a,isToggled:n=!1,onToggle:l}=e,s=j(e,Oa),{isHovered:d,setIsHovered:c,isToggle:h,setIsToggled:m}=(e=>{var[t,i]=o.useState(!1),[r,a]=o.useState(e);return{isHovered:t,setIsHovered:i,isToggle:r,setIsToggled:a}})(n);return o.useEffect(()=>{m(n)},[n]),E.createElement(Ha,Object.assign({shape:i,variant:r,isDisabled:a,isHovered:d,setIsHovered:c,isToggle:h,setIsToggled:m,onToggle:l},s),t)},Sa=e=>{var{items:t,onToggleChange:i,activeToggles:r,setActiveToggles:a,shape:n="rounded",variant:l="ghost",views:s}=e,d=o.useCallback((e,t)=>{a(o=>{var r;return r=t?o.includes(e)?o:[...o,e]:o.filter(t=>t!==e),null==i||i(r),r})},[i,a]);return E.createElement(W,Object.assign({role:"ToggleGroup",display:"flex",gap:5},null==s?void 0:s.container),t.map(e=>E.createElement(Ia,{role:"toggle-"+e.id,key:e.id,shape:n,variant:l,isToggled:r.includes(e.id)||e.isActive,onToggle:t=>d(e.id,t),isDisabled:e.isDisabled,views:null==s?void 0:s.toggle},e.value)))},za=e=>{var{items:t,renderItem:o,containerProps:i,itemProps:a,draggedIndex:n,itemRefs:l,handleDragStart:s,views:d}=e;return E.createElement(r.View,Object.assign({overflow:"hidden",position:"relative"},i,null==d?void 0:d.container),t.map((e,t)=>E.createElement(r.View,Object.assign({key:t,ref:e=>l.current[t]=e,onMouseDown:e=>s(e,t),onTouchStart:e=>s(e,t),position:"relative",cursor:"grab",transition:"transform 0.2s",backgroundColor:n===t?"color.gray.100":"transparent"},a,null==d?void 0:d.item),o?o(e,t):e)))},Ma=e=>{var{items:t,draggedIndex:i,itemRefs:r,handleDragStart:a}=(e=>{var{items:t,onChange:i}=e,[r,a]=o.useState(t),[n,l]=o.useState(null),[s,d]=o.useState(null),c=o.useRef({x:0,y:0}),h=o.useRef([]),m=o.useCallback((e,t)=>{e.preventDefault(),document.body.style.cursor="grabbing",c.current={x:"touches"in e?e.touches[0].clientX:e.clientX,y:"touches"in e?e.touches[0].clientY:e.clientY},d(t),l(r[t])},[r]),u=o.useCallback(e=>{if(null!==s){var t="touches"in e?e.touches[0].clientX:e.clientX,o="touches"in e?e.touches[0].clientY:e.clientY,n=h.current[s];if(n){n.style.transform="translate("+(t-c.current.x)+"px, "+(o-c.current.y)+"px)",n.style.zIndex="1000";var l=h.current.findIndex((e,t)=>{if(!e||t===s)return!1;var i=e.getBoundingClientRect();return o>=i.top&&o<=i.bottom});if(-1!==l&&l!==s){var m=[...r],[u]=m.splice(s,1);m.splice(l,0,u),a(m),d(l),null==i||i(m),c.current={x:t,y:o}}}}},[s,r,i]),g=o.useCallback(()=>{document.body.style.cursor="",h.current.forEach(e=>{e&&(e.style.transform="",e.style.zIndex="")}),d(null),l(null)},[s]);return o.useEffect(()=>(null!==s&&(window.addEventListener("mousemove",u),window.addEventListener("touchmove",u),window.addEventListener("mouseup",g),window.addEventListener("touchend",g)),()=>{window.removeEventListener("mousemove",u),window.removeEventListener("touchmove",u),window.removeEventListener("mouseup",g),window.removeEventListener("touchend",g)}),[s,u,g]),{items:r,draggedItem:n,draggedIndex:s,itemRefs:h,handleDragStart:m}})(e);return E.createElement(za,Object.assign({},e,{items:t,draggedIndex:i,itemRefs:r,handleDragStart:a}))},Ta=Ma,_a={top:e=>Object.assign({position:"absolute",bottom:"100%",marginBottom:"8px"},"start"===e&&{left:0},"center"===e&&{left:"50%",transform:"translateX(-50%)"},"end"===e&&{right:0}),right:e=>Object.assign({position:"absolute",left:"100%",marginLeft:"8px"},"start"===e&&{top:0},"center"===e&&{top:"50%",transform:"translateY(-50%)"},"end"===e&&{bottom:0}),bottom:e=>Object.assign({position:"absolute",top:"100%",marginTop:"8px"},"start"===e&&{left:0},"center"===e&&{left:"50%",transform:"translateX(-50%)"},"end"===e&&{right:0}),left:e=>Object.assign({position:"absolute",right:"100%",marginRight:"8px"},"start"===e&&{top:0},"center"===e&&{top:"50%",transform:"translateY(-50%)"},"end"===e&&{bottom:0})},Wa=["children","views"],La=["children","views","side","align"],Ra=o.createContext({isOpen:!1,setIsOpen:()=>{}}),Va=e=>{var{children:t,value:o}=e;return E.createElement(Ra.Provider,{value:o},t)},Ba=()=>{var e=o.useContext(Ra);if(!e)throw new Error("useHoverCardContext must be used within a HoverCardProvider");return e},Fa=["children","views"],Da=e=>{var{children:t,views:i}=e,a=j(e,Fa),{isOpen:n,setIsOpen:l}=(()=>{var[e,t]=o.useState(!1);return{isOpen:e,setIsOpen:t}})();return E.createElement(Va,{value:{isOpen:n,setIsOpen:l}},E.createElement(r.View,Object.assign({position:"relative",display:"inline-block"},null==i?void 0:i.container,a),t))};Da.Trigger=e=>{var{children:t,views:o}=e,i=j(e,Wa),{setIsOpen:a}=Ba();return E.createElement(r.View,Object.assign({position:"relative",display:"inline-block",onMouseEnter:()=>a(!0),onMouseLeave:()=>a(!1)},null==o?void 0:o.container,i),t)},Da.Content=e=>{var{children:t,views:o,side:i="bottom",align:a="center"}=e,n=j(e,La),{isOpen:l}=Ba();return l?E.createElement(r.View,Object.assign({backgroundColor:"white",borderRadius:"4px",boxShadow:"0px 2px 8px rgba(0, 0, 0, 0.15)",padding:"12px",minWidth:"200px",maxWidth:"300px",zIndex:1e3},_a[i](a),null==o?void 0:o.container,n),t):null},e.Alert=e=>{var{icon:t,title:o,views:i,description:r,variant:a}=e;return E.createElement(Ho,{icon:t,title:o,views:i,description:r,variant:a})},e.ArrowIcon=go,e.AspectRatio=e=>{var{ratio:t,children:o}=e,i=j(e,So);return E.createElement(Io,Object.assign({ratio:t},i),o)},e.Avatar=e=>{var{src:t,size:i,views:r,fallback:a,onClick:n}=e,{imageError:l,setImageError:s}=(()=>{var[e,t]=o.useState(!1);return{imageError:e,setImageError:t}})();return E.createElement(Mo,{src:t,size:i,views:r,fallback:a,imageError:l,setImageError:s,onClick:n})},e.Badge=e=>{var{content:t,shape:o,position:i,variant:r,size:a,views:n}=e;return E.createElement(Lo,{content:t,shape:o,position:i,variant:r,size:a,views:n})},e.BatteryIcon=Ot,e.BluetoothIcon=oo,e.BoldArrowIcon=uo,e.BookmarkIcon=It,e.Bottom=e=>E.createElement(r.View,Object.assign({marginTop:"auto"},e)),e.Button=ii,e.CalendarIcon=bo,e.CameraIcon=to,e.Center=V,e.CenterBase=R,e.Checkbox=e=>{var t=$i(e);return E.createElement(ir,Object.assign({},t,e))},e.ChevronIcon=at,e.ClockIcon=eo,e.CloseEyeIcon=so,e.CloseIcon=ut,e.CloudIcon=St,e.ComboBox=e=>{var{id:t,name:o,items:i,placeholder:r,searchPlaceholder:a}=e,n=j(e,Hr),l=yr(i,r,a);return E.createElement(kr,Object.assign({id:t,name:o,items:i},l,n))},e.CopyIcon=zt,e.CountryPicker=e=>{var t=ar(e);return E.createElement(vr,Object.assign({},t,e))},e.CropIcon=wo,e.DatePicker=e=>{var t=br();return E.createElement(fr,Object.assign({},t,e))},e.DownloadIcon=Wt,e.DragAndDrop=Ta,e.DragAndDropComponent=Ma,e.DragHandleIcon=nt,e.DustBinIcon=Mt,e.EditIcon=Tt,e.ErrorIcon=_t,e.ExternalLinkIcon=co,e.FacebookIcon=bt,e.FileIcon=lt,e.FileImage=e=>{var{path:t}=e,o=j(e,ai);return E.createElement(r.Image,Object.assign({src:t},o))},e.FileSVG=e=>{var{src:t,color:o,views:i}=e,a=j(e,ri),{getColor:n,themeMode:l}=r.useTheme(),s=o?{fill:n(o,{themeMode:l}),stroke:n(o,{themeMode:l})}:{};return E.createElement(V,Object.assign({},a,null==i?void 0:i.container),E.createElement(r.Image,Object.assign({},s,{content:'url("'+t+'")',width:"100%",height:"100%"},null==i?void 0:i.image)))},e.FilterIcon=At,e.FormikCheckbox=e=>{var t=zr(e),{value:o}=t,i=j(t,Mr);i.isChecked=o;var r=$i(e);return E.createElement(ir,Object.assign({},r,i))},e.FormikComboBox=e=>{var{items:t,placeholder:o,searchPlaceholder:i}=e,r=j(e,Lr),a=zr(r),n=yr(t,o,i);return E.createElement(kr,Object.assign({},n,a,{onSelect:e=>{a.onChange(e)}}))},e.FormikCountryPicker=e=>{var t=zr(e),o=ar(e);return E.createElement(vr,Object.assign({},o,t))},e.FormikDatePicker=e=>{var t=zr(e),o=br();return E.createElement(fr,Object.assign({},o,t))},e.FormikForm=e=>{var{children:t,autoFocus:i=!1,initFocus:a,onChange:n=(()=>{})}=e,l=j(e,Or),s=u.useFormikContext();o.useEffect(()=>{n(s.values)},[s.values]);var d=o.useRef({}),c=o.useRef([]),h=e=>{if(i){var t,o=c.current.indexOf(e)+1;o<c.current.length?null==(t=d.current[c.current[o]])||t.focus():s.onSubmit&&s.onSubmit(s.values)}},m={active:i,focusNextInput:h,setInputRef:(e,t)=>{d.current[e]=t,c.current.includes(e)||c.current.push(e)},handleSubmitEditing:h,getReturnKeyType:e=>c.current.indexOf(e)===c.current.length-1?"done":"next"};return o.useEffect(()=>{var e;if(i)if(a&&d.current[a])null==(e=d.current[a])||e.focus();else if(c.current[0]){var t;null==(t=d.current[c.current[0]])||t.focus()}},[i,a]),E.createElement(Ir.Provider,{value:m},E.createElement(r.Form,Object.assign({},l),t))},e.FormikPassword=e=>{var{visibleIcon:t=E.createElement(qt,{widthHeight:14}),hiddenIcon:o=E.createElement(so,{widthHeight:14})}=e,i=j(e,_r),a=zr(i),n=Er(a),{isVisible:l,setIsVisible:s}=n,d=j(n,Wr);return E.createElement(Qi,Object.assign({},d,{type:l?"text":"password",isClearable:!1,right:E.createElement(r.View,{onClick:()=>{i.isDisabled||s(!l)}},l?t:o)}))},e.FormikSelect=e=>{var t=zr(e);t.selected=t.value;var o=ni(e);return E.createElement(Bi,Object.assign({},o,t))},e.FormikSwitch=e=>{var t=zr(e),o=Fi(e);return E.createElement(Ni,Object.assign({},o,t))},e.FormikTextArea=e=>{var t=zr(e),o=Ki(e);return E.createElement(Yi,Object.assign({},o,t))},e.FormikTextField=e=>{var t=zr(e),o=j(qi(e),Tr);return E.createElement(Qi,Object.assign({},o,t))},e.HeartIcon=yt,e.HomeIcon=Gt,e.Horizontal=W,e.HorizontalBase=_,e.HoverCard=Da,e.Icon=Co,e.ImageIcon=dt,e.InfoIcon=Et,e.Inline=e=>E.createElement(r.View,Object.assign({display:"inline-flex",wordBreak:"break-word"},e)),e.InstagramIcon=gt,e.Left=e=>E.createElement(r.View,Object.assign({marginRight:"auto"},e)),e.LikeIcon=io,e.Link=Fo,e.LinkedinIcon=pt,e.Loader=$o,e.LocationIcon=Ut,e.LockIcon=Nt,e.MagicWandIcon=Ft,e.MenuIcon=Lt,e.MessageLayout=e=>{var{container:t,theme:o,position:i="topRight"}=e,{visible:r,title:a,variant:n,subtitle:l,isClosable:s,views:d,action:c,actionText:h,showIcon:m,timeout:u}=Nr(),g={topLeft:{top:6,left:8},topRight:{top:6,right:8},bottomLeft:{bottom:8,left:6},bottomRight:{bottom:8,right:6}}[i],v=()=>E.createElement(qr,{variant:n,subtitle:l,show:r,title:a,theme:o,isClosable:s,views:d,action:c,actionText:h,showIcon:m,timeout:u,hide:()=>Zr()}),b=t?E.cloneElement(t,{},v()):E.createElement(x,Object.assign({position:"absolute",zIndex:1e4},g),v());return r?b:null},e.MessageView=qr,e.MicrophoneIcon=Kt,e.MinusIcon=ft,e.Modal=da,e.MoonIcon=Zt,e.NotificationIcon=Yt,e.OpenEyeIcon=qt,e.PanelIcon=Pt,e.Password=e=>{var{visibleIcon:t=E.createElement(qt,{widthHeight:14}),hiddenIcon:o=E.createElement(so,{widthHeight:14})}=e,i=j(e,xr),a=Er(i),{isVisible:n,setIsVisible:l}=a,s=j(a,jr);return E.createElement(Qi,Object.assign({},s,{type:n?"text":"password",isClearable:!1,right:E.createElement(r.View,{onClick:()=>{i.isDisabled||l(!n)}},n?t:o)}))},e.PauseIcon=jt,e.PlayIcon=xt,e.PlusIcon=ho,e.PrintIcon=Bt,e.ProfileIcon=Xt,e.RefreshIcon=Vt,e.Right=e=>E.createElement(r.View,Object.assign({marginLeft:"auto"},e)),e.RotateIcon=yo,e.SaveIcon=kt,e.SearchIcon=lo,e.Select=e=>{var t=ni(e);return E.createElement(Bi,Object.assign({},t,e))},e.SettingsIcon=Jt,e.ShapeIcon=jo,e.ShareIcon=Rt,e.Slider=e=>{var t=(e=>{var t,{min:i=0,max:r=100,step:a=1,value:n=0,defaultValue:l,onChange:s,onDrag:d,orientation:c="horizontal",isDisabled:h=!1,stepValues:m}=e,u=Rr(null!=(t=null!=n?n:l)?t:i,i,r),[g,v]=o.useState(u),[b,p]=o.useState(!1),[w,f]=o.useState(!1),E=o.useRef(null),x=o.useRef(null),j=void 0!==n,y=j?n:g;o.useEffect(()=>{j&&v(Rr(n,i,r))},[n,j,i,r]);var C=o.useCallback(e=>{var t=Rr(e,i,r);j||v(t),s&&t!==y&&s(t),b&&d&&d(t)},[j,i,r,s,y,b,d]),k=o.useCallback(e=>{if(!h&&E.current){var t=E.current.getBoundingClientRect(),o=((e,t,o,i,r,a,n)=>{var l,s=i-o;if(l=Rr("horizontal"===a?(e-t.left)/t.width:(t.bottom-e)/t.height,0,1),n&&n.length>0){for(var d=o+l*s,c=n[0],h=Math.abs(d-c),m=1;m<n.length;m++){var u=Math.abs(d-n[m]);u<h&&(h=u,c=n[m])}return c}var g=Math.round((o+l*s)/r)*r;return Rr(g,o,i)})("touches"in e?"horizontal"===c?e.touches[0].clientX:e.touches[0].clientY:"horizontal"===c?e.clientX:e.clientY,t,i,r,a,c,m);C(o)}},[i,r,a,c,C,h,m]),H=o.useCallback(e=>{if(!h){e.preventDefault(),p(!0),k(e);var t=e=>{k(e)},o=()=>{p(!1),document.removeEventListener("mousemove",t),document.removeEventListener("mouseup",o),document.removeEventListener("touchmove",t),document.removeEventListener("touchend",o)};document.addEventListener("mousemove",t),document.addEventListener("mouseup",o),document.addEventListener("touchmove",t),document.addEventListener("touchend",o)}},[k,h]),O=o.useCallback(e=>{x.current&&x.current.contains(e.target)||H(e)},[H]),I=o.useCallback(e=>{if(!h){var t=y;switch(e.key){case"ArrowLeft":case"ArrowDown":t=y-a;break;case"ArrowRight":case"ArrowUp":t=y+a;break;case"Home":t=i;break;case"End":t=r;break;default:return}e.preventDefault(),C(t)}},[y,i,r,a,C,h]),S=r-i;return{currentValue:y,isDragging:b,isHovered:w,setIsHovered:f,trackRef:E,thumbRef:x,handleThumbMouseDown:H,handleTrackMouseDown:O,handleKeyDown:I,thumbPositionPercent:0===S?0:(y-i)/S*100}})(e);return E.createElement(Ur,Object.assign({},e,t))},e.SliderIcon=po,e.SliderVerticalIcon=Dt,e.SpinnerIcon=vo,e.StarIcon=Ct,e.SuccessIcon=Qt,e.Switch=e=>{var t=Fi(e);return E.createElement(Ni,Object.assign({},t,e))},e.Table=ja,e.Tabs=Ca,e.Text=I,e.TextArea=e=>{var t=Ki(e);return E.createElement(Yi,Object.assign({},t,e))},e.TextField=e=>{var t=qi(e);return E.createElement(Qi,Object.assign({},t,e))},e.TextIcon=xo,e.ThreadsIcon=wt,e.TickIcon=mo,e.Toggle=Ia,e.ToggleGroup=e=>{var{items:t,shape:i,variant:r,onToggleChange:a}=e,{activeToggles:n,setActiveToggles:l}=(()=>{var[e,t]=o.useState([]);return{activeToggles:e,setActiveToggles:t}})();return E.createElement(Sa,{items:t,shape:i,variant:r,activeToggles:n,setActiveToggles:l,onToggleChange:a})},e.Top=e=>E.createElement(r.View,Object.assign({marginBottom:"auto"},e)),e.TwitchIcon=mt,e.TwitterIcon=ct,e.UnLikeIcon=$t,e.UnlockIcon=ro,e.UploadIcon=no,e.Uploader=e=>{var{accept:t="*/*",icon:i,text:r,maxSize:a,onFileSelect:n,validateFile:l,isLoading:s=!1,progress:d=0}=e,c=j(e,Jr),{previewUrl:h,thumbnailUrl:m,errorMessage:u,videoRef:g,fileInputRef:v,selectedFile:b,handleFileChange:p,handleClick:w}=(e=>{var{maxSize:t=104857600,onFileSelect:i,validateFile:r,thumbnail:a,onError:n=(e=>{Kr("error","Error",e)})}=e,l=o.useRef(null),s=o.useRef(null),[d,c]=o.useState(null),[h,m]=o.useState(null),[u,g]=o.useState(null),[v,b]=o.useState(a||null),p=o.useCallback(e=>{var o,a=null==(o=e.target.files)?void 0:o[0];if(m(null),!a)return n("No file selected"),void m("No file selected");if(a.size>t)return n("File exceeds "+Math.round(t/1048576)+"MB."),void m("File exceeds "+Math.round(t/1048576)+"MB.");if(r){var l=r(a);if(l)return n(l),void m(l)}g(URL.createObjectURL(a)),a.type.startsWith("video/")&&((e,t)=>{var o=document.createElement("video");o.preload="metadata",o.onloadedmetadata=()=>{o.currentTime=1},o.oncanplay=()=>{var e=document.createElement("canvas");e.width=o.videoWidth,e.height=o.videoHeight;var i=e.getContext("2d");if(i){i.drawImage(o,0,0,e.width,e.height);var r=e.toDataURL("image/jpeg");t(r)}URL.revokeObjectURL(o.src)},o.src=URL.createObjectURL(e)})(a,b),i&&(c(a),i(a))},[t,i,r]);return o.useEffect(()=>()=>{u&&URL.revokeObjectURL(u),v&&URL.revokeObjectURL(v)},[u,v]),{previewUrl:u,thumbnailUrl:v,errorMessage:h,fileInputRef:l,videoRef:s,selectedFile:d,handleFileChange:p,handleClick:()=>{var e;return null==(e=l.current)?void 0:e.click()}}})({accept:t,maxSize:a,onFileSelect:n,validateFile:l});return E.createElement(Xr,Object.assign({handleClick:w,accept:t,isLoading:s,progress:d,icon:i,text:r,maxSize:a,onFileSelect:n,validateFile:l,errorMessage:u,handleFileChange:p,selectedFile:b,videoRef:g,fileInputRef:v,previewUrl:h,thumbnailUrl:m},c))},e.Vertical=M,e.VerticalBase=z,e.VideoIcon=st,e.View=x,e.WarningIcon=Ht,e.WifiIcon=ao,e.XIcon=ht,e.YoutubeIcon=vt,e.ZoomInIcon=fo,e.ZoomOutIcon=Eo,e.hideMessage=Zr,e.hideModal=$r,e.showMessage=Kr,e.showModal=function(e,t,o){void 0===t&&(t={}),void 0===o&&(o={}),Qr.getState().show(e,t,o),Qr.getState().onShow(e,t)},e.useMessageStore=Nr,e.useModalStore=Qr,Object.defineProperty(e,"__esModule",{value:!0})}));
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("core-js/modules/es.object.assign.js"),require("react"),require("core-js/modules/es.array.includes.js"),require("core-js/modules/es.array.iterator.js"),require("core-js/modules/es.string.includes.js"),require("core-js/modules/web.dom-collections.iterator.js"),require("core-js/modules/es.regexp.to-string.js"),require("app-studio"),require("core-js/modules/es.symbol.description.js"),require("core-js/modules/es.parse-float.js"),require("react-router-dom"),require("core-js/modules/es.promise.js"),require("core-js/modules/es.array.reduce.js"),require("core-js/modules/es.number.to-fixed.js"),require("core-js/modules/es.string.starts-with.js"),require("date-fns/format"),require("core-js/modules/es.parse-int.js"),require("core-js/modules/es.regexp.constructor.js"),require("core-js/modules/es.regexp.exec.js"),require("formik"),require("core-js/modules/web.url.js"),require("core-js/modules/web.url.to-json.js"),require("core-js/modules/web.url-search-params.js"),require("zustand"),require("src/components/Badge/Badge"),require("core-js/modules/es.string.ends-with.js"),require("core-js/modules/es.string.match.js"),require("core-js/modules/es.string.search.js"),require("core-js/modules/es.array.flat-map.js"),require("core-js/modules/es.array.unscopables.flat-map.js")):"function"==typeof define&&define.amd?define(["exports","core-js/modules/es.object.assign.js","react","core-js/modules/es.array.includes.js","core-js/modules/es.array.iterator.js","core-js/modules/es.string.includes.js","core-js/modules/web.dom-collections.iterator.js","core-js/modules/es.regexp.to-string.js","app-studio","core-js/modules/es.symbol.description.js","core-js/modules/es.parse-float.js","react-router-dom","core-js/modules/es.promise.js","core-js/modules/es.array.reduce.js","core-js/modules/es.number.to-fixed.js","core-js/modules/es.string.starts-with.js","date-fns/format","core-js/modules/es.parse-int.js","core-js/modules/es.regexp.constructor.js","core-js/modules/es.regexp.exec.js","formik","core-js/modules/web.url.js","core-js/modules/web.url.to-json.js","core-js/modules/web.url-search-params.js","zustand","src/components/Badge/Badge","core-js/modules/es.string.ends-with.js","core-js/modules/es.string.match.js","core-js/modules/es.string.search.js","core-js/modules/es.array.flat-map.js","core-js/modules/es.array.unscopables.flat-map.js"],t):t((e=e||self)["@app-studio/web"]={},0,e.React,0,0,0,0,0,e.appStudio,0,0,e.reactRouterDom,0,0,0,0,e.format,0,0,0,e.formik,0,0,0,e.zustand)}(this,(function(e,t,o,r,i,n,a,l,s,d,c,u,h,g,m,p,v,b,x,f,w,E,y,C,j,k){"use strict";var I="default"in o?o.default:o;function O(e,t){if(null==e)return{};var o={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;o[r]=e[r]}return o}v=v&&Object.prototype.hasOwnProperty.call(v,"default")?v.default:v;var S=function(e){return void 0===e&&(e="id"),e+"-"+Math.random().toString(36).substring(2,9)},z={sharp:{borderRadius:0},rounded:{borderRadius:8}},H={default:{backgroundColor:"transparent",borderWidth:0},outline:{borderWidth:1,borderStyle:"solid",borderColor:"color.gray.200"},filled:{backgroundColor:"color.gray.50"}},M=["value","children","isDisabled","views"],T=["children","value","isExpanded","isDisabled","triggerId","contentId","views","asChild"],W=["children","isExpanded","isDisabled","triggerId","contentId","views"],R=["children","shape","variant","views","baseId","type","collapsible"],V=o.createContext({expandedItems:[],toggleItem:()=>{},isItemExpanded:()=>!1,type:"single",collapsible:!1,baseId:""}),L=e=>{var{children:t,value:o}=e;return I.createElement(V.Provider,{value:o},t)},B=()=>{var e=o.useContext(V);if(!e)throw new Error("useAccordionContext must be used within an AccordionProvider");return e},P=e=>{var{children:t,shape:o="rounded",variant:r="default",views:i}=e,n=O(e,R);return I.createElement(s.Vertical,Object.assign({width:"100%","data-orientation":"vertical"},z[o],H[r],null==i?void 0:i.container,n),t)},_=["children","type","value","defaultValue","onValueChange","collapsible","shape","variant","views"],D=e=>{var{children:t,type:r="single",value:i,defaultValue:n,onValueChange:a,collapsible:l=!1,shape:s="rounded",variant:d="default",views:c}=e,u=O(e,_),h=Array.isArray(n)?n:n?[n]:void 0,g=(e=>{var{type:t="single",value:r,defaultValue:i,onValueChange:n,collapsible:a=!1}=e,l=void 0!==r,s=null!=r?r:i,[d,c]=o.useState("multiple"===t?Array.isArray(s)?s:s?[s]:[]:Array.isArray(s)?s[0]:s),u=o.useMemo(()=>S("accordion"),[]),h=l?r:d,g=o.useMemo(()=>void 0===h?[]:Array.isArray(h)?h:[h],[h]);o.useEffect(()=>{l&&("multiple"!==t||Array.isArray(r)?"single"===t&&Array.isArray(r)?(console.warn('Accordion with type="single" received array value:',r),c(r.length>0?r[0]:void 0)):c(r):(console.warn('Accordion with type="multiple" received non-array value:',r),c(r?[String(r)]:[])))},[r,l,t]);var m=o.useCallback(e=>{var o;if("single"===t)o=h===e&&a?void 0:h!==e?e:h;else{var r=Array.isArray(h)?h:[];o=r.includes(e)?r.filter(t=>t!==e):[...r,e],Array.isArray(o)&&0===o.length&&(o=[])}l||c(o),n&&n(o)},[t,h,a,l,n]),p=o.useCallback(e=>g.includes(e),[g]);return{expandedItems:g,toggleItem:m,isItemExpanded:p,type:t,collapsible:a,baseId:u}})({type:r,value:i,defaultValue:null!=n?n:h,onValueChange:a,collapsible:l});return I.createElement(L,{value:{expandedItems:g.expandedItems,toggleItem:g.toggleItem,isItemExpanded:g.isItemExpanded,type:g.type,collapsible:g.collapsible,baseId:g.baseId}},I.createElement(P,Object.assign({shape:s,variant:d,views:c,baseId:g.baseId,type:g.type,collapsible:g.collapsible},u),t))};D.Item=e=>{var{value:t,children:o,isDisabled:r=!1,views:i}=e,n=O(e,M),{isItemExpanded:a,baseId:l}=B(),d=a(t),c=l+"-trigger-"+t,u=l+"-content-"+t;return I.createElement(s.View,Object.assign({borderWidth:1,borderStyle:"solid",borderColor:"color.gray.200",marginBottom:8,overflow:"hidden",opacity:r?.5:1,pointerEvents:r?"none":"auto","data-state":d?"open":"closed","data-disabled":r?"":void 0},null==i?void 0:i.item,n),I.Children.map(o,e=>I.isValidElement(e)?I.cloneElement(e,Object.assign({},e.props,{value:t,isExpanded:d,isDisabled:r,triggerId:c,contentId:u})):e))},D.Trigger=e=>{var{children:t,value:r,isExpanded:i,isDisabled:n,triggerId:a,contentId:l,views:d,asChild:c=!1}=e,u=O(e,T),{toggleItem:h}=B(),g=Object.assign({id:a,"aria-expanded":i,"aria-controls":l,"aria-disabled":n,"data-state":i?"open":"closed","data-disabled":n?"":void 0,onClick:()=>{r&&!n&&h(r)},padding:16,cursor:n?"not-allowed":"pointer",alignItems:"center",justifyContent:"space-between",backgroundColor:"color.white",width:"100%"},null==d?void 0:d.container,u);if(c&&o.isValidElement(t)){var m=o.Children.only(t);return o.cloneElement(m,Object.assign({},g,m.props))}return I.createElement(s.Horizontal,Object.assign({},g),t,I.createElement(s.View,Object.assign({width:24,height:24,display:"flex",alignItems:"center",justifyContent:"center",transition:"transform 0.2s ease",transform:i?"rotate(180deg)":"rotate(0deg)"},null==d?void 0:d.icon),I.createElement("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},I.createElement("path",{d:"M16.59 8.59L12 13.17L7.41 8.59L6 10L12 16L18 10L16.59 8.59Z",fill:"currentColor"}))))},D.Content=e=>{var{children:t,isExpanded:o,isDisabled:r,triggerId:i,contentId:n,views:a}=e,l=O(e,W);return o?I.createElement(s.View,Object.assign({id:n,role:"region","aria-labelledby":i,padding:16,backgroundColor:"color.white",maxHeight:o?"1000px":"0",transition:"max-height 0.3s ease-in-out, opacity 0.3s ease-in-out",opacity:1,overflow:"hidden","data-state":o?"open":"closed","data-disabled":r?"":void 0},null==a?void 0:a.container,l),t):null};var F={h1:{fontSize:"36px",lineHeight:"40px",fontWeight:"700",letterSpacing:"-0.02em",marginBottom:"24px"},h2:{fontSize:"30px",lineHeight:"36px",fontWeight:"700",letterSpacing:"-0.02em",marginBottom:"20px"},h3:{fontSize:"24px",lineHeight:"32px",fontWeight:"600",letterSpacing:"-0.01em",marginBottom:"16px"},h4:{fontSize:"20px",lineHeight:"28px",fontWeight:"600",letterSpacing:"-0.01em",marginBottom:"16px"},h5:{fontSize:"18px",lineHeight:"24px",fontWeight:"600",letterSpacing:"-0.01em",marginBottom:"12px"},h6:{fontSize:"16px",lineHeight:"24px",fontWeight:"600",letterSpacing:"-0.01em",marginBottom:"8px"}},A={xs:"12px",sm:"14px",md:"16px",lg:"18px",xl:"20px","2xl":"24px","3xl":"30px","4xl":"36px","5xl":"48px","6xl":"60px"},G={xs:"16px",sm:"20px",md:"24px",lg:"28px",xl:"28px","2xl":"32px","3xl":"36px","4xl":"40px","5xl":"60px","6xl":"72px"},N={hairline:"100",thin:"200",light:"300",normal:"400",medium:"500",semiBold:"600",bold:"700",extraBold:"800",black:"900"},U=["children","heading","maxLines","isItalic","isUnderlined","isSub","isSup","isStriked","weight","size","views"],Y=e=>{var{children:t,isSub:o,isSup:r,views:i}=e;return I.createElement(I.Fragment,null,"string"==typeof t?I.createElement(I.Fragment,null,o&&I.createElement(s.View,Object.assign({as:"sub",fontSize:"75%",lineHeight:"0",position:"relative",bottom:"-0.25em"},null==i?void 0:i.sup),t),r&&I.createElement(s.View,Object.assign({as:"sup",fontSize:"75%",lineHeight:"0",position:"relative",top:"-0.5em"},null==i?void 0:i.sup),t),!o&&!r&&I.createElement(I.Fragment,null,t)):t)},K=e=>{var{text:t,maxLines:r=1,views:i}=e,n=o.useRef(null),[a,l]=o.useState(t.length);o.useEffect(()=>{var e=n.current;e&&(()=>{for(var o,i=getComputedStyle(e).lineHeight,n=("normal"!==i?parseFloat(i):20)*r,a=0,s=t.length;a<=s;)o=Math.floor((a+s)/2),e.innerText=t.substring(0,o)+"...",e.offsetHeight>n?s=o-1:a=o+1;l(s)})()},[t,r]);var d=t.length>a?t.substring(0,a)+"...":t;return I.createElement(s.View,Object.assign({ref:n,overflow:"hidden",textOverflow:"ellipsis"},null==i?void 0:i.truncateText),d)},X=e=>{var{children:t,heading:o,maxLines:r,isItalic:i=!1,isUnderlined:n=!1,isSub:a=!1,isSup:l=!1,isStriked:d=!1,weight:c="normal",size:u="md",views:h}=e,g=O(e,U);return I.createElement(s.Element,Object.assign({fontSize:A[u],lineHeight:G[u],fontStyle:i?"italic":"normal",fontWeight:N[c],letterSpacing:"-0.01em",textDecoration:d?"line-through":n?"underline":"none",color:"color.gray.900",_dark:{color:"color.gray.100"}},a||l?{display:"inline"}:{},o?F[o]:{},g,null==h?void 0:h.container),r&&"string"==typeof t?I.createElement(K,{text:t,maxLines:r}):I.createElement(Y,{isSub:a,isSup:l},t))},q=e=>I.createElement(X,Object.assign({},e)),Z=["widthHeight","color","transform","orientation","children"],J=["widthHeight","color","filled","strokeWidth"],Q=["widthHeight","color","filled","strokeWidth"],$=["widthHeight","color","filled","strokeWidth"],ee=["widthHeight","color","filled","strokeWidth"],te=["widthHeight","color","filled","strokeWidth"],oe=["widthHeight","color","filled","strokeWidth"],re=["widthHeight","color","filled","strokeWidth"],ie=["widthHeight","color","filled","strokeWidth"],ne=["widthHeight","color","filled","strokeWidth"],ae=["widthHeight","color","filled","strokeWidth"],le=["widthHeight","color","filled","strokeWidth"],se=["widthHeight","color","filled","strokeWidth"],de=["widthHeight","color","filled","strokeWidth"],ce=["widthHeight","color","filled","strokeWidth"],ue=["widthHeight","color","filled","strokeWidth"],he=["widthHeight","color","filled","strokeWidth"],ge=["widthHeight","color","filled","strokeWidth"],me=["widthHeight","color","filled","strokeWidth"],pe=["widthHeight","color","filled","strokeWidth"],ve=["widthHeight","color","filled","strokeWidth"],be=["widthHeight","color","filled","strokeWidth"],xe=["widthHeight","color","filled","strokeWidth"],fe=["widthHeight","color","filled","strokeWidth"],we=["widthHeight","color","filled","strokeWidth"],Ee=["widthHeight","color","filled","strokeWidth"],ye=["widthHeight","color","filled","strokeWidth"],Ce=["widthHeight","color","filled","strokeWidth"],je=["widthHeight","color","filled","strokeWidth"],ke=["widthHeight","color","filled","strokeWidth"],Ie=["widthHeight","color","filled","strokeWidth"],Oe=["widthHeight","color","strokeWidth","filled"],Se=["widthHeight","color","filled","strokeWidth"],ze=["widthHeight","color","strokeWidth","filled"],He=["widthHeight","color","filled","strokeWidth"],Me=["widthHeight","color","strokeWidth","filled"],Te=["widthHeight","color","filled","strokeWidth"],We=["widthHeight","color","strokeWidth","filled"],Re=["widthHeight","color","strokeWidth","filled"],Ve=["widthHeight","color","strokeWidth","filled"],Le=["widthHeight","color","filled","strokeWidth"],Be=["widthHeight","color","filled","strokeWidth"],Pe=["widthHeight","color","filled","strokeWidth"],_e=["widthHeight","color","filled","strokeWidth"],De=["widthHeight","color","filled","strokeWidth"],Fe=["widthHeight","color","filled","strokeWidth"],Ae=["widthHeight","color","filled","strokeWidth"],Ge=["widthHeight","color","filled","strokeWidth"],Ne=["widthHeight","color","filled","strokeWidth"],Ue=["widthHeight","color","filled","strokeWidth"],Ye=["widthHeight","color","filled","strokeWidth"],Ke=["widthHeight","color","filled","strokeWidth"],Xe=["widthHeight","color","strokeWidth","filled"],qe=["widthHeight","color","strokeWidth","filled"],Ze=["widthHeight","color","filled","strokeWidth"],Je=["widthHeight","color","filled","strokeWidth"],Qe=["widthHeight","color","filled","strokeWidth"],$e=["widthHeight","color","filled","strokeWidth"],et=["widthHeight","color","filled","strokeWidth"],tt=["widthHeight","color","filled","strokeWidth"],ot=["widthHeight","color","filled","strokeWidth"],rt=["widthHeight","color","filled","strokeWidth"],it=["widthHeight","color","filled","strokeWidth"],nt=["widthHeight","color","filled","strokeWidth"],at=["widthHeight","color","filled","strokeWidth"],lt=["widthHeight","color","filled","strokeWidth"],st=["widthHeight","color","filled","strokeWidth"],dt=["widthHeight","color","strokeWidth","filled"],ct=["widthHeight","color","strokeWidth","filled"],ut=["widthHeight","color","strokeWidth","filled"],ht=["widthHeight","color","strokeWidth","filled"],gt=["widthHeight","color","strokeWidth","filled"],mt=["widthHeight","color","strokeWidth","filled"],pt=["widthHeight","color","strokeWidth","filled"],vt=["widthHeight","color","strokeWidth","filled"],bt=["widthHeight","color","strokeWidth","filled"],xt=["widthHeight","color","strokeWidth","filled"],ft=e=>{var{widthHeight:t,color:o="black",transform:r,orientation:i="up",children:n}=e,a=O(e,Z);return I.createElement(s.Center,Object.assign({widthHeight:t,lineHeight:t,color:o,display:"flex",transform:r||("left"===i?"rotate(-90deg)":"right"===i?"rotate(90deg)":"up"===i?"rotate(0deg)":"down"===i?"rotate(180deg)":"none")},a),n)},wt=(e,t,o)=>({fill:e?t:"none",stroke:e?"none":t,strokeWidth:o,strokeLinecap:"round",strokeLinejoin:"round"}),Et=e=>{var{widthHeight:t=24,color:o="currentColor",filled:r=!0,strokeWidth:i=1}=e,n=O(e,J);return I.createElement(ft,Object.assign({widthHeight:t,color:o},n),I.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"true",focusable:"false"},wt(r,o,i)),I.createElement("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"})))},yt=e=>{var{widthHeight:t=24,color:o="currentColor",filled:r=!0,strokeWidth:i=1}=e,n=O(e,Q);return I.createElement(ft,Object.assign({widthHeight:t,color:o},n),I.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"true",focusable:"false"},wt(r,o,i)),I.createElement("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"})))},Ct=e=>{var{widthHeight:t=24,color:o="currentColor",filled:r=!0,strokeWidth:i=1}=e,n=O(e,$);return I.createElement(ft,Object.assign({widthHeight:t,color:o},n),I.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"true",focusable:"false"},wt(r,o,i)),I.createElement("path",{d:"M12.771 7.115a.829.829 0 0 0-1.2 0L3 15.686l1.2 1.2 7.971-7.971 7.972 7.971 1.2-1.2-8.572-8.571Z"})))},jt=e=>{var{widthHeight:t=24,color:o="currentColor",filled:r=!0,strokeWidth:i=1}=e,n=O(e,ee);return I.createElement(ft,Object.assign({widthHeight:t,color:o},n),I.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"true",focusable:"false"},wt(r,o,i)),I.createElement("g",null,I.createElement("circle",{cx:"9",cy:"6",r:"2"}),I.createElement("circle",{cx:"9",cy:"12",r:"2"}),I.createElement("circle",{cx:"9",cy:"18",r:"2"}),I.createElement("circle",{cx:"15",cy:"6",r:"2"}),I.createElement("circle",{cx:"15",cy:"12",r:"2"}),I.createElement("circle",{cx:"15",cy:"18",r:"2"}))))},kt=e=>{var{widthHeight:t=24,color:o="currentColor",filled:r=!0,strokeWidth:i=1}=e,n=O(e,te);return I.createElement(ft,Object.assign({widthHeight:t,color:o},n),I.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"true",focusable:"false"},wt(r,o,i)),I.createElement("path",{d:"M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8l-6-6z",fill:r?o:"none",stroke:r?"none":o,strokeWidth:r?0:i}),I.createElement("polyline",{points:"14 2 14 8 20 8",fill:"none",stroke:o,strokeWidth:i})))},It=e=>{var{widthHeight:t=24,color:o="currentColor",filled:r=!0,strokeWidth:i=1}=e,n=O(e,oe);return I.createElement(ft,Object.assign({widthHeight:t,color:o},n),I.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"true",focusable:"false"},wt(r,o,i)),I.createElement("rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",ry:"2",fill:r?o:"none",stroke:r?"none":o,strokeWidth:r?0:i}),I.createElement("polygon",{points:"10 8 16 12 10 16 10 8",fill:r?r?"white":o:"none",stroke:r?"none":o,strokeWidth:r?0:i})))},Ot=e=>{var{widthHeight:t=24,color:o="currentColor",filled:r=!0,strokeWidth:i=1}=e,n=O(e,re);return I.createElement(ft,Object.assign({widthHeight:t,color:o},n),I.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"true",focusable:"false"},wt(r,o,i)),I.createElement("rect",{x:"2",y:"2",width:"20",height:"20",rx:"2",ry:"2",fill:r?o:"none",stroke:r?"none":o,strokeWidth:r?0:i}),I.createElement("circle",{cx:"8.5",cy:"8.5",r:"1.5",fill:r?r?"white":o:"none",stroke:r?"none":o,strokeWidth:r?0:i}),I.createElement("polyline",{points:"21 15 16 10 5 21",fill:"none",stroke:r?"white":o,strokeWidth:i})))},St=e=>{var{widthHeight:t=24,color:o="currentColor",filled:r=!0,strokeWidth:i=1}=e,n=O(e,ie);return I.createElement(ft,Object.assign({widthHeight:t,color:o},n),I.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"true",focusable:"false"},wt(r,o,i)),I.createElement("path",{d:"M22.46 6.01c-.83.37-1.72.62-2.65.74a4.6 4.6 0 0 0 2.01-2.54 9.2 9.2 0 0 1-2.91 1.11 4.54 4.54 0 0 0-7.75 4.14A12.86 12.86 0 0 1 3.15 4.47a4.54 4.54 0 0 0 1.4 6.06 4.5 4.5 0 0 1-2.06-.57v.06a4.54 4.54 0 0 0 3.64 4.45 4.61 4.61 0 0 1-2.05.08 4.54 4.54 0 0 0 4.23 3.15 9.12 9.12 0 0 1-5.64 1.94c-.37 0-.74-.02-1.1-.07A12.86 12.86 0 0 0 8.21 21c8.38 0 12.96-6.94 12.96-12.96 0-.2 0-.4-.01-.6a9.28 9.28 0 0 0 2.3-2.37z",fill:r?o:"none",stroke:r?"none":o,strokeWidth:r?0:i})))},zt=e=>{var{widthHeight:t=24,color:o="currentColor",filled:r=!0,strokeWidth:i=1}=e,n=O(e,ne);return I.createElement(ft,Object.assign({widthHeight:t,color:o},n),I.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"true",focusable:"false"},wt(r,o,i)),I.createElement("path",{d:"M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z",fill:r?o:"none",stroke:o,strokeWidth:i})))},Ht=e=>{var{widthHeight:t=24,color:o="currentColor",filled:r=!0,strokeWidth:i=1}=e,n=O(e,ae);return I.createElement(ft,Object.assign({widthHeight:t,color:o},n),I.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"true",focusable:"false"},wt(r,o,i)),I.createElement("path",{d:"M2 2v16h5v4l4-4h5l6-6V2H2zm18 10-3 3h-5l-3 3v-3H4V4h16v8z",fill:r?o:"none",stroke:o,strokeWidth:r?0:i}),I.createElement("path",{d:"M14 7h2v5h-2V7zm-4 0h2v5H10V7z",fill:r?o:"none",stroke:o,strokeWidth:r?0:i})))},Mt=e=>{var{widthHeight:t=24,color:o="currentColor",filled:r=!1,strokeWidth:i=1}=e,n=O(e,le);return I.createElement(ft,Object.assign({widthHeight:t,color:o},n),I.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"true",focusable:"false"},wt(r,o,i)),I.createElement("line",{stroke:o,x1:"18",y1:"6",x2:"6",y2:"18"}),I.createElement("line",{stroke:o,x1:"6",y1:"6",x2:"18",y2:"18"})))},Tt=e=>{var{widthHeight:t=24,color:o="currentColor",filled:r=!1,strokeWidth:i=1}=e,n=O(e,se);return I.createElement(ft,Object.assign({widthHeight:t,color:o},n),I.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"true",focusable:"false"},wt(r,o,i)),I.createElement("rect",{x:"2",y:"2",width:"20",height:"20",rx:"5",ry:"5"}),I.createElement("path",{d:"M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z"}),I.createElement("line",{x1:"17.5",y1:"6.5",x2:"17.51",y2:"6.5"})))},Wt=e=>{var{widthHeight:t=24,color:o="currentColor",filled:r=!0,strokeWidth:i=1}=e,n=O(e,de);return I.createElement(ft,Object.assign({widthHeight:t,color:o},n),I.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"true",focusable:"false"},wt(r,o,i)),I.createElement("path",{d:"M21.8 8.001A2.8 2.8 0 0 0 19 5.2C17.793 5 12 5 12 5s-5.793 0-7 0.2a2.8 2.8 0 0 0-2.8 2.8c-0.2 1.207-0.2 3-0.2 3s0 1.793 0.2 3a2.8 2.8 0 0 0 2.8 2.8c1.207 0.2 7 0.2 7 0.2s5.793 0 7-0.2a2.8 2.8 0 0 0 2.8-2.8c0.2-1.207 0.2-3 0.2-3s0-1.793-0.2-3z",fill:r?o:"none",stroke:r?"none":o,strokeWidth:r?0:i}),I.createElement("polygon",{points:"10 8 10 14 14 10",fill:"white",stroke:"white",strokeWidth:i})))},Rt=e=>{var{widthHeight:t=24,color:o="currentColor",filled:r=!0,strokeWidth:i=1}=e,n=O(e,ce);return I.createElement(ft,Object.assign({widthHeight:t,color:o},n),I.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"true",focusable:"false"},wt(r,o,i)),I.createElement("path",{d:"M22 2H2v20h10v-7h-2v-3h2V9.5a4 4 0 0 1 4-4h3v3h-3a1 1 0 0 0-1 1V12h4l-1 3h-3v7h6V2z",fill:r?o:"none",stroke:o,strokeWidth:r?0:i})))},Vt=e=>{var{widthHeight:t=24,color:o="currentColor",filled:r=!0,strokeWidth:i=1}=e,n=O(e,ue);return I.createElement(ft,Object.assign({widthHeight:t,color:o},n),I.createElement("svg",Object.assign({viewBox:"0 0 24 24"},wt(r,o,i)),I.createElement("path",{d:"M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-2-2 2 2 0 0 0-2 2v7h-4v-7a6 6 0 0 1 6-6z"}),I.createElement("rect",{x:"2",y:"9",width:"4",height:"12"}),I.createElement("circle",{cx:"4",cy:"4",r:"2"})))},Lt=e=>{var{widthHeight:t=24,color:o="currentColor",filled:r=!1,strokeWidth:i=1}=e,n=O(e,he);return I.createElement(ft,Object.assign({widthHeight:t,color:o},n),I.createElement("svg",Object.assign({viewBox:"0 0 24 24"},wt(r,o,i)),I.createElement("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),I.createElement("path",{d:"M19 7.5c-1.333 -3 -3.667 -4.5 -7 -4.5c-5 0 -8 2.5 -8 9s3.5 9 8 9s7 -3 7\n -5s-1 -5 -7 -5c-2.5 0 -3 1.25 -3 2.5c0 1.5 1 2.5 2.5 2.5c2.5 0 3.5 -1.5\n 3.5 -5s-2 -4 -3 -4s-1.833 .333 -2.5 1"})))},Bt=e=>{var{widthHeight:t=24,color:o="currentColor",filled:r=!1,strokeWidth:i=1}=e,n=O(e,ge);return I.createElement(ft,Object.assign({widthHeight:t,color:o},n),I.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"true",focusable:"false"},wt(r,o,i)),I.createElement("line",{stroke:o,x1:"8",y1:"12",x2:"16",y2:"12"})))},Pt=e=>{var{widthHeight:t=24,color:o="currentColor",filled:r=!1,strokeWidth:i=1}=e,n=O(e,me);return I.createElement(ft,Object.assign({widthHeight:t,color:o},n,{"aria-label":"Information"}),I.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},wt(r,o,i)),I.createElement("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z"})))},_t=e=>{var{widthHeight:t=24,color:o="currentColor",filled:r=!0,strokeWidth:i=1}=e,n=O(e,pe);return I.createElement(ft,Object.assign({widthHeight:t,color:o},n),I.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},wt(r,o,i)),I.createElement("path",{d:"M8 5v14l11-7z"})))},Dt=e=>{var{widthHeight:t=24,color:o="currentColor",filled:r=!0,strokeWidth:i=1}=e,n=O(e,ve);return I.createElement(ft,Object.assign({widthHeight:t,color:o},n),I.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},wt(r,o,i)),I.createElement("path",{d:"M6 4h4v16H6V4zm8 0h4v16h-4V4z"})))},Ft=e=>{var{widthHeight:t=24,color:o="currentColor",filled:r=!0,strokeWidth:i=1}=e,n=O(e,be);return I.createElement(ft,Object.assign({widthHeight:t,color:o},n),I.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},wt(r,o,i)),I.createElement("path",{d:"M20.84 4.61c-1.54-1.56-4.04-1.56-5.59 0l-.7.72-.7-.72a3.95 3.95 0 0 0-5.59 0c-1.56 1.56-1.56 4.09 0 5.66l6.29 6.36 6.29-6.36c1.56-1.56 1.56-4.09 0-5.66z"})))},At=e=>{var{widthHeight:t=24,color:o="currentColor",filled:r=!0,strokeWidth:i=1}=e,n=O(e,xe);return I.createElement(ft,Object.assign({widthHeight:t,color:o},n),I.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},wt(r,o,i)),I.createElement("polygon",{points:"12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2"})))},Gt=e=>{var{widthHeight:t=24,color:o="currentColor",filled:r=!1,strokeWidth:i=1}=e,n=O(e,fe);return I.createElement(ft,Object.assign({widthHeight:t,color:o},n),I.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},wt(r,o,i)),I.createElement("path",{d:"M19 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h11l5 5v11a2 2 0 0 1-2 2z"}),I.createElement("polyline",{points:"17 21 17 13 7 13 7 21"}),I.createElement("polyline",{points:"7 3 7 8 15 8"})))},Nt=e=>{var{widthHeight:t=24,color:o="currentColor",filled:r=!1,strokeWidth:i=1}=e,n=O(e,we);return I.createElement(ft,Object.assign({widthHeight:t,color:o},n),I.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},wt(r,o,i)),I.createElement("path",{d:"M10.29 3.86l-6.6 11.4c-.78 1.36.2 3.1 1.71 3.1h13.2c1.51 0 2.49-1.74 1.71-3.1l-6.6-11.4a2 2 0 0 0-3.42 0z"}),I.createElement("line",{stroke:o,x1:"12",y1:"6",x2:"12",y2:"13"}),I.createElement("line",{stroke:o,x1:"12",y1:"15",x2:"12",y2:"15"})))},Ut=e=>{var{widthHeight:t=24,color:o="currentColor",filled:r=!0,strokeWidth:i=1}=e,n=O(e,Ee);return I.createElement(ft,Object.assign({widthHeight:t,color:o},n),I.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},wt(r,o,i)),I.createElement("path",{d:"M15.67 4H14V2h-4v2H8.33C7.6 4 7 4.6 7 5.33v15.33C7 21.4 7.6 22 8.33 22h7.33c.74 0 1.34-.6 1.34-1.33V5.33C17 4.6 16.4 4 15.67 4z"})))},Yt=e=>{var{widthHeight:t=24,color:o="currentColor",filled:r=!1,strokeWidth:i=1}=e,n=O(e,ye);return I.createElement(ft,Object.assign({widthHeight:t,color:o},n),I.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},wt(r,o,i)),I.createElement("path",{d:"M17 3H7c-1.1 0-2 .9-2 2v16l7-3 7 3V5c0-1.1-.9-2-2-2z"})))},Kt=e=>{var{widthHeight:t=24,color:o="currentColor",filled:r=!0,strokeWidth:i=1}=e,n=O(e,Ce);return I.createElement(ft,Object.assign({widthHeight:t,color:o},n),I.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},wt(r,o,i)),I.createElement("path",{d:"M18 10h-1.26A8 8 0 109 20h9a5 5 0 000-10z"})))},Xt=e=>{var{widthHeight:t=24,color:o="currentColor",filled:r=!1,strokeWidth:i=1}=e,n=O(e,je);return I.createElement(ft,Object.assign({widthHeight:t,color:o},n),I.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},wt(r,o,i)),I.createElement("rect",{x:"9",y:"9",width:"13",height:"13",rx:"2",ry:"2"}),I.createElement("path",{d:"M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"})))},qt=e=>{var{widthHeight:t=24,color:o="currentColor",filled:r=!1,strokeWidth:i=1}=e,n=O(e,ke);return I.createElement(ft,Object.assign({widthHeight:t,color:o},n),I.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},wt(r,o,i)),I.createElement("path",{d:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zM19 4h-3.5l-1-1h-5l-1 1H5v2h14V4z"})))},Zt=qt,Jt=e=>{var{widthHeight:t=24,color:o="currentColor",filled:r=!1,strokeWidth:i=1}=e,n=O(e,Ie);return I.createElement(ft,Object.assign({widthHeight:t,color:o},n),I.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},wt(r,o,i)),I.createElement("path",{d:"M18.3785 8.44975L8.9636 17.8648C8.6844 18.144 8.3288 18.3343 7.94161 18.4117L4.99988 19.0001L5.58823 16.0583C5.66566 15.6711 5.85597 15.3155 6.13517 15.0363L15.5501 5.62132M18.3785 8.44975L19.7927 7.03553C20.1832 6.64501 20.1832 6.01184 19.7927 5.62132L18.3785 4.20711C17.988 3.81658 17.3548 3.81658 16.9643 4.20711L15.5501 5.62132M18.3785 8.44975L15.5501 5.62132"})))},Qt=e=>{var{widthHeight:t=24,color:o="currentColor",strokeWidth:r=1,filled:i=!0}=e,n=O(e,Oe);return I.createElement(ft,Object.assign({widthHeight:t,color:o},n),I.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},wt(i,o,r)),I.createElement("circle",{cx:"12",cy:"12",r:"10"}),I.createElement("line",{x1:"15",y1:"9",x2:"9",y2:"15",stroke:i?"white":o}),I.createElement("line",{x1:"9",y1:"9",x2:"15",y2:"15",stroke:i?"white":o})))},$t=e=>{var{widthHeight:t=24,color:o="currentColor",filled:r=!0,strokeWidth:i=1}=e,n=O(e,Se);return I.createElement(ft,Object.assign({widthHeight:t,color:o},n),I.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},wt(r,o,i)),I.createElement("path",{d:"M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z"})))},eo=e=>{var{widthHeight:t=24,color:o="currentColor",strokeWidth:r=1,filled:i=!1}=e,n=O(e,ze);return I.createElement(ft,Object.assign({widthHeight:t,color:o},n),I.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},wt(i,o,r)),I.createElement("line",{stroke:o,x1:"3",y1:"12",x2:"21",y2:"12"}),I.createElement("line",{stroke:o,x1:"3",y1:"6",x2:"21",y2:"6"}),I.createElement("line",{stroke:o,x1:"3",y1:"18",x2:"21",y2:"18"})))},to=e=>{var{widthHeight:t=24,color:o="currentColor",filled:r=!1,strokeWidth:i=1}=e,n=O(e,He);return I.createElement(ft,Object.assign({widthHeight:t,color:o},n),I.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},wt(r,o,i)),I.createElement("circle",{cx:"18",cy:"5",r:"3"}),I.createElement("circle",{cx:"6",cy:"12",r:"3"}),I.createElement("circle",{cx:"18",cy:"19",r:"3"}),I.createElement("line",{stroke:o,x1:"8.59",y1:"13.51",x2:"15.42",y2:"17.49"}),I.createElement("line",{stroke:o,x1:"15.41",y1:"6.51",x2:"8.59",y2:"10.49"})))},oo=e=>{var{widthHeight:t=24,color:o="currentColor",strokeWidth:r=1,filled:i=!1}=e,n=O(e,Me);return I.createElement(ft,Object.assign({widthHeight:t,color:o},n),I.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},wt(i,o,r)),I.createElement("polyline",{points:"23 4 23 10 17 10"}),I.createElement("path",{d:"M20.49 15a9 9 0 1 1-2.13-9.36L23 10"})))},ro=e=>{var{widthHeight:t=24,color:o="currentColor",filled:r=!0,strokeWidth:i=1}=e,n=O(e,Te);return I.createElement(ft,Object.assign({widthHeight:t,color:o},n),I.createElement("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1"},I.createElement("path",{d:"M19 8H5c-1.66 0-3 1.34-3 3v6h4v4h12v-4h4v-6c0-1.66-1.34-3-3-3zm-3 11H8v-5h8v5zm3-7c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1zm-1-9H6v4h12V3z"})))},io=e=>{var{widthHeight:t=24,color:o="currentColor",strokeWidth:r=1,filled:i=!0}=e,n=O(e,We);return I.createElement(ft,Object.assign({widthHeight:t,color:o},n),I.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},wt(i,o,r)),I.createElement("rect",{x:"-3",y:"17",width:"15",height:"4",rx:"1",transform:"rotate(-40 2 13)"}),I.createElement("path",{d:"M17 3L18 6L21 7L18 8L17 11L16 8L13 7L16 6L17 3Z"}),I.createElement("path",{d:"M21 9L21.7 11L23.5 12L21.7 13L21 15L20.3 13L18.5 12L20.3 11L21 9Z"}),I.createElement("path",{d:"M16 15L16.7 16.5L18 17L16.7 17.5L16 19L15.3 17.5L14 17L15.3 16.5L16 15Z"})))},no=e=>{var{widthHeight:t=24,color:o="currentColor",strokeWidth:r=1,filled:i=!1}=e,n=O(e,Re);return I.createElement(ft,Object.assign({widthHeight:t,color:o},n),I.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},wt(i,o,r)),I.createElement("line",{stroke:o,x1:"4",y1:"21",x2:"4",y2:"14"}),I.createElement("line",{stroke:o,x1:"4",y1:"10",x2:"4",y2:"3"}),I.createElement("line",{stroke:o,x1:"12",y1:"21",x2:"12",y2:"12"}),I.createElement("line",{stroke:o,x1:"12",y1:"8",x2:"12",y2:"3"}),I.createElement("line",{stroke:o,x1:"20",y1:"21",x2:"20",y2:"16"}),I.createElement("line",{stroke:o,x1:"20",y1:"12",x2:"20",y2:"3"}),I.createElement("line",{stroke:o,x1:"1",y1:"14",x2:"7",y2:"14"}),I.createElement("line",{stroke:o,x1:"9",y1:"8",x2:"15",y2:"8"}),I.createElement("line",{stroke:o,x1:"17",y1:"16",x2:"23",y2:"16"})))},ao=e=>{var{widthHeight:t=24,color:o="currentColor",strokeWidth:r=1,filled:i=!1}=e,n=O(e,Ve);return I.createElement(ft,Object.assign({widthHeight:t,color:o},n),I.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},wt(i,o,r)),I.createElement("rect",{x:"3",y:"3",width:"18",height:"18",rx:"2"}),I.createElement("line",{x1:"9",y1:"3",x2:"9",y2:"21"}),I.createElement("line",{x1:"12",y1:"7",x2:"17",y2:"7"}),I.createElement("line",{x1:"12",y1:"11",x2:"17",y2:"11"}),I.createElement("line",{x1:"12",y1:"15",x2:"17",y2:"15"})))},lo=e=>{var{widthHeight:t=24,color:o="currentColor",filled:r=!1,strokeWidth:i=1}=e,n=O(e,Le);return I.createElement(ft,Object.assign({widthHeight:t,color:o},n),I.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},wt(r,o,i)),I.createElement("path",{d:"M3 4h18l-7 10v5l-4 2v-7L3 4z"})))},so=e=>{var{widthHeight:t=24,color:o="currentColor",filled:r=!0,strokeWidth:i=1}=e,n=O(e,Be);return I.createElement(ft,Object.assign({widthHeight:t,color:o},n),I.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},wt(r,o,i)),I.createElement("path",{d:"M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8h5z"})))},co=e=>{var{widthHeight:t=24,color:o="currentColor",filled:r=!0,strokeWidth:i=1}=e,n=O(e,Pe);return I.createElement(ft,Object.assign({widthHeight:t,color:o},n),I.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},wt(r,o,i)),I.createElement("path",{d:"M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z"})))},uo=e=>{var{widthHeight:t=24,color:o="currentColor",filled:r=!1,strokeWidth:i=1}=e,n=O(e,_e);return I.createElement(ft,Object.assign({widthHeight:t,color:o},n),I.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},wt(r,o,i)),r?I.createElement("path",{d:"M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2zm-6 9c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zm3.1-9H8.9V6c0-1.71 1.39-3.1 3.1-3.1 1.71 0 3.1 1.39 3.1 3.1v2z"}):I.createElement(I.Fragment,null,I.createElement("rect",{x:"3",y:"11",width:"18",height:"11",rx:"2",ry:"2"}),I.createElement("path",{d:"M7 11V7a5 5 0 0 1 10 0v4"}),I.createElement("circle",{cx:"12",cy:"16",r:"1.5"}))))},ho=e=>{var{widthHeight:t=24,color:o="currentColor",filled:r=!1,strokeWidth:i=1}=e,n=O(e,De);return I.createElement(ft,Object.assign({widthHeight:t,color:o},n),I.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},wt(r,o,i)),I.createElement("path",{d:"M12 1a4 4 0 0 0-4 4v6a4 4 0 0 0 8 0V5a4 4 0 0 0-4-4z"}),I.createElement("path",{d:"M19 10v2a7 7 0 0 1-14 0v-2"}),I.createElement("line",{stroke:o,x1:"12",y1:"19",x2:"12",y2:"23"}),I.createElement("line",{stroke:o,x1:"8",y1:"23",x2:"16",y2:"23"})))},go=e=>{var{widthHeight:t=24,color:o="currentColor",filled:r=!0,strokeWidth:i=1}=e,n=O(e,Fe);return I.createElement(ft,Object.assign({widthHeight:t,color:o},n),I.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},wt(r,o,i)),I.createElement("path",{d:"M21 12.79A9 9 0 1111.21 3 7 7 0 0021 12.79z"})))},mo=e=>{var{widthHeight:t=24,color:o="currentColor",filled:r=!1,strokeWidth:i=1}=e,n=O(e,Ae);return I.createElement(ft,Object.assign({widthHeight:t,color:o},n),I.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},wt(r,o,i)),I.createElement("path",{d:"M18 8a6 6 0 0 0-12 0c0 7-3 9-3 9h18s-3-2-3-9"}),I.createElement("path",{d:"M13.73 21a2 2 0 0 1-3.46 0"})))},po=e=>{var{widthHeight:t=24,color:o="currentColor",filled:r=!0,strokeWidth:i=1}=e,n=O(e,Ge);return I.createElement(ft,Object.assign({widthHeight:t,color:o},n),I.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},wt(r,o,i)),I.createElement("path",{d:"M12 4C7 4 2.73 7.11 1 12c1.73 4.89 6 8 11 8s9.27-3.11 11-8c-1.73-4.89-6-8-11-8zm0 12.5c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z"})))},vo=e=>{var{widthHeight:t=24,color:o="currentColor",filled:r=!0,strokeWidth:i=1}=e,n=O(e,Ne);return I.createElement(ft,Object.assign({widthHeight:t,color:o},n),I.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},wt(r,o,i)),I.createElement("path",{fill:r?o:"none",d:"M12 13c-2.67 0-8 1.34-8 4v2c0 .55.45 1 1 1h14c.55 0 1-.45 1-1v-2c0-2.66-5.33-4-8-4zm0-9c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z M12 2C9.79 2 8 3.79 8 6s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4z M12 13c-2.67 0-8 1.34-8 4v3h16v-3c0-2.66-5.33-4-8-4z"})," "))},bo=e=>{var{widthHeight:t=24,color:o="currentColor",filled:r=!1,strokeWidth:i=1}=e,n=O(e,Ue);return I.createElement(ft,Object.assign({widthHeight:t,color:o},n),I.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},wt(r,o,i)),I.createElement("path",{d:"M19.4 13c0-.3.1-.6.1-1s0-.7-.1-1l2.1-1.6c.2-.2.2-.4.1-.6l-2-3.5c-.1-.2-.4-.3-.6-.2l-2.5 1c-.5-.4-1.1-.7-1.7-.9l-.4-2.6c0-.2-.3-.4-.5-.4h-4c-.2 0-.5.2-.5.4l-.4 2.6c-.6.2-1.2.5-1.7.9l-2.5-1c-.2-.1-.5 0-.6.2l-2 3.5c-.1.2-.1.4.1.6L4.6 11c0 .3-.1.6-.1 1s0 .7.1 1l-2.1 1.6c-.2.2-.2.4-.1.6l2 3.5c.1.2.4.3.6.2l2.5-1c.5.4 1.1.7 1.7.9l.4 2.6c0 .2.3.4.5.4h4c.2 0 .5-.2.5-.4l.4-2.6c.6-.2 1.2-.5 1.7-.9l2.5 1c.2.1.5 0 .6-.2l2-3.5c.1-.2.1-.4-.1-.6L19.4 13zM12 15.5c-1.9 0-3.5-1.6-3.5-3.5s1.6-3.5 3.5-3.5 3.5 1.6 3.5 3.5-1.6 3.5-3.5 3.5z"})))},xo=e=>{var{widthHeight:t=24,color:o="currentColor",filled:r=!0,strokeWidth:i=1}=e,n=O(e,Ye);return I.createElement(ft,Object.assign({widthHeight:t,color:o},n),I.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},wt(r,o,i)),I.createElement("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"})))},fo=e=>{var{widthHeight:t=24,color:o="currentColor",filled:r=!0,strokeWidth:i=1}=e,n=O(e,Ke);return I.createElement(ft,Object.assign({widthHeight:t,color:o},n),I.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},wt(r,o,i)),I.createElement("path",{d:"M15 3H6c-.83 0-1.54.5-1.84 1.22l-3.02 7.05c-.09.23-.14.47-.14.73v2c0 1.1.9 2 2 2h6.31l-.95 4.57-.03.32c0 .41.17.79.44 1.06L9.83 23l6.59-6.59c.36-.36.58-.86.58-1.41V5c0-1.1-.9-2-2-2zm4 0v12h4V3h-4z"})))},wo=e=>{var{widthHeight:t=24,color:o="currentColor",strokeWidth:r=1,filled:i=!1}=e,n=O(e,Xe);return I.createElement(ft,Object.assign({widthHeight:t,color:o},n),I.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},wt(i,o,r)),I.createElement("circle",{cx:"12",cy:"12",r:"10"}),I.createElement("polyline",{points:"12 6 12 12 16 14"})))},Eo=e=>{var{widthHeight:t=24,color:o="currentColor",strokeWidth:r=1,filled:i=!1}=e,n=O(e,qe);return I.createElement(ft,Object.assign({widthHeight:t,color:o},n),I.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},wt(i,o,r)),I.createElement("path",{d:"M23 19a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2h3l2-3h8l2 3h3a2 2 0 0 1 2 2z"}),I.createElement("circle",{cx:"12",cy:"13",r:"4"})))},yo=e=>{var{widthHeight:t=24,color:o="currentColor",filled:r=!0,strokeWidth:i=1}=e,n=O(e,Ze);return I.createElement(ft,Object.assign({widthHeight:t,color:o},n),I.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},wt(r,o,i)),I.createElement("path",{d:"M17.71 7.71L12 2h-1v7.59L6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 11 14.41V22h1l5.71-5.71-4.3-4.29 4.3-4.29zM13 5.83l1.88 1.88L13 9.59V5.83zm1.88 10.46L13 18.17v-3.76l1.88 1.88z"})))},Co=e=>{var{widthHeight:t=24,color:o="currentColor",filled:r=!0,strokeWidth:i=1}=e,n=O(e,Je);return I.createElement(ft,Object.assign({widthHeight:t,color:o},n),I.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},wt(r,o,i)),I.createElement("path",{d:"M1 21h4V9H1v12zm22-11c0-1.1-.9-2-2-2h-6.31l.95-4.57.03-.32c0-.41-.17-.79-.44-1.06L14.17 1 7.59 7.59C7.22 7.95 7 8.45 7 9v10c0 1.1.9 2 2 2h9c.83 0 1.54-.5 1.84-1.22l3.02-7.05c.09-.23.14-.47.14-.73v-2z"})))},jo=e=>{var{widthHeight:t=24,color:o="currentColor",filled:r=!1,strokeWidth:i=1}=e,n=O(e,Qe);return I.createElement(ft,Object.assign({widthHeight:t,color:o},n),I.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},wt(r,o,i)),r?I.createElement("path",{d:"M12 17c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm6-9h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6h1.9c0-1.71 1.39-3.1 3.1-3.1 1.71 0 3.1 1.39 3.1 3.1v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2z"}):I.createElement(I.Fragment,null,I.createElement("rect",{x:"3",y:"11",width:"18",height:"11",rx:"2",ry:"2"}),I.createElement("path",{d:"M7 11V7a5 5 0 0 1 9.9-1"}),I.createElement("circle",{cx:"12",cy:"16",r:"1.5"}))))},ko=e=>{var{widthHeight:t=24,color:o="currentColor",filled:r=!1,strokeWidth:i=1}=e,n=O(e,$e);return I.createElement(ft,Object.assign({widthHeight:t,color:o},n),I.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},wt(r,o,i)),I.createElement("path",{d:"M1 9l2 2c4.97-4.97 13.03-4.97 18 0l2-2C16.93 2.93 7.08 2.93 1 9zm8 8l3 3 3-3c-1.65-1.66-4.34-1.66-6 0zm-4-4l2 2c2.76-2.76 7.24-2.76 10 0l2-2C15.14 9.14 8.87 9.14 5 13z"})))},Io=e=>{var{widthHeight:t=24,color:o="currentColor",filled:r=!1,strokeWidth:i=1}=e,n=O(e,et);return I.createElement(ft,Object.assign({widthHeight:t,color:o},n),I.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},wt(r,o,i)),I.createElement("path",{d:"M7 18a4.6 4.4 0 0 1 0 -9a5 4.5 0 0 1 11 2h1a3.5 3.5 0 0 1 0 7h-1"}),I.createElement("path",{d:"M9 15l3 -3l3 3"}),I.createElement("path",{d:"M12 12l0 9"})))},Oo=e=>{var{widthHeight:t=24,color:o="currentColor",filled:r=!0,strokeWidth:i=1}=e,n=O(e,tt);return I.createElement(ft,Object.assign({widthHeight:t,color:o},n),I.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},wt(r,o,i)),I.createElement("path",{d:"M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"})))},So=e=>{var{widthHeight:t=24,color:o="currentColor",filled:r=!0,strokeWidth:i=1}=e,n=O(e,ot);return I.createElement(ft,Object.assign({widthHeight:t,color:o},n),I.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},wt(r,o,i)),I.createElement("path",{d:"M19.7071 5.70711C20.0976 5.31658 20.0976 4.68342 19.7071 4.29289C19.3166 3.90237 18.6834 3.90237 18.2929 4.29289L14.032 8.55382C13.4365 8.20193 12.7418 8 12 8C9.79086 8 8 9.79086 8 12C8 12.7418 8.20193 13.4365 8.55382 14.032L4.29289 18.2929C3.90237 18.6834 3.90237 19.3166 4.29289 19.7071C4.68342 20.0976 5.31658 20.0976 5.70711 19.7071L9.96803 15.4462C10.5635 15.7981 11.2582 16 12 16C14.2091 16 16 14.2091 16 12C16 11.2582 15.7981 10.5635 15.4462 9.96803L19.7071 5.70711ZM12.518 10.0677C12.3528 10.0236 12.1792 10 12 10C10.8954 10 10 10.8954 10 12C10 12.1792 10.0236 12.3528 10.0677 12.518L12.518 10.0677ZM11.482 13.9323L13.9323 11.482C13.9764 11.6472 14 11.8208 14 12C14 13.1046 13.1046 14 12 14C11.8208 14 11.6472 13.9764 11.482 13.9323ZM15.7651 4.8207C14.6287 4.32049 13.3675 4 12 4C9.14754 4 6.75717 5.39462 4.99812 6.90595C3.23268 8.42276 2.00757 10.1376 1.46387 10.9698C1.05306 11.5985 1.05306 12.4015 1.46387 13.0302C1.92276 13.7326 2.86706 15.0637 4.21194 16.3739L5.62626 14.9596C4.4555 13.8229 3.61144 12.6531 3.18002 12C3.6904 11.2274 4.77832 9.73158 6.30147 8.42294C7.87402 7.07185 9.81574 6 12 6C12.7719 6 13.5135 6.13385 14.2193 6.36658L15.7651 4.8207ZM12 18C11.2282 18 10.4866 17.8661 9.78083 17.6334L8.23496 19.1793C9.37136 19.6795 10.6326 20 12 20C14.8525 20 17.2429 18.6054 19.002 17.0941C20.7674 15.5772 21.9925 13.8624 22.5362 13.0302C22.947 12.4015 22.947 11.5985 22.5362 10.9698C22.0773 10.2674 21.133 8.93627 19.7881 7.62611L18.3738 9.04043C19.5446 10.1771 20.3887 11.3469 20.8201 12C20.3097 12.7726 19.2218 14.2684 17.6986 15.5771C16.1261 16.9282 14.1843 18 12 18Z",fill:"currentColor"})))},zo=e=>{var{widthHeight:t=24,color:o="currentColor",filled:r=!0,strokeWidth:i=1}=e,n=O(e,rt);return I.createElement(ft,Object.assign({widthHeight:t,color:o},n),I.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},wt(!0,o,i)),I.createElement("path",{d:"M14 3h7v7h-2V5.41l-9.29 9.3-1.42-1.42 9.3-9.29H14V3ZM5 5h5v2H6v11h11v-4h2v5a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1Z"})))},Ho=e=>{var{widthHeight:t=24,color:o="currentColor",filled:r=!1,strokeWidth:i=1}=e,n=O(e,it);return I.createElement(ft,Object.assign({widthHeight:t,color:o},n),I.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},wt(r,o,i)),I.createElement("line",{stroke:o,x1:"12",y1:"5",x2:"12",y2:"19"}),I.createElement("line",{stroke:o,x1:"5",y1:"12",x2:"19",y2:"12"})))},Mo=e=>{var{widthHeight:t=24,color:o="currentColor",filled:r=!1,strokeWidth:i=1}=e,n=O(e,nt);return I.createElement(ft,Object.assign({widthHeight:t,color:o},n),I.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},wt(r,o,i)),I.createElement("path",{d:"M5 13l4 4L19 7",strokeLinecap:"round",strokeLinejoin:"round"})))},To=e=>{var{widthHeight:t=24,color:o="currentColor",filled:r=!0,strokeWidth:i=1}=e,n=O(e,at);return I.createElement(ft,Object.assign({widthHeight:t,color:o},n),I.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},wt(r,o,i)),I.createElement("path",{d:"M12 4l7 7h-4v7h-6v-7H5l7-7z"})))},Wo=e=>{var{widthHeight:t=24,color:o="currentColor",filled:r=!1,strokeWidth:i=1}=e,n=O(e,lt);return I.createElement(ft,Object.assign({widthHeight:t,color:o},n),I.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},wt(r,o,i)),I.createElement("line",{stroke:o,x1:"12",y1:"20",x2:"12",y2:"8"}),I.createElement("polyline",{points:"6 12 12 6 18 12"})))},Ro=e=>{var{widthHeight:t=24,color:o="currentColor",filled:r=!1,strokeWidth:i=1}=e,n=O(e,st);return I.createElement(ft,Object.assign({widthHeight:t,color:o},n),I.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},wt(r,o,i)),I.createElement("circle",{cx:"12",cy:"12",r:"10",strokeOpacity:"0.25"}),I.createElement("path",{d:"M12 2a10 10 0 0 1 10 10",strokeOpacity:"1"})))},Vo=e=>{var{widthHeight:t=24,color:o="currentColor",strokeWidth:r=1,filled:i=!1}=e,n=O(e,dt);return I.createElement(ft,Object.assign({widthHeight:t,color:o},n),I.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},wt(i,o,r)),I.createElement("rect",{x:"3",y:"4",width:"18",height:"18",rx:"2",ry:"2"}),I.createElement("line",{stroke:o,x1:"16",y1:"2",x2:"16",y2:"6"}),I.createElement("line",{stroke:o,x1:"8",y1:"2",x2:"8",y2:"6"}),I.createElement("line",{stroke:o,x1:"3",y1:"10",x2:"21",y2:"10"})))},Lo=e=>{var{widthHeight:t=24,color:o="currentColor",strokeWidth:r=1,filled:i=!1}=e,n=O(e,ct);return I.createElement(ft,Object.assign({widthHeight:t,color:o},n),I.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},wt(i,o,r)),I.createElement("line",{x1:"3",y1:"4",x2:"10",y2:"4"}),I.createElement("line",{x1:"14",y1:"4",x2:"21",y2:"4"}),I.createElement("line",{x1:"3",y1:"12",x2:"12",y2:"12"}),I.createElement("line",{x1:"16",y1:"12",x2:"21",y2:"12"}),I.createElement("line",{x1:"3",y1:"20",x2:"8",y2:"20"}),I.createElement("line",{x1:"12",y1:"20",x2:"21",y2:"20"}),I.createElement("line",{x1:"10",y1:"1",x2:"10",y2:"7"}),I.createElement("line",{x1:"16",y1:"9",x2:"16",y2:"15"}),I.createElement("line",{x1:"8",y1:"17",x2:"8",y2:"23"})))},Bo=e=>{var{widthHeight:t=24,color:o="currentColor",strokeWidth:r=1,filled:i=!1}=e,n=O(e,ut);return I.createElement(ft,Object.assign({widthHeight:t,color:o},n),I.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},wt(i,o,r)),I.createElement("path",{d:"M6 2v14a2 2 0 0 0 2 2h14"}),I.createElement("path",{d:"M18 22V8a2 2 0 0 0-2-2H2"})))},Po=e=>{var{widthHeight:t=24,color:o="currentColor",strokeWidth:r=1,filled:i=!1}=e,n=O(e,ht);return I.createElement(ft,Object.assign({widthHeight:t,color:o},n),I.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},wt(i,o,r)),I.createElement("circle",{cx:"11",cy:"11",r:"8"}),I.createElement("line",{x1:"21",y1:"21",x2:"16.65",y2:"16.65"}),I.createElement("line",{x1:"11",y1:"8",x2:"11",y2:"14"}),I.createElement("line",{x1:"8",y1:"11",x2:"14",y2:"11"})))},_o=e=>{var{widthHeight:t=24,color:o="currentColor",strokeWidth:r=1,filled:i=!1}=e,n=O(e,gt);return I.createElement(ft,Object.assign({widthHeight:t,color:o},n),I.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},wt(i,o,r)),I.createElement("circle",{cx:"11",cy:"11",r:"8"}),I.createElement("line",{x1:"21",y1:"21",x2:"16.65",y2:"16.65"}),I.createElement("line",{x1:"8",y1:"11",x2:"14",y2:"11"})))},Do=e=>{var{widthHeight:t=24,color:o="currentColor",strokeWidth:r=1,filled:i=!1}=e,n=O(e,mt);return I.createElement(ft,Object.assign({widthHeight:t,color:o},n),I.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},wt(i,o,r)),I.createElement("line",{x1:"4",y1:"6",x2:"20",y2:"6"}),I.createElement("line",{x1:"12",y1:"6",x2:"12",y2:"18"}),I.createElement("line",{x1:"8",y1:"18",x2:"16",y2:"18"})))},Fo=e=>{var{widthHeight:t=24,color:o="currentColor",strokeWidth:r=1,filled:i=!1}=e,n=O(e,pt);return I.createElement(ft,Object.assign({widthHeight:t,color:o},n),I.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},wt(i,o,r)),I.createElement("rect",{x:"4",y:"8",width:"8",height:"8"}),I.createElement("circle",{cx:"16",cy:"16",r:"4"}),I.createElement("polygon",{points:"16,4 19,8 13,8"})))},Ao=e=>{var{widthHeight:t=24,color:o="currentColor",strokeWidth:r=1,filled:i=!1}=e,n=O(e,vt);return I.createElement(ft,Object.assign({widthHeight:t,color:o},n),I.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},wt(i,o,r)),I.createElement("polyline",{points:"1 4 1 10 7 10"}),I.createElement("path",{d:"M3.51 15a9 9 0 1 0 2.13-9.36L1 10"})))},Go=e=>{var{widthHeight:t=24,color:o="currentColor",strokeWidth:r=1,filled:i=!1}=e,n=O(e,bt);return I.createElement(ft,Object.assign({widthHeight:t,color:o},n),I.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},wt(i,o,r)),I.createElement("path",{d:"M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8l-6-6z"}),I.createElement("polyline",{points:"14 2 14 8 20 8"}),I.createElement("line",{x1:"16",y1:"13",x2:"8",y2:"13"}),I.createElement("line",{x1:"16",y1:"17",x2:"8",y2:"17"}),I.createElement("polyline",{points:"10 9 9 9 8 9"})))},No=e=>{var{widthHeight:t=24,color:o="currentColor",strokeWidth:r=1,filled:i=!1}=e,n=O(e,xt);return I.createElement(ft,Object.assign({widthHeight:t,color:o},n),I.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"false",focusable:"false"},wt(i,o,r)),I.createElement("polyline",{points:"14 2 14 8 20 8"}),I.createElement("line",{x1:"16",y1:"13",x2:"8",y2:"13"}),I.createElement("path",{d:"M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8l-6-6z"}),I.createElement("path",{d:"M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8l-6-6z"}),I.createElement("polyline",{points:"10 9 9 9 8 9"}),I.createElement("line",{x1:"16",y1:"17",x2:"8",y2:"17"}),I.createElement("line",{x1:"16",y1:"13",x2:"8",y2:"13"}),I.createElement("polyline",{points:"14 2 14 8 20 8"}),I.createElement("path",{d:"M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8l-6-6z"}),I.createElement("polyline",{points:"10 9 9 9 8 9"}),I.createElement("line",{x1:"16",y1:"17",x2:"8",y2:"17"})))},Uo={__proto__:null,UserIcon:Et,HelpIcon:yt,ChevronIcon:Ct,DragHandleIcon:jt,FileIcon:kt,VideoIcon:It,ImageIcon:Ot,TwitterIcon:St,XIcon:zt,TwitchIcon:Ht,CloseIcon:Mt,InstagramIcon:Tt,YoutubeIcon:Wt,FacebookIcon:Rt,LinkedinIcon:Vt,ThreadsIcon:Lt,MinusIcon:Bt,InfoIcon:Pt,PlayIcon:_t,PauseIcon:Dt,HeartIcon:Ft,StarIcon:At,SaveIcon:Gt,WarningIcon:Nt,BatteryIcon:Ut,BookmarkIcon:Yt,CloudIcon:Kt,CopyIcon:Xt,DustBinIcon:qt,DeleteIcon:Zt,EditIcon:Jt,ErrorIcon:Qt,DownloadIcon:$t,MenuIcon:eo,ShareIcon:to,RefreshIcon:oo,PrintIcon:ro,MagicWandIcon:io,SliderVerticalIcon:no,PanelIcon:ao,FilterIcon:lo,HomeIcon:so,LocationIcon:co,LockIcon:uo,MicrophoneIcon:ho,MoonIcon:go,NotificationIcon:mo,OpenEyeIcon:po,ProfileIcon:vo,SettingsIcon:bo,SuccessIcon:xo,UnLikeIcon:fo,ClockIcon:wo,CameraIcon:Eo,BluetoothIcon:yo,LikeIcon:Co,UnlockIcon:jo,WifiIcon:ko,UploadIcon:Io,SearchIcon:Oo,CloseEyeIcon:So,ExternalLinkIcon:zo,PlusIcon:Ho,TickIcon:Mo,BoldArrowIcon:To,ArrowIcon:Wo,SpinnerIcon:Ro,CalendarIcon:Vo,SliderIcon:Lo,CropIcon:Bo,ZoomInIcon:Po,ZoomOutIcon:_o,TextIcon:Do,ShapeIcon:Fo,RotateIcon:Ao,DocumentIcon:Go,ChartIcon:No},Yo={default:{container:{backgroundColor:"color.gray.50",borderColor:"color.gray.200",boxShadow:"0 1px 2px rgba(0, 0, 0, 0.05)"},content:{color:"color.gray.700"},icon:{color:"color.gray.500"}},info:{container:{backgroundColor:"color.blue.50",borderColor:"color.blue.200",boxShadow:"0 1px 2px rgba(59, 130, 246, 0.05)"},content:{color:"color.blue.700"},icon:{color:"color.blue.500"}},success:{container:{backgroundColor:"color.green.50",borderColor:"color.green.200",boxShadow:"0 1px 2px rgba(34, 197, 94, 0.05)"},content:{color:"color.green.700"},icon:{color:"color.green.500"}},error:{container:{backgroundColor:"color.red.50",borderColor:"color.red.200",boxShadow:"0 1px 2px rgba(239, 68, 68, 0.05)"},content:{color:"color.red.700"},icon:{color:"color.red.500"}},warning:{container:{backgroundColor:"color.orange.50",borderColor:"color.orange.200",boxShadow:"0 1px 2px rgba(249, 115, 22, 0.05)"},content:{color:"color.orange.700"},icon:{color:"color.orange.500"}}},Ko=e=>{var{icon:t,title:o,views:r,description:i,variant:n="default"}=e;return I.createElement(s.Horizontal,Object.assign({gap:12,padding:"16px",flexWrap:"nowrap",alignItems:"flex-start",borderRadius:"8px",borderWidth:"1px",borderStyle:"solid",borderColor:Yo[n].container.borderColor,backgroundColor:Yo[n].container.backgroundColor,boxShadow:Yo[n].container.boxShadow,transition:"all 0.2s ease"},null==r?void 0:r.container),I.createElement(s.View,Object.assign({alignSelf:"flex-start",marginTop:"2px"},null==r?void 0:r.icon),(()=>{var e,o;if(t)return t;var i={size:20,color:null!=(e=null==r||null==(o=r.icon)?void 0:o.color)?e:Yo[n].icon.color};switch(n){case"info":return I.createElement(Pt,Object.assign({},i));case"success":return I.createElement(xo,Object.assign({},i));case"error":return I.createElement(Qt,Object.assign({},i));case"warning":default:return I.createElement(Nt,Object.assign({},i))}})()),I.createElement(s.Vertical,{gap:8}," ",I.createElement(q,Object.assign({fontSize:"16px",fontWeight:"600",lineHeight:"24px",color:Yo[n].content.color},null==r?void 0:r.title),o),I.createElement(q,Object.assign({fontSize:"14px",fontWeight:"400",lineHeight:"20px",color:Yo[n].content.color},null==r?void 0:r.description),i)))},Xo=["ratio","children","views"],qo=e=>{var{ratio:t=16/9,children:o,views:r}=e,i=O(e,Xo);return I.createElement(s.Center,Object.assign({width:"100%",position:"relative",overflow:"hidden",paddingTop:1/t*100+"%",borderRadius:8},i,null==r?void 0:r.center),I.createElement(s.View,Object.assign({position:"absolute",top:0,right:0,bottom:0,left:0},null==r?void 0:r.view),o))},Zo=["ratio","children"],Jo={xs:24,sm:32,md:48,lg:64,xl:80},Qo={borderRadius:"50%",overflow:"hidden",borderWidth:"1px",borderStyle:"solid",borderColor:"transparent",backgroundColor:"color.gray.100",boxShadow:"0px 2px 4px rgba(0, 0, 0, 0.1)",transition:"all 0.2s ease","@media (prefers-color-scheme: dark)":{backgroundColor:"color.gray.700"}},$o={fontWeight:"500",color:"color.gray.600","@media (prefers-color-scheme: dark)":{color:"color.gray.300"}},er={objectFit:"cover",transition:"all 0.2s ease"},tr=e=>{var{src:t,size:o="md",fallback:r="IM",views:i,imageError:n,setImageError:a,onClick:l=(()=>{})}=e,d=Jo[o],c=Object.assign({},er,(null==i?void 0:i.image)||{});return I.createElement(s.Center,Object.assign({role:"avatar",width:d,height:d},Qo,{borderColor:n?"color.gray.400":"transparent",onClick:l},null==i?void 0:i.container),n?I.createElement(q,Object.assign({size:o},$o,null==i?void 0:i.fallback),r):I.createElement(s.Image,{alt:"IM",src:t,style:c,width:d,height:d,onError:()=>a(!0)}))},or={xs:{minWidth:"20px",height:"20px",padding:"0 6px",fontSize:"10px",fontWeight:"500",lineHeight:"20px"},sm:{minWidth:"24px",height:"24px",padding:"0 8px",fontSize:"12px",fontWeight:"500",lineHeight:"24px"},md:{minWidth:"28px",height:"28px",padding:"0 10px",fontSize:"14px",fontWeight:"500",lineHeight:"28px"},lg:{minWidth:"32px",height:"32px",padding:"0 12px",fontSize:"14px",fontWeight:"500",lineHeight:"32px"},xl:{minWidth:"36px",height:"36px",padding:"0 14px",fontSize:"16px",fontWeight:"500",lineHeight:"36px"}},rr={sharp:0,rounded:"8px",pillShaped:"9999px"},ir={"top-right":{top:"4px",right:"4px",position:"absolute"},"top-left":{top:"4px",left:"4px",position:"absolute"},"bottom-right":{bottom:"4px",right:"4px",position:"absolute"},"bottom-left":{bottom:"4px",left:"4px",position:"absolute"}},nr={filled:{backgroundColor:"theme.primary",color:"color.white",borderWidth:"1px",borderStyle:"solid",borderColor:"transparent",transition:"all 0.2s ease"},outline:{backgroundColor:"transparent",borderWidth:"1px",borderStyle:"solid",borderColor:"theme.primary",color:"theme.primary",transition:"all 0.2s ease"},link:{backgroundColor:"transparent",borderWidth:"1px",borderStyle:"solid",borderColor:"transparent",color:"theme.primary",textDecoration:"underline",textUnderlineOffset:"2px",transition:"all 0.2s ease"},ghost:{backgroundColor:"transparent",color:"color.gray.500",borderWidth:"1px",borderStyle:"solid",borderColor:"transparent",transition:"all 0.2s ease"}},ar=e=>{var{content:t,position:o,shape:r="pillShaped",variant:i="filled",size:n="md",views:a}=e,l=Object.assign({width:"fit-content",display:"flex",alignItems:"center",justifyContent:"center",backgrounColor:"color.black",borderRadius:rr[r]},or[n],nr[i],o?ir[o]:{},null==a?void 0:a.container);return I.createElement(s.Center,Object.assign({role:"badge"},l),I.createElement(q,Object.assign({role:"badgeText",fontWeight:"500",textAlign:"center"},null==a?void 0:a.text,{color:l.color}),t||""))},lr={xs:12,sm:14,md:16,lg:18,xl:20,"2xl":24,"3xl":30,"4xl":36,"5xl":48,"6xl":64},sr=["children","to","iconSize","underline","isHovered","isExternal","views","setIsHovered"],dr=e=>{var{children:t,to:o="/",iconSize:r="sm",underline:i="default",isHovered:n=!1,isExternal:a=!1,views:l={icon:{},text:{}},setIsHovered:d=(()=>{})}=e,c=O(e,sr),h=()=>{"hover"===i&&d(!0)};return I.createElement(u.Link,{to:o,target:a?"_blank":"_self"},I.createElement(s.Element,Object.assign({onMouseEnter:h,onMouseLeave:h,textDecoration:n||"underline"===i?"underline !important":"none"},l.text,c),I.createElement(s.Horizontal,{gap:3,alignItems:"center",flexWrap:"nowrap"},t,a&&I.createElement(zo,{widthHeight:lr[r]}))))},cr=e=>{var t=(()=>{var[e,t]=o.useState(!1);return{isHovered:e,setIsHovered:t}})();return I.createElement(dr,Object.assign({},t,e))},ur={xs:{height:24,paddingTop:2,paddingBottom:2,paddingLeft:6,paddingRight:6,fontSize:12,fontWeight:"500",lineHeight:20,letterSpacing:"-0.01em"},sm:{height:32,paddingTop:6,paddingBottom:6,paddingLeft:12,paddingRight:12,fontSize:14,fontWeight:"500",lineHeight:20,letterSpacing:"-0.01em"},md:{height:40,paddingTop:8,paddingBottom:8,paddingLeft:16,paddingRight:16,fontSize:14,fontWeight:"500",lineHeight:24,letterSpacing:"-0.01em"},lg:{height:48,paddingTop:12,paddingBottom:12,paddingLeft:20,paddingRight:20,fontSize:16,fontWeight:"500",lineHeight:24,letterSpacing:"-0.01em"},xl:{height:60,paddingTop:16,paddingBottom:16,paddingLeft:28,paddingRight:28,fontSize:18,fontWeight:"500",lineHeight:28,letterSpacing:"-0.01em"}},hr={sharp:0,rounded:8,pillShaped:999},gr={xs:{width:16,height:16,padding:6},sm:{width:20,height:20,padding:6},md:{width:24,height:24,padding:8},lg:{width:24,height:24,padding:12},xl:{width:28,height:28,padding:14}},mr={xs:14,sm:18,md:22,lg:26,xl:30,"2xl":40,"3xl":50,"4xl":60,"5xl":70,"6xl":80},pr={fast:50,normal:100,slow:300},vr=["size","speed","color","themeMode"],br=["size","speed","color","themeMode"],xr=["size","speed","color","themeMode"],fr=["size","children","textColor","loaderColor","type","speed","textPosition","views"],wr=e=>{var{size:t="md",speed:r="normal",color:i="theme.loading",themeMode:n}=e,a=O(e,vr),{getColor:l,themeMode:d}=s.useTheme(),c=l(i,n||d),u="number"==typeof t?t:mr[t],[h,g]=o.useState(0);return o.useEffect(()=>{var e=setInterval(()=>{g(e=>e+45)},pr[r]);return()=>clearInterval(e)},[r]),I.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:u+"px",height:u+"px",viewBox:"0 0 24 24",fill:"none",stroke:c,strokeWidth:"1",strokeLinecap:"round",strokeLinejoin:"round",style:{transform:"rotate("+h+"deg)"}},a),I.createElement("g",{id:"SVGRepo_bgCarrier",strokeWidth:"0"}),I.createElement("g",{id:"SVGRepo_tracerCarrier",strokeLinecap:"round",strokeLinejoin:"round"}),I.createElement("g",{id:"SVGRepo_iconCarrier"},I.createElement("path",{d:"M21 12a9 9 0 11-6.219-8.56"})))},Er=e=>{var{size:t="md",speed:r="normal",color:i="theme.loading",themeMode:n}=e,a=O(e,br),{getColor:l,themeMode:d}=s.useTheme(),c=l(i,n||d),u="number"==typeof t?t:mr[t],[h,g]=o.useState(0);return o.useEffect(()=>{var e=setInterval(()=>{g(e=>e+45)},pr[r]);return()=>clearInterval(e)},[r]),I.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 50 50",width:u+"px",height:u+"px",style:{transform:"rotate("+h+"deg)"}},a),I.createElement("circle",{cx:"10",cy:"25",r:"4",fill:c}),I.createElement("circle",{cx:"25",cy:"25",r:"4",fill:c}),I.createElement("circle",{cx:"40",cy:"25",r:"4",fill:c}))},yr=e=>{var{size:t="md",speed:r="normal",color:i="theme.loading",themeMode:n}=e,a=O(e,xr),{getColor:l,themeMode:d}=s.useTheme(),c=l(i,n||d),u="number"==typeof t?t:mr[t],[h,g]=o.useState(0);return o.useEffect(()=>{var e=setInterval(()=>{g(e=>e+45)},pr[r]);return()=>clearInterval(e)},[r]),I.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 50 50",width:u+"px",height:u+"px",style:{transform:"rotate("+h+"deg)"}},a),I.createElement("circle",{cx:"25",cy:"25",r:"20",fill:"none",stroke:c,strokeWidth:"5",strokeDasharray:"1,10"}))},Cr=e=>{var{size:t,children:o,textColor:r,loaderColor:i,type:n="default",speed:a="normal",textPosition:l="right",views:d}=e,c=O(e,fr),u={size:t,speed:a,color:i},h={default:I.createElement(wr,Object.assign({},u)),dotted:I.createElement(Er,Object.assign({},u)),quarter:I.createElement(yr,Object.assign({},u))};return I.createElement(s.Center,Object.assign({gap:10,flexDirection:"top"===l||"bottom"===l?"column":"row"},c,null==d?void 0:d.container),("left"===l||"top"===l)&&o&&I.createElement(s.View,Object.assign({color:r},null==d?void 0:d.text),o),h[n],("right"===l||"bottom"===l)&&o&&I.createElement(s.View,Object.assign({color:r},null==d?void 0:d.text),o))},jr=e=>I.createElement(Cr,Object.assign({},e)),kr=["icon","shadow","children","ariaLabel","to","isAuto","isFilled","isIconRounded","isLoading","isDisabled","size","variant","iconPosition","shape","onClick","loaderProps","loaderPosition","effect","isHovered","setIsHovered","isExternal","themeMode","containerProps","linkProps","views"],Ir=require("contrast"),Or=e=>{var t,o,{icon:r,shadow:i,children:n,ariaLabel:a,to:l,isAuto:d=!1,isFilled:c=!1,isIconRounded:u=!1,isLoading:h=!1,isDisabled:g=!1,size:m="md",variant:p="filled",iconPosition:v="left",shape:b="rounded",onClick:x=(()=>{}),loaderProps:f={},loaderPosition:w="left",effect:E="default",setIsHovered:y=(()=>{}),isExternal:C=!1,themeMode:j,linkProps:k,views:S}=e,z=O(e,kr),{getColor:H,themeMode:M}=s.useTheme(),T=e=>y(e),W=!(g||h),R={disabled:!W},V=W?"theme.primary":"theme.disabled",L={filled:{backgroundColor:o=V,color:"light"==Ir(H(V,j||M))?"color.gray.900":"color.white",borderWidth:1,borderStyle:"solid",borderColor:"transparent",on:{hover:{filter:"brightness(0.9)",transform:"translateY(-1px)"},active:{filter:"brightness(0.85)",transform:"translateY(0)"}},transition:"all 0.2s ease"},outline:{backgroundColor:"transparent",borderWidth:1,borderStyle:"solid",borderColor:o,color:o,on:{hover:{backgroundColor:o+"10",transform:"translateY(-1px)"},active:{backgroundColor:o+"20",transform:"translateY(0)"}},transition:"all 0.2s ease"},ghost:{backgroundColor:"transparent",color:o,on:{hover:{backgroundColor:o+"10",transform:"translateY(-1px)"},active:{backgroundColor:o+"20",transform:"translateY(0)"}},transition:"all 0.2s ease"},link:{backgroundColor:"transparent",color:o,textDecoration:"underline",textUnderlineOffset:2,on:{hover:{textDecoration:"underline",textDecorationThickness:2}},transition:"all 0.2s ease"}},B=ur[m],P=L[p],_={width:!0===d?"fit-content":c?"100%":B.width},D=u?gr[m]:ur[m],F=["left","right"].includes(v)?s.Horizontal:s.Vertical,A=I.createElement(F,Object.assign({gap:8,alignItems:"center",justifyContent:"center"},null==S?void 0:S.container),h&&"left"===w&&I.createElement(jr,Object.assign({size:"xs"===m||"sm"===m?"sm":"md"},f)),r&&["left","top"].includes(v)&&!h&&I.createElement(s.View,Object.assign({display:"flex",alignItems:"center",justifyContent:"center"},null==S?void 0:S.icon),r),n,r&&["right","bottom"].includes(v)&&!h&&I.createElement(s.View,Object.assign({display:"flex",alignItems:"center",justifyContent:"center"},null==S?void 0:S.icon),r),h&&"right"===w&&I.createElement(jr,Object.assign({size:"xs"===m||"sm"===m?"sm":"md"},f)));return I.createElement(s.Element,Object.assign({gap:8,as:"button",type:"button",display:"flex",alignItems:"center",justifyContent:"center","aria-label":a,borderRadius:hr[b],onClick:null!=(t=z.onClick)?t:x,onMouseEnter:()=>T(!0),onMouseLeave:()=>T(!1),cursor:W?"pointer":"default",boxShadow:i||void 0},R,B,P,_,z.padding||z.paddingHorizontal||z.paddingVertical||z.paddingLeft||z.paddingRight||z.paddingTop||z.paddingBottom?{}:D,z,null==S?void 0:S.container),"link"===p&&l?I.createElement(cr,Object.assign({to:l,textDecorationColor:"theme.primary",textDecorationThickness:"1px",textUnderlineOffset:"2px",transition:"all 0.2s ease",isExternal:C,_hover:{textDecorationThickness:"2px"}},k,null==S?void 0:S.link),A):A)},Sr=e=>{var{isHovered:t,setIsHovered:o}=(()=>{var[e,t]=I.useState(!1);return{isHovered:e,setIsHovered:t}})(),r=()=>o(!t);return I.createElement(Or,Object.assign({isHovered:t,setIsHovered:o,onMouseEnter:r,onMouseLeave:r},e))},zr={sharp:0,rounded:"8px",pillShaped:"16px"},Hr={default:{backgroundColor:"white",border:"none",transition:"all 0.2s ease"},outlined:{backgroundColor:"white",borderWidth:"1px",borderStyle:"solid",borderColor:"color.gray.200",transition:"all 0.2s ease",_hover:{borderColor:"color.gray.300"}},elevated:{backgroundColor:"white",boxShadow:"0px 2px 8px rgba(0, 0, 0, 0.08)",border:"none",transition:"all 0.2s ease",_hover:{boxShadow:"0px 4px 12px rgba(0, 0, 0, 0.12)",transform:"translateY(-2px)"}}},Mr=o.createContext({}),Tr=()=>o.useContext(Mr),Wr=["children","views","style"],Rr=["children","views","style"],Vr=["children","views","style"],Lr=["variant","size","shape","children","header","footer","isFullWidth","views","style"],Br=e=>{var t,{children:o,style:r}=e,i=O(e,Wr),{styles:n}=(s.useTheme(),Tr()),a={padding:"16px",borderBottomWidth:"1px",borderBottomStyle:"solid",borderBottomColor:"color.gray.200","@media (prefers-color-scheme: dark)":{borderBottomColor:"color.gray.700"}},l=Object.assign({},a,null==n?void 0:n.header,i,{style:Object.assign({},null==a?void 0:a.style,null==n||null==(t=n.header)?void 0:t.style,r)});return I.createElement(s.View,Object.assign({},l),o)},Pr=e=>{var t,{children:o,style:r}=e,i=O(e,Rr),{styles:n}=(s.useTheme(),Tr()),a={padding:"16px","@media (prefers-color-scheme: dark)":{color:"color.gray.100"}},l=Object.assign({},a,null==n?void 0:n.content,i,{style:Object.assign({},null==a?void 0:a.style,null==n||null==(t=n.content)?void 0:t.style,r)});return I.createElement(s.View,Object.assign({},l),o)},_r=e=>{var t,{children:o,style:r}=e,i=O(e,Vr),{styles:n}=(s.useTheme(),Tr()),a={padding:"16px",borderTopWidth:"1px",borderTopStyle:"solid",borderTopColor:"color.gray.200","@media (prefers-color-scheme: dark)":{borderTopColor:"color.gray.700"}},l=Object.assign({},a,null==n?void 0:n.footer,i,{style:Object.assign({},null==a?void 0:a.style,null==n||null==(t=n.footer)?void 0:t.style,r)});return I.createElement(s.View,Object.assign({},l),o)},Dr=e=>{var t,{variant:r="default",size:i="md",shape:n="rounded",children:a,header:l,footer:d,isFullWidth:c=!1,views:u,style:h}=e,g=O(e,Lr),m=(s.useTheme(),{container:{backgroundColor:"white",borderRadius:"8px",overflow:"hidden",transition:"all 0.2s ease","@media (prefers-color-scheme: dark)":{backgroundColor:"color.gray.800",color:"color.gray.100"}},header:{padding:"16px",borderBottomWidth:"1px",borderBottomStyle:"solid",borderBottomColor:"color.gray.200","@media (prefers-color-scheme: dark)":{borderBottomColor:"color.gray.700"}},content:{padding:"16px","@media (prefers-color-scheme: dark)":{color:"color.gray.100"}},footer:{padding:"16px",borderTopWidth:"1px",borderTopStyle:"solid",borderTopColor:"color.gray.200","@media (prefers-color-scheme: dark)":{borderTopColor:"color.gray.700"}}}),p=o.useMemo(()=>({styles:{container:Object.assign({},m.container,null==u?void 0:u.container),header:Object.assign({},m.header,null==u?void 0:u.header),content:Object.assign({},m.content,null==u?void 0:u.content),footer:Object.assign({},m.footer,null==u?void 0:u.footer)}}),[m,u]),v=I.Children.toArray(a).some(e=>I.isValidElement(e)&&(e.type===Br||e.type===Pr||e.type===_r)),b=Object.assign({width:c?"100%":"auto",borderRadius:zr[n],overflow:"hidden"},Hr[r],p.styles.container,g,{style:Object.assign({},null==(t=p.styles.container)?void 0:t.style,h)});return I.createElement(Mr.Provider,{value:p},I.createElement(s.View,Object.assign({},b),v?a:I.createElement(s.Vertical,null,l&&I.createElement(Br,null,l),I.createElement(Pr,null,a),d&&I.createElement(_r,null,d))))},Fr=e=>I.createElement(Dr,Object.assign({},e));Fr.Header=Br,Fr.Content=Pr,Fr.Footer=_r;var Ar={dot:{width:"10px",height:"10px",borderRadius:"50%",backgroundColor:"color.gray.300",margin:"0 4px",cursor:"pointer",transition:"background-color 0.3s ease"},line:{width:"20px",height:"4px",borderRadius:"2px",backgroundColor:"color.gray.300",margin:"0 4px",cursor:"pointer",transition:"background-color 0.3s ease"},number:{minWidth:"24px",height:"24px",borderRadius:"50%",backgroundColor:"color.gray.300",margin:"0 4px",cursor:"pointer",display:"flex",alignItems:"center",justifyContent:"center",fontSize:"12px",transition:"background-color 0.3s ease"}},Gr={dot:{backgroundColor:"theme.primary"},line:{backgroundColor:"theme.primary"},number:{backgroundColor:"theme.primary",color:"white"}},Nr={width:"40px",height:"40px",borderRadius:"50%",backgroundColor:"color.white",color:"color.gray.800",display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",boxShadow:"0 2px 5px rgba(0, 0, 0, 0.1)",zIndex:1,transition:"background-color 0.3s ease",_hover:{backgroundColor:"color.gray.100"}},Ur=()=>({container:{position:"relative",overflow:"hidden"},content:{overflow:"hidden",width:"100%",height:"100%"},innerContainer:{display:"flex",transitionProperty:"transform",transitionDuration:"300ms",transitionTimingFunction:"ease-in-out",height:"100%"},item:{flex:"0 0 100%",minWidth:0,position:"relative",height:"100%"},prevButton:Object.assign({position:"absolute",top:"50%",left:"16px",transform:"translateY(-50%)",zIndex:10},Nr),nextButton:Object.assign({position:"absolute",top:"50%",right:"16px",transform:"translateY(-50%)",zIndex:10},Nr)}),Yr=o.createContext(null),Kr=()=>{var e=o.useContext(Yr);if(!e)throw new Error("Carousel compound components must be used within <Carousel>");return e},Xr=["children","isActive","views"],qr=["views","children"],Zr=["views","children"],Jr=["children","views"],Qr=["children","views","style"],$r=["children","defaultActiveIndex","activeIndex","onChange","showNavigation","navigationPosition","prevButton","nextButton","showIndicators","indicatorPosition","indicatorVariant","autoPlay","autoPlayInterval","pauseOnHover","infinite","direction","transitionDuration","views"],ei=e=>{var{children:t,isActive:o,views:r}=e,i=O(e,Xr);return I.createElement(s.View,Object.assign({flexShrink:0,width:"100%",height:"100%",display:o?"block":"none"},r,i),t)},ti=e=>{var{views:t,children:o}=e,r=O(e,qr),{goToPrevious:i,canGoPrevious:n,styles:a}=Kr(),l=Ur().prevButton,s=Object.assign({},l,null==a?void 0:a.prevButton,null==t?void 0:t.prevButton);return I.createElement(Sr,Object.assign({"aria-label":"Previous slide",onClick:()=>i(),isDisabled:!n},s,r),null!=o?o:I.createElement(Ct,{orientation:"left",widthHeight:16}))},oi=e=>{var{views:t,children:o}=e,r=O(e,Zr),{goToNext:i,canGoNext:n,styles:a}=Kr(),l=Ur().nextButton,s=Object.assign({},l,null==a?void 0:a.nextButton,null==t?void 0:t.nextButton);return I.createElement(Sr,Object.assign({"aria-label":"Next slide",onClick:()=>i(),isDisabled:!n},s,r),null!=o?o:I.createElement(Ct,{orientation:"right",widthHeight:16}))},ri=e=>{var{children:t,views:r}=e,i=O(e,Jr),{registerSlide:n,unregisterSlide:a,styles:l}=Kr(),d=o.useRef(null);o.useEffect(()=>{var e=n();return d.current=e,()=>{null!==d.current&&a(d.current)}},[n,a]);var c=Ur().item,u=Object.assign({},c,null==l?void 0:l.item,null==r?void 0:r.item);return I.createElement(s.View,Object.assign({role:"group","aria-roledescription":"slide"},u,i),t)},ii=e=>{var{children:t,views:o,style:r}=e,i=O(e,Qr),{currentIndex:n,styles:a,contentId:l}=Kr(),d=Ur(),c=Object.assign({},d.content,null==a?void 0:a.content,null==o?void 0:o.content),u=Object.assign({},d.innerContainer,null==a?void 0:a.innerContainer,null==o?void 0:o.innerContainer),h="-"+100*n+"%";return I.createElement(s.View,Object.assign({},c,i,{style:Object.assign({},null==c?void 0:c.style,r),id:l,"aria-live":"polite"}),I.createElement(s.View,Object.assign({},u,{style:Object.assign({},null==u?void 0:u.style,{transform:"translateX("+h+")"})}),t))},ni=e=>{var{children:t,defaultActiveIndex:r=0,activeIndex:i,onChange:n,showNavigation:a=!0,navigationPosition:l="inside",prevButton:d,nextButton:c,showIndicators:u=!0,indicatorPosition:h="bottom",indicatorVariant:g="dot",autoPlay:m=!1,autoPlayInterval:p=3e3,pauseOnHover:v=!0,infinite:b=!0,direction:x="horizontal",transitionDuration:f=300,views:w}=e,E=O(e,$r),y=o.useMemo(()=>I.Children.toArray(t),[t]),C=(e=>{var{defaultActiveIndex:t=0,activeIndex:r,onChange:i,autoPlay:n=!1,autoPlayInterval:a=3e3,pauseOnHover:l=!0,infinite:s=!0,totalSlides:d,stepIndices:c}=e,u=o.useRef(d||0),[h,g]=o.useState(d||0),m=o.useRef(new Set),p=o.useRef(0),v=o.useMemo(()=>S("carousel-content"),[]),[b,x]=o.useState(void 0!==r?r:t),[f,w]=o.useState(!1),[E,y]=o.useState(!1),[C,j]=o.useState(0),[k,I]=o.useState(0),O=o.useRef(null);o.useEffect(()=>{void 0!==r&&x(r)},[r]);var z=o.useCallback(e=>{var t=e;if(s?e<0?t=h-1:e>=h&&(t=0):t=Math.max(0,Math.min(e,h-1)),c&&c.length>0)if(c.includes(t));else{var o=c.reduce((e,o)=>Math.abs(o-t)<Math.abs(e-t)?o:e);t=o}void 0===r&&x(t),i&&i(t)},[r,s,i,h]),H=o.useCallback(()=>{z(b+1)},[b,z]),M=o.useCallback(()=>{z(b-1)},[b,z]);o.useEffect(()=>(!n||f||E||(O.current=setInterval(()=>{H()},a)),()=>{O.current&&clearInterval(O.current)}),[n,a,f,E,H,l]);var T=o.useCallback(()=>{l&&w(!0)},[l]),W=o.useCallback(()=>{w(!1)},[]),R=o.useCallback(e=>{y(!0),"touches"in e?(j(e.touches[0].clientX),I(e.touches[0].clientY)):(j(e.clientX),I(e.clientY))},[]),V=o.useCallback(e=>{if(E){var t,o;"touches"in e?(t=e.touches[0].clientX,o=e.touches[0].clientY):(t=e.clientX,o=e.clientY);var r=t-C,i=o-k;Math.abs(r)>Math.abs(i)&&Math.abs(r)>50&&(r>0?M():H(),y(!1))}},[E,C,k,H,M]),L=o.useCallback(()=>{y(!1)},[]),B=o.useCallback(()=>{var e=p.current++;m.current.add(e);var t=m.current.size;return u.current=t,g(t),e},[]),P=o.useCallback(e=>{m.current.delete(e);var t=m.current.size;if(u.current=t,g(t),t>0&&b>=t){var o=Math.max(0,t-1);void 0===r&&x(o),i&&i(o)}},[b,r,i]);return{activeIndex:b,totalSlides:h,goToSlide:z,nextSlide:H,prevSlide:M,canGoNext:s||b<h-1,canGoPrevious:s||b>0,handleMouseEnter:T,handleMouseLeave:W,handleDragStart:R,handleDragMove:V,handleDragEnd:L,registerSlide:B,unregisterSlide:P,contentId:v,infinite:s}})({defaultActiveIndex:r,activeIndex:i,onChange:n,autoPlay:m,autoPlayInterval:p,pauseOnHover:v,infinite:b,totalSlides:y.length}),{activeIndex:j,totalSlides:k,goToSlide:z,nextSlide:H,prevSlide:M,handleMouseEnter:T,handleMouseLeave:W,handleDragStart:R,handleDragMove:V,handleDragEnd:L}=C;return o.useMemo(()=>I.Children.toArray(t).some(e=>I.isValidElement(e)&&(e.type===ii||e.type===ri||e.type===ti||e.type===oi)),[t])?I.createElement(Yr.Provider,{value:{currentIndex:j,totalSlides:k,goToSlide:z,goToNext:H,goToPrevious:M,canGoNext:C.canGoNext,canGoPrevious:C.canGoPrevious,registerSlide:C.registerSlide,unregisterSlide:C.unregisterSlide,styles:Object.assign({},Ur(),w),contentId:C.contentId,infinite:b}},I.createElement(s.View,Object.assign({role:"region","aria-roledescription":"carousel","aria-label":"Carousel",position:"relative",width:"100%",height:"100%",overflow:"hidden"},null==w?void 0:w.container,E),t)):I.createElement(s.View,Object.assign({position:"relative",width:"100%",height:"100%",overflow:"hidden",onMouseEnter:T,onMouseLeave:W,onTouchStart:R,onTouchMove:V,onTouchEnd:L,onMouseDown:R,onMouseMove:V,onMouseUp:L},null==w?void 0:w.container,E),I.createElement(s.View,Object.assign({width:"100%",height:"100%",position:"relative"},null==w?void 0:w.slideWrapper),y.map((e,t)=>I.createElement(ei,{key:t,isActive:t===j,index:t,views:null==w?void 0:w.slide},e))),(()=>{if(!a)return null;var e=d||I.createElement(s.View,Object.assign({as:"button","aria-label":"Previous slide"},Nr,null==w?void 0:w.prevButton),"❮"),t=c||I.createElement(s.View,Object.assign({as:"button","aria-label":"Next slide"},Nr,null==w?void 0:w.nextButton),"❯");return I.createElement(I.Fragment,null,I.createElement(s.View,{position:"absolute",top:"50%",transform:"translateY(-50%)",left:"inside"===l?"10px":"-40px",onClick:M,cursor:b||0!==j?"pointer":"not-allowed",opacity:b||0!==j?1:.5},e),I.createElement(s.View,{position:"absolute",top:"50%",transform:"translateY(-50%)",right:"inside"===l?"10px":"-40px",onClick:H,cursor:b||j!==y.length-1?"pointer":"not-allowed",opacity:b||j!==y.length-1?1:.5},t))})(),u?I.createElement(s.Horizontal,Object.assign({position:"absolute",left:"0",right:"0",justifyContent:"center"},"top"===h?{top:"10px"}:{bottom:"10px"},null==w?void 0:w.indicators),y.map((e,t)=>I.createElement(s.View,Object.assign({key:t,onClick:()=>z(t),cursor:"pointer"},Ar[g],t===j?Object.assign({},Gr[g]):{},null==w?void 0:w.indicator,t===j?null==w?void 0:w.activeIndicator:{}),"number"===g&&t+1))):null)},ai=e=>I.createElement(ni,Object.assign({},e));ai.Slide=ei,ai.Content=ii,ai.Item=ri,ai.Previous=ti,ai.Next=oi;var li=["color.blue.500","color.green.500","color.purple.500","color.orange.500","color.red.500","color.teal.500","color.pink.500","color.indigo.500","color.yellow.500","color.cyan.500"],si={width:"100%",height:"100%",position:"relative",display:"flex",flexDirection:"column"},di={fontSize:"18px",fontWeight:"bold",marginBottom:"16px",textAlign:"center"},ci={display:"flex",flexWrap:"wrap",justifyContent:"center",marginTop:"16px"},ui={display:"flex",alignItems:"center",marginRight:"16px",marginBottom:"8px"},hi={width:"12px",height:"12px",borderRadius:"2px",marginRight:"6px"},gi={fontSize:"14px"},mi={position:"absolute",backgroundColor:"white",padding:"8px 12px",borderRadius:"4px",boxShadow:"0 2px 5px rgba(0, 0, 0, 0.1)",fontSize:"14px",pointerEvents:"none",zIndex:10},pi={stroke:"color.gray.200",strokeWidth:"1px"},vi={stroke:"color.gray.300",strokeWidth:"1px"},bi={fontSize:"12px",fill:"color.gray.600"},xi={rx:"2px",ry:"2px",cursor:"pointer",transition:"opacity 0.2s ease",_hover:{opacity:.8}},fi={strokeWidth:"2px",fill:"none"},wi={r:"4px",strokeWidth:"2px",stroke:"white",cursor:"pointer",transition:"r 0.2s ease"},Ei={strokeWidth:"1px",stroke:"white",cursor:"pointer",transition:"opacity 0.2s ease",_hover:{opacity:.8}},yi={position:"absolute",top:0,left:0,right:0,bottom:0,display:"flex",alignItems:"center",justifyContent:"center",backgroundColor:"rgba(255, 255, 255, 0.8)",borderRadius:"4px",zIndex:10,padding:"16px",textAlign:"center"},Ci=Object.assign({},yi),ji=Object.assign({},yi,{backgroundColor:"rgba(255, 235, 238, 0.9)",color:"color.red.700"}),ki=Object.assign({},yi,{backgroundColor:"rgba(245, 245, 245, 0.8)",color:"color.gray.600"}),Ii=e=>{var{data:t,width:r,height:i,animationProgress:n,showGrid:a=!0,onBarClick:l,showTooltip:s,hideTooltip:d,views:c}=e,u=r-50-20,h=i-20-40,g=o.useMemo(()=>{var e=0;return t.series.forEach(t=>{t.data.forEach(t=>{e=Math.max(e,t)})}),e},[t]),m=t.series.length,p=u/t.labels.length,v=.8*p/m,b=.2*p/(m+1),x=o.useMemo(()=>{for(var e=[],t=0;t<=5;t++)e.push(g/5*t);return e},[g]);return I.createElement("svg",{width:r,height:i},I.createElement("line",Object.assign({x1:50,y1:i-40,x2:r-20,y2:i-40},vi,null==c?void 0:c.axis)),I.createElement("line",Object.assign({x1:50,y1:20,x2:50,y2:i-40},vi,null==c?void 0:c.axis)),t.labels.map((e,t)=>I.createElement("text",Object.assign({key:"x-label-"+t,x:50+(t+.5)*p,y:i-40+20,textAnchor:"middle"},bi,null==c?void 0:c.axisLabel),e)),x.map((e,t)=>{var o=i-40-e/g*h;return I.createElement(I.Fragment,{key:"y-tick-"+t},I.createElement("text",Object.assign({x:40,y:o,textAnchor:"end",dominantBaseline:"middle"},bi,null==c?void 0:c.axisLabel),e.toFixed(0)),a&&I.createElement("line",Object.assign({x1:50,y1:o,x2:r-20,y2:o},pi,null==c?void 0:c.grid)))}),t.series.map((e,t)=>I.createElement(I.Fragment,{key:"series-"+t},e.data.map((o,r)=>{var a=o/g*h*n;return I.createElement("rect",Object.assign({key:"bar-"+t+"-"+r,x:50+r*p+b*(t+1)+v*t,y:i-40-a,width:v,height:a,fill:e.color,onMouseEnter:t=>{s(t.clientX,t.clientY,e.name+": "+o)},onMouseLeave:d,onClick:()=>{l&&l(e.name,r)}},xi,null==c?void 0:c.bar))}))))},Oi=e=>{var{data:t,width:r,height:i,animationProgress:n,showGrid:a=!0,onPointClick:l,showTooltip:s,hideTooltip:d,views:c}=e,u=r-50-20,h=i-20-40,g=o.useMemo(()=>{var e=0;return t.series.forEach(t=>{t.data.forEach(t=>{e=Math.max(e,t)})}),e},[t]),m=o.useMemo(()=>{for(var e=[],t=0;t<=5;t++)e.push(g/5*t);return e},[g]),p=e=>"M "+e.map((e,o)=>50+o/(t.labels.length-1)*u+","+(i-40-e/g*h*n)).join(" L "),v=e=>{var o=50+u,r=i-40;return"M 50,"+r+" L "+e.map((e,o)=>50+o/(t.labels.length-1)*u+","+(i-40-e/g*h*n)).join(" L ")+" L "+o+","+r+" Z"};return I.createElement("svg",{width:r,height:i},I.createElement("line",Object.assign({x1:50,y1:i-40,x2:r-20,y2:i-40},vi,null==c?void 0:c.axis)),I.createElement("line",Object.assign({x1:50,y1:20,x2:50,y2:i-40},vi,null==c?void 0:c.axis)),t.labels.map((e,o)=>I.createElement("text",Object.assign({key:"x-label-"+o,x:50+o/(t.labels.length-1)*u,y:i-40+20,textAnchor:"middle"},bi,null==c?void 0:c.axisLabel),e)),m.map((e,t)=>{var o=i-40-e/g*h;return I.createElement(I.Fragment,{key:"y-tick-"+t},I.createElement("text",Object.assign({x:40,y:o,textAnchor:"end",dominantBaseline:"middle"},bi,null==c?void 0:c.axisLabel),e.toFixed(0)),a&&I.createElement("line",Object.assign({x1:50,y1:o,x2:r-20,y2:o},pi,null==c?void 0:c.grid)))}),t.series.map((e,o)=>I.createElement(I.Fragment,{key:"series-"+o},I.createElement("path",Object.assign({d:v(e.data),fill:e.color,opacity:.1},null==c?void 0:c.area)),I.createElement("path",Object.assign({d:p(e.data),stroke:e.color},fi,null==c?void 0:c.line)),e.data.map((r,a)=>I.createElement("circle",Object.assign({key:"point-"+o+"-"+a,cx:50+a/(t.labels.length-1)*u,cy:i-40-r/g*h*n,fill:e.color,onMouseEnter:t=>{s(t.clientX,t.clientY,e.name+": "+r)},onMouseLeave:d,onClick:()=>{l&&l(e.name,a)}},wi,null==c?void 0:c.point))))))},Si=e=>{var{dataPoints:t,width:r,height:i,animationProgress:n,isDonut:a=!1,onSliceClick:l,showTooltip:d,hideTooltip:c,views:u}=e,{getColor:h}=s.useTheme(),g=Math.min(r,i)/2*.8,m=r/2,p=i/2,v=a?.6*g:0,b=o.useMemo(()=>t.reduce((e,t)=>e+t.value,0),[t]),x=o.useMemo(()=>{for(var e=[],o=-Math.PI/2,r=0;r<t.length;r++){var i,l=t[r].value/b,s=2*l*Math.PI*n,d=o+s,c=m+Math.cos(o)*g,u=p+Math.sin(o)*g,x=m+Math.cos(d)*g,f=p+Math.sin(d)*g,w=m+Math.cos(o)*v,E=p+Math.sin(o)*v,y=m+Math.cos(d)*v,C=p+Math.sin(d)*v,j=s>Math.PI?1:0;i=a?["M "+c+" "+u,"A "+g+" "+g+" 0 "+j+" 1 "+x+" "+f,"L "+y+" "+C,"A "+v+" "+v+" 0 "+j+" 0 "+w+" "+E,"Z"].join(" "):["M "+m+" "+p,"L "+c+" "+u,"A "+g+" "+g+" 0 "+j+" 1 "+x+" "+f,"Z"].join(" ");var k=o+s/2,I=.7*g,O=m+Math.cos(k)*I,S=p+Math.sin(k)*I,z=(100*l).toFixed(1)+"%",H=h(t[r].color||li[r%li.length]);e.push({path:i,color:H,label:t[r].label,value:t[r].value,percentage:z,labelX:O,labelY:S,startAngle:o,endAngle:d,index:r}),o=d}return e},[t,b,g,m,p,v,n,a]);return I.createElement("svg",{width:r,height:i},x.map((e,o)=>I.createElement("g",{key:"slice-"+o},I.createElement("path",Object.assign({d:e.path,fill:e.color,onMouseEnter:t=>{d(t.clientX,t.clientY,e.label+": "+e.value+" ("+e.percentage+")")},onMouseLeave:c,onClick:()=>{l&&l(t[e.index],e.index)}},Ei,null==u?void 0:u.pie)),e.endAngle-e.startAngle>.2&&I.createElement("text",{x:e.labelX,y:e.labelY,textAnchor:"middle",dominantBaseline:"middle",fill:"white",fontSize:"12px",fontWeight:"bold",pointerEvents:"none"},e.percentage))),a&&I.createElement("circle",{cx:m,cy:p,r:v,fill:"white"}))},zi=["type","data","dataPoints","title","showLegend","legendPosition","showGrid","showTooltips","animated","animationDuration","responsive","aspectRatio","width","height","views","onDataPointClick","onSeriesClick","isLoading","error","noData","loadingIndicator","errorIndicator","noDataIndicator","aria-label"],Hi=e=>{var{type:t,data:r,dataPoints:i,title:n,showLegend:a=!0,legendPosition:l="bottom",showGrid:d=!0,showTooltips:c=!0,animated:u=!0,animationDuration:h=500,responsive:g=!0,aspectRatio:m=16/9,width:p=200,height:v=200,views:b,onDataPointClick:x,onSeriesClick:f,isLoading:w=!1,error:E,noData:y,loadingIndicator:C,errorIndicator:j,noDataIndicator:k,"aria-label":S}=e,z=O(e,zi),{animationProgress:H,tooltip:M,containerRef:T,processedData:W,showTooltip:R,hideTooltip:V,getChartDimensions:L}=(e=>{var{data:t,dataPoints:r,animated:i=!0,animationDuration:n=500,showTooltips:a=!0}=e,[l,s]=o.useState(i?0:1),[d,c]=o.useState({visible:!1,x:0,y:0,content:""}),u=o.useRef(null),h=o.useRef(null);o.useEffect(()=>{if(i){var e=Date.now(),t=()=>{var o=Date.now()-e,r=Math.min(o/n,1);s(r),r<1&&(u.current=requestAnimationFrame(t))};return u.current=requestAnimationFrame(t),()=>{u.current&&cancelAnimationFrame(u.current)}}s(1)},[i,n]);var g=o.useCallback(()=>t?Object.assign({},t,{series:t.series.map((e,t)=>Object.assign({},e,{color:e.color||li[t%li.length]}))}):r?r.map((e,t)=>Object.assign({},e,{color:e.color||li[t%li.length]})):null,[t,r]),m=o.useCallback((e,t,o)=>{a&&c({visible:!0,x:e,y:t,content:o})},[a]),p=o.useCallback(()=>{c(e=>Object.assign({},e,{visible:!1}))},[]),v=o.useCallback(()=>{if(!h.current)return{width:0,height:0};var{width:e,height:t}=h.current.getBoundingClientRect();return{width:e,height:t}},[]);return{animationProgress:l,tooltip:d,containerRef:h,processedData:g,showTooltip:m,hideTooltip:p,getChartDimensions:v}})({data:r,dataPoints:i,animated:u,animationDuration:h,showTooltips:c}),B=W(),{width:P,height:_}=L(),D=p||P,F=v||(g?P/m:_),A=()=>{if(!a||!B)return null;var e=[];return"pie"===t||"donut"===t?Array.isArray(B)&&(e=B):B&&B.series&&(e=B.series),e&&0!==e.length?I.createElement(s.Horizontal,Object.assign({flexWrap:"wrap",justifyContent:"center",marginTop:"bottom"===l?"16px":0,marginBottom:"top"===l?"16px":0},ci,null==b?void 0:b.legend),e.map((e,t)=>I.createElement(s.View,Object.assign({key:"legend-"+t},ui,null==b?void 0:b.legendItem),I.createElement(s.View,Object.assign({backgroundColor:e.color},hi)),I.createElement(q,Object.assign({},gi),e.name||e.label)))):null},G=!E&&!w&&!y;return I.createElement(s.View,Object.assign({ref:T,role:"region","aria-label":null!=S?S:"string"==typeof n?n:"Chart","aria-busy":w},si,null==b?void 0:b.container,z),n&&I.createElement(q,Object.assign({},di),n),G&&"top"===l&&A(),I.createElement(s.View,Object.assign({flex:1,width:"100%",position:"relative"},null==b?void 0:b.chart),G&&(()=>{if(!B)return null;switch(t){case"bar":return I.createElement(Ii,{data:B,width:D,height:F,animationProgress:H,showGrid:d,onBarClick:f,showTooltip:R,hideTooltip:V,views:b});case"line":case"area":return I.createElement(Oi,{data:B,width:D,height:F,animationProgress:H,showGrid:d,onPointClick:f,showTooltip:R,hideTooltip:V,views:b});case"pie":case"donut":return I.createElement(Si,{dataPoints:B,width:D,height:F,animationProgress:H,isDonut:"donut"===t,onSliceClick:x,showTooltip:R,hideTooltip:V,views:b});default:return null}})(),w?I.createElement(s.View,Object.assign({},Ci,null==b?void 0:b.loadingOverlay),C||I.createElement(s.Center,null,I.createElement(jr,{size:"lg"}))):null,E?I.createElement(s.View,Object.assign({},ji,null==b?void 0:b.errorOverlay),j||I.createElement(q,{fontWeight:"medium"},"string"==typeof E?E:"An error occurred")):null,y?I.createElement(s.View,Object.assign({},ki,null==b?void 0:b.noDataOverlay),k||I.createElement(q,null,"string"==typeof y?y:"No data available")):null),G&&"bottom"===l&&A(),c&&M.visible?I.createElement(s.View,Object.assign({position:"fixed",left:M.x+"px",top:M.y-40+"px"},mi,null==b?void 0:b.tooltip),M.content):null)},Mi={sm:{padding:"6px 8px",fontSize:"14px",minWidth:"160px"},md:{padding:"8px 12px",fontSize:"16px",minWidth:"180px"},lg:{padding:"10px 16px",fontSize:"18px",minWidth:"200px"}},Ti={default:{backgroundColor:"white",color:"color.gray.800"},filled:{backgroundColor:"color.gray.100",color:"color.gray.800"},outline:{backgroundColor:"white",borderWidth:"1px",borderStyle:"solid",borderColor:"color.gray.200",color:"color.gray.800"}},Wi={hover:{backgroundColor:"color.gray.100"},active:{backgroundColor:"color.gray.200"},disabled:{opacity:.5,cursor:"not-allowed"}},Ri=["children","disableNativeContextMenu","asChild","isDisabled","views"],Vi=["items","children","position","side","align","views","style"],Li=["item","children","onSelect","isDisabled","views"],Bi=["views"],Pi=["views"],_i=["children","items","size","variant","disableNativeContextMenu","views"],Di=o.createContext({isOpen:!1,setIsOpen:()=>{},position:{x:0,y:0},setPosition:()=>{},activeSubmenuId:null,setActiveSubmenuId:()=>{},size:"md",variant:"default",triggerRef:{current:null},contentRef:{current:null},contentId:"contextmenu-content",closeMenu:()=>{},openMenu:()=>{}}),Fi=e=>{var{children:t,value:o}=e;return I.createElement(Di.Provider,{value:o},t)},Ai=()=>{var e=o.useContext(Di);if(!e)throw new Error("useContextMenuContext must be used within a ContextMenuProvider");return e},Gi=e=>{var{children:t,disableNativeContextMenu:o=!0,asChild:r=!1,isDisabled:i=!1,views:n}=e,a=O(e,Ri),{triggerRef:l,contentId:d,openMenu:c}=Ai(),u=Object.assign({ref:l,onContextMenu:e=>{if(!i)if(o&&e.preventDefault(),c)c(e);else{var{setIsOpen:t,setPosition:r}=Ai();r({x:e.clientX,y:e.clientY}),t(!0)}},"aria-controls":d,"aria-haspopup":"menu","data-disabled":i?"":void 0},r&&I.isValidElement(t)&&void 0===t.props.isDisabled&&{isDisabled:i},null==n?void 0:n.container,a);if(r&&I.isValidElement(t)){var h=I.Children.only(t);return I.cloneElement(h,Object.assign({},u,h.props))}return I.createElement(s.View,Object.assign({},u),t)},Ni=e=>{var{items:t,children:r,position:i,side:n="right",align:a="start",views:l,style:d}=e,c=O(e,Vi),{isOpen:u,position:h,contentRef:g,contentId:m,variant:p}=Ai(),v=o.useRef(null),[b,x]=o.useState({x:0,y:0}),f=g||v;return o.useEffect(()=>{if(u&&f.current){var e=window.innerWidth,t=window.innerHeight,o=i||h,r=function(e,t,o,r,i,n,a,l){void 0===a&&(a="right"),void 0===l&&(l="start");var s=e,d=t;return"left"===a?s=e-o:"right"===a?s=e:"top"!==a&&"bottom"!==a||("center"===l?s=e-o/2:"end"===l&&(s=e-o)),"top"===a?d=t-r:"bottom"===a?d=t:"left"!==a&&"right"!==a||("center"===l?d=t-r/2:"end"===l&&(d=t-r)),s+o>i&&(s=i-o),s<0&&(s=0),d+r>n&&(d=n-r),d<0&&(d=0),{x:s,y:d}}(o.x,o.y,f.current.offsetWidth,f.current.offsetHeight,e,t,n,a);x(r)}},[u,h,i,n,a,f]),u?I.createElement(s.View,Object.assign({id:m||"context-menu",ref:f,role:"menu",tabIndex:-1,borderRadius:4,boxShadow:"0px 2px 8px rgba(0, 0, 0, 0.15)",overflow:"hidden",style:Object.assign({},{position:"fixed",top:b.y+"px",left:b.x+"px",zIndex:1e3,transformOrigin:"top left"},d)},Ti[p],null==l?void 0:l.menu,null==l?void 0:l.content,c),t&&t.map((e,t)=>e.divider?I.createElement(Yi,{key:"divider-"+t,views:l}):I.createElement(Ui,{key:e.id,item:e,views:l})),r):null},Ui=e=>{var{item:t,children:r,onSelect:i,isDisabled:n=!1,views:a}=e,l=O(e,Li),{activeSubmenuId:d,setActiveSubmenuId:c,size:u,closeMenu:h}=Ai();if(t){var[g,m]=o.useState(!1),p=t.items&&t.items.length>0,v=d===t.id,b=o.useRef(null),[x,f]=o.useState({x:0,y:0}),w=t.disabled||n;return o.useEffect(()=>{if(v&&b.current){var e=b.current.getBoundingClientRect();f({x:e.right,y:e.top})}},[v]),I.createElement(s.View,Object.assign({ref:b,role:"menuitem",display:"flex",alignItems:"center",cursor:w?"not-allowed":"pointer",opacity:w?.5:1,position:"relative","aria-disabled":w,"data-disabled":w?"":void 0},Mi[u],{_hover:w?{}:Wi.hover,backgroundColor:g&&!w?"color.gray.100":"transparent",onMouseEnter:()=>{m(!0),p&&c(t.id)},onMouseLeave:()=>{m(!1)},onClick:()=>{w||!p&&t.onClick&&(t.onClick(),h&&h())}},null==a?void 0:a.item,l),t.icon&&I.createElement(s.View,Object.assign({marginRight:8},null==a?void 0:a.icon),t.icon),I.createElement(s.View,{flexGrow:1},t.label),p&&I.createElement(s.View,Object.assign({marginLeft:8},null==a?void 0:a.submenuIndicator),I.createElement("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},I.createElement("path",{d:"M8.59 16.59L13.17 12L8.59 7.41L10 6L16 12L10 18L8.59 16.59Z",fill:"currentColor"}))),v&&p&&I.createElement(Ni,{items:t.items||[],position:x,side:"right",align:"start",views:a}))}return I.createElement(s.View,Object.assign({role:"menuitem",onClick:e=>{n||(null==i||i(e),h&&h())},cursor:n?"not-allowed":"pointer",opacity:n?.5:1,"aria-disabled":n,"data-disabled":n?"":void 0},Mi[u],{_hover:n?{}:Wi.hover},null==a?void 0:a.item,l),r)},Yi=e=>{var{views:t}=e,o=O(e,Bi);return I.createElement(s.View,Object.assign({height:"1px",backgroundColor:"color.gray.200",margin:"4px 0",role:"separator","aria-orientation":"horizontal"},null==t?void 0:t.divider,o))},Ki=e=>{var{children:t,items:o,size:r="md",variant:i="default",disableNativeContextMenu:n=!0,views:a}=e,l=O(e,_i);return o&&0!==o.length?I.createElement(I.Fragment,null,I.createElement(Gi,Object.assign({disableNativeContextMenu:n,views:a},l),t),I.createElement(Ni,{items:o,views:a})):I.createElement(I.Fragment,null,t)},Xi=["children","items","size","variant","disableNativeContextMenu","onOpenChange","views"],qi=e=>{var{children:t,items:r,size:i="md",variant:n="default",disableNativeContextMenu:a=!0,onOpenChange:l,views:s}=e,d=O(e,Xi),c=(e=>{var{size:t,variant:r,onOpenChange:i}=e||{},[n,a]=o.useState(!1),[l,s]=o.useState({x:0,y:0}),[d,c]=o.useState(null),u=o.useRef(null),h=o.useRef(null),g=I.useMemo(()=>S("contextmenu-content"),[]),m=o.useCallback(e=>{s({x:e.clientX,y:e.clientY}),a(!0),null==i||i(!0)},[i]),p=o.useCallback(()=>{a(!1),c(null),null==i||i(!1)},[i]);return o.useEffect(()=>{var e=e=>{h.current&&!h.current.contains(e.target)&&p()},t=()=>{n&&p()},o=e=>{"Escape"===e.key&&n&&p()};return document.addEventListener("mousedown",e),window.addEventListener("resize",t),document.addEventListener("keydown",o),()=>{document.removeEventListener("mousedown",e),window.removeEventListener("resize",t),document.removeEventListener("keydown",o)}},[n,p]),{isOpen:n,setIsOpen:a,position:l,setPosition:s,activeSubmenuId:d,setActiveSubmenuId:c,size:t,variant:r,triggerRef:u,contentRef:h,contentId:g,openMenu:m,closeMenu:p}})({size:i,variant:n,onOpenChange:l}),{isOpen:u,setIsOpen:h,position:g,setPosition:m,activeSubmenuId:p,setActiveSubmenuId:v,triggerRef:b,contentRef:x,contentId:f,openMenu:w,closeMenu:E}=c;return I.createElement(Fi,{value:{isOpen:u,setIsOpen:h,position:g,setPosition:m,activeSubmenuId:p,setActiveSubmenuId:v,size:i,variant:n,triggerRef:b,contentRef:x,contentId:f,openMenu:w,closeMenu:E,styles:s}},I.createElement(Ki,Object.assign({items:r,size:i,variant:n,disableNativeContextMenu:a,views:s},d),t))};qi.Trigger=Gi,qi.Content=Ni,qi.Item=Ui,qi.Divider=Yi,qi.Separator=e=>{var{views:t}=e,o=O(e,Pi);return I.createElement(s.View,Object.assign({height:"1px",backgroundColor:"color.gray.200",margin:"4px 0",role:"separator","aria-orientation":"horizontal"},null==t?void 0:t.separator,o))};var Zi=["src","color","views","themeMode"],Ji=["path"],Qi=e=>{var{placeholder:t,isMulti:o,options:r}=e,i=t?o?[]:"":Array.isArray(r)&&r.length>0?r[0].value:"",[n,a]=I.useState(!0),[l,s]=I.useState(!1),[d,c]=I.useState(!1),[u,h]=I.useState(i),[g,m]=I.useState(0);return{value:u,setValue:h,hide:n,setHide:a,isHovered:l,setIsHovered:s,isFocused:d,setIsFocused:c,highlightedIndex:g,setHighlightedIndex:m}},$i=["children","views"],en=e=>{var{children:t,views:o={helperText:{}}}=e,r=O(e,$i);return I.createElement(q,Object.assign({size:"xs",fontWeight:"400",letterSpacing:"-0.01em",lineHeight:"16px",marginVertical:0,marginHorizontal:0,color:"color.gray.500",transition:"all 0.2s ease"},o.helperText,r),t)},tn=["children","helperText","error","views"],on=e=>{var{children:t,helperText:o,error:r=!1,views:i}=e,n=O(e,tn);return I.createElement(s.Vertical,Object.assign({gap:8,position:"relative",width:"100%"},n),t,!r&&o&&I.createElement(en,Object.assign({marginTop:4},i),o),r&&I.createElement(q,{size:"xs",marginTop:4,marginHorizontal:0,fontWeight:"500",color:"color.red.500",transition:"all 0.2s ease"},r))},rn={default:{borderRadius:"8px"},sharp:{borderRadius:0},rounded:{borderRadius:"8px"},pillShaped:{borderRadius:"9999px"}},nn={xs:"12px",sm:"14px",md:"16px",lg:"18px",xl:"20px"},an={outline:{borderWidth:"1px",borderStyle:"solid",borderColor:"color.gray.200",backgroundColor:"white",transition:"all 0.2s ease",_hover:{borderColor:"color.gray.300"},_focus:{borderColor:"theme.primary",boxShadow:"0 0 0 1px rgba(66, 153, 225, 0.2)"},"@media (prefers-color-scheme: dark)":{backgroundColor:"color.gray.800",borderColor:"color.gray.700",_hover:{borderColor:"color.gray.600"},_focus:{borderColor:"theme.primary",boxShadow:"0 0 0 1px rgba(66, 153, 225, 0.4)"}}},default:{borderWidth:0,borderBottomWidth:"1px",borderBottomStyle:"solid",borderBottomColor:"color.gray.200",borderRadius:0,backgroundColor:"white",transition:"all 0.2s ease",_hover:{borderBottomColor:"color.gray.300"},_focus:{borderBottomColor:"theme.primary"},"@media (prefers-color-scheme: dark)":{backgroundColor:"color.gray.800",borderBottomColor:"color.gray.700",_hover:{borderBottomColor:"color.gray.600"},_focus:{borderBottomColor:"theme.primary"}}},none:{border:"none",backgroundColor:"transparent",transition:"all 0.2s ease"}},ln={paddingTop:"16px",paddingBottom:"8px",paddingLeft:"16px",paddingRight:"16px"},sn={paddingTop:"12px",paddingBottom:"12px",paddingLeft:"16px",paddingRight:"16px"},dn=["label","shadow","children","value","size","shape","variant","error","showLabel","isFocused","isHovered","isDisabled","isReadOnly","views"],cn=e=>{var{shadow:t,children:o,size:r="md",shape:i="default",variant:n="default",error:a=!1,showLabel:l=!1,isFocused:d=!1,isHovered:c=!1,isDisabled:u=!1,isReadOnly:h=!1,views:g={pickerBox:{}}}=e,m=O(e,dn);return I.createElement(s.Horizontal,Object.assign({gap:8,width:"100%",display:"flex",flexWrap:"nowrap",alignItems:"center",justifyContent:"space-between",marginBottom:8,borderStyle:"solid",borderColor:a?"color.red.500":!c&&!d||u?"color.gray.300":"theme.primary",backgroundColor:"color.white",fontSize:s.Typography.fontSizes[r],cursor:u?"not-allowed":h?"auto":"text",opacity:u?.6:1,transition:"all 0.2s ease"},l?ln:sn,t,rn[i],an[n],g.box,m),o)},un=["children"],hn=e=>{var{children:t}=e,o=O(e,un);return I.createElement(s.Center,Object.assign({gap:10,right:16,zIndex:500,flexWrap:"nowrap",position:"absolute"},o),t)},gn={h1:{fontSize:96,lineHeight:112,letterSpacing:-1.5},h2:{fontSize:60,lineHeight:71,letterSpacing:-.5},h3:{fontSize:48,lineHeight:57,letterSpacing:0},h4:{fontSize:34,lineHeight:40,letterSpacing:.25},h5:{fontSize:24,lineHeight:28,letterSpacing:0},h6:{fontSize:20,lineHeight:24,letterSpacing:.15}},mn=["children","heading","isItalic","isUnderlined","isStriked","weight","size"],pn=e=>{var{children:t,heading:o,isItalic:r=!1,isUnderlined:i=!1,isStriked:n=!1,weight:a="normal",size:l="sm"}=e,d=O(e,mn);return I.createElement(s.Element,Object.assign({as:"label",width:"100%",fontSize:l,fontStyle:r?"italic":"normal",fontWeight:s.Typography.fontWeights[a],textDecoration:n?"line-through":i?"underline":"none"},o?gn[o]:{},d),t)},vn=e=>I.createElement(pn,Object.assign({},e)),bn=["children","size","error","color","views","helperText"],xn=e=>{var{children:t,size:o="md",error:r=!1,color:i="theme.primary",views:n={label:{}}}=e,a=O(e,bn);return I.createElement(vn,Object.assign({top:0,zIndex:-10,position:"absolute",fontSize:nn[o],lineHeight:nn[o],letterSpacing:"-0.01em",whiteSpace:"nowrap",color:r?"color.red.500":i,transition:"all 0.2s ease"},n.label,a),t)},fn=["children"],wn=e=>{var{children:t}=e,o=O(e,fn);return I.createElement(s.Vertical,Object.assign({width:"100%",maxWidth:"100%",position:"relative"},o),t)},En={xs:12,sm:16,md:20,lg:24,xl:28},yn=["isHovered","setIsHovered","option","size","callback","style"],Cn=["id","name","value","onChange","isMulti","isDisabled","isReadOnly","options"],jn=["option","size","removeOption"],kn=["id","name","label","value","placeholder","helperText","hide","error","isMulti","isFocused","isHovered","isDisabled","isReadOnly","options","shadow","size","shape","variant","views","onChange","setHide","setValue","setIsHovered","setIsFocused","setHighlightedIndex","highlightedIndex"],In=e=>{var{isHovered:t,setIsHovered:o,option:r,size:i="md",callback:n=(()=>{}),style:a}=e,l=O(e,yn),d=()=>o(!t);return I.createElement(s.Element,Object.assign({as:"li",margin:0,paddingVertical:12,paddingHorizontal:16,listStyleType:"none",onMouseEnter:d,onMouseLeave:d,onClick:()=>(e=>n(e))(r.value),backgroundColor:t?"color.gray.100":"transparent",borderRadius:"4px",transition:"all 0.15s ease"},l),I.createElement(q,Object.assign({fontSize:s.Typography.fontSizes[i],fontWeight:"400",lineHeight:"1.5"},a),r.label))},On=e=>{var t,{size:o="md",views:r={field:{},text:{}},value:i,isDisabled:n,placeholder:a,removeOption:l=(()=>{}),options:d}=e,c=Object.assign({margin:0,width:"95%",height:"100%",border:"none",paddingVertical:12,paddingHorizontal:0,fontSize:s.Typography.fontSizes[o],fontWeight:"400",lineHeight:"1.5",letterSpacing:"-0.01em",backgroundColor:"transparent",color:n?"color.gray.400":"color.gray.900",cursor:n?"not-allowed":"pointer",transition:"all 0.2s ease","@media (prefers-color-scheme: dark)":{color:n?"color.gray.600":"color.gray.100"}},r.field,r.text),u=d.length>0&&d.find(e=>e.value===i);return I.createElement(q,Object.assign({},c),(""===i||Array.isArray(i)&&0===i.length)&&a?a:I.createElement(I.Fragment,null,"string"==typeof i?null!=(t=u&&u.label)?t:i:Array.isArray(i)&&i.length>0?I.createElement(s.Horizontal,{gap:6},i.map(e=>I.createElement(Hn,{key:e,option:e,removeOption:l}))):I.createElement("span",null,i)))},Sn=e=>{var{id:t,name:o,value:r,onChange:i,isMulti:n=!1,isDisabled:a=!1,isReadOnly:l=!1,options:d=[]}=e,c=O(e,Cn);return I.createElement(s.Element,Object.assign({id:t,name:o,as:"select",opacity:0,width:0,height:0,position:"absolute",value:r,disabled:a,readOnly:l,onChange:e=>{i&&i(e)},multiple:n},c),d.length>0&&d.map(e=>I.createElement("option",{key:e.value,value:e.value},e.label)))},zn=e=>{var{size:t,views:o={dropDown:{}},options:r,callback:i=(()=>{}),highlightedIndex:n,setHighlightedIndex:a}=e,l=(()=>{var[e,t]=I.useState(!1);return{isHovered:e,setIsHovered:t}})(),d=e=>i(e);return I.createElement(s.Element,Object.assign({as:"ul",role:"dropdown",top:"100%",width:"100%",display:"flex",flexDirection:"column",position:"absolute",marginTop:8,marginLeft:0,marginRight:0,marginBottom:0,padding:0,maxHeight:"240px",overflowY:"auto",zIndex:1e3,backgroundColor:"white",borderRadius:"8px",borderWidth:"1px",borderStyle:"solid",borderColor:"color.gray.200",transition:"all 0.2s ease",style:{scrollbarWidth:"thin",scrollbarColor:"rgba(0, 0, 0, 0.2) transparent","&::-webkit-scrollbar":{width:"4px"},"&::-webkit-scrollbar-track":{background:"transparent"},"&::-webkit-scrollbar-thumb":{background:"rgba(0, 0, 0, 0.2)",borderRadius:"4px"}}},{boxShadow:"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)"},o.dropDown),r.length>0&&r.map((e,r)=>I.createElement(In,Object.assign({key:e.value,size:t,style:o.text,option:e,callback:d,backgroundColor:r===n?"color.gray.100":"transparent",onMouseEnter:()=>a(r)},l))))},Hn=e=>{var{option:t,size:o="md",removeOption:r=(()=>{})}=e,i=O(e,jn);return I.createElement(s.Horizontal,Object.assign({gap:8,padding:8,alignItems:"center",borderRadius:"6px",backgroundColor:"color.gray.200",fontSize:s.Typography.fontSizes[o],onClick:e=>e.stopPropagation(),transition:"all 0.2s ease"},i),I.createElement(q,{size:o,fontWeight:"500"},t),I.createElement(Mt,{role:"close-button",color:"inherit",widthHeight:En[o],onClick:()=>r(t),transition:"all 0.2s ease",_hover:{opacity:.7}}))},Mn=e=>{var{id:t,name:r,label:i,value:n,placeholder:a,helperText:l,hide:s=!1,error:d=!1,isMulti:c=!1,isFocused:u=!1,isHovered:h=!1,isDisabled:g=!1,isReadOnly:m=!1,options:p=[],shadow:v={},size:b="md",shape:x="default",variant:f="default",views:w={text:{},icon:{},dropDown:{},selectBox:{},label:{},helperText:{}},onChange:E=(()=>{}),setHide:y=(()=>{}),setValue:C=(()=>{}),setIsHovered:j=(()=>{}),setIsFocused:k=(()=>{}),setHighlightedIndex:S,highlightedIndex:z}=e,H=O(e,kn),M=!(!u||!i),T=()=>j(!h),W=o.useCallback(e=>{y(!s),c&&Array.isArray(n)?!n.includes(e)&&C([...n,e]):C(e),E&&E(e)},[s,c,n]);return I.createElement(on,{role:"SelectBox",helperText:l,error:d,views:w,onClick:g||m?()=>{}:e=>{e&&e.stopPropagation&&e.stopPropagation(),y(!s),k(!u)}},I.createElement(cn,{label:i,size:b,error:d,shape:x,views:w,shadow:v,variant:f,value:n,color:"theme.primary",isHovered:h,isDisabled:g,isReadOnly:m,isFocused:u,showLabel:M,onMouseEnter:T,onMouseLeave:T},I.createElement(wn,null,M&&I.createElement(xn,Object.assign({htmlFor:t,color:"theme.primary",error:d},w),i),I.createElement(Sn,Object.assign({id:t,name:r,options:p,onChange:E,value:n,isDisabled:g,isReadOnly:m,isMulti:c,onFocus:()=>k(!0)},H)),I.createElement(On,{options:p,size:b,views:w,value:n,isDisabled:g,placeholder:a,removeOption:e=>{if(Array.isArray(n)&&n.includes(e)){var t=n.filter(t=>t!==e);C(0===t.length?[]:t)}}})),I.createElement(hn,null,!m&&!g&&I.createElement(I.Fragment,null,I.createElement(Ct,s?{color:"inherit",widthHeight:En[b],style:w.icon,orientation:"down"}:{color:"inherit",orientation:"up",widthHeight:En[b],style:w.icon})))),!s&&I.createElement(zn,{size:b,views:w,options:p,callback:W,highlightedIndex:z,setHighlightedIndex:S}))},Tn=e=>{var{isDisabled:t,isChecked:o}=e,[r,i]=I.useState(!1),[n,a]=I.useState(t?!t:o);return{isHovered:r,setIsHovered:i,on:n,setOn:a}},Wn={xs:{height:"12px",width:"12px"},sm:{height:"16px",width:"16px"},md:{height:"20px",width:"20px"},lg:{height:"24px",width:"24px"},xl:{height:"28px",width:"28px"},"2xl":{height:"32px",width:"32px"},"3xl":{height:"36px",width:"36px"},"4xl":{height:"40px",width:"40px"},"5xl":{height:"44px",width:"44px"},"6xl":{height:"48px",width:"48px"}},Rn={xs:{height:"24px",width:"40px"},sm:{height:"28px",width:"48px"},md:{height:"32px",width:"56px"},lg:{height:"36px",width:"64px"},xl:{height:"40px",width:"72px"},"2xl":{height:"44px",width:"80px"},"3xl":{height:"48px",width:"88px"},"4xl":{height:"52px",width:"96px"},"5xl":{height:"56px",width:"104px"},"6xl":{height:"60px",width:"112px"}},Vn={xs:{paddingVertical:4,paddingHorizontal:4},sm:{paddingVertical:4,paddingHorizontal:4},md:{paddingVertical:4,paddingHorizontal:4},lg:{paddingVertical:4,paddingHorizontal:4},xl:{paddingVertical:4,paddingHorizontal:4},"2xl":{paddingVertical:4,paddingHorizontal:4},"3xl":{paddingVertical:4,paddingHorizontal:4},"4xl":{paddingVertical:4,paddingHorizontal:4},"5xl":{paddingVertical:4,paddingHorizontal:4},"6xl":{paddingVertical:4,paddingHorizontal:4}},Ln=["id","name","label","inActiveChild","activeChild","labelPosition","shadow","size","value","isHovered","isDisabled","isReadOnly","on","setOn","onChange","setValue","setIsHovered","helperText","views"],Bn=e=>I.createElement(s.Input,Object.assign({type:"checkbox"},e)),Pn=e=>{var{id:t,name:o,label:r,inActiveChild:i,activeChild:n,labelPosition:a="right",shadow:l={},size:d="sm",value:c=!1,isHovered:u=!1,isDisabled:h=!1,isReadOnly:g=!1,on:m,setOn:p,onChange:v,setValue:b=(()=>{}),setIsHovered:x=(()=>{}),views:f={slider:{},circle:{},label:{}}}=e,w=O(e,Ln),E=()=>x(!u),y={container:Object.assign({gap:12,display:"flex",height:"fit-content",width:"fit-content",alignItems:"center",cursor:h?"not-allowed":g?"default":"pointer",opacity:h?.6:1,transition:"all 0.2s ease"},f.label)};return I.createElement(vn,Object.assign({htmlFor:t,onMouseEnter:E,onMouseLeave:E},y.container,w),I.createElement(Bn,Object.assign({id:t,name:o,opacity:0,width:0,height:0,checked:c,onChange:e=>{g||(b(!c),p(!m),v&&v(e.target.checked))},disabled:h,readOnly:g},w)),"left"===a&&r&&I.createElement(q,{fontWeight:"500",color:h?"color.gray.400":"color.gray.700",transition:"all 0.2s ease"},r),I.createElement(s.View,Object.assign({display:"flex",alignItems:"center",justifyContent:n?"space-between":c?"flex-end":"flex-start",marginBottom:4,borderRadius:"9999px",backgroundColor:h?"color.gray.200":c?u?"color.blue.600":"theme.primary":u?"color.gray.400":"color.gray.300",cursor:"pointer",transition:"all 0.3s cubic-bezier(0.4, 0, 0.2, 1)"},l,Vn[d],Rn[d],f.slider),n&&c&&I.createElement(s.View,{marginLeft:8,transition:"all 0.3s ease"},n),I.createElement(s.View,Object.assign({borderRadius:"50%",backgroundColor:"white",boxShadow:"0 1px 2px rgba(0, 0, 0, 0.1)",transition:"all 0.3s cubic-bezier(0.4, 0, 0.2, 1)"},Wn[d],f.circle)),i&&!c&&I.createElement(s.View,{marginRight:8,transition:"all 0.3s ease"},i)),"right"===a&&r&&I.createElement(q,{fontWeight:"500",color:h?"color.gray.400":"color.gray.700",transition:"all 0.2s ease"},r))},_n=e=>{var{label:t,placeholder:r,value:i}=e,[n,a]=o.useState(null!=t?t:r),[l,s]=o.useState(!1),[d,c]=o.useState(i||""),[u,h]=o.useState(!1);return o.useMemo(()=>{a(u&&!d?null!=r?r:"":null!=t?t:r)},[d,u,t,r]),{hint:n,setHint:a,isHovered:l,setIsHovered:s,value:d,setValue:c,isFocused:u,setIsFocused:h}},Dn=["id","name","hint","error","value","label","shadow","helperText","placeholder","size","shape","variant","isHovered","isFocused","isEditable","isReadOnly","isDisabled","isAutoFocus","isMultiline","maxRows","maxCols","onBlur","onChange","onFocus","onChangeText","setHint","setValue","setIsFocused","setIsHovered","views"],Fn=e=>{var{id:t,name:o,hint:r,error:i,value:n,label:a,shadow:l,helperText:d,size:c="sm",shape:u="default",variant:h="default",isHovered:g=!1,isFocused:m=!1,isEditable:p=!1,isReadOnly:v=!1,isDisabled:b=!1,isAutoFocus:x=!1,isMultiline:f=!1,maxRows:w=3,maxCols:E=30,onBlur:y=(()=>{}),onChange:C,onFocus:j,onChangeText:k,setHint:S=(()=>{}),setValue:z=(()=>{}),setIsFocused:H=(()=>{}),setIsHovered:M=(()=>{}),views:T={box:{},text:{},label:{},helperText:{},field:{}}}=e,W=O(e,Dn),R=!(!m||!a),V=Object.assign({margin:0,paddingVertical:12,paddingHorizontal:0,width:"100%",height:"100%",minHeight:"80px",border:"none",resize:"vertical",on:{focus:{outline:"none"}},fontSize:s.Typography.fontSizes[c],lineHeight:"1.5",letterSpacing:"-0.01em",backgroundColor:"transparent",color:b?"color.gray.400":"color.gray.900",cursor:b?"not-allowed":"text",transition:"all 0.2s ease","@media (prefers-color-scheme: dark)":{color:b?"color.gray.600":"color.gray.100"}},T.field),L=()=>M(!g),B=e=>{"string"==typeof e?(z(e),k&&k(e),C&&C(e)):(z(e.target.value),k&&k(e.target.value),C&&C(e.target.value))};return I.createElement(on,{helperText:d,error:i,views:T},I.createElement(cn,{label:a,size:c,error:i,shape:u,views:T,shadow:l,variant:h,value:n,color:"theme.primary",isHovered:g,isDisabled:b,isReadOnly:v,isFocused:m,showLabel:R,onMouseEnter:L,onMouseLeave:L},I.createElement(wn,null,R&&I.createElement(xn,Object.assign({htmlFor:t,color:"theme.primary",error:i},T),a),I.createElement(s.Element,Object.assign({as:"textarea",id:t,name:o,rows:w,cols:E,value:n,readOnly:v,disabled:b,autoFocus:x,editable:p,placeholder:r,onBlur:e=>{y(e),H(!1)},onFocus:()=>{H(!0),j&&j()},multiline:f},V,W,{onChange:B,onChangeText:B})))))},An=e=>{var{label:t,placeholder:r,value:i}=e,[n,a]=o.useState(null!=t?t:r),[l,s]=o.useState(!1),[d,c]=o.useState(!1),[u,h]=o.useState(i);return o.useMemo(()=>{a(l&&!u?null!=r?r:"":null!=t?t:r)},[u,l,t,r]),{hint:n,setHint:a,isFocused:l,setIsFocused:s,isHovered:d,setIsHovered:c,setValue:h,value:u}},Gn=["id","name","label","hint","value","onChange","left","right","helperText","placeholder","onChangeText","shadow","views","size","shape","variant","error","isFocused","isHovered","isDisabled","isReadOnly","isClearable","isAutoFocus","setHint","setIsFocused","setIsHovered","setValue","onClick","onFocus","onBlur","themeMode"],Nn=e=>I.createElement(s.Input,Object.assign({type:"text"},e)),Un=e=>{var{id:t,name:o,label:r,hint:i,value:n,onChange:a,left:l,right:d,helperText:c,onChangeText:u,shadow:h={},views:g={box:{},field:{},label:{},helperText:{},text:{}},size:m="md",shape:p="default",variant:v="default",error:b=!1,isFocused:x=!1,isHovered:f=!1,isDisabled:w=!1,isReadOnly:E=!1,isClearable:y=!0,isAutoFocus:C=!1,setHint:j=(()=>{}),setIsFocused:k=(()=>{}),setIsHovered:S=(()=>{}),setValue:z=(()=>{}),onClick:H=(()=>{}),onFocus:M,onBlur:T=(()=>{}),themeMode:W}=e,R=O(e,Gn),{getColor:V,themeMode:L}=s.useTheme(),B=V("color.blueGray.700",W||L),P=!(!x||!r),_=Object.assign({margin:0,paddingVertical:8,paddingHorizontal:0,width:"100%",height:"100%",border:"none",on:{focus:{outline:"none"}},fontSize:s.Typography.fontSizes[m],lineHeight:s.Typography.fontSizes[m],letterSpacing:"-0.01em",backgroundColor:"transparent",color:w?"color.gray.400":"color.gray.900",cursor:w?"not-allowed":"text",transition:"all 0.2s ease","@media (prefers-color-scheme: dark)":{color:w?"color.gray.600":"color.gray.100"}},g.field),D=()=>S(!f);return I.createElement(on,{helperText:c,error:b,views:g},I.createElement(cn,{label:r,size:m,error:b,shape:p,views:g,shadow:h,variant:v,value:n,color:"theme.primary",isHovered:f,isDisabled:w,isReadOnly:E,isFocused:x,showLabel:P,onMouseEnter:D,onMouseLeave:D},l,I.createElement(wn,null,P&&I.createElement(xn,Object.assign({htmlFor:t,color:"theme.primary",error:b},g),r),I.createElement(Nn,Object.assign({id:t,name:o,readOnly:E,disabled:w,autoFocus:C,placeholder:i,onFocus:()=>{k(!0),M&&M()},onBlur:e=>{T&&T(e),k(!1)},autoComplete:"off"},_,R,{onChange:e=>{"string"==typeof e?(z(e),u&&u(e),a&&a(e)):(z(e.target.value),u&&u(e.target.value),a&&a(e.target.value))},value:n}))),y&&n&&!E&&!w&&I.createElement(hn,null,I.createElement(Mt,{widthHeight:s.Typography.fontSizes[m],color:B,onClick:()=>{z(""),a&&(T({target:{name:o}}),u&&u(""),a&&a("")),"undefined"==typeof document&&u&&u("")}})),d))},Yn=e=>{var{defaultIsSelected:t=!1}=e,[o,r]=I.useState(!1),[i,n]=I.useState(t);return{isHovered:o,setIsHovered:r,isSelected:i,setIsSelected:n}},Kn={xs:{height:"16px",width:"16px"},sm:{height:"20px",width:"20px"},md:{height:"24px",width:"24px"},lg:{height:"28px",width:"28px"},xl:{height:"32px",width:"32px"},"2xl":{height:"36px",width:"36px"},"3xl":{height:"40px",width:"40px"},"4xl":{height:"44px",width:"44px"},"5xl":{height:"48px",width:"48px"},"6xl":{height:"52px",width:"52px"}},Xn={xs:10,sm:14,md:16,lg:20,xl:24,"2xl":28,"3xl":32,"4xl":36,"5xl":40,"6xl":44},qn={selected:{backgroundColor:"theme.primary",borderColor:"theme.primary",color:"white"},unselected:{backgroundColor:"transparent",borderWidth:"2px",borderStyle:"solid",borderColor:"color.gray.300",color:"transparent"},indeterminate:{backgroundColor:"theme.primary",borderColor:"theme.primary",color:"white"}},Zn={hover:{selected:{backgroundColor:"color.blue.600",borderColor:"color.blue.600"},unselected:{borderColor:"color.gray.400"},indeterminate:{backgroundColor:"color.blue.600",borderColor:"color.blue.600"}},disabled:{selected:{backgroundColor:"color.gray.300",borderColor:"color.gray.300",opacity:.6},unselected:{borderColor:"color.gray.300",opacity:.6},indeterminate:{backgroundColor:"color.gray.300",borderColor:"color.gray.300",opacity:.6}},error:{selected:{backgroundColor:"color.red.500",borderColor:"color.red.500"},unselected:{borderColor:"color.red.500"},indeterminate:{backgroundColor:"color.red.500",borderColor:"color.red.500"}}},Jn=["id","icon","name","label","isChecked","onChange","onValueChange","shadow","labelPosition","size","error","isSelected","isHovered","isDisabled","isReadOnly","isIndeterminate","defaultIsSelected","setIsSelected","setIsHovered","views","infoText","helperText"],Qn=e=>{var{id:t,icon:o,label:r,isChecked:i,onChange:n,onValueChange:a,shadow:l={},labelPosition:d="right",size:c="md",error:u=!1,isSelected:h=!1,isHovered:g=!1,isDisabled:m=!1,isReadOnly:p=!1,isIndeterminate:v=!1,defaultIsSelected:b=!1,setIsSelected:x=(()=>{}),setIsHovered:f=(()=>{}),views:w={checkbox:{},label:{}},infoText:E}=e,y=O(e,Jn),C=()=>f(!g),j=v?"indeterminate":i||h?"selected":"unselected",k=u?Zn.error[j]:m?Zn.disabled[j]:g?Zn.hover[j]:{},S={container:Object.assign({gap:8,display:"flex",height:"fit-content",flexDirection:"column",width:"fit-content",color:u?"color.red.600":m?"color.gray.400":"color.gray.700",cursor:m?"not-allowed":p?"default":"pointer",opacity:m?.6:1,transition:"all 0.2s ease"},w.label),checkbox:Object.assign({},qn[j],k,{borderRadius:"4px"},Kn[c],{transition:"all 0.2s ease"},l,w.checkbox)};return I.createElement(vn,Object.assign({htmlFor:t,as:"div",onClick:()=>{p||m||(x&&x(!h),n&&n(!i),a&&a(!i))},onMouseEnter:C,onMouseLeave:C,size:s.Typography.fontSizes[c]},S.container,y),I.createElement(s.Vertical,{gap:8}," ",I.createElement(s.Horizontal,{gap:12,alignItems:"center"}," ","left"===d&&r&&I.createElement(q,Object.assign({size:c,fontWeight:"500"},null==w?void 0:w.label),r),I.createElement(s.Center,Object.assign({},S.checkbox),v?I.createElement(Bt,{widthHeight:Xn[c],color:"white",transition:"all 0.2s ease"}):(i||h)&&(null!=o?o:I.createElement(Mo,{widthHeight:Xn[c],color:"white",transition:"all 0.2s ease"}))),"right"===d&&r&&I.createElement(q,Object.assign({size:c,fontWeight:"500"},null==w?void 0:w.label),r)),E&&I.createElement(q,Object.assign({marginLeft:"left"===d?0:36,color:"color.gray.500",size:"sm",fontWeight:"400",lineHeight:"1.5"},null==w?void 0:w.infoText),E)),u&&I.createElement(q,{size:"xs",marginTop:4,marginHorizontal:0,color:"color.red.500",fontWeight:"500",transition:"all 0.2s ease"},u))},$n=[{name:"Afghanistan",dial_code:"+93",emoji:"🇦🇫",code:"AF"},{name:"Aland Islands",dial_code:"+358",emoji:"🇦🇽",code:"AX"},{name:"Albania",dial_code:"+355",emoji:"🇦🇱",code:"AL"},{name:"Algeria",dial_code:"+213",emoji:"🇩🇿",code:"DZ"},{name:"AmericanSamoa",dial_code:"+1684",emoji:"🇦🇸",code:"AS"},{name:"Andorra",dial_code:"+376",emoji:"🇦🇩",code:"AD"},{name:"Angola",dial_code:"+244",emoji:"🇦🇴",code:"AO"},{name:"Anguilla",dial_code:"+1264",emoji:"🇦🇮",code:"AI"},{name:"Antarctica",dial_code:"+672",emoji:"🇦🇶",code:"AQ"},{name:"Antigua and Barbuda",dial_code:"+1268",emoji:"🇦🇬",code:"AG"},{name:"Argentina",dial_code:"+54",emoji:"🇦🇷",code:"AR"},{name:"Armenia",dial_code:"+374",emoji:"🇦🇲",code:"AM"},{name:"Aruba",dial_code:"+297",emoji:"🇦🇼",code:"AW"},{name:"Australia",dial_code:"+61",emoji:"🇦🇺",code:"AU"},{name:"Austria",dial_code:"+43",emoji:"🇦🇹",code:"AT"},{name:"Azerbaijan",dial_code:"+994",emoji:"🇦🇿",code:"AZ"},{name:"Bahamas",dial_code:"+1242",emoji:"🇧🇸",code:"BS"},{name:"Bahrain",dial_code:"+973",emoji:"🇧🇭",code:"BH"},{name:"Bangladesh",dial_code:"+880",emoji:"🇧🇩",code:"BD"},{name:"Barbados",dial_code:"+1246",emoji:"🇧🇧",code:"BB"},{name:"Belarus",dial_code:"+375",emoji:"🇧🇾",code:"BY"},{name:"Belgium",dial_code:"+32",emoji:"🇧🇪",code:"BE"},{name:"Belize",dial_code:"+501",emoji:"🇧🇿",code:"BZ"},{name:"Benin",dial_code:"+229",emoji:"🇧🇯",code:"BJ"},{name:"Bermuda",dial_code:"+1441",emoji:"🇧🇲",code:"BM"},{name:"Bhutan",dial_code:"+975",emoji:"🇧🇹",code:"BT"},{name:"Bolivia, Plurinational State of",dial_code:"+591",emoji:"🇧🇴",code:"BO"},{name:"Bosnia and Herzegovina",dial_code:"+387",emoji:"🇧🇦",code:"BA"},{name:"Botswana",dial_code:"+267",emoji:"🇧🇼",code:"BW"},{name:"Brazil",dial_code:"+55",emoji:"🇧🇷",code:"BR"},{name:"British Indian Ocean Territory",dial_code:"+246",emoji:"🇮🇴",code:"IO"},{name:"Brunei Darussalam",dial_code:"+673",emoji:"🇧🇳",code:"BN"},{name:"Bulgaria",dial_code:"+359",emoji:"🇧🇬",code:"BG"},{name:"Burkina Faso",dial_code:"+226",emoji:"🇧🇫",code:"BF"},{name:"Burundi",dial_code:"+257",emoji:"🇧🇮",code:"BI"},{name:"Cambodia",dial_code:"+855",emoji:"🇰🇭",code:"KH"},{name:"Cameroon",dial_code:"+237",emoji:"🇨🇲",code:"CM"},{name:"Canada",dial_code:"+1",emoji:"🇨🇦",code:"CA"},{name:"Cape Verde",dial_code:"+238",emoji:"🇨🇻",code:"CV"},{name:"Cayman Islands",dial_code:"+345",emoji:"🇰🇾",code:"KY"},{name:"Central African Republic",dial_code:"+236",emoji:"🇨🇫",code:"CF"},{name:"Chad",dial_code:"+235",emoji:"🇹🇩",code:"TD"},{name:"Chile",dial_code:"+56",emoji:"🇨🇱",code:"CL"},{name:"China",dial_code:"+86",emoji:"🇨🇳",code:"CN"},{name:"Christmas Island",dial_code:"+61",emoji:"🇨🇽",code:"CX"},{name:"Cocos (Keeling) Islands",dial_code:"+61",emoji:"🇨🇨",code:"CC"},{name:"Colombia",dial_code:"+57",emoji:"🇨🇴",code:"CO"},{name:"Comoros",dial_code:"+269",emoji:"🇰🇲",code:"KM"},{name:"Congo",dial_code:"+242",emoji:"🇨🇬",code:"CG"},{name:"Congo, The Democratic Republic of the Congo",dial_code:"+243",emoji:"🇨🇩",code:"CD"},{name:"Cook Islands",dial_code:"+682",emoji:"🇨🇰",code:"CK"},{name:"Costa Rica",dial_code:"+506",emoji:"🇨🇷",code:"CR"},{name:"Cote d'Ivoire",dial_code:"+225",emoji:"🇨🇮",code:"CI"},{name:"Croatia",dial_code:"+385",emoji:"🇭🇷",code:"HR"},{name:"Cuba",dial_code:"+53",emoji:"🇨🇺",code:"CU"},{name:"Cyprus",dial_code:"+357",emoji:"🇨🇾",code:"CY"},{name:"Czech Republic",dial_code:"+420",emoji:"🇨🇿",code:"CZ"},{name:"Denmark",dial_code:"+45",emoji:"🇩🇰",code:"DK"},{name:"Djibouti",dial_code:"+253",emoji:"🇩🇯",code:"DJ"},{name:"Dominica",dial_code:"+1767",emoji:"🇩🇲",code:"DM"},{name:"Dominican Republic",dial_code:"+1849",emoji:"🇩🇴",code:"DO"},{name:"Ecuador",dial_code:"+593",emoji:"🇪🇨",code:"EC"},{name:"Egypt",dial_code:"+20",emoji:"🇪🇬",code:"EG"},{name:"El Salvador",dial_code:"+503",emoji:"🇸🇻",code:"SV"},{name:"Equatorial Guinea",dial_code:"+240",emoji:"🇬🇶",code:"GQ"},{name:"Eritrea",dial_code:"+291",emoji:"🇪🇷",code:"ER"},{name:"Estonia",dial_code:"+372",emoji:"🇪🇪",code:"EE"},{name:"Ethiopia",dial_code:"+251",emoji:"🇪🇹",code:"ET"},{name:"Falkland Islands (Malvinas)",dial_code:"+500",emoji:"🇫🇰",code:"FK"},{name:"Faroe Islands",dial_code:"+298",emoji:"🇫🇴",code:"FO"},{name:"Fiji",dial_code:"+679",emoji:"🇫🇯",code:"FJ"},{name:"Finland",dial_code:"+358",emoji:"🇫🇮",code:"FI"},{name:"France",dial_code:"+33",emoji:"🇫🇷",code:"FR"},{name:"French Guiana",dial_code:"+594",emoji:"🇬🇫",code:"GF"},{name:"French Polynesia",dial_code:"+689",emoji:"🇵🇫",code:"PF"},{name:"Gabon",dial_code:"+241",emoji:"🇬🇦",code:"GA"},{name:"Gambia",dial_code:"+220",emoji:"🇬🇲",code:"GM"},{name:"Georgia",dial_code:"+995",emoji:"🇬🇪",code:"GE"},{name:"Germany",dial_code:"+49",emoji:"🇩🇪",code:"DE"},{name:"Ghana",dial_code:"+233",emoji:"🇬🇭",code:"GH"},{name:"Gibraltar",dial_code:"+350",emoji:"🇬🇮",code:"GI"},{name:"Greece",dial_code:"+30",emoji:"🇬🇷",code:"GR"},{name:"Greenland",dial_code:"+299",emoji:"🇬🇱",code:"GL"},{name:"Grenada",dial_code:"+1473",emoji:"🇬🇩",code:"GD"},{name:"Guadeloupe",dial_code:"+590",emoji:"🇬🇵",code:"GP"},{name:"Guam",dial_code:"+1671",emoji:"🇬🇺",code:"GU"},{name:"Guatemala",dial_code:"+502",emoji:"🇬🇹",code:"GT"},{name:"Guernsey",dial_code:"+44",emoji:"🇬🇬",code:"GG"},{name:"Guinea",dial_code:"+224",emoji:"🇬🇳",code:"GN"},{name:"Guinea-Bissau",dial_code:"+245",emoji:"🇬🇼",code:"GW"},{name:"Guyana",dial_code:"+595",emoji:"🇬🇾",code:"GY"},{name:"Haiti",dial_code:"+509",emoji:"🇭🇹",code:"HT"},{name:"Holy See (Vatican City State)",dial_code:"+379",emoji:"🇻🇦",code:"VA"},{name:"Honduras",dial_code:"+504",emoji:"🇭🇳",code:"HN"},{name:"Hong Kong",dial_code:"+852",emoji:"🇭🇰",code:"HK"},{name:"Hungary",dial_code:"+36",emoji:"🇭🇺",code:"HU"},{name:"Iceland",dial_code:"+354",emoji:"🇮🇸",code:"IS"},{name:"India",dial_code:"+91",emoji:"🇮🇳",code:"IN"},{name:"Indonesia",dial_code:"+62",emoji:"🇮🇩",code:"ID"},{name:"Iran, Islamic Republic of Persian Gulf",dial_code:"+98",emoji:"🇮🇷",code:"IR"},{name:"Iraq",dial_code:"+964",emoji:"🇮🇷",code:"IQ"},{name:"Ireland",dial_code:"+353",emoji:"🇮🇪",code:"IE"},{name:"Isle of Man",dial_code:"+44",emoji:"🇮🇲",code:"IM"},{name:"Israel",dial_code:"+972",emoji:"🇮🇱",code:"IL"},{name:"Italy",dial_code:"+39",emoji:"🇮🇹",code:"IT"},{name:"Jamaica",dial_code:"+1876",emoji:"🇯🇲",code:"JM"},{name:"Japan",dial_code:"+81",emoji:"🇯🇵",code:"JP"},{name:"Jersey",dial_code:"+44",emoji:"🇯🇪",code:"JE"},{name:"Jordan",dial_code:"+962",emoji:"🇯🇴",code:"JO"},{name:"Kazakhstan",dial_code:"+77",emoji:"🇰🇿",code:"KZ"},{name:"Kenya",dial_code:"+254",emoji:"🇰🇪",code:"KE"},{name:"Kiribati",dial_code:"+686",emoji:"🇰🇮",code:"KI"},{name:"Korea, Democratic People's Republic of Korea",dial_code:"+850",emoji:"🇰🇵",code:"KP"},{name:"Korea, Republic of South Korea",dial_code:"+82",emoji:"🇰🇷",code:"KR"},{name:"Kuwait",dial_code:"+965",emoji:"🇰🇼",code:"KW"},{name:"Kyrgyzstan",dial_code:"+996",emoji:"🇰🇬",code:"KG"},{name:"Laos",dial_code:"+856",emoji:"🇱🇦",code:"LA"},{name:"Latvia",dial_code:"+371",emoji:"🇱🇻",code:"LV"},{name:"Lebanon",dial_code:"+961",emoji:"🇱🇧",code:"LB"},{name:"Lesotho",dial_code:"+266",emoji:"🇱🇸",code:"LS"},{name:"Liberia",dial_code:"+231",emoji:"🇱🇷",code:"LR"},{name:"Libyan Arab Jamahiriya",dial_code:"+218",emoji:"🇱🇾",code:"LY"},{name:"Liechtenstein",dial_code:"+423",emoji:"🇱🇮",code:"LI"},{name:"Lithuania",dial_code:"+370",emoji:"🇱🇹",code:"LT"},{name:"Luxembourg",dial_code:"+352",emoji:"🇱🇺",code:"LU"},{name:"Macao",dial_code:"+853",emoji:"🇲🇴",code:"MO"},{name:"Macedonia",dial_code:"+389",emoji:"🇲🇰",code:"MK"},{name:"Madagascar",dial_code:"+261",emoji:"🇲🇬",code:"MG"},{name:"Malawi",dial_code:"+265",emoji:"🇲🇼",code:"MW"},{name:"Malaysia",dial_code:"+60",emoji:"🇲🇾",code:"MY"},{name:"Maldives",dial_code:"+960",emoji:"🇲🇻",code:"MV"},{name:"Mali",dial_code:"+223",emoji:"🇲🇱",code:"ML"},{name:"Malta",dial_code:"+356",emoji:"🇲🇹",code:"MT"},{name:"Marshall Islands",dial_code:"+692",emoji:"🇲🇭",code:"MH"},{name:"Martinique",dial_code:"+596",emoji:"🇲🇶",code:"MQ"},{name:"Mauritania",dial_code:"+222",emoji:"🇲🇷",code:"MR"},{name:"Mauritius",dial_code:"+230",emoji:"🇲🇺",code:"MU"},{name:"Mayotte",dial_code:"+262",emoji:"🇾🇹",code:"YT"},{name:"Mexico",dial_code:"+52",emoji:"🇲🇽",code:"MX"},{name:"Micronesia, Federated States of Micronesia",dial_code:"+691",emoji:"🇫🇲",code:"FM"},{name:"Moldova",dial_code:"+373",emoji:"🇲🇩",code:"MD"},{name:"Monaco",dial_code:"+377",emoji:"🇲🇨",code:"MC"},{name:"Mongolia",dial_code:"+976",emoji:"🇲🇳",code:"MN"},{name:"Montenegro",dial_code:"+382",emoji:"🇲🇪",code:"ME"},{name:"Montserrat",dial_code:"+1664",emoji:"🇲🇸",code:"MS"},{name:"Morocco",dial_code:"+212",emoji:"🇲🇦",code:"MA"},{name:"Mozambique",dial_code:"+258",emoji:"🇲🇿",code:"MZ"},{name:"Myanmar",dial_code:"+95",emoji:"🇲🇲",code:"MM"},{name:"Namibia",emoji:"🇳🇦",dial_code:"+264",code:"NA"},{name:"Nauru",dial_code:"+674",emoji:"🇳🇷",code:"NR"},{name:"Nepal",dial_code:"+977",emoji:"🇳🇵",code:"NP"},{name:"Netherlands",dial_code:"+31",emoji:"🇳🇱",code:"NL"},{name:"Netherlands Antilles",dial_code:"+599",emoji:"🇧🇶",code:"AN"},{name:"New Caledonia",dial_code:"+687",emoji:"🇳🇨",code:"NC"},{name:"New Zealand",dial_code:"+64",emoji:"🇳🇿",code:"NZ"},{name:"Nicaragua",dial_code:"+505",emoji:"🇳🇮",code:"NI"},{name:"Niger",dial_code:"+227",emoji:"🇳🇪",code:"NE"},{name:"Nigeria",dial_code:"+234",emoji:"🇳🇬",code:"NG"},{name:"Niue",dial_code:"+683",emoji:"🇳🇺",code:"NU"},{name:"Norfolk Island",dial_code:"+672",emoji:"🇳🇫",code:"NF"},{name:"Northern Mariana Islands",dial_code:"+1670",emoji:"🇲🇵",code:"MP"},{name:"Norway",dial_code:"+47",emoji:"🇳🇴",code:"NO"},{name:"Oman",dial_code:"+968",emoji:"🇴🇲",code:"OM"},{name:"Pakistan",dial_code:"+92",emoji:"🇵🇰",code:"PK"},{name:"Palau",dial_code:"+680",emoji:"🇵🇼",code:"PW"},{name:"Palestinian Territory, Occupied",dial_code:"+970",emoji:"🇵🇸",code:"PS"},{name:"Panama",dial_code:"+507",emoji:"🇵🇦",code:"PA"},{name:"Papua New Guinea",dial_code:"+675",emoji:"🇵🇬",code:"PG"},{name:"Paraguay",dial_code:"+595",emoji:"🇵🇾",code:"PY"},{name:"Peru",dial_code:"+51",emoji:"🇵🇪",code:"PE"},{name:"Philippines",dial_code:"+63",emoji:"🇵🇭",code:"PH"},{name:"Pitcairn",dial_code:"+872",emoji:"🇵🇳",code:"PN"},{name:"Poland",dial_code:"+48",emoji:"🇵🇱",code:"PL"},{name:"Portugal",dial_code:"+351",emoji:"🇵🇹",code:"PT"},{name:"Puerto Rico",dial_code:"+1939",emoji:"🇵🇷",code:"PR"},{name:"Qatar",dial_code:"+974",emoji:"🇶🇦",code:"QA"},{name:"Romania",dial_code:"+40",emoji:"🇷🇴",code:"RO"},{name:"Russia",dial_code:"+7",emoji:"🇷🇺",code:"RU"},{name:"Rwanda",dial_code:"+250",emoji:"🇷🇼",code:"RW"},{name:"Reunion",dial_code:"+262",emoji:"🇷🇪",code:"RE"},{name:"Saint Barthelemy",dial_code:"+590",emoji:"🇧🇱",code:"BL"},{name:"Saint Helena, Ascension and Tristan Da Cunha",dial_code:"+290",emoji:"🇸🇭",code:"SH"},{name:"Saint Kitts and Nevis",dial_code:"+1869",emoji:"🇰🇳",code:"KN"},{name:"Saint Lucia",dial_code:"+1758",emoji:"🇱🇨",code:"LC"},{name:"Saint Martin",dial_code:"+590",emoji:"🇲🇫",code:"MF"},{name:"Saint Pierre and Miquelon",dial_code:"+508",emoji:"🇵🇲",code:"PM"},{name:"Saint Vincent and the Grenadines",dial_code:"+1784",emoji:"🇻🇨",code:"VC"},{name:"Samoa",dial_code:"+685",emoji:"🇼🇸",code:"WS"},{name:"San Marino",dial_code:"+378",emoji:"🇸🇲",code:"SM"},{name:"Sao Tome and Principe",dial_code:"+239",emoji:"🇸🇹",code:"ST"},{name:"Saudi Arabia",dial_code:"+966",emoji:"🇸🇦",code:"SA"},{name:"Senegal",dial_code:"+221",emoji:"🇸🇳",code:"SN"},{name:"Serbia",dial_code:"+381",emoji:"🇷🇸",code:"RS"},{name:"Seychelles",dial_code:"+248",emoji:"🇸🇨",code:"SC"},{name:"Sierra Leone",dial_code:"+232",emoji:"🇸🇱",code:"SL"},{name:"Singapore",dial_code:"+65",emoji:"🇸🇬",code:"SG"},{name:"Slovakia",dial_code:"+421",emoji:"🇸🇰",code:"SK"},{name:"Slovenia",dial_code:"+386",emoji:"🇸🇮",code:"SI"},{name:"Solomon Islands",dial_code:"+677",emoji:"🇸🇧",code:"SB"},{name:"Somalia",dial_code:"+252",emoji:"🇸🇴",code:"SO"},{name:"South Africa",dial_code:"+27",emoji:"🇿🇦",code:"ZA"},{name:"South Sudan",dial_code:"+211",emoji:"🇸🇸",code:"SS"},{name:"South Georgia and the South Sandwich Islands",dial_code:"+500",emoji:"🇬🇸",code:"GS"},{name:"Spain",dial_code:"+34",emoji:"🇪🇸",code:"ES"},{name:"Sri Lanka",dial_code:"+94",emoji:"🇱🇰",code:"LK"},{name:"Sudan",dial_code:"+249",emoji:"🇸🇩",code:"SD"},{name:"Suriname",dial_code:"+597",emoji:"🇸🇷",code:"SR"},{name:"Svalbard and Jan Mayen",dial_code:"+47",emoji:"🇸🇯",code:"SJ"},{name:"Swaziland",dial_code:"+268",emoji:"🇸🇿",code:"SZ"},{name:"Sweden",dial_code:"+46",emoji:"🇸🇪",code:"SE"},{name:"Switzerland",dial_code:"+41",emoji:"🇨🇭",code:"CH"},{name:"Syrian Arab Republic",dial_code:"+963",emoji:"🇸🇾",code:"SY"},{name:"Taiwan",dial_code:"+886",emoji:"🇹🇼",code:"TW"},{name:"Tajikistan",dial_code:"+992",emoji:"🇹🇯",code:"TJ"},{name:"Tanzania, United Republic of Tanzania",dial_code:"+255",emoji:"🇹🇿",code:"TZ"},{name:"Thailand",dial_code:"+66",emoji:"🇹🇭",code:"TH"},{name:"Timor-Leste",dial_code:"+670",emoji:"🇹🇱",code:"TL"},{name:"Togo",dial_code:"+228",emoji:"🇹🇬",code:"TG"},{name:"Tokelau",dial_code:"+690",emoji:"🇹🇰",code:"TK"},{name:"Tonga",dial_code:"+676",emoji:"🇹🇴",code:"TO"},{name:"Trinidad and Tobago",dial_code:"+1868",emoji:"🇹🇹",code:"TT"},{name:"Tunisia",dial_code:"+216",emoji:"🇹🇳",code:"TN"},{name:"Turkey",dial_code:"+90",emoji:"🇹🇷",code:"TR"},{name:"Turkmenistan",dial_code:"+993",emoji:"🇹🇲",code:"TM"},{name:"Turks and Caicos Islands",dial_code:"+1649",emoji:"🇹🇨",code:"TC"},{name:"Tuvalu",dial_code:"+688",emoji:"🇹🇻",code:"TV"},{name:"Uganda",dial_code:"+256",emoji:"🇺🇬",code:"UG"},{name:"Ukraine",dial_code:"+380",emoji:"🇺🇦",code:"UA"},{name:"United Arab Emirates",dial_code:"+971",emoji:"🇦🇪",code:"AE"},{name:"United Kingdom",dial_code:"+44",emoji:"🇬🇧",code:"GB"},{name:"United States",dial_code:"+1",emoji:"🇺🇸",code:"US"},{name:"Uruguay",dial_code:"+598",emoji:"🇺🇾",code:"UY"},{name:"Uzbekistan",dial_code:"+998",emoji:"🇺🇿",code:"UZ"},{name:"Vanuatu",dial_code:"+678",emoji:"🇻🇺",code:"VU"},{name:"Venezuela, Bolivarian Republic of Venezuela",dial_code:"+58",emoji:"🇻🇪",code:"VE"},{name:"Vietnam",dial_code:"+84",emoji:"🇻🇳",code:"VN"},{name:"Virgin Islands, British",dial_code:"+1284",emoji:"🇻🇬",code:"VG"},{name:"Virgin Islands, U.S.",dial_code:"+1340",emoji:"🇻🇮",code:"VI"},{name:"Wallis and Futuna",dial_code:"+681",emoji:"🇼🇫",code:"WF"},{name:"Yemen",dial_code:"+967",emoji:"🇾🇪",code:"YE"},{name:"Zambia",dial_code:"+260",emoji:"🇿🇲",code:"ZM"},{name:"Zimbabwe",dial_code:"+263",emoji:"🇿🇼",code:"ZW"}],ea=e=>{var{placeholder:t}=e,[o,r]=I.useState($n),[i,n]=I.useState(null!=t?t:$n[0].name),[a,l]=I.useState(!0),[s,d]=I.useState(!1),[c,u]=I.useState(!1);return{hide:a,setHide:l,newOptions:o,setNewOptions:r,isHovered:c,setIsHovered:u,isFocused:s,setIsFocused:d,value:i,setValue:n}},ta={xs:8,sm:10,md:12,lg:14,xl:16},oa=["size"],ra=["size"],ia=["id","name","label","value","placeholder","helperText","hide","error","isHovered","isFocused","isAutoFocus","isDisabled","isReadOnly","shadow","newOptions","size","variant","shape","onChange","onBlur","setHide","setNewOptions","setIsHovered","setIsFocused","setValue","views","themeMode"],na=e=>{var t=O(e,oa);return I.createElement(s.Element,Object.assign({as:"ul"},t))},aa=e=>I.createElement(s.Input,Object.assign({type:"country"},e)),la=e=>{var t=O(e,ra);return I.createElement(s.Element,Object.assign({as:"li"},t))},sa=e=>{var{option:t,size:r="md",callback:i=(()=>{}),views:n={text:{}}}=e,[a,l]=o.useState(!1),d=()=>l(!a);return I.createElement(la,Object.assign({margin:0,role:"DropDownItem",listStyleType:"none",fontWeight:"normal",paddingVertical:6,paddingHorizontal:12,onMouseEnter:d,onMouseLeave:d,onClick:e=>{e&&e.stopPropagation&&e.stopPropagation(),i(t)},fontSize:s.Typography.fontSizes[r],backgroundColor:a?"trueGray.100":"transparent"},n.text),t)},da=e=>{var{size:t,views:o={dropDown:{}},options:r=[],callback:i=(()=>{})}=e,n=e=>i(e);return I.createElement(na,Object.assign({role:"dropDown",margin:0,padding:0,top:"100%",width:"100%",display:"flex",zIndex:1e3,overflow:"auto",maxHeight:"300px",borderRadius:4,position:"absolute",flexDirection:"column",backgroundColor:"white",boxShadow:"rgba(0, 0, 0, 0.07) 0px 1px 1px, rgba(0, 0, 0, 0.07) 0px 2px 2px, rgba(0, 0, 0, 0.07) 0px 4px 4px, rgba(0, 0, 0, 0.07) 0px 8px 8px, rgba(0, 0, 0, 0.07) 0px 16px 16px"},o.dropDown),r.map(e=>I.createElement(sa,Object.assign({key:e.code,size:t,option:e.name,callback:n},o.text))))},ca=e=>{var{id:t,name:o,label:r,value:i,placeholder:n,helperText:a,hide:l=!1,error:d=!1,isHovered:c=!1,isFocused:u=!1,isAutoFocus:h=!1,isDisabled:g=!1,isReadOnly:m=!1,shadow:p={},newOptions:v=[],size:b="md",variant:x="default",shape:f="default",onChange:w,onBlur:E=(()=>{}),setHide:y=(()=>{}),setNewOptions:C=(()=>{}),setIsHovered:j=(()=>{}),setIsFocused:k=(()=>{}),setValue:S=(()=>{}),views:z={text:{},icon:{},label:{},dropDown:{},helperText:{},box:{}},themeMode:H}=e,M=O(e,ia),{getColor:T,themeMode:W}=s.useTheme(),R=T("color.blueGray.700",H||W),V=()=>j(!c),L=!(!r||!u&&!i),B=Object.assign({margin:0,paddingVerical:8,paddingHorizonatl:0,width:"100%",heigth:"100%",border:"none",on:{focus:{outline:"none"}},fontSize:s.Typography.fontSizes[b],backgroundColor:"transparent",color:g?"color.trueGray.600":"color.blueGray.700",cursor:g?"not-allowed":m?"auto":"pointer"},z.field);return I.createElement(on,{helperText:a,error:d,views:z,onClick:()=>{g||m||y(!l)}},I.createElement(cn,{label:r,size:b,error:d,shape:f,views:z,shadow:p,variant:x,value:i,color:"theme.primary",isHovered:c,isDisabled:g,isReadOnly:m,isFocused:u,showLabel:L,onMouseEnter:V,onMouseLeave:V},I.createElement(wn,null,L&&I.createElement(xn,Object.assign({htmlFor:t,color:"theme.primary",error:d},z),r),I.createElement(aa,Object.assign({id:t,name:o,placeholder:n,readOnly:m,disabled:g,autoFocus:h,onBlur:e=>{E(e),k(!1)},onFocus:()=>k(!0)},B,M,{value:i,onChange:e=>{var t=e.target.value,o=$n.filter(e=>e.name.toLowerCase().startsWith(t.toLowerCase()));l&&y(!1),C(o),w&&w(t)}}))),I.createElement(hn,null,I.createElement(Ct,l?{orientation:"down",widthHeight:ta[b],color:R,style:z.icon}:{orientation:"up",widthHeight:ta[b],color:R,style:z.icon}))),!l&&I.createElement(da,{size:b,views:z,options:v,callback:e=>{y(!l),S(e),w&&w(e)}}))},ua=()=>{var[e,t]=I.useState(!1),[o,r]=I.useState(!1),[i,n]=I.useState(v(new Date,"yyyy-MM-dd"));return{date:i,setDate:n,isHovered:e,setIsHovered:t,isFocused:o,setIsFocused:r}},ha=["id","icon","name","label","date","children","helperText","shadow","size","variant","shape","views","error","isHovered","isFocused","isDisabled","isReadOnly","setDate","setIsFocused","setIsHovered","onChange","onChangeText"],ga=e=>I.createElement(s.Input,Object.assign({type:"date"},e)),ma=e=>{var{id:t,name:o,label:r,date:i,helperText:n,shadow:a={},size:l="md",variant:d="default",shape:c="default",views:u={box:{},label:{},helperText:{},text:{},field:{}},error:h=!1,isHovered:g=!1,isFocused:m=!1,isDisabled:p=!1,isReadOnly:v=!1,setDate:b=(()=>{}),setIsFocused:x=(()=>{}),setIsHovered:f=(()=>{}),onChange:w,onChangeText:E}=e,y=O(e,ha),C=!(!m||!r),j=()=>f(!g),k=e=>{"string"==typeof e?(b(e),E&&E(e)):(b(e.target.value),w&&w(e.target.value))},S=Object.assign({margin:0,paddingVertical:8,paddingHorizontal:0,width:"100%",heigth:"100%",border:"none",on:{focus:{outline:"none",backgroundColor:"transparent"}},fontSize:s.Typography.fontSizes[l],backgroundColor:"transparent",color:p?"color.trueGray.600":"color.blueGray.700",cursor:p?"not-allowed":v?"auto":"pointer"},u.field);return I.createElement(on,{helperText:n,error:h,views:u},I.createElement(cn,{label:r,size:l,error:h,shape:c,views:u,shadow:a,color:"theme.primary",variant:d,value:i,isHovered:g,isDisabled:p,isReadOnly:v,isFocused:m,showLabel:C,onMouseEnter:j,onMouseLeave:j},I.createElement(wn,null,C&&I.createElement(xn,Object.assign({htmlFor:t,color:"theme.primary",error:h},u),r),I.createElement(ga,Object.assign({id:t,name:o,onFocus:()=>x(!0),disabled:p,readOnly:v},S,y,E&&{onChangeText:k},{onChange:k})))))},pa=e=>{var t=An(e),[r,i]=o.useState(!1);return Object.assign({isVisible:r,setIsVisible:i},e,t)},va=["visibleIcon","hiddenIcon"],ba=["isVisible","setIsVisible"],xa=(e,t,r)=>{var[i,n]=o.useState(e),[a,l]=o.useState(t?{value:t,label:t}:e[0]),[s,d]=o.useState(0),[c,u]=o.useState(null!=r?r:""),[h,g]=o.useState(!1);return{filteredItems:i,setFilteredItems:n,selectedItem:a,setSelectedItem:l,highlightedIndex:s,setHighlightedIndex:d,searchQuery:c,setSearchQuery:u,isDropdownVisible:h,setIsDropdownVisible:g}},fa=["placeholder","items","showTick","onSelect","searchEnabled","left","right","label","filteredItems","setSelectedItem","selectedItem","highlightedIndex","setHighlightedIndex","searchQuery","setSearchQuery","setFilteredItems","views","isDropdownVisible","setIsDropdownVisible"],wa=e=>{var{placeholder:t,items:r,showTick:i=!0,onSelect:n,searchEnabled:a=!0,left:l,right:d,label:c,filteredItems:u,setSelectedItem:h,selectedItem:g,highlightedIndex:m,setHighlightedIndex:p,searchQuery:v,setSearchQuery:b,setFilteredItems:x,views:f,isDropdownVisible:w,setIsDropdownVisible:E}=e,y=O(e,fa);return o.useEffect(()=>{var e=e=>{!e.composedPath().some(e=>"combobox-dropdown"===(null==e?void 0:e.id))&&E(!1)};return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[]),I.createElement(s.Horizontal,Object.assign({role:"combobox",flexWrap:"nowrap",gap:15,alignItems:"center",width:"100%"},y),c&&I.createElement(q,{views:null==f?void 0:f.label,htmlFor:y.id},c),I.createElement(s.View,{position:"relative"},I.createElement(s.Horizontal,Object.assign({cursor:"pointer",backgroundColor:"white",boxShadow:"rgba(0, 0, 0, 0.16) 0px 1px 4px",padding:"12px",display:"flex",alignItems:"center",borderRadius:"4px",justifyContent:"space-between",minWidth:300,flexWrap:"nowrap"},null==f?void 0:f.container),I.createElement(s.Horizontal,Object.assign({gap:15,alignItems:"center",position:"relative",width:"100%",onClick:()=>E(!w)},null==f?void 0:f.labelContainer),l,I.createElement(q,Object.assign({weight:"medium",flexGrow:1,color:"color.gray.800"},null==f?void 0:f.label),g.label)),d,w&&I.createElement(s.View,Object.assign({id:"combobox-dropdown",position:"absolute",backgroundColor:"white",boxShadow:"rgba(0, 0 ,0 ,0.16) 0px 1px 4px",width:"100%",overflowY:"auto",zIndex:1e4,bottom:-8,left:0,transform:"translateY(100%)",marginTop:"4px",borderRadius:"4px"},null==f?void 0:f.dropdown),a&&I.createElement(Un,{id:y.id,name:y.name,width:"100%",type:"search",value:v,onChange:e=>(e=>{if(b(e),""===e)x(r);else{var t=r.filter(t=>t.label.toLowerCase().includes(e.toLowerCase()));x(t)}p(0)})(e),hint:t,isClearable:!1,left:I.createElement(Oo,{widthHeight:12}),views:{box:Object.assign({width:"100%",padding:"6px 12px",borderBottom:u.length>0?"1px solid #ccc":"1px solid transparent"},null==f?void 0:f.text)}}),u.length>0&&I.createElement(s.View,{margin:0,padding:4},u.map((e,t)=>I.createElement(s.Horizontal,Object.assign({justifyContent:"space-between",key:e.value,padding:"12px",cursor:"pointer",borderRadius:4,backgroundColor:t===m?"color.gray.100":"transparent",onMouseEnter:()=>p(t),onClick:()=>(e=>{h(e),null==n||n(e),E(!1)})(e)},null==f?void 0:f.item),I.createElement(q,null,e.label),I.createElement(I.Fragment,null,e.icon&&e.icon,e.value===g.value&&i&&!e.icon&&I.createElement(Mo,{widthHeight:20})))))))))},Ea=["id","name","items","placeholder","searchPlaceholder"],ya=e=>{var t,{value:r,defaultValue:i="",length:n=6,onChange:a,onChangeText:l,onComplete:s,pattern:d,stepValues:c,pasteTransformer:u}=e,h=void 0!==r,g=h?r:i,[m,p]=o.useState((null==g?void 0:g.slice(0,n))||""),[v,b]=o.useState(!1),[x,f]=o.useState(!1),[w,E]=o.useState(null),[y,C]=o.useState(null),j=o.useRef(null),k=o.useRef(null),I=o.useRef({value:m,onChange:a||(()=>{}),isIOS:"undefined"!=typeof window&&(null==(t=window)||null==(t=t.CSS)||null==t.supports?void 0:t.supports("-webkit-touch-callout","none"))}),O=o.useRef({prev:[null,null,"none"]}),S=d?"string"==typeof d?new RegExp(d):d:null;o.useEffect(()=>{h&&r!==m&&p((null==r?void 0:r.slice(0,n))||"")},[h,r,n,m]);var z=o.useCallback(e=>{var t=e;if(c&&c.length>0&&e){var o=parseInt(e,10);if(!isNaN(o)){for(var r=c[0],i=Math.abs(o-r),d=1;d<c.length;d++){var u=Math.abs(o-c[d]);u<i&&(i=u,r=c[d])}t=r.toString()}}p(t),a&&a(t),l&&l(t),s&&t.length===n&&s(t)},[a,l,s,n,c]),H=o.useCallback(e=>{e&&j.current!==e&&Object.defineProperty(j,"current",{value:e,writable:!0})},[]),M=o.useCallback(e=>{var t=e.currentTarget.value.slice(0,n);t.length>0&&S&&!S.test(t)?e.preventDefault():(z(t),j.current&&(j.current.value=t))},[n,S,z,j]),T=o.useCallback(()=>{if(j.current){var e,t=Math.min(j.current.value.length,n-1),o=j.current.value.length;null==(e=j.current)||e.setSelectionRange(t,o),E(t),C(o)}b(!0)},[n]),W=o.useCallback(()=>{b(!1)},[]),R=o.useCallback(e=>{},[]),V=o.useCallback(e=>{var t=j.current;if(e.clipboardData&&t){var o=e.clipboardData.getData("text/plain"),r=u?u(o):o;e.preventDefault();var i=t.selectionStart||0,a=t.selectionEnd||0,l=(i!==a?m.slice(0,i)+r+m.slice(a):m.slice(0,i)+r+m.slice(i)).slice(0,n);if(!(l.length>0&&S)||S.test(l)){t.value=l,z(l),p(l);var s=Math.min(l.length,n-1),d=l.length;t.setSelectionRange(s,d),E(s),C(d)}}},[n,u,S,z,m,p]);return o.useEffect(()=>{var e=j.current,t=k.current;if(e&&t){I.current.value!==e.value&&I.current.onChange&&I.current.onChange(e.value),O.current.prev=[e.selectionStart,e.selectionEnd,e.selectionDirection],document.addEventListener("selectionchange",i,{capture:!0}),i(),document.activeElement===e&&b(!0);var o=()=>{t&&t.style.setProperty("--root-height",e.clientHeight+"px")};o();var r=new window.ResizeObserver(o);return r.observe(e),()=>{document.removeEventListener("selectionchange",i,{capture:!0}),r.disconnect()}}function i(){var t,o,r,i,n;if(document.activeElement!==e)return E(null),void C(null);var a=null!=(t=null==e?void 0:e.selectionStart)?t:null,l=null!=(o=null==e?void 0:e.selectionEnd)?o:null,s=null!=(r=null==e?void 0:e.selectionDirection)?r:null,d=null!=(i=null==e?void 0:e.maxLength)?i:0,c=null!=(n=null==e?void 0:e.value)?n:"",u=O.current.prev,h=-1,g=-1,m="none";if(0!==c.length&&null!==a&&null!==l){if(a===l&&!(a===c.length&&c.length<d))if(0===a)h=0,g=1,m="forward";else if(a===d)h=a-1,g=a,m="backward";else if(d>1&&c.length>1){var p=0;null!==u[0]&&null!==u[1]&&("backward"!=(m=a<u[1]?"backward":"forward")||u[0]===u[1]&&u[0]<d||(p=-1)),h=p+a,g=p+a+1}-1!==h&&-1!==g&&h!==g&&j.current&&j.current.setSelectionRange(h,g,m)}var v=-1!==h?h:a,b=-1!==g?g:l,x="none"!==m?m:s;E(v),C(b),O.current.prev=[v,b,x]}},[]),o.useEffect(()=>{var e;e=()=>{var e,t,o,r;null==(e=j.current)||e.dispatchEvent(new Event("input"));var i=null==(t=j.current)?void 0:t.selectionStart,n=null==(o=j.current)?void 0:o.selectionEnd,a=null==(r=j.current)?void 0:r.selectionDirection;null!==i&&null!==n&&void 0!==i&&void 0!==n&&(E(i),C(n),O.current.prev=[i,n,a||"none"])},setTimeout(e,0),setTimeout(e,10),setTimeout(e,50)},[m,v]),{value:m,setValue:z,isFocused:v,setIsFocused:b,isHovered:x,setIsHovered:f,inputRef:j,containerRef:k,mirrorSelectionStart:w,mirrorSelectionEnd:y,setMirrorSelectionStart:E,setMirrorSelectionEnd:C,setInputRef:H,handleChange:M,handleFocus:T,handleBlur:W,handleKeyDown:R,handlePaste:V}},Ca=["id","name","label","value","length","onChange","onChangeText","onComplete","helperText","placeholder","shadow","views","size","shape","variant","gap","type","error","isFocused","isHovered","isDisabled","isReadOnly","isAutoFocus","setValue","setIsFocused","setIsHovered","inputRef","containerRef","mirrorSelectionStart","mirrorSelectionEnd","setMirrorSelectionStart","setMirrorSelectionEnd","handlePaste","handleChange","handleFocus","handleBlur","handleKeyDown","stepValues","setInputRef","onBlur","onClick","onFocus"],ja=o.createContext({slots:[],isFocused:!1,isHovering:!1});function ka(e,t){try{e.insertRule(t)}catch(e){console.error("input-otp could not insert CSS rule:",t)}}var Ia=e=>{var{id:t,name:r,label:i,value:n="",length:a=6,helperText:l,placeholder:d="",views:c={container:{},input:{},box:{},text:{},label:{},helperText:{}},size:u="md",shape:h="rounded",variant:g="outline",gap:m=8,type:p="text",error:v=!1,isFocused:b=!1,isHovered:x=!1,isDisabled:f=!1,isReadOnly:w=!1,isAutoFocus:E=!1,setIsHovered:y,inputRef:C,containerRef:j,mirrorSelectionStart:k,mirrorSelectionEnd:S,handlePaste:z,handleChange:H,handleFocus:M,handleBlur:T,handleKeyDown:W,setInputRef:R,onBlur:V=(()=>{}),onClick:L=(()=>{}),onFocus:B=(()=>{})}=e,P=O(e,Ca);s.useTheme();var _=!!i,D=I.useMemo(()=>({slots:Array.from({length:a}).map((e,t)=>{var o,r=b&&null!==k&&null!==S&&(k===S&&t===k||t>=k&&t<S),i=void 0!==n[t]?n[t]:null;return{char:i,placeholderChar:void 0!==n[0]?null:null!=(o=null==d?void 0:d[t])?o:null,isActive:r,hasFakeCaret:r&&null===i}}),isFocused:b,isHovering:!f&&x}),[b,x,f,a,S,k,d,n]);return o.useEffect(()=>{E&&C.current&&C.current.focus()},[E,C]),o.useEffect(()=>{if(!document.getElementById("input-otp-style")){var e=document.createElement("style");if(e.id="input-otp-style",document.head.appendChild(e),e.sheet){var t="background: transparent !important; color: transparent !important; border-color: transparent !important; opacity: 0 !important; box-shadow: none !important; -webkit-box-shadow: none !important; -webkit-text-fill-color: transparent !important;";ka(e.sheet,"@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }"),ka(e.sheet,"[data-input-otp]::selection { background: transparent !important; color: transparent !important; }"),ka(e.sheet,"[data-input-otp]:autofill { "+t+" }"),ka(e.sheet,"[data-input-otp]:-webkit-autofill { "+t+" }"),ka(e.sheet,"@supports (-webkit-touch-callout: none) { [data-input-otp] { letter-spacing: -.6em !important; font-weight: 100 !important; font-stretch: ultra-condensed; font-optical-sizing: none !important; left: -1px !important; right: 1px !important; } }"),ka(e.sheet,"[data-input-otp] + * { pointer-events: all !important; }")}}},[]),I.createElement(I.Fragment,null,I.createElement("noscript",null,I.createElement("style",null,"\n@keyframes blink {\n 0%, 100% { opacity: 1; }\n 50% { opacity: 0; }\n}\n\n[data-input-otp] {\n --nojs-bg: white !important;\n --nojs-fg: black !important;\n\n background-color: var(--nojs-bg) !important;\n color: var(--nojs-fg) !important;\n caret-color: var(--nojs-fg) !important;\n letter-spacing: .25em !important;\n text-align: center !important;\n border: 1px solid var(--nojs-fg) !important;\n border-radius: 4px !important;\n width: 100% !important;\n}\n@media (prefers-color-scheme: dark) {\n [data-input-otp] {\n --nojs-bg: black !important;\n --nojs-fg: white !important;\n }\n}")),I.createElement(on,Object.assign({helperText:l,error:v,views:c},P),_&&I.createElement(xn,Object.assign({htmlFor:t,color:"theme.primary",error:v},c.label),i),I.createElement(s.View,{ref:j,"data-input-otp-container":!0,position:"relative",cursor:f?"default":"text",userSelect:"none",pointerEvents:"none"},I.createElement(ja.Provider,{value:D},I.createElement(s.Horizontal,Object.assign({gap:m,width:"100%",justifyContent:"center",minHeight:"xs"===u?"32px":"sm"===u?"36px":"md"===u?"40px":"lg"===u?"48px":"56px"},c.container),D.slots.map((e,o)=>I.createElement(cn,Object.assign({key:(t||r)+"-"+o,size:u,error:v,shape:h,views:c,variant:g,value:e.char||"",color:"theme.primary",isHovered:x,isDisabled:f,isReadOnly:w,isFocused:e.isActive,showLabel:!1,onMouseEnter:()=>y(!0),onMouseLeave:()=>y(!1),justifyContent:"center",alignItems:"center",width:"100%",position:"relative",height:"xs"===u?"32px":"sm"===u?"36px":"md"===u?"40px":"lg"===u?"48px":"56px"},c.box),e.char?I.createElement(s.View,Object.assign({textAlign:"center",fontSize:"xs"===u?"14px":"sm"===u?"16px":"md"===u?"18px":"lg"===u?"20px":"24px",fontWeight:"medium"},c.text),"password"===p?"•":e.char):e.placeholderChar?I.createElement(s.View,Object.assign({textAlign:"center",fontSize:"xs"===u?"14px":"sm"===u?"16px":"md"===u?"18px":"lg"===u?"20px":"24px",color:"color.gray.400",opacity:.5},c.text),e.placeholderChar):null,e.hasFakeCaret&&I.createElement(s.View,{position:"absolute",width:"2px",height:"60%",backgroundColor:"theme.primary",animation:"blink 1s step-start infinite",style:{animationName:"blink",animationDuration:"1s",animationIterationCount:"infinite",animationTimingFunction:"step-start"}}))))),I.createElement(s.View,{position:"absolute",inset:0,pointerEvents:"none"},I.createElement(s.Input,Object.assign({ref:e=>R(e),"data-input-otp":!0,"data-input-otp-placeholder-shown":0===n.length||void 0,"data-input-otp-mss":k,"data-input-otp-mse":S,id:t||r,name:r,type:"password"===p?"password":"text",inputMode:"password"!==p?"numeric":void 0,pattern:"[0-9]*",maxLength:a,readOnly:w,disabled:f,placeholder:d,value:n,onChange:H,onKeyDown:W,onPaste:z,onFocus:M,onBlur:T,onClick:L,onMouseOver:()=>y(!0),onMouseLeave:()=>y(!1),autoComplete:"one-time-code","aria-label":"OTP input with "+a+" digits",style:{position:"absolute",inset:0,width:"100%",height:"100%",display:"flex",textAlign:"center",opacity:"1",color:"transparent",pointerEvents:"all",background:"transparent",caretColor:"transparent",border:"0 solid transparent",outline:"0 solid transparent",boxShadow:"none",lineHeight:"1",letterSpacing:"-.5em",fontSize:"var(--root-height)",fontFamily:"monospace",fontVariantNumeric:"tabular-nums"}},c.input))))))},Oa=["children","autoFocus","initFocus","onChange"],Sa=o.createContext({active:!1,focusNextInput:()=>{},setInputRef:()=>{},handleSubmitEditing:()=>{},getReturnKeyType:()=>"next"}),za=["name","type"],Ha=e=>{var{name:t,type:r}=e,i=O(e,za),n=o.useContext(Sa),{touched:a,errors:l,submitCount:s,values:d,setFieldTouched:c,setFieldValue:u}=w.useFormikContext(),h=e=>{"Enter"===e.key&&(e.preventDefault(),n.focusNextInput(t))},g=["text","password","email","digits"].includes(r),m=w.getIn(a,t)||s>0?w.getIn(l,t):void 0,p=w.getIn(d,t);return Object.assign({},(e=>{switch(e){case"email":return{autoCorrect:"off",inputMode:"email",autoCapitalize:"none"};case"password":return{autoCorrect:"off",secureTextEntry:!0,autoCapitalize:"none"};case"digits":return{inputMode:"tel"};case"numeric":return{inputMode:"numeric"};case"name":return{autoCorrect:"off"};default:return{}}})(r),i,{value:p,error:m,onBlur:()=>{c(t,!0)},onKeyPress:h},g?{onChangeText:e=>{u(t,e),null==i.onChangeText||i.onChangeText(e)}}:{onChange:e=>{u(t,e),null==i.onChange||i.onChange(e)}},n.active?{handleKeyPress:h}:{})},Ma=["value"],Ta=["value"],Wa=["visibleIcon","hiddenIcon"],Ra=["isVisible","setIsVisible"],Va=["items","placeholder","searchPlaceholder"],La=(e,t,o)=>Math.min(Math.max(e,t),o),Ba=e=>{var t,{min:r=0,max:i=100,step:n=1,value:a=0,defaultValue:l,onChange:s,onDrag:d,orientation:c="horizontal",isDisabled:u=!1,stepValues:h}=e,g=La(null!=(t=null!=a?a:l)?t:r,r,i),[m,p]=o.useState(g),[v,b]=o.useState(!1),[x,f]=o.useState(!1),w=o.useRef(null),E=o.useRef(null),y=void 0!==a,C=y?a:m;o.useEffect(()=>{y&&p(La(a,r,i))},[a,y,r,i]);var j=o.useCallback(e=>{var t=La(e,r,i);y||p(t),s&&t!==C&&s(t),v&&d&&d(t)},[y,r,i,s,C,v,d]),k=o.useCallback(e=>{if(!u&&w.current){var t=w.current.getBoundingClientRect(),o=((e,t,o,r,i,n,a)=>{var l,s=r-o;if(l=La("horizontal"===n?(e-t.left)/t.width:(t.bottom-e)/t.height,0,1),a&&a.length>0){for(var d=o+l*s,c=a[0],u=Math.abs(d-c),h=1;h<a.length;h++){var g=Math.abs(d-a[h]);g<u&&(u=g,c=a[h])}return c}var m=Math.round((o+l*s)/i)*i;return La(m,o,r)})("touches"in e?"horizontal"===c?e.touches[0].clientX:e.touches[0].clientY:"horizontal"===c?e.clientX:e.clientY,t,r,i,n,c,h);j(o)}},[r,i,n,c,j,u,h]),I=o.useCallback(e=>{if(!u){e.preventDefault(),b(!0),k(e);var t=e=>{k(e)},o=()=>{b(!1),document.removeEventListener("mousemove",t),document.removeEventListener("mouseup",o),document.removeEventListener("touchmove",t),document.removeEventListener("touchend",o)};document.addEventListener("mousemove",t),document.addEventListener("mouseup",o),document.addEventListener("touchmove",t),document.addEventListener("touchend",o)}},[k,u]),O=o.useCallback(e=>{E.current&&E.current.contains(e.target)||I(e)},[I]),S=o.useCallback(e=>{if(!u){var t=C;switch(e.key){case"ArrowLeft":case"ArrowDown":t=C-n;break;case"ArrowRight":case"ArrowUp":t=C+n;break;case"Home":t=r;break;case"End":t=i;break;default:return}e.preventDefault(),j(t)}},[C,r,i,n,j,u]),z=i-r;return{currentValue:C,isDragging:v,isHovered:x,setIsHovered:f,trackRef:w,thumbRef:E,handleThumbMouseDown:I,handleTrackMouseDown:O,handleKeyDown:S,thumbPositionPercent:0===z?0:(C-r)/z*100}},Pa={xs:{height:4,width:"100%"},sm:{height:6,width:"100%"},md:{height:8,width:"100%"},lg:{height:10,width:"100%"},xl:{height:12,width:"100%"}},_a={xs:{width:12,height:12},sm:{width:16,height:16},md:{width:20,height:20},lg:{width:24,height:24},xl:{width:28,height:28}},Da={sharp:0,rounded:4,pillShaped:24},Fa={default:{backgroundColor:"color.blueGray.200"},outline:{backgroundColor:"transparent",borderWidth:1,borderStyle:"solid",borderColor:"color.blueGray.300"}},Aa={xs:{trackCrossAxisSize:4,thumbSize:12},sm:{trackCrossAxisSize:6,thumbSize:16},md:{trackCrossAxisSize:8,thumbSize:20},lg:{trackCrossAxisSize:10,thumbSize:24},xl:{trackCrossAxisSize:12,thumbSize:28}},Ga={horizontal:{width:"100%",minWidth:"120px",height:"auto",flexDirection:"row",paddingVertical:8},vertical:{height:"100%",minHeight:"120px",width:"auto",flexDirection:"column-reverse",paddingHorizontal:8}},Na=["min","max","step","currentValue","stepValues","shape","size","variant","orientation","isDisabled","showValue","showTooltip","colorScheme","label","helperText","themeMode","shadow","isDragging","isHovered","setIsHovered","trackRef","thumbRef","handleThumbMouseDown","handleTrackMouseDown","handleKeyDown","thumbPositionPercent","ariaLabel","views"],Ua=e=>{var t,o,{min:r=0,max:i=100,step:n=1,currentValue:a,stepValues:l,shape:d="rounded",size:c="md",variant:u="default",orientation:h="horizontal",isDisabled:g=!1,showValue:m=!1,showTooltip:p=!1,colorScheme:v="theme.primary",label:b,helperText:x,themeMode:f,shadow:w={},isDragging:E,isHovered:y,setIsHovered:C,trackRef:j,thumbRef:k,handleThumbMouseDown:S,handleTrackMouseDown:z,handleKeyDown:H,thumbPositionPercent:M,ariaLabel:T="Slider",views:W={container:{},track:{},progress:{},filledTrack:{},thumb:{},label:{},valueLabel:{},stepMarks:{},tooltip:{}}}=e,R=O(e,Na),{getColor:V,themeMode:L}=s.useTheme(),B=V(v,f||L),P=V("theme.disabled",f||L),_=V(Fa[u].backgroundColor,f||L),D="vertical"===h,{trackCrossAxisSize:F,thumbSize:A}=Aa[c]||{trackCrossAxisSize:Pa[c].height,thumbSize:_a[c].width||16},G=I.createElement(s.Vertical,Object.assign({width:"100%",gap:8},W.container,R),b&&I.createElement(s.Horizontal,{justifyContent:"space-between",alignItems:"center"},I.createElement(s.Text,Object.assign({fontSize:14,fontWeight:500},W.label),b),m&&I.createElement(s.Text,Object.assign({fontSize:14,color:"color.blueGray.500"},W.valueLabel),a)),I.createElement(s.View,Object.assign({ref:j,position:"relative",cursor:g?"not-allowed":"pointer",opacity:g?.6:1,onMouseDown:z,onMouseEnter:()=>C(!0),onMouseLeave:()=>C(!1)},Pa[c],{borderRadius:Da[d],backgroundColor:_},Fa[u],w,W.track),l&&l.length>0&&I.createElement(I.Fragment,null,l.map(e=>I.createElement(s.View,Object.assign({key:e,position:"absolute",top:"50%",left:(e-r)/(i-r)*100+"%",transform:"translate(-50%, -50%)",width:4,height:4,borderRadius:"50%",backgroundColor:g?P:B,zIndex:1},W.stepMarks)))),I.createElement(s.View,Object.assign({position:"absolute",top:0,left:0,height:"100%",width:M+"%",backgroundColor:g?P:B,borderRadius:Da[d],transition:"width 0.1s ease-in-out"},W.progress,W.filledTrack)),I.createElement(s.View,Object.assign({ref:k,role:"slider",tabIndex:g?-1:0,"aria-valuemin":r,"aria-valuemax":i,"aria-valuenow":a,"aria-orientation":h,"aria-disabled":g,"aria-label":T,position:"absolute",top:"50%",left:M+"%",borderRadius:"50%",backgroundColor:"white",boxShadow:"0 2px 4px rgba(0, 0, 0, 0.2)",border:"2px solid "+(g?P:B),transition:E?"none":"transform 0.1s ease-in-out",transform:y?"translate(-50%, -50%) scale(1.1)":"translate(-50%, -50%)",zIndex:2,onMouseDown:S,onTouchStart:S,onKeyDown:H},_a[c],W.thumb),p&&(y||E)&&I.createElement(s.View,Object.assign({position:"absolute",bottom:"100%",left:"50%",transform:"translateX(-50%)",marginBottom:8,padding:"4px 8px",backgroundColor:"color.black",color:"color.white",borderRadius:4,fontSize:12,whiteSpace:"nowrap",zIndex:3},W.tooltip),I.createElement(s.Text,Object.assign({},null==(t=W.tooltip)?void 0:t.text),null==a?void 0:a.toFixed(n<1?1:0))))),x&&I.createElement(en,null,x)),N=I.createElement(s.Center,Object.assign({},Ga[h],{position:"relative",onMouseEnter:()=>!g&&C(!0),onMouseLeave:()=>!g&&C(!1)},R,null==W?void 0:W.container),b&&I.createElement(s.Horizontal,{justifyContent:"space-between",alignItems:"center",marginBottom:8,width:"100%"},I.createElement(s.Text,Object.assign({fontSize:14,fontWeight:500},W.label),b),m&&I.createElement(s.Text,Object.assign({fontSize:14,color:"color.blueGray.500"},W.valueLabel),a)),I.createElement(s.View,Object.assign({ref:j,position:"relative",borderRadius:F/2,backgroundColor:g?P:_,cursor:g?"not-allowed":"pointer",width:D?F+"px":"100%",height:D?"100%":F+"px",onMouseDown:z,onTouchStart:z},null==W?void 0:W.track),l&&l.length>0&&I.createElement(I.Fragment,null,l.map(e=>{var t=(e-r)/(i-r)*100;return I.createElement(s.View,Object.assign({key:e,position:"absolute",width:4,height:4,borderRadius:"50%",backgroundColor:g?P:B,zIndex:1},D?{bottom:t+"%",left:"50%",transform:"translate(-50%, 50%)"}:{left:t+"%",top:"50%",transform:"translate(-50%, -50%)"},W.stepMarks))})),I.createElement(s.View,Object.assign({position:"absolute",borderRadius:F/2,backgroundColor:g?P:B},D?{bottom:0,left:0,width:"100%",height:M+"%"}:{top:0,left:0,height:"100%",width:M+"%"},null==W?void 0:W.filledTrack,null==W?void 0:W.progress)),I.createElement(s.View,Object.assign({ref:k,role:"slider",tabIndex:g?-1:0,"aria-valuemin":r,"aria-valuemax":i,"aria-valuenow":a,"aria-orientation":h,"aria-disabled":g,"aria-label":T,position:"absolute",width:A+"px",height:A+"px",borderRadius:"50%",backgroundColor:g?P:B,border:"2px solid "+V("color.white"),boxShadow:"0 1px 3px rgba(0, 0, 0, 0.2)",cursor:g?"not-allowed":"grab",transform:D?"translateX(-50%)":"translateY(-50%)",zIndex:2,transition:E?"none":"left 0.1s, bottom 0.1s"},D?{left:"50%",bottom:M+"%"}:{top:"50%",left:M+"%"},{onMouseDown:S,onTouchStart:S,onKeyDown:H},null==W?void 0:W.thumb),p&&(y||E)&&I.createElement(s.View,Object.assign({position:"absolute",padding:"4px 8px",backgroundColor:V("color.black"),color:V("color.white"),borderRadius:"4px",fontSize:"12px",whiteSpace:"nowrap",zIndex:3},D?{left:"100%",marginLeft:"8px",bottom:"0",transform:"translateY(50%)"}:{bottom:"100%",left:"50%",marginBottom:"8px",transform:"translateX(-50%)"},null==W?void 0:W.tooltip),I.createElement(s.Text,Object.assign({},null==W||null==(o=W.tooltip)?void 0:o.text),null==a?void 0:a.toFixed(n<1?1:0))))),x&&I.createElement(en,{marginTop:8},x));return D||p?N:G},Ya=j.create(e=>({visible:!1,title:"",subtitle:"",variant:"info",isClosable:!1,views:{},action:()=>{},actionText:"",showIcon:!1,timeout:3e3,show:function(t,o,r,i,n,a,l,s,d){return void 0===o&&(o=""),void 0===r&&(r=""),e({visible:!0,variant:t,title:o,subtitle:r,isClosable:i,views:n,action:a,actionText:l,showIcon:s,timeout:d})},hide:()=>e({visible:!1})})),Ka=(e,t,o,r)=>{Ya.getState().show(e,t,o,null==r?void 0:r.isClosable,null==r?void 0:r.views,null==r?void 0:r.action,null==r?void 0:r.actionText,null==r?void 0:r.showIcon,null==r?void 0:r.timeout)},Xa=()=>{Ya.getState().hide()},qa={info:{container:{backgroundColor:"color.blue.200",border:"color.blue.400"},icon:{color:"color.blue.500",name:"InformationIcon"},content:{color:"color.blue.500"},close:{color:"color.blue.500",name:"CloseIcon"}},success:{container:{backgroundColor:"color.green.200",border:"color.green.400"},icon:{color:"color.green.500",name:"SuccessIcon"},content:{color:"color.green.500"},close:{color:"color.green.500",name:"CloseIcon"}},error:{container:{backgroundColor:"color.red.200",border:"color.red.400"},icon:{color:"color.red.500",name:"ErrrorIcon"},content:{color:"color.red.500"},close:{color:"color.red.500",name:"CloseIcon"}},warning:{container:{backgroundColor:"color.orange.200",border:"color.orange.400"},icon:{color:"color.orange.500",name:"ErrrorIcon"},content:{color:"color.orange.500"},close:{color:"color.orange.500",name:"CloseIcon"}}},Za=e=>{var t,r,{variant:i,hide:n,title:a,subtitle:l,theme:d,action:c,actionText:u,showIcon:h=!1,isClosable:g=!1,timeout:m=3e3,views:p}=e;o.useEffect(()=>{if(m&&!g){var e=setTimeout(()=>{n()},m);return()=>{clearTimeout(e)}}},[]);var v=null!=d?d:qa,b=!(!c||!u),x={borderWidth:1,borderStyle:"solid",borderRadius:8,borderColor:""+v[i].container.border},f={info:"#3b82f6",success:"#4ade80",warning:"#f97316",error:"#ef4444"}[i],w={info:I.createElement(Pt,Object.assign({widthHeight:24,color:f},null==p?void 0:p.icon)),success:I.createElement(xo,Object.assign({widthHeight:24,color:f},null==p?void 0:p.icon)),warning:I.createElement(Nt,Object.assign({widthHeight:24,color:f},null==p?void 0:p.icon)),error:I.createElement(Qt,Object.assign({widthHeight:24,color:f},null==p?void 0:p.icon))}[i],E=h&&w;return I.createElement(s.Horizontal,Object.assign({role:"messageContent",gap:16,width:400,flexWrap:"nowrap",position:"relative",alignItems:"center",padding:"14px 24px 14px 14px",color:""+v[i].content.color,backgroundColor:""+v[i].container.backgroundColor,onClick:g?()=>{}:()=>{n()}},x,null==p?void 0:p.container),E&&w,I.createElement(s.Vertical,{gap:8,width:"100%"},I.createElement(q,Object.assign({size:"md",weight:"semiBold"},null==p?void 0:p.title),a),l&&I.createElement(q,Object.assign({size:"sm"},null==p?void 0:p.subtitle),l)),b&&I.createElement(q,Object.assign({marginRight:10,onClick:c,padding:"6px 10px",whiteSpace:"nowrap"},x,null==p?void 0:p.actionText),u),g&&I.createElement(s.View,Object.assign({position:"absolute",zIndex:1e4,right:8,top:6,onClick:()=>{n()}},null==p||null==(t=p.closingIcon)?void 0:t.container),I.createElement(Mt,Object.assign({widthHeight:18,color:f},null==p||null==(r=p.closingIcon)?void 0:r.icon))))},Ja=e=>{var{accept:t,isLoading:o=!1,progress:r=0,icon:i,text:n,previewUrl:a,thumbnailUrl:l,errorMessage:d,fileInputRef:c,videoRef:u,selectedFile:h,handleFileChange:g,handleClick:m,containerProps:p,errorMessageProps:v,progressProps:b,videoProps:x,imageProps:f,iconProps:w,textProps:E,fileType:y,previewUrl:C,renderError:j=(e=>{var{errorMessage:t,errorMessageProps:o}=e;return I.createElement(s.Text,Object.assign({color:"red",fontSize:12,marginTop:8},o,null==M?void 0:M.text),t)}),renderText:k=(e=>{var{text:t,textProps:o}=e;return I.createElement(s.Text,Object.assign({marginTop:8},o,null==M?void 0:M.text),t)}),renderFile:O=(e=>{var{selectedFile:t,textProps:o}=e;return t?I.createElement(s.Center,Object.assign({marginTop:8,gap:10,flexDirection:"column"},null==M?void 0:M.container),I.createElement(s.Text,Object.assign({maxLines:2},o,null==M?void 0:M.text),t.name),I.createElement(s.Text,Object.assign({},o,null==M?void 0:M.text),"(",Math.round(t.size/1024)," KB)")):null}),renderVideo:S=(e=>{var{selectedFile:t,videoRef:o,videoProps:r}=e;return I.createElement(s.View,Object.assign({width:"100%",height:"100%",position:"relative"},null==M?void 0:M.view),I.createElement(s.View,Object.assign({as:"video",width:"100%",height:"100%",src:t?URL.createObjectURL(t):void 0,style:{objectFit:"cover"},ref:o},r,null==M?void 0:M.view)))}),renderImage:z=(e=>{var{previewUrl:t,imageProps:o}=e;return console.log("Rendering image with URL:",t),I.createElement(s.View,Object.assign({width:"100%",height:"100%",position:"relative"},null==M?void 0:M.view),I.createElement(s.Image,Object.assign({src:t,alt:"Preview",width:"100%",height:"100%",objectFit:"cover",style:{maxHeight:"100%",maxWidth:"100%"}},o,null==M?void 0:M.image)))}),renderProgress:H=(e=>{var{progress:t,progressProps:o}=e;return I.createElement(s.Horizontal,Object.assign({gap:8,alignItems:"center"},o,null==M?void 0:M.horizontal),I.createElement(s.View,Object.assign({height:4,backgroundColor:"rgba(0,0,0,0.1)",width:"100%",borderRadius:2},null==M?void 0:M.view),I.createElement(s.View,Object.assign({height:4,width:t+"%",borderRadius:2,backgroundColor:"#000"},null==M?void 0:M.view))),I.createElement(s.Text,Object.assign({fontSize:12},null==M?void 0:M.text),t,"%"))}),views:M={}}=e,T=C||a;return console.log("Uploader state:",{fileType:y,finalPreviewUrl:T,selectedFile:null==h?void 0:h.name,progress:r}),I.createElement(s.Center,Object.assign({onClick:m,cursor:"pointer",border:"1px solid rgba(0,0,0,0.1)",borderRadius:8,padding:16,flexDirection:"column",overflow:"hidden",position:"relative",height:h&&100===r?"200px":"auto"},p,null==M?void 0:M.container),100===r&&"image"===y&&T&&z({previewUrl:T,imageProps:f}),100===r&&"video"===y&&l&&S({selectedFile:h,thumbnailUrl:l,videoRef:u,videoProps:x,imageProps:f}),100===r&&"file"===y&&h&&O({selectedFile:h,textProps:E}),r<100&&(i||I.createElement(Io,Object.assign({widthHeight:32},w))),!h&&n&&k({text:n,textProps:E}),o&&H({progress:r,progressProps:b}),d&&j({errorMessage:d,errorMessageProps:v}),I.createElement(s.View,Object.assign({as:"input",type:"file",ref:c,onChange:g,accept:t,style:{display:"none"}},null==M?void 0:M.view)))},Qa=["accept","icon","text","maxSize","onFileSelect","validateFile","isLoading","progress","fileType"],$a=j.create(e=>({modals:[],onHide:e=>e,onShow:(e,t)=>({name:e,props:t}),show:function(t,o,r){void 0===o&&(o={}),void 0===r&&(r={}),e(e=>Object.assign({},e,{modals:[...e.modals,{name:t,props:Object.assign({},o,{isVisible:!0}),overlayProps:r}]}))},hide:t=>{e(e=>t?Object.assign({},e,{modals:e.modals.filter(e=>e.name!==t)}):{modals:[]})},setOnHide:t=>{e(e=>Object.assign({},e,{onHide:t}))},setOnShow:t=>{e(e=>Object.assign({},e,{onShow:t}))}})),el=e=>{console.log("hideModal",e),$a.getState().onHide(e),$a.getState().hide("string"==typeof e?e:void 0)},tl={sharp:{borderRadius:0},rounded:{borderRadius:"8px"}},ol={center:{justifyContent:"center",alignItems:"center"},top:{justifyContent:"center",alignItems:"flex-start",paddingTop:"64px"},right:{justifyContent:"flex-end",alignItems:"center",paddingRight:"32px"},bottom:{justifyContent:"center",alignItems:"flex-end",paddingBottom:"64px"},left:{justifyContent:"flex-start",alignItems:"center",paddingLeft:"32px"}},rl={xs:12,sm:16,md:20,lg:24,xl:28},il=["children","blur","isOpen","isClosePrevented","onClose","position","views"],nl=["children","shadow","isFullScreen","shape","views"],al=["children","buttonColor","iconSize","buttonPosition","views"],ll=["children","views"],sl=["children","views"],dl=e=>{var{children:t,blur:o,isOpen:r=!1,isClosePrevented:i=!1,onClose:n=(()=>{}),position:a="center",views:l}=e,d=O(e,il),c=()=>{i||n()};return I.createElement(s.Center,Object.assign({position:"fixed",top:0,left:0,width:"100%",height:"100%",zIndex:1e3,onClick:c,visibility:r?"visible":"hidden",transition:"all 0.3s ease"},null==l?void 0:l.container),I.createElement(s.View,Object.assign({position:"absolute",top:0,left:0,zIndex:1e3,width:"100vw",height:"100vh",display:"flex",backgroundColor:"color.blackAlpha.500",backdropFilter:o?"blur("+o+"px)":void 0,transition:"all 0.3s ease",onClick:c},ol[a],d,null==l?void 0:l.view),t))},cl=e=>{var{children:t}=e;return I.createElement(I.Fragment,null,t)};cl.Overlay=dl,cl.Container=e=>{var{children:t,shadow:o,isFullScreen:r=!1,shape:i="rounded",views:n}=e,a=O(e,nl),l=void 0!==typeof document?{boxShadow:"0px 4px 16px rgba(0, 0, 0, 0.15)"}:{elevation:5,shadowColor:"rgba(0, 0, 0, 0.15)",shadowOffset:{width:0,height:4},shadowOpacity:1,shadowRadius:16};return I.createElement(s.Vertical,Object.assign({cursor:"default",backgroundColor:"white",width:r?"100%":600,height:r?"100%":"fit-content",onClick:e=>{e&&e.stopPropagation&&e.stopPropagation()},transition:"all 0.3s ease"},o||l,tl[i],a,null==n?void 0:n.container),t)},cl.Header=e=>{var{children:t,buttonColor:o="theme.primary",iconSize:r="md",buttonPosition:i="right",views:n}=e,a=O(e,al),l=I.createElement(Sr,{onClick:a.onClose?a.onClose:el,icon:I.createElement(Mt,{widthHeight:rl[r],color:o}),padding:0,margin:0,filter:"none",width:0});return I.createElement(s.Horizontal,Object.assign({justifyContent:"none"===i?"center":"space-between",alignItems:"center",paddingVertical:16,paddingHorizontal:24,borderBottomWidth:"1px",borderBottomStyle:"solid",borderBottomColor:"color.gray.200"},a,null==n?void 0:n.header),"left"===i&&l,t,"right"===i&&l)},cl.Body=e=>{var{children:t,views:o}=e,r=O(e,ll);return I.createElement(s.View,Object.assign({paddingVertical:16,paddingHorizontal:24,fontSize:"16px",fontWeight:"400",lineHeight:"24px",color:"color.gray.700"},r,null==o?void 0:o.view),t)},cl.Footer=e=>{var{children:t,views:o}=e,r=O(e,sl);return I.createElement(s.Horizontal,Object.assign({marginTop:"auto",alignItems:"center",justifyContent:"flex-end",paddingVertical:16,paddingHorizontal:24,borderTopWidth:"1px",borderTopStyle:"solid",borderTopColor:"color.gray.200",gap:12},r,null==o?void 0:o.container),t)},cl.Layout=e=>{var{modals:t,onShow:r,onHide:i}=e,n=$a(e=>e.modals);return r&&$a.getState().setOnShow(r),i&&$a.getState().setOnHide(i),0===n.length?null:I.createElement(o.Fragment,null,n.map((e,o)=>{var r=t[e.name];return r?I.createElement(dl,Object.assign({key:o,isOpen:e.props.isVisible,onClose:()=>el(e.name),blur:5},e.overlayProps,{style:{zIndex:1e3+o}}),I.createElement(r,Object.assign({},e.props))):(console.error(e.name+" modal doesn't exist"),null)}))};var ul={sm:{padding:"8px 12px",fontSize:"14px",fontWeight:"500"},md:{padding:"12px 16px",fontSize:"16px",fontWeight:"500"},lg:{padding:"16px 20px",fontSize:"18px",fontWeight:"500"}},hl={default:{backgroundColor:"transparent",color:"color.gray.800",transition:"all 0.2s ease"},filled:{backgroundColor:"color.gray.100",color:"color.gray.800",transition:"all 0.2s ease"},outline:{backgroundColor:"transparent",borderWidth:"1px",borderStyle:"solid",borderColor:"color.gray.200",color:"color.gray.800",transition:"all 0.2s ease"}},gl={horizontal:{flexDirection:"row",gap:"8px"},vertical:{flexDirection:"column",gap:"4px"}},ml={active:{backgroundColor:"color.blue.50",color:"color.blue.700",fontWeight:"600",borderLeftWidth:3,borderLeftStyle:"solid",borderLeftColor:"color.blue.600"},hover:{backgroundColor:"color.gray.100",transition:"background-color 0.2s ease"},disabled:{opacity:.6,cursor:"not-allowed"}},pl=["href","children","views"],vl=o.createContext({activeItemId:null,setActiveItemId:()=>{},expandedItemIds:[],toggleExpandedItem:()=>{},isItemExpanded:()=>!1,orientation:"vertical",size:"md",variant:"default"}),bl=e=>{var{children:t,value:o}=e;return I.createElement(vl.Provider,{value:o},t)},xl=()=>{var e=o.useContext(vl);if(!e)throw new Error("useNavigationMenuContext must be used within a NavigationMenuProvider");return e},fl=e=>{var{children:t,views:o}=e,{orientation:r}=xl();return I.createElement("horizontal"===r?s.Horizontal:s.Vertical,Object.assign({width:"100%"},gl[r],{transition:"all 0.2s ease",borderRadius:"4px"},null==o?void 0:o.container),t)},wl=o.createContext({itemValue:null,isDisabled:!1}),El=e=>{var t,{item:o,value:r,isDisabled:i=!1,children:n,views:a}=e,{activeItemId:l,setActiveItemId:d,orientation:c,size:u,variant:h,onItemActivate:g}=xl(),m=(null==o?void 0:o.id)||r,p=l===m,v=(null==o?void 0:o.items)&&o.items.length>0,b=(null==o?void 0:o.disabled)||i,x="horizontal"===c?s.Horizontal:s.Vertical;return n?I.createElement(wl.Provider,{value:{itemValue:m||null,isDisabled:b}},I.createElement(s.View,Object.assign({width:"100%",cursor:b?"not-allowed":"pointer",opacity:b?.6:1,borderRadius:"4px",transition:"all 0.2s ease"},ul[u],hl[h],p?ml.active:{},{_hover:b?{}:ml.hover},null==a?void 0:a.item),n)):v&&o?I.createElement(x,Object.assign({width:"100%",flexDirection:"column",position:"relative"},null==a?void 0:a.item),I.createElement(yl,{itemId:o.id,disabled:o.disabled,views:a},o.icon&&I.createElement(s.View,Object.assign({marginRight:8},null==a?void 0:a.icon),o.icon),o.label),I.createElement(Cl,{itemId:o.id},I.createElement(fl,null,null==(t=o.items)?void 0:t.map(e=>I.createElement(El,{key:e.id,item:e}))))):o?I.createElement(s.View,Object.assign({as:o.href?"a":"div",to:o.href,onClick:()=>{b||m&&(d(m),g&&g(m))},cursor:o.disabled?"not-allowed":"pointer",opacity:o.disabled?.6:1,width:"100%",display:"flex",alignItems:"center",borderRadius:"4px",transition:"all 0.2s ease",gap:"8px"},ul[u],hl[h],p?ml.active:{},{_hover:o.disabled?{}:ml.hover},null==a?void 0:a.item),o.icon&&I.createElement(s.View,Object.assign({marginRight:8},null==a?void 0:a.icon),o.icon),o.label):null},yl=e=>{var{children:t,itemId:o,disabled:r,views:i}=e,{activeItemId:n,toggleExpandedItem:a,isItemExpanded:l,size:d,variant:c}=xl(),u=n===o,h=l(o);return I.createElement(s.View,Object.assign({onClick:e=>{e.preventDefault(),r||a(o)},cursor:r?"not-allowed":"pointer",opacity:r?.5:1,width:"100%",display:"flex",alignItems:"center",justifyContent:"space-between",borderRadius:4,transition:"background-color 0.2s ease"},ul[d],hl[c],u?ml.active:{},{_hover:r?{}:ml.hover},null==i?void 0:i.trigger),I.createElement(s.View,{display:"flex",alignItems:"center"},t),I.createElement(s.View,Object.assign({transition:"transform 0.2s ease",transform:h?"rotate(180deg)":"rotate(0deg)"},null==i?void 0:i.indicator),I.createElement("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},I.createElement("path",{d:"M16.59 8.59L12 13.17L7.41 8.59L6 10L12 16L18 10L16.59 8.59Z",fill:"currentColor"}))))},Cl=e=>{var{children:t,itemId:o,views:r}=e,{isItemExpanded:i,orientation:n}=xl();return i(o)?I.createElement(s.View,Object.assign({paddingLeft:"vertical"===n?16:0,paddingTop:"horizontal"===n?8:0,overflow:"hidden",width:"100%",position:"horizontal"===n?"absolute":"relative",backgroundColor:"horizontal"===n?"white":"transparent",boxShadow:"horizontal"===n?"0 4px 6px rgba(0, 0, 0, 0.1)":"none",borderRadius:"horizontal"===n?"4px":"0",zIndex:"horizontal"===n?10:1},null==r?void 0:r.container),t):null},jl=e=>{var{items:t,orientation:o,views:r}=e;return t&&0!==t.length?I.createElement("horizontal"===o?s.Horizontal:s.Vertical,Object.assign({width:"100%"},gl[o],null==r?void 0:r.container),I.createElement(fl,{views:r},t.map(e=>I.createElement(El,{key:e.id,item:e,views:r})))):null},kl=["items","children","orientation","size","variant","defaultActiveItemId","defaultExpandedItemIds","onItemActivate","views"],Il=e=>{var{items:t,children:r,orientation:i="vertical",size:n="md",variant:a="default",defaultActiveItemId:l=null,defaultExpandedItemIds:s=[],onItemActivate:d,views:c}=e,u=O(e,kl),{activeItemId:h,setActiveItemId:g,expandedItemIds:m,toggleExpandedItem:p,isItemExpanded:v}=function(e,t){void 0===e&&(e=null),void 0===t&&(t=[]);var[r,i]=o.useState(e),[n,a]=o.useState(t);return{activeItemId:r,setActiveItemId:i,expandedItemIds:n,toggleExpandedItem:e=>{a(t=>t.includes(e)?t.filter(t=>t!==e):[...t,e])},isItemExpanded:e=>n.includes(e)}}(l,s);return I.createElement(bl,{value:{activeItemId:h,setActiveItemId:g,expandedItemIds:m,toggleExpandedItem:p,isItemExpanded:v,orientation:i,size:n,variant:a,onItemActivate:d}},t?I.createElement(jl,Object.assign({items:t,orientation:i,size:n,variant:a,views:c},u)):r)};Il.List=fl,Il.Item=El,Il.Trigger=yl,Il.Content=Cl,Il.Link=e=>{var{href:t,children:r,views:i}=e,n=O(e,pl),{itemValue:a,isDisabled:l}=(()=>{var e=o.useContext(wl);if(!e)throw new Error("useNavigationMenuItemContext must be used within a NavigationMenuItem");return e})(),{activeItemId:d,setActiveItemId:c,onItemActivate:u}=xl(),h=d===a;return I.createElement(s.View,Object.assign({as:"a",href:l?void 0:t,onClick:e=>{l?e.preventDefault():(a&&(c(a),u&&u(a)),n.onClick&&n.onClick(e))},cursor:l?"not-allowed":"pointer",opacity:l?.5:1,width:"100%",display:"flex",alignItems:"center","aria-current":h?"page":void 0,"aria-disabled":l,"data-active":h?"":void 0,"data-disabled":l?"":void 0},h?{fontWeight:"bold"}:{},null==i?void 0:i.container,n),r)};var Ol={},Sl=o.createContext({views:Ol,onRowClick:()=>{}}),zl=e=>{var{children:t,views:o=Ol,onRowClick:r}=e;return I.createElement(Sl.Provider,{value:{views:o,onRowClick:r}},t)},Hl=()=>o.useContext(Sl),Ml={table:{width:"100%",borderRadius:"8px",overflow:"hidden",boxShadow:"0 1px 3px rgba(0, 0, 0, 0.1)",border:"1px solid",borderColor:"color.gray.200",transition:"all 0.2s ease"},thead:{backgroundColor:"color.gray.50",borderBottom:"1px solid",borderBottomColor:"color.gray.200"},th:{padding:"12px 16px",fontWeight:"600",fontSize:"14px",color:"color.gray.700",textAlign:"left"},td:{padding:"12px 16px",fontSize:"14px",borderBottom:"1px solid",borderBottomColor:"color.gray.100"},tr:{transition:"background-color 0.2s ease",_hover:{backgroundColor:"color.gray.50"}},tfoot:{backgroundColor:"color.gray.50",fontWeight:"600",borderTop:"2px solid",borderTopColor:"color.gray.200"},caption:{margin:"8px 0",color:"color.gray.600",fontSize:"14px",fontStyle:"italic"}},Tl=e=>{var{views:t}=Hl();return I.createElement(s.Element,Object.assign({as:"table",borderCollapse:"collapse"},Ml.table,null==t?void 0:t.table,e))},Wl=e=>{var{views:t}=Hl();return I.createElement(s.Element,Object.assign({as:"thead",textAlign:"left"},Ml.thead,null==t?void 0:t.thead,e))},Rl=e=>{var{views:t}=Hl();return I.createElement(s.Element,Object.assign({as:"th",whiteSpace:"nowrap"},Ml.th,null==t?void 0:t.th,e))},Vl=e=>{var{views:t,onRowClick:o}=Hl();return I.createElement(s.Element,Object.assign({as:"tr"},Ml.tr,null==t?void 0:t.tr,{onClick:o},e))},Ll=e=>{var{views:t}=Hl();return I.createElement(s.Element,Object.assign({as:"td",whiteSpace:"nowrap",fontWeight:e.isFirstColumn?"500":"400"},Ml.td,null==t?void 0:t.td,e))},Bl=e=>{var{views:t}=Hl();return I.createElement(s.Element,Object.assign({as:"tbody"},Ml.tbody,null==t?void 0:t.tbody,e))},Pl=e=>{var{views:t}=Hl();return I.createElement(s.Element,Object.assign({as:"tfoot"},Ml.tfoot,null==t?void 0:t.tfoot,e))},_l=e=>{var{views:t}=Hl();return I.createElement(s.Element,Object.assign({as:"caption"},Ml.caption,null==t?void 0:t.caption,e))},Dl=e=>{var{children:t,views:o,onClick:r}=e;return I.createElement(zl,{views:o,onRowClick:r},t)};Dl.Head=Wl,Dl.HeadCell=Rl,Dl.Body=Bl,Dl.Row=Vl,Dl.Cell=Ll,Dl.Footer=Pl,Dl.Caption=_l,Dl.Container=Tl,Dl.Template=e=>{var{data:t,columns:o,footer:r,caption:i}=e;return I.createElement(Tl,{role:"Table"},i&&I.createElement(_l,null,i),I.createElement(Wl,null,I.createElement(Vl,null,o.map(e=>I.createElement(Rl,{key:e.field},e.title)))),I.createElement(Bl,null,t.map((e,t)=>I.createElement(Vl,{key:t},o.map((t,o)=>I.createElement(Ll,{key:t.field,isFirstColumn:0===o},e[t.field]))))),r&&I.createElement(Pl,null,I.createElement(Vl,null,r.map((e,t)=>I.createElement(Ll,Object.assign({key:t},e.props),e.value)))))};var Fl=e=>{var{tab:t,isActive:o,onClick:r,iconPosition:i="left",tabStyles:n,textStyles:a}=e;return I.createElement(s.Element,Object.assign({as:"div",role:"tab","aria-selected":o,tabIndex:o?0:-1},{display:"flex",alignItems:"center",justifyContent:"center",padding:"10px 16px",cursor:"pointer",borderTopLeftRadius:"4px",borderTopRightRadius:"4px",borderBottomLeftRadius:0,borderBottomRightRadius:0,borderWidth:"1px",borderStyle:"solid",borderColor:o?"theme.primary":"transparent",borderBottomColor:o?"transparent":"color.gray.200",backgroundColor:o?"color.white":"transparent",color:o?"theme.primary":"color.gray.600",fontWeight:"normal",position:"relative",on:{hover:{color:"theme.primary"}}},n,{flexDirection:(()=>{switch(i){case"top":return"column";case"bottom":return"column-reverse";case"right":return"row-reverse";case"left":default:return"row"}})(),gap:["top","bottom"].includes(i)?"4px":"8px",onClick:r,"data-state":o?"active":"inactive"}),t.icon&&I.createElement(s.Element,null,t.icon),I.createElement(s.Text,Object.assign({},a),t.title))},Al=e=>{var{tabs:t=[],activeTab:o,handleTabClick:r,views:i={},renderTab:n,renderContent:a,iconPosition:l="left"}=e;return o?I.createElement(s.Vertical,Object.assign({width:"100%",height:"100%"},i.container),I.createElement(s.Horizontal,Object.assign({},i.headerTabs),t.map(e=>{var t=e.title===o.title,a=()=>r(e);return n?n(e,t,a):I.createElement(Fl,{key:e.title,tab:e,isActive:t,onClick:a,iconPosition:l,tabStyles:Object.assign({},i.tab,t?i.activeTab:{}),textStyles:Object.assign({},i.title,t?i.activeText:{})})})),I.createElement(s.View,Object.assign({width:"100%",height:"100%"},i.content),a?a(o):o.content)):null},Gl=I.memo(e=>{var{tabs:t,views:r,initialTabValue:i,onTabChange:n,renderTab:a,renderContent:l,iconPosition:s="left"}=e,{activeTab:d,setActiveTab:c}=((e,t)=>{var r=()=>{if(e&&0!==e.length){if(void 0!==t){var o=e.find(e=>e.title===t);if(o)return o;console.warn('Tabs: initialTabValue "'+t+'" not found in tabs. Defaulting to the first tab.')}return e[0]}},[i,n]=o.useState(r);return o.useEffect(()=>{var o=r(),a=i&&e.some(e=>e.title===i.title);o&&(!a||void 0!==t&&(null==i?void 0:i.title)!==t)?n(o):!o&&i&&n(void 0)},[e,t]),{activeTab:i,setActiveTab:n}})(t,i);return I.createElement(Al,{tabs:t,views:r,activeTab:d,handleTabClick:e=>{(null==d?void 0:d.title)!==e.title&&(c(e),n&&n(e))},renderTab:a,renderContent:l,iconPosition:s})}),Nl=["children","shape","variant","isHovered","setIsHovered","isDisabled","isToggle","setIsToggled","onToggle","views"],Ul=e=>{var{children:t,shape:o="rounded",variant:r="ghost",isHovered:i,setIsHovered:n,isDisabled:a,isToggle:l,setIsToggled:d,onToggle:c,views:u}=e,h=O(e,Nl),g=a?"theme.disabled":"color.trueGray.400",m=!(!l&&!i);return I.createElement(s.Center,Object.assign({role:"Toggle",padding:"pillShaped"===o?"10px 12px":"8px",width:"fit-content",color:m?"color.white":g,backgroundColor:m?g:"transparent",onMouseEnter:()=>n(!i),onMouseLeave:()=>n(!1),cursor:a?"not-allowed":"pointer",borderRadius:"pillShaped"===o?"50px":"8px",onClick:()=>{a||d(e=>{var t=!e;return c&&c(t),t})}},{outline:{borderWidth:1,borderStyle:"solid",borderColor:"color.trueGray.400"},link:{borderWidth:1,borderStyle:"solid",borderColor:m?g:"transparent",textDecoration:"underline"},ghost:{}}[r],h,null==u?void 0:u.container),t)},Yl=["children","shape","variant","isDisabled","isToggled","onToggle"],Kl=e=>{var{children:t,shape:r,variant:i,isDisabled:n,isToggled:a=!1,onToggle:l}=e,s=O(e,Yl),{isHovered:d,setIsHovered:c,isToggle:u,setIsToggled:h}=(e=>{var[t,r]=o.useState(!1),[i,n]=o.useState(e);return{isHovered:t,setIsHovered:r,isToggle:i,setIsToggled:n}})(a);return o.useEffect(()=>{h(a)},[a]),I.createElement(Ul,Object.assign({shape:r,variant:i,isDisabled:n,isHovered:d,setIsHovered:c,isToggle:u,setIsToggled:h,onToggle:l},s),t)},Xl=e=>{var{items:t,onToggleChange:r,activeToggles:i,setActiveToggles:n,shape:a="rounded",variant:l="ghost",views:d}=e,c=o.useCallback((e,t)=>{n(o=>{var i;return i=t?o.includes(e)?o:[...o,e]:o.filter(t=>t!==e),null==r||r(i),i})},[r,n]);return I.createElement(s.Horizontal,Object.assign({role:"ToggleGroup",display:"flex",gap:5},null==d?void 0:d.container),t.map(e=>I.createElement(Kl,{role:"toggle-"+e.id,key:e.id,shape:a,variant:l,isToggled:i.includes(e.id)||e.isActive,onToggle:t=>c(e.id,t),isDisabled:e.isDisabled,views:null==d?void 0:d.toggle},e.value)))},ql=e=>{var{items:t,renderItem:o,containerProps:r,itemProps:i,draggedIndex:n,itemRefs:a,handleDragStart:l,views:d}=e;return I.createElement(s.View,Object.assign({overflow:"hidden",position:"relative"},r,null==d?void 0:d.container),t.map((e,t)=>I.createElement(s.View,Object.assign({key:t,ref:e=>a.current[t]=e,onMouseDown:e=>l(e,t),onTouchStart:e=>l(e,t),position:"relative",cursor:"grab",transition:"transform 0.2s",backgroundColor:n===t?"color.gray.100":"transparent"},i,null==d?void 0:d.item),o?o(e,t):e)))},Zl=e=>{var{items:t,draggedIndex:r,itemRefs:i,handleDragStart:n}=(e=>{var{items:t,onChange:r}=e,[i,n]=o.useState(t),[a,l]=o.useState(null),[s,d]=o.useState(null),c=o.useRef({x:0,y:0}),u=o.useRef([]),h=o.useCallback((e,t)=>{e.preventDefault(),document.body.style.cursor="grabbing",c.current={x:"touches"in e?e.touches[0].clientX:e.clientX,y:"touches"in e?e.touches[0].clientY:e.clientY},d(t),l(i[t])},[i]),g=o.useCallback(e=>{if(null!==s){var t="touches"in e?e.touches[0].clientX:e.clientX,o="touches"in e?e.touches[0].clientY:e.clientY,a=u.current[s];if(a){a.style.transform="translate("+(t-c.current.x)+"px, "+(o-c.current.y)+"px)",a.style.zIndex="1000";var l=u.current.findIndex((e,t)=>{if(!e||t===s)return!1;var r=e.getBoundingClientRect();return o>=r.top&&o<=r.bottom});if(-1!==l&&l!==s){var h=[...i],[g]=h.splice(s,1);h.splice(l,0,g),n(h),d(l),null==r||r(h),c.current={x:t,y:o}}}}},[s,i,r]),m=o.useCallback(()=>{document.body.style.cursor="",u.current.forEach(e=>{e&&(e.style.transform="",e.style.zIndex="")}),d(null),l(null)},[s]);return o.useEffect(()=>(null!==s&&(window.addEventListener("mousemove",g),window.addEventListener("touchmove",g),window.addEventListener("mouseup",m),window.addEventListener("touchend",m)),()=>{window.removeEventListener("mousemove",g),window.removeEventListener("touchmove",g),window.removeEventListener("mouseup",m),window.removeEventListener("touchend",m)}),[s,g,m]),{items:i,draggedItem:a,draggedIndex:s,itemRefs:u,handleDragStart:h}})(e);return I.createElement(ql,Object.assign({},e,{items:t,draggedIndex:r,itemRefs:i,handleDragStart:n}))},Jl=Zl,Ql={sm:{padding:"6px 8px",fontSize:"14px",minWidth:"160px"},md:{padding:"8px 12px",fontSize:"16px",minWidth:"180px"},lg:{padding:"10px 16px",fontSize:"18px",minWidth:"200px"}},$l={default:{backgroundColor:"white",color:"color.gray.800"},filled:{backgroundColor:"color.gray.100",color:"color.gray.800"},outline:{backgroundColor:"white",borderWidth:"1px",borderStyle:"solid",borderColor:"color.gray.200",color:"color.gray.800"}},es={hover:{backgroundColor:"color.gray.100"},active:{backgroundColor:"color.gray.200"},disabled:{opacity:.5,cursor:"not-allowed"}},ts=["children","views"],os=["items","side","align","views"],rs=["item","views"],is=["views"],ns=["trigger","items","side","align","views"],as=o.createContext({isOpen:!1,setIsOpen:()=>{},activeSubmenuId:null,setActiveSubmenuId:()=>{},size:"md",variant:"default"}),ls=e=>{var{children:t,value:o}=e;return I.createElement(as.Provider,{value:o},t)},ss=()=>{var e=o.useContext(as);if(!e)throw new Error("useDropdownMenuContext must be used within a DropdownMenuProvider");return e},ds=e=>{var{children:t,views:o}=e,r=O(e,ts),{isOpen:i,setIsOpen:n}=ss();return I.createElement(s.View,Object.assign({id:"dropdown-trigger",onClick:e=>{e.stopPropagation(),n(!i)},cursor:"pointer",position:"relative",display:"inline-block"},null==o?void 0:o.container,r),t)},cs=e=>{var{items:t,side:o="bottom",align:r="start",views:i}=e,n=O(e,os),{isOpen:a,variant:l}=ss();return a?I.createElement(s.View,Object.assign({id:"dropdown-menu",position:"absolute",zIndex:1e3,borderRadius:4,boxShadow:"0px 2px 8px rgba(0, 0, 0, 0.15)",overflow:"hidden"},function(e,t){return void 0===e&&(e="bottom"),void 0===t&&(t="start"),{top:Object.assign({bottom:"100%",marginBottom:"8px"},"start"===t&&{left:0},"center"===t&&{left:"50%",transform:"translateX(-50%)"},"end"===t&&{right:0}),right:Object.assign({left:"100%",marginLeft:"8px"},"start"===t&&{top:0},"center"===t&&{top:"50%",transform:"translateY(-50%)"},"end"===t&&{bottom:0}),bottom:Object.assign({top:"100%",marginTop:"8px"},"start"===t&&{left:0},"center"===t&&{left:"50%",transform:"translateX(-50%)"},"end"===t&&{right:0}),left:Object.assign({right:"100%",marginRight:"8px"},"start"===t&&{top:0},"center"===t&&{top:"50%",transform:"translateY(-50%)"},"end"===t&&{bottom:0})}[e]}(o,r),$l[l],null==i?void 0:i.menu,n),t.map((e,t)=>e.divider?I.createElement(hs,{key:"divider-"+t,views:i}):I.createElement(us,{key:e.id,item:e,views:i}))):null},us=e=>{var{item:t,views:r}=e,i=O(e,rs),{activeSubmenuId:n,setActiveSubmenuId:a,size:l}=ss(),[d,c]=o.useState(!1),u=t.items&&t.items.length>0,h=n===t.id,g=o.useRef(null);return I.createElement(s.View,Object.assign({ref:g,display:"flex",alignItems:"center",cursor:t.disabled?"not-allowed":"pointer",opacity:t.disabled?.5:1,position:"relative"},Ql[l],{_hover:t.disabled?{}:es.hover,backgroundColor:d&&!t.disabled?"color.gray.100":"transparent",onMouseEnter:()=>{c(!0),u&&a(t.id)},onMouseLeave:()=>{c(!1)},onClick:e=>{e.stopPropagation(),t.disabled||!u&&t.onClick&&t.onClick()}},null==r?void 0:r.item,i),t.icon&&I.createElement(s.View,Object.assign({marginRight:8},null==r?void 0:r.icon),t.icon),I.createElement(s.View,{flexGrow:1},t.label),u&&I.createElement(s.View,Object.assign({marginLeft:8},null==r?void 0:r.submenuIndicator),I.createElement("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},I.createElement("path",{d:"M8.59 16.59L13.17 12L8.59 7.41L10 6L16 12L10 18L8.59 16.59Z",fill:"currentColor"}))),h&&u&&I.createElement(cs,{items:t.items||[],side:"right",align:"start",views:r}))},hs=e=>{var{views:t}=e,o=O(e,is);return I.createElement(s.View,Object.assign({height:"1px",backgroundColor:"color.gray.200",margin:"4px 0"},null==t?void 0:t.divider,o))},gs=e=>{var{trigger:t,items:o,side:r="bottom",align:i="start",views:n}=e,a=O(e,ns);return I.createElement(s.View,Object.assign({position:"relative",display:"inline-block"},null==n?void 0:n.container,a),I.createElement(ds,{views:n},t),I.createElement(cs,{items:o,side:r,align:i,views:n}))},ms=["trigger","items","size","variant","side","align","defaultOpen","views"],ps=e=>{var{trigger:t,items:r,size:i="md",variant:n="default",side:a="bottom",align:l="start",defaultOpen:s=!1,views:d}=e,c=O(e,ms),{isOpen:u,setIsOpen:h,activeSubmenuId:g,setActiveSubmenuId:m}=function(e){void 0===e&&(e=!1);var[t,r]=o.useState(e),[i,n]=o.useState(null);return o.useEffect(()=>{var e=e=>{!e.composedPath().some(e=>"dropdown-menu"===(null==e?void 0:e.id)||"dropdown-trigger"===(null==e?void 0:e.id))&&t&&(r(!1),n(null))},o=()=>{t&&(r(!1),n(null))},i=e=>{"Escape"===e.key&&t&&(r(!1),n(null))};return document.addEventListener("mousedown",e),window.addEventListener("resize",o),document.addEventListener("keydown",i),()=>{document.removeEventListener("mousedown",e),window.removeEventListener("resize",o),document.removeEventListener("keydown",i)}},[t]),{isOpen:t,setIsOpen:r,activeSubmenuId:i,setActiveSubmenuId:n}}(s);return I.createElement(ls,{value:{isOpen:u,setIsOpen:h,activeSubmenuId:g,setActiveSubmenuId:m,size:i,variant:n}},I.createElement(gs,Object.assign({trigger:t,items:r,side:a,align:l,views:d},c)))};ps.Trigger=ds,ps.Content=cs,ps.Item=us,ps.Divider=hs;var vs=e=>e+"-"+Math.random().toString(36).substring(2,9),bs=["children","views","asChild"],xs=["children","views","side","align","sideOffset","style","backgroundColor","borderRadius","boxShadow","padding","minWidth","maxWidth"],fs=o.createContext({isOpen:!1,openCard:()=>{},closeCard:()=>{},cancelCloseTimer:()=>{},triggerRef:{current:null},contentRef:{current:null},contentId:"",triggerId:""}),ws=e=>{var{children:t,value:o}=e;return I.createElement(fs.Provider,{value:o},t)},Es=()=>{var e=o.useContext(fs);if(!e)throw new Error("useHoverCardContext must be used within a HoverCardProvider");return e},ys=["children","views","openDelay","closeDelay"],Cs=e=>{var{children:t,views:r,openDelay:i,closeDelay:n}=e,a=O(e,ys),l=function(e){var{openDelay:t=200,closeDelay:r=300}=void 0===e?{}:e,[i,n]=o.useState(!1),a=o.useRef(null),l=o.useRef(null),s=o.useRef(null),d=o.useRef(null),c=o.useMemo(()=>vs("hovercard-content"),[]),u=o.useMemo(()=>vs("hovercard-trigger"),[]),h=o.useCallback(()=>{a.current&&(clearTimeout(a.current),a.current=null),l.current&&(clearTimeout(l.current),l.current=null)},[]),g=o.useCallback(()=>{h(),i||(a.current=setTimeout(()=>{n(!0)},t))},[i,t,h]),m=o.useCallback(()=>{h(),i&&(l.current=setTimeout(()=>{n(!1)},r))},[i,r,h]),p=o.useCallback(()=>{l.current&&(clearTimeout(l.current),l.current=null)},[]);return o.useEffect(()=>()=>h(),[h]),{isOpen:i,openCard:g,closeCard:m,cancelCloseTimer:p,triggerRef:s,contentRef:d,contentId:c,triggerId:u}}({openDelay:i,closeDelay:n});return I.createElement(ws,{value:l},I.createElement(s.View,Object.assign({position:"relative",display:"inline-block"},null==r?void 0:r.container,a),t))};Cs.Trigger=e=>{var{children:t,views:r,asChild:i=!1}=e,n=O(e,bs),{openCard:a,closeCard:l,triggerRef:d,contentId:c,triggerId:u}=Es(),h=Object.assign({ref:d,onMouseEnter:()=>a(),onMouseLeave:()=>l(),onFocus:()=>a(),onBlur:()=>l(),id:u,"aria-describedby":c},null==r?void 0:r.container,n);if(i&&o.isValidElement(t)){var g=o.Children.only(t);return o.cloneElement(g,Object.assign({},h,g.props))}return I.createElement(s.View,Object.assign({position:"relative",display:"inline-block"},h),t)},Cs.Content=e=>{var{children:t,views:r,side:i="bottom",align:n="center",sideOffset:a=8,style:l,backgroundColor:d="white",borderRadius:c="4px",boxShadow:u="0px 2px 8px rgba(0, 0, 0, 0.15)",padding:h="12px",minWidth:g="200px",maxWidth:m="300px"}=e,p=O(e,xs),{isOpen:v,cancelCloseTimer:b,closeCard:x,contentRef:f,triggerRef:w,contentId:E,triggerId:y}=Es(),C=function(e,t,o,r){if(void 0===t&&(t="bottom"),void 0===o&&(o="center"),void 0===r&&(r=8),!e)return{position:"absolute",opacity:0,pointerEvents:"none"};var i={position:"absolute",zIndex:1e3};switch(t){case"top":i.bottom="100%",i.marginBottom=r,"start"===o?i.left=0:"center"===o?(i.left="50%",i.transform="translateX(-50%)"):"end"===o&&(i.right=0);break;case"right":i.left="100%",i.marginLeft=r,"start"===o?i.top=0:"center"===o?(i.top="50%",i.transform="translateY(-50%)"):"end"===o&&(i.bottom=0);break;case"bottom":i.top="100%",i.marginTop=r,"start"===o?i.left=0:"center"===o?(i.left="50%",i.transform="translateX(-50%)"):"end"===o&&(i.right=0);break;case"left":i.right="100%",i.marginRight=r,"start"===o?i.top=0:"center"===o?(i.top="50%",i.transform="translateY(-50%)"):"end"===o&&(i.bottom=0)}return i}((e=>{var[t,r]=o.useState(null),i=o.useCallback(()=>{e.current&&r(e.current.getBoundingClientRect())},[e]);return o.useLayoutEffect(()=>{if(e.current)return i(),window.addEventListener("resize",i),window.addEventListener("scroll",i),()=>{window.removeEventListener("resize",i),window.removeEventListener("scroll",i)}},[e,i]),t})(w),i,n,a);return v?I.createElement(s.View,Object.assign({ref:f,id:E,role:"tooltip","aria-labelledby":y,onMouseEnter:()=>b(),onMouseLeave:()=>x(),backgroundColor:d,borderRadius:c,boxShadow:u,padding:h,minWidth:g,maxWidth:m,zIndex:1e3,style:Object.assign({},C,l)},null==r?void 0:r.container,p),t):null};var js={sm:{padding:"6px 10px",fontSize:"14px"},md:{padding:"8px 12px",fontSize:"16px"},lg:{padding:"10px 16px",fontSize:"18px"}},ks={default:{backgroundColor:"transparent",color:"color.gray.800"},filled:{backgroundColor:"color.gray.100",color:"color.gray.800"},outline:{backgroundColor:"transparent",borderWidth:"1px",borderStyle:"solid",borderColor:"color.gray.200",color:"color.gray.800"}},Is={horizontal:{flexDirection:"row"},vertical:{flexDirection:"column"}},Os={active:{backgroundColor:"color.gray.200",fontWeight:"bold"},hover:{backgroundColor:"color.gray.100"},disabled:{opacity:.5,cursor:"not-allowed"}},Ss=["children","orientation","size","variant","views"],zs=o.createContext({activeMenuId:null,setActiveMenuId:()=>{},openMenuId:null,setOpenMenuId:()=>{},isMenuOpen:()=>!1,toggleMenu:()=>{},orientation:"horizontal",size:"md",variant:"default"}),Hs=()=>o.useContext(zs),Ms=e=>{var{value:t,children:o}=e;return I.createElement(zs.Provider,{value:t},o)},Ts=e=>{var{children:t,orientation:o="horizontal",size:r="md",variant:i="default",views:n}=e,a=O(e,Ss);return I.createElement("horizontal"===o?s.Horizontal:s.Vertical,Object.assign({role:"menubar","aria-orientation":o},Is[o],ks[i],null==n?void 0:n.container,a),t)},Ws=e=>{var{children:t,id:o,disabled:r=!1,views:i}=e,{orientation:n}=Hs();return I.createElement("horizontal"===n?s.Horizontal:s.Vertical,Object.assign({role:"none",position:"relative",opacity:r?.5:1,pointerEvents:r?"none":"auto"},null==i?void 0:i.menu),I.Children.map(t,e=>I.isValidElement(e)?I.cloneElement(e,Object.assign({},e.props,{menuId:o})):e))},Rs=e=>{var{children:t,menuId:o,disabled:r=!1,views:i}=e,{activeMenuId:n,setActiveMenuId:a,toggleMenu:l,isMenuOpen:d,size:c}=Hs(),u=n===o,h=d(o);return I.createElement(s.View,Object.assign({id:"menubar-trigger",role:"menuitem","aria-haspopup":"true","aria-expanded":h,userSelect:"none",display:"flex",alignItems:"center",justifyContent:"space-between"},js[c],u?Os.active:{},r?Os.disabled:{},{_hover:r?{}:Os.hover,onClick:()=>{r||(a(o),l(o))}},null==i?void 0:i.trigger),t)},Vs=e=>{var{children:t,menuId:o,views:r}=e,{isMenuOpen:i,orientation:n}=Hs();return i(o)?I.createElement(s.View,Object.assign({id:"menubar-content",role:"menu",position:"absolute",zIndex:1e3,minWidth:"200px",backgroundColor:"white",borderRadius:4,boxShadow:"0px 2px 8px rgba(0, 0, 0, 0.15)",overflow:"hidden"},(e=>"horizontal"===e?{top:"100%",left:0}:{top:0,left:"100%"})(n),null==r?void 0:r.content),t):null},Ls=e=>{var{children:t,icon:o,disabled:r=!1,onClick:i,views:n}=e,{size:a}=Hs();return I.createElement(s.View,Object.assign({role:"menuitem",cursor:r?"not-allowed":"pointer",userSelect:"none",display:"flex",alignItems:"center",opacity:r?.5:1},js[a],{_hover:r?{}:Os.hover,onClick:()=>{!r&&i&&i()}},null==n?void 0:n.item),o&&I.createElement(s.View,Object.assign({marginRight:8},null==n?void 0:n.icon),o),t)},Bs=e=>{var{views:t}=e;return I.createElement(s.View,Object.assign({role:"separator",height:"1px",backgroundColor:"color.gray.200",margin:"4px 0"},null==t?void 0:t.separator))},Ps=e=>{var{items:t,orientation:o,size:r,variant:i,views:n}=e;return I.createElement(Ts,{orientation:o,size:r,variant:i,views:n},t.map(e=>I.createElement(Ws,{key:e.id,id:e.id,disabled:e.disabled,views:n},I.createElement(Rs,{menuId:e.id,views:n},e.icon&&I.createElement(s.View,Object.assign({marginRight:8},null==n?void 0:n.icon),e.icon),e.label),e.items&&e.items.length>0&&I.createElement(Vs,{menuId:e.id,views:n},e.items.map((e,t)=>e.separator?I.createElement(Bs,{key:"separator-"+t,views:n}):I.createElement(Ls,{key:e.id,id:e.id,icon:e.icon,disabled:e.disabled,onClick:e.onClick,views:n},e.label))))))},_s=["items","orientation","size","variant","defaultActiveMenuId","defaultOpenMenuId","views"],Ds=e=>{var{items:t,orientation:r="horizontal",size:i="md",variant:n="default",defaultActiveMenuId:a=null,defaultOpenMenuId:l=null,views:s}=e,d=O(e,_s),{activeMenuId:c,setActiveMenuId:u,openMenuId:h,setOpenMenuId:g,isMenuOpen:m,toggleMenu:p}=function(e,t){void 0===e&&(e=null),void 0===t&&(t=null);var[r,i]=o.useState(e),[n,a]=o.useState(t);return o.useEffect(()=>{var e=e=>{!e.composedPath().some(e=>"menubar-content"===(null==e?void 0:e.id)||"menubar-trigger"===(null==e?void 0:e.id))&&null!==n&&a(null)},t=e=>{"Escape"===e.key&&null!==n&&a(null)};return document.addEventListener("mousedown",e),document.addEventListener("keydown",t),()=>{document.removeEventListener("mousedown",e),document.removeEventListener("keydown",t)}},[n]),{activeMenuId:r,setActiveMenuId:i,openMenuId:n,setOpenMenuId:a,isMenuOpen:e=>n===e,toggleMenu:e=>{a(t=>t===e?null:e)}}}(a,l);return I.createElement(Ms,{value:{activeMenuId:c,setActiveMenuId:u,openMenuId:h,setOpenMenuId:g,isMenuOpen:m,toggleMenu:p,orientation:r,size:i,variant:n}},I.createElement(Ps,Object.assign({items:t,orientation:r,size:i,variant:n,views:s},d)))};Ds.Root=Ts,Ds.Menu=Ws,Ds.Trigger=Rs,Ds.Content=Vs,Ds.Item=Ls,Ds.Separator=Bs;var Fs={sm:{fontSize:"12px",padding:"4px 8px",minWidth:"28px",height:"28px"},md:{fontSize:"14px",padding:"6px 12px",minWidth:"36px",height:"36px"},lg:{fontSize:"16px",padding:"8px 16px",minWidth:"44px",height:"44px"}},As={default:{backgroundColor:"transparent",color:"color.gray.800",_hover:{backgroundColor:"color.gray.100"}},filled:{backgroundColor:"color.gray.100",color:"color.gray.800",_hover:{backgroundColor:"color.gray.200"}},outline:{backgroundColor:"transparent",borderWidth:"1px",borderStyle:"solid",borderColor:"color.gray.200",color:"color.gray.800",_hover:{backgroundColor:"color.gray.100"}}},Gs={rounded:{borderRadius:"4px"},square:{borderRadius:"0px"},circular:{borderRadius:"50%"}},Ns={backgroundColor:"color.blue.500",color:"white",_hover:{backgroundColor:"color.blue.600"}},Us={opacity:.5,cursor:"not-allowed",_hover:{backgroundColor:"transparent"}},Ys=["currentPage","totalPages","onPageChange","pageSize","pageSizeOptions","onPageSizeChange","showPageSizeSelector","showPageInfo","maxPageButtons","showFirstLastButtons","size","variant","shape","visiblePageNumbers","views"],Ks=e=>{var{currentPage:t,totalPages:o,onPageChange:r,pageSize:i=10,pageSizeOptions:n=[{label:"10 / page",value:10},{label:"20 / page",value:20},{label:"50 / page",value:50},{label:"100 / page",value:100}],onPageSizeChange:a,showPageSizeSelector:l=!1,showPageInfo:d=!0,maxPageButtons:c=5,showFirstLastButtons:u=!1,size:h="md",variant:g="default",shape:m="rounded",visiblePageNumbers:p,views:v}=e,b=O(e,Ys),x=e=>{e<1||e>o||e===t||r(e)};return I.createElement(s.Horizontal,Object.assign({alignItems:"center",gap:8},null==v?void 0:v.container,b),u&&I.createElement(s.View,Object.assign({as:"button",display:"flex",alignItems:"center",justifyContent:"center",cursor:1===t?"not-allowed":"pointer"},Fs[h],As[g],Gs[m],1===t?Us:{},{onClick:()=>x(1),"aria-label":"First page",disabled:1===t},null==v?void 0:v.navigationButton),I.createElement(Ct,{orientation:"left",widthHeight:16}),I.createElement(Ct,{orientation:"left",widthHeight:16,marginLeft:"-8px"})),I.createElement(s.View,Object.assign({as:"button",display:"flex",alignItems:"center",justifyContent:"center",cursor:1===t?"not-allowed":"pointer"},Fs[h],As[g],Gs[m],1===t?Us:{},{onClick:()=>x(t-1),"aria-label":"Previous page",disabled:1===t},null==v?void 0:v.navigationButton),I.createElement(Ct,{orientation:"left",widthHeight:16})),p.map((e,o)=>((e,o)=>{if("..."===e)return I.createElement(s.View,Object.assign({key:"ellipsis-"+o,display:"flex",alignItems:"center",justifyContent:"center"},Fs[h],null==v?void 0:v.ellipsis),"...");var r=e===t;return I.createElement(s.View,Object.assign({key:"page-"+e,as:"button",display:"flex",alignItems:"center",justifyContent:"center",cursor:r?"default":"pointer"},Fs[h],As[g],Gs[m],r?Ns:{},{onClick:()=>x(e),"aria-label":"Page "+e,"aria-current":r?"page":void 0},r?null==v?void 0:v.activePageButton:null==v?void 0:v.pageButton),e)})(e,o)),I.createElement(s.View,Object.assign({as:"button",display:"flex",alignItems:"center",justifyContent:"center",cursor:t===o?"not-allowed":"pointer"},Fs[h],As[g],Gs[m],t===o?Us:{},{onClick:()=>x(t+1),"aria-label":"Next page",disabled:t===o},null==v?void 0:v.navigationButton),I.createElement(Ct,{orientation:"right",widthHeight:16})),u&&I.createElement(s.View,Object.assign({as:"button",display:"flex",alignItems:"center",justifyContent:"center",cursor:t===o?"not-allowed":"pointer"},Fs[h],As[g],Gs[m],t===o?Us:{},{onClick:()=>x(o),"aria-label":"Last page",disabled:t===o},null==v?void 0:v.navigationButton),I.createElement(Ct,{orientation:"right",widthHeight:16}),I.createElement(Ct,{orientation:"right",widthHeight:16,marginLeft:"-8px"})),d&&I.createElement(q,Object.assign({marginLeft:16,color:"color.gray.600"},null==v?void 0:v.pageInfo),"Page ",t," of ",o),l&&a&&I.createElement(s.View,Object.assign({as:"select",marginLeft:16,padding:"4px 8px",borderRadius:"4px",borderWidth:"1px",borderStyle:"solid",borderColor:"color.gray.200",backgroundColor:"white",cursor:"pointer",value:i,onChange:e=>{a&&a(Number(e.target.value))}},null==v?void 0:v.pageSizeSelector),n.map(e=>I.createElement("option",{key:e.value,value:e.value},e.label))))},Xs=["currentPage","totalPages","onPageChange","pageSize","pageSizeOptions","onPageSizeChange","showPageSizeSelector","showPageInfo","maxPageButtons","showFirstLastButtons","size","variant","shape","views"],qs={solid:"solid",dashed:"dashed",dotted:"dotted"},Zs={thin:"1px",medium:"2px",thick:"4px"},Js={transition:"all 0.2s ease"},Qs={fontSize:"14px",color:"color.gray.500",paddingHorizontal:"8px",transition:"all 0.2s ease"},$s=["orientation","variant","thickness","color","spacing","label","decorative","views"],ed=e=>{var{orientation:t="horizontal",variant:o="solid",thickness:r="thin",color:i,spacing:n="16px",label:a,decorative:l=!1,views:d}=e,c=O(e,$s),u=(s.useTheme(),i||"color.gray.200"),h=qs[o],g=Zs[r],m=l?{"aria-hidden":"true"}:{role:"separator","aria-orientation":t};return a&&"horizontal"===t?I.createElement(s.Horizontal,Object.assign({alignItems:"center",justifyContent:"center",width:"100%",margin:n},m,c),I.createElement(s.View,Object.assign({height:"0px",flexGrow:1,borderTopWidth:g,borderTopStyle:h,borderTopColor:u},Js,null==d?void 0:d.container)),I.createElement(q,Object.assign({},Qs,null==d?void 0:d.label),a),I.createElement(s.View,Object.assign({height:"0px",flexGrow:1,borderTopWidth:g,borderTopStyle:h,borderTopColor:u},Js,null==d?void 0:d.container))):I.createElement(s.View,Object.assign("horizontal"===t?{height:"0px",width:"100%",borderTopWidth:g,borderTopStyle:h,borderTopColor:u,margin:n}:{width:"0px",height:"100%",borderLeftWidth:g,borderLeftStyle:h,borderLeftColor:u,margin:n},Js,m,null==d?void 0:d.container,c))},td={sm:{expandedWidth:"240px",collapsedWidth:"64px"},md:{expandedWidth:"280px",collapsedWidth:"72px"},lg:{expandedWidth:"320px",collapsedWidth:"80px"},xl:{expandedWidth:"360px",collapsedWidth:"88px"}},od={default:{backgroundColor:"white",color:"color.gray.800",transition:"all 0.2s ease"},filled:{backgroundColor:"color.gray.100",color:"color.gray.800",transition:"all 0.2s ease"},outline:{backgroundColor:"white",borderWidth:"1px",borderStyle:"solid",borderColor:"color.gray.200",color:"color.gray.800",transition:"all 0.2s ease"},subtle:{backgroundColor:"color.gray.50",color:"color.gray.800",transition:"all 0.2s ease"},elevated:{backgroundColor:"white",boxShadow:"0px 4px 8px rgba(0, 0, 0, 0.1)",color:"color.gray.800",transition:"all 0.2s ease"}},rd={left:{left:0,borderRightWidth:"1px",borderRightStyle:"solid",borderRightColor:"color.gray.200"},right:{right:0,borderLeftWidth:"1px",borderLeftStyle:"solid",borderLeftColor:"color.gray.200"}},id={none:{},low:{boxShadow:"0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24)"},medium:{boxShadow:"0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23)"},high:{boxShadow:"0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23)"}},nd={fast:"width 0.2s ease, transform 0.2s ease",normal:"width 0.3s ease, transform 0.3s ease",slow:"width 0.5s ease, transform 0.5s ease",bounce:"width 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55), transform 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55)"},ad=["children","showToggleButton","views"],ld=["children","views"],sd=["children","views"],dd=["children","position","size","variant","fixed","hasBackdrop","expandedWidth","collapsedWidth","breakpointBehavior","elevation","transitionPreset","ariaLabel","isExpanded","isMobile","collapse","views"],cd=o.createContext({isExpanded:!0,toggleExpanded:()=>{},expand:()=>{},collapse:()=>{},position:"left",size:"md",variant:"default"}),ud=()=>o.useContext(cd),hd=e=>{var{value:t,children:o}=e;return I.createElement(cd.Provider,{value:t},o)},gd=e=>{var{children:t,position:o="left",size:r="md",variant:i="default",fixed:n=!1,hasBackdrop:a=!0,expandedWidth:l,collapsedWidth:d,breakpointBehavior:c="overlay",elevation:u="none",transitionPreset:h="normal",ariaLabel:g="Sidebar navigation",isExpanded:m,isMobile:p,collapse:v,views:b}=e,x=O(e,dd),f=td[r],w=m?l||f.expandedWidth:d||f.collapsedWidth,E=!p||p&&"hide"!==c,y=n||p&&"overlay"===c?"fixed":"relative";return I.createElement(I.Fragment,null,a&&p&&m&&"overlay"===c&&I.createElement(s.View,Object.assign({position:"fixed",top:0,left:0,width:"100vw",height:"100vh",backgroundColor:"color.blackAlpha.500",zIndex:998,onClick:v},null==b?void 0:b.backdrop)),E&&I.createElement(s.Vertical,Object.assign({position:y,top:0,height:"100vh",width:w,zIndex:999,transition:nd[h],transform:p&&"overlay"===c&&!m?"translateX("+("left"===o?"-100%":"100%")+")":"translateX(0)",role:"navigation","aria-label":g},od[i],rd[o],id[u],null==b?void 0:b.container,x),I.Children.map(t,e=>e)))},md=["children","position","size","variant","defaultExpanded","expanded","onExpandedChange","fixed","hasBackdrop","showToggleButton","expandedWidth","collapsedWidth","breakpoint","breakpointBehavior","views"],pd=e=>{var{children:t,position:r="left",size:i="md",variant:n="default",defaultExpanded:a=!0,expanded:l,onExpandedChange:s,fixed:d=!1,hasBackdrop:c=!0,showToggleButton:u=!0,expandedWidth:h,collapsedWidth:g,breakpoint:m=768,breakpointBehavior:p="overlay",views:v}=e,b=O(e,md),{isExpanded:x,toggleExpanded:f,expand:w,collapse:E,isMobile:y}=function(e,t,r,i){void 0===e&&(e=!0);var[n,a]=o.useState(void 0!==t?t:e),[l,s]=o.useState(!!i&&window.innerWidth<i);return o.useEffect(()=>{void 0!==t&&a(t)},[t]),o.useEffect(()=>{if(i){var e=()=>{var e=window.innerWidth<i;s(e)};return window.addEventListener("resize",e),e(),()=>{window.removeEventListener("resize",e)}}},[i]),{isExpanded:n,toggleExpanded:()=>{var e=!n;a(e),r&&r(e)},expand:()=>{n||(a(!0),r&&r(!0))},collapse:()=>{n&&(a(!1),r&&r(!1))},isMobile:l}}(a,l,s,m);return I.createElement(hd,{value:{isExpanded:x,toggleExpanded:f,expand:w,collapse:E,position:r,size:i,variant:n,views:v}},I.createElement(gd,Object.assign({position:r,size:i,variant:n,fixed:d,hasBackdrop:c,showToggleButton:u,expandedWidth:h,collapsedWidth:g,breakpoint:m,breakpointBehavior:p,isExpanded:x,isMobile:y,toggleExpanded:f,expand:w,collapse:E,views:v},b),t))};pd.Header=e=>{var{children:t,showToggleButton:o=!0,views:r}=e,i=O(e,ad),{isExpanded:n,toggleExpanded:a,position:l}=ud();return I.createElement(s.Horizontal,Object.assign({width:"100%",padding:"16px",borderBottomWidth:"1px",borderBottomStyle:"solid",borderBottomColor:"color.gray.200",alignItems:"center",justifyContent:"space-between"},null==r?void 0:r.header,i),n?I.createElement(s.Horizontal,{width:"100%",alignItems:"center",justifyContent:"space-between"},t,o&&I.createElement(s.View,Object.assign({as:"button",display:"flex",alignItems:"center",justifyContent:"center",width:"32px",height:"32px",borderRadius:"4px",backgroundColor:"transparent",cursor:"pointer",_hover:{backgroundColor:"color.gray.100"},onClick:a,"aria-label":n?"Collapse sidebar":"Expand sidebar"},null==r?void 0:r.toggleButton),I.createElement(Ct,Object.assign({orientation:"left"===l?"left":"right",widthHeight:16},null==r?void 0:r.toggleButtonIcon)))):I.createElement(s.View,{width:"100%",display:"flex",alignItems:"center",justifyContent:"center"},o&&I.createElement(s.View,Object.assign({as:"button",display:"flex",alignItems:"center",justifyContent:"center",width:"32px",height:"32px",borderRadius:"4px",backgroundColor:"transparent",cursor:"pointer",_hover:{backgroundColor:"color.gray.100"},onClick:a,"aria-label":n?"Collapse sidebar":"Expand sidebar"},null==r?void 0:r.toggleButton),I.createElement(Ct,Object.assign({orientation:"left"===l?"right":"left",widthHeight:16},null==r?void 0:r.toggleButtonIcon)))))},pd.Content=e=>{var{children:t,views:o}=e,r=O(e,ld),{isExpanded:i}=ud();return I.createElement(s.View,Object.assign({flex:"1",width:"100%",overflowY:"auto",overflowX:"hidden",padding:i?"16px":"8px"},null==o?void 0:o.content,r),t)},pd.Footer=e=>{var{children:t,views:o}=e,r=O(e,sd),{isExpanded:i}=ud();return I.createElement(s.View,Object.assign({width:"100%",padding:"16px",borderTopWidth:"1px",borderTopStyle:"solid",borderTopColor:"color.gray.200"},null==o?void 0:o.footer,r),i?t:null)},pd.useContext=ud;var vd={horizontal:{flexDirection:"row"},vertical:{flexDirection:"column"}},bd={default:{backgroundColor:"transparent",_hover:{backgroundColor:"color.gray.200"},_active:{backgroundColor:"color.gray.300"}},subtle:{backgroundColor:"transparent",_hover:{backgroundColor:"color.gray.100"},_active:{backgroundColor:"color.gray.200"}},prominent:{backgroundColor:"color.gray.100",_hover:{backgroundColor:"color.gray.200"},_active:{backgroundColor:"color.gray.300"}}},xd={width:"2px",height:"20px",backgroundColor:"color.gray.400",margin:"0 1px"},fd={width:"20px",height:"2px",backgroundColor:"color.gray.400",margin:"1px 0"},wd=["children","id","defaultSize","minSize","maxSize","collapsible","defaultCollapsed","onCollapseChange","views"],Ed=["id","position","disabled","withVisualIndicator","withCollapseButton","collapseTarget","views"],yd=["children","orientation","size","variant","defaultSizes","minSize","maxSize","collapsible","containerRef","views"],Cd=o.createContext({orientation:"horizontal",size:"md",variant:"default",isResizing:!1,setIsResizing:()=>{},registerPanel:()=>{},unregisterPanel:()=>{},getPanelSize:()=>0,setPanelSize:()=>{},isPanelCollapsed:()=>!1,togglePanelCollapse:()=>{},startResize:()=>{},onResize:()=>{},endResize:()=>{}}),jd=()=>o.useContext(Cd),kd=e=>{var{value:t,children:o}=e;return I.createElement(Cd.Provider,{value:t},o)},Id=e=>{var{children:t,orientation:o="horizontal",size:r="md",variant:i="default",collapsible:n=!1,containerRef:a,views:l}=e,d=O(e,yd);return I.createElement("horizontal"===o?s.Horizontal:s.Vertical,Object.assign({ref:a,width:"100%",height:"100%",position:"relative",overflow:"hidden"},vd[o],null==l?void 0:l.container,d),t)},Od=["children","orientation","size","variant","defaultSizes","onSizesChange","minSize","maxSize","collapsible","autoSaveId","storage","keyboardResizeBy","views"],Sd=e=>{var{children:t,orientation:r="horizontal",size:i="md",variant:n="default",defaultSizes:a,onSizesChange:l,minSize:s=50,maxSize:d,collapsible:c=!1,autoSaveId:u,storage:h,keyboardResizeBy:g=10,views:m}=e,p=O(e,Od),{isResizing:v,setIsResizing:b,containerRef:x,registerPanel:f,unregisterPanel:w,getPanelSize:E,setPanelSize:y,isPanelCollapsed:C,togglePanelCollapse:j,startResize:k,onResize:S,endResize:z}=function(e,t,r,i,n,a,l,s,d){void 0===i&&(i=50),void 0===n&&(n=Infinity),void 0===a&&(a=!1),void 0===d&&(d=10);var[c,u]=o.useState(!1),[h,g]=o.useState([]),m=o.useRef(null),p=o.useRef(null),v=o.useRef(0),b=o.useRef([]),x=o.useRef(s||("undefined"!=typeof window?{getItem:e=>{try{return localStorage.getItem("resizable-"+e)}catch(e){return console.warn("Failed to access localStorage:",e),null}},setItem:(e,t)=>{try{localStorage.setItem("resizable-"+e,t)}catch(e){console.warn("Failed to write to localStorage:",e)}}}:null)),f=o.useCallback(()=>m.current?"horizontal"===e?m.current.offsetWidth:m.current.offsetHeight:0,[e]),w=o.useCallback(()=>{if(!l||!x.current)return null;var e=x.current.getItem(l);if(!e)return null;try{var t=JSON.parse(e);return Array.isArray(t.sizes)?t.sizes:null}catch(e){return console.warn("Failed to parse saved panel sizes:",e),null}},[l]),E=o.useCallback(()=>{if(l&&x.current&&0!==h.length){var e=h.map(e=>({id:e.id,size:e.size,collapsed:e.collapsed||!1}));x.current.setItem(l,JSON.stringify({sizes:e}))}},[l,h]),y=o.useCallback((e,t,o,r,l)=>{g(s=>s.some(t=>t.id===e)?s:[...s,{id:e,size:t,minSize:null!=o?o:i,maxSize:null!=r?r:n,collapsible:null!=l?l:a,collapsed:!1}])},[i,n,a]),C=o.useCallback(e=>{g(t=>t.filter(t=>t.id!==e))},[]),j=o.useCallback(e=>{var t=h.find(t=>t.id===e);return t?t.size:0},[h]),k=o.useCallback((e,t)=>{g(o=>o.map(o=>o.id===e?Object.assign({},o,{size:t}):o))},[]),I=o.useCallback(e=>{var t=h.find(t=>t.id===e);return!!t&&!!t.collapsed},[h]),O=o.useCallback(e=>{g(t=>{var o=t.findIndex(t=>t.id===e);if(-1===o)return t;var r=t[o];if(!r.collapsible)return t;var i=Object.assign({},r,{collapsed:!r.collapsed}),n=[...t];return n[o]=i,n})},[]),S=o.useCallback((e,t)=>{p.current=e,v.current=t,b.current=h.map(e=>e.size),u(!0)},[h]),z=o.useCallback(e=>{var t,o,r,a;if(c&&p.current){var l=e-v.current,s=-1,d=p.current.match(/\d+$/);if(d&&(s=parseInt(d[0],10)-1),-1===s&&h.length>=2&&(s=0),!(s<0||s>=h.length-1)){var u=h[s],m=h[s+1];if(!u.collapsed&&!m.collapsed){var x=b.current[s]+l,f=b.current[s+1]-l;x=Math.max(null!=(t=u.minSize)?t:i,Math.min(null!=(o=u.maxSize)?o:n,x)),f=Math.max(null!=(r=m.minSize)?r:i,Math.min(null!=(a=m.maxSize)?a:n,f)),g(e=>e.map((e,t)=>t===s?Object.assign({},e,{size:x}):t===s+1?Object.assign({},e,{size:f}):e))}}}},[c,h,e,i,n]),H=o.useCallback(()=>{c&&r&&r(h.map(e=>e.size)),p.current=null,u(!1),l&&E()},[c,h,r,l,E]),M=o.useCallback(t=>{if(c&&p.current){var o=-1,r=p.current.match(/\d+$/);if(r&&(o=parseInt(r[0],10)-1),-1===o&&h.length>=2&&(o=0),!(o<0||o>=h.length-1)){var i=0;"horizontal"===e?("ArrowLeft"===t.key&&(i=-d),"ArrowRight"===t.key&&(i=d),"Home"===t.key&&(i=-100),"End"===t.key&&(i=100)):("ArrowUp"===t.key&&(i=-d),"ArrowDown"===t.key&&(i=d),"Home"===t.key&&(i=-100),"End"===t.key&&(i=100)),0!==i&&(t.preventDefault(),z(v.current+i)),"Escape"===t.key&&(g(e=>e.map((e,t)=>Object.assign({},e,{size:b.current[t]}))),H())}}},[c,h,e,z,H,d]);return o.useEffect(()=>{var t=t=>{c&&z("horizontal"===e?t.clientX:t.clientY)},o=t=>{if(c&&0!==t.touches.length){var o=t.touches[0];z("horizontal"===e?o.clientX:o.clientY)}},r=()=>{c&&H()};return c&&(document.addEventListener("mousemove",t),document.addEventListener("touchmove",o),document.addEventListener("mouseup",r),document.addEventListener("touchend",r),document.addEventListener("keydown",M),document.body.style.cursor="horizontal"===e?"col-resize":"row-resize",document.body.style.userSelect="none"),()=>{document.removeEventListener("mousemove",t),document.removeEventListener("touchmove",o),document.removeEventListener("mouseup",r),document.removeEventListener("touchend",r),document.removeEventListener("keydown",M),document.body.style.cursor="",document.body.style.userSelect=""}},[c,e,z,H,M]),o.useEffect(()=>{if(0!==h.length){if(l){var e=w();if(e)return void g(t=>t.map(t=>{var o=e.find(e=>e.id===t.id);return o?Object.assign({},t,{size:o.size,collapsed:o.collapsed||!1}):t}))}if(!t){var o=f()/h.length;g(e=>e.map(e=>Object.assign({},e,{size:o})))}}},[h.length,t,f,l,w]),o.useEffect(()=>{if(t&&0!==t.length&&0!==h.length){var e=f(),o=t.map(t=>"string"==typeof t&&t.endsWith("%")?parseFloat(t)/100*e:"number"==typeof t?t:parseFloat(t));g(e=>e.map((e,t)=>Object.assign({},e,{size:t<o.length?o[t]:e.size})))}},[t,h.length,f]),o.useEffect(()=>{h.length>0&&l&&!c&&E()},[h,l,c,E]),{isResizing:c,setIsResizing:u,containerRef:m,panels:h,registerPanel:y,unregisterPanel:C,getPanelSize:j,setPanelSize:k,isPanelCollapsed:I,togglePanelCollapse:O,startResize:S,onResize:z,endResize:H}}(r,a,l,s,d,c,u,h,g);return I.createElement(kd,{value:{orientation:r,size:i,variant:n,isResizing:v,setIsResizing:b,registerPanel:f,unregisterPanel:w,getPanelSize:E,setPanelSize:y,isPanelCollapsed:C,togglePanelCollapse:j,startResize:k,onResize:S,endResize:z}},I.createElement(Id,Object.assign({orientation:r,size:i,variant:n,defaultSizes:a,minSize:s,maxSize:d,collapsible:c,autoSaveId:u,keyboardResizeBy:g,containerRef:x,views:m},p),t))};Sd.Panel=e=>{var{children:t,id:r,defaultSize:i,minSize:n,maxSize:a,collapsible:l,defaultCollapsed:d,onCollapseChange:c,views:u}=e,h=O(e,wd),{orientation:g,registerPanel:m,unregisterPanel:p,getPanelSize:v,isPanelCollapsed:b,togglePanelCollapse:x}=jd(),f="string"==typeof i&&i.endsWith("%")?0:"number"==typeof i?i:0;o.useEffect(()=>(m(r,f,n,a,l),()=>p(r)),[r,f,n,a,l,m,p]);var w=v(r),E=b(r);return o.useEffect(()=>{c&&void 0!==E&&c(E)},[E,c]),o.useEffect(()=>{l&&d&&!E&&x(r)},[r,l,d,E,x]),E?I.createElement(s.View,Object.assign({flex:"0 0 auto",width:"horizontal"===g?"10px":"100%",height:"vertical"===g?"10px":"100%",backgroundColor:"color.gray.200",cursor:"pointer",onClick:()=>x(r),"aria-label":"Expand panel "+r,role:"button",tabIndex:0},null==u?void 0:u.collapsedPanel,h)):I.createElement(s.View,Object.assign({flex:w>0?"0 0 auto":"1",width:"horizontal"===g?w+"px":"100%",height:"vertical"===g?w+"px":"100%",overflow:"auto"},null==u?void 0:u.panel,h),t)},Sd.Handle=e=>{var{id:t,position:o="both",disabled:r=!1,withVisualIndicator:i=!0,withCollapseButton:n=!1,collapseTarget:a,views:l}=e,d=O(e,Ed),{orientation:c,size:u,variant:h,startResize:g,isPanelCollapsed:m,togglePanelCollapse:p}=jd(),v=(()=>{if(a)return a;var e=t.match(/\d+$/);if(!e)return"";var o=parseInt(e[0],10);return isNaN(o)?"":"panel"+o})(),b=m(v);return I.createElement(s.View,Object.assign({role:"separator","aria-orientation":c,"aria-valuemin":0,"aria-valuemax":100,tabIndex:r?-1:0,cursor:"horizontal"===c?"col-resize":"row-resize",display:"flex",alignItems:"center",justifyContent:"center",position:"relative"},((e,t)=>({sm:{width:"horizontal"===t?"4px":"100%",height:"vertical"===t?"4px":"100%"},md:{width:"horizontal"===t?"6px":"100%",height:"vertical"===t?"6px":"100%"},lg:{width:"horizontal"===t?"8px":"100%",height:"vertical"===t?"8px":"100%"}}[e]))(u,c),bd[h],{onMouseDown:e=>{r||(e.preventDefault(),g(t,"horizontal"===c?e.clientX:e.clientY))},onTouchStart:e=>{if(!r&&0!==e.touches.length){e.preventDefault();var o=e.touches[0];g(t,"horizontal"===c?o.clientX:o.clientY)}},onKeyDown:e=>{r||"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),g(t,0))},opacity:r?.5:1,pointerEvents:r?"none":"auto"},null==l?void 0:l.handle,d),i&&I.createElement(s.View,Object.assign({display:"flex",alignItems:"center",justifyContent:"center",width:"horizontal"===c?"100%":"auto",height:"vertical"===c?"100%":"auto",pointerEvents:"none"},null==l?void 0:l.handleIcon),"horizontal"===c?I.createElement(s.Horizontal,{gap:1},I.createElement(s.View,Object.assign({},xd)),I.createElement(s.View,Object.assign({},xd))):I.createElement(s.Vertical,{gap:1},I.createElement(s.View,Object.assign({},fd)),I.createElement(s.View,Object.assign({},fd)))),n&&v&&I.createElement(s.View,Object.assign({position:"absolute",top:"horizontal"===c?"-20px":"50%",left:"horizontal"===c?"50%":"-20px",transform:"horizontal"===c?"translateX(-50%)":"translateY(-50%)",width:"16px",height:"16px",borderRadius:"full",backgroundColor:"color.gray.100",border:"1px solid",borderColor:"color.gray.300",display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",zIndex:1,onClick:e=>{e.stopPropagation(),v&&p(v)},"aria-label":b?"Expand panel "+v:"Collapse panel "+v,role:"button",tabIndex:0,pointerEvents:"auto",_hover:{backgroundColor:"color.gray.200"}},null==l?void 0:l.collapseIcon),I.createElement(s.View,{width:"8px",height:"8px",display:"flex",alignItems:"center",justifyContent:"center"},b?I.createElement(s.Horizontal,null,I.createElement(s.View,{width:"6px",height:"2px",backgroundColor:"color.gray.600"}),I.createElement(s.View,{width:"2px",height:"6px",backgroundColor:"color.gray.600",position:"absolute"})):I.createElement(s.View,{width:"6px",height:"2px",backgroundColor:"color.gray.600"}))))};var zd={info:{container:{backgroundColor:"color.blue.50",border:"color.blue.300"},content:{color:"color.blue.700"},icon:{color:"color.blue.500"}},success:{container:{backgroundColor:"color.green.50",border:"color.green.300"},content:{color:"color.green.700"},icon:{color:"color.green.500"}},warning:{container:{backgroundColor:"color.orange.50",border:"color.orange.300"},content:{color:"color.orange.700"},icon:{color:"color.orange.500"}},error:{container:{backgroundColor:"color.red.50",border:"color.red.300"},content:{color:"color.red.700"},icon:{color:"color.red.500"}}},Hd={top:{top:"16px",left:"50%",transform:"translateX(-50%)"},"top-right":{top:"16px",right:"16px"},"top-left":{top:"16px",left:"16px"},bottom:{bottom:"16px",left:"50%",transform:"translateX(-50%)"},"bottom-right":{bottom:"16px",right:"16px"},"bottom-left":{bottom:"16px",left:"16px"}},Md=new Map,Td=j.create(e=>({toasts:[],add:function(t,o,r,i){void 0===i&&(i={});var n=i.id||Math.random().toString(36).substring(2,9),a=Object.assign({id:n,variant:t,title:o,description:r,createdAt:Date.now(),isVisible:!0},i);if(e(e=>({toasts:[...e.toasts,a]})),0!==i.duration){var l=setTimeout(()=>{Td.getState().remove(n)},i.duration||5e3);Md.set(n,l)}return n},remove:t=>{e(e=>({toasts:e.toasts.map(e=>e.id===t?Object.assign({},e,{isVisible:!1}):e)})),Md.has(t)&&(clearTimeout(Md.get(t)),Md.delete(t)),setTimeout(()=>{e(e=>({toasts:e.toasts.filter(e=>e.id!==t)}))},300)},removeAll:()=>{Md.forEach(clearTimeout),Md.clear(),e(e=>({toasts:e.toasts.map(e=>Object.assign({},e,{isVisible:!1}))})),setTimeout(()=>{e({toasts:[]})},300)}})),Wd=(e,t,o,r)=>Td.getState().add(e,t,o,r),Rd=(e,t,o)=>Wd("info",e,t,o),Vd=(e,t,o)=>Wd("success",e,t,o),Ld=(e,t,o)=>Wd("warning",e,t,o),Bd=(e,t,o)=>Wd("error",e,t,o),Pd=e=>{Td.getState().remove(e)},_d=()=>{Td.getState().removeAll()},Dd=e=>{var{variant:t,title:o,description:r,onClose:i,isClosable:n=!0,action:a,actionText:l,showIcon:d=!0,theme:c,views:u,render:h,icon:g,id:m,isVisible:p=!0}=e,v=null!=c?c:zd;return h?I.createElement(I.Fragment,null,h({id:m||"",onClose:i})):I.createElement(s.Horizontal,Object.assign({role:"error"===t?"alert":"status","aria-live":"error"===t||"warning"===t?"assertive":"polite","aria-atomic":"true","data-state":p?"open":"closed",gap:12,width:"100%",maxWidth:"400px",borderWidth:"1px",borderStyle:"solid",borderRadius:"8px",padding:"12px 16px",alignItems:"flex-start",position:"relative",backgroundColor:v[t].container.backgroundColor,borderColor:v[t].container.border,boxShadow:"0 4px 12px rgba(0, 0, 0, 0.08)",opacity:p?1:0,transform:p?"scale(1)":"scale(0.95)",transition:"all 0.3s ease"},null==u?void 0:u.container),d&&I.createElement(s.View,Object.assign({marginTop:"2px"},null==u?void 0:u.icon),(()=>{if(void 0!==g)return g;switch(t){case"info":return I.createElement(Pt,{widthHeight:20,color:v.info.icon.color});case"success":return I.createElement(_t,{widthHeight:20,color:v.success.icon.color});case"warning":return I.createElement(Pt,{widthHeight:20,color:v.warning.icon.color,orientation:"down"});case"error":return I.createElement(qt,{widthHeight:20,color:v.error.icon.color});default:return I.createElement(Pt,{widthHeight:20,color:v.info.icon.color})}})()),I.createElement(s.Vertical,{gap:4,flex:"1"},I.createElement(q,Object.assign({size:"md",fontWeight:"600",color:v[t].content.color,lineHeight:"1.4"},null==u?void 0:u.title),o),r&&I.createElement(q,Object.assign({size:"sm",color:v[t].content.color,fontWeight:"400",lineHeight:"1.5"},null==u?void 0:u.description),r),a&&l&&I.createElement(q,Object.assign({size:"sm",fontWeight:"600",marginTop:"8px",cursor:"pointer",color:v[t].content.color,onClick:e=>{e.stopPropagation(),a()},_hover:{textDecoration:"underline"},transition:"all 0.2s ease"},null==u?void 0:u.actionButton),l)),n&&I.createElement(s.View,Object.assign({as:"button","aria-label":"Close toast",backgroundColor:"transparent",border:"none",cursor:"pointer",padding:"4px",marginLeft:"8px",marginTop:"-4px",marginRight:"-8px",borderRadius:"4px",onClick:e=>{e.stopPropagation(),i()},_hover:{backgroundColor:"rgba(0, 0, 0, 0.05)"},transition:"all 0.2s ease"},null==u?void 0:u.closeButton),I.createElement(Mt,{widthHeight:16,color:v[t].content.color})))},Fd=e=>{var{position:t="top-right",gap:o=8,limit:r=5,containerStyle:i}=e,{toasts:n,remove:a}=Td(),l=I.useMemo(()=>{var e={top:[],"top-right":[],"top-left":[],bottom:[],"bottom-right":[],"bottom-left":[]};return n.forEach(o=>{e[o.position||t].push(o)}),Object.keys(e).forEach(t=>{e[t]=e[t].slice(-r)}),e},[n,t,r])[t];return I.createElement(s.View,Object.assign({position:"fixed",zIndex:9999,display:"flex",flexDirection:t.includes("bottom")?"column-reverse":"column",gap:o+"px",width:"fit-content",maxWidth:"100%",pointerEvents:"none"},Hd[t],{style:i}),l.map(e=>I.createElement(s.View,{key:e.id,pointerEvents:"auto",animation:t.includes("right")?"slideInRight 0.3s ease-out, fadeIn 0.3s ease-out":t.includes("left")?"slideInLeft 0.3s ease-out, fadeIn 0.3s ease-out":t.includes("top")?"slideInDown 0.3s ease-out, fadeIn 0.3s ease-out":"slideInUp 0.3s ease-out, fadeIn 0.3s ease-out"},I.createElement(Dd,{id:e.id,variant:e.variant,title:e.title,description:e.description,onClose:()=>a(e.id),isClosable:e.isClosable,action:e.action,actionText:e.actionText,showIcon:e.showIcon,views:e.views,render:e.render,icon:e.icon,isVisible:e.isVisible}))))},Ad=e=>I.createElement(Dd,Object.assign({},e)),Gd=Object.assign(Ad,{Container:e=>I.createElement(Fd,Object.assign({},e)),show:Wd,info:Rd,success:Vd,warning:Ld,error:Bd,remove:Pd,removeAll:_d}),Nd={sm:{width:"400px",maxHeight:"300px"},md:{width:"500px",maxHeight:"400px"},lg:{width:"600px",maxHeight:"500px"}},Ud={default:{backgroundColor:"white",borderWidth:"1px",borderStyle:"solid",borderColor:"color.gray.200",boxShadow:"0px 4px 20px rgba(0, 0, 0, 0.1)"},filled:{backgroundColor:"color.gray.50",borderWidth:"1px",borderStyle:"solid",borderColor:"color.gray.200",boxShadow:"0px 4px 20px rgba(0, 0, 0, 0.1)"},outline:{backgroundColor:"white",borderWidth:"2px",borderStyle:"solid",borderColor:"color.gray.300",boxShadow:"0px 4px 20px rgba(0, 0, 0, 0.1)"}},Yd={display:"flex",alignItems:"center",padding:"12px 16px",borderBottomWidth:"1px",borderBottomStyle:"solid",borderBottomColor:"color.gray.200"},Kd={overflow:"auto",padding:"8px 0"},Xd={marginBottom:"8px"},qd={padding:"8px 16px",fontSize:"12px",fontWeight:"bold",color:"color.gray.500",textTransform:"uppercase"},Zd={display:"flex",alignItems:"center",padding:"8px 16px",cursor:"pointer",userSelect:"none",borderRadius:"4px",margin:"0 8px",_hover:{backgroundColor:"color.gray.100"}},Jd={backgroundColor:"color.blue.50",_hover:{backgroundColor:"color.blue.100"}},Qd={opacity:.5,cursor:"not-allowed",_hover:{backgroundColor:"transparent"}},$d={display:"flex",alignItems:"center",justifyContent:"center",marginRight:"12px",color:"color.gray.500"},ec={display:"flex",flexDirection:"column",flex:1},tc={fontSize:"14px",fontWeight:"medium"},oc={fontSize:"12px",color:"color.gray.500",marginTop:"2px"},rc={display:"flex",alignItems:"center",marginLeft:"12px",fontSize:"12px",color:"color.gray.500"},ic={display:"flex",alignItems:"center",justifyContent:"center",padding:"16px",color:"color.gray.500",textAlign:"center"},nc={display:"flex",alignItems:"center",justifyContent:"space-between",padding:"8px 16px",borderTopWidth:"1px",borderTopStyle:"solid",borderTopColor:"color.gray.200",fontSize:"12px",color:"color.gray.500"},ac=["value","onValueChange","placeholder","views"],lc=["children","views"],sc=["heading","children","views"],dc=["item","selected","onSelect","views"],cc=["children","views"],uc=["open","onOpenChange","groups","commands","placeholder","size","variant","emptyState","footer","search","setSearch","selectedIndex","setSelectedIndex","filteredCommands","filteredGroups","listRef","views","filter"],hc=o.createContext({search:"",setSearch:()=>{},selectedIndex:0,setSelectedIndex:()=>{},filteredCommands:[],onSelect:()=>{}}),gc=e=>{var{value:t,children:o}=e;return I.createElement(hc.Provider,{value:t},o)},mc=e=>{var{value:t,onValueChange:r,placeholder:i="Type a command or search...",views:n}=e,a=O(e,ac),l=o.useRef(null);return I.useEffect(()=>{l.current&&l.current.focus()},[]),I.createElement(s.View,Object.assign({},Yd,null==n?void 0:n.container,a),I.createElement(Oo,{widthHeight:16,color:"color.gray.400",marginRight:"8px"}),I.createElement(s.View,Object.assign({as:"input",type:"text",value:t,onChange:e=>r(e.target.value),placeholder:i,width:"100%",border:"none",outline:"none",backgroundColor:"transparent",fontSize:"14px",ref:l},null==n?void 0:n.input)))},pc=e=>{var{heading:t,children:o,views:r}=e,i=O(e,sc);return I.createElement(s.View,Object.assign({},Xd,null==r?void 0:r.container,i),I.createElement(q,Object.assign({},qd,null==r?void 0:r.heading),t),o)},vc=e=>{var{item:t,selected:o=!1,onSelect:r,views:i}=e,n=O(e,dc);return I.createElement(s.Horizontal,Object.assign({},Zd,o?Jd:{},t.disabled?Qd:{},{onClick:()=>{!t.disabled&&r&&r()}},null==i?void 0:i.container,n),t.icon&&I.createElement(s.View,Object.assign({},$d,null==i?void 0:i.icon),t.icon),I.createElement(s.Vertical,Object.assign({},ec,null==i?void 0:i.content),I.createElement(q,Object.assign({},tc,null==i?void 0:i.name),t.name),t.description&&I.createElement(q,Object.assign({},oc,null==i?void 0:i.description),t.description)),t.shortcut&&I.createElement(q,Object.assign({},rc,null==i?void 0:i.shortcut),t.shortcut))},bc=e=>{var{children:t="No results found.",views:o}=e,r=O(e,cc);return I.createElement(s.View,Object.assign({},ic,null==o?void 0:o.container,r),t)},xc=e=>{var{open:t,onOpenChange:o,groups:r=[],commands:i=[],placeholder:n,size:a="md",variant:l="default",emptyState:d,footer:c,search:u,setSearch:h,selectedIndex:g,setSelectedIndex:m,filteredCommands:p,filteredGroups:v,listRef:b,views:x}=e,f=O(e,uc);if(!t)return null;var w=e=>{e.disabled||(e.onSelect(),o(!1),h(""))},E={search:u,setSearch:h,selectedIndex:g,setSelectedIndex:m,filteredCommands:p,onSelect:w},y=r.length>0,C=0===p.length;return I.createElement(s.View,Object.assign({position:"fixed",top:0,left:0,right:0,bottom:0,display:"flex",alignItems:"center",justifyContent:"center",backgroundColor:"rgba(0, 0, 0, 0.4)",zIndex:9999,onClick:e=>{e.target===e.currentTarget&&o(!1)}},f),I.createElement(gc,{value:E},I.createElement(s.View,Object.assign({borderRadius:"8px",overflow:"hidden",display:"flex",flexDirection:"column"},Nd[a],Ud[l],null==x?void 0:x.container,{onClick:e=>e.stopPropagation()}),I.createElement(mc,{value:u,onValueChange:h,placeholder:n,views:null==x?void 0:x.searchInput}),I.createElement(s.View,Object.assign({ref:b,flex:1,overflow:"auto"},null==x?void 0:x.list),C?d||I.createElement(bc,{views:null==x?void 0:x.empty}):y?v.map(e=>I.createElement(pc,{key:e.id,heading:e.name,views:null==x?void 0:x.groupHeading},e.commands.map(e=>{var t=p.findIndex(t=>t.id===e.id);return I.createElement(vc,{key:e.id,item:e,selected:t===g,onSelect:()=>w(e),"data-index":t,views:{container:null==x?void 0:x.item,icon:null==x?void 0:x.icon,content:null==x?void 0:x.content,name:null==x?void 0:x.name,description:null==x?void 0:x.description,shortcut:null==x?void 0:x.shortcut}})}))):p.map((e,t)=>I.createElement(vc,{key:e.id,item:e,selected:t===g,onSelect:()=>w(e),"data-index":t,views:{container:null==x?void 0:x.item,icon:null==x?void 0:x.icon,content:null==x?void 0:x.content,name:null==x?void 0:x.name,description:null==x?void 0:x.description,shortcut:null==x?void 0:x.shortcut}}))),c&&I.createElement(s.View,Object.assign({},nc,null==x?void 0:x.footer),c))))},fc=["open","onOpenChange","groups","commands","placeholder","size","variant","filter","emptyState","footer","views"],wc=e=>{var{open:t,onOpenChange:r,groups:i=[],commands:n=[],placeholder:a,size:l="md",variant:s="default",filter:d,emptyState:c,footer:u,views:h}=e,g=O(e,fc),{search:m,setSearch:p,selectedIndex:v,setSelectedIndex:b,filteredCommands:x,filteredGroups:f,listRef:w}=(e=>{var{open:t,onOpenChange:r,groups:i=[],commands:n=[],filter:a}=e,l=o.useCallback(()=>[...i.flatMap(e=>e.commands),...n],[i,n]),[s,d]=o.useState(""),[c,u]=o.useState(0),h=o.useRef(null),g=(e,t)=>{var o,r;if(!e)return!0;var i=e.toLowerCase(),n=t.name.toLowerCase().includes(i),a=(null==(o=t.description)?void 0:o.toLowerCase().includes(i))||!1,l=(null==(r=t.keywords)?void 0:r.some(e=>e.toLowerCase().includes(i)))||!1;return n||a||l},m=o.useCallback(e=>{var t=a||g;return l().filter(o=>t(e,o))},[l,a,g]),[p,v]=o.useState(l()),b=o.useCallback(()=>s?i.map(e=>Object.assign({},e,{commands:e.commands.filter(e=>(a||g)(s,e))})).filter(e=>e.commands.length>0):i,[i,s,a,g]);o.useEffect(()=>{v(m(s)),u(0)},[s,m]);var x=o.useCallback(e=>{if(t)switch(e.key){case"ArrowDown":e.preventDefault(),u(e=>e<p.length-1?e+1:e);break;case"ArrowUp":e.preventDefault(),u(e=>e>0?e-1:e);break;case"Enter":e.preventDefault(),p[c]&&(p[c].onSelect(),r(!1),d(""));break;case"Escape":e.preventDefault(),r(!1),d("")}},[t,p,c,r]);return o.useEffect(()=>(document.addEventListener("keydown",x),()=>{document.removeEventListener("keydown",x)}),[x]),o.useEffect(()=>{if(h.current&&t){var e=h.current.querySelector('[data-index="'+c+'"]');e&&e.scrollIntoView({block:"nearest"})}},[c,t]),o.useEffect(()=>{t&&u(0)},[t]),{search:s,setSearch:d,selectedIndex:c,setSelectedIndex:u,filteredCommands:p,filteredGroups:b(),listRef:h}})({open:t,onOpenChange:r,groups:i,commands:n,filter:d});return I.createElement(xc,Object.assign({open:t,onOpenChange:r,groups:i,commands:n,placeholder:a,size:l,variant:s,emptyState:c,footer:u,search:m,setSearch:p,selectedIndex:v,setSelectedIndex:b,filteredCommands:x,filteredGroups:f,listRef:w,views:h},g))};wc.Input=mc,wc.List=e=>{var{children:t,views:o}=e,r=O(e,lc);return I.createElement(s.View,Object.assign({},Kd,null==o?void 0:o.container,r),t)},wc.Group=pc,wc.Item=vc,wc.Empty=bc;var Ec=()=>Math.random().toString(36).substring(2,11),yc={sm:{padding:"4px 8px",fontSize:"12px",maxWidth:"200px"},md:{padding:"6px 10px",fontSize:"14px",maxWidth:"250px"},lg:{padding:"8px 12px",fontSize:"16px",maxWidth:"300px"}},Cc={default:{backgroundColor:"color.gray.800",color:"color.white"},light:{backgroundColor:"color.white",color:"color.gray.800",borderWidth:"1px",borderStyle:"solid",borderColor:"color.gray.200"},dark:{backgroundColor:"color.black",color:"color.white"}},jc=["children","views","asChild"],kc=["children","views"],Ic=["content","children","position","align","size","variant","showArrow","views"],Oc=o.createContext({isOpen:!1,openTooltip:()=>{},closeTooltip:()=>{},triggerRef:{current:null},contentRef:{current:null},contentId:"",triggerId:""}),Sc=()=>o.useContext(Oc),zc=e=>{var{value:t,children:o}=e;return I.createElement(Oc.Provider,{value:t},o)},Hc=e=>{var{children:t,views:o,asChild:r=!1}=e,i=O(e,jc),{openTooltip:n,closeTooltip:a,triggerRef:l,contentId:d,triggerId:c}=Sc(),u=Object.assign({ref:l,onMouseEnter:()=>n(),onMouseLeave:()=>a(),onFocus:()=>n(),onBlur:()=>a(),id:c,"aria-describedby":d},null==o?void 0:o.container,i);return r&&I.isValidElement(t)?I.cloneElement(t,u):I.createElement(s.View,Object.assign({display:"inline-block"},u),t)},Mc=e=>{var{content:t,children:o,position:r="top",align:i="center",size:n="md",variant:a="default",showArrow:l=!0,views:d}=e,c=O(e,Ic),{isOpen:u,contentRef:h,contentId:g,triggerId:m}=Sc(),p=((e,t)=>{var o={position:"absolute",zIndex:1e3};switch(e){case"top":return Object.assign({},o,{bottom:"100%",marginBottom:"8px"},"start"===t?{left:"0"}:"end"===t?{right:"0"}:{left:"50%",transform:"translateX(-50%)"});case"right":return Object.assign({},o,{left:"100%",marginLeft:"8px"},"start"===t?{top:"0"}:"end"===t?{bottom:"0"}:{top:"50%",transform:"translateY(-50%)"});case"bottom":return Object.assign({},o,{top:"100%",marginTop:"8px"},"start"===t?{left:"0"}:"end"===t?{right:"0"}:{left:"50%",transform:"translateX(-50%)"});case"left":return Object.assign({},o,{right:"100%",marginRight:"8px"},"start"===t?{top:"0"}:"end"===t?{bottom:"0"}:{top:"50%",transform:"translateY(-50%)"});default:return o}})(r,i),v=l?(e=>{var t={position:"absolute",width:"8px",height:"8px",backgroundColor:"inherit",borderStyle:"inherit",borderWidth:"inherit",borderColor:"inherit",transform:"rotate(45deg)"};switch(e){case"top":return Object.assign({},t,{bottom:"-4px",left:"50%",marginLeft:"-4px",borderTop:"none",borderLeft:"none"});case"right":return Object.assign({},t,{left:"-4px",top:"50%",marginTop:"-4px",borderRight:"none",borderTop:"none"});case"bottom":return Object.assign({},t,{top:"-4px",left:"50%",marginLeft:"-4px",borderBottom:"none",borderRight:"none"});case"left":return Object.assign({},t,{right:"-4px",top:"50%",marginTop:"-4px",borderLeft:"none",borderBottom:"none"});default:return t}})(r):{};return I.createElement(s.View,Object.assign({position:"relative",display:"inline-block"},null==d?void 0:d.container,c),I.createElement(Hc,null,o),u&&I.createElement(s.View,Object.assign({ref:h,id:g,role:"tooltip","aria-labelledby":m,borderRadius:4,boxShadow:"0px 2px 8px rgba(0, 0, 0, 0.15)"},yc[n],Cc[a],p,null==d?void 0:d.content),"string"==typeof t?I.createElement(s.Text,Object.assign({},null==d?void 0:d.text),t):t,l&&I.createElement(s.View,Object.assign({},v,null==d?void 0:d.arrow))))},Tc=["content","children","position","align","size","variant","openDelay","closeDelay","showArrow","defaultOpen","isDisabled","views"],Wc=e=>{var{content:t,children:r,position:i="top",align:n="center",size:a="md",variant:l="default",openDelay:s=200,closeDelay:d=200,showArrow:c=!0,defaultOpen:u=!1,isDisabled:h=!1,views:g}=e,m=O(e,Tc),p=function(e){var{defaultOpen:t=!1,openDelay:r=200,closeDelay:i=200,isDisabled:n=!1}=void 0===e?{}:e,[a,l]=o.useState(t),s=o.useRef(null),d=o.useRef(null),c=o.useRef(null),u=o.useRef(null),h=o.useRef("tooltip-trigger-"+Ec()).current,g=o.useRef("tooltip-content-"+Ec()).current,m=o.useCallback(()=>{n||(u.current&&(clearTimeout(u.current),u.current=null),a||c.current||(c.current=setTimeout(()=>{l(!0),c.current=null},r)))},[a,r,n]),p=o.useCallback(()=>{c.current&&(clearTimeout(c.current),c.current=null),a&&!u.current&&(u.current=setTimeout(()=>{l(!1),u.current=null},i))},[a,i]),v=o.useCallback(()=>{u.current&&(clearTimeout(u.current),u.current=null)},[]);return o.useEffect(()=>()=>{c.current&&clearTimeout(c.current),u.current&&clearTimeout(u.current)},[]),o.useEffect(()=>{var e=e=>{"Escape"===e.key&&a&&l(!1)};return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)}},[a]),{isOpen:a,openTooltip:m,closeTooltip:p,cancelCloseTimer:v,triggerRef:s,contentRef:d,triggerId:h,contentId:g}}({defaultOpen:u,openDelay:s,closeDelay:d,isDisabled:h});return I.createElement(zc,{value:p},I.createElement(Mc,Object.assign({content:t,position:i,align:n,size:a,variant:l,showArrow:c,views:g},m),r))};Wc.Trigger=Hc,Wc.Content=e=>{var{children:t,views:o}=e,r=O(e,kc),{isOpen:i,contentRef:n,contentId:a,triggerId:l}=Sc();return i?I.createElement(s.View,Object.assign({ref:n,id:a,role:"tooltip","aria-labelledby":l},null==o?void 0:o.container,r),t):null},e.Accordion=D,e.Alert=e=>{var{icon:t,title:o,views:r,description:i,variant:n}=e;return I.createElement(Ko,{icon:t,title:o,views:r,description:i,variant:n})},e.ArrowIcon=Wo,e.AspectRatio=e=>{var{ratio:t,children:o}=e,r=O(e,Zo);return I.createElement(qo,Object.assign({ratio:t},r),o)},e.Avatar=e=>{var{src:t,size:r,views:i,fallback:n,onClick:a}=e,{imageError:l,setImageError:s}=(()=>{var[e,t]=o.useState(!1);return{imageError:e,setImageError:t}})();return I.createElement(tr,{src:t,size:r,views:i,fallback:n,imageError:l,setImageError:s,onClick:a})},e.Badge=e=>{var{content:t,shape:o,position:r,variant:i,size:n,views:a}=e;return I.createElement(ar,{content:t,shape:o,position:r,variant:i,size:n,views:a})},e.BatteryIcon=Ut,e.BluetoothIcon=yo,e.BoldArrowIcon=To,e.BookmarkIcon=Yt,e.Button=Sr,e.CalendarIcon=Vo,e.CameraIcon=Eo,e.Card=Fr,e.Carousel=ai,e.Chart=e=>I.createElement(Hi,Object.assign({},e)),e.ChartIcon=No,e.Checkbox=e=>{var t=Yn(e);return I.createElement(Qn,Object.assign({},t,e))},e.ChevronIcon=Ct,e.ClockIcon=wo,e.CloseEyeIcon=So,e.CloseIcon=Mt,e.CloudIcon=Kt,e.ComboBox=e=>{var{id:t,name:o,items:r,placeholder:i,searchPlaceholder:n}=e,a=O(e,Ea),l=xa(r,i,n);return I.createElement(wa,Object.assign({id:t,name:o,items:r},l,a))},e.Command=wc,e.ContextMenu=qi,e.CopyIcon=Xt,e.CountryPicker=e=>{var t=ea(e);return I.createElement(ca,Object.assign({},t,e))},e.CropIcon=Bo,e.DatePicker=e=>{var t=ua();return I.createElement(ma,Object.assign({},t,e))},e.DeleteIcon=Zt,e.DocumentIcon=Go,e.DownloadIcon=$t,e.DragAndDrop=Jl,e.DragAndDropComponent=Zl,e.DragHandleIcon=jt,e.DropdownMenu=ps,e.DustBinIcon=qt,e.EditIcon=Jt,e.ErrorIcon=Qt,e.ExternalLinkIcon=zo,e.FacebookIcon=Rt,e.FileIcon=kt,e.FileImage=e=>{var{path:t}=e,o=O(e,Ji);return I.createElement(s.Image,Object.assign({src:t},o))},e.FileSVG=e=>{var{src:t,color:o,views:r}=e,i=O(e,Zi),{getColor:n,themeMode:a}=s.useTheme(),l=o?{fill:n(o,{themeMode:a}),stroke:n(o,{themeMode:a})}:{};return I.createElement(s.Center,Object.assign({},i,null==r?void 0:r.container),I.createElement(s.Image,Object.assign({},l,{content:'url("'+t+'")',width:"100%",height:"100%"},null==r?void 0:r.image)))},e.FilterIcon=lo,e.FormikCheckbox=e=>{var t=Ha(e),{value:o}=t,r=O(t,Ma);r.isChecked=o;var i=Yn(e);return I.createElement(Qn,Object.assign({},i,r))},e.FormikComboBox=e=>{var{items:t,placeholder:o,searchPlaceholder:r}=e,i=O(e,Va),n=Ha(i),a=xa(t,o,r);return I.createElement(wa,Object.assign({},a,n,{onSelect:e=>{n.onChange(e)}}))},e.FormikCountryPicker=e=>{var t=Ha(e),o=ea(e);return I.createElement(ca,Object.assign({},o,t))},e.FormikDatePicker=e=>{var t=Ha(e),o=ua();return I.createElement(ma,Object.assign({},o,t))},e.FormikForm=e=>{var{children:t,autoFocus:r=!1,initFocus:i,onChange:n=(()=>{})}=e,a=O(e,Oa),l=w.useFormikContext();o.useEffect(()=>{n(l.values)},[l.values]);var d=o.useRef({}),c=o.useRef([]),u=e=>{if(r){var t,o=c.current.indexOf(e)+1;o<c.current.length?null==(t=d.current[c.current[o]])||t.focus():l.onSubmit&&l.onSubmit(l.values)}},h={active:r,focusNextInput:u,setInputRef:(e,t)=>{d.current[e]=t,c.current.includes(e)||c.current.push(e)},handleSubmitEditing:u,getReturnKeyType:e=>c.current.indexOf(e)===c.current.length-1?"done":"next"};return o.useEffect(()=>{var e;if(r)if(i&&d.current[i])null==(e=d.current[i])||e.focus();else if(c.current[0]){var t;null==(t=d.current[c.current[0]])||t.focus()}},[r,i]),I.createElement(Sa.Provider,{value:h},I.createElement(s.Form,Object.assign({},a),t))},e.FormikOTPInput=e=>{var t=Ha(e),{isFocused:r,setIsFocused:i,isHovered:n,setIsHovered:a,inputRef:l,containerRef:s,mirrorSelectionStart:d,mirrorSelectionEnd:c,setMirrorSelectionStart:u,setMirrorSelectionEnd:h,setInputRef:g,handleFocus:m,handleBlur:p,handleKeyDown:v,handlePaste:b}=ya(e),x=o.useCallback(o=>{t.onChange&&t.onChange(o),e.onComplete&&o.length===(e.length||6)&&e.onComplete(o),l.current&&(l.current.value=o)},[t,e,l]),f=o.useCallback(t=>{var o=t.currentTarget.value.slice(0,e.length||6);x(o),l.current&&(l.current.value=o)},[e.length,x,l]);return I.createElement(Ia,Object.assign({},e,t,{setValue:x,isFocused:r,setIsFocused:i,isHovered:n,setIsHovered:a,inputRef:l,containerRef:s,mirrorSelectionStart:d,mirrorSelectionEnd:c,setMirrorSelectionStart:u,setMirrorSelectionEnd:h,setInputRef:g,handleChange:f,handleFocus:m,handleBlur:p,handleKeyDown:v,handlePaste:b,stepValues:e.stepValues}))},e.FormikPassword=e=>{var{visibleIcon:t=I.createElement(po,{widthHeight:14}),hiddenIcon:o=I.createElement(So,{widthHeight:14})}=e,r=O(e,Wa),i=Ha(r),n=pa(i),{isVisible:a,setIsVisible:l}=n,d=O(n,Ra);return I.createElement(Un,Object.assign({},d,{type:a?"text":"password",isClearable:!1,right:I.createElement(s.View,{onClick:()=>{r.isDisabled||l(!a)}},a?t:o)}))},e.FormikSelect=e=>{var t=Ha(e);t.selected=t.value;var o=Qi(e);return I.createElement(Mn,Object.assign({},o,t))},e.FormikSlider=e=>{var t=Ha(e),o=Ba(Object.assign({},e,{value:void 0!==t.value?Number(t.value):void 0,onChange:o=>{t.onChange(o),null==e.onChange||e.onChange(o)}}));return I.createElement(Ua,Object.assign({},e,o,t))},e.FormikSwitch=e=>{var t=Ha(e),o=Tn(e);return I.createElement(Pn,Object.assign({},o,t))},e.FormikTextArea=e=>{var t=Ha(e),o=_n(e);return I.createElement(Fn,Object.assign({},o,t))},e.FormikTextField=e=>{var t=Ha(e),o=O(An(e),Ta);return I.createElement(Un,Object.assign({},o,t))},e.HeartIcon=Ft,e.HelpIcon=yt,e.HomeIcon=so,e.HoverCard=Cs,e.Icon=Uo,e.ImageIcon=Ot,e.InfoIcon=Pt,e.InstagramIcon=Tt,e.LikeIcon=Co,e.Link=cr,e.LinkedinIcon=Vt,e.Loader=jr,e.LocationIcon=co,e.LockIcon=uo,e.MagicWandIcon=io,e.MenuIcon=eo,e.Menubar=Ds,e.MessageLayout=e=>{var{container:t,theme:o,position:r="topRight"}=e,{visible:i,title:n,variant:a,subtitle:l,isClosable:d,views:c,action:u,actionText:h,showIcon:g,timeout:m}=Ya(),p={topLeft:{top:6,left:8},topRight:{top:6,right:8},bottomLeft:{bottom:8,left:6},bottomRight:{bottom:8,right:6}}[r],v=()=>I.createElement(Za,{variant:a,subtitle:l,show:i,title:n,theme:o,isClosable:d,views:c,action:u,actionText:h,showIcon:g,timeout:m,hide:()=>Xa()}),b=t?I.cloneElement(t,{},v()):I.createElement(s.View,Object.assign({position:"absolute",zIndex:1e4},p),v());return i?b:null},e.MessageView=Za,e.MicrophoneIcon=ho,e.MinusIcon=Bt,e.Modal=cl,e.MoonIcon=go,e.NavigationMenu=Il,e.NotificationIcon=mo,e.OTPInput=e=>{var{value:t}=e,{value:o,setValue:r,isFocused:i,setIsFocused:n,isHovered:a,setIsHovered:l,inputRef:s,containerRef:d,mirrorSelectionStart:c,mirrorSelectionEnd:u,setMirrorSelectionStart:h,setMirrorSelectionEnd:g,setInputRef:m,handleChange:p,handleFocus:v,handleBlur:b,handleKeyDown:x,handlePaste:f}=ya(e);return I.createElement(Ia,Object.assign({},e,{value:void 0!==t?t:o,setValue:r,isFocused:i,setIsFocused:n,isHovered:a,setIsHovered:l,inputRef:s,containerRef:d,mirrorSelectionStart:c,mirrorSelectionEnd:u,setMirrorSelectionStart:h,setMirrorSelectionEnd:g,setInputRef:m,handleChange:p,handleFocus:v,handleBlur:b,handleKeyDown:x,handlePaste:f,stepValues:e.stepValues}))},e.OpenEyeIcon=po,e.Pagination=e=>{var{currentPage:t,totalPages:r,onPageChange:i,pageSize:n=10,pageSizeOptions:a,onPageSizeChange:l,showPageSizeSelector:s=!1,showPageInfo:d=!0,maxPageButtons:c=5,showFirstLastButtons:u=!1,size:h="md",variant:g="default",shape:m="rounded",views:p}=e,v=O(e,Xs),{visiblePageNumbers:b}=((e,t,r)=>{var[i,n]=o.useState([]);return o.useEffect(()=>{n((()=>{var o=[];if(t<=r)for(var i=1;i<=t;i++)o.push(i);else{o.push(1);var n=Math.max(2,e-Math.floor((r-2)/2)),a=Math.min(t-1,n+r-3);a>=t-1&&(a=t-1,n=Math.max(2,a-(r-3))),n>2&&o.push("...");for(var l=n;l<=a;l++)o.push(l);a<t-1&&o.push("..."),o.push(t)}return o})())},[e,t,r]),{visiblePageNumbers:i}})(t,r,c);return I.createElement(Ks,Object.assign({currentPage:t,totalPages:r,onPageChange:i,pageSize:n,pageSizeOptions:a,onPageSizeChange:l,showPageSizeSelector:s,showPageInfo:d,maxPageButtons:c,showFirstLastButtons:u,size:h,variant:g,shape:m,visiblePageNumbers:b,views:p},v))},e.PanelIcon=ao,e.Password=e=>{var{visibleIcon:t=I.createElement(po,{widthHeight:14}),hiddenIcon:o=I.createElement(So,{widthHeight:14})}=e,r=O(e,va),i=pa(r),{isVisible:n,setIsVisible:a}=i,l=O(i,ba);return I.createElement(Un,Object.assign({},l,{type:n?"text":"password",isClearable:!1,right:I.createElement(s.View,{onClick:()=>{r.isDisabled||a(!n)}},n?t:o)}))},e.PauseIcon=Dt,e.PlayIcon=_t,e.PlusIcon=Ho,e.PrintIcon=ro,e.ProfileIcon=vo,e.RefreshIcon=oo,e.Resizable=Sd,e.RotateIcon=Ao,e.SaveIcon=Gt,e.SearchIcon=Oo,e.Select=e=>{var t=Qi(e);return I.createElement(Mn,Object.assign({},t,e))},e.Separator=e=>I.createElement(ed,Object.assign({},e)),e.SettingsIcon=bo,e.ShapeIcon=Fo,e.ShareIcon=to,e.Sidebar=pd,e.Slider=e=>{var t=Ba(e);return I.createElement(Ua,Object.assign({},e,t))},e.SliderIcon=Lo,e.SliderVerticalIcon=no,e.SpinnerIcon=Ro,e.StarIcon=At,e.SuccessIcon=xo,e.Switch=e=>{var t=Tn(e);return I.createElement(Pn,Object.assign({},t,e))},e.Table=Dl,e.Tabs=Gl,e.Text=q,e.TextArea=e=>{var t=_n(e);return I.createElement(Fn,Object.assign({},t,e))},e.TextField=e=>{var t=An(e);return I.createElement(Un,Object.assign({},t,e))},e.TextIcon=Do,e.ThreadsIcon=Lt,e.TickIcon=Mo,e.Toast=Gd,e.Toggle=Kl,e.ToggleGroup=e=>{var{items:t,shape:r,variant:i,onToggleChange:n}=e,{activeToggles:a,setActiveToggles:l}=(()=>{var[e,t]=o.useState([]);return{activeToggles:e,setActiveToggles:t}})();return I.createElement(Xl,{items:t,shape:r,variant:i,activeToggles:a,setActiveToggles:l,onToggleChange:n})},e.Tooltip=Wc,e.TwitchIcon=Ht,e.TwitterIcon=St,e.UnLikeIcon=fo,e.UnlockIcon=jo,e.UploadIcon=Io,e.Uploader=e=>{var{accept:t="*/*",icon:r,text:i,maxSize:n,onFileSelect:a,validateFile:l,isLoading:s=!1,progress:d=0,fileType:c}=e,u=O(e,Qa),{previewUrl:h,thumbnailUrl:g,errorMessage:m,videoRef:p,fileInputRef:v,selectedFile:b,handleFileChange:x,handleClick:f}=(e=>{var{maxSize:t=104857600,onFileSelect:r,validateFile:i,thumbnail:n,onError:a=(e=>{Ka("error","Error",e)})}=e,l=o.useRef(null),s=o.useRef(null),[d,c]=o.useState(null),[u,h]=o.useState(null),[g,m]=o.useState(null),[p,v]=o.useState(n||null),b=o.useCallback(e=>{var o,n=null==(o=e.target.files)?void 0:o[0];if(h(null),!n)return a("No file selected"),void h("No file selected");if(n.size>t)return a("File exceeds "+Math.round(t/1048576)+"MB."),void h("File exceeds "+Math.round(t/1048576)+"MB.");if(i){var l=i(n);if(l)return a(l),void h(l)}m(URL.createObjectURL(n)),n.type.startsWith("video/")&&((e,t)=>{var o=document.createElement("video");o.preload="metadata",o.onloadedmetadata=()=>{o.currentTime=1},o.oncanplay=()=>{var e=document.createElement("canvas");e.width=o.videoWidth,e.height=o.videoHeight;var r=e.getContext("2d");if(r){r.drawImage(o,0,0,e.width,e.height);var i=e.toDataURL("image/jpeg");t(i)}URL.revokeObjectURL(o.src)},o.src=URL.createObjectURL(e)})(n,v),r&&(c(n),r(n))},[t,r,i]);return o.useEffect(()=>()=>{g&&URL.revokeObjectURL(g),p&&URL.revokeObjectURL(p)},[g,p]),{previewUrl:g,thumbnailUrl:p,errorMessage:u,fileInputRef:l,videoRef:s,selectedFile:d,handleFileChange:b,handleClick:()=>{var e;return null==(e=l.current)?void 0:e.click()}}})({accept:t,maxSize:n,onFileSelect:a,validateFile:l}),w=c||(b?b.type.startsWith("image/")?"image":b.type.startsWith("video/")?"video":"file":void 0);return I.createElement(Ja,Object.assign({handleClick:f,accept:t,isLoading:s,progress:d,icon:r,text:i,maxSize:n,onFileSelect:a,validateFile:l,errorMessage:m,handleFileChange:x,selectedFile:b,videoRef:p,fileInputRef:v,previewUrl:h,thumbnailUrl:g,fileType:w},u))},e.UserIcon=Et,e.VideoIcon=It,e.WarningIcon=Nt,e.WifiIcon=ko,e.XIcon=zt,e.YoutubeIcon=Wt,e.ZoomInIcon=Po,e.ZoomOutIcon=_o,e.hideMessage=Xa,e.hideModal=el,e.showMessage=Ka,e.showModal=function(e,t,o){void 0===t&&(t={}),void 0===o&&(o={}),$a.getState().show(e,t,o),$a.getState().onShow(e,t)},e.useMessageStore=Ya,e.useModalStore=$a,e.useToast=()=>({toast:(e,t,o,r)=>Wd(e,t,o,r),info:(e,t,o)=>Rd(e,t,o),success:(e,t,o)=>Vd(e,t,o),warning:(e,t,o)=>Ld(e,t,o),error:(e,t,o)=>Bd(e,t,o),remove:e=>Pd(e),removeAll:()=>_d()}),Object.defineProperty(e,"__esModule",{value:!0})}));
|
|
2
2
|
//# sourceMappingURL=web.umd.production.min.js.map
|