/* OK ITHAKI V249526R10F15 — SOURCE-LOCKED SINGLE COMMUNITIES / PERMANENT SEND / EXACT NOTIFICATION MESSAGE CENTER */
(function(){
'use strict';
if(window.__ITHAKI_V249526R10F15_OWNER__)return;
window.__ITHAKI_V249526R10F15_OWNER__={version:'V249526R10F15',sourceLocked:true,hardSingleCommunityOwner:true,permanentSendAlias:true,exactNotificationButton:true,at:Date.now()};
window.COMMUNITY_HARD_SINGLE_OWNER_R10F15=true;
window.COMMUNITY_FOREIGN_SCREEN_NEVER_VISIBLE_R10F15=true;
window.COMMUNITY_SEND_PERMANENT_ALIAS_R10F15=true;
window.PLUS_SAME_NOTIFICATION_BUTTON_R10F15=true;
const I=()=>window.ITH=window.ITH||{},$=id=>document.getElementById(id);
function toast(m,ms=6500){try{const f=I().toast||window.toast;if(typeof f==='function')return f.call(I(),m,ms)}catch(_e){}console.log(m)}
function sendCompat(){const f=window.__ITHAKI_R10F15_EARLY_SEND__;if(typeof f==='function')return f.apply(window,arguments);return Promise.reject(new Error('Η αποστολή δεν είναι διαθέσιμη.'))}
function installSend(){const o=I();o.sendΜήνυμαPayload=sendCompat;o.sendCommunityPayloadR10F15=sendCompat;o.sendCommunityTextR10F15=o.sendCommunityTextR10F15||sendCompat;window.sendCommunityPayloadR10F15=sendCompat}
function openCommunities(){const p=$('plusSheet');if(p)p.classList.remove('show');const o=I(),f=o.openCanonicalCommunitiesR10F15||window.openCanonicalCommunitiesR10F15||o.activateSpacesPageV249516||window.activateSpacesPageV249516;if(typeof f==='function')return f.call(o);toast('Η κανονική οθόνη Κοινοτήτων δεν φορτώθηκε.');return false}
function openMessageCenter(){const p=$('plusSheet');if(p)p.classList.remove('show');const o=I(),f=o.openExactNotificationMessageCenterButtonV249526||window.openExactNotificationMessageCenterButtonV249526||o.openExactNotificationMessageCenterButtonV249525||window.openExactNotificationMessageCenterButtonV249525||o.openExternalMessageCenterV249477;if(typeof f==='function')return f.call(o);toast('Το Κέντρο Μηνυμάτων δεν είναι διαθέσιμο.');return false}
function install(){installSend();const o=I(),base=o.page;const page=function(id){if(String(id)==='spaces')return openCommunities();return typeof base==='function'?base.apply(this,arguments):false};page.__r10f15=true;o.page=page;o.openCommunitiesR10F15=openCommunities;window.openCommunitiesR10F15=openCommunities;o.openMessageCenterExactlyLikeNotificationsR10F15=openMessageCenter;window.openMessageCenterExactlyLikeNotificationsR10F15=openMessageCenter;document.documentElement.setAttribute('data-ithaki-r10f15','source-locked-single-community-permanent-send-exact-message-center');try{localStorage.setItem('ith_frontend_build','V249526R10F15-source-locked-single-community')}catch(_e){}}
if(document.readyState==='loading')document.addEventListener('DOMContentLoaded',install,{once:true});else install();
})();
