1import{j as e}from"./jsx-runtime-D_zvdyIk.js";import{a as x}from"./chunk-EPOLDU6W-coJUVswn.js";import{u as f}from"./locale-context-B8zsJnXQ.js";import{J as m}from"./meta-BtjSaKh4.js";import{h as u}from"./structured-data-Bm_Fh09G.js";import{f as t,b as h}from"./text-CJJyhx1d.js";import{T as g}from"./typography-DcS16Ag2.js";import{A as j,a as b,b as v,c as A}from"./accordion-Cmms1Alt.js";function C({items:a,columns:n=1,emitSchema:i=!0,variant:c="flush"}){const{locale:o}=f(),r=c==="flush",[l,d]=x.useState(""),p=n===2?r?"grid gap-x-8 md:grid-cols-2":"grid gap-3 md:grid-cols-2":r?"flex flex-col":"flex flex-col gap-3";return e.jsxs("div",{className:r?"flex-1":"grid flex-1 grid-cols-1 gap-3",children:[i&&e.jsx(m,{data:u(a)}),e.jsx(j,{type:"single",collapsible:!0,value:l,onValueChange:d,className:p,children:a.map(s=>e.jsxs(b,{value:s.id,className:r?void 0:"flex flex-col rounded-xl border border-slate-200 bg-white p-4 transition-colors duration-150 hover:border-slate-500 [&>:first-child]:flex-1 [&>:first-child]:items-center",children:[e.jsx(v,{plainHeader:s.plainHeading,className:r?"font-archivo text-base":"gap-2 hover:no-underline",children:r?e.jsx("span",{className:"flex-1 pr-2 text-left",children:t(s.question,o)}):e.jsx(g,{variant:"h5",as:"span",className:"block text-left",children:t(s.question,o)})}),e.jsx(A,{keepMounted:!0,inert:s.id!==l,children:e.jsx("div",{className:r?"font-archivo text-[14.5px] leading-[1.65] text-slate-600":"prose prose-sm max-w-none text-slate-600",dangerouslySetInnerHTML:{__html:h(s.answer)}})})]},s.id))})]})}export{C 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.