module.exports=[93816,a=>{"use strict";a.s(["default",()=>e]);var b=a.i(87924),c=a.i(32886),d=a.i(46271);let e=({text:a,children:e})=>{let f="ar"===(0,c.useLocale)();return(0,b.jsxs)(d.motion.p,{initial:{opacity:0,x:f?30:-30},animate:{opacity:1,x:0},transition:{duration:.6,ease:"easeOut"},className:"text-lg flex px-4 items-center gap-2",children:[(0,b.jsx)(d.motion.span,{initial:{scale:.7,opacity:0},animate:{scale:[1,1.2,1],opacity:1},transition:{duration:.8,ease:"easeOut"},className:"text-[#85A5E0] flex items-center",children:e}),(0,b.jsx)(d.motion.span,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},transition:{delay:.2,duration:.6},children:a})]})}},81597,a=>{"use strict";a.s(["default",()=>f]);var b=a.i(87924),c=a.i(72131),d=a.i(97168),e=a.i(9610);let f=({faqItems:a})=>{let[f,g]=(0,c.useState)(null),h=(0,e.useTranslations)("FAQPage");return(0,b.jsx)("div",{className:"w-full mt-10 p-5",children:a.length>0?a.map((a,c)=>(0,b.jsxs)("div",{className:"mb-4",children:[(0,b.jsxs)("div",{className:`flex justify-between items-center px-4 py-2 cursor-pointer rounded-t-lg transition-colors duration-300 ${f===c?"bg-[#2F537D] text-white":"bg-white text-gray-700"}`,onClick:()=>(a=>{g(f===a?null:a)})(c),children:[(0,b.jsx)("h3",{className:"font-medium text-lg",children:a.question}),(0,b.jsx)("span",{className:`w-8 h-8 flex items-center justify-center rounded-md transition-colors duration-300 ${f===c?"bg-white text-[#2F537D]":"bg-[#2F537D] text-white"}`,children:f===c?(0,b.jsx)(d.FaMinus,{}):(0,b.jsx)(d.FaPlus,{})})]}),(0,b.jsx)("div",{className:`overflow-hidden transition-all duration-500 ease-in-out ${f===c?"max-h-40 opacity-100 p-4 bg-white rounded-b-xl":"max-h-0 opacity-0"}`,children:(0,b.jsx)("p",{className:"m-0 text-gray-700",children:a.answer})})]},a.id)):(0,b.jsx)("div",{className:"text-center text-gray-500 mt-5",children:h("noFaqs")})})}}];

//# sourceMappingURL=src_5a980ac2._.js.map