(function(){
'use strict';
window.ITHAKI_R10F31_PROFESSIONAL_AUTONOMY=true;
function trimLanguageChoices(){
 document.querySelectorAll('[data-lang],button,a,option').forEach(function(el){
  var code=String(el.getAttribute('data-lang')||el.value||'').toLowerCase();
  var t=String(el.textContent||'').trim();
  if((code&&!["el","en"].includes(code)) || (/Deutsch|Français|Español|Italiano|Polski|Română|Magyar|Srpski|Български|Português/.test(t))){
   var host=el.closest('.language-options,.language-grid,.lang-grid,[data-language-picker]');
   if(host||code) el.remove();
  }
 });
}
function addMarker(){document.documentElement.setAttribute('data-ithaki-r10f31','professional-autonomy');}
addMarker(); trimLanguageChoices();
new MutationObserver(trimLanguageChoices).observe(document.documentElement,{subtree:true,childList:true});
})();
