import React__default from 'react';
import OpenChannelUI from './OpenChannel/components/OpenChannelUI.js';
import { O as OpenChannelProvider } from './OpenChannelProvider-1438b899.js';
import './OpenChannel/components/OpenChannelInput.js';
import './LocalizationContext-5920dafc.js';
import './stringSet-f0e25f08.js';
import './index-b5b56cb7.js';
import './ui/MessageInput.js';
import './_rollupPluginBabelHelpers-636e674b.js';
import 'react-dom/server';
import 'prop-types';
import './const-2aae43f2.js';
import './const-8bb8cc10.js';
import './ui/IconButton.js';
import './tslib.es6-279bc71d.js';
import './ui/Button.js';
import './index-4a23e6ff.js';
import './ui/MentionUserLabel.js';
import './ui/Icon.js';
import './index-1a59aaa9.js';
import './utils/message/getOutgoingMessageState.js';
import './OpenChannel/components/FrozenChannelNotification.js';
import './OpenChannel/components/OpenChannelHeader.js';
import './ui/Avatar.js';
import './ui/ImageRenderer.js';
import './uuid-636df95b.js';
import './MediaQueryContext-9c1bb79f.js';
import './index-cb6348b0.js';
import './ui/Loader.js';
import './OpenChannel/components/OpenChannelMessageList.js';
import './index-8b94db1e.js';
import './index-4f51d577.js';
import './OpenChannel/components/OpenChannelMessage.js';
import './ui/OpenchannelUserMessage.js';
import './ui/ContextMenu.js';
import 'react-dom';
import './ui/SortByRow.js';
import './ui/UserProfile.js';
import './withSendbird.js';
import './UserProfileContext-749db4f6.js';
import './sendbirdSelectors.js';
import './topics-d2e15fe6.js';
import './utils-5a4995e3.js';
import './utils-128b3636.js';
import './index-a6dbcbe1.js';
import './useSendbirdStateContext.js';
import './useLongPress-53f7929a.js';
import './ui/OpenChannelAdminMessage.js';
import './ui/OpenchannelOGMessage.js';
import './ui/LinkLabel.js';
import './ui/Word.js';
import './ui/MentionLabel.js';
import './ui/OpenchannelThumbnailMessage.js';
import './ui/OpenchannelFileMessage.js';
import './ui/TextButton.js';
import './color-253fcdc4.js';
import './ui/DateSeparator.js';
import './ui/FileViewer.js';
import './index-d2dd3ae2.js';
import './ui/Modal.js';
import './compareIds-5494c074.js';
import '@sendbird/chat';
import '@sendbird/chat/openChannel';

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

export { OpenChannel as default };
//# sourceMappingURL=OpenChannel.js.map
