export const userAccountSideBarItems = {
    account: [
        {
            label: 'Profile',
            to: `/profile`,
            exact: true,
        },
        {
            label: 'Password',
            to: `/account`,
            exact: true,
            condition: ({ siteAdminViewingOtherUser, externalAuthEnabled }) => siteAdminViewingOtherUser && !externalAuthEnabled,
        },
        {
            label: 'Emails',
            to: `/emails`,
            exact: true,
        },
        {
            label: 'Access tokens',
            to: `/tokens`,
            condition: () => window.context.accessTokensAllow !== 'none',
        },
    ],
};
//# sourceMappingURL=sidebaritems.js.map