'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-eCBAJmJN.js');
require('./chunks/bundle-77qvrXp8.js');
require('./chunks/bundle-CrbMqpah.js');
require('./chunks/bundle-DhtZdKsr.js');
require('@sendbird/chat/message');
require('./utils/message/getOutgoingMessageState.js');
require('./chunks/bundle-TPy0gj60.js');
require('./useSendbirdStateContext.js');
require('./withSendbird.js');
require('./Thread/context/types.js');
require('@sendbird/chat');
require('./chunks/bundle-O6Mos2Xn.js');
require('@sendbird/chat/groupChannel');
require('./chunks/bundle-TB_UEIPg.js');
require('./chunks/bundle-NZvAE9FS.js');
require('./chunks/bundle-UAspU0bH.js');
require('./chunks/bundle-6SzyBwQ5.js');
require('./chunks/bundle-H9rcn1PJ.js');
require('./chunks/bundle-AN4eZ2xs.js');
require('./chunks/bundle-s--ExKtj.js');
require('./chunks/bundle-VxcYXhwp.js');
require('./Thread/components/ParentMessageInfo.js');
require('./chunks/bundle-tntEm-Mv.js');
require('./chunks/bundle-VP5r38Gj.js');
require('./chunks/bundle-6L4HCLmb.js');
require('react-dom');
require('./chunks/bundle-Y-_KhZFq.js');
require('./chunks/bundle-6zBNmPOP.js');
require('./ui/IconButton.js');
require('./ui/Button.js');
require('./ui/Icon.js');
require('./chunks/bundle-wZDX1pVR.js');
require('./chunks/bundle-nox41MG6.js');
require('./chunks/bundle-xM2DAzE6.js');
require('./Thread/components/ParentMessageInfoItem.js');
require('./ui/ImageRenderer.js');
require('./ui/TextButton.js');
require('./chunks/bundle-vMF9NM5u.js');
require('./ui/EmojiReactions.js');
require('./ui/ReactionBadge.js');
require('./ui/ReactionButton.js');
require('./chunks/bundle-2hJhRu5W.js');
require('./ui/ContextMenu.js');
require('./ui/SortByRow.js');
require('./ui/BottomSheet.js');
require('./hooks/useModal.js');
require('./ui/UserListItem.js');
require('./chunks/bundle-w0ATt2gt.js');
require('./chunks/bundle-HQAiUNev.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('./ui/VoiceMessageItemBody.js');
require('./ui/ProgressBar.js');
require('./VoicePlayer/useVoicePlayer.js');
require('./chunks/bundle-zAQuo6rI.js');
require('./VoiceRecorder/context.js');
require('./ui/PlaybackTime.js');
require('./ui/Loader.js');
require('./chunks/bundle-3_XFLnnt.js');
require('./chunks/bundle-haAptps1.js');
require('./ui/MentionLabel.js');
require('./ui/LinkLabel.js');
require('./chunks/bundle-qRiLsSwC.js');
require('./chunks/bundle-NPzNlnHJ.js');
require('./chunks/bundle-zDh-X-Q4.js');
require('@sendbird/uikit-tools');
require('./chunks/bundle-Msh8rb3L.js');
require('./chunks/bundle-CDUgp575.js');
require('./chunks/bundle--QPuGnli.js');
require('./chunks/bundle--tki3Ejh.js');
require('./ui/MessageItemMenu.js');
require('./chunks/bundle-Oq2rnNn_.js');
require('./ui/MessageItemReactionMenu.js');
require('./ui/MessageInput.js');
require('./chunks/bundle-MNUU2JEo.js');
require('./chunks/bundle-t2GWOYzL.js');
require('dompurify');
require('./chunks/bundle-nYBtJl9e.js');
require('./chunks/bundle-RUqSDidW.js');
require('./chunks/bundle-0zagc7hR.js');
require('./chunks/bundle-KBZdi1sN.js');
require('./Message/hooks/useDirtyGetMentions.js');
require('./Thread/components/ThreadHeader.js');
require('./Thread/components/ThreadList.js');
require('./Thread/components/ThreadListItem.js');
require('./ui/DateSeparator.js');
require('./chunks/bundle-Pzvqu5yR.js');
require('./chunks/bundle-PhGdgkei.js');
require('./chunks/bundle-RquYsY0d.js');
require('./ui/TextMessageItemBody.js');
require('./ui/OGMessageItemBody.js');
require('./ui/FileMessageItemBody.js');
require('./ui/ThumbnailMessageItemBody.js');
require('./chunks/bundle-KWR-0b7P.js');
require('./ui/UnknownMessageItemBody.js');
require('./Channel/utils/compareMessagesForGrouping.js');
require('date-fns');
require('./Thread/components/ThreadMessageInput.js');
require('./chunks/bundle-ZvLEz_GA.js');
require('./chunks/bundle-jcgWT1ad.js');
require('./ui/QuoteMessageInput.js');
require('./VoiceRecorder/useVoiceRecorder.js');
require('./chunks/bundle-zLoe4MOM.js');
require('./chunks/bundle-PSEoX-EH.js');
require('./chunks/bundle--1R8Yp9p.js');
require('./chunks/bundle-3eaFVTUX.js');
require('./chunks/bundle-YjNFrYVt.js');
require('./chunks/bundle-zHDXCFIb.js');
require('./chunks/bundle-Njt4gDEW.js');
require('./chunks/bundle-CZTvTAu-.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
