import React__default from 'react';
import { T as ThreadProvider } from './ThreadProvider-7a96557d.js';
import ThreadUI from './Thread/components/ThreadUI.js';
import './index-0e63045e.js';
import './index-26c66412.js';
import './utils/message/getOutgoingMessageState.js';
import './UserProfileContext-96f68187.js';
import 'prop-types';
import './useSendbirdStateContext.js';
import './withSendbird.js';
import './_rollupPluginBabelHelpers-52628376.js';
import './Thread/context/types.js';
import '@sendbird/chat';
import './topics-50ed8c29.js';
import '@sendbird/chat/groupChannel';
import './uuid-9e3aeec6.js';
import '@sendbird/chat/message';
import './consts-37c3d0a0.js';
import './LocalizationContext-bcaf447a.js';
import './stringSet-7f300d56.js';
import './utils-56aa18a1.js';
import './index-208f60f9.js';
import './Thread/components/ParentMessageInfo.js';
import './RemoveMessageModal-3f1727d7.js';
import './ui/Modal.js';
import 'react-dom';
import './index-5ca598bf.js';
import './ui/Button.js';
import './ui/Icon.js';
import './ui/IconButton.js';
import './MediaQueryContext-0d6b7936.js';
import './Thread/components/ParentMessageInfoItem.js';
import './index-46da725e.js';
import './ui/ImageRenderer.js';
import './ui/TextButton.js';
import './color-5dee2e2d.js';
import './ui/EmojiReactions.js';
import './ui/ReactionBadge.js';
import './ui/ReactionButton.js';
import './useLongPress-8b46567a.js';
import './utils-4ce9435a.js';
import './ui/ContextMenu.js';
import './ui/SortByRow.js';
import './ui/BottomSheet.js';
import './ui/UserListItem.js';
import './ui/Avatar.js';
import './ui/MutedAvatarOverlay.js';
import './ui/Checkbox.js';
import './ui/UserProfile.js';
import './sendbirdSelectors.js';
import './ui/Tooltip.js';
import './ui/TooltipWrapper.js';
import './Message/context.js';
import './ui/VoiceMessageItemBody.js';
import './ui/ProgressBar.js';
import './VoicePlayer/useVoicePlayer.js';
import './index-dea18b86.js';
import './VoiceRecorder/context.js';
import './ui/PlaybackTime.js';
import './ui/Loader.js';
import './index-78f0d986.js';
import './index.module-6fe8c3f8.js';
import './tokenize-aa91b5a4.js';
import './ui/MentionLabel.js';
import './ui/LinkLabel.js';
import './ChannelProvider-205bb2b4.js';
import './const-4bc8cbc7.js';
import './compareIds-c483b4db.js';
import './resolvedReplyType-bfdfe6bd.js';
import './Channel/components/SuggestedMentionList.js';
import './const-c64639fc.js';
import './ui/FileViewer.js';
import './ui/MessageItemMenu.js';
import './types-061bedf1.js';
import './ui/MessageItemReactionMenu.js';
import './ui/MessageInput.js';
import 'dompurify';
import './consts-acdc6c08.js';
import './consts-c99872c0.js';
import './consts-cf7328d6.js';
import './index-c216a28a.js';
import './useDirtyGetMentions-8a3ab1ab.js';
import './Thread/components/ThreadHeader.js';
import './Thread/components/ThreadList.js';
import './Thread/components/ThreadListItem.js';
import './ui/DateSeparator.js';
import './index-4e834e8c.js';
import './index-fb9203f4.js';
import './index-1c8252a9.js';
import './ui/TextMessageItemBody.js';
import './ui/OGMessageItemBody.js';
import './ui/FileMessageItemBody.js';
import './ui/ThumbnailMessageItemBody.js';
import './ui/UnknownMessageItemBody.js';
import 'date-fns';
import './Thread/components/ThreadMessageInput.js';
import './VoiceMessageInputWrapper-876192a9.js';
import './VoiceRecorder/useVoiceRecorder.js';
import './index-7d0ca6f2.js';
import './index-b26a2bcd.js';

const Thread = props => {
  const {
    // props
    className,
    // ThreadProviderProps
    channelUrl,
    message,
    onHeaderActionClick,
    onMoveToParentMessage,
    // ThreadUIProps
    renderHeader,
    renderParentMessageInfo,
    renderMessage,
    renderMessageInput,
    renderCustomSeparator,
    renderParentMessageInfoPlaceholder,
    renderThreadListPlaceHolder,
    renderFileUploadIcon,
    renderVoiceMessageIcon,
    renderSendMessageIcon
  } = props;
  return /*#__PURE__*/React__default.createElement("div", {
    className: `sendbird-thread ${className}`
  }, /*#__PURE__*/React__default.createElement(ThreadProvider, {
    channelUrl: channelUrl,
    message: message,
    onHeaderActionClick: onHeaderActionClick,
    onMoveToParentMessage: onMoveToParentMessage
  }, /*#__PURE__*/React__default.createElement(ThreadUI, {
    renderHeader: renderHeader,
    renderParentMessageInfo: renderParentMessageInfo,
    renderMessage: renderMessage,
    renderMessageInput: renderMessageInput,
    renderCustomSeparator: renderCustomSeparator,
    renderParentMessageInfoPlaceholder: renderParentMessageInfoPlaceholder,
    renderThreadListPlaceHolder: renderThreadListPlaceHolder,
    renderFileUploadIcon: renderFileUploadIcon,
    renderVoiceMessageIcon: renderVoiceMessageIcon,
    renderSendMessageIcon: renderSendMessageIcon
  })));
};

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