import React__default from 'react';
import { C as ChannelProvider } from './ChannelProvider-3bd92d16.js';
import ChannelUI from './Channel/components/ChannelUI.js';
import './UserProfileContext-a59f0533.js';
import 'prop-types';
import './useSendbirdStateContext.js';
import './withSendbird.js';
import './_rollupPluginBabelHelpers-a69fd1ce.js';
import './const-9982664a.js';
import './index-e7f4cbdf.js';
import './index-90420b99.js';
import './topics-247fcf3a.js';
import './index-f83f0aac.js';
import './utils/message/getOutgoingMessageState.js';
import './compareIds-aca19765.js';
import '@sendbird/chat/groupChannel';
import './uuid-2e8efc75.js';
import '@sendbird/chat/message';
import './consts-e64103c6.js';
import './resolvedReplyType-7bde5f56.js';
import './index-8b2036e8.js';
import './LocalizationContext-426f3d58.js';
import './stringSet-a62108b2.js';
import './ui/Icon.js';
import './index-4105bc4d.js';
import './ui/Loader.js';
import './ui/ConnectionStatus.js';
import './Channel/components/ChannelHeader.js';
import './utils-d317e3c3.js';
import './ui/IconButton.js';
import './ui/ChannelAvatar.js';
import './ui/Avatar.js';
import './ui/ImageRenderer.js';
import './utils-20147203.js';
import './MediaQueryContext-b531adc9.js';
import './utils-4bf6e4e6.js';
import './Channel/components/MessageList.js';
import './Channel/components/Message.js';
import './Channel/components/SuggestedMentionList.js';
import './const-ddd9d461.js';
import './ThreadProvider-7f67575f.js';
import './Thread/context/types.js';
import '@sendbird/chat';
import './ui/DateSeparator.js';
import './color-e708f53d.js';
import './ui/MessageInput.js';
import './ui/Button.js';
import 'dompurify';
import './consts-15e764c0.js';
import './consts-f99cd0da.js';
import './consts-2eeaa3de.js';
import './tokenize-eec42500.js';
import './index.module-8bb7760e.js';
import './ui/MessageContent.js';
import './ui/UserProfile.js';
import './sendbirdSelectors.js';
import './index-a9ca43b0.js';
import './index-65ed45e9.js';
import './index-e40d8b24.js';
import './ui/MessageItemMenu.js';
import './ui/ContextMenu.js';
import 'react-dom';
import './ui/SortByRow.js';
import './types-d72e53f1.js';
import './ui/MessageItemReactionMenu.js';
import './ui/ReactionButton.js';
import './useLongPress-c0ba590c.js';
import './ui/EmojiReactions.js';
import './ui/ReactionBadge.js';
import './ui/BottomSheet.js';
import './index-3e548496.js';
import './ui/UserListItem.js';
import './ui/MutedAvatarOverlay.js';
import './ui/Checkbox.js';
import './ui/Tooltip.js';
import './ui/TooltipWrapper.js';
import './Message/context.js';
import './ui/AdminMessage.js';
import './ui/TextMessageItemBody.js';
import './index-89c84c27.js';
import './ui/MentionLabel.js';
import './ui/LinkLabel.js';
import './ui/FileMessageItemBody.js';
import './ui/TextButton.js';
import './ui/ThumbnailMessageItemBody.js';
import './ui/OGMessageItemBody.js';
import './ui/UnknownMessageItemBody.js';
import './ui/QuoteMessage.js';
import './index-eefc5b10.js';
import './ui/ThreadReplies.js';
import './ui/VoiceMessageItemBody.js';
import './ui/ProgressBar.js';
import './VoicePlayer/useVoicePlayer.js';
import './index-52ba73b9.js';
import './VoiceRecorder/context.js';
import './ui/Modal.js';
import './ui/PlaybackTime.js';
import './Channel/components/FileViewer.js';
import './Channel/components/RemoveMessageModal.js';
import './index-80b9e974.js';
import './useDirtyGetMentions-f302bddb.js';
import './Channel/components/UnreadCount.js';
import './Channel/components/FrozenNotification.js';
import './Channel/components/TypingIndicator.js';
import './Channel/components/MessageInput.js';
import './ui/QuoteMessageInput.js';
import './VoiceMessageInputWrapper-3adde78a.js';
import './VoiceRecorder/useVoiceRecorder.js';
import './index-8567d9a9.js';

