PageSourceSearch

https://stackoverflow.co/public/product/VHrFqgAw2.js

js stackoverflow.co collected 2026-10-01 06:46:33 UTC 1,746 bytes, 1 lines download raw bytes

1import{F as e,R as t,Rt as n,Y as r,_ as i,b as a,ct as o,d as s,f as c,gt as l,l as u,r as d,u as f,v as p,z as m}from"./Ca5AV-z9.js";import{t as h}from"./BeV8Iokl.js";import{t as g}from"./C6JJx8Sz.js";import{t as _}from"./C1msyEQU.js";import{n as v,r as y,t as b}from"./Dlgtc_hV2.js";var x={class:`my96 md:mt64 md:mb64`},S={key:0,class:`wmx11 mx-auto px24`},C={class:`d-flex ai-start md:fd-column`},w={class:`flex--item mr24 md:mb24`},T={class:`flex--item6`},E={key:0,class:`fc-black-500 fs-body2 wmx4 mt8 mb0`},D={class:`ta-right p2 mb12`},O={key:1,class:`mx-auto wmx3 mt48 ta-center`},k=Object.assign(a({__name:`faq-section`,props:{section:{type:String,required:!0},preface:{type:String,required:!1,default:null}},async setup(a){let k,A,j=_`*[_type == "faqSection" && slug.current == $section][0].items`,M=a,{data:N}=([k,A]=r(()=>h(j,{section:M.section})),k=await k,A(),k),P=o(!1);return(r,a)=>{let o=g;return e(),c(`section`,x,[l(N)?(e(),c(`div`,S,[u(`div`,C,[u(`div`,w,[p(l(y),{class:`fc-orange w64 h64`})]),u(`div`,T,[a[1]||=u(`h2`,{class:`fs-headline1 ff-stack-sans-headline lh-xs mb0 wmx6`},` Frequently Asked Questions `,-1),M.preface?(e(),c(`p`,E,n(M.preface),1)):s(``,!0)])]),u(`div`,D,[u(`button`,{class:`s-btn s-btn__sm s-btn__tonal px12 fw-semibold`,onClick:a[0]||=e=>P.value=!l(P),title:`Expand all`},[l(P)?(e(),c(d,{key:1},[a[3]||=i(` Collapse all `,-1),p(l(b),{class:`ml4`})],64)):(e(),c(d,{key:0},[a[2]||=i(` Expand all `,-1),p(l(v),{class:`ml4`})],64))])]),(e(!0),c(d,null,t(l(N),(t,n)=>(e(),f(o,{key:`${M.section}-${n}`,title:t.question,body:t.answer,expanded:l(P)},null,8,[`title`,`body`,`expanded`]))),128))])):s(``,!0),r.$slots?(e(),c(`div`,O,[m(r.$slots,`default`)])):s(``,!0)])}}}),{__name:`FaqSection`});export{k as t};

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.