import{d as k,I as T,K as d,o as t,M as s,x as h,O as u,J as m,S as l,T as i,Q as r,f,aq as v,N as w,L as _,ai as ,ドル_ as L}from"#entry";import{t as S}from"./toKebabCase.a1lkhjnG.js";(function(){try{var a=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalthis:typeof self<"u"?self:{};a.sentry_release={id:"4bbb4b5fe68fb3159f45c03fd09d95c350c4ec57"}}catch{}})();try{(function(){var a=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalthis:typeof self<"u"?self:{},o=new a.Error().stack;o&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[o]="10a9b26c-b2b5-495a-a967-76f8d1e227e1",a._sentryDebugIdIdentifier="sentry-dbid-10a9b26c-b2b5-495a-a967-76f8d1e227e1")})()}catch{}const N={class:"recent-posts"},E={class:"cards"},x=["href","data-ga-name"],D=["href","data-ga-name"],B=k({__name:"Categories",props:{groupedPosts:{}},setup(a){const{t:o,locale:b}=T(),y=b.value==="en-us"?"":`/${b.value}`;return(g,K)=>{const c=h("SlpTypography"),C=,ドルI=h("SlpContainer");return t(),d(I,null,{default:s(()=>[u("div",N,[m(c,{variant:"heading2-bold",tag:"h2",class:"slp-mb-32"},{default:s(()=>[l(i(r(o)("blog.homepage.categoryPosts.header")),1)]),_:1}),u("div",E,[(t(!0),f(w,null,v(g.groupedPosts,n=>(t(),f("div",{key:n.category,class:"card"},[u("a",{href:`${r(y)}/blog/categories/${("toKebabCase"in g?g.toKebabCase:r(S))(n.slug)}/`,"data-ga-name":n.category.toLowerCase(),"data-ga-location":"category-header"},[m(c,{tag:"span",variant:"body1"},{default:s(()=>[l(i(r(o)(`blog.categories.${n.slug.toLowerCase()}`)),1)]),_:2},1024)],8,x),(t(!0),f(w,null,v(n.posts,(e,p)=>(t(),f("a",{key:e.content.title,class:"section",href:e.config.externalUrl||`${r(y)}/blog/${e.config.slug}/`,"data-ga-name":`${n.category.toLowerCase()} - ${e.content.title.toLowerCase()}`,"data-ga-location":"category-post"},[!p&&e.content.heroImage?(t(),d(C,{key:0,loading:"lazy",src:e.content.heroImage,alt:"",provider:"cloudinary"},null,8,["src"])):_("",!0),e.content.title?(t(),d(c,{key:1,variant:"heading5-bold",tag:"h3"},{default:s(()=>[l(i(e.content.title),1)]),_:2},1024)):_("",!0),!p&&e.content.description?(t(),d(c,{key:2,variant:"body1",tag:"p"},{default:s(()=>[l(i(e.content.description),1)]),_:2},1024)):_("",!0)],8,D))),128))]))),128))])])]),_:1})}}}),R=L(B,[["__scopeId","data-v-edf0adae"]]);export{R as default};