import{t as e}from"./got-BBDj7u1e.mjs";const t={path:`/user/:id/threads`,categories:[`bbs`],example:`/1point3acres/user/1/threads`,parameters:{id:`用户 id，可在 Instant 版网站的个人主页 URL 找到`},features:{requireConfig:!1,requirePuppeteer:!1,antiCrawler:!1,supportBT:!1,supportPodcast:!1,supportScihub:!1},radar:[{source:[`instant.1point3acres.com/profile/:id`,`instant.1point3acres.com/`]}],name:`用户主题帖`,maintainers:[`Maecenas`],handler:n};async function n(t){let n=t.req.param(`id`),{threads:r}=(await e.get(`https://instant.1point3acres.com/v2/api/user/thread?pg=1&ps=10&user_id=${n}`)).data,[{author_name:i}]=r;return{title:`${i}的主题帖 - 一亩三分地`,link:`https://instant.1point3acres.com/profile/${n}`,description:`${i}的主题帖 - 一亩三分地`,item:r.map(e=>({title:e.title,author:i,description:e.description,pubDate:new Date(e.update_time+` GMT+8`).toUTCString(),link:`https://instant.1point3acres.com/thread/${e.id}`}))}}export{t as route};