import{t as e}from"./cache-DUthuMSu.mjs";import{t}from"./parse-date-BdYTmLpo.mjs";import{t as n}from"./got-BBDj7u1e.mjs";import{load as r}from"cheerio";const i={path:`/:category?`,categories:[`finance`],example:`/mrm`,parameters:{category:`N`},features:{requireConfig:!1,requirePuppeteer:!1,antiCrawler:!1,supportBT:!1,supportPodcast:!1,supportScihub:!1},name:`通知`,maintainers:[`TonyRL`],handler:a,description:`| 交易通知     | 政策规定             | 业务通知          |
| ------------ | -------------------- | ----------------- |
| zonghezixun3 | zhengceguiding_list | yewutongzhi_list |`};async function a(i){let{category:a=`zonghezixun3`}=i.req.param(),o=`http://www.mrm.com.cn`,s=`${o}/${a}.html`,{data:c}=await n(s),l=r(c),u=l(`#datalist_wap .li`).toArray().map(e=>{e=l(e);let n=e.find(`a`);return{title:n.text().trim(),link:`${o}${n.attr(`href`)}`,pubDate:t(e.find(`.d`).text(),`YYYY.MM.DD`)}}),d=await Promise.all(u.map(t=>e.tryGet(t.link,async()=>{let{data:e}=await n(t.link);return t.description=r(e)(`.article-cont`).html(),t})));return{title:l(`head title`).text(),link:s,item:d}}export{i as route};