"use strict";(globalThis["webpackChunkaurora_corporate_mobile_ui"]||=[]).push([[4049],{54049(e,t,n){n.r(t);var i=n(43436),s=n.n(i),a=n(7106),o=n(61758),l=n(93320),r=n(51493),g=n(59172);const c=()=>{if(!r.A.get("showAddAccountInSettings"))return!1;const e=(0,g.m)();return r.A.get("allowAddAccounts")&&(r.A.get("allowMultiAccounts")||0===e.accountList.length)},d=e=>{s().isArray(e.preLogoutItems)||(e.preLogoutItems=[]),e.preLogoutItems=e.preLogoutItems.concat([{labelLangConst:"MAILWEBCLIENT.ACTION_ADD_NEW_ACCOUNT",routerPath:"/settings/add-account",getIconComponent:()=>n.e(9718).then(n.bind(n,49718)),getVisible:()=>c()}])},m=e=>{c()&&(s().isArray(e.settingsPageChildren)||(e.settingsPageChildren=[]),e.settingsPageChildren=e.settingsPageChildren.concat([{path:"/settings/add-account",component:()=>Promise.all([n.e(4121),n.e(6624)]).then(n.bind(n,16624))}]))},b=e=>{c()&&(s().isArray(e.settingsHeaderTitles)||(e.settingsHeaderTitles=[]),e.settingsHeaderTitles=e.settingsHeaderTitles.concat([{settingsPath:"/settings/add-account",settingsTitle:l.i18n.global.t("MAILWEBCLIENT.HEADING_ADD_NEW_ACCOUNT")}]))},h=e=>{c()&&(s().isArray(e.settingsHeaderActions)||(e.settingsHeaderActions=[]),e.settingsHeaderActions=e.settingsHeaderActions.concat([{settingsPath:"/settings/add-account",labelLangConst:"MAILWEBCLIENT.ACTION_ADD",eventName:"MailMobileWebclient::AddAccount"}]))},u={moduleName:"MailMobileWebclient",requiredModules:[],init(e){r.A.init(e)},initSubscriptions(){a.A.$off("SettingsMobileWebclient::GetSettingsPreLogoutItems",d),a.A.$on("SettingsMobileWebclient::GetSettingsPreLogoutItems",d),a.A.$off("SettingsMobileWebclient::GetSettingsPageChildren",m),a.A.$on("SettingsMobileWebclient::GetSettingsPageChildren",m),a.A.$off("SettingsMobileWebclient::GetSettingsHeaderTitles",b),a.A.$on("SettingsMobileWebclient::GetSettingsHeaderTitles",b),a.A.$off("SettingsMobileWebclient::GetSettingsHeaderActions",h),a.A.$on("SettingsMobileWebclient::GetSettingsHeaderActions",h),a.A.$emit("CoreMobileWebclient::InitSubscription")},getNormalUserPages(){return[{pageName:"mail",pagePath:"/mail",pageComponent:()=>Promise.all([n.e(4121),n.e(996),n.e(4362)]).then(n.bind(n,67275)),pageStrict:!0,pageChildren:[{name:"message-list",path:":accountId(\\d+)/:folderPath*/",strict:!0,component:()=>Promise.all([n.e(4121),n.e(996),n.e(3506)]).then(n.bind(n,9222))},{name:"message-list-filter",path:":accountId(\\d+)/:folderPath*/filter~:filter(unseen|flagged)~",strict:!0,component:()=>Promise.all([n.e(4121),n.e(996),n.e(3506)]).then(n.bind(n,9222))},{name:"message-list-unified",path:"unified-inbox",strict:!0,component:()=>Promise.all([n.e(4121),n.e(996),n.e(3506)]).then(n.bind(n,9222))},{name:"message-list-unified-filter",path:"unified-inbox/filter~:filter(unseen|flagged)~",strict:!0,component:()=>Promise.all([n.e(4121),n.e(996),n.e(3506)]).then(n.bind(n,9222))},{name:"message-view",path:":accountId(\\d+)/:folderPath*/:messageUid(\\d+)",component:()=>Promise.all([n.e(4121),n.e(996),n.e(2334)]).then(n.bind(n,83900)),strict:!0},{name:"message-reply",path:":accountId(\\d+)/:folderPath*/:messageUid(\\d+)/:replyType(reply|reply-all|forward|draft|resend)",component:()=>Promise.all([n.e(4121),n.e(996),n.e(578)]).then(n.bind(n,18074)),strict:!0},{name:"message-compose",path:"compose",component:()=>Promise.all([n.e(4121),n.e(996),n.e(578)]).then(n.bind(n,18074)),strict:!0}]}]},getPageFooterButtons(){return[{pageName:"mail",pagePath:"/mail",highlightPaths:["/mail"],iconComponent:(0,o.$V)(()=>n.e(8477).then(n.bind(n,18477)))}]}};n.d(t,["default",0,u])}}]);