'use strict';

var _tslib = require('./chunks/bundle-Dqor5-v9.js');
var React = require('react');
var Thread_context = require('./Thread/context.js');
var Thread_components_ThreadUI = require('./Thread/components/ThreadUI.js');
var utils = require('./chunks/bundle-DXT1Y4Vj.js');
require('./chunks/bundle-CiU8qct9.js');
require('./chunks/bundle-DCgRyaAA.js');
require('./chunks/bundle-DRHHz9fP.js');
require('@sendbird/chat/message');
require('./chunks/bundle-BmMxoxjN.js');
require('./chunks/bundle-pG37uJy2.js');
require('./utils/message/getOutgoingMessageState.js');
require('./chunks/bundle-CXXt3nEF.js');
require('./chunks/bundle-DJNCbN6b.js');
require('@sendbird/uikit-tools');
require('./withSendbird.js');
require('./chunks/bundle-dudJtubx.js');
require('./chunks/bundle-slo-uj1z.js');
require('@sendbird/chat/groupChannel');
require('./chunks/bundle-BS4UAC4Z.js');
require('./chunks/bundle-DRUCFhOE.js');
require('react-dom');
require('./chunks/bundle-CTIC4U7B.js');
require('./ui/IconButton.js');
require('./ui/Button.js');
require('./chunks/bundle-CY_gcwTl.js');
require('./ui/Icon.js');
require('css-vars-ponyfill');
require('@sendbird/chat');
require('./chunks/bundle-DIZXTVPY.js');
require('@sendbird/chat/openChannel');
require('./chunks/bundle-BbgSFL3H.js');
require('./useSendbirdStateContext.js');
require('./chunks/bundle-B6pik6Q8.js');
require('./ui/SortByRow.js');
require('./Thread/context/types.js');
require('./chunks/bundle-ChtzQ4_G.js');
require('./chunks/bundle-DCSdwR_f.js');
require('./chunks/bundle-D0bCG0RN.js');
require('./Thread/components/ParentMessageInfo.js');
require('./chunks/bundle-CR--sdNU.js');
require('./chunks/bundle-D3pbitJx.js');
require('./chunks/bundle-CAWSUNQl.js');
require('./Thread/components/ParentMessageInfoItem.js');
require('./ui/ImageRenderer.js');
require('./ui/TextButton.js');
require('./chunks/bundle-Bnhdg5Rm.js');
require('./ui/EmojiReactions.js');
require('./ui/ReactionBadge.js');
require('./ui/ReactionButton.js');
require('./chunks/bundle-BO9j61_n.js');
require('./ui/BottomSheet.js');
require('./ui/UserListItem.js');
require('./chunks/bundle-DWCO2Wap.js');
require('./chunks/bundle-CT-nv6tW.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-Dga4g-qj.js');
require('./ui/VoiceMessageItemBody.js');
require('./ui/ProgressBar.js');
require('./VoicePlayer/useVoicePlayer.js');
require('./ui/PlaybackTime.js');
require('./ui/Loader.js');
require('./chunks/bundle-DqM28K5U.js');
require('./chunks/bundle-ClfGWuhE.js');
require('./ui/MentionLabel.js');
require('./ui/LinkLabel.js');
require('./chunks/bundle-3gzyJh9X.js');
require('./ui/FileViewer.js');
require('./chunks/bundle-CaDCOzgc.js');
require('./chunks/bundle-DVuxNfuC.js');
require('./chunks/bundle-Drlp8Ng8.js');
require('./chunks/bundle-BsNnhtXP.js');
require('./chunks/bundle-DpraIGlW.js');
require('./ui/MessageItemReactionMenu.js');
require('./ui/MessageInput.js');
require('./chunks/bundle-BEl3UJGv.js');
require('dompurify');
require('./chunks/bundle-CULVYVIF.js');
require('./chunks/bundle-CmCUchSm.js');
require('./chunks/bundle-CpIO_wkc.js');
require('./chunks/bundle-Bgh7aeqf.js');
require('./ui/MobileMenu.js');
require('./Message/hooks/useDirtyGetMentions.js');
require('./chunks/bundle-BczkNnAh.js');
require('./chunks/bundle-B-dIVIVZ.js');
require('./chunks/bundle-BHq4WpLg.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-Dr-vmGCV.js');
require('./chunks/bundle-BC_1hggZ.js');
require('./chunks/bundle-BAzcsb-a.js');
require('./chunks/bundle-C9aPeBRQ.js');
require('./ui/OGMessageItemBody.js');
require('./ui/TextMessageItemBody.js');
require('./ui/FileMessageItemBody.js');
require('./ui/ThumbnailMessageItemBody.js');
require('./chunks/bundle-CoHU6Rcd.js');
require('./ui/UnknownMessageItemBody.js');
require('./ui/TemplateMessageItemBody.js');
require('./chunks/bundle-DNFesnBP.js');
require('./ui/FallbackTemplateMessageItemBody.tsx.js');
require('./ui/LoadingTemplateMessageItemBody.tsx.js');
require('./ui/MessageFeedbackFailedModal.js');
require('./chunks/bundle-l_IgEt1J.js');
require('./Channel/utils/compareMessagesForGrouping.js');
require('date-fns');
require('./Thread/components/ThreadMessageInput.js');
require('./chunks/bundle-HTdOiDNH.js');
require('./GroupChannel/components/SuggestedMentionList.js');
require('./ui/QuoteMessageInput.js');
require('./VoiceRecorder/useVoiceRecorder.js');
require('./chunks/bundle-B414nWog.js');
require('./chunks/bundle-DCgXy78i.js');
require('./GroupChannel/context.js');
require('./chunks/bundle-PWUDFLsb.js');
require('./chunks/bundle-B5knY1qg.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(Thread_context.ThreadProvider, _tslib.__assign({}, props),
            React__default.default.createElement(Thread_components_ThreadUI, _tslib.__assign({}, props)))));
};

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