{"version":3,"file":"keys-TjlLYNQE.mjs","names":[],"sources":["../src/components/composable/keys.ts"],"sourcesContent":["import { InjectionKey } from \"vue\";\nimport { loadLocaleMessages } from \"../../i18n\";\n\n/**\n * Verifies a recaptcha token server-side. The consuming app provides its own\n * implementation via `app.provide(CHECK_TOKEN_KEY, ...)`; defaults to\n * always-verified so RecaptchaModal degrades gracefully when unregistered.\n */\nexport const CHECK_TOKEN_KEY: InjectionKey<(token: string) => Promise<boolean>> = Symbol(\"checkToken\");\n\n/**\n * Loads/merges i18n locale messages for a given locale. The consuming app\n * can provide a richer implementation (e.g. merging its own locale bundles)\n * via `app.provide(LOAD_LOCALE_MESSAGES_KEY, ...)`; defaults to the SDK's\n * own base-translations loader.\n */\nexport const LOAD_LOCALE_MESSAGES_KEY: InjectionKey<typeof loadLocaleMessages> = Symbol(\"loadLocaleMessages\");\n"],"mappings":";;;;;;AAQA,IAAa,kBAAqE,OAAO,YAAY;;;;;;;AAQrG,IAAa,2BAAoE,OAAO,oBAAoB"}