{"version":3,"file":"TestimonialsSection.CLH2fep3.mjs","names":["useRef"],"sources":["https:/framerusercontent.com/modules/aiD95prvoGomVqSquyVn/5znVIxHIMfT7OwubRgzL/TestimonialsSection.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{useEffect,useRef}from\"react\";const css=`\n@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');\n*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}\n.tm-wrap{container-type:inline-size;width:100%}\n.tm-root{width:100%;background:#0a0810;color:#EDEDEF;font-family:'Inter',system-ui,sans-serif;-webkit-font-smoothing:antialiased;padding:6rem 2rem}\n.tm-inner{width:100%;max-width:1200px;margin:0 auto}\n.tm-head{text-align:center;margin-bottom:3.5rem}\n.tm-label{font-family:'JetBrains Mono',monospace;font-size:.7rem;letter-spacing:.15em;text-transform:uppercase;color:#D3C1F1;display:inline-flex;align-items:center;gap:.5rem;padding:.35rem .8rem .35rem 1.4rem;border:1px solid rgba(211,193,241,.2);border-radius:100px;margin-bottom:1.5rem;position:relative}\n.tm-label::before{content:'';position:absolute;left:.55rem;top:50%;transform:translateY(-50%);width:5px;height:5px;border-radius:50%;background:#D3C1F1;animation:tm-pulse 2s ease-in-out infinite}\n@keyframes tm-pulse{0%,100%{opacity:1}50%{opacity:.4}}\n.tm-head h2{font-family:'Space Grotesk',system-ui,sans-serif;font-size:2.5rem;font-weight:500;letter-spacing:-.02em}\n.tm-head h2 em{font-style:normal;font-weight:700;color:#FEF1F2}\n.tm-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(300px,100%),1fr));gap:1.5rem}\n.tm-card{background:#120e1a;border:1px solid rgba(255,255,255,.07);border-radius:14px;padding:2.5rem;position:relative;transition:border-color .3s,transform .4s cubic-bezier(.16,1,.3,1)}\n.tm-card:hover{border-color:rgba(211,193,241,.18);transform:translateY(-4px)}\n.tm-card::before{content:'\"';position:absolute;top:1.25rem;left:1.75rem;font-family:'Space Grotesk',sans-serif;font-size:3.5rem;line-height:1;color:rgba(211,193,241,.15);pointer-events:none}\n.tm-quote{font-family:'Space Grotesk',system-ui,sans-serif;font-size:1.1rem;font-style:italic;line-height:1.6;color:#EDEDEF;margin-bottom:1.5rem;padding-top:.5rem}\n.tm-attr{display:flex;align-items:center;gap:.75rem}\n.tm-avatar{width:40px;height:40px;border-radius:50%;flex-shrink:0;background:linear-gradient(135deg,rgba(246,79,89,.15),rgba(196,113,237,.1));border:1px solid rgba(211,193,241,.15);display:flex;align-items:center;justify-content:center;font-family:'Space Grotesk',sans-serif;font-size:.85rem;font-weight:600;color:#D3C1F1}\n.tm-info .tm-name{font-size:.85rem;font-weight:600;color:#EDEDEF}\n.tm-info .tm-role{font-size:.78rem;color:#5E5E6B}\n.tm-info .tm-firm{font-size:.78rem;color:#D3C1F1;font-weight:500}\n.fa{opacity:0;transform:translateY(40px);transition:opacity .8s cubic-bezier(.16,1,.3,1),transform .8s cubic-bezier(.16,1,.3,1)}.fa.v{opacity:1;transform:translateY(0)}.fa.d1{transition-delay:.1s}.fa.d2{transition-delay:.2s}.fa.d3{transition-delay:.3s}\n@container(max-width:900px){.tm-head h2{font-size:2rem}.tm-root{padding:5rem 1.5rem}}\n@container(max-width:600px){.tm-root{padding:4rem 1.25rem}.tm-head{margin-bottom:2.5rem}.tm-head h2{font-size:1.5rem}.tm-card{padding:1.75rem}.tm-quote{font-size:.95rem}}\n`;function TestimonialsSection(props){const ref=useRef(null);useEffect(()=>{if(!ref.current)return;const els=ref.current.querySelectorAll(\".fa\");const obs=new IntersectionObserver(e=>{e.forEach(i=>{if(i.isIntersecting){i.target.classList.add(\"v\");obs.unobserve(i.target);}});},{threshold:.1,rootMargin:\"0px 0px -30px 0px\"});els.forEach(el=>obs.observe(el));return()=>obs.disconnect();},[]);const testimonials=[{q:props.q1,n:props.name1,r:props.role1,f:props.firm1,i:props.initials1},{q:props.q2,n:props.name2,r:props.role2,f:props.firm2,i:props.initials2}];return /*#__PURE__*/_jsxs(\"div\",{className:\"tm-wrap\",ref:ref,style:{width:\"100%\"},children:[/*#__PURE__*/_jsx(\"style\",{children:css}),/*#__PURE__*/_jsx(\"div\",{className:\"tm-root\",children:/*#__PURE__*/_jsxs(\"div\",{className:\"tm-inner\",children:[/*#__PURE__*/_jsxs(\"div\",{className:\"tm-head\",children:[/*#__PURE__*/_jsx(\"span\",{className:\"tm-label fa\",children:\"Customer Stories\"}),/*#__PURE__*/_jsx(\"h2\",{className:\"fa d1\",dangerouslySetInnerHTML:{__html:props.heading}})]}),/*#__PURE__*/_jsx(\"div\",{className:\"tm-grid\",children:testimonials.map((t,i)=>/*#__PURE__*/_jsxs(\"div\",{className:`tm-card fa d${i+1}`,children:[/*#__PURE__*/_jsx(\"div\",{className:\"tm-quote\",children:t.q}),/*#__PURE__*/_jsxs(\"div\",{className:\"tm-attr\",children:[/*#__PURE__*/_jsx(\"div\",{className:\"tm-avatar\",children:t.i}),/*#__PURE__*/_jsxs(\"div\",{className:\"tm-info\",children:[/*#__PURE__*/_jsx(\"div\",{className:\"tm-name\",children:t.n}),/*#__PURE__*/_jsx(\"div\",{className:\"tm-role\",children:t.r}),/*#__PURE__*/_jsx(\"div\",{className:\"tm-firm\",children:t.f})]})]})]},i))})]})})]});}TestimonialsSection.defaultProps={heading:\"Trusted by firms <em>across the board</em>\",q1:\"Research used to be a black hole. Now, I just type the question and get a citable IRS answer in seconds.\",name1:\"Tax Manager\",firm1:\"Sama Tributa\",initials1:\"ST\",q2:\"80% faster first drafts. What used to take us two days is now done in two hours.\",name2:\"Managing Partner\",firm2:\"Northbridge Tax Advisory\",initials2:\"NT\"};addPropertyControls(TestimonialsSection,{heading:{type:ControlType.String,title:\"Heading (HTML)\",defaultValue:\"Trusted by firms <em>across the board</em>\"},q1:{type:ControlType.String,title:\"Quote 1\",defaultValue:\"Research used to be a black hole. Now, I just type the question and get a citable IRS answer in seconds.\"},initials1:{type:ControlType.String,title:\"Initials 1\",defaultValue:\"ST\"},name1:{type:ControlType.String,title:\"Name 1\",defaultValue:\"Tax Manager\"},firm1:{type:ControlType.String,title:\"Firm 1\",defaultValue:\"Sama Tributa\"},q2:{type:ControlType.String,title:\"Quote 2\",defaultValue:\"80% faster first drafts. What used to take us two days is now done in two hours.\"},initials2:{type:ControlType.String,title:\"Initials 2\",defaultValue:\"NT\"},name2:{type:ControlType.String,title:\"Name 2\",defaultValue:\"Managing Partner\"},firm2:{type:ControlType.String,title:\"Firm 2\",defaultValue:\"Northbridge Tax Advisory\"}});export default TestimonialsSection;\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"TestimonialsSection\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./TestimonialsSection.map"],"mappings":"wLAyBE,SAAS,EAAoB,EAAM,CAAC,IAAM,EAAIA,EAAO,IAAI,EAAE,MAAc,CAAC,GAAG,CAAC,EAAI,QAAQ,OAAO,IAAM,EAAI,EAAI,QAAQ,iBAAiB,KAAK,EAAQ,EAAI,IAAI,qBAAqB,GAAG,CAAC,EAAE,QAAQ,GAAG,CAAI,EAAE,iBAAgB,EAAE,OAAO,UAAU,IAAI,GAAG,EAAE,EAAI,UAAU,EAAE,MAAM,EAAG,CAAC,CAAE,EAAE,CAAC,UAAU,GAAG,WAAW,mBAAmB,CAAC,EAAmC,OAAjC,EAAI,QAAQ,GAAI,EAAI,QAAQ,CAAE,CAAC,MAAY,EAAI,WAAW,CAAE,EAAE,CAAC,CAAC,EAAE,IAAM,EAAa,CAAC,CAAC,EAAE,EAAM,GAAG,EAAE,EAAM,MAAM,EAAE,EAAM,MAAM,EAAE,EAAM,MAAM,EAAE,EAAM,SAAS,EAAE,CAAC,EAAE,EAAM,GAAG,EAAE,EAAM,MAAM,EAAE,EAAM,M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