"use strict";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const jsxDevRuntime = require("react/jsx-dev-runtime");
const ui = require("@contember/ui");
const react = require("react");
const MiscPageLayout = react.memo(({ footerActions, heading, children, ...props }) => /* @__PURE__ */ jsxDevRuntime.jsxDEV(ui.Layout, { children: /* @__PURE__ */ jsxDevRuntime.jsxDEV("div", { className: "centerCard", children: /* @__PURE__ */ jsxDevRuntime.jsxDEV("div", { className: "centerCard-in", children: [
  /* @__PURE__ */ jsxDevRuntime.jsxDEV(
    ui.Box,
    {
      gap: "large",
      label: heading && (typeof heading === "string" ? /* @__PURE__ */ jsxDevRuntime.jsxDEV(ui.Heading, { depth: 1, size: "small", children: heading }, void 0, false, {
        fileName: "/__w/interface/interface/packages/admin/src/components/MiscPageLayout.tsx",
        lineNumber: 18,
        columnNumber: 9
      }, void 0) : heading),
      ...props,
      children: /* @__PURE__ */ jsxDevRuntime.jsxDEV(ui.Stack, { gap: "large", children }, void 0, false, {
        fileName: "/__w/interface/interface/packages/admin/src/components/MiscPageLayout.tsx",
        lineNumber: 23,
        columnNumber: 6
      }, void 0)
    },
    void 0,
    false,
    {
      fileName: "/__w/interface/interface/packages/admin/src/components/MiscPageLayout.tsx",
      lineNumber: 15,
      columnNumber: 5
    },
    void 0
  ),
  footerActions && /* @__PURE__ */ jsxDevRuntime.jsxDEV("div", { style: { position: "sticky", bottom: 0 }, children: [
    /* @__PURE__ */ jsxDevRuntime.jsxDEV(ui.Spacer, { gap: "large" }, void 0, false, {
      fileName: "/__w/interface/interface/packages/admin/src/components/MiscPageLayout.tsx",
      lineNumber: 28,
      columnNumber: 6
    }, void 0),
    /* @__PURE__ */ jsxDevRuntime.jsxDEV(ui.Stack, { horizontal: true, children: footerActions }, void 0, false, {
      fileName: "/__w/interface/interface/packages/admin/src/components/MiscPageLayout.tsx",
      lineNumber: 29,
      columnNumber: 6
    }, void 0)
  ] }, void 0, true, {
    fileName: "/__w/interface/interface/packages/admin/src/components/MiscPageLayout.tsx",
    lineNumber: 27,
    columnNumber: 23
  }, void 0)
] }, void 0, true, {
  fileName: "/__w/interface/interface/packages/admin/src/components/MiscPageLayout.tsx",
  lineNumber: 14,
  columnNumber: 4
}, void 0) }, void 0, false, {
  fileName: "/__w/interface/interface/packages/admin/src/components/MiscPageLayout.tsx",
  lineNumber: 13,
  columnNumber: 3
}, void 0) }, void 0, false, {
  fileName: "/__w/interface/interface/packages/admin/src/components/MiscPageLayout.tsx",
  lineNumber: 12,
  columnNumber: 2
}, void 0));
MiscPageLayout.displayName = "MiscPageLayout";
exports.MiscPageLayout = MiscPageLayout;
//# sourceMappingURL=MiscPageLayout.cjs.map
