'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-BXEGf4g2.js');
require('./chunks/bundle-Dehhi1FZ.js');
require('./chunks/bundle-CE6bFQmu.js');
require('./chunks/bundle-HGbi-rCv.js');
require('@sendbird/chat/message');
require('./utils/message/getOutgoingMessageState.js');
require('./chunks/bundle-DfcEln0Z.js');
require('./chunks/bundle-CAUMYdVU.js');
require('./useSendbirdStateContext.js');
require('./withSendbird.js');
require('./Thread/context/types.js');
require('@sendbird/chat');
require('./chunks/bundle-T4lp5F85.js');
require('@sendbird/chat/groupChannel');
require('./chunks/bundle-1XtsxT8L.js');
require('./chunks/bundle-DRy7eNJ0.js');
require('./chunks/bundle-oeWNUdCB.js');
require('./chunks/bundle-gtkPlUrw.js');
require('./chunks/bundle-BWGOXLHb.js');
require('./chunks/bundle-Tjx9wNAv.js');
require('./chunks/bundle-5_kPn4wU.js');
require('./Thread/components/ParentMessageInfo.js');
require('./chunks/bundle-DAj-1QVM.js');
require('./chunks/bundle-4vdy6J5u.js');
require('./chunks/bundle-CZfcXYaX.js');
require('./chunks/bundle-wl1uuzU7.js');
require('./chunks/bundle-BoLhr7Ko.js');
require('react-dom');
require('./chunks/bundle-BwQ4BJif.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-L3FEqZsK.js');
require('./chunks/bundle-BTU876jx.js');
require('./chunks/bundle-D8gia2Hg.js');
require('./Thread/components/ParentMessageInfoItem.js');
require('./ui/ImageRenderer.js');
require('./ui/TextButton.js');
require('./chunks/bundle-DAxedY0T.js');
require('./ui/EmojiReactions.js');
require('./ui/ReactionBadge.js');
require('./ui/ReactionButton.js');
require('./chunks/bundle-miB6ue8g.js');
require('./ui/ContextMenu.js');
require('./ui/SortByRow.js');
require('./ui/BottomSheet.js');
require('./ui/UserListItem.js');
require('./chunks/bundle-DxSB9NRz.js');
require('./chunks/bundle-C93-onMF.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-Dww6fCVQ.js');
require('./ui/VoiceMessageItemBody.js');
require('./ui/ProgressBar.js');
require('./VoicePlayer/useVoicePlayer.js');
require('./ui/PlaybackTime.js');
require('./ui/Loader.js');
require('./chunks/bundle-C3DKUT4Q.js');
require('./chunks/bundle-CLOaQmX9.js');
require('./ui/MentionLabel.js');
require('./ui/LinkLabel.js');
require('./chunks/bundle-DTCz0BH1.js');
require('./chunks/bundle-C6a-umLQ.js');
require('./chunks/bundle-bqRlVm3u.js');
require('./chunks/bundle-Dnq2YP_l.js');
require('./chunks/bundle-BaM5Ed34.js');
require('./chunks/bundle-CR04Yhbr.js');
require('./chunks/bundle-CmpLg1_S.js');
require('./ui/MessageItemMenu.js');
require('./chunks/bundle-BaAUvjl9.js');
require('./ui/MessageItemReactionMenu.js');
require('./ui/MessageInput.js');
require('./chunks/bundle-BLc7P6Sp.js');
require('dompurify');
require('./chunks/bundle-D4aDRH9m.js');
require('./chunks/bundle-8VyIP0TE.js');
require('./chunks/bundle-DdxJqNSP.js');
require('./chunks/bundle-Cgl5e8xs.js');
require('./Message/hooks/useDirtyGetMentions.js');
require('./chunks/bundle-BjgfoBVC.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-N_CwOE5a.js');
require('./chunks/bundle-B_51Svr9.js');
require('./chunks/bundle-wMKhbE3c.js');
require('./ui/TextMessageItemBody.js');
require('./ui/OGMessageItemBody.js');
require('./ui/FileMessageItemBody.js');
require('./ui/ThumbnailMessageItemBody.js');
require('./chunks/bundle-DcSTnNI0.js');
require('./ui/UnknownMessageItemBody.js');
require('./Channel/utils/compareMessagesForGrouping.js');
require('date-fns');
require('./Thread/components/ThreadMessageInput.js');
require('./chunks/bundle-DMGpM9Ye.js');
require('./chunks/bundle-DQy218lT.js');
require('./GroupChannel/components/SuggestedMentionList.js');
require('./ui/QuoteMessageInput.js');
require('./VoiceRecorder/useVoiceRecorder.js');
require('./chunks/bundle-BTod-EOk.js');
require('./chunks/bundle-Q4icQ1qH.js');
require('./GroupChannel/context.js');
require('./chunks/bundle-BaQc9oOW.js');
require('./chunks/bundle-C1XVsHlE.js');
require('./chunks/bundle-Com-Z-XI.js');
require('./chunks/bundle-BOkZUm8a.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
