{"version":3,"file":"horizontal_stack_4_icons.DBffhrHH.mjs","names":["useState"],"sources":["https:/framerusercontent.com/modules/VdwGT13VO0ryG4WrX06m/GJMJzlne58qViplLwNKT/horizontal_stack_4_icons.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{useState,useEffect}from\"react\";const defaultIcon='<svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M9.5 8.5L5.5 4.5M5.5 4.5H9.5M5.5 4.5V8.5\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/><path d=\"M14.5 8.5L18.5 4.5M18.5 4.5H14.5M18.5 4.5V8.5\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/><path d=\"M9.5 15.5L5.5 19.5M5.5 19.5H9.5M5.5 19.5V15.5\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/><path d=\"M14.5 15.5L18.5 19.5M18.5 19.5H14.5M18.5 19.5V15.5\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/></svg>';/**\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight auto\n */export default function Horizontal_stack_4(props){const{sectionLabel,sectionLabelColor,sectionTitle,sectionTitleColor,card1Icon,card1Title,card1Body,card2Icon,card2Title,card2Body,card3Icon,card3Title,card3Body,card4Icon,card4Title,card4Body,iconBgColor,iconColor,accentColor,titleColor,bodyColor,font}=props;const[isMobile,setIsMobile]=useState(false);const[isTablet,setIsTablet]=useState(false);useEffect(()=>{const checkSize=()=>{const w=window.innerWidth;setIsMobile(w<640);setIsTablet(w>=640&&w<1024);};checkSize();window.addEventListener(\"resize\",checkSize);return()=>window.removeEventListener(\"resize\",checkSize);},[]);const renderIcon=iconSrc=>{if(iconSrc){return /*#__PURE__*/_jsx(\"img\",{src:iconSrc,alt:\"\",style:{width:24,height:24,objectFit:\"contain\"}});}return /*#__PURE__*/_jsx(\"div\",{style:{width:24,height:24,color:iconColor},dangerouslySetInnerHTML:{__html:defaultIcon}});};const fontFamily=font||\"Inter, system-ui, -apple-system, sans-serif\";const cardStyle={display:\"flex\",flexDirection:\"column\",gap:20,flex:isMobile?\"1 1 100%\":isTablet?\"1 1 calc(50% - 20px)\":\"1 1 0%\",minWidth:0};const iconContainerStyle={width:48,height:48,borderRadius:12,backgroundColor:iconBgColor,display:\"flex\",alignItems:\"center\",justifyContent:\"center\",flexShrink:0};const titleStyle={fontSize:16,fontWeight:600,lineHeight:1.4,color:titleColor,margin:0,paddingLeft:12,borderLeft:\"3px solid \"+accentColor,fontFamily};const bodyStyle={fontSize:15,fontWeight:400,lineHeight:1.6,color:bodyColor,margin:0,fontFamily};const cards=[{icon:card1Icon,title:card1Title,body:card1Body},{icon:card2Icon,title:card2Title,body:card2Body},{icon:card3Icon,title:card3Title,body:card3Body},{icon:card4Icon,title:card4Title,body:card4Body}];return /*#__PURE__*/_jsx(\"div\",{style:{width:\"100%\",display:\"flex\",justifyContent:\"center\",fontFamily},children:/*#__PURE__*/_jsxs(\"div\",{style:{width:\"100%\",maxWidth:1200,display:\"flex\",flexDirection:\"column\",gap:isMobile?32:48,padding:isMobile?\"0 20px\":isTablet?\"0 32px\":\"0\"},children:[/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"column\",gap:16},children:[sectionLabel&&/*#__PURE__*/_jsx(\"p\",{style:{fontSize:14,fontWeight:600,lineHeight:1.4,color:sectionLabelColor,margin:0,letterSpacing:\"0.02em\",fontFamily},children:sectionLabel}),sectionTitle&&/*#__PURE__*/_jsx(\"h2\",{style:{fontSize:isMobile?28:isTablet?34:40,fontWeight:600,lineHeight:1.2,color:sectionTitleColor,margin:0,maxWidth:720,letterSpacing:\"-0.02em\",fontFamily},children:sectionTitle})]}),/*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",flexWrap:\"wrap\",gap:isMobile?32:40},children:cards.map((card,i)=>/*#__PURE__*/_jsxs(\"div\",{style:cardStyle,children:[/*#__PURE__*/_jsx(\"div\",{style:iconContainerStyle,children:renderIcon(card.icon)}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"column\",gap:8},children:[/*#__PURE__*/_jsx(\"p\",{style:titleStyle,children:card.title}),/*#__PURE__*/_jsx(\"p\",{style:bodyStyle,children:card.body})]})]},i))})]})});}addPropertyControls(Horizontal_stack_4,{sectionLabel:{title:\"Section Label\",type:ControlType.String,defaultValue:\"Unified stack\"},sectionLabelColor:{title:\"Label Color\",type:ControlType.Color,defaultValue:\"#00D4AA\"},sectionTitle:{title:\"Section Title\",type:ControlType.String,defaultValue:\"A better developer and user experience\",displayTextArea:true},sectionTitleColor:{title:\"Title Color\",type:ControlType.Color,defaultValue:\"#0A2540\"},accentColor:{title:\"Accent Color\",type:ControlType.Color,defaultValue:\"#00D4AA\"},card1Icon:{title:\"Card 1 Icon\",type:ControlType.Image},card1Title:{title:\"Card 1 Title\",type:ControlType.String,defaultValue:\"Easy integration\"},card1Body:{title:\"Card 1 Body\",type:ControlType.String,defaultValue:\"Use a single integration to connect to users' accounts, move money, and build financial products.\",displayTextArea:true},card2Icon:{title:\"Card 2 Icon\",type:ControlType.Image},card2Title:{title:\"Card 2 Title\",type:ControlType.String,defaultValue:\"Privacy and transparency\"},card2Body:{title:\"Card 2 Body\",type:ControlType.String,defaultValue:\"Earn users' trust by accessing only the data you need and conveying what data is shared and with whom.\",displayTextArea:true},card3Icon:{title:\"Card 3 Icon\",type:ControlType.Image},card3Title:{title:\"Card 3 Title\",type:ControlType.String,defaultValue:\"Comprehensive coverage\"},card3Body:{title:\"Card 3 Body\",type:ControlType.String,defaultValue:\"Connect instantly to over 97% of US bank accounts and reliably retrieve data that users have agreed to share.\",displayTextArea:true},card4Icon:{title:\"Card 4 Icon\",type:ControlType.Image},card4Title:{title:\"Card 4 Title\",type:ControlType.String,defaultValue:\"Optimised for conversion\"},card4Body:{title:\"Card 4 Body\",type:ControlType.String,defaultValue:\"Reduce drop-off during checkout and other processes by streamlining account verification and data sharing.\",displayTextArea:true},iconBgColor:{title:\"Icon Background\",type:ControlType.Color,defaultValue:\"#F6F9FC\"},iconColor:{title:\"Icon Color\",type:ControlType.Color,defaultValue:\"#00D4AA\"},titleColor:{title:\"Card Title Color\",type:ControlType.Color,defaultValue:\"#0A2540\"},bodyColor:{title:\"Body Text Color\",type:ControlType.Color,defaultValue:\"#425466\"},font:{title:\"Font Family\",type:ControlType.String,defaultValue:\"Inter, system-ui, -apple-system, sans-serif\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Horizontal_stack_4\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"any\",\"framerSupportedLayoutHeight\":\"auto\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./horizontal_stack_4_icons.map"],"mappings":"sMAGG,SAAwB,EAAmB,EAAM,CAAC,GAAK,CAAC,eAAa,oBAAkB,eAAa,oBAAkB,YAAU,aAAW,YAAU,YAAU,aAAW,YAAU,YAAU,aAAW,YAAU,YAAU,aAAW,YAAU,cAAY,YAAU,cAAY,aAAW,YAAU,QAAM,EAAW,CAAC,EAAS,GAAaA,EAAS,GAAM,CAAM,CAAC,EAAS,GAAaA,EAAS,GAAM,CAAC,MAAc,CAAC,IAAM,MAAc,CAAC,IAAM,EAAE,EAAO,WAAW,EAAY,EAAE,IAAI,CAAC,EAAY,GAAG,KAAK,EAAE,KAAK,EAA2D,OAAxD,GAAW,CAAC,EAAO,iBAAiB,SAAS,EAAU,KAAW,EAAO,oBAAoB,SAAS,EAAU,EAAG,EAAE,CAAC,CAAC,IAAM,EAAW,GAAa,EAA6B,EAAK,MAAM,CAAC,IAAI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