import { UnexpectedWalletState } from '../core/utils/errors';
export var getInitialOnboardingLocation = function (state) {
    switch (state.kind) {
        case 'None':
            return '/selector';
        case 'Connecting':
            return {
                pathname: '/connectFlow/emoji',
                state: { name: state.wallet.name },
            };
        case 'Future':
        case 'Deploying':
            return '/create';
        case 'Deployed':
            throw new UnexpectedWalletState('Deployed');
    }
};
//# sourceMappingURL=getInitialOnboardingLocation.js.map