PageSourceSearch

https://www.sdlogrones.com/28793.6e1ff222d1892332.js

js sdlogrones.com collected 2026-10-03 00:40:15 UTC 96,001 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[28793],{3034:(F,b,t)=>{t.d(b,{I:()=>K});var g=t(72200),e=t(43745),o=t(98294),v=t(62470),u=t(14023),h=t(96835),m=t(28107),O=t(20724),E=t(92034),y=t(94946),R=t(73664),N=t(2615);t(91067);let K=(()=>{class W{static \u0275fac=function(_){return new(_||W)};static \u0275mod=R.$C({type:W});static \u0275inj=N.G2t({imports:[g.MD,o.B,e.H,v.k,h.p,m.H,u._,E.z,y.l,O.p]})}return W})()},5653:(F,b,t)=>{t.d(b,{x:()=>x});var g=t(72200),e=t(49189),o=t(66124),v=t(21867),u=t(6212),h=t(49699),m=t(83928),O=t(35375),E=t(32777),y=t(37808),R=t(58260),N=t(7030),D=t(48749),K=t(19348),W=t(62470),P=t(71225),G=t(73664),_=t(2615);let f=(()=>{class k{static \u0275fac=function(T){return new(T||k)};static \u0275mod=G.$C({type:k});static \u0275inj=_.G2t({imports:[g.MD,e.G,o.M,y.c,N.g,D.P,K.x,W.k,u.m,P.w,v.v]})}return k})(),x=(()=>{class k{static \u0275fac=function(T){return new(T||k)};static \u0275mod=G.$C({type:k});static \u0275inj=_.G2t({imports:[g.MD,e.G,o.M,v.v,h.C,u.m,m.D,O.J,E.h,y.c,u.m,R.U,f]})}return k})()},7377:(F,b,t)=>{t.d(b,{y:()=>h});var g=t(72200),e=t(49189),o=t(62470),v=t(73664),u=t(2615);let h=(()=>{class m{static \u0275fac=function(y){return new(y||m)};static \u0275mod=v.$C({type:m});static \u0275inj=u.G2t({imports:[g.MD,e.G,o.k]})}return m})()},11988:(F,b,t)=>{t.d(b,{P:()=>_});var g=t(49189),e=t(1460),o=t(7030),v=t(11890),u=t(35745),h=t(73664),m=t(2615);t(13844);let E=(()=>{class f{static \u0275fac=function(V){return new(V||f)};static \u0275mod=h.$C({type:f});static \u0275inj=m.G2t({imports:[g.G,o.g,u.C]})}return f})();var y=t(11487),R=t(19348),N=t(48749);t(10580);let K=(()=>{class f{static \u0275fac=function(V){return new(V||f)};static \u0275mod=h.$C({type:f});static \u0275inj=m.G2t({imports:[g.G,o.g,y._,v.g,y._,E,u.C,N.P,R.x]})}return f})();t(13758);let P=(()=>{class f{static \u0275fac=function(V){return new(V||f)};static \u0275mod=h.$C({type:f});static \u0275inj=m.G2t({imports:[g.G,u.C]})}return f})();t(81492);let _=(()=>{class f{static \u0275fac=function(V){return new(V||f)};static \u0275mod=h.$C({type:f});static \u0275inj=m.G2t({providers:[e.K],imports:[g.G,K,o.g,P]})}return f})()},14023:(F,b,t)=>{t.d(b,{_:()=>v});var g=t(43184),e=t(73664),o=t(2615);let v=(()=>{class u{static \u0275fac=function(O){return new(O||u)};static \u0275mod=e.$C({type:u});static \u0275inj=o.G2t({imports:[g.Q]})}return u})()},15110:(F,b,t)=>{t.d(b,{B:()=>xt});var g=t(10467),e=t(60177),o=t(73664),v=t(98868),u=t(27544),h=t(61448),m=t(69915),O=t(68010),E=t(60152),y=t(26742),R=t(94375),N=t(6121),D=t(51589),K=t(4693),W=t(22719),P=t(44720),G=t(78707),_=t(35167),f=t(55024),x=t(19050),k=t(56735),V=t(25615),n=t(40605),T=t(2615),et=t(72200),q=t(23837);function ot(U,Z){if(1&U){const c=o.RV6();o.j41(0,"app-dropdown-item",2),o.bIt("click",function(){const I=T.eBV(c).$implicit,Y=o.XpG();return T.Njj(Y.changeLanguage(I))}),o.k0s()}if(2&U){const c=Z.$implicit,S=o.XpG();o.Y8G("label","global.languages."+c.codeRegion)("disabled",c.id==S.clubsService.getLanguageInUse().id)}}let st=(()=>{class U{clubsService;appService;popoverCtrl;clubLanguages;constructor(c,S){this.clubsService=c,this.appService=S}ngOnInit(){}changeLanguage(c){var S=this;return(0,g.A)(function*(){const I=yield S.popoverCtrl.getTop();I&&(yield I.dismiss(null,null)),S.appService.broadcast("changeLanguage",{lastLanguage:S.clubsService.getLanguageInUseCode(),language:c})})()}static \u0275fac=function(S){return new(S||U)(o.rXU(E.X),o.rXU(m.d))};static \u0275cmp=o.VBU({type:U,selectors:[["app-lang-menu"]],inputs:{popoverCtrl:"popoverCtrl",clubLanguages:"clubLanguages"},standalone:!1,decls:2,vars:1,consts:[[1,"int-popover"],[3,"label","disabled","click",4,"ngFor","ngForOf"],[3,"click","label","disabled"]],template:function(S,I){1&S&&(o.j41(0,"div",0),o.DNE(1,ot,1,2,"app-dropdown-item",1),o.k0s()),2&S&&(o.R7$(),o.Y8G("ngForOf",I.clubLanguages))},dependencies:[et.Sq,q.S],encapsulation:2})}return U})();var lt=t(68324),pt=t(75281),ct=t(91029),M=t(94474),z=t(36229),p=t(69662),A=t(53986),j=t(85340),J=t(29605),tt=t(68018);const vt=(U,Z)=>({admin:U,public:Z}),_t=()=>["shopReal"];function X(U,Z){1&U&&o.nrm(0,"app-search-bar")}function St(U,Z){if(1&U){const c=o.RV6();o.j41(0,"app-clupik-button",7),o.bIt("click",function(I){T.eBV(c);const Y=o.XpG(2);return T.Njj(Y.openPop(I,"new",Y.hashnew))}),o.k0s()}if(2&U){const c=o.XpG(2);o.HbH(c.buttonsConfig.new.class()),o.Y8G("tooltip",c.buttonsConfig.new.tooltip)("type",c.buttonsConfig.new.type)("icon",c.buttonsConfig.new.icon)}}function mt(U,Z){if(1&U){const c=o.RV6();o.j41(0,"app-clupik-button",8),o.bIt("click",function(I){T.eBV(c);const Y=o.XpG(2);return T.Njj(Y.openPop(I,"notif",Y.hashnotif))}),o.k0s()}if(2&U){const c=o.XpG(2);o.HbH(c.buttonsConfig.notif.class()),o.Y8G("bubble",c.noticesBadge)("tooltip",c.buttonsConfig.notif.tooltip)("type",c.buttonsConfig.notif.type)("icon",c.buttonsConfig.notif.icon)}}function at(U,Z){if(1&U&&(o.nVh(0,St,1,5,"app-clupik-button",4),o.nVh(1,mt,1,6,"app-clupik-button",3)),2&U){const c=o.XpG();o.vxM(c.buttonsConfig.new.condition()?0:-1),o.R7$(),o.vxM(c.buttonsConfig.notif.condition()?1:-1)}}function Tt(U,Z){if(1&U&&o.nrm(0,"app-clupik-button",9),2&U){const c=o.XpG();o.HbH(c.buttonsConfig.cart.class()),o.Y8G("bubble",c.shoppingCartBadge)("tooltip",c.buttonsConfig.cart.tooltip)("type",c.buttonsConfig.cart.type)("icon",c.buttonsConfig.cart.icon)}}function Et(U,Z){if(1&U){const c=o.RV6();o.j41(0,"app-clupik-button",7),o.bIt("click",function(){T.eBV(c);const I=o.XpG(2);
1return T.Njj(I.goHome())}),o.k0s()}if(2&U){const c=o.XpG(2);o.HbH(c.buttonsConfig.home.class()),o.Y8G("tooltip",c.buttonsConfig.home.tooltip)("type",c.buttonsConfig.home.type)("icon",c.buttonsConfig.home.icon)}}function Dt(U,Z){if(1&U){const c=o.RV6();o.j41(0,"app-clupik-button",7),o.bIt("click",function(){T.eBV(c);const I=o.XpG(2);return T.Njj(I.goAdmin())}),o.k0s()}if(2&U){const c=o.XpG(2);o.HbH(c.buttonsConfig.admin.class()),o.Y8G("tooltip",c.buttonsConfig.admin.tooltip)("type",c.buttonsConfig.admin.type)("icon",c.buttonsConfig.admin.icon)}}function Ut(U,Z){if(1&U&&(o.nVh(0,Et,1,5,"app-clupik-button",4),o.nVh(1,Dt,1,5,"app-clupik-button",4)),2&U){const c=o.XpG();o.vxM(c.buttonsConfig.home.condition()?0:-1),o.R7$(),o.vxM(c.buttonsConfig.admin.condition()?1:-1)}}function At(U,Z){if(1&U){const c=o.RV6();o.j41(0,"app-clupik-button",7),o.bIt("click",function(I){T.eBV(c);const Y=o.XpG();return T.Njj(Y.openPop(I,"lang",Y.hashlang))}),o.k0s()}if(2&U){const c=o.XpG();o.HbH(c.buttonsConfig.lang.class()),o.Y8G("tooltip",c.buttonsConfig.lang.tooltip)("type",c.buttonsConfig.lang.type)("icon",c.buttonsConfig.lang.icon)}}function yt(U,Z){if(1&U){const c=o.RV6();o.j41(0,"button",10),o.bIt("click",function(I){T.eBV(c);const Y=o.XpG();return T.Njj(Y.openPop(I,"user",Y.hashuser))}),o.nrm(1,"img",11),o.k0s()}if(2&U){const c=o.XpG();o.R7$(),o.Y8G("src",c.imageUserUrl,o.B4B)}}function Nt(U,Z){if(1&U){const c=o.RV6();o.j41(0,"button",12),o.nI1(1,"translate"),o.bIt("click",function(){T.eBV(c);const I=o.XpG();return T.Njj(I.openLogin())}),o.nrm(2,"i",13),o.k0s()}2&U&&o.BMQ("aria-label",o.bMT(1,1,"global.button.login"))}let xt=(()=>{class U{globalVars;popoverCtrl;teamService;appService;authService;imagesService;clubsService;router;apiSeasonsService;modalService;dialog;menuService;shoppingCartService;apiTeamsService;apiMessagesService;_apiLeveradeService;platformId;sheet;scrolled=!1;isLoginVisible=!0;name;userUser;userId;get imageUserUrl(){return this.imagesService.getUserLogoThumbnailUrl(this.authService.getMe()?.id)||""}isAdmin=!1;isSuper=!1;isEditor=!1;isCoach=!1;userLink;currentSeasonId;userTeams;loadedTeams=!1;canPublish=!1;isClubUser=!1;notificationNumber;taskNumber;noticesBadge;shopActive=!1;shoppingCartBadge;sub1;sub2;sub3;sub4;sub5;sub6;sub7;sub8;sub9;sub10;sub11;sub12;clubData;hashnew="";hashuser="";hashnotif="";hashcart="";hashlang="";get isClupik(){return!this.clubsService.isClubCompetitionManager()}get iswebPublic(){return!this.authService.isWebHiddenByUser()}get isWebOff(){return this.clubsService.hasModuleOff("web")}buttonsConfig;get isLogged(){return this.authService.isLoggedIn()}get clubLanguages(){return(this.clubsService.getClubLanguages()?.sort((S,I)=>S.id-I.id)).filter(S=>S.active)}constructor(c,S,I,Y,rt,ht,Rt,Lt,Gt,Bt,kt,$t,jt,Ft,Kt,Wt,d){this.globalVars=c,this.popoverCtrl=S,this.teamService=I,this.appService=Y,this.authService=rt,this.imagesService=ht,this.clubsService=Rt,this.router=Lt,this.apiSeasonsService=Gt,this.modalService=Bt,this.dialog=kt,this.menuService=$t,this.shoppingCartService=jt,this.apiTeamsService=Ft,this.apiMessagesService=Kt,this._apiLeveradeService=Wt,this.platformId=d,this.hashnew=this.globalVars.generateHash(),this.hashuser=this.globalVars.generateHash(),this.hashnotif=this.globalVars.generateHash(),this.hashcart=this.globalVars.generateHash(),this.hashlang=this.globalVars.generateHash(),this.sub1=this.clubsService.subscribe("login",()=>{this.getUserInfo(),this.checkPermissions(),this.getUserNotificationsNumber()}),this.sub2=this.appService.subscribe("logout",()=>{this.getUserInfo(),this.checkPermissions(),this.getUserNotificationsNumber()}),this.sub3=this.appService.subscribe("reloadTasks",()=>{this.getUserNotificationsNumber()}),this.sub4=this.appService.subscribe("changeUserName",()=>{this.getUserInfo()}),(0,e.UE)(this.platformId)&&(this.sub5=(0,n.Y)(6e5).subscribe(()=>this.getUserNotificationsNumber())),this.sub6=this.appService.subscribe("reload-notification-number",()=>this.getUserNotificationsNumber()),this.sub7=this.appService.subscribe("read-notifications",L=>this.readNotifications(L)),this.sub8=this.appService.subscribe("changeForceLanguage",L=>{let i=this.clubLanguages.find(r=>r.languageCode.toLowerCase()===L);null!=i&&this.changeLanguage(i)}),this.sub9=this.appService.subscribe("disableShoppingCart",L=>{L&&(this.shopActive=L),!L&&(this.shopActive=this.checkShop())}),this.sub11=this.shoppingCartService.subscribe("updateShoppingCartCount",L=>{this.shoppingCartBadge=L>0?L>9?"9+":L:null}),this.buttonsConfig={new:{tooltip:"global.common.new",condition:()=>(this.isClupik||!this.isClupik&&this.clubsService.hasModuleOn("completeManager"))&&(this.authService.hasSomeRole(["ADM","SDM","EDI"])||this.authService.hasSomeRole(["ADM","SDM","EDI","COA","COO"])&&this.iswebPublic||this.iswebPublic&&(this.authService.hasPermissionWOLogout("PUB")||this.authService.hasPermissionWOLogout("NTF"))),type:"icon",icon:"fa-light fa-circle-plus",class:()=>this.appService.getIsAdmin()?"text":!this.scrolled||this.appService.getIsAdmin()||this.appService.getIsUserPage()?"dark":"scrolled"},notif:{tooltip:"global.common.notices",condition:()=>this.isLogged&&this.isClupik,type:"icon",icon:"fa-light fa-bell",class:()=>this.appService.getIsAdmin()?"text":!this.scrolled||this.appService.getIsAdmin()||this.appService.getIsUserPage()?"dark":"scrolled"},cart:{tooltip:"global.common.shopping_cart",condition:()=>this.shopActive&&!this.appService.getIsAdmin(),type:"icon",icon:"fa-light fa-shopping-cart",class:()=>this.appService.getIsAdmin()?"text":!this.scrolled||this.appService.getIsAdmin()||this.appService.getIsUserPage()?"dark":"scrolled"},home:{tooltip:this.globalVars.app?"global.common.web_app":"global.common.web",condition:()=>!(this.isWebOff||!this.isClupik&&this.clubsService.hasModuleOff("completeManager")||this.clubsService.isThisClubProtectiveEntity())&&(this.appService.getIsAdmin()||this.appService.getIsUserPage()?!!(this.clubsService.isWebPublic||this.clubsService.isWebPrivate||this.clubsService.isWebDraft&&this.authService.isAdministrator()):this.iswebPublic),type:"icon",icon:"fa-light fa-home",class:()=>this.appService.getIsAdmin()?"text":!this.scrolled||this.appService.getIsAdmin()||this.appService.getIsUserPage()?"dark":"scrolled"},admin:{tooltip:"global.common.dashboard",condition:()=>!this.appService.getIsAdmin()&&(!!this.hasPermissions(["SDM"])||(this.clubsService.isClubCompetitionManager()?this.hasPermissions(["ADM","EDI"])&&!this.appService.getIsUserPage():this.hasPermissions(["ADM","EDI","ACC","COA","COO","ADF"])&&!this.appService.getIsUserPage())),type:"icon",icon:"fa-light fa-tachometer-alt-fast",class:()=>this.appService.getIsAdmin()?"text":!this.scrolled||this.appService.getIsAdmin()||this.appService.getIsUserPage()?"dark":"scrolled"},lang:{tooltip:"global.placeholder.language",condition:()=>this.clubLanguages?.length>1,type:"icon",icon:"fa-light fa-globe",class:()=>this.appService.getIsAdmin()?"text":!this.scrolled||this.appService.getIsAdmin()||this.appService.getIsUserPage()?"dark":"scrolled"}}}ngOnDestroy(){this.sub1?.unsubscribe(),this.sub2?.unsubscribe(),this.sub3?.unsubscribe(),this.sub4?.unsubscribe(),this.sub5?.unsubscribe(),this.sub6?.unsubscribe(),this.sub7?.unsubscribe(),this.sub8?.unsubscribe(),this.sub9?.unsubscribe(),this.sub11?.unsubscribe()}checkShop(){return this.iswebPublic&&this.clubsService.hasActiveModule("shop")&&null!=this.clubsService.getClubData().shopConfig&&this.clubsService.getClubData().clubWebConfig.shopActive}ngOnInit(){if(this.clubData=this.clubsService.getClubData(),this.shopActive=this.checkShop(),this.isClupik){if(this.isLoginVisible=this.clubData?.clubWebConfig?.loginVisible,(0,e.UE)(this.platformId)&&this.shoppingCartService.getAllData().length>0){let c=0;
1this.shoppingCartService.getAllData().forEach(S=>{c+=S.units}),this.shoppingCartBadge=c>0?c>9?"9+":`${c}`:null}this.getUserInfo(),this.getUserNotificationsNumber(),this.checkPermissions()}}preventClickEvent(c){c.stopPropagation()}changeLanguage(c){this.popoverCtrl.dismiss(),this.appService.broadcast("changeLanguage",{lastLanguage:this.clubsService.getLanguageInUseCode(),language:c})}goToTeam(c){this.authService.managesTeam(c.id)?this.router.navigate(["/admin/teams/list"]).then(()=>{this.menuService.setCurrent("/admin/teams/list"),setTimeout(()=>{this.appService.broadcast("addNewTabFromHome",{title:c.editableName?c.editableName:c.febName?c.febName:c.name,type:"team",data:c,url:`./team/${c.id}`,lastUrl:`./team/${c.id}`,renderComponent:f.l,iconType:"team",fixed:!1})},1500)}):(this.appService.broadcast("activeMainTab",{}),this.router.navigate([`/team/${c.id}`]))}logout(){this.authService.logout(),this.router.navigate(["/"+this.clubsService.getLanguageInUseCode()]).then(()=>{this.menuService.resetModel(),localStorage.removeItem("kickly"),this.getUserInfo(),this.checkPermissions(),this.clubsService.broadcast("reloadMenus",!0),this.appService.broadcast("logout",{})})}hasPermissions(c){return this.authService.hasSomeRole(c)}checkPermissions(){this.isLogged?(this.canPublish=this.authService.hasSomeRole(["ADM","SDM","EDI","COA","COO"]),this.isClubUser=this.authService.isClubUser()):(this.isClubUser=!1,this.isAdmin=!1,this.isSuper=!1,this.isEditor=!1,this.canPublish=!1)}getUserInfo(){this.isLogged&&(this.name=this.authService.getName(),this.userUser=this.authService.getUsername(),this.userId=this.authService.getId(),this.isAdmin=this.authService.isAdministrator(),this.isSuper=this.authService.isSuperAdmin(),this.isEditor=this.authService.isEditor(),this.isCoach=this.authService.isCoachClub(),this.userLink="/user/"+this.userUser,this.getTeamsFromUser())}getTeamsFromUser(){var c=this;return(0,g.A)(function*(){const S=yield c.apiSeasonsService.getCurrentSeason();c.currentSeasonId=S?S.id:"-1",c.userTeams=[],c.apiTeamsService.getAllTeamsFromUser(c.currentSeasonId,c.authService.getMe().id,!0,c.clubsService.getClubId()).subscribe(I=>{Object.keys(I).forEach(rt=>{c.userTeams.some(ht=>ht.id===I[rt].team.id)||c.userTeams.push(I[rt].team)}),c.loadedTeams=c.userTeams.length>0})})()}goToCart(){this.router.url.includes("/store/purchase/summary")?this.router.navigate([`/${this.clubsService.getLanguageInUseCode()}/store/`]):this.dialog.open(W.w,{data:{type:"leave-checkout",actionsAlign:"center center",title:"leave-checkout-title",confirmText:"leave-checkout-confirm",cancelText:"leave-checkout-cancel"},panelClass:"modal-md"}).afterClosed().subscribe(c=>{!0===c&&this.router.navigate([`/${this.clubsService.getLanguageInUseCode()}/store/cart`])})}getUserNotificationsNumber(){this.isLogged?this.apiMessagesService.getInAppNotifications("true",0,0,"true",0,0).subscribe(c=>{this.notificationNumber=c.unread,this.taskNumber=c.undone;let S=this.notificationNumber+this.taskNumber;this.noticesBadge=0===S?null:S>=10?"9+":S.toString()}):(this.notificationNumber=null,this.taskNumber=null,this.noticesBadge=null)}readNotifications(c){"all"===c?this.notificationNumber=0:this.notificationNumber-=c;let S=this.notificationNumber+this.taskNumber;this.noticesBadge=0===S?null:S>=10?"9+":S.toString()}openLogin(){var c=this;return(0,g.A)(function*(){(yield c.modalService.openModal({component:P.v,modalSize:"no-padding",data:{data:{imageClub:c.imagesService.getUrlImagesFromClub().navbar,clubId:c.clubsService.getClubId()}}})).data&&(c.clubsService.broadcast("reloadMenus",{}),c.appService.broadcast("login",{}))})()}goHome(){this.router.navigate(["/"+this.clubsService.getLanguageInUseCode()])}goToProfile(){this.clubsService.isThisClubProtectiveEntity?this.router.navigate(["/"+this.clubsService.getLanguageInUseCode()+this.userLink+"/settings/basics"]).then(()=>this.appService.setIsUserPage(!0)):this.router.navigate(["/"+this.clubsService.getLanguageInUseCode()+this.userLink+"/settings/general"]).then(()=>this.appService.setIsUserPage(!0))}goToCalendar(){this.router.navigate(["/"+this.clubsService.getLanguageInUseCode()+this.userLink+"/settings/calendar"])}goAdmin(){if(this.clubsService.isClubCompetitionManager())this.router.navigate(["/"+this.clubsService.getLanguageInUseCode()+"/admin/settings"]).then(()=>{this.menuService.setCurrent("/admin/settings")});else if(this.clubsService.isNaiveClub&&this.clubsService.hasActiveModule("leverade")){const c=this._apiLeveradeService.CachedFederations;this.router.navigate(["/"+this.clubsService.getLanguageInUseCode()+`/admin/leverade/${btoa(c[0].leveradeClubId)}/init`])}else{const c=this.authService.newHasSomeRole(["INF"])&&this.clubsService.isThisClubProtected(),S=this.clubsService.isThisClubProtected()&&"naive"==this.clubsService.clubData.status,I=c||S?"/admin/protected/info":"/admin/home";this.router.navigate(["/"+this.clubsService.getLanguageInUseCode()+I]).then(()=>{this.menuService.setCurrent(I)})}}cancel(c){this.popoverCtrl.dismiss(c)}openPop(c,S,I){var Y=this;return(0,g.A)(function*(){const rt={user:{component:k.D},new:{component:x.c},lang:{component:st,componentProps:{popoverCtrl:Y.popoverCtrl,clubLanguages:Y.clubLanguages}}
1,cart:{component:_.N},notif:{component:G.tR,cssClass:"pop-triger notifications",alignment:"center",componentProps:{selectedTab:Y.taskNumber>0?0:1,navbarTop:!0}}};yield(yield Y.popoverCtrl.create({id:I,event:c,alignment:"center",side:"bottom",cssClass:"pop-triger",reference:"trigger",showBackdrop:!1,...rt[S]})).present()})()}static \u0275fac=function(S){return new(S||U)(o.rXU(V.Y),o.rXU(pt.PopoverController),o.rXU(D.n),o.rXU(m.d),o.rXU(O.u),o.rXU(y.M),o.rXU(E.X),o.rXU(ct.Ix),o.rXU(u.o),o.rXU(M.M),o.rXU(z.h),o.rXU(R.$),o.rXU(N.Q),o.rXU(h.k),o.rXU(v.Y),o.rXU(lt.w),o.rXU(o.Agw))};static \u0275cmp=o.VBU({type:U,selectors:[["app-main-nav-actions"]],viewQuery:function(S,I){if(1&S&&o.GBs(K.N,5),2&S){let Y;o.mGM(Y=o.lsd())&&(I.sheet=Y.first)}},inputs:{scrolled:"scrolled"},standalone:!1,decls:10,vars:14,consts:[[1,"main-nav-actions",3,"ngClass"],[1,"buttons"],[3,"click","features","showAlert"],["config","main","size","md",3,"bubble","tooltip","type","class","icon"],["config","main","size","md",3,"tooltip","type","class","icon"],[1,"user-topbar"],["title","'global.button.login' | translate",1,"user-topbar"],["config","main","size","md",3,"click","tooltip","type","icon"],["config","main","size","md",3,"click","bubble","tooltip","type","icon"],["config","main","size","md",3,"bubble","tooltip","type","icon"],[1,"user-topbar",3,"click"],["appLazyLoadImage","","type","user",1,"img-fluid","img-circle",3,"src"],["title","'global.button.login' | translate",1,"user-topbar",3,"click"],[1,"fa-solid","fa-user-circle"]],template:function(S,I){1&S&&(o.j41(0,"div",0),o.nVh(1,X,1,0,"app-search-bar"),o.j41(2,"div",1),o.nVh(3,at,2,2),o.j41(4,"app-clupik-feature-lock",2),o.bIt("click",function(rt){return I.openPop(rt,"cart",I.hashcart)}),o.nVh(5,Tt,1,6,"app-clupik-button",3),o.k0s(),o.nVh(6,Ut,2,2),o.nVh(7,At,1,5,"app-clupik-button",4),o.k0s(),o.nVh(8,yt,2,1,"button",5),o.nVh(9,Nt,3,3,"button",6),o.k0s()),2&S&&(o.Y8G("ngClass",o.l_i(10,vt,I.appService.getIsAdmin()||I.appService.getIsUserPage(),!I.appService.getIsAdmin()&&!I.appService.getIsUserPage())),o.R7$(),o.vxM(I.isClupik&&!I.clubsService.isThisClubProtectiveEntity()&&I.appService.getIsAdmin()&&(I.isAdmin||I.isCoach)?1:-1),o.R7$(2),o.vxM(I.isLogged&&!I.clubsService.isThisClubProtectiveEntity()?3:-1),o.R7$(),o.Y8G("features",o.lJ4(13,_t))("showAlert",!1),o.R7$(),o.vxM(I.buttonsConfig.cart.condition()?5:-1),o.R7$(),o.vxM(I.isLogged?6:-1),o.R7$(),o.vxM(I.buttonsConfig.lang.condition()?7:-1),o.R7$(),o.vxM(I.isLogged?8:-1),o.R7$(),o.vxM(!I.isLogged&&I.isLoginVisible?9:-1))},dependencies:[p.L,et.YU,A.J,j.U,J.n,tt.D9],styles:[".main-nav-actions[_ngcontent-%COMP%]{height:var(--main-nav-top);display:flex;align-items:center}.main-nav-actions[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{margin-left:10px}.main-nav-actions.public[_ngcontent-%COMP%]   .buttons[_ngcontent-%COMP%]{gap:8px;display:flex;align-items:center}.main-nav-actions.admin[_ngcontent-%COMP%]   .buttons[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;margin:0 var(--module);gap:6px}.main-nav-actions.admin[_ngcontent-%COMP%]   .user-topbar[_ngcontent-%COMP%]{margin-left:0;background-color:var(--skeleton);border-radius:50px}.main-nav-actions.admin[_ngcontent-%COMP%]   .user-topbar[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:30px;height:30px;min-width:30px}.main-nav-actions[_ngcontent-%COMP%]   .user-topbar[_ngcontent-%COMP%]   .fa-user-circle[_ngcontent-%COMP%]{font-size:30px}.main-nav-actions[_ngcontent-%COMP%]   .btn-navbar-top[_ngcontent-%COMP%]{width:30px;min-width:30px;height:30px;display:flex;justify-content:center;align-items:center;border-radius:30px;background-color:#ffffff1a;color:var(--primary-text)}.main-nav-actions[_ngcontent-%COMP%]   .btn-navbar-top.mat-badge-content[_ngcontent-%COMP%], .main-nav-actions[_ngcontent-%COMP%]   .btn-navbar-top[_ngcontent-%COMP%]   .mat-badge-content[_ngcontent-%COMP%]{background-color:var(--secondary-clupik-color);color:var(--secondary-clupik-text);top:-4px;right:-6px}.main-nav-actions[_ngcontent-%COMP%]   .btn-navbar-top[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{margin:0}.main-nav-actions[_ngcontent-%COMP%]   .btn-navbar-top[aria-expanded=true][_ngcontent-%COMP%]{color:var(--primary);background-color:var(--primary-text)}.main-nav-actions[_ngcontent-%COMP%]   .user-topbar[_ngcontent-%COMP%]{display:flex;align-items:center;color:var(--primary-text)}.main-nav-actions[_ngcontent-%COMP%]   .user-topbar[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:30px;min-width:30px;height:30px;object-fit:cover}.main-nav-actions[_ngcontent-%COMP%]   .user-topbar[_ngcontent-%COMP%]   .name[_ngcontent-%COMP%]{margin-right:10px;font-family:var(--general-font)}.main-nav-actions.scrolled[_ngcontent-%COMP%]   .user-topbar[_ngcontent-%COMP%]   .fa-user-circle[_ng
1content-%COMP%]{color:var(--navbar-menu-text)}.main-nav-actions.scrolled[_ngcontent-%COMP%]   .btn-navbar-top[_ngcontent-%COMP%]{color:var(--navbar-menu-text);background-color:#0000000d}.main-nav-actions.scrolled[_ngcontent-%COMP%]   .btn-navbar-top.mat-badge-content[_ngcontent-%COMP%], .main-nav-actions.scrolled[_ngcontent-%COMP%]   .btn-navbar-top[_ngcontent-%COMP%]   .mat-badge-content[_ngcontent-%COMP%]{background-color:var(--navbar-menu-text);color:var(--navbar-menu-bg-color)}i[_ngcontent-%COMP%]{color:var(--primary-text)}"]})}return U})()},20724:(F,b,t)=>{t.d(b,{p:()=>v});var g=t(43184),e=t(73664),o=t(2615);let v=(()=>{class u{static \u0275fac=function(O){return new(O||u)};static \u0275mod=e.$C({type:u});static \u0275inj=o.G2t({imports:[g.Q]})}return u})()},28107:(F,b,t)=>{t.d(b,{H:()=>v});var g=t(43184),e=t(73664),o=t(2615);let v=(()=>{class u{static \u0275fac=function(O){return new(O||u)};static \u0275mod=e.$C({type:u});static \u0275inj=o.G2t({imports:[g.Q]})}return u})()},28793:(F,b,t)=>{t.d(b,{r:()=>ct});var g=t(1975),e=t(59115),o=t(68913),v=t(55748),u=t(72200),h=t(49189),m=t(7030),O=t(35745),E=t(73664),y=t(2615);t(35167);let N=(()=>{class M{static \u0275fac=function(A){return new(A||M)};static \u0275mod=E.$C({type:M});static \u0275inj=y.G2t({imports:[u.MD,h.G,m.g,O.C]})}return M})();var D=t(26929),K=t(3034),W=t(96853),P=t(99012),G=t(21867),_=t(66456),f=t(66124),x=t(48736),k=t(15849),V=t(43745),n=t(37554),T=t(58430),et=t(83928),q=t(83304),ot=t(96457);let st=(()=>{class M{static \u0275fac=function(A){return new(A||M)};static \u0275mod=E.$C({type:M});static \u0275inj=y.G2t({imports:[u.MD,h.G,G.v,f.M,x.h,k.n,V.H,n.$,T.A,et.D,q.p,ot.N]})}return M})();var lt=t(46536);t(15110);let ct=(()=>{class M{static \u0275fac=function(A){return new(A||M)};static \u0275mod=E.$C({type:M});static \u0275inj=y.G2t({imports:[e.Cn,g.Y,o.a,v.C,N,D.V,K.I,W.G,P.F,G.v,_.c,st,x.h,lt.K,k.n]})}return M})()},35167:(F,b,t)=>{t.d(b,{N:()=>ct});var g=t(10467),e=t(73664),o=t(69915),v=t(60152),u=t(6121),h=t(25615),m=t(2615),O=t(91029),E=t(75281),y=t(72200),R=t(33746),N=t(23620),D=t(89417),K=t(53986),W=t(69415),P=t(6688),G=t(68018);function _(M,z){if(1&M){const p=e.RV6();e.j41(0,"div",4)(1,"div")(2,"div",5),e.EFF(3),e.nI1(4,"translate"),e.k0s(),e.j41(5,"div",6),e.EFF(6),e.nI1(7,"translate"),e.k0s()(),e.j41(8,"div",7)(9,"button",8),e.bIt("click",function(j){return m.eBV(p),e.XpG().clearShoppingCart(),m.Njj(j.stopPropagation())}),e.EFF(10),e.nI1(11,"translate"),e.k0s()()()}if(2&M){const p=e.XpG();e.R7$(3),e.JRh(e.bMT(4,4,"module.store.my_cart")),e.R7$(3),e.Lme("",p.products.length," ",e.bMT(7,6,"module.store.units_shopping_cart")),e.R7$(4),e.JRh(e.bMT(11,8,"module.store.empty_cart"))}}function f(M,z){1&M&&(e.j41(0,"div",4)(1,"div",5),e.EFF(2),e.nI1(3,"translate"),e.k0s()()),2&M&&(e.R7$(2),e.JRh(e.bMT(3,1,"module.store.my_cart")))}function x(M,z){if(1&M&&(e.j41(0,"span",29),e.EFF(1),e.k0s()),2&M){const p=z.$implicit,A=e.XpG().$implicit;e.R7$(),e.Lme("",p,": ",A.product.name[p])}}function k(M,z){if(1&M&&(e.j41(0,"span",29),e.EFF(1),e.k0s()),2&M){const p=z.$implicit,A=e.XpG().$implicit;e.R7$(),e.Lme("",p,": ",A.product.customFields[p])}}function V(M,z){if(1&M){const p=e.RV6();e.j41(0,"button",30),e.bIt("click",function(j){m.eBV(p);const J=e.XpG().$implicit;return e.XpG(2).removeFromShoppingCart(J),m.Njj(j.stopPropagation())}),e.nrm(1,"i",31),e.k0s()}}function n(M,z){if(1&M){const p=e.RV6();e.j41(0,"button",32),e.bIt("click",function(j){m.eBV(p);const J=e.XpG().$implicit;return e.XpG(2).changeAmount(J,-1),m.Njj(j.stopPropagation())}),e.nrm(1,"i",33),e.k0s()}}function T(M,z){1&M&&(e.j41(0,"p",34),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&M&&(e.R7$(),e.JRh(e.bMT(2,1,"module.store.no_stock")))}function et(M,z){if(1&M&&(e.j41(0,"div",35),e.EFF(1),e.k0s()),2&M){const p=e.XpG().$implicit,A=e.XpG(2);e.R7$(),e.JRh(A.globalVars.getFormattedStringMoney(p.product.productGroupSubPrice[0].data[0].taxSalePrice*p.units))}}function q(M,z){if(1&M&&(e.j41(0,"div",35),e.EFF(1),e.k0s()),2&M){const p=e.XpG().$implicit,A=e.XpG(2);e.R7$(),e.JRh(A.globalVars.getFormattedStringMoney(p.product.productGroupSubPrice[0].data[0].taxPr
1ice*p.units))}}function ot(M,z){if(1&M){const p=e.RV6();e.j41(0,"div",11)(1,"div",12)(2,"div",13)(3,"figure"),e.nrm(4,"img",14),e.k0s()(),e.j41(5,"div",15)(6,"div",16),e.nI1(7,"translate"),e.bIt("click",function(){const j=m.eBV(p).$implicit,J=e.XpG(2);return m.Njj(J.goToProduct(j.product.productId))}),e.EFF(8),e.k0s(),e.j41(9,"div",17),e.DNE(10,x,2,2,"span",18)(11,k,2,2,"span",18),e.k0s(),e.j41(12,"div",19),e.DNE(13,V,2,0,"button",20)(14,n,2,0,"button",21),e.j41(15,"mat-form-field",22)(16,"input",23),e.bIt("ngModelChange",function(j){const J=m.eBV(p).$implicit;return m.Njj(J.units=j)})("blur",function(){const j=m.eBV(p).$implicit,J=e.XpG(2);return m.Njj(J.clampAmount(j))}),e.k0s()(),e.j41(17,"button",24),e.bIt("click",function(j){const J=m.eBV(p).$implicit;return e.XpG(2).changeAmount(J,1),m.Njj(j.stopPropagation())}),e.nrm(18,"i",25),e.k0s(),e.j41(19,"button",8),e.bIt("click",function(j){const J=m.eBV(p).$implicit;return e.XpG(2).removeFromShoppingCart(J),m.Njj(j.stopPropagation())}),e.EFF(20),e.nI1(21,"translate"),e.k0s()(),e.DNE(22,T,3,3,"p",26),e.k0s(),e.j41(23,"div",27),e.DNE(24,et,2,1,"div",28)(25,q,2,1,"div",28),e.k0s()()()}if(2&M){const p=z.$implicit;e.R7$(4),e.Y8G("src",p.product.image,e.B4B),e.R7$(2),e.BMQ("aria-label",e.bMT(7,15,"store.go_to_product")),e.R7$(2),e.JRh(p.product.title),e.R7$(2),e.Y8G("ngForOf",p.product.attNames),e.R7$(),e.Y8G("ngForOf",p.product.customFieldNames),e.R7$(2),e.Y8G("ngIf",p.units<=1),e.R7$(),e.Y8G("ngIf",p.units>=2),e.R7$(2),e.Y8G("ngModel",p.units)("min",1)("max",99),e.R7$(),e.Y8G("disabled",p.units>=99||p.noMoreStock),e.R7$(3),e.JRh(e.bMT(21,17,"global.button.remove")),e.R7$(2),e.Y8G("ngIf",p.noMoreStock),e.R7$(2),e.Y8G("ngIf",p.product.onSale),e.R7$(),e.Y8G("ngIf",!p.product.onSale)}}function st(M,z){if(1&M&&(e.j41(0,"div",9),e.DNE(1,ot,26,19,"div",10),e.k0s()),2&M){const p=e.XpG();e.R7$(),e.Y8G("ngForOf",p.products)}}function lt(M,z){if(1&M){const p=e.RV6();e.j41(0,"div",9)(1,"app-empty-space",36),e.bIt("buttonAction",function(j){m.eBV(p);const J=e.XpG();return m.Njj(J.goToStoreHome(j))}),e.k0s()()}if(2&M){const p=e.XpG();e.R7$(),e.Y8G("isButtonOutlined",!0)("isLink",!1)("isMedium",!0)("textArray",p.textArray)}}function pt(M,z){if(1&M){const p=e.RV6();e.j41(0,"div",37)(1,"div",38)(2,"span"),e.EFF(3),e.nI1(4,"translate"),e.k0s(),e.j41(5,"span"),e.EFF(6),e.k0s()(),e.j41(7,"app-button-main",39),e.bIt("buttonAction",function(){m.eBV(p);const j=e.XpG();return m.Njj(j.goToCheckout())}),e.k0s()()}if(2&M){const p=e.XpG();e.R7$(3),e.SpI("",e.bMT(4,8,"module.store.sub_total"),":"),e.R7$(3),e.JRh(p.globalVars.getFormattedStringMoney(p.shoppingCartService.finalPrice)),e.R7$(),e.Y8G("isFullWidth",!0)("hasIcon","left")("icon","fa-regular fa-shopping-cart")("isMain",!0)("value","module.store.finish_buying")("size","small")}}let ct=(()=>{class M{shoppingCartService;clubsService;router;globalVars;appService;popoverCtrl;platformId;products=[];coinSymbol;textArray=["module.store.ups_empty_cart","module.store.explore_store_and_add"];constructor(p,A,j,J,tt,vt,_t){this.shoppingCartService=p,this.clubsService=A,this.router=j,this.globalVars=J,this.appService=tt,this.popoverCtrl=vt,this.platformId=_t}ngOnInit(){this.appService.broadcast("navbarBottomVisibility",{show:!1}),this.coinSymbol=this.clubsService.getClubData().clubConfig.coin.symbol,this.products=JSON.parse(JSON.stringify(this.shoppingCartService.getAllData()));for(let p of this.products)p.product.attNames=null!=p.product.name?Object.keys(p.product.name):null,p.product.customFieldNames=null!=p.product.customFields?Object.keys(p.product.customFields):null}changeAmount(p,A){p.product.sellWithoutStock||p.product.stock>=p.units+A||null==p.product.stock?(p.noMoreStock=!1,p.units+=A,this.shoppingCartService.changeAmount(p.product.id,p.units),this.shoppingCartService.broadcast("changeAmount",p),this.clampAmount(p)):p.noMoreStock=!0}clampAmount(p){p.units<1&&(p.units=1),p.units>99&&(p.units=99),this.shoppingCartService.changeAmount(p.product.id,p.units),this.shoppingCartService.broadcast("changeAmount",p)}removeFromShoppingCart(p){this.products.splice(this.products.findIndex(A=>A.product.id===p.product.id),1),this.shoppingCartService.removeDataFromCart(p.product.id),this.shoppingCartService.broadcast("removeFromShoppingCart",p.product.id)}clearShoppingCart(){this.products=[],this.shoppingCartService.removeAllDataFromCart(),this.shoppingCartService.broadcast("deleteC
1art",{})}goToCheckout(){this.close(),this.shoppingCartService.broadcast("closeStoreWidget",{});let p=this.clubsService.getLanguageInUseCode();this.router.navigate([`/${p}/store/cart`])}goToStoreHome(){this.close(),this.shoppingCartService.broadcast("closeStoreWidget",{});let p=this.clubsService.getLanguageInUseCode();this.router.navigate([`/${p}/store/home`])}goToProduct(p){this.close(),this.shoppingCartService.broadcast("closeStoreWidget",{});let A=this.clubsService.getLanguageInUseCode();this.router.navigate([`/${A}/store/category/all/product/${p}`])}close(){var p=this;return(0,g.A)(function*(){const A=yield p.popoverCtrl.getTop();A&&(yield A.dismiss(null,null))})()}static \u0275fac=function(A){return new(A||M)(e.rXU(u.Q),e.rXU(v.X),e.rXU(O.Ix),e.rXU(h.Y),e.rXU(o.d),e.rXU(E.PopoverController),e.rXU(e.Agw))};static \u0275cmp=e.VBU({type:M,selectors:[["app-store-shopping-cart-widget"]],standalone:!1,decls:7,vars:5,consts:[["id","shopping-cart-container",3,"click","keyUp"],["class","shopping-cart-header",4,"ngIf"],["class","shopping-cart-body",4,"ngIf"],["class","shopping-cart-footer",4,"ngIf"],[1,"shopping-cart-header"],[1,"title"],[1,"subtitle"],[1,"actions-right"],[1,"btn-text",3,"click"],[1,"shopping-cart-body"],["class","each-product",4,"ngFor","ngForOf"],[1,"each-product"],[1,"fix"],[1,"image-preview"],["appLazyLoadImage","","type","club",3,"src"],[1,"product-info"],["role","button","tabindex","0",1,"title",3,"click"],[1,"attributes-list"],["class","attribute",4,"ngFor","ngForOf"],[1,"counter"],["class","btn-icon",3,"click",4,"ngIf"],["class","btn-circle-sum",3,"click",4,"ngIf"],["appearance","outline",1,"store-counter","no-error-padding"],["matInput","","type","number",3,"ngModelChange","blur","ngModel","min","max"],[1,"btn-circle-sum",3,"click","disabled"],[1,"fa-light","fa-plus"],["class","danger",4,"ngIf"],[1,"product-price"],["class","price",4,"ngIf"],[1,"attribute"],[1,"btn-icon",3,"click"],[1,"fa-light","fa-trash"],[1,"btn-circle-sum",3,"click"],[1,"fa-light","fa-minus"],[1,"danger"],[1,"price"],["svgImage","empty_shopping_cart","buttonText","module.store.explore_store",3,"buttonAction","isButtonOutlined","isLink","isMedium","textArray"],[1,"shopping-cart-footer"],[1,"final-preview"],[3,"buttonAction","isFullWidth","hasIcon","icon","isMain","value","size"]],template:function(A,j){1&A&&(e.j41(0,"ion-content")(1,"div",0),e.bIt("click",function(tt){return tt.stopPropagation()})("keyUp",function(tt){return tt.stopPropagation()}),e.DNE(2,_,12,10,"div",1)(3,f,4,3,"div",1)(4,st,2,1,"div",2)(5,lt,2,4,"div",2)(6,pt,8,10,"div",3),e.k0s()()),2&A&&(e.R7$(2),e.Y8G("ngIf",j.products.length>0),e.R7$(),e.Y8G("ngIf",0===j.products.length),e.R7$(),e.Y8G("ngIf",j.products.length>0),e.R7$(),e.Y8G("ngIf",0===j.products.length),e.R7$(),e.Y8G("ngIf",j.products.length>0))},dependencies:[y.Sq,y.bT,R.fg,N.j,D.me,D.Q0,D.BC,D.VZ,D.zX,D.vS,K.J,W.p,P.H,G.D9],styles:["#shopping-cart-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;padding:12px 9px}@media (min-width: 992px){#shopping-cart-container[_ngcontent-%COMP%]{max-width:350px}}#shopping-cart-container[_ngcontent-%COMP%]   .shopping-cart-header[_ngcontent-%COMP%]{width:100%;display:flex;align-items:flex-start;justify-content:space-between}#shopping-cart-container[_ngcontent-%COMP%]   .shopping-cart-header[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{font-size:16px;line-height:19px;color:#141414;font-weight:700}#shopping-cart-container[_ngcontent-%COMP%]   .shopping-cart-header[_ngcontent-%COMP%]   .subtitle[_ngcontent-%COMP%]{font-weight:400;font-size:12px;line-height:14px;color:#141414}#shopping-cart-container[_ngcontent-%COMP%]   .shopping-cart-header[_ngcontent-%COMP%]   .actions-right[_ngcontent-%COMP%]   button.btn-text[_ngcontent-%COMP%]{font-weight:400;font-size:14px;line-height:16px;text-decoration-line:underline;color:var(--text-small)}#shopping-cart-container[_ngcontent-%COMP%]   .shopping-cart-body[_ngcontent-%COMP%]{width:100%;margin-top:12px;display:flex;flex-direction:column;align-items:center}#shopping-cart-container[_ngcontent-%COMP%]   .shopping-cart-body[_ngcontent-%COMP%]   .each-product[_ngcontent-%COMP%]{width:100%;padding:12px 6px;display:flex;justify-content:space-between;background-color:#fff;border-bottom:1px solid #dee2e6}#shopping-cart-container[_ngcontent-%COMP%]   .shopping-cart-body[_ngcontent-%COMP%]   .each-product[_ngcontent-%COMP%]:hover{background-color:#f8f9fa}#shopping-cart-container[_ngcontent-%COMP%]   .shopping-cart-body[_ngcontent-%COMP%]   .each-product[_ngcontent-%COMP%]:last-child{margin-bottom:24px;border-color:#0009}#shopping-cart-container[_ngcontent-%COMP%]   .shopping-cart-body[_ngcontent-%COMP%]   .each-product[_ngcontent-%COMP%]   .fix[_ngcontent-%COMP%]{flex-grow:1;display:flex;align-items:center;justify-content:flex-start}#shopping-cart-container[_ngcontent-%COMP%]   .shopping-cart-body[_ngcontent-%COMP%]   .each-product[_ngcontent-%COMP%]   .fix[_ngcontent-%COMP%]   .image-preview[_ngcontent-%COMP%]{align-self:flex-start;margin-right:12px}#shopping-cart-container[_ngcontent-%COMP%]   .shopping-cart-body[_ngcontent-%COMP%]   .each-product[_ngcontent-%COMP%]   .fix[_ngcontent-%COMP%]   .image-preview[_ngcontent-%COMP%]   figure[_ngcontent-%COMP%]{width:50px;height:50px;overflow:hidden;border-radius:6px}#shopping-cart-container[_ngcontent-%COMP%]   .shopping-cart-body[_ngcontent-%COMP%]   .each-product[_ngcontent-%COMP%]   .fix[_ngcontent-%COMP%]   .image-preview[_ngcontent-%COMP%]   figure[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:100%;height:100%;object-fit:cover;object-position:center}#shopping-cart-container[_ngcontent-%COMP%]   .shopping-cart-body[_ngcontent-%COMP%]   .each-product[_ngcontent-%COMP%]   .fix[_ngcontent-%COMP%]   .product-info[_ngcontent-%COMP%]{width:66.6666666667%;display:flex;flex-direction:column}#shopping-cart-container[_ngcontent-%COMP%]   .shopping-cart-body[_ngcontent-%COMP%]   .each-product[_ngcontent-%COMP%]   .fix[_ngcontent-%COMP%]   .product-info[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{font-weight:500;font-size:14px;line-height:16px;align-items:center;color:#141414;text-align:left;cursor:pointer}#shopping-cart-container[_ngcontent-%COMP%]   .shopping-cart-body[_ngcontent-%COMP%]   .each-product[_ngcontent-%COMP%]   .fix[_ngcontent-%COMP%]   .product-info[_ngcontent-%COMP%]   .attributes-list[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap;margin:4px 0 6px}#shopping-cart-container[_ngcontent-%COMP%]   .shopping-cart-body[_ngcontent-%COMP%]   .each-product[_ngcontent-%COMP%]   .fix[_ngcontent-%COMP%]   .product-info[_ngcontent-%COMP%]   .attributes-list[_ngcontent-%COMP%]   .attribute[_ng
1content-%COMP%]{font-weight:400;font-size:12px;line-height:14px;color:var(--text-small);margin-right:12px}#shopping-cart-container[_ngcontent-%COMP%]   .shopping-cart-body[_ngcontent-%COMP%]   .each-product[_ngcontent-%COMP%]   .fix[_ngcontent-%COMP%]   .product-info[_ngcontent-%COMP%]   .counter[_ngcontent-%COMP%]{display:flex;align-items:center}#shopping-cart-container[_ngcontent-%COMP%]   .shopping-cart-body[_ngcontent-%COMP%]   .each-product[_ngcontent-%COMP%]   .fix[_ngcontent-%COMP%]   .product-info[_ngcontent-%COMP%]   .counter[_ngcontent-%COMP%]   .store-counter[_ngcontent-%COMP%]{margin:0 8px 0 6px}#shopping-cart-container[_ngcontent-%COMP%]   .shopping-cart-body[_ngcontent-%COMP%]   .each-product[_ngcontent-%COMP%]   .fix[_ngcontent-%COMP%]   .product-info[_ngcontent-%COMP%]   .counter[_ngcontent-%COMP%]   .btn-text[_ngcontent-%COMP%]{margin-left:12px}#shopping-cart-container[_ngcontent-%COMP%]   .shopping-cart-body[_ngcontent-%COMP%]   .each-product[_ngcontent-%COMP%]   .fix[_ngcontent-%COMP%]   .product-info[_ngcontent-%COMP%]   .counter[_ngcontent-%COMP%]   button.btn-icon[_ngcontent-%COMP%]{margin:0}#shopping-cart-container[_ngcontent-%COMP%]   .shopping-cart-body[_ngcontent-%COMP%]   .each-product[_ngcontent-%COMP%]   .fix[_ngcontent-%COMP%]   .product-info[_ngcontent-%COMP%]   .counter[_ngcontent-%COMP%]   button.btn-icon[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]:before{font-size:22px}#shopping-cart-container[_ngcontent-%COMP%]   .shopping-cart-body[_ngcontent-%COMP%]   .each-product[_ngcontent-%COMP%]   .fix[_ngcontent-%COMP%]   .product-info[_ngcontent-%COMP%]   .counter[_ngcontent-%COMP%]   button.btn-icon[_ngcontent-%COMP%]   i.fa-trash[_ngcontent-%COMP%]:before{font-size:20px}#shopping-cart-container[_ngcontent-%COMP%]   .shopping-cart-body[_ngcontent-%COMP%]   .each-product[_ngcontent-%COMP%]   .fix[_ngcontent-%COMP%]   .product-info[_ngcontent-%COMP%]   .counter[_ngcontent-%COMP%]   button.btn-text[_ngcontent-%COMP%]{font-weight:400;font-size:14px;line-height:16px;text-decoration-line:underline;color:var(--text-small)}#shopping-cart-container[_ngcontent-%COMP%]   .shopping-cart-body[_ngcontent-%COMP%]   .each-product[_ngcontent-%COMP%]   .product-price[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:flex-end;width:16.6666666667%}#shopping-cart-container[_ngcontent-%COMP%]   .shopping-cart-body[_ngcontent-%COMP%]   .each-product[_ngcontent-%COMP%]   .product-price[_ngcontent-%COMP%]   .price[_ngcontent-%COMP%]{text-align:right;font-weight:700;font-size:16px;line-height:19px;color:#141414}#shopping-cart-container[_ngcontent-%COMP%]   .final-preview[_ngcontent-%COMP%]{width:100%;display:flex;justify-content:space-between;margin-bottom:24px}#shopping-cart-container[_ngcontent-%COMP%]   .final-preview[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{font-weight:700;font-size:16px;line-height:19px;color:#141414}#shopping-cart-container[_ngcontent-%COMP%]   .shopping-cart-footer[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%}#shopping-cart-container[_ngcontent-%COMP%]   .shopping-cart-footer[_ngcontent-%COMP%]   .btn-primary[_ngcontent-%COMP%]{width:100%}#shopping-cart-container[_ngcontent-%COMP%]   .shopping-cart-footer[_ngcontent-%COMP%]   .btn-primary[_ngcontent-%COMP%]   .fix[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center}#shopping-cart-container[_ngcontent-%COMP%]   .shopping-cart-footer[_ngcontent-%COMP%]   .btn-primary[_ngcontent-%COMP%]   .fix[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%]{display:block;margin-right:8px}#shopping-cart-container[_ngcontent-%COMP%]   .shopping-cart-footer.explore[_ngcontent-%COMP%]{width:40%;margin:0 auto}#shopping-cart-container[_ngcontent-%COMP%]   input[type=number][_ngcontent-%COMP%]{appearance:textfield}#shopping-cart-container[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]::-webkit-outer-spin-button, #shopping-cart-container[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]::-webkit-inner-spin-button{-webkit-appearance:none}app-button-main[_ngcontent-%COMP%]{width:100%}"]})}return M})()},35480:(F,b,t)=>{t.d(b,{Z:()=>O});var g=t(49189),e=t(18116),o=t(35745),v=t(77540),u=t(62470),h=t(73664),m=t(2615);let O=(()=>{class E{static \u0275fac=function(N){return new(N||E)};static \u0275mod=h.$C({type:E});static \u0275inj=m.G2t({imports:[v.e,o.C,g.G,e.Z,u.k]})}return E})()},37554:(F,b,t)=>{t.d(b,{$:()=>G});var g=t(72200),e=t(49189),o=t(62470),v=t(66124),u=t(5653),h=t(7030),m=t(37808),O=t(21867),E=t(48749),y=t(19348),R=t(6212),N=t(35375),D=t(73664),K=t(2615);let W=(()=>{class _{static \u0275fac=function(k){return new(k||_)};static \u0275mod=D.$C({type:_});static \u0275inj=K.G2t({imports:[g.MD,e.G,v.M,m.c,h.g,E.P,y.x,R.m,N.J]})}return _})();var P=t(49699);let G=(()=>{class _{static \u0275fac=function(k){return new(k||_)};static \u0275mod=D.$C({type:_});static \u0275inj=K.G2t({imports:[g.MD,e.G,o.k,v.M,u.x,h.g,m.c,O.v,W,P.C,R.m]})}return _})()},38948:(F,b,t)=>{t.d(b,{Fn:()=>o,mV:()=>u,wM:()=>v,zV:()=>e});const g="injuries";function e(h,m){const O=`user/${h}/${g}`;return m?`${O}/${m}`:O}const o="INJ";function v(h){return h?.medicalDischargeDate||h?.sportDischargeDate||null}function u(h){return!!v(h)}},43184:(F,b,t)=>{t.d(b,{Q:()=>f});var g=t(72200),e=t(21867),o=t(48749),v=t(10971),u=t(49699),h=t(37673),m=t(19348),O=t(58430),E=t(83928),y=t(37808),R=t(66124),N=t(68791),D=t(7377),K=t(35375),W=t(7030),P=t(49189),G=t(73664),_=t(2615);let f=(()=>{class x{static \u0275fac=function(n){return new(n||x)};static \u0275mod=G.$C({type:x});static \u0275inj=_.G2t({imports:[g.MD,P.G,h.b,v.m,o.P,u.C,m.x,K.J,W.g,e.v,y.c,R.M,E.D,O.A,N.I,D.y]})}return x})()},43745:(F,b,t)=>{t.d(b,{H:()=>y});
1var g=t(72200),e=t(49189),o=t(89007),v=t(11988),u=t(73340),h=t(97152),m=t(73664),O=t(2615);t(70094);let y=(()=>{class R{static \u0275fac=function(K){return new(K||R)};static \u0275mod=m.$C({type:R});static \u0275inj=O.G2t({imports:[g.MD,h.Z,u.J,o.L,v.P,e.G]})}return R})()},43910:(F,b,t)=>{t.d(b,{tR:()=>Wt});var g=t(10467),e=t(69915),o=t(98868),v=t(60152),u=t(26742),h=t(6961),m=t(51589),O=t(68010),E=t(25615),y=t(87113),R=t(13961),N=t(54843),D=t(59115),K=t(88678),W=t(1460),P=t(72204),G=t(61448),_=t(27126),f=t(3356),x=t(30002),k=t(94375),V=t(38948),n=t(73664),T=t(2615),et=t(91029),q=t(75281),ot=t(72200),st=t(60177);const lt=["svgElement"];let pt=(()=>{class d{platformId;iconUrl;svgElement;constructor(i){this.platformId=i}ngOnInit(){return(0,g.A)(function*(){})()}ngAfterViewInit(){(0,st.UE)(this.platformId)&&this.loadSVG()}loadSVG(){const i=this.svgElement.nativeElement,r=i.id,l=i.className;fetch(this.iconUrl).then(function(){var C=(0,g.A)(function*(H){const Q=yield H.text().catch(s=>{throw s});if(Q.startsWith("{")){const s=JSON.parse(Q);if("object"==typeof s&&s.message&&"EFILENOTFOUND"==s.message)throw Q}else{if(""===Q)throw"EFILENOTFOUND";{const B=(new DOMParser).parseFromString(Q,"text/xml").getElementsByTagName("svg")[0];void 0!==r&&B.setAttribute("id",r),void 0!==l&&B.setAttribute("class",l+" replaced-svg"),B.removeAttribute("xmlns:a"),!B.getAttribute("viewBox")&&B.getAttribute("height")&&B.getAttribute("width")&&B.setAttribute("viewBox","0 0 "+B.getAttribute("height")+" "+B.getAttribute("width")),i.parentNode.replaceChild(B,i)}}});return function(H){return C.apply(this,arguments)}}()).catch(C=>{})}static \u0275fac=function(r){return new(r||d)(n.rXU(n.Agw))};static \u0275cmp=n.VBU({type:d,selectors:[["app-svg-icon"]],viewQuery:function(r,l){if(1&r&&n.GBs(lt,7),2&r){let C;n.mGM(C=n.lsd())&&(l.svgElement=C.first)}},inputs:{iconUrl:"iconUrl"},standalone:!1,decls:2,vars:0,consts:[["svgElement",""],[1,"svg-icon"]],template:function(r,l){1&r&&n.nrm(0,"div",1,0)},encapsulation:2})}return d})();var ct=t(65571),M=t(96850),z=t(1975),p=t(82966),A=t(69415),j=t(15686),J=t(13779),tt=t(68018);const vt=["titleActionsTrigger"],_t=["menuOptionsTrigger"],X=d=>({"not-done":d}),St=d=>({unread:d});function mt(d,L){if(1&d&&(n.EFF(0),n.nI1(1,"translate"),n.nrm(2,"div",3)),2&d){const i=n.XpG();n.JRh(n.bMT(1,2,"global.common.tasks")),n.R7$(2),n.Y8G("matBadge",i.taskBadge)}}function at(d,L){if(1&d&&(n.j41(0,"figure",27),n.nrm(1,"img",28),n.k0s()),2&d){const i=n.XpG().$implicit;n.R7$(),n.Y8G("src",i.Icon,n.B4B)}}function Tt(d,L){if(1&d&&(n.j41(0,"div",29),n.nrm(1,"app-svg-icon",30),n.k0s()),2&d){const i=n.XpG().$implicit;n.R7$(),n.Y8G("iconUrl",i.Icon)}}function Et(d,L){if(1&d){const i=n.RV6();n.j41(0,"div",31),n.nrm(1,"div",32),n.nI1(2,"translate"),n.j41(3,"button",33),n.nI1(4,"translate"),n.bIt("click",function(l){T.eBV(i);const C=n.XpG().$implicit,H=n.XpG(2);return l.stopPropagation(),T.Njj(H.openNotificationInfoDialog(C))}),n.EFF(5),n.nI1(6,"translate"),n.k0s()()}if(2&d){const i=n.XpG().$implicit;n.R7$(),n.Y8G("innerHtml",n.i5U(2,3,"global.in_app_notifications.descriptions."+i.Description,i.Parameters),n.npT),n.R7$(2),n.BMQ("aria-label",n.bMT(4,6,"module.publications.see_more")),n.R7$(2),n.SpI(" ",n.bMT(6,8,"module.publications.see_more"))}}function Dt(d,L){if(1&d&&(n.nrm(0,"div",34),n.nI1(1,"translate")),2&d){const i=n.XpG().$implicit;n.Y8G("innerHTML",n.i5U(1,1,"global.in_app_notifications.descriptions."+i.Description,i.Parameters),n.npT)}}function Ut(d,L){1&d&&n.nrm(0,"i",35)}function At(d,L){1&d&&n.nrm(0,"i",36)}function yt(d,L){if(1&d){const i=n.RV6();n.j41(0,"div",14)(1,"div",15),n.nI1(2,"translate"),n.bIt("click",function(){const l=T.eBV(i).$implicit,C=n.XpG(2);return T.Njj(C.navigate(l))}),n.DNE(3,at,2,1,"figure",16)(4,Tt,2,1,"div",17),n.j41(5,"div",18)(6,"div",19),n.EFF(7),n.nI1(8,"translate"),n.k0s(),n.DNE(9,Et,7,10,"div",20)(10,Dt,2,4,"div",21),n.j41(11,"div",22),n.EFF(12),n.k0s()(),n.j41(13,"div",23),n.bIt("click",function(l){return T.eBV(i),T.Njj(l.stopPropagation())}),n.j41(14,"div",24),n.DNE(15,Ut,1,0,"i",25)(16,At,1,0,"i",26),n.k0s()()()()}if(2&d){const i=L.$implicit;n.R7$(),n.Y8G("ngClass",n.eq3(15,X,"TSK"===i.Type&&!i.Done)),n.BMQ("aria-label",n.bMT(2,10,"notifications.open_notification")),n.R7$(2),n.Y8G("ngIf",!i.IsSVG),n.R7$(),n.Y8G("ngIf",i.IsSVG),n.R7$(3),n.JRh(n.i5U(8,12,"global.in_app_notifications.titles."+i.Title,i.Parameters)),n.R7$(2),n.Y8G("ngIf",i.Parameters.messageDescription),n.R7$(),n.Y8G("ngIf",!i.Parameters.messageDescription),n.R7$(2),n.JRh(i.Date),n.R7$(3),n.Y8G("ngIf",!i.Done),n.R7$(),n.Y8G("ngIf",i.Done)}}function Nt(d,L){1&d&&(n.j41(0,"div",37),n.nrm(1,"app-skeleton-block"),n.k0s())}function xt(d,L){if(1&d&&(n.j41(0,"div",38),n.nrm(1,"app-empty-space",39),n.k0s()),2&d){const i=n.XpG(2);n.R7$(),n.Y8G("isLink",!0)("isMedium",!0)("textArray",i.noTasksTexts)}}function U(d,L){1&d&&n.nrm(0,"div",40)}function Z(d,L){if(1&d){const i=n.RV6();n.j41(0,"div",41)(1,"a",42),n.nI1(2,"translate"),n.bIt("click",function(){T.eBV(i);const l=n.XpG(2);return T.Njj(l.goToUserNotifications())}),n.EFF(3),n.nI1(4,"translate"),n.k0s()()}2&d&&(n.R7$(),n.BMQ("aria-label",n.bMT(2,2,"global.in_app_notifications.show_all_tasks")),n.R7$(2),n.JRh(n.bMT(4,4,"global.in_app_notifications.show_all_tasks")))}function c(d,L){if(1&d){const i=n.RV6();n.j41(0,"div",4),n.bIt("scroll",function(){T.eBV(i);const l=n.XpG();return T.Njj(l.getNext())}),n.j41(1,"div",5)(2,"div",6)(3,"mat-button-toggle-group",7),n.bIt("change",function(l){T.eBV(i);const C=n.XpG();return T.Njj(C.changeShowAll(l))}),n.j41(4,"mat-button-toggle",8),n.EFF(5),n.nI1(6,"translate"),n.k0s(),n.j41(7,"mat-button-toggle",8),n.EFF(8),n.nI1(9,"translate"),n.k0s()()(),n.DNE(10,yt,17,17,"div",9)(11,Nt,2,0,"div",10)(12,xt,2,3,"div",11)(13,U,1,0,"div",12),n.k0s()(),n.DNE(14,Z,5,6,"div",13)}if(2&d){const i=n.XpG();n.R7$(3),n.Y8G("value",i.showAllTasks),n.R7$(),n.Y8G("value",!1),n.R7$(),n.JRh(n.bMT(6,10,"global.in_app_notifications.pending")),n.R7$(2),n.Y8G("value",!0),n.R7$(),n.JRh(n.bMT(9,12,"global.common.all_a")),n.R7$(2),n.Y8G("ngForOf",i.notifications),n.R7$(),n.Y8G("ngIf",i.loadingNotifications),n.R7$(),n.Y8G("ngIf",!i.loadingNotifications&&0===i.notifications.length),n.R7$(),n.Y8G("ngIf",!i.loadingNotifications&&i.moreNotifications),n.R7$(),n.Y8G("ngIf",i.navbarTop)}}function S(d,L){if(1&d&&(n.EFF(0),n.nI1(1,"translate"),n.nrm(2,"div",3)),2&d){const i=n.XpG();n.JRh(n.bMT(1,2,"global.common.notifications")),n.R7$(2),n.Y8G("matBadge",i.notificationsBadge)}}function I(d,L){if(1&d&&(n.j41(0,"figure",27),n.nrm(1,"img",28),n.k0s()),2&d){const i=n.XpG().$implicit;n.R7$(),n.Y8G("src",i.Icon,n.B4B)}}function Y(d,L){if(1&d&&(n.j41(0,"div",29),n.nrm(1,"app-svg-icon",30),n.k0s()),2&d){const i=n.XpG().$implicit;n.R7$(),n.Y8G("iconUrl",i.Icon)}}function rt(d,L){if(1&d){const i=n.RV6();n.j41(0,"div",31),n.nrm(1,"div",32),n.nI1(2,"translate"),n.j41(3,"button",33),n.nI1(4,"translate"),n.bIt("click",function(l){T.eBV(i);const C=n.XpG().$implicit,H=n.XpG(2);return l.stopPropagation(),T.Njj(H.openNotificationInfoDialog(C))}),n.EFF(5),n.nI1(6,"translate"),n.k0s()()}if(2&d){const i=n.XpG().$implicit;n.R7$(),n.Y8G("innerHtml",n.i5U(2,3,"global.in_app_notifications.descriptions."+i.Description,i.ParametersShort),n.npT),n.R7$(2),n.BMQ("aria-label",n.bMT(4,6,"module.publications.see_more")),n.R7$(2),n.SpI(" ",n.bMT(6,8,"module.publications.see_more"))}}function ht(d,L){if(1&d&&(n.nrm(0,"div",49),n.nI1(1,"translate"),n.nI1(2,"safe")),2&d){const i=n.XpG().$implicit;n.Y8G("innerHtml",n.i5U(2,4,n.i5U(1,1,"global.in_app_notifications.descriptions."+i.Description,i.Parameters),"html"),n.npT)}}function Rt(d,L){1&d&&n.nrm(0,"i",50)}function Lt(d,L){if(1&d){const i=n.RV6();n.j41(0,"div",14)(1,"div",15),n.nI1(2,"translate"),n.bIt("click",function(){const l=T.eBV(i).$implicit,C=n.XpG(2);return T.Njj(C.navigate(l))}),n.DNE(3,I,2,1,"figure",16)(4,Y,2,1,"div",17),n.j41(5,"div",18)(6,"div",19),n.EFF(7),n.nI1(8,"translate"),n.k0s(),n.DNE(9,rt,7,10,"div",20)(10,ht,3,7,"div",45),n.j41(11,"div",22),n.EFF(12),n.k0s()(),n.j41(13,"div",46),n.bIt("click",function(l){return T.eBV(i),T.Njj(l.stopPropagation())}),n.j41(14,"div",24),n.DNE(15,Rt,1,0,"i",47),n.k0s(),n.nrm(16,"app-dropdown-menu",48),n.k0s()()()}if(2&d){const i=L.$implicit,r=n.XpG(2);
1n.R7$(),n.Y8G("ngClass",n.eq3(16,St,"NTF"===i.Type&&!i.Read)),n.BMQ("aria-label",n.bMT(2,11,"notifications.open_notification")),n.R7$(2),n.Y8G("ngIf",!i.IsSVG),n.R7$(),n.Y8G("ngIf",i.IsSVG),n.R7$(3),n.JRh(n.i5U(8,13,"global.in_app_notifications.titles."+i.Title,i.Parameters)),n.R7$(2),n.Y8G("ngIf",null!=i.Parameters.messageDescription&&i.Parameters.messageDescription.length>r.readMoreLimit&&!i.seeMore),n.R7$(),n.Y8G("ngIf",null==i.Parameters.messageDescription||i.Parameters.messageDescription.length<=r.readMoreLimit||i.seeMore),n.R7$(2),n.JRh(i.Date),n.R7$(3),n.Y8G("ngIf",!i.Interacted),n.R7$(),n.Y8G("dropDownOptions",r.dropDownOptions)("value",i)}}function Gt(d,L){1&d&&(n.j41(0,"div",37),n.nrm(1,"app-skeleton-block"),n.k0s())}function Bt(d,L){if(1&d&&(n.j41(0,"div",38),n.nrm(1,"app-empty-space",51),n.k0s()),2&d){const i=n.XpG(2);n.R7$(),n.Y8G("isLink",!0)("isMedium",!0)("textArray",i.noNotificationsTexts)}}function kt(d,L){1&d&&n.nrm(0,"div",40)}function $t(d,L){if(1&d){const i=n.RV6();n.j41(0,"div",41)(1,"a",42),n.nI1(2,"translate"),n.bIt("click",function(){T.eBV(i);const l=n.XpG(2);return T.Njj(l.goToUserNotifications())}),n.j41(3,"span"),n.EFF(4),n.nI1(5,"translate"),n.k0s()()()}2&d&&(n.R7$(),n.BMQ("aria-label",n.bMT(2,2,"global.in_app_notifications.show_all")),n.R7$(3),n.JRh(n.bMT(5,4,"global.in_app_notifications.show_all_notifications")))}
1function jt(d,L){if(1&d){const i=n.RV6();n.j41(0,"div",4),n.bIt("scroll",function(){T.eBV(i);const l=n.XpG();return T.Njj(l.getNext())}),n.j41(1,"div",5)(2,"div",6)(3,"mat-button-toggle-group",7),n.bIt("change",function(l){T.eBV(i);const C=n.XpG();return T.Njj(C.changeShowAll(l))}),n.j41(4,"mat-button-toggle",8),n.EFF(5),n.nI1(6,"translate"),n.k0s(),n.j41(7,"mat-button-toggle",8),n.EFF(8),n.nI1(9,"translate"),n.k0s()(),n.j41(10,"div",43),n.nrm(11,"app-dropdown-menu",44),n.k0s()(),n.DNE(12,Lt,17,18,"div",9)(13,Gt,2,0,"div",10)(14,Bt,2,3,"div",11)(15,kt,1,0,"div",12),n.k0s()(),n.DNE(16,$t,6,6,"div",13)}if(2&d){const i=n.XpG();n.R7$(3),n.Y8G("value",i.showAllNotifications),n.R7$(),n.Y8G("value",!1),n.R7$(),n.JRh(n.bMT(6,11,"global.in_app_notifications.not_read")),n.R7$(2),n.Y8G("value",!0),n.R7$(),n.JRh(n.bMT(9,13,"global.common.all_a")),n.R7$(3),n.Y8G("dropDownOptions",i.dropDownOptionsTop),n.R7$(),n.Y8G("ngForOf",i.notifications),n.R7$(),n.Y8G("ngIf",i.loadingNotifications),n.R7$(),n.Y8G("ngIf",!i.loadingNotifications&&0===i.notifications.length),n.R7$(),n.Y8G("ngIf",!i.loadingNotifications&&i.moreNotifications),n.R7$(),n.Y8G("ngIf",i.navbarTop)}}let Wt=(()=>{class d{activatedRoute;apiMessagesService;appService;clubsService;apiPublicationsService;apiPublicationsImagesService;imagesService;apiTeamService;translationService;teamService;apiAttendanceService;authService;apiGamesService;globalVars;apiInscriptionService;apiUsersService;menuService;popoverCtrl;modalCtrl;router;notifications=[];loadingNotifications=!0;limit=10;skip=0;readMoreLimit=140;moreNotifications=!0;showAllTasks=!0;showAllNotifications=!0;navbarTop=!1;selectedTab=1;moment;taskBadge;notificationsBadge;notificationNumber;taskNumber;noTasksTexts=["global.in_app_notifications.congratulations_no_tasks","global.in_app_notifications.no_tasks"];noNotificationsTexts=["global.in_app_notifications.congratulations_no_notifications","global.in_app_notifications.no_notifications"];menuOptions;titleActions;loadNotificationSubscription=new R.yU;constructor(i,r,l,C,H,Q,s,a,B,nt,w,Ct,ft,Mt,Ot,bt,ut,It,gt,Pt){this.activatedRoute=i,this.apiMessagesService=r,this.appService=l,this.clubsService=C,this.apiPublicationsService=H,this.apiPublicationsImagesService=Q,this.imagesService=s,this.apiTeamService=a,this.translationService=B,this.teamService=nt,this.apiAttendanceService=w,this.authService=Ct,this.apiGamesService=ft,this.globalVars=Mt,this.apiInscriptionService=Ot,this.apiUsersService=bt,this.menuService=ut,this.popoverCtrl=It,this.modalCtrl=gt,this.router=Pt,this.moment=this.globalVars.getMoment()}ngOnInit(){var i=this;return(0,g.A)(function*(){i.appService.broadcast("changeTitleAppNav",{title:"global.common.notices"}),i.appService.broadcast("reload-notification-number",null),i.apiMessagesService.getInAppNotifications("true",0,0,"true",0,0).subscribe(r=>{if(i.notificationNumber=r.unread,i.notificationsBadge=0===i.notificationNumber?null:i.notificationNumber>=10?"9+":i.notificationNumber.toString(),i.taskNumber=r.undone,i.taskBadge=0===i.taskNumber?null:i.taskNumber>=10?"9+":i.taskNumber.toString(),!i.navbarTop){let l=i.activatedRoute.snapshot.fragment;if(null!=l){let C=JSON.parse(l);i.selectedTab=C.tab,0==i.selectedTab&&(i.showAllTasks=C.showAll),1==i.selectedTab&&(i.showAllNotifications=C.showAll),i.router.navigate([],{relativeTo:i.activatedRoute,fragment:null})}else i.selectedTab=i.taskNumber>0?0:1}1===i.selectedTab?i.getUserNotifications():0===i.selectedTab&&i.getUserTasks()})})()}getNext(){let i=$("#bottom-marker");i.length&&i.length>0&&this.globalVars.isInViewport(i,100)&&(1===this.selectedTab?this.getUserNotifications():0===this.selectedTab&&this.getUserTasks())}getUserNotifications(){var i=this;return(0,g.A)(function*(){i.loadingNotifications=!0;let r=null;i.showAllNotifications||(r="notClicked"),i.loadNotificationSubscription=i.apiMessagesService.getInAppNotifications(!0,i.limit,i.skip,!1,0,0,r).subscribe(function(){var l=(0,g.A)(function*(C){i.skip+i.limit<C.notificationsTotal?i.skip+=i.limit:i.moreNotifications=!1;let H=yield i.createNotifications(C.notifications);i.notifications=i.notifications.concat(H),i.notificationNumber=C.unread,i.notificationsBadge=0===i.notificationNumber?null:i.notificationNumber>=10?"9+":i.notificationNumber.toString(),i.notificationNumber>0&&i.apiMessagesService.markInAppNotificationsAsRead().subscribe(),i.loadingNotifications=!1});return function(C){return l.apply(this,arguments)}}())})()}createNotifications(i){var r=this;return(0,g.A)(function*(){let l=[],C=[];for(let s of i)C.push(r.getNotificationInfo(s.notification.notificationType,s.notification.schemaType,s.notification.parameters,s.notification.taskResource,s.notification.date,s.notification.url));let H=yield Promise.all(C),Q=0;for(let s of i){let a=H[Q];if(a.delete){Q++;continue}let B={Id:s.notification.id,Type:s.notification.notificationType,Schema:s.notification.schemaType,Icon:a.icon,IsSVG:a.isSVG,Title:`${s.notification.notificationType}.${s.notification.schemaType}`,Description:`${s.notification.notificationType}.${s.notification.schemaType}`,Link:null!=a.url?a.url:s.notification.url,Date:r.moment(s.notification.date).fromNow(),Read:s.read,Interacted:s.interacted,Parameters:a.parameters,ParametersShort:null};if(null!=B.Parameters.messageDescription&&B.Parameters.messageDescription.length>r.readMoreLimit){B.ParametersShort=Object.assign({},B.Parameters);let nt=B.Parameters.messageDescription.substring(0,r.readMoreLimit).trim()+"...";B.ParametersShort.messageDescription=nt.replace(/  +/g,w=>"&nbsp;".repeat(w.length)).replace(/(?:\r\n|\r|\n)/g,"<br>")}else if(null!=B.Parameters.messageDescription){B.ParametersShort=Object.assign({},B.Parameters);let nt=B.Parameters.messageDescription.substring(0,r.readMoreLimit).trim()+"...";B.ParametersShort.messageDescription=nt.replace(/  +/g,w=>"&nbsp;".repeat(w.length)).replace(/(?:\r\n|\r|\n)/g,"<br>"),B.Parameters.messageDescription=B.Parameters.messageDescription.replace(/  +/g,w=>"&nbsp;".repeat(w.length)).replace(/(?:\r\n|\r|\n)/g,"<br>")}l.push(B),Q++}return l})()}getUserTasks(){var i=this;return(0,g.A)(function*(){i.loadingNotifications=!0;let r=null;i.showAllTasks||(r="notDone"),i.loadNotificationSubscription=i.apiMessagesService.getInAppNotifications(!1,0,0,!0,i.limit,i.skip,r).subscribe(function(){var l=(0,g.A)(function*(C){i.skip+i.limit<C.tasksTotal?i.skip+=i.limit:i.moreNotifications=!1;let H=yield i.createTasks(C.tasks);i.notifications=i.notifications.concat(H),i.taskNumber=C.undone,i.taskBadge=0===i.taskNumber?null:i.taskNumber>=10?"9+":i.taskNumber.toString(),i.loadingNotifications=!1});return function(C){return l.apply(this,arguments)}}())})()}createTasks(i){var r=this;return(0,g.A)(function*(){let l=[],C=[];for(let s of i)C.push(r.getNotificationInfo(s.notification.notificationType,s.notification.schemaType,s.notification.parameters,s.notification.taskResource,s.notification.date,s.notification.url));let H=yield Promise.all(C),Q=0;for(let s of i){let a=H[Q];if(a.delete){Q++;continue}let B={Id:s.notification.id,Type:s.notification.notificationType,Schema:s.notification.schemaType,Icon:a.icon,IsSVG:a.isSVG,Title:`${s.notification.notificationType}.${s.notification.schemaType}`,Description:`${s.notification.notificationType}.${s.notification.schemaType}`,Link:a.url?a.url:s.notification.url,Date:r.moment(s.notification.date).fromNow(),Done:s.done,Parameters:a.parameters};l.push(B),Q++}return l})()}navigate(i){var r=this;this.apiMessagesService.markInAppNotificationsAsInteracted({notificationId:i.Id}).subscribe((0,g.A)(function*(){if(r.globalVars.desktop){const l=yield r.popoverCtrl.getTop();l&&(yield l.dismiss(null,null))}if(i.Interacted=!0,r.appService.broadcast("reload-notification-number"),r.menuService.broadcast("updateBubbles"),r.appService.broadcast("read-notifications",1),r.appService.broadcast("closeNoticesMenu",null),"TSK"===i.Type){if("REG"===i.Schema){const l=i.Link.split("requestId=")[1];r.goToInscription(l)}else if("RPLA"===i.Schema||"RTUT"===i.Schema){const l=i.Link.split("request=")[1];r.router.navigate([`/${r.clubsService.getLanguageInUseCode()}/admin/users/database/requests`],{fragment:JSON.stringify({request:l})}).then(()=>r.menuService.setCurrent(`/${r.clubsService.getLanguageInUseCode()}/admin/users/database/requests`))}else if("TRN"===i.Schema){const l=i.Link.split("event=")[1],C=JSON.parse(l);r.router.navigate([`/${r.clubsService.getLanguageInUseCode()}/team/${C.teamId}/calendar`]).then(()=>{setTimeout(()=>{r.teamService.broadcast("openTraining",{teamId:C.teamId,eventId:C.eventId})},500)})}else if(i.Link){const l=r.globalVars.getFormatedUrl(i.Link);l.isInternal?r.router.navigate([l.url],{queryParams:l.queryParams}):window.open(i.Link,"_blank")}}else if("PUB"===i.Schema||"PTM"===i.Schema)r.router.navigate([i.Link]);else if("CPN"===i.Schema){let l=`/user/${r.authService.getUsername()}
1/settings/payment`;r.router.navigate([l])}else if("CTRN"===i.Schema)r.router.navigate([`/${i.Link}`]).then(()=>{r.teamService.broadcast("openTraining",{teamId:i.Parameters.teamId,eventId:i.Parameters.eventId})});else if("NGM"===i.Schema||"EDGM"===i.Schema||"FTRN"===i.Schema||"PGM"===i.Schema)r.router.navigate([i.Link]);else if(i.Schema===V.Fn)r.router.navigate([i.Link]);else if("SUM"===i.Schema){let l=`/user/${r.authService.getUsername()}${i.Link}`;r.router.navigate([l]).then(()=>{setTimeout(()=>{r.teamService.broadcast("openEventOrGame",{eventInfo:i.Parameters.eventInfo,gameInfo:i.Parameters.gameInfo})})})}else if(i.Link){const l=r.globalVars.getFormatedUrl(i.Link);l.isInternal?r.router.url.includes(l.url)?r.teamService.broadcast("openLoadedEvent",l.queryParams):r.router.navigate([`/${r.clubsService.getLanguageInUseCode()}/${l.url}`],{queryParams:l.queryParams}):window.open(i.Link,"_blank")}}))}goToInscription(i){this.apiInscriptionService.getInscriptionsRequestById(i).subscribe(r=>{let l=r.inscriptions[0].inscriptionRequest[0].userData.firstName+" "+r.inscriptions[0].inscriptionRequest[0].userData.lastName;this.appService.getIsAdmin()||(l=r.inscriptions[0].title),this.router.navigate(["/admin/registrations/requests"]).then(()=>{this.menuService.setCurrent("/admin/registrations/requests"),setTimeout(()=>{this.appService.broadcast("addNewTab",{title:l,type:"request",data:r.inscriptions[0],url:`./request/${i}`,lastUrl:`./request/${i}`,renderComponent:y.y,iconType:"request",fixed:!1})},500)})})}goToRequest(){}deleteNotification(i){setTimeout(()=>{this.apiMessagesService.deleteInAppNotification({notificationId:i.Id}).subscribe(()=>{this.appService.broadcast("read-notifications",1),this.appService.broadcast("reload-notification-number"),this.menuService.broadcast("updateBubbles"),this.notifications=this.notifications.filter(r=>r.Id!==i.Id),this.notificationNumber-=1,this.notificationsBadge=this.notificationNumber>0?this.notificationNumber.toString():null})})}closePop(){var i=this;return(0,g.A)(function*(){if(i.globalVars.desktop){const r=yield i.popoverCtrl.getTop();r&&(yield r.dismiss(null,null))}else{const r=yield i.modalCtrl.getTop();r&&(yield r.dismiss(null,null))}})()}markAllAsInteracted(){this.closePop(),setTimeout(()=>{this.apiMessagesService.markInAppNotificationsAsInteracted({notificationId:"all"}).subscribe(()=>{this.appService.broadcast("read-notifications","all"),this.appService.broadcast("reload-notification-number"),this.menuService.broadcast("updateBubbles"),this.notifications.forEach(i=>{i.Interacted=!0}),this.notificationsBadge=null})})}removeAllNotifications(){this.closePop(),setTimeout(()=>{this.apiMessagesService.deleteInAppNotification({notificationId:"all"}).subscribe(()=>{this.appService.broadcast("read-notifications","all"),this.appService.broadcast("reload-notification-number"),this.menuService.broadcast("updateBubbles"),this.notifications=[],this.notificationsBadge=null})})}markAsInteracted(i){this.closePop(),setTimeout(()=>{this.apiMessagesService.markInAppNotificationsAsInteracted({notificationId:i.Id}).subscribe(()=>{this.appService.broadcast("read-notifications",1),this.appService.broadcast("reload-notification-number"),this.menuService.broadcast("updateBubbles"),i.Interacted=!0,this.notificationNumber-=1,this.notificationsBadge=this.notificationNumber>0?this.notificationNumber.toString():null})})}getNotificationInfo(i,r,l,C,H,Q){var s=this;return(0,g.A)(function*(){let a={parameters:{},icon:"",url:null,isSVG:!1,customDescription:null};try{switch(i){case"NTF":switch(r){case"PUB":let B=null;try{let it=C.split("_")[0],dt=C.split("_")[1];B=yield s.apiPublicationsService.getSinglePublication(dt,!1,null,it).toPromise(),a.parameters.publicationTitle=B.card.title,a.icon=B.card.images.length>0?s.apiPublicationsImagesService.getUrlImageThumbnail(B.card.images[0]):s.imagesService.seoImage()}catch{a.parameters.publicationTitle="REMOVED PUBLICATION",a.icon=s.imagesService.seoImage()}break;case"MSG":if(null!=l&&"athlete_report_shared"===l.type){a.parameters.messageTitle=yield s.translationService.getTranslation("module.athleteReports.notification_title"),a.parameters.messageDescription=yield s.translationService.getTranslation("module.athleteReports.notification_description"),a.icon=s.imagesService.getClubLogoThumbnailUrl(s.clubsService.getClubId());let it=null;if(String(l.athleteUserId)===String(s.authService.getId()))it=s.authService.getUsername();else try{const dt=yield(0,N._)(s.apiUsersService.getUserById(l.athleteUserId));it=null!=dt&&null!=dt.username?dt.username:null}catch{it=null}
1null!=it&&(a.url=`user/${it}/reports/${l.reportId}`);break}let nt=yield(0,N._)(s.apiMessagesService.getNotificationSend(C));nt=JSON.parse(nt[0].data),a.parameters.messageTitle=nt.subject,a.parameters.messageDescription=nt.message,a.icon=s.imagesService.getClubLogoThumbnailUrl(s.clubsService.getClubId());break;case"FTRN":s.apiAttendanceService.setEventId(l.trainingId,l.teamId);let w=(yield s.apiAttendanceService.getActualAttendance(l.trainingId,l.teamId)).training,Ct=yield s.apiTeamService.getTeam(l.teamId),ft=null!=w&&null!=w.attendance&&w.attendance.length>0?w.attendance.find(it=>it.userId===s.authService.getId()):null;a.parameters.faultType=null!=ft&&ft.attendance?yield s.translationService.getTranslation("global.in_app_notifications.late"):yield s.translationService.getTranslation("global.in_app_notifications.fault"),a.parameters.date=s.moment(l.eventDate).format("L"),a.parameters.teamName=s.teamService.getCustomTeamName(Ct.team),a.icon=s.imagesService.getNotificationIcon(i,r),a.isSVG=!0,a.url=`/user/${s.authService.getUsername()}/settings/calendar`,a.parameters.description=`${a.parameters.date} - ${a.parameters.teamName}`;break;case"CTRN":let Mt=yield s.apiTeamService.getTeam(l.teamId);a.parameters.date=s.moment(l.eventDate).format("L"),a.parameters.teamName=s.teamService.getCustomTeamName(Mt.team),a.parameters.eventId=l.trainingId,a.parameters.teamId=l.teamId,a.icon=s.imagesService.getNotificationIcon(i,r),a.isSVG=!0,a.url=`/${s.clubsService.getLanguageInUseCode()}/team/${l.teamId}/calendar`;break;case V.Fn:{const it=l.username||s.authService.getUsername();a.parameters.username=it,a.parameters.injuryId=l.injuryId,a.icon=s.imagesService.getNotificationIcon(i,r),a.isSVG=!0,a.url=`/${s.clubsService.getLanguageInUseCode()}/${(0,V.zV)(it,l.injuryId)}`;break}case"NXGM":let Ot=yield s.apiGamesService.getGameObservable(C).toPromise();a.parameters.date=s.moment(l.date).format("L - LT"),a.parameters.localTeam=s.teamService.getCustomTeamName(Ot.localTeam),a.parameters.visitorTeam=s.teamService.getCustomTeamName(Ot.visitorTeam),a.icon=s.imagesService.getNotificationIcon(i,r),a.isSVG=!0;break;case"EGM":let bt=yield s.apiGamesService.getGameObservable(C).toPromise();a.parameters.date=s.moment(l.date).format("L - LT"),a.parameters.localTeam=s.teamService.getCustomTeamName(bt.localTeam),a.parameters.localTeamRe
1sult=bt.localScore,a.parameters.visitorTeam=s.teamService.getCustomTeamName(bt.visitorTeam),a.parameters.visitorTeamResult=bt.visitorScore,a.icon=s.imagesService.getNotificationIcon(i,r),a.isSVG=!0;break;case"PGM":let ut=yield s.apiGamesService.getGameObservable(C).toPromise();a.parameters.date=s.moment(l.date).format("L - LT"),a.parameters.localTeam=s.teamService.getCustomTeamName(ut.localTeam),a.parameters.localTeamResult=` ${null!=ut.localScore?null!=ut.localScore:""}`,a.parameters.visitorTeam=s.teamService.getCustomTeamName(ut.visitorTeam),a.parameters.visitorTeamResult=`${null!=ut.visitorScore?ut.visitorScore:""} `,a.icon=s.imagesService.getNotificationIcon(i,r),a.isSVG=!0;break;case"NGM":let It=yield s.apiGamesService.getGameObservable(C).toPromise();a.parameters.date=s.moment(l.date).format("L - LT"),a.parameters.localTeam=s.teamService.getCustomTeamName(It.localTeam),a.parameters.visitorTeam=s.teamService.getCustomTeamName(It.visitorTeam),a.icon=s.imagesService.getNotificationIcon(i,r),a.isSVG=!0;break;case"EDGM":let gt=yield s.apiGamesService.getGameObservable(C).toPromise();a.parameters.date=s.moment(l.date).format("L - LT"),a.parameters.localTeam=s.teamService.getCustomTeamName(gt.localTeam),a.parameters.localTeamRe
1sult=` ${null!=gt.localScore?null!=gt.localScore:""}`,a.parameters.visitorTeam=s.teamService.getCustomTeamName(gt.visitorTeam),a.parameters.visitorTeamResult=`${null!=gt.visitorScore?gt.visitorScore:""} `,a.icon=s.imagesService.getNotificationIcon(i,r),a.isSVG=!0;break;case"PTM":let Pt=null;try{let it=C.split("_")[0],dt=C.split("_")[1];Pt=yield s.apiPublicationsService.getSinglePublication(dt,!1,null,it).toPromise(),a.parameters.publicationTitle=Pt.card.title,a.icon=Pt.card.images.length>0?s.apiPublicationsImagesService.getUrlImageThumbnail(Pt.card.images[0]):s.imagesService.seoImage()}catch{a.parameters.publicationTitle="REMOVED PUBLICATION",a.icon=s.imagesService.seoImage()}break;case"SUM":case"NSUM":case"CSUM":case"ISUM":case"USUM":case"OSUM":case"FTRN":case"DELSUM":case"CXLSUM":case"WLSUM":case"OWLSUM":a.parameters={eventName:l.eventName,eventId:l.eventId,gameId:l.gameId,summoningId:l.summoningId,visitorTeamName:l.teams.visitorTeam,localTeamName:l.teams.localTeam,date:s.moment(l.date).format("L")},a.isSVG=!0,a.icon=s.imagesService.getNotificationIcon(i,r),a.parameters.description=l.gameId?yield s.translationService.getTranslation("global.in_app_notifications.descriptions.summoning_games_description",a.parameters):yield s.translationService.getTranslation("global.in_app_notifications.descriptions.summoning_event_description",a.parameters);break;case"AGM":case"CPUB":case"LPUB":break;case"ACH":a.parameters.achievementDescription=yield s.translationService.getTranslation(`global.achievements.${C}`);break;case"CPN":a.icon=s.imagesService.getNotificationIcon(i,r),a.parameters=l,a.parameters.date=s.moment(a.parameters.date).format("L"),a.customDescription="CPN_2";break;case"PU":a.icon=s.imagesService.getNotificationIcon(i,r),a.parameters=l,a.parameters.date=s.moment(a.parameters.date).format("L"),a.customDescription="PU_2";break;default:a.icon=s.imagesService.getNotificationIcon(i,r),a.parameters=l}break;case"TSK":switch(r){case"TRN":let B=s.apiTeamService.getTeamById(l.teamId);a.parameters.teamName=s.teamService.getCustomTeamName(B),a.parameters.date=s.moment(H).format("L"),a.parameters.eventName=l.eventName,a.icon=s.imagesService.getNotificationIcon(i,r),a.isSVG=!0;break;case"SUM":let nt=yield s.apiGamesService.getGameDataForNotification(l.gameId).toPromise();a.parameters.localTeam=s.teamService.getCustomTeamName(nt.localTeam),a.parameters.visitorTeam=s.teamService.getCustomTeamName(nt.visitorTeam),a.parameters.date=s.moment(nt.date).format("L - LT"),a.icon=s.imagesService.getNotificationIcon(i,r),a.isSVG=!0;break;case"TRS":case"GRS":null==l.teamId&&(a.url=Q.replace("{{username}}",s.authService.getUsername())),a.icon=s.imagesService.getNotificationIcon(i,r),a.parameters.eventName=l.eventName,a.parameters.date=s.moment(H).format("L"),a.isSVG=!0,a.parameters.description=yield s.translationService.getTranslation("global.in_app_notifications.descriptions.summoning_event_description",a.parameters);break;case"GSM":a.parameters.localTeamName=l.game.localTeamName,a.parameters.visitorTeamName=l.game.visitorTeamName,a.parameters.date=s.moment(l.game.date).format("L - LT"),a.icon=s.imagesService.getNotificationIcon(i,r),a.isSVG=!0,a.url=Q.replace("{{username}}",s.authService.getUsername()),a.parameters.description=yield s.translationService.getTranslation("global.in_app_notifications.descriptions.summoning_games_description",a.parameters);break;case"AGM":let w=yield s.apiGamesService.getGameDataForNotification(C).toPromise();a.parameters.localTeam=s.teamService.getCustomTeamName(w.localTeam),a.parameters.visitorTeam=s.teamService.getCustomTeamName(w.visitorTeam),a.parameters.date=s.moment(w.date).format("L - LT"),a.icon=s.imagesService.getNotificationIcon(i,r),a.isSVG=!0;break;case"RTUT":let Ct=yield s.apiInscriptionService.getRequestDataForNotification(C).toPromise();a.parameters.tutorName=Ct.tutorName,a.parameters.supervisedName=Ct.supervisedName,a.icon=s.imagesService.getNotificationIcon(i,r),a.isSVG=!0;break;case"RPLA":let ft=yield s.apiInscriptionService.getRequestDataForNotification(C).toPromise();a.parameters.playerName=ft.playerName,a.parameters.teamName=s.teamService.getCustomTeamName(ft.team),a.icon=s.imagesService.getNotificationIcon(i,r),a.isSVG=!0;break;case"REG":let Mt=yield s.apiInscriptionService.getInscriptionTitleByRequestId(C).toPromise();Mt?(a.parameters.inscriptionTitle=Mt,a.icon=s.imagesService.getNotificationIcon(i,r),a.isSVG=!0):a=null;break;default:a.icon=s.imagesService.getNotificationIcon(i,r)}}}catch{a.delete=!0}if(a)return a})()}openNotificationInfoDialog(i){i.seeMore=!0}ngOnDestroy(){this.appService.broadcast("reload-notification-number",null),this.loadNotificationSubscription.unsubscribe()}changeShowAll(i){this.loadNotificationSubscription.unsubscribe(),0==this.selectedTab&&(this.showAllTasks=i.value),1==this.selectedTab&&(this.showAllNotifications=i.value),this.notifications=[],this.skip=0,this.moreNotifications=!0,1===this.selectedTab?this.getUserNotifications():0===this.selectedTab&&this.getUserTasks()}changeTab(i){this.selectedTab!=i&&this.appService.broadcast("reload-notification-number",null),this.loadNotificationSubscription.unsubscribe(),this.selectedTab=i,this.notifications=[],this.skip=0,this.moreNotifications=!0,1===this.selectedTab?this.getUserNotifications():0===this.selectedTab&&this.getUserTasks()}goToUserNotifications(){this.appService.broadcast("closeNoticesMenu",null),this.router.navigate([`/${this.clubsService.getLanguageInUseCode()}/user/${this.authService.getUsername()}
1/settings/in_app_notifications`],{fragment:JSON.stringify({tab:this.selectedTab,showAll:0==this.selectedTab?this.showAllTasks:this.showAllNotifications})})}goToNotificationSettings(){this.router.navigate([`/${this.clubsService.getLanguageInUseCode()}/user/${this.authService.getUsername()}/settings/notifications`])}dropDownOptions=[{label:"global.in_app_notifications.mark_as_read",icon:"fa-light fa-check",action:i=>this.markAsInteracted(i),condition:i=>!i.Interacted,disabled:()=>!1},{label:"global.in_app_notifications.delete_notification",icon:"fa-light fa-trash",action:i=>this.deleteNotification(i),condition:i=>!0,disabled:()=>!1}];dropDownOptionsTop=[{label:"global.in_app_notifications.mark_all_as_read",icon:"fa-light fa-check",action:()=>this.markAllAsInteracted(),condition:()=>!0,disabled:()=>!1},{label:"global.in_app_notifications.remove_all",icon:"fa-light fa-trash",action:()=>this.removeAllNotifications(),condition:()=>!0,disabled:()=>!1},{label:"global.common.config",icon:"fa-light fa-cog",action:()=>this.goToNotificationSettings(),condition:()=>!0,disabled:()=>!1}];static \u0275fac=function(r){return new(r||d)(n.rXU(et.nX),n.rXU(o.Y),n.rXU(e.d),n.rXU(v.X),n.rXU(K.j),n.rXU(P.U),n.rXU(u.M),n.rXU(G.k),n.rXU(h.T),n.rXU(m.n),n.rXU(_.T),n.rXU(O.u),n.rXU(f.n),n.rXU(E.Y),n.rXU(x.$),n.rXU(W.K),n.rXU(k.$),n.rXU(q.PopoverController),n.rXU(q.ModalController),n.rXU(et.Ix))};static \u0275cmp=n.VBU({type:d,selectors:[["app-user-in-app-notifications"]],viewQuery:function(r,l){if(1&r&&(n.GBs(vt,5,D.Cp),n.GBs(_t,5,D.Cp)),2&r){let C;n.mGM(C=n.lsd())&&(l.titleActions=C.first),n.mGM(C=n.lsd())&&(l.menuOptions=C)}},inputs:{navbarTop:"navbarTop",selectedTab:"selectedTab"},standalone:!1,features:[n.Jv_([_.T])],decls:7,vars:1,consts:[["disablePagination","true",3,"selectedIndexChange","click","selectedIndex"],["mat-tab-label","mat-tab-label"],["matTabContent","matTabContent"],["matBadgeOverlap","false","matBadgePosition","below",1,"user-nav",3,"matBadge"],["id","notifications-container",3,"scroll"],[1,"notifications-in-app"],[1,"title"],[1,"separated-buttons","color-primary",3,"change","value"],[3,"value"],["class","notification",4,"ngFor","ngForOf"],["class","dashboad-flex-center spinner-xs",4,"ngIf"],["class","no-notifications",4,"ngIf"],["id","bottom-marker",4,"ngIf"],["class","modal-fixed-actions",4,"ngIf"],[1,"notification"],["role","button","tabindex","0",1,"notification-container",3,"click","ngClass"],["class","notification-icon-image",4,"ngIf"],["class","notification-icon",4,"ngIf"],[1,"notification-text"],[1,"notification-title"],["class","notification-description",4,"ngIf"],["class","notification-description a",3,"innerHTML",4,"ngIf"],[1,"notification-date"],[1,"notification-actions",3,"click"],[1,"notification-read-icon"],["class","fa-solid fa-check-circle not-done",4,"ngIf"],["class","fa-solid fa-check-circle done",4,"ngIf"],[1,"notification-icon-image"],["alt","Icono de notificaci\xf3n",3,"src"],[1,"notification-icon"],[3,"iconUrl"],[1,"notification-description"],[1,"description-long",3,"innerHtml"],["type","button",1,"notification-see-more","btn-link-color",3,"click"],[1,"notification-description","a",3,"innerHTML"],[1,"fa-solid","fa-check-circle","not-done"],[1,"fa-solid","fa-check-circle","done"],[1,"dashboad-flex-center","spinner-xs"],[1,"no-notifications"],["svgImage","empty_tasks",3,"isLink","isMedium","textArray"],["id","bottom-marker"],[1,"modal-fixed-actions"],["role","button","tabindex","0",3,"click"],[1,"actions-right"],[3,"dropDownOptions"],["class","notification-description b",3,"innerHtml",4,"ngIf"],[1,"notification-actions","align-top",3,"click"],["class","fa-solid fa-circle",4,"ngIf"],[3,"dropDownOptions","value"],[1,"notification-description","b",3,"innerHtml"],[1,"fa-solid","fa-circle"],["svgImage","bell_notification",3,"isLink","isMedium","textArray"]],template:function(r,l){1&r&&(n.j41(0,"mat-tab-group",0),n.bIt("selectedIndexChange",function(H){return l.changeTab(H)})("click",function(H){return H.stopPropagation()}),n.j41(1,"mat-tab"),n.DNE(2,mt,3,4,"ng-template",1)(3,c,15,14,"ng-template",2),n.k0s(),n.j41(4,"mat-tab"),n.DNE(5,S,3,4,"ng-template",1)(6,jt,17,15,"ng-template",2),n.k0s()()),2&r&&n.Y8G("selectedIndex",l.selectedTab)},dependencies:[ot.YU,ot.Sq,ot.bT,pt,ct.ec,ct.pc,M.$L,M.ES,M.mq,M.T8,z.k,p.K,A.p,j.q,J.m,tt.D9],styles:[".notifications-in-app[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:center;line-height:1.2em}.notifications-in-app[_ngcontent-%COMP%]   .no-notifications[_ngcontent-%COMP%]{text-align:center;font-size:13px;color:#7c7c7c;padding:0 1em 1em}.notifications-in-app[_ngcontent-%COMP%]   .no-notifications[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{margin-right:6px}.notifications-in-app[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{font-size:1.1em;font-weight:600;padding:1em;display:flex}@media (max-width: 991px){.notifications-in-app[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{padding-left:20px;padding-right:20px}}.notifications-in-app[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]   .actions-right[_ngcontent-%COMP%]{padding:0!important;align-items:center}.notifications-in-app[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]   .actions-right[_ngcontent-%COMP%] > button[_ngcontent-%COMP%]{margin:0!important;padding:0 5px;font-size:21px}.notifications-in-app[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]   .actions-right[_ngcontent-%COMP%] > button[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{margin:0}.notifications-in-app[_ngcontent-%COMP%]   .spinner-xs[_ngcontent-%COMP%]{padding:0 1em 1em}.notification[_ngcontent-%COMP%]:hover   .notification-container[_ngcontent-%COMP%]   .notification-actions[_ngcontent-%COMP%]   button.show-on-hover[_ngcontent-%COMP%]{visibility:visible}.notification[_ngcontent-%COMP%]   .notification-container[_ngcontent-%COMP%]{position:relative;cursor:pointer;display:flex;padding:10px 15px;background-color:transparent;transition:background-color .2s ease-out}@media (max-width: 991px){.notification[_ngcontent-%COMP%]   .notification-container[_ngcontent-%COMP%]{padding-left:20px;padding-right:20px}}.notification[_ngcontent-%COMP%]   .notification-container[_ngcontent-%COMP%]:hover{background-color:var(--base-extra-light-grey)!important;transition:background-color .2s ease-in}.notification[_ngcontent-%COMP%]   .notification-container[_ngcontent-%COMP%]:hover.unread, .notification[_ngcontent-%COMP%]   .notification-container[_ngcontent-%COMP%]:hover.not-done{background-color:#dbdbdb!important}.notification[_ngcontent-%COMP%]   .notification-container.unread[_ngcontent-%COMP%], .notification[_ngcontent-%COMP%]   .notification-container.not-d
1one[_ngcontent-%COMP%]{background-color:#e8e8e8}.notification[_ngcontent-%COMP%]   .notification-container[_ngcontent-%COMP%]   figure.notification-icon-image[_ngcontent-%COMP%]{width:50px;min-width:50px;max-width:50px;height:50px;margin-right:15px;position:relative;overflow:hidden}.notification[_ngcontent-%COMP%]   .notification-container[_ngcontent-%COMP%]   figure.notification-icon-image[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{position:absolute;top:0;object-fit:contain;object-position:center;width:100%;height:100%}.notification[_ngcontent-%COMP%]   .notification-container[_ngcontent-%COMP%]   .notification-icon[_ngcontent-%COMP%]{flex-grow:0;margin-right:15px;width:50px}.notification[_ngcontent-%COMP%]   .notification-container[_ngcontent-%COMP%]   .notification-icon[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{min-width:50px;width:50px;min-height:50px;height:50px;border-radius:50%}.notification[_ngcontent-%COMP%]   .notification-container[_ngcontent-%COMP%]   .notification-text[_ngcontent-%COMP%]{flex-grow:1}.notification[_ngcontent-%COMP%]   .notification-container[_ngcontent-%COMP%]   .notification-text[_ngcontent-%COMP%]   .notification-title[_ngcontent-%COMP%]{font-weight:600;font-size:15px;margin-bottom:6px;color:var(--link-color)}.notification[_ngcontent-%COMP%]   .notification-container[_ngcontent-%COMP%]   .notification-text[_ngcontent-%COMP%]   .notification-description[_ngcontent-%COMP%]{font-size:13px;line-height:18px;margin-bottom:6px;word-break:break-word}.notification[_ngcontent-%COMP%]   .notification-container[_ngcontent-%COMP%]   .notification-text[_ngcontent-%COMP%]   .notification-description[_ngcontent-%COMP%]   .description-long[_ngcontent-%COMP%]{overflow:hidden;position:relative;width:100%}.notification[_ngcontent-%COMP%]   .notification-container[_ngcontent-%COMP%]   .notification-text[_ngcontent-%COMP%]   .notification-date[_ngcontent-%COMP%]{font-size:12px;color:#7c7c7c}.notification[_ngcontent-%COMP%]   .notification-container[_ngcontent-%COMP%]   .notification-text[_ngcontent-%COMP%]   .notification-date[_ngcontent-%COMP%]:first-letter{text-transform:uppercase}.notification[_ngcontent-%COMP%]   .notification-container[_ngcontent-%COMP%]   .notification-actions[_ngcontent-%COMP%]{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;margin-left:20px;min-width:14px;font-size:21px}.notification[_ngcontent-%COMP%]   .notification-container[_ngcontent-%COMP%]   .notification-actions.align-top[_ngcontent-%COMP%]{justify-content:flex-start}.notification[_ngcontent-%COMP%]   .notification-container[_ngcontent-%COMP%]   .notification-actions[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{padding:5px}.notification[_ngcontent-%COMP%]   .notification-container[_ngcontent-%COMP%]   .notification-actions[_ngcontent-%COMP%]   button.show-on-hover[_ngcontent-%COMP%]{visibility:hidden}.notification[_ngcontent-%COMP%]   .notification-container[_ngcontent-%COMP%]   .notification-actions[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{margin-right:0}.notification[_ngcontent-%COMP%]   .notification-container[_ngcontent-%COMP%]   .notification-actions[_ngcontent-%COMP%]   .notification-read-icon[_ngcontent-%COMP%]   .fa-circle[_ngcontent-%COMP%]{font-size:12px}.notification[_ngcontent-%COMP%]   .notification-container[_ngcontent-%COMP%]   .notification-actions[_ngcontent-%COMP%]   .notification-read-icon[_ngcontent-%COMP%]   .not-done[_ngcontent-%COMP%]{color:#c3c3c3}#notifications-container[_ngcontent-%COMP%]{overflow-y:auto}#notifications-container[_ngcontent-%COMP%]::-webkit-scrollbar{display:none}.modal-fixed-actions[_ngcontent-%COMP%]{border-top:solid .5px rgba(0,0,0,.2);padding:24px;position:relative;z-index:999}.modal-fixed-actions[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{width:100%;text-align:center;display:block}"]})}return d})()},45525:(F,b,t)=>{t.d(b,{C:()=>v});var g=t(53671),e=t(73664),o=t(2615);let v=(()=>{class u{static \u0275fac=function(O){return new(O||u)};static \u0275mod=e.$C({type:u});static \u0275inj=o.G2t({imports:[g.Y]})}return u})()},55748:(F,b,t)=>{t.d(b,{C:()=>W});var g=t(72200),e=t(49189),o=t(73664),v=t(2615);let u=(()=>{class P{static \u0275fac=function(f){return new(f||P)};static \u0275mod=o.$C({type:P});static \u0275inj=v.G2t({imports:[e.G]})}return P})();var h=t(7030);t(98868),t(69915);let N=(()=>{class P{static \u0275fac=function(f){return new(f||P)};static \u0275mod=o.$C({type:P});static \u0275inj=v.G2t({imports:[g.MD,e.G]})}return P})();var D=t(32777);t(43910);let W=(()=>{class P{static \u0275fac=function(f){return new(f||P)};static \u0275mod=o.$C({type:P});static \u0275inj=v.G2t({imports:[g.MD,N,u,e.G,h.g,D.h]})}return P})()},58260:(F,b,t)=>{t.d(b,{U:()=>u});var g=t(49189),e=t(72200),o=t(73664),v=t(2615);let u=(()=>{class h{static \u0275fac=function(E){return new(E||h)};static \u0275mod=o.$C({type:h});static \u0275inj=v.G2t({imports:[g.G,e.MD]})}return h})()},73340:(F,b,t)=>{t.d(b,{J:()=>O});var g=t(72200),e=t(49189),o=t(7030),v=t(85071),u=t(73664),h=t(2615);t(3114);let O=(()=>{class E{static \u0275fac=function(N){return new(N||E)};static \u0275mod=u.$C({type:E});static \u0275inj=h.G2t({imports:[e.G,o.g,g.MD,v.m]})}return E})()},74049:(F,b,t)=>{t.d(b,{x:()=>W});var g=t(72200),e=t(49189),o=t(7030),v=t(66124),u=t(21867),h=t(48749),m=t(19348),O=t(10971),E=t(6212),y=t(49699),R=t(58430),N=t(48746),D=t(73664),K=t(2615);let W=(()=>{class P{static \u0275fac=function(f){return new(f||P)};static \u0275mod=D.$C({type:P});static \u0275inj=K.G2t({imports:[g.MD,e.G,o.g,v.M,E.m,u.v,y.C,h.P,m.x,O.m,R.A,N.m]})}return P})()},76785:(F,b,t)=>{t.d(b,{x:()=>P});var g=t(72200),e=t(49189),o=t(50630),v=t(11890),u=t(34118),h=t(88678),m=t(72204),O=t(17068),E=t(95189),y=t(39337),R=t(62470),N=t(73664),D=t(2615);let K=(()=>{class G{static \u0275fac=function(x){return new(x||G)};static \u0275mod=N.$C({type:G});static \u0275inj=D.G2t({imports:[g.MD,e.G,y.G,R.k]})}return G})();var W=t(89987);let P=(()=>{class G{static \u0275fac=function(x){return new(x||G)};static \u0275mod=N.$C({type:G});static \u0275inj=D.G2t({providers:[O.g,m.U,u.i,h.j],imports:[g.MD,v.g,o.j,e.G,W.m,g.MD,v.g,o.j,e.G,E.c,K,W.m]})}return G})()},78707:(F,b,t)=>{t.d(b,{tR:()=>g.tR});var g=t(43910)},87113:(F,b,t)=>{t.d(b,{y:()=>W});
1var g=t(10467),e=t(13961),o=t(25615),v=t(69915),u=t(68010),h=t(60152),m=t(73664),O=t(91029),E=t(18175),y=t(735),R=t(72200),N=t(62467);function D(P,G){if(1&P&&m.nrm(0,"app-navbar-tabs",3),2&P){const _=m.XpG(2);m.Y8G("navbar",_.navbar)}}function K(P,G){if(1&P&&(m.j41(0,"div",1),m.DNE(1,D,1,1,"app-navbar-tabs",2),m.k0s()),2&P){const _=m.XpG();m.R7$(),m.Y8G("ngIf",_.globalVars.tabsMenu.showTabs)}}let W=(()=>{class P{globalVars;activatedRoute;appService;authService;clubsService;router;registrationsRequestsService;globalTabs;activeTab;loaded=!1;subscription=new e.yU;navbar="navbarRequest";link;info;constructor(_,f,x,k,V,n,T,et){this.globalVars=_,this.activatedRoute=f,this.appService=x,this.authService=k,this.clubsService=V,this.router=n,this.registrationsRequestsService=T,this.globalTabs=et,this.subscription.add(this.appService.subscribe("changeTab",q=>{const st=this.globalTabs.schemaNavTabs[this.navbar][q.index];st&&(this.link.lastUrl=st.link)})),this.subscription.add(this.appService.subscribe("updatePos",q=>{this.link=q.link,this.ngOnChanges()}))}ngOnDestroy(){this.subscription.unsubscribe()}ngOnChanges(_=null){_?(this.info=_.info.currentValue,this.link=_.link.currentValue):this.info=this.registrationsRequestsService.getData(),this.setNavbars()}ngOnInit(){var _=this;return(0,g.A)(function*(){_.loaded=!1,_.globalVars.tabsMenu.showTabs=!0,_.authService.isCoachClub(_.clubsService.getClubId())&&!_.authService.isAdministrator()&&!_.authService.isAccounting()&&_.registrationsRequestsService.getData()?.userId!=_.authService.getId()&&(_.navbar="navbarRequestCoach"),_.setNavbars()})()}setNavbars(){let _=this.globalTabs.getSchemaByType(this.navbar,{authService:this.authService,clubsService:this.clubsService});const f=this.registrationsRequestsService.getData()?.id;_=_.map(x=>{x.skipChangeLocation=!0;const k=x.link.split("/")[x.link.split("/").length-1];return x.link=`./request/${f}/${k}`,x.params={pos:this.link.id},x}),this.globalTabs.schemaNavTabs[this.navbar]=_,this.router.navigate([this.link.lastUrl],{relativeTo:this.activatedRoute,skipLocationChange:!1,replaceUrl:!1,queryParams:{pos:this.link.id}}).then(x=>{this.setActiveBar(this.getPathActive(this.router.url)),this.loaded=!0})}setActiveBar(_){this.activeTab=0,this.globalVars.tabsMenu.showTabs=!0,"info"==_?this.activeTab=0:"payment-info"==_?this.activeTab=1:"transactions"==_?this.activeTab=2:"validate"==_&&(this.globalVars.tabsMenu.showTabs=!1)}getPathActive(_){let f=_.split("/");return f=f[f.length-1],f=f.split("?")[0],f}static \u0275fac=function(f){return new(f||P)(m.rXU(o.Y),m.rXU(O.nX),m.rXU(v.d),m.rXU(u.u),m.rXU(h.X),m.rXU(O.Ix),m.rXU(E.o),m.rXU(y.u))};static \u0275cmp=m.VBU({type:P,selectors:[["app-request-id"]],inputs:{link:"link",info:"info"},standalone:!1,features:[m.OA$],decls:2,vars:1,consts:[["class","dashboard-inside-table",4,"ngIf"],[1,"dashboard-inside-table"],[3,"navbar",4,"ngIf"],[3,"navbar"]],template:function(f,x){1&f&&(m.DNE(0,K,2,1,"div",0),m.nrm(1,"router-outlet")),2&f&&m.Y8G("ngIf",x.loaded)},dependencies:[O.n3,R.bT,N.O],encapsulation:2})}return P})()},89007:(F,b,t)=>{t.d(b,{L:()=>N});var g=t(72200),e=t(49189),o=t(7030),v=t(11890),u=t(35745),h=t(19348),m=t(48749),O=t(35375),E=t(73664),y=t(2615);t(22711);let N=(()=>{class D{static \u0275fac=function(P){return new(P||D)};static \u0275mod=E.$C({type:D});static \u0275inj=y.G2t({imports:[g.MD,o.g,v.g,e.G,u.C,h.x,m.P,O.J]})}return D})()},89987:(F,b,t)=>{t.d(b,{m:()=>u});var g=t(72200),e=t(89417),o=t(73664),v=t(2615);let u=(()=>{class h{static \u0275fac=function(E){return new(E||h)};static \u0275mod=o.$C({type:h});static \u0275inj=v.G2t({imports:[g.MD,e.X1]})}return h})()},92034:(F,b,t)=>{t.d(b,{z:()=>v});var g=t(43184),e=t(73664),o=t(2615);let v=(()=>{class u{static \u0275fac=function(O){return new(O||u)};static \u0275mod=e.$C({type:u});static \u0275inj=o.G2t({imports:[g.Q]})}return u})()},94946:(F,b,t)=>{t.d(b,{l:()=>v});var g=t(43184),e=t(73664),o=t(2615);let v=(()=>{class u{static \u0275fac=function(O){return new(O||u)};static \u0275mod=e.$C({type:u});static \u0275inj=o.G2t({imports:[g.Q]})}return u})()},95189:(F,b,t)=>{t.d(b,{c:()=>N});var g=t(72200),e=t(62470),o=t(49189),v=t(7030),u=t(35375),h=t(19348),m=t(48749),O=t(66124),E=t(21867),y=t(73664),R=t(2615);let N=(()=>{class D{static \u0275fac=function(P){return new(P||D)};static \u0275mod=y.$C({type:D});static \u0275inj=R.G2t({imports:[g.MD,o.G,e.k,v.g,u.J,h.x,m.P,O.M,E.v]})}return D})()},96835:(F,b,t)=>{t.d(b,{p:()=>v});var g=t(43184),e=t(73664),o=t(2615);let v=(()=>{class u{static \u0275fac=function(O){return new(O||u)};static \u0275mod=e.$C({type:u});static \u0275inj=o.G2t({imports:[g.Q]})}return u})()},96853:(F,b,t)=>{t.d(b,{G:()=>_t});var g=t(98924),e=t(62470),o=t(21867),v=t(72200),u=t(49189),h=t(35745),m=t(98656),O=t(11265),E=t(18116),y=t(6212),R=t(7030),N=t(73664),D=t(2615);let K=(()=>{class X{static \u0275fac=function(at){return new(at||X)};static \u0275mod=N.$C({type:X});static \u0275inj=D.G2t({imports:[E.Z,m.Y,O.t,u.G,h.C,v.MD,y.m,R.g]})}return X})();var W=t(84539),P=t(48746),G=t(45525);let _=(()=>{class X{static \u0275fac=function(at){return new(at||X)};static \u0275mod=N.$C({type:X});static \u0275inj=D.G2t({imports:[u.G,v.MD]})}return X})();var f=t(32564),x=t(39700),k=t(66124),V=t(19348),n=t(2129);let T=(()=>{class X{static \u0275fac=function(at){return new(at||X)};static \u0275mod=N.$C({type:X});static \u0275inj=D.G2t({imports:[x.Z,f.c,_,G.C,P.m,R.g,h.C,u.G,v.MD,y.m,k.M,V.x,n.x]})}return X})();var et=t(66220),q=t(46536);let ot=(()=>{class X{static \u0275fac=function(at){return new(at||X)};static \u0275mod=N.$C({type:X});static \u0275inj=D.G2t({imports:[u.G,v.MD,h.C,et._,V.x,g.j,q.K]})}return X})();var st=t(39337),lt=t(76785),pt=t(41850),ct=t(11487),M=t(35480),z=t(52280),p=t(48749),A=t(35375),j=t(74049),J=t
1(10971);t(35292),t(33094);let _t=(()=>{class X{static \u0275fac=function(at){return new(at||X)};static \u0275mod=N.$C({type:X});static \u0275inj=D.G2t({imports:[T,n.x,st.G,g.j,o.v,W.H,E.Z,M.Z,e.k,ot,pt.Qs,lt.x,ct._,K,z.s,y.m,p.P,A.J,q.K,j.x,J.m]})}return X})()},97152:(F,b,t)=>{t.d(b,{Z:()=>_});var g=t(72200),e=t(48749),o=t(19348),v=t(49189),u=t(35745),h=t(73664),m=t(2615);let O=(()=>{class f{static \u0275fac=function(V){return new(V||f)};static \u0275mod=h.$C({type:f});static \u0275inj=m.G2t({})}return f})();var E=t(48746),y=t(7030),R=t(10971),N=t(66124),D=t(35375),K=t(43184),W=t(49699),P=t(37673),G=t(68791);let _=(()=>{class f{static \u0275fac=function(V){return new(V||f)};static \u0275mod=h.$C({type:f});static \u0275inj=m.G2t({imports:[y.g,O,E.m,e.P,o.x,v.G,u.C,g.MD,R.m,N.M,D.J,K.Q,W.C,P.b,G.I]})}return f})()}}]);

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.