import{j as u}from"./main-ac2fa4b1.js";import{r as t}from"./chunk-react-162a731f.js";const x=t.createContext(void 0),f=({meta_title:e,content:r,children:o,seoBlock:s})=>{const[a,i]=t.useState(r);return t.useEffect(()=>{r&&i({...r,meta_title:e,seoBlock:s})},[r]),u.jsx(x.Provider,{value:a,children:o})};export{f as A,x as a};