import { Logger as e } from "../../error-handling/logger.mjs";
import { generateZkProofEnclave as t } from "./generateZkProofEnclave.mjs";
import { generateZkProofSelf as n } from "./generateZkProofSelf.mjs";
//#region libs/shared/common/src/functions/snarkjs/generateZkProof.ts
var r = async (r, i, a, o) => {
	if (o) try {
		return await t(r, i, a);
	} catch (t) {
		e.error("enclave proof error", t);
	}
	return n(r, i, a);
};
//#endregion
export { r as generateZkProof };
