import React__default from 'react';
import { T as ThreadProvider } from './ThreadProvider-e64f95cc.js';
import ThreadUI from './Thread/components/ThreadUI.js';
import './index-99933718.js';
import './index-c10fcd31.js';
import './utils/message/getOutgoingMessageState.js';
import './UserProfileContext-cc71f901.js';
import 'prop-types';
import './useSendbirdStateContext.js';
import './withSendbird.js';
import './_rollupPluginBabelHelpers-945410b2.js';
import './tslib.es6-e1c2b6be.js';
import './Thread/context/types.js';
import '@sendbird/chat';
import './topics-a581acbb.js';
import '@sendbird/chat/groupChannel';
import './uuid-d072af26.js';
import '@sendbird/chat/message';
import './consts-59f719d8.js';
import './LocalizationContext-8725e9b2.js';
import './stringSet-a513039b.js';
import './utils-b10ed497.js';
import './index-e121c395.js';
import './Thread/components/ParentMessageInfo.js';
import './RemoveMessageModal-9b81dfb2.js';
import './ui/Modal.js';
import 'react-dom';
import './index-10a05022.js';
import './ui/Button.js';
import './ui/Icon.js';
import './ui/IconButton.js';
import './MediaQueryContext-ceb727c7.js';
import './Thread/components/ParentMessageInfoItem.js';
import './index-43834bc0.js';
import './ui/Word.js';
import './ui/LinkLabel.js';
import './ui/MentionLabel.js';
import './ui/ContextMenu.js';
import './ui/SortByRow.js';
import './ui/UserProfile.js';
import './sendbirdSelectors.js';
import './utils-b439eac3.js';
import './ui/Avatar.js';
import './ui/ImageRenderer.js';
import './ui/TextButton.js';
import './color-f6b2bdb7.js';
import './ui/EmojiReactions.js';
import './ui/Tooltip.js';
import './ui/TooltipWrapper.js';
import './ui/ReactionBadge.js';
import './ui/ReactionButton.js';
import './ui/VoiceMessageItemBody.js';
import './ui/ProgressBar.js';
import './VoicePlayer/useVoicePlayer.js';
import './index-ac5a0725.js';
import './VoiceRecorder/context.js';
import './lame.all.js';
import './ui/PlaybackTime.js';
import './ui/Loader.js';
import './Channel/components/SuggestedMentionList.js';
import './ChannelProvider-c1c00018.js';
import './compareIds-87972c5f.js';
import './const-85535a89.js';
import './const-0f759572.js';
import './ui/FileViewer.js';
import './ui/MessageItemMenu.js';
import './types-5cc94910.js';
import './ui/MessageItemReactionMenu.js';
import './ui/MessageInput.js';
import 'react-dom/server';
import './ui/MentionUserLabel.js';
import 'dompurify';
import './Thread/components/ThreadHeader.js';
import './Thread/components/ThreadList.js';
import './Thread/components/ThreadListItem.js';
import './ui/DateSeparator.js';
import './index-1ac4456b.js';
import './index-a1a19702.js';
import './index-2988897b.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-94005482.js';
import './VoiceRecorder/useVoiceRecorder.js';
import './index-a73afdab.js';
import './index-7d65494a.js';

var Thread = function (props) {
  var // props
  className = props.className,
      // ThreadProviderProps
  channelUrl = props.channelUrl,
      message = props.message,
      onHeaderActionClick = props.onHeaderActionClick,
      onMoveToParentMessage = props.onMoveToParentMessage,
      // ThreadUIProps
  renderHeader = props.renderHeader,
      renderParentMessageInfo = props.renderParentMessageInfo,
      renderMessage = props.renderMessage,
      renderMessageInput = props.renderMessageInput,
      renderCustomSeparator = props.renderCustomSeparator,
      renderParentMessageInfoPlaceholder = props.renderParentMessageInfoPlaceholder,
      renderThreadListPlaceHolder = props.renderThreadListPlaceHolder,
      renderFileUploadIcon = props.renderFileUploadIcon,
      renderVoiceMessageIcon = props.renderVoiceMessageIcon,
      renderSendMessageIcon = props.renderSendMessageIcon;
  return /*#__PURE__*/React__default.createElement("div", {
    className: "sendbird-thread ".concat(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
