import React__default from 'react';
import { ThreadProvider } from './Thread/context.js';
import ThreadUI from './Thread/components/ThreadUI.js';
import './chunks/bundle-laVKAiJ-.js';
import './chunks/bundle-nlOgiAcu.js';
import './chunks/bundle-d5KevIXI.js';
import './chunks/bundle-BA7tv0JB.js';
import '@sendbird/chat/message';
import './utils/message/getOutgoingMessageState.js';
import './chunks/bundle-vOT5acXc.js';
import './useSendbirdStateContext.js';
import './withSendbird.js';
import './Thread/context/types.js';
import '@sendbird/chat';
import './chunks/bundle-_cXVZn5n.js';
import '@sendbird/chat/groupChannel';
import './chunks/bundle-YoWLsJ0C.js';
import './chunks/bundle-NwZvowyL.js';
import './chunks/bundle-MBrlu_LK.js';
import './chunks/bundle-BBjosDA0.js';
import './chunks/bundle-jy6_UG14.js';
import './chunks/bundle-ULVw0l0r.js';
import './chunks/bundle-0J_EdUWI.js';
import './chunks/bundle-I8JFwttJ.js';
import './Thread/components/ParentMessageInfo.js';
import './chunks/bundle-hDx2-CRe.js';
import './chunks/bundle-lVxQMV9H.js';
import './chunks/bundle-cvTUkQV_.js';
import 'react-dom';
import './chunks/bundle-cA_r9HRx.js';
import './chunks/bundle-r9j_eCHc.js';
import './ui/IconButton.js';
import './ui/Button.js';
import './ui/Icon.js';
import './chunks/bundle-vz3GEsoi.js';
import './chunks/bundle-N9hMnIRl.js';
import './chunks/bundle-aKXnhi3A.js';
import './Thread/components/ParentMessageInfoItem.js';
import './ui/ImageRenderer.js';
import './ui/TextButton.js';
import './chunks/bundle-LWD0OLz8.js';
import './ui/EmojiReactions.js';
import './ui/ReactionBadge.js';
import './ui/ReactionButton.js';
import './chunks/bundle-0jbuC1o3.js';
import './ui/ContextMenu.js';
import './ui/SortByRow.js';
import './ui/BottomSheet.js';
import './hooks/useModal.js';
import './ui/UserListItem.js';
import './chunks/bundle-Qufz6_i_.js';
import './chunks/bundle-jDjj3eHU.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 './chunks/bundle-drww6xht.js';
import './VoiceRecorder/context.js';
import './ui/PlaybackTime.js';
import './ui/Loader.js';
import './chunks/bundle-agW9Hw66.js';
import './chunks/bundle-IRlSmJVg.js';
import './ui/MentionLabel.js';
import './ui/LinkLabel.js';
import './chunks/bundle-cBbT3DlY.js';
import './chunks/bundle-wMP1pqZM.js';
import './chunks/bundle-fQ1V_U8F.js';
import '@sendbird/uikit-tools';
import './chunks/bundle-NjNqsDXb.js';
import './chunks/bundle-Rz5QaIhK.js';
import './chunks/bundle-Xytq6xaz.js';
import './chunks/bundle-GGE6HRof.js';
import './ui/MessageItemMenu.js';
import './chunks/bundle-4Ib7FkR6.js';
import './ui/MessageItemReactionMenu.js';
import './ui/MessageInput.js';
import './chunks/bundle-poK2Vr1v.js';
import './chunks/bundle-62ej9afV.js';
import 'dompurify';
import './chunks/bundle-zV8TJWvL.js';
import './chunks/bundle-4GPpeoNf.js';
import './chunks/bundle-iwZaUd9o.js';
import './chunks/bundle-ctAjRHDW.js';
import './Message/hooks/useDirtyGetMentions.js';
import './Thread/components/ThreadHeader.js';
import './Thread/components/ThreadList.js';
import './Thread/components/ThreadListItem.js';
import './ui/DateSeparator.js';
import './chunks/bundle-J3DrW9X2.js';
import './chunks/bundle-lUrIOx9p.js';
import './chunks/bundle-nD2ZWBq4.js';
import './ui/TextMessageItemBody.js';
import './ui/OGMessageItemBody.js';
import './ui/FileMessageItemBody.js';
import './ui/ThumbnailMessageItemBody.js';
import './chunks/bundle-w1C-Xmf3.js';
import './ui/UnknownMessageItemBody.js';
import './Channel/utils/compareMessagesForGrouping.js';
import 'date-fns';
import './Thread/components/ThreadMessageInput.js';
import './chunks/bundle-DSoowPBh.js';
import './chunks/bundle-tPCzzoc1.js';
import './ui/QuoteMessageInput.js';
import './VoiceRecorder/useVoiceRecorder.js';
import './chunks/bundle-OFH4qWaN.js';
import './chunks/bundle-8JX3bIpj.js';
import './chunks/bundle-zKBdD-J6.js';
import './chunks/bundle-Q8kUKu5l.js';
import './chunks/bundle-ZOCAUrJO.js';
import './chunks/bundle-GJ-4hPvC.js';
import './chunks/bundle-BVtLlpwZ.js';
import './chunks/bundle-v3WxYU8s.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
