{"version":3,"sources":["../../../../src/lib/i18n/use-locale.ts"],"sourcesContent":["import { useIntl } from \"./intl-context.js\";\n\n/**\n * Hook to get the current locale.\n * Returns the locale from IntlContext if available, otherwise falls back to \"en-US\".\n */\nexport function useLocale(): string {\n  const intl = useIntl();\n  return intl?.locale ?? \"en-US\";\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,0BAAwB;AAMjB,SAAS,YAAoB;AAClC,QAAM,WAAO,6BAAQ;AACrB,SAAO,MAAM,UAAU;AACzB;","names":[]}