import React__default from 'react';
import OpenChannelUI from './OpenChannel/components/OpenChannelUI.js';
import { O as OpenChannelProvider } from './OpenChannelProvider-fe3326aa.js';
import './OpenChannel/components/OpenChannelInput.js';
import './LocalizationContext-9c54e783.js';
import './stringSet-1f18348a.js';
import './index-a9ddd0f5.js';
import './ui/MessageInput.js';
import './_rollupPluginBabelHelpers-b2d9bfc5.js';
import 'prop-types';
import './const-6a07b718.js';
import './const-5f722b91.js';
import './ui/IconButton.js';
import './ui/Button.js';
import './index-4111594a.js';
import 'dompurify';
import './consts-d4c78cc0.js';
import './ui/Icon.js';
import './index-dbe0e004.js';
import './utils/message/getOutgoingMessageState.js';
import './consts-aadaccca.js';
import './consts-790ae3a9.js';
import './tokenize-63d895d3.js';
import './OpenChannel/components/FrozenChannelNotification.js';
import './OpenChannel/components/OpenChannelHeader.js';
import './ui/Avatar.js';
import './ui/ImageRenderer.js';
import './uuid-48baadaf.js';
import './MediaQueryContext-1988a4bc.js';
import './index-77f3d9b0.js';
import './ui/Loader.js';
import './OpenChannel/components/OpenChannelMessageList.js';
import './index-1a3c0d72.js';
import './index-f48cfdf7.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 './UserProfileContext-a8aa4c0f.js';
import './sendbirdSelectors.js';
import './topics-d8d10f83.js';
import './utils-0c09801e.js';
import './useSendbirdStateContext.js';
import './withSendbird.js';
import './utils-83bbfb63.js';
import './index-c7cc73db.js';
import './useLongPress-8acf717c.js';
import './ui/OpenChannelAdminMessage.js';
import './ui/OpenchannelOGMessage.js';
import './ui/LinkLabel.js';
import './index-8df6bff0.js';
import './index.module-ab8289c1.js';
import './Message/context.js';
import './ui/MentionLabel.js';
import './ui/OpenchannelThumbnailMessage.js';
import './ui/OpenchannelFileMessage.js';
import './ui/TextButton.js';
import './color-3bac434a.js';
import './ui/DateSeparator.js';
import './ui/FileViewer.js';
import './index-2a938266.js';
import './ui/Modal.js';
import './index-cfd0e4c4.js';
import './consts-c9746f2b.js';
import './compareIds-1e0e668f.js';
import '@sendbird/chat';
import '@sendbird/chat/openChannel';

const OpenChannel = 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
