Build 574548stable
Module 812993
1,291 characters · in no known chunkDependencies
Required by (58)
2716107572422639613529336315283257103355103407149741156867164048172491178347196231215566218633268959289634319993320080322789333369337183350150350527355216380700382003402216465558467884480178483968487245516188611371612400624951627669682455689035689874697675717959724609731231753031771640807780828515839447872363893605904788912018956123961349
Lazily required by (0)none
Lazily requires (0)none
Source Raw
function(e,t,n){"use strict";n.d(t,{EG:()=>l,Gu:()=>c,JI:()=>h,Lp:()=>_,fk:()=>f,hV:()=>d,o6:()=>u});var i=n(627968);n(64700);var r=n(503698),s=n.n(r),a=n(661531),o=n(235520);let l={ROUND:o.rS,ROUND_LEFT:o.Q2,ROUND_RIGHT:o.Hg,SQUARE:""};function u(e){return e<10?16:e<100?22:30}function c(e){return e<1e3?`${e}`:`${Math.min(Math.floor(e/1e3),9)}k+`}let d=e=>{let{count:t,color:n=a.A.colors.BADGE_NOTIFICATION_BACKGROUND.css,disableColor:r=!1,shape:d=l.ROUND,className:_,style:h,renderBadgeCount:f=c,...E}=e;return(0,i.jsx)("div",{className:s()(_,o.Do,d),style:{backgroundColor:r?void 0:n,width:u(t),...h},...E,children:f(t)})},_=e=>{let{text:t,className:n,color:r=a.A.colors.BADGE_NOTIFICATION_BACKGROUND.css,shape:u=l.ROUND,disableColor:c=!1,style:d,..._}=e;return(0,i.jsx)("div",{className:s()(n,o.U1,u),style:{backgroundColor:c?void 0:r,...d},..._,children:t})},h=e=>{let{text:t,className:n,...r}=e;return(0,i.jsx)(_,{className:s()(o.BE,n),text:t,...r})},f=e=>{let{icon:t,className:n,color:r=a.A.colors.BADGE_NOTIFICATION_BACKGROUND.css,shape:u=l.ROUND,disableColor:c=!1,style:d,"aria-label":_}=e;return(0,i.jsx)("div",{className:s()(n,o.u3,u),style:{backgroundColor:c?void 0:r,...d},role:null!=_?"img":void 0,"aria-label":_,children:(0,i.jsx)(t,{className:o.Kk,color:"currentColor"})})}}