"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("react/jsx-runtime"),t=require("@devgateway/wp-react-lib"),l=require("react-router"),i=require("../ResponsiveContainer.js"),c=({header:n,footer:s,pages:r}={})=>{const{lan:o,slug:u}=l.useParams();return r?e.jsx(i.default,{header:n,footer:s,children:e.jsx(t.Page,{pages:typeof r=="object"?[r]:r})}):e.jsx(t.PageProvider,{locale:o,slug:u,store:u,children:e.jsx(i.default,{header:n,footer:s,children:e.jsx(t.PageConsumer,{children:e.jsx(t.Page,{})})})})};exports.default=c;
