/* OK ITHAKI V249526R10F13 — ATOMIC COMMUNITIES / EXACT NOTIFICATION MESSAGE CENTER */
(function(){
'use strict';
if(window.__ITHAKI_R10F15_SINGLE_COMMUNITY_RUNTIME__){window.R10F15_COMPATIBILITY_DISABLED=true;return;}
if(window.__ITHAKI_V249526R10F13_OWNER__)return;
window.__ITHAKI_V249526R10F13_OWNER__={version:'V249526R10F13',atomicCommunityRender:true,noCachedPartialPaint:true,legacyCommunityDomWritersDisabled:true,exactNotificationMessageCenter:true,at:Date.now()};
window.COMMUNITY_ATOMIC_RENDER_R10F13=true;
window.COMMUNITY_LEGACY_DOM_WRITERS_DISABLED_R10F13=true;
window.PLUS_EXACT_NOTIFICATION_MESSAGE_CENTER_R10F13=true;
const I=()=>window.ITH=window.ITH||{},$=id=>document.getElementById(id);
function closePlus(){const p=$('plusSheet');if(p)p.classList.remove('show');return false}
function openCommunities(){closePlus();const f=I().openCanonicalCommunitiesR10F14||window.openCanonicalCommunitiesR10F14||I().activateSpacesPageV249516||window.activateSpacesPageV249516;if(typeof f==='function')return f.call(I());return false}
function openMessageCenter(){closePlus();const f=I().openExactNotificationMessageCenterR10F14||window.openExactNotificationMessageCenterR10F14||I().openMessageCenterFromNotificationSettingsV249526||window.openMessageCenterFromNotificationSettingsV249526;if(typeof f==='function')return f.call(I());const settings=I().openNotificationSettingsV249238||window.openNotificationSettingsV249238;if(typeof settings==='function'){settings.call(I());setTimeout(()=>document.querySelector('#ith526NotificationSettings [data-r3-action="external"],#ith526NotificationSettings [data-action="external"]')?.click(),0);return true}return false}
function install(){const o=I();o.openCommunitiesR10F13=openCommunities;window.openCommunitiesR10F13=openCommunities;o.openMessageCenterR10F13=openMessageCenter;window.openMessageCenterR10F13=openMessageCenter;document.documentElement.setAttribute('data-ithaki-r10f13','atomic-communities-exact-notification-message-center');try{localStorage.setItem('ith_frontend_build','V249526R10F13-atomic-communities-exact-notification-message-center')}catch(_e){}}
if(document.readyState==='loading')document.addEventListener('DOMContentLoaded',install,{once:true});else install();
})();
