import React__default from 'react';
import { T as ThreadProvider } from './ThreadProvider-dea308a0.js';
import ThreadUI from './Thread/components/ThreadUI.js';
import './index-5a62f6b7.js';
import './index-ff8f2f61.js';
import './utils/message/getOutgoingMessageState.js';
import './UserProfileContext-74e9a128.js';
import 'prop-types';
import './useSendbirdStateContext.js';
import './withSendbird.js';
import './_rollupPluginBabelHelpers-cc035350.js';
import './Thread/context/types.js';
import '@sendbird/chat';
import './topics-0b30f52b.js';
import '@sendbird/chat/groupChannel';
import './uuid-8b344dd2.js';
import '@sendbird/chat/message';
import './consts-44eaef6b.js';
import './LocalizationContext-1701e5c8.js';
import './stringSet-e9bb0333.js';
import './utils-f1b4b34b.js';
import './index-f50d7ab0.js';
import './Thread/components/ParentMessageInfo.js';
import './RemoveMessageModal-bf0ab3b2.js';
import './ui/Modal.js';
import 'react-dom';
import './index-44c86e58.js';
import './ui/Button.js';
import './ui/Icon.js';
import './ui/IconButton.js';
import './MediaQueryContext-e5b401d0.js';
import './Thread/components/ParentMessageInfoItem.js';
import './index-99ab01f6.js';
import './ui/ImageRenderer.js';
import './ui/TextButton.js';
import './color-ea3bf5b8.js';
import './ui/EmojiReactions.js';
import './ui/ReactionBadge.js';
import './ui/ReactionButton.js';
import './useLongPress-6d0b6619.js';
import './utils-05aa9060.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-02ceed0a.js';
import './VoiceRecorder/context.js';
import './ui/PlaybackTime.js';
import './ui/Loader.js';
import './index-a31ee68d.js';
import './index.module-d24badee.js';
import './tokenize-d12690c3.js';
import './ui/MentionLabel.js';
import './ui/LinkLabel.js';
import './ChannelProvider-1dc36682.js';
import './const-7c266a95.js';
import './compareIds-367bb030.js';
import './resolvedReplyType-6bb8f548.js';
import './Channel/components/SuggestedMentionList.js';
import './const-2e67461b.js';
import './ui/FileViewer.js';
import './ui/MessageItemMenu.js';
import './types-28e84810.js';
import './ui/MessageItemReactionMenu.js';
import './ui/MessageInput.js';
import 'dompurify';
import './consts-a0834b70.js';
import './consts-3a33a0a8.js';
import './consts-b3274b3d.js';
import './index-35696958.js';
import './useDirtyGetMentions-2df51ec3.js';
import './Thread/components/ThreadHeader.js';
import './Thread/components/ThreadList.js';
import './Thread/components/ThreadListItem.js';
import './ui/DateSeparator.js';
import './index-0aa8cbad.js';
import './index-7e5538e6.js';
import './index-3f8e1a51.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-4625a847.js';
import './VoiceRecorder/useVoiceRecorder.js';
import './index-cac27d56.js';
import './index-11fe17e1.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
