//#region src/layout/getRatio.js
const getRatio = (ratio) => {
	if (ratio === "1:1") return [1, 1];
	else if (ratio === "1:2") return [2, 1];
	else if (ratio === "16:9") return [9, 16];
	else if (ratio === "3:2") return [2, 3];
	else if (ratio === "4:3") return [3, 4];
	else return [1, 1];
};
//#endregion
export { getRatio };

//# sourceMappingURL=getRatio.mjs.map