1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8974],{11311:(e,t,a)=>{"use strict";function s(e){return/^https?:\/\//i.test(String(null!=e?e:"").trim())}function n(e){let t=String(null!=e?e:"").trim();return s(t)?t:"/card-image.png"}function r(e,t){let a=e.filter(e=>s(e.image));return null!=t?a.slice(0,t):a}function l(e){if(!e)return"";try{return new Intl.DateTimeFormat(void 0,{dateStyle:"medium",timeStyle:"short"}).format(new Date(e))}catch(t){return e}}a.d(t,{Lv:()=>d,Pp:()=>l,Si:()=>o,YF:()=>c,fw:()=>i,l5:()=>m,o9:()=>r,vv:()=>n,zs:()=>s});function i(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Date.now();if(!e)return"";let a=new Date(e).getTime();if(!Number.isFinite(a))return"";let s=t-a;if(s<0||s<6e4)return"just now";if(s<36e5)return"".concat(Math.floor(s/6e4),"m ago");if(s<864e5)return"".concat(Math.floor(s/36e5),"h ago");if(s<6048e5)return"".concat(Math.floor(s/864e5),"d ago");if(!e)return"";try{return new Intl.DateTimeFormat(void 0,{dateStyle:"medium"}).format(new Date(e))}catch(t){return e}}function c(e){if(!e)return"";try{return new Intl.DateTimeFormat(void 0,{day:"numeric",month:"short",year:"numeric"}).format(new Date(e))}catch(t){return e}}function o(e){return[c(e.publishedAt),e.source].filter(e=>!!e).join(" ⢠")}function d(e,t){return[i(e.publishedAt,t),e.source].filter(e=>!!e).join(" \xb7 ")}function m(e,t){let a=e.url||e.title||"article";return"".concat(a,"-").concat(t)}},11462:(e,t,a)=>{"use strict";function s(e){var t;return null!=e&&"object"==typeof e&&("AbortError"===e.name||/aborted/i.test(null!=(t=e.message)?t:""))}function n(e){var t,a;let s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"Something went wrong";if(null==e||"object"!=typeof e)return s;let n=null==(a=e.response)||null==(t=a.data)?void 0:t.message;if("string"==typeof n&&n)return n;let r=e.message;return"string"==typeof r&&r?r:s}function r(e,t){if(null===e||"object"!=typeof e)return t;let{message:a,error:s}=e;return"string"==typeof a&&a?a:"string"==typeof s&&s?s:t}async function l(e){let t="Request failed (".concat(e.status,")");try{return r(await e.json(),t)}catch(e){return t}}a.d(t,{SU:()=>n,Yz:()=>l,dS:()=>r,zf:()=>s})},32580:(e,t,a)=>{"use strict";a.d(t,{Hero:()=>P});var s=a(95155),n=a(12115),r=a(20063),l=a(52619),i=a.n(l),c=a(95740),o=a(52987),d=a(57404),m=a(86998),u=a(11462);let x=(0,m.H)({key:"efans.heroStats.v1",ttlMs:72e5,isUsable:e=>!!(null==e?void 0:e.match)});function h(){return x.read()}async function f(e){let{force:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!t){let e=x.read();if(e)return e}let a=await fetch("/api/hero-stats",{signal:e,cache:t?"no-cache":"default"}),s=await a.json();if(!a.ok||!(null==s?void 0:s.match))throw Error((0,u.dS)(s,"Could not load hero stats."));return x.write(s),s}let p=[16,11,22,11,27,16,33,22,11,27,38,16,22,11,33,27,44,22,16,11,27,33,22,16,27];var b=a(64269),g=a(80534),j=a(56154),v=a(50970);g.A,j.A,v.A;let y=["Inter Miami next fixture","NBA scores tonight","Predict winner Super Bowl 2027"];var N=a(74073);let w=N.cD.home.text,k=N.cD.away.text,S=N.cD.home.stroke,A=N.cD.away.stroke;function M(e){let{home:t,away:a,homeLabel:n,awayLabel:r}=e,l=Math.max(t+a,1),i=t/l,c=2*Math.PI*54,o=c*i,d=c-o;return(0,s.jsxs)("div",{className:"relative mx-auto size-[140px] shrink-0",children:[(0,s.jsxs)("svg",{viewBox:"0 0 140 140",className:"size-full -rotate-90",children:[(0,s.jsx)("circle",{cx:"70",cy:"70",r:54,fill:"none",className:"stroke-line-card",strokeWidth:"10"}),(0,s.jsx)("circle",{cx:"70",cy:"70",r:54,fill:"none",stroke:S,strokeWidth:"10",strokeLinecap:"round",strokeDasharray:"".concat(o," ").concat(c),className:"transition-[stroke-dasharray] duration-1000 ease-brand"}),(0,s.jsx)("circle",{cx:"70",cy:"70",r:54,fill:"none",stroke:A,strokeWidth:"10",strokeLinecap:"round",strokeDasharray:"".concat(d," ").concat(c),strokeDashoffset:-o,className:"transition-[stroke-dasharray] duration-1000 ease-brand"})]}),(0,s.jsxs)("div",{className:"absolute inset-0 flex flex-col items-center justify-center",children:[(0,s.jsx)("p",{className:"text-micro font-medium uppercase tracking-eyebrow text-ink-meta-raised",children:"Share"}),(0,s.jsxs)("p",{className:"mt-0.5 text-heading-lg font-semibold tabular-nums text-ink-primary",children:[Math.round(100*i),(0,s.jsx)("span",{className:"text-label text-ink-meta-raised",children:"%"})]}),(0,s.jsx)("p",{className:"mt-0.5 max-w-[5.5rem] truncate text-center text-micro text-ink-meta-raised",children:n})]}),(0,s.jsxs)("span",{className:"sr-only",children:[r," ",Math.round((1-i)*100),"%"]})]})}function z(e){let{bars:t}=e,a=(0,n.useId)().replace(/:/g,""),{area:r,line:l}=function(e,t,a){if(!e.length)return{area:"",line:""};let s=Math.max(...e,1),n=320/Math.max(e.length-1,1),r=e.map((e,t)=>[t*n,88-e/s*72.16-.08*a]),l="M0,".concat(a," L").concat(r[0][0],",").concat(r[0][1]),i="M".concat(r[0][0].toFixed(1),",").concat(r[0][1].toFixed(1));for(let e=1;e<r.length;
1e++){let[t,a]=r[e-1],[s,n]=r[e],c=(t+s)/2;l+=" C".concat(c,",").concat(a," ").concat(c,",").concat(n," ").concat(s,",").concat(n),i+=" L".concat(s.toFixed(1),",").concat(n.toFixed(1))}return{area:l+=" L".concat(320,",").concat(a," Z"),line:i}}(t.slice(0,20).map(e=>Math.max(8,e)),320,88);return(0,s.jsxs)("svg",{viewBox:"0 0 ".concat(320," ").concat(88),className:"h-[88px] w-full",preserveAspectRatio:"none",children:[(0,s.jsxs)("defs",{children:[(0,s.jsxs)("linearGradient",{id:"fill-".concat(a),x1:"0",y1:"0",x2:"0",y2:"1",children:[(0,s.jsx)("stop",{offset:"0%",stopColor:S,stopOpacity:"0.45"}),(0,s.jsx)("stop",{offset:"100%",stopColor:S,stopOpacity:"0"})]}),(0,s.jsxs)("linearGradient",{id:"stroke-".concat(a),x1:"0",y1:"0",x2:"1",y2:"0",children:[(0,s.jsx)("stop",{offset:"0%",stopColor:S}),(0,s.jsx)("stop",{offset:"100%",stopColor:A})]})]}),(0,s.jsx)("path",{d:r,fill:"url(#fill-".concat(a,")")}),(0,s.jsx)("path",{d:l,fill:"none",stroke:"url(#stroke-".concat(a,")"),strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"})]})}function L(e){let{label:t,value:a,tone:n}=e,r=Math.round(Math.min(100,Math.max(12,(Number.parseFloat(a)||0)/40*100))/100*5),l="blue"===n?"bg-brand-blue":"bg-brand-purple";return(0,s.jsxs)("div",{className:"flex min-w-0 flex-1 items-center gap-2.5",children:[(0,s.jsx)("div",{className:"flex h-8 items-end gap-[2px]",children:Array.from({length:5},(e,t)=>(0,s.jsx)("span",{className:(0,b.cn)("w-[3px] rounded-badge",t<r?l:"bg-surface-chip"),style:{height:"".concat(10+4*t,"px")}},t))}),(0,s.jsxs)("div",{className:"min-w-0",children:[(0,s.jsx)("p",{className:"text-label font-semibold tabular-nums text-ink-primary",children:a}),(0,s.jsx)("p",{className:"text-micro font-medium uppercase tracking-caps text-ink-meta",children:t})]})]})}function I(e){var t,a;let{match:n}=e;return(0,s.jsx)(N.sI,{radius:"showcase",className:"relative overflow-hidden",children:(0,s.jsxs)("div",{className:"relative p-5 sm:p-6",children:[(0,s.jsxs)("div",{className:"mb-5 flex items-center justify-between gap-3",children:[(0,s.jsxs)(N.B7,{children:[n.sport||"Match"," \xb7 Intelligence"]}),(0,s.jsx)("span",{className:"text-micro tabular-nums text-ink-meta",children:"AI Prediction"})]}),(0,s.jsxs)("div",{className:"grid grid-cols-[1fr_auto_1fr] items-center gap-3 sm:gap-4",children:[(0,s.jsxs)("div",{className:"min-w-0 text-left",children:[(0,s.jsx)("p",{className:"text-micro font-medium uppercase tracking-eyebrow text-ink-meta",children:"Home"}),(0,s.jsx)("p",{className:"mt-1 truncate text-title font-semibold text-ink-primary",children:n.home}),(0,s.jsx)("p",{className:(0,b.cn)("mt-2 text-display font-semibold tabular-nums tracking-tight",w),children:n.homeScore})]}),(0,s.jsx)(M,{home:n.homeScore+1,away:n.awayScore+1,homeLabel:null!=(t=n.home.split(" ").slice(-1)[0])?t:"Home",awayLabel:null!=(a=n.away.split(" ").slice(-1)[0])?a:"Away"}),(0,s.jsxs)("div",{className:"min-w-0 text-right",children:[(0,s.jsx)("p",{className:"text-micro font-medium uppercase tracking-eyebrow text-ink-meta",children:"Away"}),(0,s.jsx)("p",{className:"mt-1 truncate text-title font-semibold text-ink-primary",children:n.away}),(0,s.jsx)("p",{className:(0,b.cn)("mt-2 text-display font-semibold tabular-nums tracking-tight",k),children:n.awayScore})]})]}),(0,s.jsxs)("div",{className:"mt-6",children:[(0,s.jsxs)("div",{className:"mb-2 flex items-center justify-between",children:[(0,s.jsx)("p",{className:"text-micro font-semibold uppercase tracking-eyebrow text-ink-meta",children:"Momentum curve"}),(0,s.jsxs)("div",{className:"flex items-center gap-3 text-micro",children:[(0,s.jsx)("span",{className:w,children:"Home"}),(0,s.jsx)("span",{className:k,children:"Away"})]})]}),(0,s.jsx)(N.Lb,{className:"overflow-hidden px-1 pt-2",children:(0,s.jsx)(z,{bars:n.bars})})]})]})})}function C(e){let{data:t}=e;return(0,s.jsx)(N.sI,{className:"relative overflow-hidden",children:(0,s.jsxs)("div",{className:"relative flex flex-wrap items-center gap-x-4 gap-y-2 px-4 py-3.5 sm:flex-nowrap sm:px-5",children:[(0,s.jsxs)("div",{className:"min-w-0 shrink-0",children:[t.isLive?(0,s.jsx)(N.J2,{children:"Live"}):(0,s.jsx)("p",{className:"hero-status-blink text-label font-bold uppercase tracking-caps text-ink-primary",children:"Latest result"}),(0,s.jsx)("p",{className:"mt-1.5 text-meta font-semibold tabular-nums text-ink-meta",children:t.isLive?t.period:"FT"===t.period?"Full time":t.period||"Full time"})]}),(0,s.jsxs)("div",{className:"flex w-full items-center justify-start gap-3 whitespace-nowrap sm:w-auto
1sm:min-w-0 sm:flex-1 sm:justify-center sm:gap-5",children:[(0,s.jsx)("span",{className:"text-label font-semibold tracking-caps text-ink-primary",children:t.home}),(0,s.jsxs)("div",{className:"flex items-baseline gap-1 rounded-control bg-surface-well px-3 py-1.5 text-heading-lg font-semibold tabular-nums tracking-tight",children:[(0,s.jsx)("span",{className:w,children:t.homeScore}),(0,s.jsx)("span",{className:"text-label text-ink-meta-raised",children:":"}),(0,s.jsx)("span",{className:k,children:t.awayScore})]}),(0,s.jsx)("span",{className:"text-label font-semibold tracking-caps text-ink-secondary",children:t.away})]}),(0,s.jsx)("div",{className:"hidden w-16 shrink-0 sm:block",children:(0,s.jsx)("div",{className:(0,b.cn)(N.Kq,"h-1"),children:(0,s.jsx)("div",{className:(0,b.cn)("h-full rounded-full",N.Gh),style:{width:"".concat(t.progress,"%")}})})})]})})}function F(e){let{player:t,fansLabel:a}=e,n=["blue","purple","blue"],r=t.name.split(/\s+/).filter(Boolean).slice(0,2).map(e=>{var t,a;return null!=(a=null==(t=e[0])?void 0:t.toUpperCase())?a:""}).join("");return(0,s.jsx)(N.sI,{className:"relative overflow-hidden",children:(0,s.jsxs)("div",{className:"relative flex flex-col gap-3 p-3.5 sm:flex-row sm:items-center sm:gap-4 sm:p-4",children:[(0,s.jsxs)("div",{className:"flex min-w-0 flex-1 items-center gap-3",children:[(0,s.jsx)("div",{className:(0,b.cn)("flex size-10 shrink-0 items-center justify-center rounded-control text-micro font-bold text-ink-primary",N.Gh),children:r||"#"}),(0,s.jsxs)("div",{className:"min-w-0",children:[(0,s.jsxs)("p",{className:"text-micro font-semibold uppercase tracking-eyebrow text-brand-blue-soft",children:["#",t.number," \xb7 ",a]}),(0,s.jsx)("p",{className:"truncate text-body font-semibold text-ink-primary",children:t.name}),(0,s.jsx)("p",{className:"truncate text-meta text-ink-meta",children:t.team})]})]}),(0,s.jsx)("div",{className:"flex min-w-0 flex-[1.2] gap-1 border-t border-line-card pt-3 sm:border-l sm:border-t-0 sm:pl-4 sm:pt-0",children:t.stats.map((e,t)=>{var a;return(0,s.jsx)(L,{label:e.label,value:e.value,tone:null!=(a=n[t])?a:"blue"},e.label)})})]})})}function T(e){let{stats:t}=e;return(0,s.jsxs)("div",{className:"relative mx-auto w-full max-w-[480px] lg:mx-0 lg:max-w-none",children:[(0,s.jsx)("div",{className:"pointer-events-none absolute -left-10 top-1/4 size-56 rounded-full bg-brand-blue/20 blur-[80px]","aria-hidden":!0}),(0,s.jsx)("div",{className:"pointer-events-none absolute -right-8 bottom-0 size-48 rounded-full bg-brand-purple/15 blur-[70px]","aria-hidden":!0}),(0,s.jsxs)("div",{className:"relative flex flex-col gap-3 sm:gap-3.5",children:[(0,s.jsx)(C,{data:t.liveMatch}),(0,s.jsx)(I,{match:t.match}),(0,s.jsx)(F,{player:t.player,fansLabel:t.fansLabel})]})]})}function D(e){let{onAsk:t}=e,a=function(){let[e,t]=(0,n.useState)(!1);return(0,n.useEffect)(()=>{let e=window.matchMedia("(prefers-reduced-motion: reduce)");t(e.matches);let a=()=>t(e.matches);return e.addEventListener("change",a),()=>e.removeEventListener("change",a)},[]),e}(),r=function(e,t){let[a,s]=(0,n.useState)(0),[r,l]=(0,n.useState)(""),[i,c]=(0,n.useState)(!1);return(0,n.useEffect)(()=>{var n,o;if(t)return void l(null!=(n=e[0])?n:"");let d=null!=(o=e[a])?o:"";if(!i&&r===d){let e=window.setTimeout(()=>c(!0),1800);return()=>window.clearTimeout(e)}if(i&&""===r){c(!1),s(t=>(t+1)%e.length);return}let m=window.setTimeout(()=>{l(e=>i?d.slice(0,e.length-1):d.slice(0,e.length+1))},i?28:42);return()=>window.clearTimeout(m)},[r,i,a,e,t]),r}(y,a);return(0,s.jsxs)("div",{className:"w-full max-w-[520px]",children:[(0,s.jsxs)("button",{type:"button",onClick:t,"aria-label":"Ask eFans anything about sports",className:(0,b.cn)("group relative flex w-full items-center gap-3 overflow-hidden rounded-feature border border-line-card bg-surface-composer px-4 py-3.5 text-left shadow-composer transition-colors duration-base ease-brand sm:gap-4 sm:px-5 sm:py-4","hover:border-brand-blue","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-brand-blue focus-visible:ring-offset-2 focus-visible:ring-offset-surface-canvas-edge"),children:[a?null:(0,s.jsx)("span",{className:"hero-shimmer pointer-events-none absolute inset-0 rounded-feature","aria-hidden":!0}),(0,s.jsx)("span",{className:(0,b.cn)("relative flex size-10 shrink-0 items-center justify-center rounded-control text-ink-primary sm:size-11",N.Gh),children:(0,s.jsx)(c.A,{className:"size-4 sm:size-[18px]","aria-hidden":!0})}),(0,s.jsxs)("span",{className:"relative min-w-0 flex-1",children:[(0,s.jsx)("span",{className:"block text-micro font-semibold uppercase tracking-eyebrow text-ink-meta-raised",children:"Ask eFans"}),(0,s.jsxs)("span",{className:"mt-0.5 flex min-h-[1.4em] items-center text-body-lg text-ink-primary",children:[(0,s.jsx)("span",{className:"truncate",children:r||"Ask anything about sportsâ¦"}),a?null:(0,s.jsx)("span",{className:"ml-0.5 inline-block h-[1.05em] w-[2px] shrink-0 animate-pulse bg-brand-blue-soft","aria-hidden":!0})]})]}),(0,s.jsxs)("span",{className:(0,b.cn)("relative inline-flex shrink-0 items-center gap-1.5 rounded-control px-3.5 py-2.5 text-label font-semibold text-ink-primary shadow-cta transition-transform duration-base ease-brand group-hover:translate-x-0.5",N.Gh),children:["Ask",(0,s.jsx)(o.A,{className:"size-3.5","aria-hidden":!0})]})]}),(0,s.jsxs)("p",{className:"mt-4 flex flex-wrap items-center gap-x-1 gap-y-2 text-meta text-ink-meta-raised",children:[(0,s.jsx)("span",{className:"mr-1 font-medium uppercase tracking-eyebrow",children:"Try"}),y.map((e,t)=>(0,s.jsxs)("span",{className:"inline-flex items-center gap-1",children:[t>
10?(0,s.jsx)("span",{className:"mx-1","aria-hidden":!0,children:"\xb7"}):null,(0,s.jsx)(i(),{href:"/signup",className:"text-ink-secondary transition-colors duration-fast ease-brand hover:text-brand-blue-soft",children:e})]},e))]})]})}function P(e){let{initialStats:t=null}=e,a=(0,r.useRouter)(),{data:l,error:i}=(0,d.o)({readCache:h,fetch:f,intervalMs:9e5,initialData:t}),c=(0,n.useMemo)(()=>null!=l?l:{updatedAt:new Date().toISOString(),match:{home:"FC Barcelona",away:"Real Madrid",homeScore:3,awayScore:2,sport:"Football",bars:p},sports:["Football","Basketball","Tennis","Baseball"],player:{name:"LeBron James",team:"Los Angeles Lakers",number:"23",stats:[{label:"PTS",value:"28.9"},{label:"AST",value:"7.4"},{label:"REB",value:"8.3"}]},liveMatch:{home:"GSW",away:"LAL",homeScore:112,awayScore:108,period:"Q4 \xb7 4:23",progress:65,isLive:!0},fansLabel:"1.2K fans"},[l]);return(0,s.jsxs)("section",{className:"relative w-full overflow-x-hidden pt-16 sm:pt-20 lg:pb-24 lg:pt-[120px]",children:[(0,s.jsxs)("div",{className:"pointer-events-none absolute inset-0 -z-10 overflow-hidden","aria-hidden":!0,children:[(0,s.jsx)("div",{className:"absolute left-[-8%] top-24 size-72 rounded-full bg-brand-blue/10 blur-[100px]"}),(0,s.jsx)("div",{className:"absolute right-[8%] top-28 size-48 rounded-full bg-brand-purple/15 blur-[70px]"})]}),(0,s.jsx)(N.mc,{children:(0,s.jsxs)("div",{className:"grid grid-cols-1 items-center gap-12 lg:grid-cols-2 lg:gap-x-16 lg:gap-y-14",children:[(0,s.jsxs)("div",{className:"hero-fade-up relative z-10 flex max-w-[560px] flex-col items-start lg:pr-2",children:[(0,s.jsx)(N.B7,{children:"Talk with eFans \xb7 Discover Sports"}),(0,s.jsxs)("h1",{className:"mt-5 text-balance text-hero font-bold tracking-tight text-ink-primary lg:text-hero-lg",children:[(0,s.jsx)("span",{className:"block",children:"eFans"}),(0,s.jsx)("span",{className:"mt-2 block text-heading-lg font-semibold tracking-tight text-ink-primary lg:text-display",children:"AI-powered sports assistant"})]}),(0,s.jsx)("p",{className:"mt-5 max-w-[420px] text-pretty text-body-lg text-ink-secondary",children:"Instant answers on scores, stats, highlights, and predictions for every game that matters."}),(0,s.jsx)("div",{className:"mt-8 w-full sm:mt-9",children:(0,s.jsx)(D,{onAsk:()=>a.push("/signup")})})]}),(0,s.jsxs)("div",{className:"hero-fade-up-delay w-full",children:[(0,s.jsx)(T,{stats:c}),null!==i?(0,s.jsx)("p",{role:"status",className:"mt-3 text-center text-meta text-ink-meta",children:"Live stats are unavailable right now â showing the last known figures."}):null]})]})})]})}},39875:(e,t,a)=>{Promise.resolve().then(a.t.bind(a,52619,23)),Promise.resolve().then(a.t.bind(a,81356,23)),Promise.resolve().then(a.bind(a,99920)),Promise.resolve().then(a.bind(a,32580)),Promise.resolve().then(a.bind(a,64349)),Promise.resolve().then(a.bind(a,46738))},46738:(e,t,a)=>{"use strict";a.d(t,{TeamShowcase:()=>S});var s=a(95155),n=a(12115),r=a(52619),l=a.n(r),i=a(68072),c=a(90368),o=a(27937),d=a(84899),m=a(25114),u=a(27715),x=a(85450),h=a(64269),f=a(15239),p=a(7013),b=a(89559),g=a(84580),j=a(11311),v=a(74073);function y(e){let{article:t,featured:a}=e,n=t.url||"/signup",r=!!t.url,i=[t.source,(0,j.fw)(t.publishedAt)].filter(Boolean).join(" \xb7 ");return(0,s.jsx)(l(),{href:n,target:r?"_blank":void 0,rel:r?"noopener noreferrer":void 0,className:(0,h.cn)((0,v.I6)({interactive:!0}),"group overflow-hidden focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-brand-blue focus-visible:ring-offset-2 focus-visible:ring-offset-surface-canvas-edge",a?"relative flex min-h-[280px] sm:min-h-[340px] lg:min-h-featured-card":"flex min-h-[96px]"),children:a?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(f.default,{unoptimized:!0,src:t.image,alt:"",fill:!0,className:"object-cover transition-transform duration-enter ease-brand group-hover:scale-[1.03]",sizes:"(max-width: 1024px) 100vw, 55vw",priority:!0}),(0,s.jsx)("div",{className:"absolute inset-0 bg-gradient-to-t from-surface-canvas-edge via-surface-canvas-edge/70 to-transparent","aria-hidden":!0}),(0,s.jsxs)("div",{className:"relative mt-auto flex w-full flex-col gap-3 p-6 sm:p-8",children:[(0,s.jsxs)("div",{className:"flex flex-wrap items-center gap-3",children:[(0,s.jsx)(v.J2,{children:"Breaking"}),i?(0,s.jsx)("span",{className:"text-micro text-ink-meta-raised",children:i}):null]}),(0,s.jsx)("h3",{className:"max-w-2xl text-heading font-semibold text-ink-primary sm:text-heading-lg",children:t.title}),t.description?(0,s.jsx)("p",{className:"line-clamp-2 max-w-xl text-label text-ink-secondary",children:t.description}):null,(0,s.jsxs)("span",{className:"inline-flex items-center gap-1.5 text-label font-medium text-brand-blue-soft",children:["Read story",(0,s.jsx)(p.A,{className:"size-3.5","aria-hidden":!0})]})]})]}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{className:"relative w-[108px] shrink-0 sm:w-[120px]",children:(0,s.jsx)(f.default,{unoptimized:!0,src:t.image,alt:"",fill:!0,className:"object-cover transition-transform duration-enter ease-brand group-hover:scale-105",sizes:"120px"})}),(0,s.jsxs)("div",{className:"flex min-w-0 flex-1 flex-col justify-center gap-1.5 p-3.5 sm:p-4",children:[i?(0,s.jsx)("p",{className:"truncate text-micro font-medium uppercase tracking-caps text-ink-meta",children:i}):null,(0,s.jsx)("h4",{className:"line-clamp-2 text-body font-semibold leading-snug text-ink-primary",children:t.title})]})]})})}
1function N(e){let{initialArticles:t=null}=e,{articles:a,isLoading:r,error:l,refresh:i}=(0,g.m)(t),c=(0,n.useMemo)(()=>(0,j.o9)(a,5),[a]),[o,...d]=c;return(0,s.jsxs)("div",{className:"flex w-full flex-col gap-8",children:[(0,s.jsxs)("div",{className:"flex flex-col gap-6 sm:flex-row sm:items-end sm:justify-between",children:[(0,s.jsxs)("div",{className:"max-w-3xl",children:[(0,s.jsxs)("div",{className:"mb-5 flex flex-wrap items-center gap-3",children:[(0,s.jsx)(v.B7,{index:"02",children:"Football wire"}),(0,s.jsx)(v.J2,{className:"hidden sm:inline-flex",children:"On air"})]}),(0,s.jsx)("h3",{className:"text-heading-lg font-semibold tracking-tight text-ink-primary sm:text-display",children:"Stay Ahead With The Latest Global Sport Updates"}),(0,s.jsx)("p",{className:"mt-3 max-w-2xl text-body-lg text-ink-secondary",children:"Stay connected with the world of sports through the latest news, live scores, match highlights, tournament updates, player transfers, and expert insights. Never miss a moment as we bring you real-time coverage from football and other major sporting events around the globe."})]}),(0,s.jsxs)("div",{className:"flex shrink-0 items-center gap-2",children:[(0,s.jsx)(v.NS,{onClick:i,disabled:r,"aria-label":"Refresh news",children:(0,s.jsx)(b.A,{className:(0,h.cn)("size-4",r&&"animate-spin"),"aria-hidden":!0})}),(0,s.jsx)(v.a6,{href:"/signup",children:"More news"})]})]}),r&&0===c.length?(0,s.jsxs)("div",{className:"grid grid-cols-1 gap-5 lg:grid-cols-12","aria-hidden":!0,children:[(0,s.jsx)("div",{className:"h-[300px] animate-pulse rounded-feature bg-surface-well lg:col-span-7 lg:min-h-featured-card"}),(0,s.jsx)("div",{className:"flex flex-col gap-3 lg:col-span-5",children:Array.from({length:4},(e,t)=>(0,s.jsx)("div",{className:"h-24 animate-pulse rounded-feature bg-surface-well"},t))})]}):null,l&&0===c.length?(0,s.jsxs)("div",{className:"rounded-feature border border-brand-danger/20 bg-brand-danger-fill px-5 py-8 text-center",children:[(0,s.jsx)("p",{className:"text-label text-brand-danger-bright",children:l}),(0,s.jsx)("button",{type:"button",onClick:i,className:"mt-4 text-label font-medium text-ink-primary underline-offset-2 hover:underline",children:"Try again"})]}):null,r||l||0!==c.length?null:(0,s.jsx)("div",{className:"rounded-feature border border-line-card bg-surface-card px-5 py-10 text-center text-label text-ink-secondary",children:"No headlines available right now. Check back shortly."}),o?(0,s.jsxs)("div",{className:"grid grid-cols-1 gap-5 lg:grid-cols-12 lg:items-stretch lg:gap-6",children:[(0,s.jsx)("div",{className:"lg:col-span-7",children:(0,s.jsx)(y,{article:o,featured:!0})}),(0,s.jsx)("div",{className:"flex flex-col gap-3 lg:col-span-5",children:d.map((e,t)=>(0,s.jsx)(y,{article:e},(0,j.l5)(e,t+1)))})]}):null]})}function w(e){let{entry:t}=e;return(0,s.jsxs)(l(),{href:"/signup",className:(0,h.cn)((0,v.I6)({interactive:!0}),"group flex h-full flex-col items-center gap-4 p-5 text-center","focus:outline-none focus-visible:ring-2 focus-visible:ring-brand-blue focus-visible:ring-offset-2 focus-visible:ring-offset-surface-canvas-edge"),children:[(0,s.jsx)("div",{className:"flex size-sport-tile shrink-0 items-center justify-center rounded-feature border border-line-card bg-surface-well transition-transform duration-base ease-brand group-hover:scale-105",children:t.logo?(0,s.jsx)(d.L,{src:t.logo,alt:"",sizeClass:"size-10 sm:size-11",glowOpacity:"opacity-0"}):(0,s.jsx)("span",{className:(0,h.cn)("text-title font-semibold tracking-caps",v.IV.blue.glyph),"aria-hidden":!0,children:t.name.split(" ").slice(0,2).map(e=>{var t;return null!=(t=e[0])?t:""}).join("").toUpperCase()})}),(0,s.jsx)("h3",{className:"text-title font-semibold tracking-tight text-ink-primary",children:t.name})]})}function k(e){let{entries:t}=e,[a,r]=(0,i.A)({align:"start",containScroll:"trimSnaps"}),[l,d]=(0,n.useState)(!1),[m,u]=(0,n.useState)(!1),[f,p]=(0,n.useState)(0),[b,g]=(0,n.useState)([]),j=(0,n.useCallback)(()=>{r&&(p(r.selectedScrollSnap()),d(r.canScrollPrev()),u(r.canScrollNext()))},[r]);(0,n.useEffect)(()=>{if(!r)return;let e=()=>{g(r.scrollSnapList()),j()};return e(),r.on("reInit",e),r.on("select",j),()=>{r.off("reInit",e),r.off("select",j)}},[r,j]);let y=(0,n.useCallback)(()=>null==r?void 0:r.scrollPrev(),[r]),N=(0,n.useCallback)(()=>null==r?void 0:r.scrollNext(),[r]);return(0,s.jsxs)("div",{className:"relative w-full",children:[(0,s.jsx)("div",{className:(0,h.cn)(x.hP,"z-10 w-10 transition-opacity duration-sli
1de ease-brand",l?"opacity-100":"opacity-0"),"aria-hidden":!0}),(0,s.jsx)("div",{className:(0,h.cn)(x.Ut,"z-10 w-10 transition-opacity duration-slide ease-brand",m?"opacity-100":"opacity-0"),"aria-hidden":!0}),(0,s.jsx)("div",{className:"overflow-hidden py-1",ref:a,children:(0,s.jsx)("div",{className:"-ml-4 flex touch-pan-y sm:-ml-5 lg:-ml-6",children:t.map(e=>(0,s.jsx)("div",{className:"min-w-0 shrink-0 grow-0 basis-[80%] pl-4 sm:basis-[45%] sm:pl-5 md:basis-1/3 lg:basis-1/5 lg:pl-6",children:(0,s.jsx)(w,{entry:e})},e.slug))})}),(0,s.jsxs)("div",{className:"mt-7 flex items-center justify-center gap-3",children:[(0,s.jsx)(v.NS,{onClick:y,disabled:!l,"aria-label":"Previous team",className:"rounded-full",children:(0,s.jsx)(c.A,{className:"size-4","aria-hidden":!0,strokeWidth:2})}),(0,s.jsx)("div",{className:"flex items-center px-1",role:"group","aria-label":"Team slides",children:b.map((e,t)=>(0,s.jsx)("button",{type:"button","aria-current":t===f,"aria-label":"Go to slide ".concat(t+1),onClick:()=>null==r?void 0:r.scrollTo(t),className:"group grid h-11 min-w-6 place-items-center px-0.5",children:(0,s.jsx)("span",{className:(0,h.cn)("block h-1.5 rounded-full transition-all duration-slide ease-brand",t===f?"w-5 ".concat(v.Gh):"w-1.5 bg-surface-well group-hover:bg-line-card")})},t))}),(0,s.jsx)(v.NS,{onClick:N,disabled:!m,"aria-label":"Next team",className:"rounded-full",children:(0,s.jsx)(o.A,{className:"size-4","aria-hidden":!0,strokeWidth:2})})]})]})}function S(e){let{initialNews:t=null}=e,[a,r]=(0,n.useState)(u.gu[0].id),l=(0,n.useId)(),i="".concat(l,"-panel"),c=e=>"".concat(l,"-tab-").concat(e);return(0,s.jsx)(v.wn,{className:"border-b border-line-card",children:(0,s.jsxs)(v.mc,{className:"flex flex-col gap-16",children:[(0,s.jsxs)("div",{className:"flex flex-col items-center gap-10",children:[(0,s.jsxs)("div",{className:"flex flex-col items-center gap-4 text-center",children:[(0,s.jsx)(v.w,{title:"Your Team, Your AI"}),(0,s.jsx)("p",{className:"mx-auto max-w-2xl text-pretty text-body-lg text-ink-secondary",children:"Personalized AI assistant for your favorite team. Get the latest news, line-ups, and insider analysis from AI that speaks your team's language."})]}),(0,s.jsx)(m.b,{options:u.gu,active:a,onSelect:r,tabId:c,panelId:i,className:"mx-auto"}),(0,s.jsx)("div",{id:i,role:"tabpanel","aria-labelledby":c(a),className:"w-full",children:(0,s.jsx)(k,{entries:(0,u.ov)(u.gC,a)},a)})]}),(0,s.jsx)(N,{initialArticles:t})]})})}},57391:(e,t,a)=>{"use strict";a.d(t,{T:()=>n});var s=a(12115);function n(e,t){let{intervalMs:a,enabled:n=!0}=t,r=(0,s.useRef)(e);r.current=e,(0,s.useEffect)(()=>{if(!n||"undefined"==typeof document)return;let e=null,t=()=>{null!==e&&(clearInterval(e),e=null)},s=()=>{t(),e=setInterval(()=>r.current(),a)},l=()=>{"visible"===document.visibilityState?(r.current(),s()):t()};return"visible"===document.visibilityState&&s(),document.addEventListener("visibilitychange",l),()=>{t(),document.removeEventListener("visibilitychange",l)}},[a,n])}},57404:(e,t,a)=>{"use strict";a.d(t,{o:()=>l});var s=a(12115),n=a(57391),r=a(11462);function l(e){let{readCache:t,fetch:a,intervalMs:l,initialData:i=null}=e,[c,o]=(0,s.useState)(i),[d,m]=(0,s.useState)(null===i),[u,x]=(0,s.use
1State)(null),[h,f]=(0,s.useState)(0),p=(0,s.useRef)(null!==i);(0,s.useLayoutEffect)(()=>{let e=h>0;if(!e){if(p.current)return;let e=t();if(null!==e){o(e),m(!1);return}}let s=new AbortController,n=!0;return m(!0),a(s.signal,{force:e}).then(e=>{n&&(o(e),x(null))}).catch(e=>{!n||(0,r.zf)(e)||x(e instanceof Error?e.message:"Could not load this feed.")}).finally(()=>{n&&m(!1)}),()=>{n=!1,s.abort()}},[h]);let b=(0,s.useCallback)(()=>f(e=>e+1),[]);return(0,n.T)(b,{intervalMs:l}),{data:c,isLoading:d,error:u,refresh:b}}},64349:(e,t,a)=>{"use strict";a.d(t,{Insights:()=>E});var s=a(95155),n=a(15239),r=a(89559),l=a(7013),i=a(86998);function c(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return"string"==typeof e?e.trim():t}function o(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,a="number"==typeof e?e:Number.parseFloat(String(null!=e?e:""));return Number.isFinite(a)?a:t}function d(e){return Math.max(0,Math.min(100,Math.round(e)))}function m(e,t){if(!e||"object"!=typeof e)return null;let a=c(e.name);return a?{id:o(e.id,t),name:a,logo:c(e.logo)}:null}function u(e,t){if(!Array.isArray(e)||0===e.length)return t;let a=[];for(let t of e.slice(0,8))t&&"object"==typeof t&&a.push({label:c(t.label,"M".concat(a.length+1))||"M".concat(a.length+1),home:d(o(t.home,50)),away:d(o(t.away,50))});return a.length?a:t}function x(e){if(!e||"object"!=typeof e)return null;let t=null,a=e.featured;if(a&&"object"==typeof a){let s=m(a.home,1),n=m(a.away,2),r=a.winProb&&"object"==typeof a.winProb?a.winProb:{};if(s&&n){let l=function(e,t,a){let s=Math.max(0,e),n=Math.max(0,t),r=s+n+Math.max(0,a);if(r<=0)return{home:34,draw:33,away:33};let l=d(s/r*100),i=d(n/r*100);return{home:l,draw:i,away:Math.max(0,100-l-i)}}(o(r.home,34),o(r.draw,33),o(r.away,33)),i=a.predictedScore&&"object"==typeof a.predictedScore?a.predictedScore:null,m=Array.isArray(a.factors)?a.factors.map(e=>c(e)).filter(Boolean).slice(0,4):[],x=a.charts&&"object"==typeof a.charts?a.charts:e.charts,h=function(e){let t=e.home,a=e.away;return{formTrend:[{label:"L5",home:d(t-8),away:d(a+4)},{label:"L4",home:d(t-2),away:d(a-1)},{label:"L3",home:d(t+3),away:d(a-5)},{label:"L2",home:d(t-1),away:d(a+2)},{label:"L1",home:d(t+2),away:d(a-2)}],winProbTrend:[{label:"-4d",home:d(t-6),away:d(a+3)},{label:"-3d",home:d(t-3),away:d(a+1)},{label:"-2d",home:d(t-1),away:d(a)},{label:"-1d",home:d(t+1),away:d(a-1)},{label:"Now",home:t,away:a}],comparison:[{label:"Offense",home:d(t+8),away:d(a+12)},{label:"Defense",home:d(100-a),away:d(100-t)},{label:"Form",home:d(t+4),away:d(a+6)},{label:"Momentum",home:d(t),away:d(a)}]}}(l);t={fixtureId:o(a.fixtureId,Date.now()%1e6),kickoff:c(a.kickoff)||new Date().toISOString(),status:c(a.status,"NS")||"NS",league:c(a.league,"Sports")||"Sports",round:c(a.round)||null,home:s,away:n,winProb:l,confidence:function(e){let t=Math.max(e.home,e.draw,e.away);return t>=55?"High":t>=42?"Medium":"Low"}(l),advice:c(a.advice)||null,predictedWinner:c(a.predictedWinner)||null,predictedScore:i?{home:Math.max(0,Math.round(o(i.home,1))),away:Math.max(0,Math.round(o(i.away,1)))}:null,factors:m,charts:{formTrend:u(null==x?void 0:x.formTrend,h.formTrend),winProbTrend:u(null==x?void 0:x.winProbTrend,h.winProbTrend),comparison:function(e,t){if(!Array.isArray(e)||0===e.length)return t;let a=[];for(let t of e.slice(0,6)){if(!t||"object"!=typeof t)continue;let e=c(t.label)||c(t.metric);e&&a.push({label:e,home:d(o(t.home,50)),away:d(o(t.away,50))})}return a.length?a:t}(null==x?void 0:x.comparison,h.comparison)}}}}let s=[];if(Array.isArray(e.performers))for(let t of e.performers.slice(0,5)){if(!t||"object"!=typeof t)continue;let e=c(t.name);if(!e)continue;let a=Math.max(0,Math.round(o(t.goals,0))),n=Math.max(0,Math.round(o(t.assists,0))),r=Math.min(10,Math.max(0,Math.round(10*o(t.score,7.5))/10));s.push({id:o(t.id,s.length+1),name:e,team:c(t.team,"â")||"â",photo:c(t.photo)||null,goals:a,assists:n,rating:o(t.rating,r),score:r,note:c(t.note)||"".concat(a,"G \xb7 ").concat(n,"A")})}let n=[];if(Array.isArray(e.injuries))for(let t of e.injuries.slice(0,5)){if(!t||"object"!=typeof t)continue;let e=c(t.name);if(!e)continue;let a=c(t.reason,"Unavailable")||"Unavailable",s=c(t.kind),r="Injury"===s||"Suspension"===s||"Other"===s?s:function(e){let t=e.toLowerCase();return t.includes("suspend")||t.includes("red card")?"Suspension":t.includes("injur")||t.includes("knock")||t.includes("strain")||t.includes("fracture")?"Injury":"Other"}(a);n.push({id:o(t.id,n.length+1),name:e,team:c(t.team,"â")||"â",reason:a,kind:r})}return t||0!==s.length||0!==n.length?{updatedAt:c(e.updatedAt)||new Date().toISOString(),featured:t,performers:s,injuries:n}:null}function h(e){return(null==e?void 0:e.featured)?{updatedAt:e.updatedAt||new Date().toISOString(),featured:e.featured,performers:e.performers,injuries:e.injuries}:null}var f=a(11462);let p=(0,i.H)({key:"efans.sportsInsights.v6",ttlMs:144e5,hydrate:e=>{var t,a;return null!=(a=h(null!=(t=x(e))?t:e))?a:null},isUsable:e=>!!(null==e?void 0:e.featured)});function b(){return p.read()}async function g(e){var t;let{force:a=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!a){let e=p.read();if(e)return e}let s=await fetch("/api/sports-insights",{signal:e,cache:a?"no-cache":"default"});if(503===s.status)return null;let n=await s.json();if(!s.ok)throw Error((0,f.dS)(n,"Could not load insights."));let r=h(null!=(t=x(n))?t:n);return r&&p.write(r),r}var j=a(57404),v=a(64269),y=a(74073);let N=y.cD.home,w=y.cD.away,k={High:"".concat(y.IV.blue.fill," ").concat(y.IV.blue.glyph),Medium:"".concat(y.IV.amber.fill," ").concat(y.IV.amber.glyph),Low:"bg-surface-chip text-ink-faint"};function S(e){try{return new Intl.DateTimeFormat(void 0,{weekday:"short",month:"short",day:"numeric",hour:"numeric",minute:"2-digit"}).format(new Date(e))}catch(t){return e}}function A(e){let{featured:t}=e,{home:a,draw:n,away:r}=t.winProb,l=[{label:t.home.name,pct:a,bar:N.fill,tone:N.text},...n>0?[{label:"Draw",pct:n,bar:"bg-ink-secondary",tone:"text-ink-secondary"}]:[],{label:t.away.name,pct:r,bar:w.fill,tone:w.text}
1];return(0,s.jsxs)("div",{className:"space-y-3",children:[(0,s.jsx)("div",{className:(0,v.cn)(y.Kq,"flex h-2"),role:"img","aria-label":"Win probability ".concat(t.home.name," ").concat(a,"%").concat(n>0?", draw ".concat(n,"%"):"",", ").concat(t.away.name," ").concat(r,"%"),children:l.map(e=>(0,s.jsx)("span",{className:e.bar,style:{width:"".concat(e.pct,"%")}},e.label))}),(0,s.jsx)("div",{className:(0,v.cn)("grid gap-2",n>0?"grid-cols-3":"grid-cols-2"),children:l.map(e=>(0,s.jsxs)(y.Lb,{className:"px-2.5 py-2.5 text-center",children:[(0,s.jsx)("p",{className:"truncate text-micro font-medium uppercase tracking-caps text-ink-meta-raised",children:e.label}),(0,s.jsxs)("p",{className:(0,v.cn)("mt-0.5 text-heading font-semibold tabular-nums tracking-tight",e.tone),children:[e.pct,(0,s.jsx)("span",{className:"text-micro font-medium text-ink-meta-raised",children:"%"})]})]},e.label))})]})}function M(e){let{points:t,homeName:a,awayName:n,title:r}=e,l=304,i=86,c=Math.max(t.length-1,1),o=e=>t.map((t,a)=>{let s=12+i-Math.min(100,Math.max(0,t[e]))/100*i;return"".concat(0===a?"M":"L").concat((8+a/c*l).toFixed(1),",").concat(s.toFixed(1))}).join(" ");return(0,s.jsxs)("div",{className:"min-w-0",children:[(0,s.jsxs)("div",{className:"mb-3 flex flex-wrap items-center justify-between gap-x-2 gap-y-1",children:[(0,s.jsx)("p",{className:"min-w-0 text-micro font-semibold uppercase tracking-eyebrow text-ink-meta-raised",children:r}),(0,s.jsxs)("div",{className:"flex min-w-0 flex-wrap items-center gap-x-3 gap-y-1 text-micro uppercase tracking-caps",children:[(0,s.jsx)("span",{className:(0,v.cn)("min-w-0 truncate",N.text),children:a}),(0,s.jsx)("span",{className:(0,v.cn)("min-w-0 truncate",w.text),children:n})]})]}),(0,s.jsxs)("svg",{viewBox:"0 0 ".concat(320," ").concat(120),className:"h-auto w-full",role:"img","aria-label":r,children:[[.25,.5,.75].map(e=>(0,s.jsx)("line",{x1:8,x2:312,y1:12+i*e,y2:12+i*e,className:"stroke-line-card",strokeWidth:"1"},e)),(0,s.jsx)("path",{d:o("home"),fill:"none",stroke:N.stroke,strokeWidth:"2.25",strokeLinecap:"round"}),(0,s.jsx)("path",{d:o("away"),fill:"none",stroke:w.stroke,strokeWidth:"2.25",strokeLinecap:"round"}),t.map((e,t)=>(0,s.jsx)("text",{x:8+t/c*l,y:114,textAnchor:"middle",className:"fill-ink-meta-raised",style:{fontSize:9},children:e.label},e.label))]})]})}function z(e){let{homePct:t,size:a="sm"}=e;return(0,s.jsxs)("div",{className:(0,v.cn)(y.Kq,"xs"===a?"h-[3px]":"h-1"),children:[(0,s.jsx)("div",{className:(0,v.cn)("absolute inset-y-0 left-0 rounded-l-full",N.fill),style:{width:"".concat(t,"%")}}),(0,s.jsx)("div",{className:(0,v.cn)("absolute inset-y-0 right-0 rounded-r-full",w.fill),style:{width:"".concat(100-t,"%")}}),(0,s.jsx)("div",{className:(0,v.cn)("absolute top-1/2 -translate-x-1/2 -translate-y-1/2 rounded-full bg-ink-primary","xs"===a?"size-1":"size-1.5"),style:{left:"".concat(t,"%")},"aria-hidden":!0})]})}function L(e){var t,a;let{metrics:n,homeName:r,awayName:l}=e,i=null!=(t=r.split(" ").pop())?t:r,c=null!=(a=l.split(" ").pop())?a:l,o=n.reduce((e,t)=>e+t.home,0),d=Math.max(o+n.reduce((e,t)=>e+t.away,0),1),m=Math.round(o/d*100),u=100-m,x=m>=u;return(0,s.jsxs)("div",{className:"flex h-full flex-col",role:"img","aria-label":"Team edge ".concat(r," ").concat(m," percent, ").concat(l," ").concat(u," percent"),children:[(0,s.jsxs)("div",{className:"flex items-center justify-between gap-3 border-b border-line-card pb-3",children:[(0,s.jsx)(y.B7,{children:"Team edge"}),(0,s.jsxs)("p",{className:"text-micro font-medium tabular-nums text-ink-meta-raised",children:[(0,s.jsxs)("span",{className:x?N.text:void 0,children:[m,"%"]}),(0,s.jsx)("span",{className:"mx-1.5","aria-hidden":!0,children:"\xb7"}),(0,s.jsxs)("span",{className:x?void 0:w.text,children:[u,"%"]})]})]}),(0,s.jsxs)("div",{className:"mt-3 grid grid-cols-[2.5rem_1fr_2.5rem] items-center gap-x-2",children:[(0,s.jsx)("span",{className:(0,v.cn)("truncate text-right text-micro font-medium uppercase tracking-caps",N.text),children:i}),(0,s.jsx)(z,{homePct:m,size:"xs"}),(0,s.jsx)("span",{className:(0,v.cn)("truncate text-micro font-medium uppercase tracking-caps",w.text),children:c})]}),(0,s.jsx)("div",{className:"mt-4 flex flex-1 flex-col justify-center gap-2.5",children:n.map(e=>{let t=Math.max(e.home+e.away,1),a=e.home/t*100,n=e.home>=e.away;return(0,s.jsxs)("div",{className:"grid grid-cols-[2.5rem_1fr_2.5rem] items-center gap-x-2",children:[(0,s.jsx)("span",{className:(0,v.cn)("text-right text-meta font-semibold tabular-nums",n?N.text:"text-ink-meta-raised"),children:e.home}),(0,s.jsxs)("div",{className:"min-w-0",children:[(0,s.jsx)("p",{className:"mb-1 text-center text-micro font-medium uppercase tracking-eyebrow text-ink-meta-raised",children:function(e){let t=e.toLowerCase();return t.includes("xg")||t.includes("momentum")?"MOM":t.includes("attack")||t.includes("offense")?"OFF":t.includes("defense")?"DEF":t.includes("form")?"Form":e.slice(0,4)}(e.label)}),(0,s.jsx)(z,{homePct:a})]}),(0,s.jsx)("span",{className:(0,v.cn)("text-meta font-semibold tabular-nums",n?"text-ink-meta-raised":w.text),children:e.away})]},e.label)})})]})}function I(e){let{featured:t}=e,{charts:a,home:n,away:r}=t;return(0,s.jsxs)("div",{className:"border-t border-line-card px-4 py-5 sm:px-6 sm:py-6",children:[(0,s.jsx)(y.B7,{className:"mb-4",children:"Match analytics"}),(0,s.jsxs)("div",{className:"grid gap-3 sm:gap-4 lg:grid-cols-3 lg:items-stretch",children:[(0,s.jsx)(y.Lb,{className:"p-3.5 sm:p-4",children:(0,s.jsx)(M,{title:"Form trend",points:a.formTrend,homeName:n.name,awayName:r.name})}),(0,s.jsx)(y.Lb,{className:"p-3.5 sm:p-4",children:(0,s.jsx)(M,{title:"Win probability trend",points:a.winProbTrend,homeName:n.name,awayName:r.name})}),(0,s.jsx)(y.Lb,{className:"p-3.5 sm:p-4",children:(0,s.jsx)(L,{metrics:a.comparison,homeName:n.name,awayName:r.name})})]})]})}function C(e){let{featured:t}=e,a=t.predictedScore;return(0,s.jsxs)(y.sI,{radius:"showcase",className:"overflow-hidden",children:[(0,s.jsxs)("div",{className:"flex flex-wrap items-center justify-between gap-2 border-b border-line-card px-4 py-3 sm:px-6",children:[(0,s.jsxs)("div",{className:"min-w-0",children:[(0,s.jsxs)(y.B7,{children:[t.league,t.round?" \xb7 ".concat(t.round):""]}),(0,s.jsx)("p",{className:"mt-0.5 text-meta text-ink-meta",children:S(t.kickoff)}
1)]}),(0,s.jsxs)("span",{className:(0,v.cn)("rounded-badge px-2 py-1 text-micro font-semibold uppercase tracking-caps",k[t.confidence]),children:[t.confidence," confidence"]})]}),(0,s.jsxs)("div",{className:"grid gap-4 p-4 sm:gap-5 sm:p-6 lg:grid-cols-2 lg:items-stretch",children:[(0,s.jsxs)(y.Lb,{className:"flex flex-col gap-4 p-4",children:[(0,s.jsxs)("div",{className:"grid grid-cols-[1fr_auto_1fr] items-center gap-2 sm:gap-3",children:[(0,s.jsx)(D,{team:t.home,align:"left"}),(0,s.jsxs)("div",{className:"flex flex-col items-center gap-1 px-1",children:[a?(0,s.jsxs)("p",{className:"text-heading-lg font-semibold tabular-nums tracking-tight",children:[(0,s.jsx)("span",{className:N.text,children:a.home}),(0,s.jsx)("span",{className:"mx-1.5 text-ink-meta-raised",children:":"}),(0,s.jsx)("span",{className:w.text,children:a.away})]}):(0,s.jsx)("span",{className:"text-micro font-semibold uppercase tracking-marker text-ink-meta-raised",children:"vs"}),(0,s.jsx)("span",{className:"text-micro uppercase tracking-eyebrow text-ink-meta-raised",children:"Predict"})]}),(0,s.jsx)(D,{team:t.away,align:"right"})]}),(0,s.jsx)(A,{featured:t})]}),(0,s.jsxs)(y.Lb,{className:"flex flex-col gap-3 p-4",children:[(0,s.jsx)("p",{className:"text-micro font-semibold uppercase tracking-eyebrow text-ink-meta-raised",children:"Outcome forecast"}),t.predictedWinner?(0,s.jsxs)("p",{className:"text-title font-semibold text-ink-primary",children:["Lean"," ",(0,s.jsx)("span",{className:"text-brand-purple-soft",children:t.predictedWinner})]}):(0,s.jsx)("p",{className:"text-title font-semibold text-ink-primary",children:"Tight contest"}),t.advice?(0,s.jsx)("p",{className:"text-label leading-relaxed text-ink-meta-raised",children:t.advice}):null,t.factors.length>0?(0,s.jsx)("ul",{className:"mt-auto space-y-2 border-t border-line-card pt-3",children:t.factors.slice(0,3).map(e=>(0,s.jsxs)("li",{className:"flex gap-2 text-label leading-snug text-ink-meta-raised",children:[(0,s.jsx)("span",{className:(0,v.cn)("mt-1.5 size-1 shrink-0 rounded-full",N.fill),"aria-hidden":!0}),(0,s.jsx)("span",{className:"line-clamp-2",children:e})]},e))}):null]})]}),(0,s.jsx)(I,{featured:t})]})}function F(e){var t,a;let s=e.trim().split(/\s+/).filter(Boolean);return 0===s.length?"?":1===s.length?s[0].slice(0,2).toUpperCase():"".concat(null!=(t=s[0][0])?t:"").concat(null!=(a=s[s.length-1][0])?a:"").toUpperCase()}function T(e){let{name:t,logo:a}=e,r=!!(null==a?void 0:a.startsWith("http"));return(0,s.jsx)("div",{className:"relative size-11 shrink-0 overflow-hidden rounded-control border border-line-card bg-surface-chip",children:r?(0,s.jsx)(n.default,{unoptimized:!0,src:a,alt:"",fill:!0,className:"object-contain p-1.5 drop-shadow-crest",sizes:"44px"}):(0,s.jsx)("span",{className:"flex h-full w-full items-center justify-center text-micro font-semibold tracking-wide text-ink-control",children:F(t)})})}function D(e){let{team:t,align:a}=e;return(0,s.jsxs)("div",{className:(0,v.cn)("flex min-w-0 flex-col items-center gap-2","left"===a?"sm:items-start":"sm:items-end"),children:[(0,s.jsx)(T,{name:t.name,logo:t.logo}),(0,s.jsx)("p",{className:(0,v.cn)("w-full truncate text-label font-semibold text-ink-primary","left"===a?"text-center sm:text-left":"text-center sm:text-right"),children:t.name})]})}function P(e){let{items:t}=e;if(0===t.length)return null;let a=t.slice(0,5),[n,...r]=a,l=Math.max(...a.map(e=>e.score),1),i=y.IV.amber;return(0,s.jsxs)(y.sI,{className:"relative flex h-full flex-col overflow-hidden",children:[(0,s.jsxs)("div",{className:"flex items-center justify-between gap-2 border-b border-line-card px-4 py-3",children:[(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[(0,s.jsx)("span",{className:(0,v.cn)("flex size-6 items-center justify-center rounded-control text-micro font-bold",i.fill,i.glyph),"aria-hidden":!0,children:"â
"}),(0,s.jsxs)("div",{children:[(0,s.jsx)("p",{className:(0,v.cn)("text-micro font-semibold uppercase tracking-eyebrow",i.label),children:"Hot form"}),(0,s.jsx)("h4",{className:"text-label font-semibold text-ink-primary",children:"Top performers"})]})]}),(0,s.jsxs)("span",{className:"text-micro font-medium tabular-nums tracking-caps text-ink-meta",children:[a.length," athletes"]})]}),n?(0,s.jsx)("div",{className:"border-b border-line-card px-4 py-3.5",children:(0,s.jsxs)("div",{className:"flex items-center gap-3",children:[(0,s.jsxs)("div",{className:"relative shrink-0",children:[(0,s.jsx)("div",{className:(0,v.cn)("flex size-11 items-center justify-center rounded-control text-label font-bold",i.fill,i.glyph),children:F(n.name)}),(0,s.jsx)("span",{className:(0,v.cn)("absolute -left-1 -top-1 flex size-5 items-center justify-center rounded-full border border-line-card bg-surface-card text-micro font-bold",i.glyph),children:"1"})]}),(0,s.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,s.jsx)("p",{className:"truncate text-body font-semibold text-ink-primary",children:n.name}),(0,s.jsxs)("p",{className:"truncate text-micro text-ink-meta",children:[n.team,n.note?" \xb7 ".concat(n.note):""]}
1),(0,s.jsx)("div",{className:(0,v.cn)(y.Kq,"mt-2 h-1"),children:(0,s.jsx)("div",{className:"h-full rounded-full bg-brand-amber",style:{width:"".concat(Math.round(n.score/l*100),"%")}})})]}),(0,s.jsxs)("div",{className:"shrink-0 text-right",children:[(0,s.jsx)("p",{className:(0,v.cn)("text-heading-lg font-semibold tabular-nums tracking-tight",i.label),children:n.score.toFixed(1)}),(0,s.jsx)("p",{className:"mt-1 text-micro font-medium uppercase tracking-eyebrow text-ink-meta",children:"Rating"})]})]})}):null,(0,s.jsx)("ol",{className:"flex flex-col px-2 py-1.5",children:r.map((e,t)=>{let a=Math.round(e.score/l*100);return(0,s.jsxs)("li",{className:"flex items-center gap-2.5 rounded-control px-2 py-2 transition-colors duration-fast ease-brand hover:bg-surface-well",children:[(0,s.jsx)("span",{className:"flex size-5 shrink-0 items-center justify-center rounded-badge bg-surface-chip text-micro font-bold tabular-nums text-ink-control",children:t+2}),(0,s.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,s.jsxs)("div",{className:"flex items-baseline justify-between gap-2",children:[(0,s.jsx)("p",{className:"truncate text-meta font-medium text-ink-primary",children:e.name}),(0,s.jsx)("p",{className:"shrink-0 text-meta font-semibold tabular-nums text-ink-control",children:e.score.toFixed(1)})]}),(0,s.jsxs)("div",{className:"mt-1 flex items-center gap-2",children:[(0,s.jsx)("p",{className:"min-w-0 flex-1 truncate text-micro text-ink-meta",children:e.team}),(0,s.jsx)("div",{className:(0,v.cn)(y.Kq,"h-[3px] w-16 shrink-0 sm:w-20"),children:(0,s.jsx)("div",{className:"h-full rounded-full bg-brand-blue",style:{width:"".concat(a,"%")}})})]})]})]},e.id)})})]})}let B={Injury:"text-brand-danger-soft",Suspension:"text-brand-amber-strong",Other:"text-ink-meta-raised"};function O(e){let{items:t}=e;if(0===t.length)return null;let a=t.slice(0,5);return(0,s.jsxs)(y.sI,{className:"relative flex h-full flex-col overflow-hidden",children:[(0,s.jsxs)("div",{className:"flex items-center justify-between gap-2 border-b border-line-card px-4 py-3",children:[(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[(0,s.jsx)("span",{className:"flex size-6 items-center justify-center rounded-control bg-brand-danger-fill text-micro font-bold text-brand-danger-bright","aria-hidden":!0,children:"!"}),(0,s.jsxs)("div",{children:[(0,s.jsx)("p",{className:"text-micro font-semibold uppercase tracking-eyebrow text-brand-danger-soft",children:"Absences"}),(0,s.jsx)("h4",{className:"text-label font-semibold text-ink-primary",children:"Injury & availability"})]})]}),(0,s.jsxs)("span",{className:"text-micro font-medium tabular-nums tracking-caps text-ink-meta",children:[a.length," listed"]})]}),(0,s.jsx)("ul",{className:"flex flex-col px-2 py-1.5",children:a.map(e=>(0,s.jsxs)("li",{className:"rounded-control px-2 py-2.5 transition-colors duration-fast ease-brand hover:bg-surface-well",children:[(0,s.jsxs)("div",{className:"flex items-baseline justify-between gap-2",children:[(0,s.jsx)("p",{className:"truncate text-meta font-medium text-ink-primary",children:e.name}),(0,s.jsx)("span",{className:(0,v.cn)("shrink-0 text-micro font-semibold uppercase tracking-caps",B[e.kind]),children:e.kind})]}),(0,s.jsxs)("p",{className:"mt-0.5 truncate text-micro text-ink-meta",children:[e.team,e.reason?" \xb7 ".concat(e.reason):""]})]},"".concat(e.id,"-").concat(e.reason)))})]})}function E(e){let{initialInsights:t=null}=e,{data:a,isLoading:n,error:i,refresh:c}=(0,j.o)({readCache:b,fetch:g,intervalMs:9e5,initialData:t});return(0,s.jsx)(y.wn,{className:"border-b border-line-card",children:(0,s.jsxs)(y.mc,{className:"flex flex-col gap-10",children:[(0,s.jsxs)("div",{className:"flex flex-col gap-5 sm:flex-row sm:items-end sm:justify-between",children:[(0,s.jsxs)("div",{className:"max-w-2xl",children:[(0,s.jsx)(y.B7,{index:"03",className:"mb-4",children:"Live intelligence"}),(0,s.jsx)("h2",{className:"text-display font-semibold tracking-tight text-ink-primary sm:text-hero",children:"Sports Insights & Predictions"}),(0,s.jsx)("p",{className:"mt-3 text-body-lg text-ink-secondary",children:"Cross-sport model output for the next big events â win probabilities, form charts, and availability notes. Always available from cache; refreshed on a shared schedule."})]}),(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[(0,s.jsx)(y.NS,{onClick:c,disabled:n,"aria-label":"Reload cached insights",children:(0,s.jsx)(r.A,{className:(0,v.cn)("size-4",n&&"animate-spin"),"aria-hidden":!0})}),(0,s.jsxs)(y.a6,{href:"/signup",children:["Full analysis",(0,s.jsx)(l.A,{className:"size-3.5","aria-hidden":!0})]})]})]}),i&&a?(0,s.jsxs)("p",{className:"text-center text-meta text-brand-amber-strong",role:"status",children:[i," Showing last saved insights."]}):null,a?(0,s.jsxs)("div",{className:"flex flex-col gap-5",children:[a.featured?(0,s.jsx)(C,{featured:a.featured}):null,(0,s.jsxs)("div",{className:"grid grid-cols-1 items-stretch gap-4 lg:grid-cols-2",children:[(0,s.jsx)(P,{items:a.performers}),(0,s.jsx)(O,{items:a.injuries})]}),a.updatedAt?(0,s.jsxs)("p",{className:"text-center text-micro uppercase tracking-eyebrow text-ink-meta-raised",children:["Updated ",S(a.updatedAt)]}):null]}):n?null:(0,s.jsx)("p",{className:"py-10 text-center text-body text-ink-secondary",role:"status",children:null!=i?i:"No fixture is being modelled right now. Check back before the next round of games."})]})})}},74073:(e,t,a)=>{"use strict";a.d(t,{B7:()=>f,Gh:()=>y,I6:()=>m,IV:()=>b,J2:()=>v,Kq:()=>g,Lb:()=>x,NS:()=>S,a6:()=>k,cD:()=>j,mc:()=>o,sI:()=>u,w:()=>p,wn:()=>d,zx:()=>N});var s=a(95155),n=a(52619),r=a.n(n),l=a(52987);a(85450);var i=a(74824),c=a(64269);function o(e){let{children:t,className:a,as:n="div"}=e;
1return(0,s.jsx)(n,{className:(0,c.cn)("mx-auto w-full min-w-0 max-w-content px-4 sm:px-6 lg:px-8",a),children:t})}function d(e){let{children:t,className:a,id:n,label:r}=e;return(0,s.jsx)("section",{id:n,"aria-label":r,className:(0,c.cn)("relative w-full py-16 sm:py-24",a),children:t})}function m(){let{tone:e="card",radius:t="feature",interactive:a=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,c.cn)("border border-line-card","card"===e?"bg-surface-card":"bg-surface-translucent backdrop-blur-xl","panel"===t&&"rounded-panel","feature"===t&&"rounded-feature","showcase"===t&&"rounded-showcase",a&&"transition-colors duration-fast ease-brand hover:border-brand-blue")}function u(e){let{children:t,className:a,as:n="div",...r}=e;return(0,s.jsx)(n,{className:(0,c.cn)(m(r),a),children:t})}function x(e){let{children:t,className:a}=e;return(0,s.jsx)("div",{className:(0,c.cn)("rounded-panel border border-line-card bg-surface-well",a),children:t})}let h="text-micro font-semibold uppercase tracking-marker";function f(e){let{children:t,index:a,className:n}=e;return(0,s.jsxs)("p",{className:(0,c.cn)("flex items-center gap-3",n),children:[a?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("span",{className:"text-micro tabular-nums tracking-marker text-ink-meta",children:a}),(0,s.jsx)("span",{className:"h-px w-10 bg-gradient-to-r from-line-card to-transparent","aria-hidden":!0})]}):null,(0,s.jsx)("span",{className:(0,c.cn)(h,"text-brand-blue-soft"),children:t})]})}function p(e){let{title:t,subtitle:a,align:n="center",className:r,as:l="h2"}=e;return(0,s.jsxs)("div",{className:(0,c.cn)("flex flex-col gap-4","center"===n?"items-center text-center":"items-start text-left",r),children:[(0,s.jsx)(l,{className:"text-balance text-display font-bold tracking-tight text-ink-primary sm:text-hero",children:t}),a?(0,s.jsx)("p",{className:(0,c.cn)("max-w-2xl text-pretty text-body-lg text-ink-secondary","center"===n&&"mx-auto"),children:a}):null]})}let b={blue:{fill:"bg-brand-blue-fill",line:"border-brand-blue-fill",glyph:"text-brand-blue-bright",label:"text-brand-blue-soft"},purple:{fill:"bg-brand-purple-fill",line:"border-brand-purple-line",glyph:"text-brand-purple-soft",label:"text-brand-purple-soft"},amber:{fill:"bg-brand-amber-fill",line:"border-brand-amber-fill",glyph:"text-brand-amber-strong",label:"text-brand-amber-strong"}},g="relative overflow-hidden rounded-full bg-surface-chip",j={home:{text:"text-brand-blue-soft",fill:"bg-brand-blue",stroke:i.f.blue},away:{text:"text-brand-purple-soft",fill:"bg-brand-purple",stroke:i.f.purple}};function v(e){let{children:t,className:a}=e;return(0,s.jsx)("span",{className:(0,c.cn)(h,"text-brand-danger-soft",a),children:t})}"".concat(b.blue.fill," ").concat(b.blue.line," ").concat(b.blue.glyph),"".concat(b.purple.fill," ").concat(b.purple.line," ").concat(b.purple.glyph),"".concat(b.amber.fill," ").concat(b.amber.line," ").concat(b.amber.glyph);let y="bg-gradient-to-r from-brand-blue-strong to-brand-purple-strong";function N(e){let{children:t,className:a,icon:n=l.A,href:i,...o}=e;return(0,s.jsxs)(r(),{href:i,className:(0,c.cn)("inline-flex items-center justify-center gap-2 text-body-lg font-semibold transition-transform duration-base ease-brand focus:outline-none focus-visible:ring-2 focus-visible:ring-brand-blue focus-visible:ring-offset-2 focus-visible:ring-offset-surface-canvas-edge",y,"rounded-control px-6 py-3 text-ink-primary shadow-cta hover:scale-[1.02] active:scale-[0.98]",a),...o,children:[t,n?(0,s.jsx)(n,{className:"size-4 shrink-0","aria-hidden":!0}):null]})}let w="inline-flex items-center justify-center gap-1.5 rounded-control border border-line-card bg-surface-card text-label font-medium text-ink-control transition-colors duration-fast ease-brand hover:border-brand-blue hover:text-ink-primary focus:outline-none focus-visible:ring-2 focus-visible:ring-brand-blue focus-visible:ring-offset-2 focus-visible:ring-offset-surface-canvas-edge disabled:pointer-events-none disabled:opacity-40";function k(e){let{children:t,className:a,href:n,...l}=e,i=(0,c.cn)(w,"h-icon-button px-4",a);return n?(0,s.jsx)(r(),{href:n,className:i,...l,children:t}):(0,s.jsx)("button",{type:"button",className:i,...l,children:t})}function S(e){let{className:t,...a}=e;
1return(0,s.jsx)("button",{type:"button",className:(0,c.cn)(w,"size-icon-button shrink-0",t),...a})}},84580:(e,t,a)=>{"use strict";a.d(t,{m:()=>u});var s=a(57404),n=a(11311),r=a(86998),l=a(11462);let i=(0,r.H)({key:"efans.footballNews.v4",ttlMs:6e5,field:"articles",hydrate:e=>Array.isArray(e)?e.filter(e=>(0,n.zs)(e.image)):[],isUsable:e=>e.length>0});function c(){return i.read()}async function o(e){var t;let a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"default",s=await fetch("/api/sports-news",{signal:e,cache:a}),r=await s.json();if(!s.ok)throw Error((0,l.dS)(r,s.statusText||"Could not load news."));let c=(null!=(t=r.articles)?t:[]).filter(e=>(0,n.zs)(e.image));return i.write(c),c}async function d(e,t){var a;return(null==t?void 0:t.force)?o(e,"no-cache"):null!=(a=i.read())?a:o(e)}let m=[];function u(e){let{data:t,isLoading:a,error:n,refresh:r}=(0,s.o)({readCache:c,fetch:d,intervalMs:3e5,initialData:(null==e?void 0:e.length)?e:null}),l=null!=t?t:m;return{articles:l,isLoading:a,error:l.length?null:n,refresh:r}}},86998:(e,t,a)=>{"use strict";function s(e){let{key:t,ttlMs:a,field:s="data",hydrate:n,isUsable:r}=e,l=()=>{try{sessionStorage.removeItem(t)}catch(e){}return null};return{read(){try{let e=sessionStorage.getItem(t);if(!e)return null;let a=JSON.parse(e);if("number"!=typeof(null==a?void 0:a.expiresAt)||Date.now()>a.expiresAt)return l();let i=n?n(a[s]):a[s];return r(i)?i:l()}catch(e){return l()}},write(e){try{sessionStorage.setItem(t,JSON.stringify({[s]:e,expiresAt:Date.now()+a}))}catch(e){}},clear:l}}a.d(t,{H:()=>s})},99920:(e,t,a)=>{"use strict";a.d(t,{Header:()=>h});var s=a(95155),n=a(12115),r=a(52619),l=a.n(r),i=a(15239),c=a(65229),o=a(9540),d=a(85450),m=a(64269),u=a(74073);let x="text-label font-medium text-ink-secondary transition-colors duration-fast ease-brand hover:text-ink-primary";function h(){let[e,t]=(0,n.useState)(!1);return(0,s.jsx)("header",{className:(0,m.cn)("sticky top-0 z-50 w-full border-b border-line-card",d.KI),children:(0,s.jsxs)(u.mc,{children:[(0,s.jsxs)("nav",{className:"flex h-16 w-full items-center justify-between sm:h-20",children:[(0,s.jsxs)(l(),{href:"/",className:"flex shrink-0 items-center gap-2.5",children:[(0,s.jsx)(i.default,{src:"/assets/sidebar/logo.svg",alt:"eFans Logo",width:40,height:40,className:"size-8 sm:size-9",priority:!0}),(0,s.jsx)("span",{className:"text-heading font-semibold text-ink-primary sm:text-heading-lg",children:"eFans"})]}),(0,s.jsxs)("div",{className:"hidden items-center gap-3 md:flex",children:[(0,s.jsx)(l(),{href:"/login",className:x,children:"Login"}),(0,s.jsx)(u.zx,{href:"/signup",icon:null,className:"rounded-full px-6 py-2.5",children:"Sign up for free"})]}),(0,s.jsx)("button",{type:"button",onClick:()=>t(e=>!e),"aria-label":e?"Close menu":"Open menu","aria-expanded":e,className:"inline-flex size-icon-button items-center justify-center rounded-control border border-line-card bg-surface-card text-ink-primary md:hidden",children:e?(0,s.jsx)(c.A,{className:"size-5","aria-hidden":!0}):(0,s.jsx)(o.A,{className:"size-5","aria-hidden":!0})})]}),(0,s.jsx)("div",{className:(0,m.cn)("grid overflow-hidden transition-[grid-template-rows] duration-slide ease-brand md:hidden",e?"grid-rows-[1fr]":"grid-rows-[0fr]"),children:(0,s.jsx)("div",{className:"min-h-0",children:(0,s.jsx)("div",{className:"flex flex-col gap-1 border-t border-line-card py-4",children:(0,s.jsxs)("div",{className:"flex flex-col gap-2 px-3",children:[(0,s.jsx)(l(),{href:"/login",onClick:()=>t(!1),className:(0,m.cn)(x,"rounded-control border border-line-card bg-surface-card px-4 py-2.5 text-center"),children:"Login"}),(0,s.jsx)(u.zx,{href:"/signup",icon:null,className:"w-full",children:"Sign up for free"})]})})})})]})})}}},e=>{e.O(0,[2619,2473,4909,6823,8401,5858,8441,1255,7358],()=>e(e.s=39875)),_N_E=e.O()}]);
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.