import{jsxs as i,jsx as r}from"react/jsx-runtime";import{D as m,E as p,F as s,G as a}from"./ui-components-B24mpb8o.js";import{usePage as n}from"@inertiajs/react";import{Renderer as c}from"richtor";/* empty css                */import"next-themes";import"sonner";import"react";import"@radix-ui/react-label";import"class-variance-authority";import"@radix-ui/react-checkbox";import"lucide-react";import"@radix-ui/react-avatar";import"@radix-ui/react-dropdown-menu";import"@radix-ui/react-scroll-area";import"@radix-ui/react-popover";import"@radix-ui/react-radio-group";import"@radix-ui/react-dialog";import"@radix-ui/react-slot";import"clsx";import"@radix-ui/react-separator";import"@radix-ui/react-tooltip";import"@radix-ui/react-tabs";import"@radix-ui/react-accordion";import"@radix-ui/react-progress";import"@radix-ui/react-select";import"cmdk";import"@radix-ui/react-switch";import"react-day-picker";import"@radix-ui/react-slider";import"embla-carousel-react";import"@radix-ui/react-toggle-group";import"vaul";import"tailwind-merge";const S=()=>{var e;const{exam:t}=n().props;return i("div",{className:"space-y-10",children:[r(c,{value:t.description}),i(m,{type:"single",collapsible:!0,children:[r("h6",{className:"mb-4 text-xl font-semibold",children:"Faqs"}),r("div",{className:"border-border border-y",children:(e=t.faqs)==null?void 0:e.map(o=>i(p,{value:o.id,className:"px-4 last:border-none",children:[r(s,{className:"cursor-pointer text-lg hover:no-underline [&[data-state=open]]:text-blue-500",children:o.question}),r(a,{className:"pt-2",children:o.answer})]},o.id))})]})]})};export{S as default};
