Module 783327

446 characters · in 9f09c69cd3acfa87.js
Dependencies
Lazily required by (0)none
Lazily requires (0)none
Source Raw
function(e,a,t){t.d(a,{R:()=>u,S:()=>o});var l=t(477900),n=t(582128),r=t(643909),s=t(87952),i=t(652215);let c=n.createContext("unset_context");function o(){let e=n.useContext(c);if("unset_context"===e)throw Error("useCheckoutStripeInstance must be used within a CheckoutStripeProvider");return e}function u(e){let{children:a}=e,t=(0,s.A)();return(0,l.jsx)(c.Provider,{value:t,children:(0,l.jsx)(r.Elements,{options:i.XL8,stripe:t,children:a})})}}