"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[65712],{65712:(e,n,o)=>{o.r(n),o.d(n,{default:()=>m});var t=o(2138),d=o(15324),s=o(10190),a=o(86654),r=o(54438),i=o(2910),l=o(58197),u=o(68273),c=o(88246),p=o(73955);let m=(()=>{var e;class AddonModLessonIndexPage extends t._{ngOnInit(){super.ngOnInit(),this.group=d.CoreNavigator.getRouteNumberParam("group"),this.action=d.CoreNavigator.getRouteParam("action")}}return(e=AddonModLessonIndexPage).ɵfac=(()=>{let n;return function AddonModLessonIndexPage_Factory(o){return(n||(n=r.xGo(e)))(o||e)}})(),e.ɵcmp=r.VBU({type:e,selectors:[["page-addon-mod-lesson-index"]],viewQuery:function AddonModLessonIndexPage_Query(e,n){if(1&e&&r.GBs(s.AddonModLessonIndexComponent,5),2&e){let e;r.mGM(e=r.lsd())&&(n.activityComponent=e.first)}},standalone:!0,features:[r.Vt3,r.aNF],decls:14,vars:14,consts:[["collapsible",""],["slot","start"],[3,"text"],["contextLevel","module",3,"text","contextInstanceId","courseId"],["slot","end"],[1,"limited-width"],["slot","fixed",3,"ionRefresh","disabled"],[3,"pullingText"],[3,"dataRetrieved","module","courseId","group","action"]],template:function AddonModLessonIndexPage_Template(e,n){1&e&&(r.j41(0,"ion-header",0)(1,"ion-toolbar")(2,"ion-buttons",1),r.nrm(3,"ion-back-button",2),r.nI1(4,"translate"),r.k0s(),r.j41(5,"ion-title")(6,"h1"),r.nrm(7,"core-format-text",3),r.k0s()(),r.nrm(8,"ion-buttons",4),r.k0s()(),r.j41(9,"ion-content",5)(10,"ion-refresher",6),r.bIt("ionRefresh",(function AddonModLessonIndexPage_Template_ion_refresher_ionRefresh_10_listener(e){return null==n.activityComponent?null:n.activityComponent.doRefresh(e.target)})),r.nrm(11,"ion-refresher-content",7),r.nI1(12,"translate"),r.k0s(),r.j41(13,"addon-mod-lesson-index",8),r.bIt("dataRetrieved",(function AddonModLessonIndexPage_Template_addon_mod_lesson_index_dataRetrieved_13_listener(e){return n.updateData(e)})),r.k0s()()),2&e&&(r.R7$(3),r.Y8G("text",r.bMT(4,10,"core.back")),r.R7$(4),r.Y8G("text",n.title)("contextInstanceId",n.module.id)("courseId",n.courseId),r.R7$(3),r.Y8G("disabled",null==n.activityComponent?null:n.activityComponent.showLoading),r.R7$(),r.FS9("pullingText",r.bMT(12,12,"core.pulltorefresh")),r.R7$(2),r.Y8G("module",n.module)("courseId",n.courseId)("group",n.group)("action",n.action))},dependencies:[a.n,i.QW,i.W9,i.eU,i.To,i.Ki,i.BC,i.ai,i.el,l.B,u.M,c.i,p.D9,s.AddonModLessonIndexComponent],encapsulation:2}),AddonModLessonIndexPage})()}}]);