import{$ as e}from"./Fade-Bj1YUcWe.js";import{n as t,r as n,t as r}from"./PostListMagazine-BAreDZua.js";import{t as i}from"./uiStore-CMCILUt0.js";var a=e();function o({posts:e}){let{postLayout:o}=i();switch(o){case`list`:return(0,a.jsx)(t,{posts:e});case`magazine`:return(0,a.jsx)(r,{posts:e});default:return(0,a.jsx)(n,{posts:e})}}export{o as t};