import{_ as f,H as m,i as p,G as h,k as y,r as i,o,a as s,w as c,l,p as b,q as r,b as C}from"./main-DtyiNRRn.js";import{C as S}from"./CountrySelectionListFi-CsPthnDQ.js";import"./fieldTransformations-DY2-qceq.js";const D={name:"CountrySelectionFi",components:{HeadlineFi:m,ComponentWrapper:p,GridContainerFi:h,CountrySelectionListFi:S},mixins:[y],props:{fields:{type:Object,default:()=>({})},customData:{type:Object,default:()=>({})}},data(){return{localCustomData:null,data:{},showOnlyCountriesWithLocalization:!1}},computed:{title(){return this.$dict.get("global-Labels.Country-Selection.Title")},subtitle(){return this.$dict.get("global-Labels.Country-Selection.Subtitle")},description(){return this.$dict.get("global-Labels.Country-Selection.Description")},setTitleFontSize(){return this.isMD?30:this.isSM?24:21},setHeadlineFontSize(){return this.isMD?60:36},cData(){return this.customData},breadcrumbData(){var n;let e=[];return(n=this.cData)!=null&&n.breadcrumb&&(e=this.cData.breadcrumb),e}},created(){this.localData(),this.$store.commit("navigation/IS_COUNTRY_SELECT_PAGE",!0)},methods:{async localData(){},countryUrl(e,n){return n?`${e}/${n.toLowerCase()}`:e},scrollToContinents(){this.$smoothScroll({scrollTo:this.$refs.continents.$el,duration:500,updateHistory:!1,offset:-80})}}},g={class:"fi-col-span-12 country-selection-fi__header"},z=["innerHTML"];function F(e,n,L,T,k,t){const a=i("headline-fi"),u=i("grid-container-fi"),_=i("country-selection-list-fi"),d=i("component-wrapper");return o(),s(d,{class:"country-selection-fi"},{default:c(()=>[l(u,{container:!1},{default:c(()=>[b("div",g,[t.title?(o(),s(a,{key:0,size:t.setTitleFontSize,class:"country-selection-fi__title",tag:"div",color:"brand","html-content":t.title},null,8,["size","html-content"])):r("",!0),t.subtitle?(o(),s(a,{key:1,size:t.setHeadlineFontSize,class:"country-selection-fi__subtitle",tag:"h1","html-content":t.subtitle},null,8,["size","html-content"])):r("",!0),t.description?(o(),C("p",{key:2,class:"country-selection-fi__description",innerHTML:t.description},null,8,z)):r("",!0)])]),_:1}),l(_,{ref:"continents"},null,512)]),_:1})}const x=f(D,[["render",F]]);export{x as default};