import React__default from 'react';
import { ThreadProvider } from './Thread/context.js';
import ThreadUI from './Thread/components/ThreadUI.js';
import './chunks/bundle-DOoLmQn1.js';
import './chunks/bundle-DQ2TqmPV.js';
import './chunks/bundle-9-bZdwX6.js';
import './chunks/bundle-CMZSpHeh.js';
import '@sendbird/chat/message';
import './utils/message/getOutgoingMessageState.js';
import './chunks/bundle-Csv255vx.js';
import './chunks/bundle-BH6pGtIL.js';
import './useSendbirdStateContext.js';
import './withSendbird.js';
import './Thread/context/types.js';
import '@sendbird/chat';
import './chunks/bundle-DsQ2We8f.js';
import '@sendbird/chat/groupChannel';
import './chunks/bundle-GCGSXAv2.js';
import './chunks/bundle-BF8Qdge0.js';
import './chunks/bundle-Aca68v_Z.js';
import './chunks/bundle-XCQLW6rR.js';
import './chunks/bundle-eddZycld.js';
import './chunks/bundle-CcVV9Duy.js';
import './chunks/bundle-CIcpyYvw.js';
import './Thread/components/ParentMessageInfo.js';
import './chunks/bundle-BsoAxhbJ.js';
import './chunks/bundle-C6xB7o0l.js';
import './chunks/bundle-DYAiU0qn.js';
import 'react-dom';
import './chunks/bundle-DRN8Ufbc.js';
import './chunks/bundle-CAdHlM56.js';
import './ui/IconButton.js';
import './ui/Button.js';
import './ui/Icon.js';
import './chunks/bundle-CrN7EoKs.js';
import './chunks/bundle-BdOcjdmg.js';
import './chunks/bundle-DI-PfZ0q.js';
import './Thread/components/ParentMessageInfoItem.js';
import './ui/ImageRenderer.js';
import './ui/TextButton.js';
import './chunks/bundle-DrCrimot.js';
import './ui/EmojiReactions.js';
import './ui/ReactionBadge.js';
import './ui/ReactionButton.js';
import './chunks/bundle-w_-mtnA_.js';
import './ui/ContextMenu.js';
import '@sendbird/chat/openChannel';
import './ui/SortByRow.js';
import './ui/BottomSheet.js';
import './hooks/useModal.js';
import './ui/UserListItem.js';
import './chunks/bundle-BlN1UcdM.js';
import './chunks/bundle-Bzds2Ucm.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-DWLEk8wY.js';
import './ui/VoiceMessageItemBody.js';
import './ui/ProgressBar.js';
import './VoicePlayer/useVoicePlayer.js';
import './chunks/bundle-BHpijKgj.js';
import './VoiceRecorder/context.js';
import './ui/PlaybackTime.js';
import './ui/Loader.js';
import './chunks/bundle-4qXDtSKj.js';
import './chunks/bundle-CawmTzdt.js';
import './ui/MentionLabel.js';
import './ui/LinkLabel.js';
import './chunks/bundle-B5Cdyj9S.js';
import './chunks/bundle-Cyeay9b0.js';
import './chunks/bundle-BXieK_Uz.js';
import '@sendbird/uikit-tools';
import './chunks/bundle-CzOZ6n5M.js';
import './chunks/bundle-Dxzrjw7N.js';
import './chunks/bundle-DBqo_XXO.js';
import './chunks/bundle-B2uB4TXG.js';
import './ui/MessageItemMenu.js';
import './chunks/bundle-BcHXJbem.js';
import './ui/MessageItemReactionMenu.js';
import './ui/MessageInput.js';
import './chunks/bundle-CRA9P1Ar.js';
import 'dompurify';
import './chunks/bundle-BI7jBgEO.js';
import './chunks/bundle-C6a7C-OU.js';
import './chunks/bundle-Dorruixf.js';
import './chunks/bundle--4VpdkOk.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-CL7uZG_N.js';
import './chunks/bundle-DggFD55q.js';
import './chunks/bundle-pMKSbn_-.js';
import './ui/TextMessageItemBody.js';
import './ui/OGMessageItemBody.js';
import './ui/FileMessageItemBody.js';
import './ui/ThumbnailMessageItemBody.js';
import './chunks/bundle-DhKZXsZz.js';
import './ui/UnknownMessageItemBody.js';
import './Channel/utils/compareMessagesForGrouping.js';
import 'date-fns';
import './Thread/components/ThreadMessageInput.js';
import './chunks/bundle-E2vRu-P9.js';
import './chunks/bundle-DseK7HAq.js';
import './GroupChannel/components/SuggestedMentionList.js';
import './ui/QuoteMessageInput.js';
import './VoiceRecorder/useVoiceRecorder.js';
import './chunks/bundle-ShfUz6vN.js';
import './chunks/bundle-jpdMhsoB.js';
import './GroupChannel/context.js';
import './chunks/bundle-DoMztHB5.js';
import './chunks/bundle-BOnWRs_F.js';
import './chunks/bundle-C6iM_9qC.js';
import './chunks/bundle-DehMr9Ib.js';
import './chunks/bundle-5Yi0S6u0.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
