'use strict';

var React = require('react');
var ChannelList_context = require('./ChannelListProvider-46e379c7.js');
var ChannelList_components_ChannelListUI = require('./ChannelList/components/ChannelListUI.js');
require('./_rollupPluginBabelHelpers-3a9d1641.js');
require('@sendbird/chat/groupChannel');
require('./topics-3226c6ee.js');
require('./uuid-5ab4f88b.js');
require('./utils-146517a9.js');
require('./UserProfileContext-c87514d3.js');
require('prop-types');
require('./useSendbirdStateContext.js');
require('./withSendbird.js');
require('./index-0b8a1074.js');
require('./utils/message/getOutgoingMessageState.js');
require('./ChannelList/components/ChannelListHeader.js');
require('./LocalizationContext-b42fa07d.js');
require('./stringSet-4f30313f.js');
require('./index-97005534.js');
require('./index-72e412f7.js');
require('./ui/Avatar.js');
require('./ui/ImageRenderer.js');
require('./ui/Icon.js');
require('./ChannelList/components/AddChannel.js');
require('./ui/IconButton.js');
require('./CreateChannel.js');
require('./CreateChannel/components/CreateChannelUI.js');
require('./CreateChannelProvider-ef7e4c91.js');
require('./sendbirdSelectors.js');
require('./CreateChannel/components/InviteUsers.js');
require('./ui/Modal.js');
require('react-dom');
require('./index-e8b83547.js');
require('./ui/Button.js');
require('./MediaQueryContext-372b55a6.js');
require('./ui/UserListItem.js');
require('./ui/MutedAvatarOverlay.js');
require('./ui/Checkbox.js');
require('./ui/UserProfile.js');
require('./ui/ContextMenu.js');
require('./ui/SortByRow.js');
require('./CreateChannel/components/SelectChannelType.js');
require('./ChannelList/components/ChannelPreview.js');
require('./ui/ChannelAvatar.js');
require('./utils-de654d3c.js');
require('./ui/Badge.js');
require('./index-e1d69370.js');
require('./index-849f44b0.js');
require('./ui/Loader.js');
require('./index-7ec4fe06.js');
require('./index-afada680.js');
require('./ui/MentionUserLabel.js');
require('./consts-bb2a67c7.js');
require('./ui/TextButton.js');
require('./color-a4e73e6f.js');
require('./Channel/components/TypingIndicator.js');
require('./ChannelProvider-2bfafa25.js');
require('./compareIds-a7029d6a.js');
require('./const-68cf2709.js');
require('@sendbird/chat/message');
require('./consts-f71467c8.js');
require('./useLongPress-bf1e8eee.js');
require('./ChannelList/components/ChannelPreviewAction.js');
require('./EditUserProfile.js');
require('./index-811da6ee.js');
require('./ui/Input.js');
require('./actionTypes-ecb5bef6.js');
require('./index-9d9e563e.js');

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

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

const ChannelList = props => {
  return /*#__PURE__*/React__default["default"].createElement(ChannelList_context.ChannelListProvider, {
    className: props === null || props === void 0 ? void 0 : props.className,
    disableUserProfile: props === null || props === void 0 ? void 0 : props.disableUserProfile,
    allowProfileEdit: props === null || props === void 0 ? void 0 : props.allowProfileEdit,
    onBeforeCreateChannel: props === null || props === void 0 ? void 0 : props.onBeforeCreateChannel,
    onThemeChange: props === null || props === void 0 ? void 0 : props.onThemeChange,
    overrideInviteUser: props === null || props === void 0 ? void 0 : props.overrideInviteUser,
    onProfileEditSuccess: props === null || props === void 0 ? void 0 : props.onProfileEditSuccess,
    onChannelSelect: props === null || props === void 0 ? void 0 : props.onChannelSelect,
    sortChannelList: props === null || props === void 0 ? void 0 : props.sortChannelList,
    queries: props === null || props === void 0 ? void 0 : props.queries,
    disableAutoSelect: props === null || props === void 0 ? void 0 : props.disableAutoSelect,
    activeChannelUrl: props === null || props === void 0 ? void 0 : props.activeChannelUrl,
    isTypingIndicatorEnabled: props === null || props === void 0 ? void 0 : props.isTypingIndicatorEnabled,
    isMessageReceiptStatusEnabled: props === null || props === void 0 ? void 0 : props.isMessageReceiptStatusEnabled
  }, /*#__PURE__*/React__default["default"].createElement(ChannelList_components_ChannelListUI, {
    renderChannelPreview: props === null || props === void 0 ? void 0 : props.renderChannelPreview,
    renderUserProfile: props === null || props === void 0 ? void 0 : props.renderUserProfile,
    renderHeader: props === null || props === void 0 ? void 0 : props.renderHeader,
    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 = ChannelList;
//# sourceMappingURL=ChannelList.js.map
