import{C as e,D as t,E as n,F as r,H as i,I as a,Q as o,T as s,X as c,Y as l,_ as u,b as d,n as f,r as p,x as m}from"./app-C01cOfmU.js";import{t as h}from"./i18n-CFMfrCVn.js";import{t as g}from"./MarketingLayout-DX1B3-St.js";var _={class:`mx-auto max-w-5xl px-6 py-16`},v={class:`mt-6 grid gap-10 md:grid-cols-[200px_1fr]`},y={class:`md:pt-1`},b={class:`sticky top-24 space-y-1`},x={class:`flex items-center gap-3`},S={class:`grid h-12 w-12 place-items-center rounded-2xl bg-primary/10 text-2xl`},C={class:`text-3xl font-black tracking-tight`},w={class:`mt-3 text-lg text-ink-2`},T={class:`mt-8 space-y-10`},E={class:`text-xl font-extrabold tracking-tight`},D={class:`mt-3 space-y-3`},O={key:0,class:`overflow-x-auto rounded-xl border border-slate-700 bg-slate-900 p-4 text-sm text-slate-200`},k=[`href`],A={key:2,class:`leading-relaxed text-ink-2`},j=t({__name:`Show`,props:{guide:{},nav:{}},setup(t){let j=e=>typeof e==`object`&&!!e&&`code`in e,M=e=>typeof e==`object`&&!!e&&`link`in e;return(N,P)=>(r(),e(u,null,[n(l(f),{title:`${t.guide.title} — Convoro docs`},null,8,[`title`]),n(g,null,{default:i(()=>[d(`section`,_,[n(l(p),{href:`/docs`,class:`text-sm font-semibold text-ink-muted hover:text-ink`},{default:i(()=>[s(o(l(h)(`← All docs`)),1)]),_:1}),d(`div`,v,[d(`aside`,y,[d(`nav`,b,[(r(!0),e(u,null,a(t.nav,e=>(r(),m(l(p),{key:e.slug,href:`/docs/${e.slug}`,class:c([`flex items-center gap-2 rounded-lg px-3 py-2 text-sm font-medium`,e.slug===t.guide.slug?`bg-primary/10 text-primary`:`text-ink-2 hover:bg-surface-2`])},{default:i(()=>[d(`span`,null,o(e.icon),1),s(` `+o(e.title),1)]),_:2},1032,[`href`,`class`]))),128))])]),d(`article`,null,[d(`div`,x,[d(`span`,S,o(t.guide.icon),1),d(`h1`,C,o(t.guide.title),1)]),d(`p`,w,o(t.guide.intro),1),d(`div`,T,[(r(!0),e(u,null,a(t.guide.sections,(t,n)=>(r(),e(`section`,{key:n},[d(`h2`,E,o(t.h),1),d(`div`,D,[(r(!0),e(u,null,a(t.body,(t,n)=>(r(),e(u,{key:n},[j(t)?(r(),e(`pre`,O,[d(`code`,null,o(t.code),1)])):M(t)?(r(),e(`a`,{key:1,href:t.link,class:`inline-flex items-center gap-2 rounded-xl bg-primary px-5 py-3 font-bold text-white shadow-lg shadow-primary/25 hover:bg-primary-600`},[s(o(t.label||t.link)+` `,1),P[0]||=d(`svg`,{width:`16`,height:`16`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,"stroke-width":`2.5`,"stroke-linecap":`round`,"stroke-linejoin":`round`},[d(`path`,{d:`M12 5v14M19 12l-7 7-7-7`})],-1)],8,k)):(r(),e(`p`,A,o(t),1))],64))),128))])]))),128))])])])])]),_:1})],64))}});export{j as default};