(this.webpackChunk_msteams_react_web_client=this.webpackChunk_msteams_react_web_client||[]).push([[793927],{411085:t=>{t.exports=[{types:{AddDesktopClientShortcutInput:[6,{mac:6,windows:6}],RegisterForDesktopClientKeyDownShortcuts:[2,{windowId:1,shortcutId:1}]}},{types:{Mutation:[2,{addDesktopClientShortcut:[1,{shortcut:"AddDesktopClientShortcutInput"}]}],Subscription:[2,{registerForDesktopClientKeyDownShortcuts:"RegisterForDesktopClientKeyDownShortcuts"}]}}]},350499:(t,e,o)=>{"use strict";o.r(e),o.d(e,{resolvers:()=>u,typeDefs:()=>r});var r=o(411085),s=o(425235),n=o.n(s),i=o(850189),c=o(407104);const u={Mutation:{async addDesktopClientShortcut(t,{shortcut:e},{hostCommunicationService:o,windowId:r,loggerFactory:s}){const n=s.newLogger("addDesktopClientShortcutMutationResolver","data-resolvers-desktop-client-shortcuts"),i=await o.loadModule("windowcontrols"),c=await(i?.addShortcut?.(r,e));return n.log(`shortcutId is ${c}`),c}},Subscription:{registerForDesktopClientKeyDownShortcuts:{async subscribe(t,e,{hostCommunicationService:o}){const r=await o.loadModule("windowcontrols");let s;const u=new(n())((t=>{if(r?.registerForKeyDown)return s=r.registerForKeyDown((e=>{t.next(e)})),s;t.complete()}));return(0,i.VQ)((0,c.V)(u,void 0,void 0,"registerForDesktopClientKeyDownShortcuts"),(t=>({registerForDesktopClientKeyDownShortcuts:{windowId:t.windowId,shortcutId:t.shortcutId}})))}}}}}}]);
//# sourceMappingURL=https://local.teams.office.com/sourcemaps/hashed-assets/r_data-resolvers-desktop-client-shortcuts-cf327ac27c8ac32c.js.map