{"version":3,"file":"SplitAccordion.C3A9Py6b.mjs","names":["useState"],"sources":["https:/framerusercontent.com/modules/D5C1Uf8w3pGht5f2xfGt/J5WkZu4D1E2WqRxcDbwk/SplitAccordion.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{useState}from\"react\";function AccordionRow({item,isOpen,onToggle,accentColor,cardBackground,cardBorderColor,cardBorderRadius,cardPadding,itemTitleSize,itemTitleWeight,itemTitleColor,itemBodySize,itemBodyColor}){return /*#__PURE__*/_jsxs(\"div\",{style:{backgroundColor:cardBackground,border:`1px solid ${isOpen?accentColor:cardBorderColor}`,borderRadius:`${cardBorderRadius}px`,padding:`${cardPadding}px`,transition:\"border-color 200ms ease\",cursor:\"pointer\"},onClick:onToggle,children:[/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",alignItems:\"center\",gap:\"14px\"},children:[/*#__PURE__*/_jsx(\"div\",{style:{width:\"30px\",height:\"30px\",borderRadius:\"50%\",backgroundColor:isOpen?accentColor:\"rgba(32,62,235,0.10)\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",flexShrink:0,transition:\"background-color 200ms ease\"},children:/*#__PURE__*/_jsx(\"svg\",{width:\"14\",height:\"14\",viewBox:\"0 0 14 14\",fill:\"none\",style:{transform:isOpen?\"rotate(180deg)\":\"rotate(0deg)\",transition:\"transform 250ms ease\"},children:/*#__PURE__*/_jsx(\"path\",{d:\"M3 5L7 9L11 5\",stroke:isOpen?\"rgb(255,255,255)\":accentColor,strokeWidth:\"1.8\",strokeLinecap:\"round\",strokeLinejoin:\"round\"})})}),/*#__PURE__*/_jsx(\"span\",{style:{fontFamily:\"Geist, sans-serif\",fontWeight:itemTitleWeight,fontSize:`${itemTitleSize}px`,color:itemTitleColor,lineHeight:1.3,flex:1},children:item.title})]}),/*#__PURE__*/_jsx(\"div\",{style:{maxHeight:isOpen?\"600px\":\"0px\",opacity:isOpen?1:0,overflow:\"hidden\",transition:\"max-height 320ms ease, opacity 250ms ease\"},children:/*#__PURE__*/_jsx(\"div\",{style:{paddingTop:\"12px\",paddingLeft:\"44px\",fontFamily:\"Inter, sans-serif\",fontWeight:400,fontSize:`${itemBodySize}px`,color:itemBodyColor,lineHeight:1.65},children:item.body})})]});}export default function SplitAccordion({item1Title=\"Role-based segmentation\",item1Body=\"We split your ICP by role — procurement, ops, engineering, leadership — and build a separate message for each. One message for everyone is why most outreach fails.\",item2Title=\"Proof blocks that reduce risk\",item2Body=\"Manufacturing buyers are risk-averse. We turn your past work into short proof blocks that lower switching risk and give buyers a reason to respond instead of ignore.\",item3Title=\"Outbound that runs weekly\",item3Body=\"We run structured outreach every week without gaps. Consistent follow-up with fast reply routing is what separates pipeline that compounds from campaigns that go cold.\",item4Title=\"One message across channels\",item4Body=\"LinkedIn content, outbound, and any paid activity all carry the same message. Buyers recognise you faster and trust builds quicker when every channel says the same thing.\",item5Title=\"\",item5Body=\"\",item6Title=\"\",item6Body=\"\",itemTitleSize=16,itemTitleWeight=600,itemTitleColor=\"rgb(17,17,17)\",itemBodySize=14,itemBodyColor=\"rgb(85,85,85)\",accentColor=\"rgb(32,62,235)\",cardBackground=\"rgb(255,255,255)\",cardBorderColor=\"rgb(226,232,240)\",cardBorderRadius=12,cardPadding=20,gap=10,startAllClosed=false,defaultOpenIndex=0}){const initialOpen=startAllClosed?null:defaultOpenIndex;const[openIndex,setOpenIndex]=useState(initialOpen);const items=[{title:item1Title,body:item1Body},{title:item2Title,body:item2Body},{title:item3Title,body:item3Body},{title:item4Title,body:item4Body},{title:item5Title,body:item5Body},{title:item6Title,body:item6Body}].filter(item=>item.title.trim()!==\"\");return /*#__PURE__*/_jsx(\"div\",{style:{width:\"100%\",display:\"flex\",flexDirection:\"column\",gap:`${gap}px`},children:items.map((item,i)=>/*#__PURE__*/_jsx(AccordionRow,{item:item,isOpen:openIndex===i,onToggle:()=>setOpenIndex(openIndex===i?null:i),accentColor:accentColor,cardBackground:cardBackground,cardBorderColor:cardBorderColor,cardBorderRadius:cardBorderRadius,cardPadding:cardPadding,itemTitleSize:itemTitleSize,itemTitleWeight:itemTitleWeight,itemTitleColor:itemTitleColor,itemBodySize:itemBodySize,itemBodyColor:itemBodyColor},i))});}addPropertyControls(SplitAccordion,{startAllClosed:{type:ControlType.Boolean,title:\"Start closed\",defaultValue:false,enabledTitle:\"All closed\",disabledTitle:\"One open\"},defaultOpenIndex:{type:ControlType.Number,title:\"Open item\",defaultValue:0,min:0,max:5,step:1,displayStepper:true,hidden:props=>props.startAllClosed===true},item1Title:{type:ControlType.String,title:\"Item 1 title\",defaultValue:\"Role-based segmentation\"},item1Body:{type:ControlType.String,title:\"Item 1 body\",displayTextArea:true,defaultValue:\"We split your ICP by role — procurement, ops, engineering, leadership — and build a separate message for each. One message for everyone is why most outreach fails.\"},item2Title:{type:ControlType.String,title:\"Item 2 title\",defaultValue:\"Proof blocks that reduce risk\"},item2Body:{type:ControlType.String,title:\"Item 2 body\",displayTextArea:true,defaultValue:\"Manufacturing buyers are risk-averse. We turn your past work into short proof blocks that lower switching risk and give buyers a reason to respond instead of ignore.\"},item3Title:{type:ControlType.String,title:\"Item 3 title\",defaultValue:\"Outbound that runs weekly\"},item3Body:{type:ControlType.String,title:\"Item 3 body\",displayTextArea:true,defaultValue:\"We run structured outreach every week without gaps. Consistent follow-up with fast reply routing is what separates pipeline that compounds from campaigns that go cold.\"},item4Title:{type:ControlType.String,title:\"Item 4 title\",defaultValue:\"One message across channels\"},item4Body:{type:ControlType.String,title:\"Item 4 body\",displayTextArea:true,defaultValue:\"LinkedIn content, outbound, and any paid activity all carry the same message. Buyers recognise you faster and trust builds quicker when every channel says the same thing.\"},item5Title:{type:ControlType.String,title:\"Item 5 title (opt.)\",defaultValue:\"\"},item5Body:{type:ControlType.String,title:\"Item 5 body (opt.)\",displayTextArea:true,defaultValue:\"\"},item6Title:{type:ControlType.String,title:\"Item 6 title (opt.)\",defaultValue:\"\"},item6Body:{type:ControlType.String,title:\"Item 6 body (opt.)\",displayTextArea:true,defaultValue:\"\"},accentColor:{type:ControlType.Color,title:\"Accent colour\",defaultValue:\"rgb(32,62,235)\"},cardBackground:{type:ControlType.Color,title:\"Card bg\",defaultValue:\"rgb(255,255,255)\"},cardBorderColor:{type:ControlType.Color,title:\"Card border\",defaultValue:\"rgb(226,232,240)\"},cardBorderRadius:{type:ControlType.Number,title:\"Card radius\",defaultValue:12,min:0,max:24,step:2,displayStepper:true},cardPadding:{type:ControlType.Number,title:\"Card padding\",defaultValue:20,min:12,max:40,step:2,displayStepper:true},gap:{type:ControlType.Number,title:\"Gap between\",defaultValue:10,min:4,max:24,step:2,displayStepper:true},itemTitleSize:{type:ControlType.Number,title:\"Title size\",defaultValue:16,min:13,max:22,step:1,displayStepper:true},itemTitleWeight:{type:ControlType.Number,title:\"Title weight\",defaultValue:600,min:400,max:800,step:100,displayStepper:true},itemTitleColor:{type:ControlType.Color,title:\"Title colour\",defaultValue:\"rgb(17,17,17)\"},itemBodySize:{type:ControlType.Number,title:\"Body size\",defaultValue:14,min:12,max:18,step:1,displayStepper:true},itemBodyColor:{type:ControlType.Color,title:\"Body colour\",defaultValue:\"rgb(85,85,85)\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"SplitAccordion\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./SplitAccordion.map"],"mappings":"iLAAyI,SAAS,EAAa,CAAC,OAAK,SAAO,WAAS,cAAY,iBAAe,kBAAgB,mBAAiB,cAAY,gBAAc,kBAAgB,iBAAe,eAAa,iBAAe,CAAC,OAAoB,EAAM,MAAM,CAAC,MAAM,CAAC,gBAAgB,EAAe,OAAO,aAAa,EAAO,EAAY,IAAkB,aAAa,GAAG,EAAiB,IAAI,QAAQ,GAAG,EAAY,IAAI,WAAW,0BAA0B,OAAO,SAAS,EAAE,QAAQ,EAAS,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