import React__default from 'react';
import { T as ThreadProvider } from './ThreadProvider-2bdeb95d.js';
import ThreadUI from './Thread/components/ThreadUI.js';
import './index-2dc53ac2.js';
import './index-67135027.js';
import './utils/message/getOutgoingMessageState.js';
import './UserProfileContext-d5787c95.js';
import 'prop-types';
import './useSendbirdStateContext.js';
import './withSendbird.js';
import './_rollupPluginBabelHelpers-4f8ebde4.js';
import './Thread/context/types.js';
import '@sendbird/chat';
import './topics-f3629ea0.js';
import '@sendbird/chat/groupChannel';
import './uuid-a79b5ba8.js';
import '@sendbird/chat/message';
import './consts-33537265.js';
import './LocalizationContext-b2390bf8.js';
import './stringSet-eefbc798.js';
import './utils-46470b6b.js';
import './index-4372fcec.js';
import './Thread/components/ParentMessageInfo.js';
import './RemoveMessageModal-c9159223.js';
import './ui/Modal.js';
import 'react-dom';
import './index-896545a0.js';
import './ui/Button.js';
import './ui/Icon.js';
import './ui/IconButton.js';
import './MediaQueryContext-b4904a2e.js';
import './Thread/components/ParentMessageInfoItem.js';
import './index-eefb44ba.js';
import './ui/ImageRenderer.js';
import './ui/TextButton.js';
import './color-9519a526.js';
import './ui/EmojiReactions.js';
import './ui/ReactionBadge.js';
import './ui/ReactionButton.js';
import './useLongPress-cb2d23be.js';
import './utils-b53fe532.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-7d496661.js';
import './VoiceRecorder/context.js';
import './ui/PlaybackTime.js';
import './ui/Loader.js';
import './index-8aa7880e.js';
import './index.module-2885df8c.js';
import './tokenize-b97bc343.js';
import './ui/MentionLabel.js';
import './ui/LinkLabel.js';
import './ChannelProvider-498954bf.js';
import './const-97fac210.js';
import './compareIds-7800035f.js';
import './resolvedReplyType-e00d5fd9.js';
import './Channel/components/SuggestedMentionList.js';
import './const-922f4cc5.js';
import './ui/FileViewer.js';
import './ui/MessageItemMenu.js';
import './types-234b17b9.js';
import './ui/MessageItemReactionMenu.js';
import './ui/MessageInput.js';
import 'dompurify';
import './consts-8ce876a0.js';
import './consts-e3e03145.js';
import './consts-cdccf171.js';
import './index-484b4a5d.js';
import './useDirtyGetMentions-5f675b6c.js';
import './Thread/components/ThreadHeader.js';
import './Thread/components/ThreadList.js';
import './Thread/components/ThreadListItem.js';
import './ui/DateSeparator.js';
import './index-1d741554.js';
import './index-0d1114ee.js';
import './index-39306dfb.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-4138830b.js';
import './VoiceRecorder/useVoiceRecorder.js';
import './index-ebab784c.js';
import './index-49ff1ed1.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
