import { J as s, a1 as r, bs as a, a2 as n } from "./index-CoRcfuX4.js";
const d = (e) => {
  const i = a.evm.isEvmProvider();
  return {
    oauth: {
      provider: n.OAUTH,
      text: "credenza auth",
      condition: e.some((o) => o !== "evm")
    },
    evm: {
      provider: n.EVM,
      text: "EVM",
      condition: e.includes("evm") && i
    }
  };
}, c = () => {
  const e = d(s(r).available_login_types);
  return Object.entries(e).filter(([o, t]) => t.condition !== void 0 ? t.condition : !0).map(([o, t]) => ({
    ...t
  }));
};
export {
  c as g
};
//# sourceMappingURL=authMethods.helper-DPXygidY.js.map
