import { messages } from "../canvas/locales/de.js";
import { messages as en_js_messages } from "../canvas/locales/en.js";
import { messages as es_js_messages } from "../canvas/locales/es.js";
import { messages as es_MX_js_messages } from "../canvas/locales/es-MX.js";
import { messages as fr_js_messages } from "../canvas/locales/fr.js";
import { messages as ja_js_messages } from "../canvas/locales/ja.js";
import { messages as ko_js_messages } from "../canvas/locales/ko.js";
import { messages as pt_js_messages } from "../canvas/locales/pt.js";
import { messages as pt_BR_js_messages } from "../canvas/locales/pt-BR.js";
import { messages as ru_js_messages } from "../canvas/locales/ru.js";
import { messages as tr_js_messages } from "../canvas/locales/tr.js";
import { messages as zh_CN_js_messages } from "../canvas/locales/zh-CN.js";
import { messages as zh_TW_js_messages } from "../canvas/locales/zh-TW.js";
import { messages as de_js_messages } from "../material/components/ap-chat/locales/de.js";
import { messages as locales_en_js_messages } from "../material/components/ap-chat/locales/en.js";
import { messages as locales_es_js_messages } from "../material/components/ap-chat/locales/es.js";
import { messages as locales_es_MX_js_messages } from "../material/components/ap-chat/locales/es-MX.js";
import { messages as locales_fr_js_messages } from "../material/components/ap-chat/locales/fr.js";
import { messages as locales_ja_js_messages } from "../material/components/ap-chat/locales/ja.js";
import { messages as locales_ko_js_messages } from "../material/components/ap-chat/locales/ko.js";
import { messages as locales_pt_js_messages } from "../material/components/ap-chat/locales/pt.js";
import { messages as locales_pt_BR_js_messages } from "../material/components/ap-chat/locales/pt-BR.js";
import { messages as locales_ru_js_messages } from "../material/components/ap-chat/locales/ru.js";
import { messages as locales_tr_js_messages } from "../material/components/ap-chat/locales/tr.js";
import { messages as locales_zh_CN_js_messages } from "../material/components/ap-chat/locales/zh-CN.js";
import { messages as locales_zh_TW_js_messages } from "../material/components/ap-chat/locales/zh-TW.js";
import { messages as locales_de_js_messages } from "../material/components/ap-tool-call/locales/de.js";
import { messages as ap_tool_call_locales_en_js_messages } from "../material/components/ap-tool-call/locales/en.js";
import { messages as ap_tool_call_locales_es_js_messages } from "../material/components/ap-tool-call/locales/es.js";
import { messages as ap_tool_call_locales_es_MX_js_messages } from "../material/components/ap-tool-call/locales/es-MX.js";
import { messages as ap_tool_call_locales_fr_js_messages } from "../material/components/ap-tool-call/locales/fr.js";
import { messages as ap_tool_call_locales_ja_js_messages } from "../material/components/ap-tool-call/locales/ja.js";
import { messages as ap_tool_call_locales_ko_js_messages } from "../material/components/ap-tool-call/locales/ko.js";
import { messages as ap_tool_call_locales_pt_js_messages } from "../material/components/ap-tool-call/locales/pt.js";
import { messages as ap_tool_call_locales_pt_BR_js_messages } from "../material/components/ap-tool-call/locales/pt-BR.js";
import { messages as ap_tool_call_locales_ru_js_messages } from "../material/components/ap-tool-call/locales/ru.js";
import { messages as ap_tool_call_locales_tr_js_messages } from "../material/components/ap-tool-call/locales/tr.js";
import { messages as ap_tool_call_locales_zh_CN_js_messages } from "../material/components/ap-tool-call/locales/zh-CN.js";
import { messages as ap_tool_call_locales_zh_TW_js_messages } from "../material/components/ap-tool-call/locales/zh-TW.js";
const localeRegistry = {
    'material/components/ap-chat': {
        en: locales_en_js_messages,
        es: locales_es_js_messages,
        pt: locales_pt_js_messages,
        de: de_js_messages,
        fr: locales_fr_js_messages,
        ja: locales_ja_js_messages,
        ko: locales_ko_js_messages,
        ru: locales_ru_js_messages,
        tr: locales_tr_js_messages,
        'zh-CN': locales_zh_CN_js_messages,
        'zh-TW': locales_zh_TW_js_messages,
        'pt-BR': locales_pt_BR_js_messages,
        'es-MX': locales_es_MX_js_messages
    },
    'material/components/ap-tool-call': {
        en: ap_tool_call_locales_en_js_messages,
        es: ap_tool_call_locales_es_js_messages,
        pt: ap_tool_call_locales_pt_js_messages,
        de: locales_de_js_messages,
        fr: ap_tool_call_locales_fr_js_messages,
        ja: ap_tool_call_locales_ja_js_messages,
        ko: ap_tool_call_locales_ko_js_messages,
        ru: ap_tool_call_locales_ru_js_messages,
        tr: ap_tool_call_locales_tr_js_messages,
        'zh-CN': ap_tool_call_locales_zh_CN_js_messages,
        'zh-TW': ap_tool_call_locales_zh_TW_js_messages,
        'pt-BR': ap_tool_call_locales_pt_BR_js_messages,
        'es-MX': ap_tool_call_locales_es_MX_js_messages
    },
    canvas: {
        en: en_js_messages,
        es: es_js_messages,
        pt: pt_js_messages,
        de: messages,
        fr: fr_js_messages,
        ja: ja_js_messages,
        ko: ko_js_messages,
        ru: ru_js_messages,
        tr: tr_js_messages,
        'zh-CN': zh_CN_js_messages,
        'zh-TW': zh_TW_js_messages,
        'pt-BR': pt_BR_js_messages,
        'es-MX': es_MX_js_messages
    }
};
function getPreImportedMessages(component, locale) {
    const componentLocales = localeRegistry[component];
    if (!componentLocales) return;
    return componentLocales[locale];
}
function getAllPreImportedLocales(component) {
    return localeRegistry[component];
}
export { getAllPreImportedLocales, getPreImportedMessages };
