@genpact/genome.mfe.solidify-app 3.11.0 → 3.12.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (68) hide show
  1. package/dist/css/991.css +1 -0
  2. package/dist/css/LearnerRereview.css +1 -1
  3. package/dist/css/SolidifyAdministrationCreateOffCyele.css +1 -1
  4. package/dist/css/SolidifyAdministrationGenAIReviewedSubmissions.css +1 -1
  5. package/dist/css/SolidifyAdministrationTaskManagement.css +1 -1
  6. package/dist/css/SolidifyLearner.css +1 -1
  7. package/dist/css/SolidifyLearnerDone.css +1 -1
  8. package/dist/css/SolidifyLearnerGating.css +1 -1
  9. package/dist/css/SolidifyLearnerPeerReview.css +1 -1
  10. package/dist/css/SolidifyLearnerProxyReview.css +1 -1
  11. package/dist/css/SolidifyLearnerSelectTask.css +1 -1
  12. package/dist/css/SolidifyLearnerStatus.css +1 -1
  13. package/dist/css/SolidifyLearnerSubmitTask.css +1 -1
  14. package/dist/img/Help_Button.svg +20 -29
  15. package/dist/img/loadernew.gif +0 -0
  16. package/dist/img/s_1.png +0 -0
  17. package/dist/img/s_2.png +0 -0
  18. package/dist/img/s_3.png +0 -0
  19. package/dist/img/s_4.png +0 -0
  20. package/dist/img/support.svg +13 -0
  21. package/dist/solidify.css +2 -1
  22. package/dist/{solidify.umd.min.936.js → solidify.umd.min.991.js} +2 -2
  23. package/dist/{solidify.umd.min.936.js.map → solidify.umd.min.991.js.map} +1 -1
  24. package/dist/solidify.umd.min.LearnerRereview.js +1 -1
  25. package/dist/solidify.umd.min.LearnerRereview.js.map +1 -1
  26. package/dist/solidify.umd.min.SolidifyAdministration.js +1 -1
  27. package/dist/solidify.umd.min.SolidifyAdministration.js.map +1 -1
  28. package/dist/solidify.umd.min.SolidifyAdministrationCreateOffCyele.js +1 -1
  29. package/dist/solidify.umd.min.SolidifyAdministrationCreateOffCyele.js.map +1 -1
  30. package/dist/solidify.umd.min.SolidifyAdministrationEmailTemplateManagement.js +1 -1
  31. package/dist/solidify.umd.min.SolidifyAdministrationEmailTemplateManagement.js.map +1 -1
  32. package/dist/solidify.umd.min.SolidifyAdministrationGenAIReviewedSubmissions.js +1 -1
  33. package/dist/solidify.umd.min.SolidifyAdministrationGenAIReviewedSubmissions.js.map +1 -1
  34. package/dist/solidify.umd.min.SolidifyAdministrationNeedReviewerReport.js +1 -1
  35. package/dist/solidify.umd.min.SolidifyAdministrationNeedReviewerReport.js.map +1 -1
  36. package/dist/solidify.umd.min.SolidifyAdministrationOffcycleDashboard.js +1 -1
  37. package/dist/solidify.umd.min.SolidifyAdministrationOffcycleDashboard.js.map +1 -1
  38. package/dist/solidify.umd.min.SolidifyAdministrationOperationalDetails.js +1 -1
  39. package/dist/solidify.umd.min.SolidifyAdministrationOperationalDetails.js.map +1 -1
  40. package/dist/solidify.umd.min.SolidifyAdministrationProgramAdministration.js +1 -1
  41. package/dist/solidify.umd.min.SolidifyAdministrationProgramAdministration.js.map +1 -1
  42. package/dist/solidify.umd.min.SolidifyAdministrationTaskManagement.js +1 -1
  43. package/dist/solidify.umd.min.SolidifyAdministrationTaskManagement.js.map +1 -1
  44. package/dist/solidify.umd.min.SolidifyLearner.js +2 -2
  45. package/dist/solidify.umd.min.SolidifyLearner.js.map +1 -1
  46. package/dist/solidify.umd.min.SolidifyLearnerDone.js +1 -1
  47. package/dist/solidify.umd.min.SolidifyLearnerDone.js.map +1 -1
  48. package/dist/solidify.umd.min.SolidifyLearnerError.js +1 -1
  49. package/dist/solidify.umd.min.SolidifyLearnerError.js.map +1 -1
  50. package/dist/solidify.umd.min.SolidifyLearnerGating.js +1 -1
  51. package/dist/solidify.umd.min.SolidifyLearnerGating.js.map +1 -1
  52. package/dist/solidify.umd.min.SolidifyLearnerPeerReview.js +1 -1
  53. package/dist/solidify.umd.min.SolidifyLearnerPeerReview.js.map +1 -1
  54. package/dist/solidify.umd.min.SolidifyLearnerProxyReview.js +1 -1
  55. package/dist/solidify.umd.min.SolidifyLearnerProxyReview.js.map +1 -1
  56. package/dist/solidify.umd.min.SolidifyLearnerSelectTask.js +2 -2
  57. package/dist/solidify.umd.min.SolidifyLearnerSelectTask.js.map +1 -1
  58. package/dist/solidify.umd.min.SolidifyLearnerStatus.js +1 -1
  59. package/dist/solidify.umd.min.SolidifyLearnerStatus.js.map +1 -1
  60. package/dist/solidify.umd.min.SolidifyLearnerSubmitTask.js +2 -2
  61. package/dist/solidify.umd.min.SolidifyLearnerSubmitTask.js.map +1 -1
  62. package/dist/solidify.umd.min.js +4 -4
  63. package/dist/solidify.umd.min.js.map +1 -1
  64. package/package.json +1 -1
  65. package/dist/css/936.css +0 -1
  66. package/dist/fonts/GuardianEgyp-Light.otf +0 -0
  67. package/dist/fonts/GuardianTextEgyp-Bold.otf +0 -0
  68. package/dist/img/GenomeAI.gif +0 -0
