@genpact/genome.mfe.solidify-app 1.17.2-alpha.255 → 1.17.2-alpha.257

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.
@@ -1,4 +1,4 @@
1
- (("undefined"!==typeof self?self:this)["webpackChunksolidify"]=("undefined"!==typeof self?self:this)["webpackChunksolidify"]||[]).push([[345],{460:function(M,z,b){"use strict";b.d(z,{Z:function(){return d}});var p=function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",{staticClass:"flex"},[z("div",{staticClass:"w-full pt-16 px-32"},[z("div",{staticClass:"md:px-0 lg:px-0 text-center"},[z("div",{staticClass:"text-gray-500"},[z("div",{staticClass:"pt-2",domProps:{innerHTML:M._s(M.errorMsg)}})]),z("div",{staticClass:"pt-8"},[z("a",{attrs:{href:M.helpmateLink,target:"_blank"}},[z("img",{staticClass:"mx-auto",attrs:{src:b(3126)}})])])])])])},O=[],A=b(7203),c=(0,A.defineComponent)({name:"ErrorMessage",props:{errorMessage:{type:String,default:""}},setup(M){const z=(0,A.ref)(""),b=(0,A.ref)(localStorage.getItem("helpmateLink"));return(0,A.onBeforeMount)((async()=>{z.value=M.errorMessage})),{errorMsg:z,helpmateLink:b}}}),q=c,o=b(1001),W=(0,o.Z)(q,p,O,!1,null,null,null),d=W.exports},2148:function(M,z,b){"use strict";b.d(z,{Z:function(){return a}});var p=function(){var M=this,z=M._self._c;return M.isVisible?z("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"},[z("transition",{attrs:{name:"modal-fade"}},[z("div",{staticClass:"modal-overlay",on:{click:function(z){return M.$emit("close-modal")}}},[z("div",{staticClass:"modal relative",on:{click:function(M){M.stopPropagation()}}},[M.closeVisible?z("div",{staticClass:"absolute right-0 pr-4 top-5 cursor-pointer",on:{click:function(z){return M.$emit("closeModal")}}},[z("x-icon",{attrs:{size:"1.5x"}})],1):M._e(),z("div",{staticClass:"bg-white"},[z("div",[M.popUpImage1||M.popUpImage2?z("div",{staticClass:"font-bold text-center mb-3 flex justify-center text-base sm:text-xl"},[z("div",[z("strong",[M._v("Do you want to mark the submission Plagiarised?")])])]):M._e(),M.popUpImage1?z("div",{staticClass:"w-full"},[z("img",{staticClass:"block px-4 pb-2 mx-auto w-3/12",attrs:{src:b(2191)}})]):M._e(),M.popUpImage2?z("div",{staticClass:"w-full"},[z("img",{staticClass:"block px-4 pb-2 mx-auto w-2/5",attrs:{src:b(5861)}})]):M._e()]),z("div",{staticClass:"text-gray-500 px-4",domProps:{innerHTML:M._s(M.message)}}),z("div",{staticClass:"pb-4 pt-4 bg-white flex flex-col items-center"},[M.reReviewButton?z("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(z){return M.applyReview(M.reReviewButtonLink)}}},[M._v(" Apply Re-Review ")]):M._e(),M.archiveButton?z("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(z){return M.$emit("Archive")}}},[M._v("Yes")]):M._e(),M.closeVisible?z("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(z){return M.$emit("closeModal")}}},[M._v(" No ")]):M._e(),M.linkButton?z("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(z){return M.navigate(M.link)}}},[M._v(M._s(M.linkButton))]):M._e()])])])])])],1):M._e()},O=[],A=(b(7658),b(4856)),c=b(9896),q={components:{XIcon:A.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 M=async M=>{c.Z.push({path:"/solidify/rereview",query:{learner_task_id:M}})},z=M=>{window.location.href=M};return{applyReview:M,navigate:z}}},o=q,W=b(1001),d=(0,W.Z)(o,p,O,!1,null,null,null),a=d.exports},8235:function(M,z,b){"use strict";b.d(z,{Z:function(){return d}});var p=function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",{staticClass:"mt-4 lg:px-24 md:px-24 px-4 flex justify-between items-center w-full"},[z("div",{staticClass:"text-blue-900 lg:text-3xl md:text-3xl text-xl my-2"},[M.learning_content_display_name?z("span",[M._v(" "+M._s(M.learning_content_display_name)+" ")]):z("span",["infinity"===M.program?z("span",[M._v(M._s(M.proficiency)+" - ")]):M._e(),M._v(M._s(M.skill))])]),z("div",{staticClass:"my-2"},[z("div",{staticClass:"text-blue-900 md:text-lg text-sm text-right"},[M._v("Hi, "+M._s(M.username))])])])},O=[],A=b(7203),c=(0,A.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 M=(0,A.ref)("");return(0,A.onBeforeMount)((async()=>{const z=localStorage.getItem("userName")||"Learner";M.value=z.split(",").reverse().join(" ")})),{username:M}}}),q=c,o=b(1001),W=(0,o.Z)(q,p,O,!1,null,null,null),d=W.exports},6623:function(M,z,b){"use strict";b.r(z),b.d(z,{default:function(){return _}});var p=function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",{staticClass:"mx-auto mt-6 containers allBoxImg"},[M.renderReady?[M.showErrorMessage?M._e():[M.initialData?z("div",{staticClass:"flex"},[z("div",{staticClass:"w-full pt-12"},[z("Greetings",{attrs:{program:M.programId,proficiency:M.initialData.proficiency,skill:M.initialData.skill,learning_content_display_name:M.learning_content_display_name}}),z("div",{staticClass:"flex md:flex mt-4 mx-3 lg:pl-16 md:pl-16 lg:pr-24 md:pr-24 px-0 block"},[z("div",{staticClass:"ul-nav w-full"},[z("ul",[z("li",{staticClass:"active"},[M._v("Home")]),z("li",[M._v("Task")]),z("li",[M._v("Submit")]),"Single Reviewer"!==M.initialData.program_details.reviewer_strategy&&"Reviewer can be from a SME list"!==M.initialData.program_details.reviewer_strategy?z("li",[M._v("Peer Reviews")]):M._e(),z("li",[M._v("Under Review")]),z("li",[M._v("Done!")])])])]),z("Generic",{attrs:{"is-visible":M.modalVisible,message:M.modalMessage,"close-visible":M.modalCloseVisible,"re-review-button":M.modalButtonVisible,"re-review-button-link":M.modalButtonLink},on:{closeModal:M.closeModal}}),z("GenericV2",{attrs:{"cross-visible":!1,"is-visible":M.modalV2Visible},on:{Cancel:M.closeModalV2}},[z("div",{staticClass:"py-3 bg-white"},[z("p",{staticClass:"text-left"},[M._v("Please note Genome does not allow proficiency completion outside of the "),z("strong",[M._v("BITS")]),M._v(" sequence.")]),z("p",{staticClass:"text-left"},[M._v(" You have already started a learning task at "+M._s(M.initialData.existedLearnerDiffProf&&M.initialData.existedLearnerDiffProf.proficiency_name)+" level that is different from your My Profile ("+M._s(M.initialData.proficiency)+") proficiency. ")]),z("br"),z("p",{staticClass:"text-left"},[M._v("Select one option below:")]),z("ol",{staticClass:"list-decimal pl-6 pb-6"},[z("li",{staticClass:"pl-1 text-left"},[M._v(" Select Terminate to end your "+M._s(M.initialData.existedLearnerDiffProf&&M.initialData.existedLearnerDiffProf.proficiency_name)+" solidify journey and start at your My Profile ("+M._s(M.initialData.proficiency)+") proficiency ")]),z("li",{staticClass:"pl-1 text-left"},[M._v("Select Continue to proceed with your current solidify journey at "+M._s(M.initialData.existedLearnerDiffProf&&M.initialData.existedLearnerDiffProf.proficiency_name)+" level")])]),z("button",{staticClass:"px-4 py-2 mr-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:M.continueExistingJourney}},[M._v(" Continue ")]),z("button",{staticClass:"px-4 py-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75",on:{click:M.terminateExistingJourney}},[M._v("Terminate")])])]),"infinity"===M.programId?z("SolidifyLanding",{attrs:{data:M.initialData}}):M._e(),"infinity"!==M.programId?z("CohortLanding",{attrs:{data:M.initialData}}):M._e(),z("div",{staticClass:"mt-4 mb-4 text-center"},[M.learning_path_id?z("router-link",{staticClass:"px-12 py-2 text-white shadow-md bg-background-secondary inline-block",attrs:{to:{name:"SolidifyLearnerSelectTask",query:{learning_path_id:M.learning_path_id,learning_content_id:M.learning_content_id}}}},[z("div",{staticClass:"font-bold"},[M._v("Start!")])]):z("router-link",{staticClass:"px-12 py-2 text-white shadow-md bg-background-secondary inline-block",attrs:{to:{name:"SolidifyLearnerSelectTask",query:{skill_id:M.skillId,proficiency_id:M.proficiencyId,program_id:M.programId}}}},[z("div",{staticClass:"font-bold"},[M._v("Start!")])])],1)],1)]):M._e()],M.showErrorMessage?z("ErrorMessage",{attrs:{"error-message":M.errorResponse}}):M._e()]:M._e(),M.renderReady?M._e():z("div",{staticClass:"flex flex-col h-min-screen justify-center text-center"},[z("img",{staticClass:"mb-8 block mx-auto loadercss mt-3%",attrs:{src:b(9756),alt:"Loader Gif"}}),z("p",{staticClass:"mx-auto mb-10 leading-normal px-4 loadertextcss ext-genpact-darkest-blue"},[M._v("Loading...")])])],2)},O=[],A=(b(7658),b(7203)),c=b(1602),q=b.n(c),o=b(7881),W=b.n(o),d=b(2148),a=b(3484),R=b(8235),n=b(7129);const e=async(M,z)=>{console.log(n.Z);const b=n.Z.post(M,z);return b};var i=b(306),L=b(460),f=function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",{staticClass:"mx-4 mt-3 box-overflow1 lg:mx-24 md:mx-24 lg:mt-6 md:mt-6"},[M._m(0),z("div",{staticClass:"block mx-4 lg:mx-3 md:mx-3 text-sm"},[z("div",{staticClass:"text-[#161916] leading-6 rich-text-formatter"},[z("p",{staticClass:"pt-4 text-center"},[M._v(" Need help? Watch our quick "),z("u",[z("a",{attrs:{target:"_blank",href:M.videoUrl}},[M._v("onboarding video")])]),M._v(" or click the Helpmate Icon for assistance. ")])])])])},t=[function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",{staticClass:"block mt-4 lg:flex md:flex"},[z("div",{staticClass:"custom-shadow mt-8 border border-blue-900 lg:w-1/4 md:w-1/4 lg:mx-2 md:mx-2 lg:mt-5 rounded-lg"},[z("div",{staticClass:"-mt-6 text-center"},[z("span",{staticClass:"flex items-center justify-center w-12 h-12 mx-auto text-2xl text-white bg-blue-900 rounded-full"},[z("span",{staticClass:"-mt-1 text-white"},[M._v("1")])])]),z("div",{staticClass:"px-2 mt-3 text-center"},[z("div",{staticClass:"mb-2 text-lg text-blue-900"},[M._v("Select a task")]),z("div",{staticClass:"text-sm text-[#161916]"},[M._v("Choose a task that fits your work environment. If you’re in a client-restricted setting, mobile-friendly tasks are available.")]),z("div",{staticClass:"text-sm text-blue-900"})]),z("img",{staticClass:"block px-4 pb-2 mx-auto mt-4",attrs:{src:b(8170)}})]),z("div",{staticClass:"custom-shadow mt-8 border border-blue-900 lg:w-1/4 md:w-1/4 lg:mx-2 md:mx-2 lg:mt-5 rounded-lg"},[z("div",{staticClass:"-mt-6 text-center"},[z("span",{staticClass:"flex items-center justify-center w-12 h-12 mx-auto text-2xl text-white bg-blue-900 rounded-full"},[z("span",{staticClass:"-mt-1 text-white"},[M._v("2")])])]),z("div",{staticClass:"px-2 mt-3 text-center"},[z("div",{staticClass:"mb-2 text-lg text-blue-900"},[M._v("Submit Your Work")]),z("div",{staticClass:"text-sm text-[#161916]"},[M._v("Upload your task via desktop or submit directly in a mobile-friendly format.")]),z("div",{staticClass:"text-sm text-blue-900"})]),z("img",{staticClass:"block px-4 pb-2 mx-auto mt-4",attrs:{src:b(4297)}})]),z("div",{staticClass:"custom-shadow mt-8 border border-blue-900 lg:w-1/4 md:w-1/4 lg:mx-2 md:mx-2 lg:mt-5 rounded-lg"},[z("div",{staticClass:"-mt-6 text-center"},[z("span",{staticClass:"flex items-center justify-center w-12 h-12 mx-auto text-2xl text-white bg-blue-900 rounded-full"},[z("span",{staticClass:"-mt-1 text-white"},[M._v("3")])])]),z("div",{staticClass:"px-2 mt-3 text-center"},[z("div",{staticClass:"mb-2 text-lg text-blue-900"},[M._v("Review Peer Submissions")]),z("div",{staticClass:"text-sm text-[#161916]"},[M._v("Provide constructive feedback on another learner’s submission. We’ll guide you through the process — it’s part of the learning!.")]),z("div",{staticClass:"text-sm text-blue-900"})]),z("img",{staticClass:"block px-4 pb-2 mx-auto mt-4",attrs:{src:b(1601)}})]),z("div",{staticClass:"custom-shadow mt-8 border border-blue-900 lg:w-1/4 md:w-1/4 lg:mx-2 md:mx-2 lg:mt-5 rounded-lg"},[z("div",{staticClass:"-mt-6 text-center"},[z("span",{staticClass:"flex items-center justify-center w-12 h-12 mx-auto text-2xl text-white bg-blue-900 rounded-full"},[z("span",{staticClass:"-mt-1 text-white"},[M._v("4")])])]),z("div",{staticClass:"px-2 mt-3 text-center"},[z("div",{staticClass:"mb-2 text-lg text-blue-900"},[M._v("Celebrate Your Completion")]),z("div",{staticClass:"text-sm text-[#161916]"},[M._v("Once your submission passes and you are done with required reviews, your Solidify journey is complete!")]),z("div",{staticClass:"text-sm text-blue-900"})]),z("img",{staticClass:"block px-4 pb-2 mx-auto mt-4",attrs:{src:b(8133)}})])])}],r=(0,A.defineComponent)({name:"SolidifyLanding",props:{data:{type:Object,default:null}},setup(M){const z=(0,A.ref)(),b=(0,A.ref)();return(0,A.onBeforeMount)((async()=>{z.value=M.data,b.value=z.value.systemSetting.product_video_link})),{initialData:z,videoUrl:b}}}),u=r,B=b(1001),N=(0,B.Z)(u,f,t,!1,null,"bd18dd2a",null),X=N.exports,s=function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",{staticClass:"mx-4 mt-3 box-overflow1-notuse lg:mx-24 md:mx-24 lg:mt-6 md:mt-6"},["Learner to choose task"!==M.initialData.program_details.task_strategy||"Auto assign reviewer (reviewer task to be different)"!==M.initialData.program_details.reviewer_strategy&&"Auto assign reviewer based on skill and proficiency"!==M.initialData.program_details.reviewer_strategy?M._e():z("div",{staticClass:"block mt-4 lg:flex md:flex"},[M._m(0),M._m(1),M._m(2),M._m(3)]),"System assigns random task to learner"!==M.initialData.program_details.task_strategy&&"System uses task sequence number to assign task"!==M.initialData.program_details.task_strategy||"Auto assign reviewer (reviewer task to be different)"!==M.initialData.program_details.reviewer_strategy&&"Auto assign reviewer based on skill and proficiency"!==M.initialData.program_details.reviewer_strategy?M._e():z("div",{staticClass:"block mt-4 lg:flex md:flex"},[M._m(4),M._m(5),M._m(6),M._m(7)]),"System assigns random task to learner"!==M.initialData.program_details.task_strategy&&"System uses task sequence number to assign task"!==M.initialData.program_details.task_strategy||"Single Reviewer"!==M.initialData.program_details.reviewer_strategy&&"Reviewer can be from a SME list"!==M.initialData.program_details.reviewer_strategy?M._e():z("div",{staticClass:"block mt-4 lg:flex md:flex"},[M._m(8),M._m(9),M._m(10)]),"Learner to choose task"!==M.initialData.program_details.task_strategy||"Single Reviewer"!==M.initialData.program_details.reviewer_strategy&&"Reviewer can be from a SME list"!==M.initialData.program_details.reviewer_strategy?M._e():z("div",{staticClass:"block mt-4 lg:flex md:flex"},[M._m(11),M._m(12),M._m(13)]),z("div",{staticClass:"block mx-4 lg:mx-3 md:mx-3 text-sm"},[z("div",{staticClass:"text-gray text-sm leading-6 rich-text-formatter"},[z("p",{staticClass:"pt-4"},[M._v("Welcome to Solidify for "+M._s(M.initialData.skill)+". Now is the chance to show what you have learned while doing Immerse and Transform.")]),z("p",{staticClass:"pt-1"},[M._v("Before starting Solidify, you should have done the following:")]),z("ol",{staticClass:"pt-1 pl-3"},[z("li",[M._v("Completed Immerse for "+M._s(M.initialData.skill))]),z("li",[M._v("Completed Transform for "+M._s(M.initialData.skill))])]),M._m(14)])])])},l=[function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",{staticClass:"custom-shadow mt-8 border border-blue-900 lg:w-1/4 md:w-1/4 lg:mx-2 md:mx-2 lg:mt-5 rounded-lg"},[z("div",{staticClass:"-mt-6 text-center"},[z("span",{staticClass:"flex items-center justify-center w-12 h-12 mx-auto text-2xl text-white bg-blue-900 rounded-full"},[z("span",{staticClass:"-mt-1 text-white"},[M._v("1")])])]),z("div",{staticClass:"px-2 mt-3 text-center"},[z("div",{staticClass:"mb-2 text-lg text-blue-900"},[M._v("Select a task")]),z("div",{staticClass:"text-sm text-[#161916]"},[M._v("Select a task to complete. If you are in a client-restricted environment, we have mobile-friendly tasks (where available) marked specifically for you!")]),z("div",{staticClass:"text-sm text-blue-900"})]),z("img",{staticClass:"block px-4 pb-2 mx-auto mt-4",attrs:{src:b(8170)}})])},function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",{staticClass:"custom-shadow mt-8 border border-blue-900 lg:w-1/4 md:w-1/4 lg:mx-2 md:mx-2 lg:mt-5 rounded-lg"},[z("div",{staticClass:"-mt-6 text-center"},[z("span",{staticClass:"flex items-center justify-center w-12 h-12 mx-auto text-2xl text-white bg-blue-900 rounded-full"},[z("span",{staticClass:"-mt-1 text-white"},[M._v("2")])])]),z("div",{staticClass:"px-2 mt-3 text-center"},[z("div",{staticClass:"mb-2 text-lg text-blue-900"},[M._v("Submit the task")]),z("div",{staticClass:"text-sm text-[#161916]"},[M._v("Submit by either uploading the task from your desktop or typing it in on a mobile device (where available).")]),z("div",{staticClass:"text-sm text-blue-900"})]),z("img",{staticClass:"block px-4 pb-2 mx-auto mt-4",attrs:{src:b(4297)}})])},function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",{staticClass:"custom-shadow mt-8 border border-blue-900 lg:w-1/4 md:w-1/4 lg:mx-2 md:mx-2 lg:mt-5 rounded-lg"},[z("div",{staticClass:"-mt-6 text-center"},[z("span",{staticClass:"flex items-center justify-center w-12 h-12 mx-auto text-2xl text-white bg-blue-900 rounded-full"},[z("span",{staticClass:"-mt-1 text-white"},[M._v("3")])])]),z("div",{staticClass:"px-2 mt-3 text-center"},[z("div",{staticClass:"mb-2 text-lg text-blue-900"},[M._v("Review someone else's work")]),z("div",{staticClass:"text-sm text-[#161916]"},[M._v("Learning happens when you can evaluate someone's work! We will guide you on how to give feedback.")]),z("div",{staticClass:"text-sm text-blue-900"})]),z("img",{staticClass:"block px-4 pb-2 mx-auto mt-4",attrs:{src:b(1601)}})])},function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",{staticClass:"custom-shadow mt-8 border border-blue-900 lg:w-1/4 md:w-1/4 lg:mx-2 md:mx-2 lg:mt-5 rounded-lg"},[z("div",{staticClass:"-mt-6 text-center"},[z("span",{staticClass:"flex items-center justify-center w-12 h-12 mx-auto text-2xl text-white bg-blue-900 rounded-full"},[z("span",{staticClass:"-mt-1 text-white"},[M._v("4")])])]),z("div",{staticClass:"px-2 mt-3 text-center"},[z("div",{staticClass:"mb-2 text-lg text-blue-900"},[M._v("Celebrate!")]),z("div",{staticClass:"text-sm text-[#161916]"},[M._v("Once your task has been passed by a reviewer, and you have completed your peer reviews you will have finished Solidify!")]),z("div",{staticClass:"text-sm text-blue-900"})]),z("img",{staticClass:"block px-4 pb-2 mx-auto mt-4",attrs:{src:b(8133)}})])},function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",{staticClass:"custom-shadow mt-8 border border-blue-900 lg:w-1/4 md:w-1/4 lg:mx-2 md:mx-2 lg:mt-5 rounded-lg"},[z("div",{staticClass:"-mt-6 text-center"},[z("span",{staticClass:"flex items-center justify-center w-12 h-12 mx-auto text-2xl text-white bg-blue-900 rounded-full"},[z("span",{staticClass:"-mt-1 text-white"},[M._v("1")])])]),z("div",{staticClass:"px-2 mt-3 text-center"},[z("div",{staticClass:"mb-2 text-lg text-blue-900"},[M._v("Do a task")]),z("div",{staticClass:"text-sm text-[#161916]"},[M._v("You will be assigned a task to complete. You must complete the task you are given.")]),z("div",{staticClass:"text-sm text-blue-900"})]),z("img",{staticClass:"block px-4 pb-2 mx-auto mt-4",attrs:{src:b(9583)}})])},function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",{staticClass:"custom-shadow mt-8 border border-blue-900 lg:w-1/4 md:w-1/4 lg:mx-2 md:mx-2 lg:mt-5 rounded-lg"},[z("div",{staticClass:"-mt-6 text-center"},[z("span",{staticClass:"flex items-center justify-center w-12 h-12 mx-auto text-2xl text-white bg-blue-900 rounded-full"},[z("span",{staticClass:"-mt-1 text-white"},[M._v("2")])])]),z("div",{staticClass:"px-2 mt-3 text-center"},[z("div",{staticClass:"mb-2 text-lg text-blue-900"},[M._v("Submit the task")]),z("div",{staticClass:"text-sm text-[#161916]"},[M._v("Submit by either uploading the task from your desktop or typing it in on a mobile device (where available).")]),z("div",{staticClass:"text-sm text-blue-900"})]),z("img",{staticClass:"block px-4 pb-2 mx-auto mt-4",attrs:{src:b(4297)}})])},function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",{staticClass:"custom-shadow mt-8 border border-blue-900 lg:w-1/4 md:w-1/4 lg:mx-2 md:mx-2 lg:mt-5 rounded-lg"},[z("div",{staticClass:"-mt-6 text-center"},[z("span",{staticClass:"flex items-center justify-center w-12 h-12 mx-auto text-2xl text-white bg-blue-900 rounded-full"},[z("span",{staticClass:"-mt-1 text-white"},[M._v("3")])])]),z("div",{staticClass:"px-2 mt-3 text-center"},[z("div",{staticClass:"mb-2 text-lg text-blue-900"},[M._v("Review someone else's work")]),z("div",{staticClass:"text-sm text-[#161916]"},[M._v("Learning happens when you can evaluate someone's work! We will guide you on how to give feedback.")]),z("div",{staticClass:"text-sm text-blue-900"})]),z("img",{staticClass:"block px-4 pb-2 mx-auto mt-4",attrs:{src:b(1601)}})])},function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",{staticClass:"custom-shadow mt-8 border border-blue-900 lg:w-1/4 md:w-1/4 lg:mx-2 md:mx-2 lg:mt-5 rounded-lg"},[z("div",{staticClass:"-mt-6 text-center"},[z("span",{staticClass:"flex items-center justify-center w-12 h-12 mx-auto text-2xl text-white bg-blue-900 rounded-full"},[z("span",{staticClass:"-mt-1 text-white"},[M._v("4")])])]),z("div",{staticClass:"px-2 mt-3 text-center"},[z("div",{staticClass:"mb-2 text-lg text-blue-900"},[M._v("Celebrate!")]),z("div",{staticClass:"text-sm text-[#161916]"},[M._v("Once your task has been passed by a reviewer, and you have completed your peer reviews you will have finished Solidify!")]),z("div",{staticClass:"text-sm text-blue-900"})]),z("img",{staticClass:"block px-4 pb-2 mx-auto mt-4",attrs:{src:b(8133)}})])},function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",{staticClass:"mt-16 border border-blue-900 lg:w-1/3 md:w-1/3 lg:mx-3 md:mx-3 lg:mt-5"},[z("div",{staticClass:"-mt-6 text-center"},[z("span",{staticClass:"flex items-center justify-center w-12 h-12 mx-auto text-2xl text-white bg-blue-900 rounded-full"},[z("span",{staticClass:"-mt-1 text-white"},[M._v("1")])])]),z("div",{staticClass:"px-2 mt-3 text-center"},[z("div",{staticClass:"mb-2 text-lg text-blue-900"},[M._v("Do a task")]),z("div",{staticClass:"text-sm text-[#161916]"},[M._v("You will be assigned a task to complete. You must complete the task you are given.")]),z("div",{staticClass:"text-sm text-blue-900"})]),z("img",{staticClass:"block px-4 pb-2 mx-auto mt-4",attrs:{src:b(9583)}})])},function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",{staticClass:"mt-16 border border-blue-900 lg:w-1/3 md:w-1/3 lg:mx-3 md:mx-3 lg:mt-5"},[z("div",{staticClass:"-mt-6 text-center"},[z("span",{staticClass:"flex items-center justify-center w-12 h-12 mx-auto text-2xl text-white bg-blue-900 rounded-full"},[z("span",{staticClass:"-mt-1 text-white"},[M._v("2")])])]),z("div",{staticClass:"px-2 mt-3 text-center"},[z("div",{staticClass:"mb-2 text-lg text-blue-900"},[M._v("Submit the task")]),z("div",{staticClass:"text-sm text-[#161916]"},[M._v("Submit by either uploading the task from your desktop or typing it in on a mobile device (where available).")]),z("div",{staticClass:"text-sm text-blue-900"})]),z("img",{staticClass:"block px-4 pb-2 mx-auto mt-4",attrs:{src:b(4297)}})])},function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",{staticClass:"mt-16 border border-blue-900 lg:w-1/3 md:w-1/3 lg:mx-3 md:mx-3 lg:mt-5"},[z("div",{staticClass:"-mt-6 text-center"},[z("span",{staticClass:"flex items-center justify-center w-12 h-12 mx-auto text-2xl text-white bg-blue-900 rounded-full"},[z("span",{staticClass:"-mt-1 text-white"},[M._v("3")])])]),z("div",{staticClass:"px-2 mt-3 text-center"},[z("div",{staticClass:"mb-2 text-lg text-blue-900"},[M._v("Celebrate!")]),z("div",{staticClass:"text-sm text-[#161916]"},[M._v("Once your task has been passed by a reviewer you will have finished Solidify!")]),z("div",{staticClass:"text-sm text-blue-900"})]),z("img",{staticClass:"block px-4 pb-2 mx-auto mt-4",attrs:{src:b(3416)}})])},function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",{staticClass:"mt-16 border border-blue-900 lg:w-1/3 md:w-1/3 lg:mx-3 md:mx-3 lg:mt-5"},[z("div",{staticClass:"-mt-6 text-center"},[z("span",{staticClass:"flex items-center justify-center w-12 h-12 mx-auto text-2xl text-white bg-blue-900 rounded-full"},[z("span",{staticClass:"-mt-1 text-white"},[M._v("1")])])]),z("div",{staticClass:"px-2 mt-3 text-center"},[z("div",{staticClass:"mb-2 text-lg text-blue-900"},[M._v("Select a task")]),z("div",{staticClass:"text-sm text-[#161916]"},[M._v("You will be assigned a task to complete. You must complete the task you are given.")]),z("div",{staticClass:"text-sm text-blue-900"})]),z("img",{staticClass:"block px-4 pb-2 mx-auto mt-4",attrs:{src:b(8170)}})])},function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",{staticClass:"mt-16 border border-blue-900 lg:w-1/3 md:w-1/3 lg:mx-3 md:mx-3 lg:mt-5"},[z("div",{staticClass:"-mt-6 text-center"},[z("span",{staticClass:"flex items-center justify-center w-12 h-12 mx-auto text-2xl text-white bg-blue-900 rounded-full"},[z("span",{staticClass:"-mt-1 text-white"},[M._v("2")])])]),z("div",{staticClass:"px-2 mt-3 text-center"},[z("div",{staticClass:"mb-2 text-lg text-blue-900"},[M._v("Submit the task")]),z("div",{staticClass:"text-sm text-[#161916]"},[M._v("Submit by either uploading the task from your desktop or typing it in on a mobile device (where available).")]),z("div",{staticClass:"text-sm text-blue-900"})]),z("img",{staticClass:"block px-4 pb-2 mx-auto mt-4",attrs:{src:b(4297)}})])},function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",{staticClass:"mt-16 border border-blue-900 lg:w-1/3 md:w-1/3 lg:mx-3 md:mx-3 lg:mt-5"},[z("div",{staticClass:"-mt-6 text-center"},[z("span",{staticClass:"flex items-center justify-center w-12 h-12 mx-auto text-2xl text-white bg-blue-900 rounded-full"},[z("span",{staticClass:"-mt-1 text-white"},[M._v("3")])])]),z("div",{staticClass:"px-2 mt-3 text-center"},[z("div",{staticClass:"mb-2 text-lg text-blue-900"},[M._v("Celebrate!")]),z("div",{staticClass:"text-sm text-[#161916]"},[M._v("Once your task has been passed by a reviewer you will have finished Solidify!")]),z("div",{staticClass:"text-sm text-blue-900"})]),z("img",{staticClass:"block px-4 pb-2 mx-auto mt-4",attrs:{src:b(3416)}})])},function(){var M=this,z=M._self._c;M._self._setupProxy;return z("p",{staticClass:"pt-2"},[M._v("Click "),z("strong",{staticClass:"text-navy"},[M._v("Start!")]),M._v(" to start your Solidify journey!")])}],m=(0,A.defineComponent)({name:"CohortLanding",props:{data:{type:Object,default:null}},setup(M){const z=(0,A.ref)(),b=(0,A.ref)(),p=(0,A.ref)(!1),O=(0,A.ref)(!1),c=(0,A.ref)(!1),q=(0,A.ref)(!1);return(0,A.onBeforeMount)((async()=>{z.value=M.data,b.value=z.value.systemSetting.product_video_link})),{initialData:z,videoUrl:b,selectTaskwithPeerReview:p,systemAssignTaskwithPeerReview:O,systemAssignTaskwithSignleReview:c,selectTaskwithSignleReview:q}}}),T=m,g=(0,B.Z)(T,s,l,!1,null,"3f7a3f24",null),C=g.exports,v=b(1232),E=b(9896),S=(0,A.defineComponent)({name:"LearnerHome",components:{Generic:d.Z,ErrorMessage:L.Z,SolidifyLanding:X,CohortLanding:C,GenericV2:a.Z,Greetings:R.Z},props:{query:{type:Object,default:()=>({})}},setup(M){const z=(0,A.ref)(),b=(0,A.ref)(),p=(0,A.ref)(),O=(0,A.ref)(),c=(0,A.ref)(),o=(0,A.ref)(!1),d=(0,A.ref)(),a=(0,A.ref)(!1),R=(0,A.ref)(!1),n=(0,A.ref)(),L=(0,A.ref)(),f=(0,A.ref)(!1),t=(0,A.ref)(!1),r=(0,A.ref)(),u=(0,A.ref)('It looks like you have not tagged yourself correctly in <a target="_blank" href="http://genome.genpact.com/#Myprofile"><strong>My Profile</strong></a>. The learners in band 5 and 4A in operations need to start at Beginner proficiency level and subsequently move to higher levels of proficiency. You should be at a beginner for all skills unless you have already completed a Beginner Wave. Check on <a href="https://genome.genpact.com/" target="_blank"><strong>Genome</strong></a> now to see which skills you need to update. Once you fix your My Profile, you will get access to Solidify again within 48 hours.'),B=(0,A.ref)(),N=(0,A.ref)(),X=(0,A.ref)(),s=(0,A.ref)(),l=(0,A.ref)();(0,A.onBeforeMount)((async()=>{try{z.value=M.query.skill_id,b.value=M.query.proficiency_id,p.value=M.query.program_id,X.value=M.query.learning_path_id,s.value=M.query.learning_content_id,localStorage.removeItem("learning_path_id"),localStorage.removeItem("learning_content_id"),localStorage.removeItem("learning_content_display_name"),L.value=!1;const A=W().tz.guess(),i={learning_path_id:X.value,learning_content_id:s.value,timezone:A,skill:z.value,proficiency:b.value,program_id:p.value},m=await e("/learner/journey/stat",i);if(O.value=m.data,O.value){if(B.value=O.value.learning_content_object,N.value=O.value.learning_path_object,console.log("lp object",N),console.log("lc object",B),B.value&&!p.value&&(p.value=B.value.learning_content_configuration_id),B.value&&(l.value=B.value.learning_content_display_name,localStorage.setItem("learning_content_id",B.value.learning_content_id),localStorage.setItem("learning_path_id",N.value.learning_path_id),localStorage.setItem("learning_content_display_name",l.value)),O.value.userObj&&(O.value.userObj.last_accessed_on&&localStorage.setItem("lastAccess",q()(O.value.userObj.last_accessed_on).format("MMM Do YYYY, h:mm a")),O.value.userObj.user_fullName&&localStorage.setItem("userName",O.value.userObj.user_fullName),O.value.userObj.user_email&&localStorage.setItem("email",O.value.userObj.user_email),O.value.userObj.user_key&&localStorage.setItem("user_key",O.value.userObj.user_key)),O.value.system_under_maintainence)return localStorage.setItem("errorMsg",O.value.maintenance_message),void E.Z.push({path:"/solidify/systemUnderMaintenance"}).catch();if(O.value.is_learner_not_allowed)return console.log("inside learner not allowed"),a.value=!0,n.value="Please contact helpmate.",void(L.value=!0);if(O.value.isSkillSunet)return console.log("inside skill is sunset"),L.value=!0,c.value=O.value.message,void(o.value=!0);if(O.value.is_learner_not_in_program)return L.value=!0,c.value="You have not been assigned to this program",void(o.value=!0);if(O.value.is_cohort_not_started)return L.value=!0,c.value=`You may not start Solidify for this cohort until ${O.value.cohort_startDate}. Please log in again on that date.`,void(o.value=!0);if(!0===O.value.plagiarism_reEvalution_inProgress)return L.value=!0,c.value="You may not start Solidify until the plagiarism status is complete.",void(o.value=!0);if(O.value.cohortFailedData&&"Fail"===O.value.cohortFailedData.learner_status&&"infinity"!==O.value.cohortFailedData.linked_program_name&&E.Z.push({path:"/solidify/done",query:{learner_task_id:O.value.cohortFailedData.learner_task_id}}),!O.value.skill)return L.value=!0,c.value="Skill Not Found",void(o.value=!0);if(!O.value.proficiency)return L.value=!0,c.value="Proficiency Not Found",void(o.value=!0);if(!O.value.userObj)return L.value=!0,c.value="User Profile Not Found",void(o.value=!0);if("suspended"===O.value.userObj.diff_access_status)return L.value=!0,c.value=u.value,void(o.value=!0);if(O.value.userObj.diff_access_status||(O.value.userObj.diff_access_status="active"),O.value.learnerData&&O.value.learnerData.technical_hold)return a.value=!0,n.value=`Your submission for ${O.value.skill}-${O.value.proficiency} is under evaluation. This process may take up to 7 business days.`,void(L.value=!0);if(z.value=O.value.skill_id,b.value=O.value.proficiency_id,"infinity"===p.value&&O.value.reReviewStatus&&(!O.value.reReviewStatus.is_plagiarised||!O.value.reReviewStatus.plagiarism_reevaluation_requested||"complete"!==O.value.reReviewStatus.plagiarism_reevaluation_status)&&(O.value.reReviewStatus.request_for_re_review||(a.value=!0,n.value="<strong>Choose how you’d like to continue: </strong>",f.value=!0,t.value=!0,r.value=O.value.reReviewStatus.learner_task_id),"infinity"===p.value&&("Re-review Accepted Proxy Assigned"===O.value.reReviewStatus.re_review_status||"Re-review Accepted Proxy Unavailable"===O.value.reReviewStatus.re_review_status))){L.value=!0,c.value="Your re-review is underway — we’ll notify you once it’s complete. ",o.value=!0;const M=O.value.reReviewStatus.learner_task_id;return void(M&&(console.log("learner task id",M),E.Z.push({path:"/solidify/rereview",query:{learner_task_id:M}})))}}L.value=!0,d.value=O.value.systemSetting.helpmate_link,localStorage.setItem("skillId",z.value),localStorage.setItem("profId",b.value),localStorage.setItem("programId",p.value),localStorage.setItem("skillName",O.value.skill),localStorage.setItem("proficiency",O.value.proficiency),localStorage.setItem("helpmateLink",d.value),localStorage.setItem("programName",O.value.program_details.program_name),localStorage.setItem("reviewerAssignmentStrategy",O.value.program_details.reviewer_strategy),localStorage.setItem("taskAssignmentStrategy",O.value.program_details.task_strategy),O.value.learnerData&&("Registered"===O.value.learnerData.learner_status?X.value&&s.value?E.Z.push({path:"/solidify/submitTask",query:{learner_task_id:O.value.learnerData.learner_task_id,program_id:p.value,learning_path_id:X.value,learning_content_id:s.value}}):E.Z.push({path:"/solidify/submitTask",query:{learner_task_id:O.value.learnerData.learner_task_id,program_id:p.value}}):"Need Reviewer and Need Reviewee"===O.value.learnerData.learner_status||"Need Reviewee"===O.value.learnerData.learner_status?E.Z.push({path:"/solidify/peerReview",query:{learner_task_id:O.value.learnerData.learner_task_id}}):"Passed"!==O.value.learnerData.learner_status&&"Need Reviewer"!==O.value.learnerData.learner_status||E.Z.push({path:"/solidify/done",query:{learner_task_id:O.value.learnerData.learner_task_id}})),console.log(`initialData.value.existedLearnerDiffProf ${O.value.existedLearnerDiffProf}`),O.value.existedLearnerDiffProf&&(R.value=!0)}catch(A){if(console.log("inside catch error"),console.log(JSON.stringify(A)),L.value=!0,i.Z.isAxiosError(A)){const M=A;c.value=M.response?.data?.message}else c.value="Something went wrong, please contact helpmate.";o.value=!0}}));const m=()=>{a.value=!1},T=()=>{R.value=!1},g=async()=>{console.log("continue");O.value.existedLearnerDiffProf;X.value&&s.value?E.Z.replace({path:"/solidify",query:{learning_path_id:X.value,learning_content_id:s.value}}):E.Z.replace({path:"/solidify",query:{skill_id:z.value,proficiency_id:b.value,program_id:p.value}}),E.Z.go(0),T()},C=async()=>{try{L.value=!1;const M={learner_task_id:O.value.existedLearnerDiffProf.learner_task_id},z=await(0,v.F)("/learner/terminate",M);T(),L.value=!0,console.log(z)}catch(M){if(console.log("inside catch error"),console.log(JSON.stringify(M)),L.value=!0,i.Z.isAxiosError(M)){const z=M;console.log(z.response?.data),c.value=z.response?.data}else c.value="There is an issue in requesting for review, please contact helpmate."}};return{skillId:z,proficiencyId:b,programId:p,initialData:O,helpmateLink:d,modalVisible:a,modalV2Visible:R,modalMessage:n,renderReady:L,closeModal:m,closeModalV2:T,terminateExistingJourney:C,continueExistingJourney:g,modalCloseVisible:f,modalButtonVisible:t,modalButtonLink:r,showErrorMessage:o,errorResponse:c,learning_path_id:X,learning_content_id:s,learning_content_display_name:l}}}),x=S,h=(0,B.Z)(x,p,O,!1,null,"a440ef62",null),_=h.exports},7881:function(M,z,b){var p=M.exports=b(8158);p.tz.load(b(1128))},8158:function(M,z,b){var p,O,A;b(7658),
1
+ (("undefined"!==typeof self?self:this)["webpackChunksolidify"]=("undefined"!==typeof self?self:this)["webpackChunksolidify"]||[]).push([[345],{460:function(M,z,b){"use strict";b.d(z,{Z:function(){return d}});var p=function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",{staticClass:"flex"},[z("div",{staticClass:"w-full pt-16 px-32"},[z("div",{staticClass:"md:px-0 lg:px-0 text-center"},[z("div",{staticClass:"text-gray-500"},[z("div",{staticClass:"pt-2",domProps:{innerHTML:M._s(M.errorMsg)}})]),z("div",{staticClass:"pt-8"},[z("a",{attrs:{href:M.helpmateLink,target:"_blank"}},[z("img",{staticClass:"mx-auto",attrs:{src:b(3126)}})])])])])])},O=[],A=b(7203),c=(0,A.defineComponent)({name:"ErrorMessage",props:{errorMessage:{type:String,default:""}},setup(M){const z=(0,A.ref)(""),b=(0,A.ref)(localStorage.getItem("helpmateLink"));return(0,A.onBeforeMount)((async()=>{z.value=M.errorMessage})),{errorMsg:z,helpmateLink:b}}}),q=c,o=b(1001),W=(0,o.Z)(q,p,O,!1,null,null,null),d=W.exports},2148:function(M,z,b){"use strict";b.d(z,{Z:function(){return a}});var p=function(){var M=this,z=M._self._c;return M.isVisible?z("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"},[z("transition",{attrs:{name:"modal-fade"}},[z("div",{staticClass:"modal-overlay",on:{click:function(z){return M.$emit("close-modal")}}},[z("div",{staticClass:"modal relative",on:{click:function(M){M.stopPropagation()}}},[M.closeVisible?z("div",{staticClass:"absolute right-0 pr-4 top-5 cursor-pointer",on:{click:function(z){return M.$emit("closeModal")}}},[z("x-icon",{attrs:{size:"1.5x"}})],1):M._e(),z("div",{staticClass:"bg-white"},[z("div",[M.popUpImage1||M.popUpImage2?z("div",{staticClass:"font-bold text-center mb-3 flex justify-center text-base sm:text-xl"},[z("div",[z("strong",[M._v("Do you want to mark the submission Plagiarised?")])])]):M._e(),M.popUpImage1?z("div",{staticClass:"w-full"},[z("img",{staticClass:"block px-4 pb-2 mx-auto w-3/12",attrs:{src:b(2191)}})]):M._e(),M.popUpImage2?z("div",{staticClass:"w-full"},[z("img",{staticClass:"block px-4 pb-2 mx-auto w-2/5",attrs:{src:b(5861)}})]):M._e()]),z("div",{staticClass:"text-gray-500 px-4",domProps:{innerHTML:M._s(M.message)}}),z("div",{staticClass:"pb-4 pt-4 bg-white flex flex-col items-center"},[M.reReviewButton?z("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(z){return M.applyReview(M.reReviewButtonLink)}}},[M._v(" Apply Re-Review ")]):M._e(),M.archiveButton?z("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(z){return M.$emit("Archive")}}},[M._v("Yes")]):M._e(),M.closeVisible?z("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(z){return M.$emit("closeModal")}}},[M._v(" No ")]):M._e(),M.linkButton?z("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(z){return M.navigate(M.link)}}},[M._v(M._s(M.linkButton))]):M._e()])])])])])],1):M._e()},O=[],A=(b(7658),b(4856)),c=b(4642),q={components:{XIcon:A.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 M=async M=>{c.Z.push({path:"/solidify/rereview",query:{learner_task_id:M}})},z=M=>{window.location.href=M};return{applyReview:M,navigate:z}}},o=q,W=b(1001),d=(0,W.Z)(o,p,O,!1,null,null,null),a=d.exports},8235:function(M,z,b){"use strict";b.d(z,{Z:function(){return d}});var p=function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",{staticClass:"mt-4 lg:px-24 md:px-24 px-4 flex justify-between items-center w-full"},[z("div",{staticClass:"text-blue-900 lg:text-3xl md:text-3xl text-xl my-2"},[M.learning_content_display_name?z("span",[M._v(" "+M._s(M.learning_content_display_name)+" ")]):z("span",["infinity"===M.program?z("span",[M._v(M._s(M.proficiency)+" - ")]):M._e(),M._v(M._s(M.skill))])]),z("div",{staticClass:"my-2"},[z("div",{staticClass:"text-blue-900 md:text-lg text-sm text-right"},[M._v("Hi, "+M._s(M.username))])])])},O=[],A=b(7203),c=(0,A.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 M=(0,A.ref)("");return(0,A.onBeforeMount)((async()=>{const z=localStorage.getItem("userName")||"Learner";M.value=z.split(",").reverse().join(" ")})),{username:M}}}),q=c,o=b(1001),W=(0,o.Z)(q,p,O,!1,null,null,null),d=W.exports},6623:function(M,z,b){"use strict";b.r(z),b.d(z,{default:function(){return _}});var p=function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",{staticClass:"mx-auto mt-6 containers allBoxImg"},[M.renderReady?[M.showErrorMessage?M._e():[M.initialData?z("div",{staticClass:"flex"},[z("div",{staticClass:"w-full pt-12"},[z("Greetings",{attrs:{program:M.programId,proficiency:M.initialData.proficiency,skill:M.initialData.skill,learning_content_display_name:M.learning_content_display_name}}),z("div",{staticClass:"flex md:flex mt-4 mx-3 lg:pl-16 md:pl-16 lg:pr-24 md:pr-24 px-0 block"},[z("div",{staticClass:"ul-nav w-full"},[z("ul",[z("li",{staticClass:"active"},[M._v("Home")]),z("li",[M._v("Task")]),z("li",[M._v("Submit")]),"Single Reviewer"!==M.initialData.program_details.reviewer_strategy&&"Reviewer can be from a SME list"!==M.initialData.program_details.reviewer_strategy?z("li",[M._v("Peer Reviews")]):M._e(),z("li",[M._v("Under Review")]),z("li",[M._v("Done!")])])])]),z("Generic",{attrs:{"is-visible":M.modalVisible,message:M.modalMessage,"close-visible":M.modalCloseVisible,"re-review-button":M.modalButtonVisible,"re-review-button-link":M.modalButtonLink},on:{closeModal:M.closeModal}}),z("GenericV2",{attrs:{"cross-visible":!1,"is-visible":M.modalV2Visible},on:{Cancel:M.closeModalV2}},[z("div",{staticClass:"py-3 bg-white"},[z("p",{staticClass:"text-left"},[M._v("Please note Genome does not allow proficiency completion outside of the "),z("strong",[M._v("BITS")]),M._v(" sequence.")]),z("p",{staticClass:"text-left"},[M._v(" You have already started a learning task at "+M._s(M.initialData.existedLearnerDiffProf&&M.initialData.existedLearnerDiffProf.proficiency_name)+" level that is different from your My Profile ("+M._s(M.initialData.proficiency)+") proficiency. ")]),z("br"),z("p",{staticClass:"text-left"},[M._v("Select one option below:")]),z("ol",{staticClass:"list-decimal pl-6 pb-6"},[z("li",{staticClass:"pl-1 text-left"},[M._v(" Select Terminate to end your "+M._s(M.initialData.existedLearnerDiffProf&&M.initialData.existedLearnerDiffProf.proficiency_name)+" solidify journey and start at your My Profile ("+M._s(M.initialData.proficiency)+") proficiency ")]),z("li",{staticClass:"pl-1 text-left"},[M._v("Select Continue to proceed with your current solidify journey at "+M._s(M.initialData.existedLearnerDiffProf&&M.initialData.existedLearnerDiffProf.proficiency_name)+" level")])]),z("button",{staticClass:"px-4 py-2 mr-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:M.continueExistingJourney}},[M._v(" Continue ")]),z("button",{staticClass:"px-4 py-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75",on:{click:M.terminateExistingJourney}},[M._v("Terminate")])])]),"infinity"===M.programId?z("SolidifyLanding",{attrs:{data:M.initialData}}):M._e(),"infinity"!==M.programId?z("CohortLanding",{attrs:{data:M.initialData}}):M._e(),z("div",{staticClass:"mt-4 mb-4 text-center"},[M.learning_path_id?z("router-link",{staticClass:"px-12 py-2 text-white shadow-md bg-background-secondary inline-block",attrs:{to:{name:"SolidifyLearnerSelectTask",query:{learning_path_id:M.learning_path_id,learning_content_id:M.learning_content_id}}}},[z("div",{staticClass:"font-bold"},[M._v("Start!")])]):z("router-link",{staticClass:"px-12 py-2 text-white shadow-md bg-background-secondary inline-block",attrs:{to:{name:"SolidifyLearnerSelectTask",query:{skill_id:M.skillId,proficiency_id:M.proficiencyId,program_id:M.programId}}}},[z("div",{staticClass:"font-bold"},[M._v("Start!")])])],1)],1)]):M._e()],M.showErrorMessage?z("ErrorMessage",{attrs:{"error-message":M.errorResponse}}):M._e()]:M._e(),M.renderReady?M._e():z("div",{staticClass:"flex flex-col h-min-screen justify-center text-center"},[z("img",{staticClass:"mb-8 block mx-auto loadercss mt-3%",attrs:{src:b(9756),alt:"Loader Gif"}}),z("p",{staticClass:"mx-auto mb-10 leading-normal px-4 loadertextcss ext-genpact-darkest-blue"},[M._v("Loading...")])])],2)},O=[],A=(b(7658),b(7203)),c=b(1602),q=b.n(c),o=b(7881),W=b.n(o),d=b(2148),a=b(3484),R=b(8235),n=b(7129);const e=async(M,z)=>{console.log(n.Z);const b=n.Z.post(M,z);return b};var i=b(306),L=b(460),f=function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",{staticClass:"mx-4 mt-3 box-overflow1 lg:mx-24 md:mx-24 lg:mt-6 md:mt-6"},[M._m(0),z("div",{staticClass:"block mx-4 lg:mx-3 md:mx-3 text-sm"},[z("div",{staticClass:"text-[#161916] leading-6 rich-text-formatter"},[z("p",{staticClass:"pt-4 text-center"},[M._v(" Need help? Watch our quick "),z("u",[z("a",{attrs:{target:"_blank",href:M.videoUrl}},[M._v("onboarding video")])]),M._v(" or click the Helpmate Icon for assistance. ")])])])])},t=[function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",{staticClass:"block mt-4 lg:flex md:flex"},[z("div",{staticClass:"custom-shadow mt-8 border border-blue-900 lg:w-1/4 md:w-1/4 lg:mx-2 md:mx-2 lg:mt-5 rounded-lg"},[z("div",{staticClass:"-mt-6 text-center"},[z("span",{staticClass:"flex items-center justify-center w-12 h-12 mx-auto text-2xl text-white bg-blue-900 rounded-full"},[z("span",{staticClass:"-mt-1 text-white"},[M._v("1")])])]),z("div",{staticClass:"px-2 mt-3 text-center"},[z("div",{staticClass:"mb-2 text-lg text-blue-900"},[M._v("Select a task")]),z("div",{staticClass:"text-sm text-[#161916]"},[M._v("Choose a task that fits your work environment. If you’re in a client-restricted setting, mobile-friendly tasks are available.")]),z("div",{staticClass:"text-sm text-blue-900"})]),z("img",{staticClass:"block px-4 pb-2 mx-auto mt-4",attrs:{src:b(8170)}})]),z("div",{staticClass:"custom-shadow mt-8 border border-blue-900 lg:w-1/4 md:w-1/4 lg:mx-2 md:mx-2 lg:mt-5 rounded-lg"},[z("div",{staticClass:"-mt-6 text-center"},[z("span",{staticClass:"flex items-center justify-center w-12 h-12 mx-auto text-2xl text-white bg-blue-900 rounded-full"},[z("span",{staticClass:"-mt-1 text-white"},[M._v("2")])])]),z("div",{staticClass:"px-2 mt-3 text-center"},[z("div",{staticClass:"mb-2 text-lg text-blue-900"},[M._v("Submit Your Work")]),z("div",{staticClass:"text-sm text-[#161916]"},[M._v("Upload your task via desktop or submit directly in a mobile-friendly format.")]),z("div",{staticClass:"text-sm text-blue-900"})]),z("img",{staticClass:"block px-4 pb-2 mx-auto mt-4",attrs:{src:b(4297)}})]),z("div",{staticClass:"custom-shadow mt-8 border border-blue-900 lg:w-1/4 md:w-1/4 lg:mx-2 md:mx-2 lg:mt-5 rounded-lg"},[z("div",{staticClass:"-mt-6 text-center"},[z("span",{staticClass:"flex items-center justify-center w-12 h-12 mx-auto text-2xl text-white bg-blue-900 rounded-full"},[z("span",{staticClass:"-mt-1 text-white"},[M._v("3")])])]),z("div",{staticClass:"px-2 mt-3 text-center"},[z("div",{staticClass:"mb-2 text-lg text-blue-900"},[M._v("Review Peer Submissions")]),z("div",{staticClass:"text-sm text-[#161916]"},[M._v("Provide constructive feedback on another learner’s submission. We’ll guide you through the process — it’s part of the learning!.")]),z("div",{staticClass:"text-sm text-blue-900"})]),z("img",{staticClass:"block px-4 pb-2 mx-auto mt-4",attrs:{src:b(1601)}})]),z("div",{staticClass:"custom-shadow mt-8 border border-blue-900 lg:w-1/4 md:w-1/4 lg:mx-2 md:mx-2 lg:mt-5 rounded-lg"},[z("div",{staticClass:"-mt-6 text-center"},[z("span",{staticClass:"flex items-center justify-center w-12 h-12 mx-auto text-2xl text-white bg-blue-900 rounded-full"},[z("span",{staticClass:"-mt-1 text-white"},[M._v("4")])])]),z("div",{staticClass:"px-2 mt-3 text-center"},[z("div",{staticClass:"mb-2 text-lg text-blue-900"},[M._v("Celebrate Your Completion")]),z("div",{staticClass:"text-sm text-[#161916]"},[M._v("Once your submission passes and you are done with required reviews, your Solidify journey is complete!")]),z("div",{staticClass:"text-sm text-blue-900"})]),z("img",{staticClass:"block px-4 pb-2 mx-auto mt-4",attrs:{src:b(8133)}})])])}],r=(0,A.defineComponent)({name:"SolidifyLanding",props:{data:{type:Object,default:null}},setup(M){const z=(0,A.ref)(),b=(0,A.ref)();return(0,A.onBeforeMount)((async()=>{z.value=M.data,b.value=z.value.systemSetting.product_video_link})),{initialData:z,videoUrl:b}}}),u=r,B=b(1001),N=(0,B.Z)(u,f,t,!1,null,"bd18dd2a",null),X=N.exports,s=function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",{staticClass:"mx-4 mt-3 box-overflow1-notuse lg:mx-24 md:mx-24 lg:mt-6 md:mt-6"},["Learner to choose task"!==M.initialData.program_details.task_strategy||"Auto assign reviewer (reviewer task to be different)"!==M.initialData.program_details.reviewer_strategy&&"Auto assign reviewer based on skill and proficiency"!==M.initialData.program_details.reviewer_strategy?M._e():z("div",{staticClass:"block mt-4 lg:flex md:flex"},[M._m(0),M._m(1),M._m(2),M._m(3)]),"System assigns random task to learner"!==M.initialData.program_details.task_strategy&&"System uses task sequence number to assign task"!==M.initialData.program_details.task_strategy||"Auto assign reviewer (reviewer task to be different)"!==M.initialData.program_details.reviewer_strategy&&"Auto assign reviewer based on skill and proficiency"!==M.initialData.program_details.reviewer_strategy?M._e():z("div",{staticClass:"block mt-4 lg:flex md:flex"},[M._m(4),M._m(5),M._m(6),M._m(7)]),"System assigns random task to learner"!==M.initialData.program_details.task_strategy&&"System uses task sequence number to assign task"!==M.initialData.program_details.task_strategy||"Single Reviewer"!==M.initialData.program_details.reviewer_strategy&&"Reviewer can be from a SME list"!==M.initialData.program_details.reviewer_strategy?M._e():z("div",{staticClass:"block mt-4 lg:flex md:flex"},[M._m(8),M._m(9),M._m(10)]),"Learner to choose task"!==M.initialData.program_details.task_strategy||"Single Reviewer"!==M.initialData.program_details.reviewer_strategy&&"Reviewer can be from a SME list"!==M.initialData.program_details.reviewer_strategy?M._e():z("div",{staticClass:"block mt-4 lg:flex md:flex"},[M._m(11),M._m(12),M._m(13)]),z("div",{staticClass:"block mx-4 lg:mx-3 md:mx-3 text-sm"},[z("div",{staticClass:"text-gray text-sm leading-6 rich-text-formatter"},[z("p",{staticClass:"pt-4"},[M._v("Welcome to Solidify for "+M._s(M.initialData.skill)+". Now is the chance to show what you have learned while doing Immerse and Transform.")]),z("p",{staticClass:"pt-1"},[M._v("Before starting Solidify, you should have done the following:")]),z("ol",{staticClass:"pt-1 pl-3"},[z("li",[M._v("Completed Immerse for "+M._s(M.initialData.skill))]),z("li",[M._v("Completed Transform for "+M._s(M.initialData.skill))])]),M._m(14)])])])},l=[function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",{staticClass:"custom-shadow mt-8 border border-blue-900 lg:w-1/4 md:w-1/4 lg:mx-2 md:mx-2 lg:mt-5 rounded-lg"},[z("div",{staticClass:"-mt-6 text-center"},[z("span",{staticClass:"flex items-center justify-center w-12 h-12 mx-auto text-2xl text-white bg-blue-900 rounded-full"},[z("span",{staticClass:"-mt-1 text-white"},[M._v("1")])])]),z("div",{staticClass:"px-2 mt-3 text-center"},[z("div",{staticClass:"mb-2 text-lg text-blue-900"},[M._v("Select a task")]),z("div",{staticClass:"text-sm text-[#161916]"},[M._v("Select a task to complete. If you are in a client-restricted environment, we have mobile-friendly tasks (where available) marked specifically for you!")]),z("div",{staticClass:"text-sm text-blue-900"})]),z("img",{staticClass:"block px-4 pb-2 mx-auto mt-4",attrs:{src:b(8170)}})])},function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",{staticClass:"custom-shadow mt-8 border border-blue-900 lg:w-1/4 md:w-1/4 lg:mx-2 md:mx-2 lg:mt-5 rounded-lg"},[z("div",{staticClass:"-mt-6 text-center"},[z("span",{staticClass:"flex items-center justify-center w-12 h-12 mx-auto text-2xl text-white bg-blue-900 rounded-full"},[z("span",{staticClass:"-mt-1 text-white"},[M._v("2")])])]),z("div",{staticClass:"px-2 mt-3 text-center"},[z("div",{staticClass:"mb-2 text-lg text-blue-900"},[M._v("Submit the task")]),z("div",{staticClass:"text-sm text-[#161916]"},[M._v("Submit by either uploading the task from your desktop or typing it in on a mobile device (where available).")]),z("div",{staticClass:"text-sm text-blue-900"})]),z("img",{staticClass:"block px-4 pb-2 mx-auto mt-4",attrs:{src:b(4297)}})])},function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",{staticClass:"custom-shadow mt-8 border border-blue-900 lg:w-1/4 md:w-1/4 lg:mx-2 md:mx-2 lg:mt-5 rounded-lg"},[z("div",{staticClass:"-mt-6 text-center"},[z("span",{staticClass:"flex items-center justify-center w-12 h-12 mx-auto text-2xl text-white bg-blue-900 rounded-full"},[z("span",{staticClass:"-mt-1 text-white"},[M._v("3")])])]),z("div",{staticClass:"px-2 mt-3 text-center"},[z("div",{staticClass:"mb-2 text-lg text-blue-900"},[M._v("Review someone else's work")]),z("div",{staticClass:"text-sm text-[#161916]"},[M._v("Learning happens when you can evaluate someone's work! We will guide you on how to give feedback.")]),z("div",{staticClass:"text-sm text-blue-900"})]),z("img",{staticClass:"block px-4 pb-2 mx-auto mt-4",attrs:{src:b(1601)}})])},function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",{staticClass:"custom-shadow mt-8 border border-blue-900 lg:w-1/4 md:w-1/4 lg:mx-2 md:mx-2 lg:mt-5 rounded-lg"},[z("div",{staticClass:"-mt-6 text-center"},[z("span",{staticClass:"flex items-center justify-center w-12 h-12 mx-auto text-2xl text-white bg-blue-900 rounded-full"},[z("span",{staticClass:"-mt-1 text-white"},[M._v("4")])])]),z("div",{staticClass:"px-2 mt-3 text-center"},[z("div",{staticClass:"mb-2 text-lg text-blue-900"},[M._v("Celebrate!")]),z("div",{staticClass:"text-sm text-[#161916]"},[M._v("Once your task has been passed by a reviewer, and you have completed your peer reviews you will have finished Solidify!")]),z("div",{staticClass:"text-sm text-blue-900"})]),z("img",{staticClass:"block px-4 pb-2 mx-auto mt-4",attrs:{src:b(8133)}})])},function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",{staticClass:"custom-shadow mt-8 border border-blue-900 lg:w-1/4 md:w-1/4 lg:mx-2 md:mx-2 lg:mt-5 rounded-lg"},[z("div",{staticClass:"-mt-6 text-center"},[z("span",{staticClass:"flex items-center justify-center w-12 h-12 mx-auto text-2xl text-white bg-blue-900 rounded-full"},[z("span",{staticClass:"-mt-1 text-white"},[M._v("1")])])]),z("div",{staticClass:"px-2 mt-3 text-center"},[z("div",{staticClass:"mb-2 text-lg text-blue-900"},[M._v("Do a task")]),z("div",{staticClass:"text-sm text-[#161916]"},[M._v("You will be assigned a task to complete. You must complete the task you are given.")]),z("div",{staticClass:"text-sm text-blue-900"})]),z("img",{staticClass:"block px-4 pb-2 mx-auto mt-4",attrs:{src:b(9583)}})])},function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",{staticClass:"custom-shadow mt-8 border border-blue-900 lg:w-1/4 md:w-1/4 lg:mx-2 md:mx-2 lg:mt-5 rounded-lg"},[z("div",{staticClass:"-mt-6 text-center"},[z("span",{staticClass:"flex items-center justify-center w-12 h-12 mx-auto text-2xl text-white bg-blue-900 rounded-full"},[z("span",{staticClass:"-mt-1 text-white"},[M._v("2")])])]),z("div",{staticClass:"px-2 mt-3 text-center"},[z("div",{staticClass:"mb-2 text-lg text-blue-900"},[M._v("Submit the task")]),z("div",{staticClass:"text-sm text-[#161916]"},[M._v("Submit by either uploading the task from your desktop or typing it in on a mobile device (where available).")]),z("div",{staticClass:"text-sm text-blue-900"})]),z("img",{staticClass:"block px-4 pb-2 mx-auto mt-4",attrs:{src:b(4297)}})])},function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",{staticClass:"custom-shadow mt-8 border border-blue-900 lg:w-1/4 md:w-1/4 lg:mx-2 md:mx-2 lg:mt-5 rounded-lg"},[z("div",{staticClass:"-mt-6 text-center"},[z("span",{staticClass:"flex items-center justify-center w-12 h-12 mx-auto text-2xl text-white bg-blue-900 rounded-full"},[z("span",{staticClass:"-mt-1 text-white"},[M._v("3")])])]),z("div",{staticClass:"px-2 mt-3 text-center"},[z("div",{staticClass:"mb-2 text-lg text-blue-900"},[M._v("Review someone else's work")]),z("div",{staticClass:"text-sm text-[#161916]"},[M._v("Learning happens when you can evaluate someone's work! We will guide you on how to give feedback.")]),z("div",{staticClass:"text-sm text-blue-900"})]),z("img",{staticClass:"block px-4 pb-2 mx-auto mt-4",attrs:{src:b(1601)}})])},function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",{staticClass:"custom-shadow mt-8 border border-blue-900 lg:w-1/4 md:w-1/4 lg:mx-2 md:mx-2 lg:mt-5 rounded-lg"},[z("div",{staticClass:"-mt-6 text-center"},[z("span",{staticClass:"flex items-center justify-center w-12 h-12 mx-auto text-2xl text-white bg-blue-900 rounded-full"},[z("span",{staticClass:"-mt-1 text-white"},[M._v("4")])])]),z("div",{staticClass:"px-2 mt-3 text-center"},[z("div",{staticClass:"mb-2 text-lg text-blue-900"},[M._v("Celebrate!")]),z("div",{staticClass:"text-sm text-[#161916]"},[M._v("Once your task has been passed by a reviewer, and you have completed your peer reviews you will have finished Solidify!")]),z("div",{staticClass:"text-sm text-blue-900"})]),z("img",{staticClass:"block px-4 pb-2 mx-auto mt-4",attrs:{src:b(8133)}})])},function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",{staticClass:"mt-16 border border-blue-900 lg:w-1/3 md:w-1/3 lg:mx-3 md:mx-3 lg:mt-5"},[z("div",{staticClass:"-mt-6 text-center"},[z("span",{staticClass:"flex items-center justify-center w-12 h-12 mx-auto text-2xl text-white bg-blue-900 rounded-full"},[z("span",{staticClass:"-mt-1 text-white"},[M._v("1")])])]),z("div",{staticClass:"px-2 mt-3 text-center"},[z("div",{staticClass:"mb-2 text-lg text-blue-900"},[M._v("Do a task")]),z("div",{staticClass:"text-sm text-[#161916]"},[M._v("You will be assigned a task to complete. You must complete the task you are given.")]),z("div",{staticClass:"text-sm text-blue-900"})]),z("img",{staticClass:"block px-4 pb-2 mx-auto mt-4",attrs:{src:b(9583)}})])},function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",{staticClass:"mt-16 border border-blue-900 lg:w-1/3 md:w-1/3 lg:mx-3 md:mx-3 lg:mt-5"},[z("div",{staticClass:"-mt-6 text-center"},[z("span",{staticClass:"flex items-center justify-center w-12 h-12 mx-auto text-2xl text-white bg-blue-900 rounded-full"},[z("span",{staticClass:"-mt-1 text-white"},[M._v("2")])])]),z("div",{staticClass:"px-2 mt-3 text-center"},[z("div",{staticClass:"mb-2 text-lg text-blue-900"},[M._v("Submit the task")]),z("div",{staticClass:"text-sm text-[#161916]"},[M._v("Submit by either uploading the task from your desktop or typing it in on a mobile device (where available).")]),z("div",{staticClass:"text-sm text-blue-900"})]),z("img",{staticClass:"block px-4 pb-2 mx-auto mt-4",attrs:{src:b(4297)}})])},function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",{staticClass:"mt-16 border border-blue-900 lg:w-1/3 md:w-1/3 lg:mx-3 md:mx-3 lg:mt-5"},[z("div",{staticClass:"-mt-6 text-center"},[z("span",{staticClass:"flex items-center justify-center w-12 h-12 mx-auto text-2xl text-white bg-blue-900 rounded-full"},[z("span",{staticClass:"-mt-1 text-white"},[M._v("3")])])]),z("div",{staticClass:"px-2 mt-3 text-center"},[z("div",{staticClass:"mb-2 text-lg text-blue-900"},[M._v("Celebrate!")]),z("div",{staticClass:"text-sm text-[#161916]"},[M._v("Once your task has been passed by a reviewer you will have finished Solidify!")]),z("div",{staticClass:"text-sm text-blue-900"})]),z("img",{staticClass:"block px-4 pb-2 mx-auto mt-4",attrs:{src:b(3416)}})])},function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",{staticClass:"mt-16 border border-blue-900 lg:w-1/3 md:w-1/3 lg:mx-3 md:mx-3 lg:mt-5"},[z("div",{staticClass:"-mt-6 text-center"},[z("span",{staticClass:"flex items-center justify-center w-12 h-12 mx-auto text-2xl text-white bg-blue-900 rounded-full"},[z("span",{staticClass:"-mt-1 text-white"},[M._v("1")])])]),z("div",{staticClass:"px-2 mt-3 text-center"},[z("div",{staticClass:"mb-2 text-lg text-blue-900"},[M._v("Select a task")]),z("div",{staticClass:"text-sm text-[#161916]"},[M._v("You will be assigned a task to complete. You must complete the task you are given.")]),z("div",{staticClass:"text-sm text-blue-900"})]),z("img",{staticClass:"block px-4 pb-2 mx-auto mt-4",attrs:{src:b(8170)}})])},function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",{staticClass:"mt-16 border border-blue-900 lg:w-1/3 md:w-1/3 lg:mx-3 md:mx-3 lg:mt-5"},[z("div",{staticClass:"-mt-6 text-center"},[z("span",{staticClass:"flex items-center justify-center w-12 h-12 mx-auto text-2xl text-white bg-blue-900 rounded-full"},[z("span",{staticClass:"-mt-1 text-white"},[M._v("2")])])]),z("div",{staticClass:"px-2 mt-3 text-center"},[z("div",{staticClass:"mb-2 text-lg text-blue-900"},[M._v("Submit the task")]),z("div",{staticClass:"text-sm text-[#161916]"},[M._v("Submit by either uploading the task from your desktop or typing it in on a mobile device (where available).")]),z("div",{staticClass:"text-sm text-blue-900"})]),z("img",{staticClass:"block px-4 pb-2 mx-auto mt-4",attrs:{src:b(4297)}})])},function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",{staticClass:"mt-16 border border-blue-900 lg:w-1/3 md:w-1/3 lg:mx-3 md:mx-3 lg:mt-5"},[z("div",{staticClass:"-mt-6 text-center"},[z("span",{staticClass:"flex items-center justify-center w-12 h-12 mx-auto text-2xl text-white bg-blue-900 rounded-full"},[z("span",{staticClass:"-mt-1 text-white"},[M._v("3")])])]),z("div",{staticClass:"px-2 mt-3 text-center"},[z("div",{staticClass:"mb-2 text-lg text-blue-900"},[M._v("Celebrate!")]),z("div",{staticClass:"text-sm text-[#161916]"},[M._v("Once your task has been passed by a reviewer you will have finished Solidify!")]),z("div",{staticClass:"text-sm text-blue-900"})]),z("img",{staticClass:"block px-4 pb-2 mx-auto mt-4",attrs:{src:b(3416)}})])},function(){var M=this,z=M._self._c;M._self._setupProxy;return z("p",{staticClass:"pt-2"},[M._v("Click "),z("strong",{staticClass:"text-navy"},[M._v("Start!")]),M._v(" to start your Solidify journey!")])}],m=(0,A.defineComponent)({name:"CohortLanding",props:{data:{type:Object,default:null}},setup(M){const z=(0,A.ref)(),b=(0,A.ref)(),p=(0,A.ref)(!1),O=(0,A.ref)(!1),c=(0,A.ref)(!1),q=(0,A.ref)(!1);return(0,A.onBeforeMount)((async()=>{z.value=M.data,b.value=z.value.systemSetting.product_video_link})),{initialData:z,videoUrl:b,selectTaskwithPeerReview:p,systemAssignTaskwithPeerReview:O,systemAssignTaskwithSignleReview:c,selectTaskwithSignleReview:q}}}),T=m,g=(0,B.Z)(T,s,l,!1,null,"3f7a3f24",null),C=g.exports,v=b(1232),E=b(4642),S=(0,A.defineComponent)({name:"LearnerHome",components:{Generic:d.Z,ErrorMessage:L.Z,SolidifyLanding:X,CohortLanding:C,GenericV2:a.Z,Greetings:R.Z},props:{query:{type:Object,default:()=>({})}},setup(M){const z=(0,A.ref)(),b=(0,A.ref)(),p=(0,A.ref)(),O=(0,A.ref)(),c=(0,A.ref)(),o=(0,A.ref)(!1),d=(0,A.ref)(),a=(0,A.ref)(!1),R=(0,A.ref)(!1),n=(0,A.ref)(),L=(0,A.ref)(),f=(0,A.ref)(!1),t=(0,A.ref)(!1),r=(0,A.ref)(),u=(0,A.ref)('It looks like you have not tagged yourself correctly in <a target="_blank" href="http://genome.genpact.com/#Myprofile"><strong>My Profile</strong></a>. The learners in band 5 and 4A in operations need to start at Beginner proficiency level and subsequently move to higher levels of proficiency. You should be at a beginner for all skills unless you have already completed a Beginner Wave. Check on <a href="https://genome.genpact.com/" target="_blank"><strong>Genome</strong></a> now to see which skills you need to update. Once you fix your My Profile, you will get access to Solidify again within 48 hours.'),B=(0,A.ref)(),N=(0,A.ref)(),X=(0,A.ref)(),s=(0,A.ref)(),l=(0,A.ref)();(0,A.onBeforeMount)((async()=>{try{z.value=M.query.skill_id,b.value=M.query.proficiency_id,p.value=M.query.program_id,X.value=M.query.learning_path_id,s.value=M.query.learning_content_id,localStorage.removeItem("learning_path_id"),localStorage.removeItem("learning_content_id"),localStorage.removeItem("learning_content_display_name"),L.value=!1;const A=W().tz.guess(),i={learning_path_id:X.value,learning_content_id:s.value,timezone:A,skill:z.value,proficiency:b.value,program_id:p.value},m=await e("/learner/journey/stat",i);if(O.value=m.data,O.value){if(B.value=O.value.learning_content_object,N.value=O.value.learning_path_object,console.log("lp object",N),console.log("lc object",B),B.value&&!p.value&&(p.value=B.value.learning_content_configuration_id),B.value&&(l.value=B.value.learning_content_display_name,localStorage.setItem("learning_content_id",B.value.learning_content_id),localStorage.setItem("learning_path_id",N.value.learning_path_id),localStorage.setItem("learning_content_display_name",l.value)),O.value.userObj&&(O.value.userObj.last_accessed_on&&localStorage.setItem("lastAccess",q()(O.value.userObj.last_accessed_on).format("MMM Do YYYY, h:mm a")),O.value.userObj.user_fullName&&localStorage.setItem("userName",O.value.userObj.user_fullName),O.value.userObj.user_email&&localStorage.setItem("email",O.value.userObj.user_email),O.value.userObj.user_key&&localStorage.setItem("user_key",O.value.userObj.user_key)),O.value.system_under_maintainence)return localStorage.setItem("errorMsg",O.value.maintenance_message),void E.Z.push({path:"/solidify/systemUnderMaintenance"}).catch();if(O.value.is_learner_not_allowed)return console.log("inside learner not allowed"),a.value=!0,n.value="Please contact helpmate.",void(L.value=!0);if(O.value.isSkillSunet)return console.log("inside skill is sunset"),L.value=!0,c.value=O.value.message,void(o.value=!0);if(O.value.is_learner_not_in_program)return L.value=!0,c.value="You have not been assigned to this program",void(o.value=!0);if(O.value.is_cohort_not_started)return L.value=!0,c.value=`You may not start Solidify for this cohort until ${O.value.cohort_startDate}. Please log in again on that date.`,void(o.value=!0);if(!0===O.value.plagiarism_reEvalution_inProgress)return L.value=!0,c.value="You may not start Solidify until the plagiarism status is complete.",void(o.value=!0);if(O.value.cohortFailedData&&"Fail"===O.value.cohortFailedData.learner_status&&"infinity"!==O.value.cohortFailedData.linked_program_name&&E.Z.push({path:"/solidify/done",query:{learner_task_id:O.value.cohortFailedData.learner_task_id}}),!O.value.skill)return L.value=!0,c.value="Skill Not Found",void(o.value=!0);if(!O.value.proficiency)return L.value=!0,c.value="Proficiency Not Found",void(o.value=!0);if(!O.value.userObj)return L.value=!0,c.value="User Profile Not Found",void(o.value=!0);if("suspended"===O.value.userObj.diff_access_status)return L.value=!0,c.value=u.value,void(o.value=!0);if(O.value.userObj.diff_access_status||(O.value.userObj.diff_access_status="active"),O.value.learnerData&&O.value.learnerData.technical_hold)return a.value=!0,n.value=`Your submission for ${O.value.skill}-${O.value.proficiency} is under evaluation. This process may take up to 7 business days.`,void(L.value=!0);if(z.value=O.value.skill_id,b.value=O.value.proficiency_id,"infinity"===p.value&&O.value.reReviewStatus&&(!O.value.reReviewStatus.is_plagiarised||!O.value.reReviewStatus.plagiarism_reevaluation_requested||"complete"!==O.value.reReviewStatus.plagiarism_reevaluation_status)&&(O.value.reReviewStatus.request_for_re_review||(a.value=!0,n.value="<strong>Choose how you’d like to continue: </strong>",f.value=!0,t.value=!0,r.value=O.value.reReviewStatus.learner_task_id),"infinity"===p.value&&("Re-review Accepted Proxy Assigned"===O.value.reReviewStatus.re_review_status||"Re-review Accepted Proxy Unavailable"===O.value.reReviewStatus.re_review_status))){L.value=!0,c.value="Your re-review is underway — we’ll notify you once it’s complete. ",o.value=!0;const M=O.value.reReviewStatus.learner_task_id;return void(M&&(console.log("learner task id",M),E.Z.push({path:"/solidify/rereview",query:{learner_task_id:M}})))}}L.value=!0,d.value=O.value.systemSetting.helpmate_link,localStorage.setItem("skillId",z.value),localStorage.setItem("profId",b.value),localStorage.setItem("programId",p.value),localStorage.setItem("skillName",O.value.skill),localStorage.setItem("proficiency",O.value.proficiency),localStorage.setItem("helpmateLink",d.value),localStorage.setItem("programName",O.value.program_details.program_name),localStorage.setItem("reviewerAssignmentStrategy",O.value.program_details.reviewer_strategy),localStorage.setItem("taskAssignmentStrategy",O.value.program_details.task_strategy),O.value.learnerData&&("Registered"===O.value.learnerData.learner_status?X.value&&s.value?E.Z.push({path:"/solidify/submitTask",query:{learner_task_id:O.value.learnerData.learner_task_id,program_id:p.value,learning_path_id:X.value,learning_content_id:s.value}}):E.Z.push({path:"/solidify/submitTask",query:{learner_task_id:O.value.learnerData.learner_task_id,program_id:p.value}}):"Need Reviewer and Need Reviewee"===O.value.learnerData.learner_status||"Need Reviewee"===O.value.learnerData.learner_status?E.Z.push({path:"/solidify/peerReview",query:{learner_task_id:O.value.learnerData.learner_task_id}}):"Passed"!==O.value.learnerData.learner_status&&"Need Reviewer"!==O.value.learnerData.learner_status||E.Z.push({path:"/solidify/done",query:{learner_task_id:O.value.learnerData.learner_task_id}})),console.log(`initialData.value.existedLearnerDiffProf ${O.value.existedLearnerDiffProf}`),O.value.existedLearnerDiffProf&&(R.value=!0)}catch(A){if(console.log("inside catch error"),console.log(JSON.stringify(A)),L.value=!0,i.Z.isAxiosError(A)){const M=A;c.value=M.response?.data?.message}else c.value="Something went wrong, please contact helpmate.";o.value=!0}}));const m=()=>{a.value=!1},T=()=>{R.value=!1},g=async()=>{console.log("continue");O.value.existedLearnerDiffProf;X.value&&s.value?E.Z.replace({path:"/solidify",query:{learning_path_id:X.value,learning_content_id:s.value}}):E.Z.replace({path:"/solidify",query:{skill_id:z.value,proficiency_id:b.value,program_id:p.value}}),E.Z.go(0),T()},C=async()=>{try{L.value=!1;const M={learner_task_id:O.value.existedLearnerDiffProf.learner_task_id},z=await(0,v.F)("/learner/terminate",M);T(),L.value=!0,console.log(z)}catch(M){if(console.log("inside catch error"),console.log(JSON.stringify(M)),L.value=!0,i.Z.isAxiosError(M)){const z=M;console.log(z.response?.data),c.value=z.response?.data}else c.value="There is an issue in requesting for review, please contact helpmate."}};return{skillId:z,proficiencyId:b,programId:p,initialData:O,helpmateLink:d,modalVisible:a,modalV2Visible:R,modalMessage:n,renderReady:L,closeModal:m,closeModalV2:T,terminateExistingJourney:C,continueExistingJourney:g,modalCloseVisible:f,modalButtonVisible:t,modalButtonLink:r,showErrorMessage:o,errorResponse:c,learning_path_id:X,learning_content_id:s,learning_content_display_name:l}}}),x=S,h=(0,B.Z)(x,p,O,!1,null,"a440ef62",null),_=h.exports},7881:function(M,z,b){var p=M.exports=b(8158);p.tz.load(b(1128))},8158:function(M,z,b){var p,O,A;b(7658),
2
2
  //! moment-timezone.js
3
3
  //! version : 0.5.43
4
4
  //! Copyright (c) JS Foundation and other contributors
@@ -1,2 +1,2 @@
1
- "use strict";(("undefined"!==typeof self?self:this)["webpackChunksolidify"]=("undefined"!==typeof self?self:this)["webpackChunksolidify"]||[]).push([[781],{460:function(e,t,s){s.d(t,{Z:function(){return c}});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)}})])])])])])},r=[],i=s(7203),l=(0,i.defineComponent)({name:"ErrorMessage",props:{errorMessage:{type:String,default:""}},setup(e){const t=(0,i.ref)(""),s=(0,i.ref)(localStorage.getItem("helpmateLink"));return(0,i.onBeforeMount)((async()=>{t.value=e.errorMessage})),{errorMsg:t,helpmateLink:s}}}),n=l,o=s(1001),u=(0,o.Z)(n,a,r,!1,null,null,null),c=u.exports},8235:function(e,t,s){s.d(t,{Z:function(){return c}});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))])])])},r=[],i=s(7203),l=(0,i.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,i.ref)("");return(0,i.onBeforeMount)((async()=>{const t=localStorage.getItem("userName")||"Learner";e.value=t.split(",").reverse().join(" ")})),{username:e}}}),n=l,o=s(1001),u=(0,o.Z)(n,a,r,!1,null,null,null),c=u.exports},2128:function(e,t,s){s.r(t),s.d(t,{default:function(){return p}});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():[t("div",{staticClass:"flex"},[t("div",{staticClass:"w-full pt-12"},[t("Greetings",{attrs:{program:e.getLearner.statusRes.linked_program_name,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:"ul-nav w-full"},[e.pass||e.fail?t("ul",{staticClass:"done"},[t("li",{staticClass:"active"},[e._v("Home")]),t("li",{staticClass:"active"},[e._v("Task")]),t("li",{staticClass:"active"},[e._v("Submit")]),"Auto assign reviewer (reviewer task to be different)"===e.reviewerAssignmentStrategy||"Auto assign reviewer based on skill and proficiency"===e.reviewerAssignmentStrategy?t("li",{staticClass:"active"},[e._v("Peer Reviews")]):e._e(),t("li",{staticClass:"active"},[e._v("Under Review")]),t("li",{staticClass:"active"},[e._v("Done!")])]):e._e(),e.needReviewer?t("ul",{staticClass:"underReview"},[t("li",{staticClass:"active"},[e._v("Home")]),t("li",{staticClass:"active"},[e._v("Task")]),t("li",{staticClass:"active"},[e._v("Submit")]),"Auto assign reviewer (reviewer task to be different)"===e.reviewerAssignmentStrategy||"Auto assign reviewer based on skill and proficiency"===e.reviewerAssignmentStrategy?t("li",{staticClass:"active"},[e._v("Peer Reviews")]):e._e(),t("li",{staticClass:"active"},[e._v("Under Review")]),t("li",{},[e._v("Done!")])]):e._e()])]),t("div",{staticClass:"box-overflow1 mx-4 lg:mx-24 md:mx-24 mt-3 text-sm"},[t("div",{staticClass:"block mt-4"},[e.pass?t("div",{staticClass:"text-gray-600"},[t("p",[t("strong",{staticClass:"text-lg"},[e._v("Congratulations on completing your Solidify journey for "+e._s(e.proficiency)+" – "+e._s(e.skill)+" !")])]),t("div",{staticClass:"p-4 rounded-lg shadow border border-gray-200 mt-6"},[t("div",{staticClass:"mt-1"},[e._v("Here’s what your peers had to say:")]),t("div",{staticClass:"mt-3",domProps:{innerHTML:e._s(e.allReviewerComments)}})]),"infinity"===e.programName?t("div",{staticClass:"mt-6"},[e._m(0),t("div",{staticClass:"mt-2"},[t("p",[e._v(" Help us enhance the Solidify experience by sharing your thoughts "),t("strong",[t("a",{staticClass:"italic text-blue-900 underline",attrs:{href:e.vocUrl,target:"_blank"}},[e._v("here")]),e._v(".")])])])]):e._e()]):e._e(),e.fail?t("div",{staticClass:"text-gray-600"},[e._m(1),t("div",{staticClass:"p-4 rounded-lg shadow border border-gray-200 mt-2"},[t("div",{staticClass:"mt-1"},[e._v("Here’s what your peers had to say:")]),t("div",{staticClass:"mt-3",domProps:{innerHTML:e._s(e.allReviewerComments)}})]),t("div",{directives:[{name:"show",rawName:"v-show",value:e.isProgramRestartable,expression:"isProgramRestartable"}]},[e._m(2),e._m(3),t("div",{staticClass:"mt-6 mb-4 text-center"},[e.learning_path_id?t("router-link",{staticClass:"mt-2 inline-block py-2 px-6 border border-[#ffad28] bg-[#ffad28] text-[#161916] hover:bg-[#ffad28] rounded-full",attrs:{to:{name:"SolidifyLearner",query:{learning_path_id:e.learning_path_id,learning_content_id:e.learning_content_id}}}},[e._v(" Start Solidify ")]):t("router-link",{staticClass:"mt-2 inline-block py-2 px-6 border border-[#ffad28] bg-[#ffad28] text-[#161916] hover:bg-[#ffad28] rounded-full",attrs:{to:{name:"SolidifyLearner",query:{skill_id:e.skillId,proficiency_id:e.proficiencyId,program_id:e.programId}}}},[e._v(" Start Solidify ")])],1)]),e.learnerEligibleForRereview?[t("div",{staticClass:"p-4 rounded-lg shadow border border-gray-200 mt-2"},[t("p",{staticClass:"pt-2"},[e._v("If you believe the feedback doesn't accurately represent your work, you can request a re-evaluation of your submission.")]),e._m(4),t("div",{staticClass:"mt-6 text-center"},[t("button",{staticClass:"mt-2 inline-block py-2 px-6 shadow-md bg-background-secondary",on:{click:function(t){return e.applyReview()}}},[e._v("Re-review")])])])]:e._e()],2):e._e(),e.needReviewer?t("div",{staticClass:"text-gray-600"},[t("div",["Auto assign reviewer (reviewer task to be different)"===e.reviewerAssignmentStrategy||"Auto assign reviewer based on skill and proficiency"===e.reviewerAssignmentStrategy?t("div",{staticClass:"p-4 mb-3 rounded-lg shadow border border-gray-200"},[e._m(5),t("p",{staticClass:"pt-2"},[e._v('Your peers are reviewing your submission. Reviewer comments will appear on the "Done Page" once all reviews are completed.')]),e._m(6),t("p",{staticClass:"pt-2"},[e._v("Typical review time: 7–10 working days from submission.")])]):e._e(),t("div",{staticClass:"p-4 mb-3 rounded-lg shadow border border-gray-200"},["Auto assign reviewer (reviewer task to be different)"===e.reviewerAssignmentStrategy||"Auto assign reviewer based on skill and proficiency"===e.reviewerAssignmentStrategy?[e._m(7),e._l(e.peerReviewTimestamps,(function(s,a){return t("p",{key:a,staticClass:"pt-2"},[e._v("Peer Review "+e._s(a+1)+" : "+e._s(s)+".")])}))]:[e._m(8),t("p",{staticClass:"pt-2"},[e._v("Once your task has been reviewed by an SME, you will receive an email telling you if your submission passed or not.")])],t("p",{staticClass:"pt-4"},[t("strong",[e._v("Status as of: ")]),e._v(" "+e._s(e.lastModifiedDate))])],2),t("div",{staticClass:"mt-6 mb-4 text-center"},[t("button",{staticClass:"mt-2 inline-block py-2 px-6 bg-background-secondary",attrs:{to:{name:"SolidifyLearnerFail"}},on:{click:function(t){return e.getLearnerDetails()}}},[e._v("Refresh Status")])])])]):e._e()])])],1)])],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)},r=[function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"mt-2"},[t("strong",[e._v("We’d love your feedback!")])])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("p",[t("strong",{staticClass:"text-lg"},[e._v("Unfortunately, your submission didn’t meet the task requirements this time.")])])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("p",{staticClass:"pt-6"},[t("strong",[e._v("What's Next?")])])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("p",{staticClass:"pt-3"},[t("b",[e._v("You can restart your Solidify journey and attempt it as many times as necessary. ")])])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("p",{staticClass:"pt-2"},[e._v("Click the "),t("strong",[e._v("'Re-review'")]),e._v(" button below to submit your request")])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("p",{staticClass:"pt-2"},[t("strong",{staticClass:"text-lg"},[e._v("Thank you for completing your reviews!")])])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("p",{staticClass:"pt-2"},[e._v("You’ll also get an email with your result — "),t("strong",[e._v("Pass")]),e._v(" or "),t("strong",[e._v("Redo")]),e._v(" Solidify.")])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("p",{staticClass:"pt-2 pb-2"},[t("strong",{staticClass:"text-lg"},[e._v("Review Progress:")])])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("p",{staticClass:"pt-2"},[t("strong",[e._v("Thank you for submitting your task!")])])}],i=(s(7658),s(7203)),l=s(1602),n=s.n(l),o=s(1920),u=s(306),c=s(460),v=s(8235),d=s(9896),_=(0,i.defineComponent)({name:"LearnerSubmitTask",components:{ErrorMessage:c.Z,Greetings:v.Z},props:{query:{type:Object,default:()=>({})}},setup(e){const t=(0,i.ref)(!1),s=(0,i.ref)(!1),a=(0,i.ref)(!1),r=(0,i.ref)(),l=(0,i.ref)(),c=(0,i.ref)(""),v=(0,i.ref)(),_=(0,i.ref)(),f=(0,i.ref)(localStorage.getItem("skillName")),g=(0,i.ref)(localStorage.getItem("proficiency")),m=(0,i.ref)(localStorage.getItem("programId")),p=(0,i.ref)(localStorage.getItem("skillId")),y=(0,i.ref)(localStorage.getItem("profId")),w=(0,i.ref)(localStorage.getItem("learning_path_id")),b=(0,i.ref)(localStorage.getItem("learning_content_id")),C=(0,i.ref)(localStorage.getItem("learning_content_display_name")),h=(0,i.ref)(),x=(0,i.ref)(),k=(0,i.ref)(e.query.learner_task_id),R=(0,i.ref)(localStorage.getItem("helpmateLink")),S=(0,i.ref)(),M=(0,i.ref)(),P=(0,i.ref)(),I=(0,i.ref)(!1),L=(0,i.ref)(),A=(0,i.ref)(),T=(0,i.ref)(!0),Z=(0,i.ref)(),E=(0,i.ref)(!1),Y=(0,i.ref)(),q=(0,i.ref)(!1),D=(0,i.ref)(),N=(0,i.ref)(),H=async()=>{try{S.value=!1;const e=await(0,o.G)("learnerStatus",k.value);if(v.value=e.data,N.value=v.value.program_reviewer_strategy,console.log(`getLearner.value ${JSON.stringify(v.value)}`),S.value=!0,console.log("status",JSON.stringify(v.value)),"notpassed"===v.value.statusRes)S.value=!0,Y.value=v.value.statusMessage,q.value=!0,a.value=!1;else if("Passed"===v.value.statusRes.learner_status)c.value=v.value.vocUrl,t.value=!0,a.value=!1,_.value=v.value.statusRes.all_reviewer_comments;else if("Fail"===v.value.statusRes.learner_status)s.value=!0,a.value=!1,_.value=v.value.statusRes.all_reviewer_comments,console.log(`getLearner.value.statusRes.linked_program_name ${v.value.statusRes.linked_program_name}`),console.log(`getLearner.value.statusRes.linked_program_name !== 'infinity' ${"infinity"!==v.value.statusRes.linked_program_name}`),"infinity"!==v.value.statusRes.linked_program_name&&(T.value=!1),Z.value=v.value.program_is_restartable,v.value.learner_eligible_for_rereview&&(E.value=!0);else if("Need Reviewer"===v.value.statusRes.learner_status){v.value.is_learner_not_allowed&&(console.log("learner on hold submit task"),w.value&&b.value?d.Z.push({path:"/solidify",query:{learning_path_id:w.value,learning_content_id:b.value}}):d.Z.push({path:"/solidify",query:{skill_id:p.value,proficiency_id:y.value,program_id:m.value}})),a.value=!0,x.value=n()(v.value.statusRes.modified_date).format("dddd, MMMM Do YYYY, h:mm:ss a"),l.value=v.value.mandatoryReviewsCount||3;const e=[];for(let t=0;t<l.value;t++){let s="Waiting for Reviewer";v.value.reviewers_status&&v.value.reviewers_status[t]&&(s="Reviewed on "+n()(v.value.reviewers_status[t].review_end_date).format("dddd, MMMM Do YYYY")),e.push(s)}r.value=e,console.log(`lastModifiedDate.value ${x.value}`)}}catch(e){if(S.value=!0,console.log("error while fetching learner details",e),u.Z.isAxiosError(e)){const t=e;Y.value=t.response?.data?.message}else Y.value="There is an issue while fetching learner status, please contact helpmate.";q.value=!0}};(0,i.onBeforeMount)((async()=>{D.value=localStorage.getItem("programName"),H(),"Beginner"===g.value?h.value="Intermediate":"Intermediate"===g.value?h.value="Proficient":"Proficient"===g.value&&(h.value="Expert")}));const j=async()=>{d.Z.push({path:"/solidify/rereview",query:{learner_task_id:k.value}})};return{pass:t,fail:s,skill:f,proficiency:g,skillId:p,proficiencyId:y,programId:m,allReviewerComments:_,getLearner:v,needReviewer:a,peerReviewTimestamps:r,vocUrl:c,getLearnerDetails:H,lastModifiedDate:x,helpmateLink:R,renderReady:S,nextProficiency:h,comment:M,feedback:P,commentValidationMsg:A,ratingValidationMsg:L,validationShow:I,learnerEligibleForRereview:E,applyReview:j,isProgramInfinity:T,errorResponse:Y,showErrorMessage:q,programName:D,reviewerAssignmentStrategy:N,isProgramRestartable:Z,learning_path_id:w,learning_content_id:b,learning_content_display_name:C}}}),f=_,g=s(1001),m=(0,g.Z)(f,a,r,!1,null,"d665bff4",null),p=m.exports},1920:function(e,t,s){s.d(t,{G:function(){return r}});var a=s(7129);const r=async(e,t)=>{const s=await a.Z.get(`${e}/${t}`);return s}},3126:function(e,t,s){e.exports=s.p+"img/support.svg"}}]);
1
+ "use strict";(("undefined"!==typeof self?self:this)["webpackChunksolidify"]=("undefined"!==typeof self?self:this)["webpackChunksolidify"]||[]).push([[781],{460:function(e,t,s){s.d(t,{Z:function(){return c}});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)}})])])])])])},r=[],i=s(7203),l=(0,i.defineComponent)({name:"ErrorMessage",props:{errorMessage:{type:String,default:""}},setup(e){const t=(0,i.ref)(""),s=(0,i.ref)(localStorage.getItem("helpmateLink"));return(0,i.onBeforeMount)((async()=>{t.value=e.errorMessage})),{errorMsg:t,helpmateLink:s}}}),n=l,o=s(1001),u=(0,o.Z)(n,a,r,!1,null,null,null),c=u.exports},8235:function(e,t,s){s.d(t,{Z:function(){return c}});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))])])])},r=[],i=s(7203),l=(0,i.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,i.ref)("");return(0,i.onBeforeMount)((async()=>{const t=localStorage.getItem("userName")||"Learner";e.value=t.split(",").reverse().join(" ")})),{username:e}}}),n=l,o=s(1001),u=(0,o.Z)(n,a,r,!1,null,null,null),c=u.exports},4512:function(e,t,s){s.r(t),s.d(t,{default:function(){return p}});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():[t("div",{staticClass:"flex"},[t("div",{staticClass:"w-full pt-12"},[t("Greetings",{attrs:{program:e.getLearner.statusRes.linked_program_name,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:"ul-nav w-full"},[e.pass||e.fail?t("ul",{staticClass:"done"},[t("li",{staticClass:"active"},[e._v("Home")]),t("li",{staticClass:"active"},[e._v("Task")]),t("li",{staticClass:"active"},[e._v("Submit")]),"Auto assign reviewer (reviewer task to be different)"===e.reviewerAssignmentStrategy||"Auto assign reviewer based on skill and proficiency"===e.reviewerAssignmentStrategy?t("li",{staticClass:"active"},[e._v("Peer Reviews")]):e._e(),t("li",{staticClass:"active"},[e._v("Under Review")]),t("li",{staticClass:"active"},[e._v("Done!")])]):e._e(),e.needReviewer?t("ul",{staticClass:"underReview"},[t("li",{staticClass:"active"},[e._v("Home")]),t("li",{staticClass:"active"},[e._v("Task")]),t("li",{staticClass:"active"},[e._v("Submit")]),"Auto assign reviewer (reviewer task to be different)"===e.reviewerAssignmentStrategy||"Auto assign reviewer based on skill and proficiency"===e.reviewerAssignmentStrategy?t("li",{staticClass:"active"},[e._v("Peer Reviews")]):e._e(),t("li",{staticClass:"active"},[e._v("Under Review")]),t("li",{},[e._v("Done!")])]):e._e()])]),t("div",{staticClass:"box-overflow1 mx-4 lg:mx-24 md:mx-24 mt-3 text-sm"},[t("div",{staticClass:"block mt-4"},[e.pass?t("div",{staticClass:"text-gray-600"},[t("p",[t("strong",{staticClass:"text-lg"},[e._v("Congratulations on completing your Solidify journey for "+e._s(e.proficiency)+" – "+e._s(e.skill)+" !")])]),t("div",{staticClass:"p-4 rounded-lg shadow border border-gray-200 mt-6"},[t("div",{staticClass:"mt-1"},[e._v("Here’s what your peers had to say:")]),t("div",{staticClass:"mt-3",domProps:{innerHTML:e._s(e.allReviewerComments)}})]),"infinity"===e.programName?t("div",{staticClass:"mt-6"},[e._m(0),t("div",{staticClass:"mt-2"},[t("p",[e._v(" Help us enhance the Solidify experience by sharing your thoughts "),t("strong",[t("a",{staticClass:"italic text-blue-900 underline",attrs:{href:e.vocUrl,target:"_blank"}},[e._v("here")]),e._v(".")])])])]):e._e()]):e._e(),e.fail?t("div",{staticClass:"text-gray-600"},[e._m(1),t("div",{staticClass:"p-4 rounded-lg shadow border border-gray-200 mt-2"},[t("div",{staticClass:"mt-1"},[e._v("Here’s what your peers had to say:")]),t("div",{staticClass:"mt-3",domProps:{innerHTML:e._s(e.allReviewerComments)}})]),t("div",{directives:[{name:"show",rawName:"v-show",value:e.isProgramRestartable,expression:"isProgramRestartable"}]},[e._m(2),e._m(3),t("div",{staticClass:"mt-6 mb-4 text-center"},[e.learning_path_id?t("router-link",{staticClass:"mt-2 inline-block py-2 px-6 border border-[#ffad28] bg-[#ffad28] text-[#161916] hover:bg-[#ffad28] rounded-full",attrs:{to:{name:"SolidifyLearner",query:{learning_path_id:e.learning_path_id,learning_content_id:e.learning_content_id}}}},[e._v(" Start Solidify ")]):t("router-link",{staticClass:"mt-2 inline-block py-2 px-6 border border-[#ffad28] bg-[#ffad28] text-[#161916] hover:bg-[#ffad28] rounded-full",attrs:{to:{name:"SolidifyLearner",query:{skill_id:e.skillId,proficiency_id:e.proficiencyId,program_id:e.programId}}}},[e._v(" Start Solidify ")])],1)]),e.learnerEligibleForRereview?[t("div",{staticClass:"p-4 rounded-lg shadow border border-gray-200 mt-2"},[t("p",{staticClass:"pt-2"},[e._v("If you believe the feedback doesn't accurately represent your work, you can request a re-evaluation of your submission.")]),e._m(4),t("div",{staticClass:"mt-6 text-center"},[t("button",{staticClass:"mt-2 inline-block py-2 px-6 shadow-md bg-background-secondary",on:{click:function(t){return e.applyReview()}}},[e._v("Re-review")])])])]:e._e()],2):e._e(),e.needReviewer?t("div",{staticClass:"text-gray-600"},[t("div",["Auto assign reviewer (reviewer task to be different)"===e.reviewerAssignmentStrategy||"Auto assign reviewer based on skill and proficiency"===e.reviewerAssignmentStrategy?t("div",{staticClass:"p-4 mb-3 rounded-lg shadow border border-gray-200"},[e._m(5),t("p",{staticClass:"pt-2"},[e._v('Your peers are reviewing your submission. Reviewer comments will appear on the "Done Page" once all reviews are completed.')]),e._m(6),t("p",{staticClass:"pt-2"},[e._v("Typical review time: 7–10 working days from submission.")])]):e._e(),t("div",{staticClass:"p-4 mb-3 rounded-lg shadow border border-gray-200"},["Auto assign reviewer (reviewer task to be different)"===e.reviewerAssignmentStrategy||"Auto assign reviewer based on skill and proficiency"===e.reviewerAssignmentStrategy?[e._m(7),e._l(e.peerReviewTimestamps,(function(s,a){return t("p",{key:a,staticClass:"pt-2"},[e._v("Peer Review "+e._s(a+1)+" : "+e._s(s)+".")])}))]:[e._m(8),t("p",{staticClass:"pt-2"},[e._v("Once your task has been reviewed by an SME, you will receive an email telling you if your submission passed or not.")])],t("p",{staticClass:"pt-4"},[t("strong",[e._v("Status as of: ")]),e._v(" "+e._s(e.lastModifiedDate))])],2),t("div",{staticClass:"mt-6 mb-4 text-center"},[t("button",{staticClass:"mt-2 inline-block py-2 px-6 bg-background-secondary",attrs:{to:{name:"SolidifyLearnerFail"}},on:{click:function(t){return e.getLearnerDetails()}}},[e._v("Refresh Status")])])])]):e._e()])])],1)])],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)},r=[function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"mt-2"},[t("strong",[e._v("We’d love your feedback!")])])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("p",[t("strong",{staticClass:"text-lg"},[e._v("Unfortunately, your submission didn’t meet the task requirements this time.")])])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("p",{staticClass:"pt-6"},[t("strong",[e._v("What's Next?")])])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("p",{staticClass:"pt-3"},[t("b",[e._v("You can restart your Solidify journey and attempt it as many times as necessary. ")])])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("p",{staticClass:"pt-2"},[e._v("Click the "),t("strong",[e._v("'Re-review'")]),e._v(" button below to submit your request")])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("p",{staticClass:"pt-2"},[t("strong",{staticClass:"text-lg"},[e._v("Thank you for completing your reviews!")])])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("p",{staticClass:"pt-2"},[e._v("You’ll also get an email with your result — "),t("strong",[e._v("Pass")]),e._v(" or "),t("strong",[e._v("Redo")]),e._v(" Solidify.")])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("p",{staticClass:"pt-2 pb-2"},[t("strong",{staticClass:"text-lg"},[e._v("Review Progress:")])])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("p",{staticClass:"pt-2"},[t("strong",[e._v("Thank you for submitting your task!")])])}],i=(s(7658),s(7203)),l=s(1602),n=s.n(l),o=s(1920),u=s(306),c=s(460),v=s(8235),d=s(4642),_=(0,i.defineComponent)({name:"LearnerSubmitTask",components:{ErrorMessage:c.Z,Greetings:v.Z},props:{query:{type:Object,default:()=>({})}},setup(e){const t=(0,i.ref)(!1),s=(0,i.ref)(!1),a=(0,i.ref)(!1),r=(0,i.ref)(),l=(0,i.ref)(),c=(0,i.ref)(""),v=(0,i.ref)(),_=(0,i.ref)(),f=(0,i.ref)(localStorage.getItem("skillName")),g=(0,i.ref)(localStorage.getItem("proficiency")),m=(0,i.ref)(localStorage.getItem("programId")),p=(0,i.ref)(localStorage.getItem("skillId")),y=(0,i.ref)(localStorage.getItem("profId")),w=(0,i.ref)(localStorage.getItem("learning_path_id")),b=(0,i.ref)(localStorage.getItem("learning_content_id")),C=(0,i.ref)(localStorage.getItem("learning_content_display_name")),h=(0,i.ref)(),x=(0,i.ref)(),k=(0,i.ref)(e.query.learner_task_id),R=(0,i.ref)(localStorage.getItem("helpmateLink")),S=(0,i.ref)(),M=(0,i.ref)(),P=(0,i.ref)(),I=(0,i.ref)(!1),L=(0,i.ref)(),A=(0,i.ref)(),T=(0,i.ref)(!0),Z=(0,i.ref)(),E=(0,i.ref)(!1),Y=(0,i.ref)(),q=(0,i.ref)(!1),D=(0,i.ref)(),N=(0,i.ref)(),H=async()=>{try{S.value=!1;const e=await(0,o.G)("learnerStatus",k.value);if(v.value=e.data,N.value=v.value.program_reviewer_strategy,console.log(`getLearner.value ${JSON.stringify(v.value)}`),S.value=!0,console.log("status",JSON.stringify(v.value)),"notpassed"===v.value.statusRes)S.value=!0,Y.value=v.value.statusMessage,q.value=!0,a.value=!1;else if("Passed"===v.value.statusRes.learner_status)c.value=v.value.vocUrl,t.value=!0,a.value=!1,_.value=v.value.statusRes.all_reviewer_comments;else if("Fail"===v.value.statusRes.learner_status)s.value=!0,a.value=!1,_.value=v.value.statusRes.all_reviewer_comments,console.log(`getLearner.value.statusRes.linked_program_name ${v.value.statusRes.linked_program_name}`),console.log(`getLearner.value.statusRes.linked_program_name !== 'infinity' ${"infinity"!==v.value.statusRes.linked_program_name}`),"infinity"!==v.value.statusRes.linked_program_name&&(T.value=!1),Z.value=v.value.program_is_restartable,v.value.learner_eligible_for_rereview&&(E.value=!0);else if("Need Reviewer"===v.value.statusRes.learner_status){v.value.is_learner_not_allowed&&(console.log("learner on hold submit task"),w.value&&b.value?d.Z.push({path:"/solidify",query:{learning_path_id:w.value,learning_content_id:b.value}}):d.Z.push({path:"/solidify",query:{skill_id:p.value,proficiency_id:y.value,program_id:m.value}})),a.value=!0,x.value=n()(v.value.statusRes.modified_date).format("dddd, MMMM Do YYYY, h:mm:ss a"),l.value=v.value.mandatoryReviewsCount||3;const e=[];for(let t=0;t<l.value;t++){let s="Waiting for Reviewer";v.value.reviewers_status&&v.value.reviewers_status[t]&&(s="Reviewed on "+n()(v.value.reviewers_status[t].review_end_date).format("dddd, MMMM Do YYYY")),e.push(s)}r.value=e,console.log(`lastModifiedDate.value ${x.value}`)}}catch(e){if(S.value=!0,console.log("error while fetching learner details",e),u.Z.isAxiosError(e)){const t=e;Y.value=t.response?.data?.message}else Y.value="There is an issue while fetching learner status, please contact helpmate.";q.value=!0}};(0,i.onBeforeMount)((async()=>{D.value=localStorage.getItem("programName"),H(),"Beginner"===g.value?h.value="Intermediate":"Intermediate"===g.value?h.value="Proficient":"Proficient"===g.value&&(h.value="Expert")}));const j=async()=>{d.Z.push({path:"/solidify/rereview",query:{learner_task_id:k.value}})};return{pass:t,fail:s,skill:f,proficiency:g,skillId:p,proficiencyId:y,programId:m,allReviewerComments:_,getLearner:v,needReviewer:a,peerReviewTimestamps:r,vocUrl:c,getLearnerDetails:H,lastModifiedDate:x,helpmateLink:R,renderReady:S,nextProficiency:h,comment:M,feedback:P,commentValidationMsg:A,ratingValidationMsg:L,validationShow:I,learnerEligibleForRereview:E,applyReview:j,isProgramInfinity:T,errorResponse:Y,showErrorMessage:q,programName:D,reviewerAssignmentStrategy:N,isProgramRestartable:Z,learning_path_id:w,learning_content_id:b,learning_content_display_name:C}}}),f=_,g=s(1001),m=(0,g.Z)(f,a,r,!1,null,"9351e314",null),p=m.exports},1920:function(e,t,s){s.d(t,{G:function(){return r}});var a=s(7129);const r=async(e,t)=>{const s=await a.Z.get(`${e}/${t}`);return s}},3126:function(e,t,s){e.exports=s.p+"img/support.svg"}}]);
2
2
  //# sourceMappingURL=solidify.umd.min.SolidifyLearnerDone.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"solidify.umd.min.SolidifyLearnerDone.js","mappings":"gNAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAUF,EAAIG,MAAMC,YAAY,OAAOF,EAAG,MAAM,CAACG,YAAY,QAAQ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0B,O,MAGnE3C,EAAclD,MAAQ,4EAExBc,EAAiBd,OAAQ,C,IAuD7BF,EAAAA,EAAAA,gBAAcC,UAEZwB,EAAYvB,MAAQJ,aAAaC,QAAQ,eACzCoD,IAC0B,aAAtB5C,EAAYL,MACdwD,EAAgBxD,MAAQ,eACO,iBAAtBK,EAAYL,MACrBwD,EAAgBxD,MAAQ,aACO,eAAtBK,EAAYL,QACrBwD,EAAgBxD,MAAQ,S,IAI5B,MAAM0C,EAAc3C,UAClBgF,EAAAA,EAAAA,KAAY,CAAEC,KAAM,qBAAsBjD,MAAO,CAAE2B,gBAAiBD,EAAczD,QAAU,EAG9F,MAAO,CACLkB,OACAC,OACAZ,QACAF,cACA6B,UACAE,gBACAE,YACAhB,sBACAP,aACAM,eACAuB,uBACAnB,SACAwB,oBACAD,mBACAhE,eACA6B,cACA2C,kBAEAG,UACAC,WACAG,uBACAD,sBACAD,iBAEAtB,6BACAG,cACAsB,oBACAd,gBACApC,mBACAS,cACAH,6BACAQ,uBACAE,mBACAE,sBACA9B,gCAEJ,IC7OgS,I,UCQ9RD,GAAY,OACd,EACA5B,EACAa,GACA,EACA,KACA,WACA,MAIF,EAAee,EAAiB,O,qECXhC,MAAMiE,EAAmBnE,MAAO+F,EAAaC,KAS3C,MAAM9B,QAAY+B,EAAAA,EAAAA,IAAU,GAAGF,KAAOC,KACtC,OAAO9B,CAAG,C","sources":["webpack://solidify/./src/components/global/ErrorMessage.vue","webpack://solidify/./src/components/global/ErrorMessage.vue?930e","webpack://solidify/./src/components/global/ErrorMessage.vue?65e2","webpack://solidify/./src/components/global/ErrorMessage.vue?8776","webpack://solidify/./src/components/global/Greetings.vue","webpack://solidify/./src/components/global/Greetings.vue?c163","webpack://solidify/./src/components/global/Greetings.vue?def6","webpack://solidify/./src/components/global/Greetings.vue?819d","webpack://solidify/./src/views/Learner_Done.vue","webpack://solidify/./src/views/Learner_Done.vue?e918","webpack://solidify/./src/views/Learner_Done.vue?3570","webpack://solidify/./src/views/Learner_Done.vue?1a28","webpack://solidify/./src/utils/done_service.ts"],"sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"flex\"},[_c('div',{staticClass:\"w-full pt-16 px-32\"},[_c('div',{staticClass:\"md:px-0 lg:px-0 text-center\"},[_c('div',{staticClass:\"text-gray-500\"},[_c('div',{staticClass:\"pt-2\",domProps:{\"innerHTML\":_vm._s(_vm.errorMsg)}})]),_c('div',{staticClass:\"pt-8\"},[_c('a',{attrs:{\"href\":_vm.helpmateLink,\"target\":\"_blank\"}},[_c('img',{staticClass:\"mx-auto\",attrs:{\"src\":require(\"@/assets/images/support.svg\")}})])])])])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { defineComponent, onBeforeMount, ref } from 'vue';\n\nexport default defineComponent({\n name: 'ErrorMessage',\n props: {\n errorMessage: {\n type: String,\n default: '',\n },\n },\n setup(props) {\n const errorMsg = ref('');\n const helpmateLink = ref(localStorage.getItem('helpmateLink'));\n onBeforeMount(async () => {\n errorMsg.value = props.errorMessage;\n });\n return { errorMsg, helpmateLink };\n },\n});\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-41.use[2]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ErrorMessage.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-41.use[2]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ErrorMessage.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./ErrorMessage.vue?vue&type=template&id=3c863459&\"\nimport script from \"./ErrorMessage.vue?vue&type=script&lang=ts&\"\nexport * from \"./ErrorMessage.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"mt-4 lg:px-24 md:px-24 px-4 flex justify-between items-center w-full\"},[_c('div',{staticClass:\"text-blue-900 lg:text-3xl md:text-3xl text-xl my-2\"},[(_vm.learning_content_display_name)?_c('span',[_vm._v(\" \"+_vm._s(_vm.learning_content_display_name)+\" \")]):_c('span',[(_vm.program === 'infinity')?_c('span',[_vm._v(_vm._s(_vm.proficiency)+\" - \")]):_vm._e(),_vm._v(_vm._s(_vm.skill))])]),_c('div',{staticClass:\"my-2\"},[_c('div',{staticClass:\"text-blue-900 md:text-lg text-sm text-right\"},[_vm._v(\"Hi, \"+_vm._s(_vm.username))])])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { defineComponent, onBeforeMount, ref } from 'vue';\n\nexport default defineComponent({\n name: 'Greetings',\n props: {\n proficiency: {\n type: String,\n default: '',\n },\n skill: {\n type: String,\n default: '',\n },\n program: {\n type: String,\n default: '',\n },\n learning_content_display_name: {\n type: String,\n default: '',\n },\n },\n setup() {\n const username = ref('');\n onBeforeMount(async () => {\n const item = localStorage.getItem('userName') || 'Learner';\n username.value = item.split(',').reverse().join(' ');\n });\n return { username };\n },\n});\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-41.use[2]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Greetings.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-41.use[2]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Greetings.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Greetings.vue?vue&type=template&id=1cbddefa&\"\nimport script from \"./Greetings.vue?vue&type=script&lang=ts&\"\nexport * from \"./Greetings.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"containers mx-auto allBoxImg mt-10\"},[(_vm.renderReady)?[(!_vm.showErrorMessage)?[_c('div',{staticClass:\"flex\"},[_c('div',{staticClass:\"w-full pt-12\"},[_c('Greetings',{attrs:{\"program\":_vm.getLearner.statusRes.linked_program_name,\"proficiency\":_vm.proficiency,\"skill\":_vm.skill,\"learning_content_display_name\":_vm.learning_content_display_name}}),_c('div',{staticClass:\"flex md:flex mt-3 mx-6 lg:pl-16 md:pl-16 lg:pr-24 md:pr-24 px-0 block\"},[_c('div',{staticClass:\"ul-nav w-full\"},[(_vm.pass || _vm.fail)?_c('ul',{staticClass:\"done\"},[_c('li',{staticClass:\"active\"},[_vm._v(\"Home\")]),_c('li',{staticClass:\"active\"},[_vm._v(\"Task\")]),_c('li',{staticClass:\"active\"},[_vm._v(\"Submit\")]),(_vm.reviewerAssignmentStrategy === 'Auto assign reviewer (reviewer task to be different)' || _vm.reviewerAssignmentStrategy === 'Auto assign reviewer based on skill and proficiency')?_c('li',{staticClass:\"active\"},[_vm._v(\"Peer Reviews\")]):_vm._e(),_c('li',{staticClass:\"active\"},[_vm._v(\"Under Review\")]),_c('li',{staticClass:\"active\"},[_vm._v(\"Done!\")])]):_vm._e(),(_vm.needReviewer)?_c('ul',{staticClass:\"underReview\"},[_c('li',{staticClass:\"active\"},[_vm._v(\"Home\")]),_c('li',{staticClass:\"active\"},[_vm._v(\"Task\")]),_c('li',{staticClass:\"active\"},[_vm._v(\"Submit\")]),(_vm.reviewerAssignmentStrategy === 'Auto assign reviewer (reviewer task to be different)' || _vm.reviewerAssignmentStrategy === 'Auto assign reviewer based on skill and proficiency')?_c('li',{staticClass:\"active\"},[_vm._v(\"Peer Reviews\")]):_vm._e(),_c('li',{staticClass:\"active\"},[_vm._v(\"Under Review\")]),_c('li',{},[_vm._v(\"Done!\")])]):_vm._e()])]),_c('div',{staticClass:\"box-overflow1 mx-4 lg:mx-24 md:mx-24 mt-3 text-sm\"},[_c('div',{staticClass:\"block mt-4\"},[(_vm.pass)?_c('div',{staticClass:\"text-gray-600\"},[_c('p',[_c('strong',{staticClass:\"text-lg\"},[_vm._v(\"Congratulations on completing your Solidify journey for \"+_vm._s(_vm.proficiency)+\" – \"+_vm._s(_vm.skill)+\" !\")])]),_c('div',{staticClass:\"p-4 rounded-lg shadow border border-gray-200 mt-6\"},[_c('div',{staticClass:\"mt-1\"},[_vm._v(\"Here’s what your peers had to say:\")]),_c('div',{staticClass:\"mt-3\",domProps:{\"innerHTML\":_vm._s(_vm.allReviewerComments)}})]),(_vm.programName === 'infinity')?_c('div',{staticClass:\"mt-6\"},[_vm._m(0),_c('div',{staticClass:\"mt-2\"},[_c('p',[_vm._v(\" Help us enhance the Solidify experience by sharing your thoughts \"),_c('strong',[_c('a',{staticClass:\"italic text-blue-900 underline\",attrs:{\"href\":_vm.vocUrl,\"target\":\"_blank\"}},[_vm._v(\"here\")]),_vm._v(\".\")])])])]):_vm._e()]):_vm._e(),(_vm.fail)?_c('div',{staticClass:\"text-gray-600\"},[_vm._m(1),_c('div',{staticClass:\"p-4 rounded-lg shadow border border-gray-200 mt-2\"},[_c('div',{staticClass:\"mt-1\"},[_vm._v(\"Here’s what your peers had to say:\")]),_c('div',{staticClass:\"mt-3\",domProps:{\"innerHTML\":_vm._s(_vm.allReviewerComments)}})]),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.isProgramRestartable),expression:\"isProgramRestartable\"}]},[_vm._m(2),_vm._m(3),_c('div',{staticClass:\"mt-6 mb-4 text-center\"},[(_vm.learning_path_id)?_c('router-link',{staticClass:\"mt-2 inline-block py-2 px-6 border border-[#ffad28] bg-[#ffad28] text-[#161916] hover:bg-[#ffad28] rounded-full\",attrs:{\"to\":{ name: 'SolidifyLearner', query: { learning_path_id: _vm.learning_path_id, learning_content_id: _vm.learning_content_id } }}},[_vm._v(\" Start Solidify \")]):_c('router-link',{staticClass:\"mt-2 inline-block py-2 px-6 border border-[#ffad28] bg-[#ffad28] text-[#161916] hover:bg-[#ffad28] rounded-full\",attrs:{\"to\":{ name: 'SolidifyLearner', query: { skill_id: _vm.skillId, proficiency_id: _vm.proficiencyId, program_id: _vm.programId } }}},[_vm._v(\" Start Solidify \")])],1)]),(_vm.learnerEligibleForRereview)?[_c('div',{staticClass:\"p-4 rounded-lg shadow border border-gray-200 mt-2\"},[_c('p',{staticClass:\"pt-2\"},[_vm._v(\"If you believe the feedback doesn't accurately represent your work, you can request a re-evaluation of your submission.\")]),_vm._m(4),_c('div',{staticClass:\"mt-6 text-center\"},[_c('button',{staticClass:\"mt-2 inline-block py-2 px-6 shadow-md bg-background-secondary\",on:{\"click\":function($event){return _vm.applyReview()}}},[_vm._v(\"Re-review\")])])])]:_vm._e()],2):_vm._e(),(_vm.needReviewer)?_c('div',{staticClass:\"text-gray-600\"},[_c('div',[(_vm.reviewerAssignmentStrategy === 'Auto assign reviewer (reviewer task to be different)' || _vm.reviewerAssignmentStrategy === 'Auto assign reviewer based on skill and proficiency')?_c('div',{staticClass:\"p-4 mb-3 rounded-lg shadow border border-gray-200\"},[_vm._m(5),_c('p',{staticClass:\"pt-2\"},[_vm._v(\"Your peers are reviewing your submission. Reviewer comments will appear on the \\\"Done Page\\\" once all reviews are completed.\")]),_vm._m(6),_c('p',{staticClass:\"pt-2\"},[_vm._v(\"Typical review time: 7–10 working days from submission.\")])]):_vm._e(),_c('div',{staticClass:\"p-4 mb-3 rounded-lg shadow border border-gray-200\"},[(_vm.reviewerAssignmentStrategy === 'Auto assign reviewer (reviewer task to be different)' || _vm.reviewerAssignmentStrategy === 'Auto assign reviewer based on skill and proficiency')?[_vm._m(7),_vm._l((_vm.peerReviewTimestamps),function(reviewerTimestamp,index){return _c('p',{key:index,staticClass:\"pt-2\"},[_vm._v(\"Peer Review \"+_vm._s(index + 1)+\" : \"+_vm._s(reviewerTimestamp)+\".\")])})]:[_vm._m(8),_c('p',{staticClass:\"pt-2\"},[_vm._v(\"Once your task has been reviewed by an SME, you will receive an email telling you if your submission passed or not.\")])],_c('p',{staticClass:\"pt-4\"},[_c('strong',[_vm._v(\"Status as of: \")]),_vm._v(\" \"+_vm._s(_vm.lastModifiedDate))])],2),_c('div',{staticClass:\"mt-6 mb-4 text-center\"},[_c('button',{staticClass:\"mt-2 inline-block py-2 px-6 bg-background-secondary\",attrs:{\"to\":{ name: 'SolidifyLearnerFail' }},on:{\"click\":function($event){return _vm.getLearnerDetails()}}},[_vm._v(\"Refresh Status\")])])])]):_vm._e()])])],1)])]:_vm._e(),(_vm.showErrorMessage)?_c('ErrorMessage',{attrs:{\"error-message\":_vm.errorResponse}}):_vm._e()]:_vm._e(),(!_vm.renderReady)?_c('div',{staticClass:\"flex flex-col h-min-screen justify-center text-center\"},[_c('img',{staticClass:\"mb-8 block mx-auto loadercss mt-3%\",attrs:{\"src\":require(\"@/assets/images/loadernew.gif\"),\"alt\":\"Loader Gif\"}}),_c('p',{staticClass:\"mx-auto mb-10 leading-normal px-4 loadertextcss ext-genpact-darkest-blue\"},[_vm._v(\"Loading...\")])]):_vm._e()],2)\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"mt-2\"},[_c('strong',[_vm._v(\"We’d love your feedback!\")])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('p',[_c('strong',{staticClass:\"text-lg\"},[_vm._v(\"Unfortunately, your submission didn’t meet the task requirements this time.\")])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('p',{staticClass:\"pt-6\"},[_c('strong',[_vm._v(\"What's Next?\")])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('p',{staticClass:\"pt-3\"},[_c('b',[_vm._v(\"You can restart your Solidify journey and attempt it as many times as necessary. \")])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('p',{staticClass:\"pt-2\"},[_vm._v(\"Click the \"),_c('strong',[_vm._v(\"'Re-review'\")]),_vm._v(\" button below to submit your request\")])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('p',{staticClass:\"pt-2\"},[_c('strong',{staticClass:\"text-lg\"},[_vm._v(\"Thank you for completing your reviews!\")])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('p',{staticClass:\"pt-2\"},[_vm._v(\"You’ll also get an email with your result — \"),_c('strong',[_vm._v(\"Pass\")]),_vm._v(\" or \"),_c('strong',[_vm._v(\"Redo\")]),_vm._v(\" Solidify.\")])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('p',{staticClass:\"pt-2 pb-2\"},[_c('strong',{staticClass:\"text-lg\"},[_vm._v(\"Review Progress:\")])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('p',{staticClass:\"pt-2\"},[_c('strong',[_vm._v(\"Thank you for submitting your task!\")])])\n}]\n\nexport { render, staticRenderFns }","\nimport { defineComponent, onBeforeMount, ref } from 'vue';\nimport Moment from 'moment';\nimport { getLearnerStatus } from '@/utils/done_service';\n//import { saveFeedback } from '@/utils/done_service';\nimport axios, { AxiosError } from 'axios';\nimport ErrorMessage from '@/components/global/ErrorMessage.vue';\nimport Greetings from '@/components/global/Greetings.vue';\n// eslint-disable-next-line\nimport router from '../router';\n// import moment from 'moment';\n\n// import store from '@/store';\n\nexport default defineComponent({\n name: 'LearnerSubmitTask',\n components: { ErrorMessage, Greetings },\n // props: ['query'],\n props: {\n query: {\n type: Object,\n default: () => ({}),\n },\n },\n setup(props) {\n const pass = ref(false);\n const fail = ref(false);\n const needReviewer = ref(false);\n const peerReviewTimestamps = ref();\n const mandatoryReviewsCount = ref();\n const vocUrl = ref('');\n const getLearner = ref();\n const allReviewerComments = ref();\n const skill = ref(localStorage.getItem('skillName'));\n const proficiency = ref(localStorage.getItem('proficiency'));\n const programId = ref(localStorage.getItem('programId'));\n const skillId = ref(localStorage.getItem('skillId'));\n const proficiencyId = ref(localStorage.getItem('profId'));\n const learning_path_id = ref(localStorage.getItem('learning_path_id'));\n const learning_content_id = ref(localStorage.getItem('learning_content_id'));\n const learning_content_display_name = ref(localStorage.getItem('learning_content_display_name'));\n\n const nextProficiency = ref();\n const lastModifiedDate = ref();\n const learnerTaskId = ref(props.query.learner_task_id);\n const helpmateLink = ref(localStorage.getItem('helpmateLink'));\n const renderReady = ref();\n const comment = ref();\n const feedback = ref();\n const validationShow = ref(false);\n const ratingValidationMsg = ref();\n const commentValidationMsg = ref();\n // const feedbackshow = ref(true);\n const isProgramInfinity = ref(true);\n const isProgramRestartable = ref();\n const learnerEligibleForRereview = ref(false);\n const errorResponse = ref();\n const showErrorMessage = ref(false);\n const programName = ref();\n const reviewerAssignmentStrategy = ref();\n const getLearnerDetails = async () => {\n try {\n renderReady.value = false;\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const res: any = await getLearnerStatus('learnerStatus', learnerTaskId.value);\n getLearner.value = res.data;\n reviewerAssignmentStrategy.value = getLearner.value.program_reviewer_strategy;\n console.log(`getLearner.value ${JSON.stringify(getLearner.value)}`);\n renderReady.value = true;\n console.log('status', JSON.stringify(getLearner.value));\n if (getLearner.value.statusRes === 'notpassed') {\n renderReady.value = true;\n errorResponse.value = getLearner.value.statusMessage;\n showErrorMessage.value = true;\n needReviewer.value = false;\n } else if (getLearner.value.statusRes.learner_status === 'Passed') {\n vocUrl.value = getLearner.value.vocUrl;\n pass.value = true;\n needReviewer.value = false;\n allReviewerComments.value = getLearner.value.statusRes.all_reviewer_comments;\n } else if (getLearner.value.statusRes.learner_status === 'Fail') {\n fail.value = true;\n needReviewer.value = false;\n allReviewerComments.value = getLearner.value.statusRes.all_reviewer_comments;\n console.log(`getLearner.value.statusRes.linked_program_name ${getLearner.value.statusRes.linked_program_name}`);\n console.log(`getLearner.value.statusRes.linked_program_name !== 'infinity' ${getLearner.value.statusRes.linked_program_name !== 'infinity'}`);\n if (getLearner.value.statusRes.linked_program_name !== 'infinity') isProgramInfinity.value = false;\n isProgramRestartable.value = getLearner.value.program_is_restartable;\n if (getLearner.value.learner_eligible_for_rereview) learnerEligibleForRereview.value = true;\n } else if (getLearner.value.statusRes.learner_status === 'Need Reviewer') {\n if (getLearner.value.is_learner_not_allowed) {\n console.log('learner on hold submit task');\n if (learning_path_id.value && learning_content_id.value) router.push({ path: '/solidify', query: { learning_path_id: learning_path_id.value, learning_content_id: learning_content_id.value } });\n else router.push({ path: '/solidify', query: { skill_id: skillId.value, proficiency_id: proficiencyId.value, program_id: programId.value } });\n }\n needReviewer.value = true;\n // let localTime = Moment.utc(getLearner.value.statusRes.modified_date).toDate();\n // let date = new Date();\n lastModifiedDate.value = Moment(getLearner.value.statusRes.modified_date).format('dddd, MMMM Do YYYY, h:mm:ss a');\n mandatoryReviewsCount.value = getLearner.value.mandatoryReviewsCount || 3;\n //assigning values for peer review timestamps\n\n const peerReviewTimestampsTemp: string[] = [];\n for (let i = 0; i < mandatoryReviewsCount.value; i++) {\n let reviewerTimestamp = 'Waiting for Reviewer';\n if (getLearner.value.reviewers_status && getLearner.value.reviewers_status[i]) reviewerTimestamp = 'Reviewed on ' + Moment(getLearner.value.reviewers_status[i].review_end_date).format('dddd, MMMM Do YYYY');\n peerReviewTimestampsTemp.push(reviewerTimestamp);\n }\n peerReviewTimestamps.value = peerReviewTimestampsTemp;\n console.log(`lastModifiedDate.value ${lastModifiedDate.value}`);\n // lastModifiedDate.value = date;\n }\n // if (getLearner.value.feedback) {\n // feedbackshow.value = false;\n // } else {\n // feedbackshow.value = true;\n // }\n } catch (error) {\n renderReady.value = true;\n console.log('error while fetching learner details', error);\n if (axios.isAxiosError(error)) {\n const err = error as AxiosError;\n // console.log(err.response?.data);\n errorResponse.value = (err.response?.data as { message: string })?.message;\n // console.log(`errorMessage.value ${errorMessage.value}`);\n } else {\n errorResponse.value = 'There is an issue while fetching learner status, please contact helpmate.';\n }\n showErrorMessage.value = true;\n }\n };\n // const creatFeedback = async () => {\n // try {\n // renderReady.value = false;\n // if (!feedback.value) {\n // renderReady.value = true;\n // validationShow.value = true;\n // ratingValidationMsg.value = 'Please select Rating';\n // setTimeout(() => {\n // ratingValidationMsg.value = null;\n // validationShow.value = false;\n // }, 6000);\n // } else if (!comment.value) {\n // renderReady.value = true;\n // validationShow.value = true;\n // commentValidationMsg.value = 'Please add comment';\n // setTimeout(() => {\n // commentValidationMsg.value = null;\n // validationShow.value = false;\n // }, 6000);\n // } else {\n // const feedbackData = {\n // learner_task_id: learnerTaskId.value,\n // skill_id: localStorage.getItem('skillId'),\n // proficiency_id: localStorage.getItem('profId'),\n // skill_name: skill.value,\n // proficiency_name: proficiency.value,\n // program_id: localStorage.getItem('programId'),\n // learner_key: localStorage.getItem('user_key'),\n // rating: feedback.value,\n // comment: comment.value,\n // };\n // // eslint-disable-next-line @typescript-eslint/no-explicit-any\n // const res: any = await saveFeedback('/createFeedback', feedbackData);\n // const feedbackRes = res.data;\n // console.log(`res after creating feedback ${JSON.stringify(feedbackRes)}`);\n // await getLearnerDetails();\n // renderReady.value = true;\n // }\n // } catch (error) {\n // console.log(error);\n // renderReady.value = true;\n // if (axios.isAxiosError(error)) {\n // const err = error as AxiosError;\n // // console.log(err.response?.data);\n // errorResponse.value = (err.response?.data as { message: string })?.message;\n // // console.log(`errorMessage.value ${errorMessage.value}`);\n // } else {\n // errorResponse.value = 'There is some issue while creating feedback, please contact helpmate.';\n // }\n // showErrorMessage.value = true;\n // }\n // };\n onBeforeMount(async () => {\n // renderReady.value = false;\n programName.value = localStorage.getItem('programName');\n getLearnerDetails();\n if (proficiency.value === 'Beginner') {\n nextProficiency.value = 'Intermediate';\n } else if (proficiency.value === 'Intermediate') {\n nextProficiency.value = 'Proficient';\n } else if (proficiency.value === 'Proficient') {\n nextProficiency.value = 'Expert';\n }\n // renderReady.value = true;\n });\n const applyReview = async () => {\n router.push({ path: '/solidify/rereview', query: { learner_task_id: learnerTaskId.value } });\n };\n // const welcomeMsg = computed(() => store.getters['landing/welcomeMessage']);\n return {\n pass,\n fail,\n skill,\n proficiency,\n skillId,\n proficiencyId,\n programId,\n allReviewerComments,\n getLearner,\n needReviewer,\n peerReviewTimestamps,\n vocUrl,\n getLearnerDetails,\n lastModifiedDate,\n helpmateLink,\n renderReady,\n nextProficiency,\n // creatFeedback,\n comment,\n feedback,\n commentValidationMsg,\n ratingValidationMsg,\n validationShow,\n // feedbackshow,\n learnerEligibleForRereview,\n applyReview,\n isProgramInfinity,\n errorResponse,\n showErrorMessage,\n programName,\n reviewerAssignmentStrategy,\n isProgramRestartable,\n learning_path_id,\n learning_content_id,\n learning_content_display_name,\n };\n },\n});\n","import mod from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??clonedRuleSet-41.use[2]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Learner_Done.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??clonedRuleSet-41.use[2]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Learner_Done.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Learner_Done.vue?vue&type=template&id=d665bff4&scoped=true&\"\nimport script from \"./Learner_Done.vue?vue&type=script&lang=ts&\"\nexport * from \"./Learner_Done.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./Learner_Done.vue?vue&type=style&index=0&id=d665bff4&prod&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"d665bff4\",\n null\n \n)\n\nexport default component.exports","/* eslint-disable @typescript-eslint/explicit-module-boundary-types */\n/* eslint-disable @typescript-eslint/no-explicit-any */\n// import axios from 'axios';\nimport $http from '../plugins/axios';\n\n// const BASE_URL = 'http://localhost:3000/local/genome-solidify-api-svc/';\n\n// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types\nconst getLearnerStatus = async (url: string, learnerTaskIid: string) => {\n // let res;\n // // eslint-disable-next-line camelcase\n // await $http.get(`${url}/${learnerTaskIid}`).then((response) => {\n // // console.log(response.data.sys_settings);\n // res = response.data;\n // return res;\n // });\n // return res;\n const res = await $http.get(`${url}/${learnerTaskIid}`);\n return res;\n};\n\nconst saveFeedback = async (url: string, feedbackData: any) => {\n // let res;\n // await $http.post(url, feedbackData).then((response) => {\n // console.log('axios response', response);\n // res = response.data;\n // return res;\n // });\n // return res;\n const res = await $http.post(url, feedbackData);\n return res;\n};\n\nexport { getLearnerStatus, saveFeedback };\n"],"names":["render","_vm","this","_c","_self","_setupProxy","staticClass","domProps","_s","errorMsg","attrs","helpmateLink","require","staticRenderFns","defineComponent","name","props","errorMessage","type","String","default","setup","ref","localStorage","getItem","onBeforeMount","async","value","component","learning_content_display_name","_v","program","proficiency","_e","skill","username","item","split","reverse","join","renderReady","showErrorMessage","getLearner","statusRes","linked_program_name","pass","fail","reviewerAssignmentStrategy","needReviewer","allReviewerComments","programName","_m","vocUrl","directives","rawName","isProgramRestartable","expression","learning_path_id","query","learning_content_id","skill_id","skillId","proficiency_id","proficiencyId","program_id","programId","learnerEligibleForRereview","on","$event","applyReview","_l","peerReviewTimestamps","reviewerTimestamp","index","key","lastModifiedDate","getLearnerDetails","errorResponse","components","ErrorMessage","Greetings","Object","mandatoryReviewsCount","nextProficiency","learnerTaskId","learner_task_id","comment","feedback","validationShow","ratingValidationMsg","commentValidationMsg","isProgramInfinity","res","getLearnerStatus","data","program_reviewer_strategy","console","log","JSON","stringify","statusMessage","learner_status","all_reviewer_comments","program_is_restartable","learner_eligible_for_rereview","is_learner_not_allowed","router","path","Moment","modified_date","format","peerReviewTimestampsTemp","i","reviewers_status","review_end_date","push","error","axios","err","response","message","url","learnerTaskIid","$http"],"sourceRoot":""}