const Channel = props => {
  return /*#__PURE__*/React__default.createElement(ChannelProvider, {
    channelUrl: props === null || props === void 0 ? void 0 : props.channelUrl,
    isReactionEnabled: props === null || props === void 0 ? void 0 : props.isReactionEnabled,
    isMessageGroupingEnabled: props === null || props === void 0 ? void 0 : props.isMessageGroupingEnabled,
    showSearchIcon: props === null || props === void 0 ? void 0 : props.showSearchIcon,
    animatedMessage: props === null || props === void 0 ? void 0 : props.animatedMessage,
    highlightedMessage: props === null || props === void 0 ? void 0 : props.highlightedMessage,
    startingPoint: props === null || props === void 0 ? void 0 : props.startingPoint,
    onBeforeSendUserMessage: props === null || props === void 0 ? void 0 : props.onBeforeSendUserMessage,
    onBeforeSendFileMessage: props === null || props === void 0 ? void 0 : props.onBeforeSendFileMessage,
    onBeforeUpdateUserMessage: props === null || props === void 0 ? void 0 : props.onBeforeUpdateUserMessage,
    onChatHeaderActionClick: props === null || props === void 0 ? void 0 : props.onChatHeaderActionClick,
    onSearchClick: props === null || props === void 0 ? void 0 : props.onSearchClick,
    onBackClick: props === null || props === void 0 ? void 0 : props.onBackClick,
    replyType: props === null || props === void 0 ? void 0 : props.replyType,
    threadReplySelectType: props === null || props === void 0 ? void 0 : props.threadReplySelectType,
    queries: props === null || props === void 0 ? void 0 : props.queries,
    renderUserProfile: props === null || props === void 0 ? void 0 : props.renderUserProfile,
    filterMessageList: props === null || props === void 0 ? void 0 : props.filterMessageList,
    disableUserProfile: props === null || props === void 0 ? void 0 : props.disableUserProfile,
    disableMarkAsRead: props === null || props === void 0 ? void 0 : props.disableMarkAsRead,
    onReplyInThread: props === null || props === void 0 ? void 0 : props.onReplyInThread,
    onQuoteMessageClick: props === null || props === void 0 ? void 0 : props.onQuoteMessageClick,
    onMessageAnimated: props === null || props === void 0 ? void 0 : props.onMessageAnimated,
    onMessageHighlighted: props === null || props === void 0 ? void 0 : props.onMessageHighlighted,
    scrollBehavior: props.scrollBehavior,
    reconnectOnIdle: props.reconnectOnIdle
  }, /*#__PURE__*/React__default.createElement(ChannelUI, {
    isLoading: props === null || props === void 0 ? void 0 : props.isLoading,
    renderPlaceholderLoader: props === null || props === void 0 ? void 0 : props.renderPlaceholderLoader,
    renderPlaceholderInvalid: props === null || props === void 0 ? void 0 : props.renderPlaceholderInvalid,
    renderPlaceholderEmpty: props === null || props === void 0 ? void 0 : props.renderPlaceholderEmpty,
    renderChannelHeader: props === null || props === void 0 ? void 0 : props.renderChannelHeader,
    renderMessage: props === null || props === void 0 ? void 0 : props.renderMessage,
    renderMessageInput: props === null || props === void 0 ? void 0 : props.renderMessageInput,
    renderTypingIndicator: props === null || props === void 0 ? void 0 : props.renderTypingIndicator,
    renderCustomSeparator: props === null || props === void 0 ? void 0 : props.renderCustomSeparator,
    renderFileUploadIcon: props === null || props === void 0 ? void 0 : props.renderFileUploadIcon,
    renderVoiceMessageIcon: props === null || props === void 0 ? void 0 : props.renderVoiceMessageIcon,
    renderSendMessageIcon: props === null || props === void 0 ? void 0 : props.renderSendMessageIcon
  }));
};

export { Channel as default };
//# sourceMappingURL=Channel.js.map
