Build 542549stable
Module 753838
1,020 characters · in 0b11eb3c613c636c.jsDependencies
Source Raw
function(s,l,e){e.d(l,{A:()=>x});var r=e(627968);e(64700);var n=e(503698),a=e.n(n),i=e(990078),t=e(104510),c=e(661531),h=e(534514),d=e(939249),o=e(473145),u=e(375708),j=e(460351);let x=s=>{let l,e,n,{guildFeature:x,guild:m,className:N,hideTooltip:_=!1,tooltipPosition:p="left",onClick:k}=s,v=m.features.has(x),g=(0,o.Ys)(x);return(v?(null!=g&&(n=u.intl.string(u.t.hUgjyP)),l=(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(t._,{color:c.A.unsafe_rawColors.GUILD_BOOSTING_PINK,className:j.RQ}),(0,r.jsx)(h.D,{variant:"eyebrow",className:j.h_,children:u.intl.string(u.t["0O+87i"])})]})):(null!=g&&(n=u.intl.string(u.t.L2wYYj)),l=(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(t._,{color:"currentColor",className:j.Kk}),(0,r.jsx)(h.D,{variant:"eyebrow",className:j.h_,children:null!=g&&(0,o.Qu)(g)})]})),e=_||null==n?(0,r.jsx)("div",{className:a()(j.Jz,N),children:l}):(0,r.jsx)(i.m,{position:p,text:n,children:(0,r.jsx)("div",{className:a()(j.Jz,N),children:l})}),null==k||v)?e:(0,r.jsx)(d.D,{onClick:k,className:j.vk,children:e})}}