1import{s as S,f as v,r as y,o,g as p,e as b,K as L,l as t,n as s,F as B,j as C,O as z}from"./vendor.js";import{u as T,f as w}from"./index.js";const N={class:"virtual-standings"},V={class:"title"},M={class:"tb"},P=["key1"],R=["key1"],I={__name:"standings",setup($){const{appRef:g}=S(T()),{virtuals_info:a}=S(w()),f=v(()=>g.value&&g.value.platform!=null?g.value.platform:""),h=v(()=>a.value&&a.value.loading!=null?a.value.loading:""),i=v(()=>a.value&&a.value.meta!=null?a.value.meta:""),u=v(()=>{let e=a.value&&a.value.standings!=null?a.value.standings.filter(n=>n.competition_id==i.value.competition_id):[];for(let n=0;n<e.length;n++){let j=e[n].team_name.replace(/[^\w]/gi,"").toLowerCase();e[n].h_img=j+"-h";var l=e[n].team_form;if(typeof l=="object")return;l=typeof l=="object"?"":l;var c=l?l.split("-"):[],m=[];for(let k=0;k<c.length;k++){var r=c[k];if(r){r.trim();var d=r.toLowerCase(),_={c:d,lbl:r};m.push(_)}}e[n].m_team_form=m}return e}),E=v(()=>u.value.length!=0?u.value[0].season:""),F=v(()=>{let e="England";return i.value.competition_id==1?e="England":i.value.competition_id==2?e="Spain":i.value.competition_id==3?e="Tanzania":(i.value.competition_id==4||i.value.competition_id==6)&&(e="Italy"),e});return(e,l)=>{const c=y("LoaderBar"),m=y("LoaderSportsbookFetch"),r=y("MEmpty");return o(),p("div",N,[h.value&&u.value.length!=0&&f.value=="desktop"?(o(),b(c,{key:0})):L("",!0),t("div",V,s(F.value)+" / SN#"+s(E.value),1),t("div",M,[t("table",null,[t("thead",null,[t("tr",null,[l[0]||(l[0]=t("th",null,"P",-1)),t("th",null,s(e.$t("message.team")),1),l[1]||(l[1]=t("th",null,"Pts",-1)),l[2]||(l[2]=t("th",null,"Form",-1))])]),t("tbody",null,[(o(!0),p(B,null,C(u.value,(d,_)=>(o(),p("tr",{key1:_+""+d.team_id},[t("td",null,s(_+1),1),t("td",null,s(e.$filters.capitalize(d.team_name)),1),t("td",null,s(d.points),1),t("td",null,[(o(!0),p(B,null,C(d.m_team_form,n=>(o(),p("div",{key1:n.c,class:z(n.c)},s(n.lbl),11,R))),256))])],8,P))),256))])])]),h.value&&u.value.length==0&&f.value=="desktop"?(o(),b(m,{key:1,size:"6"})):L("",!0),!h.value&&u.value.length==0&&f.value=="desktop"?(o(),b(r,{key:2})):L("",!0)])}}};export{I 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.