1import{r as i,u as he,a as ge,b as fe,c as ye,j as e,G as be,P as je,S as H,L,W as _e,X as ke,T as we,d as ve,e as Ne,g as z,A as X,C as q,E as Ce,f as J,h as Fe,D as Se,i as Te,k as Ee,l as Me,m as Le,s as K}from"./index-DocTL6Xp.js";import{S as A,a as D,b as $,c as B,d as p,C as Ae}from"./select-bawU9DmT.js";import{S as De}from"./switch-CpL7_qvk.js";import{W as Z}from"./WatchlistStar-MGMHUZ8K.js";import{L as $e,R as Be}from"./rows-3-ifS1hiMj.js";import"./index-Ds99ek2V.js";import"./useWatchlist-DnFwqyIo.js";const Y="frontpage_live_appraisals_v1",I=a=>{const o=a.split(".");return o.length>1?o.slice(1).join(".").toLowerCase():""},Q=a=>{const o=a.domain.split(".")[0],x=I(a.domain),c=a.formatted_domain&&a.formatted_domain.toLowerCase()===o.toLowerCase()?a.formatted_domain:o.charAt(0).toUpperCase()+o.slice(1).toLowerCase();return x?`${c}.${x}`:c},ee=a=>{if(!a)return null;if(a.includes("-"))return a.split("-").map(x=>{const c=parseInt(x.replace(/[^0-9]/g,""),10);return isNaN(c)?x:`$${c.toLocaleString("en-US")}`}).join(" - ");const o=parseInt(a.replace(/[^0-9]/g,""),10);return isNaN(o)?a:`$${o.toLocaleString("en-US")}`},se=a=>{const o=new Date(a).getTime()-Date.now();if(o<=0)return"Expired";const x=Math.floor(o/864e5),c=Math.floor(o%864e5/36e5),y=Math.floor(o%36e5/6e4);if(x>0)return`${x}d ${c}h ${y}m`;const h=Math.floor(o%6e4/1e3);return c>0?`${c}h ${y}m ${h}s`:`${y}m ${h}s`},te=(a,o)=>{if(a==null)return null;const x=(o||"usd").toLowerCase()==="usd"?"$":"",c=Math.abs(a-Math.trunc(a))>1e-4;return`${x}${a.toLocaleString("en-US",{minimumFractionDigits:c?2:0,maximumFractionDigits:2})}`},Pe=(a,o,x)=>{if(a==null)return null;const c=te(a,x);return o&&o>0?`${c} · ${o} bid${o===1?"":"s"}`:c},re=a=>{if(!a)return null;const o=Date.now()-new Date(a).getTime();if(o<0)return"just now";const x=Math.floor(o/1e3);if(x<60)return"just now";const c=Math.floor(x/60);return c<60?`Updated ${c}m ago`:`Updated ${Math.floor(c/60)}h ago`},P=24,r={bg:"#FAF9F5",surface:"#FFFFFF",ink:"#1A1A1A",inkMuted:"#6B6B68",accent:"#C96442",accentDark:"#B25438",border:"#E8E5DD",borderStrong:"#D8D3C5"};function Xe(){const[a,o]=i.useState([]),[x,c]=i.useState(!0),[,y]=i.useState(0),[h,U]=i.useState("time_asc"),[k,le]=i.useState("all"),[b,ae]=i.useState("all"),[N,ne]=i.useState(!1),[j,G]=i.useState(""),[T,W]=i.useState(P),[R,oe]=i.useState("cards"),[ie,E]=i.useState(!1),[_,Ie]=i.useState("table"),w=s=>{s()},[O,Ue]=i.useState(()=>{try{const s=localStorage.getItem(Y);return s?JSON.parse(s):{}}catch{return{}}});i.useState(new Set);const{user:ce}=he();ge(ce),fe(),ye(),i.useEffect(()=>{try{localStorage.setItem(Y,JSON.stringify(O))}catch{}},[O]),i.useRef(null),i.useEffect(()=>{document.title="GoExpired.com - Hand-picked domain auctions"},[]),i.useEffect(()=>{const s=async()=>{try{const d=new Date().toISOString(),{data:m,error:n}=await K.from("expired_auctions_hot").select("id, domain, expires, logo_url, dynadot_appraisal, atom_premium, score, age, tld_count, length, formatted_domain, description, source_type, auction_url, current_bid_price, bid_count, auction_price_currency, price_last_checked_at").or(`expires.gte.${d},source_type.eq.gname`).order("expires",{ascending:!0});if(n)throw n;const f=(m||[]).filter(u=>u.source_type==="gname").map(u=>u.domain.toLowerCase()),F=new Map;if(f.length>0){const{data:u}=await K.from("gname_auctions").select("domain, deletion_typename").in("domain",f);(u||[]).forEach(g=>{g!=null&&g.domain&&F.set(g.domain.toLowerCase(),g.deletion_typename||"")})}const S=(m||[]).map(u=>{var g,V;if(u.source_type==="gname"){const ue=((V=(g=u.domain)==null?void 0:g.toLowerCase)==null?void 0:V.call(g))||"";return{...u,gname_deletion_type:F.get(ue)||""}}return u}).filter(u=>!u.expires||new Date(u.expires).getTime()>Date.now());o(S)}catch(d){console.error("Error fetching auctions:",d)}finally{c(!1)}};s();const l=setInterval(s,6e4),t=setInterval(()=>y(d=>d+1),1e3);return()=>{clearInterval(l),clearInterval(t)}},[]);const de=i.useMemo(()=>Array.from(new Set(a.map(s=>I(s.domain)))).filter(Boolean).sort(),[a]),v=i.useMemo(()=>a.filter(s=>{const l=k==="all"||I(s.domain)===k,t=s.source_type==="gname"?s.gname_deleti
1on_type==="Delete"?"expired":"backorder":s.source_type==="backorder"?"backorder":"expired",d=b==="all"||b==="backorder"&&t==="backorder"||b==="expired"&&t==="expired",m=!N||!!s.atom_premium,n=!j.trim()||s.domain.toLowerCase().includes(j.trim().toLowerCase());return l&&d&&m&&n}).sort((s,l)=>{switch(h){case"score_desc":return(l.score||0)-(s.score||0);case"score_asc":return(s.score||0)-(l.score||0);case"time_asc":return new Date(s.expires).getTime()-new Date(l.expires).getTime();case"time_desc":return new Date(l.expires).getTime()-new Date(s.expires).getTime();case"alphabetical_asc":return s.domain.localeCompare(l.domain);case"alphabetical_desc":return l.domain.localeCompare(s.domain);case"age_desc":return(l.age||0)-(s.age||0);case"age_asc":return(s.age||0)-(l.age||0);case"tld_count_desc":return(l.tld_count||0)-(s.tld_count||0);case"tld_count_asc":return(s.tld_count||0)-(l.tld_count||0);case"length_asc":return(s.length||0)-(l.length||0);case"length_desc":return(l.length||0)-(s.length||0);case"bid_count_desc":return(l.bid_count||0)-(s.bid_count||0);case"bid_count_asc":return(s.bid_count||0)-(l.bid_count||0);case"current_bid_desc":return(l.current_bid_price||0)-(s.current_bid_price||0);case"current_bid_asc":return(s.current_bid_price||0)-(l.current_bid_price||0);default:return 0}}),[a,h,k,b,N,j]);i.useEffect(()=>{W(P)},[h,k,b,N,j]);const[M,me]=i.useState(null);i.useEffect(()=>{if(!M)return;const s=new IntersectionObserver(l=>{l[0].isIntersecting&&W(t=>Math.min(t+P,v.length))},{rootMargin:"400px"});return s.observe(M),()=>s.disconnect()},[M,v.length,T]);const pe=9,xe=!1,C=v.slice(0,T);return Math.max(0,v.length-pe),e.jsxs("div",{style:{backgroundColor:r.bg,color:r.ink,fontFamily:"'Inter', system-ui, sans-serif"},className:"min-h-screen",children:[e.jsx(be,{activeLink:"home"}),e.jsxs("main",{children:[e.jsx(je,{title:"Premium Auctions | GoExpired",description:"Hand-picked premium expired domain auctions, updated daily. The shortlist domain investors check first.",path:"/premiumauctions"}),e.jsx("section",{className:"max-w-6xl mx-auto px-6 md:px-8 pt-20 md:pt-28 pb-16 md:pb-20",children:e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-10 items-center",children:[e.jsxs("div",{children:[e.jsxs("div",{className:"inline-flex items-center gap-2 px-3 py-1 rounded-full text-xs mb-8",style:{backgroundColor:r.surface,border:`1px solid ${r.border}`,color:r.inkMuted},children:[e.jsx(H,{className:"w-3 h-3",style:{color:"#2563EB"}}),e.jsx("span",{children:"Trusted by 2K+ domain investors"})]}),e.jsxs("h1",{className:"text-5xl leading-[1.05] tracking-tight mb-6 md:text-7xl",style:{fontFamily:"'Cormorant', serif",fontWeight:600,color:r.ink},children:["Premium Auctions",e.jsx("br",{}),"Hand-picked",e.jsx("br",{}),"Updated Daily."]}),e.jsx("p",{className:"text-lg md:text-xl leading-relaxed max-w-2xl",style:{color:r.inkMuted,fontFamily:"'Cormorant', serif",fontWeight:500},children:"The shortlist domain investors check first. Every day we scan thousands of domain auctions and hand-pick the few worth your time."}),e.jsxs("div",{className:"flex flex-wrap gap-3 mt-10",children:[e.jsx(L,{to:"/endingsoon",children:e.jsx("button",{className:"px-6 py-3 rounded-full text-sm font-medium transition-all duration-200 hover:-translate-y-[1px]",style:{backgroundColor:"#2563EB",color:"#FFFFFF",boxShadow:"0 4px 14px -4px rgba(37, 99, 235, 0.45), inset 0 1px 0 rgba(255,255,255,0.25)"},children:"Ending Soon"})}),e.jsx(L,{to:"/todays-picks",children:e.jsx("button",{className:"px-6 py-3 rounded-full text-sm font-medium transition-colors",style:{backgroundColor:"transparent",border:`1px solid ${r.borderStrong}`,color:r.ink},onMouseEnter:s=>s.currentTarget.style.backgroundColor="rgba(0,0,0,0.03)",onMouseLeave:s=>s.currentTarget.style.backgroundColor="transparent",children:"Today's Picks"})})]})]}),e.jsx("div",{className:"hidden md:flex items-center justify-center",children:e.jsx(_e,{})})]})}),e.jsxs("section",{id:"auctions",className:"max-w-6xl mx-auto px-6 md:px-8 pt-4 md:pt-6 pb-24 md:pb-32",children:[e.jsxs("div",{className:"mb-8",children:[e.jsxs("div",{className:"mb-3 text-sm",style:{color:r.inkMuted},children:["There are ",e.jsx("span",{style:{color:r.ink,fontWeight:600}
1,children:a.length.toLocaleString()})," premium auctions available right now."]}),e.jsxs("div",{className:"flex items-center justify-between flex-wrap gap-3",children:[e.jsx("div",{className:"inline-flex items-center p-1 rounded-full",style:{backgroundColor:r.surface,border:`1px solid ${r.border}`},role:"tablist","aria-label":"View mode",children:[{key:"cards",label:"Cards",Icon:$e},{key:"table",label:"Table",Icon:Be}].map(({key:s,label:l,Icon:t})=>{const d=R===s;return e.jsxs("button",{onClick:()=>{oe(s)},role:"tab","aria-selected":d,"aria-label":l,className:"inline-flex items-center gap-1.5 px-3 py-1.5 rounded-full text-xs font-medium transition-colors relative",style:{backgroundColor:d?"#1A1A1A":"transparent",color:d?"#FFFFFF":r.inkMuted,opacity:1},children:[e.jsx(t,{className:"w-3.5 h-3.5"}),e.jsx("span",{className:"hidden sm:inline",children:l}),!1]},s)})}),e.jsxs("div",{className:"flex flex-wrap items-center gap-3",children:[e.jsxs("div",{className:"relative",children:[e.jsx("input",{type:"text",value:j,onChange:s=>w(()=>G(s.target.value)),placeholder:"Search auctions...",className:"w-[200px] rounded-full text-sm px-4 py-2 pr-8 outline-none focus:ring-2 focus:ring-[#2563EB]/30",style:{backgroundColor:r.surface,border:`1px solid ${r.border}`,color:r.ink}}),j&&e.jsx("button",{type:"button",onClick:()=>G(""),className:"absolute right-2 top-1/2 -translate-y-1/2 text-muted-foreground hover:text-foreground","aria-label":"Clear search",style:{color:r.inkMuted},children:e.jsx(ke,{className:"w-3.5 h-3.5"})})]}),e.jsxs(A,{value:h,onValueChange:s=>w(()=>U(s)),children:[e.jsx(D,{className:"w-[180px] rounded-full text-sm border-0",style:{backgroundColor:r.surface,border:`1px solid ${r.border}`,color:r.ink},children:e.jsx($,{placeholder:"Sort by"})}),e.jsxs(B,{children:[e.jsx(p,{value:"time_asc",children:"Ending soonest"}),e.jsx(p,{value:"time_desc",children:"Ending latest"}),e.jsx(p,{value:"alphabetical_asc",children:"A â Z"}),e.jsx(p,{value:"alphabetical_desc",children:"Z â A"}),e.jsx(p,{value:"age_desc",children:"Age: old to new"}),e.jsx(p,{value:"age_asc",children:"Age: new to old"}),e.jsx(p,{value:"tld_count_desc",children:"TLD count: high to low"}),e.jsx(p,{value:"tld_count_asc",children:"TLD count: low to high"}),e.jsx(p,{value:"length_asc",children:"Length: short to long"}),e.jsx(p,{value:"length_desc",children:"Length: long to short"}),e.jsx(p,{value:"bid_count_desc",children:"Bids: high to low"}),e.jsx(p,{value:"bid_count_asc",children:"Bids: low to high"}),e.jsx(p,{value:"current_bid_desc",children:"Current Bid: high to low"}),e.jsx(p,{value:"current_bid_asc",children:"Current Bid: low to high"})]})]}),e.jsxs(A,{value:b,onValueChange:s=>w(()=>ae(s)),children:[e.jsx(D,{className:"w-[140px] rounded-full text-sm border-0",style:{backgroundColor:r.surface,border:`1px solid ${r.border}`,color:r.ink},children:e.jsx($,{placeholder:"Type"})}),e.jsxs(B,{children:[e.jsx(p,{value:"all",children:"All Types"}),e.jsx(p,{value:"expired",children:"Expired"}),e.jsx(p,{value:"backorder",children:"Backorder"})]})]}),e.jsxs(A,{value:k,onValueChange:s=>w(()=>le(s)),children:[e.jsx(D,{className:"w-[140px] rounded-full text-sm border-0",style:{backgroundColor:r.surface,border:`1px solid ${r.border}`,color:r.ink},children:e.jsx($,{placeholder:"TLD"})}),e.jsxs(B,{children:[e.jsx(p,{value:"all",children:"All TLDs"}),de.map(s=>e.jsxs(p,{value:s,children:[".",s]},s))]})]}),e.jsxs("label",{className:"flex items-center gap-2 px-4 py-2 rounded-full text-sm cursor-pointer",style:{backgroundColor:r.surface,border:`1px solid ${r.border}`,color:r.ink},children:[e.jsx(De,{checked:N,onCheckedChange:s=>{ne(s)},className:"data-[state=checked]:bg-[#2563EB]"}),e.jsxs(we,{children:[e.jsx(ve,{asChild:!0,children:e.jsx("span",{children:"Atom Premium"})}),e.jsx(Ne,{children:e.jsx("p",{children:"These domains are already listed as Premium Listings on Atom.com or are Instant Premium Eligible."})})]})]})]})]})]}),x?e.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-6 md:gap-8",children:Array.from({length:6}).map((s,l)=>e.jsxs("div",{className:"rounded-2xl overflow-hidden animate-pulse",style:{backgroundColor:r.surface,border:`1px solid ${r.border}`},children:[e.jsx("div",{className:"aspect-[3/2]",style:{backgroundColor:"#F0EDE5"}}),e.jsxs("div",{className:"p-5 space-y-3",children:[e.jsx("div",{className:"h-5 w-2/3 rounded",style:{backgroundColor:"#F0EDE5"}}),e.jsx("div",{className:"h-4 w-1/3 rounded",style:{backgroundColor:"#F0EDE5"}})]})]},l))}):C.length===0?e.jsx("div",{className:"text-center py-20 rounded-2xl",style:{backgroundColor:r.surface,border:`1px solid ${r.border}`,color:r.inkMuted},children:"No auctions match these filters."}):R==="cards"?e.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-6 md:gap-8",children:C.map(s=>{const l=z(s.domain,s.source_type,s.auction_url);
1return ee(s.dynadot_appraisal),e.jsxs("article",{className:"rounded-2xl overflow-hidden transition-all duration-200 hover:-translate-y-[2px] flex flex-col h-full",style:{backgroundColor:r.surface,border:`1px solid ${r.border}`,boxShadow:"0 1px 2px rgba(26,26,26,0.04)"},onMouseEnter:t=>t.currentTarget.style.boxShadow="0 12px 32px -12px rgba(26,26,26,0.15), 0 2px 6px rgba(26,26,26,0.05)",onMouseLeave:t=>t.currentTarget.style.boxShadow="0 1px 2px rgba(26,26,26,0.04)",children:[e.jsx("a",{href:l,target:"_blank",rel:"noopener noreferrer",className:"block",children:s.logo_url?e.jsx("div",{className:"aspect-[3/2] overflow-hidden flex items-center justify-center p-2",style:{backgroundColor:"#FFFFFF"},children:e.jsx("img",{src:s.logo_url,alt:`Logo for ${s.domain}`,className:"w-full h-full object-contain",loading:"lazy"})}):e.jsx("div",{className:"aspect-[3/2] flex items-center justify-center",style:{backgroundColor:"#F5F2EA",color:r.inkMuted,fontSize:"1.5rem",fontWeight:600},children:s.formatted_domain||s.domain.split(".")[0].charAt(0).toUpperCase()+s.domain.split(".")[0].slice(1).toLowerCase()})}),e.jsxs("div",{className:"p-5 md:p-6 flex-1 flex flex-col gap-4",children:[e.jsxs("div",{className:"flex items-start justify-between gap-3",children:[e.jsx("a",{href:l,target:"_blank",rel:"noopener noreferrer",className:"text-xl tracking-tight truncate hover:underline transition-colors",style:{fontWeight:600,color:r.ink},title:s.domain,onMouseEnter:t=>t.currentTarget.style.color="#2563EB",onMouseLeave:t=>t.currentTarget.style.color=r.ink,children:Q(s)}),e.jsxs("div",{className:"flex items-center gap-2 shrink-0",children:[s.atom_premium&&e.jsx(X,{size:"sm"}),e.jsx(Z,{payload:{domain:s.domain,source_id:s.id,end_time:s.expires,auction_url:l,source_type:s.source_type,logo_url:s.logo_url,formatted_domain:s.formatted_domain,snapshot:{dynadot_appraisal:s.dynad
1ot_appraisal,atom_premium:s.atom_premium,score:s.score,age:s.age,tld_count:s.tld_count,length:s.length,description:s.description}}})]})]}),e.jsx("p",{className:"min-h-[2.5rem] text-sm line-clamp-2",style:{color:r.inkMuted},children:s.description||"Â "}),e.jsxs("div",{className:"mt-auto flex flex-col gap-4",children:[e.jsxs("div",{className:"flex flex-col gap-1 text-sm",style:{color:r.inkMuted},children:[e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("span",{className:"inline-flex items-center gap-1.5",children:[e.jsx(q,{className:"w-3.5 h-3.5"}),se(s.expires)]}),e.jsx("a",{href:`/appraise-your-domain?domain=${encodeURIComponent(s.domain)}`,target:"_blank",rel:"noopener noreferrer",className:"text-sm hover:underline transition-colors",style:{color:"#2563EB",fontWeight:500},onMouseEnter:t=>t.currentTarget.style.color="#1D4FD8",onMouseLeave:t=>t.currentTarget.style.color="#2563EB",children:"Appraise"})]}),e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsx("span",{className:"text-xs uppercase tracking-wider",style:{color:r.inkMuted},children:"Current bid"}),(()=>{var n;const t=Pe(s.current_bid_price,s.bid_count,s.auction_price_currency),d=re(s.price_last_checked_at),m=(n=s.domain)==null?void 0:n.toLowerCase().endsWith(".now");return t?e.jsxs("span",{className:"text-right",children:[e.jsx("span",{className:"tabular-nums",style:{color:r.ink,fontWeight:600},children:t}),d&&e.jsx("span",{className:"block text-[11px]",style:{color:r.inkMuted},children:d})]}):m?e.jsx("span",{className:"text-xs",style:{color:r.inkMuted},children:"â"}):s.source_type==="gname"||s.source_type==="namecheap"?e.jsxs("span",{className:"text-xs italic",style:{color:r.inkMuted},children:[s.source_type==="gname"?"Gname":"Namecheap"," prices not live-checked"]}):e.jsx("span",{className:"text-xs italic",style:{color:r.inkMuted},children:"Checking price..."})})()]})]}),e.jsx("a",{href:l,target:"_blank",rel:"noopener noreferrer",className:"block",children:e.jsxs("button",{className:"w-full py-2.5 rounded-full text-sm font-medium transition-all duration-200 flex items-center justify-center gap-2 hover:-translate-y-[1px]",style:{backgroundColor:"rgba(255,255,255,0.6)",backdropFilter:"blur(12px)",WebkitBackdropFilter:"blur(12px)",border:`1px solid ${r.borderStrong}`,color:r.ink,boxShadow:"0 4px 12px -6px rgba(26,26,26,0.1), inset 0 1px 0 rgba(255,255,255,0.7)"},onMouseEnter:t=>{t.currentTarget.style.backgroundColor="#2563EB",t.currentTarget.style.color="#FFFFFF",t.currentTarget.style.borderColor="#2563EB"},onMouseLeave:t=>{t.currentTarget.style.backgroundColor="rgba(255,255,255,0.6)",t.currentTarget.style.color=r.ink,t.currentTarget.style.borderColor=r.borderStrong},children:["View Auction",e.jsx(Ce,{className:"w-3.5 h-3.5"})]})})]})]})]},s.id)})}):e.jsx("div",{className:"rounded-2xl overflow-hidden",style:{backgroundColor:r.surface,border:`1px solid ${r.border}`,boxShadow:"0 1px 2px rgba(26,26,26,0.04)"},children:e.jsx("div",{className:"overflow-x-auto",children:e.jsxs("table",{className:"w-full text-sm",style:{borderCollapse:"separate",borderSpacing:0,tableLayout:"fixed"},children:[e.jsxs("colgroup",{children:[e.jsx("col",{style:{width:"220px"}}),e.jsx("col",{style:{width:"100px"}}),e.jsx("col",{style:{width:"120px"}}),e.jsx("col",{style:{width:"140px"}}),e.jsx("col",{style:{width:"200px"}}),e.jsx("col",{style:{width:"80px"}}),e.jsx("col",{style:{width:"80px"}}),e.jsx("col",{style:{width:"90px"}}),e.jsx("col",{style:{width:"80px"}})]}),e.jsx("thead",{children:e.jsx("tr",{style:{backgroundColor:"#F5F2EA",color:r.inkMuted},children:[{label:"Domain",align:"left",width:"220px",asc:"alphabetical_asc",desc:"alphabetical_desc"},{label:"Appraise",align:"left",width:"100px"},{label:"Marketplace",align:"left",width:"120px"},{label:"Time left",align:"left",width:"140px",asc:"time_asc",desc:"time_desc"},{label:"Current bid",align:"right",width:"200px",asc:"current_bid_asc",desc:"current_bid_desc"},{label:"Bids",align:"right",width:"80px",asc:"bid_count_asc",desc:"bid_count_desc"},{label:"Age",align:"right",width:"80px",asc:"age_asc",desc:"age_desc"},{label:"Length",align:"right",width:"90px",asc:"length_asc",desc:"length_desc"},{label:"TLDs",align:"right",width:"80px",asc:"tld_count_asc",desc:"tld_count_desc"}].map((s,l)=>{const t=!!s.asc&&!!s.desc,d=t&&(h===s.asc||h===s.desc),m=d&&h===s.asc,n=()=>
1{if(!t)return;const f=h===s.desc?s.asc:s.desc;w(()=>U(f))};return e.jsx("th",{onClick:n,className:`px-4 py-3 text-xs font-medium uppercase tracking-wider whitespace-nowrap ${t?"cursor-pointer select-none hover:text-[color:var(--th-hover)]":""}`,style:{textAlign:s.align,borderBottom:`1px solid ${r.border}`,width:s.width,color:d?r.ink:void 0,"--th-hover":r.ink},children:e.jsxs("span",{className:`inline-flex items-center gap-1 ${s.align==="right"?"flex-row-reverse":""}`,children:[s.label,t&&e.jsx("span",{className:"inline-block w-3 h-3 flex-shrink-0",children:d?m?e.jsx(Ae,{className:"w-3 h-3"}):e.jsx(J,{className:"w-3 h-3"}):e.jsx(J,{className:"w-3 h-3 opacity-30"})})]})},l)})})}),e.jsx("tbody",{children:C.map((s,l)=>{const t=z(s.domain,s.source_type,s.auction_url);ee(s.dynadot_appraisal);const m={borderBottom:l===C.length-1?"none":`1px solid ${r.border}`};return e.jsxs("tr",{className:"transition-colors",onMouseEnter:n=>n.currentTarget.style.backgroundColor="#FBF8F0",onMouseLeave:n=>n.currentTarget.style.backgroundColor="transparent",children:[e.jsx("td",{className:"px-4 py-3",style:m,children:e.jsxs("div",{className:"flex items-center gap-2 min-w-0",children:[e.jsx(Z,{size:16,payload:{domain:s.domain,source_id:s.id,end_time:s.expires,auction_url:t,source_type:s.source_type,logo_url:s.logo_url,formatted_domain:s.formatted_domain,snapshot:{dynadot_appraisal:s.dynad
1ot_appraisal,atom_premium:s.atom_premium,score:s.score,age:s.age,tld_count:s.tld_count,length:s.length,description:s.description}}}),e.jsx("a",{href:t,target:"_blank",rel:"noopener noreferrer",className:"tracking-tight truncate hover:underline transition-colors",style:{fontWeight:600,color:"#2563EB"},title:s.domain,onMouseEnter:n=>n.currentTarget.style.color="#1D4FD8",onMouseLeave:n=>n.currentTarget.style.color="#2563EB",children:Q(s)}),s.atom_premium&&e.jsx(X,{size:"sm"})]})}),e.jsx("td",{className:"px-4 py-3 whitespace-nowrap",style:{...m,color:r.ink},children:e.jsx("a",{href:`/appraise-your-domain?domain=${encodeURIComponent(s.domain)}`,target:"_blank",rel:"noopener noreferrer",className:"text-sm hover:underline transition-colors",style:{color:"#2563EB",fontWeight:500},onMouseEnter:n=>n.currentTarget.style.color="#1D4FD8",onMouseLeave:n=>n.currentTarget.style.color="#2563EB",children:"Appraise"})}),e.jsx("td",{className:"px-4 py-3 whitespace-nowrap",style:{...m,color:r.inkMuted},children:(()=>{const n=s.source_type;return n==="gname"?"Gname":n==="namecheap"?"Namecheap":n==="expired"||n==="backorder"?"Dynadot":n?n.charAt(0).toUpperCase()+n.slice(1):"-"})()}),e.jsx("td",{className:"px-4 py-3 whitespace-nowrap",style:{...m,color:r.inkMuted,width:"140px",fontVariantNumeric:"tabular-nums"},children:e.jsxs("span",{className:"inline-flex items-center gap-1.5",children:[e.jsx(q,{className:"w-3.5 h-3.5"}),se(s.expires)]})}),e.jsx("td",{className:"px-4 py-3 text-right whitespace-nowrap tabular-nums",style:{...m,color:r.ink,width:"200px"},children:(()=>{var S;const n=te(s.current_bid_price,s.auction_price_currency),f=re(s.price_last_checked_at),F=(S=s.domain)==null?void 0:S.toLowerCase().endsWith(".now");return n?e.jsxs("div",{children:[e.jsx("div",{style:{fontWeight:600},children:n}),f&&e.jsx("div",{className:"text-[11px]",style:{color:r.inkMuted},children:f})]}):F?e.jsx("span",{style:{color:r.inkMuted},children:"â"}):s.source_type==="gname"||s.source_type==="namecheap"?e.jsxs("span",{className:"text-xs italic",style:{color:r.inkMuted},children:[s.source_type==="gname"?"Gname":"Namecheap"," prices not live-checked"]}):e.jsx("span",{className:"text-xs italic",style:{color:r.inkMuted},children:"Checking price..."})})()}),e.jsx("td",{className:"px-4 py-3 text-right whitespace-nowrap tabular-nums",style:{...m,color:r.ink,width:"80px"},children:s.bid_count!=null?e.jsx("span",{style:{fontWeight:600},children:s.bid_count}):e.jsx("span",{className:"text-xs italic",style:{color:r.inkMuted},children:"-"})}),e.jsx("td",{className:"px-4 py-3 text-right tabular-nums",style:{...m,color:r.inkMuted},children:s.age!=null?`${s.age}y`:"-"}),e.jsx("td",{className:"px-4 py-3 text-right tabular-nums",style:{...m,color:r.inkMuted},children:s.length??"-"}),e.jsx("td",{className:"px-4 py-3 text-right tabular-nums",style:{...m,color:r.inkMuted},children:s.tld_count??"-"})]},s.id)})})]})})}),!x&&T<v.length&&e.jsx("div",{ref:me,className:"h-20 flex items-center justify-center mt-8",children:e.jsx("div",{className:"text-sm",style:{color:r.inkMuted,fontFamily:"'Cormorant', serif"},children:"Loading moreâ¦"})}),xe]}),e.jsx(Fe,{}),e.jsx(Se,{open:ie,onOpenChange:E,children:e.jsxs(Te,{className:"sm:max-w-md border-0 p-0 overflow-hidden",style:{backgroundColor:r.surface,color:r.ink},children:[e.jsxs("div",{className:"px-6 pt-6 pb-2",style:{borderBottom:`1px solid ${r.border}`},children:[e.jsx("div",{className:"flex items-center gap-2 mb-3",children:e.jsxs("span",{className:"inline-flex items-center gap-1 rounded-full px-2.5 py-1 text-[10px] font-semibold uppercase tracking-wider",style:{backgroundColor:"#2563EB",color:"#FFFFFF"},children:[e.jsx(H,{className:"w-3 h-3"}),"GX PRO"]})}),e.jsxs(Ee,{className:"text-left space-y-2",children:[e.jsx(Me,{className:"text-2xl font-normal leading-tight",style:{fontFamily:"'Cormorant', serif",color:r.ink},children:_==="atom"?"Unlock Atom Premium":_==="filters"?"Unlock advanced filters":"Unlock the Table view"}),e.jsx(Le,{style:{color:r.inkMuted},children:_==="atom"?"Atom Premium is a GX PRO feature. Instantly filter to domains already listed as Premium Listings on Atom.com or that are Instant Premium Eligible â the highest-quality names in every drop.":_==="filters"?"Advanced filtering and sorting is a GX PRO feature. Slice the live drop list by TLD, type, age, length and more â and find the gems faster than anyone else.":"Table view is a GX PRO feature. Upgrade to scan hundreds of expiring domains in a dense, sortable layout."})]})]}),e.jsx("div",{className:"px-6 py-4",children:e.jsx("ul",{className:"space-y-2 text-sm",style:{color:r.ink},children:_==="atom"?e.jsxs(e.Fragment,{children:[e.jsxs("li",{className:"flex items-start gap-2",children:[e.jsx("span",{style:{color:"#2563EB"},children:"â"}),e.jsx("span",{children:"Filter to Atom.com Premium Listings and Instant Premium Eligible domains"})]}),e.jsxs("li",{className:"flex items-start gap-2",children:[e.jsx("span",{style:{color:"#2563EB"},children:"â"}),e.jsx("span",{children:"Spot the highest-quality names in every drop"})]}),e.jsxs("li",{className:"flex items-start gap-2",children:[e.jsx("span",{style:{color:"#2563EB"},children:"â"}),e.jsx("span",{children:"Full access to all curated premium drops"})]})]}):_==="filters"?e.jsxs(e.Fragment,{children:[e.jsxs("li",{className:"flex items-start gap-2",children:[e.jsx("span",{style:{color:"#2563EB"},children:"â"}),e.jsx("span",{children:"Sort by age, length, TLD count and more"})]}),e.jsxs("li",{className:"flex items-start gap-2",children:[e.jsx("span",{style:{color:"#2563EB"},children:"â"}),e.jsx("span",{children:"Filter by TLD and auction type (expired / backorder)"})]}),e.jsxs("li",{className:"flex items-start gap-2",children:[e.jsx("span",{style:{color:"#2563EB"},children:"â"}),e.jsx("span",{children:"Find the gems faster than anyone else"})]})]}):e.jsxs(e.Fragment,{children:[e.jsxs("li",{className:"flex items-start gap-2",children:[e.jsx("span",{style:{color:"#2563EB"},children:"â"}),e.jsx("span",{children:"Compact, sortable table of every live auction"})]}),e.jsxs("li",{className:"flex items-start gap-2",children:[e.jsx("span",{style:{color:"#2563EB"},children:"â"}),e.jsx("span",{children:"Unlimited AI Appraisals directly from the list"})]}),e.jsxs("li",{className:"flex items-start gap-2",children:[e.jsx("span",{style:{color:"#2563EB"},children:"â"}),e.jsx("span",{children:"Full access to all curated premium drops"})]})]})})}),e.jsxs("div",{className:"px-6 py-4 flex flex-col-reverse sm:flex-row sm:justify-end gap-2",style:{borderTop:`1px solid ${r.border}`,backgroundColor:r.bg},children:[e.jsx("button",{onClick:()=>E(!1),className:"inline-flex items-center justify-center rounded-md px-4 py-2 text-sm font-medium transition-colors",style:{backgroundColor:"transparent",color:r.inkMuted,border:`1px solid ${r.border}`},children:"Maybe later"}),e.jsx(L,{to:"/gxpro",onClick:()=>E(!1),className:"inline-flex items-center justify-center rounded-md px-4 py-2 text-sm font-semibold text-white transition-colors",style:{backgroundColor:"#2563EB"},onMouseEnter:s=>s.currentTarget.style.backgroundColor="#1D4FD8",onMouseLeave:s=>s.currentTarget.style.backgroundColor="#2563EB",children:"Go GX PRO"})]})]})})]})]})}export{Xe 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.