1import{a as Ie}from"./chunk-7JLNX5DC.js";import{a as Ve,b as Le}from"./chunk-GJSXLRMQ.js";import{a as Te,b as Me}from"./chunk-HYFYAUH5.js";import{a as qe}from"./chunk-D66GEEPS.js";import"./chunk-MV6OIE5X.js";import{g as we,h as ve,k as be,l as Se,o as ye}from"./chunk-3BAV5EDK.js";import"./chunk-5KQHIEGM.js";import{a as ge}from"./chunk-HE2I7CBW.js";import"./chunk-7BG55KHW.js";import"./chunk-HC4D7PDY.js";import"./chunk-6I72NLFF.js";import"./chunk-WSAI4OO5.js";import"./chunk-WBCY4GJP.js";import"./chunk-PM6J42SI.js";import{h as Ae}from"./chunk-7QHXAE3D.js";import"./chunk-SBITTQHG.js";import"./chunk-SR2Z3FYO.js";import"./chunk-WQXF4LYG.js";import{a as xe}from"./chunk-FP36IVGY.js";import"./chunk-IZNI2UKI.js";import"./chunk-E3JYLDE5.js";import"./chunk-V4HSB2UK.js";import"./chunk-KRYKJWVK.js";import"./chunk-RDAUFBOA.js";import"./chunk-NZKZPPQP.js";import"./chunk-AYUMU3FA.js";import"./chunk-36WVUEIZ.js";import"./chunk-2TBSRX74.js";import"./chunk-N2HOWMLB.js";import"./chunk-LTUIDJBQ.js";import"./chunk-TTS5XZBB.js";import"./chunk-VK27PNQX.js";import"./chunk-ABDLF37W.js";import"./chunk-IJPJQ6VW.js";import"./chunk-FD7FCE3T.js";import{Fa as se,Me as _e,Ne as Ce,Va as re,Vf as fe,Wa as ae,Wf as he,X,Y as Z,da as ee,gd as ue,hd as me,la as te,oa as ne,ra as ie,ub as le,vb as de,vd as ce,xd as pe}from"./chunk-L6QVANHB.js";import{Bb as _,Db as L,Dc as A,Ea as W,Eb as q,Ec as O,Fb as w,Gb as u,Hb as l,Hd as J,Ib as d,Jb as g,Lc as y,Mc as F,Nc as Y,Qb as x,Sb as f,Ua as j,Ub as r,Va as H,X as E,Xa as k,Za as a,eb as v,fc as z,hb as I,hc as b,ib as V,jc as S,ke as oe,mb as K,pa as M,pc as Q,qc as B,rc as $,rd as D,re as G,xa as m,ya as c,yb as U,zb as p}from"./chunk-CUJEUYRS.js";import{a as T,b as P}from"./chunk-5BGJS47I.js";var $e=n=>({"bg-white mb-40 p-20 md:p-40":n}),De=n=>[n,"answer"],N=n=>[n,"note"],Fe=(n,o)=>[n,o];function Oe(n,o){if(n&1){let e=x();l(0,"app-question-item",3),f("questionChanged",function(){m(e);let t=r(),i=t.$implicit,C=t.$index,h=r();return c(h.questionChanged.emit({question:i,selectedStrand:h.domain==null?null:h.domain.strands[0],selectedGroup:h.domain,index:C}))}),d()}if(n&2){let e,s=r(),t=s.$implicit,i=s.$index,C=r();u("question",t)("questionControls",C.questionsControls.get(t.id.toString()))("questionFormControl",C.questionsControls.get(A(13,De,t.id.toString())))("questionNoteFormControl",C.questionsControls.get(A(15,N,t.id.toString())))("showAddNote",!0)("isAddNoteVisible",((e=C.questionsControls.get(A(17,N,t==null?null:t.id.toString())))==null?null:e.value)!==null)("showQuestionNumber",!1)("isMediaVisible",!0)("questionNumber",i+1)("isAddNoteUnderQuestionInSmallScreen",!0)("multipleAnswerOptionsField","grid")("rows",1)("form",C.form)}}function Ge(n,o){if(n&1){let e=x();l(0,"div")(1,"app-single-question-per-step",4),f("questionChanged",function(t){m(e);let i=r(2);return c(i.questionChanged.emit(t))}),$("domainChange",function(t){m(e);let i=r(2);return B(i.domain,t)||(i.domain=t),c(t)}),d()()}if(n&2){let e=r(),s=e.$implicit,t=e.$index,i=r();a(),u("question",s)("questionIndex",t)("questionsControls",i.questionsControls),Q("domain",i.domain),u("showAddNote",!0)("rows",1)("showQuestionNumber",!1)("nextBtnLabel","studentDashboard.assessments.noScoreAssessment.nextQuestion")("previousBtnLabel","studentDashboard.assessments.noScoreAssessment.previousQuestion")("form",i.form)("isRequiredNextButtonDisabled",!1)}}function Re(n,o){if(n&1){let e=x();l(0,"div")(1,"app-related-questions-per-step",5),f("questionChanged",function(t){m(e);let i=r(2);return c(i.questionChanged.emit(t))}),$("domainChange",function(t){m(e);let i=r(2);return B(i.domain,t)||(i.domain=t),c(t)}),d()()}if(n&2){let e=r(),s=e.$implicit,t=e.$index,i=r();a(),u("questionsControls",i.questionsControls),Q("domain",i.domain),u("relatedQuestionsIndices",O(11,Fe,t-1,t))("relatedQuestions",O(14,Fe,i.domain==null||i.domain.strands[0]==null?null:i.domain.strands[0].questions[t-1],s))("isShowPrintMaterials",!1)("openEndedRows",1)("nextBtnLabel","studentDashboard.assessments.noScoreAssessment.nextQuestion")("previousBtnLabel","studentDashboard.assessments.noScoreAssessment.previousQuestion")("form",i.form)("showQuestionNumber",!1)("isRequiredNextButtonDisabled",!1)}}function Pe(n,o){if(n&1){let e=x();l(0,"app-question-item",8),f("questionChanged",function(){m(e);
1let t=r(),i=t.$implicit,C=t.$index,h=r(3);return c(h.questionChanged.emit({question:i,selectedStrand:h.domain==null?null:h.domain.strands[0],selectedGroup:h.domain,index:C}))}),d()}if(n&2){let e,s=r().$implicit,t=r(2).$implicit,i=r();u("question",s)("questionControls",i.questionsControls.get(t.id.toString()))("questionFormControl",i.questionsControls.get(A(7,De,s.id.toString())))("questionNoteFormControl",i.questionsControls.get(A(9,N,s.id.toString())))("isAddNoteVisible",((e=i.questionsControls.get(A(11,N,s==null?null:s.id.toString())))==null?null:e.value)!==null)("showAddNote",!0)("form",i.form)}}function We(n,o){if(n&1&&(l(0,"div",6),p(1,Pe,1,13,"app-question-item",7),d()),n&2){let e=o.$implicit;a(),_((e==null?null:e.isHidden)===!1?1:-1)}}function je(n,o){if(n&1&&q(0,We,2,1,"div",6,U().trackByFun,!0),n&2){let e=r().$implicit;w(e==null?null:e.nested_questions)}}function He(n,o){if(n&1&&(l(0,"div",1),p(1,Oe,1,19,"app-question-item",2),p(2,Ge,2,11,"div"),p(3,Re,2,17,"div"),p(4,je,2,0),d()),n&2){let e=o.$implicit,s=o.$index,t=r();u("ngClass",A(5,$e,(e==null?null:e.type)!=="related"||(e==null?null:e.type)=="related"&&(t.domain==null||t.domain.strands[0]==null||t.domain.strands[0].questions[s-1]==null?null:t.domain.strands[0].questions[s-1].type)=="related")),a(),_(e.type!=="related"?1:-1),a(),_(e.type=="hidden-options"?2:-1),a(),_((e==null?null:e.type)=="related"&&(e==null?null:e.type)=="related"&&(t.domain==null||t.domain.strands[0]==null||t.domain.strands[0].questions[s-1]==null?null:t.domain.strands[0].questions[s-1].type)=="related"?3:-1),a(),_((e==null||e.nested_questions==null?null:e.nested_questions.length)>0&&e.type!=="hidden-options"?4:-1)}}var Ne=(()=>{let o=class o{constructor(){this.questionChanged=new W,this.trackByFun=(s,t)=>t.id}get questionsControls(){return this.form?.get("questions")}ngOnInit(){}};o.\u0275fac=function(t){return new(t||o)}
1,o.\u0275cmp=I({type:o,selectors:[["app-asq-questions-list"]],inputs:{form:"form",domain:"domain",domainIndex:"domainIndex"},outputs:{questionChanged:"questionChanged"},standalone:!1,decls:3,vars:5,consts:[["extraClasses","mb-20",3,"number","title","instructions","indexStyle","instructionsBgColor"],[1,"rounded",3,"ngClass"],["questionExtraClass","font-bold","optionColor","gray",3,"question","questionControls","questionFormControl","questionNoteFormControl","showAddNote","isAddNoteVisible","showQuestionNumber","isMediaVisible","questionNumber","isAddNoteUnderQuestionInSmallScreen","multipleAnswerOptionsField","rows","form"],["questionExtraClass","font-bold","optionColor","gray",3,"questionChanged","question","questionControls","questionFormControl","questionNoteFormControl","showAddNote","isAddNoteVisible","showQuestionNumber","isMediaVisible","questionNumber","isAddNoteUnderQuestionInSmallScreen","multipleAnswerOptionsField","rows","form"],["questionExtraClass","font-bold","optionColor","gray","optionFieldType","box",3,"questionChanged","domainChange","question","questionIndex","questionsControls","domain","showAddNote","rows","showQuestionNumber","nextBtnLabel","previousBtnLabel","form","isRequiredNextButtonDisabled"],[3,"questionChanged","domainChange","questionsControls","domain","relatedQuestionsIndices","relatedQuestions","isShowPrintMaterials","openEndedRows","nextBtnLabel","previousBtnLabel","form","showQuestionNumber","isRequiredNextButtonDisabled"],[1,"lg:ms-60","md:ms-40","ms-30","my-20"],["questionExtraClass","font-bold","optionColor","gray",3,"question","questionControls","questionFormControl","questionNoteFormControl","isAddNoteVisible","showAddNote","form"],["questionExtraClass","font-bold","optionColor","gray",3,"questionChanged","question","questionControls","questionFormControl","questionNoteFormControl","isAddNoteVisible","showAddNote","form"]],template:function(t,i){t&1&&(g(0,"yn-item-header-with-instructions",0),q(1,He,5,7,"div",1,i.trackByFun,!0)),t&2&&(u("number",i.domainIndex+1)("title",i.domain==null?null:i.domain.name)("instructions",i.domain==null?null:i.domain.description)("indexStyle","active")("instructionsBgColor","white"),a(),w(i.domain==null||i.domain.strands[0]==null?null:i.domain.strands[0].questions))},dependencies:[D,we,be,Se,fe],encapsulation:2});let n=o;return n})();var Ue=n=>({"p-20":n}),ze=n=>({"overflow-y-auto h-400":n}),Ye=n=>({value:n});function Je(n,o){n&1&&g(0,"yn-loader",1)}function Xe(n,o){n&1&&g(0,"yn-loader")}function Ze(n,o){if(n&1){let e=x();l(0,"yn-tree-node",21),y(1,"translate"),f("click",function(){let t=m(e).$index,i=r(3);return c(i.setActiveDomain(t))}),d()}if(n&2){let e=o.$implicit,s=o.$index,t=r(3);u("label",e.name)("id",e.id)("index",s)("totalChildren",(e==null?null:e.total_parent_questions)||0)("counter",e.total_answered_questions||0)("isDone",e.isShowTickIcon)("activeNodeId",t.activeGroup==null?null:t.activeGroup.id)("isClickable",!0)("totalChildrenLabel",F(1,11,"studentDashboard.assessments.normal.questions"))("isShowWaitIcon",e.isShowWaitingIcon)("isShowTickIcon",e.isShowTickIcon)}}function et(n,o){if(n&1&&(l(0,"div",14),q(1,Ze,2,13,"yn-tree-node",20,L),d()),n&2){let e=r(2);u("ngClass",A(1,ze,(e.groups==null?null:e.groups.length)>8)),a(),w(e.groups)}}function tt(n,o){if(n&1&&g(0,"app-assessment-owner-info",16),n&2){let e=r(2);u("logo",e.currentAssessment==null||e.currentAssessment.meta==null||e.currentAssessment.meta.owner==null?null:e.currentAssessment.meta.owner.avatar_path)("name",e.currentAssessment==null||e.currentAssessment.meta==null||e.currentAssessment.meta.owner==null?null:e.currentAssessment.meta.owner.name)("assessmentInfo",e.currentAssessment==null?null:e.currentAssessment.description)("cutLength",204)}}function nt(n,o){n&1&&g(0,"yn-loader")}function it(n,o){if(n&1){let e=x();l(0,"app-asq-questions-list",22),f("questionChanged",function(t){m(e);let i=r(2);return c(i.onInputChange(t,i.groups))}),d()}if(n&2){let e=r(2);u("form",e.form)("domain",e.activeGroup)("domainIndex",e.indexOfDomainActive)}}function st(n,o){if(n&1){let e=x();l(0,"div",19)(1,"div")(2,"yn-button",23),f("onClick",function(){m(e);let t=r(2);return c(t.handlePrevious())}),d()(),l(3,"div")(4,"yn-button",23),f("onClick",function(){m(e);let t=r(2);return c(t.handleNext())}),d()()()}if(n&2){let e=r(2);a(2),z("border"),u("hidden",(e.activeGroup==null?null:e.activeGroup.id)===(e.groups[0]==null?null:e.groups[0].id))("size","xl")("label","shared.actions.previous")("borderRadius","sm"),a(2),u("hidden",(e.activeGroup==null?null:e.activeGroup.id)===e.groups[e.groups.length-1].id)("size","xl")("label","studentDashboard.assessments.noScoreAssessment.nextDomain")("borderRadius","sm")}}function ot(n,o){if(n&1){let e=x();l(0,"section")(1,"app-sticky-assessment-navbar",8),f("handleSubmit",function(){m(e);let t=r();return c(t.checkAnsweredQuestion())})("handleSaveDraft",function(){m(e);let t=r();return c(t.onSubmit(!0))})("handleExit",function(){m(e);let t=r();return c(t.exit())}),d(),l(2,"app-responsive-assessment-report-actions",9),f("onOk",function(){m(e);let t=r();return c(t.checkAnsweredQuestion())})("onSaveDraft",function(){m(e);let t=r();return c(t.onSubmit(!0))})("handleExit",function(){m(e);let t=r();return c(t.exit())}),d(),l(3,"section",10)(4,"div",11)(5,"div",12)(6,"h4",13),b(7),y(8,"translate"),d(),p(9,Xe,1,0,"yn-loader"),p(10,et,3,3,"div",14),g(11,"hr",15),p(12,tt,1,4,"a
1pp-assessment-owner-info",16),d(),l(13,"div",17),p(14,nt,1,0,"yn-loader"),p(15,it,1,3,"app-asq-questions-list",18),p(16,st,5,10,"div",19),d()()()()}if(n&2){let e=r();a(),u("childId",e.studentId)("name",e.currentAssessment==null?null:e.currentAssessment.name)("savedByName",e.currentAssessment==null||e.currentAssessment.assessment_draft_result==null?null:e.currentAssessment.assessment_draft_result.executed_by)("updatedAtDate",e.currentAssessment==null||e.currentAssessment.assessment_draft_result==null?null:e.currentAssessment.assessment_draft_result.updated_at)("isDraft",e.isDraft)("isLoading",e.isDraftSaving)("isShowProgress",!0)("totalProgressNumber",e.assessmentQuestionsCount)("currentProgressNumber",e.answeredQuestionCount)("hideActions",e.isViewMode)("hasExitAction",e.isViewMode),a(),u("name",e.currentAssessment==null||e.currentAssessment.assessment_draft_result==null?null:e.currentAssessment.assessment_draft_result.executed_by)("date",e.currentAssessment==null||e.currentAssessment.assessment_draft_result==null?null:e.currentAssessment.assessment_draft_result.updated_at)("isReport",!1)("isDraft",e.isDraft)("isLoadingSubmission",e.isSubmitting)("isLoadingSaveDraft",e.isDraftSaving)("isSubmit",!0)("hideSaveAndCancel",e.isViewMode)("hasExitAction",e.isViewMode),a(5),S(" ",F(8,27,"studentDashboard.assessments.domains")," "),a(2),_(e.isQuestionLoading?9:-1),a(),_(e.isQuestionLoading?-1:10),a(2),_(e.isLoading?-1:12),a(2),_(e.isQuestionLoading?14:-1),a(),_(e.activeGroup&&e.form.controls.questions&&!e.isQuestionLoading?15:-1),a(),_((e.groups==null?null:e.groups.length)>0?16:-1)}}function rt(n,o){n&1&&g(0,"yn-loader")}function at(n,o){if(n&1&&(l(0,"a",24),g(1,"span",25),b(2),y(3,"translate"),d()),n&2){let e=o.$implicit;u("href",e,H),a(2),S(" ",F(3,2,"studentDashboard.assessments.noScoreAssessment.flashcards")," ")}}function lt(n,o){if(n&1&&(l(0,"div",6),q(1,at,4,4,"a",24,L),d()),n&2){let e=r();a(),w(e.currentAssessment==null||e.currentAssessment.meta==null?null:e.currentAssessment.meta.resources)}}function dt(n,o){if(n&1){let e=x();l(0,"li",29),f("click",function(){m(e);let t=r().$index,i=r(3);return c(i.onInCompleteGroupClicked(t))}),b(1),d()}if(n&2){let e=r().$implicit;a(),S(" ",e.name," ")}}function ut(n,o){if(n&1&&p(0,dt,2,1,"li",28),n&2){let e=o.$implicit,s=o.$index,t=r(3);_(s!==t.groups.length-1&&(!(e!=null&&e.answeredMainQuestionsCount)||(e==null?null:e.answeredMainQuestionsCount)<4)?0:-1)}}function mt(n,o){if(n&1&&(l(0,"ul",6),q(1,ut,1,1,null,null,L),d()),n&2){let e=r(2);a(),w(e.groups)}}function ct(n,o){if(n&1){let e=x();l(0,"yn-confirmation-modal",26),f("handleOk",function(){m(e);let t=r();return c(t.okConfirmationModal())})("handleCancel",function(){m(e);let t=r();return c(t.closeModal())})("handleMiddleCTA",function(t){m(e);let i=r();return c(i.okConfirmationModal(t))}),l(1,"p",27),b(2),y(3,"translate"),d(),p(4,mt,3,0,"ul",6),d()}if(n&2){let e=r();u("title",e.warningModalKeys==null?null:e.warningModalKeys.title)("ctaText",e.warningModalKeys==null?null:e.warningModalKeys.okLabel)("secondaryActionText",e.warningModalKeys==null?null:e.warningModalKeys.closeLabel)("isVisible",e.isShowSubmitConfirmationModal||e.isEmptyAssessmentModalOpen||e.isIncompleteAssessmentModalOpen)("isLoading",e.isSubmitting)("isOkDisabled",e.isSubmitting)("hideSecondaryButton",e.warningModalKeys.hideSecondaryCTA)("hasMiddleButton",e.isShowSubmitConfirmationModal)("middleButtonText",e.warningModalKeys.middleCtaLabel),a(2),S(" ",Y(3,11,e.warningModalKeys==null?null:e.warningModalKeys.description,A(14,Ye,e.currentAssessment.name))," "),a(2),_(e.warningModalKeys.hasExtraInfo?4:-1)}}var Ee=(()=>{let o=class o extends Ie{beforeUnloadHandler(s){s.returnValue="..."}constructor(s,t,i,C,h){super(s),this.fb=t,this.activatedRoute=i,this.assessmentService=C,this.windowService=h,this.isViewMode=this.assessmentService.isCenterAssessmentView(),this.getViewAssessment=()=>{this.isLoading=!0,this.assessmentService.view("child",T({id:this.id},this.isViewMode&&{center_assessment:!0})).pipe(E(()=>this.isLoading=!1)).subscribe({next:Qe=>{this.currentAssessment=Qe.body,this.isDraft==="false"&&this.currentAssessment.meta?.instructions&&(this.isGuidelinesModalOpen=!0),this.getQuestions(),!this.currentAssessment?.is_age_fit_assessment&&!this.isViewMode&&this.assessmentExecutionService.redirectToChildAssessmentList(this.studentId)}})},this.studentId=parseInt(this.activatedRoute.snapshot.params.id,10),this.id=p
1arseInt(this.activatedRoute.snapshot.params.assessmentId,10),this.isDraft=this.activatedRoute.snapshot.params.isDraft,this.assessmentService.checkHasRunAssessmentPermission(this.studentId),this.form=new Z({})}get isDraftSaving(){return this.assessmentExecutionService.isDraftSaving}get isSubmitting(){return this.assessmentExecutionService.isSubmitting}ngOnInit(){this.windowService.currentWidth$.subscribe(s=>{s>768?this.isLargeScreen=!0:this.isLargeScreen=!1}),this.getViewAssessment()}exit(){this.assessmentService.back()}getQuestions(){this.isQuestionLoading=!0,this.assessmentService.getAssessmentQuestions("child",T({id:this.id},this.assessmentService.getParamsForViewAssessmentGroupsWithoutAssign())).pipe(E(()=>this.isQuestionLoading=!1)).subscribe({next:s=>{if(this.strandsIntoGroupMapper(s.body),this.groups.length!==0){this.generateQuestionsForm(this.groups,this.currentAssessment,this.form,this.fb);let t=this.currentAssessment.assessment_draft_result?.options?.activeGroup_id;if(t){let i=this.groups.findIndex(C=>C.id===t);this.setActiveDomain(i<0?0:i)}else this.setActiveDomain(0)}}})}strandsIntoGroupMapper(s){this.groups=s[0].strands.map((t,i)=>P(T({},t),{total_parent_questions:t.questions?.length,strands:[{id:i+1+t.id,is_default_strand:!0,name:"ynmo-default-strand",questions:t.questions}]}))}checkAnsweredQuestion(){this.answeredQuestionCount==0?this.showEmptyModal():this.groups.slice(0,this.groups.length-1).some(s=>!s.answeredMainQuestionsCount||s.answeredMainQuestionsCount<4)?this.showIncompleteModal():this.showSubmitConfirmation(!0)}onInCompleteGroupClicked(s){this.setActiveDomain(s),this.closeModal(),setTimeout(()=>{window.scrollTo({top:0,behavior:"smooth"})})}showIncompleteModal(){this.warningModalKeys={title:"studentDashboard.assessments.asq.inCompleteDomainsModalTitle",description:"studentDashboard.assessments.asq.inCompleteDomainsModalDescription",hasExtraInfo:!0,okLabel:"shared.actions.saveAsDraft",closeLabel:"shared.actions.close",hideSecondaryCTA:!1},this.isIncompleteAssessmentModalOpen=!0}onSubmit(s){let t=this.form.value.questions,i=this.assessmentExecutionService.prepareDataForSubmission(this.id,this.studentId,t,s,this.allTableQuestions,null,this.isSubmitAndSaveDraft);i.options={activeGroup_id:this.activeGroup.id},s?this.answeredQuestionCount===0?this.showEmptyModal(!0):this.assessmentExecutionService.handleSaveAssessmentDraft(i,this.studentId):this.assessmentExecutionService.handleSubmitAssessmentExecution(i,this.studentId,this.id)}};o.\u0275fac=function(t){return new(t||o)(v(qe),v(ne),v(oe),v(ge),v(xe))},o.\u0275cmp=I({type:o,selectors:[["app-asq-assessment"]],hostBindings:function(t,i){t&1&&f("beforeunload",function(h){return i.beforeUnloadHandler(h)},k)},standalone:!1,features:[K],decls:10,vars:16,consts:[[3,"beforeunload"],["extraClasses","h-screen flex justify-center items-center"],[3,"formGroup"],[3,"handelCancel","handleOk","title","isVisible","okText","isClosable","widthClassName","isFullScreen"],[3,"ngClass"],[3,"innerHTML"],[1,"mt-20"],["type","warning3",3,"title","ctaText","secondaryActionText","isVisible","isLoading","isOkDisabled","hideSecondaryButton","hasMiddleButton","middleButtonText"],[3,"handleSubmit","handleSaveDraft","handleExit","childId","name","savedByName","updatedAtDate","isDraft","isLoading","isShowProgress","totalProgressNumber","currentProgressNumber","hideActions","hasExitAction"],[3,"onOk","onSaveDraft","handleExit","name","date","isReport","isDraft","isLoadingSubmission","isLoadingSaveDraft","isSubmit","hideSaveAndCancel","hasExitAction"],[1,"p-layout"],[1,"grid","grid-cols-12","gap-4","my-34"],[1,"col-span-12","lg:col-span-3"],[1,"pb-10","font-bold"],[1,"pe-10",3,"ngClass"],[1,"divider","mt-20","mb-0"],[3,"logo","name","assessmentInfo","cutLength"],[1,"col-span-12","lg:col-span-9","lg:mx-30"],[3,"form","domain","domainIndex"],[1,"flex","justify-between","my-20"],[1,"mb-10",3,"label","id","index","totalChildren","counter","isDone","activeNodeId","isClickable","totalChildrenLabel","isShowWaitIcon","isShowTickIcon"],[1,"mb-10",3,"click","label","id","index","totalChildren","counter","isDone","activeNodeId","isClickable","totalChildrenLabel","isShowWaitIcon","isShowTickIcon"],[3,"questionChanged","form","domain","domainIndex"],[3,"onClick","hidden","size","label","borderRadius"],["target","_blank",1,"leading-3xloose","font-bold","text-color01","me-10",3,"href"],[1,"yn-icon__pdf","me-10"],["type","warning3",3,"handleOk","handleCancel","handleMiddleCTA","title","ctaText","secondaryActionText","isVisible","isLoading","isOkDisabled","hideSecondaryButton","hasMiddleButton","middleButtonText"],[1,"text-sm","text-color-text"],[1,"font-bold","text-color-text","cursor-pointer","leading-relaxed"],[1,"font-bold","text-color-text","cursor-pointer","leading-relaxed",3,"click"]],template:function(t,i){t&1&&(l(0,"div",0),f("beforeunload",function(h){return i.beforeUnloadHandler(h)},k),d(),p(1,Je,1,0,"yn-loader",1),l(2,"form",2),p(3,ot,17,29,"section"),d(),l(4,"yn-modal",3),f("handelCancel",function(){return i.isViewMode?i.exit():i.redirectToStudentAssessmentsList()})("handleOk",function(){return i.okStartAssessment()}),p(5,rt,1,0,"yn-loader"),l(6,"div",4),g(7,"span",5),p(8,lt,3,0,"div",6),d()(),p(9,ct,5,16,"yn-confirmation-modal",7)),t&2&&(a(),_(i.isLoading?1:-1),a(),u("formGroup",i.form),a(),_(i.isLoading?-1:3),a(),u("title","studentDashboard.assessments.noScoreAssessment.instructions")("isVisible",i.isGuidelinesModalOpen)("okText","shared.actions.start")("isClosable",!1)("widthClassName",i.isLargeScreen?"custom-app-modal modal-width-700":"fullscreen-modal bg-white overflow-hidden")("isFullScreen",!i.isLargeScreen),a(),_(i.isLoading?5:-1),a(),u("ngClass",A(14,Ue,!i.isLargeScreen)),a(),u("innerHTML",i.currentAssessment==null||i.currentAssessment.meta==null?null:i.currentAssessment.meta.instructions,j),a(),_((i.currentAssessment==null||i.currentAssessment.meta==null||i.currentAssessment.meta.resources==null?null:i.currentAssessment.meta.resources.length)>0?8:-1),a(),_(i.isShowSubmitConfirmationModal||i.isEmptyAssessmentModalOpen||i.isIncompleteAssessmentModalOpen?9:-1))},dependencies:[D,ee,X,te,ve,Ve,Te,ce,_e,ue,re,ae,Ne,se],encapsulation:2});let n=o;return n})();var pt=[{path:"",component:Ee}],ke=(()=>{let o=class o{};o.\u0275fac=function(t){return new(t||o)}
1,o.\u0275mod=V({type:o}),o.\u0275inj=M({imports:[G.forChild(pt),G]});let n=o;return n})();var nn=(()=>{let o=class o{};o.\u0275fac=function(t){return new(t||o)},o.\u0275mod=V({type:o}),o.\u0275inj=M({imports:[J,ke,ie,Ae,ye,Le,Me,he,pe,Ce,me,le,de]});let n=o;return n})();export{nn as AsqAssessmentModule};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.