import{r as e,h as o,H as i}from"./p-e97fde0a.js";import"./p-acf63e23.js";import{s as d}from"./p-86fd1a31.js";import{c as a}from"./p-6e785215.js";import{t as c,p as s}from"./p-0df04773.js";import"./p-863940e9.js";import"./p-03631502.js";import"./p-13f5e4e1.js";import"./p-3f6362a4.js";import"./p-ec182234.js";import"./p-9dbc54d6.js";import"./p-93127aa7.js";import"./p-830ab1a3.js";import"./p-401e165e.js";import"./p-6135d661.js";import"./p-d3366af3.js";import"./p-1f60f497.js";const t=":host{display:block}.confirm__icon{margin-bottom:var(--sc-spacing-medium);display:flex;justify-content:center}.confirm__icon-container{background:var(--sc-color-primary-500);width:55px;height:55px;border-radius:999999px;display:flex;align-items:center;justify-content:center;font-size:26px;line-height:1;color:white}";const n=t;const r=class{constructor(o){e(this,o)}componentWillLoad(){c();s()}render(){var e,c,s,t,n,r,l,p,f;const b=(e=d.checkout)===null||e===void 0?void 0:e.manual_payment_method;return o(i,{key:"e0bd7fae3712d03728032918e6181057d4d3d1b0"},o("slot",{key:"5b2e3a3418ec43ee9d6eaaf81ed5e7769f1ab3ea"}),a()&&o("sc-block-ui",{key:"55eabf65db2d383f824e809c92eb510041b69ab9",style:{"z-index":"30","--sc-block-ui-position":"fixed"}}),o("sc-dialog",{key:"e67185f02d31cd37f8846b2f6ed2719b1f34ce4d",open:d.loading==="complete",style:{"--body-spacing":"var(--sc-spacing-xxx-large)"},noHeader:true,onScRequestClose:e=>e.preventDefault()},o("div",{key:"923a7b386af088712fc46ae7edab8bc36d95214d",class:"confirm__icon"},o("div",{key:"77e7db08c7ca8e9d014afa1e63faeaab3588c295",class:"confirm__icon-container"},o("sc-icon",{key:"cda8b7a13bae75bbbdd3d15d8d4cffbfc9ca1a42",name:"check"}))),o("sc-dashboard-module",{key:"84e9fc75822805427a0defb80b2cc21c9230591d",heading:((s=(c=d===null||d===void 0?void 0:d.text)===null||c===void 0?void 0:c.success)===null||s===void 0?void 0:s.title)||wp.i18n.__("Thank you!","surecart"),style:{"--sc-dashboard-module-spacing":"var(--sc-spacing-x-large)",textAlign:"center"}},o("span",{key:"521bad972d87e95191a2b2ccf5d4fa87aadbf6a2",slot:"description"},((n=(t=d===null||d===void 0?void 0:d.text)===null||t===void 0?void 0:t.success)===null||n===void 0?void 0:n.description)||wp.i18n.__("Your purchase was successful. A receipt is on its way to your inbox.","surecart")),!!(b===null||b===void 0?void 0:b.name)&&!!(b===null||b===void 0?void 0:b.instructions)&&o("sc-alert",{key:"ac3e953b0d02566e8ef99fe9eb223247e813f08f",type:"info",open:true,style:{"text-align":"left"}},o("span",{key:"22f5bd4fe83fb3aa7fd5f1846cad7134f629793a",slot:"title"},b===null||b===void 0?void 0:b.name),o("div",{key:"4ac526b8a096d8634f4c132dd310dd94be38c2ba",innerHTML:b===null||b===void 0?void 0:b.instructions})),o("sc-button",{key:"285c4c49700ac269cccc3e025537219293d5ce61",href:(l=(r=window===null||window===void 0?void 0:window.scData)===null||r===void 0?void 0:r.pages)===null||l===void 0?void 0:l.dashboard,size:"large",type:"primary",autofocus:true},((f=(p=d===null||d===void 0?void 0:d.text)===null||p===void 0?void 0:p.success)===null||f===void 0?void 0:f.button)||wp.i18n.__("Continue","surecart"),o("sc-icon",{key:"79d3d417f5e1c3aeec68461e29a918b18907a988",name:"arrow-right",slot:"suffix"})))))}};r.style=n;export{r as sc_upsell};
//# sourceMappingURL=p-e087e4b7.entry.js.map