1"use strict";(globalThis.webpackChunkacadlix=globalThis.webpackChunkacadlix||[]).push([["admin_quiz_front_dashboard_quiz_answer_sheet_question_subject_and_point_section"],{
1"./src/components/CustomButton.js":(e,s,n)=>{n.d(s,{A:()=>a});var i=n("./node_modules/@mui/material/esm/Button/Button.js"),t=(n("react"),n("react/jsx-runtime"));const a=e=>(0,t.jsx)(i.A,{variant:"contained",color:"primary",sx:{padding:"4px 15px",fontSize:"14px",...e?.sx},className:`acadlix-custom-button ${e?.className}`,size:"small",...e,children:e?.children})},
1"./src/pro/front/dashboard/quiz/advanceMode/advance-result-section/AdvanceQuestionSubjectAndPointSection.js":(e,s,n)=>{n.r(s),n.d(s,{default:()=>r});var i=n("./node_modules/@mui/material/esm/Box/Box.js"),t=n("./node_modules/@mui/material/esm/Typography/Typography.js"),a=n("./node_modules/@mui/material/esm/Tooltip/Tooltip.js"),o=(n("react"),n("./src/helpers/util.js")),c=(n("./src/helpers/icons.js"),n("./src/components/CustomButton.js"),n("@wordpress/i18n")),l=n("react/jsx-runtime");const r=e=>{const s=()=>{e?.setValue(`questions.${e?.index}.review`,!e?.watch(`questions.${e?.index}.review`),{shouldDirty:!0})};return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)(i.A,{sx:{display:"flex",justifyContent:"space-between",marginY:"5px"},className:"acadlix-normal-quiz-question-subject-and-point-section",children:[!e?.watch("hide_question_numbering")&&(0,l.jsx)(i.A,{sx:{marginY:"5px"},children:(0,l.jsxs)(t.A,{sx:{fontWeight:"bold"},className:"acadlix-normal-quiz-question-number",children:[(0,c.__)("Question","acadlix")," ",e?.num," ",(0,c.__)("of","acadlix")," ",e?.watch("questions")?.length]})}),(0,l.jsx)(i.A,{children:(0,l.jsxs)(t.A,{className:"acadlix-normal-quiz-question-point-time-section",component:"span",children:[e?.watch("show_marks")&&(0,l.jsxs)(t.A,{className:"acadlix-normal-quiz-question-point",component:"span",sx:{fontWeight:"bold"},children:[e?.watch("view_answer")?e?.question?.result?.solved_count?e?.question?.result?.correct_count?`${e?.question?.points>0?"+":""}${e?.question?.points} ${(0,c.__)("Point","acadlix")}${e?.question?.points>1?"s":""}`:`${e?.question?.negative_points>0?"-":""}${e?.question?.negative_points} ${(0,c.__)("Point","acadlix")}${e?.question?.negative_points>1?"s":""}`:`0 ${(0,c.__)("Point","acadlix")}`:`${e?.question?.points} ${(0,c.__)("Point","acadlix")}${e?.question?.points>1?"s":""}`," "]}),e?.watch("view_answer")&&e?.watch("show_per_question_time")&&(0,l.jsxs)(l.Fragment,{children:["| ",(0,l.jsx)(t.A,{className:"acadlix-normal-quiz-question-time",component:"span",sx:{fontWeight:"bold"},children:(0,o.rt)(e?.question?.result?.time)})]})]})}),!e?.watch("view_answer")&&e?.watch("show_review_button")&&(0,l.jsx)(i.A,{sx:{display:e?.watch("finish")?"none":""},className:"acadlix-normal-quiz-question-review-section",children:e?.question?.review?(0,l.jsx)(a.A,{title:(0,c.__)("Remove from review","acadlix"),children:(0,l.jsx)(Button,{variant:"contained",size:"medium",onClick:s,sx:{fontSize:{xs:20,md:18}},className:"acadlix-normal-quiz-question-remove-review-button",children:(0,l.jsx)(MdReviews,{})})}):(0,l.jsx)(a.A,{title:(0,c.__)("Mark as review","acadlix"),children:(0,l.jsx)(Button,{variant:"contained",size:"medium",onClick:s,sx:{fontSize:{xs:20,md:18}},className:"acadlix-normal-quiz-question-review-button",children:(0,l.jsx)(MdOutlineReviews,{})})})})]}),(0,l.jsx)(i.A,{sx:{display:"flex",justifyContent:"space-between",alignItems:"center"},className:"acadlix-normal-quiz-question-subject-section",children:e?.watch("display_subject")&&(0,l.jsx)(i.A,{sx:{marginY:"2px"},children:(0,l.jsxs)(t.A,{className:"acadlix-normal-quiz-question-subject-content",fontWeight:"bold",children:[(0,c.__)("Subject: ","acadlix"),e?.watch(`questions.${e?.index}.subject_name`)," ","advance_mode"===e?.watch("mode")&&e?.watch("enable_selectable_questions_rule")&&(e?.isQuestionEvaluated(e?.question?.subject_id,e?.question?.question_id)?(0,l.jsxs)(t.A,{component:"span",children:["(",(0,l.jsxs)(t.A,{color:e?.colorCode?.correct,component:"span",sx:{fontWeight:"bold"},children:[(0,c.__)("Evaluated","acadlix")," "]}),(0,l.jsx)(t.A,{component:"span",variant:"caption",sx:{fontSize:"10px",fontWeight:500},children:(0,o.YI)(e?.question?.result?.attempted_at)}),")"]}):(0,l.jsxs)(t.A,{color:e?.colorCode?.incorrect,component:"span",sx:{fontWeight:"bold"},children:["(",(0,c.__)("Not Evaluated","acadlix"),")"]}))]})})})]})}}
1}]);
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.