'use strict';

var _tslib = require('./chunks/bundle-CxoFSSXv.js');
var React = require('react');
var ThreadProvider = require('./chunks/bundle-B7URG8PR.js');
var Thread_components_ThreadUI = require('./Thread/components/ThreadUI.js');
var utils = require('./chunks/bundle-DQNu-S6D.js');
require('./chunks/bundle-THfLGJxy.js');
require('./chunks/bundle-BPWJgESF.js');
require('./chunks/bundle-CqFqMb6S.js');
require('@sendbird/chat/message');
require('./chunks/bundle-DDNdw3A9.js');
require('./chunks/bundle-EhtiN7UV.js');
require('./chunks/bundle-BV7y6VDn.js');
require('./utils/message/getOutgoingMessageState.js');
require('./chunks/bundle-yU9Mr2pS.js');
require('./chunks/bundle-DeyX1dvY.js');
require('./chunks/bundle-LI9JjqG2.js');
require('./chunks/bundle-AAO7jUU2.js');
require('@sendbird/chat');
require('@sendbird/chat/groupChannel');
require('@sendbird/chat/openChannel');
require('./chunks/bundle-BUGwK1WK.js');
require('./chunks/bundle-CvQwksvR.js');
require('./Thread/context/types.js');
require('./chunks/bundle-ChpcAmBg.js');
require('./chunks/bundle-BqAUDzGx.js');
require('./chunks/bundle-B0UICprZ.js');
require('./chunks/bundle-D7YiKR6i.js');
require('./chunks/bundle-dfqZUdij.js');
require('./chunks/bundle-Dn0hi6OJ.js');
require('./chunks/bundle-C1G0SKDq.js');
require('./Thread/components/ParentMessageInfo.js');
require('./chunks/bundle-FJtjwZwh.js');
require('./chunks/bundle-BOb4newg.js');
require('./chunks/bundle-YeW89zsR.js');
require('react-dom');
require('./chunks/bundle-CyQD5TkW.js');
require('./ui/IconButton.js');
require('./ui/Button.js');
require('./ui/Icon.js');
require('./chunks/bundle-C4t_1F0C.js');
require('./Thread/components/ParentMessageInfoItem.js');
require('./ui/ImageRenderer.js');
require('./ui/TextButton.js');
require('./chunks/bundle-BIrmQghI.js');
require('./ui/EmojiReactions.js');
require('./ui/ReactionBadge.js');
require('./ui/ReactionButton.js');
require('./chunks/bundle-Bd-cNaJc.js');
require('./chunks/bundle-Bqahh-7Q.js');
require('./ui/SortByRow.js');
require('./ui/BottomSheet.js');
require('./hooks/useModal.js');
require('./ui/UserListItem.js');
require('./chunks/bundle-CLL-nCFU.js');
require('./chunks/bundle-C8MACRPO.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-DsZL8mH-.js');
require('./ui/VoiceMessageItemBody.js');
require('./ui/ProgressBar.js');
require('./VoicePlayer/useVoicePlayer.js');
require('./chunks/bundle-DK39NcVd.js');
require('./VoiceRecorder/context.js');
require('./ui/PlaybackTime.js');
require('./ui/Loader.js');
require('./chunks/bundle-vEi_Cfco.js');
require('./chunks/bundle-CXHWkhsI.js');
require('./ui/MentionLabel.js');
require('./ui/LinkLabel.js');
require('./chunks/bundle-Cq2Y8hPN.js');
require('./ui/FileViewer.js');
require('./chunks/bundle-DNjcGEfJ.js');
require('@sendbird/uikit-tools');
require('./chunks/bundle-de2DEYPS.js');
require('./chunks/bundle-DptJHWLW.js');
require('./chunks/bundle-kPv1Olqr.js');
require('./chunks/bundle-Cwboa2Wr.js');
require('./ui/MessageItemReactionMenu.js');
require('./ui/MessageInput.js');
require('./chunks/bundle-Bx1_cAVo.js');
require('dompurify');
require('./chunks/bundle-za5uPkdP.js');
require('./chunks/bundle-CgCnWqE5.js');
require('./chunks/bundle-BXvzT2m9.js');
require('./chunks/bundle-DlOFss3p.js');
require('./ui/MobileMenu.js');
require('./Message/hooks/useDirtyGetMentions.js');
require('./chunks/bundle-CG2rv5Ij.js');
require('./chunks/bundle-D2TXT2xX.js');
require('./chunks/bundle-CPeZ4wPf.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-BFKxvlzn.js');
require('./chunks/bundle-CBLzrxjV.js');
require('./chunks/bundle-B9BY1g5d.js');
require('./chunks/bundle-G4J-OWth.js');
require('./ui/OGMessageItemBody.js');
require('./ui/TextMessageItemBody.js');
require('./ui/FileMessageItemBody.js');
require('./ui/ThumbnailMessageItemBody.js');
require('./chunks/bundle-BPGU6BH2.js');
require('./ui/UnknownMessageItemBody.js');
require('./ui/TemplateMessageItemBody.js');
require('./chunks/bundle-aMt_60_o.js');
require('./ui/FallbackTemplateMessageItemBody.tsx.js');
require('./ui/LoadingTemplateMessageItemBody.tsx.js');
require('./ui/MessageFeedbackFailedModal.js');
require('./chunks/bundle-CzJX13Yl.js');
require('./Channel/utils/compareMessagesForGrouping.js');
require('date-fns');
require('./Thread/components/ThreadMessageInput.js');
require('./chunks/bundle-CCXodf32.js');
require('./GroupChannel/components/SuggestedMentionList.js');
require('./ui/QuoteMessageInput.js');
require('./VoiceRecorder/useVoiceRecorder.js');
require('./chunks/bundle-4kO4nPo9.js');
require('./chunks/bundle-B2xIXbEG.js');
require('./chunks/bundle-DJOukqkN.js');
require('./chunks/bundle-B2KoWBOt.js');
require('./Channel/hooks/useHandleUploadFiles.js');
require('./ui/PlaceHolder.js');

function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }

var React__default = /*#__PURE__*/_interopDefaultCompat(React);

var Thread = function (props) {
    var _a;
    return (React__default.default.createElement("div", { className: utils.classnames('sendbird-thread', (_a = props === null || props === void 0 ? void 0 : props.className) !== null && _a !== void 0 ? _a : '') },
        React__default.default.createElement(ThreadProvider.ThreadProvider, _tslib.__assign({}, props),
            React__default.default.createElement(Thread_components_ThreadUI, _tslib.__assign({}, props)))));
};

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