import React__default from 'react';
import { T as ThreadProvider } from './ThreadProvider-a3d3b241.js';
import ThreadUI from './Thread/components/ThreadUI.js';
import './index-f1701c11.js';
import './index-865112db.js';
import './utils/message/getOutgoingMessageState.js';
import './UserProfileContext-29074346.js';
import 'prop-types';
import './useSendbirdStateContext.js';
import './withSendbird.js';
import './_rollupPluginBabelHelpers-0bc76382.js';
import './Thread/context/types.js';
import '@sendbird/chat';
import './topics-5ff88d6f.js';
import '@sendbird/chat/groupChannel';
import './uuid-1f1bbd9c.js';
import '@sendbird/chat/message';
import './consts-3c0ff1ed.js';
import './LocalizationContext-57b46f6c.js';
import './stringSet-7a8ce1ce.js';
import './utils-af761f03.js';
import './index-4023d1b2.js';
import './Thread/components/ParentMessageInfo.js';
import './RemoveMessageModal-625b3778.js';
import './ui/Modal.js';
import 'react-dom';
import './index-7bff4ce0.js';
import './ui/Button.js';
import './ui/Icon.js';
import './ui/IconButton.js';
import './MediaQueryContext-fbe7af77.js';
import './Thread/components/ParentMessageInfoItem.js';
import './index-e2601165.js';
import './ui/ImageRenderer.js';
import './ui/TextButton.js';
import './color-2ed716e6.js';
import './ui/EmojiReactions.js';
import './ui/ReactionBadge.js';
import './ui/ReactionButton.js';
import './useLongPress-fbab35a9.js';
import './utils-388a790e.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-d847a382.js';
import './VoiceRecorder/context.js';
import './ui/PlaybackTime.js';
import './ui/Loader.js';
import './index-5141f766.js';
import './index.module-9202ebbd.js';
import './tokenize-003bf3f7.js';
import './ui/MentionLabel.js';
import './ui/LinkLabel.js';
import './ChannelProvider-b41fde4c.js';
import './compareIds-bc881fe7.js';
import './const-e51dda0c.js';
import './Channel/components/SuggestedMentionList.js';
import './const-8daee9fc.js';
import './ui/FileViewer.js';
import './ui/MessageItemMenu.js';
import './types-bffbc5f5.js';
import './ui/MessageItemReactionMenu.js';
import './ui/MessageInput.js';
import 'dompurify';
import './consts-d0b365df.js';
import './consts-d0cfee49.js';
import './consts-7aab5aff.js';
import './index-ac642e0b.js';
import './useDirtyGetMentions-aac697f4.js';
import './Thread/components/ThreadHeader.js';
import './Thread/components/ThreadList.js';
import './Thread/components/ThreadListItem.js';
import './ui/DateSeparator.js';
import './index-fa140763.js';
import './index-1ec11afb.js';
import './index-37531f98.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-bdc53de4.js';
import './VoiceRecorder/useVoiceRecorder.js';
import './index-1e5cf284.js';
import './index-0f22e96e.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
