'use strict';

var React = require('react');
var Thread_context = require('./Thread/context.js');
var Thread_components_ThreadUI = require('./Thread/components/ThreadUI.js');
require('./chunks/bundle-C1OL5nEa.js');
require('./chunks/bundle-CI9mjpa7.js');
require('./chunks/bundle-DFqn4B6U.js');
require('./chunks/bundle-Cu2j1EmN.js');
require('@sendbird/chat/message');
require('./utils/message/getOutgoingMessageState.js');
require('./chunks/bundle-DsscLs3k.js');
require('./chunks/bundle-_cqjcInH.js');
require('./useSendbirdStateContext.js');
require('./withSendbird.js');
require('./Thread/context/types.js');
require('@sendbird/chat');
require('./chunks/bundle-CCm3PIiM.js');
require('@sendbird/chat/groupChannel');
require('./chunks/bundle-BkKs2HEQ.js');
require('./chunks/bundle-C21OJi5Y.js');
require('./chunks/bundle-Bq4FcvTF.js');
require('./chunks/bundle-CrkUdg03.js');
require('./chunks/bundle-DQG6eG4l.js');
require('./chunks/bundle-BKe7hLI0.js');
require('./chunks/bundle-BM95N32D.js');
require('./Thread/components/ParentMessageInfo.js');
require('./chunks/bundle-Di0c83Tp.js');
require('./chunks/bundle-_xb0mhf9.js');
require('./chunks/bundle-C87PENaO.js');
require('./chunks/bundle-1dGjBLMq.js');
require('./chunks/bundle-VyDwmxN4.js');
require('./chunks/bundle-CTW4jbtw.js');
require('./chunks/bundle-CO52Wsr3.js');
require('react-dom');
require('./chunks/bundle-D0U-xAFE.js');
require('./ui/IconButton.js');
require('./ui/Button.js');
require('./ui/Icon.js');
require('@sendbird/uikit-tools');
require('css-vars-ponyfill');
require('@sendbird/chat/openChannel');
require('./chunks/bundle-D60dip73.js');
require('./chunks/bundle-B_eF_lLw.js');
require('./ui/SortByRow.js');
require('./chunks/bundle-S9DD9Vhs.js');
require('./Thread/components/ParentMessageInfoItem.js');
require('./ui/ImageRenderer.js');
require('./ui/TextButton.js');
require('./chunks/bundle-8gOOVKMq.js');
require('./ui/EmojiReactions.js');
require('./ui/ReactionBadge.js');
require('./ui/ReactionButton.js');
require('./chunks/bundle-BHieBSdL.js');
require('./ui/BottomSheet.js');
require('./ui/UserListItem.js');
require('./chunks/bundle-B56LqPOh.js');
require('./chunks/bundle-CQbuVhqz.js');
require('./ui/MutedAvatarOverlay.js');
require('./ui/Checkbox.js');
require('./ui/UserProfile.js');
require('./sendbirdSelectors.js');
require('./ui/Tooltip.js');
require('./ui/TooltipWrapper.js');
require('./Message/context.js');
require('./chunks/bundle-Cv85GW-0.js');
require('./ui/VoiceMessageItemBody.js');
require('./ui/ProgressBar.js');
require('./VoicePlayer/useVoicePlayer.js');
require('./ui/PlaybackTime.js');
require('./ui/Loader.js');
require('./chunks/bundle-rXt3MgU-.js');
require('./chunks/bundle-auAyIyjy.js');
require('./ui/MentionLabel.js');
require('./ui/LinkLabel.js');
require('./chunks/bundle-DoSN8wR4.js');
require('./ui/FileViewer.js');
require('./chunks/bundle-QTX1PYil.js');
require('./chunks/bundle-BZuuSeui.js');
require('./chunks/bundle-aANaw2cz.js');
require('./chunks/bundle-BIlOa8cH.js');
require('./chunks/bundle-CWAjZyWA.js');
require('./ui/MessageItemMenu.js');
require('./chunks/bundle-CqDaqTbt.js');
require('./ui/MessageItemReactionMenu.js');
require('./ui/MessageInput.js');
require('./chunks/bundle-bgI8QY8V.js');
require('dompurify');
require('./chunks/bundle-BqL8lmhl.js');
require('./chunks/bundle-CiIb5etk.js');
require('./chunks/bundle-BKID5CS2.js');
require('./ui/MobileMenu.js');
require('./Message/hooks/useDirtyGetMentions.js');
require('./chunks/bundle-D1QbLxW7.js');
require('./Thread/components/ThreadHeader.js');
require('./ui/Header.js');
require('./Thread/components/ThreadList.js');
require('./Thread/components/ThreadListItem.js');
require('./ui/DateSeparator.js');
require('./chunks/bundle-DBawqMOI.js');
require('./chunks/bundle-C4CtpUvD.js');
require('./chunks/bundle-DAJdesda.js');
require('./ui/TextMessageItemBody.js');
require('./ui/OGMessageItemBody.js');
require('./ui/FileMessageItemBody.js');
require('./ui/ThumbnailMessageItemBody.js');
require('./chunks/bundle-BV4k8A-L.js');
require('./ui/UnknownMessageItemBody.js');
require('./Channel/utils/compareMessagesForGrouping.js');
require('date-fns');
require('./Thread/components/ThreadMessageInput.js');
require('./chunks/bundle-jJ99fIw5.js');
require('./chunks/bundle-CvosXEd4.js');
require('./GroupChannel/components/SuggestedMentionList.js');
require('./ui/QuoteMessageInput.js');
require('./VoiceRecorder/useVoiceRecorder.js');
require('./chunks/bundle-7olXkRwC.js');
require('./chunks/bundle-BrLObfuu.js');
require('./GroupChannel/context.js');
require('./chunks/bundle-DUgeMK1K.js');
require('./chunks/bundle-QNFup7xz.js');
require('./Channel/hooks/useHandleUploadFiles.js');
require('./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.createElement("div", { className: "sendbird-thread ".concat(className) },
        React.createElement(Thread_context.ThreadProvider, { channelUrl: channelUrl, message: message, onHeaderActionClick: onHeaderActionClick, onMoveToParentMessage: onMoveToParentMessage, onBeforeSendUserMessage: onBeforeSendUserMessage, onBeforeSendFileMessage: onBeforeSendFileMessage, onBeforeSendVoiceMessage: onBeforeSendVoiceMessage, onBeforeSendMultipleFilesMessage: onBeforeSendMultipleFilesMessage, isMultipleFilesMessageEnabled: isMultipleFilesMessageEnabled },
            React.createElement(Thread_components_ThreadUI, { renderHeader: renderHeader, renderParentMessageInfo: renderParentMessageInfo, renderMessage: renderMessage, renderMessageInput: renderMessageInput, renderCustomSeparator: renderCustomSeparator, renderParentMessageInfoPlaceholder: renderParentMessageInfoPlaceholder, renderThreadListPlaceHolder: renderThreadListPlaceHolder, renderFileUploadIcon: renderFileUploadIcon, renderVoiceMessageIcon: renderVoiceMessageIcon, renderSendMessageIcon: renderSendMessageIcon }))));
};

module.exports = Thread;
//# sourceMappingURL=Thread.js.map
