import{j as e}from"./ui-vendor-CJlQk0Tq.js";import{eg as t}from"./index-CUIxi1yy.js";const n=({faqs:n,pageUrl:s})=>{const r=n.filter(e=>e.question&&e.answer);if(0===r.length)return null;const i={"@context":"https://schema.org","@type":"FAQPage","@id":`${s}#faqpage`,mainEntity:r.map(e=>({"@type":"Question",name:e.question,acceptedAnswer:{"@type":"Answer",text:e.answer}}))};return e.jsx(t,{children:e.jsx("script",{type:"application/ld+json",children:JSON.stringify(i)})})};export{n as F};