import React__default, { useState } from 'react';
import { u as useChannelListContext } from '../../chunks/bundle-rjBwVkDc.js';
import { A as AddGroupChannelView } from '../../chunks/bundle-6zdlkf2J.js';
import '../../chunks/bundle-KIf79auh.js';
import '@sendbird/chat/groupChannel';
import '../../chunks/bundle-3E-IANjq.js';
import '../../chunks/bundle-hjFxrcMW.js';
import '../../chunks/bundle-DHw1C5gJ.js';
import '../../chunks/bundle-xC7o7NLR.js';
import '../../chunks/bundle-_hGurAcC.js';
import '../../useSendbirdStateContext.js';
import '../../withSendbird.js';
import '../../chunks/bundle-0QDb7-Y_.js';
import '../../chunks/bundle-LTiCF37t.js';
import '../../utils/message/getOutgoingMessageState.js';
import '../../chunks/bundle-LjoHDFFW.js';
import '../../ui/IconButton.js';
import '../../ui/Icon.js';
import '../../CreateChannel.js';
import '../../CreateChannel/components/CreateChannelUI.js';
import '../../chunks/bundle-2194oWZc.js';
import '../../sendbirdSelectors.js';
import '../../CreateChannel/components/InviteUsers.js';
import '../../chunks/bundle-wpc1Fted.js';
import '../../chunks/bundle-XDy3Cf54.js';
import '../../chunks/bundle-wWnN6K3w.js';
import '../../chunks/bundle-Y3ZVN9yF.js';
import '../../chunks/bundle-22Jw6ztq.js';
import 'react-dom';
import '../../ui/Button.js';
import '../../chunks/bundle-9c5vLDe9.js';
import '../../ui/UserListItem.js';
import '../../chunks/bundle-b2jLXyrm.js';
import '../../ui/ImageRenderer.js';
import '../../chunks/bundle-Sl-oiala.js';
import '../../ui/MutedAvatarOverlay.js';
import '../../ui/Checkbox.js';
import '../../ui/UserProfile.js';
import '../../ui/ContextMenu.js';
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
