{"version":3,"file":"FAQSection.DDj-vCRd.mjs","names":["useState"],"sources":["https:/framerusercontent.com/modules/CgqHkVaYKhiUENtoHelS/VUi5w9Ub4N1YAe5T2ioX/FAQSection.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{useState}from\"react\";import{addPropertyControls,ControlType}from\"framer\";const COLORS={primary:\"#E8657A\",ink:\"#2E3038\",ink2:\"#4A4F5C\",rule:\"rgba(46, 48, 56, 0.12)\"};const DEFAULT_FAQS=[{question:\"What is Rehab Education?\",answer:\"Rehab Education is an educational session with one of our rehabilitation specialists to help you understand your concussion symptoms and recovery process.\"},{question:\"What do I need to book an appointment?\",answer:\"Most patients need a referral from a family doctor or walk-in clinic. Athletes 17 and under with a recent sport injury can self-refer for clearance.\"},{question:\"How do I find your clinic in each location?\",answer:\"We have three locations: Ottawa at the RA Centre, Toronto at 40 Holly Street, and Burlington at 1100 Burloak Drive. See our Clinics page for full addresses and directions.\"},{question:\"Do you offer direct billing with my EHC?\",answer:\"Yes, we offer direct billing for physiotherapy services with select extended health care (EHC) providers. Please check with our front desk team to confirm if your insurance company is included in our direct billing network.\"},{question:\"Do you see patients who have been injured in a motor vehicle accident or while at work?\",answer:\"Yes, we do.\"},{question:\"How would I be eligible to receive treatment at your clinic through WSIB?\",answer:\"You must apply for WSIB benefits, you will be required to complete and sign the Worker's Report of Injury/Disease (Form-6). You can get this form on the WSIB's website, or you can call WSIB at 1-800-387-0750.\"},{question:\"How do I start my MVA treatments after the initial appointment?\",answer:\"Your treatment provider must submit a treatment plan form called an OCF-18 to the insurance company for approval to be eligible for these benefits. Once the approval has been received, we can start your treatment at our clinic. If your treatment plan is denied, we will follow up with the next steps.\"},{question:\"What should I wear to the appointment?\",answer:\"Comfortable, athletic clothing that allows you to move freely. You may be asked to perform some physical assessments during your visit.\"}];export function FAQSection({breakpoint=\"desktop\",eyebrow=\"Common questions\",heading=\"Frequently Asked Questions\",bgColor=\"#EFE7D8\",faqs=DEFAULT_FAQS}){const[openIndex,setOpenIndex]=useState(null);const isMobile=breakpoint===\"mobile\";const isTablet=breakpoint===\"tablet\";const sectionPadding=isMobile?\"64px 24px\":isTablet?\"80px 40px\":\"100px 80px\";const headingSize=isMobile?32:isTablet?40:56;return /*#__PURE__*/_jsx(\"section\",{id:\"faqs\",style:{backgroundColor:bgColor,width:\"100%\",boxSizing:\"border-box\",padding:sectionPadding,fontFamily:\"'Lato', sans-serif\"},children:/*#__PURE__*/_jsxs(\"div\",{style:{maxWidth:1200,margin:\"0 auto\"},children:[/*#__PURE__*/_jsxs(\"div\",{style:{marginBottom:isMobile?40:64,textAlign:\"center\"},children:[/*#__PURE__*/_jsx(\"p\",{style:{fontFamily:\"'JetBrains Mono', 'Courier New', monospace\",fontSize:11,letterSpacing:\"0.16em\",textTransform:\"uppercase\",color:COLORS.primary,margin:\"0 0 16px\",lineHeight:1},children:eyebrow}),/*#__PURE__*/_jsx(\"h2\",{style:{fontFamily:\"'Instrument Serif', Georgia, serif\",fontWeight:400,fontSize:headingSize,lineHeight:1.05,letterSpacing:\"-0.02em\",color:COLORS.ink,margin:0},children:heading})]}),/*#__PURE__*/_jsx(\"div\",{style:{maxWidth:840,margin:\"0 auto\",borderTop:`1px solid ${COLORS.rule}`},children:(faqs||[]).map((faq,i)=>{const isOpen=openIndex===i;return /*#__PURE__*/_jsxs(\"div\",{style:{borderBottom:`1px solid ${COLORS.rule}`},children:[/*#__PURE__*/_jsxs(\"button\",{onClick:()=>setOpenIndex(isOpen?null:i),style:{width:\"100%\",display:\"flex\",justifyContent:\"space-between\",alignItems:\"center\",padding:isMobile?\"20px 0\":\"24px 0\",background:\"transparent\",border:\"none\",cursor:\"pointer\",textAlign:\"left\",gap:16,minHeight:44},children:[/*#__PURE__*/_jsx(\"span\",{style:{fontFamily:\"'Instrument Serif', Georgia, serif\",fontWeight:400,fontSize:isMobile?17:isTablet?19:22,letterSpacing:\"-0.01em\",lineHeight:1.2,color:COLORS.ink},children:faq.question}),/*#__PURE__*/_jsx(\"svg\",{width:\"20\",height:\"20\",viewBox:\"0 0 20 20\",fill:\"none\",style:{flexShrink:0,transform:isOpen?\"rotate(45deg)\":\"rotate(0deg)\",transition:\"transform 200ms ease\",opacity:.45},children:/*#__PURE__*/_jsx(\"path\",{d:\"M10 4v12M4 10h12\",stroke:\"#2E3038\",strokeWidth:\"1.5\",strokeLinecap:\"round\"})})]}),isOpen&&/*#__PURE__*/_jsx(\"p\",{style:{fontSize:isMobile?14:15,lineHeight:1.7,color:COLORS.ink2,margin:\"0 0 24px\",maxWidth:680},children:faq.answer})]},i);})})]})});}addPropertyControls(FAQSection,{breakpoint:{type:ControlType.Enum,title:\"Breakpoint\",options:[\"desktop\",\"tablet\",\"mobile\"],optionTitles:[\"Desktop\",\"Tablet\",\"Mobile\"],defaultValue:\"desktop\"},bgColor:{type:ControlType.Color,title:\"Background\",defaultValue:\"#EFE7D8\"},eyebrow:{type:ControlType.String,title:\"Eyebrow\",defaultValue:\"Common questions\"},heading:{type:ControlType.String,title:\"Heading\",defaultValue:\"Frequently Asked Questions\"},faqs:{type:ControlType.Array,title:\"FAQs\",control:{type:ControlType.Object,controls:{question:{type:ControlType.String,title:\"Question\"},answer:{type:ControlType.String,title:\"Answer\",displayTextArea:true}}},defaultValue:DEFAULT_FAQS}});\nexport const __FramerMetadata__ = {\"exports\":{\"FAQSection\":{\"type\":\"reactComponent\",\"name\":\"FAQSection\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./FAQSection.map"],"mappings":"iLAAspE,SAAgB,EAAW,CAAC,aAAW,UAAU,UAAQ,mBAAmB,UAAQ,6BAA6B,UAAQ,UAAU,OAAK,GAAc,CAAC,GAAK,CAAC,EAAU,GAAcA,EAAS,IAAI,EAAQ,EAAS,IAAa,SAAe,EAAS,IAAa,SAAe,EAAe,EAAS,YAAY,EAAS,YAAY,aAAmB,EAAY,EAAS,GAA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