1
+ {"version":3,"file":"solidify.umd.min.SolidifyLearnerDone.js","mappings":"gNAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAUF,EAAIG,MAAMC,YAAY,OAAOF,EAAG,MAAM,CAACG,YAAY,QAAQ,CAACH,EAAG,MAAM,CAACG,YAAY,sBAAsB,CAACH,EAAG,MAAM,CAACG,YAAY,+BAA+B,CAACH,EAAG,MAAM,CAACG,YAAY,iBAAiB,CAACH,EAAG,MAAM,CAACG,YAAY,OAAOC,SAAS,CAAC,UAAYN,EAAIO,GAAGP,EAAIQ,eAAeN,EAAG,MAAM,CAACG,YAAY,QAAQ,CAACH,EAAG,IAAI,CAACO,MAAM,CAAC,KAAOT,EAAIU,aAAa,OAAS,WAAW,CAACR,EAAG,MAAM,CAACG,YAAY,UAAUI,MAAM,CAAC,IAAME,EAAQ,kBACve,EACIC,EAAkB,G,UCCtB,GAAeC,EAAAA,EAAAA,iBAAgB,CAC7BC,KAAM,eACNC,MAAO,CACLC,aAAc,CACZC,KAAMC,OACNC,QAAS,KAGbC,MAAML,GACJ,MAAMP,GAAWa,EAAAA,EAAAA,KAAI,IACfX,GAAeW,EAAAA,EAAAA,KAAIC,aAAaC,QAAQ,iBAI9C,OAHAC,EAAAA,EAAAA,gBAAcC,UACZjB,EAASkB,MAAQX,EAAMC,YAAY,IAE9B,CAAER,WAAUE,eACrB,I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ACAa,GACA,EACA,KACA,WACA,MAIF,EAAee,EAAiB,O,qECXhC,MAAMiE,EAAmBnE,MAAO+F,EAAaC,KAS3C,MAAM9B,QAAY+B,EAAAA,EAAAA,IAAU,GAAGF,KAAOC,KACtC,OAAO9B,CAAG,C","sources":["webpack://solidify/./src/components/global/ErrorMessage.vue","webpack://solidify/./src/components/global/ErrorMessage.vue?930e","webpack://solidify/./src/components/global/ErrorMessage.vue?65e2","webpack://solidify/./src/components/global/ErrorMessage.vue?8776","webpack://solidify/./src/components/global/Greetings.vue","webpack://solidify/./src/components/global/Greetings.vue?c163","webpack://solidify/./src/components/global/Greetings.vue?def6","webpack://solidify/./src/components/global/Greetings.vue?819d","webpack://solidify/./src/views/Learner_Done.vue","webpack://solidify/./src/views/Learner_Done.vue?e918","webpack://solidify/./src/views/Learner_Done.vue?3570","webpack://solidify/./src/views/Learner_Done.vue?1a28","webpack://solidify/./src/utils/done_service.ts"],"sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"flex\"},[_c('div',{staticClass:\"w-full pt-16 px-32\"},[_c('div',{staticClass:\"md:px-0 lg:px-0 text-center\"},[_c('div',{staticClass:\"text-gray-500\"},[_c('div',{staticClass:\"pt-2\",domProps:{\"innerHTML\":_vm._s(_vm.errorMsg)}})]),_c('div',{staticClass:\"pt-8\"},[_c('a',{attrs:{\"href\":_vm.helpmateLink,\"target\":\"_blank\"}},[_c('img',{staticClass:\"mx-auto\",attrs:{\"src\":require(\"@/assets/images/support.svg\")}})])])])])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { defineComponent, onBeforeMount, ref } from 'vue';\n\nexport default defineComponent({\n name: 'ErrorMessage',\n props: {\n errorMessage: {\n type: String,\n default: '',\n },\n },\n setup(props) {\n const errorMsg = ref('');\n const helpmateLink = ref(localStorage.getItem('helpmateLink'));\n onBeforeMount(async () => {\n errorMsg.value = props.errorMessage;\n });\n return { errorMsg, helpmateLink };\n },\n});\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-41.use[2]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ErrorMessage.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-41.use[2]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ErrorMessage.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./ErrorMessage.vue?vue&type=template&id=3c863459&\"\nimport script from \"./ErrorMessage.vue?vue&type=script&lang=ts&\"\nexport * from \"./ErrorMessage.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"mt-4 lg:px-24 md:px-24 px-4 flex justify-between items-center w-full\"},[_c('div',{staticClass:\"text-blue-900 lg:text-3xl md:text-3xl text-xl my-2\"},[(_vm.learning_content_display_name)?_c('span',[_vm._v(\" \"+_vm._s(_vm.learning_content_display_name)+\" \")]):_c('span',[(_vm.program === 'infinity')?_c('span',[_vm._v(_vm._s(_vm.proficiency)+\" - \")]):_vm._e(),_vm._v(_vm._s(_vm.skill))])]),_c('div',{staticClass:\"my-2\"},[_c('div',{staticClass:\"text-blue-900 md:text-lg text-sm text-right\"},[_vm._v(\"Hi, \"+_vm._s(_vm.username))])])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { defineComponent, onBeforeMount, ref } from 'vue';\n\nexport default defineComponent({\n name: 'Greetings',\n props: {\n proficiency: {\n type: String,\n default: '',\n },\n skill: {\n type: String,\n default: '',\n },\n program: {\n type: String,\n default: '',\n },\n learning_content_display_name: {\n type: String,\n default: '',\n },\n },\n setup() {\n const username = ref('');\n onBeforeMount(async () => {\n const item = localStorage.getItem('userName') || 'Learner';\n username.value = item.split(',').reverse().join(' ');\n });\n return { username };\n },\n});\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-41.use[2]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Greetings.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-41.use[2]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Greetings.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Greetings.vue?vue&type=template&id=1cbddefa&\"\nimport script from \"./Greetings.vue?vue&type=script&lang=ts&\"\nexport * from \"./Greetings.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"containers mx-auto allBoxImg mt-10\"},[(_vm.renderReady)?[(!_vm.showErrorMessage)?[_c('div',{staticClass:\"flex\"},[_c('div',{staticClass:\"w-full pt-12\"},[_c('Greetings',{attrs:{\"program\":_vm.getLearner.statusRes.linked_program_name,\"proficiency\":_vm.proficiency,\"skill\":_vm.skill,\"learning_content_display_name\":_vm.learning_content_display_name}}),_c('div',{staticClass:\"flex md:flex mt-3 mx-6 lg:pl-16 md:pl-16 lg:pr-24 md:pr-24 px-0 block\"},[_c('div',{staticClass:\"ul-nav w-full\"},[(_vm.pass || _vm.fail)?_c('ul',{staticClass:\"done\"},[_c('li',{staticClass:\"active\"},[_vm._v(\"Home\")]),_c('li',{staticClass:\"active\"},[_vm._v(\"Task\")]),_c('li',{staticClass:\"active\"},[_vm._v(\"Submit\")]),(_vm.reviewerAssignmentStrategy === 'Auto assign reviewer (reviewer task to be different)' || _vm.reviewerAssignmentStrategy === 'Auto assign reviewer based on skill and proficiency')?_c('li',{staticClass:\"active\"},[_vm._v(\"Peer Reviews\")]):_vm._e(),_c('li',{staticClass:\"active\"},[_vm._v(\"Under Review\")]),_c('li',{staticClass:\"active\"},[_vm._v(\"Done!\")])]):_vm._e(),(_vm.needReviewer)?_c('ul',{staticClass:\"underReview\"},[_c('li',{staticClass:\"active\"},[_vm._v(\"Home\")]),_c('li',{staticClass:\"active\"},[_vm._v(\"Task\")]),_c('li',{staticClass:\"active\"},[_vm._v(\"Submit\")]),(_vm.reviewerAssignmentStrategy === 'Auto assign reviewer (reviewer task to be different)' || _vm.reviewerAssignmentStrategy === 'Auto assign reviewer based on skill and proficiency')?_c('li',{staticClass:\"active\"},[_vm._v(\"Peer Reviews\")]):_vm._e(),_c('li',{staticClass:\"active\"},[_vm._v(\"Under Review\")]),_c('li',{},[_vm._v(\"Done!\")])]):_vm._e()])]),_c('div',{staticClass:\"box-overflow1 mx-4 lg:mx-24 md:mx-24 mt-3 text-sm\"},[_c('div',{staticClass:\"block mt-4\"},[(_vm.pass)?_c('div',{staticClass:\"text-gray-600\"},[_c('p',[_c('strong',{staticClass:\"text-lg\"},[_vm._v(\"Congratulations on completing your Solidify journey for \"+_vm._s(_vm.proficiency)+\" – \"+_vm._s(_vm.skill)+\" !\")])]),_c('div',{staticClass:\"p-4 rounded-lg shadow border border-gray-200 mt-6\"},[_c('div',{staticClass:\"mt-1\"},[_vm._v(\"Here’s what your peers had to say:\")]),_c('div',{staticClass:\"mt-3\",domProps:{\"innerHTML\":_vm._s(_vm.allReviewerComments)}})]),(_vm.programName === 'infinity')?_c('div',{staticClass:\"mt-6\"},[_vm._m(0),_c('div',{staticClass:\"mt-2\"},[_c('p',[_vm._v(\" Help us enhance the Solidify experience by sharing your thoughts \"),_c('strong',[_c('a',{staticClass:\"italic text-blue-900 underline\",attrs:{\"href\":_vm.vocUrl,\"target\":\"_blank\"}},[_vm._v(\"here\")]),_vm._v(\".\")])])])]):_vm._e()]):_vm._e(),(_vm.fail)?_c('div',{staticClass:\"text-gray-600\"},[_vm._m(1),_c('div',{staticClass:\"p-4 rounded-lg shadow border border-gray-200 mt-2\"},[_c('div',{staticClass:\"mt-1\"},[_vm._v(\"Here’s what your peers had to say:\")]),_c('div',{staticClass:\"mt-3\",domProps:{\"innerHTML\":_vm._s(_vm.allReviewerComments)}})]),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.isProgramRestartable),expression:\"isProgramRestartable\"}]},[_vm._m(2),_vm._m(3),_c('div',{staticClass:\"mt-6 mb-4 text-center\"},[(_vm.learning_path_id)?_c('router-link',{staticClass:\"mt-2 inline-block py-2 px-6 border border-[#ffad28] bg-[#ffad28] text-[#161916] hover:bg-[#ffad28] rounded-full\",attrs:{\"to\":{ name: 'SolidifyLearner', query: { learning_path_id: _vm.learning_path_id, learning_content_id: _vm.learning_content_id } }}},[_vm._v(\" Start Solidify \")]):_c('router-link',{staticClass:\"mt-2 inline-block py-2 px-6 border border-[#ffad28] bg-[#ffad28] text-[#161916] hover:bg-[#ffad28] rounded-full\",attrs:{\"to\":{ name: 'SolidifyLearner', query: { skill_id: _vm.skillId, proficiency_id: _vm.proficiencyId, program_id: _vm.programId } }}},[_vm._v(\" Start Solidify \")])],1)]),(_vm.learnerEligibleForRereview)?[_c('div',{staticClass:\"p-4 rounded-lg shadow border border-gray-200 mt-2\"},[_c('p',{staticClass:\"pt-2\"},[_vm._v(\"If you believe the feedback doesn't accurately represent your work, you can request a re-evaluation of your submission.\")]),_vm._m(4),_c('div',{staticClass:\"mt-6 text-center\"},[_c('button',{staticClass:\"mt-2 inline-block py-2 px-6 shadow-md bg-background-secondary\",on:{\"click\":function($event){return _vm.applyReview()}}},[_vm._v(\"Re-review\")])])])]:_vm._e()],2):_vm._e(),(_vm.needReviewer)?_c('div',{staticClass:\"text-gray-600\"},[_c('div',[(_vm.reviewerAssignmentStrategy === 'Auto assign reviewer (reviewer task to be different)' || _vm.reviewerAssignmentStrategy === 'Auto assign reviewer based on skill and proficiency')?_c('div',{staticClass:\"p-4 mb-3 rounded-lg shadow border border-gray-200\"},[_vm._m(5),_c('p',{staticClass:\"pt-2\"},[_vm._v(\"Your peers are reviewing your submission. Reviewer comments will appear on the \\\"Done Page\\\" once all reviews are completed.\")]),_vm._m(6),_c('p',{staticClass:\"pt-2\"},[_vm._v(\"Typical review time: 7–10 working days from submission.\")])]):_vm._e(),_c('div',{staticClass:\"p-4 mb-3 rounded-lg shadow border border-gray-200\"},[(_vm.reviewerAssignmentStrategy === 'Auto assign reviewer (reviewer task to be different)' || _vm.reviewerAssignmentStrategy === 'Auto assign reviewer based on skill and proficiency')?[_vm._m(7),_vm._l((_vm.peerReviewTimestamps),function(reviewerTimestamp,index){return _c('p',{key:index,staticClass:\"pt-2\"},[_vm._v(\"Peer Review \"+_vm._s(index + 1)+\" : \"+_vm._s(reviewerTimestamp)+\".\")])})]:[_vm._m(8),_c('p',{staticClass:\"pt-2\"},[_vm._v(\"Once your task has been reviewed by an SME, you will receive an email telling you if your submission passed or not.\")])],_c('p',{staticClass:\"pt-4\"},[_c('strong',[_vm._v(\"Status as of: \")]),_vm._v(\" \"+_vm._s(_vm.lastModifiedDate))])],2),_c('div',{staticClass:\"mt-6 mb-4 text-center\"},[_c('button',{staticClass:\"mt-2 inline-block py-2 px-6 bg-background-secondary\",attrs:{\"to\":{ name: 'SolidifyLearnerFail' }},on:{\"click\":function($event){return _vm.getLearnerDetails()}}},[_vm._v(\"Refresh Status\")])])])]):_vm._e()])])],1)])]:_vm._e(),(_vm.showErrorMessage)?_c('ErrorMessage',{attrs:{\"error-message\":_vm.errorResponse}}):_vm._e()]:_vm._e(),(!_vm.renderReady)?_c('div',{staticClass:\"flex flex-col h-min-screen justify-center text-center\"},[_c('img',{staticClass:\"mb-8 block mx-auto loadercss mt-3%\",attrs:{\"src\":require(\"@/assets/images/loadernew.gif\"),\"alt\":\"Loader Gif\"}}),_c('p',{staticClass:\"mx-auto mb-10 leading-normal px-4 loadertextcss ext-genpact-darkest-blue\"},[_vm._v(\"Loading...\")])]):_vm._e()],2)\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"mt-2\"},[_c('strong',[_vm._v(\"We’d love your feedback!\")])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('p',[_c('strong',{staticClass:\"text-lg\"},[_vm._v(\"Unfortunately, your submission didn’t meet the task requirements this time.\")])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('p',{staticClass:\"pt-6\"},[_c('strong',[_vm._v(\"What's Next?\")])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('p',{staticClass:\"pt-3\"},[_c('b',[_vm._v(\"You can restart your Solidify journey and attempt it as many times as necessary. \")])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('p',{staticClass:\"pt-2\"},[_vm._v(\"Click the \"),_c('strong',[_vm._v(\"'Re-review'\")]),_vm._v(\" button below to submit your request\")])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('p',{staticClass:\"pt-2\"},[_c('strong',{staticClass:\"text-lg\"},[_vm._v(\"Thank you for completing your reviews!\")])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('p',{staticClass:\"pt-2\"},[_vm._v(\"You’ll also get an email with your result — \"),_c('strong',[_vm._v(\"Pass\")]),_vm._v(\" or \"),_c('strong',[_vm._v(\"Redo\")]),_vm._v(\" Solidify.\")])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('p',{staticClass:\"pt-2 pb-2\"},[_c('strong',{staticClass:\"text-lg\"},[_vm._v(\"Review Progress:\")])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('p',{staticClass:\"pt-2\"},[_c('strong',[_vm._v(\"Thank you for submitting your task!\")])])\n}]\n\nexport { render, staticRenderFns }","\nimport { defineComponent, onBeforeMount, ref } from 'vue';\nimport Moment from 'moment';\nimport { getLearnerStatus } from '@/utils/done_service';\n//import { saveFeedback } from '@/utils/done_service';\nimport axios, { AxiosError } from 'axios';\nimport ErrorMessage from '@/components/global/ErrorMessage.vue';\nimport Greetings from '@/components/global/Greetings.vue';\n// eslint-disable-next-line\nimport router from '../router';\n// import moment from 'moment';\n\n// import store from '@/store';\n\nexport default defineComponent({\n name: 'LearnerSubmitTask',\n components: { ErrorMessage, Greetings },\n // props: ['query'],\n props: {\n query: {\n type: Object,\n default: () => ({}),\n },\n },\n setup(props) {\n const pass = ref(false);\n const fail = ref(false);\n const needReviewer = ref(false);\n const peerReviewTimestamps = ref();\n const mandatoryReviewsCount = ref();\n const vocUrl = ref('');\n const getLearner = ref();\n const allReviewerComments = ref();\n const skill = ref(localStorage.getItem('skillName'));\n const proficiency = ref(localStorage.getItem('proficiency'));\n const programId = ref(localStorage.getItem('programId'));\n const skillId = ref(localStorage.getItem('skillId'));\n const proficiencyId = ref(localStorage.getItem('profId'));\n const learning_path_id = ref(localStorage.getItem('learning_path_id'));\n const learning_content_id = ref(localStorage.getItem('learning_content_id'));\n const learning_content_display_name = ref(localStorage.getItem('learning_content_display_name'));\n\n const nextProficiency = ref();\n const lastModifiedDate = ref();\n const learnerTaskId = ref(props.query.learner_task_id);\n const helpmateLink = ref(localStorage.getItem('helpmateLink'));\n const renderReady = ref();\n const comment = ref();\n const feedback = ref();\n const validationShow = ref(false);\n const ratingValidationMsg = ref();\n const commentValidationMsg = ref();\n // const feedbackshow = ref(true);\n const isProgramInfinity = ref(true);\n const isProgramRestartable = ref();\n const learnerEligibleForRereview = ref(false);\n const errorResponse = ref();\n const showErrorMessage = ref(false);\n const programName = ref();\n const reviewerAssignmentStrategy = ref();\n const getLearnerDetails = async () => {\n try {\n renderReady.value = false;\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const res: any = await getLearnerStatus('learnerStatus', learnerTaskId.value);\n getLearner.value = res.data;\n reviewerAssignmentStrategy.value = getLearner.value.program_reviewer_strategy;\n console.log(`getLearner.value ${JSON.stringify(getLearner.value)}`);\n renderReady.value = true;\n console.log('status', JSON.stringify(getLearner.value));\n if (getLearner.value.statusRes === 'notpassed') {\n renderReady.value = true;\n errorResponse.value = getLearner.value.statusMessage;\n showErrorMessage.value = true;\n needReviewer.value = false;\n } else if (getLearner.value.statusRes.learner_status === 'Passed') {\n vocUrl.value = getLearner.value.vocUrl;\n pass.value = true;\n needReviewer.value = false;\n allReviewerComments.value = getLearner.value.statusRes.all_reviewer_comments;\n } else if (getLearner.value.statusRes.learner_status === 'Fail') {\n fail.value = true;\n needReviewer.value = false;\n allReviewerComments.value = getLearner.value.statusRes.all_reviewer_comments;\n console.log(`getLearner.value.statusRes.linked_program_name ${getLearner.value.statusRes.linked_program_name}`);\n console.log(`getLearner.value.statusRes.linked_program_name !== 'infinity' ${getLearner.value.statusRes.linked_program_name !== 'infinity'}`);\n if (getLearner.value.statusRes.linked_program_name !== 'infinity') isProgramInfinity.value = false;\n isProgramRestartable.value = getLearner.value.program_is_restartable;\n if (getLearner.value.learner_eligible_for_rereview) learnerEligibleForRereview.value = true;\n } else if (getLearner.value.statusRes.learner_status === 'Need Reviewer') {\n if (getLearner.value.is_learner_not_allowed) {\n console.log('learner on hold submit task');\n if (learning_path_id.value && learning_content_id.value) router.push({ path: '/solidify', query: { learning_path_id: learning_path_id.value, learning_content_id: learning_content_id.value } });\n else router.push({ path: '/solidify', query: { skill_id: skillId.value, proficiency_id: proficiencyId.value, program_id: programId.value } });\n }\n needReviewer.value = true;\n // let localTime = Moment.utc(getLearner.value.statusRes.modified_date).toDate();\n // let date = new Date();\n lastModifiedDate.value = Moment(getLearner.value.statusRes.modified_date).format('dddd, MMMM Do YYYY, h:mm:ss a');\n mandatoryReviewsCount.value = getLearner.value.mandatoryReviewsCount || 3;\n //assigning values for peer review timestamps\n\n const peerReviewTimestampsTemp: string[] = [];\n for (let i = 0; i < mandatoryReviewsCount.value; i++) {\n let reviewerTimestamp = 'Waiting for Reviewer';\n if (getLearner.value.reviewers_status && getLearner.value.reviewers_status[i]) reviewerTimestamp = 'Reviewed on ' + Moment(getLearner.value.reviewers_status[i].review_end_date).format('dddd, MMMM Do YYYY');\n peerReviewTimestampsTemp.push(reviewerTimestamp);\n }\n peerReviewTimestamps.value = peerReviewTimestampsTemp;\n console.log(`lastModifiedDate.value ${lastModifiedDate.value}`);\n // lastModifiedDate.value = date;\n }\n // if (getLearner.value.feedback) {\n // feedbackshow.value = false;\n // } else {\n // feedbackshow.value = true;\n // }\n } catch (error) {\n renderReady.value = true;\n console.log('error while fetching learner details', error);\n if (axios.isAxiosError(error)) {\n const err = error as AxiosError;\n // console.log(err.response?.data);\n errorResponse.value = (err.response?.data as { message: string })?.message;\n // console.log(`errorMessage.value ${errorMessage.value}`);\n } else {\n errorResponse.value = 'There is an issue while fetching learner status, please contact helpmate.';\n }\n showErrorMessage.value = true;\n }\n };\n // const creatFeedback = async () => {\n // try {\n // renderReady.value = false;\n // if (!feedback.value) {\n // renderReady.value = true;\n // validationShow.value = true;\n // ratingValidationMsg.value = 'Please select Rating';\n // setTimeout(() => {\n // ratingValidationMsg.value = null;\n // validationShow.value = false;\n // }, 6000);\n // } else if (!comment.value) {\n // renderReady.value = true;\n // validationShow.value = true;\n // commentValidationMsg.value = 'Please add comment';\n // setTimeout(() => {\n // commentValidationMsg.value = null;\n // validationShow.value = false;\n // }, 6000);\n // } else {\n // const feedbackData = {\n // learner_task_id: learnerTaskId.value,\n // skill_id: localStorage.getItem('skillId'),\n // proficiency_id: localStorage.getItem('profId'),\n // skill_name: skill.value,\n // proficiency_name: proficiency.value,\n // program_id: localStorage.getItem('programId'),\n // learner_key: localStorage.getItem('user_key'),\n // rating: feedback.value,\n // comment: comment.value,\n // };\n // // eslint-disable-next-line @typescript-eslint/no-explicit-any\n // const res: any = await saveFeedback('/createFeedback', feedbackData);\n // const feedbackRes = res.data;\n // console.log(`res after creating feedback ${JSON.stringify(feedbackRes)}`);\n // await getLearnerDetails();\n // renderReady.value = true;\n // }\n // } catch (error) {\n // console.log(error);\n // renderReady.value = true;\n // if (axios.isAxiosError(error)) {\n // const err = error as AxiosError;\n // // console.log(err.response?.data);\n // errorResponse.value = (err.response?.data as { message: string })?.message;\n // // console.log(`errorMessage.value ${errorMessage.value}`);\n // } else {\n // errorResponse.value = 'There is some issue while creating feedback, please contact helpmate.';\n // }\n // showErrorMessage.value = true ;\n // }\n // };\n onBeforeMount(async () => {\n // renderReady.value = false;\n programName.value = localStorage.getItem('programName');\n getLearnerDetails();\n if (proficiency.value === 'Beginner') {\n nextProficiency.value = 'Intermediate';\n } else if (proficiency.value === 'Intermediate') {\n nextProficiency.value = 'Proficient';\n } else if (proficiency.value === 'Proficient') {\n nextProficiency.value = 'Expert';\n }\n // renderReady.value = true;\n });\n const applyReview = async () => {\n router.push({ path: '/solidify/rereview', query: { learner_task_id: learnerTaskId.value } });\n };\n // const welcomeMsg = computed(() => store.getters['landing/welcomeMessage']);\n return {\n pass,\n fail,\n skill,\n proficiency,\n skillId,\n proficiencyId,\n programId,\n allReviewerComments,\n getLearner,\n needReviewer,\n peerReviewTimestamps,\n vocUrl,\n getLearnerDetails,\n lastModifiedDate,\n helpmateLink,\n renderReady,\n nextProficiency,\n // creatFeedback,\n comment,\n feedback,\n commentValidationMsg,\n ratingValidationMsg,\n validationShow,\n // feedbackshow,\n learnerEligibleForRereview,\n applyReview,\n isProgramInfinity,\n errorResponse,\n showErrorMessage,\n programName,\n reviewerAssignmentStrategy,\n isProgramRestartable,\n learning_path_id,\n learning_content_id,\n learning_content_display_name,\n };\n },\n});\n","import mod from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??clonedRuleSet-41.use[2]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Learner_Done.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??clonedRuleSet-41.use[2]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Learner_Done.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Learner_Done.vue?vue&type=template&id=9351e314&scoped=true&\"\nimport script from \"./Learner_Done.vue?vue&type=script&lang=ts&\"\nexport * from \"./Learner_Done.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./Learner_Done.vue?vue&type=style&index=0&id=9351e314&prod&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"9351e314\",\n null\n \n)\n\nexport default component.exports","/* eslint-disable @typescript-eslint/explicit-module-boundary-types */\n/* eslint-disable @typescript-eslint/no-explicit-any */\n// import axios from 'axios';\nimport $http from '../plugins/axios';\n\n// const BASE_URL = 'http://localhost:3000/local/genome-solidify-api-svc/';\n\n// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types\nconst getLearnerStatus = async (url: string, learnerTaskIid: string) => {\n // let res;\n // // eslint-disable-next-line camelcase\n // await $http.get(`${url}/${learnerTaskIid}`).then((response) => {\n // // console.log(response.data.sys_settings);\n // res = response.data;\n // return res;\n // });\n // return res;\n const res = await $http.get(`${url}/${learnerTaskIid}`);\n return res;\n};\n\nconst saveFeedback = async (url: string, feedbackData: any) => {\n // let res;\n // await $http.post(url, feedbackData).then((response) => {\n // console.log('axios response', response);\n // res = response.data;\n // return res;\n // });\n // return res;\n const res = await $http.post(url, feedbackData);\n return res;\n};\n\nexport { getLearnerStatus, saveFeedback };\n"],"names":["render","_vm","this","_c","_self","_setupProxy","staticClass","domProps","_s","errorMsg","attrs","helpmateLink","require","staticRenderFns","defineComponent","name","props","errorMessage","type","String","default","setup","ref","localStorage","getItem","onBeforeMount","async","value","component","learning_content_display_name","_v","program","proficiency","_e","skill","username","item","split","reverse","join","renderReady","showErrorMessage","getLearner","statusRes","linked_program_name","pass","fail","reviewerAssignmentStrategy","needReviewer","allReviewerComments","programName","_m","vocUrl","directives","rawName","isProgramRestartable","expression","learning_path_id","query","learning_content_id","skill_id","skillId","proficiency_id","proficiencyId","program_id","programId","learnerEligibleForRereview","on","$event","applyReview","_l","peerReviewTimestamps","reviewerTimestamp","index","key","lastModifiedDate","getLearnerDetails","errorResponse","components","ErrorMessage","Greetings","Object","mandatoryReviewsCount","nextProficiency","learnerTaskId","learner_task_id","comment","feedback","validationShow","ratingValidationMsg","commentValidationMsg","isProgramInfinity","res","getLearnerStatus","data","program_reviewer_strategy","console","log","JSON","stringify","statusMessage","learner_status","all_reviewer_comments","program_is_restartable","learner_eligible_for_rereview","is_learner_not_allowed","router","path","Moment","modified_date","format","peerReviewTimestampsTemp","i","reviewers_status","review_end_date","push","error","axios","err","response","message","url","learnerTaskIid","$http"],"sourceRoot":""}