PageSourceSearch

https://mrcbkk.com/assets/Testimonials-f8WKw73b.js

js mrcbkk.com collected 2026-10-05 05:38:02 UTC 5,072 bytes, 1 lines download raw bytes

1import{j as e}from"./radix-NL_Qi67V.js";import{r as d}from"./carousel-BrC0coGD.js";import{u as x}from"./index-D4olBTtU.js";import{_ as h}from"./icons-D9Ito4zZ.js";import"./three-qwzlfmDq.js";const b=()=>{const[r,c]=d.useState(0),{t:l}=x(),s=[{name:"James R.",text:"The stem cell therapy at MRC completely changed my life. I was struggling with chronic knee pain for years and after just a few sessions I feel stronger and more mobile than ever.",rating:5},{name:"Sarah M.",text:"I flew in from Singapore specifically for MRC's stem cell program. The team was incredibly professional and the results exceeded everything I was hoping for. Truly world class.",rating:5},{name:"David L.",text:"After trying every conventional treatment for my joint condition, stem cell therapy here was the answer. The doctors took the time to explain everything and the care was exceptional.",rating:5},{name:"Priya S.",text:"The regenerative stem cell treatment gave me my energy and mobility back. I cannot recommend MRC Healthcare enough. The entire experience from consultation to aftercare was seamless.",rating:5},{name:"Michael T.",text:"Outstanding results from the stem cell therapy program. My inflammation is gone and I feel years younger. The medical team here is among the best I have encountered anywhere in the world.",rating:5},{name:"Linda C.",text:"MRC's stem cell treatment helped me recover from a condition that three other clinics could not resolve. The professionalism and genuine care shown by every member of the team was remarkable.",rating:5}],n=[];for(let a=0;a<s.length;a+=2)n.push(s.slice(a,a+2));const i=(a,t)=>e.jsxs("div",{className:"testimonial-card flex flex-col p-7 animate-fade-in h-full",style:{backgroundColor:"#FDFAF5",border:"1px solid rgba(27,43,75,0.35)",borderLeft:"3px solid #C9A96E",borderRadius:"16px",boxShadow:"0 4px 20px rgba(15,15,15,0.08)",animationDelay:`${t*.1}s`},children:[e.jsx("div",{className:"font-serif italic leading-none mb-2",style:{color:"#1B2B4B",fontSize:"40px"},"aria-hidden":"true",children:"“"}),e.jsx("p",{className:"font-serif italic leading-relaxed mb-6 flex-1",style:{color:"#1B2B4B",fontSize:"14px"},children:a.text}),e.jsx("div",{className:"w-full h-px mb-4",style:{backgroundColor:"rgba(27,43,75,0.3)"}}),e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"flex items-center justify-center rounded-full flex-shrink-0",style:{width:"40px",height:"40px",backgroundColor:"rgba(27,43,75,0.12)",border:"1px solid rgba(27,43,75,0.4)"},children:e.jsx("span",{className:"font-serif leading-none",style:{color:"#1B2B4B",fontSize:"20px"},children:a.name.charAt(0)})}),e.jsx("div",{className:"flex-1 min-w-0",children:e.jsx("p",{className:"text-sm md:text-base leading-tight",style:{color:"#1B2B4B"},children:a.name})}),e.jsx("div",{className:"flex gap-1 flex-shrink-0",children:[...Array(a.rating)].map((m,o)=>e.jsx(h,{className:"h-3 w-3",style:{color:"#1B2B4B",fill:"#1B2B4B"}},o))})]})]},t);return e.jsx("section",{className:"py-12 md:py-20",style:{backgroundColor:"#FFFFFF"},children:e.jsx("div",{className:"container mx-auto px-4 md:px-20",children:e.jsxs("div",{className:"max-w-6xl mx-auto",children:[e.jsxs("div",{className:"text-center mb-10 md:mb-16 animate-fade-in-up",children:[e.jsxs("div",{className:"flex items-center justify-center gap-2 md:gap-3 mb-3",children:[e.jsx("span",{className:"block h-px w-4 md:w-6",style:{backgroundColor:"#C9A96E"}}),e.jsx("p",{className:"text-xs md:text-sm font-semibold uppercase",style:{color:"#C9A96E",letterSpacing:"0.2em"},children:l("testimonials.tagline")})]}),e.jsx("h2",{className:"font-serif text-3xl md:text-5xl font-semibold mb-6",style:{color:"#1B2B4B"},children:l("testimonials.title")}),e.jsx("p",{className:"text-lg max-w-3xl mx-auto",style:{color:"#1B2B4B"},children:l("testimonials.description")})]}),e.jsx("div",{className:"md:hidden",children:e.jsxs("div",{className:"relative overflow-hidden",children:[e.jsx("div",{className:"flex transition-transform duration-500 ease-in-out",style:{transform:`translateX(-${r*100}%)`},children:n.map((a,t)=>e.jsx("div",{className:"w-full flex-shrink-0 px-2",children:e.jsx("div",{className:"flex flex-col gap-6",children:a.map((m,o)=>i(m,t*2+o))})},t))}),e.jsx("div",{className:"flex justify-center gap-2 mt-4",children:n.map((a,t)=>e.jsx("button",{onClick:()=>c(t),className:"h-2 rounded-full transition-all",style:{width:r===t?"16px":"8px",backgroundColor:r===t?"#1B2B4B":"rgba(15,15,15,0.2)"}},t))})]})}),e.jsx("div",{className:"hidden md:block relative overflow-hidden",style:{maskImage:"linear-gradient(to right, transparent, black 10%, black 90%, transparent)",WebkitMaskImage:"linear-gradient(to right, transparent, black 10%, black 90%, transparent)"},children:e.jsxs("div",{className:"flex gap-6 w-max animate-marquee",children:[s.map((a,t)=>e.jsx("div",{style:{minWidth:"340px",maxWidth:"380px"},children:i(a,t)},`a-${t}`)),s.map((a,t)=>e.jsx("div",{"aria-hidden":"true",style:{minWidth:"340px",maxWidth:"380px"},children:i(a,t)},`b-${t}`))]})})]})})})};export{b as default};

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.