1import{a9 as f,l as x,r as p,c as o,o as l,b as t,e as h,t as i,m as r,F as g,x as v,f as k,p as _,ab as w}from"#entry";const y=["aria-labelledby"],q=["id"],C={key:0,class:"text-slate-600 text-sm sm:text-base mb-8 max-w-2xl"},F={class:"bg-white border border-slate-200/80 rounded-lg divide-y divide-slate-200"},$=["aria-expanded","aria-controls","onClick"],P={class:"font-medium text-slate-900 text-sm sm:text-base pr-2"},j={class:"flex-shrink-0 w-8 h-8 rounded-full border border-slate-200 flex items-center justify-center text-slate-500 mt-0.5","aria-hidden":"true"},B=["id"],A={class:"text-slate-600 text-sm sm:text-base leading-relaxed"},D=f({__name:"FaqAccordion",props:{faqs:{},title:{default:"Preguntas frecuentes"},subtitle:{},idPrefix:{default:"faq"}},setup(e){const m=e,d=x(()=>`${m.idPrefix}-title`),a=p(null);function b(n){a.value=a.value===n?null:n}return(n,c)=>(l(),o("section",{class:"pt-12 border-t border-slate-200","aria-labelledby":r(d)},[t("h2",{id:r(d),class:"text-2xl sm:text-3xl font-semibold text-slate-900 tracking-tight mb-2"},i(e.title),9,q),e.subtitle?(l(),o("p",C,i(e.subtitle),1)):h("",!0),t("div",F,[(l(!0),o(g,null,v(e.faqs,(u,s)=>(l(),o("div",{key:s},[t("button",{type:"button",class:"w-full px-5 sm:px-6 py-4 text-left flex justify-between items-start gap-4 hover:bg-slate-50/80 transition-colors","aria-expanded":r(a)===s,"aria-controls":`${e.idPrefix}-panel-${s}`,onClick:N=>b(s)},[t("span",P,i(u.pregunta),1),t("span",j,[(l(),o("svg",{class:_(["w-4 h-4 transition-transform duration-200",{"rotate-180":r(a)===s}]),fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[...c[0]||(c[0]=[t("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M19 9l-7 7-7-7"},null,-1)])],2))])],8,$),k(t("div",{id:`${e.idPrefix}-panel-${s}`,class:"px-5 sm:px-6 pb-5 -mt-1"},[t("p",A,i(u.respuesta),1)],8,B),[[w,r(a)===s]])]))),128))])],8,y))}}),V=Object.assign(D,{__name:"FaqAccordion"});export{V 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.