@genpact/genome.mfe.solidify-app 1.4.1-alpha.26 → 1.4.1-alpha.29
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/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/SolidifyAdministrationEmailTemplateManagement.js +1 -1
- package/dist/js/SolidifyAdministrationEmailTemplateManagement.js.map +1 -1
- package/dist/js/SolidifyAdministrationManageProxy.js +1 -1
- package/dist/js/SolidifyAdministrationManageProxy.js.map +1 -1
- package/dist/js/SolidifyAdministrationProgramAdministration.js +1 -1
- package/dist/js/SolidifyAdministrationProgramAdministration.js.map +1 -1
- package/dist/js/SolidifyAdministrationSystemSetting.js +1 -1
- package/dist/js/SolidifyAdministrationSystemSetting.js.map +1 -1
- package/dist/js/SolidifyAdministrationTaskManagement.js +4 -4
- package/dist/js/SolidifyAdministrationTaskManagement.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/SolidifyLearner.js +1 -1
- package/dist/js/SolidifyLearner.js.map +1 -1
- package/dist/js/SolidifyLearnerDone.js +1 -1
- package/dist/js/SolidifyLearnerDone.js.map +1 -1
- package/dist/js/SolidifyLearnerFail.js +1 -1
- package/dist/js/SolidifyLearnerFail.js.map +1 -1
- package/dist/js/SolidifyLearnerGating.js +1 -1
- package/dist/js/SolidifyLearnerGating.js.map +1 -1
- package/dist/js/SolidifyLearnerNotFound.js +1 -1
- package/dist/js/SolidifyLearnerNotFound.js.map +1 -1
- package/dist/js/SolidifyLearnerPeerReview.js +1 -1
- package/dist/js/SolidifyLearnerPeerReview.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/app.js +121 -121
- package/dist/js/app.js.map +1 -1
- package/dist/js/chunk-aec91028.js +2 -0
- package/dist/js/chunk-aec91028.js.map +1 -0
- package/package.json +1 -1
- package/dist/js/chunk-7acaac76.js +0 -2
- package/dist/js/chunk-7acaac76.js.map +0 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
(window["webpackJsonp__@genpact/genome.mfe.solidify-app"]=window["webpackJsonp__@genpact/genome.mfe.solidify-app"]||[]).push([["SolidifyAdministrationAssignProxy"],{"0323":function(e,t,r){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},"03aa":function(e,t,r){var n=r("f5dc"),a=r("5e63"),o=r("a6f5"),s=r("301e"),c=s((function(){o(1)}));n({target:"Object",stat:!0,forced:c},{keys:function(e){return o(a(e))}})},"0418":function(e,t,r){t.nextTick=function(e){var t=Array.prototype.slice.call(arguments);t.shift(),setTimeout((function(){e.apply(null,t)}),0)},t.platform=t.arch=t.execPath=t.title="browser",t.pid=1,t.browser=!0,t.env={},t.argv=[],t.binding=function(e){throw new Error("No such module. (Possibly not yet loaded)")},function(){var e,n="/";t.cwd=function(){return n},t.chdir=function(t){e||(e=r("cad9")),n=e.resolve(t,n)}}(),t.exit=t.kill=t.umask=t.dlopen=t.uptime=t.memoryUsage=t.uvCounters=function(){},t.features={}},"112f":function(e,t,r){"use strict";var n=r("7de8").version,a={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){a[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}}));var o={};function s(e,t,r){if("object"!==typeof e)throw new TypeError("options must be an object");var n=Object.keys(e),a=n.length;while(a-- >0){var o=n[a],s=t[o];if(s){var c=e[o],i=void 0===c||s(c,o,e);if(!0!==i)throw new TypeError("option "+o+" must be "+i)}else if(!0!==r)throw Error("Unknown option "+o)}}a.transitional=function(e,t,r){function a(e,t){return"[Axios v"+n+"] Transitional option '"+e+"'"+t+(r?". "+r:"")}return function(r,n,s){if(!1===e)throw new Error(a(n," has been removed"+(t?" in "+t:"")));return t&&!o[n]&&(o[n]=!0,console.warn(a(n," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(r,n,s)}},e.exports={assertOptions:s,validators:a}},"122c":function(e,t,r){"use strict";var n=r("8a5d");e.exports=function(e){return n.isObject(e)&&!0===e.isAxiosError}},1464:function(e,t,r){"use strict";e.exports=function(e,t){return function(){for(var r=new Array(arguments.length),n=0;n<r.length;n++)r[n]=arguments[n];return e.apply(t,r)}}},1501:function(e,t,r){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},"1dba":function(e,t,r){e.exports=r("46c8")},2005:function(e,t,r){var n=r("b93d");e.exports=/MSIE|Trident/.test(n)},"26fa":function(e,t,r){"use strict";r("205b"),r("ef5f");var n=r("1dba"),a=r.n(n);r("03aa"),r("afda"),r("cc70"),r("e1e0"),r("2e6d"),r("b30e"),r("ddf3");function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?s(Object(r),!0).forEach((function(t){o(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}r("5a0e");function i(e){var t=e.$http,r=localStorage.getItem("accessToken");r?t.defaults.headers.common.Authorization="Bearer ".concat(r):delete t.defaults.headers.common.Authorization}var u=function(e){var t=e.$http;i({$http:t}),t.interceptors.request.use((function(e){return i({$http:t}),e}),(function(e){return Promise.reject(e)})),t.interceptors.response.use((function(e){return e}),(function(e){if(console.log("inside interceptor"),console.warn(e.message,c({},e)),!e||!e.response||!e.response.config)return Promise.reject(e);if(e.response&&e.response.config&&"newRelic"===e.response.config.requestName)return Promise.reject(e);try{console.log("error.response.status ".concat(e.response.status)),(e.response&&401===e.response.status||e.response&&403===e.response.status)&&(alert("Oops! Your session expired. Please log in again!"),window.location.reload())}catch(t){try{console.warn(t,c({},t)),console.warn(JSON.stringify(c({},t)))}catch(r){console.warn(r)}alert("Generic error")}return Promise.reject(e)}))},f="poc",l=window.location.host;console.log(" solidify ".concat(l)),"dev.genome.genpact.com"===l?f="dev":"uat.genome.genpact.com"===l?f="uat":"genome-eda-rel.azurewebsites.net"===l?f="prod":l.includes("localhost")&&(f="local");var p="";p="local"===f?"http://localhost:3000/local/genome-solidify-api-svc":"https://api-router.azurefd.net/".concat(f,"/aws/api/genome/solidify"),console.log(" solidify ".concat(p)),a.a.defaults.baseURL=p,a.a.defaults.headers.common["x-oauth-config-provider"]="cognito-aps1",u({$http:a.a});t["a"]=a.a},2998:function(e,t,r){"use strict";var n=r("8a5d");e.exports=n.isStandardBrowserEnv()?function(){return{write:function(e,t,r,a,o,s){var c=[];c.push(e+"="+encodeURIComponent(t)),n.isNumber(r)&&c.push("expires="+new Date(r).toGMTString()),n.isString(a)&&c.push("path="+a),n.isString(o)&&c.push("domain="+o),!0===s&&c.push("secure"),document.cookie=c.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}()},"2a7d":function(e,t,r){"use strict";var n=r("f5dc"),a=r("924c"),o=r("fe05"),s=r("5e63"),c=r("7c7b"),i=r("7096"),u=r("301e"),f=r("b7d8"),l=r("88a7"),p=r("e646"),d=r("2005"),h=r("5fb4"),v=r("a3aa"),b=[],m=a(b.sort),g=a(b.push),y=u((function(){b.sort(void 0)})),x=u((function(){b.sort(null)})),w=l("sort"),O=!u((function(){if(h)return h<70;if(!(p&&p>3)){if(d)return!0;if(v)return v<603;var e,t,r,n,a="";for(e=65;e<76;e++){switch(t=String.fromCharCode(e),e){case 66:case 69:case 70:case 72:r=3;break;case 68:case 71:r=4;break;default:r=2}for(n=0;n<47;n++)b.push({k:t+n,v:r})}for(b.sort((function(e,t){return t.v-e.v})),n=0;n<b.length;n++)t=b[n].k.charAt(0),a.charAt(a.length-1)!==t&&(a+=t);return"DGBEFHACIJK"!==a}})),j=y||!x||!w||!O,k=function(e){return function(t,r){return void 0===r?-1:void 0===t?1:void 0!==e?+e(t,r)||0:i(t)>i(r)?1:-1}};n({target:"Array",proto:!0,forced:j},{sort:function(e){void 0!==e&&o(e);var t=s(this);if(O)return void 0===e?m(t):m(t,e);var r,n,a=[],i=c(t);for(n=0;n<i;n++)n in t&&g(a,t[n]);f(a,k(e)),r=a.length,n=0;while(n<r)t[n]=a[n++];while(n<i)delete t[n++];return t}})},"2e6d":function(e,t,r){var n=r("f5dc"),a=r("301e"),o=r("103b"),s=r("c9c8").f,c=r("5025"),i=a((function(){s(1)})),u=!c||i;n({target:"Object",stat:!0,forced:u,sham:!c},{getOwnPropertyDescriptor:function(e,t){return s(o(e),t)}})},"386e":function(e,t,r){"use strict";var n=r("8a5d");e.exports=function(e,t){n.forEach(e,(function(r,n){n!==t&&n.toUpperCase()===t.toUpperCase()&&(e[t]=r,delete e[n])}))}},"3884e":function(e,t,r){"use strict";var n=r("8a5d");function a(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,r){if(!t)return e;var o;if(r)o=r(t);else if(n.isURLSearchParams(t))o=t.toString();else{var s=[];n.forEach(t,(function(e,t){null!==e&&"undefined"!==typeof e&&(n.isArray(e)?t+="[]":e=[e],n.forEach(e,(function(e){n.isDate(e)?e=e.toISOString():n.isObject(e)&&(e=JSON.stringify(e)),s.push(a(t)+"="+a(e))})))})),o=s.join("&")}if(o){var c=e.indexOf("#");-1!==c&&(e=e.slice(0,c)),e+=(-1===e.indexOf("?")?"?":"&")+o}return e}},"46c8":function(e,t,r){"use strict";var n=r("8a5d"),a=r("1464"),o=r("6c7d"),s=r("76b7"),c=r("cc3a");function i(e){var t=new o(e),r=a(o.prototype.request,t);return n.extend(r,o.prototype,t),n.extend(r,t),r.create=function(t){return i(s(e,t))},r}var u=i(c);u.Axios=o,u.Cancel=r("82ac"),u.CancelToken=r("823a"),u.isCancel=r("0323"),u.VERSION=r("7de8").version,u.all=function(e){return Promise.all(e)},u.spread=r("c279"),u.isAxiosError=r("122c"),e.exports=u,e.exports.default=u},"4af6":function(e,t,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"];e.exports=function(e){var t,r,o,s={};return e?(n.forEach(e.split("\n"),(function(e){if(o=e.indexOf(":"),t=n.trim(e.substr(0,o)).toLowerCase(),r=n.trim(e.substr(o+1)),t){if(s[t]&&a.indexOf(t)>=0)return;s[t]="set-cookie"===t?(s[t]?s[t]:[]).concat([r]):s[t]?s[t]+", "+r:r}})),s):s}},"5cd4":function(e,t,r){"use strict";var n=r("8a5d"),a=r("cc3a");e.exports=function(e,t,r){var o=this||a;return n.forEach(r,(function(r){e=r.call(o,e,t)})),e}},"5df9":function(e,t,r){"use strict";var n=r("8a5d");function a(){this.handlers=[]}a.prototype.use=function(e,t,r){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1},a.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},a.prototype.forEach=function(e){n.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=a},6136:function(e,t,r){"use strict";e.exports=function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}},6235:function(e,t,r){"use strict";r.d(t,"c",(function(){return s})),r.d(t,"d",(function(){return c})),r.d(t,"b",(function(){return i})),r.d(t,"a",(function(){return u}));var n=r("d93a"),a=r("960f"),o=(r("4683"),r("26fa")),s=function(){var e=Object(a["a"])(Object(n["a"])().mark((function e(t,r){var a;return Object(n["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,o["a"].post(t,r);case 2:return a=e.sent,e.abrupt("return",a);case 4:case"end":return e.stop()}}),e)})));return function(t,r){return e.apply(this,arguments)}}(),c=function(){var e=Object(a["a"])(Object(n["a"])().mark((function e(t){var r;return Object(n["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,o["a"].get(t).then((function(e){return r=e.data,r}));case 2:return e.abrupt("return",r);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),i=function(){var e=Object(a["a"])(Object(n["a"])().mark((function e(t,r){var a;return Object(n["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,o["a"].get("".concat(t,"/").concat(r)).then((function(e){return a=e.data.allProxyList,a}));case 2:return e.abrupt("return",a);case 3:case"end":return e.stop()}}),e)})));return function(t,r){return e.apply(this,arguments)}}(),u=function(){var e=Object(a["a"])(Object(n["a"])().mark((function e(t,r){var a;return Object(n["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,o["a"].post(t,r).then((function(e){return a=e.data.allProxyList,a}));case 2:return e.abrupt("return",a);case 3:case"end":return e.stop()}}),e)})));return function(t,r){return e.apply(this,arguments)}}()},"639e":function(e,t,r){"use strict";var n=r("6136"),a=r("1501");e.exports=function(e,t){return e&&!n(t)?a(e,t):t}},"6c7d":function(e,t,r){"use strict";var n=r("8a5d"),a=r("3884e"),o=r("5df9"),s=r("93f9"),c=r("76b7"),i=r("112f"),u=i.validators;function f(e){this.defaults=e,this.interceptors={request:new o,response:new o}}f.prototype.request=function(e,t){if("string"===typeof e?(t=t||{},t.url=e):t=e||{},!t.url)throw new Error("Provided config url is not valid");t=c(this.defaults,t),t.method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var r=t.transitional;void 0!==r&&i.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(e){"function"===typeof e.runWhen&&!1===e.runWhen(t)||(a=a&&e.synchronous,n.unshift(e.fulfilled,e.rejected))}));var o,f=[];if(this.interceptors.response.forEach((function(e){f.push(e.fulfilled,e.rejected)})),!a){var l=[s,void 0];Array.prototype.unshift.apply(l,n),l=l.concat(f),o=Promise.resolve(t);while(l.length)o=o.then(l.shift(),l.shift());return o}var p=t;while(n.length){var d=n.shift(),h=n.shift();try{p=d(p)}catch(v){h(v);break}}try{o=s(p)}catch(v){return Promise.reject(v)}while(f.length)o=o.then(f.shift(),f.shift());return o},f.prototype.getUri=function(e){if(!e.url)throw new Error("Provided config url is not valid");return e=c(this.defaults,e),a(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},n.forEach(["delete","get","head","options"],(function(e){f.prototype[e]=function(t,r){return this.request(c(r||{},{method:e,url:t,data:(r||{}).data}))}})),n.forEach(["post","put","patch"],(function(e){f.prototype[e]=function(t,r,n){return this.request(c(n||{},{method:e,url:t,data:r}))}})),e.exports=f},"76b7":function(e,t,r){"use strict";var n=r("8a5d");e.exports=function(e,t){t=t||{};var r={};function a(e,t){return n.isPlainObject(e)&&n.isPlainObject(t)?n.merge(e,t):n.isPlainObject(t)?n.merge({},t):n.isArray(t)?t.slice():t}function o(r){return n.isUndefined(t[r])?n.isUndefined(e[r])?void 0:a(void 0,e[r]):a(e[r],t[r])}function s(e){if(!n.isUndefined(t[e]))return a(void 0,t[e])}function c(r){return n.isUndefined(t[r])?n.isUndefined(e[r])?void 0:a(void 0,e[r]):a(void 0,t[r])}function i(r){return r in t?a(e[r],t[r]):r in e?a(void 0,e[r]):void 0}var u={url:s,method:s,data:s,baseURL:c,transformRequest:c,transformResponse:c,paramsSerializer:c,timeout:c,timeoutMessage:c,withCredentials:c,adapter:c,responseType:c,xsrfCookieName:c,xsrfHeaderName:c,onUploadProgress:c,onDownloadProgress:c,decompress:c,maxContentLength:c,maxBodyLength:c,transport:c,httpAgent:c,httpsAgent:c,cancelToken:c,socketPath:c,responseEncoding:c,validateStatus:i};return n.forEach(Object.keys(e).concat(Object.keys(t)),(function(e){var t=u[e]||o,a=t(e);n.isUndefined(a)&&t!==i||(r[e]=a)})),r}},7750:function(e,t,r){"use strict";r.r(t);var n=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"admin"},[e.showScreen?n("div",{staticClass:"container w-full flex flex-wrap mx-auto px-2 pt-8 lg:pt-16 md:pt-16 mt-10"},[e._m(0),n("div",{staticClass:"w-full mt-4"},[n("div",{staticClass:"max-w-6xl m-auto shadow p-4 text-background-secondary"},[n("div",{staticClass:"flex w-full mt-6"},[n("div",{staticClass:"w-full pr-3 mb-4"},[n("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[e._v(" Skill ")]),n("select",{staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",on:{change:function(t){return e.getSelectedSkill(t)}}},[n("option",[e._v("Select Skill")]),e._l(e.skills,(function(t){return n("option",{key:t.skill_id,domProps:{value:t.skill_id}},[e._v(e._s(t.skill_alias))])}))],2)]),n("div",{staticClass:"w-full pr-3 mb-4"},[n("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[e._v(" Proficiency ")]),n("select",{staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",on:{change:function(t){return e.getSelectedProficiency(t)}}},[n("option",[e._v("Select Proficiency")]),e._l(e.proficiency,(function(t){return n("option",{key:t.prof_id,domProps:{value:t.prof_id}},[e._v(e._s(t.prof_name))])}))],2)]),n("div",{staticClass:"w-full mb-4"},[n("button",{staticClass:"mt-8 inline-block py-2 px-4 text-white shadow-md bg-background-secondary",on:{click:function(t){return e.getLearnerForProxy()}}},[e._v("Search Learner")])])]),e.proxyButtonVisible?n("div",{staticClass:"flex w-full mt-6"},[n("div",{staticClass:"w-1/4 pr-3 mb-4"},[n("button",{staticClass:"mt-2 inline-block py-2 px-4 text-white shadow-md bg-background-secondary",on:{click:function(t){return e.showProxy()}}},[e._v("View available Proxy")])])]):e._e(),e.learnerData?n("div",{staticClass:"flex w-full"},[n("div",{staticClass:"w-full mt-4 tableScroll"},[n("table",{staticClass:"w-full text-md bg-white rounded"},[e._m(1),n("tbody",{staticClass:"opacity-80 -text-blue-800 align-bottom"},e._l(e.learnerData,(function(t){return n("tr",{key:t.id,staticClass:"border-b hover:bg-gray-300"},[n("td",{staticClass:"py-2 pl-3 pr-0 text-sm w-6"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.selectedTaskId,expression:"selectedTaskId"}],attrs:{type:"checkbox",disabled:e.selectedTaskId.length>4,id:t.learner_task_id},domProps:{value:t.learner_task_id,checked:Array.isArray(e.selectedTaskId)?e._i(e.selectedTaskId,t.learner_task_id)>-1:e.selectedTaskId},on:{change:[function(r){var n=e.selectedTaskId,a=r.target,o=!!a.checked;if(Array.isArray(n)){var s=t.learner_task_id,c=e._i(n,s);a.checked?c<0&&(e.selectedTaskId=n.concat([s])):c>-1&&(e.selectedTaskId=n.slice(0,c).concat(n.slice(c+1)))}else e.selectedTaskId=o},function(t){return e.setProxyBtn(t)}]}})]),n("td",{staticClass:"p-2 px-3"},[e._v(e._s(t.learner_task_id))]),n("td",{staticClass:"p-2 px-3"},[e._v(e._s(t.proxy_requested_date))]),n("td",{staticClass:"p-2 px-3"},[e._v(e._s(t.submission_date))]),n("td",{staticClass:"p-2 px-3"},[e._v(e._s(t.ageing))])])})),0)])])]):e._e(),e.isVisible?n("div",{staticClass:"w-full mt-4%"},[n("div",{staticClass:"text-center text-3xl text-background-secondary"},[e._v("Available Proxy")]),e.proxyAssignedBtn?n("div",{staticClass:"w-1/4 pr-3 mb-4"},[n("button",{staticClass:"mt-2 inline-block py-2 px-4 text-white shadow-md bg-background-secondary",on:{click:function(t){return e.assignLearnerToProxy()}}},[e._v("Assign Proxy")])]):e._e(),n("div",{staticClass:"w-full mt-4"},[n("table",{staticClass:"w-full text-md bg-white shadow rounded text-over"},[e._m(2),n("tbody",{staticClass:"opacity-80 -text-blue-800 align-bottom"},e._l(e.proxyList,(function(t){return n("tr",{key:t.proxy_ohr,staticClass:"border-b hover:bg-gray-300"},[n("td",{staticClass:"py-2 pl-3 pr-0 text-sm w-6"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.selectedProxyOhr,expression:"selectedProxyOhr"}],attrs:{type:"checkbox",id:t.proxy_ohr},domProps:{value:t.proxy_ohr,checked:Array.isArray(e.selectedProxyOhr)?e._i(e.selectedProxyOhr,t.proxy_ohr)>-1:e.selectedProxyOhr},on:{change:[function(r){var n=e.selectedProxyOhr,a=r.target,o=!!a.checked;if(Array.isArray(n)){var s=t.proxy_ohr,c=e._i(n,s);a.checked?c<0&&(e.selectedProxyOhr=n.concat([s])):c>-1&&(e.selectedProxyOhr=n.slice(0,c).concat(n.slice(c+1)))}else e.selectedProxyOhr=o},function(t){return e.showAssignProxyBtn(t)}],click:e.checkOne}})]),n("td",{staticClass:"p-2 px-3"},[e._v(e._s(t.email))]),n("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v(e._s(t.proxy_ohr))])])})),0)])])]):e._e()])]),e.renderReady?e._e():n("div",{staticClass:"flex flex-col h-min-screen justify-center text-center pageLoader"},[n("img",{staticClass:"mb-8 block mx-auto loadercss mt-3%",attrs:{src:r("9d04"),alt:"Loader Gif"}}),n("p",{staticClass:"mx-auto mb-10 leading-normal px-4 loadertextcss ext-genpact-darkest-blue"},[e._v("Loading...")])])]):n("div",{staticClass:"container w-full flex flex-wrap mx-auto px-2 pt-8 lg:pt-16 md:pt-16 mt-10"},[e._v("You don't have access")])])},a=[function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"w-full"},[r("div",{staticClass:"text-center text-3xl text-background-secondary"},[e._v("Assign Proxy")])])},function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("thead",{staticClass:"opacity-90 -text-blue-800"},[r("tr",{staticClass:"border-b"},[r("th",{staticClass:"text-left py-2 pl-3 pr-0 w-6 text-background-secondary"}),r("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("ID - Learner Activities")]),r("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Proxy Reviewer Requested Date")]),r("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Task Submission Date")]),r("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Ageing")])])])},function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("thead",{staticClass:"opacity-90 -text-blue-800"},[r("tr",{staticClass:"border-b"},[r("th",{staticClass:"text-left py-2 pl-3 pr-0 w-6 text-background-secondary"}),r("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Email")]),r("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("OHR")])])])}],o=r("d93a"),s=r("960f"),c=(r("2a7d"),r("205b"),r("ef5f"),r("4687")),i=r("f9e0"),u=r.n(i),f=r("8596"),l=r("6235"),p=Object(c["b"])({name:"AssignProxy",setup:function(){var e=Object(c["f"])(),t=Object(c["f"])(),r=Object(c["f"])(),n=Object(c["f"])(),a=Object(c["f"])(),i=Object(c["f"])(),p=Object(c["f"])(!1),d=Object(c["f"])(!1),h=Object(c["f"])(),v=Object(c["f"])([]),b=Object(c["f"])(),m=Object(c["f"])(!1),g=Object(c["f"])(),y=Object(c["f"])(!0),x=function(){b.value=[]},w=function(e){var t=e.target.checked;!0===t?(console.log("selected Task id",v.value),d.value=!0):0===v.value.length&&(d.value=!1,p.value=!1)},O={},j=function(){var e=Object(s["a"])(Object(o["a"])().mark((function e(){var a;return Object(o["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return n.value=!1,e.next=3,Object(l["d"])("/getAllSkillProf ");case 3:a=e.sent,t.value=a.skill,r.value=a.proficiency,n.value=!0;case 7:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),k=function(){var t=Object(s["a"])(Object(o["a"])().mark((function t(){var r,a,s,c,i,f;return Object(o["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(t.prev=0,!O.skill||!O.proficiency){t.next=16;break}return n.value=!1,t.next=5,x();case 5:return v.value=[],d.value=!1,t.next=9,Object(l["c"])("/learnerTaskToProxyAssign",O);case 9:if(r=t.sent,a=r.data,e.value=a.learnerToProxyAssign,e.value){for(s=0;s<e.value.length;s+=1)c=e.value[s],i=u()().utc().format("YYYY-MM-DD"),c.proxy_requested_date&&(f=u()(c.proxy_requested_date).utc().format("YYYY-MM-DD"),c.ageing=u()(i).diff(u()(f),"days"),c.proxy_requested_date=u()(c.proxy_requested_date).format("DD-MM-YYYY")),c.submission_date&&(c.submission_date=u()(c.submission_date).format("DD-MM-YYYY"));e.value=e.value.sort((function(e,t){return t.ageing-e.ageing}))}p.value=!1,console.log("Learner Data",e.value),n.value=!0;case 16:t.next=21;break;case 18:t.prev=18,t.t0=t["catch"](0),console.log(t.t0);case 21:case"end":return t.stop()}}),t,null,[[0,18]])})));return function(){return t.apply(this,arguments)}}(),_=function(){var e=Object(s["a"])(Object(o["a"])().mark((function e(t){return Object(o["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:a.value=t.target.value,Object.assign(O,{skill:a.value});case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),C=function(){var e=Object(s["a"])(Object(o["a"])().mark((function e(t){return Object(o["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:i.value=t.target.value,Object.assign(O,{proficiency:i.value});case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),P=function(){var e=Object(s["a"])(Object(o["a"])().mark((function e(){return Object(o["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return p.value=!0,n.value=!1,e.next=4,Object(l["b"])("/getAllProxyBySkill",a.value);case 4:h.value=e.sent,n.value=!0,console.log("Proxy List",h.value);case 7:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),A=function(){var e=Object(s["a"])(Object(o["a"])().mark((function e(t){var r;return Object(o["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:r=t.target.checked,m.value=!0===r;case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),S=function(){var e=Object(s["a"])(Object(o["a"])().mark((function e(){var t,r;return Object(o["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,n.value=!1,t={proxy_key:b.value[0],learners:v.value,skill:a.value,proficiency:i.value},console.log("Selected Data",t),e.next=6,Object(l["a"])("/proxyreview",t);case 6:return r=e.sent,p.value=!1,e.next=10,k();case 10:n.value=!0,console.log("data ohr",r),e.next=17;break;case 14:e.prev=14,e.t0=e["catch"](0),console.log("data ohr",e.t0);case 17:case"end":return e.stop()}}),e,null,[[0,14]])})));return function(){return e.apply(this,arguments)}}();return Object(c["c"])(Object(s["a"])(Object(o["a"])().mark((function e(){var t;return Object(o["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(f["f"])("/getUserRole");case 2:t=e.sent,g.value=t.user_roles,g.value.length>0&&(console.log("inside length"),g.value.includes("System Admin")||g.value.includes("Proxy Admin")||g.value.includes("Community Manager")?(y.value=!0,j()):y.value=!1);case 5:case"end":return e.stop()}}),e)})))),{learnerData:e,skills:t,proficiency:r,renderReady:n,getSelectedSkill:_,getSelectedProficiency:C,isVisible:p,showProxy:P,getSkillandProf:j,getLearnerForProxy:k,selectedTaskId:v,proxyButtonVisible:d,setProxyBtn:w,proxyList:h,selectedProxyOhr:b,checkOne:x,showAssignProxyBtn:A,proxyAssignedBtn:m,assignLearnerToProxy:S,showScreen:y}}}),d=p,h=(r("78e2"),r("b709")),v=Object(h["a"])(d,n,a,!1,null,"61965374",null);t["default"]=v.exports},"78e2":function(e,t,r){"use strict";r("eb2c")},"7de8":function(e,t){e.exports={version:"0.25.0"}},"7f31":function(e,t,r){"use strict";var n=r("8a5d");e.exports=n.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");function a(e){var n=e;return t&&(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 e=a(window.location.href),function(t){var r=n.isString(t)?a(t):t;return r.protocol===e.protocol&&r.host===e.host}}():function(){return function(){return!0}}()},"823a":function(e,t,r){"use strict";var n=r("82ac");function a(e){if("function"!==typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var r=this;this.promise.then((function(e){if(r._listeners){var t,n=r._listeners.length;for(t=0;t<n;t++)r._listeners[t](e);r._listeners=null}})),this.promise.then=function(e){var t,n=new Promise((function(e){r.subscribe(e),t=e})).then(e);return n.cancel=function(){r.unsubscribe(t)},n},e((function(e){r.reason||(r.reason=new n(e),t(r.reason))}))}a.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},a.prototype.subscribe=function(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]},a.prototype.unsubscribe=function(e){if(this._listeners){var t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}},a.source=function(){var e,t=new a((function(t){e=t}));return{token:t,cancel:e}},e.exports=a},"82ac":function(e,t,r){"use strict";function n(e){this.message=e}n.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},n.prototype.__CANCEL__=!0,e.exports=n},8596:function(e,t,r){"use strict";r.d(t,"x",(function(){return s})),r.d(t,"s",(function(){return c})),r.d(t,"t",(function(){return i})),r.d(t,"d",(function(){return u})),r.d(t,"w",(function(){return f})),r.d(t,"y",(function(){return l})),r.d(t,"q",(function(){return p})),r.d(t,"r",(function(){return d})),r.d(t,"e",(function(){return h})),r.d(t,"u",(function(){return v})),r.d(t,"g",(function(){return b})),r.d(t,"i",(function(){return m})),r.d(t,"p",(function(){return g})),r.d(t,"n",(function(){return y})),r.d(t,"o",(function(){return x})),r.d(t,"l",(function(){return w})),r.d(t,"j",(function(){return O})),r.d(t,"k",(function(){return j})),r.d(t,"z",(function(){return k})),r.d(t,"B",(function(){return _})),r.d(t,"v",(function(){return C})),r.d(t,"m",(function(){return P})),r.d(t,"h",(function(){return A})),r.d(t,"f",(function(){return S})),r.d(t,"a",(function(){return E})),r.d(t,"A",(function(){return T})),r.d(t,"b",(function(){return R})),r.d(t,"c",(function(){return N}));var n=r("d93a"),a=r("960f"),o=r("26fa"),s=function(){var e=Object(a["a"])(Object(n["a"])().mark((function e(t){var r;return Object(n["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,o["a"].get(t).then((function(e){return r=e.data,r}));case 2:return e.abrupt("return",r);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),c=function(){var e=Object(a["a"])(Object(n["a"])().mark((function e(t){var r;return Object(n["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,o["a"].get(t).then((function(e){return r=e.data,r}));case 2:return e.abrupt("return",r);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),i=function(){var e=Object(a["a"])(Object(n["a"])().mark((function e(t){var r;return Object(n["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,o["a"].get(t).then((function(e){return r=e.data,r}));case 2:return e.abrupt("return",r);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),u=function(){var e=Object(a["a"])(Object(n["a"])().mark((function e(t){var r;return Object(n["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,o["a"].get(t).then((function(e){return r=e.data,r}));case 2:return e.abrupt("return",r);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),f=function(){var e=Object(a["a"])(Object(n["a"])().mark((function e(t){var r;return Object(n["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,o["a"].get(t).then((function(e){return r=e.data,r}));case 2:return e.abrupt("return",r);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),l=function(){var e=Object(a["a"])(Object(n["a"])().mark((function e(t){var r;return Object(n["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,o["a"].get(t).then((function(e){return r=e.data,r}));case 2:return e.abrupt("return",r);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),p=function(){var e=Object(a["a"])(Object(n["a"])().mark((function e(t){var r;return Object(n["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,o["a"].get(t).then((function(e){return r=e.data,r}));case 2:return e.abrupt("return",r);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),d=function(){var e=Object(a["a"])(Object(n["a"])().mark((function e(t){var r;return Object(n["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,o["a"].get(t).then((function(e){return r=e.data,r}));case 2:return e.abrupt("return",r);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),h=function(){var e=Object(a["a"])(Object(n["a"])().mark((function e(t){var r;return Object(n["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,o["a"].get(t).then((function(e){return r=e.data,r}));case 2:return e.abrupt("return",r);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),v=function(){var e=Object(a["a"])(Object(n["a"])().mark((function e(t){var r;return Object(n["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,o["a"].get(t).then((function(e){return r=e.data,r}));case 2:return e.abrupt("return",r);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),b=function(){var e=Object(a["a"])(Object(n["a"])().mark((function e(t){var r;return Object(n["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,o["a"].get(t).then((function(e){return r=e.data,r}));case 2:return e.abrupt("return",r);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),m=function(){var e=Object(a["a"])(Object(n["a"])().mark((function e(t){var r;return Object(n["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,o["a"].get(t).then((function(e){return r=e.data,r}));case 2:return e.abrupt("return",r);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),g=function(){var e=Object(a["a"])(Object(n["a"])().mark((function e(t){var r;return Object(n["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,o["a"].get(t).then((function(e){return r=e.data.userObj,r}));case 2:return e.abrupt("return",r);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),y=function(){var e=Object(a["a"])(Object(n["a"])().mark((function e(t){var r;return Object(n["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,o["a"].get(t).then((function(e){return r=e.data.userObj,r}));case 2:return e.abrupt("return",r);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),x=function(){var e=Object(a["a"])(Object(n["a"])().mark((function e(t){var r;return Object(n["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,o["a"].get(t).then((function(e){return r=e.data.userObj,r}));case 2:return e.abrupt("return",r);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),w=function(){var e=Object(a["a"])(Object(n["a"])().mark((function e(t){var r;return Object(n["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,o["a"].get(t).then((function(e){return r=e.data,r}));case 2:return e.abrupt("return",r);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),O=function(){var e=Object(a["a"])(Object(n["a"])().mark((function e(t){var r;return Object(n["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,o["a"].get(t).then((function(e){return r=e.data,r}));case 2:return e.abrupt("return",r);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),j=function(){var e=Object(a["a"])(Object(n["a"])().mark((function e(t){var r;return Object(n["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,o["a"].get(t).then((function(e){return r=e.data,r}));case 2:return e.abrupt("return",r);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),k=function(){var e=Object(a["a"])(Object(n["a"])().mark((function e(t){var r;return Object(n["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,o["a"].get(t);case 2:return r=e.sent,e.abrupt("return",r);case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),_=function(){var e=Object(a["a"])(Object(n["a"])().mark((function e(t){var r;return Object(n["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,o["a"].get(t);case 2:return r=e.sent,e.abrupt("return",r);case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),C=function(){var e=Object(a["a"])(Object(n["a"])().mark((function e(t){var r;return Object(n["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,o["a"].get(t);case 2:return r=e.sent,e.abrupt("return",r);case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),P=function(){var e=Object(a["a"])(Object(n["a"])().mark((function e(t){var r;return Object(n["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,o["a"].get(t).then((function(e){return r=e.data,r}));case 2:return e.abrupt("return",r);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),A=function(){var e=Object(a["a"])(Object(n["a"])().mark((function e(t){var r;return Object(n["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,o["a"].get(t).then((function(e){return r=e.data,r}));case 2:return e.abrupt("return",r);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),S=function(){var e=Object(a["a"])(Object(n["a"])().mark((function e(t){var r;return Object(n["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,o["a"].get(t).then((function(e){return r=e.data.userObj,r}));case 2:return e.abrupt("return",r);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),E=function(){var e=Object(a["a"])(Object(n["a"])().mark((function e(t){var r;return Object(n["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,o["a"].post("/user/role",t);case 2:return r=e.sent,e.abrupt("return",r);case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),T=function(){var e=Object(a["a"])(Object(n["a"])().mark((function e(t){var r;return Object(n["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,o["a"].post("/user/removeRole",t);case 2:return r=e.sent,e.abrupt("return",r);case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),R=function(){var e=Object(a["a"])(Object(n["a"])().mark((function e(){var t;return Object(n["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,o["a"].get("role");case 2:return t=e.sent,e.abrupt("return",t);case 4:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),N=function(){var e=Object(a["a"])(Object(n["a"])().mark((function e(t){var r;return Object(n["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,o["a"].post("/user/saveLSS",t);case 2:return r=e.sent,e.abrupt("return",r);case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()},"8a5d":function(e,t,r){"use strict";var n=r("1464"),a=Object.prototype.toString;function o(e){return Array.isArray(e)}function s(e){return"undefined"===typeof e}function c(e){return null!==e&&!s(e)&&null!==e.constructor&&!s(e.constructor)&&"function"===typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}function i(e){return"[object ArrayBuffer]"===a.call(e)}function u(e){return"[object FormData]"===a.call(e)}function f(e){var t;return t="undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&i(e.buffer),t}function l(e){return"string"===typeof e}function p(e){return"number"===typeof e}function d(e){return null!==e&&"object"===typeof e}function h(e){if("[object Object]"!==a.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function v(e){return"[object Date]"===a.call(e)}function b(e){return"[object File]"===a.call(e)}function m(e){return"[object Blob]"===a.call(e)}function g(e){return"[object Function]"===a.call(e)}function y(e){return d(e)&&g(e.pipe)}function x(e){return"[object URLSearchParams]"===a.call(e)}function w(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function O(){return("undefined"===typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!==typeof window&&"undefined"!==typeof document)}function j(e,t){if(null!==e&&"undefined"!==typeof e)if("object"!==typeof e&&(e=[e]),o(e))for(var r=0,n=e.length;r<n;r++)t.call(null,e[r],r,e);else for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.call(null,e[a],a,e)}function k(){var e={};function t(t,r){h(e[r])&&h(t)?e[r]=k(e[r],t):h(t)?e[r]=k({},t):o(t)?e[r]=t.slice():e[r]=t}for(var r=0,n=arguments.length;r<n;r++)j(arguments[r],t);return e}function _(e,t,r){return j(t,(function(t,a){e[a]=r&&"function"===typeof t?n(t,r):t})),e}function C(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e}e.exports={isArray:o,isArrayBuffer:i,isBuffer:c,isFormData:u,isArrayBufferView:f,isString:l,isNumber:p,isObject:d,isPlainObject:h,isUndefined:s,isDate:v,isFile:b,isBlob:m,isFunction:g,isStream:y,isURLSearchParams:x,isStandardBrowserEnv:O,forEach:j,merge:k,extend:_,trim:w,stripBOM:C}},"93f9":function(e,t,r){"use strict";var n=r("8a5d"),a=r("5cd4"),o=r("0323"),s=r("cc3a"),c=r("82ac");function i(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new c("canceled")}e.exports=function(e){i(e),e.headers=e.headers||{},e.data=a.call(e,e.data,e.headers,e.transformRequest),e.headers=n.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),n.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]}));var t=e.adapter||s.adapter;return t(e).then((function(t){return i(e),t.data=a.call(e,t.data,t.headers,e.transformResponse),t}),(function(t){return o(t)||(i(e),t&&t.response&&(t.response.data=a.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},"9d04":function(e,t,r){e.exports=r.p+"img/loadernew.gif"},a3aa:function(e,t,r){var n=r("b93d"),a=n.match(/AppleWebKit\/(\d+)\./);e.exports=!!a&&+a[1]},a417:function(e,t,r){"use strict";e.exports=function(e,t,r,n,a){return e.config=t,r&&(e.code=r),e.request=n,e.response=a,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}},e}},aa01:function(e,t,r){"use strict";var n=r("fccd");e.exports=function(e,t,r){var a=r.config.validateStatus;r.status&&a&&!a(r.status)?t(n("Request failed with status code "+r.status,r.config,null,r.request,r)):e(r)}},b7d8:function(e,t,r){var n=r("f073"),a=Math.floor,o=function(e,t){var r=e.length,i=a(r/2);return r<8?s(e,t):c(e,o(n(e,0,i),t),o(n(e,i),t),t)},s=function(e,t){var r,n,a=e.length,o=1;while(o<a){n=o,r=e[o];while(n&&t(e[n-1],r)>0)e[n]=e[--n];n!==o++&&(e[n]=r)}return e},c=function(e,t,r,n){var a=t.length,o=r.length,s=0,c=0;while(s<a||c<o)e[s+c]=s<a&&c<o?n(t[s],r[c])<=0?t[s++]:r[c++]:s<a?t[s++]:r[c++];return e};e.exports=o},c279:function(e,t,r){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},cad9:function(e,t,r){(function(e){function r(e,t){for(var r=0,n=e.length-1;n>=0;n--){var a=e[n];"."===a?e.splice(n,1):".."===a?(e.splice(n,1),r++):r&&(e.splice(n,1),r--)}if(t)for(;r--;r)e.unshift("..");return e}function n(e){"string"!==typeof e&&(e+="");var t,r=0,n=-1,a=!0;for(t=e.length-1;t>=0;--t)if(47===e.charCodeAt(t)){if(!a){r=t+1;break}}else-1===n&&(a=!1,n=t+1);return-1===n?"":e.slice(r,n)}function a(e,t){if(e.filter)return e.filter(t);for(var r=[],n=0;n<e.length;n++)t(e[n],n,e)&&r.push(e[n]);return r}t.resolve=function(){for(var t="",n=!1,o=arguments.length-1;o>=-1&&!n;o--){var s=o>=0?arguments[o]:e.cwd();if("string"!==typeof s)throw new TypeError("Arguments to path.resolve must be strings");s&&(t=s+"/"+t,n="/"===s.charAt(0))}return t=r(a(t.split("/"),(function(e){return!!e})),!n).join("/"),(n?"/":"")+t||"."},t.normalize=function(e){var n=t.isAbsolute(e),s="/"===o(e,-1);return e=r(a(e.split("/"),(function(e){return!!e})),!n).join("/"),e||n||(e="."),e&&s&&(e+="/"),(n?"/":"")+e},t.isAbsolute=function(e){return"/"===e.charAt(0)},t.join=function(){var e=Array.prototype.slice.call(arguments,0);return t.normalize(a(e,(function(e,t){if("string"!==typeof e)throw new TypeError("Arguments to path.join must be strings");return e})).join("/"))},t.relative=function(e,r){function n(e){for(var t=0;t<e.length;t++)if(""!==e[t])break;for(var r=e.length-1;r>=0;r--)if(""!==e[r])break;return t>r?[]:e.slice(t,r-t+1)}e=t.resolve(e).substr(1),r=t.resolve(r).substr(1);for(var a=n(e.split("/")),o=n(r.split("/")),s=Math.min(a.length,o.length),c=s,i=0;i<s;i++)if(a[i]!==o[i]){c=i;break}var u=[];for(i=c;i<a.length;i++)u.push("..");return u=u.concat(o.slice(c)),u.join("/")},t.sep="/",t.delimiter=":",t.dirname=function(e){if("string"!==typeof e&&(e+=""),0===e.length)return".";for(var t=e.charCodeAt(0),r=47===t,n=-1,a=!0,o=e.length-1;o>=1;--o)if(t=e.charCodeAt(o),47===t){if(!a){n=o;break}}else a=!1;return-1===n?r?"/":".":r&&1===n?"/":e.slice(0,n)},t.basename=function(e,t){var r=n(e);return t&&r.substr(-1*t.length)===t&&(r=r.substr(0,r.length-t.length)),r},t.extname=function(e){"string"!==typeof e&&(e+="");for(var t=-1,r=0,n=-1,a=!0,o=0,s=e.length-1;s>=0;--s){var c=e.charCodeAt(s);if(47!==c)-1===n&&(a=!1,n=s+1),46===c?-1===t?t=s:1!==o&&(o=1):-1!==t&&(o=-1);else if(!a){r=s+1;break}}return-1===t||-1===n||0===o||1===o&&t===n-1&&t===r+1?"":e.slice(t,n)};var o="b"==="ab".substr(-1)?function(e,t,r){return e.substr(t,r)}:function(e,t,r){return t<0&&(t=e.length+t),e.substr(t,r)}}).call(this,r("0418"))},cc3a:function(e,t,r){"use strict";(function(t){var n=r("8a5d"),a=r("386e"),o=r("a417"),s={"Content-Type":"application/x-www-form-urlencoded"};function c(e,t){!n.isUndefined(e)&&n.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}function i(){var e;return("undefined"!==typeof XMLHttpRequest||"undefined"!==typeof t&&"[object process]"===Object.prototype.toString.call(t))&&(e=r("e50c")),e}function u(e,t,r){if(n.isString(e))try{return(t||JSON.parse)(e),n.trim(e)}catch(a){if("SyntaxError"!==a.name)throw a}return(r||JSON.stringify)(e)}var f={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:i(),transformRequest:[function(e,t){return a(t,"Accept"),a(t,"Content-Type"),n.isFormData(e)||n.isArrayBuffer(e)||n.isBuffer(e)||n.isStream(e)||n.isFile(e)||n.isBlob(e)?e:n.isArrayBufferView(e)?e.buffer:n.isURLSearchParams(e)?(c(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):n.isObject(e)||t&&"application/json"===t["Content-Type"]?(c(t,"application/json"),u(e)):e}],transformResponse:[function(e){var t=this.transitional||f.transitional,r=t&&t.silentJSONParsing,a=t&&t.forcedJSONParsing,s=!r&&"json"===this.responseType;if(s||a&&n.isString(e)&&e.length)try{return JSON.parse(e)}catch(c){if(s){if("SyntaxError"===c.name)throw o(c,this,"E_JSON_PARSE");throw c}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};n.forEach(["delete","get","head"],(function(e){f.headers[e]={}})),n.forEach(["post","put","patch"],(function(e){f.headers[e]=n.merge(s)})),e.exports=f}).call(this,r("0418"))},cc70:function(e,t,r){"use strict";var n=r("f5dc"),a=r("9cc1").filter,o=r("3259"),s=o("filter");n({target:"Array",proto:!0,forced:!s},{filter:function(e){return a(this,e,arguments.length>1?arguments[1]:void 0)}})},ddf3:function(e,t,r){var n=r("f5dc"),a=r("5025"),o=r("8090"),s=r("103b"),c=r("c9c8"),i=r("4633");n({target:"Object",stat:!0,sham:!a},{getOwnPropertyDescriptors:function(e){var t,r,n=s(e),a=c.f,u=o(n),f={},l=0;while(u.length>l)r=a(n,t=u[l++]),void 0!==r&&i(f,t,r);return f}})},e046:function(e,t,r){var n=r("a8d8");t=n(!1),t.push([e.i,".pageLoader[data-v-61965374]{position:fixed;top:30%;left:42%}.tableScroll[data-v-61965374]{max-height:50vh;overflow-y:auto}",""]),e.exports=t},e50c:function(e,t,r){"use strict";var n=r("8a5d"),a=r("aa01"),o=r("2998"),s=r("3884e"),c=r("639e"),i=r("4af6"),u=r("7f31"),f=r("fccd"),l=r("cc3a"),p=r("82ac");e.exports=function(e){return new Promise((function(t,r){var d,h=e.data,v=e.headers,b=e.responseType;function m(){e.cancelToken&&e.cancelToken.unsubscribe(d),e.signal&&e.signal.removeEventListener("abort",d)}n.isFormData(h)&&delete v["Content-Type"];var g=new XMLHttpRequest;if(e.auth){var y=e.auth.username||"",x=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";v.Authorization="Basic "+btoa(y+":"+x)}var w=c(e.baseURL,e.url);function O(){if(g){var n="getAllResponseHeaders"in g?i(g.getAllResponseHeaders()):null,o=b&&"text"!==b&&"json"!==b?g.response:g.responseText,s={data:o,status:g.status,statusText:g.statusText,headers:n,config:e,request:g};a((function(e){t(e),m()}),(function(e){r(e),m()}),s),g=null}}if(g.open(e.method.toUpperCase(),s(w,e.params,e.paramsSerializer),!0),g.timeout=e.timeout,"onloadend"in g?g.onloadend=O:g.onreadystatechange=function(){g&&4===g.readyState&&(0!==g.status||g.responseURL&&0===g.responseURL.indexOf("file:"))&&setTimeout(O)},g.onabort=function(){g&&(r(f("Request aborted",e,"ECONNABORTED",g)),g=null)},g.onerror=function(){r(f("Network Error",e,null,g)),g=null},g.ontimeout=function(){var t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",n=e.transitional||l.transitional;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),r(f(t,e,n.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",g)),g=null},n.isStandardBrowserEnv()){var j=(e.withCredentials||u(w))&&e.xsrfCookieName?o.read(e.xsrfCookieName):void 0;j&&(v[e.xsrfHeaderName]=j)}"setRequestHeader"in g&&n.forEach(v,(function(e,t){"undefined"===typeof h&&"content-type"===t.toLowerCase()?delete v[t]:g.setRequestHeader(t,e)})),n.isUndefined(e.withCredentials)||(g.withCredentials=!!e.withCredentials),b&&"json"!==b&&(g.responseType=e.responseType),"function"===typeof e.onDownloadProgress&&g.addEventListener("progress",e.onDownloadProgress),"function"===typeof e.onUploadProgress&&g.upload&&g.upload.addEventListener("progress",e.onUploadProgress),(e.cancelToken||e.signal)&&(d=function(e){g&&(r(!e||e&&e.type?new p("canceled"):e),g.abort(),g=null)},e.cancelToken&&e.cancelToken.subscribe(d),e.signal&&(e.signal.aborted?d():e.signal.addEventListener("abort",d))),h||(h=null),g.send(h)}))}},e646:function(e,t,r){var n=r("b93d"),a=n.match(/firefox\/(\d+)/i);e.exports=!!a&&+a[1]},eb2c:function(e,t,r){var n=r("e046");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var a=r("c69b").default;a("392ef0d4",n,!0,{sourceMap:!1,shadowMode:!1})},fccd:function(e,t,r){"use strict";var n=r("a417");e.exports=function(e,t,r,a,o){var s=new Error(e);return n(s,t,r,a,o)}}}]);
|
|
1
|
+
(window["webpackJsonp__@genpact/genome.mfe.solidify-app"]=window["webpackJsonp__@genpact/genome.mfe.solidify-app"]||[]).push([["SolidifyAdministrationAssignProxy"],{"0323":function(e,t,r){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},"0418":function(e,t,r){t.nextTick=function(e){var t=Array.prototype.slice.call(arguments);t.shift(),setTimeout((function(){e.apply(null,t)}),0)},t.platform=t.arch=t.execPath=t.title="browser",t.pid=1,t.browser=!0,t.env={},t.argv=[],t.binding=function(e){throw new Error("No such module. (Possibly not yet loaded)")},function(){var e,n="/";t.cwd=function(){return n},t.chdir=function(t){e||(e=r("cad9")),n=e.resolve(t,n)}}(),t.exit=t.kill=t.umask=t.dlopen=t.uptime=t.memoryUsage=t.uvCounters=function(){},t.features={}},"112f":function(e,t,r){"use strict";var n=r("7de8").version,a={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){a[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}}));var o={};function s(e,t,r){if("object"!==typeof e)throw new TypeError("options must be an object");var n=Object.keys(e),a=n.length;while(a-- >0){var o=n[a],s=t[o];if(s){var c=e[o],i=void 0===c||s(c,o,e);if(!0!==i)throw new TypeError("option "+o+" must be "+i)}else if(!0!==r)throw Error("Unknown option "+o)}}a.transitional=function(e,t,r){function a(e,t){return"[Axios v"+n+"] Transitional option '"+e+"'"+t+(r?". "+r:"")}return function(r,n,s){if(!1===e)throw new Error(a(n," has been removed"+(t?" in "+t:"")));return t&&!o[n]&&(o[n]=!0,console.warn(a(n," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(r,n,s)}},e.exports={assertOptions:s,validators:a}},"122c":function(e,t,r){"use strict";var n=r("8a5d");e.exports=function(e){return n.isObject(e)&&!0===e.isAxiosError}},1464:function(e,t,r){"use strict";e.exports=function(e,t){return function(){for(var r=new Array(arguments.length),n=0;n<r.length;n++)r[n]=arguments[n];return e.apply(t,r)}}},1501:function(e,t,r){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},1513:function(e,t,r){var n=r("a700"),a=r("0889"),o=r("a464"),s=r("627a"),c=s((function(){o(1)}));n({target:"Object",stat:!0,forced:c},{keys:function(e){return o(a(e))}})},1822:function(e,t,r){"use strict";var n=r("a700"),a=r("4cdb"),o=r("f085"),s=r("0889"),c=r("a0d0"),i=r("67e0"),u=r("627a"),f=r("7a96"),l=r("a237"),p=r("9d0c"),d=r("ef55"),h=r("e4cb"),v=r("7cdc"),b=[],m=a(b.sort),g=a(b.push),y=u((function(){b.sort(void 0)})),x=u((function(){b.sort(null)})),w=l("sort"),O=!u((function(){if(h)return h<70;if(!(p&&p>3)){if(d)return!0;if(v)return v<603;var e,t,r,n,a="";for(e=65;e<76;e++){switch(t=String.fromCharCode(e),e){case 66:case 69:case 70:case 72:r=3;break;case 68:case 71:r=4;break;default:r=2}for(n=0;n<47;n++)b.push({k:t+n,v:r})}for(b.sort((function(e,t){return t.v-e.v})),n=0;n<b.length;n++)t=b[n].k.charAt(0),a.charAt(a.length-1)!==t&&(a+=t);return"DGBEFHACIJK"!==a}})),j=y||!x||!w||!O,k=function(e){return function(t,r){return void 0===r?-1:void 0===t?1:void 0!==e?+e(t,r)||0:i(t)>i(r)?1:-1}};n({target:"Array",proto:!0,forced:j},{sort:function(e){void 0!==e&&o(e);var t=s(this);if(O)return void 0===e?m(t):m(t,e);var r,n,a=[],i=c(t);for(n=0;n<i;n++)n in t&&g(a,t[n]);f(a,k(e)),r=a.length,n=0;while(n<r)t[n]=a[n++];while(n<i)delete t[n++];return t}})},"1dba":function(e,t,r){e.exports=r("46c8")},"26fa":function(e,t,r){"use strict";r("757d"),r("ab89");var n=r("1dba"),a=r.n(n);r("1513"),r("441f"),r("91ad"),r("7897"),r("e187"),r("b93b"),r("af75");function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?s(Object(r),!0).forEach((function(t){o(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}r("1204");function i(e){var t=e.$http,r=localStorage.getItem("accessToken");r?t.defaults.headers.common.Authorization="Bearer ".concat(r):delete t.defaults.headers.common.Authorization}var u=function(e){var t=e.$http;i({$http:t}),t.interceptors.request.use((function(e){return i({$http:t}),e}),(function(e){return Promise.reject(e)})),t.interceptors.response.use((function(e){return e}),(function(e){if(console.log("inside interceptor"),console.warn(e.message,c({},e)),!e||!e.response||!e.response.config)return Promise.reject(e);if(e.response&&e.response.config&&"newRelic"===e.response.config.requestName)return Promise.reject(e);try{console.log("error.response.status ".concat(e.response.status)),(e.response&&401===e.response.status||e.response&&403===e.response.status)&&(alert("Oops! Your session expired. Please log in again!"),window.location.reload())}catch(t){try{console.warn(t,c({},t)),console.warn(JSON.stringify(c({},t)))}catch(r){console.warn(r)}alert("Generic error")}return Promise.reject(e)}))},f="poc",l=window.location.host;console.log(" solidify ".concat(l)),"dev.genome.genpact.com"===l?f="dev":"uat.genome.genpact.com"===l?f="uat":"genome-eda-rel.azurewebsites.net"===l?f="prod":l.includes("localhost")&&(f="local");var p="";p="local"===f?"http://localhost:3000/local/genome-solidify-api-svc":"https://api-router.azurefd.net/".concat(f,"/aws/api/genome/solidify"),console.log(" solidify ".concat(p)),a.a.defaults.baseURL=p,a.a.defaults.headers.common["x-oauth-config-provider"]="cognito-aps1",u({$http:a.a});t["a"]=a.a},2998:function(e,t,r){"use strict";var n=r("8a5d");e.exports=n.isStandardBrowserEnv()?function(){return{write:function(e,t,r,a,o,s){var c=[];c.push(e+"="+encodeURIComponent(t)),n.isNumber(r)&&c.push("expires="+new Date(r).toGMTString()),n.isString(a)&&c.push("path="+a),n.isString(o)&&c.push("domain="+o),!0===s&&c.push("secure"),document.cookie=c.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}()},"386e":function(e,t,r){"use strict";var n=r("8a5d");e.exports=function(e,t){n.forEach(e,(function(r,n){n!==t&&n.toUpperCase()===t.toUpperCase()&&(e[t]=r,delete e[n])}))}},3884:function(e,t,r){"use strict";var n=r("8a5d");function a(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,r){if(!t)return e;var o;if(r)o=r(t);else if(n.isURLSearchParams(t))o=t.toString();else{var s=[];n.forEach(t,(function(e,t){null!==e&&"undefined"!==typeof e&&(n.isArray(e)?t+="[]":e=[e],n.forEach(e,(function(e){n.isDate(e)?e=e.toISOString():n.isObject(e)&&(e=JSON.stringify(e)),s.push(a(t)+"="+a(e))})))})),o=s.join("&")}if(o){var c=e.indexOf("#");-1!==c&&(e=e.slice(0,c)),e+=(-1===e.indexOf("?")?"?":"&")+o}return e}},"46c8":function(e,t,r){"use strict";var n=r("8a5d"),a=r("1464"),o=r("6c7d"),s=r("76b7"),c=r("cc3a");function i(e){var t=new o(e),r=a(o.prototype.request,t);return n.extend(r,o.prototype,t),n.extend(r,t),r.create=function(t){return i(s(e,t))},r}var u=i(c);u.Axios=o,u.Cancel=r("82ac"),u.CancelToken=r("823a"),u.isCancel=r("0323"),u.VERSION=r("7de8").version,u.all=function(e){return Promise.all(e)},u.spread=r("c279"),u.isAxiosError=r("122c"),e.exports=u,e.exports.default=u},"4af6":function(e,t,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"];e.exports=function(e){var t,r,o,s={};return e?(n.forEach(e.split("\n"),(function(e){if(o=e.indexOf(":"),t=n.trim(e.substr(0,o)).toLowerCase(),r=n.trim(e.substr(o+1)),t){if(s[t]&&a.indexOf(t)>=0)return;s[t]="set-cookie"===t?(s[t]?s[t]:[]).concat([r]):s[t]?s[t]+", "+r:r}})),s):s}},"5cd4":function(e,t,r){"use strict";var n=r("8a5d"),a=r("cc3a");e.exports=function(e,t,r){var o=this||a;return n.forEach(r,(function(r){e=r.call(o,e,t)})),e}},"5df9":function(e,t,r){"use strict";var n=r("8a5d");function a(){this.handlers=[]}a.prototype.use=function(e,t,r){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1},a.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},a.prototype.forEach=function(e){n.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=a},6136:function(e,t,r){"use strict";e.exports=function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}},6235:function(e,t,r){"use strict";r.d(t,"c",(function(){return s})),r.d(t,"d",(function(){return c})),r.d(t,"b",(function(){return i})),r.d(t,"a",(function(){return u}));var n=r("9da1"),a=r("e3c6"),o=(r("9d8f"),r("26fa")),s=function(){var e=Object(a["a"])(Object(n["a"])().mark((function e(t,r){var a;return Object(n["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,o["a"].post(t,r);case 2:return a=e.sent,e.abrupt("return",a);case 4:case"end":return e.stop()}}),e)})));return function(t,r){return e.apply(this,arguments)}}(),c=function(){var e=Object(a["a"])(Object(n["a"])().mark((function e(t){var r;return Object(n["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,o["a"].get(t).then((function(e){return r=e.data,r}));case 2:return e.abrupt("return",r);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),i=function(){var e=Object(a["a"])(Object(n["a"])().mark((function e(t,r){var a;return Object(n["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,o["a"].get("".concat(t,"/").concat(r)).then((function(e){return a=e.data.allProxyList,a}));case 2:return e.abrupt("return",a);case 3:case"end":return e.stop()}}),e)})));return function(t,r){return e.apply(this,arguments)}}(),u=function(){var e=Object(a["a"])(Object(n["a"])().mark((function e(t,r){var a;return Object(n["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,o["a"].post(t,r).then((function(e){return a=e.data.allProxyList,a}));case 2:return e.abrupt("return",a);case 3:case"end":return e.stop()}}),e)})));return function(t,r){return e.apply(this,arguments)}}()},"639e":function(e,t,r){"use strict";var n=r("6136"),a=r("1501");e.exports=function(e,t){return e&&!n(t)?a(e,t):t}},"6c7d":function(e,t,r){"use strict";var n=r("8a5d"),a=r("3884"),o=r("5df9"),s=r("93f9"),c=r("76b7"),i=r("112f"),u=i.validators;function f(e){this.defaults=e,this.interceptors={request:new o,response:new o}}f.prototype.request=function(e,t){if("string"===typeof e?(t=t||{},t.url=e):t=e||{},!t.url)throw new Error("Provided config url is not valid");t=c(this.defaults,t),t.method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var r=t.transitional;void 0!==r&&i.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(e){"function"===typeof e.runWhen&&!1===e.runWhen(t)||(a=a&&e.synchronous,n.unshift(e.fulfilled,e.rejected))}));var o,f=[];if(this.interceptors.response.forEach((function(e){f.push(e.fulfilled,e.rejected)})),!a){var l=[s,void 0];Array.prototype.unshift.apply(l,n),l=l.concat(f),o=Promise.resolve(t);while(l.length)o=o.then(l.shift(),l.shift());return o}var p=t;while(n.length){var d=n.shift(),h=n.shift();try{p=d(p)}catch(v){h(v);break}}try{o=s(p)}catch(v){return Promise.reject(v)}while(f.length)o=o.then(f.shift(),f.shift());return o},f.prototype.getUri=function(e){if(!e.url)throw new Error("Provided config url is not valid");return e=c(this.defaults,e),a(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},n.forEach(["delete","get","head","options"],(function(e){f.prototype[e]=function(t,r){return this.request(c(r||{},{method:e,url:t,data:(r||{}).data}))}})),n.forEach(["post","put","patch"],(function(e){f.prototype[e]=function(t,r,n){return this.request(c(n||{},{method:e,url:t,data:r}))}})),e.exports=f},"76b7":function(e,t,r){"use strict";var n=r("8a5d");e.exports=function(e,t){t=t||{};var r={};function a(e,t){return n.isPlainObject(e)&&n.isPlainObject(t)?n.merge(e,t):n.isPlainObject(t)?n.merge({},t):n.isArray(t)?t.slice():t}function o(r){return n.isUndefined(t[r])?n.isUndefined(e[r])?void 0:a(void 0,e[r]):a(e[r],t[r])}function s(e){if(!n.isUndefined(t[e]))return a(void 0,t[e])}function c(r){return n.isUndefined(t[r])?n.isUndefined(e[r])?void 0:a(void 0,e[r]):a(void 0,t[r])}function i(r){return r in t?a(e[r],t[r]):r in e?a(void 0,e[r]):void 0}var u={url:s,method:s,data:s,baseURL:c,transformRequest:c,transformResponse:c,paramsSerializer:c,timeout:c,timeoutMessage:c,withCredentials:c,adapter:c,responseType:c,xsrfCookieName:c,xsrfHeaderName:c,onUploadProgress:c,onDownloadProgress:c,decompress:c,maxContentLength:c,maxBodyLength:c,transport:c,httpAgent:c,httpsAgent:c,cancelToken:c,socketPath:c,responseEncoding:c,validateStatus:i};return n.forEach(Object.keys(e).concat(Object.keys(t)),(function(e){var t=u[e]||o,a=t(e);n.isUndefined(a)&&t!==i||(r[e]=a)})),r}},7750:function(e,t,r){"use strict";r.r(t);var n=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"admin"},[e.showScreen?n("div",{staticClass:"container w-full flex flex-wrap mx-auto px-2 pt-8 lg:pt-16 md:pt-16 mt-10"},[e._m(0),n("div",{staticClass:"w-full mt-4"},[n("div",{staticClass:"max-w-6xl m-auto shadow p-4 text-background-secondary"},[n("div",{staticClass:"flex w-full mt-6"},[n("div",{staticClass:"w-full pr-3 mb-4"},[n("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[e._v(" Skill ")]),n("select",{staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",on:{change:function(t){return e.getSelectedSkill(t)}}},[n("option",[e._v("Select Skill")]),e._l(e.skills,(function(t){return n("option",{key:t.skill_id,domProps:{value:t.skill_id}},[e._v(e._s(t.skill_alias))])}))],2)]),n("div",{staticClass:"w-full pr-3 mb-4"},[n("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[e._v(" Proficiency ")]),n("select",{staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",on:{change:function(t){return e.getSelectedProficiency(t)}}},[n("option",[e._v("Select Proficiency")]),e._l(e.proficiency,(function(t){return n("option",{key:t.prof_id,domProps:{value:t.prof_id}},[e._v(e._s(t.prof_name))])}))],2)]),n("div",{staticClass:"w-full mb-4"},[n("button",{staticClass:"mt-8 inline-block py-2 px-4 text-white shadow-md bg-background-secondary",on:{click:function(t){return e.getLearnerForProxy()}}},[e._v("Search Learner")])])]),e.proxyButtonVisible?n("div",{staticClass:"flex w-full mt-6"},[n("div",{staticClass:"w-1/4 pr-3 mb-4"},[n("button",{staticClass:"mt-2 inline-block py-2 px-4 text-white shadow-md bg-background-secondary",on:{click:function(t){return e.showProxy()}}},[e._v("View available Proxy")])])]):e._e(),e.learnerData?n("div",{staticClass:"flex w-full"},[n("div",{staticClass:"w-full mt-4 tableScroll"},[n("table",{staticClass:"w-full text-md bg-white rounded"},[e._m(1),n("tbody",{staticClass:"opacity-80 -text-blue-800 align-bottom"},e._l(e.learnerData,(function(t){return n("tr",{key:t.id,staticClass:"border-b hover:bg-gray-300"},[n("td",{staticClass:"py-2 pl-3 pr-0 text-sm w-6"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.selectedTaskId,expression:"selectedTaskId"}],attrs:{type:"checkbox",disabled:e.selectedTaskId.length>4,id:t.learner_task_id},domProps:{value:t.learner_task_id,checked:Array.isArray(e.selectedTaskId)?e._i(e.selectedTaskId,t.learner_task_id)>-1:e.selectedTaskId},on:{change:[function(r){var n=e.selectedTaskId,a=r.target,o=!!a.checked;if(Array.isArray(n)){var s=t.learner_task_id,c=e._i(n,s);a.checked?c<0&&(e.selectedTaskId=n.concat([s])):c>-1&&(e.selectedTaskId=n.slice(0,c).concat(n.slice(c+1)))}else e.selectedTaskId=o},function(t){return e.setProxyBtn(t)}]}})]),n("td",{staticClass:"p-2 px-3"},[e._v(e._s(t.learner_task_id))]),n("td",{staticClass:"p-2 px-3"},[e._v(e._s(t.proxy_requested_date))]),n("td",{staticClass:"p-2 px-3"},[e._v(e._s(t.submission_date))]),n("td",{staticClass:"p-2 px-3"},[e._v(e._s(t.ageing))])])})),0)])])]):e._e(),e.isVisible?n("div",{staticClass:"w-full mt-4%"},[n("div",{staticClass:"text-center text-3xl text-background-secondary"},[e._v("Available Proxy")]),e.proxyAssignedBtn?n("div",{staticClass:"w-1/4 pr-3 mb-4"},[n("button",{staticClass:"mt-2 inline-block py-2 px-4 text-white shadow-md bg-background-secondary",on:{click:function(t){return e.assignLearnerToProxy()}}},[e._v("Assign Proxy")])]):e._e(),n("div",{staticClass:"w-full mt-4"},[n("table",{staticClass:"w-full text-md bg-white shadow rounded text-over"},[e._m(2),n("tbody",{staticClass:"opacity-80 -text-blue-800 align-bottom"},e._l(e.proxyList,(function(t){return n("tr",{key:t.proxy_ohr,staticClass:"border-b hover:bg-gray-300"},[n("td",{staticClass:"py-2 pl-3 pr-0 text-sm w-6"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.selectedProxyOhr,expression:"selectedProxyOhr"}],attrs:{type:"checkbox",id:t.proxy_ohr},domProps:{value:t.proxy_ohr,checked:Array.isArray(e.selectedProxyOhr)?e._i(e.selectedProxyOhr,t.proxy_ohr)>-1:e.selectedProxyOhr},on:{change:[function(r){var n=e.selectedProxyOhr,a=r.target,o=!!a.checked;if(Array.isArray(n)){var s=t.proxy_ohr,c=e._i(n,s);a.checked?c<0&&(e.selectedProxyOhr=n.concat([s])):c>-1&&(e.selectedProxyOhr=n.slice(0,c).concat(n.slice(c+1)))}else e.selectedProxyOhr=o},function(t){return e.showAssignProxyBtn(t)}],click:e.checkOne}})]),n("td",{staticClass:"p-2 px-3"},[e._v(e._s(t.email))]),n("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v(e._s(t.proxy_ohr))])])})),0)])])]):e._e()])]),e.renderReady?e._e():n("div",{staticClass:"flex flex-col h-min-screen justify-center text-center pageLoader"},[n("img",{staticClass:"mb-8 block mx-auto loadercss mt-3%",attrs:{src:r("9d04"),alt:"Loader Gif"}}),n("p",{staticClass:"mx-auto mb-10 leading-normal px-4 loadertextcss ext-genpact-darkest-blue"},[e._v("Loading...")])])]):n("div",{staticClass:"container w-full flex flex-wrap mx-auto px-2 pt-8 lg:pt-16 md:pt-16 mt-10"},[e._v("You don't have access")])])},a=[function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"w-full"},[r("div",{staticClass:"text-center text-3xl text-background-secondary"},[e._v("Assign Proxy")])])},function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("thead",{staticClass:"opacity-90 -text-blue-800"},[r("tr",{staticClass:"border-b"},[r("th",{staticClass:"text-left py-2 pl-3 pr-0 w-6 text-background-secondary"}),r("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("ID - Learner Activities")]),r("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Proxy Reviewer Requested Date")]),r("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Task Submission Date")]),r("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Ageing")])])])},function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("thead",{staticClass:"opacity-90 -text-blue-800"},[r("tr",{staticClass:"border-b"},[r("th",{staticClass:"text-left py-2 pl-3 pr-0 w-6 text-background-secondary"}),r("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Email")]),r("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("OHR")])])])}],o=r("9da1"),s=r("e3c6"),c=(r("1822"),r("757d"),r("ab89"),r("b210")),i=r("f9e0"),u=r.n(i),f=r("8596"),l=r("6235"),p=Object(c["b"])({name:"AssignProxy",setup:function(){var e=Object(c["f"])(),t=Object(c["f"])(),r=Object(c["f"])(),n=Object(c["f"])(),a=Object(c["f"])(),i=Object(c["f"])(),p=Object(c["f"])(!1),d=Object(c["f"])(!1),h=Object(c["f"])(),v=Object(c["f"])([]),b=Object(c["f"])(),m=Object(c["f"])(!1),g=Object(c["f"])(),y=Object(c["f"])(!0),x=function(){b.value=[]},w=function(e){var t=e.target.checked;!0===t?(console.log("selected Task id",v.value),d.value=!0):0===v.value.length&&(d.value=!1,p.value=!1)},O={},j=function(){var e=Object(s["a"])(Object(o["a"])().mark((function e(){var a;return Object(o["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return n.value=!1,e.next=3,Object(l["d"])("/getAllSkillProf ");case 3:a=e.sent,t.value=a.skill,r.value=a.proficiency,n.value=!0;case 7:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),k=function(){var t=Object(s["a"])(Object(o["a"])().mark((function t(){var r,a,s,c,i,f;return Object(o["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(t.prev=0,!O.skill||!O.proficiency){t.next=16;break}return n.value=!1,t.next=5,x();case 5:return v.value=[],d.value=!1,t.next=9,Object(l["c"])("/learnerTaskToProxyAssign",O);case 9:if(r=t.sent,a=r.data,e.value=a.learnerToProxyAssign,e.value){for(s=0;s<e.value.length;s+=1)c=e.value[s],i=u()().utc().format("YYYY-MM-DD"),c.proxy_requested_date&&(f=u()(c.proxy_requested_date).utc().format("YYYY-MM-DD"),c.ageing=u()(i).diff(u()(f),"days"),c.proxy_requested_date=u()(c.proxy_requested_date).format("DD-MM-YYYY")),c.submission_date&&(c.submission_date=u()(c.submission_date).format("DD-MM-YYYY"));e.value=e.value.sort((function(e,t){return t.ageing-e.ageing}))}p.value=!1,console.log("Learner Data",e.value),n.value=!0;case 16:t.next=21;break;case 18:t.prev=18,t.t0=t["catch"](0),console.log(t.t0);case 21:case"end":return t.stop()}}),t,null,[[0,18]])})));return function(){return t.apply(this,arguments)}}(),_=function(){var e=Object(s["a"])(Object(o["a"])().mark((function e(t){return Object(o["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:a.value=t.target.value,Object.assign(O,{skill:a.value});case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),C=function(){var e=Object(s["a"])(Object(o["a"])().mark((function e(t){return Object(o["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:i.value=t.target.value,Object.assign(O,{proficiency:i.value});case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),P=function(){var e=Object(s["a"])(Object(o["a"])().mark((function e(){return Object(o["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return p.value=!0,n.value=!1,e.next=4,Object(l["b"])("/getAllProxyBySkill",a.value);case 4:h.value=e.sent,n.value=!0,console.log("Proxy List",h.value);case 7:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),A=function(){var e=Object(s["a"])(Object(o["a"])().mark((function e(t){var r;return Object(o["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:r=t.target.checked,m.value=!0===r;case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),S=function(){var e=Object(s["a"])(Object(o["a"])().mark((function e(){var t,r;return Object(o["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,n.value=!1,t={proxy_key:b.value[0],learners:v.value,skill:a.value,proficiency:i.value},console.log("Selected Data",t),e.next=6,Object(l["a"])("/proxyreview",t);case 6:return r=e.sent,p.value=!1,e.next=10,k();case 10:n.value=!0,console.log("data ohr",r),e.next=17;break;case 14:e.prev=14,e.t0=e["catch"](0),console.log("data ohr",e.t0);case 17:case"end":return e.stop()}}),e,null,[[0,14]])})));return function(){return e.apply(this,arguments)}}();return Object(c["c"])(Object(s["a"])(Object(o["a"])().mark((function e(){var t;return Object(o["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(f["g"])("/getUserRole");case 2:t=e.sent,g.value=t.user_roles,g.value.length>0&&(console.log("inside length"),g.value.includes("System Admin")||g.value.includes("Proxy Admin")||g.value.includes("Community Manager")?(y.value=!0,j()):y.value=!1);case 5:case"end":return e.stop()}}),e)})))),{learnerData:e,skills:t,proficiency:r,renderReady:n,getSelectedSkill:_,getSelectedProficiency:C,isVisible:p,showProxy:P,getSkillandProf:j,getLearnerForProxy:k,selectedTaskId:v,proxyButtonVisible:d,setProxyBtn:w,proxyList:h,selectedProxyOhr:b,checkOne:x,showAssignProxyBtn:A,proxyAssignedBtn:m,assignLearnerToProxy:S,showScreen:y}}}),d=p,h=(r("78e2"),r("b709")),v=Object(h["a"])(d,n,a,!1,null,"61965374",null);t["default"]=v.exports},"78e2":function(e,t,r){"use strict";r("eb2c")},"7a96":function(e,t,r){var n=r("47b7"),a=Math.floor,o=function(e,t){var r=e.length,i=a(r/2);return r<8?s(e,t):c(e,o(n(e,0,i),t),o(n(e,i),t),t)},s=function(e,t){var r,n,a=e.length,o=1;while(o<a){n=o,r=e[o];while(n&&t(e[n-1],r)>0)e[n]=e[--n];n!==o++&&(e[n]=r)}return e},c=function(e,t,r,n){var a=t.length,o=r.length,s=0,c=0;while(s<a||c<o)e[s+c]=s<a&&c<o?n(t[s],r[c])<=0?t[s++]:r[c++]:s<a?t[s++]:r[c++];return e};e.exports=o},"7cdc":function(e,t,r){var n=r("7642"),a=n.match(/AppleWebKit\/(\d+)\./);e.exports=!!a&&+a[1]},"7de8":function(e,t){e.exports={version:"0.25.0"}},"7f31":function(e,t,r){"use strict";var n=r("8a5d");e.exports=n.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");function a(e){var n=e;return t&&(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 e=a(window.location.href),function(t){var r=n.isString(t)?a(t):t;return r.protocol===e.protocol&&r.host===e.host}}():function(){return function(){return!0}}()},"823a":function(e,t,r){"use strict";var n=r("82ac");function a(e){if("function"!==typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var r=this;this.promise.then((function(e){if(r._listeners){var t,n=r._listeners.length;for(t=0;t<n;t++)r._listeners[t](e);r._listeners=null}})),this.promise.then=function(e){var t,n=new Promise((function(e){r.subscribe(e),t=e})).then(e);return n.cancel=function(){r.unsubscribe(t)},n},e((function(e){r.reason||(r.reason=new n(e),t(r.reason))}))}a.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},a.prototype.subscribe=function(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]},a.prototype.unsubscribe=function(e){if(this._listeners){var t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}},a.source=function(){var e,t=new a((function(t){e=t}));return{token:t,cancel:e}},e.exports=a},"82ac":function(e,t,r){"use strict";function n(e){this.message=e}n.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},n.prototype.__CANCEL__=!0,e.exports=n},8596:function(e,t,r){"use strict";r.d(t,"y",(function(){return s})),r.d(t,"t",(function(){return c})),r.d(t,"u",(function(){return i})),r.d(t,"e",(function(){return u})),r.d(t,"x",(function(){return f})),r.d(t,"z",(function(){return l})),r.d(t,"r",(function(){return p})),r.d(t,"s",(function(){return d})),r.d(t,"f",(function(){return h})),r.d(t,"v",(function(){return v})),r.d(t,"h",(function(){return b})),r.d(t,"j",(function(){return m})),r.d(t,"q",(function(){return g})),r.d(t,"o",(function(){return y})),r.d(t,"p",(function(){return x})),r.d(t,"m",(function(){return w})),r.d(t,"k",(function(){return O})),r.d(t,"l",(function(){return j})),r.d(t,"A",(function(){return k})),r.d(t,"C",(function(){return _})),r.d(t,"w",(function(){return C})),r.d(t,"n",(function(){return P})),r.d(t,"i",(function(){return A})),r.d(t,"g",(function(){return S})),r.d(t,"a",(function(){return E})),r.d(t,"B",(function(){return T})),r.d(t,"b",(function(){return R})),r.d(t,"d",(function(){return N})),r.d(t,"c",(function(){return L}));var n=r("9da1"),a=r("e3c6"),o=r("26fa"),s=function(){var e=Object(a["a"])(Object(n["a"])().mark((function e(t){var r;return Object(n["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,o["a"].get(t).then((function(e){return r=e.data,r}));case 2:return e.abrupt("return",r);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),c=function(){var e=Object(a["a"])(Object(n["a"])().mark((function e(t){var r;return Object(n["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,o["a"].get(t).then((function(e){return r=e.data,r}));case 2:return e.abrupt("return",r);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),i=function(){var e=Object(a["a"])(Object(n["a"])().mark((function e(t){var r;return Object(n["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,o["a"].get(t).then((function(e){return r=e.data,r}));case 2:return e.abrupt("return",r);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),u=function(){var e=Object(a["a"])(Object(n["a"])().mark((function e(t){var r;return Object(n["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,o["a"].get(t).then((function(e){return r=e.data,r}));case 2:return e.abrupt("return",r);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),f=function(){var e=Object(a["a"])(Object(n["a"])().mark((function e(t){var r;return Object(n["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,o["a"].get(t).then((function(e){return r=e.data,r}));case 2:return e.abrupt("return",r);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),l=function(){var e=Object(a["a"])(Object(n["a"])().mark((function e(t){var r;return Object(n["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,o["a"].get(t).then((function(e){return r=e.data,r}));case 2:return e.abrupt("return",r);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),p=function(){var e=Object(a["a"])(Object(n["a"])().mark((function e(t){var r;return Object(n["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,o["a"].get(t).then((function(e){return r=e.data,r}));case 2:return e.abrupt("return",r);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),d=function(){var e=Object(a["a"])(Object(n["a"])().mark((function e(t){var r;return Object(n["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,o["a"].get(t).then((function(e){return r=e.data,r}));case 2:return e.abrupt("return",r);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),h=function(){var e=Object(a["a"])(Object(n["a"])().mark((function e(t){var r;return Object(n["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,o["a"].get(t).then((function(e){return r=e.data,r}));case 2:return e.abrupt("return",r);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),v=function(){var e=Object(a["a"])(Object(n["a"])().mark((function e(t){var r;return Object(n["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,o["a"].get(t).then((function(e){return r=e.data,r}));case 2:return e.abrupt("return",r);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),b=function(){var e=Object(a["a"])(Object(n["a"])().mark((function e(t){var r;return Object(n["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,o["a"].get(t).then((function(e){return r=e.data,r}));case 2:return e.abrupt("return",r);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),m=function(){var e=Object(a["a"])(Object(n["a"])().mark((function e(t){var r;return Object(n["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,o["a"].get(t).then((function(e){return r=e.data,r}));case 2:return e.abrupt("return",r);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),g=function(){var e=Object(a["a"])(Object(n["a"])().mark((function e(t){var r;return Object(n["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,o["a"].get(t).then((function(e){return r=e.data.userObj,r}));case 2:return e.abrupt("return",r);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),y=function(){var e=Object(a["a"])(Object(n["a"])().mark((function e(t){var r;return Object(n["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,o["a"].get(t).then((function(e){return r=e.data.userObj,r}));case 2:return e.abrupt("return",r);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),x=function(){var e=Object(a["a"])(Object(n["a"])().mark((function e(t){var r;return Object(n["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,o["a"].get(t).then((function(e){return r=e.data.userObj,r}));case 2:return e.abrupt("return",r);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),w=function(){var e=Object(a["a"])(Object(n["a"])().mark((function e(t){var r;return Object(n["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,o["a"].get(t).then((function(e){return r=e.data,r}));case 2:return e.abrupt("return",r);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),O=function(){var e=Object(a["a"])(Object(n["a"])().mark((function e(t){var r;return Object(n["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,o["a"].get(t).then((function(e){return r=e.data,r}));case 2:return e.abrupt("return",r);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),j=function(){var e=Object(a["a"])(Object(n["a"])().mark((function e(t){var r;return Object(n["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,o["a"].get(t).then((function(e){return r=e.data,r}));case 2:return e.abrupt("return",r);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),k=function(){var e=Object(a["a"])(Object(n["a"])().mark((function e(t){var r;return Object(n["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,o["a"].get(t);case 2:return r=e.sent,e.abrupt("return",r);case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),_=function(){var e=Object(a["a"])(Object(n["a"])().mark((function e(t){var r;return Object(n["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,o["a"].get(t);case 2:return r=e.sent,e.abrupt("return",r);case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),C=function(){var e=Object(a["a"])(Object(n["a"])().mark((function e(t){var r;return Object(n["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,o["a"].get(t);case 2:return r=e.sent,e.abrupt("return",r);case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),P=function(){var e=Object(a["a"])(Object(n["a"])().mark((function e(t){var r;return Object(n["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,o["a"].get(t).then((function(e){return r=e.data,r}));case 2:return e.abrupt("return",r);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),A=function(){var e=Object(a["a"])(Object(n["a"])().mark((function e(t){var r;return Object(n["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,o["a"].get(t).then((function(e){return r=e.data,r}));case 2:return e.abrupt("return",r);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),S=function(){var e=Object(a["a"])(Object(n["a"])().mark((function e(t){var r;return Object(n["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,o["a"].get(t).then((function(e){return r=e.data.userObj,r}));case 2:return e.abrupt("return",r);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),E=function(){var e=Object(a["a"])(Object(n["a"])().mark((function e(t){var r;return Object(n["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,o["a"].post("/user/role",t);case 2:return r=e.sent,e.abrupt("return",r);case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),T=function(){var e=Object(a["a"])(Object(n["a"])().mark((function e(t){var r;return Object(n["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,o["a"].post("/user/removeRole",t);case 2:return r=e.sent,e.abrupt("return",r);case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),R=function(){var e=Object(a["a"])(Object(n["a"])().mark((function e(){var t;return Object(n["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,o["a"].get("role");case 2:return t=e.sent,e.abrupt("return",t);case 4:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),N=function(){var e=Object(a["a"])(Object(n["a"])().mark((function e(t){var r;return Object(n["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,o["a"].post("/user/saveLSS",t);case 2:return r=e.sent,e.abrupt("return",r);case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),L=function(){var e=Object(a["a"])(Object(n["a"])().mark((function e(t){var r;return Object(n["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,o["a"].post("/user/saveEnvAccess",t);case 2:return r=e.sent,e.abrupt("return",r);case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()},"8a5d":function(e,t,r){"use strict";var n=r("1464"),a=Object.prototype.toString;function o(e){return Array.isArray(e)}function s(e){return"undefined"===typeof e}function c(e){return null!==e&&!s(e)&&null!==e.constructor&&!s(e.constructor)&&"function"===typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}function i(e){return"[object ArrayBuffer]"===a.call(e)}function u(e){return"[object FormData]"===a.call(e)}function f(e){var t;return t="undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&i(e.buffer),t}function l(e){return"string"===typeof e}function p(e){return"number"===typeof e}function d(e){return null!==e&&"object"===typeof e}function h(e){if("[object Object]"!==a.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function v(e){return"[object Date]"===a.call(e)}function b(e){return"[object File]"===a.call(e)}function m(e){return"[object Blob]"===a.call(e)}function g(e){return"[object Function]"===a.call(e)}function y(e){return d(e)&&g(e.pipe)}function x(e){return"[object URLSearchParams]"===a.call(e)}function w(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function O(){return("undefined"===typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!==typeof window&&"undefined"!==typeof document)}function j(e,t){if(null!==e&&"undefined"!==typeof e)if("object"!==typeof e&&(e=[e]),o(e))for(var r=0,n=e.length;r<n;r++)t.call(null,e[r],r,e);else for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.call(null,e[a],a,e)}function k(){var e={};function t(t,r){h(e[r])&&h(t)?e[r]=k(e[r],t):h(t)?e[r]=k({},t):o(t)?e[r]=t.slice():e[r]=t}for(var r=0,n=arguments.length;r<n;r++)j(arguments[r],t);return e}function _(e,t,r){return j(t,(function(t,a){e[a]=r&&"function"===typeof t?n(t,r):t})),e}function C(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e}e.exports={isArray:o,isArrayBuffer:i,isBuffer:c,isFormData:u,isArrayBufferView:f,isString:l,isNumber:p,isObject:d,isPlainObject:h,isUndefined:s,isDate:v,isFile:b,isBlob:m,isFunction:g,isStream:y,isURLSearchParams:x,isStandardBrowserEnv:O,forEach:j,merge:k,extend:_,trim:w,stripBOM:C}},"91ad":function(e,t,r){"use strict";var n=r("a700"),a=r("b4ac").filter,o=r("1977"),s=o("filter");n({target:"Array",proto:!0,forced:!s},{filter:function(e){return a(this,e,arguments.length>1?arguments[1]:void 0)}})},"93f9":function(e,t,r){"use strict";var n=r("8a5d"),a=r("5cd4"),o=r("0323"),s=r("cc3a"),c=r("82ac");function i(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new c("canceled")}e.exports=function(e){i(e),e.headers=e.headers||{},e.data=a.call(e,e.data,e.headers,e.transformRequest),e.headers=n.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),n.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]}));var t=e.adapter||s.adapter;return t(e).then((function(t){return i(e),t.data=a.call(e,t.data,t.headers,e.transformResponse),t}),(function(t){return o(t)||(i(e),t&&t.response&&(t.response.data=a.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},"9d04":function(e,t,r){e.exports=r.p+"img/loadernew.gif"},"9d0c":function(e,t,r){var n=r("7642"),a=n.match(/firefox\/(\d+)/i);e.exports=!!a&&+a[1]},a417:function(e,t,r){"use strict";e.exports=function(e,t,r,n,a){return e.config=t,r&&(e.code=r),e.request=n,e.response=a,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}},e}},aa01:function(e,t,r){"use strict";var n=r("fccd");e.exports=function(e,t,r){var a=r.config.validateStatus;r.status&&a&&!a(r.status)?t(n("Request failed with status code "+r.status,r.config,null,r.request,r)):e(r)}},af75:function(e,t,r){var n=r("a700"),a=r("28aa"),o=r("5f55"),s=r("db58"),c=r("f339"),i=r("4ee8");n({target:"Object",stat:!0,sham:!a},{getOwnPropertyDescriptors:function(e){var t,r,n=s(e),a=c.f,u=o(n),f={},l=0;while(u.length>l)r=a(n,t=u[l++]),void 0!==r&&i(f,t,r);return f}})},c279:function(e,t,r){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},cad9:function(e,t,r){(function(e){function r(e,t){for(var r=0,n=e.length-1;n>=0;n--){var a=e[n];"."===a?e.splice(n,1):".."===a?(e.splice(n,1),r++):r&&(e.splice(n,1),r--)}if(t)for(;r--;r)e.unshift("..");return e}function n(e){"string"!==typeof e&&(e+="");var t,r=0,n=-1,a=!0;for(t=e.length-1;t>=0;--t)if(47===e.charCodeAt(t)){if(!a){r=t+1;break}}else-1===n&&(a=!1,n=t+1);return-1===n?"":e.slice(r,n)}function a(e,t){if(e.filter)return e.filter(t);for(var r=[],n=0;n<e.length;n++)t(e[n],n,e)&&r.push(e[n]);return r}t.resolve=function(){for(var t="",n=!1,o=arguments.length-1;o>=-1&&!n;o--){var s=o>=0?arguments[o]:e.cwd();if("string"!==typeof s)throw new TypeError("Arguments to path.resolve must be strings");s&&(t=s+"/"+t,n="/"===s.charAt(0))}return t=r(a(t.split("/"),(function(e){return!!e})),!n).join("/"),(n?"/":"")+t||"."},t.normalize=function(e){var n=t.isAbsolute(e),s="/"===o(e,-1);return e=r(a(e.split("/"),(function(e){return!!e})),!n).join("/"),e||n||(e="."),e&&s&&(e+="/"),(n?"/":"")+e},t.isAbsolute=function(e){return"/"===e.charAt(0)},t.join=function(){var e=Array.prototype.slice.call(arguments,0);return t.normalize(a(e,(function(e,t){if("string"!==typeof e)throw new TypeError("Arguments to path.join must be strings");return e})).join("/"))},t.relative=function(e,r){function n(e){for(var t=0;t<e.length;t++)if(""!==e[t])break;for(var r=e.length-1;r>=0;r--)if(""!==e[r])break;return t>r?[]:e.slice(t,r-t+1)}e=t.resolve(e).substr(1),r=t.resolve(r).substr(1);for(var a=n(e.split("/")),o=n(r.split("/")),s=Math.min(a.length,o.length),c=s,i=0;i<s;i++)if(a[i]!==o[i]){c=i;break}var u=[];for(i=c;i<a.length;i++)u.push("..");return u=u.concat(o.slice(c)),u.join("/")},t.sep="/",t.delimiter=":",t.dirname=function(e){if("string"!==typeof e&&(e+=""),0===e.length)return".";for(var t=e.charCodeAt(0),r=47===t,n=-1,a=!0,o=e.length-1;o>=1;--o)if(t=e.charCodeAt(o),47===t){if(!a){n=o;break}}else a=!1;return-1===n?r?"/":".":r&&1===n?"/":e.slice(0,n)},t.basename=function(e,t){var r=n(e);return t&&r.substr(-1*t.length)===t&&(r=r.substr(0,r.length-t.length)),r},t.extname=function(e){"string"!==typeof e&&(e+="");for(var t=-1,r=0,n=-1,a=!0,o=0,s=e.length-1;s>=0;--s){var c=e.charCodeAt(s);if(47!==c)-1===n&&(a=!1,n=s+1),46===c?-1===t?t=s:1!==o&&(o=1):-1!==t&&(o=-1);else if(!a){r=s+1;break}}return-1===t||-1===n||0===o||1===o&&t===n-1&&t===r+1?"":e.slice(t,n)};var o="b"==="ab".substr(-1)?function(e,t,r){return e.substr(t,r)}:function(e,t,r){return t<0&&(t=e.length+t),e.substr(t,r)}}).call(this,r("0418"))},cc3a:function(e,t,r){"use strict";(function(t){var n=r("8a5d"),a=r("386e"),o=r("a417"),s={"Content-Type":"application/x-www-form-urlencoded"};function c(e,t){!n.isUndefined(e)&&n.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}function i(){var e;return("undefined"!==typeof XMLHttpRequest||"undefined"!==typeof t&&"[object process]"===Object.prototype.toString.call(t))&&(e=r("e50c")),e}function u(e,t,r){if(n.isString(e))try{return(t||JSON.parse)(e),n.trim(e)}catch(a){if("SyntaxError"!==a.name)throw a}return(r||JSON.stringify)(e)}var f={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:i(),transformRequest:[function(e,t){return a(t,"Accept"),a(t,"Content-Type"),n.isFormData(e)||n.isArrayBuffer(e)||n.isBuffer(e)||n.isStream(e)||n.isFile(e)||n.isBlob(e)?e:n.isArrayBufferView(e)?e.buffer:n.isURLSearchParams(e)?(c(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):n.isObject(e)||t&&"application/json"===t["Content-Type"]?(c(t,"application/json"),u(e)):e}],transformResponse:[function(e){var t=this.transitional||f.transitional,r=t&&t.silentJSONParsing,a=t&&t.forcedJSONParsing,s=!r&&"json"===this.responseType;if(s||a&&n.isString(e)&&e.length)try{return JSON.parse(e)}catch(c){if(s){if("SyntaxError"===c.name)throw o(c,this,"E_JSON_PARSE");throw c}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};n.forEach(["delete","get","head"],(function(e){f.headers[e]={}})),n.forEach(["post","put","patch"],(function(e){f.headers[e]=n.merge(s)})),e.exports=f}).call(this,r("0418"))},e046:function(e,t,r){var n=r("a8d8");t=n(!1),t.push([e.i,".pageLoader[data-v-61965374]{position:fixed;top:30%;left:42%}.tableScroll[data-v-61965374]{max-height:50vh;overflow-y:auto}",""]),e.exports=t},e187:function(e,t,r){var n=r("a700"),a=r("627a"),o=r("db58"),s=r("f339").f,c=r("28aa"),i=a((function(){s(1)})),u=!c||i;n({target:"Object",stat:!0,forced:u,sham:!c},{getOwnPropertyDescriptor:function(e,t){return s(o(e),t)}})},e50c:function(e,t,r){"use strict";var n=r("8a5d"),a=r("aa01"),o=r("2998"),s=r("3884"),c=r("639e"),i=r("4af6"),u=r("7f31"),f=r("fccd"),l=r("cc3a"),p=r("82ac");e.exports=function(e){return new Promise((function(t,r){var d,h=e.data,v=e.headers,b=e.responseType;function m(){e.cancelToken&&e.cancelToken.unsubscribe(d),e.signal&&e.signal.removeEventListener("abort",d)}n.isFormData(h)&&delete v["Content-Type"];var g=new XMLHttpRequest;if(e.auth){var y=e.auth.username||"",x=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";v.Authorization="Basic "+btoa(y+":"+x)}var w=c(e.baseURL,e.url);function O(){if(g){var n="getAllResponseHeaders"in g?i(g.getAllResponseHeaders()):null,o=b&&"text"!==b&&"json"!==b?g.response:g.responseText,s={data:o,status:g.status,statusText:g.statusText,headers:n,config:e,request:g};a((function(e){t(e),m()}),(function(e){r(e),m()}),s),g=null}}if(g.open(e.method.toUpperCase(),s(w,e.params,e.paramsSerializer),!0),g.timeout=e.timeout,"onloadend"in g?g.onloadend=O:g.onreadystatechange=function(){g&&4===g.readyState&&(0!==g.status||g.responseURL&&0===g.responseURL.indexOf("file:"))&&setTimeout(O)},g.onabort=function(){g&&(r(f("Request aborted",e,"ECONNABORTED",g)),g=null)},g.onerror=function(){r(f("Network Error",e,null,g)),g=null},g.ontimeout=function(){var t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",n=e.transitional||l.transitional;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),r(f(t,e,n.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",g)),g=null},n.isStandardBrowserEnv()){var j=(e.withCredentials||u(w))&&e.xsrfCookieName?o.read(e.xsrfCookieName):void 0;j&&(v[e.xsrfHeaderName]=j)}"setRequestHeader"in g&&n.forEach(v,(function(e,t){"undefined"===typeof h&&"content-type"===t.toLowerCase()?delete v[t]:g.setRequestHeader(t,e)})),n.isUndefined(e.withCredentials)||(g.withCredentials=!!e.withCredentials),b&&"json"!==b&&(g.responseType=e.responseType),"function"===typeof e.onDownloadProgress&&g.addEventListener("progress",e.onDownloadProgress),"function"===typeof e.onUploadProgress&&g.upload&&g.upload.addEventListener("progress",e.onUploadProgress),(e.cancelToken||e.signal)&&(d=function(e){g&&(r(!e||e&&e.type?new p("canceled"):e),g.abort(),g=null)},e.cancelToken&&e.cancelToken.subscribe(d),e.signal&&(e.signal.aborted?d():e.signal.addEventListener("abort",d))),h||(h=null),g.send(h)}))}},eb2c:function(e,t,r){var n=r("e046");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var a=r("c69b").default;a("392ef0d4",n,!0,{sourceMap:!1,shadowMode:!1})},ef55:function(e,t,r){var n=r("7642");e.exports=/MSIE|Trident/.test(n)},fccd:function(e,t,r){"use strict";var n=r("a417");e.exports=function(e,t,r,a,o){var s=new Error(e);return n(s,t,r,a,o)}}}]);
|
|
2
2
|
//# sourceMappingURL=SolidifyAdministrationAssignProxy.js.map
|