import React__default from 'react';
import { ThreadProvider } from './Thread/context.js';
import ThreadUI from './Thread/components/ThreadUI.js';
import './chunks/bundle-X1ee5Xag.js';
import './chunks/bundle-KwnXXB-s.js';
import './chunks/bundle-QWYghVSN.js';
import './chunks/bundle-0vtSUcHY.js';
import '@sendbird/chat/message';
import './utils/message/getOutgoingMessageState.js';
import './chunks/bundle-U_0F9z8c.js';
import './useSendbirdStateContext.js';
import './withSendbird.js';
import './Thread/context/types.js';
import '@sendbird/chat';
import './chunks/bundle-SI8TVXcF.js';
import '@sendbird/chat/groupChannel';
import './chunks/bundle-brky8TnE.js';
import './chunks/bundle-TlXrstq8.js';
import './chunks/bundle-e5lT4U6_.js';
import './chunks/bundle-zOkaSZl3.js';
import './chunks/bundle-_NUeDv_m.js';
import './chunks/bundle-YOec1wfw.js';
import './chunks/bundle-2aZMC1gn.js';
import './chunks/bundle-RzWTDZDo.js';
import './Thread/components/ParentMessageInfo.js';
import './chunks/bundle-IKRolu9P.js';
import './chunks/bundle-WSNk7jGd.js';
import './chunks/bundle-92kzAxsw.js';
import 'react-dom';
import './chunks/bundle-4ab6nIKe.js';
import './chunks/bundle-1XQGq5tE.js';
import './ui/IconButton.js';
import './ui/Button.js';
import './ui/Icon.js';
import './chunks/bundle-ncF5Vx6b.js';
import './chunks/bundle-hrqkDKRD.js';
import './chunks/bundle-9wFvMqxF.js';
import './Thread/components/ParentMessageInfoItem.js';
import './ui/ImageRenderer.js';
import './ui/TextButton.js';
import './chunks/bundle-3hGhEhNx.js';
import './ui/EmojiReactions.js';
import './ui/ReactionBadge.js';
import './ui/ReactionButton.js';
import './chunks/bundle-AAE0evYg.js';
import './ui/ContextMenu.js';
import './ui/SortByRow.js';
import './ui/BottomSheet.js';
import './hooks/useModal.js';
import './ui/UserListItem.js';
import './chunks/bundle-7RyEqo9-.js';
import './chunks/bundle-TEGbbRiE.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-KNG-9gh9.js';
import './VoiceRecorder/context.js';
import './ui/PlaybackTime.js';
import './ui/Loader.js';
import './chunks/bundle-zqJVlTpN.js';
import './chunks/bundle-2xEG_fol.js';
import './ui/MentionLabel.js';
import './ui/LinkLabel.js';
import './chunks/bundle-FqjGVIIM.js';
import './chunks/bundle-7gnDs7-N.js';
import './chunks/bundle-Npg4qQQD.js';
import '@sendbird/uikit-tools';
import './chunks/bundle-5cvB_UbP.js';
import './chunks/bundle-laq4Cm2M.js';
import './chunks/bundle-Xy9OskjJ.js';
import './chunks/bundle-K3gy6I7U.js';
import './ui/MessageItemMenu.js';
import './chunks/bundle--4gDKFyU.js';
import './ui/MessageItemReactionMenu.js';
import './ui/MessageInput.js';
import './chunks/bundle-QUJKjMCy.js';
import './chunks/bundle-fNYexgBr.js';
import 'dompurify';
import './chunks/bundle-72sPkBu4.js';
import './chunks/bundle-5x-SH0ln.js';
import './chunks/bundle--M9av9I5.js';
import './chunks/bundle-kNzGDcl1.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-9M3o3hPA.js';
import './chunks/bundle-2lbcW98e.js';
import './chunks/bundle-BnMLjoeD.js';
import './ui/TextMessageItemBody.js';
import './ui/OGMessageItemBody.js';
import './ui/FileMessageItemBody.js';
import './ui/ThumbnailMessageItemBody.js';
import './chunks/bundle-bAvA5Udb.js';
import './ui/UnknownMessageItemBody.js';
import './Channel/utils/compareMessagesForGrouping.js';
import 'date-fns';
import './chunks/bundle-d31Dx4g9.js';
import './chunks/bundle-Edp-TIC7.js';
import './chunks/bundle-pffuo01q.js';
import './ui/QuoteMessageInput.js';
import './VoiceRecorder/useVoiceRecorder.js';
import './chunks/bundle-1kYamWYQ.js';
import './chunks/bundle-Y0R5tada.js';
import './chunks/bundle-b9LCaMtu.js';
import './chunks/bundle-eGLEfc7r.js';
import './chunks/bundle-OYvgeZlT.js';
import './chunks/bundle-kP3o9aRv.js';
import './chunks/bundle-qI3fzrBt.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
