+ {profileError && (
+
{profileError}
+ )}
+ {playerData.info.registrationDate && (
+
{`${t('Started current wipe')}: ${new Date(playerData.info.registrationDate * 1000).toLocaleString()}`}
+ )}
+ {playerData.info.bannedState && (
+
{t('Banned')}
+ )}
+ {totalSecondsInGame > 0 && (
+
{`${t('Total account time in game')}: ${(() => {
+ const { days, hours, minutes, seconds } = getDHMS(totalSecondsInGame);
+
+ return t('{{days}} days, {{hours}} h, {{minutes}} m, {{seconds}} s', {
+ days,
+ hours,
+ minutes,
+ seconds
+ });
+ })()}`}
+ )}
+
{t('Raid Stats')}
+ {Object.keys(playerData.pmcStats).length > 0 ?
+
+ :
{t('None')}
}
+
{t('Achievements')}
+ {Object.keys(playerData.achievements).length > 0 ?
+
+ :
{t('None')}
}
+
{t('Loadout')}
+ {playerData?.equipment?.Id !== undefined && (
+
}
+ defaultCollapseIcon={
}
+ defaultParentIcon={
***}
+ >
+ {getLoadoutContents(playerData.equipment.Items.find(i => i._id === playerData.equipment.Id))}
+
+ )}
+
{t('Skills')}
+ {playerData.skills?.Common?.length > 0 && (
+
+ )}
+
{t('Mastering')}
+ {playerData.skills?.Mastering?.length > 0 && (
+
+ {playerData.skills.Mastering.map(skillData => {
+ if (skillData.Progress <= 1) {
+ return false;
+ }
+ return (
+ - {`${t(skillData.Id)}: ${skillData.Progress}`}
+ );
+ }).filter(Boolean)}
+
+ )}
+