"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.localeStorage = void 0;
exports.getLocaleFromContext = getLocaleFromContext;
const async_hooks_1 = require("async_hooks");
exports.localeStorage = new async_hooks_1.AsyncLocalStorage();
function getLocaleFromContext() {
    const context = exports.localeStorage.getStore();
    return (context === null || context === void 0 ? void 0 : context.locale) || 'en';
}
//# sourceMappingURL=locale-context.js.map