{"version":3,"file":"FAQ_Script.CSKMmjTM.mjs","names":["__legacyOverrideHOC_DataObserverContext","_jsx"],"sources":["https:/framerusercontent.com/modules/wfOG7B8j5FrDsE669BXF/Km3UPXlLiGUcYKrHEjGx/FAQ_Script.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect}from\"react\";export function FAQ(){useEffect(()=>{// Inject CSS only once\nif(!document.getElementById(\"faq-styles\")){const style=document.createElement(\"style\");style.id=\"faq-styles\";style.textContent=`\n            .faq-wrapper {\n              font-family: 'Manrope', sans-serif;\n              font-weight: 300;\n              font-size: 1rem;\n              color: #000000;\n              width: 100%;\n              max-width: 100%;\n              margin: 0 auto;\n              padding: 10px 24px;\n              box-sizing: border-box;\n            }\n            @media (max-width: 768px) {\n              .faq-wrapper {\n                max-width: 100%;\n                padding: 10px 16px;\n              }\n            }\n            .faq-item {\n              border-radius: 20px;\n              background-color: transparent;\n              margin-bottom: 20px;\n              overflow: hidden;\n              border: 1px solid #00000099;\n              transition: border 0.3s ease;\n            }\n            .faq-item.active {\n              border: 1px solid #0A6CFF;\n            }\n            .faq-question {\n              font-size: 16px;\n              font-weight: 400;\n              padding: 20px;\n              background: none;\n              display: flex;\n              justify-content: space-between;\n              align-items: center;\n              cursor: pointer;\n              border: none;\n              width: 100%;\n              color: #000000;\n              text-align: left;\n            }\n            .faq-answer {\n              padding: 0 20px;\n              font-size: 16px;\n              font-weight: 300;\n              color: #00000099;\n              max-height: 0;\n              overflow: hidden;\n              transition: max-height 0.4s ease, padding 0.4s ease;\n              line-height: 1.6;\n              text-align: left;\n            }\n            .faq-item.active .faq-answer {\n              padding: 20px;\n              max-height: 1000px;\n            }\n            .faq-symbol {\n              font-size: 1.5rem;\n              transition: transform 0.3s ease;\n            }\n            .faq-item.active .faq-symbol {\n              transform: rotate(45deg);\n            }\n            `;document.head.appendChild(style);}// Attach click events\nconst questions=document.querySelectorAll(\".faq-question\");questions.forEach(btn=>{btn.addEventListener(\"click\",()=>{btn.parentElement?.classList.toggle(\"active\");});});// Cleanup\nreturn()=>{questions.forEach(btn=>{btn.replaceWith(btn.cloneNode(true))// removes listeners\n;});};},[]);return{};}import{useContext as __legacyOverrideHOC_useContext}from\"react\";import{DataObserverContext as __legacyOverrideHOC_DataObserverContext}from\"framer\";export function withFAQ(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...FAQ(props)});};}withFAQ.displayName=\"FAQ\";\nexport const __FramerMetadata__ = {\"exports\":{\"withFAQ\":{\"type\":\"reactHoc\",\"name\":\"withFAQ\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"FAQ\":{\"type\":\"override\",\"name\":\"FAQ\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./FAQ_Script.map"],"mappings":"yPAAwE,SAAgB,GAAK,CAqEjF,OArEkF,MAAc,CAC5G,GAAG,CAAC,SAAS,eAAe,cAAc,CAAC,IAAM,EAAM,SAAS,cAAc,SAAS,EAAM,GAAG,aAAa,EAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAiEjH,SAAS,KAAK,YAAY,EAAQ,CAChD,IAAM,EAAU,SAAS,iBAAiB,iBAC1C,OAD2D,EAAU,QAAQ,GAAK,CAAC,EAAI,iBAAiB,YAAY,CAAC,EAAI,eAAe,UAAU,OAAO,SAAW,EAAG,OAC7J,CAAC,EAAU,QAAQ,GAAK,CAAC,EAAI,YAAY,EAAI,UAAU,IAC/D,EAAG,CAAE,EAAC,EAAE,EAAQ,EAAE,AAAE,CAAmJ,SAAgB,EAAQ,EAAE,CAAC,MAAO,KAAQ,EAA+BA,GAAgDC,EAAK,EAAE,CAAC,GAAG,EAAM,GAAG,EAAI,GAAO,EAAK,6BAAQ,YAAY"}