"use strict";
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __propIsEnum = Object.prototype.propertyIsEnumerable;
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
var __spreadValues = (a, b) => {
  for (var prop in b || (b = {}))
    if (__hasOwnProp.call(b, prop))
      __defNormalProp(a, prop, b[prop]);
  if (__getOwnPropSymbols)
    for (var prop of __getOwnPropSymbols(b)) {
      if (__propIsEnum.call(b, prop))
        __defNormalProp(a, prop, b[prop]);
    }
  return a;
};
var __export = (target, all) => {
  for (var name in all)
    __defProp(target, name, { get: all[name], enumerable: true });
};
var __copyProps = (to, from, except, desc) => {
  if (from && typeof from === "object" || typeof from === "function") {
    for (let key of __getOwnPropNames(from))
      if (!__hasOwnProp.call(to, key) && key !== except)
        __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
  }
  return to;
};
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);

// src/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-layout.tsx
var review_question_layout_exports = {};
__export(review_question_layout_exports, {
  default: () => review_question_layout_default
});
module.exports = __toCommonJS(review_question_layout_exports);

// src/atoms/box.tsx
var import_themes = require("@radix-ui/themes");

// src/atoms/flex.tsx
var import_themes2 = require("@radix-ui/themes");

// src/atoms/grid.tsx
var import_themes3 = require("@radix-ui/themes");

// src/atoms/separator.tsx
var import_themes4 = require("@radix-ui/themes");

// src/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-layout.tsx
var import_jsx_runtime = require("react/jsx-runtime");
function AlignCenter(props) {
  return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
    import_themes2.Flex,
    __spreadValues({
      align: "center",
      height: "100%",
      justify: "center",
      width: "100%"
    }, props)
  );
}
function ReviewQuestionLayout({
  Header,
  Body,
  Footer
}) {
  return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
    import_themes3.Grid,
    {
      align: "center",
      columns: "1fr",
      height: "100%",
      justify: "center",
      rows: {
        initial: "92px 1px 1fr 1px 56px",
        md: "112px 1px 1fr 1px 56px"
      },
      width: "100%",
      children: [
        /* @__PURE__ */ (0, import_jsx_runtime.jsx)(AlignCenter, { pb: "3", pt: "4", px: "4", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_themes.Box, { maxWidth: "650px", width: "100%", children: Header }) }),
        /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_themes4.Separator, { size: "4" }),
        /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
          AlignCenter,
          {
            p: "3",
            style: { backgroundColor: "var(--gray-2)", zIndex: 0 },
            children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_themes.Box, { height: "100%", maxWidth: "650px", width: "100%", children: Body })
          }
        ),
        /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_themes4.Separator, { size: "4" }),
        /* @__PURE__ */ (0, import_jsx_runtime.jsx)(AlignCenter, { px: "4", py: "3", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_themes.Box, { maxWidth: "650px", width: "100%", children: Footer }) })
      ]
    }
  );
}
var review_question_layout_default = ReviewQuestionLayout;
//# sourceMappingURL=review-question-layout.cjs.map