'use strict';

var React = require('react');
var OpenChannel_components_OpenChannelUI = require('./OpenChannel/components/OpenChannelUI.js');
var OpenChannel_context = require('./chunks/bundle-BeI9AozB.js');
require('./OpenChannel/components/OpenChannelInput.js');
require('./chunks/bundle-DDNdw3A9.js');
require('./chunks/bundle-CxoFSSXv.js');
require('./chunks/bundle-EhtiN7UV.js');
require('./chunks/bundle-BV7y6VDn.js');
require('./ui/MessageInput.js');
require('./chunks/bundle-Cwboa2Wr.js');
require('./chunks/bundle-kPv1Olqr.js');
require('./ui/IconButton.js');
require('./ui/Button.js');
require('./chunks/bundle-B0UICprZ.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('./ui/Icon.js');
require('./chunks/bundle-DQNu-S6D.js');
require('./chunks/bundle-D7YiKR6i.js');
require('@sendbird/chat/groupChannel');
require('./utils/message/getOutgoingMessageState.js');
require('./chunks/bundle-dfqZUdij.js');
require('./chunks/bundle-Dn0hi6OJ.js');
require('./chunks/bundle-C1G0SKDq.js');
require('./chunks/bundle-yU9Mr2pS.js');
require('./chunks/bundle-CXHWkhsI.js');
require('./chunks/bundle-LI9JjqG2.js');
require('./chunks/bundle-AAO7jUU2.js');
require('@sendbird/chat');
require('@sendbird/chat/openChannel');
require('./OpenChannel/components/FrozenChannelNotification.js');
require('./OpenChannel/components/OpenChannelHeader.js');
require('./chunks/bundle-CLL-nCFU.js');
require('./ui/ImageRenderer.js');
require('./chunks/bundle-C8MACRPO.js');
require('./chunks/bundle-CyQD5TkW.js');
require('./ui/PlaceHolder.js');
require('./ui/Loader.js');
require('./OpenChannel/components/OpenChannelMessageList.js');
require('./chunks/bundle-B9BY1g5d.js');
require('./OpenChannel/components/OpenChannelMessage.js');
require('./chunks/bundle-FJtjwZwh.js');
require('./ui/OpenchannelUserMessage.js');
require('./chunks/bundle-Bqahh-7Q.js');
require('react-dom');
require('./ui/SortByRow.js');
require('./chunks/bundle-BUGwK1WK.js');
require('./ui/UserProfile.js');
require('./chunks/bundle-DeyX1dvY.js');
require('./sendbirdSelectors.js');
require('./chunks/bundle-BPWJgESF.js');
require('./chunks/bundle-Da973hrK.js');
require('./chunks/bundle-BcgWN8U2.js');
require('./chunks/bundle-Bd-cNaJc.js');
require('./ui/OpenChannelAdminMessage.js');
require('./ui/OpenchannelOGMessage.js');
require('./ui/LinkLabel.js');
require('./chunks/bundle-vEi_Cfco.js');
require('./Message/context.js');
require('./ui/MentionLabel.js');
require('./ui/OpenchannelThumbnailMessage.js');
require('./ui/OpenchannelFileMessage.js');
require('./ui/TextButton.js');
require('./chunks/bundle-BIrmQghI.js');
require('./ui/DateSeparator.js');
require('./ui/FileViewer.js');
require('./hooks/useModal.js');
require('./chunks/bundle-YeW89zsR.js');
require('./chunks/bundle-DNjcGEfJ.js');
require('@sendbird/uikit-tools');
require('./chunks/bundle-C4t_1F0C.js');
require('./chunks/bundle-swpo7Z_P.js');
require('./chunks/bundle-D4Il5UXX.js');
require('./chunks/bundle-CqFqMb6S.js');
require('@sendbird/chat/message');
require('./Channel/utils/compareMessagesForGrouping.js');
require('./chunks/bundle-CvQwksvR.js');
require('./chunks/bundle-B2xIXbEG.js');

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

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

var OpenChannel = function (props) {
    return (React__default.default.createElement(OpenChannel_context.OpenChannelProvider, { channelUrl: props === null || props === void 0 ? void 0 : props.channelUrl, isMessageGroupingEnabled: props === null || props === void 0 ? void 0 : props.isMessageGroupingEnabled, queries: props === null || props === void 0 ? void 0 : props.queries, messageLimit: props === null || props === void 0 ? void 0 : props.messageLimit, onBeforeSendUserMessage: props === null || props === void 0 ? void 0 : props.onBeforeSendUserMessage, onBeforeSendFileMessage: props === null || props === void 0 ? void 0 : props.onBeforeSendFileMessage, onChatHeaderActionClick: props === null || props === void 0 ? void 0 : props.onChatHeaderActionClick, disableUserProfile: props === null || props === void 0 ? void 0 : props.disableUserProfile, renderUserProfile: props === null || props === void 0 ? void 0 : props.renderUserProfile, onBackClick: props === null || props === void 0 ? void 0 : props.onBackClick },
        React__default.default.createElement(OpenChannel_components_OpenChannelUI, { renderMessage: props === null || props === void 0 ? void 0 : props.renderMessage, renderHeader: props === null || props === void 0 ? void 0 : props.renderHeader, renderInput: props === null || props === void 0 ? void 0 : props.renderInput, renderMessageInput: props === null || props === void 0 ? void 0 : props.renderMessageInput, renderPlaceHolderEmptyList: props === null || props === void 0 ? void 0 : props.renderPlaceHolderEmptyList, renderPlaceHolderError: props === null || props === void 0 ? void 0 : props.renderPlaceHolderError, renderPlaceHolderLoading: props === null || props === void 0 ? void 0 : props.renderPlaceHolderLoading })));
};

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