import{r as e,h as s,H as t}from"./p-9add63ef.js";import{g as i}from"./p-ed1ab66f.js";import{f as p}from"./p-b51de06c.js";import"./p-fb28f84f.js";import"./p-2b28ea49.js";import"./p-dd24e53c.js";import"./p-1282ed4a.js";import"./p-d3366af3.js";import"./p-401e165e.js";import"./p-830ab1a3.js";import"./p-ec182234.js";import"./p-3f6362a4.js";import"./p-31faf2b8.js";import"./p-610295e2.js";import"./p-49fdface.js";const r="sc-express-payment{display:block}";const a=r;const o=class{constructor(s){e(this,s);this.processor=undefined;this.dividerText=undefined;this.debug=undefined;this.hasPaymentOptions=undefined}onPaymentRequestLoaded(){this.hasPaymentOptions=true}renderStripePaymentRequest(){const{processor_data:e}=i("stripe")||{};return s("sc-stripe-payment-request",{debug:this.debug,stripeAccountId:e===null||e===void 0?void 0:e.account_id,publishableKey:e===null||e===void 0?void 0:e.publishable_key})}render(){return s(t,{key:"03d79ade65f62e194567328e2110be7685c833ce",class:{"is-empty":!this.hasPaymentOptions&&!this.debug}},this.renderStripePaymentRequest(),(this.hasPaymentOptions||this.debug)&&s("sc-divider",{key:"57d20315a41736e2bb259182052a9217c8bd82c4",style:{"--spacing":"calc(var(--sc-form-row-spacing)/2)"}},this.dividerText),!!p()&&s("sc-block-ui",{key:"1fca0a7a58721ae3ec8569744c609be941ef52e7"}))}};o.style=a;export{o as sc_express_payment};
//# sourceMappingURL=p-79ecb100.entry.js.map