1import{u as e}from"./En8ULrV8.js";import{h as t,a,r as l,q as s,j as n,c as o,o as i,e as c,F as _,D as r,t as d,b as v,C as b,H as p,A as u,z as m,B as h,n as y,k as f,p as k,f as w,y as g,Q as x,d as D,M as F}from"./DqjsnEEZ.js";import{aa as j,F as C,q as B,E as z,g as M,_ as I,h as N,j as K,d as P,i as S,r as $,c as H,P as T,N as Y}from"./CXyeViOP.js";import{aF as q,aG as G,l as L,m as A,aH as E,aI as O,M as R,n as V,o as J,am as Q,aJ as U,aK as W,aL as X,aM as Z,aN as ee,a9 as te}from"./9_2Pix4A.js";import{m as ae,n as le,a as se,i as ne,j as oe,h as ie}from"./D-0V5INH.js";import"./B-mbho_9.js";import"./-H5q7IPZ.js";import"./CjIPHn4X.js";const ce=t("hotCompPoint",()=>{const t=e(),n=B(),o=a(!1),i=a(!1),c=a([]),_=a([]),r=a(0),d=a([]),v=a([]),b=a(0),p=a(0),u=a(0),m=a(0),h=a([]),y=a([]),f=a(),k=a([]),w=a(),g=a(""),x=l({activeKey:"",order:[],explanation:"",nameMap:{},list:{}}),D=a({1:"èµå£",2:"é¢éèµ",3:"å°ç»èµ",4:"å£åèµ",5:"常è§èµ",6:""}),F=a(0);let z=0;const M=s(()=>1===t.comp_data.sport_id?Boolean(_.value.length||v.value.length):x.order.length>0),I=()=>{c.value=[],_.value=[],r.value=0,d.value=[],v.value=[],b.value=0,p.value=0,u.value=0,m.value=0,h.value=[],y.value=[],f.value=void 0,k.value=[],w.value=void 0,g.value="",Object.assign(x,{activeKey:"",order:[],explanation:"",nameMap:{},list:{}}),F.value=0},N=e=>{if(!Number.isInteger(e)||e<0||e>=c.value.length)return;const t=G({pointData:c.value,index:e});r.value=t.stages_list_ind,p.value=t.type_view,m.value=t.league_group_count,h.value=t.point_tables,y.value=t.chart_data,f.value=t.thirdplace},K=e=>{if(!Number.isInteger(e)||e<0||e>=d.value.length)return;const t=G({pointData:d.value,index:e});b.value=t.stages_list_ind,k.value=t.chart_data,w.value=t.thirdplace};return{loading:o,error:i,hasPointData:M,football_point_data:c,football_stages_list:_,football_stage_index:r,football_bracket_map_data:d,football_bracket_list:v,football_bracket_index:b,football_type_view:p,football_comp_type:u,football_league_group_count:m,football_point_tables:h,football_chart_data:y,football_thirdplace:f,football_bracket_chart_data:k,football_bracket_thirdplace:w,football_rule_text:g,basketball_scope_data:x,basketball_scope_name_map:D,basketball_competition_type:F,requestPoint:async()=>{var e;const a=++z,l=null==(e=t.comp_info)?void 0:e.cur_season_id,s=t.comp_data.sport_id;if(I(),i.value=!1,l){o.value=!0;try{const e=1===s?await j({season_id:l}):await C({season_id:l});if(a!==z)return;if(n(e.age),0!==e.code)return I(),void(i.value=!0);1===s?(e=>{const t=E(e,e.stage_id);c.value=t.point_data,_.value=t.stages_list,d.value=t.bracket_map_data,v.value=t.bracket_map_list,u.value=t.compType,g.value=t.rule_text,K(t.defaultBracketMapIndex),N(t.defaultIndex)})(e.data):(e=>{var a,l;const s=Number((null==(a=t.comp_info)?void 0:a.type)||(null==(l=e[0])?void 0:l.competition_type)||0),n=O(e,s);F.value=s,Object.assign(x,n.scopeData)})(e.data)}catch{a===z&&(I(),i.value=!0)}finally{a===z&&(o.value=!1)}}else o.value=!1},resetPoint:()=>{z+=1,I(),o.value=!1,i.value=!1},setFootballStage:N,setFootballBracketStage:K,setBasketballScope:e=>{if(e===x.activeKey)return;const t=x.list[e];t&&(L(t)&&A(t,"conference"),x.activeKey=e)},setBasketballFilter:e=>{const t=x.list[x.activeKey];return!(!L(t)||!t.activeFilter.some(t=>t.value===e))&&A(t,e)},getRankTitle:q}}),_e={class:"ls-native-table__wrapper ls-data-table ls-vertical-table stripe-table"},re={class:"ls-native-table"},de=c("col",{style:{width:"90px"}},null,-1),ve=c("col",{style:{width:"180px"}},null,-1),be={class:"ls-native-table__head"},pe=c("th",{class:"ls-native-table__header-cell is-center"},[c("div",{class:"ls-native-table__header-content"},"æå")],-1),ue=c("th",{class:"ls-native-table__header-cell is-left"},[c("div",{class:"ls-native-table__header-content"},"çé")],-1),me={class:"ls-native-table__header-content"},he={class:"ls-native-table__body"},ye={class:"ls-native-table__cell is-center"},fe={class:"ls-native-table__cell-content flex-center"},ke={class:"ls-native-table__cell is-left"},we={class:"ls-native-table__cell-content"},ge={class:"ls-native-table__cell is-center"},xe={class:"ls-native-table__cell-content"},De={class:"ls-native-table__cell is-center"},Fe={class:"ls-native-table__cell-content"},je={class:"ls-native-table__cell is-center"},Ce={class:"ls-native-table__cell-content"},Be={key:0,class:"ls-native-table__cell is-center"},ze={class:"ls-native-table__cell-content"},Me={class:"ls-native-table__cell is-center"},Ie={class:"ls-native-table__cell-content"},Ne={key:0,class:"ls-native-table__empty-row"},Ke=["colspan"],Pe=n({__name:"CupPointGroup",props:{tableData:{},home:{type:Boolean,default:!1}},setup(e){const t=e,a=s(()=>[{key:"record",label:"è/è´"},{key:"won_rate",label:"èç"},{key:"points_avg",label:"åºåå¾å"},...t.home?[]:[{key:"diff_avg",label:"åè"}],{key:"points",label:"积å"}]),l=e=>{const t=Number(e);return t>0?`+${t.toFixed(1)}`:t<0?t.toFixed(1):"0"};return(e,t)=>(i(),o("div",_e,[c("table",re,[c("colgroup",null,[de,ve,(i(!0),o(_,null,r(a.value,e=>(i(),o("col",{key:e.key}))),128))]),c("thead",be,[c("tr",null,[pe,ue,(i(!0),o(_,null,r(a.value,e=>(i(),o("th",{key:e.key,class:"ls-native-table__header-cell is-center"},[c("div",me,d(e.label),1)]))),128))])]),c("tbody",he,[(i(!0),o(_,null,r(e.tableData,t=>(i(),o("tr",{key:t.team.id,class:"ls-native-table__row"},[c("td",ye,[c("div",fe,[c("span",{class:"tw-flex tw-rounded-full tw-w-position tw-h-position tw-items-center tw-justify-center tw-w-[24px] tw-rounded-[12px]",style:b({background:t.promotion&&t.promotion.title_color,color:t.promotion&&t.promotion.title_color&&"#fff"})},d(t.position),5)])]),c("td",ke,[c("div",we,[p(z,{entity:{id:t.team.id,logo:t.team.logo,name:t.team.name},target:"_blank",type:"team","sport-id":2},null,8,["entity"])])]),c("td",ge,[c("div",xe,d(t.detail.won)+"/"+d(t.detail.lost),1)]),c("td",De,[c("div",Fe,d((100*t.detail.won_rate).toFixed(1))+"% ",1)]),c("td",je,[c("div",Ce,d(t.detail.points_avg),1)]),e.home?v("",!0):(i(),o("td",Be,[c("div",ze,[c("span",{style:b({color:u(M)(t.detail.diff_avg,1)})},d(l(t.detail.diff_avg)),5)])])),c("td",Me,[c("div",Ie,d(t.detail.points),1)])]))),128)),e.tableData.length?v("",!0):(i(),o("tr",Ne,[c("td",{class:"ls-native-table__empty-cell",colspan:a.value.length+2}," ææ æ°æ® ",8,Ke)]))])])]))}}),Se=e=>(k("data-v-7c315d0c"),e=e(),w(),e),$e={class:"fold-header tw-flex tw-items-center tw-justify-start"},He={class:"fold-title tw-flex tw-items-center tw-justify-start"},Te=Se(()=>c("div",{class:"fold-sapce"},null,-1)),Ye={key:0,class:"fold-btn tw-flex tw-items-center tw-justify-start tw-gap-normal"},qe=Se(()=>c("span",{class:"icon-ele"},"èµå¶è¯´æ",-1)),Ge={key:0,class:"fold-content tw-box-border tw-text-base tw-px-[20px]"},Le=Se(()=>c("h3",null,"èµå¶è¯´æ",-1)),Ae=["innerHTML"],Ee=I(n({__name:"Explanation",props:{explanation:{},defaultFold:{type:Boolean,default:!0},home:{type:Boolean}},setup(e){const t=e,l=s(()=>!t.defaultFold),n=a(l.value?["1"]:[]);return(e,t)=>{const a=se,s=le,_=ae;return i(),m(_,{modelValue:n.value,"onUpdate:modelValue":t[0]||(t[0]=e=>n.value=e)},{default:h(()=>[p(s,{title:"",name:"1",disabled:l.value,class:y({"is-static":l.value})},{icon:h(({isActive:t})=>
1[c("div",$e,[c("div",He,[f(e.$slots,"remind",{},void 0,!0)]),Te,l.value?v("",!0):(i(),o("div",Ye,[qe,t?(i(),m(a,{key:0,color:"#e74c5b"},{default:h(()=>[p(u(ne))]),_:1})):(i(),m(a,{key:1,color:"#e74c5b"},{default:h(()=>[p(u(oe))]),_:1}))]))])]),default:h(()=>{var t;return[!e.home&&(null==(t=e.explanation)?void 0:t.length)>0?(i(),o("div",Ge,[Le,c("p",{innerHTML:e.explanation},null,8,Ae)])):v("",!0)]}),_:3},8,["disabled","class"])]),_:3},8,["modelValue"])}}}),[["__scopeId","data-v-7c315d0c"]]),Oe={class:"ls-native-table__wrapper ls-data-table ls-vertical-table stripe-table"},Re={class:"ls-native-table"},Ve=c("col",{style:{width:"90px"}},null,-1),Je=c("col",{style:{width:"180px"}},null,-1),Qe={class:"ls-native-table__head"},Ue=c("th",{class:"ls-native-table__header-cell is-center"},[c("div",{class:"ls-native-table__header-content"},"æå")],-1),We=c("th",{class:"ls-native-table__header-cell is-left"},[c("div",{class:"ls-native-table__header-content"},[c("span",{class:"tw-pl-common"},"çé")])],-1),Xe={class:"ls-native-table__header-content"},Ze={class:"ls-native-table__body"},et={class:"ls-native-table__cell is-center"},tt={class:"ls-native-table__cell-content flex-center"},at={class:"ls-native-table__cell is-left"},lt={class:"ls-native-table__cell-content"},st={class:"ls-native-table__cell is-center"},nt={class:"ls-native-table__cell-content"},ot={class:"ls-native-table__cell is-center"},it={class:"ls-native-table__cell-content"},ct={class:"ls-native-table__cell is-center"},_t={class:"ls-native-table__cell-content"},rt={class:"ls-native-table__cell is-center"},dt={class:"ls-native-table__cell-content"},vt={class:"ls-native-table__cell is-center"},bt={class:"ls-native-table__cell-content"},pt={class:"ls-native-table__cell is-center"},ut={class:"ls-native-table__cell-content"},mt={class:"ls-native-table__cell is-center"},ht={class:"ls-native-table__cell-content"},yt={class:"ls-native-table__cell is-center"},ft={class:"ls-native-table__cell-content"},kt={class:"ls-native-table__cell is-center"},wt={class:"ls-native-table__cell-content"},gt={key:0,class:"ls-native-table__empty-row"},xt=["colspan"],Dt=n({__name:"PointGroup",props:{tableData:{},home:{type:Boolean,default:!1}},setup(e){const t=e,a=[{key:"record",label:"è/è´"},{key:"won_rate",label:"èç"},{key:"game_back",label:"èå·®"},{key:"home",label:"主åº"},{key:"away",label:"客åº"},{key:"points_avg",label:"åºåå¾å"}],l=s(()=>[...a,...t.home?[]:[{key:"diff_avg",label:"åè"},{key:"last_10",label:"è¿10åº"}],{key:"streaks",label:"è¿åµ"}]),n=s(()=>l.value.map(e=>e.key)),m=e=>{const t=Number(e);return t>0?`+${t.toFixed(1)}`:t<0?t.toFixed(1):"0"};return(e,t)=>(i(),o("div",Oe,[c("table",Re,[c("colgroup",null,[Ve,Je,(i(!0),o(_,null,r(n.value,e=>(i(),o("col",{key:e}))),128))]),c("thead",Qe,[c("tr",null,[Ue,We,(i(!0),o(_,null,r(l.value,e=>(i(),o("th",{key:e.key,class:"ls-native-table__header-cell is-center"},[c("div",Xe,d(e.label),1)]))),128))])]),c("tbody",Ze,[(i(!0),o(_,null,r(e.tableData,t=>(i(),o("tr",{key:t.team.id,class:"ls-native-table__row"},[c("td",et,[c("div",tt,[c("span",{class:"tw-flex tw-rounded-full tw-w-position tw-h-position tw-items-center tw-justify-center tw-w-[24px] tw-rounded-[12px]",style:b({background:t.promotion&&t.promotion.title_color,color:t.promotion&&t.promotion.title_color&&"#fff"})},d(t.position),5)])]),c("td",at,[c("div",lt,[p(z,{entity:{id:t.team.id,logo:t.team.logo,name:t.team.name},class:"tw-pl-common",size:"medium",type:"team","sport-id":2},null,8,["entity"])])]),c("td",st,[c("div",nt,d(t.detail.won)+"/"+d(t.detail.lost),1)]),c("td",ot,[c("div",it,d((100*t.detail.won_rate).toFixed(1))+"% ",1)]),c("td",ct,[c("div",_t,d(t.detail.game_back),1)]),c("td",rt,[c("div",dt,d(u(N)(t.detail.home)),1)]),c("td",vt,[c("div",bt,d(u(N)(t.detail.away)),1)]),c("td",pt,[c("div",ut,d(t.detail.points_avg),1)]),e.home?v("",!0):(i(),o(_,{key:0},[c("td",mt,[c("div",ht,[c("span",{style:b({color:u(M)(t.detail.diff_avg,2)})},d(m(t.detail.diff_avg)),5)])]),c("td",yt,[c("div",ft,d(t.detail.last_10),1)])],64)),c("td",kt,[c("div",wt,d(u(K)(t.detail.streaks)),1)])]))),128)),e.tableData.length?v("",!0):(i(),o("tr",gt,[c("td",{class:"ls-native-table__empty-cell",colspan:l.value.length+2}," ææ æ°æ® ",8,xt)]))])])]))}}
1),Ft={class:"ls-native-table__wrapper ls-data-table ls-vertical-table stripe-table"},jt={class:"ls-native-table"},Ct=c("col",{style:{width:"80px"}},null,-1),Bt=c("col",null,null,-1),zt=c("col",null,null,-1),Mt=c("col",null,null,-1),It={key:0},Nt={key:1},Kt={key:2},Pt={key:3},St=c("col",null,null,-1),$t={key:4},Ht={key:5},Tt={key:6},Yt={key:7},qt={class:"ls-native-table__head"},Gt=c("th",{class:"ls-native-table__header-cell is-center"},[c("div",{class:"ls-native-table__header-content"},"æå")],-1),Lt=c("th",{class:"ls-native-table__header-cell is-left"},[c("div",{class:"ls-native-table__header-content"},[c("span",{class:"tw-pl-common"},"çé")])],-1),At=c("th",{class:"ls-native-table__header-cell is-center"},[c("div",{class:"ls-native-table__header-content"},"è/è´")],-1),Et=c("th",{class:"ls-native-table__header-cell is-center"},[c("div",{class:"ls-native-table__header-content"},"èç")],-1),Ot=c("th",{class:"ls-native-table__header-cell is-center"},[c("div",{class:"ls-native-table__header-content"},"èå·®")],-1),Rt={key:0,class:"ls-native-table__header-cell is-center"},Vt=[c("div",{class:"ls-native-table__header-content"},"主åº",-1)],Jt={key:1,class:"ls-native-table__header-cell is-center"},Qt=[c("div",{class:"ls-native-table__header-content"},"客åº",-1)],Ut={key:2,class:"ls-native-table__header-cell is-center"},Wt=[c("div",{class:"ls-native-table__header-content"},"èµåº",-1)],Xt={key:3,class:"ls-native-table__header-cell is-center"},Zt={class:"ls-native-table__header-content"},ea=c("th",{class:"ls-native-table__header-cell is-center"},[c("div",{class:"ls-native-table__header-content"},"åºåå¾å")],-1),ta={key:4,class:"ls-native-table__header-cell is-center"},aa=[c("div",{class:"ls-native-table__header-content"},"åè",-1)],la={key:5,class:"ls-native-table__header-cell is-center"},sa=[c("div",{class:"ls-native-table__header-content"},"è¿10åº",-1)],na={key:6,class:"ls-native-table__header-cell is-center"},oa=[c("div",{class:"ls-native-table__header-content"},"è¿åµ",-1)],ia={key:7,class:"ls-native-table__header-cell is-center"},ca=[c("div",{class:"ls-native-table__header-content"},"积å",-1)],_a={class:"ls-native-table__body"},ra={class:"ls-native-table__cell is-center"},da={class:"ls-native-table__cell-content flex-center"},va={class:"ls-native-table__cell is-left"},ba={class:"ls-native-table__cell-content"},pa={class:"ls-native-table__cell is-center"},ua={class:"ls-native-table__cell-content"},ma={class:"ls-native-table__cell is-center"},ha={class:"ls-native-table__cell-content"},ya={class:"ls-native-table__cell is-center"},fa={class:"ls-native-table__cell-content"},ka={key:0,class:"ls-native-table__cell is-center"},wa={class:"ls-native-table__cell-content"},ga={key:1,class:"ls-native-table__cell is-center"},xa={class:"ls-native-table__cell-content"},Da={key:2,class:"ls-native-table__cell is-center"},Fa={class:"ls-native-table__cell-content"},ja={key:3,class:"ls-native-table__cell is-center"},Ca={class:"ls-native-table__cell-content"},Ba={class:"ls-native-table__cell is-center"},za={class:"ls-native-table__cell-content"},Ma={key:4,class:"ls-native-table__cell is-center"},Ia={class:"ls-native-table__cell-content"},Na={key:5,class:"ls-native-table__cell is-center"},Ka={class:"ls-native-table__cell-content"},Pa={key:6,class:"ls-native-table__cell is-center"},Sa={class:"ls-native-table__cell-content"},$a={key:7,class:"ls-native-table__cell is-center"},Ha={class:"ls-native-table__cell-content"},Ta={key:0,class:"ls-native-table__empty-row"},Ya=["colspan"],qa=n({__name:"PointHome",props:{tableData:{},home:{type:Boolean},zoneName:{},hideConferenceColumn:{type:Boolean}},setup(e){const t=e,a=e=>null==e||""===e||0===e,l=["won","lost","won_rate","game_back","points_avg"],n=s(()=>t.tableData.map(e=>{const t={...e.detail};return l.forEach(e=>{a(t[e])&&(t[e]=0)}),{...e,detail:t}})),m=["home","away","division","conference","diff_avg","last_10","streaks","points"],h=s(()=>{const e=t.home?["diff_avg","last_10"]:[],l=m.filter(e=>t.tableData.every(t=>{var l;return a(null==(l=t.detail)?void 0:l[e])}));return Array.from(new Set([...e,...l]))}),y=e=>!h.value.includes(e),f=s(()=>6+m.filter(e=>("conference"!==e||!t.hideConferenceColumn)&&y(e)).length),k=e=>{const t=Number(e);return t>0?`+${t.toFixed(1)}`:t<0?t.toFixed(1):"0"};return(e,t)=>(i(),o("div",Ft,[c("table",jt,[c("colgroup",null,[Ct,c("col",{style:b({width:e.home?"240px":"200px"})},null,4),Bt,zt,Mt,y("home")?(i(),o("col",It)):v("",!0),y("away")?(i(),o("col",Nt)):v("",!0),y("division")?(i(),o("col",Kt)):v("",!0),y("conference")&&!e.hideConferenceColumn?(i(),o("col",Pt)):v("",!0),St,y("diff_avg")?(i(),o("col",$t)):v("",!0),y("last_10")?(i(),o("col",Ht)):v("",!0),y("streaks")?(i(),o("col",Tt)):v("",!0),y("points")?(i(),o("col",Yt)):v("",!0)]),c("thead",qt,[c("tr",null,[Gt,Lt,At,Et,Ot,y("home")?(i(),o("th",Rt,Vt)):v("",!0),y("away")?(i(),o("th",Jt,Qt)):v("",!0),y("division")?(i(),o("th",Ut,Wt)):v("",!0),y("conference")&&!e.hideConferenceColumn?(i(),o("th",Xt,[c("div",Zt,d(e.zoneName||"ä¸é¨"),1)])):v("",!0),ea,y("diff_avg")?(i(),o("th",ta,aa)):v("",!0),y("last_10")?(i(),o("th",la,sa)):v("",!0),y("streaks")?(i(),o("th",na,oa)):v("",!0),y("points")?(i(),o("th",ia,ca)):v("",!0)])]),c("tbody",_a,[(i(!0),o(_,null,r(n.value,t=>{return i(),o("tr",{key:t.team.id,class:"ls-native-table__row"},[c("td",ra,[c("div",da,[c("span",{class:"tw-flex tw-rounded-full tw-w-position tw-h-position tw-items-center tw-justify-center tw-w-[24px] tw-rounded-[12px]",style:b({background:t.promotion&&t.promotion.title_color,color:t.promotion&&t.promotion.title_color&&"#fff"})},d(t.position),5)])]),c("td",va,[c("div",ba,[p(z,{entity:{id:t.team.id,logo:t.team.logo,name:t.team.name},target:"_blank",class:"tw-pl-common",size:"medium",type:"team","sport-id":2},null,8,["entity"])])]),c("td",pa,[c("div",ua,d(t.detail.won)+"/"+d(t.detail.lost),1)]),c("td",ma,[c("div",ha,d((100*Number(t.detail.won_rate)).toFixed(1))+"% ",1)]),c("td",ya,[c("div",fa,d(t.detail.game_back),1)]),y("home")?(i(),o("td",ka,[c("div",wa,d(u(N)(t.detail.home)),1)])):v("",!0),y("away")?(i(),o("td",ga,[c("div",xa,d(u(N)(t.detail.away)),1)])):v("",!0),y("division")?(i(),o("td",Da,[c("div",Fa,d(u(N)(t.detail.division)),1)])):v("",!0),y("conference")&&!e.hideConferenceColumn?(i(),o("td",ja,[c("div",Ca,d(u(N)(t.detail.conference)),1)])):v("",!0),c("td",Ba,[c("div",za,d(t.detail.points_avg),1)]),y("diff_avg")?(i(),o("td",Ma,[c("div",Ia,[c("span",{style:b({color:u(M)(t.detail.diff_avg,2)})},d(k(t.detail.diff_avg)),5)])])):v("",!0),y("last_10")?(i(),o("td",Na,[c("div",Ka,d(t.detail.last_10),1)])):v("",!0),y("streaks")?(i(),o("td",Pa,[c("div",Sa,d(u(K)(t.detail.streaks)),1)])):v("",!0),y("points")?(i(),o("td",$a,[c("div",Ha,d((l=t.detail.points,a(l)?0:String(l))),1)])):v("",!0)]);var l}),128)),n.value.length?v("",!0):(i(),o("tr",Ta,[c("td",{class:"ls-native-table__empty-cell",colspan:f.value}
1,"ææ æ°æ®",8,Ya)]))])])]))}}),Ga={class:"rank-vs-match-container"},La={key:0},Aa={key:0,class:"match-item"},Ea={class:"match-date"},Oa={class:"team-name team-left"},Ra={class:"result"},Va=(e=>(k("data-v-2e4c440b"),e=e(),w(),e))(()=>c("span",{class:"separator"},"-",-1)),Ja={class:"team-name team-right"},Qa=I(n({__name:"RankMatch",props:{matchData:{}},setup:e=>(e,t)=>{const a=g("bgImg"),l=g("lsLink");return i(),o("div",Ga,[e.matchData&&e.matchData.length>0?(i(),o("ul",La,[(i(!0),o(_,null,r(e.matchData,e=>(i(),o("li",{key:e.id},[e.matches?(i(),o("div",Aa,[c("div",Ea,d(u(P)(1e3*e.matches[0].match_time).format("YYYY-MM-DD HH:mm")),1),p(l,{class:"match-team-container",href:u(H).routerPath.live+"/lanqiu/detail-"+(e.match_ids&&e.match_ids[0]||"")},{default:h(()=>[c("span",Oa,d(e.left_team.name),1),p(a,{image:e.left_team.logo,alt:e.left_team.name,type:u(S).team_cover},null,8,["image","alt","type"]),c("div",Ra,[(i(),m(x(u($).direct(`${e.matches[0].away_score}`,{fontSize:16,offsetY:2})),{class:"home-score"})),Va,(i(),m(x(u($).direct(`${e.matches[0].home_score}`,{fontSize:16,offsetY:2})),{class:"away-score"}))]),p(a,{image:e.right_team.logo,alt:e.right_team.name,type:u(S).team_cover},null,8,["image","alt","type"]),c("span",Ja,d(e.right_team.name),1)]),_:2},1032,["href"])])):v("",!0)]))),128))])):v("",!0)])}}),[["__scopeId","data-v-2e4c440b"]]),Ua={class:"backetball-comp-point tw-relative tw-min-h-tabContent"},Wa={key:0,class:"tw-absolute tw-inset-0 tw-z-10 tw-flex tw-justify-center tw-items-center tw-bg-white"},Xa={key:0,class:"scope tw-relative tw-flex tw-items-center tw-flex-col tw-justify-start tw-gap-normal tw-bg-white"},Za={class:"comp-sort-conatainer tw-w-max"},el={class:"comp-sort-action tw-w-max tw-mx-auto tw-box-border tw-px-common tw-flex tw-items-center tw-justify-start tw-gap-normal"},tl=(e=>(k("data-v-af8d0d6b"),e=e(),w(),e))(()=>c("div",{class:"space tw-flex-1",style:{order:"100"}},null,-1)),al={key:0,class:"extra-filter tw-flex tw-gap-compact",style:{order:"101"}},ll={class:"comp-sort-table"},sl={class:"tab-pane tw-px-common"},nl={key:0,class:"point-title tw-mt-normal"},ol=I(n({__name:"index",props:{scopeData:{},scopeNameMap:{default:()=>({})},competitionType:{default:void 0},seasonId:{default:null},loading:{type:Boolean,default:!1},home:{type:Boolean,default:!1}},emits:["scope-change","filter-change"],setup(e,{emit:t}){const a=e,l=t,n=s(()=>a.scopeData.order.length?a.scopeData.order:Object.keys(a.scopeData.list)),f=s(()=>n.value.length>0),k=s(()=>a.scopeData.activeKey?a.scopeData.list[a.scopeData.activeKey]:null),w=s(()=>V(k.value)),g=s(()=>J(w.value)),x=s(()=>!!L(k.value)&&k.value.activeFilter.some(e=>e.active&&"zone"===e.value)),j=e=>a.scopeData.nameMap[e]||a.scopeNameMap[e]||e,C=(e,t)=>{var a;const l=e.id||e.stage_id||(null==(a=e.stage_orders)?void 0:a.join("_"))||t;return`${e.scope}-${l}-${e.name}`},B=e=>[{name:e.name,data:[e],chart:1}];return(e,t)=>{const a=ie;return i(),o("div",Ua,[e.loading?(i(),o("div",Wa,[p(T)])):(i(),o(_,{key:1},[f.value?(i(),o("div",Xa,[c("div",Za,[c("div",el,[(i(!0),o(_,null,r(n.value,t=>(i(),m(a,{key:t,class:"comp-sort-button tw-mx-none",type:t===e.scopeData.activeKey?"primary":"",onClick:e=>l("scope-change",t)},{default:h(()=>[D(d(j(t)),1)]),_:2},1032,["type","onClick"]))),128)),tl,u(L)(k.value)?(i(),o("div",al,[(i(!0),o(_,null,r(k.value.activeFilter,e=>(i(),m(a,{key:e.value,size:"small",class:y([{active:e.active},"tw-mx-none tw-bg-transparent"]),onClick:t=>l("filter-change",e.value),round:""},{default:h(()=>[D(d(e.label),1)]),_:2},1032,["class","onClick"]))),128))])):v("",!0)]),c("div",ll,[c("div",sl,[(i(!0),o(_,null,r(w.value,(t,a)=>{var l;return i(),o(_,{key:C(t,a)},[6!==t.scope?(i(),o("div",nl,[c("p",null,d(t.name),1)])):v("",!0),1===e.competitionType?(i(),o(_,{key:1},[["4","5"].includes(e.scopeData.activeKey)?(i(),m(qa,{key:0,"zone-name":t.name.replace("æå",""),home:e.home,"hide-conference-column":x.value,"table-data":t.rows},null,8,["zone-name","home","hide-conference-column","table-data"])):"3"===e.scopeData.activeKey?(i(),m(Dt,{key:1,home:e.home,"table-data":t.rows},null,8,["home","table-data"])):v("",!0)],64)):2===e.competitionType?(i(),o(_,{key:2},[["1","2","3","4","5"].includes(e.scopeData.activeKey)?(i(),m(Pe,{key:0,home:e.home,"table-data":t.rows},null,8,["home","table-data"])):v("",!0)],64)):v("",!0),6===t.scope&&(null==(l=t.rows)?void 0:l.length)?(i(),m(R,{key:`${e.seasonId}-${C(t,a)}`,"comp-name":t.name,"list-data":B(t)},null,8,["comp-name","list-data"])):6!==t.scope?(i(),m(Qa,{key:4,"match-data":t.rows},null,8,["match-data"])):v("",!0)],64)}),128))])])])])):(i(),m(Y,{key:1,size:"middle","min-height":520})),f.value?(i(),m(Ee,{key:2,class:y(!g.value&&"hideHeader"),home:e.home,"default-fold":!1,explanation:e.scopeData.explanation},F({_:2},[g.value?{name:"remind",fn:h(()=>[(i(!0),o(_,null,r(g.value,(e,t)=>(i(),o("span",{key:t,class:"fold-title-button tw-flex tw-items-center tw-justify-center tw-gap-normal"},[c("i",{style:b({background:e})},null,4),D(" "+d(t),1)]))),128))]),key:"0"}:void 0]),1032,["class","home","explanation"])):v("",!0)],64))])}}}),[["__scopeId","data-v-af8d0d6b"]]),il={class:"football-point"},cl={key:1,class:"tw-bg-white tw-mb-[20px]"},_l={key:3,class:"tw-bg-white"},rl=I(n({__name:"FootballPoint",setup(t){const a=e(),l=ce(),n=s(()=>{var e;if(1!==l.football_type_view||l.football_league_group_count)return[];const t=null==(e=l.football_point_tables[0])?void 0:e.rows;return t?l.getRankTitle(t):[]}),c=s(()=>l.football_bracket_map_data[l.football_bracket_index]),r=s(()=>{var e;return Boolean(null==(e=c.value)?void 0:e._8_in_1)}),d=s(()=>{var e;return(null==(e=a.comp_info)?void 0:e.name)||a.comp_data.name}),b=s(()=>{var e;return(null==(e=a.comp_info)?void 0:e.primary_color)||"#e74c5b"});return(e,t)=>{var a;return i(),o("div",il,[u(l).football_bracket_list.length?(i(),m(u(Q),{key:0,list:u(l).football_bracket_list,type:1,list_ind:u(l).football_bracket_index,call_back:u(l).setFootballBracketStage},null,8,["list","list_ind","call_back"])):v("",!0),u(l).football_bracket_list.length?(i(),o("div",cl,[r.value?(i(),m(U,{key:0,list:u(l).football_bracket_chart_data,bg_color:b.value,comp_name:d.value,thirdplace:u(l).football_bracket_thirdplace||null,"is-cup":2===u(l).football_c
1omp_type,"advance-title":(null==(a=c.value)?void 0:a.winner_summary)||""},null,8,["list","bg_color","comp_name","thirdplace","is-cup","advance-title"])):(i(),m(u(W),{key:1,list:u(l).football_bracket_chart_data,bg_color:b.value,comp_name:d.value,thirdplace:u(l).football_bracket_thirdplace||null,"is-cup":2===u(l).football_comp_type},null,8,["list","bg_color","comp_name","thirdplace","is-cup"]))])):v("",!0),u(l).football_stages_list.length?(i(),m(u(Q),{key:2,list:u(l).football_stages_list,type:1,list_ind:u(l).football_stage_index,call_back:u(l).setFootballStage},null,8,["list","list_ind","call_back"])):v("",!0),u(l).football_stages_list.length?(i(),o("div",_l,[1===u(l).football_type_view?(i(),o(_,{key:0},[u(l).football_league_group_count?(i(),m(u(Z),{key:1,"point-tables":u(l).football_point_tables},null,8,["point-tables"])):(i(),m(u(X),{key:0,"point-tables":u(l).football_point_tables},null,8,["point-tables"]))],64)):2===u(l).football_type_view?(i(),m(u(ee),{key:1,list:u(l).football_chart_data},null,8,["list"])):v("",!0)])):v("",!0),p(u(te),{class:"tw-bg-white tw-mt-[10px]",promotion:n.value,state:!0,rule_text:u(l).football_rule_text},null,8,["promotion","rule_text"])])}}}),[["__scopeId","data-v-537aef54"]]),dl={class:"hot-comp-point"},vl={key:0,class:"point-state"},bl={key:2,class:"point-state"},pl=I(n({__name:"index",async setup(t){const a=e(),l=ce(),s=1===a.comp_data.sport_id;return l.requestPoint(),(e,t)=>{var n;return i(),o("main",dl,[u(l).loading?(i(),o("div",vl,[p(T)])):u(l).hasPointData?(i(),o(_,{key:1},[s?(i(),m(rl,{key:0})):(i(),m(ol,{key:1,"scope-data":u(l).basketball_scope_data,"scope-name-map":u(l).basketball_scope_name_map,"competition-type":u(l).basketball_competition_type,"season-id":(null==(n=u(a).comp_info)?void 0:n.cur_season_id)||0,loading:!1,home:!1,onScopeChange:u(l).setBasketballScope,onFilterChange:u(l).setBasketballFilter},null,8,["scope-data","scope-name-map","competition-type","season-id","onScopeChange","onFilterChange"]))],64)):(i(),o("div",bl,[p(Y,{size:"large","min-height":520})]))])}}}),[["__scopeId","data-v-31fecb3e"]]);export{pl 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.