import { __assign } from '../../../../node_modules/tslib/tslib.es6.js';
import { navigationEventCategory } from '../../../../types/tracking.js';

var sellLinkConfig = function (_a) {
    var trackEvent = _a.trackEvent;
    return {
        translationKey: 'header.sell',
        showUnderMoreLinkBelow: 'sm',
        onClick: function () {
            return trackEvent === null || trackEvent === void 0 ? void 0 : trackEvent({
                eventCategory: navigationEventCategory,
                eventAction: 'sell',
            });
        },
    };
};
var privateAutoScoutSellLinkConfig = function (_a) {
    var trackEvent = _a.trackEvent;
    return __assign(__assign({}, sellLinkConfig({ trackEvent: trackEvent })), { projectIdentifier: 'seller-web', link: {
            de: '/de/sell',
            en: '/en/sell',
            fr: '/fr/sell',
            it: '/it/sell',
        }, visibilitySettings: {
            userType: {
                private: true,
                professional: false,
            },
            brand: {
                autoscout24: true,
                motoscout24: false,
            },
        } });
};
var professionalSellLinkConfig = function (_a) {
    var trackEvent = _a.trackEvent;
    return __assign(__assign({}, sellLinkConfig({ trackEvent: trackEvent })), { projectIdentifier: 'seller-web', link: {
            de: '/de/insertion/identify',
            en: '/en/insertion/identify',
            fr: '/fr/insertion/identify',
            it: '/it/insertion/identify',
        }, visibilitySettings: {
            userType: {
                guest: false,
                private: false,
                professional: true,
            },
            brand: {
                autoscout24: true,
                motoscout24: true,
            },
        } });
};
var privateMotoScoutSellLinkConfig = function (_a) {
    var trackEvent = _a.trackEvent;
    return __assign(__assign({ projectIdentifier: 'seller-web' }, sellLinkConfig({ trackEvent: trackEvent })), { link: {
            de: '/de/insertion/identify',
            en: '/en/insertion/identify',
            fr: '/fr/insertion/identify',
            it: '/it/insertion/identify',
        }, visibilitySettings: {
            userType: {
                private: true,
                professional: false,
            },
            brand: {
                autoscout24: false,
                motoscout24: true,
            },
        } });
};
var insertionLinkConfig = {
    translationKey: 'header.userMenu.createAd',
    projectIdentifier: 'seller-web',
    link: {
        de: '/de/insertion/identify',
        en: '/en/insertion/identify',
        fr: '/fr/insertion/identify',
        it: '/it/insertion/identify',
    },
    visibilitySettings: {
        userType: {
            private: true,
            professional: true,
        },
        brand: {
            autoscout24: true,
            motoscout24: true,
        },
    },
};

export { insertionLinkConfig, privateAutoScoutSellLinkConfig, privateMotoScoutSellLinkConfig, professionalSellLinkConfig };
//# sourceMappingURL=sell.js.map
