PageSourceSearch

https://tire-track-loyalty-3a0d7f0a.base44.app/assets/ReferralDashboard-CLpGmcLj.js

js tire-track-loyalty-3a0d7f0a.base44.app collected 2026-10-03 03:11:49 UTC 20,330 bytes, 1 lines download raw bytes

1import{j as e,R as Z,r as m,u as z,b as _,t as Q,c as V,L as X}from"./index-DdU35jPJ.js";import{B as w}from"./button-BfxMpK8P.js";import{c as ee}from"./index-CtlYlah8.js";import{U as re}from"./users-ecdZz2CG.js";import{C as te}from"./clock-D8ofwCOI.js";import{T as se}from"./trending-up-D6tLkDJM.js";import{G as B}from"./gift-iZbsnbdF.js";import{S as R}from"./share-2-DJO0Yqcr.js";import{C as ae}from"./circle-check-big-B9divPaO.js";import{C as ne}from"./copy-3ui2UWEw.js";import{u as le}from"./fuelMemberContext-CrT88XzT.js";import{c as ie}from"./customerScrollSurface-DvPzgNAk.js";import{w as oe}from"./uiAsync-Br22hwGx.js";import{A as ce}from"./arrow-left-CoQakR5q.js";import{Z as L}from"./zap-R8goDiXI.js";import{L as de}from"./link-2-Cvz71xNM.js";import{C as me}from"./credit-card-BsmBHB--.js";import{R as xe}from"./repeat-BBURVgj8.js";import{T as he}from"./trophy-CQa1VtdB.js";import"./index-gN4drEn4.js";import"./index-Dp3B9jqt.js";import"./clsx-B-dksMZM.js";import"./utils-DCmAa5as.js";import"./bundle-mjs-BTmSotT-.js";import"./createLucideIcon-DMxicyrC.js";const x=50,y=.5,k=[{count:1,label:"First Referral",icon:"🚀",color:"from-blue-500 to-cyan-500"},{count:3,label:"Rising Star",icon:"⭐",color:"from-purple-500 to-pink-500"},{count:5,label:"Gold Referrer",icon:"🥇",color:"from-yellow-500 to-orange-500"},{count:10,label:"Legend",icon:"👑",color:"from-red-500 to-rose-500"}],S=r=>`$${(r||0).toLocaleString("en-US",{minimumFractionDigits:2,maximumFractionDigits:2})}`;function ue({totalEarned:r,joinedCount:t,pendingCount:s,tireEarnings:a}){const i=[{icon:re,label:"Successful",value:t,accent:"text-[#2563EB]"},{icon:te,label:"Pending",value:s,accent:"text-amber-500"},{icon:se,label:"From Tires",value:S(a),accent:"text-emerald-600"}];return e.jsxs("div",{className:"th-referral-hero bg-gradient-to-br from-emerald-50 via-white to-white border border-emerald-100 rounded-2xl shadow-sm p-5",children:[e.jsxs("div",{className:"flex items-center gap-2 mb-1",children:[e.jsx(B,{className:"w-4 h-4 text-emerald-500"}),e.jsx("p",{className:"text-emerald-700 text-xs font-semibold",children:"Total Referral Rewards Earned"})]}),e.jsx("p",{className:"th-referral-total text-4xl font-bold text-emerald-700",children:S(r)}),e.jsxs("p",{className:"text-slate-400 text-xs mt-1",children:["Earn $",y.toFixed(2)," per tire your referrals buy — forever."]}),e.jsx("div",{className:"th-referral-stats grid grid-cols-3 gap-3 mt-4 pt-4 border-t border-emerald-100",children:i.map(n=>{const d=n.icon;return e.jsxs("div",{className:"text-center",children:[e.jsx(d,{className:`w-4 h-4 mx-auto mb-1 ${n.accent}`}),e.jsx("p",{className:`font-bold text-base ${n.accent}`,children:n.value}),e.jsx("p",{className:"text-slate-400 text-[10px]",children:n.label})]},n.label)})})]})}function fe({link:r,copied:t,copyError:s=!1,onCopy:a,onShare:i}
1){return e.jsxs("div",{className:"th-referral-share bg-gradient-to-br from-emerald-50 to-[#2563EB]/5 border border-emerald-200 rounded-2xl p-5",children:[e.jsxs("div",{className:"th-referral-share-heading flex items-center justify-between gap-2 mb-2",children:[e.jsxs("h2",{className:"text-sm font-bold text-[#17213A] flex items-center gap-2",children:[e.jsx(R,{className:"w-4 h-4 text-emerald-600"})," Your Referral Link"]}),e.jsxs("span",{className:"text-[10px] font-bold px-2 py-1 rounded-full bg-emerald-100 text-emerald-700 whitespace-nowrap",children:["$",x," + $",y.toFixed(2),"/tire"]})]}),e.jsxs("p",{className:"text-slate-500 text-xs mb-3 leading-relaxed",children:["Invite a trucking company or repair shop. When they complete their first order,"," ",e.jsxs("span",{className:"font-semibold text-emerald-700",children:["you both get $",x]})," — and you earn $",y.toFixed(2)," on every tire they buy, forever."]}),e.jsx("input",{"aria-label":"Your referral link",readOnly:!0,value:r||"",onFocus:n=>n.target.select(),className:"th-referral-link block w-full min-w-0 bg-white border border-[#E5E7EB] rounded-xl px-3 py-2.5 text-xs text-slate-500 mb-3"}),s&&e.jsx("p",{role:"alert",className:"mb-3 text-sm text-slate-600",children:"Copy didn't work. Select the link above and copy it manually."}),e.jsxs("div",{className:"grid grid-cols-2 gap-3",children:[e.jsx(w,{onClick:a,className:"th-referral-primary bg-emerald-500 hover:bg-emerald-600 text-white rounded-xl h-12 font-semibold text-sm",children:t?e.jsxs(e.Fragment,{children:[e.jsx(ae,{className:"w-4 h-4 mr-2"})," Copied!"]}):e.jsxs(e.Fragment,{children:[e.jsx(ne,{className:"w-4 h-4 mr-2"})," Copy Link"]})}),e.jsxs(w,{onClick:i,variant:"outline",className:"rounded-xl h-12 border-[#E5E7EB] text-[#17213A] font-semibold text-sm",children:[e.jsx(R,{className:"w-4 h-4 mr-2"})," Share"]})]})]})}const T=[{n:1,label:"Invited"},{n:2,label:"Joined"},{n:3,label:"First Order"}],be={pending:1,registered:2,active:3};function pe({status:r}){const t=be[r]||1;return e.jsx("div",{className:"th-referral-timeline flex items-center gap-1 text-[10px] flex-wrap",children:T.map((s,a)=>{const i=t>=s.n;return e.jsxs(Z.Fragment,{children:[e.jsxs("span",{className:`inline-flex items-center gap-1 px-2 py-0.5 rounded-full font-semibold ${i?"bg-[#2563EB]/10 text-[#2563EB]":"bg-slate-100 text-slate-400"}`,children:[e.jsx("span",{className:`w-3 h-3 rounded-full flex items-center justify-center text-[7px] ${i?"bg-[#2563EB] text-white":"bg-slate-300 text-slate-400"}`,children:i?"✓":""}),s.label]}),a<T.length-1&&e.jsx("span",{className:"text-slate-300 leading-none",children:"›"})]},s.n)})})}const ge=r=>{if(!r)return"—";const t=new Date(r);return isNaN(t.getTime())?"—":t.toLocaleDateString("en-US",{month:"short",day:"numeric",year:"numeric"})};function je({referrals:r}){return e.jsx("div",{className:"space-y-3",children:r.map(t=>{const s=!t.signup_bonus_paid&&(t.status==="registered"||t.status==="pending"),a=t.total_referrer_earnings||0,i=t.signup_bonus_paid?x:0,n=a+i,d=t.referred_name||t.referred_email||"Referral";return e.jsx("div",{"data-referral-anchor":`activity:${t.id}`,className:`th-referral-activity-card bg-white rounded-2xl border p-4 shadow-sm ${s?"border-amber-200":"border-[#E5E7EB]"}`,children:e.jsxs("div",{className:"flex items-start gap-3",children:[e.jsx("div",{className:`w-10 h-10 rounded-xl flex items-center justify-center shrink-0 ${s?"bg-amber-50":"bg-[#2563EB]/10"}`,children:e.jsx("span",{className:`font-bold text-sm ${s?"text-amber-600":"text-[#2563EB]"}`,children:d.charAt(0).toUpperCase()})}),e.jsxs("div",{className:"flex-1 min-w-0",children:[e.jsxs("div",{className:"th-referral-activity-heading flex items-start justify-between gap-2",children:[e.jsxs("div",{className:"min-w-0",children:[e.jsx("p",{className:"text-sm font-semibold text-[#17213A] truncate",children:d}),e.jsxs("p",{className:"text-xs text-slate-400",children:[ge(t.created_date)," · ",t.total_tires_purchased||0," tires"]})]}),e.jsx("div",{className:"th-referral-activity-reward text-right shrink-0",children:s?e.jsxs(e.Fragment,{children:[e.jsxs("p",{className:"text-amber-600 font-bold text-sm",children:["$",x," pending"]}),e.jsx("span",{className:"text-[10px] font-semibold px-2 py-0.5 rounded-full bg-amber-100 text-amber-700",children:"Awaiting order"})]}):e.jsxs(e.Fragment,{children:[e.jsxs("p",{className:"text-emerald-600 font-bold text-sm",children:["+",S(n)," earned"]}),e.jsx("span",{className:"text-[10px] font-semibold px-2 py-0.5 rounded-full bg-emerald-100 text-emerald-700",children:"Active"})]})})]}),e.jsx("div",{className:"mt-3",children:e.jsx(pe,{status:t.status})})]})]})},t.id)})})}const p=new Map;function Ne(r,t=Date.now()){const s=r?p.get(r):null;return!s||t-s.savedAt>=18e5?(p.delete(r),null):s}function ve(r,t,s=Date.now()){r&&(p.delete(r),p.set(r,{y:t.y,anchor:t.anchor,visibleCount:Math.max(40,Number(t.visibleCount)||40),savedAt:s}),p.size>8&&p.delete(p.keys().next().value))}function ye({active:r,ownerKey:t,ready:s}){const a=m.useRef(null),i=m.useRef(null),n=t,d=m.useMemo(()=>Ne(t),[t]),[u,f]=m.useState((d==null?void 0:d.visibleCount)||40),c=m.useRef(u);return c.current=u,m.useLayoutEffect(()=>{if(!r||!s||!n||!a.current)return;
1const g=a.current,j=ie(g,!0,window,{anchorAttribute:"data-referral-anchor",stickySelector:null,minAnchorVisible:64});return i.current!==n&&(j.restore({y:0}),i.current=n),()=>{ve(n,{...j.capture(),visibleCount:c.current})}},[r,n,s]),m.useLayoutEffect(()=>{if(!r){i.current=null;return}return document.documentElement.classList.add("th-member-referral-open"),document.body.classList.add("th-member-referral-open"),()=>{document.documentElement.classList.remove("th-member-referral-open"),document.body.classList.remove("th-member-referral-open")}},[r]),{visibleCount:u,showMore:()=>f(g=>g+40),surface:{ref:a,className:r?"th-member-referral-feed":"",role:r?"region":void 0,"aria-label":r?"Refer & Earn feed":void 0,tabIndex:r?0:void 0}}}async function we(r){const t=await _.entities.Customer.filter({user_email:r.email});if(!t.length)throw new Error("Your referral account could not be loaded. Please retry.");const s=t[0],a=await _.entities.Referral.filter({referrer_customer_id:s.id});return{customer:s,referrals:a}}function Ee(r){var a;const t=String((r==null?void 0:r.id)||(r==null?void 0:r.email)||"").trim().toLowerCase(),s=z({queryKey:["customer-referrals",t,(r==null?void 0:r.email)||""],queryFn:()=>oe(we(r),"Referrals took too long to load. Please retry."),enabled:!!(r!=null&&r.email),staleTime:6e4,gcTime:3e5,retry:!1,refetchOnWindowFocus:!0});return{data:s.data,loading:s.isPending,refreshing:s.isFetching,error:s.isError?((a=s.error)==null?void 0:a.message)||"Referrals could not be loaded. Please retry.":"",refresh:s.refetch}}function Re(r,t){if(!r)return"";const s=r.slice(-8).toUpperCase();return t+"/Registration?ref="+s}async function Ce(r,{share:t,copy:s}){if(!r)return"unavailable";if(t)try{return await t({title:"Join Truck Haters - Get $50 Credit!",text:"Sign up with my referral link and get $50 in tire credits!",url:r}),"shared"}catch(a){if((a==null?void 0:a.name)==="AbortError")return"cancelled"}return await s()?"copied":"failed"}function ke(r){const[t,s]=m.useState(!1),[a,i]=m.useState(!1),n=m.useRef(null),d=m.useRef(!0);m.useEffect(()=>(d.current=!0,()=>{d.current=!1,clearTimeout(n.current)}),[]);const u=async()=>{if(!r)return!1;try{return await navigator.clipboard.writeText(r),d.current&&(clearTimeout(n.current),s(!0),i(!1),Q.success("Referral link copied!"),n.current=setTimeout(()=>s(!1),3e3)),!0}catch{return d.current&&(s(!1),i(!0)),!1}};return{copied:t,copyError:a,copyLink:u,shareLink:()=>{var c;return Ce(r,{share:(c=navigator.share)==null?void 0:c.bind(navigator),copy:u})}}}function er(){const{user:r}=V(),{active:t}=le(),s=String((r==null?void 0:r.id)||(r==null?void 0:r.email)||"").trim().toLowerCase();return e.jsx(Se,{user:r,ownerKey:s,fuelMember:t},s)}function Se({user:r,ownerKey:t,fuelMember:s}){const{data:a,loading:i,error:n,refreshing:d,refresh:u}=Ee(r),{customer:f=null,referrals:c=[]}=a||{},{surface:g,visibleCount:j,showMore:F}=ye({active:s,ownerKey:t,ready:!!f}),$=Re(f==null?void 0:f.id,window.location.origin),{copied:M,copyError:P,copyLink:U,shareLink:A}=ke($),{allJoined:N,totalTireEarnings:D,totalEarned:O,pendingCount:Y,pendingReferrals:v,nextMilestone:b,currentMilestone:E}=m.useMemo(()=>{const l=c.filter(o=>o.status==="registered"||o.status==="active"),h=c.reduce((o,K)=>o+(K.total_referrer_earnings||0),0),C=c.filter(o=>o.signup_bonus_paid).length*x,W=h+C,J=c.filter(o=>!o.signup_bonus_paid&&(o.status==="registered"||o.status==="pending")).length,q=c.filter(o=>!o.signup_bonus_paid&&(o.status==="registered"||o.status==="pending")),G=k.find(o=>o.count>l.length),H=[...k].reverse().find(o=>o.count<=l.length);return{allJoined:l,totalTireEarnings:h,totalEarned:W,pendingCount:J,pendingReferrals:q,nextMilestone:G,currentMilestone:H}},[c]),I=[{icon:de,title:"Share Your Link",sub:"Send it to trucking contacts and fleet owners."},{icon:me,title:"They Place Their First Order",sub:`Both of you get $${x} credit when they complete their first order.`},{icon:xe,title:"Keep Earning",sub:`Earn $${y.toFixed(2)} every time they buy a tire — forever.`}];return e.jsx("div",{...g,className:`th-customer-scroll-surface min-h-screen bg-[#f8f9fc] ${g.className}`,children:e.jsxs("div",{"data-referral-content":!0,className:"mx-auto max-w-2xl px-3 pb-24 pt-4 sm:px-6 sm:py-6",children:[e.jsxs(X,{to:ee
1("CustomerDashboard"),className:"inline-flex items-center gap-2 text-slate-400 hover:text-[#17213A] text-sm mb-4 transition-colors",children:[e.jsx(ce,{className:"w-4 h-4"})," Back"]}),e.jsxs("div",{"data-referral-anchor":"heading",className:"flex items-start gap-3 mb-5",children:[e.jsx("div",{className:"th-referral-heading-icon w-11 h-11 rounded-2xl bg-emerald-500 flex items-center justify-center shadow-sm shrink-0",children:e.jsx(B,{className:"w-5 h-5 text-white"})}),e.jsxs("div",{className:"min-w-0",children:[e.jsx("h1",{className:"text-2xl font-bold text-[#17213A]",children:"Refer & Earn"}),e.jsxs("p",{className:"text-slate-400 text-sm mt-0.5",children:["Share your link, earn together — $",x," per referral + $",y.toFixed(2)," every tire, forever."]})]})]}),n&&e.jsxs("div",{role:"status",className:"mb-5 rounded-2xl border border-amber-200 bg-amber-50 p-4 text-sm text-amber-900",children:[e.jsx("p",{children:a?"Your referrals could not be refreshed. Showing the last loaded details.":n}),e.jsx(w,{variant:"outline",onClick:()=>u(),disabled:d,className:"mt-2",children:d?"Retrying…":"Retry referrals"})]}),i&&e.jsxs("div",{role:"status","aria-label":"Loading referrals",className:"space-y-4",children:[e.jsx("div",{className:"th-loading-skeleton h-52 rounded-2xl"}),e.jsx("div",{className:"th-loading-skeleton h-48 rounded-2xl"})]}),f&&e.jsxs(e.Fragment,{children:[e.jsx("div",{"data-referral-anchor":"rewards",className:"mb-4",children:e.jsx(ue,{totalEarned:O,joinedCount:N.length,pendingCount:Y,tireEarnings:D})}),e.jsx("div",{"data-referral-anchor":"share",className:"mb-5",children:e.jsx(fe,{link:$,copied:M,copyError:P,onCopy:U,onShare:A})}),e.jsxs("div",{"data-referral-anchor":"how-it-works",className:"bg-white rounded-2xl border border-[#E5E7EB] shadow-sm p-5 mb-5",children:[e.jsxs("h2",{className:"text-sm font-bold text-[#17213A] mb-4 flex items-center gap-2",children:[e.jsx(L,{className:"w-4 h-4 text-amber-500"})," How Referrals Work"]}),e.jsx("div",{className:"space-y-3",children:I.map((l,h)=>{const C=l.icon;return e.jsxs("div",{className:"flex items-start gap-3",children:[e.jsx("div",{className:"w-9 h-9 rounded-xl bg-slate-50 border border-[#E5E7EB] flex items-center justify-center shrink-0",children:e.jsx(C,{className:"w-4 h-4 text-[#2563EB]"})}),e.jsxs("div",{className:"min-w-0",children:[e.jsx("p",{className:"text-[#17213A] font-semibold text-sm",children:l.title}),e.jsx("p",{className:"text-slate-400 text-xs mt-0.5",children:l.sub})]})]},h)})}),e.jsxs("div",{className:"mt-4 pt-4 border-t border-[#E5E7EB] space-y-1.5",children:[e.jsxs("p",{className:"text-xs text-slate-400 leading-relaxed",children:[e.jsx("span",{className:"font-semibold text-[#17213A]",children:"When you earn:"})," the $",x," bonus is added once your referral places and completes their first order. Then you earn $",y.toFixed(2)," for every tire they buy — forever."]}),e.jsxs("p",{className:"text-xs text-slate-400 leading-relaxed",children:[e.jsx("span",{className:"font-semibold text-[#17213A]",children:"What qualifies:"})," a new customer who signs up with your link and completes a first paid order."]})]})]}),b&&e.jsxs("div",{"data-referral-anchor":"progress",className:"bg-white rounded-2xl border border-[#E5E7EB] shadow-sm p-5 mb-5",children:[e.jsxs("div",{className:"flex items-center justify-between mb-3",children:[e.jsxs("h2",{className:"text-sm font-bold text-[#17213A] flex items-center gap-2",children:[e.jsx(he,{className:"w-4 h-4 text-amber-500"})," Your Progress"]}),E&&e.jsxs("div",{className:`th-referral-current-badge bg-gradient-to-r ${E.color} text-white text-xs font-bold px-3 py-1 rounded-full`,children:[E.icon," ",E.label]})]}),e.jsxs("div",{className:"mb-1",children:[e.jsxs("div",{className:"flex justify-between text-xs mb-1.5",children:[e.jsxs("span",{className:"text-slate-500",children:["Next: ",e.jsxs("span",{className:"font-semibold text-[#17213A]",children:[b.icon," ",b.label]})]}),e.jsxs("span",{className:"text-[#17213A] font-semibold",children:[N.length,"/",b.count]})]}),e.jsx("div",{className:"w-full bg-slate-100 rounded-full h-2.5",children:e.jsx("div",{className:`th-referral-progress-fill h-2.5 rounded-full bg-gradient-to-r ${b.color} transition-all duration-700`,style:{width:`${Math.min(100,N.length/b.count*100)}%`}})}),e.jsxs("p",{className:"text-slate-400 text-xs mt-1.5",children:[b.count-N.length," more referral",b.count-N.length>
11?"s":""," to unlock"]})]})]}),e.jsxs("div",{"data-referral-anchor":"badges",className:"bg-white rounded-2xl border border-[#E5E7EB] shadow-sm p-5 mb-5",children:[e.jsx("h2",{className:"text-sm font-bold text-[#17213A] mb-4",children:"All Badges"}),e.jsx("div",{className:"th-referral-badges grid grid-cols-4 gap-3",children:k.map(l=>{const h=N.length>=l.count;return e.jsxs("div",{"data-achieved":h,className:`th-referral-badge rounded-2xl p-3 text-center transition-all ${h?`bg-gradient-to-br ${l.color}`:"bg-slate-50 border border-[#E5E7EB]"}`,children:[e.jsx("div",{className:"text-2xl mb-1",children:l.icon}),e.jsx("p",{className:`text-xs font-bold leading-tight ${h?"text-white":"text-[#17213A]"}`,children:l.label}),e.jsxs("p",{className:`text-xs mt-0.5 ${h?"text-white/80":"text-slate-400"}`,children:[l.count," ref",l.count>1?"s":""]}),h&&e.jsx("p",{className:"text-white/90 text-xs font-bold mt-1",children:"✓"})]},l.count)})})]}),v.length>0&&e.jsx("div",{className:"th-referral-pending bg-amber-50 border border-amber-200 rounded-2xl p-5 mb-5",children:e.jsxs("div",{className:"flex items-start gap-3",children:[e.jsx("div",{className:"w-9 h-9 rounded-xl bg-amber-100 flex items-center justify-center shrink-0",children:e.jsx(L,{className:"w-4 h-4 text-amber-600"})}),e.jsxs("div",{className:"min-w-0 flex-1",children:[e.jsxs("h3",{"data-referral-anchor":"pending-heading",className:"text-amber-800 font-bold text-sm mb-1",children:["$",(v.length*x).toFixed(0)," Pending — Waiting on ",v.length," referral",v.length>1?"s":""]}),e.jsxs("p",{className:"text-amber-700 text-xs leading-relaxed",children:["You'll receive ",e.jsxs("span",{className:"font-bold",children:["$",x," per referral"]})," once they place and complete their first order."]}),e.jsx("div",{className:"mt-3 space-y-1.5",children:(s?v.slice(0,j):v).map(l=>e.jsxs("div",{"data-referral-anchor":`pending:${l.id}`,className:"th-referral-pending-row flex items-center justify-between bg-white/60 rounded-xl px-3 py-2",children:[e.jsxs("div",{className:"flex items-center gap-2 min-w-0",children:[e.jsx("div",{className:"w-6 h-6 bg-amber-200 rounded-lg flex items-center justify-center shrink-0",children:e.jsx("span",{className:"text-amber-800 font-bold text-xs",children:(l.referred_name||"?").charAt(0)})}),e.jsx("span",{className:"text-amber-800 text-xs font-medium truncate",children:l.referred_name||l.referred_email})]}),e.jsxs("span",{className:"text-amber-700 text-xs font-bold shrink-0 ml-2",children:["$",x," pending"]})]},l.id))})]})]})}),e.jsxs("div",{className:"mb-8",children:[e.jsxs("h2",{"data-referral-anchor":"activity-heading",className:"text-sm font-bold text-[#17213A] mb-3",children:["Referral Activity (",c.length,")"]}),c.length===0?e.jsxs("div",{className:"bg-white rounded-2xl border border-[#E5E7EB] shadow-sm p-8 text-center",children:[e.jsx("div",{className:"w-14 h-14 bg-slate-50 rounded-2xl flex items-center justify-center mx-auto mb-3",children:e.jsx(R,{className:"w-6 h-6 text-slate-300"})}),e.jsx("p",{className:"text-[#17213A] font-semibold text-sm",children:"No referrals yet"}),e.jsx("p",{className:"text-slate-400 text-xs mt-1 mb-4",children:"Share your link above to start earning!"}),e.jsxs(w,{onClick:A,className:"th-referral-primary bg-emerald-500 hover:bg-emerald-600 text-white rounded-xl text-sm",children:[e.jsx(R,{className:"w-4 h-4 mr-2"})," Share My Link"]})]}):e.jsx(je,{referrals:s?c.slice(0,j):c}),s&&j<c.length&&e.jsx(w,{type:"button",variant:"outline",onClick:F,className:"mt-4 w-full",children:"Show more referrals"})]})]})]})})}export{er as default};

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.