import { j as s } from "./_virtual/jsx-runtime.js";
import { usePageStyle as o } from "./packages/components/src/shared/hooks/use-page-style.js";
import i from "./packages/components/src/shared/components/Section.js";
function u({ page: t, site: a }) {
  const e = o({ attributes: t.attributes, typography: t.theme.typography });
  return /* @__PURE__ */ s.jsxs("div", { className: e, children: [
    t.sections.map((r) => /* @__PURE__ */ s.jsx(i, { section: r }, r.id)),
    a.attributes.bodyTags && // biome-ignore lint/security/noDangerouslySetInnerHtml: Enable raw HTML
    /* @__PURE__ */ s.jsx("div", { dangerouslySetInnerHTML: { __html: a.attributes.bodyTags } }),
    t.attributes.additionalTags?.bodyTags && // biome-ignore lint/security/noDangerouslySetInnerHtml: Enable raw HTML
    /* @__PURE__ */ s.jsx("div", { dangerouslySetInnerHTML: { __html: t.attributes.additionalTags.bodyTags } })
  ] });
}
export {
  u as default
};
//# sourceMappingURL=Page.js.map
