const require_validate = require("./validate.cjs");
//#region src/utils/uuid/version.ts
function version(uuid) {
	if (!require_validate.default(uuid)) throw TypeError("Invalid UUID");
	return parseInt(uuid.slice(14, 15), 16);
}
//#endregion
exports.default = version;

//# sourceMappingURL=version.cjs.map