import personalMenuTemplate from '!!raw-loader!../includes/templates/PersonalMenu.mustache';
import { htmluserlangattributes } from './utils';
/**
* @type {MenuDefinition}
*/
const loggedOut = {
id: 'p-personal',
class: '',
'label-id': 'p-personal-label',
label: 'Personal tools',
'html-userlangattributes': htmluserlangattributes,
'html-items': `'
Not logged inTalkContributionsCreate accountLog in`
};
/**
* @type {MenuDefinition}
*/
const loggedInWithEcho = {
id: 'p-personal',
'label-id': 'p-personal-label',
label: 'Personal tools',
'html-userlangattributes': htmluserlangattributes,
'html-items': `JdlrobsonAlerts (0)Notices (3)TalkSandboxPreferencesBetaWatchlistContributionsLog out`
};
const ULS_LANGUAGE_SELECTOR = 'English';
/**
* @type {MenuDefinition}
*/
const loggedInWithULS = {
id: 'p-personal',
'label-id': 'p-personal-label',
label: 'Personal tools',
'html-userlangattributes': htmluserlangattributes,
'html-items': `${ULS_LANGUAGE_SELECTOR}JdlrobsonAlerts (0)Notices (3)TalkSandboxPreferencesBetaWatchlistContributionsLog out`
};
/**
* @type {Object.}
*/
const PERSONAL_MENU_TEMPLATE_DATA = {
loggedOut,
loggedInWithEcho,
loggedInWithULS
};
export { PERSONAL_MENU_TEMPLATE_DATA, personalMenuTemplate };