@genpact/genome.mfe.solidify-app 1.29.0 → 1.30.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (39) hide show
  1. package/dist/js/LearnerRereview.js +1 -1
  2. package/dist/js/LearnerRereview.js.map +1 -1
  3. package/dist/js/SolidifyAbout.js +1 -1
  4. package/dist/js/SolidifyAbout.js.map +1 -1
  5. package/dist/js/SolidifyAdministrationAssignRoleToUser.js +1 -1
  6. package/dist/js/SolidifyAdministrationAssignRoleToUser.js.map +1 -1
  7. package/dist/js/SolidifyAdministrationCreateOffCyele.js +1 -1
  8. package/dist/js/SolidifyAdministrationCreateOffCyele.js.map +1 -1
  9. package/dist/js/SolidifyAdministrationEmailTemplateManagement.js +1 -1
  10. package/dist/js/SolidifyAdministrationEmailTemplateManagement.js.map +1 -1
  11. package/dist/js/SolidifyAdministrationNeedReviewerReport.js +1 -1
  12. package/dist/js/SolidifyAdministrationNeedReviewerReport.js.map +1 -1
  13. package/dist/js/SolidifyAdministrationOffcycleDashboard.js +1 -1
  14. package/dist/js/SolidifyAdministrationOffcycleDashboard.js.map +1 -1
  15. package/dist/js/SolidifyAdministrationOperationalDetails.js +1 -1
  16. package/dist/js/SolidifyAdministrationOperationalDetails.js.map +1 -1
  17. package/dist/js/SolidifyAdministrationProgramAdministration.js +1 -1
  18. package/dist/js/SolidifyAdministrationProgramAdministration.js.map +1 -1
  19. package/dist/js/SolidifyAdministrationProgramDetails.js +1 -1
  20. package/dist/js/SolidifyAdministrationProgramDetails.js.map +1 -1
  21. package/dist/js/SolidifyAdministrationTaskManagement.js +1 -1
  22. package/dist/js/SolidifyAdministrationTaskManagement.js.map +1 -1
  23. package/dist/js/SolidifyAdministrationViewAllProxyRequests.js +1 -1
  24. package/dist/js/SolidifyAdministrationViewAllProxyRequests.js.map +1 -1
  25. package/dist/js/SolidifyLearner.js +2 -2
  26. package/dist/js/SolidifyLearner.js.map +1 -1
  27. package/dist/js/SolidifyLearnerDone.js +1 -1
  28. package/dist/js/SolidifyLearnerDone.js.map +1 -1
  29. package/dist/js/SolidifyLearnerPeerReview.js +1 -1
  30. package/dist/js/SolidifyLearnerPeerReview.js.map +1 -1
  31. package/dist/js/SolidifyLearnerProxyReview.js +1 -1
  32. package/dist/js/SolidifyLearnerProxyReview.js.map +1 -1
  33. package/dist/js/SolidifyLearnerSelectTask.js +1 -1
  34. package/dist/js/SolidifyLearnerSelectTask.js.map +1 -1
  35. package/dist/js/SolidifyLearnerSubmitTask.js +1 -1
  36. package/dist/js/SolidifyLearnerSubmitTask.js.map +1 -1
  37. package/dist/js/app.js +15 -15
  38. package/dist/js/app.js.map +1 -1
  39. 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([["SolidifyAdministrationCreateOffCyele"],{"05ff":function(e,t){var r=Math.ceil,a=Math.floor;e.exports=Math.trunc||function(e){var t=+e;return(t>0?a:r)(t)}},"085a":function(e,t,r){var a=r("214f"),n=Function.prototype.call;e.exports=a?n.bind(n):function(){return n.apply(n,arguments)}},"107e":function(e,t,r){var a=r("644c"),n=r("3426"),o=r("5e2f"),i=r("5151");e.exports=function(e,t,r,s){s||(s={});var l=s.enumerable,c=void 0!==s.name?s.name:t;if(a(r)&&o(r,c,s),s.global)l?e[t]=r:i(t,r);else{try{s.unsafe?e[t]&&(l=!0):delete e[t]}catch(u){}l?e[t]=r:n.f(e,t,{value:r,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return e}},1185:function(e,t,r){var a=r("085a"),n=r("644c"),o=r("91f1"),i=TypeError;e.exports=function(e,t){var r,s;if("string"===t&&n(r=e.toString)&&!o(s=a(r,e)))return s;if(n(r=e.valueOf)&&!o(s=a(r,e)))return s;if("string"!==t&&n(r=e.toString)&&!o(s=a(r,e)))return s;throw i("Can't convert object to primitive value")}},"11ce":function(e,t){var r=/^(attrs|props|on|nativeOn|class|style|hook)$/;function a(e,t){return function(){e&&e.apply(this,arguments),t&&t.apply(this,arguments)}}e.exports=function(e){return e.reduce((function(e,t){var n,o,i,s,l;for(i in t)if(n=e[i],o=t[i],n&&r.test(i))if("class"===i&&("string"===typeof n&&(l=n,e[i]=n={},n[l]=!0),"string"===typeof o&&(l=o,t[i]=o={},o[l]=!0)),"on"===i||"nativeOn"===i||"hook"===i)for(s in o)n[s]=a(n[s],o[s]);else if(Array.isArray(n))e[i]=n.concat(o);else if(Array.isArray(o))e[i]=[n].concat(o);else for(s in o)n[s]=o[s];else e[i]=t[i];return e}),{})}},"163d":function(e,t,r){var a=r("9908"),n=r("b662"),o=n.concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return a(e,o)}},"1d28":function(e,t,r){var a=r("2253");e.exports=Array.isArray||function(e){return"Array"==a(e)}},"1edb":function(e,t,r){var a=r("a8d8");t=a(!1),t.push([e.i,'.ul-nav ul[data-v-39cc4cfa]{display:flex;width:100%}.ul-nav ul li.active[data-v-39cc4cfa]{background:#00adcf!important;color:#fff!important}.ul-nav ul li[data-v-39cc4cfa]: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-39cc4cfa]{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-39cc4cfa]: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-39cc4cfa]{padding-left:20px!important}.box-overflow1[data-v-39cc4cfa]{max-height:68vh;overflow-y:auto}@media screen and (max-width:768px){.ul-nav[data-v-39cc4cfa]{overflow-x:scroll}.box-overflow1[data-v-39cc4cfa]{max-height:none;overflow-y:auto}.ul-nav li[data-v-39cc4cfa]:first-child,.ul-nav li[data-v-39cc4cfa]:nth-child(2){display:none}}',""]),e.exports=t},"214f":function(e,t,r){var a=r("ab3a");e.exports=!a((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},2253:function(e,t,r){var a=r("ab64"),n=a({}.toString),o=a("".slice);e.exports=function(e){return o(n(e),8,-1)}},"22e2":function(e,t,r){"use strict";var a={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,o=n&&!a.call({1:2},1);t.f=o?function(e){var t=n(this,e);return!!t&&t.enumerable}:a},2390:function(e,t,r){"use strict";var a=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"flex"},[t("div",{staticClass:"w-full pt-16 px-32"},[t("div",{staticClass:"md:px-0 lg:px-0 text-center"},[t("div",{staticClass:"text-gray-500"},[t("div",{staticClass:"pt-2",domProps:{innerHTML:e._s(e.errorMsg)}})]),t("div",{staticClass:"pt-8"},[t("a",{attrs:{href:e.helpmateLink,target:"_blank"}},[t("img",{staticClass:"mx-auto",attrs:{src:r("a884")}})])])])])])},n=[],o=r("6bcf"),i=Object(o["b"])({name:"ErrorMessage",props:{errorMessage:{type:String,default:""}},setup(e){const t=Object(o["f"])(""),r=Object(o["f"])(localStorage.getItem("helpmateLink"));return Object(o["c"])(async()=>{t.value=e.errorMessage}),{errorMsg:t,helpmateLink:r}}}),s=i,l=r("8619"),c=Object(l["a"])(s,a,n,!1,null,null,null);t["a"]=c.exports},"2ae2":function(e,t,r){var a,n,o=r("d168"),i=r("47d5"),s=o.process,l=o.Deno,c=s&&s.versions||l&&l.version,u=c&&c.v8;u&&(a=u.split("."),n=a[0]>0&&a[0]<4?1:+(a[0]+a[1])),!n&&i&&(a=i.match(/Edge\/(\d+)/),(!a||a[1]>=74)&&(a=i.match(/Chrome\/(\d+)/),a&&(n=+a[1]))),e.exports=n},"316b":function(e,t,r){var a=r("d168"),n=r("644c"),o=a.WeakMap;e.exports=n(o)&&/native code/.test(String(o))},"32b3":function(e,t,r){"use strict";r("7b6e")},3426:function(e,t,r){var a=r("a15f"),n=r("cca5"),o=r("b58f"),i=r("b172"),s=r("61ca"),l=TypeError,c=Object.defineProperty,u=Object.getOwnPropertyDescriptor,f="enumerable",d="configurable",p="writable";t.f=a?o?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 a=u(e,t);a&&a[p]&&(e[t]=r.value,r={configurable:d in r?r[d]:a[d],enumerable:f in r?r[f]:a[f],writable:!1})}return c(e,t,r)}:c:function(e,t,r){if(i(e),t=s(t),i(r),n)try{return c(e,t,r)}catch(a){}if("get"in r||"set"in r)throw l("Accessors not supported");return"value"in r&&(e[t]=r.value),e}},"3a3a":function(e,t,r){var a=r("05ff");e.exports=function(e){var t=+e;return t!==t||0===t?0:a(t)}},"3dd5":function(e,t,r){var a=r("085a"),n=r("91f1"),o=r("dfad"),i=r("fee9"),s=r("1185"),l=r("9168"),c=TypeError,u=l("toPrimitive");e.exports=function(e,t){if(!n(e)||o(e))return e;var r,l=i(e,u);if(l){if(void 0===t&&(t="default"),r=a(l,e,t),!n(r)||o(r))return r;throw c("Can't convert object to primitive value")}return void 0===t&&(t="number"),s(e,t)}},4104:function(e,t,r){var a=r("a15f"),n=r("abf7"),o=Function.prototype,i=a&&Object.getOwnPropertyDescriptor,s=n(o,"name"),l=s&&"something"===function(){}.name,c=s&&(!a||a&&i(o,"name").configurable);e.exports={EXISTS:s,PROPER:l,CONFIGURABLE:c}},"424a":function(e,t,r){var a=r("a8d8");t=a(!1),t.push([e.i,'.ul-nav ul[data-v-d79b6af4]{display:flex;width:100%}.ul-nav ul li.active[data-v-d79b6af4]{background:#00adcf!important;color:#fff!important}.ul-nav ul li[data-v-d79b6af4]: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-d79b6af4]{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-d79b6af4]: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-d79b6af4]{padding-left:20px!important}.box-overflow1[data-v-d79b6af4]{max-height:68vh;overflow-y:auto}@media screen and (max-width:768px){.ul-nav[data-v-d79b6af4]{overflow-x:scroll}.box-overflow1[data-v-d79b6af4]{max-height:none;overflow-y:auto}.ul-nav li[data-v-d79b6af4]:first-child,.ul-nav li[data-v-d79b6af4]:nth-child(2){display:none}}',""]),e.exports=t},4455:function(e,t,r){var a=r("cf4a");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var n=r("c69b").default;n("3b1f9f94",a,!0,{sourceMap:!1,shadowMode:!1})},"47d5":function(e,t,r){var a=r("a8db");e.exports=a("navigator","userAgent")||""},4945:function(e,t,r){"use strict";r.d(t,"c",(function(){return n})),r.d(t,"e",(function(){return o})),r.d(t,"a",(function(){return i})),r.d(t,"b",(function(){return s})),r.d(t,"d",(function(){return l}));var a=r("26fa");const n=async(e,t)=>{let r;return await a["b"].post(e,t).then(e=>(r=e.data,r)),r},o=async(e,t)=>{const r=await a["b"].post(e,t);return r},i=async(e,t)=>{const r=await a["b"].post(e,t);return r},s=async e=>{let t;return await a["b"].get(e).then(e=>(t=e.data,t)),t},l=async e=>{let t;return await a["b"].get(e).then(e=>(t=e.data,t)),t}},"4e6a":function(e,t,r){var a=r("5a25"),n=r("a83c");(e.exports=function(e,t){return n[e]||(n[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.27.1",mode:a?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.27.1/LICENSE",source:"https://github.com/zloirock/core-js"})},5151:function(e,t,r){var a=r("d168"),n=Object.defineProperty;e.exports=function(e,t){try{n(a,e,{value:t,configurable:!0,writable:!0})}catch(r){a[e]=t}return t}},5900:function(e,t){e.exports=function(e){return null===e||void 0===e}},"5a25":function(e,t){e.exports=!1},"5c2c":function(e,t,r){var a=r("a15f"),n=r("085a"),o=r("22e2"),i=r("e6a8"),s=r("8041"),l=r("61ca"),c=r("abf7"),u=r("cca5"),f=Object.getOwnPropertyDescriptor;t.f=a?f:function(e,t){if(e=s(e),t=l(t),u)try{return f(e,t)}catch(r){}if(c(e,t))return i(!n(o.f,e,t),e[t])}},"5e2f":function(e,t,r){var a=r("ab3a"),n=r("644c"),o=r("abf7"),i=r("a15f"),s=r("4104").CONFIGURABLE,l=r("7cbd"),c=r("7cfe"),u=c.enforce,f=c.get,d=Object.defineProperty,p=i&&!a((function(){return 8!==d((function(){}),"length",{value:8}).length})),v=String(String).split("String"),b=e.exports=function(e,t,r){"Symbol("===String(t).slice(0,7)&&(t="["+String(t).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),r&&r.getter&&(t="get "+t),r&&r.setter&&(t="set "+t),(!o(e,"name")||s&&e.name!==t)&&(i?d(e,"name",{value:t,configurable:!0}):e.name=t),p&&r&&o(r,"arity")&&e.length!==r.arity&&d(e,"length",{value:r.arity});try{r&&o(r,"constructor")&&r.constructor?i&&d(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(n){}var a=u(e);return o(a,"source")||(a.source=v.join("string"==typeof t?t:"")),e};Function.prototype.toString=b((function(){return n(this)&&f(this).source||l(this)}),"toString")},"61ca":function(e,t,r){var a=r("3dd5"),n=r("dfad");e.exports=function(e){var t=a(e,"string");return n(t)?t:t+""}},6369:function(e,t,r){var a=r("af95"),n=Object;e.exports=function(e){return n(a(e))}},"644c":function(e,t,r){var a=r("ee76"),n=a.all;e.exports=a.IS_HTMLDDA?function(e){return"function"==typeof e||e===n}:function(e){return"function"==typeof e}},"670d":function(e,t){var r=TypeError,a=9007199254740991;e.exports=function(e){if(e>a)throw r("Maximum allowed index exceeded");return e}},"675e":function(e,t,r){"use strict";r.d(t,"b",(function(){return i})),r.d(t,"a",(function(){return n})),r.d(t,"c",(function(){return s})),r.d(t,"e",(function(){return o})),r.d(t,"d",(function(){return l}));var a=r("26fa");const n=async(e,t)=>{const r=await a["b"].post(e,t);return r},o=async(e,t)=>{let r;const a=await fetch(""+e,{method:"put",body:t});return r=a,r},i=async e=>{const t=await a["b"].get("/task/"+e);return t},s=async(e,t)=>{const r=await a["b"].post(e,{learner_task_id:t});return r},l=async(e,t)=>{const r=await a["b"].post(e,t);return r}},6839:function(e,t,r){var a=r("ab3a"),n=r("644c"),o=/#|\.prototype\./,i=function(e,t){var r=l[s(e)];return r==u||r!=c&&(n(t)?a(t):!!t)},s=i.normalize=function(e){return String(e).replace(o,".").toLowerCase()},l=i.data={},c=i.NATIVE="N",u=i.POLYFILL="P";e.exports=i},"6a00":function(e,t,r){var a=r("d168"),n=r("5c2c").f,o=r("8e8e"),i=r("107e"),s=r("5151"),l=r("8d70"),c=r("6839");e.exports=function(e,t){var r,u,f,d,p,v,b=e.target,g=e.global,m=e.stat;if(u=g?a:m?a[b]||s(b,{}):(a[b]||{}).prototype,u)for(f in t){if(p=t[f],e.dontCallGetSet?(v=n(u,f),d=v&&v.value):d=u[f],r=c(g?f:b+(m?".":"#")+f,e.forced),!r&&void 0!==d){if(typeof p==typeof d)continue;l(p,d)}(e.sham||d&&d.sham)&&o(p,"sham",!0),i(u,f,p,e)}}},7188:function(e,t,r){var a=r("ab64"),n=r("ab3a"),o=r("2253"),i=Object,s=a("".split);e.exports=n((function(){return!i("z").propertyIsEnumerable(0)}))?function(e){return"String"==o(e)?s(e,""):i(e)}:i},7430:function(e,t,r){"use strict";r("4455")},"7b6e":function(e,t,r){var a=r("1edb");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var n=r("c69b").default;n("64323ca2",a,!0,{sourceMap:!1,shadowMode:!1})},"7cbd":function(e,t,r){var a=r("ab64"),n=r("644c"),o=r("a83c"),i=a(Function.toString);n(o.inspectSource)||(o.inspectSource=function(e){return i(e)}),e.exports=o.inspectSource},"7cc3":function(e,t,r){"use strict";var a=r("a15f"),n=r("1d28"),o=TypeError,i=Object.getOwnPropertyDescriptor,s=a&&!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(n(e)&&!i(e,"length").writable)throw o("Cannot set read only .length");return e.length=t}:function(e,t){return e.length=t}},"7cfe":function(e,t,r){var a,n,o,i=r("316b"),s=r("d168"),l=r("91f1"),c=r("8e8e"),u=r("abf7"),f=r("a83c"),d=r("dbfe"),p=r("ea1a"),v="Object already initialized",b=s.TypeError,g=s.WeakMap,m=function(e){return o(e)?n(e):a(e,{})},h=function(e){return function(t){var r;if(!l(t)||(r=n(t)).type!==e)throw b("Incompatible receiver, "+e+" required");return r}};if(i||f.state){var x=f.state||(f.state=new g);x.get=x.get,x.has=x.has,x.set=x.set,a=function(e,t){if(x.has(e))throw b(v);return t.facade=e,x.set(e,t),t},n=function(e){return x.get(e)||{}},o=function(e){return x.has(e)}}else{var y=d("state");p[y]=!0,a=function(e,t){if(u(e,y))throw b(v);return t.facade=e,c(e,y,t),t},n=function(e){return u(e,y)?e[y]:{}},o=function(e){return u(e,y)}}e.exports={set:a,get:n,has:o,enforce:m,getterFor:h}},"7f15":function(e,t,r){"use strict";r.d(t,"a",(function(){return n})),r.d(t,"b",(function(){return o}));var a=r("26fa");const n=async(e,t)=>{const r=await a["b"].post(e,t);return r},o=async(e,t)=>{const r=await a["b"].post(e,t);return r}},"803b":function(e,t,r){var a=r("ab64"),n=0,o=Math.random(),i=a(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+i(++n+o,36)}},8041:function(e,t,r){var a=r("7188"),n=r("af95");e.exports=function(e){return a(n(e))}},8391:function(e,t,r){var a=r("f189");e.exports=a&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},"88db":function(e,t,r){var a=r("d168"),n=r("91f1"),o=a.document,i=n(o)&&n(o.createElement);e.exports=function(e){return i?o.createElement(e):{}}},"8d70":function(e,t,r){var a=r("abf7"),n=r("a40d"),o=r("5c2c"),i=r("3426");e.exports=function(e,t,r){for(var s=n(t),l=i.f,c=o.f,u=0;u<s.length;u++){var f=s[u];a(e,f)||r&&a(r,f)||l(e,f,c(t,f))}}},"8e8e":function(e,t,r){var a=r("a15f"),n=r("3426"),o=r("e6a8");e.exports=a?function(e,t,r){return n.f(e,t,o(1,r))}:function(e,t,r){return e[t]=r,e}},9168:function(e,t,r){var a=r("d168"),n=r("4e6a"),o=r("abf7"),i=r("803b"),s=r("f189"),l=r("8391"),c=n("wks"),u=a.Symbol,f=u&&u["for"],d=l?u:u&&u.withoutSetter||i;e.exports=function(e){if(!o(c,e)||!s&&"string"!=typeof c[e]){var t="Symbol."+e;s&&o(u,e)?c[e]=u[e]:c[e]=l&&f?f(t):d(t)}return c[e]}},"91f1":function(e,t,r){var a=r("644c"),n=r("ee76"),o=n.all;e.exports=n.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:a(e)||e===o}:function(e){return"object"==typeof e?null!==e:a(e)}},9265:function(e,t,r){"use strict";r.r(t);var a=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"admin"},[t("div",{staticClass:"containers mx-auto allBoxImg mt-10"},[e.renderReady?[e.showErrorMessage?e._e():[t("div",{staticClass:"flex"},[t("div",{staticClass:"w-full pt-12"},[e.showSuccessMessage?t("div",{staticClass:"w-full px-3 text-center mt-4 bg-green-600 py-2 text-white"},[e._v(" "+e._s(e.resMessage)+" ")]):e._e(),e._m(0),t("div",{staticClass:"box-overflow1 mx-4 lg:mx-24 md:mx-24 lg:mt-6 md:mt-6 mt-3 text-sm"},[t("div",{staticClass:"block mt-4"},[t("div",{staticClass:"text-gray-600"},["Desktop"===e.taskType?t("div",{staticClass:"mt-4"},[t("p",{staticClass:"pt-1"},[e._v("Maximum file size: 200 MB")]),t("div",{staticClass:"flex"},[t("input",{attrs:{type:"file"},on:{change:e.selectedFile}})])]):e._e(),"Mobile"===e.taskType?t("div",{staticClass:"pt-12"},[t("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?t("span",{staticClass:"text-red-700"},[e._v(e._s(e.fileValidationMsg))]):e._e()])]),t("div",{staticClass:"block text-center pt-12"},[t("div",{staticClass:"pt-4"}),t("div",{staticClass:"mb-4 text-center"},[t("router-link",{staticClass:"inline-block mt-2 py-2 px-4 border border-blue-900 bg-white-500 text-gray-500 shadow-md focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75",attrs:{to:{name:"SolidifyAdministration"}}},[e._v("Back")]),t("button",{staticClass:"bg-background-secondary 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",on:{click:e.submitSubmiision}},[e._v("Submit Task")])],1)])])])])],e.showErrorMessage?t("ErrorMessage",{attrs:{"error-message":e.errorResponse}}):e._e()]:e._e(),e.renderReady?e._e():t("div",{staticClass:"flex flex-col h-min-screen justify-center text-center"},[t("img",{staticClass:"mb-8 block mx-auto loadercss mt-3%",attrs:{src: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)])},n=[function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"lg:px-24 md:px-24 px-4 flex justify-between"},[t("div",{staticClass:"text-blue-900 lg:text-3xl md:text-3xl text-xl my-2"},[e._v("Submit Learner Submission")])])}],o=r("6bcf"),i=r("1dba"),s=r.n(i),l=r("4945"),c=r("675e"),u=r("2390"),f=Object(o["b"])({name:"UploadSubmission",components:{ErrorMessage:u["a"]},props:{query:{type:Object,default:()=>({})}},setup(e){const t=Object(o["f"])(e.query.linked_task_id);console.log("Task ID",t.value);const r=Object(o["f"])(e.query.learner_task_id),a=Object(o["f"])(),n=Object(o["f"])(),i=Object(o["f"])(),u=Object(o["f"])(null),f=Object(o["f"])(),d=Object(o["f"])(!0),p=Object(o["f"])(),v=Object(o["f"])(0),b=Object(o["f"])(!1),g=Object(o["f"])(),m=Object(o["f"])(!1),h=Object(o["f"])(),x=Object(o["f"])(!1),y=async e=>{try{u.value=e.target.files[0],i.value=e.target.files[0].name;const t=e.target.files[0].size/1024/1024;t>200&&(n.value="fileSize greater than 200 MB")}catch(r){if(console.log(r),b.value=!0,s.a.isAxiosError(r)){var t;const e=r;g.value=null===(t=e.response)||void 0===t?void 0:t.data.message}else g.value="Something went wrong, please contact helpmate.";x.value=!0}},w=async()=>{try{if(b.value=!1,i.value){let e;const t={learner_task_id:r.value,learner_submission:i.value,taskType:a.value};if("Desktop"===a.value){const a=await Object(c["a"])("/v1/pretAuthUrlForUploadLearner",{file_name:i.value,learner_task_id:r.value}),n=a.data;f.value=n.preSignedUrl;const o=await Object(c["e"])(f.value,u.value);200===o.status?e=await Object(l["e"])("/uploadLearnerSubmissionFromAdmin",t):(b.value=!0,g.value="There is issue in the file upload, please contact with helpmate.",x.value=!0)}else e=await Object(l["e"])("/uploadLearnerSubmissionFromAdmin",t);200===e.status?(b.value=!0,h.value=e.data.message,m.value=!0,setTimeout(()=>{h.value=null,m.value=!1},6e3)):(b.value=!0,g.value="There is some issue while submitting learner submission, please contact with helpmate.",x.value=!0,setTimeout(()=>{h.value=null,m.value=!1},6e3))}else"Mobile"===a.value?(b.value=!0,i.value||(n.value="please Enter Submission",console.log("inside Mobile Type"),setTimeout(()=>{n.value=null},6e3))):"Desktop"===a.value&&(b.value=!0,console.log("learnerSubmission.value "+i.value),i.value||(n.value="please select File",setTimeout(()=>{n.value=null},6e3)))}catch(t){if(b.value=!0,console.log("error "+t),s.a.isAxiosError(t)){var e;const r=t;g.value=null===(e=r.response)||void 0===e?void 0:e.data.message}else g.value="There is some issue while submitting learner submission, please contact with helpmate.";x.value=!0}},k=async()=>{b.value=!1;const e=await Object(c["b"])(t.value);console.log("task data "+JSON.stringify(e));const r=e.data.data;r?a.value=r.task_type:(g.value="There is an issue to fetch task, please contact helpmate.",x.value=!0),b.value=!0};return Object(o["c"])(async()=>{await k()}),{taskType:a,learnerTaskId:r,renderReady:b,errorResponse:g,showErrorMessage:x,showSuccessMessage:m,resMessage:h,fileValidationMsg:n,submitSubmiision:w,learnerSubmission:i,selectedFile:y,preSignedUrl:f,buttonDisable:d,validationError:p,fileInputKey:v}}}),d=f,p=(r("32b3"),r("8619")),v=Object(p["a"])(d,a,n,!1,null,"39cc4cfa",null);t["default"]=v.exports},"949b":function(e,t,r){"use strict";r.d(t,"a",(function(){return o})),r.d(t,"b",(function(){return i})),r.d(t,"c",(function(){return s})),r.d(t,"d",(function(){return l})),r.d(t,"e",(function(){return c})),r.d(t,"f",(function(){return u})),r.d(t,"g",(function(){return f}));var a=r("11ce"),n=r.n(a),o={name:"ChevronDownIcon",props:{size:{type:String,default:"24",validator:function(e){return!isNaN(e)||e.length>=2&&!isNaN(e.slice(0,e.length-1))&&"x"===e.slice(-1)}}},functional:!0,render:function(e,t){var r="x"===t.props.size.slice(-1)?t.props.size.slice(0,t.props.size.length-1)+"em":parseInt(t.props.size)+"px",a=t.data.attrs||{};return a.width=a.width||r,a.height=a.height||r,t.data.attrs=a,e("svg",n()([{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},class:"feather feather-chevron-down"},t.data]),[e("polyline",{attrs:{points:"6 9 12 15 18 9"}})])}},i={name:"ChevronUpIcon",props:{size:{type:String,default:"24",validator:function(e){return!isNaN(e)||e.length>=2&&!isNaN(e.slice(0,e.length-1))&&"x"===e.slice(-1)}}},functional:!0,render:function(e,t){var r="x"===t.props.size.slice(-1)?t.props.size.slice(0,t.props.size.length-1)+"em":parseInt(t.props.size)+"px",a=t.data.attrs||{};return a.width=a.width||r,a.height=a.height||r,t.data.attrs=a,e("svg",n()([{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},class:"feather feather-chevron-up"},t.data]),[e("polyline",{attrs:{points:"18 15 12 9 6 15"}})])}},s={name:"DownloadIcon",props:{size:{type:String,default:"24",validator:function(e){return!isNaN(e)||e.length>=2&&!isNaN(e.slice(0,e.length-1))&&"x"===e.slice(-1)}}},functional:!0,render:function(e,t){var r="x"===t.props.size.slice(-1)?t.props.size.slice(0,t.props.size.length-1)+"em":parseInt(t.props.size)+"px",a=t.data.attrs||{};return a.width=a.width||r,a.height=a.height||r,t.data.attrs=a,e("svg",n()([{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},class:"feather feather-download"},t.data]),[e("path",{attrs:{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"}}),e("polyline",{attrs:{points:"7 10 12 15 17 10"}}),e("line",{attrs:{x1:"12",y1:"15",x2:"12",y2:"3"}})])}},l={name:"FilterIcon",props:{size:{type:String,default:"24",validator:function(e){return!isNaN(e)||e.length>=2&&!isNaN(e.slice(0,e.length-1))&&"x"===e.slice(-1)}}},functional:!0,render:function(e,t){var r="x"===t.props.size.slice(-1)?t.props.size.slice(0,t.props.size.length-1)+"em":parseInt(t.props.size)+"px",a=t.data.attrs||{};return a.width=a.width||r,a.height=a.height||r,t.data.attrs=a,e("svg",n()([{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},class:"feather feather-filter"},t.data]),[e("polygon",{attrs:{points:"22 3 2 3 10 12.46 10 19 14 21 14 12.46 22 3"}})])}},c={name:"RefreshCcwIcon",props:{size:{type:String,default:"24",validator:function(e){return!isNaN(e)||e.length>=2&&!isNaN(e.slice(0,e.length-1))&&"x"===e.slice(-1)}}},functional:!0,render:function(e,t){var r="x"===t.props.size.slice(-1)?t.props.size.slice(0,t.props.size.length-1)+"em":parseInt(t.props.size)+"px",a=t.data.attrs||{};return a.width=a.width||r,a.height=a.height||r,t.data.attrs=a,e("svg",n()([{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},class:"feather feather-refresh-ccw"},t.data]),[e("polyline",{attrs:{points:"1 4 1 10 7 10"}}),e("polyline",{attrs:{points:"23 20 23 14 17 14"}}),e("path",{attrs:{d:"M20.49 9A9 9 0 0 0 5.64 5.64L1 10m22 4l-4.64 4.36A9 9 0 0 1 3.51 15"}})])}},u={name:"SearchIcon",props:{size:{type:String,default:"24",validator:function(e){return!isNaN(e)||e.length>=2&&!isNaN(e.slice(0,e.length-1))&&"x"===e.slice(-1)}}},functional:!0,render:function(e,t){var r="x"===t.props.size.slice(-1)?t.props.size.slice(0,t.props.size.length-1)+"em":parseInt(t.props.size)+"px",a=t.data.attrs||{};return a.width=a.width||r,a.height=a.height||r,t.data.attrs=a,e("svg",n()([{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},class:"feather feather-search"},t.data]),[e("circle",{attrs:{cx:"11",cy:"11",r:"8"}}),e("line",{attrs:{x1:"21",y1:"21",x2:"16.65",y2:"16.65"}})])}},f={name:"XIcon",props:{size:{type:String,default:"24",validator:function(e){return!isNaN(e)||e.length>=2&&!isNaN(e.slice(0,e.length-1))&&"x"===e.slice(-1)}}},functional:!0,render:function(e,t){var r="x"===t.props.size.slice(-1)?t.props.size.slice(0,t.props.size.length-1)+"em":parseInt(t.props.size)+"px",a=t.data.attrs||{};return a.width=a.width||r,a.height=a.height||r,t.data.attrs=a,e("svg",n()([{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},class:"feather feather-x"},t.data]),[e("line",{attrs:{x1:"18",y1:"6",x2:"6",y2:"18"}}),e("line",{attrs:{x1:"6",y1:"6",x2:"18",y2:"18"}})])}}},"981b":function(e,t){t.f=Object.getOwnPropertySymbols},9908:function(e,t,r){var a=r("ab64"),n=r("abf7"),o=r("8041"),i=r("fbfb").indexOf,s=r("ea1a"),l=a([].push);e.exports=function(e,t){var r,a=o(e),c=0,u=[];for(r in a)!n(s,r)&&n(a,r)&&l(u,r);while(t.length>c)n(a,r=t[c++])&&(~i(u,r)||l(u,r));return u}},"9d04":function(e,t,r){e.exports=r.p+"img/loadernew.gif"},a15f:function(e,t,r){var a=r("ab3a");e.exports=!a((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},a40d:function(e,t,r){var a=r("a8db"),n=r("ab64"),o=r("163d"),i=r("981b"),s=r("b172"),l=n([].concat);e.exports=a("Reflect","ownKeys")||function(e){var t=o.f(s(e)),r=i.f;return r?l(t,r(e)):t}},a83c:function(e,t,r){var a=r("d168"),n=r("5151"),o="__core-js_shared__",i=a[o]||n(o,{});e.exports=i},a884:function(e,t){e.exports="data:image/png;base64,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"},a8db:function(e,t,r){var a=r("d168"),n=r("644c"),o=function(e){return n(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?o(a[e]):a[e]&&a[e][t]}},ab3a:function(e,t){e.exports=function(e){try{return!!e()}catch(t){return!0}}},ab64:function(e,t,r){var a=r("214f"),n=Function.prototype,o=n.call,i=a&&n.bind.bind(o,o);e.exports=a?i:function(e){return function(){return o.apply(e,arguments)}}},abf7:function(e,t,r){var a=r("ab64"),n=r("6369"),o=a({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return o(n(e),t)}},adb9:function(e,t,r){"use strict";r("bb77")},af95:function(e,t,r){var a=r("5900"),n=TypeError;e.exports=function(e){if(a(e))throw n("Can't call method on "+e);return e}},b172:function(e,t,r){var a=r("91f1"),n=String,o=TypeError;e.exports=function(e){if(a(e))return e;throw o(n(e)+" is not an object")}},b58f:function(e,t,r){var a=r("a15f"),n=r("ab3a");e.exports=a&&n((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},b662:function(e,t){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},bb5c:function(e,t){var r=String;e.exports=function(e){try{return r(e)}catch(t){return"Object"}}},bb77:function(e,t,r){var a=r("424a");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var n=r("c69b").default;n("92f5202e",a,!0,{sourceMap:!1,shadowMode:!1})},cca5:function(e,t,r){var a=r("a15f"),n=r("ab3a"),o=r("88db");e.exports=!a&&!n((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},cd20:function(e,t,r){var a=r("644c"),n=r("bb5c"),o=TypeError;e.exports=function(e){if(a(e))return e;throw o(n(e)+" is not a function")}},cf4a:function(e,t,r){var a=r("a8d8");t=a(!1),t.push([e.i,'.ul-nav ul[data-v-188276e1]{display:flex;width:100%}.ul-nav ul li.active[data-v-188276e1]{background:#00adcf!important;color:#fff!important}.ul-nav ul li[data-v-188276e1]: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-188276e1]{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-188276e1]: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-188276e1]{padding-left:20px!important}.box-overflow1[data-v-188276e1]{max-height:68vh;overflow-y:auto}@media screen and (max-width:768px){.ul-nav[data-v-188276e1]{overflow-x:scroll}.box-overflow1[data-v-188276e1]{max-height:none;overflow-y:auto}.ul-nav li[data-v-188276e1]:first-child,.ul-nav li[data-v-188276e1]:nth-child(2){display:none}}',""]),e.exports=t},d168: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"))},d1bf:function(e,t,r){var a=r("ab64");e.exports=a({}.isPrototypeOf)},d514:function(e,t,r){var a=r("3a3a"),n=Math.min;e.exports=function(e){return e>0?n(a(e),9007199254740991):0}},dbeb:function(e,t,r){var a=r("d514");e.exports=function(e){return a(e.length)}},dbfe:function(e,t,r){var a=r("4e6a"),n=r("803b"),o=a("keys");e.exports=function(e){return o[e]||(o[e]=n(e))}},dfad:function(e,t,r){var a=r("a8db"),n=r("644c"),o=r("d1bf"),i=r("8391"),s=Object;e.exports=i?function(e){return"symbol"==typeof e}:function(e){var t=a("Symbol");return n(t)&&o(t.prototype,s(e))}},e6a8:function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},ea1a:function(e,t){e.exports={}},ec53:function(e,t,r){"use strict";var a=r("6a00"),n=r("6369"),o=r("dbeb"),i=r("7cc3"),s=r("670d"),l=r("ab3a"),c=l((function(){return 4294967297!==[].push.call({length:4294967296},1)})),u=!function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(e){return e instanceof TypeError}}();a({target:"Array",proto:!0,arity:1,forced:c||u},{push:function(e){var t=n(this),r=o(t),a=arguments.length;s(r+a);for(var l=0;l<a;l++)t[r]=arguments[l],r++;return i(t,r),r}})},edfa:function(e,t,r){"use strict";r.r(t);var a=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"admin"},[t("div",{staticClass:"containers mx-auto allBoxImg mt-10"},[e.renderReady?[e.showErrorMessage?e._e():[t("div",{staticClass:"flex"},[t("div",{staticClass:"w-full pt-12"},[e.showSuccessMessage?t("div",{staticClass:"w-full px-3 text-center mt-4 bg-green-600 py-2 text-white"},[e._v(" "+e._s(e.resMessage)+" ")]):e._e(),e._m(0),t("div",{staticClass:"box-overflow1 mx-4 lg:mx-24 md:mx-24 lg:mt-6 md:mt-6 mt-3 text-sm"},[t("div",{staticClass:"block mt-4"},[t("div",{staticClass:"text-gray-600"},["Desktop"===e.taskType?t("div",{staticClass:"mt-4"},[t("p",{staticClass:"pt-1"},[e._v("Maximum file size: 200 MB")]),t("div",{staticClass:"flex"},[t("input",{attrs:{type:"file"},on:{change:e.selectedFile}})])]):e._e(),"Mobile"===e.taskType?t("div",{staticClass:"pt-12"},[t("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?t("span",{staticClass:"text-red-700"},[e._v(e._s(e.fileValidationMsg))]):e._e()])]),t("div",{staticClass:"block text-center pt-12"},[t("div",{staticClass:"pt-4"}),t("div",{staticClass:"mb-4 text-center"},[t("router-link",{staticClass:"inline-block mt-2 py-2 px-4 border border-blue-900 bg-white-500 text-gray-500 shadow-md focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75",attrs:{to:{name:"SolidifyAdministrationOffCycleDetails",query:{learner_task_id:e.learnerTaskId}}}},[e._v("Back")]),t("button",{staticClass:"bg-background-secondary 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",on:{click:e.submitSubmiision}},[e._v(" Update Submission ")])],1)])])])])],e.showErrorMessage?t("ErrorMessage",{attrs:{"error-message":e.errorResponse}}):e._e()]:e._e(),e.renderReady?e._e():t("div",{staticClass:"flex flex-col h-min-screen justify-center text-center"},[t("img",{staticClass:"mb-8 block mx-auto loadercss mt-3%",attrs:{src: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)])},n=[function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"lg:px-24 md:px-24 px-4 flex justify-between"},[t("div",{staticClass:"text-blue-900 lg:text-3xl md:text-3xl text-xl my-2"},[e._v("Update Learner Submission")])])}],o=r("6bcf"),i=r("1dba"),s=r.n(i),l=r("4945"),c=r("675e"),u=r("2390"),f=Object(o["b"])({name:"UpdateSubmission",components:{ErrorMessage:u["a"]},props:{query:{type:Object,default:()=>({})}},setup(e){const t=Object(o["f"])(e.query.linked_task_id);console.log("Task ID",t.value);const r=Object(o["f"])(e.query.learner_task_id),a=Object(o["f"])(),n=Object(o["f"])(),i=Object(o["f"])(),u=Object(o["f"])(null),f=Object(o["f"])(),d=Object(o["f"])(!0),p=Object(o["f"])(),v=Object(o["f"])(0),b=Object(o["f"])(!1),g=Object(o["f"])(),m=Object(o["f"])(!1),h=Object(o["f"])(),x=Object(o["f"])(!1),y=async e=>{try{u.value=e.target.files[0],i.value=e.target.files[0].name;const t=e.target.files[0].size/1024/1024;t>200&&(n.value="fileSize greater than 200 MB")}catch(r){if(console.log(r),b.value=!0,s.a.isAxiosError(r)){var t;const e=r;g.value=null===(t=e.response)||void 0===t?void 0:t.data.message}else g.value="Something went wrong, please contact helpmate.";x.value=!0}},w=async()=>{try{if(b.value=!1,i.value){let e;const t={learner_task_id:r.value,learner_submission:i.value,taskType:a.value};if("Desktop"===a.value){const a=await Object(c["a"])("/v1/pretAuthUrlForUploadLearner",{file_name:i.value,learner_task_id:r.value}),n=a.data;f.value=n.preSignedUrl;const o=await Object(c["e"])(f.value,u.value);200===o.status?e=await Object(l["e"])("/uploadLearnerSubmissionFromAdmin",t):(b.value=!0,g.value="There is issue in the file upload, please contact with helpmate.",x.value=!0)}else e=await Object(l["e"])("/uploadLearnerSubmissionFromAdmin",t);200===e.status?(b.value=!0,h.value=e.data.message,m.value=!0,setTimeout(()=>{h.value=null,m.value=!1},6e3)):(b.value=!0,g.value="There is some issue while submitting learner submission, please contact with helpmate.",x.value=!0,setTimeout(()=>{h.value=null,m.value=!1},6e3))}else"Mobile"===a.value?(b.value=!0,i.value||(n.value="please Enter Submission",console.log("inside Mobile Type"),setTimeout(()=>{n.value=null},6e3))):"Desktop"===a.value&&(b.value=!0,console.log("learnerSubmission.value "+i.value),i.value||(n.value="please select File",setTimeout(()=>{n.value=null},6e3)))}catch(t){if(b.value=!0,console.log("error "+t),s.a.isAxiosError(t)){var e;const r=t;g.value=null===(e=r.response)||void 0===e?void 0:e.data.message}else g.value="There is some issue while submitting learner submission, please contact with helpmate.";x.value=!0}},k=async()=>{b.value=!1;const e=await Object(c["b"])(t.value);console.log("task data "+JSON.stringify(e));const r=e.data.data;r?a.value=r.task_type:(g.value="There is an issue to fetch task, please contact helpmate.",x.value=!0),b.value=!0};return Object(o["c"])(async()=>{await k()}),{taskType:a,learnerTaskId:r,renderReady:b,errorResponse:g,showErrorMessage:x,showSuccessMessage:m,resMessage:h,fileValidationMsg:n,submitSubmiision:w,learnerSubmission:i,selectedFile:y,preSignedUrl:f,buttonDisable:d,validationError:p,fileInputKey:v}}}),d=f,p=(r("7430"),r("8619")),v=Object(p["a"])(d,a,n,!1,null,"188276e1",null);t["default"]=v.exports},ee76:function(e,t){var r="object"==typeof document&&document.all,a="undefined"==typeof r&&void 0!==r;e.exports={all:r,IS_HTMLDDA:a}},f189:function(e,t,r){var a=r("2ae2"),n=r("ab3a");e.exports=!!Object.getOwnPropertySymbols&&!n((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&a&&a<41}))},f568:function(e,t,r){"use strict";r.r(t);var a,n=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"admin"},[t("div",{staticClass:"containers mx-auto allBoxImg mt-10"},[e.renderReady?[e.showErrorMessage?e._e():[t("div",{staticClass:"flex"},[t("div",{staticClass:"w-full pt-12"},[e.showSuccessMessage?t("div",{staticClass:"w-full px-3 text-center mt-4 bg-green-600 py-2 text-white"},[e._v(" "+e._s(e.resMessage)+" ")]):e._e(),e._m(0),t("div",{staticClass:"box-overflow1 mx-4 lg:mx-24 md:mx-24 lg:mt-6 md:mt-6 mt-3 text-sm"},[t("div",{staticClass:"block mt-4"},[t("div",{staticClass:"text-gray-600"},[t("div",["infinity"===e.programId?t("p",[e._v(" Proficiency: "),t("strong",[e._v(e._s(e.profName))])]):e._e(),"infinity"===e.programId?t("p",{staticClass:"pt-2"},[e._v(" Skill: "),t("strong",[e._v(e._s(e.skill))])]):e._e(),"infinity"!==e.programId?t("p",{staticClass:"pt-2"},[e._v(" Program: "),t("strong",[e._v(e._s(e.programName))])]):e._e(),t("p",{staticClass:"pt-2"},[t("strong",[e._v("Task Name: ")]),e._v(e._s(e.taskName))])]),"Desktop"===e.taskType?t("div",{staticClass:"mt-4"},[e._m(1),t("p",{staticClass:"pt-1"},[e._v("Maximum file size: 200 MB")]),t("div",{staticClass:"flex"},[t("input",{key:e.fileInputKey,attrs:{type:"file"},on:{change:e.selectedFile}}),e._v(" "),e.learnerSubmission?t("x-icon",{attrs:{size:"1.5x"},on:{click:function(t){return e.clearFile()}}}):e._e()],1)]):e._e(),"Mobile"===e.taskType?t("div",{staticClass:"pt-12"},[t("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?t("span",{staticClass:"text-red-700"},[e._v(e._s(e.fileValidationMsg))]):e._e()])]),t("div",{staticClass:"block text-center pt-12"},[e._m(2),t("div",{staticClass:"mb-4 text-center"},[null!==e.skillId&&null!==e.proficiencyId?t("router-link",{staticClass:"inline-block mt-2 py-2 px-4 border border-blue-900 bg-white-500 text-gray-500 shadow-md focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75",attrs:{to:{name:"SolidifyAdministrationCreateOffCycles",query:{Program_id:e.programId,skill_id:e.skillId,proficiency_id:e.proficiencyId}}}},[e._v("Back")]):t("router-link",{staticClass:"inline-block mt-2 py-2 px-4 border border-blue-900 bg-white-500 text-gray-500 shadow-md focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75",attrs:{to:{name:"SolidifyAdministrationCreateOffCycles",query:{Program_id:e.programId}}}},[e._v("Back")]),t("button",{staticClass:"bg-background-secondary 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",on:{click:e.submitSubmiision}},[e._v("Submit Task")])],1)])])])])],e.showErrorMessage?t("ErrorMessage",{attrs:{"error-message":e.errorResponse}}):e._e()]:e._e(),e.renderReady?e._e():t("div",{staticClass:"flex flex-col h-min-screen justify-center text-center"},[t("img",{staticClass:"mb-8 block mx-auto loadercss mt-3%",attrs:{src: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("div",{staticClass:"lg:px-24 md:px-24 px-4 flex justify-between"},[t("div",{staticClass:"text-blue-900 lg:text-3xl md:text-3xl text-xl my-2"},[e._v("Create Off-Cycle Task")])])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("p",{staticClass:"pt-2"},[t("strong",[e._v("Upload the file to create off-cycle task")])])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"pt-4"},[t("p",{staticClass:"text-xl"},[t("em",[e._v("Please don't click the browser back button")])])])}],i=(r("ec53"),r("6bcf")),s=r("949b"),l=r("1dba"),c=r.n(l),u=new Uint8Array(16);function f(){if(!a&&(a="undefined"!==typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!==typeof msCrypto&&"function"===typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto),!a))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return a(u)}var d=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;function p(e){return"string"===typeof e&&d.test(e)}for(var v=p,b=[],g=0;g<256;++g)b.push((g+256).toString(16).substr(1));function m(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=(b[e[t+0]]+b[e[t+1]]+b[e[t+2]]+b[e[t+3]]+"-"+b[e[t+4]]+b[e[t+5]]+"-"+b[e[t+6]]+b[e[t+7]]+"-"+b[e[t+8]]+b[e[t+9]]+"-"+b[e[t+10]]+b[e[t+11]]+b[e[t+12]]+b[e[t+13]]+b[e[t+14]]+b[e[t+15]]).toLowerCase();if(!v(r))throw TypeError("Stringified UUID is invalid");return r}var h,x,y=m,w=0,k=0;function S(e,t,r){var a=t&&r||0,n=t||new Array(16);e=e||{};var o=e.node||h,i=void 0!==e.clockseq?e.clockseq:x;if(null==o||null==i){var s=e.random||(e.rng||f)();null==o&&(o=h=[1|s[0],s[1],s[2],s[3],s[4],s[5]]),null==i&&(i=x=16383&(s[6]<<8|s[7]))}var l=void 0!==e.msecs?e.msecs:Date.now(),c=void 0!==e.nsecs?e.nsecs:k+1,u=l-w+(c-k)/1e4;if(u<0&&void 0===e.clockseq&&(i=i+1&16383),(u<0||l>w)&&void 0===e.nsecs&&(c=0),c>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");w=l,k=c,x=i,l+=122192928e5;var d=(1e4*(268435455&l)+c)%4294967296;n[a++]=d>>>24&255,n[a++]=d>>>16&255,n[a++]=d>>>8&255,n[a++]=255&d;var p=l/4294967296*1e4&268435455;n[a++]=p>>>8&255,n[a++]=255&p,n[a++]=p>>>24&15|16,n[a++]=p>>>16&255,n[a++]=i>>>8|128,n[a++]=255&i;for(var v=0;v<6;++v)n[a+v]=o[v];return t||y(n)}var _=S;function j(e){if(!v(e))throw TypeError("Invalid UUID");var t,r=new Uint8Array(16);return r[0]=(t=parseInt(e.slice(0,8),16))>>>24,r[1]=t>>>16&255,r[2]=t>>>8&255,r[3]=255&t,r[4]=(t=parseInt(e.slice(9,13),16))>>>8,r[5]=255&t,r[6]=(t=parseInt(e.slice(14,18),16))>>>8,r[7]=255&t,r[8]=(t=parseInt(e.slice(19,23),16))>>>8,r[9]=255&t,r[10]=(t=parseInt(e.slice(24,36),16))/1099511627776&255,r[11]=t/4294967296&255,r[12]=t>>>24&255,r[13]=t>>>16&255,r[14]=t>>>8&255,r[15]=255&t,r}var O=j;function C(e){e=unescape(encodeURIComponent(e));for(var t=[],r=0;r<e.length;++r)t.push(e.charCodeAt(r));return t}var A="6ba7b810-9dad-11d1-80b4-00c04fd430c8",I="6ba7b811-9dad-11d1-80b4-00c04fd430c8",M=function(e,t,r){function a(e,a,n,o){if("string"===typeof e&&(e=C(e)),"string"===typeof a&&(a=O(a)),16!==a.length)throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");var i=new Uint8Array(16+e.length);if(i.set(a),i.set(e,a.length),i=r(i),i[6]=15&i[6]|t,i[8]=63&i[8]|128,n){o=o||0;for(var s=0;s<16;++s)n[o+s]=i[s];return n}return y(i)}try{a.name=e}catch(n){}return a.DNS=A,a.URL=I,a};function T(e){if("string"===typeof e){var t=unescape(encodeURIComponent(e));e=new Uint8Array(t.length);for(var r=0;r<t.length;++r)e[r]=t.charCodeAt(r)}return z(U(N(e),8*e.length))}function z(e){for(var t=[],r=32*e.length,a="0123456789abcdef",n=0;n<r;n+=8){var o=e[n>>5]>>>n%32&255,i=parseInt(a.charAt(o>>>4&15)+a.charAt(15&o),16);t.push(i)}return t}function E(e){return 14+(e+64>>>9<<4)+1}function U(e,t){e[t>>5]|=128<<t%32,e[E(t)-1]=t;for(var r=1732584193,a=-271733879,n=-1732584194,o=271733878,i=0;i<e.length;i+=16){var s=r,l=a,c=n,u=o;r=D(r,a,n,o,e[i],7,-680876936),o=D(o,r,a,n,e[i+1],12,-389564586),n=D(n,o,r,a,e[i+2],17,606105819),a=D(a,n,o,r,e[i+3],22,-1044525330),r=D(r,a,n,o,e[i+4],7,-176418897),o=D(o,r,a,n,e[i+5],12,1200080426),n=D(n,o,r,a,e[i+6],17,-1473231341),a=D(a,n,o,r,e[i+7],22,-45705983),r=D(r,a,n,o,e[i+8],7,1770035416),o=D(o,r,a,n,e[i+9],12,-1958414417),n=D(n,o,r,a,e[i+10],17,-42063),a=D(a,n,o,r,e[i+11],22,-1990404162),r=D(r,a,n,o,e[i+12],7,1804603682),o=D(o,r,a,n,e[i+13],12,-40341101),n=D(n,o,r,a,e[i+14],17,-1502002290),a=D(a,n,o,r,e[i+15],22,1236535329),r=F(r,a,n,o,e[i+1],5,-165796510),o=F(o,r,a,n,e[i+6],9,-1069501632),n=F(n,o,r,a,e[i+11],14,643717713),a=F(a,n,o,r,e[i],20,-373897302),r=F(r,a,n,o,e[i+5],5,-701558691),o=F(o,r,a,n,e[i+10],9,38016083),n=F(n,o,r,a,e[i+15],14,-660478335),a=F(a,n,o,r,e[i+4],20,-405537848),r=F(r,a,n,o,e[i+9],5,568446438),o=F(o,r,a,n,e[i+14],9,-1019803690),n=F(n,o,r,a,e[i+3],14,-187363961),a=F(a,n,o,r,e[i+8],20,1163531501),r=F(r,a,n,o,e[i+13],5,-1444681467),o=F(o,r,a,n,e[i+2],9,-51403784),n=F(n,o,r,a,e[i+7],14,1735328473),a=F(a,n,o,r,e[i+12],20,-1926607734),r=B(r,a,n,o,e[i+5],4,-378558),o=B(o,r,a,n,e[i+8],11,-2022574463),n=B(n,o,r,a,e[i+11],16,1839030562),a=B(a,n,o,r,e[i+14],23,-35309556),r=B(r,a,n,o,e[i+1],4,-1530992060),o=B(o,r,a,n,e[i+4],11,1272893353),n=B(n,o,r,a,e[i+7],16,-155497632),a=B(a,n,o,r,e[i+10],23,-1094730640),r=B(r,a,n,o,e[i+13],4,681279174),o=B(o,r,a,n,e[i],11,-358537222),n=B(n,o,r,a,e[i+3],16,-722521979),a=B(a,n,o,r,e[i+6],23,76029189),r=B(r,a,n,o,e[i+9],4,-640364487),o=B(o,r,a,n,e[i+12],11,-421815835),n=B(n,o,r,a,e[i+15],16,530742520),a=B(a,n,o,r,e[i+2],23,-995338651),r=G(r,a,n,o,e[i],6,-198630844),o=G(o,r,a,n,e[i+7],10,1126891415),n=G(n,o,r,a,e[i+14],15,-1416354905),a=G(a,n,o,r,e[i+5],21,-57434055),r=G(r,a,n,o,e[i+12],6,1700485571),o=G(o,r,a,n,e[i+3],10,-1894986606),n=G(n,o,r,a,e[i+10],15,-1051523),a=G(a,n,o,r,e[i+1],21,-2054922799),r=G(r,a,n,o,e[i+8],6,1873313359),o=G(o,r,a,n,e[i+15],10,-30611744),n=G(n,o,r,a,e[i+6],15,-1560198380),a=G(a,n,o,r,e[i+13],21,1309151649),r=G(r,a,n,o,e[i+4],6,-145523070),o=G(o,r,a,n,e[i+11],10,-1120210379),n=G(n,o,r,a,e[i+2],15,718787259),a=G(a,n,o,r,e[i+9],21,-343485551),r=L(r,s),a=L(a,l),n=L(n,c),o=L(o,u)}return[r,a,n,o]}function N(e){if(0===e.length)return[];for(var t=8*e.length,r=new Uint32Array(E(t)),a=0;a<t;a+=8)r[a>>5]|=(255&e[a/8])<<a%32;return r}function L(e,t){var r=(65535&e)+(65535&t),a=(e>>16)+(t>>16)+(r>>16);return a<<16|65535&r}function R(e,t){return e<<t|e>>>32-t}function P(e,t,r,a,n,o){return L(R(L(L(t,e),L(a,o)),n),r)}function D(e,t,r,a,n,o,i){return P(t&r|~t&a,e,t,n,o,i)}function F(e,t,r,a,n,o,i){return P(t&a|r&~a,e,t,n,o,i)}function B(e,t,r,a,n,o,i){return P(t^r^a,e,t,n,o,i)}function G(e,t,r,a,n,o,i){return P(r^(t|~a),e,t,n,o,i)}var V=T,J=M("v3",48,V),W=J;function q(e,t,r){e=e||{};var a=e.random||(e.rng||f)();if(a[6]=15&a[6]|64,a[8]=63&a[8]|128,t){r=r||0;for(var n=0;n<16;++n)t[r+n]=a[n];return t}return y(a)}var X=q;function Z(e,t,r,a){switch(e){case 0:return t&r^~t&a;case 1:return t^r^a;case 2:return t&r^t&a^r&a;case 3:return t^r^a}}function H(e,t){return e<<t|e>>>32-t}function Y(e){var t=[1518500249,1859775393,2400959708,3395469782],r=[1732584193,4023233417,2562383102,271733878,3285377520];if("string"===typeof e){var a=unescape(encodeURIComponent(e));e=[];for(var n=0;n<a.length;++n)e.push(a.charCodeAt(n))}else Array.isArray(e)||(e=Array.prototype.slice.call(e));e.push(128);for(var o=e.length/4+2,i=Math.ceil(o/16),s=new Array(i),l=0;l<i;++l){for(var c=new Uint32Array(16),u=0;u<16;++u)c[u]=e[64*l+4*u]<<24|e[64*l+4*u+1]<<16|e[64*l+4*u+2]<<8|e[64*l+4*u+3];s[l]=c}s[i-1][14]=8*(e.length-1)/Math.pow(2,32),s[i-1][14]=Math.floor(s[i-1][14]),s[i-1][15]=8*(e.length-1)&4294967295;for(var f=0;f<i;++f){for(var d=new Uint32Array(80),p=0;p<16;++p)d[p]=s[f][p];for(var v=16;v<80;++v)d[v]=H(d[v-3]^d[v-8]^d[v-14]^d[v-16],1);for(var b=r[0],g=r[1],m=r[2],h=r[3],x=r[4],y=0;y<80;++y){var w=Math.floor(y/20),k=H(b,5)+Z(w,g,m,h)+x+t[w]+d[y]>>>0;x=h,h=m,m=H(g,30)>>>0,g=b,b=k}r[0]=r[0]+b>>>0,r[1]=r[1]+g>>>0,r[2]=r[2]+m>>>0,r[3]=r[3]+h>>>0,r[4]=r[4]+x>>>0}return[r[0]>>24&255,r[0]>>16&255,r[0]>>8&255,255&r[0],r[1]>>24&255,r[1]>>16&255,r[1]>>8&255,255&r[1],r[2]>>24&255,r[2]>>16&255,r[2]>>8&255,255&r[2],r[3]>>24&255,r[3]>>16&255,r[3]>>8&255,255&r[3],r[4]>>24&255,r[4]>>16&255,r[4]>>8&255,255&r[4]]}var K=Y,Q=M("v5",80,K),$=Q,ee={v1:_,v3:W,v4:X,v5:$};var te=r("afbc"),re=r("675e"),ae=r("7f15"),ne=r("2390"),oe=Object(i["b"])({name:"LearnerSubmitTask",components:{XIcon:s["g"],ErrorMessage:ne["a"]},setup(){const e=Object(i["f"])(localStorage.getItem("linkedTaskId")),t=Object(i["f"])(ee.v1()),r=Object(i["f"])(localStorage.getItem("programId")),a=Object(i["f"])(localStorage.getItem("programName")),n=Object(i["f"])(localStorage.getItem("skillId"));console.log("skill Id in createoffcyclle",n);const o=Object(i["f"])(localStorage.getItem("proficiencyId")),s=Object(i["f"])(localStorage.getItem("skillName")),l=Object(i["f"])(localStorage.getItem("proficiencyName")),u=Object(i["f"])(localStorage.getItem("taskName")),f=Object(i["f"])(localStorage.getItem("taskType")),d=Object(i["f"])(null),p=Object(i["f"])(),v=Object(i["f"])(),b=Object(i["f"])(),g=Object(i["f"])(!0),m=Object(i["f"])(),h=Object(i["f"])(0),x=Object(i["f"])(!1),y=Object(i["f"])(),w=Object(i["f"])(!1),k=Object(i["f"])(),S=Object(i["f"])(!1),_=async()=>{h.value+=1,console.log("before "+v.value),v.value=null,console.log("after "+v.value)},j=e=>{const t=e.target.checked;!0===t?(g.value=!1,console.log(g.value)):(g.value=!0,console.log(g.value))},O=async e=>{try{d.value=e.target.files[0],v.value=e.target.files[0].name;const t=e.target.files[0].size/1024/1024;t>200&&(p.value="fileSize greater than 200 MB")}catch(r){if(console.log(r),x.value=!0,c.a.isAxiosError(r)){var t;const e=r;y.value=null===(t=e.response)||void 0===t?void 0:t.data.message}else y.value="Something went wrong, please contact helpmate.";S.value=!0}},C=async()=>{try{if(x.value=!1,v.value){let a;if("Desktop"===f.value){const i={linked_program_name:r.value,learner_task_id:t.value,skill:n.value,proficiency:o.value,linked_task_id:e.value,learner_submission:v.value},s=await Object(re["a"])("/v1/pretAuthUrlForUploadLearner",{file_name:v.value,learner_task_id:t.value}),l=s.data;b.value=l.preSignedUrl;const c=await Object(re["e"])(b.value,d.value);200===c.status?a=await Object(ae["a"])("/offcycle/create",i):(x.value=!0,y.value="There is issue in the file upload, please contact with helpmate.",S.value=!0)}else{const i={linked_program_name:r.value,learner_task_id:t.value,skill:n.value,proficiency:o.value,linked_task_id:e.value,learner_submission_text:v.value};a=await Object(ae["a"])("/offcycle/create",i)}200===a.status?(x.value=!0,k.value=a.data.message,w.value=!0,localStorage.removeItem("programId"),localStorage.removeItem("programName"),localStorage.removeItem("linkedTaskId"),localStorage.removeItem("skillId"),localStorage.removeItem("skillName"),localStorage.removeItem("proficiencyId"),localStorage.removeItem("proficiencyName"),localStorage.removeItem("taskName"),localStorage.removeItem("taskType"),null!==n.value&&null!==o.value?te["a"].push({name:"SolidifyAdministrationCreateOffCycles",query:{Program_id:r.value,skill_id:n.value,proficiency_id:o.value}}):te["a"].push({name:"SolidifyAdministrationCreateOffCycles",query:{Program_id:r.value}})):(x.value=!0,y.value="There is some issue while submitting learner submission, please contact with helpmate.",S.value=!0)}else"Mobile"===f.value?(x.value=!0,v.value||(p.value="please Enter Submission",console.log("inside Mobile Type"),setTimeout(()=>{p.value=null},6e3))):"Desktop"===f.value&&(x.value=!0,console.log("learnerSubmission.value "+v.value),v.value||(p.value="please select File",setTimeout(()=>{p.value=null},6e3)))}catch(i){if(x.value=!0,console.log("error "+i),c.a.isAxiosError(i)){var a;const e=i;y.value=null===(a=e.response)||void 0===a?void 0:a.data.message}else y.value="There is some issue while submitting learner submission, please contact with helpmate.";S.value=!0}};return Object(i["c"])(async()=>{x.value=!0}),{learnerSubmissionFile:d,skillId:n,proficiencyId:o,programId:r,taskType:f,taskName:u,submitSubmiision:C,learnerSubmission:v,selectedFile:O,fileValidationMsg:p,learnerTaskId:t,preSignedUrl:b,buttonDisable:g,setButtonEnable:j,validationError:m,clearFile:_,fileInputKey:h,renderReady:x,errorResponse:y,showErrorMessage:S,programName:a,skill:s,profName:l,showSuccessMessage:w,resMessage:k}}}),ie=oe,se=(r("adb9"),r("8619")),le=Object(se["a"])(ie,n,o,!1,null,"d79b6af4",null);t["default"]=le.exports},f889:function(e,t,r){var a=r("3a3a"),n=Math.max,o=Math.min;e.exports=function(e,t){var r=a(e);return r<0?n(r+t,0):o(r,t)}},fbfb:function(e,t,r){var a=r("8041"),n=r("f889"),o=r("dbeb"),i=function(e){return function(t,r,i){var s,l=a(t),c=o(l),u=n(i,c);if(e&&r!=r){while(c>u)if(s=l[u++],s!=s)return!0}else for(;c>u;u++)if((e||u in l)&&l[u]===r)return e||u||0;return!e&&-1}};e.exports={includes:i(!0),indexOf:i(!1)}},fee9:function(e,t,r){var a=r("cd20"),n=r("5900");e.exports=function(e,t){var r=e[t];return n(r)?void 0:a(r)}}}]);
1
+ (window["webpackJsonp__@genpact/genome.mfe.solidify-app"]=window["webpackJsonp__@genpact/genome.mfe.solidify-app"]||[]).push([["SolidifyAdministrationCreateOffCyele"],{"059d":function(e,t,r){var a=r("b6e5"),n=r("08af"),o=r("4a30"),i=a(Function.toString);n(o.inspectSource)||(o.inspectSource=function(e){return i(e)}),e.exports=o.inspectSource},"08af":function(e,t,r){var a=r("4bc9"),n=a.all;e.exports=a.IS_HTMLDDA?function(e){return"function"==typeof e||e===n}:function(e){return"function"==typeof e}},"0a63":function(e,t,r){var a=r("cd21"),n=r("f14b"),o=r("bd0b"),i=r("a2fd"),s=r("7700"),l=TypeError,c=Object.defineProperty,u=Object.getOwnPropertyDescriptor,f="enumerable",d="configurable",p="writable";t.f=a?o?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 a=u(e,t);a&&a[p]&&(e[t]=r.value,r={configurable:d in r?r[d]:a[d],enumerable:f in r?r[f]:a[f],writable:!1})}return c(e,t,r)}:c:function(e,t,r){if(i(e),t=s(t),i(r),n)try{return c(e,t,r)}catch(a){}if("get"in r||"set"in r)throw l("Accessors not supported");return"value"in r&&(e[t]=r.value),e}},"0ad6":function(e,t,r){var a=r("6b8d"),n=Math.max,o=Math.min;e.exports=function(e,t){var r=a(e);return r<0?n(r+t,0):o(r,t)}},"0b15":function(e,t,r){var a=r("08af"),n=r("4bc9"),o=n.all;e.exports=n.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:a(e)||e===o}:function(e){return"object"==typeof e?null!==e:a(e)}},"0c40":function(e,t,r){var a=r("6b8d"),n=Math.min;e.exports=function(e){return e>0?n(a(e),9007199254740991):0}},"11ce":function(e,t){var r=/^(attrs|props|on|nativeOn|class|style|hook)$/;function a(e,t){return function(){e&&e.apply(this,arguments),t&&t.apply(this,arguments)}}e.exports=function(e){return e.reduce((function(e,t){var n,o,i,s,l;for(i in t)if(n=e[i],o=t[i],n&&r.test(i))if("class"===i&&("string"===typeof n&&(l=n,e[i]=n={},n[l]=!0),"string"===typeof o&&(l=o,t[i]=o={},o[l]=!0)),"on"===i||"nativeOn"===i||"hook"===i)for(s in o)n[s]=a(n[s],o[s]);else if(Array.isArray(n))e[i]=n.concat(o);else if(Array.isArray(o))e[i]=[n].concat(o);else for(s in o)n[s]=o[s];else e[i]=t[i];return e}),{})}},"14e0":function(e,t,r){var a=r("b6e5"),n=r("cd6f"),o=a({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return o(n(e),t)}},"1edb":function(e,t,r){var a=r("a8d8");t=a(!1),t.push([e.i,'.ul-nav ul[data-v-39cc4cfa]{display:flex;width:100%}.ul-nav ul li.active[data-v-39cc4cfa]{background:#00adcf!important;color:#fff!important}.ul-nav ul li[data-v-39cc4cfa]: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-39cc4cfa]{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-39cc4cfa]: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-39cc4cfa]{padding-left:20px!important}.box-overflow1[data-v-39cc4cfa]{max-height:68vh;overflow-y:auto}@media screen and (max-width:768px){.ul-nav[data-v-39cc4cfa]{overflow-x:scroll}.box-overflow1[data-v-39cc4cfa]{max-height:none;overflow-y:auto}.ul-nav li[data-v-39cc4cfa]:first-child,.ul-nav li[data-v-39cc4cfa]:nth-child(2){display:none}}',""]),e.exports=t},2390:function(e,t,r){"use strict";var a=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"flex"},[t("div",{staticClass:"w-full pt-16 px-32"},[t("div",{staticClass:"md:px-0 lg:px-0 text-center"},[t("div",{staticClass:"text-gray-500"},[t("div",{staticClass:"pt-2",domProps:{innerHTML:e._s(e.errorMsg)}})]),t("div",{staticClass:"pt-8"},[t("a",{attrs:{href:e.helpmateLink,target:"_blank"}},[t("img",{staticClass:"mx-auto",attrs:{src:r("a884")}})])])])])])},n=[],o=r("6bcf"),i=Object(o["b"])({name:"ErrorMessage",props:{errorMessage:{type:String,default:""}},setup(e){const t=Object(o["f"])(""),r=Object(o["f"])(localStorage.getItem("helpmateLink"));return Object(o["c"])(async()=>{t.value=e.errorMessage}),{errorMsg:t,helpmateLink:r}}}),s=i,l=r("8619"),c=Object(l["a"])(s,a,n,!1,null,null,null);t["a"]=c.exports},"248d":function(e,t,r){var a=r("b6e5"),n=r("872f"),o=r("980f"),i=Object,s=a("".split);e.exports=n((function(){return!i("z").propertyIsEnumerable(0)}))?function(e){return"String"==o(e)?s(e,""):i(e)}:i},"2dc2":function(e,t,r){var a=r("b6e5");e.exports=a({}.isPrototypeOf)},"2f21":function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},"32b3":function(e,t,r){"use strict";r("7b6e")},"32b4":function(e,t,r){var a=r("872f"),n=r("08af"),o=/#|\.prototype\./,i=function(e,t){var r=l[s(e)];return r==u||r!=c&&(n(t)?a(t):!!t)},s=i.normalize=function(e){return String(e).replace(o,".").toLowerCase()},l=i.data={},c=i.NATIVE="N",u=i.POLYFILL="P";e.exports=i},"424a":function(e,t,r){var a=r("a8d8");t=a(!1),t.push([e.i,'.ul-nav ul[data-v-d79b6af4]{display:flex;width:100%}.ul-nav ul li.active[data-v-d79b6af4]{background:#00adcf!important;color:#fff!important}.ul-nav ul li[data-v-d79b6af4]: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-d79b6af4]{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-d79b6af4]: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-d79b6af4]{padding-left:20px!important}.box-overflow1[data-v-d79b6af4]{max-height:68vh;overflow-y:auto}@media screen and (max-width:768px){.ul-nav[data-v-d79b6af4]{overflow-x:scroll}.box-overflow1[data-v-d79b6af4]{max-height:none;overflow-y:auto}.ul-nav li[data-v-d79b6af4]:first-child,.ul-nav li[data-v-d79b6af4]:nth-child(2){display:none}}',""]),e.exports=t},4455:function(e,t,r){var a=r("cf4a");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var n=r("c69b").default;n("3b1f9f94",a,!0,{sourceMap:!1,shadowMode:!1})},"46e5":function(e,t){var r=TypeError,a=9007199254740991;e.exports=function(e){if(e>a)throw r("Maximum allowed index exceeded");return e}},"47e4":function(e,t,r){var a=r("872f");e.exports=!a((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},4945:function(e,t,r){"use strict";r.d(t,"c",(function(){return n})),r.d(t,"e",(function(){return o})),r.d(t,"a",(function(){return i})),r.d(t,"b",(function(){return s})),r.d(t,"d",(function(){return l}));var a=r("26fa");const n=async(e,t)=>{let r;return await a["b"].post(e,t).then(e=>(r=e.data,r)),r},o=async(e,t)=>{const r=await a["b"].post(e,t);return r},i=async(e,t)=>{const r=await a["b"].post(e,t);return r},s=async e=>{let t;return await a["b"].get(e).then(e=>(t=e.data,t)),t},l=async e=>{let t;return await a["b"].get(e).then(e=>(t=e.data,t)),t}},"49f2":function(e,t,r){var a=r("248d"),n=r("b29f");e.exports=function(e){return a(n(e))}},"4a30":function(e,t,r){var a=r("5cdb"),n=r("57d7"),o="__core-js_shared__",i=a[o]||n(o,{});e.exports=i},"4bc9":function(e,t){var r="object"==typeof document&&document.all,a="undefined"==typeof r&&void 0!==r;e.exports={all:r,IS_HTMLDDA:a}},"4db8":function(e,t,r){var a=r("bb00"),n=r("872f");e.exports=!!Object.getOwnPropertySymbols&&!n((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&a&&a<41}))},"4dc6":function(e,t,r){var a=r("75f2"),n=r("b6e5"),o=r("a3b3"),i=r("fb3f"),s=r("a2fd"),l=n([].concat);e.exports=a("Reflect","ownKeys")||function(e){var t=o.f(s(e)),r=i.f;return r?l(t,r(e)):t}},"511e":function(e,t,r){var a=r("75f2"),n=r("08af"),o=r("2dc2"),i=r("b505"),s=Object;e.exports=i?function(e){return"symbol"==typeof e}:function(e){var t=a("Symbol");return n(t)&&o(t.prototype,s(e))}},"53d6":function(e,t,r){var a=r("cd21"),n=r("0a63"),o=r("2f21");e.exports=a?function(e,t,r){return n.f(e,t,o(1,r))}:function(e,t,r){return e[t]=r,e}},5403:function(e,t){e.exports={}},"57d7":function(e,t,r){var a=r("5cdb"),n=Object.defineProperty;e.exports=function(e,t){try{n(a,e,{value:t,configurable:!0,writable:!0})}catch(r){a[e]=t}return t}},"5cdb":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"))},"60c0":function(e,t){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"675e":function(e,t,r){"use strict";r.d(t,"b",(function(){return i})),r.d(t,"a",(function(){return n})),r.d(t,"c",(function(){return s})),r.d(t,"e",(function(){return o})),r.d(t,"d",(function(){return l}));var a=r("26fa");const n=async(e,t)=>{const r=await a["b"].post(e,t);return r},o=async(e,t)=>{let r;const a=await fetch(""+e,{method:"put",body:t});return r=a,r},i=async e=>{const t=await a["b"].get("/task/"+e);return t},s=async(e,t)=>{const r=await a["b"].post(e,{learner_task_id:t});return r},l=async(e,t)=>{const r=await a["b"].post(e,t);return r}},"6ae1":function(e,t){e.exports=!1},"6b8d":function(e,t,r){var a=r("c201");e.exports=function(e){var t=+e;return t!==t||0===t?0:a(t)}},"6dd4":function(e,t,r){var a,n,o,i=r("f221"),s=r("5cdb"),l=r("0b15"),c=r("53d6"),u=r("14e0"),f=r("4a30"),d=r("a7f1"),p=r("5403"),v="Object already initialized",b=s.TypeError,g=s.WeakMap,m=function(e){return o(e)?n(e):a(e,{})},h=function(e){return function(t){var r;if(!l(t)||(r=n(t)).type!==e)throw b("Incompatible receiver, "+e+" required");return r}};if(i||f.state){var x=f.state||(f.state=new g);x.get=x.get,x.has=x.has,x.set=x.set,a=function(e,t){if(x.has(e))throw b(v);return t.facade=e,x.set(e,t),t},n=function(e){return x.get(e)||{}},o=function(e){return x.has(e)}}else{var y=d("state");p[y]=!0,a=function(e,t){if(u(e,y))throw b(v);return t.facade=e,c(e,y,t),t},n=function(e){return u(e,y)?e[y]:{}},o=function(e){return u(e,y)}}e.exports={set:a,get:n,has:o,enforce:m,getterFor:h}},"6ece":function(e,t,r){var a=r("c6f6"),n=r("08af"),o=r("0b15"),i=TypeError;e.exports=function(e,t){var r,s;if("string"===t&&n(r=e.toString)&&!o(s=a(r,e)))return s;if(n(r=e.valueOf)&&!o(s=a(r,e)))return s;if("string"!==t&&n(r=e.toString)&&!o(s=a(r,e)))return s;throw i("Can't convert object to primitive value")}},"705f":function(e,t,r){var a=r("b6e5"),n=r("872f"),o=r("08af"),i=r("14e0"),s=r("cd21"),l=r("ebc0").CONFIGURABLE,c=r("059d"),u=r("6dd4"),f=u.enforce,d=u.get,p=String,v=Object.defineProperty,b=a("".slice),g=a("".replace),m=a([].join),h=s&&!n((function(){return 8!==v((function(){}),"length",{value:8}).length})),x=String(String).split("String"),y=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")||l&&e.name!==t)&&(s?v(e,"name",{value:t,configurable:!0}):e.name=t),h&&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(n){}var a=f(e);return i(a,"source")||(a.source=m(x,"string"==typeof t?t:"")),e};Function.prototype.toString=y((function(){return o(this)&&d(this).source||c(this)}),"toString")},"72bf":function(e,t){e.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},7430:function(e,t,r){"use strict";r("4455")},"75f2":function(e,t,r){var a=r("5cdb"),n=r("08af"),o=function(e){return n(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?o(a[e]):a[e]&&a[e][t]}},7700:function(e,t,r){var a=r("c7fc"),n=r("511e");e.exports=function(e){var t=a(e,"string");return n(t)?t:t+""}},"790d":function(e,t,r){var a=r("b6e5"),n=0,o=Math.random(),i=a(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+i(++n+o,36)}},"7b6e":function(e,t,r){var a=r("1edb");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var n=r("c69b").default;n("64323ca2",a,!0,{sourceMap:!1,shadowMode:!1})},"7f15":function(e,t,r){"use strict";r.d(t,"a",(function(){return n})),r.d(t,"b",(function(){return o}));var a=r("26fa");const n=async(e,t)=>{const r=await a["b"].post(e,t);return r},o=async(e,t)=>{const r=await a["b"].post(e,t);return r}},"872f":function(e,t){e.exports=function(e){try{return!!e()}catch(t){return!0}}},"8f66":function(e,t,r){var a=r("cd21"),n=r("c6f6"),o=r("d3e0"),i=r("2f21"),s=r("49f2"),l=r("7700"),c=r("14e0"),u=r("f14b"),f=Object.getOwnPropertyDescriptor;t.f=a?f:function(e,t){if(e=s(e),t=l(t),u)try{return f(e,t)}catch(r){}if(c(e,t))return i(!n(o.f,e,t),e[t])}},9265:function(e,t,r){"use strict";r.r(t);var a=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"admin"},[t("div",{staticClass:"containers mx-auto allBoxImg mt-10"},[e.renderReady?[e.showErrorMessage?e._e():[t("div",{staticClass:"flex"},[t("div",{staticClass:"w-full pt-12"},[e.showSuccessMessage?t("div",{staticClass:"w-full px-3 text-center mt-4 bg-green-600 py-2 text-white"},[e._v(" "+e._s(e.resMessage)+" ")]):e._e(),e._m(0),t("div",{staticClass:"box-overflow1 mx-4 lg:mx-24 md:mx-24 lg:mt-6 md:mt-6 mt-3 text-sm"},[t("div",{staticClass:"block mt-4"},[t("div",{staticClass:"text-gray-600"},["Desktop"===e.taskType?t("div",{staticClass:"mt-4"},[t("p",{staticClass:"pt-1"},[e._v("Maximum file size: 200 MB")]),t("div",{staticClass:"flex"},[t("input",{attrs:{type:"file"},on:{change:e.selectedFile}})])]):e._e(),"Mobile"===e.taskType?t("div",{staticClass:"pt-12"},[t("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?t("span",{staticClass:"text-red-700"},[e._v(e._s(e.fileValidationMsg))]):e._e()])]),t("div",{staticClass:"block text-center pt-12"},[t("div",{staticClass:"pt-4"}),t("div",{staticClass:"mb-4 text-center"},[t("router-link",{staticClass:"inline-block mt-2 py-2 px-4 border border-blue-900 bg-white-500 text-gray-500 shadow-md focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75",attrs:{to:{name:"SolidifyAdministration"}}},[e._v("Back")]),t("button",{staticClass:"bg-background-secondary 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",on:{click:e.submitSubmiision}},[e._v("Submit Task")])],1)])])])])],e.showErrorMessage?t("ErrorMessage",{attrs:{"error-message":e.errorResponse}}):e._e()]:e._e(),e.renderReady?e._e():t("div",{staticClass:"flex flex-col h-min-screen justify-center text-center"},[t("img",{staticClass:"mb-8 block mx-auto loadercss mt-3%",attrs:{src: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)])},n=[function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"lg:px-24 md:px-24 px-4 flex justify-between"},[t("div",{staticClass:"text-blue-900 lg:text-3xl md:text-3xl text-xl my-2"},[e._v("Submit Learner Submission")])])}],o=r("6bcf"),i=r("1dba"),s=r.n(i),l=r("4945"),c=r("675e"),u=r("2390"),f=Object(o["b"])({name:"UploadSubmission",components:{ErrorMessage:u["a"]},props:{query:{type:Object,default:()=>({})}},setup(e){const t=Object(o["f"])(e.query.linked_task_id);console.log("Task ID",t.value);const r=Object(o["f"])(e.query.learner_task_id),a=Object(o["f"])(),n=Object(o["f"])(),i=Object(o["f"])(),u=Object(o["f"])(null),f=Object(o["f"])(),d=Object(o["f"])(!0),p=Object(o["f"])(),v=Object(o["f"])(0),b=Object(o["f"])(!1),g=Object(o["f"])(),m=Object(o["f"])(!1),h=Object(o["f"])(),x=Object(o["f"])(!1),y=async e=>{try{u.value=e.target.files[0],i.value=e.target.files[0].name;const t=e.target.files[0].size/1024/1024;t>200&&(n.value="fileSize greater than 200 MB")}catch(r){if(console.log(r),b.value=!0,s.a.isAxiosError(r)){var t;const e=r;g.value=null===(t=e.response)||void 0===t?void 0:t.data.message}else g.value="Something went wrong, please contact helpmate.";x.value=!0}},w=async()=>{try{if(b.value=!1,i.value){let e;const t={learner_task_id:r.value,learner_submission:i.value,taskType:a.value};if("Desktop"===a.value){const a=await Object(c["a"])("/v1/pretAuthUrlForUploadLearner",{file_name:i.value,learner_task_id:r.value}),n=a.data;f.value=n.preSignedUrl;const o=await Object(c["e"])(f.value,u.value);200===o.status?e=await Object(l["e"])("/uploadLearnerSubmissionFromAdmin",t):(b.value=!0,g.value="There is issue in the file upload, please contact with helpmate.",x.value=!0)}else e=await Object(l["e"])("/uploadLearnerSubmissionFromAdmin",t);200===e.status?(b.value=!0,h.value=e.data.message,m.value=!0,setTimeout(()=>{h.value=null,m.value=!1},6e3)):(b.value=!0,g.value="There is some issue while submitting learner submission, please contact with helpmate.",x.value=!0,setTimeout(()=>{h.value=null,m.value=!1},6e3))}else"Mobile"===a.value?(b.value=!0,i.value||(n.value="please Enter Submission",console.log("inside Mobile Type"),setTimeout(()=>{n.value=null},6e3))):"Desktop"===a.value&&(b.value=!0,console.log("learnerSubmission.value "+i.value),i.value||(n.value="please select File",setTimeout(()=>{n.value=null},6e3)))}catch(t){if(b.value=!0,console.log("error "+t),s.a.isAxiosError(t)){var e;const r=t;g.value=null===(e=r.response)||void 0===e?void 0:e.data.message}else g.value="There is some issue while submitting learner submission, please contact with helpmate.";x.value=!0}},k=async()=>{b.value=!1;const e=await Object(c["b"])(t.value);console.log("task data "+JSON.stringify(e));const r=e.data.data;r?a.value=r.task_type:(g.value="There is an issue to fetch task, please contact helpmate.",x.value=!0),b.value=!0};return Object(o["c"])(async()=>{await k()}),{taskType:a,learnerTaskId:r,renderReady:b,errorResponse:g,showErrorMessage:x,showSuccessMessage:m,resMessage:h,fileValidationMsg:n,submitSubmiision:w,learnerSubmission:i,selectedFile:y,preSignedUrl:f,buttonDisable:d,validationError:p,fileInputKey:v}}}),d=f,p=(r("32b3"),r("8619")),v=Object(p["a"])(d,a,n,!1,null,"39cc4cfa",null);t["default"]=v.exports},"92ad":function(e,t){var r=String;e.exports=function(e){try{return r(e)}catch(t){return"Object"}}},"949b":function(e,t,r){"use strict";r.d(t,"a",(function(){return o})),r.d(t,"b",(function(){return i})),r.d(t,"c",(function(){return s})),r.d(t,"d",(function(){return l})),r.d(t,"e",(function(){return c})),r.d(t,"f",(function(){return u})),r.d(t,"g",(function(){return f}));var a=r("11ce"),n=r.n(a),o={name:"ChevronDownIcon",props:{size:{type:String,default:"24",validator:function(e){return!isNaN(e)||e.length>=2&&!isNaN(e.slice(0,e.length-1))&&"x"===e.slice(-1)}}},functional:!0,render:function(e,t){var r="x"===t.props.size.slice(-1)?t.props.size.slice(0,t.props.size.length-1)+"em":parseInt(t.props.size)+"px",a=t.data.attrs||{};return a.width=a.width||r,a.height=a.height||r,t.data.attrs=a,e("svg",n()([{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},class:"feather feather-chevron-down"},t.data]),[e("polyline",{attrs:{points:"6 9 12 15 18 9"}})])}},i={name:"ChevronUpIcon",props:{size:{type:String,default:"24",validator:function(e){return!isNaN(e)||e.length>=2&&!isNaN(e.slice(0,e.length-1))&&"x"===e.slice(-1)}}},functional:!0,render:function(e,t){var r="x"===t.props.size.slice(-1)?t.props.size.slice(0,t.props.size.length-1)+"em":parseInt(t.props.size)+"px",a=t.data.attrs||{};return a.width=a.width||r,a.height=a.height||r,t.data.attrs=a,e("svg",n()([{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},class:"feather feather-chevron-up"},t.data]),[e("polyline",{attrs:{points:"18 15 12 9 6 15"}})])}},s={name:"DownloadIcon",props:{size:{type:String,default:"24",validator:function(e){return!isNaN(e)||e.length>=2&&!isNaN(e.slice(0,e.length-1))&&"x"===e.slice(-1)}}},functional:!0,render:function(e,t){var r="x"===t.props.size.slice(-1)?t.props.size.slice(0,t.props.size.length-1)+"em":parseInt(t.props.size)+"px",a=t.data.attrs||{};return a.width=a.width||r,a.height=a.height||r,t.data.attrs=a,e("svg",n()([{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},class:"feather feather-download"},t.data]),[e("path",{attrs:{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"}}),e("polyline",{attrs:{points:"7 10 12 15 17 10"}}),e("line",{attrs:{x1:"12",y1:"15",x2:"12",y2:"3"}})])}},l={name:"FilterIcon",props:{size:{type:String,default:"24",validator:function(e){return!isNaN(e)||e.length>=2&&!isNaN(e.slice(0,e.length-1))&&"x"===e.slice(-1)}}},functional:!0,render:function(e,t){var r="x"===t.props.size.slice(-1)?t.props.size.slice(0,t.props.size.length-1)+"em":parseInt(t.props.size)+"px",a=t.data.attrs||{};return a.width=a.width||r,a.height=a.height||r,t.data.attrs=a,e("svg",n()([{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},class:"feather feather-filter"},t.data]),[e("polygon",{attrs:{points:"22 3 2 3 10 12.46 10 19 14 21 14 12.46 22 3"}})])}},c={name:"RefreshCcwIcon",props:{size:{type:String,default:"24",validator:function(e){return!isNaN(e)||e.length>=2&&!isNaN(e.slice(0,e.length-1))&&"x"===e.slice(-1)}}},functional:!0,render:function(e,t){var r="x"===t.props.size.slice(-1)?t.props.size.slice(0,t.props.size.length-1)+"em":parseInt(t.props.size)+"px",a=t.data.attrs||{};return a.width=a.width||r,a.height=a.height||r,t.data.attrs=a,e("svg",n()([{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},class:"feather feather-refresh-ccw"},t.data]),[e("polyline",{attrs:{points:"1 4 1 10 7 10"}}),e("polyline",{attrs:{points:"23 20 23 14 17 14"}}),e("path",{attrs:{d:"M20.49 9A9 9 0 0 0 5.64 5.64L1 10m22 4l-4.64 4.36A9 9 0 0 1 3.51 15"}})])}},u={name:"SearchIcon",props:{size:{type:String,default:"24",validator:function(e){return!isNaN(e)||e.length>=2&&!isNaN(e.slice(0,e.length-1))&&"x"===e.slice(-1)}}},functional:!0,render:function(e,t){var r="x"===t.props.size.slice(-1)?t.props.size.slice(0,t.props.size.length-1)+"em":parseInt(t.props.size)+"px",a=t.data.attrs||{};return a.width=a.width||r,a.height=a.height||r,t.data.attrs=a,e("svg",n()([{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},class:"feather feather-search"},t.data]),[e("circle",{attrs:{cx:"11",cy:"11",r:"8"}}),e("line",{attrs:{x1:"21",y1:"21",x2:"16.65",y2:"16.65"}})])}},f={name:"XIcon",props:{size:{type:String,default:"24",validator:function(e){return!isNaN(e)||e.length>=2&&!isNaN(e.slice(0,e.length-1))&&"x"===e.slice(-1)}}},functional:!0,render:function(e,t){var r="x"===t.props.size.slice(-1)?t.props.size.slice(0,t.props.size.length-1)+"em":parseInt(t.props.size)+"px",a=t.data.attrs||{};return a.width=a.width||r,a.height=a.height||r,t.data.attrs=a,e("svg",n()([{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},class:"feather feather-x"},t.data]),[e("line",{attrs:{x1:"18",y1:"6",x2:"6",y2:"18"}}),e("line",{attrs:{x1:"6",y1:"6",x2:"18",y2:"18"}})])}}},"980f":function(e,t,r){var a=r("b6e5"),n=a({}.toString),o=a("".slice);e.exports=function(e){return o(n(e),8,-1)}},"9d04":function(e,t,r){e.exports=r.p+"img/loadernew.gif"},"9e29":function(e,t,r){var a=r("5cdb"),n=r("8f66").f,o=r("53d6"),i=r("eebc"),s=r("57d7"),l=r("b163"),c=r("32b4");e.exports=function(e,t){var r,u,f,d,p,v,b=e.target,g=e.global,m=e.stat;if(u=g?a:m?a[b]||s(b,{}):(a[b]||{}).prototype,u)for(f in t){if(p=t[f],e.dontCallGetSet?(v=n(u,f),d=v&&v.value):d=u[f],r=c(g?f:b+(m?".":"#")+f,e.forced),!r&&void 0!==d){if(typeof p==typeof d)continue;l(p,d)}(e.sham||d&&d.sham)&&o(p,"sham",!0),i(u,f,p,e)}}},a0e7:function(e,t,r){var a=r("08af"),n=r("92ad"),o=TypeError;e.exports=function(e){if(a(e))return e;throw o(n(e)+" is not a function")}},a2fd:function(e,t,r){var a=r("0b15"),n=String,o=TypeError;e.exports=function(e){if(a(e))return e;throw o(n(e)+" is not an object")}},a3b3:function(e,t,r){var a=r("e81f"),n=r("60c0"),o=n.concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return a(e,o)}},a7f1:function(e,t,r){var a=r("e227"),n=r("790d"),o=a("keys");e.exports=function(e){return o[e]||(o[e]=n(e))}},a884:function(e,t){e.exports="data:image/png;base64,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"},aba3:function(e,t,r){var a=r("0c40");e.exports=function(e){return a(e.length)}},ac39:function(e,t,r){var a=r("980f");e.exports=Array.isArray||function(e){return"Array"==a(e)}},adb9:function(e,t,r){"use strict";r("bb77")},b163:function(e,t,r){var a=r("14e0"),n=r("4dc6"),o=r("8f66"),i=r("0a63");e.exports=function(e,t,r){for(var s=n(t),l=i.f,c=o.f,u=0;u<s.length;u++){var f=s[u];a(e,f)||r&&a(r,f)||l(e,f,c(t,f))}}},b29f:function(e,t,r){var a=r("e58a"),n=TypeError;e.exports=function(e){if(a(e))throw n("Can't call method on "+e);return e}},b505:function(e,t,r){var a=r("4db8");e.exports=a&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},b6e5:function(e,t,r){var a=r("47e4"),n=Function.prototype,o=n.call,i=a&&n.bind.bind(o,o);e.exports=a?i:function(e){return function(){return o.apply(e,arguments)}}},bac2:function(e,t,r){var a=r("49f2"),n=r("0ad6"),o=r("aba3"),i=function(e){return function(t,r,i){var s,l=a(t),c=o(l),u=n(i,c);if(e&&r!=r){while(c>u)if(s=l[u++],s!=s)return!0}else for(;c>u;u++)if((e||u in l)&&l[u]===r)return e||u||0;return!e&&-1}};e.exports={includes:i(!0),indexOf:i(!1)}},bb00:function(e,t,r){var a,n,o=r("5cdb"),i=r("72bf"),s=o.process,l=o.Deno,c=s&&s.versions||l&&l.version,u=c&&c.v8;u&&(a=u.split("."),n=a[0]>0&&a[0]<4?1:+(a[0]+a[1])),!n&&i&&(a=i.match(/Edge\/(\d+)/),(!a||a[1]>=74)&&(a=i.match(/Chrome\/(\d+)/),a&&(n=+a[1]))),e.exports=n},bb77:function(e,t,r){var a=r("424a");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var n=r("c69b").default;n("92f5202e",a,!0,{sourceMap:!1,shadowMode:!1})},bd0b:function(e,t,r){var a=r("cd21"),n=r("872f");e.exports=a&&n((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},c043:function(e,t,r){var a=r("5cdb"),n=r("0b15"),o=a.document,i=n(o)&&n(o.createElement);e.exports=function(e){return i?o.createElement(e):{}}},c201:function(e,t){var r=Math.ceil,a=Math.floor;e.exports=Math.trunc||function(e){var t=+e;return(t>0?a:r)(t)}},c3a8:function(e,t,r){var a=r("5cdb"),n=r("e227"),o=r("14e0"),i=r("790d"),s=r("4db8"),l=r("b505"),c=a.Symbol,u=n("wks"),f=l?c["for"]||c:c&&c.withoutSetter||i;e.exports=function(e){return o(u,e)||(u[e]=s&&o(c,e)?c[e]:f("Symbol."+e)),u[e]}},c6f6:function(e,t,r){var a=r("47e4"),n=Function.prototype.call;e.exports=a?n.bind(n):function(){return n.apply(n,arguments)}},c754:function(e,t,r){"use strict";var a=r("9e29"),n=r("cd6f"),o=r("aba3"),i=r("f37c"),s=r("46e5"),l=r("872f"),c=l((function(){return 4294967297!==[].push.call({length:4294967296},1)})),u=function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(e){return e instanceof TypeError}},f=c||!u();a({target:"Array",proto:!0,arity:1,forced:f},{push:function(e){var t=n(this),r=o(t),a=arguments.length;s(r+a);for(var l=0;l<a;l++)t[r]=arguments[l],r++;return i(t,r),r}})},c7fc:function(e,t,r){var a=r("c6f6"),n=r("0b15"),o=r("511e"),i=r("eab0"),s=r("6ece"),l=r("c3a8"),c=TypeError,u=l("toPrimitive");e.exports=function(e,t){if(!n(e)||o(e))return e;var r,l=i(e,u);if(l){if(void 0===t&&(t="default"),r=a(l,e,t),!n(r)||o(r))return r;throw c("Can't convert object to primitive value")}return void 0===t&&(t="number"),s(e,t)}},cd21:function(e,t,r){var a=r("872f");e.exports=!a((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},cd6f:function(e,t,r){var a=r("b29f"),n=Object;e.exports=function(e){return n(a(e))}},cf4a:function(e,t,r){var a=r("a8d8");t=a(!1),t.push([e.i,'.ul-nav ul[data-v-188276e1]{display:flex;width:100%}.ul-nav ul li.active[data-v-188276e1]{background:#00adcf!important;color:#fff!important}.ul-nav ul li[data-v-188276e1]: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-188276e1]{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-188276e1]: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-188276e1]{padding-left:20px!important}.box-overflow1[data-v-188276e1]{max-height:68vh;overflow-y:auto}@media screen and (max-width:768px){.ul-nav[data-v-188276e1]{overflow-x:scroll}.box-overflow1[data-v-188276e1]{max-height:none;overflow-y:auto}.ul-nav li[data-v-188276e1]:first-child,.ul-nav li[data-v-188276e1]:nth-child(2){display:none}}',""]),e.exports=t},d3e0:function(e,t,r){"use strict";var a={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,o=n&&!a.call({1:2},1);t.f=o?function(e){var t=n(this,e);return!!t&&t.enumerable}:a},e227:function(e,t,r){var a=r("6ae1"),n=r("4a30");(e.exports=function(e,t){return n[e]||(n[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.27.2",mode:a?"pure":"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.27.2/LICENSE",source:"https://github.com/zloirock/core-js"})},e58a:function(e,t){e.exports=function(e){return null===e||void 0===e}},e81f:function(e,t,r){var a=r("b6e5"),n=r("14e0"),o=r("49f2"),i=r("bac2").indexOf,s=r("5403"),l=a([].push);e.exports=function(e,t){var r,a=o(e),c=0,u=[];for(r in a)!n(s,r)&&n(a,r)&&l(u,r);while(t.length>c)n(a,r=t[c++])&&(~i(u,r)||l(u,r));return u}},eab0:function(e,t,r){var a=r("a0e7"),n=r("e58a");e.exports=function(e,t){var r=e[t];return n(r)?void 0:a(r)}},ebc0:function(e,t,r){var a=r("cd21"),n=r("14e0"),o=Function.prototype,i=a&&Object.getOwnPropertyDescriptor,s=n(o,"name"),l=s&&"something"===function(){}.name,c=s&&(!a||a&&i(o,"name").configurable);e.exports={EXISTS:s,PROPER:l,CONFIGURABLE:c}},edfa:function(e,t,r){"use strict";r.r(t);var a=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"admin"},[t("div",{staticClass:"containers mx-auto allBoxImg mt-10"},[e.renderReady?[e.showErrorMessage?e._e():[t("div",{staticClass:"flex"},[t("div",{staticClass:"w-full pt-12"},[e.showSuccessMessage?t("div",{staticClass:"w-full px-3 text-center mt-4 bg-green-600 py-2 text-white"},[e._v(" "+e._s(e.resMessage)+" ")]):e._e(),e._m(0),t("div",{staticClass:"box-overflow1 mx-4 lg:mx-24 md:mx-24 lg:mt-6 md:mt-6 mt-3 text-sm"},[t("div",{staticClass:"block mt-4"},[t("div",{staticClass:"text-gray-600"},["Desktop"===e.taskType?t("div",{staticClass:"mt-4"},[t("p",{staticClass:"pt-1"},[e._v("Maximum file size: 200 MB")]),t("div",{staticClass:"flex"},[t("input",{attrs:{type:"file"},on:{change:e.selectedFile}})])]):e._e(),"Mobile"===e.taskType?t("div",{staticClass:"pt-12"},[t("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?t("span",{staticClass:"text-red-700"},[e._v(e._s(e.fileValidationMsg))]):e._e()])]),t("div",{staticClass:"block text-center pt-12"},[t("div",{staticClass:"pt-4"}),t("div",{staticClass:"mb-4 text-center"},[t("router-link",{staticClass:"inline-block mt-2 py-2 px-4 border border-blue-900 bg-white-500 text-gray-500 shadow-md focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75",attrs:{to:{name:"SolidifyAdministrationOffCycleDetails",query:{learner_task_id:e.learnerTaskId}}}},[e._v("Back")]),t("button",{staticClass:"bg-background-secondary 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",on:{click:e.submitSubmiision}},[e._v(" Update Submission ")])],1)])])])])],e.showErrorMessage?t("ErrorMessage",{attrs:{"error-message":e.errorResponse}}):e._e()]:e._e(),e.renderReady?e._e():t("div",{staticClass:"flex flex-col h-min-screen justify-center text-center"},[t("img",{staticClass:"mb-8 block mx-auto loadercss mt-3%",attrs:{src: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)])},n=[function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"lg:px-24 md:px-24 px-4 flex justify-between"},[t("div",{staticClass:"text-blue-900 lg:text-3xl md:text-3xl text-xl my-2"},[e._v("Update Learner Submission")])])}],o=r("6bcf"),i=r("1dba"),s=r.n(i),l=r("4945"),c=r("675e"),u=r("2390"),f=Object(o["b"])({name:"UpdateSubmission",components:{ErrorMessage:u["a"]},props:{query:{type:Object,default:()=>({})}},setup(e){const t=Object(o["f"])(e.query.linked_task_id);console.log("Task ID",t.value);const r=Object(o["f"])(e.query.learner_task_id),a=Object(o["f"])(),n=Object(o["f"])(),i=Object(o["f"])(),u=Object(o["f"])(null),f=Object(o["f"])(),d=Object(o["f"])(!0),p=Object(o["f"])(),v=Object(o["f"])(0),b=Object(o["f"])(!1),g=Object(o["f"])(),m=Object(o["f"])(!1),h=Object(o["f"])(),x=Object(o["f"])(!1),y=async e=>{try{u.value=e.target.files[0],i.value=e.target.files[0].name;const t=e.target.files[0].size/1024/1024;t>200&&(n.value="fileSize greater than 200 MB")}catch(r){if(console.log(r),b.value=!0,s.a.isAxiosError(r)){var t;const e=r;g.value=null===(t=e.response)||void 0===t?void 0:t.data.message}else g.value="Something went wrong, please contact helpmate.";x.value=!0}},w=async()=>{try{if(b.value=!1,i.value){let e;const t={learner_task_id:r.value,learner_submission:i.value,taskType:a.value};if("Desktop"===a.value){const a=await Object(c["a"])("/v1/pretAuthUrlForUploadLearner",{file_name:i.value,learner_task_id:r.value}),n=a.data;f.value=n.preSignedUrl;const o=await Object(c["e"])(f.value,u.value);200===o.status?e=await Object(l["e"])("/uploadLearnerSubmissionFromAdmin",t):(b.value=!0,g.value="There is issue in the file upload, please contact with helpmate.",x.value=!0)}else e=await Object(l["e"])("/uploadLearnerSubmissionFromAdmin",t);200===e.status?(b.value=!0,h.value=e.data.message,m.value=!0,setTimeout(()=>{h.value=null,m.value=!1},6e3)):(b.value=!0,g.value="There is some issue while submitting learner submission, please contact with helpmate.",x.value=!0,setTimeout(()=>{h.value=null,m.value=!1},6e3))}else"Mobile"===a.value?(b.value=!0,i.value||(n.value="please Enter Submission",console.log("inside Mobile Type"),setTimeout(()=>{n.value=null},6e3))):"Desktop"===a.value&&(b.value=!0,console.log("learnerSubmission.value "+i.value),i.value||(n.value="please select File",setTimeout(()=>{n.value=null},6e3)))}catch(t){if(b.value=!0,console.log("error "+t),s.a.isAxiosError(t)){var e;const r=t;g.value=null===(e=r.response)||void 0===e?void 0:e.data.message}else g.value="There is some issue while submitting learner submission, please contact with helpmate.";x.value=!0}},k=async()=>{b.value=!1;const e=await Object(c["b"])(t.value);console.log("task data "+JSON.stringify(e));const r=e.data.data;r?a.value=r.task_type:(g.value="There is an issue to fetch task, please contact helpmate.",x.value=!0),b.value=!0};return Object(o["c"])(async()=>{await k()}),{taskType:a,learnerTaskId:r,renderReady:b,errorResponse:g,showErrorMessage:x,showSuccessMessage:m,resMessage:h,fileValidationMsg:n,submitSubmiision:w,learnerSubmission:i,selectedFile:y,preSignedUrl:f,buttonDisable:d,validationError:p,fileInputKey:v}}}),d=f,p=(r("7430"),r("8619")),v=Object(p["a"])(d,a,n,!1,null,"188276e1",null);t["default"]=v.exports},eebc:function(e,t,r){var a=r("08af"),n=r("0a63"),o=r("705f"),i=r("57d7");e.exports=function(e,t,r,s){s||(s={});var l=s.enumerable,c=void 0!==s.name?s.name:t;if(a(r)&&o(r,c,s),s.global)l?e[t]=r:i(t,r);else{try{s.unsafe?e[t]&&(l=!0):delete e[t]}catch(u){}l?e[t]=r:n.f(e,t,{value:r,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return e}},f14b:function(e,t,r){var a=r("cd21"),n=r("872f"),o=r("c043");e.exports=!a&&!n((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},f221:function(e,t,r){var a=r("5cdb"),n=r("08af"),o=a.WeakMap;e.exports=n(o)&&/native code/.test(String(o))},f37c:function(e,t,r){"use strict";var a=r("cd21"),n=r("ac39"),o=TypeError,i=Object.getOwnPropertyDescriptor,s=a&&!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(n(e)&&!i(e,"length").writable)throw o("Cannot set read only .length");return e.length=t}:function(e,t){return e.length=t}},f568:function(e,t,r){"use strict";r.r(t);var a,n=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"admin"},[t("div",{staticClass:"containers mx-auto allBoxImg mt-10"},[e.renderReady?[e.showErrorMessage?e._e():[t("div",{staticClass:"flex"},[t("div",{staticClass:"w-full pt-12"},[e.showSuccessMessage?t("div",{staticClass:"w-full px-3 text-center mt-4 bg-green-600 py-2 text-white"},[e._v(" "+e._s(e.resMessage)+" ")]):e._e(),e._m(0),t("div",{staticClass:"box-overflow1 mx-4 lg:mx-24 md:mx-24 lg:mt-6 md:mt-6 mt-3 text-sm"},[t("div",{staticClass:"block mt-4"},[t("div",{staticClass:"text-gray-600"},[t("div",["infinity"===e.programId?t("p",[e._v(" Proficiency: "),t("strong",[e._v(e._s(e.profName))])]):e._e(),"infinity"===e.programId?t("p",{staticClass:"pt-2"},[e._v(" Skill: "),t("strong",[e._v(e._s(e.skill))])]):e._e(),"infinity"!==e.programId?t("p",{staticClass:"pt-2"},[e._v(" Program: "),t("strong",[e._v(e._s(e.programName))])]):e._e(),t("p",{staticClass:"pt-2"},[t("strong",[e._v("Task Name: ")]),e._v(e._s(e.taskName))])]),"Desktop"===e.taskType?t("div",{staticClass:"mt-4"},[e._m(1),t("p",{staticClass:"pt-1"},[e._v("Maximum file size: 200 MB")]),t("div",{staticClass:"flex"},[t("input",{key:e.fileInputKey,attrs:{type:"file"},on:{change:e.selectedFile}}),e._v(" "),e.learnerSubmission?t("x-icon",{attrs:{size:"1.5x"},on:{click:function(t){return e.clearFile()}}}):e._e()],1)]):e._e(),"Mobile"===e.taskType?t("div",{staticClass:"pt-12"},[t("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?t("span",{staticClass:"text-red-700"},[e._v(e._s(e.fileValidationMsg))]):e._e()])]),t("div",{staticClass:"block text-center pt-12"},[e._m(2),t("div",{staticClass:"mb-4 text-center"},[null!==e.skillId&&null!==e.proficiencyId?t("router-link",{staticClass:"inline-block mt-2 py-2 px-4 border border-blue-900 bg-white-500 text-gray-500 shadow-md focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75",attrs:{to:{name:"SolidifyAdministrationCreateOffCycles",query:{Program_id:e.programId,skill_id:e.skillId,proficiency_id:e.proficiencyId}}}},[e._v("Back")]):t("router-link",{staticClass:"inline-block mt-2 py-2 px-4 border border-blue-900 bg-white-500 text-gray-500 shadow-md focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75",attrs:{to:{name:"SolidifyAdministrationCreateOffCycles",query:{Program_id:e.programId}}}},[e._v("Back")]),t("button",{staticClass:"bg-background-secondary 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",on:{click:e.submitSubmiision}},[e._v("Submit Task")])],1)])])])])],e.showErrorMessage?t("ErrorMessage",{attrs:{"error-message":e.errorResponse}}):e._e()]:e._e(),e.renderReady?e._e():t("div",{staticClass:"flex flex-col h-min-screen justify-center text-center"},[t("img",{staticClass:"mb-8 block mx-auto loadercss mt-3%",attrs:{src: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("div",{staticClass:"lg:px-24 md:px-24 px-4 flex justify-between"},[t("div",{staticClass:"text-blue-900 lg:text-3xl md:text-3xl text-xl my-2"},[e._v("Create Off-Cycle Task")])])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("p",{staticClass:"pt-2"},[t("strong",[e._v("Upload the file to create off-cycle task")])])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"pt-4"},[t("p",{staticClass:"text-xl"},[t("em",[e._v("Please don't click the browser back button")])])])}],i=(r("c754"),r("6bcf")),s=r("949b"),l=r("1dba"),c=r.n(l),u=new Uint8Array(16);function f(){if(!a&&(a="undefined"!==typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!==typeof msCrypto&&"function"===typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto),!a))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return a(u)}var d=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;function p(e){return"string"===typeof e&&d.test(e)}for(var v=p,b=[],g=0;g<256;++g)b.push((g+256).toString(16).substr(1));function m(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=(b[e[t+0]]+b[e[t+1]]+b[e[t+2]]+b[e[t+3]]+"-"+b[e[t+4]]+b[e[t+5]]+"-"+b[e[t+6]]+b[e[t+7]]+"-"+b[e[t+8]]+b[e[t+9]]+"-"+b[e[t+10]]+b[e[t+11]]+b[e[t+12]]+b[e[t+13]]+b[e[t+14]]+b[e[t+15]]).toLowerCase();if(!v(r))throw TypeError("Stringified UUID is invalid");return r}var h,x,y=m,w=0,k=0;function S(e,t,r){var a=t&&r||0,n=t||new Array(16);e=e||{};var o=e.node||h,i=void 0!==e.clockseq?e.clockseq:x;if(null==o||null==i){var s=e.random||(e.rng||f)();null==o&&(o=h=[1|s[0],s[1],s[2],s[3],s[4],s[5]]),null==i&&(i=x=16383&(s[6]<<8|s[7]))}var l=void 0!==e.msecs?e.msecs:Date.now(),c=void 0!==e.nsecs?e.nsecs:k+1,u=l-w+(c-k)/1e4;if(u<0&&void 0===e.clockseq&&(i=i+1&16383),(u<0||l>w)&&void 0===e.nsecs&&(c=0),c>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");w=l,k=c,x=i,l+=122192928e5;var d=(1e4*(268435455&l)+c)%4294967296;n[a++]=d>>>24&255,n[a++]=d>>>16&255,n[a++]=d>>>8&255,n[a++]=255&d;var p=l/4294967296*1e4&268435455;n[a++]=p>>>8&255,n[a++]=255&p,n[a++]=p>>>24&15|16,n[a++]=p>>>16&255,n[a++]=i>>>8|128,n[a++]=255&i;for(var v=0;v<6;++v)n[a+v]=o[v];return t||y(n)}var _=S;function j(e){if(!v(e))throw TypeError("Invalid UUID");var t,r=new Uint8Array(16);return r[0]=(t=parseInt(e.slice(0,8),16))>>>24,r[1]=t>>>16&255,r[2]=t>>>8&255,r[3]=255&t,r[4]=(t=parseInt(e.slice(9,13),16))>>>8,r[5]=255&t,r[6]=(t=parseInt(e.slice(14,18),16))>>>8,r[7]=255&t,r[8]=(t=parseInt(e.slice(19,23),16))>>>8,r[9]=255&t,r[10]=(t=parseInt(e.slice(24,36),16))/1099511627776&255,r[11]=t/4294967296&255,r[12]=t>>>24&255,r[13]=t>>>16&255,r[14]=t>>>8&255,r[15]=255&t,r}var O=j;function C(e){e=unescape(encodeURIComponent(e));for(var t=[],r=0;r<e.length;++r)t.push(e.charCodeAt(r));return t}var A="6ba7b810-9dad-11d1-80b4-00c04fd430c8",I="6ba7b811-9dad-11d1-80b4-00c04fd430c8",M=function(e,t,r){function a(e,a,n,o){if("string"===typeof e&&(e=C(e)),"string"===typeof a&&(a=O(a)),16!==a.length)throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");var i=new Uint8Array(16+e.length);if(i.set(a),i.set(e,a.length),i=r(i),i[6]=15&i[6]|t,i[8]=63&i[8]|128,n){o=o||0;for(var s=0;s<16;++s)n[o+s]=i[s];return n}return y(i)}try{a.name=e}catch(n){}return a.DNS=A,a.URL=I,a};function T(e){if("string"===typeof e){var t=unescape(encodeURIComponent(e));e=new Uint8Array(t.length);for(var r=0;r<t.length;++r)e[r]=t.charCodeAt(r)}return z(U(N(e),8*e.length))}function z(e){for(var t=[],r=32*e.length,a="0123456789abcdef",n=0;n<r;n+=8){var o=e[n>>5]>>>n%32&255,i=parseInt(a.charAt(o>>>4&15)+a.charAt(15&o),16);t.push(i)}return t}function E(e){return 14+(e+64>>>9<<4)+1}function U(e,t){e[t>>5]|=128<<t%32,e[E(t)-1]=t;for(var r=1732584193,a=-271733879,n=-1732584194,o=271733878,i=0;i<e.length;i+=16){var s=r,l=a,c=n,u=o;r=D(r,a,n,o,e[i],7,-680876936),o=D(o,r,a,n,e[i+1],12,-389564586),n=D(n,o,r,a,e[i+2],17,606105819),a=D(a,n,o,r,e[i+3],22,-1044525330),r=D(r,a,n,o,e[i+4],7,-176418897),o=D(o,r,a,n,e[i+5],12,1200080426),n=D(n,o,r,a,e[i+6],17,-1473231341),a=D(a,n,o,r,e[i+7],22,-45705983),r=D(r,a,n,o,e[i+8],7,1770035416),o=D(o,r,a,n,e[i+9],12,-1958414417),n=D(n,o,r,a,e[i+10],17,-42063),a=D(a,n,o,r,e[i+11],22,-1990404162),r=D(r,a,n,o,e[i+12],7,1804603682),o=D(o,r,a,n,e[i+13],12,-40341101),n=D(n,o,r,a,e[i+14],17,-1502002290),a=D(a,n,o,r,e[i+15],22,1236535329),r=F(r,a,n,o,e[i+1],5,-165796510),o=F(o,r,a,n,e[i+6],9,-1069501632),n=F(n,o,r,a,e[i+11],14,643717713),a=F(a,n,o,r,e[i],20,-373897302),r=F(r,a,n,o,e[i+5],5,-701558691),o=F(o,r,a,n,e[i+10],9,38016083),n=F(n,o,r,a,e[i+15],14,-660478335),a=F(a,n,o,r,e[i+4],20,-405537848),r=F(r,a,n,o,e[i+9],5,568446438),o=F(o,r,a,n,e[i+14],9,-1019803690),n=F(n,o,r,a,e[i+3],14,-187363961),a=F(a,n,o,r,e[i+8],20,1163531501),r=F(r,a,n,o,e[i+13],5,-1444681467),o=F(o,r,a,n,e[i+2],9,-51403784),n=F(n,o,r,a,e[i+7],14,1735328473),a=F(a,n,o,r,e[i+12],20,-1926607734),r=B(r,a,n,o,e[i+5],4,-378558),o=B(o,r,a,n,e[i+8],11,-2022574463),n=B(n,o,r,a,e[i+11],16,1839030562),a=B(a,n,o,r,e[i+14],23,-35309556),r=B(r,a,n,o,e[i+1],4,-1530992060),o=B(o,r,a,n,e[i+4],11,1272893353),n=B(n,o,r,a,e[i+7],16,-155497632),a=B(a,n,o,r,e[i+10],23,-1094730640),r=B(r,a,n,o,e[i+13],4,681279174),o=B(o,r,a,n,e[i],11,-358537222),n=B(n,o,r,a,e[i+3],16,-722521979),a=B(a,n,o,r,e[i+6],23,76029189),r=B(r,a,n,o,e[i+9],4,-640364487),o=B(o,r,a,n,e[i+12],11,-421815835),n=B(n,o,r,a,e[i+15],16,530742520),a=B(a,n,o,r,e[i+2],23,-995338651),r=G(r,a,n,o,e[i],6,-198630844),o=G(o,r,a,n,e[i+7],10,1126891415),n=G(n,o,r,a,e[i+14],15,-1416354905),a=G(a,n,o,r,e[i+5],21,-57434055),r=G(r,a,n,o,e[i+12],6,1700485571),o=G(o,r,a,n,e[i+3],10,-1894986606),n=G(n,o,r,a,e[i+10],15,-1051523),a=G(a,n,o,r,e[i+1],21,-2054922799),r=G(r,a,n,o,e[i+8],6,1873313359),o=G(o,r,a,n,e[i+15],10,-30611744),n=G(n,o,r,a,e[i+6],15,-1560198380),a=G(a,n,o,r,e[i+13],21,1309151649),r=G(r,a,n,o,e[i+4],6,-145523070),o=G(o,r,a,n,e[i+11],10,-1120210379),n=G(n,o,r,a,e[i+2],15,718787259),a=G(a,n,o,r,e[i+9],21,-343485551),r=L(r,s),a=L(a,l),n=L(n,c),o=L(o,u)}return[r,a,n,o]}function N(e){if(0===e.length)return[];for(var t=8*e.length,r=new Uint32Array(E(t)),a=0;a<t;a+=8)r[a>>5]|=(255&e[a/8])<<a%32;return r}function L(e,t){var r=(65535&e)+(65535&t),a=(e>>16)+(t>>16)+(r>>16);return a<<16|65535&r}function R(e,t){return e<<t|e>>>32-t}function P(e,t,r,a,n,o){return L(R(L(L(t,e),L(a,o)),n),r)}function D(e,t,r,a,n,o,i){return P(t&r|~t&a,e,t,n,o,i)}function F(e,t,r,a,n,o,i){return P(t&a|r&~a,e,t,n,o,i)}function B(e,t,r,a,n,o,i){return P(t^r^a,e,t,n,o,i)}function G(e,t,r,a,n,o,i){return P(r^(t|~a),e,t,n,o,i)}var V=T,J=M("v3",48,V),W=J;function q(e,t,r){e=e||{};var a=e.random||(e.rng||f)();if(a[6]=15&a[6]|64,a[8]=63&a[8]|128,t){r=r||0;for(var n=0;n<16;++n)t[r+n]=a[n];return t}return y(a)}var X=q;function Z(e,t,r,a){switch(e){case 0:return t&r^~t&a;case 1:return t^r^a;case 2:return t&r^t&a^r&a;case 3:return t^r^a}}function H(e,t){return e<<t|e>>>32-t}function Y(e){var t=[1518500249,1859775393,2400959708,3395469782],r=[1732584193,4023233417,2562383102,271733878,3285377520];if("string"===typeof e){var a=unescape(encodeURIComponent(e));e=[];for(var n=0;n<a.length;++n)e.push(a.charCodeAt(n))}else Array.isArray(e)||(e=Array.prototype.slice.call(e));e.push(128);for(var o=e.length/4+2,i=Math.ceil(o/16),s=new Array(i),l=0;l<i;++l){for(var c=new Uint32Array(16),u=0;u<16;++u)c[u]=e[64*l+4*u]<<24|e[64*l+4*u+1]<<16|e[64*l+4*u+2]<<8|e[64*l+4*u+3];s[l]=c}s[i-1][14]=8*(e.length-1)/Math.pow(2,32),s[i-1][14]=Math.floor(s[i-1][14]),s[i-1][15]=8*(e.length-1)&4294967295;for(var f=0;f<i;++f){for(var d=new Uint32Array(80),p=0;p<16;++p)d[p]=s[f][p];for(var v=16;v<80;++v)d[v]=H(d[v-3]^d[v-8]^d[v-14]^d[v-16],1);for(var b=r[0],g=r[1],m=r[2],h=r[3],x=r[4],y=0;y<80;++y){var w=Math.floor(y/20),k=H(b,5)+Z(w,g,m,h)+x+t[w]+d[y]>>>0;x=h,h=m,m=H(g,30)>>>0,g=b,b=k}r[0]=r[0]+b>>>0,r[1]=r[1]+g>>>0,r[2]=r[2]+m>>>0,r[3]=r[3]+h>>>0,r[4]=r[4]+x>>>0}return[r[0]>>24&255,r[0]>>16&255,r[0]>>8&255,255&r[0],r[1]>>24&255,r[1]>>16&255,r[1]>>8&255,255&r[1],r[2]>>24&255,r[2]>>16&255,r[2]>>8&255,255&r[2],r[3]>>24&255,r[3]>>16&255,r[3]>>8&255,255&r[3],r[4]>>24&255,r[4]>>16&255,r[4]>>8&255,255&r[4]]}var K=Y,Q=M("v5",80,K),$=Q,ee={v1:_,v3:W,v4:X,v5:$};var te=r("afbc"),re=r("675e"),ae=r("7f15"),ne=r("2390"),oe=Object(i["b"])({name:"LearnerSubmitTask",components:{XIcon:s["g"],ErrorMessage:ne["a"]},setup(){const e=Object(i["f"])(localStorage.getItem("linkedTaskId")),t=Object(i["f"])(ee.v1()),r=Object(i["f"])(localStorage.getItem("programId")),a=Object(i["f"])(localStorage.getItem("programName")),n=Object(i["f"])(localStorage.getItem("skillId"));console.log("skill Id in createoffcyclle",n);const o=Object(i["f"])(localStorage.getItem("proficiencyId")),s=Object(i["f"])(localStorage.getItem("skillName")),l=Object(i["f"])(localStorage.getItem("proficiencyName")),u=Object(i["f"])(localStorage.getItem("taskName")),f=Object(i["f"])(localStorage.getItem("taskType")),d=Object(i["f"])(null),p=Object(i["f"])(),v=Object(i["f"])(),b=Object(i["f"])(),g=Object(i["f"])(!0),m=Object(i["f"])(),h=Object(i["f"])(0),x=Object(i["f"])(!1),y=Object(i["f"])(),w=Object(i["f"])(!1),k=Object(i["f"])(),S=Object(i["f"])(!1),_=async()=>{h.value+=1,console.log("before "+v.value),v.value=null,console.log("after "+v.value)},j=e=>{const t=e.target.checked;!0===t?(g.value=!1,console.log(g.value)):(g.value=!0,console.log(g.value))},O=async e=>{try{d.value=e.target.files[0],v.value=e.target.files[0].name;const t=e.target.files[0].size/1024/1024;t>200&&(p.value="fileSize greater than 200 MB")}catch(r){if(console.log(r),x.value=!0,c.a.isAxiosError(r)){var t;const e=r;y.value=null===(t=e.response)||void 0===t?void 0:t.data.message}else y.value="Something went wrong, please contact helpmate.";S.value=!0}},C=async()=>{try{if(x.value=!1,v.value){let a;if("Desktop"===f.value){const i={linked_program_name:r.value,learner_task_id:t.value,skill:n.value,proficiency:o.value,linked_task_id:e.value,learner_submission:v.value},s=await Object(re["a"])("/v1/pretAuthUrlForUploadLearner",{file_name:v.value,learner_task_id:t.value}),l=s.data;b.value=l.preSignedUrl;const c=await Object(re["e"])(b.value,d.value);200===c.status?a=await Object(ae["a"])("/offcycle/create",i):(x.value=!0,y.value="There is issue in the file upload, please contact with helpmate.",S.value=!0)}else{const i={linked_program_name:r.value,learner_task_id:t.value,skill:n.value,proficiency:o.value,linked_task_id:e.value,learner_submission_text:v.value};a=await Object(ae["a"])("/offcycle/create",i)}200===a.status?(x.value=!0,k.value=a.data.message,w.value=!0,localStorage.removeItem("programId"),localStorage.removeItem("programName"),localStorage.removeItem("linkedTaskId"),localStorage.removeItem("skillId"),localStorage.removeItem("skillName"),localStorage.removeItem("proficiencyId"),localStorage.removeItem("proficiencyName"),localStorage.removeItem("taskName"),localStorage.removeItem("taskType"),null!==n.value&&null!==o.value?te["a"].push({name:"SolidifyAdministrationCreateOffCycles",query:{Program_id:r.value,skill_id:n.value,proficiency_id:o.value}}):te["a"].push({name:"SolidifyAdministrationCreateOffCycles",query:{Program_id:r.value}})):(x.value=!0,y.value="There is some issue while submitting learner submission, please contact with helpmate.",S.value=!0)}else"Mobile"===f.value?(x.value=!0,v.value||(p.value="please Enter Submission",console.log("inside Mobile Type"),setTimeout(()=>{p.value=null},6e3))):"Desktop"===f.value&&(x.value=!0,console.log("learnerSubmission.value "+v.value),v.value||(p.value="please select File",setTimeout(()=>{p.value=null},6e3)))}catch(i){if(x.value=!0,console.log("error "+i),c.a.isAxiosError(i)){var a;const e=i;y.value=null===(a=e.response)||void 0===a?void 0:a.data.message}else y.value="There is some issue while submitting learner submission, please contact with helpmate.";S.value=!0}};return Object(i["c"])(async()=>{x.value=!0}),{learnerSubmissionFile:d,skillId:n,proficiencyId:o,programId:r,taskType:f,taskName:u,submitSubmiision:C,learnerSubmission:v,selectedFile:O,fileValidationMsg:p,learnerTaskId:t,preSignedUrl:b,buttonDisable:g,setButtonEnable:j,validationError:m,clearFile:_,fileInputKey:h,renderReady:x,errorResponse:y,showErrorMessage:S,programName:a,skill:s,profName:l,showSuccessMessage:w,resMessage:k}}}),ie=oe,se=(r("adb9"),r("8619")),le=Object(se["a"])(ie,n,o,!1,null,"d79b6af4",null);t["default"]=le.exports},fb3f:function(e,t){t.f=Object.getOwnPropertySymbols}}]);
2
2
  //# sourceMappingURL=SolidifyAdministrationCreateOffCyele.js.map