import{d as s,c,F as r,f as e,n as a,q as o,t as l,P as d}from"./entry.4d7b4fe3.js";const m={class:"c-share-modal-success u-direction-based"},u=["innerHTML"],_={class:"text-body w-full >=960:w-7/12col mt-md s-rich-text"},h=["innerHTML"],x={class:"text-body w-full >=960:w-7/12col mt-md s-rich-text"},f=["textContent"],y={__name:"ShareModalFinal",props:{success_title:String,success_text:Array,direction:String,error:Object},setup(t){return(n,p)=>{const i=d;return s(),c("div",m,[t.error?(s(),c(r,{key:1},[e("h2",{class:a(["font-gt-america-extended font-medium","text-h1 uppercase -mt-2xs"]),innerHTML:n.$t("error-occured").replaceAll("\\n","<br />")},null,8,h),e("div",x,[e("div",{textContent:l(n.$t("try-again-later"))},null,8,f)])],64)):(s(),c(r,{key:0},[e("h2",{class:a(["font-gt-america-extended font-medium","text-h1 uppercase -mt-2xs"]),innerHTML:t.success_title.replaceAll("\\n","<br />")},null,8,u),e("div",_,[o(i,{field:t.success_text},null,8,["field"])])],64))])}}};export{y as default};