import{fE as u,ao as e,aF as g,L as h,aP as f,aq as a,bU as o,ba as j,f as r,e as L}from"./app-k0jcl5PQ.js";const P="_image_1xc8t_1",S={image:P},s="signUp.streamInfo",t=h.encloseNamespace(s);function U(i){const{canRedeemMoreReferrals:n,totalStreamsAvailable:c,isLoaded:l}=u();function p(){const m=n?r.SignUp.INVITE_COLLEAGUE:r.SignUp.UPGRADE,x=n?"referralHintLink":"upgradeHintLink",d=n?"referralHintSuffix":"upgradeHintSuffix";return e.jsxs("div",{className:"bg-light-indigo rounded p-2 mb-3 text-indigo text-center",children:[e.jsx(j,{className:"d-inline text-indigo text-decoration-underline",appLink:{application:L.SIGN_UP,action:m},children:e.jsx(a,{namespace:s,phrase:x})})," ",e.jsx(a,{namespace:s,phrase:d})]})}return e.jsxs(g,{title:t("title"),closePopup:i.closePopup,size:"md",showLoadingSpinner:!l,children:[p(),e.jsx("div",{className:"text-center",children:e.jsx("img",{className:`${S.image} d-sm-inline-block`,src:f.SignUp.INVITE_COLLEAGUE,alt:t("monthlyLimit")})}),e.jsx("div",{className:"h6 my-3 text-center",children:e.jsx(a,{namespace:s,phrase:"monthlyLimit",options:{smartCount:c}})}),e.jsx("p",{className:"px-3",children:e.jsx(a,{namespace:s,phrase:"streamCalculations"})}),e.jsx(o,{children:e.jsx(o.Cancel,{text:t("close"),onClick:i.closePopup})})]})}export{U as StreamInfoPopupView};
//# sourceMappingURL=YHXTpQuH.chunk.js.map
