@genpact/genome.mfe.solidify-app 1.17.2-alpha.13 → 1.17.2-alpha.16
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/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 +3 -3
- 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 +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 +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 +2 -2
- 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 +1 -1
- package/dist/js/SolidifyLearnerError.js.map +1 -1
- package/dist/js/SolidifyLearnerGating.js +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 +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 +1 -1
- package/dist/js/SystemUnderMaintenance.js.map +1 -1
- package/dist/js/app.js +69 -69
- package/dist/js/app.js.map +1 -1
- package/dist/js/{chunk-b735b002.js → chunk-60fcec0c.js} +2 -2
- package/dist/js/chunk-60fcec0c.js.map +1 -0
- package/package.json +1 -1
- package/dist/js/chunk-b735b002.js.map +0 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
(window["webpackJsonp__@genpact/genome.mfe.solidify-app"]=window["webpackJsonp__@genpact/genome.mfe.solidify-app"]||[]).push([["SolidifyAdministrationProgramAdministration"],{"0323":function(t,e,r){"use strict";t.exports=function(t){return!(!t||!t.__CANCEL__)}},"0418":function(t,e,r){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,n="/";e.cwd=function(){return n},e.chdir=function(e){t||(t=r("cad9")),n=t.resolve(e,n)}}(),e.exit=e.kill=e.umask=e.dlopen=e.uptime=e.memoryUsage=e.uvCounters=function(){},e.features={}},"112f":function(t,e,r){"use strict";var n=r("7de8").version,a={};["object","boolean","number","function","string","symbol"].forEach((function(t,e){a[t]=function(r){return typeof r===t||"a"+(e<1?"n ":" ")+t}}));var o={};function s(t,e,r){if("object"!==typeof t)throw new TypeError("options must be an object");var n=Object.keys(t),a=n.length;while(a-- >0){var o=n[a],s=e[o];if(s){var i=t[o],c=void 0===i||s(i,o,t);if(!0!==c)throw new TypeError("option "+o+" must be "+c)}else if(!0!==r)throw Error("Unknown option "+o)}}a.transitional=function(t,e,r){function a(t,e){return"[Axios v"+n+"] Transitional option '"+t+"'"+e+(r?". "+r:"")}return function(r,n,s){if(!1===t)throw new Error(a(n," has been removed"+(e?" in "+e:"")));return e&&!o[n]&&(o[n]=!0,console.warn(a(n," has been deprecated since v"+e+" and will be removed in the near future"))),!t||t(r,n,s)}},t.exports={assertOptions:s,validators:a}},"11ce":function(t,e){var r=/^(attrs|props|on|nativeOn|class|style|hook)$/;function n(t,e){return function(){t&&t.apply(this,arguments),e&&e.apply(this,arguments)}}t.exports=function(t){return t.reduce((function(t,e){var a,o,s,i,c;for(s in e)if(a=t[s],o=e[s],a&&r.test(s))if("class"===s&&("string"===typeof a&&(c=a,t[s]=a={},a[c]=!0),"string"===typeof o&&(c=o,e[s]=o={},o[c]=!0)),"on"===s||"nativeOn"===s||"hook"===s)for(i in o)a[i]=n(a[i],o[i]);else if(Array.isArray(a))t[s]=a.concat(o);else if(Array.isArray(o))t[s]=[a].concat(o);else for(i in o)a[i]=o[i];else t[s]=e[s];return t}),{})}},"122c":function(t,e,r){"use strict";var n=r("8a5d");t.exports=function(t){return n.isObject(t)&&!0===t.isAxiosError}},1464:function(t,e,r){"use strict";t.exports=function(t,e){return function(){for(var r=new Array(arguments.length),n=0;n<r.length;n++)r[n]=arguments[n];return t.apply(e,r)}}},1501:function(t,e,r){"use strict";t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},"1dba":function(t,e,r){t.exports=r("46c8")},"26fa":function(t,e,r){"use strict";r("8244");var n=r("1dba"),a=r.n(n);function o({$http:t}){const e=localStorage.getItem("accessToken");e?t.defaults.headers.common.Authorization="Bearer "+e:delete t.defaults.headers.common.Authorization}var s=({$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 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(r){console.warn(r)}alert("Generic error")}return Promise.reject(t)})};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 u="";u="local"===i?"http://localhost:3000/local/genome-solidify-api-svc":`https://api-router.azurefd.net/${i}/aws/api/genome/solidify`,console.log(" solidify "+u),a.a.defaults.baseURL=u,a.a.defaults.headers.common["x-oauth-config-provider"]="cognito-aps1",s({$http:a.a});e["a"]=a.a},2998:function(t,e,r){"use strict";var n=r("8a5d");t.exports=n.isStandardBrowserEnv()?function(){return{write:function(t,e,r,a,o,s){var i=[];i.push(t+"="+encodeURIComponent(e)),n.isNumber(r)&&i.push("expires="+new Date(r).toGMTString()),n.isString(a)&&i.push("path="+a),n.isString(o)&&i.push("domain="+o),!0===s&&i.push("secure"),document.cookie=i.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(){}}}()},"386e":function(t,e,r){"use strict";var n=r("8a5d");t.exports=function(t,e){n.forEach(t,(function(r,n){n!==e&&n.toUpperCase()===e.toUpperCase()&&(t[e]=r,delete t[n])}))}},3884:function(t,e,r){"use strict";var n=r("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,r){if(!e)return t;var o;if(r)o=r(e);else if(n.isURLSearchParams(e))o=e.toString();else{var s=[];n.forEach(e,(function(t,e){null!==t&&"undefined"!==typeof t&&(n.isArray(t)?e+="[]":t=[t],n.forEach(t,(function(t){n.isDate(t)?t=t.toISOString():n.isObject(t)&&(t=JSON.stringify(t)),s.push(a(e)+"="+a(t))})))})),o=s.join("&")}if(o){var i=t.indexOf("#");-1!==i&&(t=t.slice(0,i)),t+=(-1===t.indexOf("?")?"?":"&")+o}return t}},"46c8":function(t,e,r){"use strict";var n=r("8a5d"),a=r("1464"),o=r("6c7d"),s=r("76b7"),i=r("cc3a");function c(t){var e=new o(t),r=a(o.prototype.request,e);return n.extend(r,o.prototype,e),n.extend(r,e),r.create=function(e){return c(s(t,e))},r}var u=c(i);u.Axios=o,u.Cancel=r("82ac"),u.CancelToken=r("823a"),u.isCancel=r("0323"),u.VERSION=r("7de8").version,u.all=function(t){return Promise.all(t)},u.spread=r("c279"),u.isAxiosError=r("122c"),t.exports=u,t.exports.default=u},"4af6":function(t,e,r){"use strict";var n=r("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,r,o,s={};return t?(n.forEach(t.split("\n"),(function(t){if(o=t.indexOf(":"),e=n.trim(t.substr(0,o)).toLowerCase(),r=n.trim(t.substr(o+1)),e){if(s[e]&&a.indexOf(e)>=0)return;s[e]="set-cookie"===e?(s[e]?s[e]:[]).concat([r]):s[e]?s[e]+", "+r:r}})),s):s}},"5cd4":function(t,e,r){"use strict";var n=r("8a5d"),a=r("cc3a");t.exports=function(t,e,r){var o=this||a;return n.forEach(r,(function(r){t=r.call(o,t,e)})),t}},"5df9":function(t,e,r){"use strict";var n=r("8a5d");function a(){this.handlers=[]}a.prototype.use=function(t,e,r){return this.handlers.push({fulfilled:t,rejected:e,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1},a.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},a.prototype.forEach=function(t){n.forEach(this.handlers,(function(e){null!==e&&t(e)}))},t.exports=a},6136:function(t,e,r){"use strict";t.exports=function(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}},"639e":function(t,e,r){"use strict";var n=r("6136"),a=r("1501");t.exports=function(t,e){return t&&!n(e)?a(t,e):e}},"675e":function(t,e,r){"use strict";r.d(e,"b",(function(){return s})),r.d(e,"a",(function(){return a})),r.d(e,"c",(function(){return i})),r.d(e,"e",(function(){return o})),r.d(e,"d",(function(){return c}));var n=r("26fa");const a=async(t,e)=>{const r=await n["a"].post(t,e);return r},o=async(t,e)=>{let r;const n=await fetch(""+t,{method:"put",body:e});return r=n,r},s=async t=>{const e=await n["a"].get("/task/"+t);return e},i=async(t,e)=>{const r=await n["a"].post(t,{learner_task_id:e});return r},c=async(t,e)=>{const r=await n["a"].post(t,e);return r}},"6c7d":function(t,e,r){"use strict";var n=r("8a5d"),a=r("3884"),o=r("5df9"),s=r("93f9"),i=r("76b7"),c=r("112f"),u=c.validators;function l(t){this.defaults=t,this.interceptors={request:new o,response:new o}}l.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=i(this.defaults,e),e.method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var r=e.transitional;void 0!==r&&c.assertOptions(r,{silentJSONParsing:u.transitional(u.boolean),forcedJSONParsing:u.transitional(u.boolean),clarifyTimeoutError:u.transitional(u.boolean)},!1);var n=[],a=!0;this.interceptors.request.forEach((function(t){"function"===typeof t.runWhen&&!1===t.runWhen(e)||(a=a&&t.synchronous,n.unshift(t.fulfilled,t.rejected))}));var o,l=[];if(this.interceptors.response.forEach((function(t){l.push(t.fulfilled,t.rejected)})),!a){var f=[s,void 0];Array.prototype.unshift.apply(f,n),f=f.concat(l),o=Promise.resolve(e);while(f.length)o=o.then(f.shift(),f.shift());return o}var d=e;while(n.length){var p=n.shift(),h=n.shift();try{d=p(d)}catch(g){h(g);break}}try{o=s(d)}catch(g){return Promise.reject(g)}while(l.length)o=o.then(l.shift(),l.shift());return o},l.prototype.getUri=function(t){if(!t.url)throw new Error("Provided config url is not valid");return t=i(this.defaults,t),a(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")},n.forEach(["delete","get","head","options"],(function(t){l.prototype[t]=function(e,r){return this.request(i(r||{},{method:t,url:e,data:(r||{}).data}))}})),n.forEach(["post","put","patch"],(function(t){l.prototype[t]=function(e,r,n){return this.request(i(n||{},{method:t,url:e,data:r}))}})),t.exports=l},"76b7":function(t,e,r){"use strict";var n=r("8a5d");t.exports=function(t,e){e=e||{};var r={};function a(t,e){return n.isPlainObject(t)&&n.isPlainObject(e)?n.merge(t,e):n.isPlainObject(e)?n.merge({},e):n.isArray(e)?e.slice():e}function o(r){return n.isUndefined(e[r])?n.isUndefined(t[r])?void 0:a(void 0,t[r]):a(t[r],e[r])}function s(t){if(!n.isUndefined(e[t]))return a(void 0,e[t])}function i(r){return n.isUndefined(e[r])?n.isUndefined(t[r])?void 0:a(void 0,t[r]):a(void 0,e[r])}function c(r){return r in e?a(t[r],e[r]):r in t?a(void 0,t[r]):void 0}var u={url:s,method:s,data:s,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 n.forEach(Object.keys(t).concat(Object.keys(e)),(function(t){var e=u[t]||o,a=e(t);n.isUndefined(a)&&e!==c||(r[t]=a)})),r}},"7de8":function(t,e){t.exports={version:"0.25.0"}},"7f31":function(t,e,r){"use strict";var n=r("8a5d");t.exports=n.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");function a(t){var n=t;return e&&(r.setAttribute("href",n),n=r.href),r.setAttribute("href",n),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}return t=a(window.location.href),function(e){var r=n.isString(e)?a(e):e;return r.protocol===t.protocol&&r.host===t.host}}():function(){return function(){return!0}}()},"823a":function(t,e,r){"use strict";var n=r("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 r=this;this.promise.then((function(t){if(r._listeners){var e,n=r._listeners.length;for(e=0;e<n;e++)r._listeners[e](t);r._listeners=null}})),this.promise.then=function(t){var e,n=new Promise((function(t){r.subscribe(t),e=t})).then(t);return n.cancel=function(){r.unsubscribe(e)},n},t((function(t){r.reason||(r.reason=new n(t),e(r.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},"82ac":function(t,e,r){"use strict";function n(t){this.message=t}n.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},n.prototype.__CANCEL__=!0,t.exports=n},8596:function(t,e,r){"use strict";r.d(e,"y",(function(){return a})),r.d(e,"t",(function(){return o})),r.d(e,"u",(function(){return s})),r.d(e,"e",(function(){return i})),r.d(e,"x",(function(){return c})),r.d(e,"z",(function(){return u})),r.d(e,"r",(function(){return l})),r.d(e,"s",(function(){return f})),r.d(e,"f",(function(){return d})),r.d(e,"v",(function(){return p})),r.d(e,"h",(function(){return h})),r.d(e,"j",(function(){return g})),r.d(e,"q",(function(){return m})),r.d(e,"o",(function(){return v})),r.d(e,"p",(function(){return y})),r.d(e,"m",(function(){return w})),r.d(e,"k",(function(){return b})),r.d(e,"l",(function(){return x})),r.d(e,"A",(function(){return k})),r.d(e,"C",(function(){return _})),r.d(e,"w",(function(){return C})),r.d(e,"n",(function(){return O})),r.d(e,"i",(function(){return j})),r.d(e,"g",(function(){return S})),r.d(e,"a",(function(){return A})),r.d(e,"B",(function(){return P})),r.d(e,"b",(function(){return N})),r.d(e,"d",(function(){return E})),r.d(e,"c",(function(){return R}));var n=r("26fa");const a=async t=>{let e;return await n["a"].get(t).then(t=>(e=t.data,e)),e},o=async t=>{let e;return await n["a"].get(t).then(t=>(e=t.data,e)),e},s=async t=>{let e;return await n["a"].get(t).then(t=>(e=t.data,e)),e},i=async t=>{let e;return await n["a"].get(t).then(t=>(e=t.data,e)),e},c=async t=>{let e;return await n["a"].get(t).then(t=>(e=t.data,e)),e},u=async t=>{let e;return await n["a"].get(t).then(t=>(e=t.data,e)),e},l=async t=>{let e;return await n["a"].get(t).then(t=>(e=t.data,e)),e},f=async t=>{let e;return await n["a"].get(t).then(t=>(e=t.data,e)),e},d=async t=>{let e;return await n["a"].get(t).then(t=>(e=t.data,e)),e},p=async t=>{let e;return await n["a"].get(t).then(t=>(e=t.data,e)),e},h=async t=>{let e;return await n["a"].get(t).then(t=>(e=t.data,e)),e},g=async t=>{let e;return await n["a"].get(t).then(t=>(e=t.data,e)),e},m=async t=>{let e;return await n["a"].get(t).then(t=>(e=t.data.userObj,e)),e},v=async t=>{let e;return await n["a"].get(t).then(t=>(e=t.data.userObj,e)),e},y=async t=>{let e;return await n["a"].get(t).then(t=>(e=t.data.userObj,e)),e},w=async t=>{let e;return await n["a"].get(t).then(t=>(e=t.data,e)),e},b=async t=>{let e;return await n["a"].get(t).then(t=>(e=t.data,e)),e},x=async t=>{let e;return await n["a"].get(t).then(t=>(e=t.data,e)),e},k=async t=>{const e=await n["a"].get(t);return e},_=async t=>{const e=await n["a"].get(t);return e},C=async t=>{const e=await n["a"].get(t);return e},O=async t=>{let e;return await n["a"].get(t).then(t=>(e=t.data,e)),e},j=async t=>{let e;return await n["a"].get(t).then(t=>(e=t.data,e)),e},S=async t=>{let e;return await n["a"].get(t).then(t=>(e=t.data.userObj,e)),e},A=async t=>{const e=await n["a"].post("/user/role",t);return e},P=async t=>{const e=await n["a"].post("/user/removeRole",t);return e},N=async()=>{const t=await n["a"].get("role");return t},E=async t=>{const e=await n["a"].post("/user/saveLSS",t);return e},R=async t=>{const e=await n["a"].post("/user/saveEnvAccess",t);return e}},"8a5d":function(t,e,r){"use strict";var n=r("1464"),a=Object.prototype.toString;function o(t){return Array.isArray(t)}function s(t){return"undefined"===typeof t}function i(t){return null!==t&&!s(t)&&null!==t.constructor&&!s(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 l(t){var e;return e="undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&c(t.buffer),e}function f(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 g(t){return"[object Date]"===a.call(t)}function m(t){return"[object File]"===a.call(t)}function v(t){return"[object Blob]"===a.call(t)}function y(t){return"[object Function]"===a.call(t)}function w(t){return p(t)&&y(t.pipe)}function b(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 _(t,e){if(null!==t&&"undefined"!==typeof t)if("object"!==typeof t&&(t=[t]),o(t))for(var r=0,n=t.length;r<n;r++)e.call(null,t[r],r,t);else for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&e.call(null,t[a],a,t)}function C(){var t={};function e(e,r){h(t[r])&&h(e)?t[r]=C(t[r],e):h(e)?t[r]=C({},e):o(e)?t[r]=e.slice():t[r]=e}for(var r=0,n=arguments.length;r<n;r++)_(arguments[r],e);return t}function O(t,e,r){return _(e,(function(e,a){t[a]=r&&"function"===typeof e?n(e,r):e})),t}function j(t){return 65279===t.charCodeAt(0)&&(t=t.slice(1)),t}t.exports={isArray:o,isArrayBuffer:c,isBuffer:i,isFormData:u,isArrayBufferView:l,isString:f,isNumber:d,isObject:p,isPlainObject:h,isUndefined:s,isDate:g,isFile:m,isBlob:v,isFunction:y,isStream:w,isURLSearchParams:b,isStandardBrowserEnv:k,forEach:_,merge:C,extend:O,trim:x,stripBOM:j}},"93f9":function(t,e,r){"use strict";var n=r("8a5d"),a=r("5cd4"),o=r("0323"),s=r("cc3a"),i=r("82ac");function c(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new i("canceled")}t.exports=function(t){c(t),t.headers=t.headers||{},t.data=a.call(t,t.data,t.headers,t.transformRequest),t.headers=n.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),n.forEach(["delete","get","head","post","put","patch","common"],(function(e){delete t.headers[e]}));var e=t.adapter||s.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)}))}},"949b":function(t,e,r){"use strict";r.d(e,"a",(function(){return o})),r.d(e,"b",(function(){return s})),r.d(e,"c",(function(){return i})),r.d(e,"d",(function(){return c})),r.d(e,"e",(function(){return u})),r.d(e,"f",(function(){return l}));var n=r("11ce"),a=r.n(n),o={name:"ChevronDownIcon",props:{size:{type:String,default:"24",validator:function(t){return!isNaN(t)||t.length>=2&&!isNaN(t.slice(0,t.length-1))&&"x"===t.slice(-1)}}},functional:!0,render:function(t,e){var r="x"===e.props.size.slice(-1)?e.props.size.slice(0,e.props.size.length-1)+"em":parseInt(e.props.size)+"px",n=e.data.attrs||{};return n.width=n.width||r,n.height=n.height||r,e.data.attrs=n,t("svg",a()([{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},class:"feather feather-chevron-down"},e.data]),[t("polyline",{attrs:{points:"6 9 12 15 18 9"}})])}},s={name:"ChevronUpIcon",props:{size:{type:String,default:"24",validator:function(t){return!isNaN(t)||t.length>=2&&!isNaN(t.slice(0,t.length-1))&&"x"===t.slice(-1)}}},functional:!0,render:function(t,e){var r="x"===e.props.size.slice(-1)?e.props.size.slice(0,e.props.size.length-1)+"em":parseInt(e.props.size)+"px",n=e.data.attrs||{};return n.width=n.width||r,n.height=n.height||r,e.data.attrs=n,t("svg",a()([{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},class:"feather feather-chevron-up"},e.data]),[t("polyline",{attrs:{points:"18 15 12 9 6 15"}})])}},i={name:"FilterIcon",props:{size:{type:String,default:"24",validator:function(t){return!isNaN(t)||t.length>=2&&!isNaN(t.slice(0,t.length-1))&&"x"===t.slice(-1)}}},functional:!0,render:function(t,e){var r="x"===e.props.size.slice(-1)?e.props.size.slice(0,e.props.size.length-1)+"em":parseInt(e.props.size)+"px",n=e.data.attrs||{};return n.width=n.width||r,n.height=n.height||r,e.data.attrs=n,t("svg",a()([{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},class:"feather feather-filter"},e.data]),[t("polygon",{attrs:{points:"22 3 2 3 10 12.46 10 19 14 21 14 12.46 22 3"}})])}},c={name:"RefreshCcwIcon",props:{size:{type:String,default:"24",validator:function(t){return!isNaN(t)||t.length>=2&&!isNaN(t.slice(0,t.length-1))&&"x"===t.slice(-1)}}},functional:!0,render:function(t,e){var r="x"===e.props.size.slice(-1)?e.props.size.slice(0,e.props.size.length-1)+"em":parseInt(e.props.size)+"px",n=e.data.attrs||{};return n.width=n.width||r,n.height=n.height||r,e.data.attrs=n,t("svg",a()([{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},class:"feather feather-refresh-ccw"},e.data]),[t("polyline",{attrs:{points:"1 4 1 10 7 10"}}),t("polyline",{attrs:{points:"23 20 23 14 17 14"}}),t("path",{attrs:{d:"M20.49 9A9 9 0 0 0 5.64 5.64L1 10m22 4l-4.64 4.36A9 9 0 0 1 3.51 15"}})])}},u={name:"SearchIcon",props:{size:{type:String,default:"24",validator:function(t){return!isNaN(t)||t.length>=2&&!isNaN(t.slice(0,t.length-1))&&"x"===t.slice(-1)}}},functional:!0,render:function(t,e){var r="x"===e.props.size.slice(-1)?e.props.size.slice(0,e.props.size.length-1)+"em":parseInt(e.props.size)+"px",n=e.data.attrs||{};return n.width=n.width||r,n.height=n.height||r,e.data.attrs=n,t("svg",a()([{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},class:"feather feather-search"},e.data]),[t("circle",{attrs:{cx:"11",cy:"11",r:"8"}}),t("line",{attrs:{x1:"21",y1:"21",x2:"16.65",y2:"16.65"}})])}},l={name:"XIcon",props:{size:{type:String,default:"24",validator:function(t){return!isNaN(t)||t.length>=2&&!isNaN(t.slice(0,t.length-1))&&"x"===t.slice(-1)}}},functional:!0,render:function(t,e){var r="x"===e.props.size.slice(-1)?e.props.size.slice(0,e.props.size.length-1)+"em":parseInt(e.props.size)+"px",n=e.data.attrs||{};return n.width=n.width||r,n.height=n.height||r,e.data.attrs=n,t("svg",a()([{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},class:"feather feather-x"},e.data]),[t("line",{attrs:{x1:"18",y1:"6",x2:"6",y2:"18"}}),t("line",{attrs:{x1:"6",y1:"6",x2:"18",y2:"18"}})])}}},"9a2b":function(t,e,r){var n=r("a53d");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=r("c69b").default;a("944d606e",n,!0,{sourceMap:!1,shadowMode:!1})},"9d04":function(t,e,r){t.exports=r.p+"img/loadernew.gif"},a417:function(t,e,r){"use strict";t.exports=function(t,e,r,n,a){return t.config=e,r&&(t.code=r),t.request=n,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}},a53d:function(t,e,r){var n=r("a8d8");e=n(!1),e.push([t.i,".pageLoader[data-v-43131650]{position:fixed;top:30%;left:42%}.tableScroll[data-v-43131650]{max-height:50vh;overflow-y:auto}.tableScroll1[data-v-43131650]{max-height:60vh;overflow-y:auto}.modal-overlay[data-v-43131650]{background-color:rgba(0,0,0,.8549019607843137)}.modal-fade-enter[data-v-43131650],.modal-fade-leave-to[data-v-43131650]{opacity:0}.modal-fade-enter-active[data-v-43131650],.modal-fade-leave-active[data-v-43131650]{transition:opacity .5s ease}",""]),t.exports=e},a724:function(t,e,r){"use strict";r("9a2b")},aa01:function(t,e,r){"use strict";var n=r("fccd");t.exports=function(t,e,r){var a=r.config.validateStatus;r.status&&a&&!a(r.status)?e(n("Request failed with status code "+r.status,r.config,null,r.request,r)):t(r)}},c279:function(t,e,r){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},cad9:function(t,e,r){(function(t){function r(t,e){for(var r=0,n=t.length-1;n>=0;n--){var a=t[n];"."===a?t.splice(n,1):".."===a?(t.splice(n,1),r++):r&&(t.splice(n,1),r--)}if(e)for(;r--;r)t.unshift("..");return t}function n(t){"string"!==typeof t&&(t+="");var e,r=0,n=-1,a=!0;for(e=t.length-1;e>=0;--e)if(47===t.charCodeAt(e)){if(!a){r=e+1;break}}else-1===n&&(a=!1,n=e+1);return-1===n?"":t.slice(r,n)}function a(t,e){if(t.filter)return t.filter(e);for(var r=[],n=0;n<t.length;n++)e(t[n],n,t)&&r.push(t[n]);return r}e.resolve=function(){for(var e="",n=!1,o=arguments.length-1;o>=-1&&!n;o--){var s=o>=0?arguments[o]:t.cwd();if("string"!==typeof s)throw new TypeError("Arguments to path.resolve must be strings");s&&(e=s+"/"+e,n="/"===s.charAt(0))}return e=r(a(e.split("/"),(function(t){return!!t})),!n).join("/"),(n?"/":"")+e||"."},e.normalize=function(t){var n=e.isAbsolute(t),s="/"===o(t,-1);return t=r(a(t.split("/"),(function(t){return!!t})),!n).join("/"),t||n||(t="."),t&&s&&(t+="/"),(n?"/":"")+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,r){function n(t){for(var e=0;e<t.length;e++)if(""!==t[e])break;for(var r=t.length-1;r>=0;r--)if(""!==t[r])break;return e>r?[]:t.slice(e,r-e+1)}t=e.resolve(t).substr(1),r=e.resolve(r).substr(1);for(var a=n(t.split("/")),o=n(r.split("/")),s=Math.min(a.length,o.length),i=s,c=0;c<s;c++)if(a[c]!==o[c]){i=c;break}var u=[];for(c=i;c<a.length;c++)u.push("..");return u=u.concat(o.slice(i)),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),r=47===e,n=-1,a=!0,o=t.length-1;o>=1;--o)if(e=t.charCodeAt(o),47===e){if(!a){n=o;break}}else a=!1;return-1===n?r?"/":".":r&&1===n?"/":t.slice(0,n)},e.basename=function(t,e){var r=n(t);return e&&r.substr(-1*e.length)===e&&(r=r.substr(0,r.length-e.length)),r},e.extname=function(t){"string"!==typeof t&&(t+="");for(var e=-1,r=0,n=-1,a=!0,o=0,s=t.length-1;s>=0;--s){var i=t.charCodeAt(s);if(47!==i)-1===n&&(a=!1,n=s+1),46===i?-1===e?e=s:1!==o&&(o=1):-1!==e&&(o=-1);else if(!a){r=s+1;break}}return-1===e||-1===n||0===o||1===o&&e===n-1&&e===r+1?"":t.slice(e,n)};var o="b"==="ab".substr(-1)?function(t,e,r){return t.substr(e,r)}:function(t,e,r){return e<0&&(e=t.length+e),t.substr(e,r)}}).call(this,r("0418"))},cc3a:function(t,e,r){"use strict";(function(e){var n=r("8a5d"),a=r("386e"),o=r("a417"),s={"Content-Type":"application/x-www-form-urlencoded"};function i(t,e){!n.isUndefined(t)&&n.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=r("e50c")),t}function u(t,e,r){if(n.isString(t))try{return(e||JSON.parse)(t),n.trim(t)}catch(a){if("SyntaxError"!==a.name)throw a}return(r||JSON.stringify)(t)}var l={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:c(),transformRequest:[function(t,e){return a(e,"Accept"),a(e,"Content-Type"),n.isFormData(t)||n.isArrayBuffer(t)||n.isBuffer(t)||n.isStream(t)||n.isFile(t)||n.isBlob(t)?t:n.isArrayBufferView(t)?t.buffer:n.isURLSearchParams(t)?(i(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):n.isObject(t)||e&&"application/json"===e["Content-Type"]?(i(e,"application/json"),u(t)):t}],transformResponse:[function(t){var e=this.transitional||l.transitional,r=e&&e.silentJSONParsing,a=e&&e.forcedJSONParsing,s=!r&&"json"===this.responseType;if(s||a&&n.isString(t)&&t.length)try{return JSON.parse(t)}catch(i){if(s){if("SyntaxError"===i.name)throw o(i,this,"E_JSON_PARSE");throw i}}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, */*"}}};n.forEach(["delete","get","head"],(function(t){l.headers[t]={}})),n.forEach(["post","put","patch"],(function(t){l.headers[t]=n.merge(s)})),t.exports=l}).call(this,r("0418"))},e206:function(t,e,r){"use strict";r.d(e,"e",(function(){return a})),r.d(e,"c",(function(){return o})),r.d(e,"b",(function(){return s})),r.d(e,"a",(function(){return i})),r.d(e,"g",(function(){return c})),r.d(e,"h",(function(){return u})),r.d(e,"i",(function(){return l})),r.d(e,"f",(function(){return f})),r.d(e,"d",(function(){return d}));var n=r("26fa");const a=async t=>{const e=await n["a"].get("assignProxyToCohortLearner/"+t);return e},o=async t=>{let e;return await n["a"].get(t).then(t=>(e=t.data,e)),e},s=async t=>{let e;return await n["a"].get(t).then(t=>(e=t.data.AllGrade,e)),e},i=async(t,e)=>{try{let r;return console.log("programName "+e),await n["a"].get("/skill/edcast/"+t).then(async t=>{r=t.data;const e=document.createElement("a");return e.href=r,e.click(),URL.revokeObjectURL(e.href),r}),r}catch(r){return r}},c=async(t,e)=>{try{const r=await fetch(""+t,{method:"put",body:e}),n=r;return n}catch(r){return console.error(r),r}},u=async(t,e)=>{try{const r=await fetch(""+t,{method:"put",body:e}),n=r;return n}catch(r){return console.error(r),r}},l=async(t,e)=>{try{const r=await fetch(""+t,{method:"put",body:e}),n=r;return n}catch(r){return console.error(r),r}},f=async t=>{try{let e;return await n["a"].post("/program/proxy",t).then(t=>(e=t.data,e)),e}catch(e){return e}},d=async t=>{try{let e;return await n["a"].get("/program/report/"+t).then(t=>(e=t.data,e)),e}catch(e){return e}}},e50c:function(t,e,r){"use strict";var n=r("8a5d"),a=r("aa01"),o=r("2998"),s=r("3884"),i=r("639e"),c=r("4af6"),u=r("7f31"),l=r("fccd"),f=r("cc3a"),d=r("82ac");t.exports=function(t){return new Promise((function(e,r){var p,h=t.data,g=t.headers,m=t.responseType;function v(){t.cancelToken&&t.cancelToken.unsubscribe(p),t.signal&&t.signal.removeEventListener("abort",p)}n.isFormData(h)&&delete g["Content-Type"];var y=new XMLHttpRequest;if(t.auth){var w=t.auth.username||"",b=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";g.Authorization="Basic "+btoa(w+":"+b)}var x=i(t.baseURL,t.url);function k(){if(y){var n="getAllResponseHeaders"in y?c(y.getAllResponseHeaders()):null,o=m&&"text"!==m&&"json"!==m?y.response:y.responseText,s={data:o,status:y.status,statusText:y.statusText,headers:n,config:t,request:y};a((function(t){e(t),v()}),(function(t){r(t),v()}),s),y=null}}if(y.open(t.method.toUpperCase(),s(x,t.params,t.paramsSerializer),!0),y.timeout=t.timeout,"onloadend"in y?y.onloadend=k:y.onreadystatechange=function(){y&&4===y.readyState&&(0!==y.status||y.responseURL&&0===y.responseURL.indexOf("file:"))&&setTimeout(k)},y.onabort=function(){y&&(r(l("Request aborted",t,"ECONNABORTED",y)),y=null)},y.onerror=function(){r(l("Network Error",t,null,y)),y=null},y.ontimeout=function(){var e=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded",n=t.transitional||f.transitional;t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),r(l(e,t,n.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",y)),y=null},n.isStandardBrowserEnv()){var _=(t.withCredentials||u(x))&&t.xsrfCookieName?o.read(t.xsrfCookieName):void 0;_&&(g[t.xsrfHeaderName]=_)}"setRequestHeader"in y&&n.forEach(g,(function(t,e){"undefined"===typeof h&&"content-type"===e.toLowerCase()?delete g[e]:y.setRequestHeader(e,t)})),n.isUndefined(t.withCredentials)||(y.withCredentials=!!t.withCredentials),m&&"json"!==m&&(y.responseType=t.responseType),"function"===typeof t.onDownloadProgress&&y.addEventListener("progress",t.onDownloadProgress),"function"===typeof t.onUploadProgress&&y.upload&&y.upload.addEventListener("progress",t.onUploadProgress),(t.cancelToken||t.signal)&&(p=function(t){y&&(r(!t||t&&t.type?new d("canceled"):t),y.abort(),y=null)},t.cancelToken&&t.cancelToken.subscribe(p),t.signal&&(t.signal.aborted?p():t.signal.addEventListener("abort",p))),h||(h=null),y.send(h)}))}},ee89:function(t,e,r){"use strict";r.r(e);var n=function(){var t=this,e=t._self._c;t._self._setupProxy;return t.userRole?e("div",{staticClass:"admin program_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),t.reportSuccessMessage?e("div",{staticClass:"text-green-700"},[t._v(t._s(t.reportSuccessMessage))]):t._e(),t.errorMessage?e("div",{staticClass:"text-red-700"},[t._v(t._s(t.errorMessage))]):t._e(),e("div",{staticClass:"w-full flex mt-6"},[e("div",{staticClass:"w-full text-left"},[t.programBtnShow?e("button",{staticClass:"bg-background-secondary inline-block text-white py-2 px-4 mr-4 mt-4",on:{click:function(e){return t.viewProgramDetails()}}},[t._v("View Program Details")]):t._e(),t.programBtnShow?e("button",{staticClass:"bg-background-secondary inline-block text-white py-2 px-4 mr-4 mt-4",on:{click:function(e){return t.viewParticipant()}}},[t._v("View Participants")]):t._e(),t.edcastBtnShow?e("button",{staticClass:"bg-background-secondary inline-block text-white py-2 px-4 mr-4 mt-4",on:{click:function(e){return t.getEdcastUrl()}}},[t._v("Generate Ed-cast URL")]):t._e(),t.showBulkBtn?e("button",{staticClass:"bg-background-secondary inline-block text-white py-2 px-4 mr-4 mt-4",on:{click:function(e){t.showTaskImport=!0}}},[t._v("Bulk Participant Import")]):t._e(),t.showReportBtn?e("button",{staticClass:"bg-background-secondary inline-block text-white py-2 px-4 mr-4 mt-4",on:{click:function(e){return t.triggerReport()}}},[t._v("Generate Participant Report")]):t._e(),t.showTriggerProxyAssignment?e("button",{staticClass:"bg-background-secondary inline-block text-white py-2 px-4 mr-4 mt-4",on:{click:function(e){return t.triggerProxyAssignmentForCohort()}}},[t._v("Trigger Proxy Assignment")]):t._e()])]),t.showTaskImport?e("div",{staticClass:"border border-background-secondary mt-6 p-8 w-full"},[e("div",{staticClass:"flex"},[e("input",{key:t.fileInputKey,attrs:{type:"file"},on:{change:t.selectedFile}})]),t.errorMessage?e("div",{staticClass:"text-red-700"},[t._v(t._s(t.errorMessage))]):t._e(),t.successMessage?e("div",{staticClass:"text-green-700"},[t._v(t._s(t.successMessage))]):t._e(),e("button",{staticClass:"bg-background-secondary inline-block text-white py-2 px-4 mt-4",on:{click:t.bulkImportParticipants}},[t._v("Import")])]):t._e(),e("div",{staticClass:"w-full mt-4 tableScroll"},[e("table",{staticClass:"w-full text-md bg-white shadow rounded mb-4"},[t._m(1),e("tbody",{staticClass:"opacity-80 -text-blue-800 align-bottom"},t._l(t.ProgramDetails,(function(r){return e("tr",{key:r.program_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.programCheckOne,expression:"programCheckOne"}],staticClass:"cursor-pointer",attrs:{type:"checkbox",id:r.program_id},domProps:{value:r.program_id,checked:Array.isArray(t.programCheckOne)?t._i(t.programCheckOne,r.program_id)>-1:t.programCheckOne},on:{change:[function(e){var n=t.programCheckOne,a=e.target,o=!!a.checked;if(Array.isArray(n)){var s=r.program_id,i=t._i(n,s);a.checked?i<0&&(t.programCheckOne=n.concat([s])):i>-1&&(t.programCheckOne=n.slice(0,i).concat(n.slice(i+1)))}else t.programCheckOne=o},function(e){return t.showProgramDetailsBtn(e,r.program_id,r.participants,r.program_name)}],click:t.checkOne}})]),e("td",{staticClass:"p-2 px-3 text-left"},[t._v(t._s(r.program_display_name?r.program_display_name:r.program_name))]),e("td",{staticClass:"p-2 px-3 text-left capitalize"},[t._v(t._s(r.isAcademy))]),e("td",{staticClass:"p-2 px-3 text-center"},[t._v(t._s(r.start_date))]),e("td",{staticClass:"p-2 px-3 text-center"},[t._v(t._s(r.end_date))])])})),0)])])]):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")]),[t.showParticipant?e("main",{staticClass:"modal-wrapper relative z-50 modal-filter fixed inset-0 w-full h-screen flex mt-2 justify-center bg-semi-75 h-fit"},[e("transition",{attrs:{name:"modal-fade"}},[e("div",{staticClass:"modal-overlay modal-overlay fixed top-0 bottom-0 left-0 right-0 flex justify-center"},[e("div",{staticClass:"bg-white h-3/4 modal relative text-center w-2/5 mt-5% pt-8"},[e("div",{staticClass:"justify-content"},[e("div",{staticClass:"text-xl px-3 text-left"},[t._v(t._s(t.selectedProgramName))]),e("div",{staticClass:"absolute right-2 pr-4 top-9 cursor-pointer",on:{click:function(e){return t.closeModal()}}},[e("x-icon",{attrs:{size:"1.5x"}})],1)]),e("div",{staticClass:"pt-4 tableScroll1"},[e("table",{staticClass:"w-full text-md bg-white shadow rounded mb-4 text-over text-left"},[e("thead",{staticClass:"opacity-90 -text-blue-800"},[e("tr",{staticClass:"border-b"},[e("th",{staticClass:"py-2 pl-3 pr-0 w-6"},[t._v("Participant OHR")])])]),e("tbody",{staticClass:"opacity-80 -text-blue-800 align-bottom"},t._l(t.participantList,(function(r){return e("tr",{key:r,staticClass:"border-b hover:bg-gray-300"},[e("td",{staticClass:"py-2 pl-3 pr-0 text-sm w-6"},[t._v(t._s(r))])])})),0)])])])])])],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:r("9d04"),alt:"Loader Gif"}}),e("p",{staticClass:"mx-auto mb-10 leading-normal px-4 loadertextcss ext-genpact-darkest-blue"},[t._v("Loading...")])])],2):t._e()},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("Program Administration")])])},function(){var t=this,e=t._self._c;t._self._setupProxy;return e("thead",{staticClass:"opacity-90 -text-blue-800"},[e("tr",{staticClass:"border-b"},[e("th",{staticClass:"py-2 pl-3 pr-0 w-6"}),e("th",{staticClass:"p-2 px-3 text-background-secondary text-left"},[t._v("Program Name")]),e("th",{staticClass:"p-2 px-3 text-background-secondary text-left"},[t._v("is Academy")]),e("th",{staticClass:"p-2 px-3 text-background-secondary text-center"},[t._v("Start Date")]),e("th",{staticClass:"p-2 px-3 text-background-secondary text-center"},[t._v("End Date")])])])}],o=(r("8244"),r("4949")),s=r("949b"),i=r("bb03"),c=r.n(i),u=r("1dba"),l=r.n(u),f=r("afbc"),d=r("675e"),p=r("8596"),h=r("e206"),g=Object(o["b"])({name:"ProgramAdministration",components:{XIcon:s["f"]},setup(){const t=Object(o["f"])(!1),e=Object(o["f"])(!1),r=Object(o["f"])(),n=Object(o["f"])(),a=Object(o["f"])([]),s=Object(o["f"])(),i=Object(o["f"])(),u=Object(o["f"])(0),g=Object(o["f"])(),m=Object(o["f"])(),v=Object(o["f"])(!1),y=Object(o["f"])(),w=Object(o["f"])(),b=Object(o["f"])(!1),x=Object(o["f"])(),k=Object(o["f"])(),_=Object(o["f"])(),C=Object(o["f"])(),O=Object(o["f"])(),j=Object(o["f"])(),S=Object(o["f"])(!1),A=Object(o["f"])(!1),P=Object(o["f"])(!1),N=Object(o["f"])(!1),E=Object(o["f"])(!1),R=Object(o["f"])(!1),T=()=>{a.value=[]},B=async()=>{u.value+=1,i.value=null,s.value=null},z=async t=>{try{const e=t.target.files[0],r=e.name,n=r.endsWith(".csv");n?(s.value=r,i.value=e):(x.value="Please Select valid file to upload, only CSV file is allowed",setTimeout(()=>{x.value=null},6e3),u.value+=1,i.value=null,s.value=null)}catch(e){console.log(e)}},U=async()=>{n.value=!1;const t=await Object(h["c"])("/program"),e=t.data;let a;a=O.value.includes("System Admin")?e:e.filter(t=>{const e=t.program_admin;return!!e&&e.includes(j.value)});const o=a.sort((t,e)=>c()(e.start_date).utc().unix()-c()(t.start_date).utc().unix());for(let r=0;r<o.length;r+=1){const t=o[r];t.start_date=c()(t.start_date).format("DD-MM-YYYY"),t.end_date=c()(t.end_date).format("DD-MM-YYYY")}r.value=o,n.value=!0},L=(t,e,r,n)=>{const a=t.target.checked;!0===a?(m.value=!0,g.value=e,y.value=r,w.value=n,O.value.includes("System Admin")&&"infinity"!==e&&(R.value=!0),(O.value.includes("Program Admin")||O.value.includes("System Admin"))&&(N.value=!0,"infinity"===g.value||"S2"===g.value?(P.value=!1,E.value=!1):(P.value=!0,E.value=!0))):(m.value=!1,N.value=!1)},I=async()=>{n.value=!1,await Object(h["a"])(g.value,w.value),n.value=!0},M=async()=>{v.value=!0},D=async()=>{v.value=!1,a.value=[],m.value=!1,await U()},q=()=>{f["a"].push({path:"programDetails",query:{program_id:g.value}})},F=async()=>{const t=c()().format("llll");n.value=!1;const e=`Program_Proxy_Admin_Participants_${g.value}_${t}.csv`;console.log("key Name",e),console.log("File Name",s.value),console.log("File",i.value);const r=await Object(d["a"])("/v1/pretAuthUrlForUpload",{folder_name:"task_import",key_name:e});console.log("presigned URL",r),C.value=r.data.preSignedUrl;const a=await Object(h["g"])(C.value,i.value);if(200===a.status){const t={program_id:g.value,file_key:"task_import/"+e},r=await Object(h["f"])(t);console.log(r),n.value=!1,k.value="Participant added",i.value=null,s.value=null,n.value=!0,setTimeout(()=>{k.value=null,A.value=!1},6e3)}},J=async()=>{n.value=!1;const t=await Object(h["d"])(g.value);_.value="The report will be emailed to you",setTimeout(()=>{_.value=null},6e3),console.log("Report Trigger Response "+t),n.value=!0},$=async()=>{try{const t=await Object(h["e"])(g.value),e=t.data;_.value=e.message,setTimeout(()=>{_.value=null},6e3),console.log("Report Trigger Response "+JSON.stringify(e))}catch(e){if(n.value=!0,console.log("error peer review "+e),l.a.isAxiosError(e)){var t;const r=e;n.value=!0,x.value=null===(t=r.response)||void 0===t?void 0:t.data.message,setTimeout(()=>{x.value=null},2e3)}}};return Object(o["c"])(async()=>{const t=await Object(p["g"])("/getUserRole");j.value=t.user_key,O.value=t.user_roles,O.value.length>0&&(O.value.includes("Program Admin")||O.value.includes("System Admin")||O.value.includes("System Admin View Access")?S.value=!0:S.value=!1,await U())}),{openShareModal:t,openShareModalParticipant:e,ProgramDetails:r,renderReady:n,programCheckOne:a,checkOne:T,selectedProgramId:g,showProgramDetailsBtn:L,programBtnShow:m,viewParticipant:M,showParticipant:v,participantList:y,closeModal:D,viewProgramDetails:q,selectedProgramName:w,getEdcastUrl:I,showBulkParticipantPanel:b,selectedFile:z,clearFile:B,bulkParticipantsFile:i,errorMessage:x,bulkImportParticipants:F,showScreen:S,userRole:O,loggedInUser:j,fileInputKey:u,successMessage:k,showReportBtn:P,showTaskImport:A,triggerReport:J,edcastBtnShow:N,showBulkBtn:E,reportSuccessMessage:_,triggerProxyAssignmentForCohort:$,showTriggerProxyAssignment:R}}}),m=g,v=(r("a724"),r("169b")),y=Object(v["a"])(m,n,a,!1,null,"43131650",null);e["default"]=y.exports},fccd:function(t,e,r){"use strict";var n=r("a417");t.exports=function(t,e,r,a,o){var s=new Error(t);return n(s,e,r,a,o)}}}]);
|
|
1
|
+
(window["webpackJsonp__@genpact/genome.mfe.solidify-app"]=window["webpackJsonp__@genpact/genome.mfe.solidify-app"]||[]).push([["SolidifyAdministrationProgramAdministration"],{"0323":function(t,e,r){"use strict";t.exports=function(t){return!(!t||!t.__CANCEL__)}},"0418":function(t,e,r){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,n="/";e.cwd=function(){return n},e.chdir=function(e){t||(t=r("cad9")),n=t.resolve(e,n)}}(),e.exit=e.kill=e.umask=e.dlopen=e.uptime=e.memoryUsage=e.uvCounters=function(){},e.features={}},"10bb":function(t,e,r){var n=r("8da3");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=r("c69b").default;a("5d84a36e",n,!0,{sourceMap:!1,shadowMode:!1})},"112f":function(t,e,r){"use strict";var n=r("7de8").version,a={};["object","boolean","number","function","string","symbol"].forEach((function(t,e){a[t]=function(r){return typeof r===t||"a"+(e<1?"n ":" ")+t}}));var o={};function s(t,e,r){if("object"!==typeof t)throw new TypeError("options must be an object");var n=Object.keys(t),a=n.length;while(a-- >0){var o=n[a],s=e[o];if(s){var i=t[o],c=void 0===i||s(i,o,t);if(!0!==c)throw new TypeError("option "+o+" must be "+c)}else if(!0!==r)throw Error("Unknown option "+o)}}a.transitional=function(t,e,r){function a(t,e){return"[Axios v"+n+"] Transitional option '"+t+"'"+e+(r?". "+r:"")}return function(r,n,s){if(!1===t)throw new Error(a(n," has been removed"+(e?" in "+e:"")));return e&&!o[n]&&(o[n]=!0,console.warn(a(n," has been deprecated since v"+e+" and will be removed in the near future"))),!t||t(r,n,s)}},t.exports={assertOptions:s,validators:a}},"11ce":function(t,e){var r=/^(attrs|props|on|nativeOn|class|style|hook)$/;function n(t,e){return function(){t&&t.apply(this,arguments),e&&e.apply(this,arguments)}}t.exports=function(t){return t.reduce((function(t,e){var a,o,s,i,c;for(s in e)if(a=t[s],o=e[s],a&&r.test(s))if("class"===s&&("string"===typeof a&&(c=a,t[s]=a={},a[c]=!0),"string"===typeof o&&(c=o,e[s]=o={},o[c]=!0)),"on"===s||"nativeOn"===s||"hook"===s)for(i in o)a[i]=n(a[i],o[i]);else if(Array.isArray(a))t[s]=a.concat(o);else if(Array.isArray(o))t[s]=[a].concat(o);else for(i in o)a[i]=o[i];else t[s]=e[s];return t}),{})}},"122c":function(t,e,r){"use strict";var n=r("8a5d");t.exports=function(t){return n.isObject(t)&&!0===t.isAxiosError}},1464:function(t,e,r){"use strict";t.exports=function(t,e){return function(){for(var r=new Array(arguments.length),n=0;n<r.length;n++)r[n]=arguments[n];return t.apply(e,r)}}},1501:function(t,e,r){"use strict";t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},"1dba":function(t,e,r){t.exports=r("46c8")},"26fa":function(t,e,r){"use strict";r("23aa");var n=r("1dba"),a=r.n(n);function o({$http:t}){const e=localStorage.getItem("accessToken");e?t.defaults.headers.common.Authorization="Bearer "+e:delete t.defaults.headers.common.Authorization}var s=({$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 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(r){console.warn(r)}alert("Generic error")}return Promise.reject(t)})};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 u="";u="local"===i?"http://localhost:3000/local/genome-solidify-api-svc":`https://api-router.azurefd.net/${i}/aws/api/genome/solidify`,console.log(" solidify "+u),a.a.defaults.baseURL=u,a.a.defaults.headers.common["x-oauth-config-provider"]="cognito-aps1",s({$http:a.a});e["a"]=a.a},2998:function(t,e,r){"use strict";var n=r("8a5d");t.exports=n.isStandardBrowserEnv()?function(){return{write:function(t,e,r,a,o,s){var i=[];i.push(t+"="+encodeURIComponent(e)),n.isNumber(r)&&i.push("expires="+new Date(r).toGMTString()),n.isString(a)&&i.push("path="+a),n.isString(o)&&i.push("domain="+o),!0===s&&i.push("secure"),document.cookie=i.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(){}}}()},"386e":function(t,e,r){"use strict";var n=r("8a5d");t.exports=function(t,e){n.forEach(t,(function(r,n){n!==e&&n.toUpperCase()===e.toUpperCase()&&(t[e]=r,delete t[n])}))}},3884:function(t,e,r){"use strict";var n=r("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,r){if(!e)return t;var o;if(r)o=r(e);else if(n.isURLSearchParams(e))o=e.toString();else{var s=[];n.forEach(e,(function(t,e){null!==t&&"undefined"!==typeof t&&(n.isArray(t)?e+="[]":t=[t],n.forEach(t,(function(t){n.isDate(t)?t=t.toISOString():n.isObject(t)&&(t=JSON.stringify(t)),s.push(a(e)+"="+a(t))})))})),o=s.join("&")}if(o){var i=t.indexOf("#");-1!==i&&(t=t.slice(0,i)),t+=(-1===t.indexOf("?")?"?":"&")+o}return t}},"46c8":function(t,e,r){"use strict";var n=r("8a5d"),a=r("1464"),o=r("6c7d"),s=r("76b7"),i=r("cc3a");function c(t){var e=new o(t),r=a(o.prototype.request,e);return n.extend(r,o.prototype,e),n.extend(r,e),r.create=function(e){return c(s(t,e))},r}var u=c(i);u.Axios=o,u.Cancel=r("82ac"),u.CancelToken=r("823a"),u.isCancel=r("0323"),u.VERSION=r("7de8").version,u.all=function(t){return Promise.all(t)},u.spread=r("c279"),u.isAxiosError=r("122c"),t.exports=u,t.exports.default=u},"4af6":function(t,e,r){"use strict";var n=r("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,r,o,s={};return t?(n.forEach(t.split("\n"),(function(t){if(o=t.indexOf(":"),e=n.trim(t.substr(0,o)).toLowerCase(),r=n.trim(t.substr(o+1)),e){if(s[e]&&a.indexOf(e)>=0)return;s[e]="set-cookie"===e?(s[e]?s[e]:[]).concat([r]):s[e]?s[e]+", "+r:r}})),s):s}},"5cd4":function(t,e,r){"use strict";var n=r("8a5d"),a=r("cc3a");t.exports=function(t,e,r){var o=this||a;return n.forEach(r,(function(r){t=r.call(o,t,e)})),t}},"5df9":function(t,e,r){"use strict";var n=r("8a5d");function a(){this.handlers=[]}a.prototype.use=function(t,e,r){return this.handlers.push({fulfilled:t,rejected:e,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1},a.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},a.prototype.forEach=function(t){n.forEach(this.handlers,(function(e){null!==e&&t(e)}))},t.exports=a},6136:function(t,e,r){"use strict";t.exports=function(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}},"639e":function(t,e,r){"use strict";var n=r("6136"),a=r("1501");t.exports=function(t,e){return t&&!n(e)?a(t,e):e}},"675e":function(t,e,r){"use strict";r.d(e,"b",(function(){return s})),r.d(e,"a",(function(){return a})),r.d(e,"c",(function(){return i})),r.d(e,"e",(function(){return o})),r.d(e,"d",(function(){return c}));var n=r("26fa");const a=async(t,e)=>{const r=await n["a"].post(t,e);return r},o=async(t,e)=>{let r;const n=await fetch(""+t,{method:"put",body:e});return r=n,r},s=async t=>{const e=await n["a"].get("/task/"+t);return e},i=async(t,e)=>{const r=await n["a"].post(t,{learner_task_id:e});return r},c=async(t,e)=>{const r=await n["a"].post(t,e);return r}},"6c7d":function(t,e,r){"use strict";var n=r("8a5d"),a=r("3884"),o=r("5df9"),s=r("93f9"),i=r("76b7"),c=r("112f"),u=c.validators;function l(t){this.defaults=t,this.interceptors={request:new o,response:new o}}l.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=i(this.defaults,e),e.method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var r=e.transitional;void 0!==r&&c.assertOptions(r,{silentJSONParsing:u.transitional(u.boolean),forcedJSONParsing:u.transitional(u.boolean),clarifyTimeoutError:u.transitional(u.boolean)},!1);var n=[],a=!0;this.interceptors.request.forEach((function(t){"function"===typeof t.runWhen&&!1===t.runWhen(e)||(a=a&&t.synchronous,n.unshift(t.fulfilled,t.rejected))}));var o,l=[];if(this.interceptors.response.forEach((function(t){l.push(t.fulfilled,t.rejected)})),!a){var f=[s,void 0];Array.prototype.unshift.apply(f,n),f=f.concat(l),o=Promise.resolve(e);while(f.length)o=o.then(f.shift(),f.shift());return o}var d=e;while(n.length){var p=n.shift(),h=n.shift();try{d=p(d)}catch(g){h(g);break}}try{o=s(d)}catch(g){return Promise.reject(g)}while(l.length)o=o.then(l.shift(),l.shift());return o},l.prototype.getUri=function(t){if(!t.url)throw new Error("Provided config url is not valid");return t=i(this.defaults,t),a(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")},n.forEach(["delete","get","head","options"],(function(t){l.prototype[t]=function(e,r){return this.request(i(r||{},{method:t,url:e,data:(r||{}).data}))}})),n.forEach(["post","put","patch"],(function(t){l.prototype[t]=function(e,r,n){return this.request(i(n||{},{method:t,url:e,data:r}))}})),t.exports=l},"76b7":function(t,e,r){"use strict";var n=r("8a5d");t.exports=function(t,e){e=e||{};var r={};function a(t,e){return n.isPlainObject(t)&&n.isPlainObject(e)?n.merge(t,e):n.isPlainObject(e)?n.merge({},e):n.isArray(e)?e.slice():e}function o(r){return n.isUndefined(e[r])?n.isUndefined(t[r])?void 0:a(void 0,t[r]):a(t[r],e[r])}function s(t){if(!n.isUndefined(e[t]))return a(void 0,e[t])}function i(r){return n.isUndefined(e[r])?n.isUndefined(t[r])?void 0:a(void 0,t[r]):a(void 0,e[r])}function c(r){return r in e?a(t[r],e[r]):r in t?a(void 0,t[r]):void 0}var u={url:s,method:s,data:s,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 n.forEach(Object.keys(t).concat(Object.keys(e)),(function(t){var e=u[t]||o,a=e(t);n.isUndefined(a)&&e!==c||(r[t]=a)})),r}},"7de8":function(t,e){t.exports={version:"0.25.0"}},"7f31":function(t,e,r){"use strict";var n=r("8a5d");t.exports=n.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");function a(t){var n=t;return e&&(r.setAttribute("href",n),n=r.href),r.setAttribute("href",n),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}return t=a(window.location.href),function(e){var r=n.isString(e)?a(e):e;return r.protocol===t.protocol&&r.host===t.host}}():function(){return function(){return!0}}()},"823a":function(t,e,r){"use strict";var n=r("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 r=this;this.promise.then((function(t){if(r._listeners){var e,n=r._listeners.length;for(e=0;e<n;e++)r._listeners[e](t);r._listeners=null}})),this.promise.then=function(t){var e,n=new Promise((function(t){r.subscribe(t),e=t})).then(t);return n.cancel=function(){r.unsubscribe(e)},n},t((function(t){r.reason||(r.reason=new n(t),e(r.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},"82ac":function(t,e,r){"use strict";function n(t){this.message=t}n.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},n.prototype.__CANCEL__=!0,t.exports=n},8596:function(t,e,r){"use strict";r.d(e,"y",(function(){return a})),r.d(e,"t",(function(){return o})),r.d(e,"u",(function(){return s})),r.d(e,"e",(function(){return i})),r.d(e,"x",(function(){return c})),r.d(e,"z",(function(){return u})),r.d(e,"r",(function(){return l})),r.d(e,"s",(function(){return f})),r.d(e,"f",(function(){return d})),r.d(e,"v",(function(){return p})),r.d(e,"h",(function(){return h})),r.d(e,"j",(function(){return g})),r.d(e,"q",(function(){return m})),r.d(e,"o",(function(){return v})),r.d(e,"p",(function(){return y})),r.d(e,"m",(function(){return w})),r.d(e,"k",(function(){return b})),r.d(e,"l",(function(){return x})),r.d(e,"A",(function(){return k})),r.d(e,"C",(function(){return _})),r.d(e,"w",(function(){return C})),r.d(e,"n",(function(){return O})),r.d(e,"i",(function(){return j})),r.d(e,"g",(function(){return S})),r.d(e,"a",(function(){return A})),r.d(e,"B",(function(){return P})),r.d(e,"b",(function(){return N})),r.d(e,"d",(function(){return E})),r.d(e,"c",(function(){return R}));var n=r("26fa");const a=async t=>{let e;return await n["a"].get(t).then(t=>(e=t.data,e)),e},o=async t=>{let e;return await n["a"].get(t).then(t=>(e=t.data,e)),e},s=async t=>{let e;return await n["a"].get(t).then(t=>(e=t.data,e)),e},i=async t=>{let e;return await n["a"].get(t).then(t=>(e=t.data,e)),e},c=async t=>{let e;return await n["a"].get(t).then(t=>(e=t.data,e)),e},u=async t=>{let e;return await n["a"].get(t).then(t=>(e=t.data,e)),e},l=async t=>{let e;return await n["a"].get(t).then(t=>(e=t.data,e)),e},f=async t=>{let e;return await n["a"].get(t).then(t=>(e=t.data,e)),e},d=async t=>{let e;return await n["a"].get(t).then(t=>(e=t.data,e)),e},p=async t=>{let e;return await n["a"].get(t).then(t=>(e=t.data,e)),e},h=async t=>{let e;return await n["a"].get(t).then(t=>(e=t.data,e)),e},g=async t=>{let e;return await n["a"].get(t).then(t=>(e=t.data,e)),e},m=async t=>{let e;return await n["a"].get(t).then(t=>(e=t.data.userObj,e)),e},v=async t=>{let e;return await n["a"].get(t).then(t=>(e=t.data.userObj,e)),e},y=async t=>{let e;return await n["a"].get(t).then(t=>(e=t.data.userObj,e)),e},w=async t=>{let e;return await n["a"].get(t).then(t=>(e=t.data,e)),e},b=async t=>{let e;return await n["a"].get(t).then(t=>(e=t.data,e)),e},x=async t=>{let e;return await n["a"].get(t).then(t=>(e=t.data,e)),e},k=async t=>{const e=await n["a"].get(t);return e},_=async t=>{const e=await n["a"].get(t);return e},C=async t=>{const e=await n["a"].get(t);return e},O=async t=>{let e;return await n["a"].get(t).then(t=>(e=t.data,e)),e},j=async t=>{let e;return await n["a"].get(t).then(t=>(e=t.data,e)),e},S=async t=>{let e;return await n["a"].get(t).then(t=>(e=t.data.userObj,e)),e},A=async t=>{const e=await n["a"].post("/user/role",t);return e},P=async t=>{const e=await n["a"].post("/user/removeRole",t);return e},N=async()=>{const t=await n["a"].get("role");return t},E=async t=>{const e=await n["a"].post("/user/saveLSS",t);return e},R=async t=>{const e=await n["a"].post("/user/saveEnvAccess",t);return e}},"8a5d":function(t,e,r){"use strict";var n=r("1464"),a=Object.prototype.toString;function o(t){return Array.isArray(t)}function s(t){return"undefined"===typeof t}function i(t){return null!==t&&!s(t)&&null!==t.constructor&&!s(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 l(t){var e;return e="undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&c(t.buffer),e}function f(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 g(t){return"[object Date]"===a.call(t)}function m(t){return"[object File]"===a.call(t)}function v(t){return"[object Blob]"===a.call(t)}function y(t){return"[object Function]"===a.call(t)}function w(t){return p(t)&&y(t.pipe)}function b(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 _(t,e){if(null!==t&&"undefined"!==typeof t)if("object"!==typeof t&&(t=[t]),o(t))for(var r=0,n=t.length;r<n;r++)e.call(null,t[r],r,t);else for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&e.call(null,t[a],a,t)}function C(){var t={};function e(e,r){h(t[r])&&h(e)?t[r]=C(t[r],e):h(e)?t[r]=C({},e):o(e)?t[r]=e.slice():t[r]=e}for(var r=0,n=arguments.length;r<n;r++)_(arguments[r],e);return t}function O(t,e,r){return _(e,(function(e,a){t[a]=r&&"function"===typeof e?n(e,r):e})),t}function j(t){return 65279===t.charCodeAt(0)&&(t=t.slice(1)),t}t.exports={isArray:o,isArrayBuffer:c,isBuffer:i,isFormData:u,isArrayBufferView:l,isString:f,isNumber:d,isObject:p,isPlainObject:h,isUndefined:s,isDate:g,isFile:m,isBlob:v,isFunction:y,isStream:w,isURLSearchParams:b,isStandardBrowserEnv:k,forEach:_,merge:C,extend:O,trim:x,stripBOM:j}},"8da3":function(t,e,r){var n=r("a8d8");e=n(!1),e.push([t.i,".pageLoader[data-v-43131650]{position:fixed;top:30%;left:42%}.tableScroll[data-v-43131650]{max-height:50vh;overflow-y:auto}.tableScroll1[data-v-43131650]{max-height:60vh;overflow-y:auto}.modal-overlay[data-v-43131650]{background-color:rgba(0,0,0,.8549019607843137)}.modal-fade-enter[data-v-43131650],.modal-fade-leave-to[data-v-43131650]{opacity:0}.modal-fade-enter-active[data-v-43131650],.modal-fade-leave-active[data-v-43131650]{transition:opacity .5s ease}",""]),t.exports=e},"93f9":function(t,e,r){"use strict";var n=r("8a5d"),a=r("5cd4"),o=r("0323"),s=r("cc3a"),i=r("82ac");function c(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new i("canceled")}t.exports=function(t){c(t),t.headers=t.headers||{},t.data=a.call(t,t.data,t.headers,t.transformRequest),t.headers=n.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),n.forEach(["delete","get","head","post","put","patch","common"],(function(e){delete t.headers[e]}));var e=t.adapter||s.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)}))}},"949b":function(t,e,r){"use strict";r.d(e,"a",(function(){return o})),r.d(e,"b",(function(){return s})),r.d(e,"c",(function(){return i})),r.d(e,"d",(function(){return c})),r.d(e,"e",(function(){return u})),r.d(e,"f",(function(){return l}));var n=r("11ce"),a=r.n(n),o={name:"ChevronDownIcon",props:{size:{type:String,default:"24",validator:function(t){return!isNaN(t)||t.length>=2&&!isNaN(t.slice(0,t.length-1))&&"x"===t.slice(-1)}}},functional:!0,render:function(t,e){var r="x"===e.props.size.slice(-1)?e.props.size.slice(0,e.props.size.length-1)+"em":parseInt(e.props.size)+"px",n=e.data.attrs||{};return n.width=n.width||r,n.height=n.height||r,e.data.attrs=n,t("svg",a()([{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},class:"feather feather-chevron-down"},e.data]),[t("polyline",{attrs:{points:"6 9 12 15 18 9"}})])}},s={name:"ChevronUpIcon",props:{size:{type:String,default:"24",validator:function(t){return!isNaN(t)||t.length>=2&&!isNaN(t.slice(0,t.length-1))&&"x"===t.slice(-1)}}},functional:!0,render:function(t,e){var r="x"===e.props.size.slice(-1)?e.props.size.slice(0,e.props.size.length-1)+"em":parseInt(e.props.size)+"px",n=e.data.attrs||{};return n.width=n.width||r,n.height=n.height||r,e.data.attrs=n,t("svg",a()([{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},class:"feather feather-chevron-up"},e.data]),[t("polyline",{attrs:{points:"18 15 12 9 6 15"}})])}},i={name:"FilterIcon",props:{size:{type:String,default:"24",validator:function(t){return!isNaN(t)||t.length>=2&&!isNaN(t.slice(0,t.length-1))&&"x"===t.slice(-1)}}},functional:!0,render:function(t,e){var r="x"===e.props.size.slice(-1)?e.props.size.slice(0,e.props.size.length-1)+"em":parseInt(e.props.size)+"px",n=e.data.attrs||{};return n.width=n.width||r,n.height=n.height||r,e.data.attrs=n,t("svg",a()([{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},class:"feather feather-filter"},e.data]),[t("polygon",{attrs:{points:"22 3 2 3 10 12.46 10 19 14 21 14 12.46 22 3"}})])}},c={name:"RefreshCcwIcon",props:{size:{type:String,default:"24",validator:function(t){return!isNaN(t)||t.length>=2&&!isNaN(t.slice(0,t.length-1))&&"x"===t.slice(-1)}}},functional:!0,render:function(t,e){var r="x"===e.props.size.slice(-1)?e.props.size.slice(0,e.props.size.length-1)+"em":parseInt(e.props.size)+"px",n=e.data.attrs||{};return n.width=n.width||r,n.height=n.height||r,e.data.attrs=n,t("svg",a()([{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},class:"feather feather-refresh-ccw"},e.data]),[t("polyline",{attrs:{points:"1 4 1 10 7 10"}}),t("polyline",{attrs:{points:"23 20 23 14 17 14"}}),t("path",{attrs:{d:"M20.49 9A9 9 0 0 0 5.64 5.64L1 10m22 4l-4.64 4.36A9 9 0 0 1 3.51 15"}})])}},u={name:"SearchIcon",props:{size:{type:String,default:"24",validator:function(t){return!isNaN(t)||t.length>=2&&!isNaN(t.slice(0,t.length-1))&&"x"===t.slice(-1)}}},functional:!0,render:function(t,e){var r="x"===e.props.size.slice(-1)?e.props.size.slice(0,e.props.size.length-1)+"em":parseInt(e.props.size)+"px",n=e.data.attrs||{};return n.width=n.width||r,n.height=n.height||r,e.data.attrs=n,t("svg",a()([{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},class:"feather feather-search"},e.data]),[t("circle",{attrs:{cx:"11",cy:"11",r:"8"}}),t("line",{attrs:{x1:"21",y1:"21",x2:"16.65",y2:"16.65"}})])}},l={name:"XIcon",props:{size:{type:String,default:"24",validator:function(t){return!isNaN(t)||t.length>=2&&!isNaN(t.slice(0,t.length-1))&&"x"===t.slice(-1)}}},functional:!0,render:function(t,e){var r="x"===e.props.size.slice(-1)?e.props.size.slice(0,e.props.size.length-1)+"em":parseInt(e.props.size)+"px",n=e.data.attrs||{};return n.width=n.width||r,n.height=n.height||r,e.data.attrs=n,t("svg",a()([{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},class:"feather feather-x"},e.data]),[t("line",{attrs:{x1:"18",y1:"6",x2:"6",y2:"18"}}),t("line",{attrs:{x1:"6",y1:"6",x2:"18",y2:"18"}})])}}},"9d04":function(t,e,r){t.exports=r.p+"img/loadernew.gif"},a417:function(t,e,r){"use strict";t.exports=function(t,e,r,n,a){return t.config=e,r&&(t.code=r),t.request=n,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}},a724:function(t,e,r){"use strict";r("10bb")},aa01:function(t,e,r){"use strict";var n=r("fccd");t.exports=function(t,e,r){var a=r.config.validateStatus;r.status&&a&&!a(r.status)?e(n("Request failed with status code "+r.status,r.config,null,r.request,r)):t(r)}},c279:function(t,e,r){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},cad9:function(t,e,r){(function(t){function r(t,e){for(var r=0,n=t.length-1;n>=0;n--){var a=t[n];"."===a?t.splice(n,1):".."===a?(t.splice(n,1),r++):r&&(t.splice(n,1),r--)}if(e)for(;r--;r)t.unshift("..");return t}function n(t){"string"!==typeof t&&(t+="");var e,r=0,n=-1,a=!0;for(e=t.length-1;e>=0;--e)if(47===t.charCodeAt(e)){if(!a){r=e+1;break}}else-1===n&&(a=!1,n=e+1);return-1===n?"":t.slice(r,n)}function a(t,e){if(t.filter)return t.filter(e);for(var r=[],n=0;n<t.length;n++)e(t[n],n,t)&&r.push(t[n]);return r}e.resolve=function(){for(var e="",n=!1,o=arguments.length-1;o>=-1&&!n;o--){var s=o>=0?arguments[o]:t.cwd();if("string"!==typeof s)throw new TypeError("Arguments to path.resolve must be strings");s&&(e=s+"/"+e,n="/"===s.charAt(0))}return e=r(a(e.split("/"),(function(t){return!!t})),!n).join("/"),(n?"/":"")+e||"."},e.normalize=function(t){var n=e.isAbsolute(t),s="/"===o(t,-1);return t=r(a(t.split("/"),(function(t){return!!t})),!n).join("/"),t||n||(t="."),t&&s&&(t+="/"),(n?"/":"")+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,r){function n(t){for(var e=0;e<t.length;e++)if(""!==t[e])break;for(var r=t.length-1;r>=0;r--)if(""!==t[r])break;return e>r?[]:t.slice(e,r-e+1)}t=e.resolve(t).substr(1),r=e.resolve(r).substr(1);for(var a=n(t.split("/")),o=n(r.split("/")),s=Math.min(a.length,o.length),i=s,c=0;c<s;c++)if(a[c]!==o[c]){i=c;break}var u=[];for(c=i;c<a.length;c++)u.push("..");return u=u.concat(o.slice(i)),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),r=47===e,n=-1,a=!0,o=t.length-1;o>=1;--o)if(e=t.charCodeAt(o),47===e){if(!a){n=o;break}}else a=!1;return-1===n?r?"/":".":r&&1===n?"/":t.slice(0,n)},e.basename=function(t,e){var r=n(t);return e&&r.substr(-1*e.length)===e&&(r=r.substr(0,r.length-e.length)),r},e.extname=function(t){"string"!==typeof t&&(t+="");for(var e=-1,r=0,n=-1,a=!0,o=0,s=t.length-1;s>=0;--s){var i=t.charCodeAt(s);if(47!==i)-1===n&&(a=!1,n=s+1),46===i?-1===e?e=s:1!==o&&(o=1):-1!==e&&(o=-1);else if(!a){r=s+1;break}}return-1===e||-1===n||0===o||1===o&&e===n-1&&e===r+1?"":t.slice(e,n)};var o="b"==="ab".substr(-1)?function(t,e,r){return t.substr(e,r)}:function(t,e,r){return e<0&&(e=t.length+e),t.substr(e,r)}}).call(this,r("0418"))},cc3a:function(t,e,r){"use strict";(function(e){var n=r("8a5d"),a=r("386e"),o=r("a417"),s={"Content-Type":"application/x-www-form-urlencoded"};function i(t,e){!n.isUndefined(t)&&n.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=r("e50c")),t}function u(t,e,r){if(n.isString(t))try{return(e||JSON.parse)(t),n.trim(t)}catch(a){if("SyntaxError"!==a.name)throw a}return(r||JSON.stringify)(t)}var l={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:c(),transformRequest:[function(t,e){return a(e,"Accept"),a(e,"Content-Type"),n.isFormData(t)||n.isArrayBuffer(t)||n.isBuffer(t)||n.isStream(t)||n.isFile(t)||n.isBlob(t)?t:n.isArrayBufferView(t)?t.buffer:n.isURLSearchParams(t)?(i(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):n.isObject(t)||e&&"application/json"===e["Content-Type"]?(i(e,"application/json"),u(t)):t}],transformResponse:[function(t){var e=this.transitional||l.transitional,r=e&&e.silentJSONParsing,a=e&&e.forcedJSONParsing,s=!r&&"json"===this.responseType;if(s||a&&n.isString(t)&&t.length)try{return JSON.parse(t)}catch(i){if(s){if("SyntaxError"===i.name)throw o(i,this,"E_JSON_PARSE");throw i}}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, */*"}}};n.forEach(["delete","get","head"],(function(t){l.headers[t]={}})),n.forEach(["post","put","patch"],(function(t){l.headers[t]=n.merge(s)})),t.exports=l}).call(this,r("0418"))},e206:function(t,e,r){"use strict";r.d(e,"e",(function(){return a})),r.d(e,"c",(function(){return o})),r.d(e,"b",(function(){return s})),r.d(e,"a",(function(){return i})),r.d(e,"g",(function(){return c})),r.d(e,"h",(function(){return u})),r.d(e,"i",(function(){return l})),r.d(e,"f",(function(){return f})),r.d(e,"d",(function(){return d}));var n=r("26fa");const a=async t=>{const e=await n["a"].get("assignProxyToCohortLearner/"+t);return e},o=async t=>{let e;return await n["a"].get(t).then(t=>(e=t.data,e)),e},s=async t=>{let e;return await n["a"].get(t).then(t=>(e=t.data.AllGrade,e)),e},i=async(t,e)=>{try{let r;return console.log("programName "+e),await n["a"].get("/skill/edcast/"+t).then(async t=>{r=t.data;const e=document.createElement("a");return e.href=r,e.click(),URL.revokeObjectURL(e.href),r}),r}catch(r){return r}},c=async(t,e)=>{try{const r=await fetch(""+t,{method:"put",body:e}),n=r;return n}catch(r){return console.error(r),r}},u=async(t,e)=>{try{const r=await fetch(""+t,{method:"put",body:e}),n=r;return n}catch(r){return console.error(r),r}},l=async(t,e)=>{try{const r=await fetch(""+t,{method:"put",body:e}),n=r;return n}catch(r){return console.error(r),r}},f=async t=>{try{let e;return await n["a"].post("/program/proxy",t).then(t=>(e=t.data,e)),e}catch(e){return e}},d=async t=>{try{let e;return await n["a"].get("/program/report/"+t).then(t=>(e=t.data,e)),e}catch(e){return e}}},e50c:function(t,e,r){"use strict";var n=r("8a5d"),a=r("aa01"),o=r("2998"),s=r("3884"),i=r("639e"),c=r("4af6"),u=r("7f31"),l=r("fccd"),f=r("cc3a"),d=r("82ac");t.exports=function(t){return new Promise((function(e,r){var p,h=t.data,g=t.headers,m=t.responseType;function v(){t.cancelToken&&t.cancelToken.unsubscribe(p),t.signal&&t.signal.removeEventListener("abort",p)}n.isFormData(h)&&delete g["Content-Type"];var y=new XMLHttpRequest;if(t.auth){var w=t.auth.username||"",b=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";g.Authorization="Basic "+btoa(w+":"+b)}var x=i(t.baseURL,t.url);function k(){if(y){var n="getAllResponseHeaders"in y?c(y.getAllResponseHeaders()):null,o=m&&"text"!==m&&"json"!==m?y.response:y.responseText,s={data:o,status:y.status,statusText:y.statusText,headers:n,config:t,request:y};a((function(t){e(t),v()}),(function(t){r(t),v()}),s),y=null}}if(y.open(t.method.toUpperCase(),s(x,t.params,t.paramsSerializer),!0),y.timeout=t.timeout,"onloadend"in y?y.onloadend=k:y.onreadystatechange=function(){y&&4===y.readyState&&(0!==y.status||y.responseURL&&0===y.responseURL.indexOf("file:"))&&setTimeout(k)},y.onabort=function(){y&&(r(l("Request aborted",t,"ECONNABORTED",y)),y=null)},y.onerror=function(){r(l("Network Error",t,null,y)),y=null},y.ontimeout=function(){var e=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded",n=t.transitional||f.transitional;t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),r(l(e,t,n.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",y)),y=null},n.isStandardBrowserEnv()){var _=(t.withCredentials||u(x))&&t.xsrfCookieName?o.read(t.xsrfCookieName):void 0;_&&(g[t.xsrfHeaderName]=_)}"setRequestHeader"in y&&n.forEach(g,(function(t,e){"undefined"===typeof h&&"content-type"===e.toLowerCase()?delete g[e]:y.setRequestHeader(e,t)})),n.isUndefined(t.withCredentials)||(y.withCredentials=!!t.withCredentials),m&&"json"!==m&&(y.responseType=t.responseType),"function"===typeof t.onDownloadProgress&&y.addEventListener("progress",t.onDownloadProgress),"function"===typeof t.onUploadProgress&&y.upload&&y.upload.addEventListener("progress",t.onUploadProgress),(t.cancelToken||t.signal)&&(p=function(t){y&&(r(!t||t&&t.type?new d("canceled"):t),y.abort(),y=null)},t.cancelToken&&t.cancelToken.subscribe(p),t.signal&&(t.signal.aborted?p():t.signal.addEventListener("abort",p))),h||(h=null),y.send(h)}))}},ee89:function(t,e,r){"use strict";r.r(e);var n=function(){var t=this,e=t._self._c;t._self._setupProxy;return t.userRole?e("div",{staticClass:"admin program_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),t.reportSuccessMessage?e("div",{staticClass:"text-green-700"},[t._v(t._s(t.reportSuccessMessage))]):t._e(),t.errorMessage?e("div",{staticClass:"text-red-700"},[t._v(t._s(t.errorMessage))]):t._e(),e("div",{staticClass:"w-full flex mt-6"},[e("div",{staticClass:"w-full text-left"},[t.programBtnShow?e("button",{staticClass:"bg-background-secondary inline-block text-white py-2 px-4 mr-4 mt-4",on:{click:function(e){return t.viewProgramDetails()}}},[t._v("View Program Details")]):t._e(),t.programBtnShow?e("button",{staticClass:"bg-background-secondary inline-block text-white py-2 px-4 mr-4 mt-4",on:{click:function(e){return t.viewParticipant()}}},[t._v("View Participants")]):t._e(),t.edcastBtnShow?e("button",{staticClass:"bg-background-secondary inline-block text-white py-2 px-4 mr-4 mt-4",on:{click:function(e){return t.getEdcastUrl()}}},[t._v("Generate Ed-cast URL")]):t._e(),t.showBulkBtn?e("button",{staticClass:"bg-background-secondary inline-block text-white py-2 px-4 mr-4 mt-4",on:{click:function(e){t.showTaskImport=!0}}},[t._v("Bulk Participant Import")]):t._e(),t.showReportBtn?e("button",{staticClass:"bg-background-secondary inline-block text-white py-2 px-4 mr-4 mt-4",on:{click:function(e){return t.triggerReport()}}},[t._v("Generate Participant Report")]):t._e(),t.showTriggerProxyAssignment?e("button",{staticClass:"bg-background-secondary inline-block text-white py-2 px-4 mr-4 mt-4",on:{click:function(e){return t.triggerProxyAssignmentForCohort()}}},[t._v("Trigger Proxy Assignment")]):t._e()])]),t.showTaskImport?e("div",{staticClass:"border border-background-secondary mt-6 p-8 w-full"},[e("div",{staticClass:"flex"},[e("input",{key:t.fileInputKey,attrs:{type:"file"},on:{change:t.selectedFile}})]),t.errorMessage?e("div",{staticClass:"text-red-700"},[t._v(t._s(t.errorMessage))]):t._e(),t.successMessage?e("div",{staticClass:"text-green-700"},[t._v(t._s(t.successMessage))]):t._e(),e("button",{staticClass:"bg-background-secondary inline-block text-white py-2 px-4 mt-4",on:{click:t.bulkImportParticipants}},[t._v("Import")])]):t._e(),e("div",{staticClass:"w-full mt-4 tableScroll"},[e("table",{staticClass:"w-full text-md bg-white shadow rounded mb-4"},[t._m(1),e("tbody",{staticClass:"opacity-80 -text-blue-800 align-bottom"},t._l(t.ProgramDetails,(function(r){return e("tr",{key:r.program_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.programCheckOne,expression:"programCheckOne"}],staticClass:"cursor-pointer",attrs:{type:"checkbox",id:r.program_id},domProps:{value:r.program_id,checked:Array.isArray(t.programCheckOne)?t._i(t.programCheckOne,r.program_id)>-1:t.programCheckOne},on:{change:[function(e){var n=t.programCheckOne,a=e.target,o=!!a.checked;if(Array.isArray(n)){var s=r.program_id,i=t._i(n,s);a.checked?i<0&&(t.programCheckOne=n.concat([s])):i>-1&&(t.programCheckOne=n.slice(0,i).concat(n.slice(i+1)))}else t.programCheckOne=o},function(e){return t.showProgramDetailsBtn(e,r.program_id,r.participants,r.program_name)}],click:t.checkOne}})]),e("td",{staticClass:"p-2 px-3 text-left"},[t._v(t._s(r.program_display_name?r.program_display_name:r.program_name))]),e("td",{staticClass:"p-2 px-3 text-left capitalize"},[t._v(t._s(r.isAcademy))]),e("td",{staticClass:"p-2 px-3 text-center"},[t._v(t._s(r.start_date))]),e("td",{staticClass:"p-2 px-3 text-center"},[t._v(t._s(r.end_date))])])})),0)])])]):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")]),[t.showParticipant?e("main",{staticClass:"modal-wrapper relative z-50 modal-filter fixed inset-0 w-full h-screen flex mt-2 justify-center bg-semi-75 h-fit"},[e("transition",{attrs:{name:"modal-fade"}},[e("div",{staticClass:"modal-overlay modal-overlay fixed top-0 bottom-0 left-0 right-0 flex justify-center"},[e("div",{staticClass:"bg-white h-3/4 modal relative text-center w-2/5 mt-5% pt-8"},[e("div",{staticClass:"justify-content"},[e("div",{staticClass:"text-xl px-3 text-left"},[t._v(t._s(t.selectedProgramName))]),e("div",{staticClass:"absolute right-2 pr-4 top-9 cursor-pointer",on:{click:function(e){return t.closeModal()}}},[e("x-icon",{attrs:{size:"1.5x"}})],1)]),e("div",{staticClass:"pt-4 tableScroll1"},[e("table",{staticClass:"w-full text-md bg-white shadow rounded mb-4 text-over text-left"},[e("thead",{staticClass:"opacity-90 -text-blue-800"},[e("tr",{staticClass:"border-b"},[e("th",{staticClass:"py-2 pl-3 pr-0 w-6"},[t._v("Participant OHR")])])]),e("tbody",{staticClass:"opacity-80 -text-blue-800 align-bottom"},t._l(t.participantList,(function(r){return e("tr",{key:r,staticClass:"border-b hover:bg-gray-300"},[e("td",{staticClass:"py-2 pl-3 pr-0 text-sm w-6"},[t._v(t._s(r))])])})),0)])])])])])],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:r("9d04"),alt:"Loader Gif"}}),e("p",{staticClass:"mx-auto mb-10 leading-normal px-4 loadertextcss ext-genpact-darkest-blue"},[t._v("Loading...")])])],2):t._e()},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("Program Administration")])])},function(){var t=this,e=t._self._c;t._self._setupProxy;return e("thead",{staticClass:"opacity-90 -text-blue-800"},[e("tr",{staticClass:"border-b"},[e("th",{staticClass:"py-2 pl-3 pr-0 w-6"}),e("th",{staticClass:"p-2 px-3 text-background-secondary text-left"},[t._v("Program Name")]),e("th",{staticClass:"p-2 px-3 text-background-secondary text-left"},[t._v("is Academy")]),e("th",{staticClass:"p-2 px-3 text-background-secondary text-center"},[t._v("Start Date")]),e("th",{staticClass:"p-2 px-3 text-background-secondary text-center"},[t._v("End Date")])])])}],o=(r("23aa"),r("3e7b")),s=r("949b"),i=r("bb03"),c=r.n(i),u=r("1dba"),l=r.n(u),f=r("afbc"),d=r("675e"),p=r("8596"),h=r("e206"),g=Object(o["b"])({name:"ProgramAdministration",components:{XIcon:s["f"]},setup(){const t=Object(o["f"])(!1),e=Object(o["f"])(!1),r=Object(o["f"])(),n=Object(o["f"])(),a=Object(o["f"])([]),s=Object(o["f"])(),i=Object(o["f"])(),u=Object(o["f"])(0),g=Object(o["f"])(),m=Object(o["f"])(),v=Object(o["f"])(!1),y=Object(o["f"])(),w=Object(o["f"])(),b=Object(o["f"])(!1),x=Object(o["f"])(),k=Object(o["f"])(),_=Object(o["f"])(),C=Object(o["f"])(),O=Object(o["f"])(),j=Object(o["f"])(),S=Object(o["f"])(!1),A=Object(o["f"])(!1),P=Object(o["f"])(!1),N=Object(o["f"])(!1),E=Object(o["f"])(!1),R=Object(o["f"])(!1),T=()=>{a.value=[]},B=async()=>{u.value+=1,i.value=null,s.value=null},z=async t=>{try{const e=t.target.files[0],r=e.name,n=r.endsWith(".csv");n?(s.value=r,i.value=e):(x.value="Please Select valid file to upload, only CSV file is allowed",setTimeout(()=>{x.value=null},6e3),u.value+=1,i.value=null,s.value=null)}catch(e){console.log(e)}},U=async()=>{n.value=!1;const t=await Object(h["c"])("/program"),e=t.data;let a;a=O.value.includes("System Admin")?e:e.filter(t=>{const e=t.program_admin;return!!e&&e.includes(j.value)});const o=a.sort((t,e)=>c()(e.start_date).utc().unix()-c()(t.start_date).utc().unix());for(let r=0;r<o.length;r+=1){const t=o[r];t.start_date=c()(t.start_date).format("DD-MM-YYYY"),t.end_date=c()(t.end_date).format("DD-MM-YYYY")}r.value=o,n.value=!0},L=(t,e,r,n)=>{const a=t.target.checked;!0===a?(m.value=!0,g.value=e,y.value=r,w.value=n,O.value.includes("System Admin")&&"infinity"!==e&&(R.value=!0),(O.value.includes("Program Admin")||O.value.includes("System Admin"))&&(N.value=!0,"infinity"===g.value||"S2"===g.value?(P.value=!1,E.value=!1):(P.value=!0,E.value=!0))):(m.value=!1,N.value=!1)},I=async()=>{n.value=!1,await Object(h["a"])(g.value,w.value),n.value=!0},M=async()=>{v.value=!0},D=async()=>{v.value=!1,a.value=[],m.value=!1,await U()},q=()=>{f["a"].push({path:"programDetails",query:{program_id:g.value}})},F=async()=>{const t=c()().format("llll");n.value=!1;const e=`Program_Proxy_Admin_Participants_${g.value}_${t}.csv`;console.log("key Name",e),console.log("File Name",s.value),console.log("File",i.value);const r=await Object(d["a"])("/v1/pretAuthUrlForUpload",{folder_name:"task_import",key_name:e});console.log("presigned URL",r),C.value=r.data.preSignedUrl;const a=await Object(h["g"])(C.value,i.value);if(200===a.status){const t={program_id:g.value,file_key:"task_import/"+e},r=await Object(h["f"])(t);console.log(r),n.value=!1,k.value="Participant added",i.value=null,s.value=null,n.value=!0,setTimeout(()=>{k.value=null,A.value=!1},6e3)}},J=async()=>{n.value=!1;const t=await Object(h["d"])(g.value);_.value="The report will be emailed to you",setTimeout(()=>{_.value=null},6e3),console.log("Report Trigger Response "+t),n.value=!0},$=async()=>{try{const t=await Object(h["e"])(g.value),e=t.data;_.value=e.message,setTimeout(()=>{_.value=null},6e3),console.log("Report Trigger Response "+JSON.stringify(e))}catch(e){if(n.value=!0,console.log("error peer review "+e),l.a.isAxiosError(e)){var t;const r=e;n.value=!0,x.value=null===(t=r.response)||void 0===t?void 0:t.data.message,setTimeout(()=>{x.value=null},2e3)}}};return Object(o["c"])(async()=>{const t=await Object(p["g"])("/getUserRole");j.value=t.user_key,O.value=t.user_roles,O.value.length>0&&(O.value.includes("Program Admin")||O.value.includes("System Admin")||O.value.includes("System Admin View Access")?S.value=!0:S.value=!1,await U())}),{openShareModal:t,openShareModalParticipant:e,ProgramDetails:r,renderReady:n,programCheckOne:a,checkOne:T,selectedProgramId:g,showProgramDetailsBtn:L,programBtnShow:m,viewParticipant:M,showParticipant:v,participantList:y,closeModal:D,viewProgramDetails:q,selectedProgramName:w,getEdcastUrl:I,showBulkParticipantPanel:b,selectedFile:z,clearFile:B,bulkParticipantsFile:i,errorMessage:x,bulkImportParticipants:F,showScreen:S,userRole:O,loggedInUser:j,fileInputKey:u,successMessage:k,showReportBtn:P,showTaskImport:A,triggerReport:J,edcastBtnShow:N,showBulkBtn:E,reportSuccessMessage:_,triggerProxyAssignmentForCohort:$,showTriggerProxyAssignment:R}}}),m=g,v=(r("a724"),r("2147")),y=Object(v["a"])(m,n,a,!1,null,"43131650",null);e["default"]=y.exports},fccd:function(t,e,r){"use strict";var n=r("a417");t.exports=function(t,e,r,a,o){var s=new Error(t);return n(s,e,r,a,o)}}}]);
|
|
2
2
|
//# sourceMappingURL=SolidifyAdministrationProgramAdministration.js.map
|