'use strict';

var _tslib = require('./chunks/bundle-Dwj4MFbu.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-7F-J6w2L.js');
require('./chunks/bundle-DfikOY-r.js');
require('./chunks/bundle-WAp-MTVO.js');
require('./chunks/bundle-ClrDxDE5.js');
require('@sendbird/chat/message');
require('./chunks/bundle-DUlN8JG0.js');
require('./chunks/bundle-CNo3XvY2.js');
require('./utils/message/getOutgoingMessageState.js');
require('./chunks/bundle-fHhNYi5k.js');
require('./chunks/bundle-DBUexy6W.js');
require('@sendbird/uikit-tools');
require('./withSendbird.js');
require('./chunks/bundle-28_kUN83.js');
require('./chunks/bundle-Dsga0STu.js');
require('@sendbird/chat/groupChannel');
require('./chunks/bundle-CNOy0SKq.js');
require('./chunks/bundle-CpC9YeBR.js');
require('react-dom');
require('./chunks/bundle-D027Tr-j.js');
require('./ui/IconButton.js');
require('./ui/Button.js');
require('./chunks/bundle-q_NwnODB.js');
require('./ui/Icon.js');
require('css-vars-ponyfill');
require('@sendbird/chat');
require('./chunks/bundle-D_L8wtf_.js');
require('@sendbird/chat/openChannel');
require('./chunks/bundle-V5e7Iz-M.js');
require('./useSendbirdStateContext.js');
require('./chunks/bundle-DsDVN_6R.js');
require('./ui/SortByRow.js');
require('./Thread/context/types.js');
require('./chunks/bundle-dLmOq83s.js');
require('./chunks/bundle-uYwxiwiJ.js');
require('./chunks/bundle-DZlUKyYY.js');
require('./Thread/components/ParentMessageInfo.js');
require('./chunks/bundle-BOCMTfPs.js');
require('./chunks/bundle-rMeAxTO2.js');
require('./chunks/bundle-DbLH7rSK.js');
require('./Thread/components/ParentMessageInfoItem.js');
require('./ui/ImageRenderer.js');
require('./ui/TextButton.js');
require('./chunks/bundle-IoTRqH9_.js');
require('./ui/EmojiReactions.js');
require('./ui/ReactionBadge.js');
require('./ui/ReactionButton.js');
require('./chunks/bundle-5TSvGYIo.js');
require('./ui/BottomSheet.js');
require('./ui/UserListItem.js');
require('./chunks/bundle-BLMOFXug.js');
require('./chunks/bundle-DYd16-N-.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-D377oTBW.js');
require('./ui/VoiceMessageItemBody.js');
require('./ui/ProgressBar.js');
require('./VoicePlayer/useVoicePlayer.js');
require('./ui/PlaybackTime.js');
require('./ui/Loader.js');
require('./chunks/bundle-DraJ_wBk.js');
require('./chunks/bundle-SpBht3pR.js');
require('./ui/MentionLabel.js');
require('./ui/LinkLabel.js');
require('./chunks/bundle-BOfy7MGc.js');
require('./ui/FileViewer.js');
require('./chunks/bundle-DFxc2FDf.js');
require('./chunks/bundle-BT2MFU_X.js');
require('./chunks/bundle-CZlcUhal.js');
require('./chunks/bundle-CfwVjrki.js');
require('./chunks/bundle-CTDM43-k.js');
require('./ui/MessageItemReactionMenu.js');
require('./ui/MessageInput.js');
require('./chunks/bundle-BdcIzrzX.js');
require('dompurify');
require('./chunks/bundle-CGQPCPQH.js');
require('./chunks/bundle-UNETZ57a.js');
require('./chunks/bundle-Dy478tIp.js');
require('./chunks/bundle-Czr6tT7W.js');
require('./ui/MobileMenu.js');
require('./Message/hooks/useDirtyGetMentions.js');
require('./chunks/bundle-BpTO3vXw.js');
require('./chunks/bundle-CcIJkgZG.js');
require('./chunks/bundle-Cbhlvswp.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-CYQxg_eZ.js');
require('./chunks/bundle-CwmDNzaS.js');
require('./chunks/bundle-DfHbVMlf.js');
require('./chunks/bundle-28jK5HyI.js');
require('./ui/OGMessageItemBody.js');
require('./ui/TextMessageItemBody.js');
require('./ui/FileMessageItemBody.js');
require('./ui/ThumbnailMessageItemBody.js');
require('./chunks/bundle-D_527Yzl.js');
require('./ui/UnknownMessageItemBody.js');
require('./ui/TemplateMessageItemBody.js');
require('./chunks/bundle-2FdfAfSg.js');
require('./ui/FallbackTemplateMessageItemBody.tsx.js');
require('./ui/LoadingTemplateMessageItemBody.tsx.js');
require('./ui/MessageFeedbackFailedModal.js');
require('./chunks/bundle-yToAKC5T.js');
require('./Channel/utils/compareMessagesForGrouping.js');
require('date-fns');
require('./Thread/components/ThreadMessageInput.js');
require('./chunks/bundle-BICYMf9c.js');
require('./GroupChannel/components/SuggestedMentionList.js');
require('./ui/QuoteMessageInput.js');
require('./VoiceRecorder/useVoiceRecorder.js');
require('./chunks/bundle-fZWtrPCw.js');
require('./chunks/bundle-PY0nrU1R.js');
require('./GroupChannel/context.js');
require('./chunks/bundle-BNbtTuYT.js');
require('./chunks/bundle-dXylcWC-.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
