@genpact/genome.mfe.solidify-app 1.17.2-alpha.124 → 1.17.2-alpha.125
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.
- package/dist/js/LearnerRereview.js +1 -1
- package/dist/js/LearnerRereview.js.map +1 -1
- package/dist/js/SolidifyLearner.js +1 -1
- package/dist/js/SolidifyLearner.js.map +1 -1
- package/dist/js/SolidifyLearnerDone.js +1 -1
- package/dist/js/SolidifyLearnerDone.js.map +1 -1
- package/dist/js/SolidifyLearnerPeerReview.js +1 -1
- package/dist/js/SolidifyLearnerPeerReview.js.map +1 -1
- package/dist/js/SolidifyLearnerProxyReview.js +1 -1
- package/dist/js/SolidifyLearnerProxyReview.js.map +1 -1
- package/dist/js/SolidifyLearnerSelectTask.js +1 -1
- package/dist/js/SolidifyLearnerSelectTask.js.map +1 -1
- package/dist/js/SolidifyLearnerStatus.js +1 -1
- package/dist/js/SolidifyLearnerStatus.js.map +1 -1
- package/dist/js/SolidifyLearnerSubmitTask.js +1 -1
- package/dist/js/SolidifyLearnerSubmitTask.js.map +1 -1
- package/dist/js/app.js +2 -2
- package/dist/js/app.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
(window["webpackJsonp__@genpact/genome.mfe.solidify-app"]=window["webpackJsonp__@genpact/genome.mfe.solidify-app"]||[]).push([["LearnerRereview"],{"01d3":function(e,t){t.f=Object.getOwnPropertySymbols},"0454":function(e,t,r){var n=r("dfa6"),o=r("227c"),a=r("3736"),i=r("f045");e.exports=function(e,t,r,s){s||(s={});var c=s.enumerable,u=void 0!==s.name?s.name:t;if(n(r)&&a(r,u,s),s.global)c?e[t]=r:i(t,r);else{try{s.unsafe?e[t]&&(c=!0):delete e[t]}catch(l){}c?e[t]=r:o.f(e,t,{value:r,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return e}},"06a2":function(e,t,r){var n=r("a6ed"),o=r("f864"),a=o.concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,a)}},"07d3":function(e,t,r){var n=r("a8d8");t=n(!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},"0e88":function(e,t,r){var n=r("d27f"),o=Math.min;e.exports=function(e){return e>0?o(n(e),9007199254740991):0}},1059:function(e,t,r){var n=r("3ffd"),o=r("b04f").f,a=r("e562"),i=r("0454"),s=r("f045"),c=r("ae23"),u=r("26bb");e.exports=function(e,t){var r,l,f,d,p,v,b=e.target,g=e.global,y=e.stat;if(l=g?n:y?n[b]||s(b,{}):(n[b]||{}).prototype,l)for(f in t){if(p=t[f],e.dontCallGetSet?(v=o(l,f),d=v&&v.value):d=l[f],r=u(g?f:b+(y?".":"#")+f,e.forced),!r&&void 0!==d){if(typeof p==typeof d)continue;c(p,d)}(e.sham||d&&d.sham)&&a(p,"sham",!0),i(l,f,p,e)}}},"111d":function(e,t,r){var n=r("5d8e");e.exports=n({}.isPrototypeOf)},15011:function(e,t,r){var n=r("5d8e"),o=r("a59a"),a=r("7814"),i=Object,s=n("".split);e.exports=o((function(){return!i("z").propertyIsEnumerable(0)}))?function(e){return"String"==a(e)?s(e,""):i(e)}:i},"16b2":function(e,t,r){var n=r("a59a");e.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},"17fa":function(e,t,r){var n=r("16b2"),o=r("a59a");e.exports=n&&o((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},2251:function(e,t){e.exports=function(e){return null===e||void 0===e}},"227c":function(e,t,r){var n=r("16b2"),o=r("fab5"),a=r("17fa"),i=r("f461"),s=r("36c6"),c=TypeError,u=Object.defineProperty,l=Object.getOwnPropertyDescriptor,f="enumerable",d="configurable",p="writable";t.f=n?a?function(e,t,r){if(i(e),t=s(t),i(r),"function"===typeof e&&"prototype"===t&&"value"in r&&p in r&&!r[p]){var n=l(e,t);n&&n[p]&&(e[t]=r.value,r={configurable:d in r?r[d]:n[d],enumerable:f in r?r[f]:n[f],writable:!1})}return u(e,t,r)}:u:function(e,t,r){if(i(e),t=s(t),i(r),o)try{return u(e,t,r)}catch(n){}if("get"in r||"set"in r)throw c("Accessors not supported");return"value"in r&&(e[t]=r.value),e}},2390:function(e,t,r){"use strict";var n=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:r("a884")}})])])])])])},o=[],a=r("6bcf"),i=Object(a["b"])({name:"ErrorMessage",props:{errorMessage:{type:String,default:""}},setup(e){const t=Object(a["f"])(""),r=Object(a["f"])(localStorage.getItem("helpmateLink"));return Object(a["c"])(async()=>{t.value=e.errorMessage}),{errorMsg:t,helpmateLink:r}}}),s=i,c=r("8619"),u=Object(c["a"])(s,n,o,!1,null,null,null);t["a"]=u.exports},"26bb":function(e,t,r){var n=r("a59a"),o=r("dfa6"),a=/#|\.prototype\./,i=function(e,t){var r=c[s(e)];return r==l||r!=u&&(o(t)?n(t):!!t)},s=i.normalize=function(e){return String(e).replace(a,".").toLowerCase()},c=i.data={},u=i.NATIVE="N",l=i.POLYFILL="P";e.exports=i},"2c72":function(e,t,r){"use strict";var n=function(){var e=this,t=e._self._c;return e.isVisible?t("main",{staticClass:"modal-wrapper relative z-50 modal-filter fixed inset-0 w-full h-screen flex mt-2 justify-center bg-semi-75 h-fit"},[t("transition",{attrs:{name:"modal-fade"}},[t("div",{staticClass:"modal-overlay",on:{click:function(t){return e.$emit("close-modal")}}},[t("div",{staticClass:"modal relative",on:{click:function(e){e.stopPropagation()}}},[e.closeVisible?t("div",{staticClass:"absolute right-0 pr-4 top-5 cursor-pointer",on:{click:function(t){return e.$emit("closeModal")}}},[t("x-icon",{attrs:{size:"1.5x"}})],1):e._e(),t("div",{staticClass:"bg-white"},[t("div",{staticClass:"text-gray-500 px-4",domProps:{innerHTML:e._s(e.message)}}),t("div",{staticClass:"pb-6 pt-4 bg-white"},[e.reReviewButton?t("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:function(t){return e.applyReview(e.reReviewButtonLink)}}},[e._v(" Apply Re-Review ")]):e._e(),e.closeVisible?t("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 mr-2",staticStyle:{"background-color":"grey"},on:{click:function(t){return e.$emit("closeModal")}}},[e._v(" Cancel ")]):e._e(),e.archiveButton?t("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:function(t){return e.$emit("Archive")}}},[e._v("Confirm")]):e._e(),e.linkButton?t("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:function(t){return e.navigate(e.link)}}},[e._v(e._s(e.linkButton))]):e._e()])])])])])],1):e._e()},o=[],a=(r("61ee"),r("949b")),i=r("afbc"),s={components:{XIcon:a["g"]},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}},setup(){const e=async e=>{i["a"].push({path:"/solidify/rereview",query:{learner_task_id:e}})},t=e=>{window.location.href=e};return{applyReview:e,navigate:t}}},c=s,u=(r("916d"),r("8619")),l=Object(u["a"])(c,n,o,!1,null,null,null);t["a"]=l.exports},"2cb9":function(e,t,r){var n=r("0e88");e.exports=function(e){return n(e.length)}},"36c6":function(e,t,r){var n=r("d575"),o=r("989e");e.exports=function(e){var t=n(e,"string");return o(t)?t:t+""}},3736:function(e,t,r){var n=r("5d8e"),o=r("a59a"),a=r("dfa6"),i=r("ea63"),s=r("16b2"),c=r("4a23").CONFIGURABLE,u=r("5de1"),l=r("7d69"),f=l.enforce,d=l.get,p=String,v=Object.defineProperty,b=n("".slice),g=n("".replace),y=n([].join),m=s&&!o((function(){return 8!==v((function(){}),"length",{value:8}).length})),h=String(String).split("String"),x=e.exports=function(e,t,r){"Symbol("===b(p(t),0,7)&&(t="["+g(p(t),/^Symbol\(([^)]*)\)/,"$1")+"]"),r&&r.getter&&(t="get "+t),r&&r.setter&&(t="set "+t),(!i(e,"name")||c&&e.name!==t)&&(s?v(e,"name",{value:t,configurable:!0}):e.name=t),m&&r&&i(r,"arity")&&e.length!==r.arity&&v(e,"length",{value:r.arity});try{r&&i(r,"constructor")&&r.constructor?s&&v(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(o){}var n=f(e);return i(n,"source")||(n.source=y(h,"string"==typeof t?t:"")),e};Function.prototype.toString=x((function(){return a(this)&&d(this).source||u(this)}),"toString")},"3bb2":function(e,t,r){var n=r("3ffd"),o=r("bd18"),a=n.document,i=o(a)&&o(a.createElement);e.exports=function(e){return i?a.createElement(e):{}}},"3ffd":function(e,t,r){(function(t){var r=function(e){return e&&e.Math==Math&&e};e.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof t&&t)||function(){return this}()||Function("return this")()}).call(this,r("d8fc"))},4083:function(e,t,r){"use strict";var n=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"lg:px-24 md:px-24 px-6 flex justify-between items-center"},[t("div",{staticClass:"text-blue-900 lg:text-3xl md:text-3xl text-xl my-2"},[t("span",[e._v(e._s(e.proficiency)+" - ")]),e._v(e._s(e.skill)+" ")]),t("div",{staticClass:"my-2"},[t("div",{staticClass:"my-2 text-blue-900 md:text-lg text-sm text-right"},[e._v("Hi, "+e._s(e.username))])])])},o=[],a=r("6bcf"),i=Object(a["b"])({name:"Greetings",props:{proficiency:{type:String,default:""},skill:{type:String,default:""},program:{type:String,default:""}},setup(){const e=Object(a["f"])("");return Object(a["c"])(async()=>{const t=localStorage.getItem("userName")||"Learner";e.value=t.split(",").reverse().join(" ")}),{username:e}}}),s=i,c=r("8619"),u=Object(c["a"])(s,n,o,!1,null,null,null);t["a"]=u.exports},"41d3":function(e,t){var r=Math.ceil,n=Math.floor;e.exports=Math.trunc||function(e){var t=+e;return(t>0?n:r)(t)}},"47db":function(e,t,r){"use strict";var n=r("16b2"),o=r("8d6b"),a=TypeError,i=Object.getOwnPropertyDescriptor,s=n&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}();e.exports=s?function(e,t){if(o(e)&&!i(e,"length").writable)throw a("Cannot set read only .length");return e.length=t}:function(e,t){return e.length=t}},"4a23":function(e,t,r){var n=r("16b2"),o=r("ea63"),a=Function.prototype,i=n&&Object.getOwnPropertyDescriptor,s=o(a,"name"),c=s&&"something"===function(){}.name,u=s&&(!n||n&&i(a,"name").configurable);e.exports={EXISTS:s,PROPER:c,CONFIGURABLE:u}},5113:function(e,t){var r=TypeError,n=9007199254740991;e.exports=function(e){if(e>n)throw r("Maximum allowed index exceeded");return e}},"5a03":function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},"5d8e":function(e,t,r){var n=r("8576"),o=Function.prototype,a=o.call,i=n&&o.bind.bind(a,a);e.exports=n?i:function(e){return function(){return a.apply(e,arguments)}}},"5de1":function(e,t,r){var n=r("5d8e"),o=r("dfa6"),a=r("a407"),i=n(Function.toString);o(a.inspectSource)||(a.inspectSource=function(e){return i(e)}),e.exports=a.inspectSource},"61ee":function(e,t,r){"use strict";var n=r("1059"),o=r("8e09"),a=r("2cb9"),i=r("47db"),s=r("5113"),c=r("a59a"),u=c((function(){return 4294967297!==[].push.call({length:4294967296},1)})),l=function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(e){return e instanceof TypeError}},f=u||!l();n({target:"Array",proto:!0,arity:1,forced:f},{push:function(e){var t=o(this),r=a(t),n=arguments.length;s(r+n);for(var c=0;c<n;c++)t[r]=arguments[c],r++;return i(t,r),r}})},7814:function(e,t,r){var n=r("5d8e"),o=n({}.toString),a=n("".slice);e.exports=function(e){return a(o(e),8,-1)}},"7b7d":function(e,t,r){var n=r("e163"),o=r("85de"),a=n("keys");e.exports=function(e){return a[e]||(a[e]=o(e))}},"7d0d":function(e,t){e.exports=!1},"7d69":function(e,t,r){var n,o,a,i=r("8735"),s=r("3ffd"),c=r("bd18"),u=r("e562"),l=r("ea63"),f=r("a407"),d=r("7b7d"),p=r("d282"),v="Object already initialized",b=s.TypeError,g=s.WeakMap,y=function(e){return a(e)?o(e):n(e,{})},m=function(e){return function(t){var r;if(!c(t)||(r=o(t)).type!==e)throw b("Incompatible receiver, "+e+" required");return r}};if(i||f.state){var h=f.state||(f.state=new g);h.get=h.get,h.has=h.has,h.set=h.set,n=function(e,t){if(h.has(e))throw b(v);return t.facade=e,h.set(e,t),t},o=function(e){return h.get(e)||{}},a=function(e){return h.has(e)}}else{var x=d("state");p[x]=!0,n=function(e,t){if(l(e,x))throw b(v);return t.facade=e,u(e,x,t),t},o=function(e){return l(e,x)?e[x]:{}},a=function(e){return l(e,x)}}e.exports={set:n,get:o,has:a,enforce:y,getterFor:m}},"81ce":function(e,t,r){var n=r("15011"),o=r("e12a");e.exports=function(e){return n(o(e))}},"83ce":function(e,t){e.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},8576:function(e,t,r){var n=r("a59a");e.exports=!n((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},"85de":function(e,t,r){var n=r("5d8e"),o=0,a=Math.random(),i=n(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+i(++o+a,36)}},8735:function(e,t,r){var n=r("3ffd"),o=r("dfa6"),a=n.WeakMap;e.exports=o(a)&&/native code/.test(String(a))},"8d6b":function(e,t,r){var n=r("7814");e.exports=Array.isArray||function(e){return"Array"==n(e)}},"8e09":function(e,t,r){var n=r("e12a"),o=Object;e.exports=function(e){return o(n(e))}},"916d":function(e,t,r){"use strict";r("b692")},"92b4":function(e,t,r){var n=r("dfa6"),o=r("98db"),a=TypeError;e.exports=function(e){if(n(e))return e;throw a(o(e)+" is not a function")}},"989e":function(e,t,r){var n=r("a179"),o=r("dfa6"),a=r("111d"),i=r("c147"),s=Object;e.exports=i?function(e){return"symbol"==typeof e}:function(e){var t=n("Symbol");return o(t)&&a(t.prototype,s(e))}},"98db":function(e,t){var r=String;e.exports=function(e){try{return r(e)}catch(t){return"Object"}}},"9d04":function(e,t,r){e.exports=r.p+"img/loadernew.gif"},a179:function(e,t,r){var n=r("3ffd"),o=r("dfa6"),a=function(e){return o(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?a(n[e]):n[e]&&n[e][t]}},a407:function(e,t,r){var n=r("3ffd"),o=r("f045"),a="__core-js_shared__",i=n[a]||o(a,{});e.exports=i},a59a:function(e,t){e.exports=function(e){try{return!!e()}catch(t){return!0}}},a6ed:function(e,t,r){var n=r("5d8e"),o=r("ea63"),a=r("81ce"),i=r("c008").indexOf,s=r("d282"),c=n([].push);e.exports=function(e,t){var r,n=a(e),u=0,l=[];for(r in n)!o(s,r)&&o(n,r)&&c(l,r);while(t.length>u)o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U1Ee8OJ0Yg7Xs9MI8L2IW1A+dfV5HDl2mLnKdHTyuavzRhC2RxzZJn5wVY1tou0xT1MPLFpAuZiG5BsvQIgG40KigGeLtHYHUkgWUowAppLXjz0BeQZYPw2ZKbh/HUdkspq46Cg8b1bR3Ge8a22aeE6EJRF7TU1Ucjz+buG4JBdSM/CAmK3rmOkQx1X1daJUiURWGUvdQFsF/httmOWcTII6ncj4NBJrjTsTI900VGTgdymO8PgkQpPzKRXpO9SoJSI2AWVSCfe65LfCHTquJF1FGa5Gc9/8c+EUAzNYQFMJxxQbbXjKcVaF5BEpSqHYu1RizrDuG4F9O/Xrc/FatZKPrjWJA4CJRsReVpbCyc/WseZWl/g5WI6mFthENkAczb5xYgY/F2BD9OjvcD1SRfDt+zSYbH+G5qNdV0xKZCwRZQ00P/kLxZTLMoH9Lz+nDJuOmlxg1heYZmtSgT3oG8SpqglPXbNZ/o+4RmWXJe0sk6dJBWaV+bICm2ayAptmsgKbZpoY2PtWYJaoGe9NAOx1AUxbbXzjY5XlaMbcjeMD+9I9nHdXHuLdT77iV59abQme+fEBVth709P35NHLY2At7V3cLKzkWo7Wagtxal45dQ9bGRl58j+Dx8Csmh6yAptWgv8CbZkYUSkpBpcAAAAASUVORK5CYII="},aadf:function(e,t,r){var n=r("92b4"),o=r("2251");e.exports=function(e,t){var r=e[t];return o(r)?void 0:n(r)}},ae23:function(e,t,r){var n=r("ea63"),o=r("c9ea"),a=r("b04f"),i=r("227c");e.exports=function(e,t,r){for(var s=o(t),c=i.f,u=a.f,l=0;l<s.length;l++){var f=s[l];n(e,f)||r&&n(r,f)||c(e,f,u(t,f))}}},b04f:function(e,t,r){var n=r("16b2"),o=r("ece8"),a=r("bee7"),i=r("5a03"),s=r("81ce"),c=r("36c6"),u=r("ea63"),l=r("fab5"),f=Object.getOwnPropertyDescriptor;t.f=n?f:function(e,t){if(e=s(e),t=c(t),l)try{return f(e,t)}catch(r){}if(u(e,t))return i(!o(a.f,e,t),e[t])}},b692:function(e,t,r){var n=r("07d3");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var o=r("c69b").default;o("0a4786f6",n,!0,{sourceMap:!1,shadowMode:!1})},baa5:function(e,t,r){var n=r("cb93"),o=r("a59a");e.exports=!!Object.getOwnPropertySymbols&&!o((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},bd18:function(e,t,r){var n=r("dfa6"),o=r("c8b5"),a=o.all;e.exports=o.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:n(e)||e===a}:function(e){return"object"==typeof e?null!==e:n(e)}},bee7:function(e,t,r){"use strict";var n={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,a=o&&!n.call({1:2},1);t.f=a?function(e){var t=o(this,e);return!!t&&t.enumerable}:n},c008:function(e,t,r){var n=r("81ce"),o=r("e63b"),a=r("2cb9"),i=function(e){return function(t,r,i){var s,c=n(t),u=a(c),l=o(i,u);if(e&&r!=r){while(u>l)if(s=c[l++],s!=s)return!0}else for(;u>l;l++)if((e||l in c)&&c[l]===r)return e||l||0;return!e&&-1}};e.exports={includes:i(!0),indexOf:i(!1)}},c147:function(e,t,r){var n=r("baa5");e.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},c8b5:function(e,t){var r="object"==typeof document&&document.all,n="undefined"==typeof r&&void 0!==r;e.exports={all:r,IS_HTMLDDA:n}},c9ea:function(e,t,r){var n=r("a179"),o=r("5d8e"),a=r("06a2"),i=r("01d3"),s=r("f461"),c=o([].concat);e.exports=n("Reflect","ownKeys")||function(e){var t=a.f(s(e)),r=i.f;return r?c(t,r(e)):t}},cb93:function(e,t,r){var n,o,a=r("3ffd"),i=r("83ce"),s=a.process,c=a.Deno,u=s&&s.versions||c&&c.version,l=u&&u.v8;l&&(n=l.split("."),o=n[0]>0&&n[0]<4?1:+(n[0]+n[1])),!o&&i&&(n=i.match(/Edge\/(\d+)/),(!n||n[1]>=74)&&(n=i.match(/Chrome\/(\d+)/),n&&(o=+n[1]))),e.exports=o},d27f:function(e,t,r){var n=r("41d3");e.exports=function(e){var t=+e;return t!==t||0===t?0:n(t)}},d282:function(e,t){e.exports={}},d575:function(e,t,r){var n=r("ece8"),o=r("bd18"),a=r("989e"),i=r("aadf"),s=r("f684"),c=r("fd99"),u=TypeError,l=c("toPrimitive");e.exports=function(e,t){if(!o(e)||a(e))return e;var r,c=i(e,l);if(c){if(void 0===t&&(t="default"),r=n(c,e,t),!o(r)||a(r))return r;throw u("Can't convert object to primitive value")}return void 0===t&&(t="number"),s(e,t)}},dcb0:function(e,t,r){"use strict";r.r(t);var n=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"containers mx-auto allBoxImg mt-10"},[e.renderReady?[e.showErrorMessage?e._e():[e.learnerRereviewDetails?t("div",{staticClass:"flex"},[t("div",{staticClass:"w-full pt-12"},[t("Greetings",{attrs:{program:"",proficiency:e.learnerRereviewDetails.proficiency,skill:e.learnerRereviewDetails.skill}}),t("Generic",{attrs:{"is-visible":e.modalVisible,message:e.modalMessage}}),t("div",{staticClass:"box-overflow1 mx-4 lg:mx-24 md:mx-24 lg:mt-6 md:mt-6 mt-3"},[t("div",{staticClass:"block mt-4"},[t("div",{staticClass:"text-gray-600"},[e.learnerRereviewDetails.request_for_re_review?e._e():t("div",[t("p",[e._v("Genome offers you a re-review option of your "+e._s(e.learnerRereviewDetails.proficiency)+" "+e._s(e.learnerRereviewDetails.skill)+" Solidify task.")]),t("p",{staticClass:"mt-2"},[e._v("Requesting a re-review does not guarantee that your task submission will pass. It means that your task submission will be reviewed thoroughly once again.")]),e._m(0),t("p",{staticClass:"mt-2"},[e._v(" Please note re-review requests are processed only once. While your request is ongoing, you will not be able to start Solidify on the same skill and proficiency. Upon re-review, if the reviewer finds the original review to be accurate, no changes will be made to your Solidify results. ")]),e._m(1),t("div",{staticClass:"mt-3"},[t("label",[t("input",{attrs:{type:"checkbox"},on:{change:function(t){return e.setRereviewButtonEnable(t)}}}),e._v(" I confirm that i have read and will abide by the Plagiarism statement.")])]),e._m(2)]),e.learnerRereviewDetails.request_for_re_review?t("div",[t("p",{staticClass:"mt-2"},[e._v("Your request for re-review has been accepted and is under progress.")]),e._m(3)]):e._e()])]),t("div",{staticClass:"block text-center pt-12"},[t("div",{staticClass:"mb-4 text-center"},[e.learnerRereviewDetails.request_for_re_review?e._e():t("button",{staticClass:"ml-2 mr-2 inline-block mt-2 py-2 px-4 text-white shadow-md 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.requestForRereviewSubmit}},[e._v(" Re-review ")]),e.learnerRereviewDetails.request_for_re_review?t("button",{staticClass:"ml-2 mr-2 inline-block mt-2 py-2 px-4 bg-background-secondary text-white shadow-md focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75",on:{click:e.checkRereviewStatus}},[e._v(" Check Status ")]):e._e()])])])],1)]):e._e()],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:r("9d04"),alt:"Loader Gif"}}),t("p",{staticClass:"mx-auto mb-10 leading-normal px-4 loadertextcss ext-genpact-darkest-blue"},[e._v("Loading...")])])],2)},o=[function(){var e=this,t=e._self._c;e._self._setupProxy;return t("p",{staticClass:"mt-3"},[e._v("Please submit your task by uploading it via the "),t("strong",[e._v("Choose File")]),e._v(" button. Once the task has been uploaded, "),t("strong",[e._v("Submit ")]),e._v("to proceed to peer reviews.")])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("p",{staticClass:"mt-2"},[e._v(" You will receive an email once the re-reviews have been completed telling you if your submission passed, or if you will need to redo Solidify. This can take up to "),t("strong",[e._v("two weeks")]),e._v(" from submitting the request. ")])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("p",{staticClass:"mt-2"},[e._v("Click on "),t("strong",[e._v("Re-review")]),e._v(" to continue.")])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("p",{staticClass:"mt-2"},[e._v("Click on "),t("strong",[e._v("Check Status")]),e._v(" determine the re-review status.")])}],a=r("6bcf"),i=r("2c72"),s=r("1dba"),c=r.n(s),u=r("2390"),l=r("4083"),f=r("26fa");const d=async e=>{const t=await f["b"].get("/learnerRereviewStatus/"+e);return t},p=async(e,t)=>{const r=await f["b"].post("/learnerRereview/",{learner_task_id:e,requestFromAdmin:t});return r};var v=Object(a["b"])({name:"LearnerRereview",components:{Generic:i["a"],ErrorMessage:u["a"],Greetings:l["a"]},props:{query:{type:Object,default:()=>({})}},setup(e){const t=Object(a["f"])(e.query.learner_task_id),r=Object(a["f"])(),n=Object(a["f"])(!1),o=Object(a["f"])(),i=Object(a["f"])(!0),s=Object(a["f"])(!1),u=Object(a["f"])(),l=Object(a["f"])(!1),f=Object(a["f"])(localStorage.getItem("helpmateLink")),v=e=>{const t=e.target.checked;!0===t?(i.value=!1,console.log(i.value)):(i.value=!0,console.log(i.value))},b=async()=>{try{var e,a;if(s.value=!1,r.value.is_plagiarised&&r.value.plagiarism_reevaluation_requested)return n.value=!0,void(o.value="Learner already requested for re-evaluation for plagiarism so cannot request for re-review now");const i=await p(t.value,!1);r.value.request_for_re_review=null===(e=i.data)||void 0===e?void 0:e.request_for_re_review,r.value.re_review_status=null===(a=i.data)||void 0===a?void 0:a.re_review_status,s.value=!0,n.value=!0,o.value="Dear learner,<br>Your request for re-review has been accepted and is under progress. You will receive an email once the review has been completed."}catch(d){if(console.log("inside catch error"),console.log(JSON.stringify(d)),s.value=!0,c.a.isAxiosError(d)){var i,f;const e=d;console.log(null===(i=e.response)||void 0===i?void 0:i.data),u.value=null===(f=e.response)||void 0===f?void 0:f.data}else u.value="There is an issue in requesting for review, please contact helpmate.";l.value=!0}},g=async()=>{try{s.value=!1;const e=await d(t.value);return r.value=e.data,s.value=!0,console.log("after check status "+JSON.stringify(r)),void("Re-review Accepted Proxy Assigned"===r.value.re_review_status||"Re-review Accepted Proxy Unavailable"===r.value.re_review_status?(n.value=!0,o.value="Dear learner,<br>Your request for re-review has been accepted and is under progress. You will receive an email once the review has been completed."):"Complete"===r.value.re_review_status&&(n.value=!0,o.value="Dear learner,<br>Your request for re-review has been completed and an email is already sent to your registered email address."))}catch(i){if(console.log("inside catch error"),console.log(JSON.stringify(i)),s.value=!0,c.a.isAxiosError(i)){var e,a;const t=i;console.log(null===(e=t.response)||void 0===e?void 0:e.data),u.value=null===(a=t.response)||void 0===a?void 0:a.data}else u.value="There is an issue in fetching learner re-review status, please contact helpmate.";l.value=!0}};return Object(a["c"])(async()=>{try{s.value=!1;const e=await d(t.value);r.value=e.data,s.value=!0,console.log("learnerRereviewDetails.value "+JSON.stringify(r.value)),r.value.is_plagiarised&&r.value.plagiarism_reevaluation_requested&&(n.value=!0,o.value="Learner already requested for re-evaluation for plagiarism so cannot request for re-review now")}catch(i){if(console.log("inside catch error"),console.log(JSON.stringify(i)),s.value=!0,c.a.isAxiosError(i)){var e,a;const t=i;console.log(null===(e=t.response)||void 0===e?void 0:e.data),u.value=null===(a=t.response)||void 0===a?void 0:a.data}else u.value="There is an issue to fetch existing record, please contact helpmate.";l.value=!0}}),{modalVisible:n,modalMessage:o,buttonDisable:i,learnerRereviewDetails:r,setRereviewButtonEnable:v,requestForRereviewSubmit:b,checkRereviewStatus:g,renderReady:s,helpmateLink:f}}}),b=v,g=r("8619"),y=Object(g["a"])(b,n,o,!1,null,"02e8cec2",null);t["default"]=y.exports},dfa6:function(e,t,r){var n=r("c8b5"),o=n.all;e.exports=n.IS_HTMLDDA?function(e){return"function"==typeof e||e===o}:function(e){return"function"==typeof e}},e12a:function(e,t,r){var n=r("2251"),o=TypeError;e.exports=function(e){if(n(e))throw o("Can't call method on "+e);return e}},e163:function(e,t,r){var n=r("7d0d"),o=r("a407");(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.29.1",mode:n?"pure":"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.29.1/LICENSE",source:"https://github.com/zloirock/core-js"})},e562:function(e,t,r){var n=r("16b2"),o=r("227c"),a=r("5a03");e.exports=n?function(e,t,r){return o.f(e,t,a(1,r))}:function(e,t,r){return e[t]=r,e}},e63b:function(e,t,r){var n=r("d27f"),o=Math.max,a=Math.min;e.exports=function(e,t){var r=n(e);return r<0?o(r+t,0):a(r,t)}},ea63:function(e,t,r){var n=r("5d8e"),o=r("8e09"),a=n({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return a(o(e),t)}},ece8:function(e,t,r){var n=r("8576"),o=Function.prototype.call;e.exports=n?o.bind(o):function(){return o.apply(o,arguments)}},f045:function(e,t,r){var n=r("3ffd"),o=Object.defineProperty;e.exports=function(e,t){try{o(n,e,{value:t,configurable:!0,writable:!0})}catch(r){n[e]=t}return t}},f461:function(e,t,r){var n=r("bd18"),o=String,a=TypeError;e.exports=function(e){if(n(e))return e;throw a(o(e)+" is not an object")}},f684:function(e,t,r){var n=r("ece8"),o=r("dfa6"),a=r("bd18"),i=TypeError;e.exports=function(e,t){var r,s;if("string"===t&&o(r=e.toString)&&!a(s=n(r,e)))return s;if(o(r=e.valueOf)&&!a(s=n(r,e)))return s;if("string"!==t&&o(r=e.toString)&&!a(s=n(r,e)))return s;throw i("Can't convert object to primitive value")}},f864:function(e,t){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},fab5:function(e,t,r){var n=r("16b2"),o=r("a59a"),a=r("3bb2");e.exports=!n&&!o((function(){return 7!=Object.defineProperty(a("div"),"a",{get:function(){return 7}}).a}))},fd99:function(e,t,r){var n=r("3ffd"),o=r("e163"),a=r("ea63"),i=r("85de"),s=r("baa5"),c=r("c147"),u=n.Symbol,l=o("wks"),f=c?u["for"]||u:u&&u.withoutSetter||i;e.exports=function(e){return a(l,e)||(l[e]=s&&a(u,e)?u[e]:f("Symbol."+e)),l[e]}}}]);
|
|
1
|
+
(window["webpackJsonp__@genpact/genome.mfe.solidify-app"]=window["webpackJsonp__@genpact/genome.mfe.solidify-app"]||[]).push([["LearnerRereview"],{"01d3":function(e,t){t.f=Object.getOwnPropertySymbols},"0454":function(e,t,r){var n=r("dfa6"),o=r("227c"),a=r("3736"),i=r("f045");e.exports=function(e,t,r,s){s||(s={});var c=s.enumerable,u=void 0!==s.name?s.name:t;if(n(r)&&a(r,u,s),s.global)c?e[t]=r:i(t,r);else{try{s.unsafe?e[t]&&(c=!0):delete e[t]}catch(l){}c?e[t]=r:o.f(e,t,{value:r,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return e}},"06a2":function(e,t,r){var n=r("a6ed"),o=r("f864"),a=o.concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,a)}},"07d3":function(e,t,r){var n=r("a8d8");t=n(!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},"0e88":function(e,t,r){var n=r("d27f"),o=Math.min;e.exports=function(e){return e>0?o(n(e),9007199254740991):0}},1059:function(e,t,r){var n=r("3ffd"),o=r("b04f").f,a=r("e562"),i=r("0454"),s=r("f045"),c=r("ae23"),u=r("26bb");e.exports=function(e,t){var r,l,f,d,p,v,b=e.target,g=e.global,y=e.stat;if(l=g?n:y?n[b]||s(b,{}):(n[b]||{}).prototype,l)for(f in t){if(p=t[f],e.dontCallGetSet?(v=o(l,f),d=v&&v.value):d=l[f],r=u(g?f:b+(y?".":"#")+f,e.forced),!r&&void 0!==d){if(typeof p==typeof d)continue;c(p,d)}(e.sham||d&&d.sham)&&a(p,"sham",!0),i(l,f,p,e)}}},"111d":function(e,t,r){var n=r("5d8e");e.exports=n({}.isPrototypeOf)},15011:function(e,t,r){var n=r("5d8e"),o=r("a59a"),a=r("7814"),i=Object,s=n("".split);e.exports=o((function(){return!i("z").propertyIsEnumerable(0)}))?function(e){return"String"==a(e)?s(e,""):i(e)}:i},"16b2":function(e,t,r){var n=r("a59a");e.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},"17fa":function(e,t,r){var n=r("16b2"),o=r("a59a");e.exports=n&&o((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},2251:function(e,t){e.exports=function(e){return null===e||void 0===e}},"227c":function(e,t,r){var n=r("16b2"),o=r("fab5"),a=r("17fa"),i=r("f461"),s=r("36c6"),c=TypeError,u=Object.defineProperty,l=Object.getOwnPropertyDescriptor,f="enumerable",d="configurable",p="writable";t.f=n?a?function(e,t,r){if(i(e),t=s(t),i(r),"function"===typeof e&&"prototype"===t&&"value"in r&&p in r&&!r[p]){var n=l(e,t);n&&n[p]&&(e[t]=r.value,r={configurable:d in r?r[d]:n[d],enumerable:f in r?r[f]:n[f],writable:!1})}return u(e,t,r)}:u:function(e,t,r){if(i(e),t=s(t),i(r),o)try{return u(e,t,r)}catch(n){}if("get"in r||"set"in r)throw c("Accessors not supported");return"value"in r&&(e[t]=r.value),e}},2390:function(e,t,r){"use strict";var n=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:r("a884")}})])])])])])},o=[],a=r("6bcf"),i=Object(a["b"])({name:"ErrorMessage",props:{errorMessage:{type:String,default:""}},setup(e){const t=Object(a["f"])(""),r=Object(a["f"])(localStorage.getItem("helpmateLink"));return Object(a["c"])(async()=>{t.value=e.errorMessage}),{errorMsg:t,helpmateLink:r}}}),s=i,c=r("8619"),u=Object(c["a"])(s,n,o,!1,null,null,null);t["a"]=u.exports},"26bb":function(e,t,r){var n=r("a59a"),o=r("dfa6"),a=/#|\.prototype\./,i=function(e,t){var r=c[s(e)];return r==l||r!=u&&(o(t)?n(t):!!t)},s=i.normalize=function(e){return String(e).replace(a,".").toLowerCase()},c=i.data={},u=i.NATIVE="N",l=i.POLYFILL="P";e.exports=i},"2c72":function(e,t,r){"use strict";var n=function(){var e=this,t=e._self._c;return e.isVisible?t("main",{staticClass:"modal-wrapper relative z-50 modal-filter fixed inset-0 w-full h-screen flex mt-2 justify-center bg-semi-75 h-fit"},[t("transition",{attrs:{name:"modal-fade"}},[t("div",{staticClass:"modal-overlay",on:{click:function(t){return e.$emit("close-modal")}}},[t("div",{staticClass:"modal relative",on:{click:function(e){e.stopPropagation()}}},[e.closeVisible?t("div",{staticClass:"absolute right-0 pr-4 top-5 cursor-pointer",on:{click:function(t){return e.$emit("closeModal")}}},[t("x-icon",{attrs:{size:"1.5x"}})],1):e._e(),t("div",{staticClass:"bg-white"},[t("div",{staticClass:"text-gray-500 px-4",domProps:{innerHTML:e._s(e.message)}}),t("div",{staticClass:"pb-6 pt-4 bg-white"},[e.reReviewButton?t("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:function(t){return e.applyReview(e.reReviewButtonLink)}}},[e._v(" Apply Re-Review ")]):e._e(),e.closeVisible?t("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 mr-2",staticStyle:{"background-color":"grey"},on:{click:function(t){return e.$emit("closeModal")}}},[e._v(" Cancel ")]):e._e(),e.archiveButton?t("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:function(t){return e.$emit("Archive")}}},[e._v("Confirm")]):e._e(),e.linkButton?t("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:function(t){return e.navigate(e.link)}}},[e._v(e._s(e.linkButton))]):e._e()])])])])])],1):e._e()},o=[],a=(r("61ee"),r("949b")),i=r("afbc"),s={components:{XIcon:a["g"]},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}},setup(){const e=async e=>{i["a"].push({path:"/solidify/rereview",query:{learner_task_id:e}})},t=e=>{window.location.href=e};return{applyReview:e,navigate:t}}},c=s,u=(r("916d"),r("8619")),l=Object(u["a"])(c,n,o,!1,null,null,null);t["a"]=l.exports},"2cb9":function(e,t,r){var n=r("0e88");e.exports=function(e){return n(e.length)}},"36c6":function(e,t,r){var n=r("d575"),o=r("989e");e.exports=function(e){var t=n(e,"string");return o(t)?t:t+""}},3736:function(e,t,r){var n=r("5d8e"),o=r("a59a"),a=r("dfa6"),i=r("ea63"),s=r("16b2"),c=r("4a23").CONFIGURABLE,u=r("5de1"),l=r("7d69"),f=l.enforce,d=l.get,p=String,v=Object.defineProperty,b=n("".slice),g=n("".replace),y=n([].join),m=s&&!o((function(){return 8!==v((function(){}),"length",{value:8}).length})),h=String(String).split("String"),x=e.exports=function(e,t,r){"Symbol("===b(p(t),0,7)&&(t="["+g(p(t),/^Symbol\(([^)]*)\)/,"$1")+"]"),r&&r.getter&&(t="get "+t),r&&r.setter&&(t="set "+t),(!i(e,"name")||c&&e.name!==t)&&(s?v(e,"name",{value:t,configurable:!0}):e.name=t),m&&r&&i(r,"arity")&&e.length!==r.arity&&v(e,"length",{value:r.arity});try{r&&i(r,"constructor")&&r.constructor?s&&v(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(o){}var n=f(e);return i(n,"source")||(n.source=y(h,"string"==typeof t?t:"")),e};Function.prototype.toString=x((function(){return a(this)&&d(this).source||u(this)}),"toString")},"3bb2":function(e,t,r){var n=r("3ffd"),o=r("bd18"),a=n.document,i=o(a)&&o(a.createElement);e.exports=function(e){return i?a.createElement(e):{}}},"3ffd":function(e,t,r){(function(t){var r=function(e){return e&&e.Math==Math&&e};e.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof t&&t)||function(){return this}()||Function("return this")()}).call(this,r("d8fc"))},4083:function(e,t,r){"use strict";var n=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"lg:px-24 md:px-24 px-6 flex flex-col md:flex-row justify-between items-center"},[t("div",{staticClass:"text-blue-900 lg:text-3xl md:text-3xl text-xl my-2 md:order-1 order-2 w-full"},[t("span",[e._v(e._s(e.proficiency)+" - ")]),e._v(e._s(e.skill)+" ")]),t("div",{staticClass:"my-2 md:order-2 order-1 w-full"},[t("div",{staticClass:"text-blue-900 md:text-lg text-sm text-right"},[e._v("Hi, "+e._s(e.username))])])])},o=[],a=r("6bcf"),i=Object(a["b"])({name:"Greetings",props:{proficiency:{type:String,default:""},skill:{type:String,default:""},program:{type:String,default:""}},setup(){const e=Object(a["f"])("");return Object(a["c"])(async()=>{const t=localStorage.getItem("userName")||"Learner";e.value=t.split(",").reverse().join(" ")}),{username:e}}}),s=i,c=r("8619"),u=Object(c["a"])(s,n,o,!1,null,null,null);t["a"]=u.exports},"41d3":function(e,t){var r=Math.ceil,n=Math.floor;e.exports=Math.trunc||function(e){var t=+e;return(t>0?n:r)(t)}},"47db":function(e,t,r){"use strict";var n=r("16b2"),o=r("8d6b"),a=TypeError,i=Object.getOwnPropertyDescriptor,s=n&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}();e.exports=s?function(e,t){if(o(e)&&!i(e,"length").writable)throw a("Cannot set read only .length");return e.length=t}:function(e,t){return e.length=t}},"4a23":function(e,t,r){var n=r("16b2"),o=r("ea63"),a=Function.prototype,i=n&&Object.getOwnPropertyDescriptor,s=o(a,"name"),c=s&&"something"===function(){}.name,u=s&&(!n||n&&i(a,"name").configurable);e.exports={EXISTS:s,PROPER:c,CONFIGURABLE:u}},5113:function(e,t){var r=TypeError,n=9007199254740991;e.exports=function(e){if(e>n)throw r("Maximum allowed index exceeded");return e}},"5a03":function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},"5d8e":function(e,t,r){var n=r("8576"),o=Function.prototype,a=o.call,i=n&&o.bind.bind(a,a);e.exports=n?i:function(e){return function(){return a.apply(e,arguments)}}},"5de1":function(e,t,r){var n=r("5d8e"),o=r("dfa6"),a=r("a407"),i=n(Function.toString);o(a.inspectSource)||(a.inspectSource=function(e){return i(e)}),e.exports=a.inspectSource},"61ee":function(e,t,r){"use strict";var n=r("1059"),o=r("8e09"),a=r("2cb9"),i=r("47db"),s=r("5113"),c=r("a59a"),u=c((function(){return 4294967297!==[].push.call({length:4294967296},1)})),l=function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(e){return e instanceof TypeError}},f=u||!l();n({target:"Array",proto:!0,arity:1,forced:f},{push:function(e){var t=o(this),r=a(t),n=arguments.length;s(r+n);for(var c=0;c<n;c++)t[r]=arguments[c],r++;return i(t,r),r}})},7814:function(e,t,r){var n=r("5d8e"),o=n({}.toString),a=n("".slice);e.exports=function(e){return a(o(e),8,-1)}},"7b7d":function(e,t,r){var n=r("e163"),o=r("85de"),a=n("keys");e.exports=function(e){return a[e]||(a[e]=o(e))}},"7d0d":function(e,t){e.exports=!1},"7d69":function(e,t,r){var n,o,a,i=r("8735"),s=r("3ffd"),c=r("bd18"),u=r("e562"),l=r("ea63"),f=r("a407"),d=r("7b7d"),p=r("d282"),v="Object already initialized",b=s.TypeError,g=s.WeakMap,y=function(e){return a(e)?o(e):n(e,{})},m=function(e){return function(t){var r;if(!c(t)||(r=o(t)).type!==e)throw b("Incompatible receiver, "+e+" required");return r}};if(i||f.state){var h=f.state||(f.state=new g);h.get=h.get,h.has=h.has,h.set=h.set,n=function(e,t){if(h.has(e))throw b(v);return t.facade=e,h.set(e,t),t},o=function(e){return h.get(e)||{}},a=function(e){return h.has(e)}}else{var x=d("state");p[x]=!0,n=function(e,t){if(l(e,x))throw b(v);return t.facade=e,u(e,x,t),t},o=function(e){return l(e,x)?e[x]:{}},a=function(e){return l(e,x)}}e.exports={set:n,get:o,has:a,enforce:y,getterFor:m}},"81ce":function(e,t,r){var n=r("15011"),o=r("e12a");e.exports=function(e){return n(o(e))}},"83ce":function(e,t){e.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},8576:function(e,t,r){var n=r("a59a");e.exports=!n((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},"85de":function(e,t,r){var n=r("5d8e"),o=0,a=Math.random(),i=n(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+i(++o+a,36)}},8735:function(e,t,r){var n=r("3ffd"),o=r("dfa6"),a=n.WeakMap;e.exports=o(a)&&/native code/.test(String(a))},"8d6b":function(e,t,r){var n=r("7814");e.exports=Array.isArray||function(e){return"Array"==n(e)}},"8e09":function(e,t,r){var n=r("e12a"),o=Object;e.exports=function(e){return o(n(e))}},"916d":function(e,t,r){"use strict";r("b692")},"92b4":function(e,t,r){var n=r("dfa6"),o=r("98db"),a=TypeError;e.exports=function(e){if(n(e))return e;throw a(o(e)+" is not a function")}},"989e":function(e,t,r){var n=r("a179"),o=r("dfa6"),a=r("111d"),i=r("c147"),s=Object;e.exports=i?function(e){return"symbol"==typeof e}:function(e){var t=n("Symbol");return o(t)&&a(t.prototype,s(e))}},"98db":function(e,t){var r=String;e.exports=function(e){try{return r(e)}catch(t){return"Object"}}},"9d04":function(e,t,r){e.exports=r.p+"img/loadernew.gif"},a179:function(e,t,r){var n=r("3ffd"),o=r("dfa6"),a=function(e){return o(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?a(n[e]):n[e]&&n[e][t]}},a407:function(e,t,r){var n=r("3ffd"),o=r("f045"),a="__core-js_shared__",i=n[a]||o(a,{});e.exports=i},a59a:function(e,t){e.exports=function(e){try{return!!e()}catch(t){return!0}}},a6ed:function(e,t,r){var n=r("5d8e"),o=r("ea63"),a=r("81ce"),i=r("c008").indexOf,s=r("d282"),c=n([].push);e.exports=function(e,t){var r,n=a(e),u=0,l=[];for(r in n)!o(s,r)&&o(n,r)&&c(l,r);while(t.length>u)o(n,r=t[u++])&&(~i(l,r)||c(l,r));return l}},a884:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGwAAAAjCAYAAABxaO90AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAezSURBVGhD7Zp5UJTnHcffNNOpSfpnM9OZZtJM24nTyaTW2tbGc5rUjJ1p7aQ2JmqilXrhOh5RMXjEeqNsuUEUlEMx3ILLDQKrcsixyLmIwIrAInLIfcOnz7Ivuo6QdrIOLHG/M98/nuf3zLs772d/v+f3vO9KyBoYHKKts4dHHd1WW5D7+gdlQkY9Bub+dQo/XrqLV+fb8toCqy3BMxZsYYfysoA2IFMyAfb6hzvJLdXJI6ssQd19/fxg/mbaOnrkGRNgP/pgG7r6JnlklaVoxrxNVmDTSZMKrHd4GG1nHxVd5lnb2Uvn4LB81RdLkwosq6UL6XIuUrjGPF/OIazukXzVF0u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KbZpoY2PtWYJaoGe9NAOx1AUxbbXzjY5XlaMbcjeMD+9I9nHdXHuLdT77iV59abQme+fEBVth709P35NHLY2At7V3cLKzkWo7Wagtxal45dQ9bGRl58j+Dx8Csmh6yAptWgv8CbZkYUSkpBpcAAAAASUVORK5CYII="},aadf:function(e,t,r){var n=r("92b4"),o=r("2251");e.exports=function(e,t){var r=e[t];return o(r)?void 0:n(r)}},ae23:function(e,t,r){var n=r("ea63"),o=r("c9ea"),a=r("b04f"),i=r("227c");e.exports=function(e,t,r){for(var s=o(t),c=i.f,u=a.f,l=0;l<s.length;l++){var f=s[l];n(e,f)||r&&n(r,f)||c(e,f,u(t,f))}}},b04f:function(e,t,r){var n=r("16b2"),o=r("ece8"),a=r("bee7"),i=r("5a03"),s=r("81ce"),c=r("36c6"),u=r("ea63"),l=r("fab5"),f=Object.getOwnPropertyDescriptor;t.f=n?f:function(e,t){if(e=s(e),t=c(t),l)try{return f(e,t)}catch(r){}if(u(e,t))return i(!o(a.f,e,t),e[t])}},b692:function(e,t,r){var n=r("07d3");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var o=r("c69b").default;o("0a4786f6",n,!0,{sourceMap:!1,shadowMode:!1})},baa5:function(e,t,r){var n=r("cb93"),o=r("a59a");e.exports=!!Object.getOwnPropertySymbols&&!o((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},bd18:function(e,t,r){var n=r("dfa6"),o=r("c8b5"),a=o.all;e.exports=o.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:n(e)||e===a}:function(e){return"object"==typeof e?null!==e:n(e)}},bee7:function(e,t,r){"use strict";var n={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,a=o&&!n.call({1:2},1);t.f=a?function(e){var t=o(this,e);return!!t&&t.enumerable}:n},c008:function(e,t,r){var n=r("81ce"),o=r("e63b"),a=r("2cb9"),i=function(e){return function(t,r,i){var s,c=n(t),u=a(c),l=o(i,u);if(e&&r!=r){while(u>l)if(s=c[l++],s!=s)return!0}else for(;u>l;l++)if((e||l in c)&&c[l]===r)return e||l||0;return!e&&-1}};e.exports={includes:i(!0),indexOf:i(!1)}},c147:function(e,t,r){var n=r("baa5");e.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},c8b5:function(e,t){var r="object"==typeof document&&document.all,n="undefined"==typeof r&&void 0!==r;e.exports={all:r,IS_HTMLDDA:n}},c9ea:function(e,t,r){var n=r("a179"),o=r("5d8e"),a=r("06a2"),i=r("01d3"),s=r("f461"),c=o([].concat);e.exports=n("Reflect","ownKeys")||function(e){var t=a.f(s(e)),r=i.f;return r?c(t,r(e)):t}},cb93:function(e,t,r){var n,o,a=r("3ffd"),i=r("83ce"),s=a.process,c=a.Deno,u=s&&s.versions||c&&c.version,l=u&&u.v8;l&&(n=l.split("."),o=n[0]>0&&n[0]<4?1:+(n[0]+n[1])),!o&&i&&(n=i.match(/Edge\/(\d+)/),(!n||n[1]>=74)&&(n=i.match(/Chrome\/(\d+)/),n&&(o=+n[1]))),e.exports=o},d27f:function(e,t,r){var n=r("41d3");e.exports=function(e){var t=+e;return t!==t||0===t?0:n(t)}},d282:function(e,t){e.exports={}},d575:function(e,t,r){var n=r("ece8"),o=r("bd18"),a=r("989e"),i=r("aadf"),s=r("f684"),c=r("fd99"),u=TypeError,l=c("toPrimitive");e.exports=function(e,t){if(!o(e)||a(e))return e;var r,c=i(e,l);if(c){if(void 0===t&&(t="default"),r=n(c,e,t),!o(r)||a(r))return r;throw u("Can't convert object to primitive value")}return void 0===t&&(t="number"),s(e,t)}},dcb0:function(e,t,r){"use strict";r.r(t);var n=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"containers mx-auto allBoxImg mt-10"},[e.renderReady?[e.showErrorMessage?e._e():[e.learnerRereviewDetails?t("div",{staticClass:"flex"},[t("div",{staticClass:"w-full pt-12"},[t("Greetings",{attrs:{program:"",proficiency:e.learnerRereviewDetails.proficiency,skill:e.learnerRereviewDetails.skill}}),t("Generic",{attrs:{"is-visible":e.modalVisible,message:e.modalMessage}}),t("div",{staticClass:"box-overflow1 mx-4 lg:mx-24 md:mx-24 lg:mt-6 md:mt-6 mt-3"},[t("div",{staticClass:"block mt-4"},[t("div",{staticClass:"text-gray-600"},[e.learnerRereviewDetails.request_for_re_review?e._e():t("div",[t("p",[e._v("Genome offers you a re-review option of your "+e._s(e.learnerRereviewDetails.proficiency)+" "+e._s(e.learnerRereviewDetails.skill)+" Solidify task.")]),t("p",{staticClass:"mt-2"},[e._v("Requesting a re-review does not guarantee that your task submission will pass. It means that your task submission will be reviewed thoroughly once again.")]),e._m(0),t("p",{staticClass:"mt-2"},[e._v(" Please note re-review requests are processed only once. While your request is ongoing, you will not be able to start Solidify on the same skill and proficiency. Upon re-review, if the reviewer finds the original review to be accurate, no changes will be made to your Solidify results. ")]),e._m(1),t("div",{staticClass:"mt-3"},[t("label",[t("input",{attrs:{type:"checkbox"},on:{change:function(t){return e.setRereviewButtonEnable(t)}}}),e._v(" I confirm that i have read and will abide by the Plagiarism statement.")])]),e._m(2)]),e.learnerRereviewDetails.request_for_re_review?t("div",[t("p",{staticClass:"mt-2"},[e._v("Your request for re-review has been accepted and is under progress.")]),e._m(3)]):e._e()])]),t("div",{staticClass:"block text-center pt-12"},[t("div",{staticClass:"mb-4 text-center"},[e.learnerRereviewDetails.request_for_re_review?e._e():t("button",{staticClass:"ml-2 mr-2 inline-block mt-2 py-2 px-4 text-white shadow-md 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.requestForRereviewSubmit}},[e._v(" Re-review ")]),e.learnerRereviewDetails.request_for_re_review?t("button",{staticClass:"ml-2 mr-2 inline-block mt-2 py-2 px-4 bg-background-secondary text-white shadow-md focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75",on:{click:e.checkRereviewStatus}},[e._v(" Check Status ")]):e._e()])])])],1)]):e._e()],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:r("9d04"),alt:"Loader Gif"}}),t("p",{staticClass:"mx-auto mb-10 leading-normal px-4 loadertextcss ext-genpact-darkest-blue"},[e._v("Loading...")])])],2)},o=[function(){var e=this,t=e._self._c;e._self._setupProxy;return t("p",{staticClass:"mt-3"},[e._v("Please submit your task by uploading it via the "),t("strong",[e._v("Choose File")]),e._v(" button. Once the task has been uploaded, "),t("strong",[e._v("Submit ")]),e._v("to proceed to peer reviews.")])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("p",{staticClass:"mt-2"},[e._v(" You will receive an email once the re-reviews have been completed telling you if your submission passed, or if you will need to redo Solidify. This can take up to "),t("strong",[e._v("two weeks")]),e._v(" from submitting the request. ")])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("p",{staticClass:"mt-2"},[e._v("Click on "),t("strong",[e._v("Re-review")]),e._v(" to continue.")])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("p",{staticClass:"mt-2"},[e._v("Click on "),t("strong",[e._v("Check Status")]),e._v(" determine the re-review status.")])}],a=r("6bcf"),i=r("2c72"),s=r("1dba"),c=r.n(s),u=r("2390"),l=r("4083"),f=r("26fa");const d=async e=>{const t=await f["b"].get("/learnerRereviewStatus/"+e);return t},p=async(e,t)=>{const r=await f["b"].post("/learnerRereview/",{learner_task_id:e,requestFromAdmin:t});return r};var v=Object(a["b"])({name:"LearnerRereview",components:{Generic:i["a"],ErrorMessage:u["a"],Greetings:l["a"]},props:{query:{type:Object,default:()=>({})}},setup(e){const t=Object(a["f"])(e.query.learner_task_id),r=Object(a["f"])(),n=Object(a["f"])(!1),o=Object(a["f"])(),i=Object(a["f"])(!0),s=Object(a["f"])(!1),u=Object(a["f"])(),l=Object(a["f"])(!1),f=Object(a["f"])(localStorage.getItem("helpmateLink")),v=e=>{const t=e.target.checked;!0===t?(i.value=!1,console.log(i.value)):(i.value=!0,console.log(i.value))},b=async()=>{try{var e,a;if(s.value=!1,r.value.is_plagiarised&&r.value.plagiarism_reevaluation_requested)return n.value=!0,void(o.value="Learner already requested for re-evaluation for plagiarism so cannot request for re-review now");const i=await p(t.value,!1);r.value.request_for_re_review=null===(e=i.data)||void 0===e?void 0:e.request_for_re_review,r.value.re_review_status=null===(a=i.data)||void 0===a?void 0:a.re_review_status,s.value=!0,n.value=!0,o.value="Dear learner,<br>Your request for re-review has been accepted and is under progress. You will receive an email once the review has been completed."}catch(d){if(console.log("inside catch error"),console.log(JSON.stringify(d)),s.value=!0,c.a.isAxiosError(d)){var i,f;const e=d;console.log(null===(i=e.response)||void 0===i?void 0:i.data),u.value=null===(f=e.response)||void 0===f?void 0:f.data}else u.value="There is an issue in requesting for review, please contact helpmate.";l.value=!0}},g=async()=>{try{s.value=!1;const e=await d(t.value);return r.value=e.data,s.value=!0,console.log("after check status "+JSON.stringify(r)),void("Re-review Accepted Proxy Assigned"===r.value.re_review_status||"Re-review Accepted Proxy Unavailable"===r.value.re_review_status?(n.value=!0,o.value="Dear learner,<br>Your request for re-review has been accepted and is under progress. You will receive an email once the review has been completed."):"Complete"===r.value.re_review_status&&(n.value=!0,o.value="Dear learner,<br>Your request for re-review has been completed and an email is already sent to your registered email address."))}catch(i){if(console.log("inside catch error"),console.log(JSON.stringify(i)),s.value=!0,c.a.isAxiosError(i)){var e,a;const t=i;console.log(null===(e=t.response)||void 0===e?void 0:e.data),u.value=null===(a=t.response)||void 0===a?void 0:a.data}else u.value="There is an issue in fetching learner re-review status, please contact helpmate.";l.value=!0}};return Object(a["c"])(async()=>{try{s.value=!1;const e=await d(t.value);r.value=e.data,s.value=!0,console.log("learnerRereviewDetails.value "+JSON.stringify(r.value)),r.value.is_plagiarised&&r.value.plagiarism_reevaluation_requested&&(n.value=!0,o.value="Learner already requested for re-evaluation for plagiarism so cannot request for re-review now")}catch(i){if(console.log("inside catch error"),console.log(JSON.stringify(i)),s.value=!0,c.a.isAxiosError(i)){var e,a;const t=i;console.log(null===(e=t.response)||void 0===e?void 0:e.data),u.value=null===(a=t.response)||void 0===a?void 0:a.data}else u.value="There is an issue to fetch existing record, please contact helpmate.";l.value=!0}}),{modalVisible:n,modalMessage:o,buttonDisable:i,learnerRereviewDetails:r,setRereviewButtonEnable:v,requestForRereviewSubmit:b,checkRereviewStatus:g,renderReady:s,helpmateLink:f}}}),b=v,g=r("8619"),y=Object(g["a"])(b,n,o,!1,null,"02e8cec2",null);t["default"]=y.exports},dfa6:function(e,t,r){var n=r("c8b5"),o=n.all;e.exports=n.IS_HTMLDDA?function(e){return"function"==typeof e||e===o}:function(e){return"function"==typeof e}},e12a:function(e,t,r){var n=r("2251"),o=TypeError;e.exports=function(e){if(n(e))throw o("Can't call method on "+e);return e}},e163:function(e,t,r){var n=r("7d0d"),o=r("a407");(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.29.1",mode:n?"pure":"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.29.1/LICENSE",source:"https://github.com/zloirock/core-js"})},e562:function(e,t,r){var n=r("16b2"),o=r("227c"),a=r("5a03");e.exports=n?function(e,t,r){return o.f(e,t,a(1,r))}:function(e,t,r){return e[t]=r,e}},e63b:function(e,t,r){var n=r("d27f"),o=Math.max,a=Math.min;e.exports=function(e,t){var r=n(e);return r<0?o(r+t,0):a(r,t)}},ea63:function(e,t,r){var n=r("5d8e"),o=r("8e09"),a=n({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return a(o(e),t)}},ece8:function(e,t,r){var n=r("8576"),o=Function.prototype.call;e.exports=n?o.bind(o):function(){return o.apply(o,arguments)}},f045:function(e,t,r){var n=r("3ffd"),o=Object.defineProperty;e.exports=function(e,t){try{o(n,e,{value:t,configurable:!0,writable:!0})}catch(r){n[e]=t}return t}},f461:function(e,t,r){var n=r("bd18"),o=String,a=TypeError;e.exports=function(e){if(n(e))return e;throw a(o(e)+" is not an object")}},f684:function(e,t,r){var n=r("ece8"),o=r("dfa6"),a=r("bd18"),i=TypeError;e.exports=function(e,t){var r,s;if("string"===t&&o(r=e.toString)&&!a(s=n(r,e)))return s;if(o(r=e.valueOf)&&!a(s=n(r,e)))return s;if("string"!==t&&o(r=e.toString)&&!a(s=n(r,e)))return s;throw i("Can't convert object to primitive value")}},f864:function(e,t){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},fab5:function(e,t,r){var n=r("16b2"),o=r("a59a"),a=r("3bb2");e.exports=!n&&!o((function(){return 7!=Object.defineProperty(a("div"),"a",{get:function(){return 7}}).a}))},fd99:function(e,t,r){var n=r("3ffd"),o=r("e163"),a=r("ea63"),i=r("85de"),s=r("baa5"),c=r("c147"),u=n.Symbol,l=o("wks"),f=c?u["for"]||u:u&&u.withoutSetter||i;e.exports=function(e){return a(l,e)||(l[e]=s&&a(u,e)?u[e]:f("Symbol."+e)),l[e]}}}]);
|
|
2
2
|
//# sourceMappingURL=LearnerRereview.js.map
|