"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[33375],{33375:(e,t,n)=>{n.r(t),n.d(t,{AddonQtypeMultiAnswerComponent:()=>p});var o=n(1762),s=n(69319),r=n(86654),i=n(54438),d=n(2910),a=n(58197);function AddonQtypeMultiAnswerComponent_Conditional_0_Template(e,t){if(1&e){const e=i.RV6();i.j41(0,"ion-list",0)(1,"div",1)(2,"core-format-text",2),i.bIt("afterRender",(function AddonQtypeMultiAnswerComponent_Conditional_0_Template_core_format_text_afterRender_2_listener(){i.eBV(e);const t=i.XpG();return i.Njj(t.questionRendered())})),i.k0s()()()}if(2&e){const e=i.XpG();i.R7$(2),i.Y8G("component",e.component)("componentId",e.componentId)("text",e.question.text)("contextLevel",e.contextLevel)("contextInstanceId",e.contextInstanceId)("courseId",e.courseId)}}let p=(()=>{var e;class AddonQtypeMultiAnswerComponent extends o.g{constructor(e){super("AddonQtypeMultiAnswerComponent",e)}init(){this.initOriginalTextComponent(".formulation"),this.onReadyPromise.resolve()}questionRendered(){s.CoreQuestionHelper.treatCorrectnessIconsClicks(this.hostElement,this.component,this.componentId,this.contextLevel,this.contextInstanceId,this.courseId)}}return(e=AddonQtypeMultiAnswerComponent).ɵfac=function AddonQtypeMultiAnswerComponent_Factory(t){return new(t||e)(i.rXU(i.aKT))},e.ɵcmp=i.VBU({type:e,selectors:[["addon-qtype-multianswer"]],standalone:!0,features:[i.Vt3,i.aNF],decls:1,vars:1,consts:[[1,"addon-qtype-multianswer-container"],[1,"fake-ion-item","ion-text-wrap"],[3,"afterRender","component","componentId","text","contextLevel","contextInstanceId","courseId"]],template:function AddonQtypeMultiAnswerComponent_Template(e,t){1&e&&i.DNE(0,AddonQtypeMultiAnswerComponent_Conditional_0_Template,3,6,"ion-list",0),2&e&&i.vxM(0,t.question&&(t.question.text||""===t.question.text)?0:-1)},dependencies:[r.n,d.nf,a.B],styles:["[_nghost-%COMP%]     p{margin:0 0 .5em}[_nghost-%COMP%]     .answer div.r0, [_nghost-%COMP%]     .answer div.r1, [_nghost-%COMP%]     .answer td.r0, [_nghost-%COMP%]     .answer td.r1{padding:.3em}[_nghost-%COMP%]     table{width:100%;display:table}[_nghost-%COMP%]     tr{display:table-row}[_nghost-%COMP%]     td{display:table-cell}"]}),AddonQtypeMultiAnswerComponent})()}}]);