@@ -1,2 +1,2 @@
1
- "use strict";(("undefined"!==typeof self?self:this)["webpackChunksolidify"]=("undefined"!==typeof self?self:this)["webpackChunksolidify"]||[]).push([[712],{4735:function(e,s,t){t.d(s,{Z:function(){return u}});var a=function(){var e=this,s=e._self._c;e._self._setupProxy;return s("div",{staticClass:"flex"},[s("div",{staticClass:"w-full pt-16 px-32"},[s("div",{staticClass:"md:px-0 lg:px-0 text-center"},[s("div",{staticClass:"text-gray-500"},[s("div",{staticClass:"pt-2",domProps:{innerHTML:e._s(e.errorMsg)}})]),s("div",{staticClass:"pt-8"},[s("a",{attrs:{href:e.helpmateLink,target:"_blank"}},[s("img",{staticClass:"mx-auto",attrs:{src:t(6540)}})])])])])])},i=[],l=t(7203),r=(0,l.defineComponent)({name:"ErrorMessage",props:{errorMessage:{type:String,default:""}},setup(e){const s=(0,l.ref)(""),t=(0,l.ref)(localStorage.getItem("helpmateLink"));return(0,l.onBeforeMount)((async()=>{s.value=e.errorMessage})),{errorMsg:s,helpmateLink:t}}}),o=r,n=t(1001),c=(0,n.Z)(o,a,i,!1,null,null,null),u=c.exports},9719:function(e,s,t){t.d(s,{Z:function(){return d}});var a=function(){var e=this,s=e._self._c;return e.isVisible?s("main",{staticClass:"modal-wrapper relative z-50 modal-filter fixed inset-0 w-full h-screen flex mt-2 justify-center bg-semi-75 h-fit"},[s("transition",{attrs:{name:"modal-fade"}},[s("div",{staticClass:"modal-overlay",on:{click:function(s){return e.$emit("close-modal")}}},[s("div",{staticClass:"modal relative",on:{click:function(e){e.stopPropagation()}}},[e.closeVisible?s("div",{staticClass:"absolute right-0 pr-4 top-5 cursor-pointer",on:{click:function(s){return e.$emit("closeModal")}}},[s("x-icon",{attrs:{size:"1.5x"}})],1):e._e(),s("div",{staticClass:"bg-white"},[s("div",[e.popUpImage1||e.popUpImage2?s("div",{staticClass:"font-bold text-center mb-3 flex justify-center text-base sm:text-xl"},[s("div",[s("strong",[e._v("Do you want to mark the submission Plagiarised?")])])]):e._e(),e.popUpImage1?s("div",{staticClass:"w-full"},[s("img",{staticClass:"block px-4 pb-2 mx-auto w-3/12",attrs:{src:t(2191)}})]):e._e(),e.popUpImage2?s("div",{staticClass:"w-full"},[s("img",{staticClass:"block px-4 pb-2 mx-auto w-2/5",attrs:{src:t(5861)}})]):e._e()]),s("div",{staticClass:"text-gray-500 px-4",domProps:{innerHTML:e._s(e.message)}}),s("div",{staticClass:"pb-4 pt-4 bg-white flex flex-col items-center"},[e.reReviewButton?s("button",{staticClass:"px-4 py-2 my-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75",on:{click:function(s){return e.applyReview(e.reReviewButtonLink)}}},[e._v(" Apply Re-Review ")]):e._e(),e.archiveButton?s("button",{staticClass:"px-4 py-2 my-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75 mr-2",on:{click:function(s){return e.$emit("Archive")}}},[e._v("Yes")]):e._e(),e.closeVisible?s("button",{staticClass:"px-4 py-2 my-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75",staticStyle:{"background-color":"grey"},on:{click:function(s){return e.$emit("closeModal")}}},[e._v(" No ")]):e._e(),e.linkButton?s("button",{staticClass:"px-4 py-2 my-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75",on:{click:function(s){return e.navigate(e.link)}}},[e._v(e._s(e.linkButton))]):e._e()])])])])])],1):e._e()},i=[],l=(t(7658),t(4856)),r=t(1496),o={components:{XIcon:l.b0D},name:"Generic",props:{isVisible:{type:Boolean,default:!1,required:!0},message:{type:String,default:"",required:!0},closeVisible:{type:Boolean,default:!1,required:!1},reReviewButton:{type:Boolean,default:!1,required:!1},archiveButton:{type:Boolean,default:!1,required:!1},reReviewButtonLink:{type:String,default:"",required:!1},link:{type:String,default:"",required:!1},linkButton:{type:String,default:"",required:!1},popUpImage1:{type:Boolean,default:!1,required:!1},popUpImage2:{type:Boolean,default:!1,required:!1}},setup(){const e=async e=>{r.Z.push({path:"/solidify/rereview",query:{learner_task_id:e}})},s=e=>{window.location.href=e};return{applyReview:e,navigate:s}}},n=o,c=t(1001),u=(0,c.Z)(n,a,i,!1,null,null,null),d=u.exports},5316:function(e,s,t){t.d(s,{Z:function(){return u}});var a=function(){var e=this,s=e._self._c;e._self._setupProxy;return s("div",{staticClass:"lg:px-24 md:px-24 px-6 flex flex-col md:flex-row justify-between items-center"},[s("div",{staticClass:"text-blue-900 lg:text-3xl md:text-3xl text-xl my-2 md:order-1 order-2 w-full"},["infinity"===e.program?s("span",[e._v(e._s(e.proficiency)+" - ")]):e._e(),e._v(e._s(e.skill)+" ")]),s("div",{staticClass:"my-2 md:order-2 order-1 w-full"},[s("div",{staticClass:"text-blue-900 md:text-lg text-sm text-right"},[e._v("Hi, "+e._s(e.username))])])])},i=[],l=t(7203),r=(0,l.defineComponent)({name:"Greetings",props:{proficiency:{type:String,default:""},skill:{type:String,default:""},program:{type:String,default:""}},setup(){const e=(0,l.ref)("");return(0,l.onBeforeMount)((async()=>{const s=localStorage.getItem("userName")||"Learner";e.value=s.split(",").reverse().join(" ")})),{username:e}}}),o=r,n=t(1001),c=(0,n.Z)(o,a,i,!1,null,null,null),u=c.exports},2467:function(e,s,t){t.r(s),t.d(s,{default:function(){return b}});var a=function(){var e=this,s=e._self._c;e._self._setupProxy;return s("div",{staticClass:"containers mx-auto allBoxImg mt-10"},[e.renderReady?[e.showErrorMessage?e._e():[e.revieweeDetails?s("div",{staticClass:"flex"},[s("div",{staticClass:"w-full pt-12"},[s("Greetings",{attrs:{program:e.programId,proficiency:e.proficiency,skill:e.skill}}),s("div",{staticClass:"flex md:flex mt-6 mx-6 lg:pl-16 md:pl-16 lg:pr-24 md:pr-24 px-0 block"}),s("div",{staticClass:"box-overflow1 mx-4 lg:mx-24 md:mx-24 lg:mt-6 md:mt-6 mt-3 text-sm"},[s("div",{staticClass:"bloc text-2xl text-center text-background-secondary"},[e._v(" "+e._s(e.revieweeDetails.reviewee_count_string)+" ")]),s("div",{staticClass:"block"},[s("div",{staticClass:"text-gray-600"},[s("div",{staticClass:"pt-4"},["infinity"===e.programId?s("div",{},[e._m(0),s("div",{staticClass:"mt-4 p-4 mb-3 rounded-lg shadow border border-gray-200"},[e._m(1),e.isPlagiarismEnabled?s("ol",{staticClass:"list-decimal pl-8 mt-1"},["Mobile"==e.revieweeDetails.task_details.task_type?s("li",{staticClass:"pt-1"},[e._v("Read the Task Description "),s("strong",[e._v(" → ")]),e._v("Understand the task requirement.")]):e._e(),"Desktop"==e.revieweeDetails.task_details.task_type?s("li",{staticClass:"pt-1"},[e._v("Read the task description "),s("strong",[e._v(" → ")]),e._v(" Download the submission")]):e._e(),e._m(2),e._m(3),s("li",{staticClass:"pt-1"},[e._v("Give feedback - be specific and constructive")])]):e._e(),e.isPlagiarismEnabled?e._e():s("ol",{staticClass:"list-decimal pl-8 mt-1"},[s("li",[e._v("Read the Task Description – Understand the task requirement.")]),"Mobile"==e.revieweeDetails.task_details.task_type?s("li",[e._v("Review the Submission – Go through your peer’s response.")]):e._e(),"Desktop"==e.revieweeDetails.task_details.task_type?s("li",[e._v("Download the learner's task submission.")]):e._e(),s("li",[e._v("Rate the Submission – Use the rubric to assess fairly.")]),s("li",[e._v("Give Feedback – Share what worked well and what could be improved.")])])])]):e._e(),"infinity"!==e.programId?s("div",{},[s("p",[e._v("Welcome to the review stage of Solidify. You must complete "+e._s(e.revieweeDetails.mandatory_reviews)+" reviews to pass Solidify.")]),s("p",{staticClass:"pt-2"},[e._v(" A single review should take about 15 minutes, but if needed you can leave this page and come back. Remember, other learners are waiting on you to complete their own Solidify, so please do the review as soon as possible. If you have not done this review "),s("strong",[e._v("within "+e._s(e.reviewerHoldTime)+" hours")]),e._v(", it could be assigned to someone else and you will need to review a different task. ")]),"Desktop"==e.revieweeDetails.task_details.task_type?s("p",{staticClass:"pt-2"},[e._v("You must be on a desktop to download the task. This review will not work on a mobile device or tablet.")]):e._e(),e._m(4),s("ol",{staticClass:"list-decimal pl-8 mt-1"},[s("li",[e._v("Read the Task Description.")]),"Mobile"==e.revieweeDetails.task_details.task_type?s("li",[e._v("Read the learner's "),s("strong",[e._v("submission")]),e._v(".")]):e._e(),"Mobile"==e.revieweeDetails.task_details.task_type?s("li",[e._v("Review and score the task by referring to the scoring rubric.")]):e._e(),"Desktop"==e.revieweeDetails.task_details.task_type?s("li",[e._v("Click the “"),s("strong",[e._v("Download Learner Task submission")]),e._v("” button to open the learner’s task.")]):e._e(),"Desktop"==e.revieweeDetails.task_details.task_type?s("li",[e._v("Review and score the task by referring to the scoring rubric.")]):e._e(),"Desktop"==e.revieweeDetails.task_details.task_type?s("li",[e._v(" Share your feedback in the reviewer comment box. Be specific about what you liked and what could be improved. These comments will be seen by whoever submitted the task! ")]):e._e(),"Mobile"==e.revieweeDetails.task_details.task_type?s("li",[e._v(" Share your feedback in the reviewer comment box. Be specific about what you liked and what could be improved. These comments will be seen by whoever submitted the task! ")]):e._e(),s("li",[e._v("Do the whole process again until you have finished all your reviews!")])])]):e._e(),s("div",{staticClass:"mt-4 p-4 mb-3 rounded-lg shadow border border-gray-200"},[s("div",[s("p",[s("strong",[e._v(e._s(e.revieweeDetails.task_details.task_name))])]),s("p",{staticClass:"pt-2 rich-text-formatter",domProps:{innerHTML:e._s(e.revieweeDetails.task_details.description)}})]),"Desktop"==e.revieweeDetails.task_details.task_type?s("div",{staticClass:"text-left"},[s("button",{staticClass:"inline-block mt-2 py-2 px-4 bg-blue-900 text-white shadow-md hover:bg-blue-900 focus:outline-none focus:ring-2 focus:ring-blue-900 focus:ring-opacity-75",on:{click:e.learnerSubmissionClicked}},[e._v(" Download Submission ")])]):e._e(),"Mobile"==e.revieweeDetails.task_details.task_type?s("div",{staticClass:"mt-2"},[e._m(5),s("p",{staticClass:"pt-2"},[e._v(e._s(e.revieweeDetails.learner_submission))])]):e._e()]),s("div",{staticClass:"mt-4"},[e.isPlagiarismEnabled?s("div",{staticClass:"border rounded-lg shadow p-4 mt-4"},[e._m(6),e._m(7),s("p",{staticClass:"italic pt-2"},[e._v("Note: Proper citations are acceptable - only mark as plagiarized if directly copied without attribution.")]),e._m(8),s("div",{staticClass:"mt-1 text-sm"},[s("div",{staticClass:"checkboxNewUi"},[s("div",{staticClass:"checkboxUi"},[s("input",{directives:[{name:"model",rawName:"v-model",value:e.plagiarismCheckOne,expression:"plagiarismCheckOne"}],staticClass:"cursor-pointer",attrs:{type:"checkbox",id:"plagriarism_check_yes"},domProps:{value:!0,checked:Array.isArray(e.plagiarismCheckOne)?e._i(e.plagiarismCheckOne,!0)>-1:e.plagiarismCheckOne},on:{change:[function(s){var t=e.plagiarismCheckOne,a=s.target,i=!!a.checked;if(Array.isArray(t)){var l=!0,r=e._i(t,l);a.checked?r<0&&(e.plagiarismCheckOne=t.concat([l])):r>-1&&(e.plagiarismCheckOne=t.slice(0,r).concat(t.slice(r+1)))}else e.plagiarismCheckOne=i},function(s){return e.checkPlagiarised(s,!0)}],click:e.checkOne}}),e._m(9)]),s("div",{staticClass:"checkboxUi"},[s("input",{directives:[{name:"model",rawName:"v-model",value:e.plagiarismCheckOne,expression:"plagiarismCheckOne"}],staticClass:"cursor-pointer",attrs:{type:"checkbox",id:"plagriarism_check_no"},domProps:{value:!1,checked:Array.isArray(e.plagiarismCheckOne)?e._i(e.plagiarismCheckOne,!1)>-1:e.plagiarismCheckOne},on:{change:[function(s){var t=e.plagiarismCheckOne,a=s.target,i=!!a.checked;if(Array.isArray(t)){var l=!1,r=e._i(t,l);a.checked?r<0&&(e.plagiarismCheckOne=t.concat([l])):r>-1&&(e.plagiarismCheckOne=t.slice(0,r).concat(t.slice(r+1)))}else e.plagiarismCheckOne=i},function(s){return e.checkPlagiarised(s,!1)}],click:e.checkOne}}),e._m(10)])])]),e.showplagiarismUpload?s("div",{staticClass:"mt-6 w-full flex justify-left items-start"},[s("div",{staticClass:"w-1/2 pr-8 border-r-1 border-gray-500",class:e.accessRestrictionCheck?"disabledbutton":""},[e._m(11),s("div",{staticClass:"flex pt-2 items-center gap-2",staticStyle:{"max-width":"250px"}},[s("input",{key:e.fileInputKey,staticStyle:{width:"80%"},attrs:{type:"file",accept:".png,.PNG"},on:{change:e.selectedFile}}),e.plagiarismSubmissionFile?s("x-icon",{staticClass:"cursor-pointer",attrs:{size:"1.5x"},on:{click:function(s){return e.clearFile()}}}):e._e()],1),s("p",{staticClass:"pt-1 text-[14px]"},[e._v("Maximum file size: 5 MB")])]),s("div",{staticClass:"w-1/2 checkboxNewUi",class:e.plagiarismSubmissionFile?"disabledbutton":""},[s("div",{staticClass:"checkboxUi w-3/4"},[s("input",{directives:[{name:"model",rawName:"v-model",value:e.accessRestrictionCheck,expression:"accessRestrictionCheck"}],staticClass:"cursor-pointer",attrs:{type:"checkbox",id:"access_restriction"},domProps:{value:!1,checked:Array.isArray(e.accessRestrictionCheck)?e._i(e.accessRestrictionCheck,!1)>-1:e.accessRestrictionCheck},on:{change:function(s){var t=e.accessRestrictionCheck,a=s.target,i=!!a.checked;if(Array.isArray(t)){var l=!1,r=e._i(t,l);a.checked?r<0&&(e.accessRestrictionCheck=t.concat([l])):r>-1&&(e.accessRestrictionCheck=t.slice(0,r).concat(t.slice(r+1)))}else e.accessRestrictionCheck=i}}}),s("label",{attrs:{for:"access_restriction"}},[e._v("I’m working in an access-restricted environment and am unable to upload the evidence at this time.")])])])]):e._e()]):e._e(),!e.isPlagiarised||e.isPlagiarised&&!e.isPlagiarizedChecked?s("div",{staticClass:"mt-4"},[e._m(12),s("table",{staticClass:"table-auto py-2 border-separate border-spacing-0 shadow rounded-lg border mt-2 w-full text-left md:w-3/5"},[e._m(13),s("tbody",[s("tr",[s("td",{staticClass:"p-1 pl-6"},[s("strong",[e._v("1 - ")]),e._v(" "),s("strong",[e._v(e._s(e.likertScale.poor?e.likertScale.poor:"Poor"))])]),s("td",{staticClass:"p-1 pl-6"},[e._v("No evidence of meeting the performance expectation or learning goal.")])]),s("tr",[s("td",{staticClass:"p-1 pl-6"},[s("strong",[e._v("2 - ")]),e._v(" "),s("strong",[e._v(e._s(e.likertScale.below_average?e.likertScale.below_average:"Below Average"))])]),s("td",{staticClass:"p-1 pl-6"},[e._v("Shows minimal effort and understanding; key elements are missing or unclear.")])]),s("tr",[s("td",{staticClass:"p-1 pl-6"},[s("strong",[e._v("3 - ")]),e._v(" "),s("strong",[e._v(e._s(e.likertScale.average?e.likertScale.average:"Average"))])]),s("td",{staticClass:"p-1 pl-6"},[e._v("Covers the basics and shows reasonable understanding; some areas could improve.")])]),s("tr",[s("td",{staticClass:"p-1 pl-6"},[s("strong",[e._v("4 - ")]),e._v(" "),s("strong",[e._v(e._s(e.likertScale.above_average?e.likertScale.above_average:"Above Average"))])]),s("td",{staticClass:"p-1 pl-6"},[e._v("Well done, and meets all expectations with clarity and insight.")])]),s("tr",[s("td",{staticClass:"p-1 pl-6"},[s("strong",[e._v("5 - ")]),e._v(" "),s("strong",[e._v(e._s(e.likertScale.excellent?e.likertScale.excellent:"Excellent"))])]),s("td",{staticClass:"p-1 pl-6"},[e._v("Goes beyond expectations with clear, thoughtful, and high-quality responses.")])])])])]):e._e(),!e.isPlagiarised||e.isPlagiarised&&!e.isPlagiarizedChecked?s("div",{staticClass:"mt-6 p-6 border border-gray-200 rounded-lg shadow"},e._l(e.revieweeDetails.task_details.task_questions,(function(t,a){return s("div",{key:a,staticClass:"mb-3"},[s("div",{staticClass:"bg-gray-100 text-gray-700 py-1 px-2 text-sm border border-gray-300 mt-2"},[s("strong",{staticClass:"pr-1"},[e._v(e._s(a+1)+")")]),e._v(" "+e._s(t.text)+" ")]),"Scale"==t.type?s("div",{staticClass:"mt-1 text-sm"},[s("label",{staticClass:"lg:inline md:inline block lg:p-0 md:p-0 p-1 lg:mr-2 md:mr-2 mr-0"},[s("input",{directives:[{name:"model",rawName:"v-model",value:t.response,expression:"task.response"}],attrs:{disabled:!0===e.questionEnable,type:"radio",name:"q"+a,value:"0"},domProps:{checked:e._q(t.response,"0")},on:{change:[function(s){return e.$set(t,"response","0")},e.enableSubmitButton]}}),e._v(" 1 - "+e._s(e.likertScale.poor?e.likertScale.poor:"Poor"))]),s("label",{staticClass:"lg:inline md:inline block lg:p-0 md:p-0 p-1 lg:mr-2 md:mr-2 mr-0"},[s("input",{directives:[{name:"model",rawName:"v-model",value:t.response,expression:"task.response"}],attrs:{disabled:!0===e.questionEnable,type:"radio",name:"q"+a,value:"25"},domProps:{checked:e._q(t.response,"25")},on:{change:[function(s){return e.$set(t,"response","25")},e.enableSubmitButton]}}),e._v(" 2 - "+e._s(e.likertScale.below_average?e.likertScale.below_average:"Below Average"))]),s("label",{staticClass:"lg:inline md:inline block lg:p-0 md:p-0 p-1 lg:mr-2 md:mr-2 mr-0"},[s("input",{directives:[{name:"model",rawName:"v-model",value:t.response,expression:"task.response"}],attrs:{disabled:!0===e.questionEnable,type:"radio",name:"q"+a,value:"50"},domProps:{checked:e._q(t.response,"50")},on:{change:[function(s){return e.$set(t,"response","50")},e.enableSubmitButton]}}),e._v(" 3 - "+e._s(e.likertScale.average?e.likertScale.average:"Average"))]),s("label",{staticClass:"lg:inline md:inline block lg:p-0 md:p-0 p-1 lg:mr-2 md:mr-2 mr-0"},[s("input",{directives:[{name:"model",rawName:"v-model",value:t.response,expression:"task.response"}],attrs:{disabled:!0===e.questionEnable,type:"radio",name:"q"+a,value:"75"},domProps:{checked:e._q(t.response,"75")},on:{change:[function(s){return e.$set(t,"response","75")},e.enableSubmitButton]}}),e._v(" 4 - "+e._s(e.likertScale.above_average?e.likertScale.above_average:"Above Average"))]),s("label",{staticClass:"lg:inline md:inline block lg:p-0 md:p-0 p-1 lg:mr-2 md:mr-2 mr-0"},[s("input",{directives:[{name:"model",rawName:"v-model",value:t.response,expression:"task.response"}],attrs:{disabled:!0===e.questionEnable,type:"radio",name:"q"+a,value:"100"},domProps:{checked:e._q(t.response,"100")},on:{change:[function(s){return e.$set(t,"response","100")},e.enableSubmitButton]}}),e._v(" 5 - "+e._s(e.likertScale.excellent?e.likertScale.excellent:"Excellent"))])]):e._e(),"Yes/No"==t.type?s("div",{staticClass:"mt-1 text-sm"},[s("label",{staticClass:"lg:inline md:inline block lg:p-0 md:p-0 p-1 lg:mr-2 md:mr-2 mr-0"},[s("input",{directives:[{name:"model",rawName:"v-model",value:t.response,expression:"task.response"}],attrs:{disabled:!0===e.questionEnable,type:"radio",name:"q"+a,value:"100"},domProps:{checked:e._q(t.response,"100")},on:{change:[function(s){return e.$set(t,"response","100")},e.enableSubmitButton]}}),e._v(" Yes")]),s("label",{staticClass:"lg:inline md:inline block lg:p-0 md:p-0 p-1 lg:mr-2 md:mr-2 mr-0"},[s("input",{directives:[{name:"model",rawName:"v-model",value:t.response,expression:"task.response"}],attrs:{disabled:!0===e.questionEnable,type:"radio",name:"q"+a,value:"0"},domProps:{checked:e._q(t.response,"0")},on:{change:[function(s){return e.$set(t,"response","0")},e.enableSubmitButton]}}),e._v(" No")])]):e._e()])})),0):e._e()]),s("div",{staticClass:"mb-3 mt-4"},[s("div",[e._m(14),s("textarea",{directives:[{name:"model",rawName:"v-model",value:e.reviewerComment,expression:"reviewerComment"}],staticClass:"w-full px-3 py-1.5 text-base font-normal text-gray-700 bg-white bg-clip-padding border border-solid border-gray-300 rounded-lg focus:text-gray-700 focus:bg-white focus:border-blue-600 focus:outline-none",attrs:{maxlength:"10000",rows:"3",placeholder:"Your feedback will be shared with the learner. Be clear and respectful. Avoid using names or personal details. "},domProps:{value:e.reviewerComment},on:{keyup:function(s){return e.checkQuestionLength(e.reviewerComment)},input:function(s){s.target.composing||(e.reviewerComment=s.target.value)}}}),s("div",[e.questionWordCount<10?s("div",{staticClass:"text-red-700"},[e._v("(Minimum 10 words required. Current word count - "+e._s(e.questionWordCount)+")")]):e._e()])])])]),s("div",{staticClass:"mt-6 mb-4 text-center"},[e.errorMessage?s("div",{staticClass:"text-red-700"},[e._v(e._s(e.errorMessage))]):e._e(),e.successMessage?s("div",{staticClass:"text-green-700"},[e._v(e._s(e.successMessage))]):e._e(),e._m(15),e.isPlagiarised?s("button",{staticClass:"mt-2 inline-block py-2 px-4 border border-blue-900 text-white shadow-md",class:e.isButtonEnabled&&e.minReviewWordCount?"bg-background-secondary":"bg-gray-500 cursor-not-allowed",attrs:{disabled:!(e.isButtonEnabled&&e.minReviewWordCount)},on:{click:e.finalPlagWarningPopup}},[e._v(" Submit Review ")]):s("button",{staticClass:"mt-2 inline-block py-2 px-4 border border-blue-900 text-white shadow-md",class:e.isButtonEnabled&&e.minReviewWordCount?"bg-background-secondary":"bg-gray-500 cursor-not-allowed",attrs:{disabled:!(e.isButtonEnabled&&e.minReviewWordCount)},on:{click:e.submitReview}},[e._v(" Submit Review ")])])])])])],1)]):e._e(),s("GenericModal",{attrs:{"pop-up-image1":!0,"is-visible":e.modalVisible,message:e.modalMessage,"close-visible":!0,"archive-button":!0},on:{closeModal:e.cancelPlagiarism,Archive:e.confirmPlagiarism}}),s("GenericModal",{attrs:{"pop-up-image2":!0,"is-visible":e.modalVisible2,message:e.modalMessage2,"close-visible":!0,"archive-button":!0},on:{closeModal:e.cancelPlagiarism,Archive:e.submitReview}})],e.showErrorMessage?s("ErrorMessage",{attrs:{"error-message":e.errorResponse}}):e._e()]:e._e(),e.renderReady?e._e():s("div",{staticClass:"flex flex-col h-min-screen justify-center text-center"},[s("img",{staticClass:"mb-8 block mx-auto loadercss mt-3%",attrs:{src:t(9756),alt:"Loader Gif"}}),s("p",{staticClass:"mx-auto mb-10 leading-normal px-4 loadertextcss ext-genpact-darkest-blue"},[e._v("Loading...")])])],2)},i=[function(){var e=this,s=e._self._c;e._self._setupProxy;return s("div",{},[s("p",[e._v("You've been assigned to review a submission as a Proxy reviewer. Each review takes approximately 15 minutes; timely reviews help learners progress, while delays may lead to reassignment.")])])},function(){var e=this,s=e._self._c;e._self._setupProxy;return s("p",[s("strong",{staticClass:"text-base"},[e._v("How to Review")]),e._v(":")])},function(){var e=this,s=e._self._c;e._self._setupProxy;return s("li",{staticClass:"pt-1"},[e._v(" Paste text into "),s("strong",[s("a",{staticClass:"underline",attrs:{href:"https://plagiarismdetector.net",target:"_blank"}},[e._v("Plagiarismdetector")])]),e._v(" or "),s("strong",[s("a",{staticClass:"underline",attrs:{href:"https://papersowl.com/free-plagiarism-checker",target:"_blank"}},[e._v("Papersowl")])])])},function(){var e=this,s=e._self._c;e._self._setupProxy;return s("ul",{staticClass:"list-disc pl-4"},[s("li",{staticClass:"pt-1"},[s("strong",[e._v("Plagiarized?")]),e._v(" Take a screenshot "),s("strong",[e._v(" → ")]),e._v(' Mark "Yes" '),s("strong",[e._v(" → ")]),e._v(" Upload PNG (max 5MB)")]),s("li",{staticClass:"pt-1"},[s("strong",[e._v("Clean?")]),e._v(' Mark "No" '),s("strong",[e._v(" → ")]),e._v(" Score using the rubric")])])},function(){var e=this,s=e._self._c;e._self._setupProxy;return s("p",{staticClass:"pt-2"},[s("strong",[e._v("To review the task:")])])},function(){var e=this,s=e._self._c;e._self._setupProxy;return s("p",{staticClass:"pt-4"},[s("strong",[e._v("Learner's Submission:")])])},function(){var e=this,s=e._self._c;e._self._setupProxy;return s("p",[s("strong",[e._v("Quick Plagiarism Check:")])])},function(){var e=this,s=e._self._c;e._self._setupProxy;return s("ul",{staticClass:"mt-2 list-disc pl-8"},[s("li",[e._v("Help us maintain academic integrity by checking if this submission is original.")]),s("li",[e._v(" Copy the text and check it using "),s("strong",[s("a",{staticClass:"underline",attrs:{href:"https://plagiarismdetector.net",target:"_blank"}},[e._v("Plagiarismdetector")])]),e._v(" or "),s("strong",[s("a",{staticClass:"underline",attrs:{href:"https://papersowl.com/free-plagiarism-checker",target:"_blank"}},[e._v("Papersowl")]),e._v(".")]),s("ul",{staticClass:"list-disc"},[s("li",[e._v("Original work shows minimal matches (usually under 15%)")]),s("li",[e._v("High match percentages may indicate copying")])])])])},function(){var e=this,s=e._self._c;e._self._setupProxy;return s("p",{staticClass:"pt-4"},[s("strong",[e._v("Did you find any evidence of plagiarism?")])])},function(){var e=this,s=e._self._c;e._self._setupProxy;return s("label",{attrs:{for:"plagriarism_check_yes"}},[s("strong",[e._v("Yes")])])},function(){var e=this,s=e._self._c;e._self._setupProxy;return s("label",{attrs:{for:"plagriarism_check_no"}},[s("strong",[e._v("No")])])},function(){var e=this,s=e._self._c;e._self._setupProxy;return s("p",{staticClass:"w-3/4"},[s("strong",[e._v(" If the submission is significantly plagiarized, upload a screenshot of the evidence in .png format. ")])])},function(){var e=this,s=e._self._c;e._self._setupProxy;return s("p",{staticClass:"pt-2"},[s("strong",[e._v("Scoring Rubric (1-5 Scale)")]),e._v(":")])},function(){var e=this,s=e._self._c;e._self._setupProxy;return s("thead",[s("tr",[s("th",{staticClass:"p-2 pl-6"},[s("strong",[e._v("Score")])]),s("th",{staticClass:"p-2 pl-6"},[s("strong",[e._v("What it means")])])])])},function(){var e=this,s=e._self._c;e._self._setupProxy;return s("p",[s("b",[e._v("Reviewer Comment")])])},function(){var e=this,s=e._self._c;e._self._setupProxy;return s("p",[s("b",[e._v("Submit Review button will be disabled until you view the learner's submission.")])])}],l=(t(7658),t(7203)),r=t(1602),o=t.n(r),n=t(306),c=t(4856),u=t(4735),d=t(1496),v=t(9719),p=t(5316),m=t(9609),g=(0,l.defineComponent)({name:"LearnerSubmitTask",props:{query:{type:Object,default:()=>({})}},components:{ErrorMessage:u.Z,GenericModal:v.Z,XIcon:c.b0D,Greetings:p.Z},setup(e){const s=(0,l.ref)(!1),t=(0,l.ref)(),a=(0,l.ref)(!1),i=(0,l.ref)(""),r=(0,l.ref)(),c=(0,l.ref)(),u=(0,l.ref)(),v=(0,l.ref)(),p=(0,l.ref)(),g=(0,l.ref)(localStorage.getItem("helpmateLink")),_=(0,l.ref)(),f=(0,l.ref)(!1),h=(0,l.ref)(),b=(0,l.ref)(),k=(0,l.ref)(!1),y=(0,l.ref)(),w=(0,l.ref)(!1),x=(0,l.ref)(!1),C=(0,l.ref)(),S=(0,l.ref)(),P=(0,l.ref)(),A=(0,l.ref)(),R=(0,l.ref)(),M=(0,l.ref)(!1),q=(0,l.ref)(),D=(0,l.ref)(),U=(0,l.ref)(),B=(0,l.ref)(),L=(0,l.ref)(),I=(0,l.ref)(!0),E=(0,l.ref)([]),Z=(0,l.ref)(!1),G=(0,l.ref)({}),O=' \n <div class="px-4">\n <div class="font-bold text-left mb-3"><strong>By selecting "Yes," you confirm the following: </strong></div>\n <ul class="list-disc text-left px-6">\n <li>The submission is extensively copied from the Internet without proper source referencing. </li>\n <li>The learner will receive a <strong>\'Fail\'</strong> notification, with a copy sent to the respective manager. </li>\n </ul>\n </div>',T=(0,l.ref)(!1),N=(0,l.ref)(0),W=(0,l.ref)(!1),z=(0,l.ref)(0),J=(0,l.ref)(!1),Y='<div class="px-4">\n <ul class="list-disc text-left px-6">\n <li>The learner will receive a <strong>\'Fail\'</strong> notification, with a copy sent to the respective manager. </li>\n <li class="pt-2">Please confirm the review to proceed. </li>\n </ul>\n </div>',j=e=>{N.value=e.split(" ").filter((e=>""!==e)).length,T.value=N.value>=10},V=()=>{E.value=[]},H=async()=>{z.value+=1,P.value=null};(0,l.onBeforeMount)((async()=>{try{localStorage.getItem("message")&&localStorage.removeItem("messafe"),console.log("Before Mount"),r.value=e.query.learner_task_id,h.value=!1;const s=await(0,m.Yo)(r.value),a=s.data;if(h.value=!0,console.log("reveiwTaskRes",a),a.message)console.log(`revieweeDetails.value.message ${a}`),h.value=!0,b.value=t.value.message,k.value=!0;else{t.value=a.data,G.value=t.value.task_details.likertScale?t.value.task_details.likertScale:{},c.value=t.value.skill,u.value=t.value.proficiency,U.value=t.value.program_name,_.value=t.value.program_name,v.value=t.value.reviewer_hold_time_in_minutes/60,y.value=o()().utc().format(),console.log("Api revieweeTaskId",JSON.stringify(t));const e=!!t.value.is_plagiarism_enabled&&t.value.is_plagiarism_enabled;L.value=t.value.url_to_upload_plag_evidence,x.value=!0===e,console.log(`revieweeDetails.value.is_plag_check_mandatory ${t.value.is_plag_check_mandatory}`),I.value=t.value.is_plag_check_mandatory,console.log(`isPlagCheckMandatory ${I.value}`)}}catch(s){if(h.value=!0,console.log(`Save Task Data ${s}`),n.Z.isAxiosError(s)){const e=s;b.value=e.response?.data?.message}else b.value="There is an issue while fetching learner to review, please contact with helpmate.";k.value=!0}}));const F=()=>{let e=!0;t.value.task_details.task_questions.forEach((s=>{s.response?(console.log(`inside if allQuestionAnswered before${e}`),e=e&&!0,console.log(`inside if allQuestionAnswered after ${e}`)):(console.log(`inside else allQuestionAnswered before ${e}`),e=e&&!1,console.log(`inside else allQuestionAnswered after ${e}`))})),console.log(`allQuestionAnswered ${JSON.stringify(e)} `),console.log(`revieweeDetails.value.task_details.task_type ${t.value.task_details.task_type}`),console.log(`reviewedLearnerSubmission ${a.value}`),console.log(`reviewerComment ${i.value}`),!e||"Desktop"===t.value.task_details.task_type&&!a.value?s.value=!1:s.value=!0,console.log(`isButtonEnabled ${JSON.stringify(s)} `)},Q=async()=>{try{const e={file_name:t.value.learner_submission,task_id:t.value.reviewee_id};h.value=!1;const s=await(0,m.R1)("/v1/pretAuthUrlForDownload",e);p.value=s.data.preSignedUrl,await(0,m.ng)(p.value,t.value.learner_submission),h.value=!0,a.value=!0,F()}catch(e){if(console.log("Error in downloading learner submission",e),h.value=!0,n.Z.isAxiosError(e)){const s=e;b.value=s.response?.data?.message}else b.value="There is an issue while donwloading learner submission, please contact helpmate.";k.value=!0}},X=async e=>{try{const s=e.target.files[0],t=e.target.files[0].name,a=e.target.files[0].size/1024/1024;a>5?(C.value="fileSize greater than 5 MB",setTimeout((()=>{C.value=null}),6e3)):(P.value=s,A.value=t)}catch(s){P.value=null,A.value=null,console.log(s)}},K=async()=>{try{if(h.value=!1,console.log(`inside submit click ${JSON.stringify(t.value)}`),console.log(`isPlagCheckMandatory ${I.value}`),console.log(`isPlagiarismEnabled ${x.value}`),console.log("type of isPlagiarised.value "+typeof q.value),x.value){if(console.log(`isPlagiarised.value ${q.value}`),q.value&&!W.value){if(!P.value)return h.value=!0,C.value="Please upload plagiarism evidence screenshot",void setTimeout((()=>{C.value=null}),6e3);if(D.value=A.value,h.value=!1,console.log("evidenceFileName value",D.value),!A.value.endsWith("png")&&!A.value.endsWith("PNG"))return h.value=!0,C.value="You can upload only png",void setTimeout((()=>{C.value=null}),6e3);R.value=await(0,m.aQ)(L.value,P.value),q.value=!0}if(void 0===q.value&&I.value)return h.value=!0,C.value="Please Select Plagiarism Checkbox",void setTimeout((()=>{C.value=null}),6e3)}const e={reviewee_task_id:t.value.reviewee_id,reviewer_comment:i.value,reviewer_response:t.value.task_details.task_questions,is_proxy_reviewer:!0,review_start_date_for_proxy:y.value,is_plagiarised:q.value,plagiarism_evidence:D.value};console.log(`params ${JSON.stringify(e)}`);const s=await(0,m.eZ)("/learnerReview",e),a=s.data;h.value=!0,localStorage.setItem("message",a.message),d.Z.push({name:"SolidifyLearnerStatus",query:{isPerformReviewVisible:"no",isProxyReview:"yes",showChevron:"no"}})}catch(e){if(h.value=!0,console.log(`error peer review ${e}`),n.Z.isAxiosError(e)){const s=e;b.value=s.response?.data?.message}else b.value="There is an issue while submitting proxy review, please contact helpmate.";k.value=!0}},$=()=>{f.value=!1,J.value=!1,q.value=void 0,Z.value=!1;for(let e=0;e<t.value.task_details.task_questions.length;e+=1)t.value.task_details.task_questions[e].response="";M.value=!1,w.value=!1,F(),V()},ee=()=>{f.value=!1},se=async(e,s)=>{if(Z.value=e.target.checked,console.log(`isPlagiarizedChecked ${Z.value}`),q.value=s,console.log("isPlagiarised",{isPlagiarised:q.value}),Z.value&&s){M.value=!0,f.value=!0;for(let e=0;e<t.value.task_details.task_questions.length;e+=1)t.value.task_details.task_questions[e].response="0";w.value=!0,await F()}else if(!0===Z.value&&!1===s){for(let e=0;e<t.value.task_details.task_questions.length;e+=1)t.value.task_details.task_questions[e].response="";M.value=!1,w.value=!1,await F()}else{for(let e=0;e<t.value.task_details.task_questions.length;e+=1)t.value.task_details.task_questions[e].response="";M.value=!1,q.value=void 0,w.value=!1,await F()}},te=async()=>{J.value=!0};return{revieweeDetails:t,isButtonEnabled:s,enableSubmitButton:F,learnerSubmissionClicked:Q,reviewerComment:i,submitReview:K,skill:c,proficiency:u,reviewerHoldTime:v,preSignedUrl:p,helpmateLink:g,modalVisible:f,modalMessage:O,renderReady:h,errorResponse:b,showErrorMessage:k,questionEnable:w,isPlagiarismEnabled:x,errorMessage:C,successMessage:S,plagiarismSubmissionFile:P,plagiarismSubmission:A,plagiarismUploadedStatus:R,showplagiarismUpload:M,selectedFile:X,isPlagiarised:q,evidenceFileName:D,checkPlagiarised:se,programName:U,ext:B,programId:_,plagUrlForUpload:L,isPlagCheckMandatory:I,plagiarismCheckOne:E,checkOne:V,isPlagiarizedChecked:Z,likertScale:G,confirmPlagiarism:ee,cancelPlagiarism:$,checkQuestionLength:j,minReviewWordCount:T,questionWordCount:N,accessRestrictionCheck:W,clearFile:H,fileInputKey:z,modalVisible2:J,finalPlagWarningPopup:te,modalMessage2:Y}}}),_=g,f=t(1001),h=(0,f.Z)(_,a,i,!1,null,"67772fc8",null),b=h.exports},9609:function(e,s,t){t.d(s,{R1:function(){return i},Yo:function(){return r},aQ:function(){return c},eZ:function(){return o},ng:function(){return n},uZ:function(){return l}});var a=t(7129);const i=async(e,s)=>{const t=await a.Z.post(e,s);return t},l=async e=>{const s=await a.Z.get(e);return s},r=async e=>{const s=await a.Z.get(`learnerTaskToProxyReview/${e}`);return s},o=async(e,s)=>{const t=await a.Z.post(e,s);return t},n=async(e,s)=>{console.log(s),console.log(e);const t=await fetch(e),a=await t.blob(),i=URL.createObjectURL(a),l=document.createElement("a");l.setAttribute("download",s),l.href=i,document.body.appendChild(l),l.click(),document.body.removeChild(l),URL.revokeObjectURL(i)},c=async(e,s)=>{try{const t=await fetch(`${e}`,{method:"put",body:s}),a=t;return a}catch(t){return console.error(t),t}}},2191:function(e,s,t){e.exports=t.p+"img/plag_warning1.gif"},5861:function(e,s,t){e.exports=t.p+"img/plag_warning2.gif"},6540:function(e){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGwAAAAjCAYAAABxaO90AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAezSURBVGhD7Zp5UJTnHcffNNOpSfpnM9OZZtJM24nTyaTW2tbGc5rUjJ1p7aQ2JmqilXrhOh5RMXjEeqNsuUEUlEMx3ILLDQKrcsixyLmIwIrAInLIfcOnz7Ivuo6QdrIOLHG/M98/nuf3zLs772d/v+f3vO9KyBoYHKKts4dHHd1WW5D7+gdlQkY9Bub+dQo/XrqLV+fb8toCqy3BMxZsYYfysoA2IFMyAfb6hzvJLdXJI6ssQd19/fxg/mbaOnrkGRNgP/pgG7r6JnlklaVoxrxNVmDTSZMKrHd4GG1nHxVd5lnb2Uvn4LB81RdLkwosq6UL6XIuUrjGPF/OIazukXzVF0uTC6y123jDowufdngeUmg2UlTBs7HxHKYhrL5NvuqLpakHFnUbyScBySEQ6aJajE1iE9kKTB5NBbBIMT7mi/T3dUj7XZFCDJlmEh/PVmDyaLKBXS1CihDlcJ8L35+7mBnLPkVyvIh0RawxxEwhmXpcYD3oq3WU6WrQ1VRzu7CG2t5Bpro1Ge7toL2zg+7n9EWmHphh/9rrxFtL/8biz9fy2sbdSF7RxlJpCsnU4wDrLY7n1AlPDgWEEhQWyNaV+zlW3kKHHJ8q9ZUkciUticxOecJMWUaG2SmZs9oG77PnWLV3Hy8r9iNdSJkY2jPAmojdYMe+1Arq5ZnuzAhi6h5SV3OXjBuV1A8MM8IAXfpqcm9oqeoZpKuhirybhaiL71J8p5LCggLU1a1i3SBt9+9w62YRN0orKSmvIP92Edm1Y/j76WzWkV+g5XbZHQrKa2kUR5aexntkagpJ1ZSQlVNGUVUDxWFebDvlhXOOngePOkUdME8WAsyRuf/cRGZ2Nqnp6Xyg2MlLu06K9j1j/NL4DLA2su0Pstw5ieTGAYbkWcN8ZYIrC98+RuDDHoGhG312AOt+voXjui7qsy+zddEnzDkRhm9oNF6ujiw/5M05fQv3Es+yZuFqFjhFERgSgdLRgRWOQUS0i9rWWIrqjBu7PEI4GxTAvx288Ukro+JWJJ9t2Mzb60+y59QlvEPiCFIeZtnmE+wOSCJNW0vziPzVvqUsJsP+IIDdysnlfs09Tjk58eZHK5EOuIt2P+dpWAaPt4fVqVGccMPeX4W/KodMkQ39hpvTf52t81wJfdgt8sugcs7P3oNTjdjfRppJ2G6DTdFoAAZ60Xoo+OG5Eoa7qgnZqWBbpRxrrSXGaTe/9M+iKM6Dvx5ORT8aGKQ+4wpf2rlxproKXz83/uhT8LgU10b5YO8ZTGS7PGGmLAPYXiW/MZREHx+USiVrbW15a9H7SEs/RnIOEU2I4XxmkmnjNh1CQw8oSQhGYefAv74KILSyGzrS2CIDM76YKObs7N0yMD1Xt9rwecFoQHQI/bRcd+WVHTHoeu4StE3BljtyrK+ZHJU7b9r64uu7nzlqk8+vy0Ppc5pVV9IJDPBkSUARvaOBIXRR3uxxCSGidXTCbFkGMHsnfrLkLyxavoI3Zs3mlXdm8dKfBax/rEc66iMA5T5dGicC9lgtZB5W8DOvfBobU1DMdyXs/wWW4car+1No6q7gkimw/mZuJXjy0y8u4ue9jzkZXXJASK/BxVfJqshUAcyDJf5F8l71XQRm6BLtXfje7xbx8p+WIS1YivTOb5G2HzV2i36i+YjIF+u/CVgLRVnVPGrtk8dCVw/yhkcG+oZ4FL93JrhprCRq8Z1th7v+CTCb0tGAKIl96ALt+UV4LXSWjwLbPvaGqa2etAtHWRxWQH7wceY55zL2aY80aRw+7oFDqZbzfu586F8sxwapivDCzi2YqO9MSYwUwI6fR1qtEAdnN6Tdp5HmLERab2fsElUlT9aP+Rlg9wk/6M4Rv3iScjVkZlzjjJMzh3If0jNQzoU1+1gZkk5qjgZ1TghfzNzAmtgy6vsEMMU6fu2uJjU3n9Rribi7nyHggUi2di0XNq3nPZ8sMjR5JMZG4+JzieiWYdpLU1Ee8OJ0Yg7Xs9MI8L2IW1A+dfV5HDl2mLnKdHTyuavzRhC2RxzZJn5wVY1tou0xT1MPLFpAuZiG5BsvQIgG40KigGeLtHYHUkgWUowAppLXjz0BeQZYPw2ZKbh/HUdkspq46Cg8b1bR3Ge8a22aeE6EJRF7TU1Ucjz+buG4JBdSM/CAmK3rmOkQx1X1daJUiURWGUvdQFsF/httmOWcTII6ncj4NBJrjTsTI900VGTgdymO8PgkQpPzKRXpO9SoJSI2AWVSCfe65LfCHTquJF1FGa5Gc9/8c+EUAzNYQFMJxxQbbXjKcVaF5BEpSqHYu1RizrDuG4F9O/Xrc/FatZKPrjWJA4CJRsReVpbCyc/WseZWl/g5WI6mFthENkAczb5xYgY/F2BD9OjvcD1SRfDt+zSYbH+G5qNdV0xKZCwRZQ00P/kLxZTLMoH9Lz+nDJuOmlxg1heYZmtSgT3oG8SpqglPXbNZ/o+4RmWXJe0sk6dJBWaV+bICm2ayAptmsgKbZpoY2PtWYJaoGe9NAOx1AUxbbXzjY5XlaMbcjeMD+9I9nHdXHuLdT77iV59abQme+fEBVth709P35NHLY2At7V3cLKzkWo7Wagtxal45dQ9bGRl58j+Dx8Csmh6yAptWgv8CbZkYUSkpBpcAAAAASUVORK5CYII="}}]);
1
+ "use strict";(("undefined"!==typeof self?self:this)["webpackChunksolidify"]=("undefined"!==typeof self?self:this)["webpackChunksolidify"]||[]).push([[712],{460:function(e,t,s){s.d(t,{Z:function(){return u}});var a=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"flex"},[t("div",{staticClass:"w-full pt-16 px-32"},[t("div",{staticClass:"md:px-0 lg:px-0 text-center"},[t("div",{staticClass:"text-gray-500"},[t("div",{staticClass:"pt-2",domProps:{innerHTML:e._s(e.errorMsg)}})]),t("div",{staticClass:"pt-8"},[t("a",{attrs:{href:e.helpmateLink,target:"_blank"}},[t("img",{staticClass:"mx-auto",attrs:{src:s(3126)}})])])])])])},i=[],l=s(7203),r=(0,l.defineComponent)({name:"ErrorMessage",props:{errorMessage:{type:String,default:""}},setup(e){const t=(0,l.ref)(""),s=(0,l.ref)(localStorage.getItem("helpmateLink"));return(0,l.onBeforeMount)((async()=>{t.value=e.errorMessage})),{errorMsg:t,helpmateLink:s}}}),n=r,o=s(1001),c=(0,o.Z)(n,a,i,!1,null,null,null),u=c.exports},2148:function(e,t,s){s.d(t,{Z:function(){return d}});var a=function(){var e=this,t=e._self._c;return e.isVisible?t("main",{staticClass:"modal-wrapper relative z-50 modal-filter fixed inset-0 w-full h-screen flex mt-2 justify-center bg-semi-75 h-fit"},[t("transition",{attrs:{name:"modal-fade"}},[t("div",{staticClass:"modal-overlay",on:{click:function(t){return e.$emit("close-modal")}}},[t("div",{staticClass:"modal relative",on:{click:function(e){e.stopPropagation()}}},[e.closeVisible?t("div",{staticClass:"absolute right-0 pr-4 top-5 cursor-pointer",on:{click:function(t){return e.$emit("closeModal")}}},[t("x-icon",{attrs:{size:"1.5x"}})],1):e._e(),t("div",{staticClass:"bg-white"},[t("div",[e.popUpImage1||e.popUpImage2?t("div",{staticClass:"font-bold text-center mb-3 flex justify-center text-base sm:text-xl"},[t("div",[t("strong",[e._v("Do you want to mark the submission Plagiarised?")])])]):e._e(),e.popUpImage1?t("div",{staticClass:"w-full"},[t("img",{staticClass:"block px-4 pb-2 mx-auto w-3/12",attrs:{src:s(2191)}})]):e._e(),e.popUpImage2?t("div",{staticClass:"w-full"},[t("img",{staticClass:"block px-4 pb-2 mx-auto w-2/5",attrs:{src:s(5861)}})]):e._e()]),t("div",{staticClass:"text-gray-500 px-4",domProps:{innerHTML:e._s(e.message)}}),t("div",{staticClass:"pb-4 pt-4 bg-white flex flex-col items-center"},[e.reReviewButton?t("button",{staticClass:"px-4 py-2 my-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75",on:{click:function(t){return e.applyReview(e.reReviewButtonLink)}}},[e._v(" Apply Re-Review ")]):e._e(),e.archiveButton?t("button",{staticClass:"px-4 py-2 my-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75 mr-2",on:{click:function(t){return e.$emit("Archive")}}},[e._v("Yes")]):e._e(),e.closeVisible?t("button",{staticClass:"px-4 py-2 my-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75",staticStyle:{"background-color":"grey"},on:{click:function(t){return e.$emit("closeModal")}}},[e._v(" No ")]):e._e(),e.linkButton?t("button",{staticClass:"px-4 py-2 my-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75",on:{click:function(t){return e.navigate(e.link)}}},[e._v(e._s(e.linkButton))]):e._e()])])])])])],1):e._e()},i=[],l=(s(7658),s(4856)),r=s(442),n={components:{XIcon:l.b0D},name:"Generic",props:{isVisible:{type:Boolean,default:!1,required:!0},message:{type:String,default:"",required:!0},closeVisible:{type:Boolean,default:!1,required:!1},reReviewButton:{type:Boolean,default:!1,required:!1},archiveButton:{type:Boolean,default:!1,required:!1},reReviewButtonLink:{type:String,default:"",required:!1},link:{type:String,default:"",required:!1},linkButton:{type:String,default:"",required:!1},popUpImage1:{type:Boolean,default:!1,required:!1},popUpImage2:{type:Boolean,default:!1,required:!1}},setup(){const e=async e=>{r.Z.push({path:"/solidify/rereview",query:{learner_task_id:e}})},t=e=>{window.location.href=e};return{applyReview:e,navigate:t}}},o=n,c=s(1001),u=(0,c.Z)(o,a,i,!1,null,null,null),d=u.exports},8235:function(e,t,s){s.d(t,{Z:function(){return u}});var a=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"mt-4 lg:px-24 md:px-24 px-4 flex justify-between items-center w-full"},[t("div",{staticClass:"text-blue-900 lg:text-3xl md:text-3xl text-xl my-2"},[e.learning_content_display_name?t("span",[e._v(" "+e._s(e.learning_content_display_name)+" ")]):t("span",["infinity"===e.program?t("span",[e._v(e._s(e.proficiency)+" - ")]):e._e(),e._v(e._s(e.skill))])]),t("div",{staticClass:"my-2"},[t("div",{staticClass:"text-blue-900 md:text-lg text-sm text-right"},[e._v("Hi, "+e._s(e.username))])])])},i=[],l=s(7203),r=(0,l.defineComponent)({name:"Greetings",props:{proficiency:{type:String,default:""},skill:{type:String,default:""},program:{type:String,default:""},learning_content_display_name:{type:String,default:""}},setup(){const e=(0,l.ref)("");return(0,l.onBeforeMount)((async()=>{const t=localStorage.getItem("userName")||"Learner";e.value=t.split(",").reverse().join(" ")})),{username:e}}}),n=r,o=s(1001),c=(0,o.Z)(n,a,i,!1,null,null,null),u=c.exports},3588:function(e,t,s){s.r(t),s.d(t,{default:function(){return b}});var a=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"containers mx-auto allBoxImg mt-10"},[e.renderReady?[e.showErrorMessage?e._e():[e.revieweeDetails?t("div",{staticClass:"flex"},[t("div",{staticClass:"w-full pt-12"},[t("Greetings",{attrs:{program:e.programId,proficiency:e.proficiency,skill:e.skill,learning_content_display_name:e.learning_content_display_name}}),t("div",{staticClass:"flex md:flex mt-3 mx-6 lg:pl-16 md:pl-16 lg:pr-24 md:pr-24 px-0 block"}),t("div",{staticClass:"box-overflow1 mx-4 lg:mx-24 md:mx-24 lg:mt-6 md:mt-6 mt-3 text-sm"},[t("div",{staticClass:"bloc text-2xl text-center text-background-secondary"},[e._v(" "+e._s(e.revieweeDetails.reviewee_count_string)+" ")]),t("div",{staticClass:"block"},[t("div",{staticClass:"text-gray-600"},[t("div",{staticClass:"pt-4"},["infinity"===e.programId?t("div",{},[e._m(0),t("div",{staticClass:"mt-4 p-4 mb-3 rounded-lg shadow border border-gray-200"},[e._m(1),e.isPlagiarismEnabled?t("ol",{staticClass:"list-decimal pl-8 mt-1"},["Mobile"==e.revieweeDetails.task_details.task_type?t("li",{staticClass:"pt-1"},[e._v("Read the Task Description "),t("strong",[e._v(" → ")]),e._v("Understand the task requirement.")]):e._e(),"Desktop"==e.revieweeDetails.task_details.task_type?t("li",{staticClass:"pt-1"},[e._v("Read the task description "),t("strong",[e._v(" → ")]),e._v(" Download the submission")]):e._e(),e._m(2),e._m(3),t("li",{staticClass:"pt-1"},[e._v("Give feedback - be specific and constructive")])]):e._e(),e.isPlagiarismEnabled?e._e():t("ol",{staticClass:"list-decimal pl-8 mt-1"},[t("li",[e._v("Read the Task Description – Understand the task requirement.")]),"Mobile"==e.revieweeDetails.task_details.task_type?t("li",[e._v("Review the Submission – Go through your peer’s response.")]):e._e(),"Desktop"==e.revieweeDetails.task_details.task_type?t("li",[e._v("Download the learner's task submission.")]):e._e(),t("li",[e._v("Rate the Submission – Use the rubric to assess fairly.")]),t("li",[e._v("Give Feedback – Share what worked well and what could be improved.")])])])]):e._e(),"infinity"!==e.programId?t("div",{},[t("p",[e._v("Welcome to the review stage of Solidify. You must complete "+e._s(e.revieweeDetails.mandatory_reviews)+" reviews to pass Solidify.")]),t("p",{staticClass:"pt-2"},[e._v(" A single review should take about 15 minutes, but if needed you can leave this page and come back. Remember, other learners are waiting on you to complete their own Solidify, so please do the review as soon as possible. If you have not done this review "),t("strong",[e._v("within "+e._s(e.reviewerHoldTime)+" hours")]),e._v(", it could be assigned to someone else and you will need to review a different task. ")]),"Desktop"==e.revieweeDetails.task_details.task_type?t("p",{staticClass:"pt-2"},[e._v("You must be on a desktop to download the task. This review will not work on a mobile device or tablet.")]):e._e(),e._m(4),t("ol",{staticClass:"list-decimal pl-8 mt-1"},[t("li",[e._v("Read the Task Description.")]),"Mobile"==e.revieweeDetails.task_details.task_type?t("li",[e._v("Read the learner's "),t("strong",[e._v("submission")]),e._v(".")]):e._e(),"Mobile"==e.revieweeDetails.task_details.task_type?t("li",[e._v("Review and score the task by referring to the scoring rubric.")]):e._e(),"Desktop"==e.revieweeDetails.task_details.task_type?t("li",[e._v("Click the “"),t("strong",[e._v("Download Learner Task submission")]),e._v("” button to open the learner’s task.")]):e._e(),"Desktop"==e.revieweeDetails.task_details.task_type?t("li",[e._v("Review and score the task by referring to the scoring rubric.")]):e._e(),"Desktop"==e.revieweeDetails.task_details.task_type?t("li",[e._v(" Share your feedback in the reviewer comment box. Be specific about what you liked and what could be improved. These comments will be seen by whoever submitted the task! ")]):e._e(),"Mobile"==e.revieweeDetails.task_details.task_type?t("li",[e._v(" Share your feedback in the reviewer comment box. Be specific about what you liked and what could be improved. These comments will be seen by whoever submitted the task! ")]):e._e(),t("li",[e._v("Do the whole process again until you have finished all your reviews!")])])]):e._e(),t("div",{staticClass:"mt-4 p-4 mb-3 rounded-lg shadow border border-gray-200"},[t("div",[t("p",[t("strong",[e._v(e._s(e.revieweeDetails.task_details.task_name))])]),t("p",{staticClass:"pt-2 rich-text-formatter",domProps:{innerHTML:e._s(e.revieweeDetails.task_details.description)}})]),"Desktop"==e.revieweeDetails.task_details.task_type?t("div",{staticClass:"text-left"},[t("button",{staticClass:"inline-block mt-2 py-2 px-6 bg-background-secondary",on:{click:e.learnerSubmissionClicked}},[e._v("Download Submission")])]):e._e(),"Mobile"==e.revieweeDetails.task_details.task_type?t("div",{staticClass:"mt-2"},[e._m(5),t("p",{staticClass:"pt-2"},[e._v(e._s(e.revieweeDetails.learner_submission))])]):e._e()]),t("div",{staticClass:"mt-4"},[e.isPlagiarismEnabled?t("div",{staticClass:"border rounded-lg shadow p-4 mt-4"},[e._m(6),e._m(7),t("p",{staticClass:"italic pt-2"},[e._v("Note: Proper citations are acceptable - only mark as plagiarized if directly copied without attribution.")]),e._m(8),t("div",{staticClass:"mt-1 text-sm"},[t("div",{staticClass:"checkboxNewUi"},[t("div",{staticClass:"checkboxUi"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.plagiarismCheckOne,expression:"plagiarismCheckOne"}],staticClass:"cursor-pointer",attrs:{type:"checkbox",id:"plagriarism_check_yes"},domProps:{value:!0,checked:Array.isArray(e.plagiarismCheckOne)?e._i(e.plagiarismCheckOne,!0)>-1:e.plagiarismCheckOne},on:{change:[function(t){var s=e.plagiarismCheckOne,a=t.target,i=!!a.checked;if(Array.isArray(s)){var l=!0,r=e._i(s,l);a.checked?r<0&&(e.plagiarismCheckOne=s.concat([l])):r>-1&&(e.plagiarismCheckOne=s.slice(0,r).concat(s.slice(r+1)))}else e.plagiarismCheckOne=i},function(t){return e.checkPlagiarised(t,!0)}],click:e.checkOne}}),e._m(9)]),t("div",{staticClass:"checkboxUi"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.plagiarismCheckOne,expression:"plagiarismCheckOne"}],staticClass:"cursor-pointer",attrs:{type:"checkbox",id:"plagriarism_check_no"},domProps:{value:!1,checked:Array.isArray(e.plagiarismCheckOne)?e._i(e.plagiarismCheckOne,!1)>-1:e.plagiarismCheckOne},on:{change:[function(t){var s=e.plagiarismCheckOne,a=t.target,i=!!a.checked;if(Array.isArray(s)){var l=!1,r=e._i(s,l);a.checked?r<0&&(e.plagiarismCheckOne=s.concat([l])):r>-1&&(e.plagiarismCheckOne=s.slice(0,r).concat(s.slice(r+1)))}else e.plagiarismCheckOne=i},function(t){return e.checkPlagiarised(t,!1)}],click:e.checkOne}}),e._m(10)])])]),e.showplagiarismUpload?t("div",{staticClass:"mt-6 w-full flex justify-left items-start"},[t("div",{staticClass:"w-1/2 pr-8 border-r-1 border-gray-500",class:e.accessRestrictionCheck?"disabledbutton":""},[e._m(11),t("div",{staticClass:"flex pt-2 items-center gap-2",staticStyle:{"max-width":"250px"}},[t("input",{key:e.fileInputKey,staticStyle:{width:"80%"},attrs:{type:"file",accept:".png,.PNG"},on:{change:e.selectedFile}}),e.plagiarismSubmissionFile?t("x-icon",{staticClass:"cursor-pointer",attrs:{size:"1.5x"},on:{click:function(t){return e.clearFile()}}}):e._e()],1),t("p",{staticClass:"pt-1 text-[14px]"},[e._v("Maximum file size: 5 MB")])]),t("div",{staticClass:"w-1/2 checkboxNewUi",class:e.plagiarismSubmissionFile?"disabledbutton":""},[t("div",{staticClass:"checkboxUi w-3/4"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.accessRestrictionCheck,expression:"accessRestrictionCheck"}],staticClass:"cursor-pointer",attrs:{type:"checkbox",id:"access_restriction"},domProps:{value:!1,checked:Array.isArray(e.accessRestrictionCheck)?e._i(e.accessRestrictionCheck,!1)>-1:e.accessRestrictionCheck},on:{change:function(t){var s=e.accessRestrictionCheck,a=t.target,i=!!a.checked;if(Array.isArray(s)){var l=!1,r=e._i(s,l);a.checked?r<0&&(e.accessRestrictionCheck=s.concat([l])):r>-1&&(e.accessRestrictionCheck=s.slice(0,r).concat(s.slice(r+1)))}else e.accessRestrictionCheck=i}}}),t("label",{attrs:{for:"access_restriction"}},[e._v("I’m working in an access-restricted environment and am unable to upload the evidence at this time.")])])])]):e._e()]):e._e(),!e.isPlagiarised||e.isPlagiarised&&!e.isPlagiarizedChecked?t("div",{staticClass:"mt-4"},[e._m(12),t("table",{staticClass:"table-auto py-2 border-separate border-spacing-0 shadow rounded-lg border mt-2 w-full text-left md:w-3/5"},[e._m(13),t("tbody",[t("tr",[t("td",{staticClass:"p-1 pl-6"},[t("strong",[e._v("1 - ")]),e._v(" "),t("strong",[e._v(e._s(e.likertScale.poor?e.likertScale.poor:"Poor"))])]),t("td",{staticClass:"p-1 pl-6"},[e._v("No evidence of meeting the performance expectation or learning goal.")])]),t("tr",[t("td",{staticClass:"p-1 pl-6"},[t("strong",[e._v("2 - ")]),e._v(" "),t("strong",[e._v(e._s(e.likertScale.below_average?e.likertScale.below_average:"Below Average"))])]),t("td",{staticClass:"p-1 pl-6"},[e._v("Shows minimal effort and understanding; key elements are missing or unclear.")])]),t("tr",[t("td",{staticClass:"p-1 pl-6"},[t("strong",[e._v("3 - ")]),e._v(" "),t("strong",[e._v(e._s(e.likertScale.average?e.likertScale.average:"Average"))])]),t("td",{staticClass:"p-1 pl-6"},[e._v("Covers the basics and shows reasonable understanding; some areas could improve.")])]),t("tr",[t("td",{staticClass:"p-1 pl-6"},[t("strong",[e._v("4 - ")]),e._v(" "),t("strong",[e._v(e._s(e.likertScale.above_average?e.likertScale.above_average:"Above Average"))])]),t("td",{staticClass:"p-1 pl-6"},[e._v("Well done, and meets all expectations with clarity and insight.")])]),t("tr",[t("td",{staticClass:"p-1 pl-6"},[t("strong",[e._v("5 - ")]),e._v(" "),t("strong",[e._v(e._s(e.likertScale.excellent?e.likertScale.excellent:"Excellent"))])]),t("td",{staticClass:"p-1 pl-6"},[e._v("Goes beyond expectations with clear, thoughtful, and high-quality responses.")])])])])]):e._e(),!e.isPlagiarised||e.isPlagiarised&&!e.isPlagiarizedChecked?t("div",{staticClass:"mt-6 p-6 border border-gray-200 rounded-lg shadow"},e._l(e.revieweeDetails.task_details.task_questions,(function(s,a){return t("div",{key:a,staticClass:"mb-3"},[t("div",{staticClass:"bg-gray-100 text-gray-700 py-1 px-2 text-sm border border-gray-300 mt-2"},[t("strong",{staticClass:"pr-1"},[e._v(e._s(a+1)+")")]),e._v(" "+e._s(s.text)+" ")]),"Scale"==s.type?t("div",{staticClass:"mt-1 text-sm"},[t("label",{staticClass:"lg:inline md:inline block lg:p-0 md:p-0 p-1 lg:mr-2 md:mr-2 mr-0"},[t("input",{directives:[{name:"model",rawName:"v-model",value:s.response,expression:"task.response"}],attrs:{disabled:!0===e.questionEnable,type:"radio",name:"q"+a,value:"0"},domProps:{checked:e._q(s.response,"0")},on:{change:[function(t){return e.$set(s,"response","0")},e.enableSubmitButton]}}),e._v(" 1 - "+e._s(e.likertScale.poor?e.likertScale.poor:"Poor"))]),t("label",{staticClass:"lg:inline md:inline block lg:p-0 md:p-0 p-1 lg:mr-2 md:mr-2 mr-0"},[t("input",{directives:[{name:"model",rawName:"v-model",value:s.response,expression:"task.response"}],attrs:{disabled:!0===e.questionEnable,type:"radio",name:"q"+a,value:"25"},domProps:{checked:e._q(s.response,"25")},on:{change:[function(t){return e.$set(s,"response","25")},e.enableSubmitButton]}}),e._v(" 2 - "+e._s(e.likertScale.below_average?e.likertScale.below_average:"Below Average"))]),t("label",{staticClass:"lg:inline md:inline block lg:p-0 md:p-0 p-1 lg:mr-2 md:mr-2 mr-0"},[t("input",{directives:[{name:"model",rawName:"v-model",value:s.response,expression:"task.response"}],attrs:{disabled:!0===e.questionEnable,type:"radio",name:"q"+a,value:"50"},domProps:{checked:e._q(s.response,"50")},on:{change:[function(t){return e.$set(s,"response","50")},e.enableSubmitButton]}}),e._v(" 3 - "+e._s(e.likertScale.average?e.likertScale.average:"Average"))]),t("label",{staticClass:"lg:inline md:inline block lg:p-0 md:p-0 p-1 lg:mr-2 md:mr-2 mr-0"},[t("input",{directives:[{name:"model",rawName:"v-model",value:s.response,expression:"task.response"}],attrs:{disabled:!0===e.questionEnable,type:"radio",name:"q"+a,value:"75"},domProps:{checked:e._q(s.response,"75")},on:{change:[function(t){return e.$set(s,"response","75")},e.enableSubmitButton]}}),e._v(" 4 - "+e._s(e.likertScale.above_average?e.likertScale.above_average:"Above Average"))]),t("label",{staticClass:"lg:inline md:inline block lg:p-0 md:p-0 p-1 lg:mr-2 md:mr-2 mr-0"},[t("input",{directives:[{name:"model",rawName:"v-model",value:s.response,expression:"task.response"}],attrs:{disabled:!0===e.questionEnable,type:"radio",name:"q"+a,value:"100"},domProps:{checked:e._q(s.response,"100")},on:{change:[function(t){return e.$set(s,"response","100")},e.enableSubmitButton]}}),e._v(" 5 - "+e._s(e.likertScale.excellent?e.likertScale.excellent:"Excellent"))])]):e._e(),"Yes/No"==s.type?t("div",{staticClass:"mt-1 text-sm"},[t("label",{staticClass:"lg:inline md:inline block lg:p-0 md:p-0 p-1 lg:mr-2 md:mr-2 mr-0"},[t("input",{directives:[{name:"model",rawName:"v-model",value:s.response,expression:"task.response"}],attrs:{disabled:!0===e.questionEnable,type:"radio",name:"q"+a,value:"100"},domProps:{checked:e._q(s.response,"100")},on:{change:[function(t){return e.$set(s,"response","100")},e.enableSubmitButton]}}),e._v(" Yes")]),t("label",{staticClass:"lg:inline md:inline block lg:p-0 md:p-0 p-1 lg:mr-2 md:mr-2 mr-0"},[t("input",{directives:[{name:"model",rawName:"v-model",value:s.response,expression:"task.response"}],attrs:{disabled:!0===e.questionEnable,type:"radio",name:"q"+a,value:"0"},domProps:{checked:e._q(s.response,"0")},on:{change:[function(t){return e.$set(s,"response","0")},e.enableSubmitButton]}}),e._v(" No")])]):e._e()])})),0):e._e()]),t("div",{staticClass:"mb-3 mt-4"},[t("div",[e._m(14),t("textarea",{directives:[{name:"model",rawName:"v-model",value:e.reviewerComment,expression:"reviewerComment"}],staticClass:"w-full px-3 py-1.5 text-base font-normal text-gray-700 bg-white bg-clip-padding border border border-[#ffad28] rounded-lg focus:text-gray-700 focus:bg-white focus:border-blue-600 focus:outline-none",attrs:{maxlength:"10000",rows:"3",placeholder:"Your feedback will be shared with the learner. Be clear and respectful. Avoid using names or personal details. "},domProps:{value:e.reviewerComment},on:{keyup:function(t){return e.checkQuestionLength(e.reviewerComment)},input:function(t){t.target.composing||(e.reviewerComment=t.target.value)}}}),t("div",[e.questionWordCount<10?t("div",{staticClass:"text-red-700"},[e._v("(Minimum 10 words required. Current word count - "+e._s(e.questionWordCount)+")")]):e._e()])])])]),t("div",{staticClass:"mt-6 mb-4 text-center"},[e.errorMessage?t("div",{staticClass:"text-red-700"},[e._v(e._s(e.errorMessage))]):e._e(),e.successMessage?t("div",{staticClass:"text-green-700"},[e._v(e._s(e.successMessage))]):e._e(),e._m(15),e.isPlagiarised?t("button",{staticClass:"mt-2 inline-block py-2 px-6 shadow-md",class:e.isButtonEnabled&&e.minReviewWordCount?"bg-background-secondary":"bg-gray-500 text-white font-medium rounded-full cursor-not-allowed",attrs:{disabled:!(e.isButtonEnabled&&e.minReviewWordCount)},on:{click:e.finalPlagWarningPopup}},[e._v(" Submit Review ")]):t("button",{staticClass:"mt-2 inline-block py-2 px-6 shadow-md",class:e.isButtonEnabled&&e.minReviewWordCount?"bg-background-secondary":"bg-gray-500 text-white font-medium rounded-full cursor-not-allowed",attrs:{disabled:!(e.isButtonEnabled&&e.minReviewWordCount)},on:{click:e.submitReview}},[e._v(" Submit Review ")])])])])])],1)]):e._e(),t("GenericModal",{attrs:{"pop-up-image1":!0,"is-visible":e.modalVisible,message:e.modalMessage,"close-visible":!0,"archive-button":!0},on:{closeModal:e.cancelPlagiarism,Archive:e.confirmPlagiarism}}),t("GenericModal",{attrs:{"pop-up-image2":!0,"is-visible":e.modalVisible2,message:e.modalMessage2,"close-visible":!0,"archive-button":!0},on:{closeModal:e.cancelPlagiarism,Archive:e.submitReview}})],e.showErrorMessage?t("ErrorMessage",{attrs:{"error-message":e.errorResponse}}):e._e()]:e._e(),e.renderReady?e._e():t("div",{staticClass:"flex flex-col h-min-screen justify-center text-center"},[t("img",{staticClass:"mb-8 block mx-auto loadercss mt-3%",attrs:{src:s(9756),alt:"Loader Gif"}}),t("p",{staticClass:"mx-auto mb-10 leading-normal px-4 loadertextcss ext-genpact-darkest-blue"},[e._v("Loading...")])])],2)},i=[function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{},[t("p",[e._v("You've been assigned to review a submission as a Proxy reviewer. Each review takes approximately 15 minutes; timely reviews help learners progress, while delays may lead to reassignment.")])])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("p",[t("strong",{staticClass:"text-base"},[e._v("How to Review")]),e._v(":")])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("li",{staticClass:"pt-1"},[e._v(" Paste text into "),t("strong",[t("a",{staticClass:"underline",attrs:{href:"https://plagiarismdetector.net",target:"_blank"}},[e._v("Plagiarismdetector")])]),e._v(" or "),t("strong",[t("a",{staticClass:"underline",attrs:{href:"https://papersowl.com/free-plagiarism-checker",target:"_blank"}},[e._v("Papersowl")])])])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("ul",{staticClass:"list-disc pl-4"},[t("li",{staticClass:"pt-1"},[t("strong",[e._v("Plagiarized?")]),e._v(" Take a screenshot "),t("strong",[e._v(" → ")]),e._v(' Mark "Yes" '),t("strong",[e._v(" → ")]),e._v(" Upload PNG (max 5MB)")]),t("li",{staticClass:"pt-1"},[t("strong",[e._v("Clean?")]),e._v(' Mark "No" '),t("strong",[e._v(" → ")]),e._v(" Score using the rubric")])])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("p",{staticClass:"pt-2"},[t("strong",[e._v("To review the task:")])])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("p",{staticClass:"pt-4"},[t("strong",[e._v("Learner's Submission:")])])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("p",[t("strong",[e._v("Quick Plagiarism Check:")])])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("ul",{staticClass:"mt-2 list-disc pl-8"},[t("li",[e._v("Help us maintain academic integrity by checking if this submission is original.")]),t("li",[e._v(" Copy the text and check it using "),t("strong",[t("a",{staticClass:"underline",attrs:{href:"https://plagiarismdetector.net",target:"_blank"}},[e._v("Plagiarismdetector")])]),e._v(" or "),t("strong",[t("a",{staticClass:"underline",attrs:{href:"https://papersowl.com/free-plagiarism-checker",target:"_blank"}},[e._v("Papersowl")]),e._v(".")]),t("ul",{staticClass:"list-disc"},[t("li",[e._v("Original work shows minimal matches (usually under 15%)")]),t("li",[e._v("High match percentages may indicate copying")])])])])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("p",{staticClass:"pt-4"},[t("strong",[e._v("Did you find any evidence of plagiarism?")])])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("label",{attrs:{for:"plagriarism_check_yes"}},[t("strong",[e._v("Yes")])])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("label",{attrs:{for:"plagriarism_check_no"}},[t("strong",[e._v("No")])])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("p",{staticClass:"w-3/4"},[t("strong",[e._v(" If the submission is significantly plagiarized, upload a screenshot of the evidence in .png format. ")])])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("p",{staticClass:"pt-2"},[t("strong",[e._v("Scoring Rubric (1-5 Scale)")]),e._v(":")])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("thead",[t("tr",[t("th",{staticClass:"p-2 pl-6"},[t("strong",[e._v("Score")])]),t("th",{staticClass:"p-2 pl-6"},[t("strong",[e._v("What it means")])])])])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("p",[t("b",[e._v("Reviewer Comment")])])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("p",[t("b",[e._v("Submit Review button will be disabled until you view the learner's submission.")])])}],l=(s(7658),s(7203)),r=s(1602),n=s.n(r),o=s(306),c=s(4856),u=s(460),d=s(442),v=s(2148),p=s(8235),m=s(9609),g=(0,l.defineComponent)({name:"LearnerSubmitTask",props:{query:{type:Object,default:()=>({})}},components:{ErrorMessage:u.Z,GenericModal:v.Z,XIcon:c.b0D,Greetings:p.Z},setup(e){const t=(0,l.ref)(!1),s=(0,l.ref)(),a=(0,l.ref)(!1),i=(0,l.ref)(""),r=(0,l.ref)(),c=(0,l.ref)(),u=(0,l.ref)(),v=(0,l.ref)(),p=(0,l.ref)(),g=(0,l.ref)(),_=(0,l.ref)(localStorage.getItem("helpmateLink")),f=(0,l.ref)(),h=(0,l.ref)(!1),b=(0,l.ref)(),k=(0,l.ref)(),y=(0,l.ref)(!1),w=(0,l.ref)(),C=(0,l.ref)(!1),x=(0,l.ref)(!1),P=(0,l.ref)(),S=(0,l.ref)(),R=(0,l.ref)(),q=(0,l.ref)(),M=(0,l.ref)(),D=(0,l.ref)(!1),B=(0,l.ref)(),A=(0,l.ref)(),E=(0,l.ref)(),$=(0,l.ref)(),N=(0,l.ref)(),O=(0,l.ref)(!0),T=(0,l.ref)([]),U=(0,l.ref)(!1),I=(0,l.ref)({}),L=' \n <div class="px-4">\n <div class="font-bold text-left mb-3"><strong>By selecting "Yes," you confirm the following: </strong></div>\n <ul class="list-disc text-left px-6">\n <li>The submission is extensively copied from the Internet without proper source referencing. </li>\n <li>The learner will receive a <strong>\'Fail\'</strong> notification, with a copy sent to the respective manager. </li>\n </ul>\n </div>',Z=(0,l.ref)(!1),G=(0,l.ref)(0),W=(0,l.ref)(!1),F=(0,l.ref)(0),z=(0,l.ref)(!1),Y='<div class="px-4">\n <ul class="list-disc text-left px-6">\n <li>The learner will receive a <strong>\'Fail\'</strong> notification, with a copy sent to the respective manager. </li>\n <li class="pt-2">Please confirm the review to proceed. </li>\n </ul>\n </div>',Q=e=>{G.value=e.split(" ").filter((e=>""!==e)).length,Z.value=G.value>=10},V=()=>{T.value=[]},j=async()=>{F.value+=1,R.value=null};(0,l.onBeforeMount)((async()=>{try{localStorage.getItem("message")&&localStorage.removeItem("messafe"),console.log("Before Mount"),r.value=e.query.learner_task_id,b.value=!1;const t=await(0,m.Yo)(r.value),a=t.data;if(b.value=!0,console.log("reveiwTaskRes",a),a.message)console.log(`revieweeDetails.value.message ${a}`),b.value=!0,k.value=s.value.message,y.value=!0;else{s.value=a.data,I.value=s.value.task_details.likertScale?s.value.task_details.likertScale:{},c.value=s.value.skill,v.value=s.value.proficiency,u.value=s.value.learning_content_display_name,E.value=s.value.program_name,f.value=s.value.program_name,p.value=s.value.reviewer_hold_time_in_minutes/60,w.value=n()().utc().format(),console.log("Api revieweeTaskId",JSON.stringify(s));const e=!!s.value.is_plagiarism_enabled&&s.value.is_plagiarism_enabled;N.value=s.value.url_to_upload_plag_evidence,x.value=!0===e,console.log(`revieweeDetails.value.is_plag_check_mandatory ${s.value.is_plag_check_mandatory}`),O.value=s.value.is_plag_check_mandatory,console.log(`isPlagCheckMandatory ${O.value}`)}}catch(t){if(b.value=!0,console.log(`Save Task Data ${t}`),o.Z.isAxiosError(t)){const e=t;k.value=e.response?.data?.message}else k.value="There is an issue while fetching learner to review, please contact with helpmate.";y.value=!0}}));const H=()=>{let e=!0;s.value.task_details.task_questions.forEach((t=>{t.response?(console.log(`inside if allQuestionAnswered before${e}`),e=e&&!0,console.log(`inside if allQuestionAnswered after ${e}`)):(console.log(`inside else allQuestionAnswered before ${e}`),e=e&&!1,console.log(`inside else allQuestionAnswered after ${e}`))})),console.log(`allQuestionAnswered ${JSON.stringify(e)} `),console.log(`revieweeDetails.value.task_details.task_type ${s.value.task_details.task_type}`),console.log(`reviewedLearnerSubmission ${a.value}`),console.log(`reviewerComment ${i.value}`),!e||"Desktop"===s.value.task_details.task_type&&!a.value?t.value=!1:t.value=!0,console.log(`isButtonEnabled ${JSON.stringify(t)} `)},J=async()=>{try{const e={file_name:s.value.learner_submission,task_id:s.value.reviewee_id};b.value=!1;const t=await(0,m.R1)("/v1/pretAuthUrlForDownload",e);g.value=t.data.preSignedUrl,await(0,m.ng)(g.value,s.value.learner_submission),b.value=!0,a.value=!0,H()}catch(e){if(console.log("Error in downloading learner submission",e),b.value=!0,o.Z.isAxiosError(e)){const t=e;k.value=t.response?.data?.message}else k.value="There is an issue while donwloading learner submission, please contact helpmate.";y.value=!0}},K=async e=>{try{const t=e.target.files[0],s=e.target.files[0].name,a=e.target.files[0].size/1024/1024;a>5?(P.value="fileSize greater than 5 MB",setTimeout((()=>{P.value=null}),6e3)):(R.value=t,q.value=s)}catch(t){R.value=null,q.value=null,console.log(t)}},X=async()=>{try{if(b.value=!1,console.log(`inside submit click ${JSON.stringify(s.value)}`),console.log(`isPlagCheckMandatory ${O.value}`),console.log(`isPlagiarismEnabled ${x.value}`),console.log("type of isPlagiarised.value "+typeof B.value),x.value){if(console.log(`isPlagiarised.value ${B.value}`),B.value&&!W.value){if(!R.value)return b.value=!0,P.value="Please upload plagiarism evidence screenshot",void setTimeout((()=>{P.value=null}),6e3);if(A.value=q.value,b.value=!1,console.log("evidenceFileName value",A.value),!q.value.endsWith("png")&&!q.value.endsWith("PNG"))return b.value=!0,P.value="You can upload only png",void setTimeout((()=>{P.value=null}),6e3);M.value=await(0,m.aQ)(N.value,R.value),B.value=!0}if(void 0===B.value&&O.value)return b.value=!0,P.value="Please Select Plagiarism Checkbox",void setTimeout((()=>{P.value=null}),6e3)}const e={reviewee_task_id:s.value.reviewee_id,reviewer_comment:i.value,reviewer_response:s.value.task_details.task_questions,is_proxy_reviewer:!0,review_start_date_for_proxy:w.value,is_plagiarised:B.value,plagiarism_evidence:A.value};console.log(`params ${JSON.stringify(e)}`);const t=await(0,m.eZ)("/learnerReview",e),a=t.data;b.value=!0,localStorage.setItem("message",a.message),d.Z.push({name:"SolidifyLearnerStatus",query:{isPerformReviewVisible:"no",isProxyReview:"yes",showChevron:"no"}})}catch(e){if(b.value=!0,console.log(`error peer review ${e}`),o.Z.isAxiosError(e)){const t=e;k.value=t.response?.data?.message}else k.value="There is an issue while submitting proxy review, please contact helpmate.";y.value=!0}},ee=()=>{h.value=!1,z.value=!1,B.value=void 0,U.value=!1;for(let e=0;e<s.value.task_details.task_questions.length;e+=1)s.value.task_details.task_questions[e].response="";D.value=!1,C.value=!1,H(),V()},te=()=>{h.value=!1},se=async(e,t)=>{if(U.value=e.target.checked,console.log(`isPlagiarizedChecked ${U.value}`),B.value=t,console.log("isPlagiarised",{isPlagiarised:B.value}),U.value&&t){D.value=!0,h.value=!0;for(let e=0;e<s.value.task_details.task_questions.length;e+=1)s.value.task_details.task_questions[e].response="0";C.value=!0,await H()}else if(!0===U.value&&!1===t){for(let e=0;e<s.value.task_details.task_questions.length;e+=1)s.value.task_details.task_questions[e].response="";D.value=!1,C.value=!1,await H()}else{for(let e=0;e<s.value.task_details.task_questions.length;e+=1)s.value.task_details.task_questions[e].response="";D.value=!1,B.value=void 0,C.value=!1,await H()}},ae=async()=>{z.value=!0};return{revieweeDetails:s,isButtonEnabled:t,enableSubmitButton:H,learnerSubmissionClicked:J,reviewerComment:i,submitReview:X,skill:c,proficiency:v,reviewerHoldTime:p,preSignedUrl:g,helpmateLink:_,modalVisible:h,modalMessage:L,renderReady:b,errorResponse:k,showErrorMessage:y,questionEnable:C,isPlagiarismEnabled:x,errorMessage:P,successMessage:S,plagiarismSubmissionFile:R,plagiarismSubmission:q,plagiarismUploadedStatus:M,showplagiarismUpload:D,selectedFile:K,isPlagiarised:B,evidenceFileName:A,checkPlagiarised:se,programName:E,ext:$,programId:f,plagUrlForUpload:N,isPlagCheckMandatory:O,plagiarismCheckOne:T,checkOne:V,isPlagiarizedChecked:U,likertScale:I,confirmPlagiarism:te,cancelPlagiarism:ee,checkQuestionLength:Q,minReviewWordCount:Z,questionWordCount:G,accessRestrictionCheck:W,clearFile:j,fileInputKey:F,modalVisible2:z,finalPlagWarningPopup:ae,modalMessage2:Y,learning_content_display_name:u}}}),_=g,f=s(1001),h=(0,f.Z)(_,a,i,!1,null,"37dbccd6",null),b=h.exports},9609:function(e,t,s){s.d(t,{R1:function(){return i},Yo:function(){return r},aQ:function(){return c},eZ:function(){return n},ng:function(){return o},uZ:function(){return l}});var a=s(7129);const i=async(e,t)=>{const s=await a.Z.post(e,t);return s},l=async e=>{const t=await a.Z.get(e);return t},r=async e=>{const t=await a.Z.get(`learnerTaskToProxyReview/${e}`);return t},n=async(e,t)=>{const s=await a.Z.post(e,t);return s},o=async(e,t)=>{console.log(t),console.log(e);const s=await fetch(e),a=await s.blob(),i=URL.createObjectURL(a),l=document.createElement("a");l.setAttribute("download",t),l.href=i,document.body.appendChild(l),l.click(),document.body.removeChild(l),URL.revokeObjectURL(i)},c=async(e,t)=>{try{const s=await fetch(`${e}`,{method:"put",body:t}),a=s;return a}catch(s){return console.error(s),s}}},3126:function(e,t,s){e.exports=s.p+"img/support.svg"},2191:function(e,t,s){e.exports=s.p+"img/plag_warning1.gif"},5861:function(e,t,s){e.exports=s.p+"img/plag_warning2.gif"}}]);
2
2
  //# sourceMappingURL=solidify.umd.min.SolidifyLearnerProxyReview.js.map