PageSourceSearch

https://www.cdoliver.com/16205.25093c207d5dad9c.js

js cdoliver.com collected 2026-10-09 17:08:48 UTC 16,354 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[16205],{8986:(E,f,r)=>{r.d(f,{z:()=>y});var m=r(49189),T=r(85491),g=r(72200),_=r(73664),v=r(2615);let C=(()=>{class l{static \u0275fac=function(u){return new(u||l)};static \u0275mod=_.$C({type:l});static \u0275inj=v.G2t({providers:[T.L],imports:[g.MD,m.G,g.MD,m.G]})}return l})();var i=r(66456);r(20050);let y=(()=>{class l{static \u0275fac=function(u){return new(u||l)};static \u0275mod=_.$C({type:l});static \u0275inj=v.G2t({imports:[C,i.c]})}return l})()},16205:(E,f,r)=>{r.r(f),r.d(f,{CompetitionManagerPublicRankingComponent:()=>W});var m=r(10467),T=r(26532),g=r(6212),_=r(49189),v=r(50630),C=r(25615),i=r(13961),c=r(54646),y=r(90399),l=r(8986),n=r(73664),D=r(91029),u=r(94474),P=r(74173),t=r(72200),a=r(82966),p=r(47649),b=r(71760),I=r(20050),O=r(68018);function w(d,S){1&d&&n.nrm(0,"app-skeleton-block")}function R(d,S){if(1&d&&n.nrm(0,"app-navbar-resume",8),2&d){const e=n.XpG(2);n.Y8G("mainTitle","Fecha de la \xfaltima actualizaci\xf3n: "+e.config[e.currentSlug].updated)}}function U(d,S){if(1&d&&(n.nrm(0,"div",7),n.nI1(1,"translate"),n.nVh(2,R,1,1,"app-navbar-resume",8),n.nrm(3,"app-clupik-table",9)),2&d){const e=n.XpG();n.Y8G("innerHTML",n.bMT(1,4,e.config[e.currentSlug].description),n.npT),n.R7$(2),n.vxM(e.config[e.currentSlug].updated?2:-1),n.R7$(),n.Y8G("settings",e.config[e.currentSlug].tableConfig)("source",e.tableData)}}function L(d,S){1&d&&n.nrm(0,"app-footer-sponsors")}let W=(()=>{class d{globalVars;_activatedRoute;_apiCm;_modalService;loading=!0;_subscription=new i.yU;_admitedSlugs=["ranking-gc-pasivo","ranking-gc-activo","progresion-anual-croquet-gc","ranking-nacional"];currentSlug="";tableData=[];nationalRankingTable={noDataMessage:"no_rankings_found",showTotalResults:!1,serverFiltered:!1,rowClickEvent:!1,paginator:{size:20,paginatorType:"vertical",verticalButton:!0},columns:{number:{title:"Num",configTitle:"Num",dontTranslateTitle:!0,filter:!1,type:"new-cell",cell:e=>({type:()=>"content",order:"left",showTitle:!0,mainTitle:()=>e.number})},full_name:{filterType:{type:"text"},title:"Nombre",configTitle:"Nombre",dontTranslateTitle:!0,filter:!0,type:"new-cell",cell:e=>({type:()=>"content",order:"left",showFeatured:!0,featuredTitle:()=>e.full_name}),customFilterFunction:(e,s)=>{let o=e.full_name.toLowerCase();o=o.normalize("NFD").replace(/[\u0300-\u036f]/g,"").trim().toLowerCase();let h=0;return o.includes(s?.normalize("NFD").replace(/[\u0300-\u036f]/g,"").trim().toLowerCase())&&h++,h}},handicap_gc_value:{title:"HANDICAP",configTitle:"HANDICAP",dontTranslateTitle:!0,filter:!1,type:"new-cell",cell:e=>({type:()=>"content",order:"left",showTitle:!0,mainTitle:()=>null!=e.handicap_gc_value?e.handicap_gc_value:"SIN HCP"})},handicap_gc_points:{title:"PUNTOS",configTitle:"PUNTOS",dontTranslateTitle:!0,filter:!1,type:"new-cell",cell:e=>({type:()=>"content",order:"left",showTitle:!0,mainTitle:()=>null!=e.handicap_gc_points?e.handicap_gc_points:"SIN HCP"})},current_club_name:{title:"CLUB",configTitle:"CLUB",dontTranslateTitle:!0,filter:!0,type:"new-cell",cell:e=>({type:()=>"content",order:"left",showTitle:!0,mainTitle:()=>e.current_club_name||"-"}),customFilterFunction:(e,s)=>{if(null==e.current_club_name)return 0;const o=G=>G.normalize("NFD").replace(new RegExp("\\p{Diacritic}","gu"),"");let h=o(e.current_club_name.toLowerCase()),A=o(s?.toLowerCase()||""),M=0;return h.includes(A)&&M++,M}},profile_id:{title:"Start",configTitle:"Start",dontTranslateTitle:!0,filter:!1,type:"new-cell",cell:e=>({type:()=>"button",order:"left",button:{action:s=>this.lastResults(s),type:"button",config:"outlined",label:s=>"Ver \xfaltimos resultados",disabled:s=>!1,size:"xs",showIcon:s=>!1,iconStyle:"solid",icon:"xmark"}})}}};progressionTable={noDataMessage:"no_rankings_found",showTotalResults:!1,serverFiltered:!1,rowClickEvent:!1,paginator:{size:20,paginatorType:"vertical",verticalButton:!0},columns:{num:{title:"Num",configTitle:"Num",dontTranslateTitle:!0,filter:!1,type:"new-cell",cell:e=>({type:()=>"content",order:"left",showTitle:!0,mainTitle:()=>e.num})},world_num:{title:"World",configTitle:"World",dontTranslateTitle:!0,filter:!1,type:"new-cell",cell:e=>({type:()=>"content",order:"left",showTitle:!0,mainTitle:()=>e.world_num})},full_name:{filterType:{type:"text"},title:"Name",configTitle:"Name",dontTranslateTitle:!0,filter:!0,type:"new-cell",cell:e=>({type:()=>"content",order:"left",showFeatured:!0,featuredTitle:()=>e.full_name}),customFilterFunction:(e,s)=>{let o=e.full_name.toLowerCase();o=o.normalize("NFD").replace(/[\u0300-\u036f]/g,"").trim().toLowerCase();let h=0;return o.includes(s?.normalize("NFD").replace(/[\u0300-\u036f]/g,"").trim().toLowerCase())&&h++,h}},country:{title:"Country",configTitle:"Country",dontTranslateTitle:!0,filter:!1,type:"new-cell",cell:e=>({type:()=>"content",order:"left",showTitle:!0,mainTitle:()=>e.country})},dgrade_change:{title:"Change",configTitle:"Change",dontTranslateTitle:!0,filter:!1,type:"new-cell",cell:e=>({type:()=>"content",order:"left",showTitle:!0,mainTitle:()=>e.dgrade_change})},dgrade_end:{title:"End",configTitle:"End",dontTranslateTitle:!0,filter:!1,type:"new-cell",cell:e=>({type:()=>"content",order:"left",showTitle:!0,mainTitle:()=>e.dgrade_end})},dgrade_start:{title:"Start",configTitle:"Start",dontTranslateTitle:!0,filter:!1,type:"new-cell",cell:e=>({type:()=>"content",order:"left",showTitle:!0,mainTitle:()=>e.dgrade_start})},games:{title:"Games",configTitle:"Games",dontTranslateTitle:!0,filter:!1,type:"new-cell",cell:e=>({type:()=>"content",order:"left",showTitle:!0,mainTitle:()=>e.games})}}};activePassive={noDataMessage:"no_rankings_found",showTotalResults:!1,serverFiltered:!1,rowClickEvent:!1,paginator:{size:20,paginatorType:"vertical",verticalButton:!0},columns:{num:{title:"Num",configTitle:"Num",dontTranslateTitle:!0,filter:!1,type:"new-cell",cell:e=>({type:()=>"content",order:"left",showTitle:!0,mainTitle:()=>e.num})},world_num:{title:"World",configTitle:"World",dontTranslateTitle:!0,filter:!1,type:"new-cell",cell:e=>({type:()=>"content",order:"left",showTitle:!0,mainTitle:()=>e.world_num})},full_name:{filterType:{type:"text"},title:"Name",configTitle:"Name",dontTranslateTitle:!0,filter:!0,type:"new-cell",cell:e=>({type:()=>"content",order:"left",showFeatured:!0,featuredTitle:()=>e.full_name}),customFilterFunction:(e,s)=>{let o=e.full_name.toLowerCase();o=o.normalize("NFD").replace(/[\u0300-\u036f]/g,"").trim().toLowerCase();let h=0;return o.includes(s?.normalize("NFD").replace(/[\u0300-\u036f]/g,"").trim().toLowerCase())&&h++,h}},country:{title:"Country",configTitle:"Country",dontTranslateTitle:!0,filter:!1,type:"new-cell",cell:e=>({type:()=>"content",order:"left",showTitle:!0,mainTitle:()=>e.country})},dgrade:{title:"DGrade",configTitle:"DGrade",dontTranslateTitle:!0,filter:!1,type:"new-cell",cell:e=>({type:()=>"content",order:"left",showTitle:!0,mainTitle:()=>e.dgrade})},games:{title:"Games",configTitle:"Games",dontTranslateTitle:!0,filter:!1,type:"new-cell",cell:e=>({type:()=>"content",order:"left",showTitle:!0,mainTitle:()=>e.games})},wins:{title:"Wins",configTitle:"Wins",dontTranslateTitle:!0,filter:!1,type:"new-cell",cell:e=>({type:()=>"content",order:"left",showTitle:!0,mainTitle:()=>e.wins})},wins_percentage:{title:"%wins",configTitle:"%wins",dontTranslateTitle:!0,filter:!1,type:"new-cell",cell:e=>({type:()=>"content",order:"left",showTitle:!0,mainTitle:()=>e.wins_percentage})},last_year:{title:"Last",configTitle:"Last",dontTranslateTitle:!0,filter:!1,type:"new-cell",cell:e=>({type:()=>"content",order:"left",showTitle:!0,mainTitle:()=>e.last_year})}}};
1config={"ranking-gc-pasivo":{title:"Ranking internacional de jugadores espa\xf1oles de croquet GC pasivos",description:"Actualizado desde el International GC Grading System de la World Croquet Federation. </br> Min Games: 0 Min Grade: 1",updated:"",data:()=>this._apiCm.getRankingPasivo(),tableConfig:this.activePassive},"ranking-gc-activo":{title:"Ranking internacional de jugadores espa\xf1oles de croquet GC (activos)",description:"Games: minimum of 10 competitive ranked games in the preceding 12 months. </br> Grade: minimum ranking grade of 1. </br> Actualizado desde el International GC Grading System de la World Croquet Federation.",updated:"",data:()=>this._apiCm.getRankingActivo(),tableConfig:this.activePassive},"progresion-anual-croquet-gc":{title:"Ranking de progresi\xf3n anual en croquet GC",description:"Ranking de jugadores espa\xf1oles con mayor progresi\xf3n en croquet GC en el a\xf1o en curso",updated:"",data:()=>this._apiCm.getProgression(),tableConfig:this.progressionTable},"ranking-nacional":{title:"Ranking handicap de croquet GC",description:"",updated:"",data:()=>this._apiCm.getNationalRanking(),tableConfig:this.nationalRankingTable}};constructor(e,s,o,h){this.globalVars=e,this._activatedRoute=s,this._apiCm=o,this._modalService=h}ngOnInit(){this._subscription.add(this._activatedRoute.params.subscribe(e=>{const s=e.rankingSlug;s?s===this.currentSlug&&""!==this.currentSlug||(this._admitedSlugs.includes(s)?(this.currentSlug=s,this.getData()):(console.warn("Slug no admitido:",s),this.globalVars.clupikNavigate("/forbidden"))):console.warn("rankingSlug est\xe1 vac\xedo o undefined")}))}ngOnDestroy(){this._subscription.unsubscribe()}getData(){this.currentSlug&&this.config[this.currentSlug]?(this.loading=!0,this.config[this.currentSlug].data().subscribe({next:e=>{this.tableData=e.data,"ranking-nacional"!==this.currentSlug&&(this.config[this.currentSlug].updated=e.stats.last_updated?this.globalVars.getMoment()(e.stats.last_updated,"YYYY-MM-DD").format("DD/MM/YYYY"):""),this.loading=!1},error:e=>{console.error("Error al cargar datos:",e),this.loading=!1}})):console.warn("currentSlug no v\xe1lido:",this.currentSlug)}lastResults(e){var s=this;return(0,m.A)(function*(){yield s._modalService.openModal({component:c.T,modalSize:"lg",data:{profileId:e.profile_id,user:e}})})()}static \u0275fac=function(s){return new(s||d)(n.rXU(C.Y),n.rXU(D.nX),n.rXU(T.y),n.rXU(u.M))};static \u0275cmp=n.VBU({type:d,selectors:[["app-competition-manager-public-ranking"]],decls:9,vars:3,consts:[[1,"public-dashboard","white"],["position","upper",1,"page-upper-banners"],[1,"main-container"],["titleClass","h1",3,"mainTitle"],["position","center",1,"page-center-banners"],["position","bottom",1,"page-bottom-banners"],[4,"ngIf"],[1,"text","md",3,"innerHTML"],["titleClass","h5",3,"mainTitle"],[3,"settings","source"]],template:function(s,o){1&s&&(n.j41(0,"div",0),n.nrm(1,"app-banners",1),n.j41(2,"div",2),n.nrm(3,"app-navbar-resume",3),n.nVh(4,w,1,0,"app-skeleton-block")(5,U,4,6),n.k0s(),n.nrm(6,"app-banners",4)(7,"app-banners",5),n.DNE(8,L,1,0,"app-footer-sponsors",6),n.k0s()),2&s&&(n.R7$(3),n.Y8G("mainTitle",o.config[o.currentSlug].title),n.R7$(),n.vxM(o.loading?4:5),n.R7$(4),n.Y8G("ngIf",!o.globalVars.app))},dependencies:[v.j,P.YT,_.G,t.bT,a.K,g.m,p.P,y.e,b.L,l.z,I.K,O.D9],encapsulation:2})}return d})()},85491:(E,f,r)=>{r.d(f,{L:()=>D});var m=r(10467),T=r(60152),g=r(29330),_=r(71985),v=r(18810),C=r(97647),i=r(96354),c=r(99437),y=r(45312),l=r(2615);let n=(()=>{class u{sponsors=null;constructor(){}setSponsors(t){this.sponsors=t}getSponsors(){return this.sponsors}static \u0275fac=function(a){return new(a||u)};static \u0275prov=l.jDH({token:u,factory:u.\u0275fac,providedIn:"root"})}return u})(),D=(()=>{class u{sponsorsService;http;clubsService;jsonHeaders=new g.Lr({"Content-Type":"application/json","Access-Control-Allow-Origin":"*"});apiUrl=y.c.api.URL+"/clubs";jsonHeadersNoCache=new g.Lr({"Content-Type":"application/json","clupik-cache":"no-cache"});constructor(t,a,p){this.sponsorsService=t,this.http=a,this.clubsService=p}getSponsors(){var t=this;return(0,m.A)(function*(){return null==t.sponsorsService.getSponsors()?yield t.getSponsorTable("-1",!0):t.sponsorsService.getSponsors()})()}getSponsorConfig(t=!1){return!t&&this.clubsService.getClubData().sponsorshipConfig?new _.c(a=>{a.next(this.clubsService.getClubData().sponsorshipConfig),a.complete()}):this.http.get(this.apiUrl+"/"+this.clubsService.getClubId()+"/sponsor/config",{headers:this.jsonHeaders}).pipe((0,C.u)(),(0,i.T)(a=>{const p=this.extractData(a),b=this.clubsService.getClubData();return b.sponsorshipConfig=p,this.clubsService.setClubData(b),p}),(0,c.W)(this.handleError))}updateSponsorConfig(t){return this.http.post(this.apiUrl+"/"+this.clubsService.getClubId()+"/sponsor/config",t,{headers:this.jsonHeaders}).pipe((0,i.T)(a=>{const p=this.extractData(a);return this.clubsService.getClubData().sponsorshipConfig=p,p}),(0,c.W)(this.handleError))}getSponsorTable(){var t=this;return(0,m.A)(function*(a=-1,p=!1){let b=yield t.http.get(`${t.apiUrl}/${t.clubsService.getClubId()}/sponsors/table?sectionId=${a}&publicView=${p}`,{headers:t.jsonHeaders}).pipe((0,i.T)(t.extractData),(0,c.W)(t.handleError)).toPromise();return b&&t.sponsorsService.setSponsors(b),t.sponsorsService.getSponsors()}).apply(this,arguments)}createSponsor(t){return this.http.post(this.apiUrl+"/"+this.clubsService.getClubId()+"/sponsor",t,{headers:this.jsonHeaders}).pipe((0,i.T)(this.extractData),(0,c.W)(this.handleError))}getSponsor(t){return this.http.get(this.apiUrl+"/"+this.clubsService.getClubId()+"/sponsor/"+t,{headers:this.jsonHeaders}).pipe((0,i.T)(a=>this.extractData(a)),(0,c.W)(this.handleError))}getSponsorCategory(t){return this.http.get(this.apiUrl+"/"+this.clubsService.getClubId()+"/sponsor/category/"+t,{headers:this.jsonHeaders}).pipe((0,i.T)(a=>this.extractData(a)),(0,c.W)(this.handleError))}createSponsorCategory(t){return(!t.section||-1==t.sectionId)&&(t.sectionId=null),this.http.post(this.apiUrl+"/"+this.clubsService.getClubId()+"/sponsor/category",t,{headers:this.jsonHeaders}).pipe((0,i.T)(this.extractData),(0,c.W)(this.handleError))}createNewSponsorCategory(t){return this.http.post(this.apiUrl+"/"+this.clubsService.getClubId()+"/sponsor/category",t,{headers:this.jsonHeaders})}updateCategoryOrder(t,a){return this.http.post(this.apiUrl+"/"+this.clubsService.getClubId()+"/sponsor/table/category?sectionId="+a,t,{headers:this.jsonHeaders}).pipe((0,i.T)(this.extractData),(0,c.W)(this.handleError))}updateSponsorList(t,a){return this.http.post(this.apiUrl+"/"+this.clubsService.getClubId()+"/sponsor/table?sectionId="+a,t,{headers:this.jsonHeaders}).pipe((0,i.T)(this.extractData),(0,c.W)(this.handleError))}updateSponsor(t,a){return this.http.patch(this.apiUrl+"/"+this.clubsService.getClubId()+"/sponsor_id/"+a,t,{headers:this.jsonHeaders}).pipe((0,i.T)(this.extractData),(0,c.W)(this.handleError))}getSponsorImage(t){return this.apiUrl+"/"+this.clubsService.getClubId()+"/sponsor/image/"+t}setSponsorCategoryVisible(t,a){const p={visible:t};return this.http.patch(this.apiUrl+"/"+this.clubsService.getClubId()+"/sponsor/category/visible?id="+a,p,{headers:this.jsonHeaders}).pipe((0,i.T)(this.extractData),(0,c.W)(this.handleError))}setSponsorVisible(t,a){const p={visible:t};return this.http.patch(this.apiUrl+"/"+this.clubsService.getClubId()+"/sponsor/visibility?id="+a,p,{headers:this.jsonHeaders}).pipe((0,i.T)(this.extractData),(0,c.W)(this.handleError))}updateSponsorCategory(t,a){return this.http.patch(this.apiUrl+"/"+this.clubsService.getClubId()+"/sponsor/category?id="+a,t,{headers:this.jsonHeaders}).pipe((0,i.T)(this.extractData),(0,c.W)(this.handleError))}updateCategory(t,a){return this.http.patch(this.apiUrl+"/"+this.clubsService.getClubId()+"/sponsor/category?id="+a,t,{headers:this.jsonHeaders})}deleteSponsor(t){return this.http.delete(this.apiUrl+"/"+this.clubsService.getClubId()+"/sponsor/"+t,{headers:this.jsonHeaders}).pipe((0,i.T)(this.extractData),(0,c.W)(this.handleError))}deleteSponsorCategory(t){return this.http.delete(this.apiUrl+"/"+this.clubsService.getClubId()+"/sponsor/category/"+t,{headers:this.jsonHeaders}).pipe((0,i.T)(this.extractData),(0,c.W)(this.handleError))}extractData(t){return t||{}}handleError(t){return console.error("An error occurred",t),(0,v.$)(t)}static \u0275fac=function(a){return new(a||u)(l.KVO(n),l.KVO(g.Qq),l.KVO(T.X))};static \u0275prov=l.jDH({token:u,factory:u.\u0275fac,providedIn:"root"})}return u})()},90399:(E,f,r)=>{r.d(f,{e:()=>C});var m=r(49189),T=r(67951),g=r(73664),_=r(2615);r(71760);let C=(()=>
1{class i{static \u0275fac=function(l){return new(l||i)};static \u0275mod=g.$C({type:i});static \u0275inj=_.G2t({providers:[T.T],imports:[m.G]})}return i})()}}]);

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.