Build 533169stable
Module 563863
1,700 characters · in no known chunkDependencies
Source Raw
function(e,t,n){"use strict";n.d(t,{A:()=>d,o:()=>c});var r=n(627968),i=n(827734),s=n(990078),a=n(397927),o=n(123288),l=n(985018),u=n(391262),c=function(e){return e[e.TOO_BIG=0]="TOO_BIG",e[e.RATE_LIMIT=1]="RATE_LIMIT",e[e.TOO_MANY_EMOJI=2]="TOO_MANY_EMOJI",e[e.TOO_MANY_ANIMATED_EMOJI=3]="TOO_MANY_ANIMATED_EMOJI",e[e.WRONG_TYPE=4]="WRONG_TYPE",e[e.RESIZE_ANIMATED=5]="RESIZE_ANIMATED",e}({});let d=e=>{let{error:t}=e,{type:n,filename:c}=t,{icon:d,description:_,color:f,tooltip:p}={0:{icon:a.m_x,description:l.intl.string(l.t.YbdEFK),color:i.A.unsafe_rawColors.RED_400.css,tooltip:l.intl.string(l.t.PanA4J)},4:{icon:a.uC4,description:l.intl.string(l.t["01Papm"]),color:i.A.unsafe_rawColors.RED_400.css,tooltip:l.intl.string(l.t.PanA4J)},5:{icon:o.A,description:l.intl.string(l.t["6WN/qk"]),color:i.A.unsafe_rawColors.RED_400.css,tooltip:l.intl.string(l.t.PanA4J)},1:{icon:a.$y7,description:l.intl.string(l.t["4rjikl"]),color:i.A.unsafe_rawColors.ORANGE_345.css,tooltip:l.intl.string(l.t.dq9aTi)},2:{icon:a.mir,description:l.intl.string(l.t["5VmbbF"]),color:i.A.unsafe_rawColors.RED_400.css,tooltip:l.intl.string(l.t.PanA4J)},3:{icon:a.mir,description:l.intl.string(l.t.rjFOZ2),color:i.A.unsafe_rawColors.RED_400.css,tooltip:l.intl.string(l.t.PanA4J)}}[n];return(0,r.jsxs)("div",{className:u._Z,children:[(0,r.jsx)(d,{className:u.Yg,color:i.A.unsafe_rawColors.PRIMARY_300.css}),(0,r.jsxs)("div",{className:u.XE,children:[(0,r.jsx)(a.Text,{variant:"text-md/normal",className:u.Md,children:c}),(0,r.jsx)(a.Text,{variant:"text-sm/normal",color:"text-subtle",children:_})]}),(0,r.jsx)(s.m,{asContainer:!0,position:"right",text:p,children:(0,r.jsx)(a.EpV,{size:"custom",width:20,height:20,color:f})})]})}}