1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./D9E9avxF.js","./KR_XKDsj.js","./C197pium.js","./Do5BbwZC.js","./entry.DLQgoWNu.css","./BRLYR9n0.js","./B_epOsVV.js","./x5LDLChe.js","./HomeSectionActionLink.tTcy5QEc.css","./DlBF7SNY.js","./Cjv3pXD_.js","./HomeSectionTeamBadge.ChmbbR0S.css","./By3_FcPs.js","./GameScoreDetailsScorer.Cn_RkScR.css","./CZLFO2HN.js","./WidgetModel.BuhN0_iR.css","./SeasonHomeSection.DXXFodUA.css","./CkeyY785.js","./DcPIAl_q.js","./HomeSectionGroup.8G-iM5rd.css","./BbtGtbEy.js","./Bc0Rsv1c.js","./Be1fzYNM.js","./Bj_9D2qP.js","./YU7V8fUB.js","./CWmkW8rP.js","./DsdpAnE5.js","./DaQjkxzS.js","./a1REZ_fa.js","./CCMDVrT4.js","./BWwPjxwE.js","./HEO66Avu.js","./CMG29pAs.js","./DmfvTtO6.js","./GameItem.Cwex90ys.css","./BirthdaysHomeSection.CqPgCEts.css","./DtZnbxZ3.js","./TransfersHomeSection.BBEytsbG.css","./D2VtwqKX.js","./ArticlesHomeSection.xYyBau48.css"])))=>i.map(i=>d[i]); 2import{d as C,m as S,o as l,k as y,x as F,v as I,C as W,q as j,e as K,i as Q,r as _,c as p,K as G,a as u,j as a,b as H,n as P,u as e,t as g,F as w,p as V,N as J,O as f,l as A,M as U,P as h}from"./Do5BbwZC.js";import{H as X,T as Y,M as Z}from"./D09y_jM5.js";import{_ as ee}from"./nbOZII0r.js";import{_ as te}from"./x5LDLChe.js";import{L as oe}from"./Q7lERPcI.js";import"./Bhk09ENJ.js";import"./Ws8bCeYt.js";import"./Cjv3pXD_.js";import"./YU7V8fUB.js";import"./Be1fzYNM.js";import"./CWmkW8rP.js";import"./DsdpAnE5.js";import"./Bj_9D2qP.js";import"./DaQjkxzS.js";import"./a1REZ_fa.js";import"./CCMDVrT4.js";import"./BWwPjxwE.js";import"./HEO66Avu.js";import"./CMG29pAs.js";import"./DmfvTtO6.js";import"./CjgoQ-f6.js";import"./C-pYk6yC.js";import"./CMoi4mcD.js";import"./DGEOgZpe.js";import"./AdqDaDqi.js";import"./LedVn94z.js";import"./uiLOY-FW.js";import"./CnrWdAaD.js";import"./DUnLOcoO.js";import"./CieGPQW0.js";import"./Cva4F-pW.js";import"./DR17haZt.js";import"./CWA1sMVe.js";import"./ou4_V1xj.js";import"./CqqOn96z.js";const ne=C({__name:"HomeSectionPillLink",props:{to:{},secondary:{type:Boolean,default:!1},size:{default:"default"}},setup(v){return(t,k)=>{const m=te;return l(),S(m,{to:t.to,class:I(["HomeSectionPillLink",{"HomeSectionPillLink--secondary":t.secondary,"HomeSectionPillLink--compact":t.size==="compact"}])},{default:y(()=>[F(t.$slots,"default")]),_:3},8,["to","class"])}}}),ae=(v=j)=>({...W(v),getBackgrounds:function(){return this.read("home/backgrounds")},getWidgets:function(){return this.read("home/widgets")}}),se={class:"Homepage-content"},re={key:0,class:"Homepage-presentation"},le={class:"Homepage-catchPhrase","data-nosnippet":""},ie={key:1,class:"Homepage-search"},ce={key:2,class:"Homepage-quickLinks","data-nosnippet":""},je=C({__name:"index",setup(v){const{$context:t,$hasFeature:k}=K(),{locale:m,t:i}=Q(),$=_(null),O=_(null),B=_([]),b=_([]),N={season:f(()=>h(()=>import("./D9E9avxF.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16]),import.meta.url)),birthdays:f(()=>h(()=>import("./CkeyY785.js"),__vite__mapDeps([17,1,2,3,4,5,10,7,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,6,8,14,15,35]),import.meta.url)),transfers:f(()=>h(()=>import("./DtZnbxZ3.js"),__vite__mapDeps([36,3,4,7,9,10,11,18,19,14,15,37]),import.meta.url)),articles:f(()=>h(()=>import("./D2VtwqKX.js"),__vite__mapDeps([38,7,3,4,14,15,39]),import.meta.url))},M=o=>N[o],D=p(()=>B.value.filter(o=>!!M(o))),E=p(()=>b.value.length>0?b.value[0]:null),R=p(()=>({"--mobile-background":`url("${$.value}")`,"--desktop-background":`url("${O.value}")`})),T=p(()=>{const o=[];return E.value&&o.push({to:`/season/${E.value.slug}`,label:i("widget.season.current_season_links.current_season")}),o.push({to:"/contracts",label:i("contracts.title"),secondary:!0,mobileLast:!0}),o.push({to:"/players",label:i(`menu.players.${t.config.team_gender}`),secondary:!0,mobileOnly:!0},{to:"/leaders",label:i("menu.leaders"),secondary:!0,mobileOnly:!0},{to:"/club-stats",label:i("menu.club_stats"),secondary:!0,mobileOnly:!0},{to:"/players-stats",label:i(`menu.players_stats.${t.config.team_gender}`),secondary:!0,mobileOnly:!0}),o}),c=p(()=>{if(!t.config.catch_phrases||!t.config.catch_phrases.length)return"";const o=t.config.catch_phrases.find(d=>d.locale===m.value);return o?o.title:""});return G(async()=>{const o=ae(m.value),d=oe(m.value),[s,n]=await Promise.allSettled([o.getBackgroun
2ds(),d.getSeasons()]);s.status==="fulfilled"&&(O.value=s.value.desktop&&s.value.desktop.picture?s.value.desktop.picture:null,$.value=s.value.mobile&&s.value.mobile.picture?s.value.mobile.picture:null),n.status==="fulfilled"&&(b.value=n.value),await new Promise(L=>setTimeout(L,1e3)),B.value=await o.getWidgets()}),(o,d)=>{const s=Y,n=Z,L=X,x=ee,z=ne;return l(),u(w,null,[a(L,null,{default:y(()=>[a(s,null,{default:y(()=>[A(g(e(t).config.title)+" - "+g(e(c)),1)]),_:1}),a(n,{hid:"description",name:"description",content:e(c)},null,8,["content"]),a(n,{name:"twitter:card",content:"summary"}),a(n,{name:"twitter:site",content:e(t).config.twitter_account},null,8,["content"]),a(n,{name:"twitter:title",content:e(t).config.title},null,8,["content"]),a(n,{name:"twitter:description",content:e(c)},null,8,["content"]),a(n,{name:"twitter:image",content:e(t).config.social_picture},null,8,["content"]),a(n,{name:"twitter:image:alt",content:e(t).config.title},null,8,["content"]),a(n,{property:"og:title",content:e(t).config.title},null,8,["content"]),a(n,{property:"og:description",content:e(c)},null,8,["content"]),a(n,{property:"og:image",content:e(t).config.social_picture},null,8,["content"]),a(n,{property:"og:locale",content:o.$i18n.locale},null,8,["content"]),a(n,{property:"og:image:width",content:"600"}),a(n,{property:"og:image:height",content:"600"})]),_:1}),H("main",{class:"Homepage",style:J(e(R))},[H("div",se,[e(c)?(l(),u("div",re,[H("h1",le,g(e(c)),1)])):P("",!0),e(k)("stats")?(l(),u("div",ie,[a(x,{"input-id":"HomepageSearchAutocomplete",variant:"hero",placeholder:o.$t(`title.search.${e(t).config.team_gender}`)},null,8,["placeholder"])])):P("",!0),e(k)("stats")&&e(T).length>0?(l(),u("div",ce,[(l(!0),u(w,null,V(e(T),r=>(l(),S(z,{key:r.to,to:r.to,secondary:r.secondary,size:"compact",class:I({"Homepage-quickLinksItem--mobileOnly":r.mobileOnly,"Homepage-quickLinksItem--mobileLast":r.mobileLast})},{default:y(()=>[A(g(r.label),1)]),_:2},1032,["to","secondary","class"]))),128))])):P("",!0),(l(!0),u(w,null,V(e(D),(r,q)=>(l(),S(U(M(r)),{key:`${r}-${q}`,class:"Homepage-section"}))),128))])],4)],64)}}});export{je 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.