import{F as i,ar as u,a3 as o,j as e,r as g}from"./vendor-CT-JknSv.chunk.js";import{bf as h,I as m,C as x,v as q,l,x as b,i as d,bg as y,P as c,G as S,Y as A,a7 as p}from"./index-DDZqnj79.js";const E={faqEntries:()=>["faq"]},k={faqEntries:()=>"info/faq/"};function w(){const t=h(E.faqEntries(),k.faqEntries());return{faqs:t.data,error:t.error,isInitialLoading:t.isInitialLoading}}function L(){const{faqs:t,isInitialLoading:s,error:r}=w(),f=m({url:"/faq"});if(r)return i(c,{children:[e(o,{defer:!1,children:e("title",{children:"Error"})}),e(S,{error:r})]});const a=t&&u(t.map(({updated_at:n})=>n));return i(c,{children:[i(o,{defer:!1,children:[e("title",{children:"Frequently Asked Questions"}),f]}),i(x,{css:{padding:"30px 0px 50px",maxWidth:720,[q]:{paddingLeft:"30px",paddingRight:"30px"}},as:"main",children:[e("h1",{css:{fontSize:"22px",lineHeight:"28px",fontWeight:l.weight.semibold,textAlign:"center",marginBottom:"60px"},children:"Frequently Asked Questions"}),e("ul",{css:{listStyle:"none",fontSize:"14px"},children:s?v():t?t.map(n=>i("li",{css:{marginBottom:36},children:[e("b",{css:{fontWeight:l.weight.medium,marginBottom:"8px",display:"block"},children:n.question}),e(b,{markdownString:n.answer,css:{p:{color:d.label400,lineHeight:"2em"}}})]},n.id)):null}),a?i("div",{css:{fontStyle:"italic",fontSize:"14px"},children:["Last updated ",e(A,{value:a,format:"textdate"})]}):null,s?null:i("div",{css:{fontStyle:"italic",fontSize:"14px",color:d.label300},children:["Version ",y()]})]})]})}function v(){return e("div",{children:Array(10).fill(null).map((t,s)=>i(g.Fragment,{children:[e(p,{css:{width:"120px",height:"21px",marginBottom:"8px",borderRadius:"8px"}}),e(p,{css:{width:"240px",height:"21px",marginBottom:"36px",borderRadius:"8px"}})]},s))})}export{L as default};