{t('inertia.title')} · {inertiaLevel(unit.inertia)}

{t('inertia.explain')}

{#each unit.inertiaChanges as c (c.at + c.to)}

{t(`inertia.history.${c.cause}`, { from: level(c.from), to: level(c.to), date: i18n.date(c.at) })}

{/each} {#each open as ip (ip.id)} {/each}
{t('inertia.change')}
{#each INERTIA_LEVELS as k (k)} {/each}

{t('inertia.change.note', { level: inertiaLevel(unit.inertia) })}

{#if error}{/if}