{"version":3,"file":"StepsStrip.DoWeE0hH.mjs","names":["React.useRef","React.useState"],"sources":["https:/framerusercontent.com/modules/2QIWgnGUPCOvZWD88s4p/5qGy5yoRyclMVPt4hvhZ/StepsStrip.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import*as React from\"react\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";const HEAD_FONT=\"'Montserrat', 'Helvetica Neue', sans-serif\";const BODY_FONT=\"'Archivo', 'Helvetica Neue', sans-serif\";const DESKTOP_MQ=\"(min-width: 810px)\";// Built-in step sets. Array props can't be set per-instance via the MCP,\n// so instances pick a preset; \"custom\" uses the editable Steps array.\nconst PRESETS={sunday:[{title:\"Park and say hi\",body:\"Pull into any open spot. Our team will meet you at the door and walk you right where you need to go.\"},{title:\"Check in your kids\",body:\"RO KiDS check-in takes about five minutes the first time. Background-checked teams, secure check-in, zero stress.\"},{title:\"Grab coffee, find a seat\",body:\"Services run about 75 minutes. You will never be singled out or put on the spot. Come as you are.\"}],wednesday:[{title:\"Doors open at 6\",body:\"Hang out, snacks, games, loud music. Come as you are.\"},{title:\"Worship and real talk\",body:\"Student-led worship and honest teaching that meets students where they actually are.\"},{title:\"Small groups by grade\",body:\"The same leaders every week, so someone always knows your name.\"}],belonging:[{title:\"Start on a Sunday\",body:\"Show up at 8, 9:30, or 11AM. Sit in the back if you want to. Nobody will single you out.\"},{title:\"Get in a group\",body:\"A room of twelve is where you actually get known. Filter by night, life stage, and childcare, then join in one click.\"},{title:\"Serve the city with us\",body:\"You belong faster on a team than in a seat. Pack food bags, wrap around a foster family, or join a Local Good day.\"}],careportal:[{title:\"A caseworker sees a need\",body:\"A social worker in Rutherford County meets a child or family in crisis and enters the specific need into CarePortal.\"},{title:\"The request comes to us\",body:\"That request lands with churches nearby, including River Oaks. Beds, car seats, clothes, groceries, and school supplies.\"},{title:\"We meet it together\",body:\"Our team answers with real items and real presence, and often a relationship that outlasts the request.\"}],foodweek:[{title:\"Tuesday: pick up the empties\",body:\"A team collects last week's bags from Blackman and Rockvale and brings them back to the church.\"},{title:\"Wednesday: pack the bags\",body:\"We fill every bag with food a kid can open and eat without an adult. It takes about an hour with enough hands.\"},{title:\"Thursday: deliver before the weekend\",body:\"Bags go back to both schools so no child on that list goes home to an empty pantry on Friday.\"}]};/**\n * Numbered steps strip — \"your first Sunday, step by step.\" Reduces\n * first-timer anxiety by making the unknown concrete. 1-4 steps in a\n * responsive row that stacks on mobile. Desktop-only staggered rise\n * on scroll (transform/opacity, IntersectionObserver, once).\n *\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight auto\n * @framerIntrinsicWidth 1100\n */export default function StepsStrip(props){const{preset,steps=[],accent,accent2,dark,style}=props;const isCanvas=RenderTarget.current()===RenderTarget.canvas;const ref=React.useRef(null);const[shown,setShown]=React.useState(true);React.useLayoutEffect(()=>{if(isCanvas||typeof window===\"undefined\")return;if(!window.matchMedia(DESKTOP_MQ).matches)return;if(window.matchMedia(\"(prefers-reduced-motion: reduce)\").matches)return;if(!(\"IntersectionObserver\"in window))return;setShown(false);const io=new IntersectionObserver(entries=>{if(entries.some(e=>e.isIntersecting)){setShown(true);io.disconnect();}},{threshold:.2});if(ref.current)io.observe(ref.current);return()=>io.disconnect();},[isCanvas]);const data=preset&&preset!==\"custom\"?PRESETS[preset]||steps:steps;const fg=dark?\"#ffffff\":\"#000000\";const sub=dark?\"rgba(255,255,255,0.78)\":\"#333333\";return /*#__PURE__*/_jsx(\"div\",{ref:ref,style:{width:\"100%\",display:\"grid\",gridTemplateColumns:\"repeat(auto-fit, minmax(min(240px, 100%), 1fr))\",gap:28,...style},children:data.map((s,i)=>/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"column\",gap:10,opacity:shown?1:0,transform:shown?\"none\":\"translateY(22px)\",transition:`opacity 0.5s ease ${i*.09}s, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1) ${i*.09}s`},children:[/*#__PURE__*/_jsx(\"div\",{style:{fontFamily:HEAD_FONT,fontWeight:800,fontSize:15,width:40,height:40,borderRadius:999,display:\"flex\",alignItems:\"center\",justifyContent:\"center\",color:\"#ffffff\",background:`linear-gradient(140deg, ${accent}, ${accent2})`},children:i+1}),/*#__PURE__*/_jsx(\"div\",{style:{fontFamily:HEAD_FONT,fontWeight:700,fontSize:19,lineHeight:1.2,color:fg},children:s.title}),/*#__PURE__*/_jsx(\"div\",{style:{fontFamily:BODY_FONT,fontSize:15.5,lineHeight:1.5,color:sub},children:s.body})]},i))});}addPropertyControls(StepsStrip,{preset:{type:ControlType.Enum,title:\"Steps Set\",options:[\"sunday\",\"wednesday\",\"belonging\",\"careportal\",\"foodweek\",\"custom\"],optionTitles:[\"First Sunday\",\"Wednesday Night\",\"How Belonging Happens\",\"How CarePortal Works\",\"Food Bag Week\",\"Custom\"],defaultValue:\"sunday\",description:\"Custom uses the Steps list below\"},steps:{type:ControlType.Array,title:\"Steps\",control:{type:ControlType.Object,controls:{title:{type:ControlType.String,defaultValue:\"Step title\"},body:{type:ControlType.String,displayTextArea:true,defaultValue:\"\"}}},defaultValue:PRESETS.sunday},accent:{type:ControlType.Color,title:\"Accent\",defaultValue:\"#4d9ee9\"},accent2:{type:ControlType.Color,title:\"Accent 2\",defaultValue:\"#3d8c62\"},dark:{type:ControlType.Boolean,title:\"On Dark\",defaultValue:false}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"StepsStrip\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"any\",\"framerIntrinsicWidth\":\"1100\",\"framerSupportedLayoutHeight\":\"auto\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./StepsStrip.map"],"mappings":"oNAWG,SAAwB,EAAW,EAAM,CAAC,GAAK,CAAC,SAAO,QAAM,CAAC,EAAE,SAAO,UAAQ,OAAK,SAAO,EAAY,EAAS,EAAa,QAAQ,IAAI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