import React__default, { useState } from 'react';
import { u as useChannelListContext } from '../../chunks/bundle-Wt2UpzPz.js';
import { A as AddGroupChannelView } from '../../chunks/bundle-BrmSWqY4.js';
import '../../chunks/bundle-CyKcXwxv.js';
import '@sendbird/chat/groupChannel';
import '../../chunks/bundle-BCRvYX9G.js';
import '../../chunks/bundle-BUQ58hWb.js';
import '../../chunks/bundle-B43BrwWe.js';
import '../../chunks/bundle-vddg8rUR.js';
import '../../chunks/bundle-DV19ISeX.js';
import '@sendbird/uikit-tools';
import '../../withSendbird.js';
import '../../chunks/bundle-DIM08oup.js';
import '../../chunks/bundle-DCvGHvPz.js';
import '../../utils/message/getOutgoingMessageState.js';
import '../../chunks/bundle-BFKFmP-d.js';
import '../../chunks/bundle-DAYMi6vw.js';
import 'react-dom';
import '../../chunks/bundle-C_RTy-wB.js';
import '../../chunks/bundle-xzHlqm91.js';
import '../../chunks/bundle-yFfkfO0O.js';
import '../../ui/IconButton.js';
import '../../ui/Button.js';
import '../../chunks/bundle-bz4PqMYo.js';
import '../../ui/Icon.js';
import 'css-vars-ponyfill';
import '@sendbird/chat';
import '@sendbird/chat/openChannel';
import '../../chunks/bundle-CKwMZR9c.js';
import '../../useSendbirdStateContext.js';
import '../../chunks/bundle-Bien0gJP.js';
import '../../ui/SortByRow.js';
import '../../chunks/bundle-BjqLQ8NC.js';
import '../../CreateChannel.js';
import '../../CreateChannel/components/CreateChannelUI.js';
import '../../chunks/bundle-DCCHCDuH.js';
import '../../sendbirdSelectors.js';
import '../../CreateChannel/components/InviteUsers.js';
import '../../ui/UserListItem.js';
import '../../chunks/bundle-BUD_vgZ5.js';
import '../../ui/ImageRenderer.js';
import '../../chunks/bundle-Dmj05jBl.js';
import '../../ui/MutedAvatarOverlay.js';
import '../../ui/Checkbox.js';
import '../../ui/UserProfile.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: function (it) { return onChannelSelect === null || onChannelSelect === void 0 ? void 0 : onChannelSelect(it); } }));
};

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