'use strict';

var React = require('react');
var OpenChannel_components_OpenChannelUI = require('./OpenChannel/components/OpenChannelUI.js');
var OpenChannel_context = require('./chunks/bundle-Dwc89Q_t.js');
require('./OpenChannel/components/OpenChannelInput.js');
require('./chunks/bundle-BmMxoxjN.js');
require('./chunks/bundle-Dqor5-v9.js');
require('./chunks/bundle-pG37uJy2.js');
require('./ui/MessageInput.js');
require('./chunks/bundle-DpraIGlW.js');
require('./chunks/bundle-BsNnhtXP.js');
require('./ui/IconButton.js');
require('./ui/Button.js');
require('./chunks/bundle-CY_gcwTl.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('./ui/Icon.js');
require('./chunks/bundle-DXT1Y4Vj.js');
require('./useSendbirdStateContext.js');
require('./withSendbird.js');
require('./chunks/bundle-slo-uj1z.js');
require('@sendbird/chat/groupChannel');
require('./utils/message/getOutgoingMessageState.js');
require('./chunks/bundle-BS4UAC4Z.js');
require('./chunks/bundle-DRUCFhOE.js');
require('./chunks/bundle-CXXt3nEF.js');
require('./chunks/bundle-ClfGWuhE.js');
require('./OpenChannel/components/FrozenChannelNotification.js');
require('./OpenChannel/components/OpenChannelHeader.js');
require('./chunks/bundle-DWCO2Wap.js');
require('./ui/ImageRenderer.js');
require('./chunks/bundle-CT-nv6tW.js');
require('./chunks/bundle-CTIC4U7B.js');
require('./ui/PlaceHolder.js');
require('./ui/Loader.js');
require('./OpenChannel/components/OpenChannelMessageList.js');
require('./chunks/bundle-BAzcsb-a.js');
require('./OpenChannel/components/OpenChannelMessage.js');
require('./chunks/bundle-CR--sdNU.js');
require('./ui/OpenchannelUserMessage.js');
require('./chunks/bundle-B6pik6Q8.js');
require('react-dom');
require('@sendbird/chat');
require('@sendbird/chat/openChannel');
require('./ui/SortByRow.js');
require('./chunks/bundle-DIZXTVPY.js');
require('./ui/UserProfile.js');
require('./chunks/bundle-DJNCbN6b.js');
require('@sendbird/uikit-tools');
require('./chunks/bundle-dudJtubx.js');
require('css-vars-ponyfill');
require('./chunks/bundle-BbgSFL3H.js');
require('./sendbirdSelectors.js');
require('./chunks/bundle-DCgRyaAA.js');
require('./chunks/bundle-koPwS2m-.js');
require('./chunks/bundle-D8L2MEo8.js');
require('./chunks/bundle-BO9j61_n.js');
require('./ui/OpenChannelAdminMessage.js');
require('./ui/OpenchannelOGMessage.js');
require('./ui/LinkLabel.js');
require('./chunks/bundle-DqM28K5U.js');
require('./Message/context.js');
require('./ui/MentionLabel.js');
require('./ui/OpenchannelThumbnailMessage.js');
require('./ui/OpenchannelFileMessage.js');
require('./ui/TextButton.js');
require('./chunks/bundle-Bnhdg5Rm.js');
require('./ui/DateSeparator.js');
require('./ui/FileViewer.js');
require('./chunks/bundle-CaDCOzgc.js');
require('./chunks/bundle-CAWSUNQl.js');
require('./chunks/bundle-DNuZ431n.js');
require('./chunks/bundle-D-MC1CM2.js');
require('./chunks/bundle-DRHHz9fP.js');
require('@sendbird/chat/message');
require('./Channel/utils/compareMessagesForGrouping.js');
require('./chunks/bundle-DCSdwR_f.js');
require('./chunks/bundle-DCgXy78i.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
