PageSourceSearch

https://chessmind.ai/assets/PlayerPage-abb22dad.js

js chessmind.ai collected 2026-10-05 11:56:37 UTC 5,195 bytes, 1 lines download raw bytes

1import{F as L,at as G,R as c,ao as j,au as M,W as O,J as l,Z as o,a3 as a,Y as w,X as b,a5 as d,a6 as s,a0 as n,M as u,ae as F,a4 as k,$,K as B,av as Y,ar as z,as as A,a7 as J}from"./index-9fff9b16.js";import{S as K}from"./SeoAppCta-9127923b.js";import{u as Q}from"./useContentLocale-d9d91465.js";import{g as W}from"./playerLinks-6b16cf8f.js";import{c as X,b as E,a as P,d as Z,e as q,r as H,g as S,f as g,h as U,j as x}from"./players-e5420393.js";try{let p=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},v=new p.Error().stack;v&&(p._sentryDebugIds=p._sentryDebugIds||{},p._sentryDebugIds[v]="5ca94160-5825-47ff-be92-56168cad65b6",p._sentryDebugIdIdentifier="sentry-dbid-5ca94160-5825-47ff-be92-56168cad65b6")}catch{}const ee={key:0,class:"player-page seo-page cta-first"},ae={class:"player-breadcrumb seo-breadcrumb"},se={class:"player-current seo-current"},le={class:"seo-body"},te={class:"seo-rail"},oe={class:"seo-rail-card seo-rail-convert"},re={class:"seo-overline"},ne={class:"seo-rail-sub"},ue={class:"seo-main"},ie={class:"player-hero seo-hero"},ce={class:"seo-overline"},de={class:"player-meta seo-chips"},pe={key:0,class:"seo-chip"},ye={key:1,class:"seo-chip"},ve=["aria-label"],_e={key:2,class:"seo-chip"},fe={key:0,class:"player-section seo-section"},he={class:"player-cards seo-card-grid"},me={class:"player-section seo-section"},ge={class:"player-cards seo-card-grid"},be={key:0},ke=["aria-label"],$e={class:"seo-rail-foot"},Pe={class:"player-facts-card seo-rail-card"},Ie={class:"player-facts"},Ce={key:0},Te={key:1},De={key:2},Ne={key:3},we={key:4},Fe={key:5},Be=L({__name:"PlayerPage",setup(p){const v=G(),i=Q(),h=c(()=>j.baseFor(i.value)),I=c(()=>String(v.currentRoute.value.params.slug??"")),e=c(()=>X.get(I.value)),C=c(()=>e.value?E(e.value,i.value):""),_=c(()=>e.value?P(e.value.fed,i.value):null),R=c(()=>e.value?Z(e.value,i.value):[]),T=c(()=>e.value?q(e.value,i.value):""),D=c(()=>e.value?W(e.value.slug).map(({slug:r,game:y,opponent:f})=>({slug:r,headline:y.nickname??y.name,opponent:f,event:y.event,year:y.year})):[]),V=c(()=>e.value?H(e.value.slug):[]);return M(()=>{if(!e.value){I.value&&v.replace(h.value);return}if(i.value!=="en"&&!Y(e.value.slug)){v.replace(`/players/${e.value.slug}`);return}z({title:U(e.value,i.value),description:x(e.value,i.value),url:`${A}${h.value}/${e.value.slug}`})}),(r,y)=>{const f=O("router-link");return e.value?(l(),o("div",ee,[a("nav",ae,[w(f,{to:h.value},{default:b(()=>[d(s(r.$t("players.breadcrumbPlayers")),1)]),_:1},8,["to"]),y[0]||(y[0]=a("span",{class:"seo-sep"},"/",-1)),a("span",se,s(C.value),1)]),a("div",le,[a("aside",te,[a("div",oe,[a("span",re,s(r.$t("seoCta.railOverline")),1),a("h2",null,s(r.$t("players.compareTitle")),1),a("p",ne,s(r.$t("players.compareBlurb")),1),w(K,{to:"/scan","label-key":"players.runQuickDiagnosis"})])]),a("div",ue,[a("header",ie,[a("span",ce,s(r.$t("players.title")),1),a("h1",null,s(C.value),1),a("p",de,[e.value.titles.length?(l(),o("span",pe,s(n(S)(e.value.titles[0],n(i))),1)):u("",!0),_.value?(l(),o("span",ye,[n(g)(e.value.fed)?(l(),o("span",{key:0,class:F(n(g)(e.value.fed)),role:"img","aria-label":_.value.name},null,10,ve)):u("",!0),d(" "+s(_.value.name),1)])):u("",!0),T.value?(l(),o("span",_e,s(T.value),1)):u("",!0)]),(l(!0),o(k,null,$(R.value,(t,m)=>(l(),o("p",{key:m,class:"player-prose seo-prose-line"},s(t),1))),128))]),D.value.length?(l(),o("section",fe,[a("h2",null,s(r.$t("players.famousGames")),1),a("div",he,[(l(!0),o(k,null,$(D.value,t=>(l(),B(f,{key:t.slug,to:`/games/${t.slug}`,class:"player-card seo-card"},{default:b(()=>[a("strong",null,s(t.headline),1),a("span",null,s(r.$t("players.gameVsLine",{opponent:t.opponent,event:t.event,year:t.year})),1)]),_:2},1032,["to"]))),128))])])):u("",!0),a("section",me,[a("h2",null,s(r.$t("players.morePlayers")),1),a("div",ge,[(l(!0),o(k,null,$(V.value,t=>(l(),B(f,{key:t.slug,to:`${h.value}/${t.slug}`,class:"player-card seo-card"},{default:b(()=>{var m,N;return[a("strong",null,s(n(E)(t,n(i))),1),t.fed?(l(),o("span",be,[n(g)(t.fed)?(l(),o("span",{key:0,class:F(n(g)(t.fed)),role:"img","aria-label":(m=n(P)(t.fed,n(i)))==null?void 0:m.name},null,10,ke)):u("",!0),d(" "+s((N=n(P)(t.fed,n(i)))==null?void 0:N.name),1)])):u("",!0)]}),_:2},1032,["to"]))),128))])])]),a("aside",$e,[a("div",Pe,[a("h2",null,s(r.$t("players.careerFacts")),1),a("ul",Ie,[e.value.birth?(l(),o("li",Ce,[a("strong",null,s(r.$t("players.born")),1),d(" "+s(e.value.birth),1
1)])):u("",!0),e.value.death?(l(),o("li",Te,[a("strong",null,s(r.$t("players.died")),1),d(" "+s(e.value.death),1)])):u("",!0),_.value?(l(),o("li",De,[a("strong",null,s(r.$t("players.federation")),1),d(" "+s(_.value.name),1)])):u("",!0),e.value.titles.length?(l(),o("li",Ne,[a("strong",null,s(r.$t("players.fideTitles")),1),d(" "+s(e.value.titles.map(t=>n(S)(t,n(i))).join(", ")),1)])):u("",!0),e.value.peakElo?(l(),o("li",we,[a("strong",null,s(r.$t("players.peakRating")),1),d(" "+s(e.value.peakElo),1)])):u("",!0),e.value.fide?(l(),o("li",Fe,[a("strong",null,s(r.$t("players.fideId")),1),d(" "+s(e.value.fide),1)])):u("",!0)])])])])])):u("",!0)}}});const Ge=J(Be,[["__scopeId","data-v-24622de2"]]);export{Ge 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.