import { replaceLanguage } from '../replaceLanguage.js';

var switchToGermanLinkConfig = function (_a) {
    var currentLanguage = _a.currentLanguage;
    return ({
        title: 'Deutsch',
        onClick: function () {
            return replaceLanguage({
                activeLanguage: currentLanguage,
                newLanguage: 'de',
            });
        },
        visibilitySettings: {
            userType: {
                private: true,
                professional: true,
            },
            brand: {
                autoscout24: true,
                motoscout24: true,
            },
        },
    });
};
var switchToFrenchLinkConfig = function (_a) {
    var currentLanguage = _a.currentLanguage;
    return ({
        title: 'Français',
        onClick: function () {
            return replaceLanguage({
                activeLanguage: currentLanguage,
                newLanguage: 'fr',
            });
        },
        visibilitySettings: {
            userType: {
                private: true,
                professional: true,
            },
            brand: {
                autoscout24: true,
                motoscout24: true,
            },
        },
    });
};
var switchToItalianLinkConfig = function (_a) {
    var currentLanguage = _a.currentLanguage;
    return ({
        title: 'Italiano',
        onClick: function () {
            return replaceLanguage({
                activeLanguage: currentLanguage,
                newLanguage: 'it',
            });
        },
        visibilitySettings: {
            userType: {
                private: true,
                professional: true,
            },
            brand: {
                autoscout24: true,
                motoscout24: true,
            },
        },
    });
};
var switchToEnglishLinkConfig = function (_a) {
    var currentLanguage = _a.currentLanguage;
    return ({
        title: 'English',
        isNew: true,
        onClick: function () {
            return replaceLanguage({
                activeLanguage: currentLanguage,
                newLanguage: 'en',
            });
        },
        visibilitySettings: {
            userType: {
                private: true,
                professional: true,
            },
            brand: {
                autoscout24: true,
                motoscout24: true,
            },
        },
    });
};

export { switchToEnglishLinkConfig, switchToFrenchLinkConfig, switchToGermanLinkConfig, switchToItalianLinkConfig };
//# sourceMappingURL=language.js.map
