import re, sys
sys.stdout.reconfigure(encoding='utf-8')

content = """
const I18N_CATALOG = {
  vi: {
    char_name: "Lưu Đày",
    interaction_f_prompt: "[F] {name} - {service}",
    dodge: "NÉ"
  }
};
"""
m = re.search(r"\bvi\s*:\s*\{([^}]+)\}", content)
if m:
    print("Matched:", repr(m.group(1)))
    keys = re.findall(r"([a-zA-Z0-9_]+)\s*:\s*([\"`'])(.*?)\2", m.group(1))
    print("Keys:", [k[0] for k in keys])
else:
    print("No match")
