1import{j as e,r as x,L as f}from"./chunk-IR6S3I6Y-Dny969R1.js";import{c as m}from"./utils-CytzSlOG.js";import{i as u}from"./_isIterateeCall-CY0JX893.js";import{t as l}from"./toFinite-Cf6rgX8a.js";import{S as g}from"./star-CvSuUZnO.js";import{B as h}from"./button-D6CRfJtZ.js";import{A as p,a as j,b,c as v}from"./accordion-PZWyEC-b.js";import{u as N}from"./useTranslation-DCKOGcrx.js";var y=Math.ceil,A=Math.max;function F(t,n,r,a){for(var o=-1,i=A(y((n-t)/(r||1)),0),s=Array(i);i--;)s[++o]=t,t+=r;return s}function R(t){return function(n,r,a){return a&&typeof a!="number"&&u(n,r,a)&&(r=a=void 0),n=l(n),r===void 0?(r=n,n=0):r=l(r),a=a===void 0?n<r?1:-1:l(a),F(n,r,a)}}var S=R();const D=({avg:t,className:n})=>e.jsxs("div",{className:m("flex flex-row gap-1 items-center",n),children:[S(5).map(r=>e.jsx(g,{className:m("size-6 fill-current",{"text-warning-300":r<t,"text-gray-200":r>=t})},`${r}-star`)),e.jsx("span",{className:"text-sm font-medium text-foreground ml-2",children:t.toFixed(1)})]}),E=({title:t,description:n,questions:r})=>{const{t:a}=N("landing",{keyPrefix:"faq"}),[o,i]=x.useState(String(0));return e.jsxs("div",{className:"mt-24 p-6 lg:px-40 flex flex-col gap-4",children:[e.jsx("div",{className:"flex justify-center",children:e.jsx("img",{src:"/landing--for-x--grid-header-4.svg",alt:"",className:"w-8 h-6 block"})}),e.jsx("h2",{className:"flex justify-center col-span-3 text-center text-4xl font-semibold mt-4",children:e.jsx("div",{className:"w-1/2",children:t})}),e.jsx("div",{className:"col-span-3 flex justify-center text-center text-muted-foreground mb-8",children:e.jsx("div",{className:"w-3/4",children:n})}),e.jsx(p,{type:"single",className:"flex flex-col gap-6",value:o,onValueChange:s=>i(s),children:Object.entries(r).map(([s,c],d)=>e.jsxs(j,{value:String(d),onClick:()=>i(String(d)),className:"border border-border rounded-xl bg-card px-8 py-4 [&[data-state=open]]:border-primary [&[data-state=open]]:bg-[#FAFDFD] transition-all cursor-pointer",children:[e.jsx(b,{className:"no-underline hover:no-underline font-semibold",children:c.q}),e.jsx(v,{children:c.a})]},s))}),e.jsxs("div",{className:"mt-20 border border-border rounded-md p-12 flex flex-col gap-5 items-center bg-card",children:[e.jsx("img",{src:"/landing--for-professional--faq-avatars.png",alt:""}),e.jsx("div",{className:"font-semibold text-2xl",children:a("stillHaveQuestions")}),e.jsx("div",{className:"text-muted-foreground -mt-3",children:a("helpText")}),e.jsx(f,{to:"/contact",children:e.jsx(h,{children:a("contactButton")})})]})]})};export{E as F,D as R,S as r};
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.