import{r as e,h as o,H as i}from"./p-e97fde0a.js";import"./p-5a8e136a.js";import{s as a}from"./p-86fd1a31.js";import{a as c}from"./p-fd1598d9.js";import{t as d,p as s}from"./p-bc8d627e.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-dd3464cd.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(){d();s()}render(){var e,d,s,t,n,r,l,f,p;const b=(e=a.checkout)===null||e===void 0?void 0:e.manual_payment_method;return o(i,{key:"20bce298c7b9408c722334096903abb9cb59229d"},o("slot",{key:"fa9cacb7af0ae3120afbd7f289df7f8f539d00af"}),c()&&o("sc-block-ui",{key:"02d6413900e28b4b31e1fd1f3ca361e193963b65",style:{"z-index":"30","--sc-block-ui-position":"fixed"}}),o("sc-dialog",{key:"d1050d52b2635ed0ec48c4cb03319f9516996604",open:a.loading==="complete",style:{"--body-spacing":"var(--sc-spacing-xxx-large)"},noHeader:true,onScRequestClose:e=>e.preventDefault()},o("div",{key:"d950bd5caa790b421a4bd9b44a842f96af1ffa4f",class:"confirm__icon"},o("div",{key:"fb53fc6bfc865c18be6a81498ba6c5eaf9048aaf",class:"confirm__icon-container"},o("sc-icon",{key:"cd81a2a7b9b76e63233d2c64f51e9540fa65c39b",name:"check"}))),o("sc-dashboard-module",{key:"f0347549bc1c94a5ec5d5e84f0aca02f73db366f",heading:((s=(d=a===null||a===void 0?void 0:a.text)===null||d===void 0?void 0:d.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:"c71a0eed59d771a96081f0f5dbe565b73f65b347",slot:"description"},((n=(t=a===null||a===void 0?void 0:a.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:"6ac05dbc57c36b4237067b6f825b81e3d7daec5c",type:"info",open:true,style:{"text-align":"left"}},o("span",{key:"c4da44791c31c54f7553f98833ea54e9c51e3726",slot:"title"},b===null||b===void 0?void 0:b.name),o("div",{key:"aa7ffb085176b05b704b3e7cc8882bf99d507ae7",innerHTML:b===null||b===void 0?void 0:b.instructions})),o("sc-button",{key:"f0d51dc6ed1a7b41aecde1fe26b8d3337c4f8004",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},((p=(f=a===null||a===void 0?void 0:a.text)===null||f===void 0?void 0:f.success)===null||p===void 0?void 0:p.button)||wp.i18n.__("Continue","surecart"),o("sc-icon",{key:"12943ba8e153a0f9b535fa8f1e4079068f4aec53",name:"arrow-right",slot:"suffix"})))))}};r.style=n;export{r as sc_upsell};
//# sourceMappingURL=p-628321b5.entry.js.map