import React__default from 'react';
import { ThreadProvider } from './Thread/context.js';
import ThreadUI from './Thread/components/ThreadUI.js';
import './chunks/bundle-DaAoUDJk.js';
import './chunks/bundle-BWuyd0AD.js';
import './chunks/bundle-DDkUg3Os.js';
import './chunks/bundle-7oF7KbGv.js';
import '@sendbird/chat/message';
import './utils/message/getOutgoingMessageState.js';
import './chunks/bundle-CD9AzC6s.js';
import './chunks/bundle-B7barEsR.js';
import './useSendbirdStateContext.js';
import './withSendbird.js';
import './Thread/context/types.js';
import '@sendbird/chat';
import './chunks/bundle-C_Vyt_ii.js';
import '@sendbird/chat/groupChannel';
import './chunks/bundle-BJ46V6XQ.js';
import './chunks/bundle-BKho3Uub.js';
import './chunks/bundle-Bx5vhTbU.js';
import './chunks/bundle-C8im5l9B.js';
import './chunks/bundle-C1ds4cil.js';
import './chunks/bundle-9MhshueU.js';
import './chunks/bundle-LYAWKk4n.js';
import './Thread/components/ParentMessageInfo.js';
import './chunks/bundle-C040958G.js';
import './chunks/bundle-BHn3F_OF.js';
import './chunks/bundle-C4Z-NWqF.js';
import './chunks/bundle-BWCGFXhj.js';
import './chunks/bundle-ByvmbZD0.js';
import 'react-dom';
import './chunks/bundle-Diqj6For.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-CIwVkd-E.js';
import './chunks/bundle-BbWD2VuS.js';
import './chunks/bundle-DzxiMlgV.js';
import './Thread/components/ParentMessageInfoItem.js';
import './ui/ImageRenderer.js';
import './ui/TextButton.js';
import './chunks/bundle-HoQqraNc.js';
import './ui/EmojiReactions.js';
import './ui/ReactionBadge.js';
import './ui/ReactionButton.js';
import './chunks/bundle-Gx0ryc_f.js';
import './ui/ContextMenu.js';
import './ui/SortByRow.js';
import './ui/BottomSheet.js';
import './ui/UserListItem.js';
import './chunks/bundle-CNJMLyGJ.js';
import './chunks/bundle-CT8ZXUi2.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-Jir4hfa9.js';
import './ui/VoiceMessageItemBody.js';
import './ui/ProgressBar.js';
import './VoicePlayer/useVoicePlayer.js';
import './ui/PlaybackTime.js';
import './ui/Loader.js';
import './chunks/bundle-C1hw1sij.js';
import './chunks/bundle-DpGWywZ5.js';
import './ui/MentionLabel.js';
import './ui/LinkLabel.js';
import './chunks/bundle--nVHk3fx.js';
import './chunks/bundle-B__zC9zD.js';
import './chunks/bundle-D_eJq5Xk.js';
import './chunks/bundle-Clhqc2C_.js';
import './chunks/bundle-DlfN5GTa.js';
import './chunks/bundle-BOSnopxk.js';
import './chunks/bundle-QxUVt4Ms.js';
import './ui/MessageItemMenu.js';
import './chunks/bundle-DmYqVYeD.js';
import './ui/MessageItemReactionMenu.js';
import './ui/MessageInput.js';
import './chunks/bundle-DO1vNias.js';
import 'dompurify';
import './chunks/bundle-B5N2u5f-.js';
import './chunks/bundle-DSOf9RKe.js';
import './chunks/bundle-DQ2q-zNM.js';
import './chunks/bundle-DXCQovsu.js';
import './Message/hooks/useDirtyGetMentions.js';
import './chunks/bundle-BtY8jyVv.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-DJTSztr0.js';
import './chunks/bundle-yZ1rqvSQ.js';
import './chunks/bundle-CaaUNO3F.js';
import './ui/TextMessageItemBody.js';
import './ui/OGMessageItemBody.js';
import './ui/FileMessageItemBody.js';
import './ui/ThumbnailMessageItemBody.js';
import './chunks/bundle-DDhhxSv0.js';
import './ui/UnknownMessageItemBody.js';
import './Channel/utils/compareMessagesForGrouping.js';
import 'date-fns';
import './Thread/components/ThreadMessageInput.js';
import './chunks/bundle-Ci146LvO.js';
import './chunks/bundle-BvG71y_P.js';
import './GroupChannel/components/SuggestedMentionList.js';
import './ui/QuoteMessageInput.js';
import './VoiceRecorder/useVoiceRecorder.js';
import './chunks/bundle-BZd5IHBF.js';
import './chunks/bundle-3amhHjNa.js';
import './GroupChannel/context.js';
import './chunks/bundle-oCSRGy9i.js';
import './chunks/bundle-DaoHZIZy.js';
import './chunks/bundle-uBJzoaNT.js';
import './chunks/bundle-2uJIsyo2.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
