import React__default from 'react';
import { ThreadProvider } from './Thread/context.js';
import ThreadUI from './Thread/components/ThreadUI.js';
import './chunks/bundle-CfHQbcbZ.js';
import './chunks/bundle-D6I-uHp_.js';
import './chunks/bundle-CmAD8QUZ.js';
import './chunks/bundle-B9I7KCZ2.js';
import '@sendbird/chat/message';
import './utils/message/getOutgoingMessageState.js';
import './chunks/bundle-Mfnn12A9.js';
import './chunks/bundle-DUd6AS_D.js';
import './useSendbirdStateContext.js';
import './withSendbird.js';
import './Thread/context/types.js';
import '@sendbird/chat';
import './chunks/bundle-B3PsG3mz.js';
import '@sendbird/chat/groupChannel';
import './chunks/bundle-B97onQ-B.js';
import './chunks/bundle-D-_vevD1.js';
import './chunks/bundle-BPLoGpIy.js';
import './chunks/bundle-BwafidOs.js';
import './chunks/bundle-CMgJTzYH.js';
import './chunks/bundle--vT93WoP.js';
import './chunks/bundle-B1gHpFXu.js';
import './Thread/components/ParentMessageInfo.js';
import './chunks/bundle-Cme8jJ5D.js';
import './chunks/bundle-DnVyKahm.js';
import './chunks/bundle-CqsQWc_t.js';
import './chunks/bundle-DAF0GGlr.js';
import './chunks/bundle-BGoByD2z.js';
import './chunks/bundle-ByuZy4m8.js';
import './chunks/bundle-B628FXKZ.js';
import 'react-dom';
import './chunks/bundle-BydEbpDQ.js';
import './ui/IconButton.js';
import './ui/Button.js';
import './ui/Icon.js';
import '@sendbird/uikit-tools';
import 'css-vars-ponyfill';
import '@sendbird/chat/openChannel';
import './chunks/bundle-jVDgtxRn.js';
import './chunks/bundle-BfonFE4n.js';
import './ui/SortByRow.js';
import './chunks/bundle-BiG6myo3.js';
import './Thread/components/ParentMessageInfoItem.js';
import './ui/ImageRenderer.js';
import './ui/TextButton.js';
import './chunks/bundle-DDIIh2iG.js';
import './ui/EmojiReactions.js';
import './ui/ReactionBadge.js';
import './ui/ReactionButton.js';
import './chunks/bundle-C6OwelAY.js';
import './ui/BottomSheet.js';
import './ui/UserListItem.js';
import './chunks/bundle-D89r5O-w.js';
import './chunks/bundle-DVCGbhaI.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 './chunks/bundle-Cpt2mEbq.js';
import './ui/VoiceMessageItemBody.js';
import './ui/ProgressBar.js';
import './VoicePlayer/useVoicePlayer.js';
import './ui/PlaybackTime.js';
import './ui/Loader.js';
import './chunks/bundle-C8uZHDqp.js';
import './chunks/bundle-bbk4ulub.js';
import './ui/MentionLabel.js';
import './ui/LinkLabel.js';
import './chunks/bundle-DeqlERYT.js';
import './ui/FileViewer.js';
import './chunks/bundle-l8sVpQGm.js';
import './chunks/bundle-CL8fYBvo.js';
import './chunks/bundle-Dv9mmt4u.js';
import './chunks/bundle-De1BnkR0.js';
import './chunks/bundle-DqJ40nCa.js';
import './ui/MessageItemMenu.js';
import './chunks/bundle-BS3xMvop.js';
import './ui/MessageItemReactionMenu.js';
import './ui/MessageInput.js';
import './chunks/bundle-D3w6q-9W.js';
import 'dompurify';
import './chunks/bundle-BT8XMu5e.js';
import './chunks/bundle-CpcTBaG-.js';
import './chunks/bundle-BQqQX3na.js';
import './ui/MobileMenu.js';
import './Message/hooks/useDirtyGetMentions.js';
import './chunks/bundle-2aNchqYM.js';
import './Thread/components/ThreadHeader.js';
import './ui/Header.js';
import './Thread/components/ThreadList.js';
import './Thread/components/ThreadListItem.js';
import './ui/DateSeparator.js';
import './chunks/bundle-CQdKG76t.js';
import './chunks/bundle-K3w8yQDQ.js';
import './chunks/bundle-B3xAJZu1.js';
import './ui/TextMessageItemBody.js';
import './ui/OGMessageItemBody.js';
import './ui/FileMessageItemBody.js';
import './ui/ThumbnailMessageItemBody.js';
import './chunks/bundle-CO34LgiE.js';
import './ui/UnknownMessageItemBody.js';
import './Channel/utils/compareMessagesForGrouping.js';
import 'date-fns';
import './Thread/components/ThreadMessageInput.js';
import './chunks/bundle-SSblffW_.js';
import './chunks/bundle-CGLnBajI.js';
import './GroupChannel/components/SuggestedMentionList.js';
import './ui/QuoteMessageInput.js';
import './VoiceRecorder/useVoiceRecorder.js';
import './chunks/bundle-CLLxonVJ.js';
import './chunks/bundle-DjAkc3FK.js';
import './GroupChannel/context.js';
import './chunks/bundle-DayOnVaB.js';
import './chunks/bundle-D4NnyBWz.js';
import './Channel/hooks/useHandleUploadFiles.js';
import './ui/PlaceHolder.js';

var Thread = function (props) {
    var 
    // props
    className = props.className, 
    // ThreadProviderProps
    channelUrl = props.channelUrl, message = props.message, onHeaderActionClick = props.onHeaderActionClick, onMoveToParentMessage = props.onMoveToParentMessage, isMultipleFilesMessageEnabled = props.isMultipleFilesMessageEnabled, 
    // onBeforeSend~~~Message
    onBeforeSendUserMessage = props.onBeforeSendUserMessage, onBeforeSendFileMessage = props.onBeforeSendFileMessage, onBeforeSendVoiceMessage = props.onBeforeSendVoiceMessage, onBeforeSendMultipleFilesMessage = props.onBeforeSendMultipleFilesMessage, 
    // 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 (React__default.createElement("div", { className: "sendbird-thread ".concat(className) },
        React__default.createElement(ThreadProvider, { channelUrl: channelUrl, message: message, onHeaderActionClick: onHeaderActionClick, onMoveToParentMessage: onMoveToParentMessage, onBeforeSendUserMessage: onBeforeSendUserMessage, onBeforeSendFileMessage: onBeforeSendFileMessage, onBeforeSendVoiceMessage: onBeforeSendVoiceMessage, onBeforeSendMultipleFilesMessage: onBeforeSendMultipleFilesMessage, isMultipleFilesMessageEnabled: isMultipleFilesMessageEnabled },
            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
