Constexport const EU_COUNTRY_CODES: ReadonlySet<string> = new Set([
'AT',
'BE',
'BG',
'HR',
'CY',
'CZ',
'DK',
'EE',
'FI',
'FR',
'DE',
'GR',
'HU',
'IE',
'IT',
'LV',
'LT',
'LU',
'MT',
'NL',
'PL',
'PT',
'RO',
'SK',
'SI',
'ES',
'SE',
]);
ISO 3166-1 alpha-2 codes of the 27 EU member states.
country-list-jsexposes geographic continent, not EU membership, so this legally-defined set is hardcoded. Used to evaluate "EU-only" purchase restrictions: a user whose location is not in this set cannot buy an EU-only product.