"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});

var _lazyLoader = require("../../../components/lazy-loader");
module.exports = (0, _lazyLoader.createLazyComponent)(async () => {
  const [stripeReact, stripe] = await Promise.all([Promise.resolve().then(() => require("@stripe/react-stripe-js")), Promise.resolve().then(() => require("@stripe/stripe-js"))]);
  window.__STRIPE_COMPONENTS__ = {
    Elements: stripeReact.Elements,
    PaymentElement: stripeReact.PaymentElement,
    useElements: stripeReact.useElements,
    useStripe: stripeReact.useStripe,
    loadStripe: stripe.loadStripe,
    LinkAuthenticationElement: stripeReact.LinkAuthenticationElement
  };
  const {
    default: Component
  } = await Promise.resolve().then(() => require("./form"));
  return Component;
});