"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[30044],{30044:(e,i,t)=>{t.r(i),t.d(i,{AddonModQuizAccessTimeLimitComponent:()=>r});var n=t(24742),o=t(91416),s=t(86654),m=t(54438),a=t(2910),d=t(73955);const _c0=e=>({$a:e});let r=(()=>{var e;class AddonModQuizAccessTimeLimitComponent{constructor(){this.prefetch=!1,this.readableTimeLimit=""}ngOnInit(){var e,i;null!==(e=this.quiz)&&void 0!==e&&e.timelimit&&(this.readableTimeLimit=n.j.formatTime(null===(i=this.quiz)||void 0===i?void 0:i.timelimit))}}return(e=AddonModQuizAccessTimeLimitComponent).ɵfac=function AddonModQuizAccessTimeLimitComponent_Factory(i){return new(i||e)},e.ɵcmp=m.VBU({type:e,selectors:[["addon-mod-quiz-access-time-limit"]],inputs:{rule:"rule",quiz:"quiz",attempt:"attempt",prefetch:[m.Mj6.HasDecoratorInputTransform,"prefetch","prefetch",o.G],siteId:"siteId",form:"form"},standalone:!0,features:[m.GFd,m.aNF],decls:8,vars:9,consts:[[1,"ion-text-wrap"],[1,"item-heading"]],template:function AddonModQuizAccessTimeLimitComponent_Template(e,i){1&e&&(m.j41(0,"ion-item",0)(1,"ion-label")(2,"p",1),m.EFF(3),m.nI1(4,"translate"),m.k0s(),m.j41(5,"p"),m.EFF(6),m.nI1(7,"translate"),m.k0s()()()),2&e&&(m.R7$(3),m.JRh(m.bMT(4,2,"addon.mod_quiz.confirmstartheader")),m.R7$(3),m.JRh(m.i5U(7,4,"addon.mod_quiz.confirmstart",m.eq3(7,_c0,i.readableTimeLimit))))},dependencies:[s.n,a.uz,a.he,d.D9],encapsulation:2}),AddonModQuizAccessTimeLimitComponent})()}}]);