"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[8611],{8611:(B,r,i)=>{i.r(r),i.d(r,{FinishedGamesPageModule:()=>G});var d=i(6019),h=i(9133),u=i(4599),l=i(8699),c=i(9550),t=i(3668),g=i(2670),p=i(7899);const f=[{path:"",component:(()=>{class e{constructor(n,a){this.gamesService=n,this.router=a}ngOnInit(){}ionViewDidEnter(){this.updateChildComponents()}updateChildComponents(){if(this.listOfButtonLists&&this.listOfButtonLists.length>0)for(const n of this.listOfButtonLists)n.updateComponent()}clickOnDelete(n){}clickOnButton(n){this.gamesService.activeGame=n,this.gamesService.activeQuiz=this.gamesService.returnQuizByGame(n),this.router.navigate(["break",{backTo:"finished"}])}}return e.\u0275fac=function(n){return new(n||e)(t.Y36(g.B),t.Y36(l.F0))},e.\u0275cmp=t.Xpm({type:e,selectors:[["app-finished-games"]],viewQuery:function(n,a){if(1&n&&t.Gf(c.F,5),2&n){let o;t.iGM(o=t.CRH())&&(a.listOfButtonLists=o)}},decls:4,vars:1,consts:[[1,"ion-no-border"],[3,"type","transmitClickOnButton","transmitDeleteThisButton"]],template:function(n,a){1&n&&(t.TgZ(0,"ion-header",0),t._UZ(1,"app-header"),t.qZA(),t.TgZ(2,"ion-content"),t.TgZ(3,"app-buttonlist",1),t.NdJ("transmitClickOnButton",function(m){return a.clickOnButton(m)})("transmitDeleteThisButton",function(m){return a.clickOnDelete(m)}),t.qZA(),t.qZA()),2&n&&(t.xp6(3),t.Q6J("type","FINISHED"))},directives:[u.Gu,p.G,u.W2,c.F],styles:[""]}),e})()}];let F=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=t.oAB({type:e}),e.\u0275inj=t.cJS({imports:[[l.Bz.forChild(f)],l.Bz]}),e})();var v=i(1382);let G=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=t.oAB({type:e}),e.\u0275inj=t.cJS({imports:[[d.ez,h.u5,u.Pc,F,v.m]]}),e})()}}]);