import{t as e}from"./got-BBDj7u1e.mjs";import{jsx as t,jsxs as n}from"hono/jsx/jsx-runtime";import{renderToString as r}from"hono/jsx/dom/server";const i={up:`上涨`,down:`下跌`},a={path:`/gushitong/index`,categories:[`finance`],view:5,example:`/baidu/gushitong/index`,parameters:{},features:{requireConfig:!1,requirePuppeteer:!1,antiCrawler:!1,supportBT:!1,supportPodcast:!1,supportScihub:!1},radar:[{source:[`gushitong.baidu.com/`]}],name:`首页指数`,maintainers:[`CaoMeiYouRen`],handler:o,url:`gushitong.baidu.com/`};async function o(){return{title:`百度股市通`,description:`百度股市通，汇聚全球金融市场的股票、基金、外汇、期货等实时行情，7*24小时覆盖专业财经资讯，提供客观、准确、及时、全面的沪深港美上市公司股价、财务、股东、分红等信息，让用户在复杂的金融市场，更简单的获取投资信息。`,link:`https://gushitong.baidu.com/`,item:(await e(`https://finance.pae.baidu.com/api/indexbanner?market=ab&finClientType=pc`)).data.Result.map(e=>({title:e.name,description:r(n(`p`,{children:[`市场：`,e.market.toUpperCase(),t(`br`,{}),`代码：`,e.code,t(`br`,{}),`名称：`,e.name,t(`br`,{}),`收盘价：`,e.price,t(`br`,{}),`涨跌幅：`,e.ratio,t(`br`,{}),`涨跌额：`,e.increase,t(`br`,{}),`走势：`,i[e.status],t(`br`,{})]})),link:`https://gushitong.baidu.com/index/${e.market}-${e.code}`}))}}export{a as route};