{"version":3,"file":"KindWords.Cly-d-R7.mjs","names":["useState","__esmMin","init_ssg_sandbox_shims","window","_e","p","c","init_jsx_runtime","init_npm_react_18_3_1","ce","init_framer_D6uXRwWs","ControlType","useIsStaticRenderer","addPropertyControls","KindWords","props","isStatic","reduced","setReduced","paused","setPaused","animate","all","quotes","half","rows","rowCount","r","caption","size","mutedColor","textColor","q","card","cardColor","borderColor","key","mask","bodyFont","label","showFeatured","featured","featuredFont","accent","row","speed","i","init_KindWords"],"sources":["https:/framerusercontent.com/modules/DDmdNTglNo99JTNJf1oW/tcVQw4f6gYNCldXRVANc/KindWords.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{useEffect,useState}from\"react\";import{addPropertyControls,ControlType,useIsStaticRenderer}from\"framer\";/**\n * Testimonials: one featured quote, then one or two rows of cards scrolling\n * in opposite directions (pause on hover).\n *\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight auto\n */export default function KindWords(props){const{label,showFeatured,featured,quotes,rowCount,speed,featuredFont,bodyFont,textColor,mutedColor,accent,cardColor,borderColor}=props;const isStatic=useIsStaticRenderer();const[reduced,setReduced]=useState(false);const[paused,setPaused]=useState(null);useEffect(()=>{if(typeof window===\"undefined\")return;setReduced(window.matchMedia(\"(prefers-reduced-motion: reduce)\").matches);},[]);const animate=!isStatic&&!reduced;const all=quotes||[];const half=Math.ceil(all.length/2);const rows=(rowCount===1?[all]:[all.slice(0,half),all.slice(half)]).filter(r=>r.length);const caption=(q,size)=>/*#__PURE__*/_jsxs(\"div\",{style:{marginTop:14,fontSize:size,color:mutedColor},children:[/*#__PURE__*/_jsx(\"b\",{style:{color:textColor,fontWeight:600},children:q.name}),q.project?` \\xb7 ${q.project}`:\"\"]});const card=(q,key)=>/*#__PURE__*/_jsxs(\"figure\",{style:{margin:0,flex:\"0 0 auto\",width:380,boxSizing:\"border-box\",background:cardColor,border:`1px solid ${borderColor}`,borderRadius:18,padding:24,whiteSpace:\"normal\"},children:[/*#__PURE__*/_jsxs(\"blockquote\",{style:{margin:0,fontSize:17,lineHeight:1.5,color:textColor},children:[\"“\",q.quote,\"”\"]}),caption(q,14)]},key);const mask=\"linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent)\";return /*#__PURE__*/_jsxs(\"div\",{style:{width:\"100%\",color:textColor,...bodyFont},children:[/*#__PURE__*/_jsx(\"style\",{children:\"@keyframes kw-slide { to { transform: translateX(-50%); } }\"}),/*#__PURE__*/_jsx(\"div\",{style:{fontSize:13,fontWeight:600,letterSpacing:\"0.08em\",textTransform:\"uppercase\",color:mutedColor},children:label}),showFeatured&&featured?.quote&&/*#__PURE__*/_jsxs(\"figure\",{style:{margin:\"28px 0 56px\",maxWidth:900},children:[/*#__PURE__*/_jsxs(\"blockquote\",{style:{margin:0,color:textColor,...featuredFont},children:[/*#__PURE__*/_jsx(\"span\",{style:{color:accent},children:\"“\"}),featured.quote,/*#__PURE__*/_jsx(\"span\",{style:{color:accent},children:\"”\"})]}),caption(featured,16)]}),rows.map((row,r)=>/*#__PURE__*/_jsx(\"div\",{onMouseEnter:()=>setPaused(r),onMouseLeave:()=>setPaused(null),style:{overflow:\"hidden\",marginTop:r===0?showFeatured?0:36:16,WebkitMaskImage:mask,maskImage:mask},children:/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",gap:16,width:animate?\"max-content\":\"auto\",flexWrap:animate?\"nowrap\":\"wrap\",animation:animate?`kw-slide ${Math.max(row.length*speed,10)}s linear infinite${r%2?\" reverse\":\"\"}`:\"none\",animationPlayState:paused===r?\"paused\":\"running\"},children:[row.map((q,i)=>card(q,`a${i}`)),animate&&row.map((q,i)=>card(q,`b${i}`))]})},r))]});}addPropertyControls(KindWords,{label:{type:ControlType.String,title:\"Label\",defaultValue:\"Kind words from colleagues\"},showFeatured:{type:ControlType.Boolean,title:\"Featured\",defaultValue:true,enabledTitle:\"Show\",disabledTitle:\"Hide\"},featured:{type:ControlType.Object,title:\"Featured Quote\",controls:{quote:{type:ControlType.String,title:\"Quote\",displayTextArea:true},name:{type:ControlType.String,title:\"Name\"},project:{type:ControlType.String,title:\"Project\"}},defaultValue:{quote:\"I learned so much from your approach. I love how you take ownership of projects and lead the work forward, never waiting for the last minute.\",name:\"[name]\",project:\"Lamborghini B2B\"},hidden:p=>!p.showFeatured},quotes:{type:ControlType.Array,title:\"Quotes\",control:{type:ControlType.Object,controls:{quote:{type:ControlType.String,title:\"Quote\",displayTextArea:true},name:{type:ControlType.String,title:\"Name\"},project:{type:ControlType.String,title:\"Project\"}}},defaultValue:[{quote:\"The UX team worked well thanks to her guidance and support. She delegated work, while helping the people on her team improve.\",name:\"Nicoletta S.\",project:\"Lamborghini B2B\"},{quote:\"Chiara has grown a lot in organisation and leadership, creating value for the team through her direct relationship with Lamborghini's project lead.\",name:\"Renato M.\",project:\"Lamborghini B2B\"},{quote:\"One of her standout strengths has been communication: clear, proactive and responsive. It made it so much easier for the entire team to stay aligned.\",name:\"Allison S.\",project:\"Lamborghini B2B\"},{quote:\"A decisive contribution to both the UX and UI of the e-commerce, and great task management together with more junior team members.\",name:\"Giuseppe T.\",project:\"Lamborghini B2B\"},{quote:\"In a matter of weeks she owned the mockups and helped everyone on the team get locked in on the same understanding of the need.\",name:\"Fida B.\",project:\"Nestl\\xe9\"},{quote:\"She brought real value through high-quality designs, proactive ideas and clear direction the development team could rely on.\",name:\"No\\xe9mie E.\",project:\"Nestl\\xe9\"},{quote:\"The project is easier with you on board.\",name:\"Gautier L.\",project:\"Nestl\\xe9\"},{quote:\"Chiara was a pillar of the project. Her functional documentation for the developers was best-practice material.\",name:\"[name]\",project:\"ELT Group\"},{quote:\"Extremely precise and competent. On both projects we worked on together, the output was excellent.\",name:\"Grazia B.\",project:\"ELT Group\"},{quote:\"Excellent work in perfect synergy with the rest of the team, with a high level of quality on everything she delivered.\",name:\"Alessandro D.\",project:\"Poste Italiane\"},{quote:\"She played an important role in the success of the project.\",name:\"Paola T.\",project:\"Poste Italiane\"},{quote:\"Extremely effective and efficient at getting things done. She always brings a lot of energy to the team.\",name:\"Bianca R.\",project:\"BPM\"},{quote:\"Very proactive and creative. She is not afraid to voice her opinions and offer different ideas.\",name:\"[name]\",project:\"Volkswagen workshop\"},{quote:\"An excellent ability to collaborate with colleagues of different backgrounds and seniority.\",name:\"[name]\",project:\"Marelli\"},{quote:\"Always ready to meet the needs of the whole team, finding the best solution for everyone.\",name:\"[name]\",project:\"Leasys\"}]},rowCount:{type:ControlType.Enum,title:\"Rows\",options:[1,2],optionTitles:[\"1\",\"2\"],displaySegmentedControl:true,defaultValue:2},speed:{type:ControlType.Number,title:\"Seconds / Card\",defaultValue:9,min:2,max:30,step:1,unit:\"s\"},featuredFont:{type:ControlType.Font,title:\"Featured Font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:\"40px\",variant:\"Medium\",lineHeight:\"1.2em\",letterSpacing:\"-0.015em\"}},bodyFont:{type:ControlType.Font,title:\"Body Font\",controls:\"basic\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:\"16px\",variant:\"Regular\"}},textColor:{type:ControlType.Color,title:\"Text\",defaultValue:\"#F3F1EC\"},mutedColor:{type:ControlType.Color,title:\"Muted\",defaultValue:\"#9B9993\"},accent:{type:ControlType.Color,title:\"Accent\",defaultValue:\"#EC571A\"},cardColor:{type:ControlType.Color,title:\"Card\",defaultValue:\"#141417\"},borderColor:{type:ControlType.Color,title:\"Card Border\",defaultValue:\"rgba(255,255,255,0.12)\"}});KindWords.displayName=\"Kind Words\";\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"KindWords\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"auto\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./KindWords.map"],"mappings":"A,8MAMG,SAAwBc,EAAU,EAAM,CAAC,GAA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