PageSourceSearch

https://endgame.ai/assets/AnalysisView-DJpkJQx1.js

js endgame.ai collected 2026-10-02 19:32:47 UTC 22,573 bytes, 1 lines download raw bytes

1import{_ as b,ar as P,H as p,f as m,g as e,U as T,Y as h,L as w,u as O,l as t,j as v,F as z,i as L,p as u,B as x,aa as I,v as y,m as M,q as j,ac as G,a3 as K,S as W}from"./index-A0Cx28Hu.js";import{A as F,Y as N}from"./AnalysisChessChampionModel-D8pp6G2E.js";import{g as Q,U as J}from"./chatHelper-Dq78C-t3.js";import{a as E}from"./ai-api-Blrqjaqg.js";import{C as D,p as q,a as Y,b as H,B as Z,L as X,c as ee,d as te}from"./index-CXP7-3EW.js";import{a as se}from"./chartjs-plugin-annotation.esm-DAodhCv1.js";const ae={class:"time-progress"},ie={class:"clock-face"},le=["width","height"],re=["cx","cy","r","stroke-width"],ne=["cx","cy","r","stroke-width","stroke-dasharray","stroke-dashoffset"],R=b({__name:"CircularClockProgress",props:{progress:{type:Number,default:0,validator:i=>i>=0&&i<=100},size:{type:Number,default:200},strokeWidth:{type:Number,default:15}},setup(i){P((_=>({v715ffe0e:c.value})));const a=i,l=h((()=>a.size/2)),d=h((()=>l.value-a.strokeWidth)),s=h((()=>2*Math.PI*d.value)),n=h((()=>s.value-a.progress/100*s.value)),c=h((()=>`${a.size}px`));return(_,g)=>(p(),m("div",ae,[e("div",ie,[(p(),m("svg",{class:"progress-ring",width:i.size,height:i.size},[e("circle",{class:"progress-ring__background",cx:l.value,cy:l.value,r:d.value,fill:"transparent","stroke-width":i.strokeWidth,stroke:"#18181B"},null,8,re),e("circle",{class:"progress-ring__fill",cx:l.value,cy:l.value,r:d.value,fill:"transparent","stroke-width":i.strokeWidth,stroke:"#eee","stroke-dasharray":s.value,"stroke-dashoffset":n.value},null,8,ne)],8,le)),g[0]||(g[0]=e("div",{class:"fixed-hand"},null,-1)),e("div",{class:"progress-hand",style:T({transform:`rotate(${3.6*i.progress}deg)`})},null,4)])]))}},[["__scopeId","data-v-21c01fc1"]]),oe={class:"main-container"},ce={class:"h4 title-color"},de={class:"title-custom-color h4 uppercase"},pe={class:"h4 title-color lower-case"},me={class:"w-full"},ue={class:"header"},ve={class:"font-semibold"},A=b(w({__name:"GamesOveralStatistics",props:{statistic:{type:Array,required:!0},topStatisticType:{type:String,required:!0},titleTextColor:{type:String,default:"#68ADEB"}},setup(i){P((d=>({v2a481fb1:l.titleTextColor})));const{t:a}=O(),l=i;return(d,s)=>(p(),m("div",oe,[e("div",null,[e("span",ce,t(v(a)("top"))+" 5 ",1),e("span",de,t(l.topStatisticType)+" "+t(" "),1),e("span",pe,t(v(a)("openings")),1),e("table",me,[e("thead",null,[e("tr",ue,[e("th",null,t(v(a)("opening")),1),e("th",null,t(v(a)("count")),1),e("th",null,t(v(a)("winRate")),1),e("th",null,t(v(a)("record")),1)])]),e("tbody",null,[(p(!0),m(z,null,L(l.statistic,(n=>(p(),m("tr",{key:n.id},[e("td",ve,t(v(a)(n.name)),1),e("td",null,t(n.count),1),e("td",null,t(n.winRate?.toFixed(0))+"%",1),e("td",null,t(`${n.wins}W/${n.loses}L/${n.draws}D`),1)])))),128))])])])]))}}),[["__scopeId","data-v-06f6c80d"]]),B={props:{percent:{type:Number,required:!0,validator:i=>i>=0&&i<=100},type:{type:String,required:!0},games:{type:Number,required:!0},color:{type:String,default:"#2196F3"},size:{type:Number,default:200},strokeWidth:{type:Number,default:20}},computed:{center(){return this.size/2},radius(){return this.center-this.strokeWidth},circumference(){return 2*Math.PI*this.radius},progressOffset(){return this.circumference-this.percent/100*this.circumference}}},S=()=>{P((i=>({v780d23bf:i.color})))},U=B.setup;B.setup=U?(i,a)=>(S(),U(i,a)):S;const xe={class:"single-progress"},_e={class:"progress-circle"},ge=["width","height"],he=["cx","cy","r","stroke-width"],be=["cx","cy","r","stroke-width","stroke-dasharray","stroke-dashoffset","stroke"],ye={class:"progress-content"},fe={class:"font-bold text-[21px] uppercase type"},we={class:"font-semibold text-[17px]"},Ve={class:"text-[12px] p-2 bg-nd-bg-secondary mt-1"},k=b(B,[["render",function(i,a,l,d,s,n){return p(),m("div",xe,[e("div",_e,[(p(),m("svg",{width:l.size,height:l.size},[e("circle",{class:"progress-bg",cx:n.center,cy:n.center,r:n.radius,"stroke-width":l.strokeWidth},null,8,he),e("circle",{class:"progress-bar",cx:n.center,cy:n.center,r:n.radius,"stroke-width":l.strokeWidth,"stroke-dasharray":n.circumference,"stroke-dashoffset":n.progressOffset,stroke:l.color},null,8,be)],8,ge)),e("div",ye,[e("div",fe,t(l.type),1),e("div",we,t(l.percent)+"%",1),e("div",Ve,t(l.games)+" "+t(i.$t("auto.components.circularprogresswithlabels.games")),1)])])])}],["__scopeId","data-v-6d9a73ea"]]);class Ae{summary="";avgLossPerMove=0;avgLossPerGame=0;avgLossByPhase=0;opening=0;middleGame=0;endgame=0;constructor(a){this.summary=a?.summary??"",this.avgLossPerMove=a?.avgLossPerMove??0,this.avgLossPerGame=a?.avgLossPerGame??0,this.avgLossByPhase=a?.avgLossByPhase??0,this.opening=a?.opening??0,this.middleGame=a?.middleGame??0,this.avgLossByPhase=a?.avgLossByPhase??0,this.endgame=a?.endgame??0}}class ke{totalGames=0;wins=0;totalMoves=0;totalBlunders=0;loses=0;draws=0;averageRating=0;winsOnTime=0;losesOnTime=0;resignations=0;missedInOneOpportunities=0;records=0;constructor(a){this.totalGames=a?.totalGames??0,this.wins=a?.wins??0,this.totalMoves=a?.totalMoves??0,this.totalBlunders=a?.totalBlunders??0,this.loses=a?.loses??0,this.draws=a?.draws??0,this.averageRating=a?.averageRating??0,this.winsOnTime=a?.winsOnTime??0,this.losesOnTime=a?.losesOnTime??0,this.resignations=a?.resignations??0,this.missedInOneOpportunities=a?.missedInOneOpportunities??0,this.records=a?.records??0}}class Pe{overAllStatistic=new ke;chessChampion=new F;centipawn=new Ae;piecePerformance=new Array;timeControl=new Array;mostPlayed=new Array;bestPerforming=new Array;mostChallenging=new Array}var f=(i=>(i[i.Blitz=0]="Blitz",i[i.Bullet=1]="Bullet",i[i.Rapid=2]="Rapid",i))(f||{});class Be{average_game_length;accuracy_by_phase;adjusted_game_phase_acpl;analysis_duration;average_accuracy_per_game;average_accuracy_per_move;average_centipawn_loss_by_phase;average_centipawn_loss_by_time_control;average_centipawn_loss_per_game;average_centipawn_loss_per_move;average_opponent_clock_final;average_rating;average_user_clock_final;best_game;blunders;celebrity_match;emoji;favorite_opening;mbti_prediction;missed_mates;normal_time_stats;openings;piece_analysis;results;spirit_piece;theme_song;time_controls;time_pressure_percentages;time_pressure_stats;total_blunders;total_games;highest_win;total_moves;user_profile_report;win_rate;winning_despite_material_deficit;worst_game;zodiac_sign;toMainStatisticModel(){return{overAllStatistic:{averageRating:this.average_rating??0,draws:this.results?.draws??0,loses:this.results?.losses??0,losesOnTime:this.results?.losses_on_time??0,missedInOneOpportunities:this.missed_mates??0,records:this.results.low_time_losses??0,resignations:this.results?.losses_by_resignation??0,totalBlunders:this.total_blunders??0,totalGames:this.total_games??0,totalMoves:this.total_moves??0,wins:this.results?.wins??0,winsOnTime:this.results?.wins_on_time??0},centipawn:{endgame:this.average_centipawn_loss_by_phase?.endgame??0,middleGame:this.average_centipawn_loss_by_phase?.middlegame??0,opening:this.average_centipawn_loss_by_phase?.opening??0,avgLossByPhase:(this.average_centipawn_loss_by_phase?.opening??0+this.average_centipawn_loss_by_phase?.endgame??0+this.average_centipawn_loss_by_phase?.middlegame??0)/3,avgLossPerGame:this.average_centipawn_loss_per_game??0,avgLossPerMove:this.average_centipawn_loss_per_move??0,summary:""},chessChampion:{championName:this.user_profile_report?.celebrity_match?.name??"",description:this.user_profile_report?.celebrity_match?.description??"",championImage:""},timeControl:[{type:f.Blitz,value:this.average_centipawn_loss_by_time_control?.blitz?.acpl??0,gamesCount:this.average_centipawn_loss_by_time_control?.blitz?.games??0,percentage:this.average_centipawn_loss_by_time_control?.blitz?.accuracy??0},{type:f.Bullet,value:this.average_centipawn_loss_by_time_control?.bullet?.acpl??0,gamesCount:this.average_centipawn_loss_by_time_control?.bullet?.games??0,percentage:this.average_centipawn_loss_by_time_control?.bullet?.accuracy??0},{type:f.Rapid,value:this.average_centipawn_loss_by_time_control?.rapid?.acpl??0,gamesCount:this.average_centipawn_loss_by_time_control?.rapid?.games??0,percentage:this.average_centipawn_loss_by_time_control?.rapid?.accuracy??0}],piecePerformance:[{pieceType:"Bishop",moves:this.piece_analysis?.B?.total_moves??0,blunders:this.piece_analysis?.B?.total_blunders??0,blundersPercent:this.piece_analysis?.B?.blunder_percentage??0},{pieceType:"King",moves:this.piece_analysis?.K?.total_moves??0,blunders:this.piece_analysis?.K?.total_blunders??0,blundersPercent:this.piece_analysis?.K?.blunder_percentage??0},{pieceType:"Knight",moves:this.piece_analysis?.N?.total_moves??0,blunders:this.piece_analysis?.N?.total_blunders??0,blundersPercent:this.piece_analysis?.N?.blunder_percentage??0},{pieceType:"Pawn",moves:this.piece_analysis?.P?.total_moves??0,blunders:this.piece_analysis?.P?.total_blunders??0,blundersPercent:this.piece_analysis?.P?.blunder_percentage??0},{pieceType:"Queen",moves:this.piece_analysis?.Q?.total_moves??0,blunders:this.piece_analysis?.Q?.total_blunders??0,blundersPercent:this.piece_analysis?.Q?.blunder_percentage??0},{pieceType:"Rook",moves:this.piece_analysis?.R?.total_moves??0,blunders:this.piece_analysis?.R?.total_blunders??0,blundersPercent:this.piece_analysis?.R?.blunder_percentage??0}
1],mostPlayed:this.mapOpenings(this.openings,"total_games",5,!0),bestPerforming:this.mapOpenings(this.openings,"wins",5,!0),mostChallenging:this.mapOpenings(this.openings,"blunders",5,!0)}}mapOpenings(a,l,d,s=!1){return a?Object.entries(a).filter((([n,c])=>c[l]!==void 0)).sort((([,n],[,c])=>s?(c[l]??0)-(n[l]??0):(n[l]??0)-(c[l]??0))).slice(0,d).map((([n,c],_)=>({id:_+1,name:n,count:c.total_games??0,winRate:c.total_games?(c.wins??0)/c.total_games*100:0,wins:c.wins??0,loses:c.losses??0,draws:c.draws??0}))):[]}}const Ce={class:"chart-container"},$e=b(w({__name:"LineChart",setup(i){D.register(q,Y,H,Z,X,ee,se);const a=x({labels:["-300","-200","-100","0","100","200","300"],datasets:[{data:[-6,-3,.5,3,6,3,2,0],backgroundColor:["#EF4444","white","white","white","white","white","#34D399"],borderColor:"#1565C0",borderWidth:1,barPercentage:.6,categoryPercentage:.8}]}),l=x({responsive:!0,maintainAspectRatio:!1,plugins:{legend:{display:!1},annotation:{annotations:{line1:{type:"line",yMin:0,yMax:0,borderColor:"#666",borderWidth:2,borderDash:[6,6]}}}},scales:{y:{title:{display:!0,text:"Expected rating gain per game",font:{weight:"bold"}},min:-6,max:6,ticks:{stepSize:3},grid:{color:"#eee"}},x:{display:!0}}});return(d,s)=>(p(),m("div",Ce,[u(v(te),{data:a.value,options:l.value},null,8,["data","options"])]))}}),[["__scopeId","data-v-4f1a957a"]]),Re={key:0,class:"h-full"},Se={key:0,class:"loading flex justify-center h-full items-center"},Ue={key:1,class:"main-container"},Oe={class:"left-container justify-self-auto md:justify-self-center p-6 flex flex-col"},Te={class:"text-[42px] font-bold text-nd-text-primary mb-2"},ze={class:"grid-cols-2 lg:grid-cols-4 gap-4 grid"},Le={class:"rounded-xl p-4 md:p-8 border border-nd-border-subtle basis-1/4"},Ie={class:"text-nd-text-muted text-[12px] uppercase"},Me={class:"text-nd-text-primary font-bold md:text-[56px] text-[36px]"},je={class:"rounded-xl p-4 md:p-8 border border-nd-border-subtle basis-1/4"},Ge={class:"text-nd-text-muted text-[12px] uppercase"},Ke={class:"text-nd-text-primary font-bold md:text-[56px] text-[36px]"},We={class:"rounded-xl p-4 md:p-8 border border-nd-border-subtle basis-1/4"},Fe={class:"text-nd-text-muted text-[12px] uppercase"},Ne={class:"text-nd-text-primary font-bold md:text-[56px] text-[36px]"},Qe={class:"rounded-xl p-4 md:p-8 border border-nd-border-subtle basis-1/4"},Je={class:"text-nd-text-muted text-[12px] uppercase"},Ee={class:"text-nd-text-primary font-bold md:text-[56px] text-[36px]"},De={class:"text-[11px] text-nd-text-tertiary"},qe={class:"flex flex-wrap justify-center mt-4"},Ye={class:"overall md:cols-6 grow-1 h-auto mb-6"},He={class:"top-right-container md:cols-6 grow-1 xl:pl-3 mt-4 xl:mt-0"},Ze={class:"mb-6"},Xe={class:"pt-8 pb-8 pl-8 border border-nd-border-subtle w-full rounded-[12px]"},et={class:"flex flex-col"},tt={class:"flex flex-row mb-12 justify-between"},st={class:"max-w-[172px] w-full"},at={class:"font-medium md:text-[24px] text-[16px] text-nd-text-primary font-['Roboto']"},it={class:"text-xs text-nd-text-muted uppercase font-['Roboto']"},lt={class:"max-w-[172px] w-full mr-5"},rt={class:"font-medium md:text-[24px] text-[16px] text-nd-text-primary font-['Roboto']"},nt={class:"text-base font-normal text-nd-text-primary lowercase font-['Roboto']"},ot={class:"text-xs text-nd-text-muted uppercase font-['Roboto']"},ct={class:"flex flex-row mb-12 justify-between"},dt={class:"max-w-[172px] w-full"},pt={class:"font-medium md:text-[24px] text-[16px] text-nd-text-primary font-['Roboto']"},mt={class:"text-xs text-nd-text-muted uppercase font-['Roboto']"},ut={class:"max-w-[172px] w-full mr-5"},vt={class:"font-medium md:text-[24px] text-[16px] text-nd-text-primary font-['Roboto']"},xt={class:"text-xs text-nd-text-muted uppercase font-['Roboto']"},_t={class:"flex flex-row justify-evenly mr-8"},gt={class:"flex flex-col"},ht={class:"text-[10px] text-center"},bt={class:"flex flex-col"},yt={class:"text-[10px] text-center"},ft={class:"flex flex-col"},wt={class:"text-[10px] text-center"},Vt={class:"flex flex-col"},At={class:"text-[10px] text-center"},kt={class:"flex flex-col"},Pt={class:"text-[10px] text-center"},Bt={class:"flex flex-col"},Ct={class:"text-[10px] text-center"},$t={class:"flex flex-wrap md:pl-5 md:mr-5"},Rt={class:"lg:basis-2/4 basis-full lg:pr-2"},St={class:"rounded-xl md:p-8 p-4 border border-nd-border-subtle"},Ut={class:"text-nd-text-muted text-[12px]"},Ot={class:"flex justify-between"},Tt={class:"flex"},zt={class:"mt-auto mb-auto mr-4"},Lt=["src"],It={class:"flex flex-col"},Mt={class:"text-nd-text-primary font-semibold text-[20px]"},jt={class:"text-nd-text-primary text-[20px]"},Gt={class:"flex gap-4 lg:basis-2/4 basis-full lg:pl-2 mt-2 lg:mt-0"},Kt={class:"rounded-xl md:p-8 p-4 border border-nd-border-subtle basis-1/2"},Wt={class:"text-nd-text-muted text-[12px]"},Ft={class:"text-nd-text-primary font-semibold text-[42px]"},Nt={class:"rounded-xl md:p-8 p-4 border border-nd-border-subtle basis-1/2"},Qt={class:"text-nd-text-muted text-[12px]"},Jt={class:"text-nd-text-primary font-semibold text-[42px]"},Et={class:"h2 text-nd-text-primary my-6"},Dt={class:"flex flex-wrap justify-center"},qt={class:"overall"},Yt={class:"mb-4"},Ht={class:"mb-4"},Zt={class:"overall xl:pl-3 xl:pt-0 pt-4"},Xt={class:"flex flex-col bg-nd-bg-primary p-5"},es={class:"font-semibold text-[20ox] text-nd-text-primary"},ts={class:"flex justify-between mt-5 flex-wrap"},ss={class:"bg-nd-bg-primary p-5"},as={class:"font-semibold text-[20ox] text-nd-text-primary"},is={class:"flex flex-col bg-nd-bg-primary p-5 flex-wrap"},ls={class:"font-semibold text-[20ox] text-nd-text-primary"},rs={class:"flex justify-around mt-5"},ns={class:"text-center"},os={class:"text-nd-text-primary text-[15px] mb-4"},cs={class:"text-nd-text-primary font-semibold text-[34px] mt-1"},ds={class:"text-center"},ps={class:"text-nd-text-primary text-[15px] mb-4"},ms={class:"text-nd-text-primary font-semibold text-[34px] mt-1"},us={key:1},vs={key:0,class:"loading flex justify-center h-full items-center"},xs={class:"flex justify-center items-center h-full mt-16"},_s={class:"text-center text-2xl font-bold text-nd-text-muted"},gs=b(w({__name:"Analysis",setup(i){const{t:a}=O(),l=x(new J),d=x(new Pe),s=x(null),n=x(!0),c=x(!1),_=x(0);function g(){C()}function C(){_.value=window.innerWidth}return I((()=>{window.removeEventListener("resize",g)}
1)),(async function(){C(),window.addEventListener("resize",g),l.value=await G.getUserInfo(),await E.getUserAnalyze(await Q()).then((r=>{s.value=r;const o=(function(V){const $=new Be;return Object.assign($,V),$})(r);d.value=o.toMainStatisticModel()})).catch((r=>{c.value=!0})).finally((()=>{n.value=!1}))})(),(r,o)=>{const V=K("router-link");return c.value?(p(),m("div",us,[n.value?(p(),m("div",vs,[...o[9]||(o[9]=[e("span",{class:"icon"},[e("div",{class:"inline-block animate-spin rounded-full h-8 w-8 border-b-2 border-nd-text-primary"})],-1)])])):M("",!0),e("div",xs,[e("p",_s,[y(t(r.$t("auto.components.analysis.youDonTHaveAnAnalysisYetYou"))+" ",1),u(V,{class:"text-nd-text-primary",to:"/"},{default:j((()=>[y(t(r.$t("auto.components.analysis.aiBot")),1)])),_:1})])])])):(p(),m("div",Re,[n.value?(p(),m("div",Se,[...o[0]||(o[0]=[e("span",{class:"icon"},[e("div",{class:"inline-block animate-spin rounded-full h-8 w-8 border-b-2 border-nd-text-primary"})],-1)])])):(p(),m("div",Ue,[e("div",Oe,[e("div",Te,t(r.$t("analysis")),1),e("div",ze,[e("div",Le,[e("div",Ie,t(r.$t("auto.components.analysis.totalGames")),1),e("div",Me,t(s.value.total_games),1)]),e("div",je,[e("div",Ge,t(r.$t("auto.components.analysis.winRATE")),1),e("div",Ke,t(s.value.win_rate)+"% ",1)]),e("div",We,[e("div",Fe,t(r.$t("auto.components.analysis.highestRatedWin")),1),e("div",Ne,t(s.value.highest_win),1)]),e("div",Qe,[e("div",Je,t(r.$t("auto.components.analysis.averageGameLength")),1),e("div",Ee,[y(t(s.value.average_game_length)+" ",1),e("span",De,t(r.$t("auto.components.analysis.moves")),1)])])]),e("div",qe,[e("div",Ye,[u(N,{champion:d.value.chessChampion},null,8,["champion"])]),e("div",He,[e("div",Ze,[e("div",Xe,[e("div",et,[e("div",tt,[e("div",st,[e("div",at,t(`${s.value.results.wins??0}W/${s.value.results.losses??0}L/${s.value.results.draws??0}D`),1),e("div",it,t(r.$t("record")),1)]),e("div",lt,[e("div",rt,[y(t(`${s.value.results.wins_on_time??0}W/${s.value.results.losses_on_time??0}L`)+" ",1),e("span",nt,t(r.$t("onTime")),1)]),e("div",ot,t(r.$t("timeoutRecord")),1)])]),e("div",ct,[e("div",dt,[e("div",pt,t(s.value.average_rating),1),e("div",mt,t(r.$t("auto.components.analysis.averageRATING")),1)]),e("div",ut,[e("div",vt,t(s.value.favorite_opening[1]?.total_games),1),e("div",xt,t(r.$t("auto.components.analysis.ofGamesInTimeTrouble")),1)])]),e("div",_t,[e("div",gt,[o[1]||(o[1]=e("div",{class:"piece bp h-[42px] w-[40px] bg-no-repeat bg-center"},null,-1)),e("div",ht,t(s.value.piece_analysis?.P?.total_moves),1)]),e("div",bt,[o[2]||(o[2]=e("div",{class:"piece bn h-[42px] w-[40px] bg-no-repeat bg-center"},null,-1)),e("div",yt,t(s.value.piece_analysis?.N?.total_moves),1)]),e("div",ft,[o[3]||(o[3]=e("div",{class:"piece br h-[42px] w-[40px] bg-no-repeat bg-center"},null,-1)),e("div",wt,t(s.value.piece_analysis?.R?.total_moves),1)]),e("div",Vt,[o[4]||(o[4]=e("div",{class:"piece bk h-[42px] w-[40px] bg-no-repeat bg-center"},null,-1)),e("div",At,t(s.value.piece_analysis?.Q?.total_moves),1)]),e("div",kt,[o[5]||(o[5]=e("div",{class:"piece bk h-[42px] w-[40px] bg-no-repeat bg-center"},null,-1)),e("div",Pt,t(s.value.piece_analysis?.K?.total_moves),1)]),e("div",Bt,[o[6]||(o[6]=e("div",{class:"piece bk h-[42px] w-[40px] bg-no-repeat bg-center"},null,-1)),e("div",Ct,t(s.value.piece_analysis?.B?.total_moves),1)])])])])])])]),e("div",$t,[e("div",Rt,[e("div",St,[e("div",Ut,t(r.$t("auto.components.analysis.yourThemeSongIs")),1),e("div",Ot,[e("div",Tt,[e("div",zt,[e("img",{src:s.value.theme_song?.image??"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJQAAACUCAMAAABC4vDmAAAACVBMVEWIiIiKioqHh4dANK21AAAApElEQVR4nO3OMQHAQAwAoeT9i24l3JgBFDB70Oy8Y/7SvjnmSUVSlVQlVUlVUpVUJVVJVVKVVCVVSVVSlVQlVUlVUpVUJVVJVVKVVCVVSVVSlVQlVUlVUpVUJVVJVVKVVCVVSVVSlVQlVUlVUpVUJVVJVVKVVCVVSVVSlVQlVUlVUpVUJVVJVVKVVCVVSVVSlVQlVUlVUpVUJVVJVVKVVCVVHU19BFMFI1OnSpEAAAAASUVORK5CYII=",class:"rounded-md w-[45px] h-[45px] object-cover"},null,8,Lt)]),e("div",It,[e("div",Mt,t(s.value.theme_song.title),1),e("div",jt,t(s.value.theme_song.artist),1)])]),o[7]||(o[7]=e("div",null,[e("svg",{xmlns:"http://www.w3.org/2000/svg",width:"45",height:"45",viewBox:"0 0 45 45",fill:"none"},[e("rect",{x:"0.326172",y:"0.107422",width:"44.2565",height:"44.2565",rx:"22.1283",fill:"white"}),e("path",{d:"M33.0982 20.7798C34.2186 21.4266 34.2186 23.0438 33.0982 23.6907L18.3927 32.1809C17.2723 32.8278 15.8718 32.0192 15.8718 30.7254L15.8718 13.745C15.8718 12.4513 17.2723 11.6427 18.3927 12.2895L33.0982 20.7798Z",fill:"black"})])],-1))])])]),e("div",Gt,[e("div",Kt,[e("div",Wt,t(r.$t("auto.components.analysis.zodiacSign")),1),e("div",Ft,t(s.value.zodiac_sign?.sign),1)]),e("div",Nt,[e("div",Qt,t(r.$t("auto.components.analysis.myersBriggsType")),1),e("div",Jt,t(s.value.user_profile_report?.mbti),1)])])]),e("div",Et,t(r.$t("generalStatistics")),1
1),e("div",Dt,[e("div",qt,[e("div",Yt,[u(A,{"title-text-color":"white","top-statistic-type":r.$t("mostPlayed"),statistic:d.value.mostPlayed},null,8,["top-statistic-type","statistic"])]),e("div",Ht,[u(A,{"title-text-color":"white","top-statistic-type":r.$t("bestPerforming"),statistic:d.value.bestPerforming},null,8,["top-statistic-type","statistic"])]),e("div",null,[u(A,{"title-text-color":"white","top-statistic-type":r.$t("mostChallenging"),statistic:d.value.mostChallenging},null,8,["top-statistic-type","statistic"])])]),e("div",Zt,[e("div",null,[e("div",Xt,[e("div",es,t(r.$t("auto.components.analysis.timeControlDistribution")),1),e("div",ts,[u(k,{class:"ml-auto mr-auto",games:s.value?.time_controls?.blitz,color:"#34D399",type:"BLITZ",percent:parseInt((s.value?.time_controls?.blitz/s.value.total_games*100).toFixed(0))},null,8,["games","percent"]),u(k,{class:"ml-auto mr-auto",games:s.value?.time_controls?.bullet,color:"#FBBF24",type:"BULLET",percent:parseInt((s.value?.time_controls?.bullet/s.value.total_games*100).toFixed(0))},null,8,["games","percent"]),u(k,{class:"ml-auto mr-auto",games:s.value?.time_controls?.rapid,color:"#60A5FA",type:"RAPID",percent:parseInt((s.value?.time_controls?.rapid/s.value.total_games*100).toFixed(0))},null,8,["games","percent"])])]),e("div",ss,[e("div",as,t(r.$t("auto.components.analysis.performancePerRating")),1),u($e)]),e("div",is,[e("div",ls,t(r.$t("auto.components.analysis.timeUtilization")),1),e("div",rs,[e("div",ns,[e("div",os,t(r.$t("auto.components.analysis.yourAverageTimeUsed")),1),u(R,{class:"ml-auto mr-auto",size:_.value<700?120:200,progress:s.value.average_user_clock_final},null,8,["size","progress"]),e("div",cs,t(s.value?.average_user_clock_final?.toFixed(0))+"% ",1)]),e("div",ds,[e("div",ps,t(r.$t("auto.components.analysis.opponentSAverageTimeUsed")),1),u(R,{class:"ml-auto mr-auto",size:_.value<700?120:200,progress:s.value.average_opponent_clock_final},null,8,["size","progress"]),e("div",ms,t(s.value?.average_opponent_clock_final?.toFixed(0))+"% ",1)])])])]),o[8]||(o[8]=e("div",{class:"mt-6"},null,-1))])])])]))]))}}}),[["__scopeId","data-v-8eee31c6"]]),As=w({__name:"AnalysisView",setup:i=>(a,l)=>(p(),W(gs))});export{As 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.