1"use strict";(self.webpackChunkmeridianbet_web_v4=self.webpackChunkmeridianbet_web_v4||[]).push([[5872],{5872:(M,l,s)=>{s.r(l),s.d(l,{PlayersCountriesComponent:()=>y});var t=s(54438),_=s(2091),c=s(45408),d=s(43194),u=s(3385),p=s(29048),m=s(44816);const C=(e,n)=>n.rivalId;function v(e,n){if(1&e){const i=t.RV6();t.j41(0,"league-team-item",4),t.bIt("click",function(){const a=t.eBV(i).$implicit,o=t.XpG(3);return t.Njj(o.openCountry(a))}),t.k0s()}2&e&&t.Y8G("team",n.$implicit)}function h(e,n){if(1&e&&t.Z7z(0,v,1,1,"league-team-item",3,C),2&e){const i=t.XpG(2);t.Dyx(i.rivals())}}function g(e,n){1&e&&t.nrm(0,"div",5)}function P(e,n){if(1&e&&t.Z7z(0,g,1,0,"div",5,t.Vm6),2&e){const i=t.XpG(2);t.Dyx(i.placeholders)}}function f(e,n){if(1&e&&(t.j41(0,"div",2),t.DNE(1,h,2,0)(2,P,2,0),t.k0s()),2&e){const i=t.XpG();t.xc7("display",i.hasChild()?"none":null),t.R7$(),t.vxM(i.rivals().length?1:2)}}let y=(()=>{class e{constructor(){this.state=(0,t.WQX)(c.h),this._router=(0,t.WQX)(_.Ix),this._activatedRoute=(0,t.WQX)(_.nX),this._statisticsStoreService=(0,t.WQX)(u.u),this._standardSidebarService=(0,t.WQX)(p.r),this.hasChild=(0,t.vPA)(!!this._activatedRoute.snapshot.firstChild),this.rendered=(0,t.vPA)(!this._activatedRoute.snapshot.firstChild),this.rivals=(0,t.vPA)([]),this.placeholders=Array(24),(0,t.QZP)(()=>{const i=this._statisticsStoreService.currentSeason(),r=this._statisticsStoreService.leagueStage();if(!i||!r)return;const a=this._standardSidebarService.getSportId(),o=this._standardSidebarService.getLeagueId();this._statisticsStoreService.getRivals(a.toString(),o.toString(),i.seasonId).subscribe(E=>this.rivals.set(E))},{allowSignalWrites:!0})}openCountry(i){this._router.navigate(["./",(0,d.G6)(i.name),i.rivalId],{relativeTo:this._activatedRoute,queryParamsHandling:"preserve"}),this.state.scrollToTop()}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275cmp=t.VBU({type:e,selectors:[["league-players-countries"]],standalone:!0,features:[t.aNF],decls:2,vars:1,consts:[[1,"c-teams-grid",3,"display"],[3,"activate","deactivate"],[1,"c-teams-grid"],[3,"team"],[3,"click","team"],[1,"c-teams-placeholder"]],template:function(r,a){1&r&&(t.DNE(0,f,3,3,"div",0),t.j41(1,"router-outlet",1),t.bIt("activate",function(){return a.hasChild.set(!0)})("deactivate",function(){return a.hasChild.set(!1),a.rendered.set(!0)}),t.k0s()),2&r&&t.vxM(a.rendered()?0:-1)},dependencies:[_.n3,_.iI,m.l],styles:["[_nghost-%COMP%]{display:block;width:100%}.c-teams-grid[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;width:100%}@media (max-width: 1250px){.c-teams-grid[_ngcontent-%COMP%]{grid-template-columns:repeat(3,1fr)}}.c-teams-placeholder[_ngcontent-%COMP%]{width:100%;min-width:0;height:66px;border-radius:6px;background:var(--baseBlue01)}"]})}}return e})()}}]);
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.