import {
  CirclePencilIcon
} from "./chunk-J2I3R3OV.js";
import {
  CirclePlayIcon
} from "./chunk-QO6KO6MN.js";
import {
  CircleQuoteIcon
} from "./chunk-5KNRHIIF.js";
import {
  CircleSatisfactionIcon
} from "./chunk-6JRAI4G5.js";
import {
  CircleChatIcon
} from "./chunk-ZUYCXCPW.js";
import {
  CircleCheckIcon
} from "./chunk-YVFNJE4E.js";

// src/utils/curriculum.utils.ts
var CurriculumListIcons = {
  pencil: CirclePencilIcon,
  video: CirclePlayIcon,
  quote: CircleQuoteIcon,
  check: CircleCheckIcon,
  star: CircleSatisfactionIcon
};
var getCurriculumIcon = ({
  type,
  icon
}) => {
  if (icon && Object.prototype.hasOwnProperty.call(CurriculumListIcons, icon)) {
    return CurriculumListIcons[icon];
  }
  switch (type) {
    case "video":
      return CirclePlayIcon;
    case "question_text":
      return CircleQuoteIcon;
    case "question_radio":
      return CircleCheckIcon;
    case "question_satisfaction_option":
    case "question_satisfaction_text":
      return CircleSatisfactionIcon;
    case "aiTraining":
      return CircleChatIcon;
    case "review":
    default:
      return CirclePencilIcon;
  }
};
var getCurriculumIconColor = ({
  done = false,
  selected = false
}) => {
  if (selected) {
    return "#D5AE39";
  }
  if (done) {
    return "#30A46C";
  }
  return "#D9D9E0";
};
var getCurriculumQuestionIconColor = (type) => {
  switch (type) {
    case "question_text":
      return "#D5AE39";
    case "question_radio":
      return "#30A46C";
    default:
      return "#D9D9E0";
  }
};
var getCurriculumQuestionTypeDescription = (type) => {
  switch (type) {
    case "question_text":
      return "\uC8FC\uAD00\uC2DD";
    case "question_radio":
      return "\uAC1D\uAD00\uC2DD";
    default:
      return "";
  }
};
var getCurriculumContentSubTypeText = (type) => {
  switch (type) {
    case "video":
      return "\uC601\uC0C1";
    case "review":
      return "\uB9AC\uBDF0";
    case "aiTraining":
      return "AI \uD2B8\uB808\uC774\uB2DD";
    default:
      return "";
  }
};

export {
  CurriculumListIcons,
  getCurriculumIcon,
  getCurriculumIconColor,
  getCurriculumQuestionIconColor,
  getCurriculumQuestionTypeDescription,
  getCurriculumContentSubTypeText
};
//# sourceMappingURL=chunk-JF7JAMOQ.js.map