import{t as e}from"./ofetch-Dl6dVB_5.mjs";import{t}from"./parse-date-BdYTmLpo.mjs";import{t as n}from"./timezone-keeL11Io.mjs";const r=t=>e(t),i=e=>e.map(e=>{let{id:r,title:i,content:a,date_gmt:o,modified_gmt:s,link:c,_embedded:l}=e;return{id:r,title:i.rendered,description:a.rendered,link:c,category:l[`wp:term`][0].map(e=>e.name),author:l.author.map(e=>e.name).join(`, `),pubDate:n(t(o),0),updated:n(t(s),0)}});export{i as n,r as t};