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