Next.js website for Rocky Mountain Vending company featuring: - Product catalog with Stripe integration - Service areas and parts pages - Admin dashboard with Clerk authentication - SEO optimized pages with JSON-LD structured data Co-authored-by: Cursor <cursoragent@cursor.com>
9 lines
599 B
Text
9 lines
599 B
Text
import { CanonicalizeLocaleList } from './abstract/CanonicalizeLocaleList';
|
|
import { ResolveLocale } from './abstract/ResolveLocale';
|
|
export function match(requestedLocales, availableLocales, defaultLocale, opts) {
|
|
return ResolveLocale(availableLocales, CanonicalizeLocaleList(requestedLocales), {
|
|
localeMatcher: (opts === null || opts === void 0 ? void 0 : opts.algorithm) || 'best fit',
|
|
}, [], {}, function () { return defaultLocale; }).locale;
|
|
}
|
|
export { LookupSupportedLocales } from './abstract/LookupSupportedLocales';
|
|
export { ResolveLocale } from './abstract/ResolveLocale';
|