1import{r as p,j as e,L as u}from"./chunk-D4RADZKF-D0gu-VYz.js";import{M as d}from"./MarkdownRenderer-DCJE6x0A.js";import{b as h}from"./Button-UA12rkTk.js";import{c}from"./utils-CytzSlOG.js";import{c as j}from"./Page-BuxAnfAT.js";import{S as b}from"./Typography-DAHF1I1y.js";import{C as g}from"./chevron-up-DTc1YejM.js";import{C as v}from"./chevron-down-CwVYTnvb.js";function y({question:s,answer:t,isOpen:a=!1,onToggle:o,className:i,useMarkdown:n=!1}){return e.jsxs("div",{className:c("bg-background-alt rounded-xl border border-border overflow-hidden",i),children:[e.jsxs("button",{type:"button",className:"w-full p-6 flex justify-between items-center text-left",onClick:o,"aria-expanded":a,children:[e.jsx("h3",{className:"text-lg font-semibold text-foreground-primary",children:n&&typeof s=="string"?e.jsx(d,{content:s,isFAQ:!0}):s}),a?e.jsx(g,{className:"h-5 w-5 text-foreground-secondary"}):e.jsx(v,{className:"h-5 w-5 text-foreground-secondary"})]}),e.jsx("div",{className:c("overflow-hidden transition-all duration-300",a?"max-h-96 opacity-100":"max-h-0 opacity-0"),children:e.jsx("div",{className:"px-6 pb-6 text-foreground-secondary",children:n&&typeof t=="string"?e.jsx(d,{content:t,isFAQ:!0}):t})})]})}function I({title:s,description:t,faqs:a,supportAction:o,className:i,useMarkdown:n=!1}){const[m,x]=p.useState(null),f=r=>{x(l=>l===r?null:r)};return e.jsxs(j,{background:"transparent",className:i,children:[e.jsx(b,{title:s,description:t}),e.jsxs("div",{className:"max-w-3xl mx-auto",children:[e.jsx("div",{className:"space-y-4",children:a.map((r,l)=>e.jsx(y,{question:r.question,answer:r.answer,isOpen:m===l,onToggle:()=>f(l),useMarkdown:n},r.question))}),o&&e.jsxs("div",{className:"mt-10 text-center",children:[e.jsx("p",{className:"text-foreground-secondary mb-4",children:"Still have questions? Our support team is here to help."}),e.jsx(u,{to:o.href,className:h({variant:"brand"}),children:o.label})]})]})]})}export{I as F};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.