(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7492],{4464:function(e,t,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/find-practitioners",function(){return a(475)}])},3950:function(e,t,a){"use strict";var s=a(5893),i=a(9008),n=a.n(i),l=a(1163);t.Z=e=>{let{title:t="Virtual Triage - Online Doctor Appointments & Healthcare Services UK",description:a="Book online doctor appointments, find GPs, and access healthcare services across the UK. Virtual consultations with licensed practitioners. Book your appointment today.",keywords:i="online doctor UK, GP near me, family doctor UK, virtual consultations, telehealth UK, book doctor appointment, NHS alternative, private GP UK",canonical:r,ogImage:o="https://virtualtriage.ai/assets/og/default.jpg",ogType:c="website",structuredData:d,noindex:p=!1,location:u="UK"}=e,h=(0,l.useRouter)(),m="https://virtualtriage.ai",f=t.includes("Virtual Triage")?t:"".concat(t," | Virtual Triage"),x=r||"".concat(m).concat(h.asPath.split("?")[0]),v=d||{"@context":"https://schema.org","@type":"MedicalBusiness",name:"Virtual Triage",description:"Online healthcare platform connecting patients with licensed medical practitioners across the UK",url:m,logo:"".concat(m,"/assets/Virtual%20Triage.png"),address:{"@type":"PostalAddress",addressCountry:"GB",addressLocality:u},areaServed:{"@type":"Country",name:"United Kingdom"},sameAs:["https://www.facebook.com/virtualtriage","https://www.instagram.com/virtualtriage","https://www.linkedin.com/company/virtualtriage","https://twitter.com/virtualtriage"]};return(0,s.jsxs)(n(),{children:[(0,s.jsx)("title",{children:f}),(0,s.jsx)("meta",{name:"title",content:f}),(0,s.jsx)("meta",{name:"description",content:a}),(0,s.jsx)("meta",{name:"keywords",content:i}),(0,s.jsx)("meta",{name:"robots",content:p?"noindex,nofollow":"index,follow"}),(0,s.jsx)("meta",{name:"language",content:"English"}),(0,s.jsx)("meta",{name:"revisit-after",content:"7 days"}),(0,s.jsx)("meta",{name:"author",content:"Virtual Triage"}),(0,s.jsx)("meta",{name:"geo.region",content:"GB"}),(0,s.jsx)("meta",{name:"geo.placename",content:u}),(0,s.jsx)("link",{rel:"canonical",href:x}),(0,s.jsx)("meta",{property:"og:type",content:c}),(0,s.jsx)("meta",{property:"og:url",content:x}),(0,s.jsx)("meta",{property:"og:title",content:f}),(0,s.jsx)("meta",{property:"og:description",content:a}),(0,s.jsx)("meta",{property:"og:image",content:o}),(0,s.jsx)("meta",{property:"og:site_name",content:"Virtual Triage"}),(0,s.jsx)("meta",{property:"og:locale",content:"en_GB"}),(0,s.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,s.jsx)("meta",{name:"twitter:url",content:x}),(0,s.jsx)("meta",{name:"twitter:title",content:f}),(0,s.jsx)("meta",{name:"twitter:description",content:a}),(0,s.jsx)("meta",{name:"twitter:image",content:o}),(0,s.jsx)("meta",{name:"twitter:site",content:"@virtualtriage"}),(0,s.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(v)}})]})}},475:function(e,t,a){"use strict";a.r(t);var s=a(5893),i=a(7294),n=a(1163),l=a(7317),r=a(3950),o=a(9402),c=a(141),d=a(2217),p=a(7089),u=a(9442),h=a(3645),m=a(2126),f=a(9176),x=a(2171),v=a(6127),j=a(4919),g=a(2190),y=a(88),N=a(39),b=a(3346),w=a(4307),S=a(6215),k=a(2917),_=a(1476),C=a(1376),P=a(3109);let U={UK:["London","Manchester","Birmingham","Leeds","Glasgow","Liverpool","Newcastle","Sheffield","Bristol","Edinburgh"]},A=["English","Spanish","Arabic","Urdu","French","German","Russian"],Z=["General Practitioner","Dermatologist","Psychiatrist","Cardiologist","Neurologist","Orthopedic Surgeon","Pediatrician","Gastroenterologist","Respiratory Specialist","Rheumatologist","Urologist","ENT Specialist"],T=[{label:"GPs",value:"General Practitioner",Icon:c.Z},{label:"Dermatology",value:"Dermatologist",Icon:d.Z},{label:"Psychiatry",value:"Psychiatrist",Icon:p.Z},{label:"Paediatrics",value:"Pediatrician",Icon:u.Z}],I=["GPs","Dermatologists","Psychiatrists","Paediatricians","Cardiologists"],R=["Skin Rash","Anxiety","Acne","Hypertension","Back Pain"];t.default=()=>{let[e,t]=(0,i.useState)([]),[a,d]=(0,i.useState)(!0),[p,u]=(0,i.useState)(!1),[G,z]=(0,i.useState)(""),K=(0,n.useRouter)(),[B,L]=(0,i.useState)({total_count:0,page:1,page_size:12,total_pages:0,has_next:!1,has_previous:!1,offset:0,limit:12}),[,D]=(0,i.useState)(1),[F,V]=(0,i.useState)(!1),[E,O]=(0,i.useState)(null),[M,H]=(0,i.useState)(null),[q,W]=(0,i.useState)(null),[J,X]=(0,i.useState)(!1),[Y,Q]=(0,i.useState)("GPs"),[$,ee]=(0,i.useState)(0),[et,ea]=(0,i.useState)(!1),[es,ei]=(0,i.useState)("Find Verified"),[en,el]=(0,i.useState)(!0),er=(0,i.useRef)({phase:0,index:0});(0,i.useEffect)(()=>{let e,t;let a=setInterval(()=>{ea(!0),e=setTimeout(()=>{let{phase:e,index:a}=er.current,s=0===e?I:R,i=a+1;if(i>=s.length){let a=(e+1)%2;er.current={phase:a,index:0},el(!1),t=setTimeout(()=>{ei(0===a?"Find Verified":"Helping With"),Q((0===a?I:R)[0]),ee(e=>e+1),ea(!1),el(!0)},380)}else er.current.index=i,Q(s[i]),ee(e=>e+1),ea(!1)},320)},2820);return()=>{clearInterval(a),clearTimeout(e),clearTimeout(t)}},[]);let[eo,ec]=(0,i.useState)(!1),[ed]=(0,i.useState)(null),[ep,eu]=(0,i.useState)(null),[eh,em]=(0,i.useState)(!1),[ef,ex]=(0,i.useState)(null),[ev,ej]=(0,i.useState)(null),[eg,ey]=(0,i.useState)(null),[eN,eb]=(0,i.useState)(!1),ew=(0,i.useRef)(null),eS=async()=>{u(!0);try{var e,a;let s=await fetch("".concat(C.sN,"/doctors/?limit=12&offset=0")),i=await s.json(),n=(null==i?void 0:null===(e=i.data)||void 0===e?void 0:e.data)||[];t(n),L((null==i?void 0:null===(a=i.data)||void 0===a?void 0:a.pagination)||B),D(1)}catch(e){console.error("API error:",e)}finally{u(!1),d(!1)}};(0,i.useEffect)(()=>{eS()},[]),(0,i.useEffect)(()=>{if(!M&&!E&&!q&&!J){if(ew.current&&clearTimeout(ew.current),!G.trim()){eS();return}return ew.current=setTimeout(()=>{eU(G)},400),()=>{ew.current&&clearTimeout(ew.current)}}},[G,M,E,q,J]);let ek=async e=>{if(M===e){H(null),eS();return}H(e),O(null),W(null),X(!1),u(!0);try{var a,s;let i=await fetch("".concat(C.sN,"/doctors/specialities/?speciality=").concat(encodeURIComponent(e),"&limit=12&offset=0")),n=await i.json();t((null==n?void 0:null===(a=n.data)||void 0===a?void 0:a.data)||[]),L((null==n?void 0:null===(s=n.data)||void 0===s?void 0:s.pagination)||B),D(1)}catch(e){t([])}finally{u(!1)}},e_=async e=>{if(E===e){O(null),eS();return}O(e),H(null),W(null),X(!1),u(!0);try{var a,s;let i=await fetch("".concat(C.sN,"/doctors/search/location/?location=").concat(encodeURIComponent(e))),n=await i.json();t((null==n?void 0:null===(a=n.data)||void 0===a?void 0:a.data)||[]),L((null==n?void 0:null===(s=n.data)||void 0===s?void 0:s.pagination)||B),D(1)}catch(e){t([])}finally{u(!1)}},eC=async e=>{if(q===e){W(null),eS();return}W(e),O(null),H(null),X(!1),u(!0);try{var a,s;let i=await fetch("".concat(C.sN,"/doctors/languages/?language=").concat(encodeURIComponent(e))),n=await i.json();t((null==n?void 0:null===(a=n.data)||void 0===a?void 0:a.data)||[]),L((null==n?void 0:null===(s=n.data)||void 0===s?void 0:s.pagination)||B),D(1)}catch(e){t([])}finally{u(!1)}},eP=async()=>{if(J){X(!1),eS();return}X(!0),O(null),H(null),W(null),u(!0);try{var e;let a=await fetch("".concat(C.sN,"/doctors/insurance/?insurance=Yes")),s=await a.json(),i=((null==s?void 0:null===(e=s.data)||void 0===e?void 0:e.data)||[]).filter(e=>Array.isArray(e.insurers)&&e.insurers.length>0);t(i),L({total_count:i.length,page:1,page_size:12,total_pages:Math.ceil(i.length/12),has_next:i.length>12,has_previous:!1,offset:0,limit:12}),D(1)}catch(e){t([])}finally{u(!1)}},eU=async e=>{u(!0);try{var a,s;let i=await fetch("".concat(C.sN,"/doctors/search/?query=").concat(encodeURIComponent(e))),n=await i.json();t((null==n?void 0:null===(a=n.data)||void 0===a?void 0:a.data)||[]),L((null==n?void 0:null===(s=n.data)||void 0===s?void 0:s.pagination)||B)}catch(e){t([])}finally{u(!1)}},eA=()=>{O(null),H(null),W(null),X(!1),z(""),eS()},eZ=E||M||q||J,eT=async()=>{if(eN||!B.has_next)return;eb(!0);let a=e.length;try{var s,i;let e;e=M?"".concat(C.sN,"/doctors/specialities/?speciality=").concat(encodeURIComponent(M),"&limit=12&offset=").concat(a):E?"".concat(C.sN,"/doctors/search/location/?location=").concat(encodeURIComponent(E),"&offset=").concat(a):q?"".concat(C.sN,"/doctors/languages/?language=").concat(encodeURIComponent(q),"&offset=").concat(a):J?"".concat(C.sN,"/doctors/insurance/?insurance=Yes&offset=").concat(a):"".concat(C.sN,"/doctors/?limit=12&offset=").concat(a);let n=await fetch(e),l=await n.json(),r=(null==l?void 0:null===(s=l.data)||void 0===s?void 0:s.data)||[];J&&(r=r.filter(e=>Array.isArray(e.insurers)&&e.insurers.length>0)),t(e=>[...e,...r]),J||L((null==l?void 0:null===(i=l.data)||void 0===i?void 0:i.pagination)||B)}catch(e){console.error("Load more error:",e)}finally{eb(!1)}},eI=async e=>{if(!e||!e.email){alert("Doctor information is missing. Please try again later.");return}P.Z.reset(),P.Z.eventData.doctor_name=e.full_Name||e.full_name||e.name||"",eu(e),ex(null),em(!0),ej(e._id||e.id);try{let t=await C.ZP.post("/patient/appointment/book-appointment/directory/",{doctor_email:e.email}),a=null==t?void 0:t.data;if(401===t.status||403===t.status||(null==a?void 0:a.status)===!1){localStorage.removeItem("authToken"),localStorage.removeItem("userData");return}(null==a?void 0:a.clinic_id)&&ex(a.clinic_id)}catch(e){var t;console.error("Error resolving clinic_id:",(null===(t=e.response)||void 0===t?void 0:t.data)||e.message)}finally{ej(null)}},eR=async e=>{let t=(null==e?void 0:e.username)||(null==e?void 0:e._id)||(null==e?void 0:e.id);if(t&&eg!==t){ey(t);try{let t=await fetch("".concat(C.sN,"/doctors/by-username/").concat(encodeURIComponent(e.username))),a=await t.json(),s=null==a?void 0:a.data;if(!s)return;try{await fetch("".concat(C.sN,"/doctors/profile-viewed/"),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({doctor_email:s.email})})}catch(e){}let i=s.username||e.username,n=e._id||e.id,l=i?"/profile/".concat(encodeURIComponent(i)):"/profile/".concat(encodeURIComponent(n));window.scrollTo(0,0),K.push(l)}catch(e){console.error("Error fetching doctor details:",e)}finally{ey(null)}}},eG=e.filter(e=>{if(!eZ||!G)return!0;let t=(e.full_name||e.name||"").toLowerCase(),a=[...Array.isArray(e.speciality)?e.speciality:[]].map(e=>e.toLowerCase()),s=G.toLowerCase();return t.includes(s)||a.some(e=>e.includes(s))}),ez=e=>{var t;if(e.isAvailable&&(null===(t=e.nextSlot)||void 0===t?void 0:t.day)){let t=(e.nextSlot.day||"").toLowerCase();return"today"===t||"monday"===t||"tuesday"===t||"wednesday"===t||"thursday"===t||"friday"===t?{dotClass:"fp-status-dot-green",textClass:"fp-status-text-green",label:e.nextSlot.start?"".concat(e.nextSlot.day,", ").concat(e.nextSlot.start):e.nextSlot.day}:{dotClass:"fp-status-dot-teal",textClass:"fp-status-text-teal",label:"".concat(e.nextSlot.day,", ").concat(e.nextSlot.start||"").trim()}}return e.appointmentFee?{dotClass:"fp-status-dot-teal",textClass:"fp-status-text-teal",label:"From \xa3".concat(e.appointmentFee)}:{dotClass:"fp-status-dot-gray",textClass:"fp-status-text-gray",label:"Request Slot"}};return(0,s.jsxs)("div",{className:"fp-container",children:[(0,s.jsxs)("div",{className:"fp-ambient","aria-hidden":"true",children:[(0,s.jsx)("div",{className:"fp-ambient-blob-1"}),(0,s.jsx)("div",{className:"fp-ambient-blob-2"})]}),(0,s.jsx)(r.Z,{title:"Find a Private GP or Specialist UK | Browse & Book Online | Virtual Triage",description:"Search and book private GPs, psychiatrists, dermatologists & specialists across the UK. Filter by specialty, location, experience & availability. GMC-verified, video consultations, same-day appointments.",keywords:"find private gp uk, online doctor uk, book gp appointment online, private gp near me, find gp uk, doctor booking online uk, healthcare practitioners uk, gp appointment booking, private psychiatrist, online dermatologist",canonical:"https://virtualtriage.ai/find-practitioners",structuredData:{"@context":"https://schema.org","@graph":[{"@type":"WebPage","@id":"https://virtualtriage.ai/find-practitioners",url:"https://virtualtriage.ai/find-practitioners",name:"Find Doctors & GPs in the UK | Book Appointments Online",description:"Search and book appointments with private GPs and online doctors across the UK.",isPartOf:{"@id":"https://virtualtriage.ai/"},inLanguage:"en-GB"},{"@type":"SearchResultsPage","@id":"https://virtualtriage.ai/find-practitioners",url:"https://virtualtriage.ai/find-practitioners",name:"Find Doctors and GPs in the UK",description:"Search for private GPs, online doctors, and healthcare practitioners in the UK.",potentialAction:{"@type":"SearchAction",target:"https://virtualtriage.ai/find-practitioners?search={search_term_string}","query-input":"required name=search_term_string"}},{"@type":"MedicalBusiness","@id":"https://virtualtriage.ai/find-practitioners",name:"Virtual Triage Doctor Search",description:"Find and book appointments with certified healthcare professionals across the UK.",serviceArea:{"@type":"Place",name:"United Kingdom"},provider:{"@id":"https://virtualtriage.ai/"},offers:{"@type":"Offer",priceCurrency:"GBP",url:"https://virtualtriage.ai/find-practitioners"}}]},location:"UK"}),(0,s.jsx)(l.Z,{}),(0,s.jsx)("section",{className:"fp-trust-banner",style:{position:"relative",zIndex:10},children:(0,s.jsxs)("div",{className:"fp-trust-inner",children:[(0,s.jsxs)("p",{className:"fp-trust-item",children:[(0,s.jsx)(h.Z,{size:14})," All Doctors GMC Verified"]}),(0,s.jsxs)("p",{className:"fp-trust-item",children:[(0,s.jsx)(m.Z,{size:14})," DSPT & GDPR Compliant"]}),(0,s.jsxs)("p",{className:"fp-trust-item",children:[(0,s.jsx)(f.Z,{size:14})," 20+ Specialists Across 15 Specialties"]}),(0,s.jsxs)("p",{className:"fp-trust-item",children:[(0,s.jsx)(x.Z,{size:14})," UK Registered Platform"]})]})}),(0,s.jsxs)("main",{className:"fp-main",children:[(0,s.jsxs)("section",{className:"fp-hero",children:[(0,s.jsxs)("h1",{className:"fp-hero-title",children:[(0,s.jsx)("span",{className:"fp-hero-static".concat(en?" fp-hero-visible":""),children:es}),(0,s.jsx)("span",{className:"fp-hero-word-wrap".concat(et?" fp-hero-word-exit":" fp-hero-word-enter"),children:(0,s.jsx)("span",{className:"fp-hero-word-text",children:Y})},$)]}),(0,s.jsx)("p",{className:"fp-hero-desc",children:"Advanced triage routing connects you with top-tier practitioners instantly. Search by name, specialty, or symptom to begin."}),(0,s.jsxs)("div",{className:"fp-search-wrapper",children:[(0,s.jsx)("div",{className:"fp-search-glow"}),(0,s.jsxs)("div",{className:"fp-search-bar",children:[(0,s.jsx)("span",{className:"fp-search-icon",children:(0,s.jsx)(v.Z,{size:20})}),(0,s.jsx)("input",{className:"fp-search-input",placeholder:"Search conditions, symptoms, or doctors...",value:G,onChange:e=>z(e.target.value)}),(0,s.jsx)("button",{className:"fp-search-btn",children:"Search"})]})]}),(0,s.jsxs)("div",{className:"fp-filter-chips",children:[T.map(e=>{let{label:t,value:a,Icon:i}=e;return(0,s.jsxs)("button",{className:"fp-chip".concat(M===a?" fp-chip-active":""),onClick:()=>ek(a),children:[(0,s.jsx)(i,{size:14}),t]},a)}),(0,s.jsxs)("button",{className:"fp-chip".concat(eZ&&!T.find(e=>e.value===M)?" fp-chip-active":""),onClick:()=>V(!0),children:[(0,s.jsx)(j.Z,{size:14}),"All Filters",eZ&&(0,s.jsx)("span",{className:"fp-chip-dot-indicator"})]})]}),eZ&&(0,s.jsxs)("div",{className:"fp-active-chips",children:[M&&(0,s.jsxs)("span",{className:"fp-active-chip",children:[M,(0,s.jsx)("button",{onClick:()=>{H(null),eS()},children:(0,s.jsx)(g.Z,{size:11})})]}),E&&(0,s.jsxs)("span",{className:"fp-active-chip",children:[E,(0,s.jsx)("button",{onClick:()=>{O(null),eS()},children:(0,s.jsx)(g.Z,{size:11})})]}),q&&(0,s.jsxs)("span",{className:"fp-active-chip",children:[q,(0,s.jsx)("button",{onClick:()=>{W(null),eS()},children:(0,s.jsx)(g.Z,{size:11})})]}),J&&(0,s.jsxs)("span",{className:"fp-active-chip",children:["Accepts Insurance",(0,s.jsx)("button",{onClick:()=>{X(!1),eS()},children:(0,s.jsx)(g.Z,{size:11})})]}),(0,s.jsx)("button",{className:"fp-clear-all",onClick:eA,children:"Clear all"})]})]}),(0,s.jsx)("section",{className:"fp-grid",children:a||p?[...Array(6)].map((e,t)=>(0,s.jsxs)("div",{className:"fp-skeleton-card",children:[(0,s.jsx)("div",{className:"fp-skeleton-avatar"}),(0,s.jsxs)("div",{className:"fp-skeleton-lines",children:[(0,s.jsx)("div",{className:"fp-skeleton-line fp-skeleton-line-lg"}),(0,s.jsx)("div",{className:"fp-skeleton-line fp-skeleton-line-sm"}),(0,s.jsx)("div",{className:"fp-skeleton-line fp-skeleton-line-md"})]})]},t)):0===eG.length?(0,s.jsxs)("div",{className:"fp-empty-state",children:[(0,s.jsxs)("svg",{width:"48",height:"48",viewBox:"0 0 24 24",fill:"none",stroke:"#c8d6e0",strokeWidth:"1.5",children:[(0,s.jsx)("circle",{cx:"11",cy:"11",r:"8"}),(0,s.jsx)("line",{x1:"21",y1:"21",x2:"16.65",y2:"16.65"})]}),(0,s.jsx)("p",{className:"fp-empty-title",children:"No practitioners found"}),(0,s.jsx)("p",{className:"fp-empty-sub",children:"Try adjusting your filters or search term"}),(0,s.jsx)("button",{className:"fp-empty-reset",onClick:eA,children:"Reset filters"})]}):eG.map(e=>{var t,a,i,n;let l={id:e._id||e.id,name:e.full_name||e.name,specialty:(Array.isArray(e.speciality)?e.speciality[0]:e.speciality)||"",location:e.location||"UK",expertise:Array.isArray(e.areas_of_expertise)?e.areas_of_expertise:[],experience:e.experience_years,rating:"number"==typeof e.rating?e.rating:(null===(a=e.ratings)||void 0===a?void 0:null===(t=a[0])||void 0===t?void 0:t.Doctor_Rating)||0,image:e.profile_picture_url||"/assets/Virtual%20Triage.png",isAvailable:!0===e.status&&(void 0===e.slots_available||!0===e.slots_available),nextSlot:e.next_available_slot||null,appointmentFee:e.new_appointment_fee||null},r=eg===((null==e?void 0:e.username)||(null==e?void 0:e._id)||(null==e?void 0:e.id)),o=ev===l.id,c=ez(l);return(0,s.jsxs)("div",{className:"fp-card",onClick:()=>!r&&eR(e),style:{cursor:r?"wait":"pointer",opacity:r?.75:1},children:[(0,s.jsx)("div",{className:"fp-card-glow"}),(0,s.jsxs)("div",{className:"fp-card-body",children:[(0,s.jsxs)("div",{className:"fp-card-header",children:[(0,s.jsxs)("div",{className:"fp-card-avatar-wrap",children:[(0,s.jsx)("div",{className:"fp-card-avatar",children:(0,s.jsx)("img",{src:l.image,alt:l.name,width:68,height:68,loading:"lazy"})}),l.isAvailable&&(0,s.jsx)("span",{className:"fp-card-available-dot",title:"Available"})]}),(0,s.jsx)("div",{className:"fp-card-meta",children:(0,s.jsxs)("div",{className:"fp-card-name-row",children:[(0,s.jsxs)("div",{className:"fp-card-name-block",children:[(0,s.jsx)("h3",{className:"fp-card-name",children:l.name}),(0,s.jsx)("p",{className:"fp-card-specialty",children:l.specialty})]}),l.rating>0&&(0,s.jsxs)("div",{className:"fp-card-rating-badge",children:[(0,s.jsx)(y.Z,{size:12,className:"fp-star-icon fp-star-filled",style:{fill:"#eda000",color:"#eda000"}}),(0,s.jsx)("span",{className:"fp-card-rating-value",children:l.rating.toFixed(1)})]})]})})]}),(0,s.jsxs)("div",{className:"fp-card-details",children:[(0,s.jsxs)("div",{className:"fp-card-detail",children:[(0,s.jsx)(N.Z,{size:13,className:"fp-card-detail-icon"}),(0,s.jsxs)("span",{children:["Next available:"," ",(null===(i=l.nextSlot)||void 0===i?void 0:i.day)&&(null===(n=l.nextSlot)||void 0===n?void 0:n.start)?(0,s.jsxs)("strong",{children:[l.nextSlot.day,", ",l.nextSlot.start]}):(0,s.jsx)("strong",{children:"Request Slot"})]})]}),l.experience&&(0,s.jsxs)("div",{className:"fp-card-detail",children:[(0,s.jsx)(b.Z,{size:13,className:"fp-card-detail-icon"}),(0,s.jsxs)("span",{children:[l.experience,"+ years experience"]})]})]}),l.expertise.length>0&&(0,s.jsxs)("div",{className:"fp-card-chips",children:[l.expertise.slice(0,3).map(e=>(0,s.jsx)("span",{className:"fp-card-chip",children:e},e)),l.expertise.length>3&&(0,s.jsxs)("span",{className:"fp-card-chip fp-card-chip-more",children:["+",l.expertise.length-3]})]}),(0,s.jsxs)("div",{className:"fp-card-footer",children:[(0,s.jsxs)("div",{className:"fp-card-status",children:[(0,s.jsx)("span",{className:"fp-status-dot ".concat(c.dotClass)}),(0,s.jsx)("span",{className:"fp-status-text ".concat(c.textClass),children:c.label})]}),(0,s.jsx)("span",{className:"fp-card-arrow",children:(0,s.jsx)(w.Z,{size:16})})]}),(0,s.jsxs)("div",{className:"fp-card-btns-mobile",children:[(0,s.jsx)("button",{className:"fp-btn-outline",onClick:t=>{t.stopPropagation(),eR(e)},disabled:r,children:r?"Loading...":"View Profile"}),(0,s.jsx)("button",{className:"fp-btn-filled fp-btn-teal",onClick:t=>{t.stopPropagation(),eI(e)},disabled:o,children:o?"Loading...":"Book Now"})]})]}),(0,s.jsxs)("div",{className:"fp-card-overlay",children:[(0,s.jsx)("button",{className:"fp-btn-outline",onClick:t=>{t.stopPropagation(),eR(e)},disabled:r,children:r?"Loading...":"View Profile"}),(0,s.jsx)("button",{className:"fp-btn-filled",onClick:t=>{t.stopPropagation(),eI(e)},disabled:o,children:o?"Loading...":"Book Now"})]})]},l.id)})}),B.has_next&&!a&&!p&&(0,s.jsx)("div",{className:"fp-load-more-wrap",children:(0,s.jsxs)("button",{className:"fp-load-more-btn",onClick:eT,disabled:eN,children:[eN?"Loading...":"Load More Practitioners",!eN&&(0,s.jsx)(x.Z,{size:16})]})})]}),(0,s.jsx)(o.Z,{}),(0,s.jsxs)("nav",{className:"fp-bottom-nav","aria-label":"Mobile navigation",children:[(0,s.jsxs)("a",{href:"/",className:"fp-nav-item",children:[(0,s.jsx)(S.Z,{size:20}),(0,s.jsx)("span",{className:"fp-nav-label",children:"Home"})]}),(0,s.jsxs)("a",{href:"/find-practitioners",className:"fp-nav-item fp-nav-item-active",children:[(0,s.jsx)(c.Z,{size:20}),(0,s.jsx)("span",{className:"fp-nav-label",children:"Find Care"})]}),(0,s.jsxs)("a",{href:"/find-practitioners",className:"fp-nav-item",children:[(0,s.jsx)(f.Z,{size:20}),(0,s.jsx)("span",{className:"fp-nav-label",children:"Doctors"})]}),(0,s.jsxs)("a",{href:"/profile",className:"fp-nav-item",children:[(0,s.jsxs)("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:[(0,s.jsx)("circle",{cx:"12",cy:"8",r:"4"}),(0,s.jsx)("path",{d:"M4 20c0-4 3.6-7 8-7s8 3 8 7"})]}),(0,s.jsx)("span",{className:"fp-nav-label",children:"Profile"})]})]}),F&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{className:"fp-sheet-overlay",onClick:()=>V(!1)}),(0,s.jsxs)("div",{className:"fp-sheet",role:"dialog","aria-modal":"true","aria-label":"Filters",children:[(0,s.jsx)("div",{className:"fp-sheet-handle"}),(0,s.jsxs)("div",{className:"fp-sheet-header",children:[(0,s.jsx)("span",{className:"fp-sheet-title",children:"Filters"}),(0,s.jsx)("button",{className:"fp-sheet-close",onClick:()=>V(!1),children:(0,s.jsx)(g.Z,{size:20})})]}),(0,s.jsxs)("div",{className:"fp-sheet-section",children:[(0,s.jsx)("div",{className:"fp-sheet-section-title",children:"Specialties"}),(0,s.jsx)("div",{className:"fp-sheet-options",children:Z.map(e=>(0,s.jsx)("button",{className:"fp-sheet-option".concat(M===e?" fp-sheet-option-active":""),onClick:()=>{ek(e),V(!1)},children:e},e))})]}),(0,s.jsxs)("div",{className:"fp-sheet-section",children:[(0,s.jsx)("div",{className:"fp-sheet-section-title",children:"Location (UK)"}),(0,s.jsx)("div",{className:"fp-sheet-options",children:U.UK.map(e=>(0,s.jsx)("button",{className:"fp-sheet-option".concat(E===e?" fp-sheet-option-active":""),onClick:()=>{e_(e),V(!1)},children:e},e))})]}),(0,s.jsxs)("div",{className:"fp-sheet-section",children:[(0,s.jsx)("div",{className:"fp-sheet-section-title",children:"Language"}),(0,s.jsx)("div",{className:"fp-sheet-options",children:A.map(e=>(0,s.jsx)("button",{className:"fp-sheet-option".concat(q===e?" fp-sheet-option-active":""),onClick:()=>{eC(e),V(!1)},children:e},e))})]}),(0,s.jsxs)("div",{className:"fp-sheet-section",children:[(0,s.jsx)("div",{className:"fp-sheet-section-title",children:"Insurance"}),(0,s.jsx)("div",{className:"fp-sheet-options",children:(0,s.jsx)("button",{className:"fp-sheet-option".concat(J?" fp-sheet-option-active":""),onClick:()=>{eP(),V(!1)},children:"Accepts Insurance"})})]}),(0,s.jsxs)("div",{className:"fp-sheet-footer",children:[(0,s.jsx)("button",{className:"fp-sheet-reset",onClick:()=>{eA(),V(!1)},children:"Clear All"}),(0,s.jsx)("button",{className:"fp-sheet-apply",onClick:()=>V(!1),children:"Show Results"})]})]})]}),(0,s.jsx)(k.Z,{isOpen:eo,onClose:()=>ec(!1),doctorName:null==ed?void 0:ed.full_name,doctorId:null==ed?void 0:ed._id}),(0,s.jsx)(_.default,{isOpen:eh,onClose:()=>{em(!1),ex(null)},clinicId:ef,practitionerEmail:null==ep?void 0:ep.email,practitionerData:ep})]})}}},function(e){e.O(0,[5675,7292,8900,2888,9774,179],function(){return e(e.s=4464)}),_N_E=e.O()}]);