(self["webpackJsonp@lyrio/ui"]=self["webpackJsonp@lyrio/ui"]||[]).push([[29],{721:function(e,s,t){"use strict";t.d(s,"a",(function(){return c}));var r=t(1),a=(t(0),t(99)),n=t(1098),i=t.n(n),o={Pending:"hourglass half",ConfigurationError:"code",SystemError:"server",CompilationError:"code",Canceled:"remove",FileError:"file outline",RuntimeError:"bomb",TimeLimitExceeded:"clock",MemoryLimitExceeded:"microchip",OutputLimitExceeded:"print",PartiallyCorrect:"minus",WrongAnswer:"remove",Accepted:"checkmark",JudgementFailed:"server",Waiting:"hourglass half",Preparing:"spinner",Compiling:"spinner",Running:"spinner",Skipped:"fast forward"},c=function(e){return Object(r.jsx)("span",{className:"statuscolor "+i.a[e.status],children:Object(r.jsx)(a.a,{className:"statusicon "+i.a.icon+(e.noMarginRight?" "+i.a.noMarginRight:""),loading:"spinner"===o[e.status],name:o[e.status]})})};s.b=function(e){var s=e.statusText||e.status.replace(/([A-Z])/g," $1").trimStart();return Object(r.jsxs)("span",{className:"statuscolor "+i.a[e.status],children:[Object(r.jsx)(a.a,{className:"statusicon "+i.a.icon,loading:"spinner"===o[e.status],name:o[e.status]}),Object(r.jsx)("span",{className:"statustext",children:s})]})}}}]);
//# sourceMappingURL=29.880f74dd.chunk.js.map