1import{$a as e,$n as t,An as n,Ao as r,Bn as ee,Co as i,Dn as te,Do as a,En as ne,Eo as o,Fn as s,Gn as c,Hn as l,In as u,Jn as d,Kn as f,Lg as p,Ln as m,Mn as h,Mo as g,Nn as _,No as v,On as y,Oo as b,Pn as x,Qa as S,Qn as C,Rn as w,So as T,To as E,Un as D,Vn as O,Wn as k,Xa as A,Xn as j,Yn as M,Za as N,Zn as P,_o as F,ao as I,ar as L,bo as R,co as z,cr as B,do as V,dr as H,eo as U,er as W,fo as G,go as K,ho as q,io as J,ir as Y,jn as re,jo as X,kn as ie,ko as ae,lo as oe,lr as se,mo as ce,no as le,nr as ue,oo as de,or as fe,po as pe,qn as me,ro as he,rr as ge,so as _e,sr as ve,to as ye,tr as be,uo as xe,ur as Se,vo as Ce,wo as we,xo as Te,yo as Ee,zn as De}from"./messages-B7vy2gX4.js";import{t as Oe}from"./file-text-S5FBMYk7.js";import{n as ke,t as Z}from"./header-BuguHzTE.js";import{t as Ae}from"./markdown-editor-NTm__3A9.js";import{t as je}from"./shield-check-e_NlIgFi.js";import{d as Q}from"./index-CI4CH93Q.js";import{t as Me}from"./utils-DXalBF5w.js";var Ne=Q(`file-down`,[[`path`,{d:`M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z`,key:`1rqfz7`}],[`path`,{d:`M14 2v4a2 2 0 0 0 2 2h4`,key:`tnqrlb`}],[`path`,{d:`M12 18v-6`,key:`17g6i2`}],[`path`,{d:`m9 15 3 3 3-3`,key:`1npd3o`}]]),Pe=Q(`layout-template`,[[`rect`,{width:`18`,height:`7`,x:`3`,y:`3`,rx:`1`,key:`f1a2em`}],[`rect`,{width:`9`,height:`7`,x:`3`,y:`14`,rx:`1`,key:`jqznyg`}],[`rect`,{width:`5`,height:`7`,x:`16`,y:`14`,rx:`1`,key:`q5h2i8`}]]),$=p();function Fe(){return(0,$.jsxs)(`div`,{className:`min-h-screen bg-background text-foreground`,children:[(0,$.jsx)(Z,{}),(0,$.jsxs)(`main`,{className:`px-4 py-12 sm:py-16`,children:[(0,$.jsxs)(`section`,{className:`mx-auto max-w-6xl`,children:[(0,$.jsx)(`p`,{className:`text-sm font-medium text-primary`,children:`TO MD`}),(0,$.jsx)(`h1`,{className:`mt-3 font-serif text-4xl font-medium leading-tight tracking-normal sm:text-5xl`,children:H()}),(0,$.jsx)(`p`,{className:`mt-4 max-w-2xl text-base leading-7 text-muted-foreground`,children:Se()}),(0,$.jsx)(Ae,{className:`mt-8`,initialStorageKey:`to-md.initialMarkdown`,loadExampleOnMount:!0,labels:{write:v(),preview:g(),editorLabel:X(),previewLabel:r(),placeholder:ae(),dropTitle:b(),dropDescription:a(),browse:o(),loadExample:E(),paste:we(),clear:i(),cancel:T(),download:Te(),emptyPreview:R(),bold:Ee(),italic:Ce(),bulletList:F(),numberedList:K(),table:q(),undo:ce(),saveMarkdown:pe(),copyHtml:G(),template:V(),layout:xe(),split:oe(),focus:z(),fullscreen:_e(),exitFullscreen:de(),downloadPdf:I(),printPdf:J(),printHint:he(),emptyPreviewPdf:le(),templateGithub:ye(),templateClean:U(),templateBusiness:e(),templateAcademic:S(),templateModern:N(),templateMinimal:A()}})]}),(0,$.jsx)(Ie,{})]}),(0,$.jsx)(ke,{})]})}function Ie(){let e=[{icon:Oe,title:fe(),description:L()},{icon:Pe,title:Y(),description:ge()},{icon:je,title:ue(),description:be()},{icon:Ne,title:W(),description:t()}],r=[P(),j(),M(),d()],i=[c(),k(),D(),l(),O(),ee()],a=[w(),m(),u(),s()],o=[{question:_(),answer:h()},{question:re(),answer:n()},{question:ie(),answer:y()},{question:te(),answer:ne()}];return(0,$.jsxs)(`section`,{className:`mx-auto mt-16 max-w-6xl space-y-12 sm:mt-20`,children:[(0,$.jsxs)(`div`,{className:`grid gap-8 lg:grid-cols-[0.95fr_1.05fr] lg:items-start`,children:[(0,$.jsxs)(`div`,{children:[(0,$.jsx)(`p`,{className:`text-sm font-medium text-primary`,children:se()}),(0,$.jsx)(`h2`,{className:`mt-3 max-w-3xl text-3xl font-semibold tracking-normal sm:text-4xl`,children:B()}),(0,$.jsx)(`p`,{className:`mt-4 text-base leading-7 text-muted-foreground`,children:ve()})]}),(0,$.jsx)(`div`,{className:`grid gap-3 sm:grid-cols-2`,children:e.map(e=>(0,$.jsxs)(`article`,{className:`rounded-lg border border-border bg-card p-5 shadow-sm`,children:[(0,$.jsx)(e.icon,{className:`size-5 text-primary`}),(0,$.jsx)(`h3`,{className:`mt-4 text-base font-semibold`,children:e.title}),(0,$.jsx)(`p`,{className:`mt-2 text-sm leading-6 text-muted-foreground`,children:e.description})]},e.title))})]}),(0,$.jsxs)(`div`,{className:`grid gap-6 lg:grid-cols-3`,children:[(0,$.jsxs)(`article`,{className:`rounded-lg border border-border bg-card p-6 lg:col-span-1`,children:[(0,$.jsx)(`h2`,{className:`text-xl font-semibold`,children:C()}),(0,$.jsx)(`ol`,{className:`mt-5 space-y-4`,children:r.map((e,t)=>(0,$.jsxs)(`li`,{className:`flex gap-3 text-sm leading-6 text-muted-foreground`,children:[(0,$.jsx)(`span`,{className:`flex size-7 shrink-0 items-center justify-center rounded-full bg-primary text-xs font-semibold text-primary-foreground`,children:t+1}),(0,$.jsx)(`span`,{children:e})]},e))})]}),(0,$.jsxs)(`article`,{className:`rounded-lg border border-border bg-card p-6 lg:col-span-2`,children:[(0,$.jsx)(`h2`,{className:`text-xl font-semibold`,children:me()}),(0,$.jsx)(`p`,{className:`mt-3 text-sm leading-6 text-muted-foreground`,children:f()}),(0,$.jsx)(`div`,{className:`mt-6 grid gap-3 sm:grid-cols-2`,children:i.map(e=>(0,$.jsx)(`div`,{className:`rounded-md bg-muted/60 px-4 py-3 text-sm font-medium`,children:e},e))})]})]}),(0,$.jsxs)(`div`,{className:`grid gap-6 lg:grid-cols-[0.9fr_1.1fr]`,children:[(0,$.jsxs)(`article`,{className:`rounded-lg border border-border bg-card p-6`,children:[(0,$.jsx)(`h2`,{className:`text-xl font-semibold`,children:De()}),(0,$.jsx)(`ul`,{className:`mt-5 space-y-3`,children:a.map(e=>(0,$.jsxs)(`li`,{className:`flex gap-3 text-sm leading-6 text-muted-foreground`,children:[(0,$.jsx)(`span`,{className:`mt-2 size-1.5 shrink-0 rounded-full bg-primary`}),(0,$.jsx)(`span`,{children:e})]},e))})]}),(0,$.jsxs)(`article`,{className:`rounded-lg border border-border bg-card p-6`,children:[(0,$.jsx)(`h2`,{className:`text-xl font-semibold`,children:x()}),(0,$.jsx)(`div`,{className:`mt-4 divide-y divide-border`,children:o.map((e,t)=>(0,$.jsxs)(`details`,{className:Me(`group py-4`,t===0&&`pt-0`),children:[(0,$.jsx)(`summary`,{className:`curs
1or-pointer list-none text-sm font-semibold marker:hidden`,children:e.question}),(0,$.jsx)(`p`,{className:`mt-2 text-sm leading-6 text-muted-foreground`,children:e.answer})]},e.question))})]})]})]})}export{Fe as component};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.