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