import{a as d,_ as l}from"./WebContentListNew-C8w4ZET6.mjs";import{o as n,b as s}from"./CmnEfQIC.js";import"./WebContentItem-Bh5Wo4hP.mjs";import"./WebImage-C1Tp4muM.mjs";import"./nuxt-link-BEs8tQ-R.mjs";import"./useImageUrl-1XbeiwSF.mjs";const f={__name:"RelatedContentBlock",props:{data:{type:Object,required:!0,default:()=>{}},settings:{type:Object,required:!0,validator(e){return["numberOfColumns","showSummary","hidePrimarySection","hidePublishedDate","smallerTitleFontSize","imagePosition"].every(t=>t in e)}},page:{type:Object,required:!0,validator(e){return["pageData"].every(t=>t in e)}}},setup(e){const t=e;function i(){return t.page.pageData.type==="Company"?t.page.pageData.name??"":""}return(m,u)=>{var a;const o=d,r=l;return(a=m.$ss)!=null&&a.useNewDesign?(n(),s(o,{key:0,"number-of-columns":e.settings.numberOfColumns,"image-position":e.settings.imagePosition,"teaser-display":e.settings.teaserDisplay??e.settings.showSummary===!1?"none":"truncated","hide-published-date":e.settings.hidePublishedDate,"hide-primary-section-and-label":e.settings.hidePrimarySectionAndLabel??e.settings.hidePrimarySection,"page-company-name":i(),data:e.data,"native-type":"list"},null,8,["number-of-columns","image-position","teaser-display","hide-published-date","hide-primary-section-and-label","page-company-name","data"])):(n(),s(r,{key:1,"number-of-columns":e.settings.numberOfColumns,"show-summary":e.settings.showSummary,"hide-primary-section":e.settings.hidePrimarySection,"hide-published-date":e.settings.hidePublishedDate,"smaller-title-font-size":e.settings.smallerTitleFontSize,"image-position":e.settings.imagePosition,data:e.data,"page-company-name":i(),"native-ad-slot-index":e.settings.nativeXAdSlotIndex??0,"native-type":"list"},null,8,["number-of-columns","show-summary","hide-primary-section","hide-published-date","smaller-title-font-size","image-position","data","page-company-name","native-ad-slot-index"]))}}};export{f as default};