1import{Bt as e,Ft as t,Gt as n,Ht as r,It as i,Jt as a,Kt as o,Lt as s,Nt as c,Pt as l,Rt as u,Ut as d,Vt as f,Wt as p,Y_ as m,Yt as h,ev as g,iv as _,qt as v,tv as y,zt as b}from"./utils-Dpsh8aDz.js";import{t as x}from"./chevron-down-Bwpu-wnC.js";import{At as S,dt as C}from"./index-BHgJgg_T.js";var w=S(`arrow-up-right`,[[`path`,{d:`M7 7h10v10`,key:`1tivn9`}],[`path`,{d:`M7 17 17 7`,key:`1vkiza`}]]),T=S(`mic`,[[`path`,{d:`M12 2a3 3 0 0 0-3 3v7a3 3 0 0 0 6 0V5a3 3 0 0 0-3-3Z`,key:`131961`}],[`path`,{d:`M19 10v2a7 7 0 0 1-14 0v-2`,key:`1vc78b`}],[`line`,{x1:`12`,x2:`12`,y1:`19`,y2:`22`,key:`x3vr5v`}]]),E=_(y(),1),D=g(),O=4,k={adam:`bg-sky-100 text-sky-700 dark:bg-sky-400/15 dark:text-sky-200`,girl:`bg-fuchsia-100 text-fuchsia-700 dark:bg-fuchsia-400/15 dark:text-fuchsia-200`,jessie:`bg-violet-100 text-violet-700 dark:bg-violet-400/15 dark:text-violet-200`,funny:`bg-amber-100 text-amber-700 dark:bg-amber-400/15 dark:text-amber-200`,santa:`bg-rose-100 text-rose-700 dark:bg-rose-400/15 dark:text-rose-200`,all:`bg-slate-100 text-slate-700 dark:bg-slate-400/15 dark:text-slate-200`};function A(){let t=[{slug:`adam`,href:`/voices/adam`,initial:`A`,title:n(),description:p()},{slug:`girl`,href:`/voices/girl`,initial:`G`,title:v(),description:o()},{slug:`jessie`,href:`/voices/jessie`,initial:`J`,title:d(),description:r()},{slug:`funny`,href:`/voices/funny`,initial:`F`,title:f(),description:e()}];return m()===`en`&&t.push({slug:`santa`,href:`/voices/santa`,initial:`S`,title:b(),description:u()}),t.push({slug:`all`,href:`/#voice-generator`,initial:`+`,title:s(),description:i()}),t}function j({voice:e}){return(0,D.jsxs)(C,{href:e.href,className:`group rounded-2xl border border-black/8 bg-[var(--marketing-card)] p-5 shadow-[0_10px_28px_rgba(15,23,42,0.05)] transition-[transform,box-shadow,border-color] hover:-translate-y-0.5 hover:border-[#d93655]/35 hover:shadow-[0_14px_32px_rgba(15,23,42,0.09)] focus-visible:ring-2 focus-visible:ring-[#d93655]/60 focus-visible:outline-none sm:p-6 dark:border-white/10 dark:hover:border-[#ff8193]/45`,children:[(0,D.jsxs)(`div`,{className:`flex items-center justify-between gap-3`,children:[(0,D.jsx)(`span`,{className:`flex size-10 items-center justify-center rounded-xl text-sm font-semibold ${k[e.slug]}`,"aria-hidden":`true`,children:e.initial}),(0,D.jsxs)(`span`,{className:`text-muted-foreground flex items-center gap-1.5 text-xs font-medium`,children:[(0,D.jsx)(T,{className:`size-3.5`,"aria-hidden":`true`}),t()]}),(0,D.jsx)(w,{className:`text-muted-foreground size-4 transition-transform group-hover:translate-x-0.5 group-hover:-translate-y-0.5`,"aria-hidden":`true`})]}),(0,D.jsx)(`h3`,{className:`mt-5 text-lg font-semibold tracking-tight`,children:e.title}),(0,D.jsx)(`p`,{className:`text-muted-foreground mt-2 line-clamp-2 text-sm leading-6`,children:e.description})]})}function M({currentVoiceSlug:e}){let[t,n]=(0,E.useState)(!1),r=(0,E.useId)(),i=A().filter(t=>t.slug!==e),o=i.slice(0,O),s=i.slice(O),u=s.length>0;return(0,D.jsx)(`section`,{className:`bg-[var(--marketing-canvas)] px-4 py-14 sm:py-20`,children:(0,D.jsxs)(`div`,{className:`mx-auto max-w-5xl`,children:[(0,D.jsxs)(`div`,{className:`mx-auto max-w-3xl text-center`,children:[(0,D.jsx)(`h2`,{className:`text-3xl font-semibold tracking-[-0.045em] sm:text-4xl`,children:h()}),(0,D.jsx)(`p`,{className:`text-muted-foreground mt-4 text-sm leading-6 sm:text-base sm:leading-7`,children:a()})]}),(0,D.jsx)(`div`,{className:`mt-8 grid gap-4 md:grid-cols-2 lg:grid-cols-4`,children:o.map(e=>(0,D.jsx)(j,{voice:e},e.slug))}),u&&(0,D.jsxs)(D.Fragment,{children:[(0,D.jsx)(`div`,{id:r,hidden:!t,className:`mt-4 grid gap-4 md:grid-cols-2 lg:grid-cols-4`,children:s.map(e=>(0,D.jsx)(j,{voice:e},e.slug))}),(0,D.jsx)(`div`,{className:`mt-6 text-center`,children:(0,D.jsxs)(`button`,{type:`button`,"aria-expanded":t,"aria-controls":r,onClick:()=>n(e=>!e),className:`inline-flex min-h-11 items-center gap-2 rounded-lg border border-black/10 bg-[var(--marketing-card)] px-4 text-sm font-semibold transition-colors hover:bg-[var(--marketing-visual)] focus-visible:ring-2 focus-visible:ring-[#d93655]/60 focus-visible:outline-none dark:border-white/12`,children:[t?c():l({count:i.length}),(0,D.jsx)(x,{className:`size-4 transition-transform ${t?`rotate-180`:``}`,"aria-hidden":`true`})]})})]})]})})}export{M as t};
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.