import React__default, { useState } from 'react';
import { u as useChannelListContext } from '../../chunks/bundle-DwGTajGA.js';
import { A as AddGroupChannelView } from '../../chunks/bundle-D45IsnKY.js';
import '../../chunks/bundle-CMZSpHeh.js';
import '@sendbird/chat/groupChannel';
import '../../chunks/bundle-DQ2TqmPV.js';
import '../../chunks/bundle-GCGSXAv2.js';
import '../../chunks/bundle-DRN8Ufbc.js';
import '../../chunks/bundle-Csv255vx.js';
import '../../chunks/bundle-BH6pGtIL.js';
import '../../useSendbirdStateContext.js';
import '../../withSendbird.js';
import '../../chunks/bundle-DI-PfZ0q.js';
import '../../chunks/bundle-BdOcjdmg.js';
import '../../utils/message/getOutgoingMessageState.js';
import '../../chunks/bundle-57WiBzef.js';
import '../../ui/IconButton.js';
import '../../ui/Icon.js';
import '../../CreateChannel.js';
import '../../CreateChannel/components/CreateChannelUI.js';
import '../../chunks/bundle-DjIH-Zhh.js';
import '../../sendbirdSelectors.js';
import '../../CreateChannel/components/InviteUsers.js';
import '../../chunks/bundle-Aca68v_Z.js';
import '../../chunks/bundle-XCQLW6rR.js';
import '../../chunks/bundle-eddZycld.js';
import '../../chunks/bundle-CAdHlM56.js';
import '../../chunks/bundle-DYAiU0qn.js';
import 'react-dom';
import '../../ui/Button.js';
import '../../chunks/bundle-CIcpyYvw.js';
import '../../ui/UserListItem.js';
import '../../chunks/bundle-BlN1UcdM.js';
import '../../ui/ImageRenderer.js';
import '../../chunks/bundle-Bzds2Ucm.js';
import '../../ui/MutedAvatarOverlay.js';
import '../../ui/Checkbox.js';
import '../../ui/UserProfile.js';
import '../../ui/ContextMenu.js';
import '@sendbird/chat';
import '@sendbird/chat/openChannel';
import '../../ui/SortByRow.js';
import '../../CreateChannel/components/SelectChannelType.js';

var AddChannel = function () {
    var _a = useState(false), showModal = _a[0], setShowModal = _a[1];
    var _b = useChannelListContext(), overrideInviteUser = _b.overrideInviteUser, onBeforeCreateChannel = _b.onBeforeCreateChannel, onChannelSelect = _b.onChannelSelect;
    return (React__default.createElement(AddGroupChannelView, { createChannelVisible: showModal, onChangeCreateChannelVisible: setShowModal, onCreateChannelClick: overrideInviteUser, onBeforeCreateChannel: onBeforeCreateChannel, onChannelCreated: onChannelSelect }));
};

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