diff --git a/cypress.config.js b/cypress.config.js index 08f0f25c..a1738565 100644 --- a/cypress.config.js +++ b/cypress.config.js @@ -1,12 +1,7 @@ -const { defineConfig } = require('cypress') +import { defineConfig } from 'cypress' -module.exports = defineConfig({ +export default defineConfig({ e2e: { - // We've imported your old cypress plugins here. - // You may want to clean this up later by importing these. - setupNodeEvents(on, config) { - return require('./cypress/plugins/index.js')(on, config) - }, baseUrl: 'http://localhost:5050', }, }) diff --git a/cypress/plugins/index.js b/cypress/plugins/index.js deleted file mode 100644 index 8229063a..00000000 --- a/cypress/plugins/index.js +++ /dev/null @@ -1,22 +0,0 @@ -/// -// *********************************************************** -// This example plugins/index.js can be used to load plugins -// -// You can change the location of this file or turn off loading -// the plugins file with the 'pluginsFile' configuration option. -// -// You can read more here: -// https://on.cypress.io/plugins-guide -// *********************************************************** - -// This function is called when a project is opened or re-opened (e.g. due to -// the project's config changing) - -/** - * @type {Cypress.PluginConfig} - */ -// eslint-disable-next-line no-unused-vars -module.exports = (on, config) => { - // `on` is used to hook into various events Cypress emits - // `config` is the resolved Cypress config -}; diff --git a/docs/assets/main-Di8YmrVk.js b/docs/assets/main-zAMBXuOa.js similarity index 99% rename from docs/assets/main-Di8YmrVk.js rename to docs/assets/main-zAMBXuOa.js index f0062539..59602f4b 100644 --- a/docs/assets/main-Di8YmrVk.js +++ b/docs/assets/main-zAMBXuOa.js @@ -60,4 +60,4 @@ height="100%" border="0" frameborder="0" - >`,c.appendChild(d);return}e.url.indexOf("/prweb/")!==0&&(e.url=e.url.substring(0,e.url.indexOf("/prweb")+6)),this.userId!==-1?(e.username=this.settings.users[this.userId].pega_userid,e.password=this.settings.users[this.userId].pega_pwd):this.homeHeroAction!==-1?(e.username=this.settings.homeheroaction.pega_userid,e.password=this.settings.homeheroaction.pega_pwd):this.offerAction!==-1&&(e.username=this.settings.offeraction.pega_userid,e.password=this.settings.offeraction.pega_pwd),this.settings.general.connection.type==="dxv2"&&(e.portalName=this.settings.general.connection.webportal),this.settings.general.connection.authtype==="oauth2password"&&(e.clientid=this.settings.general.connection.clientid,e.clientsecret=this.settings.general.connection.clientsecret),e.authentication=this.settings.general.connection.authtype;let a={};if(l.split(",").forEach(c=>{const d=c.split("=");d.length===2&&setObjectFromRef(a,d[0].trim(),d[1].trim())}),this.userId!==-1&&typeof this.settings.users[this.userId].extraparam<"u"&&this.settings.users[this.userId].extraparam!==""&&this.settings.users[this.userId].extraparam.split(",").forEach(c=>{const d=c.split("=");d.length===2&&setObjectFromRef(a,d[0].trim(),d[1].trim())}),Object.keys(a).length>0&&(e.initialContent=a),e.addEventListener("message",c=>{c.detail.type==="cancel"&&this.goHomePage()}),typeof litElementVersions>"u"){const c=document.createElement("script");c.setAttribute("src","../js/pega-mashup-webcomponent-light-all.js"),document.head.appendChild(c)}},methods:{goHomePage(){mainconfig.quickLinkId=-1,mainconfig.viewBill=-1,mainconfig.viewBanner=-1,mainconfig.homeHeroAction=-1,mainconfig.offerAction=-1,mainconfig.toDo=-1,mainconfig.viewKMHelp=-1,mainconfig.offerURL="",mainconfig.offerIndex=0,mainconfig.CDHContainer={},window.history&&(mainconfig.isAuthenticated?(mainconfig.currentPage="account",window.history.pushState({userId:mainconfig.userId},"",mainconfig.currentPage)):(mainconfig.currentPage="index.html",window.history.pushState({},"",mainconfig.currentPage)),setTimeout(()=>{window.scrollTo({top:0,behavior:"smooth"})},0)),sendClickStreamEvent(mainconfig,"PageView","Home",window.loadPage),window.loadPage=new Date}}},_hoisted_1$M={key:0,class:"pega-mashup",ref:"mycomp"},_hoisted_2$G={key:1,class:"pega-mashup",ref:"mycomp"};function _sfc_render$Q(e,t,n,o,s,r){return this.settings.general.connection.type==="dxv2"?(openBlock(),createElementBlock("pega-mashup-light-v2",_hoisted_1$M,null,512)):(openBlock(),createElementBlock("pega-mashup-light",_hoisted_2$G,null,512))}const WebComponent=_export_sfc(_sfc_main$S,[["render",_sfc_render$Q]]),_sfc_main$R={props:{showActivity:Boolean},data(){return{...mainconfig,action:"",actionparam:"",objClass:"",application:void 0,url:"",pegaServerType:void 0,authorizeUri:void 0,staticContentUrl:void 0,showAssignmentHeader:!0,reloadTitle:!1,pageTemplate:"assignment",authService:void 0,clientId:"",caseTitle:"",isWebEmbedInitialized:!1,UserIdentifier:void 0,Password:void 0,theme:void 0,themeID:void 0,startingFields:{},extraParam:"",embedEventFn:e=>{e.type==="embedcloseconfirmview"||e.type==="embedcaseclosed"||e.type==="embedeventcancel"?top.postMessage("pegaMashupNavigateBack",location.origin):e.type==="embedprocessingend"?setTimeout(()=>{const t=document.querySelector("pega-embed");!t||t.clientHeight===0?top.postMessage("pegaMashupNavigateBack",location.origin):this.reloadTitle&&setTimeout(()=>{const n=t.getEmbedData(".pyLabel");if(n){const o=document.querySelector("h1");o&&(o.innerHTML=n)}},1e3)},300):e.type==="embedreauth"&&document.querySelector("pega-embed").login(!0)}}},mounted(){if(sessionStorage.clear(),this.quickLinkId!==-1?(this.action=this.settings.quicklinks[this.quickLinkId].action,this.url=this.settings.quicklinks[this.quickLinkId].url,this.actionparam=this.settings.quicklinks[this.quickLinkId].actionparam,this.pageTemplate=this.settings.quicklinks[this.quickLinkId].pageTemplate,this.showAssignmentHeader=!this.settings.quicklinks[this.quickLinkId].hideassignmentheader,this.reloadTitle=this.settings.quicklinks[this.quickLinkId].reloadtitle,this.application=this.settings.quicklinks[this.quickLinkId].application,this.objClass=this.settings.quicklinks[this.quickLinkId].objclass,this.caseTitle=this.settings.quicklinks[this.quickLinkId].title[this.currentLocale],this.extraParam=this.settings.quicklinks[this.quickLinkId].extraparam):this.viewBill!==-1?(this.action=this.settings.billpay.action,this.actionparam=this.settings.billpay.actionparam,this.pageTemplate=this.settings.billpay.pageTemplate,this.showAssignmentHeader=!this.settings.billpay.hideassignmentheader,this.application=this.settings.billpay.application,this.url=this.settings.billpay.url,this.objClass=this.settings.billpay.objclass,this.extraParam=this.settings.billpay.extraparam):this.viewBanner!==-1?(this.action=this.settings.banner.action,this.actionparam=this.settings.banner.actionparam,this.pageTemplate=this.settings.banner.pageTemplate,this.showAssignmentHeader=!this.settings.banner.hideassignmentheader,this.application=this.settings.banner.application,this.url=this.settings.banner.url,this.objClass=this.settings.banner.objclass,this.extraParam=this.settings.banner.extraparam):this.homeHeroAction!==-1?(this.action=this.settings.homeheroaction.action,this.actionparam=this.settings.homeheroaction.actionparam,this.pageTemplate=this.settings.homeheroaction.pageTemplate,this.showAssignmentHeader=!this.settings.homeheroaction.hideassignmentheader,this.application=this.settings.homeheroaction.application,this.url=this.settings.homeheroaction.url,this.objClass=this.settings.homeheroaction.objclass,this.extraParam=this.settings.homeheroaction.extraparam):this.offerAction!==-1?(this.action=this.settings.offeraction.action,this.actionparam=this.settings.offeraction.actionparam,this.pageTemplate=this.settings.offeraction.pageTemplate,this.showAssignmentHeader=!this.settings.offeraction.hideassignmentheader,this.application=this.settings.offeraction.application,this.url=this.settings.offeraction.url,this.objClass=this.settings.offeraction.objclass,this.extraParam=this.settings.offeraction.extraparam):this.viewKMHelp!==-1?(this.action=this.settings.kmhelp.action,this.actionparam=this.settings.kmhelp.actionparam,this.pageTemplate=this.settings.kmhelp.pageTemplate,this.showAssignmentHeader=!this.settings.kmhelp.hideassignmentheader,this.application=this.settings.kmhelp.application,this.url=this.settings.kmhelp.url,this.objClass=this.settings.kmhelp.objclass,this.extraParam=this.settings.kmhelp.extraparam):this.showActivity?(this.action=this.settings.activity.action,this.actionparam=this.settings.activity.actionparam,this.pageTemplate=this.settings.activity.pageTemplate,this.showAssignmentHeader=!this.settings.activity.hideassignmentheader,this.application=this.settings.activity.application,this.url=this.settings.activity.url,this.objClass=this.settings.activity.objclass,this.extraParam=this.settings.activity.extraparam):(this.action=this.settings.todo.action,this.actionparam=this.settings.todo.actionparam,this.pageTemplate=this.settings.todo.pageTemplate,this.showAssignmentHeader=!this.settings.todo.hideassignmentheader,this.application=this.settings.todo.application,this.url=this.settings.todo.url,this.objClass=this.settings.todo.objclass,this.extraParam=this.settings.todo.extraparam),this.action==="display"?this.action="openPage":this.action==="createNewWork"?this.action="createCase":this.action==="openAssignment"?this.action="openAssignment":this.action==="openWorkByHandle"?this.action="openCase":this.action==="getNextWork"&&(this.action="getNextWork"),this.userId!==-1?(this.UserIdentifier=this.settings.users[this.userId].pega_userid,this.Password=encodeURI(btoa(this.settings.users[this.userId].pega_pwd))):this.viewKMHelp!==-1?(this.UserIdentifier=this.settings.kmhelp.username,this.Password=encodeURI(btoa(this.settings.kmhelp.password))):this.homeHeroAction!==-1?(this.UserIdentifier=this.settings.homeheroaction.pega_userid,this.Password=encodeURI(btoa(this.settings.homeheroaction.pega_pwd))):this.offerAction!==-1&&(this.UserIdentifier=this.settings.offeraction.username,this.Password=encodeURI(btoa(this.settings.offeraction.password))),this.UserIdentifier||(this.UserIdentifier=void 0),this.Password||(this.Password=void 0),(this.settings.general.connection.type==="embedui3"||this.settings.general.connection.type==="launchpad")&&this.settings.general.connection.themeID?this.themeID=this.settings.general.connection.themeID:this.settings.general.connection.type!=="launchpad"&&(this.app.industry==="comms"?this.theme='{"base":{"palette":{"brand-primary":"#5F257E","app-background": "#FFFFFF","interactive":"#5F257E"},"shadow":{"low": "none"}},"components":{"button":{"border-radius":"0.25"}}}':this.app.industry.indexOf("health")===0?this.theme='{"base":{"palette":{"brand-primary":"#0C8487","app-background": "#FFFFFF","interactive":"#0C8487"},"shadow":{"low": "none"}},"components":{"button":{"border-radius":"0.25"}}}':this.app.industry==="gov"?this.theme='{"base":{"palette":{"brand-primary":"#076bc9","app-background": "#FFFFFF,"interactive":"#076bc9"},"shadow":{"low": "none"}},"components":{"button":{"border-radius":"0.25"}}}':this.app.industry==="retail_bank"||this.app.industry==="commercial_bank"?this.theme='{"base":{"palette":{"brand-primary":"#005501","app-background": "#FFFFFF","interactive":"#005501"},"shadow":{"low": "none"}},"components":{"button":{"border-radius":"0.25"}}}':(this.app.industry==="insurance"||this.app.industry==="manufacturing"||this.app.industry==="auto")&&(this.theme='{"base":{"palette":{"brand-primary":"#CA0000","app-background": "#FFFFFF","interactive":"#CA0000"},"shadow":{"low": "none"}},"components":{"button":{"border-radius":"0.25"}}}'),this.settings.general.theming.override&&(this.theme=`{"base":{"palette":{"brand-primary":"${this.settings.general.theming.brandColor}","interactive":"${this.settings.general.theming.interactiveColor}","app-background": "#FFFFFF"},"shadow":{"low": "none"}},"components":{"button":{"border-radius":"0.25"}}}`)),this.extraParamContent={},this.extraParam.split(",").forEach(e=>{const t=e.split("=");t.length===2&&setObjectFromRef(this.extraParamContent,t[0].trim(),t[1].trim())}),this.userId!==-1&&typeof this.settings.users[this.userId].extraparam<"u"&&this.settings.users[this.userId].extraparam!==""&&this.settings.users[this.userId].extraparam.split(",").forEach(e=>{const t=e.split("=");t.length===2&&setObjectFromRef(this.extraParamContent,t[0].trim(),t[1].trim())}),this.isDeepLink===!0){for(const e in this.deepLinkExtraParam)setObjectFromRef(this.extraParamContent,e,this.deepLinkExtraParam[e]);mainconfig.isDeepLink=!1,mainconfig.deepLinkExtraParam={}}this.settings.general.connection.type==="embedui"&&(this.staticContentUrl=this.settings.general.connection.c11nserver),this.settings.general.connection.type==="launchpad"?(this.pegaServerType="launchpad",this.authorizeUri=this.settings.general.connection.authorizeUri,this.UserIdentifier=void 0,this.Password=void 0,this.application=void 0):this.authService=this.settings.general.connection.authService,this.clientId=this.settings.general.connection.clientid,this.isWebEmbedInitialized="true"},updated(){const e=this.$refs.mycomp;this.action==="createCase"&&e.setAttribute("startingFields",JSON.stringify(this.extraParamContent)),e.addEventListener("embedprocessingend",this.embedEventFn),e.addEventListener("embedready",this.embedEventFn),e.addEventListener("embedcloseconfirmview",this.embedEventFn),e.addEventListener("embedcaseclosed",this.embedEventFn),e.addEventListener("embedeventcancel",this.embedEventFn),e.addEventListener("embedreauth",this.embedEventFn)},beforeUnmount(){const e=this.$refs.mycomp;e.removeEventListener("embedprocessingend",this.embedEventFn),e.removeEventListener("embedready",this.embedEventFn),e.removeEventListener("embedcloseconfirmview",this.embedEventFn),e.removeEventListener("embedcaseclosed",this.embedEventFn),e.removeEventListener("embedeventcancel",this.embedEventFn),e.removeEventListener("embedreauth",this.embedEventFn)},methods:{goHomePage(){mainconfig.quickLinkId=-1,mainconfig.viewBill=-1,mainconfig.viewBanner=-1,mainconfig.homeHeroAction=-1,mainconfig.offerAction=-1,mainconfig.toDo=-1,mainconfig.viewKMHelp=-1,mainconfig.offerURL="",mainconfig.offerIndex=0,mainconfig.CDHContainer={},window.history&&(mainconfig.isAuthenticated?(mainconfig.currentPage="account",window.history.pushState({userId:mainconfig.userId},"",mainconfig.currentPage)):(mainconfig.currentPage="index.html",window.history.pushState({},"",mainconfig.currentPage)),setTimeout(()=>{window.scrollTo({top:0,behavior:"smooth"})},0)),sendClickStreamEvent(mainconfig,"PageView","Home",window.loadPage),window.loadPage=new Date}}},_hoisted_1$L=["casePage","assignmentHeader","action","pageID","pageClass","appAlias","pegaServerUrl","staticContentUrl","pegaServerType","authorizeUri","authService","clientId","userIdentifier","password","theme","themeID"],_hoisted_2$F=["casePage","assignmentHeader","action","caseTypeID","startingFields","appAlias","pegaServerUrl","staticContentUrl","pegaServerType","authorizeUri","authService","clientId","userIdentifier","password","theme","themeID"],_hoisted_3$x=["casePage","assignmentHeader","action","assignmentID","appAlias","pegaServerUrl","staticContentUrl","pegaServerType","authorizeUri","authService","clientId","userIdentifier","password","theme","themeID"],_hoisted_4$s=["casePage","assignmentHeader","action","caseID","appAlias","pegaServerUrl","staticContentUrl","pegaServerType","authorizeUri","authService","clientId","userIdentifier","password","theme","themeID"],_hoisted_5$s=["casePage","assignmentHeader","action","appAlias","pegaServerUrl","staticContentUrl","pegaServerType","authorizeUri","authService","clientId","userIdentifier","password","theme","themeID"],_hoisted_6$q={key:1};function _sfc_render$P(e,t,n,o,s,r){return s.isWebEmbedInitialized?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(["margin-b-3x",e.settings.general.connection.webEmbedUseFormWidth?"form-width":""])},[createBaseVNode("h1",null,toDisplayString$1(s.caseTitle),1),s.action==="openPage"?(openBlock(),createElementBlock("pega-embed",{key:0,popupReauth:"false",autoReauth:"true",silentTimeout:"10000",ref:"mycomp",casePage:s.pageTemplate,assignmentHeader:s.showAssignmentHeader,action:s.action,pageID:s.actionparam,pageClass:s.objClass,appAlias:s.application,pegaServerUrl:s.url,staticContentUrl:s.staticContentUrl,pegaServerType:s.pegaServerType,authorizeUri:s.authorizeUri,authService:s.authService,clientId:s.clientId,userIdentifier:s.UserIdentifier,password:s.Password,theme:s.theme,themeID:s.themeID},null,8,_hoisted_1$L)):s.action==="createCase"?(openBlock(),createElementBlock("pega-embed",{key:1,popupReauth:"false",autoReauth:"true",silentTimeout:"10000",ref:"mycomp",casePage:s.pageTemplate,assignmentHeader:s.showAssignmentHeader,action:s.action,caseTypeID:s.objClass,startingFields:s.startingFields,appAlias:s.application,pegaServerUrl:s.url,staticContentUrl:s.staticContentUrl,pegaServerType:s.pegaServerType,authorizeUri:s.authorizeUri,authService:s.authService,clientId:s.clientId,userIdentifier:s.UserIdentifier,password:s.Password,theme:s.theme,themeID:s.themeID},null,8,_hoisted_2$F)):s.action==="openAssignment"?(openBlock(),createElementBlock("pega-embed",{key:2,popupReauth:"false",autoReauth:"true",silentTimeout:"10000",ref:"mycomp",casePage:s.pageTemplate,assignmentHeader:s.showAssignmentHeader,action:s.action,assignmentID:s.actionparam,appAlias:s.application,pegaServerUrl:s.url,staticContentUrl:s.staticContentUrl,pegaServerType:s.pegaServerType,authorizeUri:s.authorizeUri,authService:s.authService,clientId:s.clientId,userIdentifier:s.UserIdentifier,password:s.Password,theme:s.theme,themeID:s.themeID},null,8,_hoisted_3$x)):s.action==="openCase"?(openBlock(),createElementBlock("pega-embed",{key:3,popupReauth:"false",autoReauth:"true",silentTimeout:"10000",ref:"mycomp",casePage:s.pageTemplate,assignmentHeader:s.showAssignmentHeader,action:s.action,caseID:s.actionparam,appAlias:s.application,pegaServerUrl:s.url,staticContentUrl:s.staticContentUrl,pegaServerType:s.pegaServerType,authorizeUri:s.authorizeUri,authService:s.authService,clientId:s.clientId,userIdentifier:s.UserIdentifier,password:s.Password,theme:s.theme,themeID:s.themeID},null,8,_hoisted_4$s)):s.action==="getNextWork"?(openBlock(),createElementBlock("pega-embed",{key:4,popupReauth:"false",autoReauth:"true",silentTimeout:"10000",ref:"mycomp",casePage:s.pageTemplate,assignmentHeader:s.showAssignmentHeader,action:s.action,appAlias:s.application,pegaServerUrl:s.url,staticContentUrl:s.staticContentUrl,pegaServerType:s.pegaServerType,authorizeUri:s.authorizeUri,authService:s.authService,clientId:s.clientId,userIdentifier:s.UserIdentifier,password:s.Password,theme:s.theme,themeID:s.themeID},null,8,_hoisted_5$s)):createCommentVNode("",!0)],2)):(openBlock(),createElementBlock("div",_hoisted_6$q,"Loading...."))}const WebEmbed=_export_sfc(_sfc_main$R,[["render",_sfc_render$P]]),_sfc_main$Q={data(){return mainconfig},components:{PegaWebMashup,WebComponent,WebEmbed}};function _sfc_render$O(e,t,n,o,s,r){const l=resolveComponent("PegaWebMashup"),a=resolveComponent("WebEmbed"),c=resolveComponent("WebComponent");return e.settings.general.connection.type==="mashup"?(openBlock(),createBlock(l,{key:0})):e.settings.general.connection.type.startsWith("embedui")||e.settings.general.connection.type==="launchpad"?(openBlock(),createBlock(a,{key:1})):(openBlock(),createBlock(c,{key:2}))}const MashupMainArea=_export_sfc(_sfc_main$Q,[["render",_sfc_render$O]]),_hoisted_1$K={class:"account-tabs"},_hoisted_2$E={class:"account-tabs-header"},_hoisted_3$w=["onClick"],_sfc_main$P={__name:"Tabs",props:{defaultSelectedIndex:String},setup(e){const t=e,n=useSlots(),o=ref(n.default()[0].children.map(r=>r.props.title)),s=ref(o.value[t.defaultSelectedIndex||0]);return provide("selectedTitle",s),(r,l)=>(openBlock(),createElementBlock("div",_hoisted_1$K,[createBaseVNode("ul",_hoisted_2$E,[(openBlock(!0),createElementBlock(Fragment,null,renderList(o.value,a=>(openBlock(),createElementBlock("li",{key:a,class:normalizeClass(["account-tabs-item",{selected:s.value===a}]),onClick:c=>s.value=a},toDisplayString$1(a),11,_hoisted_3$w))),128))]),renderSlot(r.$slots,"default")]))}},_hoisted_1$J={class:"account-tabs-content"},_sfc_main$O={__name:"TabItem",props:{title:String},setup(e){const t=inject("selectedTitle");return(n,o)=>withDirectives((openBlock(),createElementBlock("div",_hoisted_1$J,[renderSlot(n.$slots,"default")],512)),[[vShow,unref(t)===e.title]])}},_sfc_main$N={data(){return mainconfig},methods:{getDueBillDate(){const e=new Date;return e.getDate()>16&&e.setMonth((e.getMonth()+1)%12),e.setDate(15),e},openBill(){mainconfig.viewBill=1}},components:{Tabs:_sfc_main$P,TabItem:_sfc_main$O}},_hoisted_1$I={key:0,class:"account-picker"},_hoisted_2$D={class:"flex flex-nowrap"},_hoisted_3$v=["src","alt"],_hoisted_4$r={class:"account-picker-details"},_hoisted_5$r={key:0},_hoisted_6$p={key:1},_hoisted_7$k={key:2},_hoisted_8$h={key:3},_hoisted_9$h={key:4},_hoisted_10$g={class:"flex flex-col account-view-details"},_hoisted_11$g={class:"account-view-details"};function _sfc_render$N(e,t,n,o,s,r){const l=resolveComponent("TabItem"),a=resolveComponent("Tabs");return e.userId!==-1&&typeof e.settings.users[e.userId].accountpicker<"u"&&e.settings.users[e.userId].accountpicker.length>0?(openBlock(),createElementBlock("section",_hoisted_1$I,[createBaseVNode("h3",null,toDisplayString$1(e.settings.todo.accountpickerheading),1),createVNode(a,{defaultSelectedIndex:e.settings.users[e.userId].focustabindex},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(e.settings.users[e.userId].accountpicker,c=>(openBlock(),createBlock(l,{key:c.title,title:c.title},{default:withCtx(()=>[createBaseVNode("div",_hoisted_2$D,[typeof c.img<"u"&&c.img!==""?(openBlock(),createElementBlock("img",{key:0,class:"account-img",src:c.img,alt:c.title},null,8,_hoisted_3$v)):createCommentVNode("",!0),createBaseVNode("div",_hoisted_4$r,[(openBlock(!0),createElementBlock(Fragment,null,renderList(c.details,d=>(openBlock(),createElementBlock("div",{key:d.label},[createBaseVNode("label",null,toDisplayString$1(d.label),1),d.value!==""?(openBlock(),createElementBlock(Fragment,{key:0},[d.type==="currency"?(openBlock(),createElementBlock("p",_hoisted_5$r,toDisplayString$1(e.$n(d.value,"currency")),1)):d.type==="number"?(openBlock(),createElementBlock("p",_hoisted_6$p,toDisplayString$1(e.$n(d.value)),1)):d.type==="date"?(openBlock(),createElementBlock("p",_hoisted_7$k,toDisplayString$1(e.$d(d.value,"short")),1)):d.type==="duedate"?(openBlock(),createElementBlock("p",_hoisted_8$h,toDisplayString$1(e.$d(r.getDueBillDate(),"short")),1)):(openBlock(),createElementBlock("p",_hoisted_9$h,toDisplayString$1(d.value),1))],64)):createCommentVNode("",!0)]))),128))]),createBaseVNode("div",_hoisted_10$g,[createBaseVNode("a",_hoisted_11$g,toDisplayString$1(e.$t("message.viewdetails")),1),typeof e.settings.billpay<"u"&&e.settings.billpay.hidebillpay!=="true"&&e.settings.billpay.hidebillpay!==!0&&c.showbillpay===!0?(openBlock(),createElementBlock("button",{key:0,class:"strong margin-t-2x",onClick:t[0]||(t[0]=d=>r.openBill())},toDisplayString$1(e.$t("message.paynow")),1)):createCommentVNode("",!0)])])]),_:2},1032,["title"]))),128))]),_:1},8,["defaultSelectedIndex"])])):createCommentVNode("",!0)}const AccountPicker=_export_sfc(_sfc_main$N,[["render",_sfc_render$N]]),_sfc_main$M={data(){return mainconfig},methods:{getDueBillDate(){const e=new Date;return e.getDate()>16&&e.setMonth((e.getMonth()+1)%12),e.setDate(15),e}}},_hoisted_1$H={key:0,class:"account-details primary-card"},_hoisted_2$C={key:0},_hoisted_3$u={key:0},_hoisted_4$q={key:1},_hoisted_5$q={key:2},_hoisted_6$o={key:3},_hoisted_7$j={key:4};function _sfc_render$M(e,t,n,o,s,r){return e.userId!==-1&&typeof e.settings.users[e.userId].accountdetails<"u"&&e.settings.users[e.userId].accountdetails.length>0?(openBlock(),createElementBlock("section",_hoisted_1$H,[createBaseVNode("h3",null,toDisplayString$1(e.settings.todo.accountdetailsheading),1),(openBlock(!0),createElementBlock(Fragment,null,renderList(e.settings.users[e.userId].accountdetails,(l,a)=>(openBlock(),createElementBlock("div",{class:"flex",key:a},[(openBlock(!0),createElementBlock(Fragment,null,renderList(l,c=>(openBlock(),createElementBlock("div",{key:c.label},[createBaseVNode("label",null,toDisplayString$1(c.label),1),typeof c.desc<"u"&&c.desc!==""?(openBlock(),createElementBlock("span",_hoisted_2$C,toDisplayString$1(c.desc),1)):createCommentVNode("",!0),c.value!==""?(openBlock(),createElementBlock(Fragment,{key:1},[c.type==="currency"?(openBlock(),createElementBlock("p",_hoisted_3$u,toDisplayString$1(e.$n(c.value,"currency")),1)):c.type==="number"?(openBlock(),createElementBlock("p",_hoisted_4$q,toDisplayString$1(e.$n(c.value)),1)):c.type==="date"?(openBlock(),createElementBlock("p",_hoisted_5$q,toDisplayString$1(e.$d(c.value,"short")),1)):c.type==="duedate"?(openBlock(),createElementBlock("p",_hoisted_6$o,toDisplayString$1(e.$d(r.getDueBillDate(),"short")),1)):(openBlock(),createElementBlock("p",_hoisted_7$j,toDisplayString$1(c.value),1))],64)):createCommentVNode("",!0)]))),128))]))),128))])):createCommentVNode("",!0)}const AccountDetails=_export_sfc(_sfc_main$M,[["render",_sfc_render$M]]),_sfc_main$L={data(){return mainconfig},methods:{selectLink(e){this.quickLinkId=e,this.previousPage=this.settings.quicklinks[e].objclass,window.history&&(window.history.pushState({userId:mainconfig.userId,quickLinkId:mainconfig.quickLinkId},"",`quicklink${e}`),setTimeout(()=>{window.scrollTo({top:0,behavior:"smooth"})},0)),this.$gtag&&this.$gtag.pageview({page_path:`quicklink${e}`}),sendClickStreamEvent(mainconfig,"PageView",`quicklink${e}`,window.loadPage),window.loadPage=new Date},hasQuicklinks(){for(const e in this.settings.quicklinks)if(this.settings.quicklinks[e].hide!==!0)return!0;return!1},showQuickLink(e){return this.settings.quicklinks[e].hideusers?!this.settings.quicklinks[e].hideusers.split(",").includes(this.settings.users[mainconfig.userId].username):!0}}},_hoisted_1$G={key:0,class:"quick-links"},_hoisted_2$B=["onClick"];function _sfc_render$L(e,t,n,o,s,r){return r.hasQuicklinks()?(openBlock(),createElementBlock("section",_hoisted_1$G,[(openBlock(!0),createElementBlock(Fragment,null,renderList(e.settings.quicklinks,(l,a)=>(openBlock(),createElementBlock(Fragment,{key:a},[l.hide!==!0&&r.showQuickLink(a)?(openBlock(),createElementBlock("button",{key:0,onClick:c=>r.selectLink(a)},toDisplayString$1(e.settings.quicklinks[a].title[e.currentLocale]),9,_hoisted_2$B)):createCommentVNode("",!0)],64))),128))])):createCommentVNode("",!0)}const QuickLinks=_export_sfc(_sfc_main$L,[["render",_sfc_render$L]]),_sfc_main$K={data(){const e=parseInt(mainconfig.settings.banner.color.substring(1),16),t=e>>16&255,n=e>>8&255,o=e&255;var s=1-(.299*t+.587*n+.114*o)/255;let r=s<.5?"black":"white";return{...mainconfig,textColor:r}},methods:{openBanner(){mainconfig.viewBanner=1}}},_hoisted_1$F={class:"banner"},_hoisted_2$A={class:"flex flex-grow-1 flex-mid-align"},_hoisted_3$t={class:"flex flex-col flex-grow-1"};function _sfc_render$K(e,t,n,o,s,r){return openBlock(),createElementBlock("section",_hoisted_1$F,[createBaseVNode("div",{class:"content-card flex",style:normalizeStyle({backgroundColor:e.settings.banner.color,color:s.textColor})},[createBaseVNode("div",_hoisted_2$A,[createBaseVNode("i",{class:normalizeClass("pi pi-3x "+e.$t("message.banner_icon"))},null,2),createBaseVNode("div",_hoisted_3$t,[createBaseVNode("p",null,toDisplayString$1(e.$t("message.banner_title")),1),createBaseVNode("p",null,toDisplayString$1(e.$t("message.banner_desc")),1)]),e.settings.banner.hidebanner_button!=!0?(openBlock(),createElementBlock("button",{key:0,onClick:t[0]||(t[0]=l=>r.openBanner())},toDisplayString$1(e.$t("message.banner_action")),1)):createCommentVNode("",!0)])],4)])}const Banner=_export_sfc(_sfc_main$K,[["render",_sfc_render$K]]),_sfc_main$J={data(){return mainconfig},components:{MashupMainArea},methods:{getdate(e){const t=new Date;return t.getDate()<=16&&t.setMonth((t.getMonth()-1)%12),t.setDate(15-e*2),t}}},_hoisted_1$E={key:1,class:"recent-activity primary-card"},_hoisted_2$z={class:"fatlist"},_hoisted_3$s={key:0,class:"fatlist-item"},_hoisted_4$p={key:1,class:"fatlist-item"},_hoisted_5$p={class:"fatlist-item activity"},_hoisted_6$n={key:2,class:"fatlist-item flex-align-r"},_hoisted_7$i={key:3,class:"fatlist-item flex-align-r"};function _sfc_render$J(e,t,n,o,s,r){const l=resolveComponent("MashupMainArea");return typeof e.settings.activity<"u"&&e.settings.activity.url!==""?(openBlock(),createBlock(l,{key:0,showActivity:""})):e.userId!==-1&&typeof e.settings.users[e.userId].recentactivity<"u"&&e.settings.users[e.userId].recentactivity.length>0?(openBlock(),createElementBlock("section",_hoisted_1$E,[createBaseVNode("h3",null,toDisplayString$1(e.settings.todo.recentactivityheading),1),createBaseVNode("ul",_hoisted_2$z,[(openBlock(!0),createElementBlock(Fragment,null,renderList(e.settings.users[e.userId].recentactivity,(a,c)=>(openBlock(),createElementBlock("li",{key:a.message,class:"flex"},[a.date?(openBlock(),createElementBlock("time",_hoisted_3$s,toDisplayString$1(e.$d(new Date(a.date),"short")),1)):(openBlock(),createElementBlock("time",_hoisted_4$p,toDisplayString$1(e.$d(r.getdate(c),"short")),1)),createBaseVNode("p",_hoisted_5$p,toDisplayString$1(a.message),1),a.cost?(openBlock(),createElementBlock("p",_hoisted_6$n,toDisplayString$1(e.$n(a.cost,"currency")),1)):(openBlock(),createElementBlock("a",_hoisted_7$i,toDisplayString$1(e.$t("message.viewmore")),1))]))),128))])])):createCommentVNode("",!0)}const RecentActivity=_export_sfc(_sfc_main$J,[["render",_sfc_render$J]]),_sfc_main$I={data(){return mainconfig},components:{MashupMainArea,AccountPicker,AccountDetails,RecentActivity,Banner,QuickLinks}},_hoisted_1$D={class:"col col-1"},_hoisted_2$y={class:"primary-card"};function _sfc_render$I(e,t,n,o,s,r){const l=resolveComponent("Banner"),a=resolveComponent("AccountPicker"),c=resolveComponent("QuickLinks"),d=resolveComponent("AccountDetails"),u=resolveComponent("MashupMainArea"),m=resolveComponent("RecentActivity");return openBlock(),createElementBlock("div",_hoisted_1$D,[createBaseVNode("div",_hoisted_2$y,[typeof e.settings.banner<"u"&&e.settings.banner.hidebanner!=="true"&&e.settings.banner.hidebanner!==!0?(openBlock(),createBlock(l,{key:0})):createCommentVNode("",!0),typeof e.settings.todo<"u"&&e.settings.todo.hideaccount!=="true"&&e.settings.todo.hideaccount!==!0?(openBlock(),createBlock(a,{key:1})):createCommentVNode("",!0),createVNode(c)]),typeof e.settings.todo<"u"&&e.settings.todo.hideaccountdetails!=="true"&&e.settings.todo.hideaccountdetails!==!0?(openBlock(),createBlock(d,{key:0})):createCommentVNode("",!0),typeof e.settings.todo<"u"&&e.settings.todo.url!==""?(openBlock(),createBlock(u,{key:e.reloadToDoMashup})):createCommentVNode("",!0),typeof e.settings.todo<"u"&&e.settings.todo.hideactivity!=="true"&&e.settings.todo.hideactivity!==!0?(openBlock(),createBlock(m,{key:e.reloadActivityMashup})):createCommentVNode("",!0)])}const AccountMainArea=_export_sfc(_sfc_main$I,[["render",_sfc_render$I]]),_sfc_main$H={props:{offer:{required:!0,type:Object}},data(){return mainconfig},methods:{showOffer(e){mainconfig.isMobilePhone&&(mainconfig.phonePageName="offer"),mainconfig.offerURL=e.url,mainconfig.previousPage=e.name,e.useURL=!0,mainconfig.settings.pega_marketing.accountPage.clickaction==="BuiltIn"&&(mainconfig.offerURL="/Basic",e.useURL=!1),mainconfig.CDHContainer=e,mainconfig.settings.pega_marketing.useCaptureByChannel===!0&&captureResponse(this,e,"Clicked")},toggleAIOverlay(e){e.showAIoverlay=!e.showAIoverlay},gotoOfferPage(e){sendClickStreamEvent(mainconfig,"PageView","Offer",window.loadPage),window.loadPage=new Date,mainconfig.currentPage="offer.html";const t=mainconfig.isAuthenticated?{userId:mainconfig.userId}:{};window.history.pushState(t,"","offer.html"),this.$gtag&&this.$gtag.pageview({page_path:mainconfig.currentPage}),mainconfig.offerIndex=0,setTimeout(()=>{window.scrollTo({top:0,behavior:"smooth"})},0),e.preventDefault()}},components:{AIOverlay}},_hoisted_1$C={class:"offer-card-col flex flex-col"},_hoisted_2$x={class:"offer-card"},_hoisted_3$r=["src","alt"],_hoisted_4$o={class:"content"},_hoisted_5$o=["href"],_hoisted_6$m=["href"];function _sfc_render$H(e,t,n,o,s,r){const l=resolveComponent("AIOverlay");return openBlock(),createElementBlock("section",_hoisted_1$C,[e.settings.pega_marketing.showAIOverlay?(openBlock(),createElementBlock("button",{key:0,class:"pi pi-polaris-solid ai-toggle",onClick:t[0]||(t[0]=a=>r.toggleAIOverlay(n.offer)),title:"toggle AI"})):createCommentVNode("",!0),createBaseVNode("div",_hoisted_2$x,[createBaseVNode("img",{class:"offer-img",src:n.offer.img,alt:n.offer.title},null,8,_hoisted_3$r),createBaseVNode("div",_hoisted_4$o,[createBaseVNode("h3",null,toDisplayString$1(n.offer.title),1),createBaseVNode("p",null,toDisplayString$1(n.offer.message),1),n.offer.url==="#"?(openBlock(),createElementBlock("a",{key:0,onClick:t[1]||(t[1]=(...a)=>r.gotoOfferPage&&r.gotoOfferPage(...a)),href:"./offer.html"},toDisplayString$1(n.offer.link),1)):e.settings.pega_marketing.accountPage.clickaction==="TopURL"&&n.offer.url!=""?(openBlock(),createElementBlock("a",{key:1,href:n.offer.url},toDisplayString$1(e.$t("message."+n.offer.link)),9,_hoisted_5$o)):e.settings.pega_marketing.accountPage.clickaction==="Popup"&&n.offer.url!=""?(openBlock(),createElementBlock("a",{key:2,href:n.offer.url,target:"_blank"},toDisplayString$1(e.$t("message."+n.offer.link)),9,_hoisted_6$m)):(openBlock(),createElementBlock("button",{key:3,class:"simple",onClick:t[2]||(t[2]=a=>r.showOffer(n.offer))},toDisplayString$1(e.$t("message."+n.offer.link)),1)),e.settings.pega_marketing.showAIOverlay?(openBlock(),createBlock(l,{key:4,offer:n.offer,class:normalizeClass(n.offer.showAIoverlay?"show":"")},null,8,["offer","class"])):createCommentVNode("",!0)])])])}const Offer=_export_sfc(_sfc_main$H,[["render",_sfc_render$H]]),_sfc_main$G={data(){return{...mainconfig,errorloading:!1,loading:!0,data:[]}},mounted(){if(this.settings.pega_marketing.Host!==""&&this.settings.pega_marketing.accountPage.placement!==""&&this.settings.pega_marketing.accountPage.containerName!==""){const e=this;let t="";this.userId!==-1&&this.settings.users[this.userId].customerID&&(t=this.settings.users[this.userId].customerID),setTimeout(()=>{initNBAM(e,"accountPage",t,e.previousPage,"account.html")},200)}},computed:{visibleQuickLinks(){return this.settings.quicklinks.filter((e,t)=>{e.originalIndex=t;const n=this.settings.quicklinks[t].hideusers?this.settings.quicklinks[t].hideusers.split(",").includes(this.settings.users[mainconfig.userId].username):!0;return e.hide!==!0&&n})}},methods:{selectLink(e){mainconfig.quickLinkId=e},gotoOfferPage(e){mainconfig.phonePageName="offer.html",this.$gtag&&this.$gtag.pageview({page_path:mainconfig.phonePageName});const t=mainconfig.isAuthenticated?{userId:mainconfig.userId}:{};window.history.pushState(t,"","offer.html"),mainconfig.offerIndex=0,setTimeout(()=>{window.scrollTo({top:0,behavior:"smooth"})},0),e.preventDefault()}},components:{Offer}},_hoisted_1$B={key:0,class:"secondary-card"},_hoisted_2$w=["src","alt"],_hoisted_3$q={class:"content"},_hoisted_4$n={key:1,class:"secondary-card loading-container",style:{"min-height":"300px"}},_hoisted_5$n={key:2,class:"secondary-card"};function _sfc_render$G(e,t,n,o,s,r){const l=resolveComponent("Offer");return e.settings.pega_marketing.Host===""||e.settings.pega_marketing.accountPage.placement===""||e.settings.pega_marketing.accountPage.containerName===""||s.loading&&!e.settings.pega_marketing.showLoadingIndicator||s.errorloading?(openBlock(),createElementBlock("div",_hoisted_1$B,[(openBlock(!0),createElementBlock(Fragment,null,renderList(e.app.offers,a=>(openBlock(),createElementBlock("section",{class:"offer-card-col",key:a.title},[createBaseVNode("img",{class:"offer-img",src:"./img/"+a.img,alt:e.$t("message."+a.title)},null,8,_hoisted_2$w),createBaseVNode("div",_hoisted_3$q,[createBaseVNode("h3",null,toDisplayString$1(e.$t("message."+a.title)),1),createBaseVNode("p",null,toDisplayString$1(e.$t("message."+a.message)),1),createBaseVNode("a",{onClick:t[0]||(t[0]=(...c)=>r.gotoOfferPage&&r.gotoOfferPage(...c)),href:"./offer.html"},toDisplayString$1(e.$t("message.learnmore")),1)])]))),128))])):e.settings.pega_marketing.Host!==""&&s.loading&&e.settings.pega_marketing.showLoadingIndicator?(openBlock(),createElementBlock("div",_hoisted_4$n,t[1]||(t[1]=[createBaseVNode("span",{class:"loading"},[createBaseVNode("span",{class:"dot"}),createBaseVNode("span",{class:"dot"}),createBaseVNode("span",{class:"dot"})],-1)]))):(openBlock(),createElementBlock("div",_hoisted_5$n,[(openBlock(!0),createElementBlock(Fragment,null,renderList(s.data,a=>(openBlock(),createBlock(l,{key:a.title,offer:a},null,8,["offer"]))),128))]))}const AccountSecondaryArea$1=_export_sfc(_sfc_main$G,[["render",_sfc_render$G]]),_sfc_main$F={data(){return mainconfig},components:{TopNav,AccountMainArea,AccountSecondaryArea:AccountSecondaryArea$1}},_hoisted_1$A={class:"flex flex-col"};function _sfc_render$F(e,t,n,o,s,r){const l=resolveComponent("TopNav"),a=resolveComponent("AccountMainArea"),c=resolveComponent("AccountSecondaryArea");return openBlock(),createElementBlock("main",_hoisted_1$A,[createVNode(l,{previousPhonePage:""}),createVNode(a),e.app.industry!=="insurance"?(openBlock(),createBlock(c,{key:e.reloadOffer})):createCommentVNode("",!0)])}const Account=_export_sfc(_sfc_main$F,[["render",_sfc_render$F]]),_sfc_main$E={data(){return mainconfig},components:{TopNav,MashupMainArea}},_hoisted_1$z={class:"height-100-pct"},_hoisted_2$v={class:"mashup-main"};function _sfc_render$E(e,t,n,o,s,r){const l=resolveComponent("TopNav"),a=resolveComponent("MashupMainArea");return openBlock(),createElementBlock("div",_hoisted_1$z,[createVNode(l,{style:{display:"none"},previousPhonePage:e.phonePageName==="heroaction"?"":"help"},null,8,["previousPhonePage"]),createBaseVNode("main",_hoisted_2$v,[createVNode(a)])])}const Mashup=_export_sfc(_sfc_main$E,[["render",_sfc_render$E]]),_sfc_main$D={data(){return mainconfig},components:{HomePage,OfferPage:OfferPage$1,LoginPage,IntroQuickLinks,QuickLinks:QuickLinks$1,Account,Mashup}};function _sfc_render$D(e,t,n,o,s,r){const l=resolveComponent("Mashup"),a=resolveComponent("HomePage"),c=resolveComponent("OfferPage"),d=resolveComponent("LoginPage"),u=resolveComponent("IntroQuickLinks"),m=resolveComponent("QuickLinks"),f=resolveComponent("Account");return e.phonePageName==="heroaction"?(openBlock(),createBlock(l,{key:0})):e.quickLinkId!==-1||e.viewKMHelp!==-1||e.offerAction!==-1||e.viewBill!==-1||e.viewBanner!==-1?(openBlock(),createBlock(l,{key:1})):e.phonePageName===""||e.phonePageName==="index.html"?(openBlock(),createBlock(a,{key:2})):e.phonePageName.indexOf("offer")!==-1?(openBlock(),createBlock(c,{key:3})):e.isAuthenticated?e.phonePageName==="intro"?(openBlock(),createBlock(u,{key:5})):e.phonePageName==="help"?(openBlock(),createBlock(m,{key:6})):e.phonePageName==="account"?(openBlock(),createBlock(f,{key:7})):(openBlock(),createBlock(a,{key:8})):(openBlock(),createBlock(d,{key:4}))}const Main$2=_export_sfc(_sfc_main$D,[["render",_sfc_render$D]]),_sfc_main$C={data(){return mainconfig},components:{Header:Header$2,Main:Main$2,Aside}},_hoisted_1$y={class:"flex flex-col"};function _sfc_render$C(e,t,n,o,s,r){const l=resolveComponent("Aside"),a=resolveComponent("Header"),c=resolveComponent("Main");return openBlock(),createElementBlock("div",_hoisted_1$y,[createVNode(l),createVNode(a),createVNode(c)])}const PhonePage=_export_sfc(_sfc_main$C,[["render",_sfc_render$C]]),_sfc_main$B={data(){return{...mainconfig,isActive:!1,heightVal:"204px"}},methods:{showlogin(){this.isActive=!1,this.toggleLoginOverlay(!0)},toggleLoginOverlay(e){const t=document.getElementsByClassName("launch-login");Array.prototype.forEach.call(t,n=>{(e&&n.nextElementSibling.classList.contains("hidden")||!e&&n.nextElementSibling.classList.contains("show"))&&n.click()})},showMenuOverlay(e){this.isActive=!this.isActive,this.isActive===!0&&(this.heightVal=`${e.target.nextElementSibling.firstElementChild.clientHeight}px`,this.toggleLoginOverlay(!1))},onClickOutMenuOverlay(e){e.target.classList.contains("launch-menu")||(this.isActive=!1)}},components:{MenuItem}},_hoisted_1$x={class:"menu"},_hoisted_2$u={key:0};function _sfc_render$B(e,t,n,o,s,r){const l=resolveComponent("MenuItem"),a=resolveDirective("clickoutside");return openBlock(),createElementBlock("div",_hoisted_1$x,[createBaseVNode("button",{onClick:t[0]||(t[0]=(...c)=>r.showMenuOverlay&&r.showMenuOverlay(...c)),class:"launch-menu"},"Menu"),withDirectives((openBlock(),createElementBlock("div",{class:"menu-overlay flex flex-col",style:normalizeStyle({height:s.isActive?s.heightVal:""})},[createBaseVNode("ul",null,[(openBlock(!0),createElementBlock(Fragment,null,renderList(e.app.menuitems,(c,d)=>(openBlock(),createBlock(l,{pagetype:c.pagetype,key:c.title,title:c.title,href:c.url?c.url:e.app.offer.length>1?`offer${d+1}.html`:null},null,8,["pagetype","title","href"]))),128)),e.isAuthenticated?createCommentVNode("",!0):(openBlock(),createElementBlock("li",_hoisted_2$u,[createBaseVNode("a",{onClick:t[1]||(t[1]=(...c)=>r.showlogin&&r.showlogin(...c)),class:"launch-login-overlay"},toDisplayString$1(e.$t("message.login")),1)]))])],4)),[[a,{handler:"onClickOutMenuOverlay"}]])])}const MainHeaderMenu=_export_sfc(_sfc_main$B,[["render",_sfc_render$B]]),_sfc_main$A={data(){return mainconfig},mounted(){window.addEventListener("message",this.iFrameMessageListener)},unmounted(){window.removeEventListener("message",this.iFrameMessageListener)},methods:{iFrameMessageListener(e){if(e.data==="pegaMashupNavigateBack")mainconfig.reloadToDoMashup+=1,mainconfig.reloadActivityMashup+=1,this.goHomePage();else if(typeof e.data=="object"&&typeof e.data.key<"u")e.data.key==="Intent"&&typeof e.data.value=="string"?(mainconfig.intent=e.data.value,mainconfig.reloadOffer+=1):e.data.key==="PreviousPage"&&typeof e.data.value=="string"&&(mainconfig.previousPage=e.data.value,mainconfig.reloadOffer+=1);else if(typeof e.data=="object"&&typeof e.data.action<"u")e.data.action==="showkmarticle"&&typeof e.data.articleid=="string"?(mainconfig.KMArticleID=e.data.articleid,this.showKMHelp()):e.data.action==="showbuiltinoffer"&&typeof e.data.url=="string"&&(mainconfig.CDHContainer=e.data,mainconfig.CDHContainer.subjectID=mainconfig.ExternalID,mainconfig.CDHContainer.useURL=!1,mainconfig.offerURL=e.data.url);else if(e.data){let t={};try{t=JSON.parse(e.data)}catch{t={}}if(t.channelName==="PWMashup"&&t.message&&t.message.payload&&t.message.payload.name==="confirm"&&t.message.uid.indexOf("ProactiveChat")===-1&&mainconfig.quickLinkId!==-1){const n=mainconfig.settings.quicklinks[mainconfig.quickLinkId].url,o=document.createElement("iframe"),s=`${n}?pyActivity=LogOff`;o.setAttribute("src",s),o.setAttribute("style","display:none"),o.onload=function(){document.body.removeChild(o)},document.body.appendChild(o)}}},goHomePage(e){mainconfig.quickLinkId=-1,mainconfig.viewBill=-1,mainconfig.viewBanner=-1,mainconfig.homeHeroAction=-1,mainconfig.offerAction=-1,mainconfig.toDo=-1,mainconfig.viewKMHelp=-1,mainconfig.offerURL="",mainconfig.offerIndex=0,mainconfig.CDHContainer={},window.history&&(mainconfig.isAuthenticated?(mainconfig.currentPage="account",window.history.pushState({userId:mainconfig.userId},"",mainconfig.currentPage)):(mainconfig.currentPage="index.html",window.history.pushState({},"",mainconfig.currentPage)),window.scrollTo({top:0,behavior:"smooth"})),window.loadPage=new Date,!(e&&e===!0)&&sendClickStreamEvent(mainconfig,"PageView","Home",window.loadPage)},showKMHelp(){this.goHomePage(!0),mainconfig.previousPage=mainconfig.currentPage,mainconfig.currentPage="help.html",sendClickStreamEvent(mainconfig,"PageView","Help",window.loadPage),this.$gtag&&this.$gtag.pageview({page_path:mainconfig.currentPage}),mainconfig.viewKMHelp=1,mainconfig.logoutURL.kmhelp=`${mainconfig.settings.kmhelp.url}?pyActivity=LogOff`,mainconfig.reloadMashup+=1}},components:{MenuItem,LoginButton,OperatorButton,MainHeaderMenu}},_hoisted_1$w={class:"wrap header flex"},_hoisted_2$t={class:"flex flex-grow-1"},_hoisted_3$p={class:"flex flex-grow-1"};function _sfc_render$A(e,t,n,o,s,r){const l=resolveComponent("MenuItem"),a=resolveComponent("OperatorButton"),c=resolveComponent("LoginButton"),d=resolveComponent("MainHeaderMenu");return openBlock(),createElementBlock("header",{style:normalizeStyle(!e.isAuthenticated&&e.offerURL==""&&e.homeHeroImg!=""?{backgroundImage:"url("+e.homeHeroImg+")"}:{})},[createBaseVNode("div",_hoisted_1$w,[createBaseVNode("a",null,[createBaseVNode("img",{onClick:t[0]||(t[0]=(...u)=>r.goHomePage&&r.goHomePage(...u)),class:"logo",src:"./img/u+-logo.svg",alt:"U+"})]),createBaseVNode("nav",_hoisted_2$t,[createBaseVNode("ul",_hoisted_3$p,[(openBlock(!0),createElementBlock(Fragment,null,renderList(e.app.menuitems,(u,m)=>(openBlock(),createBlock(l,{pagetype:u.pagetype,key:m,title:u.title,href:u.url?u.url:e.app.offer.length>1?`offer${m+1}.html`:null},null,8,["pagetype","title","href"]))),128))])]),(e.isAuthenticated||e.settings.kmhelp.username!=="")&&e.settings.kmhelp.url!==""?(openBlock(),createElementBlock("a",{key:0,class:"kmhelp",onClick:t[1]||(t[1]=(...u)=>r.showKMHelp&&r.showKMHelp(...u))},toDisplayString$1(e.$t("message.kmhelp")),1)):createCommentVNode("",!0),e.isAuthenticated?(openBlock(),createBlock(a,{key:1})):(openBlock(),createBlock(c,{key:2})),createVNode(d)])],4)}const Header$1=_export_sfc(_sfc_main$A,[["render",_sfc_render$A]]),_sfc_main$z={data(){return{...mainconfig,errorloading:!1,loading:!0,data:[],RTSstate:{index:-1,id:0},hero_offer:{img:"",url:"",title:"",message:"",link:this.$t(`message.${mainconfig.app.herotext.buttonlabel}`)}}},mounted(){if(this.settings.pega_marketing.Host!==""&&this.settings.pega_marketing.homePage.placement!==""&&this.settings.pega_marketing.homePage.containerName!==""){const e=this;setTimeout(()=>{initNBAM(e,"homePage","",e.previousPage,mainconfig.currentPage)},200)}},updated(){if(window.IntersectionObserver&&mainconfig.settings.pega_marketing.useCaptureByChannel===!0){const e=new IntersectionObserver(t=>{t.forEach(n=>{if(n.isIntersecting){let o=n.target.getAttribute("data-offer-index");o!==null?(captureResponse(this,this.data[o],"Impression"),e.unobserve(n.target)):(o=n.target.getAttribute("data-hero-offer"),o!==null&&(captureResponse(this,this.hero_offer,"Impression"),e.unobserve(n.target)))}})},{threshold:1});document.querySelectorAll(".offer-card").forEach(t=>{e.observe(t)}),document.querySelectorAll(".hero-offer").forEach(t=>{e.observe(t)})}},methods:{checkRTSEventHover(e,t,n){mainconfig.isRTSEnabled===!0&&(this.RTSstate.index===-1?(this.RTSstate.index=e,this.RTSstate.id=setTimeout(()=>{this.generateRTSEvent(t)},3e3)):this.RTSstate.index===e&&n===!1&&(clearTimeout(this.RTSstate.id),this.RTSstate.id=0,this.RTSstate.index=-1))},generateRTSEvent(e){const t=document.querySelector(".comment"),n=new Date;let o=n.getMonth()+1;o<10&&(o=`0${o}`);const s=`${n.getFullYear()}-${o}-${n.getDate()}`,r=`${n.getHours()}:${n.getMinutes()}:${n.getSeconds()}`;t.innerHTML+=`

${s} ${r} - Sending event - group:${e.category} - value:${e.name}{window.scrollTo({top:0,behavior:"smooth"})},0)},toggleAIOverlay(e){e.showAIoverlay=!e.showAIoverlay},gotoOfferPage(e){mainconfig.currentPage="offer.html",this.$gtag&&this.$gtag.pageview({page_path:mainconfig.currentPage}),sendClickStreamEvent(mainconfig,"PegaView","Offer",window.loadPage),window.loadPage=new Date;const t=mainconfig.isAuthenticated?{userId:mainconfig.userId}:{};window.history.pushState(t,"","offer.html"),mainconfig.offerIndex=0,setTimeout(()=>{window.scrollTo({top:0,behavior:"smooth"})},0),e.preventDefault()}},components:{AIOverlay}},_hoisted_1$v={class:"hero-main"},_hoisted_2$s={class:"wrap hero-wrap flex"},_hoisted_3$o={class:"flex flex-col hero-heading"},_hoisted_4$m={class:"hero"},_hoisted_5$m={key:0},_hoisted_6$l={class:"wrap primary-options"},_hoisted_7$h={class:"options"},_hoisted_8$g={class:"details"},_hoisted_9$g=["src","alt"],_hoisted_10$f={class:"option-header"},_hoisted_11$f={class:"wrap primary-options",style:{"min-height":"400px"}},_hoisted_12$f={class:"options"},_hoisted_13$f={key:0,class:"hero-main"},_hoisted_14$f={class:"flex flex-nowrap flex-row-reverse"},_hoisted_15$f=["src","alt"],_hoisted_16$f={class:"flex flex-col"},_hoisted_17$f={class:"hero hero-offer","data-hero-offer":1},_hoisted_18$f=["href"],_hoisted_19$f=["href"],_hoisted_20$f={key:1,class:"wrap hero-wrap flex"},_hoisted_21$f={class:"flex flex-col hero-heading"},_hoisted_22$e={class:"hero"},_hoisted_23$e={key:0},_hoisted_24$9={class:"wrap primary-options"},_hoisted_25$8={class:"options"},_hoisted_26$7=["onMouseover","onMouseleave"],_hoisted_27$7=["data-offer-index"],_hoisted_28$7=["onClick"],_hoisted_29$7=["src","alt"],_hoisted_30$5={class:"option-header"},_hoisted_31$5=["href"],_hoisted_32$5=["href"],_hoisted_33$4=["onClick"];function _sfc_render$z(e,t,n,o,s,r){const l=resolveComponent("AIOverlay");return e.settings.pega_marketing.Host===""||e.settings.pega_marketing.homePage.placement===""||e.settings.pega_marketing.homePage.containerName===""||s.loading&&!e.settings.pega_marketing.showLoadingIndicator||s.errorloading?(openBlock(),createElementBlock(Fragment,{key:0},[createBaseVNode("div",_hoisted_1$v,[createBaseVNode("div",_hoisted_2$s,[createBaseVNode("div",_hoisted_3$o,[createBaseVNode("h1",_hoisted_4$m,[createTextVNode(toDisplayString$1(e.$t(`message.${e.app.herotext.title}`))+" ",1),e.$t(`message.${e.app.herotext.titlespan}`)!==""?(openBlock(),createElementBlock("span",_hoisted_5$m,toDisplayString$1(e.$t(`message.${e.app.herotext.titlespan}`)),1)):createCommentVNode("",!0)]),createBaseVNode("button",{onClick:t[0]||(t[0]=(...a)=>r.applyHeroAction&&r.applyHeroAction(...a)),class:"strong"},toDisplayString$1(e.$t(`message.${e.app.herotext.buttonlabel}`)),1)]),t[5]||(t[5]=createBaseVNode("div",{class:"flex hero-image"},[createBaseVNode("div",{class:"hero-splash"})],-1))])]),t[6]||(t[6]=createBaseVNode("div",{class:"ribbon"},[createBaseVNode("div")],-1)),createBaseVNode("div",_hoisted_6$l,[createBaseVNode("h2",null,toDisplayString$1(e.$t(`message.${e.app.primaryheading}`)),1),createBaseVNode("div",_hoisted_7$h,[(openBlock(!0),createElementBlock(Fragment,null,renderList(e.app.primarydetails,(a,c)=>(openBlock(),createElementBlock("section",{key:c,class:"front-option"},[createBaseVNode("div",_hoisted_8$g,[createBaseVNode("img",{class:"option",src:a.img,alt:e.$t("message."+a.title)},null,8,_hoisted_9$g),createBaseVNode("h3",_hoisted_10$f,toDisplayString$1(e.$t("message."+a.title)),1),createBaseVNode("p",null,toDisplayString$1(e.$t("message."+a.message)),1),createBaseVNode("a",{onClick:t[1]||(t[1]=(...d)=>r.gotoOfferPage&&r.gotoOfferPage(...d)),href:"./offer.html"},toDisplayString$1(e.$t("message."+a.link)),1)])]))),128))])])],64)):e.settings.pega_marketing.Host!==""&&s.loading&&e.settings.pega_marketing.showLoadingIndicator?(openBlock(),createElementBlock(Fragment,{key:1},[t[8]||(t[8]=createStaticVNode('

',2)),createBaseVNode("div",_hoisted_11$f,[createBaseVNode("div",_hoisted_12$f,[(openBlock(!0),createElementBlock(Fragment,null,renderList(e.app.primarydetails,(a,c)=>(openBlock(),createElementBlock("section",{key:c,class:"front-option loading-container"},t[7]||(t[7]=[createBaseVNode("span",{class:"loading"},[createBaseVNode("span",{class:"dot"}),createBaseVNode("span",{class:"dot"}),createBaseVNode("span",{class:"dot"})],-1)])))),128))])])],64)):(openBlock(),createElementBlock(Fragment,{key:2},[!e.isAuthenticated&&e.homeHeroAction!=1&&e.offerURL===""?(openBlock(),createElementBlock("div",_hoisted_13$f,[s.hero_offer.title!==""?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(["wrap flex",s.hero_offer.img!==""?"hero-with-img":"hero-no-img"])},[e.settings.pega_marketing.showAIOverlay&&(s.hero_offer.url!==""||s.hero_offer.img!=="")?(openBlock(),createElementBlock("button",{key:0,class:"pi pi-polaris-solid ai-toggle",onClick:t[2]||(t[2]=a=>r.toggleAIOverlay(s.hero_offer)),title:"toggle AI"})):createCommentVNode("",!0),createBaseVNode("div",_hoisted_14$f,[s.hero_offer.img!==""?(openBlock(),createElementBlock("img",{key:0,class:"hero-offer-img",src:s.hero_offer.img,alt:s.hero_offer.title},null,8,_hoisted_15$f)):createCommentVNode("",!0),createBaseVNode("div",_hoisted_16$f,[createBaseVNode("h1",_hoisted_17$f,toDisplayString$1(s.hero_offer.title),1),e.settings.pega_marketing.homePage.clickaction==="TopURL"&&s.hero_offer.url!==""?(openBlock(),createElementBlock("a",{key:0,href:s.hero_offer.url},toDisplayString$1(s.hero_offer.link),9,_hoisted_18$f)):e.settings.pega_marketing.homePage.clickaction==="Popup"&&s.hero_offer.url!==""?(openBlock(),createElementBlock("a",{key:1,href:s.hero_offer.url,target:"_blank"},toDisplayString$1(s.hero_offer.link),9,_hoisted_19$f)):(openBlock(),createElementBlock("button",{key:2,onClick:t[3]||(t[3]=(...a)=>r.applyHeroAction&&r.applyHeroAction(...a)),class:"strong"},toDisplayString$1(s.hero_offer.link),1))])]),e.settings.pega_marketing.showAIOverlay?(openBlock(),createBlock(l,{key:1,offer:s.hero_offer,class:normalizeClass(s.hero_offer.showAIoverlay?"show":"")},null,8,["offer","class"])):createCommentVNode("",!0)],2)):(openBlock(),createElementBlock("div",_hoisted_20$f,[createBaseVNode("div",_hoisted_21$f,[createBaseVNode("h1",_hoisted_22$e,[createTextVNode(toDisplayString$1(e.$t(`message.${e.app.herotext.title}`))+" ",1),e.$t(`message.${e.app.herotext.titlespan}`)!==""?(openBlock(),createElementBlock("span",_hoisted_23$e,toDisplayString$1(e.$t(`message.${e.app.herotext.titlespan}`)),1)):createCommentVNode("",!0)]),createBaseVNode("button",{onClick:t[4]||(t[4]=(...a)=>r.applyHeroAction&&r.applyHeroAction(...a)),class:"strong"},toDisplayString$1(e.$t(`message.${e.app.herotext.buttonlabel}`)),1)]),t[9]||(t[9]=createBaseVNode("div",{class:"flex hero-image"},[createBaseVNode("div",{class:"hero-splash"})],-1))]))])):createCommentVNode("",!0),t[10]||(t[10]=createBaseVNode("div",{class:"ribbon"},[createBaseVNode("div")],-1)),createBaseVNode("div",_hoisted_24$9,[createBaseVNode("h2",null,toDisplayString$1(e.$t(`message.${e.app.primaryheading}`)),1),createBaseVNode("div",_hoisted_25$8,[(openBlock(!0),createElementBlock(Fragment,null,renderList(s.data,(a,c)=>(openBlock(),createElementBlock("section",{key:c,class:"front-option cdh-offer",onMouseover:d=>r.checkRTSEventHover(c,a,!0),onMouseleave:d=>r.checkRTSEventHover(c,a,!1)},[createBaseVNode("div",{class:"offer-card details","data-offer-index":c},[e.settings.pega_marketing.showAIOverlay?(openBlock(),createElementBlock("button",{key:0,class:"pi pi-polaris-solid ai-toggle",onClick:d=>r.toggleAIOverlay(a),title:"toggle AI"},null,8,_hoisted_28$7)):createCommentVNode("",!0),createBaseVNode("img",{class:"option",src:a.img,alt:a.title},null,8,_hoisted_29$7),createBaseVNode("h3",_hoisted_30$5,toDisplayString$1(a.title),1),createBaseVNode("p",null,toDisplayString$1(a.message),1),e.settings.pega_marketing.homePage.clickaction==="TopURL"&&a.url!=""?(openBlock(),createElementBlock("a",{key:1,href:a.url},toDisplayString$1(e.$t("message."+a.link)),9,_hoisted_31$5)):e.settings.pega_marketing.homePage.clickaction==="Popup"&&a.url!=""?(openBlock(),createElementBlock("a",{key:2,href:a.url,target:"_blank"},toDisplayString$1(e.$t("message."+a.link)),9,_hoisted_32$5)):(openBlock(),createElementBlock("button",{key:3,class:"simple",onClick:d=>r.showOffer(a)},toDisplayString$1(e.$t("message."+a.link)),9,_hoisted_33$4)),e.settings.pega_marketing.showAIOverlay?(openBlock(),createBlock(l,{key:4,offer:a,class:normalizeClass(a.showAIoverlay?"show":"")},null,8,["offer","class"])):createCommentVNode("",!0)],8,_hoisted_27$7)],40,_hoisted_26$7))),128))])])],64))}const FrontMainArea=_export_sfc(_sfc_main$z,[["render",_sfc_render$z]]),_sfc_main$y={data(){return mainconfig}},_hoisted_1$u={class:"wrap secondary-options"},_hoisted_2$r={class:"content-card flex flex-col"},_hoisted_3$n={class:"strong"};function _sfc_render$y(e,t,n,o,s,r){return openBlock(),createElementBlock("div",_hoisted_1$u,[t[0]||(t[0]=createBaseVNode("div",{class:"banner",style:{backgroundImage:"url(img/secondary-options.jpg)"}},null,-1)),createBaseVNode("div",_hoisted_2$r,[createBaseVNode("h2",null,toDisplayString$1(e.$t(`message.${e.app.secondarydetails.heading}`)),1),createBaseVNode("button",_hoisted_3$n,toDisplayString$1(e.$t(`message.${e.app.secondarydetails.link}`)),1)])])}const FrontSecondaryArea=_export_sfc(_sfc_main$y,[["render",_sfc_render$y]]),_sfc_main$x={data(){return{...mainconfig,isprocessed:!1}},methods:{processOffer(e){captureResponse(this,this.CDHContainer,e),this.isprocessed=!0},closeOffer(){top.postMessage("pegaMashupNavigateBack",location.origin)},onLoadIframe(e){try{var t=e.target.contentWindow.location.pathname;(t.indexOf("/Basic")===0||t.indexOf("/Detailed")===0)&&(this.offerURL=t,this.CDHContainer.useURL=!1)}catch{console.log("CDH is not in the same origin as the Uplus app")}}}},_hoisted_1$t={key:0,class:"flex flex-col full-height"},_hoisted_2$q=["src"],_hoisted_3$m={key:1,class:"flex flex-col"},_hoisted_4$l={class:"main-offer builtin-offer primary-card flex flex-nowrap"},_hoisted_5$l=["src","alt"],_hoisted_6$k={class:"details"},_hoisted_7$g={key:0},_hoisted_8$f={key:1},_hoisted_9$f={class:"button-row padding-t-2x"},_hoisted_10$e={key:2,class:"flex flex-col"},_hoisted_11$e={class:"primary-card builtin-offer flex flex-nowrap"},_hoisted_12$e=["src","alt"],_hoisted_13$e={class:"details"},_hoisted_14$e={key:0},_hoisted_15$e={key:1},_hoisted_16$e={key:0},_hoisted_17$e={key:1},_hoisted_18$e={class:"button-row padding-t-2x"},_hoisted_19$e={key:3,class:"flex flex-col",style:{width:"100%"}},_hoisted_20$e={class:"primary-card flex-mid-align flex flex-col"},_hoisted_21$e={class:"success-text"};function _sfc_render$x(e,t,n,o,s,r){return e.CDHContainer.useURL===!0?(openBlock(),createElementBlock("section",_hoisted_1$t,[createBaseVNode("iframe",{onLoad:t[0]||(t[0]=(...l)=>r.onLoadIframe&&r.onLoadIframe(...l)),src:e.offerURL,style:{overflow:"hidden"},width:"100%",height:"100%",border:"0",frameborder:"0"},null,40,_hoisted_2$q)])):!s.isprocessed&&e.offerURL.indexOf("/Basic")===0?(openBlock(),createElementBlock("section",_hoisted_3$m,[createBaseVNode("h1",null,toDisplayString$1(e.CDHContainer.title),1),createBaseVNode("div",_hoisted_4$l,[createBaseVNode("img",{class:"offer-img",src:e.CDHContainer.img,alt:e.CDHContainer.title},null,8,_hoisted_5$l),createBaseVNode("div",_hoisted_6$k,[typeof e.CDHContainer.message<"u"?(openBlock(),createElementBlock("div",_hoisted_7$g,[createBaseVNode("label",null,toDisplayString$1(e.$t("message.offer_builtin_description")),1),createBaseVNode("p",null,toDisplayString$1(e.CDHContainer.message),1)])):createCommentVNode("",!0),typeof e.CDHContainer.benefits<"u"?(openBlock(),createElementBlock("div",_hoisted_8$f,[createBaseVNode("label",null,toDisplayString$1(e.$t("message.offer_builtin_benefits")),1),createBaseVNode("p",null,toDisplayString$1(e.CDHContainer.benefits),1)])):createCommentVNode("",!0),createBaseVNode("div",_hoisted_9$f,[createBaseVNode("button",{onClick:t[1]||(t[1]=l=>r.processOffer("Rejected")),class:"tertiary"},toDisplayString$1(e.$t("message.offer_builtin_button_rejected")),1),createBaseVNode("button",{onClick:t[2]||(t[2]=l=>r.processOffer("Accepted")),class:"strong"},toDisplayString$1(e.$t("message.offer_builtin_button_accepted")),1)])])])])):!s.isprocessed&&e.offerURL.indexOf("/Detailed")===0?(openBlock(),createElementBlock("section",_hoisted_10$e,[createBaseVNode("h1",null,toDisplayString$1(e.CDHContainer.title),1),createBaseVNode("div",_hoisted_11$e,[createBaseVNode("img",{class:"offer-img",src:e.CDHContainer.img,alt:e.CDHContainer.title},null,8,_hoisted_12$e),createBaseVNode("div",_hoisted_13$e,[typeof e.CDHContainer.message<"u"?(openBlock(),createElementBlock("div",_hoisted_14$e,[createBaseVNode("label",null,toDisplayString$1(e.$t("message.offer_builtin_description")),1),createBaseVNode("p",null,toDisplayString$1(e.CDHContainer.message),1)])):createCommentVNode("",!0),typeof e.CDHContainer.benefits<"u"?(openBlock(),createElementBlock("div",_hoisted_15$e,[createBaseVNode("label",null,toDisplayString$1(e.$t("message.offer_builtin_benefits")),1),createBaseVNode("p",null,toDisplayString$1(e.CDHContainer.benefits),1)])):createCommentVNode("",!0),(openBlock(!0),createElementBlock(Fragment,null,renderList(e.CDHContainer.attributes,(l,a)=>(openBlock(),createElementBlock("div",{key:a},[typeof e.CDHContainer[l]<"u"&&e.CDHContainer[l]!==""?(openBlock(),createElementBlock("label",_hoisted_16$e,toDisplayString$1(e.$t(`message.offer_builtin_${l}`)===`message.offer_builtin_${l}`?l:e.$t(`message.offer_builtin_${l}`)),1)):createCommentVNode("",!0),typeof e.CDHContainer[l]<"u"&&e.CDHContainer[l]!==""?(openBlock(),createElementBlock("p",_hoisted_17$e,toDisplayString$1(e.CDHContainer[l]),1)):createCommentVNode("",!0)]))),128)),createBaseVNode("div",_hoisted_18$e,[createBaseVNode("button",{onClick:t[3]||(t[3]=l=>r.processOffer("Rejected")),class:"tertiary"},toDisplayString$1(e.$t("message.offer_builtin_button_rejected")),1),createBaseVNode("button",{onClick:t[4]||(t[4]=l=>r.processOffer("Accepted")),class:"strong"},toDisplayString$1(e.$t("message.offer_builtin_button_accepted")),1)])])])])):(openBlock(),createElementBlock("section",_hoisted_19$e,[createBaseVNode("h1",null,toDisplayString$1(e.$t("message.offer_builtin_response_heading")),1),createBaseVNode("div",_hoisted_20$e,[t[6]||(t[6]=createBaseVNode("i",{class:"product-icon pi pi-check"},null,-1)),createBaseVNode("p",_hoisted_21$e,toDisplayString$1(e.$t("message.offer_builtin_thankyou")),1),createBaseVNode("p",null,toDisplayString$1(e.$t("message.offer_builtin_response")),1),createBaseVNode("div",null,[createBaseVNode("button",{onClick:t[5]||(t[5]=l=>r.closeOffer()),class:"strong"},toDisplayString$1(e.$t("message.offer_builtin_button_close")),1)])])]))}const MicroSiteMainArea=_export_sfc(_sfc_main$x,[["render",_sfc_render$x]]),_sfc_main$w={data(){return{...mainconfig,isExpanded:!1,isEnabled:!1,msg:"Click play to enable detection of user patterns."}},methods:{toggleRTSOverlay(){this.isExpanded=!this.isExpanded},toggleRTSFeature(){this.isEnabled=!this.isEnabled,mainconfig.isRTSEnabled=this.isEnabled}}},_hoisted_1$s={class:"flex"},_hoisted_2$p={class:"flex flex-1"},_hoisted_3$l={class:"comment"};function _sfc_render$w(e,t,n,o,s,r){return openBlock(),createElementBlock("div",{class:normalizeClass("rts-overlay"+(s.isExpanded?" expanded":""))},[createBaseVNode("button",{class:"pi pi-stopwatch-solid rts-toggle rts-overlay-toggle",onClick:t[0]||(t[0]=l=>r.toggleRTSOverlay()),title:"toggle RTS overlay"}),createBaseVNode("div",_hoisted_1$s,[createBaseVNode("div",_hoisted_2$p,[t[2]||(t[2]=createBaseVNode("div",{class:"flex flex-col"},[createBaseVNode("div",{class:"rts-logo"}),createBaseVNode("span",null,"Real-time data streaming")],-1)),createBaseVNode("button",{class:normalizeClass("pi rts-enable rts-toggle"+(s.isEnabled?" pi-pause-solid pi-rts-error":" pi-play-solid")),onClick:t[1]||(t[1]=l=>r.toggleRTSFeature()),title:"toggle RTS feature"},null,2)]),createBaseVNode("div",_hoisted_3$l,toDisplayString$1(s.msg),1)])],2)}const RTSOverlay=_export_sfc(_sfc_main$w,[["render",_sfc_render$w]]),_sfc_main$v={data(){return mainconfig},components:{MainHeader:Header$1,FrontMainArea,MashupMainArea,FrontSecondaryArea,MainFooter:Footer,MicroSiteMainArea,RTSOverlay}},_hoisted_1$r={key:0,class:"form flex flex-col"},_hoisted_2$o={class:"mashup-main flex flex-col"},_hoisted_3$k={key:1,class:"form flex flex-col"},_hoisted_4$k={class:"flex flex-col"},_hoisted_5$k={class:"wrap height-100-pct"},_hoisted_6$j={key:2,class:"front"};function _sfc_render$v(e,t,n,o,s,r){const l=resolveComponent("MainHeader"),a=resolveComponent("MashupMainArea"),c=resolveComponent("MainFooter"),d=resolveComponent("MicroSiteMainArea"),u=resolveComponent("RTSOverlay"),m=resolveComponent("FrontMainArea"),f=resolveComponent("FrontSecondaryArea");return e.homeHeroAction==1||e.viewKMHelp==1?(openBlock(),createElementBlock("div",_hoisted_1$r,[createVNode(l),createBaseVNode("main",_hoisted_2$o,[createVNode(a,{class:"wrap"})]),createVNode(c)])):e.offerURL!==""?(openBlock(),createElementBlock("div",_hoisted_3$k,[createVNode(l),createBaseVNode("main",_hoisted_4$k,[createBaseVNode("div",_hoisted_5$k,[createVNode(d)])]),createVNode(c)])):(openBlock(),createElementBlock("div",_hoisted_6$j,[e.settings.pega_marketing.enableRTS?(openBlock(),createBlock(u,{key:0})):createCommentVNode("",!0),createVNode(l),createBaseVNode("main",{class:normalizeClass("flex flex-col"+(e.isRTSEnabled?" rts-enabled":""))},[createVNode(m),createVNode(f)],2),createVNode(c)]))}const FrontPage=_export_sfc(_sfc_main$v,[["render",_sfc_render$v]]),_sfc_main$u={data(){return mainconfig}},_hoisted_1$q={class:"primary-card"},_hoisted_2$n={class:"header flex flex-mid-align search-bar"},_hoisted_3$j=["value","placeholder"],_hoisted_4$j={key:0,class:"content responsive color-heading"},_hoisted_5$j={scope:"col"},_hoisted_6$i={scope:"col"},_hoisted_7$f={scope:"col"},_hoisted_8$e={scope:"col",class:"align-r"},_hoisted_9$e={class:"heading"},_hoisted_10$d={class:"hide-collapsed",colspan:"2"},_hoisted_11$d=["data-title"],_hoisted_12$d=["title"],_hoisted_13$d=["data-title"],_hoisted_14$d=["data-title"],_hoisted_15$d=["data-title"],_hoisted_16$d=["data-title"],_hoisted_17$d={class:"heading"},_hoisted_18$d={class:"hide-collapsed",colspan:"2"},_hoisted_19$d=["data-title"],_hoisted_20$d=["title"],_hoisted_21$d=["data-title"],_hoisted_22$d=["data-title"],_hoisted_23$d=["data-title"],_hoisted_24$8=["data-title"],_hoisted_25$7={key:0,class:"trend trend-success"},_hoisted_26$6={key:1,class:"trend trend-error"},_hoisted_27$6={class:"investmentamount"},_hoisted_28$6={class:"footer"},_hoisted_29$6={colspan:"4"};function _sfc_render$u(e,t,n,o,s,r){return openBlock(),createElementBlock("section",_hoisted_1$q,[createBaseVNode("div",_hoisted_2$n,[createBaseVNode("h3",null,toDisplayString$1(e.$t("message.accounts")),1),createBaseVNode("input",{type:"text",class:"filter",value:e.$t("message.search"),placeholder:e.$t("message.search_past_services")},null,8,_hoisted_3$j),t[0]||(t[0]=createBaseVNode("i",{class:"pi pi-dark pi-search"},null,-1))]),e.userId!=-1?(openBlock(),createElementBlock("table",_hoisted_4$j,[createBaseVNode("thead",null,[createBaseVNode("tr",null,[createBaseVNode("th",_hoisted_5$j,toDisplayString$1(e.$t("message.accounts_header1")),1),createBaseVNode("th",_hoisted_6$i,toDisplayString$1(e.$t("message.accounts_header2")),1),createBaseVNode("th",_hoisted_7$f,toDisplayString$1(e.$t("message.accounts_header3")),1),createBaseVNode("th",_hoisted_8$e,toDisplayString$1(e.$t("message.accounts_header4")),1)])]),createBaseVNode("tbody",null,[createBaseVNode("tr",_hoisted_9$e,[createBaseVNode("td",_hoisted_10$d,toDisplayString$1(e.$t("message.accounts_header_col1")),1),createBaseVNode("td",{"data-title":e.$t("message.accounts_header_col1"),colspan:"2",class:"align-r"}," $1,679,072.63 ",8,_hoisted_11$d)]),(openBlock(!0),createElementBlock(Fragment,null,renderList(e.settings.users[e.userId].accounts,l=>(openBlock(),createElementBlock("tr",{key:l.id,title:l.id},[createBaseVNode("td",{"data-title":e.$t("message.accounts_header1")},[createBaseVNode("a",null,toDisplayString$1(l.number),1)],8,_hoisted_13$d),createBaseVNode("td",{"data-title":e.$t("message.accounts_header2")},toDisplayString$1(l.name),9,_hoisted_14$d),createBaseVNode("td",{"data-title":e.$t("message.accounts_header3")},toDisplayString$1(l.type),9,_hoisted_15$d),createBaseVNode("td",{"data-title":e.$t("message.accounts_header4"),class:"align-r"},toDisplayString$1(e.$n(l.balance,"currency")),9,_hoisted_16$d)],8,_hoisted_12$d))),128)),createBaseVNode("tr",_hoisted_17$d,[createBaseVNode("td",_hoisted_18$d,toDisplayString$1(e.$t("message.investmentaccounts_header_col1")),1),createBaseVNode("td",{"data-title":e.$t("message.investmentaccounts_header_col1"),colspan:"2",class:"align-r"}," $141,216,865.42 ",8,_hoisted_19$d)]),(openBlock(!0),createElementBlock(Fragment,null,renderList(e.settings.users[e.userId].investmentaccounts,l=>(openBlock(),createElementBlock("tr",{key:l.id,title:l.id},[createBaseVNode("td",{"data-title":e.$t("message.accounts_header1")},[createBaseVNode("a",null,toDisplayString$1(l.number),1)],8,_hoisted_21$d),createBaseVNode("td",{"data-title":e.$t("message.accounts_header2")},toDisplayString$1(l.name),9,_hoisted_22$d),createBaseVNode("td",{"data-title":e.$t("message.accounts_header3")},toDisplayString$1(l.type),9,_hoisted_23$d),createBaseVNode("td",{"data-title":e.$t("message.accounts_header4"),class:"align-r"},[l.trend==="green"?(openBlock(),createElementBlock("span",_hoisted_25$7,[t[1]||(t[1]=createBaseVNode("i",{class:"pi pi-arrow-up pi-success"},null,-1)),createTextVNode(" "+toDisplayString$1(l.trendvalue)+"% ",1)])):(openBlock(),createElementBlock("span",_hoisted_26$6,[t[2]||(t[2]=createBaseVNode("i",{class:"pi pi-arrow-down pi-error"},null,-1)),createTextVNode(" "+toDisplayString$1(l.trendvalue)+"% ",1)])),createBaseVNode("span",_hoisted_27$6,toDisplayString$1(e.$n(l.balance,"currency")),1)],8,_hoisted_24$8)],8,_hoisted_20$d))),128)),createBaseVNode("tr",_hoisted_28$6,[createBaseVNode("td",_hoisted_29$6,[createBaseVNode("a",null,toDisplayString$1(e.$t("message.addaccount")),1)])])])])):createCommentVNode("",!0)])}const AccountList=_export_sfc(_sfc_main$u,[["render",_sfc_render$u]]),_sfc_main$t={data(){return mainconfig}},_hoisted_1$p={class:"primary-card keyrates"},_hoisted_2$m={class:"color-light"},_hoisted_3$i={class:"heading"},_hoisted_4$i={scope:"col"},_hoisted_5$i={scope:"col"},_hoisted_6$h={scope:"col"},_hoisted_7$e=["title"],_hoisted_8$d={key:0,class:"pi pi-arrow-up pi-success"},_hoisted_9$d={key:1,class:"pi pi-arrow-down pi-error"};function _sfc_render$t(e,t,n,o,s,r){return openBlock(),createElementBlock("section",_hoisted_1$p,[createBaseVNode("h3",null,toDisplayString$1(e.$t("message.keyrates_title")),1),createBaseVNode("table",_hoisted_2$m,[createBaseVNode("thead",null,[createBaseVNode("tr",_hoisted_3$i,[t[0]||(t[0]=createBaseVNode("th",{scope:"col"},"Metric",-1)),createBaseVNode("th",_hoisted_4$i,toDisplayString$1(e.$t("message.keyrates_header_col1")),1),createBaseVNode("th",_hoisted_5$i,toDisplayString$1(e.$t("message.keyrates_header_col2")),1),createBaseVNode("th",_hoisted_6$h,toDisplayString$1(e.$t("message.keyrates_header_col3")),1)])]),createBaseVNode("tbody",null,[(openBlock(!0),createElementBlock(Fragment,null,renderList(e.settings.keyrates,l=>(openBlock(),createElementBlock("tr",{key:l.name,title:e.$t("message."+l.name)},[createBaseVNode("td",null,toDisplayString$1(e.$t("message."+l.name)),1),createBaseVNode("td",null,[l.trend==="green"?(openBlock(),createElementBlock("i",_hoisted_8$d)):createCommentVNode("",!0),l.trend==="red"?(openBlock(),createElementBlock("i",_hoisted_9$d)):createCommentVNode("",!0),createTextVNode(" "+toDisplayString$1(e.$n(l.current,"keyrates")),1)]),createBaseVNode("td",null,toDisplayString$1(e.$n(l.high,"keyrates")),1),createBaseVNode("td",null,toDisplayString$1(e.$n(l.low,"keyrates")),1)],8,_hoisted_7$e))),128))])])])}const KeyRates=_export_sfc(_sfc_main$t,[["render",_sfc_render$t]]),_sfc_main$s={data(){return mainconfig},components:{MashupMainArea,AccountList,Banner,RecentActivity,QuickLinks,KeyRates},methods:{getMonth(e){const t=new Date(new Date().getFullYear(),new Date().getMonth(),1);return t.setMonth((t.getMonth()+e)%12),t}}},_hoisted_1$o={class:"col col-1"},_hoisted_2$l={class:"primary-card"},_hoisted_3$h={class:"flex"},_hoisted_4$h={class:"flex-1 cash-projections primary-card"},_hoisted_5$h={class:"flex"},_hoisted_6$g={class:"dropdown"},_hoisted_7$d={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 880 305"},_hoisted_8$c={transform:"translate(80,40)"},_hoisted_9$c={class:"axis",color:"#7b7b7b",fill:"#7b7b7b","font-size":"18","font-family":"Inter","text-anchor":"end",transform:"rotate(270)"},_hoisted_10$c={x:"-165",y:"-43",dy:"0.32em","text-anchor":"start"},_hoisted_11$c={x:"-155",y:"745",dy:"0.32em","text-anchor":"start"},_hoisted_12$c={class:"axis",transform:"translate(0,205)",fill:"none","font-size":"16","font-family":"Inter","text-anchor":"middle"},_hoisted_13$c={class:"tick",opacity:"1",transform:"translate(55,0)"},_hoisted_14$c={fill:"#7b7b7b",y:"9",dy:"0.71em"},_hoisted_15$c={class:"tick",opacity:"1",transform:"translate(170,0)"},_hoisted_16$c={fill:"#7b7b7b",y:"9",dy:"0.71em"},_hoisted_17$c={class:"tick",opacity:"1",transform:"translate(285,0)"},_hoisted_18$c={fill:"#7b7b7b",y:"9",dy:"0.71em"},_hoisted_19$c={class:"tick",opacity:"1",transform:"translate(400,0)"},_hoisted_20$c={fill:"#7b7b7b",y:"9",dy:"0.71em"},_hoisted_21$c={class:"tick",opacity:"1",transform:"translate(515,0)"},_hoisted_22$c={fill:"#7b7b7b",y:"9",dy:"0.71em"},_hoisted_23$c={class:"tick",opacity:"1",transform:"translate(630,0)"},_hoisted_24$7={fill:"#7b7b7b",y:"9",dy:"0.71em"},_hoisted_25$6={"font-family":"Inter","font-size":"15","text-anchor":"end"},_hoisted_26$5={transform:"translate(-55,5)"},_hoisted_27$5={fill:"#7b7b7b",x:"235",y:"240",dy:"0.32em"},_hoisted_28$5={fill:"#7b7b7b",x:"320",y:"240",dy:"0.32em"},_hoisted_29$5={transform:"translate(365,240)"},_hoisted_30$4={fill:"#7b7b7b",x:"115",dy:"0.32em"},_hoisted_31$4={transform:"translate(520,240)"},_hoisted_32$4={fill:"#7b7b7b",x:"135",dy:"0.32em"};function _sfc_render$s(e,t,n,o,s,r){const l=resolveComponent("Banner"),a=resolveComponent("AccountList"),c=resolveComponent("QuickLinks"),d=resolveComponent("MashupMainArea"),u=resolveComponent("RecentActivity"),m=resolveComponent("KeyRates");return openBlock(),createElementBlock("div",_hoisted_1$o,[createBaseVNode("div",_hoisted_2$l,[typeof e.settings.banner<"u"&&e.settings.banner.hidebanner!=="true"&&e.settings.banner.hidebanner!==!0?(openBlock(),createBlock(l,{key:0})):createCommentVNode("",!0),createVNode(a),createVNode(c)]),typeof e.settings.todo<"u"&&e.settings.todo.url!==""?(openBlock(),createBlock(d,{key:e.reloadToDoMashup})):createCommentVNode("",!0),typeof e.settings.todo<"u"&&e.settings.todo.hideactivity!=="true"&&e.settings.todo.hideactivity!==!0?(openBlock(),createBlock(u,{key:e.reloadActivityMashup})):createCommentVNode("",!0),createBaseVNode("div",_hoisted_3$h,[createBaseVNode("section",_hoisted_4$h,[createBaseVNode("div",_hoisted_5$h,[createBaseVNode("h3",null,toDisplayString$1(e.$t("message.cash_projections")),1),createBaseVNode("div",null,[createBaseVNode("p",null,toDisplayString$1(e.$t("message.income")),1),t[0]||(t[0]=createBaseVNode("span",null,[createBaseVNode("i",{class:"pi pi-arrow-down pi-error"}),createTextVNode("17.4% ")],-1))]),createBaseVNode("div",null,[createBaseVNode("p",null,toDisplayString$1(e.$t("message.cost")),1),t[1]||(t[1]=createBaseVNode("span",null,[createBaseVNode("i",{class:"pi pi-arrow-up pi-success"}),createTextVNode("12.2% ")],-1))]),createBaseVNode("div",null,[createBaseVNode("p",null,toDisplayString$1(e.$t("message.balance")),1),t[2]||(t[2]=createBaseVNode("span",null,[createBaseVNode("i",{class:"pi pi-arrow-down pi-error"}),createTextVNode("2.1% ")],-1))])]),createBaseVNode("div",null,[createBaseVNode("p",_hoisted_6$g,[createTextVNode(toDisplayString$1(e.$t("message.cash_projections_dropdown"))+" ",1),t[3]||(t[3]=createBaseVNode("i",{class:"pi pi-caret-down"},null,-1))])]),(openBlock(),createElementBlock("svg",_hoisted_7$d,[createBaseVNode("g",_hoisted_8$c,[createBaseVNode("g",_hoisted_9$c,[createBaseVNode("text",_hoisted_10$c,toDisplayString$1(e.$t("message.income_and_cost")),1),createBaseVNode("text",_hoisted_11$c,toDisplayString$1(e.$t("message.cash_and_balance")),1)]),t[12]||(t[12]=createStaticVNode('00.5M50k1M100k1.5M150k2M200k',6)),createBaseVNode("g",_hoisted_12$c,[createBaseVNode("g",_hoisted_13$c,[createBaseVNode("text",_hoisted_14$c,toDisplayString$1(e.$d(r.getMonth(-4),"month_only")),1)]),createBaseVNode("g",_hoisted_15$c,[createBaseVNode("text",_hoisted_16$c,toDisplayString$1(e.$d(r.getMonth(-3),"month_only")),1)]),createBaseVNode("g",_hoisted_17$c,[createBaseVNode("text",_hoisted_18$c,toDisplayString$1(e.$d(r.getMonth(-2),"month_only")),1)]),createBaseVNode("g",_hoisted_19$c,[createBaseVNode("text",_hoisted_20$c,toDisplayString$1(e.$d(r.getMonth(-1),"month_only")),1)]),createBaseVNode("g",_hoisted_21$c,[createBaseVNode("text",_hoisted_22$c,toDisplayString$1(e.$d(r.getMonth(0),"month_only")),1)]),createBaseVNode("g",_hoisted_23$c,[createBaseVNode("text",_hoisted_24$7,toDisplayString$1(e.$d(r.getMonth(1),"month_only")),1)])]),createBaseVNode("g",_hoisted_25$6,[createBaseVNode("g",_hoisted_26$5,[t[10]||(t[10]=createBaseVNode("circle",{cx:"170",cy:"240",r:"5",fill:"#67c100"},null,-1)),createBaseVNode("text",_hoisted_27$5,toDisplayString$1(e.$t("message.income")),1),t[11]||(t[11]=createBaseVNode("circle",{cx:"275",cy:"240",r:"5",fill:"#ea5959"},null,-1)),createBaseVNode("text",_hoisted_28$5,toDisplayString$1(e.$t("message.cost")),1),createBaseVNode("g",_hoisted_29$5,[t[4]||(t[4]=createBaseVNode("line",{stroke:"#3171e1",x2:"15"},null,-1)),t[5]||(t[5]=createBaseVNode("line",{stroke:"#3171e1",x2:"-15"},null,-1)),t[6]||(t[6]=createBaseVNode("circle",{r:"5",stroke:"#3171e1",fill:"#000"},null,-1)),createBaseVNode("text",_hoisted_30$4,toDisplayString$1(e.$t("message.cash_balance")),1)]),createBaseVNode("g",_hoisted_31$4,[t[7]||(t[7]=createBaseVNode("line",{stroke:"#3171e1",x2:"15","stroke-dasharray":"3 3"},null,-1)),t[8]||(t[8]=createBaseVNode("line",{stroke:"#3171e1",x2:"-15","stroke-dasharray":"3 3"},null,-1)),t[9]||(t[9]=createBaseVNode("circle",{r:"5",stroke:"#3171e1",fill:"#000"},null,-1)),createBaseVNode("text",_hoisted_32$4,toDisplayString$1(e.$t("message.cash_predition")),1)])])]),t[13]||(t[13]=createStaticVNode('',1))])]))]),createVNode(m,{class:"flex-1"})])])}const BankAccountMainArea=_export_sfc(_sfc_main$s,[["render",_sfc_render$s]]),_sfc_main$r={data(){return{...mainconfig,errorloading:!1,loading:!0,data:[],RTSstate:{index:-1,id:0}}},mounted(){if(this.settings.pega_marketing.Host!==""&&this.settings.pega_marketing.accountPage.placement!==""&&this.settings.pega_marketing.accountPage.containerName!==""){const e=this;let t="";this.userId!==-1&&this.settings.users[this.userId].customerID&&(t=this.settings.users[this.userId].customerID),setTimeout(()=>{initNBAM(e,"accountPage",t,e.previousPage,"account.html")},200)}},updated(){if(window.IntersectionObserver&&mainconfig.settings.pega_marketing.useCaptureByChannel===!0){const e=new IntersectionObserver(t=>{t.forEach(n=>{if(n.isIntersecting){const o=n.target.getAttribute("data-offer-index");captureResponse(this,this.data[o],"Impression"),e.unobserve(n.target)}})},{threshold:1});document.querySelectorAll(".offer-container").forEach(t=>{e.observe(t)})}},components:{Offer},methods:{gotoOfferPage(e){mainconfig.currentPage="offer.html",this.$gtag&&this.$gtag.pageview({page_path:mainconfig.currentPage}),sendClickStreamEvent(mainconfig,"PageView","Offer",window.loadPage),window.loadPage=new Date;const t=mainconfig.isAuthenticated?{userId:mainconfig.userId}:{};window.history.pushState(t,"","offer.html"),mainconfig.offerIndex=0,setTimeout(()=>{window.scrollTo({top:0,behavior:"smooth"})},0),e.preventDefault()},checkRTSEventHover(e,t,n){mainconfig.isRTSEnabled===!0&&(this.RTSstate.index===-1?(this.RTSstate.index=e,this.RTSstate.id=setTimeout(()=>{this.generateRTSEvent(t)},3e3)):this.RTSstate.index===e&&n===!1&&(clearTimeout(this.RTSstate.id),this.RTSstate.id=0,this.RTSstate.index=-1))},generateRTSEvent(e){const t=document.querySelector(".comment"),n=new Date;let o=n.getMonth()+1;o<10&&(o=`0${o}`);const s=`${n.getFullYear()}-${o}-${n.getDate()}`,r=`${n.getHours()}:${n.getMinutes()}:${n.getSeconds()}`;t.innerHTML+=`

${s} ${r} - Sending event - group:${e.category} - value:${e.name}(openBlock(),createElementBlock("section",{class:"offer-card-col",key:a.title},[createBaseVNode("img",{class:"offer-img",src:"./img/"+a.img,alt:e.$t("message."+a.title)},null,8,_hoisted_3$g),createBaseVNode("div",_hoisted_4$g,[createBaseVNode("h3",null,toDisplayString$1(e.$t("message."+a.title)),1),createBaseVNode("p",null,toDisplayString$1(e.$t("message."+a.message)),1),createBaseVNode("a",{onClick:t[0]||(t[0]=(...c)=>r.gotoOfferPage&&r.gotoOfferPage(...c)),href:"./offer.html"},toDisplayString$1(e.$t("message.learnmore")),1)])]))),128))])):e.settings.pega_marketing.Host!==""&&s.loading&&e.settings.pega_marketing.showLoadingIndicator?(openBlock(),createElementBlock("div",_hoisted_5$g,t[1]||(t[1]=[createBaseVNode("span",{class:"loading"},[createBaseVNode("span",{class:"dot"}),createBaseVNode("span",{class:"dot"}),createBaseVNode("span",{class:"dot"})],-1)]))):(openBlock(),createElementBlock("div",_hoisted_6$f,[(openBlock(!0),createElementBlock(Fragment,null,renderList(s.data,(a,c)=>(openBlock(),createElementBlock("div",{key:a.title,onMouseover:d=>r.checkRTSEventHover(c,a,!0),onMouseleave:d=>r.checkRTSEventHover(c,a,!1)},[createVNode(l,{offer:a,"data-offer-index":c,class:"offer-container"},null,8,["offer","data-offer-index"])],40,_hoisted_7$c))),128))]))])}const AccountSecondaryArea=_export_sfc(_sfc_main$r,[["render",_sfc_render$r]]),_sfc_main$q={data(){return mainconfig},components:{MainHeader:Header$1,AccountMainArea,BankAccountMainArea,AccountSecondaryArea,MashupMainArea,MainFooter:Footer,MicroSiteMainArea,RTSOverlay},methods:{showWelcomeMessage(){return this.settings.users[this.userId].name}}},_hoisted_1$m={class:"form flex flex-col"},_hoisted_2$j={key:0,class:"flex flex-col"},_hoisted_3$f={class:"flex wrap height-100-pct"},_hoisted_4$f={key:0,class:"wrap account-msg"},_hoisted_5$f={class:"wrap cols flex flex-wrap"},_hoisted_6$e={key:2,class:"mashup-main flex flex-col"};function _sfc_render$q(e,t,n,o,s,r){const l=resolveComponent("MainHeader"),a=resolveComponent("MicroSiteMainArea"),c=resolveComponent("RTSOverlay"),d=resolveComponent("AccountMainArea"),u=resolveComponent("BankAccountMainArea"),m=resolveComponent("AccountSecondaryArea"),f=resolveComponent("MashupMainArea"),v=resolveComponent("MainFooter");return openBlock(),createElementBlock("div",_hoisted_1$m,[createVNode(l),e.offerURL!==""?(openBlock(),createElementBlock("main",_hoisted_2$j,[createBaseVNode("div",_hoisted_3$f,[createVNode(a)])])):e.quickLinkId===-1&&e.viewBill===-1&&e.viewKMHelp===-1&&e.viewBanner===-1?(openBlock(),createElementBlock("main",{key:1,class:normalizeClass("flex flex-col"+(e.isRTSEnabled?" rts-enabled":""))},[e.settings.pega_marketing.enableRTS?(openBlock(),createBlock(c,{key:0})):createCommentVNode("",!0),t[0]||(t[0]=createBaseVNode("div",{class:"ribbon1"},[createBaseVNode("div")],-1)),createBaseVNode("div",null,[e.userId!=-1?(openBlock(),createElementBlock("h1",_hoisted_4$f,toDisplayString$1(e.$t("message.hello")+r.showWelcomeMessage()),1)):createCommentVNode("",!0),createBaseVNode("div",_hoisted_5$f,[e.app.industry!=="commercial_bank"?(openBlock(),createBlock(d,{key:0})):createCommentVNode("",!0),e.app.industry==="commercial_bank"?(openBlock(),createBlock(u,{key:1})):createCommentVNode("",!0),(openBlock(),createBlock(m,{key:e.reloadOffer}))])])],2)):(openBlock(),createElementBlock("main",_hoisted_6$e,[createVNode(f,{class:"wrap"})])),createVNode(v)])}const AccountPage=_export_sfc(_sfc_main$q,[["render",_sfc_render$q]]),_sfc_main$p={data(){return mainconfig},components:{FrontPage,AccountPage,PhonePage}};function _sfc_render$p(e,t,n,o,s,r){const l=resolveComponent("PhonePage"),a=resolveComponent("AccountPage"),c=resolveComponent("FrontPage");return e.isMobilePhone?(openBlock(),createBlock(l,{key:0})):e.isAuthenticated?(openBlock(),createBlock(a,{key:1})):(openBlock(),createBlock(c,{key:2}))}const DefaultPage=_export_sfc(_sfc_main$p,[["render",_sfc_render$p]]),_sfc_main$o={data(){return mainconfig}},_hoisted_1$l={class:"wrap"},_hoisted_2$i={class:"highlight-card flex-mid-align"},_hoisted_3$e={class:"flex flex-col"},_hoisted_4$e={class:"offer-highlights"},_hoisted_5$e={class:"flex flex-col"};function _sfc_render$o(e,t,n,o,s,r){return openBlock(),createElementBlock("div",_hoisted_1$l,[createBaseVNode("div",_hoisted_2$i,[createBaseVNode("div",_hoisted_3$e,[createBaseVNode("h2",null,toDisplayString$1(e.$t("message."+e.app.offer[e.offerIndex].details.title)),1),createBaseVNode("span",null,toDisplayString$1(e.$t("message."+e.app.offer[e.offerIndex].details.message)),1)]),createBaseVNode("div",_hoisted_4$e,[(openBlock(!0),createElementBlock(Fragment,null,renderList(e.app.offer[e.offerIndex].highlights.data,(l,a)=>(openBlock(),createElementBlock("div",{class:"flex flex-mid-align",key:a},[createBaseVNode("i",{class:normalizeClass("pi color-brand "+l.icon)},null,2),createBaseVNode("div",_hoisted_5$e,[createBaseVNode("p",null,toDisplayString$1(e.$t("message."+l.title)),1),createBaseVNode("span",null,toDisplayString$1(e.$t("message."+l.message)),1)])]))),128))])])])}const Highlight=_export_sfc(_sfc_main$o,[["render",_sfc_render$o]]),_sfc_main$n={data(){return mainconfig},components:{MainOffer,Highlight,MicroSiteMainArea,MashupMainArea}},_hoisted_1$k={key:0,class:"mashup-main flex flex-col"},_hoisted_2$h={key:1,class:"flex flex-col"},_hoisted_3$d={class:"wrap flex height-100-pct"},_hoisted_4$d={key:2,class:"flex flex-col hero-main"},_hoisted_5$d={class:"wrap offer-heading"},_hoisted_6$d={class:"highlight-main"};function _sfc_render$n(e,t,n,o,s,r){const l=resolveComponent("MashupMainArea"),a=resolveComponent("MicroSiteMainArea"),c=resolveComponent("MainOffer"),d=resolveComponent("Highlight");return e.offerAction!==-1?(openBlock(),createElementBlock("main",_hoisted_1$k,[createVNode(l,{class:"wrap"})])):e.offerURL!==""?(openBlock(),createElementBlock("main",_hoisted_2$h,[createBaseVNode("div",_hoisted_3$d,[createVNode(a)])])):(openBlock(),createElementBlock("main",_hoisted_4$d,[t[0]||(t[0]=createBaseVNode("div",{class:"ribbon1"},[createBaseVNode("div",null,[createBaseVNode("div",{class:"wrap"})])],-1)),createBaseVNode("div",_hoisted_5$d,[createBaseVNode("h1",null,toDisplayString$1(e.$t("message."+e.app.offer[e.offerIndex].header.title)),1),createBaseVNode("p",null,toDisplayString$1(e.$t("message."+e.app.offer[e.offerIndex].header.msg)),1)]),createVNode(c,{offerType:e.offerIndex},null,8,["offerType"]),createBaseVNode("div",_hoisted_6$d,[createVNode(d)])]))}const Main$1=_export_sfc(_sfc_main$n,[["render",_sfc_render$n]]),_sfc_main$m={data(){return mainconfig},components:{Header:Header$1,Main:Main$1,Footer,PhonePage}},_hoisted_1$j={key:1,class:"form offer"};function _sfc_render$m(e,t,n,o,s,r){const l=resolveComponent("PhonePage"),a=resolveComponent("Header"),c=resolveComponent("Main"),d=resolveComponent("Footer");return e.isMobilePhone?(openBlock(),createBlock(l,{key:0})):(openBlock(),createElementBlock("div",_hoisted_1$j,[createVNode(a),createVNode(c),createVNode(d)]))}const OfferPage=_export_sfc(_sfc_main$m,[["render",_sfc_render$m]]),_sfc_main$l={data(){return mainconfig}},_hoisted_1$i={class:"flex flex-mid-align settings"},_hoisted_2$g={key:0};function _sfc_render$l(e,t,n,o,s,r){return openBlock(),createElementBlock("header",_hoisted_1$i,[t[0]||(t[0]=createBaseVNode("a",{href:"./index.html"},[createBaseVNode("img",{class:"logo",src:"./img/u+-logo.svg",alt:"U+"})],-1)),e.isMobilePhone?createCommentVNode("",!0):(openBlock(),createElementBlock("h1",_hoisted_2$g,toDisplayString$1(e.$t("message.settings")),1))])}const Header=_export_sfc(_sfc_main$l,[["render",_sfc_render$l]]),_sfc_main$k={name:"Tab",props:{name:String},setup(){const e=getCurrentInstance(),{tabs:t,active:n}=inject("tabsState"),o=computed(()=>t.value.findIndex(r=>r.uid===e.uid)),s=computed(()=>o.value===n.value);return watchEffect(()=>{o.value===-1&&t.value.push(e)}),{isActive:s}}},_hoisted_1$h={key:0};function _sfc_render$k(e,t,n,o,s,r){return o.isActive?(openBlock(),createElementBlock("div",_hoisted_1$h,[renderSlot(e.$slots,"default")])):createCommentVNode("",!0)}const Tab=_export_sfc(_sfc_main$k,[["render",_sfc_render$k]]),_sfc_main$j={props:{title:{required:!0},expanded:{type:Boolean,default:!1},format:{default:""}},data(){return{isExpanded:!1}},methods:{toggleExpand(e){this.isExpanded=!this.isExpanded,this.$emit("toggleExpand"),e.preventDefault()}},watch:{expanded:{handler(e){this.isExpanded=e}}},mounted(){this.isExpanded=this.expanded}},_hoisted_1$g={class:"simple",title:"click to expand or collapse"},_hoisted_2$f={class:"body"};function _sfc_render$j(e,t,n,o,s,r){return openBlock(),createElementBlock("div",{class:normalizeClass("flex flex-col container"+(s.isExpanded?"":" collapsed")+" "+n.format)},[createBaseVNode("div",{onClick:t[0]||(t[0]=withModifiers((...l)=>r.toggleExpand&&r.toggleExpand(...l),["stop"])),class:"header flex"},[createBaseVNode("h3",null,toDisplayString$1(n.title),1),createBaseVNode("button",_hoisted_1$g,[createBaseVNode("i",{class:normalizeClass("pi"+(s.isExpanded?" pi-caret-down":" pi-caret-right"))},null,2)])]),createBaseVNode("div",_hoisted_2$f,[renderSlot(e.$slots,"default")])],2)}const Container=_export_sfc(_sfc_main$j,[["render",_sfc_render$j]]),_sfc_main$i={props:{modelValue:{type:[String,Number]}},emits:["update:modelValue"],setup(e,{emit:t}){const n=computed(()=>e.modelValue),o=ref([]);function s(r){t("update:modelValue",r)}return provide("tabsState",{active:n,tabs:o}),{...mainconfig,tabs:o,active:n,selectTab:s}},components:{Container}},_hoisted_1$f={class:"tab-vertical-menu"},_hoisted_2$e={class:"tab-interface"},_hoisted_3$c={role:"tablist"},_hoisted_4$c=["tabindex","aria-selected","onClick"],_hoisted_5$c={key:0,class:"tab-action"},_hoisted_6$c={class:"tabs-details"};function _sfc_render$i(e,t,n,o,s,r){const l=resolveComponent("Container");return openBlock(),createElementBlock("div",_hoisted_1$f,[createBaseVNode("div",_hoisted_2$e,[createVNode(l,{onToggleExpand:e.toggleExpand,title:"Menu",expanded:e.expanded},{default:withCtx(()=>[createBaseVNode("ul",_hoisted_3$c,[(openBlock(!0),createElementBlock(Fragment,null,renderList(o.tabs,(a,c)=>(openBlock(),createElementBlock("li",{role:"presentation",key:c},[createBaseVNode("a",{role:"tab",tabindex:o.active===c?"0":"-1","aria-selected":o.active===c?"true":"false",onClick:d=>o.selectTab(c)},toDisplayString$1(a.props.name),9,_hoisted_4$c)]))),128))])]),_:1},8,["onToggleExpand","expanded"]),e.isMobilePhone?createCommentVNode("",!0):(openBlock(),createElementBlock("div",_hoisted_5$c,t[0]||(t[0]=[createBaseVNode("button",{type:"submit","data-clear":"",class:"simple"}," Reset to default ",-1),createBaseVNode("button",{class:"strong",type:"submit"},"Save",-1)])))]),createBaseVNode("div",_hoisted_6$c,[renderSlot(e.$slots,"default")])])}const Navigation=_export_sfc(_sfc_main$i,[["render",_sfc_render$i]]),_sfc_main$h={data(){return mainconfig},methods:{onFileChange(e){const t=e.target,n=new FileReader;n.onload=function(){const s=n.result;try{let r={settings:JSON.parse(s)};r=upgradeConfig(r),mainconfig.settings=r.settings,localStorage.setItem(`config_${mainconfig.app.industry}`,JSON.stringify(r)),sessionStorage.clear(),alert("The file was successfully uploaded.")}catch{alert(`Error when trying to parse the configuration file - ${e}`)}},n.readAsText(t.files[0])}}},_hoisted_1$e={class:"file-upload"};function _sfc_render$h(e,t,n,o,s,r){return openBlock(),createElementBlock("div",_hoisted_1$e,[createBaseVNode("input",{type:"file",onChange:t[0]||(t[0]=(...l)=>r.onFileChange&&r.onFileChange(...l)),name:"file",id:"file",class:"inputfile",title:"Upload configuration"},null,32),t[1]||(t[1]=createBaseVNode("label",{for:"file",title:"Upload configuration"},[createBaseVNode("i",{class:"pi pi-document-upload-solid"}),createTextVNode("Upload config file ")],-1))])}const FileUpload=_export_sfc(_sfc_main$h,[["render",_sfc_render$h]]),_sfc_main$g={data(){return mainconfig},methods:{downloadFile(){const e=JSON.stringify(mainconfig.settings,null,2),t="config-text.json",n=new Blob([e],{type:"text/plain;charset=utf-8;"});if(window.navigator.msSaveOrOpenBlob)window.navigator.msSaveBlob(n,t);else{const o=window.document.createElement("a");o.href=window.URL.createObjectURL(n),o.download=t,document.body.appendChild(o),o.click(),document.body.removeChild(o)}}}};function _sfc_render$g(e,t,n,o,s,r){return openBlock(),createElementBlock("button",{onClick:t[0]||(t[0]=(...l)=>r.downloadFile&&r.downloadFile(...l)),class:"file-download",title:"Download configuration"},t[1]||(t[1]=[createBaseVNode("i",{class:"pi pi-document-download-solid"},null,-1),createTextVNode("Download config file ")]))}const FileDownload=_export_sfc(_sfc_main$g,[["render",_sfc_render$g]]),_sfc_main$f={data(){return mainconfig},components:{FileUpload,FileDownload}},_hoisted_1$d={class:"container-transparent"},_hoisted_2$d={class:"container-transparent"};function _sfc_render$f(e,t,n,o,s,r){const l=resolveComponent("FileDownload"),a=resolveComponent("FileUpload");return openBlock(),createElementBlock("div",null,[t[4]||(t[4]=createBaseVNode("h2",null,"Welcome to the U+ demo website",-1)),createBaseVNode("div",_hoisted_1$d,[t[0]||(t[0]=createBaseVNode("h3",null,"Step 1",-1)),t[1]||(t[1]=createBaseVNode("p",null," Start by downloading the settings config file template provided here: ",-1)),createVNode(l)]),t[5]||(t[5]=createBaseVNode("div",{class:"container-transparent"},[createBaseVNode("h3",null,"Step 2"),createBaseVNode("p",null," Update this file to include information from your Pega application including users, quick links, chat... ")],-1)),createBaseVNode("div",_hoisted_2$d,[t[2]||(t[2]=createBaseVNode("h3",null,"Step 3",-1)),t[3]||(t[3]=createBaseVNode("p",null,"Upload your updated config file here:",-1)),createVNode(a)]),t[6]||(t[6]=createBaseVNode("div",{class:"container-transparent"},[createBaseVNode("h3",null,"Step 4"),createBaseVNode("p",null," After uploading the file, the changes are automatically saved. You will be able to review your settings by navigating to each section on the panel to the left. Any changes made here can be saved and redownloaded. Click on the 'Reset to default' to reset back your configuration to the default config. ")],-1))])}const GettingStarted=_export_sfc(_sfc_main$f,[["render",_sfc_render$f]]),_sfc_main$e={data(){return mainconfig},components:{Container},methods:{onConnectionTypeChange(){this.settings.general.connection.type==="mashup"?this.settings.general.connection.authtype="basic":this.settings.general.connection.type.startsWith("embedui")?this.settings.general.connection.authtype="oauth2clientcredentials":this.settings.general.connection.type==="dxv1"?this.settings.general.connection.authtype="basic":this.settings.general.connection.type==="dxv2"&&(this.settings.general.connection.authtype="oauth2password")}}},_hoisted_1$c={class:"container-transparent"},_hoisted_2$c={class:"container"},_hoisted_3$b={class:"body"},_hoisted_4$b={class:"layout-labels-top layout-inline-grid-double"},_hoisted_5$b={class:"field-item"},_hoisted_6$b={key:0,class:"field-item"},_hoisted_7$b={class:"layout-labels-top"},_hoisted_8$b={class:"field-item"},_hoisted_9$b={key:0,class:"field-item"},_hoisted_10$b={key:1,class:"field-item"},_hoisted_11$b={key:2,class:"field-item"},_hoisted_12$b={key:3,class:"field-item"},_hoisted_13$b={key:4,class:"field-item"},_hoisted_14$b={key:5,class:"field-item"},_hoisted_15$b={key:6,class:"field-item"},_hoisted_16$b={key:7,class:"field-item"},_hoisted_17$b={key:8,class:"field-item"},_hoisted_18$b={key:9,class:"field-item"},_hoisted_19$b={key:10,class:"field-item"},_hoisted_20$b={key:11,class:"field-item padding-b-1x"},_hoisted_21$b={key:12,class:"field-item"},_hoisted_22$b={key:0,class:"field-item padding-b-1x"},_hoisted_23$b={class:"layout-labels-top"},_hoisted_24$6={class:"field-item padding-b-1x"},_hoisted_25$5={class:"field-item"},_hoisted_26$4={class:"layout-labels-top"},_hoisted_27$4={class:"field-item padding-b-1x"},_hoisted_28$4={class:"field-item"},_hoisted_29$4={class:"field-item"},_hoisted_30$3={class:"layout-labels-top layout-inline-grid-double"},_hoisted_31$3={class:"field-item"},_hoisted_32$3={class:"field-item"},_hoisted_33$3={class:"field-item"},_hoisted_34$3={class:"field-item"},_hoisted_35$3={class:"layout-labels-top layout-inline-grid-double"},_hoisted_36$3={class:"field-item"},_hoisted_37$3={class:"field-item"},_hoisted_38$3={class:"field-item"},_hoisted_39$3={class:"field-item"};function _sfc_render$e(e,t,n,o,s,r){const l=resolveComponent("Container");return openBlock(),createElementBlock("div",_hoisted_1$c,[t[69]||(t[69]=createBaseVNode("h2",null,"General",-1)),t[70]||(t[70]=createBaseVNode("p",null,[createTextVNode(" General configuration settings. For more details on how to configure two-factor authentication, click "),createBaseVNode("a",{href:"https://github.com/pegasystems/uplus-wss/wiki/How-to-configure-two-factor-authentication"},"here"),createTextVNode(". ")],-1)),createBaseVNode("div",_hoisted_2$c,[createBaseVNode("div",_hoisted_3$b,[createVNode(l,{title:"Theming",expanded:""},{default:withCtx(()=>[createBaseVNode("div",_hoisted_4$b,[createBaseVNode("div",_hoisted_5$b,[withDirectives(createBaseVNode("input",{id:"theming-override",type:"checkbox","onUpdate:modelValue":t[0]||(t[0]=a=>e.settings.general.theming.override=a)},null,512),[[vModelCheckbox,e.settings.general.theming.override]]),t[32]||(t[32]=createBaseVNode("label",{for:"theming-override"},"Override default theme",-1))]),e.settings.general.theming.override?(openBlock(),createElementBlock("div",_hoisted_6$b,[withDirectives(createBaseVNode("input",{id:"branding-color",type:"color","onUpdate:modelValue":t[1]||(t[1]=a=>e.settings.general.theming.brandColor=a)},null,512),[[vModelText,e.settings.general.theming.brandColor]]),t[33]||(t[33]=createBaseVNode("label",{for:"branding-color"},"Branding color",-1)),withDirectives(createBaseVNode("input",{id:"interactive-color",type:"color","onUpdate:modelValue":t[2]||(t[2]=a=>e.settings.general.theming.interactiveColor=a)},null,512),[[vModelText,e.settings.general.theming.interactiveColor]]),t[34]||(t[34]=createBaseVNode("label",{for:"interactive-color"},"Interactive color",-1))])):createCommentVNode("",!0)])]),_:1}),createVNode(l,{title:"Pega Platform access",expanded:""},{default:withCtx(()=>[createBaseVNode("div",_hoisted_7$b,[createBaseVNode("div",_hoisted_8$b,[t[36]||(t[36]=createBaseVNode("label",{for:"ga-connection-type"},"Type",-1)),withDirectives(createBaseVNode("select",{id:"ga-connection-type","onUpdate:modelValue":t[3]||(t[3]=a=>e.settings.general.connection.type=a),onChange:t[4]||(t[4]=(...a)=>r.onConnectionTypeChange&&r.onConnectionTypeChange(...a))},t[35]||(t[35]=[createBaseVNode("option",{value:"mashup"},"Pega Web Mashup (Traditional UI)",-1),createBaseVNode("option",{value:"embedui"}," Pega Web Embed UI (Constellation UI - Pega Infinity 8.7, 8.8 or '23) ",-1),createBaseVNode("option",{value:"embedui2"}," Pega Web Embed UI (Constellation UI - Pega Infinity '24.1) ",-1),createBaseVNode("option",{value:"embedui3"}," Pega Web Embed UI (Constellation UI - Pega Infinity '24.2 or higher) ",-1),createBaseVNode("option",{value:"dxv1"}," DX API v1 (Mashup Web component - 8.1+) ",-1),createBaseVNode("option",{value:"dxv2"}," DX API v2 (Mashup Web component - 8.5+) ",-1),createBaseVNode("option",{value:"launchpad"}," Launchpad ",-1)]),544),[[vModelSelect,e.settings.general.connection.type]])]),e.settings.general.connection.type==="dxv1"||e.settings.general.connection.type==="dxv2"?(openBlock(),createElementBlock("div",_hoisted_9$b,[t[38]||(t[38]=createBaseVNode("label",{for:"ga-connection-authtype"},"Authentication",-1)),withDirectives(createBaseVNode("select",{id:"ga-connection-authtype","onUpdate:modelValue":t[5]||(t[5]=a=>e.settings.general.connection.authtype=a)},t[37]||(t[37]=[createBaseVNode("option",{value:"basic"},"Basic authentication",-1),createBaseVNode("option",{value:"oauth2password"}," OAuth 2.0 Password Grant Type ",-1)]),512),[[vModelSelect,e.settings.general.connection.authtype]])])):createCommentVNode("",!0),e.settings.general.connection.type.startsWith("embedui")||e.settings.general.connection.type==="launchpad"?(openBlock(),createElementBlock("div",_hoisted_10$b,[t[40]||(t[40]=createBaseVNode("label",{for:"ga-connection-authtype"},"Authentication",-1)),withDirectives(createBaseVNode("select",{id:"ga-connection-authtype","onUpdate:modelValue":t[6]||(t[6]=a=>e.settings.general.connection.authtype=a)},t[39]||(t[39]=[createBaseVNode("option",{value:"oauth2clientcredentials"}," OAuth 2.0 Client Credentials Type ",-1)]),512),[[vModelSelect,e.settings.general.connection.authtype]])])):createCommentVNode("",!0),e.settings.general.connection.authtype==="oauth2password"||e.settings.general.connection.authtype==="oauth2clientcredentials"?(openBlock(),createElementBlock("div",_hoisted_11$b,[t[41]||(t[41]=createBaseVNode("label",{for:"ga-connection-clientid"},"Client ID",-1)),withDirectives(createBaseVNode("input",{type:"text",id:"ga-connection-clientid","onUpdate:modelValue":t[7]||(t[7]=a=>e.settings.general.connection.clientid=a)},null,512),[[vModelText,e.settings.general.connection.clientid]])])):createCommentVNode("",!0),e.settings.general.connection.authtype==="oauth2password"?(openBlock(),createElementBlock("div",_hoisted_12$b,[t[42]||(t[42]=createBaseVNode("label",{for:"ga-connection-clientsecret"},"Client secret",-1)),withDirectives(createBaseVNode("input",{type:"text",id:"ga-connection-clientsecret","onUpdate:modelValue":t[8]||(t[8]=a=>e.settings.general.connection.clientsecret=a)},null,512),[[vModelText,e.settings.general.connection.clientsecret]])])):createCommentVNode("",!0),e.settings.general.connection.type==="dxv2"?(openBlock(),createElementBlock("div",_hoisted_13$b,[t[43]||(t[43]=createBaseVNode("label",{for:"ga-connection-webportal"},"Web portal",-1)),withDirectives(createBaseVNode("input",{type:"text",id:"ga-connection-webportal","onUpdate:modelValue":t[9]||(t[9]=a=>e.settings.general.connection.webportal=a)},null,512),[[vModelText,e.settings.general.connection.webportal]])])):createCommentVNode("",!0),e.settings.general.connection.type==="embedui"?(openBlock(),createElementBlock("div",_hoisted_14$b,[t[44]||(t[44]=createBaseVNode("label",{for:"ga-connection-c11nserver"},"C11n URL (staticContentUrl)",-1)),withDirectives(createBaseVNode("input",{type:"text",id:"ga-connection-c11nserver","onUpdate:modelValue":t[10]||(t[10]=a=>e.settings.general.connection.c11nserver=a)},null,512),[[vModelText,e.settings.general.connection.c11nserver]])])):createCommentVNode("",!0),e.settings.general.connection.type==="embedui2"||e.settings.general.connection.type==="embedui3"?(openBlock(),createElementBlock("div",_hoisted_15$b,[t[45]||(t[45]=createBaseVNode("label",{for:"ga-connection-PegaURL"},"Pega Platform Web Base URL (for example 'https://127.0.0.1/prweb')",-1)),withDirectives(createBaseVNode("input",{type:"text",id:"ga-connection-PegaURL","onUpdate:modelValue":t[11]||(t[11]=a=>e.settings.general.connection.PegaURL=a)},null,512),[[vModelText,e.settings.general.connection.PegaURL]])])):createCommentVNode("",!0),e.settings.general.connection.type==="launchpad"?(openBlock(),createElementBlock("div",_hoisted_16$b,[t[46]||(t[46]=createBaseVNode("label",{for:"ga-connection-PegaURL"},"Launchpad URL (for example: 'https://xxx.lp.integration.pegaservice.net')",-1)),withDirectives(createBaseVNode("input",{type:"text",id:"ga-connection-PegaURL","onUpdate:modelValue":t[12]||(t[12]=a=>e.settings.general.connection.PegaURL=a)},null,512),[[vModelText,e.settings.general.connection.PegaURL]])])):createCommentVNode("",!0),e.settings.general.connection.type==="launchpad"?(openBlock(),createElementBlock("div",_hoisted_17$b,[t[47]||(t[47]=createBaseVNode("label",{for:"ga-connection-authorizeUri"},"AuthorizeUri endpoint",-1)),withDirectives(createBaseVNode("input",{type:"text",id:"ga-connection-authorizeUri","onUpdate:modelValue":t[13]||(t[13]=a=>e.settings.general.connection.authorizeUri=a)},null,512),[[vModelText,e.settings.general.connection.authorizeUri]])])):createCommentVNode("",!0),e.settings.general.connection.type==="embedui3"?(openBlock(),createElementBlock("div",_hoisted_18$b,[t[48]||(t[48]=createBaseVNode("label",{for:"ga-connection-ThemeID"},"Theme ID (leave empty to use auto-generated theme for each industry)",-1)),withDirectives(createBaseVNode("input",{type:"text",id:"ga-connection-ThemeID","onUpdate:modelValue":t[14]||(t[14]=a=>e.settings.general.connection.themeID=a)},null,512),[[vModelText,e.settings.general.connection.themeID]])])):createCommentVNode("",!0),e.settings.general.connection.type==="launchpad"?(openBlock(),createElementBlock("div",_hoisted_19$b,[t[49]||(t[49]=createBaseVNode("label",{for:"ga-connection-ThemeID-lp"},"Theme ID (leave empty to use application theme)",-1)),withDirectives(createBaseVNode("input",{type:"text",id:"ga-connection-ThemeID-lp","onUpdate:modelValue":t[15]||(t[15]=a=>e.settings.general.connection.themeID=a)},null,512),[[vModelText,e.settings.general.connection.themeID]])])):createCommentVNode("",!0),e.settings.general.connection.type.startsWith("embedui")||e.settings.general.connection.type==="launchpad"?(openBlock(),createElementBlock("div",_hoisted_20$b,[withDirectives(createBaseVNode("input",{type:"checkbox",id:"ga-connection-webEmbedUseFormWidth","onUpdate:modelValue":t[16]||(t[16]=a=>e.settings.general.connection.webEmbedUseFormWidth=a)},null,512),[[vModelCheckbox,e.settings.general.connection.webEmbedUseFormWidth]]),t[50]||(t[50]=createBaseVNode("label",{for:"ga-connection-webEmbedUseFormWidth"},"Set to true if the web-embed width should be limited to 80ch",-1))])):createCommentVNode("",!0),e.settings.general.connection.type.startsWith("embedui")?(openBlock(),createElementBlock("div",_hoisted_21$b,[t[51]||(t[51]=createBaseVNode("label",{for:"ga-connection-authService"},"Authentication service",-1)),withDirectives(createBaseVNode("input",{type:"text",id:"ga-connection-authService","onUpdate:modelValue":t[17]||(t[17]=a=>e.settings.general.connection.authService=a)},null,512),[[vModelText,e.settings.general.connection.authService]])])):createCommentVNode("",!0)]),e.settings.general.connection.type==="dxv1"||e.settings.general.connection.type==="dxv2"?(openBlock(),createElementBlock("div",_hoisted_22$b,[withDirectives(createBaseVNode("input",{id:"ga-connection-bshowattachment",type:"checkbox","onUpdate:modelValue":t[18]||(t[18]=a=>e.settings.general.connection.showAttachments=a)},null,512),[[vModelCheckbox,e.settings.general.connection.showAttachments]]),t[52]||(t[52]=createBaseVNode("label",{for:"ga-connection-bshowattachment"},"Show attachments",-1))])):createCommentVNode("",!0)]),_:1}),createVNode(l,{title:"Google Analytics",expanded:""},{default:withCtx(()=>[createBaseVNode("div",_hoisted_23$b,[createBaseVNode("div",_hoisted_24$6,[withDirectives(createBaseVNode("input",{id:"ga-enabled",type:"checkbox","onUpdate:modelValue":t[19]||(t[19]=a=>e.settings.general.ga.enabled=a)},null,512),[[vModelCheckbox,e.settings.general.ga.enabled]]),t[53]||(t[53]=createBaseVNode("label",{for:"ga-enabled"},"Enable",-1))]),createBaseVNode("div",_hoisted_25$5,[t[54]||(t[54]=createBaseVNode("label",{for:"ga-trackingid"},"Tracking ID",-1)),withDirectives(createBaseVNode("input",{id:"ga-trackingid",type:"text","onUpdate:modelValue":t[20]||(t[20]=a=>e.settings.general.ga.trackingid=a)},null,512),[[vModelText,e.settings.general.ga.trackingid]])])])]),_:1}),e.settings.general.connection.type!=="launchpad"?(openBlock(),createBlock(l,{key:0,title:"Two-factor authentication",expanded:""},{default:withCtx(()=>[createBaseVNode("div",_hoisted_26$4,[createBaseVNode("div",_hoisted_27$4,[withDirectives(createBaseVNode("input",{id:"2fa-enabled",type:"checkbox","onUpdate:modelValue":t[21]||(t[21]=a=>e.settings.general.auth_2fa.enabled=a)},null,512),[[vModelCheckbox,e.settings.general.auth_2fa.enabled]]),t[55]||(t[55]=createBaseVNode("label",{for:"2fa-enabled"},"Enable",-1))]),createBaseVNode("div",_hoisted_28$4,[t[56]||(t[56]=createBaseVNode("label",{for:"2fa-url"},"Server Base URL",-1)),withDirectives(createBaseVNode("input",{id:"2fa-url",type:"text","onUpdate:modelValue":t[22]||(t[22]=a=>e.settings.general.auth_2fa.url=a)},null,512),[[vModelText,e.settings.general.auth_2fa.url]])]),createBaseVNode("div",_hoisted_29$4,[t[58]||(t[58]=createBaseVNode("label",{for:"2fa-sendMode"},"OTP send mode",-1)),withDirectives(createBaseVNode("select",{id:"2fa-sendMode","onUpdate:modelValue":t[23]||(t[23]=a=>e.settings.general.auth_2fa.sendMode=a)},t[57]||(t[57]=[createBaseVNode("option",{value:"email"},"Email",-1),createBaseVNode("option",{value:"sms"},"SMS",-1)]),512),[[vModelSelect,e.settings.general.auth_2fa.sendMode]])])]),t[67]||(t[67]=createBaseVNode("h4",null,"Email",-1)),createBaseVNode("div",_hoisted_30$3,[createBaseVNode("div",_hoisted_31$3,[t[59]||(t[59]=createBaseVNode("label",{for:"2fa-email-correspondenceName"},"Correspondence name",-1)),withDirectives(createBaseVNode("input",{id:"2fa-email-correspondenceName",type:"text","onUpdate:modelValue":t[24]||(t[24]=a=>e.settings.general.auth_2fa.emailSettings.correspondenceName=a)},null,512),[[vModelText,e.settings.general.auth_2fa.emailSettings.correspondenceName]])]),createBaseVNode("div",_hoisted_32$3,[t[60]||(t[60]=createBaseVNode("label",{for:"2fa-email-emailAccount"},"Email account",-1)),withDirectives(createBaseVNode("input",{id:"2fa-email-emailAccount",type:"text","onUpdate:modelValue":t[25]||(t[25]=a=>e.settings.general.auth_2fa.emailSettings.emailAccount=a)},null,512),[[vModelText,e.settings.general.auth_2fa.emailSettings.emailAccount]])]),createBaseVNode("div",_hoisted_33$3,[t[61]||(t[61]=createBaseVNode("label",{for:"2fa-email-subject"},"Subject",-1)),withDirectives(createBaseVNode("input",{id:"2fa-email-subject",type:"text","onUpdate:modelValue":t[26]||(t[26]=a=>e.settings.general.auth_2fa.emailSettings.subject=a)},null,512),[[vModelText,e.settings.general.auth_2fa.emailSettings.subject]])]),createBaseVNode("div",_hoisted_34$3,[t[62]||(t[62]=createBaseVNode("label",{for:"2fa-email-validateMaxAge"},"Validate max age",-1)),withDirectives(createBaseVNode("input",{id:"2fa-email-validateMaxAge",type:"text","onUpdate:modelValue":t[27]||(t[27]=a=>e.settings.general.auth_2fa.emailSettings.validateMaxAge=a)},null,512),[[vModelText,e.settings.general.auth_2fa.emailSettings.validateMaxAge]])])]),t[68]||(t[68]=createBaseVNode("h4",null,"SMS",-1)),createBaseVNode("div",_hoisted_35$3,[createBaseVNode("div",_hoisted_36$3,[t[63]||(t[63]=createBaseVNode("label",{for:"2fa-sms-from"},"From",-1)),withDirectives(createBaseVNode("input",{id:"2fa-sms-from",type:"text","onUpdate:modelValue":t[28]||(t[28]=a=>e.settings.general.auth_2fa.smsSettings.from=a)},null,512),[[vModelText,e.settings.general.auth_2fa.smsSettings.from]])]),createBaseVNode("div",_hoisted_37$3,[t[64]||(t[64]=createBaseVNode("label",{for:"2fa-sms-account"},"Account",-1)),withDirectives(createBaseVNode("input",{id:"2fa-sms-account",type:"text","onUpdate:modelValue":t[29]||(t[29]=a=>e.settings.general.auth_2fa.smsSettings.account=a)},null,512),[[vModelText,e.settings.general.auth_2fa.smsSettings.account]])]),createBaseVNode("div",_hoisted_38$3,[t[65]||(t[65]=createBaseVNode("label",{for:"2fa-sms-message"},"Message",-1)),withDirectives(createBaseVNode("input",{id:"2fa-sms-message",type:"text","onUpdate:modelValue":t[30]||(t[30]=a=>e.settings.general.auth_2fa.smsSettings.message=a)},null,512),[[vModelText,e.settings.general.auth_2fa.smsSettings.message]])]),createBaseVNode("div",_hoisted_39$3,[t[66]||(t[66]=createBaseVNode("label",{for:"2fa-sms-validateMaxAge"},"Validate max age",-1)),withDirectives(createBaseVNode("input",{id:"2fa-sms-validateMaxAge",type:"text","onUpdate:modelValue":t[31]||(t[31]=a=>e.settings.general.auth_2fa.smsSettings.validateMaxAge=a)},null,512),[[vModelText,e.settings.general.auth_2fa.smsSettings.validateMaxAge]])])])]),_:1})):createCommentVNode("",!0)])])])}const General=_export_sfc(_sfc_main$e,[["render",_sfc_render$e]]),_sfc_main$d={data(){return mainconfig},methods:{onActionChange(e){this.settings.general.connection.type.indexOf("dx")===-1||this.settings.quicklinks[e].action!=="display"?this.settings.quicklinks[e].actionparam="":this.settings.quicklinks[e].actionparam="workList"}},components:{Container}},_hoisted_1$b={class:"container-transparent"},_hoisted_2$b={class:"layout-labels-left layout-inline-grid-double"},_hoisted_3$a={class:"field-item"},_hoisted_4$a=["id","onUpdate:modelValue"],_hoisted_5$a=["for"],_hoisted_6$a={key:0,class:"field-item field-checkbox"},_hoisted_7$a=["id","onUpdate:modelValue"],_hoisted_8$a=["for"],_hoisted_9$a={key:1,class:"field-item field-checkbox"},_hoisted_10$a=["id","onUpdate:modelValue"],_hoisted_11$a=["for"],_hoisted_12$a={class:"layout-inline-grid-double layout-labels-top"},_hoisted_13$a=["for"],_hoisted_14$a=["id","onUpdate:modelValue"],_hoisted_15$a={class:"layout-inline-grid-double layout-labels-top"},_hoisted_16$a={class:"field-item"},_hoisted_17$a=["for"],_hoisted_18$a=["id","onUpdate:modelValue","onChange"],_hoisted_19$a={key:0},_hoisted_20$a={key:1},_hoisted_21$a={key:0,class:"field-item"},_hoisted_22$a=["for"],_hoisted_23$a=["id","onUpdate:modelValue"],_hoisted_24$5=["id","onUpdate:modelValue"],_hoisted_25$4={key:1,class:"field-item"},_hoisted_26$3=["for"],_hoisted_27$3=["id","onUpdate:modelValue"],_hoisted_28$3={key:2,class:"field-item"},_hoisted_29$3=["for"],_hoisted_30$2=["id","onUpdate:modelValue"],_hoisted_31$2={key:3,class:"field-item"},_hoisted_32$2=["for"],_hoisted_33$2=["id","onUpdate:modelValue"],_hoisted_34$2={class:"field-item"},_hoisted_35$2=["for"],_hoisted_36$2=["id","onUpdate:modelValue"],_hoisted_37$2={key:4,class:"field-item"},_hoisted_38$2=["for"],_hoisted_39$2=["id","onUpdate:modelValue"],_hoisted_40$2={key:5,class:"field-item"},_hoisted_41$2=["for"],_hoisted_42$2=["id","onUpdate:modelValue"],_hoisted_43$2={key:6,class:"field-item"},_hoisted_44$2=["for"],_hoisted_45$2=["id","onUpdate:modelValue"],_hoisted_46$2={key:7,class:"field-item"},_hoisted_47$2=["for"],_hoisted_48$2=["id","onUpdate:modelValue"],_hoisted_49$2={key:0,value:"simplifiedAssignment"},_hoisted_50$2={class:"field-item"},_hoisted_51$2=["for"],_hoisted_52$2=["id","onUpdate:modelValue"],_hoisted_53$2={class:"field-item"},_hoisted_54$2=["for"],_hoisted_55$1=["id","onUpdate:modelValue"],_hoisted_56$1={key:8,class:"field-item field-checkbox"},_hoisted_57$1=["id","onUpdate:modelValue"],_hoisted_58$1=["for"],_hoisted_59$1={class:"layout-labels-top"},_hoisted_60={class:"field-item"},_hoisted_61=["for"],_hoisted_62=["id","onUpdate:modelValue"];function _sfc_render$d(e,t,n,o,s,r){const l=resolveComponent("Container");return openBlock(),createElementBlock("div",_hoisted_1$b,[t[8]||(t[8]=createBaseVNode("h2",null,"Quick links",-1)),t[9]||(t[9]=createBaseVNode("p",null," Configuration of each of the mashup case types that can be accessed through the quick links component. ",-1)),(openBlock(!0),createElementBlock(Fragment,null,renderList(e.settings.quicklinks,(a,c)=>(openBlock(),createElementBlock("div",{key:c},[createVNode(l,{title:"Case type "+(c+1),expanded:c===0},{default:withCtx(()=>[createBaseVNode("div",_hoisted_2$b,[createBaseVNode("div",_hoisted_3$a,[withDirectives(createBaseVNode("input",{id:"quicklinks-"+c+"-hideaccount",type:"checkbox","onUpdate:modelValue":d=>a.hide=d},null,8,_hoisted_4$a),[[vModelCheckbox,a.hide]]),createBaseVNode("label",{class:"width-auto",for:"quicklinks-"+c+"-hideaccount"},"Hide from account page",8,_hoisted_5$a)]),e.settings.general.connection.type==="mashup"?(openBlock(),createElementBlock("div",_hoisted_6$a,[withDirectives(createBaseVNode("input",{id:"quicklinks-"+c+"-dataretained",type:"checkbox","onUpdate:modelValue":d=>a.dataretained=d},null,8,_hoisted_7$a),[[vModelCheckbox,a.dataretained]]),createBaseVNode("label",{class:"width-auto",for:"quicklinks-"+c+"-dataretained"},"Retain state on reload",8,_hoisted_8$a)])):createCommentVNode("",!0),e.settings.general.connection.type.startsWith("embedui")?(openBlock(),createElementBlock("div",_hoisted_9$a,[withDirectives(createBaseVNode("input",{id:"quicklinks-"+c+"-hideassignmentheader",type:"checkbox","onUpdate:modelValue":d=>a.hideassignmentheader=d},null,8,_hoisted_10$a),[[vModelCheckbox,a.hideassignmentheader]]),createBaseVNode("label",{class:"width-auto",for:"quicklinks-"+c+"-hideassignmentheader"},"Hide assignment header",8,_hoisted_11$a)])):createCommentVNode("",!0)]),createBaseVNode("div",_hoisted_12$a,[(openBlock(!0),createElementBlock(Fragment,null,renderList(e.settings.i18n.languages,d=>(openBlock(),createElementBlock("div",{key:d,class:"field-item"},[createBaseVNode("label",{for:"quicklinks-"+c+"-"+d},"Case name in '"+toDisplayString$1(d)+"'",9,_hoisted_13$a),withDirectives(createBaseVNode("input",{id:"quicklinks-"+c+"-"+d,type:"text","onUpdate:modelValue":u=>a.title[d]=u},null,8,_hoisted_14$a),[[vModelText,a.title[d]]])]))),128))]),createBaseVNode("div",_hoisted_15$a,[createBaseVNode("div",_hoisted_16$a,[createBaseVNode("label",{for:"quicklinks-"+c+"-action"},"Action",8,_hoisted_17$a),withDirectives(createBaseVNode("select",{id:"quicklinks-"+c+"-action","onUpdate:modelValue":d=>a.action=d,onChange:d=>r.onActionChange(c)},[t[0]||(t[0]=createBaseVNode("option",null,"createNewWork",-1)),t[1]||(t[1]=createBaseVNode("option",null,"display",-1)),e.settings.general.connection.type.indexOf("dx")===-1?(openBlock(),createElementBlock("option",_hoisted_19$a," getNextWork ")):createCommentVNode("",!0),t[2]||(t[2]=createBaseVNode("option",null,"openAssignment",-1)),e.settings.general.connection.type==="mashup"?(openBlock(),createElementBlock("option",_hoisted_20$a," openWorkItem ")):createCommentVNode("",!0),t[3]||(t[3]=createBaseVNode("option",null,"openWorkByHandle",-1))],40,_hoisted_18$a),[[vModelSelect,a.action]])]),a.action!=="createNewWork"&&a.action!=="getNextWork"?(openBlock(),createElementBlock("div",_hoisted_21$a,[createBaseVNode("label",{for:"quicklinks-"+c+"-actionparam"},"Action parameter",8,_hoisted_22$a),e.settings.general.connection.type.indexOf("dx")===-1||e.settings.todo.action!=="display"?withDirectives((openBlock(),createElementBlock("input",{key:0,id:"quicklinks-"+c+"-actionparam",type:"text","onUpdate:modelValue":d=>a.actionparam=d},null,8,_hoisted_23$a)),[[vModelText,a.actionparam]]):withDirectives((openBlock(),createElementBlock("select",{key:1,id:"quicklinks-"+c+"-actionparam","onUpdate:modelValue":d=>a.actionparam=d},t[4]||(t[4]=[createBaseVNode("option",{value:"workList",selected:""},"Show the worklist",-1),createBaseVNode("option",{value:"taskList"},"Show a tasklist",-1),createBaseVNode("option",{value:"dataView"},"Display a data view",-1)]),8,_hoisted_24$5)),[[vModelSelect,a.actionparam]])])):createCommentVNode("",!0),a.action==="createNewWork"||e.settings.general.connection.type.indexOf("dx")===-1&&a.action==="display"?(openBlock(),createElementBlock("div",_hoisted_25$4,[createBaseVNode("label",{for:"quicklinks-"+c+"-objclass"},"Classname",8,_hoisted_26$3),withDirectives(createBaseVNode("input",{id:"quicklinks-"+c+"-objclass",type:"text","onUpdate:modelValue":d=>a.objclass=d},null,8,_hoisted_27$3),[[vModelText,a.objclass]])])):createCommentVNode("",!0),e.settings.general.connection.type.indexOf("dx")===0&&a.action==="display"?(openBlock(),createElementBlock("div",_hoisted_28$3,[createBaseVNode("label",{for:"quicklinks-"+c+"-heading"},"Heading",8,_hoisted_29$3),withDirectives(createBaseVNode("input",{id:"quicklinks-"+c+"-heading",type:"text","onUpdate:modelValue":d=>a.heading=d},null,8,_hoisted_30$2),[[vModelText,a.heading]])])):createCommentVNode("",!0),e.settings.general.connection.type==="mashup"&&a.action==="createNewWork"?(openBlock(),createElementBlock("div",_hoisted_31$2,[createBaseVNode("label",{for:"quicklinks-"+c+"-startcase"},"Start case",8,_hoisted_32$2),withDirectives(createBaseVNode("input",{id:"quicklinks-"+c+"-startcase",type:"text","onUpdate:modelValue":d=>a.startcase=d},null,8,_hoisted_33$2),[[vModelText,a.startcase]])])):createCommentVNode("",!0),createBaseVNode("div",_hoisted_34$2,[createBaseVNode("label",{for:"quicklinks-"+c+"-url"},"URL",8,_hoisted_35$2),withDirectives(createBaseVNode("input",{id:"quicklinks-"+c+"-url",type:"text","onUpdate:modelValue":d=>a.url=d},null,8,_hoisted_36$2),[[vModelText,a.url]])]),e.settings.general.connection.type!=="launchpad"?(openBlock(),createElementBlock("div",_hoisted_37$2,[createBaseVNode("label",{for:"quicklinks-"+c+"-application"},"Application name / alias",8,_hoisted_38$2),withDirectives(createBaseVNode("input",{id:"quicklinks-"+c+"-application",type:"text","onUpdate:modelValue":d=>a.application=d},null,8,_hoisted_39$2),[[vModelText,a.application]])])):createCommentVNode("",!0),e.settings.general.connection.type==="mashup"?(openBlock(),createElementBlock("div",_hoisted_40$2,[createBaseVNode("label",{for:"quicklinks-"+c+"-channelid"},"Channel ID",8,_hoisted_41$2),withDirectives(createBaseVNode("input",{id:"quicklinks-"+c+"-channelid",type:"text","onUpdate:modelValue":d=>a.channelid=d},null,8,_hoisted_42$2),[[vModelText,a.channelid]])])):createCommentVNode("",!0),e.settings.general.connection.type==="mashup"?(openBlock(),createElementBlock("div",_hoisted_43$2,[createBaseVNode("label",{for:"quicklinks-"+c+"-tenantid"},"Tenant ID",8,_hoisted_44$2),withDirectives(createBaseVNode("input",{id:"quicklinks-"+c+"-tenantid",type:"text","onUpdate:modelValue":d=>a.tenantid=d},null,8,_hoisted_45$2),[[vModelText,a.tenantid]])])):createCommentVNode("",!0),e.settings.general.connection.type.startsWith("embedui")?(openBlock(),createElementBlock("div",_hoisted_46$2,[createBaseVNode("label",{for:"quicklinks-"+c+"-pagetemplate"},"Page Template",8,_hoisted_47$2),withDirectives(createBaseVNode("select",{id:"quicklinks-"+c+"-pagetemplate","onUpdate:modelValue":d=>a.pageTemplate=d},[t[5]||(t[5]=createBaseVNode("option",{value:"full"},"Full case page",-1)),t[6]||(t[6]=createBaseVNode("option",{value:"assignment",selected:""},"Assignment only",-1)),t[7]||(t[7]=createBaseVNode("option",{value:"assignmentWithStages"}," Assignment with stages ",-1)),e.settings.general.connection.type==="embedui2"||e.settings.general.connection.type==="embedui3"?(openBlock(),createElementBlock("option",_hoisted_49$2," Simplified assignment ")):createCommentVNode("",!0)],8,_hoisted_48$2),[[vModelSelect,a.pageTemplate]])])):createCommentVNode("",!0),createBaseVNode("div",_hoisted_50$2,[createBaseVNode("label",{for:"quicklinks-"+c+"-icon"},"Icon (for mobile)",8,_hoisted_51$2),withDirectives(createBaseVNode("input",{id:"quicklinks-"+c+"-icon",type:"text","onUpdate:modelValue":d=>a.icon=d},null,8,_hoisted_52$2),[[vModelText,a.icon]])]),createBaseVNode("div",_hoisted_53$2,[createBaseVNode("label",{for:"quicklinks-"+c+"-hideusers"},"Hide for below users (for example User1,User2)",8,_hoisted_54$2),withDirectives(createBaseVNode("input",{id:"quicklinks-"+c+"-hideusers",type:"text","onUpdate:modelValue":d=>a.hideusers=d},null,8,_hoisted_55$1),[[vModelText,a.hideusers]])]),e.settings.general.connection.type.startsWith("embedui")?(openBlock(),createElementBlock("div",_hoisted_56$1,[withDirectives(createBaseVNode("input",{id:"quicklinks-"+c+"-reloadtitle",type:"checkbox","onUpdate:modelValue":d=>a.reloadtitle=d},null,8,_hoisted_57$1),[[vModelCheckbox,a.reloadtitle]]),createBaseVNode("label",{class:"width-auto",for:"quicklinks-"+c+"-reloadtitle"},"Update Web-Embed title when case is completed and another case opened",8,_hoisted_58$1)])):createCommentVNode("",!0)]),createBaseVNode("div",_hoisted_59$1,[createBaseVNode("div",_hoisted_60,[createBaseVNode("label",{for:"quicklinks-"+c+"-extraparam"},"Extra parameters (for example 'key1=value1,key2=value2')",8,_hoisted_61),withDirectives(createBaseVNode("textarea",{id:"quicklinks-"+c+"-extraparam","onUpdate:modelValue":d=>a.extraparam=d},null,8,_hoisted_62),[[vModelText,a.extraparam]])])])]),_:2},1032,["title","expanded"])]))),128))])}const QuickLinksSettings=_export_sfc(_sfc_main$d,[["render",_sfc_render$d]]),_sfc_main$c={data(){return mainconfig},methods:{onActionChange(){this.settings.general.connection.type.indexOf("dx")===-1||this.settings.billpay.action!=="display"?this.settings.billpay.actionparam="":this.settings.billpay.actionparam="workList"}}},_hoisted_1$a={class:"container-transparent"},_hoisted_2$a={class:"container"},_hoisted_3$9={class:"body"},_hoisted_4$9={class:"layout-labels-left"},_hoisted_5$9={class:"field-item"},_hoisted_6$9={class:"layout-labels-top layout-inline-grid-double"},_hoisted_7$9={class:"field-item"},_hoisted_8$9={key:0},_hoisted_9$9={key:1},_hoisted_10$9={key:0,class:"field-item"},_hoisted_11$9={key:1,class:"field-item"},_hoisted_12$9={key:2,class:"field-item"},_hoisted_13$9={key:3,class:"field-item"},_hoisted_14$9={class:"field-item"},_hoisted_15$9={key:4,class:"field-item"},_hoisted_16$9={key:5,class:"field-item"},_hoisted_17$9={key:6,class:"field-item"},_hoisted_18$9={key:7,class:"field-item"},_hoisted_19$9={key:0,value:"simplifiedAssignment"},_hoisted_20$9={key:8,class:"field-item field-checkbox"},_hoisted_21$9={key:9,class:"field-item field-checkbox"},_hoisted_22$9={class:"layout-labels-top"},_hoisted_23$9={class:"field-item"};function _sfc_render$c(e,t,n,o,s,r){return openBlock(),createElementBlock("div",_hoisted_1$a,[t[38]||(t[38]=createBaseVNode("h2",null,"Bill Pay component",-1)),t[39]||(t[39]=createBaseVNode("p",null," Configuration of the mashup displayed when clicking on the 'Pay now' action inside the account page. ",-1)),createBaseVNode("div",_hoisted_2$a,[createBaseVNode("div",_hoisted_3$9,[createBaseVNode("div",_hoisted_4$9,[createBaseVNode("div",_hoisted_5$9,[withDirectives(createBaseVNode("input",{id:"bill-pay-hidebillpay",type:"checkbox","onUpdate:modelValue":t[0]||(t[0]=l=>e.settings.billpay.hidebillpay=l)},null,512),[[vModelCheckbox,e.settings.billpay.hidebillpay]]),t[16]||(t[16]=createBaseVNode("label",{class:"width-auto",for:"bill-pay-hidebillpay"},"Hide Bill Pay",-1))])]),createBaseVNode("div",_hoisted_6$9,[createBaseVNode("div",_hoisted_7$9,[t[21]||(t[21]=createBaseVNode("label",{for:"billpay-action"},"Action",-1)),withDirectives(createBaseVNode("select",{id:"billpay-action","onUpdate:modelValue":t[1]||(t[1]=l=>e.settings.billpay.action=l),onChange:t[2]||(t[2]=(...l)=>r.onActionChange&&r.onActionChange(...l))},[t[17]||(t[17]=createBaseVNode("option",null,"createNewWork",-1)),t[18]||(t[18]=createBaseVNode("option",null,"display",-1)),e.settings.general.connection.type.indexOf("dx")===-1?(openBlock(),createElementBlock("option",_hoisted_8$9," getNextWork ")):createCommentVNode("",!0),t[19]||(t[19]=createBaseVNode("option",null,"openAssignment",-1)),e.settings.general.connection.type==="mashup"?(openBlock(),createElementBlock("option",_hoisted_9$9," openWorkItem ")):createCommentVNode("",!0),t[20]||(t[20]=createBaseVNode("option",null,"openWorkByHandle",-1))],544),[[vModelSelect,e.settings.billpay.action]])]),e.settings.billpay.action!=="createNewWork"&&e.settings.billpay.action!=="getNextWork"?(openBlock(),createElementBlock("div",_hoisted_10$9,[t[23]||(t[23]=createBaseVNode("label",{for:"billpay-actionparam"},"Action parameter",-1)),e.settings.general.connection.type.indexOf("dx")===-1||e.settings.billpay.action!=="display"?withDirectives((openBlock(),createElementBlock("input",{key:0,id:"billpay-actionparam",type:"text","onUpdate:modelValue":t[3]||(t[3]=l=>e.settings.billpay.actionparam=l)},null,512)),[[vModelText,e.settings.billpay.actionparam]]):withDirectives((openBlock(),createElementBlock("select",{key:1,id:"billpay-action","onUpdate:modelValue":t[4]||(t[4]=l=>e.settings.billpay.actionparam=l)},t[22]||(t[22]=[createBaseVNode("option",{value:"workList",selected:""},"Show the worklist",-1),createBaseVNode("option",{value:"taskList"},"Show a tasklist",-1),createBaseVNode("option",{value:"dataView"},"Display a data view",-1)]),512)),[[vModelSelect,e.settings.billpay.actionparam]])])):createCommentVNode("",!0),e.settings.billpay.action==="createNewWork"||e.settings.general.connection.type.indexOf("dx")===-1&&e.settings.billpay.action==="display"?(openBlock(),createElementBlock("div",_hoisted_11$9,[t[24]||(t[24]=createBaseVNode("label",{for:"billpay-objclass"},"Classname",-1)),withDirectives(createBaseVNode("input",{id:"billpay-objclass",type:"text","onUpdate:modelValue":t[5]||(t[5]=l=>e.settings.billpay.objclass=l)},null,512),[[vModelText,e.settings.billpay.objclass]])])):createCommentVNode("",!0),e.settings.general.connection.type.indexOf("dx")===0&&e.settings.billpay.action==="display"?(openBlock(),createElementBlock("div",_hoisted_12$9,[t[25]||(t[25]=createBaseVNode("label",{for:"billpay-heading"},"Heading",-1)),withDirectives(createBaseVNode("input",{id:"billpay-heading",type:"text","onUpdate:modelValue":t[6]||(t[6]=l=>e.settings.billpay.heading=l)},null,512),[[vModelText,e.settings.billpay.heading]])])):createCommentVNode("",!0),e.settings.general.connection.type==="mashup"&&e.settings.billpay.action==="createNewWork"?(openBlock(),createElementBlock("div",_hoisted_13$9,[t[26]||(t[26]=createBaseVNode("label",{for:"billpay-startcase"},"Start case",-1)),withDirectives(createBaseVNode("input",{id:"billpay-startcase",type:"text","onUpdate:modelValue":t[7]||(t[7]=l=>e.settings.billpay.startcase=l)},null,512),[[vModelText,e.settings.billpay.startcase]])])):createCommentVNode("",!0),createBaseVNode("div",_hoisted_14$9,[t[27]||(t[27]=createBaseVNode("label",{for:"billpay-url"},"URL",-1)),withDirectives(createBaseVNode("input",{id:"billpay-url",type:"text","onUpdate:modelValue":t[8]||(t[8]=l=>e.settings.billpay.url=l)},null,512),[[vModelText,e.settings.billpay.url]])]),e.settings.general.connection.type!=="launchpad"?(openBlock(),createElementBlock("div",_hoisted_15$9,[t[28]||(t[28]=createBaseVNode("label",{for:"billpay-application"},"Application name / alias",-1)),withDirectives(createBaseVNode("input",{id:"billpay-application",type:"text","onUpdate:modelValue":t[9]||(t[9]=l=>e.settings.billpay.application=l)},null,512),[[vModelText,e.settings.billpay.application]])])):createCommentVNode("",!0),e.settings.general.connection.type==="mashup"?(openBlock(),createElementBlock("div",_hoisted_16$9,[t[29]||(t[29]=createBaseVNode("label",{for:"billpay-channelid"},"Channel ID",-1)),withDirectives(createBaseVNode("input",{id:"billpay-channelid",type:"text","onUpdate:modelValue":t[10]||(t[10]=l=>e.settings.billpay.channelid=l)},null,512),[[vModelText,e.settings.billpay.channelid]])])):createCommentVNode("",!0),e.settings.general.connection.type==="mashup"?(openBlock(),createElementBlock("div",_hoisted_17$9,[t[30]||(t[30]=createBaseVNode("label",{for:"billpay-tenantid"},"Tenant ID",-1)),withDirectives(createBaseVNode("input",{id:"billpay-tenantid",type:"text","onUpdate:modelValue":t[11]||(t[11]=l=>e.settings.billpay.tenantid=l)},null,512),[[vModelText,e.settings.billpay.tenantid]])])):createCommentVNode("",!0),e.settings.general.connection.type.startsWith("embedui")?(openBlock(),createElementBlock("div",_hoisted_18$9,[t[34]||(t[34]=createBaseVNode("label",{for:"billpay-pagetemplate"},"Page Template",-1)),withDirectives(createBaseVNode("select",{id:"billpay-pagetemplate","onUpdate:modelValue":t[12]||(t[12]=l=>e.settings.billpay.pageTemplate=l)},[t[31]||(t[31]=createBaseVNode("option",{value:"full"},"Full case page",-1)),t[32]||(t[32]=createBaseVNode("option",{value:"assignment",selected:""},"Assignment only",-1)),t[33]||(t[33]=createBaseVNode("option",{value:"assignmentWithStages"}," Assignment with stages ",-1)),e.settings.general.connection.type==="embedui2"||e.settings.general.connection.type==="embedui3"?(openBlock(),createElementBlock("option",_hoisted_19$9," Simplified assignment ")):createCommentVNode("",!0)],512),[[vModelSelect,e.settings.billpay.pageTemplate]])])):createCommentVNode("",!0),e.settings.general.connection.type==="mashup"?(openBlock(),createElementBlock("div",_hoisted_20$9,[withDirectives(createBaseVNode("input",{id:"billpay-dataretained",type:"checkbox","onUpdate:modelValue":t[13]||(t[13]=l=>e.settings.billpay.dataretained=l)},null,512),[[vModelCheckbox,e.settings.billpay.dataretained]]),t[35]||(t[35]=createBaseVNode("label",{class:"width-auto",for:"billpay-dataretained"},"Retain state on reload",-1))])):createCommentVNode("",!0),e.settings.general.connection.type.startsWith("embedui")?(openBlock(),createElementBlock("div",_hoisted_21$9,[withDirectives(createBaseVNode("input",{id:"billpay-hideassignmentheader",type:"checkbox","onUpdate:modelValue":t[14]||(t[14]=l=>e.settings.billpay.hideassignmentheader=l)},null,512),[[vModelCheckbox,e.settings.billpay.hideassignmentheader]]),t[36]||(t[36]=createBaseVNode("label",{class:"width-auto",for:"billpay-hideassignmentheader"},"Hide assignment header",-1))])):createCommentVNode("",!0)]),createBaseVNode("div",_hoisted_22$9,[createBaseVNode("div",_hoisted_23$9,[t[37]||(t[37]=createBaseVNode("label",{for:"billpay-extraparam"},"Extra parameters (for example 'key1=value1,key2=value2')",-1)),withDirectives(createBaseVNode("textarea",{id:"billpay-extraparam","onUpdate:modelValue":t[15]||(t[15]=l=>e.settings.billpay.extraparam=l)},null,512),[[vModelText,e.settings.billpay.extraparam]])])])])])])}const BillPaySettings=_export_sfc(_sfc_main$c,[["render",_sfc_render$c]]),_sfc_main$b={data(){return mainconfig},methods:{onActionChange(){this.settings.general.connection.type.indexOf("dx")===-1||this.settings.banner.action!=="display"?this.settings.banner.actionparam="":this.settings.banner.actionparam="workList"}}},_hoisted_1$9={class:"container-transparent"},_hoisted_2$9={class:"container"},_hoisted_3$8={class:"body"},_hoisted_4$8={class:"layout-labels-left layout-inline-grid-double"},_hoisted_5$8={class:"field-item"},_hoisted_6$8={class:"field-item"},_hoisted_7$8={class:"field-item"},_hoisted_8$8={class:"layout-labels-top layout-inline-grid-double"},_hoisted_9$8={class:"field-item"},_hoisted_10$8={key:0},_hoisted_11$8={key:1},_hoisted_12$8={key:0,class:"field-item"},_hoisted_13$8={key:1,class:"field-item"},_hoisted_14$8={key:2,class:"field-item"},_hoisted_15$8={key:3,class:"field-item"},_hoisted_16$8={class:"field-item"},_hoisted_17$8={key:4,class:"field-item"},_hoisted_18$8={key:5,class:"field-item"},_hoisted_19$8={key:6,class:"field-item"},_hoisted_20$8={key:7,class:"field-item"},_hoisted_21$8={key:0,value:"simplifiedAssignment"},_hoisted_22$8={key:8,class:"field-item field-checkbox"},_hoisted_23$8={key:9,class:"field-item field-checkbox"},_hoisted_24$4={class:"layout-labels-top"},_hoisted_25$3={class:"field-item"};function _sfc_render$b(e,t,n,o,s,r){return openBlock(),createElementBlock("div",_hoisted_1$9,[t[42]||(t[42]=createBaseVNode("h2",null,"Banner component",-1)),t[43]||(t[43]=createBaseVNode("p",null,"Configuration of the banner component inside the account page.",-1)),createBaseVNode("div",_hoisted_2$9,[createBaseVNode("div",_hoisted_3$8,[createBaseVNode("div",_hoisted_4$8,[createBaseVNode("div",_hoisted_5$8,[withDirectives(createBaseVNode("input",{id:"banner-hidebanner",type:"checkbox","onUpdate:modelValue":t[0]||(t[0]=l=>e.settings.banner.hidebanner=l)},null,512),[[vModelCheckbox,e.settings.banner.hidebanner]]),t[18]||(t[18]=createBaseVNode("label",{for:"banner-hidebanner"},"Hide banner",-1))]),createBaseVNode("div",_hoisted_6$8,[withDirectives(createBaseVNode("input",{id:"banner-hidebanner-button",type:"checkbox","onUpdate:modelValue":t[1]||(t[1]=l=>e.settings.banner.hidebanner_button=l)},null,512),[[vModelCheckbox,e.settings.banner.hidebanner_button]]),t[19]||(t[19]=createBaseVNode("label",{for:"banner-hidebanner-button"},"Hide banner button",-1))]),createBaseVNode("div",_hoisted_7$8,[withDirectives(createBaseVNode("input",{id:"banner-background-color",type:"color","onUpdate:modelValue":t[2]||(t[2]=l=>e.settings.banner.color=l)},null,512),[[vModelText,e.settings.banner.color]]),t[20]||(t[20]=createBaseVNode("label",{for:"banner-background-color"},"Background color",-1))])]),createBaseVNode("div",_hoisted_8$8,[createBaseVNode("div",_hoisted_9$8,[t[25]||(t[25]=createBaseVNode("label",{for:"banner-action"},"Action",-1)),withDirectives(createBaseVNode("select",{id:"banner-action","onUpdate:modelValue":t[3]||(t[3]=l=>e.settings.banner.action=l),onChange:t[4]||(t[4]=(...l)=>r.onActionChange&&r.onActionChange(...l))},[t[21]||(t[21]=createBaseVNode("option",null,"createNewWork",-1)),t[22]||(t[22]=createBaseVNode("option",null,"display",-1)),e.settings.general.connection.type.indexOf("dx")===-1?(openBlock(),createElementBlock("option",_hoisted_10$8," getNextWork ")):createCommentVNode("",!0),t[23]||(t[23]=createBaseVNode("option",null,"openAssignment",-1)),e.settings.general.connection.type==="mashup"?(openBlock(),createElementBlock("option",_hoisted_11$8," openWorkItem ")):createCommentVNode("",!0),t[24]||(t[24]=createBaseVNode("option",null,"openWorkByHandle",-1))],544),[[vModelSelect,e.settings.banner.action]])]),e.settings.banner.action!=="createNewWork"&&e.settings.banner.action!=="getNextWork"?(openBlock(),createElementBlock("div",_hoisted_12$8,[t[27]||(t[27]=createBaseVNode("label",{for:"banner-actionparam"},"Action parameter",-1)),e.settings.general.connection.type.indexOf("dx")===-1||e.settings.banner.action!=="display"?withDirectives((openBlock(),createElementBlock("input",{key:0,id:"banner-actionparam",type:"text","onUpdate:modelValue":t[5]||(t[5]=l=>e.settings.banner.actionparam=l)},null,512)),[[vModelText,e.settings.banner.actionparam]]):withDirectives((openBlock(),createElementBlock("select",{key:1,id:"banner-action","onUpdate:modelValue":t[6]||(t[6]=l=>e.settings.banner.actionparam=l)},t[26]||(t[26]=[createBaseVNode("option",{value:"workList",selected:""},"Show the worklist",-1),createBaseVNode("option",{value:"taskList"},"Show a tasklist",-1),createBaseVNode("option",{value:"dataView"},"Display a data view",-1)]),512)),[[vModelSelect,e.settings.banner.actionparam]])])):createCommentVNode("",!0),e.settings.banner.action==="createNewWork"||e.settings.general.connection.type.indexOf("dx")===-1&&e.settings.banner.action==="display"?(openBlock(),createElementBlock("div",_hoisted_13$8,[t[28]||(t[28]=createBaseVNode("label",{for:"banner-objclass"},"Classname",-1)),withDirectives(createBaseVNode("input",{id:"banner-objclass",type:"text","onUpdate:modelValue":t[7]||(t[7]=l=>e.settings.banner.objclass=l)},null,512),[[vModelText,e.settings.banner.objclass]])])):createCommentVNode("",!0),e.settings.general.connection.type.indexOf("dx")===0&&e.settings.banner.action==="display"?(openBlock(),createElementBlock("div",_hoisted_14$8,[t[29]||(t[29]=createBaseVNode("label",{for:"banner-heading"},"Heading",-1)),withDirectives(createBaseVNode("input",{id:"banner-heading",type:"text","onUpdate:modelValue":t[8]||(t[8]=l=>e.settings.banner.heading=l)},null,512),[[vModelText,e.settings.banner.heading]])])):createCommentVNode("",!0),e.settings.general.connection.type==="mashup"&&e.settings.banner.action==="createNewWork"?(openBlock(),createElementBlock("div",_hoisted_15$8,[t[30]||(t[30]=createBaseVNode("label",{for:"banner-startcase"},"Start case",-1)),withDirectives(createBaseVNode("input",{id:"banner-startcase",type:"text","onUpdate:modelValue":t[9]||(t[9]=l=>e.settings.banner.startcase=l)},null,512),[[vModelText,e.settings.banner.startcase]])])):createCommentVNode("",!0),createBaseVNode("div",_hoisted_16$8,[t[31]||(t[31]=createBaseVNode("label",{for:"banner-url"},"URL",-1)),withDirectives(createBaseVNode("input",{id:"banner-url",type:"text","onUpdate:modelValue":t[10]||(t[10]=l=>e.settings.banner.url=l)},null,512),[[vModelText,e.settings.banner.url]])]),e.settings.general.connection.type!=="launchpad"?(openBlock(),createElementBlock("div",_hoisted_17$8,[t[32]||(t[32]=createBaseVNode("label",{for:"banner-application"},"Application name / alias",-1)),withDirectives(createBaseVNode("input",{id:"banner-application",type:"text","onUpdate:modelValue":t[11]||(t[11]=l=>e.settings.banner.application=l)},null,512),[[vModelText,e.settings.banner.application]])])):createCommentVNode("",!0),e.settings.general.connection.type==="mashup"?(openBlock(),createElementBlock("div",_hoisted_18$8,[t[33]||(t[33]=createBaseVNode("label",{for:"banner-channelid"},"Channel ID",-1)),withDirectives(createBaseVNode("input",{id:"banner-channelid",type:"text","onUpdate:modelValue":t[12]||(t[12]=l=>e.settings.banner.channelid=l)},null,512),[[vModelText,e.settings.banner.channelid]])])):createCommentVNode("",!0),e.settings.general.connection.type==="mashup"?(openBlock(),createElementBlock("div",_hoisted_19$8,[t[34]||(t[34]=createBaseVNode("label",{for:"banner-tenantid"},"Tenant ID",-1)),withDirectives(createBaseVNode("input",{id:"banner-tenantid",type:"text","onUpdate:modelValue":t[13]||(t[13]=l=>e.settings.banner.tenantid=l)},null,512),[[vModelText,e.settings.banner.tenantid]])])):createCommentVNode("",!0),e.settings.general.connection.type.startsWith("embedui")?(openBlock(),createElementBlock("div",_hoisted_20$8,[t[38]||(t[38]=createBaseVNode("label",{for:"banner-pagetemplate"},"Page Template",-1)),withDirectives(createBaseVNode("select",{id:"banner-pagetemplate","onUpdate:modelValue":t[14]||(t[14]=l=>e.settings.banner.pageTemplate=l)},[t[35]||(t[35]=createBaseVNode("option",{value:"full"},"Full case page",-1)),t[36]||(t[36]=createBaseVNode("option",{value:"assignment",selected:""},"Assignment only",-1)),t[37]||(t[37]=createBaseVNode("option",{value:"assignmentWithStages"}," Assignment with stages ",-1)),e.settings.general.connection.type==="embedui2"||e.settings.general.connection.type==="embedui3"?(openBlock(),createElementBlock("option",_hoisted_21$8," Simplified assignment ")):createCommentVNode("",!0)],512),[[vModelSelect,e.settings.banner.pageTemplate]])])):createCommentVNode("",!0),e.settings.general.connection.type==="mashup"?(openBlock(),createElementBlock("div",_hoisted_22$8,[withDirectives(createBaseVNode("input",{id:"banner-dataretained",type:"checkbox","onUpdate:modelValue":t[15]||(t[15]=l=>e.settings.banner.dataretained=l)},null,512),[[vModelCheckbox,e.settings.banner.dataretained]]),t[39]||(t[39]=createBaseVNode("label",{class:"width-auto",for:"banner-dataretained"},"Retain state on reload",-1))])):createCommentVNode("",!0),e.settings.general.connection.type.startsWith("embedui")?(openBlock(),createElementBlock("div",_hoisted_23$8,[withDirectives(createBaseVNode("input",{id:"banner-hideassignmentheader",type:"checkbox","onUpdate:modelValue":t[16]||(t[16]=l=>e.settings.banner.hideassignmentheader=l)},null,512),[[vModelCheckbox,e.settings.banner.hideassignmentheader]]),t[40]||(t[40]=createBaseVNode("label",{class:"width-auto",for:"banner-hideassignmentheader"},"Hide assignment header",-1))])):createCommentVNode("",!0)]),createBaseVNode("div",_hoisted_24$4,[createBaseVNode("div",_hoisted_25$3,[t[41]||(t[41]=createBaseVNode("label",{for:"banner-extraparam"},"Extra parameters (for example 'key1=value1,key2=value2')",-1)),withDirectives(createBaseVNode("textarea",{id:"banner-extraparam","onUpdate:modelValue":t[17]||(t[17]=l=>e.settings.banner.extraparam=l)},null,512),[[vModelText,e.settings.banner.extraparam]])])])])])])}const BannerSettings=_export_sfc(_sfc_main$b,[["render",_sfc_render$b]]),_sfc_main$a={data(){return mainconfig},methods:{onActionChange(){this.settings.general.connection.type.indexOf("dx")===-1||this.settings.kmhelp.action!=="display"?this.settings.kmhelp.actionparam="":this.settings.kmhelp.actionparam="workList"}}},_hoisted_1$8={class:"container-transparent"},_hoisted_2$8={class:"container"},_hoisted_3$7={class:"body"},_hoisted_4$7={class:"layout-labels-top layout-inline-grid-double"},_hoisted_5$7={class:"field-item"},_hoisted_6$7={key:0},_hoisted_7$7={key:1},_hoisted_8$7={key:0,class:"field-item"},_hoisted_9$7={key:1,class:"field-item"},_hoisted_10$7={key:2,class:"field-item"},_hoisted_11$7={key:3,class:"field-item"},_hoisted_12$7={class:"field-item"},_hoisted_13$7={key:4,class:"field-item"},_hoisted_14$7={key:5,class:"field-item"},_hoisted_15$7={key:6,class:"field-item"},_hoisted_16$7={key:7,class:"field-item"},_hoisted_17$7={key:8,class:"field-item"},_hoisted_18$7={key:9,class:"field-item"},_hoisted_19$7={key:0,value:"simplifiedAssignment"},_hoisted_20$7={key:10,class:"field-item field-checkbox"},_hoisted_21$7={key:11,class:"field-item field-checkbox"},_hoisted_22$7={class:"layout-labels-top"},_hoisted_23$7={class:"field-item"};function _sfc_render$a(e,t,n,o,s,r){return openBlock(),createElementBlock("div",_hoisted_1$8,[t[40]||(t[40]=createBaseVNode("h2",null,"Knowledge Management",-1)),t[41]||(t[41]=createBaseVNode("p",null,` Configuration of the mashup used for Knowledge Management and displayed when clicking on the "Help" link in the header. Enter an empty 'URL' to disable this functionality. `,-1)),createBaseVNode("div",_hoisted_2$8,[createBaseVNode("div",_hoisted_3$7,[createBaseVNode("div",_hoisted_4$7,[createBaseVNode("div",_hoisted_5$7,[t[21]||(t[21]=createBaseVNode("label",{for:"kmhelp-action"},"Action",-1)),withDirectives(createBaseVNode("select",{id:"kmhelp-action","onUpdate:modelValue":t[0]||(t[0]=l=>e.settings.kmhelp.action=l),onChange:t[1]||(t[1]=(...l)=>r.onActionChange&&r.onActionChange(...l))},[t[17]||(t[17]=createBaseVNode("option",null,"createNewWork",-1)),t[18]||(t[18]=createBaseVNode("option",null,"display",-1)),e.settings.general.connection.type.indexOf("dx")===-1?(openBlock(),createElementBlock("option",_hoisted_6$7," getNextWork ")):createCommentVNode("",!0),t[19]||(t[19]=createBaseVNode("option",null,"openAssignment",-1)),e.settings.general.connection.type==="mashup"?(openBlock(),createElementBlock("option",_hoisted_7$7," openWorkItem ")):createCommentVNode("",!0),t[20]||(t[20]=createBaseVNode("option",null,"openWorkByHandle",-1))],544),[[vModelSelect,e.settings.kmhelp.action]])]),e.settings.kmhelp.action!=="createNewWork"&&e.settings.kmhelp.action!=="getNextWork"?(openBlock(),createElementBlock("div",_hoisted_8$7,[t[23]||(t[23]=createBaseVNode("label",{for:"kmhelp-actionparam"},"Action parameter",-1)),e.settings.general.connection.type.indexOf("dx")===-1||e.settings.kmhelp.action!=="display"?withDirectives((openBlock(),createElementBlock("input",{key:0,id:"kmhelp-actionparam",type:"text","onUpdate:modelValue":t[2]||(t[2]=l=>e.settings.kmhelp.actionparam=l)},null,512)),[[vModelText,e.settings.kmhelp.actionparam]]):withDirectives((openBlock(),createElementBlock("select",{key:1,id:"kmhelp-action","onUpdate:modelValue":t[3]||(t[3]=l=>e.settings.kmhelp.actionparam=l)},t[22]||(t[22]=[createBaseVNode("option",{value:"workList",selected:""},"Show the worklist",-1),createBaseVNode("option",{value:"taskList"},"Show a tasklist",-1),createBaseVNode("option",{value:"dataView"},"Display a data view",-1)]),512)),[[vModelSelect,e.settings.kmhelp.actionparam]])])):createCommentVNode("",!0),e.settings.kmhelp.action==="createNewWork"||e.settings.general.connection.type.indexOf("dx")===-1&&e.settings.kmhelp.action==="display"?(openBlock(),createElementBlock("div",_hoisted_9$7,[t[24]||(t[24]=createBaseVNode("label",{for:"kmhelp-objclass"},"Classname",-1)),withDirectives(createBaseVNode("input",{id:"kmhelp-objclass",type:"text","onUpdate:modelValue":t[4]||(t[4]=l=>e.settings.kmhelp.objclass=l)},null,512),[[vModelText,e.settings.kmhelp.objclass]])])):createCommentVNode("",!0),e.settings.general.connection.type.indexOf("dx")===0&&e.settings.kmhelp.action==="display"?(openBlock(),createElementBlock("div",_hoisted_10$7,[t[25]||(t[25]=createBaseVNode("label",{for:"kmhelp-heading"},"Heading",-1)),withDirectives(createBaseVNode("input",{id:"kmhelp-heading",type:"text","onUpdate:modelValue":t[5]||(t[5]=l=>e.settings.kmhelp.heading=l)},null,512),[[vModelText,e.settings.kmhelp.heading]])])):createCommentVNode("",!0),e.settings.general.connection.type==="mashup"&&e.settings.kmhelp.action==="createNewWork"?(openBlock(),createElementBlock("div",_hoisted_11$7,[t[26]||(t[26]=createBaseVNode("label",{for:"kmhelp-startcase"},"Start case",-1)),withDirectives(createBaseVNode("input",{id:"kmhelp-startcase",type:"text","onUpdate:modelValue":t[6]||(t[6]=l=>e.settings.kmhelp.startcase=l)},null,512),[[vModelText,e.settings.kmhelp.startcase]])])):createCommentVNode("",!0),createBaseVNode("div",_hoisted_12$7,[t[27]||(t[27]=createBaseVNode("label",{for:"kmhelp-url"},"URL",-1)),withDirectives(createBaseVNode("input",{id:"kmhelp-url",type:"text","onUpdate:modelValue":t[7]||(t[7]=l=>e.settings.kmhelp.url=l)},null,512),[[vModelText,e.settings.kmhelp.url]])]),e.settings.general.connection.type!=="launchpad"?(openBlock(),createElementBlock("div",_hoisted_13$7,[t[28]||(t[28]=createBaseVNode("label",{for:"kmhelp-application"},"Application name / alias",-1)),withDirectives(createBaseVNode("input",{id:"kmhelp-application",type:"text","onUpdate:modelValue":t[8]||(t[8]=l=>e.settings.kmhelp.application=l)},null,512),[[vModelText,e.settings.kmhelp.application]])])):createCommentVNode("",!0),e.settings.general.connection.type!=="launchpad"?(openBlock(),createElementBlock("div",_hoisted_14$7,[t[29]||(t[29]=createBaseVNode("label",{for:"kmhelp-username"},"Username (for unauthenticated access)",-1)),withDirectives(createBaseVNode("input",{id:"kmhelp-username",type:"text","onUpdate:modelValue":t[9]||(t[9]=l=>e.settings.kmhelp.username=l)},null,512),[[vModelText,e.settings.kmhelp.username]])])):createCommentVNode("",!0),e.settings.general.connection.type!=="launchpad"?(openBlock(),createElementBlock("div",_hoisted_15$7,[t[30]||(t[30]=createBaseVNode("label",{for:"kmhelp-password"},"Password (for unauthenticated access)",-1)),withDirectives(createBaseVNode("input",{id:"kmhelp-password",type:"password","onUpdate:modelValue":t[10]||(t[10]=l=>e.settings.kmhelp.password=l)},null,512),[[vModelText,e.settings.kmhelp.password]])])):createCommentVNode("",!0),e.settings.general.connection.type==="mashup"?(openBlock(),createElementBlock("div",_hoisted_16$7,[t[31]||(t[31]=createBaseVNode("label",{for:"kmhelp-channelid"},"Channel ID",-1)),withDirectives(createBaseVNode("input",{id:"kmhelp-channelid",type:"text","onUpdate:modelValue":t[11]||(t[11]=l=>e.settings.kmhelp.channelid=l)},null,512),[[vModelText,e.settings.kmhelp.channelid]])])):createCommentVNode("",!0),e.settings.general.connection.type==="mashup"?(openBlock(),createElementBlock("div",_hoisted_17$7,[t[32]||(t[32]=createBaseVNode("label",{for:"kmhelp-tenantid"},"Tenant ID",-1)),withDirectives(createBaseVNode("input",{id:"kmhelp-tenantid",type:"text","onUpdate:modelValue":t[12]||(t[12]=l=>e.settings.kmhelp.tenantid=l)},null,512),[[vModelText,e.settings.kmhelp.tenantid]])])):createCommentVNode("",!0),e.settings.general.connection.type.startsWith("embedui")?(openBlock(),createElementBlock("div",_hoisted_18$7,[t[36]||(t[36]=createBaseVNode("label",{for:"kmhelp-pagetemplate"},"Page Template",-1)),withDirectives(createBaseVNode("select",{id:"kmhelp-pagetemplate","onUpdate:modelValue":t[13]||(t[13]=l=>e.settings.kmhelp.pageTemplate=l)},[t[33]||(t[33]=createBaseVNode("option",{value:"full"},"Full case page",-1)),t[34]||(t[34]=createBaseVNode("option",{value:"assignment",selected:""},"Assignment only",-1)),t[35]||(t[35]=createBaseVNode("option",{value:"assignmentWithStages"}," Assignment with stages ",-1)),e.settings.general.connection.type==="embedui2"||e.settings.general.connection.type==="embedui3"?(openBlock(),createElementBlock("option",_hoisted_19$7," Simplified assignment ")):createCommentVNode("",!0)],512),[[vModelSelect,e.settings.kmhelp.pageTemplate]])])):createCommentVNode("",!0),e.settings.general.connection.type==="mashup"?(openBlock(),createElementBlock("div",_hoisted_20$7,[withDirectives(createBaseVNode("input",{id:"kmhelp-dataretained",type:"checkbox","onUpdate:modelValue":t[14]||(t[14]=l=>e.settings.kmhelp.dataretained=l)},null,512),[[vModelCheckbox,e.settings.kmhelp.dataretained]]),t[37]||(t[37]=createBaseVNode("label",{class:"width-auto",for:"kmhelp-dataretained"},"Retain state on reload",-1))])):createCommentVNode("",!0),e.settings.general.connection.type.startsWith("embedui")?(openBlock(),createElementBlock("div",_hoisted_21$7,[withDirectives(createBaseVNode("input",{id:"kmhelp-hideassignmentheader",type:"checkbox","onUpdate:modelValue":t[15]||(t[15]=l=>e.settings.kmhelp.hideassignmentheader=l)},null,512),[[vModelCheckbox,e.settings.kmhelp.hideassignmentheader]]),t[38]||(t[38]=createBaseVNode("label",{class:"width-auto",for:"kmhelp-hideassignmentheader"},"Hide assignment header",-1))])):createCommentVNode("",!0)]),createBaseVNode("div",_hoisted_22$7,[createBaseVNode("div",_hoisted_23$7,[t[39]||(t[39]=createBaseVNode("label",{for:"kmhelp-extraparam"},"Extra parameters (for example 'key1=value1,key2=value2')",-1)),withDirectives(createBaseVNode("textarea",{id:"kmhelp-extraparam","onUpdate:modelValue":t[16]||(t[16]=l=>e.settings.kmhelp.extraparam=l)},null,512),[[vModelText,e.settings.kmhelp.extraparam]])])])])])])}const KMHelpSettings=_export_sfc(_sfc_main$a,[["render",_sfc_render$a]]),_sfc_main$9={data(){return mainconfig},methods:{onActionChange(){this.settings.general.connection.type.indexOf("dx")===-1||this.settings.todo.action!=="display"?this.settings.todo.actionparam="":this.settings.todo.actionparam="workList"}}},_hoisted_1$7={class:"container-transparent"},_hoisted_2$7={class:"container"},_hoisted_3$6={class:"body"},_hoisted_4$6={class:"layout-labels-top layout-inline-grid-double"},_hoisted_5$6={class:"field-item field-checkbox"},_hoisted_6$6={class:"field-item field-checkbox"},_hoisted_7$6={class:"layout-labels-top layout-inline-grid-double"},_hoisted_8$6={class:"field-item"},_hoisted_9$6={key:0},_hoisted_10$6={key:1},_hoisted_11$6={key:0,class:"field-item"},_hoisted_12$6={key:1,class:"field-item"},_hoisted_13$6={key:2,class:"field-item"},_hoisted_14$6={key:3,class:"field-item"},_hoisted_15$6={class:"field-item"},_hoisted_16$6={key:4,class:"field-item"},_hoisted_17$6={key:5,class:"field-item"},_hoisted_18$6={key:6,class:"field-item"},_hoisted_19$6={key:7,class:"field-item"},_hoisted_20$6={key:0,value:"simplifiedAssignment"},_hoisted_21$6={key:8,class:"field-item field-checkbox"},_hoisted_22$6={key:9,class:"field-item field-checkbox"},_hoisted_23$6={class:"layout-labels-top"},_hoisted_24$3={class:"field-item"};function _sfc_render$9(e,t,n,o,s,r){return openBlock(),createElementBlock("div",_hoisted_1$7,[t[40]||(t[40]=createBaseVNode("h2",null,"To Do component",-1)),t[41]||(t[41]=createBaseVNode("p",null," Configuration of the mashup displayed as the To Do list inside the account page. ",-1)),createBaseVNode("div",_hoisted_2$7,[createBaseVNode("div",_hoisted_3$6,[createBaseVNode("div",_hoisted_4$6,[createBaseVNode("div",_hoisted_5$6,[withDirectives(createBaseVNode("input",{id:"todo-hideaccount",type:"checkbox","onUpdate:modelValue":t[0]||(t[0]=l=>e.settings.todo.hideaccount=l)},null,512),[[vModelCheckbox,e.settings.todo.hideaccount]]),t[17]||(t[17]=createBaseVNode("label",{class:"width-auto",for:"todo-hideaccount"},"Hide account picker",-1))]),createBaseVNode("div",_hoisted_6$6,[withDirectives(createBaseVNode("input",{id:"todo-hideaccountdetails",type:"checkbox","onUpdate:modelValue":t[1]||(t[1]=l=>e.settings.todo.hideaccountdetails=l)},null,512),[[vModelCheckbox,e.settings.todo.hideaccountdetails]]),t[18]||(t[18]=createBaseVNode("label",{class:"width-auto",for:"todo-hideaccountdetails"},"Hide account details",-1))])]),createBaseVNode("div",_hoisted_7$6,[createBaseVNode("div",_hoisted_8$6,[t[23]||(t[23]=createBaseVNode("label",{for:"todo-action"},"Action",-1)),withDirectives(createBaseVNode("select",{id:"todo-action","onUpdate:modelValue":t[2]||(t[2]=l=>e.settings.todo.action=l),onChange:t[3]||(t[3]=(...l)=>r.onActionChange&&r.onActionChange(...l))},[t[19]||(t[19]=createBaseVNode("option",null,"createNewWork",-1)),t[20]||(t[20]=createBaseVNode("option",null,"display",-1)),e.settings.general.connection.type.indexOf("dx")===-1?(openBlock(),createElementBlock("option",_hoisted_9$6," getNextWork ")):createCommentVNode("",!0),t[21]||(t[21]=createBaseVNode("option",null,"openAssignment",-1)),e.settings.general.connection.type==="mashup"?(openBlock(),createElementBlock("option",_hoisted_10$6," openWorkItem ")):createCommentVNode("",!0),t[22]||(t[22]=createBaseVNode("option",null,"openWorkByHandle",-1))],544),[[vModelSelect,e.settings.todo.action]])]),e.settings.todo.action!=="createNewWork"&&e.settings.todo.action!=="getNextWork"?(openBlock(),createElementBlock("div",_hoisted_11$6,[t[25]||(t[25]=createBaseVNode("label",{for:"todo-actionparam"},"Action parameter",-1)),e.settings.general.connection.type.indexOf("dx")===-1||e.settings.todo.action!=="display"?withDirectives((openBlock(),createElementBlock("input",{key:0,id:"todo-actionparam",type:"text","onUpdate:modelValue":t[4]||(t[4]=l=>e.settings.todo.actionparam=l)},null,512)),[[vModelText,e.settings.todo.actionparam]]):withDirectives((openBlock(),createElementBlock("select",{key:1,id:"todo-action","onUpdate:modelValue":t[5]||(t[5]=l=>e.settings.todo.actionparam=l)},t[24]||(t[24]=[createBaseVNode("option",{value:"workList",selected:""},"Show the worklist",-1),createBaseVNode("option",{value:"taskList"},"Show a tasklist",-1),createBaseVNode("option",{value:"dataView"},"Display a data view",-1)]),512)),[[vModelSelect,e.settings.todo.actionparam]])])):createCommentVNode("",!0),e.settings.todo.action==="createNewWork"||e.settings.general.connection.type.indexOf("dx")===-1&&e.settings.todo.action==="display"?(openBlock(),createElementBlock("div",_hoisted_12$6,[t[26]||(t[26]=createBaseVNode("label",{for:"todo-objclass"},"Classname",-1)),withDirectives(createBaseVNode("input",{id:"todo-objclass",type:"text","onUpdate:modelValue":t[6]||(t[6]=l=>e.settings.todo.objclass=l)},null,512),[[vModelText,e.settings.todo.objclass]])])):createCommentVNode("",!0),e.settings.general.connection.type.indexOf("dx")===0&&e.settings.todo.action==="display"?(openBlock(),createElementBlock("div",_hoisted_13$6,[t[27]||(t[27]=createBaseVNode("label",{for:"todo-heading"},"Heading",-1)),withDirectives(createBaseVNode("input",{id:"todo-heading",type:"text","onUpdate:modelValue":t[7]||(t[7]=l=>e.settings.todo.heading=l)},null,512),[[vModelText,e.settings.todo.heading]])])):createCommentVNode("",!0),e.settings.general.connection.type==="mashup"&&e.settings.todo.action==="createNewWork"?(openBlock(),createElementBlock("div",_hoisted_14$6,[t[28]||(t[28]=createBaseVNode("label",{for:"todo-startcase"},"Start case",-1)),withDirectives(createBaseVNode("input",{id:"todo-startcase",type:"text","onUpdate:modelValue":t[8]||(t[8]=l=>e.settings.todo.startcase=l)},null,512),[[vModelText,e.settings.todo.startcase]])])):createCommentVNode("",!0),createBaseVNode("div",_hoisted_15$6,[t[29]||(t[29]=createBaseVNode("label",{for:"todo-url"},"URL",-1)),withDirectives(createBaseVNode("input",{id:"todo-url",type:"text","onUpdate:modelValue":t[9]||(t[9]=l=>e.settings.todo.url=l)},null,512),[[vModelText,e.settings.todo.url]])]),e.settings.general.connection.type!=="launchpad"?(openBlock(),createElementBlock("div",_hoisted_16$6,[t[30]||(t[30]=createBaseVNode("label",{for:"todo-application"},"Application name / alias",-1)),withDirectives(createBaseVNode("input",{id:"todo-application",type:"text","onUpdate:modelValue":t[10]||(t[10]=l=>e.settings.todo.application=l)},null,512),[[vModelText,e.settings.todo.application]])])):createCommentVNode("",!0),e.settings.general.connection.type==="mashup"?(openBlock(),createElementBlock("div",_hoisted_17$6,[t[31]||(t[31]=createBaseVNode("label",{for:"todo-channelid"},"Channel ID",-1)),withDirectives(createBaseVNode("input",{id:"todo-channelid",type:"text","onUpdate:modelValue":t[11]||(t[11]=l=>e.settings.todo.channelid=l)},null,512),[[vModelText,e.settings.todo.channelid]])])):createCommentVNode("",!0),e.settings.general.connection.type==="mashup"?(openBlock(),createElementBlock("div",_hoisted_18$6,[t[32]||(t[32]=createBaseVNode("label",{for:"todo-tenantid"},"Tenant ID",-1)),withDirectives(createBaseVNode("input",{id:"todo-tenantid",type:"text","onUpdate:modelValue":t[12]||(t[12]=l=>e.settings.todo.tenantid=l)},null,512),[[vModelText,e.settings.todo.tenantid]])])):createCommentVNode("",!0),e.settings.general.connection.type.startsWith("embedui")?(openBlock(),createElementBlock("div",_hoisted_19$6,[t[36]||(t[36]=createBaseVNode("label",{for:"todo-pagetemplate"},"Page Template",-1)),withDirectives(createBaseVNode("select",{id:"todo-pagetemplate","onUpdate:modelValue":t[13]||(t[13]=l=>e.settings.todo.pageTemplate=l)},[t[33]||(t[33]=createBaseVNode("option",{value:"full"},"Full case page",-1)),t[34]||(t[34]=createBaseVNode("option",{value:"assignment",selected:""},"Assignment only",-1)),t[35]||(t[35]=createBaseVNode("option",{value:"assignmentWithStages"}," Assignment with stages ",-1)),e.settings.general.connection.type==="embedui2"||e.settings.general.connection.type==="embedui3"?(openBlock(),createElementBlock("option",_hoisted_20$6," Simplified assignment ")):createCommentVNode("",!0)],512),[[vModelSelect,e.settings.todo.pageTemplate]])])):createCommentVNode("",!0),e.settings.general.connection.type==="mashup"?(openBlock(),createElementBlock("div",_hoisted_21$6,[withDirectives(createBaseVNode("input",{id:"todo-dataretained",type:"checkbox","onUpdate:modelValue":t[14]||(t[14]=l=>e.settings.todo.dataretained=l)},null,512),[[vModelCheckbox,e.settings.todo.dataretained]]),t[37]||(t[37]=createBaseVNode("label",{class:"width-auto",for:"todo-dataretained"},"Retain state on reload",-1))])):createCommentVNode("",!0),e.settings.general.connection.type.startsWith("embedui")?(openBlock(),createElementBlock("div",_hoisted_22$6,[withDirectives(createBaseVNode("input",{id:"todo-hideassignmentheader",type:"checkbox","onUpdate:modelValue":t[15]||(t[15]=l=>e.settings.todo.hideassignmentheader=l)},null,512),[[vModelCheckbox,e.settings.todo.hideassignmentheader]]),t[38]||(t[38]=createBaseVNode("label",{class:"width-auto",for:"todo-hideassignmentheader"},"Hide assignment header",-1))])):createCommentVNode("",!0)]),createBaseVNode("div",_hoisted_23$6,[createBaseVNode("div",_hoisted_24$3,[t[39]||(t[39]=createBaseVNode("label",{for:"todo-extraparam"},"Extra parameters (for example 'key1=value1,key2=value2')",-1)),withDirectives(createBaseVNode("textarea",{id:"todo-extraparam","onUpdate:modelValue":t[16]||(t[16]=l=>e.settings.todo.extraparam=l)},null,512),[[vModelText,e.settings.todo.extraparam]])])])])])])}const ToDoSettings=_export_sfc(_sfc_main$9,[["render",_sfc_render$9]]),_sfc_main$8={data(){return mainconfig},methods:{onActionChange(){this.settings.general.connection.type.indexOf("dx")===-1||this.settings.activity.action!=="display"?this.settings.activity.actionparam="":this.settings.activity.actionparam="workList"}}},_hoisted_1$6={class:"container-transparent"},_hoisted_2$6={class:"container"},_hoisted_3$5={class:"body"},_hoisted_4$5={class:"layout-labels-top layout-inline-grid-double"},_hoisted_5$5={class:"field-item field-checkbox"},_hoisted_6$5={class:"layout-labels-top layout-inline-grid-double"},_hoisted_7$5={class:"field-item"},_hoisted_8$5={key:0},_hoisted_9$5={key:1},_hoisted_10$5={key:0,class:"field-item"},_hoisted_11$5={key:1,class:"field-item"},_hoisted_12$5={key:2,class:"field-item"},_hoisted_13$5={key:3,class:"field-item"},_hoisted_14$5={class:"field-item"},_hoisted_15$5={key:4,class:"field-item"},_hoisted_16$5={key:5,class:"field-item"},_hoisted_17$5={key:6,class:"field-item"},_hoisted_18$5={key:7,class:"field-item"},_hoisted_19$5={key:0,value:"simplifiedAssignment"},_hoisted_20$5={key:8,class:"field-item field-checkbox"},_hoisted_21$5={key:9,class:"field-item field-checkbox"},_hoisted_22$5={class:"layout-labels-top"},_hoisted_23$5={class:"field-item"};function _sfc_render$8(e,t,n,o,s,r){return openBlock(),createElementBlock("div",_hoisted_1$6,[t[38]||(t[38]=createBaseVNode("h2",null,"Activity component",-1)),t[39]||(t[39]=createBaseVNode("p",null," Configuration of the mashup displayed as the Activity list inside the account page. If the url is not configured, a static set of events is displayed - to hide the activity feed, check the setting hide activity feed below. ",-1)),createBaseVNode("div",_hoisted_2$6,[createBaseVNode("div",_hoisted_3$5,[createBaseVNode("div",_hoisted_4$5,[createBaseVNode("div",_hoisted_5$5,[withDirectives(createBaseVNode("input",{id:"todo-hideactivity",type:"checkbox","onUpdate:modelValue":t[0]||(t[0]=l=>e.settings.todo.hideactivity=l)},null,512),[[vModelCheckbox,e.settings.todo.hideactivity]]),t[16]||(t[16]=createBaseVNode("label",{class:"width-auto",for:"todo-hideactivity"},"Hide activity feed",-1))])]),createBaseVNode("div",_hoisted_6$5,[createBaseVNode("div",_hoisted_7$5,[t[21]||(t[21]=createBaseVNode("label",{for:"activity-action"},"Action",-1)),withDirectives(createBaseVNode("select",{id:"activity-action","onUpdate:modelValue":t[1]||(t[1]=l=>e.settings.activity.action=l),onChange:t[2]||(t[2]=(...l)=>r.onActionChange&&r.onActionChange(...l))},[t[17]||(t[17]=createBaseVNode("option",null,"createNewWork",-1)),t[18]||(t[18]=createBaseVNode("option",null,"display",-1)),e.settings.general.connection.type.indexOf("dx")===-1?(openBlock(),createElementBlock("option",_hoisted_8$5," getNextWork ")):createCommentVNode("",!0),t[19]||(t[19]=createBaseVNode("option",null,"openAssignment",-1)),e.settings.general.connection.type==="mashup"?(openBlock(),createElementBlock("option",_hoisted_9$5," openWorkItem ")):createCommentVNode("",!0),t[20]||(t[20]=createBaseVNode("option",null,"openWorkByHandle",-1))],544),[[vModelSelect,e.settings.activity.action]])]),e.settings.activity.action!=="createNewWork"&&e.settings.activity.action!=="getNextWork"?(openBlock(),createElementBlock("div",_hoisted_10$5,[t[23]||(t[23]=createBaseVNode("label",{for:"activity-actionparam"},"Action parameter",-1)),e.settings.general.connection.type.indexOf("dx")===-1||e.settings.activity.action!=="display"?withDirectives((openBlock(),createElementBlock("input",{key:0,id:"activity-actionparam",type:"text","onUpdate:modelValue":t[3]||(t[3]=l=>e.settings.activity.actionparam=l)},null,512)),[[vModelText,e.settings.activity.actionparam]]):withDirectives((openBlock(),createElementBlock("select",{key:1,id:"activity-action","onUpdate:modelValue":t[4]||(t[4]=l=>e.settings.activity.actionparam=l)},t[22]||(t[22]=[createBaseVNode("option",{value:"workList",selected:""},"Show the worklist",-1),createBaseVNode("option",{value:"taskList"},"Show a tasklist",-1),createBaseVNode("option",{value:"dataView"},"Display a data view",-1)]),512)),[[vModelSelect,e.settings.activity.actionparam]])])):createCommentVNode("",!0),e.settings.activity.action==="createNewWork"||e.settings.general.connection.type.indexOf("dx")===-1&&e.settings.activity.action==="display"?(openBlock(),createElementBlock("div",_hoisted_11$5,[t[24]||(t[24]=createBaseVNode("label",{for:"activity-objclass"},"Classname",-1)),withDirectives(createBaseVNode("input",{id:"activity-objclass",type:"text","onUpdate:modelValue":t[5]||(t[5]=l=>e.settings.activity.objclass=l)},null,512),[[vModelText,e.settings.activity.objclass]])])):createCommentVNode("",!0),e.settings.general.connection.type.indexOf("dx")===0&&e.settings.activity.action==="display"?(openBlock(),createElementBlock("div",_hoisted_12$5,[t[25]||(t[25]=createBaseVNode("label",{for:"activity-heading"},"Heading",-1)),withDirectives(createBaseVNode("input",{id:"activity-heading",type:"text","onUpdate:modelValue":t[6]||(t[6]=l=>e.settings.activity.heading=l)},null,512),[[vModelText,e.settings.activity.heading]])])):createCommentVNode("",!0),e.settings.general.connection.type==="mashup"&&e.settings.activity.action==="createNewWork"?(openBlock(),createElementBlock("div",_hoisted_13$5,[t[26]||(t[26]=createBaseVNode("label",{for:"activity-startcase"},"Start case",-1)),withDirectives(createBaseVNode("input",{id:"activity-startcase",type:"text","onUpdate:modelValue":t[7]||(t[7]=l=>e.settings.activity.startcase=l)},null,512),[[vModelText,e.settings.activity.startcase]])])):createCommentVNode("",!0),createBaseVNode("div",_hoisted_14$5,[t[27]||(t[27]=createBaseVNode("label",{for:"activity-url"},"URL",-1)),withDirectives(createBaseVNode("input",{id:"activity-url",type:"text","onUpdate:modelValue":t[8]||(t[8]=l=>e.settings.activity.url=l)},null,512),[[vModelText,e.settings.activity.url]])]),e.settings.general.connection.type!=="launchpad"?(openBlock(),createElementBlock("div",_hoisted_15$5,[t[28]||(t[28]=createBaseVNode("label",{for:"activity-application"},"Application name / alias",-1)),withDirectives(createBaseVNode("input",{id:"activity-application",type:"text","onUpdate:modelValue":t[9]||(t[9]=l=>e.settings.activity.application=l)},null,512),[[vModelText,e.settings.activity.application]])])):createCommentVNode("",!0),e.settings.general.connection.type==="mashup"?(openBlock(),createElementBlock("div",_hoisted_16$5,[t[29]||(t[29]=createBaseVNode("label",{for:"activity-channelid"},"Channel ID",-1)),withDirectives(createBaseVNode("input",{id:"activity-channelid",type:"text","onUpdate:modelValue":t[10]||(t[10]=l=>e.settings.activity.channelid=l)},null,512),[[vModelText,e.settings.activity.channelid]])])):createCommentVNode("",!0),e.settings.general.connection.type==="mashup"?(openBlock(),createElementBlock("div",_hoisted_17$5,[t[30]||(t[30]=createBaseVNode("label",{for:"activity-tenantid"},"Tenant ID",-1)),withDirectives(createBaseVNode("input",{id:"activity-tenantid",type:"text","onUpdate:modelValue":t[11]||(t[11]=l=>e.settings.activity.tenantid=l)},null,512),[[vModelText,e.settings.activity.tenantid]])])):createCommentVNode("",!0),e.settings.general.connection.type.startsWith("embedui")?(openBlock(),createElementBlock("div",_hoisted_18$5,[t[34]||(t[34]=createBaseVNode("label",{for:"activity-pagetemplate"},"Page Template",-1)),withDirectives(createBaseVNode("select",{id:"activity-pagetemplate","onUpdate:modelValue":t[12]||(t[12]=l=>e.settings.activity.pageTemplate=l)},[t[31]||(t[31]=createBaseVNode("option",{value:"full"},"Full case page",-1)),t[32]||(t[32]=createBaseVNode("option",{value:"assignment",selected:""},"Assignment only",-1)),t[33]||(t[33]=createBaseVNode("option",{value:"assignmentWithStages"}," Assignment with stages ",-1)),e.settings.general.connection.type==="embedui2"||e.settings.general.connection.type==="embedui3"?(openBlock(),createElementBlock("option",_hoisted_19$5," Simplified assignment ")):createCommentVNode("",!0)],512),[[vModelSelect,e.settings.activity.pageTemplate]])])):createCommentVNode("",!0),e.settings.general.connection.type==="mashup"?(openBlock(),createElementBlock("div",_hoisted_20$5,[withDirectives(createBaseVNode("input",{id:"activity-dataretained",type:"checkbox","onUpdate:modelValue":t[13]||(t[13]=l=>e.settings.activity.dataretained=l)},null,512),[[vModelCheckbox,e.settings.activity.dataretained]]),t[35]||(t[35]=createBaseVNode("label",{class:"width-auto",for:"activity-dataretained"},"Retain state on reload",-1))])):createCommentVNode("",!0),e.settings.general.connection.type.startsWith("embedui")?(openBlock(),createElementBlock("div",_hoisted_21$5,[withDirectives(createBaseVNode("input",{id:"activity-hideassignmentheader",type:"checkbox","onUpdate:modelValue":t[14]||(t[14]=l=>e.settings.activity.hideassignmentheader=l)},null,512),[[vModelCheckbox,e.settings.activity.hideassignmentheader]]),t[36]||(t[36]=createBaseVNode("label",{class:"width-auto",for:"activity-hideassignmentheader"},"Hide assignment header",-1))])):createCommentVNode("",!0)]),createBaseVNode("div",_hoisted_22$5,[createBaseVNode("div",_hoisted_23$5,[t[37]||(t[37]=createBaseVNode("label",{for:"activity-extraparam"},"Extra parameters (for example 'key1=value1,key2=value2')",-1)),withDirectives(createBaseVNode("textarea",{id:"activity-extraparam","onUpdate:modelValue":t[15]||(t[15]=l=>e.settings.activity.extraparam=l)},null,512),[[vModelText,e.settings.activity.extraparam]])])])])])])}const ActivitySettings=_export_sfc(_sfc_main$8,[["render",_sfc_render$8]]),_sfc_main$7={data(){return mainconfig},methods:{onActionChange(){this.settings.general.connection.type.indexOf("dx")===-1||this.settings.homeheroaction.action!=="display"?this.settings.homeheroaction.actionparam="":this.settings.homeheroaction.actionparam="workList"}}},_hoisted_1$5={class:"container-transparent"},_hoisted_2$5={class:"container"},_hoisted_3$4={class:"body"},_hoisted_4$4={class:"layout-labels-top layout-inline-grid-double"},_hoisted_5$4={class:"field-item"},_hoisted_6$4={key:0},_hoisted_7$4={key:1},_hoisted_8$4={key:0,class:"field-item"},_hoisted_9$4={key:1,class:"field-item"},_hoisted_10$4={key:2,class:"field-item"},_hoisted_11$4={key:3,class:"field-item"},_hoisted_12$4={class:"field-item"},_hoisted_13$4={key:4,class:"field-item"},_hoisted_14$4={key:5,class:"field-item"},_hoisted_15$4={key:6,class:"field-item"},_hoisted_16$4={key:7,class:"field-item"},_hoisted_17$4={key:8,class:"field-item"},_hoisted_18$4={key:9,class:"field-item"},_hoisted_19$4={key:0,value:"simplifiedAssignment"},_hoisted_20$4={key:10,class:"field-item field-checkbox"},_hoisted_21$4={key:11,class:"field-item field-checkbox"},_hoisted_22$4={class:"layout-labels-top"},_hoisted_23$4={class:"field-item"};function _sfc_render$7(e,t,n,o,s,r){return openBlock(),createElementBlock("div",_hoisted_1$5,[t[40]||(t[40]=createBaseVNode("h2",null,"Home Hero Action",-1)),t[41]||(t[41]=createBaseVNode("p",null,' Configuration of the mashup displayed when clicking on the "Learn more" button inside the Hero placement of the Home page ',-1)),createBaseVNode("div",_hoisted_2$5,[createBaseVNode("div",_hoisted_3$4,[createBaseVNode("div",_hoisted_4$4,[createBaseVNode("div",_hoisted_5$4,[t[21]||(t[21]=createBaseVNode("label",{for:"homeheroaction-action"},"Action",-1)),withDirectives(createBaseVNode("select",{id:"homeheroaction-action","onUpdate:modelValue":t[0]||(t[0]=l=>e.settings.homeheroaction.action=l),onChange:t[1]||(t[1]=(...l)=>r.onActionChange&&r.onActionChange(...l))},[t[17]||(t[17]=createBaseVNode("option",null,"createNewWork",-1)),t[18]||(t[18]=createBaseVNode("option",null,"display",-1)),e.settings.general.connection.type.indexOf("dx")===-1?(openBlock(),createElementBlock("option",_hoisted_6$4," getNextWork ")):createCommentVNode("",!0),t[19]||(t[19]=createBaseVNode("option",null,"openAssignment",-1)),e.settings.general.connection.type==="mashup"?(openBlock(),createElementBlock("option",_hoisted_7$4," openWorkItem ")):createCommentVNode("",!0),t[20]||(t[20]=createBaseVNode("option",null,"openWorkByHandle",-1))],544),[[vModelSelect,e.settings.homeheroaction.action]])]),e.settings.homeheroaction.action!=="createNewWork"&&e.settings.homeheroaction.action!=="getNextWork"?(openBlock(),createElementBlock("div",_hoisted_8$4,[t[23]||(t[23]=createBaseVNode("label",{for:"homeheroaction-actionparam"},"Action parameter",-1)),e.settings.general.connection.type.indexOf("dx")===-1||e.settings.homeheroaction.action!=="display"?withDirectives((openBlock(),createElementBlock("input",{key:0,id:"homeheroaction-actionparam",type:"text","onUpdate:modelValue":t[2]||(t[2]=l=>e.settings.homeheroaction.actionparam=l)},null,512)),[[vModelText,e.settings.homeheroaction.actionparam]]):withDirectives((openBlock(),createElementBlock("select",{key:1,id:"homeheroaction-action","onUpdate:modelValue":t[3]||(t[3]=l=>e.settings.homeheroaction.actionparam=l)},t[22]||(t[22]=[createBaseVNode("option",{value:"workList",selected:""},"Show the worklist",-1),createBaseVNode("option",{value:"taskList"},"Show a tasklist",-1),createBaseVNode("option",{value:"dataView"},"Display a data view",-1)]),512)),[[vModelSelect,e.settings.homeheroaction.actionparam]])])):createCommentVNode("",!0),e.settings.homeheroaction.action==="createNewWork"||e.settings.general.connection.type.indexOf("dx")===-1&&e.settings.homeheroaction.action==="display"?(openBlock(),createElementBlock("div",_hoisted_9$4,[t[24]||(t[24]=createBaseVNode("label",{for:"homeheroaction-objclass"},"Classname",-1)),withDirectives(createBaseVNode("input",{id:"homeheroaction-objclass",type:"text","onUpdate:modelValue":t[4]||(t[4]=l=>e.settings.homeheroaction.objclass=l)},null,512),[[vModelText,e.settings.homeheroaction.objclass]])])):createCommentVNode("",!0),e.settings.general.connection.type.indexOf("dx")===0&&e.settings.homeheroaction.action==="display"?(openBlock(),createElementBlock("div",_hoisted_10$4,[t[25]||(t[25]=createBaseVNode("label",{for:"homeheroaction-heading"},"Heading",-1)),withDirectives(createBaseVNode("input",{id:"homeheroaction-heading",type:"text","onUpdate:modelValue":t[5]||(t[5]=l=>e.settings.homeheroaction.heading=l)},null,512),[[vModelText,e.settings.homeheroaction.heading]])])):createCommentVNode("",!0),e.settings.general.connection.type==="mashup"&&e.settings.homeheroaction.action==="createNewWork"?(openBlock(),createElementBlock("div",_hoisted_11$4,[t[26]||(t[26]=createBaseVNode("label",{for:"homeheroaction-startcase"},"Start case",-1)),withDirectives(createBaseVNode("input",{id:"homeheroaction-startcase",type:"text","onUpdate:modelValue":t[6]||(t[6]=l=>e.settings.homeheroaction.startcase=l)},null,512),[[vModelText,e.settings.homeheroaction.startcase]])])):createCommentVNode("",!0),createBaseVNode("div",_hoisted_12$4,[t[27]||(t[27]=createBaseVNode("label",{for:"homeheroaction-url"},"URL",-1)),withDirectives(createBaseVNode("input",{id:"homeheroaction-url",type:"text","onUpdate:modelValue":t[7]||(t[7]=l=>e.settings.homeheroaction.url=l)},null,512),[[vModelText,e.settings.homeheroaction.url]])]),e.settings.general.connection.type!=="launchpad"?(openBlock(),createElementBlock("div",_hoisted_13$4,[t[28]||(t[28]=createBaseVNode("label",{for:"homeheroaction-application"},"Application name / alias",-1)),withDirectives(createBaseVNode("input",{id:"homeheroaction-application",type:"text","onUpdate:modelValue":t[8]||(t[8]=l=>e.settings.homeheroaction.application=l)},null,512),[[vModelText,e.settings.homeheroaction.application]])])):createCommentVNode("",!0),e.settings.general.connection.type!=="launchpad"?(openBlock(),createElementBlock("div",_hoisted_14$4,[t[29]||(t[29]=createBaseVNode("label",{for:"homeheroaction-pega_userid"},"Pega userid",-1)),withDirectives(createBaseVNode("input",{id:"homeheroaction-pega_userid",type:"text","onUpdate:modelValue":t[9]||(t[9]=l=>e.settings.homeheroaction.pega_userid=l)},null,512),[[vModelText,e.settings.homeheroaction.pega_userid]])])):createCommentVNode("",!0),e.settings.general.connection.type!=="launchpad"?(openBlock(),createElementBlock("div",_hoisted_15$4,[t[30]||(t[30]=createBaseVNode("label",{for:"homeheroaction-pega_pwd"},"Pega password",-1)),withDirectives(createBaseVNode("input",{id:"homeheroaction-pega_pwd",type:"password","onUpdate:modelValue":t[10]||(t[10]=l=>e.settings.homeheroaction.pega_pwd=l)},null,512),[[vModelText,e.settings.homeheroaction.pega_pwd]])])):createCommentVNode("",!0),e.settings.general.connection.type==="mashup"?(openBlock(),createElementBlock("div",_hoisted_16$4,[t[31]||(t[31]=createBaseVNode("label",{for:"homeheroaction-channelid"},"Channel ID",-1)),withDirectives(createBaseVNode("input",{id:"homeheroaction-channelid",type:"text","onUpdate:modelValue":t[11]||(t[11]=l=>e.settings.homeheroaction.channelid=l)},null,512),[[vModelText,e.settings.homeheroaction.channelid]])])):createCommentVNode("",!0),e.settings.general.connection.type==="mashup"?(openBlock(),createElementBlock("div",_hoisted_17$4,[t[32]||(t[32]=createBaseVNode("label",{for:"homeheroaction-tenantid"},"Tenant ID",-1)),withDirectives(createBaseVNode("input",{id:"homeheroaction-tenantid",type:"text","onUpdate:modelValue":t[12]||(t[12]=l=>e.settings.homeheroaction.tenantid=l)},null,512),[[vModelText,e.settings.homeheroaction.tenantid]])])):createCommentVNode("",!0),e.settings.general.connection.type.startsWith("embedui")?(openBlock(),createElementBlock("div",_hoisted_18$4,[t[36]||(t[36]=createBaseVNode("label",{for:"homeheroaction-pagetemplate"},"Page Template",-1)),withDirectives(createBaseVNode("select",{id:"homeheroaction-pagetemplate","onUpdate:modelValue":t[13]||(t[13]=l=>e.settings.homeheroaction.pageTemplate=l)},[t[33]||(t[33]=createBaseVNode("option",{value:"full"},"Full case page",-1)),t[34]||(t[34]=createBaseVNode("option",{value:"assignment",selected:""},"Assignment only",-1)),t[35]||(t[35]=createBaseVNode("option",{value:"assignmentWithStages"}," Assignment with stages ",-1)),e.settings.general.connection.type==="embedui2"||e.settings.general.connection.type==="embedui3"?(openBlock(),createElementBlock("option",_hoisted_19$4," Simplified assignment ")):createCommentVNode("",!0)],512),[[vModelSelect,e.settings.homeheroaction.pageTemplate]])])):createCommentVNode("",!0),e.settings.general.connection.type==="mashup"?(openBlock(),createElementBlock("div",_hoisted_20$4,[withDirectives(createBaseVNode("input",{id:"homeheroaction-dataretained",type:"checkbox","onUpdate:modelValue":t[14]||(t[14]=l=>e.settings.homeheroaction.dataretained=l)},null,512),[[vModelCheckbox,e.settings.homeheroaction.dataretained]]),t[37]||(t[37]=createBaseVNode("label",{class:"width-auto",for:"homeheroaction-dataretained"},"Retain state on reload",-1))])):createCommentVNode("",!0),e.settings.general.connection.type.startsWith("embedui")?(openBlock(),createElementBlock("div",_hoisted_21$4,[withDirectives(createBaseVNode("input",{id:"homeheroaction-hideassignmentheader",type:"checkbox","onUpdate:modelValue":t[15]||(t[15]=l=>e.settings.homeheroaction.hideassignmentheader=l)},null,512),[[vModelCheckbox,e.settings.homeheroaction.hideassignmentheader]]),t[38]||(t[38]=createBaseVNode("label",{class:"width-auto",for:"homeheroaction-hideassignmentheader"},"Hide assignment header",-1))])):createCommentVNode("",!0)]),createBaseVNode("div",_hoisted_22$4,[createBaseVNode("div",_hoisted_23$4,[t[39]||(t[39]=createBaseVNode("label",{for:"homeheroaction-extraparam"},"Extra parameters (for example 'key1=value1,key2=value2')",-1)),withDirectives(createBaseVNode("textarea",{id:"homeheroaction-extraparam","onUpdate:modelValue":t[16]||(t[16]=l=>e.settings.homeheroaction.extraparam=l)},null,512),[[vModelText,e.settings.homeheroaction.extraparam]])])])])])])}const HomeHeroActionSettings=_export_sfc(_sfc_main$7,[["render",_sfc_render$7]]),_sfc_main$6={data(){return mainconfig},components:{Container}},_hoisted_1$4={class:"container-transparent"},_hoisted_2$4={class:"layout-inline-grid-double layout-labels-left"},_hoisted_3$3={class:"field-item"},_hoisted_4$3=["id","onUpdate:modelValue"],_hoisted_5$3=["for"],_hoisted_6$3={class:"field-item"},_hoisted_7$3=["id","onUpdate:modelValue"],_hoisted_8$3=["for"],_hoisted_9$3={class:"layout-inline-grid-double layout-labels-top"},_hoisted_10$3={class:"field-item"},_hoisted_11$3=["for"],_hoisted_12$3=["id","onUpdate:modelValue"],_hoisted_13$3={class:"field-item"},_hoisted_14$3=["for"],_hoisted_15$3=["id","onUpdate:modelValue"],_hoisted_16$3={class:"field-item"},_hoisted_17$3=["for"],_hoisted_18$3=["id","onUpdate:modelValue"],_hoisted_19$3={class:"field-item"},_hoisted_20$3=["for"],_hoisted_21$3=["id","onUpdate:modelValue"],_hoisted_22$3={class:"field-item"},_hoisted_23$3=["for"],_hoisted_24$2=["id","onUpdate:modelValue"],_hoisted_25$2={class:"field-item"},_hoisted_26$2=["for"],_hoisted_27$2=["id","onUpdate:modelValue"],_hoisted_28$2={key:0,class:"field-item"},_hoisted_29$2=["for"],_hoisted_30$1=["id","onUpdate:modelValue"],_hoisted_31$1={key:1,class:"field-item"},_hoisted_32$1=["for"],_hoisted_33$1=["id","onUpdate:modelValue"],_hoisted_34$1={key:2,class:"field-item"},_hoisted_35$1=["for"],_hoisted_36$1=["id","onUpdate:modelValue"],_hoisted_37$1={key:3,class:"field-item"},_hoisted_38$1=["for"],_hoisted_39$1=["id","onUpdate:modelValue"],_hoisted_40$1={key:4,class:"field-item"},_hoisted_41$1=["for"],_hoisted_42$1=["id","onUpdate:modelValue"],_hoisted_43$1={key:5,class:"field-item"},_hoisted_44$1=["for"],_hoisted_45$1=["id","onUpdate:modelValue"],_hoisted_46$1={class:"field-item"},_hoisted_47$1=["for"],_hoisted_48$1=["id","onUpdate:modelValue"],_hoisted_49$1={class:"layout-labels-top"},_hoisted_50$1={class:"field-item"},_hoisted_51$1=["for"],_hoisted_52$1=["id","onUpdate:modelValue"],_hoisted_53$1={class:"field-item"},_hoisted_54$1=["for"],_hoisted_55=["id","onUpdate:modelValue"],_hoisted_56={class:"layout-inline-grid-double layout-labels-left"},_hoisted_57={class:"field-item"},_hoisted_58=["id","onUpdate:modelValue"],_hoisted_59=["for"];function _sfc_render$6(e,t,n,o,s,r){const l=resolveComponent("Container");return openBlock(),createElementBlock("div",_hoisted_1$4,[t[0]||(t[0]=createBaseVNode("h2",null,"Users",-1)),t[1]||(t[1]=createBaseVNode("p",null," Configuration of the credentials for the users that can login into the application. Each user is mapped to a Pega Platform user. ",-1)),(openBlock(!0),createElementBlock(Fragment,null,renderList(e.settings.users,(a,c)=>(openBlock(),createElementBlock("div",{key:c},[createVNode(l,{title:"User "+(c+1),expanded:c===0},{default:withCtx(()=>[createBaseVNode("div",_hoisted_2$4,[createBaseVNode("div",_hoisted_3$3,[withDirectives(createBaseVNode("input",{type:"checkbox",id:"user-"+c+"-load_by_default","onUpdate:modelValue":d=>a.load_by_default=d},null,8,_hoisted_4$3),[[vModelCheckbox,a.load_by_default]]),createBaseVNode("label",{class:"width-auto",for:"user-"+c+"-load_by_default"},"Loaded by default",8,_hoisted_5$3)]),createBaseVNode("div",_hoisted_6$3,[withDirectives(createBaseVNode("input",{type:"checkbox",id:"user-"+c+"-show_opname","onUpdate:modelValue":d=>a.show_opname=d},null,8,_hoisted_7$3),[[vModelCheckbox,a.show_opname]]),createBaseVNode("label",{class:"width-auto",for:"user-"+c+"-show_opname"},"Show operator name",8,_hoisted_8$3)])]),createBaseVNode("div",_hoisted_9$3,[createBaseVNode("div",_hoisted_10$3,[createBaseVNode("label",{for:"user-"+c+"-username"},"Username",8,_hoisted_11$3),withDirectives(createBaseVNode("input",{id:"user-"+c+"-username",type:"text","onUpdate:modelValue":d=>a.username=d},null,8,_hoisted_12$3),[[vModelText,a.username]])]),createBaseVNode("div",_hoisted_13$3,[createBaseVNode("label",{for:"user-"+c+"-password"},"Password",8,_hoisted_14$3),withDirectives(createBaseVNode("input",{id:"user-"+c+"-password",type:"password","onUpdate:modelValue":d=>a.password=d},null,8,_hoisted_15$3),[[vModelText,a.password]])]),createBaseVNode("div",_hoisted_16$3,[createBaseVNode("label",{for:"user-"+c+"-img"},"Image",8,_hoisted_17$3),withDirectives(createBaseVNode("input",{id:"user-"+c+"-img",type:"text","onUpdate:modelValue":d=>a.img=d},null,8,_hoisted_18$3),[[vModelText,a.img]])]),createBaseVNode("div",_hoisted_19$3,[createBaseVNode("label",{for:"user-"+c+"-company_name"},"Company",8,_hoisted_20$3),withDirectives(createBaseVNode("input",{id:"user-"+c+"-company_name",type:"text","onUpdate:modelValue":d=>a.company_name=d},null,8,_hoisted_21$3),[[vModelText,a.company_name]])]),createBaseVNode("div",_hoisted_22$3,[createBaseVNode("label",{for:"user-"+c+"-name"},"Name",8,_hoisted_23$3),withDirectives(createBaseVNode("input",{id:"user-"+c+"-name",type:"text","onUpdate:modelValue":d=>a.name=d},null,8,_hoisted_24$2),[[vModelText,a.name]])]),createBaseVNode("div",_hoisted_25$2,[createBaseVNode("label",{for:"user-"+c+"-billpay"},"Bill amount",8,_hoisted_26$2),withDirectives(createBaseVNode("input",{id:"user-"+c+"-billpay",type:"text","onUpdate:modelValue":d=>a.billpay=d},null,8,_hoisted_27$2),[[vModelText,a.billpay]])]),e.settings.general.connection.type!=="launchpad"?(openBlock(),createElementBlock("div",_hoisted_28$2,[createBaseVNode("label",{for:"user-"+c+"-pega_userid"},"Pega userid",8,_hoisted_29$2),withDirectives(createBaseVNode("input",{id:"user-"+c+"-pega_userid",type:"text","onUpdate:modelValue":d=>a.pega_userid=d},null,8,_hoisted_30$1),[[vModelText,a.pega_userid]])])):createCommentVNode("",!0),e.settings.general.connection.type!=="launchpad"?(openBlock(),createElementBlock("div",_hoisted_31$1,[createBaseVNode("label",{for:"user-"+c+"-pega_pwd"},"Pega password",8,_hoisted_32$1),withDirectives(createBaseVNode("input",{id:"user-"+c+"-pega_pwd",type:"password","onUpdate:modelValue":d=>a.pega_pwd=d},null,8,_hoisted_33$1),[[vModelText,a.pega_pwd]])])):createCommentVNode("",!0),e.settings.general.connection.type!=="launchpad"?(openBlock(),createElementBlock("div",_hoisted_34$1,[createBaseVNode("label",{for:"user-"+c+"-otp_send_to"},"OTP send to (email or phone)",8,_hoisted_35$1),withDirectives(createBaseVNode("input",{id:"user-"+c+"-otp_send_to",type:"text","onUpdate:modelValue":d=>a.otp_send_to=d},null,8,_hoisted_36$1),[[vModelText,a.otp_send_to]])])):createCommentVNode("",!0),e.settings.general.connection.type!=="launchpad"?(openBlock(),createElementBlock("div",_hoisted_37$1,[createBaseVNode("label",{for:"user-"+c+"-accountid"},"Account ID (Mashup Chat)",8,_hoisted_38$1),withDirectives(createBaseVNode("input",{id:"user-"+c+"-accountid",type:"text","onUpdate:modelValue":d=>a.accountID=d},null,8,_hoisted_39$1),[[vModelText,a.accountID]])])):createCommentVNode("",!0),e.settings.general.connection.type!=="launchpad"?(openBlock(),createElementBlock("div",_hoisted_40$1,[createBaseVNode("label",{for:"user-"+c+"-contactid"},"Contact ID (Mashup Chat)",8,_hoisted_41$1),withDirectives(createBaseVNode("input",{id:"user-"+c+"-contactid",type:"text","onUpdate:modelValue":d=>a.contactID=d},null,8,_hoisted_42$1),[[vModelText,a.contactID]])])):createCommentVNode("",!0),e.settings.general.connection.type!=="launchpad"?(openBlock(),createElementBlock("div",_hoisted_43$1,[createBaseVNode("label",{for:"user-"+c+"-customerid"},"Customer ID (Customer Decision Hub)",8,_hoisted_44$1),withDirectives(createBaseVNode("input",{id:"user-"+c+"-customerid",type:"text","onUpdate:modelValue":d=>a.customerID=d},null,8,_hoisted_45$1),[[vModelText,a.customerID]])])):createCommentVNode("",!0),createBaseVNode("div",_hoisted_46$1,[createBaseVNode("label",{for:"user-"+c+"-focustabindex"},"Account picker - focused tab index (from 0 to 2) on load",8,_hoisted_47$1),withDirectives(createBaseVNode("input",{id:"user-"+c+"-focustabindex",type:"text","onUpdate:modelValue":d=>a.focustabindex=d},null,8,_hoisted_48$1),[[vModelText,a.focustabindex]])])]),createBaseVNode("div",_hoisted_49$1,[createBaseVNode("div",_hoisted_50$1,[createBaseVNode("label",{for:"user-"+c+"-extraparam"},"Extra parameters (for example 'key1=value1,key2=value2')",8,_hoisted_51$1),withDirectives(createBaseVNode("textarea",{id:"user-"+c+"-extraparam","onUpdate:modelValue":d=>a.extraparam=d},null,8,_hoisted_52$1),[[vModelText,a.extraparam]])]),createBaseVNode("div",_hoisted_53$1,[createBaseVNode("label",{for:"user-"+c+"-dmm_context_data"},"Additional context data for Digital Messaging Manager (format: first_name=john,last_name=smith)",8,_hoisted_54$1),withDirectives(createBaseVNode("textarea",{id:"user-"+c+"-dmm_context_data","onUpdate:modelValue":d=>a.dmm_context_data=d},null,8,_hoisted_55),[[vModelText,a.dmm_context_data]])])]),createBaseVNode("div",_hoisted_56,[createBaseVNode("div",_hoisted_57,[withDirectives(createBaseVNode("input",{type:"checkbox",id:"user-"+c+"-hide_from_dropdown","onUpdate:modelValue":d=>a.hide_from_dropdown=d},null,8,_hoisted_58),[[vModelCheckbox,a.hide_from_dropdown]]),createBaseVNode("label",{class:"width-auto",for:"user-"+c+"-hide_from_dropdown"},"Hide from login dropdown",8,_hoisted_59)])])]),_:2},1032,["title","expanded"])]))),128))])}const UsersSettings=_export_sfc(_sfc_main$6,[["render",_sfc_render$6]]),_sfc_main$5={data(){return mainconfig},components:{Container},methods:{addCustomEvent(){const e={CustomEventAction:"HighlightElement",CustomEventName:"",ElementName:"",SendAcknowledgement:!1,AcknowledgeOn:"After5Seconds"};this.settings.CustomEvents.push(e)},removeCustomEvent(e){console.log("removeCustomEvent",e),this.settings.CustomEvents.splice(e,1)}}},_hoisted_1$3={class:"container-transparent"},_hoisted_2$3={class:"layout-labels-top"},_hoisted_3$2={class:"field-item"},_hoisted_4$2={class:"field-item"},_hoisted_5$2={class:"field-item"},_hoisted_6$2={class:"field-item"},_hoisted_7$2={class:"flex event-header"},_hoisted_8$2={class:"event-title"},_hoisted_9$2=["onClick"],_hoisted_10$2={class:"field-item"},_hoisted_11$2=["onUpdate:modelValue"],_hoisted_12$2={class:"field-item"},_hoisted_13$2=["onUpdate:modelValue"],_hoisted_14$2={class:"field-item"},_hoisted_15$2=["onUpdate:modelValue"],_hoisted_16$2={class:"layout-labels-top layout-inline-grid-double"},_hoisted_17$2={class:"field-item field-checkbox"},_hoisted_18$2=["onUpdate:modelValue","id"],_hoisted_19$2=["for"],_hoisted_20$2=["for"],_hoisted_21$2={key:0,class:"field-item"},_hoisted_22$2=["onUpdate:modelValue"],_hoisted_23$2={key:0},_hoisted_24$1={class:"layout-labels-top layout-inline-grid-double"},_hoisted_25$1={class:"field-item"},_hoisted_26$1={class:"field-item"},_hoisted_27$1={class:"layout-labels-top layout-inline-grid-double"},_hoisted_28$1={class:"field-item"},_hoisted_29$1={class:"field-item"};function _sfc_render$5(e,t,n,o,s,r){const l=resolveComponent("Container");return openBlock(),createElementBlock("div",_hoisted_1$3,[t[25]||(t[25]=createBaseVNode("h2",null,"Messaging and Co-Browse",-1)),t[26]||(t[26]=createBaseVNode("p",null,[createTextVNode(" Configuration of the messaging and Co-Browse components. Enter an empty 'URL' to disable the functionality. For more details, click "),createBaseVNode("a",{href:"https://github.com/pegasystems/uplus-wss/wiki/How-to-configure-the-Pega-Chat-bot"},"here"),createTextVNode(". ")],-1)),createVNode(l,{title:"Messaging",expanded:""},{default:withCtx(()=>[createBaseVNode("div",_hoisted_2$3,[createBaseVNode("div",_hoisted_3$2,[t[9]||(t[9]=createBaseVNode("label",{for:"chat-DMMID"},"ID of the widget",-1)),withDirectives(createBaseVNode("input",{id:"chat-DMMID",type:"text","onUpdate:modelValue":t[0]||(t[0]=a=>e.settings.pega_chat.DMMID=a)},null,512),[[vModelText,e.settings.pega_chat.DMMID]])]),createBaseVNode("div",_hoisted_4$2,[t[10]||(t[10]=createBaseVNode("label",{for:"chat-DMMURL"},"URL of the Digital Messaging Server",-1)),withDirectives(createBaseVNode("input",{id:"chat-DMMURL",type:"text","onUpdate:modelValue":t[1]||(t[1]=a=>e.settings.pega_chat.DMMURL=a)},null,512),[[vModelText,e.settings.pega_chat.DMMURL]])]),createBaseVNode("div",_hoisted_5$2,[t[11]||(t[11]=createBaseVNode("label",{for:"chat-DMMSecret"},"Secret to generate JWT Token for authentication",-1)),withDirectives(createBaseVNode("input",{id:"chat-DMMSecret",type:"text","onUpdate:modelValue":t[2]||(t[2]=a=>e.settings.pega_chat.DMMSecret=a)},null,512),[[vModelText,e.settings.pega_chat.DMMSecret]])]),createBaseVNode("div",_hoisted_6$2,[t[12]||(t[12]=createBaseVNode("label",{for:"chat-DMMPrivateURL"},"Base URL of the Digital Messaging server to send private data & custom event acknowledgements",-1)),withDirectives(createBaseVNode("input",{id:"chat-DMMPrivateURL",type:"text","onUpdate:modelValue":t[3]||(t[3]=a=>e.settings.pega_chat.DMMPrivateURL=a)},null,512),[[vModelText,e.settings.pega_chat.DMMPrivateURL]])])])]),_:1}),createVNode(l,{title:"Custom Events"},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(e.settings.CustomEvents,(a,c)=>(openBlock(),createElementBlock("div",{key:c,class:"layout-labels-top"},[createBaseVNode("div",_hoisted_7$2,[createBaseVNode("h4",_hoisted_8$2,"Custom Event "+toDisplayString$1(c+1),1),createBaseVNode("i",{onClick:d=>r.removeCustomEvent(c),class:"pi pi-trash remove-event"},null,8,_hoisted_9$2)]),createBaseVNode("div",_hoisted_10$2,[t[13]||(t[13]=createBaseVNode("label",{for:"chat-CustomEventName"},"Event Name",-1)),withDirectives(createBaseVNode("input",{id:"chat-CustomEventName",type:"text","onUpdate:modelValue":d=>a.CustomEventName=d},null,8,_hoisted_11$2),[[vModelText,a.CustomEventName]])]),createBaseVNode("div",_hoisted_12$2,[t[15]||(t[15]=createBaseVNode("label",{for:"chat-CustomEventAction"},"Event action",-1)),withDirectives(createBaseVNode("select",{id:"chat-CustomEventAction","onUpdate:modelValue":d=>a.CustomEventAction=d},t[14]||(t[14]=[createBaseVNode("option",{value:"HighlightElement"},"Highlight Element",-1),createBaseVNode("option",{value:"ClickElement"},"Click Element",-1)]),8,_hoisted_13$2),[[vModelSelect,a.CustomEventAction]])]),createBaseVNode("div",_hoisted_14$2,[t[16]||(t[16]=createBaseVNode("label",{for:"chat-ElementName"},"Element To Select (Enter the elements text value e.g. 'Log in')",-1)),withDirectives(createBaseVNode("input",{id:"chat-ElementName",type:"text","onUpdate:modelValue":d=>a.ElementName=d},null,8,_hoisted_15$2),[[vModelText,a.ElementName]])]),createBaseVNode("div",_hoisted_16$2,[createBaseVNode("div",_hoisted_17$2,[withDirectives(createBaseVNode("input",{type:"checkbox","onUpdate:modelValue":d=>a.SendAcknowledgement=d,id:"chat-"+c+"-SendAcknowledgement"},null,8,_hoisted_18$2),[[vModelCheckbox,a.SendAcknowledgement]]),a.SendAcknowledgement?createCommentVNode("",!0):(openBlock(),createElementBlock("label",{key:0,class:"width-auto",for:"chat-"+c+"-SendAcknowledgement"},"Send Event Acknowledgement",8,_hoisted_19$2)),a.SendAcknowledgement?(openBlock(),createElementBlock("label",{key:1,class:"width-auto",for:"chat-"+c+"-SendAcknowledgement"},"Send Event Acknowledgement After:",8,_hoisted_20$2)):createCommentVNode("",!0)]),a.SendAcknowledgement?(openBlock(),createElementBlock("div",_hoisted_21$2,[withDirectives(createBaseVNode("select",{id:"chat-AcknowledgeOn","onUpdate:modelValue":d=>a.AcknowledgeOn=d},t[17]||(t[17]=[createBaseVNode("option",{value:"LoginSuccess"},"Login Success",-1),createBaseVNode("option",{value:"After5Seconds"},"5 seconds",-1),createBaseVNode("option",{value:"After30Seconds"},"30 seconds",-1)]),8,_hoisted_22$2),[[vModelSelect,a.AcknowledgeOn]])])):createCommentVNode("",!0)]),c!=e.settings.CustomEvents.length-1?(openBlock(),createElementBlock("hr",_hoisted_23$2)):createCommentVNode("",!0)]))),128)),createBaseVNode("a",{class:"add-event",onClick:t[4]||(t[4]=(...a)=>r.addCustomEvent&&r.addCustomEvent(...a))},t[18]||(t[18]=[createTextVNode("Add Event "),createBaseVNode("i",{class:"pi pi-plus"},null,-1)])),t[19]||(t[19]=createBaseVNode("br",null,null,-1)),t[20]||(t[20]=createBaseVNode("br",null,null,-1))]),_:1}),createVNode(l,{title:"Proactive chat on page load",expanded:""},{default:withCtx(()=>[createBaseVNode("div",_hoisted_24$1,[createBaseVNode("div",_hoisted_25$1,[t[21]||(t[21]=createBaseVNode("label",{for:"chat-DMMProactiveChatNewSessionTimeout"},"Time to wait (in ms) - use 0 to disable",-1)),withDirectives(createBaseVNode("input",{id:"chat-DMMProactiveChatNewSessionTimeout",type:"number","onUpdate:modelValue":t[5]||(t[5]=a=>e.settings.pega_chat.DMMProactiveChatNewSessionTimeout=a)},null,512),[[vModelText,e.settings.pega_chat.DMMProactiveChatNewSessionTimeout]])]),createBaseVNode("div",_hoisted_26$1,[t[22]||(t[22]=createBaseVNode("label",{for:"chat-DMMProactiveChatNewSessionCode"},"Trigger code",-1)),withDirectives(createBaseVNode("input",{id:"chat-DMMProactiveChatNewSessionCode",type:"text","onUpdate:modelValue":t[6]||(t[6]=a=>e.settings.pega_chat.DMMProactiveChatNewSessionCode=a)},null,512),[[vModelText,e.settings.pega_chat.DMMProactiveChatNewSessionCode]])])])]),_:1}),createVNode(l,{title:"Co-Browse",expanded:""},{default:withCtx(()=>[createBaseVNode("div",_hoisted_27$1,[createBaseVNode("div",_hoisted_28$1,[t[23]||(t[23]=createBaseVNode("label",{for:"chat-CoBrowseServerURL"},"URL",-1)),withDirectives(createBaseVNode("input",{id:"chat-CoBrowseServerURL",type:"text","onUpdate:modelValue":t[7]||(t[7]=a=>e.settings.pega_chat.CoBrowseServerURL=a)},null,512),[[vModelText,e.settings.pega_chat.CoBrowseServerURL]])]),createBaseVNode("div",_hoisted_29$1,[t[24]||(t[24]=createBaseVNode("label",{for:"chat-CoBrowseToken"},"Token",-1)),withDirectives(createBaseVNode("input",{id:"chat-CoBrowseToken",type:"text","onUpdate:modelValue":t[8]||(t[8]=a=>e.settings.pega_chat.CoBrowseToken=a)},null,512),[[vModelText,e.settings.pega_chat.CoBrowseToken]])])])]),_:1})])}const ChatSettings=_export_sfc(_sfc_main$5,[["render",_sfc_render$5]]),_sfc_main$4={data(){return mainconfig},components:{Container},methods:{resetExternalID(e){e.preventDefault(),this.ExternalID="uplus-"+Date.now(),sessionStorage.setItem("ExternalID",this.ExternalID),navigator.clipboard.writeText(this.ExternalID).then(()=>{alert("ExternalID was successfully copied in the clipboard")}).catch(()=>{alert("Something went wrong, could not copy ExternalID in the clipboard")})}}},_hoisted_1$2={class:"container-transparent"},_hoisted_2$2={class:"layout-labels-top layout-inline-grid-double"},_hoisted_3$1={class:"field-item"},_hoisted_4$1={class:"field-item"},_hoisted_5$1={class:"field-item"},_hoisted_6$1={class:"field-item"},_hoisted_7$1={class:"field-item"},_hoisted_8$1={key:0,class:"field-item"},_hoisted_9$1={key:1,class:"field-item"},_hoisted_10$1={class:"layout-labels-left"},_hoisted_11$1={key:0,class:"field-item field-checkbox"},_hoisted_12$1={class:"field-item field-checkbox"},_hoisted_13$1={class:"field-item field-checkbox"},_hoisted_14$1={class:"field-item field-checkbox"},_hoisted_15$1={class:"layout-labels-left layout-inline-grid-double"},_hoisted_16$1={class:"field-item field-checkbox"},_hoisted_17$1={key:0,class:"field-item"},_hoisted_18$1={class:"field-item field-checkbox"},_hoisted_19$1={class:"field-item field-checkbox"},_hoisted_20$1={class:"layout-labels-top layout-inline-grid-double"},_hoisted_21$1={class:"field-item"},_hoisted_22$1={class:"field-item"},_hoisted_23$1={class:"field-item"},_hoisted_24={class:"field-item"},_hoisted_25={class:"layout-labels-top layout-inline-grid-double"},_hoisted_26={class:"field-item"},_hoisted_27={class:"field-item"},_hoisted_28={class:"field-item"},_hoisted_29={class:"field-item"},_hoisted_30={class:"layout-labels-left"},_hoisted_31={class:"field-item"},_hoisted_32={class:"layout-labels-top layout-inline-grid-double"},_hoisted_33={class:"field-item"},_hoisted_34={class:"field-item"},_hoisted_35={class:"field-item"},_hoisted_36={class:"field-item"},_hoisted_37={class:"layout-labels-top layout-inline-grid-double"},_hoisted_38={class:"field-item"},_hoisted_39={class:"field-item"},_hoisted_40={class:"field-item"},_hoisted_41={class:"field-item"},_hoisted_42={class:"layout-labels-top layout-inline-grid-double"},_hoisted_43={class:"field-item"},_hoisted_44=["for"],_hoisted_45=["id","onUpdate:modelValue"],_hoisted_46={class:"field-item"},_hoisted_47=["for"],_hoisted_48=["id","onUpdate:modelValue"],_hoisted_49={class:"field-item"},_hoisted_50=["for"],_hoisted_51=["id","onUpdate:modelValue"],_hoisted_52={class:"field-item"},_hoisted_53=["for"],_hoisted_54=["id","onUpdate:modelValue"];function _sfc_render$4(e,t,n,o,s,r){const l=resolveComponent("Container");return openBlock(),createElementBlock("div",_hoisted_1$2,[t[69]||(t[69]=createBaseVNode("h2",null,"Customer Decision Hub",-1)),t[70]||(t[70]=createBaseVNode("p",null,[createTextVNode(" Configuration to use Customer Decision Hub to generate offers. Enter an empty 'Host' to disable this functionality. For more details, click "),createBaseVNode("a",{href:"https://github.com/pegasystems/uplus-wss/wiki/Integration-with-the-Customer-Decision-Hub"},"here"),createTextVNode(". ")],-1)),createVNode(l,{title:"General",expanded:""},{default:withCtx(()=>[createBaseVNode("div",_hoisted_2$2,[createBaseVNode("div",_hoisted_3$1,[t[32]||(t[32]=createBaseVNode("label",{for:"NBAM-Host"},"Host",-1)),withDirectives(createBaseVNode("input",{id:"NBAM-Host",type:"text","onUpdate:modelValue":t[0]||(t[0]=a=>e.settings.pega_marketing.Host=a)},null,512),[[vModelText,e.settings.pega_marketing.Host]])]),createBaseVNode("div",_hoisted_4$1,[t[33]||(t[33]=createBaseVNode("label",{for:"NBAM-Port"},"Port",-1)),withDirectives(createBaseVNode("input",{id:"NBAM-Port",type:"text","onUpdate:modelValue":t[1]||(t[1]=a=>e.settings.pega_marketing.Port=a)},null,512),[[vModelText,e.settings.pega_marketing.Port]])]),createBaseVNode("div",_hoisted_5$1,[t[34]||(t[34]=createBaseVNode("label",{for:"NBAM-Channel"},"Channel",-1)),withDirectives(createBaseVNode("input",{id:"NBAM-Channel",type:"text","onUpdate:modelValue":t[2]||(t[2]=a=>e.settings.pega_marketing.channel=a)},null,512),[[vModelText,e.settings.pega_marketing.channel]])]),createBaseVNode("div",_hoisted_6$1,[t[35]||(t[35]=createBaseVNode("label",{for:"NBAM-requestTimeout"},"Timeout for XHR request (in ms)",-1)),withDirectives(createBaseVNode("input",{id:"NBAM-requestTimeout",type:"integer","onUpdate:modelValue":t[3]||(t[3]=a=>e.settings.pega_marketing.requestTimeout=a)},null,512),[[vModelText,e.settings.pega_marketing.requestTimeout]])]),createBaseVNode("div",_hoisted_7$1,[t[37]||(t[37]=createBaseVNode("label",{for:"NBAM-APILevel"},"API level",-1)),withDirectives(createBaseVNode("select",{id:"NBAM-APILevel","onUpdate:modelValue":t[4]||(t[4]=a=>e.settings.pega_marketing.apiLevel=a)},t[36]||(t[36]=[createBaseVNode("option",null,"V2",-1),createBaseVNode("option",null,"V3",-1),createBaseVNode("option",null,"V4",-1)]),512),[[vModelSelect,e.settings.pega_marketing.apiLevel]])]),e.settings.pega_marketing.apiLevel!=="V2"?(openBlock(),createElementBlock("div",_hoisted_8$1,[t[38]||(t[38]=createBaseVNode("label",{for:"NBAM-contextName"},"Context name",-1)),withDirectives(createBaseVNode("input",{id:"NBAM-contextName","onUpdate:modelValue":t[5]||(t[5]=a=>e.settings.pega_marketing.contextName=a)},null,512),[[vModelText,e.settings.pega_marketing.contextName]])])):createCommentVNode("",!0),e.settings.pega_marketing.apiLevel!=="V2"?(openBlock(),createElementBlock("div",_hoisted_9$1,[t[39]||(t[39]=createBaseVNode("label",{for:"NBAM-appID"},"App ID (CDH configured for MultiApp)",-1)),withDirectives(createBaseVNode("input",{id:"NBAM-appID","onUpdate:modelValue":t[6]||(t[6]=a=>e.settings.pega_marketing.appID=a)},null,512),[[vModelText,e.settings.pega_marketing.appID]])])):createCommentVNode("",!0)]),createBaseVNode("div",_hoisted_10$1,[e.settings.pega_marketing.apiLevel!=="V2"?(openBlock(),createElementBlock("div",_hoisted_11$1,[withDirectives(createBaseVNode("input",{id:"NBAM-useCaptureByChannel",type:"checkbox","onUpdate:modelValue":t[7]||(t[7]=a=>e.settings.pega_marketing.useCaptureByChannel=a)},null,512),[[vModelCheckbox,e.settings.pega_marketing.useCaptureByChannel]]),t[40]||(t[40]=createBaseVNode("label",{class:"width-auto",for:"NBAM-useCaptureByChannel"},"Enable capturing responses to actions",-1))])):createCommentVNode("",!0),createBaseVNode("div",_hoisted_12$1,[withDirectives(createBaseVNode("input",{id:"NBAM-showAIOverlay",type:"checkbox","onUpdate:modelValue":t[8]||(t[8]=a=>e.settings.pega_marketing.showAIOverlay=a)},null,512),[[vModelCheckbox,e.settings.pega_marketing.showAIOverlay]]),t[41]||(t[41]=createBaseVNode("label",{class:"width-auto",for:"NBAM-showAIOverlay"},"Show AI overlay",-1))]),createBaseVNode("div",_hoisted_13$1,[withDirectives(createBaseVNode("input",{id:"NBAM-enableRTS",type:"checkbox","onUpdate:modelValue":t[9]||(t[9]=a=>e.settings.pega_marketing.enableRTS=a)},null,512),[[vModelCheckbox,e.settings.pega_marketing.enableRTS]]),t[42]||(t[42]=createBaseVNode("label",{class:"width-auto",for:"NBAM-enableRTS"},"Enable Real-time data streaming",-1))]),createBaseVNode("div",_hoisted_14$1,[withDirectives(createBaseVNode("input",{id:"NBAM-enableClickStream",type:"checkbox","onUpdate:modelValue":t[10]||(t[10]=a=>e.settings.pega_marketing.enableClickStream=a)},null,512),[[vModelCheckbox,e.settings.pega_marketing.enableClickStream]]),t[43]||(t[43]=createBaseVNode("label",{class:"width-auto",for:"NBAM-enableClickStream"},"Enable Click Stream",-1))]),createBaseVNode("div",_hoisted_15$1,[createBaseVNode("div",_hoisted_16$1,[withDirectives(createBaseVNode("input",{id:"NBAM-enableMergeAccount",type:"checkbox","onUpdate:modelValue":t[11]||(t[11]=a=>e.settings.pega_marketing.enableMergeAccount=a)},null,512),[[vModelCheckbox,e.settings.pega_marketing.enableMergeAccount]]),t[44]||(t[44]=createBaseVNode("label",{class:"width-auto",for:"NBAM-enableMergeAccount"},"Enable Merge Account (Pega '23')",-1))]),e.settings.pega_marketing.enableMergeAccount?(openBlock(),createElementBlock("div",_hoisted_17$1,[createBaseVNode("button",{class:"margin-r-2x",onClick:t[12]||(t[12]=(...a)=>r.resetExternalID&&r.resetExternalID(...a))}," Reset ExternalID "),createBaseVNode("span",null,toDisplayString$1(this.ExternalID),1)])):createCommentVNode("",!0)]),createBaseVNode("div",_hoisted_18$1,[withDirectives(createBaseVNode("input",{id:"NBAM-replaceHomePageHeader",type:"checkbox","onUpdate:modelValue":t[13]||(t[13]=a=>e.settings.pega_marketing.replaceHomePageHeader=a)},null,512),[[vModelCheckbox,e.settings.pega_marketing.replaceHomePageHeader]]),t[45]||(t[45]=createBaseVNode("label",{class:"width-auto",for:"NBAM-replaceHomePageHeader"},"Replace Home Page header with Hero placement",-1))]),createBaseVNode("div",_hoisted_19$1,[withDirectives(createBaseVNode("input",{id:"NBAM-showLoadingIndicator",type:"checkbox","onUpdate:modelValue":t[14]||(t[14]=a=>e.settings.pega_marketing.showLoadingIndicator=a)},null,512),[[vModelCheckbox,e.settings.pega_marketing.showLoadingIndicator]]),t[46]||(t[46]=createBaseVNode("label",{class:"width-auto",for:"NBAM-showLoadingIndicator"},"Display progress indicator while loading the offers",-1))])])]),_:1}),createVNode(l,{title:"Home Page",expanded:""},{default:withCtx(()=>[createBaseVNode("div",_hoisted_20$1,[createBaseVNode("div",_hoisted_21$1,[t[47]||(t[47]=createBaseVNode("label",{for:"NBAM-HomePage-ContainerName"},"Container name",-1)),withDirectives(createBaseVNode("input",{id:"NBAM-HomePage-ContainerName",type:"text","onUpdate:modelValue":t[15]||(t[15]=a=>e.settings.pega_marketing.homePage.containerName=a)},null,512),[[vModelText,e.settings.pega_marketing.homePage.containerName]])]),createBaseVNode("div",_hoisted_22$1,[t[48]||(t[48]=createBaseVNode("label",{for:"NBAM-HomePage-Placement"},"Placement (Hero or Tile)",-1)),withDirectives(createBaseVNode("input",{id:"NBAM-HomePage-Placement",type:"text","onUpdate:modelValue":t[16]||(t[16]=a=>e.settings.pega_marketing.homePage.placement=a)},null,512),[[vModelText,e.settings.pega_marketing.homePage.placement]])]),createBaseVNode("div",_hoisted_23$1,[t[50]||(t[50]=createBaseVNode("label",{for:"NBAM-HomePage-ClickAction"},"Click action",-1)),withDirectives(createBaseVNode("select",{id:"NBAM-HomePage-ClickAction","onUpdate:modelValue":t[17]||(t[17]=a=>e.settings.pega_marketing.homePage.clickaction=a)},t[49]||(t[49]=[createBaseVNode("option",{value:"Mashup"},"Mashup",-1),createBaseVNode("option",{value:"BuiltIn"},"Built-in",-1),createBaseVNode("option",{value:"Popup"},"Popup",-1),createBaseVNode("option",{value:"TopURL"},"TopURL",-1)]),512),[[vModelSelect,e.settings.pega_marketing.homePage.clickaction]])]),createBaseVNode("div",_hoisted_24,[t[51]||(t[51]=createBaseVNode("label",{for:"NBAM-HomePage-Attributes"},"Custom attributes for Detailed view",-1)),withDirectives(createBaseVNode("input",{id:"NBAM-HomePage-Attributes",type:"text","onUpdate:modelValue":t[18]||(t[18]=a=>e.settings.pega_marketing.homePage.attributes=a)},null,512),[[vModelText,e.settings.pega_marketing.homePage.attributes]])])])]),_:1}),createVNode(l,{title:"Account Page"},{default:withCtx(()=>[createBaseVNode("div",_hoisted_25,[createBaseVNode("div",_hoisted_26,[t[52]||(t[52]=createBaseVNode("label",{for:"NBAM-AccountPage-ContainerName"},"Container name",-1)),withDirectives(createBaseVNode("input",{id:"NBAM-AccountPage-ContainerName",type:"text","onUpdate:modelValue":t[19]||(t[19]=a=>e.settings.pega_marketing.accountPage.containerName=a)},null,512),[[vModelText,e.settings.pega_marketing.accountPage.containerName]])]),createBaseVNode("div",_hoisted_27,[t[53]||(t[53]=createBaseVNode("label",{for:"NBAM-AccountPage-Placement"},"Placement (Hero or Tile)",-1)),withDirectives(createBaseVNode("input",{id:"NBAM-AccountPage-Placement",type:"text","onUpdate:modelValue":t[20]||(t[20]=a=>e.settings.pega_marketing.accountPage.placement=a)},null,512),[[vModelText,e.settings.pega_marketing.accountPage.placement]])]),createBaseVNode("div",_hoisted_28,[t[55]||(t[55]=createBaseVNode("label",{for:"NBAM-AccountPage-ClickAction"},"Click action",-1)),withDirectives(createBaseVNode("select",{id:"NBAM-AccountPage-ClickAction","onUpdate:modelValue":t[21]||(t[21]=a=>e.settings.pega_marketing.accountPage.clickaction=a)},t[54]||(t[54]=[createBaseVNode("option",{value:"Mashup"},"Mashup",-1),createBaseVNode("option",{value:"BuiltIn"},"Built-in",-1),createBaseVNode("option",{value:"Popup"},"Popup",-1),createBaseVNode("option",{value:"TopURL"},"TopURL",-1)]),512),[[vModelSelect,e.settings.pega_marketing.accountPage.clickaction]])]),createBaseVNode("div",_hoisted_29,[t[56]||(t[56]=createBaseVNode("label",{for:"NBAM-AccountPage-Attributes"},"Custom attributes for Detailed view",-1)),withDirectives(createBaseVNode("input",{id:"NBAM-AccountPage-Attributes",type:"text","onUpdate:modelValue":t[22]||(t[22]=a=>e.settings.pega_marketing.accountPage.attributes=a)},null,512),[[vModelText,e.settings.pega_marketing.accountPage.attributes]])])]),createBaseVNode("div",_hoisted_30,[createBaseVNode("div",_hoisted_31,[withDirectives(createBaseVNode("input",{id:"NBAM-AccountPage-showSingleoffer",type:"checkbox","onUpdate:modelValue":t[23]||(t[23]=a=>e.settings.pega_marketing.accountPage.showSingleOffer=a)},null,512),[[vModelCheckbox,e.settings.pega_marketing.accountPage.showSingleOffer]]),t[57]||(t[57]=createBaseVNode("label",{class:"width-auto",for:"NBAM-AccountPage-showSingleoffer"},"Show single offer",-1))])])]),_:1}),createVNode(l,{title:"Home Page for mobile"},{default:withCtx(()=>[createBaseVNode("div",_hoisted_32,[createBaseVNode("div",_hoisted_33,[t[58]||(t[58]=createBaseVNode("label",{for:"NBAM-PhonePage-ContainerName"},"Container name",-1)),withDirectives(createBaseVNode("input",{id:"NBAM-PhonePage-ContainerName",type:"text","onUpdate:modelValue":t[24]||(t[24]=a=>e.settings.pega_marketing.phonePage.containerName=a)},null,512),[[vModelText,e.settings.pega_marketing.phonePage.containerName]])]),createBaseVNode("div",_hoisted_34,[t[59]||(t[59]=createBaseVNode("label",{for:"NBAM-PhonePage-Placement"},"Placement (Hero or Tile)",-1)),withDirectives(createBaseVNode("input",{id:"NBAM-PhonePage-Placement",type:"text","onUpdate:modelValue":t[25]||(t[25]=a=>e.settings.pega_marketing.phonePage.placement=a)},null,512),[[vModelText,e.settings.pega_marketing.phonePage.placement]])]),createBaseVNode("div",_hoisted_35,[t[61]||(t[61]=createBaseVNode("label",{for:"NBAM-PhonePage-ClickAction"},"Click action",-1)),withDirectives(createBaseVNode("select",{id:"NBAM-PhonePage-ClickAction","onUpdate:modelValue":t[26]||(t[26]=a=>e.settings.pega_marketing.phonePage.clickaction=a)},t[60]||(t[60]=[createBaseVNode("option",{value:"Mashup"},"Mashup",-1),createBaseVNode("option",{value:"BuiltIn"},"Built-in",-1),createBaseVNode("option",{value:"Popup"},"Popup",-1),createBaseVNode("option",{value:"TopURL"},"TopURL",-1)]),512),[[vModelSelect,e.settings.pega_marketing.phonePage.clickaction]])]),createBaseVNode("div",_hoisted_36,[t[62]||(t[62]=createBaseVNode("label",{for:"NBAM-PhonePage-Attributes"},"Custom attributes for Detailed view",-1)),withDirectives(createBaseVNode("input",{id:"NBAM-PhonePage-Attributes",type:"text","onUpdate:modelValue":t[27]||(t[27]=a=>e.settings.pega_marketing.phonePage.attributes=a)},null,512),[[vModelText,e.settings.pega_marketing.phonePage.attributes]])])])]),_:1}),createVNode(l,{title:"Offer Page"},{default:withCtx(()=>[createBaseVNode("div",_hoisted_37,[createBaseVNode("div",_hoisted_38,[t[63]||(t[63]=createBaseVNode("label",{for:"NBAM-OfferPage-ContainerName"},"Container name",-1)),withDirectives(createBaseVNode("input",{id:"NBAM-OfferPage-ContainerName",type:"text","onUpdate:modelValue":t[28]||(t[28]=a=>e.settings.pega_marketing.offerPage.containerName=a)},null,512),[[vModelText,e.settings.pega_marketing.offerPage.containerName]])]),createBaseVNode("div",_hoisted_39,[t[64]||(t[64]=createBaseVNode("label",{for:"NBAM-OfferPage-Placement"},"Placement (Hero or Tile)",-1)),withDirectives(createBaseVNode("input",{id:"NBAM-OfferPage-Placement",type:"text","onUpdate:modelValue":t[29]||(t[29]=a=>e.settings.pega_marketing.offerPage.placement=a)},null,512),[[vModelText,e.settings.pega_marketing.offerPage.placement]])]),createBaseVNode("div",_hoisted_40,[t[66]||(t[66]=createBaseVNode("label",{for:"NBAM-OfferPage-ClickAction"},"Click action",-1)),withDirectives(createBaseVNode("select",{id:"NBAM-OfferPage-ClickAction","onUpdate:modelValue":t[30]||(t[30]=a=>e.settings.pega_marketing.offerPage.clickaction=a)},t[65]||(t[65]=[createBaseVNode("option",{value:"Mashup"},"Mashup",-1),createBaseVNode("option",{value:"BuiltIn"},"Built-in",-1),createBaseVNode("option",{value:"Popup"},"Popup",-1),createBaseVNode("option",{value:"TopURL"},"TopURL",-1)]),512),[[vModelSelect,e.settings.pega_marketing.offerPage.clickaction]])]),createBaseVNode("div",_hoisted_41,[t[67]||(t[67]=createBaseVNode("label",{for:"NBAM-OfferPage-Attributes"},"Custom attributes for Detailed view",-1)),withDirectives(createBaseVNode("input",{id:"NBAM-OfferPage-Attributes",type:"text","onUpdate:modelValue":t[31]||(t[31]=a=>e.settings.pega_marketing.offerPage.attributes=a)},null,512),[[vModelText,e.settings.pega_marketing.offerPage.attributes]])])])]),_:1}),(openBlock(!0),createElementBlock(Fragment,null,renderList(e.settings.pega_marketing.extraOfferPages,(a,c)=>(openBlock(),createBlock(l,{title:"Offer "+(c+1),key:c},{default:withCtx(()=>[createBaseVNode("div",_hoisted_42,[createBaseVNode("div",_hoisted_43,[createBaseVNode("label",{for:"NBAM-OfferPage-"+c+"-ContainerName"},"Container name",8,_hoisted_44),withDirectives(createBaseVNode("input",{id:"NBAM-OfferPage-"+c+"-ContainerName",type:"text","onUpdate:modelValue":d=>a.containerName=d},null,8,_hoisted_45),[[vModelText,a.containerName]])]),createBaseVNode("div",_hoisted_46,[createBaseVNode("label",{for:"NBAM-OfferPage-"+c+"-Placement"},"Placement (Hero or Tile)",8,_hoisted_47),withDirectives(createBaseVNode("input",{id:"NBAM-OfferPage-"+c+"-Placement",type:"text","onUpdate:modelValue":d=>a.placement=d},null,8,_hoisted_48),[[vModelText,a.placement]])]),createBaseVNode("div",_hoisted_49,[createBaseVNode("label",{for:"NBAM-OfferPage-"+c+"-ClickAction"},"Click action",8,_hoisted_50),withDirectives(createBaseVNode("select",{id:"NBAM-OfferPage-"+c+"-ClickAction","onUpdate:modelValue":d=>a.clickaction=d},t[68]||(t[68]=[createBaseVNode("option",{value:"Mashup"},"Mashup",-1),createBaseVNode("option",{value:"BuiltIn"},"Built-in",-1),createBaseVNode("option",{value:"Popup"},"Popup",-1),createBaseVNode("option",{value:"TopURL"},"TopURL",-1)]),8,_hoisted_51),[[vModelSelect,a.clickaction]])]),createBaseVNode("div",_hoisted_52,[createBaseVNode("label",{for:"NBAM-OfferPage-"+c+"-Attributes"},"Custom attributes for Detailed view",8,_hoisted_53),withDirectives(createBaseVNode("input",{id:"NBAM-OfferPage-"+c+"-Attributes",type:"text","onUpdate:modelValue":d=>a.attributes=d},null,8,_hoisted_54),[[vModelText,a.attributes]])])])]),_:2},1032,["title"]))),128))])}const NBAMSettings=_export_sfc(_sfc_main$4,[["render",_sfc_render$4]]),_sfc_main$3={data(){return mainconfig},methods:{onActionChange(){this.settings.general.connection.type.indexOf("dx")===-1||this.settings.offeraction.action!=="display"?this.settings.offeraction.actionparam="":this.settings.offeraction.actionparam="workList"}}},_hoisted_1$1={class:"container-transparent"},_hoisted_2$1={class:"container"},_hoisted_3={class:"body"},_hoisted_4={class:"layout-labels-top layout-inline-grid-double"},_hoisted_5={class:"field-item"},_hoisted_6={key:0},_hoisted_7={key:1},_hoisted_8={key:0,class:"field-item"},_hoisted_9={key:1,class:"field-item"},_hoisted_10={key:2,class:"field-item"},_hoisted_11={key:3,class:"field-item"},_hoisted_12={class:"field-item"},_hoisted_13={key:4,class:"field-item"},_hoisted_14={key:5,class:"field-item"},_hoisted_15={key:6,class:"field-item"},_hoisted_16={key:7,class:"field-item"},_hoisted_17={key:8,class:"field-item"},_hoisted_18={key:9,class:"field-item"},_hoisted_19={key:0,value:"simplifiedAssignment"},_hoisted_20={key:10,class:"field-item field-checkbox"},_hoisted_21={key:11,class:"field-item field-checkbox"},_hoisted_22={class:"layout-labels-top"},_hoisted_23={class:"field-item"};function _sfc_render$3(e,t,n,o,s,r){return openBlock(),createElementBlock("div",_hoisted_1$1,[t[40]||(t[40]=createBaseVNode("h2",null,"Offer Action",-1)),t[41]||(t[41]=createBaseVNode("p",null,' Configuration of the mashup displayed when clicking on the "Apply now" button inside the main offer of the offer page (offer.html) ',-1)),createBaseVNode("div",_hoisted_2$1,[createBaseVNode("div",_hoisted_3,[createBaseVNode("div",_hoisted_4,[createBaseVNode("div",_hoisted_5,[t[21]||(t[21]=createBaseVNode("label",{for:"offeraction-action"},"Action",-1)),withDirectives(createBaseVNode("select",{id:"offeraction-action","onUpdate:modelValue":t[0]||(t[0]=l=>e.settings.offeraction.action=l),onChange:t[1]||(t[1]=(...l)=>r.onActionChange&&r.onActionChange(...l))},[t[17]||(t[17]=createBaseVNode("option",null,"createNewWork",-1)),t[18]||(t[18]=createBaseVNode("option",null,"display",-1)),e.settings.general.connection.type.indexOf("dx")===-1?(openBlock(),createElementBlock("option",_hoisted_6," getNextWork ")):createCommentVNode("",!0),t[19]||(t[19]=createBaseVNode("option",null,"openAssignment",-1)),e.settings.general.connection.type==="mashup"?(openBlock(),createElementBlock("option",_hoisted_7," openWorkItem ")):createCommentVNode("",!0),t[20]||(t[20]=createBaseVNode("option",null,"openWorkByHandle",-1))],544),[[vModelSelect,e.settings.offeraction.action]])]),e.settings.offeraction.action!=="createNewWork"&&e.settings.offeraction.action!=="getNextWork"?(openBlock(),createElementBlock("div",_hoisted_8,[t[23]||(t[23]=createBaseVNode("label",{for:"offeraction-actionparam"},"Action parameter",-1)),e.settings.general.connection.type.indexOf("dx")===-1||e.settings.offeraction.action!=="display"?withDirectives((openBlock(),createElementBlock("input",{key:0,id:"offeraction-actionparam",type:"text","onUpdate:modelValue":t[2]||(t[2]=l=>e.settings.offeraction.actionparam=l)},null,512)),[[vModelText,e.settings.offeraction.actionparam]]):withDirectives((openBlock(),createElementBlock("select",{key:1,id:"offeraction-action","onUpdate:modelValue":t[3]||(t[3]=l=>e.settings.offeraction.actionparam=l)},t[22]||(t[22]=[createBaseVNode("option",{value:"workList",selected:""},"Show the worklist",-1),createBaseVNode("option",{value:"taskList"},"Show a tasklist",-1),createBaseVNode("option",{value:"dataView"},"Display a data view",-1)]),512)),[[vModelSelect,e.settings.offeraction.actionparam]])])):createCommentVNode("",!0),e.settings.offeraction.action==="createNewWork"||e.settings.general.connection.type.indexOf("dx")===-1&&e.settings.offeraction.action==="display"?(openBlock(),createElementBlock("div",_hoisted_9,[t[24]||(t[24]=createBaseVNode("label",{for:"offeraction-objclass"},"Classname",-1)),withDirectives(createBaseVNode("input",{id:"offeraction-objclass",type:"text","onUpdate:modelValue":t[4]||(t[4]=l=>e.settings.offeraction.objclass=l)},null,512),[[vModelText,e.settings.offeraction.objclass]])])):createCommentVNode("",!0),e.settings.general.connection.type.indexOf("dx")===0&&e.settings.offeraction.action==="display"?(openBlock(),createElementBlock("div",_hoisted_10,[t[25]||(t[25]=createBaseVNode("label",{for:"offeraction-heading"},"Heading",-1)),withDirectives(createBaseVNode("input",{id:"offeraction-heading",type:"text","onUpdate:modelValue":t[5]||(t[5]=l=>e.settings.offeraction.heading=l)},null,512),[[vModelText,e.settings.offeraction.heading]])])):createCommentVNode("",!0),e.settings.general.connection.type==="mashup"&&e.settings.offeraction.action==="createNewWork"?(openBlock(),createElementBlock("div",_hoisted_11,[t[26]||(t[26]=createBaseVNode("label",{for:"offeraction-startcase"},"Start case",-1)),withDirectives(createBaseVNode("input",{id:"offeraction-startcase",type:"text","onUpdate:modelValue":t[6]||(t[6]=l=>e.settings.offeraction.startcase=l)},null,512),[[vModelText,e.settings.offeraction.startcase]])])):createCommentVNode("",!0),createBaseVNode("div",_hoisted_12,[t[27]||(t[27]=createBaseVNode("label",{for:"offeraction-url"},"URL",-1)),withDirectives(createBaseVNode("input",{id:"offeraction-url",type:"text","onUpdate:modelValue":t[7]||(t[7]=l=>e.settings.offeraction.url=l)},null,512),[[vModelText,e.settings.offeraction.url]])]),e.settings.general.connection.type!=="launchpad"?(openBlock(),createElementBlock("div",_hoisted_13,[t[28]||(t[28]=createBaseVNode("label",{for:"offeraction-application"},"Application name / alias",-1)),withDirectives(createBaseVNode("input",{id:"offeraction-application",type:"text","onUpdate:modelValue":t[8]||(t[8]=l=>e.settings.offeraction.application=l)},null,512),[[vModelText,e.settings.offeraction.application]])])):createCommentVNode("",!0),e.settings.general.connection.type!=="launchpad"?(openBlock(),createElementBlock("div",_hoisted_14,[t[29]||(t[29]=createBaseVNode("label",{for:"offeraction-username"},"Username (for unauthenticated access)",-1)),withDirectives(createBaseVNode("input",{id:"offeraction-username",type:"text","onUpdate:modelValue":t[9]||(t[9]=l=>e.settings.offeraction.username=l)},null,512),[[vModelText,e.settings.offeraction.username]])])):createCommentVNode("",!0),e.settings.general.connection.type!=="launchpad"?(openBlock(),createElementBlock("div",_hoisted_15,[t[30]||(t[30]=createBaseVNode("label",{for:"offeraction-password"},"Password (for unauthenticated access)",-1)),withDirectives(createBaseVNode("input",{id:"offeraction-password",type:"password","onUpdate:modelValue":t[10]||(t[10]=l=>e.settings.offeraction.password=l)},null,512),[[vModelText,e.settings.offeraction.password]])])):createCommentVNode("",!0),e.settings.general.connection.type==="mashup"?(openBlock(),createElementBlock("div",_hoisted_16,[t[31]||(t[31]=createBaseVNode("label",{for:"offeraction-channelid"},"Channel ID",-1)),withDirectives(createBaseVNode("input",{id:"offeraction-channelid",type:"text","onUpdate:modelValue":t[11]||(t[11]=l=>e.settings.offeraction.channelid=l)},null,512),[[vModelText,e.settings.offeraction.channelid]])])):createCommentVNode("",!0),e.settings.general.connection.type==="mashup"?(openBlock(),createElementBlock("div",_hoisted_17,[t[32]||(t[32]=createBaseVNode("label",{for:"offeraction-tenantid"},"Tenant ID",-1)),withDirectives(createBaseVNode("input",{id:"offeraction-tenantid",type:"text","onUpdate:modelValue":t[12]||(t[12]=l=>e.settings.offeraction.tenantid=l)},null,512),[[vModelText,e.settings.offeraction.tenantid]])])):createCommentVNode("",!0),e.settings.general.connection.type.startsWith("embedui")?(openBlock(),createElementBlock("div",_hoisted_18,[t[36]||(t[36]=createBaseVNode("label",{for:"offeraction-pagetemplate"},"Page Template",-1)),withDirectives(createBaseVNode("select",{id:"offeraction-pagetemplate","onUpdate:modelValue":t[13]||(t[13]=l=>e.settings.offeraction.pageTemplate=l)},[t[33]||(t[33]=createBaseVNode("option",{value:"full"},"Full case page",-1)),t[34]||(t[34]=createBaseVNode("option",{value:"assignment",selected:""},"Assignment only",-1)),t[35]||(t[35]=createBaseVNode("option",{value:"assignmentWithStages"}," Assignment with stages ",-1)),e.settings.general.connection.type==="embedui2"||e.settings.general.connection.type==="embedui3"?(openBlock(),createElementBlock("option",_hoisted_19," Simplified assignment ")):createCommentVNode("",!0)],512),[[vModelSelect,e.settings.offeraction.pageTemplate]])])):createCommentVNode("",!0),e.settings.general.connection.type==="mashup"?(openBlock(),createElementBlock("div",_hoisted_20,[withDirectives(createBaseVNode("input",{id:"offeraction-dataretained",type:"checkbox","onUpdate:modelValue":t[14]||(t[14]=l=>e.settings.offeraction.dataretained=l)},null,512),[[vModelCheckbox,e.settings.offeraction.dataretained]]),t[37]||(t[37]=createBaseVNode("label",{class:"width-auto",for:"offeraction-dataretained"},"Retain state on reload",-1))])):createCommentVNode("",!0),e.settings.general.connection.type.startsWith("embedui")?(openBlock(),createElementBlock("div",_hoisted_21,[withDirectives(createBaseVNode("input",{id:"offeraction-hideassignmentheader",type:"checkbox","onUpdate:modelValue":t[15]||(t[15]=l=>e.settings.offeraction.hideassignmentheader=l)},null,512),[[vModelCheckbox,e.settings.offeraction.hideassignmentheader]]),t[38]||(t[38]=createBaseVNode("label",{class:"width-auto",for:"offeraction-hideassignmentheader"},"Hide assignment header",-1))])):createCommentVNode("",!0)]),createBaseVNode("div",_hoisted_22,[createBaseVNode("div",_hoisted_23,[t[39]||(t[39]=createBaseVNode("label",{for:"offeraction-extraparam"},"Extra parameters (for example 'key1=value1,key2=value2')",-1)),withDirectives(createBaseVNode("textarea",{id:"offeraction-extraparam","onUpdate:modelValue":t[16]||(t[16]=l=>e.settings.offeraction.extraparam=l)},null,512),[[vModelText,e.settings.offeraction.extraparam]])])])])])])}const OfferActionSettings=_export_sfc(_sfc_main$3,[["render",_sfc_render$3]]),_sfc_main$2={data(){return{...mainconfig}},setup(){return{active:ref(0)}},methods:{processForm(e){window.loadPage=new Date,mainconfig.isAuthenticated=!1,mainconfig.userId=-1,mainconfig.quickLinkId=-1,mainconfig.viewBill=-1,mainconfig.homeHeroAction=-1,mainconfig.offerAction=-1,mainconfig.toDo=-1,mainconfig.viewKMHelp=-1,mainconfig.viewBanner=-1,mainconfig.CDHContainer={},mainconfig.offerURL="",mainconfig.previousPage="",mainconfig.intent="",mainconfig.isDeepLink=!1,mainconfig.deepLinkExtraParam={},e.submitter.getAttribute("data-clear")!==null?localStorage.clear():localStorage.setItem(`config_${this.app.industry}`,JSON.stringify(mainconfig)),sessionStorage.clear(),mainconfig.ExternalID&&sessionStorage.setItem("ExternalID",mainconfig.ExternalID)}},components:{Navigation,Tab,GettingStarted,General,QuickLinksSettings,BillPaySettings,BannerSettings,ToDoSettings,ActivitySettings,HomeHeroActionSettings,UsersSettings,KMHelpSettings,ChatSettings,NBAMSettings,OfferActionSettings,TopNav}};function _sfc_render$2(e,t,n,o,s,r){const l=resolveComponent("TopNav"),a=resolveComponent("GettingStarted"),c=resolveComponent("tab"),d=resolveComponent("General"),u=resolveComponent("UsersSettings"),m=resolveComponent("QuickLinksSettings"),f=resolveComponent("BannerSettings"),v=resolveComponent("ToDoSettings"),y=resolveComponent("BillPaySettings"),C=resolveComponent("ActivitySettings"),x=resolveComponent("ChatSettings"),k=resolveComponent("NBAMSettings"),_=resolveComponent("KMHelpSettings"),B=resolveComponent("HomeHeroActionSettings"),g=resolveComponent("OfferActionSettings"),N=resolveComponent("Navigation");return openBlock(),createElementBlock("form",{id:"settings",onSubmit:t[1]||(t[1]=(...w)=>r.processForm&&r.processForm(...w))},[e.isMobilePhone?(openBlock(),createBlock(l,{key:0,previousPhonePage:"index.html"},{default:withCtx(()=>t[2]||(t[2]=[createBaseVNode("button",{type:"submit","data-clear":"",class:"simple margin-r-2x"}," Reset to default ",-1),createBaseVNode("button",{class:"strong",type:"submit"},"Save",-1)])),_:1})):createCommentVNode("",!0),createVNode(N,{modelValue:o.active,"onUpdate:modelValue":t[0]||(t[0]=w=>o.active=w)},{default:withCtx(()=>[createVNode(c,{name:"Getting Started"},{default:withCtx(()=>[createVNode(a)]),_:1}),typeof e.settings.general<"u"?(openBlock(),createBlock(c,{key:0,name:"General"},{default:withCtx(()=>[createVNode(d)]),_:1})):createCommentVNode("",!0),createVNode(c,{name:"Users"},{default:withCtx(()=>[createVNode(u)]),_:1}),createVNode(c,{name:"Quick Links"},{default:withCtx(()=>[createVNode(m)]),_:1}),typeof e.settings.banner<"u"?(openBlock(),createBlock(c,{key:1,name:"Banner component"},{default:withCtx(()=>[createVNode(f)]),_:1})):createCommentVNode("",!0),typeof e.settings.todo<"u"?(openBlock(),createBlock(c,{key:2,name:"To Do component"},{default:withCtx(()=>[createVNode(v)]),_:1})):createCommentVNode("",!0),typeof e.settings.billpay<"u"?(openBlock(),createBlock(c,{key:3,name:"Bill Pay component"},{default:withCtx(()=>[createVNode(y)]),_:1})):createCommentVNode("",!0),typeof e.settings.activity<"u"?(openBlock(),createBlock(c,{key:4,name:"Activity component"},{default:withCtx(()=>[createVNode(C)]),_:1})):createCommentVNode("",!0),typeof e.settings.pega_chat<"u"?(openBlock(),createBlock(c,{key:5,name:"Messaging and Co-Browse"},{default:withCtx(()=>[createVNode(x)]),_:1})):createCommentVNode("",!0),typeof e.settings.pega_marketing<"u"?(openBlock(),createBlock(c,{key:6,name:"Customer Decision Hub"},{default:withCtx(()=>[createVNode(k)]),_:1})):createCommentVNode("",!0),typeof e.settings.kmhelp<"u"?(openBlock(),createBlock(c,{key:7,name:"Knowledge Management"},{default:withCtx(()=>[createVNode(_)]),_:1})):createCommentVNode("",!0),createVNode(c,{name:"Home Hero Action"},{default:withCtx(()=>[createVNode(B)]),_:1}),typeof e.settings.offeraction<"u"?(openBlock(),createBlock(c,{key:8,name:"Offer Action"},{default:withCtx(()=>[createVNode(g)]),_:1})):createCommentVNode("",!0)]),_:1},8,["modelValue"])],32)}const Main=_export_sfc(_sfc_main$2,[["render",_sfc_render$2]]),_sfc_main$1={components:{Header,Main}},_hoisted_1={class:"front"},_hoisted_2={class:"flex flex-col"};function _sfc_render$1(e,t,n,o,s,r){const l=resolveComponent("Header"),a=resolveComponent("Main");return openBlock(),createElementBlock("div",_hoisted_1,[createVNode(l),createBaseVNode("main",_hoisted_2,[createVNode(a)])])}const SettingsPage=_export_sfc(_sfc_main$1,[["render",_sfc_render$1]]),_sfc_main={data(){return mainconfig},created(){this.currentPage=window.location.pathname.substring(window.location.pathname.lastIndexOf("/")+1),window.history&&window.history.state!==null&&typeof window.history.state.page<"u"&&(this.currentPage=window.history.state.page,window.history.replaceState({},"",this.currentPage+window.location.search),setTimeout(()=>{window.scrollTo({top:0,behavior:"smooth"})},0)),this.currentPage==="heroaction"&&(mainconfig.homeHeroAction=1),this.currentPage.indexOf("offer")===0&&this.currentPage.indexOf("offer.html")!==0&&(mainconfig.offerIndex=parseInt(this.currentPage.substring(5).replace(".html",""),10)),mainconfig.currentPage=this.currentPage,this.$gtag&&this.$gtag.pageview({page_path:mainconfig.currentPage}),sendClickStreamEvent(mainconfig,"Access"),window.loadPage=new Date},components:{DefaultPage,OfferPage,SettingsPage}};function _sfc_render(e,t,n,o,s,r){const l=resolveComponent("DefaultPage"),a=resolveComponent("OfferPage"),c=resolveComponent("SettingsPage");return e.currentPage.indexOf("index.html")===0?(openBlock(),createBlock(l,{key:0})):e.currentPage.indexOf("offer")===0?(openBlock(),createBlock(a,{key:1})):e.currentPage.indexOf("settings.html")===0?(openBlock(),createBlock(c,{key:2})):(openBlock(),createBlock(l,{key:3}))}const MainPage=_export_sfc(_sfc_main,[["render",_sfc_render]]);function _defineProperty(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ownKeys(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(s){return Object.getOwnPropertyDescriptor(e,s).enumerable})),n.push.apply(n,o)}return n}function _objectSpread2(e){for(var t=1;t1&&arguments[1]!==void 0?arguments[1]:{};return new Promise(function(o,s){if(!(typeof document>"u")){var r=document.head||document.getElementsByTagName("head")[0],l=document.createElement("script");if(l.async=!0,l.src=t,l.defer=n.defer,n.preconnectOrigin){var a=document.createElement("link");a.href=n.preconnectOrigin,a.rel="preconnect",r.appendChild(a)}r.appendChild(l),l.onload=o,l.onerror=s}})},mergeDeep=function e(t){for(var n=arguments.length,o=new Array(n>1?n-1:0),s=1;s"u"||typeof document>"u")},warn=function e(t){},validateScreenviewShape=function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return warn('Missing "appName" property inside the plugin options.',t.app_name==null),warn('Missing "name" property in the route.',t.screen_name==null),t};function getPathWithBase(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",n=e.split("/"),o=t.split("/");return n[0]===""&&t[t.length-1]==="/"&&n.shift(),o.join("/")+n.join("/")}var getDefaultParams=function e(){return{bootstrap:!0,onReady:null,onError:null,onBeforeTrack:null,onAfterTrack:null,pageTrackerTemplate:null,customResourceURL:"https://www.googletagmanager.com/gtag/js",customPreconnectOrigin:"https://www.googletagmanager.com",deferScriptLoad:!1,pageTrackerExcludedRoutes:[],pageTrackerEnabled:!0,enabled:!0,disableScriptLoad:!1,pageTrackerScreenviewEnabled:!1,appName:null,pageTrackerUseFullPath:!1,pageTrackerPrependBase:!0,pageTrackerSkipSamePath:!0,globalDataLayerName:"dataLayer",globalObjectName:"gtag",defaultGroupName:"default",includes:null,config:{id:null,params:{send_page_view:!1}}}},params={},setOptions=function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=getDefaultParams();params=mergeDeep(n,t)},getOptions=function e(){return params},query=function(){var e,t=getOptions(),n=t.globalObjectName;!isBrowser()||typeof window[n]>"u"||(e=window)[n].apply(e,arguments)},config=function(){for(var e=arguments.length,t=new Array(e),n=0;n0&&arguments[0]!==void 0?arguments[0]:!0,t=getOptions(),n=t.config,o=t.includes;assignGlobalProperty(n.id,e),Array.isArray(o)&&o.forEach(function(s){return assignGlobalProperty(s.id,e)})},optOut=function(){disable(!0)},optIn=function(){disable(!1)},router,setRouter=function e(t){router=t},getRouter=function e(){return router},event=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=getOptions(),o=n.includes,s=n.defaultGroupName;t.send_to==null&&Array.isArray(o)&&o.length&&(t.send_to=o.map(function(r){return r.id}).concat(s)),query("event",e,t)},pageview=function(e){if(isBrowser()){var t;if(typeof e=="string")t={page_path:e};else if(e.path||e.fullPath){var n=getOptions(),o=n.pageTrackerUseFullPath,s=n.pageTrackerPrependBase,r=getRouter(),l=r&&r.options.base,a=o?e.fullPath:e.path;t=_objectSpread2(_objectSpread2({},e.name&&{page_title:e.name}),{},{page_path:s?getPathWithBase(a,l):a})}else t=e;t.page_location==null&&(t.page_location=window.location.href),t.send_page_view==null&&(t.send_page_view=!0),event("page_view",t)}},screenview=function(e){var t=getOptions(),n=t.appName;if(e){var o;typeof e=="string"?o={screen_name:e}:o=e,o.app_name=o.app_name||n,event("screen_view",o)}},exception=function(){for(var e=arguments.length,t=new Array(e),n=0;n0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=getOptions(),o=n.appName,s=n.pageTrackerTemplate,r=n.pageTrackerScreenviewEnabled,l=n.pageTrackerSkipSamePath;if(!(l&&e.path===t.path)){var a=e;if(isFunction$1(s)?a=s(e,t):r&&(a=validateScreenviewShape({app_name:o,screen_name:e.name})),r){screenview(a);return}pageview(a)}},isRouteExcluded=function e(t){var n=getOptions(),o=n.pageTrackerExcludedRoutes;return o.includes(t.path)||o.includes(t.name)},addRoutesTracker=function(){var e=getOptions(),t=e.onBeforeTrack,n=e.onAfterTrack,o=getRouter();o.isReady().then(function(){nextTick().then(function(){var s=o.currentRoute;addConfiguration(),!isRouteExcluded(s.value)&&track(s.value)}),o.afterEach(function(s,r){nextTick().then(function(){isRouteExcluded(s)||(isFunction$1(t)&&t(s,r),track(s,r),isFunction$1(n)&&n(s,r))})})})},bootstrap=function(){var e=getOptions(),t=e.onReady,n=e.onError,o=e.globalObjectName,s=e.globalDataLayerName,r=e.config,l=e.customResourceURL,a=e.customPreconnectOrigin,c=e.deferScriptLoad,d=e.pageTrackerEnabled,u=e.disableScriptLoad,m=!!(d&&getRouter());if(registerGlobals(),m?addRoutesTracker():addConfiguration(),!u)return load("".concat(l,"?id=").concat(r.id,"&l=").concat(s),{preconnectOrigin:a,defer:c}).then(function(){t&&t(window[o])}).catch(function(f){return n&&n(f),f})},install=function e(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=arguments.length>2?arguments[2]:void 0;attachApi(t),setOptions(n),setRouter(o),getOptions().bootstrap&&bootstrap()};const app=createApp(MainPage);if(window.parent){const e=document.getElementById("app");e&&e.classList.add("app-iframe");const t=()=>{window.parent.postMessage({type:"resize",height:document.body.scrollHeight},"*")};new ResizeObserver(()=>t()).observe(document.body)}let handleOutsideClick;app.directive("clickoutside",{mounted(e,t){handleOutsideClick=n=>{n.stopPropagation();const{handler:o}=t.value;e.contains(n.target)||t.instance[o](n)},document.addEventListener("click",handleOutsideClick),document.addEventListener("touchstart",handleOutsideClick)},unmounted(){document.removeEventListener("click",handleOutsideClick),document.removeEventListener("touchstart",handleOutsideClick)}});app.use(i18n);app.use(install,{config:{id:mainconfig.settings.general.ga.trackingid},appName:"Uplus",enabled:!0});app.mount("#app"); + >`,c.appendChild(d);return}e.url.indexOf("/prweb/")!==0&&(e.url=e.url.substring(0,e.url.indexOf("/prweb")+6)),this.userId!==-1?(e.username=this.settings.users[this.userId].pega_userid,e.password=this.settings.users[this.userId].pega_pwd):this.homeHeroAction!==-1?(e.username=this.settings.homeheroaction.pega_userid,e.password=this.settings.homeheroaction.pega_pwd):this.offerAction!==-1&&(e.username=this.settings.offeraction.pega_userid,e.password=this.settings.offeraction.pega_pwd),this.settings.general.connection.type==="dxv2"&&(e.portalName=this.settings.general.connection.webportal),this.settings.general.connection.authtype==="oauth2password"&&(e.clientid=this.settings.general.connection.clientid,e.clientsecret=this.settings.general.connection.clientsecret),e.authentication=this.settings.general.connection.authtype;let a={};if(l.split(",").forEach(c=>{const d=c.split("=");d.length===2&&setObjectFromRef(a,d[0].trim(),d[1].trim())}),this.userId!==-1&&typeof this.settings.users[this.userId].extraparam<"u"&&this.settings.users[this.userId].extraparam!==""&&this.settings.users[this.userId].extraparam.split(",").forEach(c=>{const d=c.split("=");d.length===2&&setObjectFromRef(a,d[0].trim(),d[1].trim())}),Object.keys(a).length>0&&(e.initialContent=a),e.addEventListener("message",c=>{c.detail.type==="cancel"&&this.goHomePage()}),typeof litElementVersions>"u"){const c=document.createElement("script");c.setAttribute("src","../js/pega-mashup-webcomponent-light-all.js"),document.head.appendChild(c)}},methods:{goHomePage(){mainconfig.quickLinkId=-1,mainconfig.viewBill=-1,mainconfig.viewBanner=-1,mainconfig.homeHeroAction=-1,mainconfig.offerAction=-1,mainconfig.toDo=-1,mainconfig.viewKMHelp=-1,mainconfig.offerURL="",mainconfig.offerIndex=0,mainconfig.CDHContainer={},window.history&&(mainconfig.isAuthenticated?(mainconfig.currentPage="account",window.history.pushState({userId:mainconfig.userId},"",mainconfig.currentPage)):(mainconfig.currentPage="index.html",window.history.pushState({},"",mainconfig.currentPage)),setTimeout(()=>{window.scrollTo({top:0,behavior:"smooth"})},0)),sendClickStreamEvent(mainconfig,"PageView","Home",window.loadPage),window.loadPage=new Date}}},_hoisted_1$M={key:0,class:"pega-mashup",ref:"mycomp"},_hoisted_2$G={key:1,class:"pega-mashup",ref:"mycomp"};function _sfc_render$Q(e,t,n,o,s,r){return this.settings.general.connection.type==="dxv2"?(openBlock(),createElementBlock("pega-mashup-light-v2",_hoisted_1$M,null,512)):(openBlock(),createElementBlock("pega-mashup-light",_hoisted_2$G,null,512))}const WebComponent=_export_sfc(_sfc_main$S,[["render",_sfc_render$Q]]),_sfc_main$R={props:{showActivity:Boolean},data(){return{...mainconfig,action:"",actionparam:"",objClass:"",application:void 0,url:"",pegaServerType:void 0,authorizeUri:void 0,staticContentUrl:void 0,showAssignmentHeader:!0,reloadTitle:!1,pageTemplate:"assignment",authService:void 0,clientId:"",caseTitle:"",isWebEmbedInitialized:!1,UserIdentifier:void 0,Password:void 0,theme:void 0,themeID:void 0,startingFields:{},extraParam:"",embedEventFn:e=>{e.type==="embedcloseconfirmview"||e.type==="embedcaseclosed"||e.type==="embedeventcancel"?top.postMessage("pegaMashupNavigateBack",location.origin):e.type==="embedprocessingend"?setTimeout(()=>{const t=document.querySelector("pega-embed");!t||t.clientHeight===0?top.postMessage("pegaMashupNavigateBack",location.origin):this.reloadTitle&&setTimeout(()=>{const n=t.getEmbedData(".pyLabel");if(n){const o=document.querySelector("h1");o&&(o.innerHTML=n)}},1e3)},300):e.type==="embedreauth"&&document.querySelector("pega-embed").login(!0)}}},mounted(){if(sessionStorage.clear(),this.quickLinkId!==-1?(this.action=this.settings.quicklinks[this.quickLinkId].action,this.url=this.settings.quicklinks[this.quickLinkId].url,this.actionparam=this.settings.quicklinks[this.quickLinkId].actionparam,this.pageTemplate=this.settings.quicklinks[this.quickLinkId].pageTemplate,this.showAssignmentHeader=!this.settings.quicklinks[this.quickLinkId].hideassignmentheader,this.reloadTitle=this.settings.quicklinks[this.quickLinkId].reloadtitle,this.application=this.settings.quicklinks[this.quickLinkId].application,this.objClass=this.settings.quicklinks[this.quickLinkId].objclass,this.caseTitle=this.settings.quicklinks[this.quickLinkId].title[this.currentLocale],this.extraParam=this.settings.quicklinks[this.quickLinkId].extraparam):this.viewBill!==-1?(this.action=this.settings.billpay.action,this.actionparam=this.settings.billpay.actionparam,this.pageTemplate=this.settings.billpay.pageTemplate,this.showAssignmentHeader=!this.settings.billpay.hideassignmentheader,this.application=this.settings.billpay.application,this.url=this.settings.billpay.url,this.objClass=this.settings.billpay.objclass,this.extraParam=this.settings.billpay.extraparam):this.viewBanner!==-1?(this.action=this.settings.banner.action,this.actionparam=this.settings.banner.actionparam,this.pageTemplate=this.settings.banner.pageTemplate,this.showAssignmentHeader=!this.settings.banner.hideassignmentheader,this.application=this.settings.banner.application,this.url=this.settings.banner.url,this.objClass=this.settings.banner.objclass,this.extraParam=this.settings.banner.extraparam):this.homeHeroAction!==-1?(this.action=this.settings.homeheroaction.action,this.actionparam=this.settings.homeheroaction.actionparam,this.pageTemplate=this.settings.homeheroaction.pageTemplate,this.showAssignmentHeader=!this.settings.homeheroaction.hideassignmentheader,this.application=this.settings.homeheroaction.application,this.url=this.settings.homeheroaction.url,this.objClass=this.settings.homeheroaction.objclass,this.extraParam=this.settings.homeheroaction.extraparam):this.offerAction!==-1?(this.action=this.settings.offeraction.action,this.actionparam=this.settings.offeraction.actionparam,this.pageTemplate=this.settings.offeraction.pageTemplate,this.showAssignmentHeader=!this.settings.offeraction.hideassignmentheader,this.application=this.settings.offeraction.application,this.url=this.settings.offeraction.url,this.objClass=this.settings.offeraction.objclass,this.extraParam=this.settings.offeraction.extraparam):this.viewKMHelp!==-1?(this.action=this.settings.kmhelp.action,this.actionparam=this.settings.kmhelp.actionparam,this.pageTemplate=this.settings.kmhelp.pageTemplate,this.showAssignmentHeader=!this.settings.kmhelp.hideassignmentheader,this.application=this.settings.kmhelp.application,this.url=this.settings.kmhelp.url,this.objClass=this.settings.kmhelp.objclass,this.extraParam=this.settings.kmhelp.extraparam):this.showActivity?(this.action=this.settings.activity.action,this.actionparam=this.settings.activity.actionparam,this.pageTemplate=this.settings.activity.pageTemplate,this.showAssignmentHeader=!this.settings.activity.hideassignmentheader,this.application=this.settings.activity.application,this.url=this.settings.activity.url,this.objClass=this.settings.activity.objclass,this.extraParam=this.settings.activity.extraparam):(this.action=this.settings.todo.action,this.actionparam=this.settings.todo.actionparam,this.pageTemplate=this.settings.todo.pageTemplate,this.showAssignmentHeader=!this.settings.todo.hideassignmentheader,this.application=this.settings.todo.application,this.url=this.settings.todo.url,this.objClass=this.settings.todo.objclass,this.extraParam=this.settings.todo.extraparam),this.action==="display"?this.action="openPage":this.action==="createNewWork"?this.action="createCase":this.action==="openAssignment"?this.action="openAssignment":this.action==="openWorkByHandle"?this.action="openCase":this.action==="getNextWork"&&(this.action="getNextWork"),this.userId!==-1?(this.UserIdentifier=this.settings.users[this.userId].pega_userid,this.Password=encodeURI(btoa(this.settings.users[this.userId].pega_pwd))):this.viewKMHelp!==-1?(this.UserIdentifier=this.settings.kmhelp.username,this.Password=encodeURI(btoa(this.settings.kmhelp.password))):this.homeHeroAction!==-1?(this.UserIdentifier=this.settings.homeheroaction.pega_userid,this.Password=encodeURI(btoa(this.settings.homeheroaction.pega_pwd))):this.offerAction!==-1&&(this.UserIdentifier=this.settings.offeraction.username,this.Password=encodeURI(btoa(this.settings.offeraction.password))),this.UserIdentifier||(this.UserIdentifier=void 0),this.Password||(this.Password=void 0),(this.settings.general.connection.type==="embedui3"||this.settings.general.connection.type==="launchpad")&&this.settings.general.connection.themeID?this.themeID=this.settings.general.connection.themeID:this.settings.general.connection.type!=="launchpad"&&(this.app.industry==="comms"?this.theme='{"base":{"palette":{"brand-primary":"#5F257E","app-background": "#FFFFFF","interactive":"#5F257E"},"shadow":{"low": "none"}},"components":{"button":{"border-radius":"0.25"}}}':this.app.industry.indexOf("health")===0?this.theme='{"base":{"palette":{"brand-primary":"#0C8487","app-background": "#FFFFFF","interactive":"#0C8487"},"shadow":{"low": "none"}},"components":{"button":{"border-radius":"0.25"}}}':this.app.industry==="gov"?this.theme='{"base":{"palette":{"brand-primary":"#076bc9","app-background": "#FFFFFF,"interactive":"#076bc9"},"shadow":{"low": "none"}},"components":{"button":{"border-radius":"0.25"}}}':this.app.industry==="retail_bank"||this.app.industry==="commercial_bank"?this.theme='{"base":{"palette":{"brand-primary":"#005501","app-background": "#FFFFFF","interactive":"#005501"},"shadow":{"low": "none"}},"components":{"button":{"border-radius":"0.25"}}}':(this.app.industry==="insurance"||this.app.industry==="manufacturing"||this.app.industry==="auto")&&(this.theme='{"base":{"palette":{"brand-primary":"#CA0000","app-background": "#FFFFFF","interactive":"#CA0000"},"shadow":{"low": "none"}},"components":{"button":{"border-radius":"0.25"}}}'),this.settings.general.theming.override&&(this.theme=`{"base":{"palette":{"brand-primary":"${this.settings.general.theming.brandColor}","interactive":"${this.settings.general.theming.interactiveColor}","app-background": "#FFFFFF"},"shadow":{"low": "none"}},"components":{"button":{"border-radius":"0.25"}}}`)),this.extraParamContent={},this.extraParam.split(",").forEach(e=>{const t=e.split("=");t.length===2&&setObjectFromRef(this.extraParamContent,t[0].trim(),t[1].trim())}),this.userId!==-1&&typeof this.settings.users[this.userId].extraparam<"u"&&this.settings.users[this.userId].extraparam!==""&&this.settings.users[this.userId].extraparam.split(",").forEach(e=>{const t=e.split("=");t.length===2&&setObjectFromRef(this.extraParamContent,t[0].trim(),t[1].trim())}),this.isDeepLink===!0){for(const e in this.deepLinkExtraParam)setObjectFromRef(this.extraParamContent,e,this.deepLinkExtraParam[e]);mainconfig.isDeepLink=!1,mainconfig.deepLinkExtraParam={}}this.settings.general.connection.type==="embedui"&&(this.staticContentUrl=this.settings.general.connection.c11nserver),this.settings.general.connection.type==="launchpad"?(this.pegaServerType="launchpad",this.authorizeUri=this.settings.general.connection.authorizeUri,this.UserIdentifier=void 0,this.Password=void 0,this.application=void 0):this.authService=this.settings.general.connection.authService,this.clientId=this.settings.general.connection.clientid,this.isWebEmbedInitialized="true"},updated(){const e=this.$refs.mycomp;this.action==="createCase"&&e.setAttribute("startingFields",JSON.stringify(this.extraParamContent)),e.addEventListener("embedprocessingend",this.embedEventFn),e.addEventListener("embedready",this.embedEventFn),e.addEventListener("embedcloseconfirmview",this.embedEventFn),e.addEventListener("embedcaseclosed",this.embedEventFn),e.addEventListener("embedeventcancel",this.embedEventFn),e.addEventListener("embedreauth",this.embedEventFn)},beforeUnmount(){const e=this.$refs.mycomp;e.removeEventListener("embedprocessingend",this.embedEventFn),e.removeEventListener("embedready",this.embedEventFn),e.removeEventListener("embedcloseconfirmview",this.embedEventFn),e.removeEventListener("embedcaseclosed",this.embedEventFn),e.removeEventListener("embedeventcancel",this.embedEventFn),e.removeEventListener("embedreauth",this.embedEventFn)},methods:{goHomePage(){mainconfig.quickLinkId=-1,mainconfig.viewBill=-1,mainconfig.viewBanner=-1,mainconfig.homeHeroAction=-1,mainconfig.offerAction=-1,mainconfig.toDo=-1,mainconfig.viewKMHelp=-1,mainconfig.offerURL="",mainconfig.offerIndex=0,mainconfig.CDHContainer={},window.history&&(mainconfig.isAuthenticated?(mainconfig.currentPage="account",window.history.pushState({userId:mainconfig.userId},"",mainconfig.currentPage)):(mainconfig.currentPage="index.html",window.history.pushState({},"",mainconfig.currentPage)),setTimeout(()=>{window.scrollTo({top:0,behavior:"smooth"})},0)),sendClickStreamEvent(mainconfig,"PageView","Home",window.loadPage),window.loadPage=new Date}}},_hoisted_1$L=["casePage","assignmentHeader","action","pageID","pageClass","appAlias","pegaServerUrl","staticContentUrl","pegaServerType","authorizeUri","authService","clientId","userIdentifier","password","theme","themeID"],_hoisted_2$F=["casePage","assignmentHeader","action","caseTypeID","startingFields","appAlias","pegaServerUrl","staticContentUrl","pegaServerType","authorizeUri","authService","clientId","userIdentifier","password","theme","themeID"],_hoisted_3$x=["casePage","assignmentHeader","action","assignmentID","appAlias","pegaServerUrl","staticContentUrl","pegaServerType","authorizeUri","authService","clientId","userIdentifier","password","theme","themeID"],_hoisted_4$s=["casePage","assignmentHeader","action","caseID","appAlias","pegaServerUrl","staticContentUrl","pegaServerType","authorizeUri","authService","clientId","userIdentifier","password","theme","themeID"],_hoisted_5$s=["casePage","assignmentHeader","action","appAlias","pegaServerUrl","staticContentUrl","pegaServerType","authorizeUri","authService","clientId","userIdentifier","password","theme","themeID"],_hoisted_6$q={key:1};function _sfc_render$P(e,t,n,o,s,r){return s.isWebEmbedInitialized?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(["margin-b-3x",e.settings.general.connection.webEmbedUseFormWidth?"form-width":""])},[createBaseVNode("h1",null,toDisplayString$1(s.caseTitle),1),s.action==="openPage"?(openBlock(),createElementBlock("pega-embed",{key:0,popupReauth:"false",autoReauth:"true",silentTimeout:"10000",ref:"mycomp",casePage:s.pageTemplate,assignmentHeader:s.showAssignmentHeader,action:s.action,pageID:s.actionparam,pageClass:s.objClass,appAlias:s.application,pegaServerUrl:s.url,staticContentUrl:s.staticContentUrl,pegaServerType:s.pegaServerType,authorizeUri:s.authorizeUri,authService:s.authService,clientId:s.clientId,userIdentifier:s.UserIdentifier,password:s.Password,theme:s.theme,themeID:s.themeID},null,8,_hoisted_1$L)):s.action==="createCase"?(openBlock(),createElementBlock("pega-embed",{key:1,popupReauth:"false",autoReauth:"true",silentTimeout:"10000",ref:"mycomp",casePage:s.pageTemplate,assignmentHeader:s.showAssignmentHeader,action:s.action,caseTypeID:s.objClass,startingFields:s.startingFields,appAlias:s.application,pegaServerUrl:s.url,staticContentUrl:s.staticContentUrl,pegaServerType:s.pegaServerType,authorizeUri:s.authorizeUri,authService:s.authService,clientId:s.clientId,userIdentifier:s.UserIdentifier,password:s.Password,theme:s.theme,themeID:s.themeID},null,8,_hoisted_2$F)):s.action==="openAssignment"?(openBlock(),createElementBlock("pega-embed",{key:2,popupReauth:"false",autoReauth:"true",silentTimeout:"10000",ref:"mycomp",casePage:s.pageTemplate,assignmentHeader:s.showAssignmentHeader,action:s.action,assignmentID:s.actionparam,appAlias:s.application,pegaServerUrl:s.url,staticContentUrl:s.staticContentUrl,pegaServerType:s.pegaServerType,authorizeUri:s.authorizeUri,authService:s.authService,clientId:s.clientId,userIdentifier:s.UserIdentifier,password:s.Password,theme:s.theme,themeID:s.themeID},null,8,_hoisted_3$x)):s.action==="openCase"?(openBlock(),createElementBlock("pega-embed",{key:3,popupReauth:"false",autoReauth:"true",silentTimeout:"10000",ref:"mycomp",casePage:s.pageTemplate,assignmentHeader:s.showAssignmentHeader,action:s.action,caseID:s.actionparam,appAlias:s.application,pegaServerUrl:s.url,staticContentUrl:s.staticContentUrl,pegaServerType:s.pegaServerType,authorizeUri:s.authorizeUri,authService:s.authService,clientId:s.clientId,userIdentifier:s.UserIdentifier,password:s.Password,theme:s.theme,themeID:s.themeID},null,8,_hoisted_4$s)):s.action==="getNextWork"?(openBlock(),createElementBlock("pega-embed",{key:4,popupReauth:"false",autoReauth:"true",silentTimeout:"10000",ref:"mycomp",casePage:s.pageTemplate,assignmentHeader:s.showAssignmentHeader,action:s.action,appAlias:s.application,pegaServerUrl:s.url,staticContentUrl:s.staticContentUrl,pegaServerType:s.pegaServerType,authorizeUri:s.authorizeUri,authService:s.authService,clientId:s.clientId,userIdentifier:s.UserIdentifier,password:s.Password,theme:s.theme,themeID:s.themeID},null,8,_hoisted_5$s)):createCommentVNode("",!0)],2)):(openBlock(),createElementBlock("div",_hoisted_6$q,"Loading...."))}const WebEmbed=_export_sfc(_sfc_main$R,[["render",_sfc_render$P]]),_sfc_main$Q={data(){return mainconfig},components:{PegaWebMashup,WebComponent,WebEmbed}};function _sfc_render$O(e,t,n,o,s,r){const l=resolveComponent("PegaWebMashup"),a=resolveComponent("WebEmbed"),c=resolveComponent("WebComponent");return e.settings.general.connection.type==="mashup"?(openBlock(),createBlock(l,{key:0})):e.settings.general.connection.type.startsWith("embedui")||e.settings.general.connection.type==="launchpad"?(openBlock(),createBlock(a,{key:1})):(openBlock(),createBlock(c,{key:2}))}const MashupMainArea=_export_sfc(_sfc_main$Q,[["render",_sfc_render$O]]),_hoisted_1$K={class:"account-tabs"},_hoisted_2$E={class:"account-tabs-header"},_hoisted_3$w=["onClick"],_sfc_main$P={__name:"Tabs",props:{defaultSelectedIndex:Number},setup(e){const t=e,n=useSlots(),o=ref(n.default()[0].children.map(r=>r.props.title)),s=ref(o.value[t.defaultSelectedIndex||0]);return provide("selectedTitle",s),(r,l)=>(openBlock(),createElementBlock("div",_hoisted_1$K,[createBaseVNode("ul",_hoisted_2$E,[(openBlock(!0),createElementBlock(Fragment,null,renderList(o.value,a=>(openBlock(),createElementBlock("li",{key:a,class:normalizeClass(["account-tabs-item",{selected:s.value===a}]),onClick:c=>s.value=a},toDisplayString$1(a),11,_hoisted_3$w))),128))]),renderSlot(r.$slots,"default")]))}},_hoisted_1$J={class:"account-tabs-content"},_sfc_main$O={__name:"TabItem",props:{title:String},setup(e){const t=inject("selectedTitle");return(n,o)=>withDirectives((openBlock(),createElementBlock("div",_hoisted_1$J,[renderSlot(n.$slots,"default")],512)),[[vShow,unref(t)===e.title]])}},_sfc_main$N={data(){return mainconfig},methods:{getDueBillDate(){const e=new Date;return e.getDate()>16&&e.setMonth((e.getMonth()+1)%12),e.setDate(15),e},openBill(){mainconfig.viewBill=1}},components:{Tabs:_sfc_main$P,TabItem:_sfc_main$O}},_hoisted_1$I={key:0,class:"account-picker"},_hoisted_2$D={class:"flex flex-nowrap"},_hoisted_3$v=["src","alt"],_hoisted_4$r={class:"account-picker-details"},_hoisted_5$r={key:0},_hoisted_6$p={key:1},_hoisted_7$k={key:2},_hoisted_8$h={key:3},_hoisted_9$h={key:4},_hoisted_10$g={class:"flex flex-col account-view-details"},_hoisted_11$g={class:"account-view-details"};function _sfc_render$N(e,t,n,o,s,r){const l=resolveComponent("TabItem"),a=resolveComponent("Tabs");return e.userId!==-1&&typeof e.settings.users[e.userId].accountpicker<"u"&&e.settings.users[e.userId].accountpicker.length>0?(openBlock(),createElementBlock("section",_hoisted_1$I,[createBaseVNode("h3",null,toDisplayString$1(e.settings.todo.accountpickerheading),1),createVNode(a,{defaultSelectedIndex:e.settings.users[e.userId].focustabindex},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(e.settings.users[e.userId].accountpicker,c=>(openBlock(),createBlock(l,{key:c.title,title:c.title},{default:withCtx(()=>[createBaseVNode("div",_hoisted_2$D,[typeof c.img<"u"&&c.img!==""?(openBlock(),createElementBlock("img",{key:0,class:"account-img",src:c.img,alt:c.title},null,8,_hoisted_3$v)):createCommentVNode("",!0),createBaseVNode("div",_hoisted_4$r,[(openBlock(!0),createElementBlock(Fragment,null,renderList(c.details,d=>(openBlock(),createElementBlock("div",{key:d.label},[createBaseVNode("label",null,toDisplayString$1(d.label),1),d.value!==""?(openBlock(),createElementBlock(Fragment,{key:0},[d.type==="currency"?(openBlock(),createElementBlock("p",_hoisted_5$r,toDisplayString$1(e.$n(d.value,"currency")),1)):d.type==="number"?(openBlock(),createElementBlock("p",_hoisted_6$p,toDisplayString$1(e.$n(d.value)),1)):d.type==="date"?(openBlock(),createElementBlock("p",_hoisted_7$k,toDisplayString$1(e.$d(d.value,"short")),1)):d.type==="duedate"?(openBlock(),createElementBlock("p",_hoisted_8$h,toDisplayString$1(e.$d(r.getDueBillDate(),"short")),1)):(openBlock(),createElementBlock("p",_hoisted_9$h,toDisplayString$1(d.value),1))],64)):createCommentVNode("",!0)]))),128))]),createBaseVNode("div",_hoisted_10$g,[createBaseVNode("a",_hoisted_11$g,toDisplayString$1(e.$t("message.viewdetails")),1),typeof e.settings.billpay<"u"&&e.settings.billpay.hidebillpay!=="true"&&e.settings.billpay.hidebillpay!==!0&&c.showbillpay===!0?(openBlock(),createElementBlock("button",{key:0,class:"strong margin-t-2x",onClick:t[0]||(t[0]=d=>r.openBill())},toDisplayString$1(e.$t("message.paynow")),1)):createCommentVNode("",!0)])])]),_:2},1032,["title"]))),128))]),_:1},8,["defaultSelectedIndex"])])):createCommentVNode("",!0)}const AccountPicker=_export_sfc(_sfc_main$N,[["render",_sfc_render$N]]),_sfc_main$M={data(){return mainconfig},methods:{getDueBillDate(){const e=new Date;return e.getDate()>16&&e.setMonth((e.getMonth()+1)%12),e.setDate(15),e}}},_hoisted_1$H={key:0,class:"account-details primary-card"},_hoisted_2$C={key:0},_hoisted_3$u={key:0},_hoisted_4$q={key:1},_hoisted_5$q={key:2},_hoisted_6$o={key:3},_hoisted_7$j={key:4};function _sfc_render$M(e,t,n,o,s,r){return e.userId!==-1&&typeof e.settings.users[e.userId].accountdetails<"u"&&e.settings.users[e.userId].accountdetails.length>0?(openBlock(),createElementBlock("section",_hoisted_1$H,[createBaseVNode("h3",null,toDisplayString$1(e.settings.todo.accountdetailsheading),1),(openBlock(!0),createElementBlock(Fragment,null,renderList(e.settings.users[e.userId].accountdetails,(l,a)=>(openBlock(),createElementBlock("div",{class:"flex",key:a},[(openBlock(!0),createElementBlock(Fragment,null,renderList(l,c=>(openBlock(),createElementBlock("div",{key:c.label},[createBaseVNode("label",null,toDisplayString$1(c.label),1),typeof c.desc<"u"&&c.desc!==""?(openBlock(),createElementBlock("span",_hoisted_2$C,toDisplayString$1(c.desc),1)):createCommentVNode("",!0),c.value!==""?(openBlock(),createElementBlock(Fragment,{key:1},[c.type==="currency"?(openBlock(),createElementBlock("p",_hoisted_3$u,toDisplayString$1(e.$n(c.value,"currency")),1)):c.type==="number"?(openBlock(),createElementBlock("p",_hoisted_4$q,toDisplayString$1(e.$n(c.value)),1)):c.type==="date"?(openBlock(),createElementBlock("p",_hoisted_5$q,toDisplayString$1(e.$d(c.value,"short")),1)):c.type==="duedate"?(openBlock(),createElementBlock("p",_hoisted_6$o,toDisplayString$1(e.$d(r.getDueBillDate(),"short")),1)):(openBlock(),createElementBlock("p",_hoisted_7$j,toDisplayString$1(c.value),1))],64)):createCommentVNode("",!0)]))),128))]))),128))])):createCommentVNode("",!0)}const AccountDetails=_export_sfc(_sfc_main$M,[["render",_sfc_render$M]]),_sfc_main$L={data(){return mainconfig},methods:{selectLink(e){this.quickLinkId=e,this.previousPage=this.settings.quicklinks[e].objclass,window.history&&(window.history.pushState({userId:mainconfig.userId,quickLinkId:mainconfig.quickLinkId},"",`quicklink${e}`),setTimeout(()=>{window.scrollTo({top:0,behavior:"smooth"})},0)),this.$gtag&&this.$gtag.pageview({page_path:`quicklink${e}`}),sendClickStreamEvent(mainconfig,"PageView",`quicklink${e}`,window.loadPage),window.loadPage=new Date},hasQuicklinks(){for(const e in this.settings.quicklinks)if(this.settings.quicklinks[e].hide!==!0)return!0;return!1},showQuickLink(e){return this.settings.quicklinks[e].hideusers?!this.settings.quicklinks[e].hideusers.split(",").includes(this.settings.users[mainconfig.userId].username):!0}}},_hoisted_1$G={key:0,class:"quick-links"},_hoisted_2$B=["onClick"];function _sfc_render$L(e,t,n,o,s,r){return r.hasQuicklinks()?(openBlock(),createElementBlock("section",_hoisted_1$G,[(openBlock(!0),createElementBlock(Fragment,null,renderList(e.settings.quicklinks,(l,a)=>(openBlock(),createElementBlock(Fragment,{key:a},[l.hide!==!0&&r.showQuickLink(a)?(openBlock(),createElementBlock("button",{key:0,onClick:c=>r.selectLink(a)},toDisplayString$1(e.settings.quicklinks[a].title[e.currentLocale]),9,_hoisted_2$B)):createCommentVNode("",!0)],64))),128))])):createCommentVNode("",!0)}const QuickLinks=_export_sfc(_sfc_main$L,[["render",_sfc_render$L]]),_sfc_main$K={data(){const e=parseInt(mainconfig.settings.banner.color.substring(1),16),t=e>>16&255,n=e>>8&255,o=e&255;var s=1-(.299*t+.587*n+.114*o)/255;let r=s<.5?"black":"white";return{...mainconfig,textColor:r}},methods:{openBanner(){mainconfig.viewBanner=1}}},_hoisted_1$F={class:"banner"},_hoisted_2$A={class:"flex flex-grow-1 flex-mid-align"},_hoisted_3$t={class:"flex flex-col flex-grow-1"};function _sfc_render$K(e,t,n,o,s,r){return openBlock(),createElementBlock("section",_hoisted_1$F,[createBaseVNode("div",{class:"content-card flex",style:normalizeStyle({backgroundColor:e.settings.banner.color,color:s.textColor})},[createBaseVNode("div",_hoisted_2$A,[createBaseVNode("i",{class:normalizeClass("pi pi-3x "+e.$t("message.banner_icon"))},null,2),createBaseVNode("div",_hoisted_3$t,[createBaseVNode("p",null,toDisplayString$1(e.$t("message.banner_title")),1),createBaseVNode("p",null,toDisplayString$1(e.$t("message.banner_desc")),1)]),e.settings.banner.hidebanner_button!=!0?(openBlock(),createElementBlock("button",{key:0,onClick:t[0]||(t[0]=l=>r.openBanner())},toDisplayString$1(e.$t("message.banner_action")),1)):createCommentVNode("",!0)])],4)])}const Banner=_export_sfc(_sfc_main$K,[["render",_sfc_render$K]]),_sfc_main$J={data(){return mainconfig},components:{MashupMainArea},methods:{getdate(e){const t=new Date;return t.getDate()<=16&&t.setMonth((t.getMonth()-1)%12),t.setDate(15-e*2),t}}},_hoisted_1$E={key:1,class:"recent-activity primary-card"},_hoisted_2$z={class:"fatlist"},_hoisted_3$s={key:0,class:"fatlist-item"},_hoisted_4$p={key:1,class:"fatlist-item"},_hoisted_5$p={class:"fatlist-item activity"},_hoisted_6$n={key:2,class:"fatlist-item flex-align-r"},_hoisted_7$i={key:3,class:"fatlist-item flex-align-r"};function _sfc_render$J(e,t,n,o,s,r){const l=resolveComponent("MashupMainArea");return typeof e.settings.activity<"u"&&e.settings.activity.url!==""?(openBlock(),createBlock(l,{key:0,showActivity:""})):e.userId!==-1&&typeof e.settings.users[e.userId].recentactivity<"u"&&e.settings.users[e.userId].recentactivity.length>0?(openBlock(),createElementBlock("section",_hoisted_1$E,[createBaseVNode("h3",null,toDisplayString$1(e.settings.todo.recentactivityheading),1),createBaseVNode("ul",_hoisted_2$z,[(openBlock(!0),createElementBlock(Fragment,null,renderList(e.settings.users[e.userId].recentactivity,(a,c)=>(openBlock(),createElementBlock("li",{key:a.message,class:"flex"},[a.date?(openBlock(),createElementBlock("time",_hoisted_3$s,toDisplayString$1(e.$d(new Date(a.date),"short")),1)):(openBlock(),createElementBlock("time",_hoisted_4$p,toDisplayString$1(e.$d(r.getdate(c),"short")),1)),createBaseVNode("p",_hoisted_5$p,toDisplayString$1(a.message),1),a.cost?(openBlock(),createElementBlock("p",_hoisted_6$n,toDisplayString$1(e.$n(a.cost,"currency")),1)):(openBlock(),createElementBlock("a",_hoisted_7$i,toDisplayString$1(e.$t("message.viewmore")),1))]))),128))])])):createCommentVNode("",!0)}const RecentActivity=_export_sfc(_sfc_main$J,[["render",_sfc_render$J]]),_sfc_main$I={data(){return mainconfig},components:{MashupMainArea,AccountPicker,AccountDetails,RecentActivity,Banner,QuickLinks}},_hoisted_1$D={class:"col col-1"},_hoisted_2$y={class:"primary-card"};function _sfc_render$I(e,t,n,o,s,r){const l=resolveComponent("Banner"),a=resolveComponent("AccountPicker"),c=resolveComponent("QuickLinks"),d=resolveComponent("AccountDetails"),u=resolveComponent("MashupMainArea"),m=resolveComponent("RecentActivity");return openBlock(),createElementBlock("div",_hoisted_1$D,[createBaseVNode("div",_hoisted_2$y,[typeof e.settings.banner<"u"&&e.settings.banner.hidebanner!=="true"&&e.settings.banner.hidebanner!==!0?(openBlock(),createBlock(l,{key:0})):createCommentVNode("",!0),typeof e.settings.todo<"u"&&e.settings.todo.hideaccount!=="true"&&e.settings.todo.hideaccount!==!0?(openBlock(),createBlock(a,{key:1})):createCommentVNode("",!0),createVNode(c)]),typeof e.settings.todo<"u"&&e.settings.todo.hideaccountdetails!=="true"&&e.settings.todo.hideaccountdetails!==!0?(openBlock(),createBlock(d,{key:0})):createCommentVNode("",!0),typeof e.settings.todo<"u"&&e.settings.todo.url!==""?(openBlock(),createBlock(u,{key:e.reloadToDoMashup})):createCommentVNode("",!0),typeof e.settings.todo<"u"&&e.settings.todo.hideactivity!=="true"&&e.settings.todo.hideactivity!==!0?(openBlock(),createBlock(m,{key:e.reloadActivityMashup})):createCommentVNode("",!0)])}const AccountMainArea=_export_sfc(_sfc_main$I,[["render",_sfc_render$I]]),_sfc_main$H={props:{offer:{required:!0,type:Object}},data(){return mainconfig},methods:{showOffer(e){mainconfig.isMobilePhone&&(mainconfig.phonePageName="offer"),mainconfig.offerURL=e.url,mainconfig.previousPage=e.name,e.useURL=!0,mainconfig.settings.pega_marketing.accountPage.clickaction==="BuiltIn"&&(mainconfig.offerURL="/Basic",e.useURL=!1),mainconfig.CDHContainer=e,mainconfig.settings.pega_marketing.useCaptureByChannel===!0&&captureResponse(this,e,"Clicked")},toggleAIOverlay(e){e.showAIoverlay=!e.showAIoverlay},gotoOfferPage(e){sendClickStreamEvent(mainconfig,"PageView","Offer",window.loadPage),window.loadPage=new Date,mainconfig.currentPage="offer.html";const t=mainconfig.isAuthenticated?{userId:mainconfig.userId}:{};window.history.pushState(t,"","offer.html"),this.$gtag&&this.$gtag.pageview({page_path:mainconfig.currentPage}),mainconfig.offerIndex=0,setTimeout(()=>{window.scrollTo({top:0,behavior:"smooth"})},0),e.preventDefault()}},components:{AIOverlay}},_hoisted_1$C={class:"offer-card-col flex flex-col"},_hoisted_2$x={class:"offer-card"},_hoisted_3$r=["src","alt"],_hoisted_4$o={class:"content"},_hoisted_5$o=["href"],_hoisted_6$m=["href"];function _sfc_render$H(e,t,n,o,s,r){const l=resolveComponent("AIOverlay");return openBlock(),createElementBlock("section",_hoisted_1$C,[e.settings.pega_marketing.showAIOverlay?(openBlock(),createElementBlock("button",{key:0,class:"pi pi-polaris-solid ai-toggle",onClick:t[0]||(t[0]=a=>r.toggleAIOverlay(n.offer)),title:"toggle AI"})):createCommentVNode("",!0),createBaseVNode("div",_hoisted_2$x,[createBaseVNode("img",{class:"offer-img",src:n.offer.img,alt:n.offer.title},null,8,_hoisted_3$r),createBaseVNode("div",_hoisted_4$o,[createBaseVNode("h3",null,toDisplayString$1(n.offer.title),1),createBaseVNode("p",null,toDisplayString$1(n.offer.message),1),n.offer.url==="#"?(openBlock(),createElementBlock("a",{key:0,onClick:t[1]||(t[1]=(...a)=>r.gotoOfferPage&&r.gotoOfferPage(...a)),href:"./offer.html"},toDisplayString$1(n.offer.link),1)):e.settings.pega_marketing.accountPage.clickaction==="TopURL"&&n.offer.url!=""?(openBlock(),createElementBlock("a",{key:1,href:n.offer.url},toDisplayString$1(e.$t("message."+n.offer.link)),9,_hoisted_5$o)):e.settings.pega_marketing.accountPage.clickaction==="Popup"&&n.offer.url!=""?(openBlock(),createElementBlock("a",{key:2,href:n.offer.url,target:"_blank"},toDisplayString$1(e.$t("message."+n.offer.link)),9,_hoisted_6$m)):(openBlock(),createElementBlock("button",{key:3,class:"simple",onClick:t[2]||(t[2]=a=>r.showOffer(n.offer))},toDisplayString$1(e.$t("message."+n.offer.link)),1)),e.settings.pega_marketing.showAIOverlay?(openBlock(),createBlock(l,{key:4,offer:n.offer,class:normalizeClass(n.offer.showAIoverlay?"show":"")},null,8,["offer","class"])):createCommentVNode("",!0)])])])}const Offer=_export_sfc(_sfc_main$H,[["render",_sfc_render$H]]),_sfc_main$G={data(){return{...mainconfig,errorloading:!1,loading:!0,data:[]}},mounted(){if(this.settings.pega_marketing.Host!==""&&this.settings.pega_marketing.accountPage.placement!==""&&this.settings.pega_marketing.accountPage.containerName!==""){const e=this;let t="";this.userId!==-1&&this.settings.users[this.userId].customerID&&(t=this.settings.users[this.userId].customerID),setTimeout(()=>{initNBAM(e,"accountPage",t,e.previousPage,"account.html")},200)}},computed:{visibleQuickLinks(){return this.settings.quicklinks.filter((e,t)=>{e.originalIndex=t;const n=this.settings.quicklinks[t].hideusers?this.settings.quicklinks[t].hideusers.split(",").includes(this.settings.users[mainconfig.userId].username):!0;return e.hide!==!0&&n})}},methods:{selectLink(e){mainconfig.quickLinkId=e},gotoOfferPage(e){mainconfig.phonePageName="offer.html",this.$gtag&&this.$gtag.pageview({page_path:mainconfig.phonePageName});const t=mainconfig.isAuthenticated?{userId:mainconfig.userId}:{};window.history.pushState(t,"","offer.html"),mainconfig.offerIndex=0,setTimeout(()=>{window.scrollTo({top:0,behavior:"smooth"})},0),e.preventDefault()}},components:{Offer}},_hoisted_1$B={key:0,class:"secondary-card"},_hoisted_2$w=["src","alt"],_hoisted_3$q={class:"content"},_hoisted_4$n={key:1,class:"secondary-card loading-container",style:{"min-height":"300px"}},_hoisted_5$n={key:2,class:"secondary-card"};function _sfc_render$G(e,t,n,o,s,r){const l=resolveComponent("Offer");return e.settings.pega_marketing.Host===""||e.settings.pega_marketing.accountPage.placement===""||e.settings.pega_marketing.accountPage.containerName===""||s.loading&&!e.settings.pega_marketing.showLoadingIndicator||s.errorloading?(openBlock(),createElementBlock("div",_hoisted_1$B,[(openBlock(!0),createElementBlock(Fragment,null,renderList(e.app.offers,a=>(openBlock(),createElementBlock("section",{class:"offer-card-col",key:a.title},[createBaseVNode("img",{class:"offer-img",src:"./img/"+a.img,alt:e.$t("message."+a.title)},null,8,_hoisted_2$w),createBaseVNode("div",_hoisted_3$q,[createBaseVNode("h3",null,toDisplayString$1(e.$t("message."+a.title)),1),createBaseVNode("p",null,toDisplayString$1(e.$t("message."+a.message)),1),createBaseVNode("a",{onClick:t[0]||(t[0]=(...c)=>r.gotoOfferPage&&r.gotoOfferPage(...c)),href:"./offer.html"},toDisplayString$1(e.$t("message.learnmore")),1)])]))),128))])):e.settings.pega_marketing.Host!==""&&s.loading&&e.settings.pega_marketing.showLoadingIndicator?(openBlock(),createElementBlock("div",_hoisted_4$n,t[1]||(t[1]=[createBaseVNode("span",{class:"loading"},[createBaseVNode("span",{class:"dot"}),createBaseVNode("span",{class:"dot"}),createBaseVNode("span",{class:"dot"})],-1)]))):(openBlock(),createElementBlock("div",_hoisted_5$n,[(openBlock(!0),createElementBlock(Fragment,null,renderList(s.data,a=>(openBlock(),createBlock(l,{key:a.title,offer:a},null,8,["offer"]))),128))]))}const AccountSecondaryArea$1=_export_sfc(_sfc_main$G,[["render",_sfc_render$G]]),_sfc_main$F={data(){return mainconfig},components:{TopNav,AccountMainArea,AccountSecondaryArea:AccountSecondaryArea$1}},_hoisted_1$A={class:"flex flex-col"};function _sfc_render$F(e,t,n,o,s,r){const l=resolveComponent("TopNav"),a=resolveComponent("AccountMainArea"),c=resolveComponent("AccountSecondaryArea");return openBlock(),createElementBlock("main",_hoisted_1$A,[createVNode(l,{previousPhonePage:""}),createVNode(a),e.app.industry!=="insurance"?(openBlock(),createBlock(c,{key:e.reloadOffer})):createCommentVNode("",!0)])}const Account=_export_sfc(_sfc_main$F,[["render",_sfc_render$F]]),_sfc_main$E={data(){return mainconfig},components:{TopNav,MashupMainArea}},_hoisted_1$z={class:"height-100-pct"},_hoisted_2$v={class:"mashup-main"};function _sfc_render$E(e,t,n,o,s,r){const l=resolveComponent("TopNav"),a=resolveComponent("MashupMainArea");return openBlock(),createElementBlock("div",_hoisted_1$z,[createVNode(l,{style:{display:"none"},previousPhonePage:e.phonePageName==="heroaction"?"":"help"},null,8,["previousPhonePage"]),createBaseVNode("main",_hoisted_2$v,[createVNode(a)])])}const Mashup=_export_sfc(_sfc_main$E,[["render",_sfc_render$E]]),_sfc_main$D={data(){return mainconfig},components:{HomePage,OfferPage:OfferPage$1,LoginPage,IntroQuickLinks,QuickLinks:QuickLinks$1,Account,Mashup}};function _sfc_render$D(e,t,n,o,s,r){const l=resolveComponent("Mashup"),a=resolveComponent("HomePage"),c=resolveComponent("OfferPage"),d=resolveComponent("LoginPage"),u=resolveComponent("IntroQuickLinks"),m=resolveComponent("QuickLinks"),f=resolveComponent("Account");return e.phonePageName==="heroaction"?(openBlock(),createBlock(l,{key:0})):e.quickLinkId!==-1||e.viewKMHelp!==-1||e.offerAction!==-1||e.viewBill!==-1||e.viewBanner!==-1?(openBlock(),createBlock(l,{key:1})):e.phonePageName===""||e.phonePageName==="index.html"?(openBlock(),createBlock(a,{key:2})):e.phonePageName.indexOf("offer")!==-1?(openBlock(),createBlock(c,{key:3})):e.isAuthenticated?e.phonePageName==="intro"?(openBlock(),createBlock(u,{key:5})):e.phonePageName==="help"?(openBlock(),createBlock(m,{key:6})):e.phonePageName==="account"?(openBlock(),createBlock(f,{key:7})):(openBlock(),createBlock(a,{key:8})):(openBlock(),createBlock(d,{key:4}))}const Main$2=_export_sfc(_sfc_main$D,[["render",_sfc_render$D]]),_sfc_main$C={data(){return mainconfig},components:{Header:Header$2,Main:Main$2,Aside}},_hoisted_1$y={class:"flex flex-col"};function _sfc_render$C(e,t,n,o,s,r){const l=resolveComponent("Aside"),a=resolveComponent("Header"),c=resolveComponent("Main");return openBlock(),createElementBlock("div",_hoisted_1$y,[createVNode(l),createVNode(a),createVNode(c)])}const PhonePage=_export_sfc(_sfc_main$C,[["render",_sfc_render$C]]),_sfc_main$B={data(){return{...mainconfig,isActive:!1,heightVal:"204px"}},methods:{showlogin(){this.isActive=!1,this.toggleLoginOverlay(!0)},toggleLoginOverlay(e){const t=document.getElementsByClassName("launch-login");Array.prototype.forEach.call(t,n=>{(e&&n.nextElementSibling.classList.contains("hidden")||!e&&n.nextElementSibling.classList.contains("show"))&&n.click()})},showMenuOverlay(e){this.isActive=!this.isActive,this.isActive===!0&&(this.heightVal=`${e.target.nextElementSibling.firstElementChild.clientHeight}px`,this.toggleLoginOverlay(!1))},onClickOutMenuOverlay(e){e.target.classList.contains("launch-menu")||(this.isActive=!1)}},components:{MenuItem}},_hoisted_1$x={class:"menu"},_hoisted_2$u={key:0};function _sfc_render$B(e,t,n,o,s,r){const l=resolveComponent("MenuItem"),a=resolveDirective("clickoutside");return openBlock(),createElementBlock("div",_hoisted_1$x,[createBaseVNode("button",{onClick:t[0]||(t[0]=(...c)=>r.showMenuOverlay&&r.showMenuOverlay(...c)),class:"launch-menu"},"Menu"),withDirectives((openBlock(),createElementBlock("div",{class:"menu-overlay flex flex-col",style:normalizeStyle({height:s.isActive?s.heightVal:""})},[createBaseVNode("ul",null,[(openBlock(!0),createElementBlock(Fragment,null,renderList(e.app.menuitems,(c,d)=>(openBlock(),createBlock(l,{pagetype:c.pagetype,key:c.title,title:c.title,href:c.url?c.url:e.app.offer.length>1?`offer${d+1}.html`:null},null,8,["pagetype","title","href"]))),128)),e.isAuthenticated?createCommentVNode("",!0):(openBlock(),createElementBlock("li",_hoisted_2$u,[createBaseVNode("a",{onClick:t[1]||(t[1]=(...c)=>r.showlogin&&r.showlogin(...c)),class:"launch-login-overlay"},toDisplayString$1(e.$t("message.login")),1)]))])],4)),[[a,{handler:"onClickOutMenuOverlay"}]])])}const MainHeaderMenu=_export_sfc(_sfc_main$B,[["render",_sfc_render$B]]),_sfc_main$A={data(){return mainconfig},mounted(){window.addEventListener("message",this.iFrameMessageListener)},unmounted(){window.removeEventListener("message",this.iFrameMessageListener)},methods:{iFrameMessageListener(e){if(e.data==="pegaMashupNavigateBack")mainconfig.reloadToDoMashup+=1,mainconfig.reloadActivityMashup+=1,this.goHomePage();else if(typeof e.data=="object"&&typeof e.data.key<"u")e.data.key==="Intent"&&typeof e.data.value=="string"?(mainconfig.intent=e.data.value,mainconfig.reloadOffer+=1):e.data.key==="PreviousPage"&&typeof e.data.value=="string"&&(mainconfig.previousPage=e.data.value,mainconfig.reloadOffer+=1);else if(typeof e.data=="object"&&typeof e.data.action<"u")e.data.action==="showkmarticle"&&typeof e.data.articleid=="string"?(mainconfig.KMArticleID=e.data.articleid,this.showKMHelp()):e.data.action==="showbuiltinoffer"&&typeof e.data.url=="string"&&(mainconfig.CDHContainer=e.data,mainconfig.CDHContainer.subjectID=mainconfig.ExternalID,mainconfig.CDHContainer.useURL=!1,mainconfig.offerURL=e.data.url);else if(e.data){let t={};try{t=JSON.parse(e.data)}catch{t={}}if(t.channelName==="PWMashup"&&t.message&&t.message.payload&&t.message.payload.name==="confirm"&&t.message.uid.indexOf("ProactiveChat")===-1&&mainconfig.quickLinkId!==-1){const n=mainconfig.settings.quicklinks[mainconfig.quickLinkId].url,o=document.createElement("iframe"),s=`${n}?pyActivity=LogOff`;o.setAttribute("src",s),o.setAttribute("style","display:none"),o.onload=function(){document.body.removeChild(o)},document.body.appendChild(o)}}},goHomePage(e){mainconfig.quickLinkId=-1,mainconfig.viewBill=-1,mainconfig.viewBanner=-1,mainconfig.homeHeroAction=-1,mainconfig.offerAction=-1,mainconfig.toDo=-1,mainconfig.viewKMHelp=-1,mainconfig.offerURL="",mainconfig.offerIndex=0,mainconfig.CDHContainer={},window.history&&(mainconfig.isAuthenticated?(mainconfig.currentPage="account",window.history.pushState({userId:mainconfig.userId},"",mainconfig.currentPage)):(mainconfig.currentPage="index.html",window.history.pushState({},"",mainconfig.currentPage)),window.scrollTo({top:0,behavior:"smooth"})),window.loadPage=new Date,!(e&&e===!0)&&sendClickStreamEvent(mainconfig,"PageView","Home",window.loadPage)},showKMHelp(){this.goHomePage(!0),mainconfig.previousPage=mainconfig.currentPage,mainconfig.currentPage="help.html",sendClickStreamEvent(mainconfig,"PageView","Help",window.loadPage),this.$gtag&&this.$gtag.pageview({page_path:mainconfig.currentPage}),mainconfig.viewKMHelp=1,mainconfig.logoutURL.kmhelp=`${mainconfig.settings.kmhelp.url}?pyActivity=LogOff`,mainconfig.reloadMashup+=1}},components:{MenuItem,LoginButton,OperatorButton,MainHeaderMenu}},_hoisted_1$w={class:"wrap header flex"},_hoisted_2$t={class:"flex flex-grow-1"},_hoisted_3$p={class:"flex flex-grow-1"};function _sfc_render$A(e,t,n,o,s,r){const l=resolveComponent("MenuItem"),a=resolveComponent("OperatorButton"),c=resolveComponent("LoginButton"),d=resolveComponent("MainHeaderMenu");return openBlock(),createElementBlock("header",{style:normalizeStyle(!e.isAuthenticated&&e.offerURL==""&&e.homeHeroImg!=""?{backgroundImage:"url("+e.homeHeroImg+")"}:{})},[createBaseVNode("div",_hoisted_1$w,[createBaseVNode("a",null,[createBaseVNode("img",{onClick:t[0]||(t[0]=(...u)=>r.goHomePage&&r.goHomePage(...u)),class:"logo",src:"./img/u+-logo.svg",alt:"U+"})]),createBaseVNode("nav",_hoisted_2$t,[createBaseVNode("ul",_hoisted_3$p,[(openBlock(!0),createElementBlock(Fragment,null,renderList(e.app.menuitems,(u,m)=>(openBlock(),createBlock(l,{pagetype:u.pagetype,key:m,title:u.title,href:u.url?u.url:e.app.offer.length>1?`offer${m+1}.html`:null},null,8,["pagetype","title","href"]))),128))])]),(e.isAuthenticated||e.settings.kmhelp.username!=="")&&e.settings.kmhelp.url!==""?(openBlock(),createElementBlock("a",{key:0,class:"kmhelp",onClick:t[1]||(t[1]=(...u)=>r.showKMHelp&&r.showKMHelp(...u))},toDisplayString$1(e.$t("message.kmhelp")),1)):createCommentVNode("",!0),e.isAuthenticated?(openBlock(),createBlock(a,{key:1})):(openBlock(),createBlock(c,{key:2})),createVNode(d)])],4)}const Header$1=_export_sfc(_sfc_main$A,[["render",_sfc_render$A]]),_sfc_main$z={data(){return{...mainconfig,errorloading:!1,loading:!0,data:[],RTSstate:{index:-1,id:0},hero_offer:{img:"",url:"",title:"",message:"",link:this.$t(`message.${mainconfig.app.herotext.buttonlabel}`)}}},mounted(){if(this.settings.pega_marketing.Host!==""&&this.settings.pega_marketing.homePage.placement!==""&&this.settings.pega_marketing.homePage.containerName!==""){const e=this;setTimeout(()=>{initNBAM(e,"homePage","",e.previousPage,mainconfig.currentPage)},200)}},updated(){if(window.IntersectionObserver&&mainconfig.settings.pega_marketing.useCaptureByChannel===!0){const e=new IntersectionObserver(t=>{t.forEach(n=>{if(n.isIntersecting){let o=n.target.getAttribute("data-offer-index");o!==null?(captureResponse(this,this.data[o],"Impression"),e.unobserve(n.target)):(o=n.target.getAttribute("data-hero-offer"),o!==null&&(captureResponse(this,this.hero_offer,"Impression"),e.unobserve(n.target)))}})},{threshold:1});document.querySelectorAll(".offer-card").forEach(t=>{e.observe(t)}),document.querySelectorAll(".hero-offer").forEach(t=>{e.observe(t)})}},methods:{checkRTSEventHover(e,t,n){mainconfig.isRTSEnabled===!0&&(this.RTSstate.index===-1?(this.RTSstate.index=e,this.RTSstate.id=setTimeout(()=>{this.generateRTSEvent(t)},3e3)):this.RTSstate.index===e&&n===!1&&(clearTimeout(this.RTSstate.id),this.RTSstate.id=0,this.RTSstate.index=-1))},generateRTSEvent(e){const t=document.querySelector(".comment"),n=new Date;let o=n.getMonth()+1;o<10&&(o=`0${o}`);const s=`${n.getFullYear()}-${o}-${n.getDate()}`,r=`${n.getHours()}:${n.getMinutes()}:${n.getSeconds()}`;t.innerHTML+=`

${s} ${r} - Sending event - group:${e.category} - value:${e.name}{window.scrollTo({top:0,behavior:"smooth"})},0)},toggleAIOverlay(e){e.showAIoverlay=!e.showAIoverlay},gotoOfferPage(e){mainconfig.currentPage="offer.html",this.$gtag&&this.$gtag.pageview({page_path:mainconfig.currentPage}),sendClickStreamEvent(mainconfig,"PegaView","Offer",window.loadPage),window.loadPage=new Date;const t=mainconfig.isAuthenticated?{userId:mainconfig.userId}:{};window.history.pushState(t,"","offer.html"),mainconfig.offerIndex=0,setTimeout(()=>{window.scrollTo({top:0,behavior:"smooth"})},0),e.preventDefault()}},components:{AIOverlay}},_hoisted_1$v={class:"hero-main"},_hoisted_2$s={class:"wrap hero-wrap flex"},_hoisted_3$o={class:"flex flex-col hero-heading"},_hoisted_4$m={class:"hero"},_hoisted_5$m={key:0},_hoisted_6$l={class:"wrap primary-options"},_hoisted_7$h={class:"options"},_hoisted_8$g={class:"details"},_hoisted_9$g=["src","alt"],_hoisted_10$f={class:"option-header"},_hoisted_11$f={class:"wrap primary-options",style:{"min-height":"400px"}},_hoisted_12$f={class:"options"},_hoisted_13$f={key:0,class:"hero-main"},_hoisted_14$f={class:"flex flex-nowrap flex-row-reverse"},_hoisted_15$f=["src","alt"],_hoisted_16$f={class:"flex flex-col"},_hoisted_17$f={class:"hero hero-offer","data-hero-offer":1},_hoisted_18$f=["href"],_hoisted_19$f=["href"],_hoisted_20$f={key:1,class:"wrap hero-wrap flex"},_hoisted_21$f={class:"flex flex-col hero-heading"},_hoisted_22$e={class:"hero"},_hoisted_23$e={key:0},_hoisted_24$9={class:"wrap primary-options"},_hoisted_25$8={class:"options"},_hoisted_26$7=["onMouseover","onMouseleave"],_hoisted_27$7=["data-offer-index"],_hoisted_28$7=["onClick"],_hoisted_29$7=["src","alt"],_hoisted_30$5={class:"option-header"},_hoisted_31$5=["href"],_hoisted_32$5=["href"],_hoisted_33$4=["onClick"];function _sfc_render$z(e,t,n,o,s,r){const l=resolveComponent("AIOverlay");return e.settings.pega_marketing.Host===""||e.settings.pega_marketing.homePage.placement===""||e.settings.pega_marketing.homePage.containerName===""||s.loading&&!e.settings.pega_marketing.showLoadingIndicator||s.errorloading?(openBlock(),createElementBlock(Fragment,{key:0},[createBaseVNode("div",_hoisted_1$v,[createBaseVNode("div",_hoisted_2$s,[createBaseVNode("div",_hoisted_3$o,[createBaseVNode("h1",_hoisted_4$m,[createTextVNode(toDisplayString$1(e.$t(`message.${e.app.herotext.title}`))+" ",1),e.$t(`message.${e.app.herotext.titlespan}`)!==""?(openBlock(),createElementBlock("span",_hoisted_5$m,toDisplayString$1(e.$t(`message.${e.app.herotext.titlespan}`)),1)):createCommentVNode("",!0)]),createBaseVNode("button",{onClick:t[0]||(t[0]=(...a)=>r.applyHeroAction&&r.applyHeroAction(...a)),class:"strong"},toDisplayString$1(e.$t(`message.${e.app.herotext.buttonlabel}`)),1)]),t[5]||(t[5]=createBaseVNode("div",{class:"flex hero-image"},[createBaseVNode("div",{class:"hero-splash"})],-1))])]),t[6]||(t[6]=createBaseVNode("div",{class:"ribbon"},[createBaseVNode("div")],-1)),createBaseVNode("div",_hoisted_6$l,[createBaseVNode("h2",null,toDisplayString$1(e.$t(`message.${e.app.primaryheading}`)),1),createBaseVNode("div",_hoisted_7$h,[(openBlock(!0),createElementBlock(Fragment,null,renderList(e.app.primarydetails,(a,c)=>(openBlock(),createElementBlock("section",{key:c,class:"front-option"},[createBaseVNode("div",_hoisted_8$g,[createBaseVNode("img",{class:"option",src:a.img,alt:e.$t("message."+a.title)},null,8,_hoisted_9$g),createBaseVNode("h3",_hoisted_10$f,toDisplayString$1(e.$t("message."+a.title)),1),createBaseVNode("p",null,toDisplayString$1(e.$t("message."+a.message)),1),createBaseVNode("a",{onClick:t[1]||(t[1]=(...d)=>r.gotoOfferPage&&r.gotoOfferPage(...d)),href:"./offer.html"},toDisplayString$1(e.$t("message."+a.link)),1)])]))),128))])])],64)):e.settings.pega_marketing.Host!==""&&s.loading&&e.settings.pega_marketing.showLoadingIndicator?(openBlock(),createElementBlock(Fragment,{key:1},[t[8]||(t[8]=createStaticVNode('

',2)),createBaseVNode("div",_hoisted_11$f,[createBaseVNode("div",_hoisted_12$f,[(openBlock(!0),createElementBlock(Fragment,null,renderList(e.app.primarydetails,(a,c)=>(openBlock(),createElementBlock("section",{key:c,class:"front-option loading-container"},t[7]||(t[7]=[createBaseVNode("span",{class:"loading"},[createBaseVNode("span",{class:"dot"}),createBaseVNode("span",{class:"dot"}),createBaseVNode("span",{class:"dot"})],-1)])))),128))])])],64)):(openBlock(),createElementBlock(Fragment,{key:2},[!e.isAuthenticated&&e.homeHeroAction!=1&&e.offerURL===""?(openBlock(),createElementBlock("div",_hoisted_13$f,[s.hero_offer.title!==""?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(["wrap flex",s.hero_offer.img!==""?"hero-with-img":"hero-no-img"])},[e.settings.pega_marketing.showAIOverlay&&(s.hero_offer.url!==""||s.hero_offer.img!=="")?(openBlock(),createElementBlock("button",{key:0,class:"pi pi-polaris-solid ai-toggle",onClick:t[2]||(t[2]=a=>r.toggleAIOverlay(s.hero_offer)),title:"toggle AI"})):createCommentVNode("",!0),createBaseVNode("div",_hoisted_14$f,[s.hero_offer.img!==""?(openBlock(),createElementBlock("img",{key:0,class:"hero-offer-img",src:s.hero_offer.img,alt:s.hero_offer.title},null,8,_hoisted_15$f)):createCommentVNode("",!0),createBaseVNode("div",_hoisted_16$f,[createBaseVNode("h1",_hoisted_17$f,toDisplayString$1(s.hero_offer.title),1),e.settings.pega_marketing.homePage.clickaction==="TopURL"&&s.hero_offer.url!==""?(openBlock(),createElementBlock("a",{key:0,href:s.hero_offer.url},toDisplayString$1(s.hero_offer.link),9,_hoisted_18$f)):e.settings.pega_marketing.homePage.clickaction==="Popup"&&s.hero_offer.url!==""?(openBlock(),createElementBlock("a",{key:1,href:s.hero_offer.url,target:"_blank"},toDisplayString$1(s.hero_offer.link),9,_hoisted_19$f)):(openBlock(),createElementBlock("button",{key:2,onClick:t[3]||(t[3]=(...a)=>r.applyHeroAction&&r.applyHeroAction(...a)),class:"strong"},toDisplayString$1(s.hero_offer.link),1))])]),e.settings.pega_marketing.showAIOverlay?(openBlock(),createBlock(l,{key:1,offer:s.hero_offer,class:normalizeClass(s.hero_offer.showAIoverlay?"show":"")},null,8,["offer","class"])):createCommentVNode("",!0)],2)):(openBlock(),createElementBlock("div",_hoisted_20$f,[createBaseVNode("div",_hoisted_21$f,[createBaseVNode("h1",_hoisted_22$e,[createTextVNode(toDisplayString$1(e.$t(`message.${e.app.herotext.title}`))+" ",1),e.$t(`message.${e.app.herotext.titlespan}`)!==""?(openBlock(),createElementBlock("span",_hoisted_23$e,toDisplayString$1(e.$t(`message.${e.app.herotext.titlespan}`)),1)):createCommentVNode("",!0)]),createBaseVNode("button",{onClick:t[4]||(t[4]=(...a)=>r.applyHeroAction&&r.applyHeroAction(...a)),class:"strong"},toDisplayString$1(e.$t(`message.${e.app.herotext.buttonlabel}`)),1)]),t[9]||(t[9]=createBaseVNode("div",{class:"flex hero-image"},[createBaseVNode("div",{class:"hero-splash"})],-1))]))])):createCommentVNode("",!0),t[10]||(t[10]=createBaseVNode("div",{class:"ribbon"},[createBaseVNode("div")],-1)),createBaseVNode("div",_hoisted_24$9,[createBaseVNode("h2",null,toDisplayString$1(e.$t(`message.${e.app.primaryheading}`)),1),createBaseVNode("div",_hoisted_25$8,[(openBlock(!0),createElementBlock(Fragment,null,renderList(s.data,(a,c)=>(openBlock(),createElementBlock("section",{key:c,class:"front-option cdh-offer",onMouseover:d=>r.checkRTSEventHover(c,a,!0),onMouseleave:d=>r.checkRTSEventHover(c,a,!1)},[createBaseVNode("div",{class:"offer-card details","data-offer-index":c},[e.settings.pega_marketing.showAIOverlay?(openBlock(),createElementBlock("button",{key:0,class:"pi pi-polaris-solid ai-toggle",onClick:d=>r.toggleAIOverlay(a),title:"toggle AI"},null,8,_hoisted_28$7)):createCommentVNode("",!0),createBaseVNode("img",{class:"option",src:a.img,alt:a.title},null,8,_hoisted_29$7),createBaseVNode("h3",_hoisted_30$5,toDisplayString$1(a.title),1),createBaseVNode("p",null,toDisplayString$1(a.message),1),e.settings.pega_marketing.homePage.clickaction==="TopURL"&&a.url!=""?(openBlock(),createElementBlock("a",{key:1,href:a.url},toDisplayString$1(e.$t("message."+a.link)),9,_hoisted_31$5)):e.settings.pega_marketing.homePage.clickaction==="Popup"&&a.url!=""?(openBlock(),createElementBlock("a",{key:2,href:a.url,target:"_blank"},toDisplayString$1(e.$t("message."+a.link)),9,_hoisted_32$5)):(openBlock(),createElementBlock("button",{key:3,class:"simple",onClick:d=>r.showOffer(a)},toDisplayString$1(e.$t("message."+a.link)),9,_hoisted_33$4)),e.settings.pega_marketing.showAIOverlay?(openBlock(),createBlock(l,{key:4,offer:a,class:normalizeClass(a.showAIoverlay?"show":"")},null,8,["offer","class"])):createCommentVNode("",!0)],8,_hoisted_27$7)],40,_hoisted_26$7))),128))])])],64))}const FrontMainArea=_export_sfc(_sfc_main$z,[["render",_sfc_render$z]]),_sfc_main$y={data(){return mainconfig}},_hoisted_1$u={class:"wrap secondary-options"},_hoisted_2$r={class:"content-card flex flex-col"},_hoisted_3$n={class:"strong"};function _sfc_render$y(e,t,n,o,s,r){return openBlock(),createElementBlock("div",_hoisted_1$u,[t[0]||(t[0]=createBaseVNode("div",{class:"banner",style:{backgroundImage:"url(img/secondary-options.jpg)"}},null,-1)),createBaseVNode("div",_hoisted_2$r,[createBaseVNode("h2",null,toDisplayString$1(e.$t(`message.${e.app.secondarydetails.heading}`)),1),createBaseVNode("button",_hoisted_3$n,toDisplayString$1(e.$t(`message.${e.app.secondarydetails.link}`)),1)])])}const FrontSecondaryArea=_export_sfc(_sfc_main$y,[["render",_sfc_render$y]]),_sfc_main$x={data(){return{...mainconfig,isprocessed:!1}},methods:{processOffer(e){captureResponse(this,this.CDHContainer,e),this.isprocessed=!0},closeOffer(){top.postMessage("pegaMashupNavigateBack",location.origin)},onLoadIframe(e){try{var t=e.target.contentWindow.location.pathname;(t.indexOf("/Basic")===0||t.indexOf("/Detailed")===0)&&(this.offerURL=t,this.CDHContainer.useURL=!1)}catch{console.log("CDH is not in the same origin as the Uplus app")}}}},_hoisted_1$t={key:0,class:"flex flex-col full-height"},_hoisted_2$q=["src"],_hoisted_3$m={key:1,class:"flex flex-col"},_hoisted_4$l={class:"main-offer builtin-offer primary-card flex flex-nowrap"},_hoisted_5$l=["src","alt"],_hoisted_6$k={class:"details"},_hoisted_7$g={key:0},_hoisted_8$f={key:1},_hoisted_9$f={class:"button-row padding-t-2x"},_hoisted_10$e={key:2,class:"flex flex-col"},_hoisted_11$e={class:"primary-card builtin-offer flex flex-nowrap"},_hoisted_12$e=["src","alt"],_hoisted_13$e={class:"details"},_hoisted_14$e={key:0},_hoisted_15$e={key:1},_hoisted_16$e={key:0},_hoisted_17$e={key:1},_hoisted_18$e={class:"button-row padding-t-2x"},_hoisted_19$e={key:3,class:"flex flex-col",style:{width:"100%"}},_hoisted_20$e={class:"primary-card flex-mid-align flex flex-col"},_hoisted_21$e={class:"success-text"};function _sfc_render$x(e,t,n,o,s,r){return e.CDHContainer.useURL===!0?(openBlock(),createElementBlock("section",_hoisted_1$t,[createBaseVNode("iframe",{onLoad:t[0]||(t[0]=(...l)=>r.onLoadIframe&&r.onLoadIframe(...l)),src:e.offerURL,style:{overflow:"hidden"},width:"100%",height:"100%",border:"0",frameborder:"0"},null,40,_hoisted_2$q)])):!s.isprocessed&&e.offerURL.indexOf("/Basic")===0?(openBlock(),createElementBlock("section",_hoisted_3$m,[createBaseVNode("h1",null,toDisplayString$1(e.CDHContainer.title),1),createBaseVNode("div",_hoisted_4$l,[createBaseVNode("img",{class:"offer-img",src:e.CDHContainer.img,alt:e.CDHContainer.title},null,8,_hoisted_5$l),createBaseVNode("div",_hoisted_6$k,[typeof e.CDHContainer.message<"u"?(openBlock(),createElementBlock("div",_hoisted_7$g,[createBaseVNode("label",null,toDisplayString$1(e.$t("message.offer_builtin_description")),1),createBaseVNode("p",null,toDisplayString$1(e.CDHContainer.message),1)])):createCommentVNode("",!0),typeof e.CDHContainer.benefits<"u"?(openBlock(),createElementBlock("div",_hoisted_8$f,[createBaseVNode("label",null,toDisplayString$1(e.$t("message.offer_builtin_benefits")),1),createBaseVNode("p",null,toDisplayString$1(e.CDHContainer.benefits),1)])):createCommentVNode("",!0),createBaseVNode("div",_hoisted_9$f,[createBaseVNode("button",{onClick:t[1]||(t[1]=l=>r.processOffer("Rejected")),class:"tertiary"},toDisplayString$1(e.$t("message.offer_builtin_button_rejected")),1),createBaseVNode("button",{onClick:t[2]||(t[2]=l=>r.processOffer("Accepted")),class:"strong"},toDisplayString$1(e.$t("message.offer_builtin_button_accepted")),1)])])])])):!s.isprocessed&&e.offerURL.indexOf("/Detailed")===0?(openBlock(),createElementBlock("section",_hoisted_10$e,[createBaseVNode("h1",null,toDisplayString$1(e.CDHContainer.title),1),createBaseVNode("div",_hoisted_11$e,[createBaseVNode("img",{class:"offer-img",src:e.CDHContainer.img,alt:e.CDHContainer.title},null,8,_hoisted_12$e),createBaseVNode("div",_hoisted_13$e,[typeof e.CDHContainer.message<"u"?(openBlock(),createElementBlock("div",_hoisted_14$e,[createBaseVNode("label",null,toDisplayString$1(e.$t("message.offer_builtin_description")),1),createBaseVNode("p",null,toDisplayString$1(e.CDHContainer.message),1)])):createCommentVNode("",!0),typeof e.CDHContainer.benefits<"u"?(openBlock(),createElementBlock("div",_hoisted_15$e,[createBaseVNode("label",null,toDisplayString$1(e.$t("message.offer_builtin_benefits")),1),createBaseVNode("p",null,toDisplayString$1(e.CDHContainer.benefits),1)])):createCommentVNode("",!0),(openBlock(!0),createElementBlock(Fragment,null,renderList(e.CDHContainer.attributes,(l,a)=>(openBlock(),createElementBlock("div",{key:a},[typeof e.CDHContainer[l]<"u"&&e.CDHContainer[l]!==""?(openBlock(),createElementBlock("label",_hoisted_16$e,toDisplayString$1(e.$t(`message.offer_builtin_${l}`)===`message.offer_builtin_${l}`?l:e.$t(`message.offer_builtin_${l}`)),1)):createCommentVNode("",!0),typeof e.CDHContainer[l]<"u"&&e.CDHContainer[l]!==""?(openBlock(),createElementBlock("p",_hoisted_17$e,toDisplayString$1(e.CDHContainer[l]),1)):createCommentVNode("",!0)]))),128)),createBaseVNode("div",_hoisted_18$e,[createBaseVNode("button",{onClick:t[3]||(t[3]=l=>r.processOffer("Rejected")),class:"tertiary"},toDisplayString$1(e.$t("message.offer_builtin_button_rejected")),1),createBaseVNode("button",{onClick:t[4]||(t[4]=l=>r.processOffer("Accepted")),class:"strong"},toDisplayString$1(e.$t("message.offer_builtin_button_accepted")),1)])])])])):(openBlock(),createElementBlock("section",_hoisted_19$e,[createBaseVNode("h1",null,toDisplayString$1(e.$t("message.offer_builtin_response_heading")),1),createBaseVNode("div",_hoisted_20$e,[t[6]||(t[6]=createBaseVNode("i",{class:"product-icon pi pi-check"},null,-1)),createBaseVNode("p",_hoisted_21$e,toDisplayString$1(e.$t("message.offer_builtin_thankyou")),1),createBaseVNode("p",null,toDisplayString$1(e.$t("message.offer_builtin_response")),1),createBaseVNode("div",null,[createBaseVNode("button",{onClick:t[5]||(t[5]=l=>r.closeOffer()),class:"strong"},toDisplayString$1(e.$t("message.offer_builtin_button_close")),1)])])]))}const MicroSiteMainArea=_export_sfc(_sfc_main$x,[["render",_sfc_render$x]]),_sfc_main$w={data(){return{...mainconfig,isExpanded:!1,isEnabled:!1,msg:"Click play to enable detection of user patterns."}},methods:{toggleRTSOverlay(){this.isExpanded=!this.isExpanded},toggleRTSFeature(){this.isEnabled=!this.isEnabled,mainconfig.isRTSEnabled=this.isEnabled}}},_hoisted_1$s={class:"flex"},_hoisted_2$p={class:"flex flex-1"},_hoisted_3$l={class:"comment"};function _sfc_render$w(e,t,n,o,s,r){return openBlock(),createElementBlock("div",{class:normalizeClass("rts-overlay"+(s.isExpanded?" expanded":""))},[createBaseVNode("button",{class:"pi pi-stopwatch-solid rts-toggle rts-overlay-toggle",onClick:t[0]||(t[0]=l=>r.toggleRTSOverlay()),title:"toggle RTS overlay"}),createBaseVNode("div",_hoisted_1$s,[createBaseVNode("div",_hoisted_2$p,[t[2]||(t[2]=createBaseVNode("div",{class:"flex flex-col"},[createBaseVNode("div",{class:"rts-logo"}),createBaseVNode("span",null,"Real-time data streaming")],-1)),createBaseVNode("button",{class:normalizeClass("pi rts-enable rts-toggle"+(s.isEnabled?" pi-pause-solid pi-rts-error":" pi-play-solid")),onClick:t[1]||(t[1]=l=>r.toggleRTSFeature()),title:"toggle RTS feature"},null,2)]),createBaseVNode("div",_hoisted_3$l,toDisplayString$1(s.msg),1)])],2)}const RTSOverlay=_export_sfc(_sfc_main$w,[["render",_sfc_render$w]]),_sfc_main$v={data(){return mainconfig},components:{MainHeader:Header$1,FrontMainArea,MashupMainArea,FrontSecondaryArea,MainFooter:Footer,MicroSiteMainArea,RTSOverlay}},_hoisted_1$r={key:0,class:"form flex flex-col"},_hoisted_2$o={class:"mashup-main flex flex-col"},_hoisted_3$k={key:1,class:"form flex flex-col"},_hoisted_4$k={class:"flex flex-col"},_hoisted_5$k={class:"wrap height-100-pct"},_hoisted_6$j={key:2,class:"front"};function _sfc_render$v(e,t,n,o,s,r){const l=resolveComponent("MainHeader"),a=resolveComponent("MashupMainArea"),c=resolveComponent("MainFooter"),d=resolveComponent("MicroSiteMainArea"),u=resolveComponent("RTSOverlay"),m=resolveComponent("FrontMainArea"),f=resolveComponent("FrontSecondaryArea");return e.homeHeroAction==1||e.viewKMHelp==1?(openBlock(),createElementBlock("div",_hoisted_1$r,[createVNode(l),createBaseVNode("main",_hoisted_2$o,[createVNode(a,{class:"wrap"})]),createVNode(c)])):e.offerURL!==""?(openBlock(),createElementBlock("div",_hoisted_3$k,[createVNode(l),createBaseVNode("main",_hoisted_4$k,[createBaseVNode("div",_hoisted_5$k,[createVNode(d)])]),createVNode(c)])):(openBlock(),createElementBlock("div",_hoisted_6$j,[e.settings.pega_marketing.enableRTS?(openBlock(),createBlock(u,{key:0})):createCommentVNode("",!0),createVNode(l),createBaseVNode("main",{class:normalizeClass("flex flex-col"+(e.isRTSEnabled?" rts-enabled":""))},[createVNode(m),createVNode(f)],2),createVNode(c)]))}const FrontPage=_export_sfc(_sfc_main$v,[["render",_sfc_render$v]]),_sfc_main$u={data(){return mainconfig}},_hoisted_1$q={class:"primary-card"},_hoisted_2$n={class:"header flex flex-mid-align search-bar"},_hoisted_3$j=["value","placeholder"],_hoisted_4$j={key:0,class:"content responsive color-heading"},_hoisted_5$j={scope:"col"},_hoisted_6$i={scope:"col"},_hoisted_7$f={scope:"col"},_hoisted_8$e={scope:"col",class:"align-r"},_hoisted_9$e={class:"heading"},_hoisted_10$d={class:"hide-collapsed",colspan:"2"},_hoisted_11$d=["data-title"],_hoisted_12$d=["title"],_hoisted_13$d=["data-title"],_hoisted_14$d=["data-title"],_hoisted_15$d=["data-title"],_hoisted_16$d=["data-title"],_hoisted_17$d={class:"heading"},_hoisted_18$d={class:"hide-collapsed",colspan:"2"},_hoisted_19$d=["data-title"],_hoisted_20$d=["title"],_hoisted_21$d=["data-title"],_hoisted_22$d=["data-title"],_hoisted_23$d=["data-title"],_hoisted_24$8=["data-title"],_hoisted_25$7={key:0,class:"trend trend-success"},_hoisted_26$6={key:1,class:"trend trend-error"},_hoisted_27$6={class:"investmentamount"},_hoisted_28$6={class:"footer"},_hoisted_29$6={colspan:"4"};function _sfc_render$u(e,t,n,o,s,r){return openBlock(),createElementBlock("section",_hoisted_1$q,[createBaseVNode("div",_hoisted_2$n,[createBaseVNode("h3",null,toDisplayString$1(e.$t("message.accounts")),1),createBaseVNode("input",{type:"text",class:"filter",value:e.$t("message.search"),placeholder:e.$t("message.search_past_services")},null,8,_hoisted_3$j),t[0]||(t[0]=createBaseVNode("i",{class:"pi pi-dark pi-search"},null,-1))]),e.userId!=-1?(openBlock(),createElementBlock("table",_hoisted_4$j,[createBaseVNode("thead",null,[createBaseVNode("tr",null,[createBaseVNode("th",_hoisted_5$j,toDisplayString$1(e.$t("message.accounts_header1")),1),createBaseVNode("th",_hoisted_6$i,toDisplayString$1(e.$t("message.accounts_header2")),1),createBaseVNode("th",_hoisted_7$f,toDisplayString$1(e.$t("message.accounts_header3")),1),createBaseVNode("th",_hoisted_8$e,toDisplayString$1(e.$t("message.accounts_header4")),1)])]),createBaseVNode("tbody",null,[createBaseVNode("tr",_hoisted_9$e,[createBaseVNode("td",_hoisted_10$d,toDisplayString$1(e.$t("message.accounts_header_col1")),1),createBaseVNode("td",{"data-title":e.$t("message.accounts_header_col1"),colspan:"2",class:"align-r"}," $1,679,072.63 ",8,_hoisted_11$d)]),(openBlock(!0),createElementBlock(Fragment,null,renderList(e.settings.users[e.userId].accounts,l=>(openBlock(),createElementBlock("tr",{key:l.id,title:l.id},[createBaseVNode("td",{"data-title":e.$t("message.accounts_header1")},[createBaseVNode("a",null,toDisplayString$1(l.number),1)],8,_hoisted_13$d),createBaseVNode("td",{"data-title":e.$t("message.accounts_header2")},toDisplayString$1(l.name),9,_hoisted_14$d),createBaseVNode("td",{"data-title":e.$t("message.accounts_header3")},toDisplayString$1(l.type),9,_hoisted_15$d),createBaseVNode("td",{"data-title":e.$t("message.accounts_header4"),class:"align-r"},toDisplayString$1(e.$n(l.balance,"currency")),9,_hoisted_16$d)],8,_hoisted_12$d))),128)),createBaseVNode("tr",_hoisted_17$d,[createBaseVNode("td",_hoisted_18$d,toDisplayString$1(e.$t("message.investmentaccounts_header_col1")),1),createBaseVNode("td",{"data-title":e.$t("message.investmentaccounts_header_col1"),colspan:"2",class:"align-r"}," $141,216,865.42 ",8,_hoisted_19$d)]),(openBlock(!0),createElementBlock(Fragment,null,renderList(e.settings.users[e.userId].investmentaccounts,l=>(openBlock(),createElementBlock("tr",{key:l.id,title:l.id},[createBaseVNode("td",{"data-title":e.$t("message.accounts_header1")},[createBaseVNode("a",null,toDisplayString$1(l.number),1)],8,_hoisted_21$d),createBaseVNode("td",{"data-title":e.$t("message.accounts_header2")},toDisplayString$1(l.name),9,_hoisted_22$d),createBaseVNode("td",{"data-title":e.$t("message.accounts_header3")},toDisplayString$1(l.type),9,_hoisted_23$d),createBaseVNode("td",{"data-title":e.$t("message.accounts_header4"),class:"align-r"},[l.trend==="green"?(openBlock(),createElementBlock("span",_hoisted_25$7,[t[1]||(t[1]=createBaseVNode("i",{class:"pi pi-arrow-up pi-success"},null,-1)),createTextVNode(" "+toDisplayString$1(l.trendvalue)+"% ",1)])):(openBlock(),createElementBlock("span",_hoisted_26$6,[t[2]||(t[2]=createBaseVNode("i",{class:"pi pi-arrow-down pi-error"},null,-1)),createTextVNode(" "+toDisplayString$1(l.trendvalue)+"% ",1)])),createBaseVNode("span",_hoisted_27$6,toDisplayString$1(e.$n(l.balance,"currency")),1)],8,_hoisted_24$8)],8,_hoisted_20$d))),128)),createBaseVNode("tr",_hoisted_28$6,[createBaseVNode("td",_hoisted_29$6,[createBaseVNode("a",null,toDisplayString$1(e.$t("message.addaccount")),1)])])])])):createCommentVNode("",!0)])}const AccountList=_export_sfc(_sfc_main$u,[["render",_sfc_render$u]]),_sfc_main$t={data(){return mainconfig}},_hoisted_1$p={class:"primary-card keyrates"},_hoisted_2$m={class:"color-light"},_hoisted_3$i={class:"heading"},_hoisted_4$i={scope:"col"},_hoisted_5$i={scope:"col"},_hoisted_6$h={scope:"col"},_hoisted_7$e=["title"],_hoisted_8$d={key:0,class:"pi pi-arrow-up pi-success"},_hoisted_9$d={key:1,class:"pi pi-arrow-down pi-error"};function _sfc_render$t(e,t,n,o,s,r){return openBlock(),createElementBlock("section",_hoisted_1$p,[createBaseVNode("h3",null,toDisplayString$1(e.$t("message.keyrates_title")),1),createBaseVNode("table",_hoisted_2$m,[createBaseVNode("thead",null,[createBaseVNode("tr",_hoisted_3$i,[t[0]||(t[0]=createBaseVNode("th",{scope:"col"},"Metric",-1)),createBaseVNode("th",_hoisted_4$i,toDisplayString$1(e.$t("message.keyrates_header_col1")),1),createBaseVNode("th",_hoisted_5$i,toDisplayString$1(e.$t("message.keyrates_header_col2")),1),createBaseVNode("th",_hoisted_6$h,toDisplayString$1(e.$t("message.keyrates_header_col3")),1)])]),createBaseVNode("tbody",null,[(openBlock(!0),createElementBlock(Fragment,null,renderList(e.settings.keyrates,l=>(openBlock(),createElementBlock("tr",{key:l.name,title:e.$t("message."+l.name)},[createBaseVNode("td",null,toDisplayString$1(e.$t("message."+l.name)),1),createBaseVNode("td",null,[l.trend==="green"?(openBlock(),createElementBlock("i",_hoisted_8$d)):createCommentVNode("",!0),l.trend==="red"?(openBlock(),createElementBlock("i",_hoisted_9$d)):createCommentVNode("",!0),createTextVNode(" "+toDisplayString$1(e.$n(l.current,"keyrates")),1)]),createBaseVNode("td",null,toDisplayString$1(e.$n(l.high,"keyrates")),1),createBaseVNode("td",null,toDisplayString$1(e.$n(l.low,"keyrates")),1)],8,_hoisted_7$e))),128))])])])}const KeyRates=_export_sfc(_sfc_main$t,[["render",_sfc_render$t]]),_sfc_main$s={data(){return mainconfig},components:{MashupMainArea,AccountList,Banner,RecentActivity,QuickLinks,KeyRates},methods:{getMonth(e){const t=new Date(new Date().getFullYear(),new Date().getMonth(),1);return t.setMonth((t.getMonth()+e)%12),t}}},_hoisted_1$o={class:"col col-1"},_hoisted_2$l={class:"primary-card"},_hoisted_3$h={class:"flex"},_hoisted_4$h={class:"flex-1 cash-projections primary-card"},_hoisted_5$h={class:"flex"},_hoisted_6$g={class:"dropdown"},_hoisted_7$d={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 880 305"},_hoisted_8$c={transform:"translate(80,40)"},_hoisted_9$c={class:"axis",color:"#7b7b7b",fill:"#7b7b7b","font-size":"18","font-family":"Inter","text-anchor":"end",transform:"rotate(270)"},_hoisted_10$c={x:"-165",y:"-43",dy:"0.32em","text-anchor":"start"},_hoisted_11$c={x:"-155",y:"745",dy:"0.32em","text-anchor":"start"},_hoisted_12$c={class:"axis",transform:"translate(0,205)",fill:"none","font-size":"16","font-family":"Inter","text-anchor":"middle"},_hoisted_13$c={class:"tick",opacity:"1",transform:"translate(55,0)"},_hoisted_14$c={fill:"#7b7b7b",y:"9",dy:"0.71em"},_hoisted_15$c={class:"tick",opacity:"1",transform:"translate(170,0)"},_hoisted_16$c={fill:"#7b7b7b",y:"9",dy:"0.71em"},_hoisted_17$c={class:"tick",opacity:"1",transform:"translate(285,0)"},_hoisted_18$c={fill:"#7b7b7b",y:"9",dy:"0.71em"},_hoisted_19$c={class:"tick",opacity:"1",transform:"translate(400,0)"},_hoisted_20$c={fill:"#7b7b7b",y:"9",dy:"0.71em"},_hoisted_21$c={class:"tick",opacity:"1",transform:"translate(515,0)"},_hoisted_22$c={fill:"#7b7b7b",y:"9",dy:"0.71em"},_hoisted_23$c={class:"tick",opacity:"1",transform:"translate(630,0)"},_hoisted_24$7={fill:"#7b7b7b",y:"9",dy:"0.71em"},_hoisted_25$6={"font-family":"Inter","font-size":"15","text-anchor":"end"},_hoisted_26$5={transform:"translate(-55,5)"},_hoisted_27$5={fill:"#7b7b7b",x:"235",y:"240",dy:"0.32em"},_hoisted_28$5={fill:"#7b7b7b",x:"320",y:"240",dy:"0.32em"},_hoisted_29$5={transform:"translate(365,240)"},_hoisted_30$4={fill:"#7b7b7b",x:"115",dy:"0.32em"},_hoisted_31$4={transform:"translate(520,240)"},_hoisted_32$4={fill:"#7b7b7b",x:"135",dy:"0.32em"};function _sfc_render$s(e,t,n,o,s,r){const l=resolveComponent("Banner"),a=resolveComponent("AccountList"),c=resolveComponent("QuickLinks"),d=resolveComponent("MashupMainArea"),u=resolveComponent("RecentActivity"),m=resolveComponent("KeyRates");return openBlock(),createElementBlock("div",_hoisted_1$o,[createBaseVNode("div",_hoisted_2$l,[typeof e.settings.banner<"u"&&e.settings.banner.hidebanner!=="true"&&e.settings.banner.hidebanner!==!0?(openBlock(),createBlock(l,{key:0})):createCommentVNode("",!0),createVNode(a),createVNode(c)]),typeof e.settings.todo<"u"&&e.settings.todo.url!==""?(openBlock(),createBlock(d,{key:e.reloadToDoMashup})):createCommentVNode("",!0),typeof e.settings.todo<"u"&&e.settings.todo.hideactivity!=="true"&&e.settings.todo.hideactivity!==!0?(openBlock(),createBlock(u,{key:e.reloadActivityMashup})):createCommentVNode("",!0),createBaseVNode("div",_hoisted_3$h,[createBaseVNode("section",_hoisted_4$h,[createBaseVNode("div",_hoisted_5$h,[createBaseVNode("h3",null,toDisplayString$1(e.$t("message.cash_projections")),1),createBaseVNode("div",null,[createBaseVNode("p",null,toDisplayString$1(e.$t("message.income")),1),t[0]||(t[0]=createBaseVNode("span",null,[createBaseVNode("i",{class:"pi pi-arrow-down pi-error"}),createTextVNode("17.4% ")],-1))]),createBaseVNode("div",null,[createBaseVNode("p",null,toDisplayString$1(e.$t("message.cost")),1),t[1]||(t[1]=createBaseVNode("span",null,[createBaseVNode("i",{class:"pi pi-arrow-up pi-success"}),createTextVNode("12.2% ")],-1))]),createBaseVNode("div",null,[createBaseVNode("p",null,toDisplayString$1(e.$t("message.balance")),1),t[2]||(t[2]=createBaseVNode("span",null,[createBaseVNode("i",{class:"pi pi-arrow-down pi-error"}),createTextVNode("2.1% ")],-1))])]),createBaseVNode("div",null,[createBaseVNode("p",_hoisted_6$g,[createTextVNode(toDisplayString$1(e.$t("message.cash_projections_dropdown"))+" ",1),t[3]||(t[3]=createBaseVNode("i",{class:"pi pi-caret-down"},null,-1))])]),(openBlock(),createElementBlock("svg",_hoisted_7$d,[createBaseVNode("g",_hoisted_8$c,[createBaseVNode("g",_hoisted_9$c,[createBaseVNode("text",_hoisted_10$c,toDisplayString$1(e.$t("message.income_and_cost")),1),createBaseVNode("text",_hoisted_11$c,toDisplayString$1(e.$t("message.cash_and_balance")),1)]),t[12]||(t[12]=createStaticVNode('00.5M50k1M100k1.5M150k2M200k',6)),createBaseVNode("g",_hoisted_12$c,[createBaseVNode("g",_hoisted_13$c,[createBaseVNode("text",_hoisted_14$c,toDisplayString$1(e.$d(r.getMonth(-4),"month_only")),1)]),createBaseVNode("g",_hoisted_15$c,[createBaseVNode("text",_hoisted_16$c,toDisplayString$1(e.$d(r.getMonth(-3),"month_only")),1)]),createBaseVNode("g",_hoisted_17$c,[createBaseVNode("text",_hoisted_18$c,toDisplayString$1(e.$d(r.getMonth(-2),"month_only")),1)]),createBaseVNode("g",_hoisted_19$c,[createBaseVNode("text",_hoisted_20$c,toDisplayString$1(e.$d(r.getMonth(-1),"month_only")),1)]),createBaseVNode("g",_hoisted_21$c,[createBaseVNode("text",_hoisted_22$c,toDisplayString$1(e.$d(r.getMonth(0),"month_only")),1)]),createBaseVNode("g",_hoisted_23$c,[createBaseVNode("text",_hoisted_24$7,toDisplayString$1(e.$d(r.getMonth(1),"month_only")),1)])]),createBaseVNode("g",_hoisted_25$6,[createBaseVNode("g",_hoisted_26$5,[t[10]||(t[10]=createBaseVNode("circle",{cx:"170",cy:"240",r:"5",fill:"#67c100"},null,-1)),createBaseVNode("text",_hoisted_27$5,toDisplayString$1(e.$t("message.income")),1),t[11]||(t[11]=createBaseVNode("circle",{cx:"275",cy:"240",r:"5",fill:"#ea5959"},null,-1)),createBaseVNode("text",_hoisted_28$5,toDisplayString$1(e.$t("message.cost")),1),createBaseVNode("g",_hoisted_29$5,[t[4]||(t[4]=createBaseVNode("line",{stroke:"#3171e1",x2:"15"},null,-1)),t[5]||(t[5]=createBaseVNode("line",{stroke:"#3171e1",x2:"-15"},null,-1)),t[6]||(t[6]=createBaseVNode("circle",{r:"5",stroke:"#3171e1",fill:"#000"},null,-1)),createBaseVNode("text",_hoisted_30$4,toDisplayString$1(e.$t("message.cash_balance")),1)]),createBaseVNode("g",_hoisted_31$4,[t[7]||(t[7]=createBaseVNode("line",{stroke:"#3171e1",x2:"15","stroke-dasharray":"3 3"},null,-1)),t[8]||(t[8]=createBaseVNode("line",{stroke:"#3171e1",x2:"-15","stroke-dasharray":"3 3"},null,-1)),t[9]||(t[9]=createBaseVNode("circle",{r:"5",stroke:"#3171e1",fill:"#000"},null,-1)),createBaseVNode("text",_hoisted_32$4,toDisplayString$1(e.$t("message.cash_predition")),1)])])]),t[13]||(t[13]=createStaticVNode('',1))])]))]),createVNode(m,{class:"flex-1"})])])}const BankAccountMainArea=_export_sfc(_sfc_main$s,[["render",_sfc_render$s]]),_sfc_main$r={data(){return{...mainconfig,errorloading:!1,loading:!0,data:[],RTSstate:{index:-1,id:0}}},mounted(){if(this.settings.pega_marketing.Host!==""&&this.settings.pega_marketing.accountPage.placement!==""&&this.settings.pega_marketing.accountPage.containerName!==""){const e=this;let t="";this.userId!==-1&&this.settings.users[this.userId].customerID&&(t=this.settings.users[this.userId].customerID),setTimeout(()=>{initNBAM(e,"accountPage",t,e.previousPage,"account.html")},200)}},updated(){if(window.IntersectionObserver&&mainconfig.settings.pega_marketing.useCaptureByChannel===!0){const e=new IntersectionObserver(t=>{t.forEach(n=>{if(n.isIntersecting){const o=n.target.getAttribute("data-offer-index");captureResponse(this,this.data[o],"Impression"),e.unobserve(n.target)}})},{threshold:1});document.querySelectorAll(".offer-container").forEach(t=>{e.observe(t)})}},components:{Offer},methods:{gotoOfferPage(e){mainconfig.currentPage="offer.html",this.$gtag&&this.$gtag.pageview({page_path:mainconfig.currentPage}),sendClickStreamEvent(mainconfig,"PageView","Offer",window.loadPage),window.loadPage=new Date;const t=mainconfig.isAuthenticated?{userId:mainconfig.userId}:{};window.history.pushState(t,"","offer.html"),mainconfig.offerIndex=0,setTimeout(()=>{window.scrollTo({top:0,behavior:"smooth"})},0),e.preventDefault()},checkRTSEventHover(e,t,n){mainconfig.isRTSEnabled===!0&&(this.RTSstate.index===-1?(this.RTSstate.index=e,this.RTSstate.id=setTimeout(()=>{this.generateRTSEvent(t)},3e3)):this.RTSstate.index===e&&n===!1&&(clearTimeout(this.RTSstate.id),this.RTSstate.id=0,this.RTSstate.index=-1))},generateRTSEvent(e){const t=document.querySelector(".comment"),n=new Date;let o=n.getMonth()+1;o<10&&(o=`0${o}`);const s=`${n.getFullYear()}-${o}-${n.getDate()}`,r=`${n.getHours()}:${n.getMinutes()}:${n.getSeconds()}`;t.innerHTML+=`

${s} ${r} - Sending event - group:${e.category} - value:${e.name}(openBlock(),createElementBlock("section",{class:"offer-card-col",key:a.title},[createBaseVNode("img",{class:"offer-img",src:"./img/"+a.img,alt:e.$t("message."+a.title)},null,8,_hoisted_3$g),createBaseVNode("div",_hoisted_4$g,[createBaseVNode("h3",null,toDisplayString$1(e.$t("message."+a.title)),1),createBaseVNode("p",null,toDisplayString$1(e.$t("message."+a.message)),1),createBaseVNode("a",{onClick:t[0]||(t[0]=(...c)=>r.gotoOfferPage&&r.gotoOfferPage(...c)),href:"./offer.html"},toDisplayString$1(e.$t("message.learnmore")),1)])]))),128))])):e.settings.pega_marketing.Host!==""&&s.loading&&e.settings.pega_marketing.showLoadingIndicator?(openBlock(),createElementBlock("div",_hoisted_5$g,t[1]||(t[1]=[createBaseVNode("span",{class:"loading"},[createBaseVNode("span",{class:"dot"}),createBaseVNode("span",{class:"dot"}),createBaseVNode("span",{class:"dot"})],-1)]))):(openBlock(),createElementBlock("div",_hoisted_6$f,[(openBlock(!0),createElementBlock(Fragment,null,renderList(s.data,(a,c)=>(openBlock(),createElementBlock("div",{key:a.title,onMouseover:d=>r.checkRTSEventHover(c,a,!0),onMouseleave:d=>r.checkRTSEventHover(c,a,!1)},[createVNode(l,{offer:a,"data-offer-index":c,class:"offer-container"},null,8,["offer","data-offer-index"])],40,_hoisted_7$c))),128))]))])}const AccountSecondaryArea=_export_sfc(_sfc_main$r,[["render",_sfc_render$r]]),_sfc_main$q={data(){return mainconfig},components:{MainHeader:Header$1,AccountMainArea,BankAccountMainArea,AccountSecondaryArea,MashupMainArea,MainFooter:Footer,MicroSiteMainArea,RTSOverlay},methods:{showWelcomeMessage(){return this.settings.users[this.userId].name}}},_hoisted_1$m={class:"form flex flex-col"},_hoisted_2$j={key:0,class:"flex flex-col"},_hoisted_3$f={class:"flex wrap height-100-pct"},_hoisted_4$f={key:0,class:"wrap account-msg"},_hoisted_5$f={class:"wrap cols flex flex-wrap"},_hoisted_6$e={key:2,class:"mashup-main flex flex-col"};function _sfc_render$q(e,t,n,o,s,r){const l=resolveComponent("MainHeader"),a=resolveComponent("MicroSiteMainArea"),c=resolveComponent("RTSOverlay"),d=resolveComponent("AccountMainArea"),u=resolveComponent("BankAccountMainArea"),m=resolveComponent("AccountSecondaryArea"),f=resolveComponent("MashupMainArea"),v=resolveComponent("MainFooter");return openBlock(),createElementBlock("div",_hoisted_1$m,[createVNode(l),e.offerURL!==""?(openBlock(),createElementBlock("main",_hoisted_2$j,[createBaseVNode("div",_hoisted_3$f,[createVNode(a)])])):e.quickLinkId===-1&&e.viewBill===-1&&e.viewKMHelp===-1&&e.viewBanner===-1?(openBlock(),createElementBlock("main",{key:1,class:normalizeClass("flex flex-col"+(e.isRTSEnabled?" rts-enabled":""))},[e.settings.pega_marketing.enableRTS?(openBlock(),createBlock(c,{key:0})):createCommentVNode("",!0),t[0]||(t[0]=createBaseVNode("div",{class:"ribbon1"},[createBaseVNode("div")],-1)),createBaseVNode("div",null,[e.userId!=-1?(openBlock(),createElementBlock("h1",_hoisted_4$f,toDisplayString$1(e.$t("message.hello")+r.showWelcomeMessage()),1)):createCommentVNode("",!0),createBaseVNode("div",_hoisted_5$f,[e.app.industry!=="commercial_bank"?(openBlock(),createBlock(d,{key:0})):createCommentVNode("",!0),e.app.industry==="commercial_bank"?(openBlock(),createBlock(u,{key:1})):createCommentVNode("",!0),(openBlock(),createBlock(m,{key:e.reloadOffer}))])])],2)):(openBlock(),createElementBlock("main",_hoisted_6$e,[createVNode(f,{class:"wrap"})])),createVNode(v)])}const AccountPage=_export_sfc(_sfc_main$q,[["render",_sfc_render$q]]),_sfc_main$p={data(){return mainconfig},components:{FrontPage,AccountPage,PhonePage}};function _sfc_render$p(e,t,n,o,s,r){const l=resolveComponent("PhonePage"),a=resolveComponent("AccountPage"),c=resolveComponent("FrontPage");return e.isMobilePhone?(openBlock(),createBlock(l,{key:0})):e.isAuthenticated?(openBlock(),createBlock(a,{key:1})):(openBlock(),createBlock(c,{key:2}))}const DefaultPage=_export_sfc(_sfc_main$p,[["render",_sfc_render$p]]),_sfc_main$o={data(){return mainconfig}},_hoisted_1$l={class:"wrap"},_hoisted_2$i={class:"highlight-card flex-mid-align"},_hoisted_3$e={class:"flex flex-col"},_hoisted_4$e={class:"offer-highlights"},_hoisted_5$e={class:"flex flex-col"};function _sfc_render$o(e,t,n,o,s,r){return openBlock(),createElementBlock("div",_hoisted_1$l,[createBaseVNode("div",_hoisted_2$i,[createBaseVNode("div",_hoisted_3$e,[createBaseVNode("h2",null,toDisplayString$1(e.$t("message."+e.app.offer[e.offerIndex].details.title)),1),createBaseVNode("span",null,toDisplayString$1(e.$t("message."+e.app.offer[e.offerIndex].details.message)),1)]),createBaseVNode("div",_hoisted_4$e,[(openBlock(!0),createElementBlock(Fragment,null,renderList(e.app.offer[e.offerIndex].highlights.data,(l,a)=>(openBlock(),createElementBlock("div",{class:"flex flex-mid-align",key:a},[createBaseVNode("i",{class:normalizeClass("pi color-brand "+l.icon)},null,2),createBaseVNode("div",_hoisted_5$e,[createBaseVNode("p",null,toDisplayString$1(e.$t("message."+l.title)),1),createBaseVNode("span",null,toDisplayString$1(e.$t("message."+l.message)),1)])]))),128))])])])}const Highlight=_export_sfc(_sfc_main$o,[["render",_sfc_render$o]]),_sfc_main$n={data(){return mainconfig},components:{MainOffer,Highlight,MicroSiteMainArea,MashupMainArea}},_hoisted_1$k={key:0,class:"mashup-main flex flex-col"},_hoisted_2$h={key:1,class:"flex flex-col"},_hoisted_3$d={class:"wrap flex height-100-pct"},_hoisted_4$d={key:2,class:"flex flex-col hero-main"},_hoisted_5$d={class:"wrap offer-heading"},_hoisted_6$d={class:"highlight-main"};function _sfc_render$n(e,t,n,o,s,r){const l=resolveComponent("MashupMainArea"),a=resolveComponent("MicroSiteMainArea"),c=resolveComponent("MainOffer"),d=resolveComponent("Highlight");return e.offerAction!==-1?(openBlock(),createElementBlock("main",_hoisted_1$k,[createVNode(l,{class:"wrap"})])):e.offerURL!==""?(openBlock(),createElementBlock("main",_hoisted_2$h,[createBaseVNode("div",_hoisted_3$d,[createVNode(a)])])):(openBlock(),createElementBlock("main",_hoisted_4$d,[t[0]||(t[0]=createBaseVNode("div",{class:"ribbon1"},[createBaseVNode("div",null,[createBaseVNode("div",{class:"wrap"})])],-1)),createBaseVNode("div",_hoisted_5$d,[createBaseVNode("h1",null,toDisplayString$1(e.$t("message."+e.app.offer[e.offerIndex].header.title)),1),createBaseVNode("p",null,toDisplayString$1(e.$t("message."+e.app.offer[e.offerIndex].header.msg)),1)]),createVNode(c,{offerType:e.offerIndex},null,8,["offerType"]),createBaseVNode("div",_hoisted_6$d,[createVNode(d)])]))}const Main$1=_export_sfc(_sfc_main$n,[["render",_sfc_render$n]]),_sfc_main$m={data(){return mainconfig},components:{Header:Header$1,Main:Main$1,Footer,PhonePage}},_hoisted_1$j={key:1,class:"form offer"};function _sfc_render$m(e,t,n,o,s,r){const l=resolveComponent("PhonePage"),a=resolveComponent("Header"),c=resolveComponent("Main"),d=resolveComponent("Footer");return e.isMobilePhone?(openBlock(),createBlock(l,{key:0})):(openBlock(),createElementBlock("div",_hoisted_1$j,[createVNode(a),createVNode(c),createVNode(d)]))}const OfferPage=_export_sfc(_sfc_main$m,[["render",_sfc_render$m]]),_sfc_main$l={data(){return mainconfig}},_hoisted_1$i={class:"flex flex-mid-align settings"},_hoisted_2$g={key:0};function _sfc_render$l(e,t,n,o,s,r){return openBlock(),createElementBlock("header",_hoisted_1$i,[t[0]||(t[0]=createBaseVNode("a",{href:"./index.html"},[createBaseVNode("img",{class:"logo",src:"./img/u+-logo.svg",alt:"U+"})],-1)),e.isMobilePhone?createCommentVNode("",!0):(openBlock(),createElementBlock("h1",_hoisted_2$g,toDisplayString$1(e.$t("message.settings")),1))])}const Header=_export_sfc(_sfc_main$l,[["render",_sfc_render$l]]),_sfc_main$k={name:"Tab",props:{name:String},setup(){const e=getCurrentInstance(),{tabs:t,active:n}=inject("tabsState"),o=computed(()=>t.value.findIndex(r=>r.uid===e.uid)),s=computed(()=>o.value===n.value);return watchEffect(()=>{o.value===-1&&t.value.push(e)}),{isActive:s}}},_hoisted_1$h={key:0};function _sfc_render$k(e,t,n,o,s,r){return o.isActive?(openBlock(),createElementBlock("div",_hoisted_1$h,[renderSlot(e.$slots,"default")])):createCommentVNode("",!0)}const Tab=_export_sfc(_sfc_main$k,[["render",_sfc_render$k]]),_sfc_main$j={props:{title:{required:!0},expanded:{type:Boolean,default:!1},format:{default:""}},data(){return{isExpanded:!1}},methods:{toggleExpand(e){this.isExpanded=!this.isExpanded,this.$emit("toggleExpand"),e.preventDefault()}},watch:{expanded:{handler(e){this.isExpanded=e}}},mounted(){this.isExpanded=this.expanded}},_hoisted_1$g={class:"simple",title:"click to expand or collapse"},_hoisted_2$f={class:"body"};function _sfc_render$j(e,t,n,o,s,r){return openBlock(),createElementBlock("div",{class:normalizeClass("flex flex-col container"+(s.isExpanded?"":" collapsed")+" "+n.format)},[createBaseVNode("div",{onClick:t[0]||(t[0]=withModifiers((...l)=>r.toggleExpand&&r.toggleExpand(...l),["stop"])),class:"header flex"},[createBaseVNode("h3",null,toDisplayString$1(n.title),1),createBaseVNode("button",_hoisted_1$g,[createBaseVNode("i",{class:normalizeClass("pi"+(s.isExpanded?" pi-caret-down":" pi-caret-right"))},null,2)])]),createBaseVNode("div",_hoisted_2$f,[renderSlot(e.$slots,"default")])],2)}const Container=_export_sfc(_sfc_main$j,[["render",_sfc_render$j]]),_sfc_main$i={props:{modelValue:{type:[String,Number]}},emits:["update:modelValue"],setup(e,{emit:t}){const n=computed(()=>e.modelValue),o=ref([]);function s(r){t("update:modelValue",r)}return provide("tabsState",{active:n,tabs:o}),{...mainconfig,tabs:o,active:n,selectTab:s}},components:{Container}},_hoisted_1$f={class:"tab-vertical-menu"},_hoisted_2$e={class:"tab-interface"},_hoisted_3$c={role:"tablist"},_hoisted_4$c=["tabindex","aria-selected","onClick"],_hoisted_5$c={key:0,class:"tab-action"},_hoisted_6$c={class:"tabs-details"};function _sfc_render$i(e,t,n,o,s,r){const l=resolveComponent("Container");return openBlock(),createElementBlock("div",_hoisted_1$f,[createBaseVNode("div",_hoisted_2$e,[createVNode(l,{onToggleExpand:e.toggleExpand,title:"Menu",expanded:e.expanded},{default:withCtx(()=>[createBaseVNode("ul",_hoisted_3$c,[(openBlock(!0),createElementBlock(Fragment,null,renderList(o.tabs,(a,c)=>(openBlock(),createElementBlock("li",{role:"presentation",key:c},[createBaseVNode("a",{role:"tab",tabindex:o.active===c?"0":"-1","aria-selected":o.active===c?"true":"false",onClick:d=>o.selectTab(c)},toDisplayString$1(a.props.name),9,_hoisted_4$c)]))),128))])]),_:1},8,["onToggleExpand","expanded"]),e.isMobilePhone?createCommentVNode("",!0):(openBlock(),createElementBlock("div",_hoisted_5$c,t[0]||(t[0]=[createBaseVNode("button",{type:"submit","data-clear":"",class:"simple"}," Reset to default ",-1),createBaseVNode("button",{class:"strong",type:"submit"},"Save",-1)])))]),createBaseVNode("div",_hoisted_6$c,[renderSlot(e.$slots,"default")])])}const Navigation=_export_sfc(_sfc_main$i,[["render",_sfc_render$i]]),_sfc_main$h={data(){return mainconfig},methods:{onFileChange(e){const t=e.target,n=new FileReader;n.onload=function(){const s=n.result;try{let r={settings:JSON.parse(s)};r=upgradeConfig(r),mainconfig.settings=r.settings,localStorage.setItem(`config_${mainconfig.app.industry}`,JSON.stringify(r)),sessionStorage.clear(),alert("The file was successfully uploaded.")}catch{alert(`Error when trying to parse the configuration file - ${e}`)}},n.readAsText(t.files[0])}}},_hoisted_1$e={class:"file-upload"};function _sfc_render$h(e,t,n,o,s,r){return openBlock(),createElementBlock("div",_hoisted_1$e,[createBaseVNode("input",{type:"file",onChange:t[0]||(t[0]=(...l)=>r.onFileChange&&r.onFileChange(...l)),name:"file",id:"file",class:"inputfile",title:"Upload configuration"},null,32),t[1]||(t[1]=createBaseVNode("label",{for:"file",title:"Upload configuration"},[createBaseVNode("i",{class:"pi pi-document-upload-solid"}),createTextVNode("Upload config file ")],-1))])}const FileUpload=_export_sfc(_sfc_main$h,[["render",_sfc_render$h]]),_sfc_main$g={data(){return mainconfig},methods:{downloadFile(){const e=JSON.stringify(mainconfig.settings,null,2),t="config-text.json",n=new Blob([e],{type:"text/plain;charset=utf-8;"});if(window.navigator.msSaveOrOpenBlob)window.navigator.msSaveBlob(n,t);else{const o=window.document.createElement("a");o.href=window.URL.createObjectURL(n),o.download=t,document.body.appendChild(o),o.click(),document.body.removeChild(o)}}}};function _sfc_render$g(e,t,n,o,s,r){return openBlock(),createElementBlock("button",{onClick:t[0]||(t[0]=(...l)=>r.downloadFile&&r.downloadFile(...l)),class:"file-download",title:"Download configuration"},t[1]||(t[1]=[createBaseVNode("i",{class:"pi pi-document-download-solid"},null,-1),createTextVNode("Download config file ")]))}const FileDownload=_export_sfc(_sfc_main$g,[["render",_sfc_render$g]]),_sfc_main$f={data(){return mainconfig},components:{FileUpload,FileDownload}},_hoisted_1$d={class:"container-transparent"},_hoisted_2$d={class:"container-transparent"};function _sfc_render$f(e,t,n,o,s,r){const l=resolveComponent("FileDownload"),a=resolveComponent("FileUpload");return openBlock(),createElementBlock("div",null,[t[4]||(t[4]=createBaseVNode("h2",null,"Welcome to the U+ demo website",-1)),createBaseVNode("div",_hoisted_1$d,[t[0]||(t[0]=createBaseVNode("h3",null,"Step 1",-1)),t[1]||(t[1]=createBaseVNode("p",null," Start by downloading the settings config file template provided here: ",-1)),createVNode(l)]),t[5]||(t[5]=createBaseVNode("div",{class:"container-transparent"},[createBaseVNode("h3",null,"Step 2"),createBaseVNode("p",null," Update this file to include information from your Pega application including users, quick links, chat... ")],-1)),createBaseVNode("div",_hoisted_2$d,[t[2]||(t[2]=createBaseVNode("h3",null,"Step 3",-1)),t[3]||(t[3]=createBaseVNode("p",null,"Upload your updated config file here:",-1)),createVNode(a)]),t[6]||(t[6]=createBaseVNode("div",{class:"container-transparent"},[createBaseVNode("h3",null,"Step 4"),createBaseVNode("p",null," After uploading the file, the changes are automatically saved. You will be able to review your settings by navigating to each section on the panel to the left. Any changes made here can be saved and redownloaded. Click on the 'Reset to default' to reset back your configuration to the default config. ")],-1))])}const GettingStarted=_export_sfc(_sfc_main$f,[["render",_sfc_render$f]]),_sfc_main$e={data(){return mainconfig},components:{Container},methods:{onConnectionTypeChange(){this.settings.general.connection.type==="mashup"?this.settings.general.connection.authtype="basic":this.settings.general.connection.type.startsWith("embedui")?this.settings.general.connection.authtype="oauth2clientcredentials":this.settings.general.connection.type==="dxv1"?this.settings.general.connection.authtype="basic":this.settings.general.connection.type==="dxv2"&&(this.settings.general.connection.authtype="oauth2password")}}},_hoisted_1$c={class:"container-transparent"},_hoisted_2$c={class:"container"},_hoisted_3$b={class:"body"},_hoisted_4$b={class:"layout-labels-top layout-inline-grid-double"},_hoisted_5$b={class:"field-item"},_hoisted_6$b={key:0,class:"field-item"},_hoisted_7$b={class:"layout-labels-top"},_hoisted_8$b={class:"field-item"},_hoisted_9$b={key:0,class:"field-item"},_hoisted_10$b={key:1,class:"field-item"},_hoisted_11$b={key:2,class:"field-item"},_hoisted_12$b={key:3,class:"field-item"},_hoisted_13$b={key:4,class:"field-item"},_hoisted_14$b={key:5,class:"field-item"},_hoisted_15$b={key:6,class:"field-item"},_hoisted_16$b={key:7,class:"field-item"},_hoisted_17$b={key:8,class:"field-item"},_hoisted_18$b={key:9,class:"field-item"},_hoisted_19$b={key:10,class:"field-item"},_hoisted_20$b={key:11,class:"field-item padding-b-1x"},_hoisted_21$b={key:12,class:"field-item"},_hoisted_22$b={key:0,class:"field-item padding-b-1x"},_hoisted_23$b={class:"layout-labels-top"},_hoisted_24$6={class:"field-item padding-b-1x"},_hoisted_25$5={class:"field-item"},_hoisted_26$4={class:"layout-labels-top"},_hoisted_27$4={class:"field-item padding-b-1x"},_hoisted_28$4={class:"field-item"},_hoisted_29$4={class:"field-item"},_hoisted_30$3={class:"layout-labels-top layout-inline-grid-double"},_hoisted_31$3={class:"field-item"},_hoisted_32$3={class:"field-item"},_hoisted_33$3={class:"field-item"},_hoisted_34$3={class:"field-item"},_hoisted_35$3={class:"layout-labels-top layout-inline-grid-double"},_hoisted_36$3={class:"field-item"},_hoisted_37$3={class:"field-item"},_hoisted_38$3={class:"field-item"},_hoisted_39$3={class:"field-item"};function _sfc_render$e(e,t,n,o,s,r){const l=resolveComponent("Container");return openBlock(),createElementBlock("div",_hoisted_1$c,[t[69]||(t[69]=createBaseVNode("h2",null,"General",-1)),t[70]||(t[70]=createBaseVNode("p",null,[createTextVNode(" General configuration settings. For more details on how to configure two-factor authentication, click "),createBaseVNode("a",{href:"https://github.com/pegasystems/uplus-wss/wiki/How-to-configure-two-factor-authentication"},"here"),createTextVNode(". ")],-1)),createBaseVNode("div",_hoisted_2$c,[createBaseVNode("div",_hoisted_3$b,[createVNode(l,{title:"Theming",expanded:""},{default:withCtx(()=>[createBaseVNode("div",_hoisted_4$b,[createBaseVNode("div",_hoisted_5$b,[withDirectives(createBaseVNode("input",{id:"theming-override",type:"checkbox","onUpdate:modelValue":t[0]||(t[0]=a=>e.settings.general.theming.override=a)},null,512),[[vModelCheckbox,e.settings.general.theming.override]]),t[32]||(t[32]=createBaseVNode("label",{for:"theming-override"},"Override default theme",-1))]),e.settings.general.theming.override?(openBlock(),createElementBlock("div",_hoisted_6$b,[withDirectives(createBaseVNode("input",{id:"branding-color",type:"color","onUpdate:modelValue":t[1]||(t[1]=a=>e.settings.general.theming.brandColor=a)},null,512),[[vModelText,e.settings.general.theming.brandColor]]),t[33]||(t[33]=createBaseVNode("label",{for:"branding-color"},"Branding color",-1)),withDirectives(createBaseVNode("input",{id:"interactive-color",type:"color","onUpdate:modelValue":t[2]||(t[2]=a=>e.settings.general.theming.interactiveColor=a)},null,512),[[vModelText,e.settings.general.theming.interactiveColor]]),t[34]||(t[34]=createBaseVNode("label",{for:"interactive-color"},"Interactive color",-1))])):createCommentVNode("",!0)])]),_:1}),createVNode(l,{title:"Pega Platform access",expanded:""},{default:withCtx(()=>[createBaseVNode("div",_hoisted_7$b,[createBaseVNode("div",_hoisted_8$b,[t[36]||(t[36]=createBaseVNode("label",{for:"ga-connection-type"},"Type",-1)),withDirectives(createBaseVNode("select",{id:"ga-connection-type","onUpdate:modelValue":t[3]||(t[3]=a=>e.settings.general.connection.type=a),onChange:t[4]||(t[4]=(...a)=>r.onConnectionTypeChange&&r.onConnectionTypeChange(...a))},t[35]||(t[35]=[createBaseVNode("option",{value:"mashup"},"Pega Web Mashup (Traditional UI)",-1),createBaseVNode("option",{value:"embedui"}," Pega Web Embed UI (Constellation UI - Pega Infinity 8.7, 8.8 or '23) ",-1),createBaseVNode("option",{value:"embedui2"}," Pega Web Embed UI (Constellation UI - Pega Infinity '24.1) ",-1),createBaseVNode("option",{value:"embedui3"}," Pega Web Embed UI (Constellation UI - Pega Infinity '24.2 or higher) ",-1),createBaseVNode("option",{value:"dxv1"}," DX API v1 (Mashup Web component - 8.1+) ",-1),createBaseVNode("option",{value:"dxv2"}," DX API v2 (Mashup Web component - 8.5+) ",-1),createBaseVNode("option",{value:"launchpad"}," Launchpad ",-1)]),544),[[vModelSelect,e.settings.general.connection.type]])]),e.settings.general.connection.type==="dxv1"||e.settings.general.connection.type==="dxv2"?(openBlock(),createElementBlock("div",_hoisted_9$b,[t[38]||(t[38]=createBaseVNode("label",{for:"ga-connection-authtype"},"Authentication",-1)),withDirectives(createBaseVNode("select",{id:"ga-connection-authtype","onUpdate:modelValue":t[5]||(t[5]=a=>e.settings.general.connection.authtype=a)},t[37]||(t[37]=[createBaseVNode("option",{value:"basic"},"Basic authentication",-1),createBaseVNode("option",{value:"oauth2password"}," OAuth 2.0 Password Grant Type ",-1)]),512),[[vModelSelect,e.settings.general.connection.authtype]])])):createCommentVNode("",!0),e.settings.general.connection.type.startsWith("embedui")||e.settings.general.connection.type==="launchpad"?(openBlock(),createElementBlock("div",_hoisted_10$b,[t[40]||(t[40]=createBaseVNode("label",{for:"ga-connection-authtype"},"Authentication",-1)),withDirectives(createBaseVNode("select",{id:"ga-connection-authtype","onUpdate:modelValue":t[6]||(t[6]=a=>e.settings.general.connection.authtype=a)},t[39]||(t[39]=[createBaseVNode("option",{value:"oauth2clientcredentials"}," OAuth 2.0 Client Credentials Type ",-1)]),512),[[vModelSelect,e.settings.general.connection.authtype]])])):createCommentVNode("",!0),e.settings.general.connection.authtype==="oauth2password"||e.settings.general.connection.authtype==="oauth2clientcredentials"?(openBlock(),createElementBlock("div",_hoisted_11$b,[t[41]||(t[41]=createBaseVNode("label",{for:"ga-connection-clientid"},"Client ID",-1)),withDirectives(createBaseVNode("input",{type:"text",id:"ga-connection-clientid","onUpdate:modelValue":t[7]||(t[7]=a=>e.settings.general.connection.clientid=a)},null,512),[[vModelText,e.settings.general.connection.clientid]])])):createCommentVNode("",!0),e.settings.general.connection.authtype==="oauth2password"?(openBlock(),createElementBlock("div",_hoisted_12$b,[t[42]||(t[42]=createBaseVNode("label",{for:"ga-connection-clientsecret"},"Client secret",-1)),withDirectives(createBaseVNode("input",{type:"text",id:"ga-connection-clientsecret","onUpdate:modelValue":t[8]||(t[8]=a=>e.settings.general.connection.clientsecret=a)},null,512),[[vModelText,e.settings.general.connection.clientsecret]])])):createCommentVNode("",!0),e.settings.general.connection.type==="dxv2"?(openBlock(),createElementBlock("div",_hoisted_13$b,[t[43]||(t[43]=createBaseVNode("label",{for:"ga-connection-webportal"},"Web portal",-1)),withDirectives(createBaseVNode("input",{type:"text",id:"ga-connection-webportal","onUpdate:modelValue":t[9]||(t[9]=a=>e.settings.general.connection.webportal=a)},null,512),[[vModelText,e.settings.general.connection.webportal]])])):createCommentVNode("",!0),e.settings.general.connection.type==="embedui"?(openBlock(),createElementBlock("div",_hoisted_14$b,[t[44]||(t[44]=createBaseVNode("label",{for:"ga-connection-c11nserver"},"C11n URL (staticContentUrl)",-1)),withDirectives(createBaseVNode("input",{type:"text",id:"ga-connection-c11nserver","onUpdate:modelValue":t[10]||(t[10]=a=>e.settings.general.connection.c11nserver=a)},null,512),[[vModelText,e.settings.general.connection.c11nserver]])])):createCommentVNode("",!0),e.settings.general.connection.type==="embedui2"||e.settings.general.connection.type==="embedui3"?(openBlock(),createElementBlock("div",_hoisted_15$b,[t[45]||(t[45]=createBaseVNode("label",{for:"ga-connection-PegaURL"},"Pega Platform Web Base URL (for example 'https://127.0.0.1/prweb')",-1)),withDirectives(createBaseVNode("input",{type:"text",id:"ga-connection-PegaURL","onUpdate:modelValue":t[11]||(t[11]=a=>e.settings.general.connection.PegaURL=a)},null,512),[[vModelText,e.settings.general.connection.PegaURL]])])):createCommentVNode("",!0),e.settings.general.connection.type==="launchpad"?(openBlock(),createElementBlock("div",_hoisted_16$b,[t[46]||(t[46]=createBaseVNode("label",{for:"ga-connection-PegaURL"},"Launchpad URL (for example: 'https://xxx.lp.integration.pegaservice.net')",-1)),withDirectives(createBaseVNode("input",{type:"text",id:"ga-connection-PegaURL","onUpdate:modelValue":t[12]||(t[12]=a=>e.settings.general.connection.PegaURL=a)},null,512),[[vModelText,e.settings.general.connection.PegaURL]])])):createCommentVNode("",!0),e.settings.general.connection.type==="launchpad"?(openBlock(),createElementBlock("div",_hoisted_17$b,[t[47]||(t[47]=createBaseVNode("label",{for:"ga-connection-authorizeUri"},"AuthorizeUri endpoint",-1)),withDirectives(createBaseVNode("input",{type:"text",id:"ga-connection-authorizeUri","onUpdate:modelValue":t[13]||(t[13]=a=>e.settings.general.connection.authorizeUri=a)},null,512),[[vModelText,e.settings.general.connection.authorizeUri]])])):createCommentVNode("",!0),e.settings.general.connection.type==="embedui3"?(openBlock(),createElementBlock("div",_hoisted_18$b,[t[48]||(t[48]=createBaseVNode("label",{for:"ga-connection-ThemeID"},"Theme ID (leave empty to use auto-generated theme for each industry)",-1)),withDirectives(createBaseVNode("input",{type:"text",id:"ga-connection-ThemeID","onUpdate:modelValue":t[14]||(t[14]=a=>e.settings.general.connection.themeID=a)},null,512),[[vModelText,e.settings.general.connection.themeID]])])):createCommentVNode("",!0),e.settings.general.connection.type==="launchpad"?(openBlock(),createElementBlock("div",_hoisted_19$b,[t[49]||(t[49]=createBaseVNode("label",{for:"ga-connection-ThemeID-lp"},"Theme ID (leave empty to use application theme)",-1)),withDirectives(createBaseVNode("input",{type:"text",id:"ga-connection-ThemeID-lp","onUpdate:modelValue":t[15]||(t[15]=a=>e.settings.general.connection.themeID=a)},null,512),[[vModelText,e.settings.general.connection.themeID]])])):createCommentVNode("",!0),e.settings.general.connection.type.startsWith("embedui")||e.settings.general.connection.type==="launchpad"?(openBlock(),createElementBlock("div",_hoisted_20$b,[withDirectives(createBaseVNode("input",{type:"checkbox",id:"ga-connection-webEmbedUseFormWidth","onUpdate:modelValue":t[16]||(t[16]=a=>e.settings.general.connection.webEmbedUseFormWidth=a)},null,512),[[vModelCheckbox,e.settings.general.connection.webEmbedUseFormWidth]]),t[50]||(t[50]=createBaseVNode("label",{for:"ga-connection-webEmbedUseFormWidth"},"Set to true if the web-embed width should be limited to 80ch",-1))])):createCommentVNode("",!0),e.settings.general.connection.type.startsWith("embedui")?(openBlock(),createElementBlock("div",_hoisted_21$b,[t[51]||(t[51]=createBaseVNode("label",{for:"ga-connection-authService"},"Authentication service",-1)),withDirectives(createBaseVNode("input",{type:"text",id:"ga-connection-authService","onUpdate:modelValue":t[17]||(t[17]=a=>e.settings.general.connection.authService=a)},null,512),[[vModelText,e.settings.general.connection.authService]])])):createCommentVNode("",!0)]),e.settings.general.connection.type==="dxv1"||e.settings.general.connection.type==="dxv2"?(openBlock(),createElementBlock("div",_hoisted_22$b,[withDirectives(createBaseVNode("input",{id:"ga-connection-bshowattachment",type:"checkbox","onUpdate:modelValue":t[18]||(t[18]=a=>e.settings.general.connection.showAttachments=a)},null,512),[[vModelCheckbox,e.settings.general.connection.showAttachments]]),t[52]||(t[52]=createBaseVNode("label",{for:"ga-connection-bshowattachment"},"Show attachments",-1))])):createCommentVNode("",!0)]),_:1}),createVNode(l,{title:"Google Analytics",expanded:""},{default:withCtx(()=>[createBaseVNode("div",_hoisted_23$b,[createBaseVNode("div",_hoisted_24$6,[withDirectives(createBaseVNode("input",{id:"ga-enabled",type:"checkbox","onUpdate:modelValue":t[19]||(t[19]=a=>e.settings.general.ga.enabled=a)},null,512),[[vModelCheckbox,e.settings.general.ga.enabled]]),t[53]||(t[53]=createBaseVNode("label",{for:"ga-enabled"},"Enable",-1))]),createBaseVNode("div",_hoisted_25$5,[t[54]||(t[54]=createBaseVNode("label",{for:"ga-trackingid"},"Tracking ID",-1)),withDirectives(createBaseVNode("input",{id:"ga-trackingid",type:"text","onUpdate:modelValue":t[20]||(t[20]=a=>e.settings.general.ga.trackingid=a)},null,512),[[vModelText,e.settings.general.ga.trackingid]])])])]),_:1}),e.settings.general.connection.type!=="launchpad"?(openBlock(),createBlock(l,{key:0,title:"Two-factor authentication",expanded:""},{default:withCtx(()=>[createBaseVNode("div",_hoisted_26$4,[createBaseVNode("div",_hoisted_27$4,[withDirectives(createBaseVNode("input",{id:"2fa-enabled",type:"checkbox","onUpdate:modelValue":t[21]||(t[21]=a=>e.settings.general.auth_2fa.enabled=a)},null,512),[[vModelCheckbox,e.settings.general.auth_2fa.enabled]]),t[55]||(t[55]=createBaseVNode("label",{for:"2fa-enabled"},"Enable",-1))]),createBaseVNode("div",_hoisted_28$4,[t[56]||(t[56]=createBaseVNode("label",{for:"2fa-url"},"Server Base URL",-1)),withDirectives(createBaseVNode("input",{id:"2fa-url",type:"text","onUpdate:modelValue":t[22]||(t[22]=a=>e.settings.general.auth_2fa.url=a)},null,512),[[vModelText,e.settings.general.auth_2fa.url]])]),createBaseVNode("div",_hoisted_29$4,[t[58]||(t[58]=createBaseVNode("label",{for:"2fa-sendMode"},"OTP send mode",-1)),withDirectives(createBaseVNode("select",{id:"2fa-sendMode","onUpdate:modelValue":t[23]||(t[23]=a=>e.settings.general.auth_2fa.sendMode=a)},t[57]||(t[57]=[createBaseVNode("option",{value:"email"},"Email",-1),createBaseVNode("option",{value:"sms"},"SMS",-1)]),512),[[vModelSelect,e.settings.general.auth_2fa.sendMode]])])]),t[67]||(t[67]=createBaseVNode("h4",null,"Email",-1)),createBaseVNode("div",_hoisted_30$3,[createBaseVNode("div",_hoisted_31$3,[t[59]||(t[59]=createBaseVNode("label",{for:"2fa-email-correspondenceName"},"Correspondence name",-1)),withDirectives(createBaseVNode("input",{id:"2fa-email-correspondenceName",type:"text","onUpdate:modelValue":t[24]||(t[24]=a=>e.settings.general.auth_2fa.emailSettings.correspondenceName=a)},null,512),[[vModelText,e.settings.general.auth_2fa.emailSettings.correspondenceName]])]),createBaseVNode("div",_hoisted_32$3,[t[60]||(t[60]=createBaseVNode("label",{for:"2fa-email-emailAccount"},"Email account",-1)),withDirectives(createBaseVNode("input",{id:"2fa-email-emailAccount",type:"text","onUpdate:modelValue":t[25]||(t[25]=a=>e.settings.general.auth_2fa.emailSettings.emailAccount=a)},null,512),[[vModelText,e.settings.general.auth_2fa.emailSettings.emailAccount]])]),createBaseVNode("div",_hoisted_33$3,[t[61]||(t[61]=createBaseVNode("label",{for:"2fa-email-subject"},"Subject",-1)),withDirectives(createBaseVNode("input",{id:"2fa-email-subject",type:"text","onUpdate:modelValue":t[26]||(t[26]=a=>e.settings.general.auth_2fa.emailSettings.subject=a)},null,512),[[vModelText,e.settings.general.auth_2fa.emailSettings.subject]])]),createBaseVNode("div",_hoisted_34$3,[t[62]||(t[62]=createBaseVNode("label",{for:"2fa-email-validateMaxAge"},"Validate max age",-1)),withDirectives(createBaseVNode("input",{id:"2fa-email-validateMaxAge",type:"text","onUpdate:modelValue":t[27]||(t[27]=a=>e.settings.general.auth_2fa.emailSettings.validateMaxAge=a)},null,512),[[vModelText,e.settings.general.auth_2fa.emailSettings.validateMaxAge]])])]),t[68]||(t[68]=createBaseVNode("h4",null,"SMS",-1)),createBaseVNode("div",_hoisted_35$3,[createBaseVNode("div",_hoisted_36$3,[t[63]||(t[63]=createBaseVNode("label",{for:"2fa-sms-from"},"From",-1)),withDirectives(createBaseVNode("input",{id:"2fa-sms-from",type:"text","onUpdate:modelValue":t[28]||(t[28]=a=>e.settings.general.auth_2fa.smsSettings.from=a)},null,512),[[vModelText,e.settings.general.auth_2fa.smsSettings.from]])]),createBaseVNode("div",_hoisted_37$3,[t[64]||(t[64]=createBaseVNode("label",{for:"2fa-sms-account"},"Account",-1)),withDirectives(createBaseVNode("input",{id:"2fa-sms-account",type:"text","onUpdate:modelValue":t[29]||(t[29]=a=>e.settings.general.auth_2fa.smsSettings.account=a)},null,512),[[vModelText,e.settings.general.auth_2fa.smsSettings.account]])]),createBaseVNode("div",_hoisted_38$3,[t[65]||(t[65]=createBaseVNode("label",{for:"2fa-sms-message"},"Message",-1)),withDirectives(createBaseVNode("input",{id:"2fa-sms-message",type:"text","onUpdate:modelValue":t[30]||(t[30]=a=>e.settings.general.auth_2fa.smsSettings.message=a)},null,512),[[vModelText,e.settings.general.auth_2fa.smsSettings.message]])]),createBaseVNode("div",_hoisted_39$3,[t[66]||(t[66]=createBaseVNode("label",{for:"2fa-sms-validateMaxAge"},"Validate max age",-1)),withDirectives(createBaseVNode("input",{id:"2fa-sms-validateMaxAge",type:"text","onUpdate:modelValue":t[31]||(t[31]=a=>e.settings.general.auth_2fa.smsSettings.validateMaxAge=a)},null,512),[[vModelText,e.settings.general.auth_2fa.smsSettings.validateMaxAge]])])])]),_:1})):createCommentVNode("",!0)])])])}const General=_export_sfc(_sfc_main$e,[["render",_sfc_render$e]]),_sfc_main$d={data(){return mainconfig},methods:{onActionChange(e){this.settings.general.connection.type.indexOf("dx")===-1||this.settings.quicklinks[e].action!=="display"?this.settings.quicklinks[e].actionparam="":this.settings.quicklinks[e].actionparam="workList"}},components:{Container}},_hoisted_1$b={class:"container-transparent"},_hoisted_2$b={class:"layout-labels-left layout-inline-grid-double"},_hoisted_3$a={class:"field-item"},_hoisted_4$a=["id","onUpdate:modelValue"],_hoisted_5$a=["for"],_hoisted_6$a={key:0,class:"field-item field-checkbox"},_hoisted_7$a=["id","onUpdate:modelValue"],_hoisted_8$a=["for"],_hoisted_9$a={key:1,class:"field-item field-checkbox"},_hoisted_10$a=["id","onUpdate:modelValue"],_hoisted_11$a=["for"],_hoisted_12$a={class:"layout-inline-grid-double layout-labels-top"},_hoisted_13$a=["for"],_hoisted_14$a=["id","onUpdate:modelValue"],_hoisted_15$a={class:"layout-inline-grid-double layout-labels-top"},_hoisted_16$a={class:"field-item"},_hoisted_17$a=["for"],_hoisted_18$a=["id","onUpdate:modelValue","onChange"],_hoisted_19$a={key:0},_hoisted_20$a={key:1},_hoisted_21$a={key:0,class:"field-item"},_hoisted_22$a=["for"],_hoisted_23$a=["id","onUpdate:modelValue"],_hoisted_24$5=["id","onUpdate:modelValue"],_hoisted_25$4={key:1,class:"field-item"},_hoisted_26$3=["for"],_hoisted_27$3=["id","onUpdate:modelValue"],_hoisted_28$3={key:2,class:"field-item"},_hoisted_29$3=["for"],_hoisted_30$2=["id","onUpdate:modelValue"],_hoisted_31$2={key:3,class:"field-item"},_hoisted_32$2=["for"],_hoisted_33$2=["id","onUpdate:modelValue"],_hoisted_34$2={class:"field-item"},_hoisted_35$2=["for"],_hoisted_36$2=["id","onUpdate:modelValue"],_hoisted_37$2={key:4,class:"field-item"},_hoisted_38$2=["for"],_hoisted_39$2=["id","onUpdate:modelValue"],_hoisted_40$2={key:5,class:"field-item"},_hoisted_41$2=["for"],_hoisted_42$2=["id","onUpdate:modelValue"],_hoisted_43$2={key:6,class:"field-item"},_hoisted_44$2=["for"],_hoisted_45$2=["id","onUpdate:modelValue"],_hoisted_46$2={key:7,class:"field-item"},_hoisted_47$2=["for"],_hoisted_48$2=["id","onUpdate:modelValue"],_hoisted_49$2={key:0,value:"simplifiedAssignment"},_hoisted_50$2={class:"field-item"},_hoisted_51$2=["for"],_hoisted_52$2=["id","onUpdate:modelValue"],_hoisted_53$2={class:"field-item"},_hoisted_54$2=["for"],_hoisted_55$1=["id","onUpdate:modelValue"],_hoisted_56$1={key:8,class:"field-item field-checkbox"},_hoisted_57$1=["id","onUpdate:modelValue"],_hoisted_58$1=["for"],_hoisted_59$1={class:"layout-labels-top"},_hoisted_60={class:"field-item"},_hoisted_61=["for"],_hoisted_62=["id","onUpdate:modelValue"];function _sfc_render$d(e,t,n,o,s,r){const l=resolveComponent("Container");return openBlock(),createElementBlock("div",_hoisted_1$b,[t[8]||(t[8]=createBaseVNode("h2",null,"Quick links",-1)),t[9]||(t[9]=createBaseVNode("p",null," Configuration of each of the mashup case types that can be accessed through the quick links component. ",-1)),(openBlock(!0),createElementBlock(Fragment,null,renderList(e.settings.quicklinks,(a,c)=>(openBlock(),createElementBlock("div",{key:c},[createVNode(l,{title:"Case type "+(c+1),expanded:c===0},{default:withCtx(()=>[createBaseVNode("div",_hoisted_2$b,[createBaseVNode("div",_hoisted_3$a,[withDirectives(createBaseVNode("input",{id:"quicklinks-"+c+"-hideaccount",type:"checkbox","onUpdate:modelValue":d=>a.hide=d},null,8,_hoisted_4$a),[[vModelCheckbox,a.hide]]),createBaseVNode("label",{class:"width-auto",for:"quicklinks-"+c+"-hideaccount"},"Hide from account page",8,_hoisted_5$a)]),e.settings.general.connection.type==="mashup"?(openBlock(),createElementBlock("div",_hoisted_6$a,[withDirectives(createBaseVNode("input",{id:"quicklinks-"+c+"-dataretained",type:"checkbox","onUpdate:modelValue":d=>a.dataretained=d},null,8,_hoisted_7$a),[[vModelCheckbox,a.dataretained]]),createBaseVNode("label",{class:"width-auto",for:"quicklinks-"+c+"-dataretained"},"Retain state on reload",8,_hoisted_8$a)])):createCommentVNode("",!0),e.settings.general.connection.type.startsWith("embedui")?(openBlock(),createElementBlock("div",_hoisted_9$a,[withDirectives(createBaseVNode("input",{id:"quicklinks-"+c+"-hideassignmentheader",type:"checkbox","onUpdate:modelValue":d=>a.hideassignmentheader=d},null,8,_hoisted_10$a),[[vModelCheckbox,a.hideassignmentheader]]),createBaseVNode("label",{class:"width-auto",for:"quicklinks-"+c+"-hideassignmentheader"},"Hide assignment header",8,_hoisted_11$a)])):createCommentVNode("",!0)]),createBaseVNode("div",_hoisted_12$a,[(openBlock(!0),createElementBlock(Fragment,null,renderList(e.settings.i18n.languages,d=>(openBlock(),createElementBlock("div",{key:d,class:"field-item"},[createBaseVNode("label",{for:"quicklinks-"+c+"-"+d},"Case name in '"+toDisplayString$1(d)+"'",9,_hoisted_13$a),withDirectives(createBaseVNode("input",{id:"quicklinks-"+c+"-"+d,type:"text","onUpdate:modelValue":u=>a.title[d]=u},null,8,_hoisted_14$a),[[vModelText,a.title[d]]])]))),128))]),createBaseVNode("div",_hoisted_15$a,[createBaseVNode("div",_hoisted_16$a,[createBaseVNode("label",{for:"quicklinks-"+c+"-action"},"Action",8,_hoisted_17$a),withDirectives(createBaseVNode("select",{id:"quicklinks-"+c+"-action","onUpdate:modelValue":d=>a.action=d,onChange:d=>r.onActionChange(c)},[t[0]||(t[0]=createBaseVNode("option",null,"createNewWork",-1)),t[1]||(t[1]=createBaseVNode("option",null,"display",-1)),e.settings.general.connection.type.indexOf("dx")===-1?(openBlock(),createElementBlock("option",_hoisted_19$a," getNextWork ")):createCommentVNode("",!0),t[2]||(t[2]=createBaseVNode("option",null,"openAssignment",-1)),e.settings.general.connection.type==="mashup"?(openBlock(),createElementBlock("option",_hoisted_20$a," openWorkItem ")):createCommentVNode("",!0),t[3]||(t[3]=createBaseVNode("option",null,"openWorkByHandle",-1))],40,_hoisted_18$a),[[vModelSelect,a.action]])]),a.action!=="createNewWork"&&a.action!=="getNextWork"?(openBlock(),createElementBlock("div",_hoisted_21$a,[createBaseVNode("label",{for:"quicklinks-"+c+"-actionparam"},"Action parameter",8,_hoisted_22$a),e.settings.general.connection.type.indexOf("dx")===-1||e.settings.todo.action!=="display"?withDirectives((openBlock(),createElementBlock("input",{key:0,id:"quicklinks-"+c+"-actionparam",type:"text","onUpdate:modelValue":d=>a.actionparam=d},null,8,_hoisted_23$a)),[[vModelText,a.actionparam]]):withDirectives((openBlock(),createElementBlock("select",{key:1,id:"quicklinks-"+c+"-actionparam","onUpdate:modelValue":d=>a.actionparam=d},t[4]||(t[4]=[createBaseVNode("option",{value:"workList",selected:""},"Show the worklist",-1),createBaseVNode("option",{value:"taskList"},"Show a tasklist",-1),createBaseVNode("option",{value:"dataView"},"Display a data view",-1)]),8,_hoisted_24$5)),[[vModelSelect,a.actionparam]])])):createCommentVNode("",!0),a.action==="createNewWork"||e.settings.general.connection.type.indexOf("dx")===-1&&a.action==="display"?(openBlock(),createElementBlock("div",_hoisted_25$4,[createBaseVNode("label",{for:"quicklinks-"+c+"-objclass"},"Classname",8,_hoisted_26$3),withDirectives(createBaseVNode("input",{id:"quicklinks-"+c+"-objclass",type:"text","onUpdate:modelValue":d=>a.objclass=d},null,8,_hoisted_27$3),[[vModelText,a.objclass]])])):createCommentVNode("",!0),e.settings.general.connection.type.indexOf("dx")===0&&a.action==="display"?(openBlock(),createElementBlock("div",_hoisted_28$3,[createBaseVNode("label",{for:"quicklinks-"+c+"-heading"},"Heading",8,_hoisted_29$3),withDirectives(createBaseVNode("input",{id:"quicklinks-"+c+"-heading",type:"text","onUpdate:modelValue":d=>a.heading=d},null,8,_hoisted_30$2),[[vModelText,a.heading]])])):createCommentVNode("",!0),e.settings.general.connection.type==="mashup"&&a.action==="createNewWork"?(openBlock(),createElementBlock("div",_hoisted_31$2,[createBaseVNode("label",{for:"quicklinks-"+c+"-startcase"},"Start case",8,_hoisted_32$2),withDirectives(createBaseVNode("input",{id:"quicklinks-"+c+"-startcase",type:"text","onUpdate:modelValue":d=>a.startcase=d},null,8,_hoisted_33$2),[[vModelText,a.startcase]])])):createCommentVNode("",!0),createBaseVNode("div",_hoisted_34$2,[createBaseVNode("label",{for:"quicklinks-"+c+"-url"},"URL",8,_hoisted_35$2),withDirectives(createBaseVNode("input",{id:"quicklinks-"+c+"-url",type:"text","onUpdate:modelValue":d=>a.url=d},null,8,_hoisted_36$2),[[vModelText,a.url]])]),e.settings.general.connection.type!=="launchpad"?(openBlock(),createElementBlock("div",_hoisted_37$2,[createBaseVNode("label",{for:"quicklinks-"+c+"-application"},"Application name / alias",8,_hoisted_38$2),withDirectives(createBaseVNode("input",{id:"quicklinks-"+c+"-application",type:"text","onUpdate:modelValue":d=>a.application=d},null,8,_hoisted_39$2),[[vModelText,a.application]])])):createCommentVNode("",!0),e.settings.general.connection.type==="mashup"?(openBlock(),createElementBlock("div",_hoisted_40$2,[createBaseVNode("label",{for:"quicklinks-"+c+"-channelid"},"Channel ID",8,_hoisted_41$2),withDirectives(createBaseVNode("input",{id:"quicklinks-"+c+"-channelid",type:"text","onUpdate:modelValue":d=>a.channelid=d},null,8,_hoisted_42$2),[[vModelText,a.channelid]])])):createCommentVNode("",!0),e.settings.general.connection.type==="mashup"?(openBlock(),createElementBlock("div",_hoisted_43$2,[createBaseVNode("label",{for:"quicklinks-"+c+"-tenantid"},"Tenant ID",8,_hoisted_44$2),withDirectives(createBaseVNode("input",{id:"quicklinks-"+c+"-tenantid",type:"text","onUpdate:modelValue":d=>a.tenantid=d},null,8,_hoisted_45$2),[[vModelText,a.tenantid]])])):createCommentVNode("",!0),e.settings.general.connection.type.startsWith("embedui")?(openBlock(),createElementBlock("div",_hoisted_46$2,[createBaseVNode("label",{for:"quicklinks-"+c+"-pagetemplate"},"Page Template",8,_hoisted_47$2),withDirectives(createBaseVNode("select",{id:"quicklinks-"+c+"-pagetemplate","onUpdate:modelValue":d=>a.pageTemplate=d},[t[5]||(t[5]=createBaseVNode("option",{value:"full"},"Full case page",-1)),t[6]||(t[6]=createBaseVNode("option",{value:"assignment",selected:""},"Assignment only",-1)),t[7]||(t[7]=createBaseVNode("option",{value:"assignmentWithStages"}," Assignment with stages ",-1)),e.settings.general.connection.type==="embedui2"||e.settings.general.connection.type==="embedui3"?(openBlock(),createElementBlock("option",_hoisted_49$2," Simplified assignment ")):createCommentVNode("",!0)],8,_hoisted_48$2),[[vModelSelect,a.pageTemplate]])])):createCommentVNode("",!0),createBaseVNode("div",_hoisted_50$2,[createBaseVNode("label",{for:"quicklinks-"+c+"-icon"},"Icon (for mobile)",8,_hoisted_51$2),withDirectives(createBaseVNode("input",{id:"quicklinks-"+c+"-icon",type:"text","onUpdate:modelValue":d=>a.icon=d},null,8,_hoisted_52$2),[[vModelText,a.icon]])]),createBaseVNode("div",_hoisted_53$2,[createBaseVNode("label",{for:"quicklinks-"+c+"-hideusers"},"Hide for below users (for example User1,User2)",8,_hoisted_54$2),withDirectives(createBaseVNode("input",{id:"quicklinks-"+c+"-hideusers",type:"text","onUpdate:modelValue":d=>a.hideusers=d},null,8,_hoisted_55$1),[[vModelText,a.hideusers]])]),e.settings.general.connection.type.startsWith("embedui")?(openBlock(),createElementBlock("div",_hoisted_56$1,[withDirectives(createBaseVNode("input",{id:"quicklinks-"+c+"-reloadtitle",type:"checkbox","onUpdate:modelValue":d=>a.reloadtitle=d},null,8,_hoisted_57$1),[[vModelCheckbox,a.reloadtitle]]),createBaseVNode("label",{class:"width-auto",for:"quicklinks-"+c+"-reloadtitle"},"Update Web-Embed title when case is completed and another case opened",8,_hoisted_58$1)])):createCommentVNode("",!0)]),createBaseVNode("div",_hoisted_59$1,[createBaseVNode("div",_hoisted_60,[createBaseVNode("label",{for:"quicklinks-"+c+"-extraparam"},"Extra parameters (for example 'key1=value1,key2=value2')",8,_hoisted_61),withDirectives(createBaseVNode("textarea",{id:"quicklinks-"+c+"-extraparam","onUpdate:modelValue":d=>a.extraparam=d},null,8,_hoisted_62),[[vModelText,a.extraparam]])])])]),_:2},1032,["title","expanded"])]))),128))])}const QuickLinksSettings=_export_sfc(_sfc_main$d,[["render",_sfc_render$d]]),_sfc_main$c={data(){return mainconfig},methods:{onActionChange(){this.settings.general.connection.type.indexOf("dx")===-1||this.settings.billpay.action!=="display"?this.settings.billpay.actionparam="":this.settings.billpay.actionparam="workList"}}},_hoisted_1$a={class:"container-transparent"},_hoisted_2$a={class:"container"},_hoisted_3$9={class:"body"},_hoisted_4$9={class:"layout-labels-left"},_hoisted_5$9={class:"field-item"},_hoisted_6$9={class:"layout-labels-top layout-inline-grid-double"},_hoisted_7$9={class:"field-item"},_hoisted_8$9={key:0},_hoisted_9$9={key:1},_hoisted_10$9={key:0,class:"field-item"},_hoisted_11$9={key:1,class:"field-item"},_hoisted_12$9={key:2,class:"field-item"},_hoisted_13$9={key:3,class:"field-item"},_hoisted_14$9={class:"field-item"},_hoisted_15$9={key:4,class:"field-item"},_hoisted_16$9={key:5,class:"field-item"},_hoisted_17$9={key:6,class:"field-item"},_hoisted_18$9={key:7,class:"field-item"},_hoisted_19$9={key:0,value:"simplifiedAssignment"},_hoisted_20$9={key:8,class:"field-item field-checkbox"},_hoisted_21$9={key:9,class:"field-item field-checkbox"},_hoisted_22$9={class:"layout-labels-top"},_hoisted_23$9={class:"field-item"};function _sfc_render$c(e,t,n,o,s,r){return openBlock(),createElementBlock("div",_hoisted_1$a,[t[38]||(t[38]=createBaseVNode("h2",null,"Bill Pay component",-1)),t[39]||(t[39]=createBaseVNode("p",null," Configuration of the mashup displayed when clicking on the 'Pay now' action inside the account page. ",-1)),createBaseVNode("div",_hoisted_2$a,[createBaseVNode("div",_hoisted_3$9,[createBaseVNode("div",_hoisted_4$9,[createBaseVNode("div",_hoisted_5$9,[withDirectives(createBaseVNode("input",{id:"bill-pay-hidebillpay",type:"checkbox","onUpdate:modelValue":t[0]||(t[0]=l=>e.settings.billpay.hidebillpay=l)},null,512),[[vModelCheckbox,e.settings.billpay.hidebillpay]]),t[16]||(t[16]=createBaseVNode("label",{class:"width-auto",for:"bill-pay-hidebillpay"},"Hide Bill Pay",-1))])]),createBaseVNode("div",_hoisted_6$9,[createBaseVNode("div",_hoisted_7$9,[t[21]||(t[21]=createBaseVNode("label",{for:"billpay-action"},"Action",-1)),withDirectives(createBaseVNode("select",{id:"billpay-action","onUpdate:modelValue":t[1]||(t[1]=l=>e.settings.billpay.action=l),onChange:t[2]||(t[2]=(...l)=>r.onActionChange&&r.onActionChange(...l))},[t[17]||(t[17]=createBaseVNode("option",null,"createNewWork",-1)),t[18]||(t[18]=createBaseVNode("option",null,"display",-1)),e.settings.general.connection.type.indexOf("dx")===-1?(openBlock(),createElementBlock("option",_hoisted_8$9," getNextWork ")):createCommentVNode("",!0),t[19]||(t[19]=createBaseVNode("option",null,"openAssignment",-1)),e.settings.general.connection.type==="mashup"?(openBlock(),createElementBlock("option",_hoisted_9$9," openWorkItem ")):createCommentVNode("",!0),t[20]||(t[20]=createBaseVNode("option",null,"openWorkByHandle",-1))],544),[[vModelSelect,e.settings.billpay.action]])]),e.settings.billpay.action!=="createNewWork"&&e.settings.billpay.action!=="getNextWork"?(openBlock(),createElementBlock("div",_hoisted_10$9,[t[23]||(t[23]=createBaseVNode("label",{for:"billpay-actionparam"},"Action parameter",-1)),e.settings.general.connection.type.indexOf("dx")===-1||e.settings.billpay.action!=="display"?withDirectives((openBlock(),createElementBlock("input",{key:0,id:"billpay-actionparam",type:"text","onUpdate:modelValue":t[3]||(t[3]=l=>e.settings.billpay.actionparam=l)},null,512)),[[vModelText,e.settings.billpay.actionparam]]):withDirectives((openBlock(),createElementBlock("select",{key:1,id:"billpay-action","onUpdate:modelValue":t[4]||(t[4]=l=>e.settings.billpay.actionparam=l)},t[22]||(t[22]=[createBaseVNode("option",{value:"workList",selected:""},"Show the worklist",-1),createBaseVNode("option",{value:"taskList"},"Show a tasklist",-1),createBaseVNode("option",{value:"dataView"},"Display a data view",-1)]),512)),[[vModelSelect,e.settings.billpay.actionparam]])])):createCommentVNode("",!0),e.settings.billpay.action==="createNewWork"||e.settings.general.connection.type.indexOf("dx")===-1&&e.settings.billpay.action==="display"?(openBlock(),createElementBlock("div",_hoisted_11$9,[t[24]||(t[24]=createBaseVNode("label",{for:"billpay-objclass"},"Classname",-1)),withDirectives(createBaseVNode("input",{id:"billpay-objclass",type:"text","onUpdate:modelValue":t[5]||(t[5]=l=>e.settings.billpay.objclass=l)},null,512),[[vModelText,e.settings.billpay.objclass]])])):createCommentVNode("",!0),e.settings.general.connection.type.indexOf("dx")===0&&e.settings.billpay.action==="display"?(openBlock(),createElementBlock("div",_hoisted_12$9,[t[25]||(t[25]=createBaseVNode("label",{for:"billpay-heading"},"Heading",-1)),withDirectives(createBaseVNode("input",{id:"billpay-heading",type:"text","onUpdate:modelValue":t[6]||(t[6]=l=>e.settings.billpay.heading=l)},null,512),[[vModelText,e.settings.billpay.heading]])])):createCommentVNode("",!0),e.settings.general.connection.type==="mashup"&&e.settings.billpay.action==="createNewWork"?(openBlock(),createElementBlock("div",_hoisted_13$9,[t[26]||(t[26]=createBaseVNode("label",{for:"billpay-startcase"},"Start case",-1)),withDirectives(createBaseVNode("input",{id:"billpay-startcase",type:"text","onUpdate:modelValue":t[7]||(t[7]=l=>e.settings.billpay.startcase=l)},null,512),[[vModelText,e.settings.billpay.startcase]])])):createCommentVNode("",!0),createBaseVNode("div",_hoisted_14$9,[t[27]||(t[27]=createBaseVNode("label",{for:"billpay-url"},"URL",-1)),withDirectives(createBaseVNode("input",{id:"billpay-url",type:"text","onUpdate:modelValue":t[8]||(t[8]=l=>e.settings.billpay.url=l)},null,512),[[vModelText,e.settings.billpay.url]])]),e.settings.general.connection.type!=="launchpad"?(openBlock(),createElementBlock("div",_hoisted_15$9,[t[28]||(t[28]=createBaseVNode("label",{for:"billpay-application"},"Application name / alias",-1)),withDirectives(createBaseVNode("input",{id:"billpay-application",type:"text","onUpdate:modelValue":t[9]||(t[9]=l=>e.settings.billpay.application=l)},null,512),[[vModelText,e.settings.billpay.application]])])):createCommentVNode("",!0),e.settings.general.connection.type==="mashup"?(openBlock(),createElementBlock("div",_hoisted_16$9,[t[29]||(t[29]=createBaseVNode("label",{for:"billpay-channelid"},"Channel ID",-1)),withDirectives(createBaseVNode("input",{id:"billpay-channelid",type:"text","onUpdate:modelValue":t[10]||(t[10]=l=>e.settings.billpay.channelid=l)},null,512),[[vModelText,e.settings.billpay.channelid]])])):createCommentVNode("",!0),e.settings.general.connection.type==="mashup"?(openBlock(),createElementBlock("div",_hoisted_17$9,[t[30]||(t[30]=createBaseVNode("label",{for:"billpay-tenantid"},"Tenant ID",-1)),withDirectives(createBaseVNode("input",{id:"billpay-tenantid",type:"text","onUpdate:modelValue":t[11]||(t[11]=l=>e.settings.billpay.tenantid=l)},null,512),[[vModelText,e.settings.billpay.tenantid]])])):createCommentVNode("",!0),e.settings.general.connection.type.startsWith("embedui")?(openBlock(),createElementBlock("div",_hoisted_18$9,[t[34]||(t[34]=createBaseVNode("label",{for:"billpay-pagetemplate"},"Page Template",-1)),withDirectives(createBaseVNode("select",{id:"billpay-pagetemplate","onUpdate:modelValue":t[12]||(t[12]=l=>e.settings.billpay.pageTemplate=l)},[t[31]||(t[31]=createBaseVNode("option",{value:"full"},"Full case page",-1)),t[32]||(t[32]=createBaseVNode("option",{value:"assignment",selected:""},"Assignment only",-1)),t[33]||(t[33]=createBaseVNode("option",{value:"assignmentWithStages"}," Assignment with stages ",-1)),e.settings.general.connection.type==="embedui2"||e.settings.general.connection.type==="embedui3"?(openBlock(),createElementBlock("option",_hoisted_19$9," Simplified assignment ")):createCommentVNode("",!0)],512),[[vModelSelect,e.settings.billpay.pageTemplate]])])):createCommentVNode("",!0),e.settings.general.connection.type==="mashup"?(openBlock(),createElementBlock("div",_hoisted_20$9,[withDirectives(createBaseVNode("input",{id:"billpay-dataretained",type:"checkbox","onUpdate:modelValue":t[13]||(t[13]=l=>e.settings.billpay.dataretained=l)},null,512),[[vModelCheckbox,e.settings.billpay.dataretained]]),t[35]||(t[35]=createBaseVNode("label",{class:"width-auto",for:"billpay-dataretained"},"Retain state on reload",-1))])):createCommentVNode("",!0),e.settings.general.connection.type.startsWith("embedui")?(openBlock(),createElementBlock("div",_hoisted_21$9,[withDirectives(createBaseVNode("input",{id:"billpay-hideassignmentheader",type:"checkbox","onUpdate:modelValue":t[14]||(t[14]=l=>e.settings.billpay.hideassignmentheader=l)},null,512),[[vModelCheckbox,e.settings.billpay.hideassignmentheader]]),t[36]||(t[36]=createBaseVNode("label",{class:"width-auto",for:"billpay-hideassignmentheader"},"Hide assignment header",-1))])):createCommentVNode("",!0)]),createBaseVNode("div",_hoisted_22$9,[createBaseVNode("div",_hoisted_23$9,[t[37]||(t[37]=createBaseVNode("label",{for:"billpay-extraparam"},"Extra parameters (for example 'key1=value1,key2=value2')",-1)),withDirectives(createBaseVNode("textarea",{id:"billpay-extraparam","onUpdate:modelValue":t[15]||(t[15]=l=>e.settings.billpay.extraparam=l)},null,512),[[vModelText,e.settings.billpay.extraparam]])])])])])])}const BillPaySettings=_export_sfc(_sfc_main$c,[["render",_sfc_render$c]]),_sfc_main$b={data(){return mainconfig},methods:{onActionChange(){this.settings.general.connection.type.indexOf("dx")===-1||this.settings.banner.action!=="display"?this.settings.banner.actionparam="":this.settings.banner.actionparam="workList"}}},_hoisted_1$9={class:"container-transparent"},_hoisted_2$9={class:"container"},_hoisted_3$8={class:"body"},_hoisted_4$8={class:"layout-labels-left layout-inline-grid-double"},_hoisted_5$8={class:"field-item"},_hoisted_6$8={class:"field-item"},_hoisted_7$8={class:"field-item"},_hoisted_8$8={class:"layout-labels-top layout-inline-grid-double"},_hoisted_9$8={class:"field-item"},_hoisted_10$8={key:0},_hoisted_11$8={key:1},_hoisted_12$8={key:0,class:"field-item"},_hoisted_13$8={key:1,class:"field-item"},_hoisted_14$8={key:2,class:"field-item"},_hoisted_15$8={key:3,class:"field-item"},_hoisted_16$8={class:"field-item"},_hoisted_17$8={key:4,class:"field-item"},_hoisted_18$8={key:5,class:"field-item"},_hoisted_19$8={key:6,class:"field-item"},_hoisted_20$8={key:7,class:"field-item"},_hoisted_21$8={key:0,value:"simplifiedAssignment"},_hoisted_22$8={key:8,class:"field-item field-checkbox"},_hoisted_23$8={key:9,class:"field-item field-checkbox"},_hoisted_24$4={class:"layout-labels-top"},_hoisted_25$3={class:"field-item"};function _sfc_render$b(e,t,n,o,s,r){return openBlock(),createElementBlock("div",_hoisted_1$9,[t[42]||(t[42]=createBaseVNode("h2",null,"Banner component",-1)),t[43]||(t[43]=createBaseVNode("p",null,"Configuration of the banner component inside the account page.",-1)),createBaseVNode("div",_hoisted_2$9,[createBaseVNode("div",_hoisted_3$8,[createBaseVNode("div",_hoisted_4$8,[createBaseVNode("div",_hoisted_5$8,[withDirectives(createBaseVNode("input",{id:"banner-hidebanner",type:"checkbox","onUpdate:modelValue":t[0]||(t[0]=l=>e.settings.banner.hidebanner=l)},null,512),[[vModelCheckbox,e.settings.banner.hidebanner]]),t[18]||(t[18]=createBaseVNode("label",{for:"banner-hidebanner"},"Hide banner",-1))]),createBaseVNode("div",_hoisted_6$8,[withDirectives(createBaseVNode("input",{id:"banner-hidebanner-button",type:"checkbox","onUpdate:modelValue":t[1]||(t[1]=l=>e.settings.banner.hidebanner_button=l)},null,512),[[vModelCheckbox,e.settings.banner.hidebanner_button]]),t[19]||(t[19]=createBaseVNode("label",{for:"banner-hidebanner-button"},"Hide banner button",-1))]),createBaseVNode("div",_hoisted_7$8,[withDirectives(createBaseVNode("input",{id:"banner-background-color",type:"color","onUpdate:modelValue":t[2]||(t[2]=l=>e.settings.banner.color=l)},null,512),[[vModelText,e.settings.banner.color]]),t[20]||(t[20]=createBaseVNode("label",{for:"banner-background-color"},"Background color",-1))])]),createBaseVNode("div",_hoisted_8$8,[createBaseVNode("div",_hoisted_9$8,[t[25]||(t[25]=createBaseVNode("label",{for:"banner-action"},"Action",-1)),withDirectives(createBaseVNode("select",{id:"banner-action","onUpdate:modelValue":t[3]||(t[3]=l=>e.settings.banner.action=l),onChange:t[4]||(t[4]=(...l)=>r.onActionChange&&r.onActionChange(...l))},[t[21]||(t[21]=createBaseVNode("option",null,"createNewWork",-1)),t[22]||(t[22]=createBaseVNode("option",null,"display",-1)),e.settings.general.connection.type.indexOf("dx")===-1?(openBlock(),createElementBlock("option",_hoisted_10$8," getNextWork ")):createCommentVNode("",!0),t[23]||(t[23]=createBaseVNode("option",null,"openAssignment",-1)),e.settings.general.connection.type==="mashup"?(openBlock(),createElementBlock("option",_hoisted_11$8," openWorkItem ")):createCommentVNode("",!0),t[24]||(t[24]=createBaseVNode("option",null,"openWorkByHandle",-1))],544),[[vModelSelect,e.settings.banner.action]])]),e.settings.banner.action!=="createNewWork"&&e.settings.banner.action!=="getNextWork"?(openBlock(),createElementBlock("div",_hoisted_12$8,[t[27]||(t[27]=createBaseVNode("label",{for:"banner-actionparam"},"Action parameter",-1)),e.settings.general.connection.type.indexOf("dx")===-1||e.settings.banner.action!=="display"?withDirectives((openBlock(),createElementBlock("input",{key:0,id:"banner-actionparam",type:"text","onUpdate:modelValue":t[5]||(t[5]=l=>e.settings.banner.actionparam=l)},null,512)),[[vModelText,e.settings.banner.actionparam]]):withDirectives((openBlock(),createElementBlock("select",{key:1,id:"banner-action","onUpdate:modelValue":t[6]||(t[6]=l=>e.settings.banner.actionparam=l)},t[26]||(t[26]=[createBaseVNode("option",{value:"workList",selected:""},"Show the worklist",-1),createBaseVNode("option",{value:"taskList"},"Show a tasklist",-1),createBaseVNode("option",{value:"dataView"},"Display a data view",-1)]),512)),[[vModelSelect,e.settings.banner.actionparam]])])):createCommentVNode("",!0),e.settings.banner.action==="createNewWork"||e.settings.general.connection.type.indexOf("dx")===-1&&e.settings.banner.action==="display"?(openBlock(),createElementBlock("div",_hoisted_13$8,[t[28]||(t[28]=createBaseVNode("label",{for:"banner-objclass"},"Classname",-1)),withDirectives(createBaseVNode("input",{id:"banner-objclass",type:"text","onUpdate:modelValue":t[7]||(t[7]=l=>e.settings.banner.objclass=l)},null,512),[[vModelText,e.settings.banner.objclass]])])):createCommentVNode("",!0),e.settings.general.connection.type.indexOf("dx")===0&&e.settings.banner.action==="display"?(openBlock(),createElementBlock("div",_hoisted_14$8,[t[29]||(t[29]=createBaseVNode("label",{for:"banner-heading"},"Heading",-1)),withDirectives(createBaseVNode("input",{id:"banner-heading",type:"text","onUpdate:modelValue":t[8]||(t[8]=l=>e.settings.banner.heading=l)},null,512),[[vModelText,e.settings.banner.heading]])])):createCommentVNode("",!0),e.settings.general.connection.type==="mashup"&&e.settings.banner.action==="createNewWork"?(openBlock(),createElementBlock("div",_hoisted_15$8,[t[30]||(t[30]=createBaseVNode("label",{for:"banner-startcase"},"Start case",-1)),withDirectives(createBaseVNode("input",{id:"banner-startcase",type:"text","onUpdate:modelValue":t[9]||(t[9]=l=>e.settings.banner.startcase=l)},null,512),[[vModelText,e.settings.banner.startcase]])])):createCommentVNode("",!0),createBaseVNode("div",_hoisted_16$8,[t[31]||(t[31]=createBaseVNode("label",{for:"banner-url"},"URL",-1)),withDirectives(createBaseVNode("input",{id:"banner-url",type:"text","onUpdate:modelValue":t[10]||(t[10]=l=>e.settings.banner.url=l)},null,512),[[vModelText,e.settings.banner.url]])]),e.settings.general.connection.type!=="launchpad"?(openBlock(),createElementBlock("div",_hoisted_17$8,[t[32]||(t[32]=createBaseVNode("label",{for:"banner-application"},"Application name / alias",-1)),withDirectives(createBaseVNode("input",{id:"banner-application",type:"text","onUpdate:modelValue":t[11]||(t[11]=l=>e.settings.banner.application=l)},null,512),[[vModelText,e.settings.banner.application]])])):createCommentVNode("",!0),e.settings.general.connection.type==="mashup"?(openBlock(),createElementBlock("div",_hoisted_18$8,[t[33]||(t[33]=createBaseVNode("label",{for:"banner-channelid"},"Channel ID",-1)),withDirectives(createBaseVNode("input",{id:"banner-channelid",type:"text","onUpdate:modelValue":t[12]||(t[12]=l=>e.settings.banner.channelid=l)},null,512),[[vModelText,e.settings.banner.channelid]])])):createCommentVNode("",!0),e.settings.general.connection.type==="mashup"?(openBlock(),createElementBlock("div",_hoisted_19$8,[t[34]||(t[34]=createBaseVNode("label",{for:"banner-tenantid"},"Tenant ID",-1)),withDirectives(createBaseVNode("input",{id:"banner-tenantid",type:"text","onUpdate:modelValue":t[13]||(t[13]=l=>e.settings.banner.tenantid=l)},null,512),[[vModelText,e.settings.banner.tenantid]])])):createCommentVNode("",!0),e.settings.general.connection.type.startsWith("embedui")?(openBlock(),createElementBlock("div",_hoisted_20$8,[t[38]||(t[38]=createBaseVNode("label",{for:"banner-pagetemplate"},"Page Template",-1)),withDirectives(createBaseVNode("select",{id:"banner-pagetemplate","onUpdate:modelValue":t[14]||(t[14]=l=>e.settings.banner.pageTemplate=l)},[t[35]||(t[35]=createBaseVNode("option",{value:"full"},"Full case page",-1)),t[36]||(t[36]=createBaseVNode("option",{value:"assignment",selected:""},"Assignment only",-1)),t[37]||(t[37]=createBaseVNode("option",{value:"assignmentWithStages"}," Assignment with stages ",-1)),e.settings.general.connection.type==="embedui2"||e.settings.general.connection.type==="embedui3"?(openBlock(),createElementBlock("option",_hoisted_21$8," Simplified assignment ")):createCommentVNode("",!0)],512),[[vModelSelect,e.settings.banner.pageTemplate]])])):createCommentVNode("",!0),e.settings.general.connection.type==="mashup"?(openBlock(),createElementBlock("div",_hoisted_22$8,[withDirectives(createBaseVNode("input",{id:"banner-dataretained",type:"checkbox","onUpdate:modelValue":t[15]||(t[15]=l=>e.settings.banner.dataretained=l)},null,512),[[vModelCheckbox,e.settings.banner.dataretained]]),t[39]||(t[39]=createBaseVNode("label",{class:"width-auto",for:"banner-dataretained"},"Retain state on reload",-1))])):createCommentVNode("",!0),e.settings.general.connection.type.startsWith("embedui")?(openBlock(),createElementBlock("div",_hoisted_23$8,[withDirectives(createBaseVNode("input",{id:"banner-hideassignmentheader",type:"checkbox","onUpdate:modelValue":t[16]||(t[16]=l=>e.settings.banner.hideassignmentheader=l)},null,512),[[vModelCheckbox,e.settings.banner.hideassignmentheader]]),t[40]||(t[40]=createBaseVNode("label",{class:"width-auto",for:"banner-hideassignmentheader"},"Hide assignment header",-1))])):createCommentVNode("",!0)]),createBaseVNode("div",_hoisted_24$4,[createBaseVNode("div",_hoisted_25$3,[t[41]||(t[41]=createBaseVNode("label",{for:"banner-extraparam"},"Extra parameters (for example 'key1=value1,key2=value2')",-1)),withDirectives(createBaseVNode("textarea",{id:"banner-extraparam","onUpdate:modelValue":t[17]||(t[17]=l=>e.settings.banner.extraparam=l)},null,512),[[vModelText,e.settings.banner.extraparam]])])])])])])}const BannerSettings=_export_sfc(_sfc_main$b,[["render",_sfc_render$b]]),_sfc_main$a={data(){return mainconfig},methods:{onActionChange(){this.settings.general.connection.type.indexOf("dx")===-1||this.settings.kmhelp.action!=="display"?this.settings.kmhelp.actionparam="":this.settings.kmhelp.actionparam="workList"}}},_hoisted_1$8={class:"container-transparent"},_hoisted_2$8={class:"container"},_hoisted_3$7={class:"body"},_hoisted_4$7={class:"layout-labels-top layout-inline-grid-double"},_hoisted_5$7={class:"field-item"},_hoisted_6$7={key:0},_hoisted_7$7={key:1},_hoisted_8$7={key:0,class:"field-item"},_hoisted_9$7={key:1,class:"field-item"},_hoisted_10$7={key:2,class:"field-item"},_hoisted_11$7={key:3,class:"field-item"},_hoisted_12$7={class:"field-item"},_hoisted_13$7={key:4,class:"field-item"},_hoisted_14$7={key:5,class:"field-item"},_hoisted_15$7={key:6,class:"field-item"},_hoisted_16$7={key:7,class:"field-item"},_hoisted_17$7={key:8,class:"field-item"},_hoisted_18$7={key:9,class:"field-item"},_hoisted_19$7={key:0,value:"simplifiedAssignment"},_hoisted_20$7={key:10,class:"field-item field-checkbox"},_hoisted_21$7={key:11,class:"field-item field-checkbox"},_hoisted_22$7={class:"layout-labels-top"},_hoisted_23$7={class:"field-item"};function _sfc_render$a(e,t,n,o,s,r){return openBlock(),createElementBlock("div",_hoisted_1$8,[t[40]||(t[40]=createBaseVNode("h2",null,"Knowledge Management",-1)),t[41]||(t[41]=createBaseVNode("p",null,` Configuration of the mashup used for Knowledge Management and displayed when clicking on the "Help" link in the header. Enter an empty 'URL' to disable this functionality. `,-1)),createBaseVNode("div",_hoisted_2$8,[createBaseVNode("div",_hoisted_3$7,[createBaseVNode("div",_hoisted_4$7,[createBaseVNode("div",_hoisted_5$7,[t[21]||(t[21]=createBaseVNode("label",{for:"kmhelp-action"},"Action",-1)),withDirectives(createBaseVNode("select",{id:"kmhelp-action","onUpdate:modelValue":t[0]||(t[0]=l=>e.settings.kmhelp.action=l),onChange:t[1]||(t[1]=(...l)=>r.onActionChange&&r.onActionChange(...l))},[t[17]||(t[17]=createBaseVNode("option",null,"createNewWork",-1)),t[18]||(t[18]=createBaseVNode("option",null,"display",-1)),e.settings.general.connection.type.indexOf("dx")===-1?(openBlock(),createElementBlock("option",_hoisted_6$7," getNextWork ")):createCommentVNode("",!0),t[19]||(t[19]=createBaseVNode("option",null,"openAssignment",-1)),e.settings.general.connection.type==="mashup"?(openBlock(),createElementBlock("option",_hoisted_7$7," openWorkItem ")):createCommentVNode("",!0),t[20]||(t[20]=createBaseVNode("option",null,"openWorkByHandle",-1))],544),[[vModelSelect,e.settings.kmhelp.action]])]),e.settings.kmhelp.action!=="createNewWork"&&e.settings.kmhelp.action!=="getNextWork"?(openBlock(),createElementBlock("div",_hoisted_8$7,[t[23]||(t[23]=createBaseVNode("label",{for:"kmhelp-actionparam"},"Action parameter",-1)),e.settings.general.connection.type.indexOf("dx")===-1||e.settings.kmhelp.action!=="display"?withDirectives((openBlock(),createElementBlock("input",{key:0,id:"kmhelp-actionparam",type:"text","onUpdate:modelValue":t[2]||(t[2]=l=>e.settings.kmhelp.actionparam=l)},null,512)),[[vModelText,e.settings.kmhelp.actionparam]]):withDirectives((openBlock(),createElementBlock("select",{key:1,id:"kmhelp-action","onUpdate:modelValue":t[3]||(t[3]=l=>e.settings.kmhelp.actionparam=l)},t[22]||(t[22]=[createBaseVNode("option",{value:"workList",selected:""},"Show the worklist",-1),createBaseVNode("option",{value:"taskList"},"Show a tasklist",-1),createBaseVNode("option",{value:"dataView"},"Display a data view",-1)]),512)),[[vModelSelect,e.settings.kmhelp.actionparam]])])):createCommentVNode("",!0),e.settings.kmhelp.action==="createNewWork"||e.settings.general.connection.type.indexOf("dx")===-1&&e.settings.kmhelp.action==="display"?(openBlock(),createElementBlock("div",_hoisted_9$7,[t[24]||(t[24]=createBaseVNode("label",{for:"kmhelp-objclass"},"Classname",-1)),withDirectives(createBaseVNode("input",{id:"kmhelp-objclass",type:"text","onUpdate:modelValue":t[4]||(t[4]=l=>e.settings.kmhelp.objclass=l)},null,512),[[vModelText,e.settings.kmhelp.objclass]])])):createCommentVNode("",!0),e.settings.general.connection.type.indexOf("dx")===0&&e.settings.kmhelp.action==="display"?(openBlock(),createElementBlock("div",_hoisted_10$7,[t[25]||(t[25]=createBaseVNode("label",{for:"kmhelp-heading"},"Heading",-1)),withDirectives(createBaseVNode("input",{id:"kmhelp-heading",type:"text","onUpdate:modelValue":t[5]||(t[5]=l=>e.settings.kmhelp.heading=l)},null,512),[[vModelText,e.settings.kmhelp.heading]])])):createCommentVNode("",!0),e.settings.general.connection.type==="mashup"&&e.settings.kmhelp.action==="createNewWork"?(openBlock(),createElementBlock("div",_hoisted_11$7,[t[26]||(t[26]=createBaseVNode("label",{for:"kmhelp-startcase"},"Start case",-1)),withDirectives(createBaseVNode("input",{id:"kmhelp-startcase",type:"text","onUpdate:modelValue":t[6]||(t[6]=l=>e.settings.kmhelp.startcase=l)},null,512),[[vModelText,e.settings.kmhelp.startcase]])])):createCommentVNode("",!0),createBaseVNode("div",_hoisted_12$7,[t[27]||(t[27]=createBaseVNode("label",{for:"kmhelp-url"},"URL",-1)),withDirectives(createBaseVNode("input",{id:"kmhelp-url",type:"text","onUpdate:modelValue":t[7]||(t[7]=l=>e.settings.kmhelp.url=l)},null,512),[[vModelText,e.settings.kmhelp.url]])]),e.settings.general.connection.type!=="launchpad"?(openBlock(),createElementBlock("div",_hoisted_13$7,[t[28]||(t[28]=createBaseVNode("label",{for:"kmhelp-application"},"Application name / alias",-1)),withDirectives(createBaseVNode("input",{id:"kmhelp-application",type:"text","onUpdate:modelValue":t[8]||(t[8]=l=>e.settings.kmhelp.application=l)},null,512),[[vModelText,e.settings.kmhelp.application]])])):createCommentVNode("",!0),e.settings.general.connection.type!=="launchpad"?(openBlock(),createElementBlock("div",_hoisted_14$7,[t[29]||(t[29]=createBaseVNode("label",{for:"kmhelp-username"},"Username (for unauthenticated access)",-1)),withDirectives(createBaseVNode("input",{id:"kmhelp-username",type:"text","onUpdate:modelValue":t[9]||(t[9]=l=>e.settings.kmhelp.username=l)},null,512),[[vModelText,e.settings.kmhelp.username]])])):createCommentVNode("",!0),e.settings.general.connection.type!=="launchpad"?(openBlock(),createElementBlock("div",_hoisted_15$7,[t[30]||(t[30]=createBaseVNode("label",{for:"kmhelp-password"},"Password (for unauthenticated access)",-1)),withDirectives(createBaseVNode("input",{id:"kmhelp-password",type:"password","onUpdate:modelValue":t[10]||(t[10]=l=>e.settings.kmhelp.password=l)},null,512),[[vModelText,e.settings.kmhelp.password]])])):createCommentVNode("",!0),e.settings.general.connection.type==="mashup"?(openBlock(),createElementBlock("div",_hoisted_16$7,[t[31]||(t[31]=createBaseVNode("label",{for:"kmhelp-channelid"},"Channel ID",-1)),withDirectives(createBaseVNode("input",{id:"kmhelp-channelid",type:"text","onUpdate:modelValue":t[11]||(t[11]=l=>e.settings.kmhelp.channelid=l)},null,512),[[vModelText,e.settings.kmhelp.channelid]])])):createCommentVNode("",!0),e.settings.general.connection.type==="mashup"?(openBlock(),createElementBlock("div",_hoisted_17$7,[t[32]||(t[32]=createBaseVNode("label",{for:"kmhelp-tenantid"},"Tenant ID",-1)),withDirectives(createBaseVNode("input",{id:"kmhelp-tenantid",type:"text","onUpdate:modelValue":t[12]||(t[12]=l=>e.settings.kmhelp.tenantid=l)},null,512),[[vModelText,e.settings.kmhelp.tenantid]])])):createCommentVNode("",!0),e.settings.general.connection.type.startsWith("embedui")?(openBlock(),createElementBlock("div",_hoisted_18$7,[t[36]||(t[36]=createBaseVNode("label",{for:"kmhelp-pagetemplate"},"Page Template",-1)),withDirectives(createBaseVNode("select",{id:"kmhelp-pagetemplate","onUpdate:modelValue":t[13]||(t[13]=l=>e.settings.kmhelp.pageTemplate=l)},[t[33]||(t[33]=createBaseVNode("option",{value:"full"},"Full case page",-1)),t[34]||(t[34]=createBaseVNode("option",{value:"assignment",selected:""},"Assignment only",-1)),t[35]||(t[35]=createBaseVNode("option",{value:"assignmentWithStages"}," Assignment with stages ",-1)),e.settings.general.connection.type==="embedui2"||e.settings.general.connection.type==="embedui3"?(openBlock(),createElementBlock("option",_hoisted_19$7," Simplified assignment ")):createCommentVNode("",!0)],512),[[vModelSelect,e.settings.kmhelp.pageTemplate]])])):createCommentVNode("",!0),e.settings.general.connection.type==="mashup"?(openBlock(),createElementBlock("div",_hoisted_20$7,[withDirectives(createBaseVNode("input",{id:"kmhelp-dataretained",type:"checkbox","onUpdate:modelValue":t[14]||(t[14]=l=>e.settings.kmhelp.dataretained=l)},null,512),[[vModelCheckbox,e.settings.kmhelp.dataretained]]),t[37]||(t[37]=createBaseVNode("label",{class:"width-auto",for:"kmhelp-dataretained"},"Retain state on reload",-1))])):createCommentVNode("",!0),e.settings.general.connection.type.startsWith("embedui")?(openBlock(),createElementBlock("div",_hoisted_21$7,[withDirectives(createBaseVNode("input",{id:"kmhelp-hideassignmentheader",type:"checkbox","onUpdate:modelValue":t[15]||(t[15]=l=>e.settings.kmhelp.hideassignmentheader=l)},null,512),[[vModelCheckbox,e.settings.kmhelp.hideassignmentheader]]),t[38]||(t[38]=createBaseVNode("label",{class:"width-auto",for:"kmhelp-hideassignmentheader"},"Hide assignment header",-1))])):createCommentVNode("",!0)]),createBaseVNode("div",_hoisted_22$7,[createBaseVNode("div",_hoisted_23$7,[t[39]||(t[39]=createBaseVNode("label",{for:"kmhelp-extraparam"},"Extra parameters (for example 'key1=value1,key2=value2')",-1)),withDirectives(createBaseVNode("textarea",{id:"kmhelp-extraparam","onUpdate:modelValue":t[16]||(t[16]=l=>e.settings.kmhelp.extraparam=l)},null,512),[[vModelText,e.settings.kmhelp.extraparam]])])])])])])}const KMHelpSettings=_export_sfc(_sfc_main$a,[["render",_sfc_render$a]]),_sfc_main$9={data(){return mainconfig},methods:{onActionChange(){this.settings.general.connection.type.indexOf("dx")===-1||this.settings.todo.action!=="display"?this.settings.todo.actionparam="":this.settings.todo.actionparam="workList"}}},_hoisted_1$7={class:"container-transparent"},_hoisted_2$7={class:"container"},_hoisted_3$6={class:"body"},_hoisted_4$6={class:"layout-labels-top layout-inline-grid-double"},_hoisted_5$6={class:"field-item field-checkbox"},_hoisted_6$6={class:"field-item field-checkbox"},_hoisted_7$6={class:"layout-labels-top layout-inline-grid-double"},_hoisted_8$6={class:"field-item"},_hoisted_9$6={key:0},_hoisted_10$6={key:1},_hoisted_11$6={key:0,class:"field-item"},_hoisted_12$6={key:1,class:"field-item"},_hoisted_13$6={key:2,class:"field-item"},_hoisted_14$6={key:3,class:"field-item"},_hoisted_15$6={class:"field-item"},_hoisted_16$6={key:4,class:"field-item"},_hoisted_17$6={key:5,class:"field-item"},_hoisted_18$6={key:6,class:"field-item"},_hoisted_19$6={key:7,class:"field-item"},_hoisted_20$6={key:0,value:"simplifiedAssignment"},_hoisted_21$6={key:8,class:"field-item field-checkbox"},_hoisted_22$6={key:9,class:"field-item field-checkbox"},_hoisted_23$6={class:"layout-labels-top"},_hoisted_24$3={class:"field-item"};function _sfc_render$9(e,t,n,o,s,r){return openBlock(),createElementBlock("div",_hoisted_1$7,[t[40]||(t[40]=createBaseVNode("h2",null,"To Do component",-1)),t[41]||(t[41]=createBaseVNode("p",null," Configuration of the mashup displayed as the To Do list inside the account page. ",-1)),createBaseVNode("div",_hoisted_2$7,[createBaseVNode("div",_hoisted_3$6,[createBaseVNode("div",_hoisted_4$6,[createBaseVNode("div",_hoisted_5$6,[withDirectives(createBaseVNode("input",{id:"todo-hideaccount",type:"checkbox","onUpdate:modelValue":t[0]||(t[0]=l=>e.settings.todo.hideaccount=l)},null,512),[[vModelCheckbox,e.settings.todo.hideaccount]]),t[17]||(t[17]=createBaseVNode("label",{class:"width-auto",for:"todo-hideaccount"},"Hide account picker",-1))]),createBaseVNode("div",_hoisted_6$6,[withDirectives(createBaseVNode("input",{id:"todo-hideaccountdetails",type:"checkbox","onUpdate:modelValue":t[1]||(t[1]=l=>e.settings.todo.hideaccountdetails=l)},null,512),[[vModelCheckbox,e.settings.todo.hideaccountdetails]]),t[18]||(t[18]=createBaseVNode("label",{class:"width-auto",for:"todo-hideaccountdetails"},"Hide account details",-1))])]),createBaseVNode("div",_hoisted_7$6,[createBaseVNode("div",_hoisted_8$6,[t[23]||(t[23]=createBaseVNode("label",{for:"todo-action"},"Action",-1)),withDirectives(createBaseVNode("select",{id:"todo-action","onUpdate:modelValue":t[2]||(t[2]=l=>e.settings.todo.action=l),onChange:t[3]||(t[3]=(...l)=>r.onActionChange&&r.onActionChange(...l))},[t[19]||(t[19]=createBaseVNode("option",null,"createNewWork",-1)),t[20]||(t[20]=createBaseVNode("option",null,"display",-1)),e.settings.general.connection.type.indexOf("dx")===-1?(openBlock(),createElementBlock("option",_hoisted_9$6," getNextWork ")):createCommentVNode("",!0),t[21]||(t[21]=createBaseVNode("option",null,"openAssignment",-1)),e.settings.general.connection.type==="mashup"?(openBlock(),createElementBlock("option",_hoisted_10$6," openWorkItem ")):createCommentVNode("",!0),t[22]||(t[22]=createBaseVNode("option",null,"openWorkByHandle",-1))],544),[[vModelSelect,e.settings.todo.action]])]),e.settings.todo.action!=="createNewWork"&&e.settings.todo.action!=="getNextWork"?(openBlock(),createElementBlock("div",_hoisted_11$6,[t[25]||(t[25]=createBaseVNode("label",{for:"todo-actionparam"},"Action parameter",-1)),e.settings.general.connection.type.indexOf("dx")===-1||e.settings.todo.action!=="display"?withDirectives((openBlock(),createElementBlock("input",{key:0,id:"todo-actionparam",type:"text","onUpdate:modelValue":t[4]||(t[4]=l=>e.settings.todo.actionparam=l)},null,512)),[[vModelText,e.settings.todo.actionparam]]):withDirectives((openBlock(),createElementBlock("select",{key:1,id:"todo-action","onUpdate:modelValue":t[5]||(t[5]=l=>e.settings.todo.actionparam=l)},t[24]||(t[24]=[createBaseVNode("option",{value:"workList",selected:""},"Show the worklist",-1),createBaseVNode("option",{value:"taskList"},"Show a tasklist",-1),createBaseVNode("option",{value:"dataView"},"Display a data view",-1)]),512)),[[vModelSelect,e.settings.todo.actionparam]])])):createCommentVNode("",!0),e.settings.todo.action==="createNewWork"||e.settings.general.connection.type.indexOf("dx")===-1&&e.settings.todo.action==="display"?(openBlock(),createElementBlock("div",_hoisted_12$6,[t[26]||(t[26]=createBaseVNode("label",{for:"todo-objclass"},"Classname",-1)),withDirectives(createBaseVNode("input",{id:"todo-objclass",type:"text","onUpdate:modelValue":t[6]||(t[6]=l=>e.settings.todo.objclass=l)},null,512),[[vModelText,e.settings.todo.objclass]])])):createCommentVNode("",!0),e.settings.general.connection.type.indexOf("dx")===0&&e.settings.todo.action==="display"?(openBlock(),createElementBlock("div",_hoisted_13$6,[t[27]||(t[27]=createBaseVNode("label",{for:"todo-heading"},"Heading",-1)),withDirectives(createBaseVNode("input",{id:"todo-heading",type:"text","onUpdate:modelValue":t[7]||(t[7]=l=>e.settings.todo.heading=l)},null,512),[[vModelText,e.settings.todo.heading]])])):createCommentVNode("",!0),e.settings.general.connection.type==="mashup"&&e.settings.todo.action==="createNewWork"?(openBlock(),createElementBlock("div",_hoisted_14$6,[t[28]||(t[28]=createBaseVNode("label",{for:"todo-startcase"},"Start case",-1)),withDirectives(createBaseVNode("input",{id:"todo-startcase",type:"text","onUpdate:modelValue":t[8]||(t[8]=l=>e.settings.todo.startcase=l)},null,512),[[vModelText,e.settings.todo.startcase]])])):createCommentVNode("",!0),createBaseVNode("div",_hoisted_15$6,[t[29]||(t[29]=createBaseVNode("label",{for:"todo-url"},"URL",-1)),withDirectives(createBaseVNode("input",{id:"todo-url",type:"text","onUpdate:modelValue":t[9]||(t[9]=l=>e.settings.todo.url=l)},null,512),[[vModelText,e.settings.todo.url]])]),e.settings.general.connection.type!=="launchpad"?(openBlock(),createElementBlock("div",_hoisted_16$6,[t[30]||(t[30]=createBaseVNode("label",{for:"todo-application"},"Application name / alias",-1)),withDirectives(createBaseVNode("input",{id:"todo-application",type:"text","onUpdate:modelValue":t[10]||(t[10]=l=>e.settings.todo.application=l)},null,512),[[vModelText,e.settings.todo.application]])])):createCommentVNode("",!0),e.settings.general.connection.type==="mashup"?(openBlock(),createElementBlock("div",_hoisted_17$6,[t[31]||(t[31]=createBaseVNode("label",{for:"todo-channelid"},"Channel ID",-1)),withDirectives(createBaseVNode("input",{id:"todo-channelid",type:"text","onUpdate:modelValue":t[11]||(t[11]=l=>e.settings.todo.channelid=l)},null,512),[[vModelText,e.settings.todo.channelid]])])):createCommentVNode("",!0),e.settings.general.connection.type==="mashup"?(openBlock(),createElementBlock("div",_hoisted_18$6,[t[32]||(t[32]=createBaseVNode("label",{for:"todo-tenantid"},"Tenant ID",-1)),withDirectives(createBaseVNode("input",{id:"todo-tenantid",type:"text","onUpdate:modelValue":t[12]||(t[12]=l=>e.settings.todo.tenantid=l)},null,512),[[vModelText,e.settings.todo.tenantid]])])):createCommentVNode("",!0),e.settings.general.connection.type.startsWith("embedui")?(openBlock(),createElementBlock("div",_hoisted_19$6,[t[36]||(t[36]=createBaseVNode("label",{for:"todo-pagetemplate"},"Page Template",-1)),withDirectives(createBaseVNode("select",{id:"todo-pagetemplate","onUpdate:modelValue":t[13]||(t[13]=l=>e.settings.todo.pageTemplate=l)},[t[33]||(t[33]=createBaseVNode("option",{value:"full"},"Full case page",-1)),t[34]||(t[34]=createBaseVNode("option",{value:"assignment",selected:""},"Assignment only",-1)),t[35]||(t[35]=createBaseVNode("option",{value:"assignmentWithStages"}," Assignment with stages ",-1)),e.settings.general.connection.type==="embedui2"||e.settings.general.connection.type==="embedui3"?(openBlock(),createElementBlock("option",_hoisted_20$6," Simplified assignment ")):createCommentVNode("",!0)],512),[[vModelSelect,e.settings.todo.pageTemplate]])])):createCommentVNode("",!0),e.settings.general.connection.type==="mashup"?(openBlock(),createElementBlock("div",_hoisted_21$6,[withDirectives(createBaseVNode("input",{id:"todo-dataretained",type:"checkbox","onUpdate:modelValue":t[14]||(t[14]=l=>e.settings.todo.dataretained=l)},null,512),[[vModelCheckbox,e.settings.todo.dataretained]]),t[37]||(t[37]=createBaseVNode("label",{class:"width-auto",for:"todo-dataretained"},"Retain state on reload",-1))])):createCommentVNode("",!0),e.settings.general.connection.type.startsWith("embedui")?(openBlock(),createElementBlock("div",_hoisted_22$6,[withDirectives(createBaseVNode("input",{id:"todo-hideassignmentheader",type:"checkbox","onUpdate:modelValue":t[15]||(t[15]=l=>e.settings.todo.hideassignmentheader=l)},null,512),[[vModelCheckbox,e.settings.todo.hideassignmentheader]]),t[38]||(t[38]=createBaseVNode("label",{class:"width-auto",for:"todo-hideassignmentheader"},"Hide assignment header",-1))])):createCommentVNode("",!0)]),createBaseVNode("div",_hoisted_23$6,[createBaseVNode("div",_hoisted_24$3,[t[39]||(t[39]=createBaseVNode("label",{for:"todo-extraparam"},"Extra parameters (for example 'key1=value1,key2=value2')",-1)),withDirectives(createBaseVNode("textarea",{id:"todo-extraparam","onUpdate:modelValue":t[16]||(t[16]=l=>e.settings.todo.extraparam=l)},null,512),[[vModelText,e.settings.todo.extraparam]])])])])])])}const ToDoSettings=_export_sfc(_sfc_main$9,[["render",_sfc_render$9]]),_sfc_main$8={data(){return mainconfig},methods:{onActionChange(){this.settings.general.connection.type.indexOf("dx")===-1||this.settings.activity.action!=="display"?this.settings.activity.actionparam="":this.settings.activity.actionparam="workList"}}},_hoisted_1$6={class:"container-transparent"},_hoisted_2$6={class:"container"},_hoisted_3$5={class:"body"},_hoisted_4$5={class:"layout-labels-top layout-inline-grid-double"},_hoisted_5$5={class:"field-item field-checkbox"},_hoisted_6$5={class:"layout-labels-top layout-inline-grid-double"},_hoisted_7$5={class:"field-item"},_hoisted_8$5={key:0},_hoisted_9$5={key:1},_hoisted_10$5={key:0,class:"field-item"},_hoisted_11$5={key:1,class:"field-item"},_hoisted_12$5={key:2,class:"field-item"},_hoisted_13$5={key:3,class:"field-item"},_hoisted_14$5={class:"field-item"},_hoisted_15$5={key:4,class:"field-item"},_hoisted_16$5={key:5,class:"field-item"},_hoisted_17$5={key:6,class:"field-item"},_hoisted_18$5={key:7,class:"field-item"},_hoisted_19$5={key:0,value:"simplifiedAssignment"},_hoisted_20$5={key:8,class:"field-item field-checkbox"},_hoisted_21$5={key:9,class:"field-item field-checkbox"},_hoisted_22$5={class:"layout-labels-top"},_hoisted_23$5={class:"field-item"};function _sfc_render$8(e,t,n,o,s,r){return openBlock(),createElementBlock("div",_hoisted_1$6,[t[38]||(t[38]=createBaseVNode("h2",null,"Activity component",-1)),t[39]||(t[39]=createBaseVNode("p",null," Configuration of the mashup displayed as the Activity list inside the account page. If the url is not configured, a static set of events is displayed - to hide the activity feed, check the setting hide activity feed below. ",-1)),createBaseVNode("div",_hoisted_2$6,[createBaseVNode("div",_hoisted_3$5,[createBaseVNode("div",_hoisted_4$5,[createBaseVNode("div",_hoisted_5$5,[withDirectives(createBaseVNode("input",{id:"todo-hideactivity",type:"checkbox","onUpdate:modelValue":t[0]||(t[0]=l=>e.settings.todo.hideactivity=l)},null,512),[[vModelCheckbox,e.settings.todo.hideactivity]]),t[16]||(t[16]=createBaseVNode("label",{class:"width-auto",for:"todo-hideactivity"},"Hide activity feed",-1))])]),createBaseVNode("div",_hoisted_6$5,[createBaseVNode("div",_hoisted_7$5,[t[21]||(t[21]=createBaseVNode("label",{for:"activity-action"},"Action",-1)),withDirectives(createBaseVNode("select",{id:"activity-action","onUpdate:modelValue":t[1]||(t[1]=l=>e.settings.activity.action=l),onChange:t[2]||(t[2]=(...l)=>r.onActionChange&&r.onActionChange(...l))},[t[17]||(t[17]=createBaseVNode("option",null,"createNewWork",-1)),t[18]||(t[18]=createBaseVNode("option",null,"display",-1)),e.settings.general.connection.type.indexOf("dx")===-1?(openBlock(),createElementBlock("option",_hoisted_8$5," getNextWork ")):createCommentVNode("",!0),t[19]||(t[19]=createBaseVNode("option",null,"openAssignment",-1)),e.settings.general.connection.type==="mashup"?(openBlock(),createElementBlock("option",_hoisted_9$5," openWorkItem ")):createCommentVNode("",!0),t[20]||(t[20]=createBaseVNode("option",null,"openWorkByHandle",-1))],544),[[vModelSelect,e.settings.activity.action]])]),e.settings.activity.action!=="createNewWork"&&e.settings.activity.action!=="getNextWork"?(openBlock(),createElementBlock("div",_hoisted_10$5,[t[23]||(t[23]=createBaseVNode("label",{for:"activity-actionparam"},"Action parameter",-1)),e.settings.general.connection.type.indexOf("dx")===-1||e.settings.activity.action!=="display"?withDirectives((openBlock(),createElementBlock("input",{key:0,id:"activity-actionparam",type:"text","onUpdate:modelValue":t[3]||(t[3]=l=>e.settings.activity.actionparam=l)},null,512)),[[vModelText,e.settings.activity.actionparam]]):withDirectives((openBlock(),createElementBlock("select",{key:1,id:"activity-action","onUpdate:modelValue":t[4]||(t[4]=l=>e.settings.activity.actionparam=l)},t[22]||(t[22]=[createBaseVNode("option",{value:"workList",selected:""},"Show the worklist",-1),createBaseVNode("option",{value:"taskList"},"Show a tasklist",-1),createBaseVNode("option",{value:"dataView"},"Display a data view",-1)]),512)),[[vModelSelect,e.settings.activity.actionparam]])])):createCommentVNode("",!0),e.settings.activity.action==="createNewWork"||e.settings.general.connection.type.indexOf("dx")===-1&&e.settings.activity.action==="display"?(openBlock(),createElementBlock("div",_hoisted_11$5,[t[24]||(t[24]=createBaseVNode("label",{for:"activity-objclass"},"Classname",-1)),withDirectives(createBaseVNode("input",{id:"activity-objclass",type:"text","onUpdate:modelValue":t[5]||(t[5]=l=>e.settings.activity.objclass=l)},null,512),[[vModelText,e.settings.activity.objclass]])])):createCommentVNode("",!0),e.settings.general.connection.type.indexOf("dx")===0&&e.settings.activity.action==="display"?(openBlock(),createElementBlock("div",_hoisted_12$5,[t[25]||(t[25]=createBaseVNode("label",{for:"activity-heading"},"Heading",-1)),withDirectives(createBaseVNode("input",{id:"activity-heading",type:"text","onUpdate:modelValue":t[6]||(t[6]=l=>e.settings.activity.heading=l)},null,512),[[vModelText,e.settings.activity.heading]])])):createCommentVNode("",!0),e.settings.general.connection.type==="mashup"&&e.settings.activity.action==="createNewWork"?(openBlock(),createElementBlock("div",_hoisted_13$5,[t[26]||(t[26]=createBaseVNode("label",{for:"activity-startcase"},"Start case",-1)),withDirectives(createBaseVNode("input",{id:"activity-startcase",type:"text","onUpdate:modelValue":t[7]||(t[7]=l=>e.settings.activity.startcase=l)},null,512),[[vModelText,e.settings.activity.startcase]])])):createCommentVNode("",!0),createBaseVNode("div",_hoisted_14$5,[t[27]||(t[27]=createBaseVNode("label",{for:"activity-url"},"URL",-1)),withDirectives(createBaseVNode("input",{id:"activity-url",type:"text","onUpdate:modelValue":t[8]||(t[8]=l=>e.settings.activity.url=l)},null,512),[[vModelText,e.settings.activity.url]])]),e.settings.general.connection.type!=="launchpad"?(openBlock(),createElementBlock("div",_hoisted_15$5,[t[28]||(t[28]=createBaseVNode("label",{for:"activity-application"},"Application name / alias",-1)),withDirectives(createBaseVNode("input",{id:"activity-application",type:"text","onUpdate:modelValue":t[9]||(t[9]=l=>e.settings.activity.application=l)},null,512),[[vModelText,e.settings.activity.application]])])):createCommentVNode("",!0),e.settings.general.connection.type==="mashup"?(openBlock(),createElementBlock("div",_hoisted_16$5,[t[29]||(t[29]=createBaseVNode("label",{for:"activity-channelid"},"Channel ID",-1)),withDirectives(createBaseVNode("input",{id:"activity-channelid",type:"text","onUpdate:modelValue":t[10]||(t[10]=l=>e.settings.activity.channelid=l)},null,512),[[vModelText,e.settings.activity.channelid]])])):createCommentVNode("",!0),e.settings.general.connection.type==="mashup"?(openBlock(),createElementBlock("div",_hoisted_17$5,[t[30]||(t[30]=createBaseVNode("label",{for:"activity-tenantid"},"Tenant ID",-1)),withDirectives(createBaseVNode("input",{id:"activity-tenantid",type:"text","onUpdate:modelValue":t[11]||(t[11]=l=>e.settings.activity.tenantid=l)},null,512),[[vModelText,e.settings.activity.tenantid]])])):createCommentVNode("",!0),e.settings.general.connection.type.startsWith("embedui")?(openBlock(),createElementBlock("div",_hoisted_18$5,[t[34]||(t[34]=createBaseVNode("label",{for:"activity-pagetemplate"},"Page Template",-1)),withDirectives(createBaseVNode("select",{id:"activity-pagetemplate","onUpdate:modelValue":t[12]||(t[12]=l=>e.settings.activity.pageTemplate=l)},[t[31]||(t[31]=createBaseVNode("option",{value:"full"},"Full case page",-1)),t[32]||(t[32]=createBaseVNode("option",{value:"assignment",selected:""},"Assignment only",-1)),t[33]||(t[33]=createBaseVNode("option",{value:"assignmentWithStages"}," Assignment with stages ",-1)),e.settings.general.connection.type==="embedui2"||e.settings.general.connection.type==="embedui3"?(openBlock(),createElementBlock("option",_hoisted_19$5," Simplified assignment ")):createCommentVNode("",!0)],512),[[vModelSelect,e.settings.activity.pageTemplate]])])):createCommentVNode("",!0),e.settings.general.connection.type==="mashup"?(openBlock(),createElementBlock("div",_hoisted_20$5,[withDirectives(createBaseVNode("input",{id:"activity-dataretained",type:"checkbox","onUpdate:modelValue":t[13]||(t[13]=l=>e.settings.activity.dataretained=l)},null,512),[[vModelCheckbox,e.settings.activity.dataretained]]),t[35]||(t[35]=createBaseVNode("label",{class:"width-auto",for:"activity-dataretained"},"Retain state on reload",-1))])):createCommentVNode("",!0),e.settings.general.connection.type.startsWith("embedui")?(openBlock(),createElementBlock("div",_hoisted_21$5,[withDirectives(createBaseVNode("input",{id:"activity-hideassignmentheader",type:"checkbox","onUpdate:modelValue":t[14]||(t[14]=l=>e.settings.activity.hideassignmentheader=l)},null,512),[[vModelCheckbox,e.settings.activity.hideassignmentheader]]),t[36]||(t[36]=createBaseVNode("label",{class:"width-auto",for:"activity-hideassignmentheader"},"Hide assignment header",-1))])):createCommentVNode("",!0)]),createBaseVNode("div",_hoisted_22$5,[createBaseVNode("div",_hoisted_23$5,[t[37]||(t[37]=createBaseVNode("label",{for:"activity-extraparam"},"Extra parameters (for example 'key1=value1,key2=value2')",-1)),withDirectives(createBaseVNode("textarea",{id:"activity-extraparam","onUpdate:modelValue":t[15]||(t[15]=l=>e.settings.activity.extraparam=l)},null,512),[[vModelText,e.settings.activity.extraparam]])])])])])])}const ActivitySettings=_export_sfc(_sfc_main$8,[["render",_sfc_render$8]]),_sfc_main$7={data(){return mainconfig},methods:{onActionChange(){this.settings.general.connection.type.indexOf("dx")===-1||this.settings.homeheroaction.action!=="display"?this.settings.homeheroaction.actionparam="":this.settings.homeheroaction.actionparam="workList"}}},_hoisted_1$5={class:"container-transparent"},_hoisted_2$5={class:"container"},_hoisted_3$4={class:"body"},_hoisted_4$4={class:"layout-labels-top layout-inline-grid-double"},_hoisted_5$4={class:"field-item"},_hoisted_6$4={key:0},_hoisted_7$4={key:1},_hoisted_8$4={key:0,class:"field-item"},_hoisted_9$4={key:1,class:"field-item"},_hoisted_10$4={key:2,class:"field-item"},_hoisted_11$4={key:3,class:"field-item"},_hoisted_12$4={class:"field-item"},_hoisted_13$4={key:4,class:"field-item"},_hoisted_14$4={key:5,class:"field-item"},_hoisted_15$4={key:6,class:"field-item"},_hoisted_16$4={key:7,class:"field-item"},_hoisted_17$4={key:8,class:"field-item"},_hoisted_18$4={key:9,class:"field-item"},_hoisted_19$4={key:0,value:"simplifiedAssignment"},_hoisted_20$4={key:10,class:"field-item field-checkbox"},_hoisted_21$4={key:11,class:"field-item field-checkbox"},_hoisted_22$4={class:"layout-labels-top"},_hoisted_23$4={class:"field-item"};function _sfc_render$7(e,t,n,o,s,r){return openBlock(),createElementBlock("div",_hoisted_1$5,[t[40]||(t[40]=createBaseVNode("h2",null,"Home Hero Action",-1)),t[41]||(t[41]=createBaseVNode("p",null,' Configuration of the mashup displayed when clicking on the "Learn more" button inside the Hero placement of the Home page ',-1)),createBaseVNode("div",_hoisted_2$5,[createBaseVNode("div",_hoisted_3$4,[createBaseVNode("div",_hoisted_4$4,[createBaseVNode("div",_hoisted_5$4,[t[21]||(t[21]=createBaseVNode("label",{for:"homeheroaction-action"},"Action",-1)),withDirectives(createBaseVNode("select",{id:"homeheroaction-action","onUpdate:modelValue":t[0]||(t[0]=l=>e.settings.homeheroaction.action=l),onChange:t[1]||(t[1]=(...l)=>r.onActionChange&&r.onActionChange(...l))},[t[17]||(t[17]=createBaseVNode("option",null,"createNewWork",-1)),t[18]||(t[18]=createBaseVNode("option",null,"display",-1)),e.settings.general.connection.type.indexOf("dx")===-1?(openBlock(),createElementBlock("option",_hoisted_6$4," getNextWork ")):createCommentVNode("",!0),t[19]||(t[19]=createBaseVNode("option",null,"openAssignment",-1)),e.settings.general.connection.type==="mashup"?(openBlock(),createElementBlock("option",_hoisted_7$4," openWorkItem ")):createCommentVNode("",!0),t[20]||(t[20]=createBaseVNode("option",null,"openWorkByHandle",-1))],544),[[vModelSelect,e.settings.homeheroaction.action]])]),e.settings.homeheroaction.action!=="createNewWork"&&e.settings.homeheroaction.action!=="getNextWork"?(openBlock(),createElementBlock("div",_hoisted_8$4,[t[23]||(t[23]=createBaseVNode("label",{for:"homeheroaction-actionparam"},"Action parameter",-1)),e.settings.general.connection.type.indexOf("dx")===-1||e.settings.homeheroaction.action!=="display"?withDirectives((openBlock(),createElementBlock("input",{key:0,id:"homeheroaction-actionparam",type:"text","onUpdate:modelValue":t[2]||(t[2]=l=>e.settings.homeheroaction.actionparam=l)},null,512)),[[vModelText,e.settings.homeheroaction.actionparam]]):withDirectives((openBlock(),createElementBlock("select",{key:1,id:"homeheroaction-action","onUpdate:modelValue":t[3]||(t[3]=l=>e.settings.homeheroaction.actionparam=l)},t[22]||(t[22]=[createBaseVNode("option",{value:"workList",selected:""},"Show the worklist",-1),createBaseVNode("option",{value:"taskList"},"Show a tasklist",-1),createBaseVNode("option",{value:"dataView"},"Display a data view",-1)]),512)),[[vModelSelect,e.settings.homeheroaction.actionparam]])])):createCommentVNode("",!0),e.settings.homeheroaction.action==="createNewWork"||e.settings.general.connection.type.indexOf("dx")===-1&&e.settings.homeheroaction.action==="display"?(openBlock(),createElementBlock("div",_hoisted_9$4,[t[24]||(t[24]=createBaseVNode("label",{for:"homeheroaction-objclass"},"Classname",-1)),withDirectives(createBaseVNode("input",{id:"homeheroaction-objclass",type:"text","onUpdate:modelValue":t[4]||(t[4]=l=>e.settings.homeheroaction.objclass=l)},null,512),[[vModelText,e.settings.homeheroaction.objclass]])])):createCommentVNode("",!0),e.settings.general.connection.type.indexOf("dx")===0&&e.settings.homeheroaction.action==="display"?(openBlock(),createElementBlock("div",_hoisted_10$4,[t[25]||(t[25]=createBaseVNode("label",{for:"homeheroaction-heading"},"Heading",-1)),withDirectives(createBaseVNode("input",{id:"homeheroaction-heading",type:"text","onUpdate:modelValue":t[5]||(t[5]=l=>e.settings.homeheroaction.heading=l)},null,512),[[vModelText,e.settings.homeheroaction.heading]])])):createCommentVNode("",!0),e.settings.general.connection.type==="mashup"&&e.settings.homeheroaction.action==="createNewWork"?(openBlock(),createElementBlock("div",_hoisted_11$4,[t[26]||(t[26]=createBaseVNode("label",{for:"homeheroaction-startcase"},"Start case",-1)),withDirectives(createBaseVNode("input",{id:"homeheroaction-startcase",type:"text","onUpdate:modelValue":t[6]||(t[6]=l=>e.settings.homeheroaction.startcase=l)},null,512),[[vModelText,e.settings.homeheroaction.startcase]])])):createCommentVNode("",!0),createBaseVNode("div",_hoisted_12$4,[t[27]||(t[27]=createBaseVNode("label",{for:"homeheroaction-url"},"URL",-1)),withDirectives(createBaseVNode("input",{id:"homeheroaction-url",type:"text","onUpdate:modelValue":t[7]||(t[7]=l=>e.settings.homeheroaction.url=l)},null,512),[[vModelText,e.settings.homeheroaction.url]])]),e.settings.general.connection.type!=="launchpad"?(openBlock(),createElementBlock("div",_hoisted_13$4,[t[28]||(t[28]=createBaseVNode("label",{for:"homeheroaction-application"},"Application name / alias",-1)),withDirectives(createBaseVNode("input",{id:"homeheroaction-application",type:"text","onUpdate:modelValue":t[8]||(t[8]=l=>e.settings.homeheroaction.application=l)},null,512),[[vModelText,e.settings.homeheroaction.application]])])):createCommentVNode("",!0),e.settings.general.connection.type!=="launchpad"?(openBlock(),createElementBlock("div",_hoisted_14$4,[t[29]||(t[29]=createBaseVNode("label",{for:"homeheroaction-pega_userid"},"Pega userid",-1)),withDirectives(createBaseVNode("input",{id:"homeheroaction-pega_userid",type:"text","onUpdate:modelValue":t[9]||(t[9]=l=>e.settings.homeheroaction.pega_userid=l)},null,512),[[vModelText,e.settings.homeheroaction.pega_userid]])])):createCommentVNode("",!0),e.settings.general.connection.type!=="launchpad"?(openBlock(),createElementBlock("div",_hoisted_15$4,[t[30]||(t[30]=createBaseVNode("label",{for:"homeheroaction-pega_pwd"},"Pega password",-1)),withDirectives(createBaseVNode("input",{id:"homeheroaction-pega_pwd",type:"password","onUpdate:modelValue":t[10]||(t[10]=l=>e.settings.homeheroaction.pega_pwd=l)},null,512),[[vModelText,e.settings.homeheroaction.pega_pwd]])])):createCommentVNode("",!0),e.settings.general.connection.type==="mashup"?(openBlock(),createElementBlock("div",_hoisted_16$4,[t[31]||(t[31]=createBaseVNode("label",{for:"homeheroaction-channelid"},"Channel ID",-1)),withDirectives(createBaseVNode("input",{id:"homeheroaction-channelid",type:"text","onUpdate:modelValue":t[11]||(t[11]=l=>e.settings.homeheroaction.channelid=l)},null,512),[[vModelText,e.settings.homeheroaction.channelid]])])):createCommentVNode("",!0),e.settings.general.connection.type==="mashup"?(openBlock(),createElementBlock("div",_hoisted_17$4,[t[32]||(t[32]=createBaseVNode("label",{for:"homeheroaction-tenantid"},"Tenant ID",-1)),withDirectives(createBaseVNode("input",{id:"homeheroaction-tenantid",type:"text","onUpdate:modelValue":t[12]||(t[12]=l=>e.settings.homeheroaction.tenantid=l)},null,512),[[vModelText,e.settings.homeheroaction.tenantid]])])):createCommentVNode("",!0),e.settings.general.connection.type.startsWith("embedui")?(openBlock(),createElementBlock("div",_hoisted_18$4,[t[36]||(t[36]=createBaseVNode("label",{for:"homeheroaction-pagetemplate"},"Page Template",-1)),withDirectives(createBaseVNode("select",{id:"homeheroaction-pagetemplate","onUpdate:modelValue":t[13]||(t[13]=l=>e.settings.homeheroaction.pageTemplate=l)},[t[33]||(t[33]=createBaseVNode("option",{value:"full"},"Full case page",-1)),t[34]||(t[34]=createBaseVNode("option",{value:"assignment",selected:""},"Assignment only",-1)),t[35]||(t[35]=createBaseVNode("option",{value:"assignmentWithStages"}," Assignment with stages ",-1)),e.settings.general.connection.type==="embedui2"||e.settings.general.connection.type==="embedui3"?(openBlock(),createElementBlock("option",_hoisted_19$4," Simplified assignment ")):createCommentVNode("",!0)],512),[[vModelSelect,e.settings.homeheroaction.pageTemplate]])])):createCommentVNode("",!0),e.settings.general.connection.type==="mashup"?(openBlock(),createElementBlock("div",_hoisted_20$4,[withDirectives(createBaseVNode("input",{id:"homeheroaction-dataretained",type:"checkbox","onUpdate:modelValue":t[14]||(t[14]=l=>e.settings.homeheroaction.dataretained=l)},null,512),[[vModelCheckbox,e.settings.homeheroaction.dataretained]]),t[37]||(t[37]=createBaseVNode("label",{class:"width-auto",for:"homeheroaction-dataretained"},"Retain state on reload",-1))])):createCommentVNode("",!0),e.settings.general.connection.type.startsWith("embedui")?(openBlock(),createElementBlock("div",_hoisted_21$4,[withDirectives(createBaseVNode("input",{id:"homeheroaction-hideassignmentheader",type:"checkbox","onUpdate:modelValue":t[15]||(t[15]=l=>e.settings.homeheroaction.hideassignmentheader=l)},null,512),[[vModelCheckbox,e.settings.homeheroaction.hideassignmentheader]]),t[38]||(t[38]=createBaseVNode("label",{class:"width-auto",for:"homeheroaction-hideassignmentheader"},"Hide assignment header",-1))])):createCommentVNode("",!0)]),createBaseVNode("div",_hoisted_22$4,[createBaseVNode("div",_hoisted_23$4,[t[39]||(t[39]=createBaseVNode("label",{for:"homeheroaction-extraparam"},"Extra parameters (for example 'key1=value1,key2=value2')",-1)),withDirectives(createBaseVNode("textarea",{id:"homeheroaction-extraparam","onUpdate:modelValue":t[16]||(t[16]=l=>e.settings.homeheroaction.extraparam=l)},null,512),[[vModelText,e.settings.homeheroaction.extraparam]])])])])])])}const HomeHeroActionSettings=_export_sfc(_sfc_main$7,[["render",_sfc_render$7]]),_sfc_main$6={data(){return mainconfig},components:{Container}},_hoisted_1$4={class:"container-transparent"},_hoisted_2$4={class:"layout-inline-grid-double layout-labels-left"},_hoisted_3$3={class:"field-item"},_hoisted_4$3=["id","onUpdate:modelValue"],_hoisted_5$3=["for"],_hoisted_6$3={class:"field-item"},_hoisted_7$3=["id","onUpdate:modelValue"],_hoisted_8$3=["for"],_hoisted_9$3={class:"layout-inline-grid-double layout-labels-top"},_hoisted_10$3={class:"field-item"},_hoisted_11$3=["for"],_hoisted_12$3=["id","onUpdate:modelValue"],_hoisted_13$3={class:"field-item"},_hoisted_14$3=["for"],_hoisted_15$3=["id","onUpdate:modelValue"],_hoisted_16$3={class:"field-item"},_hoisted_17$3=["for"],_hoisted_18$3=["id","onUpdate:modelValue"],_hoisted_19$3={class:"field-item"},_hoisted_20$3=["for"],_hoisted_21$3=["id","onUpdate:modelValue"],_hoisted_22$3={class:"field-item"},_hoisted_23$3=["for"],_hoisted_24$2=["id","onUpdate:modelValue"],_hoisted_25$2={class:"field-item"},_hoisted_26$2=["for"],_hoisted_27$2=["id","onUpdate:modelValue"],_hoisted_28$2={key:0,class:"field-item"},_hoisted_29$2=["for"],_hoisted_30$1=["id","onUpdate:modelValue"],_hoisted_31$1={key:1,class:"field-item"},_hoisted_32$1=["for"],_hoisted_33$1=["id","onUpdate:modelValue"],_hoisted_34$1={key:2,class:"field-item"},_hoisted_35$1=["for"],_hoisted_36$1=["id","onUpdate:modelValue"],_hoisted_37$1={key:3,class:"field-item"},_hoisted_38$1=["for"],_hoisted_39$1=["id","onUpdate:modelValue"],_hoisted_40$1={key:4,class:"field-item"},_hoisted_41$1=["for"],_hoisted_42$1=["id","onUpdate:modelValue"],_hoisted_43$1={key:5,class:"field-item"},_hoisted_44$1=["for"],_hoisted_45$1=["id","onUpdate:modelValue"],_hoisted_46$1={class:"field-item"},_hoisted_47$1=["for"],_hoisted_48$1=["id","onUpdate:modelValue"],_hoisted_49$1={class:"layout-labels-top"},_hoisted_50$1={class:"field-item"},_hoisted_51$1=["for"],_hoisted_52$1=["id","onUpdate:modelValue"],_hoisted_53$1={class:"field-item"},_hoisted_54$1=["for"],_hoisted_55=["id","onUpdate:modelValue"],_hoisted_56={class:"layout-inline-grid-double layout-labels-left"},_hoisted_57={class:"field-item"},_hoisted_58=["id","onUpdate:modelValue"],_hoisted_59=["for"];function _sfc_render$6(e,t,n,o,s,r){const l=resolveComponent("Container");return openBlock(),createElementBlock("div",_hoisted_1$4,[t[0]||(t[0]=createBaseVNode("h2",null,"Users",-1)),t[1]||(t[1]=createBaseVNode("p",null," Configuration of the credentials for the users that can login into the application. Each user is mapped to a Pega Platform user. ",-1)),(openBlock(!0),createElementBlock(Fragment,null,renderList(e.settings.users,(a,c)=>(openBlock(),createElementBlock("div",{key:c},[createVNode(l,{title:"User "+(c+1),expanded:c===0},{default:withCtx(()=>[createBaseVNode("div",_hoisted_2$4,[createBaseVNode("div",_hoisted_3$3,[withDirectives(createBaseVNode("input",{type:"checkbox",id:"user-"+c+"-load_by_default","onUpdate:modelValue":d=>a.load_by_default=d},null,8,_hoisted_4$3),[[vModelCheckbox,a.load_by_default]]),createBaseVNode("label",{class:"width-auto",for:"user-"+c+"-load_by_default"},"Loaded by default",8,_hoisted_5$3)]),createBaseVNode("div",_hoisted_6$3,[withDirectives(createBaseVNode("input",{type:"checkbox",id:"user-"+c+"-show_opname","onUpdate:modelValue":d=>a.show_opname=d},null,8,_hoisted_7$3),[[vModelCheckbox,a.show_opname]]),createBaseVNode("label",{class:"width-auto",for:"user-"+c+"-show_opname"},"Show operator name",8,_hoisted_8$3)])]),createBaseVNode("div",_hoisted_9$3,[createBaseVNode("div",_hoisted_10$3,[createBaseVNode("label",{for:"user-"+c+"-username"},"Username",8,_hoisted_11$3),withDirectives(createBaseVNode("input",{id:"user-"+c+"-username",type:"text","onUpdate:modelValue":d=>a.username=d},null,8,_hoisted_12$3),[[vModelText,a.username]])]),createBaseVNode("div",_hoisted_13$3,[createBaseVNode("label",{for:"user-"+c+"-password"},"Password",8,_hoisted_14$3),withDirectives(createBaseVNode("input",{id:"user-"+c+"-password",type:"password","onUpdate:modelValue":d=>a.password=d},null,8,_hoisted_15$3),[[vModelText,a.password]])]),createBaseVNode("div",_hoisted_16$3,[createBaseVNode("label",{for:"user-"+c+"-img"},"Image",8,_hoisted_17$3),withDirectives(createBaseVNode("input",{id:"user-"+c+"-img",type:"text","onUpdate:modelValue":d=>a.img=d},null,8,_hoisted_18$3),[[vModelText,a.img]])]),createBaseVNode("div",_hoisted_19$3,[createBaseVNode("label",{for:"user-"+c+"-company_name"},"Company",8,_hoisted_20$3),withDirectives(createBaseVNode("input",{id:"user-"+c+"-company_name",type:"text","onUpdate:modelValue":d=>a.company_name=d},null,8,_hoisted_21$3),[[vModelText,a.company_name]])]),createBaseVNode("div",_hoisted_22$3,[createBaseVNode("label",{for:"user-"+c+"-name"},"Name",8,_hoisted_23$3),withDirectives(createBaseVNode("input",{id:"user-"+c+"-name",type:"text","onUpdate:modelValue":d=>a.name=d},null,8,_hoisted_24$2),[[vModelText,a.name]])]),createBaseVNode("div",_hoisted_25$2,[createBaseVNode("label",{for:"user-"+c+"-billpay"},"Bill amount",8,_hoisted_26$2),withDirectives(createBaseVNode("input",{id:"user-"+c+"-billpay",type:"text","onUpdate:modelValue":d=>a.billpay=d},null,8,_hoisted_27$2),[[vModelText,a.billpay]])]),e.settings.general.connection.type!=="launchpad"?(openBlock(),createElementBlock("div",_hoisted_28$2,[createBaseVNode("label",{for:"user-"+c+"-pega_userid"},"Pega userid",8,_hoisted_29$2),withDirectives(createBaseVNode("input",{id:"user-"+c+"-pega_userid",type:"text","onUpdate:modelValue":d=>a.pega_userid=d},null,8,_hoisted_30$1),[[vModelText,a.pega_userid]])])):createCommentVNode("",!0),e.settings.general.connection.type!=="launchpad"?(openBlock(),createElementBlock("div",_hoisted_31$1,[createBaseVNode("label",{for:"user-"+c+"-pega_pwd"},"Pega password",8,_hoisted_32$1),withDirectives(createBaseVNode("input",{id:"user-"+c+"-pega_pwd",type:"password","onUpdate:modelValue":d=>a.pega_pwd=d},null,8,_hoisted_33$1),[[vModelText,a.pega_pwd]])])):createCommentVNode("",!0),e.settings.general.connection.type!=="launchpad"?(openBlock(),createElementBlock("div",_hoisted_34$1,[createBaseVNode("label",{for:"user-"+c+"-otp_send_to"},"OTP send to (email or phone)",8,_hoisted_35$1),withDirectives(createBaseVNode("input",{id:"user-"+c+"-otp_send_to",type:"text","onUpdate:modelValue":d=>a.otp_send_to=d},null,8,_hoisted_36$1),[[vModelText,a.otp_send_to]])])):createCommentVNode("",!0),e.settings.general.connection.type!=="launchpad"?(openBlock(),createElementBlock("div",_hoisted_37$1,[createBaseVNode("label",{for:"user-"+c+"-accountid"},"Account ID (Mashup Chat)",8,_hoisted_38$1),withDirectives(createBaseVNode("input",{id:"user-"+c+"-accountid",type:"text","onUpdate:modelValue":d=>a.accountID=d},null,8,_hoisted_39$1),[[vModelText,a.accountID]])])):createCommentVNode("",!0),e.settings.general.connection.type!=="launchpad"?(openBlock(),createElementBlock("div",_hoisted_40$1,[createBaseVNode("label",{for:"user-"+c+"-contactid"},"Contact ID (Mashup Chat)",8,_hoisted_41$1),withDirectives(createBaseVNode("input",{id:"user-"+c+"-contactid",type:"text","onUpdate:modelValue":d=>a.contactID=d},null,8,_hoisted_42$1),[[vModelText,a.contactID]])])):createCommentVNode("",!0),e.settings.general.connection.type!=="launchpad"?(openBlock(),createElementBlock("div",_hoisted_43$1,[createBaseVNode("label",{for:"user-"+c+"-customerid"},"Customer ID (Customer Decision Hub)",8,_hoisted_44$1),withDirectives(createBaseVNode("input",{id:"user-"+c+"-customerid",type:"text","onUpdate:modelValue":d=>a.customerID=d},null,8,_hoisted_45$1),[[vModelText,a.customerID]])])):createCommentVNode("",!0),createBaseVNode("div",_hoisted_46$1,[createBaseVNode("label",{for:"user-"+c+"-focustabindex"},"Account picker - focused tab index (from 0 to 2) on load",8,_hoisted_47$1),withDirectives(createBaseVNode("input",{id:"user-"+c+"-focustabindex",type:"text","onUpdate:modelValue":d=>a.focustabindex=d},null,8,_hoisted_48$1),[[vModelText,a.focustabindex]])])]),createBaseVNode("div",_hoisted_49$1,[createBaseVNode("div",_hoisted_50$1,[createBaseVNode("label",{for:"user-"+c+"-extraparam"},"Extra parameters (for example 'key1=value1,key2=value2')",8,_hoisted_51$1),withDirectives(createBaseVNode("textarea",{id:"user-"+c+"-extraparam","onUpdate:modelValue":d=>a.extraparam=d},null,8,_hoisted_52$1),[[vModelText,a.extraparam]])]),createBaseVNode("div",_hoisted_53$1,[createBaseVNode("label",{for:"user-"+c+"-dmm_context_data"},"Additional context data for Digital Messaging Manager (format: first_name=john,last_name=smith)",8,_hoisted_54$1),withDirectives(createBaseVNode("textarea",{id:"user-"+c+"-dmm_context_data","onUpdate:modelValue":d=>a.dmm_context_data=d},null,8,_hoisted_55),[[vModelText,a.dmm_context_data]])])]),createBaseVNode("div",_hoisted_56,[createBaseVNode("div",_hoisted_57,[withDirectives(createBaseVNode("input",{type:"checkbox",id:"user-"+c+"-hide_from_dropdown","onUpdate:modelValue":d=>a.hide_from_dropdown=d},null,8,_hoisted_58),[[vModelCheckbox,a.hide_from_dropdown]]),createBaseVNode("label",{class:"width-auto",for:"user-"+c+"-hide_from_dropdown"},"Hide from login dropdown",8,_hoisted_59)])])]),_:2},1032,["title","expanded"])]))),128))])}const UsersSettings=_export_sfc(_sfc_main$6,[["render",_sfc_render$6]]),_sfc_main$5={data(){return mainconfig},components:{Container},methods:{addCustomEvent(){const e={CustomEventAction:"HighlightElement",CustomEventName:"",ElementName:"",SendAcknowledgement:!1,AcknowledgeOn:"After5Seconds"};this.settings.CustomEvents.push(e)},removeCustomEvent(e){console.log("removeCustomEvent",e),this.settings.CustomEvents.splice(e,1)}}},_hoisted_1$3={class:"container-transparent"},_hoisted_2$3={class:"layout-labels-top"},_hoisted_3$2={class:"field-item"},_hoisted_4$2={class:"field-item"},_hoisted_5$2={class:"field-item"},_hoisted_6$2={class:"field-item"},_hoisted_7$2={class:"flex event-header"},_hoisted_8$2={class:"event-title"},_hoisted_9$2=["onClick"],_hoisted_10$2={class:"field-item"},_hoisted_11$2=["onUpdate:modelValue"],_hoisted_12$2={class:"field-item"},_hoisted_13$2=["onUpdate:modelValue"],_hoisted_14$2={class:"field-item"},_hoisted_15$2=["onUpdate:modelValue"],_hoisted_16$2={class:"layout-labels-top layout-inline-grid-double"},_hoisted_17$2={class:"field-item field-checkbox"},_hoisted_18$2=["onUpdate:modelValue","id"],_hoisted_19$2=["for"],_hoisted_20$2=["for"],_hoisted_21$2={key:0,class:"field-item"},_hoisted_22$2=["onUpdate:modelValue"],_hoisted_23$2={key:0},_hoisted_24$1={class:"layout-labels-top layout-inline-grid-double"},_hoisted_25$1={class:"field-item"},_hoisted_26$1={class:"field-item"},_hoisted_27$1={class:"layout-labels-top layout-inline-grid-double"},_hoisted_28$1={class:"field-item"},_hoisted_29$1={class:"field-item"};function _sfc_render$5(e,t,n,o,s,r){const l=resolveComponent("Container");return openBlock(),createElementBlock("div",_hoisted_1$3,[t[25]||(t[25]=createBaseVNode("h2",null,"Messaging and Co-Browse",-1)),t[26]||(t[26]=createBaseVNode("p",null,[createTextVNode(" Configuration of the messaging and Co-Browse components. Enter an empty 'URL' to disable the functionality. For more details, click "),createBaseVNode("a",{href:"https://github.com/pegasystems/uplus-wss/wiki/How-to-configure-the-Pega-Chat-bot"},"here"),createTextVNode(". ")],-1)),createVNode(l,{title:"Messaging",expanded:""},{default:withCtx(()=>[createBaseVNode("div",_hoisted_2$3,[createBaseVNode("div",_hoisted_3$2,[t[9]||(t[9]=createBaseVNode("label",{for:"chat-DMMID"},"ID of the widget",-1)),withDirectives(createBaseVNode("input",{id:"chat-DMMID",type:"text","onUpdate:modelValue":t[0]||(t[0]=a=>e.settings.pega_chat.DMMID=a)},null,512),[[vModelText,e.settings.pega_chat.DMMID]])]),createBaseVNode("div",_hoisted_4$2,[t[10]||(t[10]=createBaseVNode("label",{for:"chat-DMMURL"},"URL of the Digital Messaging Server",-1)),withDirectives(createBaseVNode("input",{id:"chat-DMMURL",type:"text","onUpdate:modelValue":t[1]||(t[1]=a=>e.settings.pega_chat.DMMURL=a)},null,512),[[vModelText,e.settings.pega_chat.DMMURL]])]),createBaseVNode("div",_hoisted_5$2,[t[11]||(t[11]=createBaseVNode("label",{for:"chat-DMMSecret"},"Secret to generate JWT Token for authentication",-1)),withDirectives(createBaseVNode("input",{id:"chat-DMMSecret",type:"text","onUpdate:modelValue":t[2]||(t[2]=a=>e.settings.pega_chat.DMMSecret=a)},null,512),[[vModelText,e.settings.pega_chat.DMMSecret]])]),createBaseVNode("div",_hoisted_6$2,[t[12]||(t[12]=createBaseVNode("label",{for:"chat-DMMPrivateURL"},"Base URL of the Digital Messaging server to send private data & custom event acknowledgements",-1)),withDirectives(createBaseVNode("input",{id:"chat-DMMPrivateURL",type:"text","onUpdate:modelValue":t[3]||(t[3]=a=>e.settings.pega_chat.DMMPrivateURL=a)},null,512),[[vModelText,e.settings.pega_chat.DMMPrivateURL]])])])]),_:1}),createVNode(l,{title:"Custom Events"},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(e.settings.CustomEvents,(a,c)=>(openBlock(),createElementBlock("div",{key:c,class:"layout-labels-top"},[createBaseVNode("div",_hoisted_7$2,[createBaseVNode("h4",_hoisted_8$2,"Custom Event "+toDisplayString$1(c+1),1),createBaseVNode("i",{onClick:d=>r.removeCustomEvent(c),class:"pi pi-trash remove-event"},null,8,_hoisted_9$2)]),createBaseVNode("div",_hoisted_10$2,[t[13]||(t[13]=createBaseVNode("label",{for:"chat-CustomEventName"},"Event Name",-1)),withDirectives(createBaseVNode("input",{id:"chat-CustomEventName",type:"text","onUpdate:modelValue":d=>a.CustomEventName=d},null,8,_hoisted_11$2),[[vModelText,a.CustomEventName]])]),createBaseVNode("div",_hoisted_12$2,[t[15]||(t[15]=createBaseVNode("label",{for:"chat-CustomEventAction"},"Event action",-1)),withDirectives(createBaseVNode("select",{id:"chat-CustomEventAction","onUpdate:modelValue":d=>a.CustomEventAction=d},t[14]||(t[14]=[createBaseVNode("option",{value:"HighlightElement"},"Highlight Element",-1),createBaseVNode("option",{value:"ClickElement"},"Click Element",-1)]),8,_hoisted_13$2),[[vModelSelect,a.CustomEventAction]])]),createBaseVNode("div",_hoisted_14$2,[t[16]||(t[16]=createBaseVNode("label",{for:"chat-ElementName"},"Element To Select (Enter the elements text value e.g. 'Log in')",-1)),withDirectives(createBaseVNode("input",{id:"chat-ElementName",type:"text","onUpdate:modelValue":d=>a.ElementName=d},null,8,_hoisted_15$2),[[vModelText,a.ElementName]])]),createBaseVNode("div",_hoisted_16$2,[createBaseVNode("div",_hoisted_17$2,[withDirectives(createBaseVNode("input",{type:"checkbox","onUpdate:modelValue":d=>a.SendAcknowledgement=d,id:"chat-"+c+"-SendAcknowledgement"},null,8,_hoisted_18$2),[[vModelCheckbox,a.SendAcknowledgement]]),a.SendAcknowledgement?createCommentVNode("",!0):(openBlock(),createElementBlock("label",{key:0,class:"width-auto",for:"chat-"+c+"-SendAcknowledgement"},"Send Event Acknowledgement",8,_hoisted_19$2)),a.SendAcknowledgement?(openBlock(),createElementBlock("label",{key:1,class:"width-auto",for:"chat-"+c+"-SendAcknowledgement"},"Send Event Acknowledgement After:",8,_hoisted_20$2)):createCommentVNode("",!0)]),a.SendAcknowledgement?(openBlock(),createElementBlock("div",_hoisted_21$2,[withDirectives(createBaseVNode("select",{id:"chat-AcknowledgeOn","onUpdate:modelValue":d=>a.AcknowledgeOn=d},t[17]||(t[17]=[createBaseVNode("option",{value:"LoginSuccess"},"Login Success",-1),createBaseVNode("option",{value:"After5Seconds"},"5 seconds",-1),createBaseVNode("option",{value:"After30Seconds"},"30 seconds",-1)]),8,_hoisted_22$2),[[vModelSelect,a.AcknowledgeOn]])])):createCommentVNode("",!0)]),c!=e.settings.CustomEvents.length-1?(openBlock(),createElementBlock("hr",_hoisted_23$2)):createCommentVNode("",!0)]))),128)),createBaseVNode("a",{class:"add-event",onClick:t[4]||(t[4]=(...a)=>r.addCustomEvent&&r.addCustomEvent(...a))},t[18]||(t[18]=[createTextVNode("Add Event "),createBaseVNode("i",{class:"pi pi-plus"},null,-1)])),t[19]||(t[19]=createBaseVNode("br",null,null,-1)),t[20]||(t[20]=createBaseVNode("br",null,null,-1))]),_:1}),createVNode(l,{title:"Proactive chat on page load",expanded:""},{default:withCtx(()=>[createBaseVNode("div",_hoisted_24$1,[createBaseVNode("div",_hoisted_25$1,[t[21]||(t[21]=createBaseVNode("label",{for:"chat-DMMProactiveChatNewSessionTimeout"},"Time to wait (in ms) - use 0 to disable",-1)),withDirectives(createBaseVNode("input",{id:"chat-DMMProactiveChatNewSessionTimeout",type:"number","onUpdate:modelValue":t[5]||(t[5]=a=>e.settings.pega_chat.DMMProactiveChatNewSessionTimeout=a)},null,512),[[vModelText,e.settings.pega_chat.DMMProactiveChatNewSessionTimeout]])]),createBaseVNode("div",_hoisted_26$1,[t[22]||(t[22]=createBaseVNode("label",{for:"chat-DMMProactiveChatNewSessionCode"},"Trigger code",-1)),withDirectives(createBaseVNode("input",{id:"chat-DMMProactiveChatNewSessionCode",type:"text","onUpdate:modelValue":t[6]||(t[6]=a=>e.settings.pega_chat.DMMProactiveChatNewSessionCode=a)},null,512),[[vModelText,e.settings.pega_chat.DMMProactiveChatNewSessionCode]])])])]),_:1}),createVNode(l,{title:"Co-Browse",expanded:""},{default:withCtx(()=>[createBaseVNode("div",_hoisted_27$1,[createBaseVNode("div",_hoisted_28$1,[t[23]||(t[23]=createBaseVNode("label",{for:"chat-CoBrowseServerURL"},"URL",-1)),withDirectives(createBaseVNode("input",{id:"chat-CoBrowseServerURL",type:"text","onUpdate:modelValue":t[7]||(t[7]=a=>e.settings.pega_chat.CoBrowseServerURL=a)},null,512),[[vModelText,e.settings.pega_chat.CoBrowseServerURL]])]),createBaseVNode("div",_hoisted_29$1,[t[24]||(t[24]=createBaseVNode("label",{for:"chat-CoBrowseToken"},"Token",-1)),withDirectives(createBaseVNode("input",{id:"chat-CoBrowseToken",type:"text","onUpdate:modelValue":t[8]||(t[8]=a=>e.settings.pega_chat.CoBrowseToken=a)},null,512),[[vModelText,e.settings.pega_chat.CoBrowseToken]])])])]),_:1})])}const ChatSettings=_export_sfc(_sfc_main$5,[["render",_sfc_render$5]]),_sfc_main$4={data(){return mainconfig},components:{Container},methods:{resetExternalID(e){e.preventDefault(),this.ExternalID="uplus-"+Date.now(),sessionStorage.setItem("ExternalID",this.ExternalID),navigator.clipboard.writeText(this.ExternalID).then(()=>{alert("ExternalID was successfully copied in the clipboard")}).catch(()=>{alert("Something went wrong, could not copy ExternalID in the clipboard")})}}},_hoisted_1$2={class:"container-transparent"},_hoisted_2$2={class:"layout-labels-top layout-inline-grid-double"},_hoisted_3$1={class:"field-item"},_hoisted_4$1={class:"field-item"},_hoisted_5$1={class:"field-item"},_hoisted_6$1={class:"field-item"},_hoisted_7$1={class:"field-item"},_hoisted_8$1={key:0,class:"field-item"},_hoisted_9$1={key:1,class:"field-item"},_hoisted_10$1={class:"layout-labels-left"},_hoisted_11$1={key:0,class:"field-item field-checkbox"},_hoisted_12$1={class:"field-item field-checkbox"},_hoisted_13$1={class:"field-item field-checkbox"},_hoisted_14$1={class:"field-item field-checkbox"},_hoisted_15$1={class:"layout-labels-left layout-inline-grid-double"},_hoisted_16$1={class:"field-item field-checkbox"},_hoisted_17$1={key:0,class:"field-item"},_hoisted_18$1={class:"field-item field-checkbox"},_hoisted_19$1={class:"field-item field-checkbox"},_hoisted_20$1={class:"layout-labels-top layout-inline-grid-double"},_hoisted_21$1={class:"field-item"},_hoisted_22$1={class:"field-item"},_hoisted_23$1={class:"field-item"},_hoisted_24={class:"field-item"},_hoisted_25={class:"layout-labels-top layout-inline-grid-double"},_hoisted_26={class:"field-item"},_hoisted_27={class:"field-item"},_hoisted_28={class:"field-item"},_hoisted_29={class:"field-item"},_hoisted_30={class:"layout-labels-left"},_hoisted_31={class:"field-item"},_hoisted_32={class:"layout-labels-top layout-inline-grid-double"},_hoisted_33={class:"field-item"},_hoisted_34={class:"field-item"},_hoisted_35={class:"field-item"},_hoisted_36={class:"field-item"},_hoisted_37={class:"layout-labels-top layout-inline-grid-double"},_hoisted_38={class:"field-item"},_hoisted_39={class:"field-item"},_hoisted_40={class:"field-item"},_hoisted_41={class:"field-item"},_hoisted_42={class:"layout-labels-top layout-inline-grid-double"},_hoisted_43={class:"field-item"},_hoisted_44=["for"],_hoisted_45=["id","onUpdate:modelValue"],_hoisted_46={class:"field-item"},_hoisted_47=["for"],_hoisted_48=["id","onUpdate:modelValue"],_hoisted_49={class:"field-item"},_hoisted_50=["for"],_hoisted_51=["id","onUpdate:modelValue"],_hoisted_52={class:"field-item"},_hoisted_53=["for"],_hoisted_54=["id","onUpdate:modelValue"];function _sfc_render$4(e,t,n,o,s,r){const l=resolveComponent("Container");return openBlock(),createElementBlock("div",_hoisted_1$2,[t[69]||(t[69]=createBaseVNode("h2",null,"Customer Decision Hub",-1)),t[70]||(t[70]=createBaseVNode("p",null,[createTextVNode(" Configuration to use Customer Decision Hub to generate offers. Enter an empty 'Host' to disable this functionality. For more details, click "),createBaseVNode("a",{href:"https://github.com/pegasystems/uplus-wss/wiki/Integration-with-the-Customer-Decision-Hub"},"here"),createTextVNode(". ")],-1)),createVNode(l,{title:"General",expanded:""},{default:withCtx(()=>[createBaseVNode("div",_hoisted_2$2,[createBaseVNode("div",_hoisted_3$1,[t[32]||(t[32]=createBaseVNode("label",{for:"NBAM-Host"},"Host",-1)),withDirectives(createBaseVNode("input",{id:"NBAM-Host",type:"text","onUpdate:modelValue":t[0]||(t[0]=a=>e.settings.pega_marketing.Host=a)},null,512),[[vModelText,e.settings.pega_marketing.Host]])]),createBaseVNode("div",_hoisted_4$1,[t[33]||(t[33]=createBaseVNode("label",{for:"NBAM-Port"},"Port",-1)),withDirectives(createBaseVNode("input",{id:"NBAM-Port",type:"text","onUpdate:modelValue":t[1]||(t[1]=a=>e.settings.pega_marketing.Port=a)},null,512),[[vModelText,e.settings.pega_marketing.Port]])]),createBaseVNode("div",_hoisted_5$1,[t[34]||(t[34]=createBaseVNode("label",{for:"NBAM-Channel"},"Channel",-1)),withDirectives(createBaseVNode("input",{id:"NBAM-Channel",type:"text","onUpdate:modelValue":t[2]||(t[2]=a=>e.settings.pega_marketing.channel=a)},null,512),[[vModelText,e.settings.pega_marketing.channel]])]),createBaseVNode("div",_hoisted_6$1,[t[35]||(t[35]=createBaseVNode("label",{for:"NBAM-requestTimeout"},"Timeout for XHR request (in ms)",-1)),withDirectives(createBaseVNode("input",{id:"NBAM-requestTimeout",type:"integer","onUpdate:modelValue":t[3]||(t[3]=a=>e.settings.pega_marketing.requestTimeout=a)},null,512),[[vModelText,e.settings.pega_marketing.requestTimeout]])]),createBaseVNode("div",_hoisted_7$1,[t[37]||(t[37]=createBaseVNode("label",{for:"NBAM-APILevel"},"API level",-1)),withDirectives(createBaseVNode("select",{id:"NBAM-APILevel","onUpdate:modelValue":t[4]||(t[4]=a=>e.settings.pega_marketing.apiLevel=a)},t[36]||(t[36]=[createBaseVNode("option",null,"V2",-1),createBaseVNode("option",null,"V3",-1),createBaseVNode("option",null,"V4",-1)]),512),[[vModelSelect,e.settings.pega_marketing.apiLevel]])]),e.settings.pega_marketing.apiLevel!=="V2"?(openBlock(),createElementBlock("div",_hoisted_8$1,[t[38]||(t[38]=createBaseVNode("label",{for:"NBAM-contextName"},"Context name",-1)),withDirectives(createBaseVNode("input",{id:"NBAM-contextName","onUpdate:modelValue":t[5]||(t[5]=a=>e.settings.pega_marketing.contextName=a)},null,512),[[vModelText,e.settings.pega_marketing.contextName]])])):createCommentVNode("",!0),e.settings.pega_marketing.apiLevel!=="V2"?(openBlock(),createElementBlock("div",_hoisted_9$1,[t[39]||(t[39]=createBaseVNode("label",{for:"NBAM-appID"},"App ID (CDH configured for MultiApp)",-1)),withDirectives(createBaseVNode("input",{id:"NBAM-appID","onUpdate:modelValue":t[6]||(t[6]=a=>e.settings.pega_marketing.appID=a)},null,512),[[vModelText,e.settings.pega_marketing.appID]])])):createCommentVNode("",!0)]),createBaseVNode("div",_hoisted_10$1,[e.settings.pega_marketing.apiLevel!=="V2"?(openBlock(),createElementBlock("div",_hoisted_11$1,[withDirectives(createBaseVNode("input",{id:"NBAM-useCaptureByChannel",type:"checkbox","onUpdate:modelValue":t[7]||(t[7]=a=>e.settings.pega_marketing.useCaptureByChannel=a)},null,512),[[vModelCheckbox,e.settings.pega_marketing.useCaptureByChannel]]),t[40]||(t[40]=createBaseVNode("label",{class:"width-auto",for:"NBAM-useCaptureByChannel"},"Enable capturing responses to actions",-1))])):createCommentVNode("",!0),createBaseVNode("div",_hoisted_12$1,[withDirectives(createBaseVNode("input",{id:"NBAM-showAIOverlay",type:"checkbox","onUpdate:modelValue":t[8]||(t[8]=a=>e.settings.pega_marketing.showAIOverlay=a)},null,512),[[vModelCheckbox,e.settings.pega_marketing.showAIOverlay]]),t[41]||(t[41]=createBaseVNode("label",{class:"width-auto",for:"NBAM-showAIOverlay"},"Show AI overlay",-1))]),createBaseVNode("div",_hoisted_13$1,[withDirectives(createBaseVNode("input",{id:"NBAM-enableRTS",type:"checkbox","onUpdate:modelValue":t[9]||(t[9]=a=>e.settings.pega_marketing.enableRTS=a)},null,512),[[vModelCheckbox,e.settings.pega_marketing.enableRTS]]),t[42]||(t[42]=createBaseVNode("label",{class:"width-auto",for:"NBAM-enableRTS"},"Enable Real-time data streaming",-1))]),createBaseVNode("div",_hoisted_14$1,[withDirectives(createBaseVNode("input",{id:"NBAM-enableClickStream",type:"checkbox","onUpdate:modelValue":t[10]||(t[10]=a=>e.settings.pega_marketing.enableClickStream=a)},null,512),[[vModelCheckbox,e.settings.pega_marketing.enableClickStream]]),t[43]||(t[43]=createBaseVNode("label",{class:"width-auto",for:"NBAM-enableClickStream"},"Enable Click Stream",-1))]),createBaseVNode("div",_hoisted_15$1,[createBaseVNode("div",_hoisted_16$1,[withDirectives(createBaseVNode("input",{id:"NBAM-enableMergeAccount",type:"checkbox","onUpdate:modelValue":t[11]||(t[11]=a=>e.settings.pega_marketing.enableMergeAccount=a)},null,512),[[vModelCheckbox,e.settings.pega_marketing.enableMergeAccount]]),t[44]||(t[44]=createBaseVNode("label",{class:"width-auto",for:"NBAM-enableMergeAccount"},"Enable Merge Account (Pega '23')",-1))]),e.settings.pega_marketing.enableMergeAccount?(openBlock(),createElementBlock("div",_hoisted_17$1,[createBaseVNode("button",{class:"margin-r-2x",onClick:t[12]||(t[12]=(...a)=>r.resetExternalID&&r.resetExternalID(...a))}," Reset ExternalID "),createBaseVNode("span",null,toDisplayString$1(this.ExternalID),1)])):createCommentVNode("",!0)]),createBaseVNode("div",_hoisted_18$1,[withDirectives(createBaseVNode("input",{id:"NBAM-replaceHomePageHeader",type:"checkbox","onUpdate:modelValue":t[13]||(t[13]=a=>e.settings.pega_marketing.replaceHomePageHeader=a)},null,512),[[vModelCheckbox,e.settings.pega_marketing.replaceHomePageHeader]]),t[45]||(t[45]=createBaseVNode("label",{class:"width-auto",for:"NBAM-replaceHomePageHeader"},"Replace Home Page header with Hero placement",-1))]),createBaseVNode("div",_hoisted_19$1,[withDirectives(createBaseVNode("input",{id:"NBAM-showLoadingIndicator",type:"checkbox","onUpdate:modelValue":t[14]||(t[14]=a=>e.settings.pega_marketing.showLoadingIndicator=a)},null,512),[[vModelCheckbox,e.settings.pega_marketing.showLoadingIndicator]]),t[46]||(t[46]=createBaseVNode("label",{class:"width-auto",for:"NBAM-showLoadingIndicator"},"Display progress indicator while loading the offers",-1))])])]),_:1}),createVNode(l,{title:"Home Page",expanded:""},{default:withCtx(()=>[createBaseVNode("div",_hoisted_20$1,[createBaseVNode("div",_hoisted_21$1,[t[47]||(t[47]=createBaseVNode("label",{for:"NBAM-HomePage-ContainerName"},"Container name",-1)),withDirectives(createBaseVNode("input",{id:"NBAM-HomePage-ContainerName",type:"text","onUpdate:modelValue":t[15]||(t[15]=a=>e.settings.pega_marketing.homePage.containerName=a)},null,512),[[vModelText,e.settings.pega_marketing.homePage.containerName]])]),createBaseVNode("div",_hoisted_22$1,[t[48]||(t[48]=createBaseVNode("label",{for:"NBAM-HomePage-Placement"},"Placement (Hero or Tile)",-1)),withDirectives(createBaseVNode("input",{id:"NBAM-HomePage-Placement",type:"text","onUpdate:modelValue":t[16]||(t[16]=a=>e.settings.pega_marketing.homePage.placement=a)},null,512),[[vModelText,e.settings.pega_marketing.homePage.placement]])]),createBaseVNode("div",_hoisted_23$1,[t[50]||(t[50]=createBaseVNode("label",{for:"NBAM-HomePage-ClickAction"},"Click action",-1)),withDirectives(createBaseVNode("select",{id:"NBAM-HomePage-ClickAction","onUpdate:modelValue":t[17]||(t[17]=a=>e.settings.pega_marketing.homePage.clickaction=a)},t[49]||(t[49]=[createBaseVNode("option",{value:"Mashup"},"Mashup",-1),createBaseVNode("option",{value:"BuiltIn"},"Built-in",-1),createBaseVNode("option",{value:"Popup"},"Popup",-1),createBaseVNode("option",{value:"TopURL"},"TopURL",-1)]),512),[[vModelSelect,e.settings.pega_marketing.homePage.clickaction]])]),createBaseVNode("div",_hoisted_24,[t[51]||(t[51]=createBaseVNode("label",{for:"NBAM-HomePage-Attributes"},"Custom attributes for Detailed view",-1)),withDirectives(createBaseVNode("input",{id:"NBAM-HomePage-Attributes",type:"text","onUpdate:modelValue":t[18]||(t[18]=a=>e.settings.pega_marketing.homePage.attributes=a)},null,512),[[vModelText,e.settings.pega_marketing.homePage.attributes]])])])]),_:1}),createVNode(l,{title:"Account Page"},{default:withCtx(()=>[createBaseVNode("div",_hoisted_25,[createBaseVNode("div",_hoisted_26,[t[52]||(t[52]=createBaseVNode("label",{for:"NBAM-AccountPage-ContainerName"},"Container name",-1)),withDirectives(createBaseVNode("input",{id:"NBAM-AccountPage-ContainerName",type:"text","onUpdate:modelValue":t[19]||(t[19]=a=>e.settings.pega_marketing.accountPage.containerName=a)},null,512),[[vModelText,e.settings.pega_marketing.accountPage.containerName]])]),createBaseVNode("div",_hoisted_27,[t[53]||(t[53]=createBaseVNode("label",{for:"NBAM-AccountPage-Placement"},"Placement (Hero or Tile)",-1)),withDirectives(createBaseVNode("input",{id:"NBAM-AccountPage-Placement",type:"text","onUpdate:modelValue":t[20]||(t[20]=a=>e.settings.pega_marketing.accountPage.placement=a)},null,512),[[vModelText,e.settings.pega_marketing.accountPage.placement]])]),createBaseVNode("div",_hoisted_28,[t[55]||(t[55]=createBaseVNode("label",{for:"NBAM-AccountPage-ClickAction"},"Click action",-1)),withDirectives(createBaseVNode("select",{id:"NBAM-AccountPage-ClickAction","onUpdate:modelValue":t[21]||(t[21]=a=>e.settings.pega_marketing.accountPage.clickaction=a)},t[54]||(t[54]=[createBaseVNode("option",{value:"Mashup"},"Mashup",-1),createBaseVNode("option",{value:"BuiltIn"},"Built-in",-1),createBaseVNode("option",{value:"Popup"},"Popup",-1),createBaseVNode("option",{value:"TopURL"},"TopURL",-1)]),512),[[vModelSelect,e.settings.pega_marketing.accountPage.clickaction]])]),createBaseVNode("div",_hoisted_29,[t[56]||(t[56]=createBaseVNode("label",{for:"NBAM-AccountPage-Attributes"},"Custom attributes for Detailed view",-1)),withDirectives(createBaseVNode("input",{id:"NBAM-AccountPage-Attributes",type:"text","onUpdate:modelValue":t[22]||(t[22]=a=>e.settings.pega_marketing.accountPage.attributes=a)},null,512),[[vModelText,e.settings.pega_marketing.accountPage.attributes]])])]),createBaseVNode("div",_hoisted_30,[createBaseVNode("div",_hoisted_31,[withDirectives(createBaseVNode("input",{id:"NBAM-AccountPage-showSingleoffer",type:"checkbox","onUpdate:modelValue":t[23]||(t[23]=a=>e.settings.pega_marketing.accountPage.showSingleOffer=a)},null,512),[[vModelCheckbox,e.settings.pega_marketing.accountPage.showSingleOffer]]),t[57]||(t[57]=createBaseVNode("label",{class:"width-auto",for:"NBAM-AccountPage-showSingleoffer"},"Show single offer",-1))])])]),_:1}),createVNode(l,{title:"Home Page for mobile"},{default:withCtx(()=>[createBaseVNode("div",_hoisted_32,[createBaseVNode("div",_hoisted_33,[t[58]||(t[58]=createBaseVNode("label",{for:"NBAM-PhonePage-ContainerName"},"Container name",-1)),withDirectives(createBaseVNode("input",{id:"NBAM-PhonePage-ContainerName",type:"text","onUpdate:modelValue":t[24]||(t[24]=a=>e.settings.pega_marketing.phonePage.containerName=a)},null,512),[[vModelText,e.settings.pega_marketing.phonePage.containerName]])]),createBaseVNode("div",_hoisted_34,[t[59]||(t[59]=createBaseVNode("label",{for:"NBAM-PhonePage-Placement"},"Placement (Hero or Tile)",-1)),withDirectives(createBaseVNode("input",{id:"NBAM-PhonePage-Placement",type:"text","onUpdate:modelValue":t[25]||(t[25]=a=>e.settings.pega_marketing.phonePage.placement=a)},null,512),[[vModelText,e.settings.pega_marketing.phonePage.placement]])]),createBaseVNode("div",_hoisted_35,[t[61]||(t[61]=createBaseVNode("label",{for:"NBAM-PhonePage-ClickAction"},"Click action",-1)),withDirectives(createBaseVNode("select",{id:"NBAM-PhonePage-ClickAction","onUpdate:modelValue":t[26]||(t[26]=a=>e.settings.pega_marketing.phonePage.clickaction=a)},t[60]||(t[60]=[createBaseVNode("option",{value:"Mashup"},"Mashup",-1),createBaseVNode("option",{value:"BuiltIn"},"Built-in",-1),createBaseVNode("option",{value:"Popup"},"Popup",-1),createBaseVNode("option",{value:"TopURL"},"TopURL",-1)]),512),[[vModelSelect,e.settings.pega_marketing.phonePage.clickaction]])]),createBaseVNode("div",_hoisted_36,[t[62]||(t[62]=createBaseVNode("label",{for:"NBAM-PhonePage-Attributes"},"Custom attributes for Detailed view",-1)),withDirectives(createBaseVNode("input",{id:"NBAM-PhonePage-Attributes",type:"text","onUpdate:modelValue":t[27]||(t[27]=a=>e.settings.pega_marketing.phonePage.attributes=a)},null,512),[[vModelText,e.settings.pega_marketing.phonePage.attributes]])])])]),_:1}),createVNode(l,{title:"Offer Page"},{default:withCtx(()=>[createBaseVNode("div",_hoisted_37,[createBaseVNode("div",_hoisted_38,[t[63]||(t[63]=createBaseVNode("label",{for:"NBAM-OfferPage-ContainerName"},"Container name",-1)),withDirectives(createBaseVNode("input",{id:"NBAM-OfferPage-ContainerName",type:"text","onUpdate:modelValue":t[28]||(t[28]=a=>e.settings.pega_marketing.offerPage.containerName=a)},null,512),[[vModelText,e.settings.pega_marketing.offerPage.containerName]])]),createBaseVNode("div",_hoisted_39,[t[64]||(t[64]=createBaseVNode("label",{for:"NBAM-OfferPage-Placement"},"Placement (Hero or Tile)",-1)),withDirectives(createBaseVNode("input",{id:"NBAM-OfferPage-Placement",type:"text","onUpdate:modelValue":t[29]||(t[29]=a=>e.settings.pega_marketing.offerPage.placement=a)},null,512),[[vModelText,e.settings.pega_marketing.offerPage.placement]])]),createBaseVNode("div",_hoisted_40,[t[66]||(t[66]=createBaseVNode("label",{for:"NBAM-OfferPage-ClickAction"},"Click action",-1)),withDirectives(createBaseVNode("select",{id:"NBAM-OfferPage-ClickAction","onUpdate:modelValue":t[30]||(t[30]=a=>e.settings.pega_marketing.offerPage.clickaction=a)},t[65]||(t[65]=[createBaseVNode("option",{value:"Mashup"},"Mashup",-1),createBaseVNode("option",{value:"BuiltIn"},"Built-in",-1),createBaseVNode("option",{value:"Popup"},"Popup",-1),createBaseVNode("option",{value:"TopURL"},"TopURL",-1)]),512),[[vModelSelect,e.settings.pega_marketing.offerPage.clickaction]])]),createBaseVNode("div",_hoisted_41,[t[67]||(t[67]=createBaseVNode("label",{for:"NBAM-OfferPage-Attributes"},"Custom attributes for Detailed view",-1)),withDirectives(createBaseVNode("input",{id:"NBAM-OfferPage-Attributes",type:"text","onUpdate:modelValue":t[31]||(t[31]=a=>e.settings.pega_marketing.offerPage.attributes=a)},null,512),[[vModelText,e.settings.pega_marketing.offerPage.attributes]])])])]),_:1}),(openBlock(!0),createElementBlock(Fragment,null,renderList(e.settings.pega_marketing.extraOfferPages,(a,c)=>(openBlock(),createBlock(l,{title:"Offer "+(c+1),key:c},{default:withCtx(()=>[createBaseVNode("div",_hoisted_42,[createBaseVNode("div",_hoisted_43,[createBaseVNode("label",{for:"NBAM-OfferPage-"+c+"-ContainerName"},"Container name",8,_hoisted_44),withDirectives(createBaseVNode("input",{id:"NBAM-OfferPage-"+c+"-ContainerName",type:"text","onUpdate:modelValue":d=>a.containerName=d},null,8,_hoisted_45),[[vModelText,a.containerName]])]),createBaseVNode("div",_hoisted_46,[createBaseVNode("label",{for:"NBAM-OfferPage-"+c+"-Placement"},"Placement (Hero or Tile)",8,_hoisted_47),withDirectives(createBaseVNode("input",{id:"NBAM-OfferPage-"+c+"-Placement",type:"text","onUpdate:modelValue":d=>a.placement=d},null,8,_hoisted_48),[[vModelText,a.placement]])]),createBaseVNode("div",_hoisted_49,[createBaseVNode("label",{for:"NBAM-OfferPage-"+c+"-ClickAction"},"Click action",8,_hoisted_50),withDirectives(createBaseVNode("select",{id:"NBAM-OfferPage-"+c+"-ClickAction","onUpdate:modelValue":d=>a.clickaction=d},t[68]||(t[68]=[createBaseVNode("option",{value:"Mashup"},"Mashup",-1),createBaseVNode("option",{value:"BuiltIn"},"Built-in",-1),createBaseVNode("option",{value:"Popup"},"Popup",-1),createBaseVNode("option",{value:"TopURL"},"TopURL",-1)]),8,_hoisted_51),[[vModelSelect,a.clickaction]])]),createBaseVNode("div",_hoisted_52,[createBaseVNode("label",{for:"NBAM-OfferPage-"+c+"-Attributes"},"Custom attributes for Detailed view",8,_hoisted_53),withDirectives(createBaseVNode("input",{id:"NBAM-OfferPage-"+c+"-Attributes",type:"text","onUpdate:modelValue":d=>a.attributes=d},null,8,_hoisted_54),[[vModelText,a.attributes]])])])]),_:2},1032,["title"]))),128))])}const NBAMSettings=_export_sfc(_sfc_main$4,[["render",_sfc_render$4]]),_sfc_main$3={data(){return mainconfig},methods:{onActionChange(){this.settings.general.connection.type.indexOf("dx")===-1||this.settings.offeraction.action!=="display"?this.settings.offeraction.actionparam="":this.settings.offeraction.actionparam="workList"}}},_hoisted_1$1={class:"container-transparent"},_hoisted_2$1={class:"container"},_hoisted_3={class:"body"},_hoisted_4={class:"layout-labels-top layout-inline-grid-double"},_hoisted_5={class:"field-item"},_hoisted_6={key:0},_hoisted_7={key:1},_hoisted_8={key:0,class:"field-item"},_hoisted_9={key:1,class:"field-item"},_hoisted_10={key:2,class:"field-item"},_hoisted_11={key:3,class:"field-item"},_hoisted_12={class:"field-item"},_hoisted_13={key:4,class:"field-item"},_hoisted_14={key:5,class:"field-item"},_hoisted_15={key:6,class:"field-item"},_hoisted_16={key:7,class:"field-item"},_hoisted_17={key:8,class:"field-item"},_hoisted_18={key:9,class:"field-item"},_hoisted_19={key:0,value:"simplifiedAssignment"},_hoisted_20={key:10,class:"field-item field-checkbox"},_hoisted_21={key:11,class:"field-item field-checkbox"},_hoisted_22={class:"layout-labels-top"},_hoisted_23={class:"field-item"};function _sfc_render$3(e,t,n,o,s,r){return openBlock(),createElementBlock("div",_hoisted_1$1,[t[40]||(t[40]=createBaseVNode("h2",null,"Offer Action",-1)),t[41]||(t[41]=createBaseVNode("p",null,' Configuration of the mashup displayed when clicking on the "Apply now" button inside the main offer of the offer page (offer.html) ',-1)),createBaseVNode("div",_hoisted_2$1,[createBaseVNode("div",_hoisted_3,[createBaseVNode("div",_hoisted_4,[createBaseVNode("div",_hoisted_5,[t[21]||(t[21]=createBaseVNode("label",{for:"offeraction-action"},"Action",-1)),withDirectives(createBaseVNode("select",{id:"offeraction-action","onUpdate:modelValue":t[0]||(t[0]=l=>e.settings.offeraction.action=l),onChange:t[1]||(t[1]=(...l)=>r.onActionChange&&r.onActionChange(...l))},[t[17]||(t[17]=createBaseVNode("option",null,"createNewWork",-1)),t[18]||(t[18]=createBaseVNode("option",null,"display",-1)),e.settings.general.connection.type.indexOf("dx")===-1?(openBlock(),createElementBlock("option",_hoisted_6," getNextWork ")):createCommentVNode("",!0),t[19]||(t[19]=createBaseVNode("option",null,"openAssignment",-1)),e.settings.general.connection.type==="mashup"?(openBlock(),createElementBlock("option",_hoisted_7," openWorkItem ")):createCommentVNode("",!0),t[20]||(t[20]=createBaseVNode("option",null,"openWorkByHandle",-1))],544),[[vModelSelect,e.settings.offeraction.action]])]),e.settings.offeraction.action!=="createNewWork"&&e.settings.offeraction.action!=="getNextWork"?(openBlock(),createElementBlock("div",_hoisted_8,[t[23]||(t[23]=createBaseVNode("label",{for:"offeraction-actionparam"},"Action parameter",-1)),e.settings.general.connection.type.indexOf("dx")===-1||e.settings.offeraction.action!=="display"?withDirectives((openBlock(),createElementBlock("input",{key:0,id:"offeraction-actionparam",type:"text","onUpdate:modelValue":t[2]||(t[2]=l=>e.settings.offeraction.actionparam=l)},null,512)),[[vModelText,e.settings.offeraction.actionparam]]):withDirectives((openBlock(),createElementBlock("select",{key:1,id:"offeraction-action","onUpdate:modelValue":t[3]||(t[3]=l=>e.settings.offeraction.actionparam=l)},t[22]||(t[22]=[createBaseVNode("option",{value:"workList",selected:""},"Show the worklist",-1),createBaseVNode("option",{value:"taskList"},"Show a tasklist",-1),createBaseVNode("option",{value:"dataView"},"Display a data view",-1)]),512)),[[vModelSelect,e.settings.offeraction.actionparam]])])):createCommentVNode("",!0),e.settings.offeraction.action==="createNewWork"||e.settings.general.connection.type.indexOf("dx")===-1&&e.settings.offeraction.action==="display"?(openBlock(),createElementBlock("div",_hoisted_9,[t[24]||(t[24]=createBaseVNode("label",{for:"offeraction-objclass"},"Classname",-1)),withDirectives(createBaseVNode("input",{id:"offeraction-objclass",type:"text","onUpdate:modelValue":t[4]||(t[4]=l=>e.settings.offeraction.objclass=l)},null,512),[[vModelText,e.settings.offeraction.objclass]])])):createCommentVNode("",!0),e.settings.general.connection.type.indexOf("dx")===0&&e.settings.offeraction.action==="display"?(openBlock(),createElementBlock("div",_hoisted_10,[t[25]||(t[25]=createBaseVNode("label",{for:"offeraction-heading"},"Heading",-1)),withDirectives(createBaseVNode("input",{id:"offeraction-heading",type:"text","onUpdate:modelValue":t[5]||(t[5]=l=>e.settings.offeraction.heading=l)},null,512),[[vModelText,e.settings.offeraction.heading]])])):createCommentVNode("",!0),e.settings.general.connection.type==="mashup"&&e.settings.offeraction.action==="createNewWork"?(openBlock(),createElementBlock("div",_hoisted_11,[t[26]||(t[26]=createBaseVNode("label",{for:"offeraction-startcase"},"Start case",-1)),withDirectives(createBaseVNode("input",{id:"offeraction-startcase",type:"text","onUpdate:modelValue":t[6]||(t[6]=l=>e.settings.offeraction.startcase=l)},null,512),[[vModelText,e.settings.offeraction.startcase]])])):createCommentVNode("",!0),createBaseVNode("div",_hoisted_12,[t[27]||(t[27]=createBaseVNode("label",{for:"offeraction-url"},"URL",-1)),withDirectives(createBaseVNode("input",{id:"offeraction-url",type:"text","onUpdate:modelValue":t[7]||(t[7]=l=>e.settings.offeraction.url=l)},null,512),[[vModelText,e.settings.offeraction.url]])]),e.settings.general.connection.type!=="launchpad"?(openBlock(),createElementBlock("div",_hoisted_13,[t[28]||(t[28]=createBaseVNode("label",{for:"offeraction-application"},"Application name / alias",-1)),withDirectives(createBaseVNode("input",{id:"offeraction-application",type:"text","onUpdate:modelValue":t[8]||(t[8]=l=>e.settings.offeraction.application=l)},null,512),[[vModelText,e.settings.offeraction.application]])])):createCommentVNode("",!0),e.settings.general.connection.type!=="launchpad"?(openBlock(),createElementBlock("div",_hoisted_14,[t[29]||(t[29]=createBaseVNode("label",{for:"offeraction-username"},"Username (for unauthenticated access)",-1)),withDirectives(createBaseVNode("input",{id:"offeraction-username",type:"text","onUpdate:modelValue":t[9]||(t[9]=l=>e.settings.offeraction.username=l)},null,512),[[vModelText,e.settings.offeraction.username]])])):createCommentVNode("",!0),e.settings.general.connection.type!=="launchpad"?(openBlock(),createElementBlock("div",_hoisted_15,[t[30]||(t[30]=createBaseVNode("label",{for:"offeraction-password"},"Password (for unauthenticated access)",-1)),withDirectives(createBaseVNode("input",{id:"offeraction-password",type:"password","onUpdate:modelValue":t[10]||(t[10]=l=>e.settings.offeraction.password=l)},null,512),[[vModelText,e.settings.offeraction.password]])])):createCommentVNode("",!0),e.settings.general.connection.type==="mashup"?(openBlock(),createElementBlock("div",_hoisted_16,[t[31]||(t[31]=createBaseVNode("label",{for:"offeraction-channelid"},"Channel ID",-1)),withDirectives(createBaseVNode("input",{id:"offeraction-channelid",type:"text","onUpdate:modelValue":t[11]||(t[11]=l=>e.settings.offeraction.channelid=l)},null,512),[[vModelText,e.settings.offeraction.channelid]])])):createCommentVNode("",!0),e.settings.general.connection.type==="mashup"?(openBlock(),createElementBlock("div",_hoisted_17,[t[32]||(t[32]=createBaseVNode("label",{for:"offeraction-tenantid"},"Tenant ID",-1)),withDirectives(createBaseVNode("input",{id:"offeraction-tenantid",type:"text","onUpdate:modelValue":t[12]||(t[12]=l=>e.settings.offeraction.tenantid=l)},null,512),[[vModelText,e.settings.offeraction.tenantid]])])):createCommentVNode("",!0),e.settings.general.connection.type.startsWith("embedui")?(openBlock(),createElementBlock("div",_hoisted_18,[t[36]||(t[36]=createBaseVNode("label",{for:"offeraction-pagetemplate"},"Page Template",-1)),withDirectives(createBaseVNode("select",{id:"offeraction-pagetemplate","onUpdate:modelValue":t[13]||(t[13]=l=>e.settings.offeraction.pageTemplate=l)},[t[33]||(t[33]=createBaseVNode("option",{value:"full"},"Full case page",-1)),t[34]||(t[34]=createBaseVNode("option",{value:"assignment",selected:""},"Assignment only",-1)),t[35]||(t[35]=createBaseVNode("option",{value:"assignmentWithStages"}," Assignment with stages ",-1)),e.settings.general.connection.type==="embedui2"||e.settings.general.connection.type==="embedui3"?(openBlock(),createElementBlock("option",_hoisted_19," Simplified assignment ")):createCommentVNode("",!0)],512),[[vModelSelect,e.settings.offeraction.pageTemplate]])])):createCommentVNode("",!0),e.settings.general.connection.type==="mashup"?(openBlock(),createElementBlock("div",_hoisted_20,[withDirectives(createBaseVNode("input",{id:"offeraction-dataretained",type:"checkbox","onUpdate:modelValue":t[14]||(t[14]=l=>e.settings.offeraction.dataretained=l)},null,512),[[vModelCheckbox,e.settings.offeraction.dataretained]]),t[37]||(t[37]=createBaseVNode("label",{class:"width-auto",for:"offeraction-dataretained"},"Retain state on reload",-1))])):createCommentVNode("",!0),e.settings.general.connection.type.startsWith("embedui")?(openBlock(),createElementBlock("div",_hoisted_21,[withDirectives(createBaseVNode("input",{id:"offeraction-hideassignmentheader",type:"checkbox","onUpdate:modelValue":t[15]||(t[15]=l=>e.settings.offeraction.hideassignmentheader=l)},null,512),[[vModelCheckbox,e.settings.offeraction.hideassignmentheader]]),t[38]||(t[38]=createBaseVNode("label",{class:"width-auto",for:"offeraction-hideassignmentheader"},"Hide assignment header",-1))])):createCommentVNode("",!0)]),createBaseVNode("div",_hoisted_22,[createBaseVNode("div",_hoisted_23,[t[39]||(t[39]=createBaseVNode("label",{for:"offeraction-extraparam"},"Extra parameters (for example 'key1=value1,key2=value2')",-1)),withDirectives(createBaseVNode("textarea",{id:"offeraction-extraparam","onUpdate:modelValue":t[16]||(t[16]=l=>e.settings.offeraction.extraparam=l)},null,512),[[vModelText,e.settings.offeraction.extraparam]])])])])])])}const OfferActionSettings=_export_sfc(_sfc_main$3,[["render",_sfc_render$3]]),_sfc_main$2={data(){return{...mainconfig}},setup(){return{active:ref(0)}},methods:{processForm(e){window.loadPage=new Date,mainconfig.isAuthenticated=!1,mainconfig.userId=-1,mainconfig.quickLinkId=-1,mainconfig.viewBill=-1,mainconfig.homeHeroAction=-1,mainconfig.offerAction=-1,mainconfig.toDo=-1,mainconfig.viewKMHelp=-1,mainconfig.viewBanner=-1,mainconfig.CDHContainer={},mainconfig.offerURL="",mainconfig.previousPage="",mainconfig.intent="",mainconfig.isDeepLink=!1,mainconfig.deepLinkExtraParam={},e.submitter.getAttribute("data-clear")!==null?localStorage.clear():localStorage.setItem(`config_${this.app.industry}`,JSON.stringify(mainconfig)),sessionStorage.clear(),mainconfig.ExternalID&&sessionStorage.setItem("ExternalID",mainconfig.ExternalID)}},components:{Navigation,Tab,GettingStarted,General,QuickLinksSettings,BillPaySettings,BannerSettings,ToDoSettings,ActivitySettings,HomeHeroActionSettings,UsersSettings,KMHelpSettings,ChatSettings,NBAMSettings,OfferActionSettings,TopNav}};function _sfc_render$2(e,t,n,o,s,r){const l=resolveComponent("TopNav"),a=resolveComponent("GettingStarted"),c=resolveComponent("tab"),d=resolveComponent("General"),u=resolveComponent("UsersSettings"),m=resolveComponent("QuickLinksSettings"),f=resolveComponent("BannerSettings"),v=resolveComponent("ToDoSettings"),y=resolveComponent("BillPaySettings"),C=resolveComponent("ActivitySettings"),x=resolveComponent("ChatSettings"),k=resolveComponent("NBAMSettings"),_=resolveComponent("KMHelpSettings"),B=resolveComponent("HomeHeroActionSettings"),g=resolveComponent("OfferActionSettings"),N=resolveComponent("Navigation");return openBlock(),createElementBlock("form",{id:"settings",onSubmit:t[1]||(t[1]=(...w)=>r.processForm&&r.processForm(...w))},[e.isMobilePhone?(openBlock(),createBlock(l,{key:0,previousPhonePage:"index.html"},{default:withCtx(()=>t[2]||(t[2]=[createBaseVNode("button",{type:"submit","data-clear":"",class:"simple margin-r-2x"}," Reset to default ",-1),createBaseVNode("button",{class:"strong",type:"submit"},"Save",-1)])),_:1})):createCommentVNode("",!0),createVNode(N,{modelValue:o.active,"onUpdate:modelValue":t[0]||(t[0]=w=>o.active=w)},{default:withCtx(()=>[createVNode(c,{name:"Getting Started"},{default:withCtx(()=>[createVNode(a)]),_:1}),typeof e.settings.general<"u"?(openBlock(),createBlock(c,{key:0,name:"General"},{default:withCtx(()=>[createVNode(d)]),_:1})):createCommentVNode("",!0),createVNode(c,{name:"Users"},{default:withCtx(()=>[createVNode(u)]),_:1}),createVNode(c,{name:"Quick Links"},{default:withCtx(()=>[createVNode(m)]),_:1}),typeof e.settings.banner<"u"?(openBlock(),createBlock(c,{key:1,name:"Banner component"},{default:withCtx(()=>[createVNode(f)]),_:1})):createCommentVNode("",!0),typeof e.settings.todo<"u"?(openBlock(),createBlock(c,{key:2,name:"To Do component"},{default:withCtx(()=>[createVNode(v)]),_:1})):createCommentVNode("",!0),typeof e.settings.billpay<"u"?(openBlock(),createBlock(c,{key:3,name:"Bill Pay component"},{default:withCtx(()=>[createVNode(y)]),_:1})):createCommentVNode("",!0),typeof e.settings.activity<"u"?(openBlock(),createBlock(c,{key:4,name:"Activity component"},{default:withCtx(()=>[createVNode(C)]),_:1})):createCommentVNode("",!0),typeof e.settings.pega_chat<"u"?(openBlock(),createBlock(c,{key:5,name:"Messaging and Co-Browse"},{default:withCtx(()=>[createVNode(x)]),_:1})):createCommentVNode("",!0),typeof e.settings.pega_marketing<"u"?(openBlock(),createBlock(c,{key:6,name:"Customer Decision Hub"},{default:withCtx(()=>[createVNode(k)]),_:1})):createCommentVNode("",!0),typeof e.settings.kmhelp<"u"?(openBlock(),createBlock(c,{key:7,name:"Knowledge Management"},{default:withCtx(()=>[createVNode(_)]),_:1})):createCommentVNode("",!0),createVNode(c,{name:"Home Hero Action"},{default:withCtx(()=>[createVNode(B)]),_:1}),typeof e.settings.offeraction<"u"?(openBlock(),createBlock(c,{key:8,name:"Offer Action"},{default:withCtx(()=>[createVNode(g)]),_:1})):createCommentVNode("",!0)]),_:1},8,["modelValue"])],32)}const Main=_export_sfc(_sfc_main$2,[["render",_sfc_render$2]]),_sfc_main$1={components:{Header,Main}},_hoisted_1={class:"front"},_hoisted_2={class:"flex flex-col"};function _sfc_render$1(e,t,n,o,s,r){const l=resolveComponent("Header"),a=resolveComponent("Main");return openBlock(),createElementBlock("div",_hoisted_1,[createVNode(l),createBaseVNode("main",_hoisted_2,[createVNode(a)])])}const SettingsPage=_export_sfc(_sfc_main$1,[["render",_sfc_render$1]]),_sfc_main={data(){return mainconfig},created(){this.currentPage=window.location.pathname.substring(window.location.pathname.lastIndexOf("/")+1),window.history&&window.history.state!==null&&typeof window.history.state.page<"u"&&(this.currentPage=window.history.state.page,window.history.replaceState({},"",this.currentPage+window.location.search),setTimeout(()=>{window.scrollTo({top:0,behavior:"smooth"})},0)),this.currentPage==="heroaction"&&(mainconfig.homeHeroAction=1),this.currentPage.indexOf("offer")===0&&this.currentPage.indexOf("offer.html")!==0&&(mainconfig.offerIndex=parseInt(this.currentPage.substring(5).replace(".html",""),10)),mainconfig.currentPage=this.currentPage,this.$gtag&&this.$gtag.pageview({page_path:mainconfig.currentPage}),sendClickStreamEvent(mainconfig,"Access"),window.loadPage=new Date},components:{DefaultPage,OfferPage,SettingsPage}};function _sfc_render(e,t,n,o,s,r){const l=resolveComponent("DefaultPage"),a=resolveComponent("OfferPage"),c=resolveComponent("SettingsPage");return e.currentPage.indexOf("index.html")===0?(openBlock(),createBlock(l,{key:0})):e.currentPage.indexOf("offer")===0?(openBlock(),createBlock(a,{key:1})):e.currentPage.indexOf("settings.html")===0?(openBlock(),createBlock(c,{key:2})):(openBlock(),createBlock(l,{key:3}))}const MainPage=_export_sfc(_sfc_main,[["render",_sfc_render]]);function _defineProperty(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ownKeys(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(s){return Object.getOwnPropertyDescriptor(e,s).enumerable})),n.push.apply(n,o)}return n}function _objectSpread2(e){for(var t=1;t1&&arguments[1]!==void 0?arguments[1]:{};return new Promise(function(o,s){if(!(typeof document>"u")){var r=document.head||document.getElementsByTagName("head")[0],l=document.createElement("script");if(l.async=!0,l.src=t,l.defer=n.defer,n.preconnectOrigin){var a=document.createElement("link");a.href=n.preconnectOrigin,a.rel="preconnect",r.appendChild(a)}r.appendChild(l),l.onload=o,l.onerror=s}})},mergeDeep=function e(t){for(var n=arguments.length,o=new Array(n>1?n-1:0),s=1;s"u"||typeof document>"u")},warn=function e(t){},validateScreenviewShape=function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return warn('Missing "appName" property inside the plugin options.',t.app_name==null),warn('Missing "name" property in the route.',t.screen_name==null),t};function getPathWithBase(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",n=e.split("/"),o=t.split("/");return n[0]===""&&t[t.length-1]==="/"&&n.shift(),o.join("/")+n.join("/")}var getDefaultParams=function e(){return{bootstrap:!0,onReady:null,onError:null,onBeforeTrack:null,onAfterTrack:null,pageTrackerTemplate:null,customResourceURL:"https://www.googletagmanager.com/gtag/js",customPreconnectOrigin:"https://www.googletagmanager.com",deferScriptLoad:!1,pageTrackerExcludedRoutes:[],pageTrackerEnabled:!0,enabled:!0,disableScriptLoad:!1,pageTrackerScreenviewEnabled:!1,appName:null,pageTrackerUseFullPath:!1,pageTrackerPrependBase:!0,pageTrackerSkipSamePath:!0,globalDataLayerName:"dataLayer",globalObjectName:"gtag",defaultGroupName:"default",includes:null,config:{id:null,params:{send_page_view:!1}}}},params={},setOptions=function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=getDefaultParams();params=mergeDeep(n,t)},getOptions=function e(){return params},query=function(){var e,t=getOptions(),n=t.globalObjectName;!isBrowser()||typeof window[n]>"u"||(e=window)[n].apply(e,arguments)},config=function(){for(var e=arguments.length,t=new Array(e),n=0;n0&&arguments[0]!==void 0?arguments[0]:!0,t=getOptions(),n=t.config,o=t.includes;assignGlobalProperty(n.id,e),Array.isArray(o)&&o.forEach(function(s){return assignGlobalProperty(s.id,e)})},optOut=function(){disable(!0)},optIn=function(){disable(!1)},router,setRouter=function e(t){router=t},getRouter=function e(){return router},event=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=getOptions(),o=n.includes,s=n.defaultGroupName;t.send_to==null&&Array.isArray(o)&&o.length&&(t.send_to=o.map(function(r){return r.id}).concat(s)),query("event",e,t)},pageview=function(e){if(isBrowser()){var t;if(typeof e=="string")t={page_path:e};else if(e.path||e.fullPath){var n=getOptions(),o=n.pageTrackerUseFullPath,s=n.pageTrackerPrependBase,r=getRouter(),l=r&&r.options.base,a=o?e.fullPath:e.path;t=_objectSpread2(_objectSpread2({},e.name&&{page_title:e.name}),{},{page_path:s?getPathWithBase(a,l):a})}else t=e;t.page_location==null&&(t.page_location=window.location.href),t.send_page_view==null&&(t.send_page_view=!0),event("page_view",t)}},screenview=function(e){var t=getOptions(),n=t.appName;if(e){var o;typeof e=="string"?o={screen_name:e}:o=e,o.app_name=o.app_name||n,event("screen_view",o)}},exception=function(){for(var e=arguments.length,t=new Array(e),n=0;n0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=getOptions(),o=n.appName,s=n.pageTrackerTemplate,r=n.pageTrackerScreenviewEnabled,l=n.pageTrackerSkipSamePath;if(!(l&&e.path===t.path)){var a=e;if(isFunction$1(s)?a=s(e,t):r&&(a=validateScreenviewShape({app_name:o,screen_name:e.name})),r){screenview(a);return}pageview(a)}},isRouteExcluded=function e(t){var n=getOptions(),o=n.pageTrackerExcludedRoutes;return o.includes(t.path)||o.includes(t.name)},addRoutesTracker=function(){var e=getOptions(),t=e.onBeforeTrack,n=e.onAfterTrack,o=getRouter();o.isReady().then(function(){nextTick().then(function(){var s=o.currentRoute;addConfiguration(),!isRouteExcluded(s.value)&&track(s.value)}),o.afterEach(function(s,r){nextTick().then(function(){isRouteExcluded(s)||(isFunction$1(t)&&t(s,r),track(s,r),isFunction$1(n)&&n(s,r))})})})},bootstrap=function(){var e=getOptions(),t=e.onReady,n=e.onError,o=e.globalObjectName,s=e.globalDataLayerName,r=e.config,l=e.customResourceURL,a=e.customPreconnectOrigin,c=e.deferScriptLoad,d=e.pageTrackerEnabled,u=e.disableScriptLoad,m=!!(d&&getRouter());if(registerGlobals(),m?addRoutesTracker():addConfiguration(),!u)return load("".concat(l,"?id=").concat(r.id,"&l=").concat(s),{preconnectOrigin:a,defer:c}).then(function(){t&&t(window[o])}).catch(function(f){return n&&n(f),f})},install=function e(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=arguments.length>2?arguments[2]:void 0;attachApi(t),setOptions(n),setRouter(o),getOptions().bootstrap&&bootstrap()};const app=createApp(MainPage);if(window.parent){const e=document.getElementById("app");e&&e.classList.add("app-iframe");const t=()=>{window.parent.postMessage({type:"resize",height:document.body.scrollHeight},"*")};new ResizeObserver(()=>t()).observe(document.body)}let handleOutsideClick;app.directive("clickoutside",{mounted(e,t){handleOutsideClick=n=>{n.stopPropagation();const{handler:o}=t.value;e.contains(n.target)||t.instance[o](n)},document.addEventListener("click",handleOutsideClick),document.addEventListener("touchstart",handleOutsideClick)},unmounted(){document.removeEventListener("click",handleOutsideClick),document.removeEventListener("touchstart",handleOutsideClick)}});app.use(i18n);app.use(install,{config:{id:mainconfig.settings.general.ga.trackingid},appName:"Uplus",enabled:!0});app.mount("#app"); diff --git a/docs/auto/index.html b/docs/auto/index.html index f6779a9d..63e41343 100644 --- a/docs/auto/index.html +++ b/docs/auto/index.html @@ -38,7 +38,7 @@ document.write(' - + diff --git a/docs/commercial_bank/index.html b/docs/commercial_bank/index.html index a5d233a4..cd6c25d8 100644 --- a/docs/commercial_bank/index.html +++ b/docs/commercial_bank/index.html @@ -38,7 +38,7 @@ document.write(' - + diff --git a/docs/comms/index.html b/docs/comms/index.html index 679581c4..bb032dbe 100644 --- a/docs/comms/index.html +++ b/docs/comms/index.html @@ -38,7 +38,7 @@ document.write(' - + diff --git a/docs/energy/index.html b/docs/energy/index.html index e97ebc8c..3c434dc8 100644 --- a/docs/energy/index.html +++ b/docs/energy/index.html @@ -38,7 +38,7 @@ document.write(' - + diff --git a/docs/gov/index.html b/docs/gov/index.html index 93e7be90..e931544c 100644 --- a/docs/gov/index.html +++ b/docs/gov/index.html @@ -38,7 +38,7 @@ document.write(' - + diff --git a/docs/health_care/index.html b/docs/health_care/index.html index 6009d9f4..0790a3d5 100644 --- a/docs/health_care/index.html +++ b/docs/health_care/index.html @@ -38,7 +38,7 @@ document.write(' - + diff --git a/docs/health_payer/index.html b/docs/health_payer/index.html index 4f107741..cac0adae 100644 --- a/docs/health_payer/index.html +++ b/docs/health_payer/index.html @@ -38,7 +38,7 @@ document.write(' - + diff --git a/docs/health_pharma/index.html b/docs/health_pharma/index.html index 04331b92..1de8f46e 100644 --- a/docs/health_pharma/index.html +++ b/docs/health_pharma/index.html @@ -38,7 +38,7 @@ document.write(' - + diff --git a/docs/health_provider/index.html b/docs/health_provider/index.html index c3bd6219..1a60766d 100644 --- a/docs/health_provider/index.html +++ b/docs/health_provider/index.html @@ -38,7 +38,7 @@ document.write(' - + diff --git a/docs/insurance/index.html b/docs/insurance/index.html index 54c19001..5c182a35 100644 --- a/docs/insurance/index.html +++ b/docs/insurance/index.html @@ -38,7 +38,7 @@ document.write(' - + diff --git a/docs/manufacturing/index.html b/docs/manufacturing/index.html index 07b85b3b..23f07f87 100644 --- a/docs/manufacturing/index.html +++ b/docs/manufacturing/index.html @@ -38,7 +38,7 @@ document.write(' - + diff --git a/docs/retail_bank/index.html b/docs/retail_bank/index.html index 026bcde5..e34fb0f4 100644 --- a/docs/retail_bank/index.html +++ b/docs/retail_bank/index.html @@ -38,7 +38,7 @@ document.write(' - + diff --git a/docs/travel/index.html b/docs/travel/index.html index bda05d96..fc122c2a 100644 --- a/docs/travel/index.html +++ b/docs/travel/index.html @@ -38,7 +38,7 @@ document.write(' - + diff --git a/docs/wealth/index.html b/docs/wealth/index.html index a2a9ffe2..9efc119f 100644 --- a/docs/wealth/index.html +++ b/docs/wealth/index.html @@ -38,7 +38,7 @@ document.write(' - + diff --git a/src/components/controls/Tabs.vue b/src/components/controls/Tabs.vue index 6a4afa6f..0bb9bad3 100644 --- a/src/components/controls/Tabs.vue +++ b/src/components/controls/Tabs.vue @@ -2,7 +2,7 @@ import { useSlots, ref, provide } from 'vue'; const props = defineProps({ - defaultSelectedIndex: String, + defaultSelectedIndex: Number, });