(this.webpackChunk_msteams_react_web_client=this.webpackChunk_msteams_react_web_client||[]).push([[999291],{944952:e=>{e.exports=[{types:{SettingsListItem:[2,{id:10}]}},{types:{Query:[2,{settingsListItems:"[SettingsListItem!]!"}]}}]},885930:(e,n,t)=>{"use strict";t.r(n),t.d(n,{resolvers:()=>l,typeDefs:()=>i});var i=t(944952),a=t(401368),s=t(119249);const l={Query:{async settingsListItems(e,n,t){const{coreSettings:i}=t,{enableConnectedCalendar:l}=i.get(a.w.Calendar,["enableConnectedCalendar"]),{enableSimpleCollabApp:r}=i.get(a.w.SimpleCollab,["enableSimpleCollabApp"]),{enablePeopleSettingsTab:o}=i.get(a.w.People,["enablePeopleSettingsTab"]),{enablePremiumBenefitsTab:c,enableJoinInsidersTab:b}=i.get(a.w.Core,["enablePremiumBenefitsTab","enableJoinInsidersTab"]),{enableAccountSettingsTab:g}=i.get(a.w.Auth,["enableAccountSettingsTab"]),{enableDeviceSettingsTab:p,enableCallSettingsTab:d,enableProductionCapabilities:m}=i.get(a.w.Calling,["enableDeviceSettingsTab","enableCallSettingsTab","enableProductionCapabilities"]),{enableRecognitionSettingsTab:S}=i.get(a.w.BiometricEnrollment,["enableRecognitionSettingsTab"]),{enableFilesAndLinksSettings:w}=i.get(a.w.Files,["enableFilesAndLinksSettings"]),{enableM365LinksSettings:C}=i.get(a.w.Host,["enableM365LinksSettings"]),{enableAppDevicePermissionsSetting:u}=i.get(a.w.Extensibility,["enableAppDevicePermissionsSetting"]),{enablePhonelinkSms:h}=i.get(a.w.PhonelinkSms,["enablePhonelinkSms"]),{phoneLinkingBlocked:P}=i.get(a.w.HostCapabilities,["phoneLinkingBlocked"]),A=await(async e=>{try{const n=await e.getUserPreferencesStore(),t=await(n?.getPreferencesWithCacheOption(!0)),i=t?.userPreferences.phonelinkSmsPairingDeviceId;return!(!i||"disconnected"===i)}catch{return!1}})(t),{enableTeamsLabs:G}=i.get(a.w.TeamsLabs,["enableTeamsLabs"]),[k,T]=await Promise.all([(async()=>!d||!await(async e=>{try{const n=await e.getCallingService("callingAggregateSettings");return!!(await n.callingAggregateSettings({},{hostRendererId:"",component:"Resolver"})).IsPrivateCallingEnabled}catch{return!1}})(t))(),(async()=>!(u||m&&await(async e=>{try{const n=await e.getCallingService("isNdiAllowed");return!!await n.isNdiAllowed({hostRendererId:"",component:"Resolver"})}catch{return!1}})(t)))()]);return[s.G.General,s.G.Appearance,r&&s.G.ChatsAndChannels,h&&!P&&A&&s.G.PhoneLink,s.G.Notifications,g&&s.G.Accounts,s.G.Privacy,s.G.Accessibility,p&&s.G.Devices,!k&&s.G.Calls,o&&s.G.People,l&&s.G.Calendar,(w||C)&&s.G.FilesAndLinks,!T&&s.G.AppDevicePermission,S&&s.G.Recognition,c&&s.G.Benefits,b&&s.G.Insiders,G&&s.G.TeamsLabs,s.G.About].filter((e=>!!e)).map((e=>({id:e})))}}}}}]);
//# sourceMappingURL=https://local.teams.office.com/sourcemaps/hashed-assets/r_data-resolvers-browser-settings-ca29f8e6ce93189b.js.map