import React__default from 'react';
import { T as ThreadProvider } from './ThreadProvider-0a3c5f37.js';
import ThreadUI from './Thread/components/ThreadUI.js';
import './index-f48cfdf7.js';
import './index-a9ddd0f5.js';
import './utils/message/getOutgoingMessageState.js';
import './UserProfileContext-a8aa4c0f.js';
import 'prop-types';
import './useSendbirdStateContext.js';
import './withSendbird.js';
import './_rollupPluginBabelHelpers-b2d9bfc5.js';
import './Thread/context/types.js';
import '@sendbird/chat';
import './topics-d8d10f83.js';
import '@sendbird/chat/groupChannel';
import './uuid-48baadaf.js';
import '@sendbird/chat/message';
import './consts-c9746f2b.js';
import './LocalizationContext-9c54e783.js';
import './stringSet-1f18348a.js';
import './utils-b57bff14.js';
import './index-4111594a.js';
import './Thread/components/ParentMessageInfo.js';
import './RemoveMessageModal-99b5bab4.js';
import './ui/Modal.js';
import 'react-dom';
import './index-2a938266.js';
import './ui/Button.js';
import './ui/Icon.js';
import './ui/IconButton.js';
import './MediaQueryContext-1988a4bc.js';
import './Thread/components/ParentMessageInfoItem.js';
import './index-dbe0e004.js';
import './ui/ImageRenderer.js';
import './ui/TextButton.js';
import './color-3bac434a.js';
import './ui/EmojiReactions.js';
import './ui/Tooltip.js';
import './ui/TooltipWrapper.js';
import './ui/ReactionBadge.js';
import './ui/ReactionButton.js';
import './ui/ContextMenu.js';
import './ui/SortByRow.js';
import './ui/VoiceMessageItemBody.js';
import './ui/ProgressBar.js';
import './VoicePlayer/useVoicePlayer.js';
import './index-38a78d99.js';
import './VoiceRecorder/context.js';
import './ui/PlaybackTime.js';
import './ui/Loader.js';
import './index-8df6bff0.js';
import './index.module-ab8289c1.js';
import './tokenize-63d895d3.js';
import './Message/context.js';
import './ui/MentionLabel.js';
import './ui/UserProfile.js';
import './sendbirdSelectors.js';
import './utils-0c09801e.js';
import './ui/Avatar.js';
import './ui/LinkLabel.js';
import './Channel/components/SuggestedMentionList.js';
import './ChannelProvider-4ab3a851.js';
import './compareIds-1e0e668f.js';
import './const-5f722b91.js';
import './const-6a07b718.js';
import './ui/FileViewer.js';
import './ui/MessageItemMenu.js';
import './types-a85de720.js';
import './ui/MessageItemReactionMenu.js';
import './ui/MessageInput.js';
import 'dompurify';
import './consts-d4c78cc0.js';
import './consts-aadaccca.js';
import './consts-790ae3a9.js';
import './Thread/components/ThreadHeader.js';
import './Thread/components/ThreadList.js';
import './Thread/components/ThreadListItem.js';
import './ui/DateSeparator.js';
import './index-51bd074f.js';
import './index-3062a861.js';
import './index-1a3c0d72.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-ff160b51.js';
import './VoiceRecorder/useVoiceRecorder.js';
import './index-83600696.js';
import './index-77f3d9b0.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
