{"version":3,"file":"FAQFromCMS.BS_DdCua.mjs","names":["useRef","useState"],"sources":["https:/framerusercontent.com/modules/esW5skWKDLxWpIJ67xz2/BViAYNUCV4M1f5yEMvT1/FAQFromCMS.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{useState,useRef,useEffect}from\"react\";// ─── FAQ Data ─────────────────────────────────────────────────────────────────\nconst homepageFAQs=[{id:\"h1\",question:\"What types of education professionals do you staff?\",answer:\"We provide qualified education professionals including substitute teachers, certified teachers, paraprofessionals, special education staff, instructional aides, school administrators, behavioral support staff, and other K–12 support personnel.\"},{id:\"h2\",question:\"How quickly can you fill an open position?\",answer:\"Many positions can be filled within 24–48 hours depending on the role, location, and specific requirements. We also offer rapid-response staffing for urgent substitute and short-term coverage needs.\"},{id:\"h3\",question:\"Are your candidates licensed and background checked?\",answer:\"Yes. All candidates go through a screening process that may include credential verification, reference checks, background checks, and compliance reviews based on state and district requirements.\"},{id:\"h4\",question:\"Do you provide substitute teachers for last-minute absences?\",answer:\"Yes. We specialize in short-term and emergency substitute staffing to help schools maintain classroom continuity when unexpected absences occur.\"},{id:\"h5\",question:\"Can you staff special education positions?\",answer:\"Absolutely. We recruit and place qualified special education teachers, paraprofessionals, behavioral aides, speech therapists, and other specialized support staff.\"},{id:\"h6\",question:\"Do you offer long-term or permanent staffing solutions?\",answer:\"Yes. We provide short-term, long-term, temp-to-hire, and direct hire staffing solutions based on your school's needs.\"},{id:\"h7\",question:\"How do you match candidates with schools?\",answer:\"We evaluate each candidate's certifications, experience, classroom management skills, and preferences to ensure the best possible fit for both the educator and the school.\"},{id:\"h8\",question:\"What happens if a placement is not the right fit?\",answer:\"Client satisfaction is important to us. If a placement does not meet expectations, we work quickly to provide a replacement and resolve any concerns.\"}];const jobSeekersFAQs=[{id:\"j1\",question:\"What types of education jobs are available?\",answer:\"We offer a variety of opportunities including substitute teaching, full-time teaching, paraprofessional positions, special education roles, and administrative support positions.\"},{id:\"j2\",question:\"Do I need a teaching certification to apply?\",answer:\"Certification requirements vary by role and state. Some positions require active teaching credentials, while others may only require classroom experience or a college degree.\"},{id:\"j3\",question:\"Do you offer full-time and part-time opportunities?\",answer:\"Yes. We provide flexible opportunities including daily substitute assignments, long-term placements, and permanent positions.\"},{id:\"j4\",question:\"Will I receive training or support?\",answer:\"Our team provides onboarding guidance, ongoing communication, and support throughout your assignments to help you succeed in the classroom.\"},{id:\"j5\",question:\"Why work with your agency?\",answer:\"We help educators find flexible opportunities, gain classroom experience, build professional connections, and access rewarding positions in schools that match their goals.\"},{id:\"j6\",question:\"What is an education staffing agency?\",answer:\"An education staffing agency helps schools hire qualified teachers, substitute teachers, paraprofessionals, and support staff for temporary, long-term, or permanent positions.\"},{id:\"j7\",question:\"Why do schools use education staffing agencies?\",answer:\"Schools use staffing agencies to quickly fill vacancies, reduce hiring challenges, maintain classroom coverage, and access pre-screened education professionals.\"},{id:\"j8\",question:\"How do substitute teacher staffing services work?\",answer:\"Schools submit staffing requests, and the agency matches available qualified substitute teachers based on the school's requirements and scheduling needs.\"},{id:\"j9\",question:\"What are the benefits of working with an education staffing company?\",answer:\"Benefits include faster hiring, flexible staffing solutions, access to qualified candidates, reduced administrative burden, and reliable classroom coverage.\"},{id:\"j10\",question:\"How do staffing agencies verify teacher qualifications?\",answer:\"Staffing agencies verify certifications, conduct background screenings, review employment history, and confirm compliance with state and district requirements before placement.\"}];// ─── Accordion Item ───────────────────────────────────────────────────────────\nfunction AccordionItem({question,answer,isOpen,onToggle}){const answerRef=useRef(null);const[answerHeight,setAnswerHeight]=useState(0);useEffect(()=>{if(answerRef.current){setAnswerHeight(answerRef.current.scrollHeight);}},[answer,isOpen]);return /*#__PURE__*/_jsx(\"div\",{style:{width:\"100%\",backgroundColor:\"rgb(139, 213, 176)\",borderRadius:24,overflow:\"hidden\",cursor:\"pointer\",padding:24,boxSizing:\"border-box\"},onClick:onToggle,children:/*#__PURE__*/_jsxs(\"div\",{style:{width:\"100%\",display:\"flex\",flexDirection:\"column\",gap:16},children:[/*#__PURE__*/_jsxs(\"div\",{style:{width:\"100%\",display:\"flex\",flexDirection:\"row\",alignItems:\"center\",gap:12,overflow:\"hidden\"},children:[/*#__PURE__*/_jsx(\"p\",{style:{flex:1,margin:0,fontFamily:\"'DM Sans', sans-serif\",fontWeight:600,fontSize:20,lineHeight:\"1.4em\",letterSpacing:\"-0.01em\",color:\"rgb(255, 255, 255)\"},children:question}),/*#__PURE__*/_jsxs(\"div\",{style:{width:28,height:28,flexShrink:0,borderRadius:100,backgroundColor:\"rgba(255, 255, 255, 0.08)\",position:\"relative\",overflow:\"hidden\"},children:[/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",width:1,height:12,top:\"50%\",left:\"50%\",transform:\"translate(-50%, -50%) rotate(-90deg)\",backgroundColor:\"rgb(255, 255, 255)\"}}),/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",width:1,height:12,top:\"50%\",left:\"50%\",transform:`translate(-50%, -50%) rotate(${isOpen?-90:-180}deg)`,backgroundColor:\"rgb(255, 255, 255)\",opacity:isOpen?0:1,transition:\"transform 0.3s ease, opacity 0.3s ease\"}})]})]}),/*#__PURE__*/_jsx(\"div\",{style:{width:\"100%\",overflow:\"hidden\",maxHeight:isOpen?answerHeight+8:0,opacity:isOpen?1:0,transition:\"max-height 0.35s ease, opacity 0.3s ease\"},children:/*#__PURE__*/_jsx(\"div\",{ref:answerRef,children:/*#__PURE__*/_jsx(\"p\",{style:{margin:0,fontFamily:\"Inter, sans-serif\",fontSize:15,lineHeight:\"1.6em\",letterSpacing:\"-0.02em\",color:\"rgb(255, 255, 255)\"},children:answer})})})]})});}// ─── Main Component ───────────────────────────────────────────────────────────\nexport default function FAQFromCMS({page}){const[openIndex,setOpenIndex]=useState(null);const handleToggle=i=>setOpenIndex(prev=>prev===i?null:i);const items=page===\"job-seekers\"?jobSeekersFAQs:homepageFAQs;return /*#__PURE__*/_jsx(\"div\",{style:{width:\"100%\",backgroundColor:\"rgba(255, 255, 255, 0.08)\",borderRadius:26,padding:4,display:\"flex\",flexDirection:\"column\",gap:2,boxSizing:\"border-box\"},children:items.map((item,i)=>/*#__PURE__*/_jsx(AccordionItem,{question:item.question,answer:item.answer,isOpen:openIndex===i,onToggle:()=>handleToggle(i)},item.id))});}// ── Property Controls ──────────────────────────────────────────────────────────\naddPropertyControls(FAQFromCMS,{page:{type:ControlType.Enum,title:\"Page\",options:[\"homepage\",\"job-seekers\"],optionTitles:[\"Homepage\",\"Job Seekers\"],defaultValue:\"homepage\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FAQFromCMS\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./FAQFromCMS.map"],"mappings":"+LAEA,SAAS,EAAc,CAAC,WAAS,SAAO,SAAO,YAAU,CAAC,IAAM,EAAUA,EAAO,KAAK,CAAM,CAAC,EAAa,GAAiBC,EAAS,EAAE,CAA0G,OAAzG,MAAc,CAAI,EAAU,SAAS,EAAgB,EAAU,QAAQ,aAAa,EAAI,CAAC,EAAO,EAAO,CAAC,CAAqB,EAAK,MAAM,CAAC,MAAM,CAAC,MAAM,OAAO,gBAAgB,qBAAqB,aAAa,GAAG,SAAS,SAAS,OAAO,UAAU,QAAQ,GAAG,UAAU,aAAa,CAAC,QAAQ,EAAS,SAAsB,EAAM,MAAM,CAAC,MAAM,CAAC,MAAM,OAAO,QAAQ,OAAO,cAAc,SAAS,IAAI,GAAG,CAAC,SAAS,CAAc,EAAM,MAAM,CAAC,MAAM,CAAC,MAAM,OAAO,QAAQ,OAAO,cAAc,MAAM,WAAW,SAAS,IAAI,GAAG,SAAS,SAAS,CAAC,SAAS,CAAc,EAAK,IAAI,CAAC,MAAM,CAAC,KAAK,EAAE,OAAO,EAAE,WAAW,wBAAwB,WAAW,IAAI,SAAS,GAAG,W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