{"version":3,"file":"FAQ.CX2LaKF2.mjs","names":["useState","__esmMin","_e","p","c","init_jsx_runtime","init_npm_react_18_3_1","motion","AnimatePresence","init_framer_motion_DhsWWWsN","init_framer_BWFVvmND","addPropertyControls","ControlType","FAQ","props","openIndex","setOpenIndex","items","isOpen","i","accent","item","DEFAULT_ITEMS","init_FAQ"],"sources":["https:/framerusercontent.com/modules/q1KaYXnGiq19m2z00seN/LIVMMDNlB1qcHwoTwIGS/FAQ.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{useState}from\"react\";import{motion,AnimatePresence}from\"framer-motion\";import{addPropertyControls,ControlType}from\"framer\";const DEFAULT_ITEMS=[{question:\"What ages can attend?\",answer:\"Children ages 5 to 12 who are comfortable using the restroom on their own. Every child is different, so if yours needs extra support, contact us before you book and we will talk through what will work.\"},{question:\"How does pickup work?\",answer:\"Your child is checked in and out at the front desk. Please bring a photo ID, and let us know in advance if someone else will be picking up.\"},{question:\"What if I am late or early?\",answer:\"Your booked hour begins on the clock at its start time. If you arrive late, the hour is still yours. If you pick up early, we are not able to refund unused time.\"},{question:\"How do I pay?\",answer:\"Pay when you reserve. Select the number of one-hour slots you want, up to four.\"},{question:\"What should my child bring?\",answer:\"Comfortable athletic clothes and indoor-safe shoes. A water bottle is always a good idea.\"},{question:\"Can my child join a friend?\",answer:\"Yes. Book each child separately and choose matching hours so friends can play together.\"},{question:\"Is a waiver required?\",answer:\"Yes. A waiver is required for every child and is completed at or before check-in.\"}];/**\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight auto\n */export default function FAQ(props){const{items,accent,gap}=props;const[openIndex,setOpenIndex]=useState(null);return /*#__PURE__*/_jsx(\"div\",{style:{width:\"100%\",display:\"flex\",flexDirection:\"column\",gap},children:items.map((item,i)=>{const isOpen=openIndex===i;return /*#__PURE__*/_jsxs(\"div\",{style:{background:\"#ffffff\",border:\"1px solid #e3e3e3\",borderTop:`3px solid ${accent}`,overflow:\"hidden\"},children:[/*#__PURE__*/_jsxs(\"button\",{onClick:()=>setOpenIndex(isOpen?null:i),\"aria-expanded\":isOpen,style:{width:\"100%\",display:\"flex\",justifyContent:\"space-between\",alignItems:\"center\",gap:24,padding:\"28px 32px\",background:\"none\",border:\"none\",cursor:\"pointer\",textAlign:\"left\"},children:[/*#__PURE__*/_jsx(\"span\",{style:{fontFamily:'\"Archivo Black\", \"Archivo\", sans-serif',fontSize:20,letterSpacing:\"0.01em\",textTransform:\"uppercase\",color:\"#1c1c1c\",lineHeight:1.15},children:item.question}),/*#__PURE__*/_jsx(motion.span,{animate:{rotate:isOpen?45:0},transition:{duration:.2},style:{color:accent,fontFamily:'\"Archivo\", sans-serif',fontSize:30,lineHeight:1,flexShrink:0},children:\"+\"})]}),/*#__PURE__*/_jsx(AnimatePresence,{initial:false,children:isOpen&&/*#__PURE__*/_jsx(motion.div,{initial:{height:0,opacity:0},animate:{height:\"auto\",opacity:1},exit:{height:0,opacity:0},transition:{duration:.25},style:{overflow:\"hidden\"},children:/*#__PURE__*/_jsx(\"p\",{style:{margin:0,padding:\"0 32px 28px\",fontFamily:'\"Archivo\", sans-serif',fontSize:16,lineHeight:1.6,color:\"#555555\",maxWidth:820},children:item.answer})})})]},i);})});}FAQ.defaultProps={items:DEFAULT_ITEMS,accent:\"#F0243F\",gap:18};addPropertyControls(FAQ,{accent:{type:ControlType.Color,title:\"Accent\"},gap:{type:ControlType.Number,title:\"Gap\",min:0,max:60},items:{type:ControlType.Array,title:\"Questions\",control:{type:ControlType.Object,controls:{question:{type:ControlType.String,title:\"Question\"},answer:{type:ControlType.String,title:\"Answer\",displayTextArea:true}}}}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FAQ\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"any\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"auto\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMapping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