@genpact/genome.mfe.solidify-app 1.27.0 → 1.29.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.html +1 -1
- package/dist/js/LearnerRereview.js +1 -1
- package/dist/js/LearnerRereview.js.map +1 -1
- package/dist/js/SolidifyAbout.js +1 -1
- package/dist/js/SolidifyAbout.js.map +1 -1
- package/dist/js/SolidifyAdministration.js +1 -1
- package/dist/js/SolidifyAdministration.js.map +1 -1
- package/dist/js/SolidifyAdministrationAssignProxy.js +1 -1
- package/dist/js/SolidifyAdministrationAssignProxy.js.map +1 -1
- package/dist/js/SolidifyAdministrationAssignRoleToUser.js +1 -1
- package/dist/js/SolidifyAdministrationAssignRoleToUser.js.map +1 -1
- package/dist/js/SolidifyAdministrationCreateOffCyele.js +1 -1
- package/dist/js/SolidifyAdministrationCreateOffCyele.js.map +1 -1
- package/dist/js/SolidifyAdministrationEmailTemplateManagement.js +1 -1
- package/dist/js/SolidifyAdministrationEmailTemplateManagement.js.map +1 -1
- package/dist/js/SolidifyAdministrationLearnerEvents.js +1 -1
- package/dist/js/SolidifyAdministrationLearnerEvents.js.map +1 -1
- package/dist/js/SolidifyAdministrationLearnerGrades.js +1 -1
- package/dist/js/SolidifyAdministrationLearnerGrades.js.map +1 -1
- package/dist/js/SolidifyAdministrationManageProxy.js +1 -1
- package/dist/js/SolidifyAdministrationManageProxy.js.map +1 -1
- package/dist/js/SolidifyAdministrationMasterAdministration.js +1 -1
- package/dist/js/SolidifyAdministrationMasterAdministration.js.map +1 -1
- package/dist/js/SolidifyAdministrationNeedReviewerReport.js +1 -1
- package/dist/js/SolidifyAdministrationNeedReviewerReport.js.map +1 -1
- package/dist/js/SolidifyAdministrationOffcycleDashboard.js +1 -1
- package/dist/js/SolidifyAdministrationOffcycleDashboard.js.map +1 -1
- package/dist/js/SolidifyAdministrationOperationalDetails.js +1 -1
- package/dist/js/SolidifyAdministrationOperationalDetails.js.map +1 -1
- package/dist/js/SolidifyAdministrationPlagiarsimReport.js +1 -1
- package/dist/js/SolidifyAdministrationPlagiarsimReport.js.map +1 -1
- package/dist/js/SolidifyAdministrationProgramAdministration.js +1 -1
- package/dist/js/SolidifyAdministrationProgramAdministration.js.map +1 -1
- package/dist/js/SolidifyAdministrationProgramDetails.js +1 -1
- package/dist/js/SolidifyAdministrationProgramDetails.js.map +1 -1
- package/dist/js/SolidifyAdministrationSystemSetting.js +1 -1
- package/dist/js/SolidifyAdministrationSystemSetting.js.map +1 -1
- package/dist/js/SolidifyAdministrationTaskDetails.js +4 -4
- package/dist/js/SolidifyAdministrationTaskDetails.js.map +1 -1
- package/dist/js/SolidifyAdministrationTaskManagement.js +1 -1
- package/dist/js/SolidifyAdministrationTaskManagement.js.map +1 -1
- package/dist/js/SolidifyAdministrationViewAllProxyRequests.js +1 -1
- package/dist/js/SolidifyAdministrationViewAllProxyRequests.js.map +1 -1
- package/dist/js/SolidifyAdministrationViewEmailQueue.js.map +1 -1
- package/dist/js/SolidifyAdministrationViewProxyRequests.js +1 -1
- package/dist/js/SolidifyAdministrationViewProxyRequests.js.map +1 -1
- package/dist/js/SolidifyAdministrationViewRereviewRequests.js.map +1 -1
- package/dist/js/SolidifyAdministrationharvestReport.js +1 -1
- package/dist/js/SolidifyAdministrationharvestReport.js.map +1 -1
- package/dist/js/SolidifyAdministrationsendEmailToUser.js +1 -1
- package/dist/js/SolidifyAdministrationsendEmailToUser.js.map +1 -1
- package/dist/js/SolidifyLearner.js +3 -3
- package/dist/js/SolidifyLearner.js.map +1 -1
- package/dist/js/SolidifyLearnerDone.js +1 -1
- package/dist/js/SolidifyLearnerDone.js.map +1 -1
- package/dist/js/SolidifyLearnerError.js.map +1 -1
- package/dist/js/SolidifyLearnerGating.js.map +1 -1
- package/dist/js/SolidifyLearnerPeerReview.js +1 -1
- package/dist/js/SolidifyLearnerPeerReview.js.map +1 -1
- package/dist/js/SolidifyLearnerProxyReview.js +1 -1
- package/dist/js/SolidifyLearnerProxyReview.js.map +1 -1
- package/dist/js/SolidifyLearnerSelectTask.js +1 -1
- package/dist/js/SolidifyLearnerSelectTask.js.map +1 -1
- package/dist/js/SolidifyLearnerStatus.js.map +1 -1
- package/dist/js/SolidifyLearnerSubmitTask.js +1 -1
- package/dist/js/SolidifyLearnerSubmitTask.js.map +1 -1
- package/dist/js/SystemUnderMaintenance.js.map +1 -1
- package/dist/js/app.js +39 -39
- package/dist/js/app.js.map +1 -1
- package/dist/js/chunk-7ac43392.js +2 -0
- package/dist/js/chunk-7ac43392.js.map +1 -0
- package/package.json +1 -1
- package/dist/js/chunk-1b4a73ff.js +0 -2
- package/dist/js/chunk-1b4a73ff.js.map +0 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
(window["webpackJsonp__@genpact/genome.mfe.solidify-app"]=window["webpackJsonp__@genpact/genome.mfe.solidify-app"]||[]).push([["SolidifyAdministrationEmailTemplateManagement"],{"0323":function(e,t,n){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},"0418":function(e,t,n){t.nextTick=function(e){var t=Array.prototype.slice.call(arguments);t.shift(),setTimeout((function(){e.apply(null,t)}),0)},t.platform=t.arch=t.execPath=t.title="browser",t.pid=1,t.browser=!0,t.env={},t.argv=[],t.binding=function(e){throw new Error("No such module. (Possibly not yet loaded)")},function(){var e,r="/";t.cwd=function(){return r},t.chdir=function(t){e||(e=n("cad9")),r=e.resolve(t,r)}}(),t.exit=t.kill=t.umask=t.dlopen=t.uptime=t.memoryUsage=t.uvCounters=function(){},t.features={}},"0758":function(e,t,n){var r=n("69ea"),o=r({}.toString),a=r("".slice);e.exports=function(e){return a(o(e),8,-1)}},"112f":function(e,t,n){"use strict";var r=n("7de8").version,o={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){o[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));var a={};function i(e,t,n){if("object"!==typeof e)throw new TypeError("options must be an object");var r=Object.keys(e),o=r.length;while(o-- >0){var a=r[o],i=t[a];if(i){var s=e[a],c=void 0===s||i(s,a,e);if(!0!==c)throw new TypeError("option "+a+" must be "+c)}else if(!0!==n)throw Error("Unknown option "+a)}}o.transitional=function(e,t,n){function o(e,t){return"[Axios v"+r+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return function(n,r,i){if(!1===e)throw new Error(o(r," has been removed"+(t?" in "+t:"")));return t&&!a[r]&&(a[r]=!0,console.warn(o(r," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,r,i)}},e.exports={assertOptions:i,validators:o}},"122c":function(e,t,n){"use strict";var r=n("8a5d");e.exports=function(e){return r.isObject(e)&&!0===e.isAxiosError}},1464:function(e,t,n){"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return e.apply(t,n)}}},1501:function(e,t,n){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},1884:function(e,t,n){"use strict";var r=n("e3c0"),o=n("f542"),a=n("3941"),i=n("e140"),s=n("688d"),c=n("6ef2"),u=c((function(){return 4294967297!==[].push.call({length:4294967296},1)})),l=!function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(e){return e instanceof TypeError}}();r({target:"Array",proto:!0,arity:1,forced:u||l},{push:function(e){var t=o(this),n=a(t),r=arguments.length;s(n+r);for(var c=0;c<r;c++)t[n]=arguments[c],n++;return i(t,n),n}})},"19ef":function(e,t,n){var r=n("a8db"),o=n("78e0"),a=n("f766"),i=n("b404"),s=Object;e.exports=i?function(e){return"symbol"==typeof e}:function(e){var t=r("Symbol");return o(t)&&a(t.prototype,s(e))}},"1dba":function(e,t,n){e.exports=n("46c8")},"1f6a":function(e,t){var n=String;e.exports=function(e){try{return n(e)}catch(t){return"Object"}}},"23d9":function(e,t,n){var r=n("831b"),o=n("33a7"),a=r("keys");e.exports=function(e){return a[e]||(a[e]=o(e))}},2566:function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return a}));var r=n("26fa");const o=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data.sys_settings,t)),t},a=async(e,t)=>{try{let n;return await r["a"].post(e,t).then(e=>(n=e.data,n)),n}catch(n){console.log(n)}}},"26fa":function(e,t,n){"use strict";var r=n("1dba"),o=n.n(r);function a({$http:e}){const t=localStorage.getItem("accessToken");t?e.defaults.headers.common.Authorization="Bearer "+t:delete e.defaults.headers.common.Authorization}var i=({$http:e})=>{a({$http:e}),e.interceptors.request.use(t=>(a({$http:e}),t),e=>Promise.reject(e)),e.interceptors.response.use(e=>e,e=>{if(console.log("inside interceptor"),console.warn(e.message,{...e}),!e||!e.response||!e.response.config)return Promise.reject(e);if(e.response&&e.response.config&&"newRelic"===e.response.config.requestName)return Promise.reject(e);try{console.log("error.response.status "+e.response.status),(e.response&&401===e.response.status||e.response&&403===e.response.status)&&(alert("Oops! Your session expired. Please log in again!"),window.location.reload())}catch(t){try{console.warn(t,{...t}),console.warn(JSON.stringify({...t}))}catch(n){console.warn(n)}alert("Generic error")}return Promise.reject(e)})};let s="poc";const{host:c}=window.location;console.log(" solidify "+c),"dev.genome.genpact.com"===c?s="dev":"uat.genome.genpact.com"===c?s="uat":"genome-eda-rel.azurewebsites.net"===c?s="prod":c.includes("localhost")&&(s="local");let u="";u="local"===s?"http://localhost:3000/local/genome-solidify-api-svc":`https://api-router.azurefd.net/${s}/aws/api/genome/solidify`,console.log(" solidify "+u),o.a.defaults.baseURL=u,o.a.defaults.headers.common["x-oauth-config-provider"]="cognito-aps1",i({$http:o.a});t["a"]=o.a},2998:function(e,t,n){"use strict";var r=n("8a5d");e.exports=r.isStandardBrowserEnv()?function(){return{write:function(e,t,n,o,a,i){var s=[];s.push(e+"="+encodeURIComponent(t)),r.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),r.isString(o)&&s.push("path="+o),r.isString(a)&&s.push("domain="+a),!0===i&&s.push("secure"),document.cookie=s.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(){}}}()},"2ca6":function(e,t,n){var r=n("69ea"),o=n("78e0"),a=n("4dea"),i=r(Function.toString);o(a.inspectSource)||(a.inspectSource=function(e){return i(e)}),e.exports=a.inspectSource},"2cfb":function(e,t){var n="object"==typeof document&&document.all,r="undefined"==typeof n&&void 0!==n;e.exports={all:n,IS_HTMLDDA:r}},"2e33":function(e,t,n){var r=n("fbae"),o=n("7ce0"),a=n("771b"),i=n("792f"),s=n("8c19"),c=n("568f"),u=n("55b9"),l=n("4840"),f=Object.getOwnPropertyDescriptor;t.f=r?f:function(e,t){if(e=s(e),t=c(t),l)try{return f(e,t)}catch(n){}if(u(e,t))return i(!o(a.f,e,t),e[t])}},"2e83":function(e,t,n){var r=n("78e0"),o=n("1f6a"),a=TypeError;e.exports=function(e){if(r(e))return e;throw a(o(e)+" is not a function")}},"33a7":function(e,t,n){var r=n("69ea"),o=0,a=Math.random(),i=r(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+i(++o+a,36)}},"386e":function(e,t,n){"use strict";var r=n("8a5d");e.exports=function(e,t){r.forEach(e,(function(n,r){r!==t&&r.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[r])}))}},3884:function(e,t,n){"use strict";var r=n("8a5d");function o(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,n){if(!t)return e;var a;if(n)a=n(t);else if(r.isURLSearchParams(t))a=t.toString();else{var i=[];r.forEach(t,(function(e,t){null!==e&&"undefined"!==typeof e&&(r.isArray(e)?t+="[]":e=[e],r.forEach(e,(function(e){r.isDate(e)?e=e.toISOString():r.isObject(e)&&(e=JSON.stringify(e)),i.push(o(t)+"="+o(e))})))})),a=i.join("&")}if(a){var s=e.indexOf("#");-1!==s&&(e=e.slice(0,s)),e+=(-1===e.indexOf("?")?"?":"&")+a}return e}},3941:function(e,t,n){var r=n("b03e");e.exports=function(e){return r(e.length)}},4208:function(e,t,n){var r=n("bde1"),o=Object.defineProperty;e.exports=function(e,t){try{o(r,e,{value:t,configurable:!0,writable:!0})}catch(n){r[e]=t}return t}},"46c8":function(e,t,n){"use strict";var r=n("8a5d"),o=n("1464"),a=n("6c7d"),i=n("76b7"),s=n("cc3a");function c(e){var t=new a(e),n=o(a.prototype.request,t);return r.extend(n,a.prototype,t),r.extend(n,t),n.create=function(t){return c(i(e,t))},n}var u=c(s);u.Axios=a,u.Cancel=n("82ac"),u.CancelToken=n("823a"),u.isCancel=n("0323"),u.VERSION=n("7de8").version,u.all=function(e){return Promise.all(e)},u.spread=n("c279"),u.isAxiosError=n("122c"),e.exports=u,e.exports.default=u},4795:function(e,t){var n=Math.ceil,r=Math.floor;e.exports=Math.trunc||function(e){var t=+e;return(t>0?r:n)(t)}},4840:function(e,t,n){var r=n("fbae"),o=n("6ef2"),a=n("f2d7");e.exports=!r&&!o((function(){return 7!=Object.defineProperty(a("div"),"a",{get:function(){return 7}}).a}))},"48d9":function(e,t,n){var r=n("b884"),o=n("6ef2");e.exports=!!Object.getOwnPropertySymbols&&!o((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},"4ac9":function(e,t){e.exports={}},"4af6":function(e,t,n){"use strict";var r=n("8a5d"),o=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,n,a,i={};return e?(r.forEach(e.split("\n"),(function(e){if(a=e.indexOf(":"),t=r.trim(e.substr(0,a)).toLowerCase(),n=r.trim(e.substr(a+1)),t){if(i[t]&&o.indexOf(t)>=0)return;i[t]="set-cookie"===t?(i[t]?i[t]:[]).concat([n]):i[t]?i[t]+", "+n:n}})),i):i}},"4d7b":function(e,t,n){var r=n("fbae"),o=n("6ef2");e.exports=r&&o((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},"4dea":function(e,t,n){var r=n("bde1"),o=n("4208"),a="__core-js_shared__",i=r[a]||o(a,{});e.exports=i},5015:function(e,t,n){var r=n("55b9"),o=n("904d"),a=n("2e33"),i=n("f3f0");e.exports=function(e,t,n){for(var s=o(t),c=i.f,u=a.f,l=0;l<s.length;l++){var f=s[l];r(e,f)||n&&r(n,f)||c(e,f,u(t,f))}}},"55b9":function(e,t,n){var r=n("69ea"),o=n("f542"),a=r({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return a(o(e),t)}},"568f":function(e,t,n){var r=n("7693"),o=n("19ef");e.exports=function(e){var t=r(e,"string");return o(t)?t:t+""}},5921:function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"admin"},[e.showScreen?t("div",{staticClass:"container w-full flex flex-wrap mx-auto px-2 pt-8 lg:pt-16 md:pt-16 mt-12"},[e.isPreview?t("div",{staticClass:"w-full"},[t("div",{staticClass:"text-center text-3xl text-background-secondary"},[e._v("Template Preview")])]):t("div",{staticClass:"w-full"},[t("div",{staticClass:"text-center text-3xl text-background-secondary"},[e._v("Template Details")])]),e.showSuccessMessage?t("div",{staticClass:"w-full px-3 text-center mt-4 bg-green-600 py-2 text-white"},[e._v(" "+e._s(e.resMessage)+" ")]):e._e(),e.showErrorMessage?t("div",{staticClass:"w-full px-3 text-center mt-4 bg-red-400 py-2 text-white"},[e._v(" "+e._s(e.resMessage)+" ")]):e._e(),e.errorMessage?t("div",{staticClass:"text-red-700"},[e._v(e._s(e.errorMessage))]):e._e(),e.renderReady?t("div",{staticClass:"w-full mt-4"},[e.isPreview?t("div",{staticClass:"max-w-4xl m-auto shadow p-5 mb-4 -text-blue-900"},[t("div",{staticClass:"w-full px-2 mb-3 text-center text-2xl font-bold text-blue-900"},[e._v(e._s(e.template.subject))]),t("div",{staticClass:"w-full md:w-full px-3 mb-4",domProps:{innerHTML:e._s(e.previewContent)}}),t("div",{staticClass:"w-full text-center"},[t("button",{staticClass:"px-4 py-2 border border-blue-900 bg-white-500 text-gray-500 focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75 inline-block",on:{click:function(t){return e.openPreview()}}},[e._v("Back")])])]):t("div",{staticClass:"max-w-4xl m-auto shadow p-5 mb-4 -text-blue-900"},[t("div",{staticClass:"flex flex-wrap -mx-3 mb-6"},[t("div",{staticClass:"w-full md:w-full px-3 mb-4"},[t("label",{staticClass:"block tracking-wide text-background-secondary opacity-80 font-normal mb-2"},[e._v(" Template Name ")]),t("input",{directives:[{name:"model",rawName:"v-model",value:e.template.template_name,expression:"template.template_name"}],staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",attrs:{disabled:!e.isNew,type:"text"},domProps:{value:e.template.template_name},on:{input:function(t){t.target.composing||e.$set(e.template,"template_name",t.target.value)}}})]),t("div",{staticClass:"w-full md:w-full px-3 mb-4"},[t("label",{staticClass:"block tracking-wide text-background-secondary opacity-80 font-normal mb-2"},[e._v(" Template Subject ")]),t("textarea",{directives:[{name:"model",rawName:"v-model",value:e.template.subject,expression:"template.subject"}],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",domProps:{value:e.template.subject},on:{input:function(t){t.target.composing||e.$set(e.template,"subject",t.target.value)}}})]),t("div",{staticClass:"w-full md:w-full h-full px-3 mb-4"},[t("label",{staticClass:"block tracking-wide text-background-secondary opacity-80 font-normal mb-2"},[e._v(" Template Content ")]),t("textarea",{directives:[{name:"model",rawName:"v-model",value:e.template.content,expression:"template.content"}],staticClass:"appearance-none block w-full h-80 text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white",domProps:{value:e.template.content},on:{input:function(t){t.target.composing||e.$set(e.template,"content",t.target.value)}}})]),t("div",{staticClass:"w-full md:w-full px-3 mb-4 text-center mt-5"},[t("router-link",{staticClass:"py-2 px-4 border border-blue-900 bg-white-500 text-gray-500 shadow-md focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75 mr-2",attrs:{to:{name:"SolidifyAdministrationEmailTemplateManagement"}}},[e._v(" Back ")]),t("button",{staticClass:"mr-2 px-4 py-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75 inline-block",on:{click:function(t){return e.openPreview()}}},[e._v("Preview")]),e.showUpdate?t("button",{staticClass:"px-4 py-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75 inline-block",on:{click:function(t){return e.updateTemplate()}}},[e._v("Update")]):e._e()],1)])])]):e._e()]):e._e(),e.renderReady?e._e():t("div",{staticClass:"flex flex-col h-min-screen justify-center text-center pageLoader"},[t("img",{staticClass:"mb-8 block mx-auto loadercss mt-3%",attrs:{src:n("9d04"),alt:"Loader Gif"}}),t("p",{staticClass:"mx-auto mb-10 leading-normal px-4 loadertextcss ext-genpact-darkest-blue"},[e._v("Loading...")])])])},o=[],a=n("8596"),i=n("6bcf"),s=n("be10"),c=n("1dba"),u=n.n(c),l=n("2566"),f=Object(i["b"])({name:"EmailTemplateDetails",components:{},props:{query:{type:Object,default:()=>({})}},setup(e){const t=Object(i["f"])(e.query.template),n=Object(i["f"])(!0),r=Object(i["f"])({}),o=Object(i["f"])(),c=Object(i["f"])(!0),f=Object(i["f"])(),p=Object(i["f"])(),d=Object(i["f"])(!1),h=Object(i["f"])(!1),m=Object(i["f"])(),v=Object(i["f"])(!1),b=Object(i["f"])("true"===e.query.is_new),g=Object(i["f"])(!1),y=Object(i["f"])(!1),w=Object(i["f"])(),x=Object(i["f"])(),j=async()=>{try{n.value=!1,r.value={...r.value,is_new:b.value};const e=await Object(s["b"])("/email/templates/save",r.value);console.log(e),m.value=e.data.message,n.value=!0,h.value=!0,v.value=!1,window.scroll(0,0),n.value=!0}catch(t){if(n.value=!0,u.a.isAxiosError(t)){var e;const r=t;n.value=!0,m.value=null===(e=r.response)||void 0===e?void 0:e.data.message,v.value=!0,h.value=!1,setTimeout(()=>{v.value=!1},5e3)}}},O=()=>{const e=r.value;let t="";if(""===(null===e||void 0===e?void 0:e.content))return window.scroll(0,0),m.value="Template Content cannot be empty",v.value=!0,h.value=!1,void setTimeout(()=>{v.value=!1},5e3);const n=null===e||void 0===e?void 0:e.content.split("$");let o=!0;n.forEach(e=>{void 0!==w.value[e]?(console.log(w.value[e]),t+=w.value[e],o=!0):o?(t+=""+e,o=!1):(t+="$"+e,o=!1)}),console.log(t),x.value=t,g.value=!g.value},C=async()=>{n.value=!1;try{if(!1===b.value){const e=await Object(s["a"])("/email/templates/all");console.log(t.value),r.value=e.data.body.Items.find(e=>{if(t.value===e.template_name)return console.log(e),e})}}catch(o){if(u.a.isAxiosError(o)){var e;const t=o;n.value=!0,m.value=null===(e=t.response)||void 0===e?void 0:e.statusText,v.value=!0,h.value=!1,setTimeout(()=>{v.value=!1},7e3)}}n.value=!0};return Object(i["c"])(async()=>{const e=await Object(a["g"])("/getUserRole");if(f.value=e.user_key,p.value=e.user_roles,p.value.length>0)if(p.value.includes("System Admin")){d.value=!0,await C();const e=await Object(l["a"])("system/config");w.value=e,console.log(e)}else d.value=!1}),{templateID:t,showSuccessMessage:h,showScreen:d,resMessage:m,showErrorMessage:v,showUpdate:c,errorMessage:o,renderReady:n,template:r,openPreview:O,updateTemplate:j,isNew:b,isPreview:g,previewContent:x,previewShow:y}}}),p=f,d=n("8619"),h=Object(d["a"])(p,r,o,!1,null,null,null);t["default"]=h.exports},"59a2":function(e,t,n){var r=n("8c19"),o=n("fa18"),a=n("3941"),i=function(e){return function(t,n,i){var s,c=r(t),u=a(c),l=o(i,u);if(e&&n!=n){while(u>l)if(s=c[l++],s!=s)return!0}else for(;u>l;l++)if((e||l in c)&&c[l]===n)return e||l||0;return!e&&-1}};e.exports={includes:i(!0),indexOf:i(!1)}},"5cd4":function(e,t,n){"use strict";var r=n("8a5d"),o=n("cc3a");e.exports=function(e,t,n){var a=this||o;return r.forEach(n,(function(n){e=n.call(a,e,t)})),e}},"5df9":function(e,t,n){"use strict";var r=n("8a5d");function o(){this.handlers=[]}o.prototype.use=function(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1},o.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},o.prototype.forEach=function(e){r.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=o},6136:function(e,t,n){"use strict";e.exports=function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}},6222:function(e,t,n){var r=n("7ce0"),o=n("78e0"),a=n("aea8"),i=TypeError;e.exports=function(e,t){var n,s;if("string"===t&&o(n=e.toString)&&!a(s=r(n,e)))return s;if(o(n=e.valueOf)&&!a(s=r(n,e)))return s;if("string"!==t&&o(n=e.toString)&&!a(s=r(n,e)))return s;throw i("Can't convert object to primitive value")}},"639e":function(e,t,n){"use strict";var r=n("6136"),o=n("1501");e.exports=function(e,t){return e&&!r(t)?o(e,t):t}},"688d":function(e,t){var n=TypeError,r=9007199254740991;e.exports=function(e){if(e>r)throw n("Maximum allowed index exceeded");return e}},"69ea":function(e,t,n){var r=n("b2b0"),o=Function.prototype,a=o.call,i=r&&o.bind.bind(a,a);e.exports=r?i:function(e){return function(){return a.apply(e,arguments)}}},"6a6f":function(e,t,n){var r=n("4795");e.exports=function(e){var t=+e;return t!==t||0===t?0:r(t)}},"6af5":function(e,t,n){var r=n("0758");e.exports=Array.isArray||function(e){return"Array"==r(e)}},"6c7d":function(e,t,n){"use strict";var r=n("8a5d"),o=n("3884"),a=n("5df9"),i=n("93f9"),s=n("76b7"),c=n("112f"),u=c.validators;function l(e){this.defaults=e,this.interceptors={request:new a,response:new a}}l.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=s(this.defaults,t),t.method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var n=t.transitional;void 0!==n&&c.assertOptions(n,{silentJSONParsing:u.transitional(u.boolean),forcedJSONParsing:u.transitional(u.boolean),clarifyTimeoutError:u.transitional(u.boolean)},!1);var r=[],o=!0;this.interceptors.request.forEach((function(e){"function"===typeof e.runWhen&&!1===e.runWhen(t)||(o=o&&e.synchronous,r.unshift(e.fulfilled,e.rejected))}));var a,l=[];if(this.interceptors.response.forEach((function(e){l.push(e.fulfilled,e.rejected)})),!o){var f=[i,void 0];Array.prototype.unshift.apply(f,r),f=f.concat(l),a=Promise.resolve(t);while(f.length)a=a.then(f.shift(),f.shift());return a}var p=t;while(r.length){var d=r.shift(),h=r.shift();try{p=d(p)}catch(m){h(m);break}}try{a=i(p)}catch(m){return Promise.reject(m)}while(l.length)a=a.then(l.shift(),l.shift());return a},l.prototype.getUri=function(e){if(!e.url)throw new Error("Provided config url is not valid");return e=s(this.defaults,e),o(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},r.forEach(["delete","get","head","options"],(function(e){l.prototype[e]=function(t,n){return this.request(s(n||{},{method:e,url:t,data:(n||{}).data}))}})),r.forEach(["post","put","patch"],(function(e){l.prototype[e]=function(t,n,r){return this.request(s(r||{},{method:e,url:t,data:n}))}})),e.exports=l},"6c98":function(e,t){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"6d26":function(e,t,n){var r=n("a8db");e.exports=r("navigator","userAgent")||""},"6d87":function(e,t,n){var r=n("6ef2"),o=n("78e0"),a=/#|\.prototype\./,i=function(e,t){var n=c[s(e)];return n==l||n!=u&&(o(t)?r(t):!!t)},s=i.normalize=function(e){return String(e).replace(a,".").toLowerCase()},c=i.data={},u=i.NATIVE="N",l=i.POLYFILL="P";e.exports=i},"6ef2":function(e,t){e.exports=function(e){try{return!!e()}catch(t){return!0}}},"6efa":function(e,t){e.exports=function(e){return null===e||void 0===e}},"703c":function(e,t,n){var r=n("bde1"),o=n("78e0"),a=r.WeakMap;e.exports=o(a)&&/native code/.test(String(a))},7251:function(e,t,n){var r=n("a00b"),o=n("6c98"),a=o.concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,a)}},7693:function(e,t,n){var r=n("7ce0"),o=n("aea8"),a=n("19ef"),i=n("87e6"),s=n("6222"),c=n("7826"),u=TypeError,l=c("toPrimitive");e.exports=function(e,t){if(!o(e)||a(e))return e;var n,c=i(e,l);if(c){if(void 0===t&&(t="default"),n=r(c,e,t),!o(n)||a(n))return n;throw u("Can't convert object to primitive value")}return void 0===t&&(t="number"),s(e,t)}},"76b7":function(e,t,n){"use strict";var r=n("8a5d");e.exports=function(e,t){t=t||{};var n={};function o(e,t){return r.isPlainObject(e)&&r.isPlainObject(t)?r.merge(e,t):r.isPlainObject(t)?r.merge({},t):r.isArray(t)?t.slice():t}function a(n){return r.isUndefined(t[n])?r.isUndefined(e[n])?void 0:o(void 0,e[n]):o(e[n],t[n])}function i(e){if(!r.isUndefined(t[e]))return o(void 0,t[e])}function s(n){return r.isUndefined(t[n])?r.isUndefined(e[n])?void 0:o(void 0,e[n]):o(void 0,t[n])}function c(n){return n in t?o(e[n],t[n]):n in e?o(void 0,e[n]):void 0}var u={url:i,method:i,data:i,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:c};return r.forEach(Object.keys(e).concat(Object.keys(t)),(function(e){var t=u[e]||a,o=t(e);r.isUndefined(o)&&t!==c||(n[e]=o)})),n}},"771b":function(e,t,n){"use strict";var r={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,a=o&&!r.call({1:2},1);t.f=a?function(e){var t=o(this,e);return!!t&&t.enumerable}:r},"780b":function(e,t,n){var r=n("69ea"),o=n("6ef2"),a=n("0758"),i=Object,s=r("".split);e.exports=o((function(){return!i("z").propertyIsEnumerable(0)}))?function(e){return"String"==a(e)?s(e,""):i(e)}:i},7826:function(e,t,n){var r=n("bde1"),o=n("831b"),a=n("55b9"),i=n("33a7"),s=n("48d9"),c=n("b404"),u=o("wks"),l=r.Symbol,f=l&&l["for"],p=c?l:l&&l.withoutSetter||i;e.exports=function(e){if(!a(u,e)||!s&&"string"!=typeof u[e]){var t="Symbol."+e;s&&a(l,e)?u[e]=l[e]:u[e]=c&&f?f(t):p(t)}return u[e]}},"78e0":function(e,t,n){var r=n("2cfb"),o=r.all;e.exports=r.IS_HTMLDDA?function(e){return"function"==typeof e||e===o}:function(e){return"function"==typeof e}},"792f":function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},7943:function(e,t,n){var r=n("a8d8");t=r(!1),t.push([e.i,".tableScroll[data-v-170797d3]{max-height:50vh;overflow-y:auto}",""]),e.exports=t},"799e":function(e,t,n){var r=n("78e0"),o=n("f3f0"),a=n("fbc4"),i=n("4208");e.exports=function(e,t,n,s){s||(s={});var c=s.enumerable,u=void 0!==s.name?s.name:t;if(r(n)&&a(n,u,s),s.global)c?e[t]=n:i(t,n);else{try{s.unsafe?e[t]&&(c=!0):delete e[t]}catch(l){}c?e[t]=n:o.f(e,t,{value:n,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return e}},"7ce0":function(e,t,n){var r=n("b2b0"),o=Function.prototype.call;e.exports=r?o.bind(o):function(){return o.apply(o,arguments)}},"7de8":function(e,t){e.exports={version:"0.25.0"}},"7f31":function(e,t,n){"use strict";var r=n("8a5d");e.exports=r.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function o(e){var r=e;return t&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=o(window.location.href),function(t){var n=r.isString(t)?o(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return function(){return!0}}()},"823a":function(e,t,n){"use strict";var r=n("82ac");function o(e){if("function"!==typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var n=this;this.promise.then((function(e){if(n._listeners){var t,r=n._listeners.length;for(t=0;t<r;t++)n._listeners[t](e);n._listeners=null}})),this.promise.then=function(e){var t,r=new Promise((function(e){n.subscribe(e),t=e})).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e((function(e){n.reason||(n.reason=new r(e),t(n.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.prototype.subscribe=function(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]},o.prototype.unsubscribe=function(e){if(this._listeners){var t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}},o.source=function(){var e,t=new o((function(t){e=t}));return{token:t,cancel:e}},e.exports=o},"82aa":function(e,t){e.exports=!1},"82ac":function(e,t,n){"use strict";function r(e){this.message=e}r.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},r.prototype.__CANCEL__=!0,e.exports=r},"831b":function(e,t,n){var r=n("82aa"),o=n("4dea");(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.26.1",mode:r?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.26.1/LICENSE",source:"https://github.com/zloirock/core-js"})},8596:function(e,t,n){"use strict";n.d(t,"y",(function(){return o})),n.d(t,"t",(function(){return a})),n.d(t,"u",(function(){return i})),n.d(t,"e",(function(){return s})),n.d(t,"x",(function(){return c})),n.d(t,"z",(function(){return u})),n.d(t,"r",(function(){return l})),n.d(t,"s",(function(){return f})),n.d(t,"f",(function(){return p})),n.d(t,"v",(function(){return d})),n.d(t,"h",(function(){return h})),n.d(t,"j",(function(){return m})),n.d(t,"q",(function(){return v})),n.d(t,"o",(function(){return b})),n.d(t,"p",(function(){return g})),n.d(t,"m",(function(){return y})),n.d(t,"k",(function(){return w})),n.d(t,"l",(function(){return x})),n.d(t,"A",(function(){return j})),n.d(t,"C",(function(){return O})),n.d(t,"w",(function(){return C})),n.d(t,"n",(function(){return _})),n.d(t,"i",(function(){return S})),n.d(t,"g",(function(){return k})),n.d(t,"a",(function(){return E})),n.d(t,"B",(function(){return T})),n.d(t,"b",(function(){return P})),n.d(t,"d",(function(){return A})),n.d(t,"c",(function(){return N}));var r=n("26fa");const o=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data,t)),t},a=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data,t)),t},i=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data,t)),t},s=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data,t)),t},c=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data,t)),t},u=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data,t)),t},l=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data,t)),t},f=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data,t)),t},p=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data,t)),t},d=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data,t)),t},h=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data,t)),t},m=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data,t)),t},v=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data.userObj,t)),t},b=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data.userObj,t)),t},g=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data.userObj,t)),t},y=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data,t)),t},w=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data,t)),t},x=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data,t)),t},j=async e=>{const t=await r["a"].get(e);return t},O=async e=>{const t=await r["a"].get(e);return t},C=async e=>{const t=await r["a"].get(e);return t},_=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data,t)),t},S=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data,t)),t},k=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data.userObj,t)),t},E=async e=>{const t=await r["a"].post("/user/role",e);return t},T=async e=>{const t=await r["a"].post("/user/removeRole",e);return t},P=async()=>{const e=await r["a"].get("role");return e},A=async e=>{const t=await r["a"].post("/user/saveLSS",e);return t},N=async e=>{const t=await r["a"].post("/user/saveEnvAccess",e);return t}},8764:function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"admin"},[e.showScreen?t("div",{staticClass:"container w-full flex flex-wrap mx-auto px-2 pt-8 lg:pt-16 md:pt-16 mt-10"},[e._m(0),t("div",{staticClass:"w-full flex mt-6"},[t("div",{staticClass:"w-full text-left"},[t("router-link",{staticClass:"bg-background-secondary inline-block text-white py-2 px-4 mr-4 mt-4",attrs:{to:{name:"SolidifyAdministrationEmailTemplateDetails",query:{is_new:"true"}}}},[e._v("Add Email Template")]),e.editTemplateBtn?t("button",{staticClass:"bg-background-secondary inline-block text-white py-2 px-4 mr-4 mt-4",on:{click:function(t){return e.editTemplate()}}},[e._v("Edit Template")]):e._e()],1)]),t("div",{staticClass:"w-full mt-4 tableScroll"},[t("table",{staticClass:"w-full text-md bg-white shadow rounded mb-4 text-over"},[e._m(1),t("tbody",{staticClass:"opacity-80 -text-blue-800 align-bottom"},e._l(e.emailTemplates,(function(n){return t("tr",{key:n.template_name,staticClass:"border-b hover:bg-gray-300"},[t("td",{staticClass:"py-2 pl-3 pr-0 text-sm w-6"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.templateCheck,expression:"templateCheck"}],attrs:{type:"checkbox",id:n.template_name},domProps:{value:n.template_name,checked:Array.isArray(e.templateCheck)?e._i(e.templateCheck,n.template_name)>-1:e.templateCheck},on:{change:[function(t){var r=e.templateCheck,o=t.target,a=!!o.checked;if(Array.isArray(r)){var i=n.template_name,s=e._i(r,i);o.checked?s<0&&(e.templateCheck=r.concat([i])):s>-1&&(e.templateCheck=r.slice(0,s).concat(r.slice(s+1)))}else e.templateCheck=a},function(t){return e.showTemplateEditBtn(t,n.template_name)}],click:e.checkOne}})]),t("td",{staticClass:"p-2 px-3"},[e._v(e._s(n.template_name))]),t("td",{staticClass:"p-2 px-3"},[e._v(e._s(n.subject))]),t("td",{staticClass:"p-2 px-3"},[e._v(e._s(n.content))]),t("td",{staticClass:"p-2 px-3"},[e._v(e._s(n.modified_date))]),t("td",{staticClass:"p-2 px-3"},[e._v(e._s(n.modified_by))])])})),0)])])]):e._e(),e.renderReady?e._e():t("div",{staticClass:"flex flex-col h-min-screen justify-center text-center pageLoader"},[t("img",{staticClass:"mb-8 block mx-auto loadercss mt-3%",attrs:{src:n("9d04"),alt:"Loader Gif"}}),t("p",{staticClass:"mx-auto mb-10 leading-normal px-4 loadertextcss ext-genpact-darkest-blue"},[e._v("Loading...")])])])},o=[function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"w-full flex justify-between"},[t("div",{staticClass:"w-full text-center text-3xl text-background-secondary"},[e._v("Email Template Management")])])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("thead",{staticClass:"opacity-90 -text-blue-800"},[t("tr",{staticClass:"border-b"},[t("th",{staticClass:"text-left py-2 pl-3 pr-0 w-6"}),t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Template Name")]),t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Template Subject")]),t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Content")]),t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Modified Date")]),t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Modified By")])])])}],a=(n("1884"),n("6bcf")),i=n("8596"),s=n("be10"),c=n("bb03"),u=n.n(c),l=n("afbc"),f=Object(a["b"])({name:"EmailTemplateManagement",components:{},setup(){const e=Object(a["f"])(),t=Object(a["f"])(),n=Object(a["f"])(!1),r=Object(a["f"])([]),o=Object(a["f"])(!1),c=Object(a["f"])(!1),f=Object(a["f"])(""),p=Object(a["f"])([]),d=()=>{p.value=[]},h=async()=>{o.value=!1;try{const e=await Object(s["a"])("/email/templates/all");r.value=e.data.body.Items,r.value.map(e=>(e.created_date=u()(e.created_date).format("DD-MM-YYYY hh:mm:ss"),e.modified_date=u()(e.modified_date).format("DD-MM-YYYY hh:mm:ss"),e)),o.value=!0}catch(e){const t=e;console.log(t.response)}},m=async(e,t)=>{!0===e.target.checked?(c.value=!0,f.value=t):(c.value=!1,f.value="")},v=async()=>{console.log("template editing",f.value);const e={template:f.value,is_new:"false"};l["a"].push({path:"EmailTemplateDetails",query:e})};return Object(a["c"])(async()=>{const r=await Object(i["g"])("/getUserRole");e.value=r.user_key,t.value=r.user_roles,t.value.length>0&&(t.value.includes("System Admin")?(n.value=!0,await h()):n.value=!1)}),{loggedInUser:e,userRole:t,showScreen:n,emailTemplates:r,renderReady:o,showTemplateEditBtn:m,editTemplateBtn:c,editTemplate:v,templateCheck:p,checkOne:d}}}),p=f,d=(n("d855"),n("8619")),h=Object(d["a"])(p,r,o,!1,null,"170797d3",null);t["default"]=h.exports},"87e6":function(e,t,n){var r=n("2e83"),o=n("6efa");e.exports=function(e,t){var n=e[t];return o(n)?void 0:r(n)}},"8a5d":function(e,t,n){"use strict";var r=n("1464"),o=Object.prototype.toString;function a(e){return Array.isArray(e)}function i(e){return"undefined"===typeof e}function s(e){return null!==e&&!i(e)&&null!==e.constructor&&!i(e.constructor)&&"function"===typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}function c(e){return"[object ArrayBuffer]"===o.call(e)}function u(e){return"[object FormData]"===o.call(e)}function l(e){var t;return t="undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&c(e.buffer),t}function f(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]"!==o.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function m(e){return"[object Date]"===o.call(e)}function v(e){return"[object File]"===o.call(e)}function b(e){return"[object Blob]"===o.call(e)}function g(e){return"[object Function]"===o.call(e)}function y(e){return d(e)&&g(e.pipe)}function w(e){return"[object URLSearchParams]"===o.call(e)}function x(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function j(){return("undefined"===typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!==typeof window&&"undefined"!==typeof document)}function O(e,t){if(null!==e&&"undefined"!==typeof e)if("object"!==typeof e&&(e=[e]),a(e))for(var n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.call(null,e[o],o,e)}function C(){var e={};function t(t,n){h(e[n])&&h(t)?e[n]=C(e[n],t):h(t)?e[n]=C({},t):a(t)?e[n]=t.slice():e[n]=t}for(var n=0,r=arguments.length;n<r;n++)O(arguments[n],t);return e}function _(e,t,n){return O(t,(function(t,o){e[o]=n&&"function"===typeof t?r(t,n):t})),e}function S(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e}e.exports={isArray:a,isArrayBuffer:c,isBuffer:s,isFormData:u,isArrayBufferView:l,isString:f,isNumber:p,isObject:d,isPlainObject:h,isUndefined:i,isDate:m,isFile:v,isBlob:b,isFunction:g,isStream:y,isURLSearchParams:w,isStandardBrowserEnv:j,forEach:O,merge:C,extend:_,trim:x,stripBOM:S}},"8c19":function(e,t,n){var r=n("780b"),o=n("b0da");e.exports=function(e){return r(o(e))}},"904d":function(e,t,n){var r=n("a8db"),o=n("69ea"),a=n("7251"),i=n("b6826"),s=n("b619"),c=o([].concat);e.exports=r("Reflect","ownKeys")||function(e){var t=a.f(s(e)),n=i.f;return n?c(t,n(e)):t}},"93f9":function(e,t,n){"use strict";var r=n("8a5d"),o=n("5cd4"),a=n("0323"),i=n("cc3a"),s=n("82ac");function c(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new s("canceled")}e.exports=function(e){c(e),e.headers=e.headers||{},e.data=o.call(e,e.data,e.headers,e.transformRequest),e.headers=r.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),r.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]}));var t=e.adapter||i.adapter;return t(e).then((function(t){return c(e),t.data=o.call(e,t.data,t.headers,e.transformResponse),t}),(function(t){return a(t)||(c(e),t&&t.response&&(t.response.data=o.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},"9d04":function(e,t,n){e.exports=n.p+"img/loadernew.gif"},a00b:function(e,t,n){var r=n("69ea"),o=n("55b9"),a=n("8c19"),i=n("59a2").indexOf,s=n("4ac9"),c=r([].push);e.exports=function(e,t){var n,r=a(e),u=0,l=[];for(n in r)!o(s,n)&&o(r,n)&&c(l,n);while(t.length>u)o(r,n=t[u++])&&(~i(l,n)||c(l,n));return l}},a417:function(e,t,n){"use strict";e.exports=function(e,t,n,r,o){return e.config=t,n&&(e.code=n),e.request=r,e.response=o,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}},a8db:function(e,t,n){var r=n("bde1"),o=n("78e0"),a=function(e){return o(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?a(r[e]):r[e]&&r[e][t]}},aa01:function(e,t,n){"use strict";var r=n("fccd");e.exports=function(e,t,n){var o=n.config.validateStatus;n.status&&o&&!o(n.status)?t(r("Request failed with status code "+n.status,n.config,null,n.request,n)):e(n)}},aea8:function(e,t,n){var r=n("78e0"),o=n("2cfb"),a=o.all;e.exports=o.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:r(e)||e===a}:function(e){return"object"==typeof e?null!==e:r(e)}},b03e:function(e,t,n){var r=n("6a6f"),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},b0da:function(e,t,n){var r=n("6efa"),o=TypeError;e.exports=function(e){if(r(e))throw o("Can't call method on "+e);return e}},b2b0:function(e,t,n){var r=n("6ef2");e.exports=!r((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},b404:function(e,t,n){var r=n("48d9");e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},b619:function(e,t,n){var r=n("aea8"),o=String,a=TypeError;e.exports=function(e){if(r(e))return e;throw a(o(e)+" is not an object")}},b6826:function(e,t){t.f=Object.getOwnPropertySymbols},b884:function(e,t,n){var r,o,a=n("bde1"),i=n("6d26"),s=a.process,c=a.Deno,u=s&&s.versions||c&&c.version,l=u&&u.v8;l&&(r=l.split("."),o=r[0]>0&&r[0]<4?1:+(r[0]+r[1])),!o&&i&&(r=i.match(/Edge\/(\d+)/),(!r||r[1]>=74)&&(r=i.match(/Chrome\/(\d+)/),r&&(o=+r[1]))),e.exports=o},bde1:function(e,t,n){(function(t){var n=function(e){return e&&e.Math==Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof t&&t)||function(){return this}()||Function("return this")()}).call(this,n("d8fc"))},be10:function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return a}));var r=n("26fa");const o=async e=>{const t=await r["a"].get(e);return t},a=async(e,t)=>{const n=await r["a"].post(e,t);return n}},be2a:function(e,t,n){var r=n("7943");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var o=n("c69b").default;o("5cf30078",r,!0,{sourceMap:!1,shadowMode:!1})},c279:function(e,t,n){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},cad9:function(e,t,n){(function(e){function n(e,t){for(var n=0,r=e.length-1;r>=0;r--){var o=e[r];"."===o?e.splice(r,1):".."===o?(e.splice(r,1),n++):n&&(e.splice(r,1),n--)}if(t)for(;n--;n)e.unshift("..");return e}function r(e){"string"!==typeof e&&(e+="");var t,n=0,r=-1,o=!0;for(t=e.length-1;t>=0;--t)if(47===e.charCodeAt(t)){if(!o){n=t+1;break}}else-1===r&&(o=!1,r=t+1);return-1===r?"":e.slice(n,r)}function o(e,t){if(e.filter)return e.filter(t);for(var n=[],r=0;r<e.length;r++)t(e[r],r,e)&&n.push(e[r]);return n}t.resolve=function(){for(var t="",r=!1,a=arguments.length-1;a>=-1&&!r;a--){var i=a>=0?arguments[a]:e.cwd();if("string"!==typeof i)throw new TypeError("Arguments to path.resolve must be strings");i&&(t=i+"/"+t,r="/"===i.charAt(0))}return t=n(o(t.split("/"),(function(e){return!!e})),!r).join("/"),(r?"/":"")+t||"."},t.normalize=function(e){var r=t.isAbsolute(e),i="/"===a(e,-1);return e=n(o(e.split("/"),(function(e){return!!e})),!r).join("/"),e||r||(e="."),e&&i&&(e+="/"),(r?"/":"")+e},t.isAbsolute=function(e){return"/"===e.charAt(0)},t.join=function(){var e=Array.prototype.slice.call(arguments,0);return t.normalize(o(e,(function(e,t){if("string"!==typeof e)throw new TypeError("Arguments to path.join must be strings");return e})).join("/"))},t.relative=function(e,n){function r(e){for(var t=0;t<e.length;t++)if(""!==e[t])break;for(var n=e.length-1;n>=0;n--)if(""!==e[n])break;return t>n?[]:e.slice(t,n-t+1)}e=t.resolve(e).substr(1),n=t.resolve(n).substr(1);for(var o=r(e.split("/")),a=r(n.split("/")),i=Math.min(o.length,a.length),s=i,c=0;c<i;c++)if(o[c]!==a[c]){s=c;break}var u=[];for(c=s;c<o.length;c++)u.push("..");return u=u.concat(a.slice(s)),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),n=47===t,r=-1,o=!0,a=e.length-1;a>=1;--a)if(t=e.charCodeAt(a),47===t){if(!o){r=a;break}}else o=!1;return-1===r?n?"/":".":n&&1===r?"/":e.slice(0,r)},t.basename=function(e,t){var n=r(e);return t&&n.substr(-1*t.length)===t&&(n=n.substr(0,n.length-t.length)),n},t.extname=function(e){"string"!==typeof e&&(e+="");for(var t=-1,n=0,r=-1,o=!0,a=0,i=e.length-1;i>=0;--i){var s=e.charCodeAt(i);if(47!==s)-1===r&&(o=!1,r=i+1),46===s?-1===t?t=i:1!==a&&(a=1):-1!==t&&(a=-1);else if(!o){n=i+1;break}}return-1===t||-1===r||0===a||1===a&&t===r-1&&t===n+1?"":e.slice(t,r)};var a="b"==="ab".substr(-1)?function(e,t,n){return e.substr(t,n)}:function(e,t,n){return t<0&&(t=e.length+t),e.substr(t,n)}}).call(this,n("0418"))},cc3a:function(e,t,n){"use strict";(function(t){var r=n("8a5d"),o=n("386e"),a=n("a417"),i={"Content-Type":"application/x-www-form-urlencoded"};function s(e,t){!r.isUndefined(e)&&r.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}function c(){var e;return("undefined"!==typeof XMLHttpRequest||"undefined"!==typeof t&&"[object process]"===Object.prototype.toString.call(t))&&(e=n("e50c")),e}function u(e,t,n){if(r.isString(e))try{return(t||JSON.parse)(e),r.trim(e)}catch(o){if("SyntaxError"!==o.name)throw o}return(n||JSON.stringify)(e)}var l={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:c(),transformRequest:[function(e,t){return o(t,"Accept"),o(t,"Content-Type"),r.isFormData(e)||r.isArrayBuffer(e)||r.isBuffer(e)||r.isStream(e)||r.isFile(e)||r.isBlob(e)?e:r.isArrayBufferView(e)?e.buffer:r.isURLSearchParams(e)?(s(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):r.isObject(e)||t&&"application/json"===t["Content-Type"]?(s(t,"application/json"),u(e)):e}],transformResponse:[function(e){var t=this.transitional||l.transitional,n=t&&t.silentJSONParsing,o=t&&t.forcedJSONParsing,i=!n&&"json"===this.responseType;if(i||o&&r.isString(e)&&e.length)try{return JSON.parse(e)}catch(s){if(i){if("SyntaxError"===s.name)throw a(s,this,"E_JSON_PARSE");throw s}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};r.forEach(["delete","get","head"],(function(e){l.headers[e]={}})),r.forEach(["post","put","patch"],(function(e){l.headers[e]=r.merge(i)})),e.exports=l}).call(this,n("0418"))},d855:function(e,t,n){"use strict";n("be2a")},e094:function(e,t,n){var r=n("fbae"),o=n("f3f0"),a=n("792f");e.exports=r?function(e,t,n){return o.f(e,t,a(1,n))}:function(e,t,n){return e[t]=n,e}},e140:function(e,t,n){"use strict";var r=n("fbae"),o=n("6af5"),a=TypeError,i=Object.getOwnPropertyDescriptor,s=r&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}();e.exports=s?function(e,t){if(o(e)&&!i(e,"length").writable)throw a("Cannot set read only .length");return e.length=t}:function(e,t){return e.length=t}},e3c0:function(e,t,n){var r=n("bde1"),o=n("2e33").f,a=n("e094"),i=n("799e"),s=n("4208"),c=n("5015"),u=n("6d87");e.exports=function(e,t){var n,l,f,p,d,h,m=e.target,v=e.global,b=e.stat;if(l=v?r:b?r[m]||s(m,{}):(r[m]||{}).prototype,l)for(f in t){if(d=t[f],e.dontCallGetSet?(h=o(l,f),p=h&&h.value):p=l[f],n=u(v?f:m+(b?".":"#")+f,e.forced),!n&&void 0!==p){if(typeof d==typeof p)continue;c(d,p)}(e.sham||p&&p.sham)&&a(d,"sham",!0),i(l,f,d,e)}}},e50c:function(e,t,n){"use strict";var r=n("8a5d"),o=n("aa01"),a=n("2998"),i=n("3884"),s=n("639e"),c=n("4af6"),u=n("7f31"),l=n("fccd"),f=n("cc3a"),p=n("82ac");e.exports=function(e){return new Promise((function(t,n){var d,h=e.data,m=e.headers,v=e.responseType;function b(){e.cancelToken&&e.cancelToken.unsubscribe(d),e.signal&&e.signal.removeEventListener("abort",d)}r.isFormData(h)&&delete m["Content-Type"];var g=new XMLHttpRequest;if(e.auth){var y=e.auth.username||"",w=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";m.Authorization="Basic "+btoa(y+":"+w)}var x=s(e.baseURL,e.url);function j(){if(g){var r="getAllResponseHeaders"in g?c(g.getAllResponseHeaders()):null,a=v&&"text"!==v&&"json"!==v?g.response:g.responseText,i={data:a,status:g.status,statusText:g.statusText,headers:r,config:e,request:g};o((function(e){t(e),b()}),(function(e){n(e),b()}),i),g=null}}if(g.open(e.method.toUpperCase(),i(x,e.params,e.paramsSerializer),!0),g.timeout=e.timeout,"onloadend"in g?g.onloadend=j:g.onreadystatechange=function(){g&&4===g.readyState&&(0!==g.status||g.responseURL&&0===g.responseURL.indexOf("file:"))&&setTimeout(j)},g.onabort=function(){g&&(n(l("Request aborted",e,"ECONNABORTED",g)),g=null)},g.onerror=function(){n(l("Network Error",e,null,g)),g=null},g.ontimeout=function(){var t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",r=e.transitional||f.transitional;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(l(t,e,r.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",g)),g=null},r.isStandardBrowserEnv()){var O=(e.withCredentials||u(x))&&e.xsrfCookieName?a.read(e.xsrfCookieName):void 0;O&&(m[e.xsrfHeaderName]=O)}"setRequestHeader"in g&&r.forEach(m,(function(e,t){"undefined"===typeof h&&"content-type"===t.toLowerCase()?delete m[t]:g.setRequestHeader(t,e)})),r.isUndefined(e.withCredentials)||(g.withCredentials=!!e.withCredentials),v&&"json"!==v&&(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&&(n(!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)}))}},f2d7:function(e,t,n){var r=n("bde1"),o=n("aea8"),a=r.document,i=o(a)&&o(a.createElement);e.exports=function(e){return i?a.createElement(e):{}}},f3f0:function(e,t,n){var r=n("fbae"),o=n("4840"),a=n("4d7b"),i=n("b619"),s=n("568f"),c=TypeError,u=Object.defineProperty,l=Object.getOwnPropertyDescriptor,f="enumerable",p="configurable",d="writable";t.f=r?a?function(e,t,n){if(i(e),t=s(t),i(n),"function"===typeof e&&"prototype"===t&&"value"in n&&d in n&&!n[d]){var r=l(e,t);r&&r[d]&&(e[t]=n.value,n={configurable:p in n?n[p]:r[p],enumerable:f in n?n[f]:r[f],writable:!1})}return u(e,t,n)}:u:function(e,t,n){if(i(e),t=s(t),i(n),o)try{return u(e,t,n)}catch(r){}if("get"in n||"set"in n)throw c("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},f44b:function(e,t,n){var r=n("fbae"),o=n("55b9"),a=Function.prototype,i=r&&Object.getOwnPropertyDescriptor,s=o(a,"name"),c=s&&"something"===function(){}.name,u=s&&(!r||r&&i(a,"name").configurable);e.exports={EXISTS:s,PROPER:c,CONFIGURABLE:u}},f4d7:function(e,t,n){var r,o,a,i=n("703c"),s=n("bde1"),c=n("aea8"),u=n("e094"),l=n("55b9"),f=n("4dea"),p=n("23d9"),d=n("4ac9"),h="Object already initialized",m=s.TypeError,v=s.WeakMap,b=function(e){return a(e)?o(e):r(e,{})},g=function(e){return function(t){var n;if(!c(t)||(n=o(t)).type!==e)throw m("Incompatible receiver, "+e+" required");return n}};if(i||f.state){var y=f.state||(f.state=new v);y.get=y.get,y.has=y.has,y.set=y.set,r=function(e,t){if(y.has(e))throw m(h);return t.facade=e,y.set(e,t),t},o=function(e){return y.get(e)||{}},a=function(e){return y.has(e)}}else{var w=p("state");d[w]=!0,r=function(e,t){if(l(e,w))throw m(h);return t.facade=e,u(e,w,t),t},o=function(e){return l(e,w)?e[w]:{}},a=function(e){return l(e,w)}}e.exports={set:r,get:o,has:a,enforce:b,getterFor:g}},f542:function(e,t,n){var r=n("b0da"),o=Object;e.exports=function(e){return o(r(e))}},f766:function(e,t,n){var r=n("69ea");e.exports=r({}.isPrototypeOf)},fa18:function(e,t,n){var r=n("6a6f"),o=Math.max,a=Math.min;e.exports=function(e,t){var n=r(e);return n<0?o(n+t,0):a(n,t)}},fbae:function(e,t,n){var r=n("6ef2");e.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},fbc4:function(e,t,n){var r=n("6ef2"),o=n("78e0"),a=n("55b9"),i=n("fbae"),s=n("f44b").CONFIGURABLE,c=n("2ca6"),u=n("f4d7"),l=u.enforce,f=u.get,p=Object.defineProperty,d=i&&!r((function(){return 8!==p((function(){}),"length",{value:8}).length})),h=String(String).split("String"),m=e.exports=function(e,t,n){"Symbol("===String(t).slice(0,7)&&(t="["+String(t).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),n&&n.getter&&(t="get "+t),n&&n.setter&&(t="set "+t),(!a(e,"name")||s&&e.name!==t)&&(i?p(e,"name",{value:t,configurable:!0}):e.name=t),d&&n&&a(n,"arity")&&e.length!==n.arity&&p(e,"length",{value:n.arity});try{n&&a(n,"constructor")&&n.constructor?i&&p(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(o){}var r=l(e);return a(r,"source")||(r.source=h.join("string"==typeof t?t:"")),e};Function.prototype.toString=m((function(){return o(this)&&f(this).source||c(this)}),"toString")},fccd:function(e,t,n){"use strict";var r=n("a417");e.exports=function(e,t,n,o,a){var i=new Error(e);return r(i,t,n,o,a)}}}]);
|
|
1
|
+
(window["webpackJsonp__@genpact/genome.mfe.solidify-app"]=window["webpackJsonp__@genpact/genome.mfe.solidify-app"]||[]).push([["SolidifyAdministrationEmailTemplateManagement"],{"05ff":function(t,e){var n=Math.ceil,a=Math.floor;t.exports=Math.trunc||function(t){var e=+t;return(e>0?a:n)(e)}},"085a":function(t,e,n){var a=n("214f"),r=Function.prototype.call;t.exports=a?r.bind(r):function(){return r.apply(r,arguments)}},"107e":function(t,e,n){var a=n("644c"),r=n("3426"),o=n("5e2f"),c=n("5151");t.exports=function(t,e,n,i){i||(i={});var s=i.enumerable,u=void 0!==i.name?i.name:e;if(a(n)&&o(n,u,i),i.global)s?t[e]=n:c(e,n);else{try{i.unsafe?t[e]&&(s=!0):delete t[e]}catch(l){}s?t[e]=n:r.f(t,e,{value:n,enumerable:!1,configurable:!i.nonConfigurable,writable:!i.nonWritable})}return t}},1185:function(t,e,n){var a=n("085a"),r=n("644c"),o=n("91f1"),c=TypeError;t.exports=function(t,e){var n,i;if("string"===e&&r(n=t.toString)&&!o(i=a(n,t)))return i;if(r(n=t.valueOf)&&!o(i=a(n,t)))return i;if("string"!==e&&r(n=t.toString)&&!o(i=a(n,t)))return i;throw c("Can't convert object to primitive value")}},"163d":function(t,e,n){var a=n("9908"),r=n("b662"),o=r.concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return a(t,o)}},"1d28":function(t,e,n){var a=n("2253");t.exports=Array.isArray||function(t){return"Array"==a(t)}},"214f":function(t,e,n){var a=n("ab3a");t.exports=!a((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},2253:function(t,e,n){var a=n("ab64"),r=a({}.toString),o=a("".slice);t.exports=function(t){return o(r(t),8,-1)}},"22e2":function(t,e,n){"use strict";var a={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,o=r&&!a.call({1:2},1);e.f=o?function(t){var e=r(this,t);return!!e&&e.enumerable}:a},2566:function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return o}));var a=n("26fa");const r=async t=>{let e;return await a["b"].get(t).then(t=>(e=t.data.sys_settings,e)),e},o=async(t,e)=>{try{let n;return await a["b"].post(t,e).then(t=>(n=t.data,n)),n}catch(n){console.log(n)}}},"2ae2":function(t,e,n){var a,r,o=n("d168"),c=n("47d5"),i=o.process,s=o.Deno,u=i&&i.versions||s&&s.version,l=u&&u.v8;l&&(a=l.split("."),r=a[0]>0&&a[0]<4?1:+(a[0]+a[1])),!r&&c&&(a=c.match(/Edge\/(\d+)/),(!a||a[1]>=74)&&(a=c.match(/Chrome\/(\d+)/),a&&(r=+a[1]))),t.exports=r},"316b":function(t,e,n){var a=n("d168"),r=n("644c"),o=a.WeakMap;t.exports=r(o)&&/native code/.test(String(o))},3426:function(t,e,n){var a=n("a15f"),r=n("cca5"),o=n("b58f"),c=n("b172"),i=n("61ca"),s=TypeError,u=Object.defineProperty,l=Object.getOwnPropertyDescriptor,f="enumerable",p="configurable",d="writable";e.f=a?o?function(t,e,n){if(c(t),e=i(e),c(n),"function"===typeof t&&"prototype"===e&&"value"in n&&d in n&&!n[d]){var a=l(t,e);a&&a[d]&&(t[e]=n.value,n={configurable:p in n?n[p]:a[p],enumerable:f in n?n[f]:a[f],writable:!1})}return u(t,e,n)}:u:function(t,e,n){if(c(t),e=i(e),c(n),r)try{return u(t,e,n)}catch(a){}if("get"in n||"set"in n)throw s("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},"3a3a":function(t,e,n){var a=n("05ff");t.exports=function(t){var e=+t;return e!==e||0===e?0:a(e)}},"3dd5":function(t,e,n){var a=n("085a"),r=n("91f1"),o=n("dfad"),c=n("fee9"),i=n("1185"),s=n("9168"),u=TypeError,l=s("toPrimitive");t.exports=function(t,e){if(!r(t)||o(t))return t;var n,s=c(t,l);if(s){if(void 0===e&&(e="default"),n=a(s,t,e),!r(n)||o(n))return n;throw u("Can't convert object to primitive value")}return void 0===e&&(e="number"),i(t,e)}},4104:function(t,e,n){var a=n("a15f"),r=n("abf7"),o=Function.prototype,c=a&&Object.getOwnPropertyDescriptor,i=r(o,"name"),s=i&&"something"===function(){}.name,u=i&&(!a||a&&c(o,"name").configurable);t.exports={EXISTS:i,PROPER:s,CONFIGURABLE:u}},"47d5":function(t,e,n){var a=n("a8db");t.exports=a("navigator","userAgent")||""},"4e6a":function(t,e,n){var a=n("5a25"),r=n("a83c");(t.exports=function(t,e){return r[t]||(r[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.27.1",mode:a?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.27.1/LICENSE",source:"https://github.com/zloirock/core-js"})},5151:function(t,e,n){var a=n("d168"),r=Object.defineProperty;t.exports=function(t,e){try{r(a,t,{value:e,configurable:!0,writable:!0})}catch(n){a[t]=e}return e}},5900:function(t,e){t.exports=function(t){return null===t||void 0===t}},5921:function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"admin"},[t.showScreen?e("div",{staticClass:"container w-full flex flex-wrap mx-auto px-2 pt-8 lg:pt-16 md:pt-16 mt-12"},[t.isPreview?e("div",{staticClass:"w-full"},[e("div",{staticClass:"text-center text-3xl text-background-secondary"},[t._v("Template Preview")])]):e("div",{staticClass:"w-full"},[e("div",{staticClass:"text-center text-3xl text-background-secondary"},[t._v("Template Details")])]),t.showSuccessMessage?e("div",{staticClass:"w-full px-3 text-center mt-4 bg-green-600 py-2 text-white"},[t._v(" "+t._s(t.resMessage)+" ")]):t._e(),t.showErrorMessage?e("div",{staticClass:"w-full px-3 text-center mt-4 bg-red-400 py-2 text-white"},[t._v(" "+t._s(t.resMessage)+" ")]):t._e(),t.errorMessage?e("div",{staticClass:"text-red-700"},[t._v(t._s(t.errorMessage))]):t._e(),t.renderReady?e("div",{staticClass:"w-full mt-4"},[t.isPreview?e("div",{staticClass:"max-w-4xl m-auto shadow p-5 mb-4 -text-blue-900"},[e("div",{staticClass:"w-full px-2 mb-3 text-center text-2xl font-bold text-blue-900"},[t._v(t._s(t.template.subject))]),e("div",{staticClass:"w-full md:w-full px-3 mb-4",domProps:{innerHTML:t._s(t.previewContent)}}),e("div",{staticClass:"w-full text-center"},[e("button",{staticClass:"px-4 py-2 border border-blue-900 bg-white-500 text-gray-500 focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75 inline-block",on:{click:function(e){return t.openPreview()}}},[t._v("Back")])])]):e("div",{staticClass:"max-w-4xl m-auto shadow p-5 mb-4 -text-blue-900"},[e("div",{staticClass:"flex flex-wrap -mx-3 mb-6"},[e("div",{staticClass:"w-full md:w-full px-3 mb-4"},[e("label",{staticClass:"block tracking-wide text-background-secondary opacity-80 font-normal mb-2"},[t._v(" Template Name ")]),e("input",{directives:[{name:"model",rawName:"v-model",value:t.template.template_name,expression:"template.template_name"}],staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",attrs:{disabled:!t.isNew,type:"text"},domProps:{value:t.template.template_name},on:{input:function(e){e.target.composing||t.$set(t.template,"template_name",e.target.value)}}})]),e("div",{staticClass:"w-full md:w-full px-3 mb-4"},[e("label",{staticClass:"block tracking-wide text-background-secondary opacity-80 font-normal mb-2"},[t._v(" Template Subject ")]),e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.template.subject,expression:"template.subject"}],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",domProps:{value:t.template.subject},on:{input:function(e){e.target.composing||t.$set(t.template,"subject",e.target.value)}}})]),e("div",{staticClass:"w-full md:w-full h-full px-3 mb-4"},[e("label",{staticClass:"block tracking-wide text-background-secondary opacity-80 font-normal mb-2"},[t._v(" Template Content ")]),e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.template.content,expression:"template.content"}],staticClass:"appearance-none block w-full h-80 text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white",domProps:{value:t.template.content},on:{input:function(e){e.target.composing||t.$set(t.template,"content",e.target.value)}}})]),e("div",{staticClass:"w-full md:w-full px-3 mb-4 text-center mt-5"},[e("router-link",{staticClass:"py-2 px-4 border border-blue-900 bg-white-500 text-gray-500 shadow-md focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75 mr-2",attrs:{to:{name:"SolidifyAdministrationEmailTemplateManagement"}}},[t._v(" Back ")]),e("button",{staticClass:"mr-2 px-4 py-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75 inline-block",on:{click:function(e){return t.openPreview()}}},[t._v("Preview")]),t.showUpdate?e("button",{staticClass:"px-4 py-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75 inline-block",on:{click:function(e){return t.updateTemplate()}}},[t._v("Update")]):t._e()],1)])])]):t._e()]):t._e(),t.renderReady?t._e():e("div",{staticClass:"flex flex-col h-min-screen justify-center text-center pageLoader"},[e("img",{staticClass:"mb-8 block mx-auto loadercss mt-3%",attrs:{src:n("9d04"),alt:"Loader Gif"}}),e("p",{staticClass:"mx-auto mb-10 leading-normal px-4 loadertextcss ext-genpact-darkest-blue"},[t._v("Loading...")])])])},r=[],o=n("8596"),c=n("6bcf"),i=n("be10"),s=n("1dba"),u=n.n(s),l=n("2566"),f=Object(c["b"])({name:"EmailTemplateDetails",components:{},props:{query:{type:Object,default:()=>({})}},setup(t){const e=Object(c["f"])(t.query.template),n=Object(c["f"])(!0),a=Object(c["f"])({}),r=Object(c["f"])(),s=Object(c["f"])(!0),f=Object(c["f"])(),p=Object(c["f"])(),d=Object(c["f"])(!1),b=Object(c["f"])(!1),v=Object(c["f"])(),m=Object(c["f"])(!1),y=Object(c["f"])("true"===t.query.is_new),g=Object(c["f"])(!1),x=Object(c["f"])(!1),h=Object(c["f"])(),w=Object(c["f"])(),_=async()=>{try{n.value=!1,a.value={...a.value,is_new:y.value};const t=await Object(i["b"])("/email/templates/save",a.value);console.log(t),v.value=t.data.message,n.value=!0,b.value=!0,m.value=!1,window.scroll(0,0),n.value=!0}catch(e){if(n.value=!0,u.a.isAxiosError(e)){var t;const a=e;n.value=!0,v.value=null===(t=a.response)||void 0===t?void 0:t.data.message,m.value=!0,b.value=!1,setTimeout(()=>{m.value=!1},5e3)}}},j=()=>{const t=a.value;let e="";if(""===(null===t||void 0===t?void 0:t.content))return window.scroll(0,0),v.value="Template Content cannot be empty",m.value=!0,b.value=!1,void setTimeout(()=>{m.value=!1},5e3);const n=null===t||void 0===t?void 0:t.content.split("$");let r=!0;n.forEach(t=>{void 0!==h.value[t]?(console.log(h.value[t]),e+=h.value[t],r=!0):r?(e+=""+t,r=!1):(e+="$"+t,r=!1)}),console.log(e),w.value=e,g.value=!g.value},C=async()=>{n.value=!1;try{if(!1===y.value){const t=await Object(i["a"])("/email/templates/all");console.log(e.value),a.value=t.data.body.Items.find(t=>{if(e.value===t.template_name)return console.log(t),t})}}catch(r){if(u.a.isAxiosError(r)){var t;const e=r;n.value=!0,v.value=null===(t=e.response)||void 0===t?void 0:t.statusText,m.value=!0,b.value=!1,setTimeout(()=>{m.value=!1},7e3)}}n.value=!0};return Object(c["c"])(async()=>{const t=await Object(o["g"])("/getUserRole");if(f.value=t.user_key,p.value=t.user_roles,p.value.length>0)if(p.value.includes("System Admin")){d.value=!0,await C();const t=await Object(l["a"])("system/config");h.value=t,console.log(t)}else d.value=!1}),{templateID:e,showSuccessMessage:b,showScreen:d,resMessage:v,showErrorMessage:m,showUpdate:s,errorMessage:r,renderReady:n,template:a,openPreview:j,updateTemplate:_,isNew:y,isPreview:g,previewContent:w,previewShow:x}}}),p=f,d=n("8619"),b=Object(d["a"])(p,a,r,!1,null,null,null);e["default"]=b.exports},"5a25":function(t,e){t.exports=!1},"5c2c":function(t,e,n){var a=n("a15f"),r=n("085a"),o=n("22e2"),c=n("e6a8"),i=n("8041"),s=n("61ca"),u=n("abf7"),l=n("cca5"),f=Object.getOwnPropertyDescriptor;e.f=a?f:function(t,e){if(t=i(t),e=s(e),l)try{return f(t,e)}catch(n){}if(u(t,e))return c(!r(o.f,t,e),t[e])}},"5e2f":function(t,e,n){var a=n("ab3a"),r=n("644c"),o=n("abf7"),c=n("a15f"),i=n("4104").CONFIGURABLE,s=n("7cbd"),u=n("7cfe"),l=u.enforce,f=u.get,p=Object.defineProperty,d=c&&!a((function(){return 8!==p((function(){}),"length",{value:8}).length})),b=String(String).split("String"),v=t.exports=function(t,e,n){"Symbol("===String(e).slice(0,7)&&(e="["+String(e).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),n&&n.getter&&(e="get "+e),n&&n.setter&&(e="set "+e),(!o(t,"name")||i&&t.name!==e)&&(c?p(t,"name",{value:e,configurable:!0}):t.name=e),d&&n&&o(n,"arity")&&t.length!==n.arity&&p(t,"length",{value:n.arity});try{n&&o(n,"constructor")&&n.constructor?c&&p(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(r){}var a=l(t);return o(a,"source")||(a.source=b.join("string"==typeof e?e:"")),t};Function.prototype.toString=v((function(){return r(this)&&f(this).source||s(this)}),"toString")},"61ca":function(t,e,n){var a=n("3dd5"),r=n("dfad");t.exports=function(t){var e=a(t,"string");return r(e)?e:e+""}},6369:function(t,e,n){var a=n("af95"),r=Object;t.exports=function(t){return r(a(t))}},"644c":function(t,e,n){var a=n("ee76"),r=a.all;t.exports=a.IS_HTMLDDA?function(t){return"function"==typeof t||t===r}:function(t){return"function"==typeof t}},"670d":function(t,e){var n=TypeError,a=9007199254740991;t.exports=function(t){if(t>a)throw n("Maximum allowed index exceeded");return t}},6839:function(t,e,n){var a=n("ab3a"),r=n("644c"),o=/#|\.prototype\./,c=function(t,e){var n=s[i(t)];return n==l||n!=u&&(r(e)?a(e):!!e)},i=c.normalize=function(t){return String(t).replace(o,".").toLowerCase()},s=c.data={},u=c.NATIVE="N",l=c.POLYFILL="P";t.exports=c},"6a00":function(t,e,n){var a=n("d168"),r=n("5c2c").f,o=n("8e8e"),c=n("107e"),i=n("5151"),s=n("8d70"),u=n("6839");t.exports=function(t,e){var n,l,f,p,d,b,v=t.target,m=t.global,y=t.stat;if(l=m?a:y?a[v]||i(v,{}):(a[v]||{}).prototype,l)for(f in e){if(d=e[f],t.dontCallGetSet?(b=r(l,f),p=b&&b.value):p=l[f],n=u(m?f:v+(y?".":"#")+f,t.forced),!n&&void 0!==p){if(typeof d==typeof p)continue;s(d,p)}(t.sham||p&&p.sham)&&o(d,"sham",!0),c(l,f,d,t)}}},7188:function(t,e,n){var a=n("ab64"),r=n("ab3a"),o=n("2253"),c=Object,i=a("".split);t.exports=r((function(){return!c("z").propertyIsEnumerable(0)}))?function(t){return"String"==o(t)?i(t,""):c(t)}:c},7943:function(t,e,n){var a=n("a8d8");e=a(!1),e.push([t.i,".tableScroll[data-v-170797d3]{max-height:50vh;overflow-y:auto}",""]),t.exports=e},"7cbd":function(t,e,n){var a=n("ab64"),r=n("644c"),o=n("a83c"),c=a(Function.toString);r(o.inspectSource)||(o.inspectSource=function(t){return c(t)}),t.exports=o.inspectSource},"7cc3":function(t,e,n){"use strict";var a=n("a15f"),r=n("1d28"),o=TypeError,c=Object.getOwnPropertyDescriptor,i=a&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(t){return t instanceof TypeError}}();t.exports=i?function(t,e){if(r(t)&&!c(t,"length").writable)throw o("Cannot set read only .length");return t.length=e}:function(t,e){return t.length=e}},"7cfe":function(t,e,n){var a,r,o,c=n("316b"),i=n("d168"),s=n("91f1"),u=n("8e8e"),l=n("abf7"),f=n("a83c"),p=n("dbfe"),d=n("ea1a"),b="Object already initialized",v=i.TypeError,m=i.WeakMap,y=function(t){return o(t)?r(t):a(t,{})},g=function(t){return function(e){var n;if(!s(e)||(n=r(e)).type!==t)throw v("Incompatible receiver, "+t+" required");return n}};if(c||f.state){var x=f.state||(f.state=new m);x.get=x.get,x.has=x.has,x.set=x.set,a=function(t,e){if(x.has(t))throw v(b);return e.facade=t,x.set(t,e),e},r=function(t){return x.get(t)||{}},o=function(t){return x.has(t)}}else{var h=p("state");d[h]=!0,a=function(t,e){if(l(t,h))throw v(b);return e.facade=t,u(t,h,e),e},r=function(t){return l(t,h)?t[h]:{}},o=function(t){return l(t,h)}}t.exports={set:a,get:r,has:o,enforce:y,getterFor:g}},"803b":function(t,e,n){var a=n("ab64"),r=0,o=Math.random(),c=a(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+c(++r+o,36)}},8041:function(t,e,n){var a=n("7188"),r=n("af95");t.exports=function(t){return a(r(t))}},8391:function(t,e,n){var a=n("f189");t.exports=a&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},8596:function(t,e,n){"use strict";n.d(e,"y",(function(){return r})),n.d(e,"t",(function(){return o})),n.d(e,"u",(function(){return c})),n.d(e,"e",(function(){return i})),n.d(e,"x",(function(){return s})),n.d(e,"z",(function(){return u})),n.d(e,"r",(function(){return l})),n.d(e,"s",(function(){return f})),n.d(e,"f",(function(){return p})),n.d(e,"v",(function(){return d})),n.d(e,"h",(function(){return b})),n.d(e,"j",(function(){return v})),n.d(e,"q",(function(){return m})),n.d(e,"o",(function(){return y})),n.d(e,"p",(function(){return g})),n.d(e,"m",(function(){return x})),n.d(e,"k",(function(){return h})),n.d(e,"l",(function(){return w})),n.d(e,"A",(function(){return _})),n.d(e,"C",(function(){return j})),n.d(e,"w",(function(){return C})),n.d(e,"n",(function(){return O})),n.d(e,"i",(function(){return k})),n.d(e,"g",(function(){return S})),n.d(e,"a",(function(){return T})),n.d(e,"B",(function(){return P})),n.d(e,"b",(function(){return E})),n.d(e,"d",(function(){return M})),n.d(e,"c",(function(){return A}));var a=n("26fa");const r=async t=>{let e;return await a["b"].get(t).then(t=>(e=t.data,e)),e},o=async t=>{let e;return await a["b"].get(t).then(t=>(e=t.data,e)),e},c=async t=>{let e;return await a["b"].get(t).then(t=>(e=t.data,e)),e},i=async t=>{let e;return await a["b"].get(t).then(t=>(e=t.data,e)),e},s=async t=>{let e;return await a["b"].get(t).then(t=>(e=t.data,e)),e},u=async t=>{let e;return await a["b"].get(t).then(t=>(e=t.data,e)),e},l=async t=>{let e;return await a["b"].get(t).then(t=>(e=t.data,e)),e},f=async t=>{let e;return await a["b"].get(t).then(t=>(e=t.data,e)),e},p=async t=>{let e;return await a["b"].get(t).then(t=>(e=t.data,e)),e},d=async t=>{let e;return await a["b"].get(t).then(t=>(e=t.data,e)),e},b=async t=>{let e;return await a["b"].get(t).then(t=>(e=t.data,e)),e},v=async t=>{let e;return await a["b"].get(t).then(t=>(e=t.data,e)),e},m=async t=>{let e;return await a["b"].get(t).then(t=>(e=t.data.userObj,e)),e},y=async t=>{let e;return await a["b"].get(t).then(t=>(e=t.data.userObj,e)),e},g=async t=>{let e;return await a["b"].get(t).then(t=>(e=t.data.userObj,e)),e},x=async t=>{let e;return await a["b"].get(t).then(t=>(e=t.data,e)),e},h=async t=>{let e;return await a["b"].get(t).then(t=>(e=t.data,e)),e},w=async t=>{let e;return await a["b"].get(t).then(t=>(e=t.data,e)),e},_=async t=>{const e=await a["b"].get(t);return e},j=async t=>{const e=await a["b"].get(t);return e},C=async t=>{const e=await a["b"].get(t);return e},O=async t=>{let e;return await a["b"].get(t).then(t=>(e=t.data,e)),e},k=async t=>{let e;return await a["b"].get(t).then(t=>(e=t.data,e)),e},S=async t=>{let e;return await a["b"].get(t).then(t=>(e=t.data.userObj,e)),e},T=async t=>{const e=await a["b"].post("/user/role",t);return e},P=async t=>{const e=await a["b"].post("/user/removeRole",t);return e},E=async()=>{const t=await a["b"].get("role");return t},M=async t=>{const e=await a["b"].post("/user/saveLSS",t);return e},A=async t=>{const e=await a["b"].post("/user/saveEnvAccess",t);return e}},8764:function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"admin"},[t.showScreen?e("div",{staticClass:"container w-full flex flex-wrap mx-auto px-2 pt-8 lg:pt-16 md:pt-16 mt-10"},[t._m(0),e("div",{staticClass:"w-full flex mt-6"},[e("div",{staticClass:"w-full text-left"},[e("router-link",{staticClass:"bg-background-secondary inline-block text-white py-2 px-4 mr-4 mt-4",attrs:{to:{name:"SolidifyAdministrationEmailTemplateDetails",query:{is_new:"true"}}}},[t._v("Add Email Template")]),t.editTemplateBtn?e("button",{staticClass:"bg-background-secondary inline-block text-white py-2 px-4 mr-4 mt-4",on:{click:function(e){return t.editTemplate()}}},[t._v("Edit Template")]):t._e()],1)]),e("div",{staticClass:"w-full mt-4 tableScroll"},[e("table",{staticClass:"w-full text-md bg-white shadow rounded mb-4 text-over"},[t._m(1),e("tbody",{staticClass:"opacity-80 -text-blue-800 align-bottom"},t._l(t.emailTemplates,(function(n){return e("tr",{key:n.template_name,staticClass:"border-b hover:bg-gray-300"},[e("td",{staticClass:"py-2 pl-3 pr-0 text-sm w-6"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.templateCheck,expression:"templateCheck"}],attrs:{type:"checkbox",id:n.template_name},domProps:{value:n.template_name,checked:Array.isArray(t.templateCheck)?t._i(t.templateCheck,n.template_name)>-1:t.templateCheck},on:{change:[function(e){var a=t.templateCheck,r=e.target,o=!!r.checked;if(Array.isArray(a)){var c=n.template_name,i=t._i(a,c);r.checked?i<0&&(t.templateCheck=a.concat([c])):i>-1&&(t.templateCheck=a.slice(0,i).concat(a.slice(i+1)))}else t.templateCheck=o},function(e){return t.showTemplateEditBtn(e,n.template_name)}],click:t.checkOne}})]),e("td",{staticClass:"p-2 px-3"},[t._v(t._s(n.template_name))]),e("td",{staticClass:"p-2 px-3"},[t._v(t._s(n.subject))]),e("td",{staticClass:"p-2 px-3"},[t._v(t._s(n.content))]),e("td",{staticClass:"p-2 px-3"},[t._v(t._s(n.modified_date))]),e("td",{staticClass:"p-2 px-3"},[t._v(t._s(n.modified_by))])])})),0)])])]):t._e(),t.renderReady?t._e():e("div",{staticClass:"flex flex-col h-min-screen justify-center text-center pageLoader"},[e("img",{staticClass:"mb-8 block mx-auto loadercss mt-3%",attrs:{src:n("9d04"),alt:"Loader Gif"}}),e("p",{staticClass:"mx-auto mb-10 leading-normal px-4 loadertextcss ext-genpact-darkest-blue"},[t._v("Loading...")])])])},r=[function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"w-full flex justify-between"},[e("div",{staticClass:"w-full text-center text-3xl text-background-secondary"},[t._v("Email Template Management")])])},function(){var t=this,e=t._self._c;t._self._setupProxy;return e("thead",{staticClass:"opacity-90 -text-blue-800"},[e("tr",{staticClass:"border-b"},[e("th",{staticClass:"text-left py-2 pl-3 pr-0 w-6"}),e("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[t._v("Template Name")]),e("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[t._v("Template Subject")]),e("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[t._v("Content")]),e("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[t._v("Modified Date")]),e("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[t._v("Modified By")])])])}],o=(n("ec53"),n("6bcf")),c=n("8596"),i=n("be10"),s=n("bb03"),u=n.n(s),l=n("afbc"),f=Object(o["b"])({name:"EmailTemplateManagement",components:{},setup(){const t=Object(o["f"])(),e=Object(o["f"])(),n=Object(o["f"])(!1),a=Object(o["f"])([]),r=Object(o["f"])(!1),s=Object(o["f"])(!1),f=Object(o["f"])(""),p=Object(o["f"])([]),d=()=>{p.value=[]},b=async()=>{r.value=!1;try{const t=await Object(i["a"])("/email/templates/all");a.value=t.data.body.Items,a.value.map(t=>(t.created_date=u()(t.created_date).format("DD-MM-YYYY hh:mm:ss"),t.modified_date=u()(t.modified_date).format("DD-MM-YYYY hh:mm:ss"),t)),r.value=!0}catch(t){const e=t;console.log(e.response)}},v=async(t,e)=>{!0===t.target.checked?(s.value=!0,f.value=e):(s.value=!1,f.value="")},m=async()=>{console.log("template editing",f.value);const t={template:f.value,is_new:"false"};l["a"].push({path:"EmailTemplateDetails",query:t})};return Object(o["c"])(async()=>{const a=await Object(c["g"])("/getUserRole");t.value=a.user_key,e.value=a.user_roles,e.value.length>0&&(e.value.includes("System Admin")?(n.value=!0,await b()):n.value=!1)}),{loggedInUser:t,userRole:e,showScreen:n,emailTemplates:a,renderReady:r,showTemplateEditBtn:v,editTemplateBtn:s,editTemplate:m,templateCheck:p,checkOne:d}}}),p=f,d=(n("d855"),n("8619")),b=Object(d["a"])(p,a,r,!1,null,"170797d3",null);e["default"]=b.exports},"88db":function(t,e,n){var a=n("d168"),r=n("91f1"),o=a.document,c=r(o)&&r(o.createElement);t.exports=function(t){return c?o.createElement(t):{}}},"8d70":function(t,e,n){var a=n("abf7"),r=n("a40d"),o=n("5c2c"),c=n("3426");t.exports=function(t,e,n){for(var i=r(e),s=c.f,u=o.f,l=0;l<i.length;l++){var f=i[l];a(t,f)||n&&a(n,f)||s(t,f,u(e,f))}}},"8e8e":function(t,e,n){var a=n("a15f"),r=n("3426"),o=n("e6a8");t.exports=a?function(t,e,n){return r.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},9168:function(t,e,n){var a=n("d168"),r=n("4e6a"),o=n("abf7"),c=n("803b"),i=n("f189"),s=n("8391"),u=r("wks"),l=a.Symbol,f=l&&l["for"],p=s?l:l&&l.withoutSetter||c;t.exports=function(t){if(!o(u,t)||!i&&"string"!=typeof u[t]){var e="Symbol."+t;i&&o(l,t)?u[t]=l[t]:u[t]=s&&f?f(e):p(e)}return u[t]}},"91f1":function(t,e,n){var a=n("644c"),r=n("ee76"),o=r.all;t.exports=r.IS_HTMLDDA?function(t){return"object"==typeof t?null!==t:a(t)||t===o}:function(t){return"object"==typeof t?null!==t:a(t)}},"981b":function(t,e){e.f=Object.getOwnPropertySymbols},9908:function(t,e,n){var a=n("ab64"),r=n("abf7"),o=n("8041"),c=n("fbfb").indexOf,i=n("ea1a"),s=a([].push);t.exports=function(t,e){var n,a=o(t),u=0,l=[];for(n in a)!r(i,n)&&r(a,n)&&s(l,n);while(e.length>u)r(a,n=e[u++])&&(~c(l,n)||s(l,n));return l}},"9d04":function(t,e,n){t.exports=n.p+"img/loadernew.gif"},a15f:function(t,e,n){var a=n("ab3a");t.exports=!a((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},a40d:function(t,e,n){var a=n("a8db"),r=n("ab64"),o=n("163d"),c=n("981b"),i=n("b172"),s=r([].concat);t.exports=a("Reflect","ownKeys")||function(t){var e=o.f(i(t)),n=c.f;return n?s(e,n(t)):e}},a83c:function(t,e,n){var a=n("d168"),r=n("5151"),o="__core-js_shared__",c=a[o]||r(o,{});t.exports=c},a8db:function(t,e,n){var a=n("d168"),r=n("644c"),o=function(t){return r(t)?t:void 0};t.exports=function(t,e){return arguments.length<2?o(a[t]):a[t]&&a[t][e]}},ab3a:function(t,e){t.exports=function(t){try{return!!t()}catch(e){return!0}}},ab64:function(t,e,n){var a=n("214f"),r=Function.prototype,o=r.call,c=a&&r.bind.bind(o,o);t.exports=a?c:function(t){return function(){return o.apply(t,arguments)}}},abf7:function(t,e,n){var a=n("ab64"),r=n("6369"),o=a({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return o(r(t),e)}},af95:function(t,e,n){var a=n("5900"),r=TypeError;t.exports=function(t){if(a(t))throw r("Can't call method on "+t);return t}},b172:function(t,e,n){var a=n("91f1"),r=String,o=TypeError;t.exports=function(t){if(a(t))return t;throw o(r(t)+" is not an object")}},b58f:function(t,e,n){var a=n("a15f"),r=n("ab3a");t.exports=a&&r((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},b662:function(t,e){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},bb5c:function(t,e){var n=String;t.exports=function(t){try{return n(t)}catch(e){return"Object"}}},be10:function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return o}));var a=n("26fa");const r=async t=>{const e=await a["b"].get(t);return e},o=async(t,e)=>{const n=await a["b"].post(t,e);return n}},be2a:function(t,e,n){var a=n("7943");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var r=n("c69b").default;r("5cf30078",a,!0,{sourceMap:!1,shadowMode:!1})},cca5:function(t,e,n){var a=n("a15f"),r=n("ab3a"),o=n("88db");t.exports=!a&&!r((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},cd20:function(t,e,n){var a=n("644c"),r=n("bb5c"),o=TypeError;t.exports=function(t){if(a(t))return t;throw o(r(t)+" is not a function")}},d168:function(t,e,n){(function(e){var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof e&&e)||function(){return this}()||Function("return this")()}).call(this,n("d8fc"))},d1bf:function(t,e,n){var a=n("ab64");t.exports=a({}.isPrototypeOf)},d514:function(t,e,n){var a=n("3a3a"),r=Math.min;t.exports=function(t){return t>0?r(a(t),9007199254740991):0}},d855:function(t,e,n){"use strict";n("be2a")},dbeb:function(t,e,n){var a=n("d514");t.exports=function(t){return a(t.length)}},dbfe:function(t,e,n){var a=n("4e6a"),r=n("803b"),o=a("keys");t.exports=function(t){return o[t]||(o[t]=r(t))}},dfad:function(t,e,n){var a=n("a8db"),r=n("644c"),o=n("d1bf"),c=n("8391"),i=Object;t.exports=c?function(t){return"symbol"==typeof t}:function(t){var e=a("Symbol");return r(e)&&o(e.prototype,i(t))}},e6a8:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},ea1a:function(t,e){t.exports={}},ec53:function(t,e,n){"use strict";var a=n("6a00"),r=n("6369"),o=n("dbeb"),c=n("7cc3"),i=n("670d"),s=n("ab3a"),u=s((function(){return 4294967297!==[].push.call({length:4294967296},1)})),l=!function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(t){return t instanceof TypeError}}();a({target:"Array",proto:!0,arity:1,forced:u||l},{push:function(t){var e=r(this),n=o(e),a=arguments.length;i(n+a);for(var s=0;s<a;s++)e[n]=arguments[s],n++;return c(e,n),n}})},ee76:function(t,e){var n="object"==typeof document&&document.all,a="undefined"==typeof n&&void 0!==n;t.exports={all:n,IS_HTMLDDA:a}},f189:function(t,e,n){var a=n("2ae2"),r=n("ab3a");t.exports=!!Object.getOwnPropertySymbols&&!r((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&a&&a<41}))},f889:function(t,e,n){var a=n("3a3a"),r=Math.max,o=Math.min;t.exports=function(t,e){var n=a(t);return n<0?r(n+e,0):o(n,e)}},fbfb:function(t,e,n){var a=n("8041"),r=n("f889"),o=n("dbeb"),c=function(t){return function(e,n,c){var i,s=a(e),u=o(s),l=r(c,u);if(t&&n!=n){while(u>l)if(i=s[l++],i!=i)return!0}else for(;u>l;l++)if((t||l in s)&&s[l]===n)return t||l||0;return!t&&-1}};t.exports={includes:c(!0),indexOf:c(!1)}},fee9:function(t,e,n){var a=n("cd20"),r=n("5900");t.exports=function(t,e){var n=t[e];return r(n)?void 0:a(n)}}}]);
|
|
2
2
|
//# sourceMappingURL=SolidifyAdministrationEmailTemplateManagement.js.map
|