1import{T as x,Y as T,y as d,H as t,v as u,t as g,z as p,ak as D,A as a,k as y,a1 as m,ab as O,n as l,F as b,B as w,a2 as v,f as M,a7 as Y,N as C,O as A,b as P,a5 as B,ah as L,al as j,u as N,e as h}from"./Uea2J23d.js";import{_ as F}from"./BR_HZ8ma.js";import{_ as V}from"./Bn1h9_iG.js";import{C as E}from"./Bd0pAFQa.js";import{d as q}from"./BILF4s6o.js";const z={async setup(){const{t:e}=Y();C({title:`${e("pages.stats_o05_fhg.seo_title")} | MakeYourStats`,description:e("pages.stats_o05_fhg.seo_description"),ogTitle:`${e("pages.stats_o05_fhg.seo_title")} | MakeYourStats`,ogDescription:e("pages.stats_o05_fhg.seo_description")});const r=A(),{data:_,status:o,error:i}=await P("fetch-stats-o05fhg",async()=>{const{data:n}=await N().$apollo.clients.noAuth.query({query:q,variables:{where:{o05_fh:{_gte:80}},orderBy:[{o05_fh:"desc_nulls_last"},{results:"desc_nulls_last"},{date:"asc"}],withO05Fh:!0}});return n});if(i.value)throw B.captureException(i.value),L({statusCode:500,statusMessage:e("pages.stats_o05_fhg.error_fetching_stats"),fatal:!0});return{homeStats:_.value?.homeStats.filter(n=>n.team_id===n.fixture?.localteam_id)||[],awayStats:_.value?.awayStats.filter(n=>n.team_id===n.fixture?.visitorteam_id)||[],allStats:_.value?.allStats||[],statsStatus:o,selectedSortType:"percent",localePath:r}},components:{ContentLoader:E},data(){return{showMore:{all:!1,home:!1,away:!1}}},async mounted(){document.body.setAttribute("style","overflow: scroll !important")},methods:{updateDataBySelectedSortType(){const e=(o,i)=>i.o05_fh-o.o05_fh,r=(o,i)=>new Date(o.date)-new Date(i.date),_=this.selectedSortType==="percent"?e:r;this.homeStats.sort(_),this.awayStats.sort(_),this.allStats.sort(_)},dayjs:T}},I={key:0,"aria-label":"breadcrumb",class:"my-2"},G={class:"breadcrumb"},H={class:"breadcrumb-item text-link-primary"},U={class:"breadcrumb-item text-secondary"},J={class:"ml-1 text-muted"},K=["title"],Q=["title"],R={class:"row m-0 p-0"},W={class:"col-12 m-0 p-0"},X={key:0,class:"list-group list-group-flush mt-2"},Z={class:"font-weight-bolder text-primary font-14 mr-auto"},tt=["src","alt","title"],et={class:"col-12 m-0 p-0"},st={key:0,class:"list-group list-group-flush mt-2"},at={class:"font-weight-bolder text-primary font-14 mr-auto"},ot=["src","alt","title"],lt={class:"col-12 m-0 p-0"},rt={key:0,class:"list-group list-group-flush mt-2"},it={class:"font-weight-bolder text-primary font-14 mr-auto"},nt=["src","alt","title"],ht={key:1,class:"col-12 m-0 p-0"},dt={key:1,class:"p-5 text-center"};function ct(e,r,_,o,i,n){const f=D,$=F,S=V,k=j("ContentLoader");return h(),d("div",{class:l({"container p-1":!0,"blur-body":o.statsStatus==="pending"})},[e.$isApp?y("",!0):(h(),d("nav",I,[t("ol",G,[t("li",H,[u(f,{to:"/"},{default:g(()=>[...r[5]||(r[5]=[p("MakeYourStats",-1)])]),_:1})]),t("li",U,[r[6]||(r[6]=p(" / ",-1)),t("h1",J,a(e.$t("pages.stats_o05_fhg.title")),1)])])])),u($,{active:"over05_fh_goals"}),m(t("select",{"onUpdate:modelValue":r[0]||(r[0]=s=>o.selectedSortType=s),onChange:r[1]||(r[1]=s=>{o.selectedSortType=s.target.value,n.updateDataBySelectedSortType()}),class:"form-control w-auto mt-2 mr-2 p-0 h-select"},[t("option",{value:"percent",title:e.$t("pages.stats_o05_fhg.sort_by_percent")},a(e.$t("pages.stats_o05_fhg.sort_by_percent")),9,K),t("option",{value:"date",title:e.$t("pages.stats_o05_fhg.sort_by_date")},a(e.$t("pages.stats_o05_fhg.sort_by_date")),9,Q)],544),[[O,o.selectedSortType]]),t("div",R,[t("div",W,[o.statsStatus!=="pending"?(h(),d("ul",X,[t("li",{class:l({"list-group-item nav-tabs stats-container":!0,"font-14":e.$device.isMobileOrTablet})},[t("h2",null,a(e.$t("pages.stats_o05_fhg.teams_home")),1),t("h3",null,a(e.$t("pages.stats_o05_fhg.o05_fhg")),1),t("p",{class:l({"text-center":e.$device.isMobile})},a(e.$t("pages.stats_o05_fhg.percent")),3),t("p",{class:l({"text-center":e.$device.isMobile})},a(e.$t("pages.stats_o05_fhg.next_game")),3),t("p",{class:l({"text-center":e.$device.isMobile})},a(e.$t("pages.stats_o05_fhg.odds")),3)],2),(h(!0),d(b,null,w(o.homeStats,(s,c)=>m((h(),d("li",{key:c,class:"list-group-item stats-container"},[u(f,{to:o.localePath(`/football/team/${s?.team_seo_name}/${s?.team_id}`),target:e.$isApp?"_blank":""},{default:g(()=>[t("p",Z,[t("img",{src:s.country_flag,alt:s.team_name,title:s.team_name,class:"img-width"},null,8,tt),p(" "+a(s.team_name),1)])]),_:2},1032,["to","target"]),t("p",{class:l({"font-14":e.$device.isMobileOrTablet})},a(Math.round(s.o05_fh*s.results/100))+" / "+a(s.results),3),t("p",{class:l({"text-success":s.o05_fh>=90,"font-14":e.$device.isMobileOrTablet})},a(s.o05_fh)+"% ",3),t("p",{class:l({"text-secondary":!0,"font-14":e.$device.isMobileOrTablet})},[u(f,{target:"_blank",to:e.$isApp?o.localePath(`/?level=3&fixture_id=${s.id}&date=${n.dayjs(s.date).format("YYYY-MM-DD")}`):o.localePath(`/football/match/${s.fixture.seo_name}-h2h-stats`)},{default:g(()=>[p(a(n.dayjs(s.date).format("DD/MM")),1)]),_:2},1032,["to"])],2),t("p",{class:l({"font-14":e.$device.isMobileOrTablet})},a(s.odds_o05_fh||""),3)])),[[v,s.country_flag&&(c<4||c>=4&&i.showMore.home)]])),128)),t("li",{onClick:r[2]||(r[2]=s=>i.showMore.home=!i.showMore.home),class:"list-group-item text-center pointer text-primary"},[t("p",null,a(i.showMore.home?e.$t("pages.stats_o05_fhg.hide_all_teams"):e.$t("pages.stats_o05_fhg.show_all_teams")),1)])])):y("",!0)]),o.statsStatus!=="pending"?(h(),M(S,{key:0})):y("",!0),t("div",et,[o.statsStatus!=="pending"?(h(),d("ul",st,[t("li",{class:l({"list-group-item nav-tabs stats-container":!0,"font-14":e.$device.isMobileOrTablet})},[t("h2",null,a(e.$t("pages.stats_o05_fhg.teams_away")),1),t("h3",null,a(e.$t("pages.stats_o05_fhg.o05_fhg")),1),t("p",{class:l({"text-center":e.$device.isMobile})},a(e.$t("pages.stats_o05_fhg.percent")),3),t("p",{class:l({"text-center":e.$device.isMobile})},a(e.$t("pages.stats_o05_fhg.next_game")),3),t("p",{class:l({"text-center":e.$device.isMobile})},a(e.$t("pages.stats_o05_fhg.odds")),3)],2),(h(!0),d(b,null,w(o.awayStats,(s,c)=>m((h(),d("li",{key:c,class:"list-group-item stats-container"},[u(f,{to:o.localePath(`/football/team/${s?.team_seo_name}/${s?.team_id}`),target:e.$isApp?"_blank":""},{default:g(()=>[t("p",at,[t("img",{src:s.country_flag,alt:s.team_name,title:s.team_name,class:"img-width"},null,8,ot),p(" "+a(s.team_name),1)])]),_:2},1032,["to","target"]),t("p",{class:l({"font-14":e.$device.isMobileOrTablet})},a(Math.round(s.o05_fh*s.results/100))+" / "+a(s.results),3),t("p",{class:l({"text-success":s.o05_fh>=90,"font-14":e.$device.isMobileOrTablet})},a(s.o05_fh)+"% ",3),t("p",{class:l({"text-secondary":!0,"font-14":e.$device.isMobileOrTablet})},[u(f,{target:"_blank",to:e.$isApp?o.localePath(`/?level=3&fixture_id=${s.id}&date=${n.dayjs(s.date).format("YYYY-MM-DD")}`):o.localePath(`/football/match/${s.fixture.seo_name}-h2h-stats`)},{default:g(()=>[p(a(n.dayjs(s.date).format("DD/MM")),1)]),_:2},1032,["to"])],2),t("p",{class:l({"font-14":e.$device.isMobileOrTablet})},a(s.odds_o05_fh||""),3)])),[[v,s.country_flag&&(c<4||c>=4&&i.showMore.away)]])),128)),t("li",{onClick:r[3]||(r[3]=s=>i.showMore.away=!i.showMore.away),class:"list-group-item text-center pointer text-primary"},[t("p",null,a(i.showMore.away?e.$t("pages.stats_o05_fhg.hide_all_teams"):e.$t("pages.stats_o05_fhg.show_all_teams")),1)])])):y("",!0)]),t("div",lt,[o.statsStatus!=="pending"?(h(),d("ul",rt,[t("li",{class:l({"list-group-item nav-tabs stats-container":!0,"font-14":e.$device.isMobileOrTablet})},[t("h2",null,a(e.$t("pages.stats_o05_fhg.teams_overall")),1),t("h3",null,a(e.$t("pages.stats_o05_fhg.o05_fhg")),1),t("p",{class:l({"text-center":e.$device.isMobile})},a(e.$t("pages.stats_o05_fhg.percent")),3),t("p",{class:l({"text-center":e.$device.isMobile})},a(e.$t("pages.stats_o05_fhg.next_game")),3),t("p",{class:l({"text-center":e.$device.isMobile})},a(e.$t("pages.stats_o05_fhg.odds")),3)],2),(h(!0),d(b,null,w(o.allStats,(s,c)=>m((h(),d("li",{key:c,class:"list-group-item stats-container"},[u(f,{to:o.localePath(`/football/team/${s?.team_seo_name}/${s?.team_id}`),target:e.$isApp?"_blank":""},{default:g(()=>[t("p",it,[t("img",{src:s.country_flag,alt:s.team_name,title:s.team_name,class:"img-width"},null,8,nt),p(" "+a(s.team_name),1)])]),_:2},1032,["to","target"]),t("p",{class:l({"font-14":e.$device.isMobileOrTablet})},a(Math.round(s.o05_fh*s.results/100))+" / "+a(s.results),3),t("p",{class:l({"text-success":s.o05_fh>=90,"font-14":e.$device.isMobileOrTablet})},a(s.o05_fh)+"% ",3),t("p",{class:l({"text-secondary":!0,"font-14":e.$device.isMobileOrTablet})},[u(f,{target:"_blank",to:e.$isApp?o.localePath(`/?level=3&fixture_id=${s.id}&date=${n.dayjs(s.date).format("YYYY-MM-DD")}`):o.localePath(`/football/match/${s.fixture.seo_name}-h2h-stats`)},{default:g(()=>[p(a(n.dayjs(s.date).format("DD/MM")),1)]),_:2},1032,["to"])],2),t("p",{class:l({"font-14":e.$device.isMobileOrTablet})},a(s.odds_o05_fh||""),3)])),[[v,s.country_flag&&(c<4||c>=4&&i.showMore.all)]])),128)),t("li",{onClick:r[4]||(r[4]=s=>i.showMore.all=!i.showMore.all),class:"list-group-item text-center pointer text-primary"},[t("p",null,a(i.showMore.all?e.$t("pages.stats_o05_fhg.hide_all_teams"):e.$t("pages.stats_o05_fhg.show_all_teams")),1)])])):y("",!0)]),o.statsStatus==="pending"?(h(),d("div",ht,[e.$isApp?(h(),M(k,{key:0,width:388,height:700,speed:2,primaryColor:"#f3f3f3",secondaryColor:"#d7d5d5",class:"mt-2"},{default:g(()=>[...r[7]||(r[7]=[t("rect",{x:"10",y:"6",rx:"0",ry:"0",width:"378",height:"30"},null,-1),t("rect",{x:"10",y:"46",rx:"0",ry:"0",width:"378",height:"30"},null,-1),t("rect",{x:"10",y:"86",rx:"0",ry:"0",width:"378",height:"30"},null,-1),t("rect",{x:"10",y:"126",rx:"0",ry:"0",width:"378",height:"30"},null,-1),t("rect",{x:"10",y:"166",rx:"0",ry:"0",width:"378",height:"30"},null,-1),t("rect",{x:"10",y:"206",rx:"0",ry:"0",width:"378",height:"30"},null,-1),t("rect",{x:"10",y:"246",rx:"0",ry:"0",width:"378",height:"30"},null,-1),t("rect",{x:"10",y:"286",rx:"0",ry:"0",width:"378",height:"30"},null,-1),t("rect",{x:"10",y:"326",rx:"0",ry:"0",width:"378",height:"30"},null,-1),t("rect",{x:"10",y:"366",rx:"0",ry:"0",width:"378",height:"30"},null,-1),t("rect",{x:"10",y:"406",rx:"0",ry:"0",width:"378",height:"30"},null,-1),t("rect",{x:"10",y:"446",rx:"0",ry:"0",width:"378",height:"30"},null,-1),t("rect",{x:"10",y:"486",rx:"0",ry:"0",width:"378",height:"30"},null,-1),t("rect",{x:"10",y:"526",rx:"0",ry:"0",width:"378",height:"30"},null,-1),t("rect",{x:"10",y:"566",rx:"0",ry:"0",width:"378",height:"30"},null,-1),t("rect",{x:"10",y:"606",rx:"0",ry:"0",width:"378",height:"30"},null,-1),t("rect",{x:"10",y:"646",rx:"0",ry:"0",width:"378",height:"30"},null,-1),t("rect",{x:"10",y:"686",rx:"0",ry:"0",width:"378",height:"30"},null,-1),t("rect",{x:"10",y:"726",rx:"0",ry:"0",width:"378",height:"30"},null,-1),t("rect",{x:"10",y:"766",rx:"0",ry:"0",width:"378",height:"30"},null,-1),t("rect",{x:"10",y:"806",rx:"0",ry:"0",width:"378",height:"30"},null,-1)])]),_:1})):(h(),d("div",dt,[...r[8]||(r[8]=[t("span",{class:"spinner-border spinner-border-sm text-primary text-center",role:"status","aria-hidden":"true",style:{width:"3rem",height:"3rem"}},null,-1)])]))])):y("",!0)])],2)}const yt=x(z,[["render",ct],["__scopeId","data-v-967cb256"]]);export{yt 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.