'use strict';

var React = require('react');
var OpenChannel_components_OpenChannelUI = require('./OpenChannel/components/OpenChannelUI.js');
var OpenChannel_context = require('./OpenChannelProvider-bc8d7f0d.js');
require('./OpenChannel/components/OpenChannelInput.js');
require('./LocalizationContext-da62a103.js');
require('./stringSet-857a128c.js');
require('./index-25336220.js');
require('./ui/MessageInput.js');
require('./_rollupPluginBabelHelpers-4265e501.js');
require('prop-types');
require('./const-8a9ec74c.js');
require('./const-c1a4604d.js');
require('./ui/IconButton.js');
require('./tslib.es6-ba69891c.js');
require('./index-05692021.js');
require('./index-089e0fba.js');
require('./ui/MentionUserLabel.js');
require('./ui/Icon.js');
require('./index-06c3dca9.js');
require('./OpenChannel/components/FrozenChannelNotification.js');
require('./OpenChannel/components/OpenChannelHeader.js');
require('./ui/Avatar.js');
require('./ui/ImageRenderer.js');
require('./uuid-49679ac2.js');
require('./index-b440f8c6.js');
require('./ui/Loader.js');
require('./OpenChannel/components/OpenChannelMessageList.js');
require('./index-fb127b1f.js');
require('./index-f5cb5c7f.js');
require('./OpenChannel/components/OpenChannelMessage.js');
require('./ui/OpenchannelUserMessage.js');
require('./ui/ContextMenu.js');
require('react-dom');
require('./ui/SortByRow.js');
require('./ui/UserProfile.js');
require('./withSendbird.js');
require('./sendbirdSelectors.js');
require('./topics-a755c9c6.js');
require('./utils-bf57a41a.js');
require('./UserProfileContext-891590a7.js');
require('./utils-bfbac88e.js');
require('./openChannelUtils-56d57483.js');
require('./ui/OpenChannelAdminMessage.js');
require('./ui/OpenchannelOGMessage.js');
require('./ui/LinkLabel.js');
require('./ui/OpenchannelThumbnailMessage.js');
require('./ui/OpenchannelFileMessage.js');
require('./ui/TextButton.js');
require('./color-42e34a43.js');
require('./ui/DateSeparator.js');
require('./ui/FileViewer.js');
require('./index-32562627.js');
require('./ui/Modal.js');
require('./useSendbirdStateContext.js');
require('./compareIds-26079db4.js');
require('./sendbird-dfd051c8.js');
require('./__bundle-6316ce22-c06e03fc.js');
require('./__bundle-fbda47dd-1a2c2d97.js');
require('./openChannel-76345cfa.js');
require('./__bundle-7dfccc8c-dcc1c854.js');

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

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

var OpenChannel = function OpenChannel(props) {
  return /*#__PURE__*/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
  }, /*#__PURE__*/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,
    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
