@genpact/genome.mfe.solidify-app 1.28.0 → 1.29.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.html +1 -1
- package/dist/js/LearnerRereview.js +1 -1
- package/dist/js/LearnerRereview.js.map +1 -1
- package/dist/js/SolidifyAbout.js +1 -1
- package/dist/js/SolidifyAbout.js.map +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/SolidifyAdministrationAssignRoleToUser.js +1 -1
- package/dist/js/SolidifyAdministrationAssignRoleToUser.js.map +1 -1
- package/dist/js/SolidifyAdministrationCreateOffCyele.js +1 -1
- package/dist/js/SolidifyAdministrationCreateOffCyele.js.map +1 -1
- package/dist/js/SolidifyAdministrationEmailTemplateManagement.js +1 -1
- package/dist/js/SolidifyAdministrationEmailTemplateManagement.js.map +1 -1
- package/dist/js/SolidifyAdministrationLearnerEvents.js +1 -1
- package/dist/js/SolidifyAdministrationLearnerEvents.js.map +1 -1
- package/dist/js/SolidifyAdministrationLearnerGrades.js +1 -1
- package/dist/js/SolidifyAdministrationLearnerGrades.js.map +1 -1
- package/dist/js/SolidifyAdministrationManageProxy.js +1 -1
- package/dist/js/SolidifyAdministrationManageProxy.js.map +1 -1
- package/dist/js/SolidifyAdministrationMasterAdministration.js +1 -1
- package/dist/js/SolidifyAdministrationMasterAdministration.js.map +1 -1
- package/dist/js/SolidifyAdministrationNeedReviewerReport.js +1 -1
- package/dist/js/SolidifyAdministrationNeedReviewerReport.js.map +1 -1
- package/dist/js/SolidifyAdministrationOffcycleDashboard.js +1 -1
- package/dist/js/SolidifyAdministrationOffcycleDashboard.js.map +1 -1
- package/dist/js/SolidifyAdministrationOperationalDetails.js +1 -1
- package/dist/js/SolidifyAdministrationOperationalDetails.js.map +1 -1
- package/dist/js/SolidifyAdministrationPlagiarsimReport.js +1 -1
- package/dist/js/SolidifyAdministrationPlagiarsimReport.js.map +1 -1
- package/dist/js/SolidifyAdministrationProgramAdministration.js +1 -1
- package/dist/js/SolidifyAdministrationProgramAdministration.js.map +1 -1
- package/dist/js/SolidifyAdministrationProgramDetails.js +1 -1
- package/dist/js/SolidifyAdministrationProgramDetails.js.map +1 -1
- package/dist/js/SolidifyAdministrationSystemSetting.js +1 -1
- package/dist/js/SolidifyAdministrationSystemSetting.js.map +1 -1
- package/dist/js/SolidifyAdministrationTaskDetails.js +4 -4
- package/dist/js/SolidifyAdministrationTaskDetails.js.map +1 -1
- package/dist/js/SolidifyAdministrationTaskManagement.js +1 -1
- package/dist/js/SolidifyAdministrationTaskManagement.js.map +1 -1
- package/dist/js/SolidifyAdministrationViewAllProxyRequests.js +1 -1
- package/dist/js/SolidifyAdministrationViewAllProxyRequests.js.map +1 -1
- package/dist/js/SolidifyAdministrationViewEmailQueue.js.map +1 -1
- package/dist/js/SolidifyAdministrationViewProxyRequests.js +1 -1
- package/dist/js/SolidifyAdministrationViewProxyRequests.js.map +1 -1
- package/dist/js/SolidifyAdministrationViewRereviewRequests.js.map +1 -1
- package/dist/js/SolidifyAdministrationharvestReport.js +1 -1
- package/dist/js/SolidifyAdministrationharvestReport.js.map +1 -1
- package/dist/js/SolidifyAdministrationsendEmailToUser.js +1 -1
- package/dist/js/SolidifyAdministrationsendEmailToUser.js.map +1 -1
- package/dist/js/SolidifyLearner.js +3 -3
- package/dist/js/SolidifyLearner.js.map +1 -1
- package/dist/js/SolidifyLearnerDone.js +1 -1
- package/dist/js/SolidifyLearnerDone.js.map +1 -1
- package/dist/js/SolidifyLearnerError.js.map +1 -1
- package/dist/js/SolidifyLearnerGating.js.map +1 -1
- package/dist/js/SolidifyLearnerPeerReview.js +1 -1
- package/dist/js/SolidifyLearnerPeerReview.js.map +1 -1
- package/dist/js/SolidifyLearnerProxyReview.js +1 -1
- package/dist/js/SolidifyLearnerProxyReview.js.map +1 -1
- package/dist/js/SolidifyLearnerSelectTask.js +1 -1
- package/dist/js/SolidifyLearnerSelectTask.js.map +1 -1
- package/dist/js/SolidifyLearnerStatus.js.map +1 -1
- package/dist/js/SolidifyLearnerSubmitTask.js +1 -1
- package/dist/js/SolidifyLearnerSubmitTask.js.map +1 -1
- package/dist/js/SystemUnderMaintenance.js.map +1 -1
- package/dist/js/app.js +39 -39
- package/dist/js/app.js.map +1 -1
- package/dist/js/chunk-7ac43392.js +2 -0
- package/dist/js/chunk-7ac43392.js.map +1 -0
- package/package.json +1 -1
- package/dist/js/chunk-1b4a73ff.js +0 -2
- package/dist/js/chunk-1b4a73ff.js.map +0 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
(window["webpackJsonp__@genpact/genome.mfe.solidify-app"]=window["webpackJsonp__@genpact/genome.mfe.solidify-app"]||[]).push([["SolidifyAdministrationNeedReviewerReport"],{"0323":function(t,e,n){"use strict";t.exports=function(t){return!(!t||!t.__CANCEL__)}},"0418":function(t,e,n){e.nextTick=function(t){var e=Array.prototype.slice.call(arguments);e.shift(),setTimeout((function(){t.apply(null,e)}),0)},e.platform=e.arch=e.execPath=e.title="browser",e.pid=1,e.browser=!0,e.env={},e.argv=[],e.binding=function(t){throw new Error("No such module. (Possibly not yet loaded)")},function(){var t,r="/";e.cwd=function(){return r},e.chdir=function(e){t||(t=n("cad9")),r=t.resolve(e,r)}}(),e.exit=e.kill=e.umask=e.dlopen=e.uptime=e.memoryUsage=e.uvCounters=function(){},e.features={}},"0758":function(t,e,n){var r=n("69ea"),a=r({}.toString),o=r("".slice);t.exports=function(t){return o(a(t),8,-1)}},"112f":function(t,e,n){"use strict";var r=n("7de8").version,a={};["object","boolean","number","function","string","symbol"].forEach((function(t,e){a[t]=function(n){return typeof n===t||"a"+(e<1?"n ":" ")+t}}));var o={};function i(t,e,n){if("object"!==typeof t)throw new TypeError("options must be an object");var r=Object.keys(t),a=r.length;while(a-- >0){var o=r[a],i=e[o];if(i){var s=t[o],c=void 0===s||i(s,o,t);if(!0!==c)throw new TypeError("option "+o+" must be "+c)}else if(!0!==n)throw Error("Unknown option "+o)}}a.transitional=function(t,e,n){function a(t,e){return"[Axios v"+r+"] Transitional option '"+t+"'"+e+(n?". "+n:"")}return function(n,r,i){if(!1===t)throw new Error(a(r," has been removed"+(e?" in "+e:"")));return e&&!o[r]&&(o[r]=!0,console.warn(a(r," has been deprecated since v"+e+" and will be removed in the near future"))),!t||t(n,r,i)}},t.exports={assertOptions:i,validators:a}},"122c":function(t,e,n){"use strict";var r=n("8a5d");t.exports=function(t){return r.isObject(t)&&!0===t.isAxiosError}},1464:function(t,e,n){"use strict";t.exports=function(t,e){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return t.apply(e,n)}}},1501:function(t,e,n){"use strict";t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},1884:function(t,e,n){"use strict";var r=n("e3c0"),a=n("f542"),o=n("3941"),i=n("e140"),s=n("688d"),c=n("6ef2"),u=c((function(){return 4294967297!==[].push.call({length:4294967296},1)})),f=!function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(t){return t instanceof TypeError}}();r({target:"Array",proto:!0,arity:1,forced:u||f},{push:function(t){var e=a(this),n=o(e),r=arguments.length;s(n+r);for(var c=0;c<r;c++)e[n]=arguments[c],n++;return i(e,n),n}})},"19ef":function(t,e,n){var r=n("a8db"),a=n("78e0"),o=n("f766"),i=n("b404"),s=Object;t.exports=i?function(t){return"symbol"==typeof t}:function(t){var e=r("Symbol");return a(e)&&o(e.prototype,s(t))}},"1dba":function(t,e,n){t.exports=n("46c8")},"1f6a":function(t,e){var n=String;t.exports=function(t){try{return n(t)}catch(e){return"Object"}}},"23d9":function(t,e,n){var r=n("831b"),a=n("33a7"),o=r("keys");t.exports=function(t){return o[t]||(o[t]=a(t))}},"26fa":function(t,e,n){"use strict";var r=n("1dba"),a=n.n(r);function o({$http:t}){const e=localStorage.getItem("accessToken");e?t.defaults.headers.common.Authorization="Bearer "+e:delete t.defaults.headers.common.Authorization}var i=({$http:t})=>{o({$http:t}),t.interceptors.request.use(e=>(o({$http:t}),e),t=>Promise.reject(t)),t.interceptors.response.use(t=>t,t=>{if(console.log("inside interceptor"),console.warn(t.message,{...t}),!t||!t.response||!t.response.config)return alert("Oops! Your session expired. Please log in again!"),window.location.reload(),Promise.reject(t);if(t.response&&t.response.config&&"newRelic"===t.response.config.requestName)return Promise.reject(t);try{console.log("error.response.status "+t.response.status),(t.response&&401===t.response.status||t.response&&403===t.response.status)&&(alert("Oops! Your session expired. Please log in again!"),window.location.reload())}catch(e){try{console.warn(e,{...e}),console.warn(JSON.stringify({...e}))}catch(n){console.warn(n)}alert("Generic error")}return Promise.reject(t)})};let s="poc";const{host:c}=window.location;console.log(" solidify "+c),"dev.genome.genpact.com"===c?s="dev":"uat.genome.genpact.com"===c?s="uat":"genome-eda-rel.azurewebsites.net"===c?s="prod":c.includes("localhost")&&(s="local");let u="";u="local"===s?"http://localhost:3000/local/genome-solidify-api-svc":`https://api-router.azurefd.net/${s}/aws/api/genome/solidify`,console.log(" solidify "+u),a.a.defaults.baseURL=u,a.a.defaults.headers.common["x-oauth-config-provider"]="cognito-aps1",i({$http:a.a});e["a"]=a.a},2998:function(t,e,n){"use strict";var r=n("8a5d");t.exports=r.isStandardBrowserEnv()?function(){return{write:function(t,e,n,a,o,i){var s=[];s.push(t+"="+encodeURIComponent(e)),r.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),r.isString(a)&&s.push("path="+a),r.isString(o)&&s.push("domain="+o),!0===i&&s.push("secure"),document.cookie=s.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}()},"2bfc":function(t,e,n){"use strict";n("f95f")},"2ca6":function(t,e,n){var r=n("69ea"),a=n("78e0"),o=n("4dea"),i=r(Function.toString);a(o.inspectSource)||(o.inspectSource=function(t){return i(t)}),t.exports=o.inspectSource},"2cfb":function(t,e){var n="object"==typeof document&&document.all,r="undefined"==typeof n&&void 0!==n;t.exports={all:n,IS_HTMLDDA:r}},"2e33":function(t,e,n){var r=n("fbae"),a=n("7ce0"),o=n("771b"),i=n("792f"),s=n("8c19"),c=n("568f"),u=n("55b9"),f=n("4840"),l=Object.getOwnPropertyDescriptor;e.f=r?l:function(t,e){if(t=s(t),e=c(e),f)try{return l(t,e)}catch(n){}if(u(t,e))return i(!a(o.f,t,e),t[e])}},"2e83":function(t,e,n){var r=n("78e0"),a=n("1f6a"),o=TypeError;t.exports=function(t){if(r(t))return t;throw o(a(t)+" is not a function")}},3212:function(t,e,n){"use strict";n.d(e,"f",(function(){return a})),n.d(e,"g",(function(){return o})),n.d(e,"a",(function(){return i})),n.d(e,"d",(function(){return s})),n.d(e,"j",(function(){return c})),n.d(e,"b",(function(){return u})),n.d(e,"k",(function(){return f})),n.d(e,"c",(function(){return l})),n.d(e,"h",(function(){return d})),n.d(e,"i",(function(){return p})),n.d(e,"e",(function(){return h}));var r=n("26fa");const a=async t=>{let e;return await r["a"].get(t).then(t=>(console.log("Response",t),e=t.data.response.program_name,e)),e},o=async(t,e)=>{let n;return await r["a"].post(t,e).then(t=>(n=t.data.tasks,n)),n},i=async(t,e)=>{let n;return await r["a"].post(t,e).then(t=>(n=t.data.learnerDetails,n)),n},s=async(t,e)=>{let n;return await r["a"].post(t,e).then(t=>(n=t.data.tasks,n)),n},c=async(t,e)=>{let n;return await r["a"].post(t,e).then(t=>(n=t.data,n)),n},u=async t=>{let e;try{return await r["a"].get("/task/"+t).then(t=>(e=t.data.data,e)),e}catch(n){return n}},f=async(t,e)=>{try{const n=await fetch(""+t,{method:"put",body:e}),r=n;return r}catch(n){return console.error(n),n}},l=async(t,e)=>{let n;return await r["a"].post(t,e).then(t=>(n=t.data.tasks,n)),n},d=async(t,e)=>{let n;return await r["a"].post(t,e).then(t=>(n=t.data.tasks,n)),n},p=async t=>{console.log("inside save task data "+JSON.stringify(t));const e=await r["a"].post("/task/create",t);return e},h=async t=>{try{let e;return await r["a"].get("/admin/task/taskExport/"+t).then(async t=>(e=t.data,e)),e}catch(e){return e}}},"33a7":function(t,e,n){var r=n("69ea"),a=0,o=Math.random(),i=r(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+i(++a+o,36)}},"386e":function(t,e,n){"use strict";var r=n("8a5d");t.exports=function(t,e){r.forEach(t,(function(n,r){r!==e&&r.toUpperCase()===e.toUpperCase()&&(t[e]=n,delete t[r])}))}},3884:function(t,e,n){"use strict";var r=n("8a5d");function a(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}t.exports=function(t,e,n){if(!e)return t;var o;if(n)o=n(e);else if(r.isURLSearchParams(e))o=e.toString();else{var i=[];r.forEach(e,(function(t,e){null!==t&&"undefined"!==typeof t&&(r.isArray(t)?e+="[]":t=[t],r.forEach(t,(function(t){r.isDate(t)?t=t.toISOString():r.isObject(t)&&(t=JSON.stringify(t)),i.push(a(e)+"="+a(t))})))})),o=i.join("&")}if(o){var s=t.indexOf("#");-1!==s&&(t=t.slice(0,s)),t+=(-1===t.indexOf("?")?"?":"&")+o}return t}},3941:function(t,e,n){var r=n("b03e");t.exports=function(t){return r(t.length)}},"39b9":function(t,e,n){var r=n("a8d8");e=r(!1),e.push([t.i,".pageLoader[data-v-11b8a85c]{position:fixed;top:30%;left:42%}.tableScroll[data-v-11b8a85c]{max-height:50vh;overflow-y:auto}",""]),t.exports=e},"3aa0":function(t,e,n){"use strict";n("f735")},4208:function(t,e,n){var r=n("bde1"),a=Object.defineProperty;t.exports=function(t,e){try{a(r,t,{value:e,configurable:!0,writable:!0})}catch(n){r[t]=e}return e}},"46c8":function(t,e,n){"use strict";var r=n("8a5d"),a=n("1464"),o=n("6c7d"),i=n("76b7"),s=n("cc3a");function c(t){var e=new o(t),n=a(o.prototype.request,e);return r.extend(n,o.prototype,e),r.extend(n,e),n.create=function(e){return c(i(t,e))},n}var u=c(s);u.Axios=o,u.Cancel=n("82ac"),u.CancelToken=n("823a"),u.isCancel=n("0323"),u.VERSION=n("7de8").version,u.all=function(t){return Promise.all(t)},u.spread=n("c279"),u.isAxiosError=n("122c"),t.exports=u,t.exports.default=u},4795:function(t,e){var n=Math.ceil,r=Math.floor;t.exports=Math.trunc||function(t){var e=+t;return(e>0?r:n)(e)}},4840:function(t,e,n){var r=n("fbae"),a=n("6ef2"),o=n("f2d7");t.exports=!r&&!a((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},"48d9":function(t,e,n){var r=n("b884"),a=n("6ef2");t.exports=!!Object.getOwnPropertySymbols&&!a((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},"4ac9":function(t,e){t.exports={}},"4af6":function(t,e,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"];t.exports=function(t){var e,n,o,i={};return t?(r.forEach(t.split("\n"),(function(t){if(o=t.indexOf(":"),e=r.trim(t.substr(0,o)).toLowerCase(),n=r.trim(t.substr(o+1)),e){if(i[e]&&a.indexOf(e)>=0)return;i[e]="set-cookie"===e?(i[e]?i[e]:[]).concat([n]):i[e]?i[e]+", "+n:n}})),i):i}},"4d7b":function(t,e,n){var r=n("fbae"),a=n("6ef2");t.exports=r&&a((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},"4dea":function(t,e,n){var r=n("bde1"),a=n("4208"),o="__core-js_shared__",i=r[o]||a(o,{});t.exports=i},5015:function(t,e,n){var r=n("55b9"),a=n("904d"),o=n("2e33"),i=n("f3f0");t.exports=function(t,e,n){for(var s=a(e),c=i.f,u=o.f,f=0;f<s.length;f++){var l=s[f];r(t,l)||n&&r(n,l)||c(t,l,u(e,l))}}},"55b9":function(t,e,n){var r=n("69ea"),a=n("f542"),o=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return o(a(t),e)}},"568f":function(t,e,n){var r=n("7693"),a=n("19ef");t.exports=function(t){var e=r(t,"string");return a(e)?e:e+""}},"59a2":function(t,e,n){var r=n("8c19"),a=n("fa18"),o=n("3941"),i=function(t){return function(e,n,i){var s,c=r(e),u=o(c),f=a(i,u);if(t&&n!=n){while(u>f)if(s=c[f++],s!=s)return!0}else for(;u>f;f++)if((t||f in c)&&c[f]===n)return t||f||0;return!t&&-1}};t.exports={includes:i(!0),indexOf:i(!1)}},"5cd4":function(t,e,n){"use strict";var r=n("8a5d"),a=n("cc3a");t.exports=function(t,e,n){var o=this||a;return r.forEach(n,(function(n){t=n.call(o,t,e)})),t}},"5df9":function(t,e,n){"use strict";var r=n("8a5d");function a(){this.handlers=[]}a.prototype.use=function(t,e,n){return this.handlers.push({fulfilled:t,rejected:e,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1},a.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},a.prototype.forEach=function(t){r.forEach(this.handlers,(function(e){null!==e&&t(e)}))},t.exports=a},6136:function(t,e,n){"use strict";t.exports=function(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}},6222:function(t,e,n){var r=n("7ce0"),a=n("78e0"),o=n("aea8"),i=TypeError;t.exports=function(t,e){var n,s;if("string"===e&&a(n=t.toString)&&!o(s=r(n,t)))return s;if(a(n=t.valueOf)&&!o(s=r(n,t)))return s;if("string"!==e&&a(n=t.toString)&&!o(s=r(n,t)))return s;throw i("Can't convert object to primitive value")}},6235:function(t,e,n){"use strict";n.d(e,"c",(function(){return a})),n.d(e,"d",(function(){return o})),n.d(e,"b",(function(){return i})),n.d(e,"a",(function(){return s}));var r=n("26fa");const a=async(t,e)=>{const n=await r["a"].post(t,e);return n},o=async t=>{let e;return await r["a"].get(t).then(t=>(e=t.data,e)),e},i=async(t,e)=>{let n;return await r["a"].get(`${t}/${e}`).then(t=>(n=t.data.allProxyList,n)),n},s=async(t,e)=>{const n=await r["a"].post(t,e);return n}},"639e":function(t,e,n){"use strict";var r=n("6136"),a=n("1501");t.exports=function(t,e){return t&&!r(e)?a(t,e):e}},"688d":function(t,e){var n=TypeError,r=9007199254740991;t.exports=function(t){if(t>r)throw n("Maximum allowed index exceeded");return t}},"69ea":function(t,e,n){var r=n("b2b0"),a=Function.prototype,o=a.call,i=r&&a.bind.bind(o,o);t.exports=r?i:function(t){return function(){return o.apply(t,arguments)}}},"6a6f":function(t,e,n){var r=n("4795");t.exports=function(t){var e=+t;return e!==e||0===e?0:r(e)}},"6af5":function(t,e,n){var r=n("0758");t.exports=Array.isArray||function(t){return"Array"==r(t)}},"6c7d":function(t,e,n){"use strict";var r=n("8a5d"),a=n("3884"),o=n("5df9"),i=n("93f9"),s=n("76b7"),c=n("112f"),u=c.validators;function f(t){this.defaults=t,this.interceptors={request:new o,response:new o}}f.prototype.request=function(t,e){if("string"===typeof t?(e=e||{},e.url=t):e=t||{},!e.url)throw new Error("Provided config url is not valid");e=s(this.defaults,e),e.method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var n=e.transitional;void 0!==n&&c.assertOptions(n,{silentJSONParsing:u.transitional(u.boolean),forcedJSONParsing:u.transitional(u.boolean),clarifyTimeoutError:u.transitional(u.boolean)},!1);var r=[],a=!0;this.interceptors.request.forEach((function(t){"function"===typeof t.runWhen&&!1===t.runWhen(e)||(a=a&&t.synchronous,r.unshift(t.fulfilled,t.rejected))}));var o,f=[];if(this.interceptors.response.forEach((function(t){f.push(t.fulfilled,t.rejected)})),!a){var l=[i,void 0];Array.prototype.unshift.apply(l,r),l=l.concat(f),o=Promise.resolve(e);while(l.length)o=o.then(l.shift(),l.shift());return o}var d=e;while(r.length){var p=r.shift(),h=r.shift();try{d=p(d)}catch(v){h(v);break}}try{o=i(d)}catch(v){return Promise.reject(v)}while(f.length)o=o.then(f.shift(),f.shift());return o},f.prototype.getUri=function(t){if(!t.url)throw new Error("Provided config url is not valid");return t=s(this.defaults,t),a(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")},r.forEach(["delete","get","head","options"],(function(t){f.prototype[t]=function(e,n){return this.request(s(n||{},{method:t,url:e,data:(n||{}).data}))}})),r.forEach(["post","put","patch"],(function(t){f.prototype[t]=function(e,n,r){return this.request(s(r||{},{method:t,url:e,data:n}))}})),t.exports=f},"6c98":function(t,e){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"6d26":function(t,e,n){var r=n("a8db");t.exports=r("navigator","userAgent")||""},"6d87":function(t,e,n){var r=n("6ef2"),a=n("78e0"),o=/#|\.prototype\./,i=function(t,e){var n=c[s(t)];return n==f||n!=u&&(a(e)?r(e):!!e)},s=i.normalize=function(t){return String(t).replace(o,".").toLowerCase()},c=i.data={},u=i.NATIVE="N",f=i.POLYFILL="P";t.exports=i},"6ef2":function(t,e){t.exports=function(t){try{return!!t()}catch(e){return!0}}},"6efa":function(t,e){t.exports=function(t){return null===t||void 0===t}},"703c":function(t,e,n){var r=n("bde1"),a=n("78e0"),o=r.WeakMap;t.exports=a(o)&&/native code/.test(String(o))},7251:function(t,e,n){var r=n("a00b"),a=n("6c98"),o=a.concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},7693:function(t,e,n){var r=n("7ce0"),a=n("aea8"),o=n("19ef"),i=n("87e6"),s=n("6222"),c=n("7826"),u=TypeError,f=c("toPrimitive");t.exports=function(t,e){if(!a(t)||o(t))return t;var n,c=i(t,f);if(c){if(void 0===e&&(e="default"),n=r(c,t,e),!a(n)||o(n))return n;throw u("Can't convert object to primitive value")}return void 0===e&&(e="number"),s(t,e)}},"76b7":function(t,e,n){"use strict";var r=n("8a5d");t.exports=function(t,e){e=e||{};var n={};function a(t,e){return r.isPlainObject(t)&&r.isPlainObject(e)?r.merge(t,e):r.isPlainObject(e)?r.merge({},e):r.isArray(e)?e.slice():e}function o(n){return r.isUndefined(e[n])?r.isUndefined(t[n])?void 0:a(void 0,t[n]):a(t[n],e[n])}function i(t){if(!r.isUndefined(e[t]))return a(void 0,e[t])}function s(n){return r.isUndefined(e[n])?r.isUndefined(t[n])?void 0:a(void 0,t[n]):a(void 0,e[n])}function c(n){return n in e?a(t[n],e[n]):n in t?a(void 0,t[n]):void 0}var u={url:i,method:i,data:i,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:c};return r.forEach(Object.keys(t).concat(Object.keys(e)),(function(t){var e=u[t]||o,a=e(t);r.isUndefined(a)&&e!==c||(n[t]=a)})),n}},"771b":function(t,e,n){"use strict";var r={}.propertyIsEnumerable,a=Object.getOwnPropertyDescriptor,o=a&&!r.call({1:2},1);e.f=o?function(t){var e=a(this,t);return!!e&&e.enumerable}:r},"780b":function(t,e,n){var r=n("69ea"),a=n("6ef2"),o=n("0758"),i=Object,s=r("".split);t.exports=a((function(){return!i("z").propertyIsEnumerable(0)}))?function(t){return"String"==o(t)?s(t,""):i(t)}:i},7826:function(t,e,n){var r=n("bde1"),a=n("831b"),o=n("55b9"),i=n("33a7"),s=n("48d9"),c=n("b404"),u=a("wks"),f=r.Symbol,l=f&&f["for"],d=c?f:f&&f.withoutSetter||i;t.exports=function(t){if(!o(u,t)||!s&&"string"!=typeof u[t]){var e="Symbol."+t;s&&o(f,t)?u[t]=f[t]:u[t]=c&&l?l(e):d(e)}return u[t]}},"78e0":function(t,e,n){var r=n("2cfb"),a=r.all;t.exports=r.IS_HTMLDDA?function(t){return"function"==typeof t||t===a}:function(t){return"function"==typeof t}},"792f":function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},"799e":function(t,e,n){var r=n("78e0"),a=n("f3f0"),o=n("fbc4"),i=n("4208");t.exports=function(t,e,n,s){s||(s={});var c=s.enumerable,u=void 0!==s.name?s.name:e;if(r(n)&&o(n,u,s),s.global)c?t[e]=n:i(e,n);else{try{s.unsafe?t[e]&&(c=!0):delete t[e]}catch(f){}c?t[e]=n:a.f(t,e,{value:n,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return t}},"7ce0":function(t,e,n){var r=n("b2b0"),a=Function.prototype.call;t.exports=r?a.bind(a):function(){return a.apply(a,arguments)}},"7de8":function(t,e){t.exports={version:"0.25.0"}},"7f31":function(t,e,n){"use strict";var r=n("8a5d");t.exports=r.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function a(t){var r=t;return e&&(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 t=a(window.location.href),function(e){var n=r.isString(e)?a(e):e;return n.protocol===t.protocol&&n.host===t.host}}():function(){return function(){return!0}}()},"823a":function(t,e,n){"use strict";var r=n("82ac");function a(t){if("function"!==typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise((function(t){e=t}));var n=this;this.promise.then((function(t){if(n._listeners){var e,r=n._listeners.length;for(e=0;e<r;e++)n._listeners[e](t);n._listeners=null}})),this.promise.then=function(t){var e,r=new Promise((function(t){n.subscribe(t),e=t})).then(t);return r.cancel=function(){n.unsubscribe(e)},r},t((function(t){n.reason||(n.reason=new r(t),e(n.reason))}))}a.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},a.prototype.subscribe=function(t){this.reason?t(this.reason):this._listeners?this._listeners.push(t):this._listeners=[t]},a.prototype.unsubscribe=function(t){if(this._listeners){var e=this._listeners.indexOf(t);-1!==e&&this._listeners.splice(e,1)}},a.source=function(){var t,e=new a((function(e){t=e}));return{token:e,cancel:t}},t.exports=a},"82aa":function(t,e){t.exports=!1},"82ac":function(t,e,n){"use strict";function r(t){this.message=t}r.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},r.prototype.__CANCEL__=!0,t.exports=r},"831b":function(t,e,n){var r=n("82aa"),a=n("4dea");(t.exports=function(t,e){return a[t]||(a[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.26.1",mode:r?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.26.1/LICENSE",source:"https://github.com/zloirock/core-js"})},8596:function(t,e,n){"use strict";n.d(e,"y",(function(){return a})),n.d(e,"t",(function(){return o})),n.d(e,"u",(function(){return i})),n.d(e,"e",(function(){return s})),n.d(e,"x",(function(){return c})),n.d(e,"z",(function(){return u})),n.d(e,"r",(function(){return f})),n.d(e,"s",(function(){return l})),n.d(e,"f",(function(){return d})),n.d(e,"v",(function(){return p})),n.d(e,"h",(function(){return h})),n.d(e,"j",(function(){return v})),n.d(e,"q",(function(){return b})),n.d(e,"o",(function(){return g})),n.d(e,"p",(function(){return m})),n.d(e,"m",(function(){return y})),n.d(e,"k",(function(){return w})),n.d(e,"l",(function(){return x})),n.d(e,"A",(function(){return k})),n.d(e,"C",(function(){return O})),n.d(e,"w",(function(){return j})),n.d(e,"n",(function(){return _})),n.d(e,"i",(function(){return S})),n.d(e,"g",(function(){return C})),n.d(e,"a",(function(){return E})),n.d(e,"B",(function(){return P})),n.d(e,"b",(function(){return A})),n.d(e,"d",(function(){return T})),n.d(e,"c",(function(){return N}));var r=n("26fa");const a=async t=>{let e;return await r["a"].get(t).then(t=>(e=t.data,e)),e},o=async t=>{let e;return await r["a"].get(t).then(t=>(e=t.data,e)),e},i=async t=>{let e;return await r["a"].get(t).then(t=>(e=t.data,e)),e},s=async t=>{let e;return await r["a"].get(t).then(t=>(e=t.data,e)),e},c=async t=>{let e;return await r["a"].get(t).then(t=>(e=t.data,e)),e},u=async t=>{let e;return await r["a"].get(t).then(t=>(e=t.data,e)),e},f=async t=>{let e;return await r["a"].get(t).then(t=>(e=t.data,e)),e},l=async t=>{let e;return await r["a"].get(t).then(t=>(e=t.data,e)),e},d=async t=>{let e;return await r["a"].get(t).then(t=>(e=t.data,e)),e},p=async t=>{let e;return await r["a"].get(t).then(t=>(e=t.data,e)),e},h=async t=>{let e;return await r["a"].get(t).then(t=>(e=t.data,e)),e},v=async t=>{let e;return await r["a"].get(t).then(t=>(e=t.data,e)),e},b=async t=>{let e;return await r["a"].get(t).then(t=>(e=t.data.userObj,e)),e},g=async t=>{let e;return await r["a"].get(t).then(t=>(e=t.data.userObj,e)),e},m=async t=>{let e;return await r["a"].get(t).then(t=>(e=t.data.userObj,e)),e},y=async t=>{let e;return await r["a"].get(t).then(t=>(e=t.data,e)),e},w=async t=>{let e;return await r["a"].get(t).then(t=>(e=t.data,e)),e},x=async t=>{let e;return await r["a"].get(t).then(t=>(e=t.data,e)),e},k=async t=>{const e=await r["a"].get(t);return e},O=async t=>{const e=await r["a"].get(t);return e},j=async t=>{const e=await r["a"].get(t);return e},_=async t=>{let e;return await r["a"].get(t).then(t=>(e=t.data,e)),e},S=async t=>{let e;return await r["a"].get(t).then(t=>(e=t.data,e)),e},C=async t=>{let e;return await r["a"].get(t).then(t=>(e=t.data.userObj,e)),e},E=async t=>{const e=await r["a"].post("/user/role",t);return e},P=async t=>{const e=await r["a"].post("/user/removeRole",t);return e},A=async()=>{const t=await r["a"].get("role");return t},T=async t=>{const e=await r["a"].post("/user/saveLSS",t);return e},N=async t=>{const e=await r["a"].post("/user/saveEnvAccess",t);return e}},"87e6":function(t,e,n){var r=n("2e83"),a=n("6efa");t.exports=function(t,e){var n=t[e];return a(n)?void 0:r(n)}},"89fb":function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"admin"},[t.showScreen?e("div",{staticClass:"container w-full flex flex-wrap mx-auto px-2 pt-8 lg:pt-16 md:pt-16 mt-10"},[t._m(0),e("div",{staticClass:"w-full mt-4"},[e("div",{staticClass:"flex w-full mt-6"},[t.searchBtn?e("div",{staticClass:"w-full pr-3 mb-4"},[e("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[t._v(" Program ")]),e("input",{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",attrs:{type:"text",disabled:""},domProps:{value:t.programName}})]):t._e(),t.showSkillProf?e("div",{staticClass:"w-full pr-3 mb-4"},[e("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[t._v(" Skill ")]),e("input",{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",attrs:{type:"text",disabled:""},domProps:{value:t.skillName}})]):t._e(),t.showSkillProf?e("div",{staticClass:"w-full pr-3 mb-4"},[e("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[t._v(" Proficiency ")]),e("input",{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",attrs:{type:"text",disabled:""},domProps:{value:t.profName}})]):t._e()]),e("div",{staticClass:"flex w-full"},[e("div",{staticClass:"w-full pr-3 mb-4"},[t.archiveBtn?e("button",{directives:[{name:"show",rawName:"v-show",value:t.taskBtn,expression:"taskBtn"}],staticClass:"mt-2 mr-2 inline-block py-2 px-4 text-white shadow-md bg-background-secondary",on:{click:function(e){return t.createOffCycle()}}},[t._v("Create Off-Cycle")]):t._e()])]),t.newTaskDetails?e("div",{staticClass:"w-full mb-2 h-50 tableScroll"},[e("table",{staticClass:"w-full text-md bg-white shadow rounded mb-1 tableScroll"},[t._m(1),e("tbody",{staticClass:"opacity-80 align-bottom"},t._l(t.newTaskDetails,(function(n){return e("tr",{key:n.task_id,staticClass:"border-b hover:bg-gray-300"},[e("td",{staticClass:"py-2 pl-3 pr-0 text-sm w-6"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.taskCheckOne,expression:"taskCheckOne"}],attrs:{type:"checkbox",id:n.task_id},domProps:{value:n.task_id,checked:Array.isArray(t.taskCheckOne)?t._i(t.taskCheckOne,n.task_id)>-1:t.taskCheckOne},on:{change:[function(e){var r=t.taskCheckOne,a=e.target,o=!!a.checked;if(Array.isArray(r)){var i=n.task_id,s=t._i(r,i);a.checked?s<0&&(t.taskCheckOne=r.concat([i])):s>-1&&(t.taskCheckOne=r.slice(0,s).concat(r.slice(s+1)))}else t.taskCheckOne=o},function(e){return t.showTaskBtn(e,n.task_id,n.is_archive)}],click:t.taskcheckedOne}})]),e("td",{staticClass:"p-2 px-3",attrs:{title:n.task_name}},[t._v(t._s(n.task_name))]),e("td",{staticClass:"p-2 px-3",attrs:{title:n.is_archive}},[t._v(t._s(n.is_archive))]),e("td",{staticClass:"p-2 px-3",attrs:{title:n.task_type}},[t._v(t._s(n.task_type))])])})),0)])]):t._e(),t.searchBtn?e("div",{staticClass:"w-full text-center mb-4"},[e("router-link",{staticClass:"inline-block mt-8 py-2 px-4 border border-blue-900 bg-white-500 text-gray-500 shadow-md",attrs:{to:{name:"SolidifyAdministrationOffcycleDashboard"}}},[t._v("Back")])],1):t._e()]),t.renderReady?t._e():e("div",{staticClass:"flex flex-col h-min-screen justify-center text-center pageLoader"},[e("img",{staticClass:"mb-8 block mx-auto loadercss mt-3%",attrs:{src:n("9d04"),alt:"Loader Gif"}}),e("p",{staticClass:"mx-auto mb-10 leading-normal px-4 loadertextcss ext-genpact-darkest-blue"},[t._v("Loading...")])])]):e("div",{staticClass:"container w-full flex flex-wrap mx-auto px-2 pt-8 lg:pt-16 md:pt-16 mt-10"},[t._v("You don't have access")])])},a=[function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"w-full flex justify-between"},[e("div",{staticClass:"w-full text-center text-3xl text-background-secondary"},[t._v("Create Offcycle(Select Task)")])])},function(){var t=this,e=t._self._c;t._self._setupProxy;return e("thead",{staticClass:"opacity-90"},[e("tr",{staticClass:"border-b"},[e("th",{staticClass:"text-left py-2 pl-3 pr-0 w-6 text-background-secondary"}),e("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[t._v("Task Name")]),e("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[t._v("Is Archive")]),e("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[t._v("Learner Type")])])])}],o=(n("1884"),n("6bcf")),i=n("3212"),s=n("afbc"),c=n("8596"),u=n("6235"),f=Object(o["b"])({name:"OffcycleManagement",props:{query:{type:Object,default:()=>({})}},setup(t){const e=Object(o["f"])(),n=Object(o["f"])(!0),r=Object(o["f"])(),a=Object(o["f"])([]),f=Object(o["f"])(t.query.Program_id),l=Object(o["f"])(),d=Object(o["f"])(),p=Object(o["f"])(),h=Object(o["f"])(!0),v=Object(o["f"])(),b=Object(o["f"])(),g=Object(o["f"])(!1),m=Object(o["f"])(),y=Object(o["f"])(),w=Object(o["f"])(),x=Object(o["f"])(t.query.skill_id);console.log("selectedSkill",x);const k=Object(o["f"])(t.query.proficiency_id),O=Object(o["f"])(!1),j=Object(o["f"])(!1),_=Object(o["f"])(),S=Object(o["f"])(),C=Object(o["f"])(),E=Object(o["f"])(),P={},A=()=>{a.value=[]},T=(t,e,n)=>{const r=t.target.checked;!0===r?(d.value=e,l.value=!0,!0===n?(g.value=!1,m.value=!0):(g.value=!0,m.value=!1)):(l.value=!1,g.value=!1,m.value=!1)},N=async()=>{n.value=!1,Object.assign(P,{program_id:f.value}),Object.assign(P,{skill_id:x.value}),Object.assign(P,{proficiency_id:k.value}),console.log("taskdata",P),r.value=await Object(i["g"])("/getAllTaskByProgram",P),n.value=!0},R=async()=>{n.value=!1,e.value=await Object(i["f"])("/cache?cache=program");const t=e.value.find(t=>t.program_id===f.value);S.value=t.program_display_name?t.program_display_name:t.program_name,n.value=!0},L=async()=>{n.value=!1;const t=await Object(u["d"])("/getAllSkillProf?skill_type=genome");y.value=t.skill,w.value=t.proficiency,_.value=y.value.find(t=>t.skill_id===x.value).skill_alias,C.value=w.value.find(t=>t.prof_id===k.value).prof_name,n.value=!0},B=()=>{const t=e.value.find(t=>t.program_id===f.value);console.log("programDetail "+JSON.stringify(t));const n=r.value.find(t=>t.task_id===d.value);if(console.log("taskDetail "+JSON.stringify(n)),console.log("programId",f.value),console.log("programName",t.program_name),console.log("linkedTaskId",d.value),console.log("taskName",n.task_name),console.log("taskType",n.task_type),localStorage.setItem("programId",f.value),localStorage.setItem("programName",t.program_name),localStorage.setItem("linkedTaskId",d.value),"infinity"===f.value){localStorage.setItem("skillId",x.value);const t=y.value.find(t=>t.skill_id===x.value);console.log("skillDetail "+JSON.stringify(t)),localStorage.setItem("skillName",t.skill_alias);const e=w.value.find(t=>t.prof_id===k.value);console.log("profDetail "+JSON.stringify(e)),localStorage.setItem("proficiencyId",k.value),localStorage.setItem("proficiencyName",e.prof_name),console.log("skill",x.value),console.log("skill Name",t.skill_alias),console.log("proficiency",k.value),console.log("prof Name",e.prof_name)}localStorage.setItem("taskName",n.task_name),localStorage.setItem("taskType",n.task_type),s["a"].push("createOffcycle")};return Object(o["c"])(async()=>{const t=await Object(c["g"])("/getUserRole");p.value=t.user_roles,p.value.length>0&&(p.value.includes("System Admin")||p.value.includes("System Admin View Access")||p.value.includes("Community Manager")||p.value.includes("Program Admin")?h.value=!0:h.value=!1),await R(),await N(),E.value=r.value.filter(t=>!1===t.is_archive),j.value=!0,"infinity"===f.value?(await L(),O.value=!0):O.value=!1}),{renderReady:n,programDetails:e,taskDetails:r,newTaskDetails:E,taskCheckOne:a,taskcheckedOne:A,checkedTaskId:d,showTaskBtn:T,taskBtn:l,showScreen:h,selectedProgram:f,errorMessage:v,successMessage:b,archiveBtn:g,unArchiveBtn:m,getTaskDetails:N,skills:y,proficiency:w,showSkillProf:O,searchBtn:j,createOffCycle:B,selectedSkill:x,selectedProficiency:k,skillName:_,profName:C,programName:S}}}),l=f,d=(n("3aa0"),n("8619")),p=Object(d["a"])(l,r,a,!1,null,"447cbcd5",null);e["default"]=p.exports},"8a5d":function(t,e,n){"use strict";var r=n("1464"),a=Object.prototype.toString;function o(t){return Array.isArray(t)}function i(t){return"undefined"===typeof t}function s(t){return null!==t&&!i(t)&&null!==t.constructor&&!i(t.constructor)&&"function"===typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)}function c(t){return"[object ArrayBuffer]"===a.call(t)}function u(t){return"[object FormData]"===a.call(t)}function f(t){var e;return e="undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&c(t.buffer),e}function l(t){return"string"===typeof t}function d(t){return"number"===typeof t}function p(t){return null!==t&&"object"===typeof t}function h(t){if("[object Object]"!==a.call(t))return!1;var e=Object.getPrototypeOf(t);return null===e||e===Object.prototype}function v(t){return"[object Date]"===a.call(t)}function b(t){return"[object File]"===a.call(t)}function g(t){return"[object Blob]"===a.call(t)}function m(t){return"[object Function]"===a.call(t)}function y(t){return p(t)&&m(t.pipe)}function w(t){return"[object URLSearchParams]"===a.call(t)}function x(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function k(){return("undefined"===typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!==typeof window&&"undefined"!==typeof document)}function O(t,e){if(null!==t&&"undefined"!==typeof t)if("object"!==typeof t&&(t=[t]),o(t))for(var n=0,r=t.length;n<r;n++)e.call(null,t[n],n,t);else for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&e.call(null,t[a],a,t)}function j(){var t={};function e(e,n){h(t[n])&&h(e)?t[n]=j(t[n],e):h(e)?t[n]=j({},e):o(e)?t[n]=e.slice():t[n]=e}for(var n=0,r=arguments.length;n<r;n++)O(arguments[n],e);return t}function _(t,e,n){return O(e,(function(e,a){t[a]=n&&"function"===typeof e?r(e,n):e})),t}function S(t){return 65279===t.charCodeAt(0)&&(t=t.slice(1)),t}t.exports={isArray:o,isArrayBuffer:c,isBuffer:s,isFormData:u,isArrayBufferView:f,isString:l,isNumber:d,isObject:p,isPlainObject:h,isUndefined:i,isDate:v,isFile:b,isBlob:g,isFunction:m,isStream:y,isURLSearchParams:w,isStandardBrowserEnv:k,forEach:O,merge:j,extend:_,trim:x,stripBOM:S}},"8c19":function(t,e,n){var r=n("780b"),a=n("b0da");t.exports=function(t){return r(a(t))}},"904d":function(t,e,n){var r=n("a8db"),a=n("69ea"),o=n("7251"),i=n("b6826"),s=n("b619"),c=a([].concat);t.exports=r("Reflect","ownKeys")||function(t){var e=o.f(s(t)),n=i.f;return n?c(e,n(t)):e}},"93f9":function(t,e,n){"use strict";var r=n("8a5d"),a=n("5cd4"),o=n("0323"),i=n("cc3a"),s=n("82ac");function c(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new s("canceled")}t.exports=function(t){c(t),t.headers=t.headers||{},t.data=a.call(t,t.data,t.headers,t.transformRequest),t.headers=r.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),r.forEach(["delete","get","head","post","put","patch","common"],(function(e){delete t.headers[e]}));var e=t.adapter||i.adapter;return e(t).then((function(e){return c(t),e.data=a.call(t,e.data,e.headers,t.transformResponse),e}),(function(e){return o(e)||(c(t),e&&e.response&&(e.response.data=a.call(t,e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)}))}},"9d04":function(t,e,n){t.exports=n.p+"img/loadernew.gif"},a00b:function(t,e,n){var r=n("69ea"),a=n("55b9"),o=n("8c19"),i=n("59a2").indexOf,s=n("4ac9"),c=r([].push);t.exports=function(t,e){var n,r=o(t),u=0,f=[];for(n in r)!a(s,n)&&a(r,n)&&c(f,n);while(e.length>u)a(r,n=e[u++])&&(~i(f,n)||c(f,n));return f}},a417:function(t,e,n){"use strict";t.exports=function(t,e,n,r,a){return t.config=e,n&&(t.code=n),t.request=r,t.response=a,t.isAxiosError=!0,t.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}},t}},a8db:function(t,e,n){var r=n("bde1"),a=n("78e0"),o=function(t){return a(t)?t:void 0};t.exports=function(t,e){return arguments.length<2?o(r[t]):r[t]&&r[t][e]}},aa01:function(t,e,n){"use strict";var r=n("fccd");t.exports=function(t,e,n){var a=n.config.validateStatus;n.status&&a&&!a(n.status)?e(r("Request failed with status code "+n.status,n.config,null,n.request,n)):t(n)}},aea8:function(t,e,n){var r=n("78e0"),a=n("2cfb"),o=a.all;t.exports=a.IS_HTMLDDA?function(t){return"object"==typeof t?null!==t:r(t)||t===o}:function(t){return"object"==typeof t?null!==t:r(t)}},b03e:function(t,e,n){var r=n("6a6f"),a=Math.min;t.exports=function(t){return t>0?a(r(t),9007199254740991):0}},b0da:function(t,e,n){var r=n("6efa"),a=TypeError;t.exports=function(t){if(r(t))throw a("Can't call method on "+t);return t}},b2b0:function(t,e,n){var r=n("6ef2");t.exports=!r((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},b404:function(t,e,n){var r=n("48d9");t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},b619:function(t,e,n){var r=n("aea8"),a=String,o=TypeError;t.exports=function(t){if(r(t))return t;throw o(a(t)+" is not an object")}},b6826:function(t,e){e.f=Object.getOwnPropertySymbols},b884:function(t,e,n){var r,a,o=n("bde1"),i=n("6d26"),s=o.process,c=o.Deno,u=s&&s.versions||c&&c.version,f=u&&u.v8;f&&(r=f.split("."),a=r[0]>0&&r[0]<4?1:+(r[0]+r[1])),!a&&i&&(r=i.match(/Edge\/(\d+)/),(!r||r[1]>=74)&&(r=i.match(/Chrome\/(\d+)/),r&&(a=+r[1]))),t.exports=a},bde1:function(t,e,n){(function(e){var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof e&&e)||function(){return this}()||Function("return this")()}).call(this,n("d8fc"))},c279:function(t,e,n){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},c3fd:function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"admin"},[t.showScreen?e("div",{staticClass:"container w-full flex flex-wrap mx-auto px-2 pt-8 lg:pt-16 md:pt-16 mt-10"},[t._m(0),e("div",{staticClass:"w-full mt-4"},[e("div",{staticClass:"max-w-6xl m-auto shadow p-4 text-background-secondary"},[e("div",{staticClass:"flex w-full mt-6"},[e("div",{staticClass:"w-full mb-4"},[e("button",{staticClass:"mt-8 inline-block py-2 px-4 text-white shadow-md bg-background-secondary",on:{click:function(e){return t.triggerReviewerReport()}}},[t._v("Trigger Need Reviewer Report")])])]),t.successMessage?e("div",{staticClass:"text-green-700"},[t._v(t._s(t.successMessage))]):t._e()])])]):e("div",{staticClass:"container w-full flex flex-wrap mx-auto px-2 pt-8 lg:pt-16 md:pt-16 mt-10"},[t._v("You don't have access")])])},a=[function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"w-full"},[e("div",{staticClass:"text-center text-3xl text-background-secondary"},[t._v("Need Reviewer Report")])])}],o=n("6bcf"),i=n("8596"),s=n("d292"),c=Object(o["b"])({name:"ReviewerReport",setup(){const t=Object(o["f"])(),e=Object(o["f"])(),n=Object(o["f"])(),r=Object(o["f"])(!0),a=async()=>{await Object(s["d"])("/admin/report/NR"),n.value="The report is being processed. You should get that over email in next 15 minutes",setTimeout(()=>{n.value=null},6e3)};return Object(o["c"])(async()=>{const e=await Object(i["g"])("/getUserRole");t.value=e.user_roles,t.value.length>0&&(console.log("inside length"),t.value.includes("System Admin")||t.value.includes("Proxy Admin")||t.value.includes("Community Manager")?r.value=!0:r.value=!1)}),{showScreen:r,triggerReviewerReport:a,errorMessage:e,successMessage:n}}}),u=c,f=(n("2bfc"),n("8619")),l=Object(f["a"])(u,r,a,!1,null,"11b8a85c",null);e["default"]=l.exports},cad9:function(t,e,n){(function(t){function n(t,e){for(var n=0,r=t.length-1;r>=0;r--){var a=t[r];"."===a?t.splice(r,1):".."===a?(t.splice(r,1),n++):n&&(t.splice(r,1),n--)}if(e)for(;n--;n)t.unshift("..");return t}function r(t){"string"!==typeof t&&(t+="");var e,n=0,r=-1,a=!0;for(e=t.length-1;e>=0;--e)if(47===t.charCodeAt(e)){if(!a){n=e+1;break}}else-1===r&&(a=!1,r=e+1);return-1===r?"":t.slice(n,r)}function a(t,e){if(t.filter)return t.filter(e);for(var n=[],r=0;r<t.length;r++)e(t[r],r,t)&&n.push(t[r]);return n}e.resolve=function(){for(var e="",r=!1,o=arguments.length-1;o>=-1&&!r;o--){var i=o>=0?arguments[o]:t.cwd();if("string"!==typeof i)throw new TypeError("Arguments to path.resolve must be strings");i&&(e=i+"/"+e,r="/"===i.charAt(0))}return e=n(a(e.split("/"),(function(t){return!!t})),!r).join("/"),(r?"/":"")+e||"."},e.normalize=function(t){var r=e.isAbsolute(t),i="/"===o(t,-1);return t=n(a(t.split("/"),(function(t){return!!t})),!r).join("/"),t||r||(t="."),t&&i&&(t+="/"),(r?"/":"")+t},e.isAbsolute=function(t){return"/"===t.charAt(0)},e.join=function(){var t=Array.prototype.slice.call(arguments,0);return e.normalize(a(t,(function(t,e){if("string"!==typeof t)throw new TypeError("Arguments to path.join must be strings");return t})).join("/"))},e.relative=function(t,n){function r(t){for(var e=0;e<t.length;e++)if(""!==t[e])break;for(var n=t.length-1;n>=0;n--)if(""!==t[n])break;return e>n?[]:t.slice(e,n-e+1)}t=e.resolve(t).substr(1),n=e.resolve(n).substr(1);for(var a=r(t.split("/")),o=r(n.split("/")),i=Math.min(a.length,o.length),s=i,c=0;c<i;c++)if(a[c]!==o[c]){s=c;break}var u=[];for(c=s;c<a.length;c++)u.push("..");return u=u.concat(o.slice(s)),u.join("/")},e.sep="/",e.delimiter=":",e.dirname=function(t){if("string"!==typeof t&&(t+=""),0===t.length)return".";for(var e=t.charCodeAt(0),n=47===e,r=-1,a=!0,o=t.length-1;o>=1;--o)if(e=t.charCodeAt(o),47===e){if(!a){r=o;break}}else a=!1;return-1===r?n?"/":".":n&&1===r?"/":t.slice(0,r)},e.basename=function(t,e){var n=r(t);return e&&n.substr(-1*e.length)===e&&(n=n.substr(0,n.length-e.length)),n},e.extname=function(t){"string"!==typeof t&&(t+="");for(var e=-1,n=0,r=-1,a=!0,o=0,i=t.length-1;i>=0;--i){var s=t.charCodeAt(i);if(47!==s)-1===r&&(a=!1,r=i+1),46===s?-1===e?e=i:1!==o&&(o=1):-1!==e&&(o=-1);else if(!a){n=i+1;break}}return-1===e||-1===r||0===o||1===o&&e===r-1&&e===n+1?"":t.slice(e,r)};var o="b"==="ab".substr(-1)?function(t,e,n){return t.substr(e,n)}:function(t,e,n){return e<0&&(e=t.length+e),t.substr(e,n)}}).call(this,n("0418"))},cc3a:function(t,e,n){"use strict";(function(e){var r=n("8a5d"),a=n("386e"),o=n("a417"),i={"Content-Type":"application/x-www-form-urlencoded"};function s(t,e){!r.isUndefined(t)&&r.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}function c(){var t;return("undefined"!==typeof XMLHttpRequest||"undefined"!==typeof e&&"[object process]"===Object.prototype.toString.call(e))&&(t=n("e50c")),t}function u(t,e,n){if(r.isString(t))try{return(e||JSON.parse)(t),r.trim(t)}catch(a){if("SyntaxError"!==a.name)throw a}return(n||JSON.stringify)(t)}var f={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:c(),transformRequest:[function(t,e){return a(e,"Accept"),a(e,"Content-Type"),r.isFormData(t)||r.isArrayBuffer(t)||r.isBuffer(t)||r.isStream(t)||r.isFile(t)||r.isBlob(t)?t:r.isArrayBufferView(t)?t.buffer:r.isURLSearchParams(t)?(s(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):r.isObject(t)||e&&"application/json"===e["Content-Type"]?(s(e,"application/json"),u(t)):t}],transformResponse:[function(t){var e=this.transitional||f.transitional,n=e&&e.silentJSONParsing,a=e&&e.forcedJSONParsing,i=!n&&"json"===this.responseType;if(i||a&&r.isString(t)&&t.length)try{return JSON.parse(t)}catch(s){if(i){if("SyntaxError"===s.name)throw o(s,this,"E_JSON_PARSE");throw s}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};r.forEach(["delete","get","head"],(function(t){f.headers[t]={}})),r.forEach(["post","put","patch"],(function(t){f.headers[t]=r.merge(i)})),t.exports=f}).call(this,n("0418"))},d292:function(t,e,n){"use strict";n.d(e,"e",(function(){return a})),n.d(e,"c",(function(){return o})),n.d(e,"d",(function(){return i})),n.d(e,"b",(function(){return s})),n.d(e,"a",(function(){return c}));var r=n("26fa");const a=async t=>{let e;return await r["a"].get(t).then(t=>(e=t.data,e)),e},o=async(t,e)=>{let n;return await r["a"].post(t,e).then(t=>(n=t.data,n)),n},i=async t=>{let e;return await r["a"].get(t).then(t=>(e=t.data,e)),e},s=async t=>{let e;return await r["a"].get(t).then(t=>(e=t.data,e)),e},c=async t=>{let e;return await r["a"].get(t).then(t=>(e=t.data,e)),e}},e094:function(t,e,n){var r=n("fbae"),a=n("f3f0"),o=n("792f");t.exports=r?function(t,e,n){return a.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},e140:function(t,e,n){"use strict";var r=n("fbae"),a=n("6af5"),o=TypeError,i=Object.getOwnPropertyDescriptor,s=r&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(t){return t instanceof TypeError}}();t.exports=s?function(t,e){if(a(t)&&!i(t,"length").writable)throw o("Cannot set read only .length");return t.length=e}:function(t,e){return t.length=e}},e3c0:function(t,e,n){var r=n("bde1"),a=n("2e33").f,o=n("e094"),i=n("799e"),s=n("4208"),c=n("5015"),u=n("6d87");t.exports=function(t,e){var n,f,l,d,p,h,v=t.target,b=t.global,g=t.stat;if(f=b?r:g?r[v]||s(v,{}):(r[v]||{}).prototype,f)for(l in e){if(p=e[l],t.dontCallGetSet?(h=a(f,l),d=h&&h.value):d=f[l],n=u(b?l:v+(g?".":"#")+l,t.forced),!n&&void 0!==d){if(typeof p==typeof d)continue;c(p,d)}(t.sham||d&&d.sham)&&o(p,"sham",!0),i(f,l,p,t)}}},e50c:function(t,e,n){"use strict";var r=n("8a5d"),a=n("aa01"),o=n("2998"),i=n("3884"),s=n("639e"),c=n("4af6"),u=n("7f31"),f=n("fccd"),l=n("cc3a"),d=n("82ac");t.exports=function(t){return new Promise((function(e,n){var p,h=t.data,v=t.headers,b=t.responseType;function g(){t.cancelToken&&t.cancelToken.unsubscribe(p),t.signal&&t.signal.removeEventListener("abort",p)}r.isFormData(h)&&delete v["Content-Type"];var m=new XMLHttpRequest;if(t.auth){var y=t.auth.username||"",w=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";v.Authorization="Basic "+btoa(y+":"+w)}var x=s(t.baseURL,t.url);function k(){if(m){var r="getAllResponseHeaders"in m?c(m.getAllResponseHeaders()):null,o=b&&"text"!==b&&"json"!==b?m.response:m.responseText,i={data:o,status:m.status,statusText:m.statusText,headers:r,config:t,request:m};a((function(t){e(t),g()}),(function(t){n(t),g()}),i),m=null}}if(m.open(t.method.toUpperCase(),i(x,t.params,t.paramsSerializer),!0),m.timeout=t.timeout,"onloadend"in m?m.onloadend=k:m.onreadystatechange=function(){m&&4===m.readyState&&(0!==m.status||m.responseURL&&0===m.responseURL.indexOf("file:"))&&setTimeout(k)},m.onabort=function(){m&&(n(f("Request aborted",t,"ECONNABORTED",m)),m=null)},m.onerror=function(){n(f("Network Error",t,null,m)),m=null},m.ontimeout=function(){var e=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded",r=t.transitional||l.transitional;t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),n(f(e,t,r.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",m)),m=null},r.isStandardBrowserEnv()){var O=(t.withCredentials||u(x))&&t.xsrfCookieName?o.read(t.xsrfCookieName):void 0;O&&(v[t.xsrfHeaderName]=O)}"setRequestHeader"in m&&r.forEach(v,(function(t,e){"undefined"===typeof h&&"content-type"===e.toLowerCase()?delete v[e]:m.setRequestHeader(e,t)})),r.isUndefined(t.withCredentials)||(m.withCredentials=!!t.withCredentials),b&&"json"!==b&&(m.responseType=t.responseType),"function"===typeof t.onDownloadProgress&&m.addEventListener("progress",t.onDownloadProgress),"function"===typeof t.onUploadProgress&&m.upload&&m.upload.addEventListener("progress",t.onUploadProgress),(t.cancelToken||t.signal)&&(p=function(t){m&&(n(!t||t&&t.type?new d("canceled"):t),m.abort(),m=null)},t.cancelToken&&t.cancelToken.subscribe(p),t.signal&&(t.signal.aborted?p():t.signal.addEventListener("abort",p))),h||(h=null),m.send(h)}))}},f2d7:function(t,e,n){var r=n("bde1"),a=n("aea8"),o=r.document,i=a(o)&&a(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},f37d:function(t,e,n){var r=n("a8d8");e=r(!1),e.push([t.i,".pageLoader[data-v-447cbcd5]{position:fixed;top:30%;left:42%}.tableScroll[data-v-447cbcd5]{max-height:50vh;overflow-y:auto}",""]),t.exports=e},f3f0:function(t,e,n){var r=n("fbae"),a=n("4840"),o=n("4d7b"),i=n("b619"),s=n("568f"),c=TypeError,u=Object.defineProperty,f=Object.getOwnPropertyDescriptor,l="enumerable",d="configurable",p="writable";e.f=r?o?function(t,e,n){if(i(t),e=s(e),i(n),"function"===typeof t&&"prototype"===e&&"value"in n&&p in n&&!n[p]){var r=f(t,e);r&&r[p]&&(t[e]=n.value,n={configurable:d in n?n[d]:r[d],enumerable:l in n?n[l]:r[l],writable:!1})}return u(t,e,n)}:u:function(t,e,n){if(i(t),e=s(e),i(n),a)try{return u(t,e,n)}catch(r){}if("get"in n||"set"in n)throw c("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},f44b:function(t,e,n){var r=n("fbae"),a=n("55b9"),o=Function.prototype,i=r&&Object.getOwnPropertyDescriptor,s=a(o,"name"),c=s&&"something"===function(){}.name,u=s&&(!r||r&&i(o,"name").configurable);t.exports={EXISTS:s,PROPER:c,CONFIGURABLE:u}},f4d7:function(t,e,n){var r,a,o,i=n("703c"),s=n("bde1"),c=n("aea8"),u=n("e094"),f=n("55b9"),l=n("4dea"),d=n("23d9"),p=n("4ac9"),h="Object already initialized",v=s.TypeError,b=s.WeakMap,g=function(t){return o(t)?a(t):r(t,{})},m=function(t){return function(e){var n;if(!c(e)||(n=a(e)).type!==t)throw v("Incompatible receiver, "+t+" required");return n}};if(i||l.state){var y=l.state||(l.state=new b);y.get=y.get,y.has=y.has,y.set=y.set,r=function(t,e){if(y.has(t))throw v(h);return e.facade=t,y.set(t,e),e},a=function(t){return y.get(t)||{}},o=function(t){return y.has(t)}}else{var w=d("state");p[w]=!0,r=function(t,e){if(f(t,w))throw v(h);return e.facade=t,u(t,w,e),e},a=function(t){return f(t,w)?t[w]:{}},o=function(t){return f(t,w)}}t.exports={set:r,get:a,has:o,enforce:g,getterFor:m}},f542:function(t,e,n){var r=n("b0da"),a=Object;t.exports=function(t){return a(r(t))}},f735:function(t,e,n){var r=n("f37d");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var a=n("c69b").default;a("ce3a90e8",r,!0,{sourceMap:!1,shadowMode:!1})},f766:function(t,e,n){var r=n("69ea");t.exports=r({}.isPrototypeOf)},f95f:function(t,e,n){var r=n("39b9");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var a=n("c69b").default;a("fc6f4d76",r,!0,{sourceMap:!1,shadowMode:!1})},fa18:function(t,e,n){var r=n("6a6f"),a=Math.max,o=Math.min;t.exports=function(t,e){var n=r(t);return n<0?a(n+e,0):o(n,e)}},fbae:function(t,e,n){var r=n("6ef2");t.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},fbc4:function(t,e,n){var r=n("6ef2"),a=n("78e0"),o=n("55b9"),i=n("fbae"),s=n("f44b").CONFIGURABLE,c=n("2ca6"),u=n("f4d7"),f=u.enforce,l=u.get,d=Object.defineProperty,p=i&&!r((function(){return 8!==d((function(){}),"length",{value:8}).length})),h=String(String).split("String"),v=t.exports=function(t,e,n){"Symbol("===String(e).slice(0,7)&&(e="["+String(e).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),n&&n.getter&&(e="get "+e),n&&n.setter&&(e="set "+e),(!o(t,"name")||s&&t.name!==e)&&(i?d(t,"name",{value:e,configurable:!0}):t.name=e),p&&n&&o(n,"arity")&&t.length!==n.arity&&d(t,"length",{value:n.arity});try{n&&o(n,"constructor")&&n.constructor?i&&d(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(a){}var r=f(t);return o(r,"source")||(r.source=h.join("string"==typeof e?e:"")),t};Function.prototype.toString=v((function(){return a(this)&&l(this).source||c(this)}),"toString")},fccd:function(t,e,n){"use strict";var r=n("a417");t.exports=function(t,e,n,a,o){var i=new Error(t);return r(i,e,n,a,o)}}}]);
|
|
1
|
+
(window["webpackJsonp__@genpact/genome.mfe.solidify-app"]=window["webpackJsonp__@genpact/genome.mfe.solidify-app"]||[]).push([["SolidifyAdministrationNeedReviewerReport"],{"05ff":function(t,e){var n=Math.ceil,r=Math.floor;t.exports=Math.trunc||function(t){var e=+t;return(e>0?r:n)(e)}},"085a":function(t,e,n){var r=n("214f"),a=Function.prototype.call;t.exports=r?a.bind(a):function(){return a.apply(a,arguments)}},"107e":function(t,e,n){var r=n("644c"),a=n("3426"),o=n("5e2f"),c=n("5151");t.exports=function(t,e,n,i){i||(i={});var s=i.enumerable,u=void 0!==i.name?i.name:e;if(r(n)&&o(n,u,i),i.global)s?t[e]=n:c(e,n);else{try{i.unsafe?t[e]&&(s=!0):delete t[e]}catch(l){}s?t[e]=n:a.f(t,e,{value:n,enumerable:!1,configurable:!i.nonConfigurable,writable:!i.nonWritable})}return t}},1185:function(t,e,n){var r=n("085a"),a=n("644c"),o=n("91f1"),c=TypeError;t.exports=function(t,e){var n,i;if("string"===e&&a(n=t.toString)&&!o(i=r(n,t)))return i;if(a(n=t.valueOf)&&!o(i=r(n,t)))return i;if("string"!==e&&a(n=t.toString)&&!o(i=r(n,t)))return i;throw c("Can't convert object to primitive value")}},"163d":function(t,e,n){var r=n("9908"),a=n("b662"),o=a.concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},"1d28":function(t,e,n){var r=n("2253");t.exports=Array.isArray||function(t){return"Array"==r(t)}},"214f":function(t,e,n){var r=n("ab3a");t.exports=!r((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},2253:function(t,e,n){var r=n("ab64"),a=r({}.toString),o=r("".slice);t.exports=function(t){return o(a(t),8,-1)}},"22e2":function(t,e,n){"use strict";var r={}.propertyIsEnumerable,a=Object.getOwnPropertyDescriptor,o=a&&!r.call({1:2},1);e.f=o?function(t){var e=a(this,t);return!!e&&e.enumerable}:r},"2ae2":function(t,e,n){var r,a,o=n("d168"),c=n("47d5"),i=o.process,s=o.Deno,u=i&&i.versions||s&&s.version,l=u&&u.v8;l&&(r=l.split("."),a=r[0]>0&&r[0]<4?1:+(r[0]+r[1])),!a&&c&&(r=c.match(/Edge\/(\d+)/),(!r||r[1]>=74)&&(r=c.match(/Chrome\/(\d+)/),r&&(a=+r[1]))),t.exports=a},"2bfc":function(t,e,n){"use strict";n("f95f")},"316b":function(t,e,n){var r=n("d168"),a=n("644c"),o=r.WeakMap;t.exports=a(o)&&/native code/.test(String(o))},3212:function(t,e,n){"use strict";n.d(e,"f",(function(){return a})),n.d(e,"g",(function(){return o})),n.d(e,"a",(function(){return c})),n.d(e,"d",(function(){return i})),n.d(e,"j",(function(){return s})),n.d(e,"b",(function(){return u})),n.d(e,"k",(function(){return l})),n.d(e,"c",(function(){return f})),n.d(e,"h",(function(){return d})),n.d(e,"i",(function(){return p})),n.d(e,"e",(function(){return b}));var r=n("26fa");const a=async t=>{let e;return await r["b"].get(t).then(t=>(console.log("Response",t),e=t.data.response.program_name,e)),e},o=async(t,e)=>{let n;return await r["b"].post(t,e).then(t=>(n=t.data.tasks,n)),n},c=async(t,e)=>{let n;return await r["b"].post(t,e).then(t=>(n=t.data.learnerDetails,n)),n},i=async(t,e)=>{let n;return await r["b"].post(t,e).then(t=>(n=t.data.tasks,n)),n},s=async(t,e)=>{let n;return await r["b"].post(t,e).then(t=>(n=t.data,n)),n},u=async t=>{let e;try{return await r["b"].get("/task/"+t).then(t=>(e=t.data.data,e)),e}catch(n){return n}},l=async(t,e)=>{try{const n=await fetch(""+t,{method:"put",body:e}),r=n;return r}catch(n){return console.error(n),n}},f=async(t,e)=>{let n;return await r["b"].post(t,e).then(t=>(n=t.data.tasks,n)),n},d=async(t,e)=>{let n;return await r["b"].post(t,e).then(t=>(n=t.data.tasks,n)),n},p=async t=>{console.log("inside save task data "+JSON.stringify(t));const e=await r["b"].post("/task/create",t);return e},b=async t=>{try{let e;return await r["b"].get("/admin/task/taskExport/"+t).then(async t=>(e=t.data,e)),e}catch(e){return e}}},3426:function(t,e,n){var r=n("a15f"),a=n("cca5"),o=n("b58f"),c=n("b172"),i=n("61ca"),s=TypeError,u=Object.defineProperty,l=Object.getOwnPropertyDescriptor,f="enumerable",d="configurable",p="writable";e.f=r?o?function(t,e,n){if(c(t),e=i(e),c(n),"function"===typeof t&&"prototype"===e&&"value"in n&&p in n&&!n[p]){var r=l(t,e);r&&r[p]&&(t[e]=n.value,n={configurable:d in n?n[d]:r[d],enumerable:f in n?n[f]:r[f],writable:!1})}return u(t,e,n)}:u:function(t,e,n){if(c(t),e=i(e),c(n),a)try{return u(t,e,n)}catch(r){}if("get"in n||"set"in n)throw s("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},"39b9":function(t,e,n){var r=n("a8d8");e=r(!1),e.push([t.i,".pageLoader[data-v-11b8a85c]{position:fixed;top:30%;left:42%}.tableScroll[data-v-11b8a85c]{max-height:50vh;overflow-y:auto}",""]),t.exports=e},"3a3a":function(t,e,n){var r=n("05ff");t.exports=function(t){var e=+t;return e!==e||0===e?0:r(e)}},"3aa0":function(t,e,n){"use strict";n("f735")},"3dd5":function(t,e,n){var r=n("085a"),a=n("91f1"),o=n("dfad"),c=n("fee9"),i=n("1185"),s=n("9168"),u=TypeError,l=s("toPrimitive");t.exports=function(t,e){if(!a(t)||o(t))return t;var n,s=c(t,l);if(s){if(void 0===e&&(e="default"),n=r(s,t,e),!a(n)||o(n))return n;throw u("Can't convert object to primitive value")}return void 0===e&&(e="number"),i(t,e)}},4104:function(t,e,n){var r=n("a15f"),a=n("abf7"),o=Function.prototype,c=r&&Object.getOwnPropertyDescriptor,i=a(o,"name"),s=i&&"something"===function(){}.name,u=i&&(!r||r&&c(o,"name").configurable);t.exports={EXISTS:i,PROPER:s,CONFIGURABLE:u}},"47d5":function(t,e,n){var r=n("a8db");t.exports=r("navigator","userAgent")||""},"4e6a":function(t,e,n){var r=n("5a25"),a=n("a83c");(t.exports=function(t,e){return a[t]||(a[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.27.1",mode:r?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.27.1/LICENSE",source:"https://github.com/zloirock/core-js"})},5151:function(t,e,n){var r=n("d168"),a=Object.defineProperty;t.exports=function(t,e){try{a(r,t,{value:e,configurable:!0,writable:!0})}catch(n){r[t]=e}return e}},5900:function(t,e){t.exports=function(t){return null===t||void 0===t}},"5a25":function(t,e){t.exports=!1},"5c2c":function(t,e,n){var r=n("a15f"),a=n("085a"),o=n("22e2"),c=n("e6a8"),i=n("8041"),s=n("61ca"),u=n("abf7"),l=n("cca5"),f=Object.getOwnPropertyDescriptor;e.f=r?f:function(t,e){if(t=i(t),e=s(e),l)try{return f(t,e)}catch(n){}if(u(t,e))return c(!a(o.f,t,e),t[e])}},"5e2f":function(t,e,n){var r=n("ab3a"),a=n("644c"),o=n("abf7"),c=n("a15f"),i=n("4104").CONFIGURABLE,s=n("7cbd"),u=n("7cfe"),l=u.enforce,f=u.get,d=Object.defineProperty,p=c&&!r((function(){return 8!==d((function(){}),"length",{value:8}).length})),b=String(String).split("String"),v=t.exports=function(t,e,n){"Symbol("===String(e).slice(0,7)&&(e="["+String(e).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),n&&n.getter&&(e="get "+e),n&&n.setter&&(e="set "+e),(!o(t,"name")||i&&t.name!==e)&&(c?d(t,"name",{value:e,configurable:!0}):t.name=e),p&&n&&o(n,"arity")&&t.length!==n.arity&&d(t,"length",{value:n.arity});try{n&&o(n,"constructor")&&n.constructor?c&&d(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(a){}var r=l(t);return o(r,"source")||(r.source=b.join("string"==typeof e?e:"")),t};Function.prototype.toString=v((function(){return a(this)&&f(this).source||s(this)}),"toString")},"61ca":function(t,e,n){var r=n("3dd5"),a=n("dfad");t.exports=function(t){var e=r(t,"string");return a(e)?e:e+""}},6235:function(t,e,n){"use strict";n.d(e,"c",(function(){return a})),n.d(e,"d",(function(){return o})),n.d(e,"b",(function(){return c})),n.d(e,"a",(function(){return i}));var r=n("26fa");const a=async(t,e)=>{const n=await r["b"].post(t,e);return n},o=async t=>{let e;return await r["b"].get(t).then(t=>(e=t.data,e)),e},c=async(t,e)=>{let n;return await r["b"].get(`${t}/${e}`).then(t=>(n=t.data.allProxyList,n)),n},i=async(t,e)=>{const n=await r["b"].post(t,e);return n}},6369:function(t,e,n){var r=n("af95"),a=Object;t.exports=function(t){return a(r(t))}},"644c":function(t,e,n){var r=n("ee76"),a=r.all;t.exports=r.IS_HTMLDDA?function(t){return"function"==typeof t||t===a}:function(t){return"function"==typeof t}},"670d":function(t,e){var n=TypeError,r=9007199254740991;t.exports=function(t){if(t>r)throw n("Maximum allowed index exceeded");return t}},6839:function(t,e,n){var r=n("ab3a"),a=n("644c"),o=/#|\.prototype\./,c=function(t,e){var n=s[i(t)];return n==l||n!=u&&(a(e)?r(e):!!e)},i=c.normalize=function(t){return String(t).replace(o,".").toLowerCase()},s=c.data={},u=c.NATIVE="N",l=c.POLYFILL="P";t.exports=c},"6a00":function(t,e,n){var r=n("d168"),a=n("5c2c").f,o=n("8e8e"),c=n("107e"),i=n("5151"),s=n("8d70"),u=n("6839");t.exports=function(t,e){var n,l,f,d,p,b,v=t.target,y=t.global,g=t.stat;if(l=y?r:g?r[v]||i(v,{}):(r[v]||{}).prototype,l)for(f in e){if(p=e[f],t.dontCallGetSet?(b=a(l,f),d=b&&b.value):d=l[f],n=u(y?f:v+(g?".":"#")+f,t.forced),!n&&void 0!==d){if(typeof p==typeof d)continue;s(p,d)}(t.sham||d&&d.sham)&&o(p,"sham",!0),c(l,f,p,t)}}},7188:function(t,e,n){var r=n("ab64"),a=n("ab3a"),o=n("2253"),c=Object,i=r("".split);t.exports=a((function(){return!c("z").propertyIsEnumerable(0)}))?function(t){return"String"==o(t)?i(t,""):c(t)}:c},"7cbd":function(t,e,n){var r=n("ab64"),a=n("644c"),o=n("a83c"),c=r(Function.toString);a(o.inspectSource)||(o.inspectSource=function(t){return c(t)}),t.exports=o.inspectSource},"7cc3":function(t,e,n){"use strict";var r=n("a15f"),a=n("1d28"),o=TypeError,c=Object.getOwnPropertyDescriptor,i=r&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(t){return t instanceof TypeError}}();t.exports=i?function(t,e){if(a(t)&&!c(t,"length").writable)throw o("Cannot set read only .length");return t.length=e}:function(t,e){return t.length=e}},"7cfe":function(t,e,n){var r,a,o,c=n("316b"),i=n("d168"),s=n("91f1"),u=n("8e8e"),l=n("abf7"),f=n("a83c"),d=n("dbfe"),p=n("ea1a"),b="Object already initialized",v=i.TypeError,y=i.WeakMap,g=function(t){return o(t)?a(t):r(t,{})},h=function(t){return function(e){var n;if(!s(e)||(n=a(e)).type!==t)throw v("Incompatible receiver, "+t+" required");return n}};if(c||f.state){var m=f.state||(f.state=new y);m.get=m.get,m.has=m.has,m.set=m.set,r=function(t,e){if(m.has(t))throw v(b);return e.facade=t,m.set(t,e),e},a=function(t){return m.get(t)||{}},o=function(t){return m.has(t)}}else{var w=d("state");p[w]=!0,r=function(t,e){if(l(t,w))throw v(b);return e.facade=t,u(t,w,e),e},a=function(t){return l(t,w)?t[w]:{}},o=function(t){return l(t,w)}}t.exports={set:r,get:a,has:o,enforce:g,getterFor:h}},"803b":function(t,e,n){var r=n("ab64"),a=0,o=Math.random(),c=r(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+c(++a+o,36)}},8041:function(t,e,n){var r=n("7188"),a=n("af95");t.exports=function(t){return r(a(t))}},8391:function(t,e,n){var r=n("f189");t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},8596:function(t,e,n){"use strict";n.d(e,"y",(function(){return a})),n.d(e,"t",(function(){return o})),n.d(e,"u",(function(){return c})),n.d(e,"e",(function(){return i})),n.d(e,"x",(function(){return s})),n.d(e,"z",(function(){return u})),n.d(e,"r",(function(){return l})),n.d(e,"s",(function(){return f})),n.d(e,"f",(function(){return d})),n.d(e,"v",(function(){return p})),n.d(e,"h",(function(){return b})),n.d(e,"j",(function(){return v})),n.d(e,"q",(function(){return y})),n.d(e,"o",(function(){return g})),n.d(e,"p",(function(){return h})),n.d(e,"m",(function(){return m})),n.d(e,"k",(function(){return w})),n.d(e,"l",(function(){return x})),n.d(e,"A",(function(){return k})),n.d(e,"C",(function(){return _})),n.d(e,"w",(function(){return O})),n.d(e,"n",(function(){return j})),n.d(e,"i",(function(){return S})),n.d(e,"g",(function(){return C})),n.d(e,"a",(function(){return P})),n.d(e,"B",(function(){return T})),n.d(e,"b",(function(){return N})),n.d(e,"d",(function(){return A})),n.d(e,"c",(function(){return I}));var r=n("26fa");const a=async t=>{let e;return await r["b"].get(t).then(t=>(e=t.data,e)),e},o=async t=>{let e;return await r["b"].get(t).then(t=>(e=t.data,e)),e},c=async t=>{let e;return await r["b"].get(t).then(t=>(e=t.data,e)),e},i=async t=>{let e;return await r["b"].get(t).then(t=>(e=t.data,e)),e},s=async t=>{let e;return await r["b"].get(t).then(t=>(e=t.data,e)),e},u=async t=>{let e;return await r["b"].get(t).then(t=>(e=t.data,e)),e},l=async t=>{let e;return await r["b"].get(t).then(t=>(e=t.data,e)),e},f=async t=>{let e;return await r["b"].get(t).then(t=>(e=t.data,e)),e},d=async t=>{let e;return await r["b"].get(t).then(t=>(e=t.data,e)),e},p=async t=>{let e;return await r["b"].get(t).then(t=>(e=t.data,e)),e},b=async t=>{let e;return await r["b"].get(t).then(t=>(e=t.data,e)),e},v=async t=>{let e;return await r["b"].get(t).then(t=>(e=t.data,e)),e},y=async t=>{let e;return await r["b"].get(t).then(t=>(e=t.data.userObj,e)),e},g=async t=>{let e;return await r["b"].get(t).then(t=>(e=t.data.userObj,e)),e},h=async t=>{let e;return await r["b"].get(t).then(t=>(e=t.data.userObj,e)),e},m=async t=>{let e;return await r["b"].get(t).then(t=>(e=t.data,e)),e},w=async t=>{let e;return await r["b"].get(t).then(t=>(e=t.data,e)),e},x=async t=>{let e;return await r["b"].get(t).then(t=>(e=t.data,e)),e},k=async t=>{const e=await r["b"].get(t);return e},_=async t=>{const e=await r["b"].get(t);return e},O=async t=>{const e=await r["b"].get(t);return e},j=async t=>{let e;return await r["b"].get(t).then(t=>(e=t.data,e)),e},S=async t=>{let e;return await r["b"].get(t).then(t=>(e=t.data,e)),e},C=async t=>{let e;return await r["b"].get(t).then(t=>(e=t.data.userObj,e)),e},P=async t=>{const e=await r["b"].post("/user/role",t);return e},T=async t=>{const e=await r["b"].post("/user/removeRole",t);return e},N=async()=>{const t=await r["b"].get("role");return t},A=async t=>{const e=await r["b"].post("/user/saveLSS",t);return e},I=async t=>{const e=await r["b"].post("/user/saveEnvAccess",t);return e}},"88db":function(t,e,n){var r=n("d168"),a=n("91f1"),o=r.document,c=a(o)&&a(o.createElement);t.exports=function(t){return c?o.createElement(t):{}}},"89fb":function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"admin"},[t.showScreen?e("div",{staticClass:"container w-full flex flex-wrap mx-auto px-2 pt-8 lg:pt-16 md:pt-16 mt-10"},[t._m(0),e("div",{staticClass:"w-full mt-4"},[e("div",{staticClass:"flex w-full mt-6"},[t.searchBtn?e("div",{staticClass:"w-full pr-3 mb-4"},[e("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[t._v(" Program ")]),e("input",{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",attrs:{type:"text",disabled:""},domProps:{value:t.programName}})]):t._e(),t.showSkillProf?e("div",{staticClass:"w-full pr-3 mb-4"},[e("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[t._v(" Skill ")]),e("input",{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",attrs:{type:"text",disabled:""},domProps:{value:t.skillName}})]):t._e(),t.showSkillProf?e("div",{staticClass:"w-full pr-3 mb-4"},[e("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[t._v(" Proficiency ")]),e("input",{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",attrs:{type:"text",disabled:""},domProps:{value:t.profName}})]):t._e()]),e("div",{staticClass:"flex w-full"},[e("div",{staticClass:"w-full pr-3 mb-4"},[t.archiveBtn?e("button",{directives:[{name:"show",rawName:"v-show",value:t.taskBtn,expression:"taskBtn"}],staticClass:"mt-2 mr-2 inline-block py-2 px-4 text-white shadow-md bg-background-secondary",on:{click:function(e){return t.createOffCycle()}}},[t._v("Create Off-Cycle")]):t._e()])]),t.newTaskDetails?e("div",{staticClass:"w-full mb-2 h-50 tableScroll"},[e("table",{staticClass:"w-full text-md bg-white shadow rounded mb-1 tableScroll"},[t._m(1),e("tbody",{staticClass:"opacity-80 align-bottom"},t._l(t.newTaskDetails,(function(n){return e("tr",{key:n.task_id,staticClass:"border-b hover:bg-gray-300"},[e("td",{staticClass:"py-2 pl-3 pr-0 text-sm w-6"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.taskCheckOne,expression:"taskCheckOne"}],attrs:{type:"checkbox",id:n.task_id},domProps:{value:n.task_id,checked:Array.isArray(t.taskCheckOne)?t._i(t.taskCheckOne,n.task_id)>-1:t.taskCheckOne},on:{change:[function(e){var r=t.taskCheckOne,a=e.target,o=!!a.checked;if(Array.isArray(r)){var c=n.task_id,i=t._i(r,c);a.checked?i<0&&(t.taskCheckOne=r.concat([c])):i>-1&&(t.taskCheckOne=r.slice(0,i).concat(r.slice(i+1)))}else t.taskCheckOne=o},function(e){return t.showTaskBtn(e,n.task_id,n.is_archive)}],click:t.taskcheckedOne}})]),e("td",{staticClass:"p-2 px-3",attrs:{title:n.task_name}},[t._v(t._s(n.task_name))]),e("td",{staticClass:"p-2 px-3",attrs:{title:n.is_archive}},[t._v(t._s(n.is_archive))]),e("td",{staticClass:"p-2 px-3",attrs:{title:n.task_type}},[t._v(t._s(n.task_type))])])})),0)])]):t._e(),t.searchBtn?e("div",{staticClass:"w-full text-center mb-4"},[e("router-link",{staticClass:"inline-block mt-8 py-2 px-4 border border-blue-900 bg-white-500 text-gray-500 shadow-md",attrs:{to:{name:"SolidifyAdministrationOffcycleDashboard"}}},[t._v("Back")])],1):t._e()]),t.renderReady?t._e():e("div",{staticClass:"flex flex-col h-min-screen justify-center text-center pageLoader"},[e("img",{staticClass:"mb-8 block mx-auto loadercss mt-3%",attrs:{src:n("9d04"),alt:"Loader Gif"}}),e("p",{staticClass:"mx-auto mb-10 leading-normal px-4 loadertextcss ext-genpact-darkest-blue"},[t._v("Loading...")])])]):e("div",{staticClass:"container w-full flex flex-wrap mx-auto px-2 pt-8 lg:pt-16 md:pt-16 mt-10"},[t._v("You don't have access")])])},a=[function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"w-full flex justify-between"},[e("div",{staticClass:"w-full text-center text-3xl text-background-secondary"},[t._v("Create Offcycle(Select Task)")])])},function(){var t=this,e=t._self._c;t._self._setupProxy;return e("thead",{staticClass:"opacity-90"},[e("tr",{staticClass:"border-b"},[e("th",{staticClass:"text-left py-2 pl-3 pr-0 w-6 text-background-secondary"}),e("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[t._v("Task Name")]),e("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[t._v("Is Archive")]),e("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[t._v("Learner Type")])])])}],o=(n("ec53"),n("6bcf")),c=n("3212"),i=n("afbc"),s=n("8596"),u=n("6235"),l=Object(o["b"])({name:"OffcycleManagement",props:{query:{type:Object,default:()=>({})}},setup(t){const e=Object(o["f"])(),n=Object(o["f"])(!0),r=Object(o["f"])(),a=Object(o["f"])([]),l=Object(o["f"])(t.query.Program_id),f=Object(o["f"])(),d=Object(o["f"])(),p=Object(o["f"])(),b=Object(o["f"])(!0),v=Object(o["f"])(),y=Object(o["f"])(),g=Object(o["f"])(!1),h=Object(o["f"])(),m=Object(o["f"])(),w=Object(o["f"])(),x=Object(o["f"])(t.query.skill_id);console.log("selectedSkill",x);const k=Object(o["f"])(t.query.proficiency_id),_=Object(o["f"])(!1),O=Object(o["f"])(!1),j=Object(o["f"])(),S=Object(o["f"])(),C=Object(o["f"])(),P=Object(o["f"])(),T={},N=()=>{a.value=[]},A=(t,e,n)=>{const r=t.target.checked;!0===r?(d.value=e,f.value=!0,!0===n?(g.value=!1,h.value=!0):(g.value=!0,h.value=!1)):(f.value=!1,g.value=!1,h.value=!1)},I=async()=>{n.value=!1,Object.assign(T,{program_id:l.value}),Object.assign(T,{skill_id:x.value}),Object.assign(T,{proficiency_id:k.value}),console.log("taskdata",T),r.value=await Object(c["g"])("/getAllTaskByProgram",T),n.value=!0},M=async()=>{n.value=!1,e.value=await Object(c["f"])("/cache?cache=program");const t=e.value.find(t=>t.program_id===l.value);S.value=t.program_display_name?t.program_display_name:t.program_name,n.value=!0},E=async()=>{n.value=!1;const t=await Object(u["d"])("/getAllSkillProf?skill_type=genome");m.value=t.skill,w.value=t.proficiency,j.value=m.value.find(t=>t.skill_id===x.value).skill_alias,C.value=w.value.find(t=>t.prof_id===k.value).prof_name,n.value=!0},D=()=>{const t=e.value.find(t=>t.program_id===l.value);console.log("programDetail "+JSON.stringify(t));const n=r.value.find(t=>t.task_id===d.value);if(console.log("taskDetail "+JSON.stringify(n)),console.log("programId",l.value),console.log("programName",t.program_name),console.log("linkedTaskId",d.value),console.log("taskName",n.task_name),console.log("taskType",n.task_type),localStorage.setItem("programId",l.value),localStorage.setItem("programName",t.program_name),localStorage.setItem("linkedTaskId",d.value),"infinity"===l.value){localStorage.setItem("skillId",x.value);const t=m.value.find(t=>t.skill_id===x.value);console.log("skillDetail "+JSON.stringify(t)),localStorage.setItem("skillName",t.skill_alias);const e=w.value.find(t=>t.prof_id===k.value);console.log("profDetail "+JSON.stringify(e)),localStorage.setItem("proficiencyId",k.value),localStorage.setItem("proficiencyName",e.prof_name),console.log("skill",x.value),console.log("skill Name",t.skill_alias),console.log("proficiency",k.value),console.log("prof Name",e.prof_name)}localStorage.setItem("taskName",n.task_name),localStorage.setItem("taskType",n.task_type),i["a"].push("createOffcycle")};return Object(o["c"])(async()=>{const t=await Object(s["g"])("/getUserRole");p.value=t.user_roles,p.value.length>0&&(p.value.includes("System Admin")||p.value.includes("System Admin View Access")||p.value.includes("Community Manager")||p.value.includes("Program Admin")?b.value=!0:b.value=!1),await M(),await I(),P.value=r.value.filter(t=>!1===t.is_archive),O.value=!0,"infinity"===l.value?(await E(),_.value=!0):_.value=!1}),{renderReady:n,programDetails:e,taskDetails:r,newTaskDetails:P,taskCheckOne:a,taskcheckedOne:N,checkedTaskId:d,showTaskBtn:A,taskBtn:f,showScreen:b,selectedProgram:l,errorMessage:v,successMessage:y,archiveBtn:g,unArchiveBtn:h,getTaskDetails:I,skills:m,proficiency:w,showSkillProf:_,searchBtn:O,createOffCycle:D,selectedSkill:x,selectedProficiency:k,skillName:j,profName:C,programName:S}}}),f=l,d=(n("3aa0"),n("8619")),p=Object(d["a"])(f,r,a,!1,null,"447cbcd5",null);e["default"]=p.exports},"8d70":function(t,e,n){var r=n("abf7"),a=n("a40d"),o=n("5c2c"),c=n("3426");t.exports=function(t,e,n){for(var i=a(e),s=c.f,u=o.f,l=0;l<i.length;l++){var f=i[l];r(t,f)||n&&r(n,f)||s(t,f,u(e,f))}}},"8e8e":function(t,e,n){var r=n("a15f"),a=n("3426"),o=n("e6a8");t.exports=r?function(t,e,n){return a.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},9168:function(t,e,n){var r=n("d168"),a=n("4e6a"),o=n("abf7"),c=n("803b"),i=n("f189"),s=n("8391"),u=a("wks"),l=r.Symbol,f=l&&l["for"],d=s?l:l&&l.withoutSetter||c;t.exports=function(t){if(!o(u,t)||!i&&"string"!=typeof u[t]){var e="Symbol."+t;i&&o(l,t)?u[t]=l[t]:u[t]=s&&f?f(e):d(e)}return u[t]}},"91f1":function(t,e,n){var r=n("644c"),a=n("ee76"),o=a.all;t.exports=a.IS_HTMLDDA?function(t){return"object"==typeof t?null!==t:r(t)||t===o}:function(t){return"object"==typeof t?null!==t:r(t)}},"981b":function(t,e){e.f=Object.getOwnPropertySymbols},9908:function(t,e,n){var r=n("ab64"),a=n("abf7"),o=n("8041"),c=n("fbfb").indexOf,i=n("ea1a"),s=r([].push);t.exports=function(t,e){var n,r=o(t),u=0,l=[];for(n in r)!a(i,n)&&a(r,n)&&s(l,n);while(e.length>u)a(r,n=e[u++])&&(~c(l,n)||s(l,n));return l}},"9d04":function(t,e,n){t.exports=n.p+"img/loadernew.gif"},a15f:function(t,e,n){var r=n("ab3a");t.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},a40d:function(t,e,n){var r=n("a8db"),a=n("ab64"),o=n("163d"),c=n("981b"),i=n("b172"),s=a([].concat);t.exports=r("Reflect","ownKeys")||function(t){var e=o.f(i(t)),n=c.f;return n?s(e,n(t)):e}},a83c:function(t,e,n){var r=n("d168"),a=n("5151"),o="__core-js_shared__",c=r[o]||a(o,{});t.exports=c},a8db:function(t,e,n){var r=n("d168"),a=n("644c"),o=function(t){return a(t)?t:void 0};t.exports=function(t,e){return arguments.length<2?o(r[t]):r[t]&&r[t][e]}},ab3a:function(t,e){t.exports=function(t){try{return!!t()}catch(e){return!0}}},ab64:function(t,e,n){var r=n("214f"),a=Function.prototype,o=a.call,c=r&&a.bind.bind(o,o);t.exports=r?c:function(t){return function(){return o.apply(t,arguments)}}},abf7:function(t,e,n){var r=n("ab64"),a=n("6369"),o=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return o(a(t),e)}},af95:function(t,e,n){var r=n("5900"),a=TypeError;t.exports=function(t){if(r(t))throw a("Can't call method on "+t);return t}},b172:function(t,e,n){var r=n("91f1"),a=String,o=TypeError;t.exports=function(t){if(r(t))return t;throw o(a(t)+" is not an object")}},b58f:function(t,e,n){var r=n("a15f"),a=n("ab3a");t.exports=r&&a((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},b662:function(t,e){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},bb5c:function(t,e){var n=String;t.exports=function(t){try{return n(t)}catch(e){return"Object"}}},c3fd:function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"admin"},[t.showScreen?e("div",{staticClass:"container w-full flex flex-wrap mx-auto px-2 pt-8 lg:pt-16 md:pt-16 mt-10"},[t._m(0),e("div",{staticClass:"w-full mt-4"},[e("div",{staticClass:"max-w-6xl m-auto shadow p-4 text-background-secondary"},[e("div",{staticClass:"flex w-full mt-6"},[e("div",{staticClass:"w-full mb-4"},[e("button",{staticClass:"mt-8 inline-block py-2 px-4 text-white shadow-md bg-background-secondary",on:{click:function(e){return t.triggerReviewerReport()}}},[t._v("Trigger Need Reviewer Report")])])]),t.successMessage?e("div",{staticClass:"text-green-700"},[t._v(t._s(t.successMessage))]):t._e()])])]):e("div",{staticClass:"container w-full flex flex-wrap mx-auto px-2 pt-8 lg:pt-16 md:pt-16 mt-10"},[t._v("You don't have access")])])},a=[function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"w-full"},[e("div",{staticClass:"text-center text-3xl text-background-secondary"},[t._v("Need Reviewer Report")])])}],o=n("6bcf"),c=n("8596"),i=n("d292"),s=Object(o["b"])({name:"ReviewerReport",setup(){const t=Object(o["f"])(),e=Object(o["f"])(),n=Object(o["f"])(),r=Object(o["f"])(!0),a=async()=>{await Object(i["d"])("/admin/report/NR"),n.value="The report is being processed. You should get that over email in next 15 minutes",setTimeout(()=>{n.value=null},6e3)};return Object(o["c"])(async()=>{const e=await Object(c["g"])("/getUserRole");t.value=e.user_roles,t.value.length>0&&(console.log("inside length"),t.value.includes("System Admin")||t.value.includes("Proxy Admin")||t.value.includes("Community Manager")?r.value=!0:r.value=!1)}),{showScreen:r,triggerReviewerReport:a,errorMessage:e,successMessage:n}}}),u=s,l=(n("2bfc"),n("8619")),f=Object(l["a"])(u,r,a,!1,null,"11b8a85c",null);e["default"]=f.exports},cca5:function(t,e,n){var r=n("a15f"),a=n("ab3a"),o=n("88db");t.exports=!r&&!a((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},cd20:function(t,e,n){var r=n("644c"),a=n("bb5c"),o=TypeError;t.exports=function(t){if(r(t))return t;throw o(a(t)+" is not a function")}},d168:function(t,e,n){(function(e){var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof e&&e)||function(){return this}()||Function("return this")()}).call(this,n("d8fc"))},d1bf:function(t,e,n){var r=n("ab64");t.exports=r({}.isPrototypeOf)},d292:function(t,e,n){"use strict";n.d(e,"e",(function(){return a})),n.d(e,"c",(function(){return o})),n.d(e,"d",(function(){return c})),n.d(e,"b",(function(){return i})),n.d(e,"a",(function(){return s}));var r=n("26fa");const a=async t=>{let e;return await r["b"].get(t).then(t=>(e=t.data,e)),e},o=async(t,e)=>{let n;return await r["b"].post(t,e).then(t=>(n=t.data,n)),n},c=async t=>{let e;return await r["b"].get(t).then(t=>(e=t.data,e)),e},i=async t=>{let e;return await r["b"].get(t).then(t=>(e=t.data,e)),e},s=async t=>{let e;return await r["b"].get(t).then(t=>(e=t.data,e)),e}},d514:function(t,e,n){var r=n("3a3a"),a=Math.min;t.exports=function(t){return t>0?a(r(t),9007199254740991):0}},dbeb:function(t,e,n){var r=n("d514");t.exports=function(t){return r(t.length)}},dbfe:function(t,e,n){var r=n("4e6a"),a=n("803b"),o=r("keys");t.exports=function(t){return o[t]||(o[t]=a(t))}},dfad:function(t,e,n){var r=n("a8db"),a=n("644c"),o=n("d1bf"),c=n("8391"),i=Object;t.exports=c?function(t){return"symbol"==typeof t}:function(t){var e=r("Symbol");return a(e)&&o(e.prototype,i(t))}},e6a8:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},ea1a:function(t,e){t.exports={}},ec53:function(t,e,n){"use strict";var r=n("6a00"),a=n("6369"),o=n("dbeb"),c=n("7cc3"),i=n("670d"),s=n("ab3a"),u=s((function(){return 4294967297!==[].push.call({length:4294967296},1)})),l=!function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(t){return t instanceof TypeError}}();r({target:"Array",proto:!0,arity:1,forced:u||l},{push:function(t){var e=a(this),n=o(e),r=arguments.length;i(n+r);for(var s=0;s<r;s++)e[n]=arguments[s],n++;return c(e,n),n}})},ee76:function(t,e){var n="object"==typeof document&&document.all,r="undefined"==typeof n&&void 0!==n;t.exports={all:n,IS_HTMLDDA:r}},f189:function(t,e,n){var r=n("2ae2"),a=n("ab3a");t.exports=!!Object.getOwnPropertySymbols&&!a((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},f37d:function(t,e,n){var r=n("a8d8");e=r(!1),e.push([t.i,".pageLoader[data-v-447cbcd5]{position:fixed;top:30%;left:42%}.tableScroll[data-v-447cbcd5]{max-height:50vh;overflow-y:auto}",""]),t.exports=e},f735:function(t,e,n){var r=n("f37d");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var a=n("c69b").default;a("ce3a90e8",r,!0,{sourceMap:!1,shadowMode:!1})},f889:function(t,e,n){var r=n("3a3a"),a=Math.max,o=Math.min;t.exports=function(t,e){var n=r(t);return n<0?a(n+e,0):o(n,e)}},f95f:function(t,e,n){var r=n("39b9");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var a=n("c69b").default;a("fc6f4d76",r,!0,{sourceMap:!1,shadowMode:!1})},fbfb:function(t,e,n){var r=n("8041"),a=n("f889"),o=n("dbeb"),c=function(t){return function(e,n,c){var i,s=r(e),u=o(s),l=a(c,u);if(t&&n!=n){while(u>l)if(i=s[l++],i!=i)return!0}else for(;u>l;l++)if((t||l in s)&&s[l]===n)return t||l||0;return!t&&-1}};t.exports={includes:c(!0),indexOf:c(!1)}},fee9:function(t,e,n){var r=n("cd20"),a=n("5900");t.exports=function(t,e){var n=t[e];return a(n)?void 0:r(n)}}}]);
|
|
2
2
|
//# sourceMappingURL=SolidifyAdministrationNeedReviewerReport.js.map
|