import { createSelector } from 'reselect';
import { i as initialState } from './TopicsListComponent-92ad524f.js';

/**
 * The global state selectors
 */

const selectGlobal = state => state.global || initialState;

const makeSelectLoading = () => createSelector(selectGlobal, globalState => globalState.loading);

const makeSelectError = () => createSelector(selectGlobal, globalState => globalState.error);

const makeSelectRepos = () => createSelector(selectGlobal, globalState => globalState.userData.repositories);

const makeSelectSignedInUser = () => createSelector(selectGlobal, globalState => globalState.signedInUser);

export { makeSelectRepos as a, makeSelectLoading as b, makeSelectError as c, makeSelectSignedInUser as m };
//# sourceMappingURL=selectors-1dc37053.js.map
