import{s}from"./SubmissionPage.b2162462.js";import{u as m}from"./index.c6944236.js";import{h as n,F as r,j as t}from"./vendor.e6eaca24.js";import{O as g}from"./CodeBox.16e9a888.js";import{F as c}from"./FormattableCodeBox.1e72f92b.js";import"./common.de522c23.js";import"./SubmissionItem.d7211db0.js";import"./formatFileSize.22c4f2a5.js";import"./UserLink.eec3c14e.js";import"./StatusText.c4c8fc8c.js";import"./ScoreText.136453e4.js";import"./CodeLanguage.24acdb11.js";import"./utils.47c10adb.js";import"./downloadFile.5d04037d.js";import"./CodeFormatter.cc19f225.js";import"./v4.90f1a8cc.js";const d=e=>{const i=m("submission");return n(r,{children:[t(c,{code:e.content.code,language:e.content.language,ref:e.refDefaultCopyCodeBox}),e.getCompilationMessage(),e.getSystemMessage(),e.getSubtasksView(o=>t(g,{title:i(".testcase.checker_message"),ansiMessage:o.checkerMessage}))]})},u={getAnswerInfo(e,i){const o=Object.entries(e.compileAndRunOptions);return o.length?t(r,{children:t("table",{className:s.compileAndRunOptions,children:t("tbody",{children:o.map(([a,l])=>n("tr",{children:[t("td",{align:"right",className:s.compileAndRunOptionsName,children:t("strong",{children:i(`code_language.${e.language}.options.${a}.name`)})}),t("td",{children:i(`code_language.${e.language}.options.${a}.values.${l}`)})]},a))})})}):null},getHighlightLanguageList(e){return[e.language]}};var B=Object.assign(d,u);export{B as default};
