import{a as m}from"/build/_shared/chunk-RCGAX7UR.js";import{a as l}from"/build/_shared/chunk-YP4O22HH.js";import{a as c}from"/build/_shared/chunk-NEIVIDQA.js";import{a as s}from"/build/_shared/chunk-KID4GLZA.js";import{L as i}from"/build/_shared/chunk-SJXV5VAW.js";import{e as a}from"/build/_shared/chunk-ADMCF34Z.js";var t=a(i()),o=(0,s.cn)("TopicList"),D=e=>{let{contents:n,pagination:g,newsletterSignUpPromo:d,breadcrumbs:p,title:u,variant:b,sidebarModules:h,logoImage:L,logoImageAltText:f,topicPrimaryModuleData:P,weatherWidget:v}=e,w=e.categories?.length,T=()=>w?"":e.categoryDesc,r={alt:f??"",src:L?.url,fallback:"brand"};return(0,t.jsx)("div",{"data-template":"topic-list",children:(0,t.jsx)(m,{head:(0,t.jsxs)("div",{className:o("Head"),children:[(0,t.jsx)(c,{className:o("Breadcrumbs"),crumbs:p}),(0,t.jsx)(l,{title:u,childCategories:e.categories,description:T(),logo:r,showTitleLogo:!!r.src,variant:b})]}),hasFeatureArticle:!0,hasLatestSmallArticle:!0,hasLatestBigArticle:!0,contents:n,pagination:g,newsletterSignUpPromo:{...d,className:o("NewsletterContent")},sidebarModules:h,topicPrimaryModuleData:P,weatherWidget:v})})};export{D as a};