import{a as c,_ as h}from"./WebContentListNew-C8w4ZET6.mjs";import{a7 as l,o as d,b as u,k as a}from"./CmnEfQIC.js";import"./WebContentItem-Bh5Wo4hP.mjs";import"./WebImage-C1Tp4muM.mjs";import"./nuxt-link-BEs8tQ-R.mjs";import"./useImageUrl-1XbeiwSF.mjs";const P={__name:"WebinarsBlock",props:{data:{type:Object,required:!0,default:()=>{}},settings:{type:Object,required:!0,validator(e){return["numberOfColumns","showSummary","hidePrimarySection","hidePublishedDate","imagePosition","injectNativeAd"].every(i=>i in e)}},page:{type:Object,required:!0,validator(e){return["pageData"].every(i=>i in e)}}},setup(e){const i=l("rowLayout"),n=l("columnIndex"),s=e;function m(){return s.page.pageData.type==="Company"?s.page.pageData.name??"":""}return(t,y)=>{var o;const g=c,r=h;return(o=t.$ss)!=null&&o.useNewDesign?(d(),u(g,{key:0,"load-first-image-non-lazy":a(i)<=1&&a(n)===0&&t.blockIndex===0,"image-shaping":e.settings.imageShaping??"crop","number-of-columns":e.settings.numberOfColumns,"show-summary":e.settings.showSummary,"hide-primary-section-and-label":e.settings.hidePrimarySection,"hide-published-date":e.settings.hidePublishedDate,"image-position":e.settings.imagePosition,"display-full-headlines":!!e.settings.displayFullHeadlines,"page-company-name":m(),"show-upcoming-indicator":!0,scale:e.settings.scale,"text-alignment":e.settings.textAlignment,data:e.data,"inject-native-ad":e.settings.injectNativeAd,"native-type":"list"},null,8,["load-first-image-non-lazy","image-shaping","number-of-columns","show-summary","hide-primary-section-and-label","hide-published-date","image-position","display-full-headlines","page-company-name","scale","text-alignment","data","inject-native-ad"])):(d(),u(r,{key:1,"load-first-image-non-lazy":a(i)<=1&&a(n)===0&&t.blockIndex===0,"image-shaping":e.settings.imageShaping??"crop","number-of-columns":e.settings.numberOfColumns,"show-summary":e.settings.showSummary,"hide-primary-section":e.settings.hidePrimarySection,"hide-published-date":e.settings.hidePublishedDate,"image-position":e.settings.imagePosition,"display-full-headlines":!!e.settings.displayFullHeadlines,"page-company-name":m(),"show-upcoming-indicator":!0,data:e.data,"inject-native-ad":e.settings.injectNativeAd,"native-type":"list"},null,8,["load-first-image-non-lazy","image-shaping","number-of-columns","show-summary","hide-primary-section","hide-published-date","image-position","display-full-headlines","page-company-name","data","inject-native-ad"]))}}};export{P as default};