res.cdn.office.net
Open in
urlscan Pro
2a02:26f0:7100::687e:2520
Public Scan
URL:
https://res.cdn.office.net/owamail/hashed-v1/scripts/owa.MailBoot.m.feab05a1.js
Submission: On May 07 via api from LU — Scanned from DE
Submission: On May 07 via api from LU — Scanned from DE
Form analysis
0 forms found in the DOMText Content
"use strict";(globalThis.webpackChunkOwa=globalThis.webpackChunkOwa||[]).push([[501697,288404,94724,211150,988313,683003,629762,189382,816793,183509,783012,303731,290677,964886],{960031:(e,t,n)=>{n.d(t,{BJ:()=>u,C_:()=>o,FC:()=>i,Ku:()=>l,Mz:()=>s,N_:()=>c,WB:()=>p,YA:()=>r,dJ:()=>d,e2:()=>m,vu:()=>a});let o="27797656-b5ea-4db3-8043-0230f0b4d6d6",r="translate.buttonDesktop1_1",i="https://ogma.osi.office.net/outlooktranslatorapp/desktop",a="https://ogma.osi.office.net",l="https://ogma.osi.office.net/outlooktranslatorapp/desktop",s="1.0.8.1",d="https://ogma.osi.office.net/outlooktranslatorapp/Images/TranslateIcon64x64.png",c="Translator",u="Help you translate messages in your preferred language across devices",m="Microsoft",p="https://ogma.osi.office.net/outlooktranslatorapp/Images/TranslateIcon128x128.png"},761940:(e,t,n)=>{n.d(t,{Z:()=>c});var o=n(562923),r=n(736467),i=n(787012),a=n(827570),l=n(511943),s=n(636283),d=n(206339);function c(e){if(!(0,d.MS)())return o.h;e||(s.g4.warn("[ExtensibilityState] - No mailboxInfo provided, using global settings"),e=(0,l.zl)());let t=(0,a.M4)(e),n=o.VN.get(t);if(!n){let a={EnabledAddinCommands:null,HostItems:new i.ObservableMap,IsPreinstalledTeachingUIAvailable:!1,Context:null,taskPanes:new i.ObservableMap,activeDialogs:new i.ObservableMap,ExtensibilityStateIsDirty:!1,contextualCalloutState:new i.ObservableMap,runningContextualAddinCommand:new i.ObservableMap,runningUILessExtendedAddinCommands:new i.ObservableMap,autoRunAddinCommandWaitingQueue:new i.ObservableMap,compliance:(0,r.M)(),activeAutorunUilessFrames:new i.ObservableMap,currentSoftBlockDialogState:new i.ObservableMap,telemetryLoggedInfo:new Map,addinsMap:new Map,multiSelectEnabledAddinsCommand:[],innerPersistedAddins:{},HostItemInstance:new Map,isAnyAddinInstalledForOnSendInMainWindow:!1,copilotAppRunningInstance:void 0};o.VN.set(t,a),n=o.VN.get(t),s.g4.info("getExtensibilityState for identity"+e.userIdentity+" is undefined, creating. Total states:"+o.VN.size)}return n}},547046:(e,t,n)=>{n.d(t,{Z:()=>r});var o=n(804e3);function r(e){let t=(0,o.Z)(e);return t?t.tabId:e===window?"Main":null}},736467:(e,t,n)=>{n.d(t,{M:()=>o});function o(){return{isMinor:!1}}},562923:(e,t,n)=>{n.d(t,{VN:()=>s,h:()=>a,jH:()=>d});var o=n(795839),r=n(736467),i=n(787012);let a=(0,o.MT)("extensibility",{EnabledAddinCommands:null,HostItems:new i.ObservableMap,IsPreinstalledTeachingUIAvailable:!1,Context:null,taskPanes:new i.ObservableMap,activeDialogs:new i.ObservableMap,ExtensibilityStateIsDirty:!1,contextualCalloutState:new i.ObservableMap,runningContextualAddinCommand:new i.ObservableMap,runningUILessExtendedAddinCommands:new i.ObservableMap,autoRunAddinCommandWaitingQueue:new i.ObservableMap,compliance:(0,r.M)(),activeAutorunUilessFrames:new i.ObservableMap,currentSoftBlockDialogState:new i.ObservableMap,telemetryLoggedInfo:new Map,addinsMap:new Map,multiSelectEnabledAddinsCommand:[],innerPersistedAddins:{},HostItemInstance:new Map,isAnyAddinInstalledForOnSendInMainWindow:!1,copilotAppRunningInstance:void 0})(),l=new Map,s=(0,o.MT)("multiAccountExtStore",l)(),d=(0,o.MT)("MailboxInfo",{type:"",userIdentity:"",mailboxSmtpAddress:""})()},328243:(e,t,n)=>{n.d(t,{f:()=>i});var o=n(761940),r=n(495463);let i=e=>{let t=(0,o.Z)(e).EnabledAddinCommands,n=t?.getExtensionPoint(r.am.IntegratedSpam);return n?.length>0}},773343:(e,t,n)=>{n.d(t,{s:()=>r});var o=n(308807);let r=(0,n(75953)._)(e=>"full"==e?i("20px","4px 2px","11px"):i("16px","2px","7px"));function i(e,t,n){return{components:{IconButton:{styles:{root:{height:"auto",width:"auto",marginLeft:n},icon:{lineHeight:"normal",fontSize:e,alignItems:"center",display:"flex",margin:t},flexContainer:{height:"auto"}}},Icon:{styles:{root:{fontSize:e,margin:t,textAlign:"center",alignItems:"center",display:"flex",color:(0,o.XN)().neutralPrimaryAlt,paddingLeft:n}}}}}}},352130:(e,t,n)=>{let o;n.d(t,{Z:()=>ta});var r=n(345301),MailModule=n(72522),i=n(150064),a=n(206339),l=n(298881),s=n(510265),d=n(302140),c=n(697217),u=n(6199),m=n(5813),Droppable=n(855523),p=n(426474),f=n(64906);let g={navigationPaneScreenReaderOnlyText:"ycvULe"};var v=n(132917),h=n(402392),I=n(910082),S=n(511943),b=n(20152),w=n(985062),y=n(52924),P=n(666076),C=n(274241);let E="VmRKsd";var Z=n(939129),M=n(881930),T=n(808930),F=n(795839),k=n(382092),x=n(492819),R=n(827570),A=n(636006);function D(e,t,n,o,r){let i=(0,k.t9)()?(0,S.zl)():k.bh().outlookFavorites?.get(e)?.mailboxInfo??(0,A.Q)(),a=(0,R.M4)(i);a&&N(a,{nodeId:e,nodeType:t,folderId:o,anchor:n,treeType:"favorites",showRootMenu:r})}let N=(0,F.lr)("setContextMenuState",(e,t)=>{let n=(0,x.Z)(e);n&&(n.contextMenuState=t)});var _=n(338822),O=n(697399),L=n(635828),V=n(110363),B=n(933293),G=n(825447),U=n(329098),H="j3258";let W="AzGVnd";var K=n(92935);let z=(e,t)=>{if((0,k.t9)())return!0;let n=e.itemData,o=n?.mailboxInfo;return o?.userIdentity===t.userIdentity},j=async(e,t)=>{let n=e.favoriteId;(await k.rs.import())(n,t,e.favoriteType)},Q=(e,t)=>{if(!e.itemData)return!1;let n=e.itemData,o=n.treeType;return!(o&&(o===K.L1||o===K.UU)||(0,k.Ur)(n.draggedFolderId))&&(!!(0,k.t9)()||n.mailboxInfo?.userIdentity===t.userIdentity)},$=async(e,t,n)=>{let o;let r=e.folderId;if((0,k.t9)())o=(0,k.bh)().orderedCombinedOutlookFavoritesIds.indexOf(n);else{let e=(0,R.M4)(t);o=k.bh().favoriteTreeData.get(e)?.orderedOutlookFavoritesIds.indexOf(n)}(await w.ew.import())(r,"Drag",o)},q=(0,s.P)(function(e){let t=e.mailboxInfo,n=(0,C.T)(()=>(0,Z.C)(t).filter(t=>t.Id===e.categoryId)[0],[e.categoryId,e.mailboxInfo]),o=(0,C.T)(()=>e.categoryId==(0,O.PZ)().id,[e.categoryId]),i=(0,C.T)(()=>(0,Z.CT)(n.Name??"",t),[e.mailboxInfo]),a=(0,C.T)(()=>(0,Z.sk)(n.Name??"",t),[e.mailboxInfo]),l=r.useCallback(()=>i?r.createElement(G.g,{count:i,isSelected:o}):null,[i,o]),s=async n=>{switch(n.itemType){case T.X.MailFolderNode:await $(n,t,e.favoriteId);break;case T.X.FavoriteNode:await j(n,e.favoriteId)}};if(void 0===n)return null;let c=function(e,t){if(!(0,k.t9)())return e;let n=new Set([...(0,k.bh)().outlookFavorites.values()].filter(e=>"category"===e.type).map(e=>e.categoryId));if(!n||n.size<2)return e;let o=new Set;return((0,S.X_)().forEach(e=>{(0,R.M4)(t)!==(0,R.M4)(e)&&(0,Z.C)(e).forEach(e=>{e.Id&&n.has(e.Id)&&o.add((e.Name??"").toLocaleLowerCase())})}),o.has(e.toLocaleLowerCase()))?(0,d.WU)((0,d.ZP)(W),e,t.mailboxSmtpAddress):e}(n.Name??"",t);return r.createElement(M.Z,{getDragData:()=>({itemType:T.X.FavoriteNode,favoriteId:e.favoriteId,favoriteType:4,displayName:n.Name??"",itemData:{mailboxInfo:e.mailboxInfo}}),getDragPreview:X,xOffset:L.Qk,yOffset:L.o_,dropViewState:e.dropViewState,onDrop:s,canDrop:e=>{switch(e.itemType){case T.X.FavoriteNode:return z(e,t);case T.X.MailFolderNode:return Q(e,t);default:return!1}}},r.createElement(P.Z,{onRenderCustomIcon:e=>r.createElement(Z.Rd,{categoryName:n.Name,iconClassName:e,mailboxInfo:t}),displayName:c,isRootNode:!1,key:e.categoryId,isDroppedOver:e.dropViewState.isDragOver,onClick:t=>{t.stopPropagation(),_.J2.importAndExecute(e.categoryId)},isSelected:o,onContextMenu:t=>{t.stopPropagation(),t.preventDefault(),D(e.favoriteId,4,(0,B.Z)(t))},renderRightCharm:l,isFavorited:!0,toggleFavorite:()=>{(0,U.x)(e.categoryId)},customTreeNodeTooltip:(0,V.kj)(c,a,i),ellipsesOnHover:e.ellipsesOnHover,source:K.Y.favorite}))},"FavoriteCategoryNode");function X(e){let t=document.createElement("div");return t.className=H,t.innerText=e?.displayName??"",t}var Y=n(194087),J=n(198453),ee=n(639611),et=n(313380),en=n(129376),eo=n(17725),er=n(67199);function ei(e){return eo.Z.folderTable.has(e)?eo.Z.folderTable.get(e):V.ZP.folderTable.get(e)}var ea=n(380352);let el=(0,s.P)(function(e){let{isPublicFolder:t,folderId:n,favoriteId:o}=e,i=r.useRef(),l=t?eo.Z.folderTable.get(n):V.ZP.folderTable.get(n),s=l?.type==K.T8?ea.Z:(0,Y.y)(n,!0),c=r.useCallback((e,n)=>{if(!l)return"none";let o=e.itemType;if("notes"===l.distinguishedFolderType)return"none";switch(o){case T.X.MailListItemPart:case T.X.MailListRow:case T.X.MultiMailListMessageRows:case T.X.MultiMailListConversationRows:{let e=(0,et.ii)(),o=(0,J.L4)(e),r=(0,et.Mh)(e);return t&&r||o.userIdentity!==l.mailboxInfo.userIdentity?"none":(0,a.cr)("tri-dnd-copy")&&n?.ctrlKey?"copy":"move"}case T.X.FavoriteNode:return z(e,l.mailboxInfo)?"move":"none";case T.X.MailFolderNode:return Q(e,l.mailboxInfo)?"move":"none";default:return"none"}},[l]),u=r.useCallback(async(e,t,r,i,s)=>{let d=e.itemType;switch((0,er.y8)("FP_FavoritesDragAndDrop"),d){case T.X.MailListItemPart:{let t=(0,et.bh)().tableViews.get(e.tableViewId);if(!t)break;(await en.uN.import())(e.nodeIds,n,t.id,"Drag")}break;case T.X.MailListRow:case T.X.MultiMailListConversationRows:case T.X.MultiMailListMessageRows:let c=e.tableViewId,u=e.rowKeys;if((0,a.cr)("tri-dnd-copy")&&s){let e=(0,et.bh)().tableViews.get(c);e&&en.ft.importAndExecute(u,e,n,"Drag")}else en.M.importAndExecute(u,n,c,"Drag");break;case T.X.MailFolderNode:if(!l)break;await $(e,l.mailboxInfo,o);break;case T.X.FavoriteNode:await j(e,o)}},[l,o]),m=r.useCallback(e=>{e.stopPropagation(),e.preventDefault(),D(o,t?5:0,(0,B.Z)(e),n)},[o,t,n]),p=r.useCallback(()=>{i.current=!0},[]),f=r.useCallback(()=>{i.current=!1},[]),g=r.useCallback(()=>{let e=(0,V.mH)(l);return{itemType:T.X.FavoriteNode,favoriteId:o,favoriteType:t?5:0,displayName:e,itemData:{mailboxInfo:l?.mailboxInfo}}},[l,o,t]),v=(0,ee.Z)(o),h=v?.drop?.draggableItemType,I=e.ellipsesOnHover;return l&&v&&v.drag&&v.drop?r.createElement(M.Z,{dragViewState:v.drag,getDragData:g,getDragPreview:es,xOffset:L.Qk,yOffset:L.o_,dropViewState:v.drop,onDrop:u,canDrop:c,onDragOver:p,onDragLeave:f},r.createElement(L.YT,{customIcon:s,displayName:function(e){let t=(0,V.mH)(ei(e));if(!(0,k.t9)())return t;let n=[...(0,k.bh)().outlookFavorites.values()].filter(e=>"folder"===e.type).map(e=>e.folderId),o=t;for(let r of n)if(e!==r&&0===t.localeCompare((0,V.mH)(ei(r)),void 0,{sensitivity:"accent"})){o=(0,d.WU)((0,d.ZP)(W),t,ei(e).mailboxInfo.mailboxSmtpAddress);break}return o}(n),folderId:n,isDroppedOver:v.drop.isDragOver&&i.current,isBeingDragged:v.drag.isBeingDragged,key:n,onContextMenu:m,showHoverStateOnDroppedOver:h===T.X.MailListRow||h===T.X.MultiMailListConversationRows||h===T.X.MultiMailListMessageRows||h===T.X.MailListItemPart,treeType:"favorites",isPublicFolder:t,unreadCount:l?.UnreadCount??0,totalCount:l?.totalMessageCount??0,distinguishedFolderId:l?.distinguishedFolderType??"",ellipsesOnHover:I})):null},"FavoriteFolderNode");function es(e){let t=document.createElement("div");return t.className=H,t.innerText=e.displayName,t}var ed=n(613651),ec=n(621001),eu=n(715381),em=n(330103),ep=n(930893);let ef=(0,s.P)(function(e){r.useEffect(()=>{a()},[]);let t=(0,C.v)(()=>e.favoriteId===(0,O.PZ)().id),n=()=>e.isSearchFolderPopulated&&V.ZP.folderTable.has(e.searchFolderId),o=()=>{if(n()){let t=V.ZP.folderTable.get(e.searchFolderId);return t?t.UnreadCount:0}return 0},a=()=>{e.isJustAdded&&setTimeout(()=>{w.tp.importAndExecute(e.favoriteId)},666)},l=t=>{switch(t.itemType){case T.X.FavoriteNode:return z(t,e.mailboxInfo);case T.X.MailFolderNode:return Q(t,e.mailboxInfo);default:return!1}},s=async t=>{if(l(t))switch(t.itemType){case T.X.MailFolderNode:await $(t,e.mailboxInfo,e.favoriteId);break;case T.X.FavoriteNode:await j(t,e.favoriteId)}};return r.createElement(M.Z,{getDragData:()=>({itemType:T.X.FavoriteNode,favoriteId:e.favoriteId,favoriteType:1,displayName:e.displayName,itemData:{mailboxInfo:e.mailboxInfo}}),getDragPreview:eg,xOffset:L.Qk,yOffset:L.o_,dropViewState:e.dropViewState,onDrop:s,canDrop:l},r.createElement("div",{className:e.isJustAdded?(0,i.Z)(ec.k4.slideDownIn20,"ikl0T"):""},r.createElement(P.Z,{customIcon:ep.Z,displayName:e.displayName,key:e.favoriteId,isDroppedOver:e.dropViewState.isDragOver,isRootNode:!1,isSelected:t.get(),onClick:t=>{t.stopPropagation();let n=(0,eu.k)(e.favoriteId)?e.favoriteId:"";(0,er.y8)("PersonaClicked",[n,o()]),_.FE.importAndExecute(e.favoriteId)},onContextMenu:t=>{t.stopPropagation(),t.preventDefault(),(0,w.el)(e.personaId)||(0,w.el)(e.emailAddress)||D(e.favoriteId,1,(0,B.Z)(t),e.searchFolderId)},renderRightCharm:()=>{let o;let i=0;if(n()){let n=V.ZP.folderTable.get(e.searchFolderId);if(n&&!t.get()&&n.pausedTotalCount&&(0,et.M1)((0,em.Z)("inbox",n.mailboxInfo))){let e=n.totalMessageCount-n.pausedTotalCount;e>0&&(o=(0,d.WU)((0,d.ZP)("Q47IHc"),e))}i=n?.UnreadCount||0}return 0!==i||o?r.createElement(G.g,{count:o||i,screenReaderText:(0,d.ZP)(ed.a),customStyle:o?"OT8YP":"fuUC7",isSelected:t.get()}):null},showAsHoverOnDroppedOver:!1,isFavorited:!0,toggleFavorite:()=>{(0,U.W)(e.favoriteId)},customTreeNodeTooltip:(0,V.kj)(e.displayName,(()=>{if(n()){let t=V.ZP.folderTable.get(e.searchFolderId);return t?t.totalMessageCount:0}return 0})(),o()),ellipsesOnHover:e.ellipsesOnHover,source:K.Y.favorite})))},"FavoritePersonaNode");function eg(e){let t=document.createElement("div");return t.className=H,t.innerText=e?.displayName??"",t}var ev=n(499082);let eh=(0,s.P)(function(e){let t=(0,C.v)(()=>e.searchQuery==(0,O.PZ)().id),n=t=>{switch(t.itemType){case T.X.FavoriteNode:return z(t,e.mailboxInfo);case T.X.MailFolderNode:return Q(t,e.mailboxInfo);default:return!1}},o=async t=>{if(n(t))switch(t.itemType){case T.X.MailFolderNode:await $(t,e.mailboxInfo,e.favoriteId);break;case T.X.FavoriteNode:await j(t,e.favoriteId)}};return r.createElement(M.Z,{getDragData:()=>({itemType:T.X.FavoriteNode,favoriteId:e.favoriteId,favoriteType:3,displayName:e.searchQuery,itemData:{mailboxInfo:e.mailboxInfo}}),getDragPreview:eI,xOffset:L.Qk,yOffset:L.o_,dropViewState:e.dropViewState,onDrop:o,canDrop:n},r.createElement(P.Z,{customIcon:ev.Z,displayName:e.searchQuery,isRootNode:!1,key:e.searchQuery,isDroppedOver:e.dropViewState.isDragOver,onClick:t=>{t.stopPropagation(),_.he.importAndExecute(e.searchQuery)},isSelected:t.get(),ellipsesOnHover:e.ellipsesOnHover,source:K.Y.favorite}))},"FavoriteSearchNode");function eI(e){let t=document.createElement("div");return t.className=H,t.innerText=e?.displayName??"",t}let eS=(0,s.P)(function(e){let t=e.favoriteId;if(k.gT.favoritesPersonaNodes.has(t)){let n=k.gT.favoritesPersonaNodes.get(t);if(!n)return null;if(n.mainEmailAddress)return n.personaId&&n.searchFolderId&&n.dropViewState?r.createElement(ef,{displayName:n.displayName,emailAddress:n.mainEmailAddress,personaId:n.personaId,searchFolderId:n.searchFolderId,dropViewState:n.dropViewState,isJustAdded:n.isJustAdded,isSearchFolderPopulated:n.isSearchFolderPopulated,mailboxInfo:(0,S.zl)(),ellipsesOnHover:e.ellipsesOnHover,...e}):null}else if(k.gT.favoritesFolderNodes.has(t)){let n=k.gT.favoritesFolderNodes.get(t),o=n&&5===n.type;if(o?eo.Z.folderTable.get(t):V.ZP.folderTable.get(t))return r.createElement(el,{folderId:t,isPublicFolder:o,ellipsesOnHover:e.ellipsesOnHover,...e})}else if(k.gT.favoriteSearches.has(t)){let n=k.gT.favoriteSearches.get(t);return n?r.createElement(eh,{searchQuery:t,dropViewState:n.dropViewState,mailboxInfo:(0,S.zl)(),ellipsesOnHover:e.ellipsesOnHover,...e}):null}else if(k.gT.favoriteCategories.has(t)){let n=k.gT.favoriteCategories.get(t);return n?r.createElement(q,{categoryId:t,dropViewState:n.dropViewState,mailboxInfo:(0,S.zl)(),ellipsesOnHover:e.ellipsesOnHover,...e}):null}return null},"FavoriteNode"),eb=new h.nI(()=>Promise.all([n.e(503441),n.e(298951),n.e(876716),n.e(117795),n.e(142628),n.e(299857),n.e(68907)]).then(n.bind(n,231887))),ew=(0,h.$y)(eb,e=>e.FavoritesPicker);var ey=n(205923),eP=n(418524),eC=n(837313),eE=n(383957),eZ=n(225930);let eM=(0,s.P)(function(e){let t=r.useRef(),n=async(t,n,o,r,i)=>{switch(t.itemType){case T.X.MailFolderNode:await $(t,e.mailboxInfo,e.favoriteId);break;case T.X.FavoriteNode:await j(t,e.favoriteId);break;case T.X.MultiMailListMessageRows:case T.X.MailListRow:eP.L9.importAndExecute(t,e.groupId,i)}},o=r.useCallback((t,n)=>{switch(t.itemType){case T.X.FavoriteNode:return z(t,e.mailboxInfo)?"move":"none";case T.X.MailFolderNode:return Q(t,e.mailboxInfo)?"move":"none";case T.X.MailListRow:case T.X.MultiMailListMessageRows:case T.X.MultiMailListConversationRows:let o=(0,eZ.Z)();if("GroupMailbox"===o.type||(0,R.M4)(o)!==(0,R.M4)(e.mailboxInfo))return"none";return(0,a.cr)("tri-dnd-copy")&&n?.ctrlKey?"copy":"move";default:return"none"}},[e.mailboxInfo]),i=(0,k.tw)(e.groupId),l=(0,w.Kk)(i),s=r.useCallback(t=>r.createElement(ey.V0,{groupId:t,mailboxInfo:e.mailboxInfo}),[e.mailboxInfo]),d=r.useCallback(t=>r.createElement(ey.Qq,{groupId:t,mailboxInfo:e.mailboxInfo}),[e.mailboxInfo]),c=r.useCallback(t=>(0,_.wM)(t,"favorites",e.mailboxInfo),[e.mailboxInfo]);return l.drop?r.createElement(M.Z,{dragViewState:l.drag,getDragData:()=>{let t=e.displayName;return{itemType:T.X.FavoriteNode,favoriteId:e.favoriteId,favoriteType:2,displayName:t,itemData:{mailboxInfo:e.mailboxInfo}}},getDragPreview:eT,xOffset:L.Qk,yOffset:L.o_,dropViewState:l.drop,onDrop:n,canDrop:o,onDragOver:()=>{t.current=!0},onDragLeave:()=>{t.current=!1}},r.createElement(eC.G,{selectGroup:function(t){_.fT.importAndExecute(t,"favorites",e.mailboxInfo)},isSelected:c,renderRightCharm:s,renderRightCharmHover:d,displayName:e.displayName,groupId:e.groupId,customIcon:eE.Z,isDroppedOver:l?.drop?.isDragOver&&t.current,isBeingDragged:l?.drag?.isBeingDragged,key:e.groupId,onContextMenu:t=>{t.stopPropagation(),t.preventDefault(),D(e.favoriteId,2,(0,B.Z)(t))},showHoverStateOnDroppedOver:l?.drop?.draggableItemType==T.X.MailListRow||l?.drop?.draggableItemType==T.X.MultiMailListMessageRows,isFavorited:!0,mailboxInfo:e.mailboxInfo,ellipsesOnHover:e.ellipsesOnHover})):null},"FavoriteGroupNode");function eT(e){let t=document.createElement("div");return t.className=H,t.innerText=e.itemData.displayName,t}var eF=n(13628);let ek=(0,s.P)(function(e){let t=(0,k.bh)();if(t.outlookFavorites.has(e.favoriteId)){let n=t.outlookFavorites.get(e.favoriteId);if(n&&(0,eF.bY)(n.mailboxInfo).stateType===eF.sp.NoError)switch(n?.type){case"folder":return(t=>{let n=t.folderId;return V.ZP.folderTable.get(n)?r.createElement(el,{key:e.favoriteId,folderId:n,ellipsesOnHover:e.ellipsesOnHover,...e}):null})(n);case"group":return r.createElement(eM,{key:e.favoriteId,displayName:n.displayName,groupId:n.groupId,mailboxInfo:n.mailboxInfo,ellipsesOnHover:e.ellipsesOnHover,...e});case"category":return r.createElement(q,{key:e.favoriteId,categoryId:n.categoryId,dropViewState:(0,w.Kk)(e.favoriteId).drop,mailboxInfo:n.mailboxInfo,ellipsesOnHover:e.ellipsesOnHover,...e});case"persona":return n.mainEmailAddress?r.createElement(ef,{key:e.favoriteId,displayName:n.displayName,emailAddress:n.mainEmailAddress,personaId:n.personaId??"",searchFolderId:n.searchFolderId??"",isSearchFolderPopulated:n.isSearchFolderPopulated,mailboxInfo:n.mailboxInfo,dropViewState:(0,w.Kk)(e.favoriteId).drop,isJustAdded:!1,ellipsesOnHover:e.ellipsesOnHover,...e}):null;case"publicFolder":return r.createElement(el,{key:e.favoriteId,folderId:n.publicFolderId,isPublicFolder:!0,ellipsesOnHover:e.ellipsesOnHover,...e});default:throw Error("FavoriteNodeV2 - favorite kind not supported")}}return null},"FavoriteNodeV2");var ex=n(669388),eR=n(243169);let eA=(0,s.P)(function(e){let t;let[n,o]=r.useState(""),l=(0,C.v)(()=>(0,k.bh)()),s=(0,a.cr)("fp-ellipsesOnHover"),c=(0,R.M4)(e.mailboxInfo),u=()=>{N(c,null)};return r.createElement(r.Fragment,null,(0,a.cr)("tri-favorites-roaming")?(t=(0,k.t9)()?l.get().orderedCombinedOutlookFavoritesIds:l.get().favoriteTreeData.get(c)?.orderedOutlookFavoritesIds)?((0,er.y8)("TnS_FavoriteFoldersRendered",[t.length,(0,R.M4)(e.mailboxInfo)===(0,R.M4)((0,S.zl)())]),t.map(e=>{let t=ex.default.folderTextFieldViewState;if(t&&t.folderId==e&&t.folderNodeType===K.Rq){let t=l.get().outlookFavorites.get(e).folderId,n=(0,V.mH)((0,V.Xe)().get(t));return r.createElement(L.kQ,{key:"favoriteTextField",folderId:t,treeType:K.Rq,nestDepth:0,operationType:"rename",originalValue:n,mailboxInfo:(0,J.qW)(t),ariaAnnouncementLabel:"qpB7De"})}return r.createElement(ek,{key:e,favoriteId:e,ellipsesOnHover:s})})):null:l.get().orderedFavoritesNodeIds.map(e=>r.createElement(eS,{key:e,favoriteId:e,ellipsesOnHover:s})),(()=>{let t;let n=w.bf(c)?.contextMenuState;return!n||n.showRootMenu?null:(n.folderId&&(t=5==n.nodeType?eo.Z.folderTable.get(n.folderId):V.ZP.folderTable.get(n.folderId)),r.createElement(eQ,{anchorPoint:n.anchor,nodeId:n.nodeId,nodeType:n.nodeType,folder:t,onDismiss:u,mailboxInfo:e.mailboxInfo}))})(),w.bf(c)?.shouldShowFindFavoritesPicker?r.createElement("div",{className:(0,i.Z)((0,f.KS)(eR.rp,eR.IV,eR.oA),eR._A)},r.createElement(ew,{mailboxInfo:e.mailboxInfo,onItemSelected:e=>{o((0,d.WU)((0,d.ZP)("z4Grzc"),e))}})):(0,a.cr)("fp-remove-links")?null:r.createElement(P.Z,{displayName:(0,d.ZP)(E),isCustomActionNode:!0,isRootNode:!1,key:"newFavorite",onClick:()=>{(0,w.gL)(c,!0),(0,er.y8)("FindFavoritesClicked")}}),r.createElement("span",{className:"screenReaderOnly","aria-live":"assertive","aria-atomic":"true"},n))},"FavoritesList");var eD=n(213661),eN=n(709),e_=n(901632),eO=n(949980),eL=n(546275),eV=n(900041),eB=n(679683);let eG=()=>{(0,k.Je)(!0),(0,er.y8)("FP_HideFavorites_LeftNav")},eU=(0,s.P)(function(e){let{anchorPoint:t,onDismiss:n,mailboxInfo:o}=e,i=r.useCallback((e,t)=>{(0,er.y8)("FP_AddFavoritesClicked"),y.Z()?.UserOptions?.IsFavoritesFolderTreeCollapsed&&w.Ne.importAndExecute();let n=(0,R.M4)(o);(0,w.gL)(n,!0)},[o]),a=r.useMemo(()=>[{key:"addFavorite",name:(0,d.ZP)(E),disabled:!1,onClick:i},{key:"hideFavorite",name:(0,d.ZP)("bD18Gd"),disabled:!1,onClick:eG}],[i,eG]);return r.createElement(eV.l,{directionalHint:eB.b.bottomLeftEdge,items:a,onDismiss:n,target:t})},"FavoritesRootContextMenu"),eH=(0,s.P)(function(e){let t;let{mailboxInfo:n}=e,o={role:I.ce.tree},i=(0,R.M4)(n),l=(0,k.Jc)(n),s=(0,a.cr)("fp-ellipsesOnHover"),[c,u]=r.useState(!1),p=r.useCallback(async e=>{e.stopPropagation(),l?w.Ne.importAndExecute():(await (0,V.t0)(n),(0,k.Rn)(n),eO.E.importAndExecute(n),eL.D.importAndExecute(n),u(!c))},[l,n,c]),f=()=>(0,S.Ly)().length>0&&(0,m.U$)()?n.mailboxSmtpAddress:null,g=()=>{N(i,null)},v=()=>{let t=w.bf(i)?.contextMenuState;return t&&t.showRootMenu?r.createElement(eU,{anchorPoint:t.anchor,onDismiss:g,mailboxInfo:e.mailboxInfo}):null},h=e=>{e.stopPropagation(),e.preventDefault(),(0,er.y8)("FP_ShowFavoriteRootCtxMenu"),D("favoritesRoot",0,(0,B.Z)(e),void 0,!0)};t=l?!y.Z()?.UserOptions?.IsFavoritesFolderTreeCollapsed:c&&k.bh().favoriteTreeData.get(i)?.loadingState===V.p0.Loaded,(0,er.y8)("TnS_FavoriteFoldersExpandedState",[l,t]);let C=r.useMemo(()=>({isExpanded:t,onClick:p,isAnimated:!0}),[t,p]);return r.createElement("div",{style:e.style,className:e.className,...(0,I.WO)(o)},((e,t,n)=>{let o=f(),i=o&&!(0,k.t9)()?(0,d.WU)((0,d.ZP)(b.Xy),o):(0,d.ZP)(b.Sb);return r.createElement(r.Fragment,null,r.createElement(P.Z,{chevronProps:e,displayName:i,depth:0,isRootNode:!0,isSelected:!1,key:"favoritesRoot",onClick:p,onContextMenu:h,setSize:t,positionInSet:n,ellipsesOnHover:s,source:K.Y.account}),v())})(C,e.setSize,e.positionInSet),r.createElement(e_.Z,{in:t,timeout:200,unmountOnExit:!0,classNames:eN.v},r.createElement("div",{className:eD.zB},r.createElement("div",{className:eD.er},r.createElement(eA,{key:"favoriteFolderList",mailboxInfo:n})))))},"Favorites");var eW=n(152806);let eK=(0,s.P)(function(e){if(!(!(0,k.t9)()&&(0,eW.U$)()))return r.createElement(eH,{mailboxInfo:(0,S.zl)(),...e});{let t=(0,S.Ly)(),{positionInSet:n,...o}=e;return r.createElement("div",{style:e.style},t.map(e=>S.z6.isM365Mailbox(e)&&r.createElement(eH,{key:e.sourceId,mailboxInfo:e.mailboxInfo,positionInSet:n++,...o})))}},"FavoritesTree");function ez(){return(0,a.cr)("tri-favorites-roaming")?k.gT.outlookFavorites.size>0:0+k.gT.favoritesFolderNodes.size+k.gT.favoritesPersonaNodes.size+k.gT.favoriteCategories.size>0}let ej=new h.nI(()=>n.e(120050).then(n.bind(n,120050))),eQ=(0,h.$y)(ej,e=>e.FavoriteNodeContextMenu),e$=(0,F.lr)("setIsDraggedOverState",function(e){ex.default.isDraggedOver=e});var eq=n(733857),eX="ou4TM",eY=n(385669),eJ=n(505376),e0=n(324090),e1=((o=e1||{}).Compact="12px",o.Full="12px",o.Simple="8px",o);let e3=(0,s.P)(function(){let{browser:e}=(0,eY.S7)(),t="Chrome"===e||"Edge Anaheim"===e,n=(0,i.Z)("OVIE8","zjEPs",(0,f.KS)("r5t0x","XcxaR","QyySM"),t&&eX,"customScrollBar","disableTextSelection");return r.createElement(c.k,{key:"folderPane",className:n,direction:u.U.vertical},r.createElement(e9,{isChromium:t,isSafari:"Safari"===e}))},"FolderPane");function e2(){let e=document.getElementById("folderPaneDroppableContainer");e&&(e.style.overflow="overlay")}function e5(){e$(!0)}function e6(){e$(!1);let e=document.getElementById("folderPaneDroppableContainer");e&&(e.style.overflow="")}function e4(){}let e9=(0,s.P)(function({isChromium:e,isSafari:t}){let n=(0,m.U$)()||(0,a.cr)("acct-multiacctcomingsoon"),o=function(){if(!(0,k.t9)())return ez()?1:0;{let e=(0,S.Ly)();return ez()?e.filter(e=>S.z6.isM365Mailbox(e)).length:0}}(),l=(0,eq.Ud)(n,o),s=(0,p.Z)(),c=S.Ns.StartupComplete,u=!y.Z()?.UserOptions?.IsMailRootFolderTreeCollapsed,h=(0,k.yy)(),I={paddingBottom:e1[(0,f.E3)()],paddingTop:0},b=(0,a.cr)("fp-ellipsesOnHover"),w=(0,eJ.d)(e0.j);return r.createElement(Droppable.Z,{id:"folderPaneDroppableContainer",onDragOver:e5,onDrop:e4,onDragEnter:e2,onDragLeave:e6,dropViewState:s,greedy:!0,classNames:(0,i.Z)("slWCo","customScrollBar",e&&eX,t&&"bn_Zl"),bypassActOnDrop:!0},r.createElement("div",{className:w?"Wfr_6":"qQbyL"},r.createElement("span",{className:"screenReaderOnly",role:"heading","aria-level":2},(0,d.ZP)(g.navigationPaneScreenReaderOnlyText)),o>0&&!h&&r.createElement(eK,{key:"favorites",className:(0,i.Z)("DPg26"),style:I,setSize:l,positionInSet:1}),!n&&r.createElement(eq.C9,{accountMailboxInfo:(0,S.zl)(),accountBootState:c,favoritesNodeCount:o,setSize:l,isExpanded:u,ellipsesOnHover:b}),n&&r.createElement(v.l,{key:"accounts",favoritesNodeCount:o,ellipsesOnHover:b})))},"FolderForest"),e7=new h.nI(()=>n.e(65286).then(n.bind(n,65286))),e8=(0,h.$y)(e7,e=>e.LeftnavStorageNotification),te=new h.nI(()=>n.e(48584).then(n.bind(n,48584))),tt=(0,h.$y)(te,e=>e.LeftnavUpsell);var tn=n(87253),to=n(240282),tr=n(167880),ti=n(725647);let ta=(0,s.P)(function(){var e;let t=(0,A.Q)(),n=l.Jj.tryImportForRender(),o=n?.(t).emailStorage.usagePercentage??0,s=(0,a.cr)("storage-msq",t),c=!(0,ti.m5)(t)&&!!(e=n?.(t))&&(!e.emailStorage.hasDismissedLeftNavBar&&e.emailStorage.state!=l.I2.Normal||!!(0,a.cr)("storage-msq",t)&&!(!e.microsoftStorage||(0,a.cr)("storage-revokedState",t)&&e.microsoftStorage.enforcementState===l.az)&&!e.microsoftStorage.hasDismissedLeftNavBar&&e.microsoftStorage.state!=l.I2.Normal),u=(0,to.Z)(void 0,t)&&!(0,ti.m5)(t)&&!(0,ti.cK)(t)&&-1===(0,d.gG)().indexOf("jp")&&!c&&!tn.B.isEffective,m=(0,eJ.d)(e0.j),p=(0,eJ.e)(e0.j),f=(0,i.Z)(m?MailModule.vO:MailModule.dl,p&&MailModule.zx);return r.createElement("div",{className:f},r.createElement(e3,null),c&&!s&&r.createElement(e8,{mailboxInfo:t,usagePercentage:o}),c&&s&&n?.(t)&&r.createElement(tr.H7,{mailboxInfo:t,storageInfos:n?.(t)}),u&&r.createElement(tt,null))},"FolderPaneContainer")},363562:(e,t,n)=>{let o,r,i,a,l,s,d,c;n.d(t,{Z:()=>MailView});var u=n(510265),m=n(302140),p=n(206339),f=n(402392),g=n(45580),v=n(194468),h=n(345301),I=n(330103),S=n(92935),b=n(996295),w=n(369595),y=n(621408),Droppable=n(855523),P=n(532658),C=n(466383),E=n(209952),Z=n(313380),M=n(556134),T=n(75953);let F=(0,T._)(e=>"compact"==e?k("12px","-4px","0px"):"medium"==e?k("14px","-1px","5px"):"full"==e?k("16px","6px","5px"):{});function k(e,t,n){return{components:{Pivot:{styles:{text:{fontSize:e,marginBottom:t},root:{marginTop:n}}}}}}var x=n(64906),R=n(274241),A=n(150064);let D=(0,u.P)(function(e){let t=(0,Z.bh)().tableViews.get(e.tableViewId),n=(0,x.KS)("K_Q7X","SD3tB","APoc1"),o=(0,R.T)(()=>({link:(0,A.Z)("HsYCD",n),linkIsSelected:(0,A.Z)("P9WAL",n),linkContent:"Q8sEA",text:(0,A.Z)("cW_Y8",n),root:(0,A.Z)("biyV2",n)}),[n]),r=(t,o,r,i,a)=>{let l=(0,A.Z)("G4ZU0",r!==i&&e.isSupportedItemTypeForDragDrop&&"dGZxs",e.shouldShowOnDropHoverTreatment&&"tLIEt",n);return h.createElement(Droppable.Z,{classNames:(0,A.Z)("KCqY7",n),dropViewState:(0,Z.au)(),onDrop:a},h.createElement("div",{className:l},o(t)))},i=h.useCallback((e,t)=>{if(e?.props.itemKey){let t=a(e.props.itemKey);(0,P.pT)(t,"FocusedOtherPivot")}},[]),a=e=>{switch(e){case"focused":return 0;case"other":return 1;default:return -1}},l=h.useCallback(t=>{e.onKeyDown(t,e.tableViewId)},[e]),s=(()=>{let e=(0,Z.JY)(t),n="";switch(e){case -1:n="inbox";break;case 0:n="focused";break;case 1:n="other"}return n})(),d=h.useCallback((t,n)=>r(t,n,"focused",s,e.onDropFocused),[e,s]),c=h.useCallback((t,n)=>r(t,n,"other",s,e.onDropOther),[e,s]);return h.createElement(M.f,{className:(0,A.Z)("VDlCs",n),applyTo:"none",theme:F((0,x.iT)())},h.createElement("div",{onKeyDown:l},h.createElement(E.o,{styles:o,selectedKey:`${s}`,onLinkClick:i},h.createElement(C.M,{headerText:(0,m.ZP)(y.m),itemKey:"focused",onRenderItemLink:d}),h.createElement(C.M,{headerText:(0,m.ZP)(w.f),itemKey:"other",onRenderItemLink:c}))))},"FocusedInboxPivot");var N=n(808930),_=n(645225),O=n(129376);let L=(0,u.P)(function(e){let t=(e,t)=>{let o=(0,Z.ii)();n(e.itemType)&&(0,Z.JY)(o)!==t&&O.QR.importAndExecute(e.rowKeys,e.tableViewId,t,"Drag")},n=e=>e==N.X.MailListRow||e==N.X.MultiMailListConversationRows||e==N.X.MultiMailListMessageRows;return h.createElement(D,{tableViewId:e.tableViewId,onDropFocused:e=>{t(e,0)},onDropOther:e=>{t(e,1)},onKeyDown:t=>{let n=(0,Z.bh)().tableViews.get(e.tableViewId),o=0==(0,Z.JY)(n);switch(t.keyCode){case 13:case 32:t.stopPropagation(),t.preventDefault(),(0,P.pT)(o?1:0,"Keyboard")}},isSupportedItemTypeForDragDrop:n(_.Z.typeOfItemBeingDragged),shouldShowOnDropHoverTreatment:(0,Z.au)().isDragOver})},"FocusedInboxHeader");var V=n(860215),B=n(110363),G=n(20443),U=n(357555),H=n(902041),W=n(341032),K=n(985062),z=n(338822),j=n(779742),Q=n(382092),$=n(366023);let q=(0,u.P)(function(e){let t=(0,H.Z)();if("inbox"===(0,W.Z)(t?.id??"")&&(0,G.lW)((0,$.KT)(e.tableViewId)))return h.createElement(L,{tableViewId:e.tableViewId,mailListHeaderStylesAsPerUserSettings:e.mailListHeaderStylesAsPerUserSettings});if(!t)return null;let n=t?.id,o=!(n&&((0,B.p$)(n,"SharedMailbox")||(0,B.p$)(n,"ArchiveMailbox")))&&!(0,U.P)(n),r=n&&((0,B.tA)(n)?(0,Q._n)(n):(0,Q.Ur)(n)),i=async e=>{e.stopPropagation(),!t||!n||(0,K.el)(n)||((0,B.tA)(n)?(await j.q7.import())(t):z.K$.importAndExecute(n,!!r,"FolderHeader"))};return h.createElement(V.Z,{text:(0,B.mH)(t),containerCssClass:e.containerCssClass,showFavoriteToggle:o,onFavoriteToggleClick:i,isInFavorites:r,styleSelectorAsPerUserSettings:e.mailListHeaderStylesAsPerUserSettings})},"MailListFolderHeaderSecondRowContent");var X=n(354244),Y=n(699903),J=n(538477),ee=n(754932),et=n(709077),en=n(324615),eo=n(243470),er=n(714506),ei=n(132641),ea=n(345535);let el=(0,u.P)(function(e){let t=(0,$.qW)(e.folderId),n=(0,et.J5)(),o=(0,eo.O)(8,t),r="junkemail"===(0,W.Z)(e.folderId),i=(0,G.lW)(t)&&"inbox"===(0,W.Z)(e.folderId),a=(0,x.KS)(ea.rp,ea.IV,ea.oA),l=(0,Z.e6)(e.tableViewId);return h.createElement("div",{className:(0,A.Z)(ea.g_,a),role:"heading","aria-level":2},h.createElement("span",{className:n&&o&&!r?ei.tJ:ei.fq,title:l},l),h.createElement(Y.r,{className:i?ei.BJ:ei.vM,onClick:()=>{(0,J.Mt)((0,er.Z)().tableViews.get(e.tableViewId),ee.Z.SingleLineClearSelection),(0,en.Fp)("MailListHeaderResetSelection")}},(0,m.ZP)("vFoTe")))},"MailListHeaderSelectionRowContent"),es=new f.nI(()=>n.e(398866).then(n.bind(n,398866))),ed=(0,f.$y)(es,e=>e.BulkActionProgressBar);var ec=n(697399),eu=n(410840),em=n(461788),ep=n(61727),ef=n(228465),eg=n(55314),ev=n(991709),eh=n(848635),eI=n(967599);function eS(e,t,n){let o,r,i,a,l;if(e){let e=(0,ef.bh)().previousNode,s=function(e){let t=e&&(0,Z.bh)().tableViews.get(e);if(t){if(1!=t.tableQuery.type)throw Error("getPersonaSuggestionPillHeaderData should not be called for non-search scenario");let e=t.tableQuery,n=e.pillSuggestions.filter(e=>e.kind==eI.is.People);if(e.pillSuggestions.length===n.length)return n}return null}(t)?.[0],d=e&&1===e.type,c=s&&n.mainEmailAddress===s.EmailAddresses[0],u=1===n.type&&!n.isSearchFolderPopulated&&c;o=void 0,s&&(r=s.DisplayName,i=s.EmailAddresses[0],l=s.MailboxType),a=u?"PersonaHeaderFromFallbackSearch":d&&c?"PersonaHeaderFromPersonaSearch":"PersonaHeaderFromFolderSearch"}else o=n.personaId,r=n.displayName,i=n.mainEmailAddress,a="PersonaHeader";return{personaId:o,displayName:r,email:i,origin:a,mailboxType:l}}var eb=n(985081),ew=n(45409),ey=n(718531),eP=n(67199),eC=n(34844),eE=n(93218),eZ=n(497358),eM=n(738402),eT=n(312459),eF=n(198453);function ek(e){return(0,p.cr)("tri-senderGroupings")&&e?.tableQuery?.scenarioType=="senderGroupings"}let ex=new f.nI(()=>n.e(178659).then(n.bind(n,178659))),eR=(0,f.$y)(ex,e=>e.SenderGroupingsHeader),eA=(0,T._)((e,t)=>{let n=(0,Z.bh)().tableViews.get(e);if(void 0==n)return h.createElement(h.Fragment,null);let o=(0,eF.L4)(n),r=(0,ec.PZ)(),i=1==n.tableQuery.type,a=i||3==r.type,l=(0,Z.$q)(n);if(2==n.tableQuery.type||(0,p.cr)("grp-loadFolders")&&3==n.tableQuery.type){let o=3===n.tableQuery.type,r=n.tableQuery;return h.createElement(eE.t,{groupId:o?r.groupId:r.folderId,folderId:o?r.folderId:void 0,tableViewId:e,styleSelectorAsPerUserSettings:t})}let s=(0,et.gS)()&&(n.isInCheckedMode&&n.selectedRowKeys.size>0||n.isInVirtualSelectAllMode);if(1===r.type){let n=eS(i,e,r);return n.displayName&&n.email?h.createElement(eZ.SV,{type:(0,p.cr)("fwk-devTools")?eZ.lt.Full:eZ.lt.None},h.createElement(ep.M,{isInSearch:a,hideFilter:null==l,personaId:n.personaId,personEmail:n.email,personName:n.displayName,favoriteActionSource:n.origin,mailboxType:n.mailboxType,headerButtonData:function(e,t){let n=[{icon:ey.Z,text:(0,m.ZP)(g.x),clickCallback:()=>{(0,eP.y8)("MailComposeFromHeader"),eC.$h.importAndExecute("PersonaHeader",{toEmailAddressWrappers:[{EmailAddress:e,Name:t}]})}}];return n.push({icon:"ContactCard",text:(0,m.ZP)("R780ce"),isLPCWrapped:!0,lpcClientScenario:"PersonaHeaderProfileButton",personaEmail:e,personaName:t,lpcLocationToOpen:"ExpandedView",clickCallback:()=>{(0,eP.y8)("ViewProfileFromHeader")}}),n}(n.email,n.displayName),headerActionsStylesAsPerUserSettings:t})):h.createElement(h.Fragment,null)}if(ek(n)){let n=eS(i,e,r);return h.createElement(eZ.SV,{type:(0,p.cr)("fwk-devTools")?eZ.lt.Full:eZ.lt.None},h.createElement(eR,{senderEmail:n.email,senderName:n.displayName,mailboxType:n.mailboxType,headerActionsStylesAsPerUserSettings:t}))}let d=null,c=null,u=null,f=null,w=!0,y={categoryName:null};if(n&&function(e,t){if(0===e.tableQuery.type){let n=(0,Z.N_)(e);n&&(t.categoryName=n)}else if(1===e.tableQuery.type){let n=e.tableQuery,o=n.pillSuggestions.filter(e=>e.kind===eI.is.Category);1===n.pillSuggestions.length&&1===o.length&&(t.categoryName=o[0].Name)}return null!==t.categoryName}(n,y)){if(w=!1,a){let e=n.tableQuery;d=t=>e.searchScenarioId===em.Z.GroupsMail?h.createElement(eg.ax,{className:t}):h.createElement(ef._5,{className:t,showModifiedQueryInformation:function(e=1){let{queryAlterationType:t}=(0,eh.d9)(eh.Y7.Mail);return 1==e||"NoResultFolderRefinerModification"===t}(3)})}let e=y.categoryName;c=s?eD(n):o=>{let r=n.tableQuery,i=r.searchScope,l=a?i?.kind==ew.D9.ArchiveMailbox?(0,m.ZP)(v.gy):(0,m.ZP)(v.uN):void 0;return h.createElement(h.Fragment,null,e&&h.createElement(eu.l,{key:e,categoryName:e,containerCssClass:o}),h.createElement(V.Z,{text:l,containerCssClass:o,styleSelectorAsPerUserSettings:t}),a&&h.createElement(ev.xn,{scenarioId:r.searchScenarioId}))}}else if(a){let e=n.tableQuery;w=!1,d=t=>e.searchScenarioId===em.Z.GroupsMail?h.createElement(eg.ax,{className:t}):h.createElement(ef._5,{className:t}),s?n&&(c=eD(n)):c=n=>{let o=e.searchScope,r=o?.kind==ew.D9.ArchiveMailbox?(0,m.ZP)(v.gy):(0,m.ZP)(v.uN);return h.createElement(h.Fragment,null,(0,eT.sF)()&&o?.kind===ew.D9.PrimaryMailbox?h.createElement(eT.kq,{mailListHeaderStylesAsPerUserSettings:t}):h.createElement(V.Z,{text:r,containerCssClass:n,styleSelectorAsPerUserSettings:t}),h.createElement(ev.xn,{scenarioId:e.searchScenarioId}))}}else{let r,i,a,l;let d=n.tableQuery.folderId;(0,eb.ZP)(d)?(r=S.Rg,i=(0,I.Z)(S.Rg,o),l="archiveFolderTree",a=S.SO):(r=S._r,i=(0,I.Z)(S._r,o),l="primaryFolderTree",a=S.CJ);let m=i===d,p="notes"===(0,W.Z)(d);w=!m&&!p,u=e=>{let o=b.Cq.tryImportForRender();return o?.(r,i,a,d,l,t,e,n)},m&&(c=e=>h.createElement(V.Z,{text:(0,B.mH)(B.ZP.folderTable.get(i)),containerCssClass:e,showFavoriteToggle:!1,styleSelectorAsPerUserSettings:t},null)),c||(c=s?eD(n):n=>h.createElement(q,{tableViewId:e,containerCssClass:n,mailListHeaderStylesAsPerUserSettings:t},null)),(0,eM.dm)(d)&&(f=()=>h.createElement(ed))}return h.createElement(X.Z,{tableViewId:e,shouldShowFilterMenu:w,filterMenuSource:"MailFilterMenu",renderFirstRow:d,renderSecondRowCustomContent:c,renderThirdRow:u,renderBulkActionProgressBar:f,mailListHeaderStylesAsPerUserSettings:t},null)});function eD(e){return t=>h.createElement(el,{numChecked:e.selectedRowKeys.size,containerCssClass:t,tableViewId:e.id,folderId:e.tableQuery.folderId},null)}var eN=n(725647),e_=n(710511),eO=n(850331),eL=n(706964),eV=n(712728);let eB=new f.nI(()=>Promise.all([n.e(437255),n.e(188056),n.e(779285),n.e(140902),n.e(23460),n.e(780545),n.e(980246),n.e(68573),n.e(318335),n.e(531754),n.e(94524)]).then(n.bind(n,484429))),eG=(0,f.$y)(eB,e=>e.MailListItemContextMenu);var eU=n(954001),eH=n(795865),eW=n(581844);let eK=[{type:eU.s.gap,width:"12%"},{type:eU.s.line,width:"24%"},{type:eU.s.gap,width:"64%"}],ez=[{type:eU.s.line,width:"66%"},{type:eU.s.gap,width:"36%",height:28},{type:eU.s.line,width:"10%"},{type:eU.s.gap,width:"4%",height:28}],ej=[{type:eU.s.gap,width:"12%"},{type:eU.s.line,width:"50%"},{type:eU.s.gap,width:"38%"}],eQ=(0,u.P)(function(e){let t=(0,x.iT)(),n=(0,R.T)(()=>({background:(0,x.XN)().neutralPrimarySurface,shimmer:(0,x.XN)().neutralLight,shimmerWave:(0,x.XN)().neutralLighter}),[]),o=(0,R.T)(()=>[{type:eU.s.gap,width:"16px",height:28},"full"===t?{type:eU.s.circle,height:28}:{type:eU.s.gap,width:"28px",height:28},{type:eU.s.gap,width:"100%",height:28}],[t]),r=h.useMemo(()=>h.createElement("div",{className:"oj6f5"},h.createElement("div",{className:"EZxd3"},h.createElement(eH.N,{width:"100%",shimmerElements:o,backgroundColor:(0,x.XN)().neutralPrimarySurface})),h.createElement("div",{className:"LZlN_"},h.createElement(eH.N,{shimmerElements:ez,backgroundColor:(0,x.XN)().neutralPrimarySurface}))),[o,(0,x.XN)().neutralPrimarySurface]);return h.createElement("div",{className:(0,A.Z)((0,x.KS)("emOWM",void 0,"FSTCO"),e.isFirstMessage?"ihcWa":"x5qK1","ai3hL")},h.createElement(eW.q,{shimmerElements:eK,shimmerColors:n}),h.createElement(eW.q,{improveCSSPerformance:!0,customElementsGroup:r,shimmerColors:n}),h.createElement(eW.q,{shimmerElements:ej,shimmerColors:n}))},"ShimmerRowThreeCol"),e$=[{type:eU.s.line,width:"12%"},{type:eU.s.gap,width:"6%",height:28},{type:eU.s.line,width:"60%"},{type:eU.s.gap,width:"14%",height:28},{type:eU.s.line,width:"6%"},{type:eU.s.gap,width:"2%",height:28}],eq=(0,u.P)(function(e){let t=(0,x.iT)(),n=(0,R.T)(()=>({background:(0,x.XN)().neutralPrimarySurface,shimmer:(0,x.XN)().neutralLight,shimmerWave:(0,x.XN)().neutralLighter}),[]),o=(0,R.T)(()=>({width:"full"===t?"5%":"4%"}),[t]),r=(0,R.T)(()=>({width:"full"===t?"95%":"96%"}),[t]),i=(0,R.T)(()=>[{type:eU.s.gap,width:"32px",height:28},"full"===t?{type:eU.s.circle,height:28}:{type:eU.s.gap,width:"28px",height:28},{type:eU.s.gap,width:"24px",height:28}],[t]),a=h.useMemo(()=>h.createElement("div",{className:"YdqPY"},h.createElement("div",{style:o},h.createElement(eH.N,{width:"100%",shimmerElements:i,backgroundColor:(0,x.XN)().neutralPrimarySurface})),h.createElement("div",{style:r},h.createElement(eH.N,{shimmerElements:e$,backgroundColor:(0,x.XN)().neutralPrimarySurface}))),[o,r,i,(0,x.XN)().neutralPrimarySurface]);return h.createElement("div",{className:(0,A.Z)((0,x.KS)("V2DTI",void 0,"pMWH4"),e.isFirstMessage?"zUVP4":"ZFFAK","oU7Uf")},h.createElement(eW.q,{improveCSSPerformance:!0,customElementsGroup:a,shimmerColors:n}))},"ShimmerRowSLV"),eX=(0,u.P)(function(e){let t=[],n=!(0,et.J5)(),o=(0,x.iT)(),r=0,i=(0,et._Z)(!1);n?"full"===o?r+=6:r+=10:"full"===o?r+=4:r+=6;let a=0;for(;r<e.heightOfView;)t.push(n?h.createElement(eQ,{key:a,isFirstMessage:0===a}):h.createElement(eq,{key:a,isFirstMessage:0===a})),++a,r+=i;return h.createElement("div",{className:(0,A.Z)("VbXNP","fqEuY")},t)},"MailListShimmerState"),eY=new f.nI(()=>n.e(556780).then(n.bind(n,497693))),eJ=(0,f.$y)(eY,e=>e.MailListEmptyState);var e0=n(531359),e1=n(53219),e3=n(52863),e2=n(289126),e5="Cz7T5",e6=n(195737),e4=n(803908),e9=n(10440),e7=n(227297),e8=n(309358),te=n(344475),tt=n(127246);let tn=h.createContext({itemIds:[],currentLoadedIndex:0,isLoadRowsInProgress:!1,listProps:void 0,loadingComponent:void 0,onRenderRow:()=>h.createElement(h.Fragment,null),onRenderHeader:void 0,rowHeightChanged:void 0,PreRowsComponent:void 0,MidRowsComponent:void 0,midRowsComponentRowNumber:-1,PostRowsComponent:void 0}),to=(0,u.P)(h.forwardRef(function(e,t){let{className:n,currentLoadedIndex:o,estimatedRowHeight:r,getCanLoadMore:i,isLoadRowsInProgress:a,onLoadMoreRows:l,onScroll:s,focusedRowKeyIndex:d,focusedNodeId:c,updateStartAndEndIndices:u,activeAnimationsCount:p,hiddenRowIndices:f}=e,g=h.useRef(null),v=h.useRef(null),I=h.useRef(null),[S,b]=h.useState(null),w=h.useCallback(e=>{I.current=e,b(e)},[]),y=(0,m.fI)(),P=h.useMemo(()=>y?{direction:"rtl"}:{},[y]),C=h.useRef(s);C.current=s;let E=h.useRef([]),[Z]=(0,e7.n)("VirtualizedLoadMoreListView_ET",g),M=e.dataSourceId;h.useEffect(()=>{let e=I.current;e&&0!==e.scrollTop&&(e.scrollTop=0)},[M]),h.useEffect(()=>{if(S){let e=e=>{let t=S.scrollTop,n=S.offsetHeight;C.current?.(e,t,n)};return S.addEventListener("scroll",e),function(){S.removeEventListener("scroll",e)}}},[S]);let T=(0,tt.Z)(()=>{v.current?.forceUpdate()},10,{leading:!0,trailing:!0}),F=h.useCallback((e,t,n=!1)=>{if(E.current[e]!==t){let o=0===E.current[e];E.current[e]=t;let r=!o&&!n;v.current?.resetAfterIndex(e,r),r||T()}},[]),k=(0,R.T)(()=>({itemIds:e.itemIds,currentLoadedIndex:o,isLoadRowsInProgress:a,listProps:e.listProps,loadingComponent:e.loadingComponent,onRenderRow:e.onRenderRow,onRenderHeader:e.onRenderHeader,rowHeightChanged:F,PreRowsComponent:e.PreRowsComponent,MidRowsComponent:e.MidRowsComponent,midRowsComponentRowNumber:e.midRowsComponentRowNumber,PostRowsComponent:e.PostRowsComponent}),[e.itemIds,o,a,e.listProps,e.loadingComponent,e.onRenderRow,e.onRenderHeader,F,e.PreRowsComponent,e.MidRowsComponent,e.midRowsComponentRowNumber,e.PostRowsComponent]),x=h.useRef({start:0,end:0}),D=h.useRef(o);D.current=o;let N=h.useCallback(()=>{let{start:e,end:t}=x.current,n=0;return f.forEach(o=>{o+1>=e&&o+1<=t&&n++}),n},[f]),[_,O]=h.useState(!1),L=h.useRef(_);L.current=_;let V=h.useCallback(()=>{let{start:e,end:t}=x.current,n=Math.max((t-e-N())*2,0),o=D.current-t<n;L.current!==o&&(L.current=o,O(o)),o&&i()&&l()},[i,l,N]),B=h.useCallback(e=>{let{visibleStartIndex:t,visibleStopIndex:n}=e;x.current={start:t,end:n},u(t,n),V()},[V]);h.useEffect(()=>{V()},[o]),h.useEffect(()=>{0===p&&V()},[p]),h.useImperativeHandle(t,()=>({getScrollRegion:()=>I.current,setFocus:()=>I.current?.focus()}),[]),h.useEffect(()=>{let{start:e,end:t}=x.current;if(null!=d&&-1!==d&&!(0===e&&0===t)){let n=d+1;(n<e||n>t)&&v.current?.scrollToItem(n)}},[d,c]);let G=o+2;return h.createElement(tn.Provider,{value:k},h.createElement("div",{className:(0,A.Z)("X4w2q",e.rowWrapperClass)},h.createElement("div",{ref:g,className:"FiPRo"},h.createElement(te.S_,{ref:v,outerRef:w,className:n,width:Z?.width||0,height:Z?.height||0,overscanCount:4,onItemsRendered:B,itemCount:G,itemSize:e=>0===e?E.current[0]??0:E.current[e]??r,estimatedItemSize:r,style:P},tr))))}),"VirtualizedLoadMoreListView"),tr=(0,u.P)(function(e){let{itemIds:t,currentLoadedIndex:n,isLoadRowsInProgress:o,listProps:r,loadingComponent:i,onRenderRow:a,onRenderHeader:l,rowHeightChanged:s,PreRowsComponent:d,MidRowsComponent:c,midRowsComponentRowNumber:u,PostRowsComponent:m}=h.useContext(tn),p=h.useCallback(e=>l?l(e>0&&e<=n?t[e-1]:null,t[e]):null,[l,n,t]),f=h.useCallback(e=>{if(0===e)return d?h.createElement(d,null):null;if(e===n+1)return m?h.createElement(m,null):null;let l=e-1;if(l<0||l>=n)return null;let s=p(l),f=e===u&&c?h.createElement(c,null):null,g=a(t[l],l,r),v=l==n-1&&o&&i;return s||f||g||v?h.createElement(h.Fragment,null,s,f,g,v):null},[p,a,n,r,o,i,t,u,d,c,m]);return h.createElement(ti,{...e,renderContent:f,onRowHeightChanged:s})},"VariableSizeRowWrapper"),ti=(0,u.P)(function(e){let t=h.useRef(null),{onRowHeightChanged:n,index:o}=e,r=h.useCallback(e=>{t.current&&n?.(o,e.height)},[n,o]);(0,e8.y)("VirtualizedLoadMoreListView_RO",t,r);let i=e.renderContent(o);return i?h.createElement("div",{style:e.style},h.createElement("div",{ref:t,"data-animatable":!0,className:"EeHm8"},i)):(n?.(o,0,!0),null)},"VariableSizeListRowInner");var ta=n(308105),tl=n(795839),ts=n(787012);let td={virtualizedGroupHeaders:new ts.ObservableMap({})},tc=(0,tl.MT)("VirtualizedMailGroupHeader",td)();function tu(e,t){let n=tc.virtualizedGroupHeaders,o=[...e.rowKeys];return n.forEach(n=>{n.isCollapsed&&n.rowKeys.forEach(n=>{let r=o.indexOf(n),i=Z.H4.getIsPinned(n,e)&&t;r>-1&&!i&&o.splice(r,1)})}),o}var tm=((r=tm||{})[r.None=0]="None",r),tp=((i=tp||{})[i.Pinned=1]="Pinned",i[i.Today=2]="Today",i[i.Yesterday=3]="Yesterday",i[i.ThisWeek=4]="ThisWeek",i[i.LastWeek=5]="LastWeek",i[i.ThisMonth=6]="ThisMonth",i[i.LastMonth=7]="LastMonth",i[i.Older=8]="Older",i[i.OneMonthOlder=9]="OneMonthOlder",i[i.TwoMonthsOlder=10]="TwoMonthsOlder",i),tf=((a=tf||{})[a.Tiny=11]="Tiny",a[a.Small=12]="Small",a[a.Medium=13]="Medium",a[a.Large=14]="Large",a[a.VeryLarge=15]="VeryLarge",a[a.Huge=16]="Huge",a[a.Enormous=17]="Enormous",a),tg=((l=tg||{})[l.Unknown=18]="Unknown",l),tv=((s=tv||{})[s.Nudged=19]="Nudged",s),th=((d=th||{})[d.Pinned=20]="Pinned",d),tI=((c=tI||{})[c.Category=21]="Category",c),tS=n(636283);function tb(e,t,n,o){if(!t)return tS.g4.warn("getMailListGroupHeader: currentRowKey is not supposed to be null."),null;if(!o||!o.getGroupHeader||o.hideFirstHeader&&null==e)return null;let r=e?o.getGroupHeader(e,n):{headerId:tm.None},i=o.getGroupHeader(t,n);return i.headerId!=tm.None&&r.headerId!=i.headerId?i.headerText():null}function tw(e,t){let n=Z.H4.getExecuteSearchSortOrder(e,t),o=1==n||"Relevance"===n?(0,m.ZP)("fQMVRc"):(0,m.ZP)("xDqb0b");return{headerText:()=>o,headerId:o}}var ty=n(538565);let tP="A3YVjc",tC="c7MgDc";var tE=n(445069),tZ=n(523276),tM=n(768723),tT=n(907956),tF=n(333436),tk=n(500126),tx=n(210153),tR=n(355317),tA=n(825538),tD=n(409941),tN=n(666514),t_=n(966050),tO=n(240282),tL=n(365807),tV=n(52924);let tB=[];var tG=n(417162);function tU(e,t){let n=(0,G.OX)(t.tableQuery);if((0,tG._g)(e,t.id,Z.H4.getLastDeliveryOrRenewTimeStamp(e,t)))return{headerText:()=>"",headerId:tv.Nudged,rangeStartTime:null,rangeEndTime:null};if(Z.H4.getIsPinned(e,t)&&n)return{headerText:()=>(0,m.ZP)("Oy$hOd"),headerId:th.Pinned,rangeStartTime:null,rangeEndTime:null};{let r;r=n?Z.H4.getLastDeliveryOrRenewTimeStamp:t?.tableQuery?.folderId&&"drafts"===(0,W.Z)(t.tableQuery.folderId)?Z.H4.getLastModifiedTimeStamp:Z.H4.getLastDeliveryTimeStamp;try{let n=r(e,t),i=(0,ty.vk)(n);return function(e){let t=(0,tL.xp)();(0==tB.length||!(0,ty.KC)(o,t))&&(tB=function(e,t){let n=[(0,m.ZP)(t_.V),(0,m.ZP)(tN.o),(0,m.ZP)(tD.m),(0,m.ZP)(tA.C),(0,m.ZP)(tR.Q),(0,m.ZP)(tx.K),(0,m.ZP)(tk.$),(0,m.ZP)(tF.f),(0,m.ZP)(tT.S),(0,m.ZP)(tM.r),(0,m.ZP)(tZ.G),(0,m.ZP)(tE.X)],o={adjustedTime:e,currentYear:(0,ty.So)(e),lastWeek:(0,ty.zJ)((0,ty.t)(e,1),t),oneMonthAgo:(0,ty.Nm)((0,ty.W9)(e,1)),pinnedItemTimestamp:(0,ty.db)(4500,8,1),startofThisMonth:(0,ty.Nm)(e),startOfThisWeek:(0,ty.zJ)(e,t),todayStartTime:(0,ty.b7)(e),tomorrowStartTime:(0,ty.b7)((0,ty.E4)(e,1)),twoMonthsAgo:(0,ty.Nm)((0,ty.W9)(e,2)),yesterdayStartTime:(0,ty.b7)((0,ty.kw)(e,1))};return function(e,t,n){let o=[];for(let r of t){let t=function(e,t,n){switch(t){case 0:return[{headerText:()=>(0,m.ZP)(tC),headerId:tp.Pinned,rangeStartTime:e.pinnedItemTimestamp,rangeEndTime:(0,ty.v8)(e.pinnedItemTimestamp,1)}];case 1:return[{headerText:()=>(0,m.ZP)("dCm_kd"),headerId:tp.Today,rangeStartTime:e.todayStartTime,rangeEndTime:e.tomorrowStartTime}];case 2:return[{headerText:()=>(0,m.ZP)("STBPS"),headerId:tp.Yesterday,rangeStartTime:e.yesterdayStartTime,rangeEndTime:e.todayStartTime}];case 3:return[{headerText:()=>(0,m.ZP)("Kb_beb"),headerId:tp.ThisWeek,rangeStartTime:e.startOfThisWeek,rangeEndTime:e.yesterdayStartTime}];case 4:return[{headerText:()=>(0,m.ZP)("SbQ65b"),headerId:tp.LastWeek,rangeStartTime:e.lastWeek,rangeEndTime:e.startOfThisWeek}];case 5:if(e.startofThisMonth<e.yesterdayStartTime)return[{headerText:()=>(0,m.ZP)("Yunzbe"),headerId:tp.ThisMonth,rangeStartTime:e.startofThisMonth,rangeEndTime:e.yesterdayStartTime}];return[];case 6:return[{headerText:()=>(0,m.ZP)("GZ2HSb"),headerId:tp.LastMonth,rangeStartTime:e.oneMonthAgo,rangeEndTime:e.startofThisMonth}];case 7:let o=[],r=2,i=(0,ty.Nm)((0,ty.W9)(e.adjustedTime,r)),a=(0,ty.Nm)((0,ty.W9)(e.adjustedTime,r-1));for(;(0,ty.So)(i)===e.currentYear;){let t=n[(0,ty.jw)(i)];o.push({headerText:()=>t,headerId:t,rangeStartTime:i,rangeEndTime:a}),r++,i=(0,ty.Nm)((0,ty.W9)(e.adjustedTime,r)),a=(0,ty.Nm)((0,ty.W9)(e.adjustedTime,r-1))}return o;case 8:let l=[],s=1,d=(0,ty.em)((0,ty.eM)(e.adjustedTime,s)),c=(0,ty.em)((0,ty.eM)(e.adjustedTime,s-1));for(;(0,ty.So)(d)>=1970;){let t=(0,ty.So)(d);l.push({headerText:()=>t.toString(),headerId:t,rangeStartTime:d,rangeEndTime:c}),s++,d=(0,ty.em)((0,ty.eM)(e.adjustedTime,s)),c=(0,ty.em)((0,ty.eM)(e.adjustedTime,s-1))}return l;case 9:return[{headerText:()=>(0,m.ZP)("oV3RWd"),headerId:tp.Older,rangeStartTime:ty.EH,rangeEndTime:e.twoMonthsAgo}];case 10:return[{headerText:()=>n[(0,ty.jw)(e.oneMonthAgo)],headerId:tp.OneMonthOlder,rangeStartTime:e.oneMonthAgo,rangeEndTime:e.startofThisMonth}];case 11:return[{headerText:()=>n[(0,ty.jw)(e.twoMonthsAgo)],headerId:tp.TwoMonthsOlder,rangeStartTime:e.twoMonthsAgo,rangeEndTime:e.oneMonthAgo}];default:throw Error("Invalid TimeGroupHeaderType passed to mapHeaderTypeToTimeGroupHeaders")}}(e,r,n);o.push(...t)}return o}(o,(0,tO.Z)()?[0,1,2,5,10,11,9]:[0,1,2,3,4,5,6,7,8],n)}(t,tV.Z().UserOptions?.WeekStartDay),o=t);for(let t=0;t<tB.length;t++){let n=tB[t];if(!(0,ty.RR)(e,n.rangeStartTime)&&(0,ty.RR)(e,n.rangeEndTime))return n}return{headerText:()=>(0,m.ZP)(tP),headerId:tm.None,rangeStartTime:null,rangeEndTime:null}}(i)}catch(n){let e=t.tableQuery.folderId?(0,W.Z)(t.tableQuery.folderId):null;return(0,eP.y8)("TnS_DateTimeNotFound",[e]),{headerText:()=>(0,m.ZP)(tP),headerId:tm.None,rangeStartTime:null,rangeEndTime:null}}}}let tH="Fe_HIe",tW=[];var tK=n(262013),tz=n(890040),tj=n(953544),tQ=n(34882),t$=n(459672),tq=n(511943),tX=n(136851),tY=n(788454),tJ=n(22497);function t0(e){let t=(0,tQ.z)(e.tableQuery).headerGeneratorType;switch(t){case"RelevanceHybrid":return t1(e.tableQuery);case"FromTo":return t3;case"Size":return t2;case"Importance":return t5;case"Subject":return t4;case"Category":return t6;case"DateTime":return t9(e.tableQuery);default:(0,t$.v)(t)}}let t1=e=>({getGroupHeader:tw,hideFirstHeader:e.searchTab==tJ.y.Mail&&(0,p.cr)("sea-searchTabs-allTab")}),t3={getGroupHeader:function(e,t){let n=9===(0,Z.q6)(t).sortColumn?Z.H4.getUniqueRecipients(e,t):Z.H4.getUniqueSenders(e,t),o=(0,m.ZP)(tH),r=tg.Unknown;return n&&n.length>0&&(o=n[0],r=n[0]),{headerText:()=>o,headerId:r}},hideFirstHeader:!1},t2={getGroupHeader:function(e,t){0==tW.length&&tW.push({headerId:tf.Tiny,headerText:()=>(0,m.ZP)("ijQHOe"),greaterThanSize:0},{headerId:tf.Small,headerText:()=>(0,m.ZP)("NIDBhd"),greaterThanSize:10240},{headerId:tf.Medium,headerText:()=>(0,m.ZP)("BSJWie"),greaterThanSize:25600},{headerId:tf.Large,headerText:()=>(0,m.ZP)("DFNSCc"),greaterThanSize:102400},{headerId:tf.VeryLarge,headerText:()=>(0,m.ZP)("jmXtme"),greaterThanSize:512e3},{headerId:tf.Huge,headerText:()=>(0,m.ZP)("ppR$Vb"),greaterThanSize:1048576},{headerId:tf.Enormous,headerText:()=>(0,m.ZP)("mvTQab"),greaterThanSize:5242880});let n=Z.H4.getSize(e,t);for(let e=tW.length-1;e>=0;e--)if(n>tW[e].greaterThanSize)return tW[e];let o="getGroupHeaderForSortBySizeMissingSize";return(0,eP.y8)(o),tS.g4.warn(o),{headerText:tW[0].headerText,headerId:tW[0].headerId}},hideFirstHeader:!1},t5={getGroupHeader:function(e,t){let n,o=Z.H4.getImportance(e,t);switch(o){case"Low":n=(0,m.ZP)(tj.I);break;case"Normal":n=(0,m.ZP)(tz.h);break;case"High":n=(0,m.ZP)(tK.X);break;default:n=(0,m.ZP)(tz.h),o="Normal"}return{headerText:()=>n,headerId:o}},hideFirstHeader:!1},t6={getGroupHeader:function(e,t){let n=(0,tY.m)((0,eF.L4)(t),e),o=(0,m.ZP)(tP),r=tI.Category;return""!==n&&(o=n,r=n),{headerText:()=>o,headerId:r}},hideFirstHeader:!1},t4=null,t9=(0,T._)(e=>(0,eo.O)(2,(0,tq.zl)())||"scheduled"===(0,W.Z)(e.folderId)&&e?.sortBy?.sortColumn===15?t4:{getGroupHeader:tU,hideFirstHeader:!(0,p.cr)("mon-tri-monarchPinnedGroupHeader")&&((0,tX.Ws)(e)||(0,G.OX)(e))});var t7=n(749518);let t8=(0,tl.lr)("addVirtualizedGroupHeadersAction",function(){let e;let t=(0,Z.ii)(),n=[...t.rowKeys],o="",r="",i="",a=tc.virtualizedGroupHeaders;n.forEach(n=>{let l=tb(o,r=n,t,t0(t));if(l){let t=a.get(l);if(t)i=l,t.rowKeys.push(r);else{let t=a.get(i);t&&(t.isLoadingOfRowKeysComplete=!0),i=l,e={isCollapsed:!1,isLoadingOfRowKeysComplete:!1,rowKeys:[r]},a.set(l,e)}}else{let e=a.get(i);e&&!e.rowKeys.includes(r)&&(e.rowKeys.push(r),a.set(i,e))}o=r});let l=a.get(i);l&&!(0,t7.UQ)(t)&&(l.isLoadingOfRowKeysComplete=!0)}),ne=(0,tl.lr)("toggleVirtualizedGroupHeaderCollapse",function(e){let t=tc.virtualizedGroupHeaders.get(e);t&&(t.isCollapsed=!t.isCollapsed)});var nt=n(40540),nn=n(331063),no=n(742346),nr=n(471629),ni=n(430755),na=n(552691),nl=n(595659),ns=n(690673),nd=n(401081),nc=n(498030),nu=n(685564),nm=n(283189),np=n(780948),nf=n(752738),ng=n(598415);function nv(e){switch(e){case"PinInitial":case"PinFinal":case"UnpinInitial":case"UnpinFinal":return{duration:183,easing:"cubic-bezier(0.4, 0, 0.2, 1)",fill:"forwards"};default:return{duration:250,easing:"cubic-bezier(0.17, 0.17, 0.2, 1)",fill:"forwards"}}}function nh(e){e.animationCallback?.()}function nI(e){switch(e){case"PinInitial":return"PinMiddle";case"PinMiddle":return"PinFinal";case"UnpinInitial":return"UnpinMiddle";case"UnpinMiddle":return"UnpinFinal";case"AddRowInitial":return"AddRowFinal"}return"-"}function nS(e,t){let{animationAction:n,animationRowIds:o,animationCallback:r}=e;"PinInitial"==n||"UnpinInitial"==n?(t.forEach(e=>{o?.has(e.id)&&(e.style.background="unset")}),(0,nt.xZ)(Array.from(o),nI(n),r)):"PinMiddle"==n||"UnpinMiddle"==n?(0,nt.xZ)(Array.from(o),nI(n)):"PinFinal"==n||"UnpinFinal"==n||"AddRowFinal"==n?t.forEach(e=>{o?.has(e.id)&&(e.style.background="unset")}):"AddRowInitial"==n?(0,nt.xZ)(Array.from(o),nI(n)):(t.forEach(e=>{o?.has(e.id)&&(e.style.opacity="0")}),nh(e)),(0,nt.e)(e)}function nb(e){switch(e){case"Delete":case"Archive":return[{transform:"translateX(0%)",opacity:1},{transform:"translateX(-100%)",opacity:0}];case"Snooze":case"Move":return[{transform:"translateY(0%)",opacity:1},{transform:"translateY(100%)",opacity:0}];case"PinInitial":return[{transform:"translateY(0) scale(100%)",transformOrigin:"center",opacity:1},{transform:"translateY(-100%) scale(80%)",transformOrigin:"center",opacity:0}];case"AddRowFinal":case"UnpinFinal":return[{transform:"translateY(-100%) scale(80%)",transformOrigin:"center",opacity:0},{transform:"translateY(0) scale(100%)",transformOrigin:"center",opacity:1}];case"PinFinal":return[{transform:"translateY(100%) scale(50%)",transformOrigin:"center",opacity:0},{transform:"translateY(0) scale(100%)",transformOrigin:"center",opacity:1}];case"UnpinInitial":return[{transform:"translateY(0) scale(100%)",opacity:1},{transform:"translateY(100%) scale(50%)",opacity:0}];default:return[]}}function nw(e){let t=(0,x.BR)();switch(e){case"Delete":return t?"#442726":"#FEF2F3";case"Archive":return t?"#393D1B":"#DFF6DD";case"Snooze":case"Move":return t?"#FED9CC":"#FFF4CE";case"PinInitial":case"PinMiddle":case"PinFinal":case"AddRowFinal":return t?"#2B88D8":"#EFF6FC";default:return"transparent"}}let ny=(e,t,n,o,r,i)=>{let a=0;e.forEach(e=>{let{right:l,bottom:s,left:d,width:c,height:u,x:m}=e.getBoundingClientRect();n.set(e.id,e.getBoundingClientRect());let p=e.getBoundingClientRect().y+a;o.set(e.id,{top:p,right:l,bottom:s,left:d,width:c,height:u,x:m,y:p}),t.has(e.id)&&(i?a-=e.getBoundingClientRect().height:(e.style.display="block",a+=e.getBoundingClientRect().height,e.style.display="unset"));let f=document.getElementById(`${e.id}_itemPartWrapper`),g=Array.from(f?.children??[]);if(g.length>0){if(0!==a){let l=`${e.id}_expansionAnimationWrapper`,s=document.getElementById(l);if(s){let d=s.getBoundingClientRect();n.set(l,d);let c=d.y+a;o.set(l,{...d,top:c,y:c}),t.has(e.id)&&i&&(a-=d.height),r.set(e.id,[s])}}else{let l=0;g.forEach(e=>{let r=e.getBoundingClientRect();n.set(e.id,r);let s=r.y+l;if(o.set(e.id,{...r,top:s,y:s}),t.has(e.id)){let t=r.height;i?(l-=t,a-=t,1===g.length&&(a-=u)):(e.style.display="block",l+=t,a+=t,e.style.display="unset")}}),r.set(e.id,g)}}})},nP=(e,t,n,o,r)=>{if("PinFinal"!=t&&"UnpinFinal"!=t&&"PinMiddle"!=t&&"UnpinMiddle"!=t){let i=nw(t),a=(e,t,n)=>{(o.has(e.id)||t||n)&&(e.style.cssText=`pointer-events: none; z-index:0; background: ${n?"transparent":i};`)};for(let i=0;i<e.length;i++){let l=e[i],s=n.get(l.id),d=i>0&&e[i-1];if(d&&d?.id?.slice(0,11)==="groupHeader"&&"AddRowInitial"!=t&&"AddRowFinal"!=t){let t=i;for(;o.has(e[t]?.id)&&i<e.length;)if(t++,e[t]?.id.slice(0,11)==="groupHeader"){r.add(d.id),a(d,!1,!0);break}}s&&1==s.length&&o.has(s[0].id)?(a(s[0]),a(l,!0)):(a(l),n.get(l.id)?.forEach(e=>{a(e)}))}}},nC=(e,t)=>{(0,ts.transaction)(()=>{let{pendingAnimations:n}=nt.mailListItemAnimationStore;for(let o of n){let{animationRowIds:n,animationAction:r}=o;if(n&&n.size>0&&r){let i=e.current?.getScrollRegion(),a=Array.from(i?.querySelectorAll('[data-animatable] > div:not([id*="expansionAnimationWrapper"])')||[]);if(i&&a.length>0&&function(e,t,n,o){let r=e.tableQuery.scenarioType,i=!0;if("function"!=typeof t.animate)return(0,eP.y8)("ListViewAnimation_AnimateMethodNotSupported"),!1;if("Archive"===o&&(0,ng.Z)(e.tableQuery.folderId))return!1;if("mail"!==r&&"group"!==r){if("Archive"===o||"Move"===o)return!1;let t=[];(0,Z.Mh)(e)?n.map(n=>{let o=Z.rs(n,e.id)?.parentFolderId;o&&t.push(o)}):1===e.tableQuery.listViewType&&n.map(n=>{let o=Z.H4.getParentFolderId(n,e);o&&t.push(o)}),i=t.every(e=>{if(e){var t;let n=B.ZP.folderTable.get(e);return(0,np.Z)(e)||n&&(0,nf.Z)(n)||"PinInitial"===(t=o)||"PinMiddle"===t||"PinFinal"===t||"UnpinInitial"===t||"UnpinMiddle"===t||"UnpinFinal"===t}return!1})}return i}(t,a[0],Array.from(n),r)){(0,nt.OA)(o),(0,nt.$g)(o);let e=new Map,t=new Map,i=new Map,l=new Set,s="AddRowInitial"!==r&&"AddRowFinal"!==r&&"UnpinFinal"!==r&&"PinFinal"!==r;ny(a,n,e,t,i,s),nP(a,r,i,n,l);let d="PinMiddle"==r||"UnpinMiddle"==r||"AddRowInitial"==r;d&&nh(o);let c="PinFinal"==r||"UnpinFinal"==r;c&&a.forEach(e=>{n.has(e.id)&&(e.style.cssText=`background: ${nw(r)}`)}),("AddRowFinal"===r||"PinFinal"===r||"UnpinFinal"===r)&&a.forEach(e=>{n.has(e.id)&&(e.style.cssText="display: block; background:"+nw(r)+";")});let u=0,m=i=>{let m=n.has(i.id)||l.has(i.id);if(t?.get(i.id)||m&&c){let n;if(m)!d&&(n=l.has(i.id)?i?.animate(nb(r),nv(r)):i.children[0]?.animate(nb(r),nv(r)))&&(0,nt.Mk)(o,n);else{let r=e?.get(i.id)?.top,a=t?.get(i.id)?.top;if(r&&a){let e=function(e,t){return t||(e*=-1),t?[{transform:"translateY(0)",offset:0},{transform:"translateY(0)",offset:.25},{transform:"translateY("+e+"px)",offset:1}]:[{transform:"translateY("+e+"px)",offset:0},{transform:"translateY("+e+"px)",offset:.25},{transform:"translateY(0)"}]}(a-r,s);(n=i?.animate(e,{duration:d?35:250,easing:"cubic-bezier(0.4, 0, 0.2, 1)"}))&&(0,nt.Mk)(o,n)}}0==u&&n&&(n.onfinish=()=>{nS(o,a)},u+=1)}};a.forEach(e=>{m(e),i.get(e.id)?.forEach(e=>{m(e)})}),0==u&&nS(o,a)}else nh(o),(0,nt.OA)(o)}}})},nE=new f.nI(()=>n.e(515875).then(n.bind(n,515875)),{name:"MailListKeys"}),nZ=new f._5(nE,e=>e.setupMailListContentKeys),nM=new f._5(nE,e=>e.setupTriageActionKeys),nT=new f._5(nE,e=>e.setupMailListItemContainerKeys),nF=new f._5(nE,e=>e.logMailListItemPreloadCorrectness);var nk=n(985566),nx=n(843778),nR=n(902639),nA=n(673147),nD=n(939129);let nN=(0,u.P)(function(e){let{headerText:t,listViewRef:n,tableView:o,onCollapse:r}=e,i=!(0,et.J5)(),a=(0,x.KS)("Cnnoo","yNQ4B","xFMKk"),l=(0,x.iT)(),s=(0,nA.Z)(),d=o?.isInCheckedMode||o?.isInSelectAllState,c=(0,Z.OV)()||d,u="groupHeader"+t,m=(0,p.cr)("tri-virtualizedGroupHeaders"),f=()=>tc.virtualizedGroupHeaders.get(t),g=(0,R.T)(()=>f()?.isLoadingOfRowKeysComplete,[f]),v=(0,A.Z)("HJne5",g&&"MtAK6",(0,et.gS)()?"singleLineCirclePersonaDivWidth":"threeColumnCirclePersonaDivWidth",a),I=h.useCallback(()=>{ne(t),n?.current?.getScrollRegion()?.dispatchEvent(new CustomEvent("scroll")),r()},[r,t]),S=(0,A.Z)("H1SeE",i&&"pqyEZ",s&&"lzRkn",c&&"Chrlg",a),b=(0,R.T)(()=>{let e=0;return i?"full"===l?g?s||c?e=40:s||(e=10):s||c?e=72:s||(e=40):"medium"===l?g?s||c?e=40:s||(e=14):s||c?e=68:s||(e=40):g?s||c?e=38:s||(e=14):s||c?e=64:s||(e=40):e=g?38:"full"===l?68:64,{paddingLeft:`${e}px`}},[i,l,s,g,c]);return h.createElement("div",{id:u,role:"heading","aria-level":3,className:v,style:b,onClick:m&&g?I:void 0},m&&(g?h.createElement(nk.J,{className:S,iconName:tc.virtualizedGroupHeaders.get(t)?.isCollapsed?nR.Z:nx.Z}):h.createElement(h.Fragment,null)),o?.tableQuery?.sortBy?.sortColumn===14?h.createElement(nD.Rd,{categoryName:t,mailboxInfo:(0,eF.L4)(o),iconClassName:"XWS3i"}):null,h.createElement("div",{title:t},t))},"MailListGroupHeader");var n_=n(587687),nO=n(114015);function nL(e,t,n,o,r){let i=[];for(let a of e)if(a?.isEnabled){let e=!0;for(let i of a.conditions)if(!function(e,t,n,o,r){switch(e.type){case nO.fM.From:return!!r&&function(e,t){for(let n of t){if(null==n){(0,eP.y8)("TnS_ConditionalFormatting_Error",{message:"sender is null or undefined when evaluating a conditional formatting rule."});continue}if(e.toLocaleLowerCase()===n.toLocaleLowerCase())return!0}return!1}(r,e.value);case nO.fM.OnTheToOrCcLine:return!!n||!!o;case nO.fM.OnTheToLine:return!!n;case nO.fM.OnTheCcLine:return!!o;case nO.fM.NotOnTheToLine:if(void 0===n)return!1;return!n;case nO.fM.SubjectIncludes:return function(e,t){for(let n of t)if(!e.toLocaleLowerCase().includes(n.toLocaleLowerCase()))return!1;return!0}(t,e.value);default:(0,t$.v)(e.type)}}(i,t,n,o,r)){e=!1;break}if(e){i.push(...a.modifications);break}}return i}var nV=n(438279),nB=n(807265),nG=n(607823),nU=n(189243),nH=n(827773),nW=n(329479),nK=n(339152),nz=n(427941),nj=n(448447),nQ=n(295322),n$=n(697185),nq=n(964886);let nX=(0,u.P)(function(e){h.useEffect(()=>{(0,eP.y8)("SenderGroupingsActionButtonRendered")},[]);let t=h.useCallback(t=>{t?.stopPropagation(),e.lastSender.Mailbox?.Name&&e.lastSender.Mailbox?.EmailAddress&&ef.qX.importAndExecute(e.lastSender.Mailbox.Name,e.lastSender.Mailbox.EmailAddress,e.mailboxInfo,"FindEmailFromSenderGroupings")},[e.lastSender,e.mailboxInfo]);return h.createElement(n$.IW,{itemClassIcon:nq.D7.SenderGroupings,descriptionText:(0,m.ZP)("$Klpce"),onClick:t,isMailListItemHovered:e.isMailListItemHovered,isMailListItemSelected:e.isMailListItemSelected})},"SenderGroupingsActionButton");var nY=n(88104);function nJ(e,t){return(0,p.cr)("tri-senderGroupings")&&(0,tO.Z)(void 0,(0,eF.L4)(e))&&t?.Mailbox?.Name!==void 0&&t?.Mailbox?.EmailAddress!==void 0&&"inbox"===(0,W.Z)(e.tableQuery.folderId)&&(!!(0,nY.fE)(t?.Mailbox?.EmailAddress)||t?.Mailbox?.EmailAddress.startsWith("no-reply"))&&!(0,Z.OV)()}let n0=(0,T._)((e,t)=>{let n=(0,Z.bh)().tableViews.get(t.tableViewId);if(!n)return null;let o=n.tableQuery.listViewType,r=(0,tG._g)(e,n.id,Z.H4.getLastDeliveryOrRenewTimeStamp(e,n));switch(o){case 0:return function(e,t,n,o){var r,i,a;let l,s;let d=(0,Z.rs)(e,t.id);if(!d)return(0,eP.y8)("tableConversationRelationNotFound"),tS.g4.warn("tableConversationRelation not found in store."),null;let c=d.id,u=(0,Z.bh)().conversationItems.get(c),f=(0,tV.Z)(),g=(0,eF.L4)(t);if(!u){let e=t.tableQuery.sortBy?.sortColumn;return(0,eP.y8)("ConversationNotFound",{sort:e}),tS.g4.warn("getProps Conversation not found in store. sortColumn "+e),null}let v="Complete"===d.flagStatus,h=Z.H4.getIsPinned(e,t),I=Z.H4.getMailboxGuids(e,t),S="Flagged"===d.flagStatus,b=d.effectiveMentioned,w=u.subject?u.subject:(0,m.ZP)(nV.r),y=d.parentFolderId,P=t.tableQuery.folderId&&(0,W.Z)(t.tableQuery.folderId),C=y&&(0,W.Z)(y),E="drafts"==P,M=E||"drafts"==C,T="sentitems"==P||"sentitems"==C,F="outbox"==P||"outbox"==C,k=2==t.tableQuery.type,x=d.lastSender?.Mailbox?.EmailAddress??"",R=[],A=(0,nO.cs)(g);if((0,p.cr)("tri-conditionalFormatting")&&A.length>0){let e=d.conversationToMe,t=d.conversationCcMe,n=(0,nO.Hb)(c,g)??"",o=c+w+(null!=e?e.toString():"")+(null!=t?t.toString():"");R=(0,nO.Zx)(n,g),n!==o&&((0,nO.R$)(n,g),R=nL(A,w,e,t,x),(0,nO.Sr)(o,R,g))}let{sendersOrRecipients:D,singleLastSenderSMTP:N}=n1(d.uniqueRecipients,d.uniqueSenders,Z.H4.getLastSenderSMTP(e,t),T,M,F,n.isSearchNotInDraftOrSentItemFolder,t.tableQuery),O=d.unreadCount,L=n.showCondensedPinnedRows&&h&&!((0,nQ.Lg)(e)||(0,nQ.FD)(e))&&0===O,V=f?.UserOptions?.ShowSenderOnTopInListView,B=null,G=null;n.isSingleLine||V||E?(l=D,B=N,s=w):(s=D,G=N,l=w);let U=n5(c,t,g),H=(r=f?.UserOptions?.ShowPreviewTextInListView?(0,n_.Z)(d.previewText):"",i=o,a=e,i?(0,tG.qf)(a):r),K=function(e){for(let t of e.draftItemIds){let e=_.Z.items.get(t),n=e?e.InternetMessageId:null,o=_.Z.conversationNodes.get(n);if(!o||o.localLieState==nH.n.None)return!0}return!1}(d)||M,z=!!f?.UserOptions?.ShowInlinePreviews&&u.shouldShowAttachmentPreviews,j=n.supportsSnooze&&(!!d.returnTime||!h&&!n3(d.lastDeliveryOrRenewTimeStamp,d.lastDeliveryTimeStamp)),Q=(0,nU.Z)(d.itemClasses,d.iconIndex,d.hasIrm);return{rowKey:e,rowId:c,conversationId:c,firstLineText:l,firstLineTooltipText:B,secondLineText:s,secondLineTooltipText:G,thirdLineText:H,isComplete:v,isFlagged:S,isPinned:h,isNudged:o,isSelected:t.selectedRowKeys.has(e),canDelete:(0,nG.Z)(t,e),unreadCount:O,subject:w,categories:n2(t,d.categories),lastSender:d.lastSender,latestItemId:d.itemIds[0],lastDeliveryTimestamp:T?d.lastSentTimeStamp:d.lastDeliveryTimeStamp,itemClassIcon:Q,importance:d.importance,hasAttachment:d.hasAttachments,showDraftsIndicator:K,showAttachmentPreview:z,effectiveMentioned:b,parentFolderDisplayName:"",parentFolderId:y,isUnauthenticatedSender:!1,isSnoozed:j,returnTime:d.returnTime?d.returnTime:j?d.lastDeliveryOrRenewTimeStamp:null,showCondensedView:L,smimeType:(0,nj.s)(d.itemClasses),sendersOrRecipients:D,shouldShowTwisty:u.globalMessageCount>1,shouldShowRSVP:d.shouldShowRSVP,isInNotesFolder:"notes"==P||"notes"==C,isInOutboxFolder:F,isInArchiveFolder:"archive"==P||"archive"==C,isInJunkFolder:"junkemail"==P||"junkemail"==C,shouldShowExternalLabel:!!u.hasExternalEmails&&(0,nz.Mu)(g),shouldShowSenderGroupingsButton:nJ(t,d.lastSender)??!1,shouldSuggestUnsubscribe:U,hasSharepointLink:u.hasSharepointLink,canPin:n6(t,n.supportsPinning,y),isInGroup:k,isTaggedForBigScreen:d.isTaggedForBigScreen,mailboxGuids:I,conditionalFormattingModifications:R}}(e,n,t,r);case 1:return function(e,t,n,o){var r,i,a,l;let s,d,c;if(!e)throw Error("getMailListItemPropsForItem: ItemId should be present for given rowKey");let u=(0,eF.L4)(t),f=Z.H4.getRowIdString(e,t),g=_.Z.items.get(f);if(!g)return tS.rx("getMailListItemDataProps: item does not exist in cache."),null;g.ParentFolderId||tS.rx("getMailListItemDataProps: item.ParentFolderId is null."),s=(0,Z.dg)(g)?g:null;let v=(0,tV.Z)(),h=Z.H4.getIsPinned(e,t),I=g.Subject?g.Subject:(0,m.ZP)(nV.r),S=g.ParentFolderId?.Id,b=g.ParentFolderDisplayName,w=t.tableQuery.folderId&&(0,W.Z)(t.tableQuery.folderId),y=S&&(0,W.Z)(S),P="drafts"==w,C="sentitems"==w||"sentitems"==y,E="outbox"==w||"outbox"==y,M=Z.H4.getMailboxGuids(e,t),T=2==t.tableQuery.type,F=s?.From?.Mailbox?.Name||"",k=s?.From?.Mailbox?.EmailAddress??"",x=[],R=(0,nO.cs)(u);if((0,p.cr)("tri-conditionalFormatting")&&R.length>0){let e=s?.MessageToMe,t=s?.MessageCcMe,n=(0,nO.Hb)(f,u)??"",o=f+I+(null!=e?e.toString():"")+(null!=t?t.toString():"");x=(0,nO.Zx)(n,u),n!==o&&((0,nO.R$)(n,u),x=nL(R,I,e,t,k),(0,nO.Sr)(o,x,u))}!F&&g.ItemClass&&(r=g.ItemClass)&&0==r.indexOf("IPM.Appointment")&&(F=g.DisplayTo??"");let{sendersOrRecipients:A,singleLastSenderSMTP:D}=n1([g.DisplayTo??""],[F],Z.H4.getLastSenderSMTP(e,t),C,P||"drafts"==y,E,n.isSearchNotInDraftOrSentItemFolder,t.tableQuery),N=null,O=null,L=0;s&&(L=s.IsRead?0:1);let V=n.showCondensedPinnedRows&&h&&0===L,B=v?.UserOptions?.ShowSenderOnTopInListView;n.isSingleLine||B||P?(d=A,N=D,c=I):(c=A,O=D,d=I,N=null);let G=n5(f,t,u),U=(i=v?.UserOptions?.ShowPreviewTextInListView?(0,n_.Z)(g.Preview??""):"",a=o,l=e,a?(0,tG.qf)(l):i),H=n.supportsSnooze&&!!(g.ReturnTime||!h&&g.ReceivedOrRenewTime&&g.DateTimeReceived&&!n3(g.ReceivedOrRenewTime,g.DateTimeReceived)),K=!!g.Hashtags&&g.Hashtags.indexOf(nB.R)>=0,z=(0,nU.Z)(g.ItemClass?[g.ItemClass]:void 0,g.IconIndex??"Default",!1),j=!!v?.UserOptions?.ShowInlinePreviews&&!!g.shouldShowAttachmentPreviews;return{canDelete:(0,nG.Z)(t,e),categories:n2(t,g.Categories),conversationId:g.ConversationId?.Id??"",effectiveMentioned:!!g.MentionedMe,firstLineText:d,firstLineTooltipText:N,hasAttachment:!!g.HasAttachments,importance:g.Importance??"Normal",isComplete:!!g.Flag&&"Complete"===g.Flag.FlagStatus,isFlagged:!!g.Flag&&"Flagged"===g.Flag.FlagStatus,isPinned:h,isNudged:o,isSelected:t.selectedRowKeys.has(e),itemClassIcon:z,lastDeliveryTimestamp:P&&g.LastModifiedTime?g.LastModifiedTime:C&&g.DateTimeSent?g.DateTimeSent:g.DateTimeReceived?g.DateTimeReceived:"",lastSender:s?.From,latestItemId:g.ItemId?.Id??"",parentFolderId:S??"",parentFolderDisplayName:b??"",rowId:f,rowKey:e,secondLineText:c,secondLineTooltipText:O,showAttachmentPreview:j,isUnauthenticatedSender:!!s&&!!(0,nW.Z)(s),isSnoozed:H,returnTime:g.ReturnTime?g.ReturnTime:H&&g.ReceivedOrRenewTime?g.ReceivedOrRenewTime:null,showCondensedView:V,showDraftsIndicator:!!g.IsDraft,subject:I,thirdLineText:U,unreadCount:L,smimeType:(0,nj.Z)(g),sendersOrRecipients:A,shouldShowTwisty:!1,isInNotesFolder:"notes"==w||"notes"==y,isInOutboxFolder:E,isInArchiveFolder:"archive"==w||"archive"==y,isInJunkFolder:"junkemail"==w||"junkemail"==y,shouldShowRSVP:!!g.shouldShowRSVP,shouldShowExternalLabel:!!g.IsExternalSender&&(0,nz.Mu)(u),shouldShowSenderGroupingsButton:nJ(t,s?.From)??!1,shouldSuggestUnsubscribe:G,hasSharepointLink:!!g.HasProcessedSharepointLink,canPin:n6(t,n.supportsPinning,S??""),isInGroup:T,isTaggedForBigScreen:K,mailboxGuids:M,conditionalFormattingModifications:x}}(e,n,t,r);default:return tS.g4.warn("Not supported listViewType:"+o),null}});function n1(e,t,n,o,r,i,a,l){let s,d;let{scenarioType:c}=l;return(o||r||i)&&!a&&!(0,Z.fp)(c)?(s=e&&e.join("; "),d=null):(s=t&&t.join("; "),d=t&&1===t.length?n:null),s||(s=r?"":(0,m.ZP)(tH)),{sendersOrRecipients:s,singleLastSenderSMTP:d}}function n3(e,t){return new Date(e).setMilliseconds(0)==new Date(t).setMilliseconds(0)}function n2(e,t){if(!t)return[];let n=(0,Z.N_)(e);if(!n)return t;let o=[...t],r=o.indexOf(n);return r>-1&&o.splice(r,1),o}function n5(e,t,n){return(0,p.cr)("tri-suggestedUnsubscribe")&&"inbox"==(0,W.Z)(t.tableQuery.folderId)&&(0,nK.TL)(e,n)}function n6(e,t,n){if(1!==e.tableQuery.type||!t)return t;let o=n&&(0,W.Z)(n);for(let e of["drafts","sentitems","clutter","junkemail","deleteditems","archive","notes","recoverableitemsdeletions","archiverecoverableitemsdeletions"])if(o===e)return!1;return!0}async function n4(e,t,n){e.stopPropagation(),(await ef.Vn.import())(n,t)}var n9=n(250171);function n7(e){let{latestItemId:t,reactionsContainerClassName:n,rowId:o,tableViewId:r}=e,i=(0,er.Z)().tableViews.get(r),a=i?.tableQuery.listViewType===1?_.Z.items.get(o):_.Z.items.get(t),l=er.Z().reactionInformationByRowId.get(o)?.reactions??[],s=(l?.length??0)>0?l:a?.Reactions??[];return 0===s.length?null:h.createElement("div",{className:n},h.createElement(n9.Xr,{message:a,reactionsForRowId:s}))}let n8=/^[a-z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)*$/i;function oe(e){return n8.test(e)}var ot=n(720742),on=n(983216),oo=n(344301),or=n(79272),oi=n(742351),oa=n(707973);let ol="irbcQd",os=(0,u.P)(function(e){let{canDelete:t,canPin:n,categories:o,conversationId:r,effectiveMentioned:i,firstLineText:a,firstLineTooltipText:l,hasAttachment:s,hasSharepointLink:d,highlightTerms:c,importance:u,isComplete:f,isFirstLevelExpanded:g,isFlagged:v,isInArchiveFolder:I,isInNotesFolder:S,isInOutboxFolder:b,isInJunkFolder:w,isLoadingSecondLevelExpansion:y,isNudged:P,isPinned:C,isSearchTable:E,isSecondLevelExpanded:Z,isSelected:M,isSnoozed:T,isTaggedForBigScreen:F,isUnauthenticatedSender:k,itemClassIcon:D,lastDeliveryTimestamp:N,lastSender:O,latestItemId:L,listViewType:V,mailboxGuids:B,parentFolderDisplayName:G,parentFolderId:U,returnTime:H,rowId:W,rowKey:K,secondLineText:z,secondLineTooltipText:j,shouldShowExternalLabel:Q,shouldShowTwisty:$,shouldShowSenderGroupingsButton:q,shouldSuggestUnsubscribe:X,showAttachmentPreview:Y,showCondensedView:J,showDraftsIndicator:en,showFolderTag:eo,showPreviewText:ei,smimeType:ea,supportsFlagging:el,supportsHoverIcons:es,supportsMove:ed,supportsPinning:ec,tableViewId:eu,thirdLineText:em,unreadCount:ep,shouldShowRSVP:ef}=e,eg=(0,er.Z)().tableViews.get(eu),ev=eg?.tableQuery,eh=ev?.sortBy?.sortColumn===14,eI=(0,x.KS)(on.rp,on.IV,on.oA),eS=ep>0,eb=o?.length>0&&!P&&!eh,ew=!(0,oi.Z)()||!g&&!Z&&!y,ey=!E,eP=(0,nA.Z)(),eC=!ey||ey&&(eP||eg?.isInSelectAllState||eg?.isInCheckedMode),eE=(0,eF.L4)(eg),eZ=eg?.tableQuery.listViewType===1,{isHovered:eM,conditionalFormattingModifications:eT}=(0,nn.FM)(),ek=eZ||$?"mn28d":"DMjcl",ex=(0,A.Z)(eS?oo.dU:oo.fo,P&&"UjHLk",(0,or.g)("Major")),{senderColumnWidth:eR,subjectColumnWidth:eA,receivedColumnWidth:eD}=(0,et.Lt)(eg),eN=h.useMemo(()=>({width:eR,maxWidth:eR}),[eR]),e_=h.useMemo(()=>({width:eA,maxWidth:eA}),[eA]),eO=h.useMemo(()=>({width:eD,maxWidth:eD}),[eD]),eL=a;if((0,p.cr)("mail-junkSenderEmail",eE)&&w&&!oe(a)){let e=O?.Mailbox?.EmailAddress;eL=e&&oe(e)?`${a} <${e}>`:`${a} <${(0,m.ZP)(ol)}>`}let eV=(0,R.T)(()=>{let e=(0,ot.Z)().expandedConversationViewState,t=_.Z.conversations.get(r);return!!((g||Z)&&(e.forks?.length===0||t&&t.loadingState.isLoading))},[g,Z,r]),eB=h.useMemo(()=>eT&&eT.length>0?(0,nO.Sx)(eT):void 0,[eT]),eG=h.useCallback(e=>{(0,nn.Cj)(e,ee.Z.MailListItemRichPreview,K,eu)},[K,eu]),eU=h.createElement(n$.Wm,{folderId:U,parentFolderDisplayName:G,isPreviewTextOn:ei||P,isSingleLine:!0,mailboxGuids:B,shouldBeInTabOrder:M}),eH=H?h.createElement(n$.ce,{conditionalFormattingModifications:eT,isPinned:C,isSingleLine:!0,isSnoozed:!0,returnTime:H??"",supportsPinning:ec}):h.createElement(n$.ce,{conditionalFormattingModifications:eT,isPinned:C,isSingleLine:!0,isUnread:eS,lastDeliveryTimestamp:N,returnTime:H??"",supportsPinning:ec}),eW=(e,o)=>h.createElement(n$._3,{canDelete:t,canPin:n,effectiveMentioned:i,hasAttachment:s,hasSharepointLink:d,importance:u,isComplete:f,isFlagged:v,isInArchiveFolder:I,isInNotesFolder:S,isInOutboxFolder:b,isPinned:C,isRowExpanded:g||Z,isSingleLine:!0,isSnoozed:T,isTaggedForBigScreen:F,itemClassIcon:D,lastDeliveryTimestamp:N,neverShowHoverIcons:e||!es,neverShowPropertyIcons:o,rowKey:K,smimeType:ea,supportsFlagging:el,supportsMove:ed,supportsPinning:ec,tableViewId:eu,unreadCount:ep}),eK=eW(!1,!0),ez=h.useMemo(()=>h.createElement(n$.MM,{conditionalFormattingModifications:eT,isExpanded:g||Z,isHovered:eM,isUnread:eS,rowKey:K,tableViewId:eu}),[g,eM,Z,eS,K,eu,eT]);return h.createElement(h.Fragment,null,ez,h.createElement("div",{className:oo._V},h.createElement("div",{className:(0,A.Z)(eI,oo.U$)},h.createElement("div",{className:(0,A.Z)(ek,eZ?"NV2gU":"BevFE",eP&&"WA2af",eI),style:eN},$&&h.createElement(n$.Qp,{conditionalFormattingModifications:eT,isLoadingExpansion:eV,isFirstLevelExpanded:g,isSecondLevelExpanded:Z,isLoadingSecondLevelExpansion:y,isSelected:M,isSingleLine:!0,isUnread:ep>0,rowKey:K,showCondensedView:J,tableViewId:eu}),eC&&h.createElement(n$.t4,{tableViewId:eu,isSelected:M,lastSender:O,rowKey:K,lastDeliveryTimestamp:N,isUnauthenticatedSender:k}),O&&q&&h.createElement(nX,{lastSender:O,isMailListItemHovered:eM,isMailListItemSelected:M,mailboxInfo:eE}),Q&&h.createElement(n$.n_,{isSelected:M}),h.createElement(n$.bG,{highlightTerms:c,highlightAccuracy:eg?.highlightAccuracy,showDraftsIndicator:en,isInOutboxFolder:b,unreadCount:ep,text:eL,tooltipText:l??"",isSingleLineView:!0}),eW(!0,!1)),h.createElement("div",{className:(0,A.Z)(on.TM,eZ?on.oj:on.AR,eP?on.Yh:on.xm,eI),style:e_},eb&&h.createElement(nD.lH,{key:W,categoryWellContainerClass:on.B8,categoryContainerClass:on.pF,categories:o,onCategoryClicked:n4,mailboxInfo:eE}),h.createElement("div",{className:oo.kQ},h.createElement("div",{className:ex,style:eB},h.createElement(n$.UG,{addOverflowStyles:!0,highlightTerms:c,text:z,tooltipText:j??""}),h.createElement(n$.wm,{unreadCount:ep})),ei&&!P&&h.createElement("div",{className:(0,A.Z)(on.hx)},ew&&h.createElement(n$.Pe,{highlightTerms:c,previewDisplay:em,rowKey:K,tableViewId:eu}))),P&&h.createElement(n$.rS,{rowKey:K,tableViewId:eu,nudgeText:em}),(0,p.cr)("tri-message-list-reactions")&&!(g||Z)&&n7({latestItemId:L,reactionsContainerClassName:on.K8,rowId:W,tableViewId:eu}),ef&&h.createElement(n$.g9,{conversationId:r,isSelected:M,isSingleLineView:!0,itemClassIcon:D,latestItemId:L,listViewType:V,tableViewId:eu}),X&&h.createElement(oa.X,{isSingleLineView:!0,isSelected:M,rowId:W,tableView:eg}),eo&&eU),h.createElement("div",{className:on.m5,style:eO},h.createElement("div",{className:on.tl},eH),eK?h.createElement("div",{className:on.Ru},eK):null)),ew&&!J&&Y&&h.createElement(n$.bS,{isWideView:!0,onPreviewClick:eG,rowId:W,tableViewId:eu})))},"MailListItemSingleLineView"),od=(0,u.P)(function(e){let t,n;let{canDelete:o,canPin:r,categories:i,conversationId:a,effectiveMentioned:l,firstLineText:s,firstLineTooltipText:d,hasAttachment:c,hasSharepointLink:u,highlightTerms:m,importance:p,isComplete:f,isFirstLevelExpanded:g,isFlagged:v,isInArchiveFolder:I,isInNotesFolder:S,isInOutboxFolder:b,isNudged:w,isPinned:y,isSearchTable:P,isSecondLevelExpanded:C,isLoadingSecondLevelExpansion:E,isSelected:Z,isSnoozed:M,isTaggedForBigScreen:T,isUnauthenticatedSender:F,itemClassIcon:k,lastDeliveryTimestamp:D,lastSender:N,mailboxGuids:O,parentFolderDisplayName:L,parentFolderId:V,rowId:B,rowKey:G,secondLineText:U,secondLineTooltipText:H,shouldShowExternalLabel:W,shouldShowTwisty:K,shouldShowSenderGroupingsButton:z,showDraftsIndicator:j,showFolderTag:Q,showPreviewText:$,smimeType:q,styleSelectorAsPerUserSettings:X,supportsFlagging:Y,supportsHoverIcons:J,supportsMove:ee,supportsPinning:et,tableViewId:en,unreadCount:eo}=e,ei=(0,x.KS)(on.rp,on.IV,on.oA),ea=eo>0,el=i?.length>0,es=Q||el,{isHovered:ed,conditionalFormattingModifications:ec}=(0,nn.FM)(),eu=(0,er.Z)().tableViews.get(en),em=(0,eF.L4)(eu),ep=eu?.tableQuery.listViewType===0,ef=!P,eg=(0,nA.Z)(),ev=!ef||ef&&(eg||eu?.isInSelectAllState||eu?.isInCheckedMode),eh=(0,R.T)(()=>{let e=(0,ot.Z)().expandedConversationViewState,t=_.Z.conversations.get(a);return!!((g||C)&&(e.forks?.length===0||t&&t.loadingState.isLoading))},[g,C,a]),eI=h.createElement(n$.Qp,{conditionalFormattingModifications:ec,isLoadingExpansion:eh,isFirstLevelExpanded:g,isSecondLevelExpanded:C,isLoadingSecondLevelExpansion:E,isSelected:Z,isSingleLine:!1,isUnread:eo>0,rowKey:G,showCondensedView:!0,styleSelectorAsPerUserSettings:X,tableViewId:en}),eS=h.useMemo(()=>h.createElement(n$.MM,{conditionalFormattingModifications:ec,isHovered:ed,isUnread:ea,rowKey:G,tableViewId:en}),[ea,G,en,ed,ec]);return h.createElement(h.Fragment,null,eS,h.createElement("div",{className:(0,A.Z)(ei,on.a2,on.rE,!ep&&ef&&!eg&&!ev&&on.s8)},h.createElement("div",{className:(0,A.Z)(on.C0,ep&&!K&&on.j0,on.yJ,(0,x.KS)(ev?on.Gw:on.aK,ev?on.yP:on.jH,on.dh))},K&&eI,ev&&h.createElement(n$.t4,{isCondensedView:!0,isSelected:Z,isUnauthenticatedSender:F,lastDeliveryTimestamp:D,lastSender:N,rowKey:G,tableViewId:en})),h.createElement("div",{className:(0,A.Z)(on.$Q,!ev&&on.uA)},h.createElement("div",{className:(0,A.Z)(on.Kn,ei)},h.createElement("div",{className:"BwXh1"},h.createElement("div",{className:(0,A.Z)("jR3sL",(0,or.g)("Major"))},h.createElement("div",{className:"YmFYg"},W&&h.createElement(n$.n_,{isSelected:Z}),N&&z&&h.createElement(nX,{lastSender:N,isMailListItemHovered:ed,isMailListItemSelected:Z,mailboxInfo:em}),h.createElement(n$.bG,{highlightTerms:m,showDraftsIndicator:j,isInOutboxFolder:b,unreadCount:eo,text:s,tooltipText:d??""})),h.createElement("div",{className:(0,A.Z)(on.UT,ei,(0,or.g)("Major"))},(t={},n=H??"",h.createElement(n$.UG,{additionalStyles:t,addOverflowStyles:!1,highlightTerms:m,text:U,tooltipText:n,conditionalFormattingModifications:ec}))))),!g&&h.createElement(n$.wm,{unreadCount:eo,conditionalFormattingModifications:ec}),h.createElement(n$._3,{canDelete:o,canPin:r,effectiveMentioned:l,hasAttachment:c,hasSharepointLink:u,importance:p,isComplete:f,isFlagged:v,isInArchiveFolder:I,isInNotesFolder:S,isInOutboxFolder:b,isPinned:y,isRowExpanded:g||C,isSingleLine:!1,isSnoozed:M,isTaggedForBigScreen:T,itemClassIcon:k,lastDeliveryTimestamp:D,neverShowHoverIcons:!J,neverShowPropertyIcons:!1,rowKey:G,smimeType:q,supportsFlagging:Y,supportsMove:ee,supportsPinning:et,tableViewId:en,unreadCount:eo})),es&&h.createElement(n$.pf,{categories:i,categoryContainerClass:on.Vz,categoryWellContainerClass:on.p3,isNudged:w,isSingleLine:!1,mailboxGuids:O,parentFolderDisplayName:L,parentFolderId:V,rowId:B,showCategories:el,showFolderTag:Q,showPreviewText:$,mailboxInfo:em}))))},"MailListItemCondensedThreeColumn"),oc=(0,u.P)(function(e){let t,n;let{canDelete:o,canPin:r,categories:i,conversationId:a,effectiveMentioned:l,firstLineText:s,firstLineTooltipText:d,hasAttachment:c,hasSharepointLink:u,highlightTerms:f,importance:g,isComplete:v,isFirstLevelExpanded:I,isFlagged:S,isInArchiveFolder:b,isInNotesFolder:w,isInOutboxFolder:y,isInJunkFolder:P,isLoadingSecondLevelExpansion:C,isNudged:E,isPinned:Z,isSearchTable:M,isSecondLevelExpanded:T,isSelected:F,isSnoozed:k,isTaggedForBigScreen:D,isUnauthenticatedSender:N,itemClassIcon:O,lastDeliveryTimestamp:L,lastSender:V,latestItemId:B,listViewType:G,mailboxGuids:U,parentFolderDisplayName:H,parentFolderId:W,returnTime:K,rowId:z,rowKey:j,secondLineText:Q,secondLineTooltipText:$,shouldShowExternalLabel:q,shouldShowRSVP:X,shouldShowTwisty:Y,shouldShowSenderGroupingsButton:J,shouldSuggestUnsubscribe:et,showAttachmentPreview:en,showDraftsIndicator:eo,showFolderTag:ei,showPreviewText:ea,smimeType:el,styleSelectorAsPerUserSettings:es,supportsFlagging:ed,supportsHoverIcons:ec,supportsMove:eu,supportsPinning:em,tableViewId:ep,thirdLineText:ef,unreadCount:eg}=e,ev=(0,er.Z)().tableViews.get(ep),eh=ev?.tableQuery,eI=eh?.sortBy?.sortColumn===14,eS=(0,x.KS)(on.rp,on.IV,on.oA),eb=eg>0,ew=i?.length>0&&!E&&!eI,ey=(0,oi.Z)()&&I&&!eI,eP=!I&&!T&&!C,eC=!(0,oi.Z)()||eP,eE=!M,eZ=(0,nA.Z)(),eM=!eE||eE&&(eZ||ev?.isInSelectAllState||ev?.isInCheckedMode),eT=(0,eF.L4)(ev),ek=ev?.tableQuery.listViewType===0,{isHovered:ex,conditionalFormattingModifications:eR}=(0,nn.FM)(),eA=(0,R.T)(()=>{let e=(0,ot.Z)().expandedConversationViewState,t=_.Z.conversations.get(a);return!!((I||T)&&(e.forks?.length===0||t&&t.loadingState.isLoading))},[I,T,a]),eD=!ea&&!E&&(ew||ei),eN=ea&&eP,e_=h.createElement(n$.t4,{tableViewId:ep,isSelected:F,lastSender:V,rowKey:j,lastDeliveryTimestamp:L,isUnauthenticatedSender:N}),eO=h.createElement(n$.Qp,{conditionalFormattingModifications:eR,isLoadingExpansion:eA,isFirstLevelExpanded:I,isSecondLevelExpanded:T,isLoadingSecondLevelExpansion:C,isSelected:F,isSingleLine:!1,isUnread:eg>0,rowKey:j,showCondensedView:!1,styleSelectorAsPerUserSettings:es,tableViewId:ep}),eL=(e,t)=>h.createElement(nD.lH,{key:z,categoryWellContainerClass:e,categoryContainerClass:t,categories:i,onCategoryClicked:n4,mailboxInfo:eT}),eV=h.createElement(n$._3,{canDelete:o,canPin:r,effectiveMentioned:l,hasAttachment:c,hasSharepointLink:u,importance:g,isComplete:v,isFlagged:S,isInArchiveFolder:b,isInNotesFolder:w,isInOutboxFolder:y,isPinned:Z,isRowExpanded:I||T,isSingleLine:!1,isSnoozed:k,isTaggedForBigScreen:D,itemClassIcon:O,lastDeliveryTimestamp:L,neverShowHoverIcons:!ec,neverShowPropertyIcons:!1,rowKey:j,smimeType:el,supportsFlagging:ed,supportsMove:eu,supportsPinning:em,tableViewId:ep,unreadCount:eg}),eB=()=>eP?n7({latestItemId:B,reactionsContainerClassName:on.K8,rowId:z,tableViewId:ep}):null,eG=h.useCallback(e=>{(0,nn.Cj)(e,ee.Z.MailListItemRichPreview,j,ep)},[j,ep]),eU=h.useMemo(()=>h.createElement(n$.MM,{conditionalFormattingModifications:eR,isExpanded:I||T,isHovered:ex,isUnread:eb,rowKey:j,tableViewId:ep}),[I,ex,T,eb,j,ep,eR]);return t=eb?oo.FP:oo.UQ,h.createElement(h.Fragment,null,eU,h.createElement("div",{className:(0,A.Z)(eS,on.xj)},h.createElement("div",{className:(0,A.Z)(on.C0,ek&&!Y&&on.j0,on.d1,"compact"===(0,x.iT)()&&on.hM,!eM&&(0,x.KS)(on.vj,on.$H,void 0),!Y&&eE&&!eZ&&!eM&&on.CE)},Y&&eO,eM&&e_),h.createElement("div",{className:(0,A.Z)(on.$Q,!eM&&on.uA)},h.createElement("div",{className:(0,A.Z)(t,eS)},V&&J&&h.createElement(nX,{lastSender:V,isMailListItemHovered:ex,isMailListItemSelected:F,mailboxInfo:eT}),q&&h.createElement(n$.n_,{isSelected:F}),(n=d??"",h.createElement(n$.bG,{highlightTerms:f,showDraftsIndicator:eo,isInOutboxFolder:y,unreadCount:eg,text:s,tooltipText:n,highlightAccuracy:ev?.highlightAccuracy})),eV),P&&V&&!oe(s)?h.createElement("div",null,(e=>{if(!(0,p.cr)("mail-junkSenderEmail",eT))return;let t=e.Mailbox?.EmailAddress&&oe(e.Mailbox?.EmailAddress??"")?`<${e.Mailbox.EmailAddress}>`:`<${(0,m.ZP)(ol)}>`;return h.createElement(n$.bG,{highlightTerms:f,showDraftsIndicator:eo,isInOutboxFolder:y,unreadCount:eg,text:t,tooltipText:e.Mailbox?.EmailAddress??"",highlightAccuracy:ev?.highlightAccuracy})})(V)):null,h.createElement("div",{className:(0,A.Z)(eb?on.co:on.vE,!eb&&on.Ui,on.zz)},h.createElement("div",{className:(0,A.Z)(on.UT,eS,(0,or.g)("Major"),ey&&on.GN)},ew&&ey&&eL(on.p3,on.Vz),h.createElement(n$.UG,{addOverflowStyles:ey,highlightTerms:f,highlightAccuracy:ev?.highlightAccuracy,text:Q,tooltipText:$??"",conditionalFormattingModifications:eR})),h.createElement(n$.wm,{unreadCount:eg,conditionalFormattingModifications:eR}),(0,p.cr)("tri-message-list-reactions")&&!ea&&eB(),D?h.createElement(h.Fragment,null):K?h.createElement(n$.ce,{conditionalFormattingModifications:eR,isPinned:Z,isSingleLine:!1,isSnoozed:!0,returnTime:K,supportsPinning:em}):!I&&!T&&h.createElement(n$.ce,{conditionalFormattingModifications:eR,isPinned:Z,isSingleLine:!1,isUnread:eb,lastDeliveryTimestamp:L,returnTime:K??"",supportsPinning:em})),(eN||E)&&h.createElement("div",{className:(0,A.Z)(on.Az,eS,E&&on.Gc)},h.createElement("div",{className:(0,A.Z)("GVo2G",E&&"f8sGS")},ew&&!ey&&eL(on.p3,(0,x.KS)(on.$E,on.G8,on.G8)),eC&&h.createElement(n$.Pe,{highlightTerms:f,highlightAccuracy:ev?.highlightAccuracy,isNudged:E,previewDisplay:ef,rowKey:j,tableViewId:ep})),ei&&h.createElement("div",{className:"d8RVr"},h.createElement(n$.Wm,{folderId:W,parentFolderDisplayName:H,isPreviewTextOn:ea||E,isSingleLine:!1,mailboxGuids:U,shouldBeInTabOrder:F})),(0,p.cr)("tri-message-list-reactions")&&eB()),eD&&h.createElement(n$.pf,{categories:i,categoryContainerClass:on.Vz,categoryWellContainerClass:on.p3,isNudged:E,isSingleLine:!1,mailboxGuids:U,parentFolderDisplayName:H,parentFolderId:W,rowId:z,showCategories:ew,showFolderTag:ei,showPreviewText:ea,mailboxInfo:eT}),eC&&en&&h.createElement(n$.bS,{isWideView:!1,onPreviewClick:eG,rowId:z,tableViewId:ep}),X&&h.createElement(n$.g9,{conversationId:a,isSelected:F,isSingleLineView:!1,itemClassIcon:O,latestItemId:B,listViewType:G,tableViewId:ep}),et&&h.createElement(oa.X,{isSingleLineView:!1,isSelected:F,rowId:z,tableView:ev}))))},"MailListItemFullThreeColumn"),ou=(0,u.P)(function(e){let{isFirstLevelExpanded:t,isLoadingSecondLevelExpansion:n,isSecondLevelExpanded:o,mailListItemDataProps:r,mailListTableProps:i,styleSelectorAsPerUserSettings:a}=e,{canDelete:l,canPin:s,categories:d,conversationId:c,effectiveMentioned:u,firstLineText:m,firstLineTooltipText:p,hasAttachment:f,hasSharepointLink:g,importance:v,isComplete:I,isFlagged:S,isInArchiveFolder:b,isInNotesFolder:w,isInOutboxFolder:y,isInJunkFolder:P,isNudged:C,isPinned:E,isSelected:M,isSnoozed:T,isTaggedForBigScreen:F,isUnauthenticatedSender:k,itemClassIcon:x,lastDeliveryTimestamp:R,lastSender:A,latestItemId:D,mailboxGuids:N,parentFolderDisplayName:_,parentFolderId:O,returnTime:L,rowId:V,rowKey:B,secondLineText:G,secondLineTooltipText:U,shouldShowExternalLabel:H,shouldShowRSVP:W,shouldShowTwisty:K,shouldShowSenderGroupingsButton:z,shouldSuggestUnsubscribe:j,showAttachmentPreview:Q,showCondensedView:$,showDraftsIndicator:q,smimeType:X,thirdLineText:Y,unreadCount:J}=r,{highlightTerms:ee,isSingleLine:et,listViewType:en,showFolderTag:eo,showPreviewText:er,supportsFlagging:ei,supportsHoverIcons:ea,supportsMove:el,supportsPinning:es,tableViewId:ed}=i,ec=(0,Z.OV)();return et?h.createElement(os,{canDelete:l,canPin:s,categories:d,conversationId:c,effectiveMentioned:u,firstLineText:m,firstLineTooltipText:p,hasAttachment:f,hasSharepointLink:g,highlightTerms:ee,importance:v,isComplete:I,isFirstLevelExpanded:t,isFlagged:S,isInArchiveFolder:b,isInNotesFolder:w,isInOutboxFolder:y,isInJunkFolder:P,isLoadingSecondLevelExpansion:n,isNudged:C,isPinned:E,isSearchTable:ec,isSecondLevelExpanded:o,isSelected:M,isSnoozed:T,isTaggedForBigScreen:F,isUnauthenticatedSender:k,itemClassIcon:x,lastDeliveryTimestamp:R,lastSender:A,latestItemId:D,listViewType:en,mailboxGuids:N,parentFolderDisplayName:_,parentFolderId:O,returnTime:L,rowId:V,rowKey:B,secondLineText:G,secondLineTooltipText:U,shouldShowExternalLabel:H,shouldShowRSVP:W,shouldShowTwisty:K,shouldShowSenderGroupingsButton:z,shouldSuggestUnsubscribe:j,showAttachmentPreview:Q,showCondensedView:$,showDraftsIndicator:q,showFolderTag:eo,showPreviewText:er,smimeType:X,supportsFlagging:ei,supportsHoverIcons:ea,supportsMove:el,supportsPinning:es,tableViewId:ed,thirdLineText:Y,unreadCount:J}):$?h.createElement(od,{canDelete:l,canPin:s,categories:d,conversationId:c,effectiveMentioned:u,firstLineText:m,firstLineTooltipText:p,hasAttachment:f,hasSharepointLink:g,highlightTerms:ee,importance:v,isComplete:I,isFirstLevelExpanded:t,isFlagged:S,isInArchiveFolder:b,isInNotesFolder:w,isInOutboxFolder:y,isInJunkFolder:P,isNudged:C,isPinned:E,isLoadingSecondLevelExpansion:n,isSearchTable:ec,isSecondLevelExpanded:o,isSelected:M,isSnoozed:T,isTaggedForBigScreen:F,isUnauthenticatedSender:k,itemClassIcon:x,lastDeliveryTimestamp:R,lastSender:A,mailboxGuids:N,parentFolderDisplayName:_,parentFolderId:O,rowId:V,rowKey:B,secondLineText:G,secondLineTooltipText:U,shouldShowExternalLabel:H,shouldShowTwisty:K,shouldShowSenderGroupingsButton:z,showDraftsIndicator:q,showFolderTag:eo,showPreviewText:er,smimeType:X,styleSelectorAsPerUserSettings:a,supportsFlagging:ei,supportsHoverIcons:ea,supportsMove:el,supportsPinning:es,tableViewId:ed,unreadCount:J}):h.createElement(oc,{canDelete:l,canPin:s,categories:d,conversationId:c,effectiveMentioned:u,firstLineText:m,firstLineTooltipText:p,hasAttachment:f,hasSharepointLink:g,highlightTerms:ee,importance:v,isComplete:I,isFirstLevelExpanded:t,isFlagged:S,isInArchiveFolder:b,isInNotesFolder:w,isInOutboxFolder:y,isInJunkFolder:P,isLoadingSecondLevelExpansion:n,isNudged:C,isPinned:E,isSearchTable:ec,isSecondLevelExpanded:o,isSelected:M,isSnoozed:T,isTaggedForBigScreen:F,isUnauthenticatedSender:k,itemClassIcon:x,lastDeliveryTimestamp:R,lastSender:A,latestItemId:D,listViewType:en,mailboxGuids:N,parentFolderDisplayName:_,parentFolderId:O,returnTime:L,rowId:V,rowKey:B,secondLineText:G,secondLineTooltipText:U,shouldShowExternalLabel:H,shouldShowRSVP:W,shouldShowTwisty:K,shouldShowSenderGroupingsButton:z,shouldSuggestUnsubscribe:j,showAttachmentPreview:Q,showDraftsIndicator:q,showFolderTag:eo,showPreviewText:er,smimeType:X,styleSelectorAsPerUserSettings:a,supportsFlagging:ei,supportsHoverIcons:ea,supportsMove:el,supportsPinning:es,tableViewId:ed,thirdLineText:Y,unreadCount:J})},"MailListItem");var om=n(174411),op=n(910082),of=n(751040),og=n(955811),ov=n(981724),oh=n(189635),oI=n(342362),oS=n(779694),ob=n(371656),ow=n(933293),oy=n(71155),oP=n(993167),oC=n(96008),oE=n(216446),oZ=n(3095);function oM(){let[e,t]=h.useState(!1);return[()=>{(0,et.TG)()||(0,et._x)()||(t(!0),(0,et.ef)(3,!1))},()=>{e&&!(0,et._x)()&&(t(!1),(0,et.ef)(3,!1))}]}var oT=n(636006),oF=n(213661),ok=n(709),ox=n(901632),oR=n(965278);let oA=(0,u.P)(function(e){let t=h.useRef(null),{mailListItemDataProps:n,mailListTableProps:o}=e,{rowKey:r,isPinned:i,conditionalFormattingModifications:a}=n,{tableViewId:l}=o,s=(0,Z.bh)().tableViews.get(l),[d,c,u]=(0,oE.z)(!1),[p,f]=oM(),g=h.useCallback(e=>{p();let t=n.latestItemId;t&&(0,oR.Z)(e,t,n.subject)},[n.latestItemId]),v=h.useMemo(()=>({isHovered:d,conditionalFormattingModifications:a}),[d,a]),I=h.useRef(s?.rowKeys.indexOf(r)),S=(0,R.T)(()=>s?.rowKeys.indexOf(r),[l,r]);h.useLayoutEffect(()=>{S!==I.current&&(u(),I.current=S)},[i]);let w=(0,R.T)(()=>(0,nn.E3)(s,r,n.lastDeliveryTimestamp),[l,r,n.lastDeliveryTimestamp]),y=(0,R.T)(()=>s?.focusedRowKey===r,[l,r]),P=(0,R.T)(()=>s?.focusedRowKey===r&&s?.lastAutoFocusedRowKey!==s.focusedRowKey,[l,r]),C=(0,R.T)(()=>s?.tableQuery.listViewType==0&&(0,nQ.FD)(r)&&(Z.Xp().expandedConversationViewState.forks?.length??0)>1,[l,r]),E=(0,R.T)(()=>s?.tableQuery.listViewType==0&&(0,nQ.Fw)(r),[l,r]),M=(0,R.T)(()=>s?.tableQuery.listViewType==0&&(0,nQ.Lg)(r),[l,r]),T=h.useCallback(e=>{e.stopPropagation(),e.preventDefault();let t=s?.selectedRowKeys;!s||s.isInVirtualSelectAllMode||t&&t.has(r)||(0,nn.Cj)(e,ee.Z.MailListItemContextMenu,r,l),(0,eV.I)((0,ow.Z)(e),ob.Z.All,oS.Z.MailListItem)},[l,r,s]);h.useEffect(()=>{let e=t.current;return()=>{e?.contains(document.activeElement)&&(0,en.Ig)("MailList")}},[]);let{getIsFocusInMailList:F,resetListViewContentTabIndex:k}=e;!function(e,t,n,o,r,i,a){let l=h.useRef(r);l.current=r;let s=o();h.useEffect(()=>{let o=e.current;i&&o&&(t?(s&&(n&&(o.focus(),(0,oZ.I)(i,a)),o.setAttribute("tabindex",en._6.sequentialIndex)),l.current()):o.setAttribute("tabindex",en._6.nonSequentialIndex.toString()))},[t,n,s,i,a]);let d=h.useCallback(o=>{let r=e.current;i&&r&&t&&!s&&n&&!o&&((0,oZ.I)(i,a),(0,eP.y8)("MailListItemContainer_AutoFocus",{intersection:!0}))},[t,n,s,i]);h.useEffect(()=>{if(e.current){let t=([t])=>{e.current&&d(t.isIntersecting)};try{Object.defineProperty(t,"name",{value:"MailListItemContainer_intersection"})}catch{}let n=new IntersectionObserver(t,void 0);return n.observe(e.current),()=>n.disconnect()}},[e.current,d])}(t,y,P,F,k,s,r);let x=e.mailListItemDataProps.shouldShowTwisty,D=h.useMemo(()=>({tableViewId:l,rowKey:r,shouldShowTwisty:x}),[l,r,x]);(0,e9.BO)(t,nT.importAndExecute,D),(0,e9.iu)(t,"shift+f10",T);let O=h.useMemo(()=>(0,oP.V)({onLongPress:T,onClick:e=>{t.current?.click()}}),[T]),L=h.useCallback(e=>{("Enter"!==e.key||e.shiftKey)&&" "!==e.key||(0,nn.Cj)(e,ee.Z.KeyboardEnter,r,l)},[r,l]),V=h.useCallback(()=>{if(t.current){if(!s)return;let e=[...s.selectedRowKeys.keys()][0];y&&e===r&&t.current.focus()}},[y]),B=h.useCallback(e=>{(0,nn.Cj)(e,ee.Z.MailListItemBody,r,l)},[r,l]),G=(0,R.T)(()=>(0,et.gS)(),[]),U=h.useCallback(e=>{e.stopPropagation(),o.supportsDoubleClick&&!G&&(0,nn.Cj)(e,ee.Z.MailListItemBodyDoubleClick,r,l)},[o.supportsDoubleClick,r,l,G]),H=(0,R.T)(()=>n.isSelected,[n.isSelected]),W=h.useCallback(()=>!n.isSelected&&o.canDragFromTable&&!n.isInNotesFolder,[n.isSelected,o.canDragFromTable,n.isInNotesFolder]),K=h.useCallback(()=>!n.isInGroup,[n.isInGroup]),z=h.useCallback(e=>{let t=_.Z.items.get(e);return t?.Size},[]),j=h.useCallback(e=>{let t=_.Z.items.get(e);return t?.MailboxInfo},[]),Q=h.useCallback(e=>{let t=_.Z.items.get(e);return!!t?.RightsManagementLicenseData||n.itemClassIcon===oI.Z.MailListViewIRM||n.itemClassIcon===oI.Z.MailListViewIRMReplied||n.itemClassIcon===oI.Z.MailListViewIRMForwarded},[]),$=h.useCallback(()=>({itemType:N.X.MailListRow,rowKeys:[r],tableViewId:l,tableListViewType:s?.tableQuery?.listViewType||1,subjects:[n.subject?n.subject:(0,m.ZP)(nV.r)],haveIRM:[Q(n.latestItemId)],sizes:[z(n.latestItemId)],mailboxInfos:[j(n.latestItemId)??(0,oT.Q)()],latestItemIds:[n.latestItemId]}),[n,s,r,l]),{numRows:q=0,rowPos:X=0}=function(e,t,n){let o=h.useRef(),r=h.useRef();return(0,R.T)(()=>{if(e){o.current=t?1===t.tableQuery.type?t.rowKeys.length:t.totalRowsInView:0;let e=t?.rowKeys?.indexOf(n.mailListItemDataProps.rowKey)??-1;r.current=e+1}return{numRows:o.current,rowPos:r.current}},[t,n.mailListItemDataProps.rowKey])}(y,s,e),Y=C||M,J=(0,R.T)(()=>Z.Xp().expandedConversationViewState?.selectedNodeIds?.length,[]),eo=(0,nn.TI)(n.isSelected,n.isFlagged,n.isPinned,w,o.supportsFlagging,o.supportsPinning,Y,J),er=(0,om.Z)(n,o,w,oo.nC,oo.IK),ei=!H&&!w||s?.isInVirtualSelectAllMode,ea=o.isSingleLine,el=(0,oy.W)((0,oC.bh)().hoverSurfaceActions??(0,oC.D1)()),es=el&&function(e,t,n,o){switch(e){case"Delete":return t;case"Archive":return!n&&!o}return null}(el,n.canDelete,n.isInArchiveFolder,n.isInOutboxFolder),ed=(0,A.Z)(oo.qj,es&&oo.h9,eo,ei&&on.ry,n.unreadCount>0&&er,es&&!H&&on.$0),ec=function(e,t,n,o,r,i){let{unreadCount:a,importance:l,hasAttachment:s,isFlagged:d,isPinned:c,subject:u,sendersOrRecipients:p,lastDeliveryTimestamp:f,thirdLineText:g,showDraftsIndicator:v,itemClassIcon:h,effectiveMentioned:I}=n,S=[];a>0&&S.push((0,m.ZP)(oh.p)),r&&(i?S.push((0,m.ZP)("akpeKe")):S.push((0,m.ZP)("sJVvze"))),"High"===l&&S.push((0,m.ZP)("UUeYae")),s&&S.push((0,m.ZP)("GHpbw")),d&&S.push((0,m.ZP)(ov.x)),c&&S.push((0,m.ZP)(tC)),h===oI.Z.MailListViewReplied&&S.push((0,m.ZP)("NoaDQe")),h===oI.Z.MailListViewForwarded&&S.push((0,m.ZP)("qGDqje")),I&&S.push((0,m.ZP)("rx4eo"));let b=oD(n.itemClassIcon);if(b&&S.push(b),S.push(p),v&&S.push((0,m.ZP)(og.O)),S.push(u),!n.returnTime&&f)try{let e=(0,tL.zg)(f);S.push(e)}catch(e){}return g&&S.push(g),o&&e?.selectedRowKeys.size!==1&&S.push((0,Z.e6)(t)),S.join(" ")}(s,l,n,y,x,C||M),eu=h.useMemo(()=>({role:op.ce.option,selected:H,label:ec||void 0}),[ec,H]),em=(0,nt.bp)(),ep=(0,R.T)(()=>(0,nt.Bx)(r),[r]),ef=`${r}_expansionAnimationWrapper`;return h.createElement(nn.Qk,{value:v},h.createElement("div",{id:r,"data-convid":n.conversationId,ref:t,tabIndex:-1,className:(0,A.Z)(oo.ct,em?on.Q_:void 0,em&&ep?on.bU:void 0,H&&(0,of.Ri)()&&on.vP),onClick:B,"aria-selected":H,"aria-setsize":q,"aria-posinset":X,onContextMenu:T,onKeyDownCapture:L,...(0,op.WO)(eu)},h.createElement(e4.Z,{canDrag:W,isDraggable:K,getDragData:$,getDragPreview:nm.sx,xOffset:nm.BO,yOffset:nm.eu,onDragStart:g,onDragEnd:f},h.createElement("div",{...O,className:ed,onClick:B,onDoubleClick:U,tabIndex:-1,onMouseOver:c,onMouseLeave:u},h.createElement(ou,{mailListTableProps:o,mailListItemDataProps:n,styleSelectorAsPerUserSettings:e.styleSelectorAsPerUserSettings,isFirstLevelExpanded:C,isSecondLevelExpanded:M,isLoadingSecondLevelExpansion:E}),es&&h.createElement(b.I8,{rowKey:r,tableViewId:l,isSingleLine:ea,isItemPart:!1,isHovered:d})))),h.createElement(ox.Z,{id:ef,in:Y,timeout:200,unmountOnExit:!0,classNames:ok.v},h.createElement("div",{className:oF.zB},h.createElement("div",{className:oF.er},h.createElement(b.jM,{wrapperId:ef,onUnmount:V,conversationId:n.rowId,tableViewId:l,isPinned:n.isPinned,isSingleLine:ea,tableViewSupportsFlagging:o.supportsFlagging,getIsFocusInMailList:e.getIsFocusInMailList,isFirstLevelExpansion:C,isSecondLevelExpansion:M,bigHoverAction:el,rowKey:r,supportsPinning:o.supportsPinning})))))},"MailListItemContainer"),oD=e=>{switch(e){case oI.Z.MailListViewAppointmentItem:return(0,m.ZP)("jRIpg");case oI.Z.MailListViewAppointmentAccepted:return(0,m.ZP)("wc_B1c");case oI.Z.MailListViewAppointmentDeclined:return(0,m.ZP)("htVrLd");case oI.Z.MailListViewAppointmentTentative:return(0,m.ZP)("ta7yKc");case oI.Z.MailListViewAppointmentCanceled:return(0,m.ZP)("GEM93c");default:return null}},oN=(0,u.P)(function(e){var t,n;let o=(0,R.T)(()=>(0,Z.rs)(e.rowKey,e.mailListTableProps.tableViewId),[e.rowKey,e.mailListTableProps.tableViewId]),r=(0,R.T)(()=>(0,Z.JK)(e.rowKey,e.mailListTableProps.tableViewId),[e.rowKey,e.mailListTableProps.tableViewId]),i=0==e.mailListTableProps.listViewType?!!o:!!r,a=(t=e.rowKey,n=e.mailListTableProps,h.useMemo(()=>i?n0(t,n):null,[...Object.values((i?n0(t,n):null)??{}),i]));return a&&h.createElement(h.Fragment,null,h.createElement(oA,{mailListTableProps:e.mailListTableProps,mailListItemDataProps:a,resetListViewContentTabIndex:e.resetListViewContentTabIndex,getIsFocusInMailList:e.getIsFocusInMailList,styleSelectorAsPerUserSettings:e.styleSelectorAsPerUserSettings}))},"MailListItemDataProvider");var o_=n(950798);let oO=()=>h.createElement(o_.$,{className:"Q7_8q"}),oL="bootstrapMailListItemWindowWidth",oV=(0,u.P)(h.forwardRef(function(e,t){var n;let o=h.useRef(null),r=(0,nd.r)(o,t),i=h.useRef(null),a=h.useRef(),l=(0,Z.bh)().tableViews.get(e.tableViewId),s=(n=e.tableViewId,h.useMemo(()=>(0,nu.Z)(n),[...Object.values((0,nu.Z)(n))])),d=(0,R.T)(()=>t0(l),[l]),c=h.useCallback(()=>!!o.current&&(o.current.focus(),!0),[]),[f,g]=(0,h.useState)(l.rowKeys),[v,I]=oM(),S=h.useCallback(e=>{v();let t=(0,ni.Z)(),n=t.latestItemIds;1===n.length&&n[0]&&(0,oR.Z)(e,n[0],t.subjects[0])},[s]);h.useEffect(()=>{tc?.virtualizedGroupHeaders?.clear(),g(l.rowKeys),t8()},[l]);let b=()=>{g(tu(l,s.supportsPinning))},w=h.useMemo(()=>(function(e){let t=[];for(let[n,o]of tc.virtualizedGroupHeaders.entries())if(o.isCollapsed){let n=o.rowKeys,r=n[0],i=e.rowKeys.indexOf(r);for(let e=i;e<i+n.length;e++)t.push(e)}return t})(l),[l,f]);h.useEffect(()=>{let e={previousSessionBrowserWidth:parseInt((0,ta.rV)(window,oL)??"0"),currentSessionBrowserWidth:(0,e6.wi)(),currentSessionViewMode:s.isSingleLine?"slv":"3col",previousSessionViewSwapSetting:(0,ta.rV)(window,"bootstrapMailListItemViewSwapSetting")??"none"};nF.importAndExecute(e)},[]),h.useEffect(()=>{(0,ta.LS)(window,oL,(0,e6.wi)().toString())},[s.isSingleLine]),(0,e9.BO)(o,nZ.importAndExecute,e.tableViewId),(0,e9.BO)(void 0,nM.importAndExecute,e.tableViewId),h.useEffect(()=>{nt.mailListItemAnimationStore.pendingAnimations.length>0&&nC(i,l)},[nt.mailListItemAnimationStore.pendingAnimations,l]),h.useEffect(()=>function(){(0,nt.wb)()},[l.id]),h.useEffect(()=>{t8(),g(tu(l,s.supportsPinning))},[l.currentLoadedIndex]),(0,nc.s)("resize",()=>{a.current&&(window.clearTimeout(a.current),a.current=void 0),a.current=window.setTimeout(()=>{a.current=void 0},150)},[]),function(e,t,n){h.useEffect(()=>{window.requestAnimationFrame(()=>{document.activeElement!==document.getElementById("MailList")||e.itemContextMenuState||t()})}),h.useEffect(()=>()=>{e.getIsFocusInMailList()&&(0,en.Fp)("MailListContentMount")},[]);let o=(0,et.Cj)(),r=h.useRef(),i=h.useRef();h.useEffect(()=>{void 0!==r.current&&r.current!==o&&i.current===n.id&&(0,en.Fp)("MailListContextMenuHideListView"),r.current=o,i.current=n.id},[o])}(e,c,l);let y=h.useCallback(()=>!(nt.mailListItemAnimationStore.activeAnimations.length>0)&&!(nt.mailListItemAnimationStore.pendingAnimations.length>0)&&(0,t7.UQ)(l),[l,nt.mailListItemAnimationStore.activeAnimations,nt.mailListItemAnimationStore.pendingAnimations]),P=()=>{let t=(0,m.ZP)("EmU0Xc");return((0,Z.ll)(l)||0==l.selectedRowKeys.size)&&(t+=" "+(0,Z.e6)(e.tableViewId)),t},C=h.useCallback((t,n,o)=>{e.onScroll?.(t,n)},[e.onScroll]),E=h.useCallback(()=>{let e=o.current;e?.getAttribute("tabindex")===en._6.sequentialIndex&&e.setAttribute("tabindex",en._6.nonSequentialIndex)},[]),M=h.useCallback(()=>{l.isLoading||t7.om.importAndExecute(l)},[l]),T=h.useCallback(()=>s.canDragFromTable,[s.canDragFromTable]),F=h.useCallback(()=>(0,ni.Z)().rowKeys.length>0&&s.isDraggable,[s.isDraggable]),k=(0,ns.bh)().isAnswerAvailable,x=h.useCallback((t,n,o)=>f.includes(t)?h.createElement(h.Fragment,{key:`item_${t}`},h.createElement(oN,{rowKey:t,mailListTableProps:o,resetListViewContentTabIndex:E,getIsFocusInMailList:e.getIsFocusInMailList,styleSelectorAsPerUserSettings:e.styleSelectorAsPerUserSettings}),(0,ef.w2)()&&1===l.tableQuery.type&&0!==n&&h.createElement(ef.OT,{tableQuery:l.tableQuery,itemIndex:n})):null,[f,E,e.getIsFocusInMailList,e.styleSelectorAsPerUserSettings,k]),D=h.useCallback((t,n)=>{let o=[],r=tb(t,n,l,d),a=l?.tableQuery?.sortBy?.sortColumn===16;return(r&&!a&&(o.push(h.createElement(nN,{key:`gh_${r}`,headerText:r,groupHeaderStylesAsPerUserSettings:e.styleSelectorAsPerUserSettings,hasSenderImageOffInFullView:(0,nn.FX)(l),listViewRef:i,tableView:l,onCollapse:b})),nr.Y.import().then(e=>{(0,no.a1)((0,no.sR)("GroupHeaderAddedToListView",{tableViewId:l.id,headerText:e(r),previousRowKey:t,currentRowKey:n}))})),0===o.length)?null:h.createElement(h.Fragment,{key:`header_${n}`},o)},[d,l,e.styleSelectorAsPerUserSettings]),N=h.useMemo(()=>h.createElement(oO,null),[]),_=h.useMemo(()=>{let e=l.focusedRowKey;return e?l.rowKeys.indexOf(e):-1},[l.focusedRowKey,l.rowKeys]),O=!(0,p.cr)("tri-fo-rollup-pinned-2"),L=h.useCallback((0,u.P)(function(){return h.createElement(h.Fragment,null,(0,ef.w2)()&&!(0,et.J5)()&&h.createElement(ef.OT,{itemIndex:0,tableQuery:l.tableQuery}),O&&h.createElement(nl.X,{key:"rollup_0",folderId:l.tableQuery.folderId,focusedViewFilter:(0,Z.JY)(l),tableView:l,shouldShowRollupOverride:!0}),e.shouldShowTopMessageAdList&&h.createElement(na.w,{loadInOtherPivot:1==(0,Z.JY)(l),loadInEmptyPivot:!1,loadInItemView:1==l.tableQuery.listViewType,loadOnHeader:!1,requestingAnotherFloatingAd:e.shouldShowFloatingMessageAdList,middleFloatingAdOnly:!1,shouldShowTwoAds:1==(0,Z.JY)(l)&&!e.shouldShowFloatingMessageAdList,tableView:l,adIndex:0}))},"PreRows"),[l,l.tableQuery,l.id,e.shouldShowTopMessageAdList,k,e.styleSelectorAsPerUserSettings]),V=h.useCallback((0,u.P)(function(){return h.createElement(h.Fragment,null,e.shouldShowFloatingMessageAdList&&h.createElement(na.w,{loadInOtherPivot:1==(0,Z.JY)(l),loadInEmptyPivot:!1,loadInItemView:1==l.tableQuery.listViewType,loadOnHeader:!1,requestingAnotherFloatingAd:e.shouldShowTopMessageAdList,middleFloatingAdOnly:!e.shouldShowTopMessageAdList,shouldShowTwoAds:!1,tableView:l,adIndex:e.shouldShowTopMessageAdList?1:0}))},"MidRows"),[l,l.tableQuery,l.id,e.shouldShowFloatingMessageAdList]),B=h.useCallback((0,u.P)(function(){return h.createElement(h.Fragment,null,(0,ef.w2)()&&k&&h.createElement(ef.OT,{tableQuery:l.tableQuery,totalRowKeys:l.rowKeys.length}),h.createElement(oB,{isLoading:l.isLoading,getCanCurrentTableLoadMore:y}))},"PostRows"),[y,l.isLoading,l.rowKeys.length,k]);return h.createElement(e4.Z,{canDrag:T,isDraggable:F,onDragStart:S,onDragEnd:I,getDragData:ni.Z,getDragPreview:nm.sx,xOffset:nm.BO,yOffset:nm.eu,classNames:"ONAp_"},(()=>{let t={estimatedRowHeight:oU(),updateStartAndEndIndices:Z.Mr,activeAnimationsCount:nt.mailListItemAnimationStore.activeAnimations.length,hiddenRowIndices:w};return h.createElement("div",{role:"region",className:e5},h.createElement("div",{tabIndex:0,role:"listbox","aria-multiselectable":!0,"aria-label":P(),ref:r,className:e5,"aria-activedescendant":l.focusedRowKey??void 0},h.createElement(to,{ref:i,className:(0,A.Z)("customScrollBar","jEpCF",(0,et.J5)()&&"R29xW"),dataSourceId:l.id,itemIds:l.rowKeys,focusedRowKeyIndex:_,focusedNodeId:(0,Z.Xp)().expandedConversationViewState.focusedNodeId,onScroll:C,onRenderRow:x,onRenderHeader:D,onLoadMoreRows:M,isLoadRowsInProgress:l.isLoading,getCanLoadMore:y,currentLoadedIndex:l.currentLoadedIndex,loadingComponent:N,rowWrapperClass:"zXLz3",PreRowsComponent:L,MidRowsComponent:V,midRowsComponentRowNumber:e.plannedMiddleMessageAdRow,PostRowsComponent:B,listProps:s,...t})))})())}),"MailListContent"),oB=(0,u.P)(function(e){return e.isLoading||!e.getCanCurrentTableLoadMore()?null:h.createElement("div",{className:"jxHeC"})},"SpinnerPlaceholder"),oG=(0,ts.computed)(()=>{let e=(0,x.E3)();if((0,et.J5)())switch(e){case"Full":return 36;case"Simple":return 32;case"Compact":return 24;default:(0,t$.v)(e)}else switch(e){case"Full":return 80;case"Simple":return 72;case"Compact":return 62;default:(0,t$.v)(e)}}),oU=()=>oG.get();var oH=n(719124);let oW=-1,oK=(0,u.P)(function(e){let t;let n=(0,Z.bh)().tableViews.get(e.tableViewId),{height:o}=(0,oH.i)();-1==oW&&(oW=Math.floor(3*Math.random()+3)),e={...e,itemContextMenuState:e.itemContextMenuState??(0,Z.Xp)().itemContextMenuState},h.useEffect(()=>{let e=(0,eL.RM)("MailList",f);return function(){e&&e()}},[]),h.useEffect(()=>{a.current=n?.rowKeys.length??0},[e.tableViewId]);let r=h.useRef(null),i=h.useRef(null),a=h.useRef(0),l=h.useRef(!1),s=(0,R.T)(()=>(0,e0.S)(n),[n]),d=(0,R.T)(()=>{if(n?.tableQuery.type!==1)return!1;let e=n.tableQuery.scenarioType;return"persona"!==e&&"privateDistributionList"!==e},[n]);function c(e){return 4==e||5==e}function u(e){return o>((0,et.J5)()?290+70*e:300+120*e)}h.useEffect(()=>{"Loaded"==s?l.current=!0:"Loading"==s&&(l.current=!1),d&&"Loading"!==s&&(0,eL.Fp)("MailListMount")},[s]);let m=t=>{let n=(0,eN._A)();if(0===n||void 0==t)return!1;if("inbox"!=(0,W.Z)(t.tableQuery.folderId))return 5==n&&["archive","none"].indexOf((0,W.Z)(t.tableQuery.folderId))>-1&&e1.lU?.adRemovedFolderIds.indexOf(t.tableQuery.folderId)==-1;{if(e1.lU?.inboxFolderShowAdCount==0&&!(e1.lU?.isSuperClicker&&e1.lU?.refreshAfterDeleteInterval>0&&e1.lU?.latestAdDeleteTime!=0&&Date.now()-e1.lU.latestAdDeleteTime>e1.lU.refreshAfterDeleteInterval)||e1.lU?.topFloatingAdDeleted)return!1;let o=c(n);return 1==(0,Z.JY)(t)&&o||o&&!(0,G.lW)((0,$.KT)(e.tableViewId))&&!((0,p.cr)("adsExp-NativeAds-FloatingAd-PrimaryInbox")&&t.rowKeys.length-1>oW&&u(oW))}},f=()=>!!r.current&&!!(0,et.Cj)()&&(i.current&&"Loaded"==s?i.current.focus():r.current.focus(),!0),g=h.useCallback(()=>!!r.current?.contains?.(document.activeElement),[]),v=h.useCallback(()=>r.current==document.activeElement,[]),I=h.useCallback((t,o)=>{if(e.itemContextMenuState&&b(),!n)return;let{rowKeys:r,totalRowsInView:i}=n,l=r.length;l>a.current&&((0,eP.y8)("TnS_ScrollLoadMore",[l,i]),a.current=l),(0,e_.v)(n,o),g()||(0,eL.Fp)("MailListScroll")},[e.itemContextMenuState,n]),{current:S}=(0,e8.x)("MailList",r),b=()=>{(0,eV.n)(),(0,et.gS)()||(0,et.Sh)(!0)},w=(0,e3.Z)();return t="Loaded"==s?h.createElement(h.Fragment,null,h.createElement(oV,{ref:i,isFocusOnMailList:v,getIsFocusInMailList:g,tableViewId:e.tableViewId,onScroll:I,shouldShowTopMessageAdList:m(n),shouldShowFloatingMessageAdList:(t=>{if(!((0,p.cr)("adsExp-NativeAds-FloatingAd-OtherInbox")||(0,p.cr)("adsExp-NativeAds-FloatingAd-PrimaryInbox")))return!1;if(void 0==t||e1.lU?.midFloatingAdDeleted)return oW=-1,!1;if(1==t.tableQuery.type)return!1;let n=(0,eN._A)(),o=c(n);if(!c(n)||t.rowKeys.length-1<=oW)return oW=-1,!1;if(!u(oW))return oW=-1,(0,eP.qu)("FloatingAdHideForSmallScreen"),!1;let r=(0,W.Z)(t.tableQuery.folderId),i=1==(0,Z.JY)(t);return"inbox"==r&&(i&&o&&(0,p.cr)("adsExp-NativeAds-FloatingAd-OtherInbox")||o&&!(0,G.lW)((0,$.KT)(e.tableViewId))&&(0,p.cr)("adsExp-NativeAds-FloatingAd-PrimaryInbox"))})(n),plannedMiddleMessageAdRow:oW,styleSelectorAsPerUserSettings:e.styleSelectorAsPerUserSettings,itemContextMenuState:e.itemContextMenuState??(0,Z.Xp)().itemContextMenuState}),(()=>{let{itemContextMenuState:t}=e;return t?h.createElement(eG,{anchorPoint:t.anchor,menuType:t.menuType,menuSource:t.menuSource,onDismiss:b,tableViewId:e.tableViewId}):null})()):"Loading"===s&&((0,p.cr)("sea-loadingShimmer")||!d)?h.createElement(eX,{heightOfView:S?.height??1e3}):h.createElement(eJ,{tableViewId:e.tableViewId,stateType:s,clearFilterCommand:oz,reloadCommand:()=>{n&&(0,e2.WH)(n.tableQuery,void 0,"EmptyListState"),(0,eP.y8)("TnS_RetryLoadMailListClicked")},shouldShowMessageAdList:m(n),shouldShowSearchAnswer:w,itemsPreviouslyLoaded:l.current}),h.createElement("div",{id:"MailList",tabIndex:-1,ref:r,className:(0,A.Z)(e5,w&&"customScrollBar"),..."Loaded"==s&&{onDragOver:e=>{e.preventDefault(),(0,p.cr)("tri-dnd-copy")&&e.ctrlKey&&(e.dataTransfer.dropEffect="copy")},onDrop:e=>{e.preventDefault()}}},t)},"MailList");function oz(){eO.k0.importAndExecute("EmptyListState")}var oj=n(87253),oQ=n(770828),o$=n(675458);let oq=new f.nI(()=>Promise.all([n.e(519875),n.e(438554)]).then(n.bind(n,438554))),oX=(0,f.$y)(oq,e=>e.SenderScreening);var oY=n(497670),oJ=n(137455),o0=n(827570),o1=n(418524);async function o3(e){if(e.ctrlKey&&"v"===e.key)for(let t of(e.preventDefault(),await window.navigator.clipboard.read()))for(let e of t.types){if("web application/owa-item-drag-data"!==e)return;let n=await t.getType(e),o=JSON.parse(await n.text()),r=o.itemType;if(r!==N.X.MailListRow&&r!==N.X.MultiMailListConversationRows&&r!==N.X.MultiMailListMessageRows)return;let i=(0,Z.bh)().tableViews.get(o.tableViewId),a=(0,Z.ii)();if(!i||!a)return;let l=(0,eF.L4)(i),s=(0,eF.L4)(a);if(0===a.tableQuery.type){let e=a.tableQuery.folderId;if(l.userIdentity!==s.userIdentity||(0,Z.Mh)(i)&&(0,oY.hZ)()||(0,Q.j7)(e))return;O.ft.importAndExecute(o.rowKeys,i,e,"Keyboard")}else if((2===a.tableQuery.type||3===a.tableQuery.type)&&(r===N.X.MultiMailListMessageRows||r===N.X.MailListRow)){let e=(0,oJ.B)(s,a.tableQuery.folderId);if(!e?.canCopyMessage||"GroupMailbox"===l.type&&l.mailboxSmtpAddress!==a.tableQuery.folderId||(0,o0.M4)(s)!==(0,o0.M4)(l))return;o1.L9.importAndExecute(o,a.tableQuery.folderId,!0,"Keyboard")}}}let o2=(0,u.P)(function(e){let{tableViewId:t,tabBar:n,className:o,shouldShowHeader:r,style:i,styleSelectorAsPerUserSettings:a}=e,l=(0,Z.bh)().tableViews.get(t),s=(0,oT.Q)(),{dataWidthMin:d,dataHeightMin:c,dataWidthMax:u,dataHeightMax:f}=(0,et.KO)(),g=(0,p.cr)("sea-copilotMailResults")&&(0,Z.OV)(),v=h.useRef(null),I=h.useCallback(e=>{e?(v.current=e,v.current.addEventListener("keydown",o3)):v.current&&(v.current.removeEventListener("keydown",o3),v.current=null)},[]);return h.createElement(o$.X,{skipLinkName:(0,m.ZP)("BiQg3c"),role:"complementary","data-app-section":"MessageList","aria-label":(0,m.ZP)("hmQIxc"),tabIndex:-1,style:i,className:o,"data-min-width":d,"data-min-height":c,"data-max-width":u,"data-max-height":f,ref:(0,p.cr)("tri-ctrl-copy")?I:null},(0,tO.Z)(void 0,s)&&(1==(0,eN._A)()||2==(0,eN._A)())&&!oj.B.isEffective&&l&&h.createElement(na.w,{loadInOtherPivot:!1,loadInEmptyPivot:!1,loadInItemView:l?.tableQuery?.listViewType==1,loadOnHeader:!0,requestingAnotherFloatingAd:!1,middleFloatingAdOnly:!1,shouldShowTwoAds:!1,tableView:l,adIndex:0}),r&&eA(t,a),(0,p.cr)("tri-sender-screening-dev")&&(0,tO.Z)(void 0,s)&&h.createElement(oX,null),l?.tableQuery.folderId&&(0,Z.M1)(l?.tableQuery.folderId)&&h.createElement(o4,{styleSelectorAsPerUserSettings:a}),g&&h.createElement(ef.xx,null),l&&(0,et.Sl)(t)&&h.createElement("div",{id:"SearchAnswerTop"},h.createElement(ef.OT,{tableQuery:l?.tableQuery,itemIndex:0})),(0,et.Sl)(t)&&l?.tableQuery.folderId&&h.createElement(h.Fragment,null,h.createElement(o9,{tableViewId:t,folderId:l.tableQuery.folderId}),(0,p.cr)("tri-fo-rollup-pinned-2")&&h.createElement(nl.X,{key:"rollup_0",folderId:l.tableQuery.folderId,focusedViewFilter:(0,Z.JY)(l),tableView:l,shouldShowRollupOverride:!0})),h.createElement(oK,{key:"listpane_list",tableViewId:t,styleSelectorAsPerUserSettings:a}),(0,tO.Z)(void 0,s)&&3==(0,eN._A)()&&!oj.B.isEffective&&l&&h.createElement(na.w,{loadInOtherPivot:!1,loadInEmptyPivot:!1,loadInItemView:l?.tableQuery?.listViewType==1,loadOnHeader:!0,requestingAnotherFloatingAd:!1,middleFloatingAdOnly:!1,shouldShowTwoAds:!1,tableView:l,adIndex:0}),(0,et.xb)()&&h.createElement(oQ.II,{hostId:"MailModuleNotificationBarHost",onNotificationBlur:o5}),n)},"ListPane"),o5=()=>{(0,en.Fp)("ListPaneNotificationBlur")},o6=new f.nI(()=>n.e(442010).then(n.bind(n,442010))),o4=(0,f.$y)(o6,e=>e.InboxPausedBanner),o9=(0,f.$y)(o6,e=>e.MailListColumnHeaders);var o7=n(565795),ReadingPane=n(670326),o8=n(836479),re=n(381145);let rt=new f.nI(()=>n.e(513174).then(n.bind(n,513174))),rn=(0,f.$y)(rt,e=>e.MessageAdReadingPane),ro=new f.nI(()=>Promise.all([n.e(110810),n.e(613812),n.e(650146),n.e(431777),n.e(665283),n.e(466459),n.e(146660),n.e(231091)]).then(n.bind(n,896868))),rr=(0,f.$y)(ro,e=>e.MultiSelectReadingPane);var ri=n(747544),ra=n(570829),rl=n(797489),rs=n(225994),rd=n(647019),rc=n(13628),ru=n(875728),rm=n(595139),rp=n(575130),rf=n(447816),rg=n(505376),rv=n(324090);let ReadingPaneContainer=(0,u.P)(function(e){let[t,n,o]=(0,oE.z)(!1),r=()=>{let e=document.getElementById("ReadingPaneContainerId")?.clientHeight;e&&e<500?n():o()},[i]=(0,ri.O)("ReadingPaneContainer"),a=()=>i(()=>{r()},1);h.useEffect(()=>{if((0,p.cr)("rp-earlyLoadV2")){let e=(0,Z.ii)(),t=e?.tableQuery.listViewType,n=!(0,oi.Z)()&&0==t;ru.Gv.importAndExecute({task:()=>rm.gx.importModule("readingPane"),priority:ru.mn.Inbox},{task:()=>rp.gx.importModule("readingPaneStore"),priority:ru.mn.Inbox},{condition:n,task:()=>rf.gx.importModule("conversationReadingPaneStore"),priority:ru.mn.Inbox})}return setTimeout(r,0),(0,ra.mK)(a,"",window)},[]);let l=n=>{let o=null;switch(n.type){case rl.AO.MailCompose:let r=o8.Z8.viewStates.get(n.data);if(r){let e=(0,rs.Z)(),t=(0,rd.Q)(r);r.perfDatapoint?.addToCustomWaterfall(4,"RenderFullCompose",!0),o=!e&&t?h.createElement(re.G2,{key:r.composeId,viewState:r}):null}else{let e="";o8.Z8.viewStates.forEach((t,n)=>{e=e+n+" : "}),tS.g4.warn("[ReadingPaneContainer] Attempted to render compose tab ID "+n.data+" but it was not present in the compose store. Compose store IDs are "+e)}break;case rl.AO.SecondaryReadingPane:let i=n?.data?.id?.mailboxInfo;o=i&&(0,rc.bY)(i).stateType===rc.sp.AuthError?null:h.createElement(ReadingPane.Z,{isDumpsterOrDumpsterSearchTable:e.isDumpsterOrDumpsterSearchTable,isFromMainWindow:!0,isItemAttachment:e.isItemAttachment,maximizeScrollRegion:t})}return o},s=(0,rg.e)(rv.j);return h.createElement("div",{className:(0,A.Z)("Xsklh",s?"Fr1kM":"VJZZC"),key:"readingPaneContainerDiv",id:"ReadingPaneContainerId"},(()=>{let n=null,o=(0,rl.MA)();if(o&&(o.type==rl.AO.MailCompose||o.type==rl.AO.SecondaryReadingPane))n=l(o);else if(e.isDumpsterOrDumpsterSearchTable&&!e.useMultiSelectReadingPane)n=h.createElement(ReadingPane.Z,{isDumpsterOrDumpsterSearchTable:e.isDumpsterOrDumpsterSearchTable,isFromMainWindow:!0,isItemAttachment:e.isItemAttachment,maximizeScrollRegion:t});else if(e.useMultiSelectReadingPane)n=h.createElement(rr,{isDumpsterOrDumpsterSearchTable:e.isDumpsterOrDumpsterSearchTable,isNotesFolder:e.isNotesFolder});else{let o=o8.Z8.primaryComposeId&&o8.Z8.viewStates.get(o8.Z8.primaryComposeId);n=e1.lU.selectedAdId?h.createElement(rn,{selectedAdRowId:e1.lU.selectedAdId}):o&&!o.isInlineCompose?!(0,rs.Z)()&&(0,rd.Q)(o)?h.createElement(re.G2,{viewState:o,key:o.composeId}):null:!o||(0,rd.Q)(o)?h.createElement(ReadingPane.Z,{isDumpsterOrDumpsterSearchTable:e.isDumpsterOrDumpsterSearchTable,isFromMainWindow:!0,isItemAttachment:e.isItemAttachment,maximizeScrollRegion:t}):null}return h.createElement("div",{key:"renderReadingPaneDiv"},n)})())},"ReadingPaneContainer");var rh=n(976007);let rI=new f.nI(()=>Promise.all([n.e(695126),n.e(294537)]).then(n.bind(n,857689)),{name:"TabView"}),rS=(0,f.$y)(rI,e=>e.TabBar);var rb=n(538038),rw=n(707718),ry=n(341809),rP=n(62699),rC=n(955473),rE=n(689592),MailModule=n(72522);let MailView=(0,u.P)(function(){h.useEffect(()=>{rC.B5.importAndExecute("Mail"),(0,p.cr)("acct-fullOptionsProjectionPopout")&&ry.Dx.importAndExecute()},[]);let e=(0,Z.ii)(),t=(0,o7.h)(),n=(0,et.xb)(),o=(0,et.f2)(),r=(0,et.sA)(),i=(0,et.Cj)(),a=(0,rl.MA)(),l=function(){let e=Z.ii()?.tableQuery;return(0,Z.jJ)(e)||(0,rP.K4)(e)}(),s=(0,rg.e)(rv.j),d=(0,rg.d)(rv.j);!a||l||(o?i=i&&a.type!=rl.AO.MailCompose:n||(r=a.type!=rl.AO.Primary||(0,et.sA)(),i=a.type==rl.AO.Primary&&(0,et.Cj)()));let c=i&&!r&&(0,et.gS)()&&!l,u=h.useMemo(()=>c?h.createElement(rS,null):null,[c]);if(!e)return null;let f=e.id,g=(0,rb.Z)(f),v=!c&&!l,I=(0,A.Z)(n?MailModule.OZ:MailModule.Ku,o&&MailModule.Ry,MailModule.QO,d&&MailModule.Uh,!i&&MailModule.KM,(0,et.Uy)()),S=(0,A.Z)(o?MailModule.HH:MailModule.Xn,MailModule.Fh,MailModule.HX,MailModule.WG),w=(0,Z.OV)(),y=1===(0,ec.PZ)().type,P=w&&!y&&!ek(e),C=w&&y&&!(0,ec.PZ)().id,E=P&&n,M="notes"===(0,W.Z)(e?.tableQuery?.folderId??""),T=e&&B.ZP.folderTable.get(e.tableQuery.folderId),F=eT.ID.tryImportForRender(),k=!!F&&F(),x=(0,p.cr)("sea-newSearchHeader");return T&&"notes"===(0,W.Z)(T.id)&&(0,p.cr)("notes-folder-view")?(window.performance&&window.performance.mark("StartStickyNotesSDKLoad"),h.createElement(rw.Rl,{scenario:"NotesFolder",header:eA(f,void 0)})):h.createElement("div",{className:MailModule.Zm},(E||k)&&(x?h.createElement("div",null):h.createElement("div",{className:(0,A.Z)(MailModule.YH,s&&MailModule.ke)},h.createElement("div",{className:MailModule.gg},eA(f,g)))),C&&h.createElement(b.FR,{tableView:e,hideFilter:!0,showRefiners:!0,hideCheckAll:!1,styleSelectorAsPerUserSettings:g}),h.createElement("div",{className:S},k?h.createElement(eT.uY,{header:void 0}):h.createElement(h.Fragment,null,h.createElement(o2,{className:I,tableViewId:f,shouldShowHeader:(!w||!x)&&!E,tabBar:u,styleSelectorAsPerUserSettings:g}),r&&i&&h.createElement(rh.O,{direction:o?rh.x.horizontal:rh.x.vertical,onResized:rZ}),r&&h.createElement(o$.X,{skipLinkName:(0,m.ZP)("J$kaOd"),role:"main",regionName:(0,m.ZP)("sdAwOd"),className:(0,A.Z)(MailModule.V_,(0,et.Q)()),"data-app-section":"MailReadCompose"},h.createElement(ReadingPaneContainer,{isDumpsterOrDumpsterSearchTable:l,suppressServerMarkReadOnReplyOrForward:(0,Z.z5)(e),isNotesFolder:M,useMultiSelectReadingPane:t}),v&&h.createElement(rS,null))),!n&&h.createElement(oQ.II,{hostId:"MailModuleNotificationBarHost",onNotificationBlur:rM}),(0,p.cr)("tips-tour")&&h.createElement(rE.z,null)),(0,p.cr)("acct-fullOptionsProjectionPopout")?h.createElement(h.Fragment,null):h.createElement(ry.BU,null))},"MailView");function rZ(e){let t=(0,et.xb)();(0,et.XR)(e,t),(0,ra.U_)()}function rM(){(0,en.Fp)("MailViewNotificationBarHost")}},550065:(e,t,n)=>{n.d(t,{Z:()=>N});var o=n(345301),r=n(709077),i=n(510265),a=n(281457),l=n(926797),s=n(928323),d=n(848635),c=n(690673),u=n(320344),m=n(790830),p=n(787012),f=n(302140),g=n(136851),v=n(9703),h=n(636006),I=n(423599),S=n(274943),b=n(92935),w=n(206339),y=n(697399),P=n(985081),C=n(299500),E=n(52924),Z=n(284976),M=n(197584);let T=(0,p.computed)(()=>{let e=(0,h.Q)();if("GroupMailbox"==e.type){let t=g.Qv.tryImportForRender();if(!t||t(e.mailboxSmtpAddress,e))return!0;if((0,w.cr)("grp-3sSearch")){let t=I.sX.tryImportForRender(),n=t?.(e.mailboxSmtpAddress,e);if(n&&n===S.a.Loaded){let t=I.g8.tryImportForRender();return!t?.(e.mailboxSmtpAddress,"inbox",e)}return!0}}return!1}),F=(0,p.computed)(()=>y.$h.selectedNode?.treeType==b.Ht&&(0,s.Z)()&&!E.Z().SessionSettings?.IsExplicitLogon?(0,f.ZP)(C.B6):k());function k(e){let t=(0,h.Q)(),n="GroupMailbox"==t.type;if(T.get())return n?(0,f.ZP)("WP0M8"):(0,f.ZP)("CCpsqd");if(y.$h.selectedNode&&(0,P.B2)(y.$h.selectedNode.id))return(0,f.ZP)("cbKKs");if(n&&(0,w.cr)("grp-3sSearch")){let e=t.mailboxSmtpAddress,n=e?(0,v.m)(t,e):null;if(n)return(0,f.WU)((0,f.ZP)("PfUiob"),n)}else if((0,a.Y)()){let e=(0,M.C)(),n=Z.nq.tryImportForRender();if(n){let o=n(e,t)?.appDefinition?.name;return o?(0,f.WU)((0,f.ZP)("$zJiWd"),o):(0,f.ZP)("RBq2Dc")}}return(0,w.cr)("sea-searchPlaceholderExperiment-staticMode")||(0,w.cr)("sea-searchPlaceholderExperiment-activeMode")&&e?(0,f.ZP)("bgAarc"):(0,f.ZP)(C.$T)}let x=(0,i.P)(o.forwardRef(function(e,t){let n=o.useRef(),[i,p]=o.useState(!1),{shouldShowAdvancedSearch:f,advancedSearchViewState:g,initialSearchScope:v,staticSearchScope:h,staticSearchScopeList:I,selectedMailboxInfo:S}=(0,c.bh)(),b=!(0,u.Z)(v),w=!(0,a.Y)();o.useImperativeHandle(t,()=>({onSearchScopeSelected(e){n.current?.onSearchScopeSelected(e)},setFocus(){n.current?.focusSearchInput()}}),[]);let y=o.useCallback(()=>{p(!1)},[i]),P=o.useCallback(()=>{p(!0)},[i]),C=o.useMemo(()=>({onMouseEnter:P,onMouseLeave:y}),[]);return o.createElement(l.Z,{customCollapsedMaxWidth:(0,r.xb)()?(0,r.J)():void 0,isUsing3S:(0,s.Z)(),ref:n,renderRefiners:b||!w?void 0:()=>o.createElement(m.l,{shouldShowAdvancedSearch:f,scenarioId:d.Y7.Mail,advancedSearchViewState:g,initialSearchScope:v,staticSearchScope:h,staticSearchScopeList:I,mailboxInfo:S}),searchPlaceHolderText:k,isDisabled:T.get(),scenarioId:d.Y7.Mail,isSuggestCalloutDisabled:b,onHoverHandlers:C,isHovered:i,ariaLabel:F.get()})}),"MailSearchBoxContainer");var R=n(530570),A=n(548923),D=n(461788);function N(e){return{props:{searchAlignmentWidth:(0,r.Vx)(),renderSearch:()=>o.createElement(x,{ref:e}),searchBoxRespond:_,renderSearchScopePicker:()=>o.createElement(R.tj,{searchBoxRef:e}),enableResponsiveLayout:!0,enableDiagnostics:!0}}}async function _(e){(await A.U8.import())(D.Z.Mail,0===e)}},260754:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(563546),r=n(707501);function i(e,t){(0,o.Z)(e),t&&(0,r.Z)(t)}},563546:(e,t,n)=>{n.d(t,{Z:()=>r});var o=n(338822);function r(e){if(!e){(0,o.wT)("Route");return}(0,o.vw)(e,"Route")}},707501:(e,t,n)=>{n.d(t,{Z:()=>l});var o=n(538477),r=n(313380),i=n(14726),a=n(754932);function l(e){let t=(0,i.Z)(),n=(0,r.vu)([e],t)[0];t.rowKeys.includes(n)&&(0,o.Af)(t,n,!0,a.Z.RouteHandler)}},873494:(e,t,n)=>{let o,r,i,a,l,s,d;n.r(t),n.d(t,{getMailBootstrapOptions:()=>iX,lazyGetGroupsBootstrapOptions:()=>iQ,lazyGetPeopleBootstrapOptions:()=>iq});var c=n(345301),u=n(498030),m=n(426474),Droppable=n(855523),p=n(510265),f=n(302140),g=n(709077),v=n(402392),h=n(930150);let I=new v.nI(()=>n.e(906178).then(n.bind(n,673690))),S=(0,h.h)(I,e=>e.MailLeftPaneAsOverlay);var b=n(352130),w=n(72522),y=n(150064),P=n(202509);let C=(0,p.P)(function(){let e=(0,g.TG)(),t=(0,g._x)(),n=(0,y.Z)(w.fS,(0,g.oN)(),e?"":w.jx),{dataMin:o,dataMax:r}=(0,g.bo)(),i=(0,P.c)(e);return c.createElement("div",{tabIndex:-1,role:"region","aria-label":(0,f.ZP)("mctUFe"),"data-app-section":"NavigationPane",className:n,"data-min-width":o,"data-max-width":r},c.createElement("div",{className:(0,y.Z)(w.io,i)},t?c.createElement(S,null):c.createElement(b.Z,null)))},"MailLeftPane");var MailView=n(363562),E=n(228465),Z=n(313380),M=n(996295),T=n(312459),F=n(45409),k=n(194468);let x=(0,p.P)(function(){let e=(0,Z.ii)(),t=e.id,n=e?.tableQuery,o=T.ID.tryImportForRender(),r=!!o&&o(),i=n.searchScope?.kind===F.D9.PrimaryMailbox,a=n.searchScope?.kind==F.D9.ArchiveMailbox?(0,f.ZP)(k.gy):(0,f.ZP)(k.uN),l=c.useMemo(()=>{if(void 0!=n)return c.createElement("div",{className:w.YH},c.createElement("div",{className:w.gg},c.createElement(E.s8,{searchScenarioId:n.searchScenarioId,noTabsEnabledTitleText:a,isPrimaryMailBox:i},c.createElement(M.Aw,{tableViewId:t,isInboxWithPivots:!0,isSearchRender:!0}))))},[t,n]),s=c.useMemo(()=>r?c.createElement("div",{className:w.BL},c.createElement(T.uY,{header:void 0})):c.createElement("div",{className:w.BL},c.createElement(MailView.Z,null)),[r]);return c.createElement("div",{className:w.DQ},l,s)},"SearchView");var R=n(167081),A=n(645225);let D=new v.nI(()=>Promise.all([n.e(448256),n.e(74646),n.e(62167)]).then(n.bind(n,62167))),N=(0,v.$y)(D,e=>e.AdsPanel);var _=n(561111);let AdsPanelStub=(0,p.P)(function(e){let t=["GssDD"];return!(0,_.pB)()||e.isHidden?t.push("F_Q0i"):e.isBottom&&t.push("Gd_12"),c.createElement("div",{className:t.join(" ")},(0,_.pB)()&&c.createElement(N,{isBottom:e.isBottom}))},"AdsPanelStub");var O=n(136851),L=n(270615),V=n(240282),B=n(592948),G=n(206339),U=n(570829),H=n(324615),W=n(976007),K=n(335725),z=n(504311),j=n(76444),Q=n(10440);let $=new v.nI(()=>n.e(356711).then(n.bind(n,356711)),{name:"MailModuleKeys"}),q=new v._5($,e=>e.setupMailModuleKeys),X=(0,v.$y)($,e=>e.GroupView);var Y=n(636283);let J=new v.nI(()=>n.e(71373).then(n.bind(n,71373))),ee=(0,v.$y)(J,e=>e.TopUpsellBanner,void 0,void 0,{govern:!0});var et=n(902041),en=n(110363),eo=n(795839);let er=(0,eo.MT)("mailFaviconStore",{areMessagesUnseen:!1})(),ei=()=>er,ea=(0,eo.lr)("SET_UNSEEN_COUNT",function(e){ei().areMessagesUnseen=e});var el=n(636006);function es(){(0,et.Z)()===(0,en.en)("inbox",(0,el.Q)())&&document.hasFocus()&&ea(!1)}var ed=n(268571),ec=n(655182),eu=n(955473),em=n(505376),ep=n(324090);let MailModule=(0,p.P)(function(e){(0,Q.BO)(void 0,q.importAndExecute,e.searchBoxRef),(0,u.s)("focus",()=>{es()},[]),(0,u.s)("blur",()=>{es()},[]),(0,u.s)("focusout",e=>{eu.Wz.importAndExecute(e)},[]),(0,u.s)("keydown",e=>{eu.DD.importAndExecute(e)},[]);let t=function(e){let t=c.useRef(),n=c.useRef(),o=c.useCallback(o=>{n.current=Date.now(),t.current||(t.current=window.setInterval(()=>{Y.g4.info("Check last DragOver time"),(!n?.current||Date.now()-n.current>=3e3)&&(e(null),a())},3e3)),e(o.itemType)},[]),r=c.useCallback(()=>{Y.g4.info("onDragLeave"),e(null),a()},[]),i=c.useCallback(()=>{e(null),a()},[]),a=c.useCallback(()=>{Y.g4.info("clearPendingDragHintRemover"),t.current&&(window.clearInterval(t.current),t.current=null)},[]);return{onDragOver:o,onDragLeave:r,onDrop:i}}(eg);c.useEffect(()=>{(0,H.Fp)("MailModule")},[]);let n=(0,m.Z)(),o=(0,V.Z)()&&!(0,G.cr)("ads-shutdown-displayAds"),r=(0,g.TG)(),i=(0,Z.OV)()&&(0,G.cr)("sea-newSearchHeader"),a=(0,em.d)(ep.j);return c.createElement(c.Fragment,null,(0,G.cr)("cal-roaming-timeZones-mail")&&c.createElement(ec.V,null),c.createElement(Droppable.Z,{classNames:w.XS,...t,dropViewState:n,shouldIgnoreTransientOnDragLeave:!0,bypassActOnDrop:!0},c.createElement(ee,null),c.createElement("div",{className:w.FW,id:"MainModule"},c.createElement("div",{className:w.wq},c.createElement("div",{className:a?w.cV:w.Gq},c.createElement(C,null),!(0,g._x)()&&r&&c.createElement(W.O,{className:w.TC,onResized:ef}),c.createElement("div",{"data-max-width":2400,className:(0,y.Z)(w.mh,(0,K.z)(r&&!(0,g._x)(),(0,g.hL)()))},(0,B.s)()&&(0,O.RY)()?c.createElement(X,null):i?c.createElement(x,null):c.createElement(MailView.Z,null)),o&&c.createElement(AdsPanelStub,{isBottom:!1,isHidden:(0,L.f)()})))),o&&c.createElement(AdsPanelStub,{isBottom:!0})),c.createElement(j.O,{"aria-live":A.Z.triageAnnouncement.politenessSetting,message:A.Z.triageAnnouncement.message}))},"MailModule");function ef(e){e+=ed.$n,(0,g.l4)(e),(0,U.U_)()}function eg(e){A.Z.typeOfItemBeingDragged!=e&&((0,R.Z)(e),(0,z.k)(e))}var ev=n(550065),eh=n(658369),eI=n(384483),eS=n(575130);(0,eo.ed)(eh.Z,e=>{let t=e.itemIdToRemove,n=A.Z.items.get(t);if(!n)return;let o=n.ConversationId?.Id;(0,eS.YG)(o,e.removeItemSource)||(0,eS.XB)(t,e.removeItemSource)||function(e,t,n){if(!n)return!1;for(let o of(0,eI.Z)(t,n,!0))if(!(0,Z.Mh)(o)){for(let t of(0,Z.vu)([e],o))if(o.rowKeys.indexOf(t)>=0)return!0}return!1}(t,n.MailboxInfo,n.ParentFolderId?.Id)||A.Z.items.delete(t)});var eb=n(511943),ew=n(382092),ey=n(330103),eP=n(827570),eC=n(716266);(0,eo._F)(eb.I4,e=>{(0,ew.t9)()&&(0,ew.sf)(e.removedAccount.mailboxInfo);let t=(0,el.Q)();(0,eP.M4)(t)===(0,eP.M4)(e.removedAccount.mailboxInfo)&&(0,eC.Z)((0,ey.Z)("inbox",(0,eb.zl)()),"primaryFolderTree","ResetInbox")});var eE=n(232723),eZ=n(67199),eM=n(697399),eT=n(152806),eF=n(418524),ek=n(580596),ex=n(468285),eR=n(300011),eA=n(792304),eD=n(973002),eN=n(678093),e_=n(836440);let eO="Mode";async function eL(){if((0,eR.JI)(eO)&&"FreeUpMSQSpace"===(0,eR.mn)(eO)){let e=(0,eR.hj)(location.search,eO);if(history.replaceState(history.state,"/",location.pathname+e),(0,G.cr)("storage-attachmentsSearchFolderCleanup-link")){let e=(0,el.Q)(),t=await (0,eN.Z)((0,eA.Z)({Id:"root"}),"USQ-AttachmentItems-1",(0,eD.Z)(e));t?.FolderId?.Id&&(0,e_.A)(t.FolderId?.Id,e,!1)}}}var eV=n(714995);let eB=(0,ex.t8)(async function(e){let t=(0,eb.zl)(),n=new eZ.Gn("loadFolderForest");await (0,ek.SY)(t,e),eT.Nz.importAndExecute(),(0,ew.Rn)(t),!function(){let e=(0,eM.PZ)();switch(e.type){case 0:case 1:let t=e.id;return void 0!==(t?en.ZP.folderTable.get(t):void 0);case 2:return!0}return!1}()&&(0,eV.Z)("ResetInbox",e),(0,B.s)(t)&&(n.addCustomData({isSourceIdAwareGroupStore:!0}),eG()),eL(),n.end()},"ff");async function eG(){for(let e of(0,eb.MN)())if(e&&(0,B.s)(e.mailboxInfo)){let t=e.mailboxInfo;await eF.DM.importAndExecute(e,!0),await eE.XH.importAndExecute(t),(0,G.cr)("grp-loadFolders")&&!(0,V.Z)(void 0,t)&&eE.D2.importAndExecute(t)}}var eU=n(116269),eH=n(352579),eW=n(786080),eK=n(16082),ez=n(589132),ej=n(742015);let eQ=(0,eo.MT)("commandBarAction",{surfaceActions:[],overflowActions:[]})(),e$=()=>eQ,eq=(0,eo.aD)("loadCommandBarActions");var eX=n(52924);let eY=[0,1,2,3,4,5,6,7,8,18,19,9,10,11,12,13,14,17,15,16];(0,eo.ed)(eq,()=>{let e=function(e){return e?e.split(",").map(Number):eY.slice()}(eX.Z()?.ViewStateConfiguration?.MailTriageActionConfig),t=e.indexOf(18);e$().surfaceActions=e.slice(0,t),e$().overflowActions=e.slice(t+1)});var eJ=n(376622),e0=n(884155),e1=n(248406),e3=n(584685),e2=n(442089);function e5(e,t,n){n.cache.writeFragment({id:"MailFolder:"+t,fragment:(0,e2.Ps)` fragment ChildFolderIds on MailFolder { childFolderIds } `,data:{childFolderIds:e}})}let e6={MailFolder:{fields:{childFolderIds:{merge:!1,read:e=>e||[]},parentFolderId:{merge:!1},FolderId:{merge:(e,t)=>({Id:t?.Id||e?.Id,ChangeKey:e?.ChangeKey||t?.ChangeKey||null,__typename:"FolderId"})}}},Query:{fields:{folder:(e,{args:t,toReference:n})=>n({__typename:"MailFolder",id:t?.id}),folderHierarchy:{keyArgs:["baseFolderDistinguishedIds","mailboxInfo"],merge:(e,t,n)=>{let o=e?.RootFolder||t.RootFolder,r=n.readField("mailboxInfo",o),i=function(e,t,n,o,r,i){if(!e)return[];let a=o.readField("id",e);if(!a)return[];let l={},s=new Map,d={},c=[];l[a]=e,c.push(a),t.forEach(e=>{let t=o.readField("id",e);t&&(l[t]=e)}),n.forEach(e=>{let t=o.readField("id",e);t&&(l[t]=e,c.push(t))}),c.forEach(e=>{let t=l[e],n=o.readField("parentFolderId",t),r=o.readField("distinguishedFolderType",t);if(r&&(d[r]=e),n){let t=l[n];if(t){if(!s.get(n)){let e=o.readField("childFolderIds",t)||[];s.set(n,[...e])}let r=s.get(n);r&&-1==r.indexOf(e)&&r.push(e)}}}),s.forEach((e,t)=>{e5(e,t,o)});let u=[];i||(0,e3.$)(r).forEach(e=>{let t=d[e];t&&u.push(t)});let m=o.readField("childFolderIds",e)||[];for(let e=0;e<m.length;e++){let t=m[e]||null;t&&-1==u.indexOf(t)&&u.push(t)}return e5(u,a,o),[...t,...n]}(o,e?.Folders||[],t?.Folders||[],n,r,t.CustomSorted);return{RootFolder:o,Folders:i,TotalItemsInView:t.TotalItemsInView,offset:t.offset,IncludesLastItemInRange:t.IncludesLastItemInRange,CustomSorted:t.CustomSorted,__typename:"FolderHierarchyResult"}}}}}};var e4=n(92935);let e9={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"PrimaryMailFolderHierarchy"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"baseFolderDistinguishedIds"}},type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"offset"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"mailboxInfo"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"MailboxInfoInput"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"shouldShowNotesFolder"}},type:{kind:"NamedType",name:{kind:"Name",value:"Boolean"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"shouldShowConversationHistoryFolder"}},type:{kind:"NamedType",name:{kind:"Name",value:"Boolean"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"shouldShowOutboxFolder"}},type:{kind:"NamedType",name:{kind:"Name",value:"Boolean"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"folderHierarchy"},arguments:[{kind:"Argument",name:{kind:"Name",value:"baseFolderDistinguishedIds"},value:{kind:"Variable",name:{kind:"Name",value:"baseFolderDistinguishedIds"}}},{kind:"Argument",name:{kind:"Name",value:"offset"},value:{kind:"Variable",name:{kind:"Name",value:"offset"}}},{kind:"Argument",name:{kind:"Name",value:"mailboxInfo"},value:{kind:"Variable",name:{kind:"Name",value:"mailboxInfo"}}},{kind:"Argument",name:{kind:"Name",value:"shouldShowNotesFolder"},value:{kind:"Variable",name:{kind:"Name",value:"shouldShowNotesFolder"}}},{kind:"Argument",name:{kind:"Name",value:"shouldShowConversationHistoryFolder"},value:{kind:"Variable",name:{kind:"Name",value:"shouldShowConversationHistoryFolder"}}},{kind:"Argument",name:{kind:"Name",value:"shouldShowOutboxFolder"},value:{kind:"Variable",name:{kind:"Name",value:"shouldShowOutboxFolder"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"OnFolderHierarchyResponse"}}]}}]}},...n(591964).p.definitions]};var e7=n(944712);let e8=(e,t)=>{let n={};t&&(n[t.id]=t);let o=[];for(let t=0;t<e.length;t++){let r=e[t];if(r){let e=r.id;n[e]=r,o.push(e)}}o.forEach(e=>{let t=n[e],o=n[t.parentFolderId];o&&(o.childFolderIds||(o.childFolderIds=[]),o.childFolderIds&&-1==o.childFolderIds.indexOf(e)&&o.childFolderIds.push(e))})};var te=n(651609),tt=n(410541),tn=n(754932),to=n(538477),tr=n(220493),ti=n(308828),ta=n(532658),tl=n(749518),ts=n(851454);let td=0,tc={folIdRes:!1,focFilRes:!1,rowKeyRes:!1,loadingMore:0,resSPRes:!1};async function tu(e){if(o=new eZ.Gn("fdHandleRestoreMail"),e){let n=e.rowKey,r=e.folderId,i=e.module,a=e.focusedViewFilter;if(o?.addCustomData({mod:i,folId:!!r,focFil:a,rowKey:!!n}),i===ti.Yl.Mail){if(void 0!==r){let e=(0,eM.PZ)().id;if(r&&r!==e&&(0,tr.Z)(r,"FreezeDry"),r!==(0,eM.PZ)().id)o?.endWithError(eZ.SO.ClientError,Error("Failed to select folder"));else if(tc.folIdRes=!0,void 0!==a){let e=(0,Z.ii)();if((0,Z.JY)(e)!==a&&((0,ta.pT)(a,"FreezeDry"),e=(0,Z.ii)()),(0,Z.JY)(e)!==a)o?.endWithError(eZ.SO.ClientError,Error("Failed to select focusedViewFilter"));else if(tc.focFilRes=!0,void 0!==n){if(!await tm(e,n)){var t;for(let o=0;o<3&&(td=o+1,!await (t=e,tl.om.importAndExecute(t),tm(t,n)));o++);tc.loadingMore=td,3===td&&o?.endWithError(eZ.SO.ClientError,Error("Failed to select row after loading more items "+td+" times"))}}else tc.rowKeyRes=!0}else tc.focFilRes=!0}tc.folIdRes&&tc.focFilRes&&tc.rowKeyRes&&(tc.resSPRes=!0),o?.addCustomData(tc)}}o?.end()}async function tm(e,t){return await (0,ts.Z)(5e3),!!(t&&e.rowKeys.includes(t))&&((0,to.Af)(e,t,!1,tn.Z.MailListItemBody),tc.rowKeyRes=!0,!0)}function tp(){let e={folderId:eM.PZ()?.id,rowKey:[...Z.ii()?.selectedRowKeys?.keys()][0],focusedViewFilter:(0,Z.JY)((0,Z.ii)())};tt._I.importAndExecute(e)}function tf(e){eW.Z.initialize(A.Z.conversations,e=>{(0,eK.Z)(e)}),(0,tt.bQ)(tt.GM.Persist,tt.BY.MainWindow,tp),(0,tt.bQ)(tt.GM.Restore,tt.BY.MainWindow,tu);let t=(0,eb.zl)(),n=(0,ej.I)(t);(0,ez.It)(n),(0,e0.rB)(n),(0,te.IW)(n),eq(),(0,eU.Wq)(t),(0,eH.r)(t,e),eB(e),(0,g.xR)();let o=(0,e1.WQ)();(0,eJ.Z)(),o.cache.policies.addTypePolicies(e6),function(e){try{let t=(0,eb.zl)(),n=(0,e7.N)(e,t);if(n){n.Folders&&e8(n.Folders,n.RootFolder);let e={baseFolderDistinguishedIds:[e4.qx],offset:0,mailboxInfo:t,shouldShowNotesFolder:(0,e3.M)("notes",t),shouldShowConversationHistoryFolder:(0,e3.M)("conversationhistory",t),shouldShowOutboxFolder:(0,e3.M)("outbox",t)};(0,e1.aI)(e9,{variables:e,data:{folderHierarchy:n}})}}catch(e){(0,Y.rx)(e)}}(e)}var tg=n(563546);function tv(e){(0,tg.Z)(e.folderId)}var th=n(338822);async function tI(e){await th.J2.importAndExecute(e.categoryId)}var tS=n(810846),tb=n(913356);let tw=/^[a-z0-9._%+-]+@[a-z0-9.-]+\.[a-z]{2,3}$/i;function ty(e){if(!e.groupAlias||!e.groupDomain)return null;let t=e.groupAlias+"@"+e.groupDomain;return tw.test(t)?t:null}var tP=n(539445),tC=n(963062),tE=n(238582),tZ=n(958642),tM=n(255843);async function tT(e,t){let n=ty(e);if(!n)return;(0,eZ.y8)("MailGroupFilesRouteHandlerEvent",{source:(0,eR.WM)()}),(await tS.G_.import())((await tS.VZ.import()).Files);let o=(0,eb.zl)();if((0,tE.Z)()&&(0,tC.Z)(o)){let e=await tZ.P.import();await e(o,!1,!0),tP.eO.importAndExecute(o,n,void 0,tM.Z.Files,"MailAppGroupsFilesRouting");return}await th.fT.importAndExecute(n,"groups",o);let r=t&&t.length>2?t[2]:null;r?(0,tb.eL)(n,"/"+r):(0,tb.eL)(n,"")}var tF=n(260754),tk=n(707501);function tx(e){(0,tk.Z)(e.rowId)}function tR(e){let{folderId:t,rowId:n}=e;(0,tF.Z)(t,n)}var tA=n(360180);async function tD(e){tx(e);let t=await tA.U0.import(),n=(0,tA.Uq)(window);t(e.attachmentId,n)}async function tN(e,t,n,o){if(!(n&&n.some(e=>"sxs"==e))){let e=(0,tA.Uq)(window);(await tA.Ef.import())("browserNavigation",e)}return!1}let t_=new v.nI(()=>n.e(85983).then(n.bind(n,85983))),tO=new v._5(t_,e=>e.resetSxSViewStore),tL=new v._5(t_,e=>e.getSxSViewState);async function tV(e,t,n,o){return await tO.importAndExecute("browserNavigation"),!1}async function tB(){return tN()}async function tG(e,t){await tT(e,void 0)}var tU=n(14623),tH=n(353867),tW=n(42805);let tK=new v.nI(()=>Promise.all([n.e(850341),n.e(531481)]).then(n.bind(n,182758))),tz=new v.EF(tK,e=>e.DeeplinkActionType),tj=new v._5(tK,e=>e.initializeDeeplink),tQ=new v._5(tK,e=>e.onGroupDetailsLoaded),t$=new v._5(tK,e=>e.onGroupDetailsLoadError);var tq=n(331005);async function tX(e){let t,n,o,r=ty(e),i=(0,eb.zl)();if(r){if(r=r.toLowerCase(),(0,eZ.y8)("MailGroupRouteHandlerEvent",{source:(0,eR.WM)()}),e.actionId&&(await tQ.import(),o=new Promise(e=>{t=()=>{tQ.importAndExecute(i),e()},n=()=>{t$.importAndExecute(),e()}})),!e.actionId&&(0,tE.Z)()&&(0,tC.Z)(i)){let e=await tZ.P.import();await e(i,!1,!0),tP.eO.importAndExecute(i,r,void 0,void 0,"MailAppGroupsRouting");return}if(await th.fT.importAndExecute(r,"groups",i,t,n),(await tS.G_.import())((await tS.VZ.import()).Email),e.actionId){let t=(await tz.import())[e.actionId.toLowerCase()];if(null!=t){let e=async e=>{(await tW.D.import())(e,i)},n=async e=>{(0,tq.z)(i)?await tH.O.importAndExecute(e,"GroupHub_CommandBar",i):(await tU.V.import())(e,i)};tj.importAndExecute(r,t,e,n,i)}}e.rowId&&(0,tk.Z)(e.rowId),o&&await o}}function tY(e,t,n,o){return!!n&&n.some(e=>"search"==e)}var tJ=n(567034);async function t0(e){await th.FE.importAndExecute(e.favoriteNodeId)}var t1=n(19538),t3=n(797722),t2=n(836479),t5=n(75008),t6=n(34844),t4=n(763763);async function t9(e){(0,tg.Z)(e.folderId),e.draftId?await t5.X3.importAndExecute({Id:e.draftId,mailboxInfo:(0,t4.Z)()},null):await t6.$h.importAndExecute("Route")}function t7(){if(t2.Z8.primaryComposeId){let e=t2.Z8.viewStates.get(t2.Z8.primaryComposeId);if(e)return t5.fv.importAndExecute(e).then(()=>!1,()=>!0)}return!1}var t8=n(84148);function ne(){(0,t8.e)()}var nt=n(258597);function nn(e){(0,nt.gS)()&&((0,eZ.y8)("Search_ReadingPaneClosed",["BrowserBackButton"]),(0,g.Sh)(!1),(0,g.mF)(!0)),e.rowId&&(0,tk.Z)(e.rowId)}function no(e,t,n,o){return e&&e.some(e=>"sxs"==e)&&(tN(e,t,n,o),(0,g.Sh)(!1)),!1}var nr=n(956089),ni=n(478248);async function na(){let e=(0,eb.zl)(),t=(0,ni.p)(e);t.SegmentationSettings?.SetPhoto&&await nr.W3.importAndExecute()}var nl=n(521150);async function ns(e){let t=ty(e);if(!t)return;let n=(0,eb.zl)();if((0,tE.Z)()&&(0,tC.Z)(n)){let o=await tZ.P.import();await o(n,!1,!0),tP.eO.importAndExecute(n,t,e.folderId,void 0,"MailAppGroupsFolderRouting")}else{await th.fT.importAndExecute(t,e4.Ac,n);let o=await tS.G_.import(),r=await tS.VZ.import();th.C3.importAndExecute(t,e.folderId,"groupFolderTree",n),(0,nl.wG)(t,n),o(r.Email)}}async function nd(e){await ns(e),e.rowId&&(0,tk.Z)(e.rowId)}var nc=n(91157);function nu(){nc.wB.importAndExecute()}function nm(){(0,th.wT)("Route")}var np=n(341032),nf=n(899405);let ng={routeGenerator:Promise.resolve(function(){let e=[],t=(0,t3.s)();if(t.length)return e.push(...t),e;if(t2.Z8.primaryComposeId){e.push("compose");let t=t2.Z8.viewStates.get(t2.Z8.primaryComposeId);return t.itemId?.Id&&e.push(t.itemId.Id),e}let n=(0,eM.PZ)(),o=(0,tA.Uq)(window),r=(0,tA.BR)(o);if(1===n.type){if(n.id)return e.push("persons",n.id),e}else if(4===n.type){if(n.id)return e.push("category",n.id),e}else if(2===n.type||(0,G.cr)("grp-loadFolders")&&6===n.type){if(n.id){let t=null;switch(n.type){case 2:t=n.id;break;case 6:t=n.groupId}let o=t.split("@");if(2!=o.length)return e;e.push("group",o[1],o[0]);let i=tS.DA.tryImportForRender(),a=tS.VZ.tryImportForRender();if(i&&a)switch(i.navigationButtonSelected){case a.Email:if(e.push("email"),6===n.type){let o=(0,nl.L0)(t,n.id,n.mailboxInfo);switch(o){case"inbox":case"deleteditems":e.push(o);break;default:e.push(n.id)}}break;case a.Files:e.push("files");let l=tL.tryImportForRender();if(l){let t=l();if(t?.previewPane&&t.previewPane.mode!=nf.vC.Blank){e.push("sxs","sp",t.previewPane.id);break}}if(r.extendedViewState.attachmentId&&!(0,V.Z)()){e.push("sxs","attachment",r.extendedViewState.attachmentId.Id);break}if(tb.Ci){let t=(0,tb.Ci)(n.id);if(t&&t.length>0)for(let n of("/"==t.charAt(0)&&(t=t.substring(1)),t.split("/")))e.push(n)}return e}}}else if(3===n.type)e.push("search");else if(0===n.type){let t=(0,et.Z)();if(t){let n=t.id;e.push(t.distinguishedFolderType?(0,np.Z)(n):n)}}if((0,g.sA)()){let t=(0,eS.Yx)(),n=(0,eS.gz)();n?e.push("id",n.conversationId.Id):t&&e.push("id",t.itemId)}return(r.extendedViewState.attachmentId&&e.push("sxs",r.extendedViewState.attachmentId.Id),1==e.length&&"inbox"==e[0])?[]:e}),vdir:window?.location?.pathname.indexOf("/hosted/mail")==0?"hosted/mail":"mail",defaultRoute:"/",registerRoutes:function(e){return e("/help",ne),e("/feedback",nu),e("/compose",t9,t7),e("/compose/:draftId",t9,t7),e("/search/id/:rowId/sxs/:itemId/:attachmentId",tD,no),e("/search/id/:rowId/sxs/:attachmentId",tD,no),e("/search/id/:rowId",tx,no),e("/search",nn,no),e("/mail/id/:rowId",tR),(0,B.s)()&&(e("/group/:groupDomain/:groupAlias",tX),e("/group/:groupDomain/:groupAlias/email",tX),e("/group/:groupDomain/:groupAlias/email/id/:rowId",tX),e("/group/:groupDomain/:groupAlias/action/:actionId",tX),(0,G.cr)("grp-loadFolders")&&(e("/group/:groupDomain/:groupAlias/email/:folderId",ns),e("/group/:groupDomain/:groupAlias/email/:folderId/id/:rowId",nd)),e("/group/:groupDomain/:groupAlias/files/sxs/sp/:spFileId/?((\\w|.)*)",tG,tV),e("/group/:groupDomain/:groupAlias/files/sxs/attachment/:attachmentId/?((\\w|.)*)",tG,tB),e("/group/:groupDomain/:groupAlias/files/?((\\w|.)*)",tT)),(0,t3.k)(e),(0,t1.Vh)(e),e("/persons/:favoriteNodeId",t0),e("/category/:categoryId",tI),e("/inclientstore",tJ.v),e("/inclientstore/assetid/:assetId",tJ.v),e("/inclientstore/assetid/:assetId/campaignid/:campaignId/providerid/:providerId",tJ.v),e("/changephoto",na),e("/:folderId/id/:rowId/sxs/:itemId/:attachmentId",tD,tN),e("/:folderId/id/:rowId/sxs/:attachmentId",tD,tN),e("/:folderId/compose/:draftId",t9,t7),e("/:folderId/compose",t9,t7),e("/:folderId/id/:rowId",tR,tY),e("/:folderId",tv,tY),e("",nm),Promise.resolve()}};var nv=n(347394);let nh={fontFileName:"surfaceActionIcons",icons:{InsertSignatureLine:"ï™·",ArrangeByFrom:"",Phishing:"",CreateMailRule:"",Encryption:"ïš",ReadOutLoud:"ï„’"}};var nI=n(438918),nS=n(714865);let nb=new nS.nI(()=>Promise.all([n.e(788521),n.e(695126),n.e(330841),n.e(362603),n.e(395368),n.e(752476),n.e(685829)]).then(n.bind(n,333440)),{name:"MailFunctionalBoot"}),nw=new nS._5(nb,e=>e.setupMailModulePostRender);var ny=n(875728),nP=n(75953),nC=n(122307),nE=n(368124),nZ=n(828475);let nM={root:"NkFok"},nT=(0,p.P)(function(){let e=(0,nZ.K)();return c.createElement(c.Fragment,null,c.createElement(nE.h,{containerStyle:nM,key:"UpNextV2_ExtraTopRibbonControlsAfterTabs"}),e&&c.createElement(nZ.f,null))},"ExtraTopRibbonControlsAfterTabs"),nF=(0,nP._)(function(){return c.createElement(nT,null)});var nk=n(519363),nx=n(817121),nR=n(395776);let nA=()=>{(0,nk.we)(2,void 0)},nD=(0,nP._)(function(){return c.createElement(nx.f,{onClick:nA,isExpanded:(0,nR.T)()})});var nN=n(721695),n_=n(492811),nO=n(724567),nL=n(34889);let nV=new v.nI(()=>Promise.all([n.e(437255),n.e(878313),n.e(76288),n.e(779285),n.e(800477),n.e(154053),n.e(7540)]).then(n.bind(n,7540))),nB=new v._5(nV,e=>e.getDefaultCheckBoxRenderer),nG=new v._5(nV,e=>e.getDefaultComboBoxRenderer),nU=new v._5(nV,e=>e.getDefaultRibbonToggleButtonRenderer);var nH=n(948666),nW=n(397133);let nK={appCheckboxControlRendererFunction:()=>()=>c.createElement(c.Fragment,null),appComboboxControlRendererFunction:()=>()=>c.createElement(c.Fragment,null),appToggleButtonControlRendererFunction:()=>()=>c.createElement(c.Fragment,null)},nz=!1,nj=(0,nW.NF)(e=>(nz||ny.Gv.importAndExecute({task:()=>{nB.import().then(e=>{nK.appCheckboxControlRendererFunction=e}),nG.import().then(e=>{nK.appComboboxControlRendererFunction=e}),nU.import().then(e=>{nK.appToggleButtonControlRendererFunction=e}),nz=!0},priority:ny.mn.Compose}),t=>{let{shouldTakeFocus:n=!0,type:o}=t;switch(o){case"AppButtonProps":return(0,nN.S)()({...t,shouldTakeFocus:n});case"AppComboBoxProps":return nK.appComboboxControlRendererFunction(nH.Qf)(t);case"AppToggleButtonProps":return nK.appToggleButtonControlRendererFunction()({...t,shouldTakeFocus:n});case"AppCheckboxProps":return nK.appCheckboxControlRendererFunction(nH.Qf)(t);case"AppFlyoutAnchorProps":return(0,n_.F)(nH.Qf,e)(t);case"AppSplitButtonProps":return(0,nO.W)(nH.Qf,e)({...t,shouldTakeFocus:n});case"AppIconPreviewGalleryProps":return(0,nL.r)(nH.Qf,e)({menuLauncherLabel:"",...t});default:return(0,Y.rx)("getMailControlRendererFunction: Unknown control type: "+o+". This means this function is missing a control renderer for that specific control."),c.createElement(c.Fragment,null)}}));var nQ=n(286627);let n$={isPopout:!1,mailboxInfo:void 0};var nq=n(960347),nX=n(989717),nY=n(20512),nJ=n(798571),n0=n(35337),n1=n(992571),n3=n(86650),n2=n(38942),n5=n(583235),n6=n(22350),n4=n(749881),n9=n(734039),n7=n(737130),n8=n(198622),oe=n(619776),ot=n(824932),on=n(420010),oo=n(487515),or=n(837045),oi=n(495816);let oa=(0,nP._)((e,t,n,o,r)=>{let i=(0,oo.t)(7022,r);return(0,nJ.lC)((0,oe.V)(7022,e),i.text,(0,on.W)(7022,()=>(0,G.cr)("mos-inContextStore")?n8._U.importAndExecute():oi.g.importAndExecute({callerFn:"Ribbon",appId:or.WI.AppStore})),n?(0,nJ.Fl)([n],7022):void 0,ot.Z,void 0,t,{customTooltip:i.tooltip,disabled:o})});var ol=n(137184),os=n(317379),od=n(561572),oc=n(505274),ou=n(585223),om=n(490169),op=n(527773),of=n(24415),og=n(308807),ov=n(725657),oh=n(986622);let oI=(0,nP._)(function(){return{root:{borderRadius:0},rootPressed:{backgroundColor:(0,og.XN)().neutralQuaternary},rootHovered:{backgroundColor:(0,og.XN)().neutralLighterAlt}}}),oS=(0,nP._)(function(){return{root:{height:"50%",borderRadius:4,borderWidth:1,borderStyle:"solid",borderColor:"transparent",width:"100px"},rootPressed:{backgroundColor:(0,og.XN)().neutralQuaternary,borderWidth:1,borderStyle:"solid",borderColor:(0,og.XN)().neutralTertiary},rootHovered:{backgroundColor:(0,og.XN)().neutralLighterAlt,borderWidth:1,borderStyle:"solid",borderColor:(0,og.XN)().neutralQuaternary}}}),ob=(0,nP._)(function(e){let t=(0,og.XN)(),{borderRadius:n,chevronIconSize:o,rootHeight:r,rootMarginTop:i}=oh.singleLineRibbonStyleConstants,a=r-2;return{galleryContainer:{root:{borderRadius:n,borderColor:e?t.neutralQuaternary:t.neutralTertiary,background:t.neutralPrimarySurface,height:e?r:void 0,marginRight:e?4:void 0,marginTop:i,overflow:"hidden"}},galleryButtonInPreview:{root:{height:e?a:void 0}},previewExpandButton:{icon:{marginLeft:e?void 0:-4},root:{borderLeft:`1px solid ${e?t.neutralQuaternary:t.neutralTertiary}`,backgroundColor:t.neutralPrimarySurface,fontSize:o,height:e?a:void 0},rootHovered:{backgroundColor:t.neutralLight,outline:"transparent dashed 2px",borderColor:t.neutralQuaternary},rootPressed:{backgroundColor:t.neutralQuaternary,borderColor:t.neutralQuaternary},rootExpanded:{background:t.neutralQuaternary},rootExpandedHovered:{background:t.neutralLight}}}}),ow=(0,nP._)(function(e,t){let n=ob(e),o="100px";return 3===t||4===t?o="200px":(5===t||6===t)&&(o="300px"),{...n,...!e&&{previewStackStyle:{root:{width:o}}}}});var oy=n(113696),oP=n(999135);let oC=e=>{oy.FA.import().then(t=>{(0,oP.R)("ChangeNoteColorMenuDefinitionStore",void 0,()=>({sections:t(e)}))})},oE=e=>{oy.PY.import().then(t=>{(0,oP.R)("QuickStepsMenuDefinitionStore",void 0,()=>({sections:t(e)}))})},oZ=()=>{oy.hO.import().then(e=>{(0,oP.R)("SnoozeMenuDefinitionStore",void 0,()=>({sections:e()}))})},oM=(e,t)=>{oy.CW.import().then(n=>{(0,oP.R)("ViewGroupsMenuDefinitionStore",void 0,()=>({sections:n(e,t)}))})},oT=()=>{oy.tj.import().then(e=>{(0,oP.R)("MyDayOptionsMenuDefinitionStore",void 0,()=>({sections:e()}))})};var oF=n(118259),ok=n(697239),ox=n(321885);let oR=()=>{oy.C4.import().then(e=>{(0,oP.R)("DensityMenuDefinitionStore",void 0,()=>({sections:e()}))})};var oA=n(929380),oD=n(979031);let oN=(0,nP._)(function(e){let t=(0,oo.t)(640,e);return(0,od.$I)(640,t.text,t.tooltip,e,(0,on.W)(640,nk.Nq),(0,nJ.Fl)([6],640),t.iconName,void 0,(0,oc.gU)())}),o_=(0,nP._)(function(e){let t=(0,oo.t)(641,e),n="ChangeNoteColorMenuDefinitionStore";return(0,od.UA)(641,t.text,t.tooltip,e,(0,ok.rF)(n),(0,nJ.Fl)([6],641,!0),t.iconName,void 0,(0,n9.i)(),void 0,{onExecute:()=>{oC(e)},onAfterMenuDismiss:()=>{(0,oA.SN)(n)}})}),oO=(0,nP._)(function(e){let t=(0,oo.t)(642,e);return(0,od.$I)(642,t.text,t.tooltip,e,(0,on.W)(642,nk.Mf),(0,nJ.Fl)([6],642),t.iconName,void 0,(0,n9.i)())}),oL=(0,nP._)(function(e,t){let n=function(e,t){let n=[],o=(0,os.Y)(t),r=(0,om.VZ)(o).slice(0,6),i=(0,om.H7)(o),{iconSize:a}=oh.singleLineRibbonStyleConstants,l=(0,G.cr)("mon-ribbon-mlr-redesign")?16:24,s=e?a:l;if(0!==r.length&&i){let t=e?1:Math.min(6,r.length);for(let i=0;i<t;i++){var d;let t=r[i],a=(d=t.name).length>25?[!0,d.slice(0,25)+"..."]:[!1,d],l=(0,op.z)(t,o),c=l.name;n.push({id:t.id,type:nJ.C3,label:a[1],previewIconProps:{iconName:c,style:{fontSize:s,height:s,width:s,color:l.color}},title:(0,ov.P)(void 0,t.name,{description:t.description,fallbackToName:a[0],hotkey:(0,om.WV)(t.hotkey)}),disabled:(0,of.dY)(t.actions),style:e?oI():oS()})}}else{let o=(0,oo.t)(550,t),r=o.iconName,i=(0,ou.n)(2);n.push({id:"550",type:nJ.C3,label:o.text,previewIconProps:{iconName:r,style:{fontSize:s,height:s,width:s,color:i}},title:o.tooltip,style:e?oI():oS()})}return n}(e,t),o=(0,oo.t)(550,t),r="QuickStepsMenuDefinitionStore";return{type:"AppIconPreviewGalleryProps",id:(0,ox.w)(550),galleryButtons:n,onGalleryButtonExecute:(0,nk.qZ)(t),onMenuButtonExecute:()=>{oE(t)},onAfterMenuDismiss:()=>{(0,oA.SN)(r)},expandedOptions:(0,ok.rF)(r),stack:!0,styles:ow(e,n.length),shadowRenderMenu:!1,flyoutAnchorProps:{label:o.text,icon:o.iconName,styles:{icon:{color:(0,nJ.n0)(2)}}},menuLauncherLabel:o.ariaText}}),oV=(0,nP._)(function(e,t){let n=(0,oo.t)(664,t);return(0,od.$I)(664,n.text,n.tooltip,t,(0,on.W)(664,nk.VA,e),(0,nJ.Fl)([e],664),n.iconName)}),oB=(0,nP._)(function(e,t){let n=(0,oo.t)(558,t),o=t.mailboxInfo??(0,eb.zl)();return(0,od.$I)(558,n.text,n.tooltip,t,(0,on.W)(558,nk.ji,e,o),(0,nJ.Fl)([e],558),void 0,void 0,(0,oc.Ef)())}),oG=(0,nP._)(function(e,t,n){let o=(0,oo.t)(649,n),r="DensityMenuDefinitionStore";return(0,od.UA)(649,o.text,o.tooltip,n,(0,ok.rF)(r),(0,nJ.Fl)([t],649,!0),o.iconName,void 0,e?(0,oc.Ef)():void 0,void 0,{onExecute:()=>{oR()},onAfterMenuDismiss:()=>{(0,oA.SN)(r)}})}),oU=(0,nP._)(function(e,t,n){let o=(0,oo.t)(643,n);return(0,od.$I)(643,o.text,o.tooltip,n,(0,on.W)(643,nk.E2,n),(0,nJ.Fl)([t],643),o.iconName,void 0,e?(0,oc.Ef)():void 0)}),oH=(0,nP._)(function(e,t,n){let o=(0,oo.t)(572,n);return(0,od.$I)(572,o.text,o.tooltip,n,(0,on.W)(572,nk.p3,n),(0,nJ.Fl)([t],572),o.iconName,void 0,e?(0,oc.Ef)():void 0)}),oW=(0,nP._)(function(e,t,n){let o=(0,oo.t)(548,n);return(0,od.$I)(548,o.text,o.tooltip,n,(0,on.W)(548,nk.Q7),(0,nJ.Fl)([t],548),o.iconName,void 0,e?(0,oc.Ef)():void 0)}),oK=(0,nP._)(function(e,t,n){let o=(0,oo.t)(571,n),r="SnoozeMenuDefinitionStore";return(0,od.UA)(571,o.text,o.tooltip,n,(0,ok.rF)(r),(0,nJ.Fl)([t],571,!0),o.iconName,void 0,e?(0,oc.Ef)():void 0,void 0,{onExecute:()=>{oZ()},onAfterMenuDismiss:()=>{(0,oA.SN)(r)}})}),oz=(0,nP._)(function(e,t){let n=(0,oo.t)(508,t);return(0,od.$I)(508,n.text,n.tooltip,t,(0,on.W)(508,oF.XD,t),(0,nJ.Fl)([e],508),n.iconName)}),oj=(0,nP._)(function(e,t,n){let o=(0,oo.t)(663,n),r="ViewGroupsMenuDefinitionStore";return(0,od.qt)(663,o.text,o.ariaText,o.tooltip,n,(0,ok.rF)(r),(0,on.W)(663,oF.Bw),(0,nJ.Fl)([t],663,!0),o.iconName,void 0,e?(0,oc.gU)():void 0,void 0,{onMenuButtonExecute:()=>{oM(t,n)},onAfterMenuDismiss:()=>{(0,oA.SN)(r)}})}),oQ=(0,nP._)(function(e,t,n){let o=(0,oo.t)(580,n);return(0,od.$I)(580,o.text,o.tooltip,n,(0,on.W)(580,nk.xY),(0,nJ.Fl)([t],580),o.iconName,void 0,e?(0,oc.Ef)():void 0)}),o$=(0,nP._)(function(e,t,n){let o=(0,oo.t)(683,n);return(0,od.$I)(683,o.text,o.tooltip,n,(0,on.W)(683,nk.ew),(0,nJ.Fl)([t],683),o.iconName,void 0,e?(0,oc.Ef)():void 0)}),oq=(0,nP._)(function(e,t,n){let o=(0,oo.t)(684,n);return(0,od.$I)(684,o.text,o.tooltip,n,(0,on.W)(684,nk.xB),(0,nJ.Fl)([t],684),o.iconName,void 0,e?(0,oc.Ef)():void 0)}),oX=(0,nP._)(function(e,t,n){let o=(0,oo.t)(690,n);return(0,od.$I)(690,o.text,o.tooltip,n,(0,on.W)(690,nk.X9),(0,nJ.Fl)([t],690),o.iconName,void 0,e?(0,oc.Ef)():void 0,void 0)}),oY=(0,nP._)(function(e){let t=(0,oo.t)(687,e);return(0,od.$I)(687,t.text,t.tooltip,e,(0,on.W)(687,nk.b6,e.itemId?.Id??""),(0,nJ.Fl)([3],687,!0),t.iconName,void 0,(0,n9.i)())}),oJ=(0,nP._)(function(e,t,n){let o=(0,oo.t)(701,n);return(0,od.$I)(701,o.text,o.tooltip,n,(0,on.W)(701,nk.c9),(0,nJ.Fl)([t],701),o.iconName,void 0,e?(0,oc.Ef)():void 0,void 0,{disabled:!n.mailboxInfo||(0,oD.k)(n.mailboxInfo)||(0,Z.OV)()})}),o0=(0,nP._)(function(e){let t=(0,oo.t)(706,e),n="MyDayOptionsMenuDefinitionStore";return(0,od.UA)(706,t.text,t.tooltip,e,(0,ok.rF)(n),(0,nJ.Fl)([3],706,!0),t.iconName,void 0,void 0,void 0,{onExecute:()=>{oT()},onAfterMenuDismiss:()=>{(0,oA.SN)(n)}})});var o1=n(917952),o3=n(222664),o2=n(205937),o5=n(497670);let o6=(e,t)=>{oy.Am.import().then(n=>{(0,oP.R)("MoveToMenuDefinitionStore",void 0,()=>({sections:n(e,t)}))})},o4=(e,t)=>{oy.ii.import().then(n=>{(0,oP.R)("NewGroupMenuDefinitionStore",void 0,()=>({sections:n(e,t)}))})},o9=(0,nP._)(function(e,t){let n=(0,os.Y)(t),o=(0,o3.__)(55,n),r=(0,o5.hZ)(),i=(0,oo.t)(588,t),a="NewGroupMenuDefinitionStore";return(0,od.qt)(588,i.text,i.ariaText,i.tooltip,t,(0,ok.rF)(a),o?o1.Tw:e=>{r?(0,o1.YF)(e?.event?.timeStamp):(0,o1.DO)(e?.event?.timeStamp)},(0,nJ.Fl)([e],588,!0),i.iconName,void 0,void 0,void 0,{onMenuButtonExecute:n=>{(0,o1.VX)(n),o4(e,t)},onAfterMenuDismiss:()=>{(0,oA.SN)(a)},primaryDisabled:!(0,o3.__)(54,n)&&!(0,o3.__)(55,n)})}),o7=(0,nP._)(function(e){let t=(0,oo.t)(531,e);return(0,od.$I)(531,t.text,t.tooltip,e,(0,on.W)(531,o1.Oh,e),(0,nJ.Fl)([1],531),t.iconName)}),o8=(0,nP._)(function(e){let t=(0,o2.W)(540,e),n="MoveToMenuDefinitionStore";return(0,od.UA)(540,t.text,t.tooltip,e,(0,ok.rF)(n),(0,nJ.Fl)([1],540,!0),t.iconName,void 0,void 0,void 0,{delayUpdateFocusOnHover:!0,onExecute:()=>{(0,o1.N1)(!0),o6(1,e)},onAfterMenuDismiss:()=>{(0,o1.N1)(!1),(0,oA.SN)(n)},shouldFocusOnMount:!1,shouldFocusOnContainer:!1,enableDownArrowNavigation:!0})});var re=n(439893);let rt=(0,nP._)(function(e,t,n){let o=(0,ol.B)(e,n.isPopout,(0,os.Y)(n),void 0);switch(e){case 7022:return oa(void 0,(0,n9.i)(),t,o,n);case 529:return(0,n7.w)(void 0,(0,n9.i)(),t,o);case 505:return(0,re.CL)(!1,1,n);case 616:return(0,re.iy)(!1,1,n);case 658:return(0,re.IZ)(!1,1,n);case 508:return oz(1,n);case 509:return(0,re.Sb)(!1,1,n);case 519:return(0,re.Fl)(!1,1,n);case 527:return(0,re.gm)(!1,1,n);case 531:return o7(n);case 540:return o8(n);case 587:return o9(1,n);case 548:return oW(!1,1,n);case 549:return(0,re.d_)(!1,1,n);case 550:return oL(!1,n);case 552:return(0,re.lz)(!1,1,n);case 553:return(0,re.Xs)(!1,1,n);case 698:return(0,re.Mg)(!1,1,n);case 657:return(0,re.rv)(!1,1,n);case 683:return o$(!1,1,n);case 684:return oq(!1,1,n);case 664:return oV(1,n);case 555:return(0,re.GS)(!1,1,n);case 556:return(0,re.rR)(!1,1,n);case 557:return(0,re.Yi)(!1,1,n);case 678:return(0,re.D3)(!1,1,n);case 559:return(0,re.mP)(!1,1,n);case 571:return oK(!1,1,n);case 572:return oH(!1,1,n);case 580:return oQ(!1,1,n);case 663:return oj(!1,1,n);case 686:return(0,re.Ri)(!1,1,n);case 697:return(0,re.d6)(!1,1,n);case 702:return(0,re.V3)(!1,1,n);default:(0,Y.rx)("Unknown control: "+e+" searched for in getMLRHomeTabControlDefinition");return}});var rn=n(82935),ro=n(284063),rr=n(460480);let ri=(0,nP._)(function(e,t){let{itemId:n}=t,o=(0,os.Y)(t);switch(e){case 104:return[(0,rn.NS)((0,rn.eA)((0,rr.T)(o,void 0)),(0,rn.eA)((0,ro.m)(519,n).toString()),(0,rn.eA)((0,o3.__)(79,o)||(0,o3.__)(79,o)?(0,rn.kn)((0,ox.w)(505),(0,ox.w)(683),(0,ox.w)(684)):(0,ox.w)(505)))];case 197:return[(0,rn.NS)((0,rn.eA)((0,ro.m)(657,n).toString()))];case 113:return[(0,rn.NS)((0,rn.eA)((0,ox.w)(572)),(0,rn.eA)((0,ox.w)(540)),(0,rn.eA)((0,ro.m)(559,n).toString())),(0,rn.NS)((0,rn.eA)((0,ox.w)(540)),(0,rn.eA)((0,rn.kn)((0,ox.w)(572),(0,ro.m)(559).toString(),null)))];case 121:return[(0,rn.NS)((0,rn.eA)((0,ro.m)(556,n).toString(),(0,ro.m)(557,n).toString(),(0,ro.m)(555,n).toString(),(0,ro.m)(678,n).toString(),(0,ro.m)(698).toString(),(0,ox.w)(553),(0,ro.m)(686,n).toString())),(0,rn.NS)((0,rn.eA)((0,rn.kn)((0,ro.m)(556,n).toString(),(0,ro.m)(557,n).toString(),(0,ro.m)(555,n).toString()),(0,ro.m)(678,n).toString(),(0,ro.m)(698).toString(),(0,ox.w)(553),(0,ro.m)(686,n).toString()))];case 128:return[(0,rn.NS)((0,rn.eA)((0,ro.m)(552,n).toString(),(0,ox.w)(509),(0,ro.m)(527,n).toString(),(0,ox.w)(548),(0,ox.w)(571),(0,ro.m)(616,n).toString())),(0,rn.NS)((0,rn.eA)((0,ro.m)(552,n).toString(),(0,rn.kn)((0,ox.w)(509),(0,ro.m)(527,n).toString(),(0,ox.w)(548)),(0,ox.w)(571),(0,ro.m)(616,n).toString()))];case 118:return[(0,rn.NS)((0,rn.eA)((0,ro.m)(549,n).toString()))];case 195:return[(0,rn.NS)((0,rn.eA)((0,ro.m)(697,n).toString()))];case 198:return[(0,rn.NS)((0,rn.eA)((0,ro.m)(702,n).toString()))];default:return}}),ra=[],rl=(0,nP._)(function(e){return{type:nJ.vp,id:(0,n3.f)(1,void 0,e.itemId,e.isPopout),title:e.itemId?(0,f.ZP)(n0.ZP.message_tab):(0,f.ZP)(n0.ZP.home_tab),controlGroups:{type:nJ.vp,groups:rs(e)},initialScalingSteps:(0,n2.b)((0,n1.eo)(e.mailboxInfo).multiline.homeTab,ra,void 0,void 0),scalingSteps:(0,n5.E)(1),keytipProps:(0,nJ.Fl)([],1,!0)}}),rs=(0,nP._)(function(e){return(0,n6.k)(1,(0,n1.eo)(e.mailboxInfo).multiline.homeTab.layout,rt,ri,n4.w,e)});var rd=n(831071),rc=n(276505),ru=n(461053),rm=n(803234),rp=n(535535);let rf=(0,rm.M)("NoteEditRegular",rp.VBX),rg={sections:[]},rv=(0,nP._)(function(e,t){if(145===e)return(0,od.UA)(e,(0,f.ZP)(ru.ZP.notes_GroupEdit),void 0,t,rg,(0,nJ.Fl)([6],145),rf)}),rh=(0,nP._)(function(e,t,n){switch(e){case 587:return o9(6,n);case 641:return o_(n);case 640:return oN(n);case 642:return oO(n);default:(0,Y.rx)("Unknown control: "+e+" searched for in getMLRNotesTabControlDefinition");return}}),rI=(0,nP._)(function(e,t){if(145===e)return[(0,rn.NS)((0,rn.eA)((0,ox.w)(640)),(0,rn.eA)((0,ox.w)(641))),(0,rn.NS)((0,rn.eA)((0,rn.kn)((0,ox.w)(640),(0,ox.w)(641),null)))]}),rS=[],rb=(0,nP._)(function(e){return{type:nJ.vp,tabType:"contextual",id:(0,n3.f)(6,void 0,e.itemId,e.isPopout),title:(0,f.ZP)(n0.ZP.notes_tab),controlGroups:{type:nJ.vp,groups:rw(e)},initialScalingSteps:(0,n2.b)((0,n1.eo)(e.mailboxInfo).multiline.notesTab,rS,void 0,void 0),scalingSteps:(0,n5.E)(6),keytipProps:(0,nJ.Fl)([],6,!0)}}),rw=(0,nP._)(function(e){return(0,n6.k)(6,(0,n1.eo)(e.mailboxInfo).multiline.notesTab.layout,rh,rI,rv,e)});var ry=n(424988);let rP=(0,nP._)(function(e,t){}),rC=()=>{oy.eg.import().then(e=>{(0,oP.R)("ConversationsMenuDefinitionStore",void 0,()=>({sections:e()}))})},rE=()=>{oy.tc.import().then(e=>{(0,oP.R)("FolderMenuOptionsMenuDefinitionStore",void 0,()=>({sections:e()}))})},rZ=()=>{oy.uc.import().then(e=>{(0,oP.R)("MessagePreviewMenuDefinitionStore",void 0,()=>({sections:e()}))})},rM=()=>{oy.CE.import().then(e=>{(0,oP.R)("ReadingPaneOptionsMenuDefinitionStore",void 0,()=>({sections:e()}))})},rT=()=>{oy.Hv.import().then(e=>{(0,oP.R)("RibbonModeOptionsMenuDefinitionStore",void 0,()=>({sections:e()}))})},rF=(0,nP._)(function(e){let t=(0,oo.t)(644,e),n="ConversationsMenuDefinitionStore";return(0,od.UA)(644,t.text,t.tooltip,e,(0,ok.rF)(n),(0,nJ.Fl)([3],644,!0),t.iconName,void 0,void 0,void 0,{onExecute:()=>{rC()},onAfterMenuDismiss:()=>{(0,oA.SN)(n)}})}),rk=(0,nP._)(function(e){let t=(0,oo.t)(647,e),n="FolderMenuOptionsMenuDefinitionStore";return(0,od.UA)(647,t.text,t.tooltip,e,(0,ok.rF)(n),(0,nJ.Fl)([3],647,!0),t.iconName,void 0,void 0,void 0,{onExecute:()=>{rE()},onAfterMenuDismiss:()=>{(0,oA.SN)(n)}})}),rx=(0,nP._)(function(e){let t=(0,oo.t)(645,e),n="MessagePreviewMenuDefinitionStore";return(0,od.UA)(645,t.text,t.tooltip,e,(0,ok.rF)(n),(0,nJ.Fl)([3],645,!0),t.iconName,void 0,void 0,void 0,{onExecute:()=>{rZ()},onAfterMenuDismiss:()=>{(0,oA.SN)(n)}})}),rR=(0,nP._)(function(e){let t=(0,oo.t)(648,e),n="ReadingPaneOptionsMenuDefinitionStore";return(0,od.UA)(648,t.text,t.tooltip,e,(0,ok.rF)(n),(0,nJ.Fl)([3],648,!0),t.iconName,void 0,void 0,void 0,{onExecute:()=>{rM()},onAfterMenuDismiss:()=>{(0,oA.SN)(n)}})}),rA=(0,nP._)(function(e){let t=(0,oo.t)(691,e),n="RibbonModeOptionsMenuDefinitionStore";return(0,od.UA)(691,t.text,t.tooltip,e,(0,ok.rF)(n),(0,nJ.Fl)([3],691,!0),t.iconName,void 0,void 0,void 0,{onExecute:()=>{rT()},onAfterMenuDismiss:()=>{(0,oA.SN)(n)}})}),rD=(0,nP._)(function(e,t,n){switch(e){case 644:return rF(n);case 649:return oG(!1,3,n);case 647:return rk(n);case 532:return(0,re.GU)(!1,3,n);case 645:return rx(n);case 648:return rR(n);case 643:return oU(!1,3,n);case 690:return oX(!1,3,n);case 687:return oY(n);case 688:return(0,re.wz)(!1,3,n);case 691:return rA(n);case 701:return oJ(!1,3,n);case 706:return o0(n);default:(0,Y.rx)("Unknown control: "+e+" searched for in getMLRViewTabControlDefinition");return}}),rN=(0,nP._)(function(e,t){}),r_=[],rO=(0,nP._)(function(e){return{type:nJ.vp,id:(0,n3.f)(3,void 0,e.itemId,e.isPopout),title:(0,f.ZP)(n0.ZP.view_tab),controlGroups:{type:nJ.vp,groups:rL(e)},initialScalingSteps:(0,n2.b)((0,n1.eo)(e.mailboxInfo).multiline.viewTab,r_,void 0,void 0),scalingSteps:(0,n5.E)(3),keytipProps:(0,nJ.Fl)([],3,!0)}}),rL=(0,nP._)(function(e){return(0,n6.k)(3,(0,n1.eo)(e.mailboxInfo).multiline.viewTab.layout,rD,rN,rP,e)}),rV=(0,nP._)(function(){let e=(0,Z.ii)();return!!e?.tableQuery?.folderId&&"notes"===(0,np.Z)(e?.tableQuery.folderId)});var rB=n(981628),rG=n(963969);let rU={isPopout:!1,mailboxInfo:void 0,itemId:void 0,projectionTabId:void 0},rH=(0,nP._)(function(e){let t=[];if((0,G.cr)("mon-ribbon-customization-multiAccount")){let e=(0,os.Y)(void 0);e!==rU.mailboxInfo&&(rU={...rU,mailboxInfo:e})}if(t.push(rl(rU),rO(rU)),(0,G.cr)("mon-diag-helpTab")){let e=rB.b.tryImportForRender();t.push(e?e():(0,rG.w)())}let n=(0,nC.I)();return n?.isComposeRendered&&(r&&i&&i===e&&a&&a===n||(i=e,a=n,r={...n$,composeViewState:n,attachmentPickers:e,mailboxInfo:n.mailboxInfo}),t.push((0,rc.Z)(r),(0,rd.Z)(r),(0,nY.Z)(r),(0,nX.Z)(r),(0,ry.Z)(r),...(0,nq.Z)(r))),rV()&&t.push(rb(rU)),{tabs:t}});var rW=n(616196),rK=n(133244),rz=n(147862),rj=n(296484),rQ=n(431115);let r$=e=>{oy.IE.import().then(t=>{(0,oP.R)("DeleteMenuDefinitionStore",void 0,()=>({sections:t(e)}))})};var rq=n(822537);let rX=(0,nP._)(function(e,t){let n=(0,os.Y)(t),o=(0,o3.__)(55,n),r=(0,o5.hZ)(),i=(0,oo.t)(588,t),a="NewGroupMenuDefinitionStore";return(0,od.qt)(588,i.text,i.ariaText,o?void 0:i.tooltip,t,(0,ok.rF)(a),o?nk.Tw:e=>{r?(0,nk.YF)(e?.event?.timeStamp):(0,nk.DO)(e?.event?.timeStamp)},(0,nJ.Fl)([e],588,!0),i.iconName,(0,og.XN)().white,(0,oc.$o)(),void 0,{onMenuButtonExecute:n=>{(0,nk.VX)(n),o4(e,t)},onAfterMenuDismiss:()=>{(0,oA.SN)(a)},primaryDisabled:!(0,o3.__)(54,n)&&!(0,o3.__)(55,n)})}),rY=(0,nP._)(function(e){let t=(0,o2.W)(519,e),{projectionTabId:n}=e,o="DeleteMenuDefinitionStore";return(0,od.qt)(519,t.text,t.ariaText,t.tooltip,e,(0,ok.rF)(o),(0,on.W)(519,rj.SU,n,rq.x1,void 0),(0,nJ.Fl)([1],519,!0),t.iconName,void 0,(0,oc.gU)(),void 0,{onMenuButtonExecute:()=>{r$(e)},onAfterMenuDismiss:()=>{(0,oA.SN)(o)}})}),rJ=(0,nP._)(function(e,t){let n=(0,o2.W)(540,t),o="MoveToMenuDefinitionStore";return(0,od.UA)(540,n.text,n.tooltip,t,(0,ok.rF)(o),(0,nJ.Fl)(e?[e]:[],540,!0),n.iconName,void 0,(0,oc.Ef)(),void 0,{delayUpdateFocusOnHover:!0,onExecute:()=>{(0,rQ.N1)(!0),o6(e,t)},onAfterMenuDismiss:()=>{(0,rQ.N1)(!1),(0,oA.SN)(o)},shouldFocusOnMount:!1,shouldFocusOnContainer:!1,enableDownArrowNavigation:!0})}),r0=(0,nP._)(function(e,t,n){let o=(0,ol.B)(e,n.isPopout,(0,os.Y)(n),void 0);switch(e){case 529:return(0,n7.w)(void 0,(0,n9.i)(),t,o);case 7022:return oa(void 0,(0,n9.i)(),t,o,n);case 505:return(0,re.CL)(!0,1,n);case 616:return(0,re.iy)(!0,1,n);case 658:return(0,re.IZ)(!0,1,n);case 508:return oz(1,n);case 509:return(0,re.Sb)(!0,1,n);case 519:return rY(n);case 527:return(0,re.gm)(!0,1,n);case 540:return rJ(1,n);case 587:return rX(1,n);case 550:return oL(!0,n);case 548:return oW(!0,1,n);case 549:return(0,re.d_)(!0,1,n);case 552:return(0,re.lz)(!0,1,n);case 657:return(0,re.rv)(!0,1,n);case 553:return(0,re.Xs)(!0,1,n);case 698:return(0,re.Mg)(!0,1,n);case 555:return(0,re.GS)(!0,1,n);case 678:return(0,re.D3)(!0,1,n);case 556:return(0,re.rR)(!0,1,n);case 557:return(0,re.Yi)(!0,1,n);case 683:return o$(!0,1,n);case 684:return oq(!0,1,n);case 558:return oB(1,n);case 559:return(0,re.mP)(!0,1,n);case 571:return oK(!0,1,n);case 572:return oH(!0,1,n);case 580:return oQ(!0,1,n);case 663:return oj(!0,1,n);case 664:return oV(1,n);case 686:return(0,re.Ri)(!0,1,n);case 697:return(0,re.d6)(!0,1,n);case 702:return(0,re.V3)(!0,1,n);default:(0,Y.ZU)("getSLRHomeTabControlDefinition UnknownControl: "+e);return}}),r1=[],r3=[588,552,550],r2=[],r5=[],r6=(0,nP._)(function(e){return{type:nJ.uh,id:(0,n3.f)(1,void 0,e.itemId,e.isPopout),title:e.itemId?(0,f.ZP)(n0.ZP.message_tab):(0,f.ZP)(n0.ZP.home_tab),controlGroups:{type:nJ.uh,groups:r4(e)},initialScalingSteps:(0,n2.b)((0,n1.eo)(e.mailboxInfo).singleline.homeTab,r1,void 0,void 0),scalingSteps:(0,n5.p)((0,n1.eo)(e.mailboxInfo).singleline.homeTab.layout,(0,n1.eo)(e.mailboxInfo).singleline.homeTab.showLabelsPreference,r2,r5,r3,void 0,void 0),keytipProps:(0,nJ.Fl)([],1,!0)}}),r4=(0,nP._)(function(e){return(0,n6.z)(1,(0,n1.eo)(e.mailboxInfo).singleline.homeTab.layout,r0,e)});var r9=n(183188),r7=n(818547);let r8=(0,nP._)(function(e,t,n){switch(e){case 587:return rX(6,n);case 641:return o_(n);case 640:return oN(n);case 642:return oO(n);default:(0,Y.rx)("Unknown control: "+e+" searched for in getSLRNotesTabControlDefinition.ts");return}}),ie=[],it=[588],io=[],ir=(0,nP._)(function(e){return{type:nJ.uh,tabType:"contextual",id:(0,n3.f)(6,void 0,e.itemId,e.isPopout),title:(0,f.ZP)(n0.ZP.notes_tab),controlGroups:{type:nJ.uh,groups:ii(e)},initialScalingSteps:(0,n2.b)((0,n1.eo)(e.mailboxInfo).singleline.notesTab,ie,void 0,void 0),scalingSteps:(0,n5.p)((0,n1.eo)(e.mailboxInfo).singleline.notesTab.layout,(0,n1.eo)(e.mailboxInfo).singleline.notesTab.showLabelsPreference,io,[],it,void 0,void 0),keytipProps:(0,nJ.Fl)([],6,!0)}}),ii=(0,nP._)(function(e){return(0,n6.z)(6,(0,n1.eo)(e.mailboxInfo).singleline.notesTab.layout,r8,e)});var ia=n(116768);let il=e=>{oy.um.import().then(t=>{(0,oP.R)("LayoutMenuDefinitionStore",void 0,()=>({sections:t(3,e)}))})},is=e=>{oy.ld.import().then(t=>{(0,oP.R)("MessagesMenuDefinitionStore",void 0,()=>({sections:t(3,e)}))})},id=(0,nP._)(function(e){let t=(0,oo.t)(646,e),n="LayoutMenuDefinitionStore";return(0,od.UA)(646,t.text,t.tooltip,e,(0,ok.rF)(n),(0,nJ.Fl)([3],646,!0),t.iconName,void 0,(0,oc.Ef)(),void 0,{onExecute:()=>{il(e)},onAfterMenuDismiss:()=>{(0,oA.SN)(n)}})}),ic=(0,nP._)(function(e){let t=(0,oo.t)(654,e),n="MessagesMenuDefinitionStore";return(0,od.UA)(654,t.text,t.tooltip,e,(0,ok.rF)(n),(0,nJ.Fl)([3],654,!0),t.iconName,void 0,(0,oc.Ef)(),void 0,{onExecute:()=>{is(e)},onAfterMenuDismiss:()=>{(0,oA.SN)(n)}})}),iu=(0,nP._)(function(e,t,n){switch(e){case 649:return oG(!0,3,n);case 532:return(0,re.GU)(!0,3,n);case 654:return ic(n);case 646:return id(n);case 558:return oB(3,n);case 643:return oU(!0,3,n);case 690:return oX(!0,3,n);case 687:return oY(n);case 688:return(0,re.wz)(!0,3,n);case 701:return oJ(!0,3,n);default:(0,Y.ZU)("getSLRViewTabControlDefinition UnknownControl: "+e),(0,eZ.y8)("SLRViewTabControlDefinitionUnknownControl",{controlId:e,stack:Error("SLRViewTabControlDefinitionUnknownControl").stack});return}}),im=[],ip=[],ig=[],iv=[],ih=(0,nP._)(function(e){return{type:nJ.uh,id:(0,n3.f)(3,void 0,e.itemId,e.isPopout),title:(0,f.ZP)(n0.ZP.view_tab),controlGroups:{type:nJ.uh,groups:iI(e)},initialScalingSteps:(0,n2.b)((0,n1.eo)(e.mailboxInfo).singleline.viewTab,im,void 0,void 0),scalingSteps:(0,n5.p)((0,n1.eo)(e.mailboxInfo).singleline.viewTab.layout,(0,n1.eo)(e.mailboxInfo).singleline.viewTab.showLabelsPreference,ig,iv,ip,void 0,void 0),keytipProps:(0,nJ.Fl)([],3,!0)}}),iI=(0,nP._)(function(e){return(0,n6.z)(3,(0,n1.eo)(e.mailboxInfo).singleline.viewTab.layout,iu,e)}),iS={isPopout:!1,mailboxInfo:void 0,itemId:void 0,projectionTabId:void 0},ib=(0,nP._)(function(e){let t=[];if((0,G.cr)("mon-ribbon-customization-multiAccount")){let e=(0,os.Y)(void 0);e!==iS.mailboxInfo&&(iS={...iS,mailboxInfo:e})}if(t.push(r6(iS),ih(iS)),(0,G.cr)("mon-diag-helpTab")){let e=rB.N.tryImportForRender();t.push(e?e():(0,rG.w)())}let n=(0,nC.I)();return n?.isComposeRendered&&(l&&s&&s===e&&d&&d===n||(s=e,d=n,l={...n$,composeViewState:n,attachmentPickers:e,mailboxInfo:n.mailboxInfo}),t.push((0,r7.Z)(l),(0,r9.Z)(l),(0,rz.Z)(l),(0,rK.Z)(l),(0,ia.Z)(l),...(0,rW.Z)(l))),rV()&&t.push(ir(iS)),{tabs:t}});var iw=n(388359),iy=n(274421),iP=n(643239);let iC=(0,eo.lr)("saveSelectedTab",e=>{switch(parseInt(e)){case 1:(0,n1.KY)(1);break;case 10:(0,n1.KY)(10);break;case 3:(0,n1.KY)(3);break;case 5:(0,n1.KY)(5);break;case 4:(0,n1.KY)(4);break;case 6:(0,n1.KY)(6);break;case 7:(0,n1.KY)(7);break;case 8:(0,n1.KY)(8);break;case 11:(0,n1.KY)(11);break;case 11e3:(0,n1.KY)(11e3);break;case 12:(0,n1.KY)(12);break;case 13:(0,n1.KY)(13);break;default:throw Error("the tab "+e+" has not been added to the file saveSelectedTabMutator.ts")}}),iE=(0,nP._)((e,t)=>({addFilesAsAttachments:e,addImagesInline:t})),iZ=(0,nP._)((e,t)=>{let n=iE(t,e);return{getSingleLineRibbonDefinition:()=>ib(n),getMultiLineRibbonDefinition:()=>rH(n),iconColorMap:(0,nQ.M)(),ribbonScenarioName:"Mail",controlRendererFunction:nj,getDefaultSelectedTabId:ik,onTabClick:iT,getExtraTopRibbonControlsBeforeTabs:nD,getExtraTopRibbonControlsAfterTabs:nF,thisWindow:window,governedTasks:iM()}}),iM=(0,nP._)(()=>[{task:()=>oy.gx.importModule("MailCommandRibbonProps"),priority:ny.mn.Ribbon},{task:()=>iy.gx.importModule("FormatControlsProps"),priority:ny.mn.Compose},{task:()=>iw.gx.importModule("ActionControlsProps"),priority:ny.mn.Compose},{task:()=>iP.gx.importModule("MailComposeControlsProps"),priority:ny.mn.Compose}]),iT=e=>{iC(e)},iF=[1,3,11e3],ik=()=>{let e=(0,nC.I)();if(e?.isComposeRendered)return 10;if(rV())return 6;let t=(0,n1.Iy)();return iF.includes(t)?t:1};var ix=n(214658),iR=n(781694),iA=n(736393),iD=n(292269);let iN={getRibbonProps:iZ,renderExtraElements:(0,nP._)((e,t)=>c.createElement(iA.a,{attachmentInlinePickers:e,attachmentMultiPicker:t},c.createElement(iD.km,null))),ribbonPropsDependency1:ix.default.categoryMenuViewState.findText,ribbonPropsDependency2:iR.default.findText};var i_=n(195737);let iO="images/favicons",iL=`${iO}/mail-seen.ico`,iV=`${iO}/mail-unseen.ico`,iB=iH("outlook-beta.ico"),iG=iH("outlook.ico"),iU=iH("outlook-badge-newmail-win11.ico");function iH(e){return`https:${(0,i_.$B)()}assets/native-host/icons/${e}`}var iW=n(984737);(0,eo._F)(iW.v,()=>{(0,et.Z)()===(0,en.en)("inbox",(0,el.Q)())&&ea(!1)});var iK=n(296312);function iz(){var e,t;return{icon:(e=iL,t=iV,(0,G.cr)("mail-updateHostAppIcon")&&(e=iB,t=iG),!ei().areMessagesUnseen||(0,Z.M1)((0,ey.Z)("inbox"))?e:t),overlay:function(){if((0,G.cr)("mail-updateHostAppIcon"))return!ei().areMessagesUnseen||(0,Z.M1)((0,ey.Z)("inbox"))?"":iU}()}}(0,eo._F)(iK.FW,e=>{let{notification:t,mailboxInfo:n}=e,o=n??(0,el.Q)();"Reload"==t.EventType||(0,et.Z)()===(0,en.en)("inbox",o)&&document.hasFocus()||"Focused"!==t.InferenceClassification&&ni.p(o).UserOptions?.IsFocusedInboxEnabled||ea(!0)}),n(3095),n(252862),n(839254),n(797208),n(517484);let ij=new nS.Hd(()=>Promise.all([n.e(426799),n.e(980246),n.e(696009),n.e(791109),n.e(485810),n.e(393138),n.e(787178),n.e(636234),n.e(135572),n.e(647178),n.e(451865),n.e(238810),n.e(634283),n.e(107802),n.e(325370),n.e(883446),n.e(945724),n.e(558e3)]).then(n.bind(n,410646))),iQ=new nS._5(ij,e=>e.getGroupsBootstrapOptions),i$=new nS.Hd(()=>Promise.all([n.e(734807),n.e(117795),n.e(441681),n.e(990397)]).then(n.bind(n,955672))),iq=new nS._5(i$,e=>e.getPeopleBootstrapOptions);function iX(e,t){return{initializeState:tf,sessionPromise:e,routerOptions:ng,getModuleName:()=>(0,f.ZP)("EysMke"),workload:1,analyticsOptions:(0,nI.N)(),iconFonts:[nv.Z,nh],postLazyAction:nw,strategies:t,appModuleProps:{module:ti.Yl.Mail,renderModule:e=>c.createElement(MailModule,{searchBoxRef:e}),ribbonProps:iN,activeModuleAction:()=>(0,th.wT)("ModuleSwitcher"),getHeaderInfo:ev.Z,isSkiplinkEnabled:!0,getOverrideFavIcon:iz}}}},626936:(e,t,n)=>{n.r(t),n.d(t,{ProjectionPopoutHost:()=>a});var o=n(402392),r=n(561861);let i=new o.nI(()=>Promise.all([n.e(87858),n.e(522606)]).then(n.bind(n,522606)),{name:"ProjectionPopout"}),a=(0,o.$y)(i,e=>e.ProjectionPopoutHost,void 0,void 0,{onlyImportIf:()=>(0,r.Z)()})},561861:(e,t,n)=>{n.d(t,{Z:()=>r});var o=n(385669);function r(){return(0,o.yp)()||(0,o.o2)()||(0,o.nb)()||(0,o.Fo)()}},946875:(e,t,n)=>{n.d(t,{Le:()=>u,PE:()=>f,Th:()=>m,VZ:()=>c,Vm:()=>o,Xk:()=>s,Zp:()=>d,kC:()=>a,mH:()=>p,rn:()=>l,tL:()=>r,vq:()=>i});let o="Box",r="Dropbox",i="Facebook",a="GDrive",l="Mailbox",s="MailMessage",d="OneDriveConsumer",c="OneDrivePro",u="WopiBox",m="WopiDropbox",p="WopiEgnyte",f={BOX:o,DROPBOX:r,FACEBOOK:i,GDRIVE:a,MAILBOX:l,ONE_DRIVE_CONSUMER:d,ONE_DRIVE_PRO:c,RECENT_ATTACHMENTS:"RecentAttachments",WOPI:"Wopi",WOPI_BOX:u,WOPI_EGNYTE:p}},324937:(e,t,n)=>{let o;n.d(t,{Qu:()=>r.Z,C6:()=>i.Z,cO:()=>M,Hu:()=>h,Bv:()=>c,f_:()=>w,Tq:()=>Z,Yd:()=>b,Ej:()=>T,R$:()=>P,$1:()=>g,YO:()=>v});var r=n(376522),i=n(581111),a=n(836993),l=n(30653),s=n(361437),d=n(623820);function c(e,t,n,o){let c;if((0,a.ZW)(n))return 2===(0,l.v)(n)?p():u();if(3===(0,l.v)(n)&&!o)return m();switch(t){case 2:c={allowEdit:!1,previewMethod:i.Z.Image,supportedOpenActions:[r.Z.Preview,r.Z.Download]};break;case 3:c={allowEdit:!1,previewMethod:i.Z.NativeView,supportedOpenActions:[r.Z.Preview,r.Z.Download]};break;case 6:c={allowEdit:!1,previewMethod:i.Z.GoogleDoc,supportedOpenActions:[r.Z.Preview]};break;case 4:c={allowEdit:e.wacEdit,previewMethod:i.Z.Wac,supportedOpenActions:[r.Z.Preview,r.Z.Download]};break;case 5:c={allowEdit:!1,previewMethod:i.Z.Audio,supportedOpenActions:[r.Z.Preview,r.Z.Download]};break;case 7:c={allowEdit:!1,previewMethod:i.Z.PdfJs,supportedOpenActions:[r.Z.Preview]};break;case 8:case 9:case 10:c=p();break;case 11:c={allowEdit:!1,previewMethod:i.Z.Text,supportedOpenActions:[r.Z.Preview,r.Z.Download]};break;case 12:c={allowEdit:!1,previewMethod:i.Z.Video,supportedOpenActions:[r.Z.Preview,r.Z.Download]};break;case 1:c={allowEdit:!1,previewMethod:i.Z.Unsupported,supportedOpenActions:[]};break;case 13:c={allowEdit:!1,previewMethod:i.Z.CalendarEvent,supportedOpenActions:[r.Z.Preview,r.Z.Download]};break;default:c=(0,s.g)(n)||(0,d.j)(n)?m():u()}return c}function u(){return{allowEdit:!1,previewMethod:i.Z.Unsupported,supportedOpenActions:[r.Z.Download]}}function m(){return{allowEdit:!1,previewMethod:i.Z.Unsupported,supportedOpenActions:[r.Z.OpenInNewTab]}}function p(){return{allowEdit:!1,previewMethod:i.Z.ItemAttachment,supportedOpenActions:[r.Z.Preview,r.Z.Download]}}var f=n(795839);let g=(0,f.lr)("setIsPlaceholderAttachment",function(e,t){e.isPlaceholderAttachment=t}),v=(0,f.lr)("setThumbnailLoadState",function(e,t){e.thumbnailLoadState=t});function h(e,t,n,o,r,a=null){return{attachmentId:e,thumbnailLoadState:0,previewLoaded:!1,isCloudy:n,isReadOnly:t,isPlaceholderAttachment:o,strategy:{allowEdit:!1,previewMethod:i.Z.Unsupported,supportedOpenActions:[]},parentItemId:a,fileType:r}}var I=n(52924),S=n(478248);function b(e){return e?S.p(e)?.SessionSettings?.CompanyName:I.Z()?.SessionSettings?.CompanyName}function w(e){return e.supportedOpenActions.length&&e.supportedOpenActions[0]||r.Z.NoAction}let y=".7397C898-8104-4E2E-8926-98082ABAE229.PendingScan";function P(e){return!!e.model.Name&&e.model.Name.indexOf(y)>0}var C=n(302140),E=n(438279);function Z(e){return e?.model?.Name?P(e)?e.model.Name.replace(y,""):e.model.Name:(0,C.ZP)(E.r)}var M=((o=M||{})[o.MailList=0]="MailList",o[o.ReadingPane=1]="ReadingPane",o[o.FilesHub=2]="FilesHub",o[o.PhotoHub=3]="PhotoHub",o[o.GroupFilesHub=4]="GroupFilesHub",o[o.ConversationAttachmentWell=5]="ConversationAttachmentWell",o[o.Deeplink=6]="Deeplink",o[o.FileSuggestion=7]="FileSuggestion",o[o.LinkSuggestion=8]="LinkSuggestion",o[o.ComposeDocLink=9]="ComposeDocLink",o[o.ReadingPaneDocLink=10]="ReadingPaneDocLink",o[o.ConsumerGroupFilesHub=11]="ConsumerGroupFilesHub",o[o.Feed=12]="Feed",o);function T(e){let t="";switch(e){case M.MailList:t="MESSAGES";break;case M.ConversationAttachmentWell:case M.ReadingPane:t="ATT";break;case M.FileSuggestion:case M.LinkSuggestion:t="SEARCH";break;case M.PhotoHub:case M.GroupFilesHub:case M.Deeplink:case M.ConsumerGroupFilesHub:case M.ComposeDocLink:case M.ReadingPaneDocLink:case M.FilesHub:default:t="OTHER"}return`OWA.${t}.SXS`}},376522:(e,t,n)=>{let o;n.d(t,{Z:()=>i});var r=((o=r||{})[o.NoAction=0]="NoAction",o[o.Preview=1]="Preview",o[o.Download=2]="Download",o[o.OpenInNewTab=3]="OpenInNewTab",o);let i=r},581111:(e,t,n)=>{let o;n.d(t,{Z:()=>i});var r=((o=r||{})[o.Unsupported=0]="Unsupported",o[o.Image=1]="Image",o[o.MailItem=2]="MailItem",o[o.CalendarEvent=3]="CalendarEvent",o[o.Wac=4]="Wac",o[o.SuiteExtensions=5]="SuiteExtensions",o[o.Audio=6]="Audio",o[o.Text=7]="Text",o[o.NativeView=8]="NativeView",o[o.GoogleDoc=9]="GoogleDoc",o[o.PdfJs=10]="PdfJs",o[o.ItemAttachment=11]="ItemAttachment",o[o.Video=12]="Video",o);let i=r},459985:(e,t,n)=>{n.d(t,{Z:()=>s});var o=n(623820),r=n(263905),i=n(429700),a=n(206339),l=n(969196);function s(e,t,n){let s=e.level!==i.sK.Block&&e.directFileAccessEnabled;return s&&(0,o.j)(t)&&(s=function(e,t,n){if(e.AttachLongPathName){let t=document.createElement("a");if(t.href=e.AttachLongPathName,!(0,a.cr)("doc-unwrap-safelinks")&&t.host.indexOf("safelinks.protection.outlook.com",0)>0||t.search.indexOf("b7780972f918485c8cfc32b1ba7438eb",0)>0)return!1}if(e.ProviderType&&function(e,t){let n=(0,r.Z)(e,t);return n?.supportDownload}(e.ProviderType,n)&&!e.AttachmentIsFolder){var o;return!(0,l.z)(t)&&(o=e.ContentType,!!t||!!o&&"application/onenote"!==o&&"image/png"!==o)}return!1}(t,n,e.mailboxInfo)),s}},982472:(e,t,n)=>{n.d(t,{DT:()=>a,R9:()=>r,pO:()=>i});var o=n(795839);let r=(0,o.aD)("REFRESH_SHARING_TIPS_FOR_ATTACHMENT",e=>({attachmentId:e})),i=(0,o.aD)("SET_ATTACHMENT_CONTENTID",(e,t)=>({attachmentId:e,attachmentContentId:t})),a=(0,o.aD)("SET_ATTACHMENT_ISINLINE",(e,t)=>({attachmentId:e,isInline:t}))},836993:(e,t,n)=>{n.d(t,{$o:()=>p,DT:()=>r.DT,Dj:()=>g,F$:()=>m,Hl:()=>d,Ou:()=>h,Ps:()=>c,Q1:()=>a.Q,Qb:()=>i.Z,R9:()=>r.R9,SO:()=>S,Sq:()=>s,ZW:()=>a.Z,aK:()=>u,g1:()=>v,jj:()=>I,mo:()=>f,pO:()=>r.pO});var o=n(402392),r=n(982472),i=n(695119),a=n(220331);let l=new o.nI(()=>Promise.all([n.e(626842),n.e(844271),n.e(267579),n.e(764734)]).then(n.bind(n,126098)),{name:"AttachmentModelStore"}),s=new o._5(l,e=>e.addAndInitializeAttachments),d=new o._5(l,e=>e.setPreviewImageUrl),c=new o._5(l,e=>e.refreshDownloadUrl),u=new o._5(l,e=>e.createAttachmentInfo),m=new o._5(l,e=>e.setAttachmentInfo),p=new o._5(l,e=>e.setOneDriveInfo),f=new o._5(l,e=>e.refreshThumbnailImageUrl),g=new o._5(l,e=>e.refreshPreviewImageUrl),v=new o.EF(l,e=>e.getAttachment),h=new o.EF(l,e=>e.checkPendingAttachmentOperation),I=new o.EF(l,e=>e.shouldShowImageView),S=new o.EF(l,e=>e.tryOpenLinkAttachment)},695119:(e,t,n)=>{n.d(t,{Z:()=>l});var o=n(787012),r=n(795839);let i={attachments:new o.ObservableMap({})},a=(0,r.MT)("attachment",i)(),l=()=>a},556847:(e,t,n)=>{n.d(t,{Z:()=>l});var o=n(946875),r=n(265178),i=n(827570);let a=[0,1,3,2,6,5,7,8,4];function l(e){let t=new Map,n=function(n){let o=`${(0,i.M4)(n)}_protection`,r=t.get(o);if(!r){for(let t of(r={},a))r[t]=e(t,n);t.set(o,r)}return r},l=function(e,t){let o=(0,r.H$)(e);return null===o?null:n(t)[o]};return{getDataProviderInfo:l,getDefaultDataProviderInfo:function(e,t){return e?l(o.Zp,t):l(o.VZ,t)}}}},263905:(e,t,n)=>{n.d(t,{Z:()=>d});var o=n(556847);let r=["application/vnd.google-apps.document","application/vnd.google-apps.spreadsheet","application/vnd.google-apps.presentation"];var i=n(459672);function a(){return{supportDownload:!0,supportImageThumbnail:!1,supportPreview:(e,t)=>!0,supportedPermissionLevels:[],requiresFetchingSharingInformation:!1}}let{getDataProviderInfo:l,getDefaultDataProviderInfo:s}=(0,o.Z)(function(e,t){switch(e){case 0:return{...a(),supportedPermissionLevels:[2,1],requiresFetchingSharingInformation:!0};case 1:return{...a(),supportImageThumbnail:!0,supportPreview:(e,t)=>!!t,supportedPermissionLevels:[2,1]};case 3:return{...a(),supportDownload:!1,supportPreview:(e,t)=>!1};case 2:return{...a(),supportPreview:(e,t)=>!1};case 6:return{supportDownload:!1,supportImageThumbnail:!0,supportPreview:(e,t)=>!1,supportedPermissionLevels:[],requiresFetchingSharingInformation:!1};case 5:return{...a(),supportDownload:!1,supportImageThumbnail:!1,supportPreview:e=>{var t;return!!e&&!!(t=e).ContentType&&r.indexOf(t.ContentType.toLowerCase())>-1},supportedPermissionLevels:[4,3]};case 7:case 8:case 9:return{...a(),supportDownload:!1,supportPreview:(e,t)=>!1};case 4:case 10:return{supportDownload:!1,supportImageThumbnail:!1,supportPreview:(e,t)=>!1,supportedPermissionLevels:[],requiresFetchingSharingInformation:!1};default:return(0,i.v)(e)}}),d=l},220331:(e,t,n)=>{function o(e){return!!e?.AttachmentId&&r(e.AttachmentId.Id)}function r(e){return!!e&&-1!==e.indexOf("smime-")}n.d(t,{Q:()=>r,Z:()=>o})},30653:(e,t,n)=>{n.d(t,{v:()=>a});var o=n(183256),r=n(302140);let i=e=>e&&["IPM.Note","IPM.Schedule.Meeting","IPM.GroupMailbox.JoinRequest","IPM.Post"].includes(e);function a(e){let t=e.__type||e.OwsTypeName;switch(t){case o.$H:return 0;case o.zH:if(e.IsLink)return 3;return 1;case o.ds:return 3;case o.sx:return 2;case o.b$:let n=e.EmbeddedItemClass;if(!(n&&i(n))&&!(0,r.LP)(e.AttachmentIdToAttach))return 0;return 2;default:throw Error(`Invalid type of attachment ${t}`)}}},361437:(e,t,n)=>{n.d(t,{g:()=>r});var o=n(183256);function r(e){return(e.__type||e.OwsTypeName)===o.ds}},623820:(e,t,n)=>{n.d(t,{j:()=>r});var o=n(183256);function r(e){return(e.__type||e.OwsTypeName)===o.zH}},836519:(e,t,n)=>{n.d(t,{Z:()=>r});var o=n(581531);function r(e,t){return!e.Attachments||!!e.Attachments?.every(e=>o.H(e,t))}},581531:(e,t,n)=>{n.d(t,{H:()=>a});var o=n(459985),r=n(429700),i=n(460691);function a(e,t){let n=(0,r.Ai)(e,!0,t),a=(0,i.LG)(e.Name)||void 0;return(0,o.Z)(n,e,a)}},584492:(e,t,n)=>{n.d(t,{Z:()=>r});var o=n(103491);function r(e){let t=(0,o.Z)(e);return t.PrintAllowed||t.CopyAllowed||t.ForwardAllowed}},257486:(e,t,n)=>{n.d(t,{Z:()=>o});let o=(0,n(795839).aD)("ON_ATTACHMENT_CREATED",(e,t,n,o,r=!0)=>({parentItemId:e,attachmentId:t,attachment:n,targetWindow:o,shouldTriggerAddInAttachmentsChangedCallback:r}))},488602:(e,t,n)=>{n.d(t,{Z:()=>o});let o=(0,n(795839).aD)("ON_ATTACHMENT_DELETED",(e,t,n,o,r=!0)=>({parentItemId:e,attachmentId:t,attachment:n,targetWindow:o,shouldTriggerAddInAttachmentsChangedCallback:r}))},702767:(e,t,n)=>{n.d(t,{$t:()=>v,AC:()=>C,B3:()=>p,BA:()=>f,E6:()=>a,Io:()=>E,MS:()=>s,Q7:()=>l,Qv:()=>P,aT:()=>b,c7:()=>y,e4:()=>Z,fc:()=>w,gF:()=>c,i3:()=>g,m5:()=>u,no:()=>i.Z,rz:()=>m,s:()=>S,vg:()=>d,xP:()=>r.Z,z$:()=>I,zl:()=>h});var o=n(402392),r=n(257486),i=n(488602);let a=new o.nI(()=>Promise.all([n.e(626842),n.e(583427),n.e(844271),n.e(363010),n.e(118028),n.e(988313),n.e(173368),n.e(439646),n.e(28468),n.e(71077),n.e(759010)]).then(n.bind(n,300038)),{name:"AttachmentsData"}),l=new o._5(a,e=>e.initializeAttachments),s=new o._5(a,e=>e.reinitializeAttachments),d=new o._5(a,e=>e.addAttachmentIntoWellBeforeUpload),c=new o.EF(a,e=>e.refreshSharingTipsAttachmentWell),u=new o.EF(a,e=>e.createAttachmentsViaQueueManager),m=new o.EF(a,e=>e.createAttachmentsFromRecentAttachments),p=new o._5(a,e=>e.deleteAttachmentViaQueueManager),f=new o.EF(a,e=>e.createAttachmentFullViewStateAndStoreBackingModel),g=new o.EF(a,e=>e.createAttachmentFullViewState),v=new o.EF(a,e=>e.getAttachmentWellInitialValue),h=new o.EF(a,e=>e.getAttachmentWellForCompose),I=new o.EF(a,e=>e.getConversationAttachmentWellInitialValue),S=new o.EF(a,e=>e.getAvailableLocalAttachmentSize),b=new o._5(a,e=>e.mergeToConversationAttachmentWell),w=new o._5(a,e=>e.sortConversationAttachmentWell),y=new o._5(a,e=>e.convertImageViewAttachmentToInlineAttachment),P=new o.EF(a,e=>e.getLastCloudyAttachmentsSharingIssueForBlockOnSend),C=new o.EF(a,e=>e.getAllValidAttachments),E=new o.EF(a,e=>e.uploadLocalFile),Z=new o.EF(a,e=>e.getUpsellProperties)},965278:(e,t,n)=>{n.d(t,{Z:()=>u});var o=n(921829),r=n(857308),i=n(645225),a=n(511943),l=n(206339),s=n(103491),d=n(544621),c=n(581531);function u(e,t,n){if((0,l.cr)("mon-dnd-download")){let l=i.Z.items.get(t),u=(l?.Subject||n||"File")+".eml",m=(0,s.Z)(l),p=u.split(":").join(""),f=l?.MailboxInfo??(0,a.zl)(),g=(0,o.V)(f),v=!!l&&!(!l.Attachments||l.Attachments?.every(e=>c.H(e,f)));if(!(!m.PrintAllowed||!m.CopyAllowed||!m.ForwardAllowed||v||(0,d.ND)(t))&&g?.downloadUrlBase&&g?.downloadToken){let n=["application/octet-stream",p,`${g.downloadUrlBase}${(0,r.o)(f)}/service.svc/s/DownloadMessage?id=${encodeURIComponent(t)}&token=${g.downloadToken}`].join(":");e.setData("DownloadURL",n)}}}},849620:(e,t,n)=>{n.d(t,{bW:()=>o,Rm:()=>v,hx:()=>h,I6:()=>S.Z,uv:()=>I.Z,a5:()=>f,S$:()=>d});let o=[0,1],r="PyUube";var i=n(123960),a=n(302140),l=n(459672),s=n(996986);function d(e){switch(e){case"ReadOnlyPlusAttachmentsBlockedAccess":return{key:"access_control_info_bar",source:s.yk.Compose,rank:s.ux.Error,message:(0,a.ZP)(i.c),messageParts:[(0,a.ZP)(i.c),c()],color:s.zB.Red};case"ReadOnlyAccess":return{key:"access_control_info_bar_check",source:s.yk.Compose,rank:s.ux.Error,message:(0,a.ZP)(r),messageParts:[(0,a.ZP)(r),c()],color:s.zB.Red};default:return(0,l.v)(e)}}function c(){return{text:(0,a.ZP)("YsE6wb"),action:()=>{window.open("https://docs.microsoft.com/en-us/intune-user-help/use-managed-devices-to-get-work-done","_blank")}}}var u=n(127303),m=n(636283);function p(e){let t=(0,u.Z)(e);return t?t.ConditionalAccessDirectFileAccessOnPrivateComputersBlocked||t.ConditionalAccessDirectFileAccessOnPublicComputersBlocked?t.ConditionalAccessWacViewingOnPrivateComputersBlocked||t.ConditionalAccessWacViewingOnPublicComputersBlocked?[1]:[0]:[]:((0,m.rx)("attachmentPolicy is undefined in getConditionalAccessIssue"),[])}function f(e){switch(e){case 0:return"ReadOnlyAccess";case 1:return"ReadOnlyPlusAttachmentsBlockedAccess";case 2:return null;default:return(0,l.v)(e)}}var g=n(623820);function v(e){return p(e)}function h(e,t){return(e&&e.length>0&&e.some(e=>!(e.IsInline&&!(0,g.j)(e)))?p(t):[]).map(f).filter(e=>null!==e)}var I=n(687315),S=n(471783)},429700:(e,t,n)=>{let o;n.d(t,{sK:()=>p,Ai:()=>h,pQ:()=>I,fw:()=>b,f4:()=>v});var r=n(460691),i=n(849620),a=n(52924),l=n(702438),s=n(90647),d=n(30653),c=n(827570),u=n(511943),m=n(67199),p=((o=p||{})[o.Undefined=0]="Undefined",o[o.Block=1]="Block",o[o.ForceSave=2]="ForceSave",o[o.Allow=3]="Allow",o[o.AccessDisabled=4]="AccessDisabled",o);class f{constructor(e,t,n){this.attachmentPolicy=e,this.shouldTreatAsPublicLogon=t,this.mailboxInfo=n,this.isValid=!!this.attachmentPolicy,this.isValid||(0,m.qu)("AttachmentPolicyInvalid"),this.shouldTreatAsPublicLogon?(this.directFileAccessEnabled=!!this.attachmentPolicy?.DirectFileAccessOnPublicComputersEnabled,this.linkPreviewEnabled=!!this.attachmentPolicy?.WacViewingOnPublicComputersEnabled):(this.directFileAccessEnabled=!!this.attachmentPolicy?.DirectFileAccessOnPrivateComputersEnabled,this.linkPreviewEnabled=!!this.attachmentPolicy?.WacViewingOnPrivateComputersEnabled),this.saveAttachmentsToCloudEnabled=!!this.attachmentPolicy?.AttachmentDataProviderAvailable&&!!this.attachmentPolicy?.SaveAttachmentsToCloudEnabled,this.convertClassicToCloudyEnabled=!!this.attachmentPolicy?.AttachmentDataProviderAvailable&&!!this.attachmentPolicy?.ReferenceAttachmentsEnabled,this.convertCloudyToClassicEnabled=!!this.attachmentPolicy?.AttachmentDataProviderAvailable&&!!this.attachmentPolicy?.ClassicAttachmentsEnabled,this.fileTypeToPolicyMap=this.createPolicyMap(this.attachmentPolicy?.BlockedFileTypes??[],this.attachmentPolicy?.ForceSaveFileTypes??[],this.attachmentPolicy?.AllowedFileTypes??[]),this.mimeTypeToPolicyMap=this.createPolicyMap(this.attachmentPolicy?.BlockedMimeTypes??[],this.attachmentPolicy?.ForceSaveMimeTypes??[],this.attachmentPolicy?.AllowedMimeTypes??[]),this.policyForUnknownTypes=({Undefined:0,Block:1,ForceSave:2,Allow:3,AccessDisabled:4})[this.attachmentPolicy?.ActionForUnknownFileAndMIMETypes??""]??0,this.printWithoutDownloadEnabled=!!this.attachmentPolicy?.PrintWithoutDownloadEnabled}getPolicyInfo(e,t,n,o){e&&(e=e.toLowerCase());let r=this.getFileAccessLevel(e,t),i=!1,a=!1,d=!1;return 1===r||!n||(this.isWacViewingEnabled(e)&&(i=!0),this.directFileAccessEnabled||1!==o&&3!==o||(i=!1),a=this.isForceBrowserViewingFirst(i),i&&this.attachmentPolicy?.WacEditableFileTypes&&e&&(d=0===o?this.attachmentPolicy?.WacEditableFileTypes.indexOf(e)>=0||!!this.attachmentPolicy?.WacConvertibleFileTypes&&this.attachmentPolicy.WacConvertibleFileTypes.indexOf(e)>=0:this.attachmentPolicy?.WacEditableFileTypes.indexOf(e)>=0&&this.attachmentPolicy?.WacConvertibleFileTypes?.indexOf(e)===-1),i||(0,l.D)(e)||(0,s.s)(e)||this.directFileAccessEnabled||(r=4)),{directFileAccessEnabled:this.directFileAccessEnabled,level:r,useWac:i,forceBrowserViewingFirst:a,wacEdit:d,mailboxInfo:this.mailboxInfo}}isPdfPreviewEnabled(){return this.shouldTreatAsPublicLogon?this.attachmentPolicy?.WacViewingOnPublicComputersEnabled||this.attachmentPolicy?.DirectFileAccessOnPublicComputersEnabled:this.attachmentPolicy?.WacViewingOnPrivateComputersEnabled||this.attachmentPolicy?.DirectFileAccessOnPrivateComputersEnabled}getFileAccessLevel(e,t){let n=this.fileTypeToPolicyMap[e];if(n||(n=0),1===n)return 1;let o=this.mimeTypeToPolicyMap[t];return 1===o?1:2===n||2===o?2:3===n||3===o?3:this.policyForUnknownTypes}isWacViewingEnabled(e){return!!((this.shouldTreatAsPublicLogon?!!this.attachmentPolicy?.WacViewingOnPublicComputersEnabled:!!this.attachmentPolicy?.WacViewingOnPrivateComputersEnabled)&&this.attachmentPolicy?.WacViewableFileTypes&&this.attachmentPolicy?.WacViewableFileTypes.indexOf(e)>=0)}isForceBrowserViewingFirst(e){return!!e&&(this.shouldTreatAsPublicLogon?!!this.attachmentPolicy?.ForceWacViewingFirstOnPublicComputers:!!this.attachmentPolicy?.ForceWacViewingFirstOnPrivateComputers)}addPolicyIntoMap(e,t,n){t&&t.forEach(t=>{e[t]=n})}createPolicyMap(e,t,n){let o={};return this.addPolicyIntoMap(o,n,3),this.addPolicyIntoMap(o,t,2),this.addPolicyIntoMap(o,e,1),o}}let g=new Map;function v(e){e=e??(0,u.zl)();let t=(0,c.M4)(e),n=g.get(t);if(!n||!n.isValid){let o=(0,a.Z)(),r=!!o.SessionSettings?.IsPublicLogon||!!(o.PublicComputersDetectionEnabled&&o.SessionSettings?.IsPublicComputerSession);if(n=new f((0,i.I6)(e),r,e),g.set(t,n),r){let t=`${(0,c.M4)(e)}_public`;g.set(t,n)}}return n}function h(e,t,n){n=n??(0,u.zl)();let o=(0,r.LG)(e.Name),i=e.ContentType;return v(n).getPolicyInfo(o??"",i??"",t,(0,d.v)(e))}function I(e,t,n){n=n??(0,u.zl)();let o=(0,r.LG)(e.Name),l=e.ContentType;return(function(e){e=e??(0,u.zl)();let t=`${(0,c.M4)(e)}_public`,n=g.get(t);if(!n||!n.isValid){let o=(0,a.Z)();if(o.SessionSettings?.IsPublicLogon||o.PublicComputersDetectionEnabled&&o.SessionSettings?.IsPublicComputerSession)return v(e);n=new f((0,i.I6)(e),!0,e),g.set(t,n)}return n})(n).getPolicyInfo(o??"",l??"",t,(0,d.v)(e))}var S=n(478248);function b(e,t,n,o,r,i){return!n&&!o&&r.level!==p.Block&&i.saveAttachmentsToCloudEnabled&&!e&&t&&!S.p(i.mailboxInfo)?.SessionSettings?.IsShadowMailbox}},92355:(e,t,n)=>{n.d(t,{J7:()=>m,Nc:()=>r.N,X9:()=>a,_O:()=>l,e_:()=>s,hn:()=>p,kg:()=>d,mX:()=>c,rQ:()=>u});var o=n(402392),r=n(730737);let i=new o.nI(()=>Promise.all([n.e(800461),n.e(665389)]).then(n.bind(n,665389))),a=new o.EF(i,e=>e.clearCachedAttachmentSuggestions),l=new o.EF(i,e=>e.getAttachmentSuggestionsAction),s=new o.EF(i,e=>e.createCloudFileFromAttachmentData),d=new o.EF(i,e=>e.getAttachmentSuggestionsMenuItems),c=new o.EF(i,e=>e.getAttachmentSuggestionsTraceId),u=new o.EF(i,e=>e.getAttachmentSuggestionsTraceIdByComposeId),m=new o.EF(i,e=>e.getAttachmentSuggestionsSessionIdByComposeId),p=new o._5(i,e=>e.logEntitiesFromFilePicker)},730737:(e,t,n)=>{let o;n.d(t,{N:()=>r});var r=((o=r||{})[o.Contextual=0]="Contextual",o[o.MRUCloudy=1]="MRUCloudy",o[o.MRUClassic=2]="MRUClassic",o[o.MRUContextual=3]="MRUContextual",o[o.MRUClassicContextual=4]="MRUClassicContextual",o)},105048:(e,t,n)=>{n.d(t,{Cy:()=>r,nf:()=>i,td:()=>a});var o=n(795839);let r=(0,o.aD)("launchCalendarFullCompose",(e,t,n)=>({config:e,freezeDryId:t,customStartTime:n})),i=(0,o.aD)("launchCalendarFullComposeToDuplicate",(e,t)=>({itemId:e,entrySource:t})),a=(0,o.aD)("launchCalendarReadingPane",(e,t,n)=>({config:e,targetWindow:t,freezeDryId:n}))},265178:(e,t,n)=>{n.d(t,{Y0:()=>a.Y,H$:()=>h,y$:()=>g,ee:()=>p,II:()=>f,uj:()=>i,hv:()=>m,N_:()=>u,gl:()=>c,og:()=>s});var o=n(67199);let r=RegExp("^data:(image\\/\\w+);base64,([A-Za-z0-9+/=]+?)$","i");function i(e){let t=null,n=null;try{n=r.exec(e)}catch(e){return(0,o.y8)("createFileFromImageSource",[e.message]),t}if(n){let e=n[1],o=n[2],r=null;try{r=atob(o)}catch{}if(r){let n=new ArrayBuffer(r.length),o=new Uint8Array(n);for(let e=0;e<r.length;e++)o[e]=r.charCodeAt(e);t=new File([n],"image.png",{type:e})}}return t}var a=n(608120),l=n(460691);function s(e){return e.map(e=>({fileType:a.Y.Uri,name:e.name,type:(0,l.LG)(e.url)||"",size:0,uri:e.url}))}var d=n(636283);function c(e,t,n){if(e.length!=t.length)return(0,d.rx)("The sizes of subjects and latestItemIds are different"),null;let o=[];for(let r=0;r<e.length;r++){let i={fileType:a.Y.MailItem,name:e[r],size:n?.[r]||0,itemId:t[r]};o.push(i)}return o}function u(e,t,n){let o=[];return o.push({fileType:a.Y.MailItem,name:e,size:n||0,mimeContent:t}),o}function m(e){if(!e)return null;let t=[];for(var n=0;n<e.length;n++){let o=e[n],r={fileType:a.Y.Local,name:o.name,size:o.size,type:o.type,fileObject:o};t.push(r)}return t}function p(e){if(!e)return null;let t=[];for(let n=0;n<e.length;n++){let o=e[n],r={fileType:o.fileType,name:o.name,size:o.size,type:o.type,dataUri:o.dataUri};t.push(r)}return t}function f(e){return null===e?null:{fileType:a.Y.Cloud,name:e.Name,size:e.Size,providerId:e.AttachmentProviderId,providerType:e.ProviderType,location:e.Location,providerEndpointUrl:e.ProviderEndpointUrl,isFolder:1===e.Type,fileId:e.Id,fileParentId:e.ParentId,thumbnailUrl:e.Thumbnail?.Url||"",previewUrl:e.Preview?.Url||"",type:e.MimeType}}function g(e){return null===e?null:{attachmentItemId:e.Id,name:e.Name,size:e.Size,fileType:a.Y.AttachmentItem,type:"ItemIdAttachment:#Exchange"}}var v=n(946875);function h(e){switch(e?e.toLowerCase():null){case v.PE.ONE_DRIVE_PRO.toLowerCase():return 0;case v.PE.GDRIVE.toLowerCase():return 5;case v.PE.ONE_DRIVE_CONSUMER.toLowerCase():return 1;case v.PE.DROPBOX.toLowerCase():return 2;case v.PE.BOX.toLowerCase():return 3;case v.PE.WOPI_BOX.toLowerCase():return 7;case v.PE.WOPI_EGNYTE.toLowerCase():return 8;case v.PE.MAILBOX.toLowerCase():return 4;case v.PE.FACEBOOK.toLowerCase():return 6;default:return null}}},608120:(e,t,n)=>{let o;n.d(t,{Y:()=>r});var r=((o=r||{})[o.Base64InlineImage=0]="Base64InlineImage",o[o.Cloud=1]="Cloud",o[o.Local=2]="Local",o[o.MailItem=3]="MailItem",o[o.Uri=4]="Uri",o[o.AttachmentItem=5]="AttachmentItem",o[o.CloudSuggestion=6]="CloudSuggestion",o[o.AttachmentItemSuggestion=7]="AttachmentItemSuggestion",o[o.Inline=8]="Inline",o[o.Smime=9]="Smime",o[o.FilesHub=10]="FilesHub",o[o.GroupFilesHub=11]="GroupFilesHub",o[o.MailSearchFileSuggestion=12]="MailSearchFileSuggestion",o[o.Unknown=13]="Unknown",o[o.ContextualSuggestion=14]="ContextualSuggestion",o[o.ConsumerGroupFilesHub=15]="ConsumerGroupFilesHub",o[o.SmartDoc=16]="SmartDoc",o[o.ExpirableBase64InlineImage=17]="ExpirableBase64InlineImage",o[o.Sonora=18]="Sonora",o)},53845:(e,t,n)=>{n.d(t,{Y:()=>i});var o=n(402392);let r=new o.nI(()=>Promise.all([n.e(17765),n.e(386731)]).then(n.bind(n,19851)),{name:"DiagnosticsDataCollection",govern:!0}),i=new o._5(r,e=>e.RegisterDataCollectorIfNotRegistered)},509644:(e,t,n)=>{n.d(t,{Z:()=>o});let o=(0,n(795839).aD)("ON_FAVORITES_LOADED",e=>({mailboxKey:e}))},460691:(e,t,n)=>{n.d(t,{y1:()=>m.y,LG:()=>o.ZP,oL:()=>o.oL,xn:()=>o.xn,Zd:()=>f.x,BT:()=>p,Ho:()=>i.H,zb:()=>i.z,CO:()=>a.Z,QE:()=>d,NU:()=>u,YG:()=>r.Z});var o=n(894976),r=n(570630),i=n(969196),a=n(702438),l=n(206339);let s=[".pdf",".doc",".docx",".odt",".rtf",".ppt",".pptx",".pptm",".potx",".potm",".pot",".ppxx",".pps",".odp"];function d(e){if(!(0,l.cr)("doc-attachment-documentThumbnail"))return!1;let t=(0,o.ZP)(e);return!!t&&s.indexOf(t.toLowerCase())>=0}let c=["3g2",".3gp",".3gpp",".asf",".avi",".m2ts",".m4v",".mkv",".mov",".mp4",".mp4v",".mts",".ts",".webm",".wmv"];function u(e){var t;return!!(t=(0,o.ZP)(e))&&c.indexOf(t.toLowerCase())>=0}var m=n(581788);function p(e){switch(e){case".doc":case".docm":case".docx":case".dot":case".dotm":case".dotx":case".odt":case".rtf":return m.y.Word;case".csv":case".ods":case".xls":case".xlsb":case".xlsm":case".xlsx":return m.y.Excel;case".odp":case".pot":case".potm":case".potx":case".pps":case".ppsm":case".ppsx":case".ppt":case".pptm":case".pptx":return m.y.PowerPoint;default:return null}}var f=n(400939)},581788:(e,t,n)=>{let o;n.d(t,{y:()=>r});var r=((o=r||{})[o.Word=0]="Word",o[o.Excel=1]="Excel",o[o.PowerPoint=2]="PowerPoint",o)},894976:(e,t,n)=>{function o(e){if(!e)return null;let t=e.lastIndexOf(".");return t>0?e.substr(t).toLowerCase():null}function r(e){let t=o(e);return t?t.replace(".",""):null}function i(e){return r(e)?.substring(0,4)||""}n.d(t,{ZP:()=>o,oL:()=>r,xn:()=>i})},969196:(e,t,n)=>{n.d(t,{H:()=>a,z:()=>i});var o=n(894976),r=n(206339);function i(e){let t=((0,o.ZP)(e)||e||"").toLowerCase();return!!e&&(0,r.cr)("cmp-prague")&&(".fluid"===t||".note"===t||".loop"===t||".whiteboard"===t)}function a(e){return"fluid"===e||"note"===e||"loop"===e||"whiteboard"===e}},702438:(e,t,n)=>{n.d(t,{D:()=>d,Z:()=>s});var o=n(894976),r=n(400939),i=n(12021);let a=[".bmp",".gif",".jpe",".jpeg",".jpg",".jfif",".dib",".png"],l=[".tiff",".tif"];function s(e,t,n=!0){return d((0,o.ZP)(e)||(0,r.Z)(t),n)}function d(e,t=!0){return!!e&&(a.indexOf(e.toLowerCase())>=0||t&&l.indexOf(e.toLowerCase())>=0&&(0,i.Fo)())}},90647:(e,t,n)=>{n.d(t,{a:()=>i,s:()=>a});var o=n(894976);let r=[".txt",".xml",".log"];function i(e){return a((0,o.ZP)(e))}function a(e){return!!e&&r.indexOf(e.toLowerCase())>=0}},570630:(e,t,n)=>{n.d(t,{Z:()=>r});var o=n(302140);function r(e){let t;return e>=1073741824?(e/=1073741824,t=(0,o.ZP)("KdCG1b")):e>=1048576?(e/=1048576,t=(0,o.ZP)("I3Depd")):e>=1024?(e/=1024,t=(0,o.ZP)("z7jo")):t=(0,o.ZP)("eze7xc"),(0,o.WU)(t,Math.round(e))}},400939:(e,t,n)=>{function o(e){return function(e){let t=i.exec(e);return t&&t.length>1&&r[t[1].toLowerCase()]}(e||"")}n.d(t,{Z:()=>o,x:()=>a});let r={"image/bmp":".bmp","image/x-ms-bmp":".bmp","image/gif":".gif","image/jpeg":".jpeg","image/png":".png","image/vnd.adobe.photoshop":".psd","image/tiff":".tiff"},i=/^\s*([^;\s]*)(?:;|\s|$)/;function a(e){let t="";return Object.entries(r).forEach(n=>{n[1]===e&&(t=n[0])}),t}},651609:(e,t,n)=>{let o;n.d(t,{Fn:()=>f,YD:()=>h,IW:()=>I,tY:()=>s,KB:()=>v});var r=n(415576),i=n(795839),a=n(561111),l=n(308828);function s(){return 1===(0,l.D6)()&&!(0,a.pB)()}var d=n(189882),c=n(589132),u=n(291350),m=n(189009);let p={[c.U7.MyDay]:{flexPaneId:"OwaTimePanel",shouldAutoOpen:m.$0,handleAutoOpen:()=>(0,m.j5)("AutoOpen")}};function f(e){return p[e]}(0,i._F)(r.$w,({isRendered:e})=>{if(s()&&e){let e=o;e&&(e(),o=void 0)}});var g=n(296637);async function v(e){let t=(0,g.Bb)(g.Xm.PinnedPane);if(t.pinnedPane!==e)return g.mX.importAndExecute(g.Xm.PinnedPane,{...t,pinnedPane:e})}function h(){return(0,c.Bb)(c.Xm.PinnedPane).pinnedPane}function I(e){!function(e){if(!s()||e===c.U7.None)return;let{flexPaneId:t,shouldAutoOpen:n,handleAutoOpen:i}=p[e];if(!(n?.()??!0))return;(0,d.Z)("suiteFlexPane",!0,!0,!0);let a=i??(()=>(0,u.EY)(t));(0,r.Jk)()&&!(0,r.jk)()?a():o=a}(s()?function(e){let t=e.filter(e=>e?.feature==c.Xm.PinnedPane);return t[0]?.pinnedPane??c.U7.None}(e):c.U7.None)}(0,i._F)(u.JR,({flexPaneId:e})=>{if(!s())return;let t=function(e){for(let[t,n]of Object.entries(p))if(n.flexPaneId===e)return Number(t)}(e);t&&v(t)}),(0,i._F)(u.DT,({flexPaneId:e})=>{if(!s())return;let t=h();t!==c.U7.None&&e===p[t].flexPaneId&&v(c.U7.None)})},536504:(e,t,n)=>{n.d(t,{D3:()=>d,EC:()=>c,Ey:()=>p,HL:()=>u,Nr:()=>l,SH:()=>f,j7:()=>s,n8:()=>m});var o=n(548879),r=n(669976),i=n(116447),a=n(323524);function l(){let e=(0,i.H)();return!!e?.get(r.Dm.DesktopSettingEnabled)&&!!e?.get(r.Dm.NewMailNotificationSettingEnabled)}function s(){let e=(0,i.H)();return e?.get(r.Dm.NewMailNotificationOption)===r.YI.Inbox}function d(){let e=(0,i.H)();return e?.get(r.Dm.NewMailNotificationOption)===r.YI.Favorite}function c(){if((0,o.Ry)("MonarchNotifications").enabled&&u()){let e=(0,i.H)(),t=e?.get(r.Dm.EventReminderDisplayOption);return t===r.H3.Popup||void 0===t&&(0,a.Z)()}return!1}function u(){let e=(0,i.H)();return!!e?.get(r.Dm.DesktopSettingEnabled)&&!!e?.get(r.Dm.EventReminderNotificationSettingEnabled)}function m(){let e=(0,i.H)(),t=e?.get(r.Dm.EventReminderDisplayOption);return!c()&&u()&&(void 0===t||t===r.H3.Desktop)}function p(){let e=(0,i.H)();return c()&&!!e?.get(r.Dm.EventAutomaticallyDismissPastDueRemindersEnabled)}function f(){let e=(0,i.H)(),t=(0,a.Z)();return!!e?.get(r.Dm.DesktopSettingEnabled)&&!!(e?.get(r.Dm.NativePushNotificationSettingEnabled)??!t)}},116447:(e,t,n)=>{n.d(t,{H:()=>r});var o=n(990230);let r=()=>(0,o.b)().desktopNotificationSettings},323524:(e,t,n)=>{n.d(t,{Z:()=>r});var o=n(990230);let r=()=>!!(0,o.b)().toggleFromWin32},990230:(e,t,n)=>{n.d(t,{b:()=>i});var o=n(787012);let r=(0,n(795839).MT)("desktopNotificationsSettingsStore",{desktopNotificationSettings:new o.ObservableMap})(),i=()=>r},669976:(e,t,n)=>{let o,r,i;n.d(t,{BH:()=>l,Dm:()=>s,H3:()=>c,YI:()=>d,pn:()=>a});let a="/ows/beta/OutlookCloudSettings/settings/account?settingname=desktop_notification_settings",l="desktop_notification_settings";var s=((o=s||{}).DesktopSettingEnabled="DesktopSettingEnabled",o.NewMailNotificationSettingEnabled="NewMailNotificationSettingEnabled",o.NewMailNotificationOption="NewMailNotificationOption",o.EventReminderNotificationSettingEnabled="EventReminderNotificationSettingEnabled",o.EventReminderDisplayOption="EventReminderDisplayOption",o.NativePushNotificationSettingEnabled="NativePushNotificationSettingEnabled",o.EventAutomaticallyDismissPastDueRemindersEnabled="EventAutomaticallyDismissPastDueRemindersEnabled",o),d=((r=d||{})[r.Inbox=0]="Inbox",r[r.Favorite=1]="Favorite",r),c=((i=c||{})[i.Popup=0]="Popup",i[i.Desktop=1]="Desktop",i)},828475:(e,t,n)=>{n.d(t,{f:()=>l,K:()=>i});var o=n(402392),r=n(206339);function i(){return(0,r.cr)("mon-newOutlookToggle")}let a=new o.nI(()=>Promise.all([n.e(477322),n.e(87858),n.e(508748),n.e(313380),n.e(574860),n.e(709077),n.e(566391),n.e(675795),n.e(439721)]).then(n.bind(n,439721))),l=(0,o.$y)(a,e=>e.MonarchWin32Toggle)},334785:(e,t,n)=>{n.d(t,{pD:()=>i,bh:()=>r.Z,qx:()=>m,T2:()=>c,zJ:()=>s,Az:()=>u,$r:()=>l,Mo:()=>g,Wm:()=>d,Ar:()=>p,Yo:()=>f});var o=n(402392),r=n(270178);let i=(0,n(795839).lr)("DISPATCH_READINGPANE_CURRENT_ITEM",e=>{(0,r.Z)().isPanelOpen&&d.importAndExecute(e)}),a=new o.nI(()=>Promise.all([n.e(592519),n.e(734807),n.e(751013),n.e(26817),n.e(878182),n.e(96387),n.e(258667),n.e(889637)]).then(n.bind(n,458180))),l=new o.EF(a,e=>e.getNotesSDK);new o.EF(a,e=>e.ContextType);let s=new o._5(a,e=>e.createNoteFromMessageData),d=new o._5(a,e=>e.setRelatedSectionInNotesFeed),c=new o._5(a,e=>e.createNewNote),u=new o._5(a,e=>e.deleteNote),m=new o._5(a,e=>e.changeNoteColor),p=new o._5(a,e=>e.syncNotes),f=new o._5(a,e=>e.viewEmailFromNote),g=new o.EF(a,e=>e.hasEmailId)},270178:(e,t,n)=>{n.d(t,{Z:()=>r});let o=(0,n(795839).MT)("notesStore",{isPanelInitialized:!1,isPanelOpen:!1,sessionId:void 0,panelOpenTimestamp:void 0,source:void 0,selectedNoteId:void 0,selectedNoteColor:void 0})(),r=()=>o},208161:(e,t,n)=>{n.d(t,{x:()=>o});let o=(0,n(795839).aD)("FLEXIBLEWORKINGHOURS_NOTIFICATION",(e,t)=>({notification:e,mailboxInfo:t}))},849994:(e,t,n)=>{n.d(t,{Z:()=>o});let o=(0,n(795839).aD)("ACTIVITYFEED_NOTIFICATION",(e,t)=>({notification:e,mailboxInfo:t}))},413166:(e,t,n)=>{n.d(t,{Z:()=>o});let o=(0,n(795839).aD)("NEW_MAIL_NOTIFICATION",(e,t)=>({notification:e,mailboxInfo:t}))},911711:(e,t,n)=>{n.d(t,{Z:()=>o});let o=(0,n(795839).aD)("REACTION_NOTIFICATION",(e,t)=>({notification:e,mailboxInfo:t}))},670409:(e,t,n)=>{n.d(t,{Z:()=>o});let o=(0,n(795839).aD)("REMINDER_NOTIFICATION",(e,t)=>({notification:e,mailboxInfo:t}))},296312:(e,t,n)=>{n.d(t,{FW:()=>r.Z,VH:()=>l.Z,_c:()=>o._c,_l:()=>o._l,ah:()=>a.Z,wh:()=>s.Z,xj:()=>i.Z});var o=n(720715),r=n(413166),i=n(670409),a=n(911711),l=n(849994),s=n(438911)},720715:(e,t,n)=>{n.d(t,{XW:()=>E,_l:()=>C,pf:()=>P,_c:()=>y});var o=n(53845),r=n(511943),i=n(661616),a=n(67199),l=n(827570),s=n(270183),d=n(206339),c=n(302140),u=n(3756),m=n(902178),p=n(240282),f=n(308828),g=n(849994),v=n(208161),h=n(438911),I=n(911711),S=n(670409);let b=[],w=0;async function y(e){Z();let t=(0,l.M4)(e);if(b.find(e=>e===t))return;b.push(t);let n=E("ReminderNotification",e,"ReminderNotifications");await u.dI.importAndExecute(n,(e,t)=>P(S.Z,e,t));let o=(0,l.M4)(e),a=(0,r.mZ)(o);if((0,d.cr)("auth-remoteSyncNotification",e)&&a&&(0,m.h)(e)){let t=E("RemoteSyncNotification",e);await u.dI.importAndExecute(t,async(e,t)=>{let n=JSON.parse(JSON.stringify(e));if(99==n.Status||3==n.Status){let e=await s.bZ.importAndExecute(n.Status);s.Mt.importAndExecute(t,{Status:e,FailureType:n.FailureType,LastSuccessfulSyncTimestamp:n.LastSuccessfulSyncTimestamp,LastUpdateTimestamp:n.LastUpdateTimestamp})}})}!(0,p.Z)(void 0,e)||(0,d.cr)("notif-showNotificationsForMSA")&&r.TS(e)?.sourceType===i.eq.OutlookDotCom?C(!1,e,(e,t)=>P(I.Z,e,t),(e,t)=>P(g.Z,e,t)):(0,h.Z)(!1,e),function(e){let t=E("FlexibleWorkingHoursNotification",e);u.dI.importAndExecute(t,(e,t)=>P(v.x,e,t))}(e)}function P(e,t,n){w++,(0,d.cr)("auth-signalrChannelLogging",n,!0)?(0,a.y8)("SignalRNotification",{NotificationType:t.id,EventType:t.EventType}):w%20==0&&(0,a.y8)("SignalRNotification",{PayloadsReceivedCount:w}),e(t,n)}function C(e,t,n,o){(0,h.Z)(e,t,async()=>{if((e||1==(0,f.D6)())&&(0,d.cr)("rp-reactions",t)){let e=E("ReactionNotification",t);await u.dI.importAndExecute(e,n)}let r=E("ActivityFeedNotification",t);await u.dI.importAndExecute(r,o)})}function E(e,t,n){return{subscriptionId:n||e,requiresExplicitSubscribe:!0,subscriptionParameters:{NotificationType:e},mailboxInfo:t}}async function Z(){let e={dataCollectionAction:M,name:"NotificationChannelData",description:(0,c.ZP)("d4rayb")};await o.Y.importAndExecute(e)}function M(){return u.U.importAndExecute()}},695805:(e,t,n)=>{n.d(t,{UZ:()=>l,V6:()=>a,r4:()=>r.r});var o=n(714865),r=n(10785);let i=new o.nI(()=>Promise.all([n.e(87858),n.e(107358)]).then(n.bind(n,107358))),a=new o._5(i,e=>e.launchRemindersPopup),l=new o._5(i,e=>e.closeRemindersPopup)},10785:(e,t,n)=>{let o;n.d(t,{r:()=>r});var r=((o=r||{}).DismissAll="DismissAll",o.PopupSettingOff="PopupSettingOff",o.NoReminders="NoReminders",o.PopupCloseButton="PopupCloseButton",o.MainWindowClose="MainWindowClose",o)},955473:(e,t,n)=>{n.d(t,{B5:()=>l,DD:()=>d,Iu:()=>a,Wz:()=>s,_4:()=>u,tW:()=>c,y:()=>i});var o=n(402392);let r=new o.nI(()=>n.e(229915).then(n.bind(n,229915)),{name:"LoopNav"}),i=new o._5(r,e=>e.focusNextEvent),a=new o._5(r,e=>e.ModuleNavigationManager.focusNextElement),l=new o._5(r,e=>e.ModuleNavigationManager.initAppSections),s=new o._5(r,e=>e.onFocusedElementChanged),d=new o._5(r,e=>e.onKeyDownEvent),c=new o._5(r,e=>e.arrangeCalendarSections),u=new o._5(r,e=>e.ModuleNavigationManager.isFocusingElement)},375831:(e,t,n)=>{n.d(t,{W:()=>o});let o={ctrlTab:{outlook:"ctrl+tab"},ctrlShiftTab:{outlook:"ctrl+shift+tab"},f6:{hotmail:"ctrl+f6",gmail:"ctrl+f6",owa:"ctrl+f6",yahoo:"ctrl+f6",outlook:"f6"},shiftF6:{hotmail:"ctrl+shift+f6",gmail:"ctrl+shift+f6",owa:"ctrl+shift+f6",yahoo:"ctrl+shift+f6",outlook:"shift+f6"}}},284976:(e,t,n)=>{n.d(t,{EK:()=>i,TZ:()=>l,nq:()=>a});var o=n(402392);let r=new o.nI(()=>Promise.all([n.e(544790),n.e(960093)]).then(n.bind(n,960093))),i=new o._5(r,e=>e.getAppDefinition),a=new o._5(r,e=>e.getAppDefinition_sync),l=new o._5(r,e=>e.getAppDefinitionCatalog);new o._5(r,e=>e.convertOwaAppDefinitionToHubSdkAppDefinition)},495816:(e,t,n)=>{n.d(t,{g:()=>i});var o=n(402392);let r=new o.nI(()=>n.e(180381).then(n.bind(n,180381))),i=new o._5(r,e=>e.fetchAndOpenLaunchPageMetaOsApp)},198622:(e,t,n)=>{n.d(t,{_U:()=>a,dN:()=>i,pH:()=>l});var o=n(402392);let r=new o.nI(()=>Promise.all([n.e(544790),n.e(193040)]).then(n.bind(n,193040))),i=new o._5(r,e=>e.intializeSharePointSiteInfo),a=new o._5(r,e=>e.openAppStoreModal),l=new o._5(r,e=>e.closeAppStoreModal)},815148:(e,t,n)=>{n.d(t,{Y1:()=>s,r5:()=>d,qw:()=>c});var o=n(302140),r=n(437255),i=n(206339),a=n(511943),l=n(375831);let s="goTo";function d(){let e={gotoMail:m("R5yQJe","ctrl+shift+1","ctrl+1"),gotoCalendar:m("uX84cc","ctrl+shift+2","ctrl+2"),gotoPeople:m("LE1rVc","ctrl+shift+3","ctrl+3")},t=(0,a.zl)();return(0,r.Pg)(t)!==r.gX.None&&(e.gotoToDo=m((0,r.um)(t)?"KDkHge":"qyUS2","ctrl+shift+4","ctrl+4")),(0,i.cr)("fwk-customDevToolsHotKeys")&&(e.goToDevTools=m("wIiz0b","ctrl+shift+d","ctrl+shift+d"),e.goToEdgeTracingTools=m("ogdjxb","ctrl+shift+t","ctrl+shift+t")),e}function c(){return{f6:u(l.W.f6),shiftF6:u(l.W.shiftF6),ctrlTab:u(l.W.ctrlTab),ctrlShiftTab:u(l.W.ctrlShiftTab)}}function u(e){return{...e,category:s,description:(0,o.ZP)("CL$_Nd")}}function m(e,t,n){return{category:s,description:(0,o.ZP)(e),hotmail:t,yahoo:t,gmail:t,owa:t,outlook:n}}},416559:(e,t,n)=>{n.d(t,{Y1:()=>o.Y1,qw:()=>o.qw,r5:()=>o.r5});var o=n(815148)},736393:(e,t,n)=>{n.d(t,{a:()=>i});var o=n(402392);let r=new o.nI(()=>Promise.all([n.e(713255),n.e(588798),n.e(711776)]).then(n.bind(n,692511)),{name:"MailAttachmentPickers"}),i=(0,o.$y)(r,e=>e.MailAttachmentPickers)},544730:(e,t,n)=>{n.d(t,{O3:()=>i,ft:()=>a});var o=n(52924),r=n(877111);function i(e){return!!(e&(o.Z().ViewStateConfiguration?.FocusedInboxBitFlags||0))}function a(e,t){i(t)!==e&&(0,r.W)(n=>{n.ViewStateConfiguration?.FocusedInboxBitFlags!=void 0&&(e?n.ViewStateConfiguration.FocusedInboxBitFlags|=t:n.ViewStateConfiguration.FocusedInboxBitFlags&=~t)})}},243470:(e,t,n)=>{n.d(t,{O:()=>i,R:()=>a});var o=n(478248),r=n(627168);function i(e,t){return!!(e&(o.p(t)?.ViewStateConfiguration?.ListViewBitFlags||0))}async function a(e,t,n){if(i(t,n)===e)return;let a=o.p(n)?.ViewStateConfiguration?.ListViewBitFlags||0;await (0,r.a)(n,{ViewStateConfiguration:{ListViewBitFlags:e?a|t:a&~t}})}},88104:(e,t,n)=>{let o;function r(e){return e>0}n.d(t,{V:()=>m,BE:()=>I,fE:()=>S,c2:()=>s,wk:()=>l,l:()=>r});var i=n(795839),a=n(267264);let l=(0,i.aD)("UNSUBSCRIBE_FROM_BRAND_SUBSCRIPTION",(e,t,n,o,r,i,l)=>(0,a.uY)({name:"UnsubscribeSubscription",customData:{unsubscribeSourceType:e}},{unsubscribeSourceType:e,smtpAddress:t,smtpIdentifier:n,unsubscribeSilentUris:o,unsubscribeHttpUri:r,mailboxInfo:i,completedCallback:l})),s=(0,i.aD)("AFTER_UNSUBSCRIBE",(e,t,n,o,r,i,a)=>({smtpIdentifier:e,smtpAddress:t,unsubscribeSourceType:n,responseType:o,debugMessage:r,mailboxInfo:i,completedCallback:a}));var d=n(302140),c=n(747731),u=((o=u||{})[o.Fail=0]="Fail",o[o.Success=1]="Success",o);let m=u;var p=n(787012);let f=(0,i.MT)("BrandSubscription",{subscriptions:new p.ObservableMap({}),unsubscribedSubscriptions:new p.ObservableMap({})})();var g=n(257143);let v=(0,i.lr)("populateSubscriptionStore",e=>{e.subscriptions.forEach(e=>{e?.smtpInfo?.smtpAddress&&f.subscriptions.set(e.smtpInfo.smtpAddress.toLowerCase(),e)}),e.unsubscribedSubscriptions.forEach(e=>{e?.smtpInfo?.smtpAddress&&f.unsubscribedSubscriptions.set(e.smtpInfo.smtpAddress.toLowerCase(),e)})}),h="ows/api/beta/subscriptions?orderBy=name, asc",I=async function(e,t){let n=await (0,c.xe)(t?h+"&noResolveBrand=true":h,void 0,!0,void 0,void 0,void 0,void 0,e);if((0,g.h)(n.status)){let e=await n.json();return v(e),e}return Promise.reject(Error("getBrandsSubscriptionsService failed. Response status:"+n.status+" Response body:"+n.body))};function S(e){if(e&&f.subscriptions.has(e.toLowerCase()))return f.subscriptions.get(e.toLowerCase())}var b=n(636283);let w=(0,i.lr)("unsubscribeFromCache",(e,t)=>{let n=S(e);n?(f.subscriptions.delete(e.toLowerCase()),f.unsubscribedSubscriptions.set(e.toLowerCase(),n)):I(t,void 0).catch(e=>b.g4.warn(e))});(0,i._F)(l,async e=>{let t,n;let{unsubscribeSourceType:o,smtpAddress:r,smtpIdentifier:i,unsubscribeSilentUris:a,unsubscribeHttpUri:l,mailboxInfo:u,completedCallback:p}=e;if((!l||0===l.length)&&(!a||0===a.length))return t="No unsubscribe URIs or SilentURIs provided",s(i,r,o,n=m.Fail,t,u,p),Promise.reject(Error("No unsubscribe URIs or SilentURIs provided"));a&&a.length>0||!l?t="No unsubscribe URIs provided":(window.open(l,"_blank"),t="Opened unsubscribe URI in new tab");let f=await (0,c.fv)((0,d.WU)("ows/api/beta/subscriptions/{0}/unsubscribe",i),{UnsubscribeSilentUris:a,ShouldReturnFailedUris:!0},void 0,!0,void 0,void 0,void 0,void 0,u),v=null;if((0,g.h)(f.status)){if(200===f.status){let e=await f.json();e?.failedPostSilentHttpUris?.length>0&&(t="Opened failed silent URI in new tab",window.open(e.failedPostSilentHttpUris[0],"_blank"))}t="Unsubscribe service called successfully. "+t,n=m.Success,w(r,u)}else{t="Unsubscribe service failed. "+t,n=m.Fail;let e=await f.text().then(e=>e?JSON.parse(e):{});(v=Error(`ResponseCode=${f.status}, ErrorMessage=${e?.error?.message}`)).fetchErrorType="ServerFailure"}return(s(i,r,o,n,t,u,p),v)?Promise.reject(v):Promise.resolve()}),(0,i.ed)(s,e=>{let{unsubscribeSourceType:t,responseType:n,debugMessage:o,completedCallback:r}=e;"BrandCard"===t&&r&&r(n===m.Success,o)})},738402:(e,t,n)=>{n.d(t,{Zf:()=>c.Zf,_S:()=>d.Z,XI:()=>l,Eg:()=>s,dm:()=>a,G_:()=>c.G_,Es:()=>c.Es,Vt:()=>c.Vt,E_:()=>c.E_,T0:()=>c.T0,L5:()=>c.L5,h:()=>o.Z});var o=n(77992),r=n(698877),i=n(636283);function a(e){let t=o.Z.bulkActionInformationMap.get(e);return!(!t||t.customData&&!function(e){let t;try{t=JSON.parse(e)}catch(e){return(0,i.rx)("Failed to parse bulkActionInfo.customData"),!1}return null!==t&&null!==t.Scenario}(t.customData)||(0,r.Z)(t,e))}function l(e,t){let n=o.Z.bulkActionInformationMap.get(e);return a(e)&&n?.state==t}function s(e){return(l(e,d.Z.Uninitialized)||l(e,d.Z.Running))&&a(e)}var d=n(436943),c=n(57538)},57538:(e,t,n)=>{n.d(t,{E_:()=>l,Es:()=>u,G_:()=>d,L5:()=>s,T0:()=>a,Vt:()=>c,Zf:()=>i});var o=n(402392);let r=new o.nI(()=>n.e(913976).then(n.bind(n,913976)),{name:"BulkActionsStore"}),i=(0,o.$y)(r,e=>e.BulkActionSpinner),a=new o._5(r,e=>e.subscribeToBulkActionNotification),l=new o._5(r,e=>e.onBulkActionSubmitted),s=new o._5(r,e=>e.findBulkActionItemAction),d=new o._5(r,e=>e.onBulkActionCancel),c=new o._5(r,e=>e.onBulkActionHierarchyNotification),u=new o._5(r,e=>e.onBulkActionDismiss)},436943:(e,t,n)=>{let o,r;n.d(t,{V:()=>a,Z:()=>l});var i=((o=i||{})[o.Uninitialized=0]="Uninitialized",o[o.Running=1]="Running",o[o.Cancelled=2]="Cancelled",o[o.Complete=3]="Complete",o[o.Failed=4]="Failed",o[o.Timeout=5]="Timeout",o[o.Cancelling=6]="Cancelling",o),a=((r=a||{})[r.Uninitialized=0]="Uninitialized",r[r.Running=1]="Running",r[r.Cancelled=2]="Cancelled",r[r.Complete=3]="Complete",r[r.Failed=4]="Failed",r[r.Timeout=5]="Timeout",r);let l=i},77992:(e,t,n)=>{n.d(t,{Z:()=>a,b:()=>l});var o=n(795839);let r={bulkActionInformationMap:new(n(787012)).ObservableMap},i=(0,o.MT)("bulkActionStore",r)(),a=i,l=()=>i},698877:(e,t,n)=>{n.d(t,{Z:()=>l});var o=n(791957),r=n.n(o),i=n(436943),a=n(77992);function l(e,t){let n=new Date,o=new Date(e.sendTime),l=r()(n,o),s=isNaN(l),d=(0,a.b)().bulkActionInformationMap.get(t);return!!s||l>7.5||!!d&&[i.Z.Cancelled,i.Z.Failed,i.Z.Complete].indexOf(d.state)>-1}},364507:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(795839),r=n(214658);let i=(0,o.lr)("setCategoryMenuFindText",function(e){r.default.categoryMenuViewState.findText=e})},688271:(e,t,n)=>{n.d(t,{Z:()=>o});let o=(0,n(795839).aD)("setInitialCategoryDialogViewState",(e,t,n,o)=>({operation:e,initialCategoryName:t,colorId:n,isFavorite:o}))},41690:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(795839),r=n(214658);let i=(0,o.lr)("setShouldShowAllCategories",function(e){r.default.categoryMenuViewState.shouldShowAllCategories=e})},656133:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(206339),r=n(427941);function i(e){return(0,o.cr)("cmp-message-recall",e)&&(!(0,o.cr)("cmp-message-recall-admin-setting",e)||(0,r.SW)(e))}},213827:(e,t,n)=>{n.d(t,{f:()=>r});var o=n(215468);let r=(e,t,n)=>{if(n&&e){let r=[];return r.push(e),t&&r.push(t),(0,o.F)(r,n)}}},388359:(e,t,n)=>{n.d(t,{IN:()=>l,KC:()=>s,cF:()=>i,fD:()=>a,gx:()=>r});var o=n(402392);let r=new o.nI(()=>Promise.all([n.e(602654),n.e(778996),n.e(306576),n.e(480752),n.e(996067)]).then(n.bind(n,212680))),i=new o.EF(r,e=>e.getTableSections),a=new o.EF(r,e=>e.getLinkUnlinkSections),l=new o.EF(r,e=>e.getBoostSections),s=new o.EF(r,e=>e.getDictationLanguagePickerMenuSections)},760919:(e,t,n)=>{n.d(t,{SS:()=>d,aS:()=>l,bv:()=>s,t9:()=>a});var o=n(388359),r=n(686157),i=n(67199);function a(e,t,n,i,a,l){o.cF.import().then(o=>{(0,r.Rl)(e,"tableMenuDefinitionStore",()=>({sections:o(t,n,i,a,l)}))})}function l(e,t,n,i,a,l){o.fD.import().then(o=>{(0,r.Rl)(e,"linkMenuDefinitionStore",()=>({sections:o(e,t,n,i,a,l)}))})}function s(e,t){o.KC.import().then(n=>{(0,r.Rl)(e,"dictationLanguageMenuDefinitionStore",()=>({sections:n(t)}))})}function d(e){(0,i.y8)("Boost_ManualInitialOptionsOpened"),o.IN.import().then(t=>{(0,r.Rl)(e.editorId,"boostMenuDefinitionStore",()=>({sections:t(e)}))})}},690171:(e,t,n)=>{n.d(t,{Y:()=>v});var o=n(75953),r=n(798571),i=n(619776),a=n(799853),l=n(182211),s=n(217565),d=n(886211),c=n(346639),u=n(302140),m=n(725046),p=n(591914),f=n(420010);let g=(e,t)=>{let n=t(e);if(n){let{editorViewState:e,expressionId:t,targetWindow:o}=n,r=!(0,s.Z)(t);d.EH.import().then(n=>{n(r,!0,l.dr,e,t,o)})}},v=(0,o._)((e,t,n,o,l,s,d)=>(0,r.lC)((0,i.V)(639,e),(0,u.ZP)(m.Po),(0,f.W)(639,g,t,n),l?(0,r.Fl)([l],639):void 0,c.Z,d,o,{customTooltip:(0,a.P)(m.Po,p.FW),disabled:s}))},586134:(e,t,n)=>{n.d(t,{T:()=>v});var o=n(75953),r=n(798571),i=n(619776),a=n(838446),l=n(302140),s=n(35337),d=n(760919),c=n(461373),u=n(591914),m=n(799853),p=n(201663),f=n(686157),g=n(158130);let v=(0,o._)((e,t,n,o,v,h,I)=>{let S=(0,l.ZP)(s.ZP.insertLink_Button),b="linkMenuDefinitionStore";return(0,r.Vh)((0,i.V)(7025,e),S,(0,p.O)(e,b),t,n?(0,r.Fl)([n],7025,!0):void 0,a.Z,void 0,o,{customTooltip:(0,m.P)(s.ZP.insertLink_Button,u.j2,(0,c.T)(624)),primaryDisabled:v.isMultilineSelection||v.hasReadonlyContent||h,disabled:h,onMenuButtonExecute:()=>{(0,d.aS)(e,n,o,v,h,I)},onAfterMenuDismiss:()=>{(0,f.SN)(e,b),(0,g.G)(e,"focus")},splitButtonAriaLabel:S})})},686157:(e,t,n)=>{n.d(t,{Mc:()=>l,Rl:()=>a,SN:()=>s});var o=n(201663),r=n(787012),i=n(795839);let a=(0,i.lr)("setMenuDefinition",function(e,t,n){(0,o.b)().menuDefinitionStoreMap.has(e)||(0,o.b)().menuDefinitionStoreMap.set(e,{menuDefinitions:new r.ObservableMap}),(0,o.b)().menuDefinitionStoreMap.get(e).menuDefinitions.set(t,n)}),l=(0,i.lr)("clearMenuDefinition",function(e){let t=(0,o.b)().menuDefinitionStoreMap;t.has(e)&&(t.get(e).menuDefinitions.clear(),t.delete(e))}),s=(0,i.lr)("resetMenuDefinition",function(e,t){let n=(0,o.b)().menuDefinitionStoreMap.get(e);n&&(n.menuDefinitions.has(t)&&n.menuDefinitions.delete(t),0==n.menuDefinitions.size&&(0,o.b)().menuDefinitionStoreMap.delete(e))})},201663:(e,t,n)=>{n.d(t,{O:()=>l,b:()=>a});var o=n(795839),r=n(787012);let i=(0,o.MT)("ComposeRibbonMenuDefinitionStore",{menuDefinitionStoreMap:new r.ObservableMap({})})(),a=()=>i,l=(e,t)=>i.menuDefinitionStoreMap.get(e)?.menuDefinitions.get(t)?.()??{sections:[{controls:[{type:"AppButtonProps",id:"controlPlaceHolder",label:""}]}]}},970381:(e,t,n)=>{n.d(t,{g:()=>h});var o=n(75953),r=n(798571),i=n(257094),a=n(619776),l=n(803234),s=n(407663);let d=(0,l.M)("TextClearFormattingRegular",s.ibz);var c=n(302140);let u="_o9KWb";var m=n(420010),p=n(799853),f=n(461373),g=n(726944);let v=(e,t,n)=>{t&&(0,g.N)(e),(0,i.MA)(e,n)},h=(0,o._)((e,t,n,o,i,l)=>(0,r.is)((0,a.V)(6030,e),(0,c.ZP)(u),(0,m.W)(6030,v,e,n,l),!1,o?(0,r.Fl)([o],6030):void 0,d,void 0,t,{disabled:i,customTooltip:(0,p.P)(u,void 0,(0,f.T)(6030))}))},320990:(e,t,n)=>{n.d(t,{Z:()=>w});var o=n(900041),r=n(139109),i=n(826716),a=n(542398),l=n(850217),s=n(142337),d=n(615762),c=n(896847),u=n.n(c),m=n(857047),p=n(302140),f=n(422540),g=n(654127),v=n(345301),h=n(327173),I=n(64906);let S="CustomizedColorPickerDialog",b=function(e){let t=v.useRef(u()(e.initColor)),n=v.useCallback((e,n)=>{t.current=u()(n.str)},[]),c=v.useCallback(()=>{let n=(0,I.BR)()?"#333333":"#ffffff";m.Ce.importAndExecute(u()(t.current),u()(n),!0,n).then(n=>{e.onSelect?.({lightModeColor:t.current.rgb().toString(),darkModeColor:n.rgb().toString()}),w()})},[]),b=(0,d.zY)(),w=v.useCallback(()=>{let e=b?.document.getElementById(S);e&&((0,h.uy)(e),e.parentNode?.removeChild(e))},[]),y=v.useMemo(()=>({title:(0,p.ZP)(r.Ny)}),[r.Ny]);return v.createElement(a.V,{hidden:!1,dialogContentProps:y,onDismiss:w},v.createElement(i.z,{color:(0,s.T)(e.initColor)||"none",onChange:n,alphaType:"none",showPreview:!0}),v.createElement(l.c,null,v.createElement(o.X,{appearance:"primary",onClick:c},(0,p.ZP)(g.v)),v.createElement(o.X,{onClick:w},(0,p.ZP)(f.T))))};function w(e,t,n){let o=(n=n||window).document,r=o.getElementById(S);r||((r=o.createElement("div")).id=S,o.body.appendChild(r)),(0,h.sY)(v.createElement(v.Fragment,null,v.createElement(d.WU,{window:n},v.createElement(b,{initColor:e,onSelect:t}))),r)}},870785:(e,t,n)=>{n.d(t,{ZP:()=>C,Ry:()=>w,GI:()=>y,NF:()=>b,fR:()=>P});var o=n(75953),r=n(798571),i=n(619776),a=n(333282),l=n(302140),s=n(139109),d=n(420010),c=n(257094),u=n(551536),m=n(803234),p=n(407663);let f=(0,m.M)("TextAlignRightRegular",p.TUV),g=(0,m.M)("TextAlignJustifyRegular",p.SRr);var v=n(206339),h=n(720490);let I=new Map([[6017,{command:0,icon:u.Z,text:s.KB}],[6018,{command:1,icon:a.Z,text:s.cx}],[6019,{command:2,icon:f,text:s.EZ}],[6110,{command:"justify",icon:g,text:s.vD}]]),S=(e,t,n,o,a,s)=>(0,r.lC)((0,i.V)(e,t),(0,l.ZP)(I.get(e).text),(0,d.W)(e,c.tG,t,I.get(e).command,s),o?(0,r.Fl)([o],e):void 0,I.get(e).icon,void 0,n,{disabled:a}),b=(0,o._)((e,t,n,o,r)=>S(6017,e,(0,h.E)(t),n,o,r)),w=(0,o._)((e,t,n,o,r)=>S(6018,e,(0,h.E)(t),n,o,r)),y=(0,o._)((e,t,n,o,r)=>S(6110,e,(0,h.E)(t),n,o,r)),P=(0,o._)((e,t,n,o,r)=>S(6019,e,(0,h.E)(t),n,o,r));function C(e,t,n,o,r,i){let a=[b(e,t,n,o,r),w(e,t,n,o,r),P(e,t,n,o,r)];return i&&(0,v.cr)("cmp-align-justify")&&a.push(y(e,t,n,o,r)),[{controls:a}]}},754249:(e,t,n)=>{n.d(t,{Z:()=>S,B:()=>I});var o=n(75953),r=n(798571),i=n(619776),a=n(799853),l=n(461373),s=n(158130),d=n(263087),c=n(803234),u=n(255385);let m=(0,c.M)("CutRegular",u.NSV);var p=n(302140),f=n(420010),g=n(139109),v=n(12021);let h=(e,t,n,o)=>{let r=o(n);if(r){let n=(0,s.G)(t,"getSelectionRangeEx"),o=r.targetWindow.document;(0,v.Fo)()&&n&&((0,s.G)(t,"focus"),(0,s.G)(t,"select",n)),o?.execCommand(e?"cut":"copy")}},I=(0,o._)((e,t,n,o,s,c,u,v,I)=>{let S=e?6009:6010,b=e?g.yX:g.OF;if(!I){let e=o(n);I=e&&e.isPlainTextEditor?e.targetWindow.document.getSelection()?.type!=="Range":!s.canCutCopy}return(0,r.lC)((0,i.V)(S,t),(0,p.ZP)(b),(0,f.W)(S,h,e,t,n,o),u?(0,r.Fl)(v?[u,v]:[u],S,!0):void 0,e?m:d.Z,void 0,c,{disabled:I,customTooltip:(0,a.P)(b,e?"Hl_Rxb":"Makcwb",(0,l.T)(S))})});function S(e,t,n,o,r,i,a){return[{controls:[I(!0,e,t,n,o,r,i,6012,a),I(!1,e,t,n,o,r,i,6012,a)]}]}},274421:(e,t,n)=>{n.d(t,{GJ:()=>l,J4:()=>i,Nr:()=>d,Qh:()=>S,Qi:()=>s,RJ:()=>c,Sx:()=>I,Up:()=>v,Wq:()=>a,c4:()=>p,eO:()=>h,gx:()=>r,if:()=>f,jY:()=>m,m1:()=>g,ok:()=>u});var o=n(402392);let r=new o.nI(()=>Promise.all([n.e(778996),n.e(734159)]).then(n.bind(n,734159))),i=new o.EF(r,e=>e.getUndoRedoSections),a=new o.EF(r,e=>e.getCutCopySections),l=new o.EF(r,e=>e.getAlignSections),s=new o.EF(r,e=>e.getChangeCaseSections),d=new o.EF(r,e=>e.getFontColorSections),c=new o.EF(r,e=>e.getFontBackColorSections),u=new o.EF(r,e=>e.getStyleSections),m=new o.EF(r,e=>e.getSpacingSections),p=new o.EF(r,e=>e.getBorderSections),f=new o.EF(r,e=>e.getShadowSections),g=new o.EF(r,e=>e.getPictureSizeSections),v=new o.EF(r,e=>e.getTableAlignSections),h=new o.EF(r,e=>e.getTableBorderWeightSections),I=new o.EF(r,e=>e.getTableBorderColorSections),S=new o.EF(r,e=>e.getApplyTableBorderSections)},726944:(e,t,n)=>{n.d(t,{N:()=>a,u:()=>i});var o=n(158130),r=n(556552);let i=(e,t)=>{let n=(0,o.G)(e,"isInShadowEdit"),i=!n&&(0,o.G)(e,"getSelectionRangeEx");(n||i&&!i.areAllCollapsed)&&((0,o.G)(e,"startShadowEdit"),(0,r.J)(e,{},"startShadowEdit"),t())},a=e=>{(0,o.G)(e,"stopShadowEdit"),(0,r.J)(e,{},"stopShadowEdit")}},720490:(e,t,n)=>{n.d(t,{E:()=>o});let o=(0,n(75953)._)(e=>({...e,rootFocused:{"::after":{borderStyle:"none"}}}))},474434:(e,t,n)=>{n.d(t,{Ds:()=>l,Xs:()=>m,au:()=>a,dV:()=>s,dv:()=>f,gG:()=>c,oA:()=>d,pg:()=>v,rg:()=>g,ro:()=>p,tj:()=>i,w:()=>u});var o=n(686157),r=n(274421);function i(e,t,n,i){r.J4.import().then(r=>{(0,o.Rl)(e,"undoRedoMenuDefinitionStore",()=>({sections:r(e,t,n,i)}))})}function a(e,t,n,i,a,l,s){r.Wq.import().then(r=>{(0,o.Rl)(e,"cutCopyMenuDefinitionStore",()=>({sections:r(e,t,n,i,a,l,s)}))})}function l(e,t,n,i,a,l){r.GJ.import().then(r=>{(0,o.Rl)(e,"alignMenuDefinitionStore",()=>({sections:r(e,t,n,i,a,l)}))})}function s(e,t,n,i){r.Qi.import().then(r=>{(0,o.Rl)(e,"changeCaseMenuDefinitionStore",()=>({sections:r(e,t,n,i)}))})}function d(e,t,n,i,a){r.ok.import().then(r=>{(0,o.Rl)(t,"styleMenuDefinitionStore",()=>({sections:r(e,t,n,i,a)}))})}function c(e,t,n,i){r.Nr.import().then(r=>{(0,o.Rl)(e,"fontColorMenuDefinitionStore",()=>({sections:r(e,t,n,i)}))})}function u(e,t,n,i){r.RJ.import().then(r=>{(0,o.Rl)(e,"fontBackColorMenuDefinitionStore",()=>({sections:r(e,t,n,i)}))})}function m(e,t,n,i){r.jY.import().then(r=>{(0,o.Rl)(e,"spacingMenuDefinitionStore",()=>({sections:r(e,t,n,i)}))})}function p(e,t){r.Up.import().then(n=>{(0,o.Rl)(e,"tableAlignmentMenuDefinitionStore",()=>({sections:n(e,t)}))})}function f(e,t){r.eO.import().then(n=>{(0,o.Rl)(e,"tableBorderWeightMenuDefinitionStore",()=>({sections:n(t)}))})}function g(e,t){r.Sx.import().then(n=>{(0,o.Rl)(e,"tableBorderColorMenuDefinitionStore",()=>({sections:n(e,t)}))})}function v(e,t,n,i){r.Qh.import().then(r=>{(0,o.Rl)(e,"applyTableBorderMenuDefinitionStore",()=>({sections:r(e,t,n,i)}))})}},820304:(e,t,n)=>{n.d(t,{k:()=>p});var o=n(75953),r=n(798571),i=n(619776),a=n(623045),l=n(302140),s=n(786210),d=n(420010),c=n(629721),u=n(799853),m=n(461373);let p=(0,o._)((e,t,n,o,p,f,g,v)=>(0,r.is)((0,i.V)(6001,e),(0,l.ZP)(s._8),(0,d.W)(6001,c.N,e,t,"toggleBold",n,v),!!o.isBold,f?(0,r.Fl)([f],6001):void 0,a.Z,void 0,p,{customTooltip:(0,u.P)(s._8,void 0,(0,m.T)(6001)),disabled:g}))},798899:(e,t,n)=>{n.d(t,{H:()=>v});var o=n(133564),r=n(786210),i=n(726944),a=n(75953),l=n(619776),s=n(257094),d=n(302140),c=n(798571),u=n(420010),m=n(201663),p=n(686157),f=n(474434),g=n(158130);let v=(0,a._)((e,t,n,a,v,h)=>{let I=t.lastBackColors,S=t.lastBackColors.lightModeColor,b=(0,d.ZP)(r.md),w="fontBackColorMenuDefinitionStore";return(0,c.Vh)((0,l.V)(6026,e),b,(0,m.O)(e,w),(0,u.W)(6026,s.GD,e,I,h),n?(0,c.Fl)([n],6026,!0):void 0,o.Z,S||"transparent",a,{onAfterMenuDismiss:()=>{(0,i.N)(e),(0,p.SN)(e,w),(0,g.G)(e,"focus")},splitButtonAriaLabel:b,disabled:v,customTooltip:b,onMenuButtonExecute:()=>{(0,f.w)(e,t,n,h)}})})},889332:(e,t,n)=>{n.d(t,{V:()=>v});var o=n(786210),r=n(17866),i=n(726944),a=n(75953),l=n(619776),s=n(257094),d=n(302140),c=n(798571),u=n(420010),m=n(201663),p=n(686157),f=n(474434),g=n(158130);let v=(0,a._)((e,t,n,a,v,h)=>{let I=t.lastTextColors,S=t.lastTextColors.lightModeColor,b=(0,d.ZP)(o.uK),w="fontColorMenuDefinitionStore";return(0,c.Vh)((0,l.V)(6025,e),b,(0,m.O)(e,w),(0,u.W)(6025,s.DB,e,I,h),n?(0,c.Fl)([n],6025,!0):void 0,r.Z,S,a,{onAfterMenuDismiss:()=>{(0,i.N)(e),(0,p.SN)(e,w),(0,g.G)(e,"focus")},splitButtonAriaLabel:b,disabled:v,customTooltip:b,onMenuButtonExecute:()=>{(0,f.gG)(e,t,n,h)}})})},328257:(e,t,n)=>{n.d(t,{I3:()=>E,T0:()=>C,_c:()=>Z,_p:()=>M});var o=n(150064),r=n(75953),i=n(798571),a=n(726944),l=n(619776),s=n(799853),d=n(257094),c=n(170048),u=n(652046),m=n(206339),p=n(152740),f=n(338061),g=n(302140),v=n(308807),h=n(12021),I=n(951402),S=n(835541),b=n(786210),w=n(158130);let y=0;function P(e,t){return"-"==e.selectValue?{type:"AppComboBoxDivider",key:"divider_"+(y++).toString()}:{type:"AppComboBoxItem",key:(t?"mru_":"")+e.selectValue,text:e.displayValue,ariaLabel:e.displayValue,styles:{optionText:{fontFamily:e.submitValue},rootHovered:S.zl},commandValueId:e.submitValue}}let C=e=>{let t=(0,f.b)().fontName,n=[];if(e){let e=(t.mru||[]).map(e=>t.items.filter(t=>t.submitValue==e)[0]).filter(e=>!!e);e.length>0&&e.push({selectValue:"-",displayValue:"",submitValue:""}),e.forEach(e=>{n.push(P(e,!0))})}return t.items.forEach(e=>{n.push(P(e,!1))}),n},E=e=>({callout:S.qf,optionsContainerWrapper:(0,o.Z)(e?S.Vi:void 0,(0,h.Fo)()?S.cY:(0,h.o2)()?S.s2:void 0),input:S.MS,root:{backgroundColor:(0,v.XN)().neutralPrimarySurface,borderColor:(0,v.XN)().neutralTertiary,borderRadius:e?"0 4px 4px 0":"4px 0 0 4px"}}),Z=()=>({icon:{height:"unset",width:"unset"},root:{backgroundColor:(0,v.XN)().neutralPrimarySurface}}),M=(0,r._)((e,t,n,o,r,v)=>{let h=r||"Aptos",S=C(!0),y=function(e,t){let n;for(let o=0;o<t.length;o++){let r=t[o];if(e===r.text||e===r.commandValueId){n=r.key;break}}return n}(t.fontName,S),P=(0,g.ZP)(b.MP),M=w.G(e,"getDocument")?.defaultView||window;return{type:"AppComboBoxProps",id:(0,l.V)("6027",e).toString(),allowFreeForm:!0,autoComplete:!0,label:P,width:128,options:S,defaultSelectedKey:h,selectedKey:y,value:t.fontName,shouldTakeFocus:!0,onMenuOpen:e=>{(0,m.cr)("mon-cmp-localFonts-newFontPicker")&&(0,p.ZP)(M),M.setTimeout(()=>{let t=M.document.getElementById(`${e.location}-${e.id}-input`);t&&t!=M.document.activeElement&&t.focus()})},onExecute:async n=>{(0,a.N)(e);let o="string"==typeof n.newValue?n.newValue.toString():n.newValue.commandValueId;if(o){if(S.some(e=>o==e?.commandValueId)){await (0,d.F2)(e,o,v),(0,c.Z)((0,f.b)().fontName,o);let n=await (0,d.bj)(e);u.O2.importAndExecute(t,n)}else{let e=(t.fontName||h).toString();await u.bj.importAndExecute(t,o),await u.bj.importAndExecute(t,e)}}},onPreviewExecute:t=>{let n="string"==typeof t.newValue?t.newValue.toString():t.newValue.commandValueId??"";(0,a.u)(e,()=>{n&&(0,d.F2)(e,n,v)})},onAfterMenuDismiss:()=>{(0,w.G)(e,"focus")},caretDownButtonStyles:Z(),styles:E(!1),onRevertPreviewExecute:()=>{(0,a.N)(e)},keytipProps:n?(0,i.Fl)([n],6027):void 0,disabled:o,customTooltip:(0,s.P)(b.MP,I.Gn)}})},586016:(e,t,n)=>{n.d(t,{a:()=>b,y:()=>I});var o=n(75953),r=n(652046),i=n(257094),a=n(619776),l=n(338061),s=n(483983),d=n(302140),c=n(835541),u=n(726944),m=n(798571),p=n(786210),f=n(951402),g=n(799853),v=n(328257),h=n(158130);let I=()=>{let e=(0,l.b)().fontSize,t=[];return e.items.forEach(e=>{t.push({type:"AppComboBoxItem",key:e.selectValue,text:e.displayValue,ariaLabel:e.displayValue,styles:{rootHovered:c.zl,rootChecked:c.hZ}})}),t},S=e=>{let t=parseInt(e);return!!t&&t>=8&&t<=1e3},b=(0,o._)((e,t,n,o,l,c)=>{let b=(0,s.Rs)(l??3).toString(),w=(0,d.ZP)(p.w1),y=t.fontSize?function(e,t){let n;for(let o=0;o<t.length;o++){let r=t[o];if(e===r.text){n=r.key;break}}return n}(t.fontSize,I()):void 0;return{type:"AppComboBoxProps",id:(0,a.V)("6028",e).toString(),allowFreeForm:!0,autoComplete:!1,label:w,width:64,options:I(),defaultSelectedKey:b,selectedKey:y,value:t.fontSize||"",onExecute:async n=>{(0,u.N)(e);let o="string"==typeof n.newValue?n.newValue.toString():n.newValue.key,a=parseFloat(o);if(a&&a%.5==0){let n=Math.max(Math.min(a,1e3),8).toString();await (0,i.d5)(e,n+"pt",c);let o=await (0,i.bj)(e);r.O2.importAndExecute(t,o)}else{let e=(t.fontSize||b).toString();await r.rU.importAndExecute(t,o),await r.rU.importAndExecute(t,e)}},onPreviewExecute:t=>{let n="string"==typeof t.newValue?t.newValue.toString():t.newValue.key;(0,u.u)(e,()=>{S(n)&&(0,i.d5)(e,n+"pt",c)})},onAfterMenuDismiss:()=>{(0,h.G)(e,"focus")},pinToPreviousComboBox:!0,caretDownButtonStyles:(0,v._c)(),styles:(0,v.I3)(!0),onRevertPreviewExecute:()=>{(0,u.N)(e)},keytipProps:n?(0,m.Fl)([n],6028):void 0,disabled:o,customTooltip:(0,g.P)(p.w1,f.Oh)}})},77604:(e,t,n)=>{n.d(t,{V:()=>p});var o=n(75953),r=n(798571),i=n(619776),a=n(58962),l=n(302140),s=n(786210),d=n(420010),c=n(629721),u=n(799853),m=n(461373);let p=(0,o._)((e,t,n,o,p,f,g,v)=>(0,r.is)((0,i.V)(6002,e),(0,l.ZP)(s.d),(0,d.W)(6002,c.N,e,t,"toggleItalic",n,v),!!o.isItalic,f?(0,r.Fl)([f],6002):void 0,a.Z,void 0,p,{disabled:g,customTooltip:(0,u.P)(s.d,void 0,(0,m.T)(6002))}))},468036:(e,t,n)=>{let o;n.d(t,{I_:()=>C,bk:()=>P,lG:()=>b});var r=n(75953),i=n(798571),a=n(619776),l=n(34965),s=n(904871),d=n(302140),c=n(941385),u=n(786210),m=n(420010),p=n(799853),f=n(461373),g=n(650167),v=n(257094),h=n(12021),I=n(497674),S=n(206339),b=((o=b||{})[o.Text=0]="Text",o[o.Image=1]="Image",o[o.Normal=2]="Normal",o[o.MergeFormat=3]="MergeFormat",o);let w=/<table ?(.|\n)*>/i,y={name:"clipboard-read",allowWithoutGesture:!0},P=async(e,t,n,o)=>{let{editorViewState:r,targetWindow:i,isPlainTextEditor:a}=n&&o(n)||{};try{let n=i?.navigator,o=(0,h.Fo)()||(0,h.o2)()?void 0:await n?.permissions.query(y),l=n?.clipboard;if(o?.state=="denied"||!l||!l?.read){g.jU.importAndExecute(i||window);return}if(r){let n,o;if(a)o=await l.readText();else{let e=await l.read(),t=[];e?.forEach(e=>{e?.types?.forEach(n=>{let o=n?.indexOf("text/")==0,r=n?.indexOf("image/")==0;(o||r)&&t.push(e.getType(n).then(e=>(function(e,t,n){let o=new File([n],"paste.png",{type:t,lastModified:new Date().getDate()});return{kind:e,type:t,getAsFile:()=>o,getAsString:e=>{n.text().then(t=>e(t))},webkitGetAsEntry:()=>null}})(o?"string":"file",n,e)))})});let o=await Promise.all(t);n=await (0,c.Z)(o)}I.KI.import().then(a=>{a(r,(o,r)=>{o.focus(),r&&o.select(r);let a=0==t,l=1==t,s=3==t,d=()=>(0,v.Yv)(e,n,a,s,l);return 2==t&&n.rawHtml&&w.test(n.rawHtml)&&i?g.jU.importAndExecute(i,d):d(),null},(e,t,n)=>{let r=t+o.length,i=t+o.length;return{value:e.substring(0,n)+o+e.substring(n),selectionStart:r,selectionEnd:i,focus:!0}})})}}catch{}},C=(0,r._)((e,t,n,o,r,c,g,v)=>{let h=r?u.D9:u.M1;return(0,i.lC)((0,a.V)(6011,e)+(r?"_plain":""),(0,d.ZP)(h),(0,m.W)(6011,P,e,r?0:(0,S.cr)("cmp-default-merge-format-paste")?3:2,c,g),n?(0,i.Fl)([n],6011):void 0,r?s.Z:l.Z,v,t,{disabled:o,customTooltip:(0,p.P)(h,void 0,(0,f.T)(6011))})})},315995:(e,t,n)=>{n.d(t,{U:()=>I});var o=n(75953),r=n(798571),i=n(619776),a=n(799853),l=n(803234),s=n(407663);let d=(0,l.M)("TextEditStyleRegular",s.X87);var c=n(302140),u=n(726944),m=n(786210),p=n(951402),f=n(201663),g=n(686157),v=n(474434),h=n(158130);let I=(0,o._)((e,t,n,o,l,s,I)=>{let S=(0,i.V)(6073,e),b=t?"Quote":n>=1&&n<=3?`heading ${n}`:"normal",w="styleMenuDefinitionStore";return(0,r.c9)(S,(0,c.ZP)(m.Ef),(0,f.O)(e,w),l?(0,r.Fl)([l],6073,!0):void 0,d,void 0,o,{customTooltip:l?(0,a.P)(m.Ef,p.cQ):void 0,disabled:s,onAfterMenuDismiss:()=>{(0,u.N)(e),(0,g.SN)(e,w),(0,h.G)(e,"focus")},menuClassNames:{header:"gKCWs",subComponentStyles:{callout:{root:{borderRadius:"4px",overflow:"hidden"}},menuItem:{}}},onExecute:()=>{(0,v.oA)(S,e,b,l,I)}})})},710906:(e,t,n)=>{n.d(t,{t:()=>R});var o=n(391240),r=n(787012),i=n(302140),a=n(842650);let l={lighterBlueColor:"aP4Wgc",lighterGreenColor:"hAnnSd",lighterYellowColor:"KS_$sb",lighterOrangeColor:"CHBMdb",lighterRedColor:"L4Mvld",lighterPurpleColor:"wL8U1"},s=[l.lighterBlueColor,l.lighterGreenColor,l.lighterYellowColor,l.lighterOrangeColor,l.lighterRedColor,l.lighterPurpleColor,a.ZP.lightBlueColor,a.ZP.lightGreenColor,a.ZP.lightYellowColor,a.ZP.lightOrangeColor,a.ZP.lightRedColor,a.ZP.lightPurpleColor,a.ZP.blueColor,a.ZP.greenColor,a.ZP.yellowColor,a.ZP.orangeColor,a.ZP.redColor,a.ZP.purpleColor,a.ZP.darkBlueColor,a.ZP.darkGreenColor,a.ZP.darkYellowColor,a.ZP.darkOrangeColor,a.ZP.darkRedColor,a.ZP.darkPurpleColor,a.ZP.darkerBlueColor,a.ZP.darkerGreenColor,a.ZP.darkerYellowColor,a.ZP.darkerOrangeColor,a.ZP.darkerRedColor,a.ZP.darkerPurpleColor,a.ZP.whiteColor,a.ZP.lightGrayColor,a.ZP.grayColor,a.ZP.darkGrayColor,a.ZP.darkerGrayColor,a.ZP.blackColor],d=["#cce4f6","#CEE7D4","#F8F2D3","#F8E1D1","#FBDEDD","#E6E4F8","#51a7f9","#6fc040","#f5d427","#f3901d","#ed5c57","#b36ae2","#0c64c0","#0c882a","#dcbe22","#de6a19","#c82613","#763e9b","#174e86","#0f5c1a","#c3971d","#be5b17","#861106","#5e327c","#002451","#06400c","#a37519","#934511","#570606","#3b204d","#ffffff","#cccccc","#999999","#666666","#333333","#000000"],c=["#324957","#364B3B","#3F3C23","#514033","#543E3D","#424151","#0075c2","#207a00","#5d4d00","#ab5500","#df504d","#ab63da","#6da0ff","#3da848","#6d5c00","#d3610c","#ff6847","#d394f9","#93b8f9","#7fc57b","#946f00","#de7633","#ff9b7c","#dea9fd","#cedbff","#a3da9b","#b5852a","#ef935c","#ffc0b1","#eecaff","#333333","#535353","#777777","#a0a0a0","#cfcfcf","#ffffff"],u=(0,r.computed)(()=>(0,o.Z)(s,d).map(([e,t])=>({id:e,color:t,label:(0,i.ZP)(e)}))),m=()=>u.get(),p=(0,r.computed)(()=>{let e={};return(0,o.Z)(s,d,c).forEach(([t,n,o])=>{t&&(e[t]={lightModeColor:n,darkModeColor:o})}),e});var f=n(345301),g=n(621001),v=n(788487),h=n(150064);(0,g.fm)({icons:{ShadingIcon:f.createElement("span",{className:(0,h.Z)(v.ln,v.NU)})}});var I=n(883254),S=n(320990),b=n(786210),w=n(75953),y=n(619776),P=n(652046),C=n(158130),E=n(257094),Z=n(577547),M=n(798571),T=n(420010);let F="",k={lightModeColor:"",darkModeColor:""},x=(e,t)=>{let n=C.G(e,"getDocument")?.defaultView||window,o=t.lastCellShadeColors.lightModeColor;F="",(0,S.Z)(o,n=>{(0,E.fO)(e,n),P.wY.importAndExecute(t,n)},n)},R=(0,w._)((e,t,n,o)=>{let r=t.lastCellShadeColors,a=t.lastCellShadeColors.lightModeColor;return(0,M.Vh)((0,y.V)(6047,e),(0,i.ZP)(I.sS),{sections:[{title:(0,i.ZP)(I.sS),controls:[{id:(0,y.V)(6047,e),type:"AppColorPickerProps",columnCount:6,selectedId:F,colorCells:m(),onExecute:n=>{if(n){var o;F=n.selectedColorId??"",D(e);let r=(o=n.selectedColorId,p.get()[o]);(0,E.fO)(e,r,!0),P.wY.importAndExecute(t,r)}},onFocus:t=>{A(e,()=>{var n;let o=(n=t.selectedColorId,p.get()[n]);(0,E.fO)(e,o)})}}]},{controls:[(0,M.lC)((0,y.V)(6078,e),(0,i.ZP)(b.mU),()=>{D(e),(0,E.fO)(e,k,!0),P.wY.importAndExecute(t,k)},n?(0,M.Fl)([n,6047],6032):void 0,void 0,void 0,void 0,{onFocus:()=>{A(e,()=>{(0,E.fO)(e,k)})}})]},{controls:[(0,M.lC)((0,y.V)(6074,e),(0,i.ZP)(b.tB),(0,T.W)(6074,x,e,t),n?(0,M.Fl)([n,6047],6031):void 0,Z.Z)]}]},()=>(0,E.fO)(e,r),n?(0,M.Fl)([n],6047,!0):void 0,"ShadingIcon",a||"transparent",o,{onAfterMenuDismiss:()=>{D(e)}})}),A=(e,t)=>{(0,C.G)(e,"isInShadowEdit")||(0,C.G)(e,"startShadowEdit"),t()},D=e=>{(0,C.G)(e,"stopShadowEdit")}},300492:(e,t,n)=>{n.d(t,{q:()=>m});var o=n(75953),r=n(798571),i=n(619776),a=n(302140),l=n(883254),s=n(201663),d=n(686157),c=n(474434),u=n(158130);let m=(0,o._)((e,t,n,o,m)=>{let p="tableAlignmentMenuDefinitionStore";return(0,r.c9)((0,i.V)(6087,e),(0,a.ZP)(l.zr),(0,s.O)(e,p),o?(0,r.Fl)([o],6087,!0):void 0,n,void 0,t,{disabled:m,onExecute:t=>{let{event:n}=t;n?.stopPropagation(),(0,c.ro)(e,o)},onAfterMenuDismiss:()=>{(0,d.SN)(e,p),(0,u.G)(e,"focus")}})})},214269:(e,t,n)=>{n.d(t,{B:()=>g});var o=n(75953),r=n(798571),i=n(204446),a=n(947302),l=n(619776),s=n(302140),d=n(883254),c=n(257094);function u(e,t,n){if(n)return n[e]=!n[e],(0,c.RV)(t,n)}var m=n(213827),p=n(420010),f=n(951402);let g=(0,o._)((e,t,n,o,c)=>{let g=e=>(0,m.f)(c,6037,e);return(0,r.c9)((0,l.V)(6037,e),(0,s.ZP)(d.aD),(0,a.E)([(0,r.TR)((0,l.V)(6038,e),(0,s.ZP)(d.rG),(0,p.W)(6038,u,"hasHeaderRow",e,t.tableFormatState),g(6038),t.tableFormatState?.hasHeaderRow?i.Z:void 0,void 0,n,(0,s.ZP)(f._E)),(0,r.TR)((0,l.V)(6040,e),(0,s.ZP)(d.wn),(0,p.W)(6040,u,"hasFirstColumn",e,t.tableFormatState),g(6040),t.tableFormatState?.hasFirstColumn?i.Z:void 0,void 0,n,(0,s.ZP)(f.Fu)),(0,r.TR)((0,l.V)(6041,e),(0,s.ZP)(d.Qs),(0,p.W)(6041,u,"hasBandedColumns",e,t.tableFormatState),g(6041),t.tableFormatState?.hasBandedColumns?i.Z:void 0,void 0,n,(0,s.ZP)(f.di)),(0,r.TR)((0,l.V)(6039,e),(0,s.ZP)(d.sy),(0,p.W)(6039,u,"hasBandedRows",e,t.tableFormatState),g(6039),t.tableFormatState?.hasBandedRows?i.Z:void 0,void 0,n,(0,s.ZP)(f.Rj))]),c?(0,r.Fl)([c],6037):void 0,o,void 0,n)})},634738:(e,t,n)=>{n.d(t,{x:()=>m});var o=n(75953),r=n(619776),i=n(302140),a=n(257094),l=n(883254),s=n(213827),d=n(420010),c=n(798571);let u=(e,t,n)=>{void 0!==t&&((0,a.Py)(e,t),n?.())},m=(0,o._)((e,t,n,o,a,m,p,f)=>{let g,v="",h=!1;switch(t){case 6058:v=l.s3,g=0;break;case 6059:v=l.X0,g=1;break;case 6060:v=l.MM,g=2;break;case 6061:v=l.pc,g=3;break;case 6045:v=l.Fn,g=4;break;case 6043:v=l.qg,g=5;break;case 6044:v=l.FF,g=6;break;case 6050:v=l.Gl,g=7;break;case 6051:v=l.yZ,g=8;break;case 6052:v=l.id,g=9;break;case 6053:v=l.nt,g=10;break;case 6055:v=l.ys,g=12;break;case 6056:v=l.Fh,g=13;break;case 6049:v=l.Df,g=11,h=!n?.canMergeTableCell}return(0,c.lC)((0,r.V)(t,e),(0,i.ZP)(v),(0,d.W)(t,u,e,g,m),(0,s.f)(p,f,t),a,void 0,o,{disabled:h})})},851199:(e,t,n)=>{n.d(t,{t:()=>c});var o=n(75953),r=n(798571),i=n(619776),a=n(302140),l=n(883254),s=n(947302),d=n(634738);let c=(0,o._)((e,t,n,o,c,u,m)=>{let p=[],f="",g=!1;switch(t){case 6042:f=l.Zn,p=[6045,6044,6043];break;case 6057:f=l.ze,p=[6058,6059,6060,6061];break;case 6049:f=l.Df,p=[6050,6051,6052,6053],g=!!n?.canMergeTableCell;break;case 6054:f=l.cE,p=[6055,6056],g=!!n?.canMergeTableCell}return(0,r.c9)((0,i.V)(t,e),(0,a.ZP)(f),(0,s.E)([...p.map(n=>(0,d.x)(e,n,void 0,o,void 0,c,m,t))]),m?(0,r.Fl)([m],t):void 0,u,void 0,o,{disabled:g})})},835582:(e,t,n)=>{n.d(t,{U:()=>p});var o=n(75953),r=n(798571),i=n(619776),a=n(637038),l=n(302140),s=n(786210),d=n(420010),c=n(629721),u=n(799853),m=n(461373);let p=(0,o._)((e,t,n,o,p,f,g,v)=>(0,r.is)((0,i.V)(6003,e),(0,l.ZP)(s.n5),(0,d.W)(6003,c.N,e,t,"toggleUnderline",n,v),!!o.isUnderline,f?(0,r.Fl)([f],6003):void 0,a.Z,void 0,p,{disabled:g,customTooltip:(0,u.P)(s.n5,void 0,(0,m.T)(6003))}))},133564:(e,t,n)=>{n.d(t,{Z:()=>l});var o=n(345301),r=n(621001),i=n(788487),a=n(150064);let l="BackColorPickerIcon";(0,r.fm)({icons:{BackColorPickerIcon:o.createElement("span",{className:(0,a.Z)(i.SV,i.NU)})}})},17866:(e,t,n)=>{n.d(t,{Z:()=>l});var o=n(345301),r=n(621001),i=n(788487),a=n(150064);let l="TextColorPickerIcon";(0,r.fm)({icons:{TextColorPickerIcon:o.createElement("span",{className:(0,a.Z)(i.B3,i.NU)})}})},629721:(e,t,n)=>{n.d(t,{N:()=>i});var o=n(652046),r=n(257094);let i=(e,t,n,i,a)=>{(0,r.kQ)(e,n,a).then(()=>{!function(e,t){if(e&&t){let n=t(e);if(n){let{editorViewState:e,ribbonViewState:t}=n;e&&t&&o.qP.importAndExecute(e,t)}}}(t,i)})}},619776:(e,t,n)=>{n.d(t,{V:()=>o});let o=(e,t)=>t?`${e}_${t}`:e},799853:(e,t,n)=>{n.d(t,{P:()=>i});var o=n(302140);let r={hoverTooltipWithHotkey:"JAufse",hoverTooltipWithDescription:"xeMkrc"};function i(e,t,n){let i=(0,o.ZP)(e);return n&&(i=(0,o.ZP)(r.hoverTooltipWithHotkey,i,n)),t&&(i=(0,o.ZP)(r.hoverTooltipWithDescription,i,(0,o.ZP)(t))),i}},461373:(e,t,n)=>{let o;n.d(t,{V:()=>l,T:()=>s});var r=n(302140);function i(e,t){return{category:"composeEmail",description:e,hotmail:t,yahoo:t,gmail:t,owa:t,outlook:t}}var a=n(598121);let l=()=>{if(void 0===o){let e={undoAction:i((0,r.ZP)("UcYDLd"),"ctrl+z"),redoAction:i((0,r.ZP)("Tax76b"),"ctrl+y"),link:i((0,r.ZP)("OiwQrc"),"ctrl+k"),paste:i((0,r.ZP)("WmGIbe"),"ctrl+v"),cut:i((0,r.ZP)("XeRBIc"),"ctrl+x"),copy:i((0,r.ZP)("Io21Xc"),"ctrl+c"),bold:i((0,r.ZP)("i9EYAc"),"ctrl+b"),italic:i((0,r.ZP)("zZcFJd"),"ctrl+i"),underline:i((0,r.ZP)("ZsCBQb"),"ctrl+u"),bullets:i((0,r.ZP)("S1PFWc"),"ctrl+."),numbering:i((0,r.ZP)("Op6IJb"),"ctrl+/"),clearFormat:i((0,r.ZP)("dM7ME"),"ctrl+space"),headingOne:i((0,r.ZP)("NqDfOc"),"ctrl+alt+1"),headingTwo:i((0,r.ZP)("ri4D1d"),"ctrl+alt+2"),headingThree:i((0,r.ZP)("xKeej"),"ctrl+alt+3"),dictationToggle:i((0,r.ZP)("KUL_Yd"),"alt+`")};o=new Map().set(6014,e.undoAction).set(6015,e.redoAction).set(6011,e.paste).set(6009,e.cut).set(6010,e.copy).set(6001,e.bold).set(6002,e.italic).set(6003,e.underline).set(6005,e.bullets).set(6006,e.numbering).set(6030,e.clearFormat).set(624,e.link).set("heading 1",e.headingOne).set("heading 2",e.headingTwo).set("heading 3",e.headingThree).set(7029,e.dictationToggle)}return o};function s(e){let t=o?.get(e);return t?(0,a.g)(t):void 0}},114015:(e,t,n)=>{let o,r;n.d(t,{fM:()=>a,GM:()=>i,Sr:()=>A,e3:()=>F,Zx:()=>R,cs:()=>k,MA:()=>m,Nn:()=>p,Sx:()=>f,Hb:()=>x,R$:()=>D,KG:()=>T});var i=((o=i||{})[o.Color=0]="Color",o),a=((r=a||{})[r.From=0]="From",r[r.OnTheToOrCcLine=1]="OnTheToOrCcLine",r[r.OnTheToLine=2]="OnTheToLine",r[r.NotOnTheToLine=3]="NotOnTheToLine",r[r.OnTheCcLine=4]="OnTheCcLine",r[r.SubjectIncludes=5]="SubjectIncludes",r),l=n(214658),s=n(683207),d=n(99756),c=n(64906),u=n(206339);function m(e){let{type:t,value:n}=e[0];if(t===i.Color)return{backgroundColor:(0,u.cr)("tri-newCategories")?(0,c.BR)()?d.f[n].iconColor:s.T[n].iconColor:l.default.colorCodeColorValueMap[n].textColor}}function p(e){let{type:t,value:n}=e[0];if(t===i.Color)return{color:(0,u.cr)("tri-newCategories")?(0,c.BR)()?d.f[n].iconColor:s.T[n].iconColor:l.default.colorCodeColorValueMap[n].iconColor}}function f(e){let{type:t,value:n}=e[0];if(t===i.Color)return{color:(0,u.cr)("tri-newCategories")?(0,c.BR)()?d.f[n].iconColor:s.T[n].iconColor:l.default.colorCodeColorValueMap[n].textColor}}var g=n(787012),v=n(795839),h=n(827570),I=n(308105);let S="mail_conditionalformatting";var b=n(636283);let w={entries:new g.ObservableMap},y=(0,v.MT)("sharedConditionalFormattingStore",w)();function P(e){let t=(0,h.M4)(e),n=y.entries.get(t);return n||(n={conditionalFormattingRules:function(e){let t=S+e;try{return(0,I.jj)(window,t)?JSON.parse((0,I.rV)(window,t)).filter(e=>e):[]}catch(e){return b.g4.warn(e.message+(0,I.rV)(window,t)),[]}}(t),rowToModificationsMap:new g.ObservableMap},y.entries.set(t,n),y.entries.get(t)||n)}var C=n(676301),E=n(478248),Z=n(67199);let M=(0,v.lr)("clearRowToModificationMap",function(e){P(e).rowToModificationsMap.clear()}),T=(0,v.aD)("setConditionalFormattingRules",(e,t,n)=>({mailboxInfo:e,conditionalFormattingRules:t,isFetch:n}));async function F(e){let t=await (0,C.Ff)(e,C.cA.V1,C.ll.Account,[S]);t[0]?.value?T(e,JSON.parse(t[0]?.value),!0):T(e,[])}function k(e){return P(e).conditionalFormattingRules}function x(e,t){for(let n of[...P(t).rowToModificationsMap.keys()])if(n.indexOf(e)>=0)return n;return null}function R(e,t){return P(t).rowToModificationsMap.get(e)??[]}(0,v._F)(T,e=>{let{mailboxInfo:t,conditionalFormattingRules:n,isFetch:o}=e;if(n){n.some(e=>!e)&&(0,Z.y8)("TnS_ConditionalFormatting_Error",{message:o?"Null values while fetching conditional formatting rules":"Null values while saving conditional formatting rules"});let e=n.filter(e=>e);P(t).conditionalFormattingRules=e,function(e,t){let n={name:S,value:t,type:C.uw.Json,scope:E.p(e).SessionSettings?.UserEmailAddress||"",itemClass:"RoamingSetting"};(0,C.Mr)(e,C.cA.V1,C.ll.Account,[n]).catch(e=>{(0,Z.y8)("TnS_ConditionalFormatting_ErrorSave",{message:e.message})})}(t,JSON.stringify(e)),(0,I.LS)(window,S+(0,h.M4)(t),JSON.stringify(e))}M(t)});let A=(0,v.lr)("addEntryToRowToModificationMap",function(e,t,n){P(n).rowToModificationsMap.set(e,t)}),D=(0,v.lr)("removeEntryFromRowToModificationMap",function(e,t){P(t).rowToModificationsMap.delete(e)})},93097:(e,t,n)=>{let o;n.d(t,{w:()=>r});var r=((o=r||{})[o.ok=0]="ok",o[o.cancel=1]="cancel",o[o.dismiss=2]="dismiss",o[o.continue=3]="continue",o)},66190:(e,t,n)=>{n.d(t,{Zg:()=>l,iG:()=>s,wn:()=>r.w});var o=n(402392),r=n(93097);let i=new o.nI(()=>n.e(730217).then(n.bind(n,730217))),a=new o.EF(i,e=>e.confirmAction),l=new o._5(i,e=>e.showConfirmWithChoiceGroupDialog);function s(e,t,n,o){return a.import().then(r=>r(e,t,n,o))}},744929:(e,t,n)=>{n.d(t,{C4:()=>r,Hg:()=>d,ot:()=>a});var o=n(874175);function r(e){return{attrColor:e.getAttribute(o.GF)||null,attrBgColor:e.getAttribute(o.W2)||null,styleColor:e.style.getPropertyValue("color"),styleBgColor:e.style.getPropertyValue("background-color")}}function i(e,t){return e.hasAttribute(t)?e.getAttribute(t)||null:void 0}function a(e,t){void 0===t.attrColor||e.hasAttribute(o.oL)||e.setAttribute(o.oL,t.attrColor||""),void 0===t.attrBgColor||e.hasAttribute(o.Y0)||e.setAttribute(o.Y0,t.attrBgColor||""),void 0===t.styleColor||e.hasAttribute(o.RI)||e.setAttribute(o.RI,t.styleColor||""),void 0===t.styleBgColor||e.hasAttribute(o._M)||e.setAttribute(o._M,t.styleBgColor||"")}function l(e,t){void 0!==t.attrColor&&(null===t.attrColor?e.removeAttribute(o.GF):e.setAttribute(o.GF,t.attrColor||"")),void 0!==t.attrBgColor&&(null===t.attrBgColor?e.removeAttribute(o.W2):e.setAttribute(o.W2,t.attrBgColor||"")),void 0!==t.styleColor&&e.style.setProperty("color",t.styleColor||"","important"),void 0!==t.styleBgColor&&e.style.setProperty("background-color",t.styleBgColor||"","important")}var s=n(64906);function d(e){let t=e.currentTarget,n=t.getElementsByTagName("*"),a=(0,s.BR)();a&&(t.style.backgroundColor="white",t.style.color="black");let d=[];for(let e=0;e<n.length;e++){let t=n[e],a={attrColor:i(t,o.oL),attrBgColor:i(t,o.Y0),styleColor:i(t,o.RI),styleBgColor:i(t,o._M)};d.push(r(t)),l(t,a)}window.requestAnimationFrame(()=>{a&&(t.style.backgroundColor="",t.style.color="");for(let e=0;e<n.length;e++)l(n[e],d[e])})}},347394:(e,t,n)=>{n.d(t,{Z:()=>o});let o={fontFileName:"controlIcons",icons:{Accept:"",AccessibiltyChecker:"ï µ",Accounts:"î¤",Add:"îœ",AddEvent:"",AddField:"",AddIn:"ïµ",AddTo:"",Airplane:"",AirplaneSolid:"îŒ",AlarmClock:"",AlertSolid:"",AllApps:"îœ",Archive:"",Attach:"",Back:"",BingLogo:"î«",BirthdayCake:"î¾",BlockContact:"",Blocked:"",Blocked12:"",BookingsLogo:"î·‡",BoxAdditionSolid:"ï‹”",BoxLogo:"îµµ",BoxSubtractSolid:"ï‹“",Broom:"",BulletedList:"",Bullseye:"",BullseyeTarget:"ï—°",Calendar:"",CalendarDay:"",CalendarReply:"",CalendarSettings:"",CalendarWeek:"",CalendarWorkWeek:"",Cancel:"",Car:"î „",CaretLeftSolid8:"î·™",CaretRightSolid8:"î·š",CellPhone:"",Chat:"î¤",CheckMark:"",ChevronDown:"îœ",ChevronDownMed:"",ChevronDownSmall:"",ChevronLeft:"î«",ChevronRight:"î¬",ChevronRightMed:"",ChevronRightSmall:"",ChevronUp:"",ChevronUpMed:"",ChevronUpSmall:"î¥",ChromeClose:"",ChromeMinimize:"",CircleAddition:"ï‹£",CircleAdditionSolid:"",CircleFill:"",CircleRing:"",CityNext:"î°†",Clear:"",ClearNight:"",ClearSelection:"",ClipboardList:"",Clock:"",ClosePane:"",Cloud:"î“",CloudAdd:"",CloudEdit:"",CloudUpload:"",CodeEdit:"ï•„",CollapseContent:"ï…¥",Color:"îž",Comment:"",CommentUrgent:"",Completed:"",CompletedSolid:"",Contact:"î»",ContactCard:"",ContactLock:"ï€",Copy:"",DateTime:"î²’",DateTime2:"",DeclineCall:"ï…",Delete:"î",DeliveryTruck:"",DeveloperTools:"",Diamond:"î´‚",Dislike:"î£ ",Documentation:"î°—",DocumentSearch:"",Door:"îµ",DoubleChevronDown:"",DoubleChevronUp:"",Down:"î‹",Download:"",Drop:"î‚",DropboxLogo:"îµ·",EaseOfAccess:"î¶",EatDrink:"î ‡",Edit:"îœ",EditNote:"î¶",EditSolid12:"ï’µ",EgnyteLogo:"ï³",EMI:"",Emoji:"",Emoji2:"î®",EmojiTabSymbols:"",Encryption:"ïš",EndPointSolid:"î‹",Error:"",ErrorBadge:"",Event:"î²£",EventAccepted:"ï¢",EventDeclined:"ï¥",EventTentative:"ï£",EventToDoLogo:"ï¡©",ExploreContent:"î³",FabricFolder:"ï‚©",FabricMovetoFolder:"ï‚¥",FacebookLogo:"î²³",FangBody:"",FavoriteList:"",FavoriteStar:"",FavoriteStarFill:"",Fax:"",Feedback:"î´•",FileASPX:"ï‹©",FileImage:"",Filter:"",Flag:"îŸ",Forward:"",ForwardEvent:"",Frigid:"",FullScreen:"î€",GIF:"ï’©",GiftCard:"",GlobalNavButton:"",Globe:"î´",Globe2:"ï’š",GoogleDriveLogo:"",GotoToday:"",GripperDotsVertical:"ï²",Group:"",Heart:"î‘",HeartBroken:"",HeartFill:"î’",Help:"",Hide3:"",Highlight:"",History:"î œ",Home:"î ",Hotel:"î ¤",Important:"",Inbox:"ïœ",InboxCheck:"",Info:"",InsertSignatureLine:"ï™·",InsertTextBox:"î±½",Insights:"",Label:"",Lightbulb:"",LightningBolt:"",Like:"",LikeSolid:"",Link:"",Link12:"",LinkedInLogo:"",List:"",Location:"î ",LocationDot:"î §",Lock:"",Mail:"",MailCheck:"î¶",MailForward:"",MailOptions:"ï ¬",MailPause:"",MailReminder:"ï˜",MailSolid:"ïƒ",MapDirections:"î –",MapPin:"",MarkAsProtected:"ïš®",Megaphone:"",MicrosoftTranslatorLogo:"ïž‚",MiniExpand:"",MiniExpandMirrored:"î©š",More:"",MoreSports:"",MoreVertical:"",MSNVideos:"",NavigateExternalInline:"ïŸ",NewMail:"",NotePinned:"",NumberField:"î·„",NumberSymbol:"",OfficeAddinsLogo:"",OfficeChat:"ïœ",OneDriveLogo:"î¥",OneNoteLogo:"",OpenFile:"",OpenInNewTab:"ïš«",OpenInNewWindow:"",OpenPane:"î¢ ",OutlookLogo:"",OutlookLogoInverse:"î",OutlookSpacesBucket:"î’",OutOfOffice:"î´´",Package:"",Page:"",PageEdit:"",PageLink:"",PageRemove:"",PartlyCloudyDay:"",PaymentCard:"",PDF:"îª",PencilReply:"î½»",People:"",PeopleAdd:"",PeopleAlert:"",Phone:"",Photo2:"",PhotoBlock:"",PieSingle:"",Pin:"",Pinned:"î¡€",PlainText:"ï ´",Play:"î¨",POI:"",Print:"î‰",QRCode:"î´”",Read:"",ReceiptReply:"",Recent:"î £",Refresh:"",Remove:"",RemoveContent:"",RemoveEvent:"",RemoveLink:"î¶",ReopenPages:"îµ",Reply:"",ReplyAll:"",ResponsesMenu:"ï¨",RevToggleKey:"î¡…",Ribbon:"",Ringer:"îª",RingerOff:"ï‹…",Save:"îŽ",ScheduleEventAction:"",ScrollUpDown:"î²",Search:"",SearchCalendar:"ï’¯",Send:"",Settings:"",Share:"îœ",SharedNotes:"ï’",ShowTimeAs:"",SkypeForBusinessLogo:"",SkypeForBusinessLogo16:"ï",SkypeLogo:"î¯",SkypeLogo16:"ïŽ",SquareShapeSolid:"",Stack:"",StatusCircleCheckmark:"",StatusCircleErrorX:"",Stopwatch:"",Sunny:"",SyncOccurence:"ï’£",System:"î°",Tab:"",TabCenter:"ï„€",Table:"",Tag:"",Taskboard:"",TeamsLogo:"",Telemarketer:"îž¹",TextDocumentShared:"",Ticket:"î”",ToDoLogoOutline:"ï›",TVMonitor:"",Undo:"",Unlock:"îž…",Up:"îŠ",Upload:"",Video:"",VideoAdd:"î°",View:"î¢",ViewAll:"",VoicemailForward:"",VoicemailIRM:"ï¡",VoicemailReply:"",Volume2:"",Waffle:"",Warning:"",WebPublish:"",Website:"î",WindowEdit:"",WipePhone:"î¶",World:"",WorldClock:"",YammerLogo:"î´™",ZoomIn:"",ZoomOut:""}}},475137:(e,t,n)=>{n.d(t,{Z:()=>i,u:()=>r});var o=n(345301);let r="wide-content-host",i=o.forwardRef(function({children:e},t){return o.createElement("div",{className:r,ref:t},e)})},194970:(e,t,n)=>{n.d(t,{vD:()=>c,rV:()=>u,hY:()=>l,tl:()=>s,Qe:()=>d});var o=n(795839);let r={copilotSeen:new Map,cachedCoachState:new Map},i=(0,o.MT)("DraftCopilotStore",r)(),a=()=>i,l=(0,o.lr)("resetDraftCopilotStore",(e,t)=>{let n=a();n.copilotSeen.has(t)&&n.copilotSeen.delete(t),n.cachedCoachState.has(e)&&n.cachedCoachState.delete(e)}),s=(0,o.lr)("setCachedCoachResponse",(e,t)=>{let n=a();t?n.cachedCoachState.set(e,t):n.cachedCoachState.delete(e)}),d=(0,o.lr)("setIsCopilotSeen",(e,t)=>{if(a().copilotSeen.has(e)){let n=a().copilotSeen.get(e);n&&a().copilotSeen.set(e,[...n,t])}else a().copilotSeen.set(e,[t])});function c(e){return a().cachedCoachState.get(e)}function u(e,t){let n=a().copilotSeen.get(e);return n&&n.indexOf(t)>-1}},865501:(e,t,n)=>{n.d(t,{y_:()=>r.y_,yq:()=>r.yq,ih:()=>r.ih,mx:()=>r.mx,Qx:()=>r.Qx,US:()=>p.US,pS:()=>g,tI:()=>s,Hb:()=>p.Hb,lc:()=>m});var o=n(402392),r=n(877794),i=n(67199),a=n(459672),l=n(194970);function s(e,t,n){let o=n.entryPoint+e;(0,l.rV)(t,o)||("Elaborate"===e?(0,i.qu)("DraftCopilot_Seen",n):"Coach"===e?(0,i.qu)("CoachCopilot_Seen",n):(0,a.v)(e),(0,l.Qe)(t,o))}var d=n(206339),c=n(902178),u=n(52924);function m(e,t){return e&&!(0,d.cr)("mon-copilot-irm-support")||"ArchiveMailbox"===t.type||"SharedMailbox"===t.type||"GroupMailbox"===t.type||(0,c.h)(t)||!!u.Z()?.SessionSettings?.IsExplicitLogon}var p=n(596147);let f=new o.nI(()=>Promise.all([n.e(602654),n.e(306576),n.e(496067)]).then(n.bind(n,496067))),g=new o._5(f,e=>e.insertDraftCopilotEntity)},596147:(e,t,n)=>{n.d(t,{Do:()=>i,Hb:()=>r,US:()=>a});let o=new Map;function r(e,t){o.set(e,t)}function i(e){return o.get(e)}function a(e){o.delete(e)}},877794:(e,t,n)=>{n.d(t,{Qx:()=>l,ih:()=>i,mx:()=>o,y_:()=>a,yq:()=>r});let o="https://aka.ms/outlookcopilottransparency",r=["CopilotCoach","DraftCopilot","MailRibbonDraftCopilotPreinsert","CIQDraftCopilotPreinsert","CIQGhostTextDraftCopilotPreinsert","MailComposeBottomDraftCopilotPreinsert","AddisonDraftCopilotPreinsert","CalendarRibbonDraftCopilotPreinsert","CoachCTADraftCopilotPreinsert","DraftCopilotHighlightRewrite"],i="data-copilot-container",a="data-copilot-addin-titleid",l="RemoveDraftCopilotEntity"},918287:(e,t,n)=>{n.d(t,{p:()=>i});var o=n(345301);let r={verticalAlign:"middle",paddingBottom:"4px"},i=e=>o.createElement("svg",{...e,width:"20",height:"20",viewBox:"0 0 20 20",style:r,fill:"none",xmlns:"http://www.w3.org/2000/svg"},o.createElement("path",{d:"M14.1437 3.34932C13.9101 2.54966 13.177 2 12.3439 2L11.7427 2C10.8467 2 10.0758 2.634 9.90296 3.51321L8.85352 8.85006L9.15094 7.89102C9.39431 7.1063 10.1202 6.57143 10.9418 6.57143L14.2351 6.57143L15.6352 7.74347L16.8818 6.57143H16.4905C15.6574 6.57143 14.9242 6.02177 14.6907 5.22211L14.1437 3.34932Z",fill:"url(#paint0_radial_56201_15523)"}),o.createElement("path",{d:"M6.0492 16.643C6.28017 17.4465 7.01519 18 7.85121 18H9.07497C10.0844 18 10.9126 17.2009 10.9488 16.1921L11.1295 11.1429L10.842 12.0954C10.6031 12.887 9.87385 13.4286 9.04701 13.4286L5.73383 13.4286L4.34959 12.5434L3.32812 13.4286H3.71324C4.54926 13.4286 5.28427 13.9821 5.51524 14.7855L6.0492 16.643Z",fill:"url(#paint1_radial_56201_15523)"}),o.createElement("path",{d:"M12.2503 2H5.68785C3.81286 2 2.68787 4.39748 1.93788 6.79497C1.04933 9.63537 -0.113354 13.4342 3.25037 13.4342H6.11145C6.9435 13.4342 7.67548 12.8878 7.91125 12.0899C8.40466 10.4199 9.26493 7.52162 9.94109 5.31373C10.2857 4.18837 10.5728 3.22188 11.0134 2.62001C11.2604 2.28258 11.6721 2 12.2503 2Z",fill:"url(#paint2_linear_56201_15523)"}),o.createElement("path",{d:"M12.2503 2H5.68785C3.81286 2 2.68787 4.39748 1.93788 6.79497C1.04933 9.63537 -0.113354 13.4342 3.25037 13.4342H6.11145C6.9435 13.4342 7.67548 12.8878 7.91125 12.0899C8.40466 10.4199 9.26493 7.52162 9.94109 5.31373C10.2857 4.18837 10.5728 3.22188 11.0134 2.62001C11.2604 2.28258 11.6721 2 12.2503 2Z",fill:"url(#paint3_linear_56201_15523)"}),o.createElement("path",{d:"M7.74902 18H14.3115C16.1865 18 17.3114 15.6033 18.0614 13.2067C18.95 10.3672 20.1127 6.5697 16.7489 6.5697H13.8877C13.0557 6.5697 12.3238 7.11596 12.088 7.91383C11.5946 9.58325 10.7343 12.4804 10.0582 14.6874C9.71358 15.8124 9.42651 16.7786 8.98593 17.3802C8.73893 17.7175 8.32725 18 7.74902 18Z",fill:"url(#paint4_radial_56201_15523)"}),o.createElement("path",{d:"M7.74902 18H14.3115C16.1865 18 17.3114 15.6033 18.0614 13.2067C18.95 10.3672 20.1127 6.5697 16.7489 6.5697H13.8877C13.0557 6.5697 12.3238 7.11596 12.088 7.91383C11.5946 9.58325 10.7343 12.4804 10.0582 14.6874C9.71358 15.8124 9.42651 16.7786 8.98593 17.3802C8.73893 17.7175 8.32725 18 7.74902 18Z",fill:"url(#paint5_linear_56201_15523)"}),o.createElement("defs",null,o.createElement("radialGradient",{id:"paint0_radial_56201_15523",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(15.7128 8.89484) rotate(-129.141) scale(7.20751 6.76953)"},o.createElement("stop",{offset:"0.0955758","stop-color":"#00AEFF"}),o.createElement("stop",{offset:"0.773185","stop-color":"#2253CE"}),o.createElement("stop",{offset:"1","stop-color":"#0736C4"})),o.createElement("radialGradient",{id:"paint1_radial_56201_15523",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(4.74347 13.4008) rotate(51.7328) scale(6.58647 6.39483)"},o.createElement("stop",{"stop-color":"#FFB657"}),o.createElement("stop",{offset:"0.633728","stop-color":"#FF5F3D"}),o.createElement("stop",{offset:"0.923392","stop-color":"#C02B3C"})),o.createElement("linearGradient",{id:"paint2_linear_56201_15523",x1:"5.29507",y1:"3.38547",x2:"6.17192",y2:"13.8705",gradientUnits:"userSpaceOnUse"},o.createElement("stop",{offset:"0.156162","stop-color":"#0D91E1"}),o.createElement("stop",{offset:"0.487484","stop-color":"#52B471"}),o.createElement("stop",{offset:"0.652394","stop-color":"#98BD42"}),o.createElement("stop",{offset:"0.937361","stop-color":"#FFC800"})),o.createElement("linearGradient",{id:"paint3_linear_56201_15523",x1:"6.11337",y1:"2",x2:"6.59201",y2:"13.4355",gradientUnits:"userSpaceOnUse"},o.createElement("stop",{"stop-color":"#3DCBFF"}),o.createElement("stop",{offset:"0.246674","stop-color":"#0588F7","stop-opacity":"0"})),o.createElement("radialGradient",{id:"paint4_radial_56201_15523",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(17.0861 5.45059) rotate(109.881) scale(15.2451 18.7446)"},o.createElement("stop",{offset:"0.0661714","stop-color":"#8C48FF"}),o.createElement("stop",{offset:"0.5","stop-color":"#F2598A"}),o.createElement("stop",{offset:"0.895833","stop-color":"#FFB152"})),o.createElement("linearGradient",{id:"paint5_linear_56201_15523",x1:"17.6045",y1:"5.87186",x2:"17.5982",y2:"8.98507",gradientUnits:"userSpaceOnUse"},o.createElement("stop",{offset:"0.0581535","stop-color":"#F8ADFA"}),o.createElement("stop",{offset:"0.708063","stop-color":"#A86EDD","stop-opacity":"0"}))))},691608:(e,t,n)=>{n.d(t,{Z:()=>l});var o=n(345301),r=n(621001),i=n(918287),a=n(293005);let l="CopilotIconFilled",s=(0,a.yP)({IconComponent:i.p,displayName:"CopilotIconFilled"});(0,r.fm)({icons:{CopilotIconFilled:o.createElement(s,null)}})},760981:(e,t,n)=>{n.d(t,{An:()=>i,G6:()=>r,Ke:()=>a,XX:()=>o,_L:()=>s,sS:()=>l});let o={titleId:"P_280ba0c3-7951-e7a8-68d3-8d65f9ca8149",manifestId:"c92c289e-ceb4-4755-819d-0d1dffdab6fa"},r={titleId:"P_dc624f06-00fa-9bcc-c473-0208602df2d1",manifestId:"c3b456a3-a41a-4ed4-8040-354f73574021"},i={titleId:"U_bebc48f9-c491-0f56-3c9d-5b5ab6c56a6c",manifestId:"38191e50-9910-4ea1-a645-7955e4114e77"},a={manifestId:"21966839-ab77-4ee6-8f52-16e6a1102923",titleId:"U_19891fea-b47b-a39f-b239-09e0d9415ae0"},l="Outlook",s="Outlook"},730045:(e,t,n)=>{n.d(t,{M:()=>r.M,oj:()=>i.oj,_L:()=>a._L,sS:()=>a.sS,Jc:()=>r.ZP,$7:()=>r.$7,O$:()=>l,fA:()=>d,ty:()=>c,sP:()=>u});var o=n(402392),r=n(69489),i=n(926286),a=n(760981);function l(e){return e===a.XX.titleId}let s=new o.nI(()=>n.e(784823).then(n.bind(n,784823)),{name:"CopilotSettings"}),d=new o._5(s,e=>e.fetchCopilotSettings),c=new o._5(s,e=>e.setElaborateSettingsToOcs),u=new o._5(s,e=>e.setLocalStorageAddinInfoToStore)},175160:(e,t,n)=>{n.d(t,{Z:()=>r});var o=n(206339);function r(){return{tone:(0,o.cr)("mon-copilot-elaborate-tonePersonalization")&&(0,o.cr)("mon-copilot-elaborate-tonePersonalizeEnhancement")?"Personalized":"Direct",verbosity:"Short"}}},926286:(e,t,n)=>{let o,r,i;n.d(t,{$4:()=>a,V7:()=>d,kR:()=>s,oj:()=>l});var a=((o=a||{})[o.SuggestedDrafts=0]="SuggestedDrafts",o[o.Elaborate=1]="Elaborate",o[o.Coach=2]="Coach",o[o.ThreadSummarization=3]="ThreadSummarization",o[o.InboxCatchup=4]="InboxCatchup",o[o.Chat=5]="Chat",o[o.ThemeVisualization=6]="ThemeVisualization",o[o.ReadingVisualization=7]="ReadingVisualization",o[o.MeetingPrepSummary=8]="MeetingPrepSummary",o[o.FindMeetingTimesWithPeopleSearch=9]="FindMeetingTimesWithPeopleSearch",o[o.PlaceSuggestions=10]="PlaceSuggestions",o[o.ReplyByMeeting=11]="ReplyByMeeting",o[o.ExplainPlacesReport=12]="ExplainPlacesReport",o[o.Rewrite=13]="Rewrite",o[o.CoachApply=16]="CoachApply",o),l=((r=l||{})[r.M365Copilot=0]="M365Copilot",r[r.SalesCopilot=1]="SalesCopilot",r[r.TeamsCopilot=2]="TeamsCopilot",r),s=((i=s||{})[i.TonePersonalization=0]="TonePersonalization",i);let d=["New","Reply"]},69489:(e,t,n)=>{let o;n.d(t,{M:()=>g,ZP:()=>v,$7:()=>h,Qw:()=>I});var r=n(795839),i=n(827570),a=n(926286),l=n(175160),s=n(53845),d=n(302140),c=n(206339);async function u(){let e={dataCollectionAction:m,name:"OutlookCopilotSettingsStore",description:(0,d.ZP)("B07BHb")};await s.Y.importAndExecute(e)}function m(){return Promise.resolve(JSON.stringify({storeData:I(),threadSummarizationEnablementData:{itemViewEnabled:(0,c.cr)("rp-thread-summarization-item-view")}}))}let p=new Map,f=new Map;var g=((o=g||{})[o.NOT_STARTED=0]="NOT_STARTED",o[o.IN_PROGRESS=1]="IN_PROGRESS",o[o.SUCCEEDED=2]="SUCCEEDED",o[o.FAILED=3]="FAILED",o);function v(e){let t=(0,i.M4)(e)+"_copilotSettingsStore",n=p.get(t);if(!n){let e=(0,r.MT)(t,{isEnabled:!1,licenses:[],featureInfo:new Map,addinsInfo:new Map,lastUsedScenarioToAddinMap:{},fetchState:0,isBetaUser:!1})();p.set(t,e),n=e}return n}function h(e){let t=(0,i.M4)(e)+"_elaborateSettingsCache",n=f.get(t);if(!n){let e={elaborateFilterOptions:function(){let e=new Map;return a.V7.map(t=>{e.set(t,(0,l.Z)())}),e}(),tonePersonalizationSeen:!1};f.set(t,e),n=e}return n}function I(){let e=[];for(let t of p.entries()){let[n,o]=t;e.push(JSON.stringify({storeIndexer:n,store:o}))}return e}u()},59114:(e,t,n)=>{n.d(t,{iX:()=>f,Cz:()=>g,Ze:()=>h,kS:()=>S,TV:()=>p,c0:()=>c,On:()=>u,fN:()=>I});var o=n(548879);function r(e,t){return t.some(t=>(function(e,t){let n=e.split("-"),o=t.split("-");for(let e=0;e<n.length&&e<o.length;e++)if(n[e]!==o[e])return!1;return!0})(e.toLowerCase(),t.toLowerCase()))}var i=n(730045),a=n(67199),l=n(302140);function s(e,t){return(n,o,r)=>{let s=(0,l.Wx)(),d=(0,i.Jc)(o);switch(d.fetchState){case i.M.NOT_STARTED:i.fA.importAndExecute(o);case i.M.IN_PROGRESS:(0,a.y8)(e+"_CheckedBeforeStorePopulated",{scenario_1:n,state_2:d.fetchState});return;case i.M.SUCCEEDED:case i.M.FAILED:return t(d,s,n,o,r)}}}var d=n(206339);let c=s("CopilotEnabled",function(e,t,n,i,a){if(e.isEnabled){let l=e.featureInfo.get(n);if(l?.isEnabled)return function(e,t){let n=(0,o.Ry)("Copilot",t);switch(e){case"Elaborate":return n.elaborateEnabled;case"Summarize":return n.summarizeEnabled;case"Coach":case"CoachApply":return n.coachEnabled;case"SuggestedDrafts":return n.suggestedDraftsEnabled;case"ExplainPlacesReport":return(0,d.cr)("msplaces-explain-report");case"Rewrite":return(0,d.cr)("mon-copilot-elaborate-rewrite");case"MeetingPrepSummary":return n.meetingPrepSummaryEnabled;case"ReplyByMeeting":return n.replyByMeetingEnabled;case"Chat":return!0}}(n,i)&&(a||r(t,l.langauges))}return!1}),u=s("TonePersonalization",function(e,t,n,o){if(e.isEnabled){let i=e.featureInfo.get(n);if(i?.isEnabled)return r(t,["en"])&&(0,d.cr)("mon-copilot-elaborate-tonePersonalization",o)&&!!i.capabilities?.tonePersonalization}return!1}),m=["Elaborate","Coach"];function p(e,t,n){let r=n??(0,o.Ry)("Copilot",e).enableMultiLanguage;return"Any"!=t?c(t,e,r):m.some(t=>void 0===c(t,e,r))?void 0:m.some(t=>c(t,e,r))}let f=s("BetaEndpoint",function(e,t,n,o){return!!(e.isEnabled&&e.isBetaUser&&((0,d.cr)("mon-copilot-beta-endpoint",o)||"CoachApply"==n&&(0,d.cr)("mon-copilot-coach-applySuggestions",o)))}),g=s("TonePersonalization",function(e,t,n,o){let i=v(e);if(e.isEnabled&&i){let o=e.addinsInfo.get(n);if(o&&o.length>0&&((0,d.cr)("mon-copilot-ext-all-language")||r(t,["en"])))return o}return[]});function v(e){return e.licenses.indexOf(i.oj.SalesCopilot)>=0||(0,d.cr)("mon-copilot-ext-debug-addins")}function h(e,t,n){let o=(0,i.Jc)(n);if(o&&o.isEnabled&&v(o)){let n=o.addinsInfo.get(e)?.find(e=>e.titleId==t);return n?{scenarioStrings:n.scenarioStrings.get(e),fallbackAddinName:n.fallbackAddinName,iconUri:n.menuIcon}:void 0}}function I(e,t,n){let o=(0,i.Jc)(n);o&&o.isEnabled&&o.lastUsedScenarioToAddinMap&&v(o)&&(o.lastUsedScenarioToAddinMap[e]=t,i.sP.importAndExecute(n,o.lastUsedScenarioToAddinMap))}let S=e=>{let t=(0,i.Jc)(e);return!!t.isEnabled&&t.licenses.some(e=>e===i.oj.M365Copilot||e===i.oj.TeamsCopilot)}},550916:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(345301),r=n(312576);let i=o.createContext(r.m)},91702:(e,t,n)=>{n.d(t,{$d:()=>m,By:()=>c,l6:()=>d,ob:()=>l,td:()=>u,uJ:()=>s});var o=n(795839),r=n(285733),i=n(312576),a=n(513260);let l=(0,o.lr)("zoomScaleReset",()=>{let e=(0,r.bh)();e.zoomIncrementIndex=i.i.indexOf(i.m),(0,a.w)(i.i[e.zoomIncrementIndex])}),s=(0,o.lr)("zoomInScaleUpdate",()=>{let e=(0,r.bh)();e.zoomIncrementIndex<i.i.length-1&&(e.zoomIncrementIndex+=1),(0,a.w)(i.i[e.zoomIncrementIndex])}),d=(0,o.lr)("zoomOutScaleUpdate",()=>{let e=(0,r.bh)();e.zoomIncrementIndex>0&&(e.zoomIncrementIndex-=1),(0,a.w)(i.i[e.zoomIncrementIndex])}),c=(0,o.lr)("zoomScaleUpdate",e=>{let t=(0,r.bh)();t.zoomIncrementIndex=e,(0,a.w)(i.i[t.zoomIncrementIndex])}),u=(0,o.lr)("showZoomControl",e=>{let t=(0,r.bh)().zoomViewStates.get(e);t&&(t.isCalloutVisible=!0)}),m=(0,o.lr)("hideZoomControl",e=>{let t=(0,r.bh)().zoomViewStates.get(e);t&&(t.isCalloutVisible=!1)})},285733:(e,t,n)=>{n.d(t,{Ds:()=>d,bh:()=>s});var o=n(795839),r=n(513260),i=n(312576);let a={zoomViewStates:new(n(787012)).ObservableMap({}),zoomIncrementIndex:i.i.indexOf((0,r.f)())},l=(0,o.MT)("zoomStore",a)(),s=()=>l,d=e=>(s().zoomViewStates.has(e)||s().zoomViewStates.set(e,{isCalloutVisible:!1}),s().zoomViewStates.get(e))},312576:(e,t,n)=>{n.d(t,{i:()=>r,m:()=>o});let o=1,r=[.5,.67,.75,.8,.9,1,1.1,1.25,1.5,1.75,2,2.25,2.5,2.75,3,3.25,3.5,3.75,4]},133810:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(285733),r=n(312576);function i(){return r.i[(0,o.bh)().zoomIncrementIndex]}},513260:(e,t,n)=>{n.d(t,{f:()=>l,w:()=>s});var o=n(308105),r=n(285733),i=n(312576);let a={EMBIGGEN_ZOOM_LEVEL_SETTING:"EMBIGGEN_ZOOM_LEVEL_SETTING"};function l(){return JSON.parse((0,o.rV)(window,a.EMBIGGEN_ZOOM_LEVEL_SETTING)||JSON.stringify(i.m))}function s(e){(0,o.LS)(window,a.EMBIGGEN_ZOOM_LEVEL_SETTING,JSON.stringify(e))}window.addEventListener("storage",e=>{if(e.key==a.EMBIGGEN_ZOOM_LEVEL_SETTING){let e=(0,r.bh)(),t=i.i.indexOf(l());-1==t&&(t=i.i.indexOf(i.m)),e.zoomIncrementIndex=t}})},404809:(e,t,n)=>{n.d(t,{Mf:()=>p,G2:()=>f,QP:()=>i,mw:()=>v,NU:()=>g,cl:()=>s,Hp:()=>u,no:()=>c});var o=n(402392),r=n(312576);let i=(0,n(75953)._)(function(e){if(e!==r.m)return{transform:`scale(${e})`,transformOrigin:"top left",height:`calc(100% / ${e})`,width:`calc(100% / ${e})`}});var a=n(67199),l=n(133810);function s(){(0,a.y8)("EmbiggenZoomSetting",{zoomScale:(0,l.Z)()})}var d=n(91702);function c(e){e.ctrlKey&&(e.preventDefault(),(0,d.td)("default"),e.deltaY<0?(0,d.uJ)():e.deltaY>0&&(0,d.l6)())}function u(e){if(e.ctrlKey){if(("+"==e.key||"="==e.key||"-"==e.key||"_"==e.key||"0"==e.key)&&((0,d.td)("default"),e.preventDefault()),"+"==e.key||"="==e.key){(0,d.uJ)();return}if("-"==e.key||"_"==e.key){(0,d.l6)();return}if("0"==e.key){(0,d.ob)();return}}}let m=new o.nI(()=>n.e(913195).then(n.bind(n,913195)),{name:"CustomZoom"}),p=(0,o.$y)(m,e=>e.ZoomButtons),f=(0,o.$y)(m,e=>e.ZoomButtonsCallout);new o._5(m,e=>e.overrideCustomZoomToDefaultScrollbar);let g=new o._5(m,e=>e.overrideCustomZoomToDefaultSideMargins),v=new o._5(m,e=>e.overrideCustomZoomToDefaultInfoBar);new o._5(m,e=>e.getZoomSubMenu)},881930:(e,t,n)=>{n.d(t,{Z:()=>s});var o=n(345301),r=n(803908),i=n(855523),a=n(71176),l=n(403131);let s=o.forwardRef(function(e,t){o.useEffect(()=>()=>{n.onUnmount()},[]);let n=(0,l.B)(()=>new r.S(e)),s=(0,l.B)(()=>new i.U(e));return o.useImperativeHandle(t,()=>({getDiv:()=>n.getDiv()}),[]),a.T?o.createElement("div",{draggable:!e.isDraggable||e.isDraggable(),className:e.classNames,ref:n.refCallback,onDragStart:n.onDragStart,onDragEnd:n.onDragEnd,onDrop:s.onDrop,onDragOver:s.onDragOver,onDragEnter:s.onDragEnter,onDragLeave:s.onDragLeave},e.children):o.createElement("div",{className:e.classNames,ref:n.refCallback,onDragEnd:n.onDragEnd,onDrop:s.onDrop,onDragOver:s.onDragOver,onDragEnter:s.onDragEnter,onDragLeave:s.onDragLeave},e.children)})},803908:(e,t,n)=>{n.d(t,{S:()=>u,Z:()=>m});var o=n(345301);let r=(0,n(795839).lr)("setDragState",function(e,t){e.isBeingDragged=t});var i=n(956186),a=n(71176),l=n(12021),s=n(910082),d=n(403131);function c(e){return void 0!==e.getDragData}class u{constructor(e){this.props=e,this.initialPageX=0,this.initialPageY=0,this.dragHelperElement=null,this.isPotentialDrag=!1,this.isDragging=!1,this.onDragStart=e=>{e.dataTransfer.clearData(),this.isDragAllowed()?(e.stopPropagation(),this.setDragStateAndData(e),e.dataTransfer.effectAllowed="copyMove",this.onDragStartInternal(e.dataTransfer),this.overrideDefaultDragPreviewImage(e.dataTransfer)):this.props.showDefaultNoDragImage&&(this.overrideDefaultNoDragImage(e.dataTransfer),e.dataTransfer.setData("text","nodrop"),e.dataTransfer.effectAllowed="none")},this.onDragEnd=async e=>{if(this.isDragging){this.isDragging=!1;let{onDragEnd:t}=this.props,n=e?.dataTransfer?e.dataTransfer.dropEffect:void 0;t&&t(c(this.props)?this.props.getDragData():await this.props.getAsyncDragData(),n)}this.resetDragStateAndData(),this.removeDragHelperElement()},this.onMouseDown=e=>{!a.T&&0==e.button&&this.isDragAllowed()&&(this.initialPageX=e.pageX,this.initialPageY=e.pageY,this.isPotentialDrag=!0,document.body.addEventListener("mousemove",this.onMouseMove),document.body.addEventListener("mouseup",this.onMouseUp)),this.props.onMouseDown&&this.props.onMouseDown(e)},this.refCallback=e=>{this.div?.removeEventListener("mousedown",this.onMouseDown),this.div=e,this.div?.addEventListener("mousedown",this.onMouseDown)},this.onMouseMove=async e=>{let t=e.pageX,n=e.pageY;(Math.abs(this.initialPageX-t)>=a.h||Math.abs(this.initialPageY-n)>=a.h)&&(this.removeMouseMoveAndUpEventListeners(),this.isPotentialDrag&&(this.isPotentialDrag=!1,this.isDragAllowed()&&(this.dragHelperElement=await this.getDragHelperElement(),document.body.appendChild(this.dragHelperElement))),this.dragHelperElement&&(this.dragHelperElement.addEventListener("dragstart",e=>{this.onDragStartHelperElement(e)}),this.dragHelperElement.addEventListener("dragend",e=>{this.onDragEnd(e)}),this.dragHelperElement.dragDrop(),setTimeout(this.onDragEnd,0)))},this.onMouseUp=()=>{this.removeMouseMoveAndUpEventListeners()},this.onDragStartHelperElement=e=>{e.stopPropagation(),e.dataTransfer.effectAllowed="copyMove",this.setDragStateAndData(e),this.onDragStartInternal(e.dataTransfer)},this.removeMouseMoveAndUpEventListeners=()=>{document.body.removeEventListener("mousemove",this.onMouseMove),document.body.removeEventListener("mouseup",this.onMouseUp)},this.removeDragHelperElement=()=>{this.dragHelperElement&&(document.body?.contains(this.dragHelperElement)&&document.body.removeChild(this.dragHelperElement),this.dragHelperElement=null)}}updateProps(e){this.props=e}onUnmount(){this.onDragEnd(null),a.T||this.removeMouseMoveAndUpEventListeners(),this.div?.removeEventListener("mousedown",this.onMouseDown)}getDiv(){return this.div}async onDragStartInternal(e){this.isDragging=!0;let{onDragStart:t}=this.props;t&&(c(this.props),t(e))}setDragStateAndData(e){let{dragViewState:t}=this.props;if(t&&r(t,!0),c(this.props)){let t=this.props.getDragData();try{e.dataTransfer.setData(t.itemType,JSON.stringify(t))}catch(n){e.dataTransfer.setData("text",JSON.stringify(t))}(0,i.qR)(t.itemType,t.itemData)}else{let t=this.props.getAsyncDragData();try{t.then(t=>{e.dataTransfer.setData(t.itemType,JSON.stringify(t))})}catch(n){t.then(t=>{e.dataTransfer.setData("text",JSON.stringify(t))})}t.then(e=>{(0,i.qR)(e.itemType,e.itemData)})}}resetDragStateAndData(){let{dragViewState:e}=this.props;e&&r(e,!1),(0,i.qR)(null,null)}async overrideDefaultDragPreviewImage(e){if(a.T){this.dragHelperElement=await this.getDragHelperElement(),document.body.appendChild(this.dragHelperElement);let t=this.props.xOffset?this.props.xOffset:0,n=this.props.yOffset?this.props.yOffset:0;e.setDragImage(this.dragHelperElement,t,n)}}overrideDefaultNoDragImage(e){a.T&&(this.dragHelperElement=document.createElement("div"),this.dragHelperElement.style.display="none",document.body.appendChild(this.dragHelperElement),e.setDragImage(this.dragHelperElement,0,0))}async getDragHelperElement(){let e;return(e=c(this.props)?this.props.getDragPreview(this.props.getDragData()):this.props.getDragPreview(await this.props.getAsyncDragData())).style.zIndex="-1000",(0,l.Fo)()?(e.style.width="fit-content",e.style.height="fit-content"):(e.style.top="0px",e.style.left="-1000px",e.style.position="fixed"),e}isDragAllowed(){return!this.props.canDrag||this.props.canDrag()}}let m=o.forwardRef(function(e,t){o.useEffect(()=>()=>{n.onUnmount()},[]);let n=(0,d.B)(()=>new u(e));return n.updateProps(e),o.useImperativeHandle(t,()=>({getDiv:()=>n.getDiv()}),[]),a.T?o.createElement("div",{id:e.id,draggable:!e.isDraggable||e.isDraggable(),...(0,s.WO)(e.ariaProps),className:e.classNames,ref:n.refCallback,onDragStart:n.onDragStart,onDragEnd:n.onDragEnd},e.children):o.createElement("div",{id:e.id,className:e.classNames,ref:n.refCallback,...(0,s.WO)(e.ariaProps)},e.children)})},855523:(e,t,n)=>{n.d(t,{U:()=>d,Z:()=>Droppable});var o=n(345301),r=n(808930);let i=(0,n(795839).lr)("setDropState",function(e,t,n){e.isDragOver=t,e.draggableItemType=n});var a=n(956186);let l="nothing",s="application/x-moz-file";class d{constructor(e){this.props=e,this.onDragEnter=e=>{e.preventDefault(),this.props.preventBubblingDragEvents&&e.stopPropagation();let t=this.getDragData(e);this.props.onDragEnter&&this.props.onDragEnter(t)},this.onDragLeave=e=>{if(this.props.preventBubblingDragEvents&&e.stopPropagation(),this.props.greedy&&!this.isReallyLeavingDroppable(e))return;let t=this.props.dropViewState.draggableItemType;t||(t=this.getDragType(e));let n={itemType:t,itemData:(0,a.MV)()};if("none"==this.getDesiredDropEffect(n,e))return;let o=t=>()=>{this.props.onDragLeave&&this.props.onDragLeave(t,e.currentTarget),i(this.props.dropViewState,!1,null),this.pendingDragLeaveHandler=null};this.props.shouldIgnoreTransientOnDragLeave?this.pendingDragLeaveHandler||(e.persist(),this.pendingDragLeaveHandler=setTimeout(o(n),50)):o(n)()},this.onDragOver=e=>{this.props.preventBubblingDragEvents&&e.stopPropagation();let t=this.props.dropViewState.draggableItemType;t||(t=this.getDragType(e));let n={itemType:t,itemData:(0,a.MV)()},o=this.getDesiredDropEffect(n,e);if("none"==o){this.props.bypassActOnDrop||this.setDropEffectInternal(e,"none");return}this.props.bypassActOnDrop||(e.preventDefault(),this.setDropEffectInternal(e,o)),this.props.shouldUseCopyAsDropEffect&&this.setDropEffectInternal(e,"copy"),this.props.onDragOver&&this.props.onDragOver(n,e.pageX,e.pageY,e.currentTarget),this.cancelPendingDragLeaveHandler(),this.props.dropViewState.isDragOver&&this.props.dropViewState.draggableItemType==t||i(this.props.dropViewState,!0,t)},this.onDrop=e=>{this.props.preventBubblingDragEvents&&e.stopPropagation();let t=this.getDragData(e);t?.itemType!=l&&e.preventDefault(),"none"!=this.getDesiredDropEffect(t,e)&&(this.props.onDrop(t,e.pageX,e.pageY,e.currentTarget,e.ctrlKey),this.props.onDragLeave&&this.props.onDragLeave(t,e.currentTarget),this.cancelPendingDragLeaveHandler(),(0,a.qR)(null,null),i(this.props.dropViewState,!1,null))},this.refCallback=e=>{this.div=e}}getDiv(){return this.div}cancelPendingDragLeaveHandler(){this.pendingDragLeaveHandler&&(clearTimeout(this.pendingDragLeaveHandler),this.pendingDragLeaveHandler=null)}isReallyLeavingDroppable(e){let t=document.elementFromPoint(e.pageX,e.pageY);return!this.isDescendantOrSelf(t,e.currentTarget)}isDescendantOrSelf(e,t){if(!e||!t)return!1;if(e==t)return!0;for(var n=e;n=n.parentElement;)if(n==t)return!0;return!1}getDesiredDropEffect(e,t){return e?this.props.canDrop?"boolean"==typeof this.props.canDrop(e,t)?this.props.canDrop(e,t)?"move":"none":this.props.canDrop(e,t):"move":"none"}getDragData(e){let t=null;if(e.dataTransfer.files&&e.dataTransfer.files.length>0&&(e.dataTransfer.types.includes(s)||1===e.dataTransfer.types.length)){var n;n=e.dataTransfer.files,t={itemType:r.X.LocalFile,files:n}}else{let n=e.dataTransfer.types,r=null,i=!1;for(var o=0;o<n.length;o++){let t=n[o];if("text"!=t){r=e.dataTransfer.getData(t),i=!0;break}}i||(r=e.dataTransfer.getData("text"));try{t=JSON.parse(r)}catch(e){t={itemType:l}}}return t}getDragType(e){let t=(0,a.GK)(),n=e.dataTransfer?e.dataTransfer:e.nativeEvent.dataTransfer;if(!t&&n&&n.types&&n.types.length>0&&(n.types.includes(s)||1===n.types.length)){let n=Array.prototype.slice.apply(e.dataTransfer.types),o=Object.values(r.X),i=n.filter(e=>o.indexOf(e)>=0);i.length>0&&(t=i[0])}return t}setDropEffectInternal(e,t){e.dataTransfer&&(e.dataTransfer.dropEffect=t)}}let Droppable=o.forwardRef(function(e,t){let n=o.useRef(new d(e));return o.useImperativeHandle(t,()=>({getDiv:()=>n.current.getDiv()}),[]),o.createElement("div",{ref:n.current.refCallback,className:e.classNames,style:e.style,onDrop:n.current.onDrop,onDragOver:n.current.onDragOver,onDragEnter:n.current.onDragEnter,onDragLeave:n.current.onDragLeave,id:e.id},e.children)})},704638:(e,t,n)=>{n.d(t,{Pk:()=>s.Z,Xi:()=>o.X,_l:()=>l.Z,bK:()=>a.Z,f_:()=>r.Z,im:()=>i.Z});var o=n(808930),r=n(949239),i=n(426474),a=n(855523),l=n(803908),s=n(881930)},808930:(e,t,n)=>{n.d(t,{X:()=>o});let o={FavoriteNode:"favoritenode",InboxRule:"inboxrule",MessageRule:"messagerule",LocalFile:"Files",MailFolderNode:"mailfoldernode",MailListItemPart:"maillistitempart",MailListRow:"maillistrow",MultiMailListConversationRows:"multimaillistconversationrows",MultiMailListMessageRows:"multimaillistmessagerows",ReadWriteRecipient:"recipient",RibbonCustomizerButton:"ribboncustomizerbutton",NoteFeedItem:"notefeeditem",Todo:"todo",Attachment:"attachment",CommandBarEditorButton:"commandbareditorbutton",CalendarNode:"calendarnode",CalendarGroupNode:"calendargroupnode",CalendarItem:"calendaritem",GroupFolderNode:"groupfoldernode",EventifyEventGroupItem:"eventifyeventgroupitem",SharePointFile:"sharepointfile"}},71176:(e,t,n)=>{n.d(t,{T:()=>r,h:()=>o});let o=5,r="undefined"!=typeof window&&window.hasOwnProperty("DataTransfer")&&DataTransfer.prototype.setDragImage},949239:(e,t,n)=>{n.d(t,{Z:()=>o});function o(){return{isBeingDragged:!1}}},426474:(e,t,n)=>{n.d(t,{Z:()=>o});function o(){return{isDragOver:!1,draggableItemType:null}}},956186:(e,t,n)=>{let o,r;function i(e,t){o=e,r=t}function a(){return o}function l(){return r}n.d(t,{GK:()=>a,MV:()=>l,qR:()=>i})},19538:(e,t,n)=>{n.d(t,{Xs:()=>f,R6:()=>l,bJ:()=>s,pS:()=>m.p,Vh:()=>u,h:()=>p.Z});var o=n(402392),r=n(345301),i=n(13885);let a=new o.nI(()=>n.e(716618).then(n.bind(n,716618)));(0,o.$y)(a,e=>e.DomainConnectFirstStepLightable);let l=(0,o.$y)(a,e=>e.DomainConnectFirstStep),s=(0,o.$y)(a,e=>e.DomainConnectSecondStep),d=new o._5(a,e=>e.mountAndShowDCSecondStep);function c(){d.importAndExecute()}function u(e){e("/domainconnect/setalias",c)}"undefined"!=typeof window&&void 0!==window.Owa&&(window.Owa.launchDomainConnectSetAlias=function(e,t){(0,i.K)(()=>r.createElement(s,{domainName:e,csrfToken:t,mountFromDomainDashBoard:!1,isSecondaryUser:!1}))});var m=n(267204),p=n(985827);let f=2},267204:(e,t,n)=>{n.d(t,{p:()=>a});var o=n(636283),r=n(747731),i=n(511943);function a(){return(0,r.xe)("ows/api/v1/PremiumDomain/",void 0,void 0,null,void 0,void 0,void 0,(0,i.zl)()).then(e=>e).catch(e=>(o.g4.warn(e),null))}},985827:(e,t,n)=>{n.d(t,{Z:()=>o});let o=(0,n(795839).MT)("domainConnectStore",{csrfToken:"",didCompleteDomainConnect:!1,step1Store:{openDomainConnect:!1,showNewDomainStep:!0,showBYODStep:!1,showBYODValidateButton:!1,showBYODForm:!0,showBYODSpinner:!1,showBYODFinalStep:!1,showBYODError:!1,showBYODInvalidDomainError:!1,showBYODDomainApiError:!1,godaddyByodUrl:"",dnsSetupValue:"",byodDomain:""},step2Store:{showWaitMsg:!0,showSubstep1:!1,showSubstep2:!1,alias:"",domainName:"",openDomainConnectStep2:!1,showValidatingSpinner:!1,showAddressAleardyInUseError:"none",showInvalidInputError:!1}})()},300930:(e,t,n)=>{n.d(t,{IY:()=>a,go:()=>l,p7:()=>i});var o=n(402392);let r=new o.nI(()=>n.e(430965).then(n.bind(n,430965))),i=(0,o.$y)(r,e=>e.AccCheckerPane),a=new o.EF(r,e=>e.openChecker),l=new o.EF(r,e=>e.closeChecker)},390636:(e,t,n)=>{n.d(t,{M:()=>i});var o=n(402392);let r=new o.nI(()=>n.e(933738).then(n.bind(n,933738))),i=new o._5(r,e=>e.showEditorAutoFormatOptions)},257094:(e,t,n)=>{n.d(t,{x3:()=>I,RH:()=>V,fO:()=>d,EK:()=>R,hW:()=>U,fj:()=>Z,j0:()=>_,MA:()=>M,Py:()=>l,MQ:()=>b,RV:()=>s,vm:()=>w,bj:()=>T,xH:()=>H,QT:()=>G,jB:()=>A,KG:()=>h,Jp:()=>a,qL:()=>W,Yv:()=>B,Z1:()=>v,tG:()=>F,GD:()=>P,Ud:()=>k,F2:()=>C,d5:()=>E,TT:()=>S,wk:()=>O,EM:()=>L,Cp:()=>p,$E:()=>f,LR:()=>N,jv:()=>D,AM:()=>c,DB:()=>y,IR:()=>x,rY:()=>u,kQ:()=>g,YY:()=>m});var o=n(402392);function r(e,t){let n=new o.EF(e,e=>e[t]);return(...e)=>n.import().then(t=>t(...e))}n(812759);let i=new o.nI(()=>Promise.all([n.e(602654),n.e(306576),n.e(229898),n.e(174100),n.e(716441),n.e(140099)]).then(n.bind(n,140099))),a=r(i,"insertTableCommand"),l=r(i,"editTableCommand"),s=r(i,"formatTableCommand"),d=r(i,"applyCellShadingCommand"),c=r(i,"setTableHeaderRowCommand"),u=r(i,"toggleBulletCommand"),m=r(i,"toggleNumberingCommand"),p=r(i,"setIndentationCommand"),f=r(i,"setListStartNumberCommand"),g=r(i,"toggleInlineFormatCommand"),v=r(i,"removeLinkCommand"),h=r(i,"insertLinkCommand"),I=r(i,"adjustImageSelectionCommand"),S=r(i,"setImageAltTextCommand"),b=r(i,"finishFormatPainterCommand"),w=r(i,"getFormatPainterFormatCommand"),y=r(i,"setTextColorCommand"),P=r(i,"setBackgroundColorCommand"),C=r(i,"setFontNameCommand"),E=r(i,"setFontSizeCommand"),Z=r(i,"changeCapitalizationCommand"),M=r(i,"clearFormatCommand"),T=r(i,"getFormatStateCommand"),F=r(i,"setAlignmentCommand"),k=r(i,"setDirectionCommand"),x=r(i,"toggleBlockQuoteCommand"),R=r(i,"applyStylingCommand"),A=r(i,"insertImageCommand"),D=r(i,"setSpacingCommand"),N=r(i,"setParagraphMarginCommand");r(i,"changeFontSizeCommand");let _=r(i,"changeImageCommand"),O=r(i,"setImageBorderCommand"),L=r(i,"setImageBoxShadowCommand"),V=r(i,"adjustLinkSelectionCommand"),B=r(i,"pasteCommand"),G=r(i,"insertEntityCommand"),U=r(i,"applyTableBorderCommand"),H=r(i,"getSelectionCommand"),W=new o.EF(i,e=>e.insertEntityCommand)},709346:(e,t,n)=>{let o;n.d(t,{Z:()=>r});var r=((o=r||{})[o.Floatie=0]="Floatie",o[o.Ribbon=1]="Ribbon",o[o.HotKey=2]="HotKey",o[o.OldFormatBar=3]="OldFormatBar",o[o.ContextMenu=4]="ContextMenu",o[o.SxSFormatBar=5]="SxSFormatBar",o)},812759:(e,t,n)=>{n.d(t,{Z:()=>a});var o=n(992083),r=n(27342),i=n(67199);function a(e,t,n){let a=e=>{t(e),n&&!e.isInShadowEdit()&&(0,i.y8)("EditorRibbonUsage",[n.apiName,(0,r.Z)(e),e.isDarkMode(),n.actionSource,...n.data.map(e=>JSON.stringify(e))])};"string"==typeof e?(0,o.cr)(e,a):a(e)}},27342:(e,t,n)=>{n.d(t,{Z:()=>o});function o(e){return!!e.formatContentModel}},171439:(e,t,n)=>{n.d(t,{CT:()=>r,ER:()=>a,K1:()=>g,Qf:()=>c,Rp:()=>f,S_:()=>d,T1:()=>v,Zj:()=>l,_x:()=>o,gu:()=>u,lH:()=>m,oS:()=>p,sR:()=>s,z$:()=>i});let o="DrawingCanvasElements",r="crosshair",i="DrawTool",a="DrawCanvasCount",l="DrawCanvas",s=Object.freeze({maxWidth:1318,contentEditable:!1,tabIndex:0}),d=Object.freeze({thickness:3,color:"#FFFC00"}),c=Object.freeze({thickness:3,color:"#AE198D",effectPattern:"galaxy"}),u=Object.freeze({thickness:3,color:"#000000"}),m=Object.freeze({thickness:3,color:"#FF0000"}),p=Object.freeze({defaultCursorSize:28,defaultCursorColor:"#666666eb",defaultCursorEraserOutlineWidth:2}),f=Object.freeze({defaultCursorOutlineColor:"white",minCursorRadius:4,defaultCursorOutlineWidth:2}),g=Object.freeze({defaultCursorOutlineColor:"white",minCursorLength:4,defaultCursorOutlineWidth:2,nibAspectRatio:2}),v=Object.freeze({inertiaOfResizing:4,minimumCanvasHeight:100,minimumCanvasWidth:100})},214515:(e,t,n)=>{n.d(t,{_Q:()=>r,hR:()=>a,gs:()=>i});let o={};function r(e,t){o[e]=t}function i(e){delete o[e]}function a(e,t){if(e){let n=o[e];n&&t(n)}}},956965:(e,t,n)=>{n.d(t,{Z:()=>r});var o=n(402392);function r(e,t,n,r,i){return class{constructor(...e){this.onImportedCallbacks=[],this.pendingEvents=[],this.args=e,this.pluginName=n}initialize(e){this.editor=e,this.pendingEvents=[],this.pluginInstance?this.initializeAndCallback():r||this.internalImport()}dispose(){this.pluginInstance&&(this.pluginInstance.dispose(),i||(this.pluginInstance=void 0)),this.editor=void 0,this.importPluginPromise=void 0,this.onImportedCallbacks=[]}getName(){return this.isImported()&&this.pluginInstance?this.pluginInstance.getName():this.pluginName}getContextMenuItems(e){return this.isImported()?this.pluginInstance.getContextMenuItems?.(e):null}onPluginEvent(e){if(this.pluginInstance)this.pluginInstance.onPluginEvent&&this.pluginInstance.onPluginEvent(e);else if(this.editor&&r?.(e,this.editor))return this.internalImport(e)}willHandleEventExclusively(e){return!!this.pluginInstance&&!!this.pluginInstance.willHandleEventExclusively&&this.pluginInstance.willHandleEventExclusively(e)}getPlugin(){return this.pluginInstance?Promise.resolve(this.pluginInstance):this.internalImport()}isImported(){return!!this.pluginInstance}addOnImportedCallback(e){this.isImported()&&this.editor&&this.pluginInstance?e(this.pluginInstance):this.onImportedCallbacks&&this.onImportedCallbacks.push(e)}initializeAndCallback(){this.pluginInstance&&(this.initializePluginInstance(),this.onImportedCallbacks.forEach(e=>{this.pluginInstance&&e(this.pluginInstance)}))}initializePluginInstance(){this.editor&&this.pluginInstance?.initialize(this.editor)}internalImport(n){return this.importPluginPromise||(this.importPluginPromise=new o.EF(e,t).import().then(e=>(this.pluginInstance=new e(...this.args),this.editor&&(this.initializeAndCallback(),this.pendingEvents.length>0&&this.pluginInstance.onPluginEvent&&this.pendingEvents.forEach(e=>{this.pluginInstance?.onPluginEvent?.(e)}),this.pendingEvents=[]),this.pluginInstance)),this.importPluginPromise.catch(()=>{this.pendingEvents=[]})),n&&this.pendingEvents?.push(n),this.importPluginPromise}}}},37135:(e,t,n)=>{n.d(t,{Z:()=>o});function o(){return{isSuggesting:!1,bufferZone:0,targetPoint:null}}},500826:(e,t,n)=>{n.d(t,{t:()=>i});var o=n(158130),r=n(489833);function i(e,t){return()=>{(0,o.G)(r.B,"triggerContentChangedEvent","_ShowEditorSettingsSource",{showPopout:e,entryPoint:t})}}},126138:(e,t,n)=>{n.d(t,{GJ:()=>r,HE:()=>s,Mz:()=>a,Ou:()=>l,XC:()=>i});var o=n(206339);function r(){return d()}function i(){return d()}function a(){return d()}function l(){return d()}function s(){return d()}function d(){return(0,o.cr)("mc-officeEditorProofingMasterFlight")}},207886:(e,t,n)=>{let o;n.d(t,{Z:()=>i});var r=((o=r||{})[o.Settings=0]="Settings",o[o.MailComposeToolbar=1]="MailComposeToolbar",o[o.CalendarComposeToolbar=2]="CalendarComposeToolbar",o[o.NewslettersComposeToolbar=3]="NewslettersComposeToolbar",o[o.Unknown=4]="Unknown",o[o.DexPane=5]="DexPane",o[o.EditorMenu=6]="EditorMenu",o[o.ToneRewriteFre=7]="ToneRewriteFre",o[o.ContextualCard=8]="ContextualCard",o[o.LanguageDetectionNotificationBar=9]="LanguageDetectionNotificationBar",o[o.MultilingualFooterFre=10]="MultilingualFooterFre",o);let i=r},489833:(e,t,n)=>{n.d(t,{B:()=>o,Z:()=>r});let o="";function r(e){o=e}},9177:(e,t,n)=>{n.d(t,{Z:()=>a});var o=n(345301),r=n(621001),i=n(150064);let a="EditorIcon";(0,r.fm)({icons:{EditorIcon:o.createElement("span",{className:(0,i.Z)("DpeQk","qv0cG")})}})},170048:(e,t,n)=>{n.d(t,{Z:()=>o});let o=(0,n(795839).lr)("addFontMru",(e,t)=>{let n=e.mru.indexOf(t);n>=0&&e.mru.splice(n,1),e.mru.unshift(t),e.mru.splice(5)})},650167:(e,t,n)=>{n.d(t,{Av:()=>s,FD:()=>p,K6:()=>c,SN:()=>f,Z2:()=>i,_3:()=>a,ik:()=>d,jU:()=>g,nL:()=>u,pX:()=>m,xp:()=>l});var o=n(402392);let r=new o.nI(()=>Promise.all([n.e(602654),n.e(896847),n.e(981965),n.e(906798)]).then(n.bind(n,906798))),i=(0,o.$y)(r,e=>e.TextColorPicker),a=(0,o.$y)(r,e=>e.BackColorPicker),l=(0,o.$y)(r,e=>e.FontPicker),s=(0,o.$y)(r,e=>e.FontNamePicker),d=(0,o.$y)(r,e=>e.FontSizePicker),c=(0,o.$y)(r,e=>e.CasePicker),u=(0,o.$y)(r,e=>e.InsertTableCallout),m=new o.EF(r,e=>e.displayInsertLinkDialog),p=new o.EF(r,e=>e.showImageAltTextDialog),f=new o._5(r,e=>e.showCustomizedColorPickerDialog),g=new o._5(r,e=>e.showEditorPasteWarningDialog)},652046:(e,t,n)=>{n.d(t,{Eo:()=>P,Il:()=>b,Jb:()=>w,NA:()=>l,O2:()=>u,Qn:()=>E,Rk:()=>d,TI:()=>i,U2:()=>C,Ut:()=>g,Wb:()=>I,bj:()=>f,h9:()=>a,ng:()=>m,pm:()=>S,qP:()=>c,rU:()=>p,tq:()=>h,v$:()=>y,wY:()=>s,wd:()=>v});var o=n(402392);let r=new o.nI(()=>Promise.all([n.e(602654),n.e(132666),n.e(304398)]).then(n.bind(n,737084))),i=new o._5(r,e=>e.updateRibbonWidth),a=new o._5(r,e=>e.setLastTextColor),l=new o._5(r,e=>e.setLastBackColor),s=new o._5(r,e=>e.setLastCellShadeColor),d=new o._5(r,e=>e.toggleFormatPainter),c=new o._5(r,e=>e.updateRibbonState),u=new o._5(r,e=>e.updateSecondClassState),m=new o._5(r,e=>e.setButtonWidths),p=new o._5(r,e=>e.updateFontSize),f=new o._5(r,e=>e.updateFontName),g=new o._5(r,e=>e.toggleDrawTool),v=new o._5(r,e=>e.toggleDrawTouch),h=new o._5(r,e=>e.toggleDrawSelect),I=new o._5(r,e=>e.drawCanvas),S=new o._5(r,e=>e.toggleDrawToolsActive),b=new o._5(r,e=>e.setInsertedCanvasCount),w=new o._5(r,e=>e.toggleDrawTextPen),y=new o._5(r,e=>e.setDrawToolStateAsGC2),P=new o._5(r,e=>e.updatePictureFormatState),C=new o._5(r,e=>e.setTableBorderWeight),E=new o._5(r,e=>e.setTableBorderColor)},943554:(e,t,n)=>{n.d(t,{DQ:()=>l,Vy:()=>i,lL:()=>a,m3:()=>s});var o=n(402392),r=n(807332);let i=(0,o.$y)(r.g,e=>e.Ribbon),a=(0,o.$y)(r.g,e=>e.ContextualUIContainer),l=new o.EF(r.g,e=>e.showInsertLinkDialog),s=new o.EF(r.g,e=>e.displayContextFormatBar);new o.EF(r.g,e=>e.getHandleScrollEvent)},807332:(e,t,n)=>{n.d(t,{a:()=>i,g:()=>r});var o=n(402392);let r=new o.nI(()=>Promise.all([n.e(437255),n.e(602654),n.e(878313),n.e(76288),n.e(896847),n.e(407663),n.e(779285),n.e(519875),n.e(566286),n.e(148677),n.e(792146),n.e(57723),n.e(244776),n.e(924318),n.e(800477),n.e(51091),n.e(103241),n.e(874184),n.e(978054),n.e(704151)]).then(n.bind(n,287065))),i=new o._5(r,e=>e.handleLinkViaSafelinks)},46107:(e,t,n)=>{n.d(t,{Z:()=>o});let o=(0,n(795839).lr)("setForceLightMode",function(e,t){e.forceInLightMode=t})},497674:(e,t,n)=>{n.d(t,{KI:()=>i,RX:()=>l,nh:()=>s});var o=n(402392);let r=new o.nI(()=>Promise.all([n.e(602654),n.e(306576),n.e(972427),n.e(838378),n.e(509811)]).then(n.bind(n,194969))),i=new o.EF(r,e=>e.operateContent),a=new o.EF(r,e=>e.focusToEditor);function l(e){a.import().then(t=>t(e))}new o.EF(r,e=>e.getSelectedImage);let s=new o.EF(r,e=>e.convertInlineCssForHtml)},992083:(e,t,n)=>{n.d(t,{Yk:()=>r,ZP:()=>a,af:()=>i,cr:()=>l});let o={};function r(e,t,n){o[e.editorId]={htmlEditor:t,plainTextEditor:n}}function i(e,t,n){let r=o[e.editorId];!r||(r.htmlEditor==t&&(r.htmlEditor=null),r.plainTextEditor==n&&(r.plainTextEditor=null),r.htmlEditor||r.plainTextEditor||delete o[e.editorId])}function a(e,t,n,r,i){if(e){let a=e.bodyType,{htmlEditor:l,plainTextEditor:s}=i||o[e.editorId]||{};(void 0===a||"HTML"===a)&&t&&(l&&!l.isDisposed()||r)?t(l):"Text"===a&&n&&(s||r)&&n(s)}}function l(e,t){if(e){let{htmlEditor:n}=o[e]||{};n&&!n.isDisposed()&&t(n)}}},158130:(e,t,n)=>{n.d(t,{G:()=>r});var o=n(992083);function r(e,t,...n){let i;let a=e=>{e&&(i=e[t].call(e,...n))};return"string"==typeof e?(0,o.cr)(e,e=>a(e)):(0,o.ZP)(e,e=>a(e),void 0),i}},48823:(e,t,n)=>{n.d(t,{Z:()=>m});var o=n(900041),r=n(345301),i=n(510265),a=n(621001),l=n(216446),s=n(274241),d=n(308807),c=n(206339),u=n(150064);let m=(0,i.P)(function(e){let{icon:t,mainMessage:n,detailMessage:i,ctaAppearance:m,ctaMessage:p,onCtaClick:f,iconSize:g,ctaTitle:v,buttonStyles:h,ctaButtonProps:I}=e,S=(0,c.cr)("mon-new-illustrations"),{container:b,mainMessage:w,detailsMessage:y,button:P}=e.classNames||{container:null,mainMessage:null},C=g||(S?200:120),E=r.useMemo(()=>({width:C,height:C}),[C]),Z=(0,s.T)(()=>({...function(){let e=(0,d.XN)();return{root:{color:e.themeDarkAlt},rootHovered:{color:e.themeDark},rootPressed:{color:e.themeDarker},label:{fontWeight:a.lq.semibold,fontSize:"12px"}}}(),...h}),[h]),[M,T]=(0,l.z)(!t);r.useEffect(()=>{t||T()},[t]);let F=t&&r.createElement("img",{key:"icon",style:E,src:t,alt:"",onLoad:T,onError:T}),k=n&&r.createElement("span",{key:"mainMessage",className:(0,u.Z)("ksePc",w,S&&"LXXbf"),id:"EmptyState_MainMessage"},n),x=i&&r.createElement("span",{key:"detailMessage",className:(0,u.Z)("TrKke",y,S&&"XAkNs")},i),R=p&&f&&r.createElement(o.X,{appearance:"default"==m?void 0:m??"transparent",className:(0,u.Z)("IUgl8",P),title:v,styles:Z,onClick:f,...I},p),A=S?[k,F,x,R]:[F,k,x,R];return r.createElement("div",{className:(0,u.Z)("w1MGJ",b,M&&"F2jxh"),style:e.styles},A)},"EmptyState")},699964:(e,t,n)=>{n.d(t,{k:()=>i});var o=n(195737);let r="assets/mail/illustrations",i=(e,t=!1,n)=>{let i=(0,o.$B)(),{path:a,version:l}={GenericError:{path:`${r}/genericError/`,version:1},DisconnectedError:{path:`${r}/disconnectedError/`,version:1},NoMailSelected:{path:`${r}/noMailSelected/`,version:2},EmailNotFound:{path:`${r}/emailNotFound/`,version:1},NoUnReadMessages:{version:1,path:`${r}/noUnReadMessages/`},EmptyInbox:{path:`${r}/emptyInbox/`,version:1},EmptyFolder:{path:`${r}/emptyFolder/`,version:1},EmptyDraft:{path:`${r}/emptyDraft/`,version:1},EmptySent:{path:`${r}/emptySent/`,version:1},EmptyArchive:{path:`${r}/emptyArchive/`,version:1},EmptyDeleted:{path:`${r}/emptyDeleted/`,version:1},EmptyMentions:{path:`${r}/emptyMentions/`,version:1},EmptyAttached:{path:`${r}/emptyAttachments/`,version:1},EmptyFiles:{path:`${r}/emptyFiles/`,version:1},EmptyFlagged:{path:`${r}/emptyFlagged/`,version:1},EmptyToMe:{path:`${r}/emptyToMe/`,version:1},EmptyUnread:{path:`${r}/emptyUnread/`,version:1},EmptySpotlight:{path:`${r}/emptySpotlight/`,version:2},MailSelected:{path:`${r}/mailSelected/`,version:t?2:2.1},EmptyCalendar:{path:`${r}/emptyCalendar/`,version:1},EmptyNotifications:{path:`${r}/emptyNotifications/`,version:1},EmptyGroups:{path:`${r}/emptyGroups/`,version:1},EmptyCopilotAppContext:{path:`${r}/workspaceActive/`,version:1},TaskList:{path:`${r}/taskList/`,version:1},Privacy:{path:`${r}/privacy/`,version:1},Security:{path:`${r}/security/`,version:1},TXPFlight:{path:`${r}/txpFlight/`,version:1},TXPLodging:{path:`${r}/txpLodging/`,version:1},TXPParcelDelivery:{path:`${r}/txpParcelDelivery/`,version:1},TXPRentalCar:{path:`${r}/txpRentalCar/`,version:1},TXPEvent:{path:`${r}/txpEvent/`,version:1},TXPDining:{path:`${r}/txpDining/`,version:1},TXPInvoice:{path:`${r}/txpInvoice/`,version:1},TXPServiceReservation:{path:`${r}/txpServiceReservation/`,version:1}}[e];return`${i}${a}v${n??l}/${t?"dark":"light"}.svg`}},728170:(e,t,n)=>{n.d(t,{n:()=>m.Z,_:()=>u});var o=n(795839),r=n(36848),i=n(747731),a=n(636006),l=n(195737),s=n(538565),d=n(67199);let c=["OWA"],u=(0,o.lr)("setPhoneAppCardDismissState",e=>{(0,r.X)().isCardDismissed=e,c.forEach(e=>{var t;let n=(0,r.X)().clients.filter(t=>t.clientType===e)[0];n&&((0,d.qu)("updateUserOutlookClient",{clientId:n.clientId,mobilePromoDismissDate:(0,s.ri)().toString(),clientType:n.clientType}),t={clientId:n.clientId,clientType:n.clientType,clientVersion:(0,l.VJ)(),mobilePromoDismissDate:(0,s.ri)()},(0,i.jB)("ows/api/v1/EndpointTracker",t,void 0,!0,void 0,void 0,!0,!1,void 0,void 0,(0,a.Q)()))})});var m=n(301262)},36848:(e,t,n)=>{n.d(t,{X:()=>r});let o=(0,n(795839).MT)("OutlookClientsStore",{clients:[],isCardDismissed:!1})(),r=()=>o},301262:(e,t,n)=>{n.d(t,{Z:()=>d});var o=n(747731),r=n(636006),i=n(795839),a=n(36848);let l=(0,i.lr)("setUserOutlookClientsState",e=>{(0,a.X)().clients=e});var s=n(538565);async function d(e){let t=!1,n=!1,i=(0,a.X)().clients,d=[];return 0==i.length&&(i=await (0,o.xe)("ows/api/v1/EndpointTracker/allendpoints",void 0,!1,void 0,!0,void 0,void 0,(0,r.Q)())),i&&i.length>0?(l(i),i.forEach(n=>{let o=(0,s.ri)("UTC",n.mobilePromoDismissDate);-1==d.indexOf(n.clientType)&&d.push(n.clientType),"AndroidOutlook"==n.clientType||"IOSOutlook"==n.clientType?t=!0:"OWA"==n.clientType&&n.mobilePromoDismissDate&&e<o&&(e=o)})):(t=!0,n=!0),{isAppInstalled:t,mobilePromoDismissDate:e,userClients:d,endpointApiFailed:n}}},91623:(e,t,n)=>{n.d(t,{Z:()=>a});var o=n(937839),r=n(478248),i=n(240282);function a(e){return(0,i.Z)(void 0,e)?(0,o.Z)(e):!!r.p(e).SegmentationSettings?.Irm}},709:(e,t,n)=>{n.d(t,{v:()=>r});var o=n(213661);let r={enter:o.IO,enterActive:o.RT,exit:o.JF,exitActive:o.qr}},683851:(e,t,n)=>{n.d(t,{Z:()=>a});var o=n(787012),r=n(795839);let i={expressionPickerViewStates:new o.ObservableMap,selectedSkinTone:"",useFlexPane:!1,isSxSDisplayed:!1,primaryExpressionId:""},a=(0,r.MT)("expression",i)()},182211:(e,t,n)=>{n.d(t,{GX:()=>l,Nv:()=>r,dr:()=>o,rh:()=>a,uD:()=>i});let o="ribbon",r="smartSuggestions",i="inlineSearch",a="contextualSearch",l="calendar"},217565:(e,t,n)=>{n.d(t,{Z:()=>r});var o=n(683851);function r(e){return!!e&&(o.Z.expressionPickerViewStates.get(e)?.isOpen??!1)}},731233:(e,t,n)=>{n.d(t,{iX:()=>r,wv:()=>i});let o={};function r(e){return o[e]}function i(e,t){let n=o[e];o[e]={...n,...t}}},18713:(e,t,n)=>{n.d(t,{S:()=>o});function o(e){return e?e.length<=8?e:e.substring(e.length-8):""}},921829:(e,t,n)=>{n.d(t,{V:()=>c,q:()=>u});var o=n(733047),r=n(752703),i=n(459672),a=n(731233),l=n(67199),s=n(636283),d=n(445377);function c(e){let t=(0,o.IX)(e?.userIdentity),n=(0,a.iX)(e?.userIdentity);if(n?.downloadToken&&n?.downloadUrlBase)return n;switch(t){case null:case"Office365":case"Outlook":(0,r.L)(e);break;case"Google":case"Yahoo":case"ICloud":case"IMAP":case"POP3":break;default:(0,i.v)(t)}let c=(0,a.iX)(e.userIdentity);return c||((0,l.y8)("FilesUrlDataNotFound",{accountProviderType:t,isRunningOnWorker:(0,d.S)(),userIdentity:!!e.userIdentity}),s.g4.warn("Unable to get the url data")),c}function u(e){if(!e)return(0,l.y8)("getDownloadTokenForUserIdentity_MissingMailboxInfo"),null;let t=c(e);return t?.downloadToken}},463598:(e,t,n)=>{n.d(t,{P:()=>i});var o=n(67199),r=n(18713);function i(e,t){let n=(0,r.S)(e);(0,o.y8)("AttachmentDownloadToken",{Token:n,IsFirst:t})}},322132:(e,t,n)=>{n.d(t,{f:()=>S,p:()=>b});var o=n(5813),r=n(733047),i=n(67199),a=n(101198),l=n(837086);function s(e){return{__type:"GetAttachmentDownloadTokenRequest:#Exchange",...e}}var d=n(636283),c=n(731233),u=n(18713),m=n(150205),p=n(828227);async function f(e){let t={};t.headers=new Headers;let n=await (0,m.HH)(e);return(0,p.F)(t.headers,n),t}var g=n(973002),v=n(463598),h=n(206339);let I=(0,a.Z)({timeBetweenRetryInMS:()=>3e4});async function S(e){let t=async()=>{let t="0;";try{var n,a;let i={};return(0,o.U$)()?(t+="1.1;",i={mailboxInfo:e}):(0,r.Cs)(e.userIdentity)&&(t+="1.2;",i=await f(e.userIdentity)),t+="2",n=s({UseNewDownloadTokenLifetime:(0,h.cr)("doc-use-new-download-token-lifetime")}),a=(0,g.Z)(e,i),void 0===n||n.__type||(n=s(n)),(0,l.S)("GetAttachmentDownloadToken",n,a)}catch(e){throw d.g4.warn(`Unable to get the attachment download token ${e}`),(0,i.y8)("RefreshDownloadTokenError",{Step:t,Error:e}),e.networkError=!0,e}},n=(0,c.iX)(e.userIdentity);if(!n?.isRefreshingDownloadToken){(0,c.wv)(e.userIdentity,{isRefreshingDownloadToken:!0});let n=0,{retriableFunc:o}=I(async()=>{n++;let o=await t();d.g4.info("update new attachment download token"),(0,c.wv)(e.userIdentity,{downloadToken:o,isRefreshingDownloadToken:!1}),(0,v.P)(o,!1)}),r=new i.hj("AttachmentRefreshDownloadToken");try{await o();let t=(0,c.iX)(e.userIdentity),i=(0,u.S)(t?.downloadToken);r.addCustomData({TotalTries:n,Token:i}),r.end()}catch(t){d.g4.warn(`Retry to refresh attachment download token failed: ${t}`),r.addCustomData({TotalTries:n,Error:t.message}),r.endWithError(i.SO.ServerError,t),(0,c.wv)(e.userIdentity,{isRefreshingDownloadToken:!1})}}}function b(e,t){t=t<1?1:t,(0,o.U$)()&&S(e),(0,h.cr)("doc-use-new-download-token-lifetime")?setTimeout(()=>{S(e),w(e,t)},t/2*6e4):w(e,t)}function w(e,t){setInterval(()=>{S(e)},6e4*t)}},752703:(e,t,n)=>{n.d(t,{L:()=>l});var o=n(478248),r=n(731233),i=n(322132),a=n(463598);function l(e){let t=(0,o.p)(e),n=t?.ApplicationSettings;if(n){let t=n.DownloadUrlBase;(0,r.wv)(e.userIdentity,{downloadUrlBase:t,downloadToken:n.FirstDownloadToken}),(0,a.P)(n.FirstDownloadToken,!0),t&&(0,i.p)(e,n.DownloadTokenRefreshMinutes??5)}}},369272:(e,t,n)=>{n.d(t,{Hz:()=>i,XW:()=>l,m9:()=>a});var o=n(67199),r=n(583462);function i(){r.m?(0,o.qu)("FluidDiscoverMenuOpened"):(0,o.y8)("FluidDiscoverMenuOpened")}function a(){r.m?(0,o.qu)("DiscoverManifestPreloadFailed"):(0,o.y8)("DiscoverManifestPreloadFailed")}function l(){r.m?(0,o.qu)("FluidDiscoverManifestNotLoaded"):(0,o.y8)("FluidDiscoverManifestNotLoaded")}},583462:(e,t,n)=>{n.d(t,{m:()=>r});var o=n(195737);let r="Dogfood"===(0,o.nr)()||"Microsoft"===(0,o.nr)()||"FirstRelease"===(0,o.nr)()},824325:(e,t,n)=>{n.d(t,{k:()=>o});let o=(0,n(795839).aD)("onFluidComponentRendered",(e,t,n)=>({owaSource:e,isCreateNew:t,viewStateId:n}))},688290:(e,t,n)=>{n.d(t,{BW:()=>g,EQ:()=>I,Et:()=>y,LO:()=>l.LO,NL:()=>h,Sk:()=>S,So:()=>u,T8:()=>l.T8,TC:()=>f,U3:()=>b,V2:()=>c,dm:()=>P,im:()=>p,k1:()=>a.k,oD:()=>v,qW:()=>m,u1:()=>d,vu:()=>w,zz:()=>l.zz});var o=n(822015),r=n(956965),i=n(402392),a=n(824325),l=n(693502);let s=new i.nI(()=>Promise.all([n.e(602654),n.e(778996),n.e(306576),n.e(896847),n.e(519875),n.e(972427),n.e(566286),n.e(148677),n.e(110810),n.e(792146),n.e(229898),n.e(577935),n.e(312608),n.e(720628),n.e(518491),n.e(716441),n.e(108801),n.e(769869),n.e(377846),n.e(362766)]).then(n.bind(n,362766)),{name:"Fluid"}),d=(0,r.Z)(s,e=>e.FluidPlugin,"Fluid",e=>11==e.eventType),c=(0,r.Z)(s,e=>e.VideoClipsTeachingBubblePlugin,"VideoClipsTeachingBubble",e=>3==e.eventType||7==e.eventType),u=new i.EF(s,e=>e.mountExistingFluidComponent),m=new i.EF(s,e=>e.tryGetFluidPreCheckInfo);new i.EF(s,e=>e.tryGetHrefFromElement);let p=new i.EF(s,e=>e.createNewFluidComponent),f=new i.EF(s,e=>e.getAgendaCodeDetails),g=new i._5(s,e=>e.getFluidMenuItems),v=new i._5(s,e=>e.startRecorder),h=new i._5(s,e=>e.createFluidForms),I=new i._5(s,e=>e.isLoopUrl),S=new i._5(s,e=>e.isLoopUrlAsync),b=new i.EF(s,e=>e.LoopProviderCallbackStore),w=new i.EF(s,e=>e.getGenericLoaderManifest);(0,i.Kv)(o.tT,s,e=>e.preloadFluidOrchestrator),(0,i.Kv)(o.Dq,s,e=>e.preloadFluidScriptsOrchestrator),new i._5(s,e=>e.preLoadFluidFunction);let y=new i._5(s,e=>e.preloadFluidScripts),P=new i._5(s,e=>e.isPreloadFluidInCollabSpaceComplete)},746286:(e,t,n)=>{n.d(t,{I:()=>r});var o=n(466174);function r(e){let t=!1;return void 0!==e&&(t=(0,o.Z)().viewStateWithLoopFocus===e),t}},466174:(e,t,n)=>{n.d(t,{Z:()=>s,b:()=>l});var o=n(787012),r=n(795839);let i={linkViewStates:new o.ObservableMap({}),isManifestLoaded:!1,viewStateWithLoopFocus:"",fluidMenuItems:void 0,failedHydrationIds:new Set},a=(0,r.MT)("fluidLinkViewStore",i)(),l=()=>a,s=l},693502:(e,t,n)=>{let o;n.d(t,{$L:()=>i,CU:()=>l,DE:()=>u,FW:()=>a,Hh:()=>h,LO:()=>p,Lu:()=>g,T8:()=>I,Tw:()=>d,Z7:()=>s,c6:()=>c,fL:()=>m,k8:()=>v,lr:()=>r,wo:()=>S,zz:()=>f});let r="owaFluidKeepBodyOnSend",i="fluidPlaceholder",a="Outlook",l="Outlook_Web_App",s="Outlook_Monarch",d="Web",c="OneNoteMeetings",u="videoRecorderSvgId",m="OWAFluid",p="fluidContainer",f="FLUID_HERO_MENU_ID",g="MeCardDataSummary",v="OWAAutoLink",h="fallback";var I=((o=I||{}).Link="linkonly",o.Embedded="embedded",o.Pill="link",o);let S="@ms/office-fluid-container"},822015:(e,t,n)=>{n.d(t,{zG:()=>l,tT:()=>r,Dq:()=>i});var o=n(795839);let r=(0,o.aD)("PRELOAD_FLUID"),i=(0,o.aD)("PRELOAD_FLUID_SCRIPTS");var a=n(458996);async function l(e){let t=(0,a.Ac)();return t||(t=await (0,a.N)(e)),t}},529666:(e,t,n)=>{n.d(t,{l:()=>i});var o=n(795839),r=n(267264);let i=(0,o.aD)("ON_CLICK_BOOKMARK_ICON",(e,t,n)=>(0,r.uY)({name:"TnS_FocusedInboxClassificationCorrection",customData:{origin:1==n?"Focused":"Other"}},{rowKey:e,tableViewId:t,destination:n}))},473214:(e,t,n)=>{n.d(t,{K:()=>o});let o=(0,n(795839).aD)("ON_FOCUSED_INBOX_CLASSIFICATION_CORRECTION",(e,t)=>({isFocused:e,originalMessage:t}))},809114:(e,t,n)=>{n.d(t,{H:()=>o});let o=(0,n(795839).aD)("ON_HOVER_RENDER_MESSAGE",e=>({rowKey:e}))},644143:(e,t,n)=>{n.d(t,{$:()=>d});var o=n(402392),r=n(809114),i=n(529666),a=n(473214),l=n(995930);let s=new o.nI(()=>Promise.all([n.e(778996),n.e(508748),n.e(313380),n.e(110363),n.e(47003)]).then(n.bind(n,31791))),d=(0,o.$y)(s,e=>e.FocusedExplanationIcon);(0,o.Kv)(a.K,s,e=>e.getFeedbackFocusedInboxClassificationOrchestrator),(0,o.Kv)(r.H,s,e=>e.getFocusedOtherReasonOrchestrator),(0,o.Kv)(i.l,s,e=>e.moveToFocusedOtherInboxOrchestrator),(0,o.Kv)(l.y,s,e=>e.removeFocusedInboxOverrideOrchestrator)},118895:(e,t,n)=>{n.d(t,{T:()=>r});var o=n(402392);let r=new o._5(new o.nI(()=>n.e(29706).then(n.bind(n,29706))),e=>e.createNewFolder)},213138:(e,t,n)=>{n.d(t,{r:()=>o});let o={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"DeleteFolder"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"disposalType"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"DisposalType"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"mailboxInfo"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"MailboxInfoInput"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"deleteFolder"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}},{kind:"ObjectField",name:{kind:"Name",value:"disposalType"},value:{kind:"Variable",name:{kind:"Name",value:"disposalType"}}},{kind:"ObjectField",name:{kind:"Name",value:"mailboxInfo"},value:{kind:"Variable",name:{kind:"Name",value:"mailboxInfo"}}}]}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}}]}}]}},234393:(e,t,n)=>{n.d(t,{Z:()=>o});let o=(0,n(795839).aD)("EMPTY_FOLDER_STORE_UPDATE",(e,t,n,o,r,i)=>({folderId:e,clientLastSyncTime:t,deletedItemsFolderId:n,disposalType:o,deleteSubFolders:r,rowKeysToExclude:i}))},640722:(e,t,n)=>{n.d(t,{Z:()=>o});let o={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"MoveFolder"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"destinationFolderId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"mailboxInfo"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"MailboxInfoInput"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"moveFolder"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}},{kind:"ObjectField",name:{kind:"Name",value:"destinationFolderId"},value:{kind:"Variable",name:{kind:"Name",value:"destinationFolderId"}}},{kind:"ObjectField",name:{kind:"Name",value:"mailboxInfo"},value:{kind:"Variable",name:{kind:"Name",value:"mailboxInfo"}}}]}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"folder"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}}]}}]}}]}},736949:(e,t,n)=>{n.d(t,{l:()=>i});var o=n(402392);let r=new o.nI(()=>n.e(74614).then(n.bind(n,74614))),i=new o._5(r,e=>e.moveFolder)},754708:(e,t,n)=>{n.d(t,{_:()=>o});let o={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"RenameFolder"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"newDisplayName"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"mailboxInfo"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"MailboxInfoInput"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"renameFolder"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}},{kind:"ObjectField",name:{kind:"Name",value:"newDisplayName"},value:{kind:"Variable",name:{kind:"Name",value:"newDisplayName"}}},{kind:"ObjectField",name:{kind:"Name",value:"mailboxInfo"},value:{kind:"Variable",name:{kind:"Name",value:"mailboxInfo"}}}]}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"displayName"}}]}}]}}]}},124312:(e,t,n)=>{n.d(t,{w:()=>r});var o=n(402392);let r=new o._5(new o.nI(()=>n.e(510870).then(n.bind(n,510870))),e=>e.renameFolder)},194087:(e,t,n)=>{n.d(t,{pp:()=>Z,y:()=>P,A_:()=>a,PW:()=>l});var o=n(402392),r=n(923329);let i=new o.nI(()=>n.e(921141).then(n.bind(n,921141))),a=new o.EF(i,e=>e.getChildFolderIds),l=new o.EF(i,e=>e.getChildFolderNames);var s=n(37317),d=n(725429),c=n(425824),u=n(110735),m=n(517795),p=n(440275),f=n(464464),g=n(811644),v=n(455868),h=n(380352),I=n(341032),S=n(92935),b=n(803234),w=n(535535);let y=(0,b.M)("MailInboxArrowUpRegular",w.Sdg),P=function(e,t){switch(e&&(0,I.Z)(e)){case"inbox":return s.Z;case"sentitems":return u.Z;case"drafts":return d.Z;case"deleteditems":return m.Z;case"archive":return p.Z;case"junkemail":return f.Z;case"scheduled":return v.Z;case"notes":return g.Z;case"outbox":return y;case S.Ry:return h.Z}return t?c.Z:""};var C=n(345301);let E=C.lazy(()=>n.e(42041).then(n.bind(n,42041))),Z=e=>C.createElement(C.Suspense,{fallback:C.createElement("div",{className:e.className})},C.createElement(E,{...e}));(0,o.Kv)(r.Z,i,e=>e.onUpdateFolderCountsOrchestrator)},338061:(e,t,n)=>{let o;n.d(t,{b:()=>s});var r=n(795839),i=n(18652),a=n(483983);let l=(0,r.MT)("fontPicker",(o=i.kT,{fontName:{displayValue:null,mru:[],items:[...(0,i.iB)(o)]},fontSize:{displayValue:null,mru:[],items:[...a.zk]},isLocalFontListLoaded:!1}))(),s=()=>l},18652:(e,t,n)=>{function o(e){return e.localizedName??e.name}n.d(t,{QC:()=>o,iB:()=>i,kT:()=>r});let r=[...n(141321).z,{name:"Arial",family:"Arial,Helvetica,sans-serif"},{name:"Arial Black",family:"'Arial Black',Arial,sans-serif"},{name:"Calibri",family:"Calibri,Helvetica,sans-serif"},{name:"Calibri Light",family:"'Calibri Light','Helvetica Light',sans-serif"},{name:"Cambria",family:"Cambria,Georgia,serif"},{name:"Candara",family:"Candara,Optima,sans-serif"},{name:"Century Gothic",family:"'Century Gothic',sans-serif"},{name:"Comic Sans MS",family:"'Comic Sans MS',Chalkboard,cursive"},{name:"Consolas",family:"Consolas,Courier,monospace"},{name:"Constantia",family:"Constantia,'Hoefler Text',serif"},{name:"Corbel",family:"Corbel,Skia,sans-serif"},{name:"Courier New",family:"'Courier New',monospace"},{name:"Franklin Gothic Book",family:"'Franklin Gothic Book','Avenir Next Condensed',sans-serif"},{name:"Franklin Gothic Demi",family:"'Franklin Gothic Demi','Avenir Next Condensed Demi Bold',sans-serif"},{name:"Franklin Gothic Medium",family:"'Franklin Gothic Medium','Avenir Next Condensed Medium',sans-serif"},{name:"Garamond",family:"Garamond,Georgia,serif"},{name:"Georgia",family:"Georgia,serif"},{name:"Impact",family:"Impact,Charcoal,sans-serif"},{name:"Lucida Console",family:"'Lucida Console',Monaco,monospace"},{name:"Lucida Handwriting",family:"'Lucida Handwriting','Apple Chancery',cursive"},{name:"Lucida Sans Unicode",family:"'Lucida Sans Unicode','Lucida Grande',sans-serif"},{name:"Palatino Linotype",family:"'Palatino Linotype','Book Antiqua',Palatino,serif"},{name:"Segoe UI",family:"'Segoe UI', 'Segoe UI Web (West European)', 'Helvetica Neue', sans-serif"},{name:"Sitka Heading",family:"'Sitka Heading',Cochin,serif"},{name:"Sitka Text",family:"'Sitka Text',Cochin,serif"},{name:"Tahoma",family:"Tahoma,Geneva,sans-serif"},{name:"Times",family:"Times,'Times New Roman',serif"},{name:"Times New Roman",family:"'Times New Roman',Times,serif"},{name:"Trebuchet MS",family:"'Trebuchet MS',Trebuchet,sans-serif"},{name:"TW Cen MT",family:"'TW Cen MT','Century Gothic',sans-serif"},{name:"Verdana",family:"Verdana,Geneva,sans-serif"},{name:"-",family:"-"},{name:"Microsoft YaHei",family:"'Microsoft YaHei','微软雅黑',STHeiti,sans-serif",localizedName:"微软雅黑"},{name:"SimHei",family:"SimHei,'黑体',STHeiti,sans-serif",localizedName:"黑体"},{name:"NSimSun",family:"NSimSun,'新宋体',SimSun,'宋体',SimSun-ExtB,'宋体-ExtB',STSong,serif",localizedName:"新宋体"},{name:"FangSong",family:"FangSong,'仿宋',STFangsong,serif",localizedName:"仿宋"},{name:"SimLi",family:"SimLi,'隶书','Baoli SC',serif",localizedName:"隶书"},{name:"KaiTi",family:"KaiTi,'楷体',STKaiti,serif",localizedName:"楷体"},{name:"-",family:"-"},{name:"Microsoft JhengHei",family:"'Microsoft JhengHei','微軟æ£é»‘é«”','Apple LiGothic',sans-serif",localizedName:"微軟æ£é»‘é«”"},{name:"PMingLiU",family:"PMingLiU,'新細明體',PMingLiU-ExtB,'新細明體-ExtB','Apple LiSung',serif",localizedName:"新細明體"},{name:"DFKai-SB",family:"DFKai-SB,'標楷體','BiauKai',serif",localizedName:"標楷體"},{name:"-",family:"-"},{name:"Meiryo",family:"Meiryo,'メイリオ','Hiragino Sans',sans-serif",localizedName:"メイリオ"},{name:"MS PGothic",family:"'MS PGothic','ï¼ï¼³ Pゴシック','MS Gothic','ï¼ï¼³ ゴシック','Hiragino Kaku Gothic ProN',sans-serif",localizedName:"ï¼ï¼³ Pゴシック"},{name:"MS PMincho",family:"'MS PMincho','ï¼ï¼³ P明æœ','MS Mincho','ï¼ï¼³ 明æœ','Hiragino Mincho ProN',serif",localizedName:"ï¼ï¼³ P明æœ"},{name:"Yu Gothic",family:"'Yu Gothic','游ゴシック','YuGothic',sans-serif",localizedName:"游ゴシック"},{name:"Yu Mincho",family:"'Yu Mincho','游明æœ','YuMincho',serif",localizedName:"游明æœ"},{name:"-",family:"-"},{name:"Malgun Gothic",family:"'Malgun Gothic','ë§‘ì€ ê³ ë”•',AppleGothic,sans-serif",localizedName:"ë§‘ì€ ê³ ë”•"},{name:"Gulim",family:"Gulim,'굴림','Nanum Gothic',sans-serif",localizedName:"굴림"},{name:"Dotum",family:"Dotum,'ë‹ì›€',AppleGothic,sans-serif",localizedName:"ë‹ì›€"},{name:"Batang",family:"Batang,'바탕',AppleMyungjo,serif",localizedName:"바탕"},{name:"BatangChe",family:"BatangChe,'바탕체',AppleMyungjo,serif",localizedName:"바탕체"},{name:"Gungsuh",family:"Gungsuh,'ê¶ì„œ',GungSeo,serif",localizedName:"ê¶ì„œ"},{name:"-",family:"-"},{name:"Leelawadee UI",family:"'Leelawadee UI',Thonburi,sans-serif"},{name:"Angsana New",family:"'Angsana New','Leelawadee UI',Sathu,serif"},{name:"Cordia New",family:"'Cordia New','Leelawadee UI',Silom,sans-serif"},{name:"DaunPenh",family:"DaunPenh,'Leelawadee UI','Khmer MN',sans-serif"},{name:"-",family:"-"},{name:"Nirmala UI",family:"'Nirmala UI',sans-serif"},{name:"Gautami",family:"Gautami,'Nirmala UI','Telugu MN',sans-serif"},{name:"Iskoola Pota",family:"'Iskoola Pota','Nirmala UI','Sinhala MN',sans-serif"},{name:"Kalinga",family:"Kalinga,'Nirmala UI','Oriya MN',sans-serif"},{name:"Kartika",family:"Kartika,'Nirmala UI','Malayalam MN',sans-serif"},{name:"Latha",family:"Latha,'Nirmala UI','Tamil MN',sans-serif"},{name:"Mangal",family:"Mangal,'Nirmala UI','Devanagari Sangam MN',sans-serif"},{name:"Raavi",family:"Raavi,'Nirmala UI','Gurmukhi MN',sans-serif"},{name:"Shruti",family:"Shruti,'Nirmala UI','Gujarati Sangam MN',sans-serif"},{name:"Tunga",family:"Tunga,'Nirmala UI','Kannada MN',sans-serif"},{name:"Vrinda",family:"Vrinda,'Nirmala UI','Bangla MN',sans-serif"},{name:"-",family:"-"},{name:"Nyala",family:"Nyala,Kefa,sans-serif"},{name:"Sylfaen",family:"Sylfaen,Mshtakan,Menlo,serif"}];function i(e){return(e??r).map(e=>({selectValue:e.name,displayValue:o(e),submitValue:e.family}))}},483983:(e,t,n)=>{n.d(t,{O:()=>a,Rs:()=>i,zk:()=>r});let o=[8,10,12,14,18,24,36],r=[8,9,10,11,12,14,16,18,20,22,24,26,28,36,48,72].map(e=>e.toString()).map(e=>({selectValue:e,displayValue:e,submitValue:e}));function i(e){return"number"==typeof e&&e<=7?o[e-1]:e}function a(e){let t=i(e).toString();return t?t+"pt":t}},152740:(e,t,n)=>{n.d(t,{ZP:()=>l});var o=n(338061);let r=(0,n(795839).lr)("setLocalFontList",e=>{let t=(0,o.b)();t.isLocalFontListLoaded=!0,e&&(t.fontName.items=e)});var i=n(18652),a=n(141321);async function l(e){if(!(0,o.b)().isLocalFontListLoaded){let t=await s(e);t.unshift(...(0,i.iB)(a.z)),t.length>0&&r(t)}}async function s(e){try{if(!("queryLocalFonts"in e))return[];let t={};return(await e.queryLocalFonts()).forEach(e=>{var n,o;t[e.family]||(t[e.family]=e.family),n=e.style,!d.test(n)&&(o=e.style,c.test(o))&&(t[e.fullName]=e.fullName)}),Object.keys(t).map(e=>{let n=t[e];return(0,i.iB)().filter(e=>e.displayValue==n)[0]||{displayValue:n,selectValue:n,submitValue:e}})}catch(e){return[]}}let d=/^Regular| |^Bold$|^Italic$|^Oblique$/,c=RegExp(["Light","ExtraLight","SemiBold","Narrow","Medium","Condensed","SemiCondensed"].map(e=>`^${e}$`).join("|"),"i")},341081:(e,t,n)=>{let o;n.d(t,{U:()=>r});var r=((o=r||{})[o.ReadingPane=0]="ReadingPane",o[o.GetStarted=1]="GetStarted",o[o.OpxHost=2]="OpxHost",o[o.ExternalPartner=3]="ExternalPartner",o)},773942:(e,t,n)=>{n.d(t,{v:()=>l});var o=n(241475),r=n(677368),i=n(744929);let a=!1;async function l(e,t,n=!1,l="partially"){if(e&&(t?.length||a)){a=!0;let s=await (0,o.Ne)(),d=s.call(s,e);t?.length?"prefix"===l?(0,r.Z)(e,t,()=>e=>{(function(e){let t=(0,i.C4)(e);e.style.backgroundColor="#FFF100",e.style.color="black",(0,i.ot)(e,t)})(e)},!1,l):d.mark(t,{separateWordSearch:n,accuracy:l}):d.unmark()}}},120485:(e,t,n)=>{n.d(t,{default:()=>o});let o=(0,n(795839).MT)("HotkeysMapStore",{isVisible:!1,commandCategories:[],hotkeyCommands:[]})()},95116:(e,t,n)=>{n.d(t,{F:()=>c});var o=n(900041),r=n(345301),i=n(302140);let a="JkyD9c";var l=n(720001),s=n(797489),d=n(150064);function c(e){let{iconButtonStyle:t,iconButtonContainer:n,shouldUseTextButton:l,onlyUseIconButtonStyle:c,extraButtonStyles:m}=e,p=l||c?e.iconButtonStyle:"Xr4ue",f=r.useMemo(()=>({iconName:"Cancel",className:p}),[p]),g=l?(0,i.ZP)(a):void 0;return s.MA()?.type!=s.AO.SecondaryReadingPane?r.createElement("div",{className:n,id:"immersiveExitButton"},r.createElement(o.X,{appearance:l?"command":"icon",iconProps:f,title:(0,i.ZP)(a),"aria-label":(0,i.ZP)(a),onClick:u,className:(0,d.Z)("kTujB",l&&"kVKZc",t,m)},g)):null}function u(){(0,l.Z)("ImmersiveRPCloseButton")}},479793:(e,t,n)=>{n.d(t,{Z:()=>l});var o=n(104323),r=n(795839),i=n(636283);let a=(0,r.lr)("removeInfoBarMessages",(e,t,n)=>{e.infoBarIds.splice(t,1);let r=e.infoBarHostKey;o.K[r]&&(delete o.K[r][n],0===Object.keys(o.K[r]).length&&delete o.K[r])});function l(e,t){try{if(e)for(let n of Array.isArray(t)?t:t?[t]:e.infoBarIds?[...e.infoBarIds]:[]){let t=e.infoBarIds?e.infoBarIds.indexOf(n):-1;t>=0&&a(e,t,n)}}catch(e){(0,i.rx)("Error in removeInfoBarMessage",e)}}},996986:(e,t,n)=>{let o,r,i;n.d(t,{ux:()=>l,yk:()=>a,zB:()=>s});var a=((o=a||{})[o.Compose=0]="Compose",o[o.Extensibility=1]="Extensibility",o[o.ReadingPane=2]="ReadingPane",o[o.Fileshub=3]="Fileshub",o[o.Txp=4]="Txp",o[o.Peek=5]="Peek",o[o.CalendarCard=6]="CalendarCard",o[o.Newsletter=7]="Newsletter",o),l=((r=l||{})[r.SmimeSignature=0]="SmimeSignature",r[r.Safety=1]="Safety",r[r.Error=2]="Error",r[r.Info=3]="Info",r[r.Encryption=4]="Encryption",r[r.Translation=5]="Translation",r[r.Sensitivity=6]="Sensitivity",r[r.InsightMessage=7]="InsightMessage",r[r.External=8]="External",r[r.Spotlight=9]="Spotlight",r[r.Group=10]="Group",r[r.HighImportance=11]="HighImportance",r[r.Private=12]="Private",r[r.Flagged=13]="Flagged",r[r.LowImportance=14]="LowImportance",r[r.OOF=15]="OOF",r[r.Warning=16]="Warning",r),s=((i=s||{})[i.Grey=0]="Grey",i[i.Red=1]="Red",i[i.Green=2]="Green",i[i.Yellow=3]="Yellow",i[i.Orange=4]="Orange",i[i.Green20=5]="Green20",i[i.Neutral=6]="Neutral",i[i.Black=7]="Black",i[i.Blue=8]="Blue",i[i.Purple=9]="Purple",i)},576556:(e,t,n)=>{n.d(t,{u5:()=>r.Z,lP:()=>a,af:()=>s,nl:()=>u,mj:()=>c,rd:()=>p,LT:()=>m,bM:()=>d});var o=n(402392),r=n(717189),i=n(219425);function a(){return 0==Object.keys(i.Z.inlineImages).length}let l=new o.nI(()=>Promise.all([n.e(778996),n.e(705956)]).then(n.bind(n,705956)),{name:"InlineImageLoader"}),s=new o._5(l,e=>e.clearInlineImageStore),d=new o.EF(l,e=>e.tryCreateDataURIFromImage);new o.EF(l,e=>e.cacheInlineImage),new o.EF(l,e=>e.logImageUpload),new o.EF(l,e=>e.logImageLoadError);let c=new o.EF(l,e=>e.loadFromAttachmentServiceUrl),u=new o.EF(l,e=>e.loadFromAttachment),m=new o.EF(l,e=>e.loadFromProxy),p=new o.EF(l,e=>e.loadFromImageTag)},219425:(e,t,n)=>{n.d(t,{Z:()=>o});let o=(0,n(795839).MT)("inlineimages",{inlineImages:{}})()},717189:(e,t,n)=>{n.d(t,{Z:()=>l});var o=n(296637),r=n(240282),i=n(52924),a=n(206339);function l(){if((0,a.cr)("rp-force-disable-imageproxy"))return!1;let e=!0;if((0,r.Z)()){let t=(0,o.Bb)(o.Xm.ExternalImages);e=null===t.externalImagesSelectedOption||0===t.externalImagesSelectedOption}else{let t=(0,i.Z)().PolicySettings;e=t?.ExternalImageProxyEnabled===void 0||t.ExternalImageProxyEnabled}return e}},715931:(e,t,n)=>{n.d(t,{S:()=>i});var o=n(827570),r=n(67199);function i(e,t,n){let i=e.cache.extract(),a=n?`m365Acquisitions:${(0,o.M4)(n)}`:"m365Acquisitions",l=i?.ROOT_QUERY?.[a],s=l?.edges;return s?s||(t?.endWithError(r.SO.ClientError,Error("Unable to read acquisitions cache values")),[]):(t?.endWithError(r.SO.ClientError,Error("Failed to fetch Acquisitions cache.")),[])}},313899:(e,t,n)=>{n.d(t,{O:()=>c});var o=n(206339),r=n(636006),i=n(505376),a=n(15319),l=n(442305),s=n(827570),d=n(511943);function c(e){let t=e??(0,r.Q)();return(0,o.cr)("mos-mos3AppService",t)&&((0,s.M4)(e??(0,d.zl)())===(0,s.M4)((0,d.zl)())||(0,o.MS)())&&((0,l.D)(t)||(0,i.e)(a.L,t))}},949980:(e,t,n)=>{n.d(t,{E:()=>l,ZG:()=>a,b:()=>i});var o=n(402392);let r=new o.nI(()=>n.e(465832).then(n.bind(n,465832))),i=new o._5(r,e=>e.addFolderIdToMoveToMruList),a=new o._5(r,e=>e.removeFolderIdFromMoveToMruList),l=new o._5(r,e=>e.getMoveToMruList)},276911:(e,t,n)=>{n.d(t,{Z:()=>a});var o=n(795839),r=n(827570);let i=new Map;function a(e){let t=`${(0,r.M4)(e)}_mruFolderCache`,n=i.get(t);if(!n){let e=(0,o.MT)(t,{mruFolders:[],isInitialized:!1})();i.set(t,e),n=e}return n}},101962:(e,t,n)=>{n.d(t,{DV:()=>a,FQ:()=>m,R:()=>u,Rv:()=>d,bR:()=>s,eq:()=>l,iH:()=>r,md:()=>c,y3:()=>i});var o=n(795839);let r=(0,o.aD)("ON_MOVETO_SEARCH_TEXT_CHANGES",(e,t)=>({currentSearchText:e,newSearchText:t})),i=(0,o.aD)("ON_VIEW_ALL_MENU_CLICKED",e=>({mailboxInfo:e})),a=(0,o.aD)("ON_CHANGE_MOVE_TO_CONTEXT",e=>({moveToMailboxType:e})),l=(0,o.aD)("ON_CHANGE_MOVE_TO_SHARED_FOLDER_ROOT_ID",e=>({sharedFolderRootId:e})),s=(0,o.aD)("SET_NEW_FOLDER_TEXT",e=>({folderText:e??""})),d=(0,o.aD)("SET_NEW_FOLDER_INVALID_STATE"),c=(0,o.aD)("SET_FOCUS_IN_SEARCH_BOX",e=>({isFocusInSearchBox:e})),u=(0,o.aD)("NEW_FOLDER_MENU_CLICK"),m=(0,o.aD)("RESET_NEW_FOLDER_VIEWSTATE")},184529:(e,t,n)=>{n.d(t,{Z:()=>o});let o=(0,n(795839).aD)("ON_FOLDER_CLICKED_IN_MOVEIN_CONTROL",(e,t)=>({mailboxType:e,folderId:t}))},361559:(e,t,n)=>{n.d(t,{O:()=>o});let o=(0,n(795839).aD)("RESET_MOVETO_STORE")},476026:(e,t,n)=>{n.d(t,{ZP:()=>P,sw:()=>b,pA:()=>y});var o=n(5813),r=n(206339),i=n(110363),a=n(136851),l=n(302140),s=n(276911),d=n(341032),c=n(781694),u=n(521150);function m(){return p((0,a.CW)())}function p(e){let t=(0,u.kL)(e),n=[];return t.forEach(e=>{let t={folderId:e.Id,displayName:e.DisplayName.trim(),parentFolderId:e.ParentFolderId,parentFolderDisplayName:e.ParentFolderDisplayName??"",depth:e.Depth,mailboxInfo:null};n.push(t)}),n}var f=n(571774),g=n(327136),v=n(636006);function h(e){e.sort((e,t)=>e.displayName.localeCompare(t.displayName))}function I(e,t){e.sort((e,n)=>{let o=e.displayName.toLocaleLowerCase(),r=n.displayName.toLocaleLowerCase(),i=0==o.indexOf(t),a=0==r.indexOf(t);return i&&!a?-1:!i&&a?1:0})}function S(e,t){let n=t.mailboxSmtpAddress;return"SharedMailbox"===e&&(0,c.b)().moveToSharedFolderRootId&&(n=(0,c.b)().moveToSharedFolderRootId),{type:e,userIdentity:t.userIdentity,mailboxSmtpAddress:n}}function b(e,t,n,o,r,a){let s=[],c=(0,i.rn)(S(e,t)),u=(0,i.n_)(t),m=0;return u&&n&&"UserMailbox"===e&&s.push({folderId:u.id,displayName:a?u.mailboxInfo.mailboxSmtpAddress:(0,l.ZP)(g.kQ),parentFolderId:u.parentFolderId,parentFolderDisplayName:"",depth:m++,mailboxInfo:u.mailboxInfo}),function e(t,n,o,r,a){let l=i.ZP.folderTable;for(let s of n){if(r&&a===s)continue;let n=l.get(s);if(n&&"notes"!=(0,d.Z)(s)){let r=l.get(n.id);if(!r)continue;let a=r?.parentFolderId;t.push({folderId:r.id,displayName:(0,i.mH)(r),parentFolderId:a??"",parentFolderDisplayName:a?(0,i.mH)(l.get(a)):"",depth:o,mailboxInfo:r.mailboxInfo}),n.childFolderIds&&"deleteditems"!==n.distinguishedFolderType&&e(t,n.childFolderIds,o+1)}}}(s,c,m,o,r),{folders:s,hasExactMatch:!1}}let w=function(e,t,n,r,a,l,u,m,p,g,b={folderTable:i.ZP.folderTable}){n=(n||"").trim().toLocaleLowerCase(),r=r||8;let w=!1,y=n.length>0,P=p??(0,v.Q)(),C=[];C=y||g?function(e,t,n,o,r){let a,l=[];l=r?[...r]:(0,i.rn)(S(e,o));let s=[];for(;a=l.pop();){let e=n.get(a);if(e&&((0,i.mH)(e).toLocaleLowerCase().indexOf(t)>=0&&s.push(a),e.childFolderIds))for(let t of e.childFolderIds)l.push(t)}return s}(e,n,b.folderTable,P,g):(0,s.Z)(P).mruFolders,a&&(C=C.filter(a)),C=function(e){let t={};for(var n=0,o=e.length;n<o;n++){let o=e[n];o&&(t[o]=0)}return Object.keys(t)}(C),(0,o.U$)()&&"UserMailbox"===P.type&&"UserMailbox"===e&&(C=C.filter(e=>i.ZP.folderTable.get(e)?.mailboxInfo.userIdentity===P.userIdentity));let E=[],Z="SharedMailbox"===e?(0,c.b)().moveToSharedFolderRootId:(0,f.a6)(e);for(let e of C){let o=b.folderTable.get(e);if(o){if("notes"===(0,d.Z)(o.id)&&!m||!y&&l&&e===u)continue;let r=(0,i.mH)(o),a=o.parentFolderId||null,s=a?b.folderTable.get(a):null;y&&a==Z&&r.toLocaleLowerCase()==n&&(w=!0),E.push({folderId:o.id,displayName:r,parentFolderId:a??"",parentFolderDisplayName:s?(0,i.mH)(s):"",depth:t,mailboxInfo:o.mailboxInfo})}}return n&&(h(E),I(E,n)),{folders:E.slice(0,r),hasExactMatch:w}};function y(e,t,n,o,i,l,s,d,c,u,f,g){var v,S,y,P,C,E;return(0,r.cr)("grp-loadFolders")&&d&&-1!==d.indexOf("GroupMailbox")&&((0,a.RY)()||c)?(v=t,S=n,y=!0,P=l,C=s,E=c,!S||v?function(e,t,n,o,r,i){let a=i?p(i):m(),l=[],s=!1;for(let t of(e=(e||"").trim().toLocaleLowerCase(),r=r||8,a))(e||!n||t?.folderId!==o)&&(e&&t?.displayName.toLocaleLowerCase()===e&&(s=!0),(!e||t?.displayName.toLocaleLowerCase().indexOf(e)>=0)&&l.push(t));return e&&(h(l),I(l,e)),t&&l.forEach(e=>e.depth=2),{folders:l.slice(0,r),hasExactMatch:s}}(v,y,P,C,8,E):{folders:E?p(E):m(),hasExactMatch:!1}):n&&!t?b(e,o,i,u,f,g):w(e,0,t,8,void 0,l,s,void 0,o)}let P=w},571774:(e,t,n)=>{n.d(t,{Eh:()=>c,XZ:()=>p,a6:()=>u,mm:()=>f,zw:()=>m});var o=n(476026),r=n(781694),i=n(110363),a=n(92935),l=n(341032),s=n(240282),d=n(636006);function c(e){let t=(0,d.Q)();switch(e){case"UserMailbox":return(0,i.n_)(t);case"ArchiveMailbox":return(0,i.fL)(t);default:throw Error("To get root folder id, the type must be either UserMailbox or ArchiveMailbox as other mbx types like shared folders might be dynamic")}}function u(e){return c(e)?.id}function m(e,t,n,a){let l=(0,r.b)(),c=(0,d.Q)(),u=l.moveToMailboxType;switch(e){case"UserMailbox":return t.indexOf("UserMailbox")>-1&&("UserMailbox"!=u||!1===a||l.findText.trim().length>0||n.length<(0,o.sw)("UserMailbox",c).folders.length);case"ArchiveMailbox":return t.indexOf("ArchiveMailbox")>-1&&!(0,s.Z)()&&!!(0,i.fL)(c)&&("ArchiveMailbox"!=u||l.findText.trim().length>0||n.length<(0,o.sw)("ArchiveMailbox",c).folders.length);case"SharedMailbox":return t.indexOf("SharedMailbox")>-1&&!(0,s.Z)();default:return!1}}function p(e){let{moveToMailboxType:t,moveToSharedFolderRootId:n}=(0,r.b)();switch(t){case"ArchiveMailbox":return(0,i.Bj)(a.Yo,e)===i.p0.Loading;case"SharedMailbox":return(0,i.Bj)(n,e)===i.p0.Loading;default:return!1}}function f(e,t){let n=t.displayName;return e[n.toLowerCase()]>1&&"msgfolderroot"!=(0,l.Z)(t.parentFolderId)?t.parentFolderDisplayName+"/"+n:n}},88781:(e,t,n)=>{n.d(t,{H:()=>o});let o=()=>{document.getElementById("689_moveToMenu_SearchBox")?.focus()}},723893:(e,t,n)=>{n.d(t,{vt:()=>m,Kr:()=>s,Ev:()=>u,iR:()=>d.Z});var o=n(402392),r=n(930150),i=n(361559),a=n(679683),l=n(345301);function s(e){let t=[];return t.push({key:"MoveToMenuItemDiv",onRender:()=>l.createElement(m,{mailboxInfo:e.mailboxInfo,actionSource:e.actionSource,createNewFolder:e.createNewFolder,dismissMenu:e.dismissMenu,shouldShowSearchBox:e.shouldShowSearchBox,supportedMailboxTypes:e.supportedMailboxTypes,onFolderClick:e.onFolderClick,getMenuItemsToPrepend:e.getMenuItemsToPrepend,getCustomIcon:e.getCustomIcon,getCustomMenuItemsToAppend:e.getCustomMenuItemsToAppend,disableSelectedFolder:e.disableSelectedFolder,selectedFolderId:e.selectedFolderId,viewAllFoldersDisplayText:e.viewAllFoldersDisplayText})}),{className:e.isSweepDialog?"Hr3aY":"EM8wo",styles:{title:{},container:{},root:{width:e.width?e.width+"px":void 0,overflowY:"auto",overflowX:"hidden",maxHeight:"500px !important"},header:{},list:{}},coverTarget:e.coverTarget,directionalHint:e.directionalHint?e.directionalHint:a.b.bottomLeftEdge,directionalHintFixed:e.directionalHintFixed,items:t,onMenuDismissed:()=>{(0,i.O)(),"ReadingPane"===e.actionSource&&e.dismissMenu?.()},shouldFocusOnMount:!e.shouldShowSearchBox,useTargetWidth:e.useTargetWidth,focusZoneProps:{shouldInputLoseFocusOnArrowKey:()=>!0},calloutProps:{className:"customScrollBar",preventDismissOnScroll:!0,hideOverflow:!1,preventDismissOnResize:!0,autoFocus:!0}}}var d=n(184529);let c=new o.nI(()=>Promise.all([n.e(778996),n.e(508748),n.e(313380),n.e(785745)]).then(n.bind(n,969418))),u=new o.EF(c,e=>e.getFoldersForMoveTo),m=(0,r.h)(c,e=>e.MoveToFolder)},781694:(e,t,n)=>{n.d(t,{C:()=>r,b:()=>a,default:()=>l});var o=n(795839);let r={findText:"",isFocusInSearchBox:!1,newFolderViewState:null,shouldShowAllFolders:!1,moveToMailboxType:"UserMailbox",moveToSharedFolderRootId:""},i=(0,o.MT)("moveToStore",{...r})(),a=()=>i,l=i},241475:(e,t,n)=>{n.d(t,{Ne:()=>i,TL:()=>d,ZW:()=>s,aM:()=>l,bO:()=>a});let o=new(n(402392)).nI(()=>n.e(96387).then(n.t.bind(n,96387,23)),{name:"MarkJS"}),r=null;async function i(){return r||(r=(await o.importModule("markJs")).default),r}let a="span",l="unmark",s="mark",d=9},677368:(e,t,n)=>{n.d(t,{Z:()=>l,k:()=>s});var o=n(502e3),r=n(241475);function i(){return r.ZW+Math.random().toString(36).substr(2,r.TL)}let a=!1;async function l(e,t,n,o,l){if(t.length||a){a=!0;let s=await (0,r.Ne)(),c=s.call(s,e);t.forEach(e=>{let t=0;if("prefix"==l){let o={element:r.bO,className:i(),acrossElements:!0,each:o=>{!d(o)&&(n(e)(o,t),t++)}};c.markRegExp(RegExp(`(\\b)(${e})`,"gmi"),o)}else{let a={element:r.bO,className:i(),acrossElements:!0,separateWordSearch:!1,accuracy:l,each:o=>{!d(o)&&(n(e)(o,t),t++)}};if(o){let t="";for(let n=0;n<e.length;n++)(function(e){let t=e[0];return"+"==t||"\\"==t||"*"==t||"."==t||"["==t||"]"==t||"-"==t||"("==t||")"==t||"{"==t||"}"==t||"?"==t||"^"==t||"$"==t})(e[n])&&(t+="\\"),t+=e[n];c.markRegExp(new RegExp(t),a)}else c.mark(e,a)}}),c.unmark({className:r.aM})}}async function s(e,t,n,o){if(t.length||a){a=!0;let l=await (0,r.Ne)(),s=l.call(l,e);t.forEach(e=>{let t=0,a={element:r.bO,className:i(),acrossElements:!0,separateWordSearch:!1,accuracy:o,each:o=>{!d(o)&&(n(e)(o,t),t++)}};s.markRanges([e],a)}),s.unmark({className:r.aM})}}function d(e){return!e.innerHTML.replace(/ /gi,"").trim()&&((0,o.c)(e,r.aM),!0)}},752655:(e,t,n)=>{n.d(t,{k:()=>o});let o=(0,n(795839).aD)("launchAddinContextMenu",(e,t,n)=>({contextMenuItems:e,contextMenuHostId:t,tabId:n}))},455322:(e,t,n)=>{n.d(t,{P:()=>o});let o=(0,n(795839).aD)("onClickMessageExtensionFlyoutButton",({flyoutButtonElementId:e,targetWindow:t,composeId:n,readingPaneItemId:o,messageExtensionType:r,mailboxInfo:i,element:a})=>({flyoutButtonElementId:e,targetWindow:t,composeId:n,readingPaneItemId:o,messageExtensionType:r,mailboxInfo:i,element:a}))},853047:(e,t,n)=>{n.d(t,{pZ:()=>f,ws:()=>p,mV:()=>g,P1:()=>s.P});var o=n(402392),r=n(900041),i=n(345301);let a={iconName:n(197990).Z,styles:{root:{display:"flex",fontSize:"20px",height:"auto"}}};function l(){return i.createElement(r.X,{appearance:"icon",iconProps:a})}var s=n(455322),d=n(752655),c=n(985816),u=n(496002);(0,n(795839)._F)(c.JY,e=>{let{event:t}=e,n=t.data?.();n?.reactEvent?.preventDefault()});let m=new o.nI(()=>Promise.all([n.e(519875),n.e(150913),n.e(709077),n.e(650146),n.e(431777),n.e(629762),n.e(466459),n.e(99154),n.e(919379)]).then(n.bind(n,100163))),p=(0,o.$y)(m,e=>e.MessageExtensionControlRead,l),f=(0,o.$y)(m,e=>e.MessageExtensionControlCompose,l);new o._5(m,e=>e.launchAddinContextMenu),new o._5(m,e=>e.launchAddinSubCommandsMenu);let g=new o._5(m,e=>e.messageExtensionsRibbonButtonOnExecute);(0,o.Kv)(c.qQ,m,e=>e.messageExtensionFlyoutCommandingOrchestrator),(0,o.Kv)(s.P,m,e=>e.onClickMessageExtensionFlyoutButtonOrchestrator),(0,o.Kv)(d.k,m,e=>e.launchAddinContextMenuOrchestrator),(0,o.Kv)(c.le,m,e=>e.onAddinTriggerOrchestrator),(0,o.Kv)(c.JY,m,e=>e.onAddinSubcommandsTriggerOrchestrator),(0,o.Kv)(c.N,m,e=>e.onAddinMessageExtensionTriggerOrchestrator),(0,o.Kv)(u.Z,m,e=>e.onLaunchMetaOsAddInOrchestrator),(0,o.Kv)(c.wc,m,e=>e.onOpenAppStoreAddInsOrchestrator),(0,o.Kv)(c.Py,m,e=>e.onPinMessageExtensionOrchestrator)},504311:(e,t,n)=>{n.d(t,{u:()=>l,k:()=>a});var o=n(795839);let r=(0,o.MT)("moduleDndStore",{draggedItemType:null})(),i=()=>r,a=(0,o.aD)("OWA_MODULE_SET_DRAGGED_ITEM_TYPE",e=>({typeOfItemDragged:e}));function l(){return i().draggedItemType}(0,o.ed)(a,e=>{i().draggedItemType=e.typeOfItemDragged})},177936:(e,t,n)=>{let o;n.d(t,{m:()=>r});var r=((o=r||{})[o.PrimaryActionClicked=0]="PrimaryActionClicked",o[o.SecondaryActionClicked=1]="SecondaryActionClicked",o[o.DismissClicked=2]="DismissClicked",o[o.AutoDismissed=3]="AutoDismissed",o[o.MouseLeaveAfterTimerCompleted=4]="MouseLeaveAfterTimerCompleted",o[o.NotificationBarUnmounted=5]="NotificationBarUnmounted",o)},770828:(e,t,n)=>{n.d(t,{HD:()=>s,II:()=>a,fY:()=>d,m:()=>r.m,r6:()=>l});var o=n(402392),r=n(177936);let i=new o.nI(()=>n.e(321027).then(n.bind(n,321027)),{name:"NotificationBar"}),a=(0,o.$y)(i,e=>e.NotificationBarHost),l=new o._5(i,e=>e.showNotification),s=new o._5(i,e=>e.dismissNotification),d=new o.EF(i,e=>e.clearNotificationBar)},814231:(e,t,n)=>{n.d(t,{F:()=>r});var o=n(569775);function r(e,t,n,r,i,a){let l=(()=>{switch(t){case"MessageCompose":return(0,o.V)({anchorElementId:r,scenario:"MessageCompose",activeContentTabId:n,composeId:i});case"MessageRead":return(0,o.V)({anchorElementId:r,scenario:"MessageRead",activeContentTabId:n,readingPaneItemId:a})}})();return{type:"launch",originator:"LaunchTile",data:()=>({tileID:e,launchContext:l})}}},569775:(e,t,n)=>{n.d(t,{V:()=>r});var o=n(579673);function r(e){switch(e.scenario){case"MessageCompose":case"CalendarCompose":return{id:JSON.stringify({scenario:e.scenario,composeId:e.composeId,anchorElementId:e.anchorElementId,activeContentTabId:e.activeContentTabId,mailboxInfo:e.mailboxInfo}),type:o.py.m365_messageextension};case"MessageRead":return{id:JSON.stringify({scenario:e.scenario,readingPaneItemId:e.readingPaneItemId,anchorElementId:e.anchorElementId,activeContentTabId:e.activeContentTabId}),type:o.py.m365_messageextension}}throw Error("Invalid scenario.")}},726240:(e,t,n)=>{n.d(t,{Z:()=>o});let o=new(n(273186)).Y({taskDelay:500})},111179:(e,t,n)=>{n.d(t,{m:()=>i});var o=n(972319),r=n(64906);function i(){switch((0,r.iT)()){case"medium":return o.Ir.size32;case"compact":return o.Ir.size24;default:return o.Ir.size40}}},956089:(e,t,n)=>{n.d(t,{xO:()=>d,q3:()=>i,wE:()=>s,W3:()=>l});var o=n(402392),r=n(478248);function i(e){let t=(0,r.p)(e);return t.SegmentationSettings?.SetPhoto??!1}let a=new o.nI(()=>Promise.all([n.e(592519),n.e(734807),n.e(6961),n.e(649135),n.e(292839)]).then(n.bind(n,253427))),l=new o._5(a,e=>e.mountAndShowPhotoPickerDialog),s=new o._5(a,e=>e.initializeLokiConfiguration),d=(0,o.$y)(a,e=>e.PhotoPickerDialog)},195082:(e,t,n)=>{n.d(t,{Z:()=>c});var o=n(327173),r=n(804e3),i=n(629450),a=n(636283),l=n(104704),s=n(103064),d=n(980231);function c(e,t){let n=(0,r.Z)(e);if(n){let r=t?function(e){let t=(0,l.Z)(e);if(t){let e=(0,s.P)(t.type);return e?.getTabDeeplinkUrl?.(t)||null}return null}(e):null;try{let e=(0,i.J)(n);e&&(0,o.uy)(e),r?((0,d.Z)(n.window),n.window.location.href=r):n.window.close()}catch(e){(0,a.rx)("Fail to close projection: "+e)}}}},980231:(e,t,n)=>{n.d(t,{Z:()=>o});let o=(0,n(795839).aD)("Popout_RemoveProjection",e=>({window:e}))},57962:(e,t,n)=>{n.d(t,{Z:()=>l});var o=n(138252),r=n(795839),i=n(654555),a=n(143358);let l=(0,r.lr)("setPopoutChildState",e=>{let t=(0,o.b)();t.state=e,e==i.S.Ready&&t.isPopoutV2&&window.opener&&(0,a.oi)(window.opener,a.KK.DeeplinkReady,void 0)})},662629:(e,t,n)=>{n.d(t,{Z:()=>o});let o=n(345301).createContext(window)},395831:(e,t,n)=>{let o;n.d(t,{Sb:()=>S.S,dt:()=>g,AT:()=>T,ll:()=>k.Z,JW:()=>E,Vk:()=>F.Z,K5:()=>R,Fj:()=>A,gx:()=>x,tR:()=>v.Z});var r=n(402392),i=n(385669);let a={location:!1,menubar:!1,resizable:!0,scrollbars:!1,status:!1,toolbar:!1},l=-1;var s=n(490284),d=n(652488),c=n(206339);let u="about:blank";var m=n(354915),p=n(67199),f=n(909274);let g=(0,p.mn)({name:"PopoutAddPopout",customData:(e,t,n,o,r,i)=>[(t||"").split("/")[0],i]},function(e,t,n,o,r,g,v){let h,I,S,b;let{deeplinkCallback:w,projectionTabId:y,projectionTargetWindow:P,projectionParentWindow:C}=(n&&(void 0!==n.deeplinkData||n.projectionTabId||n.projectionTargetWindow?(I=n.deeplinkData,(0,s.b)().isAvailable&&(h=n.projectionTabId),S=n.projectionTargetWindow,b=n.projectionParentWindow):I=n),{deeplinkCallback:void 0===I?()=>Promise.resolve(null):"function"==typeof I?I:()=>Promise.resolve(I),projectionTabId:h,projectionTargetWindow:S,projectionParentWindow:b}),E=!!y&&!(0,f.X)("platformAppSdk"),Z=new p.Gn(E?"PopoutProjectionPerf":"PopoutDeeplinkPerf");Z.addCustomData({vdir:e,route:t});let M=E?function(e,t){if(!(0,c.cr)("mon-projectionCustomTitlebar"))return u;{let n=`${u}?windowId=${e}`;return t&&(0,c.cr)("nh-restoreWindowPos-sendFreezeDryIdUrlParam")&&(n+=`&fdId=${t}`),n}}(y,v&&v.freezeDryId):(0,d.Z)(e,t,{skipOptinCheck:r,urlParameters:v}),T=P||function(e,t,n){try{var o;t=function(e){let t=25*((l=(l+1)%8)+1),n={left:window.screenX+t,top:window.screenY+t,height:Math.max(25*Math.pow(window.innerHeight,.5),600),width:Math.max(8*Math.pow(window.innerWidth,2/3),800)};return{...a,...n,...e}}(t);let r=(n||window).open(e,"_blank",(o=t,Object.getOwnPropertyNames(o).map(e=>{var t;return`${e}=${"boolean"==typeof(t=o[e])?t?"1":"0":t?String(t):void 0}`}).join(",")));return r&&((0,i.yp)()||(0,i.nb)())&&t&&void 0!==t.left&&void 0!==t.top&&r.moveTo(t.left,t.top),r}catch{return null}}(M,o,C);Z.addToCustomWaterfall(1,"WindowOpened"),E&&(0,m.S)(y),T&&R.import().then(t=>t(e,T,y,w,Z))});var v=n(57962),h=n(510265),I=n(345301);n(143358);var S=n(654555),b=n(138252),w=n(950798);function y(){(0,v.Z)(S.S.Loading),o&&o()}(0,h.P)(function(e){return I.useEffect(()=>{(0,c.cr)("rp-popoutsDebug")||y()},[]),I.createElement("div",{className:"BZeWz"},(0,b.b)().state==S.S.Loading?I.createElement("span",null,I.createElement(w.$,null),e.loadingString):I.createElement("button",{onClick:y},"Get Data"))},"PopoutLoadingView");var P=n(511943),C=n(636283);function E(e,t,n,o){if(!n&&!t&&!o)return C.g4.warn("Conversation, Item, or InternetMessage Id must be provided"),"";let r="";if(o)r="readimid/"+encodeURIComponent(btoa(o));else{if(r=n?"readconv/":"read/",e){let t=e.mailboxSmtpAddress.split("@");"GroupMailbox"==e.type?r+=`group/${t[1]}/${t[0]}/`:(0,P.Ly)().length>1&&e.userIdentity&&(r+=`account/${t[1]}/${t[0]}/`)}r+=encodeURIComponent(n||t||"")}return r}var Z=n(397450),M=n(224646);function T(e,t,n){if(e?.Id){let o=(0,d.Z)("mail",E(e.mailboxInfo,e.Id),{isStandalone:!!n,urlParameters:t});return(0,M.ZP)((0,Z.P)(),o)}return null}var F=n(401851),k=n(855152);let x=new r.nI(()=>n.e(116458).then(n.bind(n,333226))),R=new r.EF(x,e=>e.bootPopout),A=new r._5(x,e=>e.closePopout)},855152:(e,t,n)=>{n.d(t,{Z:()=>r});var o=n(490284);function r(e){return(0,o.b)().projections.filter(t=>t.tabId==e)[0]}},138252:(e,t,n)=>{n.d(t,{b:()=>d});var o=n(654555),r=n(795839),i=n(256369),a=n(300011);let l={state:o.S.NotStarted,isPopoutV2:(0,a.mn)(i.Cg)==i.Bt},s=(0,r.MT)("popoutChild",l)(),d=()=>s},490284:(e,t,n)=>{n.d(t,{Z:()=>r,b:()=>i});let o=(0,n(795839).MT)("popoutParent",{projections:[],isAvailable:!1})(),r=o,i=()=>o},654555:(e,t,n)=>{let o;n.d(t,{S:()=>r});var r=((o=r||{})[o.NotStarted=0]="NotStarted",o[o.Loading=1]="Loading",o[o.Ready=2]="Ready",o)},599461:(e,t,n)=>{n.d(t,{Z:()=>a});var o=n(994658),r=n(195082),i=n(804e3);function a(e){if(e&&e!==window){let t=(0,i.Z)(e);t&&(0,r.Z)(t.tabId,!1)}else(0,o.Z)()&&e&&e.close()}},256369:(e,t,n)=>{n.d(t,{Bt:()=>r,Cg:()=>o,FQ:()=>a,N9:()=>i});let o="popoutv2",r="1",i="_owa_projection_root",a="_owa_projection_loading"},143358:(e,t,n)=>{let o;n.d(t,{KK:()=>i,kW:()=>l,oi:()=>a});var r=n(397450),i=((o=i||{})[o.Unknown=0]="Unknown",o[o.PopoutReady=1]="PopoutReady",o[o.SetData=2]="SetData",o[o.CloseWindow=3]="CloseWindow",o[o.DeeplinkReady=4]="DeeplinkReady",o[o.Discard=5]="Discard",o);function a(e,t,n){let o={version:2,type:t,serializedData:JSON.stringify(n)};e.postMessage(JSON.stringify(o),e.location.origin)}function l(e){if((0,r.P)()==e.origin){let t;try{t=JSON.parse(e.data)}catch{return null}if(t&&2==t.version)return t}return null}},652488:(e,t,n)=>{n.d(t,{Z:()=>d});var o=n(195737),r=n(506296),i=n(300011),a=n(461362),l=n(364638),s=n(256369);function d(e,t,n={}){if("reminders"===e||"addCalendars"===e)return"";let d=n.isStandalone?{}:{[s.Cg]:s.Bt,version:(0,o.VJ)()},c=n.urlParameters||{};return Object.keys(c).map(e=>{d[e]=c[e]}),function(e,t,n,o){n&&((o=o||{}).minus="");let s="";if(o){let e=(0,i.nM)();(0,a.c)(e),Object.keys(o).filter(e=>e).forEach(t=>e[t]=o[t]),s="?"+(0,i.Pz)(e)}let d=l.I()?.pathname.indexOf("hosted")!=-1,c=(0,r.Z)(e)+"deeplink/",u=`/${d?"hosted/":""}${c}`;return`${u}${t}${s}`}(e,t,n.skipOptinCheck,d)}},804e3:(e,t,n)=>{n.d(t,{Z:()=>r});var o=n(490284);function r(e){return o.Z.projections.filter(t=>t.tabId==e||t.window==e)[0]}},629450:(e,t,n)=>{n.d(t,{J:()=>r,d:()=>i});var o=n(256369);function r(e){return e?.window.document.getElementById(o.N9)}function i(e){return e?.window.document.getElementById(o.FQ)}},11265:(e,t,n)=>{n.d(t,{Z:()=>r});var o=n(804e3);function r(e){let t=(0,o.Z)(e);return t?t.tabId:null}},401851:(e,t,n)=>{n.d(t,{Z:()=>r});var o=n(994658);function r(e){let t=e&&e!==window;return(0,o.Z)()||!!t}},354915:(e,t,n)=>{n.d(t,{S:()=>r,b:()=>i});let o=[],r=e=>{for(let t of o)t(e)},i=e=>{o.push(e)}},933293:(e,t,n)=>{n.d(t,{Z:()=>o});function o(e){let t=null,n=null;if(e.clientX||e.clientY?(t=e.clientX,n=e.clientY):e.changedTouches&&e.changedTouches.length>0&&(t=e.changedTouches[0].clientX,n=e.changedTouches[0].clientY),t||n)return{x:t,y:n};let o=e.currentTarget.getBoundingClientRect();return{x:o.left+o.width/2,y:o.top+o.height/2}}},333496:(e,t,n)=>{n.d(t,{b:()=>l});var o=n(795839),r=n(787012),i=n(827570);let a=new Map;function l(e){let t=`${(0,i.M4)(e)}_protection`,n=a.get(t);if(!n){let e=function(e){let t={clpLabels:[],learnMoreUrl:"",hasMandatoryLabel:!1,hasMandatoryTeamworkLabel:!1,labelInheritanceType:"",rmsTemplates:new r.ObservableMap,messageClassifications:new r.ObservableMap,dlpRuleConfig:{isAnyPolicyEnforced:!0,dlpRuleResults:new r.ObservableMap},retainMessageHeaderInOutlook:""};return(0,o.MT)(e,t)()}(t);a.set(t,e),n=e}return n}},644234:(e,t,n)=>{n.d(t,{Z:()=>o});let o=(0,n(795839).aD)("ADD_PUBLIC_FOLDER_TO_STORE",(e,t)=>({state:e,item:t}))},465585:(e,t,n)=>{n.d(t,{Z:()=>o});let o=(0,n(795839).aD)("REMOVE_FAVORITE_FROM_PUBLIC_FOLDER_STORE",e=>({folderId:e}))},797208:(e,t,n)=>{n.d(t,{O5:()=>c,lM:()=>s.Z});var o=n(402392),r=n(509644),i=n(644234),a=n(795839);(0,a.ed)(i.Z,e=>{let{state:t,item:n}=e,o=n.id;t.folderTable.has(o)||t.folderTable.set(o,n)});var l=n(465585),s=n(17725);(0,a.ed)(l.Z,e=>{let{folderId:t}=e;s.Z.folderTable.has(t)&&s.Z.folderTable.delete(t)}),n(192412);let d=new o.nI(()=>Promise.all([n.e(382092),n.e(37315)]).then(n.bind(n,37315)),{name:"PublicFolderFavorite"});(0,o.Kv)(r.Z,d,e=>e.loadPublicFolderFavoritesOchestrator);let c=(0,o.$y)(d,e=>e.PostedToLine)},192412:(e,t,n)=>{n.d(t,{Z:()=>r});var o=n(49187);function r(e){return{type:"PublicMailbox",userIdentity:(0,o.fF)().userIdentity,mailboxSmtpAddress:e}}},17725:(e,t,n)=>{n.d(t,{Z:()=>a});var o=n(787012),r=n(795839);let i={folderTable:new o.ObservableMap,rootFolder:null},a=(0,r.MT)("publicFolderFavoriteStore",i)()},648647:(e,t,n)=>{n.d(t,{Z:()=>l});var o=n(426474),r=n(943844),i=n(14402);let a=0;function l(e,t,n,l,s){return{mailboxInfo:e,recipientWellId:`rw-${++a}`,queryString:"",recipients:[],isDirty:!1,shouldShowContactPicker:!1,findResultSet:[],findResultType:r.m.None,isSearching:!1,directorySearchType:r.r.None,dropViewState:(0,o.Z)(),findPeopleFeedbackManager:t,numberOfCacheResults:0,recipientEditorViewState:(0,i.Z)(e,t,n,s),searchScenario:n,postMessageToHostOnComposeDirty:l}}},546275:(e,t,n)=>{n.d(t,{D:()=>i});var o=n(402392);let r=new o.nI(()=>n.e(57257).then(n.bind(n,573990)),{name:"RecipientCache"}),i=new o._5(r,e=>e.initializeCache)},461116:(e,t,n)=>{n.d(t,{Z:()=>u});var o=n(339313),r=n(730053),i=n(710817),a=n(795839),l=n(715381),s=n(224886),d=n(34704);let c=(0,a.aD)("addRecipientsToRecipientWell",(e,t,n=window)=>({newRecipients:e,recipientWell:t,targetWindow:n})),u=c;(0,a.ed)(c,e=>{let{recipientWell:t}=e;t.recipients.splice(t.recipients.length,0,...e.newRecipients),t.isDirty=!0}),(0,a._F)(c,e=>{let{newRecipients:t,recipientWell:n}=e,a=n.mailboxInfo;a&&t.forEach(async e=>{if(!e.isPendingResolution)return;let t=(0,o.Z)(e.persona.EmailAddress),d=(0,s.Z)(n),c=await r.Zk.import().then(e=>e(a,t,d));if(d&&null===c){let t=n.findPeopleFeedbackManager?.conversationId||(0,l.u)();r.$8.import().then(n=>n(a,e.persona,t)),n.findPeopleFeedbackManager&&(n.findPeopleFeedbackManager.conversationId=(0,l.u)())}(0,i.Z)(e,c,t)}),e.recipientWell.isDirty&&(0,d.b)(e.recipientWell.postMessageToHostOnComposeDirty??!1)})},710817:(e,t,n)=>{n.d(t,{Z:()=>s});var o=n(339313),r=n(211834),i=n(307248),a=n(795839);let l=(0,a.aD)("resolvePendingPersonaOnRecipient",(e,t,n)=>({recipient:e,nextPersona:t,searchedString:n}));(0,a.ed)(l,({recipient:e,nextPersona:t,searchedString:n})=>{(0,o.Z)(e.persona.EmailAddress)===n&&(e.isPendingResolution=!1,t&&(e.persona=t,e.isValid=!0,e.displayText=(0,r.Z)(t.EmailAddress),e.editKey=(0,i.h)()))});let s=l},583107:(e,t,n)=>{n.d(t,{Z:()=>o});let o=e=>e&&0!==e.length?e.filter(e=>!!e).reduce((e,t)=>[...e,...function(e){return e?.recipients?e.recipients.slice():[]}(t)],[]):[]},307248:(e,t,n)=>{n.d(t,{h:()=>i,v:()=>o});let o="REK",r=0;function i(){return o+("000000"+(r++).toString(16)).slice(-6)}},34704:(e,t,n)=>{n.d(t,{b:()=>i});var o=n(206339),r=n(659976);function i(e){(0,o.cr)("cmp-dirtyStateOpx")&&e&&(0,r.WZ)().sendScenarioData({action:"IsDirty",result:"Metadata"})}},14402:(e,t,n)=>{n.d(t,{Z:()=>a});var o=n(943844),r=n(37135);let i=0;function a(e,t,n,a){return{editorId:(i++).toString(),...{...(0,r.Z)(),mailboxInfo:e,queryString:"",findResultSet:[],isSearching:!1,directorySearchType:o.r.None,selectedRecipientIndex:-1,selectedHeaderIndex:-1,selectedFooterIndex:-1,findResultType:o.m.None,findPeopleFeedbackManager:t,currentRenderedQueryString:"",numberOfCacheResults:0,searchScenario:n},recipientsChangedStamp:0,focusOnInit:!!a}}},561417:(e,t,n)=>{n.d(t,{D:()=>s,i:()=>l});var o=n(883712),r=n(211834),i=n(764134),a=n(307248);let l={isContextMenuOpen:!1,isSelected:!1,isExpanding:!1,isEditing:!1,isFadedOut:!1,expansionStatus:o.X.None,members:[]};function s(e,t){return{...l,editKey:(0,a.h)(),isValid:(0,i.Z)(e),displayText:(0,r.Z)(e,t)}}},935340:(e,t,n)=>{n.d(t,{K:()=>s});var o=n(63512),r=n(967097),i=n(159372),a=n(561417),l=n(307248);function s(e){let t=(0,o.Z)(e),n=(0,r.Z)(t.address,t.displayName);return null===n?{...a.i,editKey:(0,l.h)(),isValid:!1,isPendingResolution:!0,displayText:e,persona:{EmailAddress:(0,i.Z)(e),queryLength:e.length}}:{...(0,a.D)(n),isPendingResolution:!0,persona:{EmailAddress:n,queryLength:e.length}}}},159372:(e,t,n)=>{n.d(t,{Z:()=>o});function o(e,t){return{MailboxType:"OneOff",RoutingType:"SMTP",EmailAddress:e,Name:t||e}}},63512:(e,t,n)=>{n.d(t,{Z:()=>l});let o=/^"?(.*?)"?\s*\(([^\(]*?)\)$/,r=/^"?(.*?)"?\s*<([^<]*?)>$/,i=/^"?(.*?)"?\s*\[([^\[]*?)\]$/,a=/^"?(.*?)"?\s*{([^\{]*?)}$/;function l(e){if("string"!=typeof e)return e;let t=e.trim(),n=t.match(o)||t.match(r)||t.match(i)||t.match(a);return n?n[1].length?{displayName:n[1],address:n[2]}:{address:n[2]}:{address:t}}},211834:(e,t,n)=>{n.d(t,{Z:()=>l});var o=n(821858),r=n(339313),i=n(240282);let a=(e,t)=>{let n=t||e.Name;if(!n)return!0;let r=(0,o.H)(n),a=function(e,t){return e==t||e&&t&&e.toLowerCase()==t.toLowerCase()}(n,e.EmailAddress??""),l=-1!==n.indexOf("@"),s=!(0,i.Z)()&&("ExternalMailbox"===e.MailboxType||"LinkedIn"===e.MailboxType),d="OneOff"===e.MailboxType||"Unknown"===e.MailboxType;return!!e.EmailAddress&&!("SMTP"===e.RoutingType&&a)&&(r||l||s||d)},l=function(e,t){let n=t||e.Name,i=(0,o.H)(n);return a(e,t)?i?(0,r.Z)(e):`${n} <${(0,r.Z)(e)}>`:n}},339313:(e,t,n)=>{n.d(t,{Z:()=>o});function o(e){if("SMTP"===e.RoutingType||void 0===e.RoutingType)return e.EmailAddress;let t="MAPIPDL"===e.RoutingType&&e.ItemId?.Id||e.EmailAddress;return`${e.RoutingType}:${t}`}},764134:(e,t,n)=>{n.d(t,{Z:()=>r});var o=n(312139);function r(e){return"SMTP"!=e.RoutingType||void 0!=e.EmailAddress&&(0,o.ZP)(e.EmailAddress)}},312139:(e,t,n)=>{n.d(t,{DA:()=>c,J4:()=>d,ZP:()=>p,bM:()=>m,kR:()=>u});let o="A-Za-zªµºÀ-ÖØ-öø-ˈ-Ë‘Ë -ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ÒÒŠ-Ô¯Ô±-Õ–Õ™Õ¡-Ö‡×-תװ-×²Ø -يٮٯٱ-Û“Û•Û¥Û¦Û®Û¯Ûº-Û¼Û¿ÜÜ’-ܯÝ-ޥޱߊ-ßªß´ßµßºà €-à •à šà ¤à ¨à¡€-ࡘࢠ-ࢴऀ-५ॱ-ঀঅ-ঌà¦à¦à¦“-নপ-রলশ-হঽৎড়à§à§Ÿ-ৡৰৱਅ-ਊà¨à¨à¨“-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-àªàª-ઑઓ-નપ-રલળવ-હઽà«à« ૡૹଅ-ଌà¬à¬à¬“-ନପ-ରଲଳଵ-ହଽàœààŸ-à¡à±à®ƒà®…-ஊஎ-à®à®’-கஙசஜஞடணதந-பம-ஹà¯à°…-ఌఎ-à°à°’-నప-హఽౘ-ౚౠౡಅ-ಌಎ-à²à²’-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-à´à´’-ഺഽൎൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-à·†à¸-ะาำเ-ๆàºàº‚ຄງຈຊàºàº”-ທນ-ຟມ-ຣລວສຫàº-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿá-á•áš-áá¡á¥á¦á®-á°áµ-á‚á‚Žá‚ -ჅჇáƒáƒ-ჺჼ-ቈቊ-á‰á‰-ቖቘቚ-á‰á‰ -ኈኊ-áŠáŠ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-áŒáŒ’-ጕጘ-ášáŽ€-áŽáŽ -áµá¸-á½á-ᙬᙯ-ᙿáš-áššáš -ᛪᛱ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱá€-á‘á -á¬á®-á°áž€-ឳៗៜá -ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞá¥-á¥á¥°-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳá…-á‹á®ƒ-ᮠᮮᮯᮺ-ᯥᰀ-á°£á±-á±á±š-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-á¼á¼ -ὅὈ-á½á½-ὗὙὛá½á½Ÿ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-á¿Œá¿-á¿“á¿–-Ίῠ-Ῥῲ-ῴῶ-ῼâ±â¿â‚-ₜℂℇℊ-â„“â„•â„™-â„ℤΩℨK-â„ℯ-ℹℼ-â„¿â……-ⅉⅎↃↄⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧâ´â´°-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-â·Žâ·-â·–â·˜-ⷞⸯ々〆〱-〵〻〼ã-ã‚–ã‚-ã‚Ÿã‚¡-ヺー-ヿㄅ-ã„ㄱ-ㆎㆠ-ㆺㇰ-ㇿã€-䶵一-鿕ꀀ-ê’Œê“-ꓽꔀ-ꘌê˜-ꘟꘪꘫꙀ-ꙮꙿ-êšêš -ꛥꜗ-ꜟꜢ-ꞈꞋ-êžêž°-ꞷꟷ-ê ê ƒ-ê …ê ‡-ê Šê Œ-ê ¢ê¡€-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꤊ-ꤥꤰ-ê¥†ê¥ -ꥼꦄ-ꦲê§ê§ -ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ê©‚ê©„-ê©‹ê© -ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ê«ê« -ꫪꫲ-ê«´ê¬-ꬆꬉ-ꬎꬑ-ê¬–ê¬ -ꬦꬨ-ꬮꬰ-êšêœ-ê¥ê°-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-ï©ï©°-龎ff-stﬓ-ﬗï¬ï¬Ÿ-ﬨשׁ-זּטּ-לּמּï€ïïƒï„ï†-ﮱﯓ-ï´½ïµ-ï¶ï¶’-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Zï½-zヲ-하-ᅦᅧ-ï¿ï¿’-ï¿—ï¿š-ï¿œ0-9Ù -Ù©Û°-۹߀-߉०-९০-৯੦-੯૦-૯à¦-à¯à¯¦-௯౦-౯೦-೯൦-൯෦-à·¯à¹-๙à»-໙༠-༩á€-á‰á‚-႙០-៩á -á ™á¥†-á¥á§-᧙᪀-᪉áª-᪙á-á™á®°-᮹᱀-᱉á±-á±™ê˜ -꘩ê£-꣙꤀-꤉ê§-꧙꧰-꧹ê©-꩙꯰-꯹ï¼-ï¼™",r=RegExp("^(["+o+"!#$%&'*+/=?^_`{|}~-](?:["+o+".!#$%&'*+/=?^_`{|}~-]*["+o+"!#$%&'*+/=?^_`{|}~-])?)(?=@)"),i=RegExp('^("['+o+'.!#$%&\'*+\\/=?^_`{|}~\\-(),:;<>@[\\\\\\]" ]*")(?=@)'),a=RegExp("^["+o+"-]+(?:\\.["+o+"-]+)*$"),l=/[^\\]"/,s=/^[A-Za-z0-9_-]+:.*$/,d=e=>{let t=e.match(r);if(t)return -1!==t[0].indexOf("..")?null:t[0];let n=e.match(i);if(n){let e=l.exec(n[0]);return e&&e.index!==n[0].length-2?null:n[0]}return null};function c(e){if(!e)return!1;let t=d(e);return!!t&&!!e.substring(t.length+1).match(a)}function u(e){return s.test(e)}function m(e){return!d(e)}function p(e){return c(e)||u(e)}},967097:(e,t,n)=>{n.d(t,{Z:()=>r});var o=n(312139);function r(e,t){if((0,o.DA)(e))return{MailboxType:"OneOff",RoutingType:"SMTP",EmailAddress:e,Name:t||e};if((0,o.kR)(e)){let[n,o]=e.split(":",2);return{MailboxType:"OneOff",RoutingType:n.toUpperCase(),EmailAddress:o,Name:t||o}}return null}},730053:(e,t,n)=>{n.d(t,{$8:()=>u,Ln:()=>c,Zk:()=>i,fH:()=>s,fV:()=>d,nA:()=>l,uR:()=>a});var o=n(402392);let r=new o.nI(()=>n.e(773573).then(n.bind(n,773573))),i=new o.EF(r,e=>e.searchSuggestionsForSinglePersona),a=new o.EF(r,e=>e.searchSuggestions),l=new o.EF(r,e=>e.logResponseReceived),s=new o.EF(r,e=>e.logRenderLayout),d=new o.EF(r,e=>e.logClientDataSource),c=new o.EF(r,e=>e.logSearchActions),u=new o.EF(r,e=>e.logManuallyAddedContact)},224886:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(250571),r=n(206339);function i(e){let t=e.searchScenario;return(0,r.cr)("rp-3STelemetryEvents")&&void 0!==t&&t===o.C.MailCompose}},943844:(e,t,n)=>{let o,r;n.d(t,{m:()=>i,r:()=>a});var i=((o=i||{})[o.None=0]="None",o[o.Cache=1]="Cache",o[o.FindPeople=2]="FindPeople",o[o.SearchDirectory=3]="SearchDirectory",o[o.MixedCacheLive=4]="MixedCacheLive",o),a=((r=a||{})[r.None=0]="None",r[r.Auto=1]="Auto",r[r.Manual=2]="Manual",r)},883712:(e,t,n)=>{let o;n.d(t,{X:()=>r,Z:()=>i});var r=((o=r||{})[o.None=0]="None",o[o.InProgress=1]="InProgress",o[o.Failed=2]="Failed",o[o.SucceededWithDLOrGroupMembers=3]="SucceededWithDLOrGroupMembers",o[o.SucceededWithoutDLOrGroupMembers=4]="SucceededWithoutDLOrGroupMembers",o);let i=r},732635:(e,t,n)=>{n.d(t,{er:()=>r.e,C2:()=>r.C,x7:()=>i.x,Yd:()=>a.Z,dy:()=>s,jy:()=>d.Z,AJ:()=>u,yL:()=>f,FN:()=>m,Yp:()=>p,Ok:()=>g});var o=n(402392),r=n(508494),i=n(173597),a=n(216481),l=n(240282);function s(e){if(!(0,l.Z)(void 0,e)){let t=(0,a.Z)(e);return t.EnableReportToMicrosoft||t.ReportJunkToCustomizedAddress&&t.ReportPhishToCustomizedAddress&&t.ReportNotJunkToCustomizedAddress}return!0}n(939881);var d=n(255427);let c=new o.nI(()=>Promise.all([n.e(437255),n.e(294152)]).then(n.bind(n,294152)),{name:"Reporting"}),u=new o._5(c,e=>e.fetchReportDialogStrings),m=new o._5(c,e=>e.getReportDialogStrings),p=new o._5(c,e=>e.showPostReportDialog),f=new o._5(c,e=>e.getReportDialogLearnMoreLinkProperties),g=new o._5(c,e=>e.showPreReportDialog)},216481:(e,t,n)=>{n.d(t,{Z:()=>r});var o=n(550431);function r(e){return(0,o.vG)(e).reportSubmissionPolicy}},939881:(e,t,n)=>{n.d(t,{Z:()=>l});var o=n(300011),r=n(758035),i=n(240282),a=n(216481);function l(e){return(0,r.sj)()&&(0,o.nM)().postreport?"true"===(0,o.nM)().postreport:!(0,i.Z)(void 0,e)&&(0,a.Z)(e).PostSubmitMessageEnabled}},255427:(e,t,n)=>{n.d(t,{Z:()=>d});var o=n(300011),r=n(758035),i=n(216481),a=n(240282),l=n(478248),s=n(206339);function d(e,t,n=!1){return(0,r.sj)()&&(0,o.nM)().prereport?"true"===(0,o.nM)().prereport:(0,a.Z)(void 0,t)?!e||(0,s.cr)("tri-reportUnsubscribeBlock")&&n:!!(0,i.Z)(t).PreSubmitMessageEnabled&&!l.p(t)?.UserOptions?.CheckForReportJunkDialog}},550431:(e,t,n)=>{n.d(t,{vG:()=>p});var o=n(795839),r=n(827570),i=n(732635),a=n(747731),l=n(478248);function s(e){if(e)return{EnableReportToMicrosoft:e.EnableReportToMicrosoft,PreSubmitMessageEnabled:e.PreSubmitMessageEnabled,PostSubmitMessageEnabled:e.PostSubmitMessageEnabled,ReportJunkToCustomizedAddress:e.ReportJunkToCustomizedAddress,ReportNotJunkToCustomizedAddress:e.ReportNotJunkToCustomizedAddress,ReportPhishToCustomizedAddress:e.ReportPhishToCustomizedAddress}}let d=(0,o.lr)("onReportSubmissionPolicyFetched",(e,t)=>{p(e).reportSubmissionPolicy=t}),c=!1;async function u(e){if(c)return;c=!0;let t=await (0,a.xe)("/ows/api/beta/BootSettings/ReportSubmissionPolicy",void 0,!1,void 0,!0,void 0,void 0,e);c=!1,t?.id==="ReportSubmissionPolicy"&&t?.value&&d(e,s(t.value))}let m=(0,o.MT)("reportingStoreMap",{stores:new Map})();function p(e){let t=(0,r.M4)(e),n=m.stores.get(t);if(!n){let o=function(e){let t=l.p(e)?.PrimeSettings?.Items;return t?.filter(e=>e?.Id==="ReportSubmissionPolicy").map(e=>s(e?.Value))?.[0]}(e);n={reportSubmissionPolicy:o||{EnableReportToMicrosoft:!0,PreSubmitMessageEnabled:!0,PostSubmitMessageEnabled:!1,ReportJunkToCustomizedAddress:!1,ReportNotJunkToCustomizedAddress:!1,ReportPhishToCustomizedAddress:!1},reportDialogStringsInformation:null},m.stores.set(t,n),o||u(e),i.AJ.importAndExecute(e)}return n}},173597:(e,t,n)=>{n.d(t,{x:()=>i});var o=n(15583),r=n(302140);function i(e){let t;let n=e.length;switch(n){case 0:t="";break;case 1:t=(0,r.WU)((0,r.ZP)(o.Mi),e[0]);break;case 2:t=(0,r.WU)((0,r.ZP)(o.a$),e[0],e[1]);break;case 3:t=(0,r.WU)((0,r.ZP)(o.c0),e[0],e[1]);break;default:t=(0,r.WU)((0,r.ZP)(o.sC),e[0],e[1],n-2)}return t}},508494:(e,t,n)=>{let o,r;n.d(t,{C:()=>i,e:()=>a});var i=((o=i||{}).Phishing="phish",o.Junk="junk",o.NotJunk="notJunk",o),a=((r=a||{}).BlockSender="blockSender",r.Unsubscribe="unsubscribe",r.Multi="multi",r.None="none",r)},976007:(e,t,n)=>{let o;n.d(t,{O:()=>s,x:()=>i});var r=n(345301),i=((o=i||{})[o.horizontal=0]="horizontal",o[o.vertical=1]="vertical",o),a=n(302140),l=n(150064);let s=r.forwardRef(function(e,t){let{direction:n,onResized:o,onResizing:s,setNewDimensions:d,leftOffset:m,...p}=e={direction:i.vertical,setNewDimensions:!1,...e},f=m||0,[g,v]=r.useState(!1),h=()=>e.direction===i.vertical&&(0,a.fI)(),I=r.useCallback(e=>{e?.preventDefault(),e?.stopPropagation();let t=e?.currentTarget;if(!t)return;let r=n===i.vertical,a=t.previousSibling,l=t.nextSibling,m=a?.parentElement||l?.parentElement,p=r?c:u,g=p(a),I=p(l),S=Math.max(g.min-g.current,I.current-I.max),b=Math.min(g.max-g.current,I.current-I.min);if(h()){let e=S;S=-b,b=-e}let w=r?e.clientX:e.clientY,y=0;v(!0);let P=e=>Math.min(b,Math.max(S,e-w)),C=e=>{e&&(y=P(r?e.clientX:e.clientY),r?t.style.left=f+y+"px":t.style.top=y+"px",s&&s(g.current+y,I.current-y))},E=()=>{m?.removeEventListener("mousemove",C),m?.removeEventListener("mouseup",Z),m?.removeEventListener("mouseleave",M),t.style.left=f+"px",t.style.top="",v(!1)},Z=()=>{E(),h()&&(y=-y);let e=g.current+y,t=I.current-y;d&&(r?(a&&(a.style.width=e+"px"),l&&(l.style.width=t+"px")):(a&&(a.style.height=e+"px"),l&&(l.style.height=t+"px"))),o&&o(e,t)},M=()=>{E()};m?.addEventListener("mousemove",C),m?.addEventListener("mouseup",Z),m?.addEventListener("mouseleave",M)},[n,o,s,d]),S=(0,l.Z)("zzOrI",e.direction===i.horizontal?"lMKbQ":"t1VdD",g&&"sfxJz",e.className);return r.createElement("div",{...p,className:S,onMouseDown:I,ref:t})});function d(e,t){return e>=1?e:t*e}function c(e){let t=e?.parentElement?.clientWidth||0;return{min:d(+(e?.getAttribute("data-min-width")||0),t),max:d(+(e?.getAttribute("data-max-width")||0)||window.outerWidth,t),current:e?.offsetWidth||0}}function u(e){let t=e?.parentElement?.clientHeight||0;return{min:d(+(e?.getAttribute("data-min-height")||0),t),max:d(+(e?.getAttribute("data-max-height")||0)||window.outerHeight,t),current:e?.offsetHeight||0}}},981628:(e,t,n)=>{n.d(t,{N:()=>i,b:()=>a});var o=n(714865);let r=new o.nI(()=>Promise.all([n.e(87858),n.e(506620)]).then(n.bind(n,506620)),{name:"RibbonHelp"}),i=new o.EF(r,e=>e.getSLRHelpTab),a=new o.EF(r,e=>e.getMLRHelpTab)},963969:(e,t,n)=>{n.d(t,{w:()=>s});var o=n(798571),r=n(624940),i=n(321885),a=n(302140),l=n(884155);let s=(0,n(75953)._)(function(){return{id:(0,i.w)(11e3),type:(0,l.mu)(1)?o.uh:o.vp,title:(0,a.ZP)(r.ZP.help_tab),controlGroups:{type:(0,l.mu)(1)?o.uh:o.vp,groups:[]},keytipProps:(0,o.Fl)([],11e3,!0)}})},544621:(e,t,n)=>{n.d(t,{ND:()=>i,fl:()=>s,rC:()=>l});var o=n(402392),r=n(288385);function i(e){return r.Z.rootItemIdMap.get(e)}let a=new o.nI(()=>n.e(624897).then(n.bind(n,624897))),l=new o._5(a,e=>e.setRootItemId),s=new o._5(a,e=>e.removeRootItemId)},288385:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(795839);let r={rootItemIdMap:new Map},i=(0,o.MT)("rootItem",r)()},438918:(e,t,n)=>{n.d(t,{N:()=>o});function o(){return{flightControls:{client_event:{flight:"ana-client-event",rate:5},client_error:{flight:"ana-client-error"},client_verbose:{flight:"ana-client-verbose",rate:1},client_network_request:{flight:"ana-client-network-request",rate:1}},verboseWhiteListEvents:["AttachmentRefreshDownloadToken","TabViewActivateTab"]}}},675458:(e,t,n)=>{n.d(t,{X:()=>i});var o=n(345301),r=n(302140);let i=o.forwardRef(function({skipLinkName:e,children:t,regionName:n,...i},a){let l=i["aria-label"];return l=n?l?(0,r.WU)("{0}, {1}",n,l):n:l,o.createElement("div",{tabIndex:-1,...i,"aria-label":l,"data-skip-link-name":e,ref:a,id:`${e}-region`},t)})},166865:(e,t,n)=>{n.d(t,{q:()=>o});let o="IPM.Note.SMIME"},756085:(e,t,n)=>{n.d(t,{$y:()=>I,Bq:()=>f,CL:()=>h,E_:()=>d,Ik:()=>g,Q6:()=>l,Sd:()=>b,XC:()=>v,Zy:()=>u,b1:()=>c,cZ:()=>a,gM:()=>i,i_:()=>S,jV:()=>r,n8:()=>m,tY:()=>s,uL:()=>o,uM:()=>w,uz:()=>p});let o="multipart/signed",r="application/pkcs7-mime",i="application/x-pkcs7-mime",a=".p7m",l="CLSID:56023A83-B4FC-413B-9285-6BB1DAD977A2",s="CLASSID",d="4",c="0800",u=57,m=78,p="IPM.Note.SMIME.MultipartSigned",f="smime-",g="image",v="OwaToSmime",h="SmimeToOwa",I="en-US",S=["Culture","CodePage","AttachmentSizeLimit","UseKeyIdentifier","AllowUserChoiceOfSigningCertificate","IncludeCertificateChainWithoutRootCertificate","IncludeCertificateChainAndRootCertificate","EncryptTemporaryBuffers","SignedEmailCertificateInclusion","IncludeSmimeCapabilitiesInMessage","CopyRecipientHeaders","OnlyUseSmartCard","EncryptionAlgorithms","SigningAlgorithms","AlwaysEncrypt","AlwaysSign","TripleWrapSignedEncryptedMail","BccEncryptedEmailForking"],b="https://microsoftedge.microsoft.com/addons/detail/gamjhjfeblghkihfjdpmbpajhlpmobbp",w="chrome-extension://maafgiompdekodanheihhgilkjchcakm/Options.html"},167880:(e,t,n)=>{n.d(t,{H7:()=>i,N_:()=>l,aB:()=>s,kA:()=>a,wh:()=>d});var o=n(402392);let r=new o.nI(()=>n.e(382294).then(n.bind(n,353771))),i=(0,o.$y)(r,e=>e.LeftNavStorageBar),a=(0,o.$y)(r,e=>e.StorageUpsellBanner),l=new o.EF(r,e=>e.openStorageWarning),s=new o.EF(r,e=>e.navigateToStoragePage),d=new o.EF(r,e=>e.showFreeUpMSQSpaceTeachingMoment)},325108:(e,t,n)=>{n.d(t,{Y:()=>o});let o=(0,n(795839).aD)("onDismissBizBar",e=>({mailboxInfo:e}))},9874:(e,t,n)=>{n.d(t,{F:()=>o});let o=(0,n(795839).aD)("onDismissLeftNavBar",(e,t)=>({mailboxInfo:e,isMSQ:t}))},402376:(e,t,n)=>{n.d(t,{i:()=>o});let o=(0,n(795839).aD)("TRY_VALIDATE_DUMPSTER_QUOTA",e=>({targetWindow:e}))},298881:(e,t,n)=>{n.d(t,{FL:()=>a.F,GB:()=>i.GB,HR:()=>i.HR,I2:()=>r.I,I9:()=>i.I9,Iz:()=>i.Iz,Jj:()=>u,KB:()=>i.KB,YR:()=>l.Y,_g:()=>v,aD:()=>h,az:()=>i.az,cI:()=>b,dM:()=>f,n_:()=>d,nx:()=>p,r4:()=>c,uN:()=>g,w4:()=>m,xb:()=>I,y5:()=>S});var o=n(402392),r=n(106836),i=n(380110),a=n(9874),l=n(325108);let s=new o.nI(()=>n.e(611575).then(n.bind(n,611575)),{name:"UserStorage"}),d=new o._5(s,e=>e.getAccountInformation),c=new o._5(s,e=>e.openedStoragePageOnFull),u=new o.EF(s,e=>e.getStorageStore),m=new o.EF(s,e=>e.tryValidateDumpsterQuota);new o.EF(s,e=>e.hasStateUIDismissalTimePassedGracePeriod);let p=new o.EF(s,e=>e.shouldDisableSend),f=new o.EF(s,e=>e.getLocalStorageKeyName),g=new o.EF(s,e=>e.getShouldShowStorageUpsellBanner),v=new o.EF(s,e=>e.onSelectingAttachmentsSearchFolder),h=new o.EF(s,e=>e.handleOnAwayFromAttachmentsSearchFolder),I=new o._5(s,e=>e.getMicrosoftStorageData),S=new o._5(s,e=>e.mailDeletionTriggerStorageUpdate),b=new o._5(s,e=>e.onStorageUpsell)},106836:(e,t,n)=>{let o;n.d(t,{I:()=>r});var r=((o=r||{}).Normal="normal",o.Nearing="nearing",o.Critical="critical",o.Exceeded="exceeded",o)},380110:(e,t,n)=>{n.d(t,{GB:()=>r,HR:()=>m,I9:()=>c,Iz:()=>d,KB:()=>o,az:()=>p,f3:()=>g,fE:()=>i,hl:()=>u,ko:()=>s,kx:()=>f,nC:()=>a,r3:()=>l});let o=1024,r=1073741824,i="MSQLBCDT",a="MSQLBNDT",l="ESQLBCDT",s="ESQLBNDT",d="BBCDT",c="BBNDT",u=6048e5,m="enabled",p="revoked",f="OneDrive",g="Outlook"},994572:(e,t,n)=>{n.d(t,{s:()=>a});var o=n(478248),r=n(341032),i=n(402376);function a(e,t,n,a=!1){return!!(t&&"deleteditems"===(0,r.Z)(t)&&o.p(e).SessionSettings?.IsDumpsterOverQuota)&&(a||(0,i.i)(n),!0)}},84148:(e,t,n)=>{n.d(t,{e:()=>r});var o=n(291350);function r(){(0,o.EY)("Help")}},629762:(e,t,n)=>{n.d(t,{Di:()=>$,AC:()=>c,aY:()=>q,zD:()=>J.zD,Gc:()=>eh,ff:()=>Y,C:()=>X,nS:()=>J.nS,wG:()=>ev,nY:()=>eS,nd:()=>ey,uE:()=>eC,in:()=>eP,nE:()=>d,s3:()=>eb,gi:()=>eI,If:()=>eZ});var o=n(787012),r=n(795839);let i={addinOptionSurfaceItems:new o.ObservableMap},a=(0,r.MT)("SurfaceActionsStore",i)();var l=n(845407),s=n(827570);let d=(0,l.aD)("setAddinOptionSurfaceItems")(function(e,t){let n=(0,s.M4)(t);a.addinOptionSurfaceItems.set(n,e)});function c(e,t){let n=(0,s.M4)(t);return a.addinOptionSurfaceItems.get(n)?.[e]}var u=n(302140),m=n(343767),p=n(182896),f=n(407912),g=n(509023),v=n(479326),h=n(426824),I=n(239838),S=n(901181),b=n(509140),w=n(482853),y=n(584534),P=n(611331),C=n(682859),E=n(489153),Z=n(380577),M=n(592540),T=n(46230),F=n(487901),k=n(117046),x=n(788801),R=n(83032),A=n(871780),D=n(75548),N=n(233735),_=n(632259),O=n(722439),L=n(884303),V=n(699251),B=n(105976),G=n(570746),U=n(680042),H=n(240282);let W="AGnqle";var K=n(47278),z=n(570753),j=n(121001),Q=n(226383);let $="-";function q(e){switch(e){case"AddAttachment":case"AddClassicAttachment":return(0,u.ZP)("Ycs67");case"InsertLink":return(0,u.ZP)("ImcYjd");case"AddInlineImage":return(0,u.ZP)(b.a);case"AddEmoji":return(0,u.ZP)("VftWgb");case"QuickUse":return(0,u.ZP)("mvdjmb");case"ToggleRibbon":return(0,u.ZP)(S.K);case"SaveDraft":return(0,u.ZP)("slPik");case"InsertSignature":return(0,u.ZP)("huTGwc");case"ShowFrom":return(0,u.ZP)(V.M);case"SetImportance":return(0,u.ZP)("gixKrd");case"ShowMessageOptions":return(0,u.ZP)(G.S);case"SwitchBodyType":return(0,u.ZP)(U.A);case"SensitivityMenu":return(0,u.ZP)(L.LH);case"ProtectMessage":return(0,u.ZP)(g.Es);case"AccChecker":return(0,u.ZP)(m.g);case"ToggleDarkCompose":return(0,u.ZP)("mQjnG");case"ProofingOptions":return(0,u.ZP)("fk$17");case"FluidHeroButton":return(0,u.ZP)("V3Nqkd");case"CustomizeActions":return(0,u.ZP)(W);case"MessageExtensions":return(0,u.ZP)(z.Zn);case"FindTime":return(0,u.ZP)(K._B);default:return""}}function X(e){switch(e){case"SetReaction":return(0,u.ZP)("J8io3b");case"Reply":return(0,u.ZP)(Z.H);case"ReplyAll":return(0,u.ZP)(M.g);case"Forward":return(0,u.ZP)(P.$);case"ForwardEmailAsAttachment":return(0,u.ZP)("qAs5uc");case"ReplyByMeeting":return(0,u.ZP)("CTShPd");case"CopilotReplyByMeeting":return(0,u.ZP)("qa7aod");case"ReportAbuse":return(0,u.ZP)(O.e);case"Popout":return(0,u.ZP)(_.X);case"Delete":return(0,u.ZP)("ZKV8Ue");case"MarkReadUnread":return(0,u.ZP)(R.WF);case"FlagUnflag":return(0,u.ZP)(y.p);case"AssignPolicy":return(0,u.ZP)(f.T);case"AddToSafeSenders":return(0,u.ZP)(D.p);case"MarkJunkNotJunk":return(0,u.ZP)(k.T);case"MarkAsPhishing":return(0,u.ZP)(x._);case"Block":case"BlockOptions":return(0,u.WU)((0,u.ZP)(w.ZY));case"CreateRule":return(0,u.ZP)(v.J);case"Print":return(0,u.ZP)(E.v);case"SaveEmail":return(0,u.ZP)("dhZQXb");case"Translate":return(0,u.ZP)(T.v);case"ShowInImmersiveReader":return(0,u.ZP)(B.K);case"ViewMessageSource":return(0,H.Z)()?(0,u.ZP)("DqKsHd"):(0,u.ZP)("e6kupd");case"ToggleDarkMode":return(0,u.ZP)(C.w);case"ReplyByIM":case"ReplyByTeamsChat":return(0,u.ZP)("OvAswe");case"ReplyAllByIM":case"ReplyAllByTeamsChat":return(0,u.ZP)("jNvuP");case"ReplyByTeamsChatActions":return(0,u.ZP)("qeXWxe");case"OtherReplyActions":return(0,u.ZP)("PNc9h");case"MessageSafety":return(0,u.ZP)(F.H);case"View":return(0,u.ZP)("i42YR");case"CustomizeActions":return(0,u.ZP)(W);case"AdvancedActions":return(0,u.ZP)("d0P5nb");case"MessageExtensions":return(0,u.ZP)(z.Zn);case"MessageRecall":return(0,u.ZP)(j.Y);case"TrackReadReceipts":return(0,u.ZP)(Q.N);default:return""}}function Y(e){switch(e){case"None":return(0,u.ZP)("SsF1_");case"Delete":return(0,u.ZP)(h.w);case"Archive":return(0,u.ZP)(p.n);case"PinUnpin":return(0,u.ZP)(N.C);case"ReadUnread":return(0,u.ZP)("R3eOY");case"FlagUnflag":return(0,u.ZP)(I.C);case"Move":return(0,u.ZP)(A.Q);default:return""}}var J=n(110397),ee=n(91623),et=n(206339),en=n(648043),eo=n(296637),er=n(64906),ei=n(478248),ea=n(732635),el=n(505376),es=n(298371),ed=n(840859),ec=n(227486),eu=n(313899),em=n(656133),ep=n(59114),ef=n(205451),eg=n(438986);function ev(e){let t=(0,H.Z)(void 0,e),n=(0,et.cr)("mon-file-eml-msg")&&(0,eg.Z)(),o=[{key:"Reply",hideInGroup:!0,hideInSxS:!0},{key:"ReplyAll",hideInGroup:!1,hideInSxS:!0},{key:"Forward",hideInGroup:!1,hideInSxS:!0},{key:"-",hideInGroup:!1,hideInSxS:!1}];return!(0,H.Z)(void 0,e)&&(0,ep.c0)("ReplyByMeeting",e)&&o.push({key:"CopilotReplyByMeeting",hideInGroup:!0,hideInSxS:!0}),o.push({key:"ReplyByMeeting",hideInGroup:!0,hideInSxS:!0},{key:"ForwardEmailAsAttachment",hideInGroup:!1,hideInSxS:!0},{key:"-",hideInGroup:!1,hideInSxS:!1},{key:"Delete",hideInGroup:!1,hideInSxS:!0},{key:"-",hideInGroup:!1,hideInSxS:!1},{key:"MarkReadUnread",hideInGroup:!1,hideInSxS:!0},{key:"FlagUnflag",hideInGroup:!0,hideInSxS:!0},{key:"-",hideInGroup:!1,hideInSxS:!1}),(0,et.cr)("mon-teams-ChatAroundEmail")&&(0,ef.Z)(e)?o.push({key:"ReplyByTeamsChatActions",hideInGroup:!0,hideInSxS:!1},{key:"ReplyByTeamsChat",hideInGroup:!0,hideInSxS:!1},{key:"ReplyAllByTeamsChat",hideInGroup:!0,hideInSxS:!1},{key:"-",hideInGroup:!0,hideInSxS:!1}):(0,et.cr)("fwk-skypeBusinessV2")&&o.push({key:"ReplyByIM",hideInGroup:!0,hideInSxS:!1},{key:"ReplyAllByIM",hideInGroup:!0,hideInSxS:!1},{key:"-",hideInGroup:!0,hideInSxS:!1}),ei.p(e)?.SessionSettings?.IsShadowMailbox?(0,ea.dy)(e)&&o.push({key:"MarkJunkNotJunk",hideInGroup:!0,hideInSxS:!0,hideInFileProjection:!0}):(o.push({key:"AddToSafeSenders",hideInGroup:!0,hideInSxS:!0}),(0,ea.dy)(e)&&o.push({key:"MarkJunkNotJunk",hideInGroup:!0,hideInSxS:!0,hideInDeepLink:n,hideInFileProjection:!0},{key:"MarkAsPhishing",hideInGroup:!0,hideInSxS:!0,hideInDeepLink:n,hideInFileProjection:!0}),o.push({key:"Block",hideInGroup:!0,hideInSxS:!0,hideInFileProjection:!0}),(0,H.Z)(void 0,e)&&o.push({key:"ReportAbuse",hideInGroup:!(0,H.Z)(void 0,e),hideInSxS:!0,hideInFileProjection:!0}),o.push({key:"-",hideInGroup:!1,hideInSxS:!1})),t||o.push({key:"AssignPolicy",hideInGroup:!1,hideInSxS:!0,hideInFileProjection:!0},{key:"-",hideInGroup:!1,hideInSxS:!1},{key:"TrackReadReceipts",hideInGroup:!0}),!ei.p(e)?.SessionSettings?.IsShadowMailbox&&(o.push({key:"CreateRule",hideInGroup:!0,hideInSxS:!0}),!t&&(0,em.Z)(e)&&o.push({key:"MessageRecall",hideInGroup:!0})),o.push({key:"Print",hideInGroup:!1,hideInSxS:!1}),(0,el.e)(ed.n,e)&&o.push({key:"Translate",hideInGroup:!0,hideInSxS:!0}),(0,er.BR)()&&o.push({key:"ToggleDarkMode",hideInGroup:!1,hideInSxS:!1}),(0,el.e)(es.m,e)&&o.push({key:"ShowInImmersiveReader",hideInGroup:!1,hideInSxS:!0}),o.push({key:"ViewMessageSource",hideInGroup:!1,hideInSxS:!0},{key:"Popout",hideInGroup:!1,hideInSxS:!0,hideInDeepLink:n,hideInFileProjection:!0}),(0,et.cr)("rp-reactions",e)&&!t&&o.push({key:"SetReaction",hideInGroup:!1,hideInSxS:!0,hideInMailSurfaceSettings:!0,hideInDeepLink:n,hideInFileProjection:!0}),(0,eu.O)(e)&&o.push({key:"MessageExtensions",hideInGroup:!1,hideInSxS:!0,hideInMailSurfaceSettings:!0}),o.push({key:"OtherReplyActions",hideInMailSurfaceSettings:!0},{key:"MessageSafety",hideInMailSurfaceSettings:!0},{key:"BlockOptions",hideInMailSurfaceSettings:!0},{key:"View",hideInMailSurfaceSettings:!0},{key:"CustomizeActions",hideInMailSurfaceSettings:!0},{key:"AdvancedActions",hideInMailSurfaceSettings:!0},{key:"Addins",hideInMailSurfaceSettings:!0},{key:"SaveEmail",hideInGroup:!1,hideInSxS:!1}),o}function eh(e){let t=[];return t.push({key:"AddAttachment",hideInGroup:!1},{key:"AddInlineImage",hideInGroup:!1}),(0,en.UE)("MailCompose",e,en.NQ.Fluid)&&t.push({key:"FluidHeroButton",hideInGroup:!1,hideInMailSurfaceSettings:!0}),t.push({key:"AddEmoji",hideInGroup:!1}),(0,et.cr)("cal-native-findtime")&&!(0,H.Z)(void 0,e)&&t.push({key:"FindTime",hideInGroup:!1}),(0,el.e)(ec.Q,e)&&t.push({key:"ProofingOptions",hideInGroup:!1}),t=t.concat([{key:"ToggleRibbon",hideInGroup:!1},{key:"SaveDraft",hideInGroup:!1},{key:"InsertSignature",hideInGroup:!1},{key:"ShowFrom",hideInGroup:!1},{key:"SetImportance",hideInGroup:!1},{key:"SwitchBodyType",hideInGroup:!1},{key:"AccChecker",hideInGroup:!1}]),(0,et.cr)("cmp-clp",e,!!e)&&!(0,H.Z)(void 0,e)&&t.push({key:"SensitivityMenu",hideInGroup:!1}),(0,ee.Z)(e)&&t.push({key:"ProtectMessage",hideInGroup:!1}),(0,H.Z)()||t.push({key:"ShowMessageOptions",hideInGroup:!1}),t.push({key:"CustomizeActions",hideInGroup:!1,hideInMailSurfaceSettings:!0}),t}function eI(e){return"Reply"==e||"ReplyAll"==e||"Forward"==e||"MessageExtensions"==e}function eS(e,t){let n=(0,eo.Bb)(eo.Xm.SurfaceActions,t);switch(e){case"ReplyByTeamsChatActions":if((0,et.cr)("mon-teams-ChatAroundEmail")&&(0,ef.Z)(t))return n.readSurfaceActions.includes("ReplyByTeamsChat")||n.readSurfaceActions.includes("ReplyAllByTeamsChat");return!1;case"ReplyByTeamsChat":case"ReplyAllByTeamsChat":return!1;default:return -1!==n.readSurfaceActions.indexOf(e)}}function eb(e,t){return eS(e,t)||!!("ToggleDarkMode"===e&&(0,er.BR)())||!!("SetReaction"===e&&(0,et.cr)("rp-reactions",t)&&!(0,H.Z)(void 0,t))||!!("MessageExtensions"===e&&(0,eu.O)(t))}var ew=n(67199);function ey(e,t,n,o){let r;o?r=o:(r="Pinned",n?.renderedInOverflow&&(r=n.isPinned?"Overflow":"NotPinned")),(0,ew.y8)(e?"CSACountComposeUserAction":"CSACountReadUserAction",[t,r])}function eP(e){e.subMenuProps?.items?.forEach(e=>{e.renderedInOverflow=!0})}function eC(e){e.subMenuProps?.items?.forEach(e=>{e.renderedInOverflow=!1})}var eE=n(589132);function eZ(e){let t=(0,eE.Bb)(eE.Xm.SurfaceActions);return!["ProofingOptions"].includes(e)&&t.composeSurfaceActions.includes(e)||t.composeSurfaceAddins.includes(e)||["ToggleDarkCompose","AddClassicAttachment","InsertLink","FluidHeroButton","MessageExtensions"].includes(e)}},71155:(e,t,n)=>{n.d(t,{W:()=>o});function o(e){if(!e)return"None";let t="None";for(let n of e){if("Delete"==n)return n;"Archive"==n&&(t=n)}return t}},110397:(e,t,n)=>{n.d(t,{zD:()=>G,EE:()=>H,nS:()=>U});var o=n(64906),r=n(979305),i=n(520656),a=n(914078),l=n(346639),s=n(517795),d=n(348662),c=n(803234),u=n(187773);let m=(0,c.M)("TranslateRegular",u.f4L);var p=n(852239),f=n(709470),g=n(486488),v=n(718531),h=n(765881),I=n(708004),S=n(959703),b=n(781506),w=n(339567),y=n(533500),P=n(874962),C=n(225435);let E=(0,c.M)("BranchRegular",C.eDh);var Z=n(63102),M=n(868792),T=n(342217);let F=(0,c.M)("PersonChatRegular",T.H6J);var k=n(205238),x=n(906740),R=n(366548),A=n(61848),D=n(32848),N=n(197990),_=n(487845),O=n(103375);let L="attach.svg",V="inlineimage.svg",B="showribbon.svg";function G(e){let t="",n="",r=!1,i=!1;switch(e){case"AddAttachment":t=(0,O.Z)((0,o.BR)()?"attachDark.svg":L),n=(0,O.Z)(L),r=!0;break;case"AddInlineImage":t=(0,O.Z)((0,o.BR)()?"inlineimageDark.svg":V),n=(0,O.Z)(V),r=!0;break;case"AddEmoji":t=(0,O.Z)("emoji.svg"),r=!0;break;case"ToggleDarkCompose":t="Sunny";break;case"FluidHeroButton":t=(0,_.F4)("loop.svg"),r=!0;break;case"QuickUse":t="ClipboardList";break;case"ToggleRibbon":t=(0,O.Z)((0,o.BR)()?"showribbonDark.svg":B),n=(0,O.Z)(B),r=!0;break;case"SensitivityMenu":t="MarkAsProtected";break;case"ProtectMessage":t="Encryption";break;case"SaveDraft":t="Save";break;case"InsertSignature":t="InsertSignatureLine";break;case"ShowFrom":t="ArrangeByFrom";break;case"SetImportance":t="Important";break;case"ShowMessageOptions":t="MailOptions";break;case"SwitchBodyType":t="PlainText";break;case"AccChecker":t="AccessibiltyChecker";break;case"ProofingOptions":t=(0,O.Z)("spelling.svg"),r=!0;break;case"FindTime":t=k.Z,i=!0;break;case"MessageExtensions":t=N.Z,i=!0;break;default:t=""}return{iconName:t,fallbackIconName:n||t,isImage:r,isFluentIcon:i}}function U(e){let t;switch(e){case"-":t="-";break;case"Reply":t=r.Z;break;case"ReplyAll":t=i.Z;break;case"Forward":t=a.Z;break;case"ForwardEmailAsAttachment":t=b.Z;break;case"ReplyByMeeting":case"CopilotReplyByMeeting":t=f.Z;break;case"ReportAbuse":case"MarkAsPhishing":t=g.Z;break;case"Delete":t=s.Z;break;case"MarkReadUnread":t=v.Z;break;case"FlagUnflag":t=d.Z;break;case"AssignPolicy":t=h.Z;break;case"AddToSafeSenders":t=I.Z;break;case"MarkJunkNotJunk":t=S.Z;break;case"Block":t=w.Z;break;case"CreateRule":t=p.Z;break;case"Print":t=y.Z;break;case"Translate":t=m;break;case"ShowInImmersiveReader":t=P.Z;break;case"ViewMessageSource":t=E;break;case"Popout":t=Z.Z;break;case"SetReaction":t=l.Z;break;case"ToggleDarkMode":t=M.Z;break;case"ReplyByIM":case"ReplyAllByIM":t=F;break;case"ReplyByTeamsChatActions":case"ReplyByTeamsChat":case"ReplyAllByTeamsChat":t=D.Z;break;case"ToggleAmp":t="LightningBolt";break;case"MessageExtensions":t=N.Z;break;case"SaveEmail":t=x.Z;break;case"MessageRecall":t=R.Z;break;case"TrackReadReceipts":t=A.Z;break;default:t=""}return{iconName:t,fallbackIconName:t,isImage:!1}}function H(e){let t;switch(e){case"-":t="-";break;case"Delete":t="Delete";break;case"Archive":t="Archive";break;case"PinUnpin":t="Pinned";break;case"ReadUnread":t="Mail";break;case"FlagUnflag":t="Flag";break;case"Move":t="FabricFolder";break;default:t=""}return{iconName:t,fallbackIconName:t,isImage:!1}}},103375:(e,t,n)=>{n.d(t,{Z:()=>r});var o=n(487845);function r(e){return(0,o.F4)("surfaceActions/"+e)}},899405:(e,t,n)=>{n.d(t,{Cn:()=>f,DX:()=>i.DX,F2:()=>r.F,FN:()=>m,GN:()=>i.GN,Qs:()=>P,SV:()=>u,UE:()=>C,as:()=>S,e6:()=>I,eT:()=>y,gx:()=>d,hU:()=>v,jV:()=>s.j,l1:()=>g,ln:()=>a.l,r:()=>b,uL:()=>p,vC:()=>l.v,xU:()=>c,yi:()=>w,yj:()=>h,yw:()=>E});var o=n(402392),r=n(214680),i=n(152817),a=n(787515),l=n(999733),s=n(754587);let d=new o.nI(()=>n.e(919369).then(n.bind(n,919369))),c=new o.EF(d,e=>e),u=new o.EF(d,e=>e.resetPreviewPane);new o.EF(d,e=>e.setAudioPreviewState),new o.EF(d,e=>e.setBlankPreviewState),new o.EF(d,e=>e.setCustomPreviewState);let m=new o.EF(d,e=>e.setIframePreviewState);new o.EF(d,e=>e.setImageGalleryItems);let p=new o.EF(d,e=>e.setImagePreviewLoaded),f=new o.EF(d,e=>e.setImagePreviewState),g=new o.EF(d,e=>e.setImagePreviewStateFromImageGalleryItem);new o.EF(d,e=>e.setNativePdfPreviewState);let v=new o.EF(d,e=>e.setPanesSize);new o.EF(d,e=>e.setPdfJsPreviewState),new o.EF(d,e=>e.setPdfJsPreviewStateByData);let h=new o.EF(d,e=>e.setPreviewError),I=new o.EF(d,e=>e.setPreviewLoading),S=new o.EF(d,e=>e.setRightPaneDisplayAndUpdateSize),b=new o.EF(d,e=>e.setSaveStatusText),w=new o.EF(d,e=>e.setTextPreviewState);new o.EF(d,e=>e.setVideoPreviewState);let y=new o.EF(d,e=>e.setWacPreviewState),P=new o.EF(d,e=>e.setWacReadOnly),C=new o.EF(d,e=>e.updatePanesSize),E=new o.EF(d,e=>e.saveHideReadingPaneOption);new o.EF(d,e=>e.saveDefaultEditCommandOption)},754587:(e,t,n)=>{let o;n.d(t,{j:()=>r});var r=((o=r||{})[o.Default=0]="Default",o[o.NeedPassword=1]="NeedPassword",o[o.IncorrectPassword=2]="IncorrectPassword",o)},999733:(e,t,n)=>{let o;n.d(t,{v:()=>r});var r=((o=r||{})[o.Blank=0]="Blank",o[o.Loading=1]="Loading",o[o.Error=2]="Error",o[o.Custom=3]="Custom",o[o.Image=4]="Image",o[o.Wac=5]="Wac",o[o.Audio=6]="Audio",o[o.Video=7]="Video",o[o.Text=8]="Text",o[o.NativePdf=9]="NativePdf",o[o.PdfJs=10]="PdfJs",o[o.IFrame=11]="IFrame",o)},787515:(e,t,n)=>{let o;n.d(t,{l:()=>r});var r=((o=r||{})[o.Initial=0]="Initial",o[o.Adaptive=1]="Adaptive",o[o.Show=2]="Show",o[o.Hide=3]="Hide",o[o.AlwaysHide=4]="AlwaysHide",o)},214680:(e,t,n)=>{n.d(t,{F:()=>o});let o="autoHideEmail"},304572:(e,t,n)=>{n.d(t,{Z:()=>a});var o=n(399096),r=n(999733),i=n(787515);function a(){return{previewPane:{downloadUrl:void 0,mode:r.v.Blank},didAutoHideRightPane:!1,hideRightPane:!1,rightPaneSize:0,leftPaneSizePixels:0,rightPaneSizePixels:0,rightPaneDisplay:i.l.Initial,eventManager:new o.Z}}},152817:(e,t,n)=>{n.d(t,{DX:()=>r,EC:()=>a,GN:()=>o,QL:()=>s,vx:()=>i,yW:()=>l});let o=600,r=600,i=650,a=1/2.89*100,l=420,s=420/1300*100},54679:(e,t,n)=>{n.d(t,{Z:()=>u});var o=n(801036),r=n(342966),i=n(494552),a=n(67199),l=n(845407),s=n(103064),d=n(206339),c=n(636283);let u=(0,l.aD)("activateTab")(function(e,t){let n=new a.Gn("TabViewActivateTab",{isVerbose:!0});switch(n.addCustomData([e.type,t]),(0,i.Z)(e,!0),e.type){case o.A.Primary:case o.A.OverflowMenu:case o.A.SecondaryReadingPane:case o.A.MailCompose:case o.A.FullOptions:case o.A.Reminders:case o.A.AddCalendars:if(e.type!==o.A.FullOptions||(0,d.cr)("acct-fullOptionsProjectionPopout")||(0,c.hZ)("activateTab should NOT be called for FullOptions when acct-fullOptionsProjectionPopout flight is OFF"),2!=e.state){let t=(0,r.Z)();if(t){t.state=1;let e=(0,s.P)(t.type);e?.onDeactivate&&e.onDeactivate(t)}if(e){e.state=2,e.blink=!1;let t=(0,s.P)(e.type);t?.onActivate&&t.onActivate(e)}}}n.end()})},268764:(e,t,n)=>{n.d(t,{Z:()=>s});var o=n(494552),r=n(67199),i=n(795839),a=n(103064),l=n(315266);let s=(0,r.mn)({name:"TabViewCloseTab",customData:(e,t)=>[e.type,1==e.state||2==e.state,2==e.state,t,e.startTime?new Date().getTime()-e.startTime:0]},async function(e,t){let n=!0,r=(0,a.P)(e.type);if(!t&&r&&r.canClose&&(n=await r.canClose(e)),n){(0,o.Z)(e,!1);let t=(0,l.bh)().tabs.indexOf(e);t>=0&&d(t)}}),d=(0,i.lr)("spliceTabs",e=>{(0,l.bh)().tabs.splice(e,1)})},494552:(e,t,n)=>{n.d(t,{Z:()=>a});var o=n(54679),r=n(845407),i=n(315266);let a=(0,r.aD)("setTabIsShown")(function(e,t){switch(e.state){case 0:t&&(e.state=1,e.blink=!0);break;case 1:case 2:case 3:if(!t){let t=2==e.state&&function(e){let t=(0,i.bh)().tabs,n=Math.max(t.indexOf(e),0),o=t.filter(t=>t.id==e.parentTabId&&1==t.state)[0];if(o)return o;for(let e=n;e<t.length;e++)if(1==t[e].state)return t[e];for(let e=n-1;e>=0;e--)if(1==t[e].state)return t[e];return null}(e);t&&(0,o.Z)(t),e.state=0}}})},797489:(e,t,n)=>{n.d(t,{AO:()=>a.A,yM:()=>l,dT:()=>s,MA:()=>i.Z,rY:()=>p.r,bh:()=>r.bh,V9:()=>m,HW:()=>g,bG:()=>v,Cl:()=>h,Qi:()=>w,BJ:()=>S,aC:()=>b,k2:()=>I,Nf:()=>c,lj:()=>r.lj,O4:()=>u.O,ru:()=>d});var o=n(402392),r=n(315266);n(691308);var i=n(342966),a=n(801036);function l(e){for(let t of(0,r.bh)().tabs)if(t.type!==a.A.Primary&&t.type!==a.A.SxS&&t.data==e)return t;return null}function s(e){for(let t of(0,r.bh)().tabs)if(t.sxsId===e)return t.id;return null}function d(e){for(let t of(0,r.bh)().tabs)if(t.type!==a.A.Primary&&t.type!==a.A.SxS&&t.type!==a.A.Reminders&&t.type!==a.A.AddCalendars&&t.data?.id?.Id==e)return!0;return!1}function c(e,t){for(let n of(0,r.bh)().tabs)if(n.type!==a.A.Primary&&n.type!==a.A.SxS&&n.type!==a.A.Reminders&&n.type!==a.A.AddCalendars&&n.data?.id?.Id==e&&n.id!=t)return!0;return!1}var u=n(103064);function m(e){if(!e)return;let t=(0,u.P)(e.type);if(t?.getWindowTitle)return t.getWindowTitle(e);switch(e.type){case a.A.SecondaryReadingPane:return e.data.subject;case a.A.Reminders:case a.A.AddCalendars:return e.data;default:return}}n(322846);var p=n(709e3);let f=new o.nI(()=>n.e(304650).then(n.bind(n,304650)),{name:"TabViewStore"}),g=new o._5(f,e=>e.activateTab),v=new o._5(f,e=>e.addTab),h=new o._5(f,e=>e.closeTab),I=new o._5(f,e=>e.setTabIsShown),S=new o._5(f,e=>e.reloadSecondaryTabAsDeeplink),b=new o._5(f,e=>e.removeTabViewState),w=new o.EF(f,e=>e.getTabById)},322846:(e,t,n)=>{n.d(t,{Z:()=>r});var o=n(315266);function r(){return(0,o.bh)().tabs.filter(e=>3===e.state)}},709e3:(e,t,n)=>{n.d(t,{Z:()=>a,r:()=>l});var o=n(801036),r=n(315266),i=n(636283);function a(e){return(0,r.bh)().tabs.filter(t=>t.type==e)}function l(){let e=a(o.A.FullOptions);if(e.length>1&&(0,i.rx)("We are having more than 1 FullOptions Projection Tab"),0===e.length){(0,i.rx)("We are trying to get FullOptions Projection Tab, when it does not exist");return}return e[0]}},801036:(e,t,n)=>{let o;n.d(t,{A:()=>r});var r=((o=r||{})[o.Primary=0]="Primary",o[o.OverflowMenu=1]="OverflowMenu",o[o.SecondaryReadingPane=2]="SecondaryReadingPane",o[o.MailCompose=3]="MailCompose",o[o.SxS=4]="SxS",o[o.CalendarCompose=5]="CalendarCompose",o[o.CalendarReadingPane=6]="CalendarReadingPane",o[o.FullOptions=7]="FullOptions",o[o.Reminders=8]="Reminders",o[o.AddCalendars=9]="AddCalendars",o[o.FileError=10]="FileError",o)},315266:(e,t,n)=>{n.d(t,{bh:()=>l,lj:()=>s});var o=n(801036),r=n(795839);let i={id:"primaryTab",type:o.A.Primary,state:2,blink:!1,sxsId:"primaryTab"},a=(0,r.MT)("tab",{tabs:[i],tabBarWidth:0,isOverflowMenuShown:!1,isTabBarAvailable:!1})(),l=()=>a,s=l().tabs[0]},103064:(e,t,n)=>{n.d(t,{O:()=>i,P:()=>a});var o=n(801036);let r={};function i(e,t){r[o.A[e]]=t}function a(e){return r[o.A[e]]}},691308:(e,t,n)=>{n.d(t,{Z:()=>d});var o=n(206339),r=n(636283),i=n(268764),a=n(709e3),l=n(801036),s=n(133842);function d(e,t){(0,o.cr)("acct-fullOptionsProjectionPopout")||(0,r.hZ)("addFullOptionsTab should NOT called when acct-fullOptionsProjectionPopout flight is OFF");let n=(0,a.Z)(l.A.FullOptions);if(n.length>1&&(0,r.rx)("We are having more than 1 FullOptions Projection Tab"),1===n.length){let e=n[0];(0,i.Z)(e,!0)}return(0,s.Z)(l.A.FullOptions,e,!0,t)}},133842:(e,t,n)=>{n.d(t,{Z:()=>f});var o=n(342966),r=n(801036),i=n(715381),a=n(795839),l=n(315266),s=n(54679);let d=(0,a.aD)("ADD_TAB_VIEW_STATE",(e,t)=>({viewState:e,makeActive:t}));(0,a._F)(d,e=>{let{viewState:t,makeActive:n}=e,o=(0,l.bh)();c(t),n&&(0,s.Z)(o.tabs[o.tabs.length-1])});let c=(0,a.lr)("addTabToStore",e=>{(0,l.bh)().tabs.push(e)});var u=n(206339),m=n(636283);let p=1;function f(e,t,n,a){let l;let s=(0,o.Z)(),c={id:r.A[e]+(p++).toString(),state:t?1:0,startTime:new Date().getTime(),parentTabId:s?s.id:void 0,blink:t,data:a,sxsId:e===r.A.SxS&&a||"SXSID_"+(0,i.u)()};switch(e){case r.A.Primary:l={...c,type:r.A.Primary};break;case r.A.OverflowMenu:l={...c,type:r.A.OverflowMenu,data:a};break;case r.A.SecondaryReadingPane:l={...c,type:r.A.SecondaryReadingPane,data:a};break;case r.A.MailCompose:l={...c,type:r.A.MailCompose,data:a};break;case r.A.SxS:l={...c,type:r.A.SxS};break;case r.A.CalendarCompose:l={...c,type:r.A.CalendarCompose,data:a};break;case r.A.CalendarReadingPane:l={...c,type:r.A.CalendarReadingPane,data:a};break;case r.A.FullOptions:(0,u.cr)("acct-fullOptionsProjectionPopout")||(0,m.hZ)("addTab should NOT be called for FullOptions when acct-fullOptionsProjectionPopout flight is OFF"),l={...c,type:r.A.FullOptions,data:a};break;case r.A.Reminders:l={...c,type:r.A.Reminders,data:a};break;case r.A.AddCalendars:l={...c,type:r.A.AddCalendars,data:a};break;case r.A.FileError:l={...c,type:r.A.FileError,data:a}}return l?(d(l,n),l.id):((0,m.rx)("tabViewState must NOT be undefined"),"")}},342966:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(315266),r=n(636283);function i(){for(let e of(0,o.bh)().tabs)if(2==e.state)return e;return(0,r.rx)("There is no active tab. Something went very wrong."),null}},104704:(e,t,n)=>{n.d(t,{Z:()=>r});var o=n(315266);function r(e){if(e){for(let t of(0,o.bh)().tabs)if(t.id==e)return t}return null}},328138:(e,t,n)=>{n.d(t,{$1:()=>l.$,Nw:()=>a,AG:()=>i,Yk:()=>d});var o=n(402392),r=n(302140);function i(e){return e?(0,r.WU)((0,r.ZP)("dIz2Cc"),e):(0,r.ZP)("crcQfd")}function a(){return(0,r.ZP)("silire")}var l=n(271677);let s=new o.nI(()=>Promise.all([n.e(463410),n.e(149680),n.e(40193)]).then(n.bind(n,701439))),d=new o._5(s,e=>e.chatAroundEmail)},271677:(e,t,n)=>{let o;n.d(t,{$:()=>r});var r=((o=r||{}).Reply="Reply",o.ReplyAll="ReplyAll",o)},655182:(e,t,n)=>{n.d(t,{V:()=>i});var o=n(402392);let r=new o.nI(()=>Promise.all([n.e(980246),n.e(229278)]).then(n.bind(n,229278))),i=(0,o.$y)(r,e=>e.TimeZoneTravelNotification)},702833:(e,t,n)=>{n.d(t,{Br:()=>a,Wl:()=>i,f4:()=>l});var o=n(402392);let r=new o.nI(()=>Promise.all([n.e(738554),n.e(762802)]).then(n.bind(n,669863)),{name:"TopicDropdown"}),i=(0,o.$y)(r,e=>e.TopicDropdownButton),a=(0,o.$y)(r,e=>e.InfoPaneTopics),l=new o.EF(r,e=>e.fetchTopics)},993167:(e,t,n)=>{n.d(t,{V:()=>a});var o=n(71176);let r=0,i={x:null,y:null};function a(e){let{onLongPress:t,onClick:n}=e;return{onTouchStart:e=>{r=Date.now(),i.x=e.changedTouches[0].clientX,i.y=e.changedTouches[0].clientY},onTouchEnd:e=>{if(Math.abs(i.x-e.changedTouches[0].clientX)>o.h||Math.abs(i.y-e.changedTouches[0].clientY)>o.h)return;let a=Date.now()-r;t&&a>=500?t(e):n&&n(e)}}}},779113:(e,t,n)=>{n.d(t,{Q:()=>i});var o=n(402392);let r=new o.nI(()=>Promise.all([n.e(357076),n.e(463410),n.e(149680),n.e(976350)]).then(n.bind(n,621860))),i=new o._5(r,e=>e.showReadReceiptsDialog)},751971:(e,t,n)=>{n.d(t,{Z:()=>o});function o(e){return!e.IsReadReceiptRequested}},666076:(e,t,n)=>{n.d(t,{Z:()=>M});var o=n(900041),r=n(985566),i=n(150064),a=n(510265),l=n(910082),s=n(5813),d=n(64906),c=n(206339),u=n(425824),m=n(10440),p=n(302140),f=n(345301),g=n(435484),v=n(843778),h=n(902639),I=n(615578),S=n(67199),b="YxSxn",w="uFyEh",y="vPgzN",P="Haof5",C="jgnYx",E="Izlfm",Z="wk4Sg";let M=(0,a.P)(function(e){var t;let n;let a=f.useRef(null),M=e.elementRef??a,T=(0,s.U$)(),F=(0,d.KS)("LPIso","ORnNd","if6B2"),k=e.chevronProps,x=e.ellipsesOnHover,[R,A]=f.useState(!1),[D,N]=f.useState(!1),_=e.onRenderCustomIcon||((t,n)=>f.createElement(r.J,{className:(0,i.Z)(t,F,"MgbmD"),iconName:n?void 0:e.customIcon||u.Z,id:(0,c.cr)("acct-multiacctcomingsoon")?e.idUsedForTooltip:void 0}));(0,m.zK)(M,f.useCallback(()=>[{command:"right",handler:e=>{k?.onClick&&!k.isExpanded&&k.onClick(e)}},{command:"left",handler:e=>{k?.onClick&&k.isExpanded&&k.onClick(e)}}],[k?.onClick,k?.isExpanded]));let O=()=>f.createElement(r.J,{className:(0,i.Z)(C,"visibilityHidden",T&&er&&"kbTWn",E)}),L=e=>{e.stopPropagation(),k?.onClick(e)},V=(0,i.Z)("VGV9k",!k?.isExpanded&&"gl488"),B=(0,i.Z)(C,"cXhO1",F,!e.isRootNode&&"psaT8",E,k?.iconClassName,k?.isAnimated?V:"flipForRtl"),G=k?.isAnimated?v.Z:k?.isExpanded?v.Z:h.Z,U=f.useMemo(()=>({iconName:G,className:B,styles:{root:{fontSize:"14px"}}}),[G,B]),H=()=>{let t=T&&e.isRootNode?(0,i.Z)(b,y,w):(0,i.Z)(F,y,T&&w,b,k?.iconButtonClassName);return f.createElement(o.X,{appearance:"icon","data-is-focusable":!1,tabIndex:-1,className:t,iconProps:U,onClick:L,...(0,l.WO)({role:"button",hidden:!0})})},W=(t,n)=>{t.stopPropagation(),(0,S.y8)("FP_OpenContextMenu",{source:e.source,eventSource:n}),es?.(t)},K=f.useCallback(e=>{W(e,"Ellipses")},[W]),z=f.useCallback(e=>{W(e,"Right Click")},[W]),j=(0,d.E3)();(t=n||(n={}))[t.Compact=16]="Compact",t[t.Full=20]="Full",t[t.Simple=18]="Simple";let Q={iconName:I.Z,styles:{root:{fontSize:n[j]+"px",paddingBottom:"2px"}}},$=f.useCallback(()=>{N(!0)},[N]),q=f.useCallback(()=>{N(!1)},[N]),{isCustomActionNode:X,isDroppedOver:Y,isSelected:J,showAsHoverOnDroppedOver:ee,isBeingDragged:et,isWithContextMenuOpen:en,isCursorDisabled:eo,isRootNode:er,depth:ei,onClick:ea,onKeyDown:el,onContextMenu:es,onMouseEnter:ed,onMouseLeave:ec,onTouchStart:eu,onTouchEnd:em,displayName:ep,renderCustomTreeNodeDisplay:ef,renderRightCharm:eg,renderRightCharmHover:ev,isinSharedFolderTree:eh,isDisabled:eI,customTreeNodeTooltip:eS}=e,eb=(0,i.Z)(er?"XVsEB":"C2IG3",F,"oTkSL","iDEcr",x&&(0,p.fI)()?"GG7iR":"phvtt",{KxVc9:Y&&ee,guOtt:Y&&!ee,nY2XK:et,arc_i:X,[Z]:J,X0REb:en,Cw3Gl:eo,NVk49:!!eI,Nm7DL:D}),ew=(0,i.Z)("gtcPn","u0T8k",F,{[Z]:J},er&&"qWi7V",er&&"_Ptr3"),ey={role:l.ce.treeitem,expanded:k?k.isExpanded:void 0,selected:er?void 0:J,level:null==ei?er?1:2:ei+1,setSize:e.setSize,positionInSet:e.positionInSet,label:e.ariaLabel},eP=(0,i.Z)("o03Ce",T&&!eh&&ev&&P,T&&"aWRWM",x&&P),eC=(0,i.Z)("qarSX",x&&P),eE=f.useCallback(e=>{x&&A(!0),ed&&ed(e)},[A,ed]),eZ=f.useCallback(e=>{x&&A(!1),ec&&ec(e)},[A,ec]),eM=ef?ef(ew):f.createElement(f.Fragment,null,f.createElement("span",{className:ew},e.displayName),e.isSelected&&f.createElement("span",{className:"screenReaderOnly"},(0,p.ZP)("ZG1NAd"))),eT=eg?.(),eF=ev?.();return f.createElement("div",{ref:M,style:(()=>{let t=(ei||e.isFavorited?(0,g.g)(ei??0,(0,d.iT)(),e.hideIcon):0)+0+"px",n=x?void 0:(0,g.E)(),o=(0,p.fI)();return{paddingLeft:o?n:t,paddingRight:o?t:n,width:"auto"}})(),onClick:ea,onKeyDown:el,onContextMenu:z,onMouseEnter:eE,onMouseLeave:eZ,onTouchStart:eu,onTouchEnd:em,className:eb,"data-is-focusable":!0,title:eS??ep,tabIndex:-1,...(0,l.WO)(ey)},er?(()=>{if(k)return H();let t=(0,i.Z)(e.isRootNode&&e.customIcon&&"SZ3Jt",C,e.customIconClassName,(k||e.isRootNode)&&F,!e.isRootNode&&E);return e.onRenderCustomIcon||e.customIcon?_(t):O()})():(()=>{let t=k&&H()||null,n=!!t,o=_((0,i.Z)(C,F,X&&!e.customIcon&&"visibilityHidden",e.customIconClassName,"SuSxc",n&&"cqDRB",!n&&T&&"PTC00"),e.hideIcon);return f.createElement("div",{className:"ppZg6"},t,o)})(),eM,eT&&f.createElement("span",{className:eP},eT),eF&&f.createElement("span",{className:"trZ2R"},eF),R&&f.createElement("span",{className:eC},(e=>{let t=(0,i.Z)("Gyuy5",e&&"MNZUM",F);return f.createElement(o.X,{appearance:"icon","data-is-focusable":!1,tabIndex:-1,className:t,iconProps:Q,onClick:K,onMouseEnter:$,onMouseLeave:q,...(0,l.WO)({role:"button",hidden:!0})})})(er)))},"TreeNode")},435484:(e,t,n)=>{function o(e,t,n){return Math.max(0,e-1)*function(e,t){switch(e){case"full":return Math.round((t?28:26)/3);case"medium":return Math.round((t?24:26)/3);default:return Math.round((t?24:20)/3)}}(t,n)+(n?"full"===t?20:16:0)}function r(){return"8px"}n.d(t,{E:()=>r,g:()=>o})},821858:(e,t,n)=>{n.d(t,{H:()=>i});let o=[" ","\n","\v","\f","\r"," ","Â…"," "," "," ","â€"," "," "," "," "," "," "," "," "," ","\u2028","\u2029"," ","âŸ"," ","Øœ","​","‌","â€","‎","â€","\u2028","\u2029","‪","‫","‬","â€","‮"," ","â ","â¦","â§","â¨","â©"],r=null,i=e=>!e||(null===r&&(r=new Set,o.forEach(e=>r.add(e))),e.split("").every(e=>r.has(e)))},790830:(e,t,n)=>{n.d(t,{l:()=>i});var o=n(402392);let r=new o.nI(()=>Promise.all([n.e(503441),n.e(188056),n.e(140902),n.e(298951),n.e(23460),n.e(655205),n.e(521852),n.e(32971),n.e(788521),n.e(485954),n.e(574459),n.e(412),n.e(162561),n.e(441779),n.e(375525),n.e(84791)]).then(n.bind(n,534650)),{name:"AdvancedSearchModule"}),i=(0,o.$y)(r,e=>e.AdvancedSearchWrapper)},570929:(e,t,n)=>{n.d(t,{Z:()=>o});function o(){return{selectedSearchScope:null,subjectFieldText:"",keywordsFieldText:"",fromDate:void 0,toDate:void 0,hasAttachments:!1,fromPeopleSuggestions:[],toPeopleSuggestions:[],ccPeopleSuggestions:[],isRead:"None"}}},919090:(e,t,n)=>{n.d(t,{Z:()=>g});var o=n(136851),r=n(302140),i=n(45409),a=n(341032),l=n(110363),s=n(92935),d=n(17725),c=n(511943),u=n(423599),m=n(206339),p=n(284976),f=n(636006);function g(e,t,n){switch(e.kind){case i.D9.PrimaryMailbox:case i.D9.ArchiveMailbox:case i.D9.SharedFolders:case i.D9.PublicFolder:return function(e,t){if(!e.folderId)return"";let n=(0,c.X_)().length,o=(0,a.Z)(e.folderId);if(o===s.qx&&e.kind===i.D9.SharedFolders)return(0,r.ZP)("edYyNd");if(o===s.qx&&t)return(0,r.ZP)(n>1?"UD1sO":"h12Gcb");if(o===s.qx)return(0,r.ZP)(n>1?"HxE3Nb":"sl9Ilb");if(o===s.Yo)return(0,r.ZP)("RvS5N");{let t=l.ZP.folderTable.get(e.folderId);return e.kind===i.D9.PublicFolder&&(t=d.Z.folderTable.get(e.folderId)),(0,l.mH)(t)}}(e,n);case i.D9.Group:return function(e,t){let n=o.kd.tryImportForRender();if(n&&e.groupId){let o=n(e.groupId);if((0,m.cr)("grp-3sSearch")){let n=u.B$.tryImportForRender();if(n?.(e.groupId,t)){let n=u.jO.tryImportForRender();return n?n(e.groupId,e.folderId,t):""}}return o}return e.groupId}(e,t??(0,f.Q)());case i.D9.MetaOSApp:return function(e,t){let n=p.nq.tryImportForRender();if(!n)return"App";{let o=n(e.appId,t)?.appDefinition;return o?.name??"App"}}(e,t??(0,f.Q)());default:throw Error("Unregistered search scope")}}},320344:(e,t,n)=>{n.d(t,{Z:()=>a});var o=n(45409),r=n(341032),i=n(206339);function a(e){return!((0,i.cr)("notes-folder-view")&&e?.kind==o.D9.PrimaryMailbox&&e.folderId&&"notes"===(0,r.Z)(e.folderId))}},294532:(e,t,n)=>{n.d(t,{B:()=>o});let o=(0,n(795839).aD)("CLEAR_SEARCH_BOX",e=>({scenarioId:e}))},991056:(e,t,n)=>{n.d(t,{E:()=>o});let o=(0,n(795839).aD)("END_SEARCH_SESSION",(e,t)=>({scenarioId:e,actionSource:t}))},227154:(e,t,n)=>{n.d(t,{v:()=>l});var o=n(795839),r=n(267264),i=n(195737);let a={Mail:"Mail",Calendar:"Calendar",People:"People",Files:"Files",ToDo:"ToDo"},l=(0,o.aD)("GET_SUGGESTIONS",e=>(0,r.uY)({name:"Search_SuggestionsE2E",unifiedTelemetry:{eventName:"PerformSearch",data:{ActiveAppView:a[(0,i.Mq)()]}}},{scenarioId:e}))},747081:(e,t,n)=>{n.d(t,{G:()=>o});let o=(0,n(795839).aD)("ON_BACKSPACE_PRESSED_SEARCH_INPUT",(e,t)=>({cursorPosition:e,scenarioId:t}))},55896:(e,t,n)=>{n.d(t,{j:()=>o});let o=(0,n(795839).aD)("ON_DOWN_ARROW_PRESSED_SEARCH_INPUT",e=>({scenarioId:e}))},219754:(e,t,n)=>{n.d(t,{s:()=>o});let o=(0,n(795839).aD)("ON_LEFT_ARROW_PRESSED_SEARCH_INPUT",(e,t,n)=>({cursorPosition:e,scenarioId:t,evt:n}))},847370:(e,t,n)=>{n.d(t,{x:()=>o});let o=(0,n(795839).aD)("ON_Right_ARROW_PRESSED_SEARCH_INPUT",(e,t)=>({scenarioId:e,evt:t}))},640625:(e,t,n)=>{n.d(t,{g:()=>i});var o=n(795839),r=n(267264);let i=(0,o.aD)("onSearchScopeButtonClicked",(e,t)=>(0,r.uY)({name:"Search_ScopeButtonClicked",customData:{isFolderScopeVisible:e,searchScenarioType:t}},{isScopeVisible:e,searchScenarioType:t}))},376745:(e,t,n)=>{n.d(t,{G:()=>o});let o=(0,n(795839).aD)("onSearchScopeOptionSelected",(e,t)=>({selectedSearchScope:e,searchScenarioType:t}))},928016:(e,t,n)=>{n.d(t,{y:()=>o});let o=(0,n(795839).aD)("ON_UP_ARROW_PRESSED_SEARCH_INPUT",e=>({scenarioId:e}))},824810:(e,t,n)=>{n.d(t,{z:()=>o});let o=(0,n(795839).aD)("REMOVE_SUGGESTION_PILL_FROM_SEARCHBOX",(e,t,n)=>({suggestionPillId:e,scenarioId:t,actionSource:n}))},787297:(e,t,n)=>{n.d(t,{i:()=>o});let o=(0,n(795839).aD)("RESET_SEARCH_STORE",e=>({scenarioId:e}))},59194:(e,t,n)=>{n.d(t,{e:()=>o});let o=(0,n(795839).aD)("SEARCH_SESSION_STARTED",(e,t,n)=>({actionSource:e,shouldStartSearch:t,scenarioId:n}))},796212:(e,t,n)=>{n.d(t,{S:()=>o});let o=(0,n(795839).aD)("SET_IS_SUGGESTIONS_DROPDOWN_VISIBLE",(e,t)=>({isSuggestionsDropdownVisible:e,scenarioId:t}))},360030:(e,t,n)=>{n.d(t,{l:()=>o});let o=(0,n(795839).aD)("setShowSearchBoxInCompactMode",function(e,t){return{scenarioId:e,showSearchBoxInCompactMode:t}})},725833:(e,t,n)=>{n.d(t,{Z:()=>o});let o=(0,n(795839).aD)("SET_SPELLER_DATA",(e,t,n,o,r,i,a,l,s,d)=>({alteredQuery:e,suggestedSearchTerm:t,suggestedSearchTermReferenceId:n,flaggedTokens:o,recourseQuery:r,scenarioId:i,queryAlterationType:a,providerId:l,queryAlterationLogicalId:s,alterationDisplayText:d}))},880694:(e,t,n)=>{n.d(t,{Z:()=>o});let o=(0,n(795839).aD)("START_SEARCH_SESSION",(e,t,n)=>({actionSource:e,shouldStartSearch:t,scenarioId:n}))},231963:(e,t,n)=>{n.d(t,{j:()=>o});let o=(0,n(795839).aD)("UPDATE_IS_SUGGESTION_SET_COMPLETE",(e,t)=>({isComplete:e,scenarioId:t}))},844115:(e,t,n)=>{n.d(t,{Uo:()=>r,jM:()=>i,KO:()=>a,R6:()=>l,B0:()=>s.B,XZ:()=>d,cq:()=>c,Ec:()=>u.E,TF:()=>m.T,x:()=>p,vt:()=>f.v,kQ:()=>em.jM,A1:()=>em.A1,qb:()=>em.qb,eW:()=>em.eW,bc:()=>em.bc,zr:()=>em.zr,Vi:()=>em.Vi,_q:()=>em._q,MZ:()=>em.MZ,Cm:()=>em.Cm,pN:()=>em.pN,G:()=>h.G,ji:()=>I.j,VB:()=>S,ux:()=>b,tF:()=>w,sX:()=>y.s,ib:()=>P,xz:()=>C.x,pK:()=>Z,nb:()=>ed,gm:()=>M.g,GH:()=>T.G,RL:()=>F,iH:()=>k,FP:()=>x,gH:()=>R,yF:()=>A.y,C5:()=>v,hX:()=>D,z5:()=>N.z,Aw:()=>_,qM:()=>O,Qj:()=>L,iS:()=>V.i,JV:()=>B,JY:()=>G,eq:()=>U.e,F4:()=>H,HR:()=>W,fL:()=>eu,w7:()=>et,SX:()=>K.S,eY:()=>z,FD:()=>j.F,co:()=>$,$v:()=>Q,xo:()=>q,lX:()=>X,lT:()=>Y.l,ZC:()=>ec.Z,gR:()=>J,hw:()=>ee,XR:()=>en,Ft:()=>eo.F,MH:()=>er.Z,wc:()=>ei,HC:()=>ea,jt:()=>el.j,xS:()=>es});var o=n(795839);let r=(0,o.aD)("ADD_SUGGESTION_PILL",(e,t,n,o)=>({suggestionPill:e,suggestionSelected:t,scenarioId:n,pillSearchText:o})),i=(0,o.aD)("ADD_SUGGESTION_PILL_INTERNAL",(e,t,n,o)=>({suggestionPill:e,scenarioId:t,suggestionSelected:n,pillSearchText:o})),a=(0,o.aD)("APPEND_SEARCH_TEXT_FOR_SUGGESTION",(e,t)=>({searchTextForSuggestion:e,scenarioId:t})),l=(0,o.aD)("CHANGE_SELECTED_SUGGESTION_VIA_KEYBOARD",(e,t,n)=>({indexToSelect:e,suggestionToSelect:t,scenarioId:n}));var s=n(294532);let d=(0,o.aD)("DOWNLOAD_FILE_SUGGESTION",(e,t,n)=>({attachmentId:e,attachmentType:t,scenarioId:n})),c=(0,o.aD)("END_SEARCH_CONVERSATION",e=>({scenarioId:e}));var u=n(991056),m=n(955223);let p=(0,o.aD)("GET_FILE_SUGGESTION_IMMERSIVE_VIEW",e=>({suggestion:e}));var f=n(227154),g=n(848635);let v=(0,o.lr)("OVERWRITE_EXISTING_SUGGESTION_PILL",(e,t,n)=>{let o=(0,g.d9)(n),r=e.ReferenceId;o.suggestionPills.delete(t),o.suggestionPills.set(r,e);let i=o.suggestionPillIds.indexOf(t);o.suggestionPillIds[i]=r});var h=n(747081),I=n(55896);let S=(0,o.aD)("ON_ENTER_PRESSED_SEARCH_INPUT",(e,t)=>({selectedSuggestionIndex:e,scenarioId:t})),b=(0,o.aD)("ON_ESCAPE_PRESSED_SEARCH_INPUT",e=>({scenarioId:e})),w=(0,o.aD)("ON_KEY_DOWN_SEARCH_INPUT",(e,t)=>({evtKeyCode:e,scenarioId:t}));var y=n(219754);let P=(0,o.aD)("ON_RESIZE_SUGGESTIONSCALLOUT",(e,t)=>({searchBoxWidth:e,scenarioId:t}));var C=n(847370),E=n(267264);let Z=(0,o.aD)("ON_SEARCH_INPUT_FOCUSED",e=>(0,E.uY)({name:"ON_SEARCH_INPUT_FOCUSED"},{scenarioId:e}));var M=n(640625),T=n(376745);let F=(0,o.aD)("onSearchScopeUiDismissed",e=>({searchScenarioType:e})),k=(0,o.aD)("ON_SEARCH_TEXT_CHANGED",(e,t)=>({searchText:e,scenarioId:t})),x=(0,o.aD)("ON_SUGGESTIONS_CALLOUT_POSITIONED",e=>({scenarioId:e})),R=(0,o.aD)("ON_SUGGESTIONS_CALLOUT_WILL_UNMOUNT",e=>({scenarioId:e}));var A=n(928016);let D=(0,o.aD)("REGISTER_ADDITIONAL_QUICK_ACTIONS",(e,t)=>({scenarioId:e,callback:t}));var N=n(824810);let _=(0,o.aD)("REMOVE_SUGGESTION_PILL_FROM_STORE",(e,t,n)=>({suggestionPillId:e,suggestionPillIndex:t,scenarioId:n})),O=(0,o.aD)("RESET_CURRENT_SUGGESTIONS",e=>({scenarioId:e})),L=(0,o.lr)("RESET_FOCUS_FROM_SUGGESTIONS_TO_SEARCH_INPUT",e=>{(0,g.d9)(e).selectedSuggestionIndex=-1});var V=n(787297);let B=(0,o.aD)("SEARCH_BOX_BLURRED",e=>({scenarioId:e})),G=(0,o.aD)("SEARCH_SESSION_ENDED",(e,t,n,o)=>({searchSessionGuid:e,scenarioId:t,latestTraceId:n,actionSource:o}));var U=n(59194);let H=(0,o.aD)("SET_CURRENT_SUGGESTIONS",(e,t,n="")=>({suggestionSet:e,scenarioId:t,qfRequestId:n})),W=(0,o.aD)("SET_DISPLAYED_QF_REQUEST_TIME",(e,t)=>({displayedQFRequestTime:e,scenarioId:t}));var K=n(796212);let z=(0,o.aD)("SET_LATEST_TRACE_ID",(e,t,n)=>({latestTraceId:e,scenarioId:t,isQFTraceId:n}));var j=n(455561);let Q=(0,o.aD)("SET_SELECTED_PILL_INDEX",(e,t)=>({selectedPillIndex:e,scenarioId:t})),$=(0,o.aD)("SET_SEARCH_TEXT_FOR_SUGGESTION",(e,t)=>({searchTextForSuggestion:e,scenarioId:t})),q=(0,o.aD)("SET_SELECTED_SUGGESTION_INDEX",(e,t)=>({selectedSuggestionIndex:e,scenarioId:t})),X=(0,o.aD)("SET_SELECTED_SUGGESTION_QUICKACTION_SELECTED",(e,t)=>({quickActionSelected:e,scenarioId:t}));var Y=n(360030);let J=(0,o.aD)("SET_SUGGESTION_PILL_IDS",(e,t)=>({suggestionPillIds:e,scenarioId:t})),ee=(0,o.aD)("SET_SUGGESTION_PILLS",(e,t)=>({suggestionPills:e,scenarioId:t})),et=(0,o.aD)("SET_SHOULD_MOVE_FOCUS_TO_SCOPE_TABS",(e,t)=>({scenarioId:e,newValue:t})),en=(0,o.aD)("SHARE_FILE_SUGGESTION",(e,t,n)=>({attachmentId:e,attachmentType:t,scenarioId:n}));var eo=n(353428),er=n(880694);let ei=(0,o.aD)("SUGGESTION_SECONDARY_ACTION_SELECTED",(e,t,n,o,r,i)=>({suggestion:e,suggestionIndex:t,actionSource:n,scenarioId:o,suggestionSetTraceId:r,entityActionTakenType:i})),ea=(0,o.aD)("SUGGESTION_SELECTED",(e,t,n,o,r)=>({suggestion:e,actionSource:t,scenarioId:n,suggestionSetTraceId:o,index:r}));var el=n(231963);let es=(0,o.aD)("UPDATE_IS_SUGGESTION_SET_COMPLETE_INTERNAL",(e,t)=>({isComplete:e,scenarioId:t})),ed=(0,o.aD)("ON_SEARCH_RESULTS_PAGE_RENDERED",(e,t,n)=>({scenarioId:e,activeTab:t,searchRequestInstrumentation:n}));var ec=n(725833);let eu=(0,o.aD)("setInKeyboardSelectionMode",function(e,t){return{scenarioId:e,inKeyboardSelectionMode:t}});var em=n(548923)},548923:(e,t,n)=>{n.d(t,{A1:()=>a,Cm:()=>v,MZ:()=>p,U8:()=>f,Vi:()=>u,_q:()=>m,bc:()=>c,eW:()=>s,jM:()=>i,pN:()=>g,qb:()=>l,zr:()=>d});var o=n(402392);let r=new o.nI(()=>n.e(871080).then(n.bind(n,871080)),{name:"SearchActions"}),i=new o.EF(r,e=>e.clearSearchBox),a=new o.EF(r,e=>e.endSearchSession),l=new o.EF(r,e=>e.onBackspacePressedSearchInput),s=new o.EF(r,e=>e.onDownArrowPressedSearchInput),d=new o.EF(r,e=>e.onRightArrowPressedSearchInput),c=new o.EF(r,e=>e.onLeftArrowPressedSearchInput),u=new o.EF(r,e=>e.onUpArrowPressedSearchInput),m=new o.EF(r,e=>e.removeSuggestionPillFromSearchBox),p=new o.EF(r,e=>e.setIsSuggestionsDropdownVisible),f=new o.EF(r,e=>e.setShowSearchBoxInCompactMode),g=new o.EF(r,e=>e.updateIsSuggestionSetComplete),v=new o.EF(r,e=>e.setSpellerData)},791488:(e,t,n)=>{n.d(t,{$7:()=>I,$I:()=>u,DZ:()=>C,LM:()=>m,Ln:()=>w,N_:()=>y,Rk:()=>f,T$:()=>s,Uv:()=>Z,Xq:()=>E,dm:()=>S,ez:()=>p,fV:()=>g,hP:()=>c,hn:()=>v,kK:()=>h,nA:()=>a,oL:()=>P,py:()=>d,wo:()=>b,yo:()=>i,z_:()=>M,ze:()=>l});var o=n(402392);let r=new o.nI(()=>n.e(637848).then(n.bind(n,637848))),i=new o._5(r,e=>e.logEntityClicked),a=new o._5(r,e=>e.logResponseReceived),l=new o._5(r,e=>e.logSessionEnd),s=new o._5(r,e=>e.logResponseRendered),d=new o._5(r,e=>e.logSearchBoxStateChanged),c=new o._5(r,e=>e.logSearchResultInteraction),u=new o._5(r,e=>e.logResponseNeverRendered),m=new o._5(r,e=>e.flushNonRenderedResponseReceivedItemsFromCache),p=new o._5(r,e=>e.logCachedContentRendered);new o._5(r,e=>e.logFeedback);let f=new o._5(r,e=>e.logClientLayout),g=new o._5(r,e=>e.logClientDataSource),v=new o._5(r,e=>e.logEntitiesFromFilePicker),h=new o._5(r,e=>e.logResponseRecievedV2),I=new o._5(r,e=>e.logResultsRendered),S=new o._5(r,e=>e.logSearchEntityActions),b=new o._5(r,e=>e.logSearchFeedbackActions),w=new o._5(r,e=>e.logSearchActions),y=new o._5(r,e=>e.logSecondaryEntityActionClicked),P=new o._5(r,e=>e.clearProcessedTraceIds),C=new o._5(r,e=>e.logSearchSuggestionsClientLayoutEvent),E=new o._5(r,e=>e.logSearchSuggestionsResultsRenderedEvent),Z=new o._5(r,e=>e.logSearchSuggestionsCachedContentRenderedEvent),M=new o._5(r,e=>e.logCounterfactualInformation)},991709:(e,t,n)=>{n.d(t,{Mg:()=>a.Z,S9:()=>l.Z,TE:()=>s,Zl:()=>r.Zl,Zz:()=>d,fL:()=>c,gO:()=>i.Z,xn:()=>r.xn});var o=n(402392),r=n(192989),i=n(950678),a=n(538186),l=n(715767);let s=new o._5(r.gx,e=>e.clearAppliedRefiners),d=new o._5(r.gx,e=>e.setSuggestedRefiners),c=new o._5(r.gx,e=>e.clearSuggestedRefiners)},192989:(e,t,n)=>{n.d(t,{F:()=>s,Lr:()=>l,Zl:()=>a,gx:()=>r,hi:()=>d,xn:()=>i});var o=n(402392);let r=new o.nI(()=>Promise.all([n.e(778996),n.e(188056),n.e(140902),n.e(23460),n.e(741001),n.e(32971),n.e(375525),n.e(864827)]).then(n.bind(n,918520))),i=(0,o.$y)(r,e=>e.RefinersContainer,void 0,void 0,{govern:!0}),a=(0,o.$y)(r,e=>e.QfRefinersContainer,void 0,void 0,{govern:!0}),l=new o.EF(r,e=>e.copyAppliedRefinersToQfRefiners),s=new o.EF(r,e=>e.copyQfRefinersToAppliedRefiners),d=new o.EF(r,e=>e.setRefinersInstrumentationContext)},950678:(e,t,n)=>{n.d(t,{Z:()=>a});var o=n(22497),r=n(312459),i=n(715767);function a(e){let t=o.y.Mail;if((0,r.sF)()){let e=r.$Z.tryImportForRender();e&&(t=e())}return t?((0,i.Z)(e).appliedRefiners??[]).filter(e=>-1!==e.applicableTabs.indexOf(t)):[]}},715767:(e,t,n)=>{n.d(t,{Z:()=>l});var o=n(795839);let r={refiners:new(n(787012)).ObservableMap({})},i=(0,o.MT)("searchRefinersStore",r)(),a=()=>i;function l(e){let t=a().refiners.get(e);if(!t){let t={appliedRefiners:[],suggestedRefiners:[],selectedQfRefiners:[],refinersInstrumentationContext:void 0};return a().refiners.set(e,t),t}return t}},538186:(e,t,n)=>{n.d(t,{Z:()=>a});var o=n(22497),r=n(312459),i=n(715767);function a(e){let t=o.y.Mail;if((0,r.sF)()){let e=r.$Z.tryImportForRender();e&&(t=e())}return void 0!==t?(0,i.Z)(e).suggestedRefiners.filter(e=>-1!==e.applicableTabs.indexOf(t)):[]}},943385:(e,t,n)=>{let o;n.d(t,{X:()=>r,Z:()=>i});var r=((o=r||{}).Substrate="SubstrateSearch",o.SubstrateV2="SubstrateSearchV2",o.ExecuteSearch="ExecuteSearch",o.FindItem="FindItem",o);let i=r},45409:(e,t,n)=>{let o;n.d(t,{D9:()=>r,DO:()=>d,H$:()=>a,IP:()=>l,MI:()=>c,Y7:()=>u,ny:()=>s,yY:()=>i});var r=((o=r||{}).PrimaryMailbox="PrimaryMailbox",o.ArchiveMailbox="ArchiveMailbox",o.SharedFolders="SharedFolders",o.Group="Group",o.Calendar="Calendar",o.PublicFolder="PublicFolder",o.MetaOSApp="MetaOSApp",o);function i(e){return{...e}}function a(e){return{...e}}function l(e){return{...e}}function s(e){return{...e}}function d(e){return{...e}}function c(e){return{...e}}function u(e){return{...e}}},250571:(e,t,n)=>{let o;n.d(t,{C:()=>i,Z:()=>r});var r=((o=r||{}).Mail="owa.react",o.MailCompose="owa.react.compose",o.Calendar="owa.react.calendar",o.FilesHub="owa.react.filesHub",o.MailSubject="owa.react.mail.subject",o.MailEmailAttachmentPicker="owa.react.mail.emailPicker",o.SuggestedAttachments="suggestedattachments",o.MeetingPrep="MeetingPrep",o.MeetingPrepPrefetch="MeetingPrep.Prefetch",o.MeetingPrepPeek="MeetingPrep.Peek",o.MeetingPrepReminder="MeetingPrep.Reminder",o.MeetingPrepAgenda="MeetingPrep.AgendaView",o.MeetingPrepMailCalendarCard="MeetingPrep.MailCalendarCard",o.MeetingPrepDesktop="OutlookDesktopOPX.MeetingPrep",o.MeetingPrepShell="ShellOPX.MeetingPrep",o.ContextualInsights="ContextualInsights",o.FileSuggestions="owa.react.filepicker",o.SonoraFilePicker="outlook.inlinefilepicker",o.SonoraHoneybee="owa.honeybee",o.ContextIQ="outlook.web.oa",o);let i=r},967599:(e,t,n)=>{let o,r,i;n.d(t,{fF:()=>s,fP:()=>l,is:()=>a});var a=((o=a||{})[o.Keywords=0]="Keywords",o[o.People=1]="People",o[o.File=2]="File",o[o.Category=3]="Category",o[o.Message=4]="Message",o[o.Event=5]="Event",o[o.TrySuggestion=6]="TrySuggestion",o[o.Setting=7]="Setting",o),l=((r=l||{}).ODSPFile="ODSP file",r.CloudyAttachment="Cloudy attachment",r.ClassicAttachment="Classic attachment",r.LinkAttachment="Link attachment",r.Unknown="Unknown",r),s=((i=s||{})[i.Unknown=0]="Unknown",i[i.Checking=1]="Checking",i[i.NotSupported=2]="NotSupported",i[i.Supported=3]="Supported",i)},381945:(e,t,n)=>{n.d(t,{km:()=>C,Y2:()=>E,Ai:()=>Z});var o=n(206339),r=n(792304),i=n(266243);function a(e){return{__type:"SearchFolderScopeType:#Exchange",...e}}var l=n(539203),s=n(341032),d=n(45409),c=n(330103),u=n(92935),m=n(218738),p=n(511943),f=n(423599),g=n(67199);let v={getKey:function(e){return e.kind+"-"+e.folderId},getSearchScopeList:function(e){let t=[];for(let n of(t.push((0,d.yY)({folderId:(0,c.Z)(u.qx,e),kind:d.D9.PrimaryMailbox})),e?(0,m.rn)(e):(0,m.rn)((0,p.zl)())))t.push((0,d.yY)({folderId:n,kind:d.D9.PrimaryMailbox}));return t},getSearchScopeType:function(e){let t=(0,s.Z)(e.folderId);return[{__type:"PrimaryMailboxSearchScopeType:#Exchange",FolderScope:a({BaseFolderId:"none"!=t?(0,r.Z)({Id:t}):(0,i.Z)({Id:e.folderId})}),IsDeepTraversal:!0}]}},h={getKey:function(e){return e.kind+"-"+e.folderId},getSearchScopeList:function(e){return[(0,d.H$)({folderId:(0,c.Z)(u.Yo,e),kind:d.D9.ArchiveMailbox}),(0,d.H$)({folderId:(0,c.Z)(u.SO,e),kind:d.D9.ArchiveMailbox})]},getSearchScopeType:function(e){let t;let n=(0,s.Z)(e.folderId);return(t="none"!=n?(0,r.Z)({Id:n}):(0,i.Z)({Id:e.folderId}),"archivemsgfolderroot"==n)?[{__type:"LargeArchiveSearchScopeType:#Exchange",ArchiveTypes:16777215}]:[{__type:"SingleLargeArchiveSearchScopeType:#Exchange",FolderScope:a({BaseFolderId:t})}]}},I={getKey:function(e){return e.kind+"-"+e.folderId},getSearchScopeList:function(e){let t=[];if(e&&(0,o.cr)("sea-sharedMailboxAllScope"))for(let n of(t.push((0,d.IP)({folderId:(0,c.Z)(u.qx,e),kind:d.D9.SharedFolders})),(0,m.rn)(e)))t.push((0,d.IP)({folderId:n,kind:d.D9.SharedFolders}));return t},getSearchScopeType:function(e){let t=(0,s.Z)(e.folderId);return[{__type:"SharedFoldersSearchScopeType:#Exchange",FolderScope:a({BaseFolderId:"none"!=t?(0,r.Z)({Id:t}):(0,i.Z)({Id:e.folderId})})}]}},S={getKey:function(e){let t=e.kind+"-"+e.groupId.toLowerCase();return(0,o.cr)("grp-3sSearch")?t+e.folderId:t},getSearchScopeList:function(e){let t=[];if((0,o.cr)("grp-3sSearch")&&e?.mailboxSmtpAddress){let n=f.B$.tryImportForRender(),o=f.J8.tryImportForRender();if(n?.(e.mailboxSmtpAddress,e)){let n=o?.(e.mailboxSmtpAddress,e);n?.map(n=>{t.push(d.DO({folderId:n,kind:d.D9.Group,groupId:e.mailboxSmtpAddress}))})}}return t},getSearchScopeType:function(e){if((0,o.cr)("grp-3sSearch")){let t=(0,i.Z)({Id:e.folderId});return[{__type:"SingleGroupSearchScopeType:#Exchange",GroupIdentity:(0,l.Z)({Type:0,Value:e.groupId}),FolderScope:a({BaseFolderId:t})}]}return[{__type:"SingleGroupSearchScopeType:#Exchange",GroupIdentity:(0,l.Z)({Type:0,Value:e.groupId})}]}},b={getKey:function(e){return e.kind+"-"+e.calendarFolderId?e.calendarFolderId.toLowerCase():""},getSearchScopeList:function(){return[]},getSearchScopeType:function(){return null}},w={getKey:function(e){return e.kind+"-"+e.folderId},getSearchScopeList:function(){return[]},getSearchScopeType:function(){return null}},y={getKey:function(e){return e.kind+"-"+e.appId},getSearchScopeList:function(e){return[]},getSearchScopeType:function(e){return null}},P=e=>{if(e?.kind)switch(e.kind){case d.D9.PrimaryMailbox:return v;case d.D9.ArchiveMailbox:return h;case d.D9.SharedFolders:return I;case d.D9.Group:return S;case d.D9.Calendar:return b;case d.D9.PublicFolder:return w;case d.D9.MetaOSApp:return y;default:throw Error("Unregistered search scope")}else throw(0,g.y8)("SearchClientError",{Function:"SearchScenario.PickScenario",Error:"kind is missing on search scope"}),Error("kind is missing on search scope")},C=e=>P(e).getKey(e),E=(e,t)=>P(e).getSearchScopeList(t),Z=e=>P(e).getSearchScopeType(e)},226459:(e,t,n)=>{n.d(t,{Z:()=>r});var o=n(381945);function r(e,t){return!!e&&!!t&&(0,o.km)(e)===(0,o.km)(t)}},848635:(e,t,n)=>{n.d(t,{Y7:()=>l.Z,JG:()=>r.JG,SG:()=>o.Z,d9:()=>s.Z,Lm:()=>a});var o=n(460163),r=n(806896),i=n(795839);let a=(0,i.aD)("INITIALIZE_SCENARIO_STORE",(e,t)=>({scenarioId:e,isUsing3S:t}));(0,i.ed)(a,e=>{let t=(0,o.Z)(e.scenarioId);(0,r.ZP)().scenarioStores.get(t)||((0,r.ZP)().scenarioStores.set(t,{...(0,r.JG)()}),(0,r.ZP)().scenarioStores.get(t).isUsing3S=e.isUsing3S)});var l=n(461788),s=n(692108)},692108:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(460163),r=n(806896);function i(e){return(0,r.ZP)().scenarioStores.get((0,o.Z)(e))||(0,r.JG)()}},461788:(e,t,n)=>{let o;n.d(t,{Y:()=>r,Z:()=>i});var r=((o=r||{})[o.Mail=1]="Mail",o[o.Calendar=2]="Calendar",o[o.FilesHub=3]="FilesHub",o[o.FilesPicker=4]="FilesPicker",o[o.FileSuggestions=5]="FileSuggestions",o[o.GroupsMail=6]="GroupsMail",o);let i=r},806896:(e,t,n)=>{n.d(t,{JG:()=>i,ZP:()=>s});var o=n(787012),r=n(795839);let i=()=>({alteredQuery:"",alterationProviderId:null,answerPlaceholderId:null,currentSearchQueryId:null,currentSuggestions:void 0,displayedQFRequestTime:null,flaggedTokens:[],isAnswerRendered:!1,isLastKeyPressedDeletion:!1,isPrimingCacheSession:!1,isSuggestionsCalloutClickable:!1,isSuggestionsDropdownVisible:!1,isUsing3S:null,latestQFRequestId:null,latestRenderedQFTraceId:null,latestQFTraceId:null,latestTraceId:null,logicalId:"",nextSearchQueryId:null,recourseQuery:"",searchBoxHasFocus:!1,searchBoxWidth:null,searchSessionGuid:null,searchText:"",searchTextForSuggestion:"",selectedPillIndex:-1,selectedSuggestionIndex:-1,selectedSuggestionQuickActionSelected:!1,showSearchBoxInCompactMode:!1,isFocusOnScopeTabs:!1,suggestedSearchTerm:"",suggestedSearchTermReferenceId:"",suggestionPillIds:[],transientSuggestionPillId:"",suggestionPills:new o.ObservableMap,queryAlterationType:null,queryActionSource:null,queryAlterationLogicalId:null,alterationDisplayText:"",traceIdToLogicalIdMap:new o.ObservableMap,tableViewId:null,isScopePickerVisible:!1,filters:[],placeholderIdToIsRenderedMap:new o.ObservableMap,interactionStartTime:-1,inKeyboardSelectionMode:!1}),a={scenarioStores:new o.ObservableMap},l=(0,r.MT)("commonSearchStore",a)(),s=()=>l},460163:(e,t,n)=>{n.d(t,{Z:()=>r});var o=n(461788);function r(e){switch(e){case o.Y.Mail:return"Mail";case o.Y.Calendar:return"Calendar";case o.Y.FilesHub:return"FilesHub";case o.Y.FilesPicker:return"FilesPicker";case o.Y.FileSuggestions:return"FileSuggestions";case o.Y.GroupsMail:return"GroupsMail";default:throw Error("Unknown SearchScenarioId value!")}}},22497:(e,t,n)=>{let o;n.d(t,{y:()=>r});var r=((o=r||{}).All="All",o.Mail="Mail",o.Files="Files",o.Chats="Chats",o.People="People",o)},808085:(e,t,n)=>{n.d(t,{U:()=>o});let o=(0,n(795839).aD)("invoke3sSearchForTab",(e,t,n,o,r)=>({tab:e,queryString:t,searchEndToEndDatapoint:n,appliedRefinersCount:o,appliedRefiners:r}))},312459:(e,t,n)=>{n.d(t,{TJ:()=>y,Zx:()=>c.Z,uY:()=>P,kq:()=>w,sF:()=>u.Z,mk:()=>f,x9:()=>g,$Z:()=>p,ID:()=>m,FN:()=>v,HK:()=>b,HP:()=>I,uT:()=>S,AD:()=>h,t_:()=>d});var o=n(402392),r=n(787297),i=n(880694),a=n(353428),l=n(808085);let s=new o.nI(()=>Promise.all([n.e(209952),n.e(32971),n.e(801461)]).then(n.bind(n,478004)),{name:"TabbedSearch"}),d=new o.EF(s,e=>e.setShouldSuppressTabs);var c=n(190016),u=n(536478);let m=new o.EF(s,e=>e.getIsNonMailEntitySearchTab),p=new o.EF(s,e=>e.getActiveSearchTab),f=new o.EF(s,e=>e.getActiveScopeTab),g=new o.EF(s,e=>e.getActiveScopeTabIndex),v=new o.EF(s,e=>e.getSearchItemsByTab),h=new o._5(s,e=>e.setLoadingState),I=new o._5(s,e=>e.resetTabbedSearchResults),S=new o._5(s,e=>e.setActiveSearchTab);new o._5(s,e=>e.setActiveScopeTab);let b=new o._5(s,e=>e.invoke3sSearchForTab),w=(0,o.$y)(s,e=>e.TabbedSearchPivot),y=(0,o.$y)(s,e=>e.TabbedScopedSuggestions),P=(0,o.$y)(s,e=>e.TabbedSearchPane);(0,o.Kv)(r.i,s,e=>e.resetSearchStoreOrchestrator),(0,o.Kv)(l.U,s,e=>e.invoke3sSearchForTabOrchestrator),(0,o.Kv)(i.Z,s,e=>e.searchSessionStartedOrchestrator),(0,o.Kv)(a.F,s,e=>e.startSearchOrchestrator)},190016:(e,t,n)=>{let o;n.d(t,{Z:()=>r});var r=((o=r||{})[o.NotStarted=0]="NotStarted",o[o.InProgress=1]="InProgress",o[o.Complete=2]="Complete",o[o.Error=3]="Error",o)},803603:(e,t,n)=>{n.d(t,{bh:()=>a});var o=n(795839);let r={activeSearchTab:void 0,activeScopeTab:void 0,fileSearchResults:[],teamsSearchResults:[],peopleSearchResults:[],loadingState:n(190016).Z.NotStarted,queryString:"",isLoadingMoreResults:!1,isTeamsChatEnabled:!1,shouldSuppressTabs:!1,searchTerms:[],shouldShowRightPane:!1,personId:"",appliedRefiners:[]},i=(0,o.MT)("tabbedSearchStore",r)(),a=()=>i},536478:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(52924),r=n(803603);function i(){return!(0,r.bh)().shouldSuppressTabs&&!o.Z()?.SessionSettings?.IsExplicitLogon}},689592:(e,t,n)=>{n.d(t,{z:()=>i});var o=n(402392);let r=new o.nI(()=>n.e(547914).then(n.bind(n,547914))),i=(0,o.$y)(r,e=>e.OutlookTourHost)},248430:(e,t,n)=>{n.d(t,{CF:()=>o,HW:()=>r,Yz:()=>i});let o="SwitchGroup",r="NavigateFromMeToWe",i="ManageGroupEmail"},836479:(e,t,n)=>{n.d(t,{Z8:()=>o.composeStore,bh:()=>o.b});var o=n(943565)},943565:(e,t,n)=>{n.d(t,{b:()=>l,composeStore:()=>a});var o=n(787012),r=n(795839);let i={viewStates:new o.ObservableMap,primaryComposeId:null,newMessageCreationInProgress:!1,shouldUseFallbackPeoplePicker:!1},a=(0,r.MT)("compose",i)(),l=()=>a},347711:(e,t,n)=>{n.d(t,{Z:()=>o});function o(e){return 5===e.operation||6===e.operation}},12260:(e,t,n)=>{function o(e){return r(e)&&(2==e.operation||e.toRecipientWell.recipients.some(t=>t.persona.EmailAddress.EmailAddress?.toLowerCase()===e.groupId.toLowerCase()))}function r(e){return!!e.groupId}n.d(t,{Z:()=>r,_:()=>o})},720062:(e,t,n)=>{n.d(t,{Z:()=>o});function o(e){return void 0!==e.publicFolderId}},652923:(e,t,n)=>{n.d(t,{tj:()=>o.t,aB:()=>s,MB:()=>l,QE:()=>a}),n(438986);var o=n(811145);n(890057);var r=n(402392);let i=new r.nI(()=>Promise.all([n.e(132664),n.e(143081)]).then(n.bind(n,143081))),a=new r._5(i,e=>e.openFileMessage),l=new r._5(i,e=>e.onDropFile),s=(0,r.$y)(i,e=>e.FileOpenErrorView)},890057:(e,t,n)=>{let o;n.d(t,{_:()=>r});var r=((o=r||{})[o.Unknown=0]="Unknown",o[o.Protocol=1]="Protocol",o[o.DragDrop=2]="DragDrop",o)},811145:(e,t,n)=>{n.d(t,{t:()=>o});let o="local"},438986:(e,t,n)=>{n.d(t,{Z:()=>r});var o=n(300011);function r(){return void 0!==(0,o.nM)().emlMsgFileActivation}},590506:(e,t,n)=>{n.d(t,{Z:()=>a});var o=n(255229),r=n(326081),i=n(52924);function a(e,t){let n=e?.From?.Mailbox?.EmailAddress||"",a=e?.Sender?.Mailbox?.EmailAddress||"",l=!!i.Z()?.SessionSettings?.IsExplicitLogon;return(0,o.Z)(e)||!!e?.RightsManagementLicenseData||!(0,r.Z)(n,t)||!(0,r.Z)(a,t)||l}},810494:(e,t,n)=>{n.d(t,{Z:()=>l});var o=n(533670),r=n(795839),i=n(827570),a=n(67199);let l=(0,r.lr)("initializeQuickSteps",(e,t)=>{let n=(0,o.Z)(),r=(0,i.M4)(e);n.quickStepsStoreMap.has(r)||(n.quickStepsStoreMap.set(r,{version:t.version,quickSteps:t.quickSteps,errorState:t.errorState,runOnce:t.runOnce}),(0,a.y8)("QuickStepTotal",[t.quickSteps.length]))})},264830:(e,t,n)=>{n.d(t,{Y:()=>r,b:()=>o});let o="mail_quicksteps",r=5},490169:(e,t,n)=>{n.d(t,{S9:()=>d,Sm:()=>c,WV:()=>p,VZ:()=>l,H7:()=>f,av:()=>v,yu:()=>I,qt:()=>h,ZE:()=>S});var o=n(402392),r=n(533670),i=n(827570),a=n(889125);function l(e){if((0,a.Y)(e)!==a.P.Loaded)return[];{let t=(0,i.M4)(e);return(0,r.Z)().quickStepsStoreMap.get(t).quickSteps}}var s=n(295620);async function d(e,t){let n=(0,i.M4)(e);(0,r.Z)().quickStepsStoreMap.has(n)||await (0,s.L)(e);let o=l(e),a=o.find(e=>e.hotkey===t);return{actions:a?.actions??[],index:a?o.indexOf(a):-1}}function c(e,t){let n=(0,i.M4)(e);if((0,r.Z)().quickStepsStoreMap.has(n)){let e=(0,r.Z)().quickStepsStoreMap.get(n).quickSteps,o=e.find(e=>e.id===t);return{actions:o?.actions??[],index:o?e.indexOf(o):-1}}throw Error("trying to find quick step before they are loaded")}let u={hotkeyFive:"eqeRMd",hotkeySix:"KIj6Cd",hotkeySeven:"Tv16Le",hotkeyEight:"HkQ8Ge",hotkeyNine:"WUL9ab"};var m=n(302140);function p(e){switch(e){case 0:return(0,m.ZP)(u.hotkeyFive);case 1:return(0,m.ZP)(u.hotkeySix);case 2:return(0,m.ZP)(u.hotkeySeven);case 3:return(0,m.ZP)(u.hotkeyEight);case 4:return(0,m.ZP)(u.hotkeyNine);default:return}}function f(e){if((0,a.Y)(e)!==a.P.Loaded)return!1;{let t=(0,i.M4)(e),n=(0,r.Z)().quickStepsStoreMap.get(t);return n?.runOnce??!1}}let g=new o.nI(()=>n.e(350615).then(n.bind(n,350615))),v=new o.EF(g,e=>e.addQuickStep),h=new o.EF(g,e=>e.removeQuickStep),I=new o.EF(g,e=>e.moveQuickStep),S=new o.EF(g,e=>e.setQuickStepsRunOnce)},889125:(e,t,n)=>{let o;n.d(t,{P:()=>l,Y:()=>s});var r=n(533670),i=n(827570),a=n(295620),l=((o=l||{})[o.Loading=0]="Loading",o[o.Loaded=1]="Loaded",o[o.ConfigError=2]="ConfigError",o);function s(e){let t=(0,i.M4)(e),n=(0,r.Z)().quickStepsStoreMap.get(t);return n?n.errorState?2:1:((0,a.L)(e),0)}},533670:(e,t,n)=>{n.d(t,{Z:()=>a});var o=n(795839),r=n(787012);let i=(0,o.MT)("quickStepsStore",{quickStepsStoreMap:new r.ObservableMap})(),a=()=>i},527773:(e,t,n)=>{n.d(t,{z:()=>C});var o=n(858423),r=n(517795),i=n(386863),a=n(718531),l=n(279916),s=n(162055),d=n(914078),c=n(781506),u=n(348662),m=n(550033),p=n(237325),f=n(651626),g=n(134433),v=n(455868),h=n(454558),I=n(345301),S=n(621001);let b=(0,n(293005).yP)({IconComponent:e=>I.createElement("svg",{...e,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},I.createElement("path",{d:"M17.6745 5.28645L15.6558 3.32008C15.5582 3.21886 15.4412 3.13834 15.3119 3.08334C15.1825 3.02835 15.0433 3 14.9027 3C14.7621 3 14.623 3.02835 14.4936 3.08334C14.3642 3.13834 14.2472 3.21886 14.1496 3.32008L11.3779 6.03952L7.86355 9.59571L5.84489 7.50384C5.74706 7.39933 5.62881 7.31603 5.49748 7.25908C5.36614 7.20213 5.22451 7.17274 5.08136 7.17274C4.93821 7.17274 4.79658 7.20213 4.66524 7.25908C4.53391 7.31603 4.41566 7.39933 4.31783 7.50384L2.32008 9.59571C2.21886 9.69328 2.13834 9.81026 2.08334 9.93965C2.02835 10.069 2 10.2082 2 10.3488C2 10.4894 2.02835 10.6285 2.08334 10.7579C2.13834 10.8873 2.21886 11.0043 2.32008 11.1019L5.09182 13.8736L7.11048 15.8713C7.20858 15.9714 7.32579 16.0508 7.45516 16.1047C7.58453 16.1586 7.72341 16.1859 7.86355 16.1851C8.00194 16.1845 8.13883 16.1565 8.26631 16.1027C8.39378 16.0488 8.5093 15.9702 8.60617 15.8713L17.6745 6.80306C17.7773 6.70535 17.8592 6.58773 17.9152 6.45737C17.9711 6.32701 18 6.18662 18 6.04475C18 5.90288 17.9711 5.7625 17.9152 5.63214C17.8592 5.50177 17.7773 5.38416 17.6745 5.28645ZM5.1232 12.3465L3.09408 10.2547L5.08136 8.28829L7.10002 10.3069L5.09182 12.3361L5.1232 12.3465ZM10.6876 12.3465L7.84264 15.1183L6.27373 13.5389L5.82398 13.0787L8.59571 10.3069L12.1101 6.78214L14.8818 4.0104L16.9109 6.10228L10.6876 12.3465Z"})),displayName:"IcFluentBrandToDoMono"});(0,S.fm)({icons:{IcFluentBrandToDoMono:I.createElement(b,null)}});var w=n(585223),y=n(960994),P=n(939129);function C(e,t){let n;let r=E.get(e.iconId)??o.Z;if("category"===e.iconId&&e.actions[0]){let o=e.actions[0].extraInfo;o?.isAlwaysAsk?n=(0,w.n)(6):o?.categoryId&&"string"==typeof o.categoryId?n=(0,y.ZP)(o.categoryId,(0,P.C)(t),t).iconColor:o&&(n=(0,y.ZP)(o,(0,P.C)(t),t).iconColor)}else{let t=Z.get(e.iconId)??6;n=(0,w.n)(t)}return{name:r,color:n}}let E=new Map([["markAsRead",i.Z],["markAsUnread",a.Z],["delete",r.Z],["softDelete",r.Z],["moveTo",l.Z],["copyTo",l.Z],["category",s.Z],["clearCategories",s.Z],["forwardTo",d.Z],["forwardAsAttachment",c.Z],["flag",u.Z],["clearFlags",u.Z],["markComplete",m.Z],["retentionPolicy",p.Z],["pin",f.Z],["unpin",f.Z],["ignore",g.Z],["snooze",v.Z],["createTask","IcFluentBrandToDoMono"],["replyWithMeeting",h.Z],["copilotReplyWithMeeting",h.Z],[null,o.Z]]),Z=new Map([["markAsRead",6],["markAsUnread",6],["delete",6],["softDelete",6],["moveTo",4],["copyTo",4],["clearCategories",4],["forwardTo",4],["forwardAsAttachment",6],["flag",0],["clearFlags",0],["markComplete",3],["retentionPolicy",4],["pin",4],["unpin",4],["ignore",0],["snooze",6],["createTask",6],["replyWithMeeting",5],["copilotReplyWithMeeting",5],[null,2]])},295620:(e,t,n)=>{n.d(t,{L:()=>c});var o=n(264830);let r={version:o.Y,quickSteps:[],errorState:!1,runOnce:!1};var i=n(810494),a=n(676301),l=n(206339),s=n(160088);let d={};async function c(e){if(!d[e.userIdentity]){if(d[e.userIdentity]=!0,(0,l.cr)("tri-quickSteps-reset"))(function(e){(0,i.Z)(e,r);let t=JSON.stringify(r);(0,s.Z)(e,t)})(e);else{let t;let n=await (0,a.Ff)(e,a.cA.V1,a.ll.Account,[o.b]),l=n[0]?.value;if(l){let n=JSON.parse(l);if(n.version>r.version)(t=r).errorState=!0;else{let o;let r=(o=!1,n.quickSteps.forEach(e=>{5===e.hotkey&&(e.hotkey=void 0),e.actions.forEach(e=>{if("moveTo"===e.type&&void 0!=e.extraInfo){let t=e.extraInfo;if(void 0===t.folderId&&void 0===t.isAlwaysAsk){let t={folderId:e.extraInfo,isAlwaysAsk:!1};e.extraInfo=t,o=!0}}if("category"===e.type&&void 0!=e.extraInfo){if("string"==typeof e.extraInfo){let t={categoryId:e.extraInfo,isAlwaysAsk:!1};e.extraInfo=t,o=!0}else if("object"==typeof e.extraInfo){let t=e.extraInfo;if(t?.categoryId!==null&&t?.categoryId!==void 0){if("string"==typeof t.categoryId&&void 0!==t.isAlwaysAsk){let n={categoryId:t.categoryId,isAlwaysAsk:t.isAlwaysAsk};e.extraInfo=n}else if("object"==typeof t.categoryId){let n=t.categoryId;if(null!==n&&null!==n.categoryId&&void 0!==n.categoryId&&"string"==typeof n.categoryId){let t={categoryId:n.categoryId,isAlwaysAsk:!1};e.extraInfo=t,o=!0}}}}}})}),void 0===n.runOnce&&(n.runOnce=!0,o=!0),o);if((t=n).errorState=!1,r){let n=JSON.stringify(t);(0,s.Z)(e,n)}}}else t=r;(0,i.Z)(e,t)}}}},160088:(e,t,n)=>{n.d(t,{Z:()=>l});var o=n(676301),r=n(478248),i=n(264830),a=n(67199);function l(e,t){let n={name:i.b,value:t,type:o.uw.Json,scope:r.p(e).SessionSettings?.UserEmailAddress||"",itemClass:"RoamingSetting"};return(0,a.y8)("QS_Import_SaveToServiceCalled"),(0,o.Mr)(e,o.cA.V1,o.ll.Account,[n])}},357843:(e,t,n)=>{let o;n.d(t,{M:()=>i,v:()=>a});var r=n(795839),i=((o=i||{})[o.Dismiss=0]="Dismiss",o[o.MarkComplete=1]="MarkComplete",o);let a=(0,r.aD)("onNudgeInfoBarClicked",(e,t,n)=>({rowKey:e,itemId:t,response:n}))},575930:(e,t,n)=>{n.d(t,{m:()=>o});let o=(0,n(795839).aD)("ON_NUDGE_IS_ENABLE_SAVED")},984737:(e,t,n)=>{n.d(t,{v:()=>o});let o=(0,n(795839).aD)("ON_SELECT_FOLDER_COMPLETE",(e,t,n,o,r,i,a,l)=>({selectedFolderId:e,previousFolderId:t,isExitingSearch:n,selectedTableViewId:o,mailListItemSelectionSource:r,isInImmersiveView:i,actionSource:a,shouldFirstRowBeSelectedOnLoad:l}))},345685:(e,t,n)=>{n.d(t,{Z:()=>o});let o=(0,n(795839).aD)("ON_CONVERSATION_OPTION_SAVED")},642934:(e,t,n)=>{n.d(t,{y:()=>o});let o=(0,n(795839).aD)("ON_LIST_VIEW_TYPE_OPTION_SAVED",e=>({newListViewType:e}))},270254:(e,t,n)=>{n.d(t,{S0:()=>a,UX:()=>i});var o=n(795839),r=n(637403);let i=(0,o.lr)("DISPLAY_DENSITY_OPTION_SELECTED",function(e){(0,r.Z)().densityModeSelected=e});(0,o.lr)("MESSAGE_LIST_LINE_OPTION_SELECTED",function(e){(0,r.Z)().useSingleLineMessageStyle=e});let a=(0,o.lr)("DISCARD_DENSITY_OPTION",function(){(0,r.Z)().densityModeSelected=null,(0,r.Z)().useSingleLineMessageStyle=null})},517697:(e,t,n)=>{n.d(t,{I:()=>d});var o=n(243470),r=n(870683),i=n(64906),a=n(52924),l=n(691303),s=n(511943);async function d(e,t){let n=(0,a.Z)().UserOptions;(0,i.UW)(e,(0,r.h)(e));let d=e!==n?.DisplayDensityMode,c=t&&t.enableInlinePreview!==n?.ShowInlinePreviews;if(d||c){let n=[];d&&n.push({key:"DisplayDensityMode",valuetype:"Integer32",value:[String(function(e){switch(e){case"Simple":return 1;case"Compact":return 2;default:return 0}}(e))]}),c&&n.push({key:"ShowInlinePreviews",valuetype:"Boolean",value:[String(t.enableInlinePreview)]}),await (0,l.o)(n=>{n.UserOptions&&(d&&(n.UserOptions.DisplayDensityMode=e),c&&(n.UserOptions.ShowInlinePreviews=t.enableInlinePreview))},n)}t&&await (0,o.R)(t.hideSenderImage,8,(0,s.zl)())}},183047:(e,t,n)=>{n.d(t,{Z:()=>l});var o=n(67199),r=n(637403),i=n(420942),a=n(517697);async function l(){let e=(0,r.Z)().densityModeSelected,t=(0,i.z)(e);return(0,o.y8)("DisplayDensityQuickSettings",[e]),(0,a.I)(e,t)}},317501:(e,t,n)=>{n.d(t,{wH:()=>d,ZU:()=>b,zj:()=>y.z,I_:()=>o.I});var o=n(517697),r=n(173535),i=n(402392),a=new i.nI(()=>n.e(992118).then(n.bind(n,992118))),l=new i.nI(()=>n.e(667332).then(n.bind(n,667332)));let s="vMW6Dc",d=(0,r.Qw)({key:"Density",titleStringKey:s,searchTermsStringKey:s},a,e=>e.default,l,e=>e.default);var c=n(579933),u=n(231622),m=n(52924),p=n(596667),f=n(983913),g=n(302140),v=n(183047),h=n(637403),I=n(709077),S=n(270254);function b(){return{key:"MessageHeight",name:(0,g.ZP)("F9uI5c"),subMenuProps:{items:[function(){let e=(e,t)=>{let n=(0,h.Z)(),o=(0,r.CP)(n.densityModeSelected,m.Z().UserOptions?.DisplayDensityMode);return{key:e,text:(0,g.ZP)(t),canCheck:!0,isChecked:`${o}`===e,onClick:()=>{w(e)}}};return{key:"DensitySection",itemType:c.n.Section,sectionProps:{bottomDivider:!0,title:(0,g.ZP)("hiupld"),items:[e("Full",f.jm),e("Simple",f.PS),e("Compact",f.tr)]}}}(),function(){let e=(0,m.Z)().UserOptions,t=`${(0,r.CP)(p.Z.readingPanePosition,e.GlobalReadingPanePositionReact)}`!=`${u.Z.Right}`,n=(0,h.Z)(),o=(0,r.CP)(n.useSingleLineMessageStyle,(0,I.bh)().useSingleLineMessageListWithRightReadingPane);return{key:"MessageHeightSection",itemType:c.n.Section,sectionProps:{title:(0,g.ZP)("XIlakc"),items:[{key:"ThreeLineOnly",text:(0,g.ZP)("$HPmL"),canCheck:!0,isChecked:!o,onClick:()=>{(0,I.Zf)(!1)},disabled:t},{key:"SwitchToSLV",text:(0,g.ZP)("q$sGje"),canCheck:!0,isChecked:o,onClick:()=>{(0,I.Zf)(!0)},disabled:t}]}}}()]}}}let w=e=>{(0,S.UX)(e),(0,v.Z)()};var y=n(420942)},637403:(e,t,n)=>{n.d(t,{Z:()=>o});let o=(0,n(795839).MT)("densityOptionState",{densityModeSelected:null,useSingleLineMessageStyle:null})},420942:(e,t,n)=>{n.d(t,{z:()=>r});var o=n(309717);function r(e){switch(e){case"Full":return{enableInlinePreview:!0,hideSenderImage:!1};case"Simple":return{enableInlinePreview:!0,hideSenderImage:!0};case"Compact":return{enableInlinePreview:!1,hideSenderImage:!0};default:(0,o.Z)(!1,`Unhandled enum value: ${e}`)}}},948652:(e,t,n)=>{n.d(t,{d:()=>o.Z});var o=n(272099)},272099:(e,t,n)=>{n.d(t,{Z:()=>a});var o=n(173535),r=n(16926),i=n(335999);function a(){let e=(0,r.Z)().composeFormOptionState,t=(0,i.Z)();return(0,o.CP)(e?e.composeFormInPopOutEnabled:null,!!t&&t.composeFormInPopOutEnabled)}},335999:(e,t,n)=>{n.d(t,{Z:()=>r});var o=n(296637);function r(){return(0,o.Bb)(o.Xm.ComposeFormInPopOut)}},16926:(e,t,n)=>{n.d(t,{Z:()=>o});let o=(0,n(795839).MT)("composeFormInPopOutOption",{composeFormOptionState:null})},639330:(e,t,n)=>{n.d(t,{IH:()=>v,gL:()=>h,PE:()=>I});var o=n(67199),r=n(345685),i=n(642934),a=n(52924),l=n(877111),s=n(762503),d=n(674783),c=n(880639),u=n(795839),m=n(296637);async function p(e){let t=await m.tR.import(),n=t&&await t(m.Xm.ReadingPaneConversation)||(0,m.Bb)(m.Xm.ReadingPaneConversation),o=n?.conversationEnabled,r=void 0!=e?e:(0,c.Z)(),l={...n,conversationEnabled:r};if(f(n,l),o!=r){let e=(0,a.Z)().UserOptions;(0,i.y)(e.GlobalListViewTypeReact),m.mX.importAndExecute(m.Xm.ReadingPaneConversation,l)}}let f=(0,u.lr)("updateReadingPaneConversationOption",(e,t)=>{});async function g(e,t,n,o){let d=(0,a.Z)().UserOptions,c=[];if(d&&null!==e&&e!==d.GlobalListViewTypeReact&&((0,l.W)(t=>{t.UserOptions&&(t.UserOptions.GlobalListViewTypeReact=e)}),c.push({key:"GlobalListViewTypeReact",valuetype:"Integer32",value:[`${e}`]}),(0,i.y)(e)),null!=o&&await p(o),t){let e;switch((0,l.W)(e=>{e.UserOptions&&(e.UserOptions.ConversationSortOrderReact=t)}),d?.ConversationSortOrderReact){case"Chronological":e=1;break;case"Tree":e=2;break;case"NewestOnTop":e=4;break;case"NewestOnBottom":e=8;break;case"ChronologicalNewestOnTop":e=5;break;case"ChronologicalNewestOnBottom":e=9;break;case"TreeNewestOnBottom":e=10}c.push({key:"ConversationSortOrderReact",valuetype:"Integer32",value:[`${e}`]})}null!==n&&((0,l.W)(e=>{e.UserOptions&&(e.UserOptions.HideDeletedItems=n)}),c.push({key:"HideDeletedItems",valuetype:"Boolean",value:[`${d?.HideDeletedItems}`]})),(0,r.Z)(),c.length&&await (0,s.Z)(c)}async function v(){return g(d.Z.globalListViewType,d.Z.conversationSortOrder,d.Z.hideDeletedItems,d.Z.readingPaneConversationEnabled)}async function h(e,t,n){(0,o.y8)("QuickSettingConversations",[n]),await g(e,n,null,t)}async function I(e,t,n){(0,o.y8)("ProgrammaticConversations",[n]),await g(e,n,null,t)}},940458:(e,t,n)=>{n.d(t,{PE:()=>o.PE,cO:()=>r.Z,gL:()=>o.gL});var o=n(639330),r=n(880639)},880639:(e,t,n)=>{n.d(t,{Z:()=>l});var o=n(674783),r=n(173535),i=n(52924),a=n(296637);function l(){return(0,r.CP)(o.Z.readingPaneConversationEnabled,function(){let e=(0,a.Bb)(a.Xm.ReadingPaneConversation);return e?e.conversationEnabled:0===(0,i.Z)().UserOptions.GlobalListViewTypeReact}())}},674783:(e,t,n)=>{n.d(t,{Z:()=>o});let o=(0,n(795839).MT)("conversationsOption",{conversationSortOrder:null,hideDeletedItems:null,globalListViewType:null,readingPaneConversationEnabled:null})()},2391:(e,t,n)=>{n.d(t,{I:()=>i});var o=n(402392);let r=new o.nI(()=>Promise.all([n.e(679105),n.e(12537),n.e(450093),n.e(408782),n.e(729349)]).then(n.bind(n,495237))),i=new o._5(r,e=>e.openRulesPanelInModal)},507961:(e,t,n)=>{n.d(t,{Z:()=>l,_:()=>s});var o=n(572466),r=n(173535),i=n(52924),a=n(777023);async function l(){await s(o.Z.showPreviewTextInListView)}async function s(e){let t=(0,r.CP)(e,i.Z().UserOptions?.ShowPreviewTextInListView);await (0,a.o)({UserOptions:{ShowPreviewTextInListView:t}})}},572466:(e,t,n)=>{n.d(t,{Z:()=>o});let o=(0,n(795839).MT)("messagePreviewOption",{showPreviewTextInListView:null})()},595151:(e,t,n)=>{n.d(t,{K:()=>o});let o=(0,n(795839).aD)("saveReadingPanePositionOption")},560327:(e,t,n)=>{n.d(t,{K:()=>r.K,n:()=>a});var o=n(402392),r=n(595151);let i=new o.nI(()=>n.e(399049).then(n.bind(n,399049))),a=new o._5(i,e=>e.saveReadingPaneOptionQuick)},596667:(e,t,n)=>{n.d(t,{Z:()=>o});let o=(0,n(795839).MT)("readingPaneOption",{readingPanePosition:null,nextSelection:null,loadMessageOnLogOn:null})()},673147:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(243470),r=n(511943);function i(){return!(0,o.O)(8,(0,r.zl)())}},96008:(e,t,n)=>{n.d(t,{D1:()=>i.ZP,En:()=>l,bh:()=>r.Z,eG:()=>s,gm:()=>i.gm});var o=n(402392),r=n(19431),i=n(622248);let a=new o.nI(()=>Promise.all([n.e(728696),n.e(386713)]).then(n.bind(n,205255))),l=new o._5(a,e=>e.initializeHoverSurfaceAction),s=new o._5(a,e=>e.saveHoverSurfaceActionService)},19431:(e,t,n)=>{n.d(t,{Z:()=>r});let o=(0,n(795839).MT)("surfaceActionsOption",{readSurfaceActions:null,readSurfaceAddins:null,composeSurfaceActions:null,composeSurfaceAddins:null,hoverSurfaceActions:null})(),r=()=>o},622248:(e,t,n)=>{n.d(t,{X$:()=>r,ZP:()=>a,gm:()=>i});var o=n(52924);function r(e){let t=[];return e.forEach(e=>{switch(e){case"None":t.push(0);break;case"Delete":t.push(1);break;case"Archive":t.push(2);break;case"PinUnpin":t.push(3);break;case"ReadUnread":t.push(4);break;case"FlagUnflag":t.push(5);break;case"Move":t.push(6)}}),t}function i(e){let t=[];return e.forEach(e=>{switch(e){case 0:t.push("None");break;case 1:t.push("Delete");break;case 2:t.push("Archive");break;case 3:t.push("PinUnpin");break;case 5:t.push("FlagUnflag");break;case 4:t.push("ReadUnread");break;case 6:t.push("Move")}}),t}function a(){let e=o.Z()?.ViewStateConfiguration?.MailTriageOnHoverActions;return e?i([...e]):["FlagUnflag","Delete","PinUnpin"]}},831249:(e,t,n)=>{n.d(t,{b:()=>i});var o=n(787012);let r=(0,n(795839).MT)("optionsViewState",{isFullOptionsShown:!1,areAllAllowedSubCategoriesLoaded:!1,isSaving:!1,currentCategoryKey:void 0,currentSubCategoryKey:void 0,subCategoryLoadState:new o.ObservableMap,currentOptionKey:void 0,currentOptionSubKey:void 0,allowedOptions:[],dirtyOptions:[]})(),i=()=>r},173535:(e,t,n)=>{n.d(t,{GC:()=>b,Qw:()=>p,SX:()=>f,CP:()=>u,ft:()=>m,_O:()=>h._,fX:()=>S,M6:()=>c,xG:()=>g});var o=n(402392),r=n(511943),i=n(973002);function a(e){return{__type:"SetMailboxMessageConfigurationRequest:#Exchange",...e}}var l=n(837086),s=n(901111),d=n(478248);function c(e,t){var n;let o=t??(0,r.zl)(),c=d.p(o).UserOptions?.MailSendUndoInterval;!e.MailSendUndoInterval&&c&&c<0&&(e.MailSendUndoInterval=0);let u=(0,i.Z)(o);return void 0===(n=a({Header:(0,s.F)(),Options:{__type:"MailboxMessageConfigurationOptions:#Exchange",...e}}))||n.__type||(n=a(n)),(0,l.S)("SetMailboxMessageConfiguration",n,u)}function u(e,t){return null===e?t:e}function m(e,t){return e??t}function p(e,t,n,r,i){let a=t&&n?new o.EF(t,n):null,l=r&&i?new o.EF(r,i):null;return{...e,tryImportFullOptionFormSettingsSync:a?()=>a.tryImportForRender():void 0,tryImportQuickOptionSettingsSync:l?()=>l.tryImportForRender():void 0}}function f(e,t,n){return{...e,fullOptionFormSettings:t,quickOptionSettings:n}}function g(e){let t=e.options?e.options.filter(e=>v(e)||(e.tryImportFullOptionFormSettingsSync??!1)).map(e=>v(e)?e:{...e,fullOptionFormSettings:e.tryImportFullOptionFormSettingsSync?.()}):[];return t.some(({fullOptionFormSettings:e})=>!e)?null:t}function v(e){return e.fullOptionFormSettings??!1}var h=n(300131);let I=new o.nI(()=>n.e(657379).then(n.bind(n,657379))),S=new o._5(I,e=>e.confirmOptionNavigation),b=(0,o.$y)(I,e=>e.OptionsEditor)},797722:(e,t,n)=>{n.d(t,{s:()=>c,k:()=>d});var o=n(64821),r=n(422497);let i=r.B1;async function a(e){let{category:t,subcategory:n,option:o,suboption:i}=e;await r.Vl.importAndExecute(t,n,o,i,void 0,window)}async function l(e){let{category:t,subcategory:n,option:o,suboption:i}=e;await r.Ez.importAndExecute(t,n,o,void 0,void 0,i)}async function s(e,t,n,o){let a=!(n[0]===i||n[1]===i),l=a||t.category!=o.category||t.subcategory!=o.subcategory;return new Promise(async e=>{let t=await r.RQ.import();l?t(async()=>{e(!1),a&&(await r.pN.import())(!1)},()=>e(!0)):e(!1)})}function d(e){let t=(t,n)=>{e(t,n,s)};t(`/deeplink/${i}`,a),t(`/deeplink/${i}/:category`,a),t(`/deeplink/${i}/:category/:subcategory`,a),t(`/deeplink/${i}/:category/:subcategory/:option`,a),t(`/deeplink/${i}/:category/:subcategory/:option/:suboption`,a),t(`/${i}`,l),t(`/${i}/:category`,l),t(`/${i}/:category/:subcategory`,l),t(`/${i}/:category/:subcategory/:option`,l),t(`/${i}/:category/:subcategory/:option/:suboption`,l)}function c(){let e=[],t=(0,o.Z)();return t.isFullOptionsShown&&t.areAllAllowedSubCategoriesLoaded&&t.currentCategoryKey&&t.currentSubCategoryKey&&(e=[i,t.currentCategoryKey,t.currentSubCategoryKey],t.currentOptionKey&&e.push(t.currentOptionKey),t.currentOptionSubKey&&e.push(t.currentOptionSubKey)),e}},64821:(e,t,n)=>{n.d(t,{Z:()=>r});var o=n(831249);function r(){let e=(0,o.b)();return{isFullOptionsShown:e.isFullOptionsShown,areAllAllowedSubCategoriesLoaded:e.areAllAllowedSubCategoriesLoaded,currentCategoryKey:e.currentCategoryKey,currentSubCategoryKey:e.currentSubCategoryKey,currentOptionKey:e.currentOptionKey,currentOptionSubKey:e.currentOptionSubKey}}},36345:(e,t,n)=>{n.d(t,{$P:()=>s,$_:()=>m,E5:()=>u,Sf:()=>d,_l:()=>l,ck:()=>f,iz:()=>p,p2:()=>i,vy:()=>a,zi:()=>c});var o=n(402392);let r=new o.nI(()=>Promise.all([n.e(367989),n.e(415227),n.e(863844)]).then(n.bind(n,863844)),{name:"TopicAnnotations"}),i=new o._5(r,e=>e.getTopicDefinition),a=new o._5(r,e=>e.getTopicAnnotations),l=new o._5(r,e=>e.getMyTopics),s=new o._5(r,e=>e.getTopicsByName),d=new o._5(r,e=>e.getTopicsByPrefix),c=new o._5(r,e=>e.logEvent),u=new o._5(r,e=>e.unsafeGetTopicsSdk),m=new o._5(r,e=>e.getTopicBootstrapperConfig),p=new o._5(r,e=>e.addTopicHighlight),f=new o._5(r,e=>e.updateIsTopicHighlightsEnabled);new o._5(r,e=>e.removeTopicHighlightByTopicId)},188673:(e,t,n)=>{n.d(t,{Z:()=>r});var o=n(478248);function r(e){let t=(0,o.p)(e);return{tenantAadObjectId:t.SessionSettings?.ExternalDirectoryTenantGuid,userAadObjectId:t.SessionSettings?.ExternalDirectoryUserGuid}}},880485:(e,t,n)=>{n.d(t,{C:()=>i,K7:()=>l,NV:()=>u,PR:()=>d,SS:()=>a,gT:()=>s,tl:()=>c});var o=n(402392);let r=new o.nI(()=>Promise.all([n.e(592519),n.e(267173)]).then(n.bind(n,739040)),{name:"TopicCommon"}),i=new o._5(r,e=>e.getTopicsSdkAsync),a=new o._5(r,e=>e.getManualTopicsByConversationId),l=new o._5(r,e=>e.getManualTopicsByItem),s=new o._5(r,e=>e.getTopicsByConversationId),d=new o._5(r,e=>e.getTopicsByItem),c=new o._5(r,e=>e.getTopicAnnotationsFromItem),u=(0,o.$y)(r,e=>e.TopicManualAnnotation)},273306:(e,t,n)=>{n.d(t,{DJ:()=>g,GJ:()=>I,GN:()=>f,Pd:()=>w,TC:()=>S,Uw:()=>b,YJ:()=>P,_X:()=>p,pU:()=>y,uD:()=>v,wM:()=>m,y4:()=>C,yu:()=>h});var o=n(413276),r=n(511943),i=n(548879),a=n(206339),l=n(478248),s=n(240282),d=n(52924),c=n(749487),u=n(498937);function m(e){return p(e)&&(0,c.lM)()}function p(e){return E(e)&&v(e)}function f(e){return((0,a.cr)("csi-owa-topic-badge")||(0,a.cr)("csi-owa-topic-badges-EAP")&&!!M(e))&&!!w(e)}function g(e){return(0,a.cr)("csi-owa-topic-context-action")&&!!w(e)&&E(e)}function v(e){return!!(l.p(e).UserOptions?.IsTopicHighlightsEnabled&&w(e))}function h(){return(0,a.cr)("csi-editor-topicsuggestions")&&w((0,r.zl)())&&!I()&&(0,c.I3)()}function I(){return(0,a.cr)("mc-editor-oa-topics-flags")&&w((0,r.zl)())&&(0,c.I3)()}function S(){return(0,a.cr)("mc-editor-oa-vivatopics")&&w((0,r.zl)())}function b(){return((0,a.cr)("csi-editor-topicsuggestions")||(0,a.cr)("mc-editor-oa-topics-flags"))&&w((0,r.zl)())}function w(e){if(!(0,i.Ry)("Topics").loadSDK||(0,s.Z)(void 0,e))return!1;{let t=(0,u.I)(e);return t?t.canUserViewTopics():Z(e)}}function y(){return(0,a.cr)("csi-owa-topic-multi-account-all-users")}function P(){return(0,a.cr)("csi-owa-topic-multi-account-HVC-setting")}function C(){return P()?(0,r.Ly)().some(e=>w(e.mailboxInfo)):w((0,r.zl)())}function E(e){return(0,a.cr)("csi-owa-auto-topic-highlights")||(0,a.cr)("csi-owa-topic-highlights-EAP")&&!!M(e)}function Z(e,t){let n;n=y()?(0,l.p)(e):(0,d.Z)();let r=n.SessionSettings?.ExternalDirectoryTenantGuid,i=n.SessionSettings?.ExternalDirectoryUserGuid;return(0,o.k)({tenantAadObjectId:r,userAadObjectId:i},"Read",t)}function M(e){let t=(0,u.I)(e);return t?t.isPreviewUser():Z(e,!0)}},374660:(e,t,n)=>{let o;n.d(t,{Z:()=>c});var r=n(62748),i=n(548879),a=n(956089),l=n(36345),s=n(188673),d=n(273306);async function c(e){return(0,i.Ry)("Topics").loadSDK?(0,d.pU)()?l.$_.importAndExecute(e).then(t=>(0,r.OU)(t,(0,s.Z)(e))).catch(e=>Promise.reject(e)):(o||(await a.wE.importAndExecute(),o=l.$_.importAndExecute(e).then(e=>(0,r.OU)(e)).catch(e=>Promise.reject(e))),o):Promise.resolve(void 0)}},749487:(e,t,n)=>{n.d(t,{I3:()=>i,R:()=>r,aR:()=>s,lM:()=>l,zs:()=>a});var o=n(52924);function r(){let e=o.Z().UserOptions?.TopicsBitFlags;return null==e?511:e}function i(){return!!(2&r())}function a(e){var t;return t=r(),e?t|=2:t&=-3,t}function l(){return!!(1&r())}function s(e){var t;return t=r(),e?t|=1:t&=-2,t}},498937:(e,t,n)=>{n.d(t,{I:()=>s});var o=n(62748),r=n(548879),i=n(188673),a=n(273306),l=n(374660);function s(e){let t;if((0,r.Ry)("Topics").loadSDK)return(t=(0,a.pU)()?(0,o.I6)((0,i.Z)(e)):(0,o.I6)())||(0,l.Z)(e).catch(()=>{}),t}},505274:(e,t,n)=>{n.d(t,{t5:()=>a,A6:()=>o.A,Ef:()=>r.Ef,gU:()=>r.gU,Sd:()=>r.Sd,$o:()=>r.$o});var o=n(940956),r=n(864447);let i="32px",a={root:{fontSize:"11px",minHeight:"48px",padding:"0px 11px",".ms-Button-textContainer":{marginLeft:"8px"},".ms-Button-label":{fontSize:"14px",fontWeight:"normal",margin:"0px",paddingBottom:"1px"},".ms-Button-icon":{height:i,width:i}}}},940956:(e,t,n)=>{n.d(t,{A:()=>p,J:()=>g});var o=n(741299),r=n(932263),i=n(787012),a=n(308807),l=n(206339);let s={defaultButton:`.${o.yf} .${o.P0}`,splitButton:`.${r.ii} .${r.K9}`},d={height:13,paddingTop:3,width:"auto"},c={fontSize:12,height:12,width:12},u=()=>{let e=(0,l.cr)("mon-ribbon-mlr-redesign");return{root:{borderRadius:4,[s.defaultButton]:d},rootPressed:{backgroundColor:(0,a.XN)().neutralQuaternary,borderColor:(0,a.XN)().neutralTertiary},rootChecked:{backgroundColor:(0,a.XN)().neutralLighter,borderColor:(0,a.XN)().neutralSecondaryAlt},rootHovered:{backgroundColor:(0,a.XN)().neutralLighterAlt,borderColor:(0,a.XN)().neutralQuaternary},textContainer:{[`.${o.UL}`]:{display:"flex",alignItems:"flex-end"}},splitButtonMenuButton:{[s.splitButton]:d},...e&&{splitButtonMenuIcon:{"&.ms-Button-icon":{...c,marginLeft:0}},menuIcon:{"&.ms-Button-menuIcon":c}}}},m=(0,i.computed)(()=>u()),p=()=>m.get(),f=(0,i.computed)(()=>{let e=u();return e.label={fontWeight:600},e}),g=()=>f.get()},986622:(e,t,n)=>{n.d(t,{G:()=>o,singleLineRibbonStyleConstants:()=>r});let o=e=>({borderRadius:4,chevronIconSize:e?16:12,iconSize:20,rootHeight:32,rootMarginTop:4,splitButtonMenuButtonWidth:e?28:16}),r=o(!1)},864447:(e,t,n)=>{n.d(t,{$o:()=>g,Ef:()=>v,Kx:()=>S,Sd:()=>w,gU:()=>b});var o=n(787012),r=n(308807),i=n(986622);let a=(e,t)=>({fontSize:14,fontWeight:!0===e?"600":"400",lineHeight:16.41,marginLeft:t?10:4}),l=()=>{let{iconSize:e}=(0,i.G)();return{width:e,height:e,fontSize:e}},s=()=>{let e=(0,i.G)(!1);return{height:e.rootHeight,marginTop:e.rootMarginTop,borderRadius:e.borderRadius}},d=e=>{let t=(0,i.G)(e);return{height:t.rootHeight,marginTop:t.rootMarginTop,paddingRight:12,borderWidth:0,borderTopLeftRadius:t.borderRadius,borderBottomLeftRadius:t.borderRadius}},c=e=>{let t=(0,i.G)(e);return{height:t.rootHeight,width:t.splitButtonMenuButtonWidth,marginTop:t.rootMarginTop,borderWidth:0,borderTopRightRadius:t.borderRadius,borderBottomRightRadius:t.borderRadius,fontSize:t.chevronIconSize}},u=()=>{let e=(0,i.G)(),t=(0,r.XN)();return{root:s(),rootPressed:{backgroundColor:t.neutralQuaternary,borderColor:t.neutralTertiary},rootChecked:{backgroundColor:t.neutralLighter,borderColor:t.neutralSecondaryAlt},rootHovered:{backgroundColor:t.neutralLighterAlt,borderColor:t.neutralQuaternary},label:a(!1,!1),icon:l(),splitButtonMenuButton:c(!1),menuIcon:{fontSize:e.chevronIconSize}}},m=(0,o.computed)(()=>{let e=u(),{neutralPrimaryAlt:t}=(0,r.XN)(),n={selectors:{button:{borderColor:t},".splitPrimaryButton":{borderRight:0,paddingRight:"3px"}}};return{...e,root:{...e.root,borderTopRightRadius:0,borderBottomRightRadius:0,borderWidth:1,borderRightStyle:"solid",borderRightColor:"transparent"},rootHovered:{...e.rootHovered,outline:"transparent dashed 2px"},splitButtonMenuButton:{...e.splitButtonMenuButton,borderWidth:1},splitButtonContainerChecked:n,splitButtonContainerCheckedHovered:n}}),p=(0,o.computed)(()=>{let e=(0,r.XN)(),t=(0,i.G)(!0),n=d(!0),o=c(!0);return{root:{...n,backgroundColor:e.themePrimary,color:e.white,selectors:{":hover":{...n,backgroundColor:e.themeDark,color:e.white},":active":{...n,backgroundColor:e.themeDarker,color:e.white}}},rootDisabled:{...n,backgroundColor:e.themeLight,color:e.white},label:a(!1,!0),labelDisabled:{...a(!1,!0),color:e.white,opacity:.4},icon:l(),splitButtonContainer:{marginLeft:0,marginRight:4},splitButtonMenuButton:{...o,backgroundColor:e.themePrimary,color:e.white,selectors:{":hover":{...o,backgroundColor:e.themeDark,color:e.white},":active":{...o,backgroundColor:e.themeDarker,color:e.white}}},splitButtonMenuButtonDisabled:{...n,backgroundColor:e.themeLight,color:e.white},splitButtonMenuButtonExpanded:{...o,backgroundColor:e.themeDark,color:e.white,selectors:{":hover":{...o,backgroundColor:e.themeDark,color:e.white}}},splitButtonMenuIcon:{lineHeight:t.chevronIconSize,height:t.chevronIconSize,width:t.chevronIconSize},splitButtonDivider:{width:1,height:32,right:t.splitButtonMenuButtonWidth,top:4,background:e.neutralPrimarySurface}}}),f=(0,o.computed)(()=>{let e=(0,r.XN)(),t=s();return{root:{...t,backgroundColor:e.themePrimary,color:e.white,marginRight:4,selectors:{":hover":{...t,backgroundColor:e.themeDark,color:e.white},":active":{...t,backgroundColor:e.themeDarker,color:e.white}}},rootDisabled:{...t,backgroundColor:e.themeLight,color:e.white},label:a(!1,!0),labelDisabled:{...a(!1,!0),color:e.white,opacity:.4},icon:l()}}),g=()=>p.get(),v=()=>h.get(),h=(0,o.computed)(()=>u()),I=(0,o.computed)(()=>({root:s(),label:a(!0,!1),icon:l(),splitButtonMenuButton:c(!1)})),S=()=>I.get(),b=()=>m.get(),w=()=>f.get()},734039:(e,t,n)=>{n.d(t,{N:()=>c,i:()=>s});var o=n(787012),r=n(884155),i=n(940956),a=n(864447);let l=(0,o.computed)(()=>(0,r.mu)(1)?(0,a.Ef)():(0,i.A)()),s=()=>l.get(),d=(0,o.computed)(()=>(0,r.mu)(1)?(0,a.Kx)():(0,i.J)()),c=()=>d.get()},817121:(e,t,n)=>{n.d(t,{f:()=>f});var o=n(345301),r=n(582053),i=n(803234),a=n(535535);let l=(0,i.M)("LineHorizontal3Regular",a.uuJ),s={showLeftPaneButton:"IAYH3",hideLeftPaneButton:"FMLcIe"};var d=n(18635),c=n(302140),u=n(510265),m=n(308807);let p={iconName:l},f=(0,u.P)(function(e){let{onClick:t,isExpanded:n}=e,i=n?(0,c.ZP)(s.hideLeftPaneButton):(0,c.ZP)(s.showLeftPaneButton),a=(0,m.XN)(),l=o.useMemo(()=>({root:"Se2hy",icon:"fyZen",iconHovered:{color:a.neutralDark}}),[a]);return o.createElement(d.G,{content:i,key:"ToggleButton_ExtraTopRibbonControlsBeforeTabs"},o.createElement(r.Q,{"aria-label":i,iconProps:p,styles:l,onClick:t}))},"ExtraTopRibbonControlsBeforeTabs")},335725:(e,t,n)=>{n.d(t,{z:()=>r});var o=n(819957);let r=(e,t)=>(0,o.y)({flex:"1 1 auto",marginLeft:(e?0:-1)*t,transition:"margin-left 0.2s"})},571821:(e,t,n)=>{n.d(t,{R:()=>i});var o=n(67199);let r={0:"TnS_FolderPaneChange_Ribbon",1:"TnS_FolderPaneChange_LeftNav",3:"TnS_FolderPaneChange_MailList",2:"TnS_FolderPaneChange_Tabs",4:"TnS_FolderPaneChange_Shortcut",5:"TnS_FolderPaneChange_RibbonViewTab"},i=(e,t)=>{if(void 0===t)return;let n=r[t];n&&(0,o.y8)(n,[e,t])}},202509:(e,t,n)=>{n.d(t,{c:()=>o});let o=e=>e?"a7Ps_":"Ni89i"},276610:(e,t,n)=>{let o;n.d(t,{Z:()=>i});var r=((o=r||{})[o.Open=0]="Open",o[o.VotingOptionMin=1]="VotingOptionMin",o[o.VotingOptionMax=31]="VotingOptionMax",o[o.First=100]="First",o[o.ReplyToSender=102]="ReplyToSender",o[o.ReplyToAll=103]="ReplyToAll",o[o.Forward=104]="Forward",o[o.ReplyToFolder=108]="ReplyToFolder",o);let i=r},621105:(e,t,n)=>{n.d(t,{q:()=>i,V:()=>l});var o=n(402392),r=n(218530);function i(){return 2==r.Z.bootstrapStatus}let a=new o.nI(()=>n.e(380322).then(n.bind(n,380322))),l=new o.EF(a,e=>e.bootstrapYammerIfNeeded)},218530:(e,t,n)=>{n.d(t,{Z:()=>o});let o=(0,n(795839).MT)("yammerBoostrapStore",{bootstrapStatus:0})()},780035:(e,t,n)=>{n.d(t,{ab:()=>a,wC:()=>i});var o=n(402392);let r=new o.nI(()=>n.e(854543).then(n.bind(n,854543))),i=new o._5(r,e=>e.initializeConfigForYammer),a=new o.EF(r,e=>e.VivaEngageIconOutline);new o.EF(r,e=>e.VivaEngageIconOutlineWithPadding)},799106:(e,t,n)=>{n.d(t,{o:()=>i});var o=n(402392);let r=new o.nI(()=>n.e(57601).then(n.bind(n,57601))),i=new o._5(r,e=>e.openYammerPublisher);(0,o.$y)(r,e=>e.OpxYammerPublisher)},471629:(e,t,n)=>{n.d(t,{Y:()=>i});var o=n(402392);let r=new o.nI(()=>n.e(707983).then(n.bind(n,707983))),i=new o._5(r,e=>e.getHashedLogString)},420010:(e,t,n)=>{n.d(t,{B:()=>l,W:()=>a});var o=n(75953),r=n(459672);let i=new Map,a=(e,t,...n)=>(i.has(e)||i.set(e,(0,o._)((...e)=>()=>t(...e))),i.get(e)(...n)),l=(e,t,...n)=>{i.has(e)||i.set(e,(0,o._)((...e)=>n=>t(n,...e)));let a=i.get(e)?.(...n);if(a)return a;(0,r.v)(a)}},988512:(e,t,n)=>{n.d(t,{mh:()=>i});var o=n(402392);let r=new o.nI(()=>Promise.all([n.e(188056),n.e(140902),n.e(23460),n.e(972427),n.e(209952),n.e(508748),n.e(313380),n.e(709077),n.e(135572),n.e(522118),n.e(569765),n.e(293106),n.e(761971)]).then(n.bind(n,324099))),i=new o._5(r,e=>e.openMeetingPollPane);(0,o.$y)(r,e=>e.MeetingPollPaneOPX),new o._5(r,e=>e.initializeOpxData)},779397:(e,t,n)=>{n.d(t,{O:()=>o});function o(e){let t="";return e.graphQLErrors&&e.graphQLErrors.forEach(e=>{e.extensions?.responseCode&&(t=e.extensions.responseCode)}),t}},82823:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(803234),r=n(191488);let i=(0,o.M)("AccessibilityCheckmarkRegular",r.BWq)},824932:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(803234),r=n(191488);let i=(0,o.M)("AddSquareRegular",r.hIS)},519110:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(803234),r=n(191488);let i=(0,o.M)("AirplaneRegular",r.LK)},197990:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(803234),r=n(191488);let i=(0,o.M)("AppFolderRegular",r.Tx3)},586890:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(803234),r=n(191488);let i=(0,o.M)("AppsAddInRegular",r.MrS)},440275:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(803234),r=n(191488);let i=(0,o.M)("ArchiveRegular",r.fur)},237325:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(803234),r=n(191488);let i=(0,o.M)("ArchiveSettingsRegular",r.OLB)},829979:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(803234),r=n(191488);let i=(0,o.M)("ArrowClockwiseRegular",r.b8W)},556636:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(803234),r=n(191488);let i=(0,o.M)("ArrowDownFilled",r.Ok2)},939329:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(803234),r=n(191488);let i=(0,o.M)("ArrowDownRegular",r.zip)},906740:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(803234),r=n(191488);let i=(0,o.M)("ArrowDownloadRegular",r.hAs)},914078:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(803234),r=n(191488);let i=(0,o.M)("ArrowForwardRegular",r.Is_)},932211:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(803234),r=n(191488);let i=(0,o.M)("ArrowHookUpLeftRegular",r.WHj)},800422:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(803234),r=n(191488);let i=(0,o.M)("ArrowRedoRegular",r.G_i)},166133:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(803234),r=n(191488);let i=(0,o.M)("ArrowRepeatAllOffRegular",r.BDL)},647860:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(803234),r=n(191488);let i=(0,o.M)("ArrowRepeatAllRegular",r.mnG)},520656:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(803234),r=n(191488);let i=(0,o.M)("ArrowReplyAllRegular",r.XFz)},979305:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(803234),r=n(191488);let i=(0,o.M)("ArrowReplyRegular",r.HYp)},674709:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(803234),r=n(191488);let i=(0,o.M)("ArrowUndoRegular",r.qxm)},449875:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(803234),r=n(191488);let i=(0,o.M)("AttachRegular",r.Mpe)},169038:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(803234),r=n(225435);let i=(0,o.M)("BorderAllRegular",r.izT)},722089:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(803234),r=n(225435);let i=(0,o.M)("CalendarCancelRegular",r.oV4)},112682:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(803234),r=n(225435);let i=(0,o.M)("CalendarCheckmarkRegular",r.RN6)},205238:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(803234),r=n(225435);let i=(0,o.M)("CalendarDataBarRegular",r.heR)},527276:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(803234),r=n(225435);let i=(0,o.M)("CalendarEmptyRegular",r.nAf)},913467:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(803234),r=n(225435);let i=(0,o.M)("CalendarEyeRegular",r.P0B)},709470:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(803234),r=n(225435);let i=(0,o.M)("CalendarLtrRegular",r.Cvr)},428926:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(803234),r=n(225435);let i=(0,o.M)("CalendarQuestionMarkRegular",r.q6S)},454558:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(803234),r=n(225435);let i=(0,o.M)("CalendarReplyRegular",r.dr3)},32848:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(803234),r=n(225435);let i=(0,o.M)("ChatRegular",r.Rog)},515640:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(803234),r=n(225435);let i=(0,o.M)("CheckmarkCircleRegular",r.rrV)},381591:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(803234),r=n(255385);let i=(0,o.M)("ChevronUpRegular",r.NRb)},954301:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(803234),r=n(255385);let i=(0,o.M)("ClassificationRegular",r.oXy)},765881:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(803234),r=n(255385);let i=(0,o.M)("ClipboardArrowRightRegular",r.$36)},904871:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(803234),r=n(255385);let i=(0,o.M)("ClipboardLetterRegular",r.cjE)},34965:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(803234),r=n(255385);let i=(0,o.M)("ClipboardPasteRegular",r.ZTG)},900249:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(803234),r=n(255385);let i=(0,o.M)("ClockAlarmRegular",r.X1e)},455868:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(803234),r=n(255385);let i=(0,o.M)("ClockRegular",r.KSY)},577547:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(803234),r=n(255385);let i=(0,o.M)("ColorRegular",r.T_T)},263087:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(803234),r=n(255385);let i=(0,o.M)("CopyRegular",r.cv$)},886440:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(803234),r=n(255385);let i=(0,o.M)("CropRegular",r.hw4)},517795:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(803234),r=n(255385);let i=(0,o.M)("DeleteRegular",r.X10)},992496:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(803234),r=n(740729);let i=(0,o.M)("DoorArrowLeftRegular",r.DXu)},725429:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(803234),r=n(740729);let i=(0,o.M)("DraftsRegular",r.vqs)},346639:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(803234),r=n(740729);let i=(0,o.M)("EmojiRegular",r.loU)},61848:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(803234),r=n(740729);let i=(0,o.M)("EyeFilled",r.fMZ)},474044:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(803234),r=n(740729);let i=(0,o.M)("FlagFilled",r.EJt)},348662:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(803234),r=n(740729);let i=(0,o.M)("FlagRegular",r.Wsl)},858423:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(803234),r=n(740729);let i=(0,o.M)("FlashRegular",r.uAI)},279916:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(803234),r=n(778996);let i=(0,o.M)("FolderArrowRightRegular",r.Y3P)},852239:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(803234),r=n(778996);let i=(0,o.M)("FolderMailRegular",r.Ze)},464464:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(803234),r=n(778996);let i=(0,o.M)("FolderProhibitedRegular",r.eaZ)},425824:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(803234),r=n(778996);let i=(0,o.M)("FolderRegular",r.AK4)},380352:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(803234),r=n(778996);let i=(0,o.M)("FolderSearchRegular",r.aju)},717741:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(803234),r=n(778996);let i=(0,o.M)("HatGraduationSparkleRegular",r.XOd)},945271:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(803234),r=n(778996);let i=(0,o.M)("ImageAddRegular",r.jzl)},710162:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(803234),r=n(778996);let i=(0,o.M)("ImageAltTextRegular",r.d9U)},907881:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(803234),r=n(778996);let i=(0,o.M)("ImageReflectionRegular",r.rYi)},874962:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(803234),r=n(778996);let i=(0,o.M)("ImmersiveReaderRegular",r.zpY)},847924:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(803234),r=n(778996);let i=(0,o.M)("ImportantFilled",r.FlZ)},441587:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(803234),r=n(778996);let i=(0,o.M)("ImportantRegular",r.LFX)},838446:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(803234),r=n(535535);let i=(0,o.M)("LinkRegular",r.ic)},212631:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(803234),r=n(535535);let i=(0,o.M)("LockClosedRegular",r.pnE)},781506:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(803234),r=n(535535);let i=(0,o.M)("MailAttachRegular",r.e_C)},38284:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(803234),r=n(535535);let i=(0,o.M)("MailDismissRegular",r.gee)},37317:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(803234),r=n(535535);let i=(0,o.M)("MailInboxRegular",r.g8A)},651380:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(803234),r=n(535535);let i=(0,o.M)("MailListRegular",r.jN4)},386863:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(803234),r=n(535535);let i=(0,o.M)("MailReadRegular",r.Ki6)},718531:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(803234),r=n(535535);let i=(0,o.M)("MailRegular",r.W0d)},366548:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(803234),r=n(535535);let i=(0,o.M)("MailRewindRegular",r.Mrt)},71700:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(803234),r=n(535535);let i=(0,o.M)("MailSettingsRegular",r.Sru)},45494:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(803234),r=n(535535);let i=(0,o.M)("MentionRegular",r.pjU)},386009:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(803234),r=n(535535);let i=(0,o.M)("MicFilled",r.WYA)},811644:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(803234),r=n(535535);let i=(0,o.M)("NoteRegular",r.tmg)},525072:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(803234),r=n(535535);let i=(0,o.M)("NotepadRegular",r.M64)},954945:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(803234),r=n(535535);let i=(0,o.M)("PaintBrushRegular",r.gAv)},234159:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(803234),r=n(342217);let i=(0,o.M)("PenSparkleRegular",r.Enj)},383957:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(803234),r=n(342217);let i=(0,o.M)("PeopleCommunityRegular",r.mPx)},708004:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(803234),r=n(342217);let i=(0,o.M)("PersonAddRegular",r.K7p)},772914:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(803234),r=n(342217);let i=(0,o.M)("PersonAvailableRegular",r.rCm)},339567:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(803234),r=n(342217);let i=(0,o.M)("PersonProhibitedRegular",r.Q4b)},930893:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(803234),r=n(342217);let i=(0,o.M)("PersonRegular",r.F8B)},651626:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(803234),r=n(342217);let i=(0,o.M)("PinRegular",r.a4Z)},533500:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(803234),r=n(342217);let i=(0,o.M)("PrintRegular",r.GTP)},959703:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(803234),r=n(342217);let i=(0,o.M)("ProhibitedRegular",r.ce4)},90572:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(803234),r=n(342217);let i=(0,o.M)("RibbonRegular",r.GPU)},268419:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(803234),r=n(218948);let i=(0,o.M)("SaveRegular",r.bEv)},859817:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(803234),r=n(218948);let i=(0,o.M)("SendClockRegular",r.CmI)},110735:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(803234),r=n(218948);let i=(0,o.M)("SendRegular",r.n4b)},648303:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(803234),r=n(218948);let i=(0,o.M)("SettingsRegular",r.Av$)},486488:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(803234),r=n(218948);let i=(0,o.M)("ShieldErrorRegular",r.Qgw)},134433:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(803234),r=n(218948);let i=(0,o.M)("SpeakerMuteRegular",r.i8T)},364713:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(803234),r=n(407663);let i=(0,o.M)("TableDismissRegular",r.b6e)},236319:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(803234),r=n(407663);let i=(0,o.M)("TableRegular",r.jF5)},369821:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(803234),r=n(407663);let i=(0,o.M)("TableSettingsRegular",r.ztS)},162055:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(803234),r=n(407663);let i=(0,o.M)("TagRegular",r._Ic)},333282:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(803234),r=n(407663);let i=(0,o.M)("TextAlignCenterRegular",r.DqY)},551536:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(803234),r=n(407663);let i=(0,o.M)("TextAlignLeftRegular",r.da4)},623045:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(803234),r=n(407663);let i=(0,o.M)("TextBoldRegular",r.Uc$)},839126:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(803234),r=n(407663);let i=(0,o.M)("TextColorRegular",r.x5$)},88449:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(803234),r=n(407663);let i=(0,o.M)("TextDensityRegular",r.XFR)},874195:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(803234),r=n(407663);let i=(0,o.M)("TextGrammarCheckmarkFilled",r.CjM)},58962:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(803234),r=n(407663);let i=(0,o.M)("TextItalicRegular",r.Q53)},316002:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(803234),r=n(187773);let i=(0,o.M)("TextTRegular",r.mEm)},637038:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(803234),r=n(187773);let i=(0,o.M)("TextUnderlineRegular",r.Agz)},972e3:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(803234),r=n(187773);let i=(0,o.M)("TextboxAlignTopLeftRegular",r.$Rw)},913762:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(803234),r=n(187773);let i=(0,o.M)("VideoRegular",r.NRp)},868792:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(803234),r=n(187773);let i=(0,o.M)("WeatherSunnyRegular",r.Y3s)},63102:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(803234),r=n(187773);let i=(0,o.M)("WindowNewRegular",r.T0S)},613164:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(803234),r=n(187773);let i=(0,o.M)("ZoomInRegular",r.Vb6)},107894:(e,t,n)=>{n.d(t,{Z:()=>o});function o(e,t,n){let o="ResponseCode="+e;t&&(o+=", Stacktrace="+t);let r=Error(o);return r.responseCode=e,r.fetchErrorType="ServerFailure",n&&(r.diagnosticInfo="MessageText= "+n),r}},652015:(e,t,n)=>{n.d(t,{d:()=>f,f:()=>g});var o=n(795839),r=n(827570);let i=new Map;function a(e){let t=`${(0,r.M4)(e)}_sharedMailboxState`,n=i.get(t);if(!n){let e=(0,o.MT)(t,{initialized:!1,isSharedMailbox:!1})();i.set(t,e),n=e}return n}let l=(0,o.lr)("SET_IS_SHARED_MAILBOX",(e,t)=>{a(t).initialized=!0,a(t).isSharedMailbox=e});var s=n(837086);function d(e){return{__type:"GetMailboxPermissionRequest:#Exchange",...e}}var c=n(901111),u=n(636283),m=n(973002);let p=new Map;function f(e){if(a(e).initialized)return Promise.resolve();let t=(0,r.M4)(e),n=p.get(t);if(!n){var o,i;n=(o=d({Header:(0,c.F)(),User:e.mailboxSmtpAddress}),i=(0,m.Z)(e),void 0===o||o.__type||(o=d(o)),(0,s.S)("GetMailboxPermission",o,i)).then(t=>{l(4==t.Permission.RecipientTypeDetails,e)}).catch(e=>{u.g4.warn(`getIsSharedMailbox Error: ${e}`)}),p.set(t,n)}return n}function g(e){return a(e).isSharedMailbox}},361420:(e,t,n)=>{n.d(t,{w:()=>i});var o=n(714865);let r=new o.nI(()=>n.e(884603).then(n.bind(n,884603)),{name:"Sigs"}),i=new o._5(r,e=>e.logSigsDatapoint)},93998:(e,t,n)=>{n.d(t,{n:()=>i});var o=n(714865);let r=new o.nI(()=>n.e(94383).then(n.bind(n,189445))),i=new o._5(r,e=>e.updateUserConfigurationOperation)},411372:(e,t,n)=>{function o(e){return t=>{(function(e,t){Object.keys(t).forEach(n=>{let o=e[n],r=t[n];o&&r&&Object.keys(r).forEach(e=>{null!=r[e]&&(o[e]=r[e])})})})(t,e)}}n.d(t,{V:()=>o})},627168:(e,t,n)=>{n.d(t,{a:()=>a});var o=n(411372),r=n(420335),i=n(93998);function a(e,t,n){return(0,r.m)(e,(0,o.V)(t)),i.n.importAndExecute(e,t,n)}},777023:(e,t,n)=>{n.d(t,{o:()=>l});var o=n(877111),r=n(93998),i=n(511943),a=n(411372);function l(e){return(0,o.W)((0,a.V)(e)),r.n.importAndExecute((0,i.zl)(),e)}},836902:(e,t,n)=>{var o,r,i,a,l;let s,d,c,u,m,p,f,g,v,h,I,S;function b(e,t){l=e}function w(){return l}n.d(t,{VC:()=>d,ds:()=>c,H$:()=>s,Yt:()=>m,Py:()=>S,jW:()=>p,zM:()=>u,Om:()=>h,kA:()=>w,Nd:()=>I,Zg:()=>b,tm:()=>f,kj:()=>g,H:()=>r,PN:()=>o,aj:()=>a,dY:()=>i,bs:()=>v}),n(302140),n(962945)},958642:(e,t,n)=>{n.d(t,{O:()=>a,P:()=>i});var o=n(714865);let r=new o.nI(()=>Promise.all([n.e(229806),n.e(743740),n.e(270902)]).then(n.bind(n,870536))),i=new o._5(r,e=>e.loadGroupsList),a=new o._5(r,e=>e.unsubscribeFromGroupUnreadNotifications)},840301:(e,t,n)=>{n.d(t,{Z:()=>d});var o=n(827570),r=n(795839),i=n(787012);let a={leftNavGroupsByMailboxInfo:new i.ObservableMap},l=(0,r.MT)("leftNavGroupsStore",a)(),s=()=>l;function d(e){let t=(0,o.M4)(e),n=s().leftNavGroupsByMailboxInfo.get(t);if(!n){let e={myOrgGroups:[],withContextMenuGroup:null,shouldShowAllGroups:!1,hasLoadedFromServer:!1,loadGroupsError:!1,groupNodeViewStates:new i.ObservableMap({}),restoreGroupState:new i.ObservableMap};return s().leftNavGroupsByMailboxInfo.set(t,e),s().leftNavGroupsByMailboxInfo.get(t)}return n}},658243:(e,t,n)=>{n.d(t,{Z:()=>r});var o=n(840301);function r(e){return o.Z(e)?.myOrgGroups??[]}},144407:(e,t,n)=>{n.d(t,{F:()=>r,k:()=>i});var o=n(840301);function r(e,t){let n=(0,o.Z)(e);return n?.myOrgGroups.includes(t.toLowerCase())??!1}function i(e){return(0,o.Z)(e).loadGroupsError}},837313:(e,t,n)=>{n.d(t,{c:()=>c,G:()=>u});var o=n(402392),r=n(345301),i=n(510265),a=n(666076),l=n(92935);let s=(0,i.P)(function(e){return r.createElement(a.Z,{chevronProps:e.chevronProps,customIcon:e.customIcon,onRenderCustomIcon:e.onRenderCustomIcon,depth:e.nestDepth||1,displayName:e.displayName,isBeingDragged:e.isBeingDragged,isDroppedOver:e.isDroppedOver,isRootNode:!1,key:e.groupId,onContextMenu:e.onContextMenu,renderCustomTreeNodeDisplay:e.renderCustomTreeNodeDisplay,showAsHoverOnDroppedOver:e.showHoverStateOnDroppedOver,isFavorited:e.isFavorited,hideIcon:e.hideIcon,ellipsesOnHover:e.ellipsesOnHover,source:l.Y.folder})},"GroupNodePlaceholder"),d=new o.nI(()=>n.e(259922).then(n.bind(n,259922)),{name:"GroupListView"}),c=(0,o.$y)(d,e=>e.GroupList),u=(0,o.$y)(d,e=>e.GroupNode,s)},232723:(e,t,n)=>{n.d(t,{D2:()=>s,K:()=>a,XH:()=>i,dd:()=>d,z4:()=>l});var o=n(402392);let r=new o.nI(()=>Promise.all([n.e(229806),n.e(850341),n.e(743740),n.e(988313),n.e(162887)]).then(n.bind(n,103603)),{name:"OwaGroupSharedActions"}),i=new o._5(r,e=>e.loadUnifiedGroupsSettings),a=new o._5(r,e=>e.getGroupDetailsAction),l=new o._5(r,e=>e.getGroupMembershipRequests);new o._5(r,e=>e.updateFolderRulePermission);let s=new o._5(r,e=>e.updateFolderRulePermissionAllGroup),d=new o._5(r,e=>e.loadGroupInformation)},2270:(e,t,n)=>{n.d(t,{P:()=>o});let o=(0,n(795839).aD)("LEAVE_GROUP_SUCCESS",(e,t)=>({groupId:e,mailboxInfo:t}))},214491:(e,t,n)=>{n.d(t,{Au:()=>r.A,BW:()=>m,HZ:()=>c,Rx:()=>d,TU:()=>s,Wu:()=>l,eE:()=>u,pW:()=>p,uc:()=>a});var o=n(402392),r=n(295368);let i=new o.nI(()=>Promise.all([n.e(407663),n.e(508748),n.e(313380),n.e(110363),n.e(939129),n.e(382092),n.e(919157)]).then(n.bind(n,783532)),{name:"GroupSharedFolderActions"}),a=new o._5(i,e=>e.loadGroupFolders),l=new o._5(i,e=>e.createNewGroupFolder),s=new o._5(i,e=>e.deleteGroupFolder),d=new o._5(i,e=>e.renameGroupFolder),c=new o._5(i,e=>e.moveGroupFolder),u=new o._5(i,e=>e.subscribeToAllGroupFolderHierarchyNotifications),m=new o._5(i,e=>e.unsubscribeFromGroupFolderHierarchyNotifications),p=new o._5(i,e=>e.unsubscribeFromGroupFolderUnreadCountNotificationsForGroup)},295368:(e,t,n)=>{n.d(t,{A:()=>o});function o(e){return e.split("-").join("/").split("_").join("+")}},521150:(e,t,n)=>{n.d(t,{aX:()=>o.a,dY:()=>Z,Np:()=>E,kL:()=>S,NN:()=>h.N,HS:()=>v.H,WG:()=>w.W,Ur:()=>b.U,Y6:()=>i.Y,Ok:()=>r.O,T6:()=>f,L0:()=>y,XI:()=>m,Ll:()=>M.L,HL:()=>p,RX:()=>A.Z,XB:()=>P.X,W_:()=>F,FT:()=>C,k6:()=>k,Ot:()=>T,WO:()=>x,wG:()=>R});var o=n(274943),r=n(997302),i=n(520061),a=n(787012),l=n(827570),s=n(795839);let d={groupListNodesViewStatesByMailBoxInfo:new a.ObservableMap({})},c=(0,s.MT)("groupListNodesViewStateByMailBoxInfo",d)(),u=()=>c;function m(e){let t=(0,l.M4)(e),n=u().groupListNodesViewStatesByMailBoxInfo.get(t);if(!n){let e={groupListNodesViewStates:new a.ObservableMap};return u().groupListNodesViewStatesByMailBoxInfo.set(t,e),e}return n}function p(e,t){return m(t).groupListNodesViewStates.get(e.toLowerCase())??null}function f(e,t,n){return e&&t?m(n).groupListNodesViewStates.get(e.toLowerCase())?.groupFolderNodeViewStates.get(t)??null:null}var g=n(511943),v=n(979636),h=n(540011);function I(e,t,n){return{...e,ParentFolderDisplayName:n,Depth:t}}function S(e){let t=[];if(e){e=e.toLowerCase();let n=(0,g.zl)(),o=(0,v.H)(e,n);if(o){let r=o.map(t=>(0,h.N)(e,t,n));r&&r.forEach(o=>{o&&(t.push(I(o,1,"")),function e(t,n,o,r,i,a){for(let l of r){let r=(0,h.N)(n,l,a);r&&(t.push(I(r,o,i)),e(t,n,o+1,r.ChildFolderIds,r.DisplayName,a))}}(t,e,2,o.ChildFolderIds,o.DisplayName,n))})}}return t}var b=n(149960),w=n(87458);function y(e,t,n){return h.N(e,t,n)?.WellKnownName??""}var P=n(747488);function C(e,t,n,o){let r=(0,b.U)(e,n,o),i=h.N(e,t,o)?.ParentFolderId;for(;i;){if(i===r)return!0;i=h.N(e,i,o)?.ParentFolderId}return!1}function E(e,t,n){let o=[];if(e&&t){let r=(0,h.N)(e,t,n);r?.ChildFolderIds?.forEach(t=>{o.push(t),function e(t,n,o,r){let i=(0,h.N)(n,o,r);i?.ChildFolderIds?.forEach(o=>{t.push(o),e(t,n,o,r)})}(o,e,t,n)})}return o}function Z(e,t){let n=[],o=w.W(e,t)?.folderHierarchy;if(o)for(let e of o.keys())n.push(e);return n}var M=n(382521);n(838181);let T=(0,s.lr)("showGroupFolderTreeContextMenu",(e,t,n,o)=>{let r=f(e,t,o);r&&(r.groupFolderContextMenuState={groupId:e,folderId:t,anchor:n})}),F=(0,s.lr)("hideGroupFolderTreeContextMenu",(e,t,n)=>{let o=f(e,t,n);o&&(o.groupFolderContextMenuState=null)}),k=(0,s.lr)("setGroupFolderViewExpanded",(e,t,n)=>{let o=p(e,n);if(o){o.isExpanded=!0;let e=o.groupFolderNodeViewStates.get(t);e&&(e.isExpanded=!0)}}),x=(0,s.lr)("toggleGroupFolderNodeExpansion",(e,t,n)=>{let o=f(e,t,n);o&&(o.isExpanded=!o.isExpanded)}),R=(0,s.lr)("toggleGroupListNodeExpansion",(e,t)=>{let n=m(t).groupListNodesViewStates.get(e.toLowerCase());n&&(n.isExpanded=!n.isExpanded)});var A=n(550652)},423599:(e,t,n)=>{n.d(t,{B$:()=>a,J8:()=>l,g8:()=>s,jO:()=>i,sX:()=>d});var o=n(402392);let r=new o.nI(()=>n.e(627792).then(n.bind(n,627792))),i=new o.EF(r,e=>e.getGroupFolderName),a=new o.EF(r,e=>e.hasUserCreatedFolders),l=new o.EF(r,e=>e.getGroupFolderChildFolderIds),s=new o.EF(r,e=>e.getGroupFolderId),d=new o.EF(r,e=>e.getGroupFolderTreeLoadingState)},540011:(e,t,n)=>{n.d(t,{N:()=>r});var o=n(87458);function r(e,t,n){return o.W(e,n)?.folderHierarchy.get(t)}},979636:(e,t,n)=>{n.d(t,{H:()=>a});var o=n(87458),r=n(149960),i=n(382521);function a(e,t,n){let a=o.W(e,t)?.folderHierarchy;if(a){if(n)return a.get(n)?.ChildFolderIds;{let n=[],o=(0,i.L)(e,t);for(let i of(n.push((0,r.U)(e,"inbox",t),(0,r.U)(e,"deleteditems",t)),a.values()))i.WellKnownName||i.ParentFolderId!==o||n.push(i.Id);return n}}return[]}},87458:(e,t,n)=>{n.d(t,{W:()=>r});var o=n(550652);function r(e,t){return(0,o.Z)(t).folderTable.get(e.toLowerCase())}},149960:(e,t,n)=>{n.d(t,{U:()=>r});var o=n(87458);function r(e,t,n){let r="",i=o.W(e,n)?.folderHierarchy;if(i){for(let e of i.values())if(e?.WellKnownName===t){r=e.Id;break}}return r}},520061:(e,t,n)=>{n.d(t,{Y:()=>r});var o=n(540011);function r(e,t,n){return o.N(e,t,n)?.DisplayName??""}},997302:(e,t,n)=>{n.d(t,{O:()=>i});var o=n(274943),r=n(87458);function i(e,t){let n=(0,r.W)(e,t);return n?.loadingState||o.a.Uninitialized}},382521:(e,t,n)=>{n.d(t,{L:()=>i});var o=n(149960),r=n(540011);function i(e,t){return r.N(e,o.U(e,"inbox",t),t)?.ParentFolderId}},550652:(e,t,n)=>{n.d(t,{Z:()=>a});var o=n(787012),r=n(827570),i=n(838181);function a(e){let t=(0,r.M4)(e),n=(0,i.E)().folderTableByMailboxInfo.get(t);if(!n){let e={folderTable:new o.ObservableMap};return(0,i.E)().folderTableByMailboxInfo.set(t,e),e}return n}},747488:(e,t,n)=>{n.d(t,{X:()=>r});var o=n(87458);function r(e,t){let n=o.W(e,t)?.folderHierarchy;if(n){for(let e of n.values())if(!e.WellKnownName)return!0}return!1}},274943:(e,t,n)=>{let o;n.d(t,{a:()=>r});var r=((o=r||{})[o.Uninitialized=0]="Uninitialized",o[o.Loading=1]="Loading",o[o.Loaded=2]="Loaded",o[o.ErrorLoading=3]="ErrorLoading",o)},838181:(e,t,n)=>{n.d(t,{E:()=>a});var o=n(795839);let r={folderTableByMailboxInfo:new(n(787012)).ObservableMap({})},i=(0,o.MT)("leftNavGroupFoldersStoreByMailboxInfo",r)(),a=()=>i},523839:(e,t,n)=>{n.d(t,{a:()=>r});let o=(0,n(795839).MT)("currentGroupInformationStore",{smtpAddress:"",groupId:"",tenantId:""})(),r=()=>o},642228:(e,t,n)=>{n.d(t,{I:()=>a});var o=n(795839),r=n(787012);let i=(0,o.MT)("getGroupSiteStatusStore",{groupSiteStatusByMailboxInfo:new r.ObservableMap})(),a=()=>i},533046:(e,t,n)=>{n.d(t,{d:()=>a});var o=n(795839),r=n(787012);let i=(0,o.MT)("groupsStore",{groupsStateByMailboxInfo:new r.ObservableMap})(),a=()=>i},183170:(e,t,n)=>{n.d(t,{S:()=>i});var o=n(787012);let r=(0,n(795839).MT)("unifiedGroupsSettingsStore",{unifiedGroupsSettingsByMailboxInfo:new o.ObservableMap})(),i=()=>r},988313:(e,t,n)=>{n.d(t,{z4:()=>i.z,nn:()=>p.nn,jF:()=>p.jF,Ex:()=>f.Z,L4:()=>a.Z,Pb:()=>m.Z,Cr:()=>d.C,gF:()=>d.g,ZU:()=>p.ZU,PF:()=>g.Z,BA:()=>s,sh:()=>u.s,nZ:()=>h,He:()=>c});var o=n(795839),r=n(787012);n(827570),(0,o.MT)("personaPhotoStore",{personaPhotoStateByMailboxInfo:new r.ObservableMap})();var i=n(331005);n(75535),n(533046),n(183170);var a=n(194577),l=n(53655);function s(e,t){let n=(0,l.U)(e,t);return!!n&&!n.groupDetailsError}var d=n(226687);n(642228);let c=(0,o.lr)("updateGroupSiteAndDocumentUrl",function(e,t,n,o,r){if(2==n){let n=(0,d.C)(e,t,"Site");n.length>0&&(n[0].Url=o);let i=(0,d.C)(e,t,"Files");i.length>0&&(i[0].Url=r)}});var u=n(691278),m=n(346464);n(451829),n(452582),n(892834),n(511259);var p=n(714729),f=n(261161),g=n(135772),v=n(492528);function h(e,t){let n=(0,l.U)(e,t),o=n?.membershipRequests;if(o){let n=Array.from(o.memberRequestsList.values()).map(({memberRequest:e})=>({groupId:t,requestedUserId:e.RequestedUser?.EmailAddress?.EmailAddress??"",requestedUserLabel:e.RequestedUser?.DisplayName??""})),r=(0,v.Z)(e);r.memberRequestsData=[...r.memberRequestsData,...n]}}},452582:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(795839),r=n(156323);let i=(0,o.lr)("setFollowButtonState",function(e,t,n){(0,r.E)(e).set(t.toLowerCase(),n)})},511259:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(795839),r=n(492528);let i=(0,o.lr)("SET_GROUP_ACTIVITY_STATE",(e,t)=>{(0,r.Z)(e).loadState=t})},892834:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(795839),r=n(154724);let i=(0,o.lr)("setJoinButtonState",function(e,t,n){(0,r.cn)(e).set(t.toLowerCase(),n)})},451829:(e,t,n)=>{let o;n.d(t,{Z:()=>i});var r=((o=r||{})[o.None=0]="None",o[o.Executing=1]="Executing",o[o.Succeed=2]="Succeed",o[o.FailureNotice=3]="FailureNotice",o[o.FailureRetry=4]="FailureRetry",o);let i=r},948229:(e,t,n)=>{let o;n.d(t,{j:()=>r});var r=((o=r||{})[o.NotLoaded=0]="NotLoaded",o[o.Loading=1]="Loading",o[o.Aborted=2]="Aborted",o[o.Loaded=3]="Loaded",o[o.Failed=4]="Failed",o)},75535:(e,t,n)=>{let o;n.d(t,{c:()=>r});var r=((o=r||{})[o.Private=0]="Private",o[o.Public=1]="Public",o)},156323:(e,t,n)=>{n.d(t,{e:()=>d,E:()=>s});var o=n(451829),r=n(795839),i=n(787012);let a=(0,r.MT)("followButtonStore",{groupActionStateByMailboxInfo:new i.ObservableMap})();var l=n(827570);function s(e){let t=(0,l.M4)(e),n=a.groupActionStateByMailboxInfo.get(t);if(!n){let e={groupActionState:new i.ObservableMap};return a.groupActionStateByMailboxInfo.set(t,e),e.groupActionState}return n.groupActionState}function d(e,t){t=t.toLowerCase();let n=s(e);return n.has(t)?n.get(t):o.Z.None}},261161:(e,t,n)=>{n.d(t,{Z:()=>r});var o=n(104601);let r=(0,n(75953)._)(e=>{let t=[];return(0,o.L)(e).groups.forEach(e=>{e.basicInformation?.WhenSoftDeletedUtc&&e.basicInformation.SmtpAddress&&t.push(e.basicInformation.SmtpAddress)}),t})},492528:(e,t,n)=>{n.d(t,{Z:()=>d});var o=n(827570),r=n(795839),i=n(787012);let a=(0,r.MT)("groupActivityStoreSchema",{groupActivityStateByMailboxInfo:new i.ObservableMap})(),l=()=>a;var s=n(948229);function d(e){let t=(0,o.M4)(e),n=l().groupActivityStateByMailboxInfo.get(t);if(!n){let e={memberRequestsData:[],loadState:s.j.NotLoaded};return l().groupActivityStateByMailboxInfo.set(t,e),e}return n}},194577:(e,t,n)=>{n.d(t,{Z:()=>r});var o=n(53655);function r(e,t){let n=(0,o.U)(e,t.toLowerCase());return n?.groupDetails}},9703:(e,t,n)=>{n.d(t,{m:()=>r});var o=n(53655);function r(e,t){let n=(0,o.U)(e,t.toLowerCase());return n?.groupDetails?.DisplayName??n?.basicInformation.DisplayName??null}},53655:(e,t,n)=>{n.d(t,{U:()=>r});var o=n(104601);function r(e,t){return(0,o.L)(e).groups.get(t.toLowerCase())}},346464:(e,t,n)=>{n.d(t,{Z:()=>r});var o=n(194577);let r=(e,t)=>{let n="string"==typeof t?(0,o.Z)(e,t):t;return n?n.ExternalDirectoryObjectId??null:null}},226687:(e,t,n)=>{n.d(t,{C:()=>r,g:()=>i});var o=n(194577);let r=(e,t,n)=>{let r="string"==typeof t?(0,o.Z)(e,t):t;if(!r||!r.GroupResources)return[];let i=r.GroupResources.filter(e=>e.Name===n);return!i||i.length<1?[]:i},i=(e,t,n)=>{let o=r(e,t,n);return o&&0!=o.length?o[0].Url??"":""}},104601:(e,t,n)=>{n.d(t,{L:()=>a});var o=n(827570),r=n(533046),i=n(787012);function a(e){let t=(0,o.M4)(e),n=(0,r.d)().groupsStateByMailboxInfo.get(t);if(!n){let e={groups:new i.ObservableMap};return(0,r.d)().groupsStateByMailboxInfo.set(t,e),e}return n}},137455:(e,t,n)=>{n.d(t,{B:()=>d,n:()=>s});var o=n(795839),r=n(787012);let i=(0,o.MT)("GroupFolderRulePermission",{groupFolderRulePermissionByMailboxInfo:new r.ObservableMap})(),a=()=>i;var l=n(827570);function s(e){let t=(0,l.M4)(e),n=a().groupFolderRulePermissionByMailboxInfo.get(t);if(!n){let e={folderRulePermissionTable:new r.ObservableMap({})};return a().groupFolderRulePermissionByMailboxInfo.set(t,e),e.folderRulePermissionTable}return n.folderRulePermissionTable}function d(e,t){return t?s(e).get(t.toLowerCase()):null}},316447:(e,t,n)=>{n.d(t,{_:()=>l,k:()=>a});var o=n(787012),r=n(827570),i=n(642228);function a(e){let t=(0,r.M4)(e),n=(0,i.I)().groupSiteStatusByMailboxInfo.get(t);if(!n){let e={groupSiteStatus:new o.ObservableMap};return(0,i.I)().groupSiteStatusByMailboxInfo.set(t,e),e.groupSiteStatus}return n.groupSiteStatus}function l(e,t){return a(e).get(t.toLowerCase())}},135772:(e,t,n)=>{n.d(t,{Z:()=>r});var o=n(53655);function r(e,t){return!!o.U(e,t)?.basicInformation?.WhenSoftDeletedUtc}},674545:(e,t,n)=>{n.d(t,{i:()=>r});var o=n(53655);function r(e,t){let n=(0,o.U)(e,t);return!!(n?.groupDetails?.UserGroupRelationship?.IsOwner||n?.basicInformation?.AdditionalProperties?.IsOwner)}},154724:(e,t,n)=>{n.d(t,{cn:()=>s,vJ:()=>d,jX:()=>c});var o=n(451829),r=n(795839),i=n(787012);let a=(0,r.MT)("joinButtonStore",{groupActionStateByMailboxInfo:new i.ObservableMap})();var l=n(827570);function s(e){let t=(0,l.M4)(e),n=a.groupActionStateByMailboxInfo.get(t);if(!n){let e={groupActionState:new i.ObservableMap};return a.groupActionStateByMailboxInfo.set(t,e),e.groupActionState}return n.groupActionState}function d(e,t){return t=t.toLowerCase(),s(e).get(t)??o.Z.None}function c(e,t){let n=d(e,t);return void 0!==n&&(n===o.Z.Succeed||n===o.Z.FailureNotice)}},511408:(e,t,n)=>{n.d(t,{Dx:()=>u,GI:()=>c,Pf:()=>f,X1:()=>s,_w:()=>m,aM:()=>g,iL:()=>l,ip:()=>v,lY:()=>a,sZ:()=>d,tl:()=>p,zz:()=>h});var o=n(827570),r=n(183170),i=n(75535);function a(e){let t=(0,o.M4)(e),n=(0,r.S)().unifiedGroupsSettingsByMailboxInfo.get(t);if(!n){let e={supportedClassifications:[],namingPolicySettings:{},groupsGuidelinesLink:"",orgAllowAddGuests:!1,groupCreationEnabled:!1,isSensitivityLabelsEnabled:!1,IsGroupFoldersAndRulesEnabled:!1,BlockMoveMessagesForGroupFolders:!1,IsGroupMemberAllowedToEditContent:!1,defaultClassification:"",defaultGroupAccessType:i.c.Private};return(0,r.S)().unifiedGroupsSettingsByMailboxInfo.set(t,e),(0,r.S)().unifiedGroupsSettingsByMailboxInfo.get(t)}return n}function l(e){return a(e).defaultGroupAccessType??i.c.Private}function s(e){return a(e).defaultClassification??""}function d(e){return a(e).supportedClassifications}function c(e){return a(e).namingPolicySettings}function u(e){return a(e).groupsGuidelinesLink}function m(e){return a(e).orgAllowAddGuests}function p(e){return a(e).groupCreationEnabled}function f(e){return a(e).isSensitivityLabelsEnabled}function g(e){return a(e).IsGroupFoldersAndRulesEnabled}function v(e){return a(e).BlockMoveMessagesForGroupFolders}function h(e){return a(e).IsGroupMemberAllowedToEditContent}},691278:(e,t,n)=>{n.d(t,{Z:()=>a,s:()=>i});var o=n(795839),r=n(316447);let i=(0,o.lr)("setGroupSiteStatus",function(e,t,n){t=t.toLocaleLowerCase();let o=(0,r._)(e,t);o&&o==n||(0,r.k)(e).set(t,n)}),a=i},331005:(e,t,n)=>{n.d(t,{x:()=>l,z:()=>a});var o=n(206339),r=n(511408),i=n(240282);function a(e){return((0,o.cr)("grp-shareable-crud")||!!(0,r.Pf)(e))&&!(0,i.Z)(void 0,e)}function l(){return(0,o.cr)("grp-shareable-crud-smtpEdit")&&(0,o.cr)("grp-cardReloadAfterEditingSmtp")}},714729:(e,t,n)=>{n.d(t,{nn:()=>a,jF:()=>l,ZU:()=>s});var o=n(764934),r=n(707248),i=n(302140);function a(e){let t=e.groupDetails?e.groupDetails.AccessType:e.basicInformation?e.basicInformation.AccessType:null;if(t){if(1===t)return(0,i.ZP)(o.e);if(3===t)return(0,i.ZP)(r.G)}return""}function l(e){let t=e.groupDetails?e.groupDetails.AccessType:e.basicInformation?e.basicInformation.AccessType:null;if(t){if(1===t)return(0,i.ZP)("zLcxgc");if(3===t)return(0,i.ZP)("NzHrlc")}return""}function s(e){let t=0;return(e.members?t=e.members.totalCount??0:e.groupDetails?t=e.groupDetails.MemberCount??0:e.basicInformation&&(t=e.basicInformation.AdditionalProperties?.MemberCount??0),0===t)?"":t>1?(0,i.WU)((0,i.ZP)("v2gGRd"),t.toString()):(0,i.WU)((0,i.ZP)("kdFyBd"),t.toString())}},963062:(e,t,n)=>{n.d(t,{Z:()=>r});var o=n(478248);function r(e){let t=(0,o.p)(e);return t?.ViewStateConfiguration?.GroupsAppIsOptedIn}},238582:(e,t,n)=>{n.d(t,{Z:()=>r});var o=n(937091);function r(e,t){let n=(0,o.Z)("grp-groupsApp-groupSwitchA",e),r=(0,o.Z)("grp-groupsApp-groupSwitchB",e);switch(t){case"A":return n;case"B":return r;case void 0:return n||r}return!1}},255843:(e,t,n)=>{let o;n.d(t,{Z:()=>i});var r=((o=r||{}).Mail="Mail",o.Files="Files",o.Events="Events",o.Members="Members",o);let i=r},539445:(e,t,n)=>{n.d(t,{Of:()=>a,bW:()=>i,eO:()=>l,eT:()=>d,gQ:()=>s});var o=n(402392);let r=new o.nI(()=>Promise.all([n.e(229806),n.e(850341),n.e(743740),n.e(43393),n.e(945724),n.e(126069)]).then(n.bind(n,235768))),i=new o._5(r,e=>e.selectGroupNodeInDashNav),a=new o._5(r,e=>e.selectNodeInDashNavOnLoad),l=new o._5(r,e=>e.onSwitchToGroupsModule),s=new o._5(r,e=>e.selectDeletedGroupNodeInDashNav),d=new o._5(r,e=>e.restoreGroupInDashNav)},913356:(e,t,n)=>{let o,r,i,a;n.d(t,{JG:()=>H,N5:()=>W,Ci:()=>b,Ck:()=>S,tX:()=>y,Pg:()=>x,Hc:()=>k,Av:()=>F,IJ:()=>T,eL:()=>m,dm:()=>I,Os:()=>h});var l=n(795839),s=n(787012);let d=new s.ObservableMap,c=(0,l.MT)("SharePointItemsViewNavigationLocationStore",d)(),u=()=>c;(0,l.lr)("setSharePointItemsViewNavigationPath",(e,t)=>{let n=u();e=e.toLowerCase(),n.has(e)?n.get(e).currentPath=t:n.set(e,{currentPath:t,targetPath:void 0})});let m=(0,l.lr)("setSharePointItemsViewNavigationTargetPath",(e,t)=>{let n=u();e=e.toLowerCase(),n.has(e)?n.get(e).targetPath=t:n.set(e,{currentPath:void 0,targetPath:t})});var p=n(829980);let f=(0,l.MT)("sharePointResourceTokenPrefetchStateStore",{tokenStatusPerResource:new s.ObservableMap})(),g=()=>f,v=e=>{let t=(0,p.parse)(e);return`${t.protocol}//${t.host}`},h=(0,l.lr)("updateSharePointResourceTokenPrefetchStateAction",function(e,t){let n=v(e=e.toLowerCase());g().tokenStatusPerResource.set(n.toLowerCase(),{status:t})}),I=(0,l.lr)("updateSharePointResourceTokenPrefetchErrorStateAction",function(e,t){let n=v(e=e.toLowerCase());g().tokenStatusPerResource.set(n.toLowerCase(),{status:3,error:t})});function S(e){e=e.toLowerCase();let t=u();if(t.has(e)){let n=t.get(e).currentPath;return!(n&&n.length>0&&"/"!==n)}return!0}let b=e=>{e=e.toLowerCase();let t=u();if(t.has(e))return t.get(e).currentPath},w=e=>{let t=(0,p.parse)(e);return`${t.protocol}//${t.host}`};function y(e){let t=g(),n=w(e),o=t.tokenStatusPerResource.get(n.toLowerCase());return null==o?{status:0}:o}var P=n(316447),C=n(988313),E=n(53655),Z=((i=Z||{})[i.AwaitingSiteUrl=0]="AwaitingSiteUrl",i[i.AwaitingToken=1]="AwaitingToken",i[i.AwaitingSiteProvisioning=2]="AwaitingSiteProvisioning",i),M=((a=M||{})[a.AdalException=0]="AdalException",a[a.GetGroupDetailsError=1]="GetGroupDetailsError",a[a.SiteNotFound=2]="SiteNotFound",a[a.SiteNotProvisioned=3]="SiteNotProvisioned",a[a.SPItemsViewError=4]="SPItemsViewError",a);let T=e=>!0===e.isLoading,F=e=>!0===e.isError,k=e=>!0===e.spAbsent,x=(e,t)=>{if(!t)return V(),null;if(!(0,E.U)(e,t.toLowerCase()))return B(),null;if(!(0,C.BA)(e,t))return G(1),{smtpAddress:t,isError:!0,listUrl:"",errorReason:1};L(e,t);let n=(0,C.gF)(e,t,"Site"),o=(0,C.gF)(e,t,"Files");if((0,C.L4)(e,t)&&(!n||!o))return N(),{smtpAddress:t,spAbsent:!0};if(!n||!o)return U(0),{smtpAddress:t,isLoading:!0,loadingStage:0};let r=y(o);if(0==r.status||1==r.status)return U(1),{smtpAddress:t,isLoading:!0,loadingStage:1};if(3==r.status&&0==r.error)return G(0),{smtpAddress:t,isError:!0,listUrl:o,errorReason:0};switch(3==r.status&&O(),(0,P._)(e,t)){case 1:return U(2),{smtpAddress:t,isLoading:!0,loadingStage:2};case 2:return _(),{smtpAddress:t,groupWebAbsoluteUrl:n,listUrl:o};case 0:return G(2),{smtpAddress:t,isError:!0,listUrl:o,errorReason:2};default:return G(3),{smtpAddress:t,isError:!0,listUrl:o,errorReason:3}}};var R=n(67199);let A=null,D=null,N=()=>{null!=A&&(A.addCheckmark("No SP site"),r=!0,A.addCustomData({SPStatus:"NoSPSite"}),z())},_=()=>{null!=A&&(A.addCheckmark("SP completed"),r=!0,A.addCustomData({SPStatus:"success"}),z())},O=()=>{null!=A&&(A.addCheckmark("SP completed"),r=!0,A.addCustomData({SPError:"TokenTransientError"}),A.addCustomData({SPStatus:"UnsureError"}),z())},L=(e,t)=>{let n=A?.getCustomData("groupExternalId");A&&!n&&A.addCustomProperty("groupExternalId",(0,C.Pb)(e,t))},V=()=>{null!=A&&A.addCheckmark("SP SMTP Missing")},B=()=>{null!=A&&A.addCheckmark("SP Group Missing")},G=e=>{null!=A&&(A.addCheckmark("SP completed"),r=!1,("number"==typeof e||"string"==typeof e)&&A.addCustomData({SPError:M[e]}),A.addCustomData({SPStatus:"error"}),z())},U=e=>{null!=A&&A.addCheckmark(Z[e])},H=e=>{null!=A&&(A.endWithError(R.SO.RequestNotComplete,void 0!=e&&null!=e?Error(e):void 0),A=null,D=null,o=void 0,r=void 0)},W=e=>{null==A?(A=K(),D=e):null!=D&&D.toLowerCase()!=e.toLowerCase()&&(A.endWithError(R.SO.RequestNotComplete,Error("group changed")),A=K(),D=e,o=void 0,r=void 0)};function K(){return new R.Gn("GroupFilesHubListsLoad",{logVerbose:!0,timeout:3e5})}let z=()=>{A&&void 0!=r&&void 0!=o&&(!0==r&&!0==o?A.end():A.endWithError(R.SO.ClientError),A=null)}},540165:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(795839),r=n(589801);let i=(0,o.lr)("commandBarAction",e=>{r.Z.navigationButtonSelected=e})},589801:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(795839),r=n(436571);let i=(0,o.MT)("commandBarStore",{navigationButtonSelected:r.Z.Email,hidden:!1})()},436571:(e,t,n)=>{let o;n.d(t,{Z:()=>i});var r=((o=r||{})[o.Email=0]="Email",o[o.Files=1]="Files",o[o.Calendar=2]="Calendar",o[o.Members=3]="Members",o);let i=r},387631:(e,t,n)=>{n.d(t,{Xp:()=>i,k6:()=>s,mV:()=>l,uk:()=>a});var o=n(402392);let r=new o.nI(()=>Promise.all([n.e(229806),n.e(850341),n.e(743740),n.e(851491),n.e(10304)]).then(n.bind(n,566859))),i=new o._5(r,e=>e.selectTabInPanel),a=new o._5(r,e=>e.selectGroupInPanel),l=new o._5(r,e=>e.openGroupsPanel),s=new o._5(r,e=>e.initializeGroupsPanel)},217156:(e,t,n)=>{n.r(t),n.d(t,{GroupsPanelContainer:()=>i,GroupsPanelHeader:()=>a});var o=n(402392);let r=new o.nI(()=>n.e(140185).then(n.bind(n,268723))),i=(0,o.$y)(r,e=>e.GroupsPanelContainer),a=(0,o.$y)(r,e=>e.GroupsPanelHeader)},740136:(e,t,n)=>{n.d(t,{_:()=>i});var o=n(402392);let r=new o.nI(()=>Promise.all([n.e(367989),n.e(734807),n.e(6961),n.e(108559),n.e(947337),n.e(426489),n.e(229806),n.e(850341),n.e(232336),n.e(11756)]).then(n.bind(n,78939))),i=new o.EF(r,e=>e.createGroup)},739297:(e,t,n)=>{n.d(t,{F:()=>r.F,J:()=>a});var o=n(402392),r=n(581725);let i=new o.nI(()=>Promise.all([n.e(503441),n.e(298951),n.e(189658),n.e(704719),n.e(876716),n.e(229806),n.e(117795),n.e(204863),n.e(354438),n.e(879144),n.e(320644),n.e(637209)]).then(n.bind(n,36840))),a=new o.EF(i,e=>e.createGroup)},581725:(e,t,n)=>{let o,r;n.d(t,{F:()=>i,Q:()=>a});var i=((o=i||{})[o.Consumer=0]="Consumer",o[o.Enterprise=1]="Enterprise",o),a=((r=a||{})[r.SmtpAddress=0]="SmtpAddress",r[r.ExternalDirectoryObjectId=1]="ExternalDirectoryObjectId",r)},353867:(e,t,n)=>{n.d(t,{O:()=>i});var o=n(402392);let r=new o.nI(()=>Promise.all([n.e(367989),n.e(592519),n.e(189658),n.e(734807),n.e(924318),n.e(6961),n.e(108559),n.e(947337),n.e(649304),n.e(229806),n.e(850341),n.e(117795),n.e(743740),n.e(204863),n.e(232336),n.e(666239),n.e(954734),n.e(376676)]).then(n.bind(n,256233))),i=new o._5(r,e=>e.editGroup)},14623:(e,t,n)=>{n.d(t,{V:()=>i});var o=n(402392);let r=new o.nI(()=>Promise.all([n.e(592519),n.e(189658),n.e(734807),n.e(6961),n.e(649135),n.e(229806),n.e(850341),n.e(117795),n.e(204863),n.e(879144),n.e(226482),n.e(666239),n.e(36983)]).then(n.bind(n,154766))),i=new o.EF(r,e=>e.editGroup)},38975:(e,t,n)=>{n.d(t,{M:()=>a,c:()=>i});var o=n(402392);let r=new o.nI(()=>Promise.all([n.e(32971),n.e(788521),n.e(739143),n.e(564295),n.e(717304),n.e(922307)]).then(n.bind(n,501311))),i=new o._5(r,e=>e.executeGroupSearch),a=new o._5(r,e=>e.loadMoreGroupSubstrateSearch)},55314:(e,t,n)=>{n.d(t,{DR:()=>i,ax:()=>l,dS:()=>a});var o=n(402392);let r=new o.nI(()=>Promise.all([n.e(32971),n.e(788521),n.e(564295),n.e(705188)]).then(n.bind(n,110142))),i=(0,o.$y)(r,e=>e.GroupSearchBoxContainer),a=(0,o.$y)(r,e=>e.GroupFolderScopePicker),l=(0,o.$y)(r,e=>e.GroupSearchHeaderFirstRowContent)},567034:(e,t,n)=>{n.d(t,{v:()=>r});var o=n(211542);function r(e){e.assetId?e.campaignId&&e.providerId?o.z.import().then(t=>{t(!1,e.assetId,e.campaignId,e.providerId)}):o.z.import().then(t=>{t(!1,e.assetId)}):o.z.import().then(e=>{e(!0)})}},211542:(e,t,n)=>{n.d(t,{E:()=>a,z:()=>l});var o=n(402392),r=n(214702);let i=new o.nI(()=>Promise.all([n.e(778996),n.e(407663),n.e(110810),n.e(613812),n.e(87858),n.e(939129),n.e(650146),n.e(431777),n.e(629762),n.e(665283),n.e(466459),n.e(146660),n.e(798416),n.e(323412)]).then(n.bind(n,336075))),a=new o.EF(i,e=>e.storeLinkHandler),l=new o.EF(i,e=>e.launchStoreUrl);(0,o.Kv)(r.Z,i,e=>e.openInClientStoreOrchestrator)},568729:(e,t,n)=>{n.d(t,{Z:()=>l});var o=n(345301),r=n(474116),i=n(985566),a=n(737768);let l=e=>({iconType:r.T.Image,imageProps:{src:e,width:16,height:16,imageFit:a.kQ.contain,shouldFadeIn:!1},styles:{root:{width:"16px !important",height:"16px !important"}},imageErrorAs:()=>o.createElement(i.J,{className:"wpfLu",iconName:"Photo2",iconType:r.T.Default})})},886856:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(568729),r=n(579933);class i{constructor(e,t){this.key=e,this.name=t}generateData(){return{id:this.key,key:this.key,name:this.name,title:this.description,ariaLabel:this.accessibilityText,iconProps:(0,o.Z)(this.iconUrl),itemType:r.n.Normal,getClickHandler:this.getClickHandler,subMenuProps:this.subMenuData?{items:[this.subMenuData.generateData()]}:null}}}},863760:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(886856),r=n(68588);function i(e){var t;let n=new o.Z(e.id,e.name);return n.getClickHandler=(t=e.id,()=>e=>{e?.stopPropagation&&e.stopPropagation(),(0,r.Z)({appId:t})}),n.description=e.description??"",n.accessibilityText=e.name??"",n.iconUrl=e.iconUrl??"",n.generateData()}},749573:(e,t,n)=>{n.d(t,{X:()=>a,Q:()=>l});var o=n(478248),r=n(52924),i=n(206339);function a(e){let t;return 1===(t=e&&(0,i.MS)()?o.p(e).SessionSettings?.WebSessionType:r.Z().SessionSettings?.WebSessionType)?"outlookCom":2===t?"gmail":0==t?"office365":"unknown"}let l=(0,n(795839).aD)("Move_To_Folder",(e,t,n,o)=>({folderName:e,mailboxInfo:t,hostItemIndex:n,targetWindow:o}))},948601:(e,t,n)=>{n.d(t,{F:()=>r.F,q:()=>a});var o=n(402392),r=n(931844);let i=new o.nI(()=>Promise.all([n.e(229806),n.e(850341),n.e(743740),n.e(444512),n.e(155242)]).then(n.bind(n,394817))),a=new o.EF(i,e=>e.discoverGroups)},931844:(e,t,n)=>{let o,r;n.d(t,{F:()=>i});var i=((o=i||{})[o.Consumer=0]="Consumer",o[o.Enterprise=1]="Enterprise",o),a=((r=a||{})[r.SmtpAddress=0]="SmtpAddress",r[r.ExternalDirectoryObjectId=1]="ExternalDirectoryObjectId",r)},862732:(e,t,n)=>{n.d(t,{C$:()=>a,Oz:()=>u,Q2:()=>d,U6:()=>r,aT:()=>l,jw:()=>c,w9:()=>i,yR:()=>s});var o=n(795839);let r=(0,o.aD)("onSxSReadingPaneChange",(e,t)=>({readingPaneState:e,sxsId:t})),i=(0,o.aD)("onBeforeSxSReadingPaneChange",e=>({id:e})),a=(0,o.aD)("onSxSChangeOrClose",(e,t)=>({selectedLinkId:e,isSelectedLinkReadOnly:t})),l=(0,o.aD)("showSxS",(e,t,n,o)=>({customization:e,extendedViewState:t,sxsId:n,sigsInfo:o})),s=(0,o.aD)("closeSxS"),d=(0,o.aD)("onComposeStateChange",(e,t)=>({composeId:e,sxsId:t})),c=(0,o.aD)("cloneSxSStore",(e,t)=>({sxsId:e,newSxSId:t})),u=(0,o.aD)("onCustomizationChange",(e,t)=>({customization:e,sxsId:t}))},360180:(e,t,n)=>{n.d(t,{bX:()=>p.Z,cO:()=>f.cO,jg:()=>u.jg,E5:()=>u.E5,vL:()=>u.vL,gK:()=>o,Nt:()=>m.N,jw:()=>i.jw,yR:()=>i.yR,Uq:()=>l.Z,BR:()=>a.Z,b2:()=>c,PO:()=>s.ZP,P1:()=>s.P1,fu:()=>h,pM:()=>I,Ef:()=>S,cB:()=>b,gx:()=>g,Pc:()=>y,Kg:()=>P,U0:()=>C,x1:()=>E,sd:()=>Z,kw:()=>M,$w:()=>T,NL:()=>w,T8:()=>x,uy:()=>F,aS:()=>v,WE:()=>k,w9:()=>i.w9,Q2:()=>i.Q2,Oz:()=>i.Oz,C$:()=>i.C$,U6:()=>i.U6,aT:()=>i.aT});var o=n(316791),r=n(402392),i=n(862732),a=n(818387),l=n(148042),s=n(500660),d=n(797489);function c(){let e=(0,d.MA)();if(e){let t=e.sxsId;return(0,a.Z)(t).shouldShow}return!1}n(312315);var u=n(373427),m=n(853521),p=n(932101),f=n(324937);let g=new r.nI(()=>Promise.all([n.e(626842),n.e(583427),n.e(844271),n.e(363010),n.e(271907),n.e(944995)]).then(n.bind(n,462677))),v=new r.EF(g,e=>e),h=new r.EF(g,e=>e.closeComposeInSxS),I=new r.EF(g,e=>e.createImageGalleryFromAttachmentViewStateIds),S=new r.EF(g,e=>e.forceCloseSxS),b=new r._5(g,e=>e.logUsageWithSxSCustomData),w=new r._5(g,e=>e.removeSxSViewFromDOM),y=new r.EF(g,e=>e.onBeforeImageGalleryItemSelected),P=new r.EF(g,e=>e.onChangeByImageGallery),C=new r.EF(g,e=>e.onPendingNavigation),E=new r.EF(g,e=>e.onPreviewOperationFinished),Z=new r.EF(g,e=>e.onPreviewOperationStart),M=new r.EF(g,e=>e.openComposeInSxS),T=new r.EF(g,e=>e.reloadTextPreview),F=new r.EF(g,e=>e.showSxS),k=new r._5(g,e=>e.tryCloseSxS),x=new r.EF(g,e=>e.saveToCloudFromSxS)},818387:(e,t,n)=>{n.d(t,{Z:()=>u,b:()=>c});var o=n(324937),r=n(399096),i=n(304572),a=n(795839),l=n(373427);let s={sxsStoreMapping:new(n(787012)).ObservableMap({})},d=(0,a.MT)("sxsStore",s)(),c=()=>d;function u(e){if(e=e||l.jg,!d.sxsStoreMapping.has(e)){let t=function(){let e={shouldShow:!1,viewState:(0,i.Z)(),extendedViewState:{previewMode:o.C6.Unsupported,attachmentId:null,selectionSource:o.cO.MailList,isCloudy:!1,saveToCloudStatus:0,textPreviewReadMode:0,textPreviewCustomEncoding:void 0,itemId:null,isDraft:!1},customPreviewState:null,eventManager:new r.Z,pendingPreviewOperation:null,pendingNavigation:null,readingPaneState:null,composeId:null,customization:l.vL.Mail,isInvisible:!0,shouldUseFakeRightHandSide:!1,isUsingFakeRightHandSide:!1,attachmentViewStateIdFromListView:null,sessionPreviewCount:0,sessionStartTime:0,meetingMessageAddToCalendarStatus:1,sigsInfo:null};return e.viewState.previewPane=null,e}();d.sxsStoreMapping.set(e,t)}return d.sxsStoreMapping.get(e)}},932101:(e,t,n)=>{let o;n.d(t,{Z:()=>i});var r=((o=r||{})[o.None=0]="None",o[o.Edit=1]="Edit",o[o.Selected=2]="Selected",o[o.SelectedAndPending=3]="SelectedAndPending",o[o.SelectedAndSaving=4]="SelectedAndSaving",o[o.NotSelectedAndSaving=5]="NotSelectedAndSaving",o[o.OtherSaving=6]="OtherSaving",o[o.PendingNavigation=7]="PendingNavigation",o);let i=r},853521:(e,t,n)=>{let o;n.d(t,{N:()=>r});var r=((o=r||{})[o.ConversationReadingPane=0]="ConversationReadingPane",o[o.ItemReadingPane=1]="ItemReadingPane",o)},373427:(e,t,n)=>{let o;n.d(t,{E5:()=>i,jg:()=>r,vL:()=>a});let r="sxsIdMainWindow",i="owaSxSV2";var a=((o=a||{})[o.Mail=0]="Mail",o[o.FilesHub=1]="FilesHub",o[o.DeepLink=2]="DeepLink",o[o.GroupFilesHub=3]="GroupFilesHub",o[o.PopOut=4]="PopOut",o)},316791:(e,t,n)=>{n.d(t,{EJ:()=>i,Gg:()=>l,M:()=>a,Qv:()=>o,rw:()=>r});let o="PreviewLoad",r="PreviewError",i="PreviewLoadOrError",a="Close",l="AnimationEnd"},312315:(e,t,n)=>{n.d(t,{Z:()=>r});var o=n(818387);function r(e){let t=(0,o.b)().sxsStoreMapping;for(let n of t.keys()){let o=t.get(n);if(o&&o.composeId===e)return n}return null}},148042:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(797489),r=n(190066);function i(e){return(e===window?o.MA()?.sxsId:(0,r.Z)(e))??null}},190066:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(11265),r=n(104704);function i(e){let t=(0,o.Z)(e),n=(0,r.Z)(t);return n?.sxsId||null}},225994:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(797489),r=n(818387);function i(){let e=o.MA()?.sxsId;if(e){let t=(0,r.b)().sxsStoreMapping.get(e);if(t)return!t.isInvisible}return!1}},500660:(e,t,n)=>{n.d(t,{P1:()=>a,U$:()=>l,ZP:()=>i});var o=n(818387),r=n(49187);function i(e){return(0,o.Z)(e).shouldShow}function a(e,t){return i(t)&&(0,r.RU)(e,(0,o.Z)(t).extendedViewState.attachmentId)}function l(e,t){return i(t)&&(e&&e.composeId===(0,o.Z)(t).composeId||!e&&(0,o.Z)(t).composeId)}},994614:(e,t,n)=>{n.d(t,{C:()=>a,n:()=>r.n});var o=n(402392),r=n(827878);let i=new o.nI(()=>Promise.all([n.e(800461),n.e(626842),n.e(583427),n.e(844271),n.e(363010),n.e(68573),n.e(897403)]).then(n.bind(n,166411))),a=(0,o.$y)(i,e=>e.AttachmentCompactView)},827878:(e,t,n)=>{let o;n.d(t,{n:()=>r});var r=((o=r||{})[o.none=0]="none",o[o.shortDocView=1]="shortDocView",o[o.wideDocView=2]="wideDocView",o[o.shortDocViewSubjectHeader=3]="shortDocViewSubjectHeader",o)},119596:(e,t,n)=>{n.d(t,{Q:()=>a,v:()=>i});var o=n(402392);let r=new o.nI(()=>Promise.all([n.e(800461),n.e(626842),n.e(508748),n.e(313380),n.e(583427),n.e(844271),n.e(363010),n.e(110363),n.e(728696),n.e(68573),n.e(992814),n.e(94724),n.e(41129),n.e(799945),n.e(512618),n.e(803307)]).then(n.bind(n,621760))),i=(0,o.$y)(r,e=>e.ConversationAttachmentWellButton),a=(0,o.$y)(r,e=>e.ConversationAttachmentWell)},97503:(e,t,n)=>{n.d(t,{Z:()=>a});var o=n(837534),r=n(206339),i=n(636283);function a(e,t,n,a,l){let s=[],d=o.jI.tryImportForRender();if(d){let o=d(e,t,n,a,l).get();o?.sectionProps&&s.push(...o.sectionProps.items.filter(e=>!("FindTime"==e.name&&(0,r.cr)("cal-native-findtime"))))}else i.g4.warn("Addin collection getter not available in Mail","addins");return s}},66004:(e,t,n)=>{n.d(t,{c:()=>a,o:()=>l});var o=n(206339),r=n(17601),i=n(648043);function a(e,t){return!((0,o.cr)("cmp-fluid-chapterThree")&&(0,i.UE)("MailCompose",t,i.NQ.Poll)&&(0,r.f)(e.key))}function l(e){return"AddinMarketplace"!==e.key&&"AddinMarketplaceDivider"!==e.key&&"AddinsHeader"!==e.key}},393753:(e,t,n)=>{n.d(t,{Fu:()=>a,jK:()=>l,nR:()=>s,tT:()=>i});var o=n(402392);let r=new o.nI(()=>Promise.all([n.e(110363),n.e(463410),n.e(149680),n.e(100336)]).then(n.bind(n,608282)),{name:"GetItemManager"}),i=new o.EF(r,e=>e.getAdditionalPropertiesFromServer),a=new o.EF(r,e=>e.getItemProperties),l=new o.EF(r,e=>e.cleanUpByItemId),s=new o._5(r,e=>e.initialize)},840940:(e,t,n)=>{function o(){return{actions:[],isExecuted:!1}}function r(e,t){!e||e.isExecuted?t():e.actions.push(t)}function i(e){e&&!e.isExecuted&&window.setTimeout(()=>{for(let t=0;t<e.actions.length;t++)e.actions[t]();e.actions=[],e.isExecuted=!0},0)}n.d(t,{Gr:()=>o,Oy:()=>r,TQ:()=>i})},128013:(e,t,n)=>{n.d(t,{V:()=>i});var o=n(402392);let r=new o.nI(()=>Promise.all([n.e(463410),n.e(149680),n.e(553658)]).then(n.bind(n,558776)),{name:"ReactionsInMessageList"}),i=new o._5(r,e=>e.fetchReactionDataForMessageList)},966345:(e,t,n)=>{n.d(t,{Ng:()=>i,m5:()=>l,t6:()=>a});var o=n(402392);let r=new o.nI(()=>Promise.all([n.e(463410),n.e(670081),n.e(149680),n.e(79361)]).then(n.bind(n,748190))),i=new o._5(r,e=>e.tryPrefetchMeetingMessage),a=new o._5(r,e=>e.removeMeetingMessagesFromStore),l=new o._5(r,e=>e.parseGetItemResponseAction)},148872:(e,t,n)=>{n.d(t,{X:()=>p,p:()=>m});var o=n(477770),r=n(136851),i=n(313380),a=n(632929),l=n(176576),s=n(341032),d=n(209484);let c=[(0,l.Z)({FieldURI:"Start"}),(0,l.Z)({FieldURI:"End"}),(0,l.Z)({FieldURI:"CalendarItemType"})],u=[(0,l.Z)({FieldURI:"ConflictingMeetings"}),(0,l.Z)({FieldURI:"IsResponseRequested"}),(0,l.Z)({FieldURI:"Organizer"})];function m(e,t,n,o){if(d.Z.getTombstonedReasons(e,o.serverFolderId).indexOf(4)>-1)return!1;let i=o.tableQuery.folderId?(0,s.Z)(o.tableQuery.folderId):null;return!!(t&&!(0,r.Ws)(o.tableQuery)&&n&&(i||"deleteditems"!==i&&"sentitems"!==i)&&((0,a.MO)(n)||(0,a.nn)(n)))}function p(e,t,n,r){m(e,t,n,r)&&function(e,t){let n=(0,i.bh)().meetingMessageItems.get(e);if(!n)return!0;let o=c;return(0,a.MO)(t)&&(o=o.concat(u)),o.some(e=>void 0===n[e.FieldURI])}(t,n)&&(0,o.IH)(r,e,t)}},5826:(e,t,n)=>{n.d(t,{Z:()=>r});var o=n(148872);function r(e,t){if(!e.ItemClasses||0===e.ItemClasses.length)return!1;let n=e.ItemIds[0].Id,r=e.ItemClasses[0];return!!(0,o.p)(e.InstanceKey,n,r,t)&&((0,o.X)(e.InstanceKey,n,r,t),!0)}},668125:(e,t,n)=>{n.d(t,{Z:()=>r});var o=n(148872);function r(e,t){let n=e.ItemId.Id,r=e.ItemClass;return!!(0,o.p)(e.InstanceKey,n,r,t)&&((0,o.X)(e.InstanceKey,n,r,t),!0)}},477770:(e,t,n)=>{n.d(t,{IH:()=>i,bm:()=>l,hM:()=>s});var o=n(198453);let r={},i=function(e,t,n){let i=(0,o.vv)(e.tableQuery).mailboxSmtpAddress;a(i,n)||(r[i]?r[i].push({rowKey:t,itemId:n,tableViewId:e.id}):r[i]=[{rowKey:t,itemId:n,tableViewId:e.id}])},a=function(e,t){let n=r[e];return n&&n.some(e=>e.itemId===t)},l=function(e){delete r[e]},s=function(e){return r[e]}},514169:(e,t,n)=>{n.d(t,{HV:()=>i,bh:()=>l,h:()=>s,j_:()=>a});var o=n(402392);let r=new o.nI(()=>n.e(560311).then(n.bind(n,560311)),{name:"InlineTranslation"}),i=new o._5(r,e=>e.setItemLocale),a=new o._5(r,e=>e.translateItem),l=new o._5(r,e=>e.untranslateItem),s=(0,o.$y)(r,e=>e.TranslationFeedbackRibbon)},632929:(e,t,n)=>{n.d(t,{nn:()=>l,_1:()=>r._,in:()=>c,Ot:()=>s,ZC:()=>d,MO:()=>i.M,cq:()=>a,bM:()=>o});let o=(0,n(795839).aD)("meetingMessageAddToCalendarStatusChanged",(e,t)=>({status:e,sxsId:t}));var r=n(678757),i=n(894522);function a(e){return!!e&&e.match(/^ipm\.schedule\.meeting\.resp/i)}function l(e){return!!e&&e.match(/^ipm\.schedule\.meeting\.canceled/i)}function s(e){return"RecurringMaster"===e.CalendarItemType&&!e.RecurrenceId}function d(e){return"Single"===e.CalendarItemType&&!e.RecurrenceId}function c(e){return!!e.RecurrenceId}},678757:(e,t,n)=>{n.d(t,{_:()=>o});function o(e){return e?.ItemClass&&e.ItemClass.match(/^ipm\.(appointment|schedule\.meeting(?!\.notification))/i)}},894522:(e,t,n)=>{n.d(t,{M:()=>o});function o(e){return!!e&&e.match(/^ipm\.schedule\.meeting\.request/i)}},706483:(e,t,n)=>{n.d(t,{D:()=>a,J:()=>l});var o=n(632929),r=n(645225),i=n(354059);function a(e){if((0,o._1)(e)&&e?.AssociatedCalendarItemId)return{Id:e.AssociatedCalendarItemId.Id,mailboxInfo:e.MailboxInfo}}function l(e){let t=function(e){let t=r.Z.conversations.get(e);for(let e of t?t.conversationNodeIds:[]){let t=(0,i.df)(e);if(t&&!t.IsDraft&&(0,o._1)(t))return t}}(e);return t?a(t):void 0}},593805:(e,t,n)=>{n.d(t,{$m:()=>g,EC:()=>a,Eu:()=>h,Ge:()=>u,MQ:()=>b,P2:()=>i,Qx:()=>p,YL:()=>s,Zj:()=>v,_D:()=>d,aR:()=>m,ax:()=>S,b3:()=>f,ou:()=>I,p8:()=>l,tX:()=>c});var o=n(402392);let r=new o.nI(()=>Promise.all([n.e(626842),n.e(583427),n.e(844271),n.e(363010),n.e(173368),n.e(187129),n.e(640681)]).then(n.bind(n,262354)));new o._5(r,e=>e.onSmimeItemAttachmentOpened);let i=new o._5(r,e=>e.mergeSmimeDecodedMessageProperties),a=new o.EF(r,e=>e.setSmimePropertiesInDraftMessage),l=new o._5(r,e=>e.trySetSmimeProperties),s=new o.EF(r,e=>e.tryAddSmimeProperties),d=new o.EF(r,e=>e.downloadSmimeAttachment),c=new o.EF(r,e=>e.getMergedSmimeViewState),u=new o.EF(r,e=>e.getMergedSmimeViewStateForDraft),m=new o.EF(r,e=>e.isSmimeItemDecoding),p=new o.EF(r,e=>e.previewSmimeAttachment),f=new o.EF(r,e=>e.updateSmimeAttachmentIds),g=new o.EF(r,e=>e.createSmimeAttachmentsFromFiles),v=new o.EF(r,e=>e.createSmimeAttachmentsViaSmimeQueueManager),h=new o.EF(r,e=>e.initializeAttachmentStateForSmimeAttachments),I=new o.EF(r,e=>e.getAttachmentsForSmimeResponse),S=new o.EF(r,e=>e.getSmimeAttachmentsForRequest),b=(0,o.$y)(r,e=>e.SignatureDetails)},290622:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(90572),r=n(212631);let i=e=>{switch(e){case -1:case 6:case 12:case 13:case 14:return r.Z;case 11:case 10:return o.Z;default:return null}}},448447:(e,t,n)=>{n.d(t,{Z:()=>i,s:()=>a});var o=n(255229),r=n(332707);let i=e=>e&&(0,o.Z)(e)?e.Smime?.SmimeType?e.Smime.SmimeType:(0,r.eV)(e.ItemClass)?11:-1:0,a=e=>e&&e.length?e.reduce((e,t)=>(0,r.aq)(t)?-1:0===e&&(0,r.eV)(t)?11:e,0):0},255229:(e,t,n)=>{n.d(t,{Z:()=>r});var o=n(332707);function r(e){return!!e&&(0,o.kd)(e.ItemClass)}},390698:(e,t,n)=>{n.d(t,{Z:()=>o});let o=e=>{if(!e)return!1;{let{shouldEncryptMessageAsSmime:t,shouldSignMessageAsSmime:n}=e;return t||n}}},270946:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(942678),r=n(255229);function i(e,t){return(0,r.Z)(e)&&t&&!!(0,o.ZP)(e)}},541729:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(302140),r=n(66190);let i=e=>{let t=(0,o.WU)((0,o.ZP)("DJ2NUe"),e);(0,r.iG)(null,t,!1,{hideCancelButton:!0})}},332707:(e,t,n)=>{n.d(t,{aq:()=>a,eV:()=>i,kd:()=>l});var o=n(756085),r=n(166865);function i(e){return!!e&&0===e.indexOf(o.uz)}function a(e){return!!e&&0===e.indexOf(r.q)&&!i(e)}function l(e){return!!e&&0===e.indexOf(r.q)}},707973:(e,t,n)=>{n.d(t,{X:()=>N,l:()=>m});var o=n(302140),r=n(510265),i=n(345301),a=n(697185),l=n(964886),s=n(38284),d=n(770828),c=n(709077),u=n(478248);function m(e){if(!u.p(e).UserOptions?.ShowNotificationBar)return;let t=(0,c.mb)();d.r6.importAndExecute("unsubscribeNotification","MailModuleNotificationBarHost",window,(0,o.ZP)("NIGuFe"),{icon:s.Z,allowClear:!0,minWidth:t.minWidth,maxWidth:t.maxWidth})}var p=n(402821),f=n(129376),g=n(330103),v=n(763763),h=n(67199),I=n(267264);async function S(e,t){if(!e)return;let n=p.bm.All,o=(0,g.Z)("deleteditems",(0,v.Z)());f._s.importAndExecute([e],t,n,o,e=>{(0,h.y8)("SuggestedUnsubscribeDeletedItems",{messageCount:(0,I.Ht)({value:e.NumberOfItemsProcessed??0,exactMatches:[0,1,2,3,4,5]})})})}var b=n(376958),w=n(237081),y=n(805516),P=n(679683),C="nWITW",E=n(900041),Z=n(739455),M=n(198453),T=n(339152),F=n(88104),k=n(300011),x=n(150064);let R={isClickableOutsideFocusTrap:!0},A=(0,r.P)(function(e){let[t,{toggle:n}]=(0,w.k)(!0),r=(0,M.L4)(e.tableView),a=i.useCallback((e,t=!1,n=!1)=>{(0,h.y8)("SuggestedUnsubscribe",{actionSource:e,unsubscribed:t,deleteAll:n})},[]),l=i.useCallback(()=>{a("Dismiss"),e.onCalloutDismiss()},[e.onCalloutDismiss]),s=i.useCallback(()=>{let n=(0,F.fE)(e.senderEmailAddress);if(!n&&!(0,k.JI)("testSuggestedUnsubscribe")){e.onCalloutDismiss(),T.ew.importAndExecute(e.senderEmailAddress,r),a("Unsubscribe_NoCacheEntry");return}let o=!1;n&&((0,F.wk)("SuggestedUnsubscribe",n.smtpInfo.smtpAddress,n.smtpInfo.smtpIdentifier,n.unsubscribeSilentUris,n.unsubscribeHttpUris[0],r),o=!0),t&&S({Name:e.senderName,EmailAddress:e.senderEmailAddress},e.tableView),(0,k.JI)("testSuggestedUnsubscribe")&&T.ew.importAndExecute(e.senderEmailAddress,r),m(r),a("Unsubscribe",o,t),e.onCalloutDismiss()},[e.senderName,e.senderEmailAddress,e.tableView,e.onCalloutDismiss,t]),d=i.useCallback(()=>{a("NoThankYou"),e.onCalloutDismiss(),T.$Y.importAndExecute(e.senderEmailAddress,r),T.ew.importAndExecute(e.senderEmailAddress,r)},[e.onCalloutDismiss,e.senderEmailAddress]),c=(0,o.ZP)(b.r),u=(0,o.ZP)("Ywxgjc");return i.createElement(y.y,{directionalHint:P.b.rightTopEdge,target:e.calloutTarget,focusTrapProps:R,onDismiss:l},i.createElement("div",{className:"LT2dD"},i.createElement("div",null,i.createElement("div",{className:"xDNG2"},(0,o.WU)((0,o.ZP)("UNLQBd"),e.senderName)),i.createElement("div",{className:"PEAri"},(0,o.WU)((0,o.ZP)("MYBrq"),e.senderEmailAddress,e.suggestionReason))),i.createElement("div",null,i.createElement(Z.X,{defaultChecked:t,onChange:n,label:(0,o.WU)((0,o.ZP)("HNwxwd"),e.senderName)})),i.createElement("div",{className:"l3SJQ"},i.createElement(E.X,{appearance:"primary",title:c,className:(0,x.Z)(C,"Ny8pt"),onClick:s},c),i.createElement(E.X,{title:u,className:(0,x.Z)(C,"fh5nn"),onClick:d},u))))},"SuggestedUnsubscribePeek");var D=n(636006);let N=(0,r.P)(function(e){i.useEffect(()=>{(0,h.y8)("SuggestedUnsubscribeRendered")},[]);let t="",n=(0,T.E)(e.rowId,(0,D.Q)()),r=i.useCallback((o,r)=>n?i.createElement(A,{calloutTarget:`#${o}`,onCalloutDismiss:r,senderName:n.senderName,senderEmailAddress:n.senderEmailAddress,suggestionReason:t,tableView:e.tableView}):null,[e.tableView,n,t]);return n?(t=(0,T.WY)(n.reason),i.createElement(a.FJ,{isSingleLineView:e.isSingleLineView,isSelected:e.isSelected,itemClassIcon:l.D7.MailDismiss,title:t,buttonText:(0,o.ZP)(b.r),renderPeekComponent:r})):null},"SuggestedUnsubscribe")},368124:(e,t,n)=>{n.d(t,{X:()=>i,h:()=>a});var o=n(402392);let r=new o.nI(()=>Promise.all([n.e(426799),n.e(980246),n.e(696009),n.e(791109),n.e(485810),n.e(120794),n.e(855491),n.e(393138),n.e(299305),n.e(344864),n.e(136730)]).then(n.bind(n,994184)),{name:"UpNextV2"}),i=new o._5(r,e=>e.initializeUpNextV2),a=(0,o.$y)(r,e=>e.UpNextV2)},485497:(e,t,n)=>{n.d(t,{t:()=>E});var o=n(510265),r=n(345301),i=n(635828),a=n(910082),l=n(110363),s=n(213661),d=n(709),c=n(901632),u=n(639611);let m={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"MailFolderNodeTree"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"mailboxInfo"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"MailboxInfoInput"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"folder"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}},{kind:"Argument",name:{kind:"Name",value:"options"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"mailboxInfo"},value:{kind:"Variable",name:{kind:"Name",value:"mailboxInfo"}}}]}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"MailFolderNodeTree"}}]}}]}},...n(644911).H.definitions]};var p=n(201762),f=n(206339),g=n(931052),v=n(92935);let h=(0,o.P)(function(e){let{folderId:t,isFavoritesSupported:n,nestDepth:o,onContextMenu:a,treeType:h,mailboxInfo:S,distinguishedFolderParentIds:b,moveFolder:w,renderFolderNode:y,deleteFolder:P,ellipsesOnHover:C}=e,{data:E}=(0,p.oo)(m,{variables:{id:t,mailboxInfo:e.mailboxInfo},fetchPolicy:"cache-first"});if(!E||!(0,l.Xe)().has(e.folderId))return null;let Z=E.folder;if(!Z)return null;let M=(0,u.Z)(t),T=!!(Z.childFolderIds&&Z.childFolderIds.length>0),F=M?.isExpanded&&T,k=(0,l.mH)(Z),x=b?[...b]:[];return Z.distinguishedFolderType&&x.push(Z.distinguishedFolderType),r.createElement(r.Fragment,null,r.createElement(i.Pq,{key:t,depth:o,folderId:t,isBeingDragged:M?.drag?.isBeingDragged,onContextMenu:a,shouldHideToggleFavorite:!n,treeType:h,folder:Z,mailboxInfo:S,isFolderExpandable:T,effectiveFolderDisplayName:k,distinguishedFolderParentIds:b,moveFolder:w,deleteFolder:P,ellipsesOnHover:C}),r.createElement(c.Z,{in:!!F,timeout:200,unmountOnExit:!0,classNames:d.v},r.createElement("div",{className:s.zB},r.createElement("div",{className:s.er},r.createElement(i.fN,{folderIdsToRender:Z.childFolderIds??I,nestDepth:o+1,treeType:h,isFavoritesSupported:n,onContextMenu:a,renderFolderNode:y,distinguishedFolderParentIds:x})))),(0,f.cr)("tri-trySearchFolders",S)&&Z.distinguishedFolderType==v.Ry&&r.createElement(g.b9,{mailboxInfo:S}))},"MailFolderNodeTree"),I=[];var S=n(666076),b=n(416622),w=n(302140),y=n(950798),P=n(488581);function C(e){let[t,n]=r.useState(!1),{fetchMore:o,offset:i}=e,a=r.useCallback(async()=>{n(!0),await o(i,"network-only"),n(!1)},[o,i]),l=e.shouldShowLoadingSpinner||t;return r.createElement(r.Fragment,null,l&&r.createElement(y.$,{size:P.E.medium}),!l&&e.hasMoreData&&r.createElement(S.Z,{displayName:(0,w.ZP)(b.Z.loadMoreFoldersAction),isCustomActionNode:!0,isRootNode:!1,key:"loadMore",onClick:a}))}let E=(0,o.P)(function(e){let t=r.useRef(null),{className:n,style:o,mailboxInfo:l,moveFolder:s,deleteFolder:d,ellipsesOnHover:c}=e,u=(e,t,n,o,i,a)=>r.createElement(h,{key:e,folderId:e,nestDepth:t,treeType:n,isFavoritesSupported:o,onContextMenu:i,renderFolderNode:u,mailboxInfo:l,distinguishedFolderParentIds:a,moveFolder:s,deleteFolder:d,ellipsesOnHover:c}),m={...e,rootFolderId:e.rootFolder?.id,renderFolderNode:u,childFolderIds:e.rootFolder?.childFolderIds??[],renderLoadNode:()=>r.createElement(C,{fetchMore:e.fetchMore,shouldShowLoadingSpinner:e.shouldShowLoadingSpinner,hasMoreData:e.hasMoreData,offset:e.offset}),nestDepth:e.nestDepth},p={role:a.ce.tree};return r.createElement("div",{ref:t,style:o,className:n,...(0,a.WO)(p)},r.createElement(i.MD,{...m}))},"MailFolderListWrapper")},152968:(e,t,n)=>{n.d(t,{H:()=>i});var o=n(53540),r=n(767196);let i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"MailFolderTreeContainer"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"baseFolderDistinguishedIds"}},type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"offset"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"mailboxInfo"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"MailboxInfoInput"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"folderHierarchy"},arguments:[{kind:"Argument",name:{kind:"Name",value:"baseFolderDistinguishedIds"},value:{kind:"Variable",name:{kind:"Name",value:"baseFolderDistinguishedIds"}}},{kind:"Argument",name:{kind:"Name",value:"offset"},value:{kind:"Variable",name:{kind:"Name",value:"offset"}}},{kind:"Argument",name:{kind:"Name",value:"mailboxInfo"},value:{kind:"Variable",name:{kind:"Name",value:"mailboxInfo"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"RootFolder"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"type"}},{kind:"FragmentSpread",name:{kind:"Name",value:"MailFolderRoot"}},{kind:"FragmentSpread",name:{kind:"Name",value:"MailFolderListWrapper"}}]}},{kind:"Field",name:{kind:"Name",value:"IncludesLastItemInRange"}},{kind:"Field",name:{kind:"Name",value:"offset"}}]}}]}},...o.S.definitions,...r.y.definitions]}},136231:(e,t,n)=>{n.d(t,{d:()=>o});let o={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"ToggleFolderTreeCollapsed"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UpdateUserConfigurationInput"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"updateUserConfiguration"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"UserOptions"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"IsMailRootFolderTreeCollapsed"}}]}},{kind:"Field",name:{kind:"Name",value:"id"}}]}}]}}]}},733857:(e,t,n)=>{let o;n.d(t,{C9:()=>J,dv:()=>i.d,Ud:()=>et,qP:()=>eo,QT:()=>T.Q});var r=n(402392),i=n(136231),a=n(345301),l=n(92935),s=n(110363),d=n(213661),c=n(709),u=n(901632),m=n(201762),p=n(213138);let f=(0,r.$y)(new r.nI(()=>Promise.all([n.e(892354),n.e(444762)]).then(n.bind(n,444762)),{name:"ArchiveMailFolderTreeGql"}),e=>e.default),g=(0,r.$y)(new r.nI(()=>Promise.all([n.e(892354),n.e(691069)]).then(n.bind(n,691069)),{name:"SharedFolderTreeGql"}),e=>e.default),v=(0,r.$y)(new r.nI(()=>n.e(892354).then(n.bind(n,892354)),{name:"MailFolderContextMenuGql"}),e=>e.default);var h=n(485497),I=n(635828),S=n(152968),b=n(827570),w=n(640722),y=n(754708),P=n(5813),C=n(736949),E=n(302140),Z=n(510265),M=n(265499),T=n(723150),F=n(669388),k=n(472254),x=n(67199),R=n(274241),A=n(433010);let D=(0,Z.P)(function(e){let[t]=(0,m.M4)(w.Z),[n]=(0,m.M4)(i.d),[o]=(0,m.M4)(p.r),[r]=(0,m.M4)(y._),{userConfiguration:f,mailboxInfo:g,isExpanded:v}=e,Z=a.useMemo(()=>v??!f?.UserOptions?.IsMailRootFolderTreeCollapsed,[v,f?.UserOptions?.IsMailRootFolderTreeCollapsed]),F=a.useCallback(()=>{(0,T.Q)(n,!Z,g)},[n,Z,g]),k=a.useCallback((e,n,o,r,i,a)=>{C.l.importAndExecute(t,e,n,o,r,i,a)},[t]),R=a.useCallback((e,t,n)=>{(0,M.L)(e,l.CJ,g,"Keyboard",o,r,t,n)},[g,o,r]),D=(0,P.U$)()&&f?.SessionSettings?.UserEmailAddress||(0,E.ZP)("PQSf9"),_=f?.SessionSettings?.IsExplicitLogon,O=!_&&(!(0,P.rX)()||!(0,A.uc)(g)),{error:L,loading:V,data:B}=(0,m.oo)(S.H,{variables:{baseFolderDistinguishedIds:[l.qx],offset:0,mailboxInfo:e.mailboxInfo},fetchPolicy:"cache-only",nextFetchPolicy:"cache-only"});L&&!1===V&&(0,s.Oy)(l.qx,s.p0.ErrorLoading,g);let G=B?.folderHierarchy?.RootFolder,U=(0,s.H2)(l.qx,g),H=(0,s.Yw)(l.qx,g),W=a.useCallback(async(e,t)=>{let n=new x.Gn("FP_FetchMorePrimaryMailFolders"),o=await s.EO.import();await o(g,"PrimaryFolderPane",n)},[g]),K="primarymailboxtree_"+(0,b.M4)(g);return a.createElement(a.Fragment,null,e.showRootNode&&a.createElement(I.qb,{displayName:D,onRootNodeChevronClickedCallback:F,positionInSet:e.positionInSet,rootFolder:G,rootNodeId:l.qx,setSize:e.setSize,shouldBeDroppable:!0,treeType:l.Ht,isRootExpanded:Z,mailboxInfo:g,shouldShowRootNodeContextMenu:!0,moveFolder:k,style:Z?void 0:e.style,ellipsesOnHover:e.ellipsesOnHover}),a.createElement(u.Z,{in:Z,timeout:200,unmountOnExit:!0,classNames:c.v},a.createElement("div",{className:d.zB},a.createElement("div",{className:d.er},a.createElement(h.t,{key:K,treeType:l.Ht,isFavoritesSupported:O,hasMoreData:!!U,shouldShowLoadingSpinner:!B&&V,rootFolder:G,rootNodeId:l.qx,mailboxInfo:g,moveFolder:k,offset:H,fetchMore:W,deleteFolder:R,style:e.style,ellipsesOnHover:e.ellipsesOnHover})))),a.createElement(N,{isExplicitLogon:!!_,isShadowMailbox:e.isShadowMailbox,mailboxInfo:g,isExpanded:Z,isFavoritesSupported:O}))},"PrimaryMailFolderTreeContainer"),N=(0,Z.P)(function(e){let{mailboxInfo:t,isExpanded:n,isFavoritesSupported:o,isShadowMailbox:r}=e;return(0,R.T)(()=>{let{contextMenuState:e}=F.default;return!!(e?.folderId&&e.treeType==l.Ht&&(0,k.Z)(s.ZP.folderTable.get(e?.folderId)?.mailboxInfo,t))},[t])?a.createElement(v,{shouldHideToggleFavorite:!o,treeType:l.Ht,isShadowMailbox:r,mailboxInfo:t,deletedItemsDistinguishedFolderId:l.CJ,primaryMailboxInfo:t,isTreeExpanded:n}):null},"PrimaryMailFolderContextMenu");var _=n(505376),O=n(178856),L=n(304011),V=n(240282);let B={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"folderHierarchyConfigurationQuery"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"mailboxInfo"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"MailboxInfoInput"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"userConfiguration"},arguments:[{kind:"Argument",name:{kind:"Name",value:"mailboxInfo"},value:{kind:"Variable",name:{kind:"Name",value:"mailboxInfo"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"UserOptions"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"IsMailRootFolderTreeCollapsed"}}]}},{kind:"Field",name:{kind:"Name",value:"PolicySettings"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"ShowOnlineArchiveEnabled"}}]}},{kind:"Field",name:{kind:"Name",value:"SessionSettings"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"ArchiveDisplayName"}},{kind:"Field",name:{kind:"Name",value:"ArchiveMailboxGuid"}},{kind:"Field",name:{kind:"Name",value:"HasArchive"}},{kind:"Field",name:{kind:"Name",value:"IsExplicitLogon"}},{kind:"Field",name:{kind:"Name",value:"IsShadowMailbox"}},{kind:"Field",name:{kind:"Name",value:"LogonEmailAddress"}},{kind:"Field",name:{kind:"Name",value:"OrganizationDomain"}},{kind:"Field",name:{kind:"Name",value:"UserDisplayName"}},{kind:"Field",name:{kind:"Name",value:"UserEmailAddress"}}]}}]}}]}}]};var G=n(382830),U=n(205923),H=n(592948),W=n(769127),K=n(64906),z=n(511943),j=n(298881),Q=n(580596),$=n(382092),q=n(950798),X=n(488581),Y=((o=Y||{}).Compact="12px",o.Full="12px",o.Simple="8px",o);let J=(0,Z.P)(function(e){let{isExpanded:t,favoritesNodeCount:n,accountMailboxInfo:o,setSize:r,shouldHideRootNode:i,accountBootState:l,ellipsesOnHover:s}=e,d=(0,z.zl)(),c=(0,b.M4)(o)===(0,b.M4)(d),u=l===z.Ns.StartupComplete,m=(0,R.T)(()=>(0,K.E3)(),[]),p=(0,P.U$)(),v=a.useMemo(()=>p?void 0:{paddingBottom:Y[m]},[m,p]);a.useEffect(()=>{(async()=>{!c&&u&&(await (0,Q.SY)(o),(0,$.Rn)(o),j.n_.importAndExecute(o))})()},[o,u]);let{loading:h,data:I}=(0,G.o)(B,{variables:{mailboxInfo:o}});if(h||!I||!u)return a.createElement(q.$,{size:X.E.medium});let S=!i&&ee(n>0),w=n+1,y=I?.userConfiguration,C=!!y?.SessionSettings?.IsShadowMailbox,E=y?.SessionSettings?.ArchiveDisplayName,Z=y?.SessionSettings?.ArchiveMailboxGuid,M=y?.SessionSettings?.OrganizationDomain,T=y?.SessionSettings?.HasArchive,F=y?.PolicySettings?.ShowOnlineArchiveEnabled,k=T&&F&&E,x=e=>{if(!o)return w+=e};return a.createElement(a.Fragment,null,a.createElement(D,{showRootNode:S,setSize:r,positionInSet:x(0),userConfiguration:y,isShadowMailbox:C,mailboxInfo:o,isExpanded:t,style:v,ellipsesOnHover:s}),(0,_.e)(O.d,o)&&a.createElement(a.Fragment,null,k&&a.createElement(f,{setSize:r,positionInSet:x(1),archiveRootDisplayName:E,archiveMailboxGuid:Z,organizationDomain:M,isShadowMailbox:C,primaryMailboxInfo:o,userEmailAddress:o.mailboxSmtpAddress,style:v,ellipsesOnHover:s}),a.createElement(g,{setSize:r,positionInSet:x(1),accountMailboxInfo:o,isShadowMailbox:C,primaryMailboxInfo:o,style:v,ellipsesOnHover:s}),a.createElement(L.c,null)),(0,H.s)(o)&&a.createElement(U.qC,{mailboxInfo:o,setSize:r,style:v,positionInSet:x(W.v(o)?.length),ellipsesOnHover:s}))},"MailFolderTreesParentContainer");function ee(e){return e||(0,H.s)()||!(0,V.Z)()}function et(e,t){let n=t;if(e)n+=(0,z.Ly)().filter(e=>z.z6.isM365Mailbox(e)).length;else{ee(t>0)&&n++;let e=(0,z.zl)();!(0,V.Z)(void 0,e)&&(W.v(e)?.length&&(n+=W.v(e)?.length),null!=(0,s.fL)(e)&&n++),(0,H.s)()&&n++}return n}let en=new r.nI(()=>n.e(392627).then(n.bind(n,392627))),eo=new r.EF(en,e=>e.getPrimaryMailboxRootContextMenuItems)},723150:(e,t,n)=>{n.d(t,{Q:()=>l});var o=n(136231),r=n(877111),i=n(248406),a=n(198456);function l(e,t,n){let l=!t,s={variables:{input:{mailboxInfo:n,updates:{UserOptions:{IsMailRootFolderTreeCollapsed:l}}}},optimisticResponse:{__typename:"Mutation",updateUserConfiguration:{id:a.DEFAULT_USER_CONFIG,__typename:"UserConfiguration",UserOptions:{IsMailRootFolderTreeCollapsed:l,__typename:"UserOptions"}}},queuedAction:{blockingKeys:[],resultProcessor:"Default",flight:"fwk-aq-userConfig",replacesKey:"FolderTreeCollapsed"}};(0,r.W)(e=>{e?.UserOptions?.IsMailRootFolderTreeCollapsed!==void 0&&(e.UserOptions.IsMailRootFolderTreeCollapsed=l)});let d=e;d||(d=e=>(0,i.JG)(o.d,e??{})),d(s)}},472254:(e,t,n)=>{n.d(t,{Z:()=>r});var o=n(827570);function r(e,t){return!!e&&!!t&&(0,o.M4)(e)===(0,o.M4)(t)}},265499:(e,t,n)=>{n.d(t,{L:()=>l});var o=n(330103),r=n(402392);let i=new r._5(new r.nI(()=>n.e(969164).then(n.bind(n,969164))),e=>e.deleteFolder);var a=n(110363);let l=(e,t,n,r,l,s,d,c)=>{let u=a.ZP.folderTable.get(e);if(!u)return;let m=u.distinguishedFolderType,p="IPF.Note.OutlookHomepage"===u.FolderClass;if(m||p)return;let f=!1;c&&c.indexOf(t)>-1&&(f=!0);let g=(0,o.Z)(t,u?.mailboxInfo);i.importAndExecute(l,u,r,g,f,n,s,d)}},810846:(e,t,n)=>{n.d(t,{DA:()=>a,G_:()=>s,VZ:()=>l,dO:()=>i});var o=n(402392);let r=new o.nI(()=>n.e(246436).then(n.bind(n,246436))),i=new o._5(r,e=>e.setGroupHeaderCallbacks),a=new o.EF(r,e=>e.groupHeaderCommandBarStore),l=new o.EF(r,e=>e.groupHeaderNavigationButton),s=new o._5(r,e=>e.groupHeaderCommandBarAction)},418524:(e,t,n)=>{n.d(t,{Cp:()=>i,DM:()=>u,L9:()=>p,R7:()=>s,Vd:()=>d,ar:()=>m,gK:()=>c,hM:()=>a,z_:()=>l});var o=n(402392);let r=new o.nI(()=>Promise.all([n.e(229806),n.e(743740),n.e(988313),n.e(476706),n.e(877594)]).then(n.bind(n,428876)),{name:"GroupList"}),i=new o._5(r,e=>e.toggleGroupTreeExpansion),a=new o._5(r,e=>e.unsubscribeToUnreadCountNotificationsUsingGql),l=new o._5(r,e=>e.unsubscribeFromUnreadNotifications),s=new o._5(r,e=>e.subscribeToAllGroupsUnreadNotifications),d=new o._5(r,e=>e.setGroupLastVisitedTime),c=new o._5(r,e=>e.loadGroupAccountSources),u=new o._5(r,e=>e.loadGroupAccountSourcesForCurrentSession),m=new o.EF(r,e=>e.doesGroupSmtpExistInLeftNav),p=new o._5(r,e=>e.dropMailListRowsOnGroup)},536994:(e,t,n)=>{n.d(t,{PR:()=>d,tR:()=>a,$k:()=>s});var o=n(313380),r=n(445e3),i=n(636283);function a(e,t,n){let a;if(!e){let n=Error("CantCreateGroupTableQuery");n.diagnosticInfo=JSON.stringify({listViewType:t,ty:typeof e}),(0,i.rx)(n)}switch(t){case 0:a=r.fz;break;case 1:a=(0,r.im)()}return{categoryName:null,folderId:e,focusedViewFilter:-1,listViewType:t,viewFilter:"All",sortBy:o.WR.getDefaultSortBy(),requestShapeName:a,type:2,scenarioType:"group",mailboxInfo:n}}var l=n(52924);function s(){let e=l.Z().UserOptions?.GlobalListViewTypeReact;return void 0==e?0:e}function d(e,t,n,i,a,l){let d;let c=a??o.WR.getDefaultSortBy();switch(n){case 0:d=r.fz;break;case 1:d=(0,r.im)();break;default:d=s()}return{categoryName:"",folderId:t,focusedViewFilter:-1,listViewType:n,viewFilter:l??"All",sortBy:c,requestShapeName:d,type:3,scenarioType:"group",groupId:e,mailboxInfo:i}}},600684:(e,t,n)=>{n.d(t,{Dl:()=>i,JH:()=>s,Kv:()=>d,Yd:()=>a,xr:()=>l});var o=n(402392);let r=new o.nI(()=>Promise.all([n.e(229806),n.e(850341),n.e(743740),n.e(988313),n.e(574412)]).then(n.bind(n,806218))),i=new o._5(r,e=>e.loadGroupAction),a=new o._5(r,e=>e.onAfterNewGroupSelectedAction),l=new o._5(r,e=>e.onAfterGroupDetailsSucceededAction),s=new o._5(r,e=>e.setGroupIsSubscribedAction),d=new o._5(r,e=>e.setGroupIsMemberAction)},93218:(e,t,n)=>{n.d(t,{Z:()=>i,t:()=>l});var o=n(402392);let r=new o.nI(()=>n.e(189171).then(n.bind(n,189171)),{name:"GroupDeepLink"}),i=(0,o.$y)(r,e=>e.default),a=new o.nI(()=>n.e(736910).then(n.bind(n,736910))),l=(0,o.$y)(a,e=>e.GroupHeader)},205923:(e,t,n)=>{n.d(t,{Qq:()=>l,TO:()=>s,V0:()=>a,qC:()=>i});var o=n(402392);let r=new o.nI(()=>Promise.all([n.e(476706),n.e(254336)]).then(n.bind(n,254336)),{name:"GroupListTree"}),i=(0,o.$y)(r,e=>e.GroupListTree),a=(0,o.$y)(r,e=>e.GroupRightCharm),l=(0,o.$y)(r,e=>e.GroupRightCharmHover),s=(0,o.$y)(r,e=>e.GroupContextMenu)},81530:(e,t,n)=>{n.d(t,{nv:()=>i,Ae:()=>r,rB:()=>a,vp:()=>l});let o={warmedUpGroups:null,warmUpTime:0};function r(e){o.warmUpTime=e}function i(){return o.warmUpTime}function a(e){o.warmedUpGroups=e}function l(e){let t=e.toLowerCase();if(!o.warmedUpGroups)return!1;for(let e=0;e<o.warmedUpGroups.length;++e)if(o.warmedUpGroups[e].toLowerCase()==t)return!0;return!1}},42805:(e,t,n)=>{n.d(t,{D:()=>i});var o=n(402392);let r=new o.nI(()=>Promise.all([n.e(679105),n.e(850341),n.e(12537),n.e(450093),n.e(344500),n.e(408782),n.e(49364),n.e(668832),n.e(92599)]).then(n.bind(n,61271))),i=new o._5(r,e=>e.openGroupSettings)},136851:(e,t,n)=>{n.d(t,{Is:()=>s.Is,Fg:()=>c,xI:()=>p,CW:()=>r.C,RY:()=>l,Ws:()=>s.ZP,Zs:()=>f,lp:()=>g,kd:()=>h,Jz:()=>I,jx:()=>C,Y3:()=>y,xs:()=>w,xp:()=>P,lg:()=>b,Qv:()=>S});var o=n(402392),r=n(220502),i=n(313380),a=n(206339);function l(){let e=(0,i.ii)();return e&&(2==e.tableQuery.type||(0,a.cr)("grp-loadFolders")&&3==e.tableQuery.type)}var s=n(26093),d=n(636006);function c(e,t){return{type:"GroupMailbox",userIdentity:(0,s.m9)(t)?(0,d.Q)().userIdentity:t.mailboxInfo.userIdentity,mailboxSmtpAddress:e}}var u=n(75953),m=n(833731);let p=(0,u._)(e=>(0,a.cr)("acct-mbxpkg")?(0,m.Z)((0,d.Q)(),e):{type:"GroupMailbox",userIdentity:(0,d.Q)().userIdentity,mailboxSmtpAddress:e.toLowerCase()});function f(){let e=(0,i.ii)();return e&&(0,s.ZP)(e.tableQuery)}function g(){return(0,a.cr)("grp-loadFolders")&&l()}let v=new o.nI(()=>n.e(768514).then(n.bind(n,768514)),{name:"OwaGroupUtils"}),h=new o.EF(v,e=>e.getGroupDisplayName),I=new o.EF(v,e=>e.getGroupDisplayNameFromTableView),S=new o.EF(v,e=>e.isPrivateUnjoinedGroup),b=new o.EF(v,e=>e.isJoinedGroup),w=new o.EF(v,e=>e.getRetentionPolicyTagsForGroup),y=new o.EF(v,e=>e.getRetentionPolicyTagListForGroupTableQuery),P=new o.EF(v,e=>e.isGroupOwner),C=new o.EF(v,e=>e.getGroupUrl)},220502:(e,t,n)=>{n.d(t,{C:()=>i,a:()=>a});var o=n(313380),r=n(206339);function i(){return a((0,o.ii)())}function a(e){let t=null;return e&&(2===e.tableQuery.type?t=e.tableQuery.folderId:(0,r.cr)("grp-loadFolders")&&3===e.tableQuery.type&&(t=e.tableQuery.groupId)),t}},271554:(e,t,n)=>{n.d(t,{K:()=>a,T:()=>i});var o=n(144407),r=n(194577);function i(e,t){if(e&&!(0,o.F)(t,e)){let n=(0,r.Z)(t,e);return!n||1==n.AccessType&&!n.UserGroupRelationship?.IsMember}return!1}function a(e,t){if(e&&!(0,o.F)(t,e)){let n=(0,r.Z)(t,e);return!!n?.UserGroupRelationship?.IsMember}return null!=e}},26093:(e,t,n)=>{n.d(t,{Is:()=>l,ZP:()=>i,m9:()=>a});var o=n(45409),r=n(206339);function i(e){return!!e&&(2==e.type||a(e)||(0,r.cr)("grp-loadFolders")&&3==e.type)}function a(e){return!!e&&1==e.type&&e.searchScope.kind==o.D9.Group}function l(e){return 2==e.type?e.folderId:(0,r.cr)("grp-loadFolders")&&3==e.type?e.groupId:a(e)?e.searchScope.groupId:null}},720001:(e,t,n)=>{n.d(t,{Z:()=>o});let o=(0,n(795839).aD)("closeImmersiveReadingPane",e=>({source:e}))},723697:(e,t,n)=>{n.d(t,{aJ:()=>a,dp:()=>r,e:()=>i});var o=n(795839);let r=(0,o.aD)("CONVERSATION_READY_TO_LOAD",(e,t)=>({conversationId:e,nodeIdCollectionChange:t})),i=(0,o.aD)("UPDATE_ATTACHMENTS"),a=(0,o.aD)("UPDATE_ITEM_MANDATORY_PROPERTIES",(e,t)=>({conversationId:e,nodeIdCollectionWithItemMandatoryPropertiesChanged:t}))},425832:(e,t,n)=>{n.d(t,{OH:()=>i,bi:()=>a,jV:()=>r});var o=n(795839);let r=(0,o.aD)("onNewFolderNotificationCache",(e,t,n,o=0,r=0,i)=>({folderId:e,parentFolderId:t,displayName:n,unreadCount:o,totalCount:r,mailboxInfo:i})),i=(0,o.aD)("onNewFolderNotification",(e,t,n,o=0,r=0,i=!0,a)=>({folderId:e,parentFolderId:t,displayName:n,unreadCount:o,totalCount:r,updateMRUList:i,mailboxInfo:a})),a=(0,o.aD)("onUpdateFolderNotification",(e,t,n,o,r)=>({unreadCount:e,totalCount:t,folderId:n,displayName:o,parentFolderId:r}))},817923:(e,t,n)=>{n.d(t,{Z:()=>o});let o=(0,n(795839).aD)("GET_FOLDER_DATA",e=>({folderId:e}))},574797:(e,t,n)=>{n.d(t,{EX:()=>c.Z,qs:()=>s.Z,MO:()=>d.Z,_F:()=>u,X3:()=>l,L1:()=>o.L});var o=n(516386),r=n(645225),i=n(795839),a=n(206339);let l=(0,i.lr)("updateShouldOpportunisticallyFetch",function(e){(0,a.cr)("rp-fetchOnDemand")&&(0,r.b)().shouldOpportunisticallyFetch!=e&&((0,r.b)().shouldOpportunisticallyFetch=e)});var s=n(60453),d=n(684239),c=n(117270);let u=(0,i.lr)("setTriageActionAnnouncement",function(e,t="polite"){let n=(0,r.b)();n.triageAnnouncement={message:n.triageAnnouncement.message===e?e+" ":e,politenessSetting:t}})},435136:(e,t,n)=>{n.d(t,{r:()=>o});let o=(0,n(795839).aD)("INIT_TABLE_SELECTION_ON_LOAD",(e,t)=>({tableView:e,isUserNavigation:t}))},710511:(e,t,n)=>{n.d(t,{r:()=>r,v:()=>i});var o=n(795839);let r=(0,o.aD)("ON_SINGLE_MAIL_ITEM_SELECT"),i=(0,o.aD)("MAIL_LIST_SCROLL",(e,t)=>({tableView:e,scrollTop:t}))},538477:(e,t,n)=>{n.d(t,{$x:()=>E,AT:()=>f,Af:()=>l,B$:()=>u,Fm:()=>I,GS:()=>Z,Iy:()=>s,LI:()=>S,Mt:()=>y,TH:()=>c,TU:()=>C,Tu:()=>d,YR:()=>h,Yu:()=>w,Zk:()=>p,d4:()=>P,fs:()=>F,hc:()=>M,ju:()=>T,u:()=>b,vD:()=>v,vt:()=>g,xT:()=>m});var o=n(267264),r=n(795839),i=n(160635);let a={timeout:9e4},l=(0,r.aD)("SINGLE_SELECT_ROW",(e,t,n,r,l)=>(0,i.Z)(r,e,t,void 0)?(0,o.i$)({name:"SelectMailItem",options:{...a,eventTimestamp:l}},{tableView:e,rowKey:t,isUserNavigation:n,mailListItemSelectionSource:r}):(0,o.uY)({name:"SelectMailItemNonCritical",options:{...a,eventTimestamp:l}},{tableView:e,rowKey:t,isUserNavigation:n,mailListItemSelectionSource:r})),s=(0,r.aD)("TOGGLE_SELECT_ROW",(e,t,n,r,l)=>(0,i.Z)(r,e,t,void 0)?(0,o.i$)({name:"SelectMailItem",options:{...a,eventTimestamp:l}},{tableView:e,rowKey:t,isUserNavigation:n,mailListItemSelectionSource:r}):(0,o.uY)({name:"SelectMailItemNonCritical",options:{...a,eventTimestamp:l}},{tableView:e,rowKey:t,isUserNavigation:n,mailListItemSelectionSource:r})),d=(0,r.aD)("ON_AFTER_SELECTION_CHANGED",(e,t,n)=>({rowKey:e,tableView:t,mailListItemSelectionSource:n})),c=(0,r.aD)("RESET_LIST_VIEW_EXPANSION_VIEW_STATE"),u=(0,r.aD)("SET_SECOND_LEVEL_LIST_VIEW_EXPANSION",e=>({rowKey:e})),m=(0,r.aD)("ITEM_PART_SELECTED",(e,t,n,o,r)=>({nodeId:e,itemId:t,allNodeIds:n,tableView:o,mailListItemSelectionSource:r})),p=(0,r.aD)("SELECT_NEXT_ITEM_PART",(e,t)=>({rowKey:e,tableView:t})),f=(0,r.aD)("ON_ITEM_PART_CONTEXT_MENU",(e,t,n)=>({contextMenuAnchor:e,nodeId:t,tableViewId:n})),g=(0,r.aD)("SINGLE_SELECT_ITEM_PART",(e,t,n,o,r)=>({rowKey:e,nodeIdToSelect:t,allNodeIds:n,tableViewId:o,currentSelectedNodeIds:r})),v=(0,r.aD)("TOGGLE_SELECT_ITEM_PART",(e,t)=>({nodeId:e,isCtrlOrCmdKeyDown:t})),h=(0,r.aD)("ON_ITEM_PART_SELECTED_OR_CHECKED",(e,t,n)=>({nodeId:e,tableView:t,isCtrlOrCmdKeyDown:n})),I=(0,r.aD)("RANGE_SELECT_ITEM_PART",(e,t,n)=>({tableView:e,targetNodeId:t,isCtrlOrCmdKeyDown:n})),S=(0,r.aD)("SET_ANCHOR_NODE_IN_EXPANSION",e=>({nodeId:e})),b=(0,r.aD)("TOGGLE_SELECT_ALL_ROWS",e=>({tableView:e})),w=(0,r.aD)("RANGE_SELECT_ROW",(e,t,n,o)=>({tableView:e,targetRowKey:t,mailListItemSelectionSource:n,isCtrlOrCmdKeyDown:o})),y=(0,r.aD)("RESET_SELECTION",(e,t,n)=>({tableView:e,mailListItemSelectionSource:t,isUserNavigation:n})),P=(0,r.aD)("RESET_SELECTION",e=>({tableView:e})),C=(0,r.aD)("SELECT_ROW_IN_DIRECTION",(e,t,n)=>(0,i.Z)(n,e,void 0,t)?(0,o.i$)({name:"SelectMailItem",options:a},{tableView:e,selectionDirection:t,mailListItemSelectionSource:n}):(0,o.uY)({name:"SelectMailItemNonCritical",options:a},{tableView:e,selectionDirection:t,mailListItemSelectionSource:n})),E=(0,r.aD)("SET_EXPANSION_FOR_ROW",(e,t)=>({rowKey:e,mailListItemSelectionSource:t})),Z=(0,r.aD)("KEYBOARD_MULTI_SELECT_ROW",(e,t,n,o)=>({tableView:e,mailListItemSelectionSource:t,selectionDirection:n,isCtrlOrCmdKeyDown:o})),M=(0,r.aD)("KEYBOARD_COLLAPSE_CONVERSATION",(e,t)=>({rowKey:e,tableView:t})),T=(0,r.aD)("RESET_BUS_STOP_STATE_MAP"),F=(0,r.aD)("SELECT_NEW_ITEM_UPON_ROW_REMOVAL",(e,t,n,o)=>({tableView:e,lastSelectedRowIndex:t,lastSelectedRowWasPinned:n,isRowNotRemovedYet:o}))},650575:(e,t,n)=>{n.d(t,{T:()=>o});let o=(0,n(795839).aD)("ON_MAIL_SEARCH_COMPLETE")},910569:(e,t,n)=>{n.d(t,{M:()=>r,_:()=>i});var o=n(795839);let r=(0,o.aD)("ON_DELETE_CONVERSATION_ITEM_PARTS_COMPLETE"),i=(0,o.aD)("TOGGLE_ROW_READ_STATE_COMPLETE")},117270:(e,t,n)=>{n.d(t,{Z:()=>o});let o=(0,n(795839).aD)("ON_KEYBOARD_TOGGLE_SELECT",(e,t)=>({tableView:e,mailListItemSelectionSource:t}))},60453:(e,t,n)=>{n.d(t,{Z:()=>o});let o=(0,n(795839).aD)("ON_KEYBOARD_UP_DOWN",(e,t,n,o)=>({selectionDirection:e,tableView:t,mailListItemSelectionSource:n,shouldSelect:o}))},684239:(e,t,n)=>{n.d(t,{Z:()=>o});let o=(0,n(795839).aD)("ON_KEYBOARD_UP_DOWN",(e,t,n,o)=>({tableView:e,selectedNodeIds:t,selectedRowKeys:n,mailListItemSelectionSource:o}))},924734:(e,t,n)=>{n.d(t,{K:()=>r});var o=n(795839);(0,o.aD)("CLOSE_DEEPLINK_READING_PANE");let r=(0,o.aD)("ON_ITEM_PART_DESELECTED",(e,t)=>({itemId:e,tableView:t}))},725553:(e,t,n)=>{n.d(t,{b:()=>o});let o=(0,n(795839).aD)("SELECT_PREVIOUS_NODE",e=>({actionSource:e}))},367062:(e,t,n)=>{n.d(t,{H:()=>o});let o=(0,n(795839).aD)("SET_SELECTION_ON_ROW",(e,t,n)=>({rowKey:e,tableViewId:t,shouldSelect:n}))},353881:(e,t,n)=>{n.d(t,{Z:()=>o});let o=(0,n(795839).aD)("RELOAD_TABLE_ON_TRIAGE_ACTION_FAIL",e=>({tableView:e}))},345298:(e,t,n)=>{n.d(t,{Z:()=>o});let o=(0,n(795839).aD)("RESTORE_ROW_FAIL")},523866:(e,t,n)=>{n.d(t,{Z:()=>o});let o=(0,n(795839).aD)("APPLY_CONVERSATION_FLAG_STATE_STORE_UPDATE",(e,t,n)=>({conversationIds:e,flagType:t,tableViewId:n}))},298689:(e,t,n)=>{n.d(t,{Z:()=>o});let o=(0,n(795839).aD)("DELETE_CONVERSATION_STORE_UPDATE",(e,t,n)=>({conversationIds:e,tableView:t,actionType:n}))},832033:(e,t,n)=>{n.d(t,{Z:()=>o});let o=(0,n(795839).aD)("DELETE_FOLDER_STORE_UPDATE",(e,t)=>({folderIds:e,groupId:t}))},875138:(e,t,n)=>{n.d(t,{Z:()=>o});let o=(0,n(795839).aD)("DELETE_ITEMS_STORE_UPDATE",(e,t,n)=>({itemContexts:e,parentFolderId:t,actionType:n}))},595188:(e,t,n)=>{n.d(t,{Z:()=>o});let o=(0,n(795839).aD)("MARK_ALL_AS_READ_STORE_UPDATE",(e,t,n)=>({tableView:e,markAsRead:t,rowIdsToExclude:n}))},19091:(e,t,n)=>{n.d(t,{Z:()=>o});let o=(0,n(795839).aD)("MARK_CONVERSATIONS_PINNED_STORE_UPDATE",(e,t,n)=>({rowKeys:e,tableViewId:t,shouldMarkAsPinned:n}))},978947:(e,t,n)=>{n.d(t,{Z:()=>o});let o=(0,n(795839).aD)("MARK_CONVERSATIONS_AS_READ_STORE_UPDATE",(e,t,n,o)=>({conversationIds:e,tableViewId:t,isReadValue:n,isExplicit:o}))},970790:(e,t,n)=>{n.d(t,{Z:()=>o});let o=(0,n(795839).aD)("MARK_ITEMS_PINNED_STORE_UPDATE",(e,t,n)=>({rowKeys:e,tableViewId:t,shouldMarkAsPinned:n}))},202445:(e,t,n)=>{n.d(t,{Z:()=>o});let o=(0,n(795839).aD)("MARK_ITEMS_AS_READ_STORE_UPDATE",(e,t,n,o)=>({itemIds:e,isReadValue:t,isExplicit:n,tableViewId:o}))},122814:(e,t,n)=>{n.d(t,{Z:()=>o});let o=(0,n(795839).aD)("REMOVE_ROWS_FROM_LISTVIEW_STORE",(e,t,n,o=!0)=>({rowKeys:e,tableView:t,actionType:n,shouldRemoveFromAllTables:o}))},535020:(e,t,n)=>{n.d(t,{Z:()=>o});let o=(0,n(795839).aD)("ROW_UPDATED",(e,t)=>({rowKey:e,tableView:t}))},658369:(e,t,n)=>{n.d(t,{Z:()=>o});let o=(0,n(795839).aD)("TRY_REMOVE_FROM_MAIL_STORE_ITEMS",(e,t)=>({itemIdToRemove:e,removeItemSource:t}))},516386:(e,t,n)=>{n.d(t,{L:()=>o});let o=(0,n(795839).aD)("USERMAIL_INTERACTION",(e,t,n)=>({interactionType:e,instrumentationContexts:t,triageContext:n}))},923329:(e,t,n)=>{n.d(t,{Z:()=>o});let o=(0,n(795839).aD)("UPDATE_FOLDER_COUNTS",(e,t,n,o)=>({unreadCount:e,totalCount:t,folderId:n,isDeltaChange:o}))},261144:(e,t,n)=>{n.d(t,{bh:()=>r.b,ky:()=>a});var o=n(402392),r=n(536128);let i=new o.nI(()=>n.e(301419).then(n.bind(n,301419))),a=new o._5(i,e=>e.showInImmersiveReader)},536128:(e,t,n)=>{n.d(t,{b:()=>a});var o=n(795839);let r={sessionId:(0,n(715381).u)()},i=(0,o.MT)("immersivereader",r)(),a=()=>i},650999:(e,t,n)=>{n.d(t,{Y:()=>i});var o=n(261144),r=n(797489);function i(e,t,n,i){i&&i!==window?r.BJ.importAndExecute(e.Id,{view:"immersive"}):o.ky.importAndExecute(e,t,n)}},985062:(e,t,n)=>{n.d(t,{Kk:()=>u,bf:()=>m.Z,el:()=>f.Z,ew:()=>i.ew,_p:()=>i._p,ko:()=>i.ko,p1:()=>i.p1,_I:()=>i._I,tp:()=>i.tp,MG:()=>i.MG,YW:()=>i.YW,$p:()=>i.$p,nu:()=>i.nu,uR:()=>i.uR,Rc:()=>i.Rc,uJ:()=>i.uJ,Ne:()=>i.Ne,gL:()=>p});var o=n(402392),r=n(382092),i=n(212642),a=n(863922),l=n(949239),s=n(426474),d=n(795839);let c=(0,d.lr)("setFavoriteNodeViewStateMutator",function(e,t){(0,a.b)().favoriteNodeViewStates.set(e,t)});function u(e){return(0,a.b)().favoriteNodeViewStates.has(e)||c(e,{drag:(0,l.Z)(),drop:(0,s.Z)()}),(0,a.b)().favoriteNodeViewStates.get(e)}var m=n(492819);let p=(0,d.lr)("showFindFavoritesPicker",function(e,t){let n=(0,m.Z)(e);n&&(n.shouldShowFindFavoritesPicker=t)});var f=n(868437);(0,o.Kv)(r.t,i.gx,e=>e.migrateOutlookFavoritesOrchestrator)},212642:(e,t,n)=>{n.d(t,{$p:()=>S,MG:()=>c,Ne:()=>i,Nt:()=>g,Rc:()=>f,YW:()=>l,_I:()=>h,_p:()=>p,ew:()=>u,gx:()=>r,ko:()=>v,nu:()=>I,p1:()=>s,tp:()=>d,uJ:()=>a,uR:()=>m});var o=n(402392);let r=new o.nI(()=>Promise.all([n.e(778996),n.e(211150),n.e(683003),n.e(189382),n.e(142628),n.e(964886),n.e(299857),n.e(597010)]).then(n.bind(n,765446)),{name:"MailFavoritesStore"}),i=new o._5(r,e=>e.toggleFavoritesTreeExpansion),a=new o._5(r,e=>e.removeFavoritePersona),l=new o._5(r,e=>e.onSelectedPersonaNodeChanged),s=new o._5(r,e=>e.handleToggleFavoritePersonaError),d=new o._5(r,e=>e.markFavoritePersonaNodeAsAdded),c=new o._5(r,e=>e.onFavoritePersonaSelected),u=new o.EF(r,e=>e.addFavoriteFolder),m=new o.EF(r,e=>e.removeFavoriteFolder),p=new o._5(r,e=>e.addFavoriteFolderV1),f=new o._5(r,e=>e.removeFavoriteFolderV1),g=new o._5(r,e=>e.onFavoritePersonaUpdated),v=new o._5(r,e=>e.addFavoritePersona),h=new o._5(r,e=>e.initializeFavoritePersonas),I=new o._5(r,e=>e.outlookFavoritePersonasLoaded),S=new o._5(r,e=>e.outlookFavoriteFoldersLoaded)},492819:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(863922);let r=(0,n(795839).lr)("setMailFavoritesViewState",function(e,t){o.Z.mailFavoritesViewState.set(e,t)});function i(e){return o.Z.mailFavoritesViewState.has(e)||r(e,{contextMenuState:null,shouldShowFindFavoritesPicker:!1}),o.Z.mailFavoritesViewState.get(e)}},868437:(e,t,n)=>{n.d(t,{Z:()=>a});var o=n(863922),r=n(382092),i=n(206339);function a(e){return(0,i.cr)("tri-favorites-roaming")?(0,r.L1)(e):!0===(0,o.b)().isFavoritingInProgress.get(e)}},863922:(e,t,n)=>{n.d(t,{Z:()=>l,b:()=>s});var o=n(787012),r=n(795839);let i={mailFavoritesViewState:new o.ObservableMap({}),favoritePersonasRootFolderId:void 0,isFavoritingInProgress:new o.ObservableMap({}),favoriteNodeViewStates:new o.ObservableMap({})},a=(0,r.MT)("mailFavorites",i)(),l=a,s=()=>a},85524:(e,t,n)=>{n.d(t,{C:()=>o});let o={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"ConversationTypeFragment"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ConversationType"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"ConversationId"}},{kind:"Field",name:{kind:"Name",value:"ConversationTopic"}},{kind:"Field",name:{kind:"Name",value:"UniqueRecipients"}},{kind:"Field",name:{kind:"Name",value:"UniqueSenders"}},{kind:"Field",name:{kind:"Name",value:"LastDeliveryTime"}},{kind:"Field",name:{kind:"Name",value:"Categories"}},{kind:"Field",name:{kind:"Name",value:"FlagStatus"}},{kind:"Field",name:{kind:"Name",value:"HasAttachments"}},{kind:"Field",name:{kind:"Name",value:"MessageCount"}},{kind:"Field",name:{kind:"Name",value:"GlobalMessageCount"}},{kind:"Field",name:{kind:"Name",value:"UnreadCount"}},{kind:"Field",name:{kind:"Name",value:"GlobalUnreadCount"}},{kind:"Field",name:{kind:"Name",value:"Size"}},{kind:"Field",name:{kind:"Name",value:"ItemClasses"}},{kind:"Field",name:{kind:"Name",value:"Importance"}},{kind:"Field",name:{kind:"Name",value:"ItemIds"}},{kind:"Field",name:{kind:"Name",value:"GlobalItemIds"}},{kind:"Field",name:{kind:"Name",value:"LastModifiedTime"}},{kind:"Field",name:{kind:"Name",value:"InstanceKey"}},{kind:"Field",name:{kind:"Name",value:"Preview"}},{kind:"Field",name:{kind:"Name",value:"IconIndex"}},{kind:"Field",name:{kind:"Name",value:"DraftItemIds"}},{kind:"Field",name:{kind:"Name",value:"HasIrm"}},{kind:"Field",name:{kind:"Name",value:"IsTaggedForBigScreen"}},{kind:"Field",name:{kind:"Name",value:"LastDeliveryOrRenewTime"}},{kind:"Field",name:{kind:"Name",value:"LastSentTime"}},{kind:"Field",name:{kind:"Name",value:"GlobalMentionedMe"}},{kind:"Field",name:{kind:"Name",value:"GlobalAtAllMention"}},{kind:"Field",name:{kind:"Name",value:"SortOrderSource"}},{kind:"Field",name:{kind:"Name",value:"SpotlightIsVisible"}},{kind:"Field",name:{kind:"Name",value:"LastSender"}},{kind:"Field",name:{kind:"Name",value:"From"}},{kind:"Field",name:{kind:"Name",value:"ParentFolderId"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"Id"}},{kind:"Field",name:{kind:"Name",value:"ChangeKey"}}]}},{kind:"Field",name:{kind:"Name",value:"EntityNamesMap"}},{kind:"Field",name:{kind:"Name",value:"HasExternalEmails"}},{kind:"Field",name:{kind:"Name",value:"ReturnTime"}},{kind:"Field",name:{kind:"Name",value:"HasSharepointLink"}},{kind:"Field",name:{kind:"Name",value:"HasAttachmentPreviews"}},{kind:"Field",name:{kind:"Name",value:"HasProcessedSharepointLink"}},{kind:"Field",name:{kind:"Name",value:"ConversationToMe"}},{kind:"Field",name:{kind:"Name",value:"ConversationCcMe"}},{kind:"Field",name:{kind:"Name",value:"ReactionsCount"}}]}}]}},469480:(e,t,n)=>{n.d(t,{M:()=>o});let o={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"ItemRowFragment"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ItemRow"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"ItemId"}},{kind:"Field",name:{kind:"Name",value:"AntispamUnauthenticatedSender"}},{kind:"Field",name:{kind:"Name",value:"Categories"}},{kind:"Field",name:{kind:"Name",value:"ConversationId"}},{kind:"Field",name:{kind:"Name",value:"DateTimeReceived"}},{kind:"Field",name:{kind:"Name",value:"DateTimeSent"}},{kind:"Field",name:{kind:"Name",value:"DisplayTo"}},{kind:"Field",name:{kind:"Name",value:"EntityNamesMap"}},{kind:"Field",name:{kind:"Name",value:"Flag"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"FlagStatus"}},{kind:"Field",name:{kind:"Name",value:"StartDate"}},{kind:"Field",name:{kind:"Name",value:"DueDate"}},{kind:"Field",name:{kind:"Name",value:"CompleteDate"}}]}},{kind:"Field",name:{kind:"Name",value:"From"}},{kind:"Field",name:{kind:"Name",value:"HasAttachments"}},{kind:"Field",name:{kind:"Name",value:"HasProcessedSharepointLink"}},{kind:"Field",name:{kind:"Name",value:"IconIndex"}},{kind:"Field",name:{kind:"Name",value:"Importance"}},{kind:"Field",name:{kind:"Name",value:"InstanceKey"}},{kind:"Field",name:{kind:"Name",value:"IsDeliveryReceiptRequested"}},{kind:"Field",name:{kind:"Name",value:"IsDraft"}},{kind:"Field",name:{kind:"Name",value:"IsRead"}},{kind:"Field",name:{kind:"Name",value:"IsReadReceiptRequested"}},{kind:"Field",name:{kind:"Name",value:"IsExternalSender"}},{kind:"Field",name:{kind:"Name",value:"ItemClass"}},{kind:"Field",name:{kind:"Name",value:"LastModifiedTime"}},{kind:"Field",name:{kind:"Name",value:"MentionedMe"}},{kind:"Field",name:{kind:"Name",value:"MessageToMe"}},{kind:"Field",name:{kind:"Name",value:"MessageCcMe"}},{kind:"Field",name:{kind:"Name",value:"ParentFolderId"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"Id"}},{kind:"Field",name:{kind:"Name",value:"ChangeKey"}}]}},{kind:"Field",name:{kind:"Name",value:"Preview"}},{kind:"Field",name:{kind:"Name",value:"ReactionsCount"}},{kind:"Field",name:{kind:"Name",value:"ReceivedOrRenewTime"}},{kind:"Field",name:{kind:"Name",value:"ReturnTime"}},{kind:"Field",name:{kind:"Name",value:"Sensitivity"}},{kind:"Field",name:{kind:"Name",value:"Size"}},{kind:"Field",name:{kind:"Name",value:"SortOrderSource"}},{kind:"Field",name:{kind:"Name",value:"SpotlightIsVisible"}},{kind:"Field",name:{kind:"Name",value:"Subject"}}]}}]}},445e3:(e,t,n)=>{n.d(t,{fz:()=>I.fz,i$:()=>m,VP:()=>h,V8:()=>Z,MK:()=>I.MK,im:()=>l,j7:()=>f,jU:()=>k,pQ:()=>R});var o=n(402392),r=n(550216),i=n(176576),a=n(341032);function l(){return"MailListItem"}var s=n(70720),d=n(762669),c=n(901111),u=n(206339);function m(e,t,n,o,l,m,p,f,g,v,h){if(f&&"UserCategory"!=n)throw Error("CategoryName should be set only for UserCategory view filter");(0,u.cr)("grp-loadFolders")&&p?.mailboxInfo?.type==="GroupMailbox"&&(e.Id=e.Id.split("-").join("/").split("_").join("+"));let I=function(e,t,n,o,l,d,c,u,m,p){var f;let g={ParentFolderIds:[e],ItemShape:p||((f=e.Id)&&"scheduled"==(0,a.Z)(f)?(0,r.Z)({BaseShape:"IdOnly",AdditionalProperties:[(0,i.Z)({FieldURI:"ReturnTime"})]}):(0,r.Z)({BaseShape:"IdOnly"})),ShapeName:d,Traversal:u,Paging:t,FocusedViewFilter:l,ViewFilter:n,SortOrder:o,CategoryFilter:c};return m&&(g.SearchFolderId=m),(0,s.Z)(g)}(e,t,n,o,l,m,f,g,v,h);return(0,d.Z)({Header:(0,c.F)(),Body:I},p).then(e=>e.Body.ResponseMessages?.Items?.[0])}var p=n(30330);function f(e){switch(e){case"Hashtag":case"UserCategory":return"SoftDeleted";default:return"Shallow"}}var g=n(468285);function v(e){let t;let n=e.findMailFolderItem?.Body?.ResponseMessages?.Items?.[0];if(n){if("Error"==n.ResponseClass)t="e",(0,g.yI)("fir_c",n.ResponseCode||"un");else{let e=n?.RootFolder;e?.Items?("number"!=typeof e.IndexedPagingOffset||0!=e.Items.length-e.IndexedPagingOffset)&&(t="wi"):t="ni"}}else t="njr";return(0,g.yI)("fir",t||"s"),t?void 0:n}function h(e,t,n,o,r,i,l,s,d,c,u){if(l&&"inbox"===(0,a.Z)(e.Id)){let e=v(l);if(e)return Promise.resolve(e)}return m(e,(0,p.Z)({BasePoint:"Beginning",Offset:0,MaxEntriesReturned:t}),n,o,r,i,s,d,f(n),c,u)}var I=n(705893),S=n(248406);let b={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"ConversationRows"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"first"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"after"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"folderId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"searchFolderId"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"sortBy"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"SortByInput"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"viewFilter"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ViewFilter"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"focusedViewFilter"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"FocusedViewFilter"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"category"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"mailboxInfo"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"MailboxInfoInput"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"shapeName"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"isScheduledFolder"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Boolean"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"pausedInboxTime"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"conversationRows"},arguments:[{kind:"Argument",name:{kind:"Name",value:"first"},value:{kind:"Variable",name:{kind:"Name",value:"first"}}},{kind:"Argument",name:{kind:"Name",value:"after"},value:{kind:"Variable",name:{kind:"Name",value:"after"}}},{kind:"Argument",name:{kind:"Name",value:"options"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"searchFolderId"},value:{kind:"Variable",name:{kind:"Name",value:"searchFolderId"}}},{kind:"ObjectField",name:{kind:"Name",value:"viewFilter"},value:{kind:"Variable",name:{kind:"Name",value:"viewFilter"}}},{kind:"ObjectField",name:{kind:"Name",value:"focusedViewFilter"},value:{kind:"Variable",name:{kind:"Name",value:"focusedViewFilter"}}},{kind:"ObjectField",name:{kind:"Name",value:"category"},value:{kind:"Variable",name:{kind:"Name",value:"category"}}},{kind:"ObjectField",name:{kind:"Name",value:"pausedInboxTime"},value:{kind:"Variable",name:{kind:"Name",value:"pausedInboxTime"}}},{kind:"ObjectField",name:{kind:"Name",value:"commonRowsOptions"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"folderId"},value:{kind:"Variable",name:{kind:"Name",value:"folderId"}}},{kind:"ObjectField",name:{kind:"Name",value:"sortBy"},value:{kind:"Variable",name:{kind:"Name",value:"sortBy"}}},{kind:"ObjectField",name:{kind:"Name",value:"mailboxInfo"},value:{kind:"Variable",name:{kind:"Name",value:"mailboxInfo"}}}]}},{kind:"ObjectField",name:{kind:"Name",value:"shape"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"ShapeName"},value:{kind:"Variable",name:{kind:"Name",value:"shapeName"}}},{kind:"ObjectField",name:{kind:"Name",value:"IsScheduledFolder"},value:{kind:"Variable",name:{kind:"Name",value:"isScheduledFolder"}}}]}}]}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"edges"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"node"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"ConversationTypeFragment"}}]}},{kind:"Field",name:{kind:"Name",value:"cursor"}}]}},{kind:"Field",name:{kind:"Name",value:"searchFolderId"}},{kind:"Field",name:{kind:"Name",value:"folderId"}},{kind:"Field",name:{kind:"Name",value:"totalConversationRowsInView"}},{kind:"Field",name:{kind:"Name",value:"pageInfo"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"endCursor"}},{kind:"Field",name:{kind:"Name",value:"hasNextPage"}},{kind:"Field",name:{kind:"Name",value:"hasPreviousPage"}},{kind:"Field",name:{kind:"Name",value:"startCursor"}}]}}]}}]}},...n(85524).C.definitions]};var w=n(313380),y=n(58152),P=n(567046),C=n(67199),E=n(654879);async function Z(e,t,n,o,r,i,l,s,d,c,u,m,p,f,v,h,I){if(f&&!d){if(f.conversationRows&&f.conversationRows.folderId==e)return f.conversationRows;{let t=function(e,t){let n;let o=e.findConversation?.Body;return o?"Error"==o.ResponseClass?(n="e",(0,g.yI)("fcr_c",o.ResponseCode||"un")):t!=o.FolderId?.Id?n="wf":o.Conversations?("number"!=typeof o.IndexedOffset||0!=o.Conversations.length-o.IndexedOffset)&&(n="wi"):n="ni":n="njr",(0,g.yI)("fcr",n||"s"),n?void 0:o}(f,e);if(t)return(0,P.F)(t)}}let Z=(0,C.qO)(e=>"SwitchMailFolder"==e.getEventName());return(await (0,E.DM)(Z,{isEnabled:!I,discardIfDefined:!0},d=>(0,S.IO)(b,{variables:{first:t,after:c,folderId:e,searchFolderId:m,viewFilter:(0,w.gV)(n),focusedViewFilter:(0,w.tN)(i),sortBy:{sortColumn:(0,w.op)(o.sortColumn),sortDirection:o.sortDirection,canSortByRenewTime:r},category:u,mailboxInfo:s,shapeName:l,isScheduledFolder:"scheduled"==(0,a.Z)(e),pausedInboxTime:function(e){let t=(0,w.fo)(e);return t?(0,y.dd)(t):null}(e)},context:{requestOptions:p,throttleOperation:v,skipOfflineResolvers:h,queryDeduplication:!1,...d}}))).data.conversationRows}let M={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"ItemRows"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"first"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"after"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"folderId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"searchFolderId"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"sortBy"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"SortByInput"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"viewFilter"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ViewFilter"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"focusedViewFilter"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"FocusedViewFilter"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"category"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"mailboxInfo"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"MailboxInfoInput"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"shapeName"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"isScheduledFolder"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Boolean"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"itemRows"},arguments:[{kind:"Argument",name:{kind:"Name",value:"first"},value:{kind:"Variable",name:{kind:"Name",value:"first"}}},{kind:"Argument",name:{kind:"Name",value:"after"},value:{kind:"Variable",name:{kind:"Name",value:"after"}}},{kind:"Argument",name:{kind:"Name",value:"options"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"searchFolderId"},value:{kind:"Variable",name:{kind:"Name",value:"searchFolderId"}}},{kind:"ObjectField",name:{kind:"Name",value:"viewFilter"},value:{kind:"Variable",name:{kind:"Name",value:"viewFilter"}}},{kind:"ObjectField",name:{kind:"Name",value:"focusedViewFilter"},value:{kind:"Variable",name:{kind:"Name",value:"focusedViewFilter"}}},{kind:"ObjectField",name:{kind:"Name",value:"category"},value:{kind:"Variable",name:{kind:"Name",value:"category"}}},{kind:"ObjectField",name:{kind:"Name",value:"commonRowsOptions"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"folderId"},value:{kind:"Variable",name:{kind:"Name",value:"folderId"}}},{kind:"ObjectField",name:{kind:"Name",value:"sortBy"},value:{kind:"Variable",name:{kind:"Name",value:"sortBy"}}},{kind:"ObjectField",name:{kind:"Name",value:"mailboxInfo"},value:{kind:"Variable",name:{kind:"Name",value:"mailboxInfo"}}}]}},{kind:"ObjectField",name:{kind:"Name",value:"shape"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"ShapeName"},value:{kind:"Variable",name:{kind:"Name",value:"shapeName"}}},{kind:"ObjectField",name:{kind:"Name",value:"IsScheduledFolder"},value:{kind:"Variable",name:{kind:"Name",value:"isScheduledFolder"}}}]}}]}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"edges"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"node"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"ItemRowFragment"}}]}},{kind:"Field",name:{kind:"Name",value:"cursor"}}]}},{kind:"Field",name:{kind:"Name",value:"searchFolderId"}},{kind:"Field",name:{kind:"Name",value:"totalItemRowsInView"}},{kind:"Field",name:{kind:"Name",value:"pageInfo"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"endCursor"}},{kind:"Field",name:{kind:"Name",value:"hasNextPage"}},{kind:"Field",name:{kind:"Name",value:"hasPreviousPage"}},{kind:"Field",name:{kind:"Name",value:"startCursor"}}]}}]}}]}},...n(469480).M.definitions]};var T=n(580186),F=n(330103);async function k(e,t,n,o,r,i,l,s,d,c,u,m,p,f,g,h){let I=e.Id,b=(0,C.qO)(e=>"SwitchMailFolder"==e.getEventName());if(d&&I===(0,F.Z)("inbox",s)&&!m){b?.addCheckpoint("SMF_GIR_Inbx");let e=v(d);if(e)return Promise.resolve((0,T.d)(e));if(d.itemRows)return Promise.resolve(d.itemRows)}b?.addCheckpoint("SMF_GIR_GAC");let y="outbox"===(0,a.Z)(I),P=await (0,E.DM)(b,{isEnabled:!0,discardIfDefined:!0},e=>(0,S.IO)(M,{variables:{first:t,after:f,folderId:I,searchFolderId:p?p.Id:void 0,viewFilter:(0,w.gV)(n),focusedViewFilter:(0,w.tN)(i),sortBy:{sortColumn:(0,w.op)(o.sortColumn),sortDirection:o.sortDirection,canSortByRenewTime:r,isDraftsFolder:"drafts"===(0,a.Z)(I)},category:u,mailboxInfo:s,shapeName:l,isScheduledFolder:"scheduled"===(0,a.Z)(I)},context:{requestOptions:c,throttleOperation:g,skipOfflineResolvers:h&&!y,onlyOfflineResolvers:y,queryDeduplication:!1,...e}}));return b?.addCheckpoint("SMF_GIR_APQ"),P.data.itemRows}let x=new o.nI(()=>n.e(290753).then(n.bind(n,290753))),R=new o._5(x,e=>e.getConversationRowById)},705893:(e,t,n)=>{n.d(t,{MK:()=>s,fz:()=>a,jC:()=>l});var o=n(749252),r=n(341032),i=n(176576);let a="ReactConversationListView";function l(e){return e&&"scheduled"==(0,r.Z)(e)?(0,o.Z)({BaseShape:"IdOnly",AdditionalProperties:[(0,i.Z)({FieldURI:"ConversationReturnTime"}),(0,i.Z)({FieldURI:"ConversationHashtags"})]}):(0,o.Z)({BaseShape:"IdOnly"})}function s(e,t){return"sentitems"==(0,r.Z)(e)||"drafts"==(0,r.Z)(e)?"ReactConversationSentItemsListView":t?"ReactFindConversationSearchFolderListView":a}},697399:(e,t,n)=>{n.d(t,{$h:()=>r,mU:()=>l,PZ:()=>a,bh:()=>i});let o=(0,n(795839).MT)("folderForestStore",{selectedNode:{id:null,treeType:"primaryFolderTree",type:0}})(),r=o,i=()=>o;function a(){return r.selectedNode}function l(){let e=a();switch(e.type){case 1:return e.searchFolderId;case 3:return null;default:return e.id}}},92342:(e,t,n)=>{n.d(t,{G:()=>u,f:()=>c});var o=n(110363),r=n(845407),i=n(795839),a=n(669388),l=n(538329),s=n(92935),d=n(521150);let c=(0,r.aD)("initiateMailFolderTextField")(function(e,t,n,r,i={folderTable:o.ZP.folderTable,viewState:a.default},c){"new"===t&&(n===s.Ac?c&&(0,d.k6)(r,e,c):(0,l.Z)(e,!0)),i.viewState.folderTextFieldViewState={folderId:e,operation:t,folderNodeType:n,mailboxSmtpAddress:r,mailboxInfo:c}}),u=(0,i.aD)("dismissMailFolderTextField")},435566:(e,t,n)=>{n.d(t,{L:()=>i,X:()=>a});var o=n(795839),r=n(669388);function i(e,t,n,o,r,i,a,s){l({nodeId:e,nodeType:t,folderId:n,anchor:o,treeType:r,rootNodeId:i,showRootMenu:a,distinguishedFolderParentIds:s},n)}function a(){l(null,null)}let l=(0,o.lr)("setFolderTreeContextMenu",(e,t)=>{let n=(0,r.b)();n.contextMenuState=e,n.withContextMenuFolderId=t})},20645:(e,t,n)=>{n.d(t,{q:()=>w});var o=n(639611),r=n(52924),i=n(61524),a=n(313380),l=n(701699),s=n(110363),d=n(341032),c=n(721760);function u(e){let t=(0,d.Z)(e);return(0,l.Z)(e)||(0,s.tA)(e)||"drafts"==t||"junkemail"==t||"outbox"==t||"notes"==t?i.aT.DateViewOnly:"deleteditems"==t||(0,c.Z)(e)?i.aT.DateView:i.aT.ConversationView}var m=n(127246),p=n(67199),f=n(827570),g=n(248406);let v={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"UpdateFolderViewState"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"mailboxInfo"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"MailboxInfoInput"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"updates"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UserConfigurationArgs"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"updateUserConfiguration"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"updates"},value:{kind:"Variable",name:{kind:"Name",value:"updates"}}},{kind:"ObjectField",name:{kind:"Name",value:"mailboxInfo"},value:{kind:"Variable",name:{kind:"Name",value:"mailboxInfo"}}}]}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"ViewStateConfiguration"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"FolderViewState"}}]}}]}}]}}]},h=(0,m.Z)((e,t)=>{(0,p.qu)("UpdateFolderViewState",{}),(0,g.JG)(v,{variables:{mailboxInfo:t,updates:{ViewStateConfiguration:{FolderViewState:e}}},queuedAction:{blockingKeys:[],resultProcessor:"Default",flight:"fwk-aq-userConfig",replacesKey:"FolderViewState"}})},5e3,{leading:!0,trailing:!0});var I=n(919067),S=n(420335),b=n(366023);function w(e,t){let n=t??(0,b.qW)(e);(0,S.m)(n,t=>{let c=!1,m=t.ViewStateConfiguration?.FolderViewState||[],p=(0,o.Z)(e),g=null,v=-1;for(let t=0;t<m.length;t++){let n=(0,i.wW)(m[t]);if(n.FolderId.Id===e){g=n,v=t;break}}let S=function(e,t,n){var o;let a=n?n.sortOrder:"Ascending",c=n?n.sortColumn:1,m=!!n&&n.isExpanded;if(t)return{...t,SortOrder:a,SortColumn:c,IsExpanded:m};let p=s.ZP.folderTable.get(e),f="";return p&&(e=p.id,f=p.changeKey),{FolderId:{Id:e,ChangeKey:f},View:u(e),Width:I.k,SortOrder:a,SortColumn:c,IsExpanded:m,ReadingPanePosition:r.Z().UserOptions?.GlobalReadingPanePositionReact,SearchScope:(o=e,"inbox"!=(0,d.Z)(o)||(0,l.Z)(o)?i.u3.SearchRefinerScopeCurrentFolder:i.u3.SearchRefinerScopeAll)}}(e,g,p);S&&(-1!==v?(c=g!==S)&&(m[v]=(0,i.af)(S)):(c=!0,m.push((0,i.af)(S))),c&&function(e,t){let n=[],o=a.WR.getDefaultSortBy();for(let a=0;a<e.length;a++){let l=(0,i.wW)(e[a]),d=(0,s.Xe)().get(l.FolderId.Id),c=!!d&&!(d.childFolderCount>0)||!l.IsExpanded,m=d?.mailboxInfo;m&&(0,f.M4)(m)!==(0,f.M4)(t)||c&&l.SortColumn===o.sortColumn&&l.SortOrder===o.sortDirection&&l.ReadingPanePosition===r.Z().UserOptions?.GlobalReadingPanePositionReact&&l.View===u(l.FolderId.Id)||n.push(e[a])}h(n,t)}(m,n))})}},264616:(e,t,n)=>{n.d(t,{Z:()=>o});let o=(0,n(795839).aD)("setFolderSortBy",(e,t,n)=>({folderId:e,sortColumn:t,sortDirection:n}))},538329:(e,t,n)=>{n.d(t,{Z:()=>a});var o=n(845407),r=n(639611),i=n(682764);let a=(0,o.aD)("setFolderViewExpansionState")(function(e,t){let n=(0,r.Z)(e);n&&(n.isExpanded=t,(0,i.Z)(e,n))})},682764:(e,t,n)=>{n.d(t,{Z:()=>r});var o=n(669388);let r=(0,n(795839).lr)("setFolderViewState",function(e,t){o.default.folderNodeViewStates.set(e,t)})},325161:(e,t,n)=>{n.d(t,{Z:()=>l});var o=n(845407),r=n(20645),i=n(639611),a=n(682764);let l=(0,o.aD)("toggleFolderNodeExpansion")(function(e,t,n){let o=(0,i.Z)(e);o&&(o.isExpanded=!o.isExpanded,(0,a.Z)(e,o)),n||(0,r.q)(e)})},580596:(e,t,n)=>{n.d(t,{Sn:()=>m,xw:()=>p,aH:()=>k,fr:()=>R,Np:()=>D,uq:()=>N,gu:()=>A,SY:()=>Z,BP:()=>o.Z,UW:()=>g});var o=n(264616),r=n(402392),i=n(234393),a=n(595188),l=n(425832),s=n(52924),d=n(983187),c=n(714201);let u=["drafts","junkemail","recoverableitemsdeletions","outbox"];function m(e){let t;return e&&(t=(0,c.Z)().get(e)),p(t)}function p(e){return e&&(e.distinguishedFolderType&&-1!=u.indexOf(e.distinguishedFolderType)||"ArchiveMailbox"===e.mailboxInfo.type||"SharedMailbox"===e.mailboxInfo.type||(0,d.tA)(e.id))?1:s.Z()?.UserOptions?.GlobalListViewTypeReact||0}var f=n(66190);function g(e,t){return(0,f.iG)(e,t,!1,{hideCancelButton:!0})}var v=n(505376),h=n(178856),I=n(949239),S=n(426474),b=n(110363),w=n(766396),y=n(341032),P=n(302917),C=n(61524),E=n(682764);async function Z(e,t){await (0,b.t0)(e,t),(0,v.e)(h.d,e)&&((0,w.Z)(e)&&(0,b.p4)(e),(0,b.T)(e)),function(e){let t=(0,C.jr)(e);Object.keys(t).forEach(e=>{let{sortColumn:n,sortDirection:o}=(0,P.Z)(e,t[e]),r={isExpanded:function(e,t){if(t&&"msgfolderroot"===(0,y.Z)(t))return!s.Z().UserOptions?.IsMailRootFolderTreeCollapsed;{let n=e[t];return!n||n.IsExpanded}}(t,e),sortColumn:n,sortOrder:o,drag:(0,I.Z)(),drop:(0,S.Z)()};(0,E.Z)(e,r)})}(e)}var M=n(669388),T=n(206339),F=n(636006);function k(){return!!M.default?.shouldOverrideToSortBySizeBasedOnURL&&(0,T.cr)("storage-msq",(0,F.Q)())}let x=new r.nI(()=>n.e(729292).then(n.bind(n,729292)));(0,r.Kv)(l.OH,x,e=>e.onNewFolderRowNotificationOrchestrator),(0,r.Kv)(a.Z,x,e=>e.markAllAsReadOrchestrator),(0,r.Kv)(i.Z,x,e=>e.emptyFolderStoreUpdateOrchestrator),(0,r.Kv)(o.Z,x,e=>e.setFolderSortByOrchestrator);let R=new r._5(x,e=>e.dismissMailFolderTextField),A=new r._5(x,e=>e.removeSortByOverride),D=new r.EF(x,e=>e.getFolderUrl),N=new r.EF(x,e=>e.getFolderViewStateFromId)},639611:(e,t,n)=>{n.d(t,{Z:()=>s});var o=n(682764),r=n(669388),i=n(949239),a=n(426474),l=n(313380);function s(e){let t=l.WR.getDefaultSortBy();return r.default.folderNodeViewStates.has(e)||(0,o.Z)(e,{isExpanded:!1,sortColumn:t.sortColumn,sortOrder:t.sortDirection,drag:(0,i.Z)(),drop:(0,a.Z)()}),r.default.folderNodeViewStates.get(e)}},302917:(e,t,n)=>{n.d(t,{Z:()=>s});var o=n(61524),r=n(313380),i=n(206056),a=n(67199),l=n(366023);function s(e,t){let n=(0,l.qW)(e),s=t||(0,o.jr)(n)[e];if(s){let t=(0,i.getSupportedSortColumns)(e,n),{SortColumn:o,SortOrder:l}=s;if(t.includes(o)){let e=l;return l&&(l==r.WR.DESCENDING_SORT_DIR||l==r.WR.ASCENDING_SORT_DIR)||(e=r.WR.getDefaultSortDirectionForSortColumn(o),(0,a.y8)("getSortByFolderId_invalidSortOrder",{sortColumn:o,sortOrder:l})),{sortColumn:o,sortDirection:e}}}return r.WR.getDefaultSortBy()}},669388:(e,t,n)=>{n.d(t,{default:()=>f,b:()=>g});var o=n(795839),r=n(787012),i=n(300011);let a="Mode";var l=n(110363),s=n(923329),d=n(425832),c=n(697399);function u(e,t,n,o){let r=l.ZP.folderTable.get(n);r&&(o?(r.UnreadCount+=e,r.totalMessageCount+=t):(r.UnreadCount=e,r.totalMessageCount=t),r.pausedTotalCount&&(0,c.mU)()===n&&(r.pausedTotalCount=r.totalMessageCount),r.UnreadCount=Math.max(r.UnreadCount,0),r.totalMessageCount=Math.max(r.totalMessageCount,0))}(0,o.ed)(s.Z,e=>{u(e.unreadCount,e.totalCount,e.folderId,e.isDeltaChange)}),(0,o.ed)(d.bi,e=>{u(e.unreadCount,e.totalCount,e.folderId,!1)});let m={folderNodeViewStates:new r.ObservableMap({}),contextMenuState:null,folderTextFieldViewState:null,isDraggedOver:!1,withContextMenuFolderId:null,shouldOverrideToSortBySizeBasedOnURL:!!(0,i.JI)(a)&&"FreeUpMSQSpace"===(0,i.mn)(a)},p=(0,o.MT)("folderViewState",m)(),f=p,g=()=>p},61524:(e,t,n)=>{let o,r;n.d(t,{aT:()=>l,af:()=>c,jr:()=>d,u3:()=>s,wW:()=>u});var i=n(478248),a=n(313380),l=((o=l||{})[o.ConversationView=1]="ConversationView",o[o.DateView=2]="DateView",o[o.DateViewOnly=3]="DateViewOnly",o[o.ItemGroupView=4]="ItemGroupView",o[o.BundledView=5]="BundledView",o),s=((r=s||{})[r.SearchRefinerScopeAll=0]="SearchRefinerScopeAll",r[r.SearchRefinerScopePrimaryMailbox=1]="SearchRefinerScopePrimaryMailbox",r[r.SearchRefinerScopeCurrentFolder=2]="SearchRefinerScopeCurrentFolder",r[r.SearchRefinerScopeCurrentFolderAndSubfolders=3]="SearchRefinerScopeCurrentFolderAndSubfolders",r);function d(e){let t=i.p(e).ViewStateConfiguration?.FolderViewState||[],n={};for(let e=0;e<t.length;e++){let o=u(t[e]);n[o.FolderId.Id]=o}return n}function c(e){return JSON.stringify(e,function(e,t){return"SortOrder"===e&&(t===a.WR.DESCENDING_SORT_DIR||t===a.WR.ASCENDING_SORT_DIR)?t===a.WR.DESCENDING_SORT_DIR?1:0:t})}function u(e){return JSON.parse(e,function(e,t){return"SortOrder"===e&&(1===t||0===t)?1===t?a.WR.DESCENDING_SORT_DIR:a.WR.ASCENDING_SORT_DIR:t})}},598415:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(198453),r=n(175831);function i(e){let t=(0,r.Z)((0,o.qW)(e));return!!(e&&t&&t==e)}},40540:(e,t,n)=>{n.d(t,{$g:()=>S,xZ:()=>c,Mk:()=>I,wb:()=>h,bp:()=>a,Bx:()=>f,mailListItemAnimationStore:()=>s,e:()=>w,OA:()=>y,IJ:()=>p});var o=n(709077),r=n(313380),i=n(994658);function a(){return(0,o.bh)().shouldAnimate&&!(0,i.Z)()&&(0,r.bh)().shouldShowSelectedRowInRp}var l=n(795839);let s=(0,l.MT)("MailItem",{activeAnimations:[],pendingAnimations:[]})(),d=e=>t=>t.animationRowIds?.has(e),c=(0,l.lr)("addPendingAnimation",(e,t,n)=>{if(e){let o={animationId:JSON.stringify(e),animationAction:t??null,animationRowIds:new Set(e),...n&&{animationCallback:n}};s.pendingAnimations=[...s.pendingAnimations,o]}});var u=n(538477),m=n(832256);function p(e,t,n){if(!function(e){let{activeAnimations:t,pendingAnimations:n}=s;for(let o of e)if(t.some(d(o))||n.some(d(o)))return!0;return!1}(t)){let o=s.activeAnimations.length+s.pendingAnimations.length;if(a()&&o<3){let o=(0,r.ii)();!(0,r.Fh)()&&"AddRowInitial"!==e&&((0,m.Z)(o)||0!==o.selectedRowKeys.size)&&o.selectedRowKeys.has(t[0])&&function(e,t){let n=e[e.length-1];if(n){let e=t.rowKeys.indexOf(n),o=r.H4.getIsPinned(n,t);(0,u.fs)(t,e,o,!0)}}(t,o),c(t,e,n)}else n?.()}}function f(e){let{activeAnimations:t,pendingAnimations:n}=s;return t.filter(d(e)).filter(g).length>0||n.filter(d(e)).filter(g).length>0}let g=e=>"AddRowFinal"===e.animationAction||"AddRowInitial"===e.animationAction||"PinFinal"===e.animationAction||"UnpinFinal"===e.animationAction||"PinMiddle"===e.animationAction||"UnpinMiddle"===e.animationAction,v=(0,l.lr)("cancelActiveRowAnimations",e=>{let t=e.rowAnimations??[];if(t)for(let e of t)e?.cancel()}),h=()=>{if(s.activeAnimations.length>0){let e=s.activeAnimations;for(let t of e)v(t);for(let t of e)t.animationCallback?.();s.activeAnimations=[]}if(s.pendingAnimations.length>0){for(let e of s.pendingAnimations)e.animationCallback?.();s.pendingAnimations=[]}},I=(0,l.lr)("addRowAnimation",(e,t)=>{let n=e.animationId,o=s.activeAnimations.map(e=>{if(n===e.animationId){let n=e.rowAnimations??[];return n.push(t),{...e,rowAnimations:n}}return e});s.activeAnimations=o}),S=(0,l.lr)("addActiveAnimation",e=>{s.activeAnimations=[...s.activeAnimations,e]});var b=n(67199);let w=(0,l.lr)("removeActiveAnimation",e=>{s.activeAnimations=s.activeAnimations.filter(t=>t.animationId!==e.animationId),0===s.activeAnimations.length&&(0,b.y8)("MessageListAnimation_RemovedLastActiveAnimation")}),y=(0,l.lr)("removePendingAnimation",e=>{s.pendingAnimations=s.pendingAnimations.filter(t=>t.animationId!==e.animationId)})},832256:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(52924),r=n(341032);function i(e){let t=(0,o.Z)(),n=!0==t.PolicySettings.MessagePreviewsDisabled;return t.UserOptions.ShowReadingPaneOnFirstLoad&&!n&&e?.tableQuery?.folderId&&"junkemail"!==(0,r.Z)(e.tableQuery.folderId)}},779694:(e,t,n)=>{let o;n.d(t,{Z:()=>i});var r=((o=r||{})[o.MailListItem=0]="MailListItem",o[o.MailListItemPart=1]="MailListItemPart",o);let i=r},371656:(e,t,n)=>{let o;n.d(t,{Z:()=>i});var r=((o=r||{})[o.All=0]="All",o[o.MoveTo=1]="MoveTo",o[o.Categorize=2]="Categorize",o[o.Snooze=3]="Snooze",o);let i=r},712675:(e,t,n)=>{n.d(t,{V:()=>d});var o=n(75953),r=n(146032),i=n(193135),a=n(697399),l=n(14726),s=n(302140);let d=(0,o._)(function(){return function(e){let t=(0,i.Z)(e),n=(0,a.PZ)();return -1!==t?0===t?(0,s.ZP)("CvNWE"):(0,s.ZP)("LTCJJe"):1===e.tableQuery.type||4===n.type||1===n.type?(0,s.ZP)("P7YSXd"):(0,s.ZP)(r.$)}((0,l.Z)())})},821997:(e,t,n)=>{n.d(t,{Z:()=>r});var o=n(912638);function r(e,t){return e.map(e=>(0,o.getInstrumentationContext)(e,t)).filter(e=>e)}},565795:(e,t,n)=>{n.d(t,{h:()=>i});var o=n(14726),r=n(720742);function i(){let e=(0,o.Z)(),t=e?.selectedRowKeys?.size,n=e?.isInVirtualSelectAllMode,i=r.Z().expandedConversationViewState?.selectedNodeIds?.length;return!!n||!!t&&t>1||!!i&&i>1}},430755:(e,t,n)=>{n.d(t,{Z:()=>u});var o=n(912638),r=n(808930),i=n(302140),a=n(438279),l=n(14726),s=n(636006),d=n(329005),c=n(714506);function u(e){let t=e?(0,c.Z)().tableViews.get(e)??(0,l.Z)():(0,l.Z)(),n=[],u=[],m=[],p=[],f=[],g=[...t.selectedRowKeys.keys()],v=g.length>1?(0,d.Z)(t)?r.X.MultiMailListConversationRows:r.X.MultiMailListMessageRows:r.X.MailListRow;return g.forEach(e=>{let r=(0,o.getSubject)(e,t);u.push(r??(0,i.ZP)(a.r));let l=(0,o.getSize)(e,t);m.push(l??0);let d=(0,o.getItemIds)(e,t);d&&n.push(d[0]);let c=o.getRowClientItemId(e,t)?.mailboxInfo;p.push(c??(0,s.Q)());let g=(0,o.getHasIRM)(e,t);f.push(g)}),{itemType:v,tableViewId:t.id,tableListViewType:t.tableQuery.listViewType,rowKeys:g,subjects:u,latestItemIds:n,mailboxInfos:p,sizes:m,haveIRM:f}}},100311:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(277167),r=n(818195);function i(e,t,n){switch(t.tableQuery.listViewType){case 0:let i=(0,o.Z)(e,t.id);i&&(i.instrumentationContext=n);break;case 1:(0,r.Z)(e,t.id).instrumentationContext=n}}},53219:(e,t,n)=>{n.d(t,{lU:()=>a,YU:()=>d,PI:()=>r,kW:()=>s,QM:()=>u,qc:()=>c});var o=n(795839);let r=(0,o.aD)("REMOVE_MESSAGE_AD_LIST",e=>({remainingShowAdCount:e}));(0,o.ed)(r,e=>{a.inboxFolderShowAdCount=e.remainingShowAdCount,a.latestAdDeleteTime=Date.now()});let i=(0,o.MT)("messageAdListViewStatusStore",{selectedAdId:"",inboxFolderShowAdCount:-1,latestAdDeleteTime:0,refreshAfterDeleteInterval:0,isSuperClicker:!1,adRemovedFolderIds:[],topFloatingAdDeleted:!1,midFloatingAdDeleted:!1,honorNonProactiveRefreshFlag:!1})(),a=i,l=()=>i,s=(0,o.lr)("resetMessageAdListSelection",function(){let e=l();e&&(e.selectedAdId="")}),d=(0,o.lr)("reTriggerMessageAdList",function(){let e=l();e&&(e.inboxFolderShowAdCount=-1)}),c=(0,o.lr)("setMessageAdListResetProperties",function(e,t){let n=l();n&&(n.refreshAfterDeleteInterval=e,n.isSuperClicker=t)}),u=(0,o.lr)("setHonorNonProactiveRefreshFlag",function(e){let t=l();t&&(t.honorNonProactiveRefreshFlag=e)})},417162:(e,t,n)=>{n.d(t,{_g:()=>p,JZ:()=>h,qf:()=>d,D8:()=>f,UM:()=>g,bh:()=>l,N7:()=>u,l2:()=>i,tq:()=>r});var o=n(795839);let r=(0,o.aD)("ON_NUDGE_REMOVED",e=>({rowKey:e})),i=(0,o.aD)("ON_GET_NUDGES_COMPLETED",(e,t)=>({nudgedRows:e,tableView:t})),a=(0,o.MT)("nudgeStore",{nudgedRows:[]})(),l=()=>a;(0,o.ed)(i,e=>{a.nudgedRows=e.nudgedRows}),(0,o.ed)(r,e=>{for(let t=a.nudgedRows.length-1;t>=0;t--)a.nudgedRows[t].rowKey===e.rowKey&&a.nudgedRows.splice(t,1)});var s=n(302140);function d(e){let t=a.nudgedRows.filter(t=>t.rowKey===e)[0],n=t.daysAgo,o=0==t.reason;return 0==n?o?(0,s.ZP)("baCMIb"):(0,s.ZP)("AiFShe"):1==n?o?(0,s.ZP)("zNA46d"):(0,s.ZP)("AtRx3d"):o?(0,s.WU)((0,s.ZP)("YqV2Ec"),n):(0,s.WU)((0,s.ZP)("XpZTzc"),n)}var c=n(313380);function u(e,t){return a.nudgedRows.some(n=>n.rowKey===e&&n.tableViewId===t||"testNudgeRowKey"==e)}var m=n(459989);function p(e,t,n){return!(!u(e,t)||!(0,m.uL)(t)||(0,c.OC)(n))}function f(e){let t=a.nudgedRows.filter(t=>t.conversationId===e);return t.length>0&&v(t[0])?t[0].rowKey:null}function g(e){let t=a.nudgedRows.filter(t=>t.itemId===e);return t.length>0&&v(t[0])?t[0].rowKey:null}function v(e){let t=e.tableViewId,n=(0,c.bh)().tableViews.get(t);if(!n||n.id!=(0,c.XU)())return!1;let o=e.rowKey;return p(o,t,c.H4.getLastDeliveryOrRenewTimeStamp(o,n))}function h(e){let t=a.nudgedRows.filter(t=>t.rowKey===e);return t.length>0?t[0].itemId:null}},459989:(e,t,n)=>{let o;n.d(t,{ZP:()=>v,uL:()=>g,yh:()=>m});var r=n(206339),i=n(206056),a=n(341032),l=n(313380),s=n(544730),d=n(52924),c=n(240282),u=n(67199);function m(e){let t=!(0,c.Z)(void 0,e)&&(0,r.cr)("tri-nudge"),n=d.Z().UserOptions?.MessageRemindersEnabled;return o||(o=!0,(0,u.y8)("Nudge_TenantSetting",{owa_1:n})),n&&t&&!(0,s.O3)(32)}function p(e){let t=(0,a.Z)(e);return"inbox"===t||"sentitems"===t}function f(e){if(!e||0!=e.tableQuery.type||"All"!=(0,l.$q)(e))return!1;let t=(0,l.JY)(e);if(0!=t&&-1!=t)return!1;let n=(0,l.q6)(e);return 1==n.sortColumn&&n.sortDirection==i.DESCENDING_SORT_DIR}function g(e){let t=(0,l.bh)().tableViews.get(e),n=t?.tableQuery.folderId;return!!(n&&p(n))&&f(t)}function v(e){return!!p(e)&&f((0,l.ii)())}},776630:(e,t,n)=>{n.d(t,{Z:()=>f});var o=n(598659),r=n(57626),i=n(525223),a=n(39287),l=n(189695),s=n(21022),d=n(67199),c=n(525437),u=n(916757),m=n(913868),p=n(795839);let f=(0,d.mn)(a.Z.RPCountExpCollAllItemParts,function(e,t,n){let i=(0,l.Z)(e),a=i?.itemPartsMap,d=Promise.resolve();return(0,u.gp)(i)&&(0,c.Z)(i.extendedCardViewState,!1),t&&(0,s.L8)(i)&&(0,o.Z)(i,!0),t&&(0,m.Z)(e||(0,l.C)())&&(d=g(i.conversationId)),d.then(()=>{a?.forEach(e=>{t&&!e.isExpanded&&r.Z(e),v(e,t)})})}),g=e=>(0,i.Z)(e).then(()=>(0,m.Z)(e.Id)?g(e):Promise.resolve()),v=(0,p.lr)("setItemPartExpand",(e,t)=>{e.isExpanded=t,e.isFossilizedTextExpanded=t,e.oofRollUpViewState.isOofRollUpExpanded=t,e.hasExpanded||(e.hasExpanded=!0)})},246896:(e,t,n)=>{n.d(t,{Z:()=>l});var o=n(755949),r=n(236237),i=n(189695),a=n(128248);let l=(0,n(845407).aD)("expandCollapseNewestOnBottomFossilizedText")(function(e,t,n,l={itemPartViewState:(0,i.Z)(e).itemPartsMap.get(t),conversationReadingPaneState:(0,i.Z)(e)}){l.itemPartViewState.isFossilizedTextExpanded=!n,(0,a.Z)(l.conversationReadingPaneState.conversationId.Id)||((0,o.H)(e,{conversationReadingPaneState:l.conversationReadingPaneState}),l.conversationReadingPaneState.focusedItemPart={itemPart:l.itemPartViewState,focusedItemArea:r.X.FossilizedText})})},598659:(e,t,n)=>{n.d(t,{Z:()=>l});var o=n(39287),r=n(267264),i=n(795839),a=n(21022);let l=(0,i.aD)("expandCollapsedItemsRollUp",(e,t=!1)=>(0,r.uY)({name:"RPCountExpCollItemsRollUp",customData:[(0,o.K)((0,a.rI)(e)),t]},{viewState:e}));(0,i.ed)(l,({viewState:e})=>{e.conversationNodeIdsInCollapsedItemsRollUp=[],e.conversationNodeIdsInCollapsedItemsRollUpExcludingRSVP=[]})},653370:(e,t,n)=>{n.d(t,{Z:()=>c});var o=n(598659),r=n(525223),i=n(236237),a=n(978747),l=n(645225),s=n(845407),d=n(21022);let c=(0,s.aD)("expandSeeMore")(function(e,t,n){n||(e.focusedItemPart={itemPart:void 0,focusedItemArea:i.X.SeeMore});let s=Promise.resolve();(0,d.L8)(e)?(0,o.Z)(e):s=(0,r.Z)(e.conversationId),s.then(()=>{(0,d.JT)(e)||(e.focusedItemPart={itemPart:function(e,t){let n=l.Z.conversations.get(e.conversationId.Id);if(n){let{conversationNodeIds:o}=n;if(t){let n=(0,a.Z)()?-1:1,r=(0,a.Z)()?t:o.length-(t+1);for(let t=r;t<=o.length-1&&t>=0;t+=n){let n=o[t],r=e.itemPartsMap.get(n);if(r)return r}}}}(e,t),focusedItemArea:i.X.Item})})})},865003:(e,t,n)=>{n.d(t,{Z:()=>x});var o=n(324527),r=n(71273),i=n(57626),a=n(652775),l=n(39287),s=n(21022),d=n(978747),c=n(67199),u=n(845407),m=n(645225),p=n(632929),f=n(916757),g=n(265206),v=n(206339);let h=(0,u.aD)("markConversationCollapsedItemsRollUp")(function(e,t,n){(0,f.dq)(e,g.O.CalendarCard)?function(e,t){let{length:n}=t,o=[],r=[],i=(0,d.Z)()?0:n-1,a=(0,d.Z)()?1:-1;for(let e=i;e<=n-1&&e>=0&&!t[e].isExpanded;e+=a)if(function(e){let t=m.Z.items.get(e.itemId);return!!(t&&(0,p._1)(t))&&!!t.IsOutOfDate}(t[e])){if((0,v.cr)("rp-citiCardV2")){let n=m.Z.items.get(t[e].itemId);(0,p.cq)(n.ItemClass)||r.push(t[e].conversationNodeId)}o.push(t[e].conversationNodeId)}o.length>1&&(e.conversationNodeIdsInCollapsedItemsRollUp=o)}(e,t):function(e,t,n){let{length:o}=t;if(o<5)return;let r=[],i=(0,d.Z)()?1:o-2,a=(0,d.Z)()?1:-1;n&&(i-=a);for(let e=i;e<=o-1&&e>=0&&!t[e].isExpanded;e+=a)r.push(t[e].conversationNodeId);if(r.length>=3){if(r.pop(),e.conversationNodeIdsInCollapsedItemsRollUp=r,!n){let n=(0,d.Z)()?0:o-1;e.nodeIdBundledWithSeeMoreMessages=t[n].conversationNodeId}(0,c.y8)("RPCountRenderCollItemsRollUp",[(0,l.K)((0,s.rI)(e))])}}(e,t,n)});var I=n(268663),S=n(597917),b=n(889540),w=n(236237),y=n(189695),P=n(662805),C=n(313380),E=n(448044),Z=n(302140),M=n(921932),T=n(128248),F=n(506950),k=n(354059);let x=(0,u.aD)("firstLoadConversationReadingPane")(function(e,t={loadedConversation:m.Z.conversations.get(e),conversationNodes:m.Z.conversationNodes,conversationReadingPaneState:(0,y.Z)(e),items:m.Z.items}){if(t.conversationReadingPaneState.conversationId.Id!=e||!t.loadedConversation)return;let n=t.conversationReadingPaneState;if(n.loadingState.isLoading=!1,n.loadingState.hasLoadFailed=t.loadedConversation.loadingState.hasLoadFailed,!n.loadingState.hasLoadFailed){let l=(0,M.U_)(e);if(n.unsupportedItemId=l,!l){let e=function(e,t,n,o){let l=[],{itemPartsMap:s,itemIdToScrollTo:d}=t,c=e.conversationId.mailboxInfo,u=null;if(e.conversationNodeIds){let v=1===e.conversationNodeIds.length;e.conversationNodeIds.forEach(e=>{let[t]=(0,a.P6)({mailboxInfo:c,Id:e},v);t&&s.set(e,t)}),(0,F.Z)(c)&&(0,b.Z)(t),(0,S.Z)(s,n,e.conversationNodeIds,!1);let y=!1;e.conversationNodeIds.forEach(e=>{let t=s.get(e);if(t&&!t.isInRollUp){l.push(t);let e=o.get(t.itemId);e&&function(e){let t=(0,C.ii)();if(t?.highlightTerms){let n=(0,P.Z)(e.RightsManagementLicenseData,e.UniqueBody),o=document.createElement("div");return(0,E.l)(o,n),t.highlightTerms.some(function(e){return o.innerText.toLowerCase().indexOf(e)>=0})}return!1}(e)&&(0,I.Z)(t,!0),y=y||t?.isExpanded&&!e?.IsDraft}});let M="ChronologicalNewestOnBottom"==e.conversationSortOrder;if(function(e,t,n,o){let r=n.length;if(0==r||t)return;let i=null,a=e?r-1:0,l=a,s=e?-1:1,d=e=>{let t=o.get(e);return!!t&&(k._5(t)?.[1]??!1)};for(;l>=0&&l<r;){let e=n[l],t=e.oofRollUpViewState.oofReplyNodeIds.some(d);if(!e.isExpanded&&(e.isLocal||t)){i=e;break}l+=s}i||(i=n[a]),(0,I.Z)(i,!0),i.isFossilizedTextExpanded=!0}(M,y,l,n),u=function(e,t){let n=e.length;for(let o=0;o<n;o++){let n=e[o],r=n.itemId;if(t){if(r==t)return(0,I.Z)(n,!0),{itemPart:n,focusedItemArea:w.X.Item}}else if(n.isExpanded)return{itemPart:n,focusedItemArea:w.X.Item};else if(n.oofRollUpViewState.isOofRollUpExpanded)return{itemPart:n,focusedItemArea:w.X.Oof}}return null}(l,d),l.forEach(e=>{e.isExpanded&&(0,i.Z)(e)}),(0,r.Z)(t,l,c),(0,f.dq)(t,g.O.CalendarCard)&&function(e){let t=e.length;if(0!=t)for(let n=0;n<t;n++){let t=e[n],o=t?t.itemId:null,r=m.Z.items.get(o),i=(0,C.ii)();if(!(!r||!(0,p._1)(r)||i?.highlightTerms)){if(r.IsRead||r.IsOutOfDate){(0,I.Z)(t,!1),t.isFossilizedTextExpanded=!1;continue}(0,p.MO)(r.ItemClass)?"NewMeetingRequest"==r.MeetingRequestType&&!(0,Z.LP)(r.Preview)||r.ChangeHighlights?.HasBodyChanged?(0,I.Z)(t,!0):((0,I.Z)(t,!1),t.isFossilizedTextExpanded=!1):((0,p.cq)(r.ItemClass)||(0,p.nn)(r.ItemClass))&&!(0,Z.LP)(r.Preview)?(0,I.Z)(t,!0):((0,I.Z)(t,!1),t.isFossilizedTextExpanded=!1)}}}(l),l.length){let n=M?0:e.conversationNodeIds.length-1,o=e.conversationNodeIds[n],r=s.has(o);e.canLoadMore&&(t.nodeIdBundledWithSeeMoreMessages=o),(0,T.Z)(t.conversationId.Id)||h(t,l,e.canLoadMore&&!r)}}return u}(t.loadedConversation,n,t.conversationNodes,t.items);e&&(n.initiallySelectedItemPart=n.focusedItemPart=e),(0,o.Z)(n,!0)}}})},374936:(e,t,n)=>{n.d(t,{ZP:()=>p,iR:()=>f});var o=n(755949),r=n(236237),i=n(189695),a=n(21022),l=n(978747),s=n(645225),d=n(845407),c=n(206339);let u=[r.X.FossilizedText,r.X.Item,r.X.Oof,r.X.SeeMore],m=[r.X.SeeMore,r.X.Oof,r.X.Item],p=(0,d.aD)("focusNextPrevItemPartOrArea")(function(e,t,n={conversationReadingPaneViewState:(0,i.Z)(e),mailStore:s.Z,itemParts:s.Z.conversations.get(e)}){var a;let l=n.conversationReadingPaneViewState.focusedItemPart;l||(l=n.conversationReadingPaneViewState.initiallySelectedItemPart);let d=(a=l)?a.itemPart?g(t,a,n)||v(a.itemPart.conversationNodeId,t,n):a.focusedItemArea==r.X.SeeMore?v(n?.conversationReadingPaneViewState.nodeIdBundledWithSeeMoreMessages??"",t,n):void 0:void 0;d&&(n.conversationReadingPaneViewState.focusedItemPart=d,d.focusedItemArea==r.X.Item?(0,o.Z)(e,!1,d.itemPart,!0):(0,o.H)(e,{conversationReadingPaneState:n.conversationReadingPaneViewState}))}),f=function(e,t,n={conversationReadingPaneViewState:(0,i.Z)(e),mailStore:s.Z,itemParts:s.Z.conversations.get(e)}){let o=(0,l.Z)()?-1:1,r=(0,l.Z)()?1:-1,a=n.conversationReadingPaneViewState.focusedItemPart,d=g(o,a,n);return d||(d=v(t.conversationNodeId,o,n)),d||(d=g(r,a,n)),d||(d=v(t.conversationNodeId,r,n)),d};function g(e,t,n){if(!t)return;let o=(0,l.Z)()?u:m,i=o.indexOf(t.focusedItemArea)+e;if(i<0||i>o.length-1)return;let a=o[i];if(void 0==a)return;let s=!1;switch(a){case r.X.FossilizedText:let d=n?.mailStore.conversationNodes.get(t.itemPart?t.itemPart.conversationNodeId:"");s=!!d?.quotedTextList&&d.quotedTextList.length>0;break;case r.X.Item:s=!0;break;case r.X.Oof:s=h(t.itemPart??void 0);break;case r.X.SeeMore:s=I(t.itemPart?t.itemPart.conversationNodeId:"",n);break;default:return}let c={itemPart:t.itemPart,focusedItemArea:a};return s?c:g(e,c,n)}function v(e,t,n){let o=function(e,t,n){let o;if(!n?.itemParts)return;let r=e,i=n.itemParts.conversationNodeIds.indexOf(r)+t;for(let e=i;1==t?e<n.itemParts.conversationNodeIds.length:e>=0;e+=t)if(r=n.itemParts.conversationNodeIds[e]){if((0,c.cr)("rp-citiCardV2")){if(n.conversationReadingPaneViewState.showRSVPTimeline?-1==n.conversationReadingPaneViewState.conversationNodeIdsInCollapsedItemsRollUp.indexOf(r):-1==n.conversationReadingPaneViewState.conversationNodeIdsInCollapsedItemsRollUpExcludingRSVP.indexOf(r)){o=r;break}}else if(-1==n.conversationReadingPaneViewState.conversationNodeIdsInCollapsedItemsRollUp.indexOf(r)){o=r;break}}else break;return o}(e,t,n);if(o){let e=n?.conversationReadingPaneViewState.itemPartsMap.get(o);return e&&!e.isInRollUp?function(e,t,n){if(1==t&&!(0,l.Z)()||-1==t&&(0,l.Z)()){if(h(e))return{itemPart:e,focusedItemArea:r.X.Oof};if(I(e.conversationNodeId,n))return{itemPart:e,focusedItemArea:r.X.SeeMore}}return{itemPart:e,focusedItemArea:r.X.Item}}(e,t,n):I(o,n)?{itemPart:void 0,focusedItemArea:r.X.SeeMore}:v(o,t,n)}}function h(e){return!!e&&e.oofRollUpViewState?.oofReplyNodeIds&&e.oofRollUpViewState.oofReplyNodeIds.length>0}function I(e,t){return e==t?.conversationReadingPaneViewState.nodeIdBundledWithSeeMoreMessages&&(0,a.JT)(t?.conversationReadingPaneViewState)}},324527:(e,t,n)=>{n.d(t,{Z:()=>f});var o=n(292044),r=n(645225),i=n(714511),a=n(206339),l=n(978747),s=n(702767),d=n(922981),c=n(795839),u=n(402392);let m=new u.nI(()=>n.e(278085).then(n.bind(n,278085)),{name:"InitOneDriveInfo"}),p=new u.EF(m,e=>e.default);async function f(e,t){let n=(0,r.b)().items;if(e&&function(e,t){if(!e)return!1;let n=(0,i.Z)(e.conversationId.Id);if(n?.hasSharepointLink)return!0;if(e.itemPartsMap.size>0){if(function(e){if(!e)return!1;let t=r.Z.conversations.get(e.conversationId.Id);return!!t?.canLoadMore}(e))return!0;let n=[...e.itemPartsMap.keys()];for(let o=0;o<n.length;o++){let r=e.itemPartsMap.get(n[o]);if(!r)continue;let i=t.get(r.itemId);if(i&&(i.Attachments||(0,a.cr)("doc-linkDiscovery-showLinkPreview")&&i.HasProcessedSharepointLink))return!0}}return!1}(e,n)){if(!e?.attachmentWell){let[t,n,o]=await d.UD.importAndExecute(e.conversationId);g(e,(await s.z$.import())(n,o)),await s.Q7.importAndExecute(t,e.conversationId.mailboxInfo,e.attachmentWell,!0,!1),(0,a.cr)("doc-infoPane")&&(await p.import())(e)}let r=[...e.itemPartsMap.keys()];for(let i=0;i<r.length;i++){let a=e.itemPartsMap.get(r[i]);if(!a)continue;let l=n.get(a.itemId);l&&(await (0,o.Z)(a,l,t),await s.aT.importAndExecute(a.attachmentWell,e.attachmentWell,{...l.ItemId,mailboxInfo:l.MailboxInfo},l.DateTimeReceived))}e.attachmentWell&&await s.fc.importAndExecute(e.attachmentWell,(0,l.Z)())}}let g=(0,c.lr)("setAttachmentWellForConversation",(e,t)=>{e.attachmentWell=t})},71273:(e,t,n)=>{n.d(t,{Z:()=>o});let o=(0,n(795839).aD)("initializeExtendedCardForConversationReadingPane",(e,t,n)=>({conversationViewState:e,loadedItemParts:t,mailboxInfo:n}))},652775:(e,t,n)=>{n.d(t,{P6:()=>T,ZP:()=>F});var o=n(865003),r=n(823100),i=n(652434),a=n(3767),l=n(733133),s=n(823183),d=n(787012),c=n(67199),u=n(654879),m=n(776372),p=n(123853),f=n(714506),g=n(645225),v=n(697399),h=n(786080),I=n(834930),S=n(845837),b=n(354059),w=n(308407),y=n(663709),P=n(16742),C=n(461968),E=n(545337),Z=n(206339);let M=[],T=function(e,t){var n;if(!e||!e.Id)return[null,null];let o=g.Z.conversationNodes.get(e.Id),[i,a,l]=(0,b._5)(o);if(!i?.ItemId?.Id||!(0,b.LA)(i,l,a))return[null,null];let d=i&&(!i.IsRead&&a||i.IsDraft&&!l),c={mailboxInfo:e.mailboxInfo,Id:i?.ItemId?.Id??""};return[{...(0,p.Z)(c.Id,(0,r.Z)()),conversationNodeId:e.Id,itemId:c.Id,isConversationItemPart:!0,isExpanded:!!d,isLocal:a,isDeleted:l,hasExpanded:!!d,attachmentWell:void 0,quotedBodyViewState:{isExpanded:!1,loadingState:{isLoading:!1,hasLoadFailed:!1}},isFossilizedTextExpanded:!!d,hideSmartReplyFeedbackDialog:!0,meetingRequestViewState:null,loadingState:{isLoading:!1,hasLoadFailed:!1},actionableMessageCardInItemViewState:{showBodyWithMessageCard:!0,shouldShowLoadingSpinner:t},undoDarkMode:!1,isLoadingFullBody:!1,oofRollUpViewState:(n=i.ItemClass??"",{isOofItem:s.x.test(n),oofReplyNodeIds:[],isOofRollUpExpanded:!1}),isInRollUp:!1,smartPillViewState:{smartPillBlockVisible:!1},omeMessageState:null},i]},F=(0,c.gd)({name:"RPPerfLoadConversationReadingPane"},function(e,t,n,r,s,p,b,T,F,k){let x,R=Promise.resolve(),A=(0,c.qO)(e=>"OpenConversationNonCritical"==e.getEventName());A&&(A.invalidate(),A.end()),(0,y.DF)(),(0,P.p)(T,"StackedConversationView",F);let D={conversationId:e,conversationSubject:r||"",conversationCategories:s||[],initiallySelectedItemPart:void 0,itemIdToScrollTo:p??"",itemPartsMap:new d.ObservableMap({}),loadingState:{isLoading:!0,hasLoadFailed:!1,showLoadingShimmer:!1},currentSelectedFolderId:(0,v.mU)(),unsupportedItemId:void 0,instrumentationContext:n,attachmentWell:void 0,calendarInlineComposeViewState:void 0,focusedItemPart:void 0,conversationNodeIdsInCollapsedItemsRollUp:[],conversationNodeIdsInCollapsedItemsRollUpExcludingRSVP:[],nodeIdBundledWithSeeMoreMessages:void 0,extendedCardViewState:void 0,infoPaneOpened:!1,showRSVPTimeline:!1},N=(0,I.Z)(e.Id);(0,i.kN)();let _=function(e){let t=(0,f.Z)().conversationItems.get(e);if(t){let n=function(e){let t={unreadItemCount:0,totalItemCount:0},n=g.Z.conversations.get(e);if(n)for(let e of n.conversationNodeIds){let n=g.Z.conversationNodes.get(e);if(!n){t.totalItemCount=0;break}for(let e of(t.totalItemCount+=n.itemIds.length,n.itemIds)){let n=g.Z.items.get(e);if(!n){t.totalItemCount=0;break}t.unreadItemCount+=n.IsRead?0:1}}return t}(e);return t.globalItemIds.length!=n.totalItemCount||t.globalUnreadCount!=n.unreadItemCount}return!1}(e.Id);return N&&(x="Valid",_||((0,C.O)("LoadConversationRPStart",{id:e.Id,source:t,data:"cache"}),T?.addDataSource(m.o2.IN_MEMORY)),h.Z.getAndTouch(e.Id),(0,l.Z)(e.Id)||((0,i.tN)(D),(0,y.YT)(e.Id,!0),(0,o.Z)(e.Id))),A=(0,c.qO)(e=>"RPPerfLoadConversationReadingPane"==e.getEventName()),"ListViewSelectionChange"!==t&&(A?.invalidate(),A?.end(),(A=new c.Gn("OpenConversationNonCritical")).addCustomData({actionSource:t})),(!N||_)&&((0,C.O)("LoadConversationRPStart",{id:e.Id,source:t,data:"network"}),(0,i.tN)(D),(0,y.YT)(e.Id,!0),x=N?"Stale":"Not",R=S.vc.importAndExecute(e,t,A,T,k,b,p?[p]:void 0)),(0,w.E)(e.mailboxInfo),R.then(()=>{if(p&&(0,E.Z)(e.Id,p),(0,C.O)("LoadConversationSuccess",{id:e.Id,source:t}),!(0,Z.cr)("rp-enhanced-telemetry-v2")&&T&&(0,u.Wp)(T,!1),n?.dp?.addCheckpoint?.("LCRP_POST"),A){let n=!1;M.includes(e.Id)?n=!0:M.push(e.Id);let o="Valid"==x&&!n;A?.addCustomData(a.C(e.Id,x,o,M.length,t))}(0,Z.cr)("rp-enhanced-telemetry-v2")||A?.getEventName()!=="OpenConversationNonCritical"||(0,u.Wp)(A,!1)},n=>{(0,C.O)("LoadConversationRPError",{id:e?.Id,source:t,message:n?.message}),A?.invalidate(),A?.end(),(0,c.y8)("ConversationRPLoadError",{actionSource:t,message:n?.message})})})},137750:(e,t,n)=>{n.d(t,{Z:()=>p});var o=n(652775),r=n(360360),i=n(189695),a=n(75008),l=n(87880),s=n(697399),d=n(645225),c=n(797489),u=n(845407),m=n(723697);let p=(0,u.aD)("loadConversationReadingPaneForSingleMailItemSelected")(function(e,t,n,u,p,f,g,v,h,I,S,b={conversationReadingPaneState:(0,i.Z)(),hasConversationInMailStore:d.Z.conversations.has(e?.Id)}){if(u?.dp?.addCheckpoint?.("LCRPFSMIS"),!e)return Promise.resolve();let w=(0,c.MA)(),y=b.conversationReadingPaneState?(0,l.Z)(w,b.conversationReadingPaneState.conversationId.Id,0):void 0;return y&&6!==y.asyncSendState&&!n?Promise.resolve():b.conversationReadingPaneState?.conversationId.Id==e.Id&&b.conversationReadingPaneState?.currentSelectedFolderId==(0,s.mU)()&&b.hasConversationInMailStore?((0,m.e)(),Promise.resolve()):(y&&w&&w.type!=c.AO.SecondaryReadingPane&&!y.isInlineCompose&&a.aJ.importAndExecute(y,!0,!1),(0,r.T)(e),(0,o.ZP)(e,t,u,p,f,v,g,h,I,S))})},525223:(e,t,n)=>{n.d(t,{Z:()=>m});var o=n(598659),r=n(189695),i=n(21022),a=n(67199),l=n(845837),s=n(645225),d=n(438375),c=n(795839);let u="RPCountLoadMore",m=(0,a.mn)({name:u},function(e){if(e){let n=s.Z.conversations.get(e.Id);if(n){var t;p(n);let s=(0,a.qO)(u);s?.addCustomData([(t=n.maxItemsToReturn,(0,d.Z)(Math.ceil((t-20)/10)))]);let c=(0,r.Z)(e.Id);return(0,i.L8)(c)&&(0,o.Z)(c,!0),l.vc.importAndExecute(e,"LoadMore")}}return Promise.resolve()}),p=(0,c.lr)("updateConversationItemParts",e=>{e.isLoadMoreInProgress=!0,e.maxItemsToReturn=e.maxItemsToReturn+l.pc,e.syncState=""})},51365:(e,t,n)=>{n.d(t,{Z:()=>o});let o=(0,n(795839).aD)("ON_ITEM_PART_SELECTED",(e,t)=>({conversationNodeId:e,conversationId:t}))},597917:(e,t,n)=>{n.d(t,{Z:()=>r});var o=n(163202);let r=(0,n(795839).lr)("tryAddOofNodesInRollUp",function(e,t,n,r){r&&e.forEach(e=>{e.oofRollUpViewState.oofReplyNodeIds=[]}),n.forEach(n=>{let r=e.get(n);if(!r||!r.oofRollUpViewState.isOofItem)return;r.isInRollUp=!1;let i=(0,o.J)(n,e,t);i&&!i.isInRollUp&&(r.isInRollUp=!0,i.oofRollUpViewState.oofReplyNodeIds.push(n))})})},452033:(e,t,n)=>{n.d(t,{Z:()=>r});var o=n(189695);let r=(0,n(795839).lr)("setFocusedItemPart",function(e,t){let n=(0,o.Z)();n&&n.conversationId.Id==t&&(n.focusedItemPart=e)})},545337:(e,t,n)=>{n.d(t,{Z:()=>f});var o=n(598659),r=n(755949),i=n(236237),a=n(504415),l=n(189695),s=n(21022),d=n(163202),c=n(645225),u=n(823183),m=n(845407);let p=(e,t,n,o)=>{let r=o.get(t),i=r?.parentInternetMessageId?o.get(r.parentInternetMessageId):null;return!!(e&&n&&i&&e.ItemClass&&u.x.test(e.ItemClass))},f=(0,m.aD)("setItemIdToScrollTo")(function(e,t,n,o={conversationNodes:c.Z.conversationNodes,conversationReadingPaneState:(0,l.Z)(e),items:c.Z.items}){if(!o.conversationReadingPaneState)return;o.conversationReadingPaneState.itemIdToScrollTo=t;let s=o.items.get(t);if(s){let t=s.InternetMessageId;if(t){let l=o.conversationReadingPaneState.itemPartsMap.get(t),c=(0,a.wb)({conversationReadingPaneState:o.conversationReadingPaneState}),u=(0,d.J)(t,o.conversationReadingPaneState.itemPartsMap,o.conversationNodes);if(u&&p(s,t,u,o.conversationNodes)){l&&c!=u&&(g(u,o.conversationReadingPaneState),o.conversationReadingPaneState.focusedItemPart={focusedItemArea:i.X.Oof,itemPart:l}),u.oofRollUpViewState.isOofRollUpExpanded=!0;return}l&&c!=l&&(g(l,o.conversationReadingPaneState),(0,r.Z)(e,!0,l,void 0,n))}}}),g=(e,t)=>{t.itemIdToScrollTo=e.itemId,(0,s.Hu)(t,e)&&(0,o.Z)(t,!0)}},165550:(e,t,n)=>{n.d(t,{Z:()=>l});var o=n(755949),r=n(236237),i=n(189695),a=n(128248);let l=(0,n(845407).aD)("toggleIsOofRollUpExpanded")(function(e,t,n={conversationReadingPaneState:(0,i.Z)(e)}){t.oofRollUpViewState.isOofRollUpExpanded=!t.oofRollUpViewState.isOofRollUpExpanded,!(0,a.Z)(e)&&n.conversationReadingPaneState&&((0,o.H)(e,{conversationReadingPaneState:n.conversationReadingPaneState}),n.conversationReadingPaneState.focusedItemPart={itemPart:t,focusedItemArea:r.X.Oof})})},755949:(e,t,n)=>{n.d(t,{H:()=>v,Z:()=>g});var o=n(57626),r=n(51365),i=n(236237),a=n(504415),l=n(189695),s=n(267264),d=n(924734),c=n(128248),u=n(14726),m=n(845407),p=n(795839),f=n(728696);let g=(0,m.aD)("toggleSelectItemPart")(function(e,t,n,r,s,d={conversationReadingPaneState:(0,l.Z)(e)}){if(!t&&(0,a.UM)(n,d))return;let u=!(0,c.Z)(e);t&&h(n,!!r,u,d),n?.isExpanded&&(0,o.Z)(n),v(e,d),I(e,!0,n),!r&&n&&u&&d.conversationReadingPaneState&&(d.conversationReadingPaneState.focusedItemPart={focusedItemArea:i.X.Item,itemPart:n,shouldNotGrabFocus:s})}),v=(0,m.aD)("unselectItemParts")(function(e,t={conversationReadingPaneState:(0,l.Z)(e)}){let n=(0,a.wb)({conversationReadingPaneState:t.conversationReadingPaneState});n&&I(e,!1,n)}),h=(0,p.aD)("expandCollapseItemPart",(e,t,n,o)=>{let r;return r=t||n?e?.isExpanded?"EC":"CE":e==(0,a.wb)()?"SC":e?.isExpanded?"ES":"CS",(0,s.uY)({name:"RPCountExpCollItemPart",customData:[r,t]},{itemPart:e,fromKeyboard:t,canFocus:n,state:o})});async function I(e,t,n){t?(0,r.Z)(n?.conversationNodeId??"",e):(0,d.K)(n?.itemId??"",(0,u.Z)()),(await f.N_.import())((0,f._G)(n?.itemId??""),t?f.Tx.Selected:f.Tx.Deselected,null)}(0,p.ed)(h,({itemPart:e,fromKeyboard:t,canFocus:n,state:o})=>{t||!n?e.isExpanded=!e.isExpanded:e.isExpanded=!(0,a.UM)(e,o)||!e.isExpanded,!e.hasExpanded&&e.isExpanded&&(e.hasExpanded=!0)})},889540:(e,t,n)=>{n.d(t,{Z:()=>o});let o=(0,n(795839).aD)("tryInitializeShouldShowCLPLabel",e=>({conversationViewState:e}))},447816:(e,t,n)=>{n.d(t,{C2:()=>I,MZ:()=>u.Z,Wx:()=>m.W,gx:()=>p,qn:()=>f,wM:()=>v,wg:()=>h,yr:()=>g});var o=n(402392),r=n(523866),i=n(298689),a=n(875138),l=n(595188),s=n(978947),d=n(90834),c=n(723697);n(189695);var u=n(137750),m=n(665117);let p=new o.nI(()=>Promise.all([n.e(741001,"high"),n.e(448256,"high"),n.e(109118,"high"),n.e(149696,"high"),n.e(320919,"high")]).then(n.bind(n,478985)),{name:"ConversationReadingPaneStore"}),f=new o._5(p,e=>e.loadConversationReadingPane),g=new o._5(p,e=>e.setItemIdToScrollTo),v=new o._5(p,e=>e.expandCollapseAllItemParts);(0,o.Kv)(a.Z,p,e=>e.deleteItemsStoreUpdateOrchestrator),(0,o.Kv)(s.Z,p,e=>e.markConversationsAsReadStoreUpdateOrchestrator),(0,o.Kv)(l.Z,p,e=>e.markAllAsReadOrchestrator),(0,o.Kv)(r.Z,p,e=>e.applyConversationFlagStateStoreUpdateOrchestrator),(0,o.Kv)(i.Z,p,e=>e.deleteConversationStoreUpdateOrchestrator),(0,o.Kv)(c.dp,p,e=>e.conversationReadyToLoadOrchestrator),(0,o.Kv)(c.e,p,e=>e.updateAttachmentsOrchestrator),(0,o.Kv)(c.aJ,p,e=>e.updateItemMandatoryPropertiesOrchestrator),(0,o.Kv)(d.Z,p,e=>e.updateInternetMessageIdOrchestrator);let h=new o.EF(p,e=>e.getLatestNonDraftItemIdFromConversation),I=new o.EF(p,e=>e.expandCollapseQuotedBody)},652434:(e,t,n)=>{n.d(t,{TI:()=>d,kN:()=>s,tN:()=>l});var o=n(74214),r=n(795839),i=n(797489),a=n(542898);let l=(0,r.lr)("addLoadedConversationReadingPaneViewState",function(e){let t=e.conversationId.Id,{loadedConversationReadingPaneViewStates:n}=(0,o.b)();n.has(t)||n.set(t,e)}),s=(0,r.lr)("releaseOrphanedLoadedConversationViewStates",function(){let{loadedConversationReadingPaneViewStates:e,itemPrintPaneViewStates:t}=(0,o.b)();e.forEach((t,n)=>{(0,i.ru)(n)||n==(0,a.Z)()||e.delete(n)}),t&&t.forEach((e,n)=>{let o=e?.itemId;o&&!((0,a.Z)()==o||(0,i.ru)(o))&&t.delete(n)})}),d=(0,r.lr)("releaseLoadedConversationViewState",function(e){(0,o.b)().loadedConversationReadingPaneViewStates.delete(e)})},504415:(e,t,n)=>{n.d(t,{Go:()=>a,UM:()=>s,cJ:()=>l,wb:()=>i});var o=n(236237),r=n(189695);function i(e={conversationReadingPaneState:(0,r.Z)()}){return e.conversationReadingPaneState?.focusedItemPart?e.conversationReadingPaneState.focusedItemPart.itemPart:void 0}function a(e={conversationReadingPaneState:(0,r.Z)()}){return e.conversationReadingPaneState?.focusedItemPart?e.conversationReadingPaneState.focusedItemPart.focusedItemArea:void 0}let l=function(e={conversationReadingPaneState:(0,r.Z)()}){return e.conversationReadingPaneState?.initiallySelectedItemPart?e.conversationReadingPaneState.initiallySelectedItemPart.itemPart:void 0},s=function(e,t={conversationReadingPaneState:(0,r.Z)()}){let n=i(t),l=a(t);return n==e&&l==o.X.Item}},122307:(e,t,n)=>{n.d(t,{A:()=>c,I:()=>d});var o=n(189695),r=n(128248),i=n(599617),a=n(709077),l=n(75953),s=n(13446);let d=(0,l._)(function(){return(0,i.Z)()??c()});function c(){if((0,a.gS)()&&!(0,a.sA)())return;let e=(0,o.Z)(),t=!!e,n=t?e.conversationId?.Id:s.Z()?.itemId;return(0,r.Z)(n,t?0:1)}},189695:(e,t,n)=>{n.d(t,{C:()=>a,Z:()=>i});var o=n(74214),r=n(551871);function i(e){return(0,o.b)().loadedConversationReadingPaneViewStates.get(e||a())}function a(){return((0,o.b)().sxsItemId||(0,r.Z)())??""}},162141:(e,t,n)=>{n.d(t,{Z:()=>a});var o=n(189695),r=n(978747),i=n(645225);function a(e){let t=(0,i.b)().conversations.get(e),n=t?.conversationNodeIds;if(!n?.length)return null;let a=(0,r.Z)()?0:n.length-1,l=(0,o.Z)(e),s=l?.itemPartsMap,d=s?.get(n[a]);return d?(0,i.b)().items.get(d.itemId):null}},654060:(e,t,n)=>{n.d(t,{Z:()=>a});var o=n(645225),r=n(189695),i=n(978747);function a(e){let t=o.Z.conversations.get(e),n=t?t.conversationNodeIds:[],a=n.length,l=(0,r.Z)(e);if(0==a||!l)return"";let s=l.itemPartsMap,d=(0,i.Z)()?a-1:0,c=(0,i.Z)()?-1:1;for(;d>=0&&d<a;){let e=s.get(n[d]),t=e?o.Z.items.get(e.itemId):null;if(t&&!t.IsDraft&&!e?.isInRollUp)return t.ItemId?.Id??"";d+=c}return""}},665117:(e,t,n)=>{n.d(t,{W:()=>i});var o=n(189695),r=n(913868);let i=(0,n(75953)._)(function(e){let t=(0,o.Z)(e);return!!t&&![...t.itemPartsMap.values()].some(e=>!e.isExpanded||e.oofRollUpViewState.oofReplyNodeIds.length&&!e.oofRollUpViewState.isOofRollUpExpanded)&&!(0,r.Z)(e)})},733133:(e,t,n)=>{n.d(t,{Z:()=>r});var o=n(74214);function r(e){return(0,o.b)().loadedConversationReadingPaneViewStates.has(e)}},21022:(e,t,n)=>{n.d(t,{Hu:()=>a,JT:()=>i,L8:()=>r,rI:()=>l});var o=n(645225);function r(e){return e?.showRSVPTimeline?e?.conversationNodeIdsInCollapsedItemsRollUp&&e.conversationNodeIdsInCollapsedItemsRollUp.length>0:e?.conversationNodeIdsInCollapsedItemsRollUpExcludingRSVP&&e.conversationNodeIdsInCollapsedItemsRollUpExcludingRSVP.length>0}function i(e){let t=o.Z.conversations.get(e.conversationId.Id);return r(e)||!!t?.canLoadMore}function a(e,t){return e?.showRSVPTimeline?e?.conversationNodeIdsInCollapsedItemsRollUp&&t&&e.conversationNodeIdsInCollapsedItemsRollUp.includes(t.conversationNodeId):e?.conversationNodeIdsInCollapsedItemsRollUpExcludingRSVP&&t&&e.conversationNodeIdsInCollapsedItemsRollUpExcludingRSVP.includes(t.conversationNodeId)}function l(e){if(!r(e))return 0;let{conversationNodeIdsInCollapsedItemsRollUp:t,conversationNodeIdsInCollapsedItemsRollUpExcludingRSVP:n,itemPartsMap:o,showRSVPTimeline:i}=e,a=i?t.length:n.length;return i?t.forEach(e=>{let t=o.get(e);t&&t.oofRollUpViewState.oofReplyNodeIds&&(a+=t.oofRollUpViewState.oofReplyNodeIds.length)}):n.forEach(e=>{let t=o.get(e);t&&t.oofRollUpViewState.oofReplyNodeIds&&(a+=t.oofRollUpViewState.oofReplyNodeIds.length)}),a}},163202:(e,t,n)=>{n.d(t,{J:()=>o});function o(e,t,n){let o=n.get(e);return o?.parentInternetMessageId?t.get(o.parentInternetMessageId)??null:null}},756713:(e,t,n)=>{n.d(t,{Z:()=>o});let o=(0,n(795839).aD)("initializeExtendedCardForItemReadingPane",(e,t)=>({itemReadingPaneViewState:e,loadedItem:t}))},525437:(e,t,n)=>{n.d(t,{Z:()=>o});let o=(0,n(795839).lr)("setCoverOriginalContent",(e,t)=>{e&&(e.coverOriginalContent=t)})},575130:(e,t,n)=>{n.d(t,{gz:()=>c.Z,Yx:()=>u.Z,YG:()=>s,XB:()=>d,j9:()=>S,R$:()=>f,Fh:()=>g,gx:()=>m,An:()=>p,n2:()=>v,Ne:()=>I,ff:()=>h,YS:()=>a.default});var o=n(402392),r=n(202445),i=n(756713),a=n(74214),l=n(645225);function s(e,t){return!!e&&1!==t&&!!l.Z.conversations.get(e)}function d(e,t){return!!e&&2!=t&&a.default.loadedItemReadingPaneViewStates.has(e)}var c=n(947294),u=n(13446);let m=new o.nI(()=>Promise.all([n.e(992814,"high"),n.e(695126,"high"),n.e(149696,"high"),n.e(743069,"high")]).then(n.bind(n,256731)),{name:"ReadingPaneStore"}),p=new o._5(m,e=>e.print),f=new o._5(m,e=>e.loadItemReadingPane),g=new o._5(m,e=>e.loadItemReadingPaneForSingleMailItemSelected);(0,o.Kv)(r.Z,m,e=>e.markItemsAsReadStoreUpdateOrchestrator),(0,o.Kv)(i.Z,m,e=>e.initializeExtendedCardForItemReadingPaneOrchestrator),new o.EF(m,e=>e.isUnsupportedItem);let v=new o._5(m,e=>e.replyByMeeting),h=new o._5(m,e=>e.toggleUndoDarkMode),I=new o._5(m,e=>e.setHidePopout),S=new o._5(m,e=>e.createThreadSummarizationViewState)},360360:(e,t,n)=>{n.d(t,{T:()=>a});var o=n(74214),r=n(795839),i=n(984737);let a=(0,r.lr)("updatePrimaryReadingPaneTabId",function(e){o.default.primaryReadingPaneTabId=e});(0,r.ed)(i.v,e=>{e.shouldFirstRowBeSelectedOnLoad||(o.default.primaryReadingPaneTabId=null)})},914086:(e,t,n)=>{n.d(t,{n:()=>o});let o=(0,n(795839).lr)("saveReadingPaneScrollPosition",function(e,t){e&&(e.savedScrollPosition=t.scrollTop)})},74214:(e,t,n)=>{n.d(t,{b:()=>d,default:()=>s});var o=n(787012),r=n(786080),i=n(795839);let a={loadedItemReadingPaneViewStates:new o.ObservableMap({}),loadedConversationReadingPaneViewStates:new o.ObservableMap({}),itemPreviewPaneViewState:null,itemPrintPaneViewStates:new o.ObservableMap({}),deeplinkId:null,shouldShowMobileUpsellEmptyState:!1,primaryReadingPaneTabId:null,sxsItemId:null,loadingProjectionIds:[],reactionsSkinTone:0,hidePopout:!1},l=(0,i.MT)("readingpane",a)(),s=l,d=()=>l;r.Z.registerReference(()=>[...l.loadedConversationReadingPaneViewStates.keys()])},236237:(e,t,n)=>{let o;n.d(t,{X:()=>r});var r=((o=r||{})[o.Item=0]="Item",o[o.Oof=1]="Oof",o[o.FossilizedText=2]="FossilizedText",o[o.SeeMore=3]="SeeMore",o)},916757:(e,t,n)=>{function o(e,t){return!!(e?.extendedCardViewState&&e.extendedCardViewState?.cardType==t)}function r(e){return!!e?.extendedCardViewState?.coverOriginalContent}function i(e,t){if(o(e,t))return e.extendedCardViewState?.cardViewState}n.d(t,{NH:()=>i,dq:()=>o,gp:()=>r})},551871:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(797489),r=n(542898);function i(){let e=(0,o.MA)();switch(e?.type){case o.AO.SecondaryReadingPane:return e.data.id.Id;case o.AO.Primary:default:return(0,r.Z)()}}},80028:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(645225),r=n(978747);function i(e,t){if(!e?.conversationId?.Id)return null;let n=o.Z.conversations.get(e.conversationId.Id);if(!n||!n.conversationNodeIds.length)return null;let i=n.conversationNodeIds.map(t=>e.itemPartsMap.get(t)).filter(e=>!!e);return(0,r.Z)()==t&&(i=i.reverse()),i}},170893:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(80028),r=n(645225);function i(e,t){let n=(0,o.Z)(e,t);return n?n.map(e=>e?e.itemId:null).map(e=>r.Z.items.get(e??"")).filter(e=>!!e):null}},625267:(e,t,n)=>{n.d(t,{Z:()=>r});var o=n(302140);function r(e){let t;if(e){if(e?.RightsManagedMessageDecryptionStatus&&0!=e.RightsManagedMessageDecryptionStatus)switch(e.RightsManagedMessageDecryptionStatus){case -2147160052:case -2147160012:case -2147160011:t=(0,o.WU)((0,o.ZP)("VSjJEe"),i());break;case -2147160010:t=(0,o.ZP)("ByuHOb");break;case -2147168507:t=(0,o.WU)((0,o.ZP)("UXgnLb"),i());break;case -2147160014:t=(0,o.ZP)("rP2lKd");break;case -2147160054:case -2147160055:t=(0,o.ZP)("FxGJ4c");break;case -2147160064:case -2147160013:t=(0,o.ZP)("CKxYw");break;case -2147160051:t=(0,o.ZP)("QVQdge");break;case -2147160060:t=(0,o.ZP)("zQE4x");break;default:t=(0,o.WU)((0,o.ZP)("gB_Pn"),e.RightsManagedMessageDecryptionStatus)}return t}}function i(){let e=(0,o.WU)('<a href="{0}" target="_blank">{1}</a>',(0,o.ZP)("ZyRFnd"),(0,o.ZP)("GDcsLd"));return(0,o.WU)((0,o.ZP)("VQKENe"),e)}},947294:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(74214),r=n(551871);function i(e){return(0,o.b)().loadedConversationReadingPaneViewStates.get(e||(((0,o.b)().sxsItemId||(0,r.Z)())??""))}},575086:(e,t,n)=>{n.d(t,{Z:()=>r});var o=n(947294);function r(e){let t=(0,o.Z)(e);return t?.conversationSubject??""}},81820:(e,t,n)=>{n.d(t,{Z:()=>s});var o=n(645225),r=n(206339),i=n(911062),a=n(110363),l=n(92935);function s(e){let t=o.Z.items.get(e);return t&&t.ParentFolderId&&((0,i.Z)(t.ParentFolderId.Id,l.CJ)||(0,r.cr)("mail-junkMailEnhancements")&&(0,i.Z)(t.ParentFolderId.Id,"junkemail")||(0,i.Z)(t.ParentFolderId.Id,l.SO)||(0,a.tA)(t.ParentFolderId.Id))?"SoftDelete":"MoveToDeletedItems"}},662805:(e,t,n)=>{n.d(t,{Z:()=>r});var o=n(625267);function r(e,t){let n=t?t.Value:"";return(0,o.Z)(e)||n}},13446:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(74214),r=n(551871);function i(e){return(0,o.b)().loadedItemReadingPaneViewStates.get(e||(0,r.Z)())}},542898:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(74214),r=n(994658);function i(){return(0,r.Z)()?o.b().deeplinkId?.id:o.b().primaryReadingPaneTabId?.Id}},685008:(e,t,n)=>{n.d(t,{P:()=>a});var o=n(11265),r=n(74214),i=n(994658);function a(e){return(0,i.Z)()?r.b().deeplinkId?.id:(e?(0,o.Z)(e):"mainWindow")??"mainWindow"}},540439:(e,t,n)=>{n.d(t,{Z:()=>r});var o=n(52924);function r(){let e=(0,o.Z)();return!e.UserOptions||!!e.UserOptions.IsReplyAllTheDefaultResponse}},854385:(e,t,n)=>{n.d(t,{KH:()=>a,cD:()=>l,hI:()=>r.h});var o=n(402392),r=n(426084);let i=new o.nI(()=>Promise.all([n.e(728696),n.e(992814),n.e(94724),n.e(695126),n.e(389027)]).then(n.bind(n,462989))),a=new o._5(i,e=>e.ensureSecondaryReadingPaneTabHandler),l=new o._5(i,e=>e.moveReadingPaneToTab)},426084:(e,t,n)=>{n.d(t,{h:()=>i});var o=n(395831),r=n(184867);function i(e,t,n,i){let a=(0,o.AT)(t,i,!1);if(null!=a){e.location.href=a;let t=async()=>(await r.U.import())(void 0,n);(0,o.dt)("mail",a,{deeplinkData:t,projectionTargetWindow:e})}}},167081:(e,t,n)=>{n.d(t,{Z:()=>r});var o=n(645225);let r=(0,n(795839).lr)("setTypeOfItemBeingDragged",function(e){(0,o.b)().typeOfItemBeingDragged=e})},738434:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(645225),r=n(354059);function i(e,t){return t?o.Z.items.get(e):(0,r.df)(e)}},326081:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(636283),r=n(478248);function i(e,t){let n=(0,r.p)(t).SessionSettings,i=n?.UserEmailAddress;return i?!e||e.toLowerCase()==i.toLowerCase()||!!n?.UserProxyAddresses?.some(t=>t.toLowerCase()==e):((0,o.rx)("User email address from session data is null."),!1)}},834930:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(645225),r=n(52924);function i(e){let t=o.Z.conversations.get(e);if(t){let e=r.Z().UserOptions?.ConversationSortOrderReact;return t.conversationNodeIds.length>0&&!t.loadingState.hasLoadFailed&&t.conversationSortOrder==e}return!1}},152302:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(645225),r=n(206339);function i(){return!(0,r.cr)("rp-fetchOnDemand")||(0,o.b)().shouldOpportunisticallyFetch}},645225:(e,t,n)=>{n.d(t,{Z:()=>c,b:()=>u});var o=n(787012);class r extends o.ObservableMap{constructor(e,t,n,o){super(e,t,n),this.beforeSetFunction=o}set(e,t){return this.beforeSetFunction?.(t),super.set(e,t)}}var i=n(67199),a=n(206339),l=n(795839);let s={conversationNodes:new o.ObservableMap({}),conversations:new o.ObservableMap({}),items:(0,a.cr)("ring-dogfood",void 0,!0)?new r({},void 0,void 0,e=>{if(!e.MailboxInfo){let e="SetItemNoMailboxInfo";(0,i.y8)(e,{stack:Error(e).stack})}}):new o.ObservableMap({}),searchFolderDisplayName:void 0,typeOfItemBeingDragged:"",triageAnnouncement:{message:"",politenessSetting:"off"},shouldOpportunisticallyFetch:!0},d=(0,l.MT)("mail",s)(),c=d,u=()=>d},786080:(e,t,n)=>{n.d(t,{Z:()=>o});let o=new(n(422841)).z(50)},827773:(e,t,n)=>{let o;n.d(t,{n:()=>r});var r=((o=r||{})[o.None=0]="None",o[o.Pending=1]="Pending",o[o.Complete=2]="Complete",o)},754932:(e,t,n)=>{let o;n.d(t,{Z:()=>i});var r=((o=r||{})[o.Auto=0]="Auto",o[o.CommandBarArrows=1]="CommandBarArrows",o[o.KeyboardUpDown=2]="KeyboardUpDown",o[o.KeyboardEnter=3]="KeyboardEnter",o[o.KeyboardShiftEnter=4]="KeyboardShiftEnter",o[o.KeyboardCtrlSpace=5]="KeyboardCtrlSpace",o[o.MailListItemBody=6]="MailListItemBody",o[o.MailListItemBodyDoubleClick=7]="MailListItemBodyDoubleClick",o[o.MailListItemCheckbox=8]="MailListItemCheckbox",o[o.MailListItemContextMenu=9]="MailListItemContextMenu",o[o.MailListItemExpansion=10]="MailListItemExpansion",o[o.MailListItemRichPreview=11]="MailListItemRichPreview",o[o.MailListItemTwisty=12]="MailListItemTwisty",o[o.NewConversation=13]="NewConversation",o[o.Reset=14]="Reset",o[o.RowRemoval=15]="RowRemoval",o[o.ImmersiveReadingPaneDelete=16]="ImmersiveReadingPaneDelete",o[o.RouteHandler=17]="RouteHandler",o[o.ToggleCheckAll=18]="ToggleCheckAll",o[o.MessageAd=19]="MessageAd",o[o.SearchSuggestionClick=20]="SearchSuggestionClick",o[o.SingleLineClearSelection=21]="SingleLineClearSelection",o[o.KeyboardHome=22]="KeyboardHome",o[o.KeyboardEnd=23]="KeyboardEnd",o[o.KeyboardShiftHome=24]="KeyboardShiftHome",o[o.CopilotCatchUp=25]="CopilotCatchUp",o[o.MailListItemSimulatedDoubleClick=26]="MailListItemSimulatedDoubleClick",o);let i=r},913868:(e,t,n)=>{n.d(t,{Z:()=>r});var o=n(645225);function r(e){let t=o.Z.conversations.get(e);return!!t?.canLoadMore}},823183:(e,t,n)=>{n.d(t,{x:()=>o});let o=/ipm.note.rules.ooftemplate.microsoft/i},103491:(e,t,n)=>{n.d(t,{Z:()=>o});function o(e){let t=e?e.RightsManagementLicenseData:null,n={ReplyAllowed:!0,ReplyAllAllowed:!0,ForwardAllowed:!0,PrintAllowed:!0,CopyAllowed:!0};if(t&&(!t.RightsManagedMessageDecryptionStatus||0==t.RightsManagedMessageDecryptionStatus)){let{ReplyAllowed:e,ReplyAllAllowed:o,ForwardAllowed:r,PrintAllowed:i,ExtractAllowed:a}=t;n={ReplyAllowed:!!e,ReplyAllAllowed:!!o,ForwardAllowed:!!r,PrintAllowed:!!i,CopyAllowed:!!a}}let o=e?.DoNotForwardMeeting;return n.ForwardAllowed=n.ForwardAllowed&&!o,n}},902041:(e,t,n)=>{n.d(t,{Z:()=>a});var o=n(110363),r=n(697399),i=n(17725);function a(){let e=(0,r.PZ)(),t=5===e.type,n=null;return(n=1===e.type?e.searchFolderId:e.id)?t&&i.Z.folderTable.has(n)?i.Z.folderTable.get(n):o.ZP.folderTable.has(n)?o.ZP.folderTable.get(n):null:null}},763763:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(902041),r=n(511943);function i(){return o.Z()?.mailboxInfo||(0,r.zl)()}},428785:(e,t,n)=>{n.d(t,{H:()=>r,Q:()=>i});var o=n(110363);function r(e,t){try{return i(e,t)}catch(e){return null}}function i(e,t){if(!e||!t)return null;let n=(0,o.Xe)().get(e).PermissionSet.Permissions.filter(e=>e.UserId.PrimarySmtpAddress===t);return n?.[0]}},721760:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(911062),r=n(92935);function i(e){return!!(e&&((0,o.Z)(e,r._r)||(0,o.Z)(e,r.Rg)))}},985081:(e,t,n)=>{n.d(t,{B2:()=>a,ZP:()=>i});var o=n(110363),r=n(92935);function i(e,t){let n=o.ZP.folderTable.get(e);return!!n&&((0,o.Di)(n,r.Yo,t)||n.distinguishedFolderType===r.Rg)}function a(e){return i(e)||function(e){let t=o.ZP.folderTable.get(e);return!!t&&t.distinguishedFolderType===r.Yo}(e)}},62837:(e,t,n)=>{n.d(t,{Z:()=>r});var o=n(110363);function r(e,t,n={folderTable:o.ZP.folderTable}){return(0,o.Di)(e,t,n)}},978747:(e,t,n)=>{n.d(t,{Z:()=>r});var o=n(52924);function r(){let e=(0,o.Z)();return"ChronologicalNewestOnBottom"==(e.UserOptions?e.UserOptions.ConversationSortOrderReact:"ChronologicalNewestOnBottom")}},701699:(e,t,n)=>{n.d(t,{Z:()=>r});var o=n(110363);function r(e){return(0,o.p$)(e,"SharedMailbox")}},615927:(e,t,n)=>{n.d(t,{Z:()=>r});var o=n(52924);function r(){return!!o.Z()?.SessionSettings?.IsExplicitLogon}},752738:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(92935),r=n(62837);function i(e){return e&&((0,r.Z)(e,o.CJ)||(0,r.Z)(e,o.SO))}},34640:(e,t,n)=>{n.d(t,{F:()=>i,H:()=>a});var o=n(110363),r=n(615927);function i(e){if(!e||!e.ParentFolderId)return!1;let t=e.ParentFolderId.Id;return(0,o.p$)(t,"SharedMailbox")||(0,r.Z)()}function a(e){return e||(0,r.Z)()}},339152:(e,t,n)=>{n.d(t,{E:()=>i,WY:()=>s,TL:()=>a,f2:()=>c,ew:()=>u,$Y:()=>m});var o=n(402392),r=n(133782);function i(e,t){return(0,r.o)(t).suggestedUnsubscribeItems.filter(t=>t.itemId===e||t.conversationId===e)[0]}function a(e,t){return(0,r.o)(t).suggestedUnsubscribeItems.some(t=>t.itemId===e||t.conversationId===e)}var l=n(302140);let s=e=>0===e?(0,l.ZP)("hpA7Fb"):(0,l.ZP)("S8FKne"),d=new o.nI(()=>n.e(886232).then(n.bind(n,886232))),c=new o._5(d,e=>e.createSuggestedUnsubscribeItems),u=new o._5(d,e=>e.removeSuggestedUnsubscribeItem),m=new o._5(d,e=>e.updateSuggestedUnsubscribeAllowList)},133782:(e,t,n)=>{n.d(t,{o:()=>l});var o=n(795839),r=n(787012),i=n(827570);let a=(0,o.MT)("suggestedUnsubscribeStore",{entries:new r.ObservableMap})();function l(e){let t=(0,i.M4)(e),n=a.entries.get(t);return n||(n={lastFetch:0,suggestedUnsubscribeItems:[]},a.entries.set(t,n)),n}},402821:(e,t,n)=>{let o;n.d(t,{bm:()=>i,Fr:()=>f,F7:()=>g,YA:()=>d,md:()=>m,e2:()=>p,hJ:()=>s});var r=((o=r||{})[o.All=0]="All",o[o.AllCurrentAndFuture=1]="AllCurrentAndFuture",o[o.AllButOne=2]="AllButOne",o[o.AllOlderThan=3]="AllOlderThan",o);let i=r;var a=n(795839);let l={sweepDestinationFolderId:null,isSweepDialogShown:!1,sweepOptionType:i.All,sweepRequestStatus:0},s=(0,a.MT)("sweepStore",l)(),d=(0,a.lr)("setSweepOptionType",function(e){s.sweepOptionType=e});var c=n(302140),u=n(636283);let m=(0,a.lr)("setSweepRequestStatus",function(e){s.isSweepDialogShown&&(function(e,t){let n="Invalid state transition {0} to {1}";1==t&&0!=e&&(0,u.rx)((0,c.WU)(n,e,t)),(2==t||3==t)&&1!=e&&(0,u.rx)((0,c.WU)(n,e,t))}(s.sweepRequestStatus,e),s.sweepRequestStatus=e)}),p=(0,a.lr)("showHideSweepDialog",function(e){s.isSweepDialogShown=e,e||(s.sweepOptionType=i.All,s.sweepRequestStatus=0)}),f=(0,a.aD)("SWEEP_DIALOG_ON_MOVE_TO_FOLDER_CLICK",e=>({folderId:e})),g=(0,a.aD)("SET_SWEEP_DESTINATION_FOLDER_ID",e=>({folderId:e}));(0,a.ed)(f,e=>{s.sweepDestinationFolderId=e.folderId}),(0,a.ed)(g,e=>{s.sweepDestinationFolderId=e.folderId})},922981:(e,t,n)=>{n.d(t,{c1:()=>f,om:()=>p,UD:()=>g,Bl:()=>v,zr:()=>u,AM:()=>c});var o=n(402392),r=n(313380),i=n(198453),a=n(645225),l=n(341032),s=n(166865),d=n(255229);function c(e,t){if(t.folderId&&"junkemail"==(0,l.Z)(t.folderId))return!1;let n=a.Z.items.get(e.ItemId.Id);return!((0,d.Z)(e)||n?.RightsManagementLicenseData)&&(!!n?.shouldShowAttachmentPreviews||(!!e.HasAttachments||!!e.HasProcessedSharepointLink)&&(f.importAndExecute((0,i.vv)(t),e.ConversationId,e.ItemId.Id),!0))}let u=function(e,t,n={listViewStore:(0,r.bh)()}){let o,a;let d=1==t.type,c=e.ConversationId,u=c?.Id?n.listViewStore.conversationItems.get(c.Id):void 0,m=e.HasProcessedSharepointLink;if(t.folderId&&"junkemail"==(0,l.Z)(t.folderId)||e?.ItemClasses&&e.ItemClasses.length>0&&e.ItemClasses.some(e=>0===e.indexOf(s.q))||e.HasIrm)return!1;if(d){if(u?.shouldShowAttachmentPreviews)return!0;o=a=!!e.HasAttachments||m}else{if(!e.HasAttachmentPreviews&&!m)return!1;u&&!m?(o=u.globalItemIds.length!=e.GlobalItemIds?.length,a=u.shouldShowAttachmentPreviews):(o=!0,a=!0)}return o&&f.importAndExecute((0,i.vv)(t),e?.ConversationId,void 0),!!a},m=new o.nI(()=>n.e(892510).then(n.bind(n,892510)),{name:"AttPreviews"}),p=new o._5(m,e=>e.getPreviews),f=new o._5(m,e=>e.add),g=new o._5(m,e=>e.getAttachmentsForConversationWell),v=new o._5(m,e=>e.removeAttachmentPreviewsForRow)},643442:(e,t,n)=>{n.d(t,{Z:()=>o});let o=(0,n(795839).aD)("ON_SEND_MESSAGE_SUCCEEDED",(e,t,n,o,r,i)=>({operation:e,referenceItemId:t,composeId:n,conversationId:o,isGroupViewState:r,clpViewState:i}))},276377:(e,t,n)=>{n.d(t,{Z:()=>o});let o=(0,n(795839).lr)("setDeferredSendTime",(e,t)=>{e.deferredSendTime=t})},245176:(e,t,n)=>{n.d(t,{Z:()=>a});var o=n(267264),r=n(795839);let i=(0,r.aD)("setImportance",(e,t)=>(0,o.uY)({name:"ComposeCommmandSetImportance",customData:[t]},{viewState:e,importance:t}));(0,r.ed)(i,({viewState:e,importance:t})=>{e.importance=t});let a=i},354189:(e,t,n)=>{n.d(t,{Z:()=>o});let o=(0,n(795839).lr)("setIsDeliveryReceiptRequested",function(e,t){e.isDeliveryReceiptRequested!==t&&(e.isDeliveryReceiptRequested=t,e.isDirty=!0)})},278022:(e,t,n)=>{n.d(t,{Z:()=>o});let o=(0,n(795839).lr)("setIsReadReceiptRequested",function(e,t){e.isReadReceiptRequested!==t&&(e.isReadReceiptRequested=t,e.isDirty=!0)})},85546:(e,t,n)=>{n.d(t,{Z:()=>o});let o=(0,n(795839).lr)("switchToReadWriteRecipient",function(e,t){e.showCompactRecipientWell=!1,t&&e.toRecipientWell.recipientEditorViewState&&(e.toRecipientWell.recipientEditorViewState.focusOnInit=!0)})},683944:(e,t,n)=>{n.d(t,{Z:()=>c});var o=n(85546),r=n(305522),i=n(479793),a=n(664547),l=n(267264),s=n(795839);let d=(0,s.aD)("toggleFrom",e=>(0,l.uY)({name:"ComposeCommandShowFrom"},{viewState:e}));(0,s.ed)(d,({viewState:e})=>{e.fromViewState.isFromShown=!e.fromViewState.isFromShown,e.fromViewState.isFromShown&&!e.fromViewState.from&&(e.fromViewState.from=(0,r.Z)(e.mailboxInfo,void 0,e.referenceItemId))}),(0,s._F)(d,({viewState:e})=>{e.fromViewState.isFromShown||(0,i.Z)(e,a.o),e.fromViewState.isFromShown&&e.showCompactRecipientWell&&(0,o.Z)(e)});let c=d},90834:(e,t,n)=>{n.d(t,{Z:()=>o});let o=(0,n(795839).aD)("updateInternetMessageId",(e,t)=>({conversationId:e,internetMessageId:t}))},75008:(e,t,n)=>{n.d(t,{AD:()=>h,Dq:()=>P,Dy:()=>C,GB:()=>m,GW:()=>w,Jt:()=>S,Nc:()=>l,PU:()=>a,QD:()=>E,SQ:()=>b,Wj:()=>I,X3:()=>u,YT:()=>Z,aJ:()=>v,aR:()=>y,fv:()=>c,gx:()=>r,hb:()=>p,kV:()=>f,lM:()=>d,y1:()=>g,yz:()=>s});var o=n(402392);let r=new o.nI(()=>Promise.all([n.e(602654),n.e(367989),n.e(972427),n.e(485954),n.e(728696),n.e(650146),n.e(269368),n.e(522118),n.e(569765),n.e(173368),n.e(864753),n.e(248116),n.e(534946),n.e(895741),n.e(17544),n.e(290044),n.e(468845),n.e(584434),n.e(244604)]).then(n.bind(n,109401))),i={captureBundleTime:!0},a=new o._5(r,e=>e.replyToMessage,i),l=new o._5(r,e=>e.forwardMessage,i),s=new o._5(r,e=>e.onRespondExtendedCardAction),d=new o._5(r,e=>e.closeCompose),c=new o._5(r,e=>e.discardCompose),u=new o._5(r,e=>e.loadDraftToCompose),m=new o._5(r,e=>e.openCompose),p=new o._5(r,e=>e.openComposeAndChangeFrom),f=new o._5(r,e=>e.toggleFrom),g=new o._5(r,e=>e.trySaveAndCloseCompose);new o._5(r,e=>e.trySaveAndCloseAllMessages);let v=new o._5(r,e=>e.moveComposeToTab),h=new o._5(r,e=>e.tryCreateResendDraft),I=new o._5(r,e=>e.replyToApprovalMessage),S=new o._5(r,e=>e.onEditDraftButtonClicked),b=new o._5(r,e=>e.trySaveMessage),w=new o.EF(r,e=>e.getToCcRecipientsForReply),y=new o.EF(r,e=>e.replyToMessageAndCreateViewState),P=new o.EF(r,e=>e.createAttachments);new o.EF(r,e=>e.extractComposePopoutData);let C=new o.EF(r,e=>e.checkShouldUseFallbackPicker),E=new o.EF(r,e=>e.tryGetSmimeViewState),Z=new o.EF(r,e=>e.getActingMailboxInfoForNewMessage)},599617:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(797489),r=n(943565);function i(){let e=(0,o.MA)(),t=(0,r.b)(),n=e?function(e,t){switch(e.type){case o.AO.Primary:return t.primaryComposeId;case o.AO.MailCompose:return e.data;default:return null}}(e,t):t.primaryComposeId,i=n?t.viewStates.get(n):void 0;return i&&!i.isInlineCompose?i:void 0}},58121:(e,t,n)=>{n.d(t,{Z:()=>o});function o(e){let{IRMData:t}=e.protectionViewState,n=2===e.uiEnabledState;return(!t||!!t.IsOwner||!!t.ForwardAllowed)&&!n}},305522:(e,t,n)=>{n.d(t,{Z:()=>r});var o=n(804960);function r(e,t,n){return{email:t||(0,o.Z)(e,n)}}},100132:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(836479),r=n(118123);function i(e){let t=null;if(e?.recipients)for(let n of[...o.Z8.viewStates.values()]){let o=(0,r.Z)(n);if(o.toRecipients===e.recipients||o.ccRecipients===e.recipients||o.bccRecipients===e.recipients){t=n;break}}return t}},87880:(e,t,n)=>{n.d(t,{Z:()=>l});var o=n(836479),r=n(797489),i=n(128248),a=n(636283);function l(e,t,n){if(e){let a;let l=(0,o.bh)();switch(e.type){case r.AO.SecondaryReadingPane:e.data.listViewType==n&&(a=(0,i.Z)(t,n));break;case r.AO.MailCompose:a=l.viewStates.get(e.data)??void 0;break;case r.AO.Primary:a=t?(0,i.Z)(t,n,!0):void 0;break;default:a=void 0}return a}(0,a.rx)("There is no active tab. Something went very wrong.")}},846729:(e,t,n)=>{n.d(t,{VN:()=>d,ZP:()=>s});var o=n(149449),r=n(4431),i=n(240282),a=n(478248),l=n(511943);function s(e,t,n){let i=[],a=(0,o.Z)(e);(0,r.Z)(a,e)||i.push(a);let s=d(e,a,t);return i=i.concat(s),n&&(0,l.lP)(e).forEach(e=>{e.isAutomapped&&i.push(e.mailboxInfo.mailboxSmtpAddress)}),i}function d(e,t,n){let o=[];if((0,i.Z)(void 0,e)||n){let n=function(e,t,n){let o=[];return n&&n.length>0&&n.forEach(n=>{t==n||(0,r.Z)(n,e)||o.push(n)}),o}(e,t,a.p(e).SessionSettings?.UserProxyAddresses);o=o.concat(n)}return o}},804960:(e,t,n)=>{n.d(t,{Z:()=>u});var o=n(645225),r=n(478248),i=n(846729),a=n(149449),l=n(312139),s=n(240282),d=n(4431),c=n(677388);function u(e,t){let n;if(t){let r=(0,o.b)(),i=r?.items,a=i&&i.has(t.Id)&&i.get(t.Id);n=a&&(0,c.Z)(a,e)}let u=(0,r.p)(e);return{MailboxType:"Mailbox",RoutingType:"SMTP",EmailAddress:n||function(e){let t=function(e){let t=(0,r.p)(e),n=(0,s.Z)(void 0,e)?t.SessionSettings?.DefaultFromAddress??"":t.UserOptions?.SendAddressDefault??"";return(0,l.DA)(n)?n:(0,a.Z)(e)}(e),n=(0,a.Z)(e);if(n===t&&(0,d.Z)(t,e)){let t=(0,i.VN)(e,n,!0);if(t&&t.length>0)return t[0]}return t}(e),Name:u.SessionSettings?.UserDisplayName??""}}},149449:(e,t,n)=>{n.d(t,{Z:()=>r});var o=n(478248);function r(e){return o.p(e).SessionSettings?.UserEmailAddress??""}},677388:(e,t,n)=>{n.d(t,{Z:()=>s});var o=n(846729),r=n(944165),i=n(452655),a=n(110363),l=n(206339);function s(e,t){let n=e.ToRecipients,s=e.CcRecipients;return function(e,t){for(let n=0;n<t.length;n++)if(function(e,t){if(t&&t.length>0){for(let n of t)if(n&&(0,r.U)(e,n.EmailAddress))return!0}return!1}(t[n],e))return t[n];return null}((n||[]).concat(s||[]),[...function(e){if(!(0,i.wS)(e.ItemId)||!e.ParentFolderId||!(0,l.cr)("cmp-auto-select-shared-mailbox"))return[];let t=(0,a.Xe)().get(e.ParentFolderId.Id);return t?.mailboxInfo?[t.mailboxInfo.mailboxSmtpAddress]:[]}(e),...(0,o.ZP)(t,!0,!1)])}},4431:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(478248),r=n(240282);function i(e,t){let n=!1;if((0,r.Z)(void 0,t)){let r=(0,o.p)(t);n=0==(e=e.toLowerCase()).indexOf("outlook_"+r.HexCID)||-1!=e.indexOf("@shadow.outlook.com")}return n}},708371:(e,t,n)=>{n.d(t,{$0:()=>s,Md:()=>l,cF:()=>r,nm:()=>i,sT:()=>a,wI:()=>d});var o=n(583107);let r=e=>[e.toRecipientWell,e.ccRecipientWell,e.bccRecipientWell],i=e=>[e.toRecipientWell],a=e=>void 0!==e.ccRecipientWell?[e.ccRecipientWell]:[],l=e=>void 0!==e.bccRecipientWell?[e.bccRecipientWell]:[],s=e=>{let t=r(e);return(0,o.Z)(t).map(e=>e.persona.EmailAddress.EmailAddress)},d=e=>{let t=r(e);return(0,o.Z)(t).map(e=>e.persona.EmailAddress)}},655647:(e,t,n)=>{n.d(t,{Z:()=>a});var o=n(100132),r=n(305522),i=n(511943);function a(e){let t=(0,o.Z)(e);return t?.fromViewState?.from?.email?t.fromViewState.from.email.EmailAddress??"":(0,r.Z)(t?.mailboxInfo||(0,i.zl)()).email.EmailAddress??""}},118123:(e,t,n)=>{n.d(t,{Z:()=>o});function o(e){return{toRecipients:e.toRecipientWell?e.toRecipientWell.recipients:[],ccRecipients:e.ccRecipientWell?e.ccRecipientWell.recipients:[],bccRecipients:e.bccRecipientWell?e.bccRecipientWell.recipients:[]}}},664547:(e,t,n)=>{n.d(t,{o:()=>a,Z:()=>l});var o=n(942006),r=n(479793);let i=(0,n(795839).lr)("setIsFromValid",function(e,t){e.isFromValid=t}),a="errorMessageInvalidSenderMailCanNotBeSend";function l(e,t,n){i(t,n),n?(0,r.Z)(e,a):(0,o.Z)(e,a)}},647019:(e,t,n)=>{n.d(t,{Q:()=>r});var o=n(13628);function r(e){return!e||(0,o.bY)(e.mailboxInfo).stateType!==o.sp.AuthError}},944165:(e,t,n)=>{n.d(t,{U:()=>i,v:()=>a});var o=n(478248),r=n(636006);function i(e,t){return e===t||!!e&&!!t&&e.toLowerCase()==t.toLowerCase()}function a(e,t){return!!e&&i(e.EmailAddress,o.p(t??r.Q()).SessionSettings?.UserEmailAddress)}},452655:(e,t,n)=>{n.d(t,{IS:()=>s,Wo:()=>d,wS:()=>l});var o=n(428785),r=n(645225),i=n(162576),a=n(110363);function l(e){let t=c(e);return!!t&&(0,a.p$)(t,"SharedMailbox")}function s(e){let t=c(e);if(!t)return null;let n=(0,a.Xe)().get(t);return n?n.mailboxInfo.mailboxSmtpAddress:null}function d(e,t){let n=c(e);if(!n)return null;let r=(0,i.Z)(t);return(0,o.H)(n,r??"")}function c(e){if(!e)return null;let t=(0,r.b)().items.get(e.Id);return t?.ParentFolderId?.Id}},637889:(e,t,n)=>{n.d(t,{h:()=>l});var o=n(461116),r=n(583107),i=n(935340),a=n(58121);function l(e,t,n,l=!1){let s=(0,r.Z)([e.toRecipientWell,e.ccRecipientWell,e.bccRecipientWell]).some(e=>e.persona.EmailAddress.EmailAddress===t);if((0,a.Z)(e)&&!s){let r=l&&e.ccRecipientWell?e.ccRecipientWell:e.toRecipientWell;(0,o.Z)([(0,i.K)(t)],r,n)}}},396879:(e,t,n)=>{n.d(t,{Dc:()=>v,lO:()=>g,eJ:()=>c,Ik:()=>m,Ks:()=>p,gx:()=>i,W7:()=>S,TV:()=>f,xL:()=>s,a1:()=>l,lW:()=>a,r5:()=>I,Td:()=>h,zv:()=>d,Wc:()=>u});var o=n(402392);function r(e,t){let n=new o.EF(e,e=>e[t]);return(...e)=>n.import().then(t=>t(...e))}let i=new o.nI(()=>Promise.all([n.e(602654),n.e(367989),n.e(972427),n.e(508748),n.e(313380),n.e(485954),n.e(728696),n.e(650146),n.e(269368),n.e(713255),n.e(470797),n.e(522118),n.e(569765),n.e(173368),n.e(864753),n.e(248116),n.e(534946),n.e(895741),n.e(17544),n.e(469523)]).then(n.bind(n,67230))),a=r(i,"send"),l=r(i,"save"),s=r(i,"runPostOpenTasks"),d=r(i,"switchBodyType"),c=r(i,"discard"),u=r(i,"upConvert"),m=r(i,"insertSignature"),p=r(i,"insertSignatureForAddin"),f=r(i,"popoutCompose"),g=r(i,"createAttachments"),v=r(i,"clickAttachButton"),h=r(i,"showMessageOptionsDialog"),I=r(i,"setFromAddress"),S=r(i,"onClickFromMenu")},374262:(e,t,n)=>{n.d(t,{JK:()=>s,KC:()=>a,bD:()=>l,tX:()=>i});var o=n(402392);let r=new o.nI(()=>Promise.all([n.e(463410),n.e(32971),n.e(788521),n.e(739143),n.e(717304),n.e(116798)]).then(n.bind(n,470616))),i=new o._5(r,e=>e.loadSearchTable),a=new o._5(r,e=>e.cleanSearchTableState).importAndExecute,l=new o._5(r,e=>e.loadMoreFindItemSearch),s=new o._5(r,e=>e.loadMoreSubstrateSearch)},850331:(e,t,n)=>{n.d(t,{cF:()=>i,k0:()=>s,kF:()=>d,xY:()=>l,zW:()=>a});var o=n(402392);let r=new o.nI(()=>Promise.all([n.e(211150),n.e(683003),n.e(189382),n.e(183509),n.e(6719)]).then(n.bind(n,273907))),i=new o._5(r,e=>e.selectFilter),a=new o._5(r,e=>e.selectSort),l=new o._5(r,e=>e.togglePauseInbox),s=new o._5(r,e=>e.clearFilter),d=new o._5(r,e=>e.removeSortByOverrideAndReloadFolder)},185277:(e,t,n)=>{n.d(t,{Z:()=>a});var o=n(313380),r=n(248430),i=n(536994);let a={selectPrivateDistributionList:{name:"SelectPrivateDistributionList"},selectFavoriteSearch:{name:"TnS_SelectFavoriteSearch"},selectFavoriteCategory:{name:"TnS_SelectFavoriteCategory"},selectGroup:{name:"SelectGroup",options:{}},switchGroup:{name:r.CF,options:{},customData:(e,t)=>({TreeType:t,ListViewType:(0,o.VH)((0,i.$k)())})},navigateFromMeToWe:{name:r.HW,options:{},customData:(e,t)=>({TreeType:t,ListViewType:(0,o.VH)((0,i.$k)())})}}},51786:(e,t,n)=>{n.d(t,{Z:()=>m});var o=n(301579),r=n(634646),i=n(548923),a=n(692108),l=n(461788),s=n(770828),d=n(243162),c=n(395776),u=n(964627);async function m(e){(0,r.nn)(),s.fY.import().then(e=>{e("MailModuleNotificationBarHost")}),(0,a.Z)(l.Y.Mail).searchSessionGuid&&(await i.A1.import())(l.Y.Mail,e),(0,c.T)()&&(0,d._)()&&(0,u.Q)(!1),(0,o.Z)()}},301579:(e,t,n)=>{n.d(t,{Z:()=>d});var o=n(720001),r=n(75008),i=n(836479),a=n(954062),l=n(258597),s=n(994658);function d(){null===i.Z8.primaryComposeId||(0,s.Z)()?(0,l.gS)()&&(0,a.q)()&&(0,o.Z)("FolderNodeClick"):r.y1.importAndExecute(null)}},714995:(e,t,n)=>{n.d(t,{Z:()=>s});var o=n(330103);function r(){return(0,o.Z)("inbox")}var i=n(716266),a=n(382092),l=n(52924);function s(e,t){let n=r(),o="primaryFolderTree";n?((0,a.Ur)(n)&&!l.Z()?.UserOptions?.IsFavoritesFolderTreeCollapsed&&(o="favorites"),(0,i.Z)(n,o,e,void 0,t)):setTimeout(()=>{let n=r();(0,a.Ur)(n)&&!l.Z()?.UserOptions?.IsFavoritesFolderTreeCollapsed&&(o="favorites"),(0,i.Z)(n,o,e,void 0,t)},500)}},716266:(e,t,n)=>{let o;n.d(t,{Z:()=>W});var r=n(67199),i=n(277264),a=n(51786),l=n(338257),s=n(110363),d=n(817923),c=n(984737),u=n(324615),m=n(697399),p=n(438044),f=n(435136),g=n(313380),v=n(580596),h=n(574797),I=n(341032),S=n(330103),b=n(267264),w=n(92935),y=n(795839),P=n(258597),C=n(265198),E=n(954062),Z=n(17725),M=n(302140),T=n(754932),F=n(832033),k=n(850331),x=n(521150),R=n(11598),A=n(148372),D=n(26920),N=n(636283),_=n(206339),O=n(349868),L=n(505565),V=n(832256),B=n(345238),G=n(357555),U=n(298881);let H=(0,y.aD)("selectFolder",(e,t,n,o,r,i)=>{let a=(0,m.PZ)().id,l=e==a,s=(0,E.q)();return(0,b.i$)({name:"SwitchMailFolder",options:{variant:3,logVerbose:!0,eventTimestamp:i},customData:[(0,I.Z)(e),a?(0,I.Z)(a):"",t,n,(0,g.VH)((0,v.Sn)(e)),(0,D.I)(e),l,s],unifiedTelemetry:{eventName:"SwitchMailFolder",data:{FolderName:(0,I.Z)(a)}}},{folderId:e,treeType:t,previousFolderId:a,actionSource:n,folderNodeType:o,isNewFolderSameAsPreviousFolder:l,sessionData:r})}),W=H;function K(){(0,u.Fp)("selectFolder")}(0,y._F)(F.Z,e=>{let{folderIds:t,groupId:n}=e,o=(0,m.mU)(),r=(0,m.PZ)();for(let e=0;e<t.length;e++){let i=t[e];if(6===r.type){let e=r.groupId,t=r.mailboxInfo,a=(0,x.XB)(e,t);if(i===o&&a){(0,A.Z)(e,"inbox","groupFolderTree",t);break}if(e===n&&!a){(0,R.Z)(e,w.Ac,t);break}}else if(i===o){H((0,S.Z)("inbox"),"primaryFolderTree","ResetInbox");break}}}),(0,y._F)(H,async e=>{let{folderId:t,treeType:n,previousFolderId:u,actionSource:m,folderNodeType:v,isNewFolderSameAsPreviousFolder:b,sessionData:y}=e;if(o&&!o?.hasEnded){o.end(void 0,r.SO.BackgroundSuccess);let e=o?.getCustomData("E2ETimeElapsed");"number"==typeof e&&e>500&&(0,r.y8)("SwitchMailFolderAbandoned",[e,o?.getPropertyBag()?.owa_1,o?.getPropertyBag()?.owa_3,o?.getPropertyBag()?.owa_4,o?.getPropertyBag()?.isCached],{sessionSampleRate:10})}o=(0,r.qO)(e=>"SwitchMailFolder"==e.getEventName());let F=(0,E.q)(),x=s.ZP.folderTable.get(t);5===v&&(x=Z.Z.folderTable.get(t));let R=!1;!b&&x&&"number"==typeof x.SearchFolderTemplateId&&(R=!0,(0,r.y8)("TnS_SearchFolder_OpenFolder",{SearchFolderType:x.SearchFolderTemplateId})),o?.addCustomProperty("isSearchFolder",R),b||(0,L.rT)(t)||(0,B.Ov)(t)||(0,O.uY)("selectFolder");let A=Promise.resolve(),D=(0,g.ii)(),H=D&&1==D.tableQuery.type;b&&D&&!((0,P.gS)()&&(0,C.s)())&&(0,f.r)(D);let W=(0,g.$q)(D),z=b&&F&&W&&"All"!==W;if(!b||W&&"All"!==W){A=function(e,t,n,o,r,i){let a="";e&&(a=(0,S.Z)(e));let s=a||e;if(!s){let o=Error("CantSelectFolderWithEmptyFolderId");o.diagnosticInfo=JSON.stringify({treeType:t,ty:typeof e,actionSource:n,folderNodeType:r,fid:!!e,dty:typeof a,fity:typeof s}),(0,N.rx)(o)}return(0,l.Z)({id:s,type:null!=r?r:0,treeType:t},n,i,o)}(t,n,m,R,v,y);let e=(0,I.Z)(t);(0,d.Z)(t),x&&(0,s.I7)(x)&&"inbox"!==e&&e!==w._r&&(0,p.H)(t),x&&e===w.CJ?i.BY.importAndExecute(w._r,x.mailboxInfo):x&&e===w.SO&&i.BY.importAndExecute(w.Rg,x.mailboxInfo)}return setTimeout(K,0),(0,a.Z)(m),"ResetInbox"===m&&(0,h._F)((0,M.ZP)("oq4XNd"),"assertive"),A.then(()=>{o?.addCheckpoint("SMF_THEN"),(0,c.v)(t,u,H,D?.id,T.Z.Auto,F,m,!!(0,V.Z)(D)),z&&k.cF.importAndExecute(W,"Route")}),!b&&(0,_.cr)("storage-attachmentsSearchFolder-cleanup")&&(0,G.P)(u)&&(await U.aD.import())(),A}),(0,y.ed)(H,e=>{e.isNewFolderSameAsPreviousFolder&&(m.$h.selectedNode.treeType=e.treeType)})},220493:(e,t,n)=>{n.d(t,{Z:()=>d});var o=n(716266),r=n(714995),i=n(330103),a=n(382092),l=n(110363),s=n(52924);function d(e,t){let n=(0,i.Z)(e)||e;if(!function(e,t={folderTable:l.ZP.folderTable}){return!!t.folderTable.get(e)}(n)){(0,r.Z)(t);return}let d=s.Z()?.UserOptions?.IsFavoritesFolderTreeCollapsed;if((0,a.Ur)(n)&&!d){(0,o.Z)(n,"favorites",t);return}(0,o.Z)(n,"primaryFolderTree",t)}},11598:(e,t,n)=>{n.d(t,{Z:()=>I});var o=n(185277),r=n(338257),i=n(51786),a=n(600684),l=n(214491),s=n(810846),d=n(697399),c=n(795839),u=n(67199),m=n(360360),p=n(206339),f=n(240282);let g=(0,u.mn)(o.Z.switchGroup,function(e,t,n,o){return h(e,t,n,o)}),v=(0,u.mn)(o.Z.navigateFromMeToWe,function(e,t,n,o){return h(e,t,n,o)});function h(e,t,n,o){return(0,r.Z)({id:e,type:2,treeType:t,mailboxInfo:n},o).then(()=>{(0,m.T)(null)})}let I=(0,u.mn)(o.Z.selectGroup,async function(e,t,n,o,r,c){let u=(0,d.PZ)(),m=Promise.resolve();if(u.id&&u.id.toLowerCase()===e.toLowerCase()&&u.mailboxInfo&&u.mailboxInfo.userIdentity===n.userIdentity)S(t);else if(6===u.type&&u.groupId.toLowerCase()===e.toLowerCase())h(e,t,n,o);else{2===u.type||6===u.type?g(e,t,n,o):v(e,t,n,o);let i=()=>{a.xr.importAndExecute(e,n),r&&r()},d=[a.Dl.import().then(t=>{t(e,n,!0,i,c)}),s.dO.importAndExecute(n)];(0,p.cr)("grp-loadFolders")&&!(0,f.Z)(void 0,n)&&d.push(l.uc.importAndExecute(e,n)),m=Promise.all(d).then(()=>a.Yd.importAndExecute(e,n))}(0,i.Z)(),await m}),S=(0,c.lr)("setSelectedNodeTreeType",e=>{d.$h.selectedNode.treeType=e})},148372:(e,t,n)=>{n.d(t,{Z:()=>u});var o=n(338257),r=n(51786),i=n(697399),a=n(845407),l=n(277264),s=n(92935),d=n(521150);let c=(0,a.aD)("selectGroupFolderInternal")(function(e,t,n,r){return(0,o.Z)({id:t,type:6,treeType:n,groupId:e,mailboxInfo:r})}),u=(0,a.aD)("selectGroupFolder")(async function(e,t,n,o,a={selectedNode:i.$h.selectedNode}){let u=t;("inbox"===t||"deleteditems"===t)&&(u=(0,d.Ur)(e,t,o));let m=(0,i.PZ)();m.mailboxInfo&&m.mailboxInfo.userIdentity.toLowerCase()!==o.userIdentity.toLowerCase()?(await l.fT.importAndExecute(e,s.Ac,o),c(e,u,n,o)):6===m.type&&m.groupId&&m.groupId.toLowerCase()===e.toLowerCase()&&m.id&&m.id.toLowerCase()===u.toLowerCase()?(a.selectedNode.treeType=n,a.selectedNode.groupId=e,a.selectedNode.id=u):(6===m.type&&m.groupId&&m.groupId.toLowerCase()===e.toLowerCase()&&m.id&&m.id.toLowerCase()!==u.toLowerCase()||(6===m.type&&m.groupId&&(m.groupId.toLowerCase(),e.toLowerCase()),await l.fT.importAndExecute(e,s.Ac,o)),c(e,u,n,o)),(0,r.Z)()})},338257:(e,t,n)=>{n.d(t,{Z:()=>P});var o=n(636006),r=n(939129),i=n(382092),a=n(536994),l=n(985062),s=n(580596),d=n(639611),c=n(530570),u=n(289126),m=n(263377),p=n(295530),f=n(206339);async function g(e,t,n,g){let v;switch(e.type){case 0:let h=(0,d.Z)(e.id),I=(0,s.aH)();v=(0,p.Z)(e.id,(0,s.Sn)(e.id),I?"mailFolderSortBySize":g&&(0,f.cr)("fp-searchFolder-folderTags")?"searchFolder":"mail",void 0,void 0,void 0,h.sortColumn&&h.sortOrder?{sortColumn:h.sortColumn,sortDirection:h.sortOrder}:void 0);break;case 4:let S=e.id,b=i.gT.outlookFavorites.get((0,i.xl)(S)),w=(0,o.Q)();if((0,l.el)(S)){let e=(0,r.eE)(S,(0,r.C)(b?.mailboxInfo??w));v=(await c.EE.import())(e,(0,s.Sn)(S))}else v=(0,m.Z)(S,b?.mailboxInfo??w);break;case 1:v=e.isSearchFolderPopulated?(0,p.Z)(e.searchFolderId,(0,s.Sn)(e.searchFolderId),"persona"):(await c.Gq.import())(e.displayName,e.allEmailAddresses,(0,s.Sn)(e.id));break;case 2:v=(0,a.tR)(e.id,(0,a.$k)(),e.mailboxInfo);break;case 6:v=(0,a.PR)(e.groupId,e.id,(0,a.$k)(),e.mailboxInfo,void 0,void 0);break;case 5:v=(0,p.Z)(e.id,1,"mail")}if(v)return(0,u.WH)(v,void 0,t,n)}var v=n(540165),h=n(436571),I=n(418524),S=n(136851),b=n(313380),w=n(795839),y=n(697399);function P(e,t,n,o){let r=(0,y.bh)();if(1===r.selectedNode.type&&l.YW.importAndExecute(r.selectedNode),2===r.selectedNode.type){if("DeleteGroup"!=t){let t=(0,b.ii)();t&&I.Vd.importAndExecute(e.mailboxInfo,(0,S.Is)(t.tableQuery))}2!==e.type&&(0,v.Z)(h.Z.Email)}let i={...e};return C(i),g(i,t,n,o)}let C=(0,w.lr)("setSelectedFolderNode",e=>{(0,y.bh)().selectedNode=e})},338822:(e,t,n)=>{n.d(t,{BL:()=>s,wM:()=>l,cl:()=>d.cl,d9:()=>d.d9,J2:()=>d.J2,he:()=>d.he,fT:()=>d.fT,C3:()=>d.C3,FE:()=>d.FE,K$:()=>d.K$,nX:()=>d.nX,wT:()=>o.Z,au:()=>r.Z,vw:()=>i.Z});var o=n(714995),r=n(716266),i=n(220493),a=n(697399);function l(e,t,n){let o=(0,a.PZ)();return o?.id!==void 0&&o.mailboxInfo==n&&o.treeType===t&&e?.toLowerCase()===o?.id?.toLowerCase()}function s(e,t,n,o){let r=(0,a.PZ)();return!!(r?.id&&r?.groupId&&r?.mailboxInfo)&&r.treeType===n&&e.toLowerCase()===r.groupId.toLowerCase()&&t.toLowerCase()===r.id.toLowerCase()&&o.userIdentity.toLowerCase()===r.mailboxInfo.userIdentity.toLowerCase()}var d=n(277264)},277264:(e,t,n)=>{n.d(t,{BY:()=>d,C3:()=>h,FE:()=>f,J2:()=>p,K$:()=>c,cl:()=>v,d9:()=>g,fT:()=>m,he:()=>u,nX:()=>I});var o=n(402392),r=n(725553),i=n(402376),a=n(509644),l=n(2270);let s=new o.nI(()=>Promise.all([n.e(788521),n.e(739143),n.e(330028)]).then(n.bind(n,657908)),{name:"FolderForestActions"}),d=new o._5(s,e=>e.loadDumpster),c=new o._5(s,e=>e.toggleFavoriteFolder),u=new o._5(s,e=>e.selectFavoriteSearch),m=new o._5(s,e=>e.selectGroup),p=new o._5(s,e=>e.selectFavoriteCategory),f=new o._5(s,e=>e.selectPersona),g=new o._5(s,e=>e.prefetchFrequentlyUsedFolders),v=new o._5(s,e=>e.logConsumerDeletedRetentionPolicy);new o._5(s,e=>e.loadPopoutDataToFolderStore),new o._5(s,e=>e.loadPopoutDataToPublicFolderFavoriteStore);let h=new o._5(s,e=>e.selectGroupFolder),I=new o.EF(s,e=>e.tryLoadAttachmentsSearchFolder);(0,o.Kv)(r.b,s,e=>e.selectPreviousNodeOrchestrator),(0,o.Kv)(i.i,s,e=>e.validateDumpsterQuotaOrchestrator),(0,o.Kv)(a.Z,s,e=>e.onFavoritesLoadedOrchestrator),(0,o.Kv)(l.P,s,e=>e.onLeaveGroupSuccessOrchestrator)},836440:(e,t,n)=>{n.d(t,{A:()=>b});var o=n(206339),r=n(97256),i=n(110363),a=n(302140),l=n(901111),s=n(266243),d=n(249665),c=n(7839),u=n(176576),m=n(973002),p=n(991736),f=n(858867),g=n(137126),v=n(298881),h=n(580596),I=n(716266);let S="b9Epud";async function b(e,t,n){if(e&&(0,o.cr)("storage-attachmentsSearchFolder-cleanup",t)){let n={id:e,displayName:(0,a.ZP)(S),mailboxInfo:t},o=await (0,p.Z)({Header:(0,l.F)(),Body:(0,c.Z)({FolderShape:(0,d.Z)({BaseShape:"IdOnly",AdditionalProperties:[(0,u.Z)({FieldURI:"ParentFolderId"}),(0,u.Z)({FieldURI:"FolderClass"})]}),FolderIds:[(0,s.Z)({Id:e})]})},(0,m.Z)(t)),b=o?.Body?.ResponseMessages?.Items?.[0]?.Folders?.[0];if(b){let o=(0,r.h3)(b,t);if(o){o.displayName=(0,a.ZP)(S),o.childFolderIds=[],(0,i.Xe)().set(e,o),(0,i.t0)(t),(0,f.Z)(g.P,e,t),h.gu.importAndExecute(),(0,I.Z)(n.id,"primaryFolderTree","QuickSwitcher"),(await v._g.import())(t);return}}}n&&window.open("https://outlook.live.com/mail/?Mode=FreeUpMSQSpace&login_hint="+t.mailboxSmtpAddress,"_blank")}},839254:(e,t,n)=>{n.d(t,{C:()=>a});var o=n(817923),r=n(402392);let i=new r.nI(()=>n.e(219702).then(n.bind(n,219702)),{name:"FolderOrchestration"}),a=new r._5(i,e=>e.areOutboxCountsLoaded);(0,r.Kv)(o.Z,i,e=>e.getFolderDataOrchestrator)},917120:(e,t,n)=>{n.d(t,{ZP:()=>d,dk:()=>s});var o=n(822566),r=n(52461),i=n(52924),a=n(636283),l=n(110363);let s=!1;function d(){if(s)return;let e=!1,t=(0,i.Z)().UserOptions;t?.FrequentlyUsedFolders&&t.FrequentlyUsedFolders.forEach(t=>{try{let n=JSON.parse(t);(0,l.Xe)().get(n.FolderId)?r.UY.push(n):e=!0}catch(t){a.g4.warn("Unable to parse frequently used folders"),e=!0}}),s=!0,e&&(0,o.Z)()}},438044:(e,t,n)=>{n.d(t,{o:()=>s.o,H:()=>l});var o=n(822566),r=n(52461),i=n(917120);let a=7*864e5;function l(e){let t=!1;if(i.dk){for(let n=r.UY.length-1;n>=0;n--){let o=r.UY[n];if(o.FolderId==e)o.Weight+=5,o.Weight=Math.min(o.Weight,20),o.lvt=new Date().toISOString(),t=!0;else if(o.Weight--,o.Weight=Math.max(o.Weight,0),o.Weight<=0){let e=Math.abs(Date.now()-Date.parse(o.lvt));e<a&&e>=0||r.UY.splice(n,1)}}t||r.UY.push({FolderId:e,Weight:r.GY,lvt:new Date().toISOString()}),(0,r.Hw)(r.UY.sort((e,t)=>e.Weight==t.Weight?Math.abs(Date.parse(t.lvt)-Date.parse(e.lvt)):t.Weight-e.Weight)),(0,o.Z)()}}var s=n(126893)},822566:(e,t,n)=>{n.d(t,{Z:()=>a});var o=n(777023),r=n(52461),i=n(636283);function a(){let e=[];r.UY.forEach(t=>{e.push(JSON.stringify(t))}),(0,o.o)({UserOptions:{FrequentlyUsedFolders:e}}).catch(e=>{i.g4.warn(`saveFrequentlyUsedFolders: ${e}`)})}},52461:(e,t,n)=>{n.d(t,{GY:()=>o,Hw:()=>i,UY:()=>r});let o=10,r=[];function i(e){(r=e).splice(o)}},126893:(e,t,n)=>{n.d(t,{o:()=>o});let o="#"},627761:(e,t,n)=>{n.d(t,{F:()=>o});let o={}},26920:(e,t,n)=>{n.d(t,{I:()=>r});var o=n(627761);function r(e){return o.F[e]}},712728:(e,t,n)=>{n.d(t,{I:()=>r,n:()=>i});var o=n(720742);function r(e,t,n){a({anchor:e,menuType:t,menuSource:n})}function i(){a(null)}let a=(0,n(795839).lr)("setItemContextMenuState",e=>{(0,o.Z)().itemContextMenuState=e})},881041:(e,t,n)=>{n.d(t,{Z:()=>I});var o=n(295696),r=n(313380),i=n(198453),a=n(20443),l=n(445e3),s=n(266243),d=n(779397),c=n(206339),u=n(67199),m=n(341032),p=n(110363),f=n(839254),g=n(107894);async function v(e,t){try{if("outbox"==(0,m.Z)(e.serverFolderId)){let n=p.ZP.folderTable.get(e.serverFolderId);if(n&&0==n.totalMessageCount&&await f.C.importAndExecute(t))return!0}}catch{}return!1}var h=n(636283);function I(e,t,n,m,f){if(e.isInitialLoadComplete&&0===e.loadErrorStatus&&(0,p.p$)(e.tableQuery.folderId,"UserMailbox")&&(0,c.cr)("mon-avoid-duplicate-rows-requests"))return Promise.resolve();switch(S(e),e.tableQuery.listViewType){case 0:return function(e,t,n,c,u){let m=e.tableQuery,p=(0,r.sp)(e,!0),f=p?.Id,g=m.viewFilter&&"All"!==m.viewFilter,{sortColumn:v,sortDirection:h}=r.WR.getDefaultSortBy(),I=m.sortBy&&(m.sortBy.sortColumn!==v||m.sortBy.sortDirection!==h);return(0,l.V8)(m.folderId,m.sortBy?.sortColumn===16?500:a.bm,m.viewFilter,m.sortBy,(0,a.OX)(m),m.focusedViewFilter,m.requestShapeName,(0,i.vv)(m),"mailFolderSortBySize"===m.scenarioType,void 0,m.categoryName,f,{datapoint:{customData:{scenarioType:m.scenarioType,isPrefetch:t,isFilter:g,isSort:I}}},c,t,void 0,u).then(r=>{let i=[];r?.edges&&(i=r.edges.map(e=>e.node)),(0,o.Z)(e,i,r?.totalConversationRowsInView??0,r?.searchFolderId?(0,s.Z)({Id:r.searchFolderId}):void 0,r?.folderId?(0,s.Z)({Id:r.folderId}):void 0),n(e,!0,"200",t)}).catch(o=>(n(e,!1,(0,d.O)(o),t),Promise.reject(o)))}(e,t,n,m,f);case 1:return function(e,t,n,m){let p=e.tableQuery;if(!(0,c.cr)("mon-messageList-useGqlForFindItem"))return(0,l.VP)((0,r.rh)(p),a.bm,p.viewFilter,(0,a.AD)(p),p.focusedViewFilter,p.requestShapeName,m,(0,i.H2)(p),p.categoryName,(0,r.sp)(e,!0)).then(r=>{let i=Promise.resolve(),a=r?.ResponseClass=="Success",l=[];return r?.RootFolder?.Items&&(l=r.RootFolder.Items.map(e=>e)),a?(0,o.Z)(e,l,r.RootFolder?.TotalItemsInView??0,r.SearchFolderId,void 0):i=Promise.reject((0,g.Z)(r?.ResponseCode,r?.StackTrace,r?.MessageText)),n(e,a,r?.ResponseCode??"",t),i},o=>(n(e,!1,o?.response?.status||"",t),Promise.reject(o)));{let c=(0,u.qO)(e=>"SwitchMailFolder"==e.getEventName());c?.addCheckpoint("SMF_GetItemRows");let f=(0,i.vv)(p);return(0,l.jU)((0,r.rh)(p),p.sortBy?.sortColumn===16?500:a.bm,p.viewFilter,p.sortBy,(0,a.OX)(p),p.focusedViewFilter,p.requestShapeName,f,m,(0,i.H2)(p),p.categoryName,"mailFolderSortBySize"===p.scenarioType,(0,r.sp)(e,!0),void 0,t).then(r=>{let i=Promise.resolve(),a=[];return r?.edges&&(a=r.edges.map(e=>e.node)),(0,o.Z)(e,a,r?.totalItemRowsInView??0,r?.searchFolderId?(0,s.Z)({Id:r.searchFolderId}):void 0,void 0),n(e,!0,"200",t),c?.addCheckpoint("SMF_GIR_Then"),i}).catch(async o=>(c?.addCheckpoint("SMF_GIR_Error"),await v(e,f))?(c?.addCustomData({errorMessage:o.message}),c?.end(),n(e,!0,"200",t),Promise.resolve()):(n(e,!1,(0,d.O)(o),t),Promise.reject(o)))}}(e,t,n,m);default:return h.g4.warn("listViewType: "+e.tableQuery.listViewType+" is not supported."),Promise.resolve()}}let S=(0,n(795839).lr)("setTableViewLoading",e=>{e.isLoading=!0,e.loadErrorStatus=0})},295696:(e,t,n)=>{n.d(t,{Z:()=>d});var o=n(20443),r=n(391574),i=n(313380),a=n(845407),l=n(206339),s=n(128013);let d=(0,a.aD)("onLoadInitialRowsSucceeded")(function(e,t,n,a,d){(2==e.tableQuery.type||(0,l.cr)("grp-loadFolders")&&3==e.tableQuery.type)&&d&&(e.serverFolderId=d.Id),a&&(e.serverFolderId=a.Id);let c=(0,i.JF)(e);if((0,r.gQ)(t,e,n,c,e.isInitialLoadComplete,"MergeOnInitialRowsFetch"),e.currentLoadedIndex=Math.min(o.Ef,e.rowKeys.length),(0,l.cr)("tri-message-list-reactions")){let n=[];t.forEach(e=>{(e.ReactionsCount??0)>0&&e.InstanceKey&&n.push(e.InstanceKey)}),n.length>0&&s.V.importAndExecute(e,n)}})},964886:(e,t,n)=>{n.d(t,{D7:()=>a.Z,Mk:()=>l.Z,nP:()=>s.Z});var o=n(402392),r=n(538477),i=n(234393),a=n(342362);n(189243);var l=n(70479),s=n(881041),d=n(613685),c=n(313380);(0,n(795839).ed)(d.Z,e=>{(0,c.bh)().tableViews.get(e.tableViewId).currentLoadedIndex=e.currentLoadedIndexToSet});let u=new o.nI(()=>n.e(927041).then(n.bind(n,927041)));(0,o.Kv)(r.AT,u,e=>e.mailListItemExpansionOrchestrators),(0,o.Kv)(i.Z,u,e=>e.emptyFolderStoreUpdateOrchestrator)},342362:(e,t,n)=>{let o;n.d(t,{Z:()=>i});var r=((o=r||{})[o.None=-1]="None",o[o.Categories=0]="Categories",o[o.ImportanceHigh=1]="ImportanceHigh",o[o.Attachment=2]="Attachment",o[o.MailListViewReplied=3]="MailListViewReplied",o[o.MailListViewForwarded=4]="MailListViewForwarded",o[o.MailListViewIRM=5]="MailListViewIRM",o[o.MailListViewIRMReplied=6]="MailListViewIRMReplied",o[o.MailListViewIRMForwarded=7]="MailListViewIRMForwarded",o[o.MailListViewVoiceMailItem=8]="MailListViewVoiceMailItem",o[o.MailListViewVoiceMailReplied=9]="MailListViewVoiceMailReplied",o[o.MailListViewVoiceMailForwarded=10]="MailListViewVoiceMailForwarded",o[o.MailListViewVoiceMailIRM=11]="MailListViewVoiceMailIRM",o[o.MailListViewFaxItem=12]="MailListViewFaxItem",o[o.MailListViewAppointmentItem=13]="MailListViewAppointmentItem",o[o.MailListViewAppointmentAccepted=14]="MailListViewAppointmentAccepted",o[o.MailListViewAppointmentDeclined=15]="MailListViewAppointmentDeclined",o[o.MailListViewAppointmentTentative=16]="MailListViewAppointmentTentative",o[o.MailListViewAppointmentCanceled=17]="MailListViewAppointmentCanceled",o[o.MailListViewContactItem=18]="MailListViewContactItem",o[o.MailListViewTaskItem=19]="MailListViewTaskItem",o[o.MailListViewTaskReocurItem=20]="MailListViewTaskReocurItem",o[o.MailListViewJournalItem=21]="MailListViewJournalItem",o[o.MailListViewPostItem=22]="MailListViewPostItem",o[o.MailListViewNoteItem=23]="MailListViewNoteItem",o[o.MailListViewDelivery=24]="MailListViewDelivery",o[o.MailListViewNonDelivery=25]="MailListViewNonDelivery",o[o.MailListViewApprovalRequest=26]="MailListViewApprovalRequest",o[o.MailListViewResponseApprove=27]="MailListViewResponseApprove",o[o.MailListViewResponseReject=28]="MailListViewResponseReject",o[o.MailListViewOutOfOffice=29]="MailListViewOutOfOffice",o[o.MailListViewReadReport=30]="MailListViewReadReport",o[o.MailListViewReminderMessage=31]="MailListViewReminderMessage",o[o.Smime=32]="Smime",o[o.TrustedSender=33]="TrustedSender",o[o.Charm=34]="Charm",o[o.ImportanceLow=35]="ImportanceLow",o[o.GlobalMentionedMe=36]="GlobalMentionedMe",o[o.Snooze=37]="Snooze",o[o.ReadGlobalMentionedMe=38]="ReadGlobalMentionedMe",o[o.Link=39]="Link",o[o.MailDismiss=40]="MailDismiss",o[o.SenderGroupings=41]="SenderGroupings",o[o.MailListViewAppointmentFollow=42]="MailListViewAppointmentFollow",o);let i=r},189243:(e,t,n)=>{n.d(t,{Z:()=>m,I:()=>u});var o=n(342362);let r=function(){let e={};return e["MailReplied".toString()]=o.Z.MailListViewReplied,e["MailForwarded".toString()]=o.Z.MailListViewForwarded,e["MailIrm".toString()]=o.Z.MailListViewIRM,e["MailIrmReplied".toString()]=o.Z.MailListViewIRMReplied,e["MailIrmForwarded".toString()]=o.Z.MailListViewIRMForwarded,e}();function i(){let e={};return e["MailReplied".toString()]=o.Z.MailListViewVoiceMailReplied,e["MailForwarded".toString()]=o.Z.MailListViewVoiceMailForwarded,e["Default".toString()]=o.Z.MailListViewVoiceMailItem,e}function a(){let e={};return e["MailReplied".toString()]=o.Z.MailListViewVoiceMailIRM,e["Default".toString()]=o.Z.MailListViewVoiceMailIRM,e}let l=function(){let e={};e["ipm.note"]=r,e["ipm.note.irm"]=function(){let e={};return e["MailReplied".toString()]=o.Z.MailListViewIRMReplied,e["MailForwarded".toString()]=o.Z.MailListViewIRMForwarded,e["Default".toString()]=o.Z.MailListViewIRM,e["MailIrmReplied".toString()]=o.Z.MailListViewIRMReplied,e["MailIrmForwarded".toString()]=o.Z.MailListViewIRMForwarded,e}(),e["ipm.note.microsoft.exchange.voice.um.ca"]=i(),e["ipm.note.microsoft.exchange.voice.um"]=i(),e["ipm.note.microsoft.voicemail.um.ca"]=i(),e["ipm.note.microsoft.voicemail.um"]=i(),e["ipm.note.rpmsg.microsoft.voicemail.um.ca"]=a(),e["ipm.note.rpmsg.microsoft.voicemail.um"]=a();let t={};return t["Default".toString()]=o.Z.MailListViewFaxItem,e["ipm.note.microsoft.exchange.fax.ca"]=t,e["ipm.note.microsoft.exchange.fax.um.ca"]=t,e["ipm.note.microsoft.fax.ca"]=t,(t={})["Default".toString()]=o.Z.MailListViewAppointmentItem,e["ipm.appointment"]=t,e["ipm.schedule.meeting.request"]=t,(t={})["AppointmentMeetCancel".toString()]=o.Z.MailListViewAppointmentCanceled,t["Default".toString()]=o.Z.MailListViewAppointmentCanceled,e["ipm.schedule.meeting.canceled"]=t,(t={})["Default".toString()]=o.Z.MailListViewContactItem,e["ipm.contact"]=t,e["ipm.distlist"]=t,(t={})["TaskRecur".toString()]=o.Z.MailListViewTaskReocurItem,t["TaskItem".toString()]=o.Z.MailListViewTaskItem,t["TaskOwned".toString()]=o.Z.MailListViewTaskItem,t["TaskDelegated".toString()]=o.Z.MailListViewTaskItem,t["Default".toString()]=o.Z.MailListViewTaskItem,e["ipm.task"]=t,(t={})["Default".toString()]=o.Z.MailListViewJournalItem,e["ipm.activity"]=t,(t={})["Default".toString()]=o.Z.MailListViewPostItem,e["ipm.post"]=t,(t={})["Default".toString()]=o.Z.MailListViewNoteItem,e["ipm.stickynote"]=t,(t={})["Default".toString()]=o.Z.MailListViewNonDelivery,e["report.ipm.note.ndr"]=t,e["report.ipm.ndr"]=t,e["report.ipm.note.mobile.sms.ndr"]=t,e["report.ipm.schedule.meeting.resp.neg.ndr"]=t,e["report.ipm.schedule.meeting.resp.pos.ndr"]=t,e["report.ipm.schedule.meeting.resp.tent.ndr"]=t,e["report.ipm.taskrequest.ndr"]=t,e["report.ipm.oof.ndr"]=t,e["report.report.ipm.note.ipnnrn.ndr"]=t,e["report.ipm.note.smime.ndr"]=t,e["report.ipm.note.smime.multipartsigned.ndr"]=t,(t={})["Default".toString()]=o.Z.MailListViewDelivery,e["report.ipm.note.dr"]=t,e["report.ipm.dr"]=t,e["report.ipm.schedule.meeting.request.dr"]=t,e["report.ipm.note.smime.dr"]=t,e["report.ipm.note.smime.multipartsigned.dr"]=t,(t={})["Default".toString()]=o.Z.MailListViewApprovalRequest,e["ipm.note.microsoft.approval.request"]=t,(t={})["Default".toString()]=o.Z.MailListViewResponseApprove,e["ipm.note.microsoft.approval.reply.approve"]=t,(t={})["Default".toString()]=o.Z.MailListViewResponseReject,e["ipm.note.microsoft.approval.reply.reject"]=t,(t={})["Default".toString()]=o.Z.MailListViewOutOfOffice,e["ipm.note.rules.ooftemplate.microsoft"]=t,(t={})["Default".toString()]=o.Z.MailListViewReadReport,e["report.ipm.note.ipnrn"]=t,(t={})["Default".toString()]=o.Z.MailListViewReminderMessage,e["ipm.note.reminder.event"]=t,e}(),s=function(){let e={},t={};return t["AppointmentMeetYes".toString()]=o.Z.MailListViewAppointmentAccepted,t["Default".toString()]=o.Z.MailListViewAppointmentAccepted,e["ipm.schedule.meeting.resp.pos"]=t,(t={})["AppointmentMeetMaybe".toString()]=o.Z.MailListViewAppointmentTentative,t["Default".toString()]=o.Z.MailListViewAppointmentTentative,e["ipm.schedule.meeting.resp.tent"]=t,(t={})["AppointmentMeetFollow".toString()]=o.Z.MailListViewAppointmentFollow,t["Default".toString()]=o.Z.MailListViewAppointmentFollow,e["ipm.schedule.meeting.resp.tent.follow"]=t,(t={})["AppointmentMeetNo".toString()]=o.Z.MailListViewAppointmentDeclined,t["Default".toString()]=o.Z.MailListViewAppointmentDeclined,e["ipm.schedule.meeting.resp.neg"]=t,e}();function d(e,t,n){let r=e[t];return r?.[n]?r[n.toString()]:o.Z.None}function c(e,t){let n=d(s,e,t);return n==o.Z.None&&Object.keys(s).forEach(n=>{if(0==e.indexOf(n)&&n[t.toString()])return n[t.toString()]}),n}function u(e){return e&&-1!=e.toLowerCase().indexOf("ipm.schedule.meeting")}function m(e,t,n){if(n)switch(t){case"MailReplied":t="MailIrmReplied";break;case"MailForwarded":t="MailIrmForwarded";break;default:t="MailIrm"}let i=!1;if(e&&e.length>0){let n=e.length;if(1==n)return function(e,t){if(t||(t="Default"),!e)return o.Z.None;let n=d(l,e=e.toLowerCase(),t);return n==o.Z.None&&(n=d(l,e,"Default")),n===o.Z.None&&(n=c(e,t)),n===o.Z.None&&(n=c(e,"Default")),n}(e[0],t);for(let t=0;t<n;t++)if(!u(e[t])){i=!0;break}}else i=!0;return i&&t?r[t.toString()]:o.Z.MailListViewAppointmentItem}},70479:(e,t,n)=>{n.d(t,{Z:()=>R});var o=n(342362),r=n(449875),i=n(45494),a=n(838446),l=n(455868),s=n(979305),d=n(914078),c=n(212631),u=n(527276),m=n(112682),p=n(722089),f=n(428926),g=n(913467),v=n(803234),h=n(187773);let I=(0,v.M)("VoicemailRegular",h.PZ5);var S=n(939329),b=n(847924),w=n(225435);let y=(0,v.M)("CheckboxCheckedRegular",w.rdU),P=(0,v.M)("CalendarSyncRegular",w.LDN);var C=n(525072),E=n(811644),Z=n(191488);let M=(0,v.M)("ArrowCircleRightRegular",Z.Fx2);var T=n(992496),F=n(515640),k=n(38284),x=n(651380);function R(e){switch(e){case o.Z.GlobalMentionedMe:return{iconName:i.Z};case o.Z.Attachment:return{iconName:r.Z};case o.Z.ImportanceLow:return{iconName:S.Z};case o.Z.ImportanceHigh:return{iconClasses:"od8q2",iconName:b.Z};case o.Z.Snooze:return{iconClasses:"Fmuck",iconName:l.Z};case o.Z.MailListViewReplied:return{iconName:s.Z};case o.Z.MailListViewForwarded:return{iconName:d.Z};case o.Z.MailListViewIRM:case o.Z.MailListViewIRMReplied:case o.Z.MailListViewIRMForwarded:return{iconName:c.Z};case o.Z.MailListViewVoiceMailItem:return{iconName:I};case o.Z.MailListViewVoiceMailReplied:return{iconName:"VoicemailReply"};case o.Z.MailListViewVoiceMailForwarded:return{iconName:"VoicemailForward"};case o.Z.MailListViewVoiceMailIRM:return{iconName:"VoicemailIRM"};case o.Z.MailListViewFaxItem:return{iconName:"Fax"};case o.Z.MailListViewAppointmentItem:return{iconName:u.Z};case o.Z.MailListViewAppointmentAccepted:return{iconName:m.Z};case o.Z.MailListViewAppointmentDeclined:return{iconName:p.Z};case o.Z.MailListViewAppointmentTentative:return{iconName:f.Z};case o.Z.MailListViewAppointmentFollow:return{iconName:g.Z};case o.Z.MailListViewAppointmentCanceled:return{iconName:p.Z};case o.Z.MailListViewContactItem:return{iconName:"ContactCard"};case o.Z.MailListViewTaskItem:return{iconName:y};case o.Z.MailListViewTaskReocurItem:return{iconName:P};case o.Z.MailListViewJournalItem:return{iconName:C.Z};case o.Z.MailListViewPostItem:return{iconName:"NotePinned"};case o.Z.MailListViewNoteItem:return{iconName:E.Z};case o.Z.MailListViewDelivery:return{iconName:M};case o.Z.MailListViewNonDelivery:case o.Z.MailListViewApprovalRequest:case o.Z.MailListViewResponseApprove:case o.Z.MailListViewResponseReject:return{iconName:"ReceiptReply"};case o.Z.MailListViewOutOfOffice:return{iconName:T.Z};case o.Z.MailListViewReadReport:return{iconName:F.Z};case o.Z.MailListViewReminderMessage:return{iconName:"Ringer"};case o.Z.Link:return{iconName:a.Z};case o.Z.MailDismiss:return{iconName:k.Z};case o.Z.SenderGroupings:return{iconName:x.Z};default:throw Error("No CSS class icon for the given property icon")}}},853436:(e,t,n)=>{n.d(t,{Z:()=>a});var o=n(313380),r=n(20443),i=n(341032);function a(e,t,n,a){let l=new Date("drafts"===(0,i.Z)(a.tableQuery.folderId)?o.H4.getLastModifiedTimeStamp(n,a):o.H4.getLastDeliveryTimeStamp(n,a)).getTime()-new Date(t).getTime();return(0,r.OX)(a.tableQuery)&&new Date(o.H4.getLastDeliveryOrRenewTimeStamp(n,a)).getTime()-new Date(e).getTime()||l}},300333:(e,t,n)=>{n.d(t,{Z:()=>o});function o(e,t){let n,o,r;switch(t){case 0:n=e.LastDeliveryOrRenewTime,o=e.LastDeliveryTime,r=e.LastModifiedTime;break;case 1:n=e.ReceivedOrRenewTime,o=e.DateTimeReceived,r=e.LastModifiedTime}return{lastDeliveryOrRenewTimeStamp:n,lastDeliveryTimeStamp:o,lastModifiedTime:r}}},739921:(e,t,n)=>{n.d(t,{W3:()=>u,ZP:()=>d,s9:()=>c});var o=n(20443),r=n(313380),i=n(636283),a=n(277167),l=n(645225),s=n(206339);function d(e,t){let n=!1;switch(t.tableQuery.listViewType){case 0:let o=e.InstanceKey?(0,a.Z)(e.InstanceKey,t.id):void 0;o&&(n=c(t.tableQuery,o,e));break;case 1:let r=e?.ItemId?.Id,i=r?l.Z?.items?.get(r):void 0;i&&(n=u(t.tableQuery,e,i))}return n}let c=function(e,t,n,a={listViewStore:(0,r.bh)()}){if(!(0===e.type||2===e.type||(0,s.cr)("grp-loadFolders")&&3===e.type))return i.rx("isConversationSortKeyEqual should not be called on non MailFolderTableQuery type"),!1;let l=e.sortBy;if(!l)throw Error("SortBy should not be null");let d=t.instanceKey===n.InstanceKey,c=function(e,t,n){if(n?.LastDeliveryTime===void 0)return!1;let r=new Date(t.lastDeliveryTimeStamp).getTime()===new Date(n.LastDeliveryTime).getTime();return(0,o.OX)(e)?n?.LastDeliveryOrRenewTime!==void 0&&new Date(t.lastDeliveryOrRenewTimeStamp).getTime()===new Date(n.LastDeliveryOrRenewTime).getTime()&&r:r}(e,t,n);if(!d||!c)return!1;let u=a.listViewStore.conversationItems.get(t.id);switch(l.sortColumn){case 1:case 3:case 15:return!0;case 5:return u?.subject===n.ConversationTopic;case 8:return t.importance===n.Importance;case 7:return n.Size===u?.size;case 9:return p(t.uniqueRecipients,n.UniqueRecipients);case 16:return p(t.categories,n.Categories);default:return i.g4.warn("isSortKeyEqual: sortColumn not supported "+l.sortColumn),!1}};function u(e,t,n){if(!(0==e.type||2===e.type||(0,s.cr)("grp-loadFolders")&&3===e.type))return i.rx("isItemSortKeyEqual should not be called on non MailFolderTableQuery type"),!1;let r=e.sortBy;if(!r)throw Error("SortBy should not be null");let a=t.InstanceKey===n.InstanceKey,l=function(e,t,n){if(t?.DateTimeReceived===void 0||n?.DateTimeReceived===void 0)return!1;let r=new Date(t.DateTimeReceived).getTime()===new Date(n.DateTimeReceived).getTime();return(0,o.OX)(e)?t?.ReceivedOrRenewTime!==void 0&&n?.ReceivedOrRenewTime!==void 0&&new Date(t.ReceivedOrRenewTime).getTime()===new Date(n.ReceivedOrRenewTime).getTime()&&r:r}(e,t,n),d=a&&l;if(14===r.sortColumn){let e=!!t.ItemId?.Id&&t.ItemId?.Id===n.ItemId?.Id;d=l&&e}if(!d)return!1;switch(r.sortColumn){case 1:return!0;case 5:return t.Importance===n.Importance;case 8:return t.Subject===n.Subject;case 14:case 16:return p(t.Categories,n.Categories);case 3:let c=m(t),u=m(n);if(!c||!u)return!0;{let e=c?.From?.Mailbox?.EmailAddress,t=u?.From?.Mailbox?.EmailAddress;if(void 0===e||void 0===t)return!1;return e===t}case 9:return t.DisplayTo===n.DisplayTo;case 7:return t.Size===n.Size;default:return i.g4.warn("isSortKeyEqual: sortColumn not supported "+r.sortColumn),!1}}function m(e){return e?.ItemClass?.indexOf("IPM.Schedule.Meeting")!==-1||e?.ItemClass?.indexOf("IPM.Note")!==-1?e:null}let p=(e,t)=>{if(!e&&!t)return!0;if(e?.length!==t?.length||!e||!t)return!1;e.sort(),t.sort();for(let n=0;n<e.length&&n<t.length;n++)if(e[n]!==t[n])return!1;return!0}},728819:(e,t,n)=>{n.d(t,{Z:()=>a});var o=n(300333),r=n(742346),i=n(209484);function a(e,t){let n=(0,o.Z)(e,t.tableQuery.listViewType);if(t.lastEmptiedTime&&n.lastModifiedTime&&t.lastEmptiedTime>new Date(n.lastModifiedTime))return(0,r.a1)((0,r.sR)("shouldSkipProcessRow:FolderEmptiedAfterRowModified",{rowInstanceKey:e.InstanceKey,lastEmptiedTime:t.lastEmptiedTime.toDateString(),lastModifiedTime:n.lastModifiedTime})),!0;let a=(e.InstanceKey?i.Z.getTombstonedReasons(e.InstanceKey,t.serverFolderId):[]).indexOf(3)>-1;return(0,r.a1)((0,r.sR)("shouldSkipProcessRow:IsRowInTombstoneForRemoveReason",{rowInstanceKey:e.InstanceKey,shouldSkipProcessRow:a})),a}},558073:(e,t,n)=>{n.d(t,{Z:()=>S});var o=n(739921),r=n(853436),i=n(313380),a=n(206056),l=n(728819),s=n(391574),d=n(67199),c=n(206339),u=n(222134),m=n(417162),p=n(636283),f=n(845407),g=n(198453),v=n(511943),h=n(341032),I=n(826971);let S=(0,f.aD)("mergeRowResponseFromTop")(function(e,t,n,o,f,S,w=!1){if(!e){(0,p.rx)("We need to have a valid list of rows");return}if(f&&(0,d.N3)("TnS_MergeFindResponse",[b(t,e)]),w&&!b(t,e)){let e=(0,g.L4)(t),n=(0,v.TS)(e);(0,d.y8)("MailManualSync_OutOfDate",{mailboxType:e.type,accountType:n?.sourceType})}let y=0,P=0,C=t.tableQuery.listViewType;for(let n of(t?.tableQuery?.sortBy?.sortColumn===16&&e.sort((e,t)=>{let n=e.Categories??[],o=t.Categories??[],r=n.indexOf("HP")>-1,i=o.indexOf("HP")>-1,a=n.indexOf("LP")>-1,l=o.indexOf("LP")>-1;return r&&!i?-1:!r&&i?1:a&&!l?1:!a&&l?-1:0}),e)){if((0,l.Z)(n,t))continue;let e=(0,i.lK)(n,C),o=!0;u.Z.containsRowKey(t,e)?u.Z.updateRow(y,n,t,S):o=u.Z.addRow(y,n,t,S),o?y++:P++}let E=(0,h.Z)(t.tableQuery.folderId);if(o){let e=y,n=t.rowKeys.length;for(let o=n-1;o>=e;o--){let e=t.rowKeys[o];if(!(0,m._g)(e,t.id,i.H4.getLastDeliveryOrRenewTimeStamp(e,t))){let n=i.H4.getRowIdString(e,t),o=t.rowIdToRowKeyMap.get(n)??[];(0,d.y8)("MergeRowResponseFromTop_RemoveRow",{tableType:t.tableQuery.type,listViewType:C,folderName:E,rowKey:e,rowId:n,rowKeysForRowIdHasItems:o.length>0}),u.Z.removeRow(e,t,S+"_RemoveAfterMerge")}}}if(!o&&function(e,t){let n=e.tableQuery;if(n.sortBy?.sortColumn!==1||e.rowKeys.length<=t||0===e.rowKeys.length)return!1;let o=e.rowKeys[t-1],l=e.rowKeys[t],s=0,d=i.H4.getLastDeliveryOrRenewTimeStamp(l,e),c=i.H4.getLastDeliveryTimeStamp(l,e);return s=(0,r.Z)(d,c,o,e),n.sortBy.sortDirection===a.ASCENDING_SORT_DIR?s>0:s<0}(t,y)&&((0,d.y8)("MergeRowResponseFromTop_OutOfOrderItems",{tableType:t.tableQuery.type,listViewType:C,folderName:E}),(0,c.cr)("tri-checkMLItemsOutOfOrder"))){s.aP.importAndExecute(t,!0);return}(0,I.f)(t),t.totalRowsInView=n-P,s.Fg.importAndExecute(t)});function b(e,t){for(let n=0;n<Math.min(e.rowKeys.length,25,t.length);n++)if(e.rowKeys[n]!=t[n].InstanceKey||!(0,o.ZP)(t[n],e))return!1;return!0}},826971:(e,t,n)=>{n.d(t,{f:()=>o});let o=(0,n(795839).aD)("ON_MERGE_ROW_COMPLETED",e=>({tableView:e}))},391574:(e,t,n)=>{n.d(t,{u4:()=>f,L:()=>v,Dw:()=>d,ZY:()=>M.Z,gc:()=>E.Z,HF:()=>h,eq:()=>m.ZP,Fg:()=>F,aP:()=>k,gQ:()=>c.Z,fx:()=>Z.f,hL:()=>C,SH:()=>P});var o=n(402392),r=n(728819),i=n(313380),a=n(100311),l=n(222134),s=n(417162);let d=(0,n(845407).aD)("appendRowResponse")(function(e,t,n,o="",d,c,u=!1){let m=0;for(let n of t||[]){if((0,r.Z)(n,e))continue;let t=!0,p=n.InstanceKey;if(l.Z.containsRowKey(e,(0,i.lK)(n,e.tableQuery.listViewType))){let t=(0,s._g)(p,e.id,i.H4.getLastDeliveryOrRenewTimeStamp(p,e))?e.rowKeys.indexOf(p):e.rowKeys.length-1;l.Z.updateRow(t,n,e,o,u)}else t=l.Z.appendRow(n,e,o,u);if(!t&&m++,d){let t={referenceKey:n.ReferenceKey,index:e.rowKeys.length-1,traceId:d,logicalId:c};(0,a.Z)(p,e,t)}}e.totalRowsInView=n-m,F.importAndExecute(e)});var c=n(558073),u=n(742346),m=n(739921),p=n(277167);function f(e,t,n){if(!t||0==t.length)return;let o=t[0].InstanceKey,r=(0,p.Z)(o,e.id);if(!r||!(0,m.s9)(e.tableQuery,r,t[0])){(0,u.a1)((0,u.sR)("AppendConversationWithSeekToCondition:Aborted",{tableViewId:e.id,referenceInstanceKey:o,missing:!r}));return}d(e,t,n,"AppendOnLoadMore")}var g=n(645225);function v(e,t,n){if(!t||0==t.length)return;let o=t[0].ItemId.Id;if(!g.Z.items.has(o)||1!=e.tableQuery.type&&!(0,m.W3)(e.tableQuery,g.Z.items.get(o),t[0])){(0,u.a1)((0,u.sR)("AppendItemWithSeekToCondition:Aborted",{tableViewId:e.id,referenceItemId:o,missing:!g.Z.items.has(o)}));return}d(e,t,n,"AppendOnLoadMore")}function h(e,t){let n;for(n=t;n<e.rowKeys.length&&i.H4.getIsPinned(e.rowKeys[n],e);n++);return n}var I=n(726499),S=n.n(I);let b=new Map;function w(e,t){let n;let o=(0,i.Mh)(t);n=o?e.LastDeliveryOrRenewTime:e.ReceivedOrRenewTime;let r=i.H4.getLastDeliveryOrRenewTimeStamp(e.InstanceKey,t),a=new Date(n).toString()===new Date(r).toString();return a||(o?e.LastDeliveryOrRenewTime=r:e.ReceivedOrRenewTime=r),a}b[1]=w,b[0]=function(e,t){let n=i.H4.getCategories(e.InstanceKey,t),o=n?n.slice().sort():[],r=e.Categories?e.Categories.slice().sort():[],a=S()(o,r);return a||(e.Categories=n),a},b[2]=function(e,t){let n,o;let r=i.H4.getUnreadCount(e.InstanceKey,t);return(0,i.Mh)(t)?((o=r==(n=e).UnreadCount)||(n.UnreadCount=r),(0,i.JF)(t)&&(function(e,t){let n=e.LastDeliveryTime,o=i.H4.getLastDeliveryTimeStamp(e.InstanceKey,t);new Date(n).toString()!==new Date(o).toString()&&(e.LastDeliveryTime=o)}(e,t),w(e,t))):(0,i.dg)(e)?(o=r==((n=e).IsRead?0:1))||(n.IsRead=0==r):o=!0,o},b[4]=function(){};var y=n(209484);function P(e,t){return!(0,r.Z)(e,t)&&(function(e,t){let n=e.InstanceKey,o=t.serverFolderId,r=y.Z.getTombstonedReasons(n,o).slice(0);if(r)for(let i of r){if(3==i)throw Error("syncTombstonedProperties should not be called for Remove reason");(0,b[i])(e,t)&&y.Z.remove(n,o,i)}}(e,t),!0)}function C(e,t){let n=e.InstanceKey,o=t.serverFolderId,r=y.Z.getTombstonedReasons(n,o);return r.indexOf(3)>-1?(y.Z.remove(n,o,3),!0):!(("Unread"===(0,i.$q)(t)||(0,i.FD)(t))&&(0,i.oc)(t)&&r.indexOf(2)>-1)||(y.Z.remove(n,o,2),!1)}var E=n(300333),Z=n(826971),M=n(853436);let T=new o.nI(()=>n.e(585801).then(n.bind(n,585801)),{name:"MailListResponseProcessor"}),F=new o._5(T,e=>e.fetchRichContentForRows),k=new o._5(T,e=>e.reloadTable)},3095:(e,t,n)=>{n.d(t,{I:()=>q,b:()=>Q.Z});var o=n(402392),r=n(538477),i=n(435136),a=n(313380),l=n(832256),s=n(754932),d=n(795839),c=n(540590),u=n(862415),m=n(703779),p=n(417162);(0,d._F)(i.r,e=>{let t=e.tableView;(0,l.Z)(t)?function(e){let t=e.rowKeys,n=t.length;if(n>0){let o=0,i=t[0];for(;o<n;){let n=t[o];if((0,p._g)(n,e.id,a.H4.getLastDeliveryOrRenewTimeStamp(n,e))){o++;continue}let r=a.H4.getIsPinned(n,e),l=a.H4.getUnreadCount(n,e);if(!r||l>0){i=n;break}o++}(0,r.Af)(e,i,!1,s.Z.Auto)}}(t):((0,r.Mt)(t,s.Z.Reset,e.isUserNavigation),t.rowKeys.length>0&&((0,c.Z)(t,t.rowKeys[0]),(0,u.Z)(t,t.rowKeys[0]),(0,m.Z)(t,t.rowKeys[0])))});var f=n(97821),g=n(58056),v=n(67199),h=n(250619),I=n(526156),S=n(349652),b=n(258597),w=n(206339),y=n(978806),P=n(974558);let C=0;function E(e,t,n){let o=e.selectedRowKeys.size;o>0&&e.isInVirtualSelectAllMode?(0,g.Z)(e):0!=o||e.isInVirtualSelectAllMode||(0,f.Z)(e,!1);let r=++C,i=(0,w.cr)("rp-enhanced-telemetry-v2")?(0,P.C)():(0,v.qO)(e=>"SelectMailItem"==e.getEventName());if((0,y.Vg)(i),n===s.Z.SearchSuggestionClick){(0,I.Z)(e,t,n,i);let r=[...e.selectedRowKeys.keys()][0];return 1==o&&(0,h.qd)(r,e),Promise.resolve()}return n===s.Z.MailListItemContextMenu&&((0,b.xb)()||(0,b.f2)())&&!(0,w.cr)("tri-context-menu-no-rp")&&(0,S.S)(!1),new Promise((o,a)=>{i&&i?.addCheckpoint("PRE_ONVSC"),(0,w.cr)("rp-skip-selection-delay")?Z(e,t,i,n,o,a):Promise.resolve().then(()=>{r===C&&Z(e,t,i,n,o,a)})})}function Z(e,t,n,o,r,i){(0,I.Z)(e,t,o,n).then(()=>{r()}).catch(e=>{i(e)});let a=[...e.selectedRowKeys.keys()][0];1==e.selectedRowKeys.size&&(0,h.qd)(a,e)}var M=n(367062),T=n(845407),F=n(53219);function k(e){if(!e)throw Error("resetSelection should not be called on null or undefined table.");(0,r.d4)(e),(0,r.TH)(),(0,g.Z)(e),(0,F.kW)()}var x=n(709077),R=n(821997),A=n(654626),D=n(184867),N=n(756688);let _=(0,T.aD)("singleSelectRowInternal")(function(e,t,n){var o,r,i;if(n===s.Z.MailListItemBodyDoubleClick||n===s.Z.MailListItemSimulatedDoubleClick||n===s.Z.KeyboardShiftEnter){let l=n===s.Z.MailListItemSimulatedDoubleClick?t:[...e.selectedRowKeys.keys()][0],d=(0,R.Z)([l],e)[0];if(o=e.tableQuery.listViewType,r=a.H4.getRowClientItemId(l,e),i=async()=>({...(await D.U.import())(e),instrumentationContext:d}),r&&(0,A.$)(r.Id,0==o?r.Id:void 0,void 0,r.mailboxInfo,i),n!==s.Z.MailListItemSimulatedDoubleClick)return}let l=e.selectedRowKeys.has(t)&&e.selectedRowKeys?.size===1;if(l&&t===e.focusedRowKey&&(!(0,x.gS)()||n!=s.Z.KeyboardEnter&&n!=s.Z.MailListItemBody&&n!=s.Z.MailListItemRichPreview&&n!=s.Z.RouteHandler)){(0,y.Mm)(n,e,t,(0,w.cr)("rp-enhanced-telemetry-v2")?(0,P.C)():void 0),(0,y.B4)(!0),(0,w.cr)("rp-enhanced-telemetry-v2")&&(0,N.Z)("",!0);return}n==s.Z.MailListItemTwisty&&l||(k(e),(0,m.Z)(e,t),(0,c.Z)(e,t),(0,u.Z)(e,null),(0,M.H)(t,e.id,!0))}),O=(0,T.aD)("keyboardMultiSelectRowInternal")(function(e,t,n,o){var i;let{selectedRowKeys:l,selectionAnchorRowKey:s,rowKeys:d,multiSelectionAnchorRowKey:p,focusedRowKey:g,isInVirtualSelectAllMode:v}=e,h=(0,a.Xp)().expandedConversationViewState;if(h){let n=h.allNodeIds.indexOf(h.focusedNodeId),i=t===a.a$.Previous?n-1:n+1;if(i>=0&&i<h.allNodeIds.length){let t=h.allNodeIds[i];(0,r.Fm)(e,t,o);return}}if((0,f.Z)(e,!0),v||0===l.size){g&&d.includes(g)&&_(e,g,n);return}if(!s)return;let I=d.indexOf(s),S=t===a.a$.Previous?I-1:I+1,b=p||s,w=d.indexOf(b);if((0,u.Z)(e,b),!o){(function(e,t,n){for(let a of[...e.selectedRowKeys.keys()]){var o,r,i;o=e.rowKeys.indexOf(a),r=Math.min(t,n),i=Math.max(t,n),o>=r&&o<=i||(0,M.H)(a,e.id,!1)}})(e,S,w);let n=(t!==a.a$.Previous||!(w<=S))&&(t!==a.a$.Next||!(w>=S));(0,M.H)(s??"",e.id,n)}if(i=d.length-1,S>=0&&S<=i){let t=d[S];(0,M.H)(t,e.id,!0),(0,c.Z)(e,t),(0,m.Z)(e,t)}});(0,d._F)(r.GS,e=>{let{tableView:t,mailListItemSelectionSource:n,selectionDirection:o,isCtrlOrCmdKeyDown:r}=e;O(t,o,n,r),E(t,!0,n)}),(0,d._F)(r.Yu,e=>{let t=e.tableView;(function(e,t,n){let o=e.multiSelectionAnchorRowKey?e.multiSelectionAnchorRowKey:e.selectionAnchorRowKey||e.rowKeys[0],r=[o,t],i=!1,a=!1;for(let t of e.rowKeys)a=r.includes(t),i||a?(i=a!==i&&!(t===r[0]&&r[0]===r[1]),(0,M.H)(t,e.id,!0)):e.selectedRowKeys.has(t)&&!n&&(0,M.H)(t,e.id,!1);(0,u.Z)(e,o),(0,c.Z)(e,t),(0,m.Z)(e,t),(0,f.Z)(e,!0)})(t,e.targetRowKey,e.isCtrlOrCmdKeyDown),E(t,!0,e.mailListItemSelectionSource)}),(0,d._F)(r.Mt,e=>{let t=e.tableView,n=e.mailListItemSelectionSource;k(t),(0,c.Z)(t,t.focusedRowKey),(0,u.Z)(t,null),E(t,!!e.isUserNavigation,n)});var L=n(52924);function V(e,t,n,o){let r=e;return"Previous"==t?r--:"Next"==t&&o&&r++,r<0?r=0:r>n-1&&(r=n-1),r}(0,d._F)(r.fs,e=>{let{tableView:t,lastSelectedRowIndex:n,lastSelectedRowWasPinned:o,isRowNotRemovedYet:i}=e,l=t.rowKeys.length;if(0==l)return;let d=function(){let e=(0,L.Z)().UserOptions;return e?.NextSelection&&("ReturnToView"!=e.NextSelection||(0,x.gS)())?e.NextSelection:"Next"}(),c=V(n,d,l,i);if("Previous"==d){let e=t.rowKeys[c];((0,p._g)(e,t.id,a.H4.getLastDeliveryOrRenewTimeStamp(e,t))||a.H4.getIsPinned(e,t))&&!o&&(c=V(n,"Next",l))}let u=t.rowKeys[c],m=s.Z.RowRemoval;(0,x.gS)()&&(0,x.sA)()&&(m=s.Z.ImmersiveReadingPaneDelete),(0,r.Af)(t,u,!1,m)});var B=n(992116),G=n(875177),U=n(514112);(0,d._F)(r.TU,e=>{let{tableView:t,selectionDirection:n,mailListItemSelectionSource:o}=e;(0,U.g)(o,t,void 0,n);let i=1==t.selectedRowKeys.size?[...t.selectedRowKeys.keys()][0]:void 0,a=(0,B.Z)(t,n);if(null!==a&&a>=0){let e=t.rowKeys[a];i&&e!==i&&G.BM.importAndExecute(i,t,!0),(0,r.$x)(e,o),_(t,e,o)}return E(t,!0,o).then(()=>{null!==a&&a>=0&&(0,r.Tu)(t.rowKeys[a],t,o)})});var H=n(349868),W=n(40540);(0,d._F)(r.Af,e=>{let{tableView:t,isUserNavigation:n,mailListItemSelectionSource:o,rowKey:i}=e;if(!t){(0,v.y8)("MailListSelection_SingleSelectRow_InvalidTableView");return}(0,U.g)(o,t,i);let a=1==t.selectedRowKeys.size?[...t.selectedRowKeys.keys()][0]:void 0;return o===s.Z.RowRemoval&&(0,W.bp)()||(0,H.uY)("singleSelectRowOrchestrator"),a&&e.rowKey!==a&&G.BM.importAndExecute(a,t,n),_(t,e.rowKey,o),E(t,n,o).then(()=>{(0,r.Tu)(e.rowKey,t,o)})});var K=n(538565);let z=(0,d.lr)("tableEnterVirtualSelectAllMode",function(e){e.selectAllModeTimeStamp=(0,K.zO)(),e.isInVirtualSelectAllMode=!0});(0,d._F)(r.u,e=>{let{tableView:t}=e,{isInVirtualSelectAllMode:n,rowKeys:o,selectedRowKeys:r,focusedRowKey:i}=t,l=s.Z.ToggleCheckAll;if(function(e){if((0,a.ll)(e)){k(e);return}e.rowKeys.length==e.totalRowsInView||1==e.tableQuery.type?e.rowKeys.forEach(t=>(0,M.H)(t,e.id,!0)):(k(e),z(e)),(0,f.Z)(e,!0)}(t),!n){if(r.size>0)(0,c.Z)(t,o[o.length-1]),(0,u.Z)(t,o[0]);else{let e=i||o[0];(0,c.Z)(t,e),(0,u.Z)(t,e),(0,m.Z)(t,e)}}E(t,!0,l)});let j=(0,d.lr)("updateVirtualSelectAllExclusionList",function(e,t){if(!e.virtualSelectAllExclusionList)return;let n=e.virtualSelectAllExclusionList.indexOf(t);n>-1?e.virtualSelectAllExclusionList.splice(n,1):e.virtualSelectAllExclusionList.push(t)});var Q=n(637490);(0,d._F)(r.Iy,e=>{let{rowKey:t,tableView:n,isUserNavigation:o,mailListItemSelectionSource:i}=e;(0,U.g)(i,n,t),function(e,t,n){let o=n===s.Z.MailListItemCheckbox,r=e.selectedRowKeys.has(t);if(r&&!e.isInCheckedMode&&o){(0,f.Z)(e,!0),(0,Q.Z)(e,t,!0);return}e.isInCheckedMode&&(0,y.B4)(!0),(0,y.Mm)(n,e,t,(0,w.cr)("rp-enhanced-telemetry-v2")?(0,P.C)():void 0),1!=e.selectedRowKeys.size||e.isInCheckedMode||r||!o||(0,M.H)([...e.selectedRowKeys.keys()][0],e.id,!1);let i=!r;i&&!e.isInCheckedMode&&(0,f.Z)(e,!0),e.isInVirtualSelectAllMode?j(e,t):(0,M.H)(t,e.id,i),(0,Q.Z)(e,t,i)}(n,t,i),(0,u.Z)(n,null),(0,c.Z)(n,t),(0,m.Z)(n,t),E(n,o,i).then(()=>{let e=[...n.selectedRowKeys.keys()];1==e.length&&e[0]==t&&(0,r.Tu)(t,n,i)})}),(0,d.ed)(r.d4,e=>{let t=e.tableView;t.selectedRowKeys.clear(),t.isInCheckedMode=!1});var $=n(714506);(0,d.ed)(M.H,e=>{let{rowKey:t,tableViewId:n,shouldSelect:o}=e,r=(0,$.Z)().tableViews.get(n);r&&(o?r.selectedRowKeys.set(t,!0):r.selectedRowKeys.delete(t))});let q=(0,d.lr)("setLastAutoFocusedRowKey",function(e,t){e.lastAutoFocusedRowKey=t}),X=new o.nI(()=>Promise.all([n.e(695126),n.e(395368),n.e(288404)]).then(n.bind(n,94087)));(0,o.Kv)(r.Fm,X,e=>e.rangeSelectItemPartOrchestrator)},992116:(e,t,n)=>{n.d(t,{Z:()=>r});var o=n(313380);function r(e,t){let n=[...e.selectedRowKeys.keys()],r=e.rowKeys,i=0;if(0===r.length)return 0;if(n.length>0||e.focusedRowKey){let n=e.selectionAnchorRowKey||e.focusedRowKey||"";i=function(e,t,n){let r=(0,o.Xp)(),i=r.startIndexVLV,a=r.endIndexVLV,l=a-i+1;return t===o.a$.Next?e<n.length-1&&e++:t===o.a$.Previous?e>0&&e--:t===o.a$.NextPage?e!==a?e=Math.min(a,n.length-1):e+l<=n.length-1?e+=l:e=n.length-1:t===o.a$.PreviousPage&&(e!==i?e=i:e-l>=0?e-=l:e=0),e}(i=r.indexOf(n),t,r)}return i}},703779:(e,t,n)=>{n.d(t,{Z:()=>o});let o=(0,n(795839).lr)("setFocusedRowKey",function(e,t){e.focusedRowKey=t})},862415:(e,t,n)=>{n.d(t,{Z:()=>o});let o=(0,n(795839).lr)("setMultiSelectionAnchorRowKey",function(e,t){e.multiSelectionAnchorRowKey=t})},540590:(e,t,n)=>{n.d(t,{Z:()=>o});let o=(0,n(795839).lr)("setSelectionAnchorRowKey",function(e,t){e.selectionAnchorRowKey=t})},97821:(e,t,n)=>{n.d(t,{Z:()=>o});let o=(0,n(795839).lr)("setTableIsInCheckedMode",function(e,t){e.isInCheckedMode=t})},58056:(e,t,n)=>{n.d(t,{Z:()=>o});let o=(0,n(795839).lr)("tableExitVirtualSelectAllMode",function(e){e.isInVirtualSelectAllMode=!1,e.virtualSelectAllExclusionList=[],e.selectAllModeTimeStamp=null})},526156:(e,t,n)=>{let o;n.d(t,{Z:()=>D});var r=n(341032),i=n(821997),a=n(52924),l=n(754932),s=n(742351),d=n(68656),c=n(834930),u=n(62699),m=n(313380),p=n(250571),f=n(791488),g=n(845837),v=n(67199),h=n(575130),I=n(447816),S=n(461788),b=n(267264),w=n(377740),y=n(349652),P=n(258597),C=n(797489),E=n(206339),Z=n(122307),M=n(786235),T=n(636006),F=n(978806),k=n(697399),x=n(974558);let R=0;function A(e,t,n,o,i,a,d,c){let u=m.H4.getRowClientItemId(e,t),p=m.H4.getIsDraft(e,t),f=m.H4.getIsSubmitted(e,t),g=!1,v=(0,k.mU)();v&&"outbox"===(0,r.Z)(v)&&(g=!0);let S=p&&!f&&!g,b=S&&c==l.Z.KeyboardUpDown;switch(t.tableQuery.listViewType){case 0:let w;if((0,s.Z)())return h.Fh.importAndExecute(m.H4.getRowIdToShowInReadingPane(e,t),n,o,S,b,a,"UnstackedConversationView",d,u?.Id);let y=(0,m.rs)(e,t.id);if(y?.itemClasses&&O(y.itemClasses)&&!(0,E.cr)("rp-citiCardV2")){let n=m.H4.getUnreadCount(e,t);w=0==n?2:n+1}return(0,I.MZ)(u,"ListViewSelectionChange",n,o,m.H4.getSubject(e,t),m.H4.getCategories(e,t),c,i,a,d,w);case 1:return h.Fh.importAndExecute(u,n,o,S,b,a,"ItemView",d);default:return Promise.resolve()}}async function D(e,t,n,c){if(n==l.Z.MessageAd)return;let g=Promise.resolve(),v=e.selectedRowKeys.size,h=(0,C.MA)(),I=(0,P.gS)();if(0==v)(0,w.m)(!0),I?(0,y.S)(!1):(0,y.S)(!0);else if(1!=v||I&&e.isInCheckedMode)I&&((0,y.S)(!1),(0,w.m)(!0));else{let v=null,h=[...e.selectedRowKeys.keys()][0],S=e.tableQuery,b=(0,m.jJ)(S)||(0,u.K4)(S),C=(0,i.Z)([h],e)[0];if(!b&&C&&c&&(C.dp=c),a.Z().SessionSettings?.IsSubstrateSearchServiceAvailable&&C){let t=C.referenceKey||(C.index+1).toString();f.dm.importAndExecute(p.C.Mail,"","",C.logicalId||"",void 0,t,"EntityClicked");let n=m.H4.getItemIds(h,e);if(v=n?n[0]:null,(0,E.cr)("fwk-immutable-ids")&&v&&!(0,M._K)(v)){let e=(0,T.Q)();e?.type!="GroupMailbox"&&e?.type!="ArchiveMailbox"&&(v=(await (0,d.Th)([v],d._G.Search,void 0,e))[0])}_(h,e)}!b&&((0,P.xb)()||(0,P.f2)()?g=function(e,t,n,i,a,d,c){if(o&&(clearTimeout(o),o=null),(0,s.Z)()&&function(){let e=(0,k.mU)();return!e||"drafts"!==(0,r.Z)(e)&&"junkemail"!==(0,r.Z)(e)}()&&N(e,d,"LoadConvReadingPaneUnstacked"),n!==l.Z.MailListItemContextMenu?((0,m.mN)(!0),(0,y.S)(!0)):(0,m.mN)(!1),(0,w.m)(!0),n===l.Z.KeyboardUpDown){let r=Date.now(),l=r-R;if(R=r,l<=500)return new Promise((r,l)=>{i?.dp?.addCheckpoint?.("ON_LRP_TO"),o=setTimeout(()=>{o=null,A(e,d,t,i,a,c,!1,n).then(r).catch(l)},250)})}return i?.dp?.addCheckpoint?.("ON_LRP"),A(e,d,t,i,a,c,!1,n)}(h,t,n,C,v??"",e,c):I&&(g=function(e,t,n,o,r,i,s){let d=Promise.resolve(),c=!1,u=!0;switch(n){case l.Z.MailListItemBody:case l.Z.CommandBarArrows:case l.Z.KeyboardEnter:case l.Z.MailListItemExpansion:case l.Z.MailListItemRichPreview:case l.Z.SearchSuggestionClick:case l.Z.RouteHandler:c=!0,u=!1;break;case l.Z.MailListItemTwisty:d=N(e,i,"LoadConvReadingPaneLVTwisty"),c=!1,u=!0;break;case l.Z.ImmersiveReadingPaneDelete:a.Z().UserOptions?.NextSelection==="ReturnToView"?(c=!1,u=!0):(c=!0,u=!1);break;case l.Z.KeyboardUpDown:case l.Z.MailListItemCheckbox:case l.Z.KeyboardCtrlSpace:case l.Z.MailListItemContextMenu:case l.Z.NewConversation:case l.Z.Reset:case l.Z.RowRemoval:default:c=!1,u=!0}return c&&(o?.dp?.addCheckpoint?.("OFF_LRP"),d=A(e,i,t,o,r,s,!0,n)),(0,y.S)(c),(0,w.m)(u),d}(h,t,n,C,v??"",e,c))),(0,F.Mm)(n,e,h,(0,E.cr)("rp-enhanced-telemetry-v2")?(0,x.C)():c)}let S=(0,C.MA)();return S!=C.lj&&h==S&&(t||I||n!==l.Z.Reset)&&!(n==l.Z.RowRemoval&&(0,Z.I)())&&C.HW.importAndExecute(C.lj),g}function N(e,t,n){let o=m.H4.getRowClientItemId(e,t);return(0,c.Z)(o.Id)?Promise.resolve():g.vc.importAndExecute(o,n)}let _=(e,t)=>{let n=m.H4.getParentFolderId(e,t);if(!n)return;let o=[10,25,75,150,250];(0,v.y8)("SearchResultSelected",["Relevance"===m.H4.getExecuteSearchSortOrder(e,t),(0,r.Z)(n),(0,b.Ht)({value:t.rowKeys.indexOf(e),buckets:o}),(0,b.Ht)({value:t.rowKeys.length,buckets:o}),S.Y.Mail])},O=e=>{for(let t=0;t<e.length;t++)if(e[t].match(/^ipm\.(appointment|schedule\.meeting(?!\.notification))/i))return!0;return!1}},637490:(e,t,n)=>{n.d(t,{Z:()=>s});var o=n(795839),r=n(331063),i=n(720742),a=n(295322),l=n(313380);let s=(0,o.lr)("updateCheckedStateOfConversationChildren",function(e,t,n){let o=(0,i.Z)(),s=o.expandedConversationViewState;if(t===s.expandedRowKey&&0===e.tableQuery.listViewType){if(n){if((0,a.FD)(t)){let e=o.expandedConversationViewState.forks,t=[];if(e)for(let n of e)n.id&&t.push(n.id);s.selectedNodeIds=t}else if((0,a.Lg)(t)){let n=l.H4.getConversationId(t,e),o=(0,r.M1)(n),i=[];if(o)for(let e of o)i.push(e);s.selectedNodeIds=i}}else s.selectedNodeIds=[]}})},978806:(e,t,n)=>{let o;n.d(t,{B4:()=>g,Mm:()=>v,Vg:()=>h});var r=n(67199),i=n(313380),a=n(417162),l=n(709077),s=n(267264),d=n(920591),c=n(341032),u=n(52924),m=n(538565),p=n(40540),f=n(206339);function g(e){let t=(0,r.qO)(e=>"SelectMailItem"==e.getEventName()||"SelectMailItemNonCritical"==e.getEventName());t&&(e?t?.invalidate():t?.end(void 0,r.SO.BackgroundSuccess))}function v(e,t,n,o){let f=o||(0,r.qO)(e=>"SelectMailItem"==e.getEventName()||"SelectMailItemNonCritical"==e.getEventName());if(f){let o=i.H4.getLastDeliveryOrRenewTimeStamp(n,t),r=(0,a._g)(n,t.id,o),g=null;r&&(g=(0,a.JZ)(n));let v=o?Math.max(0,(0,m.jc)((0,m.zO)(),(0,m.vk)(o))):-1,h=u.Z()?.UserOptions?.ShowReadingPaneOnFirstLoad,I=1!=t.tableQuery.listViewType&&(0,d.c)();f?.addCustomData([e,t.tableQuery.listViewType,t.tableQuery.type,1===t.tableQuery.type&&t.tableQuery.searchScope.kind,0,r,!l.gS(),s.Ht({value:t.rowKeys.indexOf(n),buckets:[10,25,50,75,100,150,200,250,300,500],exactMatches:[-1,0]}),g,I,0===t.tableQuery.type&&c.Z(t.tableQuery.folderId),v,p.bp(),h]),f.addUnifiedTelemetryData({eventName:"ViewMessage"})}}function h(e){if(!(0,f.cr)("rp-enhanced-telemetry-v2")&&o){let e=o.hasEnded;e||o?.end(void 0,r.SO.BackgroundSuccess);let t=o?.getProperties()?.E2ETimeElapsed;!e&&"number"==typeof t&&t>500&&(0,r.y8)("SelectMailItemAbandoned",[o?.getProperties()?.E2ETimeElapsed,o?.getPropertyBag()?.owa_1,o?.getPropertyBag()?.owa_7,o?.getPropertyBag()?.owa_8],{sessionSampleRate:10})}o=e}},289239:(e,t,n)=>{n.d(t,{Z:()=>d,j:()=>s});var o=n(198453),r=n(215082),i=n(171904),a=n(636006),l=n(366023);function s(e,t){return t?.tableQuery?.type==1?e.MailboxGuids&&(0,i.Z)(e.MailboxGuids)?{Id:e.ItemId.Id,mailboxInfo:(0,r.Z)((0,a.Q)(),e.MailboxGuids[0])}:{Id:e.ItemId.Id,mailboxInfo:(0,l.ZP)(t)}:{Id:e.ItemId?.Id??"",mailboxInfo:(0,o.L4)(t)}}function d(e,t){return{executeSearchSortOrder:e.SortOrderSource??"DateTime",clientId:s(e,t),instanceKey:e.InstanceKey??"",instrumentationContext:null}}},222134:(e,t,n)=>{n.d(t,{R:()=>Z,Z:()=>J});var o={};n.r(o),n.d(o,{addRow:()=>V,appendRow:()=>B,clear:()=>W,containsRowKey:()=>K,removeRow:()=>G,updateRow:()=>H,updateRowPosition:()=>U});var r=n(922981),i=n(198453),a=n(215082),l=n(171904),s=n(366023),d=n(636006),c=n(52924),u=n(5826),m=n(206339),p=n(313380),f=n(742351),g=n(636283),v=n(845407);let h=(0,v.aD)("addOrUpdateConversationData")(function(e,t,n){let{conversationItems:o,tableViewConversationRelations:v}=(0,p.bh)();e.ConversationId||(0,g.rx)("addOrUpdateConversationData: ConversationId is undefined");let h=e.ConversationId.Id,b=(0,p.Ep)(e.InstanceKey??"",t.id);if(I(n,h,o)){let n=function(e,t){var n,o;let u=function(e){let t=[];for(let n of e){let e={...n};t.push(e.Id)}return t}(e.GlobalItemIds??[]);return{id:e.ConversationId.Id,subject:e.ConversationTopic,globalItemIds:u,shouldShowAttachmentPreviews:!!c.Z().UserOptions?.ShowInlinePreviews&&(0,r.zr)(e,t.tableQuery),globalUnreadCount:e.GlobalUnreadCount??0,size:e.Size??0,clientId:(n=e,o=t,o?.tableQuery?.type==1?n?.MailboxGuids&&(0,l.Z)(n.MailboxGuids)?{Id:n.ConversationId.Id,mailboxInfo:(0,a.Z)((0,d.Q)(),n.MailboxGuids[0])}:{Id:n.ConversationId.Id,mailboxInfo:(0,s.ZP)(o)}:{Id:n.ConversationId.Id,mailboxInfo:(0,i.L4)(o)}),globalMessageCount:e.GlobalMessageCount??0,hasExternalEmails:e.HasExternalEmails??!1,hasSharepointLink:e.HasProcessedSharepointLink??!1}}(e,t);o.set(h,n)}let w={categories:e.Categories??[],draftItemIds:e.DraftItemIds?e.DraftItemIds.map(e=>e.Id):[],effectiveMentioned:e.GlobalMentionedMe||e.GlobalAtAllMention||!1,executeSearchSortOrder:e.SortOrderSource??"DateTime",flagStatus:(0,m.cr)("tri-flagStatusV2")&&e.FlagStatusV2?e.FlagStatusV2:e.FlagStatus?e.FlagStatus:"NotFlagged",hasAttachments:!!e.HasAttachments,isTaggedForBigScreen:!!e.IsTaggedForBigScreen,hasIrm:!!e.HasIrm,iconIndex:e.IconIndex??"Default",id:e.ConversationId.Id,importance:e.Importance??"Normal",instanceKey:e.InstanceKey??"",itemClasses:e.ItemClasses??[],itemIds:e.ItemIds?.map(e=>e.Id)??[],lastDeliveryOrRenewTimeStamp:e.LastDeliveryOrRenewTime,lastDeliveryTimeStamp:e.LastDeliveryTime,lastSentTimeStamp:e.LastSentTime||e.LastDeliveryTime,lastModifiedTimeStamp:e.LastModifiedTime??"",lastSender:e.LastSender?e.LastSender:e.From?e.From:void 0,parentFolderId:e.ParentFolderId?e.ParentFolderId.Id:"",previewText:e.Preview??"",returnTime:e.ReturnTime?e.ReturnTime:"",uniqueRecipients:e.UniqueRecipients??[],uniqueSenders:e.UniqueSenders??[],unreadCount:e.UnreadCount,shouldShowRSVP:(0,u.Z)(e,t),mailboxGuids:e.MailboxGuids??[],instrumentationContext:null,conversationToMe:e.ConversationToMe??null,conversationCcMe:e.ConversationCcMe??null};if((0,f.Z)()&&S(e,t)&&e.ItemIds&&e.InstanceKey){let t=e.ItemIds?.map(e=>e.Id);(0,p.EH)(e.InstanceKey,[...t])}let y=v.get(b);y?Object.assign(y,w):v.set(b,w)}),I=(e,t,n)=>!n.get(t)||!e,S=(e,t)=>{let n=e.InstanceKey,o=[...t.selectedRowKeys.keys()];if(1==o.length&&n===o[0]){let o=p.H4.getItemIds(n,t);if(o&&o.length<(e.MessageCount??0))return!0}return!1};var b=n(289239),w=n(630849),y=n(645225),P=n(668125),C=n(788454);let E=(0,v.aD)("addOrUpdateItemData")(function(e,t){let n=e.ItemId.Id,o={...e,MailboxInfo:(0,i.L4)(t),shouldShowAttachmentPreviews:c.Z().UserOptions?.ShowInlinePreviews&&(0,r.AM)(e,t.tableQuery),shouldShowRSVP:(0,P.Z)(e,t)};if(y.Z.items.has(n)){var a;a=y.Z.items.get(n),1!==t.tableQuery.type&&(a.ReceivedOrRenewTime=o.ReceivedOrRenewTime,a.shouldShowRSVP=o.shouldShowRSVP),a.Subject=o.Subject,a.Importance=o.Importance,a.Sensitivity=o.Sensitivity,a.HasAttachments=o.HasAttachments,a.ItemClass=o.ItemClass,a.Flag=o.Flag,a.Categories=o.Categories,a.ParentFolderId=o.ParentFolderId,a.ParentFolderDisplayName=o.ParentFolderDisplayName,a.ConversationId=o.ConversationId,a.DateTimeReceived=o.DateTimeReceived,a.LastModifiedTime=o.LastModifiedTime,a.IsDraft=o.IsDraft,a.Size=o.Size,a.Preview=o.Preview,a.DisplayTo=o.DisplayTo,a.IconIndex=o.IconIndex,a.shouldShowAttachmentPreviews=o.shouldShowAttachmentPreviews,o.ReturnTime&&(a.ReturnTime=o.ReturnTime),o.HasProcessedSharepointLink&&(a.HasProcessedSharepointLink=o.HasProcessedSharepointLink),a?.ItemClass&&-1===a.ItemClass.indexOf("IPM.Schedule.Meeting")&&-1===a.ItemClass.indexOf("IPM.Note")||(a.IsRead=o.IsRead,1===t.tableQuery.type||(a.IsReadReceiptRequested=o.IsReadReceiptRequested,a.IsDeliveryReceiptRequested=o.IsDeliveryReceiptRequested))}else y.Z.items.set(n,o),o.ConversationId||(0,g.rx)("addOrUpdateItemData: item.ConversationId is null.");let l=(0,w.Z)(e.InstanceKey??"",t.id),s=(0,b.Z)(e,t),d=(0,p.bh)().tableViewItemRelations.get(l);if(d?Object.assign(d,s):(0,p.bh)().tableViewItemRelations.set(l,s),t?.tableQuery.type===0){let n=t?.tableQuery;n.sortBy?.sortColumn===14&&e.InstanceKey&&(0,C.d)((0,i.L4)(t),e.InstanceKey,e.Categories?.[0]??"")}});function Z(e,t,n=!1){switch(t.tableQuery.listViewType){case 0:h(e,t,n);break;case 1:E(e,t)}}var M=n(714506),T=n(786080),F=n(966345);let k=(0,v.aD)("removeConversationData")(function(e,t,n={tableViewConversationRelations:(0,M.Z)().tableViewConversationRelations,tableViews:(0,M.Z)().tableViews,conversationItems:(0,M.Z)().conversationItems,conversationCache:T.Z}){let o=(0,w.Z)(e,t.id),i=n.tableViewConversationRelations,a=i.get(o)?.id,l=i.get(o)?.itemIds;if(!i.has(o))throw Error("Conversation not found in store");i.delete(o);let s=!1;for(let e of n.tableViews.values())if(e.id!=t.id&&a&&e.rowIdToRowKeyMap.get(a)){s=!0;break}!s&&a&&(n.conversationItems.delete(a),r.Bl.importAndExecute(a),l&&F.t6.importAndExecute(l),n.conversationCache.remove(a))});var x=n(658369),R=n(367062);let A=(0,v.aD)("removeRowData")(function(e,t){switch(t.selectedRowKeys.has(e)&&(0,R.H)(e,t.id,!1),t.tableQuery.listViewType){case 0:k(e,t);break;case 1:!function(e,t){let n=(0,p.bh)(),o=(0,p.OD)([e],t.id)[0],r=(0,p.Ep)(e,t.id);if(!n.tableViewItemRelations.has(r))throw Error("Item not found in list view store");n.tableViewItemRelations.delete(r),F.t6.importAndExecute([o]),(0,x.Z)(o,0)}(e,t)}});var D=n(795839),N=n(742346),_=n(538565),O=n(67199),L=n(341032);function V(e,t,n,o="",r=!1){return Z(t,n,r),function(e,t,n,o=""){if(t<0||t>e.rowKeys.length)return Y("addToTableRowKeys: Invalid add index",o,$(e,t)),!1;if(K(e,n))return Y("addToTableRowKeys: RowKey already exists",o,$(e,t)),!1;try{let r=p.H4.getRowIdString(n,e);return z(e,r,n,t),(0,N.a1)((0,N.sR)("TableOperations:RowAdded",{tableViewId:e.id,source:o,rowKey:n,addAtIndex:t})),!0}catch(n){return Y("addToTableRowKeys: exception when adding row at valid index",o,$(e,t)+" exp: "+n?.message),!1}}(n,e,(0,p.lK)(t,n.tableQuery.listViewType),o)}function B(e,t,n="",o=!1){return V(t.rowKeys.length,e,t,n,o)}let G=(e,t,n="")=>{(function(e,t,n=""){let o=e.rowKeys.indexOf(t);if(o<0){Y("removeFromTableRowKeys: RowKey not found in tableView.rowKeys",n,q(e));return}let r=p.H4.getRowIdString(t,e),i=e.rowIdToRowKeyMap.get(r)??[],a=(0,L.Z)(e.tableQuery.folderId);if(0===i.length){(0,O.FG)("TableOperations_RemoveRow",Y("removeFromTableRowKeys: invalid rowKeysForRowId",n,q(e,r),"DeleteNotification"!==n),{tableType:e.tableQuery.type,folderName:a,rowKey:t,rowId:r,rowKeysForRowIdHasItems:!1,actionSource:n});return}let l=i.indexOf(t);if(-1==l){Y("removeFromTableRowKeys: RowKey should be present in rowIdToRowKey map",n,q(e,r));return}j(i,e,r,l,o,n),(0,N.a1)((0,N.sR)("TableOperations:RowRemoved",{tableViewId:e.id,source:n,rowKey:t,removeAtIndex:o}))})(t,e,n),A(e,t)},U=(e,t,n,o="")=>{let r=n.rowKeys.indexOf(t);if(r<0){let e=Error("updateRowPosition: Row not found in table, source: "+o);e.diagnosticInfo="tableLength: "+n.rowKeys.length+" rowKey: "+t,(0,g.rx)(e);return}r!=e&&(Q(n,e,t,o),(0,N.a1)((0,N.sR)("TableOperations:RowPositionUpdated",{tableViewId:n.id,source:o,rowKey:t,currentIndex:r,targetIndex:e})))};function H(e,t,n,o,r=!1){U(e,(0,p.lK)(t,n.tableQuery.listViewType),n,o),Z(t,n,r)}let W=(0,v.aD)("tableOperations.clear")(function(e,t=null,n=[],o=""){for(let r=e.rowKeys.length-1;r>=0;r--){let i=e.rowKeys[r];if(-1==n.indexOf(i)){if(t){let n=p.H4.getLastDeliveryTimeStamp(i,e);(0,_.vk)(n)<t&&G(i,e,o)}else G(i,e,o)}}});function K(e,t){return e.rowKeys.indexOf(t)>=0}let z=(0,v.aD)("tableOperations.addRowKeyToTableRowKeysAndMap")(function(e,t,n,o){let r=e.rowIdToRowKeyMap.get(t)??[];-1==r.indexOf(n)&&r.push(n),e.rowIdToRowKeyMap.set(t,r),e.rowKeys.splice(o,0,n)}),j=(0,D.lr)("removeFromTableRowKeys",(e,t,n,o,r,i="")=>{1==e.length?t.rowIdToRowKeyMap.delete(n):e.splice(o,1);let a=(0,L.Z)(t.tableQuery.folderId);(0,O.y8)("TableOperations_removeFromTableRowKeysInternal",{tableType:t.tableQuery.type,listViewType:t.tableQuery.listViewType,folderName:a,rowId:n,rowKeysForRowIdHasItems:e.length>0,actionSource:i}),t.rowKeys.splice(r,1)}),Q=(0,D.lr)("updateRowPositionInTable",(e,t,n,o="")=>{let r=e.rowKeys.indexOf(n);if(r<0){Y("updateRowPositionInTable: RowKey not found in tableView.rowKeys",o,q(e));return}if(e.rowKeys.splice(r,1),t<0||t>e.rowKeys.length){Y("updateRowPositionInTable: Invalid add index",o,$(e,t));return}e.rowKeys.splice(t,0,n)});function $(e,t){return"addAtIndex: "+t+X(e)}function q(e,t){return(t?"rowId: "+t:"")+X(e)}function X(e){return" tableLength: "+e.rowKeys.length+" tableType: "+e.tableQuery.type+" lvType: "+e.tableQuery.listViewType}function Y(e,t,n,o=!0){let r=Error(e+": source: "+t);return r.diagnosticInfo=n,o&&(0,g.rx)(r),r}let J=o},209484:(e,t,n)=>{n.d(t,{Z:()=>h});var o={};n.r(o),n.d(o,{add:()=>c,clearMapForFolder:()=>g,getCount:()=>p,getTombstonedReasons:()=>f,remove:()=>u,removeAll:()=>m,removeRowsFromTombstone:()=>v});let r=(0,n(795839).MT)("tombstone",{folderTombstoneMap:{}})(),i=()=>r;var a=n(67199),l=n(742346),s=n(471629),d=n(845407);let c=(0,d.aD)("tombstoneOperations.add")(function(e,t,n){if(1==t.tableQuery.type)return;let o=t.serverFolderId,r=i().folderTombstoneMap;o in r||(r[o]={}),s.Y.import().then(t=>{(0,l.a1)((0,l.sR)("Tombstone:AddRow",{folderId:t(o),rowKeys:e.toString(),addReason:n}))});let a=r[o];e.forEach(e=>{let t=a[e];if(!t){a[e]=[n];return}if(3==n){a[e]=[3];return}t.indexOf(3)>-1||-1!=t.indexOf(n)||t.push(n)})}),u=(0,d.aD)("tombstoneOperations.remove")(function(e,t,n){let o=i().folderTombstoneMap;if(!(t in o))return;let r=o[t],a=r[e],d=a?a.indexOf(n):-1;if(-1==d)throw Error("tombstone.remove given reason does not exist when trying to remove entry from it");a.splice(d,1),0==a.length&&delete r[e],0==Object.keys(r).length&&delete o[t],s.Y.import().then(o=>{(0,l.a1)((0,l.sR)("Tombstone:RemoveRow",{folderId:o(t),rowKey:e,removalReason:n}))})}),m=(0,d.aD)("tombstoneOperations.removeAll")(function(){i().folderTombstoneMap={},(0,a.N3)("TnS_RemoveAllFromTombstone"),(0,l.a1)((0,l.sR)("Tombstone:ClearTombstoneForAllFolders",{}))}),p=function(e,t){let n=i().folderTombstoneMap;if(!(e in n))return 0;let o=0;return Object.values(n[e]).forEach(e=>{e==t&&o++}),o},f=function(e,t){let n=i().folderTombstoneMap;if(t in n){let o=n[t][e];if(o)return o}return[]},g=(0,d.aD)("tombstoneOperations.clearMapForFolder")(function(e){let t=i().folderTombstoneMap;t[e]&&((0,a.N3)("TnS_ClearFolderMapInTombstone",[Object.keys(t[e]).length]),delete t[e])}),v=(0,d.aD)("tombstoneOperations.removeRowsFromTombstone")(function(e,t){let n=i().folderTombstoneMap;if(!(t in n))return;let o=n[t];for(let t of e)t in o&&delete o[t];0==Object.keys(o).length&&delete n[t],s.Y.import().then(n=>{(0,l.a1)((0,l.sR)("Tombstone:RemoveRows",{folderId:n(t),rowKeys:e.toString()}))})}),h=o},875177:(e,t,n)=>{n.d(t,{BM:()=>p,FQ:()=>s,GM:()=>u,JS:()=>c,Po:()=>g,Sy:()=>l,Vr:()=>m,ZV:()=>v,k2:()=>d,ly:()=>a,xt:()=>f});var o=n(402392),r=n(924734);let i=new o.nI(()=>Promise.all([n.e(407663),n.e(939129),n.e(211150),n.e(731096),n.e(743156)]).then(n.bind(n,708524)),{name:"MarkRead"}),a=new o._5(i,e=>e.clearAutoMarkAsReadTimer),l=new o._5(i,e=>e.setAutoMarkAsReadTimer),s=new o._5(i,e=>e.toggleRowReadState),d=new o.EF(i,e=>e.markItemsAsReadBasedOnNodeIds),c=new o._5(i,e=>e.markItemAsReadFromReadingPane),u=new o._5(i,e=>e.onKeyboardMarkAsRead),m=new o._5(i,e=>e.markAsReadInTable),p=new o._5(i,e=>e.onSingleSelectionChanged),f=new o.EF(i,e=>e.markReadOnTableViewChange),g=new o._5(i,e=>e.onReadingPaneClosed),v=new o._5(i,e=>e.onNavigateAwayViaUpDown);(0,o.Kv)(r.K,i,e=>e.onItemPartDeselectedOrchestrator)},17013:(e,t,n)=>{n.d(t,{Z:()=>p});var o=n(845407),r=n(836479),i=n(198453),a=n(34844),l=n(206339),s=n(948652),d=n(312459),c=n(313380);let u=async()=>!!(0,c.OV)()&&(await d.ID.import())(),m=async()=>!!await u()||!!(0,l.cr)("cmp-popout-setting")&&(0,s.d)(),p=(0,o.aD)("checkAndCreateNewMessage")(async function(e,t,n){if(!r.Z8.newMessageCreationInProgress){r.Z8.newMessageCreationInProgress=!0;let o=await m();try{return a.$h.importAndExecute(e,{mailboxInfo:t?(0,i.L4)(void 0):void 0,targetId:t??void 0,isPopout:o,eventTimestamp:n})}finally{r.Z8.newMessageCreationInProgress=!1}}return Promise.resolve()})},34844:(e,t,n)=>{n.d(t,{Vk:()=>m,A6:()=>g,n7:()=>v,$h:()=>c,vc:()=>p,ot:()=>h,iv:()=>u,tZ:()=>f,h1:()=>S,jH:()=>I});var o=n(795839),r=n(986371);(0,o._F)(r.s,e=>{c.importAndExecute(e.actionSource,{targetId:e.groupId,toEmailAddressWrappers:e.toEmailAddressWrappers,ccEmailAddressWrappers:e.ccEmailAddressWrappers,bccEmailAddressWrappers:e.bccEmailAddressWrappers,subject:e.subject,body:e.body,mailboxInfo:e.mailboxInfo,isPopout:e.isPopout})});var i=n(402392),a=n(42533),l=n(916102),s=n(100209);let d=new i.nI(()=>Promise.all([n.e(508748),n.e(313380),n.e(728696),n.e(992814),n.e(94724),n.e(17544),n.e(303731),n.e(585169),n.e(830408)]).then(n.bind(n,660229))),c=new i._5(d,e=>e.newMessage,{captureBundleTime:!0}),u=new i._5(d,e=>e.replyToConversation),m=new i._5(d,e=>e.forwardConversation),p=new i._5(d,e=>e.printConversation),f=new i._5(d,e=>e.replyToItem),g=new i._5(d,e=>e.forwardItem),v=new i._5(d,e=>e.forwardItemAsAttachment),h=new i._5(d,e=>e.printItem),I=new i._5(d,e=>e.showConversationInImmersiveReader),S=new i._5(d,e=>e.replyWithText);(0,i.Kv)(a.Z,d,e=>e.onMailServiceNewMessageOrchestrator),(0,i.Kv)(l.Z,d,e=>e.onMailServiceForwardMessageOrchestrator),(0,i.Kv)(s.Z,d,e=>e.onMailServiceReplyReplyAllToMessageOrchestrator)},617307:(e,t,n)=>{let o;function r(){o=!0}function i(){return o}n.d(t,{T:()=>i,g:()=>r})},252862:(e,t,n)=>{n.d(t,{x:()=>v});var o=n(402392),r=n(984737),i=n(875138),a=n(535020),l=n(19091),s=n(970790),d=n(122814),c=n(643442),u=n(357843),m=n(645845),p=n(575930),f=n(417162);let g=new o.nI(()=>n.e(447405).then(n.bind(n,447405)),{name:"Nudges"}),v=new o._5(g,e=>e.disableNudgeOption);(0,o.Kv)(r.v,g,e=>e.getNudgesOnSelectFolderComplete,{govern:!0}),(0,o.Kv)(p.m,g,e=>e.getNudgesOnNudgeOptionChange),(0,o.Kv)(f.tq,g,e=>e.getNudgesOnNudgeRemoved),(0,o.Kv)(u.v,g,e=>e.removeNudgeOnInfoBarClickedOrchestrator),(0,o.Kv)(m.l,g,e=>e.removeNudgeOnDismissNudgeClickedOrchestrator),(0,o.Kv)(p.m,g,e=>e.updateNudgesOnNudgeOptionChange),(0,o.Kv)(i.Z,g,e=>e.removeNudgeOnItemDeleteStoreUpdateOrchestrator),(0,o.Kv)(a.Z,g,e=>e.removeNudgeUponRowUpdate),(0,o.Kv)(d.Z,g,e=>e.removeNudgeOnRowsDeleteStoreUpdateOrchestrator),(0,o.Kv)(s.Z,g,e=>e.removeNudgeOnItemsPinnedStoreUpdateOrchestrator),(0,o.Kv)(l.Z,g,e=>e.removeNudgeOnConversationsPinnedStoreUpdateOrchestrator),(0,o.Kv)(c.Z,g,e=>e.removeNudgeOnReplyOrReplyAllOrForwardOrchestrator)},250619:(e,t,n)=>{let o;n.d(t,{qd:()=>I,SR:()=>h,GP:()=>g,nz:()=>v});var r=n(206339),i=n(152302);function a(){return(0,r.cr)("fwk-prefetch-data-off")||!(0,i.Z)()}var l=n(786080),s=n(645225),d=n(313380),c=n(845837),u=n(742351),m=n(875728);function p(e,t,n,o){let r,i,l;if(a())return;let s=t.rowKeys.indexOf(e);s<0||s>t.currentLoadedIndex||("PrefetchSingleRow"!==o&&(0,u.Z)()?(l=function(){i=d.H4.getRowClientItemId(e,t),d.H4.getItemIds(e,t)?.length>1&&f(i,n,"PrefetchFirstN"==o?"PrefetchFirstNForks":"PrefetchAdjacentRowsForksOnDelay",t.tableQuery.listViewType)},r=1,i=d.H4.getRowIdToShowInReadingPane(e,t)):(r=t.tableQuery.listViewType,i=d.H4.getRowClientItemId(e,t)),f(i,n,o,r),l?.())}function f(e,t,n,o){let r;if(!a()&&e&&("PrefetchSingleRow"===n&&(0,u.Z)()||function(e,t,n,o={conversationCache:l.Z,items:s.Z.items}){let r;if(0===t)r=o.conversationCache.get(e);else if(1===t){let t=o.items.get(e);r=t?.NormalizedBody}return n?null!=r:null==r}(e.Id,o,t))){switch(o){case 0:r=c.vc;break;case 1:r=c.K1}r&&e.Id&&m.Gv.importAndExecute({task:()=>r?.importAndExecute(e,n),priority:m.mn.Messages})}}function g(e,t){f(e,!0,"PrefetchRowInCache",t.tableQuery.listViewType)}function v(e,t,n){p(e,t,n,"PrefetchSingleRow")}function h(e,t){let n=Math.min(e.rowKeys.length,t);for(let t=0;t<n;t++)p(e.rowKeys[t],e,!1,"PrefetchFirstN")}function I(e,t){o&&(clearTimeout(o),o=null),o=setTimeout(()=>{o=null;let n=t.rowKeys.indexOf(e),r=n-1,i=[];r>=0&&i.push(t.rowKeys[r]),(r=n+1)<t.rowKeys.length&&i.push(t.rowKeys[r]),i.forEach(e=>{p(e,t,!1,"PrefetchAdjacentRowsOnDelay")})},1e3)}},16082:(e,t,n)=>{n.d(t,{Z:()=>l});var o=n(645225),r=n(658369),i=n(910569),a=n(795839);function l(e){if(o.Z.conversations.has(e)){for(let t of o.Z.conversations.get(e).conversationNodeIds){let e=o.Z.conversationNodes.get(t);if(e)for(let t of e.itemIds)(0,r.Z)(t,1);s(t)}d(e)}(0,i.M)()}let s=(0,a.lr)("deleteConversationNode",e=>{o.Z.conversationNodes.delete(e)}),d=(0,a.lr)("deleteConversation",e=>{o.Z.conversations.delete(e)})},766908:(e,t,n)=>{n.d(t,{cC:()=>i,pc:()=>r,ve:()=>o});let o=20,r=10,i=100},845837:(e,t,n)=>{n.d(t,{K1:()=>l,YS:()=>s,cC:()=>r.cC,pc:()=>r.pc,rC:()=>a,tj:()=>c,vc:()=>d});var o=n(402392),r=n(766908);let i=new o.nI(()=>Promise.all([n.e(463410,"high"),n.e(149680,"high"),n.e(157018,"high")]).then(n.bind(n,178099)),{name:"MailStoreActions"}),a=new o._5(i,e=>e.loadAllRecipientsForItem),l=new o._5(i,e=>e.loadItem),s=new o._5(i,e=>e.loadItems),d=new o._5(i,e=>e.loadConversation),c=new o._5(i,e=>e.isForwardAllowed)},352579:(e,t,n)=>{n.d(t,{r:()=>a});var o=n(794251),r=n(4906),i=n(308828);function a(e,t){(0,o.Z)((0,r.R7)(e),void 0,void 0,t,void 0,void 0,void 0,i.Yl.Mail)}},794251:(e,t,n)=>{n.d(t,{Z:()=>G});var o=n(532658),r=n(4906),i=n(941441),a=n(374262),l=n(136851),s=n(589801),d=n(436571),c=n(81530),u=n(881041),m=n(67199),p=n(435136),f=n(574138),g=n(20443),v=n(313380),h=n(795839),I=n(776372),S=n(196528);function b(e,t,n,o){w(e),(0,p.r)(e,"FolderNodeClick"==n);let r=0==e.tableQuery.type;(0,f.m)(e);let i=e.tableQuery.scenarioType;if(r){let t=(0,m.qO)(e=>"SwitchMailFolder"==e.getEventName());t&&(t.addCustomProperty("isCached",e.isInitialLoadComplete),t.addCustomProperty("scenario",i),t.addDataSource(e.isInitialLoadComplete?I.o2.IN_MEMORY:I.o2.NETWORK),t.addToCustomWaterfall(1,"isOfflineSyncEnabled",!1,(0,S.PU)()?"true":"false"))}if(r&&e.isInitialLoadComplete&&(0,v.M1)(e.tableQuery.folderId))return Promise.resolve();let a=(0,u.Z)(e,!1,t,o,e.isInitialLoadComplete);return e.isInitialLoadComplete?Promise.resolve():a}let w=(0,h.lr)("setCurrentLoadedIndex",e=>{e.currentLoadedIndex=Math.min(g.Ef,e.rowKeys.length)});var y=n(248430),P=n(308828),C=n(658243),E=n(674545),Z=n(295696),M=n(14726),T=n(754932),F=n(726240),k=n(182939),x=n(875177),R=n(209484);async function A(e,t,n){0===t.tableQuery.type&&R.Z.clearMapForFolder(t.serverFolderId),(await x.xt.import())(e,t,n),1===t.tableQuery.type&&t.id!==n.id&&(0,a.KC)(t)}var D=n(538477),N=n(198453),_=n(636006),O=n(100007),L=n(38975);let V=(0,h.aD)("SET_SELECTED_TABLEVIEW",(e,t)=>({tableview:e,moduleContext:t})),B=(0,h.aD)("HANDLE_SELECTED_TABLEVIEW",(e,t)=>({oldTableView:e,newTableView:t}));function G(e,t,n,r,u,p,f,g){let v;let h=(0,M.Z)(g),I=(0,o.OP)(e);e=I.tableQuery,V(I,g);let S=[];switch(h&&(S=[...h.selectedRowKeys.keys()],F.Z.clear(),(0,D.Mt)(h,T.Z.Reset,"FolderNodeClick"==n)),e.type){case 1:v=g===P.Yl.Groups?L.c.importAndExecute(I,n??"",i.Z,t):a.tX.importAndExecute(I,i.Z,Z.Z,n??"",t,void 0,u,p,f);break;case 2:v=function(e,t,n,o){let r=(0,m.qO)(e=>e.getEventName()==y.HW||e.getEventName()==y.CF),i=s.Z.navigationButtonSelected;if(r){let t=(0,l.Is)(e.tableQuery);if(t){let n=(0,l.Fg)(t,e.tableQuery);r?.addCustomProperty("noOfGroups",C.Z(n).length),r?.addCustomProperty("isGroupOwner",E.i(n,t))}if(r?.addCustomProperty("GroupModule",d.Z[i]),t&&(0,c.vp)(t)){let e=(0,c.nv)();r?.addCustomProperty("TimeSinceWarmUp",Date.now()-e)}}let a=Promise.resolve();return(i===d.Z.Email||o===P.Yl.Groups)&&(a=b(e,t,n)),a}(I,i.Z,n??null,g);break;case 3:v=function(e,t,n,o){let r=s.Z.navigationButtonSelected,i=Promise.resolve();return(r===d.Z.Email||o===P.Yl.Groups)&&(i=b(e,t,n)),i}(I,i.Z,n??null,g);break;case 0:v=b(I,i.Z,n??null,r);break;default:throw Error("UnsupportedTableQueryType")}return h&&A(S,h,I),B(h,I),v}let U=(0,h.lr)("setSelectedTableViewId",(e,t)=>{(0,v.Xp)(t).selectedTableViewId=e});(0,h._F)(V,e=>{let t=e.tableview;if(U(t.id,e.moduleContext),1!==t.tableQuery.type){let n=e.moduleContext??(0,k.u1)()??P.Yl.Mail;(0,_.u)(n,(0,N.L4)(t))}}),(0,h._F)(B,e=>{let{oldTableView:t,newTableView:n}=e,o=(0,v.JY)(n);if(-1===o)return;let i=(0,N.L4)(t),a=(0,N.L4)(n);i.userIdentity!==a.userIdentity&&(0,O.xm)();let l=0===o?(0,r.LL)(a):(0,r.uJ)(a);(0,O.$t)(l)})},941441:(e,t,n)=>{n.d(t,{R:()=>c,Z:()=>d});var o=n(994658),r=n(435136),i=n(313380),a=n(532658),l=n(250619),s=n(845407);let d=(0,s.aD)("onInitialTableLoadComplete")(function(e,t,n,s){e.isLoading=!1;let d=!e.isInitialLoadComplete||0!=e.loadErrorStatus;if(e.isInitialLoadComplete=!0,!s){if(t){e.loadErrorStatus=0;let t=e.selectedRowKeys.size>0;(0==e.tableQuery.type||2==e.tableQuery.type)&&(t||e!=(0,i.ii)()||(0,r.r)(e),d&&!(0,o.Z)()&&(0,l.SR)(e,10)),1==e.tableQuery.type&&(0,r.r)(e),(0,a.wx)(e)}else c(e,n)}}),c=(0,s.aD)("setTableViewErrorState")(function(e,t){switch(t){case"ErrorAccessDenied":e.loadErrorStatus=1;break;case"UnexpectedClientError":e.loadErrorStatus=2;break;default:e.loadErrorStatus=3}})},289126:(e,t,n)=>{n.d(t,{WH:()=>o.Z,RV:()=>r.R});var o=n(794251),r=n(941441),i=n(650575),a=n(966640),l=n(795839);(0,l._F)(a.CG,async e=>{let{searchTableQuery:t,searchEndToEndPerformanceDatapoint:n,actionSource:r,onAnswerResponseReceived:a,substrateAnswerRequest:l,substrateAnswersClientFlights:s}=e;await (0,o.Z)(t,n,r,void 0,a,l,s),t?.scenarioType!="tabbedSearch"&&(0,i.T)()});var s=n(645225),d=n(532658),c=n(222134),u=n(100311),m=n(754932),p=n(538477);let f=e=>{let t=e.actionSource,n=e.row,r=e.searchTableQuery,i=e.referenceId,a=e.traceId,l=e.itemPartId,f=(0,d.OP)(r);if(c.Z.clear(f),c.Z.addRow(0,n,f),(0,o.Z)(r,void 0,t),(0,u.Z)(n.InstanceKey,f,{referenceKey:i,index:0,traceId:a}),(0,p.Af)(f,f.rowKeys[0],!1,m.Z.SearchSuggestionClick),0==r.listViewType&&l){let e=function(e,t){if(s.Z.conversations.has(e)){for(let n of s.Z.conversations.get(e).conversationNodeIds)for(let e of s.Z.conversationNodes.get(n).itemIds)if(e==t)return n}return null}(n.ConversationId.Id,l),t=(0,s.b)().conversations.get(n.ConversationId.Id),o=t?t.conversationNodeIds:[];(0,p.xT)(e,l,o,f,m.Z.MailListItemExpansion)}};(0,l._F)(a.WD,e=>{f(e)});var g=n(580596),v=n(295530),h=n(14726),I=n(100007),S=n(324615),b=n(198453),w=n(339152),y=n(206339);(0,l._F)(d.pT,async e=>{let t=e.focusedViewFilter,n=(0,h.Z)();(0,I.W3)(t,"NonUserAction",(0,b.L4)(n));let r=(0,g.aH)(),i=(0,v.Z)(n.tableQuery.folderId,n.tableQuery.listViewType,r?"mailFolderSortBySize":"mail",t,void 0,void 0,void 0),a=await (0,o.Z)(i);return(0,y.cr)("tri-suggestedUnsubscribe")&&1==t&&w.f2.importAndExecute((0,d.OP)(i)),(0,S.Fp)("selectFocusViewFilter"),a});var P=n(374262),C=n(59194);(0,l._F)(C.e,()=>{P.tX.import()});var E=n(642934),Z=n(402392);let M=new Z.nI(()=>n.e(272727).then(n.bind(n,272727)));(0,Z.Kv)(E.y,M,e=>e.onListViewTypeOptionSavedOrchestrator)},645845:(e,t,n)=>{n.d(t,{l:()=>o});let o=(0,n(795839).aD)("DISMISS_NUDGE",(e,t,n,o)=>({rowKey:e,tableViewId:t,actionSource:n,itemOrConversationId:o}))},995930:(e,t,n)=>{n.d(t,{y:()=>o});let o=(0,n(795839).aD)("ON_OVERRIDE_CORRECTION",(e,t,n)=>({rowKey:e,tableView:t,destinationViewFilter:n}))},129376:(e,t,n)=>{n.d(t,{$7:()=>c,$I:()=>q,Ad:()=>x,BT:()=>Y,DT:()=>p,ER:()=>j,FP:()=>J,GF:()=>et,GS:()=>y,IO:()=>Z,IW:()=>T,K8:()=>eo,M:()=>S,N5:()=>m,OL:()=>s,OU:()=>H,Oq:()=>F,QR:()=>l,Q_:()=>k,SM:()=>O,Tp:()=>P,Ux:()=>D,V0:()=>C,XU:()=>L,Z4:()=>g,Z7:()=>A,ZB:()=>U,_8:()=>en,_s:()=>Q,e2:()=>I,ec:()=>X,fW:()=>R,ft:()=>b,gg:()=>$,i:()=>E,iM:()=>d,ii:()=>K,il:()=>ee,k6:()=>N,kf:()=>er,mb:()=>ei,oq:()=>_,rL:()=>G,rr:()=>w,rs:()=>f,sp:()=>a,tb:()=>V,uN:()=>h,v6:()=>ea,vp:()=>M,xL:()=>u,xi:()=>z,xm:()=>B,yG:()=>W,zt:()=>v});var o=n(402392),r=n(875728);let i=new o.nI(()=>Promise.all([n.e(778996),n.e(407663),n.e(508748),n.e(313380),n.e(110363),n.e(939129),n.e(463410),n.e(149680),n.e(709077),n.e(728696),n.e(992814),n.e(94724),n.e(211150),n.e(683003),n.e(816793),n.e(248116),n.e(303731),n.e(290677),n.e(534717),n.e(696819)]).then(n.bind(n,887026)));new o._5(i,e=>e.addEmailAddressesToSafeSenders);let a=new o._5(i,e=>e.alwaysMoveRowToFocusedOrOther),l=new o._5(i,e=>e.moveMailListRowsToFocusedOrOther),s=new o._5(i,e=>e.deleteMailListRows),d=new o._5(i,e=>e.deleteItems),c=new o._5(i,e=>e.deleteItemsWithoutConfirmDialog),u=new o._5(i,e=>e.flagItems),m=new o.EF(i,e=>e.deleteItemsBasedOnNodeOrThreadIds),p=new o._5(i,e=>e.restoreAllItems),f=new o._5(i,e=>e.toggleRowsFlagState),g=new o._5(i,e=>e.setMailListRowsFlagState),v=new o._5(i,e=>e.setItemsFlagStateFromItemIds);new o._5(i,e=>e.moveItemsFromItemIds);let h=new o.EF(i,e=>e.moveItemsBasedOnNodeIds),I=new o.EF(i,e=>e.moveItems),S=new o._5(i,e=>e.moveMailListRows),b=new o._5(i,e=>e.copyMailListRows),w=new o._5(i,e=>e.copyGroupMailListRows),y=new o._5(i,e=>e.archiveMailListRowsFromTable),P=new o._5(i,e=>e.archiveMailSingleItem),C=new o.EF(i,e=>e.scheduleRows),E=new o._5(i,e=>e.toggleRowPinnedState),Z=new o._5(i,e=>e.markRowsPinnedUnpinned),M=new o._5(i,e=>e.markRowsJunkNotJunkFromTable),T=new o.EF(i,e=>e.markItemsJunkNotJunkBasedOnNodeIds),F=new o._5(i,e=>e.markItemJunkNotJunkFromReadingPane),k=new o._5(i,e=>e.onKeyboardMarkAsJunkNotJunk),x=new o._5(i,e=>e.onKeyboardToggleFlagState),R=new o._5(i,e=>e.markRowsAsPhishingFromTable),A=new o._5(i,e=>e.markItemAsPhishingFromReadingPane),D=new o._5(i,e=>e.reportItems),N=new o._5(i,e=>e.restoreMailListRows),_=new o._5(i,e=>e.unsubscribeEmail),O=new o.EF(i,e=>e.unsubscribeEmailV2),L=new o._5(i,e=>e.blockLastSendersFromTable),V=new o._5(i,e=>e.blockLastSenderFromReadingPane),B=new o._5(i,e=>e.addSafeSenderFromReadingPane),G=new o._5(i,e=>e.addSafeSenderFromTable),U=new o._5(i,e=>e.addCategoriesFromTable),H=new o._5(i,e=>e.removeCategoriesFromTable),W=new o._5(i,e=>e.clearCategoriesFromTable),K=new o._5(i,e=>e.addCategoriesFromItem),z=new o._5(i,e=>e.removeCategoriesFromItem),j=new o._5(i,e=>e.clearCategoriesFromItem),Q=new o._5(i,e=>e.sweepConversations),$=new o._5(i,e=>e.emptyTableView);new o._5(i,e=>e.emptySearchTableView),new o._5(i,e=>e.emptyGroupTableView);let q=new o.EF(i,e=>e.toggleIgnoreConversations),X=new o.EF(i,e=>e.moveSharedFolderItems),Y=new o.EF(i,e=>e.moveSharedFolderConversations),J=new o._5(i,e=>e.messageRecall),ee=new o.EF(i,e=>e.dismissNudge),et=new o.EF(i,e=>e.onRemoveMeeting),en=new o._5(i,e=>e.translateFromTable),eo=new o._5(i,e=>e.logTriageData),er=new o._5(i,e=>e.showNotificationOnSyncMailbox),ei=new o._5(i,e=>e.tryDismissSyncMailboxNotification),ea=new o._5(i,e=>e.moveSingleItemFromItemId);r.Gv.importAndExecute({task:()=>i.importModule("prefetchTriageActions"),priority:r.mn.Messages})},345238:(e,t,n)=>{n.d(t,{IH:()=>l,Ov:()=>d,ZH:()=>s});var o=n(880702),r=n(532658);let i=new Map,a=new Map;function l(e,t){let n=(0,r.OP)(t);i.set(e,n.id),a.set(n.id,n.tableQuery.folderId),(0,o.E)(n)}function s(e){let t=i.get(e);t&&(i.delete(e),a.delete(t),(0,o.s)(t))}function d(e){return[...a.values()].includes(e)}},116269:(e,t,n)=>{let o,r,i;n.d(t,{Wq:()=>v,h5:()=>h});var a=n(345238),l=n(20443),s=n(4906),d=n(313380),c=n(341032),u=n(511943),m=n(827570),p=n(198453);let f="FOCUSED",g="OTHER";function v(e){I(e,o,i)&&S(e,o)}function h(e){let t=e.tableQuery;if(e?.tableQuery?.folderId&&"inbox"===(0,c.Z)(e.tableQuery.folderId)&&"All"===(0,d.$q)(e)&&(0,m.M4)((0,p.L4)(e))===(0,m.M4)((0,u.zl)())){let n=(0,p.L4)(e),o=t.sortBy;return I(n,o,e.tableQuery.listViewType)&&S(n,o),!0}return!1}function I(e,t,n){let a=(0,l.lW)(e),s=!(t&&o&&t.sortDirection===o.sortDirection&&t.sortColumn===o.sortColumn&&r==a&&i===n);return s&&(o=t,r=a,i=n),s}function S(e,t){if((0,l.lW)(e)){let n=(0,s.uJ)(e),o=(0,s.LL)(e);void 0!==t&&(n.sortBy=t,o.sortBy=t),b(),(0,a.IH)(f,n),(0,a.IH)(g,o)}else{let n=(0,s.rc)(e);void 0!==t&&(n.sortBy=t),b(),(0,a.IH)("ALL",n)}}function b(){(0,a.ZH)("ALL"),(0,a.ZH)(f),(0,a.ZH)(g)}},505565:(e,t,n)=>{n.d(t,{Od:()=>l,Vx:()=>a,pi:()=>s,rT:()=>d});var o=n(880702);let r=[],i=new Map;function a(e,t=!0){let n=r.indexOf(e.id);switch(n){case -1:t?(r.unshift(e.id),i.set(e.id,e.tableQuery.folderId),(0,o.E)(e),function(){for(let e=5;e<r.length;e++)i.delete(r[e]),(0,o.s)(r[e]),r.splice(e,1)}()):s()&&(r.push(e.id),i.set(e.id,e.tableQuery.folderId),(0,o.E)(e));break;case 0:break;default:!function(e){let t=e.id;r.splice(r.indexOf(t),1),r.unshift(t)}(e)}return n}function l(e){let t=r.indexOf(e.id);if(-1==t)throw Error("TableViewId should be present in the mru list when remove is called");i.delete(e.id),(0,o.s)(e.id),r.splice(t,1)}function s(){return r.length<5}function d(e){return[...i.values()].includes(e)}},880702:(e,t,n)=>{n.d(t,{E:()=>p,s:()=>f});var o=n(402392);let r=new o.nI(()=>n.e(241385).then(n.bind(n,241385)),{name:"TriageNotifications"}),i=new o._5(r,e=>e.subscribeToRowNotifications),a=new o._5(r,e=>e.unsubscribeToRowNotifications);var l=n(862945),s=n(714506),d=n(786994),c=n(222134),u=n(209484);let m=(0,n(845407).aD)("removeTableFromStore")(function(e,t={tableViews:(0,s.Z)().tableViews}){let{tableViews:n}=t,o=n.get(e);if(o){if((0,d.Z)()==e)return;c.Z.clear(o,void 0),n.delete(e),0==(0,l.Z)(o.tableQuery.folderId,!1).length&&u.Z.clearMapForFolder(o.serverFolderId)}});function p(e){i.importAndExecute(e)}function f(e){a.importAndExecute(e),m(e)}},574138:(e,t,n)=>{n.d(t,{m:()=>i});var o=n(505565),r=n(116269);function i(e,t=!0){if(1==e.tableQuery.type)throw Error("updateTablesInCache should never be called for Search table");return(0,r.h5)(e)?0:(0,o.Vx)(e,t)}},749518:(e,t,n)=>{n.d(t,{UQ:()=>s,om:()=>f,Kz:()=>g,Kt:()=>c});var o=n(402392),r=n(353881),i=n(345298),a=n(209484),l=n(738402);function s(e){if((0,l.XI)(e.serverFolderId,l._S.Running))return!1;if(e.currentLoadedIndex<e.rowKeys.length)return!0;if(e?.tableQuery?.sortBy?.sortColumn===16)return!1;let t=a.Z.getCount(e.serverFolderId,3);return e.rowKeys.length>0&&e.rowKeys.length<e.totalRowsInView-t}var d=n(20443);function c(e){e.rowKeys.length<d.bm&&!e.isLoading&&s(e)&&f.importAndExecute(e)}var u=n(795839),m=n(532658);(0,u._F)(m.wx,e=>{let t=e.tableView;t&&s(t)&&f.import().then(e=>{s(t)&&e(t)})});let p=new o.nI(()=>n.e(510894).then(n.bind(n,510894)),{name:"TableLoadMore"});(0,o.Kv)(r.Z,p,e=>e.reloadTableOnTriageActionFailOrchestrator),(0,o.Kv)(i.Z,p,e=>e.reloadTableUponUndoWithoutNotificaitonChannel);let f=new o._5(p,e=>e.loadMoreInTable),g=new o._5(p,e=>e.reloadInboxPostBoot)},194231:(e,t,n)=>{n.d(t,{Z:()=>s});var o=n(787012),r=n(313380),i=n(795839),a=n(709077);let l=(0,i.lr)("addTableViewToStore",(e,t)=>{t.set(e.id,e)});function s(e,t){let n=(0,r.bh)().tableViews,i=function(e){let t=[];switch(e.type){case 0:t.push("folderId:"+e.folderId),t.push("lVT:"+e.listViewType,"vF:"+e.viewFilter,"fVF:"+e.focusedViewFilter,"sC:"+e.sortBy.sortColumn,"sD:"+e.sortBy.sortDirection),e.categoryName&&t.push("catName:"+e.categoryName),t.push("sT:"+e.scenarioType);break;case 1:t.push("folderId:"+e.folderId),t.push("id:"+e.searchNumber,"query:"+e.queryString,"lVT:"+e.listViewType,"sT:"+e.scenarioType);break;case 2:t.push("gId:"+e.folderId),t.push("lVT:"+e.listViewType,"vF:"+e.viewFilter,"acctId:"+e.mailboxInfo.userIdentity);break;case 3:t.push("folderId:"+e.folderId),t.push("gId:"+e.groupId,"lVT:"+e.listViewType,"vF:"+e.viewFilter,"sC:"+e.sortBy.sortColumn,"sD:"+e.sortBy.sortDirection,"acctId:"+e.mailboxInfo.userIdentity)}return t.join(";").toString()}(e),s=n.get(i);if(!s&&(s={currentLoadedIndex:0,loadErrorStatus:0,id:i,isInCheckedMode:!1,isInVirtualSelectAllMode:!1,isInitialLoadComplete:!1,isLoading:!0,rowKeys:[],rowIdToRowKeyMap:new o.ObservableMap,lastEmptiedTime:null,selectAllModeTimeStamp:null,selectedRowKeys:new o.ObservableMap,serverFolderId:e.folderId,tableQuery:e,totalRowsInView:0,virtualSelectAllExclusionList:[],selectionAnchorRowKey:null,focusedRowKey:null,multiSelectionAnchorRowKey:null,isInSelectAllState:(0,a.J5)(),isInSelectAllStateSLV:!1,lastAutoFocusedRowKey:null},!t)){let e=s.id;l(s,n),s=n.get(e)}return s}},613685:(e,t,n)=>{n.d(t,{Z:()=>o});let o=(0,n(795839).aD)("UPDATE_TABLE_CURRENT_LOADED_INDEX",(e,t)=>({tableViewId:e,currentLoadedIndexToSet:t}))},263377:(e,t,n)=>{n.d(t,{Z:()=>l});var o=n(939129),r=n(580596),i=n(330103),a=n(295530);function l(e,t){let n=(0,o.eE)(e,(0,o.C)(t));return(0,a.Z)((0,i.Z)("msgfolderroot",t),(0,r.Sn)(void 0),"category",-1,"UserCategory",n)}},295530:(e,t,n)=>{n.d(t,{Z:()=>c});var o=n(445e3),r=n(302917),i=n(313380),a=n(341032),l=n(20443),s=n(636283),d=n(366023);function c(e,t,n,c,u,m,p){if(!e){let o=Error("CantCreateMailFolderTableQuery");o.diagnosticInfo=JSON.stringify({listViewType:t,ty:typeof e,scenarioType:n}),(0,s.rx)(o)}let f="mailFolderSortBySize"===n?{sortColumn:7,sortDirection:"Descending"}:p||(0,r.Z)(e),g=null==c?"inbox"===(0,a.Z)(e)&&(0,l.lW)((0,d.qW)(e))?0:-1:c;f?.sortColumn===14&&(t=1);let v="";switch(t){case 0:v=(0,o.MK)(e,(0,i.fp)(n));break;case 1:v=(0,o.im)()}return{folderId:e,focusedViewFilter:g,listViewType:t,viewFilter:u||"All",sortBy:f,requestShapeName:v,type:0,categoryName:m,scenarioType:n}}},384483:(e,t,n)=>{n.d(t,{Z:()=>a});var o=n(862945),r=n(136851),i=n(313380);function a(e,t,n){return e&&"GroupMailbox"==e.type?function(e,t,n={tableViews:(0,i.bh)().tableViews}){let{tableViews:o}=n,a=[];return o.forEach(n=>{((0,r.Is)(n.tableQuery)==e||t&&1==n.tableQuery.type)&&a.push(n)}),a}(e.mailboxSmtpAddress,n):(0,o.Z)(t,n)}},862945:(e,t,n)=>{n.d(t,{Z:()=>r});var o=n(313380);function r(e,t,n={tableViews:(0,o.bh)().tableViews}){let{tableViews:r}=n,i=[];return r.forEach(n=>{if(n.tableQuery.folderId===e||n.serverFolderId===e||t&&1===n.tableQuery.type)i.push(n);else if(t){let e=n.tableQuery.scenarioType;("category"===e||"persona"===e||"privatedistributionlist"===e)&&i.push(n)}}),i}},4906:(e,t,n)=>{n.d(t,{LL:()=>c,R7:()=>u,rc:()=>s,uJ:()=>d});var o=n(302917),r=n(295530),i=n(580596),a=n(330103),l=n(20443);function s(e){let t=(0,a.Z)("inbox",e),n=(0,i.Sn)(t),l=(0,o.Z)(t),s=(0,i.aH)();return(0,r.Z)(t,n,s?"mailFolderSortBySize":"mail",-1,void 0,void 0,l)}function d(e){let t=s(e);return t.focusedViewFilter=0,t}function c(e){let t=s(e);return t.focusedViewFilter=1,t}function u(e){return(0,l.lW)(e)?d(e):s(e)}},532658:(e,t,n)=>{n.d(t,{OP:()=>s.Z,wx:()=>l,pT:()=>a});var o=n(795839),r=n(267264),i=n(313380);let a=(0,o.aD)("selectFocusedViewFilter",(e,t)=>(0,r.i$)({name:0===e?"TnS_SelectFocusedPivot":"TnS_SelectOtherPivot",customData:[e,t,null!=(0,i.bh)().inboxPausedDateTime],unifiedTelemetry:{eventName:"SwitchFocusedOther",data:{SubAction:"Other"}}},{focusedViewFilter:e,actionSource:t})),l=(0,o.aD)("ON_INITIAL_TABLE_LOAD_COMPLETE",e=>({tableView:e}));var s=n(194231)},634646:(e,t,n)=>{let o;n.d(t,{oU:()=>m,nn:()=>p,QU:()=>b,xv:()=>f,Yw:()=>g});var r=n(795839);let i=(0,r.MT)("undo",{hasUndoableAction:!1,undoableActionFolderId:null})(),a=()=>i;var l=n(209484),s=n(67199),d=n(617307),c=n(345298);let u=(0,r.lr)("setUndoableAction",(e,t)=>{let n=a();n.hasUndoableAction=e,n.undoableActionFolderId=t});function m(e,t){null!==e&&(o=e,u(!0,t))}function p(){o=null,u(!1,null)}function f(){return a().hasUndoableAction}function g(e){let t=new s.Gn("TnS_Undo");t.addCustomData([e]),i.undoableActionFolderId?l.Z.clearMapForFolder(i.undoableActionFolderId):l.Z.removeAll();let n=o;return null!==n&&(n().then(()=>{(0,d.T)()||(0,c.Z)()}),p()),t.end(),Promise.resolve()}var v=n(313380),h=n(341032),I=n(110363),S=n(206339);function b(e,t,n){return!!(e&&!(0,v.OV)()&&t&&("UserMailbox"===t.type||(0,S.cr)("grp-loadFolders")&&"GroupMailbox"===t.type)&&"recoverableitemsdeletions"!=(0,h.Z)(e)&&"outbox"!=(0,h.Z)(e)&&!((0,I.p$)(e,"ArchiveMailbox")||(0,I.p$)(e,"SharedMailbox"))&&(!n||(0,I.LK)(e,n)))}},626386:(e,t,n)=>{n.d(t,{I:()=>a});var o=n(288011),r=n(75008),i=n(763763);function a(e,t,n,a,l,s){let d={mailboxInfo:(0,i.Z)(),operation:0,bodyType:"HTML",subject:a,newContent:l,to:e,cc:t,bcc:n,preferAsyncSend:!0,attachmentFilesToUpload:(0,o.Z)(s)};r.GB.importAndExecute(d,2)}},214504:(e,t,n)=>{n.d(t,{qL:()=>h,Ii:()=>v,yo:()=>I,_y:()=>s,TB:()=>c,Ug:()=>f});var o=n(728696),r=n(402392),i=n(302140),a=n(626386),l=n(592948);function s(e){if(!e||null!=e.RightsManagementLicenseData||e.IsDraft||e.MailboxInfo&&(0,l.s)(e.MailboxInfo)&&"GroupMailbox"===e.MailboxInfo.type)return!1;{let t=e.ItemClass?e.ItemClass.toLowerCase():void 0;if(t&&(0==t.indexOf("ipm.note.smime")&&-1==t.indexOf("ipm.note.smime.multipartsigned")||0==t.indexOf("report")))return!1}return!0}var d=n(240282);async function c(e,t){(0,d.Z)(void 0,t)||await o.M.importAndExecute(e,"")}var u=n(136851),m=n(875728),p=n(636006);function f(){m.Gv.importAndExecute(()=>c((0,u.Zs)()?o.RT.NotSupported:o.RT.Empty,(0,p.Q)()))}let g=new r.nI(()=>Promise.all([n.e(367989),n.e(269368),n.e(304641)]).then(n.bind(n,918458)),{name:"AddinsMail"}),v=new r.EF(g,e=>e.createMailReadAdapter),h=new r.EF(g,e=>e.createMailComposeAdapter),I=new r.EF(g,e=>e.createMultiSelectAdapter);o.lF.sendFeedback=function(){let e=[{Name:(0,i.ZP)("N6BZNb"),EmailAddress:"outlookinclientstorefeedback@service.microsoft.com"}];(0,a.I)(e,[],[],(0,i.ZP)("t$KLee"),(0,i.ZP)("E3Aird"),[])}},288011:(e,t,n)=>{n.d(t,{Z:()=>a});var o=n(728696),r=n(265178),i=n(460691);function a(e){let t=[];if(e)for(let n of e){let e;n.attachmentType==o.P8.Item?e={fileType:r.Y0.MailItem,name:n.name,size:n.size||0,itemId:n.id}:n.attachmentType==o.P8.File&&(e={fileType:r.Y0.Uri,name:n.name,size:n.size||0,uri:n.id,type:(0,i.LG)(n.id)}),e&&t.push({file:e,isInline:n.isInline})}return t}},828410:(e,t,n)=>{n.d(t,{fb:()=>g,hV:()=>w,uw:()=>v,N0:()=>S,kJ:()=>b,KG:()=>y,Oj:()=>I,bz:()=>p,WZ:()=>a,bG:()=>h});var o=n(402392),r=n(632929),i=n(706483);function a(e,t,n){let o=e.filter(c),i=o.filter(r.ZC),a=o.filter(r.in),m=o.filter(r.Ot),p=null,f=null,g=null,v=null;if(i.length>0){let e=u(i);(0==m.length&&0==a.length||n)&&e&&(p=l(i,t),f=e,g=s(i,t),v=d(i,t))}else if(m.length>0){let e=u(m);(n||0==a.length)&&e&&(p=l(m,t),f=e,g=s(m,t),v=d(m,t))}else if(a.length>0){let e=u(a);e&&(p=l(a,t),f=e,g=s(a,t),v=d(a,t))}return{latestMeetingMessageId:p,eventId:f,latestRequestId:g,latestCancellationId:v}}function l(e,t){let n=e.length>0?e[e.length-1]:null;return n?.ItemId?{Id:n.ItemId.Id,mailboxInfo:t}:null}function s(e,t){let n=e.filter(e=>(0,r.MO)(e.ItemClass)),o=n.length>0?n[n.length-1]:null;return o?.ItemId?{Id:o.ItemId.Id,mailboxInfo:t}:null}function d(e,t){let n=e.filter(e=>(0,r.nn)(e.ItemClass)),o=n.length>0?n[n.length-1]:null;return o?.ItemId?{Id:o.ItemId.Id,mailboxInfo:t}:null}function c(e){return!!((!e.MailboxInfo||"GroupMailbox"!==e.MailboxInfo.type)&&((0,r.MO)(e.ItemClass)||(0,r.nn)(e.ItemClass)||(0,r.cq)(e.ItemClass)))&&(!e.IsDelegated||!e.ReceivedRepresenting)&&!!e.AssociatedCalendarItemId}function u(e){let t=(0,i.D)(e[0]);return t&&e.every(e=>{let n=(0,i.D)(e);return n&&n.Id==t.Id})?t:null}var m=n(335569);function p(){return{latestMeetingMessageId:null,latestRequestId:null,latestCancellationId:null,eventId:null,event:null,removedFromCalendar:!1,responseType:"Unknown",responseEditorState:0,emailOrganizer:!0,editorViewState:null,activePivot:m.p.Messages,attachmentWell:null,contentWidth:m.F.Unset,unreadMessageCount:0,eventViewedLogged:!1,rsvpToOrganizerWithNote:!1}}let f=new o.nI(()=>Promise.all([n.e(896847),n.e(407663),n.e(209952),n.e(162374),n.e(426799),n.e(980246),n.e(696009),n.e(791109),n.e(939129),n.e(485810),n.e(120794),n.e(855491),n.e(393138),n.e(670081),n.e(787178),n.e(299305),n.e(988917),n.e(636234),n.e(738554),n.e(760763)]).then(n.bind(n,820186))),g=(0,o.$y)(f,e=>e.CalendarCard),v=(0,o.$y)(f,e=>e.CalendarCardBottom),h=new o._5(f,e=>e.initializeCalendarCard),I=(0,o.$y)(f,e=>e.TimeRow),S=(0,o.$y)(f,e=>e.LocationRow),b=(0,o.$y)(f,e=>e.PersonRow);(0,o.$y)(f,e=>e.RSVPActions);let w=(0,o.$y)(f,e=>e.CalendarCardActions);(0,o.$y)(f,e=>e.OnlineMeetingSection);let y=(0,o.$y)(f,e=>e.RSVPWithNote)},335569:(e,t,n)=>{let o,r;n.d(t,{F:()=>a,p:()=>i});var i=((o=i||{}).Messages="Messages",o.MeetingDetails="MeetingDetails",o),a=((r=a||{}).Unset="Unset",r.Narrow="Narrow",r.Medium="Medium",r.Large="Large",r.Wide="Wide",r)},767675:(e,t,n)=>{n.d(t,{A3:()=>l,D1:()=>m,GC:()=>c,Lg:()=>f,SL:()=>a,Uj:()=>s,_R:()=>i,hD:()=>p,kS:()=>d,wK:()=>u});var o=n(402392);let r=new o.nI(()=>Promise.all([n.e(367989),n.e(269368),n.e(534717),n.e(731096),n.e(585169),n.e(269385)]).then(n.bind(n,792035))),i=new o._5(r,e=>e.onClearMsgPermissions),a=new o._5(r,e=>e.onCopyToClipboard),l=new o._5(r,e=>e.onDelete),s=new o._5(r,e=>e.onFlagUnflag),d=new o._5(r,e=>e.onMarkAsReadUnread),c=new o._5(r,e=>e.onResponse),u=new o._5(r,e=>e.onSensitivity),m=new o._5(r,e=>e.onToggleMessageClassification),p=new o._5(r,e=>e.onToggleRmsTemplate),f=new o._5(r,e=>e.onSensitivityLabelChanged)},635557:(e,t,n)=>{n.d(t,{Z:()=>c});var o=n(313380),r=n(129376),i=n(324615),a=n(330103),l=n(875177),s=n(40540),d=n(763763);async function c(e){let t;let n=(0,o.ii)(),c=[...n.selectedRowKeys.keys()],u="ContextMenu"===e?(0,o.Xp)().expandedConversationViewState.allNodeIds:(0,o.Xp)().expandedConversationViewState.selectedNodeIds;if(1===n.selectedRowKeys.size){let e=[...n.selectedRowKeys.keys()][0];l.BM.importAndExecute(e,n,!0)}if((0,o.Fh)()){let o=await r.uN.import();t=()=>{o(u,(0,a.Z)("archive",(0,d.Z)()),n.id,e)}}else t=()=>{r.GS.importAndExecute(c,n,e)};(0,o.Fh)()?t():(0,s.IJ)("Archive",c,t),(0,i.Fp)("archiveCommand")}},48057:(e,t,n)=>{n.d(t,{Z:()=>a});var o=n(313380),r=n(324615),i=n(129376);function a(e){let t=(0,o.ii)(),n=[...t.selectedRowKeys.keys()];i.XU.importAndExecute(n,t,e),(0,r.Fp)("blockCommand")}},666144:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(313380),r=n(580902);async function i(e,t){let n=(0,o.ii)(),i=[...n.selectedRowKeys.keys()];(await r.g9.import())(i[0],n.id,e,t)}},254431:(e,t,n)=>{n.d(t,{Z:()=>r});var o=n(767675);function r(e,t,n,r){o.A3.importAndExecute(e,t,n,r)}},161358:(e,t,n)=>{n.d(t,{F:()=>r,Sj:()=>a,t2:()=>i});var o=n(767675);function r(e){o.Uj.importAndExecute(e,{FlagStatus:"Flagged"})}function i(e){o.Uj.importAndExecute(e,{FlagStatus:"NotFlagged"})}function a(e,t,n,r){o.Uj.importAndExecute(e,t,n,r)}},80594:(e,t,n)=>{n.d(t,{Z:()=>a});var o=n(313380),r=n(324615),i=n(129376);async function a(e,t){let n=(0,o.ii)(),a=[...n.selectedRowKeys.keys()];(await i.$I.import())(a,n,t,e),(0,r.Fp)("ignoreCommand")}},232280:(e,t,n)=>{n.d(t,{Z:()=>d});var o=n(313380),r=n(324615),i=n(129376),a=n(875177),l=n(732635),s=n(206339);async function d(e,t){let n=(0,o.ii)(),d=[...n.selectedRowKeys.keys()];if(1===n.selectedRowKeys.size){let e=[...n.selectedRowKeys.keys()][0];a.BM.importAndExecute(e,n,!0)}(0,s.cr)("tri-reportUnsubscribeBlock")?i.Ux.importAndExecute(t?l.C2.Junk:l.C2.NotJunk,d,n,e):((0,o.Fh)()?(await i.IW.import())((0,o.Xp)().expandedConversationViewState.selectedNodeIds,n.id,t,e):i.vp.importAndExecute(d,n,t,e),(0,r.Fp)("junkCommand"))}},12266:(e,t,n)=>{n.d(t,{Z:()=>s});var o=n(313380),r=n(129376),i=n(732635),a=n(324615),l=n(206339);function s(e){let t=(0,o.ii)(),n=[...t.selectedRowKeys.keys()];(0,l.cr)("tri-reportUnsubscribeBlock")?r.Ux.importAndExecute(i.C2.Phishing,n,t,e):(r.fW.importAndExecute(n,t,e),(0,a.Fp)("markAsPhishingCommand"))}},962625:(e,t,n)=>{n.d(t,{Z:()=>r});var o=n(767675);function r(e,t){o.kS.importAndExecute(e,t)}},118708:(e,t,n)=>{n.d(t,{Z:()=>a});var o=n(313380),r=n(324615),i=n(129376);function a(e){let t=(0,o.ii)(),n=[...t.selectedRowKeys.keys()];i.rL.importAndExecute(n,t,e),(0,r.Fp)("neverBlockCommand")}},151492:(e,t,n)=>{n.d(t,{Z:()=>a});var o=n(313380),r=n(129376),i=n(324615);function a(e,t){let n=(0,o.ii)(),a=n.isInVirtualSelectAllMode?n.rowKeys:[...n.selectedRowKeys.keys()];if(void 0===t){for(let e of(t=!0,a))if(o.H4.getIsPinned(e,n)){t=!1;break}}r.IO.importAndExecute(a,n.id,t,e),(0,i.Fp)("pinUnpinCommand")}},750885:(e,t,n)=>{n.d(t,{Z:()=>l});var o=n(313380),r=n(34844),i=n(324615),a=n(839602);function l(e,t){let n=(0,o.ii)(),l=[...n.selectedRowKeys.keys()],s=(0,o.Xp)().expandedConversationViewState.selectedNodeIds;if(1===s.length){let o=(0,a.Z)(n,s);r.ot.importAndExecute(o,e,t)}else{let i=o.H4.getRowClientItemId(l[0],n);switch(n.tableQuery.listViewType){case 0:r.vc.importAndExecute(i,e,t);break;case 1:r.ot.importAndExecute(i,e,t)}}(0,i.Fp)("printCommand")}},842199:(e,t,n)=>{n.d(t,{FC:()=>a,Gc:()=>s,VX:()=>r,YE:()=>i,ZC:()=>l,j:()=>d});var o=n(767675);function r(e,t){o.GC.importAndExecute(2,e,t)}function i(e,t){o.GC.importAndExecute(3,e,t)}function a(e){o.GC.importAndExecute(0,e)}function l(e){o.GC.importAndExecute(1,e)}function s(e){o.GC.importAndExecute(4,e)}function d(e){o.GC.importAndExecute(5,e)}},262130:(e,t,n)=>{n.d(t,{Z:()=>a});var o=n(313380),r=n(129376),i=n(324615);function a(e){let t=(0,o.ii)(),n=[...t.selectedRowKeys.keys()];r.k6.importAndExecute(n,t.id,e),(0,i.Fp)("restoreCommand")}},773724:(e,t,n)=>{n.d(t,{Z:()=>r});var o=n(767675);function r(e,t,n,r=!1){o.wK.importAndExecute(e,t,n,r)}},11409:(e,t,n)=>{n.d(t,{Z:()=>l});var o=n(313380),r=n(34844),i=n(261144),a=n(839602);function l(e){let t=(0,o.ii)(),n=[...t.selectedRowKeys.keys()],l=(0,o.Xp)().expandedConversationViewState.selectedNodeIds;if(1===l.length){let n=(0,a.Z)(t,l);i.ky.importAndExecute(n,e)}else{let a=o.H4.getRowClientItemId(n[0],t);switch(t.tableQuery.listViewType){case 0:r.jH.importAndExecute(a,e);break;case 1:i.ky.importAndExecute(a,e)}}}},96988:(e,t,n)=>{n.d(t,{Z:()=>a});var o=n(313380),r=n(129376),i=n(40540);async function a(e,t){let n=(0,o.ii)(),a=[...n.selectedRowKeys.keys()];if(n&&a){let o=await r.V0.import();(0,i.IJ)("Snooze",a,()=>{o(a,n.id,t,e)})}}},480420:(e,t,n)=>{n.d(t,{Z:()=>d});var o=n(324615),r=n(313380),i=n(402392);let a=new i.nI(()=>n.e(446082).then(n.bind(n,446082))),l=new i._5(a,e=>e.showSweepDialog);var s=n(652015);function d(e){let t=(0,r.ii)(),n=[...t.selectedRowKeys.keys()];(0,s.d)(e),l.importAndExecute(n,t,e),(0,o.Fp)("sweepCommand")}},989840:(e,t,n)=>{n.d(t,{Z:()=>r});var o=n(767675);function r(e,t,n){o.hD.importAndExecute(e,t,n)}},839602:(e,t,n)=>{n.d(t,{Z:()=>a});var o=n(289239),r=n(738434),i=n(295322);function a(e,t){let n=[...e.selectedRowKeys.keys()][0],a=(0,i.FD)(n),l=(0,r.Z)(t[0],a);return(0,o.j)(l,e)}},556552:(e,t,n)=>{n.d(t,{J:()=>i});var o=n(206339),r=n(67199);function i(e,t,n){(0,o.cr)("cmp-compose-send-logs")&&(0,r.qu)("MailComposeSaveSendLog",{editorId:e,eventName:n,...t})}},567046:(e,t,n)=>{n.d(t,{F:()=>r});var o=n(433124);function r(e){var t,n;return{__typename:"ConversationRowConnection",edges:function(e,t,n=!0){return e&&0!=e.length?e.map(e=>({__typename:"ConversationRowEdge",cursor:e.InstanceKey??"",node:n?(0,o.T)(e,t):e})):[]}(e.Conversations,e.FolderId?.Id),pageInfo:{__typename:"PageInfoWithCursorPagination",endCursor:(t=e.Conversations)&&t.length>0?t[t.length-1].InstanceKey??"":"",hasNextPage:void 0!==e.IndexedOffset&&void 0!=e.TotalConversationsInView&&e.IndexedOffset<e.TotalConversationsInView,hasPreviousPage:void 0!==e.IndexedOffset&&!!e.Conversations&&e.IndexedOffset>e.Conversations.length,startCursor:(n=e.Conversations)&&n.length>0?n[0].InstanceKey??"":""},searchFolderId:e.SearchFolderId?.Id??void 0,folderId:e.FolderId?.Id??void 0,totalConversationRowsInView:e.TotalConversationsInView??0}}},433124:(e,t,n)=>{n.d(t,{T:()=>r});var o=n(128779);function r(e,t){let n=e.ParentFolderId?.Id||t;return{__typename:"ConversationType",ConversationId:{Id:e.ConversationId.Id},ConversationTopic:e.ConversationTopic??"",UniqueRecipients:e.UniqueRecipients,UniqueSenders:e.UniqueSenders,LastDeliveryTime:e.LastDeliveryTime??"",Categories:e.Categories,FlagStatus:e.FlagStatus,FlagStatusV2:e.FlagStatusV2,HasAttachments:e.HasAttachments,MessageCount:e.MessageCount,GlobalMessageCount:e.GlobalMessageCount,UnreadCount:e.UnreadCount??0,GlobalUnreadCount:e.GlobalUnreadCount,Size:e.Size,ItemClasses:e.ItemClasses,Importance:e.Importance,ItemIds:e.ItemIds,GlobalItemIds:e.GlobalItemIds,LastModifiedTime:e.LastModifiedTime,InstanceKey:e.InstanceKey,Preview:e.Preview,IconIndex:e.IconIndex,DraftItemIds:e.DraftItemIds,HasIrm:e.HasIrm,LastDeliveryOrRenewTime:e.LastDeliveryOrRenewTime??"",LastSentTime:e.LastSentTime??"",GlobalMentionedMe:e.GlobalMentionedMe,GlobalAtAllMention:e.GlobalAtAllMention,SortOrderSource:e.SortOrderSource,LastSender:e.LastSender,From:e.From,ParentFolderId:n?{__typename:"FolderId",Id:n}:void 0,EntityNamesMap:e.EntityNamesMap,HasExternalEmails:e.HasExternalEmails,ReturnTime:e.ReturnTime,IsTaggedForBigScreen:e.Hashtags&&e.Hashtags.indexOf(o.R)>=0,HasSharepointLink:e.HasSharepointLink,HasAttachmentPreviews:e.HasAttachmentPreviews,HasProcessedSharepointLink:e.HasProcessedSharepointLink,mentionedMe:e.GlobalMentionedMe||e.GlobalAtAllMention,id:e.ConversationId.Id,InferenceClassification:e.ConversationInferenceClassification?"Other":"Focused",ConversationToMe:e.ConversationToMe,ConversationCcMe:e.ConversationCcMe,ReactionsCount:e.ReactionsCount??0}}},197653:(e,t,n)=>{n.d(t,{o:()=>i});var o=n(402392);let r=new o.nI(()=>n.e(904411).then(n.bind(n,904411))),i=new o._5(r,e=>e.showScheduleDatePickerDialog)},6732:(e,t,n)=>{n.d(t,{q:()=>i});var o=n(402392);let r=new o.nI(()=>Promise.all([n.e(448256),n.e(109118),n.e(101231)]).then(n.bind(n,125307)),{name:"ExtendedCard"}),i=(0,o.$y)(r,e=>e.ExtendedCardWrapper)},807265:(e,t,n)=>{n.d(t,{M:()=>a,R:()=>r.R});var o=n(402392),r=n(128779);let i=new o.nI(()=>n.e(835878).then(n.bind(n,835878))),a=new o._5(i,e=>e.initializeTaggedEmailsFetch)},128779:(e,t,n)=>{n.d(t,{R:()=>o});let o="#TagEmailForBigScreen"},863822:(e,t,n)=>{n.d(t,{Z:()=>v});var o=n(136851),r=n(836479),i=n(62699),a=n(313380),l=n(738402),s=n(137455),d=n(206339),c=n(590506),u=n(751971),m=n(198453),p=n(584492),f=n(836519),g=n(136027);function v(e){let t=(0,a.ii)();switch(e){case 32:return function(e){let t=e.tableQuery;if((0,a.jJ)(t)||(0,i.K4)(t))return!0;if((0,o.Ws)(t)){let e=o.Qv.tryImportForRender(),n=(0,o.Is)(t);return(!!n&&e?.(n,o.Fg(n,t)))??!1}return!!r.Z8.newMessageCreationInProgress}(t);case 11:return!!t&&function(e){let t=e.tableQuery,n=(0,o.Is)(t);if((0,l.Eg)(e.serverFolderId)&&e.isInVirtualSelectAllMode)return!0;if(n&&(0,o.Ws)(t)){let r=(0,s.B)((0,o.Fg)(n,t),n),i=o.xp.tryImportForRender();if(n&&!i?.(n)){let t=[...e.selectedRowKeys.keys()];if(1!==t.length||!(a.H4.getCanDelete(t[0],e)||(0,d.cr)("grp-loadFolders")&&r?.canDeleteMessage))return!0}}return!1}(t);case 28:return!!t&&function(e){if((0,o.lp)()){let t=(0,o.Is)(e.tableQuery)??"",n=(0,o.Fg)(t,e.tableQuery),r=(0,s.B)(n,t);return!r?.canMoveMessage}return!1}(t);case 9:return!!t&&function(e){if((0,o.lp)()){let t=(0,o.Is)(e.tableQuery)??"",n=(0,o.Fg)(t,e.tableQuery),r=(0,s.B)(n,t);return!r?.canCopyMessage}return!1}(t);case 81:let n=(0,m.L4)(t);return!!t&&(0,c.Z)((0,g.Z)(t),n);case 84:let v=(0,g.Z)(t);return!!t&&!!v&&(0,u.Z)(v);case 63:var h;let I=(0,g.Z)(t);if(!I)return!0;return h=(0,m.L4)((0,a.ii)()),!(I?.ItemId?.Id&&[(0,p.Z)(I),(0,f.Z)(I,h)].every(e=>e));default:return!1}}},384593:(e,t,n)=>{let o;n.d(t,{I:()=>d});var r=n(240282),i=n(478248),a=n(505376),l=n(298371),s=n(840859);function d(e,t){return o||(o={13:e=>(0,r.Z)(void 0,e),42:e=>c(e),40:e=>c(e),85:e=>c(e),43:e=>c(e),58:e=>c(e),60:e=>c(e),64:e=>c(e)||m(e)||p(e),17:e=>c(e),72:e=>c(e),87:e=>c(e),50:e=>c(e),6:e=>c(e)||u(e),38:e=>c(e)||m(e)||p(e),73:e=>c(e)||m(e)||p(e),56:e=>c(e)||m(e)||p(e),10:e=>c(e)||u(e),3:e=>c(e)||m(e)||p(e),23:e=>c(e)||m(e),24:e=>c(e)||m(e)||u(e),21:e=>c(e)||m(e)||u(e)||p(e),19:e=>c(e)||m(e)||u(e)||p(e),44:e=>!(0,r.Z)(void 0,e)||m(e)||u(e)||p(e),68:e=>"UserMailbox"!=e.type||u(e),52:e=>u(e),5:e=>c(e)||u(e),69:e=>c(e)||m(e)||u(e)||p(e),61:e=>c(e)||m(e)||u(e)||p(e),12:e=>c(e)||p(e),46:e=>c(e),71:e=>c(e)||m(e)||p(e),62:e=>c(e)||m(e)||p(e),20:e=>c(e)||m(e)||u(e)||p(e),78:e=>u(e),70:e=>!(0,a.d)(s.n,e)||c(e),4:e=>(0,r.Z)(void 0,e)||u(e),48:e=>(0,r.Z)(void 0,e)||u(e),66:e=>!(0,a.d)(l.m,e),16:e=>c(e)||p(e)||f(e),14:e=>c(e)||p(e)||f(e),80:e=>c(e),81:e=>c(e)||m(e)||u(e)||p(e)||(0,r.Z)(void 0,e)}),o[e]?.(t)}function c(e){return"GroupMailbox"==e.type}function u(e){let t=i.p(e)?.SessionSettings;return!!t?.IsShadowMailbox}function m(e){return"ArchiveMailbox"==e.type}function p(e){return"SharedMailbox"==e.type}function f(e){return"PublicMailbox"==e.type}},668394:(e,t,n)=>{let o;n.d(t,{ZP:()=>ep,J$:()=>eT,uV:()=>eF,Aq:()=>eM,HH:()=>eZ});var r=n(634646),i=n(92935),a=n(313380),l=n(110363),s=n(334785),d=n(136851),c=n(645225),u=n(428785),m=n(45409),p=n(91253),f=n(697399),g=n(341032);let v=e=>()=>{let t=(0,f.mU)();return e(t&&(0,g.Z)(t))},h=e=>()=>{let t=(0,a.ii)();return e.includes((0,a.JY)(t))};var I=n(330103),S=n(521150),b=n(206339),w=n(636006);let y=(e,t)=>()=>!t!=!e.includes(function(){let e="",t=(0,a.ii)(),n=t&&t.tableQuery.folderId;if((0,b.cr)("grp-loadFolders")&&(0,d.Ws)(t?.tableQuery)){let o=(0,d.Is)(t?.tableQuery);e=(0,S.L0)(o,n,(0,w.Q)())}else e=n&&(0,g.Z)(n);return e}());var P=n(478248),C=n(817923),E=n(25493),Z=n(738434),M=n(863822),T=n(384593),F=n(198453),k=n(277167),x=n(738402),R=n(505376),A=n(953485),D=n(295322),N=n(116156),_=n(732635),O=n(189009),L=n(761940),V=n(960031),B=n(459672);let G=e=>()=>{let t=(0,a.YV)(),n=!t&&(0,a.av)();switch(e){case 4:return!n;case 1:case 3:return n;case 2:return!t&&(0,a.p6)();default:throw(0,B.v)(e)}};var U=n(725090),H=n(298371);let W=e=>()=>{let t=(0,a.ii)();switch(e){case 0:return 0==t.rowKeys.length;case 1:return t.rowKeys.length>0;default:throw(0,B.v)(e)}};var K=n(742351);let z=e=>()=>{let{tableQuery:{listViewType:t}}=(0,a.ii)();switch(e){case 2:return 1===t||(0,K.Z)();case 1:return 0===t&&!(0,K.Z)();default:throw(0,B.v)(e)}},j=(e,t)=>()=>{let n=(0,a.ii)();return!t!=!e.includes(n.tableQuery.scenarioType)};var Q=n(709077);let $=e=>()=>{let t=(0,Q.sA)();switch(e){case 1:return t&&(0,Q.gS)();case 2:return(0,Q.xb)();case 0:return!t;default:throw(0,B.v)(e)}};var q=n(690673);let X=(e,t)=>()=>{let{tableQuery:{type:n}}=(0,a.ii)();if(1!==n)return!0;let o=(0,q.bh)().staticSearchScope;return!t!=!(o&&e.includes(o.kind))},Y=e=>()=>{let t=(0,a.WA)(),n=(0,a.GP)(),o=(0,a.im)()||(0,a.zm)(),r=!1;for(var i of e){switch(i){case 5:r=0==t&&!n;break;case 0:r=t>0||o;break;case 1:r=t>0;break;case 2:r=1==t;break;case 3:r=t>1||o;break;case 4:r=t>1;break;case 6:r=n&&(0,a.zM)()}if(r)return!0}return!1};var J=n(607823);function ee(e){return e?Array.isArray(e[0])?()=>e.some(e=>et(e)):()=>et(e):()=>!0}function et(e){return e.every(e=>e())}let en=(e,t)=>()=>{let{tableQuery:n,tableQuery:{type:o}}=(0,a.ii)(),r=!1;if(0==o||2==o){let t=n.sortBy;r=e.some(({sortColumn:e,sortDirection:n})=>e==t.sortColumn&&n==t.sortDirection)}else r=!0;return!t!=!r};var eo=n(226459);let er=(e,t)=>()=>{let n=(0,a.ii)();if(!n)return!1;if(1!==n.tableQuery.type)return!0;let o=(0,q.bh)().staticSearchScope;return!t!=!(e.map(e=>(0,m.yY)({folderId:(0,I.Z)(e),kind:m.D9.PrimaryMailbox})).filter(e=>(0,eo.Z)(e,o)).length>0)},ei=(e,t)=>()=>{let n=(0,a.ii)();if(!n)return!1;let{tableQuery:{type:o}}=n;return!t!=!e.includes(o)};var ea=n(840859),el=n(255229),es=n(656133),ed=n(59114),ec=n(75953),eu=n(438986);let em="IPM.Schedule.Meeting";function ep(e,t){return o||function(){let e="inbox",t=[i._r,i.Rg],n=[i.CJ,i.SO],c="sentitems",u="drafts",p="deleteditems",f="junkemail",S="scheduled",w="clutter",P="archive",C="notes",E="outbox",T=[u,c,w,f,p,P,C,...t,E];o={[-1]:ee([v(()=>!0)]),67:ee([Y([2])]),2:ee([Y([0])]),37:ee([y([E,C,...t],!0),G(4),Y([2]),er([C,...t],!0)]),42:ee([y([E,u,f,C,...t],!0),z(2),v(()=>!eb()&&Y([2])()),er([C,...t],!0)]),40:ee([y([E,u,C,...t],!0),v(()=>!eb()&&Y([2])()),er([C,...t],!0),z(2),v(()=>z(2)()&&eS(!1)[0])]),43:ee([y([E,u,C,f,...t],!0),v(()=>!eb()&&Y([2])()&&!ex()),er([C,...t],!0)]),85:ee([y([E,u,C,f,...t],!0),v(()=>!eb()&&Y([2])()&&!function(){let e;let t=eE();if(!t)return!1;if((0,a.Fh)()){let n=(0,a.Q6)()[0];e=(0,Z.Z)(n,(0,D.FD)(t))}else e=a.H4.getItem(t,(0,a.ii)());return(0,el.Z)(e)||!!e?.RightsManagementLicenseData}()&&!ex()&&!!(0,ed.c0)("ReplyByMeeting",(0,F.L4)((0,a.ii)()))),er([C,...t],!0)]),58:ee([y([E,u,C,...t],!0),v(()=>!eb()&&Y([2])()),er([C,...t],!0),v(()=>eS(z(1)())[0])]),41:ee([y([E,u,C,...t],!0),v(()=>!eb()&&Y([2])()),er([C,...t],!0),z(2),v(()=>z(2)()&&eS(!1)[1])]),59:ee([y([E,u,C,...t],!0),v(()=>!eb()&&Y([2])()),er([C,...t],!0),v(()=>eS(z(1)())[1])]),18:ee([y([E,C,...t],!0),v(()=>!eb()&&Y([2])()),er([C,...t],!0),z(2),v(()=>z(2)()&&eS(!1)[2])]),51:ee([y([E,C,...t],!0),v(()=>!eb()&&Y([2])()),er([C,...t],!0),v(()=>eS(z(1)())[2])]),60:ee([y([E,C,...t],!0),v(()=>!eb()&&Y([2])()),er([C,...t],!0),v(()=>eS(z(1)())[2])]),64:ee([v(()=>{let t=Y([1])()&&(G(4)()||(0,K.Z)());return 1===(0,a.ii)().tableQuery.type?function(e){let t=eE();if(!t)return!1;let n=a.H4.getParentFolderId(t,(0,a.ii)());for(let t of e)if((0,g.Z)(n)===t)return!0;return!1}([e,S])&&t:y([e,S])()&&er([])()&&t})]),32:ee([y([...t,C],!0),er(t,!0)]),54:ee([y([...t,C],!0),er(t,!0),v(()=>!(0,M.Z)(32))]),34:ee([v(()=>!0)]),33:ee([y([C])]),55:ee([y([C]),v(()=>(0,b.cr)("notes-folder-view"))]),35:ee([y([C]),v(()=>!!(0,s.bh)().selectedNoteId)]),75:ee([y([C]),v(()=>!!s.Mo.tryImportForRender()?.("NotesFolder"))]),25:ee([y([E,C,...t,u],!0),er([C,...t],!0),v(()=>(function(){if(!(0,a.Fh)())return!1;for(let e of(0,a.Q6)()){let t=(0,Z.Z)(e,(0,D.FD)(eE()));if(!t?.IsRead)return!0}return!1})()||Y([2])()&&!function(){let e=eE();return!!e&&0===a.H4.getUnreadCount(e,(0,a.ii)())}()||Y([3])())]),26:ee([y([E,C,...t,u],!0),er([C,...t],!0),v(()=>(function(){if(!(0,a.Fh)())return!1;for(let e of(0,a.Q6)()){let t=(0,Z.Z)(e,(0,D.FD)(eE()));if(t?.IsRead)return!0}return!1})()||Y([2])()&&!function(){let e=eE();if(!e)return!1;let t=(0,k.Z)(e,a.ii()?.id);if(!t)return 0!=a.H4.getUnreadCount(e,(0,a.ii)());let n=t.itemIds.length;return t.unreadCount===n}()||Y([3])())]),57:ee([y([E,C,...t],!0),er([C,...t],!0),W(1),v(()=>!(0,x.Eg)((0,a.ii)().serverFolderId))]),27:ee([y(t,!0),er(t,!0),v(()=>!!U.f.tryImportForRender()?.())]),17:ee([y([E,C,...t],!0),er([C,...t],!0),v(()=>((function(){if(!(0,a.Fh)())return!1;for(let e of(0,a.Q6)()){let t=(0,Z.Z)(e,(0,D.FD)(eE()));if(t?.Flag?.FlagStatus!=="Flagged")return!0}return!1})()||Y([2])()&&!ew()||Y([4])())&&eF(17))]),72:ee([y([E,C,...t],!0),er([C,...t],!0),v(()=>((function(){if(!(0,a.Fh)())return!1;for(let e of(0,a.Q6)()){let t=(0,Z.Z)(e,(0,D.FD)(eE()));if(t?.Flag?.FlagStatus==="Flagged")return!0}return!1})()||Y([2])()&&ew()||Y([4])())&&eF(72))]),50:ee([Y([0]),y([E,C,...t],!0),er([C,...t],!0)]),6:ee([y([E,C,...t],!0),v(()=>(0,K.Z)()||G(4)()),Y([1]),er([C,...t],!0),v(()=>eF(6))]),38:ee([y(T,!0),v(()=>(0,K.Z)()||G(4)()),en([a.WR.getSortBySupportingPin()]),X([m.D9.ArchiveMailbox,m.D9.SharedFolders],!0),er([C,...t],!0),v(()=>{let e=Y([4])()||Y([2])()&&!ey();return 1===(0,a.ii)().tableQuery.type?e&&eC(T):e})]),73:ee([y(T,!0),v(()=>(0,K.Z)()||G(4)()),en([a.WR.getSortBySupportingPin()]),X([m.D9.ArchiveMailbox,m.D9.SharedFolders],!0),er([C,...t],!0),v(()=>{let e=Y([4])()||Y([2])()&&ey();return 1===(0,a.ii)().tableQuery.type?e&&eC(T):e})]),56:ee([y(T,!0),v(()=>(0,K.Z)()||G(4)()),en([a.WR.getSortBySupportingPin()]),X([m.D9.ArchiveMailbox,m.D9.SharedFolders],!0),er([C,...t],!0),Y([0])]),10:ee([Y([2]),G(4),v(()=>{let e=(0,F.L4)((0,a.ii)());return(0,O.Mu)(e)}),y([E,C,...t],!0)]),11:ee([y(["notes"],!0),Y([0]),v(()=>(0,J.Z)((0,a.ii)()))]),49:ee([eh]),3:ee([y([P,p,u,f,C,...t,E],!0),ei([0,1]),Y([1]),X([m.D9.ArchiveMailbox,m.D9.SharedFolders],!0),er([C,...t],!0)]),23:ee([y([u,c,f,w,S,C,...t,E],!0),j(["persona","category"],!0),Y([1]),X([m.D9.ArchiveMailbox,m.D9.SharedFolders],!0),er([C,...t],!0),v(()=>(0,_.dy)((0,F.L4)((0,a.ii)())))]),53:ee([eg]),24:ee([y([u,c,w,S,C,...t,E],!0),j(["persona","category"],!0),Y([1]),er([C,...t],!0),v(()=>(0,_.dy)((0,F.L4)((0,a.ii)())))]),21:ee([y([f]),Y([1]),X([m.D9.ArchiveMailbox,m.D9.SharedFolders],!0),er([f]),v(()=>(0,_.dy)((0,F.L4)((0,a.ii)())))]),19:ee([y([c,u,p,f,C,...t,E],!0),ei([0,1]),v(()=>(0,K.Z)()||G(4)()),X([m.D9.ArchiveMailbox,m.D9.SharedFolders,m.D9.Group],!0),Y([1]),er([c,u,p,f,C,...t],!0)]),52:()=>o[19]()||o[68](),44:ee([y([E,C,...t],!0),Y([2])]),68:ee([y([p]),ei([1],!0),G(4),Y([1])]),5:ee([y([u,c,w,S,C,...t,E],!0),G(4),v(()=>Y([2])()&&eP()||Y([4])())]),69:ee([y([c,u,p,f,C,...t,E],!0),G(4),ei([1],!0),j(["category"],!0),v(()=>Y([2])()&&eP()||Y([4])())]),61:ee([ev]),12:ee([[y([e,C],!0),ei([0,1]),W(1),Y([5]),v(e=>!!(function(){let e=(0,a.ii)();return 0==e.tableQuery.type&&"mail"==e.tableQuery.scenarioType}()&&e&&(t.indexOf(e)>-1||function(e){let t=(0,F.L4)((0,a.ii)()),n=l.ZP.folderTable.get((0,I.Z)(e,t));return!n?.remoteFolderInfo?.remoteDistinguishedFolderType||"REMOTE_DISTINGUISHED_FOLDER_TYPE_ARCHIVE"!==n.remoteFolderInfo.remoteDistinguishedFolderType}(e))||eF(11)))],[y([e],!1),h([1]),W(1),Y([5])]]),22:ee([y([E,C,...t],!0),W(1),Y([5]),er([C,...t],!0)]),45:ee([Y([1]),y([...n,...t]),G(4),er([...t,...n]),v(()=>{let{tableQuery:e}=(0,a.ii)();return!(0,d.Ws)(e)||(0,b.cr)("grp-loadFolders")})]),46:ee([Y([6]),y([...n,...t]),W(1),G(4),er([...t,...n])]),79:ee([y([...n,...t]),er([...t,...n])]),71:ee([y([E,...t,C],!0),ei([0]),v(()=>(0,Q.Cj)()&&((0,r.xv)()||W(1)()))]),62:ee([y([E,...t,C],!0),ei([0]),v(()=>(0,r.xv)())]),28:ee([y([E,u,C,...t],!0),Y([1]),er([C,...t],!0),v(()=>{let{tableQuery:e}=(0,a.ii)();return(0,d.Ws)(e)?(0,b.cr)("grp-loadFolders")&&eF(28):eF(28)})]),29:ee([eI]),9:ee([y([E,u,C,...t],!0),Y([1]),er([C,...t],!0),v(()=>{let{tableQuery:e}=(0,a.ii)();return(0,d.Ws)(e)?(0,b.cr)("grp-loadFolders")&&eF(9):eF(9)})]),20:ee([y([E,c,u,C,...t],!0),G(4),X([m.D9.ArchiveMailbox,m.D9.SharedFolders],!0),Y([2]),er([c,C,u],!0),v(()=>(0,N.Z)()&&eP())]),30:ee([y([e]),h([1]),W(1),G(4),ei([1],!0),Y([1])]),31:ee([y([e]),h([0]),G(4),W(1),ei([1],!0),Y([1])]),0:ee([y([e]),h([1]),G(4),W(1),ei([1],!0),Y([2])]),1:ee([y([e]),h([0]),G(4),W(1),ei([1],!0),Y([2])]),39:ee([G(4),y([E,u,...t,C],!0),Y([2]),er(t,!0)]),70:ee([y([E,u,C,...t],!0),G(4),Y([2]),$(2),er([C],!0),v(()=>{let e=(0,F.L4)((0,a.ii)());return(0,R.d)(ea.n,e)&&(0,b.cr)("gsx-translator-translateMessage")&&function(e){let t=(0,L.Z)(e),n=t?t.Context:null,o=n?n.Extensions.filter(e=>e.Id==V.C_):[];return o.length>0&&o[0].Enabled}(e)})]),66:ee([y([E,C,...t],!0),G(4),Y([2]),er([C,...t],!0),v(()=>{let e=(0,F.L4)((0,a.ii)());return(0,R.d)(H.m,e)})]),36:ee([y([E,...t],!0),G(4),Y([2,4]),er(t,!0)]),4:ee([y([E,C,...t],!0),v(()=>!eb()&&!Y([6])()&&Y([0])()),er([C,...t],!0),v(()=>{let e=(0,a.ii)(),t=(0,F.L4)(e);if(e&&(0,d.Ws)(e.tableQuery)){let n=d.Y3.tryImportForRender(),o=n?n(e.tableQuery,t):[];return!!(o&&o.length>0)}return!0})]),48:ee([y([E,C,...t],!0),Y([0]),er([C,...t],!0),v(()=>{let e=(0,a.ii)(),t=(0,F.L4)(e);if(e&&(0,d.Ws)(e.tableQuery)){let n=d.Y3.tryImportForRender(),o=n?n(e.tableQuery,t):[];return o?.length>0}return!0})]),16:ee([y([E,...t,u],!0),z(2),v(()=>(0,A.Z)((0,F.L4)((0,a.ii)()))&&!eb()&&Y([2])())]),15:ee([y([E,...t,u],!0),z(2),j(["persona"],!0),v(()=>!eb()&&Y([2])()&&eP()&&eF(15))]),14:ee([y([E,...t,u],!0),z(2),v(()=>(0,A.Z)((0,F.L4)((0,a.ii)()))&&!eb()&&Y([2])())]),76:ee([y([E,c,u],!0),Y([2]),v(()=>{let e=(0,a.ii)(),t=[...e.selectedRowKeys.keys()],n=a.H4.getItemIds(t[0],e);return z(1)()&&1===n.length||z(2)()})]),81:ee([y([c]),G(4),Y([2]),v(()=>{let e=(0,F.L4)((0,a.ii)());return(0,es.Z)(e)&&ek(c)})]),82:ee([Y([2]),z(1),v(()=>(0,b.cr)("rp-subjectHeaderV3"))]),83:ee([Y([2]),v(()=>(0,b.cr)("rp-subjectHeaderV3"))]),47:ee([Y([2]),v(()=>(0,b.cr)("addin-enableIntegratedSpam"))]),84:ee([y([c]),G(4),Y([2]),v(()=>ek(c))]),63:ee([Y([2]),y([E],!0)]),86:ee([y([C],!0),v(()=>!eb()&&Y([2])())]),87:ee([y([E,C,...t],!0),er([C,...t],!0),v(()=>(Y([2])()||Y([4])())&&eF(17))]),88:ee([v(()=>(0,b.cr)("mon-file-eml-msg")&&(0,eu.Z)())])}}(),ef(e,t)}let ef=(0,ec._)(function(e,t){return!(0,T.I)(e,t)&&(!o[e]||o[e]())});function eg(){return o[23]()||o[21]()}function ev(){return o[69]()&&!(0,a.M1)((0,a.ii)().tableQuery.folderId)}function eh(){return(o[12]()||o[11]())&&!(0,M.Z)(11)}function eI(){return o[28]()&&!(0,M.Z)(28)}function eS(e){let t,[n,o,r]=[!1,!1,!1],i=eE();if(!i)return[!n,!o,!r];if((0,a.Fh)()){let e=(0,a.Q6)()[0];t=(0,Z.Z)(e,(0,D.FD)(i))}else t=a.H4.getItem(i,(0,a.ii)());return[n,o,r]=(0,p.Z)(t,e),[!n,!o,!r]}function eb(){return(0,a.Fh)()&&(0,a.Q6)().length>1}function ew(){let e=eE();return!!e&&"Flagged"==a.H4.getFlagStatus(e,(0,a.ii)())}function ey(){let e=eE();return!!e&&a.H4.getIsPinned(e,(0,a.ii)())}function eP(){let e=eE();return!!e&&!!a.H4.getLastSenderSMTP(e,(0,a.ii)())}function eC(e){let t=eE();if(!t)return!1;let n=a.H4.getParentFolderId(t,(0,a.ii)());for(let t of e)if((0,g.Z)(n)===t)return!1;return!0}function eE(){let e=[...(0,a.ii)().selectedRowKeys.keys()];return 1==e.length?e[0]:""}function eZ(e,t){return(0,u.H)(e,t)}function eM(e,t,n){let o=(0,a.ii)(),r=t||(0,E.Z)(o);if(!(r&&(0,l.p$)(r,"SharedMailbox"))||!r)return!0;let i=P.p(n??F.L4(o)).SessionSettings?.UserEmailAddress;if(!i)return!1;try{let t=(0,u.Q)(r,i);return eT(e,t)}catch(e){throw(0,C.Z)(r),Error("Move-To Error: Permissions for destination folder have not been fetched yet")}}function eT(e,t){if(!t)return!0;switch(e){case 28:case 9:case 11:return"All"===t.DeleteItems;case 17:case 72:case 6:case 87:return"All"===t.EditItems}return!1}function eF(e){try{return eM(e,void 0)}catch(e){return!0}}function ek(e){let t=eE();if((0,a.Fh)()){let n=(0,a.Q6)()[0],o=(0,Z.Z)(n,(0,D.FD)(t)),r=(0,g.Z)(o?.ParentFolderId?.Id||"");return o?.ItemClass?.indexOf(em)==-1&&r==e}if(t){let e=a.H4.getItemIds(t,(0,a.ii)());if(e&&e.length>0){let t=c.Z.items.get(e[0]);return t?.ItemClass?.indexOf(em)==-1}}return!0}function ex(){let e;let t=eE();if(!t)return!1;if((0,a.Fh)()){let n=(0,a.Q6)()[0];e=(0,Z.Z)(n,(0,D.FD)(t))}else e=a.H4.getItem(t,(0,a.ii)());return!!e?.IsDraft}},222664:(e,t,n)=>{n.d(t,{J$:()=>o.J$,uV:()=>o.uV,Aq:()=>o.Aq,BG:()=>i.Z,Iq:()=>r.I,__:()=>o.ZP,HH:()=>o.HH,yv:()=>f.Z,He:()=>s,CP:()=>p});var o=n(668394),r=n(384593),i=n(863822),a=n(478248),l=n(198453);function s(e,t){let n=a.p(l.qW(e)).SessionSettings?.UserEmailAddress;if(!n)return!1;let r=(0,o.HH)(e,n),i=(0,o.HH)(t,n);return(0,o.J$)(28,r)&&(0,o.J$)(28,i)}var d=n(110363),c=n(302140),u=n(770828),m=n(709077);function p(e){let t=(0,d.mH)(d.ZP.folderTable.get(e)),n=(0,m.mb)();u.r6.importAndExecute("moveSharedFolderItems","MailModuleNotificationBarHost",window,(0,c.WU)((0,c.ZP)("cFqdk"),t),{minWidth:n.minWidth,maxWidth:n.maxWidth})}var f=n(953485)},136027:(e,t,n)=>{n.d(t,{Z:()=>l});var o=n(313380),r=n(645225),i=n(738434),a=n(295322);function l(e){let t=[...(0,o.ii)().selectedRowKeys.keys()],n=1==t.length?t[0]:"";if((0,o.Fh)()){let e=(0,o.Q6)()[0];return(0,i.Z)(e,(0,a.FD)(n))}if(n){let t=o.H4.getItemIds(n,e);if(t?.[0])return r.Z.items.get(t[0])}}},953485:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(928323),r=n(52924);function i(e){return!!((0,o.Z)()&&(r.Z().SessionSettings?.IsExplicitLogon||"UserMailbox"==e.type||"ArchiveMailbox"==e.type))}},607823:(e,t,n)=>{n.d(t,{Z:()=>a});var o=n(136851),r=n(313380),i=n(668394);function a(e,t){if(!(0,i.uV)(11))return!1;let n=e.tableQuery;if((0,o.Ws)(n)&&t){let i=o.xp.tryImportForRender();if(!i?.(o.Is(n))&&!r.H4.getCanDelete(t,e))return!1}return!0}},408853:(e,t,n)=>{n.d(t,{Z:()=>f});var o=n(302140),r=n(580596),i=n(266243),a=n(26135),l=n(636283),s=n(845407),d=n(837086),c=n(973002),u=n(613076),m=n(198453),p=n(478248);let f=(0,s.aD)("getFolderChangeDigestAction")(function(e){var t,n;let s=(0,m.vv)(e),f=0==e.focusedViewFilter,g=f?1:2,v=p.p(s)?.ViewStateConfiguration,h=f?v?.FocusedViewWatermark:v?.ClutterViewWatermark;u.Z.viewType=g,(t={Folders:[{FolderId:(0,a.Z)({BaseFolderId:(0,i.Z)({Id:e.folderId})}),IsConversationView:0==(0,r.Sn)(e.folderId),ViewType:g,Watermark:h}],MaxSendersCount:10},n=(0,c.Z)(s),void 0===t||t.__type||(t={__type:"GetFolderChangeDigestRequest:#Exchange",...t}),(0,d.S)("GetFolderChangeDigest",t,n)).then(e=>e).then(e=>(function(e){var t;if(null==e.Folders||0==e.Folders.length){l.g4.info("GetFolderChangeDigestResponse.Folders is null or empty");return}let n=e.Folders[0],r=n.RecentUniqueSenders||[];u.Z.uniqueSenders=r.join("; ").toString(),u.Z.unseenCountToDisplay=void 0===(t=n.UnseenCount)||0===t?void 0:t>99?(0,o.WU)("{0}+",99):t.toString()})(e))})},100007:(e,t,n)=>{n.d(t,{QL:()=>a.Z,$t:()=>o.Z,j8:()=>s,xm:()=>p,W3:()=>f});var o=n(408853);let r={focusedNewMessagesRollupText:"Cngzje",otherNewMessagesRollupText:"J9YPXb"};var i=n(313380),a=n(613076),l=n(302140);function s(e,t){let n;let o=(0,i.M1)(t)?null:a.Z.unseenCountToDisplay;switch(e){case 1:n=(0,l.WU)((0,l.ZP)(r.focusedNewMessagesRollupText),o);break;case 2:n=(0,l.WU)((0,l.ZP)(r.otherNewMessagesRollupText),o)}return n}var d=n(267264),c=n(795839),u=n(627168);let m=(0,c.aD)("updateWatermarksAndResetRollup",(e,t,n)=>(0,d.uY)({name:"TnS_ResetFocusedOtherRollup",customData:[t,e]},{focusedViewFilterToSelect:e,mailboxInfo:n})),p=(0,c.lr)("resetRollupStore",()=>{a.Z.uniqueSenders=void 0,a.Z.unseenCountToDisplay=void 0,a.Z.viewType=0});(0,c._F)(m,e=>{let t=new Date(Date.now()).toUTCString();(0,u.a)(e.mailboxInfo,{ViewStateConfiguration:{FocusedViewWatermark:t,ClutterViewWatermark:t}}),p()});let f=m},613076:(e,t,n)=>{n.d(t,{Z:()=>o});let o=(0,n(795839).MT)("focusedInboxRollupStore",{uniqueSenders:void 0,unseenCountToDisplay:void 0,viewType:0})()},184867:(e,t,n)=>{n.d(t,{U:()=>a,v:()=>r.Z});var o=n(402392),r=n(25493);let i=new o.nI(()=>n.e(788078).then(n.bind(n,788078))),a=new o.EF(i,e=>e.preparePopoutDataForReadingPane)},25493:(e,t,n)=>{n.d(t,{Z:()=>r});var o=n(45409);function r(e){let t=e.tableQuery;return 0===t.type?t.folderId:!function(e){if(1!=e.type)return!1;let t=e.searchScope;return[o.D9.PrimaryMailbox,o.D9.ArchiveMailbox,o.D9.SharedFolders].indexOf(t.kind)>-1}(t)?null:t.searchScope.folderId}},580186:(e,t,n)=>{n.d(t,{d:()=>r});var o=n(967652);function r(e){var t,n;return{__typename:"ItemRowConnection",edges:function(e,t=!0){return e&&0!=e.length?e.map(e=>({__typename:"ItemRowEdge",cursor:e.InstanceKey??"",node:t?(0,o.x)(e):e})):[]}(e.RootFolder?.Items),pageInfo:{__typename:"PageInfoWithCursorPagination",endCursor:(t=e.RootFolder?.Items)&&t.length>0?t[t.length-1].InstanceKey??"":"",hasNextPage:e.RootFolder?.IndexedPagingOffset!==void 0&&e.RootFolder?.TotalItemsInView!=void 0&&e.RootFolder?.IndexedPagingOffset<e.RootFolder?.TotalItemsInView,hasPreviousPage:!!(e.RootFolder?.IndexedPagingOffset!==void 0&&e.RootFolder?.Items)&&e.RootFolder?.IndexedPagingOffset>e.RootFolder?.Items?.length,startCursor:(n=e.RootFolder?.Items)&&n.length>0?n[0].InstanceKey??"":""},searchFolderId:e.SearchFolderId?.Id??void 0,totalItemRowsInView:e.RootFolder?.TotalItemsInView??0}}},967652:(e,t,n)=>{n.d(t,{x:()=>o});function o(e){let t={__typename:"ItemRow",ItemId:{Id:e.ItemId.Id,ChangeKey:e.ItemId.ChangeKey},Categories:e.Categories,ConversationId:e.ConversationId?.Id?{Id:e.ConversationId?.Id}:void 0,DateTimeReceived:e.DateTimeReceived,DateTimeSent:e.DateTimeSent,DisplayTo:e.DisplayTo,EntityNamesMap:e.EntityNamesMap,Flag:e.Flag,HasAttachments:e.HasAttachments,HasProcessedSharepointLink:e.HasProcessedSharepointLink,IconIndex:e.IconIndex,Importance:e.Importance,InstanceKey:e.InstanceKey,InferenceClassification:e.InferenceClassification,IsDraft:e.IsDraft,IsExternalSender:e.IsExternalSender,ItemClass:e.ItemClass,LastModifiedTime:e.LastModifiedTime,MentionedMe:e.MentionedMe,ParentFolderId:e.ParentFolderId?{__typename:"FolderId",Id:e.ParentFolderId.Id}:void 0,Preview:e.Preview,ReceivedOrRenewTime:e.ReceivedOrRenewTime,ReturnTime:e.ReturnTime,Sensitivity:e.Sensitivity,Size:e.Size,SortOrderSource:e.SortOrderSource,Subject:e.Subject,id:e.ItemId.Id};return e?.ItemClass&&-1===e.ItemClass.indexOf("IPM.Note")&&-1===e.ItemClass.indexOf("IPM.Schedule.Meeting")&&-1===e.ItemClass.indexOf("IPM.GroupMailbox.JoinRequest")&&-1===e.ItemClass.indexOf("IPM.Post")&&-1===e.ItemClass.indexOf("IPM.Sharing")||(t.From=e.From,t.IsRead=e.IsRead,t.IsReadReceiptRequested=e.IsReadReceiptRequested,t.IsDeliveryReceiptRequested=e.IsDeliveryReceiptRequested,t.AntispamUnauthenticatedSender=e.AntispamUnauthenticatedSender,t.MessageToMe=e.MessageToMe,t.MessageCcMe=e.MessageCcMe,t.ReactionsCount=e.ReactionsCount??0),t}},713686:(e,t,n)=>{n.d(t,{L:()=>o});let o=(0,n(795839).aD)("onClientReadingPanePositionChange")},377740:(e,t,n)=>{n.d(t,{m:()=>o});let o=(0,n(795839).aD)("setShowListPane",function(e){return{showListPane:e}})},349652:(e,t,n)=>{n.d(t,{S:()=>o});let o=(0,n(795839).aD)("setShowReadingPane",function(e){return{showReadingPane:e}})},258597:(e,t,n)=>{n.d(t,{Uk:()=>c,YH:()=>u,f2:()=>a,gS:()=>l,xb:()=>s});var o=n(231622),r=n(52924),i=n(202970);function a(){return d(o.Z.Bottom)}function l(){return d(o.Z.Off)}function s(){return d(o.Z.Right)}function d(e){let t=(0,i.b)();return null!==t.clientReadingPanePosition?t.clientReadingPanePosition===e:u()==e}function c(){let e=u();return e==o.Z.Off||e==o.Z.Bottom}function u(){return r.Z().UserOptions?.GlobalReadingPanePositionReact||o.Z.Off}},202970:(e,t,n)=>{n.d(t,{b:()=>r});let o=(0,n(795839).MT)("maillayout",{clientReadingPanePosition:null,showReadingPane:!1,showListPane:!0,showFolderPane:!0,useSingleLineMessageListWithRightReadingPane:!0,animationPreference:0,shouldAnimate:!1,senderColumnWidth:null,subjectColumnWidth:null,receivedColumnWidth:null})(),r=()=>o},742346:(e,t,n)=>{n.d(t,{a1:()=>l,sR:()=>s,oM:()=>r});let o={mailListLogs:[]};function r(){return o.mailListLogs.map(e=>`${e.time},${e.message},${Object.keys(e.data).map(t=>`${t}: ${e.data[t]}`).join(",")},`)}var i=n(206339),a=n(636283);function l(e){if(!(0,i.cr)("mon-messageList-logging"))return;a.g4.verbose(`MailListLog: ${e.message}`);let{mailListLogs:t}=o;1e3===t.length&&t.shift(),t.push(e)}function s(e,t){return{time:new Date(Date.now()).toISOString(),message:e,data:t}}},62699:(e,t,n)=>{function o(e,t,n,o,r,i,a,l,s,d,c,u,m){let p=[...r.values()];return{searchScenarioId:e,folderId:o.folderId,type:1,listViewType:i,searchNumber:t,queryString:n,searchScope:o,pillSuggestions:p,includeAttachments:a,fromDate:l,toDate:s,scenarioType:c,lastIndexFetched:0,searchProvider:d,viewFilter:u||"All",searchTab:m}}function r(e){return 1==e.type?e.scenarioType:void 0}n.d(t,{XR:()=>o,I7:()=>r,K4:()=>c});var i=n(92935),a=n(985081),l=n(330103),s=n(45409),d=n(226459);function c(e){return!!e&&((0,a.ZP)(e.folderId)?(0,d.Z)(e.searchScope,(0,s.H$)({folderId:(0,l.Z)(i.Rg),kind:s.D9.ArchiveMailbox})):(0,d.Z)(e.searchScope,(0,s.yY)({folderId:(0,l.Z)(i._r),kind:s.D9.PrimaryMailbox})))}},756688:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(654879),r=n(974558);function i(e="",t){let n=(0,r.C)();n&&!n.hasEnded&&(t?n.invalidate():(function(e){let t=(0,r.C)();t?.addCustomData({contentType:e})}(e),(0,o.Wp)(n),(0,r.v)(void 0)))}},160635:(e,t,n)=>{n.d(t,{Z:()=>l});var o=n(258597),r=n(52924),i=n(568405),a=n(754932);function l(e,t,n,l){return!(e===a.Z.MailListItemRichPreview||e===a.Z.KeyboardShiftEnter||e===a.Z.MailListItemBodyDoubleClick||e===a.Z.MailListItemSimulatedDoubleClick||(0,o.gS)()&&!(e===a.Z.KeyboardEnter||e===a.Z.MailListItemBody||e===a.Z.RouteHandler||e===a.Z.CommandBarArrows||e===a.Z.ImmersiveReadingPaneDelete&&r.Z().UserOptions?.NextSelection!=="ReturnToView")||function(e,t,n,r){if((0,o.gS)())return!1;if(e===a.Z.KeyboardUpDown){let e=t.selectionAnchorRowKey?t.rowKeys.indexOf(t.selectionAnchorRowKey):-1;if(-1!==e&&1===t.selectedRowKeys.size){let n=t.rowKeys.indexOf([...t.selectedRowKeys.keys()][0]);return r===i.Z.Next?n===e+1||n===t.rowKeys.length-1&&e===t.rowKeys.length-1:n===e-1||0===n&&0===e}return!1}return n&&t.selectedRowKeys.has(n)&&1===t.selectedRowKeys.size}(e,t,n,l))}},974558:(e,t,n)=>{let o;function r(){return o}function i(e){o=e}n.d(t,{C:()=>r,v:()=>i})},514112:(e,t,n)=>{let o;n.d(t,{G:()=>s,g:()=>d});var r=n(206339),i=n(67199),a=n(160635),l=n(974558);function s(e){o=e}function d(e,t,n,s){if((0,r.cr)("rp-enhanced-telemetry-v2")){let r=(0,i.qO)(e=>"SelectMailItem"==e.getEventName()||"SelectMailItemNonCritical"==e.getEventName());r?.invalidate(),r?.end();let d=(0,l.C)();d?.invalidate(),d?.end();let c=(0,a.Z)(e,t,n,s),u={timeout:9e4,eventTimestamp:o};c?(0,l.v)(new i.YG("SelectMailItem",u)):(0,l.v)(new i.Gn("SelectMailItemNonCritical",u))}}},366023:(e,t,n)=>{n.d(t,{ZP:()=>d,qW:()=>m,vv:()=>u,KT:()=>c,H2:()=>p});var o=n(110363),r=n(511943);let i=new Map;var a=n(136851),l=n(497670),s=n(313380);function d(e){return e?u(e.tableQuery):(0,r.zl)()}function c(e){return d((0,s.bh)().tableViews.get(e))}function u(e){let t=(0,a.Is)(e),n=e?.folderId;return null!=t?(0,a.Fg)(t,e):m(n)}function m(e){return(0,o.tA)(e)?(0,l.u9)(e):function(e){if(!e||!o.Xe()?.has(e))return(0,r.zl)();if(!i.has(e)){let t=(0,o.dh)(e,!0);i.set(e,t)}return i.get(e)??(0,r.zl)()}(e)}function p(e){return{mailboxInfo:u(e)}}},198453:(e,t,n)=>{n.d(t,{wU:()=>i,L4:()=>o.ZP,qW:()=>o.qW,vv:()=>o.vv,H2:()=>o.H2});var o=n(366023),r=n(313380);function i(){return(0,o.ZP)((0,r.ii)())}},979031:(e,t,n)=>{n.d(t,{F:()=>a,k:()=>r.k});var o=n(402392),r=n(927641);let i=new o.nI(()=>n.e(22283).then(n.bind(n,22283))),a=new o._5(i,e=>e.manualSyncMail)},927641:(e,t,n)=>{n.d(t,{k:()=>r});var o=n(319521);function r(e){return(0,o.G)(e).isSyncingMailbox}},319521:(e,t,n)=>{n.d(t,{G:()=>i});var o=n(795839);let r=new Map;function i(e){let t=`${e.userIdentity}_${e.mailboxSmtpAddress}_mailManualSyncStore`,n=r.get(t);if(!n){let e=(0,o.MT)(t,{isSyncingMailbox:!1})();r.set(t,e),n=e}return n}},234193:(e,t,n)=>{n.r(t),n.d(t,{ProjectionReadingPane:()=>a,lazyModule:()=>i,lazyPopoutMailReadingPaneUtil:()=>l});var o=n(654626),r=n(402392);let i=new r.nI(()=>Promise.all([n.e(87858),n.e(695126),n.e(729191)]).then(n.bind(n,979834)));(0,r.Kv)(o.$,i,e=>e.popoutMailReadingPaneOrchestrator);let a=(0,r.$y)(i,e=>e.ProjectionReadingPane),l=new r._5(i,e=>e.popoutMailReadingPaneUtil)},982357:(e,t,n)=>{n.d(t,{C9:()=>c,GR:()=>h,H4:()=>v,It:()=>l,PE:()=>u,Ss:()=>S,UO:()=>s,Xu:()=>f,be:()=>g,eL:()=>I,mu:()=>p,oi:()=>i,rD:()=>d,s$:()=>a,uu:()=>m});var o=n(402392);let r=new o.nI(()=>Promise.all([n.e(367989),n.e(463410),n.e(149680),n.e(631191)]).then(n.bind(n,146100)),{name:"Protection"}),i=new o._5(r,e=>e.loadCLPUserLabels),a=new o._5(r,e=>e.getPendingLoadLabelPromise),l=new o._5(r,e=>e.showJustificationModal),s=new o._5(r,e=>e.loadItemCLPInfo),d=new o.EF(r,e=>e.updateItemCLPInfo),c=new o.EF(r,e=>e.logReadCLPLabel),u=new o._5(r,e=>e.logCLPLabelChange),m=new o.EF(r,e=>e.triggerCLPAutoLabeling),p=new o.EF(r,e=>e.shouldShowLouderLabelsMenu),f=new o._5(r,e=>e.loadComplianceConfig),g=(0,o.$y)(r,e=>e.CLPSubjectHeaderLabel),v=(0,o.$y)(r,e=>e.CLPMandatoryLabelModal),h=new o._5(r,e=>e.loadDLPPolicies),I=new o._5(r,e=>e.loadDLPPoliciesForSecondaryAccounts),S=new o._5(r,e=>e.handleAutoLabelingResult)},9704:(e,t,n)=>{n.d(t,{S:()=>l,Z:()=>s});var o=n(333496),r=n(508560),i=n(23763);let a=/[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}/g;function l(e,t){if((0,i.T)(e))return null;let{clpLabels:n}=(0,o.b)(t);return function e(t,n){if(!n)return null;for(let o=0;o<n.length;o++){let r=n[o];if(r.id==t)return r;let i=e(t,r.children);if(i)return i}return null}(e,n)}let s=function(e,t){let n=(0,r.Z)();if(!e)return n;let o=e.split(";"),i={};for(let e=0;e<o.length;e++){let t=o[e];if(!t)continue;let n=t.match(a);if(!n||0==n.length)continue;let r=n[0];i[r]?i[r].push(t):i[r]=[t]}let s=Object.keys(i);for(let e=0;e<s.length;e++){let o=l(s[e],t);if(o){n.selectedLabel=o,delete i[s[e]];break}}return Object.values(i).forEach(e=>{n.nonTenantLabelString+=`${e.join(";")};`}),n}},508560:(e,t,n)=>{n.d(t,{Z:()=>o});function o(){return{nonTenantLabelString:"",selectedLabel:null}}},506950:(e,t,n)=>{n.d(t,{Z:()=>a});var o=n(206339),r=n(333496),i=n(240282);function a(e){let{clpLabels:t}=(0,r.b)(e);return(0,o.cr)("cmp-clp",e,!!e)&&t.length>0&&t.some(e=>!e.children?.length&&e.isLabelEnabled||e.children?.some(e=>e.isLabelEnabled))&&!(0,i.Z)(void 0,e)}},743169:(e,t,n)=>{n.d(t,{Z:()=>o});function o(e,t){return!(e?.contentType?.length&&e?.contentType?.length>0)||-1!=e.contentType.indexOf(t)}},621702:(e,t,n)=>{n.d(t,{Z:()=>r});var o=n(333496);function r(e,t,n){let{IRMData:r}=e;if(r&&n&&r.RmsTemplateId==n||r&&!r.IsOwner)return!0;let i=(0,o.b)(t);return 0==i.rmsTemplates.size||!!n&&!i.rmsTemplates.has(n)}},24415:(e,t,n)=>{n.d(t,{WB:()=>a,dY:()=>r.d,pe:()=>l});var o=n(402392),r=n(441771);let i=new o.nI(()=>n.e(541250).then(n.bind(n,541250))),a=new o._5(i,e=>e.onExecuteQuickStep),l=new o._5(i,e=>e.onExecuteQuickStepHotkey)},441771:(e,t,n)=>{n.d(t,{d:()=>i});var o=n(222664),r=n(636006);let i=(0,n(75953)._)(e=>{let t=(0,r.Q)();for(let r=0;r<e.length;r++){var n;if(!(0,o.__)((n=e[r].type,a.get(n)??-1),t))return!0}return!1}),a=new Map([["markAsRead",57],["markAsUnread",57],["delete",49],["softDelete",11],["moveTo",29],["copyTo",29],["category",6],["clearCategories",6],["forwardTo",51],["forwardAsAttachment",51],["flag",50],["clearFlags",50],["markComplete",50],["retentionPolicy",4],["pin",38],["unpin",73],["ignore",19],["snooze",64],["createTask",10],["replyWithMeeting",43],["copilotReplyWithMeeting",85]])},91253:(e,t,n)=>{n.d(t,{Z:()=>l});var o=n(504703),r=n(103491),i=n(270946),a=n(911062);function l(e,t){let n=(0,r.Z)(e),l=(0,i.Z)(e,t),s=(0,o.U3)(e),d=!!e?.ParentFolderId?.Id&&(0,a.Z)(e.ParentFolderId.Id,"junkemail"),c=!!e?.IsDraft;return[!n.ReplyAllowed||s||l||d||c,!n.ReplyAllAllowed||s||l||d||c,!n.ForwardAllowed||l]}},504703:(e,t,n)=>{function o(e){return!!e?.ItemClass&&0==e.ItemClass.toLowerCase().indexOf("report")}function r(e){return!!e?.ItemClass&&0==e.ItemClass.toLowerCase().indexOf("report.ipm.note.ndr")}function i(e){return!!e?.ItemClass&&0==e.ItemClass.toLowerCase().indexOf("report.ipm.note.dr")}n.d(t,{Gt:()=>i,U3:()=>o,oX:()=>r})},937588:(e,t,n)=>{n.d(t,{o:()=>o});let o=(0,n(795839).aD)("SHOW_ACTION_RESTRICTION_DUE_TO_POLICY",(e,t)=>({triageAction:e,targetWindow:t}))},975091:(e,t,n)=>{n.d(t,{P:()=>o});let o=(0,n(795839).aD)("SHOW_UPDATE_RESTRICTION_ON_REGULATORY_POLICY")},50059:(e,t,n)=>{n.d(t,{Ee:()=>u,JH:()=>c,OB:()=>l,UW:()=>d,e5:()=>s,yQ:()=>m});var o=n(402392),r=n(937588),i=n(975091);let a=new o.nI(()=>n.e(928903).then(n.bind(n,928903)),{name:"RetentionPolicies"}),l=new o.EF(a,e=>e.onArchiveTagForFolderChanged),s=new o.EF(a,e=>e.onAssignPolicy),d=new o.EF(a,e=>e.onDeleteTagForFolderChanged),c=new o.EF(a,e=>e.getRetentionPolicyMenuItem),u=new o.EF(a,e=>e.getAssignPolicyPropertiesForMailContextMenu),m=new o.EF(a,e=>e.shouldSkipRequestToServerDueToPolicy);(0,o.Kv)(r.o,a,e=>e.showActionRestrictionDueToPolicyOrchestrator),(0,o.Kv)(i.P,a,e=>e.showUpdateRestrictionOnRegulatoryPolicyOrchestrator)},263109:(e,t,n)=>{n.d(t,{S:()=>l,Z:()=>a});var o=n(136851),r=n(184867),i=n(110363);function a(e){let t,n=null,a="",l="";if(e&&(0,o.Ws)(e.tableQuery))t="GroupMailbox";else{let o=(0,r.v)(e),s=o&&(0,i.Xe)().get(o);if(!s)return null;n=s.distinguishedFolderType||s.id,t=s.mailboxInfo.type,a=s.mailboxInfo.userIdentity,l=s.mailboxInfo.mailboxSmtpAddress}return{folderId:n,mailboxInfo:{type:t,userIdentity:a,mailboxSmtpAddress:l}}}function l(e){let t=null,n="",o="";if(e.MailboxInfo?.type!=="GroupMailbox"){let r=e.ParentFolderId;if(!r)return null;t=r.Id,n=e.MailboxInfo?.userIdentity,o=e.MailboxInfo?.mailboxSmtpAddress}return{folderId:t,mailboxInfo:{type:e.MailboxInfo?.type,userIdentity:n,mailboxSmtpAddress:o}}}},738429:(e,t,n)=>{n.d(t,{$:()=>s,z:()=>d});var o=n(136851),r=n(460217),i=n(198453),a=n(49187),l=n(478248);function s(e,t,n){if(e&&(0,o.Ws)(e.tableQuery)||n){if(n){let t=o.xs.tryImportForRender();return t?t((0,i.vv)(e.tableQuery),n):[]}{let t=o.Y3.tryImportForRender();return t?t(e.tableQuery,(0,i.vv)(e.tableQuery)):[]}}return"SharedMailbox"===t.type?(0,r.Z)(t.mailboxSmtpAddress):(0,l.p)(t).RetentionPolicyTags}function d(e,t){if("GroupMailbox"===e.type){let e=o.xs.tryImportForRender();return e?e((0,a.fF)(),t):[]}return"SharedMailbox"===e.type?(0,r.Z)(e.mailboxSmtpAddress):(0,l.p)(e).RetentionPolicyTags}},65539:(e,t,n)=>{n.d(t,{Z:()=>s});var o=n(136851),r=n(460217),i=n(511943),a=n(49187),l=n(478248);function s(e){if(e?.type==="GroupMailbox"){let t=(0,i.e7)(e)??(0,a.fF)(),n=o.xs.tryImportForRender();return n?n(t,e.mailboxSmtpAddress):[]}return e?.type==="SharedMailbox"?(0,r.Z)(e.mailboxSmtpAddress):(0,l.p)(e).RetentionPolicyTags}},185782:(e,t,n)=>{n.d(t,{Uy:()=>m,FU:()=>f,tL:()=>p});var o=n(65539),r=n(263109),i=n(738429),a=n(636283);function l(e){let t=(0,r.Z)(e);return t?(0,i.$)(e,t.mailboxInfo):(a.g4.warn("getRetentionPolicyTagsFromTableView: Could not find folder info"),null)}var s=n(645225),d=n(240282),c=n(206339),u=n(198453);function m(e,t){let n=(0,u.L4)(t);if((0,c.cr)("rp-recordManagement")&&!(0,d.Z)(void 0,n)){let n=l(t);if(n){for(let t of n)if(t&&t.RetentionId===e&&t.IsImmutable)return!0}else a.g4.warn("Cannot check retention policy. Could not obtain retention policy taglist")}return!1}function p(e,t){let n=(0,u.L4)(t);if((0,c.cr)("rp-recordManagement")&&!(0,d.Z)(void 0,n)){let n=l(t);if(n){for(let t of n)if(t&&t.RetentionId===e&&t.IsRegulatory)return!0}else a.g4.warn("Cannot check retention policy. Could not obtain retention policy taglist")}return!1}function f(e){if(!(0,c.cr)("rp-recordManagement"))return!1;let t=s.Z.items.get(e);if(!t)return a.g4.warn("Cannot check retention policy. Item not in mail store"),!1;let n=t.PolicyTag?.Value;if(n&&!(0,d.Z)(void 0,t.MailboxInfo)){let e=(0,o.Z)(t.MailboxInfo);if(e){for(let t of e)if(t&&t.RetentionId===n&&(t.IsImmutable||t.IsRegulatory))return!0}else a.g4.warn("Cannot check retention policy. Could not obtain retention policy taglist for mailbox info")}return!1}},519363:(e,t,n)=>{n.d(t,{t_:()=>ee,MT:()=>ep,VA:()=>q,yA:()=>ea,Nq:()=>eo,Ix:()=>ed,an:()=>eu,b6:()=>eh,Oh:()=>X,vm:()=>ec,DD:()=>el,VX:()=>Y,o_:()=>U,DO:()=>W,Tw:()=>en,YF:()=>K,X3:()=>J,Q7:()=>z,qZ:()=>em,bn:()=>es,X9:()=>ev,xB:()=>eg,ew:()=>ef,ji:()=>et,uB:()=>Q,p3:()=>j,c9:()=>eI,we:()=>H,xY:()=>$,Mf:()=>er,E2:()=>ei});var o=n(317501),r=n(334785),i=n(17013),a=n(75953),l=n(798571),s=n(222664),d=n(317379),c=n(497670),u=n(402392);let m=new u.nI(()=>n.e(591970).then(n.bind(n,591970))),p=new u._5(m,e=>e.createNewOfficeDoc);var f=n(67199),g=n(621105),v=n(799106),h=n(937091),I=n(494994),S=n(105048),b=n(780035),w=n(422497),y=n(24415),P=n(292269),C=n(560327),E=n(784164),Z=n(709077),M=n(80594),T=n(507961),F=n(262130),k=n(151492),x=n(96988),R=n(480420);n(989840);var A=n(324615),D=n(634646),N=n(940458),_=n(129376),O=n(313380),L=n(695805),V=n(665117),B=n(447816),G=n(979031);let U=e=>{(0,S.Cy)({fullComposeEntrySource:"Mail_NewItems_EventButton",mailboxInfo:(0,d.Y)(e)})},H=(e,t)=>{(0,Z.ef)(e,!0,t)},W=e=>{(0,i.Z)((0,l.rO)(),null,e)},K=e=>{(0,i.Z)((0,l.rO)(),(0,c.Pq)(),e)},z=()=>{(0,k.Z)((0,l.rO)())},j=e=>{let t=(0,d.Y)(e);(0,R.Z)(t)},Q=e=>{(0,x.Z)(e,(0,l.rO)())},$=()=>{var e;e=(0,l.rO)(),(0,D.Yw)(e),(0,A.Fp)("undoCommand")},q=e=>{1===e&&E.Dq.importAndExecute("Ribbon")},X=e=>{let t=(0,d.Y)(e);(0,M.Z)((0,l.rO)(),(0,s.__)(19,t))},Y=e=>{!0!=!!e?.isShadowRendering&&((0,h.Z)("tri-newYammerPostButton")&&b.wC.importAndExecute(),(0,I.x)()&&(g.V.import().then(e=>e()),(0,f.y8)("YammerPublisher_PrefetchHit"),v.o.import(),(0,f.y8)("YammerPublisher_MenuItemSeen")))},J=()=>{(0,f.y8)("YammerPublisher_NewPost"),v.o.importAndExecute()},ee=(e,t)=>{p.importAndExecute(e,t)},et=(e,t)=>{P.e0.importAndExecute(e,t)},en=()=>{r.T2.importAndExecute("NotesFolder")},eo=()=>{r.Az.importAndExecute("NotesFolder")},er=()=>{r.Yo.importAndExecute("NotesFolder")},ei=e=>{let t=(0,d.Y)(e);w.Ez.importAndExecute("mail","layout",void 0,void 0,t)},ea=e=>{(0,N.gL)(e)},el=e=>{(0,T._)(e)},es=e=>{C.n.importAndExecute(e)},ed=e=>{let t=(0,o.zj)(e);(0,o.I_)(e,t)},ec=e=>{w.Ez.importAndExecute("mail","quickSteps",void 0,void 0,(0,d.Y)(e))},eu=e=>{y.WB.importAndExecute(e)},em=(0,a._)(function(e){return t=>{let{galleryButton:n}=t;n&&("550"===n.id?ec(e):y.WB.importAndExecute(n.id))}}),ep=e=>{r.qx.importAndExecute(e,"NotesFolder")},ef=()=>{(0,F.Z)((0,l.rO)())},eg=()=>{_.DT.importAndExecute((0,O.ii)(),(0,l.rO)())},ev=()=>{(0,f.y8)("RemindersButtonClicked-Mail"),L.V6.importAndExecute(!0)},eh=e=>{let t=(0,V.W)(e);B.wM.importAndExecute(e,!t,!1)},eI=()=>{G.F.importAndExecute((0,O.ii)())}},340856:(e,t,n)=>{n.d(t,{D:()=>a});var o=n(313380),r=n(839602),i=n(645225);function a(e){var t=void 0;if(e){if((0,o.Fh)()){let n=(0,o.Xp)().expandedConversationViewState.selectedNodeIds;if(1==n.length){let o=(0,r.Z)(e,n);t=(0,i.b)().items.get(o.Id)}}else{let n=e.isInVirtualSelectAllMode?e.rowKeys:[...e.selectedRowKeys.keys()];if(1==n.length){let r=n[0];t=o.H4.getItem(r,e)}}}return t}},917952:(e,t,n)=>{n.d(t,{t_:()=>o.t_,DK:()=>E.D,re:()=>r.re,F6:()=>d.F6,jp:()=>d.jp,$s:()=>r.$s,eW:()=>r.eW,SU:()=>d.SU,Ix:()=>o.Ix,an:()=>o.an,Oh:()=>o.Oh,mN:()=>r.mN,vm:()=>o.vm,DD:()=>o.DD,q:()=>r.q,Yw:()=>r.Yw,hM:()=>r.hM,VX:()=>o.VX,o_:()=>o.o_,u5:()=>s,DO:()=>o.DO,Tw:()=>o.Tw,YF:()=>o.YF,X3:()=>o.X3,bn:()=>o.bn,Yt:()=>d.Yt,ms:()=>o.uB,kp:()=>i.kp,XD:()=>i.XD,Bw:()=>i.Bw,N1:()=>r.N1});var o=n(519363);n(664751);var r=n(431115),i=n(118259),a=n(495816),l=n(206339);let s=()=>{(0,l.cr)("mos-eventsApp-prod")?a.g.importAndExecute({appId:"260f432d-8a76-46c2-bf48-0f0748ac3eba",entityId:"c0adaf60-11f1-4f72-bef6-f44e36877983",callerFn:"NewLargeEventFromMailRibbon"}):(0,l.cr)("mos-eventsApp")?a.g.importAndExecute({appId:"8527a80e-88e8-4473-bda1-ab1bddcf72e0",entityId:"4e392658-8f5f-488a-a476-d3db83f46131",callerFn:"NewLargeEventFromCalendarRibbon"}):window.open("/eventify/newEvent","_blank")};var d=n(296484),c=n(795839),u=n(749573),m=n(110363),p=n(101962),f=n(92935),g=n(636283),v=n(645225),h=n(395831),I=n(313380),S=n(714506),b=n(129376),w=n(324615);async function y(e,t){let n=e.replace("extRead_",""),o=v.Z.items.get(n);if(!o)throw Error(`Item not found for hostItemIndex: ${e}`);if(!o.ConversationId)throw Error(`ConversationId not found for item: ${o.ItemId?.Id}`);let r=(0,I.ii)(),i=r.id,a=(0,I.vu)([o.ConversationId.Id],r);if(0===a.length)for(let e of(0,S.Z)().tableViews.values()){let t=(0,I.vu)([o.ConversationId.Id],e);if(t.length>0){a=t,i=e.id;break}}await b.M.importAndExecute(a,t,i),(0,w.Fp)("moveToFolderForPopout")}function P(e){let t=(0,m.bh)().mailboxFolderTreeData.get(e.userIdentity??""),n=(0,m.bh)().folderTable,o=t?.folderTreeTable?.get(e.mailboxSmtpAddress)??t?.folderTreeTable?.get(f.qx);if(!o||!o.rootFolder?.childFolderIds)return"";for(let e of o.rootFolder.childFolderIds){let t=n.get(e);if(t&&t.distinguishedFolderType===f.FX)return e}return""}function C(e,t){let n=(0,m.bh)().folderTable;for(let o of e){let e=n.get(o);if(e&&(e.distinguishedFolderType===t||e.displayName===t))return o}return""}(0,c._F)(u.Q,e=>{try{let t=function(e,t){let n=m.bh()?.mailboxFolderTreeData?.get(t.userIdentity??"");if(!n)throw Error(`Folder store not initialized for user: ${t.userIdentity}`);let o=n?.folderTreeTable?.get(t.mailboxSmtpAddress)??n?.folderTreeTable?.get(f.qx);if(o&&o.rootFolder?.childFolderIds){let t=C(o.rootFolder.childFolderIds,e);if(t)return t}let r=P(t);if(r){let t=(0,m.bh)().folderTable.get(r);if(t&&t.childFolderIds){let n=C(t.childFolderIds,e);if(n)return n}}return""}(e.folderName,e.mailboxInfo);t?(0,h.Vk)(e.targetWindow)?y(e.hostItemIndex,t):(0,r.hM)(t):((0,p.DV)(e.mailboxInfo.type),(0,p.eq)(P(e.mailboxInfo)),(0,r.nV)(e.folderName,e.mailboxInfo))}catch(e){(0,g.rx)(e.message);return}});var E=n(340856)},664751:(e,t,n)=>{n.d(t,{DV:()=>I,EK:()=>y,JA:()=>P,ND:()=>b,SX:()=>S,j0:()=>w});var o=n(152806),r=n(939129),i=n(688271),a=n(798571),l=n(382092),s=n(324615),d=n(313380),c=n(198453),u=n(129376),m=n(422497),p=n(206339),f=n(284063),g=n(364507),v=n(41690),h=n(67199);let I=(e,t,n,o)=>{if((0,s.Fp)("ribbonCategoryMenuDismissed"),void 0!==n)t?u.xi.importAndExecute(n.Id,o,[e]):u.ii.importAndExecute(n.Id,o,[e]);else{let n=(0,d.ii)(),o=n.isInVirtualSelectAllMode?n.rowKeys:[...n.selectedRowKeys.keys()];t?u.OU.importAndExecute(o,n,[e],(0,a.rO)()):u.ZB.importAndExecute(o,n,[e],(0,a.rO)())}},S=(e,t,n,o,s)=>{let m=(0,d.ii)(),p=m.isInVirtualSelectAllMode?m.rowKeys:[...m.selectedRowKeys.keys()],f=t(e);(0,i.Z)("new",n),r.kN.importAndExecute({actionSource:(0,a.rO)(),addFavoriteCategory:(e,t,n)=>{l.a5.import().then(o=>o(e,t,n))},onAfterCreateNewCategory:e=>{s?u.ii.importAndExecute(s.Id,o,e?[e]:[]):u.ZB.importAndExecute(p,m,e?[e]:[],(0,a.rO)())},mailboxInfo:o??(0,c.L4)(m),targetWindow:f})},b=(e,t)=>{if((0,s.Fp)("ribbonClearCategoriesClicked"),t)u.ER.importAndExecute(t.Id,e);else{let e=(0,d.ii)(),t=e.isInVirtualSelectAllMode?e.rowKeys:[...e.selectedRowKeys.keys()];u.yG.importAndExecute(t,e,(0,a.rO)())}},w=e=>{(0,h.y8)("TnS_Category_ManageCategoriesRibbon"),(0,o.U$)()||(0,p.cr)("acct-multiacctcomingsoon")?m.Ez.importAndExecute("accounts-category","categories",void 0,void 0,e):m.Ez.importAndExecute("general","categories")},y=e=>{(0,h.y8)("TnS_Category_AllCategoriesRibbon");let t=document.getElementById((0,f.m)(626,e.itemId).toString());t&&t.focus(),P(!0)},P=e=>{(0,g.Z)(""),(0,v.Z)(e??!1)}},118259:(e,t,n)=>{n.d(t,{Bw:()=>P,XD:()=>y,kp:()=>S});var o=n(75953),r=n(511943),i=n(206339),a=n(739297),l=n(740136),s=n(418524),d=n(836902),c=n(948601),u=n(511408),m=n(302140),p=n(277264),f=n(317379),g=n(478248),v=n(387631);let h=(e,t)=>{t&&C(e,t)},I=(0,o._)(function(e,t){return()=>h(e,t)});async function S(e){let t=(0,f.Y)(e);if((0,i.cr)("grp-shareable-crud")||(0,u.Pf)(t)){let e=await l._.import(),n=(0,g.p)(t).SessionSettings;n?.ExternalDirectoryUserGuid&&e(n.ExternalDirectoryUserGuid,(0,m.Wx)(),(0,m.gG)(),"Ribbon",t,I(t,void 0))}else(await a.J.import())(c.F.Enterprise,(0,m.gG)(),"Ribbon",t,I(t,void 0))}let b=(e,t)=>{t&&C(e,t.smtpAddress.toLowerCase())},w=(0,o._)(function(e,t){return()=>b(e,t)}),y=async e=>{let t=await c.q.import(),n=(0,f.Y)(e),o=(0,r.e7)(n),i=o?g.p(o).SessionSettings?.UserEmailAddress:void 0;i&&((0,d.Zg)(i,(0,m.gG)()),t(c.F.Enterprise,(0,m.gG)(),"MailRibbon",o,w(n,null)))};function P(){v.mV.importAndExecute("MailRibbon")}let C=async(e,t)=>{(await s.ar.import())(e,t)||s.gK.importAndExecute(e),p.fT.importAndExecute(t,"groups",e)}},431115:(e,t,n)=>{n.d(t,{$s:()=>y,N1:()=>T,Yw:()=>E,eW:()=>P,hM:()=>w,mN:()=>F,nV:()=>C,q:()=>M,re:()=>Z});var o=n(313380),r=n(129376),i=n(798571),a=n(875177),l=n(324615),s=n(571774),d=n(88781),c=n(110363),u=n(830566),m=n(781694),p=n(136851),f=n(521150),g=n(206339),v=n(636006),h=n(101962),I=n(645225),S=n(636283),b=n(195082);let w=e=>{let t=(0,o.ii)(),n=Promise.resolve();1===t.selectedRowKeys.size&&(n=a.BM.importAndExecute([...t.selectedRowKeys.keys()][0],t,!0)),(0,g.cr)("grp-loadFolders")&&(0,p.Ws)(t?.tableQuery)&&(e=e.split("-").join("/").split("_").join("+")),n.then(()=>{(0,o.Fh)()?r.uN.import().then(n=>{n((0,o.Xp)().expandedConversationViewState.selectedNodeIds,e,t.id,(0,i.rO)())}):r.M.importAndExecute([...t.selectedRowKeys.keys()],e,t.id,(0,i.rO)())}),(0,l.Fp)("ribbonMoveMenuDismissed")},y=(e,t,n)=>{let o=t?(0,I.b)().items.get(t.Id):void 0;o&&o.MailboxInfo||(0,S.rx)("MailboxInfo is empty"),t&&e?r.v6.importAndExecute(t.Id,e).then(()=>{(0,g.cr)("mon-file-projection")&&n?(0,b.Z)(n,!1):window.close()}):(0,S.rx)("Folder id should always be set")},P=e=>{let t=(0,o.ii)();if((0,g.cr)("grp-loadFolders")&&(0,p.Ws)(t?.tableQuery)){let n=(0,p.Is)(t?.tableQuery);if(n){let t=(0,v.Q)(),o=(0,f.Ll)(n,t),r={type:"GroupMailbox",userIdentity:t?.userIdentity??"",mailboxSmtpAddress:n};o&&(0,u.S)(e,o,r).then(e=>{e&&w(e)})}}else{let{moveToMailboxType:t,moveToSharedFolderRootId:n}=m.default,o="SharedMailbox"===t?n:(0,s.a6)(t);if(void 0===o)return;let r=(0,c.dh)(o,!1);(0,u.W)(e,o,r).then(e=>{e&&w(e)})}(0,l.Fp)("RibbonNewFolderDismissed")},C=(e,t)=>{let{moveToSharedFolderRootId:n}=m.default;void 0!==n&&(0,u.W)(e,n,t).then(e=>{e&&w(e)})},E=e=>{let t=(0,o.ii)();r.QR.importAndExecute([...t.selectedRowKeys.keys()],t.id,e,(0,i.rO)()),(0,l.Fp)("ribbonMoveMenuFocusedOther")},Z=e=>{let t=(0,o.ii)();r.sp.importAndExecute([...t.selectedRowKeys.keys()],t,e,(0,i.rO)()),(0,l.Fp)("ribbonMoveMenuAlwaysFocusedOther")},M=(e,t,n,o,r)=>{(0,d.H)(),(0,h.y3)({...e,type:o??e.type,mailboxSmtpAddress:r??""}),(0,h.iH)(t,n)},T=e=>{(0,h.iH)(m.default.findText,e?"":" "),(0,h.DV)("UserMailbox")},F=e=>{c.EO.import().then(t=>t(e,"Ribbon"))}},296484:(e,t,n)=>{n.d(t,{zn:()=>q,uB:()=>ev,_1:()=>X,F6:()=>eb,jp:()=>el,gE:()=>ed,SU:()=>Y,dW:()=>J,Ut:()=>ee,QI:()=>ep,OK:()=>em,BV:()=>ec,Ys:()=>et,IV:()=>en,p$:()=>eh,F2:()=>eg,BU:()=>ef,cL:()=>eo,hq:()=>er,Vb:()=>ei,Yt:()=>ea,eO:()=>eu,_o:()=>es,rm:()=>eS,VI:()=>eI});var o=n(313380),r=n(129376),i=n(34844),a=n(575130),l=n(842199),s=n(599461),d=n(395831),c=n(798571),u=n(523839),m=n(81820),p=n(53655),f=n(222664),g=n(645225),v=n(317379),h=n(937091),I=n(136851),S=n(580902),b=n(875177),w=n(422497),y=n(50059),P=n(2391),C=n(635557),E=n(48057),Z=n(666144),M=n(254431),T=n(161358),F=n(232280),k=n(12266),x=n(962625),R=n(118708),A=n(750885),D=n(11409),N=n(650999),_=n(478248),O=n(345301),L=n(327173),V=n(615762),B=n(679683),G=n(404809),U=n(285733),H=n(11265);let W="zoomButtonsDiv",K={root:{borderRadius:"2px",boxShadow:"0px 4px 8px 0px rgba(0, 0, 0, 0.1)"},calloutMain:{borderRadius:"2px",boxShadow:"0px 4px 8px 0px rgba(0, 0, 0, 0.1)"}};var z=n(779113),j=n(732635),Q=n(328138),$=n(340856);let q=(e,t,n)=>{n?r.Tp.import().then(o=>{let r=t(e);o(n.Id).then(()=>{(0,s.Z)(r)})}):(0,C.Z)((0,c.rO)())},X=(e,t,n)=>{let o=(0,c.rO)();if(n){let i=t(e);r.tb.importAndExecute(n.Id,n.mailboxInfo,[],o,i).then(e=>{e&&(0,s.Z)(i)})}else(0,E.Z)(o)},Y=(e,t,n)=>{let o=t(e),i=(0,d.Vk)(o);n?r.iM.import().then(e=>{e([n.Id],(0,m.Z)(n.Id),[],(0,c.rO)(),n.mailboxInfo,o,i).then(()=>{i&&(0,s.Z)(o)})}):(0,M.Z)((0,c.rO)(),(0,c.rO)(),void 0,o)},J=(e,t,n)=>{(0,T.Sj)((0,c.rO)(),e,t,n)},ee=(e,t,n)=>{let r=(0,c.rO)();if(n){let a=t(e);i.A6.importAndExecute(n,r,[],!!(0,o.z5)((0,o.ii)()),a)}else(0,l.VX)(r)},et=(e,t,n)=>{let i=(0,c.rO)();if(n){let a=t(e);(0,h.Z)("tri-reportUnsubscribeBlock")?r.Ux.importAndExecute(j.C2.Phishing,[n.Id],(0,o.ii)(),i,a).then(e=>{e&&(0,s.Z)(a)}):r.Z7.importAndExecute(n.Id,(0,o.ii)(),i,a).then(e=>{e&&(0,s.Z)(a)})}else(0,k.Z)(i)},en=e=>{let t=(0,c.rO)();if(e){let n=(0,g.b)().items.get(e.Id);b.JS.importAndExecute(e.Id,(0,o.ii)(),!n?.IsRead,[],t)}else(0,x.Z)(t)},eo=(e,t,n)=>{let o=(0,c.rO)();if(n){let r=t(e);a.An.importAndExecute({mailboxInfo:n.mailboxInfo,Id:n.Id},o,r)}else(0,A.Z)(o)},er=(e,t,n)=>{let r=(0,c.rO)();if(n){let a=t(e);i.tZ.importAndExecute(n,!0,r,[],!!(0,o.z5)((0,o.ii)()),a)}else(0,l.ZC)(r)},ei=(e,t,n)=>{let r=(0,c.rO)();if(n){let a=t(e);i.tZ.importAndExecute(n,!1,r,[],!!(0,o.z5)((0,o.ii)()),a)}else(0,l.FC)(r)},ea=e=>{let t=(0,c.rO)();e?a.n2.importAndExecute(e.Id,!1,void 0,t):(0,l.Gc)(t)},el=e=>{let t=(0,c.rO)();e?a.n2.importAndExecute(e.Id,!0,void 0,t):(0,l.j)(t)},es=(e,t,n)=>{let o=(0,c.rO)();if(n){let r=t(e);(0,N.Y)(n,o,void 0,r)}else(0,D.Z)(o)},ed=(e,t,n)=>{let o=(0,c.rO)();if(n){let r=(0,g.b)().items.get(n.Id);S.nC.import().then(n=>{n(r,o,t(e))})}else(0,Z.Z)(o)},ec=(e,t,n)=>{if((0,h.Z)("grp-loadFolders")&&(0,I.RY)()){let e=(0,p.U)(n,(0,u.a)().smtpAddress),t=e?.basicInformation?.DisplayName;t&&P.I.importAndExecute(t)}else{let o=t(e);w.Ez.importAndExecute("mail","rules",void 0,o,n)}},eu=(e,t)=>{let n=(0,v.Y)(e);_.p(n)?.SessionSettings?.IsShadowMailbox?em(e,t):et(e.projectionTabId,t,e.itemId)},em=(e,t)=>{let{projectionTabId:n,itemId:i}=e,a=(0,c.rO)();if(i){let e=t(n);r.Oq.importAndExecute(i.Id,(0,o.ii)(),a,[],e).then(t=>{"Success"===t&&(0,s.Z)(e)})}else{let t=(0,v.Y)(e);(0,F.Z)(a,(0,f.__)(23,t))}},ep=(e,t,n)=>{let o=(0,c.rO)();if(n){let r=t(e);i.n7.importAndExecute(n,o,r)}else(0,l.YE)(o)},ef=(e,t,n)=>{let o=(0,c.rO)();if(n){let i=t(e);r.xm.importAndExecute(n.Id,o,n.mailboxInfo,i)}else(0,R.Z)(o)},eg=()=>{w.Ez.importAndExecute("mail","retentionPolicies")},ev=(e,t,n,o,r,i,a)=>{y.e5.import().then(l=>{l(e,t,n,o,r,i,a)})},eh=(e,t,n,o)=>{let i=(0,c.rO)(),a=o(n);r.FP.importAndExecute(e?.Id,i,t,a)},eI=(e,t)=>{!function(e,t){let n=t.document.getElementById(W);if(!n){(n=t.document.createElement("div")).id=W,n.style.height="100%",n.style.width="0",n.style.display="inline-block";let e=t.document.getElementById("688");e?.parentNode?.insertBefore(n,e)}let o=()=>{let e=t.document.getElementById(W);if(e){(0,L.uy)(e);let n=t.document.getElementById("688");n?.parentNode?.removeChild(e)}},r=((0,H.Z)(t)??void 0??"default")+"_ribbon",i=(0,U.Ds)(r);i&&(i.isCalloutVisible=!i.isCalloutVisible),i?.isCalloutVisible?(0,L.sY)(O.createElement(O.StrictMode,null,O.createElement(V.WU,{window:t},O.createElement(G.G2,{context:r,targetForCallout:t.document.getElementById("688")??void 0,customCalloutStyles:K,directionalHint:B.b.bottomLeftEdge,onDismiss:o}))),n):o()}("688",t(e))},eS=(e,t,n)=>{let o=(0,c.rO)(),r=n(t);z.Q.importAndExecute(e?.Id,o,r)},eb=(e,t,n,r)=>{let i=t?(0,g.b)().items.get(t.Id):(0,$.D)((0,o.ii)());i&&Q.Yk.importAndExecute(r,i,n,"chat",e?"SimplifiedRibbon":"MultiLineRibbon")}},292269:(e,t,n)=>{n.d(t,{e0:()=>l,km:()=>a});var o=n(402392),r=n(76672);let i=new o.nI(()=>Promise.all([n.e(437255),n.e(710288)]).then(n.bind(n,710288))),a=(0,o.$y)(i,e=>e.RibbonCustomizer,void 0,void 0,{onlyImportIf:()=>r.default.isCustomizing}),l=new o._5(i,e=>e.onOpenCustomizer)},76672:(e,t,n)=>{n.d(t,{b:()=>i,default:()=>r});let o=(0,n(795839).MT)("RibbonCustomizer",{layout:[],controlsInOverflow:[],staticGroupIdOrdering:[],showLabelsPreference:1,dragControl:null,editingGroupName:null,dragGroup:null,isCustomizing:!1,preDragLayout:null,selectedTab:1,mailboxInfo:{type:"UserMailbox",userIdentity:"",mailboxSmtpAddress:""}})(),r=o,i=()=>o},113696:(e,t,n)=>{n.d(t,{Am:()=>I,C4:()=>u,CE:()=>y,CW:()=>M,DE:()=>F,E_:()=>S,FA:()=>s,Gh:()=>m,Hv:()=>T,IE:()=>c,IZ:()=>f,PY:()=>w,Pv:()=>E,SI:()=>C,eg:()=>d,gx:()=>r,hO:()=>Z,ii:()=>b,kO:()=>i,ld:()=>h,oC:()=>a,rN:()=>P,s0:()=>l,tc:()=>p,tj:()=>x,uc:()=>v,um:()=>g,y3:()=>k});var o=n(402392);let r=new o.nI(()=>Promise.all([n.e(437255),n.e(188056),n.e(779285),n.e(140902),n.e(23460),n.e(780545),n.e(980246),n.e(318335),n.e(531754),n.e(910330)]).then(n.bind(n,512237))),i=new o.EF(r,e=>e.getAssignPolicySections),a=new o.EF(r,e=>e.getBlockSections),l=new o.EF(r,e=>e.getCategorizeSections),s=new o.EF(r,e=>e.getChangeNoteColorSections),d=new o.EF(r,e=>e.getConversationsSections),c=new o.EF(r,e=>e.getDeleteSections),u=new o.EF(r,e=>e.getDensitySections),m=new o.EF(r,e=>e.getFlagUnflagSections),p=new o.EF(r,e=>e.getFolderMenuOptionsSections),f=new o.EF(r,e=>e.getForwardSections),g=new o.EF(r,e=>e.getLayoutSections),v=new o.EF(r,e=>e.getMessagePreviewSections),h=new o.EF(r,e=>e.getMessagesSections),I=new o.EF(r,e=>e.getMoveToSections),S=new o.EF(r,e=>e.getCopyToSections),b=new o.EF(r,e=>e.getNewGroupSections),w=new o.EF(r,e=>e.getQuickStepsSections),y=new o.EF(r,e=>e.getReadingPaneOptionsSections),P=new o.EF(r,e=>e.getReportSections),C=new o.EF(r,e=>e.getRespondSections),E=new o.EF(r,e=>e.getRulesSections),Z=new o.EF(r,e=>e.getSnoozeSections),M=new o.EF(r,e=>e.getViewGroupsSections),T=new o.EF(r,e=>e.getRibbonModeMenuOptionsSections),F=new o.EF(r,e=>e.getCopilotReplyWithMeetingSections),k=new o.EF(r,e=>e.getTeamsChatAroundEmailSections),x=new o.EF(r,e=>e.getMyDayMenuSections)},995679:(e,t,n)=>{n.d(t,{u_:()=>a,iy:()=>r});let o=["homeTab","viewTab","messageTab","insertTab","formatTab","notesTab","tableFormatTab","readTab","optionsTab","helpTab","drawTab","pictureTab"],r=e=>o.includes(e);function i(e,t,n=!1){return{groupId:e,groupName:void 0,controlIds:t,hasOwnOverflow:n}}let a={version:29,multiline:{homeTab:{layout:[i(116,[587]),i(104,[531,658,519,683,684,505]),i(197,[657]),i(192,[]),i(121,[556,557,555,678,553,698,686]),i(198,[702]),i(195,[697]),i(113,[572,540,559]),i(120,[550]),i(128,[552,509,527,548,571,616]),i(118,[549]),i(108,[663,508]),i(130,[580]),i(101,[529,7022]),i(178,[664])],controlsInOverflow:[],staticGroupIdOrdering:[116,104,197,192,121,198,195,113,120,128,118,108,130,101,178],showLabelsPreference:1,removedDefaultGroups:[]},viewTab:{layout:[i(152,[643]),i(153,[644,645,687,688,701]),i(154,[691,647,648,706,649]),i(110,[532]),i(194,[690])],controlsInOverflow:[],staticGroupIdOrdering:[152,153,154,110,194],showLabelsPreference:1,removedDefaultGroups:[]},insertTab:{layout:[i(111,[620,7025,506,7026,638,639,637]),i(165,[529,7016,7021]),i(169,[7e3]),i(166,[7011])],controlsInOverflow:[],staticGroupIdOrdering:[111,165,169,166],showLabelsPreference:1,removedDefaultGroups:[]},formatTab:{layout:[i(102,[6013,6011,6009,6010,6029]),i(134,[6027,6028,6024,6030,6001,6002,6003,6004,6023,6022,6026,6025,6073]),i(135,[6005,6006,6008,6007,6017,6018,6019,6110,6075,6020,6021,6016])],controlsInOverflow:[],staticGroupIdOrdering:[102,134,135],showLabelsPreference:1,removedDefaultGroups:[]},messageTab:{layout:[i(163,[6012,6013,6029]),i(157,[6027,6028,6005,6006,6024,6030,6016,6001,6002,6003,6004,6026,6025,6008,6007,6071,6075,6020,6021,6022,6023]),i(179,[6073]),i(177,[7003]),i(161,[620,7025,506,7026,638,639,637]),i(180,[7023]),i(159,[529,7016,7021]),i(173,[7e3]),i(187,[7029]),i(160,[7005,7006,564]),i(174,[7002]),i(170,[560]),i(171,[7011]),i(162,[7001,7004,6072,7010])],controlsInOverflow:[],staticGroupIdOrdering:[163,157,179,161,159,173,180,187,160,174,170,171,162],showLabelsPreference:1,removedDefaultGroups:[]},notesTab:{layout:[i(144,[587]),i(145,[640,641]),i(146,[642])],controlsInOverflow:[],staticGroupIdOrdering:[144,145,146],showLabelsPreference:1,removedDefaultGroups:[]},tableFormatTab:{layout:[i(147,[6037,6042,6087]),i(148,[6046,6047]),i(196,[6098,6097,6100]),i(149,[6049,6054]),i(150,[6058,6059,6060,6061])],controlsInOverflow:[],staticGroupIdOrdering:[147,148,196,149,150],showLabelsPreference:1,removedDefaultGroups:[]},readTab:{layout:[i(104,[658,519,505]),i(197,[657]),i(121,[556,557,555,678,553,698,686]),i(198,[702]),i(195,[697]),i(193,[688]),i(192,[]),i(113,[559,705]),i(128,[552,509,527,616]),i(118,[549]),i(110,[532])],controlsInOverflow:[],staticGroupIdOrdering:[104,197,192,121,198,195,113,128,118,110],showLabelsPreference:1,removedDefaultGroups:[]},optionsTab:{layout:[i(172,[7001,7004]),i(124,[7013]),i(175,[7020,7019,7009]),i(176,[7015,7014,7031]),i(167,[7005,7006,564,7012]),i(174,[7002]),i(123,[560]),i(162,[6072,7010])],controlsInOverflow:[],staticGroupIdOrdering:[172,124,167,123,162],showLabelsPreference:1,removedDefaultGroups:[]},helpTab:{layout:[i(11001,[11201,11202,11203,11208]),i(11002,[11204,11205])],controlsInOverflow:[],staticGroupIdOrdering:[11001,11002],showLabelsPreference:1,removedDefaultGroups:[]},drawTab:{layout:[i(181,[12001,12002]),i(182,[12003,12004]),i(183,[12005,12012,12006,12007,12008,12009]),i(184,[12010]),i(185,[12011])],controlsInOverflow:[],staticGroupIdOrdering:[181,182,183,184,185],showLabelsPreference:1,removedDefaultGroups:[]},pictureTab:{layout:[i(188,[6079,6080]),i(189,[6085]),i(190,[6081,6082,6083]),i(191,[6084])],controlsInOverflow:[],staticGroupIdOrdering:[],showLabelsPreference:1,removedDefaultGroups:[]}},singleline:{homeTab:{layout:[i(114,[587,519,683,684,505,657,658,572,540,559]),i(192,[]),i(121,[556,557,555,678,553,698,686]),i(198,[702]),i(195,[697]),i(128,[550,552,509,527,548,571,616]),i(118,[549]),i(108,[663,508]),i(130,[580]),i(101,[529,7022]),i(178,[664]),i(122,[558])],controlsInOverflow:[658,508,553,698,686,697,559],staticGroupIdOrdering:[114,192,121,198,195,128,130,118,108,101,178],showLabelsPreference:1,removedDefaultGroups:[]},viewTab:{layout:[i(152,[643]),i(153,[654,687,688,701]),i(154,[646,649]),i(110,[532]),i(194,[690]),i(122,[558])],controlsInOverflow:[],staticGroupIdOrdering:[152,153,154,110,194,122],showLabelsPreference:1,removedDefaultGroups:[]},insertTab:{layout:[i(111,[620,7025,506,7026,638,639,637]),i(165,[529,7016,7021]),i(169,[7e3]),i(166,[7011])],controlsInOverflow:[],staticGroupIdOrdering:[111,165,169,166],showLabelsPreference:1,removedDefaultGroups:[]},formatTab:{layout:[i(102,[6013,6012,6029]),i(134,[6027,6028,6001,6002,6003,6026,6025,6030,6024,6004,6023,6022,6073]),i(135,[6005,6006,6008,6007,6017,6018,6019,6110,6075,6020,6021,6016])],controlsInOverflow:[],staticGroupIdOrdering:[102,134,135],showLabelsPreference:1,removedDefaultGroups:[]},messageTab:{layout:[i(163,[6013,6012,6029]),i(157,[6027,6028,6001,6002,6003,6004,6026,6025,6030,6005,6006,6008,6007,6071,6075,6020,6021,6016,6024,6022,6023],!0),i(179,[6073]),i(177,[7003]),i(158,[620,7025,506,7026]),i(180,[7023]),i(159,[529,7016,7021]),i(169,[7e3]),i(187,[7029]),i(160,[7005,7006,564]),i(161,[638,639,637]),i(162,[7004,7002,560,7011,7001,6072,7010])],controlsInOverflow:[638,639,637,7004,7002,560,7011,7001,6072,7010],staticGroupIdOrdering:[163,157,179,158,159,187,160,161,162],showLabelsPreference:1,removedDefaultGroups:[]},notesTab:{layout:[i(145,[587,640,641]),i(146,[642])],controlsInOverflow:[],staticGroupIdOrdering:[145,146],showLabelsPreference:1,removedDefaultGroups:[]},tableFormatTab:{layout:[i(147,[6037,6042,6087]),i(148,[6046,6047]),i(196,[6098,6097,6100]),i(149,[6049,6054]),i(150,[6058,6059,6060,6061])],controlsInOverflow:[],staticGroupIdOrdering:[147,148,196,149,150],showLabelsPreference:1,removedDefaultGroups:[]},readTab:{layout:[i(114,[519,505,657,658,559,705]),i(192,[]),i(121,[556,557,555,678,553,698,686]),i(198,[702]),i(195,[697]),i(193,[688]),i(128,[552,509,527,616]),i(118,[549]),i(110,[532])],controlsInOverflow:[658,553,698,686,697,559,616,532],staticGroupIdOrdering:[114,192,121,198,195,128,118,110],showLabelsPreference:1,removedDefaultGroups:[]},optionsTab:{layout:[i(172,[7001,7004]),i(124,[7013]),i(175,[7020,7019,7009]),i(167,[7005,7006,564,7012]),i(176,[7015,7014,7031]),i(168,[7002,560,6072,7010])],controlsInOverflow:[],staticGroupIdOrdering:[172,124,167,168],showLabelsPreference:1,removedDefaultGroups:[]},helpTab:{layout:[i(11001,[11201,11202,11203]),i(11002,[11204,11205])],controlsInOverflow:[],staticGroupIdOrdering:[11001,11002],showLabelsPreference:1,removedDefaultGroups:[]},drawTab:{layout:[i(181,[12001,12002]),i(182,[12003,12004]),i(183,[12005,12012,12006,12007,12008,12009]),i(184,[12010]),i(185,[12011])],controlsInOverflow:[],staticGroupIdOrdering:[181,182,183,184,185],showLabelsPreference:1,removedDefaultGroups:[]},pictureTab:{layout:[i(188,[6079,6080]),i(189,[6085]),i(190,[6081,6082,6083]),i(191,[6084])],controlsInOverflow:[],staticGroupIdOrdering:[188,189,190,191],showLabelsPreference:1,removedDefaultGroups:[]}},contextualTabs:[]}},2680:(e,t,n)=>{n.d(t,{Z:()=>r});var o=n(992571);let r=(0,n(795839).lr)("initializeMailRibbonConfiguration",(e,t)=>{let n=(0,o.bh)(t);n.ribbonConfig.multiline=JSON.parse(JSON.stringify(e.multiline)),n.ribbonConfig.singleline=JSON.parse(JSON.stringify(e.singleline)),n.ribbonConfig.version=e.version,n.hasLoaded=!0})},308396:(e,t,n)=>{n.d(t,{j:()=>l});var o=n(795839),r=n(377719),i=n(992571);let a=[587,683,684],l=(0,o.lr)("setTabControlsInOverflow",(e,t,n)=>{let o=(0,i.eo)(e).singleline[t],l=(0,r.T)(e,t),s=n.filter(e=>l.includes(e)&&!a.includes(e));o.controlsInOverflow=s})},377719:(e,t,n)=>{n.d(t,{T:()=>r});var o=n(992571);let r=(e,t)=>Array.from(new Set((0,o.eo)(e).singleline[t].layout.flatMap(e=>[...e.controlIds])))},992571:(e,t,n)=>{n.d(t,{Iy:()=>m,KY:()=>p,bh:()=>c,eo:()=>u});var o=n(795839),r=n(787012),i=n(827570),a=n(511943),l=n(206339);function s(e){return{layout:[],controlsInOverflow:[],staticGroupIdOrdering:[],removedDefaultGroups:[],showLabelsPreference:e}}let d=(0,o.MT)("MailRibbonConfiguration",{entries:new r.ObservableMap,selectedTab:1})();function c(e){let t=(0,i.M4)((0,a.zl)());(0,l.cr)("mon-ribbon-customization-multiAccount")&&e&&(t=(0,i.M4)(e));let n=d.entries.get(t);if(!n){let e={version:0,multiline:{homeTab:s(1),viewTab:s(1),messageTab:s(1),insertTab:s(1),formatTab:s(1),notesTab:s(1),tableFormatTab:s(1),readTab:s(1),optionsTab:s(1),helpTab:s(1),drawTab:s(1),pictureTab:s(1)},singleline:{homeTab:s(1),viewTab:s(1),messageTab:s(1),insertTab:s(1),formatTab:s(1),notesTab:s(1),tableFormatTab:s(1),readTab:s(1),optionsTab:s(1),helpTab:s(1),drawTab:s(1),pictureTab:s(1)},contextualTabs:[]};return d.entries.set(t,{ribbonConfig:e,hasLoaded:!1}),d.entries.get(t)}return n}function u(e){return c(e).ribbonConfig}function m(){return d.selectedTab}function p(e){d.selectedTab=e}},975775:(e,t,n)=>{n.d(t,{M:()=>a});var o=n(75953),r=n(511943),i=n(205451);let a=(0,o._)(function(){return(0,r.Ly)().some(e=>(0,i.Z)(e.mailboxInfo))})},442606:(e,t,n)=>{n.d(t,{f:()=>o});function o(e){return e>=91e3&&e<=99999}},376622:(e,t,n)=>{n.d(t,{Z:()=>y});var o=n(2680),r=n(308396),i=n(992571),a=n(975775),l=n(152806),s=n(67199),d=n(206339),c=n(995679),u=n(321885);function m(e,t,n){let o=p(c.u_.singleline.homeTab.layout),r=p(c.u_.singleline.viewTab.layout);return f(o,e.homeTab.layout,t,n)&&f(r,e.viewTab.layout,t,n)}function p(e){let t=new Set;return e.forEach(e=>{t.add(e.groupId),e.controlIds.forEach(e=>{t.add(e)})}),t}function f(e,t,n,o){let r=!0;for(let a=t.length-1;a>=0;a--){var i;let l=t[a];if(i=l.groupId,(0,u.H)(i)||e.has(i))for(let t=l.controlIds.length-1;t>=0;t--){let i=l.controlIds[t];if(!e.has(i)){if((0,s.y8)("RibbonValidityCheck_FailedControlIdValidityCheck",{ribbonVersion:n,controlId:i}),!o)return!1;l.controlIds.splice(t,1),r=!1}}else{if((0,s.y8)("RibbonValidityCheck_FailedGroupIdValidityCheck",{ribbonVersion:n,groupId:l.groupId}),!o)return!1;t.splice(a,1),r=!1}}return r}let g=[{oldVersioningPastSixMonthLimit:!0},{oldVersioningPastSixMonthLimit:!0},{oldVersioningPastSixMonthLimit:!0},{oldVersioningPastSixMonthLimit:!0},{oldVersioningPastSixMonthLimit:!0},{oldVersioningPastSixMonthLimit:!0},{oldVersioningPastSixMonthLimit:!0},{oldVersioningPastSixMonthLimit:!0},{oldVersioningPastSixMonthLimit:!0},{oldVersioningPastSixMonthLimit:!0},{oldVersioningPastSixMonthLimit:!0},{oldVersioningPastSixMonthLimit:!0},{oldVersioningPastSixMonthLimit:!0},{oldVersioningPastSixMonthLimit:!0},{oldVersioningPastSixMonthLimit:!0},{oldVersioningPastSixMonthLimit:!0},{oldVersioningPastSixMonthLimit:!0},{removeGroup:[{tabVariableName:"viewTab",groupId:118}],addGroup:[{tabVariableName:"homeTab",groupDefinition:{groupId:118,groupName:void 0,controlIds:[549],hasOwnOverflow:!1}}],updateGroupOrdering:[{tabVariableName:"viewTab",newStaticGroupIdOrdering:[152,153,154,110,122]},{tabVariableName:"homeTab",newStaticGroupIdOrdering:[129,116,104,121,120,113,128,118,108,126,130,101,112,119]}]},{removeControl:[{tabVariableName:"viewTab",controlId:549}]},{removeControl:[580,587,683,684,519,505,657,572,540,658,559,678,553,552,527,548,571,509,508,550,556,557,555,616,529,663].map(e=>({tabVariableName:"viewTab",controlId:e}))},{addControl:[{tabVariableName:"homeTab",groupId:121,controlId:686}],addControlToOverflow:[{tabVariableName:"homeTab",controlId:686}]},{addControl:[{tabVariableName:"viewTab",groupId:153,controlId:687},{tabVariableName:"viewTab",groupId:153,controlId:688}]},{removeGroup:[{tabVariableName:"homeTab",groupId:129}],removeControl:[{tabVariableName:"homeTab",controlId:578}]},{addGroup:[{tabVariableName:"viewTab",groupDefinition:{groupId:194,groupName:void 0,controlIds:[690],hasOwnOverflow:!1}}],updateGroupOrdering:[{tabVariableName:"viewTab",newStaticGroupIdOrdering:[152,153,154,110,194,122]}]},{addControl:[{tabVariableName:"homeTab",groupId:121,controlId:696}],addControlToOverflow:[{tabVariableName:"homeTab",controlId:696}]},{addGroup:[{tabVariableName:"homeTab",groupDefinition:{groupId:195,groupName:void 0,controlIds:[697],hasOwnOverflow:!1}}],updateGroupOrdering:[{tabVariableName:"homeTab",newStaticGroupIdOrdering:[114,192,121,195,128,130,118,108,101,178]}],addControl:[{tabVariableName:"homeTab",groupId:195,controlId:697}],addControlToOverflow:[{tabVariableName:"homeTab",controlId:697}]},{addControl:[{tabVariableName:"homeTab",groupId:121,controlId:698}],addControlToOverflow:[{tabVariableName:"homeTab",controlId:698}],removeControl:[{tabVariableName:"homeTab",controlId:696}],removeControlFromOverflow:[{tabVariableName:"homeTab",controlId:696}]},{addControl:[{tabVariableName:"viewTab",groupId:153,controlId:701}]},{addGroup:[{tabVariableName:"homeTab",groupDefinition:{groupId:198,groupName:void 0,controlIds:[702],hasOwnOverflow:!1}}],updateGroupOrdering:[{tabVariableName:"homeTab",newStaticGroupIdOrdering:[114,192,121,198,195,128,130,118,108,101,178]}]}];function v(e,t){if(void 0!=e){for(let n=0;n<e.length;n++)if(e[n].groupId===t)return e[n]}}function h(e,t){let n=e.indexOf(t);return -1!==n&&(e.splice(n,1),!0)}var I=n(627168);function S(e,t){let n=JSON.stringify(c.u_);(0,I.a)(t,{ViewStateConfiguration:{MailRibbonConfig:n}}),e.singleline=JSON.parse(JSON.stringify(c.u_.singleline)),e.multiline=JSON.parse(JSON.stringify(c.u_.multiline)),e.version=c.u_.version}var b=n(478248),w=n(511943);function y(){P((0,w.zl)()),(0,d.cr)("mon-ribbon-customization-multiAccount")&&(0,l.Im)(e=>{P(e.mailboxInfo)},e=>{},l.He)}async function P(e){if((0,i.bh)(e).hasLoaded)return;if((0,o.Z)(c.u_,e),(0,d.cr)("mon-ribbon-customization-hard-reset")){E(e);return}let t=b.p(e)?.ViewStateConfiguration?.MailRibbonConfig;if(!t){(0,d.cr)("mon-default-consumer-overflow-ribbon")&&!(0,a.M)()&&(0,r.j)(e,"homeTab",[658,509,548,549,559,571,572,663]),(0,s.y8)("RibbonCustomization_Default");return}let n=JSON.parse(t);if((0,s.y8)("RibbonCustomization_Custom"),!n.singleline.homeTab.layout.some(e=>122===e.groupId)){(0,s.y8)("RibbonCustomization_FailSafeTriggered"),E(e);return}n.version>c.u_.version?(m(n.singleline,n.version,!0)?(0,s.y8)("RibbonVersioning_PassedValidityCheck_OlderConfigVersion",[n.version,c.u_.version]):(0,s.y8)("RibbonVersioning_FailedValidityCheck_OlderConfigVersion",[n.version,c.u_.version]),C(n),(0,o.Z)(n,e)):(C(n),n.version<c.u_.version?(function(e,t){if(c.u_.version!=g.length)throw Error("Mismatch in defaultConfig's version and mailRibbonVersionManager's length.");if(e.version>c.u_.version)return;for(let n=e.version;n<c.u_.version;n++){let o=g[n];if(o.oldVersioningPastSixMonthLimit){(0,s.y8)("RibbonVersioning_OldVersioningPastSixMonthLimit",[e.version,c.u_.version]),S(e,t);return}o.removeTab&&function(e,t){t.forEach(t=>{delete e.singleline[t.tabVariableName]})}(e,o.removeTab),o.removeGroup&&function(e,t){t.forEach(t=>{let n=e.singleline[t.tabVariableName];if(void 0==n)return;let o=n.layout;for(let e=0;e<o.length;e++)o[e].groupId===t.groupId&&(n.controlsInOverflow=n.controlsInOverflow.filter(t=>!o[e].controlIds.includes(t)),o.splice(e,1));h(n.staticGroupIdOrdering,t.groupId),h(n.removedDefaultGroups,t.groupId)})}(e,o.removeGroup),o.removeControl&&function(e,t){t.forEach(t=>{let n=e.singleline[t.tabVariableName];if(void 0==n)return;let o=n.layout;for(let e=0;e<o.length&&!h(o[e].controlIds,t.controlId);e++);h(n.controlsInOverflow,t.controlId)})}(e,o.removeControl),o.removeControlFromOverflow&&function(e,t){t.forEach(t=>{let n=e.singleline[t.tabVariableName]?.controlsInOverflow;void 0!=n&&h(n,t.controlId)})}(e,o.removeControlFromOverflow),o.addTab&&function(e,t){t.forEach(t=>{e.singleline[t.tabVariableName]=t.tabDefinition})}(e,o.addTab),o.addGroup&&function(e,t){t.forEach(t=>{let n=e.singleline[t.tabVariableName],o=n?.layout;if(void 0==o)return;let r=c.u_.singleline[t.tabVariableName]?.layout;n.staticGroupIdOrdering.push(t.groupDefinition.groupId);let i=[];if(void 0!=r){for(let e=0;e<r.length;e++)if(r[e].groupId===t.groupDefinition.groupId){i=r.slice(e);break}}let a=[];i.forEach(e=>{a.push(e.groupId)});for(let e=0;e<o.length;e++)if(a.includes(o[e].groupId)){o.splice(e,0,t.groupDefinition);return}o.push(t.groupDefinition)})}(e,o.addGroup),o.addControl&&function(e,t){t.forEach(t=>{let n=e.singleline[t.tabVariableName]?.layout,o=c.u_.singleline[t.tabVariableName]?.layout;if(void 0==n)return;let r=v(n,t.groupId),i=v(o,t.groupId);if(void 0==r)return;let a=[];for(let e=0;e<i.controlIds.length;e++)if(i.controlIds[e]===t.controlId){a=i.controlIds.slice(e);break}for(let e=0;e<r.controlIds.length;e++)if(a.includes(r.controlIds[e])){r.controlIds.splice(e,0,t.controlId);return}r.controlIds.push(t.controlId)})}(e,o.addControl),o.addControlToOverflow&&function(e,t){t.forEach(t=>{let n=e.singleline[t.tabVariableName]?.controlsInOverflow;void 0!=n&&n.push(t.controlId)})}(e,o.addControlToOverflow),o.updateGroupOrdering&&function(e,t){t.forEach(t=>{let n=e.singleline[t.tabVariableName];if(void 0==n)return;let o=t.newStaticGroupIdOrdering;n.staticGroupIdOrdering.forEach(e=>{(0,u.H)(e)&&o.push(e)}),n.staticGroupIdOrdering=o})}(e,o.updateGroupOrdering)}if(!m(e.singleline,e.version)){(0,s.y8)("RibbonVersioning_FailedValidityCheck_AfterVersioningCompleted",[e.version,c.u_.version]),S(e,t);return}(0,s.y8)("RibbonVersioning_PassedValidityCheck_AfterVersioningCompleted",[e.version,c.u_.version]),e.version=c.u_.version;let n=JSON.stringify(e);(0,I.a)(t,{ViewStateConfiguration:{MailRibbonConfig:n}})}(n,e),(0,o.Z)(n,e)):m(n.singleline,n.version)?(0,o.Z)(n,e):(0,s.y8)("RibbonVersioning_FailedValidityCheck_EqualConfigVersions",[n.version,c.u_.version]))}function C(e){e.multiline=c.u_.multiline,e.singleline.formatTab=c.u_.singleline.formatTab,e.singleline.optionsTab=c.u_.singleline.optionsTab,e.singleline.messageTab=c.u_.singleline.messageTab,e.singleline.insertTab=c.u_.singleline.insertTab,e.singleline.notesTab=c.u_.singleline.notesTab,e.singleline.tableFormatTab=c.u_.singleline.tableFormatTab,e.singleline.readTab=c.u_.singleline.readTab,e.contextualTabs=c.u_.contextualTabs,e.singleline.helpTab=c.u_.singleline.helpTab,e.singleline.drawTab=c.u_.singleline.drawTab,e.singleline.pictureTab=c.u_.singleline.pictureTab}function E(e){let t=JSON.stringify(c.u_);(0,I.a)(e,{ViewStateConfiguration:{MailRibbonConfig:t}})}},849471:(e,t,n)=>{n.d(t,{E:()=>a});var o=n(478248),r=n(442606);let i=new Map([[7016,-1],[529,-1],[7021,-1],[7023,-1],[505,3],[616,48],[507,5],[658,5],[508,-1],[509,6],[516,20],[519,49],[527,50],[108,-1],[109,-1],[113,-1],[128,-1],[531,52],[532,66],[535,53],[538,-1],[540,29],[659,5],[584,-1],[585,-1],[586,-1],[587,54],[588,-1],[589,55],[640,35],[641,35],[642,75],[545,-1],[547,24],[548,56],[549,39],[552,57],[553,43],[696,85],[698,85],[699,43],[700,43],[555,51],[680,51],[651,51],[556,58],[678,58],[679,58],[557,59],[681,59],[683,45],[684,46],[559,78],[567,-1],[570,13],[571,64],[572,61],[580,62],[581,-1],[663,-1],[550,80],[687,82],[688,83],[686,81],[91e3,47],[697,84],[702,86],[705,88]]),a=(e,t)=>657==e?o.p(t)?.SessionSettings?.IsShadowMailbox?53:24:(0,r.f)(e)?47:i.get(e)??-1},475418:(e,t,n)=>{n.d(t,{Ev:()=>M});let o=new Set([7016,529,637,564,565,620,621,622,623,624,7030,7024,7025,639,7e3,638,7001,7002,7003,7004,506,560,7005,7006,7007,7009,7020,7019,7010,7011,7014,7015,7021,7023,7027,7028,7026,7029,7031]),r=e=>o.has(e),i=e=>e>6e3&&e<6111,a=e=>e>12e3&&e<12013,l=new Set([7002,7001,620,564,529,7005,7006,560,7010,506,7009,7020,7019,7014,7015,7003,7031]),s=new Set([6009,6010,6012]),d=e=>!(l.has(e)||s.has(e))&&(r(e)||i(e)||a(e));var c=n(746286),u=n(797489),m=n(804e3),p=n(836479),f=n(565795),g=n(993832),v=n(687315),h=n(67199);let I=(e,t)=>{let n=(0,u.MA)();return(0,g.Q)(e)&&!function(e){let t=(0,u.yM)(e);return!!t&&!!(0,m.Z)(t.id)}(t.composeId)&&(0,f.h)()&&n?.type===u.AO.Primary},S=(e,t)=>(7029===e||i(e))&&(0,c.I)(t.composeId),b=(e,t)=>{if(7e3===e||7026===e){let e=!!t.ribbon.formatViewState.isInTable,n=2!==(0,v.Z)(t.mailboxInfo);if(e||n)return(0,h.y8)("FluidNotEnabledCursorOrAccessIssue",{cursorIsOnTable:e,hasAccessISsue:n}),!0}return!1},w=(e,t)=>!!new Set([7021,12011]).has(e)&&!!t.ribbon.formatViewState.isInTable,y=(e,t)=>7002===e&&t.virtualEdit.useSmartResponse&&!t.quotedBody,P=(e,t)=>7002===e&&t.isInlineCompose,C=(e,t)=>!new Set([7012,7009,7020,7019,7002,620,506,7005,7006,564,7001,7014,7015,7003,7010,7016,7023,7031,560,12006,12007,12008,12009,12005,12004,12003,12012,12010]).has(e)&&(0,g.Q)(e)&&(1===t.addin.lastFocusedControl||0===t.addin.lastFocusedControl||3===t.addin.lastFocusedControl),E=(e,t)=>"Text"==t.bodyType&&d(e),Z=()=>[b,C,E,I,S,P,w,y],M=(e,t)=>{let n=p.Z8.viewStates.get(t);return!n||Z().some(t=>t(e,n))}},725657:(e,t,n)=>{n.d(t,{P:()=>d});var o=n(787012),r=n(778904),i=n(798571),a=n(786070);let l=(0,o.computed)(()=>new Map().set(7022,a.ZP.getM365AppsButtonDesc).set(7016,a.ZP.getMessageExtensionsButtonDesc).set(529,a.ZP.getAddinsButtonDesc).set(564,a.ZP.sensitivityButtonDesc).set(565,a.ZP.sensitivityLearnMoreButtonDesc).set(505,a.ZP.archiveButtonDesc).set(616,a.ZP.assignPolicyButtonDesc).set(507,a.ZP.blockButtonDesc).set(658,a.ZP.blockButtonDesc).set(508,a.ZP.browseGroupsButtonDesc).set(509,a.ZP.categorizeButtonDesc).set(644,a.ZP.conversationsDesc).set(516,a.ZP.createRuleButtonDesc).set(519,a.ZP.deleteButtonDesc).set(649,a.ZP.densityDesc).set(593,a.ZP.discardButtonDesc).set(525,a.ZP.encryptButtonDesc).set(604,a.ZP.flagClearFlagButtonDesc).set(601,a.ZP.flagNextWeekButtonDesc).set(602,a.ZP.flagNoDateButtonDesc).set(600,a.ZP.flagThisWeekButtonDesc).set(598,a.ZP.flagTodayButtonDesc).set(599,a.ZP.flagTomorrowButtonDesc).set(603,a.ZP.flagMarkCompleteButtonDesc).set(527,a.ZP.flagButtonDesc).set(647,a.ZP.folderPaneDesc).set(531,a.ZP.ignoreButtonDesc).set(532,a.ZP.immersiveReaderButtonDesc).set(535,a.ZP.junkButtonDesc).set(646,a.ZP.layoutDesc).set(652,a.ZP.manageQuickStepsDesc).set(537,a.ZP.manageRulesButtonDesc).set(645,a.ZP.messagePreviewDesc).set(654,a.ZP.messagesDesc).set(540,a.ZP.moveButtonDesc).set(656,a.ZP.newFolderPostButtonDesc).set(659,a.ZP.neverBlockButtonDesc).set(587,a.ZP.newMessageButtonDesc).set(588,a.ZP.newMessageButtonDesc).set(547,a.ZP.phishingButtonDesc).set(548,a.ZP.pinButtonDesc).set(550,a.ZP.setupQuickStepsDesc).set(648,a.ZP.readingPaneDesc).set(552,a.ZP.readUnreadButtonDesc).set(657,a.ZP.phishingButtonDesc).set(555,a.ZP.forwardButtonDesc).set(680,a.ZP.forwardButtonDesc).set(651,a.ZP.forwardEmailAsAttachmentDesc).set(553,a.ZP.replyWithMeetingButtonDesc).set(700,a.ZP.replyWithMeetingButtonDesc).set(698,a.ZP.copilotReplyWithMeetingButtonDesc).set(699,a.ZP.copilotReplyWithMeetingButtonDesc).set(696,a.ZP.copilotReplyWithMeetingButtonDesc).set(556,a.ZP.replyButtonDesc).set(679,a.ZP.replyButtonDesc).set(557,a.ZP.replyAllButtonDesc).set(681,a.ZP.replyAllButtonDesc).set(683,a.ZP.restoreDesc).set(684,a.ZP.restoreAllDesc).set(558,a.ZP.customizeButtonDesc).set(559,a.ZP.rulesButtonDesc).set(594,a.ZP.sendDraftButtonDesc).set(571,a.ZP.snoozeButtonDesc).set(572,a.ZP.sweepButtonDesc).set(539,a.ZP.moreRetentionPoliciesButtonDesc).set(580,a.ZP.undoButtonDesc).set(643,a.ZP.viewSettingsDesc).set(663,a.ZP.viewGroupsPanelButtonDesc).set(640,a.ZP.deleteNoteDesc).set(641,a.ZP.changeNoteColorDesc).set(642,a.ZP.viewEmailFromNotesDesc).set(664,a.ZP.commsCopilotDesc).set(549,a.ZP.printEmailDesc).set(686,a.ZP.messageRecallDesc).set(687,a.ZP.expandCollapseConversationDesc).set(688,a.ZP.zoomDesc).set(690,a.ZP.remindersWindowDesc).set(691,a.ZP.ribbonModeDesc).set(697,a.ZP.trackReadReceiptsDesc).set(701,a.ZP.syncMailboxDesc).set(702,a.ZP.chatAroundEmail).set(703,a.ZP.chatAroundEmailAll).set(704,a.ZP.flagCustomButtonDesc)),s=(0,o.computed)(()=>{let e=(0,r.IZ)();return new Map().set(505,e.archiveMail).set(509,e.categorize).set(519,e.deleteMail).set(593,e.discardDraft).set(531,e.ignore).set(535,e.markAsJunk).set(540,e.moveToFolder).set(588,e.newMail).set(552,e.markAsReadUnread).set(555,e.forward).set(680,e.forward).set(556,e.reply).set(679,e.reply).set(557,e.replyAll).set(681,e.replyAll).set(560,e.saveDraft).set(594,e.sendMail).set(624,e.insertHyperlink).set(571,e.snooze).set(580,e.undoAction).set(701,e.syncMailbox).set(688,{category:"emailActions",hotmail:["ctrl++","ctrl+-","ctrl+0"],gmail:["ctrl++","ctrl+-","ctrl+0"],owa:["ctrl++","ctrl+-","ctrl+0"],outlook:["ctrl++","ctrl+-","ctrl+0"]})}),d=(0,i.tI)(l,s)},561572:(e,t,n)=>{n.d(t,{$I:()=>s,LT:()=>m,QO:()=>p,UA:()=>d,_o:()=>u,qt:()=>c});var o=n(798571),r=n(734039),i=n(204446),a=n(137184),l=n(317379);let s=(e,t,n,i,s,d,c,u,m,p,f)=>(0,o.lC)(e,t,s,d,c,u,m??(0,r.i)(),{customTooltip:n,disabled:(0,a.B)(e,i.isPopout,(0,l.Y)(i),p),...f}),d=(e,t,n,i,s,d,c,u,m,p,f)=>(0,o.c9)(e,t,s,d,c,u,m??(0,r.i)(),{customTooltip:n,disabled:(0,a.B)(e,i.isPopout,(0,l.Y)(i),p),...f}),c=(e,t,n,i,s,d,c,u,m,p,f,g,v)=>(0,o.Vh)(e,t,d,c,u,m,p,f??(0,r.i)(),{customTooltip:i,disabled:(0,a.B)(e,s.isPopout,(0,l.Y)(s),g),splitButtonAriaLabel:n,...v}),u=(e,t,n,a,l,s,d,c,u,m)=>{let p=(0,o.Gl)(625);return(0,o.w)(e.toString(),t,a,s,d??s?i.Z:void 0,c??s?p:void 0,u??(s?(0,r.N)():(0,r.i)()),{customTooltip:n,keytipProps:l,...m})},m=(e,t,n,a,l,s,d,c,u,m)=>(0,o.c9)(e,t,a,l,d??(!0===s?i.Z:void 0),c??(!0===s?(0,o.Gl)(625):void 0),u??(!0===s?(0,r.N)():(0,r.i)()),{customTooltip:n,...m}),p=(e,t,n,r,i,a,l,s)=>(0,o.Rr)(e,t,n,r,i,a,l,{autoComplete:"off",...s})},487515:(e,t,n)=>{let o,r;n.d(t,{t:()=>ek});var i=n(317379),a=n(900249),l=n(824932),s=n(82823),d=n(519110),c=n(197990),u=n(586890),m=n(932211),p=n(829979),f=n(166133),g=n(647860),v=n(674709),h=n(803234),I=n(225435);let S=(0,h.M)("BroomRegular",I.hvg);var b=n(954301),w=n(255385);let y=(0,h.M)("ClipboardDataBarRegular",w.Hap);var P=n(34965),C=n(455868);let E=(0,h.M)("CloudArrowDownRegular",w.T6T),Z=(0,h.M)("CloudOffRegular",w.KnC);var M=n(577547),T=n(517795),F=n(858423),k=n(778996);let x=(0,h.M)("FolderSwapRegular",k._wt);var R=n(212631),A=n(651380),D=n(535535);let N=(0,h.M)("MailMultipleRegular",D.JhI);var _=n(718531),O=n(71700),L=n(811644),V=n(954945);let B=(0,h.M)("PanelLeftFilled",D.Sz1),G=(0,h.M)("PanelLeftFocusRightFilled",D.D94),U=(0,h.M)("PanelLeftRegular",D.Y6k);var H=n(383957),W=n(651626),K=n(110735),z=n(648303),j=n(134433),Q=n(88449),$=n(613164),q=n(407663);let X=(0,h.M)("TextCollapseRegular",q.Ucv),Y=(0,h.M)("TextExpandRegular",q.waG);var J=n(187773);let ee=(0,h.M)("WindowFilled",J.zyD);var et=n(345301),en=n(621001);let eo=(o="CalendarTodoRegular",r=n(917515).e$,(0,en.fm)({icons:{[o]:et.createElement(r)}}),o);var er=n(302140),ei=n(343767),ea=n(891116),el=n(25348),es=n(973503),ed=n(130827),ec=n(710969),eu=n(426824),em=n(783249),ep=n(228472),ef=n(35337),eg=n(660427),ev=n(236086),eh=n(884303),eI=n(699251),eS=n(570746),eb=n(680042),ew=n(570753);let ey={viewEmailFromNoteLabel:"RbrV4d"};var eP=n(222664),eC=n(497670),eE=n(8169),eZ=n(725657),eM=n(665117),eT=n(855567),eF=n(382375);function ek(e,t){let n=(0,i.Y)(t);switch(e){case 587:{let t=(0,er.ZP)(ef.ZP.newEMailMessage_Button);return{iconName:_.Z,text:t,ariaText:void 0,tooltip:(0,eZ.P)(e,t),hasChevron:!1}}case 588:{let t=(0,eP.__)(55,n),o=(0,er.ZP)(eg.ZP.newMessage_SplitButton);if(t)return{iconName:L.Z,text:(0,er.ZP)(ef.ZP.newNote_HeroButton),ariaText:o,tooltip:void 0,hasChevron:!1};let r=(0,eC.hZ)(),i=r?(0,er.ZP)(ef.ZP.newPostHero_Button):(0,er.ZP)(ef.ZP.newMessage_Button),a=!r&&(0,eT.q)()?(0,er.ZP)(ef.ZP.newMessage_Button_MLR):i;return{iconName:_.Z,text:a,ariaText:o,tooltip:(0,eZ.P)(e,i),hasChevron:!1}}case 656:{let t=(0,er.ZP)(ef.ZP.newPost_Button);return{iconName:_.Z,text:t,ariaText:void 0,tooltip:(0,eZ.P)(e,t),hasChevron:!1}}case 572:{let t=(0,er.ZP)(ef.ZP.sweepEmail_Button);return{iconName:S,text:t,ariaText:void 0,tooltip:(0,eZ.P)(e,t),hasChevron:!1}}case 531:{let t=(0,eP.__)(19,n)||!(0,eP.__)(52,n)?(0,er.ZP)(ef.ZP.ignoreEmail_Button):(0,er.ZP)(ef.ZP.stopIgnoringEmail_Button);return{iconName:j.Z,text:t,ariaText:void 0,tooltip:(0,eZ.P)(e,t),hasChevron:!1}}case 548:{let t=(0,er.ZP)(ef.ZP.pinUnpin_Button),n=(0,eT.q)()?(0,er.ZP)(ef.ZP.pinUnpin_Button_MLR):t;return{iconName:W.Z,text:n,ariaText:void 0,tooltip:(0,eZ.P)(e,t),hasChevron:!1}}case 571:{let t=(0,er.ZP)(ef.ZP.snooze_Button);return{iconName:C.Z,text:t,ariaText:void 0,tooltip:(0,eZ.P)(e,t),hasChevron:!0}}case 508:{let t=(0,er.ZP)(ef.ZP.browseGroups_Button);return{iconName:H.Z,text:t,ariaText:void 0,tooltip:(0,eZ.P)(e,t),hasChevron:!1}}case 663:{let t=(0,er.ZP)(ef.ZP.viewGroupsPanel_Button),n=(0,er.ZP)(eg.ZP.viewGroups_SplitButton),o=(0,eT.q)()?(0,er.ZP)(ef.ZP.viewGroupsPanel_Button_MLR):t;return{iconName:H.Z,text:o,ariaText:n,tooltip:(0,eZ.P)(e,t),hasChevron:!0}}case 580:{let t=(0,er.ZP)(ef.ZP.undo_Button);return{iconName:v.Z,text:t,ariaText:void 0,tooltip:(0,eZ.P)(e,t),hasChevron:!1}}case 529:{let t=(0,er.ZP)(eF.m);return{iconName:u.Z,text:t,ariaText:void 0,tooltip:(0,eZ.P)(e,t),hasChevron:!1}}case 7016:{let t=(0,er.ZP)(ef.ZP.getMessageExtensions_Button);return{iconName:c.Z,text:t,ariaText:void 0,tooltip:(0,eZ.P)(e,t),hasChevron:!1}}case 652:{let t=(0,er.ZP)(ef.ZP.manageQuickSteps_Button);return{iconName:z.Z,text:t,ariaText:void 0,tooltip:(0,eZ.P)(e,t),hasChevron:!1}}case 550:{let t=(0,er.ZP)(ef.ZP.quickSteps_Button),n=(0,er.ZP)(ef.ZP.quickSteps_MenuLauncherLabel);return{iconName:F.Z,text:t,ariaText:n,tooltip:(0,eZ.P)(e,t),hasChevron:!1}}case 683:{let t=(0,er.ZP)(ep.j);return{iconName:m.Z,text:t,ariaText:void 0,tooltip:(0,eZ.P)(e,t),hasChevron:!1}}case 684:{let t=(0,er.ZP)(em.p);return{iconName:m.Z,text:t,ariaText:void 0,tooltip:(0,eZ.P)(e,t),hasChevron:!1}}case 643:{let t=(0,er.ZP)(ef.ZP.viewSettings_Button);return{iconName:z.Z,text:t,ariaText:void 0,tooltip:(0,eZ.P)(e,t),hasChevron:!1}}case 644:{let t=(0,er.ZP)(ef.ZP.conversations_Button);return{iconName:N,text:t,ariaText:void 0,tooltip:(0,eZ.P)(e,t),hasChevron:!1}}case 645:{let t=(0,er.ZP)(ef.ZP.messagePreview_Button);return{iconName:A.Z,text:t,ariaText:void 0,tooltip:(0,eZ.P)(e,t),hasChevron:!1}}case 646:{let t=(0,er.ZP)(ef.ZP.layout_Button);return{iconName:U,text:t,ariaText:void 0,tooltip:(0,eZ.P)(e,t),hasChevron:!0}}case 647:{let t=(0,er.ZP)(ef.ZP.folder_Button);return{iconName:B,text:t,ariaText:void 0,tooltip:(0,eZ.P)(e,t),hasChevron:!1}}case 648:{let t=(0,er.ZP)(eE.Z.options_readingPane_quickSetting_label);return{iconName:G,text:t,ariaText:void 0,tooltip:(0,eZ.P)(e,t),hasChevron:!1}}case 706:{let t=(0,er.ZP)(ev.ZP.myDayButton);return{iconName:eo,text:t,ariaText:void 0,tooltip:(0,eZ.P)(e,t),hasChevron:!1}}case 649:{let t=(0,er.ZP)(ef.ZP.density_Button);return{iconName:Q.Z,text:t,ariaText:void 0,tooltip:(0,eZ.P)(e,t),hasChevron:!0}}case 654:{let t=(0,er.ZP)(ef.ZP.messages_Button);return{iconName:_.Z,text:t,ariaText:void 0,tooltip:(0,eZ.P)(e,t),hasChevron:!0}}case 690:{let t=(0,er.ZP)(ef.ZP.remindersWindow_Button);return{iconName:a.Z,text:t,ariaText:void 0,tooltip:(0,eZ.P)(e,t),hasChevron:!1}}case 546:return{iconName:P.Z,text:(0,er.ZP)(ef.ZP.paste_FlyoutButton),ariaText:void 0,tooltip:void 0,hasChevron:!0};case 569:return{iconName:"",text:(0,er.ZP)(eI.Z.showFrom),ariaText:void 0,tooltip:void 0,hasChevron:!1};case 528:return{iconName:V.Z,text:(0,er.ZP)(ef.ZP.formatPainter_Button),ariaText:void 0,tooltip:void 0,hasChevron:!1};case 564:{let t=(0,er.ZP)(ef.ZP.sensitivity_FlyoutButton);return{iconName:b.Z,text:t,ariaText:void 0,tooltip:(0,eZ.P)(e,t),hasChevron:!1}}case 565:{let t=(0,er.ZP)(eh.ZP.clpLabelDropDownLearnMoreButtonText);return{iconName:void 0,text:t,ariaText:void 0,tooltip:(0,eZ.P)(e,t),hasChevron:!1}}case 570:return{iconName:O.Z,text:(0,er.ZP)(eS.Z.showMessageOptions),ariaText:void 0,tooltip:void 0,hasChevron:!1};case 573:let o=t?.composeViewState,r=o&&"HTML"!=o.bodyType?el.ZP.switchToHTMLMenuItem:eb.Z.switchToPlainTextMenuItem;return{iconName:"",text:(0,er.ZP)(r),ariaText:void 0,tooltip:void 0,hasChevron:!1};case 510:return{iconName:s.Z,text:(0,er.ZP)(ei.Z.accCheckerMenuItemText),ariaText:void 0,tooltip:void 0,hasChevron:!1};case 525:{let t=(0,er.ZP)(ef.ZP.encrypt_FlyoutButton);return{iconName:R.Z,text:t,ariaText:void 0,tooltip:(0,eZ.P)(e,t),hasChevron:!0}}case 562:return{iconName:g.Z,text:(0,er.ZP)(ef.ZP.sendReceiveAllFolders_Button),ariaText:void 0,tooltip:void 0,hasChevron:!1};case 561:return{iconName:K.Z,text:(0,er.ZP)(ef.ZP.sendAll_Button),ariaText:void 0,tooltip:void 0,hasChevron:!1};case 582:return{iconName:x,text:(0,er.ZP)(ef.ZP.updateFolder_Button),ariaText:void 0,tooltip:void 0,hasChevron:!1};case 563:return{iconName:x,text:(0,er.ZP)(ef.ZP.sendReceiveGroups_Button),ariaText:void 0,tooltip:void 0,hasChevron:!1};case 575:return{iconName:y,text:(0,er.ZP)(ef.ZP.showSyncProgress_Button),ariaText:void 0,tooltip:void 0,hasChevron:!1};case 574:return{iconName:f.Z,text:(0,er.ZP)(ef.ZP.cancelSync_Button),ariaText:void 0,tooltip:void 0,hasChevron:!1};case 544:return{iconName:Z,text:(0,er.ZP)(ef.ZP.workOffline_Button),ariaText:void 0,tooltip:void 0,hasChevron:!1};case 521:return{iconName:E,text:(0,er.ZP)(ef.ZP.downloadHeaders_Button),ariaText:void 0,tooltip:void 0,hasChevron:!1};case 594:{let t=(0,er.ZP)(ec.Z.composeSendButton);return{iconName:K.Z,text:t,ariaText:void 0,tooltip:(0,eZ.P)(e,t),hasChevron:!1}}case 593:{let t=(0,er.ZP)(ed.Z.composeDiscardButton);return{iconName:T.Z,text:t,ariaText:void 0,tooltip:(0,eZ.P)(e,t),hasChevron:!1}}case 558:{let t=(0,er.ZP)(ef.ZP.ribbonCustomizer_Button);return{iconName:"",text:t,ariaText:void 0,tooltip:(0,eZ.P)(e,t),hasChevron:!1}}case 640:{let t=(0,er.ZP)(eu.Z.deleteItem);return{iconName:T.Z,text:t,ariaText:void 0,tooltip:(0,eZ.P)(e,t),hasChevron:!1}}case 641:{let t=(0,er.ZP)(ea.Z.changeNoteColorMenuText);return{iconName:M.Z,text:t,ariaText:void 0,tooltip:(0,eZ.P)(e,t),hasChevron:!0}}case 642:{let t=(0,er.ZP)(ey.viewEmailFromNoteLabel);return{iconName:_.Z,text:t,ariaText:void 0,tooltip:(0,eZ.P)(e,t),hasChevron:!1}}case 664:{let t=(0,er.ZP)(es.Z.commsCopilotName);return{iconName:d.Z,text:t,ariaText:void 0,tooltip:(0,eZ.P)(e,t),hasChevron:!1}}case 7022:{let t=(0,er.ZP)(ew.ZP.addApps);return{iconName:l.Z,text:t,ariaText:void 0,tooltip:(0,eZ.P)(e,t),hasChevron:!1}}case 687:{let n=t?.itemId,o=(0,eM.W)(n?.Id??""),r=o?(0,er.ZP)(ef.ZP.collapseConversation_Button):(0,er.ZP)(ef.ZP.expandConversation_Button);return{iconName:o?X:Y,text:r,ariaText:void 0,tooltip:(0,eZ.P)(e,r),hasChevron:!1}}case 688:{let t=(0,er.ZP)(ef.ZP.zoom_Button);return{iconName:$.Z,text:t,ariaText:void 0,tooltip:(0,eZ.P)(e,t),hasChevron:!1}}case 691:{let t=(0,er.ZP)(ef.ZP.ribbonMode_Button);return{iconName:ee,text:t,ariaText:void 0,tooltip:(0,eZ.P)(e,t),hasChevron:!1}}case 701:let h=(0,er.ZP)(ef.ZP.syncMailbox_Button);return{iconName:p.Z,text:h,ariaText:void 0,tooltip:(0,eZ.P)(e,h),hasChevron:!1};default:throw Error("The ribbon id "+e+" was not added to the switch case in getControlInfo.ts")}}},720260:(e,t,n)=>{n.d(t,{f:()=>a});var o=n(461053);let r={table_GroupBorders:"$gUGkc",report_GroupButton:"GP6Bfd",teamsChat_Group:"kM5KGe"};var i=n(27102);let a=new Map().set(101,o.ZP.addIns_GroupButton).set(192,o.ZP.spam_addin_GroupButton).set(102,o.ZP.clipboard_Group).set(104,o.ZP.delete_GroupButton).set(197,r.report_GroupButton).set(105,o.ZP.download_GroupButton).set(106,o.ZP.encrypt_Group).set(108,o.ZP.find_GroupButton).set(134,o.ZP.basicText_Group).set(135,o.ZP.paragraph_Group).set(110,o.ZP.immersiveReader_GroupButton).set(111,o.ZP.include_Group).set(113,o.ZP.move_GroupButton).set(114,o.ZP.moveAndDelete_GroupButton).set(116,o.ZP.new_GroupButton).set(144,o.ZP.notes_GroupNew).set(145,o.ZP.notes_GroupEdit).set(146,o.ZP.notes_GroupView).set(117,o.ZP.offline_GroupButton).set(118,o.ZP.print_GroupButton).set(121,o.ZP.respond_GroupButton).set(122,"").set(194,o.ZP.window_GroupButton).set(123,o.ZP.save_Group).set(124,o.ZP.send_GroupButton).set(125,o.ZP.sensitivity_Group).set(127,o.ZP.sync_GroupButton).set(128,o.ZP.tags_GroupButton).set(132,"").set(133,"").set(130,o.ZP.undo_GroupButton).set(154,o.ZP.viewLayout_Group).set(153,o.ZP.viewMessages_Group).set(152,o.ZP.viewSettings_Group).set(147,o.ZP.table_GroupStructure).set(148,o.ZP.table_GroupTableStyles).set(149,o.ZP.table_GroupMerge).set(150,o.ZP.table_GroupInsert).set(151,o.ZP.table_GroupAlignment).set(196,r.table_GroupBorders).set(167,o.ZP.tags_Group).set(168,o.ZP.actions_Group).set(165,o.ZP.addIns_GroupButton).set(166,o.ZP.findTime_GroupButton).set(161,o.ZP.insert_Group).set(162,o.ZP.options_Group).set(159,o.ZP.addIns_GroupButton).set(160,o.ZP.tags_GroupButton).set(158,o.ZP.include_Group).set(157,o.ZP.basicText_Group).set(163,o.ZP.clipboard_Group).set(169,o.ZP.loop_Group).set(180,o.ZP.draftWithCopilot_Group).set(170,o.ZP.save_Group).set(171,o.ZP.findTime_GroupButton).set(172,o.ZP.proofing_Group).set(173,o.ZP.loop_Group).set(174,o.ZP.format_Group).set(175,o.ZP.showField_Group).set(176,o.ZP.tracking_Group).set(120,o.ZP.quickSteps_Group).set(177,o.ZP.themes_Group).set(178,o.ZP.commsCopilot_Group).set(179,o.ZP.styling_Group).set(187,o.ZP.voice_Group).set(11001,i.ZP.help_Group_Groups).set(11002,i.ZP.tools_Group_Groups).set(181,o.ZP.draw_Undo_Group).set(182,o.ZP.draw_Selection_Group).set(183,o.ZP.draw_Tools_Group).set(184,o.ZP.draw_Touch_Group).set(185,o.ZP.draw_Insert_Group).set(188,o.ZP.pictureFormatting_Group).set(189,o.ZP.pictureText_Group).set(190,o.ZP.pictureSize_Group).set(191,o.ZP.pictureMisc_Group).set(193,o.ZP.zoom_Group).set(195,o.ZP.tracking_Group).set(198,r.teamsChat_Group)},460480:(e,t,n)=>{n.d(t,{T:()=>l});var o=n(222664),r=n(284063),i=n(75953),a=n(82935);let l=(0,i._)(function(e,t){let n=[];return(t||(0,o.Iq)(52,e)||n.push((0,r.m)(531,t).toString()),(0,o.Iq)(5,e)||n.push((0,r.m)(658,t).toString()),1===n.length)?n[0]:(0,a.kn)(n[0],n[1],2===n.length?null:n[2])})},703193:(e,t,n)=>{n.d(t,{H:()=>d});var o=n(797489),r=n(475418),i=n(122307),a=n(993832),l=n(75953);let s=[584,585,586,587,588,589,591,592],d=(0,l._)(function(e,t,n,l){let d="string"==typeof e?parseInt(e):e,c=!1;if(!t){let e=(0,o.MA)();e&&(c=e.type==o.AO.SecondaryReadingPane&&!(s.includes(d)||(0,a.Q)(d)&&(0,i.A)()))}let u=!1;return n&&(u=(0,r.Ev)(d,n)),c||u})},770425:(e,t,n)=>{n.d(t,{I:()=>y});var o=n(75953),r=n(137455),i=n(222664),a=n(91253),l=n(103491),s=n(478248),d=n(92935),c=n(732635),u=n(240282),m=n(116156),p=n(994572),f=n(185782),g=n(523643),v=n(908263),h=n(442606),I=n(590506),S=n(751971),b=n(937091),w=n(205451);let y=(e,t)=>{if(!t)return!1;let n=(0,g.r)(t);if(!n)return!0;if("number"==typeof e&&(0,h.f)(e))return!1;switch(e){case 505:return R(n);case 616:return D(n);case 509:return O(n);case 549:return N(n);case 547:return V(n);case 535:return B(n);case 657:return G(n);case 658:case 507:case 659:return L(n);case 553:case 696:case 698:return P(n)||(0,v.u)(n,[E]);case 527:case 699:case 700:return P(n);case 519:return A(n);case 678:case 679:case 681:case 680:case 556:case 557:case 555:case 651:return _(e,n);case 516:return U(n);case 686:if(!n.MailboxInfo)return!0;return(0,I.Z)(n,n.MailboxInfo);case 697:return(0,S.Z)(n);case 559:case 552:case 532:return!1;case 702:case 703:return!((0,b.Z)("mon-teams-ChatAroundEmail")&&(0,w.Z)(n.MailboxInfo));case 705:return!(0,b.Z)("mon-file-eml-msg");default:return!0}},P=(0,o._)(function(e){return e.MailboxInfo?.type=="GroupMailbox"}),C="drafts",E="junkemail",Z="notes",M="sentitems",T="scheduled",F="clutter",k=[d._r,d.Rg];function x(e,t){try{let n=t.ParentFolderId;if(!n)return!0;return(0,i.Aq)(e,n.Id,t.MailboxInfo)}catch(e){return!0}}let R=(0,o._)(function(e){return!!P(e)||e.MailboxInfo?.type!="UserMailbox"||(0,v.u)(e,[...k,"archive","deleteditems",C,E,Z])}),A=(0,o._)(function(e){if(P(e)){let t=(0,r.B)(e.MailboxInfo,e.MailboxInfo?.mailboxSmtpAddress);return!t?.canDeleteMessage}return!(e.ItemId?.Id&&e.ParentFolderId?.Id)||(0,v.u)(e,[Z])||!x(11,e)||(0,p.s)(e.MailboxInfo,e.ParentFolderId.Id,void 0,!0)||(0,f.FU)(e.ItemId.Id)}),D=(0,o._)(function(e){return!!P(e)||!(e.MailboxInfo?.type=="UserMailbox"||e.MailboxInfo?.type=="ArchiveMailbox"||e.MailboxInfo?.type=="SharedMailbox")||(0,v.u)(e,[...k,Z])}),N=(0,o._)(function(e){let t=(0,l.Z)(e);return!!t&&!t.PrintAllowed}),_=(0,o._)(function(e,t){let n=(0,a.Z)(t,!1);switch(e){case 678:return n[0]&&n[1]&&n[2];case 556:case 679:return n[0];case 557:case 681:return n[1];case 555:case 680:case 651:return n[2];default:return!0}}),O=(0,o._)(function(e){return!!(P(e)||!e.MailboxInfo||s.p(e.MailboxInfo).SessionSettings?.IsShadowMailbox||(0,v.u)(e,[...k,Z]))||!x(6,e)}),L=(0,o._)(function(e){return(0,v.u)(e,[...k,C,M,F,T,Z])}),V=(0,o._)(function(e){return!e.MailboxInfo||(0,v.u)(e,[C,M,F,T,Z,...k])||!(0,c.dy)(e.MailboxInfo)}),B=(0,o._)(function(e){return!(e.MailboxInfo&&(0,c.dy)(e.MailboxInfo))||(0,v.u)(e,[C,M,F,T,Z,...k])}),G=(0,o._)(function(e){return!e.MailboxInfo||((0,u.Z)(void 0,e.MailboxInfo)?B(e):V(e))}),U=(0,o._)(function(e){return!(0,m.Z)()||(0,v.u)(e,[M,C,Z,...k])})},137184:(e,t,n)=>{n.d(t,{B:()=>s});var o=n(75953),r=n(849471),i=n(770425),a=n(222664),l=n(284063);let s=(0,o._)((e,t,n,o)=>{if(t)return(0,i.I)(d(e),o);{let t=c(e),o=(0,r.E)(t,n);switch(o){case 81:case 84:return(0,a.BG)(o);default:return!(0,a.__)(o,n)}}}),d=(0,o._)(function(e){return"string"==typeof e?c((0,l.W)(e)):e});function c(e){return"string"==typeof e?parseInt(e):e}},523643:(e,t,n)=>{n.d(t,{r:()=>r});var o=n(645225);function r(e){if(e)return(0,o.b)().items.get(e.Id)}},284063:(e,t,n)=>{n.d(t,{W:()=>r,m:()=>o});let o=(e,t)=>t?`${e}_${t.Id}`:e,r=e=>"string"==typeof e?e.split("_")[0]:e},317379:(e,t,n)=>{n.d(t,{Y:()=>l});var o=n(787012),r=n(75953),i=n(122307),a=n(636006);let l=(0,r._)(function(e){return e?.mailboxInfo??(e?.composeViewState??i.I())?.mailboxInfo??(0,a.Q)()},{equals:o.comparer.shallow})},205937:(e,t,n)=>{n.d(t,{W:()=>eo});var o=n(313380),r=n(302140),i=n(440275),a=n(237325),l=n(914078),s=n(979305),d=n(520656),c=n(454558),u=n(803234),m=n(255385);let p=(0,u.M)("CopyArrowRightRegular",m.aKN);var f=n(517795),g=n(426824),v=n(121001),h=n(348662),I=n(279916),S=n(852239),b=n(874962);let w={junk:"sHjlvc"};var y=n(781506),P=n(535535);let C=(0,u.M)("MailCheckmarkRegular",P.Tkj);var E=n(386863);let Z=(0,u.M)("MailReadMultipleRegular",P.Ohg);var M=n(75548),T=n(847816),F=n(772914),k=n(339567),x=n(533500),R=n(959703),A=n(117046),D=n(788801),N=n(725657),_=n(648303),O=n(486488),L=n(660427),V=n(35337),B=n(786070),G=n(162055),U=n(366548),H=n(75953),W=n(712675),K=n(222664),z=n(317379),j=n(540439),Q=n(478248),$=n(613164),q=n(855567),X=n(61848),Y=n(226383),J=n(32848),ee=n(236086),et=n(523643),en=n(908263);function eo(e,t){let n=(0,z.Y)(t);switch(e){case 679:case 556:{let t=(0,r.ZP)(V.ZP.replyToEmail_Button);return{iconName:s.Z,text:t,ariaText:void 0,tooltip:(0,N.P)(e,t),hasChevron:!1}}case 519:{let i,a;t.isPopout?(i=(0,r.ZP)(g.Z.deleteItem),a=(0,N.P)(e,i)):(0,o.zm)()||(0,K.__)(12,n)?(i=(0,W.V)(),a=(0,N.P)(e,i,{description:(0,r.ZP)(B.ZP.deleteEmptyFolderButtonDesc)})):(i=(0,r.ZP)(g.Z.deleteItem),a=(0,N.P)(e,i));let l=(0,r.ZP)(L.ZP.delete_SplitButton);return{iconName:f.Z,text:i,ariaText:l,tooltip:a,hasChevron:!0}}case 505:{let t=(0,r.ZP)(V.ZP.archiveEmail_Button);return{iconName:i.Z,text:t,ariaText:void 0,tooltip:(0,N.P)(e,t),hasChevron:!1}}case 535:{let e,o;let i=t?.itemId,a=(0,et.r)(i),l=t.isPopout?!a||!(0,en.u)(a,["junkemail"]):(0,K.__)(23,n)||!(0,K.__)(53,n),s=l?(0,r.ZP)(A.Z.reportJunk):(0,r.ZP)(V.ZP.notJunk_Button);return l?(e=R.Z,(o=(0,N.P)(535,s))&&(o=(0,r.WU)(o,(0,r.ZP)(w.junk).toLowerCase()))):(e=C,o=(0,r.WU)(`${(0,r.ZP)(V.ZP.notJunk_Button)} ${(0,r.ZP)(B.ZP.junkButtonDesc)}`,(0,r.ZP)(T.Z.notJunk).toLowerCase())),{iconName:e,text:s,ariaText:void 0,tooltip:o,hasChevron:!1}}case 657:{let e=!!Q.p(n)?.SessionSettings?.IsShadowMailbox,t=(0,r.ZP)(V.ZP.report_Button),o=e?(0,N.P)(535,t):(0,N.P)(657,t);o&&(o=(0,r.WU)(o,(0,r.ZP)(w.junk).toLowerCase()));let i=(0,r.ZP)(L.ZP.report_SplitButton);return{iconName:O.Z,text:t,ariaText:i,tooltip:o,hasChevron:!0}}case 547:{let t=(0,r.ZP)(D.Z.reportPhishing),n=(0,N.P)(e,t);return{iconName:O.Z,text:t,ariaText:void 0,tooltip:n,hasChevron:!1}}case 507:{let t=(0,r.ZP)(V.ZP.blockSender_Button);return{iconName:k.Z,text:t,ariaText:void 0,tooltip:(0,N.P)(e,t),hasChevron:!1}}case 658:{let t=(0,r.ZP)(V.ZP.block_Button),n=(0,r.ZP)(L.ZP.block_SplitButton);return{iconName:k.Z,text:t,ariaText:n,tooltip:(0,N.P)(e,t),hasChevron:!0}}case 659:{let t=(0,r.ZP)(M.Z.neverBlockSender);return{iconName:F.Z,text:t,ariaText:void 0,tooltip:(0,N.P)(e,t),hasChevron:!1}}case 559:{let t=(0,r.ZP)(V.ZP.rules_FlyoutButton);return{iconName:S.Z,text:t,ariaText:void 0,tooltip:(0,N.P)(e,t),hasChevron:!0}}case 557:case 681:{let t=(0,r.ZP)(V.ZP.replyAllToEmail_Button);return{iconName:d.Z,text:t,ariaText:void 0,tooltip:(0,N.P)(e,t),hasChevron:!1}}case 678:{let e=(0,j.Z)(),t=(0,r.ZP)(L.ZP.respond_SplitButton);return{iconName:e?d.Z:s.Z,text:e?(0,r.ZP)(V.ZP.replyAllToEmail_Button):(0,r.ZP)(V.ZP.replyToEmail_Button),ariaText:t,tooltip:e?(0,N.P)(557,(0,r.ZP)(V.ZP.replyAllToEmail_Button)):(0,N.P)(556,(0,r.ZP)(V.ZP.replyToEmail_Button)),hasChevron:!0}}case 555:case 680:{let t=(0,r.ZP)(V.ZP.replyForwardEmail_Button),n=555===e,o=(0,r.ZP)(L.ZP.respondForward_SplitButton);return{iconName:l.Z,text:t,ariaText:n?o:void 0,tooltip:(0,N.P)(e,t),hasChevron:n}}case 651:{let t=(0,r.ZP)(V.ZP.replyForwardEmailAsAttachment_Button);return{iconName:y.Z,text:t,ariaText:t,tooltip:(0,N.P)(e,t),hasChevron:!1}}case 700:case 553:{let t=(0,r.ZP)(V.ZP.replyMeetingToEmail_Button),n=(0,N.P)(e,t);return{iconName:c.Z,text:t,ariaText:void 0,tooltip:n,hasChevron:!1}}case 699:case 698:{let e=(0,r.ZP)(V.ZP.replyCopilotMeetingToEmail_Button),t=`${(0,r.ZP)(V.ZP.replyCopilotMeetingToEmail_Button)} ${(0,r.ZP)(V.ZP.replyCopilotMeetingToEmail_Button_Tooltip)}`,n=(0,r.ZP)(L.ZP.replyCopilotMeetingToEmail_SplitButton);return{iconName:c.Z,text:e,ariaText:n,tooltip:t,hasChevron:!0}}case 696:{let e=(0,r.ZP)(V.ZP.replyCopilotMeetingToEmail_Button),t=`${(0,r.ZP)(V.ZP.replyCopilotMeetingToEmail_Button)} ${(0,r.ZP)(V.ZP.replyCopilotMeetingToEmail_Button_Tooltip)}`;return{iconName:c.Z,text:e,ariaText:void 0,tooltip:t,hasChevron:!1}}case 552:{let o,i,a;return!t.isPopout&&er(n)?(o=(0,r.ZP)(V.ZP.markAllAsRead_Button),i=Z,a=`${(0,r.ZP)(V.ZP.markAllAsRead_Button)} ${(0,r.ZP)(B.ZP.markAllAsReadDesc)}`):(o=(0,r.ZP)(V.ZP.readUnread_Button),i=E.Z,a=(0,N.P)(e,o)),{iconName:i,text:o,ariaText:void 0,tooltip:a,hasChevron:!1}}case 509:{let t=(0,r.ZP)(V.ZP.categorize_FlyoutButton);return{iconName:G.Z,text:t,ariaText:void 0,tooltip:(0,N.P)(e,t),hasChevron:!0}}case 516:{let t=(0,r.ZP)(V.ZP.createRule_Button);return{iconName:S.Z,text:t,ariaText:void 0,tooltip:(0,N.P)(e,t),hasChevron:!1}}case 537:{let t=(0,r.ZP)(V.ZP.manageRules_Button);return{iconName:_.Z,text:t,ariaText:void 0,tooltip:(0,N.P)(e,t),hasChevron:!1}}case 549:{let t=(0,r.ZP)(V.ZP.printMail_Button);return{iconName:x.Z,text:t,ariaText:void 0,tooltip:(0,N.P)(e,t),hasChevron:!1}}case 532:{let t=(0,r.ZP)(V.ZP.immersiveReader_Button);return{iconName:b.Z,text:t,ariaText:void 0,tooltip:(0,N.P)(e,t),hasChevron:!1}}case 616:{let t=(0,r.ZP)(V.ZP.assignPolicy_FlyoutButton),n=(0,q.q)()?(0,r.ZP)(V.ZP.assignPolicy_FlyoutButton_MLR):t;return{iconName:a.Z,text:n,ariaText:void 0,tooltip:(0,N.P)(e,t),hasChevron:!0}}case 539:{let t=(0,r.ZP)(V.ZP.moreRetentionPoliciesOptions_Button);return{iconName:void 0,text:t,ariaText:void 0,tooltip:(0,N.P)(e,t),hasChevron:!1}}case 604:{let t=(0,r.ZP)(V.ZP.flagClearFlag_Button);return{iconName:void 0,text:t,ariaText:void 0,tooltip:(0,N.P)(e,t),hasChevron:!1}}case 598:{let t=(0,r.ZP)(V.ZP.flagCompleteToday_Button);return{iconName:void 0,text:t,ariaText:void 0,tooltip:(0,N.P)(e,t),hasChevron:!1}}case 599:{let t=(0,r.ZP)(V.ZP.flagCompleteTomorrow_Button);return{iconName:void 0,text:t,ariaText:void 0,tooltip:(0,N.P)(e,t),hasChevron:!1}}case 600:{let t=(0,r.ZP)(V.ZP.flagCompleteThisWeek_Button);return{iconName:void 0,text:t,ariaText:void 0,tooltip:(0,N.P)(e,t),hasChevron:!1}}case 601:{let t=(0,r.ZP)(V.ZP.flagCompleteNextWeek_Button);return{iconName:void 0,text:t,ariaText:void 0,tooltip:(0,N.P)(e,t),hasChevron:!1}}case 602:{let t=(0,r.ZP)(V.ZP.flagCompleteNoDate_Button);return{iconName:void 0,text:t,ariaText:void 0,tooltip:(0,N.P)(e,t),hasChevron:!1}}case 603:{let t=(0,r.ZP)(V.ZP.flagMarkComplete_Button);return{iconName:void 0,text:t,ariaText:void 0,tooltip:(0,N.P)(e,t),hasChevron:!1}}case 704:{let t=(0,r.ZP)(V.ZP.flagCompleteCustom_Button);return{iconName:void 0,text:t,ariaText:void 0,tooltip:(0,N.P)(e,t),hasChevron:!1}}case 527:{let t=(0,r.ZP)(V.ZP.flagUnflag_Button),n=(0,r.ZP)(L.ZP.flagUnflag_SplitButton),o=(0,q.q)()?(0,r.ZP)(V.ZP.flagUnflag_Button_MLR):t;return{iconName:h.Z,text:o,ariaText:n,tooltip:(0,N.P)(e,t),hasChevron:!0}}case 540:{let t=(0,r.ZP)(V.ZP.move_FlyoutButton),n=(0,q.q)()?(0,r.ZP)(V.ZP.move_FlyoutButton_MLR):t;return{iconName:I.Z,text:n,ariaText:void 0,tooltip:(0,N.P)(e,t),hasChevron:!0}}case 686:{let t=(0,r.ZP)(v.Y);return{iconName:U.Z,text:t,ariaText:void 0,tooltip:(0,N.P)(e,t),hasChevron:!1}}case 688:{let t=(0,r.ZP)(V.ZP.zoom_Button);return{iconName:$.Z,text:t,ariaText:void 0,tooltip:(0,N.P)(e,t),hasChevron:!1}}case 697:{let t=(0,r.ZP)(Y.N);return{iconName:X.Z,text:t,ariaText:void 0,tooltip:(0,N.P)(e,t),hasChevron:!1}}case 702:{let t=(0,r.ZP)(ee.ZP.teams_ChatAroundEmailButton),n=(0,r.ZP)(ee.ZP.teams_ChatAroundEmailSplitButton);return{iconName:J.Z,text:t,ariaText:n,tooltip:(0,N.P)(e,t),hasChevron:!1}}case 703:{let t=(0,r.ZP)(ee.ZP.teams_ChatAroundEmailAllButton);return{iconName:J.Z,text:t,ariaText:t,tooltip:(0,N.P)(e,t),hasChevron:!1}}case 705:{let t=(0,r.ZP)(ee.ZP.copyToButton);return{iconName:p,text:t,ariaText:t,tooltip:(0,N.P)(e,t),hasChevron:!1}}default:throw Error("The ribbon id "+e+" was not added to the switch case in getSharedControlInfo.ts")}}let er=(0,H._)(function(e){return(0,K.__)(22,e)})},86650:(e,t,n)=>{n.d(t,{f:()=>o});let o=(0,n(75953)._)(function(e,t,n,o){let r=e.toString();return o?t?`${r}_${t}_popout`:n?`${r}_${n.Id}_popout`:`${r}_popout`:r})},993832:(e,t,n)=>{n.d(t,{Q:()=>s});var o=n(992571),r=n(787012);let i=new Set([624,7030]),a=(0,r.computed)(()=>{let e=(0,o.eo)().singleline,t=(0,o.eo)().multiline,n=[...e.insertTab.layout,...e.formatTab.layout,...e.messageTab.layout,...e.optionsTab.layout,...t.insertTab.layout,...t.formatTab.layout,...t.messageTab.layout,...t.optionsTab.layout,...t.drawTab.layout],r=new Set;for(let e of n)for(let t of e.controlIds)r.add(t);return r}),l=()=>a.get(),s=e=>l().has(e)||i.has(e)},908263:(e,t,n)=>{n.d(t,{u:()=>r});var o=n(341032);function r(e,t){let n=e.ParentFolderId;if(!n)return!0;let r=(0,o.Z)(n.Id);return t.includes(r)}},494994:(e,t,n)=>{n.d(t,{x:()=>a});var o=n(52924),r=n(240282),i=n(937091);let a=()=>!!(!(0,r.Z)()&&(0,i.Z)("tri-newYammerPostButton")&&o.Z()?.UserOptions?.HasYammerLicense)},247568:(e,t,n)=>{n.d(t,{t:()=>H});var o=n(52924),r=n(240282),i=n(478248),a=n(222664),l=n(929366),s=n(75953),d=n(849471),c=n(64906),u=n(317379),m=n(975775),p=n(385669),f=n(505376),g=n(59114),v=n(91623),h=n(333496),I=n(937091),S=n(648043),b=n(12260),w=n(442305),y=n(313899),P=n(732635),C=n(720062),E=n(298371),Z=n(15319),M=n(195737);let T={620:{sharepoint:!0},506:{sharepoint:!0},7015:{sharepoint:!0},7012:{sharepoint:!0},7011:{sharepoint:!0},7e3:{sharepoint:!0},529:{sharepoint:!0},7022:{sharepoint:!0},7016:{sharepoint:!0},7010:{sharepoint:!0},7021:{sharepoint:!0},7014:{sharepoint:!0},560:{sharepoint:!0},7013:{sharepoint:!0},7005:{sharepoint:!0},7006:{sharepoint:!0},6085:{sharepoint:!0},6079:{sharepoint:!0},6084:{sharepoint:!0},6083:{sharepoint:!0},6080:{sharepoint:!0}};var F=n(448183),k=n(14726),x=n(329005),R=n(523643),A=n(908263),D=n(122307),N=n(656133),_=n(742351),O=n(615927),L=n(328243),V=n(205451),B=n(438986),G=n(104704),U=n(797489);let H=(0,s._)(function(e,t,n,r){let l=(0,u.Y)(n);if((0,a.Iq)((0,d.E)(t,l),l)||function(e){let t=(0,M.HL)()||"default";return T[e]?.[t]}(t))return!1;let s=n.composeViewState?.bodyType==="HTML",v=!!n.composeViewState?.useContentModelEditor,h=function(e){if(!(0,I.Z)("mon-file-eml-msg"))return!1;let t=(0,G.Z)(e.projectionTabId);return t?.type===U.AO.SecondaryReadingPane?!!((0,I.Z)("mon-file-projection")&&t.data?.isFileActivation):(0,B.Z)()}(n);switch(e){case 1:switch(t){case 508:return!(0,I.Z)("grp-inboxExp-ribbon");case 663:return(0,I.Z)("grp-inboxExp-ribbon");case 529:return z(Y(l),1,l);case 7022:return j(l)&&!z(Y(l),1,l);case 7016:return(0,y.O)(l);case 550:return(0,I.Z)("tri-quickSteps");case 657:return!W(l)&&(0,P.dy)(l);case 556:case 557:case 555:case 651:return(0,m.M)();case 553:return(0,m.M)()&&!(0,g.c0)("ReplyByMeeting",l);case 698:case 699:case 700:return(0,m.M)()&&!!(0,g.c0)("ReplyByMeeting",l);case 678:return!(0,m.M)();case 664:return(0,I.Z)("comms-copilot-feature");case 683:case 684:return(0,a.__)(79,l);case 558:return!((0,I.Z)("mon-ribbon-customization-multiAccount")&&"GroupMailbox"===l.type);case 686:return(!(0,x.Z)((0,k.Z)())||(0,_.Z)())&&(0,a.__)(81,l);case 697:return(!(0,x.Z)((0,k.Z)())||(0,_.Z)())&&(0,a.__)(84,l);case 702:case 703:return(0,I.Z)("mon-teams-ChatAroundEmail")&&(0,V.Z)(l);case 706:return(0,I.Z)("mon-ribbon-myday-button");default:return!0}case 5:switch(t){case 620:return r||void 0!=n.attachmentPickers&&void 0!=n.composeViewState;case 529:return z(Y(l),5,l);case 7016:return(0,y.O)(l);case 7021:return Q(l);case 7e3:return $(l);case 7011:return K(Y(l));case 7026:return(0,I.Z)("cmp-fluid-videoLoopNpmCodeLoader")&&(0,S.UE)("MailCompose",l,S.NQ.VideoRecord);default:return!0}case 4:switch(t){case 6011:case 6012:return!(0,p.o2)();case 6075:return v;case 6110:return v&&(0,I.Z)("cmp-align-justify");default:return!0}case 3:switch(t){case 532:return(0,f.e)(E.m,l);case 558:return!((0,I.Z)("mon-ribbon-customization-multiAccount")&&"GroupMailbox"===l.type);case 687:return!(0,D.I)()&&(0,I.Z)("rp-subjectHeaderV3")&&(0,x.Z)((0,k.Z)());case 688:return(0,I.Z)("rp-subjectHeaderV3");case 701:return(0,I.Z)("mon-sync-mailbox");default:return!0}case 6:return!0;case 7:switch(t){case 6097:case 6098:case 6100:return(0,I.Z)("cmp-new-table-border-menus")&&v;default:return!0}case 8:switch(t){case 519:case 505:case 527:case 509:case 548:case 535:case 547:case 658:case 559:case 616:case 552:return!h;case 657:return!W(l)&&(0,P.dy)(l)&&!h;case 678:return!(0,m.M)();case 651:case 556:case 557:case 555:return(0,m.M)();case 553:return(0,m.M)()&&!(0,g.c0)("ReplyByMeeting",l);case 698:case 699:case 700:return(0,m.M)()&&!!(0,g.c0)("ReplyByMeeting",l);case 686:return(0,N.Z)(l)&&J(n)&&!h;case 688:return(0,I.Z)("rp-subjectHeaderV3");case 697:return J(n)&&!h;case 702:case 703:return(0,I.Z)("mon-teams-ChatAroundEmail")&&(0,V.Z)(l);case 705:return h;default:return!0}case 10:switch(t){case 529:return z(Y(l),10,l);case 7016:return(0,y.O)(l);case 7021:return Q(l);case 7023:return!!(0,g.TV)(l,"Any");case 7e3:return $(l);case 7011:return K(Y(l));case 564:return X(n);case 6012:return!(0,p.o2)();case 7010:return!Y(l);case 7003:return(0,c.BR)();case 6075:return v;case 7026:return(0,I.Z)("cmp-fluid-videoLoopNpmCodeLoader")&&(0,S.UE)("MailCompose",l,S.NQ.VideoRecord);case 7029:return(0,I.Z)("cmp-dictation")&&((0,p.yp)()||(0,p.nb)()||(0,p.o2)());default:return!0}case 11:switch(t){case 7012:return q(n);case 564:return X(n);case 7010:return!Y(l);case 7013:return function(e){let t=e.composeViewState;return!!t&&!!(0,o.Z)().AsyncSendEnabled&&!(0,b.Z)(t)&&!(0,C.Z)(t)&&!i.p(t.mailboxInfo).SessionSettings?.IsShadowMailbox}(n);case 7015:return function(e){let t=e.composeViewState;return!!t&&!i.p(t.mailboxInfo).SessionSettings?.IsShadowMailbox}(n);case 7031:return(0,I.Z)("cmp-disallow-reactions");default:return!0}case 12:if(12012===t)return(0,F.n)()&&s;return!0;case 13:switch(t){case 6079:case 6080:case 6084:return v;default:return!0}default:throw Error("getShouldShowControlsRules.ts: Unknown tab id: "+e)}});function W(e){return(0,I.Z)("addin-enableIntegratedSpam")&&(0,L.f)(e)}function K(e){return(0,I.Z)("cal-native-findtime")&&!e}function z(e,t,n){let o=!e&&(0,f.e)(Z.L,n)&&(0,f.e)(l.b,n)&&!((0,w.D)(n)||(0,O.Z)());return 1===t||10===t||5===t?o&&!j(n):o}function j(e){return(0,w.D)(e)&&(0,I.Z)("mos-inContextStore",e)}function Q(e){return(0,I.Z)("cmp-fluid-chapterThree")&&(0,S.UE)("MailCompose",e,S.NQ.Poll)}function $(e){return(0,S.UE)("MailCompose",e,S.NQ.Fluid)}let q=(0,s._)(function(e){let t=(0,u.Y)(e),{RmsV2UIEnabled:n}=(0,o.Z)();return!!(n&&(0,v.Z)(t)&&function(e,t){let{rmsTemplates:n,messageClassifications:o}=(0,h.b)(e);return n.size>0||o.size>0}(t))}),X=(0,s._)(function(e){return!(0,r.Z)(void 0,(0,u.Y)(e))});function Y(e){return(0,r.Z)(void 0,e)}function J(e){let t=e.itemId,n=(0,R.r)(t);return!!n&&(0,A.u)(n,["sentitems"])&&n.ItemClass?.indexOf("IPM.Schedule.Meeting")==-1}},566224:(e,t,n)=>{n.d(t,{X:()=>c});var o=n(75953),r=n(206339),i=n(317379),a=n(505376),l=n(15319),s=n(536504),d=n(205451);let c=(0,o._)(function(e,t,n){if(122===t)return!n?.composeViewState;let o=(0,i.Y)(n);if(1==e)switch(t){case 101:return(0,a.e)(l.L,o);case 120:return(0,r.cr)("tri-quickSteps")&&"GroupMailbox"!=o.type;case 178:return(0,r.cr)("comms-copilot-feature");case 192:return(0,r.cr)("addin-enableIntegratedSpam");case 198:return(0,r.cr)("mon-teams-ChatAroundEmail")&&(0,d.Z)(o)}else if(10==e);else if(3==e){if(194===t)return(0,s.EC)()}else if(5==e);else if(8==e)switch(t){case 193:return(0,r.cr)("rp-subjectHeaderV3");case 198:return(0,r.cr)("mon-teams-ChatAroundEmail")&&(0,d.Z)(o)}return!0})},960347:(e,t,n)=>{n.d(t,{Z:()=>g});var o=n(75953),r=n(82935),i=n(619776);let a=(0,o._)(function(e,t){let n=t.composeViewState?.editorId;if(196===e)return[(0,r.NS)((0,r.eA)((0,r.kn)((0,i.V)(6098,n).toString(),(0,i.V)(6097,n).toString()),(0,i.V)(6100,n).toString()))]}),l=(0,o._)(function(e,t){});var s=n(164280);let d=(0,o._)(function(e){return(0,s.Z)(e,7,[],a,l)}),c=(0,o._)(function(e,t){}),u=(0,o._)(function(e,t){}),m=(0,o._)(function(e){return(0,s.Z)(e,13,[],u,c)});var p=n(992571),f=n(636283);let g=(0,o._)(function(e){let t=[];return(0,p.eo)(e.mailboxInfo).contextualTabs.forEach(n=>{switch(n){case 7:t.push(d(e));break;case 13:t.push(m(e));break;default:(0,f.rx)("Unknown tab: "+n+" searched for in getContextualMlrTabsDefinition")}}),t})},989717:(e,t,n)=>{n.d(t,{Z:()=>u});var o=n(75953),r=n(164280);let i=(0,o._)(function(e,t){});var a=n(619776),l=n(82935),s=n(448183);let d=(0,o._)(function(e,t){let n=t.composeViewState?.editorId,o=t.composeViewState?.bodyType==="HTML";return 183===e?[(0,l.NS)((0,l.eA)((0,a.V)(12005,n).toString(),...(0,s.n)()&&o?[(0,a.V)(12012,n).toString()]:[],(0,a.V)(12006,n).toString(),(0,a.V)(12007,n).toString(),(0,a.V)(12008,n).toString(),(0,a.V)(12009,n).toString()))]:void 0}),c=[12005,12012,12006,12007,12008,12009],u=(0,o._)(function(e){return(0,r.Z)(e,12,c,d,i)})},20512:(e,t,n)=>{n.d(t,{Z:()=>h});var o=n(75953),r=n(164280),i=n(333282),a=n(34965),l=n(839126),s=n(461053),d=n(561572),c=n(619776),u=n(302140);let m={sections:[]},p=(0,o._)(function(e,t){let n=(0,c.V)(e,t.composeViewState?.editorId).toString();switch(e){case 102:return(0,d.UA)(n,(0,u.ZP)(s.ZP.clipboard_Group),void 0,t,m,void 0,a.Z);case 134:return(0,d.UA)(n,(0,u.ZP)(s.ZP.basicText_Group),void 0,t,m,void 0,l.Z);case 135:return(0,d.UA)(n,(0,u.ZP)(s.ZP.paragraph_Group),void 0,t,m,void 0,i.Z);default:return}});var f=n(82935);let g=(0,o._)(function(e,t){let n=t.composeViewState?.editorId;switch(e){case 102:return[(0,f.NS)((0,f.eA)((0,c.V)(6013,n).toString(),(0,c.V)(6011,n).toString(),(0,f.kn)((0,c.V)(6009,n).toString(),(0,c.V)(6010,n).toString(),(0,c.V)(6029,n).toString())))];case 134:return[(0,f.NS)((0,f.up)([(0,c.V)(6027,n).toString(),(0,c.V)(6028,n).toString(),(0,c.V)(6024,n).toString(),(0,c.V)(6030,n).toString()],[(0,c.V)(6001,n).toString(),(0,c.V)(6002,n).toString(),(0,c.V)(6003,n).toString(),(0,c.V)(6004,n).toString(),(0,c.V)(6022,n).toString(),(0,c.V)(6023,n).toString(),(0,c.V)(6026,n).toString(),(0,c.V)(6025,n).toString(),(0,c.V)(6073,n).toString()])),(0,f.NS)((0,f.up)([(0,c.V)(6027,n).toString(),(0,c.V)(6028,n).toString()],[(0,c.V)(6001,n).toString(),(0,c.V)(6002,n).toString(),(0,c.V)(6003,n).toString(),(0,c.V)(6004,n).toString(),(0,c.V)(6022,n).toString(),(0,c.V)(6023,n).toString(),(0,c.V)(6030,n).toString()],[(0,c.V)(6026,n).toString(),(0,c.V)(6025,n).toString(),(0,c.V)(6024,n).toString(),(0,c.V)(6073,n).toString()]))];case 135:return[(0,f.NS)((0,f.up)([(0,c.V)(6005,n).toString(),(0,c.V)(6006,n).toString(),(0,c.V)(6008,n).toString(),(0,c.V)(6007,n).toString(),(0,c.V)(6017,n).toString(),(0,c.V)(6018,n).toString()],[(0,c.V)(6019,n).toString(),(0,c.V)(6110,n).toString(),(0,c.V)(6075,n).toString(),(0,c.V)(6020,n).toString(),(0,c.V)(6021,n).toString(),(0,c.V)(6016,n).toString()]))];default:return}}),v=[6001,6002,6003,6004,6005,6006,6007,6008,6017,6018,6019,6110,6022,6023,6030,6027,6028,6024,6025,6026,6073,6075,6020,6021,6016],h=(0,o._)(function(e){return(0,r.Z)(e,4,v,g,p)})},749881:(e,t,n)=>{n.d(t,{w:()=>m});var o=n(348662),r=n(279916),i=n(461053),a=n(499082),l=n(75953),s=n(798571),d=n(561572),c=n(302140);let u={sections:[]},m=(0,l._)(function(e,t){switch(e){case 108:return(0,d.UA)(e,(0,c.ZP)(i.ZP.find_GroupButton),void 0,t,u,(0,s.Fl)([1],108),a.Z);case 113:return(0,d.UA)(e,(0,c.ZP)(i.ZP.move_GroupButton),void 0,t,u,(0,s.Fl)([1],113),r.Z);case 128:return(0,d.UA)(e,(0,c.ZP)(i.ZP.tags_GroupButton),void 0,t,u,(0,s.Fl)([1],128),o.Z);default:return}})},831071:(e,t,n)=>{n.d(t,{Z:()=>s});var o=n(75953),r=n(164280);let i=(0,o._)(function(e,t){}),a=(0,o._)(function(e,t){}),l=[],s=(0,o._)(function(e){return(0,r.Z)(e,5,l,a,i)})},276505:(e,t,n)=>{n.d(t,{Z:()=>E});var o=n(75953),r=n(164280),i=n(586890),a=n(449875),l=n(205238),s=n(34965),d=n(839126),c=n(461053),u=n(441587),m=n(345301),p=n(621001);let f=(0,n(293005).yP)({IconComponent:e=>m.createElement("svg",{...e,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},m.createElement("path",{d:"M8 2C4.68629 2 2 4.68629 2 8V14H8C11.3137 14 14 11.3137 14 8C14 4.68629 11.3137 2 8 2ZM8 5.9C9.1598 5.9 10.1 6.8402 10.1 8C10.1 9.1598 9.1598 10.1 8 10.1H5.9V8C5.9 6.8402 6.8402 5.9 8 5.9Z",fill:"url(#paint0_linear_1_56)"}),m.createElement("path",{d:"M14 8C14 11.3137 11.3137 14 8 14H2C2 11.8461 3.74609 10.1 5.9 10.1H8C9.1598 10.1 10.1 9.1598 10.1 8L14 8Z",fill:"url(#paint1_linear_1_56)"}),m.createElement("path",{d:"M14 8C14 11.3137 11.3137 14 8 14H2C2 11.8461 3.74609 10.1 5.9 10.1H8C9.1598 10.1 10.1 9.1598 10.1 8L14 8Z",fill:"url(#paint2_radial_1_56)","fill-opacity":"0.56"}),m.createElement("path",{d:"M14 8C14 11.3137 11.3137 14 8 14H2C2 11.8461 3.74609 10.1 5.9 10.1H8C9.1598 10.1 10.1 9.1598 10.1 8L14 8Z",fill:"url(#paint3_radial_1_56)","fill-opacity":"0.1"}),m.createElement("path",{d:"M8 2C4.68629 2 2 4.68629 2 8V14C2.00055 14 2.0011 14 2.00165 14C4.15048 13.9991 5.893 12.2604 5.89998 10.1129L5.91297 10.1H5.9V8C5.9 6.8402 6.8402 5.9 8 5.9C8.58583 5.9 9.11564 6.13989 9.49655 6.52679L12.2583 3.77305C11.1713 2.67805 9.66482 2 8 2Z",fill:"url(#paint4_linear_1_56)"}),m.createElement("path",{d:"M8 2C4.68629 2 2 4.68629 2 8V14C2.00055 14 2.0011 14 2.00165 14C4.15048 13.9991 5.893 12.2604 5.89998 10.1129L5.91297 10.1H5.9V8C5.9 6.8402 6.8402 5.9 8 5.9C8.58583 5.9 9.11564 6.13989 9.49655 6.52679L12.2583 3.77305C11.1713 2.67805 9.66482 2 8 2Z",fill:"url(#paint5_radial_1_56)"}),m.createElement("defs",null,m.createElement("linearGradient",{id:"paint0_linear_1_56",x1:"9.32",y1:"6.26",x2:"7.34",y2:"14.36",gradientUnits:"userSpaceOnUse"},m.createElement("stop",{"stop-color":"#9237E3"}),m.createElement("stop",{offset:"1","stop-color":"#48E6F3"})),m.createElement("linearGradient",{id:"paint1_linear_1_56",x1:"5.9",y1:"13.1",x2:"11.18",y2:"11.9",gradientUnits:"userSpaceOnUse"},m.createElement("stop",{"stop-color":"#51E6FF"}),m.createElement("stop",{offset:"1","stop-color":"#71D4FF","stop-opacity":"0"})),m.createElement("radialGradient",{id:"paint2_radial_1_56",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(4.1 11.45) rotate(34.5085) scale(2.91247 5.11874)"},m.createElement("stop",null),m.createElement("stop",{offset:"0.699824","stop-opacity":"0"})),m.createElement("radialGradient",{id:"paint3_radial_1_56",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(3.38 11) rotate(31.866) scale(5.22793 9.1882)"},m.createElement("stop",{offset:"0.328125"}),m.createElement("stop",{offset:"0.604167","stop-opacity":"0"})),m.createElement("linearGradient",{id:"paint4_linear_1_56",x1:"4.46",y1:"8.42",x2:"7.52",y2:"4.1",gradientUnits:"userSpaceOnUse"},m.createElement("stop",{"stop-color":"#6D05E8"}),m.createElement("stop",{offset:"1","stop-color":"#AB5ADD","stop-opacity":"0"})),m.createElement("radialGradient",{id:"paint5_radial_1_56",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(0.98 5.72) rotate(-9.73945) scale(8.15757 21.4474)"},m.createElement("stop",{"stop-color":"#6D05E8"}),m.createElement("stop",{offset:"1","stop-color":"#6D05E8","stop-opacity":"0"})))),displayName:"IcFluentLoopColor"});(0,p.fm)({icons:{IcFluentLoopColor:m.createElement(f,null)}});var g=n(71700),v=n(268419),h=n(561572),I=n(619776),S=n(302140);let b={sections:[]},w=(0,o._)(function(e,t){let n=(0,I.V)(e,t.composeViewState?.editorId).toString();switch(e){case 163:return(0,h.UA)(n,(0,S.ZP)(c.ZP.clipboard_Group),(0,S.ZP)(c.ZP.clipboard_Group),t,b,void 0,s.Z);case 157:return(0,h.UA)(n,(0,S.ZP)(c.ZP.basicText_Group),(0,S.ZP)(c.ZP.basicText_Group),t,b,void 0,d.Z);case 174:return(0,h.UA)(n,(0,S.ZP)(c.ZP.format_Group),(0,S.ZP)(c.ZP.format_Group),t,b,void 0,d.Z);case 161:return(0,h.UA)(n,(0,S.ZP)(c.ZP.insert_Group),(0,S.ZP)(c.ZP.insert_Group),t,b,void 0,a.Z);case 159:return(0,h.UA)(n,(0,S.ZP)(c.ZP.addIns_GroupButton),(0,S.ZP)(c.ZP.addIns_GroupButton),t,b,void 0,i.Z);case 173:return(0,h.UA)(n,(0,S.ZP)(c.ZP.loop_Group),(0,S.ZP)(c.ZP.loop_Group),t,b,void 0,"IcFluentLoopColor");case 160:return(0,h.UA)(n,(0,S.ZP)(c.ZP.tags_Group),(0,S.ZP)(c.ZP.tags_Group),t,b,void 0,u.Z);case 170:return(0,h.UA)(n,(0,S.ZP)(c.ZP.save_Group),(0,S.ZP)(c.ZP.save_Group),t,b,void 0,v.Z);case 171:return(0,h.UA)(n,(0,S.ZP)(c.ZP.findTime_GroupButton),(0,S.ZP)(c.ZP.findTime_GroupButton),t,b,void 0,l.Z);case 162:return(0,h.UA)(n,(0,S.ZP)(c.ZP.options_Group),(0,S.ZP)(c.ZP.options_Group),t,b,void 0,g.Z);default:return}});var y=n(82935);let P=(0,o._)((e,t)=>{let n=t.composeViewState?.editorId;switch(e){case 163:return[(0,y.NS)((0,y.eA)((0,I.V)(6012,n).toString(),(0,y.kn)((0,I.V)(6013,n).toString(),(0,I.V)(6029,n).toString(),null)))];case 157:return[(0,y.NS)((0,y.up)([(0,I.V)(6027,n).toString(),(0,I.V)(6028,n).toString(),(0,I.V)(6005,n).toString(),(0,I.V)(6006,n).toString(),(0,I.V)(6024,n).toString(),(0,I.V)(6030,n).toString(),(0,I.V)(6016,n).toString()],[(0,I.V)(6001,n).toString(),(0,I.V)(6002,n).toString(),(0,I.V)(6003,n).toString(),(0,I.V)(6004,n).toString(),(0,I.V)(6026,n).toString(),(0,I.V)(6025,n).toString(),(0,I.V)(6008,n).toString(),(0,I.V)(6007,n).toString(),(0,I.V)(6071,n).toString(),(0,I.V)(6075,n).toString(),(0,I.V)(6020,n).toString(),(0,I.V)(6021,n).toString(),(0,I.V)(6022,n).toString(),(0,I.V)(6023,n).toString()]))];case 174:return[(0,y.NS)((0,y.eA)((0,I.V)(7002,n).toString()))];case 161:return[(0,y.NS)((0,y.eA)((0,I.V)(620,n).toString()),(0,y.eA)((0,I.V)(7025,n).toString()),(0,y.eA)((0,I.V)(506,n).toString()),(0,y.eA)((0,I.V)(7026,n).toString()),(0,y.eA)((0,y.kn)((0,I.V)(638,n).toString(),(0,I.V)(639,n).toString(),(0,I.V)(637,n).toString())))];case 187:return[(0,y.NS)((0,y.eA)((0,I.V)(7029,n).toString()))];case 173:return[(0,y.NS)((0,y.eA)((0,I.V)(7e3,n).toString()))];case 160:return[(0,y.NS)((0,y.eA)((0,I.V)(7005,n).toString(),(0,I.V)(7006,n).toString(),(0,I.V)(564,n).toString()))];case 170:return[(0,y.NS)((0,y.eA)((0,I.V)(560,n).toString()))];case 171:return[(0,y.NS)((0,y.eA)((0,I.V)(7011,n).toString()))];case 162:return[(0,y.NS)((0,y.eA)((0,I.V)(7001,n).toString(),(0,I.V)(7004,n).toString(),(0,I.V)(6072,n).toString(),(0,I.V)(7010,n).toString()))];default:return}}),C=[6001,6002,6003,6004,6005,6006,6007,6008,6071,6020,6021,6016,6022,6023,6030,6027,6028,6024,6025,6026,6013,6029,6075],E=(0,o._)(function(e){return(0,r.Z)(e,10,C,P,w)})},424988:(e,t,n)=>{n.d(t,{Z:()=>w});var o=n(75953),r=n(164280),i=n(874195),a=n(461053),l=n(441587),s=n(71700),d=n(268419),c=n(859817),u=n(316002),m=n(798571),p=n(561572),f=n(619776),g=n(302140);let v={sections:[]},h=(0,o._)(function(e,t){let n=(0,f.V)(e,t.composeViewState?.editorId).toString();switch(e){case 172:return(0,p.UA)(n,(0,g.ZP)(a.ZP.proofing_Group),void 0,t,v,(0,m.Fl)([11],172),i.Z);case 124:return(0,p.UA)(n,(0,g.ZP)(a.ZP.proofing_Group),void 0,t,v,(0,m.Fl)([11],124),c.Z);case 175:return(0,p.UA)(n,(0,g.ZP)(a.ZP.showField_Group),void 0,t,v,(0,m.Fl)([11],175),void 0);case 176:return(0,p.UA)(n,(0,g.ZP)(a.ZP.tracking_Group),void 0,t,v,(0,m.Fl)([11],176),void 0);case 167:return(0,p.UA)(n,(0,g.ZP)(a.ZP.tags_Group),void 0,t,v,(0,m.Fl)([11],167),l.Z);case 174:return(0,p.UA)(n,(0,g.ZP)(a.ZP.format_Group),void 0,t,v,(0,m.Fl)([11],174),u.Z);case 123:return(0,p.UA)(n,(0,g.ZP)(a.ZP.save_Group),void 0,t,v,(0,m.Fl)([11],123),d.Z);case 162:return(0,p.UA)(n,(0,g.ZP)(a.ZP.options_Group),void 0,t,v,(0,m.Fl)([11],162),s.Z);default:return}});var I=n(82935);let S=(0,o._)(function(e,t){let n=t.composeViewState?.editorId;switch(e){case 172:return[(0,I.NS)((0,I.eA)((0,f.V)(7001,n).toString(),(0,f.V)(7004,n).toString()))];case 124:return[(0,I.NS)((0,I.eA)((0,f.V)(7013,n).toString()))];case 175:return[(0,I.NS)((0,I.eA)((0,I.kn)((0,f.V)(7020,n).toString(),(0,f.V)(7019,n).toString(),(0,f.V)(7009,n).toString())))];case 176:return[(0,I.NS)((0,I.eA)((0,I.kn)((0,f.V)(7015,n).toString(),(0,f.V)(7014,n).toString(),(0,f.V)(7031,n).toString())))];case 167:return[(0,I.NS)((0,I.eA)((0,f.V)(7005,n).toString(),(0,f.V)(7006,n).toString(),(0,f.V)(564,n).toString(),(0,f.V)(7012,n).toString()))];case 174:return[(0,I.NS)((0,I.eA)((0,f.V)(7002,n).toString()))];case 123:return[(0,I.NS)((0,I.eA)((0,f.V)(560,n).toString()))];case 162:return[(0,I.NS)((0,I.eA)((0,f.V)(6072,n).toString(),(0,f.V)(7010,n).toString()))];default:return}}),b=[],w=(0,o._)(function(e){return(0,r.Z)(e,11,b,S,h)})},616196:(e,t,n)=>{n.d(t,{Z:()=>d});var o=n(75953),r=n(215230);let i=(0,o._)(function(e){return(0,r.Z)(e,13,[],[],[],[])}),a=(0,o._)(function(e){return(0,r.Z)(e,7,[6098],[],[],[6054,6057,6058,6059,6060,6061,6045,6043,6044,6050,6051,6052,6053,6055,6056,6049])});var l=n(992571),s=n(636283);let d=(0,o._)(function(e){let t=[];return(0,l.eo)(e.mailboxInfo).contextualTabs.forEach(n=>{switch(n){case 7:t.push(a(e));break;case 13:t.push(i(e));break;default:(0,s.rx)("Unknown tab: "+n+" searched for in getContextualSlrTabsDefinition")}}),t})},133244:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(75953),r=n(215230);let i=(0,o._)(function(e){return(0,r.Z)(e,12,[12010,12011],[12005,12012,12006,12007,12008,12009,12011],[],[12001,12002,12003,12004,12005,12012,12006,12007,12008,12009])})},147862:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(75953),r=n(215230);let i=(0,o._)(function(e){return(0,r.Z)(e,4,[],[],[],[6001,6002,6003,6004,6005,6006,6007,6008,6013,6017,6018,6019,6110,6022,6023,6020,6021,6016,6024,6025,6026,6027,6028,6029,6030,6012,6073,6075])})},183188:(e,t,n)=>{let o,r;n.d(t,{Z:()=>s});var i=n(75953),a=n(215230),l=n(188630);let s=(0,i._)(function(e){return o&&r&&r===e||(o=(0,l.lr)().getControlsProps(e).map(({controlId:e})=>e),r=e),(0,a.Z)(e,5,[],[],[],[...o])})},818547:(e,t,n)=>{let o,r;n.d(t,{Z:()=>s});var i=n(75953),a=n(215230),l=n(188630);let s=(0,i._)(e=>(o&&r&&r===e||(o=(0,l.lr)().getControlsProps(e).map(({controlId:e})=>e),r=e),(0,a.Z)(e,10,[],[6027,6028],[6023,6022,6024,6016,6021,6020,6071,6007,6008,6006,6005,6030,6025,6026],[6001,6002,6003,6004,6005,6006,6007,6008,6013,6071,6017,6018,6019,6110,6022,6023,6020,6021,6016,6024,6025,6026,6027,6028,6029,6030,6012,6075,620,7025,506,529,7029,7016,7e3,7021,7023,7027,7028,7005,7006,564,560,7003,6073,7026,...o])))},116768:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(75953),r=n(215230);let i=(0,o._)(function(e){return(0,r.Z)(e,11,[],[],[],[])})},208811:(e,t,n)=>{n.d(t,{d:()=>rp});var o=n(636283),r=n(475418),i=n(703193),a=n(822537),l=n(369821),s=n(75953),d=n(798571),c=n(619776),u=n(799853),m=n(300930),p=n(82823),f=n(302140),g=n(725046),v=n(591914),h=n(420010);let I=(e,t)=>{let n=t(e);if(n){let{editorViewState:e,targetWindow:t,accChecker:o}=n;o.isOpen?m.go.import().then(e=>e(o,t)):m.IY.import().then(n=>n(o,e,t))}},S=(0,s._)((e,t,n,o,r,i)=>(0,d.lC)((0,c.V)(7004,e),(0,f.ZP)(g.je),(0,h.W)(7004,I,t,n),r?(0,d.Fl)([r],7004):void 0,p.Z,void 0,o,{customTooltip:(0,u.P)(g.je,v.zl),disabled:i}));var b=n(690171),w=n(803234),y=n(342217);let P=(0,w.M)("PictureInPictureRegular",y.bmP);var C=n(715381);let E=(0,s._)((e,t,n,o,r,i,a)=>(0,d.lC)((0,c.V)(638,e??(0,C.u)()),i?(0,f.ZP)(i):(0,f.ZP)(g.o),t,r?(0,d.Fl)([r],638):void 0,a??P,void 0,n,{customTooltip:(0,u.P)(g.o,v.kJ),disabled:o}));var Z=n(737130),M=n(786210),T=n(333282),F=n(474434),k=n(201663),x=n(686157),R=n(158130);let A=(0,s._)((e,t,n,o,r,i)=>{let a=(0,f.ZP)(M.hi),l="alignMenuDefinitionStore";return(0,d.c9)((0,c.V)(6071,e),a,(0,k.O)(e,l),n?(0,d.Fl)([n],6071,!0):void 0,T.Z,void 0,t,{disabled:o,customTooltip:a,onExecute:()=>{(0,F.Ds)(e,t,n,o,r,i)},onAfterMenuDismiss:()=>{(0,x.SN)(e,l),(0,R.G)(e,"focus")}})});var D=n(870785),N=n(449875),_=n(989542),O=n(17758),L=n(402392);let V=new L.nI(()=>Promise.all([n.e(800461),n.e(713255),n.e(588798),n.e(498552)]).then(n.bind(n,1419))),B=new L.EF(V,e=>e.getAttachFileSections),G=new L.EF(V,e=>e.getAttachFileActions);var U=n(92355);let H=(0,s._)((e,t,n,o,r,i,a)=>{let l=e.composeId,s=U.kg.tryImportForRender()?.(!0,l),m={sections:B.tryImportForRender()?.(e,t,n,o,s)??[]};return(0,d.c9)((0,c.V)(620,e.editorId),(0,f.ZP)(_.G4),m,(0,d.Fl)(o?[o]:[],620,!0),N.Z,i,a,{onExecute:()=>{G.import().then(e=>{let n=t(l);if(n){let{composeViewState:o}=n;e(o,t,s).onMenuOpened()}})},onAfterMenuDismiss:()=>{G.import().then(e=>{let n=t(l);if(n){let{composeViewState:o}=n;e(o,t,s).onMenuDismissed()}}),(0,R.G)(e.editorId,"focus")},customTooltip:(0,u.P)(_.G4,O.Sd),delayUpdateFocusOnHover:!0,disabled:r})});var W=n(740729);let K=(0,w.M)("DocumentSignatureRegular",W.DQJ);var z=n(643239),j=n(369272),Q=n(688290);let $=(0,s._)((e,t,n,o,r,i)=>{let a=t.composeId,l="signatureMenuDefinitionStore";return(0,d.c9)((0,c.V)(506,t.editorId),(0,f.ZP)(_.$p),(0,k.O)(e,l),(0,d.Fl)(o?[o]:[],506,!0),K,void 0,r,{customTooltip:(0,u.P)(_.$p,O.K8),disabled:i,onExecute:()=>{let t=n(a);if(t){var r;r=t.composeViewState,z.LP.import().then(t=>{(0,x.Rl)(e,"signatureMenuDefinitionStore",()=>({sections:t(r,n,o)}))})}},onAfterMenuDismiss:()=>{(0,x.SN)(e,l),(0,R.G)(e,"focus")}})});var q=n(191488);let X=(0,w.M)("AutocorrectRegular",q.PJK);var Y=n(390636),J=n(951402);let ee=(0,s._)((e,t,n,o,r,i)=>{let a=(0,f.ZP)(M.Fv);return(0,d.lC)((0,c.V)(6072,e),a,()=>{let e=n(t);if(e){let{editorViewState:t,targetWindow:n}=e;Y.M.importAndExecute(t,n,"ribbon")}},r?(0,d.Fl)([r],6072):void 0,X,void 0,o,{disabled:i,customTooltip:(0,u.P)(M.Fv,J.At)})});var et=n(820304),en=n(257094),eo=n(345301),er=n(621001),ei=n(788487),ea=n(150064);(0,er.fm)({icons:{BulletsIcon:eo.createElement("span",{className:(0,ea.Z)(ei.fr,ei.NU)})}});var el=n(461373);let es=(0,s._)((e,t,n,o,r,i)=>(0,d.is)((0,c.V)(6005,e),(0,f.ZP)(M.Ni),(0,h.W)(6005,en.rY,e,i),!!t.isBullet,o?(0,d.Fl)([o],6005):void 0,"BulletsIcon",void 0,n,{disabled:r,customTooltip:(0,u.P)(M.Ni,void 0,(0,el.T)(6005))}));var ed=n(710906),ec=n(407663);let eu=(0,w.M)("TextChangeCaseRegular",ec.KEU),em=(0,s._)((e,t,n,o,r,i)=>{let a=(0,f.ZP)(M.Wq),l="changeCaseMenuDefinitionStore";return(0,d.c9)((0,c.V)(6024,e),a,(0,k.O)(e,l),o?(0,d.Fl)([o],6024,!0):void 0,eu,void 0,t,{disabled:r,customTooltip:a,onExecute:()=>{(0,F.dV)(e,o,n,i)},onAfterMenuDismiss:()=>{(0,x.SN)(e,l),(0,R.G)(e,"focus")}})});var ep=n(754249),ef=n(734039),eg=n(505274),ev=n(386009),eh=n(535535);let eI=(0,w.M)("MicRecordFilled",eh.tus);var eS=n(570617),eb=n(760919),ew=n(206339);let ey=(e,t,n,o)=>{let r=o(e);if(r){let{infoBarHostViewState:e,dictationViewState:o,editorViewState:i,targetWindow:a}=r;eS.Vi.import().then(r=>r(i,o,e,t,n,a))}},eP=(0,s._)((e,t,n,o,r,i,a,l)=>{let s="dictationLanguageMenuDefinitionStore",m=(0,eS.E4)().dictationButtonState;return(0,ew.cr)("cmp-dictation-ui")?(0,d.is)((0,c.V)(7029,e),(0,f.ZP)(g.Oo),(0,h.W)(7029,ey,t,n,o,r),m===eS.KV.DictationOn,a?(0,d.Fl)([a],7029):void 0,m===eS.KV.DictationOn?eI:ev.Z,void 0,i,{disabled:l||m===eS.KV.DictationStarting||m===eS.KV.DictationStopping,customTooltip:(0,u.P)(g.Oo,v.G3,(0,el.T)(7029))}):(0,d.Vh)((0,c.V)(7029,e),(0,f.ZP)(g.Oo),(0,k.O)(e,s),(0,h.W)(7029,ey,t,n,o,r),a?(0,d.Fl)([a],7029,!0):void 0,m===eS.KV.DictationOn?eI:ev.Z,void 0,i,{onAfterMenuDismiss:()=>{(0,x.SN)(e,s),(0,R.G)(e,"focus")},splitButtonAriaLabel:(0,f.ZP)(g.Oo),disabled:l||m===eS.KV.DictationStarting||m===eS.KV.DictationStopping,customTooltip:(0,u.P)(g.Oo,v.G3,(0,el.T)(7029)),toggled:m===eS.KV.DictationOn,onMenuButtonExecute:()=>{(0,eb.bv)(e,t)}})});var eC=n(212631),eE=n(621702);let eZ=(0,s._)((e,t,n,o,r,i)=>{let a=t.composeId,{protectionViewState:l}=t,s=(0,f.ZP)(_.S$),m="encryptMenuDefinitionStore";return(0,d.c9)((0,c.V)(7012,e),s,(0,k.O)(e,m),o?(0,d.Fl)([o],7012,!0):void 0,eC.Z,void 0,r,{customTooltip:(0,u.P)(_.S$,O.d4),disabled:i||(0,eE.Z)(l,t.mailboxInfo),onExecute:()=>{z.xF.import().then(t=>{(0,x.Rl)(e,"encryptMenuDefinitionStore",()=>({sections:t(a,n)}))})},onAfterMenuDismiss:()=>{(0,x.SN)(e,m),(0,R.G)(e,"focus")}})});var eM=n(988512),eT=n(205238),eF=n(47278);let ek=(0,s._)((e,t,n,o)=>{let r=n(t),i=r?.composeViewState,a=i?.toRecipientWell?.recipients?.map(e=>e.persona.EmailAddress)??[],l=i?.ccRecipientWell?.recipients?.map(e=>e.persona.EmailAddress)??[];r&&eM.mh.importAndExecute(e,o,a,l,(r?.composeViewState?.subject||"").trim(),r.targetWindow,r?.composeViewState?.mailboxInfo,r?.composeViewState?.composeId)}),ex=(0,s._)((e,t,n,o,r,i,a)=>(0,d.lC)((0,c.V)(7011,e),(0,f.ZP)(eF._B),(0,h.W)(7011,ek,e,t,n,o),i?(0,d.Fl)([i],7011):void 0,eT.Z,void 0,r,{customTooltip:(0,u.P)(eF._B,O.Gb),disabled:a})),eR=(0,n(293005).yP)({IconComponent:()=>eo.createElement("svg",{viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},eo.createElement("path",{fill:"#0078D4",d:"M2 18V10C2 5.58172 5.58172 2 10 2C14.4183 2 18 5.58172 18 10C18 14.4183 14.4183 18 10 18H2ZM5.44843 17H10C13.866 17 17 13.866 17 10C17 6.13401 13.866 3 10 3C6.13401 3 3 6.13401 3 10V16.9624C3.92616 16.825 4.84907 16.3188 5.58395 15.5839C6.45127 14.7166 7 13.5874 7 12.5V10C7 8.34315 8.34315 7 10 7C11.6569 7 13 8.34315 13 10C13 11.6569 11.6569 13 10 13H7.9711C7.82946 14.2325 7.17929 15.4028 6.29105 16.2911C6.03231 16.5498 5.74962 16.7883 5.44843 17ZM8 12H10C11.1046 12 12 11.1046 12 10C12 8.89543 11.1046 8 10 8C8.89543 8 8 8.89543 8 10V12Z"})),displayName:"LoopIcon"});(0,er.fm)({icons:{LoopIcon:eo.createElement(eR,null)}});var eA=n(687315);let eD=e=>{let t=2!==(0,eA.Z)(e);return{ToolTipControlName:t?O.zH:O.bj,ToolTipDescription:t?void 0:O.c2}},eN=(0,s._)((e,t,n,o,r,i,a)=>{let l=eD(a),s="loopMenuDefinitionStore";return(0,d.c9)((0,c.V)(7e3,e),(0,f.ZP)(_.tf),(0,k.O)(e,s),i?(0,d.Fl)([i],7e3):void 0,"loopIcon",void 0,o,{customTooltip:(0,u.P)(l.ToolTipControlName,l.ToolTipDescription),disabled:r,onExecute:()=>{!function(e,t,n,o){(0,j.Hz)(),Promise.all([z.XR.import(),Q.BW.import()]).then(([r,i])=>{(0,x.Rl)(e,"loopMenuDefinitionStore",()=>({sections:r(i,e,t,n,o)}))})}(e,t,n,a)},onAfterMenuDismiss:()=>{(0,x.SN)(e,s),(0,R.G)(e,"focus")}})});var e_=n(798899),eO=n(889332),eL=n(328257),eV=n(586016),eB=n(652046),eG=n(954945);let eU=async(e,t,n)=>{let{formatPainterFormat:o,formatPainterSegmentFormat:r}=await (0,en.vm)(e,n);eB.Rk.importAndExecute(e,t,o,r)},eH=(0,s._)((e,t,n,o,r,i)=>(0,d.is)((0,c.V)(6029,e),(0,f.ZP)(M.DR),(0,h.W)(6029,eU,e,t,i),!!t.formatPainterFormat||!!t.formatPainterSegmentFormat,o?(0,d.Fl)([o],6029):void 0,eG.Z,void 0,n,{disabled:r,customTooltip:(0,u.P)(M.DR,J.Il)}));var eW=n(441587),eK=n(556636),ez=n(245176);let ej=(e,t,n,o)=>{let r=t(e);r&&(n===o?(0,ez.Z)(r.composeViewState,"Normal"):(0,ez.Z)(r.composeViewState,n))},eQ=(0,s._)((e,t,n,o,r,i,a)=>(0,d.is)((0,c.V)(7006,e),(0,f.ZP)(_.pG),(0,h.W)(7006,ej,t,n,"Low",o),"Low"===o,i?(0,d.Fl)([i],7006):void 0,eK.Z,void 0,r,{disabled:a,customTooltip:(0,u.P)(_.pG,O.Cf)})),e$=(0,s._)((e,t,n,o,r,i,a)=>(0,d.is)((0,c.V)(7005,e),(0,f.ZP)(_.$F),(0,h.W)(7005,ej,t,n,"High",o),"High"===o,i?(0,d.Fl)([i],7005):void 0,eW.Z,void 0,r,{disabled:a,customTooltip:(0,u.P)(_.$F,O.o1)}));(0,er.fm)({icons:{IndentIcon:eo.createElement("span",{className:(0,ea.Z)(ei.WY,ei.NU)})}});let eq=(0,s._)((e,t,n,o,r)=>(0,d.is)((0,c.V)(6007,e),(0,f.ZP)(M.nS),(0,h.W)(6007,en.Cp,e,0,r),!1,n?(0,d.Fl)([n],6007):void 0,"IndentIcon",void 0,t,{disabled:o}));var eX=n(884155),eY=n(77604);let eJ=(0,w.M)("TextDirectionHorizontalRightRegular",ec.aGw),e0=(0,s._)((e,t,n,o,r)=>(0,d.lC)((0,c.V)(6020,e),(0,f.ZP)(M.cF),(0,h.W)(6020,en.Ud,e,0,r),n?(0,d.Fl)([n],6020):void 0,eJ,void 0,t,{disabled:o}));var e1=n(197990),e3=n(853047),e2=n(745225),e5=n(570753),e6=n(34640),e4=n(313899);let e9=(0,s._)((e,t,n,o,r,i)=>{let{protectionViewState:a}=t,{IRMData:l}=a,s=(0,e4.O)(t.mailboxInfo),m=(0,ew.cr)("cmp-objmodel-messageExtension",t.mailboxInfo),p=l?.ProgrammaticAccessAllowed;return(0,d.lC)((0,c.V)(7016,e),(0,e2.b)(e5.Zn),e=>{let o=n(t.composeId);o&&e&&e3.mV.importAndExecute(e,o.targetWindow,t.composeId,(0,e6.H)(t?.isInSharedFolder)?"ComposeSharedFolder":"Compose",(0,ew.MS)()?t.mailboxInfo:void 0)},r?(0,d.Fl)([r],7016):void 0,e1.Z,void 0,o,{customTooltip:(0,u.P)(e5.Zn,O.FG),disabled:!s&&i||m&&!l?.IsOwner&&!1===p})});(0,er.fm)({icons:{NumberingIcon:eo.createElement("span",{className:(0,ea.Z)(ei.fW,ei.NU)})}});let e7=(0,s._)((e,t,n,o,r,i)=>(0,d.is)((0,c.V)(6006,e),(0,f.ZP)(M.ay),(0,h.W)(6006,en.YY,e,i),!!t.isNumbering,o?(0,d.Fl)([o],6006):void 0,"NumberingIcon",void 0,n,{disabled:r,customTooltip:(0,u.P)(M.ay,void 0,(0,el.T)(6006))}));(0,er.fm)({icons:{OutdentIcon:eo.createElement("span",{className:(0,ea.Z)(ei.Sb,ei.NU)})}});let e8=(0,s._)((e,t,n,o,r)=>(0,d.is)((0,c.V)(6008,e),(0,f.ZP)(M.dO),(0,h.W)(6008,en.Cp,e,1,r),!1,n?(0,d.Fl)([n],6008):void 0,"OutdentIcon",void 0,t,{disabled:o}));var te=n(468036),tt=n(34965);let tn=(0,s._)((e,t,n,o,r,i,a)=>{let l=(0,f.ZP)(M.M1),s="cutCopyMenuDefinitionStore";return(0,d.Vh)((0,c.V)(6012,e),l,(0,k.O)(e,s),(0,h.W)(6012,te.bk,e,te.lG.Normal,t,n),i?(0,d.Fl)([i],6012,!0):void 0,tt.Z,void 0,r,{splitButtonAriaLabel:l,disabled:a,customTooltip:(0,u.P)(M.M1,J.DM,(0,el.T)(6011)),onMenuButtonExecute:()=>{(0,F.au)(e,t,n,o,r,i,a)},onAfterMenuDismiss:()=>{(0,x.SN)(e,s),(0,R.G)(e,"focus")}})}),to=(0,w.M)("PollRegular",y.bu6);var tr=n(708371),ti=n(655647),ta=n(637889);let tl=(0,s._)((e,t)=>()=>{let n=t(e);if(n){let e=n.composeViewState,t={getRecipientWells:()=>(0,tr.cF)(e),fromAddress:(0,ti.Z)(e.toRecipientWell),linkIdContainer:{...e.attachmentWell,logTraceId:e.logTraceId}};Q.NL.importAndExecute(n.targetWindow,e,t,e.subject,t=>{(0,ta.h)(e,t,n.targetWindow)},e.composeId,e.mailboxInfo)}}),ts=(0,s._)((e,t,n,o,r,i)=>(0,d.lC)((0,c.V)(7021,e),(0,f.ZP)(_.vT),tl(t,n),r?(0,d.Fl)([r],7021):void 0,to,void 0,o,{customTooltip:(0,u.P)(_.vT,O.Xj),disabled:i}));var td=n(67199),tc=n(691608),tu=n(865501),tm=n(59114),tp=n(497674),tf=n(717741),tg=n(234159),tv=n(242660);let th=(0,s._)((e,t,n,o,r,i)=>{let a=n(t),l=a?.composeViewState,s=l?.mailboxInfo,m=i||!!s&&(0,tu.lc)((0,tv.Q)(l),s),p=function(e,t,n,o,r,i,a){let l=[],s=!!a&&(0,tm.TV)(a,"Elaborate"),m=a&&(0,tm.TV)(a,"Coach"),p=(s?1:0)+(m?1:0)==1;return s&&l.push((0,d.lC)((0,c.V)(7027,e),(0,f.ZP)(_.H4),tI(t,n,"MailRibbonDraftCopilotPreinsert","DraftCopilot_ElaborateButtonClicked"),r?(0,d.Fl)([r,7023],7027):void 0,p?tc.Z:tg.Z,void 0,o,{customTooltip:(0,u.P)(_.H4,O.J_),disabled:i})),m&&l.push((0,d.lC)((0,c.V)(7028,e),(0,f.ZP)(_.wB),tI(t,n,"CopilotCoach","CopilotCoach_Tried"),r?(0,d.Fl)([r,7023],7028):void 0,p?tc.Z:tf.Z,void 0,o,{customTooltip:(0,u.P)(_.wB,O.xN),disabled:i})),(0,ew.cr)("mon-copilot-HighlightRewrite")&&l.push((0,d.lC)((0,c.V)(7033,e),(0,f.ZP)(_.p4),tI(t,n,"DraftCopilotHighlightRewrite","DraftCopilot_HightlightRewriteClicked","HighlightRewriteFloatie"),r?(0,d.Fl)([r],7033):void 0,tc.Z,void 0,o,{customTooltip:(0,u.P)(_.p4,O.wX),disabled:i})),l}(e,t,n,o,r,m,s);return 1==p.length?((0,tu.tI)(p[0].label===(0,f.ZP)(_.H4)?"Elaborate":"Coach",e,{entryPoint:"Ribbon"}),p[0]):(0,d.c9)((0,c.V)(7023,e),"Copilot",{sections:[{controls:p}]},r?(0,d.Fl)([r],7023,!0):void 0,tc.Z,void 0,o,{disabled:m,onExecute:()=>{["Elaborate","Coach"].forEach(t=>{(0,tu.tI)(t,e,{entryPoint:"Ribbon"})})}})});function tI(e,t,n,o,r){return()=>{let i=t(e);if(i){tp.KI.import().then(e=>{tu.pS.import().then(t=>{e(i.editorViewState,e=>(t(e,n,i.editorViewState.editorId,void 0,r),null))})});let e=i?.composeViewState?.itemId?.Id,t={entryPoint:"Ribbon",messageId:e,conversationId:i?.composeViewState?.conversationId,messageSynced:!!e,copilotHost:"MailCompose"};"DraftCopilot_ElaborateButtonClicked"===o?(0,td.qu)("DraftCopilot_ElaborateButtonClicked",t):"CopilotCoach_Tried"===o?(0,td.qu)("CopilotCoach_Tried",t):"DraftCopilot_HightlightRewriteClicked"===o&&(0,td.y8)("DraftCopilot_HightlightRewriteClicked",t)}}}var tS=n(505376),tb=n(227486),tw=n(500826),ty=n(126138),tP=n(489833),tC=n(874195),tE=n(207886),tZ=n(9177);let tM=(e,t)=>()=>{t||((0,tP.Z)(e),(0,tw.t)(!1,tE.Z.MailComposeToolbar)())},tT=(0,s._)((e,t,n,o,r,i)=>{let a=(0,f.ZP)(_.U2),l=(0,c.V)(7001,t),s=r?(0,d.Fl)([r],7001):void 0,m={customTooltip:(0,u.P)(_.U2,O.rg),disabled:n||!(0,tS.d)(tb.Q)};if(!(0,ty.GJ)())return(0,d.lC)(l,a,(0,h.W)(7001,tM,t,n),s,tC.Z,void 0,o,m);{let n="editorMenuDefinitionStore";return(0,d.c9)(l,a,(0,k.O)(t,n),s,tZ.Z,void 0,o,{...m,onExecute:()=>(function(e,t,n){z.$2.import().then(o=>{(0,x.Rl)(t,"editorMenuDefinitionStore",()=>({sections:o(e,t,n)}))})})(e,t,i),onAfterMenuDismiss:()=>{(0,x.SN)(t,n),(0,R.G)(t,"focus")}})}});var tF=n(187773);let tk=(0,w.M)("TextQuoteRegular",tF.VoI),tx=(0,s._)((e,t,n,o,r,i)=>(0,d.is)((0,c.V)(6016,e),(0,f.ZP)(M.kN),(0,h.W)(6016,en.IR,e,i),!!t.isBlockQuote,o?(0,d.Fl)([o],6016):void 0,tk,void 0,n,{disabled:r}));var tR=n(354189),tA=n(278022);function tD(){return{span:{display:"flex",alignItems:"center",justifyContent:"center"},"span > i":{width:14,height:14}}}let tN=(e,t,n)=>{let o=t(e);if(o){let e=o.composeViewState;n?(0,tA.Z)(e,!e.isReadReceiptRequested):(0,tR.Z)(e,!e.isDeliveryReceiptRequested)}},t_=(0,s._)((e,t,n,o,r,i,a)=>{let l=n(t)?.composeViewState,s=!!l&&(i?l.isReadReceiptRequested:l.isDeliveryReceiptRequested),m=i?7014:7015,p=i?_.Hd:_.nA,g=i?O.GZ:O.zd;return(0,d.gN)((0,c.V)(m,e),(0,f.ZP)(p),(0,h.W)(m,tN,t,n,i),s,r?(0,d.Fl)([r],m):void 0,{...o,root:tD()},{customTooltip:(0,u.P)(p,g),disabled:a})});var tO=n(795839);let tL=(0,tO.lr)("toggleDisallowReactions",function(e){e.shouldDisallowReactions=!e.shouldDisallowReactions}),tV=(e,t)=>{let n=t(e);n&&tL(n.composeViewState)},tB=(0,s._)((e,t,n,o,r,i)=>{let a=n(t)?.composeViewState,l=!!a&&!!a.shouldDisallowReactions;return(0,d.gN)((0,c.V)(7031,e),(0,f.ZP)(_.uO),(0,h.W)(7031,tV,t,n),l,r?(0,d.Fl)([r],7031):void 0,{...o,root:tD()},{customTooltip:(0,u.P)(_.uO,O.Oz),disabled:i})});var tG=n(970381);let tU=(0,s._)((e,t,n,o,r)=>(0,tG.g)(e,t,!1,n,o,r)),tH=(0,w.M)("TextDirectionHorizontalLeftRegular",ec.T8K),tW=(0,s._)((e,t,n,o,r)=>(0,d.lC)((0,c.V)(6021,e),(0,f.ZP)(M.zb),(0,h.W)(6021,en.Ud,e,1,r),n?(0,d.Fl)([n],6021):void 0,tH,void 0,t,{disabled:o}));var tK=n(268419),tz=n(396879);let tj=(e,t)=>{let n=t(e),o=n?.composeViewState;o&&((0,td.y8)("SaveDraft",{actionSource:(0,d.rO)()}),(0,tz.a1)(o,1))},tQ=(0,s._)((e,t,n,o,r,i,a)=>(0,d.lC)((0,c.V)(560,e),(0,f.ZP)(_.yU),(0,h.W)(560,tj,t,n),(0,d.Fl)(o?[o]:[],560),tK.Z,i,r,{customTooltip:(0,u.P)(_.yU,O.Xv),disabled:a}));var t$=n(859817),tq=n(276377),tX=n(197653),tY=n(710969),tJ=n(476433);let t0=(e,t)=>{let n=t(e);n&&tX.o.importAndExecute(n=>{let o=t(e);if(o){let e=o.composeViewState;(0,tq.Z)(e,n),(0,tz.lW)(e,o.targetWindow)}},void 0,n.targetWindow,tY.h,tJ.G)},t1=(0,s._)((e,t,n,o,r,i)=>(0,d.lC)((0,c.V)(7013,e),(0,f.ZP)(tJ.G),(0,h.W)(7013,t0,t,n),r?(0,d.Fl)([r],7013):void 0,t$.Z,void 0,o,{customTooltip:(0,u.P)(tJ.G,O.rm),disabled:i}));var t3=n(954301),t2=n(645225),t5=n(678757),t6=n(333496),t4=n(743169),t9=n(773724);let t7=(0,s._)((e,t,n,o,r,i,a)=>{let l=t.composeId,s="sensitivityMenuDefinitionStore",m=e=>{let t=n(l);t&&(a?a(t.composeViewState,e):(0,t9.Z)(t.composeViewState,e,t.targetWindow))};return(0,d.c9)((0,c.V)(564,t.editorId),(0,f.ZP)(_.Qq),(0,k.O)(e,s),o?(0,d.Fl)([o],564,!0):void 0,t3.Z,void 0,r,{customTooltip:(0,u.P)(_.Qq,O.Vf),disabled:i||!function(e){let t=e.mailboxInfo,{clpLabels:n}=(0,t6.b)(t),o=!(0,ew.cr)("cmp-clp-label-scoping",t,!!t);return n.some(e=>0===e.children.length&&e?.isLabelEnabled&&(o||(0,t4.Z)(e,"email"))||e.children?.some(e=>e.isLabelEnabled&&(o||t4.Z(e,"email"))))}(t)||(0,ew.cr)("cal-clpLabel-respect-rml")&&3===t.operation&&t8(t),onExecute:()=>{let t=n(l);if(t){var r;r=t.composeViewState,z.C8.import().then(t=>{(0,x.Rl)(e,"sensitivityMenuDefinitionStore",()=>({sections:t(r,m,o)}))})}},onAfterMenuDismiss:()=>{(0,x.SN)(e,s),(0,R.G)(e,"focus")}})}),t8=e=>{if(e.itemId){let t=t2.Z.items.get(e.itemId.Id);if(t)return!!(0,t5._)(t)}return!0};var ne=n(648647),nt=n(250571);let nn=(0,tO.lr)("toggleBcc",function(e){e.isBccShown=!e.isBccShown,e.isBccShown&&e.showCompactRecipientWell&&(e.showCompactRecipientWell=!1),e.isBccShown&&!e.bccRecipientWell&&(e.bccRecipientWell=(0,ne.Z)(e.toRecipientWell.mailboxInfo,e.toRecipientWell.findPeopleFeedbackManager,nt.C.MailCompose))}),no=(0,tO.lr)("toggleCc",function(e){e.isCcShown=!e.isCcShown,e.isCcShown&&e.showCompactRecipientWell&&(e.showCompactRecipientWell=!1),e.isCcShown&&!e.ccRecipientWell&&(e.ccRecipientWell=(0,ne.Z)(e.toRecipientWell.mailboxInfo,e.toRecipientWell.findPeopleFeedbackManager,nt.C.MailCompose))}),nr=(e,t,n)=>{let o=t(e);if(o){let e=o.composeViewState;n?no(e):nn(e),(0,tp.RX)(e)}},ni=(0,s._)((e,t,n,o,r,i,a)=>{let l=e?_.RM:_.vD,s=e?7019:7020,m=e?O.kc:O.hG,p=o(n)?.composeViewState;return(0,d.gN)((0,c.V)(s,t),(0,f.ZP)(l),(0,h.W)(s,nr,n,o,e),e?!!p?.isCcShown:!!p?.isBccShown,i?(0,d.Fl)([i],s):void 0,{...r,root:tD()},{customTooltip:(0,u.P)(l,m),disabled:a})});var na=n(683944);let nl=(e,t)=>{let n=t(e);if(n){let e=n.composeViewState;(0,na.Z)(e),(0,tp.RX)(e)}},ns=(0,s._)((e,t,n,o,r,i)=>(0,d.gN)((0,c.V)(7009,e),(0,f.ZP)(_.LS),(0,h.W)(7009,nl,t,n),!!n(t)?.composeViewState.fromViewState.isFromShown,r?(0,d.Fl)([r],7009):void 0,{...o,root:tD()},{customTooltip:(0,u.P)(_.LS,O.Wi),disabled:i}));var nd=n(71700);let nc=(e,t)=>{let n=t(e);n&&(0,tz.Td)(n.composeViewState,n.targetWindow)},nu=(0,s._)((e,t,n,o,r,i)=>(0,d.lC)((0,c.V)(7010,e),(0,f.ZP)(_.Aj),(0,h.W)(7010,nc,t,n),r?(0,d.Fl)([r],7010):void 0,nd.Z,void 0,o,{customTooltip:(0,u.P)(_.Aj,O.we),disabled:i})),nm=(0,w.M)("TextStrikethroughRegular",tF.YIS);var np=n(629721);let nf=(0,s._)((e,t,n,o,r,i,a,l)=>(0,d.is)((0,c.V)(6004,e),(0,f.ZP)(M.$z),(0,h.W)(6004,np.N,e,t,"toggleStrikethrough",n,l),!!o.isStrikeThrough,i?(0,d.Fl)([i],6004):void 0,nm,void 0,r,{disabled:a}));var ng=n(315995);(0,er.fm)({icons:{SubscriptIcon:eo.createElement("span",{className:(0,ea.Z)(ei.lp,ei.NU)})}});let nv=(0,s._)((e,t,n,o,r,i,a,l)=>(0,d.is)((0,c.V)(6022,e),(0,f.ZP)(M.QC),(0,h.W)(6022,np.N,e,t,"toggleSubscript",n,l),!!o.isSubscript,i?(0,d.Fl)([i],6022):void 0,"SubscriptIcon",void 0,r,{disabled:a}));(0,er.fm)({icons:{SuperscriptIcon:eo.createElement("span",{className:(0,ea.Z)(ei.OS,ei.NU)})}});let nh=(0,s._)((e,t,n,o,r,i,a,l)=>(0,d.is)((0,c.V)(6023,e),(0,f.ZP)(M.Pu),(0,h.W)(6023,np.N,e,t,"toggleSuperscript",n,l),!!o.isSuperscript,i?(0,d.Fl)([i],6023):void 0,"SuperscriptIcon",void 0,r,{disabled:a}));var nI=n(316002);let nS=(e,t)=>{let n=t(e);n&&(0,tz.zv)(n.composeViewState,n.targetWindow)},nb=(0,s._)((e,t,n,o,r,i,a)=>{let l=o?_.S2:_.kl;return(0,d.lC)((0,c.V)(7002,e),(0,f.ZP)(l),(0,h.W)(7002,nS,t,n),i?(0,d.Fl)([i],7002):void 0,nI.Z,void 0,r,{customTooltip:(0,u.P)(l,O.j3),disabled:a})});var nw=n(236319);let ny=(0,s._)((e,t,n,o,r,i,a)=>{let l=(0,u.P)(g.Fx,v.zg),s=o?(0,d.Fl)([o],637):void 0,m="tableMenuDefinitionStore";return(0,d.c9)((0,c.V)(637,e),(0,f.ZP)(g.Fx),(0,k.O)(e,m),s,nw.Z,void 0,r,{customTooltip:l,disabled:i,onExecute:()=>{(0,eb.t9)(e,t,n,s,l,a)},onAfterMenuDismiss:()=>{(0,x.SN)(e,m),(0,R.G)(e,"focus")}})});var nP=n(214269);let nC=(0,w.M)("TableMoveAboveRegular",ec.szf),nE=(0,w.M)("TableMoveBelowRegular",ec.TMk),nZ=(0,w.M)("TableMoveLeftRegular",ec.yvm),nM=(0,w.M)("TableMoveRightRegular",ec.EKC),nT=(0,w.M)("TableCellsSplitRegular",ec.SJY),nF=(0,w.M)("TableCellsMergeRegular",ec.hX2);var nk=n(364713),nx=n(972e3);let nR=new Map([[6058,nC],[6059,nE],[6060,nZ],[6061,nM],[6042,nk.Z],[6049,nF],[6054,nT],[6087,nx.Z]]);var nA=n(634738),nD=n(851199),nN=n(883254);let n_=(0,s._)((e,t,n,o,r,i)=>{let a="tableBorderWeightMenuDefinitionStore",l="none"==n.borderStyle;return(0,d.c9)((0,c.V)(6098,e),l?(0,f.ZP)(nN.If):n.borderWidthLabel??"",(0,k.O)(e,a),o?(0,d.Fl)([o],6098,!0):void 0,l?void 0:" ",void 0,{...t,flexContainer:{width:i?"105px":"101px"},label:{marginLeft:l?0:"-1px !important",textAlign:l?"center":"right",paddingRight:l?0:"6px"},icon:{height:0,overflow:"hidden",borderTop:`${n.borderWidth} solid ${n.borderColor??"var(--neutralDark)"}`,marginTop:i?0:"15px",minWidth:"40px"},textContainer:{order:-1,minWidth:l?"85px":0}},{disabled:r,onExecute:t=>{let{event:o}=t;o?.stopPropagation(),(0,F.dv)(e,n)},onAfterMenuDismiss:()=>{(0,x.SN)(e,a),(0,R.G)(e,"focus")}})});var nO=n(133564);let nL=(0,s._)((e,t,n,o,r)=>{let i="tableBorderColorMenuDefinitionStore";return(0,d.c9)((0,c.V)(6097,e),(0,f.ZP)(nN.Vi),(0,k.O)(e,i),o?(0,d.Fl)([o],6097,!0):void 0,nO.Z,n.borderColor,t,{disabled:"none"==n.borderStyle||r,onExecute:t=>{let{event:o}=t;o?.stopPropagation(),(0,F.rg)(e,n)},onAfterMenuDismiss:()=>{(0,x.SN)(e,i),(0,R.G)(e,"focus")}})});var nV=n(169038);let nB=(0,s._)((e,t,n,o,r,i)=>{let a="applyTableBorderMenuDefinitionStore";return(0,d.c9)((0,c.V)(6100,e),(0,f.ZP)(nN.f8),(0,k.O)(e,a),r?(0,d.Fl)([r],6100,!0):void 0,nV.Z,void 0,n,{disabled:i,onExecute:n=>{let{event:i}=n;i?.stopPropagation(),(0,F.pg)(e,r,o,t)},onAfterMenuDismiss:()=>{(0,x.SN)(e,a),(0,R.G)(e,"focus")}})});var nG=n(150655);let nU={DEFAULT:e=>nH(e,e,e,!1,!1,!1,!1,0,null,nW(e),e),GRID:e=>nH(e,e,e,!0,!1,!1,!1,0,null,nW(e),e),GRID_WITH_HEADER_ROW:e=>nH(e,e,e,!0,!1,!0,!1,0,null,nW(e),e),SPECIAL_GRID:e=>nH(e,e,e,!0,!1,!1,!1,5,null,nW(e),e),LIST:e=>nH(e,e,"transparent",!0,!1,!1,!1,0,null,nW(e),e),LIST_WITH_HEADER:e=>nH(e,e,e,!1,!1,!0,!1,1,null,nW(e),e),LIST_SPECIAL:e=>nH(e,e,e,!0,!1,!1,!0,6,null,nW(e),e),PLAIN:e=>nH(e,e,e,!0,!1,!1,!1,7,null,nW(e),e),PLAIN_LIST:e=>nH(e,e,"transparent",!1,!1,!1,!1,0,null,nW(e),e),PLAIN_WITHOUT_BORDERS:e=>nH("transparent","transparent","transparent",!0,!1,!1,!1,0,null,nW(e),e),PLAIN_WITH_FIRST_COLUMN:e=>nH(e,e,e,!0,!1,!1,!0,7,null,nW(e),e)};function nH(e,t,n,o,r,i,a,l,s,d,c){return{topBorderColor:e,bottomBorderColor:t,verticalBorderColor:n,hasBandedRows:o,bgColorEven:s,bgColorOdd:d,hasBandedColumns:r,hasHeaderRow:i,headerRowColor:c,hasFirstColumn:a,tableBorderFormat:l}}let nW=e=>"#000000"===e?"#CCCCCC":`${e}20`,nK={DEFAULT_BLACK:nU.DEFAULT("#000000"),DEFAULT_GRAY:nU.DEFAULT("#CCCCCC"),GRID_GRAY:nU.GRID("#CCCCCC"),PLAIN_LIST_BLACK:nU.PLAIN_LIST("#000000"),PLAIN_BLACK:nU.PLAIN("#000000"),PLAIN_WITHOUT_BORDERS_BLACK:nU.PLAIN_WITHOUT_BORDERS("#000000"),PLAIN_WITH_FIRST_COLUMN_BLACK:nU.PLAIN_WITH_FIRST_COLUMN("#000000"),GRID_BLACK:nU.GRID("#000000"),GRID_BLUE:nU.GRID("#0C64C0"),GRID_ORANGE:nU.GRID("#DE6A19"),GRID_YELLOW:nU.GRID("#DCBE22"),GRID_RED:nU.GRID("#ED5C57"),GRID_PURPLE:nU.GRID("#B36AE2"),GRID_GREEN:nU.GRID("#0C882A"),SPECIAL_GRID_BLACK:nU.SPECIAL_GRID("#000000"),SPECIAL_GRID_BLUE:nU.SPECIAL_GRID("#0C64C0"),SPECIAL_GRID_ORANGE:nU.SPECIAL_GRID("#DE6A19"),SPECIAL_GRID_YELLOW:nU.SPECIAL_GRID("#DCBE22"),SPECIAL_GRID_RED:nU.SPECIAL_GRID("#ED5C57"),SPECIAL_GRID_PURPLE:nU.SPECIAL_GRID("#B36AE2"),SPECIAL_GRID_GREEN:nU.SPECIAL_GRID("#0C882A"),GRID_WITH_HEADER_ROW_BLACK:nU.GRID_WITH_HEADER_ROW("#000000"),GRID_WITH_HEADER_ROW_BLUE:nU.GRID_WITH_HEADER_ROW("#0C64C0"),GRID_WITH_HEADER_ROW_ORANGE:nU.GRID_WITH_HEADER_ROW("#DE6A19"),GRID_WITH_HEADER_ROW_YELLOW:nU.GRID_WITH_HEADER_ROW("#DCBE22"),GRID_WITH_HEADER_ROW_RED:nU.GRID_WITH_HEADER_ROW("#ED5C57"),GRID_WITH_HEADER_ROW_PURPLE:nU.GRID_WITH_HEADER_ROW("#B36AE2"),GRID_WITH_HEADER_ROW:nU.GRID_WITH_HEADER_ROW("#0C882A"),LIST_BLACK:nU.LIST("#000000"),LIST_BLUE:nU.LIST("#0C64C0"),LIST_ORANGE:nU.LIST("#DE6A19"),LIST_YELLOW:nU.LIST("#DCBE22"),LIST_RED:nU.LIST("#ED5C57"),LIST_PURPLE:nU.LIST("#B36AE2"),LIST_GREEN:nU.LIST("#0C882A"),LIST_WITH_HEADER_BLACK:nU.LIST_WITH_HEADER("#000000"),LIST_WITH_HEADER_BLUE:nU.LIST_WITH_HEADER("#0C64C0"),LIST_WITH_HEADER_ORANGE:nU.LIST_WITH_HEADER("#DE6A19"),LIST_WITH_HEADER_YELLOW:nU.LIST_WITH_HEADER("#DCBE22"),LIST_WITH_HEADER_RED:nU.LIST_WITH_HEADER("#ED5C57"),LIST_WITH_HEADER_PURPLE:nU.LIST_WITH_HEADER("#B36AE2"),LIST_WITH_HEADER_GREEN:nU.LIST_WITH_HEADER("#0C882A"),LIST_SPECIAL_BLACK:nU.LIST_SPECIAL("#000000"),LIST_SPECIAL_BLUE:nU.LIST_SPECIAL("#0C64C0"),LIST_SPECIAL_ORANGE:nU.LIST_SPECIAL("#DE6A19"),LIST_SPECIAL_YELLOW:nU.LIST_SPECIAL("#DCBE22"),LIST_SPECIAL_RED:nU.LIST_SPECIAL("#ED5C57"),LIST_SPECIAL_PURPLE:nU.LIST_SPECIAL("#B36AE2"),LIST_SPECIAL_GREEN:nU.LIST_SPECIAL("#0C882A")},nz=new L.nI(()=>n.e(46927).then(n.bind(n,46927))),nj=new L.EF(nz,e=>e.multiSectionFullGallerySections),nQ=new L.EF(nz,e=>e.firstLineOfGridTables);function n$(e,t){let n=nK[t];(0,en.RV)(e,n)}var nq=n(6199);let nX=(0,w.M)("TableEditRegular",ec.Win),nY={galleryContainer:{root:"sSfTd"},previewExpandButton:{root:"oWxCn"},galleryButtonInPreview:{root:"zjyyJ"}},nJ={galleryContainer:{root:{padding:"4px"}},galleryButtonInExpanded:{root:"pTMjV"}},n0=(0,s._)((e,t)=>{let n=nQ.tryImportForRender()??[];return{type:"AppIconPreviewGalleryProps",id:(0,c.V)(6046,e).toString(),galleryButtons:n,menuLauncherLabel:(0,f.ZP)(nN.uV),onGalleryButtonExecute:t=>{n$(e,t.galleryButton.id)},onMenuButtonExecute:()=>{},expandedOptions:n1(e),keytipProps:t?(0,d.Fl)([t],6046):void 0,size:nG.w.Large,styles:nY,flyoutAnchorProps:{icon:nX,styles:{label:{marginLeft:"4px"}}}}}),n1=(0,s._)(e=>{let t=nj.tryImportForRender()??[];return{sections:[{controls:[{type:"AppIconFullGalleryProps",id:(0,c.V)(6070,e).toString(),columns:7,gallerySections:t,onGalleryButtonExecute:t=>{n$(e,t.galleryButton.id)},styles:nJ,positionInSet:1,setSize:t.length+1}]}],focusZoneProps:{isCircularNavigation:!0,direction:nq.U.domOrder}}});var n3=n(46107);let n2=(0,w.M)("WeatherMoonFilled",tF.tsZ);var n5=n(868792);let n6=(e,t)=>{let n=t(e);if(n){let{editorViewState:e}=n;(0,n3.Z)(e,!e.forceInLightMode)}},n4=(0,s._)((e,t,n,o,r,i)=>{let a=n(t)?.editorViewState,l=!a?.forceInLightMode,s=l?g.yp:g.In;return(0,d.lC)((0,c.V)(7003,e),(0,f.ZP)(s),(0,h.W)(7003,n6,t,n),r?(0,d.Fl)([r],7003):void 0,l?n5.Z:n2,void 0,o,{disabled:i,customTooltip:(0,u.P)(s,l?v.i5:v.pN)})});var n9=n(835582),n7=n(674709);let n8=(0,s._)((e,t,n,o,r)=>{let i="undoRedoMenuDefinitionStore",a=(0,f.ZP)(M.oY);return(0,d.Vh)((0,c.V)(6013,e),a,(0,k.O)(e,i),(0,h.W)(6014,R.G,e,"undo"),o?(0,d.Fl)([o],6013,!0):void 0,n7.Z,void 0,n,{primaryDisabled:r||!t.canUndo,customTooltip:(0,u.P)(M.oY,void 0,(0,el.T)(6014)),disabled:r,onMenuButtonExecute:()=>{(0,F.tj)(e,t,n,o)},onAfterMenuDismiss:()=>{(0,x.SN)(e,i),(0,R.G)(e,"focus")},splitButtonAriaLabel:a})});var oe=n(347711),ot=n(629762);let on=(e,t,n="")=>{(0,ot.nd)(!0,`${e}${n}`,t)},oo=e=>t=>{let n="AddInlineImage";e.current?.click(t),on(n,{key:n})};var or=n(943554),oi=n(709346);let oa=(e,t)=>{or.DQ.import().then(n=>{let o=t(e);o&&n(o.composeViewState,o.targetWindow,oi.Z.Ribbon)})},ol=(0,w.M)("TextLineSpacingRegular",ec.kdx),os=(e,t,n,o,r,i)=>{let a="spacingMenuDefinitionStore";return(0,d.c9)((0,c.V)(6075,e),(0,f.ZP)(M.BP),(0,k.O)(e,a),o?(0,d.Fl)([o],6075,!0):void 0,ol,void 0,t,{disabled:r,onExecute:()=>{(0,F.Xs)(e,o,n,i)},onAfterMenuDismiss:()=>{(0,x.SN)(e,a),(0,R.G)(e,"focus")}})};var od=n(586134);let oc=(0,w.M)("RectangleLandscapeRegular",y.AMe),ou=(e,t,n)=>{let o=t&&t(e);if(o){let e=o.composeViewState.ribbon.drawViewState;eB.Wb.importAndExecute(o.composeViewState.editorId,e,o.composeViewState,n)}},om=(0,s._)((e,t,n,o,r,i,a)=>(0,d.lC)((0,c.V)(12011,e),(0,f.ZP)("FF6Zi"),e=>{let o=e&&e.inputMethod;(0,h.W)(12011,ou,t,n,o)()},i?(0,d.Fl)([i],12011):void 0,oc,void 0,r,{disabled:a}));var op=n(778996);let of=(0,w.M)("HandDrawRegular",op.zsw),og=(e,t)=>{let n=t&&t(e);if(n){let e=n.composeViewState.ribbon.drawViewState;eB.wd.importAndExecute(n.composeViewState.editorId,e)}},ov=(0,s._)((e,t,n,o,r,i,a)=>(0,d.is)((0,c.V)(12010,e),(0,f.ZP)("IjudGc"),(0,h.W)(12010,og,t,n),!!(o&&o.isDrawWithTouchSelected),i?(0,d.Fl)([i],12010):void 0,of,void 0,r,{disabled:a||!!(o&&!o.areDrawToolsActive)})),oh=(e,t,n,o)=>{let r=n&&n(e);if(r){let e=r.composeViewState.ribbon.drawViewState;eB.Ut.importAndExecute(r.composeViewState.editorId,e,t,o)}},oI=new L.nI(()=>n.e(130990).then(n.bind(n,130990))),oS=new L.EF(oI,e=>e.getBlackPenIcon),ob=new L.EF(oI,e=>e.getRedPenIcon),ow=new L.EF(oI,e=>e.getHighlighterIcon),oy=new L.EF(oI,e=>e.getEffectPenIcon),oP=new L.EF(oI,e=>e.getEraserIcon),oC=new L.EF(oI,e=>e.getTextPenIcon),oE=new L.EF(oI,e=>e.getDrawToolClayButtonStyles);var oZ=n(64906),oM=n(751040);let oT=(0,s._)(e=>oE.tryImportForRender()?.(e,eX.SI(),oM.Ri())),oF=(0,s._)((e,t,n,o,r,i,a)=>{let l=oy.tryImportForRender()?.(eX.SI(),oZ.BR(),oM.Ri());return(0,d.is)((0,c.V)(12008,e),(0,f.ZP)("jsmU5c"),e=>{let o=e&&e.inputMethod;(0,h.W)(12008,oh,t,3,n,o)()},!!(o&&3===o.currentSelectedDrawTool),i?(0,d.Fl)([i],12008):void 0,l,void 0,oT(r),{disabled:a||!!(o&&!o.areDrawToolsActive)})});var ok=n(171439);let ox=(0,s._)((e,t,n,o,r,i,a)=>{let l=ob.tryImportForRender()?.(eX.SI(),oZ.BR(),oM.Ri());return(0,d.is)((0,c.V)(12007,e),(0,f.ZP)("rwL5ub"),e=>{let o=e&&e.inputMethod;(0,h.W)(12007,oh,t,2,n,o)()},!!(o&&2===o.currentSelectedDrawTool),i?(0,d.Fl)([i],12007):void 0,l,ok.lH.color,oT(r),{disabled:a||!!(o&&!o.areDrawToolsActive)})}),oR=(0,s._)((e,t,n,o,r,i,a)=>{let l=oS.tryImportForRender()?.(eX.SI(),oZ.BR(),oM.Ri());return(0,d.is)((0,c.V)(12006,e),(0,f.ZP)("F8_r6c"),e=>{let o=e&&e.inputMethod;(0,h.W)(12006,oh,t,1,n,o)()},!!(o&&1===o.currentSelectedDrawTool),i?(0,d.Fl)([i],12006):void 0,l,ok.gu.color,oT(r),{disabled:a||!!(o&&!o.areDrawToolsActive)})}),oA=(0,s._)((e,t,n,o,r,i,a)=>{let l=oP.tryImportForRender()?.(eX.SI(),oZ.BR(),oM.Ri());return(0,d.is)((0,c.V)(12005,e),(0,f.ZP)("NlMdbc"),e=>{let o=e&&e.inputMethod;(0,h.W)(12005,oh,t,4,n,o)()},!!(o&&4===o.currentSelectedDrawTool),i?(0,d.Fl)([i],12005):void 0,l,void 0,oT(r),{disabled:a||!!(o&&!o.areDrawToolsActive)})}),oD=(0,s._)((e,t,n,o,r,i,a)=>{let l=ow.tryImportForRender()?.(eX.SI(),oZ.BR(),oM.Ri());return(0,d.is)((0,c.V)(12009,e),(0,f.ZP)("IIpSE"),e=>{let o=e&&e.inputMethod;(0,h.W)(12009,oh,t,5,n,o)()},!!(o&&5===o.currentSelectedDrawTool),i?(0,d.Fl)([i],12009):void 0,l,ok.S_.color,oT(r),{disabled:a||!!(o&&!o.areDrawToolsActive)})}),oN=(0,s._)((e,t,n,o,r)=>(0,d.lC)((0,c.V)(12001,e),(0,f.ZP)("FbpXje"),()=>{(0,R.G)(e,"undo")},n?(0,d.Fl)([n],12001):void 0,n7.Z,void 0,t,{disabled:r||!o.canUndo}));var o_=n(255385);let oO=(0,w.M)("CursorRegular",o_.IKN),oL=(e,t)=>{let n=t&&t(e);if(n){let e=n.composeViewState.ribbon.drawViewState;eB.tq.importAndExecute(n.composeViewState.editorId,e)}},oV=(0,s._)((e,t,n,o,r,i,a)=>(0,d.is)((0,c.V)(12003,e),(0,f.ZP)("Xen4q"),(0,h.W)(12003,oL,t,n),!!(o&&o.isSelectMode),i?(0,d.Fl)([i],12003):void 0,oO,void 0,r,{disabled:a||!!(o&&!o.areDrawToolsActive)})),oB=(0,w.M)("LassoRegular",op.ue3),oG=(0,s._)((e,t,n,o,r,i,a)=>(0,d.is)((0,c.V)(12004,e),(0,f.ZP)("v7lVze"),e=>{let o=e&&e.inputMethod;(0,h.W)(12004,oh,t,6,n,o)()},!!(o&&6===o.currentSelectedDrawTool),i?(0,d.Fl)([i],12004):void 0,oB,void 0,r,{disabled:a||!!(o&&!o.areDrawToolsActive)})),oU=(e,t)=>{let n=t&&t(e);if(n){let e=n.composeViewState.ribbon.drawViewState;eB.Jb.importAndExecute(n.composeViewState.editorId,e)}},oH=(0,s._)(function(e,t,n,o,r,i){let a=oC.tryImportForRender()?.(eX.SI(),oZ.BR(),oM.Ri());return(0,d.is)((0,c.V)(12012,e),(0,f.ZP)("zqib9c"),(0,h.W)(12012,oU,t,n),!!(o&&o.isTextPenSelected),i?(0,d.Fl)([i],12012):void 0,a,void 0,oT(r))});var oW=n(913762);let oK=(0,s._)((e,t,n,o,r,i,a)=>(0,d.lC)((0,c.V)(7026,e),(0,f.ZP)(_.RW),Q.oD.tryImportForRender()?.("MailCompose",t,n,r)||(()=>{}),o?(0,d.Fl)([o],7026):void 0,oW.Z,(0,d.n0)(4),i,{customTooltip:(0,u.P)(_.RW,O.x0),disabled:a})),oz=(0,w.M)("ImageCopyRegular",op.VFT);var oj=n(274421);async function oQ(e,t){let n=await (0,en.bj)(e);n.imageFormat&&eB.Eo.importAndExecute(t,n.imageFormat)}let o$=(0,s._)((e,t,n,o,r,i,a)=>{let l="borderMenuDefinitionStore";return(0,d.c9)((0,c.V)(6079,e),(0,f.ZP)("WsJGye"),(0,k.O)(e,l),i?(0,d.Fl)([i],6079,!0):void 0,oz,void 0,o,{disabled:a,onExecute:o=>{let{event:i}=o;i?.stopPropagation(),function(e,t,n,o){oj.c4.import().then(r=>{(0,x.Rl)(e,"borderMenuDefinitionStore",()=>({sections:r(e,t,n,o)}))})}(e,t,n,r)},onAfterMenuDismiss:()=>{(0,x.SN)(e,l),oQ(e,r),(0,R.G)(e,"focus")}})}),oq=(0,w.M)("ImageShadowRegular",op.PsV),oX=(0,s._)((e,t,n,o,r)=>{let i="shadowMenuDefinitionStore";return(0,d.c9)((0,c.V)(6080,e),(0,f.ZP)("AXKAOd"),(0,k.O)(e,i),o?(0,d.Fl)([o],6080,!0):void 0,oq,void 0,n,{disabled:r,onExecute:n=>{let{event:o}=n;o?.stopPropagation(),function(e,t){oj.if.import().then(n=>{(0,x.Rl)(e,"shadowMenuDefinitionStore",()=>({sections:n(e,t)}))})}(e,t)},onAfterMenuDismiss:()=>{(0,x.SN)(e,i),oQ(e,t),(0,R.G)(e,"focus")}})});var oY=n(710162),oJ=n(214515),o0=n(720490);let o1=e=>{(0,oJ.hR)(e,e=>{e.onAltText()})},o3=(e,t,n,o)=>(0,d.lC)((0,c.V)(6085,e),(0,f.ZP)("MZkQKc"),(0,h.W)(6085,o1,e),n?(0,d.Fl)([n],6085):void 0,oY.Z,void 0,(0,o0.E)(t),{disabled:o,takeFocusOnClick:!0}),o2=(0,w.M)("RotateRightRegular",y.yjN),o5=(0,w.M)("RotateLeftRegular",y.gWf),o6=(0,w.M)("FlipVerticalRegular",op.UTd),o4=(0,w.M)("FlipHorizontalRegular",op.WxX),o9=Math.PI/2,o7=(e,t)=>{(0,oJ.hR)(e,e=>{let n=e.getImageSelection();n&&e.rotateImage(n,t)})},o8=(e,t)=>{(0,oJ.hR)(e,e=>{let n=e.getImageSelection();n&&e.flipImage(n,t)})},re=(0,s._)(e=>({sections:[{controls:[{id:(0,c.V)("RotateRight",e),type:"AppButtonProps",icon:o2,label:(0,f.ZP)("ETzXgc"),onExecute:()=>o7(e,o9),takeFocusOnClick:!0},{id:(0,c.V)("RotateLeft",e),type:"AppButtonProps",icon:o5,label:(0,f.ZP)("bxFvTd"),onExecute:()=>o7(e,-o9),takeFocusOnClick:!0},{id:(0,c.V)("FlipVertical",e),type:"AppButtonProps",icon:o6,label:(0,f.ZP)("d1Gw3c"),onExecute:()=>o8(e,"vertical"),takeFocusOnClick:!0},{id:(0,c.V)("FlipHorizontal",e),type:"AppButtonProps",icon:o4,label:(0,f.ZP)("VUGdAc"),onExecute:()=>o8(e,"horizontal"),takeFocusOnClick:!0}]}]})),rt=(0,s._)((e,t,n,o)=>(0,d.c9)((0,c.V)(6082,e),(0,f.ZP)("T9LFLb"),re(e),n?(0,d.Fl)([n],6082,!0):void 0,o5,void 0,t,{disabled:o}));var rn=n(886440);let ro=e=>{(0,oJ.hR)(e,e=>{let t=e.getImageSelection();t&&(e.setEditingImage(null,!1),e.setEditingImage(t,8))})},rr=(e,t,n,o)=>(0,d.lC)((0,c.V)(6083,e),(0,f.ZP)("M3h6Oc"),(0,h.W)(6083,ro,e),n?(0,d.Fl)([n],6083):void 0,rn.Z,void 0,(0,o0.E)(t),{disabled:o,takeFocusOnClick:!0});var ri=n(945271);let ra=(e,t)=>{t(t=>{t.length>0&&(0,en.j0)(e,t[0])})},rl=(e,t,n,o,r)=>(0,d.lC)((0,c.V)(6084,e),(0,f.ZP)("KQlOl"),(0,h.W)(6084,ra,e,t),o?(0,d.Fl)([o],6084):void 0,ri.Z,void 0,(0,o0.E)(n),{disabled:r,takeFocusOnClick:!0});var rs=n(907881);let rd=(0,s._)((e,t,n,o,r)=>{let i="pictureSizeMenuDefinitionStore";return(0,d.c9)((0,c.V)(6081,e),(0,f.ZP)("b4qdh"),(0,k.O)(e,i),o?(0,d.Fl)([o],6081,!0):void 0,rs.Z,void 0,n,{disabled:r,onExecute:n=>{let{event:o}=n;o?.stopPropagation(),function(e,t){oj.m1.import().then(n=>{(0,x.Rl)(e,"pictureSizeMenuDefinitionStore",()=>({sections:n(e,t)}))})}(e,t)},onAfterMenuDismiss:()=>{(0,x.SN)(e,i),oQ(e,t),(0,R.G)(e,"focus")}})});var rc=n(800422);let ru=(0,s._)((e,t,n,o,r)=>(0,d.lC)((0,c.V)(12002,e),(0,f.ZP)("R2Dlec"),()=>{(0,R.G)(e,"redo")},n?(0,d.Fl)([n],12002):void 0,rc.Z,void 0,t,{disabled:r||!o.canRedo}));var rm=n(300492);let rp=(0,s._)((e,t,n)=>{let s=n.composeViewState,d=s.composeId,c=(0,ef.i)(),u=!!s.useContentModelEditor,m=(0,eX.mu)(1),p=m?(0,eg.gU)():(0,ew.cr)("mon-ribbon-mlr-redesign")?c:void 0,f=s.editorId,g=s.ribbon.formatViewState,v=s.ribbon.drawViewState,I=(0,i.H)(e,n.isPopout,d,s.mailboxInfo),w=nR.get(e),y=oo(n.attachmentPickers.addImagesInline.computer.current),P=oi.Z.Ribbon;switch(e){case 6001:return(0,et.k)(f,d,a.Am,g,c,t,I,P);case 6002:return(0,eY.V)(f,d,a.Am,g,c,t,I,P);case 6003:return(0,n9.U)(f,d,a.Am,g,c,t,I,P);case 6004:return nf(f,d,a.Am,g,c,t,I,P);case 6005:return es(f,g,c,t,I,P);case 6006:return e7(f,g,c,t,I,P);case 6017:return(0,D.NF)(f,c,t,I,P);case 6018:return(0,D.Ry)(f,c,t,I,P);case 6019:return(0,D.fR)(f,c,t,I,P);case 6110:return(0,D.GI)(f,c,t,I,P);case 6071:return A(f,c,t,I,P,u);case 6009:return(0,ep.B)(!0,f,d,a.Am,g,c,t,void 0,I);case 6010:return(0,ep.B)(!1,f,d,a.Am,g,c,t,void 0,I);case 6013:return n8(f,g,p,t,I);case 6011:return(0,te.I_)(f,c,t,I,!1,d,a.Am,void 0);case 6012:return tn(f,d,a.Am,g,p,t,I);case 6016:return tx(f,g,c,t,I,P);case 6024:return em(f,c,c,t,I,P);case 6022:return nv(f,d,a.Am,g,c,t,I,P);case 6023:return nh(f,d,a.Am,g,c,t,I,P);case 6007:return eq(f,c,t,I,P);case 6008:return e8(f,c,t,I,P);case 6020:return e0(f,c,t,I,P);case 6021:return tW(f,c,t,I,P);case 6025:return(0,eO.V)(f,g,t,p,I,P);case 6026:return(0,e_.H)(f,g,t,p,I,P);case 6027:return(0,eL._p)(f,g,t,I,s.rawComposeFormat?.fontName,P);case 6028:return(0,eV.a)(f,g,t,I,s.rawComposeFormat?.fontSize,P);case 6029:return eH(f,g,c,t,I,P);case 6030:return tU(f,c,t,I,P);case 6073:return(0,ng.U)(f,g.isBlockQuote??!1,g.headerLevel??-1,c,t,I,P);case 6075:return os(f,c,g,t,I,P);case 637:return ny(f,d,a.Am,t,c,I,P);case 620:return H(s,a.Am,n.attachmentPickers.addFilesAsAttachments,t,!s||(0,oe.Z)(s)||I,void 0,c);case 506:return $(f,s,a.Am,t,c,I);case 638:return E(f,y,c,I,t);case 639:return(0,b.Y)(f,d,a.Am,c,t,I,void 0);case 7025:return(0,od.T)(f,(0,h.W)(7025,oa,d,a.Am),t,p,g,I,P);case 529:return(0,Z.w)(f,c,t,I);case 7016:return e9(f,s,a.Am,c,t,I);case 7021:return ts(f,d,a.Am,c,t,I);case 7023:return th(f,d,a.Am,c,t,I);case 7011:return ex(f,d,a.Am,"MailComposeView",c,t,I);case 7e3:return eN(f,d,a.l3,c,(0,r.Ev)(e,d),t,s.mailboxInfo);case 7026:return oK(f,d,a.l3,t,s.mailboxInfo,c,(0,r.Ev)(e,d));case 560:return tQ(f,d,a.Am,t,c,void 0,I);case 564:return t7(f,s,a.Am,t,c,I);case 7012:return eZ(f,s,a.Am,t,c,I);case 7004:return S(f,d,a.Am,c,t,I);case 7029:return eP(f,d,s.augloopSession,s.mailboxInfo,a.Am,p,t,I);case 7002:let C="HTML"!=s.bodyType;return nb(f,d,a.Am,C,c,t,I);case 7001:let M=s.proofing?.isProofingDisabled||I;return tT(s.proofing,f,M,c,t,s.mailboxInfo);case 7010:return nu(f,d,a.Am,c,t,I);case 7005:return e$(f,d,a.Am,s.importance,c,t,I);case 7006:return eQ(f,d,a.Am,s.importance,c,t,I);case 7013:return t1(f,d,a.Am,c,t,I);case 7009:return ns(f,d,a.Am,c,t,I);case 7019:return ni(!0,f,d,a.Am,c,t,I);case 7020:return ni(!1,f,d,a.Am,c,t,I);case 7014:return t_(f,d,a.Am,c,t,!0,I);case 7015:return t_(f,d,a.Am,c,t,!1,I);case 7031:return tB(f,d,a.Am,c,t,I);case 6072:return ee(f,d,a.Am,c,t,I);case 7003:return n4(f,d,a.Am,c,t,I);case 6049:case 6058:case 6059:case 6060:case 6061:case 6045:case 6043:case 6044:case 6050:case 6051:case 6052:case 6053:case 6055:case 6056:return(0,nA.x)(f,e,g,c,w,void 0,t,void 0);case 6042:case 6054:case 6057:return(0,nD.t)(f,e,g,c,void 0,w,t);case 6046:return n0(f,t);case 6037:return(0,nP.B)(f,s.ribbon,c,l.Z,t);case 6047:let T;return m?(T=(0,eg.gU)()).root&&(T.root.marginLeft=3):T={splitButtonContainer:{marginLeft:3}},(0,ed.t)(f,g,t,T);case 6087:return(0,rm.q)(f,c,w,t,!1);case 6098:return n_(f,c,s.ribbon.tableBorderFormatState,t,!1,m);case 6097:return nL(f,c,s.ribbon.tableBorderFormatState,t,!1);case 6100:return nB(f,d,c,a.Am,t,!1);case 6079:return o$(f,d,a.Am,c,s.ribbon.pictureFormatState,t,I);case 6080:return oX(f,s.ribbon.pictureFormatState,c,t,I);case 6081:return rd(f,s.ribbon.pictureFormatState,c,t,I);case 6082:return rt(f,c,t,I);case 6083:return rr(f,c,t,I);case 6084:return rl(f,y,c,t,I);case 6085:return o3(f,c,t,I);case 12011:return om(f,d,a.Am,v,c,t,I);case 12010:return ov(f,d,a.Am,v,c,t,I);case 12004:return oG(f,d,a.Am,v,c,t,I);case 12003:return oV(f,d,a.Am,v,c,t,I);case 12001:return oN(f,c,t,g,I);case 12002:return ru(f,c,t,g,I);case 12005:return oA(f,d,a.Am,v,c,t,I);case 12006:return oR(f,d,a.Am,v,c,t,I);case 12007:return ox(f,d,a.Am,v,c,t,I);case 12008:return oF(f,d,a.Am,v,c,t,I);case 12009:return oD(f,d,a.Am,v,c,t,I);case 12012:return oH(f,d,a.Am,v,c,t);default:(0,o.rx)("Unknown control: "+e+" searched for in getComposeTabsControlDefinition");return}})},439893:(e,t,n)=>{n.d(t,{CL:()=>N,iy:()=>_,IZ:()=>O,Sb:()=>L,V3:()=>et,Mg:()=>j,Qi:()=>en,Fl:()=>V,gm:()=>B,GS:()=>G,GU:()=>U,Ri:()=>Y,d_:()=>H,Yi:()=>K,rR:()=>W,Xs:()=>z,rv:()=>Q,D3:()=>$,mP:()=>q,d6:()=>ee,lz:()=>X,wz:()=>J});var o=n(798571),r=n(561572),i=n(505274),a=n(296484),l=n(113696),s=n(999135);let d=(e,t)=>{l.kO.import().then(n=>{(0,s.R)("AssignPolicyMenuDefinitionStore",t.projectionTabId,()=>({sections:n(e,t)}))})},c=(e,t)=>{l.oC.import().then(n=>{(0,s.R)("BlockMenuDefinitionStore",t.projectionTabId,()=>({sections:n(e,t)}))})},u=(e,t)=>{l.s0.import().then(n=>{(0,s.R)("CategorizeMenuDefinitionStore",t.projectionTabId,()=>({sections:n(e,t)}))})},m=(e,t)=>{l.Gh.import().then(n=>{(0,s.R)("FlagUnflagMenuDefinitionStore",t.projectionTabId,()=>({sections:n(e,t)}))})},p=e=>{l.IZ.import().then(t=>{(0,s.R)("ForwardMenuDefinitionStore",e.projectionTabId,()=>({sections:t(e)}))})},f=(e,t)=>{l.rN.import().then(n=>{(0,s.R)("ReportMenuDefinitionStore",t.projectionTabId,()=>({sections:n(e,t)}))})},g=e=>{l.SI.import().then(t=>{(0,s.R)("RespondMenuDefinitionStore",e.projectionTabId,()=>({sections:t(e)}))})},v=e=>{l.Pv.import().then(t=>{(0,s.R)("RulesMenuDefinitionStore",e.projectionTabId,()=>({sections:t(e)}))})},h=e=>{l.DE.import().then(t=>{(0,s.R)("CopilotMeetingMenuDefinitionStore",e.projectionTabId,()=>({sections:t(e)}))})},I=(e,t,n)=>{l.y3.import().then(o=>{(0,s.R)("TeamsChatMenuDefinitionStore",n.projectionTabId,()=>({sections:o(e,t,n)}))})};var S=n(929380),b=n(75953),w=n(122307),y=n(420010),P=n(770425),C=n(137184),E=n(222664),Z=n(697239),M=n(205937),T=n(284063),F=n(317379),k=n(540439),x=n(664751),R=n(822537),A=n(328138);let D=(e,t)=>{l.E_.import().then(n=>{(0,s.R)("CopyToMenuDefinitionStore",t.projectionTabId,()=>({sections:n(e,t)}))})},N=(0,b._)(function(e,t,n){let l=(0,M.W)(505,n),{projectionTabId:s,itemId:d}=n;return(0,r.$I)((0,T.m)(505,d),l.text,l.tooltip,n,(0,y.W)(505,a.zn,s,R.x1,d),(0,o.Fl)([t],505),l.iconName,void 0,e?(0,i.Ef)():void 0,d)}),_=(0,b._)(function(e,t,n){let a=(0,M.W)(616,n),l="AssignPolicyMenuDefinitionStore";return(0,r.UA)((0,T.m)(616,n.itemId),a.text,a.tooltip,n,(0,Z.rF)(l,n.projectionTabId),(0,o.Fl)([t],616,!0),a.iconName,void 0,e?(0,i.Ef)():void 0,n.itemId,{onExecute:()=>{d(t,n)},onAfterMenuDismiss:()=>{(0,S.SN)(l,n.projectionTabId)}})}),O=(0,b._)(function(e,t,n){let l=(0,M.W)(658,n),{projectionTabId:s,itemId:d}=n,u="BlockMenuDefinitionStore";return(0,r.qt)((0,T.m)(658,d),l.text,l.ariaText,l.tooltip,n,(0,Z.rF)(u,n.projectionTabId),(0,y.W)(658,a._1,s,R.x1,d),(0,o.Fl)([t],658,!0),l.iconName,void 0,e?(0,i.gU)():void 0,d,{onMenuButtonExecute:()=>{c(t,n)},onAfterMenuDismiss:()=>{(0,S.SN)(u,n.projectionTabId)}})}),L=(0,b._)(function(e,t,n){let a=(0,M.W)(509,n),l="CategorizeMenuDefinitionStore";return(0,r.UA)((0,T.m)(509,n.itemId),a.text,a.tooltip,n,(0,Z.rF)(l,n.projectionTabId),(0,o.Fl)([t],509,!0),a.iconName,void 0,e?(0,i.Ef)():void 0,n.itemId,{delayUpdateFocusOnHover:!0,onExecute:()=>{u(t,n)},onAfterMenuDismiss:()=>{(0,x.JA)(void 0),(0,S.SN)(l,n.projectionTabId)},shouldFocusOnMount:!1,shouldFocusOnContainer:!1,enableDownArrowNavigation:!0})}),V=(0,b._)(function(e,t,n){let l=(0,M.W)(519,n),{projectionTabId:s,itemId:d}=n;return(0,r.$I)((0,T.m)(519,d),l.text,l.tooltip,n,(0,y.W)(519,a.SU,s,R.x1,d),(0,o.Fl)([t],519,!0),l.iconName,void 0,e?(0,i.Ef)():void 0,d)}),B=(0,b._)(function(e,t,n){let l=(0,M.W)(527,n),s="FlagUnflagMenuDefinitionStore";return(0,r.qt)((0,T.m)(527,n.itemId),l.text,l.ariaText,l.tooltip,n,(0,Z.rF)(s,n.projectionTabId),(0,y.W)(527,a.dW,void 0,void 0,n.itemId),(0,o.Fl)([t],527,!0),l.iconName,void 0,e?(0,i.gU)():void 0,n.itemId,{onMenuButtonExecute:()=>{m(t,n)},onAfterMenuDismiss:()=>{(0,S.SN)(s,n.projectionTabId)}})}),G=(0,b._)(function(e,t,n){let l=(0,M.W)(555,n),s="ForwardMenuDefinitionStore",{projectionTabId:d,itemId:c}=n;return(0,r.qt)((0,T.m)(555,c),l.text,l.ariaText,l.tooltip,n,(0,Z.rF)(s,n.projectionTabId),(0,y.W)(555,a.Ut,d,R.x1,c),(0,o.Fl)([t],555),l.iconName,void 0,e?(0,i.gU)():void 0,c,{onMenuButtonExecute:()=>{p(n)},onAfterMenuDismiss:()=>{(0,S.SN)(s,n.projectionTabId)}})}),U=(0,b._)(function(e,t,n){let l=(0,M.W)(532,n),{projectionTabId:s,itemId:d}=n;return(0,r.$I)((0,T.m)(532,d),l.text,l.tooltip,n,(0,y.W)(532,a._o,s,R.x1,d),(0,o.Fl)([t],532),l.iconName,void 0,e?(0,i.Ef)():void 0,d)}),H=(0,b._)(function(e,t,n){let{projectionTabId:l,itemId:s,isPopout:d}=n,c=(0,w.I)(),u=(0,F.Y)(n),m=d?(0,P.I)(549,s):(0,C.B)(549,!1,u,void 0)||c?.isComposeRendered,p=(0,M.W)(549,n);return(0,r.$I)((0,T.m)(549,s),p.text,p.tooltip,n,(0,y.W)(549,a.cL,l,R.x1,s),(0,o.Fl)([t],549),p.iconName,void 0,e?(0,i.Ef)():void 0,void 0,{disabled:m})}),W=(0,b._)(function(e,t,n){let l=(0,M.W)(556,n),{projectionTabId:s,itemId:d}=n;return(0,r.$I)((0,T.m)(556,d),l.text,l.tooltip,n,(0,y.W)(556,a.Vb,s,R.x1,d),(0,o.Fl)([t],556),l.iconName,void 0,e?(0,i.Ef)():void 0,d)}),K=(0,b._)(function(e,t,n){let l=(0,M.W)(557,n),{projectionTabId:s,itemId:d}=n;return(0,r.$I)((0,T.m)(557,d),l.text,l.tooltip,n,(0,y.W)(557,a.hq,s,R.x1,d),(0,o.Fl)([t],557),l.iconName,void 0,e?(0,i.Ef)():void 0,d)}),z=(0,b._)(function(e,t,n){let l=(0,M.W)(553,n);return(0,r.$I)((0,T.m)(553,n.itemId),l.text,l.tooltip,n,(0,y.W)(553,a.Yt,n.itemId),(0,o.Fl)([t],553),l.iconName,void 0,e?(0,i.Ef)():void 0,n.itemId)}),j=(0,b._)(function(e,t,n){let l=(0,M.W)(698,n),{itemId:s}=n,d="CopilotMeetingMenuDefinitionStore";return(0,r.qt)((0,T.m)(698,s),l.text,l.ariaText,l.tooltip,n,(0,Z.rF)(d,n.projectionTabId),(0,y.W)(698,a.jp,s),(0,o.Fl)([t],698,!0),l.iconName,void 0,e?(0,i.gU)():void 0,s,{onMenuButtonExecute:()=>{h(n)},onAfterMenuDismiss:()=>{(0,S.SN)(d,n.projectionTabId)}})}),Q=(0,b._)(function(e,t,n){let l=(0,M.W)(657,n),{itemId:s}=n,d="ReportMenuDefinitionStore";return(0,r.qt)((0,T.m)(657,s),l.text,l.ariaText,l.tooltip,n,(0,Z.rF)(d,n.projectionTabId),(0,y.W)(657,a.eO,n,R.x1),(0,o.Fl)([t],657,!0),l.iconName,void 0,e?(0,i.gU)():void 0,s,{onMenuButtonExecute:()=>{f(t,n)},onAfterMenuDismiss:()=>{(0,S.SN)(d,n.projectionTabId)}})}),$=(0,b._)(function(e,t,n){let l=(0,k.Z)(),s=(0,M.W)(678,n),{itemId:d,projectionTabId:c,isPopout:u}=n,m=(0,F.Y)(n),p="RespondMenuDefinitionStore";return(0,r.qt)((0,T.m)(678,d),s.text,s.ariaText,s.tooltip,n,(0,Z.rF)(p,n.projectionTabId),(0,y.W)(678,l?a.hq:a.Vb,c,R.x1,d),(0,o.Fl)([t],678),s.iconName,void 0,e?(0,i.gU)():void 0,void 0,{primaryDisabled:u?(0,P.I)(l?681:679,d):!(0,E.__)(l?59:58,m),onMenuButtonExecute:()=>{g(n)},onAfterMenuDismiss:()=>{(0,S.SN)(p,n.projectionTabId)}})}),q=(0,b._)(function(e,t,n){let a=(0,M.W)(559,n),l="RulesMenuDefinitionStore";return(0,r.UA)((0,T.m)(559,n.itemId),a.text,a.tooltip,n,(0,Z.rF)(l,n.projectionTabId),(0,o.Fl)([t],559,!0),a.iconName,void 0,e?(0,i.Ef)():void 0,n.itemId,{onExecute:()=>{v(n)},onAfterMenuDismiss:()=>{(0,S.SN)(l,n.projectionTabId)}})}),X=(0,b._)(function(e,t,n){let l=(0,M.W)(552,n);return(0,r.$I)((0,T.m)(552,n.itemId),l.text,l.tooltip,n,(0,y.W)(552,a.IV,n.itemId),(0,o.Fl)([t],552),l.iconName,void 0,e?(0,i.Ef)():void 0,n.itemId)}),Y=(0,b._)(function(e,t,n){let{projectionTabId:l,itemId:s}=n,d=(0,M.W)(686,n);return(0,r.$I)((0,T.m)(686,n.itemId),d.text,d.tooltip,n,(0,y.W)(686,a.p$,s,n.mailboxInfo,l,R.x1),(0,o.Fl)([t],686),d.iconName,void 0,e?(0,i.Ef)():void 0,n.itemId)}),J=(0,b._)(function(e,t,n){let{projectionTabId:l}=n,s=(0,M.W)(688,n);return(0,r.$I)(688,s.text,s.tooltip,n,(0,y.W)(t,a.VI,l,R.x1),(0,o.Fl)([t],688),s.iconName,void 0,e?(0,i.Ef)():void 0)}),ee=(0,b._)(function(e,t,n){let{projectionTabId:l,itemId:s}=n,d=(0,M.W)(697,n);return(0,r.$I)((0,T.m)(697,s),d.text,d.tooltip,n,(0,y.W)(697,a.rm,s,l,R.x1),(0,o.Fl)([t],697),d.iconName,void 0,e?(0,i.Ef)():void 0,s)}),et=(0,b._)(function(e,t,n){let l=(0,M.W)(702,n),s="TeamsChatMenuDefinitionStore";return(0,r.qt)((0,T.m)(702,n.itemId),l.text,l.ariaText,l.tooltip,n,(0,Z.rF)(s,n.projectionTabId),(0,y.W)(702,a.F6,e,n.itemId,(0,F.Y)(n),A.$1.Reply),(0,o.Fl)([t],702,!0),l.iconName,void 0,e?(0,i.gU)():void 0,n.itemId,{onMenuButtonExecute:()=>{I(e,t,n)},onAfterMenuDismiss:()=>{(0,S.SN)(s,n.projectionTabId)}})}),en=(0,b._)(function(e,t,n){let a=(0,M.W)(705,n),l="CopyToMenuDefinitionStore";return(0,r.UA)((0,T.m)(705,n.itemId),a.text,a.tooltip,n,(0,Z.rF)(l,n.projectionTabId),(0,o.Fl)([t],705,!0),a.iconName,void 0,e?(0,i.Ef)():void 0,n.itemId,{onExecute:()=>{D(t,n)},onAfterMenuDismiss:()=>{(0,S.SN)(l,n.projectionTabId)}})})},929380:(e,t,n)=>{n.d(t,{IN:()=>l,SN:()=>s,_q:()=>a});var o=n(697239),r=n(787012),i=n(795839);let a=(0,i.lr)("createMenuDefinitionStore",function(e){void 0!=e&&(0,o.bh)().menuDefinitionMapManager.set(e,{MenuDefinitionMap:new r.ObservableMap})}),l=(0,i.lr)("deleteMenuDefinitionStore",function(e){void 0!=e&&((0,o.bh)().menuDefinitionMapManager.has(e)&&(0,o.bh)().menuDefinitionMapManager.get(e).MenuDefinitionMap.clear(),(0,o.bh)().menuDefinitionMapManager.delete(e))}),s=(0,i.lr)("resetMenuDefinition",function(e,t){let n=t||o._G;(0,o.bh)().menuDefinitionMapManager.has(n)&&(0,o.bh)().menuDefinitionMapManager.get(n).MenuDefinitionMap.has(e)&&(0,o.bh)().menuDefinitionMapManager.get(n).MenuDefinitionMap.set(e,()=>n===o._G?{sections:[]}:{sections:[{controls:[{type:"AppButtonProps",id:"controlPlaceHolder",label:""}]}]})})},999135:(e,t,n)=>{n.d(t,{R:()=>r});var o=n(697239);let r=(0,n(795839).lr)("setMenuDefinition",function(e,t,n){let r=t||o._G;(0,o.bh)().menuDefinitionMapManager.has(r)&&o.bh().menuDefinitionMapManager.get(r)?.MenuDefinitionMap.set(e,n)})},697239:(e,t,n)=>{n.d(t,{_G:()=>i,bh:()=>l,rF:()=>s});var o=n(787012),r=n(795839);let i="main_window",a=(0,r.MT)("RibbonMenuDefinitionStore",{menuDefinitionMapManager:new o.ObservableMap([[i,{MenuDefinitionMap:new o.ObservableMap}]])})(),l=()=>a,s=(e,t)=>{let n=t||i;return a.menuDefinitionMapManager.has(n)&&a.menuDefinitionMapManager.get(n).MenuDefinitionMap.has(e)?a.menuDefinitionMapManager.get(n).MenuDefinitionMap.get(e)():n===i?{sections:[]}:{sections:[{controls:[{type:"AppButtonProps",id:"controlPlaceHolder",label:""}]}]}}},284587:(e,t,n)=>{n.d(t,{z:()=>o});let o=[7,13]},38942:(e,t,n)=>{n.d(t,{b:()=>s});var o=n(798571),r=n(816056),i=n(677150),a=n(75953),l=n(884155);let s=(0,a._)(function(e,t,n,a){let s=[];if(2!==(0,l.SI)()){s.push((0,o.Zo)(558));let t=a?(0,i.H)(e.controlsInOverflow,a):(0,r.y)(e.controlsInOverflow,n);0!==t.length&&s.push((0,o.Zo)(...t))}if(0!==t.length&&0!==e.showLabelsPreference){let e=a?(0,i.H)(t,a):(0,r.y)(t,n);0!==e.length&&s.push((0,o.d3)(...e))}if(2===e.showLabelsPreference){let t=[];e.layout.forEach(e=>t=t.concat(...e.controlIds));let l=a?(0,i.H)(t,a):(0,r.y)(t,n);0!==l.length&&s.push((0,o.d3)(...l))}return s})},164280:(e,t,n)=>{n.d(t,{Z:()=>v});var o=n(75953),r=n(798571),i=n(302140),a=n(992571),l=n(86650),s=n(38942),d=n(583235),c=n(22350),u=n(208811),m=n(215230),p=n(459672),f=n(284587);let g=e=>{let t=(0,a.eo)().multiline;switch(e){case 4:return t.formatTab;case 5:return t.insertTab;case 10:return t.messageTab;case 11:return t.optionsTab;case 7:return t.tableFormatTab;case 12:return t.drawTab;case 13:return t.pictureTab;default:return(0,p.v)(e)}},v=(0,o._)(function(e,t,n,o,a){let p=m.g.get(t)??"",v=g(t),h=e.composeViewState?.editorId;return{type:r.vp,id:(0,l.f)(t,h,void 0,e.isPopout),title:(0,i.ZP)(p),controlGroups:{type:r.vp,groups:(0,c.k)(t,v.layout,u.d,o,a,e)},initialScalingSteps:(0,s.b)(v,n,h,void 0),scalingSteps:(0,d.E)(t),keytipProps:(0,r.Fl)([],t,!0),tabType:f.z.indexOf(t)>-1?"contextual":"default"}})},188630:(e,t,n)=>{let o;n.d(t,{lr:()=>M,ms:()=>T,ju:()=>F});var r=n(75953),i=n(120018),a=n(97503),l=n(66004),s=n(495463),d=n(734039),c=n(927807),u=n(822537),m=n(901199),p=n(167944),f=n(34640),g=n(863760),v=n(715931),h=n(248406),I=n(304048),S=n(636006),b=n(206339),w=n(442305),y=n(67199);let P=(0,r._)(function(e,t){let n=(0,i.$4)(e.composeId),o=(0,f.H)(e?.isInSharedFolder),r=(0,a.Z)(s.am.MessageCompose,o,n,e.mailboxInfo,t).filter(l.o).filter(t=>(0,l.c)(t,e.mailboxInfo)),d=(0,m.Z)(p.X.SurfaceActions).composeSurfaceAddins,c=(0,S.Q)();return(0,b.cr)("mos-messageExtensionPinning")&&(0,w.D)(c)&&(0,v.S)((0,h.WQ)(),void 0,(0,b.MS)()?c:void 0).forEach(e=>{(0,I.o$)(e)&&d.includes(e.appId??"")&&(r.some(t=>t.key===e.appId)?(0,y.y8)("Duplicate_AddIn_Found_RibbonPinnedList"):r.push((0,g.Z)({id:e.appId??"",name:e.titleDefinition.name??"",description:e.titleDefinition.shortDescription??"",iconUrl:e.titleDefinition.iconLarge?.uri??""})))}),r.filter(e=>d.includes(e.key))}),C=(0,r._)(function(e,t){let n=(0,i.$4)(e.composeId),o=(0,f.H)(e?.isInSharedFolder);return(0,a.Z)(s.am.MessageCompose,o,n,e.mailboxInfo,t).filter(l.o).filter(t=>(0,l.c)(t,e.mailboxInfo))});var E=n(313899);let Z=!1,M=(0,r._)(function(){return Z||(o=(0,E.O)()?function(){let e=new Map,t=9e4;return{controlsGroupName:"ComposeAddInsPinned",shouldAddScalingSteps:()=>!0,getControlsProps:n=>{let o=n.composeViewState;if(!o)return[];let r=(0,d.i)(),i=u.Am(o.composeId)?.targetWindow??window;return P(o,i).map(n=>{let a=e.get(n.key)?.controlId;a||(a=++t);let l={controlId:a,buttonProps:(0,c.P)(n,o.composeId,o.editorId,a,i,r)};return e.set(n.key,l),l})},getControlIds:()=>Array.from(e.values()).map(({controlId:e})=>e)}}():function(){let e=new Map,t=91e3;return{controlsGroupName:"ComposeAddInsInstalled",shouldAddScalingSteps:()=>!1,getControlsProps:(0,r._)(function(n){let o=n.composeViewState;if(!o)return[];let r=(0,d.i)(),i=u.Am(o.composeId)?.targetWindow??window;return C(o,i).map(n=>{let a=e.get(n.key)?.controlId;a||(a=++t);let l={controlId:a,buttonProps:(0,c.P)(n,o.composeId,o.editorId,a,i,r)};return e.set(n.key,l),l})}),getControlIds:()=>Array.from(e.values()).map(({controlId:e})=>e)}}(),Z=!0),o}),T=(0,r._)(function(e){return 159===e||165===e}),F=(0,r._)(function(e){return 192===e})},215230:(e,t,n)=>{n.d(t,{g:()=>I,Z:()=>b});var o=n(75953),r=n(459672),i=n(798571),a=n(302140),l=n(35337),s=n(992571),d=n(86650),c=n(208811),u=n(38942),m=n(188630),p=n(816056);let f=(0,o._)(function(e,t){let n=[];switch(e){case 5:case 10:let o=(0,m.lr)();if("ComposeAddInsInstalled"===o.controlsGroupName){let e=(0,p.y)(o.getControlIds(),t);e.length>0&&n.push((0,i.Zo)(...e))}}return n});var g=n(583235),v=n(22350),h=n(284587);let I=new Map([[4,l.ZP.format_tab],[5,l.ZP.insert_tab],[10,l.ZP.message_tab],[11,l.ZP.options_tab],[7,l.ZP.format_table_tab],[12,l.ZP.draw_tab],[13,l.ZP.format_picture_tab]]),S=e=>{let t=(0,s.eo)().singleline;switch(e){case 4:return t.formatTab;case 5:return t.insertTab;case 10:return t.messageTab;case 11:return t.optionsTab;case 7:return t.tableFormatTab;case 12:return t.drawTab;case 13:return t.pictureTab;default:return(0,r.v)(e)}},b=(0,o._)(function(e,t,n,o,r,l){let s=I.get(t)??"",m=S(t),p=e.composeViewState?.editorId;return{id:(0,d.f)(t,p,void 0,e.isPopout),type:i.uh,title:(0,a.ZP)(s),controlGroups:{type:i.uh,groups:(0,v.z)(t,m.layout,c.d,e)},initialScalingSteps:[...f(t,p),...(0,u.b)(m,l,p,void 0)],scalingSteps:(0,g.p)(m.layout,m.showLabelsPreference,o,r,n,p,void 0),keytipProps:(0,i.Fl)([],t,!0),tabType:h.z.indexOf(t)>-1?"contextual":"default"}})},583235:(e,t,n)=>{n.d(t,{E:()=>c,p:()=>u});var o=n(188630),r=n(816056),i=n(677150),a=n(798571),l=n(619776),s=n(75953),d=n(284063);let c=(0,s._)(function(e){let t=[];return 1===e&&t.push((0,a.gq)(128),(0,a.gq)(113),(0,a.gq)(121)),t}),u=(0,s._)(function(e,t,n,s,c,u,m){let p=[];if(1===t)for(let t=e.length-1;t>=0;t--){let n=e[t].controlIds.filter(e=>!c.includes(e));if((0,o.ms)(e[t].groupId)){let e=(0,o.lr)();e.shouldAddScalingSteps()&&n.push(...e.getControlIds())}n.length>0&&(m?p.push((0,a.d3)(...(0,i.H)(n,m))):p.push((0,a.d3)(...(0,r.y)(n,u))))}let f=e=>{let t;t=u?(0,l.V)(e,u):m?(0,d.m)(e,m):e,p.push((0,a.Zo)(t))};if(s.length>0)for(let e=0;e<s.length;e++)n.includes(s[e])||f(s[e]);for(let t=e.length-1;t>=0;t--){if((0,o.ms)(e[t].groupId)){let e=(0,o.lr)();if(e.shouldAddScalingSteps()){let t=e.getControlIds();for(let e=t.length-1;e>=0;e--)f(t[e])}}let r=e[t].controlIds;for(let e=r.length-1;e>=0;e--)n.includes(r[e])||s.includes(r[e])||f(r[e])}return p})},22350:(e,t,n)=>{n.d(t,{k:()=>M,z:()=>Z});var o=n(636283),r=n(798571),i=n(619776),a=n(958569),l=n(745225);let s=(e,t,n)=>({type:r.vp,id:(0,i.V)(t,n).toString(),title:"",controls:[],layouts:[],commonGroupFlyout:void 0,keytipProps:(0,r.Fl)([e],e)}),d=(e,t,n)=>({type:r.uh,id:(0,i.V)(t,n).toString(),title:"",overflowMenuLauncherLabel:(0,l.b)(a.$A),hasOwnOverflow:!1,shouldAllowAllControlsInOverflow:!0,controls:[],keytipProps:(0,r.Fl)([e],e)});var c=n(75953),u=n(720260),m=n(188630),p=n(247568),f=n(97503),g=n(66004),v=n(495463),h=n(734039),I=n(927807),S=n(822537),b=n(206339);let w=(0,c._)((e,t)=>(0,f.Z)(v.am.IntegratedSpam,!1,"",e,t).filter(g.o).filter(t=>(0,g.c)(t,e))),y=[function(){let e=new Map,t=91e3,n={controlsGroupName:"ReadAddInsInstalled",isControlGroupEnabledForSpamIntegration:()=>(0,b.cr)("addin-enableIntegratedSpam"),shouldAddScalingSteps:()=>!1,shouldAddControlsToTabGroup:e=>n.isControlGroupEnabledForSpamIntegration()&&192===e.groupId,getControlsProps:(0,c._)(n=>{if(n.isPopout&&!n.itemId)return[];let o=(0,h.i)(),r=(0,S.x1)(n.projectionTabId)??window;return w(n.mailboxInfo,r).map(i=>{let a=e.get(i.key)?.controlId;a||(a=++t);let l={controlId:a,buttonProps:(0,I.T)(i,a,r,o,n)};return e.set(i.key,l),l})}),getControlsId:()=>Array.from(e.values()).map(({controlId:e})=>e)};return n}()],P=(0,c._)(function(e,t,n,r){let i=[];for(let a of t.controlIds)(0,p.t)(e,a,r,!1)&&function(e,t,n,r,i){let a=r(t,n,i);a?e.push(a):(0,o.ZU)("pushRibbonControl, cannot find control: "+t)}(i,a,e,n,r);return(0,m.ms)(t.groupId)&&(0,m.lr)().getControlsProps(r).forEach(({buttonProps:e})=>{i.push(e)}),(0,b.cr)("addin-enableIntegratedSpam")&&(0,m.ju)(t.groupId)&&y.forEach(({shouldAddControlsToTabGroup:e,getControlsProps:n})=>{e(t)&&n(r).forEach(({buttonProps:e})=>{i.push(e)})}),i});var C=n(302140),E=n(566224);let Z=(0,c._)(function(e,t,n,o){let r=[];for(let i of t){if(!(0,E.X)(e,i.groupId,o))continue;let t=d(e,i.groupId,o.composeViewState?.editorId);t.title=T(i),t.hasOwnOverflow=i.hasOwnOverflow,t.controls=P(e,i,n,o),r.push(t)}return r}),M=(0,c._)(function(e,t,n,o,r,i){let a=[];for(let l of t){if(!(0,E.X)(e,l.groupId,i))continue;let t=P(e,l,n,i);if(0===t.length)continue;let d=s(e,l.groupId,i.composeViewState?.editorId);d.title=T(l),d.controls=t,d.layouts=o(l.groupId,i),d.commonGroupFlyout=r(l.groupId,i),a.push(d)}return a});function T(e){return void 0!=e.groupName?e.groupName:u.f.has(e.groupId)?(0,C.ZP)(u.f.get(e.groupId)):((0,o.rx)("Group "+e.groupId+" was not added to defaultGroupStringMap.ts"),"")}},286627:(e,t,n)=>{n.d(t,{M:()=>r});let o=new Map([[505,3],[616,4],[507,0],[658,0],[508,6],[509,6],[612,0],[510,3],[514,6],[516,6],[518,4],[519,6],[593,6],[625,3],[525,2],[527,0],[528,2],[108,6],[109,6],[113,4],[128,0],[145,4],[531,0],[532,4],[535,0],[652,4],[537,4],[538,3],[540,4],[584,6],[585,6],[586,6],[587,6],[589,6],[641,6],[640,6],[642,6],[545,4],[546,2],[547,2],[548,4],[549,6],[550,2],[552,6],[553,5],[696,5],[698,5],[699,5],[700,5],[657,0],[678,5],[555,4],[680,4],[651,4],[556,5],[679,5],[557,5],[681,5],[683,6],[684,6],[594,6],[567,6],[570,4],[571,6],[572,6],[580,6],[581,4],[663,6],[643,4],[690,6],[687,6],[688,6],[6018,6],[6017,6],[6019,6],[6110,6],[6001,6],[6005,6],[6024,6],[6029,2],[6007,6],[6002,6],[6020,6],[6006,6],[6008,6],[6011,2],[6012,2],[6016,6],[6030,6],[6021,6],[6004,6],[6022,6],[6023,6],[6003,6],[6013,6],[6072,6],[638,4],[620,6],[7017,6],[621,6],[622,6],[623,4],[506,4],[7004,3],[7003,6],[7029,4],[639,2],[7012,2],[7011,1],[7e3,6],[529,1],[7016,6],[7005,0],[7006,4],[7007,6],[7021,6],[7023,6],[7027,6],[7028,6],[7001,6],[560,5],[564,4],[565,6],[7009,6],[624,6],[7010,6],[7002,6],[7030,6],[11201,1],[11202,4],[11203,3],[11204,5],[11205,6]]);function r(){return o}},816056:(e,t,n)=>{n.d(t,{y:()=>r});var o=n(619776);function r(e,t){if(void 0===t)return e;let n=[];return e.forEach(e=>{n.push((0,o.V)(e,t))}),n}},677150:(e,t,n)=>{n.d(t,{H:()=>r});var o=n(284063);function r(e,t){if(void 0===t)return e;let n=[];return e.forEach(e=>{n.push((0,o.m)(e,t))}),n}},966640:(e,t,n)=>{n.d(t,{CG:()=>a,DN:()=>d,Iq:()=>r,V7:()=>c,WD:()=>i,Y2:()=>s,bX:()=>m,cm:()=>l,tn:()=>u});var o=n(795839);let r=(0,o.aD)("CLEAR_SEARCH_SCOPE",(e,t)=>({actionSource:e,shouldStartSearch:t})),i=(0,o.aD)("LOAD_MESSAGE_SUGGESTION_INTO_TABLE",(e,t,n,o,r,i)=>({actionSource:e,row:t,searchTableQuery:n,referenceId:o,traceId:r,itemPartId:i})),a=(0,o.aD)("LOAD_TABLE_VIEW_FROM_SEARCH_TABLE_QUERY",(e,t,n,o,r,i)=>({searchTableQuery:e,searchEndToEndPerformanceDatapoint:t,actionSource:n,onAnswerResponseReceived:o,substrateAnswerRequest:r,substrateAnswersClientFlights:i})),l=(0,o.aD)("SET_STATIC_SEARCH_SCOPE",e=>({searchScope:e})),s=(0,o.aD)("onFolderScopeUpdate",e=>({selectedSearchScope:e})),d=(0,o.aD)("START_SEARCH_WITH_CATEGORY",(e,t)=>({actionSource:e,categoryName:t})),c=(0,o.aD)("FIND_EMAIL_FROM_SENDER_CLICKED",(e,t,n,o)=>({senderName:e,senderEmail:t,currentMailbox:n,actionSource:o})),u=(0,o.aD)("FIND_EMAIL_FROM_CONVERSATION_CLICKED",(e,t,n)=>({subjectText:e,isItemView:t,currentMailbox:n})),m=(0,o.aD)("ON_ANSWER_RENDERED",e=>({placeholderId:e}))},304954:(e,t,n)=>{n.d(t,{B:()=>o});let o=(0,n(795839).aD)("startAnswersSearchSession",e=>({scenarioId:e}))},228465:(e,t,n)=>{n.d(t,{Iq:()=>a.Iq,OT:()=>d,Sg:()=>r.Sg,Vn:()=>r.Vn,Y2:()=>a.Y2,ZQ:()=>r.ZQ,_5:()=>r._5,ad:()=>u,bX:()=>a.bX,bh:()=>i.bh,bz:()=>r.bz,cz:()=>i.ZP,gx:()=>r.gx,qX:()=>r.qX,s8:()=>c,v8:()=>r.v8,w2:()=>l.Z,xp:()=>s.Z,xx:()=>r.xx});var o=n(402392),r=n(530570);n(913453);var i=n(690673),a=n(966640),l=n(52863),s=n(397457);let d=(0,o.$y)(r.gx,e=>e.AnswersContainer),c=(0,o.$y)(r.gx,e=>e.SearchHeader),u=new o._5(r.gx,e=>e.initializeAndWarmupAnswers)},530570:(e,t,n)=>{n.d(t,{EE:()=>I,Gq:()=>h,Sg:()=>b,Vn:()=>f,ZQ:()=>p,_5:()=>c,bz:()=>S,gx:()=>d,qX:()=>g,tj:()=>m,v8:()=>v,xx:()=>u});var o=n(402392),r=n(227154),i=n(59194),a=n(353428),l=n(304954),s=n(740204);let d=new o.nI(()=>Promise.all([n.e(367989),n.e(407663),n.e(592519),n.e(189658),n.e(734807),n.e(756124),n.e(546240),n.e(626842),n.e(426799),n.e(980246),n.e(696009),n.e(583427),n.e(844271),n.e(791109),n.e(363010),n.e(939129),n.e(485810),n.e(463410),n.e(32971),n.e(71995)]).then(n.bind(n,360245)),{name:"MailSearch"}),c=(0,o.$y)(d,e=>e.SearchHeaderFirstRowContent),u=(0,o.$y)(d,e=>e.CopilotContainer),m=(0,o.$y)(d,e=>e.FolderScopePicker,void 0,void 0,{onlyImportIf:()=>!!(0,s.Z)()}),p=new o.EF(d,e=>e.setStaticSearchScopeData),f=new o.EF(d,e=>e.startSearchWithCategory),g=new o._5(d,e=>e.findEmailFromSender),v=new o._5(d,e=>e.findEmailFromConversation);new o.EF(d,e=>e.initializeLivePersonaCard),new o.EF(d,e=>e.personaControlStore);let h=new o.EF(d,e=>e.createFallbackPersonaSearchTableQuery),I=new o.EF(d,e=>e.createFallbackCategorySearchTableQuery),S=new o._5(d,e=>e.initializeSearch),b=new o._5(d,e=>e.primeMailSearchZeroQueryCache);(0,o.Kv)(r.v,d,e=>e.getSuggestionsOrchestrator),(0,o.Kv)(i.e,d,e=>e.searchSessionStartedOrchestrator),(0,o.Kv)(a.F,d,e=>e.startSearchOrchestrator,{captureBundleTime:!0}),(0,o.Kv)(l.B,d,e=>e.startAnswerSearchSessionOrchestrator)},243023:(e,t,n)=>{n.d(t,{Z:()=>d});var o=n(690673),r=n(206339),i=n(45409),a=n(943385),l=n(928323),s=n(52924);function d(e){let t=e||(0,o.bh)().staticSearchScope,n=t?.kind;return n===i.D9.SharedFolders?(0,l.Z)()?a.X.SubstrateV2:a.X.FindItem:n===i.D9.PublicFolder?a.X.FindItem:s.Z().SessionSettings?.IsExplicitLogon?n===i.D9.PrimaryMailbox?(0,l.Z)()?a.X.SubstrateV2:a.X.ExecuteSearch:n===i.D9.ArchiveMailbox?(0,l.Z)()?a.X.SubstrateV2:a.X.FindItem:n===i.D9.Group?(0,l.Z)()&&(0,r.cr)("grp-3sSearch")?a.X.SubstrateV2:a.X.ExecuteSearch:a.X.SubstrateV2:n===i.D9.PrimaryMailbox||n===i.D9.ArchiveMailbox?(0,l.Z)()?a.X.SubstrateV2:a.X.ExecuteSearch:n===i.D9.Group?(0,l.Z)()&&(0,r.cr)("grp-3sSearch")?a.X.SubstrateV2:a.X.ExecuteSearch:a.X.SubstrateV2}},397457:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(991709),r=n(461788);function i(e){return(0,o.gO)(r.Z.Mail).length>0||!!e?.viewFilter&&e?.viewFilter!=="All"}},913453:(e,t,n)=>{n.d(t,{Vj:()=>r,_j:()=>a,fZ:()=>i});var o=n(967599);let r=[o.is.People],i=[o.is.File,o.is.People,o.is.Keywords],a=[o.is.File,o.is.People,o.is.Keywords,o.is.Message,o.is.Event,o.is.Category,o.is.TrySuggestion,o.is.Setting]},690673:(e,t,n)=>{n.d(t,{ZP:()=>c,MN:()=>l,bh:()=>u});var o=n(787012),r=n(795839),i=n(570929);function a(e){return Math.floor(Math.random()*e+1)}let l={toDate:void 0,fromDate:void 0,includeAttachments:!1,initialSearchScope:null,isSearchHistoryDirty:!1,isAnswerInitialized:!1,isAnswerLocalizationCompleted:!1,previousNode:null,searchNumber:0,staticSearchScope:null,staticSearchScopeList:null,shouldShowAdvancedSearch:!1,advancedSearchViewState:(0,i.Z)(),initialAdvancedSearchViewState:(0,i.Z)(),legacySuggestions:new o.ObservableMap({}),recipientForPersonalizedGhostTextIndex:a(9),generalizedGhostTextBankIndex:a(3),personalizedGhostTextBankIndex:a(7),usePersonalGhostText:!1,isAnswerAvailable:!1,provider:null,isAlterationRecourse:!1,answersPositionAndPropertyMapping:new o.ObservableMap,serpHasScrolled:!1,isAnswerCardHidden:!1,selectedMailboxInfo:void 0,lastSearchQueryText:"",selectedSuggestion:void 0},s={...l},d=(0,r.MT)("mailSearchStore",s)(),c=d,u=()=>d},215082:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(110363),r=n(478248);function i(e,t){let n=r.p(e).SessionSettings?.OrganizationDomain,i=t&&n?(0,o.fM)(t,n):"";return{type:"ArchiveMailbox",userIdentity:e.userIdentity,mailboxSmtpAddress:i,auxiliaryMailboxGuid:t}}},403319:(e,t,n)=>{n.d(t,{Z:()=>r});var o=n(690673);function r(){let{staticSearchScope:e,advancedSearchViewState:t}=(0,o.bh)();return t.selectedSearchScope||e}},740204:(e,t,n)=>{n.d(t,{Z:()=>a});var o=n(403319),r=n(919090),i=n(690673);function a(){if(!(0,i.bh)().initialSearchScope)return null;let e=(0,o.Z)();return(0,r.Z)(e,(0,i.bh)().selectedMailboxInfo,!0)}},52863:(e,t,n)=>{n.d(t,{S:()=>c,Z:()=>d});var o=n(206339),r=n(928323),i=n(205451),a=n(243023),l=n(943385),s=n(636006);function d(){return(0,r.Z)()&&((0,o.cr)("sea-fetchPeople3")||(0,o.cr)("sea-fetchEvents2")||(0,o.cr)("sea-calendarTriggerControl2")||(0,o.cr)("sea-fetchFlights2")||(0,o.cr)("sea-flightTriggerControl2")||(0,o.cr)("sea-fetchFiles4")||(0,o.cr)("sea-fileTriggerControl4")||(0,o.cr)("sea-peopleTriggerControl3")||(0,o.cr)("sea-answers-sdf")||(0,o.cr)("sea-answers-ms"))||(0,r.Z)()&&(0,i.Z)((0,s.Q)())&&((0,o.cr)("sea-fetchBookmarks2")||(0,o.cr)("sea-bookmarkTriggerControl2")||(0,o.cr)("sea-fetchAcronyms3")||(0,o.cr)("sea-fetchLinks2")||(0,o.cr)("sea-linkTriggerControl2")||(0,o.cr)("sea-acronymTriggerControl3")||(0,o.cr)("sea-answers-sdf")||(0,o.cr)("sea-answers-ms"))}function c(){return d()&&(0,o.cr)("sea-single3sQueryCallForAnswersAndSerp2")&&(0,a.Z)()===l.X.SubstrateV2}},171904:(e,t,n)=>{n.d(t,{Z:()=>s});var o=n(690673),r=n(45409),i=n(766396),a=n(478248),l=n(636006);function s(e){if(!(0,i.Z)((0,l.Q)()))return!1;let{staticSearchScope:t,selectedMailboxInfo:n}=(0,o.bh)();if(t?.kind!==r.D9.PrimaryMailbox||!e||0==e.length)return!1;let s=n??(0,l.Q)(),d=a.p(s)?.SessionSettings?.MailboxGuid;return!!d&&e[0]!==d}},34882:(e,t,n)=>{n.d(t,{z:()=>r});var o=n(459672);function r(e){switch(e.type){case 1:return function(e){switch(e.scenarioType){case"mail":case"messageSuggestion":case"tabbedSearch":case"groupsmail":return{shouldHighlight:!0,headerGeneratorType:"RelevanceHybrid"};case"senderGroupings":case"persona":case"privateDistributionList":case"category":return{shouldHighlight:!1,headerGeneratorType:"DateTime"};default:return(0,o.v)(e.scenarioType)}}(e);case 0:case 2:case 3:return function(e){let t;switch(0==e.type&&e.sortBy.sortColumn){case 3:case 9:t="FromTo";break;case 7:t="Size";break;case 5:t="Importance";break;case 8:t="Subject";break;case 14:t="Category";break;default:t="DateTime"}return{shouldHighlight:!0,headerGeneratorType:t}}(e);default:return(0,o.v)(e.type)}}},180975:(e,t,n)=>{n.d(t,{Fs:()=>s,H1:()=>a,Me:()=>i,yq:()=>l});var o=n(402392);let r=new o.nI(()=>Promise.all([n.e(668152),n.e(789074),n.e(496638),n.e(411513)]).then(n.bind(n,792780)),{name:"ThreadSummarizationContent"}),i=(0,o.$y)(r,e=>e.ThreadSummarizationContent),a=(0,o.$y)(r,e=>e.ThreadSummarizationHeader),l=(0,o.$y)(r,e=>e.ThreadSummarizationCardLoadingHeader),s=new o._5(r,e=>e.setSummaryButtonDisplayStatus)},866295:(e,t,n)=>{n.d(t,{D:()=>a,N:()=>i});var o=n(402392);let r=new o.nI(()=>n.e(803610).then(n.bind(n,803610)),{name:"ThreadSummarization"}),i=(0,o.$y)(r,e=>e.ThreadSummarizationCardForHeaderEntryPoint),a=(0,o.$y)(r,e=>e.ThreadSummarizationCard)},20443:(e,t,n)=>{n.d(t,{bm:()=>f,Ef:()=>g,AD:()=>u,lW:()=>p,OX:()=>l});var o=n(136851),r=n(313380),i=n(341032),a=n(67199);function l(e){if((0,o.Ws)(e))return!1;if(0!=e.type)return 1==e.type;{let t=e.sortBy,n=r.WR.getSortBySupportingPin();return t.sortColumn==n.sortColumn&&t.sortDirection==n.sortDirection&&function(e){if(!e){if(""===e)return(0,a.y8)("shouldFolderSortByRenewTime: folderId is an empty string"),!1;let t=Error("Current folder id should not be null");throw t.diagnosticInfo=JSON.stringify({ty:typeof e}),t}let t=(0,i.Z)(e);return"sentitems"!=t&&"deleteditems"!=t&&"drafts"!=t&&"junkemail"!=t&&"archive"!=t}(e.folderId)}}var s=n(485802),d=n(176576),c=n(653906);function u(e){let t,n;let o=e.sortBy;switch(o.sortColumn){case 1:l(e)?t="ReceivedOrRenewTime":"drafts"==(0,i.Z)(e.folderId)?t="ItemLastModifiedTime":"sentitems"==(0,i.Z)(e.folderId)&&(t="DateTimeSent");break;case 3:n=(0,s.Z)({PropertyTag:"0x0042",PropertyType:"String"});break;case 9:t="DisplayTo";break;case 7:t="Size";break;case 5:t="Importance";break;case 8:t="Subject";break;case 14:t="Categories";break;case 15:t="ReturnTime";break;case 16:t="DateTimeReceived";break;default:throw Error("getMailItemSortByProperty: sort column not supported"+o.sortColumn)}let a=[];t?a.push((0,c.Z)({Order:o.sortDirection,Path:(0,d.Z)({FieldURI:t})})):n&&a.push((0,c.Z)({Order:o.sortDirection,Path:n}));let u=1==e.sortBy.sortColumn?e.sortBy.sortDirection:r.WR.DESCENDING_SORT_DIR;return a.push((0,c.Z)({Order:u,Path:(0,d.Z)({FieldURI:"DateTimeReceived"})})),a}var m=n(478248);function p(e){return!!m.p(e).UserOptions?.IsFocusedInboxEnabled}let f=25,g=25},383800:(e,t,n)=>{n.d(t,{kZ:()=>I,Jc:()=>f,EM:()=>h,OK:()=>v});var o=n(402392),r=n(302140),i=n(276610),a=n(58152),l=n(538565),s=n(701699),d=n(520532),c=n(209763),u=n(67199);function m(e){(0,u.y8)("VotingOpportunityOnMessage",{hasUserVoted:e})}var p=n(636006);function f(e,t,n){let o=e.VotingInformation,u=o.UserOptions.length,f=Number(t(e)),g=e.MailboxInfo??(0,p.Q)(),v=f<=u&&f>=i.Z.VotingOptionMin&&f<=i.Z.VotingOptionMax?o.UserOptions[f-i.Z.VotingOptionMin].DisplayName:null;if(v){m(!0);let t=n(e);if(t){let e=(0,a.UU)((0,l.vk)(t));return(0,r.WU)((0,r.ZP)("yXyR_c"),v,e)}return(0,r.WU)((0,r.ZP)("l4AhLc"),v)}return(0,s.Z)(e.ParentFolderId.Id)||"UserMailbox"!==g.type?null:function(e){let t=(0,d.Z)(),n=t;0==t.length&&e&&e.UserOptions.length>0?n=e.UserOptions.map(e=>({provider:c.T,displayName:e.DisplayName})):m(!1);let o=n.map(e=>({displayName:e.displayName,value:e}));return{preActionText:(0,r.ZP)("gTEvud"),actionLinkText:(0,r.ZP)("PQaqFc"),options:o,onSelect:e=>h.importAndExecute(e),hasSelectionConfirmationDialog:!0,selectionConfirmDialogFormatString:(0,r.ZP)("y8A_Fe")}}(o)}let g=new o.nI(()=>n.e(621226).then(n.bind(n,621226))),v=new o.EF(g,e=>e.loadActiveVotingProviders),h=new o._5(g,e=>e.castVoteForProvider),I=(0,o.$y)(g,e=>e.VotingResultsCard)},520532:(e,t,n)=>{n.d(t,{Z:()=>r});var o=n(868684);function r(){let e=(0,o.b)();return e?.options?e.options:[]}},209763:(e,t,n)=>{n.d(t,{T:()=>o});let o="defaultProvider"},868684:(e,t,n)=>{n.d(t,{b:()=>a});var o=n(795839);let r={options:void 0,activeProviders:[n(209763).T],referenceItemId:void 0,results:void 0},i=(0,o.MT)("mailVotingStore",r)(),a=()=>i},132917:(e,t,n)=>{n.d(t,{R:()=>u,l:()=>c});var o=n(402392),r=n(511943),i=n(733857),a=n(666076),l=n(345301),s=n(601421);let d=new o.nI(()=>Promise.all([n.e(437255),n.e(878313),n.e(76288),n.e(519875),n.e(858647),n.e(969862),n.e(762317),n.e(919377),n.e(635179),n.e(87858),n.e(574860),n.e(566391),n.e(475174),n.e(984823),n.e(333956),n.e(611283)]).then(n.bind(n,342999))),c=(0,o.$y)(d,e=>e.AccountsTreeView,function(){let e=(0,r.Rg)(),t=(0,r.qs)(),n=r.Ns.StartupComplete,o=l.useMemo(()=>({isExpanded:!1,onClick:()=>{}}),[]);return l.createElement(l.Fragment,null,l.createElement(i.C9,{favoritesNodeCount:1,accountMailboxInfo:(0,r.zl)(),accountBootState:n}),e.filter(e=>e.sourceId!==t.sourceId).map(e=>l.createElement(a.Z,{chevronProps:o,displayName:e.mailboxInfo.mailboxSmtpAddress,depth:0,isRootNode:!0,key:e.sourceId,isDroppedOver:!1})))}),u=(0,o.$y)(d,e=>e.AccountsRootContextMenu);(0,o.Kv)(s.Z,d,e=>e.onAccountAuthSucceededOrchestrator)},788454:(e,t,n)=>{n.d(t,{m:()=>d,d:()=>s});var o=n(795839),r=n(827570);let i={categoryByRowKey:new(n(787012)).ObservableMap({})},a=new Map,l=e=>{let t=(0,r.M4)(e)+"_categorySortStore",n=a.get(t);if(!n){let e=(0,o.MT)(t,i)();a.set(t,e),n=e}return n},s=(0,o.lr)("updateCategorySortCategoryForRowKeyAction",(e,t,n)=>{l(e).categoryByRowKey.set(t,n)});function d(e,t){return l(e).categoryByRowKey.get(t)??""}},410840:(e,t,n)=>{n.d(t,{l:()=>y,R:()=>f});var o=n(679683),r=n(152806),i=n(939129),a=n(382092),l=n(313380),s=n(198453),d=n(129376),c=n(636006),u=n(422497),m=n(734885),p=n(206339);function f(e,t,n,a){return function(e,t,n,o,a,l,c){let f=(0,s.L4)(e);return(0,i.Mp)({actionSource:l,categoryList:(0,i.C)(f),mailboxInfo:f,getCategoriesToCheck:()=>(0,m.v)(e,[...e.selectedRowKeys.keys()]),dismissMenu:o,shouldShowSearchBox:t,shouldShowManageCategories:n,getShouldShowClearCategories:()=>(0,m.u)(e,[...e.selectedRowKeys.keys()]).length>0,addFavoriteCategory:g,onAfterCreateNewCategory:(t,n)=>{d.ZB.importAndExecute([...e.selectedRowKeys.keys()],e,[t],a,n)},onCheckedCategoryClicked:t=>{d.OU.importAndExecute([...e.selectedRowKeys.keys()],e,[t],a)},onUncheckedCategoryClicked:t=>{d.ZB.importAndExecute([...e.selectedRowKeys.keys()],e,[t],a)},onManageCategoryClicked:()=>{(0,r.U$)()||(0,p.cr)("acct-multiacctcomingsoon")?u.Ez.importAndExecute("accounts-category","categories",void 0,void 0,f):u.Ez.importAndExecute("general","categories")},onClearCategoriesClicked:()=>{d.yG.importAndExecute([...e.selectedRowKeys.keys()],e,a)},directionalHint:c,width:236})}((0,l.bh)().tableViews.get(e),a,!0,t,n,"ContextLV",o.b.rightTopEdge)}function g(e,t){a.a5.import().then(n=>n(e,t,(0,c.Q)()))}var v=n(150064),h=n(510265),I=n(64906),S=n(985062),b=n(274241),w=n(345301);let y=(0,h.P)(function(e){let t=(0,c.Q)(),n=(0,b.v)(()=>(0,i.Gl)(e.categoryName,(0,i.C)(t))),o=(0,b.v)(()=>(0,a.iW)(n.get())),r=async e=>{e.stopPropagation(),(0,S.el)(n.get())||(o.get()?(await a.Wv.import())(n.get(),"CategoryHeader"):(await a.a5.import())(n.get(),"CategoryHeader",t))},l=e.categoryName,s=(0,v.Z)(e.containerCssClass,"tTwzD");return w.createElement("div",{className:s},w.createElement(i.Rd,{categoryName:l,mailboxInfo:t,iconClassName:"RtwNn"}),w.createElement("div",{className:(0,v.Z)("ZX7BU",(0,I.KS)(void 0,"PhdVg","C6Gc_")),title:l},l),n.get()&&w.createElement(a.B2,{isInFavorites:o.get(),onClick:e=>r(e),buttonStyles:"tlKle",isCategory:!0}))},"MailListCategoryHeaderSecondRowContent")},734885:(e,t,n)=>{n.d(t,{u:()=>r,v:()=>i});var o=n(313380);function r(e,t){let n=[];for(let r=0;r<t.length;r++){let i=o.H4.getCategories(t[r],e)||[];n.push(...i)}return n}function i(e,t){let n=[],o={},i=r(e,t);for(let e=0;e<i.length;e++){let t=i[e];o[t]?o[t]=o[t]+1:o[t]=1}return Object.keys(o).forEach(e=>{o[e]==t.length&&n.push(e)}),n}},643239:(e,t,n)=>{n.d(t,{$2:()=>s,C8:()=>i,LP:()=>l,XR:()=>d,gx:()=>r,xF:()=>a});var o=n(402392);let r=new o.nI(()=>Promise.all([n.e(602654),n.e(972427),n.e(584434),n.e(345272)]).then(n.bind(n,345012))),i=new o.EF(r,e=>e.getSensitivitySections),a=new o.EF(r,e=>e.getProtectEncryptSections),l=new o.EF(r,e=>e.getSignatureSections),s=new o.EF(r,e=>e.getEditorSections),d=new o.EF(r,e=>e.getFluidHeroSections)},737130:(e,t,n)=>{n.d(t,{w:()=>p});var o=n(75953),r=n(728696),i=n(798571),a=n(619776),l=n(799853),s=n(586890),d=n(302140),c=n(989542),u=n(17758),m=n(420010);let p=(0,o._)((e,t,n,o)=>(0,i.lC)((0,a.V)(529,e),(0,d.ZP)(c.Si),(0,m.W)(529,r.GQ),n?(0,i.Fl)([n],529):void 0,s.Z,void 0,t,{customTooltip:(0,l.P)(c.Si,u.NF),disabled:o}))},927807:(e,t,n)=>{n.d(t,{T:()=>Z,P:()=>C});var o=n(798571),r=n(284063),i=n(619776),a=n(345301),l=n(972131),s=n(621001);let d=new Set,c=e=>{e.preventDefault(),e.stopPropagation()};function u(e){let t=`AddIn_${e?.name?.replace(/\s/g,"_")}`;if(!d.has(t)){if(!e?.iconProps||!e.iconProps?.imageProps||!e.iconProps.imageProps?.src)return;(0,s.fm)({icons:{[t]:a.createElement(()=>{let n=a.useMemo(()=>({...e.iconProps?.imageProps,width:"85%",height:"85%"}),[]);return a.useEffect(()=>()=>{(0,s.Kf)([t]),d.delete(t)},[]),a.createElement(l.X,{imageProps:n,onContextMenu:c})},null)}}),d.add(t)}return t}var m=n(985816),p=n(547046),f=n(636283),g=n(814231),v=n(420010),h=n(313380),I=n(912638),S=n(137184),b=n(317379),w=n(75953),y=n(206339),P=n(645225);function C(e,t,n,r,a,l){let s=(0,i.V)(r,n);return(0,o.lC)(s,e?.name??"",n=>{if(!n){(0,f.rx)(`Pinned add-in button was clicked without parameters: ${e?.name}`);return}let o=(0,p.Z)(a),r=(0,g.F)(e.key,"MessageCompose",o,"Overflow"===n.location?"RibbonOverflowMenu-overflow":n.id,t,"");(0,y.cr)("mos-messageExtensionPinning")?(0,m.N)(r):(0,m.le)(r)},void 0,u(e)??"",void 0,l,{customTooltip:e.ariaLabel?.replace(/\s-\s/g,"\n\n")})}let E=(0,w._)(function(e,t,n,o){if(!o){(0,f.rx)(`Read add-in button was clicked without parameters: ${e?.name}`);return}let r=(0,p.Z)(n);t||(t=function(){let e=(0,h.ii)();if(e?.selectedRowKeys.size>1)return;let t=[...e?.selectedRowKeys.keys()],n=(0,I.getItemIds)(t[0],e),o=P.Z.items.get(n[0])||(0,I.getItem)(t[0],e);if(!o){(0,f.rx)(`No item for: "${t[0]}"`);return}return o.ItemId?o.ItemId.Id:void 0}());let i=(0,g.F)(e.key,"MessageRead",r,"Overflow"===o.location?"RibbonOverflowMenu-overflow":o.id,"",t);(0,m.le)(i)});function Z(e,t,n,i,a){let{isPopout:l,itemId:s}=a,d=(0,r.m)(t,s),c={};return c.id=d,(0,o.lC)(d,e?.title??e?.name??"",(0,v.W)(t,E,e,s?.Id??void 0,n,c),void 0,u(e)??"",void 0,i,{disabled:(0,S.B)(t,l,(0,b.Y)(a),s)})}},645992:(e,t,n)=>{n.d(t,{Z:()=>a});var o=n(836479),r=n(797489),i=n(804e3);function a(e,t){let n=o.Z8.viewStates.get(e),a=(0,r.bh)().tabs.filter(t=>t.type==r.AO.MailCompose&&t.data==e)[0],l=a&&(0,i.Z)(a.id);return n?t(n,l?.window||window):null}},242660:(e,t,n)=>{n.d(t,{Q:()=>r});var o=n(390698);function r(e){return(0,o.Z)(e?.smimeViewState)||!!e?.protectionViewState?.IRMData?.RmsTemplateId||!!e?.protectionViewState?.clpViewState?.selectedCLPLabel?.isEncryptingLabel}},822537:(e,t,n)=>{n.d(t,{Am:()=>d,l3:()=>c,x1:()=>s});var o=n(804e3),r=n(708371),i=n(655647),a=n(637889),l=n(645992);function s(e){if(e){let t=(0,o.Z)(e);return t?.window||window}return window}function d(e){return(0,l.Z)(e,(e,t)=>({targetWindow:t,composeViewState:e,editorViewState:e,infoBarHostViewState:e,dictationViewState:e.dictation,accChecker:e.accChecker,expressionId:e.expressionId,ribbonViewState:e.ribbon,isPlainTextEditor:"HTML"!=e.bodyType}))}function c(e){return(0,l.Z)(e,(e,t)=>({targetWindow:t,editorViewState:e,fileName:e.subject,composeLinkParameters:{getRecipientWells:()=>(0,r.cF)(e),fromAddress:(0,i.Z)(e.toRecipientWell),linkIdContainer:e.attachmentWell},atMentionHandler:n=>{(0,a.h)(e,n,t)}}))}},381145:(e,t,n)=>{n.d(t,{AG:()=>Compose,C1:()=>a,G2:()=>i,gx:()=>r});var o=n(402392);n(483426);let r=new o.nI(()=>Promise.all([n.e(602654,"high"),n.e(298951,"high"),n.e(972427,"high"),n.e(655205,"high"),n.e(637331,"high"),n.e(65750,"high"),n.e(485954,"high"),n.e(574459,"high"),n.e(713255,"high"),n.e(864753,"high"),n.e(895741,"high"),n.e(588798,"high"),n.e(76677,"high"),n.e(125433,"high")]).then(n.bind(n,754018))),i=(0,o.$y)(r,e=>e.FullCompose),Compose=(0,o.$y)(r,e=>e.Compose),a=(0,o.$y)(r,e=>e.ComposeTab)},483426:(e,t,n)=>{n.d(t,{P:()=>r});var o=n(333496);function r(e){let t=!0;if(e){let{dlpRuleConfig:n}=(0,o.b)(e);n&&(t=n.isAnyPolicyEnforced)}return t}},329098:(e,t,n)=>{n.d(t,{W:()=>a,x:()=>i});var o=n(382092),r=n(985062);let i=async e=>{(await o.Wv.import())(e,"ContextCategory")},a=e=>{r.uJ.importAndExecute(e,"ContextPersona").catch(()=>r.p1.importAndExecute(!0))}},324615:(e,t,n)=>{n.d(t,{RM:()=>i.RM,Fp:()=>i.Fp,Ig:()=>i.Ig,_6:()=>a});var o=n(795839),r=n(723893),i=n(706964);(0,o._F)(r.iR,()=>{(0,i.Fp)("FolderClickMoveToControl")});let a={sequentialIndex:"0",nonSequentialIndex:"-1"}},706964:(e,t,n)=>{n.d(t,{Fp:()=>c,Ig:()=>u,RM:()=>l});var o=n(67915),r=n(67199);let i=["MailCompose","MailList","ReadingPane"],a={MailCompose:[],MailList:[],ReadingPane:[]};function l(e,t){let n=a[e];return n.push(t),function(){for(let e=0;e<n.length;e++)n[e]===t&&n.splice(e,1)}}let s=new Map([["MailCompose",1],["MailList",3],["ReadingPane",5]]),d=new Map([["MailCompose",2],["MailList",4],["ReadingPane",6]]);function c(e){return new Promise(t=>{window.requestAnimationFrame(function(){(0,o.T4)("resetFocus",e);let n=new r.Gn("ResetFocus");for(let e of i){if(n.addToCustomWaterfall(s.get(e)??15,e+"_S"),u(e)){n.addToCustomWaterfall(d.get(e)??15,e+"_E"),n.end();break}n.addToCustomWaterfall(d.get(e)??15,e+"_E")}return n.end(),t()})})}function u(e){let t=a[e];for(let e=t.length-1;e>=0;e--){let n=t[e],o=n?.();if(o)return o}return!1}},304011:(e,t,n)=>{n.d(t,{P:()=>a,c:()=>l});var o=n(402392),r=n(873379);let i=new o.nI(()=>n.e(123913).then(n.bind(n,123913))),a=new o.EF(i,e=>e.openFolderPermissionsDialog),l=(0,o.$y)(i,e=>e.FolderPermissionsDialog,void 0,void 0,{onlyImportIf:()=>r.Z.showFolderPermissionsDialog})},873379:(e,t,n)=>{n.d(t,{Z:()=>r,b:()=>i});let o=(0,n(795839).MT)("folderPermissionsStore",{folderId:null,permissions:[],selectedPermissionIndex:0,showAddUserDialog:!1,showFolderPermissionsDialog:!1,showLoader:!1,shouldDisableDefaultPermissions:!1})(),r=o,i=()=>o},737341:(e,t,n)=>{n.d(t,{Y:()=>o});let o={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"MailFolderFromService"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"MailFolder"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"type"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"changeKey"}},{kind:"Field",name:{kind:"Name",value:"parentFolderId"}},{kind:"Field",name:{kind:"Name",value:"displayName"}},{kind:"Field",name:{kind:"Name",value:"distinguishedFolderType"}},{kind:"Field",name:{kind:"Name",value:"FolderClass"}},{kind:"Field",name:{kind:"Name",value:"UnreadCount"}},{kind:"Field",name:{kind:"Name",value:"totalMessageCount"}},{kind:"Field",name:{kind:"Name",value:"childFolderCount"}},{kind:"Field",name:{kind:"Name",value:"childFolderIds"},directives:[{kind:"Directive",name:{kind:"Name",value:"client"}}]},{kind:"Field",name:{kind:"Name",value:"messageSizeInBytes"}},{kind:"Field",name:{kind:"Name",value:"remoteFolderInfo"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"remoteFolderDisplayName"}},{kind:"Field",name:{kind:"Name",value:"remoteDistinguishedFolderType"}}]}},{kind:"Field",name:{kind:"Name",value:"ArchiveTag"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"IsExplicit"}},{kind:"Field",name:{kind:"Name",value:"Value"}}]}},{kind:"Field",name:{kind:"Name",value:"PolicyTag"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"IsExplicit"}},{kind:"Field",name:{kind:"Name",value:"Value"}}]}},{kind:"Field",name:{kind:"Name",value:"mailboxInfo"}},{kind:"Field",name:{kind:"Name",value:"replicaList"}},{kind:"Field",name:{kind:"Name",value:"SearchFolderTemplateId"}},{kind:"Field",name:{kind:"Name",value:"EffectiveRights"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"CreateAssociated"}},{kind:"Field",name:{kind:"Name",value:"CreateContents"}},{kind:"Field",name:{kind:"Name",value:"CreateHierarchy"}},{kind:"Field",name:{kind:"Name",value:"Delete"}},{kind:"Field",name:{kind:"Name",value:"Modify"}},{kind:"Field",name:{kind:"Name",value:"Read"}},{kind:"Field",name:{kind:"Name",value:"ViewPrivateItems"}}]}},{kind:"Field",name:{kind:"Name",value:"SortParentId"}},{kind:"Field",name:{kind:"Name",value:"SortPosition"}}]}}]}},767196:(e,t,n)=>{n.d(t,{y:()=>o});let o={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"MailFolderListWrapper"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"MailFolder"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"childFolderIds"},directives:[{kind:"Directive",name:{kind:"Name",value:"client"}}]},{kind:"FragmentSpread",name:{kind:"Name",value:"MailFolderNodeTree"}}]}},...n(644911).H.definitions]}},644911:(e,t,n)=>{n.d(t,{H:()=>o});let o={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"MailFolderNodeTree"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"MailFolder"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"displayName"}},{kind:"Field",name:{kind:"Name",value:"distinguishedFolderType"}},{kind:"Field",name:{kind:"Name",value:"childFolderIds"},directives:[{kind:"Directive",name:{kind:"Name",value:"client"}}]},{kind:"Field",name:{kind:"Name",value:"remoteFolderInfo"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"remoteFolderDisplayName"}}]}},{kind:"Field",name:{kind:"Name",value:"mailboxInfo"}},{kind:"FragmentSpread",name:{kind:"Name",value:"MailFolderNode"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"MailFolderNode"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"MailFolder"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"distinguishedFolderType"}},{kind:"Field",name:{kind:"Name",value:"parentFolderId"}},{kind:"Field",name:{kind:"Name",value:"totalMessageCount"}},{kind:"Field",name:{kind:"Name",value:"UnreadCount"}},{kind:"Field",name:{kind:"Name",value:"type"}},{kind:"Field",name:{kind:"Name",value:"EffectiveRights"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"Modify"}},{kind:"Field",name:{kind:"Name",value:"Delete"}}]}}]}}]}},53540:(e,t,n)=>{n.d(t,{S:()=>o});let o={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"MailFolderRoot"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"MailFolder"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}}]}},591964:(e,t,n)=>{n.d(t,{p:()=>l});var o=n(53540),r=n(767196),i=n(644911),a=n(737341);let l={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"OnFolderHierarchyResponse"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"FolderHierarchyResult"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"RootFolder"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"MailFolderRoot"}},{kind:"FragmentSpread",name:{kind:"Name",value:"MailFolderListWrapper"}},{kind:"FragmentSpread",name:{kind:"Name",value:"MailFolderFromService"}}]}},{kind:"Field",name:{kind:"Name",value:"Folders"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"MailFolderNodeTree"}},{kind:"FragmentSpread",name:{kind:"Name",value:"MailFolderFromService"}}]}},{kind:"Field",name:{kind:"Name",value:"IncludesLastItemInRange"}},{kind:"Field",name:{kind:"Name",value:"offset"}},{kind:"Field",name:{kind:"Name",value:"CustomSorted"}},{kind:"Field",name:{kind:"Name",value:"TotalItemsInView"}}]}},...o.S.definitions,...r.y.definitions,...a.Y.definitions,...i.H.definitions]}},635828:(e,t,n)=>{n.d(t,{Qk:()=>H,o_:()=>W,YT:()=>E,kQ:()=>er,MD:()=>A,Pq:()=>el,fN:()=>R,qb:()=>ec,re:()=>eZ,n2:()=>en});var o=n(302140),r=n(787012),i=n(510265),a=n(338822),l=n(697399),s=n(598415),d=n(382092),c=n(666076),u=n(345301),m=n(669388),p=n(313380),f=n(993167),g=n(738402),v=n(825447),h=n(206339),I=n(110363),S=n(92935),b=n(325161),w=n(950798),y=n(488581);let P=["drafts","junkemail","outbox","notes","scheduled"];class C extends u.Component{constructor(e){super(e),this.renderRightCharm=()=>{let{folderId:e}=this.props;return this.props.isLoading?u.createElement(w.$,{size:y.E.small}):(0,p.M1)(e)?u.createElement(u.Fragment,null,(0,o.ZP)("MS2Bye")):(0,g.Eg)(e)?u.createElement(g.Zf,{folderId:e,folderName:this.props.displayName}):!(0,s.Z)(e)||(0,h.cr)("tri-showArchiveUnreadCount")?this.renderUnreadOrTotalCount():null},this.renderUnreadOrTotalCount=()=>{let e=P.indexOf(this.props.distinguishedFolderId)>=0&&this.props.totalCount>0,t=e?this.props.totalCount:this.props.unreadCount;return t?u.createElement(v.g,{count:t,shouldDisplayTotalCount:e,isSelected:this.isSelected}):null},this.onClick=e=>{e.stopPropagation(),this.isSearchFolderRoot?(this.props.chevronProps||this.props.onContextMenu?.(e),(0,b.Z)(this.props.folderId)):(0,a.au)(this.props.folderId,this.props.treeType,"FolderNodeClick",this.props.isPublicFolder?5:0,void 0,e.nativeEvent.timeStamp)},this.onKeyDown=e=>{switch(e.keyCode){case 13:case 32:e.stopPropagation(),e.preventDefault(),(0,a.au)(this.props.folderId,this.props.treeType,"Keyboard",void 0,void 0,e.nativeEvent.timeStamp);break;case 46:this.props.deleteFolder?.()}},this.toggleFavorite=()=>{let e=(0,d.Ur)(this.props.folderId);a.K$.importAndExecute(this.props.folderId,e,"ContextFolder")},(0,r.makeObservable)(this,{isSelected:r.computed,isWithContextMenuOpen:r.computed,touchHandler:r.computed,isSearchFolderRoot:r.computed})}get isSelected(){let e=(0,l.PZ)();return this.props.treeType==e.treeType&&this.props.folderId==e.id}get isWithContextMenuOpen(){return this.props.folderId==m.default.withContextMenuFolderId}get touchHandler(){let e={onLongPress:this.props.onContextMenu};return(0,f.V)(e)}get isSearchFolderRoot(){return this.props.distinguishedFolderId==S.Ry}render(){return u.createElement(c.Z,{...this.touchHandler,chevronProps:this.props.chevronProps,customIcon:this.props.customIcon,depth:this.props.depth,displayName:this.props.displayName,isBeingDragged:this.props.isBeingDragged,isDroppedOver:this.props.isDroppedOver,isRootNode:!1,isSelected:this.isSelected,isWithContextMenuOpen:this.isWithContextMenuOpen,key:this.props.folderId,onKeyDown:this.onKeyDown,onClick:this.onClick,onContextMenu:this.props.onContextMenu,renderRightCharm:this.renderRightCharm,showAsHoverOnDroppedOver:this.props.showHoverStateOnDroppedOver,isFavorited:(0,d.Ur)(this.props.folderId),toggleFavorite:this.toggleFavorite,isinSharedFolderTree:"sharedFolderTree"==this.props.treeType,isDisabled:this.props.isLoading,customTreeNodeTooltip:this.isSearchFolderRoot?void 0:(0,I.kj)(this.props.displayName,this.props.totalCount,this.props.unreadCount),hideIcon:this.props.hideIcon,ellipsesOnHover:this.props.ellipsesOnHover,source:S.Y.subfolder})}}let E=(0,i.P)(C);var Z=n(416622);let M=(0,i.P)(function(e){return u.createElement(c.Z,{displayName:(0,o.ZP)(Z.Z.loadMoreFoldersAction),isCustomActionNode:!0,isRootNode:!1,key:"loadMore",onClick:e.onLoadMoreClickedCallback})},"LoadMoreFolderNode");var T=n(435566),F=n(933293),k=n(779742),x=n(341032);let R=(0,i.P)(function(e){let{distinguishedFolderParentIds:t,folderIdsToRender:n,isFavoritesSupported:o,isRootExpanded:r,nestDepth:i,renderFolderNode:a,treeType:l,ignoreSearchFolderParent:s}=e,d=u.useCallback((t,n,o)=>{e.onContextMenu?.(t,n,o)},[e.onContextMenu]),c=(e,n)=>{let i=[];if(0==n){if(r){let t=c(e,n+1);Array.prototype.push.apply(i,t)}}else e.forEach(e=>{let r=a(e,n,l,!!o,d,t),c=s&&(0,x.Z)(e)==S.Ry;r&&!c&&i.push(r)});return i};return u.createElement(u.Fragment,null,c(n,i))},"MailFolderNodeChildren"),A=(0,i.P)(function(e){let{childFolderIds:t,hasMoreData:n,isFavoritesSupported:o,onLoadMoreClickedCallback:r,renderFolderNode:i,rootNodeId:a,rootFolderId:l,shouldShowLoadingSpinner:s,treeType:d,mailboxInfo:c,renderLoadNode:m,nestDepth:p}=e,f=u.useMemo(()=>[a],[a]),g=u.useCallback((e,t,n)=>{(0,T.L)(t,0,t,(0,F.Z)(e),d,a,!1,n)},[d]),v=e.childFolderIds&&e.childFolderIds.length>0,h=u.createElement(u.Fragment,null,m?.(),!m&&s&&u.createElement(w.$,{size:y.E.medium}),!m&&n&&!s&&r&&u.createElement(M,{onLoadMoreClickedCallback:r}),l&&u.createElement(er,{folderId:l,treeType:d,nestDepth:0,operationType:"newNode",mailboxInfo:c})),I=D(t,c);return u.createElement(u.Fragment,null,v&&u.createElement(R,{folderIdsToRender:t,nestDepth:p||1,treeType:d,isFavoritesSupported:o,onContextMenu:g,renderFolderNode:i,distinguishedFolderParentIds:f,ignoreSearchFolderParent:!0}),h,I&&u.createElement(R,{folderIdsToRender:I,nestDepth:1,treeType:d,isFavoritesSupported:o,onContextMenu:g,renderFolderNode:i,distinguishedFolderParentIds:f}),u.createElement(k.wl,null))},"MailFolderList"),D=(e,t)=>{if(!(0,h.cr)("tri-trySearchFolders",t)||!e)return;let n=e.find(e=>(0,x.Z)(e)==S.Ry);return n?[n]:void 0};var N=n(827570),_=n(881930),O=n(808930),L=n(194087),V=n(198453),B=n(639611),G=n(129376),U=n(274241);let H=-10,W=5;var K=n(201762),z=n(118895),j=n(124312),Q=n(754708),$=n(580596),q=n(92342),X=n(64906),Y=n(243169),J=n(150064);let ee=(0,i.P)(function(e){return u.createElement(L.pp,{className:(0,J.Z)((0,X.KS)(Y.rp,Y.IV,Y.oA),Y._A),depth:e.nestDepth,defaultValue:e.defaultValue,key:"folderTextField",onEntry:e.onEntry,onDismiss:et,folderId:e.folderId,styles:e.styles})},"FolderTextField");function et(){$.fr.importAndExecute()}function en(e,t,n,o){let r=m.default.folderTextFieldViewState;return!!r&&r.folderId===e&&r.operation===t&&r.mailboxSmtpAddress.toLowerCase()===n.toLowerCase()&&r?.mailboxInfo===o&&(r.folderNodeType===S.Ht||r.folderNodeType===S.UU||r.folderNodeType===S.L1||r.folderNodeType===S.Ac)}var eo=n(67199);let er=(0,i.P)(function(e){let t;let[n,r]=u.useState(""),i=I.Xe().get(e.folderId)?.type===S.T8,a=i?{}:{queuedAction:{blockingKeys:[e.folderId],resultProcessor:"Default",flight:"fp-offline-folder-actions"}},[l]=(0,K.M4)(Q._,{...a,context:{skipOfflineResolvers:i}}),s=u.useCallback(t=>{$.fr.importAndExecute();let n=e.folderId;z.T.importAndExecute({parentId:n,displayName:t,mailboxInfo:e.mailboxInfo},{invoker:"operationnode",depth:e.nestDepth>0?"subfolder":"parent"}),r((0,o.WU)((0,o.ZP)("y$R3Od"),t))},[r,e.folderId,e.nestDepth]),d=u.useCallback((t,n)=>{$.fr.importAndExecute();let i=e.originalValue||"",a=(t||"").trim();if(!a||a===i)return;j.w.importAndExecute(l,{id:n,newDisplayName:a,mailboxInfo:e.mailboxInfo},i);let s=e.ariaAnnouncementLabel||"OK2FFb";r((0,o.WU)((0,o.ZP)(s),t))},[r]),m=u.useCallback(t=>{t.stopPropagation(),t.preventDefault(),(0,q.f)(e.folderId,"new",e.treeType,e.mailboxInfo.mailboxSmtpAddress),(0,eo.y8)("TnS_CreateFolder_ListOperation")},[e.folderId,e.treeType]),p={fieldGroup:{border:0,"&:after":{borderRadius:"4px"}}};return("new"==e.operationType||"newNode"==e.operationType&&en(e.folderId,"new",e.mailboxInfo.mailboxSmtpAddress)?t=u.createElement(ee,{nestDepth:e.nestDepth,onEntry:e.treeType===S.Ac?e.onNewGroupFolderTextFieldEntry:s,styles:p}):"rename"==e.operationType?t=u.createElement(ee,{nestDepth:e.nestDepth,onEntry:e.treeType===S.Ac?e.onRenameGroupFolderTextFieldEntry:d,defaultValue:e.originalValue,folderId:e.folderId,styles:p}):!(0,h.cr)("fp-remove-links")&&"newNode"==e.operationType&&(e.treeType===S.Ht||e.treeType===S.UU||e.treeType===S.L1||e.treeType===S.Ac)&&I.Xe().get(e.folderId)?.EffectiveRights?.CreateHierarchy&&(t=u.createElement(c.Z,{displayName:(0,o.ZP)("agCw7"),isCustomActionNode:!0,isRootNode:!1,key:"newFolder",onClick:m,isDisabled:e.isNewFolderOperationDisabled,depth:e.nestDepth})),t)?u.createElement(u.Fragment,null,t,u.createElement("span",{className:"screenReaderOnly","aria-live":"assertive","aria-atomic":"true"},n)):null},"FolderOperationNode");var ei=n(505376),ea=n(950849);let el=(0,i.P)(function(e){let[t,n]=u.useState(!1),{folderId:o,treeType:r,depth:i,folder:a,isBeingDragged:l,mailboxInfo:s,effectiveFolderDisplayName:d,shouldHideToggleFavorite:c,isFolderExpandable:m,onContextMenu:f,distinguishedFolderParentIds:g,moveFolder:v,ellipsesOnHover:w}=e,y=(0,B.Z)(o),P=(0,U.T)(()=>en(o,"rename",s.mailboxSmtpAddress),[o,s.mailboxSmtpAddress]),C=(0,U.T)(()=>en(o,"new",s.mailboxSmtpAddress),[o,s.mailboxSmtpAddress]),Z=(e,t,n,o,r)=>u.createElement(er,{folderId:e,treeType:t,nestDepth:n,operationType:o,originalValue:r,mailboxInfo:s}),M=u.useCallback(e=>{e.stopPropagation(),(0,b.Z)(o)},[o]),T=u.useMemo(()=>m?{isExpanded:!!y?.isExpanded,onClick:M,isAnimated:!0}:void 0,[m,y?.isExpanded,M]),F=u.useCallback(e=>{f&&(e.stopPropagation(),e.preventDefault(),f(e,o,g??[]))},[o,f,g]),k=u.useCallback(async(e,t,n,r,i)=>{switch(e.itemType){case O.X.MailListItemPart:{let t=(0,p.bh)().tableViews.get(e.tableViewId);t?.id&&(await G.uN.import())(e.nodeIds,o,t.id,"Drag")}break;case O.X.MailListRow:case O.X.MultiMailListMessageRows:case O.X.MultiMailListConversationRows:let a=e.tableViewId,l=e.rowKeys;if((0,h.cr)("tri-dnd-copy")&&i){let e=(0,p.bh)().tableViews.get(a);e&&G.ft.importAndExecute(l,e,o,"Drag")}else G.M.importAndExecute(l,o,a,"Drag");break;case O.X.MailFolderNode:{let t=e.folderId,n=I.ZP.folderTable.get(t);if(n){let{mailboxInfo:r,parentFolderId:i}=n;v(o,s,t,r,i,e.displayName)}}}},[o,v,s]),x=u.useCallback((e,t)=>{if("notes"===a.distinguishedFolderType)return"none";let n=e.itemType,o=(0,N.M4)(s);switch(n){case O.X.MailListItemPart:case O.X.MailListRow:case O.X.MultiMailListMessageRows:case O.X.MultiMailListConversationRows:{let e=(0,p.ii)(),n=(0,V.L4)(e);return(0,N.OS)(n,o)?(0,h.cr)("tri-dnd-copy")&&t?.ctrlKey?"copy":"move":"none"}case O.X.FavoriteNode:if(!e.itemData)return"none";{let t=e.itemData,n=t?.mailboxInfo;return(0,N.OS)(n,o)?"move":"none"}case O.X.MailFolderNode:if(!e.itemData)return"none";{let t=e.itemData;return(0,N.OS)(t.mailboxInfo,o)?"move":"none"}default:return"none"}},[a,s]),R=u.useCallback(()=>{n(!0)},[]),A=u.useCallback(()=>{n(!1)},[]),D=u.useCallback(()=>r!==S.L1||!!a.EffectiveRights?.Modify,[r,a]);u.useEffect(()=>{let e=setTimeout(()=>{t&&m&&!y?.isExpanded&&(0,b.Z)(o)},500);return()=>clearTimeout(e)},[t]);let K=u.useCallback(()=>({itemType:O.X.MailFolderNode,folderId:o,displayName:d,treeType:r,mailboxInfo:s,parentFolderId:a.parentFolderId,itemData:{treeType:r,mailboxInfo:s,draggedFolderId:o}}),[o,d,s,a,r]),z=a.distinguishedFolderType===S.Ry||a.type===S.T8||g&&g.indexOf(S.Ry)>-1,j=z&&0==a.totalMessageCount&&!(0,I.Gi)(o),Q=!(0,ei.e)(ea.U,s),$=!z&&!Q,q=u.useCallback(()=>{(r!=S.L1||a.EffectiveRights?.Delete)&&!Q&&e.deleteFolder(o,z,g)},[r,a,e.deleteFolder,o,z,g,Q]),X=(0,h.cr)("fp-only-top-icons")&&1!=i,Y=u.createElement(E,{chevronProps:T,customIcon:(0,L.y)(o,!1),depth:i,displayName:d,folderId:o,isDroppedOver:y?.drop?.isDragOver&&t,isBeingDragged:l,onContextMenu:F,treeType:r,shouldHideToggleFavorite:c,showHoverStateOnDroppedOver:!0,totalCount:a.totalMessageCount,unreadCount:a.UnreadCount,distinguishedFolderId:a.distinguishedFolderType??"",isLoading:j,deleteFolder:q,hideIcon:X,ellipsesOnHover:w});return u.createElement(u.Fragment,null,P&&Z(o,r,i,"rename",d),!P&&($?y?.drop&&u.createElement(_.Z,{dragViewState:y?.drag,getDragData:K,getDragPreview:es,xOffset:H,yOffset:W,dropViewState:y.drop,onDrop:k,canDrop:x,onDragOver:R,onDragLeave:A,canDrag:D},Y):Y),C&&Z(o,r,i,"new"))},"MailFolderNode");function es(e){let t=document.createElement("div");return t.className="hbo1R",t.innerText=e.displayName,t}var Droppable=n(855523),ed=n(426474);function ec(e){let{isRootExpanded:t}=e,n=u.useCallback(t=>{t.stopPropagation(),e.onRootNodeChevronClickedCallback()},[e.onRootNodeChevronClickedCallback]),o=u.useMemo(()=>({isExpanded:t,onClick:n,isAnimated:!0}),[t,n]),r=(0,ed.Z)(),i=u.useCallback(t=>{let n=t.folderId,o=t.mailboxInfo,r=t.parentFolderId;e.moveFolder(e.rootFolder.id,e.mailboxInfo,n,o,r,t.displayName)},[e.rootFolder?.id,e.mailboxInfo.type]),a=u.useCallback(t=>t.itemType===O.X.MailFolderNode&&e.shouldBeDroppable&&!!e.rootFolder,[e.shouldBeDroppable,!!e.rootFolder]),l=u.useCallback(t=>{t.preventDefault(),e.shouldShowRootNodeContextMenu&&(0,T.L)(e.rootFolder.id,0,e.rootFolder.id,(0,F.Z)(t),e.treeType,e.rootNodeId,!0)},[e.shouldShowRootNodeContextMenu,e.rootFolder?.id,e.rootFolder,e.treeType,e.rootNodeId]);return u.createElement(Droppable.Z,{dropViewState:r,onDrop:i,canDrop:a,style:e.style},u.createElement(c.Z,{chevronProps:o,depth:void 0!==e.customDepth?e.customDepth:0,displayName:e.displayName,isRootNode:!e.customIcon,onClick:o.onClick,onContextMenu:l,setSize:e.setSize,positionInSet:e.positionInSet,customIcon:e.customIcon,hideIcon:e.hideIcon,ellipsesOnHover:e.ellipsesOnHover,source:S.Y.account}))}var eu=n(327173),em=n(900041),ep=n(640722),ef=n(441476),eg=n(850217),ev=n(542398),eh=n(422540),eI=n(617345),eS=n(324615),eb=n(736949),ew=n(723893);let ey={containerClassName:"E4A_T"},eP=["UserMailbox","ArchiveMailbox","SharedMailbox"],eC=function(e){let[t]=(0,K.M4)(ep.Z),[n,r]=u.useState(void 0),[i,a]=u.useState(!0),[l,s]=u.useState(void 0),d=u.useMemo(()=>({type:ef.i.normal,title:(0,o.ZP)(eI.ZP.moveFolderTo,e.sourceFolder.displayName)}),[e.sourceFolder.displayName]),c=u.useCallback(()=>{a(!1),r(void 0),e.onClose(),(0,eS.Fp)("MoveToFolderDialogDismissed")},[e.onClose]);return u.createElement(ev.V,{hidden:!i,onDismiss:c,dialogContentProps:d,modalProps:ey},u.createElement("div",{className:"a_MVW"},u.createElement(ew.vt,{actionSource:"MoveToLeftNav",dismissMenu:()=>{},shouldShowSearchBox:!1,supportedMailboxTypes:eP,onFolderClick:(e,t)=>{r(e),s(t)},getCustomIcon:L.y,defaultInAllFolders:!0,shouldHideNewFolder:!0,shouldStyleSelectedFolder:!0,selectedFolderId:n,shouldShowRootFolder:!0,sourceFolderId:e.sourceFolder.id,mailboxInfo:e.sourceFolder.mailboxInfo,shouldHideCurrentFolder:!0,currentFolderId:e.sourceFolder.id})),u.createElement(eg.c,null,u.createElement(em.X,{appearance:"primary",disabled:e.sourceFolder.id===n,onClick:o=>{o.preventDefault(),n&&l&&eb.l.importAndExecute(t,n,l,e.sourceFolder.id,e.sourceFolder.mailboxInfo,e.sourceFolder.parentFolderId,e.sourceFolder.displayName),c()}},(0,o.ZP)(eI.ZP.move)),u.createElement(em.X,{onClick:c},(0,o.ZP)(eh.T))))};var eE=n(86685);function eZ(e){let t=document.createElement("div");t.id="moveFolderDialog",document.body.appendChild(t);let n=()=>{(0,eu.uy)(t),document.body.removeChild(t)};(0,eu.sY)((0,eE.c)(()=>u.createElement(u.Fragment,null,u.createElement(eC,{onClose:n,sourceFolder:e})))(),t)}},382662:(e,t,n)=>{n.d(t,{v:()=>i});var o=n(14726),r=n(773942);function i(e){let t=(0,o.Z)();t&&(0,r.v)(e,t.highlightTerms,!1,t.highlightAccuracy)}},341809:(e,t,n)=>{n.d(t,{BU:()=>l,Dx:()=>s,H9:()=>a,si:()=>d});var o=n(402392),r=n(120485);let i=new o.nI(()=>n.e(79266).then(n.bind(n,79266)),{name:"MailHotKeys"}),a=new o._5(i,e=>e.setupUndoHotKeys),l=(0,o.$y)(i,e=>e.MailHotkeysMap,void 0,void 0,{onlyImportIf:()=>r.default.isVisible}),s=new o._5(i,e=>e.setupMailHotkeysMapProperties),d=new o._5(i,e=>e.setupSyncMailboxHotKeys)},778904:(e,t,n)=>{n.d(t,{W7:()=>I,Fp:()=>b,IZ:()=>y,fW:()=>S});var o=n(894594),r=n(871780),i=n(780601),a=n(555790),l=n(215222),s=n(302140),d=n(206339),c=n(12021),u=n(416559),m=n(75953);let p="writeEmail",f="emailList",g="readEmail",v="goTo",h="emailActions",I={category:g,hotmail:"esc",yahoo:"esc",gmail:"u",owa:"esc",outlook:"esc"};function S(){return{category:p,description:(0,s.ZP)("JYZMLb"),hotmail:["n"],yahoo:"n",gmail:"c",owa:"n",outlook:["ctrl+n","ctrl+shift+m"]}}function b(){return[{category:p,displayName:(0,s.ZP)("tgARKd")},{category:f,displayName:(0,s.ZP)("Wg7red")},{category:g,displayName:(0,s.ZP)("Kktrf")},{category:v,displayName:(0,s.ZP)("PoY13c")},{category:h,displayName:(0,s.ZP)("H3qMCe")}]}function w(e,t,n){return{category:e,description:t,hotmail:n,yahoo:n,gmail:n,owa:n,outlook:n}}let y=(0,m._)(function(){let e={},t=(0,u.qw)();return e.exitMessageEditor={category:p,description:(0,s.ZP)("aXoif"),hotmail:"alt+f10",gmail:"alt+f10",owa:"alt+f10",outlook:"alt+f10"},{...(0,u.r5)(),newMail:S(),sendMail:{category:p,description:(0,s.ZP)("fRx6Le"),hotmail:(0,c.V5)()?["ctrl+enter"]:["ctrl+enter","alt+s"],yahoo:"alt+s",gmail:"ctrl+enter",owa:(0,c.V5)()?["ctrl+enter"]:["ctrl+enter","alt+s"],outlook:(0,c.V5)()?["ctrl+enter"]:["ctrl+enter","alt+s"]},print:w(h,(0,s.ZP)("Mbu2J"),"ctrl+p"),reply:{category:p,description:(0,s.ZP)("VFM5ce"),hotmail:"r",yahoo:"r",gmail:"r",owa:["r","ctrl+r"],outlook:"ctrl+r"},replyAll:{category:p,description:(0,s.ZP)("ulKZCe"),hotmail:["a","shift+r"],yahoo:"a",gmail:"a",owa:["shift+r","ctrl+shift+r"],outlook:"ctrl+shift+r"},forward:{category:p,description:(0,s.ZP)("qw8xtb"),hotmail:"shift+f",yahoo:"f",gmail:"f",owa:["shift+f","ctrl+shift+f"],outlook:"ctrl+f"},saveDraft:w(p,(0,s.ZP)("hGFVhd"),"ctrl+s"),discardDraft:{category:p,description:(0,s.ZP)("uoge3d"),hotmail:"esc",owa:"esc",outlook:"esc"},gotoInbox:{category:v,description:(0,s.ZP)("_E9bIc"),hotmail:"g i",yahoo:"m",gmail:"g i",owa:"g i",outlook:"ctrl+shift+i"},gotoDrafts:{category:v,description:(0,s.ZP)("Y2s7$c"),hotmail:"g d",gmail:"g d",owa:"g d"},gotoSent:{category:v,description:(0,s.ZP)("c1Y8Rb"),hotmail:"g s",gmail:"g t",owa:"g s"},gotoSearch:{category:v,description:(0,s.ZP)("Bk5njb"),hotmail:"/",yahoo:"s",gmail:"/",owa:"alt+q",outlook:["ctrl+e","f3"]},undoAction:w(h,(0,s.ZP)("JgSE$d"),["ctrl+z","alt+backspace"]),selectUnselectMessage:{category:f,description:(0,s.ZP)("IRBxwe"),hotmail:"ctrl+space",yahoo:"ctrl+space",gmail:["x","ctrl+x"],owa:"ctrl+space",outlook:"ctrl+space"},selectAll:w(f,(0,s.ZP)(o.q),"ctrl+a"),deselectAll:w(f,(0,s.ZP)("zRSXJc"),"esc"),home:w(f,(0,s.ZP)("IFOmYb"),["home","ctrl+home"]),end:w(f,(0,s.ZP)("ayQrIe"),["end","ctrl+end"]),copyMailToClipboard:w(f,(0,s.ZP)("eePAPd"),"ctrl+c"),pasteMailToFolder:w(f,(0,s.ZP)("htZOB"),"ctrl+v"),deleteMail:{category:h,description:(0,s.ZP)("CnqeId"),hotmail:"del",yahoo:"del",gmail:"#",owa:"del",outlook:["del","ctrl+d"]},openMail:{category:g,description:(0,s.ZP)("jOx25"),hotmail:["o","enter"],gmail:["o","enter"],owa:["o","enter"],outlook:"enter"},openMailInPopout:w(g,(0,s.ZP)("CHBfnd"),"shift+enter"),toggleFolderPane:w(v,(0,s.ZP)(i.S),["alt+f1"]),closeMail:{description:(0,s.ZP)("RQICxe"),...I},openNextItem:{category:g,description:(0,s.ZP)("VIg5zd"),hotmail:"ctrl+.",yahoo:"ctrl+.",gmail:"j",owa:"ctrl+.",outlook:"ctrl+."},openPrevItem:{category:g,description:(0,s.ZP)("FeBOhe"),hotmail:"ctrl+,",yahoo:"ctrl+,",gmail:"k",owa:"ctrl+,",outlook:"ctrl+,"},focusNextItemPart:{category:g,description:(0,s.ZP)("WFJQXd"),hotmail:".",gmail:"n",owa:"."},focusPrevItemPart:{category:g,description:(0,s.ZP)("uZvFLb"),hotmail:",",gmail:"p",owa:","},expandCollapseAll:{category:g,description:(0,s.ZP)("tLIeF"),hotmail:"x",owa:"x"},expandAll:{category:g,description:(0,s.ZP)("i5RsXd"),gmail:";",outlook:"right"},collapseAll:{category:g,description:(0,s.ZP)("vPWE6d"),yahoo:["left"],gmail:[":","left"],outlook:"left",owa:"left"},softDeleteMail:w(h,(0,s.ZP)("arFO3b"),"shift+del"),newFolder:{category:h,description:(0,s.ZP)("pvNo5c"),hotmail:"shift+e",yahoo:"ctrl+shift+e",owa:"shift+e",outlook:"ctrl+shift+e"},markAsRead:{category:h,description:(0,s.ZP)("gJGdfc"),hotmail:"q",yahoo:"k",gmail:"shift+i",owa:(0,c.V5)()?"q":["q","ctrl+q"],outlook:"ctrl+q"},markAsUnread:{category:h,description:(0,s.ZP)("Dlcgtd"),hotmail:"u",yahoo:"shift+k",gmail:"shift+u",owa:["u","ctrl+u"],outlook:"ctrl+u"},markAsReadUnread:{category:"",description:"",hotmail:["q","u"],yahoo:["k","shift+k"],gmail:["shift+i","shift+u"],owa:(0,c.V5)()?["q","u"]:["ctrl+q","ctrl+u"],outlook:["ctrl+q","ctrl+u"]},toggleFlag:{category:h,description:(0,s.ZP)("VYJeSc"),hotmail:"ins",yahoo:"l",gmail:"s",owa:"ins",outlook:"ins"},archiveMail:{category:h,description:(0,s.ZP)("HSAz1"),hotmail:"e",gmail:"e",owa:"e",outlook:"backspace"},markAsJunk:{category:h,description:(0,s.ZP)("c_Rkwc"),hotmail:"j",gmail:"shift+1",owa:"j",outlook:"ctrl+j"},zoomIn:w(h,(0,s.ZP)("xASbVe"),["ctrl++","ctrl+="]),zoomOut:w(h,(0,s.ZP)("cLgHAb"),["ctrl+-","ctrl+_"]),zoomReset:w(h,(0,s.ZP)("n6FBFc"),"ctrl+0"),moveToFolder:{category:h,description:(0,s.ZP)(r.Q),hotmail:"v",gmail:"v",owa:"v",outlook:"ctrl+shift+v"},categorize:{category:h,description:(0,s.ZP)("fEcPlb"),hotmail:"c",gmail:"l",owa:"c"},ignore:{category:h,description:(0,s.ZP)(a.I),hotmail:"ctrl+del",owa:"ctrl+del",outlook:"ctrl+del"},snooze:{category:h,description:(0,s.ZP)(l.H),hotmail:"b",gmail:"b",owa:"b"},insertHyperlink:{category:p,description:(0,s.ZP)("W13DN"),hotmail:"ctrl+k",gmail:"ctrl+k",owa:"ctrl+k",outlook:"ctrl+k"},keyboardShortcuts:{category:v,description:(0,s.ZP)("gQAXod"),hotmail:"?",gmail:"?",owa:"?",yahoo:"?"},f6:t.f6,shiftF6:t.shiftF6,ctrlTab:t.ctrlTab,ctrlShiftTab:t.ctrlShiftTab,refresh:{hotmail:["f5","ctrl+shift+r"],gmail:["f5","ctrl+shift+r"],owa:["f5","ctrl+shift+r"],outlook:["f5","ctrl+shift+r"]},syncMailbox:w(h,(0,s.ZP)("axjUHc"),"f9"),...e,...(0,d.cr)("tri-quickSteps")?{quickStep5:P(5),quickStep6:P(6),quickStep7:P(7),quickStep8:P(8),quickStep9:P(9)}:{}}});function P(e){return w(h,(0,s.ZP)("sG6J2d"),`ctrl+shift+${e}`)}},580902:(e,t,n)=>{n.d(t,{bQ:()=>i,g9:()=>l,nC:()=>a});var o=n(402392);let r=new o.nI(()=>Promise.all([n.e(728696),n.e(992814),n.e(94724),n.e(815740),n.e(757517)]).then(n.bind(n,737285))),i=new o.EF(r,e=>e.createNewInboxRuleFromDialog),a=new o.EF(r,e=>e.createRuleFromItem),l=new o.EF(r,e=>e.createRuleFromRow)},116156:(e,t,n)=>{n.d(t,{Z:()=>r});var o=n(52924);function r(){return!!o.Z().SegmentationSettings?.Rules}},696574:(e,t,n)=>{n.d(t,{Y:()=>i});var o=n(402392);let r=new o.nI(()=>Promise.all([n.e(886223),n.e(37446)]).then(n.bind(n,48685))),i=(0,o.$y)(r,e=>e.MailListFilterMenu)},680167:(e,t,n)=>{n.d(t,{L:()=>d,V:()=>s});var o=n(900041),r=n(274241),i=n(985566),a=n(345301),l=n(993167);let s=a.memo(function({iconClasses:e,iconName:t,id:n}){return a.createElement(i.J,{id:n,className:e,iconName:t})}),d=a.memo(function(e){let t=(0,r.T)(()=>({iconName:e.iconName,className:e.iconClassName}),[e.iconName,e.iconClassName]),n=(0,r.T)(()=>({root:e.iconClasses}),[e.iconClasses]),i=e.onContextMenu?(0,l.V)({onLongPress:e.onContextMenu}):null,s=a.useCallback(t=>{e.onContextMenu&&e.onContextMenu(t)},[e]);return a.createElement(o.X,{appearance:"icon",tabIndex:-1,iconProps:t,onClick:t=>{t.stopPropagation(),e.onClickCommand?.()},onDoubleClick:e=>{e.stopPropagation()},onRenderMenuIcon:()=>null,styles:n,title:e.title,"aria-label":e.title,menuProps:e.menuProps,onContextMenu:s,...i})})},697185:(e,t,n)=>{n.d(t,{Wm:()=>eL,Lh:()=>u.L,IW:()=>eV,rS:()=>eW,n_:()=>eU,bG:()=>c,_3:()=>ee,FJ:()=>eG,pf:()=>er,UG:()=>el,g9:()=>eB,Pe:()=>es,bS:()=>ef,ce:()=>ev,Qp:()=>eP,yB:()=>eO,MM:()=>eE,wm:()=>eZ,t4:()=>eD,Vg:()=>u.V,uX:()=>eH});var o=n(402392),r=n(440170),i=n(150064),a=n(510265),l=n(773942),s=n(79272),d=n(345301);let c=(0,a.P)(function(e){let{highlightTerms:t,highlightAccuracy:n,showDraftsIndicator:o,isInOutboxFolder:a,text:c,tooltipText:u,unreadCount:m,isSingleLineView:p=!1}=e,f=(0,i.Z)(m>0?r.h:r.W,(0,s.g)("Major",!0,p)),g=d.useCallback(e=>{(0,l.v)(e,t,!1,n)},[t]);return d.createElement("div",{className:f},o&&d.createElement(eO,{messageType:"Draft"}),!o&&a&&d.createElement(eO,{messageType:"Queued"}),d.createElement("span",{title:u,ref:g},c))},"MailListItemFirstLineText");var u=n(680167),m=n(679683),p=n(556134),f=n(64906),g=n(440275),v=n(550033),h=n(517795),I=n(474044),S=n(279916),b=n(386863),w=n(718531),y=n(803234),P=n(342217);let C=(0,y.M)("PinFilled",P.aFn);var E=n(651626),Z=n(302140),M=n(182896),T=n(426824),F=n(684489),k=n(83032),x=n(967359),R=n(544229),A=n(773343),D=n(324615),N=n(712728),_=n(70479),O=n(342362),L=n(714506),V=n(875177),B=n(608389),G=n(129376),U=n(274241),H=n(290622),W=n(71155),K=n(331063),z=n(222664),j=n(40540),Q=n(96008),$=n(366023),q=n(534204),X="z1cJM",Y=n(516346);let J="Hover",ee=(0,a.P)(function(e){let t=(0,L.Z)().tableViews.get(e.tableViewId),n=(0,$.ZP)(t),o=e.isSingleLine,r=d.useCallback(()=>{(0,N.n)(),(0,D.Fp)("MailListMoveMenuDismissed")},[]),a=d.useCallback(()=>(0,B.U)(e.tableViewId,n,r,J,z.__,m.b.bottomLeftEdge,[e.rowKey]),[e.tableViewId,r,e.rowKey]),l=d.useCallback(()=>{V.FQ.importAndExecute(e.rowKey,e.tableViewId,J)},[e.rowKey,e.tableViewId]),s=d.useCallback(()=>{G.i.importAndExecute(e.rowKey,e.tableViewId,J),(0,D.Fp)("MailListItemIconBarPinned")},[e.rowKey,e.tableViewId]),c=d.useCallback(t=>{t.stopPropagation(),t.persist(),eH.importAndExecute(e.rowKey,e.tableViewId,"",J,t),t.preventDefault()},[e.rowKey,e.tableViewId]),y=d.useCallback(()=>{G.rs.importAndExecute([e.rowKey],e.tableViewId,J),(0,D.Fp)("MailListItemIconBarFlagged")},[e.rowKey,e.tableViewId]),P=t=>{if("pinIcon"===t){let{isFlagged:t,isComplete:n,isPinned:o}=e;return(t||n)&&!o}return!1},ee=(0,K.tw)({title:null,key:null,onClickCommand:y,onContextMenu:c},e.isFlagged,e.isComplete),et=(0,U.T)(()=>{let t=[],n=(0,Q.bh)().hoverSurfaceActions;e.isInNotesFolder||e.isInOutboxFolder?n=["Delete"]:null===n&&(n=(0,Q.D1)());let o=(0,W.W)(n);return n.forEach(n=>{switch(n){case"Archive":o===n||e.isInArchiveFolder||(t[0]={title:(0,Z.ZP)(M.n),key:"archiveIcon",iconName:g.Z,onClickCommand:()=>{(0,j.IJ)("Archive",[e.rowKey],()=>{(0,K.eC)(e.rowKey,e.tableViewId,J)})}});break;case"Move":e.supportsMove&&(0,z.uV)(28)&&(t[1]={title:(0,Z.ZP)(x.A),key:"moveIcon",iconName:S.Z,menuProps:a()});break;case"Delete":e.canDelete&&o!==n&&(t[2]={title:(0,Z.ZP)(T.w),key:"deleteIcon",iconName:h.Z,onClickCommand:()=>(0,K.qK)(e.rowKey,e.tableViewId,J)});break;case"ReadUnread":let r=e.unreadCount>0;t[3]={title:r?(0,Z.ZP)(F.z):(0,Z.ZP)(k.WF),key:"markReadIcon",iconName:r?b.Z:w.Z,onClickCommand:l};break;case"FlagUnflag":e.supportsFlagging&&(0,z.uV)(17)&&(ee.iconClassName=(0,i.Z)(ee.iconClassName),t[4]=ee);break;case"PinUnpin":let d=e.isPinned;if(e.supportsPinning&&e.canPin&&(0,z.uV)(38)){let e=(0,i.Z)(d&&X);t[5]={title:d?(0,Z.ZP)(R.e):(0,Z.ZP)("HtDADb"),key:"pinIcon",iconClassName:(0,i.Z)(e),iconName:d?C:E.Z,onClickCommand:s}}}}),t},[e.isInNotesFolder,e.isInArchiveFolder,e.isInOutboxFolder,e.rowKey,e.canDelete,e.unreadCount,e.isPinned,e.canPin,e.supportsFlagging,e.supportsPinning,ee]),en=(0,U.T)(()=>{let t=[],n=e.supportsFlagging,o=e.supportsPinning;if(e.itemClassIcon&&e.itemClassIcon!==O.Z.None&&t.push({key:e.itemClassIcon.toString(),...(0,_.Z)(e.itemClassIcon)}),"Low"==e.importance?t.push({key:O.Z.ImportanceLow.toString(),...(0,_.Z)(O.Z.ImportanceLow)}):"High"==e.importance&&t.push({key:O.Z.ImportanceHigh.toString(),...(0,_.Z)(O.Z.ImportanceHigh)}),0!==e.smimeType){let n=(0,H.Z)(e.smimeType);n&&t.push({key:n,iconName:n})}if(e.hasAttachment?t.push({key:O.Z.Attachment.toString(),...(0,_.Z)(O.Z.Attachment)}):e.hasSharepointLink&&t.push({key:O.Z.Link.toString(),...(0,_.Z)(O.Z.Link)}),e.effectiveMentioned&&t.push({key:O.Z.GlobalMentionedMe.toString(),...(0,_.Z)(O.Z.GlobalMentionedMe),iconClasses:(0,i.Z)(e.supportsPinning&&e.isPinned&&"gwCHb",e.unreadCount>0&&"URmNh")}),(e.isSnoozed||e.isTaggedForBigScreen)&&t.push({key:O.Z.Snooze.toString(),...(0,_.Z)(O.Z.Snooze)}),n&&e.isComplete&&(0,z.uV)(17)&&t.push({key:"completeIcon",iconName:v.Z}),n&&e.isFlagged&&!e.isComplete&&(0,z.uV)(17)&&t.push({key:"flagIcon",iconClasses:Y.z,iconName:I.Z}),o&&(e.isPinned||e.isFlagged||e.isComplete)&&(0,z.uV)(38)){let n=(0,i.Z)(X,(e.isFlagged||e.isComplete)&&!e.isPinned&&"zgTQg");t.push({key:"pinIcon",iconClasses:n,iconName:C})}return t},[e.itemClassIcon,e.importance,e.smimeType,e.hasAttachment,e.hasSharepointLink,e.effectiveMentioned,e.unreadCount,e.isSnoozed,e.isTaggedForBigScreen,e.rowKey,e.isComplete,e.isFlagged,e.isPinned,e.supportsFlagging,e.supportsPinning]),eo=(0,i.Z)(q.Qu,e.containerClassName),er=(0,U.T)(()=>{if(!o)return null;let e=new Set,t=new Set;return et.forEach(t=>{e.add(t.key)}),en.forEach(n=>{e.has(n.key)&&t.add(n.key)}),t},[et,en]),ei=(0,K.FM)().isHovered,ea=!e.neverShowHoverIcons&&(ei||er?.size),el=!ea&&!e.neverShowPropertyIcons&&en.length>0;return ea||el?d.createElement(p.f,{applyTo:"none",theme:(0,A.s)((0,f.iT)()),className:eo},ea&&et.map(e=>{let t=!1,n=!1;return ei?t=!0:o&&(er?.has(e.key)&&!P(e.key)?t=!0:n=!0),d.createElement(u.L,{...e,key:e.key,iconClasses:(0,i.Z)(e.iconClasses,q.S4,P(e.key)&&q.LA,q.qv,"full"===(0,f.iT)()&&q.ct,t&&"aXeZO",n&&"el0CW")})}),el&&en.map(e=>d.createElement(u.V,{...e,key:e.key,iconClasses:(0,i.Z)(e.iconClasses,q.E4,o&&!er?.has(e.key)&&q.BA,er?.has(e.key)&&q.LA)}))):null},"MailListItemIconBar");var et=n(939129),en=n(983216),eo=n(228465);let er=(0,a.P)(function(e){let{categories:t,categoryContainerClass:n,categoryWellContainerClass:o,isNudged:r,isSingleLine:i,mailboxGuids:a,parentFolderDisplayName:l,parentFolderId:s,rowId:c,showCategories:u,showFolderTag:m,showPreviewText:p,mailboxInfo:f}=e;return d.createElement("div",{className:u?en.Km:en.Zl},u&&d.createElement(et.lH,{key:c,categories:t,categoryContainerClass:n,categoryWellContainerClass:o,onCategoryClicked:ei,mailboxInfo:f}),m&&d.createElement(eL,{folderId:s,parentFolderDisplayName:l,isPreviewTextOn:p||r,isSingleLine:i,mailboxGuids:a}))},"MailListItemLabelsContainer"),ei=async(e,t,n)=>{e.stopPropagation(),(await eo.Vn.import())(n,t)};var ea=n(114015);let el=(0,a.P)(function(e){let{addOverflowStyles:t,additionalStyles:n,highlightTerms:o,text:r,tooltipText:i,conditionalFormattingModifications:a,highlightAccuracy:s}=e,c=d.useMemo(()=>{let e=a&&a.length>0?(0,ea.Sx)(a):void 0;return n?{...e,additionalStyles:n}:{...e}},[n,a]),u=d.useCallback(e=>{(0,l.v)(e,o,!1,s)},[o]);return Object.keys(c).length>0?d.createElement("div",{style:c,className:en.fO},d.createElement("span",{className:t?en.SW:void 0,title:i,ref:u},r)):d.createElement("span",{className:t?en.SW:void 0,title:i,ref:u},r)},"MailListItemLineText"),es=(0,a.P)(function(e){let{highlightTerms:t,isNudged:n,previewDisplay:o,rowKey:r,tableViewId:a,highlightAccuracy:c}=e,u=d.useCallback(e=>{(0,l.v)(e,t,!1,c)},[t,c]);return d.createElement("div",{className:(0,i.Z)(en.YT,n&&en.vS)},d.createElement("span",{className:(0,i.Z)(en.Nt,n?en.BB:void 0,(0,s.g)("Major")),ref:u},o),n&&d.createElement(eW,{rowKey:r,tableViewId:a}))},"MailListItemPreviewDisplay");var ed=n(67199),ec=n(994614),eu=n(709077),em="pTvY_",ep="f_Pqq";let ef=(0,a.P)(function(e){let t=d.useRef(!1),n=(0,f.iT)(),o="full"===n,r=(0,s.g)("Major"),a=(t,n,o)=>{let r=(0,L.Z)().attachmentViewStates.get(t);return r?d.createElement(ec.C,{onPreviewClick:e.onPreviewClick,key:r.attachmentId.Id,attachmentViewState:r,isImage:n,specialDocViewmode:o?ec.n.shortDocView:ec.n.none,attachmentViewStateId:t,shouldHideFileSize:!0}):null},l=(e,t,n,o)=>{let r=[];for(let i=0;i<n;i++){let n=a(t[i],e,o);n&&r.push(n)}return r},c=(e,t,n)=>{let o={shouldShowPlusMore:!1,numDocToShow:0,numImageToShow:0},r=n,i=136*e+68*t;if(o.shouldShowPlusMore=i>r,!o.shouldShowPlusMore)return{shouldShowPlusMore:!1,numDocToShow:e,numImageToShow:t};let a=Math.floor((r-=34)/136);o.numDocToShow=Math.min(e,a);let l=Math.floor((r-=136*o.numDocToShow)/68);return o.numImageToShow=Math.min(t,l),o},u=()=>{let t=0;if((0,eu.Sl)(e.tableViewId))t=((0,eu.bh)().subjectColumnWidth??0)-20;else if(e.isWideView)t=500;else{let{listViewWidth:e}=(0,eu.Tj)();t=e-28-48-18}return t},{isWideView:m,rowId:p,tableViewId:g}=e,v=(0,L.Z)().rowAttachmentPreviewWellViews.get(p),h=L.Z().tableViews.get(g)?.tableQuery?.listViewType===1,I="medium"===n,S=(0,i.Z)("disableTextSelection",m?(0,i.Z)(en.nv,I&&h&&en.iN,I&&!h&&en.i0,!I&&en.R8):(0,i.Z)(en.Yv,o?en.JD:en.hD)),b=d.useMemo(()=>({marginLeft:(0,eu.Lt)((0,L.Z)().tableViews.get(g)).senderColumnWidth}),[e.tableViewId]);return v?d.createElement("div",{className:S,style:m?b:void 0},(e=>{let a=(0,i.Z)(o?"cCkOR":"C_rfr",["disableTextSelection","dapZe","medium"===n&&"xcoGG","compact"===n&&"MVXvJ"]),s=e.documentViewStateIds.length,m=e.imageViewStateIds.length,p=s+m,f=c(s,m,u()),g=0===f.numImageToShow;return g&&(a=(0,i.Z)(o?em:ep,a)),t.current||((0,ed.N3)("MailListItemAttachmentPreview",[p,f.numDocToShow+f.numImageToShow,s,m,f.numDocToShow,f.numImageToShow,f.shouldShowPlusMore]),t.current=!0),d.createElement("div",{className:a},l(!1,e.documentViewStateIds,f.numDocToShow,g),l(!0,e.imageViewStateIds,f.numImageToShow,g),f.shouldShowPlusMore&&d.createElement("div",{className:(0,i.Z)(r,g&&(o?(0,i.Z)(em,"_EBYO"):(0,i.Z)(ep,"y1bNm")),"evkUo")},(0,Z.WU)((0,Z.ZP)("fLVFIb"),p-f.numDocToShow-f.numImageToShow)))})(v)):null},"MailListItemRichPreviewWell");var eg=n(365807);let ev=(0,a.P)(function(e){let{isPinned:t,isSnoozed:n=!1,isSingleLine:o=!1,isUnread:r=!1,lastDeliveryTimestamp:a="",returnTime:l,supportsPinning:c,conditionalFormattingModifications:u}=e,m=d.useMemo(()=>u&&u.length>0?(0,ea.Sx)(u):void 0,[u]),p="",f=(0,i.Z)(o?en.Uz:void 0,(0,s.g)("Minor"));if(n){if(!l)return null;try{p=(0,eg.zg)(l)}catch(e){p=""}f=(0,i.Z)(f,en.Ag)}else{if(l)return null;try{p=(0,eg.zg)(a)}catch(e){p=""}f=(0,i.Z)(f,en.AB,o?en.yE:void 0,!o&&r?en.dg:void 0,!o&&r&&c&&t&&en.KQ,!r&&en.Ui)}return d.createElement("span",{className:f,title:p,style:m},p)},"MailListItemTimestamp");var eh=n(950798),eI=n(488581),eS=n(381591),eb=n(900041),ew=n(754932),ey=n(993167);let eP=(0,a.P)(function(e){let{isLoadingSecondLevelExpansion:t,isLoadingExpansion:n,isFirstLevelExpanded:o,isSecondLevelExpanded:r,isSelected:a,isSingleLine:l,isUnread:s,rowKey:c,showCondensedView:u,tableViewId:m,conditionalFormattingModifications:p}=e,g=d.useMemo(()=>p&&p.length>0?(0,ea.Nn)(p):void 0,[p]),v=d.useCallback(e=>{(0,K.Cj)(e,ew.Z.MailListItemTwisty,c,m),(0,ed.y8)("MailListRowExpanded",[u,L.Z().tableViews.get(m)?.tableQuery.type])},[c,m,u]),h=r||t,I="full"===(0,f.iT)(),S=(0,i.Z)("Ewgls",o&&!h&&"bQOUp",h&&"MVb5C",I&&"vcC2D"),b=(0,U.T)(()=>({iconName:eS.Z,styles:{root:S}}),[S]);if(n)return d.createElement(eh.$,{onDoubleClick:eC,className:(0,i.Z)(l?"c0CHt":"MlKwj"),size:eI.E.xSmall});let w=(0,i.Z)(l?(0,i.Z)("uu6rV",a&&"DO4n4"):(0,i.Z)("Bz2lH",a&&"LBWPt"),s&&!g&&(a?"i7twk":"cb5TK"));return d.createElement("div",{className:l?void 0:"gpJ9q",...(0,ey.V)({onClick:v})},d.createElement(eb.X,{appearance:"icon","aria-expanded":r,"aria-label":(0,Z.ZP)("DbGBUc"),className:(0,i.Z)(w,"PWvS4"),iconProps:b,tabIndex:-1,onClick:v,onDoubleClick:eC,style:g}))},"MailListItemTwistyButton"),eC=e=>{e.stopPropagation()},eE=(0,a.P)(function(e){let{isHovered:t,isUnread:n,rowKey:o,tableViewId:r,isExpanded:a=!1,isItemPart:l=!1,conditionalFormattingModifications:s}=e,c=d.useMemo(()=>s&&s.length>0?(0,ea.MA)(s):void 0,[s]),u=d.useCallback(async e=>{e.stopPropagation(),l?(await V.k2.import())([o],r,n,!0,null):V.FQ.importAndExecute(o,r,null)},[n,o,r,l]),m=d.useMemo(()=>l?t&&!n:t||n&&a,[l,t,n,a]);return d.createElement("div",{className:"X1bn0"},d.createElement("button",{tabIndex:-1,className:(0,i.Z)("Es7y_",l&&"YhZ1Q",n&&!c&&(l?"MLesg":"OscII"),m&&"bGhsB"),onClick:u,title:n?(0,Z.ZP)(F.z):(0,Z.ZP)(k.WF),style:n?c:void 0}))},"MailListItemUnreadBar"),eZ=(0,a.P)(function(e){let{unreadCount:t,conditionalFormattingModifications:n}=e,o=d.useMemo(()=>n&&n.length>0?(0,ea.Sx)(n):void 0,[n]),r=(0,i.Z)(en.hm,(0,s.g)("Major"));return t>1?d.createElement("span",{className:r,style:o},"(",t,")"):null},"MailListItemUnreadCount");var eM=n(910082),eT=n(872951),eF=n(329005),ek=n(68313),ex=n(673147),eR=n(313380),eA=n(206339);let eD=(0,a.P)(function(e){let{isSelected:t,lastSender:n,isUnauthenticatedSender:o,isCondensedView:r,tableViewId:a}=e,l=(0,K.FM)().isHovered,s=!(0,eR.OV)(),c=(0,ex.Z)(),u=(0,eu.J5)(),m=(0,U.T)(()=>{let e=(0,L.Z)().tableViews.get(a),n=c||e?.isInCheckedMode;return s&&n||!s?t||e?.isInCheckedMode||l||(u?e?.isInSelectAllStateSLV:e?.isInSelectAllState):e?.isInSelectAllState},[t,a,l,c,u]),p=(0,U.T)(()=>{let t=(0,L.Z)().tableViews.get(a);return(0,K.E3)(t,e.rowKey,e.lastDeliveryTimestamp)},[a,e.rowKey,e.lastDeliveryTimestamp]),g=d.useCallback(t=>{t.preventDefault(),t.stopPropagation(),(0,K.Cj)(t,ew.Z.MailListItemCheckbox,e.rowKey,a)},[e.rowKey,a]),v=d.useCallback(e=>{e.stopPropagation()},[]),h=(0,L.Z)().tableViews.get(a),I=h&&(0,eF.Z)(h);if(!h)return null;let S=!u,b=(0,f.iT)(),w=(0,i.Z)((0,f.KS)(en.rp,en.IV,en.oA),S&&en.r7,S?en.dK:en.yN,en.J7,I?en.AR:en.oj),y=(0,i.Z)(en.MJ,(0,f.KS)(en.rp,en.IV,en.oA)),P={role:eM.ce.checkbox,checked:p,label:I?(0,Z.ZP)("a5ZBvc"):(0,Z.ZP)("uwIyjb")},C=n?.Mailbox,E=(0,K.KY)(h.tableQuery);return d.createElement("div",{className:w,...({get:()=>(0,ey.V)({onClick:g})}).get(),onClick:g,tabIndex:-1,onDoubleClick:v,...(0,eM.WO)(P)},E&&!!C&&d.createElement(ek.sl,{name:C.Name,emailAddress:C.EmailAddress,size:(0,K.gl)(u,b),showUnknownPersonaCoin:o,className:(0,i.Z)(m?en.Jx:en.IG,!m&&r&&en.tx),mailboxType:C.MailboxType,enableGraphQLPhotos:(0,eA.cr)("peo-images-via-graphql")}),m?d.createElement(eT.Y,{className:y,checked:p,indeterminate:(()=>{let t=(0,L.Z)().tableViews.get(a);return(0,K.$X)(t,e.rowKey,e.lastDeliveryTimestamp)})(),isMessageSelected:t,onChange:g,inputProps:eN,isSLVStyleApplied:!c&&s&&u,isMailListItemHovered:l}):void 0)},"PersonaCheckbox"),eN={tabIndex:-1},e_=new o.nI(()=>Promise.all([n.e(670081),n.e(788521),n.e(209563)]).then(n.bind(n,209563)),{name:"MailListItemComponents"}),eO=(0,o.$y)(e_,e=>e.MailListItemTypePlaceholder),eL=(0,o.$y)(e_,e=>e.FolderTag),eV=(0,o.$y)(e_,e=>e.MailListActionButton),eB=(0,o.$y)(e_,e=>e.MailListItemMeetingInfo),eG=(0,o.$y)(e_,e=>e.MailListItemInfo),eU=(0,o.$y)(e_,e=>e.MailListItemExternalMarker),eH=new o._5(e_,e=>e.getFlagContextMenu),eW=(0,o.$y)(e_,e=>e.MailListItemDismissButton)},331063:(e,t,n)=>{let o;n.d(t,{Qk:()=>en,eC:()=>$,Cm:()=>q,qK:()=>Q,$1:()=>j,M1:()=>Z,E3:()=>P,$X:()=>C,gl:()=>J,FX:()=>T,Cj:()=>R,KG:()=>s,KY:()=>B,TI:()=>u,tw:()=>S,FM:()=>eo});var r=n(714506),i=n(754932),a=n(538477),l=n(385669);function s(e,t,n,o,s="",d=[]){e.stopPropagation();let c=(0,l.V5)()?e.metaKey:e.ctrlKey,u=(0,r.Z)().tableViews.get(o);u&&(e.shiftKey?(0,a.Fm)(u,n,c):c||t===i.Z.MailListItemCheckbox?(0,a.YR)(n,u,c):(0,a.xT)(n,s,d,u,t))}var d=n(742351),c=n(780141);function u(e,t,n,o,r,i,a,l){return e||o?(0,d.Z)()&&a?r&&t?c.wc:a&&0==l?c.vn:c.n9:a?o?c.jT:c.n9:c.jT:r&&t?c.wc:i&&n?c.UX:c.hz}let m="mGXuTc";var p=n(302140),f=n(474044),g=n(348662),v=n(550033),h=n(516346),I=n(150064);function S(e,t,n){if(n)e.title=(0,p.ZP)(m),e.key="completeIcon",e.iconName=v.Z;else{let n=(0,I.Z)(t?h.z:h.b);e.title=t?(0,p.ZP)("lSeUid"):(0,p.ZP)(m),e.key="flagIcon",e.iconName=t?f.Z:g.Z,e.iconClassName=n}return e}var b=n(313380),w=n(720742),y=n(538565);function P(e,t,n){if(!e)return!1;if(e.isInVirtualSelectAllMode)return!(e.virtualSelectAllExclusionList.indexOf(t)>-1)&&(!e.selectAllModeTimeStamp||!n||(0,y.RR)((0,y.vk)(n),e.selectAllModeTimeStamp));if(!(e.isInCheckedMode&&e.selectedRowKeys.has(t)))return!1;{let n=(0,w.Z)().expandedConversationViewState;return!(n?.expandedRowKey===t&&((n?.forks?.length??0)>0||n?.allNodeIds?.length>0))||!!n?.shouldBeExpanded||(0,b.yw)(t,e)}}let C=(0,n(75953)._)((e,t,n)=>{let o=(0,b.Xp)().expandedConversationViewState;if(!e||t!==o?.expandedRowKey||0!==e.tableQuery.listViewType)return!1;let r=b.H4.getConversationId(t,e),i=(0,b.bh)().conversationItems.get(r),a=i?.globalMessageCount||0;return!P(e,t,n)&&o?.selectedNodeIds?.length>0&&a>1});var E=n(645225);function Z(e){let t=E.Z.conversations.get(e);return t?.conversationNodeIds||[]}var M=n(341032);function T(e){let t=e?.tableQuery?.folderId,n=t?(0,M.Z)(t):"";return"drafts"===n||"sentitems"===n}var F=n(710511),k=n(258597),x=n(514112);function R(e,t,n,o){e.stopPropagation(),N(s=>{(function(e,t,n,o){let s;let d=(0,l.V5)()?e.metaKey:e.ctrlKey,c=(0,r.Z)().tableViews.get(o),u=e.nativeEvent.timeStamp;e.shiftKey?(0,a.Yu)(c,n,t,d):d||t===i.Z.MailListItemCheckbox?c&&(0,a.Iy)(c,n,!0,t,u):(c&&((0,x.G)(u),(0,a.Af)(c,n,!0,t,u)),s=t!==i.Z.MailListItemRichPreview),s&&!(0,b.OV)()&&(0,F.r)()})(e,s?i.Z.MailListItemSimulatedDoubleClick:t,n,o)},t===i.Z.MailListItemBodyDoubleClick,n)}let A="",D=(e,t=!1)=>{e(t),A="",clearTimeout(o)},N=(e,t,n)=>{if(A&&(clearTimeout(o),n===A)){D(e,!0);return}t||!(0,k.gS)()?D(e):(A=n,o=setTimeout(()=>{D(e)},200))};var _=n(243470),O=n(45409),L=n(478248),V=n(511943);function B(e){let t=(0,V.zl)();if((0,_.O)(8,t)||!L.p(t)?.SegmentationSettings?.DisplayPhotos)return!1;if(1==e.type){let t=e.scenarioType;if("persona"===t||"privateDistributionList"===t)return!0;let n=!1;if(e.searchScope.kind===O.D9.PrimaryMailbox){let t=(0,M.Z)(e.searchScope.folderId);n="drafts"!==t&&"sentitems"!==t}return n||e.searchScope.kind==O.D9.ArchiveMailbox||e.searchScope.kind==O.D9.SharedFolders}{let t=e?.folderId&&(0,M.Z)(e.folderId);return"drafts"!=t&&"sentitems"!=t&&!b.WR.isTableMultiValueSort(e)}}var G=n(129376),U=n(324615),H=n(50059),W=n(937588),K=n(994572),z=n(366023);function j(e,t){switch(e){case"Delete":return t?q:Q;case"Archive":return $}return null}let Q=async(e,t,n)=>{let o=(0,b.bh)().tableViews.get(t);o&&await X(o,!1,[e])&&await G.OL.importAndExecute([e],t,!1,n)},$=async(e,t,n)=>{await G.GS.importAndExecute([e],(0,b.bh)().tableViews.get(t),n)},q=async(e,t,n)=>{let o=(0,b.bh)().tableViews.get(e);o&&await X(o,!0,[t])&&(await G.N5.import())([t],o.id,n),(0,U.Fp)("mailListItemDelete")},X=async(e,t,n)=>{if(e){let o=e.tableQuery.folderId;return!(0,K.s)((0,z.qW)(o),o)&&(!(await H.yQ.import())(e,t,n)||((0,W.o)("Delete"),!1))}return!1};var Y=n(972319);let J=(e,t)=>{switch(t){case"compact":return e?Y.Ir.size16:Y.Ir.size24;case"medium":return e?Y.Ir.size24:Y.Ir.size28;default:return e?Y.Ir.size28:Y.Ir.size32}};n(673147);var ee=n(345301);let et=(0,ee.createContext)({isHovered:!1,conditionalFormattingModifications:[]}),en=et.Provider;function eo(){return(0,ee.useContext)(et)}},354244:(e,t,n)=>{n.d(t,{Z:()=>S});var o=n(510265),r=n(696574),i=n(313380),a=n(345301),l=n(20443),s=n(341032),d=n(64906),c=n(709077),u=n(312459),m=n(996295),p=n(366023),f=n(531359),g=n(673147),v=n(206339),h=n(345535),I=n(150064);let S=(0,o.P)(function(e){let t=(0,i.bh)().tableViews.get(e.tableViewId),n=(0,c.J5)(),o=t?.tableQuery?.listViewType===1,S=(0,i.OV)(),w=!S,y=(0,d.KS)(h.rp,h.IV,h.oA),P=(n?t?.isInSelectAllStateSLV:t?.isInSelectAllState)||t?.isInCheckedMode,C="Empty"===(0,f.q)(),E=(0,c.gS)()&&(t?.isInCheckedMode&&(t?.selectedRowKeys.size??0)>0||t?.isInVirtualSelectAllMode),Z=t?(0,i.N_)(t):null,M=e.mailListHeaderStylesAsPerUserSettings&&({SLVItemViewSenderImageOn:h.Vk,SLVItemViewSenderImageOff:h.mO,SLVConversationViewSenderImageOn:h.U,SLVConversationViewSenderImageOff:h.d0,threeColItemViewSenderImageOn:h.hG,threeColItemViewSenderImageOff:h.eG,threeColConversationViewSenderImageOn:h.mq,threeColConversationViewSenderImageOff:h.AP})[e.mailListHeaderStylesAsPerUserSettings],T=(0,I.Z)(n?h.zP:h.Or,M),F=t?.tableQuery?.folderId??"",k=(0,l.lW)((0,p.KT)(e.tableViewId))&&"inbox"===(0,s.Z)(F),x="notes"===(0,s.Z)(F)&&(0,v.cr)("notes-folder-view"),R="notes"===(0,s.Z)(F)&&!(0,v.cr)("notes-folder-view");if(!e.renderSecondRowCustomContent)throw Error("MailListHeader: renderSecondRowCustomContent should not be null");let A=e.renderThirdRow?.(T),D=e.renderFirstRow?.(h._t);return a.createElement("div",{className:h.b3},e.renderFirstRow?.(h._t),a.createElement("div",{className:(0,I.Z)(h.hj,n?h.yN:h.dK,(0,g.Z)()?h.Yh:h.xm,(S||P||null!==Z||R)&&h.Di,k?h.TW:h.iz,x&&h.cK,A&&h.Qc,D&&h.mC,y)},a.createElement("div",{className:h.I},(w&&(P||!e.shouldShowFilterMenu)||!w)&&((t,o)=>{let r=u.ID.tryImportForRender()?.();return o?null:r?a.createElement("div",{className:h.r}):C?S?a.createElement("div",{className:(0,I.Z)(h.z$,n?h.yN:h.dK,t&&!E?h.TW:h.iz,y)}):void 0:a.createElement("div",{className:(0,I.Z)(h.z$,n?h.yN:h.dK,t&&!E?h.TW:h.iz,y)},a.createElement(m.Aw,{tableViewId:e.tableViewId,isInboxWithPivots:t}))})(k,x),(w&&!P||C||!w)&&e.renderSecondRowCustomContent((0,I.Z)(x?h.kG:h.g_,M,h.bC,y)),w&&P&&!C&&e.renderSecondRowCustomContent((0,I.Z)(h.kG,h.Q2,y)),w&&e.shouldShowFilterMenu&&!C&&a.createElement(m.Ui,{tableView:t,supportedViewFilters:b(),filterMenuSource:e.filterMenuSource,tableViewId:e.tableViewId}),(!w||C)&&e.shouldShowFilterMenu&&"GroupHeader"!==e.filterMenuSource&&(()=>{let{filterMenuSource:t,tableViewId:o}=e,i=b(),l=(0,I.Z)((0,d.KS)(h.q3,h.LK,h.LK),!n&&h.e7);return a.createElement(r.Y,{filterMenuSource:t,supportedViewFilters:i,tableViewId:o,filterButtonClassName:l})})())),A,a.createElement("div",{className:(0,I.Z)(h.XT,M,n&&!o&&h.Ef)},e.renderBulkActionProgressBar?.()))},"MailListHeader");function b(){return["All","Unread","Flagged","ToOrCcMe","HasFile","Mentioned","HasCalendarInvite"]}},328518:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(302140),r=n(345301);function i(){return r.createElement("span",null,(0,o.ZP)("rPRrR"))}},860215:(e,t,n)=>{n.d(t,{Z:()=>m});var o=n(345301),r=n(510265),i=n(382092),a=n(64906),l=n(709077),s=n(313380),d=n(132641),c=n(150064);let u=()=>{},m=(0,r.P)(function(e){let t=(0,l.J5)(),n=!(0,s.OV)();return o.createElement("div",{className:(0,c.Z)(d.ZA,e.containerCssClass,n&&!t&&d._P,n&&t&&d.Ue,(0,a.KS)(d.rp,d.IV,d.oA)),role:"heading","aria-level":2},e.text&&o.createElement("span",{className:(0,c.Z)(d.cw,e.showFavoriteToggle&&d.wq,(0,a.KS)(d.rp,d.IV,d.oA))},e.text),e.showFavoriteToggle&&o.createElement(i.B2,{isInFavorites:e.isInFavorites??!1,onClick:e.onFavoriteToggleClick??u,tooltipStyles:d.GW,iconStyles:(0,a.KS)(d.ax,d.ln,d.ln)}))},"MailListHeaderSecondRowTextContent")},996295:(e,t,n)=>{n.d(t,{I8:()=>f,Ui:()=>g,jM:()=>c,FR:()=>u,Aw:()=>p,Cq:()=>m});var o=n(345301),r=n(402392),i=n(328518),a=n(984737),l=n(377527);function s(){return o.createElement("div",{className:l.F8})}let d=new r.nI(()=>Promise.all([n.e(360324),n.e(670081),n.e(992814),n.e(94724),n.e(211150),n.e(683003),n.e(189382),n.e(183509),n.e(783012),n.e(303731),n.e(290677),n.e(964886),n.e(886223),n.e(647017)]).then(n.bind(n,352652)),{name:"MailListItemLazy"}),c=(0,r.$y)(d,e=>e.MailListItemExpansion);(0,r.$y)(d,e=>e.MailListItemMeetingPreview,()=>(0,i.Z)());let u=(0,r.$y)(d,e=>e.MailPersonaSearchResultsHeader),m=new r.EF(d,e=>e.initializeThirdRow);(0,r.Kv)(a.v,d,e=>e.scrollToTopOfListViewOrchestrator);let p=(0,r.$y)(d,e=>e.SelectAllCheckbox),f=(0,r.$y)(d,e=>e.BigHoverAction,()=>o.createElement(s,null)),g=(0,r.$y)(d,e=>e.LazyMailListHeaderIconContainer)},174411:(e,t,n)=>{n.d(t,{Z:()=>o});function o(e,t,n,o,r){let{isSelected:i,isFlagged:a,isPinned:l}=e,{supportsFlagging:s,supportsPinning:d}=t;return i||n||s&&a||d&&l?r:o}},587687:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(523530),r=n(302140);function i(e,t=!1){let n=(e=e||"").indexOf("_____");return n>=0&&(e=e.slice(0,n)),(e=e.replace(/¯/g,"").replace(/--/g,"").replace(/\s\s+/g," ").trim()).length>0?e+(t?"...":""):(0,r.ZP)(o.d)}},685564:(e,t,n)=>{n.d(t,{Z:()=>m});var o=n(136851),r=n(313380),i=n(709077),a=n(331063),l=n(20443),s=n(62699),d=n(690673),c=n(52924),u=n(341032);function m(e){let t=(0,r.bh)().tableViews.get(e),n=t.tableQuery,m=(0,r.jJ)(n)||(0,s.K4)(n),p=(0,l.OX)(n),f=!(0,o.Ws)(n),g=(0,d.bh)().staticSearchScope,v=0===t.tableQuery.type&&p,h=c.Z().PolicySettings?.MessagePreviewsDisabled==!0,I=n.folderId&&"notes"!==(0,u.Z)(n.folderId)&&!t.isInVirtualSelectAllMode&&0==t.tableQuery.type||t?.tableQuery.type==2||t?.tableQuery.type==3||1==t.tableQuery.type,S=g?.folderId?(0,u.Z)(g.folderId):void 0,b=t?.tableQuery?.type==1&&"sentitems"!=S&&"drafts"!=S,w=n.folderId?(0,u.Z)(n.folderId):void 0;return{tableViewId:e,supportsPinning:p,supportsFlagging:!(0,o.Ws)(n)&&(1==n.type||0==n.type),showCirclePersonas:(0,a.KY)(n),showPreviewText:c.Z().UserOptions?.ShowPreviewTextInListView&&!h,isSearchNotInDraftOrSentItemFolder:b,isSingleLine:(0,i.J5)(),highlightTerms:t.highlightTerms,listViewType:n.listViewType,showCondensedPinnedRows:v,supportsHoverIcons:!m,supportsDoubleClick:!m,showFolderTag:function(e){if(0===e.type){let{scenarioType:t}=e;return(0,r.fp)(t)}return 1===e.type}(n),supportsSnooze:f,canDragFromTable:I,isDraggable:!0,supportsMove:!!w&&!m&&"notes"!=w&&"drafts"!=w&&"outbox"!=w}}},538038:(e,t,n)=>{n.d(t,{Z:()=>a});var o=n(243470),r=n(685564),i=n(511943);function a(e){let t=(0,r.Z)(e).isSingleLine,n=(0,o.O)(8,(0,i.zl)()),a=1===(0,r.Z)(e).listViewType;return`${t?"SLV":"threeCol"}${a?"Item":"Conversation"}ViewSenderImage${n?"Off":"On"}`}},283189:(e,t,n)=>{n.d(t,{BO:()=>a,eu:()=>l,sx:()=>i});var o=n(302140),r=n(12021);function i(e){let t=e.rowKeys?.length??e.itemIds?.length,n=document.createElement("div");if(t>0){let i;i=0===e.tableListViewType?1===t?(0,o.ZP)("jh9AJd"):(0,o.ZP)("eIMg7"):1===t?(0,o.ZP)("V2$zDb"):(0,o.ZP)("_c3TP");let a=(0,o.WU)("{0} {1}",t,i);(0,r.Fo)()?n.className="JRB3P":n.className="L2Dqt",n.innerText=a}return n}let a=-12,l=5},79272:(e,t,n)=>{n.d(t,{g:()=>i});var o=n(64906),r=n(150064);let i=(e,t,n)=>(0,r.Z)("Minor"==e?"_rWRU":"gy2aJ",!n&&t&&"CYQyC",(0,o.KS)("Ejrkd","U2XB8",void 0))},552691:(e,t,n)=>{n.d(t,{w:()=>v});var o=n(907961),r=n(150064),i=n(510265),a=n(64906),l=n(709077),s=n(313380),d=n(14726),c=n(345301);let u=(0,i.P)(function(){let e=(0,l.J5)(),t=(0,d.Z)(),n=1==(0,s.JY)(t),i=n?(0,r.Z)((0,a.KS)(void 0,o.Bl,o.$V),o.rD):(0,r.Z)((0,a.KS)(void 0,o.Ee,o.EY),o.NF),u=n?(0,r.Z)((0,a.KS)(void 0,o.H_,o.j$),o.qV):(0,r.Z)((0,a.KS)(void 0,o.mo,o.tC),o.ov);return c.createElement("div",{className:e?i:u})},"MessageAdListPreloadingStubElement");var m=n(67199),p=n(402392),f=n(725647);let g=new p.nI(()=>Promise.all([n.e(448256),n.e(577935),n.e(749740),n.e(74646),n.e(589583)]).then(n.bind(n,589583))),v=(0,p.$y)(g,e=>e.MessageAdList,()=>c.createElement(u,null),()=>{let e=(0,f.ET)();(0,m.y8)("ShowNativeAd",{actualShow:!1,adMarket:e,actualNoShowReason:"adblocker",OtherPivot:!0})})},830566:(e,t,n)=>{n.d(t,{S:()=>a,W:()=>i});var o=n(118895),r=n(214491);function i(e,t,n){return o.T.importAndExecute({parentId:t,displayName:e,mailboxInfo:n},{invoker:"movetofolder",depth:"parent"})}function a(e,t,n){return r.Wu.importAndExecute(n?.mailboxSmtpAddress,e.trim(),t,n)}},608389:(e,t,n)=>{n.d(t,{J:()=>s,U:()=>l});var o=n(402392);let r=new o.nI(()=>n.e(617788).then(n.bind(n,617788))),i=new o.EF(r,e=>e.getMoveToPropertiesForContextMenu),a=new o.EF(r,e=>e.getCopyToProperties);function l(e,t,n,o,r,a,l){let s;let d=i.tryImportForRender();return d&&(s=d(e,t,n,o,r,a,l)),s}function s(e,t,n){let o;let r=a.tryImportForRender();return r&&(o=r(e,t,n)),o}},250171:(e,t,n)=>{n.d(t,{Xr:()=>l,cy:()=>a,mK:()=>i,tE:()=>s});var o=n(402392);let r=new o.nI(()=>Promise.all([n.e(893258),n.e(523222)]).then(n.bind(n,523222)),{name:"ReactionsView"}),i=(0,o.$y)(r,e=>e.ReactionActionButton),a=(0,o.$y)(r,e=>e.ReactionsContainer),l=(0,o.$y)(r,e=>e.ReactionsOnMailListItemContainer),s=new o._5(r,e=>e.initializeSkinTonePreference)},670326:(e,t,n)=>{let o;n.d(t,{Z:()=>et});var ConversationReadingPane=n(541437),r=n(28397),i=n(963880),a=n(214504),l=n(345301);class s extends l.Component{componentDidMount(){(0,a.Ug)()}render(){return null}}var d=n(645232),c=n(510265),u=n(728696),m=n(402392);let p=new m.nI(()=>Promise.all([n.e(321926),n.e(959006)]).then(n.bind(n,959006)),{name:"GetItemManagerRp"}),f=new m.EF(p,e=>e.initializeGetItemManagerForRP);var g=n(128248),v=n(258597),h=n(821997),I=n(531359),S=n(74214);let b=(0,n(795839).lr)("setShouldShowMobileUpsellEmptyState",e=>{S.default.shouldShowMobileUpsellEmptyState=e});var w=n(189695),y=n(13446),P=n(742351),C=n(797489),E=n(636283),Z=n(67199),M=n(313380),T=n(341081);let F=new m.nI(()=>Promise.all([n.e(84209),n.e(290460)]).then(n.bind(n,754431)));new m._5(F,e=>e.mountOfficeAppCard),new m._5(F,e=>e.mountPhoneAppCard);let k=(0,m.$y)(F,e=>e.EmptyStateMobilePromo);var x=n(206339),R=n(240282),A=n(52924),D=n(300011),N=n(538565),_=n(36848),O=n(301262);async function L(e){return(!o||e)&&(o=V()),o}async function V(){let e=(0,N.kw)((0,N.ri)(),40),{PolicySettings:t}=(0,A.Z)();if((0,D.JI)("emptyStateMobilePromo"))return!0;if(!t?.EmptyStateEnabled)return!1;if((((0,x.cr)("rp-emptyStatePhoneCardQrExp")||(0,x.cr)("rp-emptyStatePhoneCardExp")||(0,x.cr)("rp-emptyStateQrCodeExp"))&&((0,R.Z)()||A.Z().UserOptions?.MobileAppEducationEnabled)||((0,x.cr)("rp-emptyStateQrConnectExp1")||(0,x.cr)("rp-emptyStateQrConnectExp2"))&&((0,R.Z)()||A.Z().UserOptions?.MobileAppEducationEnabled))&&!(0,_.X)().isCardDismissed){let{isAppInstalled:t,mobilePromoDismissDate:n,endpointApiFailed:o,userClients:r}=await (0,O.Z)(e),i=(0,N.E4)((0,N.ri)("UTC",n.toString()),30),a=!t&&(0,N.ri)()>=i;return(0,Z.y8)("ShouldShowMobilePromo",{isAppInstalled:t,promoDismissDate:n.toString(),supressPromoUntil:i.toString(),endpointApiFailed:o,userClients:r.toString(),shouldShowMobilePromo:a}),a}return!1}var B=n(728170),G=n(395831),U=n(662629),H=n(225994),W=n(647019),K=n(685008),z=n(308807),j=n(770828),Q=n(636006),$=n(704638),q=n(652923);let X=e=>"copy",Y={height:"100%"};function J(e,t,n,o,r,a){let s=(0,y.Z)(t);return l.createElement(i.Z,{itemId:e,itemSubject:a,itemReadingPaneViewState:s,isPopout:r,isItemAttachment:n,maximizeScrollRegion:o})}function ee(e,t,n,o,r){return l.createElement(ConversationReadingPane.Z,{conversationId:e,conversationSubject:t,conversationCategories:n,instrumentationContext:r,maximizeScrollRegion:o})}let et=(0,c.P)(function(e){l.useEffect(()=>(L().then(e=>{b(e)}),f.import().then(e=>{e()}),()=>{(0,v.gS)()&&(0,a.TB)(u.RT.NotSupported,e.itemId?.mailboxInfo??(0,Q.Q)())}),[]);let t=(0,M.ii)(),n=(0,I.q)(),o=t&&[...t.selectedRowKeys?.keys()];t?.tableQuery?.type===1&&b(!1);let{itemId:i,isDumpsterOrDumpsterSearchTable:c,isFromMainWindow:m,isItemAttachment:p,maximizeScrollRegion:y}=e,{itemPrintPaneViewStates:F,deeplinkId:R,primaryReadingPaneTabId:A}=S.default,D=(0,w.Z)(),N=(0,C.MA)(),_=l.useContext(U.Z),O=(0,K.P)(_),V=F.get(O),et=l.createElement(s,null),en=D?.conversationId&&(0,g.Z)(D.conversationId.Id),eo=!!en?.isInlineCompose;if(eo&&!(0,W.Q)(en))return et;if(!m||!(0,H.Z)()){if(R)et=R.isPrint&&V?l.createElement(d.M,{itemId:R.id,viewState:V}):J({mailboxInfo:R.mailboxInfo??(0,Q.Q)(),Id:R.id},i?.Id,p,y,!0);else if(i)et=J(i,i?.Id,p,y,(0,G.Vk)(_));else if(N&&N.type==C.AO.SecondaryReadingPane){let e=N.data;switch(e.listViewType){case 0:(0,P.Z)()?et=J(e.id,e.id?.Id,p,y,(0,G.Vk)(_),e.subject):e.id?et=ee(e.id,e.subject,e.categories,y):(0,E.rx)("ReadingPane.render() secondaryReadingPaneTabData.id should not be null.");break;case 1:et=J(e.id,void 0,p,y,(0,G.Vk)(_),e.subject)}}else if(en)et=ee(D.conversationId,D.conversationSubject,D.conversationCategories,y);else if(o?.length!=1||(0,M.av)()||t?.isInVirtualSelectAllMode||c||!(0,M.bh)().shouldShowSelectedRowInRp){if("Loaded"===n||"Empty"===n||S.default.shouldShowEmptyReadingPane){let e=(0,z.Ge)();et=S.default.shouldShowMobileUpsellEmptyState&&!e?l.createElement(k,{containerName:T.U.ReadingPane,onComponentUnmount:function(){(0,B._)(!0),b(!1)}}):l.createElement(r.Z,{isDumpsterOrDumpsterSearchTable:c,mailListViewState:n})}}else{let e=M.H4.getRowIdToShowInReadingPane(o[0],t),n=M.H4.getSubject(o[0],t),r=M.H4.getCategories(o[0],t);switch(t?.tableQuery.listViewType){case 0:(0,P.Z)()&&A?et=J(A,void 0,p,y,(0,G.Vk)(_),n):e?et=ee(e,n,r,y,(0,h.Z)([o[0]],t)[0]):(0,Z.y8)("RPConversationRowIdNullError");break;case 1:et=J(e,e?.Id,p,y,(0,G.Vk)(_),n)}}}let er=l.createElement(l.Fragment,null,et,V?.itemId&&l.createElement(d.I,{itemId:V.itemId,viewState:V,targetWindow:_}),(0,x.cr)("doc-mon-openClassicInNative",e.itemId?.mailboxInfo,!0)&&l.createElement(j.II,{hostId:"ItemNotificationBarHost",targetWindow:_}));return l.createElement("div",{key:"readingPaneDiv",className:"g_zET"},(0,x.cr)("mon-file-eml-msg")&&!eo?l.createElement($.bK,{dropViewState:(0,$.im)(),onDrop:q.MB.importAndExecute,canDrop:X,shouldIgnoreTransientOnDragLeave:!0,style:Y},er):er)},"ReadingPane")},183130:(e,t,n)=>{n.d(t,{h:()=>I});var o=n(510265),r=n(345301),i=n(954001),a=n(795865),l=n(581844),s=n(308807),d=n(274241),c=n(150064),u=n(575130),m=n(67199);let p={root:{paddingTop:"40px"}},f=[{type:i.s.gap,width:"16px",height:20},{type:i.s.circle,height:40},{type:i.s.gap,width:"100%",height:20}],g=[{type:i.s.line,width:"10%"},{type:i.s.gap,width:"90%",height:20},{type:i.s.line,width:"16%"},{type:i.s.gap,width:"84%",height:20}],v=[{type:i.s.line,width:"100%",height:32},{type:i.s.gap,width:"100%"}],h=[{type:i.s.line,width:"16%",height:32},{type:i.s.gap,width:"84%",height:32}],I=(0,o.P)(function(e){r.useEffect(()=>{let t=performance.now();return()=>{let n=performance.now()-t,o=e.isItem?(0,u.Yx)():(0,u.gz)();(0,m.y8)("LoadingShimmer",{cardType:o?.extendedCardViewState?.cardType,isLoading:o?.loadingState?.isLoading,hasLoadFailed:o?.loadingState?.hasLoadFailed,shimmerDuration:n,isItem:e.isItem})}},[]);let t=(0,d.T)(()=>(0,s.y$)().neutralPrimarySurface,[]),n=r.memo(e=>{let{paddingTop:n,shimmerWidth:o}=e,i=r.useMemo(()=>({root:{paddingTop:n,backgroundColor:t}}),[n]);return r.createElement(l.q,{styles:i,width:o})}),o=(0,r.useMemo)(()=>({background:t}),[t]);return r.createElement("div",{className:(0,c.Z)("dZv_N",{aUrFH:!0})},r.createElement(l.q,{improveCSSPerformance:!0,customElementsGroup:r.createElement("div",{className:"JqgjB"},r.createElement("div",{className:"qSGe8"},r.createElement(a.N,{width:"100%",shimmerElements:f,backgroundColor:t})),r.createElement(a.N,{width:"78%",flexWrap:!0,shimmerElements:g,backgroundColor:t}),r.createElement(a.N,{width:"16%",flexWrap:!0,shimmerElements:v,backgroundColor:t}))}),r.createElement("div",{className:"e3QLL"},r.createElement(n,{paddingTop:"16px",shimmerWidth:"30%"}),r.createElement(n,{paddingTop:"8px",shimmerWidth:"95%"}),r.createElement(n,{paddingTop:"8px",shimmerWidth:"95%"}),r.createElement(n,{paddingTop:"16px",shimmerWidth:"95%"}),r.createElement(n,{paddingTop:"8px",shimmerWidth:"95%"}),r.createElement(n,{paddingTop:"8px",shimmerWidth:"60%"}),r.createElement(l.q,{styles:p,shimmerElements:h,shimmerColors:o})))},"LoadingShimmer")},541437:(e,t,n)=>{n.d(t,{Z:()=>ConversationReadingPane});var o=n(510265),r=n(595139),i=n(189695),a=n(345301),l=n(183130);let s=(0,o.P)(({mailboxInfo:e})=>{let t=(0,i.Z)(),n=t?.loadingState;return!t||n.isLoading&&n.showLoadingShimmer?a.createElement(l.h,null):n.hasLoadFailed?a.createElement(r.uk,{isError:!0}):t.unsupportedItemId?a.createElement(r.ln,{itemId:t.unsupportedItemId,mailboxInfo:e}):null},"ConversationReadingPaneInfoPage");var d=n(604798),c=n(219519),ReadingPane=n(59758),u=n(313380),m=n(67199);function p(e){(0,m.y8)("RPCountSelectionUIHotkeyUsage",[e])}var f=n(436618),g=n.n(f),v=n(361420),h=n(636283);function I(e,t,n){if(n<0){(0,h.ZU)("animateScrollTop should not be called with a negative scrollDuration");return}if(0==n){e.scrollTop=t;return}let o=e.scrollTop,r=Date.now();window.requestAnimationFrame(function(){!function i(){let a=Math.min((Date.now()-r)/n,1);e.scrollTop=o+(t-o)*a,a<1&&window.requestAnimationFrame(function(){i()})}()})}var S=n(206339),b=n(136851),w=n(715381),y=n(10440),P=n(840940),C=n(576556),E=n(720001),Z=n(516386),M=n(828410),T=n(128248),F=n(381145),k=n(6732),x=n(324615),R=n(778904),A=n(258597),D=n(907620),N=n(548879),_=n(191843),O=n(658243),L=n(776630),V=n(246896),B=n(653370),G=n(452033),U=n(165550),H=n(755949),W=n(236237),K=n(978747),z=n(645225),j=n(21022),Q=n(865003),$=n(545337),q=n(914086),X=n(265206),Y=n(81820),J=n(162141),ee=n(654060),et=n(665117),en=n(893724),eo=n(354059),er=n(64906),ei=n(129376),ea=n(274241),el=n(861129),es=n(747544),ed=n(635557),ec=n(374936),eu=n(875177),em=n(530961),ep=n(504415),ef=n(916757),eg=n(150064),ev=n(12021),eh=n(883729),eI=n(404809),eS=n(133810),eb=n(550916),ew=n(541544),ey=n(636006),eP=n(597433),eC=n(705140),eE=n(452172),eZ=n(302140),eM=n(792280),eT=n(170893),eF=n(866295),ek=n(180975),ex=n(59114),eR=n(575130),eA=n(219004),eD=n(402392),eN=n(911062),e_=n(505376),eO=n(324090);let eL=new eD.nI(()=>Promise.all([n.e(718538),n.e(988917),n.e(738554),n.e(935910),n.e(94265)]).then(n.bind(n,161291)),{name:"ConversationView"}),ItemPart=(0,eD.$y)(eL,e=>e.ItemPart),eV=(0,eD.$y)(eL,e=>e.ExpandCollapseConversationButton),eB=(0,eD.$y)(eL,e=>e.SeeMoreMessages),ConversationReadingPane=(0,o.P)(function(e){let[t]=(0,es.O)("ConversationReadingPane_Focus"),[n]=(0,es.O)("ConversationReadingPane_scrollToInlineCompose"),[o]=(0,el.R)("ConversationReadingPane"),l=(0,eS.Z)();a.useEffect(()=>{let e=ej.current;return e0.current=(0,x.RM)("ReadingPane",tS),e||(0,h.rx)("readingPaneContainer should not be null"),tZ(),window.addEventListener("beforeunload",tG),window.addEventListener("visibilitychange",tV),()=>{eu.ly.importAndExecute(),e0.current&&e0.current(),eQ.current&&(eQ.current.removeEventListener("scroll",tI),eQ.current=void 0),tb()&&(0,x.Fp)("ConversationRPUnmount"),window.removeEventListener("beforeunload",tG),window.removeEventListener("visibilitychange",tV),ej.current=void 0,e=void 0,e$.current=void 0}},[]);let f=a.useRef(!0),eD=a.useRef(""),eL=e.conversationId?.Id;eD.current!==eL&&(f.current=!0,eD.current=eL);let{instrumentationContext:eB,isSxS:eK}=e,ez=e.conversationId.mailboxInfo??(0,ey.Q)(),ej=a.useRef(),eQ=a.useRef(),e$=a.useRef(),eq=a.useRef(),eX=a.useRef((0,P.Gr)()),eY=a.useRef(),eJ=a.useRef(),e0=a.useRef(),e1=a.useRef(),e3=a.useRef(),e2=a.useRef(),e5=(0,S.cr)("rp-subjectHeaderV3"),e6=(0,S.cr)("fwk-fluent-v9-button-reading-pane"),e4=(0,A.gS)(),e9=(0,A.f2)(),e7=(0,K.Z)(),e8=(0,S.cr)("cmp-remove-compose-sxs"),te=(0,e_.d)(eO.j),tt=e8&&eK?void 0:(0,T.Z)(eL),tn=z.Z.conversations.get(eL),to=e=>tn?.conversationNodeIds?.length?tn.conversationNodeIds.filter(t=>{let n=(0,eo.df)(t);return!(!n||(0,S.cr)("rp-citiCardV2",ez)&&!e&&(0,eA.Z)(n))&&!(tt?.itemId&&n.ItemId&&tt.itemId.Id==n.ItemId.Id)}):[],tr=(0,i.Z)(eL),ti=eW(tr,ez)?(0,ef.NH)(tr,X.O.CalendarCard):null,[ta,tl]=a.useState(!1),[ts,td]=a.useState(!0),tc=a.useRef(ta),tu=a.useRef(ts),tm=a.useCallback(()=>{tl(!tc.current)},[ta]),tp=a.useCallback(()=>{td(!tu.current)},[ts]);a.useEffect(()=>{tc.current=ta},[ta]),a.useEffect(()=>{tu.current=ts},[ts]),a.useEffect(()=>{eW(tr,ez)&&(ti&&ti.event&&ti.event.IsOrganizer?(tl(!0),td(!1)):tl(!1))},[ti?.event]);let tf=(0,ep.wb)();a.useEffect(()=>{(tf?(0,_.Z)(tf.itemId,ez):[]).length>0&&(0,m.qu)("GroupMailRead",{noOfGroups:(0,O.Z)(ez).length,mailboxType:ez.type,listViewType:0})},[tf?.itemId,ez]),a.useEffect(()=>(eY.current=tb(),tB(),eK&&tr?.loadingState?.isLoading&&(0,Q.Z)(eL),()=>tG()),[e.conversationId?.Id]),a.useEffect(()=>{f.current?((0,C.lP)()||C.af.importAndExecute(),eu.ly.importAndExecute(),tZ()):tt&&(0,P.TQ)(eX.current)}),a.useEffect(()=>()=>{tr?.infoPaneOpened&&eC.Z1.importAndExecute()},[e.conversationId?.Id]);let tg=(0,ea.T)(()=>(0,j.L8)(tr)||!!tn?.canLoadMore,[tr,tn]),tv=a.useCallback(()=>{eQ.current&&(0,q.n)(tr,eQ.current)},[eL]),th=a.useMemo(()=>g()(tv,r.ik),[tv]),tI=a.useCallback(()=>{tr?.itemIdToScrollTo&&(0,$.Z)(eL,""),eK||th()},[eL,eK]),tS=()=>eQ.current?(eQ.current.focus(),!0):!!ej.current&&(ej.current.focus(),!0),tb=()=>!!(document.activeElement==ej.current||ej.current?.contains(document.activeElement)),tw=()=>{!f.current&&ej.current?tS():(0,x.Fp)("ConversationRPInlineComposeUnmount")},ty=(e,t,o)=>{if(e){if(eQ.current){let r=function(){return(e?e.offsetTop:0)-(e7&&t?140:0)};o?I(eQ.current,r(),300):n(()=>{!tt&&eQ.current&&(eQ.current.scrollTop=r())},0)}else e$.current=e,eq.current=t}},tP=a.useCallback((e,t,n,r)=>{let i=tr?.itemIdToScrollTo,a=tr?.savedScrollPosition,l=(0,ep.cJ)();if(!(e1.current&&e3.current)){e1.current=l?.itemId;let e=e1.current&&z.Z.items.get(e1.current);e3.current=e?e.InternetMessageId:void 0}if(i)e==i&&ty(t,n,!f.current);else if(!eK&&a)o(()=>{eQ.current&&(eQ.current.scrollTop=a)});else if(l&&(f.current||r||eH(tr,ez))&&e==l.itemId){let o=z.Z.items.get(e);o&&!o.EntityNamesMap&&ty(t,n,!1)}},[tr?.itemIdToScrollTo,tr?.savedScrollPosition]),tC=e=>{if(eQ.current){let t=eQ.current.getBoundingClientRect().top-e;t&&(eQ.current.scrollTop-=t)}},tE=a.useCallback(e=>{if(eQ.current){let t=e-eQ.current.getBoundingClientRect().bottom;t>-140&&I(eQ.current,eQ.current.scrollTop+t+140,300)}},[eQ.current]),tZ=()=>{f.current&&tM()&&(f.current=!1,!e.shouldNotFocusOnInitialRender&&(e4||eY.current)&&(t(()=>{tS()},0),eY.current=!1),eu.Sy.importAndExecute(eL))},tM=()=>tr?.conversationId?.Id==e.conversationId?.Id&&!tr?.loadingState?.isLoading&&!tr?.loadingState?.hasLoadFailed,tT=e=>{let t=(0,eg.Z)(c.nO,{[c.lr]:!e7,[c.$Z]:!0});return a.createElement("div",{className:t,key:`inlineComposeDiv_${eL}`},a.createElement(eb.Z.Provider,{value:l},a.createElement(F.AG,{viewState:e,initialActions:eX.current,className:(0,eg.Z)(c.sm),senderPersona:a.createElement(en.Z,{viewerMailboxInfo:e.mailboxInfo,sender:null,displaySelf:!0,style:c.kB}),onUnmountFocusCallback:tw,useCommandBarSetting:e8?void 0:eK})))},tF=()=>{if(!ti?.rsvpToOrganizerWithNote)return null;let e=(0,eg.Z)(c.nO,{[c.lr]:!e7,[c.$Z]:!0});return a.createElement("div",{className:e,key:`rsvpWithNoteDiv_${eL}`},a.createElement(eb.Z.Provider,{value:l},a.createElement(M.KG,{viewState:ti})))},tk=a.useMemo(()=>ti?.rsvpToOrganizerWithNote?tF():null,[ti?.rsvpToOrganizerWithNote]),tx=(0,J.Z)(eL),tR=tx?.ItemId?.Id,tA=(0,ex.c0)("Summarize",ez,(0,N.Ry)("Copilot",ez).enableMultiLanguage),[tD,tN]=a.useState(void 0);a.useEffect(()=>{if(tA){let e=tf?.itemId?z.Z.items.get(tf.itemId):void 0;if(e){let t=(0,eT.Z)(tr,!1),n=t?.some(e=>!!e?.RightsManagementLicenseData);eR.j9.importAndExecute(tr,e,$.Z,!1,!!n).then(e=>{tN(e)})}}},[tA,tN,tr,tr?.conversationId,tr?.itemPartsMap?.size,tf?.itemId]);let t_=a.useCallback(()=>{if(tA){if(tx?.ItemId){if(tD&&!(tx?.ParentFolderId?.Id&&(0,eN.Z)(tx.ParentFolderId.Id,"junkemail")))return(0,S.cr)("rp-subjectHeaderV3",ez)&&((0,S.cr)("rp-subjectHeaderSummarizeButton",ez)||(0,S.cr)("rp-subjectHeaderSummarizeButtonTooltip",ez))?(eL&&ek.Fs.importAndExecute(!0),a.createElement(eF.N,{viewState:tD})):a.createElement(eF.D,{viewState:tD})}else(0,m.qu)("ThreadSummarization_NoCard_ItemIdUndefined")}return null},[tD,tr,tx?.ItemId,tx?.ParentFolderId?.Id,eL,ez,tA]),tO=a.useCallback(e=>{e?(ej.current=e,ej.current.addEventListener("wheel",eI.no),ej.current.addEventListener("keydown",eI.Hp)):(ej.current&&(ej.current.removeEventListener("wheel",eI.no),ej.current.removeEventListener("keydown",eI.Hp)),ej.current=e)},[]),tL=a.useCallback(e=>{e?(eQ.current=e,eQ.current.addEventListener("scroll",tI),e$.current&&(ty(e$.current,!!eq.current,!1),e$.current=void 0,eq.current=!1)):eQ.current&&(eQ.current.removeEventListener("scroll",tI),eQ.current=void 0)},[]),tV=()=>{"hidden"==window.document.visibilityState?tH():"visible"==window.document.visibilityState&&tU()},tB=()=>{"visible"==window.document.visibilityState&&tU(),eB&&(0,Z.L)("ReadingPaneDisplayStart",[eB])},tG=()=>{(0,eI.cl)(),eB&&(0,Z.L)("ReadingPaneDisplayEnd",[eB]),tH(),e1.current=void 0,e3.current=void 0},tU=()=>{eJ.current=new Date,e2.current=(0,w.u)()},tH=()=>{if(!e2.current||!eJ.current)return;let e=e1.current&&z.Z.items.get(e1.current);e&&(0,d.Z)(e)&&v.w.importAndExecute("ViewMessage",{start:eJ.current,itemId:e3.current,customProperties:{MessageIdType:"MessageODataId",MessageId:e1.current,ConversationId:eL},instanceId:e2.current}),e2.current=void 0},tW=a.useMemo(()=>({margin:"8px 19px 8px 2px"}),[e9]),tK=e=>{if(!(0,S.cr)("cmp-prague"))return!1;for(;e;){if(e.dataset.fluidContainer)return!0;e=e.parentElement}return!1},tz=(0,R.IZ)();(0,y.zK)(ej,a.useCallback(()=>[{command:tz.closeMail,handler:e=>{(0,D.C)()||(e.stopPropagation(),(0,E.Z)("Keyboard"))},options:{stopPropagation:!1}},{command:tz.archiveMail,handler:()=>{let e=(0,u.ii)();(0,b.Ws)(e.tableQuery)||(0,ed.Z)("Keyboard")}}],[ej.current]));let tj=a.useCallback(()=>{(0,L.Z)(eL,!(0,et.W)(eL),!0)},[eL,ej.current]);(0,y.iu)(ej,tz.expandCollapseAll,tj),(0,y.zK)(ej,a.useCallback(()=>[{command:tz.expandAll,handler:()=>{(0,L.Z)(eL,!0,!0)}},{command:tz.collapseAll,handler:()=>{(0,L.Z)(eL,!1,!0)}},{command:tz.focusNextItemPart,handler:()=>{tt||((0,ec.ZP)(eL,1),p(1))}},{command:tz.focusPrevItemPart,handler:()=>{tt||((0,ec.ZP)(eL,-1),p(2))}},{command:"enter",handler:e=>{let t=e.target,n=t.tagName.toLowerCase();"a"==n||"button"==n||"button"==t.role||t.classList.contains("lpc-hoverTarget")||tK(t)||(function(e){let t=i.Z(e)?.focusedItemPart;if(!t||(t.focusedItemArea==W.X.SeeMore&&(0,B.Z)((0,i.Z)(e),(0,j.rI)((0,i.Z)(e)),!0),!t.itemPart))return;let n=t.itemPart;if(!z.Z.conversationNodes.get(n.conversationNodeId)){(0,G.Z)(void 0);return}switch(t.focusedItemArea){case W.X.Item:(0,H.Z)(e,!0,n,!0);break;case W.X.Oof:(0,U.Z)(e,n);break;case W.X.FossilizedText:(0,K.Z)()&&(0,V.Z)(e,n.conversationNodeId,n.isFossilizedTextExpanded)}}(eL),p(3))},options:{stopPropagation:!1,preventDefault:!1}}],[e.conversationId,ej.current]));let tQ=a.useMemo(()=>({...(0,eI.QP)(l),marginLeft:e9?0:te?5:8}),[l,e9,te]),t$=a.useCallback(()=>{if((0,ep.Go)()==W.X.Item&&tf?.isExpanded){let e=(0,ec.iR)(eL,tf),t=tf.itemId,n=z.Z.items.get(t);n&&ei.iM.importAndExecute([t],(0,Y.Z)(t),eB?[eB]:[],"Keyboard",n.MailboxInfo).then(()=>{(0,G.Z)(e,n?.ConversationId?.Id)})}},[e.conversationId,z.Z,ei.iM,eB,ej.current,tf]);(0,y.iu)(ej,tz.deleteMail,t$);let tq=!tr||tr.loadingState.isLoading||tr.loadingState.hasLoadFailed||tr.unsupportedItemId,tX=(()=>{let{conversationId:t,conversationSubject:n,conversationCategories:o}=e,r=(0,ef.dq)(tr,X.O.Yammer),i=r&&(0,ef.NH)(tr,X.O.Yammer).yammerScenario.getIcon();return a.createElement("div",{className:(0,eg.Z)(eh.vL,{[eh.Ho]:r},eh.YJ),style:tW},e5?a.createElement(eP.z,{categories:o,className:(0,eg.Z)((0,er.KS)(eh.rp,eh.IV,eh.oA),{[eh.Ho]:r}),subject:n,conversationViewState:tr,firstItemId:tR,isSxS:eK,conversationId:t.Id,isSingleLine:e4,item:t,attendeeTrackingClicked:tm}):a.createElement(eE.Z,{value:e6},a.createElement(ew.w,{categories:o,className:(0,eg.Z)((0,er.KS)(eh.rp,eh.IV,eh.oA),{[eh.Ho]:r}),subject:n,viewState:tr,firstItemId:tR,specialCardIconName:i||void 0,isSxS:eK,conversationId:t.Id,expandCollapseButton:tr?.itemPartsMap?.size>1?a.createElement(eV,{conversationId:t.Id,areAllItemPartsExpanded:(0,et.W)(t.Id)}):null,isSingleLine:e4})))})(),tY=null,tJ=a.useMemo(()=>(0,ef.dq)(tr,X.O.CalendarCard)&&(0,S.cr)("rp-citiCardV2",ez)?(0,ef.NH)(tr,X.O.CalendarCard).event:null,[tr?.extendedCardViewState?.cardViewState?.event]),t0=a.useMemo(()=>tJ?a.createElement(eM.mp,{showAttendeePanel:ta,showRSVPTimeline:ts,calendarCardEvent:tJ,shouldShowRSVPTimelineButton:!0,dismissButtonClicked:tm,showHideRSVPTimelineButtonClicked:tp}):a.createElement(a.Fragment,null),[tJ,ta,ts]);if(tq)tY=a.createElement(a.Fragment,null,tX,a.createElement(s,{mailboxInfo:ez}));else if(tM()){let{cardInScrollRegionTop:t,cardInScrollRegionSortOrder:n,cardOutsideScrollRegion:o}=(()=>{let e,t,n;let{extendedCardViewState:o}=tr;if(o&&(o.cardType!=X.O.CalendarCard||eH(tr,ez))){let r=a.createElement(k.q,{key:`extendedCard_${eL}`,extendedCardViewState:o,ref:tL});switch(o.displayPosition){case"inScrollRegionTop":e=r;break;case"outsideScrollRegion":t=r;break;case"inScrollRegionSort":n=r}}return{cardInScrollRegionTop:e,cardInScrollRegionSortOrder:n,cardOutsideScrollRegion:t}})(),r=(t=>{let n=!1,o=!1,r=eH(tr,ez)?(0,ef.NH)(tr,X.O.CalendarCard).eventId:null,i=tt?()=>{}:tP,l=to(ts),s=l.length>0?l.map(l=>{let s,d=null;l==tr.nodeIdBundledWithSeeMoreMessages&&tg&&(d=eG(tr,ez,tn),o=!0);let c=tr.itemPartsMap.get(l);if(!c)return d;if((0,j.Hu)(tr,c)||c.isInRollUp)return null;let u=null;if(tt){let e=z.Z.conversationNodes.get(l);e&&tt.referenceItemId?.Id&&e.itemIds.indexOf(tt.referenceItemId.Id)>=0&&(u=tT(tt),n=!0)}let m=(0,eg.Z)(eh.t$,(0,ev.Fo)()&&eh.hx,(0,ev.o2)()&&eh.ET,{[eh.Kz]:!!u});s=!tt&&c.conversationNodeId==tf?.conversationNodeId;let p=(0,ee.Z)(eL)==c.itemId,f=s?(0,ep.Go)():null,g=s&&tr.focusedItemPart?.shouldNotGrabFocus;return a.createElement("div",{key:`itemPartDiv_${c.itemId}`,className:m},(0,em.Ud)([a.createElement(ItemPart,{key:`itemPart_${c.itemId}`,instrumentationContext:tr.instrumentationContext,viewState:c,handleItemPartScrolling:i,quotedBodyExpandedCallback:tE,fossilizedTextCollapsedCallback:tC,isLatestNonDraft:p,focusedArea:f,calendarItemId:r,shouldNotGrabFocus:g,isSingleLineListView:e4,maximizeScrollRegion:e.maximizeScrollRegion,itemIdToScrollTo:tr?.itemIdToScrollTo??""}),p?t:null,u,d]))}):null,d=tt&&!n?tT(tt):null,c=!o&&tg&&tn?eG(tr,ez,tn):null;return(0,em.hP)(s,d,tk,c)})(n??null),i=a.createElement("div",{style:{height:"unset"}},r,a.createElement("div",{className:ReadingPane.YB}));if(eH(tr,ez))tY=a.createElement(a.Fragment,null,e5&&e4&&!eK&&a.createElement("div",{className:ReadingPane.Bw},a.createElement(eP.u,null)),!e5&&e4&&!eK&&a.createElement("div",{className:ReadingPane.Bw},a.createElement(ew.G,null)),o,eU(a.createElement(M.uw,{viewState:(0,ef.NH)(tr,X.O.CalendarCard),messagePane:i,unreadMessageCount:function(e){let t=(0,u.ii)(),n=(0,u.vu)([e.conversationId.Id],t);return 1===n.length?u.H4.getUnreadCount(n[0],t):0}(tr),messageScrollRef:tL})));else{let n=(0,ef.gp)(tr);tY=a.createElement(a.Fragment,null,!e.maximizeScrollRegion&&tX,!e.maximizeScrollRegion&&t_(),!e.maximizeScrollRegion&&o,tr&&(!n||e.maximizeScrollRegion)&&eU(a.createElement("div",{"aria-label":(0,eZ.ZP)("A5aiK",tr.itemPartsMap.size),"data-app-section":"ConversationContainer",tabIndex:-1,ref:tL,"data-is-scrollable":!0,className:(0,eg.Z)(ReadingPane._d,(0,ev.Fo)()&&ReadingPane.hx,(0,ev.o2)()&&eh.ET,ReadingPane.uO,"customScrollBar")},e.maximizeScrollRegion&&tX,e.maximizeScrollRegion&&t_(),e.maximizeScrollRegion&&o,!n&&t,!n&&i)))}}else tY=tX;return a.createElement("div",{className:eh.NI,style:tQ},a.createElement("div",{id:"ConversationReadingPaneContainer",className:eh.ov,ref:tO,tabIndex:-1},tY),a.createElement("span",{className:"screenReaderOnly","aria-live":"assertive","aria-atomic":"true"},(0,eZ.ZP)(ta?"qRUtB":"PAVS3d")),t0)},"ConversationReadingPane");function eG(e,t,n){let o=e.conversationId.Id,r=(0,S.cr)("fwk-fluent-v9-button-reading-pane");return a.createElement(eE.Z,{value:r},a.createElement(eB,{key:o,conversationReadingPaneViewState:e,canLoadMore:!!n?.canLoadMore,isFocused:(0,ep.Go)()==W.X.SeeMore,isLoadMoreInProgress:!!n?.isLoadMoreInProgress,isCalendarCardOpen:eH(e,t)}))}function eU(e){return a.createElement("div",{className:eh.s9},e)}function eH(e,t){return(0,ef.dq)(e,X.O.CalendarCard)&&!(0,S.cr)("rp-citiCardV2",t)}function eW(e,t){return(0,ef.dq)(e,X.O.CalendarCard)&&(0,S.cr)("rp-citiCardV2",t)}},530961:(e,t,n)=>{n.d(t,{Ik:()=>s,It:()=>l,Ud:()=>a,hP:()=>i});var o=n(978747),r=n(345301);function i(e,t,n,o){return d(r.createElement(r.Fragment,null,n,t,e,o),r.createElement(r.Fragment,null,o,e,t,n))}function a(e){return(0,o.Z)()?r.createElement(r.Fragment,null,e):r.createElement(r.Fragment,null,e.reverse())}function l(e,t,n,o,i,a){return d(r.createElement(r.Fragment,null,o,a&&r.createElement("div",{hidden:i},e),i&&t,!i&&n),r.createElement(r.Fragment,null,n,a&&r.createElement("div",{hidden:i},e),i&&t,o))}function s(e,t){return d(e,t)}function d(e,t){return(0,o.Z)()?t:e}},219004:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(302140),r=n(632929);function i(e){if((0,r.MO)(e.ItemClass)&&(0,o.LP)(e.Preview)&&!e.RecurrenceId)return!0;if((0,r.cq)(e.ItemClass)){if((0,o.LP)(e.Preview)&&!(e.ProposedStart&&e.ProposedEnd))return!0}else if((0,r.nn)(e.ItemClass))return(0,o.LP)(e.Preview)&&!e.RecurrenceId;return!1}},963880:(e,t,n)=>{n.d(t,{Z:()=>eH});var o=n(595139),r=n(604798),i=n(219519),ReadingPane=n(59758),a=n(527757),l="pinIo",s="bwgAh",d=n(150064),c=n(510265),u=n(67199),m=n(475137),p=n(64906),f=n(662805),g=n(662629),v=n(636283),h=n(345301),I=n(645225),S=n(206339),b=n(797430),w=n(327173),y=n(330103);let P=/(?:\r\n|\r|\n)/g,C={backgroundColor:"transparent",lineHeight:"normal"},E=(0,c.P)(function(e){let t=I.Z.items.get(e.itemId?.Id);if(!t)return v.g4.warn("SupportedItemReadingPaneLoadedContent can't find item"),(0,u.y8)("SupportedReadingPaneNoItem"),null;let n={...e,item:t};return h.createElement(m.Z,null,h.createElement(Z,{...n}))},"SupportedItemReadingPaneLoadedContent"),Z=(0,c.P)(function(e){let[t,n]=h.useState(!1),r=h.useCallback(()=>{n(!0)},[]),i=h.useContext(g.Z),{itemReadingPaneViewState:s,item:c}=e,u=(0,S.cr)("rp-inlineTranslation-conversationViewOff")&&c.TranslationData?.isShowingTranslation?{Value:c.TranslationData.translationText??""}:null,m=(0,f.Z)(c.RightsManagementLicenseData,u||c.NormalizedBody),v=s.itemViewState,I=v.undoDarkMode?"J8bId":"",b=s.isReadonly,w=c?.NormalizedBody&&"Text"===c.NormalizedBody.BodyType&&(m==c.NormalizedBody.Value||m==c.TranslationData?.translationText),C=!v.undoDarkMode&&(0,p.BR)(),E=(0,y.Z)("outbox",e.item.MailboxInfo),Z=c.ParentFolderId?.Id===E,T=h.createElement("div",{className:(0,d.Z)("Vm3e5",{ln63U:e.isItemAttachment,[l]:!0},I)},h.createElement(o.sD,{item:c,viewState:v,isPopout:e.isPopout,shouldIncludeFullInfo:!0,instrumentationContext:s.instrumentationContext,isItemAttachment:e.isItemAttachment,isReadonly:b,isLatestNonDraft:!0,isGetItemManagerRequestSentForCurrentItem:e.isGetItemManagerRequestSentForCurrentItem,isSingleLineListView:e.isSingleLineListView,maximizeScrollRegion:e.maximizeScrollRegion,hideDateTime:s.hideDateTime,treatAsNonDraft:s.treatAsNonDraft,isDarkMode:C}),!b&&!e.isItemAttachment&&(0,a.Z)(c,v,!0),h.createElement(o.C9,{className:"ulb23",messageBody:w?m.replace(P,"<br />"):m,item:c,copyAllowed:e.copyAllowed,printAllowed:e.printAllowed,forwardAllowed:e.forwardAllowed,isLoading:v.loadingState.isLoading,undoDarkMode:v.undoDarkMode,actionableMessageCardInItemViewState:v.actionableMessageCardInItemViewState,isPopout:e.isPopout,targetWindow:i,onMount:r}),t&&c.NormalizedBody?.IsTruncated&&h.createElement(o.hs,{viewState:v}),t&&!b&&!Z&&h.createElement(o.Gf,{item:c,instrumentationContext:s.instrumentationContext,targetWindow:i}));return(0,S.cr)("fwk-fluent-v9-mail-theme-override")?h.createElement(M,{isDarkModeEnabled:C},T):T},"ItemReadingPaneLoadedContent");function M(e){let{children:t,isDarkModeEnabled:n}=e,o=(0,w.MU)(n);return h.createElement(b.r,{theme:o,style:C},t)}var T=n(436618),F=n.n(T),k=n(361420),x=n(548879),R=n(393753),A=n(136851),D=n(715381),N=n(10440),_=n(840940),O=n(302140),L=n(611331),V=n(380577),B=n(592540),G=n(720001),U=n(516386),H=n(75008),W=n(128248),K=n(381145),z=n(6732),j=n(324615),Q=n(778904),$=n(258597),q=n(907620),X=n(786994),Y=n(560994),J=n(914086),ee=n(81820),et=n(893724),en=n(103491),eo=n(383800),er=n(274241),ei=n(861129),ea=n(747544),el=n(240282),es=n(593805),ed=n(448447),ec=n(255229),eu=n(541729),em=n(635557),ep=n(265206),ef=n(313380),eg=n(875177),ev=n(129376),eh=n(916757),eI=n(11265),eS=n(854385),eb=n(636006),ew=n(395831),ey=n(191843),eP=n(658243),eC=n(12021),eE=n(74214),eZ=n(645232),eM=n(685008),eT=n(404809),eF=n(133810),ek=n(550916),ex=n(541544),eR=n(597433),eA=n(452172),eD=n(59114),eN=n(180975),e_=n(575130),eO=n(866295),eL=n(792280),eV=n(911062),eB=n(902041);let eG={margin:"8px 20px 8px 2px"},eU="ItemReadingPane",eH=(0,c.P)(function(e){let{itemReadingPaneViewState:t,isItemAttachment:n,isSxS:a,itemId:c}=e,{itemPrintPaneViewStates:m}=eE.default,f=c?.mailboxInfo??(0,eb.Q)(),b=I.Z.items.get(c?.Id),[w]=(0,ea.O)(eU),[y]=(0,ei.R)(eU),P=h.useContext(g.Z),C=(0,eM.P)(P),Z=m.get(C),M=(0,eF.Z)(),T=(0,$.f2)(),[eH,eW]=h.useState(!1),[eK,ez]=h.useState(void 0),ej=h.useRef(eH),eQ=h.useCallback(()=>{eW(!ej.current)},[eH]),e$=h.useCallback(e=>{ez(e),e.IsOrganizer&&t?eW(!0):t&&eW(!1)},[eK]);h.useEffect(()=>{ej.current=eH},[eH]),h.useEffect(()=>{t&&eW(!1)},[t?.itemId]),h.useEffect(()=>(window.addEventListener("beforeunload",tZ),window.addEventListener("visibilitychange",tC),e1.current=(0,j.RM)("ReadingPane",to),eY.current||(0,v.rx)("readingPaneContainer should not be null"),ti(),()=>{eg.ly.importAndExecute(),e1.current&&e1.current(),eX.current&&eX.current.removeEventListener("scroll",tt),window.removeEventListener("beforeunload",tZ),window.removeEventListener("visibilitychange",tC)}),[]);let eq=h.useRef(!0),eX=h.useRef(),eY=h.useRef(null),eJ=h.useRef(),e0=h.useRef((0,_.Gr)()),e1=h.useRef(),e3=h.useRef(),e2=h.useRef(),[e5,e6]=h.useState(void 0),e4=(0,eI.Z)(P)??void 0,e9=(0,er.T)(()=>(0,S.cr)("cmp-remove-compose-sxs")&&a?void 0:(0,W.Z)(c?.Id,1,!1,e4),[c?.Id,e4]),e7=(0,S.cr)("fwk-fluent-v9-button-reading-pane");h.useEffect(()=>(eq.current=!0,tE(),()=>tZ()),[c?.Id]),h.useEffect(()=>{b&&(e3.current=b.InternetMessageId)},[b]),h.useEffect(()=>{eq.current?(eg.ly.importAndExecute(),ti()):e9&&(0,_.TQ)(e0.current)}),h.useEffect(()=>{(0,ey.Z)(e.itemId?.Id,f).length>0&&(0,u.qu)("GroupMailRead",{noOfGroups:(0,eP.Z)(f).length,mailboxType:f.type,listViewType:1})},[e.itemId?.Id,f]);let e8=h.useCallback(()=>{eX.current&&(0,J.n)(t,eX.current)},[t]),te=h.useMemo(()=>F()(e8,o.ik),[e8]),tt=h.useCallback(()=>{a||te()},[t,a]),tn=(0,er.T)(()=>{let e=!1;return t&&(e=e9?t.loadingState.isLoading||c?.Id!=e9.referenceItemId?.Id:t.loadingState.isLoading),t&&{isLoading:e,hasLoadFailed:t.loadingState.hasLoadFailed,showLoadingShimmer:t.loadingState.showLoadingShimmer}},[t?.loadingState,e9,c?.Id]),to=()=>e.isPopout||t?.conversationId?(P?.document?.getElementById("UniqueMessageBody")?.focus({preventScroll:!0}),!0):eX.current?(eX.current.focus(),!0):!!eY.current&&(eY.current.focus(),!0),tr=()=>f?.type=="GroupMailbox",ti=()=>{eq.current&&(ta()?(eq.current=!1,e.onLoad&&e.onLoad(),y(()=>{eX.current&&(eX.current.scrollTop=t.savedScrollPosition?t.savedScrollPosition:0)}),((0,$.gS)()||e.isPopout)&&w(()=>{to()},0),(0,ef.dg)(b)&&eg.Sy.importAndExecute(c?.Id),b?.VotingInformation&&eo.OK.import().then(e=>e(c?.Id,b,f))):ts()&&e.onLoadFailed&&e.onLoadFailed())},ta=()=>t&&t.itemId==c?.Id&&!t.loadingState.isLoading&&!t.loadingState.hasLoadFailed,tl=ta();h.useEffect(()=>{tl&&!n&&b&&e5!=b?.ItemId?.Id&&R.tT.import().then(e=>{e(c?.Id,1),e6(c?.Id),(0,Y.Z)(b,t.itemViewState)})},[tl,n,b,e5]);let ts=()=>t&&t.itemId===c?.Id&&t.loadingState.hasLoadFailed,td=()=>ta()&&e5&&c?.Id&&e5==c?.Id,tc=(0,$.gS)(),tu=h.useCallback(()=>{if(t?.isUnsupportedItem&&!n)return h.createElement(o.ln,{itemId:b?.ItemId?.Id??"",mailboxInfo:f,isItemAttachment:n});if(ta()){let t=(0,en.Z)(b);return h.createElement(E,{...e,forwardAllowed:t.ForwardAllowed,copyAllowed:t.CopyAllowed,printAllowed:t.PrintAllowed,isGetItemManagerRequestSentForCurrentItem:!!td(),isSingleLineListView:tc,maximizeScrollRegion:e.maximizeScrollRegion})}return null},[e,b,tc,td()]),tm=h.useCallback(()=>{let e=null,n=null;if(t){let{extendedCardViewState:o}=t;if(o){let t=h.createElement(z.q,{key:`extendedCard_${c?.Id}`,extendedCardViewState:o});"inScrollRegionTop"===o.displayPosition||"inScrollRegionSort"===o.displayPosition?e=t:n=h.createElement("div",{className:(0,d.Z)("KbmhQ",{ZeoUN:!o.coverOriginalContent})},t)}}return{cardInScrollRegion:e,cardOutsideScrollRegion:n}},[t?.extendedCardViewState]),tp=(0,Q.IZ)();(0,N.zK)(eY,h.useCallback(()=>[{command:tp.closeMail,handler:e=>{(0,q.C)()||(e.stopPropagation(),(0,G.Z)("Keyboard"))},options:{stopPropagation:!1}},{command:tp.archiveMail,handler:()=>{let e=(0,ef.ii)();if(e){if((0,A.Ws)(e.tableQuery))return;(0,em.Z)("Keyboard")}}}],[]));let tf=async()=>{let e=await es.aR.import();return!!b&&e(b)},tg=async()=>(0,ec.Z)(b)&&!(0,el.Z)()&&tf(),tv=h.useCallback(async()=>{if(await tg()){(0,eu.Z)((0,O.ZP)(V.H));return}tr()||n||!(0,en.Z)(b).ReplyAllowed||tI(!1)},[V.H,b,n,t]);(0,N.iu)(eY,tp.reply,tv);let th=h.useCallback(async()=>{if(await tg()){(0,eu.Z)((0,O.ZP)(B.g));return}!n&&(0,en.Z)(b).ReplyAllAllowed&&tI(!0)},[B.g,n,b,t]);(0,N.iu)(eY,tp.replyAll,th);let tI=e=>{H.PU.importAndExecute({referenceItemOrId:b||c?.Id,mailboxInfo:f,isReplyAll:e,useFullCompose:!0,actionSource:"Keyboard",instrumentationContexts:tP(),conversationId:void 0,suppressServerMarkReadOnReplyOrForward:(0,ef.z5)((0,ef.ii)()),targetWindow:P})},tS=h.useCallback(async()=>{if(await tg()){(0,eu.Z)((0,O.ZP)(L.$));return}!n&&(0,en.Z)(b).ForwardAllowed&&H.Nc.importAndExecute(b||c?.Id,f,"Keyboard",tP(),!!(0,ef.z5)((0,ef.ii)()),{targetWindow:P})},[L.$,n,b,c]);(0,N.iu)(eY,tp.forward,tS);let tb=h.useCallback(()=>{let e=(0,ef.ii)();(0,A.Ws)(e?.tableQuery)||ev.Oq.importAndExecute(c?.Id,e,"Keyboard",tP(),P).then(e=>{"Success"===e&&ew.Fj.importAndExecute(P)})},[c,P]);(0,N.iu)(eY,tp.markAsJunk,tb),(0,N.zK)(eY,h.useCallback(()=>[{command:tp.deleteMail,handler:()=>{ev.iM.importAndExecute([c?.Id],(0,ee.Z)(c?.Id),tP(),"Keyboard",f).then(()=>{ew.Fj.importAndExecute(P)})}},{command:tp.markAsRead,handler:()=>{ty(!0)}},{command:tp.markAsUnread,handler:()=>{ty(!1)}}],[c])),(0,N.iu)(eY,tp.refresh,h.useCallback(()=>{e.isPopout&&(0,eS.hI)(P,e.itemId,b?.ParentFolderId?.Id)},[b,e.isPopout,c,P])),(0,N.iu)(eY,tp.closeMail,h.useCallback(()=>{e.isPopout&&ew.Fj.importAndExecute(P)},[e.isPopout,P]));let tw=h.useCallback(()=>{let e;tr()||(e=b?.Flag?.FlagStatus!="Flagged"?"Flagged":"NotFlagged",ev.zt.importAndExecute([c?.Id],tP(),{FlagStatus:e},(0,X.Z)(),"Keyboard"))},[b,c]);(0,N.iu)(eY,tp.toggleFlag,tw);let ty=e=>{eg.JS.importAndExecute(c?.Id,(0,ef.ii)(),e,tP(),"Keyboard")},tP=e=>(e=e||t,e?.instrumentationContext?[e.instrumentationContext]:[]),tC=()=>{"hidden"==window.document.visibilityState?tT():"visible"==window.document.visibilityState&&tM()},tE=()=>{"visible"==window.document.visibilityState&&tM(),(0,U.L)("ReadingPaneDisplayStart",tP())},tZ=()=>{if((0,eT.cl)(),(0,U.L)("ReadingPaneDisplayEnd",tP(t)),b?.ItemId?.Id){tT();let e=b.ItemId.Id;n||R.jK.import().then(t=>t(e))}e3.current=void 0},tM=()=>{eJ.current=new Date,e2.current=(0,D.u)()},tT=()=>{e2.current&&eJ.current&&b?.ItemId?.Id&&(0,r.Z)(b)&&k.w.importAndExecute("ViewMessage",{start:eJ.current,itemId:e3.current,customProperties:{MessageIdType:"MessageODataId",MessageId:b?.ItemId?.Id},instanceId:e2.current}).then(()=>{e2.current=void 0})},tF=h.useMemo(()=>({marginLeft:T&&!e.isPopout?0:8}),[T,e.isPopout]),[tk,tx]=h.useState(void 0),tR=(0,eB.Z)(),tA=tR?.id,tD=!1;tA&&(tD=(0,eV.Z)(tA,"junkemail")||(0,eV.Z)(tA,"outbox")||(0,eV.Z)(tA,"drafts"));let tN=(0,S.cr)("rp-subjectHeaderV3",f)&&((0,S.cr)("rp-subjectHeaderSummarizeButton",f)||(0,S.cr)("rp-subjectHeaderSummarizeButtonTooltip",f))&&tk;h.useEffect(()=>{tN&&(tD?eN.Fs.importAndExecute(!1):eN.Fs.importAndExecute(!0))},[tN,f,tD]);let t_=(0,x.Ry)("Copilot",f).enableMultiLanguage;h.useEffect(()=>{if((0,eD.c0)("Summarize",f,t_)){let n=!!b?.RightsManagementLicenseData;c&&b&&e_.j9.importAndExecute(t,b,void 0,!!e.isPopout,n).then(e=>{tx(e)})}},[tx,t,b,b?.RightsManagementLicenseData,b?.ParentFolderId?.Id,c,e.isPopout,f,t_]);let tO=h.useMemo(()=>{if((0,eD.c0)("Summarize",f,t_)){if(c&&b){if(tk)return tN?h.createElement(eO.N,{viewState:tk}):h.createElement(eO.D,{viewState:tk})}else(0,u.qu)("ThreadSummarization_NoCard_ItemIdUndefined")}return null},[tk,t,b,b?.RightsManagementLicenseData,b?.ParentFolderId?.Id,c,f,t_,tN]),tL=h.useMemo(()=>eK?h.createElement(eL.mp,{showAttendeePanel:eH,showRSVPTimeline:!1,calendarCardEvent:eK,shouldShowRSVPTimelineButton:!1,dismissButtonClicked:eQ}):h.createElement(h.Fragment,null),[eK,eH]),tV=()=>{let o=(0,eh.dq)(t,ep.O.InboxShopping),r={subject:tB,firstItemId:c?.Id,categories:tG,className:(0,d.Z)((0,p.KS)("zMb9B","cN8f4","ISg9w")),isSmimeEncrypted:tU,viewState:t,specialCardIconName:tK||void 0,isSxS:a};return h.createElement(h.Fragment,null,h.createElement("div",{className:(0,d.Z)("ubHDG",s,o&&"xGhch",l),style:eG},(0,S.cr)("rp-subjectHeaderV3")?h.createElement(eR.z,{...r,item:c,conversationId:t?.conversationId,isPopout:e.isPopout,isSingleLine:tc,isItemAttachment:n,itemViewState:t,attendeeTrackingClicked:eQ,calendarEventLoaded:e$}):h.createElement(eA.Z,{value:e7},h.createElement(ex.w,{...r,item:b,itemId:c,isPopout:e.isPopout,isSingleLine:tc,isItemAttachment:n}))),tO,tW)},tB=e.itemSubject||b?.Subject,tG=b?.Categories,tU=![0,11,10].includes((0,ed.Z)(b)),{cardInScrollRegion:tH,cardOutsideScrollRegion:tW}=tm(),tK=(0,eh.dq)(t,ep.O.Yammer)&&(0,eh.NH)(t,ep.O.Yammer).yammerScenario.getIcon(),tz=(0,eh.gp)(t);return h.createElement("div",{className:"Pzn2X"},h.createElement("div",{id:"ItemReadingPaneContainer",className:(0,d.Z)(tz?"cCzk7":"KD9CV",(0,eC.Fo)()&&"GSQBG"),ref:e=>{e?(eY.current=e,eY.current.addEventListener("wheel",eT.no),eY.current.addEventListener("keydown",eT.Hp)):eY.current&&(eY.current.removeEventListener("wheel",eT.no),eY.current.removeEventListener("keydown",eT.Hp),eY.current=null)},style:tF},!e.maximizeScrollRegion&&!n&&tV(),h.createElement("div",{"data-app-section":"ItemContainer",tabIndex:-1,className:(0,d.Z)(ReadingPane._d,ReadingPane.uO,(0,eC.Fo)()&&!tn?.isLoading&&ReadingPane.hx,(0,eC.o2)()&&"fkR4u","customScrollBar"),ref:e=>{e?(eX.current=e,eX.current.addEventListener("scroll",tt)):eX.current&&(eX.current.removeEventListener("scroll",tt),eX.current=void 0)},"data-is-scrollable":!0},e.maximizeScrollRegion&&!n&&tV(),n&&h.createElement(o.QQ,{subject:tB,categories:tG,className:s,viewState:t,isItemAttachment:n}),tH,(e=>{if(e){let t=(0,d.Z)(i.nO,{[i.lr]:!0,[i.$Z]:!0});return h.createElement("div",{className:t,key:`inlineComposeDiv_${c?.Id}`},h.createElement(ek.Z.Provider,{value:M},h.createElement(K.AG,{viewState:e,initialActions:e0.current,className:(0,d.Z)(i.sm),senderPersona:h.createElement(et.Z,{viewerMailboxInfo:f,sender:null,displaySelf:!0,style:i.kB}),onUnmountFocusCallback:void 0,useCommandBarSetting:(0,S.cr)("cmp-remove-compose-sxs")?void 0:a})))}return null})(e9),!tz&&h.createElement("div",{style:(0,eT.QP)(M)},h.createElement(o.zE,{loadingState:tn,contentCreator:tu}),h.createElement("div",{className:ReadingPane.YB})),Z?.itemId&&h.createElement(eZ.I,{itemId:Z.itemId,viewState:Z,targetWindow:P}))),tL)},"ItemReadingPane")},645232:(e,t,n)=>{n.d(t,{I:()=>a,M:()=>i});var o=n(402392);let r=new o.nI(()=>n.e(314452).then(n.bind(n,125461))),i=(0,o.$y)(r,e=>e.PrintItemReadingPane),a=(0,o.$y)(r,e=>e.PrintPanel)},560994:(e,t,n)=>{n.d(t,{Z:()=>d});var o=n(575086),r=n(942006),i=n(514169),a=n(636283),l=n(505376),s=n(840859);async function d(e,t){if((0,l.e)(s.n,e.MailboxInfo)&&e.TranslationData)try{let n=e.TranslationData.userLanguage,a="";a=t.isConversationItemPart?(0,o.Z)(e.ConversationId?.Id??""):e.Subject??"",await i.HV.importAndExecute(t.isConversationItemPart,e,a),n!=e.TranslationData.userLanguage&&(e.TranslationData.isTranslatable||e.TranslationData.isForwardContentTranslatable)&&(0,r.Z)(t,"translateInfoBar")}catch(e){a.g4.warn(`[setItemLocale] Failed to initialize item locale: ${e}`)}}},28397:(e,t,n)=>{let o,r,i;n.d(t,{Z:()=>U});let a=n.p+"../resources/images/illustration_mail-hash-b65dddcc.m.svg",l=n.p+"../resources/images/illustration_no_wifi-hash-3711291e.m.svg",s=n.p+"../resources/images/illustration_mail-hash-c4bc6831.m.svg",d=n.p+"../resources/images/illustration_no_wifi-hash-c8a6b691.m.svg",c=n.p+"../resources/images/illustration_mail-hash-57b4bdda.m.svg",u=n.p+"../resources/images/illustration_no_wifi-hash-b239f03b.m.svg",m=n.p+"../resources/images/illustration_mail-hash-e2914995.m.svg",p=n.p+"../resources/images/illustration_no_wifi-hash-52fcf449.m.svg",f=n.p+"../resources/images/illustration_mail-hash-4338a4a7.m.svg",g=n.p+"../resources/images/illustration_no_wifi-hash-c90e090e.m.svg",v=n.p+"../resources/images/illustration_mail_notfound-hash-e4978da6.m.svg",h=n.p+"../resources/images/illustration_mail_notfound-hash-e3cacbc9.m.svg",I=n.p+"../resources/images/illustration_mail_notfound-hash-b6da7519.m.svg";var S=n(699964),b=n(653853),w=n(302140),y=n(345301),P=n(994658),C=n(485152),E=n(397450),Z=n(510265),M=n(214504),T=n(48823),F=n(77792),k=n(751040),x=n(308807),R=n(709077),A=n(206339),D=n(505376),N=n(324090),_=n(150064),O=n(67199);let L=6e4,V=3,B=async(e,t,n={},o=L,r=V)=>{let i;if(r<0)return null;let{logIdentifier:a,customData:l}=t;"AbortController"in window&&(i=new AbortController,n.signal=i.signal);let s=window.setTimeout(()=>i?(window.clearTimeout(s),i.abort(),B(e,t,n,o,r-1)):((0,O.y8)(`${a}_FetchTimeout`,l),null),o);try{let i=await fetch(e,n);if(window.clearTimeout(s),i?.status&&-1!==[200].indexOf(i.status)){let e=await i.blob(),t=URL.createObjectURL(e);return(0,O.y8)(`${a}_FetchSuccess`,{...l,retries:V-r}),t}return B(e,t,n,o,r-1)}catch{return B(e,t,n,o,r-1)}},G={display:"flex"},U=(0,Z.P)(function(e){let t,n,Z;let[O,L]=y.useState(""),[V,U]=y.useState(!1),[H,W]=y.useState(!1),K=(0,F.Z)(),z=(0,x.eX)(),j=(0,R.f2)(),Q=(0,A.cr)("fwk-new-modern-themes-v1"),$=y.useCallback(async()=>{let e=Q?(0,x.HQ)(z,K):(0,x.dZ)(K,z);if(U(!1),!e||(0,D.d)(N.j)){W(!1);return}W(!0);let t=await B(e,{logIdentifier:"ReadingPaneBackgroundImage",customData:{themeId:z,isDarkTheme:K}});t?(L(t),U(!0)):W(!1)},[K,z]);y.useEffect(()=>{(0,M.Ug)()},[]),y.useEffect(()=>{void 0!==K&&void 0!==z&&$()},[K,z]),function(){if((0,A.cr)("mon-new-illustrations"))o=(0,S.k)("NoMailSelected",(0,F.Z)()),r=(0,S.k)("DisconnectedError",(0,F.Z)()),i=(0,S.k)("EmailNotFound",(0,F.Z)());else{let e=(0,x.lu)();(0,k.Ri)()?(o=a,r=l,i=h):e?(o=s,r=d,i=I):(0,x.SL)()?(o=c,r=u,i=v):(0,F.Z)()?(o=m,r=p,i=v):(o=f,r=g,i=I)}}();let q=y.useMemo(()=>({backgroundImage:`url(${O})`,margin:j?"8px 20px 8px 0":"8px 20px 8px 8px"}),[O,j]),X=o,Y=(0,w.ZP)(b.U),J=(0,w.ZP)("UgwMAc"),ee=y.useMemo(()=>({container:"FmjZk",button:Z}),[Z]);return e.isError&&(0,P.Z)()?(X=i,Y=(0,w.ZP)("oaUjle"),J=void 0):e.isError?(X=r,Y=(0,w.ZP)("RkQZ5c"),J=(0,w.ZP)("rAfX8c")):(0,P.Z)()?(Y=(0,w.ZP)("j0o$kb"),J=void 0,(0,A.cr)("fwk-mailtoProtocolHandler")&&(t=(0,w.ZP)("sdte8"),n=()=>{window?.open(`${E.P()}${C.Z()}inbox`,"_self")},Z="nXvGY")):"Empty"===e.mailListViewState?(X=void 0,Y=null,J=void 0):e.isDumpsterOrDumpsterSearchTable&&(Y=(0,w.ZP)("acPEmc"),J=void 0),H&&!e.isError?y.createElement("div",{className:(0,_.Z)(V?"LAMir":"MTpuH","Xh236"),style:q}):(0,D.e)(N.j)?null:y.createElement(T.Z,{icon:X,mainMessage:Y,detailMessage:J,ctaMessage:t,onCtaClick:n,classNames:ee,styles:G})},"EmptyStateReadingPane")},595139:(e,t,n)=>{n.d(t,{uk:()=>s,Gf:()=>d,sD:()=>m,zE:()=>f,hs:()=>l,C9:()=>a,ik:()=>r,sE:()=>p,QQ:()=>c,ln:()=>u,gx:()=>i});var o=n(402392);let r=200,i=new o.nI(()=>Promise.all([n.e(718538,"high"),n.e(988917,"high"),n.e(738554,"high"),n.e(935910,"high"),n.e(574301,"high")]).then(n.bind(n,804628)),{name:"ReadingPane"}),a=(0,o.$y)(i,e=>e.MailMessageBody),l=(0,o.$y)(i,e=>e.LoadFullBodyButton),s=(0,o.$y)(i,e=>e.EmptyStateReadingPane),d=(0,o.$y)(i,e=>e.GlobalReplyBar),c=(0,o.$y)(i,e=>e.SubjectHeader),u=(0,o.$y)(i,e=>e.UnsupportedItemReadingPane),m=(0,o.$y)(i,e=>e.ItemHeader),p=(0,o.$y)(i,e=>e.SentReceivedSavedTime),f=(0,o.$y)(i,e=>e.ItemReadingPaneContent)},191843:(e,t,n)=>{n.d(t,{Z:()=>a});var o=n(75953),r=n(645225),i=n(271554);let a=(0,o._)((e,t)=>{let n=[],o=r.Z.items.get(e);return o?.ToRecipients&&n.push(...o.ToRecipients),o?.CcRecipients&&n.push(...o.CcRecipients),n.filter((e,t,n)=>e?.MailboxType==="GroupMailbox"&&t===n.findIndex(t=>t.EmailAddress==e.EmailAddress)).map(e=>({smtpAddress:e.EmailAddress??"",displayName:e.Name??""})).sort((e,n)=>{let o=(0,i.K)(e.smtpAddress,t),r=(0,i.K)(n.smtpAddress,t);return o&&!r?-1:!o&&r?1:0})})},527757:(e,t,n)=>{n.d(t,{Z:()=>p});var o=n(345301),r=n(505376),i=n(676664),a=n(944165),l=n(402392);let s=new l.nI(()=>Promise.all([n.e(800461),n.e(980246),n.e(480752),n.e(530078)]).then(n.bind(n,99917)),{name:"MailSmartPill"}),d=(0,l.$y)(s,e=>e.MailSmartPillBlock);var c=n(52924),u=n(59114),m=n(206339);function p(e,t,n){if((0,r.e)(i.H)&&!(e.Sender&&(0,a.v)(e.Sender.Mailbox,e.MailboxInfo))){let r=!!c.Z()?.UserOptions?.WebSuggestedRepliesEnabledForUser;if(r||(0,u.c0)("SuggestedDrafts",e.MailboxInfo)&&(0,m.cr)("mon-copilot-suggested-drafts-smartpills"))return o.createElement(d,{item:e,viewState:t.smartPillViewState,isConversationItemPart:t.isConversationItemPart,showOnTop:!!n,smartRepliesEnabled:r})}return null}},604798:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(341032);let r=["junkemail","deleteditems","drafts","notes","conversationhistory"],i=e=>e&&!e.IsDraft&&!(e?.ParentFolderId?.Id&&r.includes((0,o.Z)(e.ParentFolderId.Id)))},595659:(e,t,n)=>{n.d(t,{X:()=>i});var o=n(402392);let r=new o.nI(()=>n.e(448550).then(n.bind(n,448550))),i=(0,o.$y)(r,e=>e.RollupContainer)},931052:(e,t,n)=>{n.d(t,{$Z:()=>l,b9:()=>a,y9:()=>s});var o=n(402392),r=n(110363);n(567213);let i=new o.nI(()=>Promise.all([n.e(437255),n.e(878313),n.e(477322),n.e(312474),n.e(762317),n.e(816525)]).then(n.bind(n,181166)),{name:"MailSearchFolderView"}),a=(0,o.$y)(i,e=>e.CreateSearchFolderModal),l=new o._5(i,e=>e.setSearchFolderCreateModalVisibility),s=new o._5(i,e=>e.editSearchFolder);(0,o.Kv)(r.z5,i,e=>e.fetchSearchFoldersOrchestrator)},567213:(e,t,n)=>{n.d(t,{Z:()=>a,b:()=>l});var o=n(795839);let r={createSearchFolderModalOpenState:new Map,createSearchFolderModalEntryPoint:void 0,areSearchFoldersLoaded:new Map,searchFolderEditState:{searchFolderId:"",searchFolderName:"",focusedClauseId:"",searchFolderType:void 0,searchFolderNameError:void 0,additionalData:null,isEditMode:!1,inValidationState:!1}},i=(0,o.MT)("searchFolderState",r)(),a=i,l=()=>i},893724:(e,t,n)=>{n.d(t,{Z:()=>s});var o=n(510265),r=n(68313),i=n(478248),a=n(345301),l=n(111179);let s=e=>{let t;let{sender:n,displaySelf:o,style:s,viewerMailboxInfo:c}=e,u=n?.Mailbox?.MailboxType,m=n?.Mailbox?.Name,p=n?.Mailbox?.EmailAddress;if(o){let e=(0,i.p)(c).SessionSettings;m=e?.UserDisplayName,p=e?.UserEmailAddress,t="User"}return e.disablePersonaCardBehavior?a.createElement("div",{className:s},a.createElement(r.sl,{name:m,emailAddress:p,size:e.size||(0,l.m)(),showUnknownPersonaCoin:e.isUnauthenticatedSender,mailboxType:u})):a.createElement(d,{name:m,emailAddress:p,style:s,personaType:t,mailBoxType:u,isUnauthenticatedSender:e.isUnauthenticatedSender,clientScenario:"SenderImageDiv",size:e.size,displayPersonaHighlightRing:e.displayPersonaHighlightRing,viewerMailboxInfo:c})},d=(0,o.P)(function(e){return a.createElement("div",{className:e.style},a.createElement(r.$_,{...e},a.createElement(r.sl,{name:e.name,emailAddress:e.emailAddress,size:e.size||(0,l.m)(),showUnknownPersonaCoin:e.isUnauthenticatedSender,mailboxType:e.mailBoxType})))},"SenderImageDiv")},329479:(e,t,n)=>{n.d(t,{Z:()=>o});let o=e=>e.AntispamUnauthenticatedSender},541544:(e,t,n)=>{n.d(t,{G:()=>M,w:()=>ew});var o=n(345301),r=n(900041),i=n(709077),a=n(875177),l=n(538477),s=n(754932),d=n(510265),c=n(313380),u=n(95116),m=n(64906),p=n(302140);let f="e_z8Nb",g="sVFr1c";var v="RgGDF",h="nvILJ",I="M07MM",S="LiYQG",b="tfNzr",w="sFEhK",y="FX5vC",P="uR605",C="LqF5E",E="Y0qxw",Z=n(150064);let M=(0,d.P)(function(e){let t;let{shouldShrink:n}=e,i=(0,c.ii)(),a=i.selectedRowKeys,l=i.rowKeys,s=(0,m.KS)(I,P,h),d=o.useMemo(()=>({iconName:"Back",className:v,styles:{root:F(s)}}),[s]),S=o.useMemo(()=>({iconName:"Forward",className:v,styles:{root:F(s)}}),[s]),w=!1;if(l&&a){let e=a.keys().next().value,n=l.indexOf(e);0==n&&(t=!0),n==l.length-1&&(w=!0)}let y=o.useCallback(o.useCallback(()=>T(c.a$.Previous,i),[]),[]),E=o.useCallback(o.useCallback(()=>T(c.a$.Next,i),[]),[]);return o.createElement("div",{className:"iiCUi"},o.createElement(u.F,{iconButtonContainer:b,iconButtonStyle:(0,Z.Z)("U9pKi",F(s)),shouldUseTextButton:!n,extraButtonStyles:(0,Z.Z)(C,s,F(s))}),o.createElement("div",{className:"sdVXX"}),o.createElement("div",{className:"AzXTd"},o.createElement(r.X,{appearance:n?"icon":"command",className:(0,Z.Z)(C,F(s)),title:(0,p.ZP)(g),"aria-label":(0,p.ZP)(g),onClick:y,disabled:t,iconProps:n?d:void 0},n?"":(0,p.ZP)("ENvwDc")),o.createElement(r.X,{className:(0,Z.Z)(C,F(s)),appearance:n?"icon":"command",title:(0,p.ZP)(f),"aria-label":(0,p.ZP)(f),onClick:E,disabled:w,iconProps:n?S:void 0},n?"":(0,p.ZP)("qIbNm"))))},"SLVNavButtons");function T(e,t){let n=t.selectedRowKeys;!(0,i.Cj)()&&n.size>0&&(a.ZV.importAndExecute([...n.keys()][0],t),(0,l.TU)(t,e,s.Z.CommandBarArrows))}function F(e){switch(e){case"full":return"JA1t1";case"medium":return"Rb9b4";case"compact":return"T1R4j";default:return""}}var k=n(985566),x=n(939129),R=n(228465),A=n(645225),D=n(982357),N=n(9704),_=n(954062),O=n(206339),L=n(129376),V=n(274241),B=n(705140),G=n(404809);let U=(0,d.P)(function(e){let{expandCollapseButton:t,shouldShrink:n,conversationReadingPaneViewState:r,isSxS:i}=e,a=(0,Z.Z)(y);return o.createElement("div",{className:n?S:"CCN_O"},o.createElement(G.Mf,{context:"default"}),t,(0,O.cr)("doc-infoPane")&&!i&&r&&o.createElement(B.js,{viewState:r,labelStyles:a}))},"SubjectHeaderTopToolBar");var H=n(644143),W=n(189695),K=n(13446),z=n(228167),j=n(679683),Q=n(162055);let $="CFn75",q={iconName:Q.Z,className:"SB0DT"},X=(0,d.P)(function(e){let{categories:t,shouldShrink:n,areCategoriesVisible:i,hideCategories:a,showCategories:l}=e,s=(0,m.KS)("pQ14p","SXbZw","GINtr"),d=o.useRef(),c=o.useMemo(()=>({label:(0,Z.Z)("zBpeW",s)}),[s]),u=(0,Z.Z)("eMB27",s),f=t.length.toString(),g=n?f:(0,p.ZP)($,f);return n||t.length>2?o.createElement("div",{ref:e=>d.current=e},o.createElement(r.X,{onClick:()=>{i?a():l()},className:u,iconProps:q,"aria-label":(0,p.ZP)($,f),styles:c,text:g,title:n?g:void 0}),i?o.createElement(z.U,{setInitialFocus:!0,isBeakVisible:!1,target:d.current,onDismiss:a,directionalHint:j.b.bottomLeftEdge},o.createElement("div",{className:"_2xBrU"},t)):null):o.createElement("div",{className:"C8McQ"},t)},"CategoriesContainer");var Y=n(67199),J=n(119596),ee=n(402392);let et=new ee.nI(()=>n.e(300923).then(n.bind(n,300923))),en=(0,ee.$y)(et,e=>e.GroupsDropdownButton);var eo=n(913868),er=n(354059),ei=n(636006),ea=n(255229),el=n(880485),es=n(273306),ed=n(498937),ec=n(702833);let eu=(0,d.P)(function(e){let t;let{conversationId:n,shouldShrink:r,item:i}=e,a=(0,ei.Q)(),[l,s]=o.useState((0,es.Pd)(a)?(0,ed.I)(a):void 0),d=o.useRef(!0),c=(0,es.Pd)(a);o.useEffect(()=>{if(!c||l)return()=>{};{let e=new Y.Gn("TopicAnnotations.ConversationRollup.LoadTopicsSdk");return el.C.importAndExecute(a).then(t=>{d.current&&s(t),e.end()}).catch(t=>{try{Object.defineProperty(t,"message",{value:"SubjectHeaderBottomToolBar: "+t.message})}catch{}e.endWithError(Y.SO.ClientError,t).catch(()=>{}),t.reported=!0}),()=>{d.current=!1}}},[e.itemId]),n&&(t=A.Z.conversations.get(n));let u=t?.conversationNodeIds.filter(e=>{let t=er.df(e);return!!t&&ea.Z(t)})??[],p=(0,m.KS)(void 0,P,h),f=(0,Z.Z)(y,p),g=(0,Z.Z)("jdRgB",p),v=(0,O.cr)("grp-inboxExp-subjectHeader"),I=(0,W.Z)(n),S=(0,K.Z)(),b=!!(n&&(0,eo.Z)(n)),w=i?c&&l&&!i?.IsExternalSender&&i?.ConversationId?.Id?o.createElement(ec.Wl,{isLoading:S?.loadingState?.isLoading,canLoadMore:!1,item:i,conversationId:i.ConversationId.Id,mailboxInfo:a,conversationLength:1,topicsSdk:l,hideText:r,iconPropsStyles:g}):null:c&&I&&l?o.createElement(ec.Wl,{conversationId:I.conversationId.Id,conversationLength:I.itemPartsMap.size,mailboxInfo:a,topicsSdk:l,isLoading:I.loadingState.isLoading,canLoadMore:b,labelStyles:f,hideText:r,iconPropsStyles:g}):null,C=i?v&&S?o.createElement(en,{itemId:S.itemId,iconPropsStyles:g,hideText:r}):null:v&&I?.focusedItemPart?.itemPart?o.createElement(en,{itemId:I.focusedItemPart.itemPart.itemId,labelStyles:f,iconPropsStyles:g,hideText:r}):null,E=!i&&(0===u.length&&I?.attachmentWell?o.createElement(J.v,{viewState:I.attachmentWell,canLoadMore:b,instrumentationContext:I.instrumentationContext,labelStyles:f,iconPropsStyles:g,hideText:r,directionalHint:r?j.b.bottomRightEdge:j.b.bottomLeftEdge}):null);return o.createElement("div",{className:(0,Z.Z)("vmaKW",!r&&"kyCyq")},w,C,E)},"MessageAttachmentsContainer"),em=(0,d.P)(function(e){let{conversationId:t,categories:n,messageCLPLabel:r,shouldShrink:i,item:a,itemId:l,firstItemId:s,isItemAttachment:d,isPopout:c,areCategoriesVisible:u,hideCategories:m,showCategories:p}=e,f=(0,W.Z)(t),g=(0,K.Z)(),v=ep(t?f:g);return o.createElement("div",{className:S},i&&o.createElement("div",{className:"x01Qi"},o.createElement(o.Fragment,null,n.length>0&&o.createElement(X,{categories:n,shouldShrink:i,areCategoriesVisible:u,showCategories:p,hideCategories:m}),v,r&&o.createElement(D.be,{subjectHeaderLabel:r,hideLabel:i}))),!(0,O.cr)("doc-infoPane")&&!d&&!c&&o.createElement(eu,{item:a,itemId:l,conversationId:t,firstItemId:s,shouldShrink:i}))},"SubjectHeaderBottomToolBar"),ep=e=>e&&!(0,O.cr)("doc-infoPane")?o.createElement(H.$,null):null;var ef=n(382662),eg=n(422275);let ev=(0,d.P)(function(e){let{subject:t,subjectTextClass:n,shouldShrink:r}=e,i=(0,m.KS)(void 0,P,h),a=(0,p.LP)(t)?(0,p.ZP)(eg.k):t,[l,s]=o.useState(r),d=(0,Z.Z)(i,"RCfNE","allowTextSelection",l&&"W0NbQ"),c=o.useCallback(()=>{l&&s(!1)},[l,s]);return o.useEffect(()=>{r?s(!0):s(!1)},[r]),o.createElement("div",{onMouseDown:c,key:"rp_subject",ref:eh,className:d,title:t,role:"heading","aria-level":2},o.createElement("span",{className:n},a))},"SubjectLine");function eh(e){(0,ef.v)(e)}var eI=n(309358),eS=n(216446),eb=n(797489);let ew=(0,d.P)(function(e){let{isSxS:t,specialCardIconName:n,isSmimeEncrypted:r,conversationId:i,firstItemId:a,viewState:l,categories:s,className:d,subject:p,expandCollapseButton:f,item:g,isSingleLine:v,itemId:S,isItemAttachment:y,isPopout:C}=e,T=o.useRef(null),F=o.useRef(null),R=o.useRef(null),[B,G,W]=(0,eS.z)(!1),[K,z,j]=(0,eS.z)(!1),[Q,$,q]=(0,eS.z)(!0),Y=(0,V.T)(()=>{if(a){let e=A.Z.items.get(a);return e?.MSIPLabelGuid&&(0,N.S)(e.MSIPLabelGuid,e.MailboxInfo??(0,ei.Q)())||null}return null},[a]),J=o.useCallback(({width:e})=>{0!=e&&(e<370?G():W(),220/e<.3?q():$())},[G,W,q,$]);(0,eI.y)("SubjectHeaderV2",T,J),o.useEffect(()=>{Y&&D.C9.import().then(e=>{Y&&e(Y)})},[Y]);let ee=(0,V.T)(()=>{if(l){if(l?.itemViewState){let e=l.itemId;if(e){let t=A.Z.items.get(e);if(t?.TranslationData?.isShowingSubjectTranslation&&t.TranslationData.subjectTranslationText)return t.TranslationData.subjectTranslationText}}else if(l.conversationId?.Id){let e=A.Z.conversations.get(l.conversationId.Id);if(null!=e&&null!=e.subjectTranslationData&&e.subjectTranslationData.isShowingTranslation&&e.subjectTranslationData.translationText)return e.subjectTranslationData.translationText}}return p},[l]),et=(0,V.T)(()=>{if(l){if(l?.itemViewState){let e=l.itemId;if(e){let t=A.Z.items.get(e);return t?.MailboxInfo}}else if(l?.conversationId)return l.conversationId.mailboxInfo}else if(a){let e=A.Z.items.get(a);return e?.MailboxInfo}},[l,a]),en=null!=n,eo=(0,Z.Z)(d,"NUbju",{[w]:en}),er=!!s,ea=(0,m.KS)(I,P,h),el=(0,Z.Z)(ea,"UAxMv",{g8O9y:er&&!Y}),es=(0,Z.Z)(b,{[w]:en}),ed=(0,_.q)(),ec=(0,Z.Z)("hXFUn",ea),ep=(0,Z.Z)("sTEBX",ea),ef=er?function(e,t,n,r){let i=[];for(let a=e.length-1;a>=0;a--){let l=e[a];i.push(o.createElement("div",{key:l,className:(0,Z.Z)(e.length<3&&!r&&"lgYCY")},o.createElement(x.WD,{category:l,actionSource:"SubjectHeader",isLastInWell:0==a,onCategoryClicked:ey,showCategoryRemove:!0,onRemoveCategoryClicked:t,mailboxInfo:n})))}return i}(s||[],e=>{if(!a)return;let t=(0,c.ii)(),n=[];if((0,c.Mh)(t)){let e=A.Z.items.get(a);if(!e?.ConversationId?.Id)return;{let o=e.ConversationId.Id;n=(0,c.vu)([o],t)}}else n=(0,c.vu)([a],t);L.OU.importAndExecute(n,t,[e],"SubjectHeader",!0),j()},et??(0,ei.Q)(),B):[],eg=i||S?o.createElement(U,{expandCollapseButton:f,shouldShrink:B,conversationReadingPaneViewState:i?l:void 0,isSxS:t}):null,eh=(e,i)=>o.createElement("div",{className:eo,key:`subjectHeaderContainerDiv_${i||""}`},o.createElement("div",{className:"iMFaY"},o.createElement("div",{className:ec},!e&&ed&&!t&&!C&&o.createElement(u.F,{iconButtonContainer:es,shouldUseTextButton:!0}),n&&(l?o.createElement("div",{className:(0,Z.Z)(ed?"rQ3CY":"HJkGC",{OpphO:!!l?.conversationId})},o.createElement(k.J,{iconName:n,className:ed?"M3Nxp":"HpvCz"})):o.createElement(o.Fragment,null)),o.createElement("div",{className:(0,Z.Z)("dZIwV",{[w]:"compact"==(0,m.iT)()&&en})},o.createElement(ev,{subject:i,subjectTextClass:el,shouldShrink:B}),!B&&o.createElement("div",{className:ep,ref:R},r&&o.createElement(k.J,{iconName:"Lock",className:"NLjsO"}),s&&s.length>0&&o.createElement(X,{categories:ef,shouldShrink:B,areCategoriesVisible:K,hideCategories:j,showCategories:z}),!!l&&o.createElement(H.$,null),Y&&o.createElement(D.be,{subjectHeaderLabel:Y,hideLabel:B})))))),ew=(0,Z.Z)("emOrD",ea),eP=!((0,O.cr)("doc-infoPane")&&i)&&!B&&!y&&!C&&!l?.loadingState?.isLoading,eC=(0,V.T)(()=>eP?o.createElement(eu,{conversationId:i,firstItemId:a,shouldShrink:!Q,item:g}):void 0,[eP,i,a,Q,g]),eE=eb.MA()?.type==eb.AO.Primary;return o.createElement("div",{className:ew,ref:T},v&&ed&&!t&&!C&&eE?o.createElement(o.Fragment,null,o.createElement("div",{className:"fd1EW"},o.createElement(M,{shouldShrink:B}),o.createElement("div",{className:E,ref:F},!Q&&eC,eg)),o.createElement("div",{className:"UXx3I"},eh(!0,ee),Q&&eC),B&&o.createElement(em,{conversationId:i,categories:ef,messageCLPLabel:Y,shouldShrink:B,isItemAttachment:y,isPopout:C,areCategoriesVisible:K,showCategories:z,hideCategories:j})):o.createElement(o.Fragment,null,o.createElement("div",{className:"s8rZ5"},o.createElement("div",null,eh(!1,ee),Q&&eC),o.createElement("div",{className:E,ref:F},!Q&&eC,eg)),B&&o.createElement(em,{conversationId:i,categories:ef,messageCLPLabel:Y,shouldShrink:B,isItemAttachment:y,isPopout:C,areCategoriesVisible:K,showCategories:z,hideCategories:j})))},"SubjectHeaderV2");async function ey(e,t,n){e.stopPropagation(),(await R.Vn.import())(n,t)}},597433:(e,t,n)=>{n.d(t,{u:()=>a,z:()=>i});var o=n(402392);let r=new o.nI(()=>Promise.all([n.e(878313),n.e(800461),n.e(76288),n.e(935517),n.e(626842),n.e(426799),n.e(980246),n.e(696009),n.e(583427),n.e(844271),n.e(791109),n.e(363010),n.e(485810),n.e(393138),n.e(670081),n.e(103085),n.e(68573),n.e(738554),n.e(402122),n.e(320688)]).then(n.bind(n,963667)),{name:"MailSubjectV3"}),i=(0,o.$y)(r,e=>e.SubjectHeaderV3),a=(0,o.$y)(r,e=>e.SLVNavButtons)},517484:(e,t,n)=>{n.d(t,{EP:()=>a,KQ:()=>c,VB:()=>d,gn:()=>u,sT:()=>s,xp:()=>l});var o=n(402392),r=n(110363);let i=new o.nI(()=>Promise.all([n.e(508748),n.e(313380),n.e(574860),n.e(825929)]).then(n.bind(n,14134)),{name:"SharedFolders"}),a=(0,o.$y)(i,e=>e.SharedFolderPeoplePicker),l=new o.EF(i,e=>e.showSharedFolderPeoplePickerDialog),s=new o.EF(i,e=>e.removeSharedFolderUser),d=new o._5(i,e=>e.addSharedFolderUser),c=new o._5(i,e=>e.addImportedAdditionalMailboxes),u=new o._5(i,e=>e.initializeSharedFolderRetentionPolicyTags);(0,o.Kv)(r.T,i,e=>e.initializeSharedFolderRootsOrchestrator)},460217:(e,t,n)=>{n.d(t,{Z:()=>r});var o=n(694412);function r(e){let t=(0,o.b)().retentionPolicyTags;return e&&t.has(e)?t.get(e):[]}},769127:(e,t,n)=>{n.d(t,{v:()=>r});var o=n(110363);function r(e){return o._S(e)?.sharedFolderUserEmails??[]}},694412:(e,t,n)=>{n.d(t,{Z:()=>a,b:()=>l});var o=n(795839);let r={showPeoplePickerDialog:!1,mailboxInfo:void 0,retentionPolicyTags:new(n(787012)).ObservableMap({})},i=(0,o.MT)("sharedFolderState",r)(),a=i,l=()=>i},825447:(e,t,n)=>{n.d(t,{g:()=>d});var o=n(345301),r=n(510265),i=n(613651),a=n(302140),l=n(64906),s=n(150064);let d=(0,r.P)(function(e){let{count:t,shouldDisplayTotalCount:n,screenReaderText:r,customStyle:d,isListViewBadge:c}=e,u=(0,l.KS)("WIYG1","Idtcl","TSNPD"),m=(0,s.Z)(d,c&&"PGUv1","BptzE",!n&&"e0wpX",u);return t?o.createElement("span",{className:m},o.createElement("span",{className:(0,s.Z)(u,"Mt2TB")},t),o.createElement("span",{className:"screenReaderOnly"},r||n?1==t?(0,a.ZP)("COV9Bb"):(0,a.ZP)("lLnreb"):(0,a.ZP)(i.a))):null},"UnreadReadCountBadge")},61727:(e,t,n)=>{n.d(t,{M:()=>i});var o=n(402392);let r=new o.nI(()=>Promise.all([n.e(508748),n.e(313380),n.e(117795),n.e(709077),n.e(382092),n.e(816793),n.e(498313)]).then(n.bind(n,525777))),i=(0,o.$y)(r,e=>e.PersonaHeader)},779742:(e,t,n)=>{n.d(t,{Rm:()=>a,q7:()=>s,wl:()=>l});var o=n(402392),r=n(89662);let i=new o.nI(()=>Promise.all([n.e(778996),n.e(508748),n.e(313380),n.e(110363),n.e(709077),n.e(382092),n.e(211150),n.e(683003),n.e(189382),n.e(816793),n.e(183509),n.e(783012),n.e(806983)]).then(n.bind(n,550497))),a=new o.EF(i,e=>e.loadPublicFolders),l=(0,o.$y)(i,e=>e.PublicFolderPicker,void 0,void 0,{onlyImportIf:()=>r.Z.showPanel||r.Z.showErrorDialog}),s=new o.EF(i,e=>e.removePublicFolderFromFavorites)},89662:(e,t,n)=>{n.d(t,{Z:()=>o});let o=(0,n(795839).MT)("publicFolderPickerStore",{showPanel:!1,selectedFolderId:null,showErrorDialog:!1})()},497670:(e,t,n)=>{n.d(t,{u9:()=>v,Pq:()=>l,hZ:()=>a});var o=n(313380),r=n(110363),i=n(75953);let a=(0,i._)(function(){let e=(0,o.ii)();return e&&0==e.tableQuery.type&&(0,r.tA)(e.tableQuery.folderId)}),l=(0,i._)(function(){let e=(0,o.ii)();return e&&0==e.tableQuery.type&&(0,r.tA)(e.tableQuery.folderId)?e.tableQuery.folderId:null});var s=n(795839),d=n(17725),c=n(192412),u=n(787012);let m=(0,s.MT)("publicFolderUtilsStore",new u.ObservableMap)(),p=()=>m;var f=n(52924),g=n(511943);function v(e){if(!e)return(0,g.zl)();if(!p().has(e)){let t=d.Z.folderTable.get(e)?.replicaList?.[0]??f.Z().SessionSettings?.DefaultPublicFolderMailbox;if(!t)return(0,g.zl)();h(e,(0,c.Z)(t))}return p().get(e)??(0,g.zl)()}let h=(0,s.lr)("addPublicFolderMailboxInfoToStore",(e,t)=>{p().set(e,t)})},13628:(e,t,n)=>{let o;n.d(t,{sp:()=>c,Nt:()=>m,bY:()=>u,mZ:()=>a});var r=n(24202),i=n(795839);let a=(0,i.aD)("setAccountAuthState",(e,t)=>({identityInfo:e,authState:t})),l={accountAuthStates:new(n(787012)).ObservableMap({})},s=(0,i.MT)("accountConditionStore",l)(),d=()=>s;(0,i.ed)(a,e=>{d().accountAuthStates.set((0,r.Kc)(e.identityInfo),e.authState)});var c=((o=c||{}).NoError="NoError",o.AuthError="AuthError",o);function u(e){let t=(0,r.Kn)(e);return t?m(t):{stateType:c.NoError}}function m(e){let t=(0,r.Kc)(e);return d().accountAuthStates.get(t)??{stateType:c.NoError}}},141321:(e,t,n)=>{n.d(t,{z:()=>o});let o=[{name:"Aptos",family:"Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif"},{name:"Aptos Display",family:"Aptos Display,Aptos Display_EmbeddedFont,Aptos Display_MSFontService,Calibri Light,Helvetica Light,sans-serif"},{name:"Aptos Mono",family:"Aptos Mono,Aptos_EmbeddedFont,Aptos_MSFontService,monospace"},{name:"Aptos Narrow",family:"Aptos Narrow,Aptos_EmbeddedFont,Aptos_MSFontService,sans-serif"},{name:"Aptos Serif",family:"Aptos Serif,Aptos_EmbeddedFont,Aptos_MSFontService,serif"}]},24202:(e,t,n)=>{n.d(t,{Kn:()=>i.Z,Kc:()=>r});var o=n(873082);function r(e){return(0,o.A)()?`${e.providerType}:${e.userPrincipalName}`:e.userPrincipalName}var i=n(898237)},929366:(e,t,n)=>{n.d(t,{b:()=>i,u:()=>a});var o=n(822524);let r=!1,i={isEnabled:e=>r,isSupported:e=>!(0,o.x)()};function a(e){r=e}},178856:(e,t,n)=>{n.d(t,{d:()=>i});var o=n(817985),r=n(205451);let i={isEnabled:e=>!0,isSupported:e=>!!(0,r.Z)(e)&&(0,o.j)(e)}},227486:(e,t,n)=>{n.d(t,{Q:()=>a});var o=n(206339),r=n(78570),i=n(12021);let a={isEnabled:e=>!0,isSupported:e=>!!(0,o.cr)("mc-officeEditorProofingMasterFlight",e)&&((0,i.yp)()||(0,i.nb)()||(0,i.o2)()||(0,i.Fo)())&&!(0,r.S)()}},298371:(e,t,n)=>{n.d(t,{m:()=>r});var o=n(78570);let r={isEnabled:e=>!0,isSupported:e=>!(0,o.S)()}},950849:(e,t,n)=>{n.d(t,{U:()=>i});var o=n(433010),r=n(5813);let i={isEnabled:e=>!0,isSupported:e=>!e||!(0,r.rX)()||!(0,o.uc)(e)}},15319:(e,t,n)=>{n.d(t,{L:()=>c});var o=n(511943),r=n(5813),i=n(937091),a=n(827570),l=n(373762),s=n(206339),d=n(919611);let c={isEnabled:e=>!!e&&(!!((0,r.U$)()&&(0,s.MS)())||!((0,r.U$)()&&(0,i.Z)("mon-disable-secondaryAccountAddins"))||(0,a.M4)((0,o.zl)())===(0,a.M4)(e))&&!function(e){let t=(0,o.TS)(e);return!!t&&(0,l.S9)(t)}(e),isSupported:e=>!(0,d.s9)()}},676664:(e,t,n)=>{n.d(t,{H:()=>r});var o=n(78570);let r={isEnabled:e=>!0,isSupported:e=>!(0,o.S)()}},840859:(e,t,n)=>{n.d(t,{n:()=>i});var o=n(206339),r=n(78570);let i={isEnabled:e=>(0,o.cr)("rp-inlineTranslation",e),isSupported:e=>!(0,r.S)()}},49187:(e,t,n)=>{let o;n.d(t,{hK:()=>E,vp:()=>b.ZP,uH:()=>P,Wp:()=>C.Z,fF:()=>S,RU:()=>y,b0:()=>w,Mu:()=>h});var r=n(896571),i=n(511943),a=n(636283),l=n(147775),s=n(659439),d=n(478248),c=n(586001),u=n(116805),m=n(223589),p=n(795839),f=n(787012);let g=(0,p.MT)("OWAClientIdStore",{userMailboxInfoMap:new f.ObservableMap})(),v=()=>g;function h(e){o=e}let I=0;function S(e,t){let n=function(e,t){if((0,s.ZP)("getUserMailboxInfo"),o&&!t){let t=o(e);if(t)return t}let n=v().userMailboxInfoMap;if(!n||!n.get(e)){let t=!1;e&&(t=e!=(0,r.Z)());let o={type:"UserMailbox",userIdentity:t?e:(0,r.Z)(),mailboxSmtpAddress:t?e:function(){(0,s.ZP)("getDefaultUserEmailAddress"),(0,l.l)();let e=(0,d.p)((0,i.qs)().mailboxInfo).SessionSettings;return e?e.UserEmailAddress:((0,a.rx)("SessionSettings not available"),"no-smtp-address")}()};return n.set(e,o),o}return n.get(e)}(e,t);if(!e&&I<5&&(0,u.Z)()){let e=(0,c.Z)(),t=n.mailboxSmtpAddress==e.mailboxSmtpAddress,o=n.userIdentity==e.userIdentity;if(!(t&&o)){I++;let e=Error("getUserMailboxInfoAndSelectedMismatch");(0,m.RX)("getUserMailboxInfoAndSelectedMismatch",e,{isSmtpSame:t,isIdentitySame:o})}}return n}var b=n(239087);function w(e){let t=v().userMailboxInfoMap;t&&t.delete(e)}function y(e,t){return e===t||null!=e&&null!=t&&e.Id===t.Id}function P(e,t){return{type:"GroupMailbox",userIdentity:t||S().userIdentity,mailboxSmtpAddress:e}}n(206339);var C=n(916988);function E(e){let{__type:t,Id:n,ChangeKey:o}=e;return{__type:t,Id:n,ChangeKey:o}}},270183:(e,t,n)=>{n.d(t,{bZ:()=>a,Mt:()=>i,zw:()=>l});var o=n(714865);let r=new o.Hd(()=>Promise.all([n.e(475174),n.e(242904)]).then(n.bind(n,242904))),i=new o._5(r,e=>e.handleSyncHealthCheckResponse),a=new o._5(r,e=>e.getMailboxStatus),l=new o._5(r,e=>e.registerForSyncHealthCheck)},24270:(e,t,n)=>{let o;n.d(t,{aC:()=>s});var r=n(300011),i=n(153836),a=n(286535),l=n(532811);function s(){let e=(0,i.ej)("DefaultAnchorMailbox");return!function(){if(void 0===o){let e=(0,a.y)().location;o=/\/(bookwithme|findtime|book)/i.test(e.pathname+e.search)}return o}()?null==e||0==e.trim().length||d():l.ZP("owaIsAuthenticated")?.toLowerCase()!="true"&&(null==e||0==e.trim().length)||d()}function d(){return Object.keys((0,r.nM)((0,a.y)().location)).indexOf("anonRetry")>=0}},874175:(e,t,n)=>{n.d(t,{GF:()=>o,RI:()=>i,W2:()=>r,Y0:()=>s,_M:()=>l,oL:()=>a});let o="color",r="bgcolor",i="data-ogsc",a="data-ogac",l="data-ogsb",s="data-ogab"},942566:(e,t,n)=>{let o;n.d(t,{r:()=>o});var r=n(103869);window.trustedTypes&&(o=window.trustedTypes.createPolicy("trustedTypesCustomPolicy ",{createHTML:(e,t={})=>""===e?"":(0,r.sanitize)(e,{RETURN_TRUSTED_TYPE:!0,USE_PROFILES:{html:!0},...t}).toString(),createScriptURL:e=>e,createScript:e=>e}))},448044:(e,t,n)=>{n.d(t,{l:()=>r});var o=n(942566);function r(e,t,n){if(""===t)for(;e.firstChild;)e.removeChild(e.firstChild);else o.r&&(e.innerHTML=o.r.createHTML(t,n).toString())}},857047:(e,t,n)=>{n.d(t,{Ce:()=>l,ON:()=>i,gx:()=>r,pY:()=>a});var o=n(714865);let r=new o.Hd(()=>Promise.all([n.e(896847),n.e(252684)]).then(n.bind(n,252684)),{name:"DarkModeUtils"}),i=new o.EF(r,e=>e.transformElementForDarkMode),a=new o.EF(r,e=>e.getStylesForDarkMode),l=new o._5(r,e=>e.fixContrast)},857308:(e,t,n)=>{n.d(t,{o:()=>i});var o=n(49187),r=n(511943);function i(e){if("ArchiveMailbox"==e.type)return(0,o.vp)(e);let t=!(0,r.zM)(e),n="GroupMailbox"===e.type,i="SharedMailbox"===e.type;return!t||n||i?"UserMailbox"===e.type?(0,o.vp)(e):e.mailboxSmtpAddress:(0,o.Wp)(e)+e.userIdentity}},872951:(e,t,n)=>{n.d(t,{Y:()=>l});var o=n(345301),r=n(739455),i=n(510265),a=n(150064);let l=(0,i.P)(function(e){let{checked:t,indeterminate:n,isMessageSelected:i,isSLVStyleApplied:l,isMailListItemHovered:s}=e,d=o.useMemo(()=>({...e.styles,checkbox:(0,a.Z)("gy2XW",l&&"DBEyS",i&&"i7xzh",l&&s&&"CQDXX",(t||n)&&(l?"Vlwl1":"Ksdin")),checkmark:"s0NVw"}),[e.styles,i,t,n,l,s]);return o.createElement(r.X,{...e,styles:d})},"FluentCheckbox")},833731:(e,t,n)=>{n.d(t,{Z:()=>s});var o=n(661616),r=n(511943),i=n(778599),a=n(946683),l=n(58030);function s(e,t,n,s){let d=(0,a.Z)(e),c=(0,i.nC)(d.mailboxInfo.userIdentity,n||t,t,d.persistenceId,s);if((0,o.cb)(d))return{...c.mailboxInfo,isRemoved:!0,mailboxRank:"Resource"};let u=(0,r.R1)(c.sourceId);if(!u&&((0,r.PC)(d.sourceId,{loadState:d.groupSources.loadState,sources:[...d.groupSources.sources,c],coprincipalSourceId:d.sourceId}),!(u=(0,r.R1)(c.sourceId))))throw new l.R("Failed to find the added shared mailbox");return u.mailboxInfo}},422841:(e,t,n)=>{n.d(t,{z:()=>r});var o=n(845407);class r{constructor(e){this.maxSize=e,this.references=[],this.mruList=[]}initialize(e,t){if(!this.store)for(let n of(this.store=e,this.deleteCallback=t,e.keys()))this.mruList.push(n)}add(e,t){(0,o.aD)("MruCache_add")(()=>{this.store?.set(e,t),this.mruList.indexOf(e)>=0?this.touch(e):(this.mruList.push(e),this.purgeIfNecessary())})()}get(e){return this.store?.get(e)}getAndTouch(e){let t=this.store?.get(e);return t&&this.touch(e),t}has(e){return this.store?.has(e)}remove(e){(0,o.aD)("MruCache_remove")(()=>{if(this.store?.has(e)&&!this.isReferenced(e))return this.removeItemAtIndex(this.mruList.indexOf(e))})()}registerReference(e){this.references.push(e)}clear(){(0,o.aD)("MruCache_clear")(()=>{this.purgeTillSize(0)})()}getItemIds(){return Array(...this.mruList)}touch(e){let t=this.mruList.indexOf(e);if(t<0)throw Error(`Item with key '${e}' does not exist in the cache.`);this.mruList.splice(t,1),this.mruList.push(e)}purgeIfNecessary(){this.purgeTillSize(this.maxSize)}purgeTillSize(e){let t=0;for(;this.mruList.length>e&&t<this.mruList.length;){let e=this.mruList[t];this.isReferenced(e)?t++:this.removeItemAtIndex(t)}}removeItemAtIndex(e){if(e<0||e>=this.mruList.length)throw Error("Invalid index to remove: "+e);let t=this.mruList[e];this.mruList.splice(e,1),this.deleteCallback?this.deleteCallback(t):this.store?.delete(t)}isReferenced(e){for(let t=0;t<this.references.length;t++){let n=this.references[t]();if(Array.isArray(n)){if(-1!=n.indexOf(e))return!0}else if(n==e)return!0}return!1}}},427941:(e,t,n)=>{n.d(t,{Mu:()=>m,Dl:()=>S,WE:()=>c,Vz:()=>u,tH:()=>f,_n:()=>g,SW:()=>v,vh:()=>p});var o=n(212152),r=n(24270),i=n(827570),a=n(973002);let l=new Map,s=new Map;function d(e,t){let n=(0,i.M4)(e);if(!t&&(0,r.aC)())return Promise.resolve({});if(s.get(n))return Promise.resolve(s.get(n));if(!l.get(n)){let t=(0,o.Z)((0,a.Z)(e)).then(e=>(s.set(n,e),e)).catch(e=>{throw l.delete(n),e});l.set(n,t)}return l.get(n)??Promise.resolve({})}let c=d;function u(e,t){let n=(0,i.M4)(e);return s.get(n)||d(e,t),s.get(n)}function m(e){let{ExternalInOutlookEnabled:t=!1}=u(e,!0)||{};return t}async function p(e){let{IsSearchFoldersMigrationComplete:t=!1}=await c(e,!0)||{};return t}function f(e){let{CompliantMeetingEnabled:t=!1}=u(e)||{};return t}function g(e){return u(e)?.CompliantMeetingEnabled??!1}function v(e){let t=u(e);return!!t&&!1!=t.MessageRecallEnabled}var h=n(478248);let I=new Map;function S(e){let t=(0,i.M4)(e),n=I.get(t);return n||(n=function(e){let t=u(e);if(!t)return[];let n=t?.AliasDisplayNames||[];n.push({Alias:h.p(e).SessionSettings?.UserEmailAddress,DisplayName:h.p(e).SessionSettings?.UserDisplayName});let o=(0,i.M4)(e);return I.set(o,n),n}(e)),n}},3756:(e,t,n)=>{n.d(t,{HZ:()=>s,K$:()=>c,Ln:()=>r.Z,Q7:()=>h,Tj:()=>u,U:()=>f,Wp:()=>m,Ym:()=>d,dI:()=>a,l6:()=>v,lB:()=>p,oe:()=>l,sr:()=>g});var o=n(714865),r=n(981316);let i=new o.nI(()=>Promise.all([n.e(258133),n.e(311741)]).then(n.bind(n,499986)),{name:"Notification"}),a=new o._5(i,e=>e.subscribe),l=new o._5(i,e=>e.unsubscribe),s=new o._5(i,e=>e.retryAllDisconnectionsWithMinimumReconnectInterval),d=new o._5(i,e=>e.NotificationManager.retryDisconnection),c=new o._5(i,e=>e.setup),u=new o._5(i,e=>e.handleNotification),m=new o._5(i,e=>e.NotificationManager.stopAllConnections),p=new o._5(i,e=>e.initializeNotificationManager),f=new o._5(i,e=>e.NotificationManager.getConnectionStatusesForAllAccounts);new o._5(i,e=>e.GatewayNotificationManager.getChannelId),new o.EF(i,e=>e.initializeGatewayNotificationManager);let g=new o._5(i,e=>e.subscribeForMailbox),v=new o.EF(i,e=>e.getNotificationEmitter);new o._5(i,e=>e.defaultSessionTimeoutHandler);let h=new o._5(i,e=>e.initializeNotificationsForAccounts);new o._5(i,e=>e.initNotificationManagerForMailbox)},981316:(e,t,n)=>{n.d(t,{Z:()=>o});let o={ChannelData:"ChannelData",SubscriptionAdded:"SubscriptionAdded",SubscriptionRemoved:"SubscriptionRemoved",SubscriptionUpdated:"SubscriptionUpdated",NotificationData:"NotificationData",TraceWarn:"TraceWarn",TraceError:"TraceError"}},676301:(e,t,n)=>{let o,r,i;n.d(t,{ll:()=>l,uw:()=>s,cA:()=>a,Ff:()=>u,Mr:()=>m});var a=((o=a||{}).Beta="beta",o.V1="v1",o),l=((r=l||{}).Account="account",r.Global="global",r),s=((i=s||{}).Bool="Bool",i.Int="Int",i.Json="JSON",i.String="String",i);function d(e,t){return`ows/${e}/OutlookCloudSettings/settings/${t}`}var c=n(747731);async function u(e,t,n,o,r){let i=function(e,t,n){let o=d(e,t),r=n.join(",");return`${o}?settingname=${r}`}(t,n,o),a={"x-outlook-client":"owa",...r?.additionalHeaders},l=r?.returnFullResponse??!1;return(await (0,c.xe)(i,r?.correlationId,l,a,!0,void 0,void 0,e)).map(e=>({...e,name:e.name.toLowerCase()}))}function m(e,t,n,o,r){let i={"x-outlook-client":"owa",Accept:"application/json",...r?.additionalHeaders},a=d(t,n),l=r?.returnFullResponse??!1;return(0,c.fv)(a,o,r?.correlationId,l,i,!0,void 0,void 0,e)}},919611:(e,t,n)=>{n.d(t,{p0:()=>o.p0,s9:()=>r.s}),n(815248);var o=n(485577),r=n(128088);n(802984)},78570:(e,t,n)=>{n.d(t,{S:()=>s});var o=n(206339),r=n(240282),i=n(672461),a=n(538702);let l=()=>!(0,o.cr)("settings-privacySettingsRoaming")||(0,a.lj)(a.lV.ExperiencesAnalyzingContent,!0);function s(){return!!(0,o.cr)("settings-privacySettings")&&((0,r.Z)()?!(0,i.s)("analyzeContentEnabled"):!l())}},216446:(e,t,n)=>{n.d(t,{z:()=>r});var o=n(345301);function r(e){let[t,n]=(0,o.useState)(e);return[t,(0,o.useCallback)(()=>n(!0),[]),(0,o.useCallback)(()=>n(!1),[])]}},861129:(e,t,n)=>{n.d(t,{R:()=>i});var o=n(345301),r=n(67915);function i(e){let t=(0,o.useRef)(0),n=(0,o.useCallback)(()=>{window.cancelAnimationFrame(t.current),t.current=0},[]),i=(0,o.useCallback)(o=>{n(),t.current=window.requestAnimationFrame(()=>{(0,r.T4)("useCustomAnimationFrame",e),t.current=0,o()})},[n]),a=(0,o.useCallback)(()=>!!t.current,[]);return(0,o.useEffect)(()=>n,[]),[i,n,a]}},747544:(e,t,n)=>{n.d(t,{O:()=>i});var o=n(345301),r=n(67915);function i(e){let t=(0,o.useRef)(),n=(0,o.useCallback)(()=>{window.clearTimeout(t.current),t.current=0},[]),i=(0,o.useCallback)((o,i,...a)=>{n(),t.current=window.setTimeout((...n)=>{(0,r.T4)("useCustomTimeout",e),t.current=0,o(...n)},i,...a)},[n]),a=(0,o.useCallback)(()=>!!t.current,[]);return(0,o.useEffect)(()=>n,[]),[i,n,a]}},227297:(e,t,n)=>{n.d(t,{n:()=>i});var o=n(345301),r=n(309358);function i(e,t,n){let[i,a]=o.useState(),l=o.useCallback(e=>{a(e)},[]);return o.useLayoutEffect(()=>{n&&a(t.current?.getBoundingClientRect?.())},[]),(0,r.y)(e,t,l),[i]}},401081:(e,t,n)=>{n.d(t,{r:()=>r});var o=n(345301);function r(...e){return o.useCallback(t=>{e.forEach(e=>{"function"==typeof e?e(t):null!=e&&(e.current=t)})},e)}},309358:(e,t,n)=>{n.d(t,{x:()=>l,y:()=>a});var o=n(345301),r=n(741001),i=n(67915);function a(e,t,n){o.useEffect(()=>{if(t.current){let o;let a=([o])=>{t.current&&((0,i.T4)("useResizeObserver",e),n(o.contentRect))};try{Object.defineProperty(a,"name",{value:e})}catch{}let l=t.current.ownerDocument.defaultView;return(o=l&&"function"==typeof l.ResizeObserver?new l.ResizeObserver(a):new r.Z(a)).observe(t.current),()=>o?.disconnect()}},[t.current,n])}function l(e,t,n){let r=o.useRef();return a(e,t,o.useCallback(e=>{r.current=e,n?.(e)},[])),r}},719124:(e,t,n)=>{n.d(t,{i:()=>l});var o=n(345301),r=n(535577);let i=Symbol("useWindowSize"),a=new Map;function l(e){let t=e??window,n=o.useRef(),[l,s]=o.useState(()=>({width:a.get(t)?.width??t.innerWidth,height:a.get(t)?.height??t.innerHeight}));return o.useEffect(()=>((function(e,t,n){if(!a.has(e)){let t=()=>{let{innerWidth:t,innerHeight:n}=e,o={width:t,height:n};for(let t of a.get(e)?.callbacks.values()??[])t(o)};(0,r.L)(e,"resize",i,t),(0,r.L)(e,"orientationchange",i,t);let{innerWidth:n,innerHeight:o}=e;a.set(e,{width:n,height:o,callbacks:new Map})}a.get(e)?.callbacks.set(t,n)})(t,n,s),()=>{a.get(t)?.callbacks.delete(n),a.get(t)?.callbacks.size===0&&((0,r.q)(t,"resize",i),(0,r.q)(t,"orientationchange",i),a.delete(t))}),[t]),l}},101198:(e,t,n)=>{function o(e={}){e.timeBetweenRetryInMS=e.timeBetweenRetryInMS||(()=>6e4);let{maximumAttempts:t,timeBetweenRetryInMS:n}=e;return e=>{let o=0,r=!1,i=(a,l)=>{r?l(Error("The function retry was cancelled")):(o++,e().then(e=>a(e)).catch(e=>{t&&o>=t?l(e):setTimeout(()=>i(a,l),n?.(o))}))};return{retriableFunc:()=>new Promise((e,t)=>i(e,t)),cancel:()=>r=!0}}}n.d(t,{Z:()=>o})},148871:(e,t,n)=>{n.d(t,{Z:()=>o});function o(e){return{__type:"And:#Exchange",...e}}},708192:(e,t,n)=>{n.d(t,{Z:()=>o});function o(e){return{__type:"Constant:#Exchange",...e}}},749252:(e,t,n)=>{n.d(t,{Z:()=>o});function o(e){return{__type:"ConversationResponseShape:#Exchange",...e}}},191921:(e,t,n)=>{n.d(t,{Z:()=>o});function o(e){return{__type:"FieldURIOrConstantType:#Exchange",...e}}},23098:(e,t,n)=>{n.d(t,{Z:()=>o});function o(e){return{__type:"FindFolderRequest:#Exchange",...e}}},226210:(e,t,n)=>{n.d(t,{Z:()=>o});function o(e){return{__type:"FindItemJsonRequest:#Exchange",...e}}},70720:(e,t,n)=>{n.d(t,{Z:()=>o});function o(e){return{__type:"FindItemRequest:#Exchange",...e}}},249665:(e,t,n)=>{n.d(t,{Z:()=>o});function o(e){return{__type:"FolderResponseShape:#Exchange",...e}}},7839:(e,t,n)=>{n.d(t,{Z:()=>o});function o(e){return{__type:"GetFolderRequest:#Exchange",...e}}},30330:(e,t,n)=>{n.d(t,{Z:()=>o});function o(e){return{__type:"IndexedPageView:#Exchange",...e}}},541949:(e,t,n)=>{n.d(t,{Z:()=>o});function o(e){return{__type:"IsEqualTo:#Exchange",...e}}},550216:(e,t,n)=>{n.d(t,{Z:()=>o});function o(e){return{__type:"ItemResponseShape:#Exchange",...e}}},176576:(e,t,n)=>{n.d(t,{Z:()=>o});function o(e){return{__type:"PropertyUri:#Exchange",...e}}},678269:(e,t,n)=>{n.d(t,{Z:()=>o});function o(e){return{__type:"RestrictionType:#Exchange",...e}}},653906:(e,t,n)=>{n.d(t,{Z:()=>o});function o(e){return{__type:"SortResults:#Exchange",...e}}},539203:(e,t,n)=>{n.d(t,{Z:()=>o});function o(e){return{__type:"UnifiedGroupIdentity:#Exchange",...e}}},678093:(e,t,n)=>{n.d(t,{Z:()=>c});var o=n(148871),r=n(708192),i=n(191921),a=n(298066),l=n(541949),s=n(176576),d=n(678269);async function c(e,t,n){let c=await (0,a.Z)(e,(0,d.Z)({Item:(0,o.Z)({Items:[(0,l.Z)({Item:(0,s.Z)({FieldURI:"FolderDisplayName"}),FieldURIOrConstant:(0,i.Z)({Item:(0,r.Z)({Value:t})})})]})}),n);return c.length?c[0]:void 0}},298066:(e,t,n)=>{n.d(t,{Z:()=>s});var o=n(901111),r=n(62349),i=n(23098),a=n(249665),l=n(30330);async function s(e,t,n){let s=await (0,r.Z)({Header:(0,o.F)(),Body:(0,i.Z)({FolderShape:(0,a.Z)({BaseShape:"IdOnly"}),Paging:(0,l.Z)({Offset:0,BasePoint:"Beginning"}),ParentFolderIds:[e],ShapeName:"Folder",Traversal:"Deep",Restriction:t})},n);return(s?.Body?.ResponseMessages?.Items?.[0]?.RootFolder?.Folders??[]).map(e=>({Id:e.FolderId.Id,FolderId:e.FolderId,DisplayName:e.DisplayName}))}},62349:(e,t,n)=>{n.d(t,{Z:()=>r});var o=n(837086);function r(e,t){return void 0===e||e.__type||(e={__type:"FindFolderJsonRequest:#Exchange",...e}),(0,o.S)("FindFolder",e,t)}},762669:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(837086),r=n(226210);function i(e,t){return void 0===e||e.__type||(e=(0,r.Z)(e)),(0,o.S)("FindItem",e,t)}},991736:(e,t,n)=>{n.d(t,{Z:()=>r});var o=n(837086);function r(e,t){return void 0===e||e.__type||(e={__type:"GetFolderJsonRequest:#Exchange",...e}),(0,o.S)("GetFolder",e,t)}},212152:(e,t,n)=>{n.d(t,{Z:()=>r});var o=n(837086);function r(e){return(0,o.S)("GetOwaNonBootUserConfiguration",{},e)}},420335:(e,t,n)=>{n.d(t,{m:()=>i});var o=n(795839),r=n(398765);let i=(0,o.lr)("updateAccountScopeUserSettings",(e,t)=>{let n=(0,r.q)(e);n&&t(n)})},896571:(e,t,n)=>{n.d(t,{Z:()=>a});var o=n(52924),r=n(659439),i=n(636283);function a(){(0,r.ZP)("getDefaultLogonEmailAddress");let e=(0,o.Z)().SessionSettings;return e?e.LogonEmailAddress:((0,i.rx)("SessionSettings not available"),"no-smtp-address")}},742015:(e,t,n)=>{n.d(t,{I:()=>r});var o=n(478248);function r(e){let t=o.p(e)?.PrimeSettings?.Items,n=[];if(t)for(let e of t){let t=e.Value?.options?.[0];t&&n.push(t)}return n}},162576:(e,t,n)=>{n.d(t,{Z:()=>r});var o=n(478248);function r(e){return o.p(e).SessionSettings?.UserEmailAddress}},231622:(e,t,n)=>{let o;n.d(t,{Z:()=>i});var r=((o=r||{})[o.Off=0]="Off",o[o.Right=1]="Right",o[o.Bottom=2]="Bottom",o);let i=r},911062:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(223589),r=n(341032);function i(e,t){if(!e){let e=Error("DoesFolderIdEqualNameInvalidParameters");return(0,o.ly)(e.message,e),!1}return(0,r.Z)(e)===t}},341032:(e,t,n)=>{n.d(t,{Z:()=>r});var o=n(420205);function r(e){let t=(0,o.b)();return e&&t.defaultFolderIdToNameMap?.get(e)||"none"}},330103:(e,t,n)=>{n.d(t,{Z:()=>l});var o=n(511943),r=n(223589),i=n(398765),a=n(281587);function l(e,t){if(!e){let e=Error("FolderNameToIdInvalidParameters");return(0,r.ly)(e.message,e),""}if(!(0,o.h1)()){let e=Error("FolderNameToIdUninitializedAccountSourceListStore");return(0,r.ly)(e.message,e),""}let n=(0,i.q)((0,a.r)(t));return n?.defaultFolderNameToIdMap?.get(e)??""}},175831:(e,t,n)=>{n.d(t,{Z:()=>r});var o=n(478248);function r(e){return o.p(e)?.UserOptions?.ArchiveFolderId}},766396:(e,t,n)=>{n.d(t,{Z:()=>r});var o=n(478248);function r(e){return o.p(e).SessionSettings?.HasArchive}},691303:(e,t,n)=>{n.d(t,{o:()=>l});var o=n(762503),r=n(877111),i=n(473757),a=n(511943);function l(e,t,n){return(0,r.W)(e),(0,i.N)((0,a.zl)()),(0,o.Z)(t,n)}},473757:(e,t,n)=>{n.d(t,{N:()=>a,f:()=>i});var o=n(223589);let r=()=>Promise.resolve();function i(e){r=e}async function a(e){try{await r(e)}catch(e){(0,o.CZ)("userConfigurationUpdateSideEffect: "+e.message,{stack:e.stack})}}},448183:(e,t,n)=>{n.d(t,{n:()=>i,t:()=>r});let o=!1;function r(){o=!0}function i(){return o}},506296:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(666794),r=n(135608);function i(e){return((0,r.Z)("/"+(e||(0,o.Z)()))+"/").replace(/^\//,"")}},485152:(e,t,n)=>{let o;n.d(t,{Z:()=>i});var r=n(135608);function i(){return o||(o=(0,r.Z)("/mail")+"/"),o}},461362:(e,t,n)=>{n.d(t,{c:()=>r});let o=["hostApp","isanonymous","cspoff","frameName","opxInstanceId","hxVersion"];function r(e){e&&Object.keys(e).forEach(t=>{o.includes(t)&&delete e[t]})}},72522:(e,t,n)=>{n.d(t,{BL:()=>F,DQ:()=>S,E6:()=>y,FW:()=>o,Fh:()=>x,Gq:()=>b,HH:()=>k,HX:()=>R,KM:()=>f,Ku:()=>v,OZ:()=>h,QO:()=>g,Ry:()=>Z,TC:()=>m,Uh:()=>p,V_:()=>P,WG:()=>A,XS:()=>I,Xn:()=>D,YH:()=>T,Zm:()=>C,cV:()=>w,dl:()=>l,fS:()=>d,gg:()=>M,io:()=>u,jx:()=>c,ke:()=>i,mh:()=>E,vO:()=>s,wq:()=>a,zx:()=>r});var o="FJ4hV",r="D1gJr",i="WKBCQ",a="SW7A6",l="YYA9V",s="GciPK",d="Yd48r",c="Humrz",u="kTUsm",m="lKhXQ",p="ryy4m",f="c_ifE",g="LyMTI",v="XW2m0",h="C1EJK",I="I3sS5",S="Dt4E5",b="LBktY",w="OooOp",y="dbelr",P="Mq3cC",C="HOVUa",E="q9iRC",Z="bYKNI",M="brBxj",T="ThtDv",F="PsJx7",k="G8_Dc",x="FkPdL",R="czwRD",A="LCprM",D="nbmyu"},835541:(e,t,n)=>{n.d(t,{MS:()=>s,Vi:()=>l,cY:()=>d,hZ:()=>o,qf:()=>a,s2:()=>i,zl:()=>r});var o="ACOWo",r="kptdV",i="CtpKs",a="LrwCL",l="k6TIy",s="XPclo",d="CpCnc"},788487:(e,t,n)=>{n.d(t,{B3:()=>i,NU:()=>a,OS:()=>m,SV:()=>r,Sb:()=>d,WY:()=>l,fW:()=>s,fr:()=>o,ln:()=>c,lp:()=>u});var o="kFACy",r="IpjO_",i="rEp5q",a="_x5Fe",l="Ax3AE",s="lrhoT",d="EHzGr",c="ovzdD",u="U0oqf",m="CcHXT"},213661:(e,t,n)=>{n.d(t,{IO:()=>i,JF:()=>l,RT:()=>a,er:()=>r,qr:()=>s,zB:()=>o});var o="e4_J1",r="xKrjQ",i="VAtdl",a="tEaQG",l="lgkP3",s="R4NMk"},243169:(e,t,n)=>{n.d(t,{IV:()=>i,_A:()=>a,oA:()=>o,rp:()=>r});var o="yHwLo",r="cM5XH",i="Rkr4S",a="n6d0i"},377527:(e,t,n)=>{n.d(t,{F8:()=>r,dt:()=>o,j7:()=>a,rX:()=>i});var o="mGATq",r="QpoLy",i="LKpyr",a="rP5cw"},345535:(e,t,n)=>{n.d(t,{AP:()=>er,CK:()=>u,Di:()=>m,Ef:()=>f,Em:()=>y,H6:()=>c,I:()=>T,IV:()=>A,J:()=>et,LK:()=>v,NA:()=>L,NG:()=>P,O1:()=>w,Or:()=>x,Q2:()=>K,Qc:()=>eo,S2:()=>d,TW:()=>ee,Ty:()=>G,U:()=>r,UI:()=>H,Vk:()=>a,XT:()=>l,Yc:()=>Q,Yh:()=>Y,_N:()=>b,_t:()=>C,aJ:()=>J,a_:()=>s,b3:()=>E,bC:()=>V,cC:()=>z,cK:()=>en,d0:()=>o,dK:()=>O,e7:()=>h,eG:()=>ea,g_:()=>M,hG:()=>el,hj:()=>Z,iz:()=>D,k5:()=>U,kG:()=>N,l7:()=>q,lp:()=>S,mB:()=>_,mC:()=>es,mO:()=>i,mq:()=>ei,oA:()=>p,pv:()=>j,q3:()=>g,r:()=>F,rp:()=>I,tV:()=>B,x$:()=>$,xm:()=>X,yN:()=>R,z$:()=>W,zP:()=>k});var o="BeA01",r="V2uYM",i="yPKLI",a="VS1hH",l="eiirv",s="aFHvi",d="vQae6",c="ccbWZ",u="vDvDy",m="MtQpS",p="QdRvf",f="tw_u9",g="js3de",v="BjrMu",h="AO4Vx",I="rf8FT",S="p4pwT",b="bZBXb",w="s27eJ",y="IHzGu",P="rk2CU",C="Xa56S",E="bkYAr",Z="rEzfP",M="z8J_3",T="_EhYJ",F="JV_Om",k="Nu9yt",x="c57xl",R="uNaZF",A="sInYK",D="m74HI",N="F3Yx_",_="EHnMK",O="gkKwQ",L="mWWR2",V="FVCRn",B="G9d_n",G="H94YV",U="zdker",H="BPfgd",W="ZYym6",K="HF7j0",z="l2BVB",j="qVYfT",Q="xX_ks",$="D91Yb",q="Nugcg",X="SC0Zd",Y="Gj2Pr",J="tMqIN",ee="i5TJa",et="ac0xq",en="pB18x",eo="lV7Ac",er="oSNO0",ei="abF91",ea="jomXP",el="dq6vK",es="e2Pgo"},132641:(e,t,n)=>{n.d(t,{BJ:()=>o,GW:()=>h,IV:()=>f,Ue:()=>g,ZA:()=>c,_P:()=>v,ax:()=>u,cw:()=>a,fq:()=>s,ln:()=>m,oA:()=>i,rp:()=>p,tJ:()=>d,vM:()=>r,wq:()=>l});var o="BUcHw",r="SPZ13",i="RXDMJ",a="vlQVl",l="jXaVF",s="PhBV4",d="U3hya",c="IG8s8",u="bi8ao",m="YnTUf",p="P3G2l",f="B7o5q",g="mCzau",v="a2Qhm",h="ufx39"},516346:(e,t,n)=>{n.d(t,{b:()=>r,z:()=>o});var o="GR8ZG",r="ARgeA"},534204:(e,t,n)=>{n.d(t,{BA:()=>o,E4:()=>s,LA:()=>d,Qu:()=>a,S4:()=>r,ct:()=>l,qv:()=>i});var o="u6qq3",r="BXibp",i="kElPw",a="bvdCQ",l="j87La",s="gXxPA",d="TAA8n"},344301:(e,t,n)=>{n.d(t,{FP:()=>l,IK:()=>g,OW:()=>r,U$:()=>i,UQ:()=>a,_V:()=>u,ct:()=>d,dU:()=>p,fo:()=>m,h9:()=>c,kQ:()=>o,nC:()=>f,qj:()=>s});var o="ovvvr",r="iTqd0",i="hQj7T",a="gCSJa",l="ukpDB",s="lHRXq",d="jGG6V",c="hDNlA",u="ZTnQq",m="gmffI",p="yg0l0",f="DLvHz",g="IMyk_"},983216:(e,t,n)=>{n.d(t,{$0:()=>$,$E:()=>l,$H:()=>C,$Q:()=>m,AB:()=>eE,AR:()=>Z,Ag:()=>el,Az:()=>ei,B8:()=>d,BB:()=>J,C0:()=>M,CE:()=>X,G8:()=>s,GN:()=>E,Gc:()=>H,Gw:()=>v,IG:()=>eb,IV:()=>Q,J7:()=>ee,JD:()=>B,Jx:()=>R,K8:()=>ea,KQ:()=>eF,Km:()=>K,Kn:()=>b,MJ:()=>u,Nt:()=>er,Q_:()=>o,R8:()=>O,Ru:()=>eC,SW:()=>eu,TM:()=>ec,UT:()=>ep,Ui:()=>ev,Uz:()=>eM,Vz:()=>a,YT:()=>et,Yh:()=>eS,Yv:()=>V,Zl:()=>z,a2:()=>U,aK:()=>h,bU:()=>x,co:()=>eh,d1:()=>w,dK:()=>es,dg:()=>eT,dh:()=>g,fO:()=>em,hD:()=>G,hM:()=>y,hm:()=>ek,hx:()=>eo,i0:()=>_,iN:()=>L,j0:()=>T,jH:()=>S,m5:()=>ey,nv:()=>N,oA:()=>p,oj:()=>W,p3:()=>c,pF:()=>i,r7:()=>A,rE:()=>D,rp:()=>F,ry:()=>r,s8:()=>Y,tl:()=>eP,tx:()=>ew,uA:()=>q,vE:()=>ef,vP:()=>k,vS:()=>en,vj:()=>P,xj:()=>ed,xm:()=>eI,yE:()=>eZ,yJ:()=>f,yN:()=>j,yP:()=>I,zz:()=>eg});var o="gDC9O",r="JCRRb",i="cFOen",a="Tv_GG",l="bYoTH",s="L_Z5m",d="F6Q1l",c="FdgwT",u="to0aR",m="S2NDX",p="OD8Ue",f="VF8h_",g="gBtKb",v="t3QmO",h="OC23F",I="LX2QK",S="C32Nj",b="BZrzc",w="azUpZ",y="diXLF",P="Q4yv9",C="_ZBsy",E="lME98",Z="XW8cf",M="ZfoST",T="VlT6S",F="XG5Jd",k="o1IXt",x="afCfS",R="oWYiS",A="WNvBZ",D="PN7rE",N="X4EZx",_="AJhrj",O="QMRWk",L="E25D6",V="F8ZSr",B="YO7sQ",G="BGDdH",U="UUb6h",H="wnScO",W="aDFCa",K="o_iaq",z="TbPyn",j="XJ3XJ",Q="xc0ZS",$="G1NES",q="Qo35A",X="zZV22",Y="zaB2L",J="QnEpE",ee="q0f8X",et="Zgp3k",en="Lk7oS",eo="YH9yX",er="FqgPc",ei="tAtdo",ea="dfGeo",el="qIr4v",es="TBtad",ed="TszOG",ec="dTBo0",eu="TtcXM",em="Fox4_",ep="IjzWp",ef="nf3X_",eg="Q19mi",ev="D8iyG",eh="zht_v",eI="g5Wgn",eS="TAT3V",eb="_e8M_",ew="XYasa",ey="WP8_u",eP="lulAg",eC="UWVIR",eE="qq2gS",eZ="IHjSF",eM="hwyHQ",eT="cbNn0",eF="yZzQH",ek="EAy9M"},780141:(e,t,n)=>{n.d(t,{UX:()=>a,hz:()=>l,jT:()=>s,n9:()=>o,vn:()=>r,wc:()=>i});var o="F7P4e",r="mGYRE",i="iZbPU",a="gPZmZ",l="IjQyD",s="epBmH"},440170:(e,t,n)=>{n.d(t,{W:()=>o,h:()=>r});var o="ESO13",r="JBWmn"},907961:(e,t,n)=>{n.d(t,{$V:()=>p,Bl:()=>f,Br:()=>i,EY:()=>l,Ee:()=>s,H_:()=>h,NF:()=>a,hQ:()=>I,hv:()=>o,hw:()=>r,j$:()=>v,mo:()=>u,ov:()=>d,qV:()=>g,rD:()=>m,tC:()=>c});var o="HrG1R",r="cZiGh",i="_4Acm",a="cJ3F3",l="W9xfa",s="gr7y1",d="jYY8g",c="tayE9",u="oB7PD",m="gOGng",p="cGx00",f="geflF",g="evj9g",v="oFErI",h="qUh8P",I="Ogt7j"},883729:(e,t,n)=>{n.d(t,{$Z:()=>I,ET:()=>y,GA:()=>c,HK:()=>x,Ho:()=>b,IV:()=>Z,Kp:()=>p,Kz:()=>v,M2:()=>r,M8:()=>P,Mb:()=>H,NI:()=>o,NK:()=>i,OC:()=>s,RN:()=>R,Sc:()=>h,W:()=>u,XJ:()=>l,YJ:()=>T,Yw:()=>a,_s:()=>A,b$:()=>V,bb:()=>k,cs:()=>W,dG:()=>B,e3:()=>G,gy:()=>N,hv:()=>C,hx:()=>F,nB:()=>m,oA:()=>d,oG:()=>_,ov:()=>f,rp:()=>g,s9:()=>L,t:()=>D,t$:()=>w,v9:()=>M,vL:()=>U,w4:()=>E,xS:()=>O,xV:()=>S});var o="NiD4s",r="GjFKx",i="c7KoH",a="PCN7W",l="W6_zW",s="H3VIT",d="Vi1QO",c="gwEE3",u="U_FVo",m="GUu0J",p="SlLx9",f="MtujV",g="jmmB7",v="gXGox",h="Ts94W",I="byzS1",S="YoK0k",b="Fu9JA",w="aVla3",y="XyUOw",P="ofJyQ",C="uUpvk",E="LeZ28",Z="G8bTU",M="XbIp4",T="WWy1F",F="xzEcH",k="OuBzC",x="HMs1m",R="fnz7h",A="_nzWz",D="dgSFQ",N="vmKcz",_="E0d1R",O="NNlvm",L="L72vd",V="PnhcN",B="iaEpS",G="vS6VP",U="NTPm6",H="wIgSn",W="lioMG"},219519:(e,t,n)=>{n.d(t,{$Z:()=>i,kB:()=>l,lr:()=>a,nO:()=>o,sm:()=>r});var o="azpOk",r="YCWJn",i="luPaj",a="kg7Nz",l="G51EL"},59758:(e,t,n)=>{n.d(t,{Bw:()=>o,YB:()=>a,_d:()=>i,hx:()=>r,uO:()=>l});var o="SpoWM",r="tVueT",i="Q8TCC",a="W5F8i",l="yyYQP"},842650:(e,t,n)=>{n.d(t,{$P:()=>x,Ag:()=>p,Am:()=>u,E:()=>N,Eg:()=>A,Ev:()=>d,FT:()=>R,Ft:()=>i,Fu:()=>P,Ge:()=>w,Iz:()=>y,Mf:()=>g,Sh:()=>a,TJ:()=>O,X_:()=>F,Yz:()=>c,ZJ:()=>E,ZP:()=>V,ZS:()=>f,Zm:()=>s,cT:()=>v,dP:()=>D,gV:()=>b,i1:()=>S,iy:()=>k,ji:()=>r,kJ:()=>l,kK:()=>T,mB:()=>I,pL:()=>C,pk:()=>_,rA:()=>m,u$:()=>Z,xp:()=>L,y8:()=>h,zQ:()=>M,zS:()=>o});let o="tWf5Bc",r="mpyfee",i="HeWHZd",a="z5miKd",l="kDFe6",s="t9Tqwd",d="R9gk4b",c="_I_0je",u="zbuucd",m="r2W6Yc",p="WdmxBe",f="l6rdLc",g="Tzcvod",v="ivamgd",h="tPsDFb",I="lEVdqb",S="k92EJd",b="fIqmcb",w="i9FgIe",y="NkGVPe",P="aICWVd",C="Uw5wGd",E="H_oCnc",Z="OAAFsd",M="a3uAj",T="cmFvlc",F="AzGMNb",k="C1BX9c",x="Ty5Ire",R="QNoGQe",A="kX5NMc",D="CTA5Od",N="OJ4wkd",_="ecqgNb",O="sOfHYd",L="kgZvhe",V={lightBlueColor:o,lightGreenColor:r,lightYellowColor:i,lightOrangeColor:a,lightRedColor:l,lightPurpleColor:s,blueColor:d,greenColor:c,yellowColor:u,orangeColor:m,redColor:p,purpleColor:f,darkBlueColor:g,darkGreenColor:v,darkYellowColor:h,darkOrangeColor:I,darkRedColor:S,darkPurpleColor:b,darkerBlueColor:w,darkerGreenColor:y,darkerYellowColor:P,darkerOrangeColor:C,darkerRedColor:E,darkerPurpleColor:Z,whiteColor:M,lightGrayColor:T,grayColor:F,darkGrayColor:k,darkerGrayColor:x,blackColor:R,cyanColor:A,magentaColor:D,lightCyanColor:N,lightMagentaColor:_,noColor:O,moreColor:L}},725046:(e,t,n)=>{n.d(t,{B1:()=>c,Fx:()=>o,In:()=>l,Oo:()=>d,Po:()=>i,je:()=>r,o:()=>a,yp:()=>s});let o="Lrqtn",r="LQrLOd",i="BKo_y",a="VWpGb",l="TaYcW",s="lN_NTd",d="_Kbixb",c="AXyjWc"},591914:(e,t,n)=>{n.d(t,{FW:()=>r,G3:()=>c,HE:()=>u,i5:()=>s,j2:()=>l,kJ:()=>i,pN:()=>d,zg:()=>o,zl:()=>a});let o="bOrLTd",r="HSjrCb",i="e_3Jsd",a="aCJcF",l="V6Zk8b",s="vjonLc",d="DzTv_b",c="DGyS1b",u="HKwYyb"},139109:(e,t,n)=>{n.d(t,{EZ:()=>l,GE:()=>D,H4:()=>E,I:()=>C,JH:()=>M,Jk:()=>f,Jo:()=>O,K2:()=>S,KB:()=>a,KL:()=>H,Ny:()=>g,OF:()=>i,Oj:()=>R,P6:()=>N,Pq:()=>_,Q8:()=>c,Ql:()=>m,R5:()=>P,Tu:()=>L,UV:()=>A,Uv:()=>G,VU:()=>b,Yd:()=>x,aJ:()=>W,cx:()=>s,e9:()=>V,eT:()=>d,g5:()=>h,hl:()=>o,hw:()=>U,iw:()=>v,kf:()=>u,lN:()=>y,nQ:()=>k,ns:()=>Z,of:()=>I,qk:()=>B,t1:()=>F,tv:()=>T,vD:()=>z,wJ:()=>K,xA:()=>w,yR:()=>p,yX:()=>r});let o="uGVaYc",r="LFuX7",i="DKYcd",a="VpOwT",l="OkbLhc",s="nxV3cc",d="ZYsxyc",c="iHH9t",u="ctQtbc",m="kXHhMc",p="c9m_Kc",f="fYirt",g="oGYj_c",v="bffL4c",h="RyjIec",I="HoSwUd",S="Zq01ud",b="sGoN3b",w="NVOyA",y="JeftAb",P="jtAGp",C="bz8fvc",E="ehlOzb",Z="F9nyBc",M="c7lsMd",T="rjco6b",F="KGBPob",k="fc05me",x="nSnqy",R="Cih6kc",A="iDB8Lc",D="C3SPBb",N="yuas8b",_="z2aUzc",O="NNy1Ic",L="vO9lLe",V="TLsbvc",B="nUQq6d",G="q7UqJc",U="owVa$",H="DFU6jc",W="Z0pakc",K="GrWNF",z="eUbiDb"},786210:(e,t,n)=>{n.d(t,{$z:()=>f,BP:()=>k,D9:()=>E,DR:()=>I,Ef:()=>F,Fv:()=>T,M1:()=>C,MP:()=>Z,Ni:()=>a,Pu:()=>m,QC:()=>p,Wq:()=>S,_8:()=>o,_h:()=>x,ay:()=>l,cF:()=>g,d:()=>r,dO:()=>s,hi:()=>u,kN:()=>c,mU:()=>y,md:()=>P,n5:()=>i,nS:()=>d,oY:()=>h,tB:()=>w,uK:()=>b,w1:()=>M,zb:()=>v});let o="OVddbd",r="hXB$Rb",i="TY26Wc",a="k_vitd",l="U0KZAc",s="en6qU",d="lLaz7b",c="Q7YXB",u="Yac56",m="hIEBid",p="_wdVae",f="m_nvnc",g="cCqy2d",v="ISzTib",h="v643M",I="r4XLNc",S="J$IPG",b="Pe0zlb",w="uDza9",y="cJHuDc",P="uStZpb",C="kbyxid",E="sRJHZc",Z="UvD22c",M="JNOqF",T="DYxsib",F="Sa01ne",k="MFgwme",x="A6ZyMe"},883254:(e,t,n)=>{n.d(t,{Ae:()=>T,Df:()=>h,FF:()=>v,Fh:()=>C,Fn:()=>f,Gl:()=>I,If:()=>x,MM:()=>u,Qs:()=>l,Vi:()=>k,X0:()=>c,Zn:()=>p,aD:()=>o,cE:()=>y,f8:()=>F,id:()=>b,nt:()=>w,pc:()=>m,qg:()=>g,rG:()=>r,s3:()=>d,sS:()=>Z,sy:()=>i,uV:()=>M,wn:()=>a,yZ:()=>S,ys:()=>P,ze:()=>s,zr:()=>E});let o="xwGBDb",r="BB8WWc",i="bYdL",a="s_NTi",l="lTrl6b",s="toofl",d="gOA8bd",c="UQTRgc",u="skkTid",m="nSYs7b",p="Nl1nEe",f="f4B49d",g="jP37pb",v="TUKwv",h="A4eJhd",I="JiTM7b",S="vlawab",b="RjK87",w="Qmf90",y="Efxaib",P="PoSD$",C="jzLVed",E="yGheD",Z="GCzIq",M="CLd8Jd",T="c04uIc",F="tzQKKc",k="v_6Whd",x="fL085c"},951402:(e,t,n)=>{n.d(t,{At:()=>a,DM:()=>r,Fu:()=>s,Gn:()=>u,Il:()=>o,Oh:()=>m,Rj:()=>c,_E:()=>l,cQ:()=>i,di:()=>d});let o="nKBGdd",r="gTbsKd",i="A8F7gd",a="Ef0l$b",l="QoU8gd",s="BQCk8b",d="bNkfOe",c="ZMKcGe",u="QbhXsd",m="Ftsl7"},416622:(e,t,n)=>{n.d(t,{Z:()=>o});let o={loadMoreFoldersAction:"iu29E"}},327136:(e,t,n)=>{n.d(t,{CP:()=>l,I2:()=>d,ag:()=>s,dx:()=>a,ik:()=>o,kQ:()=>c,ms:()=>i,tY:()=>r});let o="L6UQZb",r="eQJfhb",i="EKZBMe",a="A1pxm",l="zvTmk",s="znpvLb",d="U8dW4",c="RXXTVb"},15583:(e,t,n)=>{n.d(t,{Hz:()=>d,Jw:()=>c,Mi:()=>u,Tp:()=>v,a$:()=>m,c0:()=>p,cD:()=>h,g7:()=>g,n7:()=>o,qj:()=>I,r0:()=>a,sC:()=>f,sW:()=>s,uz:()=>l,w7:()=>i,xQ:()=>r});let o="k7TXbd",r="qGVSEc",i="WONGFc",a="Osa0Td",l="gWedne",s="GQA5Wd",d="JNCvhe",c="IOMqEe",u="WxPjUc",m="fNeFhb",p="hPP7Pb",f="x4FVme",g="v_DWq",v="EpoNg",h="WqnMxc",I="Ap5eHc"},226383:(e,t,n)=>{n.d(t,{N:()=>o});let o="sF7oy"},983913:(e,t,n)=>{n.d(t,{$o:()=>u,PS:()=>a,ZT:()=>c,fF:()=>l,jm:()=>i,mB:()=>o,p$:()=>s,tr:()=>r,vn:()=>d});let o="cv9HCe",r="I5fj2d",i="B8Ejcc",a="Iw6Ir",l="iuKFAb",s="kJhmCb",d="YDh3R",c="OUNGnc",u="$vhj6"},8169:(e,t,n)=>{n.d(t,{X:()=>o,Z:()=>r});let o="kh_lfd",r={options_readingPane_quickSetting_label:o}},786070:(e,t,n)=>{n.d(t,{ZP:()=>o});let o={archiveButtonDesc:"dtCfId",assignPolicyButtonDesc:"M9WoTd",blockButtonDesc:"CE1mRb",browseGroupsButtonDesc:"lHjvz",neverBlockButtonDesc:"agMVmc",categorizeButtonDesc:"w5JQrc",createRuleButtonDesc:"VIFFXc",customizeButtonDesc:"CVdg$",deleteButtonDesc:"Uaj9F",discardButtonDesc:"ZvsDAc",deleteEmptyFolderButtonDesc:"zhVEEb",encryptButtonDesc:"KM5EDd",flagButtonDesc:"dYqvdd",flagClearFlagButtonDesc:"iCXTYb",flagNextWeekButtonDesc:"mpMGw",flagNoDateButtonDesc:"eN_ecc",flagThisWeekButtonDesc:"noCNpb",flagTodayButtonDesc:"ugSIRb",flagTomorrowButtonDesc:"A3tJX",flagCustomButtonDesc:"gh1M1b",flagMarkCompleteButtonDesc:"hvjrdc",forwardButtonDesc:"AveHx",forwardEmailAsAttachmentDesc:"ZpxI5",getAddinsButtonDesc:"UuVODe",getMessageExtensionsButtonDesc:"oNVHle",getM365AppsButtonDesc:"wh9ezd",ignoreButtonDesc:"NLZuwb",immersiveReaderButtonDesc:"Vl$w5c",junkButtonDesc:"zBJRoe",manageRulesButtonDesc:"PsXX3c",moreRetentionPoliciesButtonDesc:"w5eJX",moveButtonDesc:"kVEfhc",newMessageButtonDesc:"KjYDj",newFolderPostButtonDesc:"rG6Zzd",phishingButtonDesc:"H9iTk",pinButtonDesc:"YzVDdc",readUnreadButtonDesc:"_EZ5Cb",replyButtonDesc:"ltmaR",replyAllButtonDesc:"Ymp2tb",replyWithMeetingButtonDesc:"O5oded",copilotReplyWithMeetingButtonDesc:"ahokCd",rulesButtonDesc:"oIp6Mb",sendDraftButtonDesc:"wzvKbd",sensitivityButtonDesc:"UoulWc",sensitivityLearnMoreButtonDesc:"F9LvT",snoozeButtonDesc:"p3Y8le",sweepButtonDesc:"tk62Kd",undoButtonDesc:"VeZmEb",deleteNoteDesc:"AU6vf",changeNoteColorDesc:"mPELQc",viewEmailFromNotesDesc:"XWM8re",layoutDesc:"RyRE_",messagesDesc:"PU8OIb",viewSettingsDesc:"LEV$Cb",conversationsDesc:"xVvxPb",messagePreviewDesc:"a7v7Ee",folderPaneDesc:"NawIie",readingPaneDesc:"FjQnMe",densityDesc:"XmOINc",markAllAsReadDesc:"hjmTo",manageQuickStepsDesc:"eckUGb",viewGroupsPanelButtonDesc:"ijr3ne",commsCopilotDesc:"Myoh2d",setupQuickStepsDesc:"AvdhUc",restoreDesc:"fhpBmc",restoreAllDesc:"oXZcib",remindersWindowDesc:"s4YrM",printEmailDesc:"ol0yRd",messageRecallDesc:"fg9Iic",expandCollapseConversationDesc:"ROncw",zoomDesc:"gTtzjd",ribbonModeDesc:"ejzitd",trackReadReceiptsDesc:"TGb5Rd",syncMailboxDesc:"urvgVd",chatAroundEmail:"lI9Sqb",chatAroundEmailAll:"MwtiBe"}},660427:(e,t,n)=>{n.d(t,{ZP:()=>o});let o={block_SplitButton:"KH7Bcd",delete_SplitButton:"GuWIP",flagUnflag_SplitButton:"Uio6Ec",newMessage_SplitButton:"Smkiub",report_SplitButton:"fQ9_Bb",respond_SplitButton:"eDbMUb",respondForward_SplitButton:"pfSmc",replyCopilotMeetingToEmail_SplitButton:"PIPM0b",viewGroups_SplitButton:"ajN8Ed"}},236086:(e,t,n)=>{n.d(t,{ZP:()=>o});let o={teams_ChatAroundEmailButton:"aqvkt",teams_ChatAroundEmailAllButton:"pbjhO",teams_ChatAroundEmailSplitButton:"_Vi$kb",copyToButton:"oEzwRb",myDayButton:"O3kuid",myDayMenuShow:"yURwte",myDayMenuHide:"BbFiue"}},989542:(e,t,n)=>{n.d(t,{$F:()=>C,$p:()=>l,Aj:()=>o,G4:()=>g,H4:()=>b,Hd:()=>p,LS:()=>c,Qq:()=>d,RM:()=>m,RW:()=>y,S$:()=>s,S2:()=>i,Si:()=>h,U2:()=>v,kl:()=>r,nA:()=>f,p4:()=>Z,pG:()=>E,tf:()=>S,uO:()=>P,vD:()=>u,vT:()=>I,wB:()=>w,yU:()=>a});let o="VBF4we",r="zQb$Td",i="Cu5Nne",a="AxsHnc",l="EtaFuc",s="UPOZ1",d="BNalVb",c="Jm4j2",u="VIb5se",m="$cLoIc",p="tkHeQb",f="N$GNke",g="rtyu$b",v="ZNI6nc",h="Ov4n4d",I="DmY9Q",S="hi82je",b="ciToVc",w="XST5N",y="O9dvxe",P="KeNRMe",C="kIyZAc",E="SA1E2d",Z="kBMfzd"},17758:(e,t,n)=>{n.d(t,{Cf:()=>y,FG:()=>u,GZ:()=>s,Gb:()=>o,J_:()=>Z,K8:()=>r,NF:()=>m,Oz:()=>F,Sd:()=>c,Vf:()=>a,Wi:()=>I,Xj:()=>p,Xv:()=>l,bj:()=>E,c2:()=>C,d4:()=>i,hG:()=>v,j3:()=>S,kc:()=>h,o1:()=>w,rg:()=>f,rm:()=>g,wX:()=>k,we:()=>b,x0:()=>T,xN:()=>M,zH:()=>P,zd:()=>d});let o="Y2OKA",r="y9EoHd",i="wWFu6",a="If8oMe",l="$aEnH",s="p2k$fc",d="JRkIMe",c="EEt6Rb",u="oSB4Qb",m="Ce0fVc",p="ZlnK9d",f="wjl7wd",g="mgptZ",v="mFjMx",h="UatUDb",I="op1ocd",S="RXgZ7",b="VvMfrd",w="rHvGic",y="HeXWwd",P="S_DJJb",C="q34RPc",E="oq_rad",Z="IF9Qtc",M="lC9eXc",T="jB$AE",F="kbmmt",k="dBrYnc"},343767:(e,t,n)=>{n.d(t,{Z:()=>r,g:()=>o});let o="ffHEOb",r={accCheckerMenuItemText:o}},182896:(e,t,n)=>{n.d(t,{n:()=>o});let o="U_yj4b"},407912:(e,t,n)=>{n.d(t,{T:()=>o});let o="gKJ1n"},123960:(e,t,n)=>{n.d(t,{c:()=>o});let o="h7QBv"},422540:(e,t,n)=>{n.d(t,{T:()=>o,Z:()=>r});let o="i22xIc",r={cancelButton:o}},891116:(e,t,n)=>{n.d(t,{D:()=>o,Z:()=>r});let o="VDDIt",r={changeNoteColorMenuText:o}},25348:(e,t,n)=>{n.d(t,{Bm:()=>a,Dy:()=>i,JO:()=>r,Qb:()=>o,ZP:()=>s,mc:()=>l});let o="XM6qnb",r="jSnsFb",i="emiqU",a="Gs4hvc",l="QdkAee",s={composeEllipsisAriaLabelText:o,encryptMenuText:r,encryptDisableForwardingMenuText:i,hideFrom:a,switchToHTMLMenuItem:l}},130827:(e,t,n)=>{n.d(t,{Z:()=>r,f:()=>o});let o="AgtUKb",r={composeDiscardButton:o}},509023:(e,t,n)=>{n.d(t,{Es:()=>o,YA:()=>r});let o="RMRhpd",r="oJP_pd"},710969:(e,t,n)=>{n.d(t,{Z:()=>r,h:()=>o});let o="yoRiY",r={composeSendButton:o}},476433:(e,t,n)=>{n.d(t,{G:()=>o});let o="UKeyUe"},479326:(e,t,n)=>{n.d(t,{J:()=>o});let o="CANco"},426824:(e,t,n)=>{n.d(t,{Z:()=>r,w:()=>o});let o="CtVN4",r={deleteItem:o}},955811:(e,t,n)=>{n.d(t,{O:()=>o});let o="NXEO"},45580:(e,t,n)=>{n.d(t,{x:()=>o});let o="gaL_xc"},146032:(e,t,n)=>{n.d(t,{$:()=>o});let o="cP3upc"},653853:(e,t,n)=>{n.d(t,{U:()=>o});let o="AXocsc"},20152:(e,t,n)=>{n.d(t,{Sb:()=>o,Xy:()=>r});let o="RPRnjc",r="xDKXTd"},47278:(e,t,n)=>{n.d(t,{_B:()=>o});let o="uPaSub"},239838:(e,t,n)=>{n.d(t,{C:()=>o});let o="SWRSId"},981724:(e,t,n)=>{n.d(t,{x:()=>o});let o="MIgFHe"},901181:(e,t,n)=>{n.d(t,{K:()=>o});let o="S9T3sd"},523530:(e,t,n)=>{n.d(t,{d:()=>o});let o="jn$Xid"},262013:(e,t,n)=>{n.d(t,{X:()=>o});let o="YOE5qe"},555790:(e,t,n)=>{n.d(t,{I:()=>o});let o="aB0n$c"},509140:(e,t,n)=>{n.d(t,{a:()=>o});let o="G6UvQ"},482853:(e,t,n)=>{n.d(t,{ZY:()=>r,c1:()=>o});let o="v9Qgnc",r="HIFNEc"},584534:(e,t,n)=>{n.d(t,{p:()=>o});let o="UT48j"},611331:(e,t,n)=>{n.d(t,{$:()=>o});let o="P6S$ub"},682859:(e,t,n)=>{n.d(t,{w:()=>o});let o="e0bvLe"},489153:(e,t,n)=>{n.d(t,{v:()=>o});let o="ZxMaGb"},380577:(e,t,n)=>{n.d(t,{H:()=>o});let o="uXidxc"},592540:(e,t,n)=>{n.d(t,{g:()=>o});let o="n$xlD"},46230:(e,t,n)=>{n.d(t,{v:()=>o});let o="ux3l_"},953544:(e,t,n)=>{n.d(t,{I:()=>o});let o="OcAvS"},684489:(e,t,n)=>{n.d(t,{z:()=>o});let o="PsqBhe"},83032:(e,t,n)=>{n.d(t,{S6:()=>r,SY:()=>a,TZ:()=>i,WF:()=>o,wj:()=>l});let o="KF8hFd",r="_Tclr",i="si4fae",a="YiMnbc",l="Au5Edd"},121001:(e,t,n)=>{n.d(t,{Y:()=>o});let o="ExhX3"},617345:(e,t,n)=>{n.d(t,{ZP:()=>r,pB:()=>o});let o="LYUUh",r={move:o,moveFolderTo:"YmSUc"}},967359:(e,t,n)=>{n.d(t,{A:()=>o});let o="IpM4Hc"},871780:(e,t,n)=>{n.d(t,{Q:()=>o});let o="m1WMYd"},75548:(e,t,n)=>{n.d(t,{Z:()=>r,p:()=>o});let o="q5mIYc",r={neverBlockSender:o}},890040:(e,t,n)=>{n.d(t,{h:()=>o});let o="Fms13d"},438279:(e,t,n)=>{n.d(t,{r:()=>o});let o="Lj0Ihc"},422275:(e,t,n)=>{n.d(t,{k:()=>o});let o="yanxFc"},847816:(e,t,n)=>{n.d(t,{Z:()=>r,z:()=>o});let o="HN$nC",r={notJunk:o}},654127:(e,t,n)=>{n.d(t,{Z:()=>r,v:()=>o});let o="kwLyxb",r={okButton:o}},233735:(e,t,n)=>{n.d(t,{C:()=>o});let o="$aF2bb"},632259:(e,t,n)=>{n.d(t,{X:()=>o});let o="vX5bvb"},764934:(e,t,n)=>{n.d(t,{e:()=>o});let o="t1HSKd"},707248:(e,t,n)=>{n.d(t,{G:()=>o});let o="tUmtnb"},722439:(e,t,n)=>{n.d(t,{e:()=>o});let o="QCL9_b"},117046:(e,t,n)=>{n.d(t,{T:()=>o,Z:()=>r});let o="sFtCVd",r={reportJunk:o}},487901:(e,t,n)=>{n.d(t,{H:()=>o});let o="ojZMjb"},788801:(e,t,n)=>{n.d(t,{Z:()=>r,_:()=>o});let o="I1Ry_",r={reportPhishing:o}},783249:(e,t,n)=>{n.d(t,{p:()=>o});let o="ffT9qe"},228472:(e,t,n)=>{n.d(t,{j:()=>o});let o="NN7A5b"},624940:(e,t,n)=>{n.d(t,{ZP:()=>o});let o={help_tab:"$JLmCb",help_Button:"Wqa6Yc",support_Button:"Quk6ge",feedbackOcv_Button:"aUsvve",rolloutOverrides_Button:"bNDVLd",diagnostics_Button:"B$EVb",qrCode_Button:"dWnS9",switchToClassicOutlook_Button:"Jwi$Nb",helpButtonDesc:"SK0iJ",contactSupportButtonDesc:"QSmgJc",feedbackButtonDesc:"YrJtLb",rolloutOverridesButtonDesc:"rStjr",getDiagnosticsButtonDesc:"NBe5Ec",qrCodeButtonDesc:"RzdJgb",switchToClassicOutlookButtonDesc:"pn6W1d"}},27102:(e,t,n)=>{n.d(t,{ZP:()=>o});let o={home_Tab_Groups:"cka7kd",new_Group_Groups:"P$pxZ",newMail_Button_Groups:"zGmQHc",newEvent_Button_Groups:"OE1L3c",newGroup_Button_Groups:"lbWeYd",discover_Group_Groups:"sKt2Y",discovergroup_Button_Groups:"Scrp2d",view_Tab_Groups:"aKTcBe",settings_Group_Groups:"sDuWke",settings_Button_Groups:"lNZTFd",immersivereader_Group_Groups:"vaKMNd",immersivereader_Button_Groups:"WO9kAc",print_Group_Groups:"KJd6_d",print_Button_Groups:"XnnqP",Actions_Groups:"qj_9Fb",Modify_Groups:"H0xwqc",editGroup_Button_Groups:"BQH6Fc",addMembers_Button_Groups:"KXkgrb",leaveGroup_Button_Groups:"apWBpb",inviteOthers_Button_Groups:"EOa0fb",viewInCalendar_Button_Groups:"ggHzmb",viewCalendar_Groups:"_6B_Je",help_Tab_Groups:"m4kzJe",help_Group_Groups:"Gl_wic",tools_Group_Groups:"UFtkv"}},35337:(e,t,n)=>{n.d(t,{FR:()=>r,Hv:()=>o,ZP:()=>i});let o="dBgged",r="nRmsJe",i={home_tab:"dlen_d",view_tab:"vzJG4d",message_tab:"NrFgC",insert_tab:"X9_1Lb",format_tab:"VnL4jd",options_tab:"ozkO",notes_tab:"VCft$",format_table_tab:"wjJQie",format_picture_tab:"C4E61d",newMessage_Button:"YKWcZc",newMessage_Button_MLR:"uVnIce",newPost_Button:"x3Zt_",newPostHero_Button:"breDXc",newYammerPost_Button:"UvNRKe",newEMailMessage_Button:"s_8nK",newCalEvent_Button:"fqq_Kc",ignoreEmail_Button:"tUNOXc",stopIgnoringEmail_Button:"KZolPd",blockSender_Button:"TJV50",notJunk_Button:"MyDuCe",archiveEmail_Button:"lsSRKb",sweepEmail_Button:"J9kvxb",replyToEmail_Button:"W$1SF",replyAllToEmail_Button:"fd$tv",replyForwardEmail_Button:"oJvIW",replyForwardEmailAsAttachment_Button:"bxGNuc",replyMeetingToEmail_Button:"nE_X6",replyCopilotMeetingToEmail_Button:"F$mfzb",replyCopilotMeetingToEmail_Button_Tooltip:"BRjs3b",readUnread_Button:"eSe6we",pinUnpin_Button:"cCkT7b",pinUnpin_Button_MLR:"M01Vmb",sendReceiveAllFolders_Button:"yxAKfe",sendAll_Button:"O4hPpb",updateFolder_Button:"qVPIBb",showSyncProgress_Button:"CyMj8c",cancelSync_Button:"EDNrve",workOffline_Button:"zjYaTb",downloadHeaders_Button:"fLP8Ib",move_FlyoutButton:"BqzPEb",move_FlyoutButton_MLR:"xKKlWd",rules_FlyoutButton:o,createRule_Button:"DkiJjd",manageRules_Button:r,assignPolicy_FlyoutButton:"fjwYUe",assignPolicy_FlyoutButton_MLR:"Zcs5Bd",categorize_FlyoutButton:"ZWYFNc",sendReceiveGroups_Button:"KDUv1d",getMessageExtensions_Button:"EvAiSc",report_Button:"zgnZoc",immersiveReader_Button:"ta3AZb",remindersWindow_Button:"I935sd",printMail_Button:"L8ASvd",snooze_Button:"NgbYWb",undo_Button:"h5j1Yd",flagUnflag_Button:"g3VWWb",flagUnflag_Button_MLR:"e4u0Tb",flagCompleteToday_Button:"xTUEHe",flagCompleteTomorrow_Button:"puqAUe",flagCompleteThisWeek_Button:"gUWhW",flagCompleteNextWeek_Button:"ND79Ie",flagCompleteCustom_Button:"nv50Ac",flagCompleteNoDate_Button:"NrLrg",flagMarkComplete_Button:"xmyvsb",flagClearFlag_Button:"CSfWC",block_Button:"kxzoHc",paste_FlyoutButton:"$gE$$d",formatPainter_Button:"HQDsQb",attachSig_Button:"Lqjnbd",encrypt_FlyoutButton:"nNwOce",encrypt_clearPermissionsButton:"xYn5x",sensitivity_FlyoutButton:"zUv9ab",ribbonCustomizer_Button:"yULhsc",insertLink_Button:"m7Zafc",newNote_HeroButton:"Zj6qrd",newNote_MenuButton:"W1MN9c",signatureOptions_Button:"Pd7ZBb",browseGroups_Button:"DH4EHb",viewGroupsPanel_Button:"KZ9sNd",viewGroupsPanel_Button_MLR:"cKdDAe",addGroup_Button:"lCSn2d",moreRetentionPoliciesOptions_Button:"oTeksd",viewSettings_Button:"zyHYFd",conversations_Button:"V79KWd",messagePreview_Button:"UZvQqe",layout_Button:"zLfWNc",folder_Button:"fTNe2",folderMenu_Show:"Hvb3Z",folderMenu_Hide:"KO0O0",density_Button:"HS1gU",manageQuickSteps_Button:"KLHNYb",messages_Button:"Bp9Ndd",quickSteps_Button:"rPFClc",quickSteps_MenuLauncherLabel:"g$f1ae",markAllAsRead_Button:"B3IAcb",newEventifyEvent_Button:"rmTqjc",draw_tab:"ahVQIc",hide_Favorites:"ceK_$",show_Favorites:"bEddH",collapseConversation_Button:"VBo1Td",expandConversation_Button:"IRjPKd",zoom_Button:"UiGgzb",ribbonMode_Button:"wJbLIc",syncMailbox_Button:"mISjR"}},461053:(e,t,n)=>{n.d(t,{ZP:()=>o});let o={new_GroupButton:"m5qIw",delete_GroupButton:"fuT$sc",moveAndDelete_GroupButton:"bddzbe",respond_GroupButton:"FC_cyd",tags_GroupButton:"Xx5Rce",send_GroupButton:"KX01wd",sync_GroupButton:"zoFXcb",offline_GroupButton:"RFodLd",download_GroupButton:"E60WWb",move_GroupButton:"TXvAxe",find_GroupButton:"D1N5Rd",addIns_GroupButton:"ZsH8qc",spam_addin_GroupButton:"SbYjeb",immersiveReader_GroupButton:"y0VEac",window_GroupButton:"iNgypb",print_GroupButton:"L31lee",undo_GroupButton:"QchBMe",clipboard_Group:"EuJw2c",include_Group:"yieYqd",encrypt_Group:"D8ICQ",save_Group:"Rla0Eb",sensitivity_Group:"vpekMe",basicText_Group:"psYI8",paragraph_Group:"aLtrTb",notes_GroupNew:"XL_Gt",notes_GroupEdit:"JCf_yd",notes_GroupView:"_RPe3d",table_GroupMerge:"wU$Hbd",table_GroupInsert:"lkvIQ",table_GroupStructure:"zswo2d",table_GroupAlignment:"vW1zId",table_GroupTableStyles:"y$GWwd",viewSettings_Group:"oh2uMe",viewMessages_Group:"lzCWkb",viewLayout_Group:"dI5NTb",tags_Group:"ZjfxX",actions_Group:"bQa32c",findTime_GroupButton:"wt1cWd",insert_Group:"dXtdw",options_Group:"ckZOjc",proofing_Group:"qfEj6d",loop_Group:"uyEbKd",format_Group:"rP953b",showField_Group:"R7FZH",tracking_Group:"jL0nNc",quickSteps_Group:"ahUEec",themes_Group:"A49Yd",commsCopilot_Group:"pbUju",styling_Group:"qnQfGe",draftWithCopilot_Group:"RxC3tc",draw_Undo_Group:"lUJTSb",draw_Selection_Group:"lPgISd",draw_Tools_Group:"OKgjAd",draw_Touch_Group:"eab3Dd",draw_Insert_Group:"YZKP4",pictureFormatting_Group:"z$xA5b",pictureText_Group:"BOab_c",pictureSize_Group:"tIMyIe",pictureMisc_Group:"uHV2kd",voice_Group:"yNPcJb",zoom_Group:"vTRmDe"}},194468:(e,t,n)=>{n.d(t,{gy:()=>r,uN:()=>o});let o="_xE1I",r="mDPKcc"},894594:(e,t,n)=>{n.d(t,{q:()=>o});let o="C9d_Tc"},884303:(e,t,n)=>{n.d(t,{LH:()=>o,Ng:()=>a,Ou:()=>r,VP:()=>i,ZP:()=>c,lA:()=>d,m3:()=>s,t_:()=>l});let o="NwJtHc",r="ceVAY",i="HdiTCc",a="V594be",l="znZu9",s="dm6Qsb",d="nWmRyd",c={sensitivityMenuText:o,clpLabelDropDownLearnMoreButtonText:r,clpLabelDropDownLearnMoreButtonToolTipText:i,noSensitivityLabelTextForRecommendedLabelling:a,noSensitivityLabelTextForMandatoryLabelling:l,noSensitivityLabelTooltipForRecommendedLabelling:s,noSensitivityLabelTooltipForMandatoryLabelling:d}},699251:(e,t,n)=>{n.d(t,{M:()=>o,Z:()=>r});let o="HzYC2b",r={showFrom:o}},105976:(e,t,n)=>{n.d(t,{K:()=>o});let o="cNf3Be"},570746:(e,t,n)=>{n.d(t,{S:()=>o,Z:()=>r});let o="is0e6",r={showMessageOptions:o}},215222:(e,t,n)=>{n.d(t,{H:()=>o});let o="sEXEIc"},680042:(e,t,n)=>{n.d(t,{A:()=>o,Z:()=>r});let o="IeoAc",r={switchToPlainTextMenuItem:o}},780601:(e,t,n)=>{n.d(t,{S:()=>o});let o="MJU0Te"},544229:(e,t,n)=>{n.d(t,{e:()=>o});let o="Mr7Dmb"},613651:(e,t,n)=>{n.d(t,{a:()=>o});let o="Oq8bDc"},189635:(e,t,n)=>{n.d(t,{p:()=>o});let o="Hz$sOc"},376958:(e,t,n)=>{n.d(t,{r:()=>o});let o="ngOyXc"}}]),self.scriptsLoaded=self.scriptsLoaded||{},self.scriptsLoaded["owa.MailBoot.m.feab05a1.js"]=1;