import{r as s,h as e,H as t}from"./p-e97fde0a.js";import{g as i}from"./p-108c5074.js";import{f as p}from"./p-ff10bfbf.js";import"./p-93127aa7.js";import"./p-03631502.js";import"./p-9dbc54d6.js";import"./p-f3141d53.js";import"./p-d3366af3.js";import"./p-401e165e.js";import"./p-830ab1a3.js";import"./p-ec182234.js";import"./p-3f6362a4.js";import"./p-95325ec5.js";import"./p-6ec14893.js";const r="sc-express-payment{display:block}";const o=r;const a=class{constructor(e){s(this,e);this.processor=undefined;this.dividerText=undefined;this.debug=undefined;this.hasPaymentOptions=undefined}onPaymentRequestLoaded(){this.hasPaymentOptions=true}renderStripePaymentRequest(){const{processor_data:s}=i("stripe")||{};return e("sc-stripe-payment-request",{debug:this.debug,stripeAccountId:s===null||s===void 0?void 0:s.account_id,publishableKey:s===null||s===void 0?void 0:s.publishable_key})}render(){return e(t,{key:"03d79ade65f62e194567328e2110be7685c833ce",class:{"is-empty":!this.hasPaymentOptions&&!this.debug}},this.renderStripePaymentRequest(),(this.hasPaymentOptions||this.debug)&&e("sc-divider",{key:"57d20315a41736e2bb259182052a9217c8bd82c4",style:{"--spacing":"calc(var(--sc-form-row-spacing)/2)"}},this.dividerText),!!p()&&e("sc-block-ui",{key:"1fca0a7a58721ae3ec8569744c609be941ef52e7"}))}};a.style=o;export{a as sc_express_payment};
//# sourceMappingURL=p-bc5dd1f7.entry.js.map