Module 571654

408 characters · in 2f9baa53e1c5e105.js
Dependencies
Lazily required by (0)none
Requires (3)
Lazily requires (0)none
Source Raw
function(e,t,n){n.d(t,{X:()=>s,z:()=>r});var i=n(64700),a=n(580630),l=n(985018);function r(e){return i.useMemo(()=>{if(null==e)return;let t=null!=e.role_id,n=e.attachments_count>0;return t&&n?l.intl.string(l.t.ih4QMU):t?l.intl.string(l.t.o9xphc):n?l.intl.string(l.t.DWYJua):void 0},[e])}function s(e){return i.useMemo(()=>{if(e?.price==null)return;let{amount:t,currency:n}=e.price;return(0,a.$g)(t,n)},[e])}}