'use strict';

var React = require('react');
var OpenChannel_components_OpenChannelUI = require('./OpenChannel/components/OpenChannelUI.js');
var OpenChannel_context = require('./chunks/bundle-2u-XbJ1o.js');
require('./OpenChannel/components/OpenChannelInput.js');
require('./chunks/bundle-DUlN8JG0.js');
require('./chunks/bundle-Dwj4MFbu.js');
require('./chunks/bundle-CNo3XvY2.js');
require('./ui/MessageInput.js');
require('./chunks/bundle-CTDM43-k.js');
require('./chunks/bundle-CfwVjrki.js');
require('./ui/IconButton.js');
require('./ui/Button.js');
require('./chunks/bundle-q_NwnODB.js');
require('./chunks/bundle-BdcIzrzX.js');
require('dompurify');
require('./chunks/bundle-CGQPCPQH.js');
require('./chunks/bundle-UNETZ57a.js');
require('./chunks/bundle-Dy478tIp.js');
require('./ui/Icon.js');
require('./chunks/bundle-7F-J6w2L.js');
require('./useSendbirdStateContext.js');
require('./withSendbird.js');
require('./chunks/bundle-Dsga0STu.js');
require('@sendbird/chat/groupChannel');
require('./utils/message/getOutgoingMessageState.js');
require('./chunks/bundle-CNOy0SKq.js');
require('./chunks/bundle-CpC9YeBR.js');
require('./chunks/bundle-fHhNYi5k.js');
require('./chunks/bundle-SpBht3pR.js');
require('./OpenChannel/components/FrozenChannelNotification.js');
require('./OpenChannel/components/OpenChannelHeader.js');
require('./chunks/bundle-BLMOFXug.js');
require('./ui/ImageRenderer.js');
require('./chunks/bundle-DYd16-N-.js');
require('./chunks/bundle-D027Tr-j.js');
require('./ui/PlaceHolder.js');
require('./ui/Loader.js');
require('./OpenChannel/components/OpenChannelMessageList.js');
require('./chunks/bundle-DfHbVMlf.js');
require('./OpenChannel/components/OpenChannelMessage.js');
require('./chunks/bundle-BOCMTfPs.js');
require('./ui/OpenchannelUserMessage.js');
require('./chunks/bundle-DsDVN_6R.js');
require('react-dom');
require('@sendbird/chat');
require('@sendbird/chat/openChannel');
require('./ui/SortByRow.js');
require('./chunks/bundle-D_L8wtf_.js');
require('./ui/UserProfile.js');
require('./chunks/bundle-DBUexy6W.js');
require('@sendbird/uikit-tools');
require('./chunks/bundle-28_kUN83.js');
require('css-vars-ponyfill');
require('./chunks/bundle-V5e7Iz-M.js');
require('./sendbirdSelectors.js');
require('./chunks/bundle-WAp-MTVO.js');
require('./chunks/bundle-Dx3JU8Wx.js');
require('./chunks/bundle-FhyLRF9q.js');
require('./chunks/bundle-5TSvGYIo.js');
require('./ui/OpenChannelAdminMessage.js');
require('./ui/OpenchannelOGMessage.js');
require('./ui/LinkLabel.js');
require('./chunks/bundle-DraJ_wBk.js');
require('./Message/context.js');
require('./ui/MentionLabel.js');
require('./ui/OpenchannelThumbnailMessage.js');
require('./ui/OpenchannelFileMessage.js');
require('./ui/TextButton.js');
require('./chunks/bundle-IoTRqH9_.js');
require('./ui/DateSeparator.js');
require('./ui/FileViewer.js');
require('./chunks/bundle-DFxc2FDf.js');
require('./chunks/bundle-DbLH7rSK.js');
require('./chunks/bundle-CEq2SLvK.js');
require('./chunks/bundle-hT5koe7z.js');
require('./chunks/bundle-ClrDxDE5.js');
require('@sendbird/chat/message');
require('./Channel/utils/compareMessagesForGrouping.js');
require('./chunks/bundle-uYwxiwiJ.js');
require('./chunks/bundle-PY0nrU1R.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
