//#region src/rtl.ts
const RTL = /* @__PURE__ */ new Set([
	"he",
	"ar",
	"fa",
	"ur",
	"yi",
	"dv"
]);
function isRtl(locale) {
	return RTL.has(locale.split("-")[0]);
}
function dir(locale) {
	return isRtl(locale) ? "rtl" : "ltr";
}
//#endregion
export { dir, isRtl };
