import{r as e}from"./rolldown-runtime-S-ySWqyJ.js";import{i as t,r as n}from"./framework-CXnKph_e.js";import{n as r}from"./clinic-RzHQAS4L.js";import{n as i,t as a}from"./InnerPage-D77o7cMS.js";var o=e(t(),1),s=n();function c(){let[e,t]=(0,o.useState)(null);return(0,s.jsxs)(i,{children:[(0,s.jsx)(a,{kicker:`Our specialists`,title:`Expert hands. Thoughtful care.`,copy:`Meet the clinicians behind every confident smile.`}),(0,s.jsx)(`section`,{className:`doctor-grid`,children:r.map((e,n)=>(0,s.jsxs)(`article`,{children:[(0,s.jsx)(`div`,{className:`doctor-photo`,children:n===0?(0,s.jsx)(`img`,{src:`/assets/asset-11-doctor-cutout.png`,alt:e.name}):(0,s.jsx)(`span`,{children:e.name.split(` `).slice(1).map(e=>e[0]).join(``)})}),(0,s.jsx)(`small`,{children:e.specialization}),(0,s.jsx)(`h2`,{children:e.name}),(0,s.jsxs)(`p`,{children:[e.qualification,` · `,e.experience]}),(0,s.jsx)(`button`,{onClick:()=>t(e),children:`View profile →`})]},e.id))}),e&&(0,s.jsx)(`div`,{className:`modal-backdrop`,onMouseDown:e=>e.currentTarget===e.target&&t(null),children:(0,s.jsxs)(`article`,{className:`doctor-modal`,children:[(0,s.jsx)(`button`,{onClick:()=>t(null),children:`×`}),(0,s.jsx)(`small`,{children:e.specialization}),(0,s.jsx)(`h2`,{children:e.name}),(0,s.jsx)(`p`,{children:e.bio}),(0,s.jsxs)(`dl`,{children:[(0,s.jsx)(`dt`,{children:`Education`}),(0,s.jsx)(`dd`,{children:e.qualification}),(0,s.jsx)(`dt`,{children:`Languages`}),(0,s.jsx)(`dd`,{children:e.languages}),(0,s.jsx)(`dt`,{children:`Availability`}),(0,s.jsx)(`dd`,{children:e.availability})]}),(0,s.jsxs)(`button`,{"data-book":!0,"data-doctor":e.name,children:[`Book with `,e.name]})]})})]})}export{c as default};