1import{bY as ke,bZ as be,b_ as te,b$ as $e,c0 as xe,j as q,D as ce,f as g,y as L,W as Ce,x as Y,a8 as we,bX as Q,bI as Te,bD as Be,l as ue,d as W,o as $,c as x,b as F,a as C,F as A,e as O,t as T,r as he,g as G,w as E,u as B,p as D,a0 as ne,c1 as U,c2 as Ie,A as ae,Z as fe,B as Se,k as R,a3 as Me,bW as se,i as Ae,E as ze,v as Ge,c3 as Le,H as Pe,c4 as Ne}from"./index-BRlEgfCl.js";import{_ as Ee}from"./CollapsableGroup.vue_vue_type_script_setup_true_lang-Bmg0YZzM.js";import{i as ie,u as pe}from"./useMatch-CqqRs247.js";import{t as De}from"./toComputed-Cx5bW2CU.js";import{_ as Re}from"./Layout.vue_vue_type_script_setup_true_lang-Dmg5kEs8.js";import{f as de}from"./flatMap-C7ZVEGyC.js";import{d as Fe}from"./LocaleSwitcher.vue_vue_type_script_setup_true_lang-BYWN_9xX.js";import{i as me}from"./isEmpty-CUg_v-LH.js";import{u as Ve}from"./dateTime-HpcSVMQW.js";import{C as je}from"./CountryFlag-DKg-XIs5.js";import{_ as Oe}from"./MatchCard.vue_vue_type_script_setup_true_lang-3Gxyfst3.js";import{_ as qe}from"./ResultsTeamDetailCards.vue_vue_type_script_setup_true_lang-RT_qy0vi.js";import"./PhPlus.vue-DNpcNz1e.js";import"./Logo.vue_vue_type_script_setup_true_lang-BwpF6QV6.js";import"./ListItems.vue_vue_type_script_setup_true_lang-CWFST6ju.js";var re=ke(function(t,e,n){be(t,n,e)});function We(t){var e=t==null?0:t.length;return e?Fe(t,1,e):[]}function Ke(t,e,n){t=+t,e=+e,n=(s=arguments.length)<2?(e=t,t=0,1):s<3?1:+n;for(var a=-1,s=Math.max(0,Math.ceil((e-t)/n))|0,r=new Array(s);++a<s;)r[a]=t+a*n;return r}function oe(t){return typeof t=="string"?new te([[document.querySelector(t)]],[document.documentElement]):new te([[t]],$e)}const X=Math.PI,J=2*X,M=1e-6,Ze=J-M;function _e(t){this._+=t[0];for(let e=1,n=t.length;e<n;++e)this._+=arguments[e]+t[e]}function He(t){let e=Math.floor(t);if(!(e>=0))throw new Error(`invalid digits: ${t}`);if(e>15)return _e;const n=10**e;return function(a){this._+=a[0];for(let s=1,r=a.length;s<r;++s)this._+=Math.round(arguments[s]*n)/n+a[s]}}class Ye{constructor(e){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=e==null?_e:He(e)}moveTo(e,n){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+n}`}closePath(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(e,n){this._append`L${this._x1=+e},${this._y1=+n}`}quadraticCurveTo(e,n,a,s){this._append`Q${+e},${+n},${this._x1=+a},${this._y1=+s}`}bezierCurveTo(e,n,a,s,r,h){this._append`C${+e},${+n},${+a},${+s},${this._x1=+r},${this._y1=+h}`}arcTo(e,n,a,s,r){if(e=+e,n=+n,a=+a,s=+s,r=+r,r<0)throw new Error(`negative radius: ${r}`);let h=this._x1,f=this._y1,l=a-e,i=s-n,p=h-e,o=f-n,c=p*p+o*o;if(this._x1===null)this._append`M${this._x1=e},${this._y1=n}`;else if(c>M)if(!(Math.abs(o*l-i*p)>M)||!r)this._append`L${this._x1=e},${this._y1=n}`;else{let u=a-h,m=s-f,v=l*l+i*i,y=u*u+m*m,k=Math.sqrt(v),_=Math.sqrt(c),d=r*Math.tan((X-Math.acos((v+c-y)/(2*k*_)))/2),b=d/_,w=d/k;Math.abs(b-1)>M&&this._append`L${e+b*p},${n+b*o}`,this._append`A${r},${r},0,0,${+(o*u>p*m)},${this._x1=e+w*l},${this._y1=n+w*i}`}}arc(e,n,a,s,r,h){if(e=+e,n=+n,a=+a,h=!!h,a<0)throw new Error(`negative radius: ${a}`);let f=a*Math.cos(s),l=a*Math.sin(s),i=e+f,p=n+l,o=1^h,c=h?s-r:r-s;this._x1===null?this._append`M${i},${p}`:(Math.abs(this._x1-i)>M||Math.abs(this._y1-p)>M)&&this._append`L${i},${p}`,a&&(c<0&&(c=c%J+J),c>Ze?this._append`A${a},${a},0,1,${o},${e-f},${n-l}A${a},${a},0,1,${o},${this._x1=i},${this._y1=p}`:c>M&&this._append`A${a},${a},0,${+(c>=X)},${o},${this._x1=e+a*Math.cos(r)},${this._y1=n+a*Math.sin(r)}`)}rect(e,n,a,s){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+n}h${a=+a}v${+s}h${-a}Z`}toString(){return this._}}function Qe(t){var e=0,n=t.children,a=n&&n.length;if(!a)e=1;else for(;--a>=0;)e+=n[a].value;t.value=e}function Ue(){return this.eachAfter(Qe)}function Xe(t,e){let n=-1;for(const a of this)t.call(e,a,++n,this);return this}function Je(t,e){for(var n=this,a=[n],s,r,h=-1;n=a.pop();)if(t.call(e,n,++h,this),s=n.children)for(r=s.length-1;r>=0;--r)a.push(s[r]);return this}function et(t,e){for(var n=this,a=[n],s=[],r,h,f,l=-1;n=a.pop();)if(s.push(n),r=n.children)for(h=0,f=r.length;h<f;++h)a.push(r[h]);for(;n=s.pop();)t.call(e,n,++l,this);return this}function tt(t,e){let n=-1;for(const a of this)if(t.call(e,a,++n,this))return a}function nt(t){return this.eachAfter(function(e){for(var n=+t(e.data)||0,a=e.children,s=a&&a.length;--s>=0;)n+=a[s].value;e.value=n})}function at(t){return this.eachBefore(function(e){e.children&&e.children.sort(t)})}function st(t){for(var e=this,n=it(e,t),a=[e];e!==n;)e=e.parent,a.push(e);for(var s=a.length;t!==n;)a.splice(s,0,t),t=t.parent;return a}function it(t,e){if(t===e)return t;var n=t.ancestors(),a=e.ancestors(),s=null;for(t=n.pop(),e=a.pop();t===e;)s=t,t=n.pop(),e=a.pop();return s}function rt(){for(var t=this,e=[t];t=t.parent;)e.push(t);return e}function ot(){return Array.from(this)}function lt(){var t=[];return this.eachBefore(function(e){e.children||t.push(e)}),t}function ct(){var t=this,e=[];return t.each(function(n){n!==t&&e.push({source:n.parent,target:n})}),e}function*ut(){var t=this,e,n=[t],a,s,r;do for(e=n.reverse(),n=[];t=e.pop();)if(yield t,a=t.children)for(s=0,r=a.length;s<r;++s)n.push(a[s]);while(n.length)}function ee(t,e){t instanceof Map?(t=[void 0,t],e===void 0&&(e=pt)):e===void 0&&(e=ft);for(var n=new V(t),a,s=[n],r,h,f,l;a=s.pop();
1)if((h=e(a.data))&&(l=(h=Array.from(h)).length))for(a.children=h,f=l-1;f>=0;--f)s.push(r=h[f]=new V(h[f])),r.parent=a,r.depth=a.depth+1;return n.eachBefore(mt)}function ht(){return ee(this).eachBefore(dt)}function ft(t){return t.children}function pt(t){return Array.isArray(t)?t[1]:null}function dt(t){t.data.value!==void 0&&(t.value=t.data.value),t.data=t.data.data}function mt(t){var e=0;do t.height=e;while((t=t.parent)&&t.height<++e)}function V(t){this.data=t,this.depth=this.height=0,this.parent=null}V.prototype=ee.prototype={constructor:V,count:Ue,each:Xe,eachAfter:et,eachBefore:Je,find:tt,sum:nt,sort:at,path:st,ancestors:rt,descendants:ot,leaves:lt,links:ct,copy:ht,[Symbol.iterator]:ut};function _t(t,e){return t.parent===e.parent?1:2}function K(t){var e=t.children;return e?e[0]:t.t}function Z(t){var e=t.children;return e?e[e.length-1]:t.t}function yt(t,e,n){var a=n/(e.i-t.i);e.c-=a,e.s+=n,t.c+=a,e.z+=n,e.m+=n}function gt(t){for(var e=0,n=0,a=t.children,s=a.length,r;--s>=0;)r=a[s],r.z+=e,r.m+=e,e+=r.s+(n+=r.c)}function vt(t,e,n){return t.a.parent===e.parent?t.a:n}function j(t,e){this._=t,this.parent=null,this.children=null,this.A=null,this.a=this,this.z=0,this.m=0,this.c=0,this.s=0,this.t=null,this.i=e}j.prototype=Object.create(V.prototype);function kt(t){for(var e=new j(t,0),n,a=[e],s,r,h,f;n=a.pop();)if(r=n._.children)for(n.children=new Array(f=r.length),h=f-1;h>=0;--h)a.push(s=n.children[h]=new j(r[h],h)),s.parent=n;return(e.parent=new j(null,0)).children=[e],e}function bt(){var t=_t,e=1,n=1,a=null;function s(i){var p=kt(i);if(p.eachAfter(r),p.parent.m=-p.z,p.eachBefore(h),a)i.eachBefore(l);else{var o=i,c=i,u=i;i.eachBefore(function(_){_.x<o.x&&(o=_),_.x>c.x&&(c=_),_.depth>u.depth&&(u=_)});var m=o===c?1:t(o,c)/2,v=m-o.x,y=e/(c.x+m+v),k=n/(u.depth||1);i.eachBefore(function(_){_.x=(_.x+v)*y,_.y=_.depth*k})}return i}function r(i){var p=i.children,o=i.parent.children,c=i.i?o[i.i-1]:null;if(p){gt(i);var u=(p[0].z+p[p.length-1].z)/2;c?(i.z=c.z+t(i._,c._),i.m=i.z-u):i.z=u}else c&&(i.z=c.z+t(i._,c._));i.parent.A=f(i,c,i.parent.A||o[0])}function h(i){i._.x=i.z+i.parent.m,i.m+=i.parent.m}function f(i,p,o){if(p){for(var c=i,u=i,m=p,v=c.parent.children[0],y=c.m,k=u.m,_=m.m,d=v.m,b;m=Z(m),c=K(c),m&&c;)v=K(v),u=Z(u),u.a=i,b=m.z+_-c.z-y+t(m._,c._),b>0&&(yt(vt(m,i,o),i,b),y+=b,k+=b),_+=m.m,y+=c.m,d+=v.m,k+=u.m;m&&!Z(u)&&(u.t=m,u.m+=_-k),c&&!K(v)&&(v.t=c,v.m+=y-d,o=i)}return o}function l(i){i.x*=e,i.y=i.depth*n}return s.separation=function(i){return arguments.length?(t=i,s):t},s.size=function(i){return arguments.length?(a=!1,e=+i[0],n=+i[1],s):a?null:[e,n]},s.nodeSize=function(i){return arguments.length?(a=!0,e=+i[0],n=+i[1],s):a?[e,n]:null},s}function z(t){return function(){return t}}function $t(t){let e=3;return t.digits=function(n){if(!arguments.length)return e;if(n==null)e=null;else{const a=Math.floor(n);if(!(a>=0))throw new RangeError(`invalid digits: ${n}`);e=a}return t},()=>new Ye(e)}function xt(t){return typeof t=="object"&&"length"in t?t:Array.from(t)}function ye(t){this._context=t}ye.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:this._context.lineTo(t,e);break}}};function Ct(t){return new ye(t)}function wt(t){return t[0]}function Tt(t){return t[1]}function Bt(t,e){var n=z(!0),a=null,s=Ct,r=null,h=$t(f);t=typeof t=="function"?t:t===void 0?wt:z(t),e=typeof e=="function"?e:e===void 0?Tt:z(e);function f(l){var i,p=(l=xt(l)).length,o,c=!1,u;for(a==null&&(r=s(u=h())),i=0;i<=p;++i)!(i<p&&n(o=l[i],i,l))===c&&((c=!c)?r.lineStart():r.lineEnd()),c&&r.point(+t(o,i,l),+e(o,i,l));if(u)return r=null,u+""||null}return f.x=function(l){return arguments.length?(t=typeof l=="function"?l:z(+l),f):t},f.y=function(l){return arguments.length?(e=typeof l=="function"?l:z(+l),f):e},f.defined=function(l){return arguments.length?(n=typeof l=="function"?l:z(!!l),f):n},f.curve=function(l){return arguments.length?(s=l,a!=null&&(r=s(a)),f):s},f.context=function(l){return arguments.length?(l==null?a=r=null:r=s(a=l),f):a},f}function ge(t,e){this._context=t,this._t=e}ge.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&this._point===2&&this._context.lineTo(this._x,this._y),(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;
1default:{if(this._t<=0)this._context.lineTo(this._x,e),this._context.lineTo(t,e);else{var n=this._x*(1-this._t)+t*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,e)}break}}this._x=t,this._y=e}};function It(t){return new ge(t,.5)}const I=Symbol("Parents"),St=xe("brackets",()=>{const t=q(),e=ce();return{bracketsForTeamCategoryAndPlayoff:(s,r)=>{typeof s=="string"&&(s=parseInt(s,10));const h=g(()=>L(t.groups,o=>o.teamCategoryId===s&&o.playoffCategory===r)),f=g(()=>new Set(h.value.map(o=>o.id))),l=g(()=>L(e.matches,o=>f.value.has(o.competitionGroupId))),i=g(()=>Ce(l.value,"id")),p=g(()=>{const o=Y(()=>we(l.value,"competitionGroupId"),u=>Q(u,(m,v)=>({id:v,matches:m,children:[],[I]:[]})))();for(const u of Object.values(o)){const m=u.matches[0];o[m.homeTeamCompetitionGroupId]&&(u.children.push(o[m.homeTeamCompetitionGroupId]),ie(o[m.homeTeamCompetitionGroupId][I],u)||o[m.homeTeamCompetitionGroupId][I].push(u)),o[m.awayTeamCompetitionGroupId]&&(u.children.push(o[m.awayTeamCompetitionGroupId]),ie(o[m.awayTeamCompetitionGroupId][I],u)||o[m.awayTeamCompetitionGroupId][I].push(u))}const c=new Set;for(const u of Object.values(o))if(u[I].length>1&&!c.has(u)){const m=u[I],v=Te(m);v.matches=Y(()=>de(m,y=>y.matches),y=>Be(ue(y,"id","desc")))();for(const y of We(m))c.add(y)}return L(o,u=>!c.has(u)&&me(u[I]))});return{playoffGroups:h,playoffGroupIds:f,matches:l,matchesById:i,hierarchy:p}},ensureBracketData:async()=>Promise.all([t.ensureCompetitionEnums(),e.ensureCompetitionLiveData()])}}),Mt={class:"brackets-team"},At={class:"brackets-team__team-name"},zt=["title"],Gt={class:"brackets-team__score"},le=W({__name:"BracketTeam",props:{match:{},side:{}},setup(t){const e=t,{teamsById:n,groupsById:a}=q(),s=(p,o)=>`${p}${o}`,r=g(()=>e.match[s(e.side,"TeamCompetitionStandings")]),h=g(()=>a[e.match[s(e.side,"TeamCompetitionGroupId")]]),f=g(()=>e.match[s(e.side,"TeamId")]),l=g(()=>n[f.value]),i=g(()=>{if(l.value)return e.match[s(e.side,"Score")]});return(p,o)=>{var c;return $(),x("div",Mt,[F(je,{class:"brackets-team__flag",size:20,country:l.value?l.value.clubCountryCode:null},null,8,["country"]),C("div",At,[l.value?($(),x(A,{key:0},[O(T((c=l.value)==null?void 0:c.teamName),1)],64)):($(),x("span",{key:1,title:`${r.value}. z ${h.value.label}`},T(p.$t("brackets.team.standingPlaceholder",{standing:p.$t("brackets.ordinal",r.value),group:h.value.label})),9,zt))]),C("div",Gt,T(i.value??"-"),1)])}}}),Lt={class:"brackets-match__label"},Pt={key:0,class:"brackets-match__live-flag"},Nt={class:"brackets-match__content"},Et={class:"brackets-match__footer"},Dt={key:0},Rt={key:1},Ft=W({__name:"BracketMatch",props:{match:{}},setup(t){const e=t,n=g(()=>e.match),{groupsById:a,matchStagesById:s}=q(),{datetimeToTime:r}=Ve(),{arena:h,isInProgress:f,getMatchFormattedDateShort:l,matchIdentifier:i}=pe(n),p=g(()=>a[e.match.competitionGroupId]),o=g(()=>{var y;return(y=s[e.match.competitionMatchStageId])==null?void 0:y.stageType}),c=g(()=>o.value==="finished"),u=g(()=>typeof n.value.day!="number"?"":l(n.value.day)),m=g(()=>e.match.time?r(e.match.time):""),v=g(()=>h.value);return(y,k)=>{const _=he("RouterLink");return $(),G(_,{class:"brackets-match",to:{name:B(Ie).resultsMatchDetail,params:{id:B(i)}}},{default:E(()=>[C("div",Lt,[O(T(p.value.label)+" ",1),k[0]||(k[0]=C("span",{style:{flex:"1"}},null,-1)),B(f)?($(),x("span",Pt,T(y.$t("brackets.match.inProgress")),1)):D("",!0)]),C("div",Nt,[F(le,{class:ne(["brackets-match__match mb-xs",{"brackets-match__match--winner":n.value.homeScore>n.value.awayScore&&c.value}]),match:n.value,side:"home"},null,8,["class","match"]),F(le,{class:ne(["brackets-match__match",{"brackets-match__match--winner":n.value.homeScore<n.value.awayScore&&c.value}]),match:n.value,side:"away"},null,8,["class","match"])]),C("div",Et,[C("div",null,[u.value||m.value?($(),x("span",Dt,T(u.value)+" "+T(m.value),1)):D("",!0),C("span",{style:U({visibility:(u.value||m.value)&&v.value?"visible":"hidden"})}," | ",4),v.value?($(),x("span",Rt,T(v.value),1)):D("",!0)])])]),_:1},8,["to"])}}}),Vt=["width","height"],jt={class:"bracket-root"},Ot={class:"bracket-nodes"},qt=["x","y","width"],H=8,Wt=W({__name:"BracketGraph",props:{playoff:{},teamCategoryId:{}},setup(t){const e=ae(),n=ae(),a=t,s=g(()=>parseInt(a.teamCategoryId,10)),r=St(),h=g(()=>r.bracketsForTeamCategoryAndPlayoff(s.value,a.playoff)),f=g(()=>h.value.hierarchy.value[0]),l=g(()=>(c.value.height+1)*p.value),i=g(()=>c.value.leaves().length*125),p=g(()=>216),o=g(()=>({top:0,right:p.value/2+H,bottom:50,left:p.value/2+H})),c=g(()=>ee(f.value)),u=g(()=>bt().size([i.value,l.value]).separation((d,b)=>
1(d.parent==b.parent,1))(c.value)),m=g(()=>u.value.descendants());fe(async()=>{await r.ensureBracketData(),v()}),Se(()=>[a.playoff,a.teamCategoryId],()=>{v()});function v(){const k=Bt().x(d=>l.value-d.y).y(d=>d.x).curve(It);oe(e.value).select("g.bracket-root").attr("transform",`translate(${o.value.left}, ${o.value.top})`);const _=oe(e.value).select("g.bracket-links");_.selectAll("*").remove(),_.selectAll(".brackets__link").data(u.value.descendants().slice(1)).enter().append("path").attr("class","brackets__link").attr("d",d=>{const b=d.parent.data.matches.length,w=P=>b==2&&P===0?-50:b==2&&P===1?50:0,S=d.y+(d.parent.y-d.y)/2;return k([d,{x:d.x,y:S},{x:d.parent.x,y:S}].concat(de(d.parent.data.matches,(P,N)=>[{x:d.parent.x+w(N),y:S},{x:d.parent.x+w(N),y:d.parent.y},{x:d.parent.x+w(N),y:S},{x:d.parent.x,y:S}])))})}function y(k){n.value.scrollTo({left:k.offsetLeft,behavior:"smooth"})}return(k,_)=>($(),x("div",{class:"brackets",ref_key:"container",ref:n},[C("div",{class:"brackets__wrapper",style:U({width:`${l.value+o.value.left+o.value.right+H}px`})},[($(!0),x(A,null,R(B(Ke)(c.value.height+1),d=>($(),x("div",{key:d,class:"brackets__swimlane",style:U({left:`${d*(l.value/c.value.height)}px`,width:`${l.value/c.value.height}px`}),onClick:_[0]||(_[0]=b=>y(b.target))},null,4))),128)),($(),x("svg",{ref_key:"svg",ref:e,width:l.value+o.value.left+o.value.right,height:i.value+o.value.top+o.value.bottom,class:"brackets__svg"},[C("g",jt,[_[1]||(_[1]=C("g",{class:"bracket-links"},null,-1)),C("g",Ot,[($(!0),x(A,null,R(m.value,d=>($(),x("foreignObject",{key:d.data.id,class:"node",x:l.value-d.y-p.value/2,y:d.x-50*d.data.matches.length,width:p.value,style:{overflow:"visible"},height:"1"},[($(!0),x(A,null,R(d.data.matches,b=>($(),G(Ft,{key:b.id,match:b},null,8,["match"]))),128))],8,qt))),128))])])],8,Vt))],4)],512))}}),Kt={class:"page-container flex flex-col gap-y-10"},Zt={class:"flex flex-col gap-y-3"},Ht={class:"heading-5xl"},Yt={class:"page-container flex flex-col gap-y-10"},fn=W({__name:"CompetitionGroupPlayoffPage",setup(t){const e=ze(),n=g(()=>e.params.playoffCategory),{getCompetitionEnumConfiguration:a}=Me(),s=g(()=>{var y;return((y=a("show_playoff_on_web"))==null?void 0:y.parsedValue)??!0});fe(()=>{const y=Ge();s.value||y.replace({name:se.teamCategoryDetail,params:{code:e.params.categoryCode}})});const{roundLevels:r,groups:h,teamCategoriesById:f,teamCategoriesByCode:l}=q(),i=g(()=>{var k,_;const y=(k=e.params.categoryCode)==null?void 0:k.toUpperCase();return(_=l[y])==null?void 0:_.id}),p=g(()=>L(r,{isBracket:!0})),{matches:o}=De(ce()),c=g(()=>Q(re(p.value,"id"),y=>{const k=L(h,{competitionRoundLevelId:y.id,teamCategoryId:i.value,playoffCategory:n.value}),_=d=>Ne(k,{id:d.competitionGroupId});return Y(()=>o.value,d=>L(d,_),d=>ue(d,"time","asc"),d=>Pe(d,({day:b})=>b))()})),{locale:u}=Ae(),m=g(()=>{const y=Le[u.value];return Q(re(p.value,"id"),k=>k[y])}),{getMatchFormattedDate:v}=pe();return(y,k)=>{const _=he("RouterLink");return $(),G(Re,null,{default:E(()=>{var d,b;return[C("div",Kt,[C("div",Zt,[C("span",Ht,[(d=B(f)[i.value])!=null&&d.code?($(),G(_,{key:0,class:"link inline-flex items-center gap-x-2 cursor-pointer",to:{name:B(se).teamCategoryDetail,params:{code:(b=B(f)[i.value])==null?void 0:b.code}}},{default:E(()=>{var w;return[O(T((w=B(f)[i.value])==null?void 0:w.code),1)]}),_:1},8,["to"])):D("",!0),O(" / "+T(y.$t("teamCategory.list.playoff.heading"))+" "+T(n.value),1)])])]),F(Wt,{class:"mx-auto mb-10",playoff:n.value,teamCategoryId:i.value},null,8,["playoff","teamCategoryId"]),C("div",Yt,[($(!0),x(A,null,R(p.value,w=>($(),x(A,{key:w.id},[B(me)(c.value[w.id])?D("",!0):($(),G(Ee,{key:0,title:m.value[w.id],isCollapsable:""},{default:E(()=>[($(!0),x(A,null,R(c.value[w.id].entries(),([S,P],N)=>($(),G(qe,{key:`round-${N}`,title:B(v)(S),items:P,showCardsOnly:"",isCollapsable:!1},{item:E(({item:ve})=>[F(Oe,{match:ve},null,8,["match"])]),_:2},1032,["title","items"]))),128))]),_:2},1032,["title"]))],64))),128))])]}),_:1})}}});
1export{fn 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.