PageSourceSearch

https://assets.livid.com/assets/ReferralBanner-QvmH82Za.js

js livid.com collected 2026-09-24 18:31:01 UTC 1,571 bytes, 1 lines download raw bytes

1import{h as o,r as l,j as a,y as t}from"./main-0mA9R0ha.js";import{S as d}from"./skeleton-CByFHoSk.js";import{T as c}from"./Trans-BaFPqO0H.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="0a67381d-6076-4e4f-9d74-03ff5e63c6f6",e._sentryDebugIdIdentifier="sentry-dbid-0a67381d-6076-4e4f-9d74-03ff5e63c6f6")}catch{}})();const g=({referral:e,size:s="default"})=>{const{t:n}=o("billing"),[i,r]=l.useState(!1);return a.jsxs("div",{className:t("flex flex-col gap-4 items-center sm:flex-row max-w-full",s==="default"&&"p-6 border border-border bg-card rounded-lg animate-pop-in"),children:[e.imageUrl&&a.jsxs("div",{className:"size-20 shrink-0 relative",children:[!i&&a.jsx(d,{className:"size-20 rounded-full absolute inset-0"}),a.jsx("img",{alt:e.name,className:t("size-20 rounded-full object-cover transition-opacity duration-200",i?"opacity-100":"opacity-0"),onLoad:()=>r(!0),src:e.imageUrl})]}),a.jsxs("div",{className:"flex flex-col gap-1 max-w-full min-w-0",children:[a.jsx("span",{className:"font-marketing-header font-black text-xl uppercase tracking-tight break-words",children:e.name}),a.jsx("span",{className:t("font-light leading-snug",s==="compact"?"text-sm":"text-base"),children:a.jsx(c,{i18nKey:"referral.banner.welcome",t:n,tOptions:{formatParams:{price:{currency:"usd",maximumFractionDigits:0,minimumFractionDigits:0}},price:Math.floor(e.creditAmountCents/100)}})})]})]})};export{g as R};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.