1import{j as l,u,r as i,H as q,I as o}from"./index-B5Aoxc7f.js";import{F as T}from"./FaqSection-Ctfea8nr.js";function x(a,e){const{tenant:n}=u();return i.useMemo(()=>{const s=q(n?.local_faqs);if(a){const t=p(s,a);if(t.length>0)return t.map(r=>({q:r.q,a:r.a,aText:r.a}))}return e.map(t=>({...t,q:o(t.q,n),a:typeof t.a=="string"?o(t.a,n):t.a,aText:t.aText?o(t.aText,n):t.aText}))},[n,a,e])}function j(a,e){const{tenant:n}=u();return i.useMemo(()=>{const s=q(n?.local_faqs);if(a){const t=p(s,a);if(t.length>0)return t.map(r=>({q:r.q,a:r.a}))}return e.map(t=>({q:o(t.q,n),a:o(t.a,n)}))},[n,a,e])}function c(a){return a.toLowerCase().replace(/[\s_]+/g,"-").trim()}function p(a,e){const n=c(e);return a.filter(s=>s.group&&c(s.group)===n)}function m({group:a,fallback:e,heading:n,eyebrow:s,className:t}){const r=x(a,e);return l.jsx(T,{heading:n,eyebrow:s,items:r,className:t,jsonLd:!0})}export{m as T,j 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.