import { I as s, W as c, bv as i } from "./index-DRgrWhNH.js";
import { c as o, p } from "./Payment-DgTh_h7z.js";
const d = async (e, a) => {
  const t = s(c), n = i(t.clientId).name, r = t.stripe.pk[n] ?? t.stripe.pk.DEFAULT;
  return { assets: a, card_token: r.includes("pk_live") ? e : "tok_visa", client_id: t.clientId, payment_provider: "stripe", currency: "USD" };
}, D = async (e, a) => {
  const t = await d(e, a), n = await o(t);
  return await p(n);
};
export {
  D as processPayment
};
//# sourceMappingURL=Stripe.service-CogYS-eH.js.map
