e.stopPropagation()}>
{confirmAction.code.length === 2 ? (
}.png`})
) : (
{countryCodeToFlag(confirmAction.code)}
)}
{confirmAction.name}
{confirmAction.type === 'choose' && (
)}
{confirmAction.type === 'choose-region' && (
{confirmAction.countryName && (
{confirmAction.countryName}
)}
)}
{confirmAction.type === 'unmark' && (
<>
{t('atlas.confirmUnmark')}
>
)}
{confirmAction.type === 'unmark-region' && (
<>
{confirmAction.countryName && (
{confirmAction.countryName}
)}
{t('atlas.confirmUnmarkRegion')}
>
)}
{confirmAction.type === 'bucket' && (
<>
{t('atlas.bucketWhen')}
setBucketMonth(Number(v))}
placeholder={t('atlas.month')}
options={[
{ value: '0', label: '—' },
...Array.from({ length: 12 }, (_, i) => ({ value: String(i + 1), label: new Date(2000, i).toLocaleString(language, { month: 'long' }) })),
]}
size="sm"
/>
setBucketYear(Number(v))}
placeholder={t('atlas.year')}
options={[
{ value: '0', label: '—' },
...Array.from({ length: 20 }, (_, i) => ({ value: String(new Date().getFullYear() + i), label: String(new Date().getFullYear() + i) })),
]}
size="sm"
/>
>
)}
{confirmAction.type === 'mark' && (
<>
{t('atlas.confirmMark')}
>
)}