@genpact/genome.mfe.solidify-app 1.17.2-alpha.33 → 1.17.2-alpha.36
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.html +1 -1
- package/dist/js/SolidifyAdministration.js +1 -1
- package/dist/js/SolidifyAdministration.js.map +1 -1
- package/dist/js/SolidifyAdministrationAssignProxy.js +1 -1
- package/dist/js/SolidifyAdministrationAssignProxy.js.map +1 -1
- package/dist/js/SolidifyAdministrationNeedReviewerReport.js +1 -1
- package/dist/js/SolidifyAdministrationNeedReviewerReport.js.map +1 -1
- package/dist/js/SolidifyAdministrationPlagiarsimReport.js +1 -1
- package/dist/js/SolidifyAdministrationPlagiarsimReport.js.map +1 -1
- package/dist/js/SolidifyAdministrationharvestReport.js +1 -1
- package/dist/js/SolidifyAdministrationharvestReport.js.map +1 -1
- package/dist/js/app.js +2 -2
- package/dist/js/app.js.map +1 -1
- package/dist/js/chunk-5a954aa6.js +2 -0
- package/dist/js/chunk-5a954aa6.js.map +1 -0
- package/package.json +1 -1
- package/dist/js/chunk-30e0234a.js +0 -2
- package/dist/js/chunk-30e0234a.js.map +0 -1
package/dist/index.html
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!DOCTYPE html><html lang=""><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" type="image/png" href="/Genpact_logo.png"><title>Solidify</title><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/tailwindcss/0.0.0-insiders.4a070ac/base.min.css" integrity="sha512-I6j3gXESIyVAUPwJpFT6N3K93MYXC4dDQT9shwbf+p6zRuk7c3UlE4RH8O6nnae0zTrJpjys6rX1WPxU5MMulg==" crossorigin="anonymous" referrerpolicy="no-referrer"><link href="/js/LearnerRereview.js" rel="prefetch"><link href="/js/SolidifyAbout.js" rel="prefetch"><link href="/js/SolidifyAdministration.js" rel="prefetch"><link href="/js/SolidifyAdministrationAssignProxy.js" rel="prefetch"><link href="/js/SolidifyAdministrationAssignRoleToUser.js" rel="prefetch"><link href="/js/SolidifyAdministrationCreateOffCyele.js" rel="prefetch"><link href="/js/SolidifyAdministrationEmailTemplateManagement.js" rel="prefetch"><link href="/js/SolidifyAdministrationLearnerEvents.js" rel="prefetch"><link href="/js/SolidifyAdministrationLearnerGrades.js" rel="prefetch"><link href="/js/SolidifyAdministrationManageProxy.js" rel="prefetch"><link href="/js/SolidifyAdministrationMasterAdministration.js" rel="prefetch"><link href="/js/SolidifyAdministrationNeedReviewerReport.js" rel="prefetch"><link href="/js/SolidifyAdministrationOperationalDetails.js" rel="prefetch"><link href="/js/SolidifyAdministrationPlagiarsimReport.js" rel="prefetch"><link href="/js/SolidifyAdministrationProgramAdministration.js" rel="prefetch"><link href="/js/SolidifyAdministrationProgramDetails.js" rel="prefetch"><link href="/js/SolidifyAdministrationSystemSetting.js" rel="prefetch"><link href="/js/SolidifyAdministrationTaskDetails.js" rel="prefetch"><link href="/js/SolidifyAdministrationTaskManagement.js" rel="prefetch"><link href="/js/SolidifyAdministrationViewAllProxyRequests.js" rel="prefetch"><link href="/js/SolidifyAdministrationViewEmailQueue.js" rel="prefetch"><link href="/js/SolidifyAdministrationViewProxyRequests.js" rel="prefetch"><link href="/js/SolidifyAdministrationViewRereviewRequests.js" rel="prefetch"><link href="/js/SolidifyAdministrationharvestReport.js" rel="prefetch"><link href="/js/SolidifyAdministrationsendEmailToUser.js" rel="prefetch"><link href="/js/SolidifyLearner.js" rel="prefetch"><link href="/js/SolidifyLearnerDone.js" rel="prefetch"><link href="/js/SolidifyLearnerError.js" rel="prefetch"><link href="/js/SolidifyLearnerGating.js" rel="prefetch"><link href="/js/SolidifyLearnerPeerReview.js" rel="prefetch"><link href="/js/SolidifyLearnerProxyReview.js" rel="prefetch"><link href="/js/SolidifyLearnerSelectTask.js" rel="prefetch"><link href="/js/SolidifyLearnerStatus.js" rel="prefetch"><link href="/js/SolidifyLearnerSubmitTask.js" rel="prefetch"><link href="/js/SystemUnderMaintenance.js" rel="prefetch"><link href="/js/chunk-
|
|
1
|
+
<!DOCTYPE html><html lang=""><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" type="image/png" href="/Genpact_logo.png"><title>Solidify</title><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/tailwindcss/0.0.0-insiders.4a070ac/base.min.css" integrity="sha512-I6j3gXESIyVAUPwJpFT6N3K93MYXC4dDQT9shwbf+p6zRuk7c3UlE4RH8O6nnae0zTrJpjys6rX1WPxU5MMulg==" crossorigin="anonymous" referrerpolicy="no-referrer"><link href="/js/LearnerRereview.js" rel="prefetch"><link href="/js/SolidifyAbout.js" rel="prefetch"><link href="/js/SolidifyAdministration.js" rel="prefetch"><link href="/js/SolidifyAdministrationAssignProxy.js" rel="prefetch"><link href="/js/SolidifyAdministrationAssignRoleToUser.js" rel="prefetch"><link href="/js/SolidifyAdministrationCreateOffCyele.js" rel="prefetch"><link href="/js/SolidifyAdministrationEmailTemplateManagement.js" rel="prefetch"><link href="/js/SolidifyAdministrationLearnerEvents.js" rel="prefetch"><link href="/js/SolidifyAdministrationLearnerGrades.js" rel="prefetch"><link href="/js/SolidifyAdministrationManageProxy.js" rel="prefetch"><link href="/js/SolidifyAdministrationMasterAdministration.js" rel="prefetch"><link href="/js/SolidifyAdministrationNeedReviewerReport.js" rel="prefetch"><link href="/js/SolidifyAdministrationOperationalDetails.js" rel="prefetch"><link href="/js/SolidifyAdministrationPlagiarsimReport.js" rel="prefetch"><link href="/js/SolidifyAdministrationProgramAdministration.js" rel="prefetch"><link href="/js/SolidifyAdministrationProgramDetails.js" rel="prefetch"><link href="/js/SolidifyAdministrationSystemSetting.js" rel="prefetch"><link href="/js/SolidifyAdministrationTaskDetails.js" rel="prefetch"><link href="/js/SolidifyAdministrationTaskManagement.js" rel="prefetch"><link href="/js/SolidifyAdministrationViewAllProxyRequests.js" rel="prefetch"><link href="/js/SolidifyAdministrationViewEmailQueue.js" rel="prefetch"><link href="/js/SolidifyAdministrationViewProxyRequests.js" rel="prefetch"><link href="/js/SolidifyAdministrationViewRereviewRequests.js" rel="prefetch"><link href="/js/SolidifyAdministrationharvestReport.js" rel="prefetch"><link href="/js/SolidifyAdministrationsendEmailToUser.js" rel="prefetch"><link href="/js/SolidifyLearner.js" rel="prefetch"><link href="/js/SolidifyLearnerDone.js" rel="prefetch"><link href="/js/SolidifyLearnerError.js" rel="prefetch"><link href="/js/SolidifyLearnerGating.js" rel="prefetch"><link href="/js/SolidifyLearnerPeerReview.js" rel="prefetch"><link href="/js/SolidifyLearnerProxyReview.js" rel="prefetch"><link href="/js/SolidifyLearnerSelectTask.js" rel="prefetch"><link href="/js/SolidifyLearnerStatus.js" rel="prefetch"><link href="/js/SolidifyLearnerSubmitTask.js" rel="prefetch"><link href="/js/SystemUnderMaintenance.js" rel="prefetch"><link href="/js/chunk-5a954aa6.js" rel="prefetch"><link href="/js/app.js" rel="preload" as="script"></head><body><noscript><strong>We're sorry but @genpact/genome.mfe.solidify-app doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div><main><h1>Your Microfrontend is not here</h1><p>The @genpact/genome.mfe.solidify-app microfrontend is running in "integrated" mode, since standalone-single-spa-webpack-plugin is disabled. This means that it does not work as a standalone application without changing configuration.</p><h2>How do I develop this microfrontend?</h2><p>To develop this microfrontend, try the following steps:</p><ol><li>Copy the following URL to your clipboard: <a target="_blank" rel="noopener" id="mf-url"></a></li><li>In a new browser tab, go to the your single-spa web app. This is where your "root config" is running. You do not have to run the root config locally if it is already running on a deployed environment - go to the deployed environment directly.</li><li>In the browser console, run <code>localStorage.setItem('devtools', true);</code> Refresh the page.</li><li>A yellowish rectangle should appear at the bottom right of your screen. Click on it. Find the name @genpact/genome.mfe.solidify-app and click on it. If it is not present, click on Add New Module.</li><li>Paste the URL above into the input that appears. Refresh the page.</li><li>Congrats, your local code is now being used!</li></ol><p></p><p>For further information about "integrated" mode, see the following links:</p><ul><li><a target="_blank" rel="noopener" href="https://single-spa.js.org/docs/recommended-setup#local-development">Local Development Overview</a></li><li><a target="_blank" rel="noopener" href="https://github.com/joeldenning/import-map-overrides">Import Map Overrides Documentation</a></li></ul><p></p><h2>If you prefer Standalone mode</h2><p>To run this microfrontend in "standalone" mode, the standalone-single-spa-webpack-plugin must not be disabled. In some cases, this is done by running <code>npm run start:standalone</code>. Alternatively, you can add <code>--env.standalone</code> to your package.json start script if you are using webpack-config-single-spa.</p>If neither of those work for you, see more details about enabling standalone mode at <a target="_blank" rel="noopener" href="https://github.com/single-spa/standalone-single-spa-webpack-plugin">Standalone Plugin Documentation</a>.<p></p><script>const mfLink = document.getElementById('mf-url');
|
|
2
2
|
const fullSrc = new URL('/js/app.js', window.location.href);
|
|
3
3
|
mfLink.href = fullSrc;
|
|
4
4
|
mfLink.textContent = fullSrc;</script></main></body></html>
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
(window["webpackJsonp__@genpact/genome.mfe.solidify-app"]=window["webpackJsonp__@genpact/genome.mfe.solidify-app"]||[]).push([["SolidifyAdministration"],{"0323":function(e,t,n){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},"0418":function(e,t,n){t.nextTick=function(e){var t=Array.prototype.slice.call(arguments);t.shift(),setTimeout((function(){e.apply(null,t)}),0)},t.platform=t.arch=t.execPath=t.title="browser",t.pid=1,t.browser=!0,t.env={},t.argv=[],t.binding=function(e){throw new Error("No such module. (Possibly not yet loaded)")},function(){var e,r="/";t.cwd=function(){return r},t.chdir=function(t){e||(e=n("cad9")),r=e.resolve(t,r)}}(),t.exit=t.kill=t.umask=t.dlopen=t.uptime=t.memoryUsage=t.uvCounters=function(){},t.features={}},"112f":function(e,t,n){"use strict";var r=n("7de8").version,a={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){a[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));var s={};function o(e,t,n){if("object"!==typeof e)throw new TypeError("options must be an object");var r=Object.keys(e),a=r.length;while(a-- >0){var s=r[a],o=t[s];if(o){var i=e[s],c=void 0===i||o(i,s,e);if(!0!==c)throw new TypeError("option "+s+" must be "+c)}else if(!0!==n)throw Error("Unknown option "+s)}}a.transitional=function(e,t,n){function a(e,t){return"[Axios v"+r+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return function(n,r,o){if(!1===e)throw new Error(a(r," has been removed"+(t?" in "+t:"")));return t&&!s[r]&&(s[r]=!0,console.warn(a(r," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,r,o)}},e.exports={assertOptions:o,validators:a}},"122c":function(e,t,n){"use strict";var r=n("8a5d");e.exports=function(e){return r.isObject(e)&&!0===e.isAxiosError}},1464:function(e,t,n){"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return e.apply(t,n)}}},1501:function(e,t,n){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},"1dba":function(e,t,n){e.exports=n("46c8")},"26fa":function(e,t,n){"use strict";var r=n("1dba"),a=n.n(r);function s({$http:e}){const t=localStorage.getItem("accessToken");t?e.defaults.headers.common.Authorization="Bearer "+t:delete e.defaults.headers.common.Authorization}var o=({$http:e})=>{s({$http:e}),e.interceptors.request.use(t=>(s({$http:e}),t),e=>Promise.reject(e)),e.interceptors.response.use(e=>e,e=>{if(console.log("inside interceptor"),console.warn(e.message,{...e}),!e||!e.response||!e.response.config)return Promise.reject(e);if(e.response&&e.response.config&&"newRelic"===e.response.config.requestName)return Promise.reject(e);try{console.log("error.response.status "+e.response.status),(e.response&&401===e.response.status||e.response&&403===e.response.status)&&(alert("Oops! Your session expired. Please log in again!"),window.location.reload())}catch(t){try{console.warn(t,{...t}),console.warn(JSON.stringify({...t}))}catch(n){console.warn(n)}alert("Generic error")}return Promise.reject(e)})};let i="poc";const{host:c}=window.location;console.log(" solidify "+c),"dev.genome.genpact.com"===c?i="dev":"uat.genome.genpact.com"===c?i="uat":"genome-eda-rel.azurewebsites.net"===c?i="prod":c.includes("localhost")&&(i="local");let l="";l="local"===i?"http://localhost:3000/local/genome-solidify-api-svc":`https://api-router.azurefd.net/${i}/aws/api/genome/solidify`,console.log(" solidify "+l),a.a.defaults.baseURL=l,a.a.defaults.headers.common["x-oauth-config-provider"]="cognito-aps1",o({$http:a.a});t["a"]=a.a},2998:function(e,t,n){"use strict";var r=n("8a5d");e.exports=r.isStandardBrowserEnv()?function(){return{write:function(e,t,n,a,s,o){var i=[];i.push(e+"="+encodeURIComponent(t)),r.isNumber(n)&&i.push("expires="+new Date(n).toGMTString()),r.isString(a)&&i.push("path="+a),r.isString(s)&&i.push("domain="+s),!0===o&&i.push("secure"),document.cookie=i.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}()},"386e":function(e,t,n){"use strict";var r=n("8a5d");e.exports=function(e,t){r.forEach(e,(function(n,r){r!==t&&r.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[r])}))}},3884:function(e,t,n){"use strict";var r=n("8a5d");function a(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,n){if(!t)return e;var s;if(n)s=n(t);else if(r.isURLSearchParams(t))s=t.toString();else{var o=[];r.forEach(t,(function(e,t){null!==e&&"undefined"!==typeof e&&(r.isArray(e)?t+="[]":e=[e],r.forEach(e,(function(e){r.isDate(e)?e=e.toISOString():r.isObject(e)&&(e=JSON.stringify(e)),o.push(a(t)+"="+a(e))})))})),s=o.join("&")}if(s){var i=e.indexOf("#");-1!==i&&(e=e.slice(0,i)),e+=(-1===e.indexOf("?")?"?":"&")+s}return e}},"46c8":function(e,t,n){"use strict";var r=n("8a5d"),a=n("1464"),s=n("6c7d"),o=n("76b7"),i=n("cc3a");function c(e){var t=new s(e),n=a(s.prototype.request,t);return r.extend(n,s.prototype,t),r.extend(n,t),n.create=function(t){return c(o(e,t))},n}var l=c(i);l.Axios=s,l.Cancel=n("82ac"),l.CancelToken=n("823a"),l.isCancel=n("0323"),l.VERSION=n("7de8").version,l.all=function(e){return Promise.all(e)},l.spread=n("c279"),l.isAxiosError=n("122c"),e.exports=l,e.exports.default=l},4945:function(e,t,n){"use strict";n.d(t,"c",(function(){return a})),n.d(t,"e",(function(){return s})),n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return i})),n.d(t,"d",(function(){return c}));var r=n("26fa");const a=async(e,t)=>{let n;return await r["a"].post(e,t).then(e=>(n=e.data,n)),n},s=async(e,t)=>{const n=await r["a"].post(e,t);return n},o=async(e,t)=>{const n=await r["a"].post(e,t);return n},i=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data,t)),t},c=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data,t)),t}},"4af6":function(e,t,n){"use strict";var r=n("8a5d"),a=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,n,s,o={};return e?(r.forEach(e.split("\n"),(function(e){if(s=e.indexOf(":"),t=r.trim(e.substr(0,s)).toLowerCase(),n=r.trim(e.substr(s+1)),t){if(o[t]&&a.indexOf(t)>=0)return;o[t]="set-cookie"===t?(o[t]?o[t]:[]).concat([n]):o[t]?o[t]+", "+n:n}})),o):o}},"5cd4":function(e,t,n){"use strict";var r=n("8a5d"),a=n("cc3a");e.exports=function(e,t,n){var s=this||a;return r.forEach(n,(function(n){e=n.call(s,e,t)})),e}},"5df9":function(e,t,n){"use strict";var r=n("8a5d");function a(){this.handlers=[]}a.prototype.use=function(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1},a.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},a.prototype.forEach=function(e){r.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=a},6136:function(e,t,n){"use strict";e.exports=function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}},6235:function(e,t,n){"use strict";n.d(t,"c",(function(){return a})),n.d(t,"d",(function(){return s})),n.d(t,"b",(function(){return o})),n.d(t,"a",(function(){return i}));var r=n("26fa");const a=async(e,t)=>{const n=await r["a"].post(e,t);return n},s=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data,t)),t},o=async(e,t)=>{let n;return await r["a"].get(`${e}/${t}`).then(e=>(n=e.data.allProxyList,n)),n},i=async(e,t)=>{const n=await r["a"].post(e,t);return n}},"639e":function(e,t,n){"use strict";var r=n("6136"),a=n("1501");e.exports=function(e,t){return e&&!r(t)?a(e,t):t}},"675e":function(e,t,n){"use strict";n.d(t,"b",(function(){return o})),n.d(t,"a",(function(){return a})),n.d(t,"c",(function(){return i})),n.d(t,"e",(function(){return s})),n.d(t,"d",(function(){return c}));var r=n("26fa");const a=async(e,t)=>{const n=await r["a"].post(e,t);return n},s=async(e,t)=>{let n;const r=await fetch(""+e,{method:"put",body:t});return n=r,n},o=async e=>{const t=await r["a"].get("/task/"+e);return t},i=async(e,t)=>{const n=await r["a"].post(e,{learner_task_id:t});return n},c=async(e,t)=>{const n=await r["a"].post(e,t);return n}},"6c7d":function(e,t,n){"use strict";var r=n("8a5d"),a=n("3884"),s=n("5df9"),o=n("93f9"),i=n("76b7"),c=n("112f"),l=c.validators;function u(e){this.defaults=e,this.interceptors={request:new s,response:new s}}u.prototype.request=function(e,t){if("string"===typeof e?(t=t||{},t.url=e):t=e||{},!t.url)throw new Error("Provided config url is not valid");t=i(this.defaults,t),t.method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var n=t.transitional;void 0!==n&&c.assertOptions(n,{silentJSONParsing:l.transitional(l.boolean),forcedJSONParsing:l.transitional(l.boolean),clarifyTimeoutError:l.transitional(l.boolean)},!1);var r=[],a=!0;this.interceptors.request.forEach((function(e){"function"===typeof e.runWhen&&!1===e.runWhen(t)||(a=a&&e.synchronous,r.unshift(e.fulfilled,e.rejected))}));var s,u=[];if(this.interceptors.response.forEach((function(e){u.push(e.fulfilled,e.rejected)})),!a){var d=[o,void 0];Array.prototype.unshift.apply(d,r),d=d.concat(u),s=Promise.resolve(t);while(d.length)s=s.then(d.shift(),d.shift());return s}var f=t;while(r.length){var p=r.shift(),h=r.shift();try{f=p(f)}catch(v){h(v);break}}try{s=o(f)}catch(v){return Promise.reject(v)}while(u.length)s=s.then(u.shift(),u.shift());return s},u.prototype.getUri=function(e){if(!e.url)throw new Error("Provided config url is not valid");return e=i(this.defaults,e),a(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},r.forEach(["delete","get","head","options"],(function(e){u.prototype[e]=function(t,n){return this.request(i(n||{},{method:e,url:t,data:(n||{}).data}))}})),r.forEach(["post","put","patch"],(function(e){u.prototype[e]=function(t,n,r){return this.request(i(r||{},{method:e,url:t,data:n}))}})),e.exports=u},"6e55":function(e,t,n){"use strict";n("c9ee")},"76b7":function(e,t,n){"use strict";var r=n("8a5d");e.exports=function(e,t){t=t||{};var n={};function a(e,t){return r.isPlainObject(e)&&r.isPlainObject(t)?r.merge(e,t):r.isPlainObject(t)?r.merge({},t):r.isArray(t)?t.slice():t}function s(n){return r.isUndefined(t[n])?r.isUndefined(e[n])?void 0:a(void 0,e[n]):a(e[n],t[n])}function o(e){if(!r.isUndefined(t[e]))return a(void 0,t[e])}function i(n){return r.isUndefined(t[n])?r.isUndefined(e[n])?void 0:a(void 0,e[n]):a(void 0,t[n])}function c(n){return n in t?a(e[n],t[n]):n in e?a(void 0,e[n]):void 0}var l={url:o,method:o,data:o,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:c};return r.forEach(Object.keys(e).concat(Object.keys(t)),(function(e){var t=l[e]||s,a=t(e);r.isUndefined(a)&&t!==c||(n[e]=a)})),n}},"7de8":function(e,t){e.exports={version:"0.25.0"}},"7f31":function(e,t,n){"use strict";var r=n("8a5d");e.exports=r.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function a(e){var r=e;return t&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=a(window.location.href),function(t){var n=r.isString(t)?a(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return function(){return!0}}()},"823a":function(e,t,n){"use strict";var r=n("82ac");function a(e){if("function"!==typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var n=this;this.promise.then((function(e){if(n._listeners){var t,r=n._listeners.length;for(t=0;t<r;t++)n._listeners[t](e);n._listeners=null}})),this.promise.then=function(e){var t,r=new Promise((function(e){n.subscribe(e),t=e})).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e((function(e){n.reason||(n.reason=new r(e),t(n.reason))}))}a.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},a.prototype.subscribe=function(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]},a.prototype.unsubscribe=function(e){if(this._listeners){var t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}},a.source=function(){var e,t=new a((function(t){e=t}));return{token:t,cancel:e}},e.exports=a},"82ac":function(e,t,n){"use strict";function r(e){this.message=e}r.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},r.prototype.__CANCEL__=!0,e.exports=r},8596:function(e,t,n){"use strict";n.d(t,"y",(function(){return a})),n.d(t,"t",(function(){return s})),n.d(t,"u",(function(){return o})),n.d(t,"e",(function(){return i})),n.d(t,"x",(function(){return c})),n.d(t,"z",(function(){return l})),n.d(t,"r",(function(){return u})),n.d(t,"s",(function(){return d})),n.d(t,"f",(function(){return f})),n.d(t,"v",(function(){return p})),n.d(t,"h",(function(){return h})),n.d(t,"j",(function(){return v})),n.d(t,"q",(function(){return m})),n.d(t,"o",(function(){return g})),n.d(t,"p",(function(){return y})),n.d(t,"m",(function(){return b})),n.d(t,"k",(function(){return w})),n.d(t,"l",(function(){return x})),n.d(t,"A",(function(){return _})),n.d(t,"C",(function(){return k})),n.d(t,"w",(function(){return O})),n.d(t,"n",(function(){return C})),n.d(t,"i",(function(){return j})),n.d(t,"g",(function(){return S})),n.d(t,"a",(function(){return P})),n.d(t,"B",(function(){return A})),n.d(t,"b",(function(){return E})),n.d(t,"d",(function(){return N})),n.d(t,"c",(function(){return R}));var r=n("26fa");const a=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data,t)),t},s=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data,t)),t},o=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data,t)),t},i=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data,t)),t},c=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data,t)),t},l=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data,t)),t},u=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data,t)),t},d=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data,t)),t},f=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data,t)),t},p=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data,t)),t},h=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data,t)),t},v=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data,t)),t},m=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data.userObj,t)),t},g=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data.userObj,t)),t},y=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data.userObj,t)),t},b=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data,t)),t},w=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data,t)),t},x=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data,t)),t},_=async e=>{const t=await r["a"].get(e);return t},k=async e=>{const t=await r["a"].get(e);return t},O=async e=>{const t=await r["a"].get(e);return t},C=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data,t)),t},j=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data,t)),t},S=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data.userObj,t)),t},P=async e=>{const t=await r["a"].post("/user/role",e);return t},A=async e=>{const t=await r["a"].post("/user/removeRole",e);return t},E=async()=>{const e=await r["a"].get("role");return e},N=async e=>{const t=await r["a"].post("/user/saveLSS",e);return t},R=async e=>{const t=await r["a"].post("/user/saveEnvAccess",e);return t}},"8a5d":function(e,t,n){"use strict";var r=n("1464"),a=Object.prototype.toString;function s(e){return Array.isArray(e)}function o(e){return"undefined"===typeof e}function i(e){return null!==e&&!o(e)&&null!==e.constructor&&!o(e.constructor)&&"function"===typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}function c(e){return"[object ArrayBuffer]"===a.call(e)}function l(e){return"[object FormData]"===a.call(e)}function u(e){var t;return t="undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&c(e.buffer),t}function d(e){return"string"===typeof e}function f(e){return"number"===typeof e}function p(e){return null!==e&&"object"===typeof e}function h(e){if("[object Object]"!==a.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function v(e){return"[object Date]"===a.call(e)}function m(e){return"[object File]"===a.call(e)}function g(e){return"[object Blob]"===a.call(e)}function y(e){return"[object Function]"===a.call(e)}function b(e){return p(e)&&y(e.pipe)}function w(e){return"[object URLSearchParams]"===a.call(e)}function x(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function _(){return("undefined"===typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!==typeof window&&"undefined"!==typeof document)}function k(e,t){if(null!==e&&"undefined"!==typeof e)if("object"!==typeof e&&(e=[e]),s(e))for(var n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.call(null,e[a],a,e)}function O(){var e={};function t(t,n){h(e[n])&&h(t)?e[n]=O(e[n],t):h(t)?e[n]=O({},t):s(t)?e[n]=t.slice():e[n]=t}for(var n=0,r=arguments.length;n<r;n++)k(arguments[n],t);return e}function C(e,t,n){return k(t,(function(t,a){e[a]=n&&"function"===typeof t?r(t,n):t})),e}function j(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e}e.exports={isArray:s,isArrayBuffer:c,isBuffer:i,isFormData:l,isArrayBufferView:u,isString:d,isNumber:f,isObject:p,isPlainObject:h,isUndefined:o,isDate:v,isFile:m,isBlob:g,isFunction:y,isStream:b,isURLSearchParams:w,isStandardBrowserEnv:_,forEach:k,merge:O,extend:C,trim:x,stripBOM:j}},"93f9":function(e,t,n){"use strict";var r=n("8a5d"),a=n("5cd4"),s=n("0323"),o=n("cc3a"),i=n("82ac");function c(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new i("canceled")}e.exports=function(e){c(e),e.headers=e.headers||{},e.data=a.call(e,e.data,e.headers,e.transformRequest),e.headers=r.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),r.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]}));var t=e.adapter||o.adapter;return t(e).then((function(t){return c(e),t.data=a.call(e,t.data,t.headers,e.transformResponse),t}),(function(t){return s(t)||(c(e),t&&t.response&&(t.response.data=a.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},"9a62":function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"admin"},[e.showScreen?t("div",{staticClass:"container w-full flex flex-wrap mx-auto px-2 pt-8 lg:pt-16 md:pt-16 mt-10"},[e._m(0),t("div",{staticClass:"w-full mt-4"},[t("div",{staticClass:"max-w-6xl m-auto shadow p-4 text-background-secondary"},[t("div",{staticClass:"flex w-full mt-6"},[t("div",{staticClass:"w-full pr-3 mb-4"},[t("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[e._v(" Search by OHR/email ")]),t("input",{directives:[{name:"model",rawName:"v-model",value:e.ohrEmail,expression:"ohrEmail"}],staticClass:"appearance-none border rounded w-full py-2 px-3 text-gray-500 leading-tight focus:outline-none focus:shadow-outline",attrs:{type:"text"},domProps:{value:e.ohrEmail},on:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.searchData()},keydown:e.showHideCancel,input:function(t){t.target.composing||(e.ohrEmail=t.target.value)}}})]),t("div",{staticClass:"w-full pr-3 mb-4"},[t("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[e._v(" Skill ")]),t("select",{directives:[{name:"model",rawName:"v-model",value:e.selectedSkill,expression:"selectedSkill"}],staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",on:{change:[function(t){var n=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){var t="_value"in e?e._value:e.value;return t}));e.selectedSkill=t.target.multiple?n:n[0]},function(t){return e.getSelectedSkill(t)}]}},[t("option",[e._v("Select Skill")]),e._l(e.skills,(function(n){return t("option",{key:n.skill_id,domProps:{value:n.skill_id}},[e._v(e._s(n.skill_alias))])}))],2)]),t("div",{directives:[{name:"show",rawName:"v-show",value:e.showProficiency,expression:"showProficiency"}],staticClass:"w-full pr-3 mb-4"},[t("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[e._v(" Proficiency ")]),t("select",{directives:[{name:"model",rawName:"v-model",value:e.selectedProficiency,expression:"selectedProficiency"}],staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",on:{change:[function(t){var n=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){var t="_value"in e?e._value:e.value;return t}));e.selectedProficiency=t.target.multiple?n:n[0]},function(t){return e.getSelectedProficiency(t)}]}},[t("option",[e._v("Select Proficiency")]),e._l(e.proficiency,(function(n){return t("option",{key:n.prof_id,domProps:{value:n.prof_id}},[e._v(e._s(n.prof_name))])}))],2)]),t("div",{staticClass:"w-full mb-4"},[t("button",{staticClass:"mt-8 inline-block py-2 px-4 text-white shadow-md bg-background-secondary",on:{click:function(t){return e.searchData()}}},[e._v("Search")])])])])]),t("div",{staticClass:"flex w-full mt-2"},[t("div",{staticClass:"mt-10 text-left w-4/6 mb-2"},[e.showdiffAccess?t("label",{staticClass:"block tracking-wide -text-blue-800 font-normal"},[t("span",{staticClass:"opacity-80"},[e._v("Differential access status -")]),e._v(" "),t("span",{staticClass:"capitalize text-background-secondary font-bold"},[e._v(e._s(e.diffAccess))])]):e._e()]),t("div")]),t("div",{staticClass:"flex w-full"},[t("div",{staticClass:"w-full pr-3 mb-4"},[t("button",{directives:[{name:"show",rawName:"v-show",value:e.journeyBtnShow,expression:"journeyBtnShow"}],staticClass:"mt-2 mr-2 inline-block py-2 px-4 text-white shadow-md bg-background-secondary",on:{click:function(t){return e.viewLearnerDetails()}}},[e._v("Learner Journey")]),t("button",{directives:[{name:"show",rawName:"v-show",value:e.showEventBtn,expression:"showEventBtn"}],staticClass:"mt-2 mr-2 inline-block py-2 px-4 text-white shadow-md bg-background-secondary",on:{click:function(t){return e.viewEvents()}}},[e._v("View Events")]),t("button",{directives:[{name:"show",rawName:"v-show",value:e.showGradBtn,expression:"showGradBtn"}],staticClass:"mt-2 inline-block py-2 px-4 text-white shadow-md bg-background-secondary mr-2",on:{click:function(t){return e.viewGrades()}}},[e._v("View Grades")]),t("button",{directives:[{name:"show",rawName:"v-show",value:e.showDeleteBtn,expression:"showDeleteBtn"}],staticClass:"mt-2 inline-block py-2 px-4 text-white shadow-md bg-background-secondary mr-2",on:{click:function(t){return e.DeleteLearnerDetails()}}},[e._v("Delete")]),t("button",{directives:[{name:"show",rawName:"v-show",value:e.showUploadBtn,expression:"showUploadBtn"}],staticClass:"mt-2 inline-block py-2 px-4 text-white shadow-md bg-background-secondary mr-2",on:{click:function(t){return e.uploadLearnerSubmission()}}},[e._v("Upload Learner Submission")]),t("button",{directives:[{name:"show",rawName:"v-show",value:e.showPlagiarismBtn,expression:"showPlagiarismBtn"}],staticClass:"mt-2 inline-block py-2 px-4 text-white shadow-md bg-background-secondary mr-2",on:{click:function(t){return e.showProxy()}}},[e._v("Re-evaluate Plagiarism")])])]),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.showErrorMessage?t("div",{staticClass:"w-full px-3 text-center mt-4 bg-red-400 py-2 text-white"},[e._v(" "+e._s(e.resMessage)+" ")]):e._e(),e.showReEvaluatePanel?t("div",{staticClass:"w-full mt-4% mb-4"},[t("div",{staticClass:"text-center text-3xl text-background-secondary"},[e._v("Available Proxy")]),e.proxyAssignedBtn?t("div",{staticClass:"w-1/4 pr-3 mb-4"},[t("button",{staticClass:"mt-2 inline-block py-2 px-4 text-white shadow-md bg-background-secondary",on:{click:function(t){return e.assignLearnerToProxy()}}},[e._v("Assign Proxy")])]):e._e(),t("div",{staticClass:"w-full mt-4"},[t("table",{staticClass:"w-full text-md bg-white shadow rounded text-over"},[e._m(1),t("tbody",{staticClass:"opacity-80 -text-blue-800 align-bottom"},e._l(e.proxyList,(function(n){return t("tr",{key:n.proxy_ohr,staticClass:"border-b hover:bg-gray-300"},[t("td",{staticClass:"py-2 pl-3 pr-0 text-sm w-6"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.selectedProxyOhr,expression:"selectedProxyOhr"}],attrs:{type:"checkbox",id:n.proxy_ohr},domProps:{value:n.proxy_ohr,checked:Array.isArray(e.selectedProxyOhr)?e._i(e.selectedProxyOhr,n.proxy_ohr)>-1:e.selectedProxyOhr},on:{change:[function(t){var r=e.selectedProxyOhr,a=t.target,s=!!a.checked;if(Array.isArray(r)){var o=n.proxy_ohr,i=e._i(r,o);a.checked?i<0&&(e.selectedProxyOhr=r.concat([o])):i>-1&&(e.selectedProxyOhr=r.slice(0,i).concat(r.slice(i+1)))}else e.selectedProxyOhr=s},function(t){return e.showAssignProxyBtn(t)}],click:e.proxyCheckedOne}})]),t("td",{staticClass:"p-2 px-3"},[e._v(e._s(n.proxy_name))]),t("td",{staticClass:"p-2 px-3"},[e._v(e._s(n.proxy_email))]),t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v(e._s(n.proxy_ohr))]),t("td",{staticClass:"p-2 px-3"},[e._v(e._s(n.proxy_role))])])})),0)])])]):e._e(),e.showTaskImport?t("div",{staticClass:"border border-background-secondary mt-6 p-8 w-full"},[t("div",{staticClass:"flex"},[t("input",{attrs:{type:"file"},on:{change:e.selectedFile}})]),e.errorMessage?t("div",{staticClass:"text-red-700"},[e._v(e._s(e.errorMessage))]):e._e(),e.successMessage?t("div",{staticClass:"text-green-700"},[e._v(e._s(e.successMessage))]):e._e(),t("button",{staticClass:"bg-background-secondary inline-block text-white py-2 px-4 mt-4",on:{click:e.submitSubmiision}},[e._v("Upload Learner Submission")])]):e._e(),e.learnerData?t("div",{staticClass:"w-full mb-8 tableScroll"},[t("table",{staticClass:"text-left w-full text-md bg-white shadow rounded mb-4"},[e._m(2),t("tbody",{staticClass:"opacity-80 -text-blue-800"},e._l(e.learnerData,(function(n){return t("tr",{key:n.learner_task_id,staticClass:"border-b hover:bg-gray-300"},[t("td",{staticClass:"py-2 pl-3 pr-0 text-sm w-6"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.checkOne,expression:"checkOne"}],attrs:{type:"checkbox"},domProps:{value:n.learner_task_id,checked:Array.isArray(e.checkOne)?e._i(e.checkOne,n.learner_task_id)>-1:e.checkOne},on:{change:[function(t){var r=e.checkOne,a=t.target,s=!!a.checked;if(Array.isArray(r)){var o=n.learner_task_id,i=e._i(r,o);a.checked?i<0&&(e.checkOne=r.concat([o])):i>-1&&(e.checkOne=r.slice(0,i).concat(r.slice(i+1)))}else e.checkOne=s},function(t){return e.showJourneyBtn(t,n.learner_task_id,n.linked_task_id,n.learner_status,n.is_plagiarised,n.skill,n.proficiency,n.learner_key)}],click:e.checkedOne}})]),t("td",{staticClass:"p-2 px-3",attrs:{title:n.fullname}},[e._v(e._s(n.fullname))]),t("td",{staticClass:"p-2 px-3",attrs:{title:n.email}},[e._v(e._s(n.email))]),t("td",{staticClass:"p-2 px-3 text-center",attrs:{title:n.learner_key}},[e._v(e._s(n.learner_key))]),t("td",{staticClass:"p-2 px-3",attrs:{title:n.proficiencyName}},[e._v(e._s(n.proficiencyName))]),t("td",{staticClass:"p-2 px-3",attrs:{title:n.skillName}},[e._v(e._s(n.skillName))]),t("td",{staticClass:"p-2 px-3",attrs:{title:n.learner_status}},[e._v(e._s(n.learner_status))]),t("td",{staticClass:"p-2 px-3",attrs:{title:n.registration_date}},[e._v(e._s(n.registration_date))]),t("td",{staticClass:"p-2 px-3",attrs:{title:n.submission_date}},[e._v(e._s(n.submission_date))]),t("td",{staticClass:"p-2 px-3",attrs:{title:n.completion_date}},[e._v(e._s(n.completion_date))])])})),0)])]):e._e(),e.renderReady?e._e():t("div",{staticClass:"flex flex-col h-min-screen justify-center text-center pageLoader"},[t("img",{staticClass:"mb-8 block mx-auto loadercss mt-3%",attrs:{src:n("9d04"),alt:"Loader Gif"}}),t("p",{staticClass:"mx-auto mb-10 leading-normal px-4 loadertextcss ext-genpact-darkest-blue"},[e._v("Loading...")])])]):t("div",{staticClass:"container w-full flex flex-wrap mx-auto px-2 pt-8 lg:pt-16 md:pt-16 mt-10"},[e._v("You don't have access")])])},a=[function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"w-full"},[t("div",{staticClass:"text-center text-3xl text-background-secondary"},[e._v("Operational data")])])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("thead",{staticClass:"opacity-90 -text-blue-800"},[t("tr",{staticClass:"border-b"},[t("th",{staticClass:"text-left py-2 pl-3 pr-0 w-6 text-background-secondary"}),t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Name")]),t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Email")]),t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("OHR")]),t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Role")])])])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("thead",{staticClass:"opacity-90 -text-blue-800"},[t("tr",{staticClass:"border-b"},[t("th",{staticClass:"py-2 pl-3 pr-0 w-6"}),t("th",{staticClass:"p-2 px-3 text-background-secondary"},[e._v("Full name")]),t("th",{staticClass:"p-2 px-3 text-background-secondary"},[e._v("Email")]),t("th",{staticClass:"p-2 px-3 text-background-secondary text-center"},[e._v("OHR")]),t("th",{staticClass:"p-2 px-3 text-background-secondary"},[e._v("Proficiency")]),t("th",{staticClass:"p-2 px-3 text-background-secondary"},[e._v("Skill")]),t("th",{staticClass:"p-2 px-3 text-background-secondary"},[e._v("Status")]),t("th",{staticClass:"p-2 px-3 text-background-secondary"},[e._v("Registration Date")]),t("th",{staticClass:"p-2 px-3 text-background-secondary"},[e._v("Submission Date")]),t("th",{staticClass:"p-2 px-3 text-background-secondary"},[e._v("Completion Date")])])])}],s=n("d1ce"),o=n("bb03"),i=n.n(o),c=n("4945"),l=n("8596"),u=n("afbc"),d=n("675e"),f=n("6235"),p=n("1dba"),h=n.n(p),v=Object(s["b"])({name:"OperationalTab",setup(){const e=Object(s["f"])(),t=Object(s["f"])(),n=Object(s["f"])(),r=Object(s["f"])(),a=Object(s["f"])(),o=Object(s["f"])(!0),p=Object(s["f"])(!1),v=Object(s["f"])(!1),m=Object(s["f"])(!1),g=Object(s["f"])([]),y=Object(s["f"])(!1),b=Object(s["f"])(!1),w=Object(s["f"])(!1),x=Object(s["f"])(!1),_=Object(s["f"])(),k=Object(s["f"])(),O=Object(s["f"])(!0),C=Object(s["f"])(),j=Object(s["f"])(!1),S=Object(s["f"])(!1),P=Object(s["f"])(!1),A=Object(s["f"])(!1),E=Object(s["f"])(),N=Object(s["f"])(),R=Object(s["f"])(),T=Object(s["f"])(),B=Object(s["f"])(),L=Object(s["f"])(),D=Object(s["f"])("Select Skill"),U=Object(s["f"])("Select Proficiency"),M={},q=Object(s["f"])(!1),I=Object(s["f"])(!1),z=Object(s["f"])(),J=Object(s["f"])(),F=Object(s["f"])(),H=Object(s["f"])(),Y=Object(s["f"])([]),V=Object(s["f"])(!1),$=Object(s["f"])(),G=Object(s["f"])(!1),X=Object(s["f"])(),W=()=>{g.value=[]},K=()=>{Y.value=[]},Q=(e,t,n,r,a,s,o,i)=>{const c=e.target.checked;!0===c?(P.value=!1,y.value=!0,b.value=!0,w.value=!0,x.value=!0,_.value=t,z.value=s,H.value=i,J.value=o,X.value=n,console.log("Learner OHR "+H.value),localStorage.setItem("inputValue",C.value),"Registered"===r&&k.value.includes("System Admin")?v.value=!0:v.value=!1,q.value=!0===a):(y.value=!1,b.value=!1,v.value=!1,w.value=!1,q.value=!1,P.value=!1)},Z=()=>{u["a"].push({path:"administration/OperationalTabDetails",query:{learner_task_id:_.value}})},ee=()=>{u["a"].push({path:"administration/uploadSubmission",query:{linked_task_id:X.value,learner_task_id:_.value}})},te=()=>{u["a"].push({path:"administration/learnerevents",query:{learner_task_id:_.value}})},ne=()=>{u["a"].push({path:"administration/Learnergrades",query:{learner_task_id:_.value}})},re=async()=>{o.value=!1;const e=await Object(c["d"])("/getAllSkillProf/genome");t.value=e.skill,n.value=e.proficiency,o.value=!0},ae=async()=>{try{P.value=!1,o.value=!1;const t=await Object(c["c"])("/getAllOperationData",M);if(e.value=t.operationData,E.value=t.diffStatus,console.log("diffAccess.value",E.value),E.value&&(j.value=!0),e.value)for(let n=0;n<e.value.length;n+=1){const t=e.value[n];t.registration_date&&(t.registration_date=i()(t.registration_date).format("DD-MM-YYYY")),t.completion_date&&(t.completion_date=i()(t.completion_date).format("DD-MM-YYYY")),t.submission_date&&(t.submission_date=i()(t.submission_date).format("DD-MM-YYYY"))}localStorage.removeItem("inputValue"),o.value=!0}catch(t){console.log(t)}},se=async()=>{C.value&&(Object.assign(M,{ohrEmail:C.value}),await ae())},oe=async()=>{o.value=!1,await Object(c["b"])("/deleteRegisteredLearner/"+_.value),await ae(),o.value=!0},ie=()=>{C.value="",m.value=!1},ce=()=>{C.value?m.value=!0:m.value=!1},le=async e=>{try{const t=e.target.files[0],n=e.target.files[0].name,r=e.target.files[0].size/1024/1024;r>200?(T.value="fileSize greater than 200 MB",setTimeout(()=>{T.value=null},6e3)):(N.value=t,R.value=n)}catch(t){console.log(t)}},ue=async()=>{if(R.value){o.value=!1;const e=await Object(d["a"])("/v1/pretAuthUrlForUploadLearner",{file_name:R.value,learner_task_id:_.value}),t=e.data;L.value=t.preSignedUrl;const n=await Object(d["e"])(L.value,N.value);if(console.log("Upload Response",n),200===n.status){const e={learner_submission:R.value,learner_task_id:_.value},t=await Object(c["e"])("/uploadLearnerSubmissionFromAdmin",e);console.log(t),B.value="File uploaded Successfully",setTimeout(()=>{B.value=null,S.value=!1,ae()},6e3)}else T.value="There is issue in the file upload",setTimeout(()=>{T.value=null},6e3);o.value=!0}},de=async e=>{U.value=e.target.value,"Select Proficiency"===U.value?(U.value="Select Proficiency",Object.assign(M,{proficiency_id:""})):Object.assign(M,{proficiency_id:U.value})},fe=async e=>{D.value=e.target.value,"Select Skill"===D.value?(D.value="Select Skill",A.value=!1,Object.assign(M,{skill_id:"",proficiency_id:""})):(Object.assign(M,{skill_id:D.value}),A.value=!0)},pe=async()=>{o.value=!1,P.value=!0,F.value=await Object(f["b"])("/getAllProxyBySkill",z.value),o.value=!0,console.log("Proxy List",F.value)},he=async()=>{console.log("Assign Proxy");try{o.value=!1;const e={learner:_.value,proxy_key:Y.value[0],learner_key:H.value,skill:z.value,proficiency:J.value};console.log("Selected Data",e);const t=await Object(c["a"])("/reevaluatePlagiarism",e);P.value=!1,o.value=!0,console.log("assignProxyRes?.data.message",null===t||void 0===t?void 0:t.data.message),$.value=null===t||void 0===t?void 0:t.data.message,V.value=!0,setTimeout(()=>{V.value=!1},6e3),await ae()}catch(n){if(h.a.isAxiosError(n)){var e,t;const r=n;console.log("err.response?.data",null===(e=r.response)||void 0===e?void 0:e.data),o.value=!0,$.value=null===(t=r.response)||void 0===t?void 0:t.data.message,console.log("errorMessage.value "+T.value),G.value=!0,setTimeout(()=>{G.value=!1},6e3)}}},ve=async e=>{const t=e.target.checked;I.value=!0===t};return Object(s["c"])(async()=>{const e=await Object(l["g"])("/getUserRole");k.value=e.user_roles,k.value.length>0&&(k.value.includes("System Admin")||k.value.includes("System Admin View Access")||k.value.includes("Program Admin")?(console.log("inside Role"),O.value=!0,await re()):O.value=!1),localStorage.getItem("inputValue")&&(C.value=localStorage.getItem("inputValue"),Object.assign(M,{ohrEmail:localStorage.getItem("inputValue")}),await ae())}),{learnerData:e,skills:t,proficiency:n,programme:r,status:a,showOperationTab:p,renderReady:o,checkOne:g,checkedOne:W,showJourneyBtn:Q,journeyBtnShow:y,viewLearnerDetails:Z,ohrEmail:C,searchData:se,showDeleteBtn:v,DeleteLearnerDetails:oe,isShowCancel:m,clearInput:ie,showHideCancel:ce,showEventBtn:b,viewEvents:te,showGradBtn:w,viewGrades:ne,showScreen:O,showdiffAccess:j,diffAccess:E,showUploadBtn:x,submitSubmiision:ue,showTaskImport:S,selectedFile:le,preSignedUrl:L,successMessage:B,errorMessage:T,getSkillandProf:re,getSelectedSkill:fe,selectedProficiency:U,selectedSkill:D,getSelectedProficiency:de,showProficiency:A,showPlagiarismBtn:q,showReEvaluatePanel:P,checkedSkill:z,showProxy:pe,proxyList:F,proxyAssignedBtn:I,assignLearnerToProxy:he,selectedProxyOhr:Y,showAssignProxyBtn:ve,showSuccessMessage:V,resMessage:$,showErrorMessage:G,proxyCheckedOne:K,linkedTaskId:X,uploadLearnerSubmission:ee}}}),m=v,g=(n("6e55"),n("bce8")),y=Object(g["a"])(m,r,a,!1,null,"072b67c8",null);t["default"]=y.exports},"9d04":function(e,t,n){e.exports=n.p+"img/loadernew.gif"},a417:function(e,t,n){"use strict";e.exports=function(e,t,n,r,a){return e.config=t,n&&(e.code=n),e.request=r,e.response=a,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}},e}},aa01:function(e,t,n){"use strict";var r=n("fccd");e.exports=function(e,t,n){var a=n.config.validateStatus;n.status&&a&&!a(n.status)?t(r("Request failed with status code "+n.status,n.config,null,n.request,n)):e(n)}},c279:function(e,t,n){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},c9ee:function(e,t,n){var r=n("e84a");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var a=n("c69b").default;a("7826a592",r,!0,{sourceMap:!1,shadowMode:!1})},cad9:function(e,t,n){(function(e){function n(e,t){for(var n=0,r=e.length-1;r>=0;r--){var a=e[r];"."===a?e.splice(r,1):".."===a?(e.splice(r,1),n++):n&&(e.splice(r,1),n--)}if(t)for(;n--;n)e.unshift("..");return e}function r(e){"string"!==typeof e&&(e+="");var t,n=0,r=-1,a=!0;for(t=e.length-1;t>=0;--t)if(47===e.charCodeAt(t)){if(!a){n=t+1;break}}else-1===r&&(a=!1,r=t+1);return-1===r?"":e.slice(n,r)}function a(e,t){if(e.filter)return e.filter(t);for(var n=[],r=0;r<e.length;r++)t(e[r],r,e)&&n.push(e[r]);return n}t.resolve=function(){for(var t="",r=!1,s=arguments.length-1;s>=-1&&!r;s--){var o=s>=0?arguments[s]:e.cwd();if("string"!==typeof o)throw new TypeError("Arguments to path.resolve must be strings");o&&(t=o+"/"+t,r="/"===o.charAt(0))}return t=n(a(t.split("/"),(function(e){return!!e})),!r).join("/"),(r?"/":"")+t||"."},t.normalize=function(e){var r=t.isAbsolute(e),o="/"===s(e,-1);return e=n(a(e.split("/"),(function(e){return!!e})),!r).join("/"),e||r||(e="."),e&&o&&(e+="/"),(r?"/":"")+e},t.isAbsolute=function(e){return"/"===e.charAt(0)},t.join=function(){var e=Array.prototype.slice.call(arguments,0);return t.normalize(a(e,(function(e,t){if("string"!==typeof e)throw new TypeError("Arguments to path.join must be strings");return e})).join("/"))},t.relative=function(e,n){function r(e){for(var t=0;t<e.length;t++)if(""!==e[t])break;for(var n=e.length-1;n>=0;n--)if(""!==e[n])break;return t>n?[]:e.slice(t,n-t+1)}e=t.resolve(e).substr(1),n=t.resolve(n).substr(1);for(var a=r(e.split("/")),s=r(n.split("/")),o=Math.min(a.length,s.length),i=o,c=0;c<o;c++)if(a[c]!==s[c]){i=c;break}var l=[];for(c=i;c<a.length;c++)l.push("..");return l=l.concat(s.slice(i)),l.join("/")},t.sep="/",t.delimiter=":",t.dirname=function(e){if("string"!==typeof e&&(e+=""),0===e.length)return".";for(var t=e.charCodeAt(0),n=47===t,r=-1,a=!0,s=e.length-1;s>=1;--s)if(t=e.charCodeAt(s),47===t){if(!a){r=s;break}}else a=!1;return-1===r?n?"/":".":n&&1===r?"/":e.slice(0,r)},t.basename=function(e,t){var n=r(e);return t&&n.substr(-1*t.length)===t&&(n=n.substr(0,n.length-t.length)),n},t.extname=function(e){"string"!==typeof e&&(e+="");for(var t=-1,n=0,r=-1,a=!0,s=0,o=e.length-1;o>=0;--o){var i=e.charCodeAt(o);if(47!==i)-1===r&&(a=!1,r=o+1),46===i?-1===t?t=o:1!==s&&(s=1):-1!==t&&(s=-1);else if(!a){n=o+1;break}}return-1===t||-1===r||0===s||1===s&&t===r-1&&t===n+1?"":e.slice(t,r)};var s="b"==="ab".substr(-1)?function(e,t,n){return e.substr(t,n)}:function(e,t,n){return t<0&&(t=e.length+t),e.substr(t,n)}}).call(this,n("0418"))},cc3a:function(e,t,n){"use strict";(function(t){var r=n("8a5d"),a=n("386e"),s=n("a417"),o={"Content-Type":"application/x-www-form-urlencoded"};function i(e,t){!r.isUndefined(e)&&r.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}function c(){var e;return("undefined"!==typeof XMLHttpRequest||"undefined"!==typeof t&&"[object process]"===Object.prototype.toString.call(t))&&(e=n("e50c")),e}function l(e,t,n){if(r.isString(e))try{return(t||JSON.parse)(e),r.trim(e)}catch(a){if("SyntaxError"!==a.name)throw a}return(n||JSON.stringify)(e)}var u={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:c(),transformRequest:[function(e,t){return a(t,"Accept"),a(t,"Content-Type"),r.isFormData(e)||r.isArrayBuffer(e)||r.isBuffer(e)||r.isStream(e)||r.isFile(e)||r.isBlob(e)?e:r.isArrayBufferView(e)?e.buffer:r.isURLSearchParams(e)?(i(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):r.isObject(e)||t&&"application/json"===t["Content-Type"]?(i(t,"application/json"),l(e)):e}],transformResponse:[function(e){var t=this.transitional||u.transitional,n=t&&t.silentJSONParsing,a=t&&t.forcedJSONParsing,o=!n&&"json"===this.responseType;if(o||a&&r.isString(e)&&e.length)try{return JSON.parse(e)}catch(i){if(o){if("SyntaxError"===i.name)throw s(i,this,"E_JSON_PARSE");throw i}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};r.forEach(["delete","get","head"],(function(e){u.headers[e]={}})),r.forEach(["post","put","patch"],(function(e){u.headers[e]=r.merge(o)})),e.exports=u}).call(this,n("0418"))},e50c:function(e,t,n){"use strict";var r=n("8a5d"),a=n("aa01"),s=n("2998"),o=n("3884"),i=n("639e"),c=n("4af6"),l=n("7f31"),u=n("fccd"),d=n("cc3a"),f=n("82ac");e.exports=function(e){return new Promise((function(t,n){var p,h=e.data,v=e.headers,m=e.responseType;function g(){e.cancelToken&&e.cancelToken.unsubscribe(p),e.signal&&e.signal.removeEventListener("abort",p)}r.isFormData(h)&&delete v["Content-Type"];var y=new XMLHttpRequest;if(e.auth){var b=e.auth.username||"",w=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";v.Authorization="Basic "+btoa(b+":"+w)}var x=i(e.baseURL,e.url);function _(){if(y){var r="getAllResponseHeaders"in y?c(y.getAllResponseHeaders()):null,s=m&&"text"!==m&&"json"!==m?y.response:y.responseText,o={data:s,status:y.status,statusText:y.statusText,headers:r,config:e,request:y};a((function(e){t(e),g()}),(function(e){n(e),g()}),o),y=null}}if(y.open(e.method.toUpperCase(),o(x,e.params,e.paramsSerializer),!0),y.timeout=e.timeout,"onloadend"in y?y.onloadend=_:y.onreadystatechange=function(){y&&4===y.readyState&&(0!==y.status||y.responseURL&&0===y.responseURL.indexOf("file:"))&&setTimeout(_)},y.onabort=function(){y&&(n(u("Request aborted",e,"ECONNABORTED",y)),y=null)},y.onerror=function(){n(u("Network Error",e,null,y)),y=null},y.ontimeout=function(){var t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",r=e.transitional||d.transitional;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(u(t,e,r.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",y)),y=null},r.isStandardBrowserEnv()){var k=(e.withCredentials||l(x))&&e.xsrfCookieName?s.read(e.xsrfCookieName):void 0;k&&(v[e.xsrfHeaderName]=k)}"setRequestHeader"in y&&r.forEach(v,(function(e,t){"undefined"===typeof h&&"content-type"===t.toLowerCase()?delete v[t]:y.setRequestHeader(t,e)})),r.isUndefined(e.withCredentials)||(y.withCredentials=!!e.withCredentials),m&&"json"!==m&&(y.responseType=e.responseType),"function"===typeof e.onDownloadProgress&&y.addEventListener("progress",e.onDownloadProgress),"function"===typeof e.onUploadProgress&&y.upload&&y.upload.addEventListener("progress",e.onUploadProgress),(e.cancelToken||e.signal)&&(p=function(e){y&&(n(!e||e&&e.type?new f("canceled"):e),y.abort(),y=null)},e.cancelToken&&e.cancelToken.subscribe(p),e.signal&&(e.signal.aborted?p():e.signal.addEventListener("abort",p))),h||(h=null),y.send(h)}))}},e84a:function(e,t,n){var r=n("a8d8");t=r(!1),t.push([e.i,".pageLoader[data-v-072b67c8]{position:fixed;top:30%;left:42%}.tableScroll[data-v-072b67c8]{max-height:50vh;overflow-y:auto}",""]),e.exports=t},fccd:function(e,t,n){"use strict";var r=n("a417");e.exports=function(e,t,n,a,s){var o=new Error(e);return r(o,t,n,a,s)}}}]);
|
|
1
|
+
(window["webpackJsonp__@genpact/genome.mfe.solidify-app"]=window["webpackJsonp__@genpact/genome.mfe.solidify-app"]||[]).push([["SolidifyAdministration"],{"0323":function(e,t,n){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},"0418":function(e,t,n){t.nextTick=function(e){var t=Array.prototype.slice.call(arguments);t.shift(),setTimeout((function(){e.apply(null,t)}),0)},t.platform=t.arch=t.execPath=t.title="browser",t.pid=1,t.browser=!0,t.env={},t.argv=[],t.binding=function(e){throw new Error("No such module. (Possibly not yet loaded)")},function(){var e,r="/";t.cwd=function(){return r},t.chdir=function(t){e||(e=n("cad9")),r=e.resolve(t,r)}}(),t.exit=t.kill=t.umask=t.dlopen=t.uptime=t.memoryUsage=t.uvCounters=function(){},t.features={}},"112f":function(e,t,n){"use strict";var r=n("7de8").version,a={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){a[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));var s={};function o(e,t,n){if("object"!==typeof e)throw new TypeError("options must be an object");var r=Object.keys(e),a=r.length;while(a-- >0){var s=r[a],o=t[s];if(o){var i=e[s],c=void 0===i||o(i,s,e);if(!0!==c)throw new TypeError("option "+s+" must be "+c)}else if(!0!==n)throw Error("Unknown option "+s)}}a.transitional=function(e,t,n){function a(e,t){return"[Axios v"+r+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return function(n,r,o){if(!1===e)throw new Error(a(r," has been removed"+(t?" in "+t:"")));return t&&!s[r]&&(s[r]=!0,console.warn(a(r," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,r,o)}},e.exports={assertOptions:o,validators:a}},"122c":function(e,t,n){"use strict";var r=n("8a5d");e.exports=function(e){return r.isObject(e)&&!0===e.isAxiosError}},1464:function(e,t,n){"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return e.apply(t,n)}}},1501:function(e,t,n){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},"1dba":function(e,t,n){e.exports=n("46c8")},"26fa":function(e,t,n){"use strict";var r=n("1dba"),a=n.n(r);function s({$http:e}){const t=localStorage.getItem("accessToken");t?e.defaults.headers.common.Authorization="Bearer "+t:delete e.defaults.headers.common.Authorization}var o=({$http:e})=>{s({$http:e}),e.interceptors.request.use(t=>(s({$http:e}),t),e=>Promise.reject(e)),e.interceptors.response.use(e=>e,e=>{if(console.log("inside interceptor"),console.warn(e.message,{...e}),!e||!e.response||!e.response.config)return Promise.reject(e);if(e.response&&e.response.config&&"newRelic"===e.response.config.requestName)return Promise.reject(e);try{console.log("error.response.status "+e.response.status),(e.response&&401===e.response.status||e.response&&403===e.response.status)&&(alert("Oops! Your session expired. Please log in again!"),window.location.reload())}catch(t){try{console.warn(t,{...t}),console.warn(JSON.stringify({...t}))}catch(n){console.warn(n)}alert("Generic error")}return Promise.reject(e)})};let i="poc";const{host:c}=window.location;console.log(" solidify "+c),"dev.genome.genpact.com"===c?i="dev":"uat.genome.genpact.com"===c?i="uat":"genome-eda-rel.azurewebsites.net"===c?i="prod":c.includes("localhost")&&(i="local");let l="";l="local"===i?"http://localhost:3000/local/genome-solidify-api-svc":`https://api-router.azurefd.net/${i}/aws/api/genome/solidify`,console.log(" solidify "+l),a.a.defaults.baseURL=l,a.a.defaults.headers.common["x-oauth-config-provider"]="cognito-aps1",o({$http:a.a});t["a"]=a.a},2998:function(e,t,n){"use strict";var r=n("8a5d");e.exports=r.isStandardBrowserEnv()?function(){return{write:function(e,t,n,a,s,o){var i=[];i.push(e+"="+encodeURIComponent(t)),r.isNumber(n)&&i.push("expires="+new Date(n).toGMTString()),r.isString(a)&&i.push("path="+a),r.isString(s)&&i.push("domain="+s),!0===o&&i.push("secure"),document.cookie=i.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}()},"2e30":function(e,t,n){"use strict";n("5cfc")},"386e":function(e,t,n){"use strict";var r=n("8a5d");e.exports=function(e,t){r.forEach(e,(function(n,r){r!==t&&r.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[r])}))}},3884:function(e,t,n){"use strict";var r=n("8a5d");function a(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,n){if(!t)return e;var s;if(n)s=n(t);else if(r.isURLSearchParams(t))s=t.toString();else{var o=[];r.forEach(t,(function(e,t){null!==e&&"undefined"!==typeof e&&(r.isArray(e)?t+="[]":e=[e],r.forEach(e,(function(e){r.isDate(e)?e=e.toISOString():r.isObject(e)&&(e=JSON.stringify(e)),o.push(a(t)+"="+a(e))})))})),s=o.join("&")}if(s){var i=e.indexOf("#");-1!==i&&(e=e.slice(0,i)),e+=(-1===e.indexOf("?")?"?":"&")+s}return e}},"46c8":function(e,t,n){"use strict";var r=n("8a5d"),a=n("1464"),s=n("6c7d"),o=n("76b7"),i=n("cc3a");function c(e){var t=new s(e),n=a(s.prototype.request,t);return r.extend(n,s.prototype,t),r.extend(n,t),n.create=function(t){return c(o(e,t))},n}var l=c(i);l.Axios=s,l.Cancel=n("82ac"),l.CancelToken=n("823a"),l.isCancel=n("0323"),l.VERSION=n("7de8").version,l.all=function(e){return Promise.all(e)},l.spread=n("c279"),l.isAxiosError=n("122c"),e.exports=l,e.exports.default=l},4945:function(e,t,n){"use strict";n.d(t,"c",(function(){return a})),n.d(t,"e",(function(){return s})),n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return i})),n.d(t,"d",(function(){return c}));var r=n("26fa");const a=async(e,t)=>{let n;return await r["a"].post(e,t).then(e=>(n=e.data,n)),n},s=async(e,t)=>{const n=await r["a"].post(e,t);return n},o=async(e,t)=>{const n=await r["a"].post(e,t);return n},i=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data,t)),t},c=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data,t)),t}},"4af6":function(e,t,n){"use strict";var r=n("8a5d"),a=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,n,s,o={};return e?(r.forEach(e.split("\n"),(function(e){if(s=e.indexOf(":"),t=r.trim(e.substr(0,s)).toLowerCase(),n=r.trim(e.substr(s+1)),t){if(o[t]&&a.indexOf(t)>=0)return;o[t]="set-cookie"===t?(o[t]?o[t]:[]).concat([n]):o[t]?o[t]+", "+n:n}})),o):o}},"5cd4":function(e,t,n){"use strict";var r=n("8a5d"),a=n("cc3a");e.exports=function(e,t,n){var s=this||a;return r.forEach(n,(function(n){e=n.call(s,e,t)})),e}},"5cfc":function(e,t,n){var r=n("aff9");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var a=n("c69b").default;a("42a68df0",r,!0,{sourceMap:!1,shadowMode:!1})},"5df9":function(e,t,n){"use strict";var r=n("8a5d");function a(){this.handlers=[]}a.prototype.use=function(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1},a.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},a.prototype.forEach=function(e){r.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=a},6136:function(e,t,n){"use strict";e.exports=function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}},6235:function(e,t,n){"use strict";n.d(t,"c",(function(){return a})),n.d(t,"d",(function(){return s})),n.d(t,"b",(function(){return o})),n.d(t,"a",(function(){return i}));var r=n("26fa");const a=async(e,t)=>{const n=await r["a"].post(e,t);return n},s=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data,t)),t},o=async(e,t)=>{let n;return await r["a"].get(`${e}/${t}`).then(e=>(n=e.data.allProxyList,n)),n},i=async(e,t)=>{const n=await r["a"].post(e,t);return n}},"639e":function(e,t,n){"use strict";var r=n("6136"),a=n("1501");e.exports=function(e,t){return e&&!r(t)?a(e,t):t}},"675e":function(e,t,n){"use strict";n.d(t,"b",(function(){return o})),n.d(t,"a",(function(){return a})),n.d(t,"c",(function(){return i})),n.d(t,"e",(function(){return s})),n.d(t,"d",(function(){return c}));var r=n("26fa");const a=async(e,t)=>{const n=await r["a"].post(e,t);return n},s=async(e,t)=>{let n;const r=await fetch(""+e,{method:"put",body:t});return n=r,n},o=async e=>{const t=await r["a"].get("/task/"+e);return t},i=async(e,t)=>{const n=await r["a"].post(e,{learner_task_id:t});return n},c=async(e,t)=>{const n=await r["a"].post(e,t);return n}},"6c7d":function(e,t,n){"use strict";var r=n("8a5d"),a=n("3884"),s=n("5df9"),o=n("93f9"),i=n("76b7"),c=n("112f"),l=c.validators;function u(e){this.defaults=e,this.interceptors={request:new s,response:new s}}u.prototype.request=function(e,t){if("string"===typeof e?(t=t||{},t.url=e):t=e||{},!t.url)throw new Error("Provided config url is not valid");t=i(this.defaults,t),t.method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var n=t.transitional;void 0!==n&&c.assertOptions(n,{silentJSONParsing:l.transitional(l.boolean),forcedJSONParsing:l.transitional(l.boolean),clarifyTimeoutError:l.transitional(l.boolean)},!1);var r=[],a=!0;this.interceptors.request.forEach((function(e){"function"===typeof e.runWhen&&!1===e.runWhen(t)||(a=a&&e.synchronous,r.unshift(e.fulfilled,e.rejected))}));var s,u=[];if(this.interceptors.response.forEach((function(e){u.push(e.fulfilled,e.rejected)})),!a){var d=[o,void 0];Array.prototype.unshift.apply(d,r),d=d.concat(u),s=Promise.resolve(t);while(d.length)s=s.then(d.shift(),d.shift());return s}var f=t;while(r.length){var p=r.shift(),h=r.shift();try{f=p(f)}catch(v){h(v);break}}try{s=o(f)}catch(v){return Promise.reject(v)}while(u.length)s=s.then(u.shift(),u.shift());return s},u.prototype.getUri=function(e){if(!e.url)throw new Error("Provided config url is not valid");return e=i(this.defaults,e),a(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},r.forEach(["delete","get","head","options"],(function(e){u.prototype[e]=function(t,n){return this.request(i(n||{},{method:e,url:t,data:(n||{}).data}))}})),r.forEach(["post","put","patch"],(function(e){u.prototype[e]=function(t,n,r){return this.request(i(r||{},{method:e,url:t,data:n}))}})),e.exports=u},"76b7":function(e,t,n){"use strict";var r=n("8a5d");e.exports=function(e,t){t=t||{};var n={};function a(e,t){return r.isPlainObject(e)&&r.isPlainObject(t)?r.merge(e,t):r.isPlainObject(t)?r.merge({},t):r.isArray(t)?t.slice():t}function s(n){return r.isUndefined(t[n])?r.isUndefined(e[n])?void 0:a(void 0,e[n]):a(e[n],t[n])}function o(e){if(!r.isUndefined(t[e]))return a(void 0,t[e])}function i(n){return r.isUndefined(t[n])?r.isUndefined(e[n])?void 0:a(void 0,e[n]):a(void 0,t[n])}function c(n){return n in t?a(e[n],t[n]):n in e?a(void 0,e[n]):void 0}var l={url:o,method:o,data:o,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:c};return r.forEach(Object.keys(e).concat(Object.keys(t)),(function(e){var t=l[e]||s,a=t(e);r.isUndefined(a)&&t!==c||(n[e]=a)})),n}},"7de8":function(e,t){e.exports={version:"0.25.0"}},"7f31":function(e,t,n){"use strict";var r=n("8a5d");e.exports=r.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function a(e){var r=e;return t&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=a(window.location.href),function(t){var n=r.isString(t)?a(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return function(){return!0}}()},"823a":function(e,t,n){"use strict";var r=n("82ac");function a(e){if("function"!==typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var n=this;this.promise.then((function(e){if(n._listeners){var t,r=n._listeners.length;for(t=0;t<r;t++)n._listeners[t](e);n._listeners=null}})),this.promise.then=function(e){var t,r=new Promise((function(e){n.subscribe(e),t=e})).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e((function(e){n.reason||(n.reason=new r(e),t(n.reason))}))}a.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},a.prototype.subscribe=function(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]},a.prototype.unsubscribe=function(e){if(this._listeners){var t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}},a.source=function(){var e,t=new a((function(t){e=t}));return{token:t,cancel:e}},e.exports=a},"82ac":function(e,t,n){"use strict";function r(e){this.message=e}r.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},r.prototype.__CANCEL__=!0,e.exports=r},8596:function(e,t,n){"use strict";n.d(t,"y",(function(){return a})),n.d(t,"t",(function(){return s})),n.d(t,"u",(function(){return o})),n.d(t,"e",(function(){return i})),n.d(t,"x",(function(){return c})),n.d(t,"z",(function(){return l})),n.d(t,"r",(function(){return u})),n.d(t,"s",(function(){return d})),n.d(t,"f",(function(){return f})),n.d(t,"v",(function(){return p})),n.d(t,"h",(function(){return h})),n.d(t,"j",(function(){return v})),n.d(t,"q",(function(){return m})),n.d(t,"o",(function(){return g})),n.d(t,"p",(function(){return y})),n.d(t,"m",(function(){return b})),n.d(t,"k",(function(){return w})),n.d(t,"l",(function(){return x})),n.d(t,"A",(function(){return _})),n.d(t,"C",(function(){return k})),n.d(t,"w",(function(){return O})),n.d(t,"n",(function(){return C})),n.d(t,"i",(function(){return j})),n.d(t,"g",(function(){return S})),n.d(t,"a",(function(){return P})),n.d(t,"B",(function(){return A})),n.d(t,"b",(function(){return E})),n.d(t,"d",(function(){return N})),n.d(t,"c",(function(){return R}));var r=n("26fa");const a=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data,t)),t},s=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data,t)),t},o=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data,t)),t},i=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data,t)),t},c=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data,t)),t},l=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data,t)),t},u=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data,t)),t},d=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data,t)),t},f=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data,t)),t},p=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data,t)),t},h=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data,t)),t},v=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data,t)),t},m=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data.userObj,t)),t},g=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data.userObj,t)),t},y=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data.userObj,t)),t},b=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data,t)),t},w=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data,t)),t},x=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data,t)),t},_=async e=>{const t=await r["a"].get(e);return t},k=async e=>{const t=await r["a"].get(e);return t},O=async e=>{const t=await r["a"].get(e);return t},C=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data,t)),t},j=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data,t)),t},S=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data.userObj,t)),t},P=async e=>{const t=await r["a"].post("/user/role",e);return t},A=async e=>{const t=await r["a"].post("/user/removeRole",e);return t},E=async()=>{const e=await r["a"].get("role");return e},N=async e=>{const t=await r["a"].post("/user/saveLSS",e);return t},R=async e=>{const t=await r["a"].post("/user/saveEnvAccess",e);return t}},"8a5d":function(e,t,n){"use strict";var r=n("1464"),a=Object.prototype.toString;function s(e){return Array.isArray(e)}function o(e){return"undefined"===typeof e}function i(e){return null!==e&&!o(e)&&null!==e.constructor&&!o(e.constructor)&&"function"===typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}function c(e){return"[object ArrayBuffer]"===a.call(e)}function l(e){return"[object FormData]"===a.call(e)}function u(e){var t;return t="undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&c(e.buffer),t}function d(e){return"string"===typeof e}function f(e){return"number"===typeof e}function p(e){return null!==e&&"object"===typeof e}function h(e){if("[object Object]"!==a.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function v(e){return"[object Date]"===a.call(e)}function m(e){return"[object File]"===a.call(e)}function g(e){return"[object Blob]"===a.call(e)}function y(e){return"[object Function]"===a.call(e)}function b(e){return p(e)&&y(e.pipe)}function w(e){return"[object URLSearchParams]"===a.call(e)}function x(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function _(){return("undefined"===typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!==typeof window&&"undefined"!==typeof document)}function k(e,t){if(null!==e&&"undefined"!==typeof e)if("object"!==typeof e&&(e=[e]),s(e))for(var n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.call(null,e[a],a,e)}function O(){var e={};function t(t,n){h(e[n])&&h(t)?e[n]=O(e[n],t):h(t)?e[n]=O({},t):s(t)?e[n]=t.slice():e[n]=t}for(var n=0,r=arguments.length;n<r;n++)k(arguments[n],t);return e}function C(e,t,n){return k(t,(function(t,a){e[a]=n&&"function"===typeof t?r(t,n):t})),e}function j(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e}e.exports={isArray:s,isArrayBuffer:c,isBuffer:i,isFormData:l,isArrayBufferView:u,isString:d,isNumber:f,isObject:p,isPlainObject:h,isUndefined:o,isDate:v,isFile:m,isBlob:g,isFunction:y,isStream:b,isURLSearchParams:w,isStandardBrowserEnv:_,forEach:k,merge:O,extend:C,trim:x,stripBOM:j}},"93f9":function(e,t,n){"use strict";var r=n("8a5d"),a=n("5cd4"),s=n("0323"),o=n("cc3a"),i=n("82ac");function c(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new i("canceled")}e.exports=function(e){c(e),e.headers=e.headers||{},e.data=a.call(e,e.data,e.headers,e.transformRequest),e.headers=r.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),r.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]}));var t=e.adapter||o.adapter;return t(e).then((function(t){return c(e),t.data=a.call(e,t.data,t.headers,e.transformResponse),t}),(function(t){return s(t)||(c(e),t&&t.response&&(t.response.data=a.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},"9a62":function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"admin"},[e.showScreen?t("div",{staticClass:"container w-full flex flex-wrap mx-auto px-2 pt-8 lg:pt-16 md:pt-16 mt-10"},[e._m(0),t("div",{staticClass:"w-full mt-4"},[t("div",{staticClass:"max-w-6xl m-auto shadow p-4 text-background-secondary"},[t("div",{staticClass:"flex w-full mt-6"},[t("div",{staticClass:"w-full pr-3 mb-4"},[t("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[e._v(" Search by OHR/email ")]),t("input",{directives:[{name:"model",rawName:"v-model",value:e.ohrEmail,expression:"ohrEmail"}],staticClass:"appearance-none border rounded w-full py-2 px-3 text-gray-500 leading-tight focus:outline-none focus:shadow-outline",attrs:{type:"text"},domProps:{value:e.ohrEmail},on:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.searchData()},keydown:e.showHideCancel,input:function(t){t.target.composing||(e.ohrEmail=t.target.value)}}})]),t("div",{staticClass:"w-full pr-3 mb-4"},[t("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[e._v(" Skill ")]),t("select",{directives:[{name:"model",rawName:"v-model",value:e.selectedSkill,expression:"selectedSkill"}],staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",on:{change:[function(t){var n=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){var t="_value"in e?e._value:e.value;return t}));e.selectedSkill=t.target.multiple?n:n[0]},function(t){return e.getSelectedSkill(t)}]}},[t("option",[e._v("Select Skill")]),e._l(e.skills,(function(n){return t("option",{key:n.skill_id,domProps:{value:n.skill_id}},[e._v(e._s(n.skill_alias))])}))],2)]),t("div",{directives:[{name:"show",rawName:"v-show",value:e.showProficiency,expression:"showProficiency"}],staticClass:"w-full pr-3 mb-4"},[t("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[e._v(" Proficiency ")]),t("select",{directives:[{name:"model",rawName:"v-model",value:e.selectedProficiency,expression:"selectedProficiency"}],staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",on:{change:[function(t){var n=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){var t="_value"in e?e._value:e.value;return t}));e.selectedProficiency=t.target.multiple?n:n[0]},function(t){return e.getSelectedProficiency(t)}]}},[t("option",[e._v("Select Proficiency")]),e._l(e.proficiency,(function(n){return t("option",{key:n.prof_id,domProps:{value:n.prof_id}},[e._v(e._s(n.prof_name))])}))],2)]),t("div",{staticClass:"w-full mb-4"},[t("button",{staticClass:"mt-8 inline-block py-2 px-4 text-white shadow-md bg-background-secondary",on:{click:function(t){return e.searchData()}}},[e._v("Search")])])])])]),t("div",{staticClass:"flex w-full mt-2"},[t("div",{staticClass:"mt-10 text-left w-4/6 mb-2"},[e.showdiffAccess?t("label",{staticClass:"block tracking-wide -text-blue-800 font-normal"},[t("span",{staticClass:"opacity-80"},[e._v("Differential access status -")]),e._v(" "),t("span",{staticClass:"capitalize text-background-secondary font-bold"},[e._v(e._s(e.diffAccess))])]):e._e()]),t("div")]),t("div",{staticClass:"flex w-full"},[t("div",{staticClass:"w-full pr-3 mb-4"},[t("button",{directives:[{name:"show",rawName:"v-show",value:e.journeyBtnShow,expression:"journeyBtnShow"}],staticClass:"mt-2 mr-2 inline-block py-2 px-4 text-white shadow-md bg-background-secondary",on:{click:function(t){return e.viewLearnerDetails()}}},[e._v("Learner Journey")]),t("button",{directives:[{name:"show",rawName:"v-show",value:e.showEventBtn,expression:"showEventBtn"}],staticClass:"mt-2 mr-2 inline-block py-2 px-4 text-white shadow-md bg-background-secondary",on:{click:function(t){return e.viewEvents()}}},[e._v("View Events")]),t("button",{directives:[{name:"show",rawName:"v-show",value:e.showGradBtn,expression:"showGradBtn"}],staticClass:"mt-2 inline-block py-2 px-4 text-white shadow-md bg-background-secondary mr-2",on:{click:function(t){return e.viewGrades()}}},[e._v("View Grades")]),t("button",{directives:[{name:"show",rawName:"v-show",value:e.showDeleteBtn,expression:"showDeleteBtn"}],staticClass:"mt-2 inline-block py-2 px-4 text-white shadow-md bg-background-secondary mr-2",on:{click:function(t){return e.DeleteLearnerDetails()}}},[e._v("Delete")]),t("button",{directives:[{name:"show",rawName:"v-show",value:e.showUploadBtn,expression:"showUploadBtn"}],staticClass:"mt-2 inline-block py-2 px-4 text-white shadow-md bg-background-secondary mr-2",on:{click:function(t){return e.uploadLearnerSubmission()}}},[e._v("Upload Learner Submission")]),t("button",{directives:[{name:"show",rawName:"v-show",value:e.showPlagiarismBtn,expression:"showPlagiarismBtn"}],staticClass:"mt-2 inline-block py-2 px-4 text-white shadow-md bg-background-secondary mr-2",on:{click:function(t){return e.showProxy()}}},[e._v("Re-evaluate Plagiarism")])])]),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.showErrorMessage?t("div",{staticClass:"w-full px-3 text-center mt-4 bg-red-400 py-2 text-white"},[e._v(" "+e._s(e.resMessage)+" ")]):e._e(),e.showReEvaluatePanel?t("div",{staticClass:"w-full mt-4% mb-4"},[t("div",{staticClass:"text-center text-3xl text-background-secondary"},[e._v("Available Proxy")]),e.proxyAssignedBtn?t("div",{staticClass:"w-1/4 pr-3 mb-4"},[t("button",{staticClass:"mt-2 inline-block py-2 px-4 text-white shadow-md bg-background-secondary",on:{click:function(t){return e.assignLearnerToProxy()}}},[e._v("Assign Proxy")])]):e._e(),t("div",{staticClass:"w-full mt-4"},[t("table",{staticClass:"w-full text-md bg-white shadow rounded text-over"},[e._m(1),t("tbody",{staticClass:"opacity-80 -text-blue-800 align-bottom"},e._l(e.proxyList,(function(n){return t("tr",{key:n.proxy_ohr,staticClass:"border-b hover:bg-gray-300"},[t("td",{staticClass:"py-2 pl-3 pr-0 text-sm w-6"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.selectedProxyOhr,expression:"selectedProxyOhr"}],attrs:{type:"checkbox",id:n.proxy_ohr},domProps:{value:n.proxy_ohr,checked:Array.isArray(e.selectedProxyOhr)?e._i(e.selectedProxyOhr,n.proxy_ohr)>-1:e.selectedProxyOhr},on:{change:[function(t){var r=e.selectedProxyOhr,a=t.target,s=!!a.checked;if(Array.isArray(r)){var o=n.proxy_ohr,i=e._i(r,o);a.checked?i<0&&(e.selectedProxyOhr=r.concat([o])):i>-1&&(e.selectedProxyOhr=r.slice(0,i).concat(r.slice(i+1)))}else e.selectedProxyOhr=s},function(t){return e.showAssignProxyBtn(t)}],click:e.proxyCheckedOne}})]),t("td",{staticClass:"p-2 px-3"},[e._v(e._s(n.proxy_name))]),t("td",{staticClass:"p-2 px-3"},[e._v(e._s(n.proxy_email))]),t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v(e._s(n.proxy_ohr))]),t("td",{staticClass:"p-2 px-3"},[e._v(e._s(n.proxy_role))])])})),0)])])]):e._e(),e.showTaskImport?t("div",{staticClass:"border border-background-secondary mt-6 p-8 w-full"},[t("div",{staticClass:"flex"},[t("input",{attrs:{type:"file"},on:{change:e.selectedFile}})]),e.errorMessage?t("div",{staticClass:"text-red-700"},[e._v(e._s(e.errorMessage))]):e._e(),e.successMessage?t("div",{staticClass:"text-green-700"},[e._v(e._s(e.successMessage))]):e._e(),t("button",{staticClass:"bg-background-secondary inline-block text-white py-2 px-4 mt-4",on:{click:e.submitSubmiision}},[e._v("Upload Learner Submission")])]):e._e(),e.learnerData?t("div",{staticClass:"w-full mb-8 tableScroll"},[t("table",{staticClass:"text-left w-full text-md bg-white shadow rounded mb-4"},[e._m(2),t("tbody",{staticClass:"opacity-80 -text-blue-800"},e._l(e.learnerData,(function(n){return t("tr",{key:n.learner_task_id,staticClass:"border-b hover:bg-gray-300"},[t("td",{staticClass:"py-2 pl-3 pr-0 text-sm w-6"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.checkOne,expression:"checkOne"}],attrs:{type:"checkbox"},domProps:{value:n.learner_task_id,checked:Array.isArray(e.checkOne)?e._i(e.checkOne,n.learner_task_id)>-1:e.checkOne},on:{change:[function(t){var r=e.checkOne,a=t.target,s=!!a.checked;if(Array.isArray(r)){var o=n.learner_task_id,i=e._i(r,o);a.checked?i<0&&(e.checkOne=r.concat([o])):i>-1&&(e.checkOne=r.slice(0,i).concat(r.slice(i+1)))}else e.checkOne=s},function(t){return e.showJourneyBtn(t,n.learner_task_id,n.linked_task_id,n.learner_status,n.is_plagiarised,n.skill,n.proficiency,n.learner_key)}],click:e.checkedOne}})]),t("td",{staticClass:"p-2 px-3",attrs:{title:n.fullname}},[e._v(e._s(n.fullname))]),t("td",{staticClass:"p-2 px-3",attrs:{title:n.email}},[e._v(e._s(n.email))]),t("td",{staticClass:"p-2 px-3 text-center",attrs:{title:n.learner_key}},[e._v(e._s(n.learner_key))]),t("td",{staticClass:"p-2 px-3",attrs:{title:n.proficiencyName}},[e._v(e._s(n.proficiencyName))]),t("td",{staticClass:"p-2 px-3",attrs:{title:n.skillName}},[e._v(e._s(n.skillName))]),t("td",{staticClass:"p-2 px-3",attrs:{title:n.learner_status}},[e._v(e._s(n.learner_status))]),t("td",{staticClass:"p-2 px-3",attrs:{title:n.registration_date}},[e._v(e._s(n.registration_date))]),t("td",{staticClass:"p-2 px-3",attrs:{title:n.submission_date}},[e._v(e._s(n.submission_date))]),t("td",{staticClass:"p-2 px-3",attrs:{title:n.completion_date}},[e._v(e._s(n.completion_date))])])})),0)])]):e._e(),e.renderReady?e._e():t("div",{staticClass:"flex flex-col h-min-screen justify-center text-center pageLoader"},[t("img",{staticClass:"mb-8 block mx-auto loadercss mt-3%",attrs:{src:n("9d04"),alt:"Loader Gif"}}),t("p",{staticClass:"mx-auto mb-10 leading-normal px-4 loadertextcss ext-genpact-darkest-blue"},[e._v("Loading...")])])]):t("div",{staticClass:"container w-full flex flex-wrap mx-auto px-2 pt-8 lg:pt-16 md:pt-16 mt-10"},[e._v("You don't have access")])])},a=[function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"w-full"},[t("div",{staticClass:"text-center text-3xl text-background-secondary"},[e._v("Operational data")])])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("thead",{staticClass:"opacity-90 -text-blue-800"},[t("tr",{staticClass:"border-b"},[t("th",{staticClass:"text-left py-2 pl-3 pr-0 w-6 text-background-secondary"}),t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Name")]),t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Email")]),t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("OHR")]),t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Role")])])])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("thead",{staticClass:"opacity-90 -text-blue-800"},[t("tr",{staticClass:"border-b"},[t("th",{staticClass:"py-2 pl-3 pr-0 w-6"}),t("th",{staticClass:"p-2 px-3 text-background-secondary"},[e._v("Full name")]),t("th",{staticClass:"p-2 px-3 text-background-secondary"},[e._v("Email")]),t("th",{staticClass:"p-2 px-3 text-background-secondary text-center"},[e._v("OHR")]),t("th",{staticClass:"p-2 px-3 text-background-secondary"},[e._v("Proficiency")]),t("th",{staticClass:"p-2 px-3 text-background-secondary"},[e._v("Skill")]),t("th",{staticClass:"p-2 px-3 text-background-secondary"},[e._v("Status")]),t("th",{staticClass:"p-2 px-3 text-background-secondary"},[e._v("Registration Date")]),t("th",{staticClass:"p-2 px-3 text-background-secondary"},[e._v("Submission Date")]),t("th",{staticClass:"p-2 px-3 text-background-secondary"},[e._v("Completion Date")])])])}],s=n("d1ce"),o=n("bb03"),i=n.n(o),c=n("4945"),l=n("8596"),u=n("afbc"),d=n("675e"),f=n("6235"),p=n("1dba"),h=n.n(p),v=Object(s["b"])({name:"OperationalTab",setup(){const e=Object(s["f"])(),t=Object(s["f"])(),n=Object(s["f"])(),r=Object(s["f"])(),a=Object(s["f"])(),o=Object(s["f"])(!0),p=Object(s["f"])(!1),v=Object(s["f"])(!1),m=Object(s["f"])(!1),g=Object(s["f"])([]),y=Object(s["f"])(!1),b=Object(s["f"])(!1),w=Object(s["f"])(!1),x=Object(s["f"])(!1),_=Object(s["f"])(),k=Object(s["f"])(),O=Object(s["f"])(!0),C=Object(s["f"])(),j=Object(s["f"])(!1),S=Object(s["f"])(!1),P=Object(s["f"])(!1),A=Object(s["f"])(!1),E=Object(s["f"])(),N=Object(s["f"])(),R=Object(s["f"])(),T=Object(s["f"])(),B=Object(s["f"])(),L=Object(s["f"])(),D=Object(s["f"])("Select Skill"),U=Object(s["f"])("Select Proficiency"),M={},q=Object(s["f"])(!1),I=Object(s["f"])(!1),z=Object(s["f"])(),J=Object(s["f"])(),F=Object(s["f"])(),H=Object(s["f"])(),Y=Object(s["f"])([]),V=Object(s["f"])(!1),$=Object(s["f"])(),G=Object(s["f"])(!1),X=Object(s["f"])(),W=()=>{g.value=[]},K=()=>{Y.value=[]},Q=(e,t,n,r,a,s,o,i)=>{const c=e.target.checked;!0===c?(P.value=!1,y.value=!0,b.value=!0,w.value=!0,x.value=!0,_.value=t,z.value=s,H.value=i,J.value=o,X.value=n,console.log("Learner OHR "+H.value),localStorage.setItem("inputValue",C.value),"Registered"===r&&k.value.includes("System Admin")?v.value=!0:v.value=!1,q.value=!0===a):(y.value=!1,b.value=!1,v.value=!1,w.value=!1,q.value=!1,P.value=!1)},Z=()=>{u["a"].push({path:"administration/OperationalTabDetails",query:{learner_task_id:_.value}})},ee=()=>{u["a"].push({path:"administration/uploadSubmission",query:{linked_task_id:X.value,learner_task_id:_.value}})},te=()=>{u["a"].push({path:"administration/learnerevents",query:{learner_task_id:_.value}})},ne=()=>{u["a"].push({path:"administration/Learnergrades",query:{learner_task_id:_.value}})},re=async()=>{o.value=!1;const e=await Object(c["d"])("/getAllSkillProf?skill_type=genome");t.value=e.skill,n.value=e.proficiency,o.value=!0},ae=async()=>{try{P.value=!1,o.value=!1;const t=await Object(c["c"])("/getAllOperationData",M);if(e.value=t.operationData,E.value=t.diffStatus,console.log("diffAccess.value",E.value),E.value&&(j.value=!0),e.value)for(let n=0;n<e.value.length;n+=1){const t=e.value[n];t.registration_date&&(t.registration_date=i()(t.registration_date).format("DD-MM-YYYY")),t.completion_date&&(t.completion_date=i()(t.completion_date).format("DD-MM-YYYY")),t.submission_date&&(t.submission_date=i()(t.submission_date).format("DD-MM-YYYY"))}localStorage.removeItem("inputValue"),o.value=!0}catch(t){console.log(t)}},se=async()=>{C.value&&(Object.assign(M,{ohrEmail:C.value}),await ae())},oe=async()=>{o.value=!1,await Object(c["b"])("/deleteRegisteredLearner/"+_.value),await ae(),o.value=!0},ie=()=>{C.value="",m.value=!1},ce=()=>{C.value?m.value=!0:m.value=!1},le=async e=>{try{const t=e.target.files[0],n=e.target.files[0].name,r=e.target.files[0].size/1024/1024;r>200?(T.value="fileSize greater than 200 MB",setTimeout(()=>{T.value=null},6e3)):(N.value=t,R.value=n)}catch(t){console.log(t)}},ue=async()=>{if(R.value){o.value=!1;const e=await Object(d["a"])("/v1/pretAuthUrlForUploadLearner",{file_name:R.value,learner_task_id:_.value}),t=e.data;L.value=t.preSignedUrl;const n=await Object(d["e"])(L.value,N.value);if(console.log("Upload Response",n),200===n.status){const e={learner_submission:R.value,learner_task_id:_.value},t=await Object(c["e"])("/uploadLearnerSubmissionFromAdmin",e);console.log(t),B.value="File uploaded Successfully",setTimeout(()=>{B.value=null,S.value=!1,ae()},6e3)}else T.value="There is issue in the file upload",setTimeout(()=>{T.value=null},6e3);o.value=!0}},de=async e=>{U.value=e.target.value,"Select Proficiency"===U.value?(U.value="Select Proficiency",Object.assign(M,{proficiency_id:""})):Object.assign(M,{proficiency_id:U.value})},fe=async e=>{D.value=e.target.value,"Select Skill"===D.value?(D.value="Select Skill",A.value=!1,Object.assign(M,{skill_id:"",proficiency_id:""})):(Object.assign(M,{skill_id:D.value}),A.value=!0)},pe=async()=>{o.value=!1,P.value=!0,F.value=await Object(f["b"])("/getAllProxyBySkill",z.value),o.value=!0,console.log("Proxy List",F.value)},he=async()=>{console.log("Assign Proxy");try{o.value=!1;const e={learner:_.value,proxy_key:Y.value[0],learner_key:H.value,skill:z.value,proficiency:J.value};console.log("Selected Data",e);const t=await Object(c["a"])("/reevaluatePlagiarism",e);P.value=!1,o.value=!0,console.log("assignProxyRes?.data.message",null===t||void 0===t?void 0:t.data.message),$.value=null===t||void 0===t?void 0:t.data.message,V.value=!0,setTimeout(()=>{V.value=!1},6e3),await ae()}catch(n){if(h.a.isAxiosError(n)){var e,t;const r=n;console.log("err.response?.data",null===(e=r.response)||void 0===e?void 0:e.data),o.value=!0,$.value=null===(t=r.response)||void 0===t?void 0:t.data.message,console.log("errorMessage.value "+T.value),G.value=!0,setTimeout(()=>{G.value=!1},6e3)}}},ve=async e=>{const t=e.target.checked;I.value=!0===t};return Object(s["c"])(async()=>{const e=await Object(l["g"])("/getUserRole");k.value=e.user_roles,k.value.length>0&&(k.value.includes("System Admin")||k.value.includes("System Admin View Access")||k.value.includes("Program Admin")?(console.log("inside Role"),O.value=!0,await re()):O.value=!1),localStorage.getItem("inputValue")&&(C.value=localStorage.getItem("inputValue"),Object.assign(M,{ohrEmail:localStorage.getItem("inputValue")}),await ae())}),{learnerData:e,skills:t,proficiency:n,programme:r,status:a,showOperationTab:p,renderReady:o,checkOne:g,checkedOne:W,showJourneyBtn:Q,journeyBtnShow:y,viewLearnerDetails:Z,ohrEmail:C,searchData:se,showDeleteBtn:v,DeleteLearnerDetails:oe,isShowCancel:m,clearInput:ie,showHideCancel:ce,showEventBtn:b,viewEvents:te,showGradBtn:w,viewGrades:ne,showScreen:O,showdiffAccess:j,diffAccess:E,showUploadBtn:x,submitSubmiision:ue,showTaskImport:S,selectedFile:le,preSignedUrl:L,successMessage:B,errorMessage:T,getSkillandProf:re,getSelectedSkill:fe,selectedProficiency:U,selectedSkill:D,getSelectedProficiency:de,showProficiency:A,showPlagiarismBtn:q,showReEvaluatePanel:P,checkedSkill:z,showProxy:pe,proxyList:F,proxyAssignedBtn:I,assignLearnerToProxy:he,selectedProxyOhr:Y,showAssignProxyBtn:ve,showSuccessMessage:V,resMessage:$,showErrorMessage:G,proxyCheckedOne:K,linkedTaskId:X,uploadLearnerSubmission:ee}}}),m=v,g=(n("2e30"),n("bce8")),y=Object(g["a"])(m,r,a,!1,null,"1da026ee",null);t["default"]=y.exports},"9d04":function(e,t,n){e.exports=n.p+"img/loadernew.gif"},a417:function(e,t,n){"use strict";e.exports=function(e,t,n,r,a){return e.config=t,n&&(e.code=n),e.request=r,e.response=a,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}},e}},aa01:function(e,t,n){"use strict";var r=n("fccd");e.exports=function(e,t,n){var a=n.config.validateStatus;n.status&&a&&!a(n.status)?t(r("Request failed with status code "+n.status,n.config,null,n.request,n)):e(n)}},aff9:function(e,t,n){var r=n("a8d8");t=r(!1),t.push([e.i,".pageLoader[data-v-1da026ee]{position:fixed;top:30%;left:42%}.tableScroll[data-v-1da026ee]{max-height:50vh;overflow-y:auto}",""]),e.exports=t},c279:function(e,t,n){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},cad9:function(e,t,n){(function(e){function n(e,t){for(var n=0,r=e.length-1;r>=0;r--){var a=e[r];"."===a?e.splice(r,1):".."===a?(e.splice(r,1),n++):n&&(e.splice(r,1),n--)}if(t)for(;n--;n)e.unshift("..");return e}function r(e){"string"!==typeof e&&(e+="");var t,n=0,r=-1,a=!0;for(t=e.length-1;t>=0;--t)if(47===e.charCodeAt(t)){if(!a){n=t+1;break}}else-1===r&&(a=!1,r=t+1);return-1===r?"":e.slice(n,r)}function a(e,t){if(e.filter)return e.filter(t);for(var n=[],r=0;r<e.length;r++)t(e[r],r,e)&&n.push(e[r]);return n}t.resolve=function(){for(var t="",r=!1,s=arguments.length-1;s>=-1&&!r;s--){var o=s>=0?arguments[s]:e.cwd();if("string"!==typeof o)throw new TypeError("Arguments to path.resolve must be strings");o&&(t=o+"/"+t,r="/"===o.charAt(0))}return t=n(a(t.split("/"),(function(e){return!!e})),!r).join("/"),(r?"/":"")+t||"."},t.normalize=function(e){var r=t.isAbsolute(e),o="/"===s(e,-1);return e=n(a(e.split("/"),(function(e){return!!e})),!r).join("/"),e||r||(e="."),e&&o&&(e+="/"),(r?"/":"")+e},t.isAbsolute=function(e){return"/"===e.charAt(0)},t.join=function(){var e=Array.prototype.slice.call(arguments,0);return t.normalize(a(e,(function(e,t){if("string"!==typeof e)throw new TypeError("Arguments to path.join must be strings");return e})).join("/"))},t.relative=function(e,n){function r(e){for(var t=0;t<e.length;t++)if(""!==e[t])break;for(var n=e.length-1;n>=0;n--)if(""!==e[n])break;return t>n?[]:e.slice(t,n-t+1)}e=t.resolve(e).substr(1),n=t.resolve(n).substr(1);for(var a=r(e.split("/")),s=r(n.split("/")),o=Math.min(a.length,s.length),i=o,c=0;c<o;c++)if(a[c]!==s[c]){i=c;break}var l=[];for(c=i;c<a.length;c++)l.push("..");return l=l.concat(s.slice(i)),l.join("/")},t.sep="/",t.delimiter=":",t.dirname=function(e){if("string"!==typeof e&&(e+=""),0===e.length)return".";for(var t=e.charCodeAt(0),n=47===t,r=-1,a=!0,s=e.length-1;s>=1;--s)if(t=e.charCodeAt(s),47===t){if(!a){r=s;break}}else a=!1;return-1===r?n?"/":".":n&&1===r?"/":e.slice(0,r)},t.basename=function(e,t){var n=r(e);return t&&n.substr(-1*t.length)===t&&(n=n.substr(0,n.length-t.length)),n},t.extname=function(e){"string"!==typeof e&&(e+="");for(var t=-1,n=0,r=-1,a=!0,s=0,o=e.length-1;o>=0;--o){var i=e.charCodeAt(o);if(47!==i)-1===r&&(a=!1,r=o+1),46===i?-1===t?t=o:1!==s&&(s=1):-1!==t&&(s=-1);else if(!a){n=o+1;break}}return-1===t||-1===r||0===s||1===s&&t===r-1&&t===n+1?"":e.slice(t,r)};var s="b"==="ab".substr(-1)?function(e,t,n){return e.substr(t,n)}:function(e,t,n){return t<0&&(t=e.length+t),e.substr(t,n)}}).call(this,n("0418"))},cc3a:function(e,t,n){"use strict";(function(t){var r=n("8a5d"),a=n("386e"),s=n("a417"),o={"Content-Type":"application/x-www-form-urlencoded"};function i(e,t){!r.isUndefined(e)&&r.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}function c(){var e;return("undefined"!==typeof XMLHttpRequest||"undefined"!==typeof t&&"[object process]"===Object.prototype.toString.call(t))&&(e=n("e50c")),e}function l(e,t,n){if(r.isString(e))try{return(t||JSON.parse)(e),r.trim(e)}catch(a){if("SyntaxError"!==a.name)throw a}return(n||JSON.stringify)(e)}var u={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:c(),transformRequest:[function(e,t){return a(t,"Accept"),a(t,"Content-Type"),r.isFormData(e)||r.isArrayBuffer(e)||r.isBuffer(e)||r.isStream(e)||r.isFile(e)||r.isBlob(e)?e:r.isArrayBufferView(e)?e.buffer:r.isURLSearchParams(e)?(i(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):r.isObject(e)||t&&"application/json"===t["Content-Type"]?(i(t,"application/json"),l(e)):e}],transformResponse:[function(e){var t=this.transitional||u.transitional,n=t&&t.silentJSONParsing,a=t&&t.forcedJSONParsing,o=!n&&"json"===this.responseType;if(o||a&&r.isString(e)&&e.length)try{return JSON.parse(e)}catch(i){if(o){if("SyntaxError"===i.name)throw s(i,this,"E_JSON_PARSE");throw i}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};r.forEach(["delete","get","head"],(function(e){u.headers[e]={}})),r.forEach(["post","put","patch"],(function(e){u.headers[e]=r.merge(o)})),e.exports=u}).call(this,n("0418"))},e50c:function(e,t,n){"use strict";var r=n("8a5d"),a=n("aa01"),s=n("2998"),o=n("3884"),i=n("639e"),c=n("4af6"),l=n("7f31"),u=n("fccd"),d=n("cc3a"),f=n("82ac");e.exports=function(e){return new Promise((function(t,n){var p,h=e.data,v=e.headers,m=e.responseType;function g(){e.cancelToken&&e.cancelToken.unsubscribe(p),e.signal&&e.signal.removeEventListener("abort",p)}r.isFormData(h)&&delete v["Content-Type"];var y=new XMLHttpRequest;if(e.auth){var b=e.auth.username||"",w=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";v.Authorization="Basic "+btoa(b+":"+w)}var x=i(e.baseURL,e.url);function _(){if(y){var r="getAllResponseHeaders"in y?c(y.getAllResponseHeaders()):null,s=m&&"text"!==m&&"json"!==m?y.response:y.responseText,o={data:s,status:y.status,statusText:y.statusText,headers:r,config:e,request:y};a((function(e){t(e),g()}),(function(e){n(e),g()}),o),y=null}}if(y.open(e.method.toUpperCase(),o(x,e.params,e.paramsSerializer),!0),y.timeout=e.timeout,"onloadend"in y?y.onloadend=_:y.onreadystatechange=function(){y&&4===y.readyState&&(0!==y.status||y.responseURL&&0===y.responseURL.indexOf("file:"))&&setTimeout(_)},y.onabort=function(){y&&(n(u("Request aborted",e,"ECONNABORTED",y)),y=null)},y.onerror=function(){n(u("Network Error",e,null,y)),y=null},y.ontimeout=function(){var t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",r=e.transitional||d.transitional;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(u(t,e,r.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",y)),y=null},r.isStandardBrowserEnv()){var k=(e.withCredentials||l(x))&&e.xsrfCookieName?s.read(e.xsrfCookieName):void 0;k&&(v[e.xsrfHeaderName]=k)}"setRequestHeader"in y&&r.forEach(v,(function(e,t){"undefined"===typeof h&&"content-type"===t.toLowerCase()?delete v[t]:y.setRequestHeader(t,e)})),r.isUndefined(e.withCredentials)||(y.withCredentials=!!e.withCredentials),m&&"json"!==m&&(y.responseType=e.responseType),"function"===typeof e.onDownloadProgress&&y.addEventListener("progress",e.onDownloadProgress),"function"===typeof e.onUploadProgress&&y.upload&&y.upload.addEventListener("progress",e.onUploadProgress),(e.cancelToken||e.signal)&&(p=function(e){y&&(n(!e||e&&e.type?new f("canceled"):e),y.abort(),y=null)},e.cancelToken&&e.cancelToken.subscribe(p),e.signal&&(e.signal.aborted?p():e.signal.addEventListener("abort",p))),h||(h=null),y.send(h)}))}},fccd:function(e,t,n){"use strict";var r=n("a417");e.exports=function(e,t,n,a,s){var o=new Error(e);return r(o,t,n,a,s)}}}]);
|
|
2
2
|
//# sourceMappingURL=SolidifyAdministration.js.map
|