"use strict";
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __hasOwnProp = Object.prototype.hasOwnProperty;
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/curriculum-v2-layout.tsx
var curriculum_v2_layout_exports = {};
__export(curriculum_v2_layout_exports, {
  CurriculumV2Layout: () => CurriculumV2Layout
});
module.exports = __toCommonJS(curriculum_v2_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/atoms/aspect-ratio.tsx
var import_themes5 = require("@radix-ui/themes");

// src/molecules/curriculumV2/curriculum-v2-layout.tsx
var import_jsx_runtime = require("react/jsx-runtime");
function CurriculumV2Layout(props) {
  const { NavBar, Contents, SideBar, SideNav, style } = props;
  return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_themes3.Grid, { align: "center", height: "100%", rows: "auto 1px 1fr", style, width: "100%", children: [
    /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
      import_themes2.Flex,
      {
        align: "center",
        height: { initial: "40px", md: "64px" },
        width: "100%",
        children: NavBar
      }
    ),
    /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_themes4.Separator, { size: "4" }),
    /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
      import_themes2.Flex,
      {
        align: "center",
        height: "100%",
        justify: "center",
        overflow: "hidden",
        width: "100%",
        children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
          import_themes3.Grid,
          {
            columns: { initial: "1", md: "1fr 340px" },
            height: "100%",
            maxWidth: "1440px",
            rows: { initial: "auto 1fr", md: "auto" },
            width: "100%",
            children: [
              /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_themes.Box, { height: "100%", width: "100%", children: [
                /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_themes5.AspectRatio, { ratio: 16 / 9, children: Contents }),
                SideNav
              ] }),
              SideBar
            ]
          }
        )
      }
    )
  ] });
}
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {
  CurriculumV2Layout
});
//# sourceMappingURL=curriculum-v2-layout.cjs.map