"use client";
//#region packages/@mantine/core/src/components/Slider/utils/get-position/get-position.ts
function getPosition({ value, min, max }) {
	const position = (value - min) / (max - min) * 100;
	return Math.min(Math.max(position, 0), 100);
}
//#endregion
exports.getPosition = getPosition;

//# sourceMappingURL=get-position.cjs.map