1import{_ as T,a as q,b as A,c as S}from"./D69uW9Ed.js";import{u as b,g as $,d as B,o as e,c as i,i as h,h as t,k as f,t as u,f as n,j as C,a as p,F as g,e as r,b as x,_ as H,v as E}from"./BzZDIR4H.js";import{u as L}from"./UgyXcLir.js";const F={functionalities:["whatIsPadeligo","findMatch","statistics","chatWithPlayers","levelSystem","multipleClubs"],download:["devices","free","account","createMatch","privateMatch"],padel:["findPartners","france","progress"]},P=["functionalities.whatIsPadeligo","functionalities.findMatch","download.free","download.devices","functionalities.levelSystem"];function U(){const{t:o}=b(),l=$(()=>Object.entries(F).map(([s,c])=>({key:s,title:o(`pages.faq.sections.${s}.title`),items:c.map(d=>({key:`${s}.${d}`,question:o(`pages.faq.sections.${s}.items.${d}.question`),answer:o(`pages.faq.sections.${s}.items.${d}.answer`)}))}))),_=$(()=>{const s=l.value.flatMap(c=>c.items);return P.map(c=>s.find(d=>d.key===c)).filter(c=>!!c)});return{sections:l,highlightedItems:_}}const N={class:"container flex flex-col items-center py-16 lg:py-24"},j={class:"mb-8 text-center body-m text-muted-foreground"},D=["innerHTML"],O={key:1,class:"grid w-full grid-cols-1 gap-12 lg:grid-cols-4"},V={class:"mb-4 text-center headline-s lg:text-left"},G=["innerHTML"],Q=B({__name:"FAQSection",props:{compact:{type:Boolean}},setup(o){const{t:l}=b(),{sections:_,highlightedItems:s}=U();return(c,d)=>{const y=q,k=A,v=T,w=S,I=H;return e(),i("section",N,[(e(),h(C(o.compact?"h2":"h1"),{class:"mb-2 text-center headline-l text-balance lg:headline-xl"},{default:t(()=>[f(u(o.compact?n(l)("pages.home.faq.title"):n(l)("pages.faq.title")),1)]),_:1})),p("p",j,u(o.compact?n(l)("pages.home.faq.description"):n(l)("pages.faq.description")),1),o.compact?(e(),i(g,{key:0},[r(w,{type:"single",collapsible:"",class:"w-full max-w-[760px]"},{default:t(()=>[(e(!0),i(g,null,x(n(s),a=>(e(),h(v,{key:a.key,value:a.key},{default:t(()=>[r(y,{id:`faq-${a.key}-trigger`,class:"text-left"},{default:t(()=>[f(u(a.question),1)]),_:2},1032,["id"]),r(k,{class:"text-left"},{default:t(()=>[p("div",{class:"whitespace-pre-line text-muted-foreground",innerHTML:a.answer},null,8,D)]),_:2},1024)]),_:2},1032,["value"]))),128))]),_:1}),r(I,{to:n(L)().faqPage(),variant:"outline",class:"mt-8"},{default:t(()=>[f(u(n(l)("pages.home.faq.seeAll")),1)]),_:1},8,["to"])],64)):(e(),i("div",O,[(e(!0),i(g,null,x(n(_),(a,M)=>(e(),i("div",{key:a.key,class:E([` 2 mb-8 3 lg:col-span-2 4 `,{"lg:col-start-2":M===n(_).length-1}])},[p("h3",V,u(a.title),1),r(w,{type:"single",collapsible:"",class:"w-full"},{default:t(()=>[(e(!0),i(g,null,x(a.items,m=>(e(),h(v,{key:m.key,value:m.key},{default:t(()=>[r(y,{id:`faq-${m.key}-trigger`,class:"text-left"},{default:t(()=>[f(u(m.question),1)]),_:2},1032,["id"]),r(k,{class:"text-left"},{default:t(()=>[p("div",{class:"whitespace-pre-line text-muted-foreground",innerHTML:m.answer},null,8,G)]),_:2},1024)]),_:2},1032,["value"]))),128))]),_:2},1024)],2))),128))]))])}}}),W=Object.assign(Q,{__name:"FAQSection"});export{W as _,U as u};
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.