import { jsx as a } from "react/jsx-runtime";
import { u as i, a as s } from "./chunks/use-section-style.Cg6VYj5D.js";
import { B as n } from "./chunks/BrickWrapper.BsQ9ga3q.js";
function o({ section: t }) {
  const r = i({ section: t });
  return /* @__PURE__ */ a("section", { id: t.id, "data-element-kind": "section", className: r, children: t.bricks.map((e) => /* @__PURE__ */ a(n, { brick: e }, e.id)) }, t.id);
}
function c({ page: t }) {
  const r = s({ attributes: t.attr, typography: t.theme.typography });
  return /* @__PURE__ */ a("div", { className: r, children: t.sections.map((e) => /* @__PURE__ */ a(o, { section: e }, e.id)) });
}
export {
  c as default
};
//# sourceMappingURL=Page.js.map
