
/* OK ITHAKI V249154 - clean old local cache/state once. */
(function(){'use strict';try{var done=localStorage.getItem('ith_v249154_clean_migration_done');if(done!=='1'){var kill=[];for(var i=0;i<localStorage.length;i++){var k=localStorage.key(i)||'';if(/ith_entry_choice_v24915[12]|ith_registered_member_v24915[12]|ith_auto_reconnect_v24915[12]|ith_home_protection_open_v24915[12]|ith_lang_menu_open_v24915[12]|ith_api_base|ith_saved_api_base|ith_server_base|ith_lan_api_url|ith_saved_local_base|ith_last_detected_lan_url/i.test(k))kill.push(k);}kill.forEach(function(k){try{localStorage.removeItem(k)}catch(e){}});localStorage.setItem('ith_v249154_clean_migration_done','1');}}catch(e){}try{window.__ITHAKI_V249154_CLEAN_PROFILE_RECONNECT__=true;}catch(e){}})();

/* ITHAKI V248717 - minimal preclean, no timers, no observers */
(function(){
  'use strict';
  window.__ITHAKI_V248717_CLEAN_FEED__=true;
  try{
    var kill=[];
    for(var i=0;i<localStorage.length;i++){
      var k=localStorage.key(i)||'';
      if(/ith248(5|6|7)|flow_cache|feed_cache|blob/i.test(k)) kill.push(k);
    }
    kill.forEach(function(k){try{localStorage.removeItem(k)}catch(e){}});
  }catch(e){}
})();


/* V248722: disable legacy home control center and legacy Press Center/+ mutator. */
try{window.__ITHAKI_V24714_HUMANGUARD__=true;}catch(e){}
try{window.ITHAKI_V24691Q_MEMBER_STRIP_PRESS_UX=true;}catch(e){}
