import {
  useCurriculumReviewContext
} from "./chunk-GMKRNFH5.js";
import {
  Grid
} from "./chunk-EGEQY3KT.js";
import {
  Flex
} from "./chunk-25HMMI7R.js";
import {
  Button
} from "./chunk-ZVDAEY5Q.js";
import {
  HomeIcon,
  ResetIcon
} from "./chunk-V5XKNSCK.js";
import {
  Heading
} from "./chunk-BESTU2AY.js";
import {
  Typo
} from "./chunk-PMJIFLDT.js";

// src/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/complete-review.tsx
import { jsx, jsxs } from "react/jsx-runtime";
var THANKS_IMAGE_S3_URL = "https://tipp-coaching-live.s3.ap-northeast-2.amazonaws.com/images/curriculum_review_thanks.svg";
function CompleteReview(props) {
  const { onClickReviewMyAnswer } = props;
  const { reviewContents, sectionTitle, curriculum, onClickEndReview: onClickNextContents } = useCurriculumReviewContext();
  const { reviewMeta } = curriculum.contents;
  return /* @__PURE__ */ jsxs(
    Flex,
    {
      align: "center",
      direction: "column",
      height: "100%",
      justify: "between",
      maxHeight: "550px",
      maxWidth: "650px",
      mx: "4",
      my: "6",
      width: "100%",
      children: [
        /* @__PURE__ */ jsxs(Flex, { align: "center", direction: "column", children: [
          /* @__PURE__ */ jsx(Heading, { mb: "6", variant: "heading5", weight: "regular", children: (reviewMeta == null ? void 0 : reviewMeta.endReviewTopTitle) || "\uC751\uB2F5\uC744 \uC131\uACF5\uC801\uC73C\uB85C \uC81C\uCD9C\uD588\uC2B5\uB2C8\uB2E4" }),
          /* @__PURE__ */ jsx(
            "img",
            {
              alt: "complete-review",
              height: 141,
              src: THANKS_IMAGE_S3_URL,
              width: 118
            }
          ),
          /* @__PURE__ */ jsx(Typo, { color: "gray", mt: "6", variant: "caption", children: sectionTitle }),
          /* @__PURE__ */ jsx(Heading, { variant: "heading5", children: reviewContents.title }),
          /* @__PURE__ */ jsx(Typo, { align: "center", color: "gray", mt: "6", children: (reviewMeta == null ? void 0 : reviewMeta.endReviewDescription) || `\uC774\uBC88 \uD559\uC2B5\uC774 \uB9AC\uB354\uC2ED\uC5D0 \uB3C4\uC6C0\uC774 \uB418\uC5C8\uAE30\uB97C \uBC14\uB78D\uB2C8\uB2E4.
 \uC55E\uC73C\uB85C \uC788\uC744 \uB9AC\uB354\uB2D8\uC758 \uC131\uC7A5\uC744 \uAE30\uB300\uD569\uB2C8\uB2E4.` })
        ] }),
        /* @__PURE__ */ jsxs(Grid, { columns: { initial: "1fr", md: "2" }, gap: "3", width: "100%", children: [
          /* @__PURE__ */ jsxs(Button, { onClick: onClickReviewMyAnswer, variant: "outline", children: [
            (reviewMeta == null ? void 0 : reviewMeta.endReviewBackButtonTitle) || "\uB098\uC758 \uC751\uB2F5 \uB2E4\uC2DC \uBCF4\uAE30",
            /* @__PURE__ */ jsx(ResetIcon, {})
          ] }),
          /* @__PURE__ */ jsxs(Button, { onClick: onClickNextContents, children: [
            "\uCEE4\uB9AC\uD058\uB7FC\uC73C\uB85C \uB3CC\uC544\uAC00\uAE30",
            /* @__PURE__ */ jsx(HomeIcon, {})
          ] })
        ] })
      ]
    }
  );
}
var complete_review_default = CompleteReview;

export {
  complete_review_default
};
//# sourceMappingURL=chunk-OWS5GSSD.js.map