@genpact/genome.mfe.solidify-app 1.1.1-alpha.3 → 1.1.1-alpha.5

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,2 +1,2 @@
1
- (window["webpackJsonp__@genpact/genome.mfe.solidify-app"]=window["webpackJsonp__@genpact/genome.mfe.solidify-app"]||[]).push([["SolidifyLearnerSelectTask"],{"0d01":function(e,t,a){var r=a("d615");e.exports=Array.isArray||function(e){return"Array"==r(e)}},"208d":function(e,t,a){"use strict";var r=a("d063"),n=a("8f3e"),i=a("2e7c");e.exports=function(e,t,a){var s=r(t);s in e?n.f(e,s,i(0,a)):e[s]=a}},"2c72":function(e,t,a){"use strict";var r=function(){var e=this,t=e.$createElement,a=e._self._c||t;return e.isVisible?a("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"},[a("transition",{attrs:{name:"modal-fade"}},[a("div",{staticClass:"modal-overlay",on:{click:function(t){return e.$emit("close-modal")}}},[a("div",{staticClass:"modal relative",on:{click:function(e){e.stopPropagation()}}},[a("div",{staticClass:"absolute right-0 pr-4 top-5",on:{click:function(t){return e.$emit("close-modal")}}},[a("x-icon",{attrs:{size:"1.5x"}})],1),a("div",{staticClass:"pt-4"},[a("p",{staticClass:"text-gray-500"},[e._v(e._s(e.message))])])])])])],1):e._e()},n=[],i=a("949b"),s={components:{XIcon:i["g"]},name:"Generic",props:{isVisible:{type:Boolean,default:!1,required:!0},message:{type:String,default:"",required:!0}}},o=s,l=(a("b206"),a("bdd7")),c=Object(l["a"])(o,r,n,!1,null,null,null);t["a"]=c.exports},3035:function(e,t,a){"use strict";a.d(t,"c",(function(){return o})),a.d(t,"b",(function(){return l})),a.d(t,"a",(function(){return c}));var r=a("db0a"),n=(a("833b"),a("1dba")),i=a.n(n),s="http://localhost:3000/local/genome-solidify-api-svc/",o=function(){var e=Object(r["a"])(regeneratorRuntime.mark((function e(t,a){var r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,i.a.post(s+t,a).then((function(e){return r=e.data.tasks,r}));case 2:return e.abrupt("return",r);case 3:case"end":return e.stop()}}),e)})));return function(t,a){return e.apply(this,arguments)}}(),l=function(){var e=Object(r["a"])(regeneratorRuntime.mark((function e(t,a){var r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,i.a.post(s+t,a).then((function(e){return r=e.data,r}));case 2:return e.abrupt("return",r);case 3:case"end":return e.stop()}}),e)})));return function(t,a){return e.apply(this,arguments)}}(),c=function(){var e=Object(r["a"])(regeneratorRuntime.mark((function e(t,a){var r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,i.a.post(s+t,a).then((function(e){return r=e.data,r}));case 2:return e.abrupt("return",r);case 3:case"end":return e.stop()}}),e)})));return function(t,a){return e.apply(this,arguments)}}()},3221:function(e,t,a){var r=a("bca0");e.exports=function(e,t){return new(r(e))(0===t?0:t)}},4544:function(e,t,a){var r=a("ef47");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var n=a("c69b").default;n("16d0f385",r,!0,{sourceMap:!1,shadowMode:!1})},5639:function(e,t,a){var r=a("a8d8");t=r(!1),t.push([e.i,'.ul-nav ul[data-v-6f328274]{display:flex;width:100%}.ul-nav ul li.active[data-v-6f328274]{background:#00adcf!important;color:#fff!important}.ul-nav ul li[data-v-6f328274]:before{content:"";background:#fff;width:31px;height:32px;position:absolute;z-index:0;left:-16px;top:5px;transform:rotate(45deg);border-top:1px solid #d9d9d9;border-right:1px solid #d9d9d9}.ul-nav ul li[data-v-6f328274]{color:#707070!important;margin-right:2px!important;list-style:none;flex:1;padding:10px;text-align:center;position:relative;border-width:1px 0 1px 1px;border-style:solid;border-color:#d9d9d9;background-color:#eee;color:#979797;font-size:16px;min-width:175px;margin:8px 10px}.ul-nav ul li[data-v-6f328274]:after{content:"";background:inherit;width:31px;height:32px;position:absolute;z-index:1;right:-16px;top:5px;transform:rotate(45deg);border-top:1px solid #d9d9d9;border-right:1px solid #d9d9d9}.ul-nav ul li[data-v-6f328274]{padding-left:20px!important}.box-overflow1[data-v-6f328274]{max-height:68vh;overflow-y:auto}@media screen and (max-width:768px){.ul-nav[data-v-6f328274]{overflow-x:scroll}.box-overflow1[data-v-6f328274]{max-height:none;overflow-y:auto}}',""]),e.exports=t},"56c6":function(e,t,a){var r=a("694f");t.f=r},"5b2d":function(e,t,a){var r=a("5639");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var n=a("c69b").default;n("41fd56e9",r,!0,{sourceMap:!1,shadowMode:!1})},6629:function(e,t,a){var r=a("6ced");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var n=a("c69b").default;n("151b1d49",r,!0,{sourceMap:!1,shadowMode:!1})},"6ced":function(e,t,a){var r=a("a8d8");t=r(!1),t.push([e.i,".modal-overlay{position:fixed;top:0;bottom:0;left:0;right:0;display:flex;justify-content:center;background-color:rgba(0,0,0,.8549019607843137)}.modal{text-align:center;background-color:#fff;height:200px;width:500px;margin-top:10%;padding:40px 0}p{font-size:16px;margin:20px 0}.modal-fade-enter,.modal-fade-leave-to{opacity:0}.modal-fade-enter-active,.modal-fade-leave-active{transition:opacity .5s ease}",""]),e.exports=t},"6dd5":function(e,t,a){var r=a("e593"),n=a("618b"),i=a("56c6"),s=a("8f3e").f;e.exports=function(e){var t=r.Symbol||(r.Symbol={});n(t,e)||s(t,e,{value:i.f(e)})}},"70a4":function(e,t,a){"use strict";a("4544")},"7a4a":function(e,t,a){var r=a("d615"),n=a("4fbd"),i=a("b80e").f,s=a("845b"),o="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],l=function(e){try{return i(e)}catch(t){return s(o)}};e.exports.f=function(e){return o&&"Window"==r(e)?l(e):i(n(e))}},"845b":function(e,t,a){var r=a("f22b"),n=a("2ec5"),i=a("89f3"),s=a("208d"),o=r.Array,l=Math.max;e.exports=function(e,t,a){for(var r=i(e),c=n(t,r),u=n(void 0===a?r:a,r),d=o(l(u-c,0)),f=0;c<u;c++,f++)s(d,f,e[c]);return d.length=f,d}},a884:function(e,t){e.exports="data:image/png;base64,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"},ae82:function(e,t,a){"use strict";var r=a("5a65"),n=a("6f17"),i=a("f22b"),s=a("5e11"),o=a("618b"),l=a("ddc7"),c=a("7eb7"),u=a("dd70"),d=a("8f3e").f,f=a("a137"),p=i.Symbol,v=p&&p.prototype;if(n&&l(p)&&(!("description"in v)||void 0!==p().description)){var m={},b=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:u(arguments[0]),t=c(v,this)?new p(e):void 0===e?p():p(e);return""===e&&(m[t]=!0),t};f(b,p),b.prototype=v,v.constructor=b;var g="Symbol(test)"==String(p("test")),h=s(v.toString),x=s(v.valueOf),y=/^Symbol\((.*)\)[^)]+$/,k=s("".replace),_=s("".slice);d(v,"description",{configurable:!0,get:function(){var e=x(this),t=h(e);if(o(m,e))return"";var a=g?_(t,7,-1):k(t,y,"$1");return""===a?void 0:a}}),r({global:!0,forced:!0},{Symbol:b})}},b206:function(e,t,a){"use strict";a("6629")},b781:function(e,t,a){var r=a("fee6"),n=a("5e11"),i=a("493d"),s=a("d210"),o=a("89f3"),l=a("3221"),c=n([].push),u=function(e){var t=1==e,a=2==e,n=3==e,u=4==e,d=6==e,f=7==e,p=5==e||d;return function(v,m,b,g){for(var h,x,y=s(v),k=i(y),_=r(m,b),w=o(k),j=0,O=g||l,C=t?O(v,w):a||f?O(v,0):void 0;w>j;j++)if((p||j in k)&&(h=k[j],x=_(h,j,y),e))if(t)C[j]=x;else if(x)switch(e){case 3:return!0;case 5:return h;case 6:return j;case 2:c(C,h)}else switch(e){case 4:return!1;case 7:c(C,h)}return d?-1:n||u?u:C}};e.exports={forEach:u(0),map:u(1),filter:u(2),some:u(3),every:u(4),find:u(5),findIndex:u(6),filterReject:u(7)}},bca0:function(e,t,a){var r=a("f22b"),n=a("0d01"),i=a("e1c4"),s=a("5c0e"),o=a("694f"),l=o("species"),c=r.Array;e.exports=function(e){var t;return n(e)&&(t=e.constructor,i(t)&&(t===c||n(t.prototype))?t=void 0:s(t)&&(t=t[l],null===t&&(t=void 0))),void 0===t?c:t}},dddb:function(e,t,a){"use strict";var r=a("5a65"),n=a("f22b"),i=a("c7de"),s=a("0789"),o=a("f882"),l=a("5e11"),c=a("743a"),u=a("6f17"),d=a("d54e"),f=a("82b9"),p=a("618b"),v=a("0d01"),m=a("ddc7"),b=a("5c0e"),g=a("7eb7"),h=a("de04"),x=a("04a8"),y=a("d210"),k=a("4fbd"),_=a("d063"),w=a("dd70"),j=a("2e7c"),O=a("1fc8"),C=a("5483"),S=a("b80e"),R=a("7a4a"),A=a("e92d"),I=a("2307"),T=a("8f3e"),E=a("8a5c"),L=a("9baf"),M=a("6a32"),D=a("b426"),N=a("772e"),U=a("0bbf"),G=a("aa68"),P=a("9332"),J=a("694f"),V=a("56c6"),z=a("6dd5"),q=a("320f"),W=a("8d2f"),Y=a("b781").forEach,B=U("hidden"),Z="Symbol",X="prototype",H=J("toPrimitive"),F=W.set,K=W.getterFor(Z),Q=Object[X],$=n.Symbol,ee=$&&$[X],te=n.TypeError,ae=n.QObject,re=i("JSON","stringify"),ne=I.f,ie=T.f,se=R.f,oe=L.f,le=l([].push),ce=N("symbols"),ue=N("op-symbols"),de=N("string-to-symbol-registry"),fe=N("symbol-to-string-registry"),pe=N("wks"),ve=!ae||!ae[X]||!ae[X].findChild,me=u&&f((function(){return 7!=O(ie({},"a",{get:function(){return ie(this,"a",{value:7}).a}})).a}))?function(e,t,a){var r=ne(Q,t);r&&delete Q[t],ie(e,t,a),r&&e!==Q&&ie(Q,t,r)}:ie,be=function(e,t){var a=ce[e]=O(ee);return F(a,{type:Z,tag:e,description:t}),u||(a.description=t),a},ge=function(e,t,a){e===Q&&ge(ue,t,a),x(e);var r=_(t);return x(a),p(ce,r)?(a.enumerable?(p(e,B)&&e[B][r]&&(e[B][r]=!1),a=O(a,{enumerable:j(0,!1)})):(p(e,B)||ie(e,B,j(1,{})),e[B][r]=!0),me(e,r,a)):ie(e,r,a)},he=function(e,t){x(e);var a=k(t),r=C(a).concat(we(a));return Y(r,(function(t){u&&!o(ye,a,t)||ge(e,t,a[t])})),e},xe=function(e,t){return void 0===t?O(e):he(O(e),t)},ye=function(e){var t=_(e),a=o(oe,this,t);return!(this===Q&&p(ce,t)&&!p(ue,t))&&(!(a||!p(this,t)||!p(ce,t)||p(this,B)&&this[B][t])||a)},ke=function(e,t){var a=k(e),r=_(t);if(a!==Q||!p(ce,r)||p(ue,r)){var n=ne(a,r);return!n||!p(ce,r)||p(a,B)&&a[B][r]||(n.enumerable=!0),n}},_e=function(e){var t=se(k(e)),a=[];return Y(t,(function(e){p(ce,e)||p(G,e)||le(a,e)})),a},we=function(e){var t=e===Q,a=se(t?ue:k(e)),r=[];return Y(a,(function(e){!p(ce,e)||t&&!p(Q,e)||le(r,ce[e])})),r};if(d||($=function(){if(g(ee,this))throw te("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?w(arguments[0]):void 0,t=P(e),a=function(e){this===Q&&o(a,ue,e),p(this,B)&&p(this[B],t)&&(this[B][t]=!1),me(this,t,j(1,e))};return u&&ve&&me(Q,t,{configurable:!0,set:a}),be(t,e)},ee=$[X],D(ee,"toString",(function(){return K(this).tag})),D($,"withoutSetter",(function(e){return be(P(e),e)})),L.f=ye,T.f=ge,E.f=he,I.f=ke,S.f=R.f=_e,A.f=we,V.f=function(e){return be(J(e),e)},u&&(ie(ee,"description",{configurable:!0,get:function(){return K(this).description}}),c||D(Q,"propertyIsEnumerable",ye,{unsafe:!0}))),r({global:!0,wrap:!0,forced:!d,sham:!d},{Symbol:$}),Y(C(pe),(function(e){z(e)})),r({target:Z,stat:!0,forced:!d},{for:function(e){var t=w(e);if(p(de,t))return de[t];var a=$(t);return de[t]=a,fe[a]=t,a},keyFor:function(e){if(!h(e))throw te(e+" is not a symbol");if(p(fe,e))return fe[e]},useSetter:function(){ve=!0},useSimple:function(){ve=!1}}),r({target:"Object",stat:!0,forced:!d,sham:!u},{create:xe,defineProperty:ge,defineProperties:he,getOwnPropertyDescriptor:ke}),r({target:"Object",stat:!0,forced:!d},{getOwnPropertyNames:_e,getOwnPropertySymbols:we}),r({target:"Object",stat:!0,forced:f((function(){A.f(1)}))},{getOwnPropertySymbols:function(e){return A.f(y(e))}}),re){var je=!d||f((function(){var e=$();return"[null]"!=re([e])||"{}"!=re({a:e})||"{}"!=re(Object(e))}));r({target:"JSON",stat:!0,forced:je},{stringify:function(e,t,a){var r=M(arguments),n=t;if((b(t)||void 0!==e)&&!h(e))return v(t)||(t=function(e,t){if(m(n)&&(t=o(n,this,e,t)),!h(t))return t}),r[1]=t,s(re,null,r)}})}if(!ee[H]){var Oe=ee.valueOf;D(ee,H,(function(e){return o(Oe,this)}))}q($,Z),G[B]=!0},e593:function(e,t,a){var r=a("f22b");e.exports=r},e863:function(e,t,a){"use strict";a.r(t);var r=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"containers mx-auto allBoxImg mt-10"},[r("div",{staticClass:"flex"},[r("div",{staticClass:"w-full pt-12"},[r("div",{staticClass:"md:px-0 lg:px-0 px-6 flex"},[r("div",{staticClass:"text-blue-900 md:text-right lg:text-right lg:text-3xl md:text-3xl text-2xl my-2 w-3/5"},[e._v(e._s(e.profName)+" - "+e._s(e.skillName)+" Solidify")]),r("div",{staticClass:"text-right my-2 w-2/5 pr-0 lg:pr-24 md:pr-24"},[r("a",{attrs:{href:e.helpmateLink,target:"_blank"}},[r("img",{staticClass:"ml-auto",attrs:{src:a("a884")}})])])]),e._m(0),r("Generic",{attrs:{"is-visible":e.modalVisible,message:e.modalMessage}}),r("div",{staticClass:"box-overflow1 mx-4 lg:mx-24 md:mx-24 lg:mt-6 md:mt-6 mt-3"},[r("div",{staticClass:"block mt-4"},[r("div",{staticClass:"text-gray-600"},[r("div",[r("p",[e._v(" Proficiency: "),r("strong",[e._v(e._s(e.profName))])]),r("p",{staticClass:"mt-2"},[e._v(" Skill: "),r("strong",[e._v(e._s(e.skillName))])]),e._m(1),e._m(2),e._m(3),e._m(4),e._m(5),e._m(6)]),r("div",{staticClass:"mt-3"},[r("label",[r("input",{attrs:{type:"checkbox"},on:{change:function(t){return e.setButtonEnable(t)}}}),e._v(" I confirm that i have read and will abide by the Plagiarism statement.")])]),r("div",{staticClass:"mt-4"},[r("p",{staticClass:"mt-2"},[r("strong",[e._v("Task Name: ")]),e._v(e._s(e.taskName))]),e._m(7),r("div",{staticClass:"mt-2",domProps:{innerHTML:e._s(e.taskDesc)}})]),"Desktop"===e.taskType?r("div",{staticClass:"mt-4"},[e._m(8),e._m(9),e._m(10),e._m(11),r("p",{staticClass:"mt-1"},[e._v("Maximum file size: 200 MB")]),r("div",{staticClass:"flex"},[r("input",{key:e.fileInputKey,attrs:{type:"file"},on:{change:e.selectedFile}}),e._v(" "),e.learnerSubmission?r("x-icon",{attrs:{size:"1.5x"},on:{click:function(t){return e.clearFile()}}}):e._e()],1)]):e._e(),"Mobile"===e.taskType?r("div",{staticClass:"pt-12"},[r("textarea",{directives:[{name:"model",rawName:"v-model",value:e.learnerSubmission,expression:"learnerSubmission"}],staticClass:"w-full px-3 py-1.5 text-base font-normal text-gray-700 bg-white bg-clip-padding border border-solid border-gray-300 ease-in-out m-0 focus:text-gray-700 focus:bg-white focus:border-blue-600 focus:outline-none",attrs:{id:"exampleFormControlTextarea1",rows:"3",placeholder:"Your message"},domProps:{value:e.learnerSubmission},on:{input:function(t){t.target.composing||(e.learnerSubmission=t.target.value)}}})]):e._e(),e.fileValidationMsg?r("span",{staticClass:"text-red-700"},[e._v(e._s(e.fileValidationMsg))]):e._e()])]),r("div",{staticClass:"block text-center pt-12"},[e._m(12),r("div",{staticClass:"mb-4 text-center"},[r("button",{staticClass:"inline-block mt-2 py-2 px-4 border border-blue-900 bg-white-500 text-gray-500 shadow-md hover:bg-blue-700 hover:text-white focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75",on:{click:e.switchTask}},[e._v(" Select Different Task ")]),r("button",{staticClass:"ml-2 mr-2 inline-block mt-2 py-2 px-4 bg-gray-500 text-white shadow-md hover:bg-blue-700 focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75",class:e.buttonDisable?"bg-gray-500 cursor-not-allowed":"bg-background-secondary",attrs:{disabled:e.buttonDisable},on:{click:e.submitSubmiision}},[e._v(" Submit Task ")]),r("button",{staticClass:"inline-block mt-2 py-2 px-4 border border-blue-900 bg-white-500 text-gray-500 shadow-md hover:bg-blue-700 hover:text-white focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75",on:{click:function(t){return e.restart()}}},[e._v(" Restart Solidify ")])])])])],1)])])},n=[function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"flex md:flex mt-6 mx-6 lg:pl-16 md:pl-16 lg:pr-24 md:pr-24 px-0 block"},[a("div",{staticClass:"ul-nav w-full"},[a("ul",[a("li",{staticClass:"active"},[e._v("Home")]),a("li",{staticClass:"active"},[e._v("Select Task")]),a("li",{staticClass:"active"},[e._v("Submit")]),a("li",[e._v("Peer Reviews")]),a("li",[e._v("Under Review")]),a("li",[e._v("Done!")])])])])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("p",{staticClass:"mt-3"},[e._v("Please submit your task by uploading it via the "),a("strong",[e._v("Choose File")]),e._v(" button. Once the task has been uploaded, "),a("strong",[e._v("Submit ")]),e._v("to proceed to peer reviews.")])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("p",{staticClass:"mt-2"},[e._v(" You can only submit "),a("strong",[e._v("one file")]),e._v(", but feel free to use links in the file you submit. You can submit a word, ppt, excel, .txt or video. The maximum file size is "),a("strong",[e._v("200MB")]),e._v(". A larger file may take more time to upload, please be patient and do not click refresh until the page finishes loading. ")])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("p",{staticClass:"mt-2"},[e._v("You must work on the task by yourself, and your submission must be in "),a("strong",[e._v("English ")]),e._v("only.")])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("p",{staticClass:"mt-2"},[a("strong",[e._v("Be sure not to use any client or Genpact confidential materials")]),e._v(". By submitting a task, you are certifying that your work follows the guidelines in the plagiarism statement below")])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("p",{staticClass:"mt-2"},[a("strong",[e._v("Plagiarism Statement:")])])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("ul",{staticClass:"mt-2 list-disc pl-8"},[a("li",[e._v(" I hereby "),a("strong",[e._v("certify that this task submission is my own work, based on my personal study and/or research")]),e._v(". I also certify that "),a("strong",[e._v("I have not copied this from")]),e._v(" anywhere or anyone including work submitted by "),a("strong",[e._v("my colleagues and team members and materials found on internet")]),e._v(". ")]),a("li",[e._v("I understand Plagiarism is an infringement of other's work and is a violation of company's code of conduct which will lead to unsuccessful completion of solidify as well as disciplinary action.")])])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("p",{staticClass:"mt-2"},[a("strong",[e._v("Task Description:")])])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("p",[a("strong",[e._v("If you don't want to complete this task anymore, ")]),e._v('you can choose another one by clicking "Select Different Task".')])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("p",{staticClass:"mt-2"},[a("strong",[e._v("Upload")]),e._v(' the file you created for this task by clicking on "Submit".')])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("p",{staticClass:"mt-2"},[a("strong",[e._v("If you want to start your Solidify journey again,")]),e._v(" you can do so by clicking “Restart Solidify”")])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("p",{staticClass:"mt-2"},[a("strong",[e._v("Upload the file you created for this task")])])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"pt-4"},[a("p",{staticClass:"text-xl"},[a("em",[e._v("Please don't click the browser back button")])])])}],i=a("db0a"),s=(a("75b8"),a("dddb"),a("ae82"),a("833b"),a("7b9b")),o=a("949b"),l=a("2c72"),c=a("1dba"),u=a.n(c),d="http://localhost:3000/local/genome-solidify-api-svc/",f=function(){var e=Object(i["a"])(regeneratorRuntime.mark((function e(t,a){var r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,u.a.post(d+t,a).then((function(e){return console.log("prsigned Response",e),r=e.data,r}));case 3:return e.abrupt("return",r);case 6:return e.prev=6,e.t0=e["catch"](0),e.abrupt("return",e.t0);case 9:case"end":return e.stop()}}),e,null,[[0,6]])})));return function(t,a){return e.apply(this,arguments)}}(),p=function(){var e=Object(i["a"])(regeneratorRuntime.mark((function e(t,a){var r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,u.a.put(t,a).then((function(e){return r=e,r}));case 3:return e.abrupt("return",r);case 6:e.prev=6,e.t0=e["catch"](0),console.error(e.t0);case 9:case"end":return e.stop()}}),e,null,[[0,6]])})));return function(t,a){return e.apply(this,arguments)}}(),v=function(){var e=Object(i["a"])(regeneratorRuntime.mark((function e(t){var a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,u.a.get("".concat(d,"task/").concat(t)).then((function(e){return a=e.data.data,a}));case 3:return e.abrupt("return",a);case 6:return e.prev=6,e.t0=e["catch"](0),e.abrupt("return",e.t0);case 9:case"end":return e.stop()}}),e,null,[[0,6]])})));return function(t){return e.apply(this,arguments)}}(),m=function(){var e=Object(i["a"])(regeneratorRuntime.mark((function e(t,a){var r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,u.a.post(d+t,{learner_task_id:a}).then((function(e){return r=e,r}));case 3:return e.abrupt("return",r);case 6:return e.prev=6,e.t0=e["catch"](0),e.abrupt("return",e.t0);case 9:case"end":return e.stop()}}),e,null,[[0,6]])})));return function(t,a){return e.apply(this,arguments)}}(),b=function(){var e=Object(i["a"])(regeneratorRuntime.mark((function e(t,a){var r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,u.a.post(d+t,a).then((function(e){return r=e,r}));case 3:return e.abrupt("return",r);case 6:e.prev=6,e.t0=e["catch"](0),console.log("Error in updating Learner Submission ".concat(e.t0));case 9:case"end":return e.stop()}}),e,null,[[0,6]])})));return function(t,a){return e.apply(this,arguments)}}(),g=a("3035"),h=a("afbc"),x=Object(s["b"])({name:"LearnerSubmitTask",components:{Generic:l["a"],XIcon:o["g"]},props:["query"],setup:function(e){var t=Object(s["f"])(e.query.linked_task_id),a=Object(s["f"])(e.query.learner_task_id),r=Object(s["f"])(e.query.program_id),n=Object(s["f"])(),o=Object(s["f"])(),l=Object(s["f"])(),c=Object(s["f"])(),u=Object(s["f"])(),d=Object(s["f"])(),x=Object(s["f"])(localStorage.getItem("skillName")),y=Object(s["f"])(localStorage.getItem("profName")),k=Object(s["f"])(null),_=Object(s["f"])(),w=Object(s["f"])(),j=Object(s["f"])(),O=Object(s["f"])(!0),C=Object(s["f"])(),S=Object(s["f"])(!1),R=Object(s["f"])(),A=Object(s["f"])(0),I=Object(s["f"])(localStorage.getItem("helpmateLink")),T=Object(s["f"])(),E=function(){var e=Object(i["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:A.value+=1,console.log("before ".concat(w.value)),w.value=null,console.log("after ".concat(w.value));case 4:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),L=function(e){var t=e.target.checked;!0===t?(O.value=!1,console.log(O.value)):(O.value=!0,console.log(O.value))},M=function(){var e=Object(i["a"])(regeneratorRuntime.mark((function e(t){var r,n,i;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(e.prev=0,k.value=t.target.files[0],w.value=t.target.files[0].name,r=t.target.files[0].size/1024/1024,!(r>200)){e.next=8;break}_.value="fileSize greater than 200 MB",e.next=13;break;case 8:return n={file_name:w.value,learner_task_id:a.value},e.next=11,f("v1/pretAuthUrlForUpload",n);case 11:i=e.sent,j.value=i.preSignedUrl;case 13:e.next=18;break;case 15:e.prev=15,e.t0=e["catch"](0),console.log(e.t0);case 18:case"end":return e.stop()}}),e,null,[[0,15]])})));return function(t){return e.apply(this,arguments)}}(),D=function(){var e=Object(i["a"])(regeneratorRuntime.mark((function e(){var t,r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(e.prev=0,console.log("learner Submission inside if submit function",w.value),w.value){e.next=7;break}console.log("learner Submission inside if condition",w.value),"Mobile"===u.value?w.value||(_.value="please Enter Submission",console.log("inside Mobile Type"),setTimeout((function(){_.value=null}),6e3)):"Desktop"===u.value&&(w.value||(_.value="please select File",setTimeout((function(){_.value=null}),6e3))),e.next=17;break;case 7:if(console.log("learner Submission inside if else function",w.value),t={learner_submission:w.value,learner_task_id:a.value,skill:n.value,proficiency:o.value,linked_program_name:d.value,task_type:u.value,assinged_reviewer_count:0},"Desktop"!==u.value){e.next=12;break}return e.next=12,p(j.value,k.value);case 12:return e.next=14,b("v1/uploadLearnerSubmission",t);case 14:r=e.sent,console.log("updateSubmission",r),200===r.status?h["a"].push({path:"peerReview",query:{learner_task_id:t.learner_task_id}}):(S.value=!0,R.value="There is issue in the file upload");case 17:e.next=22;break;case 19:e.prev=19,e.t0=e["catch"](0),console.log("error ".concat(e.t0));case 22:case"end":return e.stop()}}),e,null,[[0,19]])})));return function(){return e.apply(this,arguments)}}(),N=function(){var e=Object(i["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:try{"Registered"!==T.value?(console.log("inside if ".concat(T.value)),S.value=!0,R.value="Learner Status is not registered"):h["a"].push({name:"SolidifyLearnerSelectTask",query:{skill_id:n.value,proficiency_id:o.value,program_id:r.value}})}catch(t){S.value=!0,R.value="There is an issue with the switching"}case 1:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),U=function(){var e=Object(i["a"])(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(e.prev=0,"Registered"===T.value){e.next=7;break}console.log("inside if ".concat(T.value)),S.value=!0,R.value="Learner Status is not registered",e.next=13;break;case 7:return console.log("inside else"),e.next=10,m("v1/restartLearnerJourney",a.value);case 10:t=e.sent,console.log("restartLearnerJourney",t),t?(S.value=!0,R.value="your task removed successfully, you can restart journey again from Edcast"):(S.value=!0,R.value="There is an issue in the restart Journey");case 13:e.next=19;break;case 15:e.prev=15,e.t0=e["catch"](0),S.value=!0,R.value="There is an issue in the restart Journey ".concat(e.t0);case 19:case"end":return e.stop()}}),e,null,[[0,15]])})));return function(){return e.apply(this,arguments)}}(),G=function(){var e=Object(i["a"])(regeneratorRuntime.mark((function e(){var a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,v(t.value);case 2:a=e.sent,a?(u.value=a.task_type,l.value=a.task_name,c.value=a.description,n.value=a.skill,o.value=a.proficiency,d.value=a.linked_task_group):(S.value=!0,R.value="There is an issue to fetch task");case 4:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return Object(s["c"])(Object(i["a"])(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,G();case 3:return e.next=5,Object(g["a"])("learner/journey/stat",{skill:n.value,proficiency:o.value});case 5:t=e.sent,t.learnerData&&("Registered"!==t.learnerData.learner_status?(S.value=!0,R.value="Your task is already submitted, can not submit again"):T.value=t.learnerData.learner_status),e.next=13;break;case 9:e.prev=9,e.t0=e["catch"](0),S.value=!0,R.value="There is an issue to fetch existing record";case 13:case"end":return e.stop()}}),e,null,[[0,9]])})))),{learnerSubmissionFile:k,skillName:x,profName:y,skillId:n,proficiencyId:o,programId:r,taskType:u,taskName:l,taskDesc:c,linkedTask:d,submitSubmiision:D,learnerSubmission:w,selectedFile:M,fileValidationMsg:_,restart:U,switchTask:N,learnerTaskId:a,preSignedUrl:j,buttonDisable:O,setButtonEnable:L,validationError:C,modalVisible:S,modalMessage:R,clearFile:E,fileInputKey:A,helpmateLink:I,learnerStatus:T}}}),y=x,k=(a("70a4"),a("bdd7")),_=Object(k["a"])(y,r,n,!1,null,"0375d478",null);t["default"]=_.exports},ef47:function(e,t,a){var r=a("a8d8");t=r(!1),t.push([e.i,'.ul-nav ul[data-v-0375d478]{display:flex;width:100%}.ul-nav ul li.active[data-v-0375d478]{background:#00adcf!important;color:#fff!important}.ul-nav ul li[data-v-0375d478]:before{content:"";background:#fff;width:31px;height:32px;position:absolute;z-index:0;left:-16px;top:5px;transform:rotate(45deg);border-top:1px solid #d9d9d9;border-right:1px solid #d9d9d9}.ul-nav ul li[data-v-0375d478]{color:#707070!important;margin-right:2px!important;list-style:none;flex:1;padding:10px;text-align:center;position:relative;border-width:1px 0 1px 1px;border-style:solid;border-color:#d9d9d9;background-color:#eee;color:#979797;font-size:16px;min-width:175px;margin:8px 10px}.ul-nav ul li[data-v-0375d478]:after{content:"";background:inherit;width:31px;height:32px;position:absolute;z-index:1;right:-16px;top:5px;transform:rotate(45deg);border-top:1px solid #d9d9d9;border-right:1px solid #d9d9d9}.ul-nav ul li[data-v-0375d478]{padding-left:20px!important}.box-overflow1[data-v-0375d478]{max-height:68vh;overflow-y:auto}@media screen and (max-width:768px){.ul-nav[data-v-0375d478]{overflow-x:scroll}.box-overflow1[data-v-0375d478]{max-height:none;overflow-y:auto}}',""]),e.exports=t},f475:function(e,t,a){"use strict";a("5b2d")},fdb9:function(e,t,a){"use strict";a.r(t);var r=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"containers mx-auto allBoxImg mt-10"},[r("div",{staticClass:"flex"},[r("div",{staticClass:"w-full pt-12"},[r("div",{staticClass:"md:px-0 lg:px-0 px-6 flex"},[r("div",{staticClass:"text-blue-900 md:text-right lg:text-right lg:text-3xl md:text-3xl text-2xl my-2 w-3/5"},[e._v(e._s(e.profName)+" - "+e._s(e.skillName)+" Solidify")]),r("div",{staticClass:"text-right my-2 w-2/5 pr-0 lg:pr-24 md:pr-24"},[r("a",{attrs:{href:e.helpmateLink,target:"_blank"}},[r("img",{staticClass:"ml-auto",attrs:{src:a("a884")}})])])]),e._m(0),r("Generic",{attrs:{"is-visible":e.modalVisible,message:e.modalMessage}}),r("div",{staticClass:"box-overflow1 mx-4 lg:mx-24 md:mx-24 lg:mt-6 md:mt-6 mt-3"},[r("div",{staticClass:"block mt-4"},[r("div",{staticClass:"text-gray-500"},[r("p",[e._v(" Proficiency: "),r("strong",[e._v(e._s(e.profName))])]),r("p",{staticClass:"mt-2"},[e._v(" Skill: "),r("strong",[e._v(e._s(e.skillName))])]),e._m(1),e._m(2)]),r("div",{staticClass:"lg:flex md:flex block mt-4"},[r("div",{staticClass:"pt-6 lg:w-1/2 md:w-1/2 lg:pr-12 md:pr-12"},[r("table",{staticClass:"table-auto border-collapse border border-gray-400 w-full"},[e._m(3),r("tbody",e._l(e.rows,(function(t){return r("tr",{key:t.task_id,staticClass:"border border-gray-400 text-blue-900"},[r("td",{staticClass:"p-2"},[r("input",{directives:[{name:"model",rawName:"v-model",value:e.additional,expression:"additional"}],attrs:{type:"checkbox",id:"check_id"},domProps:{value:t.task_id,checked:Array.isArray(e.additional)?e._i(e.additional,t.task_id)>-1:e.additional},on:{change:[function(a){var r=e.additional,n=a.target,i=!!n.checked;if(Array.isArray(r)){var s=t.task_id,o=e._i(r,s);n.checked?o<0&&(e.additional=r.concat([s])):o>-1&&(e.additional=r.slice(0,o).concat(r.slice(o+1)))}else e.additional=i},function(a){return e.setTaskDesc(t.task_name,t.description,a)}],click:e.checkOne}}),e._v(" "+e._s(t.task_name))]),r("td",{staticClass:"p-2"},[e._v(e._s(t.task_type))])])})),0)])]),r("div",{staticClass:"pt-6 text-gray-700 lg:w-1/2 md:w-1/2"},[r("p",{directives:[{name:"show",rawName:"v-show",value:e.taskName,expression:"taskName"}]},[e._m(4),r("span",{staticStyle:{color:"#707070"}},[e._v(e._s(e.taskName))])]),r("p",{directives:[{name:"show",rawName:"v-show",value:e.taskDesc,expression:"taskDesc"}],staticClass:"mt-2"},[r("strong",[e._v("Task Description:")])]),r("div",{staticClass:"mt-2",domProps:{innerHTML:e._s(e.taskDesc)}})])])]),r("div",{staticClass:"block mt-4"},[r("div",{staticClass:"text-gray-600"},[r("p",[e._v("Enter the work email address that we can use to notify you of your progress. If you don't have a Genpact email address, please use the client email or another email that you use.")]),r("input",{directives:[{name:"model",rawName:"v-model",value:e.email,expression:"email"}],staticClass:"appearance-none border lg:w-2/4 md:w-2/4 w-full py-2 px-3 text-gray-500 leading-tight focus:outline-none focus:shadow-outline",attrs:{type:"text"},domProps:{value:e.email},on:{input:function(t){t.target.composing||(e.email=t.target.value)}}}),e.emailValidationMsg?r("div",{staticClass:"ui basic label pointing red"},[r("span",{staticClass:"text-red-700"},[e._v(e._s(e.emailValidationMsg)+" ")])]):e._e()]),r("div",{staticClass:"mt-6 mb-6 text-center"},[r("router-link",{staticClass:"py-2 px-4 border border-blue-900 bg-white-500 text-gray-500 shadow-md hover:bg-blue-700 hover:text-white focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75 mr-2",attrs:{to:{name:"SolidifyLearner",query:{skill_id:e.skillId.value,proficiency_id:e.profId.value,program_id:e.programId.value}}}},[e._v(" Back ")]),r("button",{staticClass:"mt-2 inline-block py-2 px-4 text-white shadow-md",class:e.buttonDisable?"bg-gray-500 cursor-not-allowed":"bg-background-secondary",attrs:{disabled:e.buttonDisable},on:{click:function(t){return e.createLearner()}}},[e._v("Select Task")])],1)])])],1)])])},n=[function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"flex md:flex mt-6 mx-6 lg:px-16 md:px-16 px-0 block"},[a("div",{staticClass:"ul-nav"},[a("ul",[a("li",{staticClass:"active"},[e._v("Home")]),a("li",{staticClass:"active"},[e._v("Select Task")]),a("li",[e._v("Submit")]),a("li",[e._v("Peer Reviews")]),a("li",[e._v("Under Review")]),a("li",[e._v("Done!")])])])])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("p",{staticClass:"mt-3"},[a("strong",[e._v("Instructions:")])])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("ul",{staticClass:"list-disc pl-8 mt1"},[a("li",[e._v("Select "),a("strong",[e._v("one task")]),e._v(" from the list below. If you are working in a client-restricted environment and cannot upload a task, please select a mobile task from the list.")]),a("li",[e._v("Read the task description and submit your task in "),a("strong",[e._v("English only")]),e._v(".")]),a("li",[e._v("Remember not to use any client or Genpact confidential materials in your submission.")]),a("li",[e._v("You must adhere to "),a("strong",[e._v("Genpact's policies around plagiarism")]),e._v(". You must work on the task by yourself and not copy from anyone or anywhere.")])])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("thead",[a("tr",{staticClass:"border border-gray-400 text-gray-500"},[a("th",{staticClass:"p-2 text-left"},[e._v("Lerning Task")]),a("th",{staticClass:"p-2 text-left"},[e._v("Type of Task")])])])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("span",{staticClass:"text-xl"},[a("strong",[e._v("Task Name: ")])])}],i=a("db0a"),s=(a("833b"),a("7b9b")),o=a("2c72"),l=a("3035"),c=a("afbc"),u=Object(s["b"])({name:"LearnerSelectTask",props:["query"],components:{Generic:o["a"]},setup:function(e){var t=Object(s["f"])(localStorage.getItem("skillName")),a=Object(s["f"])(localStorage.getItem("profName")),r=Object(s["f"])(localStorage.getItem("skillId")),n=Object(s["f"])(localStorage.getItem("profId")),o=Object(s["f"])(localStorage.getItem("programId")),u=Object(s["f"])(),d=Object(s["f"])(),f=Object(s["f"])(),p=Object(s["f"])([]),v=Object(s["f"])(null),m=Object(s["f"])(),b=Object(s["f"])(!0),g=Object(s["f"])(!1),h=Object(s["f"])(),x=Object(s["f"])(localStorage.getItem("helpmateLink")),y=Object(s["f"])(),k=function(){p.value=[]},_=function(e,t,a){var r=a.target.checked;!0===r?(b.value=!1,d.value=e,f.value=t):(b.value=!0,d.value=null,f.value=null)},w=function(){var t=Object(i["a"])(regeneratorRuntime.mark((function t(){var a,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(t.prev=0,v.value){t.next=6;break}m.value="Please enter an email address",setTimeout((function(){m.value=null}),6e3),t.next=12;break;case 6:return a={email:v.value,linked_task_id:p.value[0],skill_id:e.query.skill_id,proficiency_id:e.query.proficiency_id,program_id:e.query.program_id},y.value&&Object.assign(a,{learner_task_id:y.value}),t.next=10,Object(l["b"])("v1/createLearnerActivities",a);case 10:r=t.sent,!1===r.emailValidation?(m.value="Enter Valid Email",setTimeout((function(){m.value=null}),6e3)):c["a"].push({path:"submitTask",query:{learner_task_id:r.learnerTaskId,linked_task_id:a.linked_task_id,program_id:a.program_id}});case 12:t.next=18;break;case 14:t.prev=14,t.t0=t["catch"](0),g.value=!0,h.value="Error in creating ".concat(t.t0);case 18:case"end":return t.stop()}}),t,null,[[0,14]])})));return function(){return t.apply(this,arguments)}}(),j=function(){var e=Object(i["a"])(regeneratorRuntime.mark((function e(t){var a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,Object(l["c"])("task/search",t);case 3:a=e.sent,0===a.length?(g.value=!0,h.value="There is no task available for this skill and proficiency"):u.value=a,e.next=11;break;case 7:e.prev=7,e.t0=e["catch"](0),g.value=!0,h.value="There is an issue to fetch task record";case 11:case"end":return e.stop()}}),e,null,[[0,7]])})));return function(t){return e.apply(this,arguments)}}();return Object(s["c"])(Object(i["a"])(regeneratorRuntime.mark((function t(){var a,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,a={skill:e.query.skill_id,proficiency:e.query.proficiency_id,program_id:e.query.program_id},t.next=4,j(a);case 4:return t.next=6,Object(l["a"])("learner/journey/stat",a);case 6:r=t.sent,r.learnerData&&("Registered"!==r.learnerData.learner_status?(g.value=!0,h.value="Can not register again, already has a journey"):y.value=r.learnerData.learner_task_id),t.next=14;break;case 10:t.prev=10,t.t0=t["catch"](0),g.value=!0,h.value="There is an issue in fetching Data ".concat(t.t0);case 14:case"end":return t.stop()}}),t,null,[[0,10]])})))),{rows:u,skillName:t,profName:a,skillId:r,profId:n,programId:o,taskName:d,taskDesc:f,additional:p,email:v,emailValidationMsg:m,buttonDisable:b,setTaskDesc:_,checkOne:k,createLearner:w,modalVisible:g,modalMessage:h,helpmateLink:x,learnerTaskId:y}}}),d=u,f=(a("f475"),a("bdd7")),p=Object(f["a"])(d,r,n,!1,null,"6f328274",null);t["default"]=p.exports}}]);
1
+ (window["webpackJsonp__@genpact/genome.mfe.solidify-app"]=window["webpackJsonp__@genpact/genome.mfe.solidify-app"]||[]).push([["SolidifyLearnerSelectTask"],{"179d":function(e,t,a){"use strict";a("6e78")},"1d9b":function(e,t,a){var r=a("2ebe");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var n=a("c69b").default;n("ce41dc32",r,!0,{sourceMap:!1,shadowMode:!1})},"26fa":function(e,t,a){"use strict";a("efa5"),a("1498"),a("d0a2");var r=a("1dba"),n=a.n(r),i=a("d9a8");a("c3ba"),a("eed8");function s(e){var t=e.$http,a=localStorage.getItem("accessToken");a?t.defaults.headers.common.Authorization="Bearer ".concat(a):delete t.defaults.headers.common.Authorization}var o=function(e){var t=e.$http;s({$http:t}),t.interceptors.request.use((function(e){return s({$http:t}),e}),(function(e){return Promise.reject(e)})),t.interceptors.response.use((function(e){return e}),(function(e){if(console.warn(e.message,Object(i["a"])({},e)),!e||!e.response||!e.response.config)return window.location.reload(),Promise.reject(e);if(e.response&&e.response.config&&"newRelic"===e.response.config.requestName)return Promise.reject(e);try{e.response&&401===e.response.status?(alert("Oops! Your session expired. Please log in again!"),window.location.reload()):e.response&&e.response.status}catch(t){try{console.warn(t,Object(i["a"])({},t)),console.warn(JSON.stringify(Object(i["a"])({},t)))}catch(a){console.warn(a)}alert("Generic error")}return Promise.reject(e)}))},l="poc",c=window.location.host;"dev.genome.genpact.com"===c?l="dev":"uat.genome.genpact.com"===c?l="uat":"genome.genpact.com"===c?l="prod":c.includes("localhost")&&(l="poc");var u="30d9om5ra9",d="";"dev"===l?u="ja3kjrvzk2":"uat"===l?u="9i65yseef5":"prod"===l&&(u="o695vfezv9"),d="https://".concat(u,".execute-api.ap-south-1.amazonaws.com/").concat(l,"/api/genome/solidify"),console.log(" ".concat(c)),console.log(" ".concat(d)),n.a.defaults.baseURL=d,n.a.defaults.headers.common["x-oauth-config-provider"]="cognito-aps1",o({$http:n.a});t["a"]=n.a},"2c72":function(e,t,a){"use strict";var r=function(){var e=this,t=e.$createElement,a=e._self._c||t;return e.isVisible?a("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"},[a("transition",{attrs:{name:"modal-fade"}},[a("div",{staticClass:"modal-overlay",on:{click:function(t){return e.$emit("close-modal")}}},[a("div",{staticClass:"modal relative",on:{click:function(e){e.stopPropagation()}}},[a("div",{staticClass:"absolute right-0 pr-4 top-5",on:{click:function(t){return e.$emit("close-modal")}}},[a("x-icon",{attrs:{size:"1.5x"}})],1),a("div",{staticClass:"pt-4"},[a("p",{staticClass:"text-gray-500"},[e._v(e._s(e.message))])])])])])],1):e._e()},n=[],i=a("949b"),s={components:{XIcon:i["g"]},name:"Generic",props:{isVisible:{type:Boolean,default:!1,required:!0},message:{type:String,default:"",required:!0}}},o=s,l=(a("b206"),a("bdd7")),c=Object(l["a"])(o,r,n,!1,null,null,null);t["a"]=c.exports},"2ebe":function(e,t,a){var r=a("a8d8");t=r(!1),t.push([e.i,'.ul-nav ul[data-v-6e2e754d]{display:flex;width:100%}.ul-nav ul li.active[data-v-6e2e754d]{background:#00adcf!important;color:#fff!important}.ul-nav ul li[data-v-6e2e754d]:before{content:"";background:#fff;width:31px;height:32px;position:absolute;z-index:0;left:-16px;top:5px;transform:rotate(45deg);border-top:1px solid #d9d9d9;border-right:1px solid #d9d9d9}.ul-nav ul li[data-v-6e2e754d]{color:#707070!important;margin-right:2px!important;list-style:none;flex:1;padding:10px;text-align:center;position:relative;border-width:1px 0 1px 1px;border-style:solid;border-color:#d9d9d9;background-color:#eee;color:#979797;font-size:16px;min-width:175px;margin:8px 10px}.ul-nav ul li[data-v-6e2e754d]:after{content:"";background:inherit;width:31px;height:32px;position:absolute;z-index:1;right:-16px;top:5px;transform:rotate(45deg);border-top:1px solid #d9d9d9;border-right:1px solid #d9d9d9}.ul-nav ul li[data-v-6e2e754d]{padding-left:20px!important}.box-overflow1[data-v-6e2e754d]{max-height:68vh;overflow-y:auto}@media screen and (max-width:768px){.ul-nav[data-v-6e2e754d]{overflow-x:scroll}.box-overflow1[data-v-6e2e754d]{max-height:none;overflow-y:auto}}',""]),e.exports=t},3035:function(e,t,a){"use strict";a.d(t,"c",(function(){return i})),a.d(t,"b",(function(){return s})),a.d(t,"a",(function(){return o}));var r=a("db0a"),n=(a("833b"),a("26fa")),i=function(){var e=Object(r["a"])(regeneratorRuntime.mark((function e(t,a){var r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,n["a"].post(t,a).then((function(e){return r=e.data.tasks,r}));case 2:return e.abrupt("return",r);case 3:case"end":return e.stop()}}),e)})));return function(t,a){return e.apply(this,arguments)}}(),s=function(){var e=Object(r["a"])(regeneratorRuntime.mark((function e(t,a){var r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,n["a"].post(t,a).then((function(e){return r=e.data,r}));case 2:return e.abrupt("return",r);case 3:case"end":return e.stop()}}),e)})));return function(t,a){return e.apply(this,arguments)}}(),o=function(){var e=Object(r["a"])(regeneratorRuntime.mark((function e(t,a){var r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,n["a"].post(t,a).then((function(e){return r=e.data,r}));case 2:return e.abrupt("return",r);case 3:case"end":return e.stop()}}),e)})));return function(t,a){return e.apply(this,arguments)}}()},6629:function(e,t,a){var r=a("6ced");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var n=a("c69b").default;n("151b1d49",r,!0,{sourceMap:!1,shadowMode:!1})},"6ced":function(e,t,a){var r=a("a8d8");t=r(!1),t.push([e.i,".modal-overlay{position:fixed;top:0;bottom:0;left:0;right:0;display:flex;justify-content:center;background-color:rgba(0,0,0,.8549019607843137)}.modal{text-align:center;background-color:#fff;height:200px;width:500px;margin-top:10%;padding:40px 0}p{font-size:16px;margin:20px 0}.modal-fade-enter,.modal-fade-leave-to{opacity:0}.modal-fade-enter-active,.modal-fade-leave-active{transition:opacity .5s ease}",""]),e.exports=t},"6e78":function(e,t,a){var r=a("ee34");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var n=a("c69b").default;n("1943b362",r,!0,{sourceMap:!1,shadowMode:!1})},a884:function(e,t){e.exports="data:image/png;base64,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"},ae82:function(e,t,a){"use strict";var r=a("5a65"),n=a("6f17"),i=a("f22b"),s=a("5e11"),o=a("618b"),l=a("ddc7"),c=a("7eb7"),u=a("dd70"),d=a("8f3e").f,p=a("a137"),v=i.Symbol,m=v&&v.prototype;if(n&&l(v)&&(!("description"in m)||void 0!==v().description)){var f={},b=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:u(arguments[0]),t=c(m,this)?new v(e):void 0===e?v():v(e);return""===e&&(f[t]=!0),t};p(b,v),b.prototype=m,m.constructor=b;var g="Symbol(test)"==String(v("test")),h=s(m.toString),x=s(m.valueOf),k=/^Symbol\((.*)\)[^)]+$/,y=s("".replace),_=s("".slice);d(m,"description",{configurable:!0,get:function(){var e=x(this),t=h(e);if(o(f,e))return"";var a=g?_(t,7,-1):y(t,k,"$1");return""===a?void 0:a}}),r({global:!0,forced:!0},{Symbol:b})}},b206:function(e,t,a){"use strict";a("6629")},e863:function(e,t,a){"use strict";a.r(t);var r=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"containers mx-auto allBoxImg mt-10"},[r("div",{staticClass:"flex"},[r("div",{staticClass:"w-full pt-12"},[r("div",{staticClass:"md:px-0 lg:px-0 px-6 flex"},[r("div",{staticClass:"text-blue-900 md:text-right lg:text-right lg:text-3xl md:text-3xl text-2xl my-2 w-3/5"},[e._v(e._s(e.profName)+" - "+e._s(e.skillName)+" Solidify")]),r("div",{staticClass:"text-right my-2 w-2/5 pr-0 lg:pr-24 md:pr-24"},[r("a",{attrs:{href:e.helpmateLink,target:"_blank"}},[r("img",{staticClass:"ml-auto",attrs:{src:a("a884")}})])])]),e._m(0),r("Generic",{attrs:{"is-visible":e.modalVisible,message:e.modalMessage}}),r("div",{staticClass:"box-overflow1 mx-4 lg:mx-24 md:mx-24 lg:mt-6 md:mt-6 mt-3"},[r("div",{staticClass:"block mt-4"},[r("div",{staticClass:"text-gray-600"},[r("div",[r("p",[e._v(" Proficiency: "),r("strong",[e._v(e._s(e.profName))])]),r("p",{staticClass:"mt-2"},[e._v(" Skill: "),r("strong",[e._v(e._s(e.skillName))])]),e._m(1),e._m(2),e._m(3),e._m(4),e._m(5),e._m(6)]),r("div",{staticClass:"mt-3"},[r("label",[r("input",{attrs:{type:"checkbox"},on:{change:function(t){return e.setButtonEnable(t)}}}),e._v(" I confirm that i have read and will abide by the Plagiarism statement.")])]),r("div",{staticClass:"mt-4"},[r("p",{staticClass:"mt-2"},[r("strong",[e._v("Task Name: ")]),e._v(e._s(e.taskName))]),e._m(7),r("div",{staticClass:"mt-2",domProps:{innerHTML:e._s(e.taskDesc)}})]),"Desktop"===e.taskType?r("div",{staticClass:"mt-4"},[e._m(8),e._m(9),e._m(10),e._m(11),r("p",{staticClass:"mt-1"},[e._v("Maximum file size: 200 MB")]),r("div",{staticClass:"flex"},[r("input",{key:e.fileInputKey,attrs:{type:"file"},on:{change:e.selectedFile}}),e._v(" "),e.learnerSubmission?r("x-icon",{attrs:{size:"1.5x"},on:{click:function(t){return e.clearFile()}}}):e._e()],1)]):e._e(),"Mobile"===e.taskType?r("div",{staticClass:"pt-12"},[r("textarea",{directives:[{name:"model",rawName:"v-model",value:e.learnerSubmission,expression:"learnerSubmission"}],staticClass:"w-full px-3 py-1.5 text-base font-normal text-gray-700 bg-white bg-clip-padding border border-solid border-gray-300 ease-in-out m-0 focus:text-gray-700 focus:bg-white focus:border-blue-600 focus:outline-none",attrs:{id:"exampleFormControlTextarea1",rows:"3",placeholder:"Your message"},domProps:{value:e.learnerSubmission},on:{input:function(t){t.target.composing||(e.learnerSubmission=t.target.value)}}})]):e._e(),e.fileValidationMsg?r("span",{staticClass:"text-red-700"},[e._v(e._s(e.fileValidationMsg))]):e._e()])]),r("div",{staticClass:"block text-center pt-12"},[e._m(12),r("div",{staticClass:"mb-4 text-center"},[r("button",{staticClass:"inline-block mt-2 py-2 px-4 border border-blue-900 bg-white-500 text-gray-500 shadow-md hover:bg-blue-700 hover:text-white focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75",on:{click:e.switchTask}},[e._v(" Select Different Task ")]),r("button",{staticClass:"ml-2 mr-2 inline-block mt-2 py-2 px-4 bg-gray-500 text-white shadow-md hover:bg-blue-700 focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75",class:e.buttonDisable?"bg-gray-500 cursor-not-allowed":"bg-background-secondary",attrs:{disabled:e.buttonDisable},on:{click:e.submitSubmiision}},[e._v(" Submit Task ")]),r("button",{staticClass:"inline-block mt-2 py-2 px-4 border border-blue-900 bg-white-500 text-gray-500 shadow-md hover:bg-blue-700 hover:text-white focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75",on:{click:function(t){return e.restart()}}},[e._v(" Restart Solidify ")])])])])],1)])])},n=[function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"flex md:flex mt-6 mx-6 lg:pl-16 md:pl-16 lg:pr-24 md:pr-24 px-0 block"},[a("div",{staticClass:"ul-nav w-full"},[a("ul",[a("li",{staticClass:"active"},[e._v("Home")]),a("li",{staticClass:"active"},[e._v("Select Task")]),a("li",{staticClass:"active"},[e._v("Submit")]),a("li",[e._v("Peer Reviews")]),a("li",[e._v("Under Review")]),a("li",[e._v("Done!")])])])])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("p",{staticClass:"mt-3"},[e._v("Please submit your task by uploading it via the "),a("strong",[e._v("Choose File")]),e._v(" button. Once the task has been uploaded, "),a("strong",[e._v("Submit ")]),e._v("to proceed to peer reviews.")])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("p",{staticClass:"mt-2"},[e._v(" You can only submit "),a("strong",[e._v("one file")]),e._v(", but feel free to use links in the file you submit. You can submit a word, ppt, excel, .txt or video. The maximum file size is "),a("strong",[e._v("200MB")]),e._v(". A larger file may take more time to upload, please be patient and do not click refresh until the page finishes loading. ")])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("p",{staticClass:"mt-2"},[e._v("You must work on the task by yourself, and your submission must be in "),a("strong",[e._v("English ")]),e._v("only.")])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("p",{staticClass:"mt-2"},[a("strong",[e._v("Be sure not to use any client or Genpact confidential materials")]),e._v(". By submitting a task, you are certifying that your work follows the guidelines in the plagiarism statement below")])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("p",{staticClass:"mt-2"},[a("strong",[e._v("Plagiarism Statement:")])])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("ul",{staticClass:"mt-2 list-disc pl-8"},[a("li",[e._v(" I hereby "),a("strong",[e._v("certify that this task submission is my own work, based on my personal study and/or research")]),e._v(". I also certify that "),a("strong",[e._v("I have not copied this from")]),e._v(" anywhere or anyone including work submitted by "),a("strong",[e._v("my colleagues and team members and materials found on internet")]),e._v(". ")]),a("li",[e._v("I understand Plagiarism is an infringement of other's work and is a violation of company's code of conduct which will lead to unsuccessful completion of solidify as well as disciplinary action.")])])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("p",{staticClass:"mt-2"},[a("strong",[e._v("Task Description:")])])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("p",[a("strong",[e._v("If you don't want to complete this task anymore, ")]),e._v('you can choose another one by clicking "Select Different Task".')])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("p",{staticClass:"mt-2"},[a("strong",[e._v("Upload")]),e._v(' the file you created for this task by clicking on "Submit".')])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("p",{staticClass:"mt-2"},[a("strong",[e._v("If you want to start your Solidify journey again,")]),e._v(" you can do so by clicking “Restart Solidify”")])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("p",{staticClass:"mt-2"},[a("strong",[e._v("Upload the file you created for this task")])])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"pt-4"},[a("p",{staticClass:"text-xl"},[a("em",[e._v("Please don't click the browser back button")])])])}],i=a("db0a"),s=(a("75b8"),a("dddb"),a("ae82"),a("833b"),a("7b9b")),o=a("949b"),l=a("2c72"),c=a("26fa"),u=function(){var e=Object(i["a"])(regeneratorRuntime.mark((function e(t,a){var r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,c["a"].post(t,a).then((function(e){return console.log("prsigned Response",e),r=e.data,r}));case 3:return e.abrupt("return",r);case 6:return e.prev=6,e.t0=e["catch"](0),e.abrupt("return",e.t0);case 9:case"end":return e.stop()}}),e,null,[[0,6]])})));return function(t,a){return e.apply(this,arguments)}}(),d=function(){var e=Object(i["a"])(regeneratorRuntime.mark((function e(t,a){var r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,c["a"].put(t,a).then((function(e){return r=e,r}));case 3:return e.abrupt("return",r);case 6:e.prev=6,e.t0=e["catch"](0),console.error(e.t0);case 9:case"end":return e.stop()}}),e,null,[[0,6]])})));return function(t,a){return e.apply(this,arguments)}}(),p=function(){var e=Object(i["a"])(regeneratorRuntime.mark((function e(t){var a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,c["a"].get("/task/".concat(t)).then((function(e){return a=e.data.data,a}));case 3:return e.abrupt("return",a);case 6:return e.prev=6,e.t0=e["catch"](0),e.abrupt("return",e.t0);case 9:case"end":return e.stop()}}),e,null,[[0,6]])})));return function(t){return e.apply(this,arguments)}}(),v=function(){var e=Object(i["a"])(regeneratorRuntime.mark((function e(t,a){var r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,c["a"].post(t,{learner_task_id:a}).then((function(e){return r=e,r}));case 3:return e.abrupt("return",r);case 6:return e.prev=6,e.t0=e["catch"](0),e.abrupt("return",e.t0);case 9:case"end":return e.stop()}}),e,null,[[0,6]])})));return function(t,a){return e.apply(this,arguments)}}(),m=function(){var e=Object(i["a"])(regeneratorRuntime.mark((function e(t,a){var r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,c["a"].post(t,a).then((function(e){return r=e,r}));case 3:return e.abrupt("return",r);case 6:e.prev=6,e.t0=e["catch"](0),console.log("Error in updating Learner Submission ".concat(e.t0));case 9:case"end":return e.stop()}}),e,null,[[0,6]])})));return function(t,a){return e.apply(this,arguments)}}(),f=a("3035"),b=a("afbc"),g=Object(s["b"])({name:"LearnerSubmitTask",components:{Generic:l["a"],XIcon:o["g"]},props:["query"],setup:function(e){var t=Object(s["f"])(e.query.linked_task_id),a=Object(s["f"])(e.query.learner_task_id),r=Object(s["f"])(e.query.program_id),n=Object(s["f"])(),o=Object(s["f"])(),l=Object(s["f"])(),c=Object(s["f"])(),g=Object(s["f"])(),h=Object(s["f"])(),x=Object(s["f"])(localStorage.getItem("skillName")),k=Object(s["f"])(localStorage.getItem("profName")),y=Object(s["f"])(null),_=Object(s["f"])(),w=Object(s["f"])(),j=Object(s["f"])(),C=Object(s["f"])(!0),O=Object(s["f"])(),S=Object(s["f"])(!1),R=Object(s["f"])(),A=Object(s["f"])(0),I=Object(s["f"])(localStorage.getItem("helpmateLink")),T=Object(s["f"])(),L=function(){var e=Object(i["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:A.value+=1,console.log("before ".concat(w.value)),w.value=null,console.log("after ".concat(w.value));case 4:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),E=function(e){var t=e.target.checked;!0===t?(C.value=!1,console.log(C.value)):(C.value=!0,console.log(C.value))},M=function(){var e=Object(i["a"])(regeneratorRuntime.mark((function e(t){var r,n,i;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(e.prev=0,y.value=t.target.files[0],w.value=t.target.files[0].name,r=t.target.files[0].size/1024/1024,!(r>200)){e.next=8;break}_.value="fileSize greater than 200 MB",e.next=13;break;case 8:return n={file_name:w.value,learner_task_id:a.value},e.next=11,u("/v1/pretAuthUrlForUpload",n);case 11:i=e.sent,j.value=i.preSignedUrl;case 13:e.next=18;break;case 15:e.prev=15,e.t0=e["catch"](0),console.log(e.t0);case 18:case"end":return e.stop()}}),e,null,[[0,15]])})));return function(t){return e.apply(this,arguments)}}(),D=function(){var e=Object(i["a"])(regeneratorRuntime.mark((function e(){var t,r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(e.prev=0,w.value){e.next=5;break}"Mobile"===g.value?w.value||(_.value="please Enter Submission",console.log("inside Mobile Type"),setTimeout((function(){_.value=null}),6e3)):"Desktop"===g.value&&(w.value||(_.value="please select File",setTimeout((function(){_.value=null}),6e3))),e.next=14;break;case 5:if(t={learner_submission:w.value,learner_task_id:a.value,skill:n.value,proficiency:o.value,linked_program_name:h.value,task_type:g.value,assinged_reviewer_count:0},"Desktop"!==g.value){e.next=9;break}return e.next=9,d(j.value,y.value);case 9:return e.next=11,m("/v1/uploadLearnerSubmission",t);case 11:r=e.sent,console.log("updateSubmission",r),200===r.status?b["a"].push({path:"peerReview",query:{learner_task_id:t.learner_task_id}}):(S.value=!0,R.value="There is issue in the file upload");case 14:e.next=19;break;case 16:e.prev=16,e.t0=e["catch"](0),console.log("error ".concat(e.t0));case 19:case"end":return e.stop()}}),e,null,[[0,16]])})));return function(){return e.apply(this,arguments)}}(),U=function(){var e=Object(i["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:try{"Registered"!==T.value?(console.log("inside if ".concat(T.value)),S.value=!0,R.value="Learner Status is not registered"):b["a"].push({name:"SolidifyLearnerSelectTask",query:{skill_id:n.value,proficiency_id:o.value,program_id:r.value}})}catch(t){S.value=!0,R.value="There is an issue with the switching"}case 1:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),G=function(){var e=Object(i["a"])(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(e.prev=0,"Registered"===T.value){e.next=7;break}console.log("inside if ".concat(T.value)),S.value=!0,R.value="Learner Status is not registered",e.next=13;break;case 7:return console.log("inside else"),e.next=10,v("/v1/restartLearnerJourney",a.value);case 10:t=e.sent,console.log("restartLearnerJourney",t),t?(S.value=!0,R.value="your task removed successfully, you can restart journey again from Edcast"):(S.value=!0,R.value="There is an issue in the restart Journey");case 13:e.next=19;break;case 15:e.prev=15,e.t0=e["catch"](0),S.value=!0,R.value="There is an issue in the restart Journey ".concat(e.t0);case 19:case"end":return e.stop()}}),e,null,[[0,15]])})));return function(){return e.apply(this,arguments)}}(),N=function(){var e=Object(i["a"])(regeneratorRuntime.mark((function e(){var a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,p(t.value);case 2:a=e.sent,a?(g.value=a.task_type,l.value=a.task_name,c.value=a.description,n.value=a.skill,o.value=a.proficiency,h.value=a.linked_task_group):(S.value=!0,R.value="There is an issue to fetch task");case 4:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return Object(s["c"])(Object(i["a"])(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,N();case 3:return e.next=5,Object(f["a"])("/learner/journey/stat",{skill:n.value,proficiency:o.value});case 5:t=e.sent,t.learnerData?"Registered"!==t.learnerData.learner_status?(S.value=!0,R.value="Your task is already submitted, can not submit again"):T.value=t.learnerData.learner_status:b["a"].push({name:"SolidifyLearner",query:{skill_id:n.value,proficiency_id:o.value,program_id:r.value}}),e.next=13;break;case 9:e.prev=9,e.t0=e["catch"](0),S.value=!0,R.value="There is an issue to fetch existing record";case 13:case"end":return e.stop()}}),e,null,[[0,9]])})))),{learnerSubmissionFile:y,skillName:x,profName:k,skillId:n,proficiencyId:o,programId:r,taskType:g,taskName:l,taskDesc:c,linkedTask:h,submitSubmiision:D,learnerSubmission:w,selectedFile:M,fileValidationMsg:_,restart:G,switchTask:U,learnerTaskId:a,preSignedUrl:j,buttonDisable:C,setButtonEnable:E,validationError:O,modalVisible:S,modalMessage:R,clearFile:L,fileInputKey:A,helpmateLink:I,learnerStatus:T}}}),h=g,x=(a("f3a4"),a("bdd7")),k=Object(x["a"])(h,r,n,!1,null,"6e2e754d",null);t["default"]=k.exports},ee34:function(e,t,a){var r=a("a8d8");t=r(!1),t.push([e.i,'.ul-nav ul[data-v-6f514bb5]{display:flex;width:100%}.ul-nav ul li.active[data-v-6f514bb5]{background:#00adcf!important;color:#fff!important}.ul-nav ul li[data-v-6f514bb5]:before{content:"";background:#fff;width:31px;height:32px;position:absolute;z-index:0;left:-16px;top:5px;transform:rotate(45deg);border-top:1px solid #d9d9d9;border-right:1px solid #d9d9d9}.ul-nav ul li[data-v-6f514bb5]{color:#707070!important;margin-right:2px!important;list-style:none;flex:1;padding:10px;text-align:center;position:relative;border-width:1px 0 1px 1px;border-style:solid;border-color:#d9d9d9;background-color:#eee;color:#979797;font-size:16px;min-width:175px;margin:8px 10px}.ul-nav ul li[data-v-6f514bb5]:after{content:"";background:inherit;width:31px;height:32px;position:absolute;z-index:1;right:-16px;top:5px;transform:rotate(45deg);border-top:1px solid #d9d9d9;border-right:1px solid #d9d9d9}.ul-nav ul li[data-v-6f514bb5]{padding-left:20px!important}.box-overflow1[data-v-6f514bb5]{max-height:68vh;overflow-y:auto}@media screen and (max-width:768px){.ul-nav[data-v-6f514bb5]{overflow-x:scroll}.box-overflow1[data-v-6f514bb5]{max-height:none;overflow-y:auto}}',""]),e.exports=t},f3a4:function(e,t,a){"use strict";a("1d9b")},fdb9:function(e,t,a){"use strict";a.r(t);var r=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"containers mx-auto allBoxImg mt-10"},[r("div",{staticClass:"flex"},[r("div",{staticClass:"w-full pt-12"},[r("div",{staticClass:"md:px-0 lg:px-0 px-6 flex"},[r("div",{staticClass:"text-blue-900 md:text-right lg:text-right lg:text-3xl md:text-3xl text-2xl my-2 w-3/5"},[e._v(e._s(e.profName)+" - "+e._s(e.skillName)+" Solidify")]),r("div",{staticClass:"text-right my-2 w-2/5 pr-0 lg:pr-24 md:pr-24"},[r("a",{attrs:{href:e.helpmateLink,target:"_blank"}},[r("img",{staticClass:"ml-auto",attrs:{src:a("a884")}})])])]),e._m(0),r("Generic",{attrs:{"is-visible":e.modalVisible,message:e.modalMessage}}),r("div",{staticClass:"box-overflow1 mx-4 lg:mx-24 md:mx-24 lg:mt-6 md:mt-6 mt-3"},[r("div",{staticClass:"block mt-4"},[r("div",{staticClass:"text-gray-500"},[r("p",[e._v(" Proficiency: "),r("strong",[e._v(e._s(e.profName))])]),r("p",{staticClass:"mt-2"},[e._v(" Skill: "),r("strong",[e._v(e._s(e.skillName))])]),e._m(1),e._m(2)]),r("div",{staticClass:"lg:flex md:flex block mt-4"},[r("div",{staticClass:"pt-6 lg:w-1/2 md:w-1/2 lg:pr-12 md:pr-12"},[r("table",{staticClass:"table-auto border-collapse border border-gray-400 w-full"},[e._m(3),r("tbody",e._l(e.rows,(function(t){return r("tr",{key:t.task_id,staticClass:"border border-gray-400 text-blue-900"},[r("td",{staticClass:"p-2"},[r("input",{directives:[{name:"model",rawName:"v-model",value:e.additional,expression:"additional"}],attrs:{type:"checkbox",id:"check_id"},domProps:{value:t.task_id,checked:Array.isArray(e.additional)?e._i(e.additional,t.task_id)>-1:e.additional},on:{change:[function(a){var r=e.additional,n=a.target,i=!!n.checked;if(Array.isArray(r)){var s=t.task_id,o=e._i(r,s);n.checked?o<0&&(e.additional=r.concat([s])):o>-1&&(e.additional=r.slice(0,o).concat(r.slice(o+1)))}else e.additional=i},function(a){return e.setTaskDesc(t.task_name,t.description,a)}],click:e.checkOne}}),e._v(" "+e._s(t.task_name))]),r("td",{staticClass:"p-2"},[e._v(e._s(t.task_type))])])})),0)])]),r("div",{staticClass:"pt-6 text-gray-700 lg:w-1/2 md:w-1/2"},[r("p",{directives:[{name:"show",rawName:"v-show",value:e.taskName,expression:"taskName"}]},[e._m(4),r("span",{staticStyle:{color:"#707070"}},[e._v(e._s(e.taskName))])]),r("p",{directives:[{name:"show",rawName:"v-show",value:e.taskDesc,expression:"taskDesc"}],staticClass:"mt-2"},[r("strong",[e._v("Task Description:")])]),r("div",{staticClass:"mt-2",domProps:{innerHTML:e._s(e.taskDesc)}})])])]),r("div",{staticClass:"block mt-4"},[r("div",{staticClass:"text-gray-600"},[r("p",[e._v("Enter the work email address that we can use to notify you of your progress. If you don't have a Genpact email address, please use the client email or another email that you use.")]),r("input",{directives:[{name:"model",rawName:"v-model",value:e.email,expression:"email"}],staticClass:"appearance-none border lg:w-2/4 md:w-2/4 w-full py-2 px-3 text-gray-500 leading-tight focus:outline-none focus:shadow-outline",attrs:{type:"text"},domProps:{value:e.email},on:{input:function(t){t.target.composing||(e.email=t.target.value)}}}),e.emailValidationMsg?r("div",{staticClass:"ui basic label pointing red"},[r("span",{staticClass:"text-red-700"},[e._v(e._s(e.emailValidationMsg)+" ")])]):e._e()]),r("div",{staticClass:"mt-6 mb-6 text-center"},[r("router-link",{staticClass:"py-2 px-4 border border-blue-900 bg-white-500 text-gray-500 shadow-md hover:bg-blue-700 hover:text-white focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75 mr-2",attrs:{to:{name:"SolidifyLearner",query:{skill_id:e.skillId.value,proficiency_id:e.profId.value,program_id:e.programId.value}}}},[e._v(" Back ")]),r("button",{staticClass:"mt-2 inline-block py-2 px-4 text-white shadow-md",class:e.buttonDisable?"bg-gray-500 cursor-not-allowed":"bg-background-secondary",attrs:{disabled:e.buttonDisable},on:{click:function(t){return e.createLearner()}}},[e._v("Select Task")])],1)])])],1)])])},n=[function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"flex md:flex mt-6 mx-6 lg:px-16 md:px-16 px-0 block"},[a("div",{staticClass:"ul-nav"},[a("ul",[a("li",{staticClass:"active"},[e._v("Home")]),a("li",{staticClass:"active"},[e._v("Select Task")]),a("li",[e._v("Submit")]),a("li",[e._v("Peer Reviews")]),a("li",[e._v("Under Review")]),a("li",[e._v("Done!")])])])])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("p",{staticClass:"mt-3"},[a("strong",[e._v("Instructions:")])])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("ul",{staticClass:"list-disc pl-8 mt1"},[a("li",[e._v("Select "),a("strong",[e._v("one task")]),e._v(" from the list below. If you are working in a client-restricted environment and cannot upload a task, please select a mobile task from the list.")]),a("li",[e._v("Read the task description and submit your task in "),a("strong",[e._v("English only")]),e._v(".")]),a("li",[e._v("Remember not to use any client or Genpact confidential materials in your submission.")]),a("li",[e._v("You must adhere to "),a("strong",[e._v("Genpact's policies around plagiarism")]),e._v(". You must work on the task by yourself and not copy from anyone or anywhere.")])])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("thead",[a("tr",{staticClass:"border border-gray-400 text-gray-500"},[a("th",{staticClass:"p-2 text-left"},[e._v("Lerning Task")]),a("th",{staticClass:"p-2 text-left"},[e._v("Type of Task")])])])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("span",{staticClass:"text-xl"},[a("strong",[e._v("Task Name: ")])])}],i=a("db0a"),s=(a("833b"),a("7b9b")),o=a("2c72"),l=a("3035"),c=a("afbc"),u=Object(s["b"])({name:"LearnerSelectTask",props:["query"],components:{Generic:o["a"]},setup:function(e){var t=Object(s["f"])(localStorage.getItem("skillName")),a=Object(s["f"])(localStorage.getItem("profName")),r=Object(s["f"])(localStorage.getItem("skillId")),n=Object(s["f"])(localStorage.getItem("profId")),o=Object(s["f"])(localStorage.getItem("programId")),u=Object(s["f"])(),d=Object(s["f"])(),p=Object(s["f"])(),v=Object(s["f"])([]),m=Object(s["f"])(null),f=Object(s["f"])(),b=Object(s["f"])(!0),g=Object(s["f"])(!1),h=Object(s["f"])(),x=Object(s["f"])(localStorage.getItem("helpmateLink")),k=Object(s["f"])(),y=function(){v.value=[]},_=function(e,t,a){var r=a.target.checked;!0===r?(b.value=!1,d.value=e,p.value=t):(b.value=!0,d.value=null,p.value=null)},w=function(){var t=Object(i["a"])(regeneratorRuntime.mark((function t(){var a,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(t.prev=0,m.value){t.next=6;break}f.value="Please enter an email address",setTimeout((function(){f.value=null}),6e3),t.next=12;break;case 6:return a={email:m.value,linked_task_id:v.value[0],skill_id:e.query.skill_id,proficiency_id:e.query.proficiency_id,program_id:e.query.program_id},k.value&&Object.assign(a,{learner_task_id:k.value}),t.next=10,Object(l["b"])("/v1/createLearnerActivities",a);case 10:r=t.sent,!1===r.emailValidation?(f.value="Enter Valid Email",setTimeout((function(){f.value=null}),6e3)):c["a"].push({path:"submitTask",query:{learner_task_id:r.learnerTaskId,linked_task_id:a.linked_task_id,program_id:a.program_id}});case 12:t.next=18;break;case 14:t.prev=14,t.t0=t["catch"](0),g.value=!0,h.value="Error in creating ".concat(t.t0);case 18:case"end":return t.stop()}}),t,null,[[0,14]])})));return function(){return t.apply(this,arguments)}}(),j=function(){var e=Object(i["a"])(regeneratorRuntime.mark((function e(t){var a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,Object(l["c"])("/task/search",t);case 3:a=e.sent,0===a.length?(g.value=!0,h.value="There is no task available for this skill and proficiency"):u.value=a,e.next=11;break;case 7:e.prev=7,e.t0=e["catch"](0),g.value=!0,h.value="There is an issue to fetch task record";case 11:case"end":return e.stop()}}),e,null,[[0,7]])})));return function(t){return e.apply(this,arguments)}}();return Object(s["c"])(Object(i["a"])(regeneratorRuntime.mark((function t(){var a,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,a={skill:e.query.skill_id,proficiency:e.query.proficiency_id,program_id:e.query.program_id},t.next=4,j(a);case 4:return t.next=6,Object(l["a"])("/learner/journey/stat",a);case 6:r=t.sent,r.learnerData&&("Registered"!==r.learnerData.learner_status?(g.value=!0,h.value="Can not register again, already has a journey"):k.value=r.learnerData.learner_task_id),t.next=14;break;case 10:t.prev=10,t.t0=t["catch"](0),g.value=!0,h.value="There is an issue in fetching Data ".concat(t.t0);case 14:case"end":return t.stop()}}),t,null,[[0,10]])})))),{rows:u,skillName:t,profName:a,skillId:r,profId:n,programId:o,taskName:d,taskDesc:p,additional:v,email:m,emailValidationMsg:f,buttonDisable:b,setTaskDesc:_,checkOne:y,createLearner:w,modalVisible:g,modalMessage:h,helpmateLink:x,learnerTaskId:k}}}),d=u,p=(a("179d"),a("bdd7")),v=Object(p["a"])(d,r,n,!1,null,"6f514bb5",null);t["default"]=v.exports}}]);
2
2
  //# sourceMappingURL=SolidifyLearnerSelectTask.js.map