import { jsxs as n, jsx as t } from "react/jsx-runtime";
import { a as s } from "./index.CfQlFjZU.js";
import { l as m } from "./index.C1ZfizMq.js";
import { a, g as l, d as u } from "./GridRow._ehOXG8R.js";
import "./GridLayouts.DSIvKCIo.js";
import { P as d } from "./PageHeader.BwFpx_pz.js";
import { s as f, C as p } from "./ContentMenuCategory.DOmIqW_V.js";
function C({
  menuCategories: o,
  onMenuItemClick: r,
  previousPageUrl: i,
  pageTitle: e
}) {
  return {
    pageTitle: e,
    menuCategories: o,
    onMenuItemClick: r,
    previousPageUrl: i
  };
}
function c({ menuCategories: o, onMenuItemClick: r, previousPageUrl: i }) {
  return /* @__PURE__ */ n(a, { children: [
    /* @__PURE__ */ t(l, { children: /* @__PURE__ */ t(u, { className: f.colFull, children: /* @__PURE__ */ t(d, { title: "Add Content", previousPageUrl: i }) }) }),
    /* @__PURE__ */ t(
      m,
      {
        values: o,
        layout: (e) => /* @__PURE__ */ t(
          p,
          {
            title: e.title,
            items: e.items,
            onMenuItemClick: r
          }
        )
      }
    )
  ] });
}
const y = s(c, C);
export {
  y as C
};
