import{d as s,c as r,f as c,n as h,m as d,q as e,j as n,l as m,B as f,t as u,P as y,C as S}from"./entry.4d7b4fe3.js";import{S as x}from"./icon-arrow.f2baa589.js";const g={class:"c-share-modal-intro"},p={class:"flex flex-col u-direction-based"},w=["innerHTML"],k={key:1,class:h(["font-gt-america text-button","w-full >=960:w-5/12col mt-md","s-rich-text"])},B={class:"mt-xl flex flex-col gap-y-xs"},M={__name:"ShareModalIntro",props:{intro_title:String,intro_text:Array,direction:{type:String,default:"ltr"}},emits:["switch"],setup(t){return(i,o)=>{var l;const _=y,a=S;return s(),r("div",g,[c("div",p,[(l=t.intro_title)!=null&&l.length?(s(),r("h2",{key:0,class:h(["font-gt-america-extended font-medium","text-h1 uppercase -mt-2xs"]),innerHTML:t.intro_title.replaceAll("\\n","<br />")},null,8,w)):d("",!0),t.intro_text?(s(),r("div",k,[e(_,{field:t.intro_text},null,8,["field"])])):d("",!0),c("div",B,[e(a,{simple:"",direction:t.direction,onClick:o[0]||(o[0]=()=>i.$emit("switch","ShareModalSolidarity"))},{icon:n(()=>[e(m(x))]),default:n(()=>[f(u(i.$t("send-a-message-of-solidarity")),1)]),_:1},8,["direction"]),e(a,{simple:"",direction:t.direction,onClick:o[1]||(o[1]=()=>i.$emit("switch","ShareModalStory"))},{icon:n(()=>[e(m(x))]),default:n(()=>[f(u(i.$t("tell-your-story")),1)]),_:1},8,["direction"])])])])}}};export{M as default};